From dc0b4091a372092623c61832468ae17ee00cd0ef Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 24 Aug 2021 15:55:19 -0700 Subject: [PATCH] Update APIs, prepare for v5 releases --- config.yaml | 21 +- .../abusiveexperiencereport__v1.json | 2 +- .../acceleratedmobilepageurl__v1.json | 2 +- discovery/googleapis/accessapproval__v1.json | 6 +- .../googleapis/accesscontextmanager__v1.json | 28 +- .../googleapis/adexchangebuyer__v1.3.json | 1686 ---- .../googleapis/adexchangebuyer__v1.4.json | 3752 -------- .../googleapis/adexperiencereport__v1.json | 2 +- .../googleapis/admin__datatransfer_v1.json | 2 +- discovery/googleapis/admin__directory_v1.json | 4 +- discovery/googleapis/admin__reports_v1.json | 6 +- discovery/googleapis/admob__v1.json | 8 +- discovery/googleapis/adsense__v2.json | 4 +- .../androiddeviceprovisioning__v1.json | 4 +- .../googleapis/androidenterprise__v1.json | 4 +- .../googleapis/androidmanagement__v1.json | 76 +- .../googleapis/androidpublisher__v3.json | 19 +- discovery/googleapis/apigateway__v1.json | 6 +- discovery/googleapis/apigee__v1.json | 500 +- discovery/googleapis/apikeys__v2.json | 6 +- discovery/googleapis/appengine__v1.json | 124 +- .../googleapis/artifactregistry__v1.json | 20 +- .../googleapis/assuredworkloads__v1.json | 40 +- .../googleapis/baremetalsolution__v1.json | 4 +- discovery/googleapis/bigquery__v2.json | 58 +- .../googleapis/bigquerydatatransfer__v1.json | 108 +- .../googleapis/bigqueryreservation__v1.json | 11 +- discovery/googleapis/bigtableadmin__v2.json | 14 +- discovery/googleapis/billingbudgets__v1.json | 22 +- .../googleapis/binaryauthorization__v1.json | 10 +- discovery/googleapis/blogger__v3.json | 2 +- discovery/googleapis/books__v1.json | 2 +- discovery/googleapis/calendar__v3.json | 8 +- discovery/googleapis/chat__v1.json | 215 +- .../googleapis/chromemanagement__v1.json | 351 +- discovery/googleapis/chromepolicy__v1.json | 27 +- discovery/googleapis/chromeuxreport__v1.json | 2 +- discovery/googleapis/civicinfo__v2.json | 2 +- discovery/googleapis/classroom__v1.json | 4 +- discovery/googleapis/cloudasset__v1.json | 246 +- discovery/googleapis/cloudbilling__v1.json | 6 +- discovery/googleapis/cloudbuild__v1.json | 806 +- discovery/googleapis/cloudchannel__v1.json | 91 +- discovery/googleapis/clouddebugger__v2.json | 4 +- discovery/googleapis/cloudfunctions__v1.json | 30 +- discovery/googleapis/cloudidentity__v1.json | 234 +- discovery/googleapis/cloudiot__v1.json | 6 +- discovery/googleapis/cloudkms__v1.json | 312 +- discovery/googleapis/cloudprofiler__v2.json | 4 +- .../googleapis/cloudresourcemanager__v1.json | 12 +- .../googleapis/cloudresourcemanager__v2.json | 12 +- .../googleapis/cloudresourcemanager__v3.json | 22 +- discovery/googleapis/cloudscheduler__v1.json | 4 +- discovery/googleapis/cloudsearch__v1.json | 2 +- discovery/googleapis/cloudshell__v1.json | 4 +- discovery/googleapis/cloudtasks__v2.json | 2 +- discovery/googleapis/cloudtrace__v2.json | 4 +- discovery/googleapis/composer__v1.json | 8 +- discovery/googleapis/compute__v1.json | 168 +- .../googleapis/contactcenterinsights__v1.json | 3243 +++++++ discovery/googleapis/container__v1.json | 165 +- discovery/googleapis/content__v2.1.json | 926 +- discovery/googleapis/customsearch__v1.json | 2 +- discovery/googleapis/datacatalog__v1.json | 96 +- discovery/googleapis/datamigration__v1.json | 6 +- discovery/googleapis/dataproc__v1.json | 39 +- discovery/googleapis/datastore__v1.json | 4 +- .../googleapis/deploymentmanager__v2.json | 8 +- discovery/googleapis/dialogflow__v2.json | 144 +- discovery/googleapis/dialogflow__v3.json | 312 +- .../googleapis/digitalassetlinks__v1.json | 2 +- discovery/googleapis/displayvideo__v1.json | 658 +- discovery/googleapis/dlp__v2.json | 12 +- discovery/googleapis/dns__v1.json | 6 +- discovery/googleapis/docs__v1.json | 2 +- discovery/googleapis/documentai__v1.json | 161 +- discovery/googleapis/domainsrdap__v1.json | 2 +- .../doubleclickbidmanager__v1.1.json | 32 +- .../googleapis/doubleclicksearch__v2.json | 2 +- discovery/googleapis/drive__v2.json | 8 +- discovery/googleapis/drive__v3.json | 8 +- discovery/googleapis/driveactivity__v2.json | 2 +- .../googleapis/essentialcontacts__v1.json | 4 +- discovery/googleapis/eventarc__v1.json | 97 +- discovery/googleapis/fcm__v1.json | 7 +- discovery/googleapis/file__v1.json | 91 +- .../googleapis/firebasedynamiclinks__v1.json | 2 +- discovery/googleapis/firebasehosting__v1.json | 2 +- discovery/googleapis/firebaseml__v1.json | 4 +- discovery/googleapis/firebaserules__v1.json | 4 +- discovery/googleapis/firestore__v1.json | 4 +- discovery/googleapis/fitness__v1.json | 6 +- .../gamesConfiguration__v1configuration.json | 2 +- .../gamesManagement__v1management.json | 2 +- discovery/googleapis/games__v1.json | 2 +- discovery/googleapis/gameservices__v1.json | 6 +- discovery/googleapis/gkehub__v1.json | 54 +- discovery/googleapis/gmail__v1.json | 2 +- .../googleapis/gmailpostmastertools__v1.json | 2 +- discovery/googleapis/groupsmigration__v1.json | 2 +- discovery/googleapis/groupssettings__v1.json | 2 +- discovery/googleapis/healthcare__v1.json | 6 +- discovery/googleapis/homegraph__v1.json | 2 +- discovery/googleapis/iam__v1.json | 80 +- discovery/googleapis/iamcredentials__v1.json | 4 +- discovery/googleapis/iap__v1.json | 6 +- discovery/googleapis/indexing__v3.json | 2 +- discovery/googleapis/jobs__v3.json | 6 +- discovery/googleapis/jobs__v4.json | 46 +- discovery/googleapis/keep__v1.json | 2 +- discovery/googleapis/kgsearch__v1.json | 2 +- discovery/googleapis/language__v1.json | 4 +- discovery/googleapis/libraryagent__v1.json | 4 +- discovery/googleapis/licensing__v1.json | 2 +- discovery/googleapis/localservices__v1.json | 2 +- discovery/googleapis/logging__v2.json | 462 +- .../googleapis/managedidentities__v1.json | 393 +- discovery/googleapis/manufacturers__v1.json | 2 +- discovery/googleapis/memcache__v1.json | 4 +- discovery/googleapis/ml__v1.json | 30 +- discovery/googleapis/monitoring__v3.json | 25 +- .../mybusinessaccountmanagement__v1.json | 2 +- .../mybusinessbusinessinformation__v1.json | 1856 ++++ .../googleapis/mybusinesslodging__v1.json | 2 +- .../mybusinessnotifications__v1.json | 211 + .../mybusinessplaceactions__v1.json | 2 +- .../mybusinessverifications__v1.json | 721 ++ .../googleapis/networkmanagement__v1.json | 12 +- discovery/googleapis/networksecurity__v1.json | 1762 ++++ discovery/googleapis/networkservices__v1.json | 943 ++ discovery/googleapis/notebooks__v1.json | 37 +- .../googleapis/ondemandscanning__v1.json | 258 +- discovery/googleapis/orgpolicy__v2.json | 4 +- discovery/googleapis/osconfig__v1.json | 622 +- discovery/googleapis/oslogin__v1.json | 4 +- discovery/googleapis/pagespeedonline__v5.json | 2 +- .../paymentsresellersubscription__v1.json | 2 +- discovery/googleapis/people__v1.json | 26 +- .../googleapis/playablelocations__v3.json | 2 +- discovery/googleapis/playcustomapp__v1.json | 2 +- discovery/googleapis/policyanalyzer__v1.json | 233 + discovery/googleapis/policysimulator__v1.json | 6 +- .../googleapis/policytroubleshooter__v1.json | 6 +- discovery/googleapis/privateca__v1.json | 12 +- discovery/googleapis/pubsub__v1.json | 21 +- discovery/googleapis/pubsublite__v1.json | 297 +- discovery/googleapis/realtimebidding__v1.json | 2 +- .../googleapis/recaptchaenterprise__v1.json | 9 +- discovery/googleapis/recommender__v1.json | 12 +- discovery/googleapis/redis__v1.json | 8 +- discovery/googleapis/reseller__v1.json | 4 +- .../googleapis/resourcesettings__v1.json | 4 +- discovery/googleapis/retail__v2.json | 1688 +++- discovery/googleapis/run__v1.json | 28 +- discovery/googleapis/runtimeconfig__v1.json | 4 +- discovery/googleapis/safebrowsing__v4.json | 2 +- discovery/googleapis/script__v1.json | 2 +- discovery/googleapis/searchconsole__v1.json | 4 +- discovery/googleapis/secretmanager__v1.json | 6 +- discovery/googleapis/securitycenter__v1.json | 198 +- .../serviceconsumermanagement__v1.json | 8 +- discovery/googleapis/servicecontrol__v1.json | 4 +- discovery/googleapis/servicecontrol__v2.json | 4 +- .../googleapis/servicedirectory__v1.json | 10 +- .../googleapis/servicemanagement__v1.json | 12 +- .../googleapis/servicenetworking__v1.json | 14 +- discovery/googleapis/serviceusage__v1.json | 10 +- discovery/googleapis/sheets__v4.json | 2 +- discovery/googleapis/slides__v1.json | 6 +- .../googleapis/smartdevicemanagement__v1.json | 2 +- discovery/googleapis/spanner__v1.json | 10 +- discovery/googleapis/speech__v1.json | 14 +- discovery/googleapis/storage__v1.json | 4 +- discovery/googleapis/storagetransfer__v1.json | 53 +- .../googleapis/streetviewpublish__v1.json | 2 +- discovery/googleapis/sts__v1.json | 190 +- discovery/googleapis/tagmanager__v1.json | 2 +- discovery/googleapis/tagmanager__v2.json | 276 +- discovery/googleapis/tasks__v1.json | 2 +- discovery/googleapis/testing__v1.json | 14 +- discovery/googleapis/texttospeech__v1.json | 12 +- discovery/googleapis/tpu__v1.json | 10 +- discovery/googleapis/trafficdirector__v2.json | 4 +- discovery/googleapis/translate__v3.json | 4 +- discovery/googleapis/vault__v1.json | 4 +- discovery/googleapis/vectortile__v1.json | 10 +- .../googleapis/videointelligence__v1.json | 4 +- discovery/googleapis/vision__v1.json | 4 +- discovery/googleapis/webfonts__v1.json | 2 +- discovery/googleapis/webrisk__v1.json | 4 +- .../googleapis/websecurityscanner__v1.json | 4 +- .../googleapis/workflowexecutions__v1.json | 18 +- discovery/googleapis/workflows__v1.json | 6 +- .../googleapis/youtubeAnalytics__v2.json | 2 +- discovery/googleapis/youtube__v3.json | 52 +- .../googleapis/youtubereporting__v1.json | 2 +- .../adexchangebuyer2__v2beta1.json | 2 +- .../googleapis_beta/alertcenter__v1beta1.json | 144 +- .../analyticsadmin__v1alpha.json | 108 +- .../analyticsdata__v1beta.json | 165 +- .../area120tables__v1alpha1.json | 2 +- .../bigqueryconnection__v1beta1.json | 8 +- .../clouderrorreporting__v1beta1.json | 4 +- .../containeranalysis__v1beta1.json | 528 +- .../googleapis_beta/datacatalog__v1beta1.json | 6 +- discovery/googleapis_beta/dataflow__v1b3.json | 45 +- .../datalabeling__v1beta1.json | 4 +- .../googleapis_beta/documentai__v1beta3.json | 153 +- .../googleapis_beta/domains__v1beta1.json | 2 +- .../factchecktools__v1alpha1.json | 2 +- .../googleapis_beta/fcmdata__v1beta1.json | 326 + .../googleapis_beta/firebase__v1beta1.json | 6 +- .../firebaseappcheck__v1beta.json | 4 +- .../firebasedatabase__v1beta.json | 6 +- .../firebasestorage__v1beta.json | 4 +- .../googleapis_beta/ideahub__v1beta.json | 397 + .../googleapis_beta/lifesciences__v2beta.json | 4 +- .../googleapis_beta/metastore__v1beta.json | 57 +- .../networkconnectivity__v1alpha1.json | 99 +- .../networksecurity__v1beta1.json | 6 +- .../ondemandscanning__v1beta1.json | 258 +- .../googleapis_beta/osconfig__v1alpha.json | 123 +- .../policysimulator__v1beta1.json | 6 +- .../googleapis_beta/privateca__v1beta1.json | 8 +- .../prod_tt_sasportal__v1alpha1.json | 10 +- .../recommendationengine__v1beta1.json | 2 +- .../googleapis_beta/sasportal__v1alpha1.json | 2 +- .../googleapis_beta/sqladmin__v1beta4.json | 212 +- .../googleapis_beta/toolresults__v1beta3.json | 4 +- .../googleapis_beta/transcoder__v1beta1.json | 50 +- generated/googleapis/CHANGELOG.md | 10 +- generated/googleapis/README.md | 463 +- .../googleapis/lib/accessapproval/v1.dart | 6 +- .../lib/accesscontextmanager/v1.dart | 44 +- .../googleapis/lib/adexchangebuyer/v1_3.dart | 2824 ------ .../googleapis/lib/adexchangebuyer/v1_4.dart | 6911 -------------- .../googleapis/lib/admin/directory_v1.dart | 3 +- .../googleapis/lib/admin/reports_v1.dart | 8 +- generated/googleapis/lib/admob/v1.dart | 6 +- generated/googleapis/lib/adsense/v2.dart | 4 +- .../lib/androiddeviceprovisioning/v1.dart | 2 +- .../googleapis/lib/androidenterprise/v1.dart | 5 +- .../googleapis/lib/androidmanagement/v1.dart | 143 +- .../googleapis/lib/androidpublisher/v3.dart | 22 +- generated/googleapis/lib/apigateway/v1.dart | 5 +- generated/googleapis/lib/apigee/v1.dart | 894 +- generated/googleapis/lib/apikeys/v2.dart | 6 +- generated/googleapis/lib/appengine/v1.dart | 231 +- .../googleapis/lib/artifactregistry/v1.dart | 20 +- .../googleapis/lib/assuredworkloads/v1.dart | 33 +- .../googleapis/lib/baremetalsolution/v1.dart | 3 +- generated/googleapis/lib/bigquery/v2.dart | 153 +- .../lib/bigquerydatatransfer/v1.dart | 184 +- .../lib/bigqueryreservation/v1.dart | 12 +- .../googleapis/lib/bigtableadmin/v2.dart | 18 +- .../googleapis/lib/billingbudgets/v1.dart | 91 +- .../lib/binaryauthorization/v1.dart | 9 +- generated/googleapis/lib/calendar/v3.dart | 18 +- generated/googleapis/lib/chat/v1.dart | 450 +- .../googleapis/lib/chromemanagement/v1.dart | 667 ++ generated/googleapis/lib/chromepolicy/v1.dart | 53 +- generated/googleapis/lib/classroom/v1.dart | 5 +- generated/googleapis/lib/cloudasset/v1.dart | 511 +- generated/googleapis/lib/cloudbilling/v1.dart | 5 +- generated/googleapis/lib/cloudbuild/v1.dart | 1536 ++- generated/googleapis/lib/cloudchannel/v1.dart | 201 + .../googleapis/lib/clouddebugger/v2.dart | 3 +- .../googleapis/lib/cloudfunctions/v1.dart | 56 +- .../googleapis/lib/cloudidentity/v1.dart | 500 +- generated/googleapis/lib/cloudiot/v1.dart | 5 +- generated/googleapis/lib/cloudkms/v1.dart | 625 +- .../googleapis/lib/cloudprofiler/v2.dart | 3 +- .../lib/cloudresourcemanager/v1.dart | 14 +- .../lib/cloudresourcemanager/v2.dart | 14 +- .../lib/cloudresourcemanager/v3.dart | 29 +- .../googleapis/lib/cloudscheduler/v1.dart | 3 +- generated/googleapis/lib/cloudshell/v1.dart | 3 +- generated/googleapis/lib/cloudtrace/v2.dart | 3 +- generated/googleapis/lib/composer/v1.dart | 7 +- generated/googleapis/lib/compute/v1.dart | 358 +- .../lib/contactcenterinsights/v1.dart | 5814 ++++++++++++ generated/googleapis/lib/container/v1.dart | 313 +- generated/googleapis/lib/content/v2_1.dart | 1541 ++- generated/googleapis/lib/datacatalog/v1.dart | 14 +- .../googleapis/lib/datamigration/v1.dart | 5 +- generated/googleapis/lib/dataproc/v1.dart | 49 +- generated/googleapis/lib/datastore/v1.dart | 3 +- .../googleapis/lib/deploymentmanager/v2.dart | 8 +- generated/googleapis/lib/dialogflow/v2.dart | 219 +- generated/googleapis/lib/dialogflow/v3.dart | 650 +- generated/googleapis/lib/displayvideo/v1.dart | 846 +- generated/googleapis/lib/dlp/v2.dart | 16 +- generated/googleapis/lib/dns/v1.dart | 6 +- generated/googleapis/lib/documentai/v1.dart | 329 +- .../lib/doubleclickbidmanager/v1_1.dart | 2 + generated/googleapis/lib/drive/v2.dart | 8 +- generated/googleapis/lib/drive/v3.dart | 4 +- .../googleapis/lib/essentialcontacts/v1.dart | 3 +- generated/googleapis/lib/eventarc/v1.dart | 163 +- generated/googleapis/lib/fcm/v1.dart | 3 +- generated/googleapis/lib/file/v1.dart | 192 +- generated/googleapis/lib/firebaseml/v1.dart | 3 +- .../googleapis/lib/firebaserules/v1.dart | 3 +- generated/googleapis/lib/firestore/v1.dart | 3 +- generated/googleapis/lib/fitness/v1.dart | 4 +- generated/googleapis/lib/gameservices/v1.dart | 5 +- generated/googleapis/lib/gkehub/v1.dart | 122 +- generated/googleapis/lib/healthcare/v1.dart | 36 +- generated/googleapis/lib/iam/v1.dart | 136 +- .../googleapis/lib/iamcredentials/v1.dart | 3 +- generated/googleapis/lib/iap/v1.dart | 5 +- generated/googleapis/lib/jobs/v3.dart | 15 +- generated/googleapis/lib/jobs/v4.dart | 85 +- generated/googleapis/lib/language/v1.dart | 3 +- generated/googleapis/lib/libraryagent/v1.dart | 3 +- generated/googleapis/lib/logging/v2.dart | 1039 ++- .../googleapis/lib/managedidentities/v1.dart | 672 +- generated/googleapis/lib/memcache/v1.dart | 4 +- generated/googleapis/lib/ml/v1.dart | 40 +- generated/googleapis/lib/monitoring/v3.dart | 42 +- .../lib/mybusinessbusinessinformation/v1.dart | 3594 +++++++ .../lib/mybusinessnotifications/v1.dart | 203 + .../lib/mybusinessverifications/v1.dart | 1370 +++ .../googleapis/lib/networkmanagement/v1.dart | 7 +- .../googleapis/lib/networksecurity/v1.dart | 3183 +++++++ .../googleapis/lib/networkservices/v1.dart | 1675 ++++ generated/googleapis/lib/notebooks/v1.dart | 54 +- .../googleapis/lib/ondemandscanning/v1.dart | 524 +- generated/googleapis/lib/orgpolicy/v2.dart | 3 +- generated/googleapis/lib/osconfig/v1.dart | 898 +- generated/googleapis/lib/oslogin/v1.dart | 3 +- generated/googleapis/lib/people/v1.dart | 54 +- .../googleapis/lib/policyanalyzer/v1.dart | 279 + .../googleapis/lib/policysimulator/v1.dart | 5 +- .../lib/policytroubleshooter/v1.dart | 5 +- generated/googleapis/lib/privateca/v1.dart | 13 +- generated/googleapis/lib/pubsub/v1.dart | 50 +- generated/googleapis/lib/pubsublite/v1.dart | 541 +- .../lib/recaptchaenterprise/v1.dart | 12 +- generated/googleapis/lib/recommender/v1.dart | 19 +- generated/googleapis/lib/redis/v1.dart | 14 +- generated/googleapis/lib/reseller/v1.dart | 4 +- .../googleapis/lib/resourcesettings/v1.dart | 3 +- generated/googleapis/lib/retail/v2.dart | 3592 ++++++- generated/googleapis/lib/run/v1.dart | 32 +- .../googleapis/lib/runtimeconfig/v1.dart | 3 +- .../googleapis/lib/searchconsole/v1.dart | 3 +- .../googleapis/lib/secretmanager/v1.dart | 5 +- .../googleapis/lib/securitycenter/v1.dart | 285 +- .../lib/serviceconsumermanagement/v1.dart | 15 +- .../googleapis/lib/servicecontrol/v1.dart | 3 +- .../googleapis/lib/servicecontrol/v2.dart | 3 +- .../googleapis/lib/servicedirectory/v1.dart | 24 +- .../googleapis/lib/servicemanagement/v1.dart | 20 +- .../googleapis/lib/servicenetworking/v1.dart | 33 +- generated/googleapis/lib/serviceusage/v1.dart | 18 +- generated/googleapis/lib/slides/v1.dart | 14 + generated/googleapis/lib/spanner/v1.dart | 18 +- generated/googleapis/lib/speech/v1.dart | 19 +- generated/googleapis/lib/src/user_agent.dart | 4 +- .../googleapis/lib/storagetransfer/v1.dart | 122 +- generated/googleapis/lib/sts/v1.dart | 569 +- generated/googleapis/lib/tagmanager/v2.dart | 373 + generated/googleapis/lib/testing/v1.dart | 22 +- generated/googleapis/lib/texttospeech/v1.dart | 7 +- generated/googleapis/lib/tpu/v1.dart | 9 +- .../googleapis/lib/trafficdirector/v2.dart | 3 +- generated/googleapis/lib/translate/v3.dart | 3 +- generated/googleapis/lib/vault/v1.dart | 2 +- generated/googleapis/lib/vectortile/v1.dart | 27 +- .../googleapis/lib/videointelligence/v1.dart | 3 +- generated/googleapis/lib/vision/v1.dart | 3 +- generated/googleapis/lib/webrisk/v1.dart | 3 +- .../googleapis/lib/websecurityscanner/v1.dart | 3 +- .../googleapis/lib/workflowexecutions/v1.dart | 17 +- generated/googleapis/lib/workflows/v1.dart | 17 +- generated/googleapis/lib/youtube/v3.dart | 116 +- generated/googleapis/pubspec.yaml | 2 +- .../test/abusiveexperiencereport/v1_test.dart | 8 +- .../acceleratedmobilepageurl/v1_test.dart | 24 +- .../test/accessapproval/v1_test.dart | 24 +- .../test/accesscontextmanager/v1_test.dart | 354 +- .../test/adexchangebuyer/v1_3_test.dart | 3688 -------- .../test/adexchangebuyer/v1_4_test.dart | 8238 ----------------- .../test/adexperiencereport/v1_test.dart | 16 +- .../test/admin/datatransfer_v1_test.dart | 48 +- .../test/admin/directory_v1_test.dart | 472 +- .../test/admin/reports_v1_test.dart | 148 +- generated/googleapis/test/admob/v1_test.dart | 128 +- .../googleapis/test/adsense/v1_4_test.dart | 234 +- .../googleapis/test/adsense/v2_test.dart | 204 +- .../test/adsensehost/v4_1_test.dart | 166 +- .../googleapis/test/analytics/v3_test.dart | 492 +- .../test/analyticsreporting/v4_test.dart | 376 +- .../androiddeviceprovisioning/v1_test.dart | 180 +- .../test/androidenterprise/v1_test.dart | 432 +- .../test/androidmanagement/v1_test.dart | 729 +- .../test/androidpublisher/v3_test.dart | 206 +- .../googleapis/test/apigateway/v1_test.dart | 236 +- generated/googleapis/test/apigee/v1_test.dart | 2591 ++++-- .../googleapis/test/apikeys/v2_test.dart | 92 +- .../googleapis/test/appengine/v1_test.dart | 419 +- .../test/artifactregistry/v1_test.dart | 156 +- .../test/assuredworkloads/v1_test.dart | 108 +- .../googleapis/test/bigquery/v2_test.dart | 943 +- .../test/bigquerydatatransfer/v1_test.dart | 374 +- .../test/bigqueryreservation/v1_test.dart | 76 +- .../test/bigtableadmin/v2_test.dart | 281 +- .../test/billingbudgets/v1_test.dart | 76 +- .../test/binaryauthorization/v1_test.dart | 112 +- .../googleapis/test/blogger/v3_test.dart | 130 +- generated/googleapis/test/books/v1_test.dart | 368 +- .../googleapis/test/calendar/v3_test.dart | 248 +- generated/googleapis/test/chat/v1_test.dart | 462 +- .../test/chromemanagement/v1_test.dart | 632 +- .../googleapis/test/chromepolicy/v1_test.dart | 207 +- .../test/chromeuxreport/v1_test.dart | 24 +- .../googleapis/test/civicinfo/v2_test.dart | 320 +- .../googleapis/test/classroom/v1_test.dart | 236 +- .../googleapis/test/cloudasset/v1_test.dart | 1122 ++- .../googleapis/test/cloudbilling/v1_test.dart | 120 +- .../googleapis/test/cloudbuild/v1_test.dart | 2046 +++- .../googleapis/test/cloudchannel/v1_test.dart | 491 +- .../test/clouddebugger/v2_test.dart | 128 +- .../test/cloudfunctions/v1_test.dart | 206 +- .../test/cloudidentity/v1_test.dart | 829 +- .../googleapis/test/cloudiot/v1_test.dart | 140 +- .../googleapis/test/cloudkms/v1_test.dart | 595 +- .../test/cloudprofiler/v2_test.dart | 24 +- .../test/cloudresourcemanager/v1_test.dart | 172 +- .../test/cloudresourcemanager/v2_test.dart | 108 +- .../test/cloudresourcemanager/v3_test.dart | 180 +- .../test/cloudscheduler/v1_test.dart | 84 +- .../googleapis/test/cloudsearch/v1_test.dart | 668 +- .../googleapis/test/cloudshell/v1_test.dart | 60 +- .../googleapis/test/cloudtasks/v2_test.dart | 108 +- .../googleapis/test/cloudtrace/v2_test.dart | 60 +- .../googleapis/test/composer/v1_test.dart | 132 +- .../googleapis/test/compute/v1_test.dart | 5291 +++++------ .../test/contactcenterinsights/v1_test.dart | 6890 ++++++++++++++ .../googleapis/test/container/v1_test.dart | 669 +- .../googleapis/test/content/v2_1_test.dart | 3343 +++++-- .../googleapis/test/customsearch/v1_test.dart | 72 +- .../googleapis/test/datacatalog/v1_test.dart | 270 +- .../googleapis/test/datafusion/v1_test.dart | 196 +- .../test/datamigration/v1_test.dart | 196 +- .../googleapis/test/dataproc/v1_test.dart | 693 +- .../test/deploymentmanager/v2_test.dart | 200 +- .../test/dfareporting/v3_4_test.dart | 2322 ++--- .../test/dfareporting/v3_5_test.dart | 2290 ++--- .../googleapis/test/dialogflow/v2_test.dart | 2273 +++-- .../googleapis/test/dialogflow/v3_test.dart | 2669 +++--- .../test/digitalassetlinks/v1_test.dart | 24 +- .../googleapis/test/discovery/v1_test.dart | 160 +- .../googleapis/test/displayvideo/v1_test.dart | 1416 ++- generated/googleapis/test/dlp/v2_test.dart | 668 +- generated/googleapis/test/dns/v1_test.dart | 152 +- generated/googleapis/test/docs/v1_test.dart | 664 +- .../googleapis/test/documentai/v1_test.dart | 1307 ++- .../googleapis/test/domainsrdap/v1_test.dart | 60 +- .../test/doubleclickbidmanager/v1_1_test.dart | 96 +- .../test/doubleclicksearch/v2_test.dart | 96 +- generated/googleapis/test/drive/v2_test.dart | 400 +- generated/googleapis/test/drive/v3_test.dart | 256 +- .../test/driveactivity/v2_test.dart | 80 +- .../test/essentialcontacts/v1_test.dart | 50 +- .../googleapis/test/eventarc/v1_test.dart | 334 +- generated/googleapis/test/fcm/v1_test.dart | 80 +- generated/googleapis/test/file/v1_test.dart | 347 +- .../test/firebasedynamiclinks/v1_test.dart | 32 +- .../test/firebasehosting/v1_test.dart | 44 +- .../googleapis/test/firebaseml/v1_test.dart | 44 +- .../test/firebaserules/v1_test.dart | 128 +- .../googleapis/test/firestore/v1_test.dart | 426 +- .../googleapis/test/fitness/v1_test.dart | 124 +- generated/googleapis/test/games/v1_test.dart | 208 +- .../v1configuration_test.dart | 24 +- .../googleapis/test/gameservices/v1_test.dart | 412 +- .../gamesmanagement/v1management_test.dart | 56 +- generated/googleapis/test/gkehub/v1_test.dart | 294 +- generated/googleapis/test/gmail/v1_test.dart | 286 +- .../test/gmailpostmastertools/v1_test.dart | 48 +- .../googleapis/test/healthcare/v1_test.dart | 592 +- .../googleapis/test/homegraph/v1_test.dart | 108 +- generated/googleapis/test/iam/v1_test.dart | 387 +- .../test/iamcredentials/v1_test.dart | 40 +- generated/googleapis/test/iap/v1_test.dart | 64 +- .../test/identitytoolkit/v3_test.dart | 168 +- generated/googleapis/test/jobs/v3_test.dart | 414 +- generated/googleapis/test/jobs/v4_test.dart | 455 +- generated/googleapis/test/keep/v1_test.dart | 72 +- .../googleapis/test/kgsearch/v1_test.dart | 26 +- .../googleapis/test/language/v1_test.dart | 116 +- .../googleapis/test/libraryagent/v1_test.dart | 16 +- .../googleapis/test/licensing/v1_test.dart | 8 +- .../test/localservices/v1_test.dart | 16 +- .../googleapis/test/logging/v2_test.dart | 440 +- .../test/managedidentities/v1_test.dart | 1033 ++- .../test/manufacturers/v1_test.dart | 124 +- .../googleapis/test/memcache/v1_test.dart | 260 +- generated/googleapis/test/ml/v1_test.dart | 480 +- .../googleapis/test/monitoring/v3_test.dart | 601 +- .../mybusinessaccountmanagement/v1_test.dart | 48 +- .../v1_test.dart | 3458 +++++++ .../test/mybusinesslodging/v1_test.dart | 24 +- .../test/mybusinessnotifications/v1_test.dart | 204 + .../test/mybusinessplaceactions/v1_test.dart | 16 +- .../test/mybusinessverifications/v1_test.dart | 1244 +++ .../test/networkmanagement/v1_test.dart | 228 +- .../test/networksecurity/v1_test.dart | 3553 +++++++ .../test/networkservices/v1_test.dart | 1849 ++++ .../googleapis/test/notebooks/v1_test.dart | 411 +- .../test/ondemandscanning/v1_test.dart | 822 +- .../googleapis/test/orgpolicy/v2_test.dart | 40 +- .../googleapis/test/osconfig/v1_test.dart | 1003 +- .../googleapis/test/oslogin/v1_test.dart | 16 +- .../test/pagespeedonline/v5_test.dart | 86 +- .../paymentsresellersubscription/v1_test.dart | 72 +- generated/googleapis/test/people/v1_test.dart | 602 +- .../test/playablelocations/v3_test.dart | 64 +- .../test/policyanalyzer/v1_test.dart | 284 + .../test/policysimulator/v1_test.dart | 140 +- .../test/policytroubleshooter/v1_test.dart | 64 +- .../googleapis/test/privateca/v1_test.dart | 428 +- generated/googleapis/test/pubsub/v1_test.dart | 186 +- .../googleapis/test/pubsublite/v1_test.dart | 727 +- .../test/realtimebidding/v1_test.dart | 408 +- .../test/recaptchaenterprise/v1_test.dart | 93 +- .../googleapis/test/recommender/v1_test.dart | 211 +- generated/googleapis/test/redis/v1_test.dart | 124 +- .../googleapis/test/reseller/v1_test.dart | 24 +- .../test/resourcesettings/v1_test.dart | 24 +- generated/googleapis/test/retail/v2_test.dart | 6602 +++++++++---- generated/googleapis/test/run/v1_test.dart | 400 +- .../test/runtimeconfig/v1_test.dart | 44 +- .../googleapis/test/safebrowsing/v4_test.dart | 128 +- generated/googleapis/test/script/v1_test.dart | 184 +- .../test/searchconsole/v1_test.dart | 80 +- .../test/secretmanager/v1_test.dart | 128 +- .../test/securitycenter/v1_test.dart | 459 +- .../serviceconsumermanagement/v1_test.dart | 640 +- .../test/servicecontrol/v1_test.dart | 428 +- .../test/servicecontrol/v2_test.dart | 224 +- .../test/servicedirectory/v1_test.dart | 112 +- .../test/servicemanagement/v1_test.dart | 680 +- .../test/servicenetworking/v1_test.dart | 653 +- .../googleapis/test/serviceusage/v1_test.dart | 662 +- generated/googleapis/test/sheets/v4_test.dart | 812 +- .../test/siteverification/v1_test.dart | 16 +- generated/googleapis/test/slides/v1_test.dart | 234 +- .../test/smartdevicemanagement/v1_test.dart | 72 +- .../googleapis/test/sourcerepo/v1_test.dart | 116 +- .../googleapis/test/spanner/v1_test.dart | 648 +- generated/googleapis/test/speech/v1_test.dart | 102 +- .../googleapis/test/storage/v1_test.dart | 220 +- .../test/storagetransfer/v1_test.dart | 180 +- .../test/streetviewpublish/v1_test.dart | 106 +- generated/googleapis/test/sts/v1_test.dart | 462 +- .../googleapis/test/tagmanager/v1_test.dart | 386 +- .../googleapis/test/tagmanager/v2_test.dart | 912 +- generated/googleapis/test/tasks/v1_test.dart | 24 +- .../googleapis/test/testing/v1_test.dart | 416 +- .../googleapis/test/texttospeech/v1_test.dart | 24 +- generated/googleapis/test/tpu/v1_test.dart | 140 +- .../test/trafficdirector/v2_test.dart | 248 +- .../googleapis/test/translate/v3_test.dart | 180 +- generated/googleapis/test/vault/v1_test.dart | 244 +- .../googleapis/test/vectortile/v1_test.dart | 158 +- .../test/videointelligence/v1_test.dart | 1572 ++-- generated/googleapis/test/vision/v1_test.dart | 1628 ++-- .../googleapis/test/webfonts/v1_test.dart | 32 +- .../googleapis/test/webmasters/v3_test.dart | 64 +- .../googleapis/test/webrisk/v1_test.dart | 110 +- .../test/websecurityscanner/v1_test.dart | 112 +- .../test/workflowexecutions/v1_test.dart | 21 +- .../googleapis/test/workflows/v1_test.dart | 92 +- .../googleapis/test/youtube/v3_test.dart | 1033 ++- .../test/youtubeanalytics/v2_test.dart | 60 +- .../test/youtubereporting/v1_test.dart | 32 +- generated/googleapis_beta/CHANGELOG.md | 3 + generated/googleapis_beta/README.md | 78 +- .../lib/alertcenter/v1beta1.dart | 210 +- .../lib/analyticsadmin/v1alpha.dart | 156 + .../lib/analyticsdata/v1beta.dart | 336 +- .../lib/bigqueryconnection/v1beta1.dart | 8 +- .../lib/clouderrorreporting/v1beta1.dart | 3 +- .../lib/containeranalysis/v1beta1.dart | 848 +- .../lib/datacatalog/v1beta1.dart | 5 +- .../googleapis_beta/lib/dataflow/v1b3.dart | 73 +- .../lib/datalabeling/v1beta1.dart | 3 +- .../lib/documentai/v1beta3.dart | 325 +- .../googleapis_beta/lib/fcmdata/v1beta1.dart | 528 ++ .../googleapis_beta/lib/firebase/v1beta1.dart | 6 +- .../lib/firebaseappcheck/v1beta.dart | 3 +- .../lib/firebasedatabase/v1beta.dart | 6 +- .../lib/firebasestorage/v1beta.dart | 3 +- .../googleapis_beta/lib/ideahub/v1beta.dart | 565 ++ .../lib/lifesciences/v2beta.dart | 3 +- .../googleapis_beta/lib/metastore/v1beta.dart | 97 +- .../lib/networkconnectivity/v1alpha1.dart | 167 +- .../lib/networksecurity/v1beta1.dart | 5 +- .../lib/ondemandscanning/v1beta1.dart | 524 +- .../googleapis_beta/lib/osconfig/v1alpha.dart | 282 +- .../lib/policysimulator/v1beta1.dart | 5 +- .../lib/privateca/v1beta1.dart | 9 +- .../lib/prod_tt_sasportal/v1alpha1.dart | 25 + .../googleapis_beta/lib/sqladmin/v1beta4.dart | 341 +- .../googleapis_beta/lib/src/user_agent.dart | 4 +- .../lib/toolresults/v1beta3.dart | 3 +- .../lib/transcoder/v1beta1.dart | 91 +- generated/googleapis_beta/pubspec.yaml | 2 +- .../test/adexchangebuyer2/v2beta1_test.dart | 664 +- .../test/alertcenter/v1beta1_test.dart | 452 +- .../test/analyticsadmin/v1alpha_test.dart | 429 +- .../test/analyticsdata/v1beta_test.dart | 670 +- .../test/area120tables/v1alpha1_test.dart | 104 +- .../test/bigqueryconnection/v1beta1_test.dart | 64 +- .../clouderrorreporting/v1beta1_test.dart | 54 +- .../test/containeranalysis/v1beta1_test.dart | 1047 ++- .../test/datacatalog/v1beta1_test.dart | 246 +- .../test/dataflow/v1b3_test.dart | 1128 +-- .../test/datalabeling/v1beta1_test.dart | 516 +- .../test/documentai/v1beta3_test.dart | 1334 ++- .../test/domains/v1beta1_test.dart | 276 +- .../test/factchecktools/v1alpha1_test.dart | 40 +- .../test/fcmdata/v1beta1_test.dart | 433 + .../test/firebase/v1beta1_test.dart | 124 +- .../test/firebaseappcheck/v1beta_test.dart | 96 +- .../test/firebasedatabase/v1beta_test.dart | 8 +- .../test/firebasestorage/v1beta_test.dart | 8 +- .../test/ideahub/v1beta_test.dart | 617 ++ .../test/lifesciences/v2beta_test.dart | 228 +- .../test/metastore/v1beta_test.dart | 310 +- .../networkconnectivity/v1alpha1_test.dart | 395 +- .../test/networksecurity/v1beta1_test.dart | 252 +- .../test/ondemandscanning/v1beta1_test.dart | 822 +- .../test/osconfig/v1alpha_test.dart | 466 +- .../test/policysimulator/v1beta1_test.dart | 140 +- .../test/privateca/v1beta1_test.dart | 412 +- .../test/prod_tt_sasportal/v1alpha1_test.dart | 198 +- .../recommendationengine/v1beta1_test.dart | 304 +- .../test/sasportal/v1alpha1_test.dart | 188 +- .../test/sqladmin/v1beta4_test.dart | 489 +- .../test/toolresults/v1beta3_test.dart | 354 +- .../test/transcoder/v1beta1_test.dart | 227 +- generator/tool/config_delta.dart | 7 +- overrides/i237.diff | 14 - resources/googleapis/CHANGELOG.md | 10 +- resources/googleapis_beta/CHANGELOG.md | 3 + 649 files changed, 135523 insertions(+), 69704 deletions(-) delete mode 100644 discovery/googleapis/adexchangebuyer__v1.3.json delete mode 100644 discovery/googleapis/adexchangebuyer__v1.4.json create mode 100644 discovery/googleapis/contactcenterinsights__v1.json create mode 100644 discovery/googleapis/mybusinessbusinessinformation__v1.json create mode 100644 discovery/googleapis/mybusinessnotifications__v1.json create mode 100644 discovery/googleapis/mybusinessverifications__v1.json create mode 100644 discovery/googleapis/networksecurity__v1.json create mode 100644 discovery/googleapis/networkservices__v1.json create mode 100644 discovery/googleapis/policyanalyzer__v1.json create mode 100644 discovery/googleapis_beta/fcmdata__v1beta1.json create mode 100644 discovery/googleapis_beta/ideahub__v1beta.json delete mode 100644 generated/googleapis/lib/adexchangebuyer/v1_3.dart delete mode 100644 generated/googleapis/lib/adexchangebuyer/v1_4.dart create mode 100644 generated/googleapis/lib/contactcenterinsights/v1.dart create mode 100644 generated/googleapis/lib/mybusinessbusinessinformation/v1.dart create mode 100644 generated/googleapis/lib/mybusinessnotifications/v1.dart create mode 100644 generated/googleapis/lib/mybusinessverifications/v1.dart create mode 100644 generated/googleapis/lib/networksecurity/v1.dart create mode 100644 generated/googleapis/lib/networkservices/v1.dart create mode 100644 generated/googleapis/lib/policyanalyzer/v1.dart delete mode 100644 generated/googleapis/test/adexchangebuyer/v1_3_test.dart delete mode 100644 generated/googleapis/test/adexchangebuyer/v1_4_test.dart create mode 100644 generated/googleapis/test/contactcenterinsights/v1_test.dart create mode 100644 generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart create mode 100644 generated/googleapis/test/mybusinessnotifications/v1_test.dart create mode 100644 generated/googleapis/test/mybusinessverifications/v1_test.dart create mode 100644 generated/googleapis/test/networksecurity/v1_test.dart create mode 100644 generated/googleapis/test/networkservices/v1_test.dart create mode 100644 generated/googleapis/test/policyanalyzer/v1_test.dart create mode 100644 generated/googleapis_beta/lib/fcmdata/v1beta1.dart create mode 100644 generated/googleapis_beta/lib/ideahub/v1beta.dart create mode 100644 generated/googleapis_beta/test/fcmdata/v1beta1_test.dart create mode 100644 generated/googleapis_beta/test/ideahub/v1beta_test.dart delete mode 100644 overrides/i237.diff diff --git a/config.yaml b/config.yaml index bd9918f49..f168555ba 100644 --- a/config.yaml +++ b/config.yaml @@ -2,7 +2,7 @@ # should be ignored. packages: - googleapis: - version: 5.0.0-dev + version: 5.0.0 repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis readme: resources/README.md license: resources/LICENSE @@ -16,8 +16,6 @@ packages: - acceleratedmobilepageurl:v1 # https://developers.google.com/amp/cache/ - accessapproval:v1 - accesscontextmanager:v1 - - adexchangebuyer:v1.3 # https://developers.google.com/ad-exchange/buyer-rest/ - - adexchangebuyer:v1.4 # https://developers.google.com/ad-exchange/buyer-rest/ - adexperiencereport:v1 # https://developers.google.com/ad-experience-report/ - admin:datatransfer_v1 # https://developers.google.com/admin-sdk/data-transfer/ - admin:directory_v1 # https://developers.google.com/admin-sdk/directory/ @@ -74,6 +72,7 @@ packages: - cloudtrace:v2 # https://cloud.google.com/cloud-trace/ - composer:v1 # https://cloud.google.com/composer/ - compute:v1 # https://developers.google.com/compute/ + - contactcenterinsights:v1 - container:v1 # https://cloud.google.com/container-engine/ - content:v2.1 # https://developers.google.com/shopping-content/ - customsearch:v1 # https://developers.google.com/custom-search/ @@ -141,9 +140,14 @@ packages: - ml:v1 # https://cloud.google.com/ml-engine/ - monitoring:v3 # https://cloud.google.com/monitoring/api/ - mybusinessaccountmanagement:v1 + - mybusinessbusinessinformation:v1 - mybusinesslodging:v1 + - mybusinessnotifications:v1 - mybusinessplaceactions:v1 + - mybusinessverifications:v1 - networkmanagement:v1 + - networksecurity:v1 + - networkservices:v1 - notebooks:v1 - oauth2:v2 # Note: this is used many places and sometimes the document is missing - ondemandscanning:v1 @@ -155,6 +159,7 @@ packages: - people:v1 # https://developers.google.com/people/ - playablelocations:v3 - playcustomapp:v1 # https://developers.google.com/android/work/play/custom-app-api + - policyanalyzer:v1 - policysimulator:v1 - policytroubleshooter:v1 - privateca:v1 @@ -216,7 +221,7 @@ packages: - youtubereporting:v1 # https://developers.google.com/youtube/reporting/v1/reports/ - googleapis_beta: - version: 5.0.0-dev + version: 5.0.0 repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis_beta readme: resources/README.md license: resources/LICENSE @@ -237,10 +242,12 @@ packages: - documentai:v1beta3 - domains:v1beta1 - factchecktools:v1alpha1 + - fcmdata:v1beta1 - firebase:v1beta1 - firebaseappcheck:v1beta - firebasedatabase:v1beta - firebasestorage:v1beta + - ideahub:v1beta - lifesciences:v2beta - metastore:v1beta - networkconnectivity:v1alpha1 @@ -259,7 +266,6 @@ packages: # APIs that we do not wish to include in this package skipped_apis: - accesscontextmanager:v1beta -- adexchangebuyer:v1.2 # v1.3 included - admob:v1beta #v1 included - apigateway:v1beta # v1 included - appengine:v1alpha # v1 included @@ -332,9 +338,11 @@ skipped_apis: - metastore:v1alpha # v1beta included - monitoring:v1 # v3 included - networkmanagement:v1beta1 # v1 included +- networkservices:v1beta1 - osconfig:v1beta # v1 included - oslogin:v1alpha # v1 available - oslogin:v1beta # v1 available +- policyanalyzer:v1beta1 - policytroubleshooter:v1beta # v1 included - poly:v1 # https://support.google.com/poly/answer/10192635 poly.google.com is shut down! - pubsub:v1beta1a # v1beta1, v1bets2 and v1 included @@ -342,9 +350,6 @@ skipped_apis: - realtimebidding:v1alpha - recommender:v1beta1 # v1 included - redis:v1beta1 # v1 included -- remotebuildexecution:v1 # v2 included -- remotebuildexecution:v1alpha # v2 included -- remotebuildexecution:v2 # skipping - docs not public - http://b/188925742 - retail:v2alpha # v2 included - retail:v2beta # v2 included - run:v1alpha1 #v1 included diff --git a/discovery/googleapis/abusiveexperiencereport__v1.json b/discovery/googleapis/abusiveexperiencereport__v1.json index a9c6d8ba5..7dd79c39e 100644 --- a/discovery/googleapis/abusiveexperiencereport__v1.json +++ b/discovery/googleapis/abusiveexperiencereport__v1.json @@ -137,7 +137,7 @@ } } }, - "revision": "20210712", + "revision": "20210822", "rootUrl": "https://abusiveexperiencereport.googleapis.com/", "schemas": { "SiteSummaryResponse": { diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json index ad4fb9696..62d680a18 100644 --- a/discovery/googleapis/acceleratedmobilepageurl__v1.json +++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json @@ -114,7 +114,7 @@ } } }, - "revision": "20210720", + "revision": "20210903", "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", "schemas": { "AmpUrl": { diff --git a/discovery/googleapis/accessapproval__v1.json b/discovery/googleapis/accessapproval__v1.json index cea5e846c..906499df4 100644 --- a/discovery/googleapis/accessapproval__v1.json +++ b/discovery/googleapis/accessapproval__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -14,7 +14,7 @@ "canonicalName": "Access Approval", "description": "An API for controlling access to data by Google personnel.", "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/access-approval/docs", + "documentationLink": "https://cloud.google.com/cloud-provider-access-management/access-approval/docs", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -752,7 +752,7 @@ } } }, - "revision": "20210716", + "revision": "20210826", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalSettings": { diff --git a/discovery/googleapis/accesscontextmanager__v1.json b/discovery/googleapis/accesscontextmanager__v1.json index f4dac9c60..bddd81660 100644 --- a/discovery/googleapis/accesscontextmanager__v1.json +++ b/discovery/googleapis/accesscontextmanager__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -215,7 +215,7 @@ ], "parameters": { "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", + "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", "location": "path", "pattern": "^accessPolicies/[^/]+$", "required": true, @@ -397,7 +397,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length of the `short_name` component is 50 characters.", + "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.", "location": "path", "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", "required": true, @@ -605,7 +605,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`", + "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`", "location": "path", "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", "required": true, @@ -941,9 +941,15 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { + "AccessContextManagerOperationMetadata": { + "description": "Metadata of Access Context Manager's Long Running Operations.", + "id": "AccessContextManagerOperationMetadata", + "properties": {}, + "type": "object" + }, "AccessLevel": { "description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", "id": "AccessLevel", @@ -961,7 +967,7 @@ "type": "string" }, "name": { - "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length of the `short_name` component is 50 characters.", + "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.", "type": "string" }, "title": { @@ -980,7 +986,7 @@ "type": "string" }, "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", + "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", "type": "string" }, "parent": { @@ -1304,6 +1310,12 @@ }, "type": "object" }, + "GcpUserAccessBindingOperationMetadata": { + "description": "Currently, a completed operation means nothing. In the future, this metadata and a completed operation may indicate that the binding has taken effect and is affecting access decisions for all users.", + "id": "GcpUserAccessBindingOperationMetadata", + "properties": {}, + "type": "object" + }, "IngressFrom": { "description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", "id": "IngressFrom", @@ -1642,7 +1654,7 @@ "type": "string" }, "name": { - "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`", + "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`", "type": "string" }, "perimeterType": { diff --git a/discovery/googleapis/adexchangebuyer__v1.3.json b/discovery/googleapis/adexchangebuyer__v1.3.json deleted file mode 100644 index 9e59459b4..000000000 --- a/discovery/googleapis/adexchangebuyer__v1.3.json +++ /dev/null @@ -1,1686 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adexchange.buyer": { - "description": "Manage your Ad Exchange buyer account configuration" - } - } - } - }, - "basePath": "/adexchangebuyer/v1.3/", - "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.3/", - "batchPath": "batch/adexchangebuyer/v1.3", - "canonicalName": "Ad Exchange Buyer", - "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/ULE7lNjDWefyhLjv2lnVUVNDN5o\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", - "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" - }, - "id": "adexchangebuyer:v1.3", - "kind": "discovery#restDescription", - "name": "adexchangebuyer", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of accounts.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.list", - "path": "accounts", - "response": { - "$ref": "AccountsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.accounts.patch", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing account.", - "httpMethod": "PUT", - "id": "adexchangebuyer.accounts.update", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "billingInfo": { - "methods": { - "get": { - "description": "Returns the billing information for one account specified by account ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.get", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "billinginfo/{accountId}", - "response": { - "$ref": "BillingInfo" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of billing information for all accounts of the authenticated user.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.list", - "path": "billinginfo", - "response": { - "$ref": "BillingInfoList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "budget": { - "methods": { - "get": { - "description": "Returns the budget information for the adgroup specified by the accountId and billingId.", - "httpMethod": "GET", - "id": "adexchangebuyer.budget.get", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.budget.patch", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.", - "httpMethod": "PUT", - "id": "adexchangebuyer.budget.update", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "creatives": { - "methods": { - "get": { - "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.get", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Submit a new creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.insert", - "path": "creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.list", - "parameters": { - "accountId": { - "description": "When specified, only creatives for the given account ids are returned.", - "format": "int32", - "location": "query", - "repeated": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "When specified, only creatives for the given buyer creative ids are returned.", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "statusFilter": { - "description": "When specified, only creatives having the given status are returned.", - "enum": [ - "approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved.", - "Creatives which have been disapproved.", - "Creatives whose status is not yet checked." - ], - "location": "query", - "type": "string" - } - }, - "path": "creatives", - "response": { - "$ref": "CreativesList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "directDeals": { - "methods": { - "get": { - "description": "Gets one direct deal by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.directDeals.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The direct deal id", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "directdeals/{id}", - "response": { - "$ref": "DirectDeal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of direct deals.", - "httpMethod": "GET", - "id": "adexchangebuyer.directDeals.list", - "path": "directdeals", - "response": { - "$ref": "DirectDealsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "performanceReport": { - "methods": { - "list": { - "description": "Retrieves the authenticated user's list of performance metrics.", - "httpMethod": "GET", - "id": "adexchangebuyer.performanceReport.list", - "parameterOrder": [ - "accountId", - "endDateTime", - "startDateTime" - ], - "parameters": { - "accountId": { - "description": "The account id to get the reports.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "endDateTime": { - "description": "The end time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "startDateTime": { - "description": "The start time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "performancereport", - "response": { - "$ref": "PerformanceReportList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "pretargetingConfig": { - "methods": { - "delete": { - "description": "Deletes an existing pretargeting config.", - "httpMethod": "DELETE", - "id": "adexchangebuyer.pretargetingConfig.delete", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to delete the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to delete.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "get": { - "description": "Gets a specific pretargeting configuration", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.get", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to retrieve.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Inserts a new pretargeting configuration.", - "httpMethod": "POST", - "id": "adexchangebuyer.pretargetingConfig.insert", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to insert the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's pretargeting configurations.", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting configs for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "response": { - "$ref": "PretargetingConfigList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing pretargeting config. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.pretargetingConfig.patch", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing pretargeting config.", - "httpMethod": "PUT", - "id": "adexchangebuyer.pretargetingConfig.update", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - } - }, - "revision": "20210721", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "description": "Configuration data for an Ad Exchange buyer account.", - "id": "Account", - "properties": { - "bidderLocation": { - "description": "Your bidder locations that have distinct URLs.", - "items": { - "properties": { - "maximumQps": { - "description": "The maximum queries per second the Ad Exchange will send.", - "format": "int32", - "type": "integer" - }, - "region": { - "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", - "type": "string" - }, - "url": { - "description": "The URL to which the Ad Exchange will send bid requests.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "cookieMatchingNid": { - "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", - "type": "string" - }, - "cookieMatchingUrl": { - "description": "The base URL used in cookie match requests.", - "type": "string" - }, - "id": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "adexchangebuyer#account", - "description": "Resource type.", - "type": "string" - }, - "maximumActiveCreatives": { - "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "maximumTotalQps": { - "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "numberActiveCreatives": { - "description": "The number of creatives that this account inserted or bid with in the last 30 days.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AccountsList": { - "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", - "id": "AccountsList", - "properties": { - "items": { - "description": "A list of accounts.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#accountsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "BillingInfo": { - "description": "The configuration data for an Ad Exchange billing info.", - "id": "BillingInfo", - "properties": { - "accountId": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "accountName": { - "description": "Account name.", - "type": "string" - }, - "billingId": { - "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfo", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "BillingInfoList": { - "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.", - "id": "BillingInfoList", - "properties": { - "items": { - "description": "A list of billing info relevant for your account.", - "items": { - "$ref": "BillingInfo" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfoList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Budget": { - "description": "The configuration data for Ad Exchange RTB - Budget API.", - "id": "Budget", - "properties": { - "accountId": { - "description": "The id of the account. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "billingId": { - "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "budgetAmount": { - "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.", - "format": "int64", - "type": "string" - }, - "currencyCode": { - "description": "The currency code for the buyer. This cannot be altered here.", - "type": "string" - }, - "id": { - "description": "The unique id that describes this item.", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#budget", - "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".", - "type": "string" - } - }, - "type": "object" - }, - "Creative": { - "description": "A creative and its classification data.", - "id": "Creative", - "properties": { - "HTMLSnippet": { - "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.", - "type": "string" - }, - "accountId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "adTechnologyProviders": { - "properties": { - "detectedProviderIds": { - "description": "The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "hasUnidentifiedProvider": { - "description": "Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "type": "boolean" - } - }, - "type": "object" - }, - "advertiserId": { - "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "advertiserName": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The name of the company being advertised in the creative.", - "type": "string" - }, - "agencyId": { - "description": "The agency id for this creative.", - "format": "int64", - "type": "string" - }, - "apiUploadTimestamp": { - "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", - "format": "date-time", - "type": "string" - }, - "attribute": { - "description": "All attributes for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "buyerCreativeId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "A buyer-specific id identifying the creative in this ad.", - "type": "string" - }, - "clickThroughUrl": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The set of destination urls for the snippet.", - "items": { - "type": "string" - }, - "type": "array" - }, - "corrections": { - "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "details": { - "description": "Additional details about the correction.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The type of correction that was applied to the creative.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "disapprovalReasons": { - "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "details": { - "description": "Additional details about the reason for disapproval.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The categorized reason for disapproval.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "filteringReasons": { - "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", - "properties": { - "date": { - "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", - "type": "string" - }, - "reasons": { - "description": "The filtering reasons.", - "items": { - "properties": { - "filteringCount": { - "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", - "format": "int64", - "type": "string" - }, - "filteringStatus": { - "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "height": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad height.", - "format": "int32", - "type": "integer" - }, - "impressionTrackingUrl": { - "description": "The set of urls to be called to record an impression.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creative", - "description": "Resource type.", - "type": "string" - }, - "nativeAd": { - "description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.", - "properties": { - "advertiser": { - "type": "string" - }, - "appIcon": { - "description": "The app icon, for app download ads.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "body": { - "description": "A long description of the ad.", - "type": "string" - }, - "callToAction": { - "description": "A label for the button that the user is supposed to click.", - "type": "string" - }, - "clickTrackingUrl": { - "description": "The URL to use for click tracking.", - "type": "string" - }, - "headline": { - "description": "A short title for the ad.", - "type": "string" - }, - "image": { - "description": "A large image.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "impressionTrackingUrl": { - "description": "The URLs are called when the impression is rendered.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logo": { - "description": "A smaller image, for the advertiser logo.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "price": { - "description": "The price of the promoted app including the currency info.", - "type": "string" - }, - "starRating": { - "description": "The app rating in the app store. Must be in the range [0-5].", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "productCategories": { - "description": "Detected product categories, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "restrictedCategories": { - "description": "All restricted categories for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "sensitiveCategories": { - "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "status": { - "description": "Creative serving status. Read-only. This field should not be set in requests.", - "type": "string" - }, - "vendorType": { - "description": "All vendor types for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "version": { - "description": "The version for this creative. Read-only. This field should not be set in requests.", - "format": "int32", - "type": "integer" - }, - "videoURL": { - "description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.", - "type": "string" - }, - "width": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad width.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativesList": { - "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", - "id": "CreativesList", - "properties": { - "items": { - "description": "A list of creatives.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativesList", - "description": "Resource type.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "DirectDeal": { - "description": "The configuration data for an Ad Exchange direct deal.", - "id": "DirectDeal", - "properties": { - "accountId": { - "description": "The account id of the buyer this deal is for.", - "format": "int32", - "type": "integer" - }, - "advertiser": { - "description": "The name of the advertiser this deal is for.", - "type": "string" - }, - "allowsAlcohol": { - "description": "Whether the publisher for this deal is eligible for alcohol ads.", - "type": "boolean" - }, - "buyerAccountId": { - "description": "The account id that this deal was negotiated for. It is either the buyer or the client that this deal was negotiated on behalf of.", - "format": "int64", - "type": "string" - }, - "currencyCode": { - "description": "The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.", - "type": "string" - }, - "dealTier": { - "description": "The deal type such as programmatic reservation or fixed price and so on.", - "type": "string" - }, - "endTime": { - "description": "End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.", - "format": "int64", - "type": "string" - }, - "fixedCpm": { - "description": "The fixed price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).", - "format": "int64", - "type": "string" - }, - "id": { - "description": "Deal id.", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#directDeal", - "description": "Resource type.", - "type": "string" - }, - "name": { - "description": "Deal name.", - "type": "string" - }, - "privateExchangeMinCpm": { - "description": "The minimum price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the private exchange tier of buying (below fixed price priority, run as a second price auction).", - "format": "int64", - "type": "string" - }, - "publisherBlocksOverriden": { - "description": "If true, the publisher has opted to have their blocks ignored when a creative is bid with for this deal.", - "type": "boolean" - }, - "sellerNetwork": { - "description": "The name of the publisher offering this direct deal.", - "type": "string" - }, - "startTime": { - "description": "Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DirectDealsList": { - "description": "A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.", - "id": "DirectDealsList", - "properties": { - "directDeals": { - "description": "A list of direct deals relevant for your account.", - "items": { - "$ref": "DirectDeal" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#directDealsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "PerformanceReport": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReport", - "properties": { - "bidRate": { - "description": "The number of bid responses with an ad.", - "format": "double", - "type": "number" - }, - "bidRequestRate": { - "description": "The number of bid requests sent to your bidder.", - "format": "double", - "type": "number" - }, - "calloutStatusRate": { - "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "cookieMatcherStatusRate": { - "description": "Average QPS for cookie matcher operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "creativeStatusRate": { - "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "filteredBidRate": { - "description": "The number of bid responses that were filtered due to a policy violation or other errors.", - "format": "double", - "type": "number" - }, - "hostedMatchStatusRate": { - "description": "Average QPS for hosted match operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "inventoryMatchRate": { - "description": "The number of potential queries based on your pretargeting settings.", - "format": "double", - "type": "number" - }, - "kind": { - "default": "adexchangebuyer#performanceReport", - "description": "Resource type.", - "type": "string" - }, - "latency50thPercentile": { - "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency85thPercentile": { - "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency95thPercentile": { - "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "noQuotaInRegion": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "outOfQuota": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "pixelMatchRequests": { - "description": "Average QPS for pixel match requests from clients.", - "format": "double", - "type": "number" - }, - "pixelMatchResponses": { - "description": "Average QPS for pixel match responses from clients.", - "format": "double", - "type": "number" - }, - "quotaConfiguredLimit": { - "description": "The configured quota limits for this account.", - "format": "double", - "type": "number" - }, - "quotaThrottledLimit": { - "description": "The throttled quota limits for this account.", - "format": "double", - "type": "number" - }, - "region": { - "description": "The trading location of this data.", - "type": "string" - }, - "successfulRequestRate": { - "description": "The number of properly formed bid responses received by our servers within the deadline.", - "format": "double", - "type": "number" - }, - "timestamp": { - "description": "The unix timestamp of the starting time of this performance data.", - "format": "int64", - "type": "string" - }, - "unsuccessfulRequestRate": { - "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "PerformanceReportList": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReportList", - "properties": { - "kind": { - "default": "adexchangebuyer#performanceReportList", - "description": "Resource type.", - "type": "string" - }, - "performanceReport": { - "description": "A list of performance reports relevant for the account.", - "items": { - "$ref": "PerformanceReport" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfig": { - "id": "PretargetingConfig", - "properties": { - "billingId": { - "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.", - "format": "int64", - "type": "string" - }, - "configId": { - "description": "The config id; generated automatically. Leave this field blank for insert requests.", - "format": "int64", - "type": "string" - }, - "configName": { - "description": "The name of the config. Must be unique. Required for all requests.", - "type": "string" - }, - "creativeType": { - "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dimensions": { - "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.", - "items": { - "properties": { - "height": { - "description": "Height in pixels.", - "format": "int64", - "type": "string" - }, - "width": { - "description": "Width in pixels.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedContentLabels": { - "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedGeoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedPlacements": { - "description": "Requests containing any of these placements will not match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedUserLists": { - "description": "Requests containing any of these users list ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedVerticals": { - "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "geoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "isActive": { - "description": "Whether this config is active. Required for all requests.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfig", - "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".", - "type": "string" - }, - "languages": { - "description": "Request containing any of these language codes will match.", - "items": { - "type": "string" - }, - "type": "array" - }, - "maximumQps": { - "description": "The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).", - "format": "int64", - "type": "string" - }, - "mobileCarriers": { - "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileDevices": { - "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileOperatingSystemVersions": { - "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "placements": { - "description": "Requests containing any of these placements will match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "platforms": { - "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.", - "items": { - "type": "string" - }, - "type": "array" - }, - "supportedCreativeAttributes": { - "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "userLists": { - "description": "Requests containing any of these user list ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "vendorTypes": { - "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "verticals": { - "description": "Requests containing any of these vertical ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfigList": { - "id": "PretargetingConfigList", - "properties": { - "items": { - "description": "A list of pretargeting configs", - "items": { - "$ref": "PretargetingConfig" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfigList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adexchangebuyer/v1.3/", - "title": "Ad Exchange Buyer API", - "version": "v1.3" -} \ No newline at end of file diff --git a/discovery/googleapis/adexchangebuyer__v1.4.json b/discovery/googleapis/adexchangebuyer__v1.4.json deleted file mode 100644 index da8b93dcb..000000000 --- a/discovery/googleapis/adexchangebuyer__v1.4.json +++ /dev/null @@ -1,3752 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adexchange.buyer": { - "description": "Manage your Ad Exchange buyer account configuration" - } - } - } - }, - "basePath": "/adexchangebuyer/v1.4/", - "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/", - "batchPath": "batch/adexchangebuyer/v1.4", - "canonicalName": "Ad Exchange Buyer", - "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/MMUZnL2TxnlUtCovaL9a7TwJXLs\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", - "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" - }, - "id": "adexchangebuyer:v1.4", - "kind": "discovery#restDescription", - "name": "adexchangebuyer", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of accounts.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.list", - "path": "accounts", - "response": { - "$ref": "AccountsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.accounts.patch", - "parameterOrder": [ - "id" - ], - "parameters": { - "confirmUnsafeAccountChange": { - "description": "Confirmation for erasing bidder and cookie matching urls.", - "location": "query", - "type": "boolean" - }, - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing account.", - "httpMethod": "PUT", - "id": "adexchangebuyer.accounts.update", - "parameterOrder": [ - "id" - ], - "parameters": { - "confirmUnsafeAccountChange": { - "description": "Confirmation for erasing bidder and cookie matching urls.", - "location": "query", - "type": "boolean" - }, - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "billingInfo": { - "methods": { - "get": { - "description": "Returns the billing information for one account specified by account ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.get", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "billinginfo/{accountId}", - "response": { - "$ref": "BillingInfo" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of billing information for all accounts of the authenticated user.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.list", - "path": "billinginfo", - "response": { - "$ref": "BillingInfoList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "budget": { - "methods": { - "get": { - "description": "Returns the budget information for the adgroup specified by the accountId and billingId.", - "httpMethod": "GET", - "id": "adexchangebuyer.budget.get", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.budget.patch", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.", - "httpMethod": "PUT", - "id": "adexchangebuyer.budget.update", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "creatives": { - "methods": { - "addDeal": { - "description": "Add a deal id association for the creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.addDeal", - "parameterOrder": [ - "accountId", - "buyerCreativeId", - "dealId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - }, - "dealId": { - "description": "The id of the deal id to associate with this creative.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "get": { - "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.get", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Submit a new creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.insert", - "path": "creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.list", - "parameters": { - "accountId": { - "description": "When specified, only creatives for the given account ids are returned.", - "format": "int32", - "location": "query", - "repeated": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "When specified, only creatives for the given buyer creative ids are returned.", - "location": "query", - "repeated": true, - "type": "string" - }, - "dealsStatusFilter": { - "description": "When specified, only creatives having the given deals status are returned.", - "enum": [ - "approved", - "conditionally_approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved for serving on deals.", - "Creatives which have been conditionally approved for serving on deals.", - "Creatives which have been disapproved for serving on deals.", - "Creatives whose deals status is not yet checked." - ], - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "openAuctionStatusFilter": { - "description": "When specified, only creatives having the given open auction status are returned.", - "enum": [ - "approved", - "conditionally_approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved for serving on the open auction.", - "Creatives which have been conditionally approved for serving on the open auction.", - "Creatives which have been disapproved for serving on the open auction.", - "Creatives whose open auction status is not yet checked." - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - } - }, - "path": "creatives", - "response": { - "$ref": "CreativesList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "listDeals": { - "description": "Lists the external deal ids associated with the creative.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.listDeals", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}/listDeals", - "response": { - "$ref": "CreativeDealIds" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "removeDeal": { - "description": "Remove a deal id associated with the creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.removeDeal", - "parameterOrder": [ - "accountId", - "buyerCreativeId", - "dealId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - }, - "dealId": { - "description": "The id of the deal id to disassociate with this creative.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "marketplacedeals": { - "methods": { - "delete": { - "description": "Delete the specified deals from the proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacedeals.delete", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposalId to delete deals from.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals/delete", - "request": { - "$ref": "DeleteOrderDealsRequest" - }, - "response": { - "$ref": "DeleteOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Add new deals for the specified proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacedeals.insert", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "proposalId for which deals need to be added.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals/insert", - "request": { - "$ref": "AddOrderDealsRequest" - }, - "response": { - "$ref": "AddOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "List all the deals for a given proposal", - "httpMethod": "GET", - "id": "adexchangebuyer.marketplacedeals.list", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "pqlQuery": { - "description": "Query string to retrieve specific deals.", - "location": "query", - "type": "string" - }, - "proposalId": { - "description": "The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals", - "response": { - "$ref": "GetOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Replaces all the deals in the proposal with the passed in deals", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacedeals.update", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposalId to edit deals on.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals/update", - "request": { - "$ref": "EditAllOrderDealsRequest" - }, - "response": { - "$ref": "EditAllOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "marketplacenotes": { - "methods": { - "insert": { - "description": "Add notes to the proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacenotes.insert", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposalId to add notes for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/notes/insert", - "request": { - "$ref": "AddOrderNotesRequest" - }, - "response": { - "$ref": "AddOrderNotesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Get all the notes associated with a proposal", - "httpMethod": "GET", - "id": "adexchangebuyer.marketplacenotes.list", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "pqlQuery": { - "description": "Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE note.note LIKE \"%bar%\"", - "location": "query", - "type": "string" - }, - "proposalId": { - "description": "The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/notes", - "response": { - "$ref": "GetOrderNotesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "marketplaceprivateauction": { - "methods": { - "updateproposal": { - "description": "Update a given private auction proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplaceprivateauction.updateproposal", - "parameterOrder": [ - "privateAuctionId" - ], - "parameters": { - "privateAuctionId": { - "description": "The private auction id to be updated.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "privateauction/{privateAuctionId}/updateproposal", - "request": { - "$ref": "UpdatePrivateAuctionProposalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "performanceReport": { - "methods": { - "list": { - "description": "Retrieves the authenticated user's list of performance metrics.", - "httpMethod": "GET", - "id": "adexchangebuyer.performanceReport.list", - "parameterOrder": [ - "accountId", - "endDateTime", - "startDateTime" - ], - "parameters": { - "accountId": { - "description": "The account id to get the reports.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "endDateTime": { - "description": "The end time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "startDateTime": { - "description": "The start time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "performancereport", - "response": { - "$ref": "PerformanceReportList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "pretargetingConfig": { - "methods": { - "delete": { - "description": "Deletes an existing pretargeting config.", - "httpMethod": "DELETE", - "id": "adexchangebuyer.pretargetingConfig.delete", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to delete the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to delete.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "get": { - "description": "Gets a specific pretargeting configuration", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.get", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to retrieve.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Inserts a new pretargeting configuration.", - "httpMethod": "POST", - "id": "adexchangebuyer.pretargetingConfig.insert", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to insert the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's pretargeting configurations.", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting configs for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "response": { - "$ref": "PretargetingConfigList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing pretargeting config. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.pretargetingConfig.patch", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing pretargeting config.", - "httpMethod": "PUT", - "id": "adexchangebuyer.pretargetingConfig.update", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "products": { - "methods": { - "get": { - "description": "Gets the requested product by id.", - "httpMethod": "GET", - "id": "adexchangebuyer.products.get", - "parameterOrder": [ - "productId" - ], - "parameters": { - "productId": { - "description": "The id for the product to get the head revision for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "products/{productId}", - "response": { - "$ref": "Product" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "search": { - "description": "Gets the requested product.", - "httpMethod": "GET", - "id": "adexchangebuyer.products.search", - "parameters": { - "pqlQuery": { - "description": "The pql query used to query for products.", - "location": "query", - "type": "string" - } - }, - "path": "products/search", - "response": { - "$ref": "GetOffersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "proposals": { - "methods": { - "get": { - "description": "Get a proposal given its id", - "httpMethod": "GET", - "id": "adexchangebuyer.proposals.get", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "Id of the proposal to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}", - "response": { - "$ref": "Proposal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Create the given list of proposals", - "httpMethod": "POST", - "id": "adexchangebuyer.proposals.insert", - "path": "proposals/insert", - "request": { - "$ref": "CreateOrdersRequest" - }, - "response": { - "$ref": "CreateOrdersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Update the given proposal. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.proposals.patch", - "parameterOrder": [ - "proposalId", - "revisionNumber", - "updateAction" - ], - "parameters": { - "proposalId": { - "description": "The proposal id to update.", - "location": "path", - "required": true, - "type": "string" - }, - "revisionNumber": { - "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "updateAction": { - "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.", - "enum": [ - "accept", - "cancel", - "propose", - "proposeAndAccept", - "unknownAction", - "updateNonTerms" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}", - "request": { - "$ref": "Proposal" - }, - "response": { - "$ref": "Proposal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "search": { - "description": "Search for proposals using pql query", - "httpMethod": "GET", - "id": "adexchangebuyer.proposals.search", - "parameters": { - "pqlQuery": { - "description": "Query string to retrieve specific proposals.", - "location": "query", - "type": "string" - } - }, - "path": "proposals/search", - "response": { - "$ref": "GetOrdersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "setupcomplete": { - "description": "Update the given proposal to indicate that setup has been completed.", - "httpMethod": "POST", - "id": "adexchangebuyer.proposals.setupcomplete", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposal id for which the setup is complete", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/setupcomplete", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Update the given proposal", - "httpMethod": "PUT", - "id": "adexchangebuyer.proposals.update", - "parameterOrder": [ - "proposalId", - "revisionNumber", - "updateAction" - ], - "parameters": { - "proposalId": { - "description": "The proposal id to update.", - "location": "path", - "required": true, - "type": "string" - }, - "revisionNumber": { - "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "updateAction": { - "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.", - "enum": [ - "accept", - "cancel", - "propose", - "proposeAndAccept", - "unknownAction", - "updateNonTerms" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}", - "request": { - "$ref": "Proposal" - }, - "response": { - "$ref": "Proposal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "pubprofiles": { - "methods": { - "list": { - "description": "Gets the requested publisher profile(s) by publisher accountId.", - "httpMethod": "GET", - "id": "adexchangebuyer.pubprofiles.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The accountId of the publisher to get profiles for.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "publisher/{accountId}/profiles", - "response": { - "$ref": "GetPublisherProfilesByAccountIdResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - } - }, - "revision": "20210721", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "description": "Configuration data for an Ad Exchange buyer account.", - "id": "Account", - "properties": { - "applyPretargetingToNonGuaranteedDeals": { - "description": "When this is false, bid requests that include a deal ID for a private auction or preferred deal are always sent to your bidder. When true, all active pretargeting configs will be applied to private auctions and preferred deals. Programmatic Guaranteed deals (when enabled) are always sent to your bidder.", - "type": "boolean" - }, - "bidderLocation": { - "description": "Your bidder locations that have distinct URLs.", - "items": { - "properties": { - "bidProtocol": { - "description": "The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_2_5 \n- PROTOCOL_OPENRTB_PROTOBUF_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF_2_5", - "type": "string" - }, - "maximumQps": { - "description": "The maximum queries per second the Ad Exchange will send.", - "format": "int32", - "type": "integer" - }, - "region": { - "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", - "type": "string" - }, - "url": { - "description": "The URL to which the Ad Exchange will send bid requests.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "cookieMatchingNid": { - "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", - "type": "string" - }, - "cookieMatchingUrl": { - "description": "The base URL used in cookie match requests.", - "type": "string" - }, - "id": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "adexchangebuyer#account", - "description": "Resource type.", - "type": "string" - }, - "maximumActiveCreatives": { - "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "maximumTotalQps": { - "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "numberActiveCreatives": { - "description": "The number of creatives that this account inserted or bid with in the last 30 days.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AccountsList": { - "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", - "id": "AccountsList", - "properties": { - "items": { - "description": "A list of accounts.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#accountsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "AddOrderDealsRequest": { - "id": "AddOrderDealsRequest", - "properties": { - "deals": { - "description": "The list of deals to add", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The last known proposal revision number.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "Indicates an optional action to take on the proposal", - "type": "string" - } - }, - "type": "object" - }, - "AddOrderDealsResponse": { - "id": "AddOrderDealsResponse", - "properties": { - "deals": { - "description": "List of deals added (in the same proposal as passed in the request)", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The updated revision number for the proposal.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AddOrderNotesRequest": { - "id": "AddOrderNotesRequest", - "properties": { - "notes": { - "description": "The list of notes to add.", - "items": { - "$ref": "MarketplaceNote" - }, - "type": "array" - } - }, - "type": "object" - }, - "AddOrderNotesResponse": { - "id": "AddOrderNotesResponse", - "properties": { - "notes": { - "items": { - "$ref": "MarketplaceNote" - }, - "type": "array" - } - }, - "type": "object" - }, - "BillingInfo": { - "description": "The configuration data for an Ad Exchange billing info.", - "id": "BillingInfo", - "properties": { - "accountId": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "accountName": { - "description": "Account name.", - "type": "string" - }, - "billingId": { - "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfo", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "BillingInfoList": { - "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.", - "id": "BillingInfoList", - "properties": { - "items": { - "description": "A list of billing info relevant for your account.", - "items": { - "$ref": "BillingInfo" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfoList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Budget": { - "description": "The configuration data for Ad Exchange RTB - Budget API.", - "id": "Budget", - "properties": { - "accountId": { - "description": "The id of the account. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "billingId": { - "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "budgetAmount": { - "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.", - "format": "int64", - "type": "string" - }, - "currencyCode": { - "description": "The currency code for the buyer. This cannot be altered here.", - "type": "string" - }, - "id": { - "description": "The unique id that describes this item.", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#budget", - "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".", - "type": "string" - } - }, - "type": "object" - }, - "Buyer": { - "id": "Buyer", - "properties": { - "accountId": { - "description": "Adx account id of the buyer.", - "type": "string" - } - }, - "type": "object" - }, - "ContactInformation": { - "id": "ContactInformation", - "properties": { - "email": { - "description": "Email address of the contact.", - "type": "string" - }, - "name": { - "description": "The name of the contact.", - "type": "string" - } - }, - "type": "object" - }, - "CreateOrdersRequest": { - "id": "CreateOrdersRequest", - "properties": { - "proposals": { - "description": "The list of proposals to create.", - "items": { - "$ref": "Proposal" - }, - "type": "array" - }, - "webPropertyCode": { - "description": "Web property id of the seller creating these orders", - "type": "string" - } - }, - "type": "object" - }, - "CreateOrdersResponse": { - "id": "CreateOrdersResponse", - "properties": { - "proposals": { - "description": "The list of proposals successfully created.", - "items": { - "$ref": "Proposal" - }, - "type": "array" - } - }, - "type": "object" - }, - "Creative": { - "description": "A creative and its classification data.", - "id": "Creative", - "properties": { - "HTMLSnippet": { - "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.", - "type": "string" - }, - "accountId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "adChoicesDestinationUrl": { - "description": "The link to the Ad Preferences page. This is only supported for native ads.", - "type": "string" - }, - "adTechnologyProviders": { - "properties": { - "detectedProviderIds": { - "description": "The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "hasUnidentifiedProvider": { - "description": "Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "type": "boolean" - } - }, - "type": "object" - }, - "advertiserId": { - "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "advertiserName": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.", - "type": "string" - }, - "agencyId": { - "description": "The agency id for this creative.", - "format": "int64", - "type": "string" - }, - "apiUploadTimestamp": { - "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", - "format": "date-time", - "type": "string" - }, - "attribute": { - "description": "List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in buyer-declarable-creative-attributes.txt.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "buyerCreativeId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "A buyer-specific id identifying the creative in this ad.", - "type": "string" - }, - "clickThroughUrl": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The set of destination urls for the snippet.", - "items": { - "type": "string" - }, - "type": "array" - }, - "corrections": { - "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "contexts": { - "description": "All known serving contexts containing serving status information.", - "items": { - "properties": { - "auctionType": { - "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "contextType": { - "description": "The type of context (e.g., location, platform, auction type, SSL-ness).", - "type": "string" - }, - "geoCriteriaId": { - "description": "Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "platform": { - "description": "Only set when contextType=PLATFORM. Represents the platforms this correction applies to.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - }, - "details": { - "description": "Additional details about the correction.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The type of correction that was applied to the creative.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "creativeStatusIdentityType": { - "description": "Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.", - "type": "string" - }, - "dealsStatus": { - "description": "Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.", - "type": "string" - }, - "detectedDomains": { - "description": "Detected domains for this creative. Read-only. This field should not be set in requests.", - "items": { - "type": "string" - }, - "type": "array" - }, - "filteringReasons": { - "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", - "properties": { - "date": { - "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", - "type": "string" - }, - "reasons": { - "description": "The filtering reasons.", - "items": { - "properties": { - "filteringCount": { - "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", - "format": "int64", - "type": "string" - }, - "filteringStatus": { - "description": "The filtering status code as defined in creative-status-codes.txt.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "height": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad height.", - "format": "int32", - "type": "integer" - }, - "impressionTrackingUrl": { - "description": "The set of urls to be called to record an impression.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creative", - "description": "Resource type.", - "type": "string" - }, - "languages": { - "description": "Detected languages for this creative. Read-only. This field should not be set in requests.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nativeAd": { - "description": "If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)", - "properties": { - "advertiser": { - "type": "string" - }, - "appIcon": { - "description": "The app icon, for app download ads.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "body": { - "description": "A long description of the ad.", - "type": "string" - }, - "callToAction": { - "description": "A label for the button that the user is supposed to click.", - "type": "string" - }, - "clickLinkUrl": { - "description": "The URL that the browser/SDK will load when the user clicks the ad.", - "type": "string" - }, - "clickTrackingUrl": { - "description": "The URL to use for click tracking.", - "type": "string" - }, - "headline": { - "description": "A short title for the ad.", - "type": "string" - }, - "image": { - "description": "A large image.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "impressionTrackingUrl": { - "description": "The URLs are called when the impression is rendered.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logo": { - "description": "A smaller image, for the advertiser logo.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "price": { - "description": "The price of the promoted app including the currency info.", - "type": "string" - }, - "starRating": { - "description": "The app rating in the app store. Must be in the range [0-5].", - "format": "double", - "type": "number" - }, - "videoURL": { - "description": "The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.", - "type": "string" - } - }, - "type": "object" - }, - "openAuctionStatus": { - "description": "Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.", - "type": "string" - }, - "productCategories": { - "description": "Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "restrictedCategories": { - "description": "All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the ad-restricted-categories.txt.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "sensitiveCategories": { - "description": "Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "servingRestrictions": { - "description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.", - "items": { - "properties": { - "contexts": { - "description": "All known contexts/restrictions.", - "items": { - "properties": { - "auctionType": { - "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "contextType": { - "description": "The type of context (e.g., location, platform, auction type, SSL-ness).", - "type": "string" - }, - "geoCriteriaId": { - "description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "platform": { - "description": "Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - }, - "disapprovalReasons": { - "description": "The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.", - "items": { - "properties": { - "details": { - "description": "Additional details about the reason for disapproval.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The categorized reason for disapproval.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "reason": { - "description": "Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "vendorType": { - "description": "List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "version": { - "description": "The version for this creative. Read-only. This field should not be set in requests.", - "format": "int32", - "type": "integer" - }, - "videoURL": { - "description": "The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.", - "type": "string" - }, - "videoVastXML": { - "description": "The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.", - "type": "string" - }, - "width": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad width.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativeDealIds": { - "description": "The external deal ids associated with a creative.", - "id": "CreativeDealIds", - "properties": { - "dealStatuses": { - "description": "A list of external deal ids and ARC approval status.", - "items": { - "properties": { - "arcStatus": { - "description": "ARC approval status.", - "type": "string" - }, - "dealId": { - "description": "External deal ID.", - "format": "int64", - "type": "string" - }, - "webPropertyId": { - "description": "Publisher ID.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativeDealIds", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "CreativesList": { - "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", - "id": "CreativesList", - "properties": { - "items": { - "description": "A list of creatives.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativesList", - "description": "Resource type.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "DealServingMetadata": { - "id": "DealServingMetadata", - "properties": { - "alcoholAdsAllowed": { - "description": "True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals", - "type": "boolean" - }, - "dealPauseStatus": { - "$ref": "DealServingMetadataDealPauseStatus", - "description": "Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action)" - } - }, - "type": "object" - }, - "DealServingMetadataDealPauseStatus": { - "description": "Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.", - "id": "DealServingMetadataDealPauseStatus", - "properties": { - "buyerPauseReason": { - "type": "string" - }, - "firstPausedBy": { - "description": "If the deal is paused, records which party paused the deal first.", - "type": "string" - }, - "hasBuyerPaused": { - "type": "boolean" - }, - "hasSellerPaused": { - "type": "boolean" - }, - "sellerPauseReason": { - "type": "string" - } - }, - "type": "object" - }, - "DealTerms": { - "id": "DealTerms", - "properties": { - "brandingType": { - "description": "Visibility of the URL in bid requests.", - "type": "string" - }, - "crossListedExternalDealIdType": { - "description": "Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals. Currently, the only case that the same ExternalDealId will exist is programmatic cross sell case.", - "type": "string" - }, - "description": { - "description": "Description for the proposed terms of the deal.", - "type": "string" - }, - "estimatedGrossSpend": { - "$ref": "Price", - "description": "Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller." - }, - "estimatedImpressionsPerDay": { - "description": "Non-binding estimate of the impressions served per day Can be set by buyer or seller.", - "format": "int64", - "type": "string" - }, - "guaranteedFixedPriceTerms": { - "$ref": "DealTermsGuaranteedFixedPriceTerms", - "description": "The terms for guaranteed fixed price deals." - }, - "nonGuaranteedAuctionTerms": { - "$ref": "DealTermsNonGuaranteedAuctionTerms", - "description": "The terms for non-guaranteed auction deals." - }, - "nonGuaranteedFixedPriceTerms": { - "$ref": "DealTermsNonGuaranteedFixedPriceTerms", - "description": "The terms for non-guaranteed fixed price deals." - }, - "rubiconNonGuaranteedTerms": { - "$ref": "DealTermsRubiconNonGuaranteedTerms", - "description": "The terms for rubicon non-guaranteed deals." - }, - "sellerTimeZone": { - "description": "For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly)", - "type": "string" - } - }, - "type": "object" - }, - "DealTermsGuaranteedFixedPriceTerms": { - "id": "DealTermsGuaranteedFixedPriceTerms", - "properties": { - "billingInfo": { - "$ref": "DealTermsGuaranteedFixedPriceTermsBillingInfo", - "description": "External billing info for this Deal. This field is relevant when external billing info such as price has a different currency code than DFP/AdX." - }, - "fixedPrices": { - "description": "Fixed price for the specified buyer.", - "items": { - "$ref": "PricePerBuyer" - }, - "type": "array" - }, - "guaranteedImpressions": { - "description": "Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.", - "format": "int64", - "type": "string" - }, - "guaranteedLooks": { - "description": "Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored.", - "format": "int64", - "type": "string" - }, - "minimumDailyLooks": { - "description": "Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DealTermsGuaranteedFixedPriceTermsBillingInfo": { - "id": "DealTermsGuaranteedFixedPriceTermsBillingInfo", - "properties": { - "currencyConversionTimeMs": { - "description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into buyer's currency without discrepancy.", - "format": "int64", - "type": "string" - }, - "dfpLineItemId": { - "description": "The DFP line item id associated with this deal. For features like CPD, buyers can retrieve the DFP line item for billing reconciliation.", - "format": "int64", - "type": "string" - }, - "originalContractedQuantity": { - "description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity.", - "format": "int64", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "The original reservation price for the deal, if the currency code is different from the one used in negotiation." - } - }, - "type": "object" - }, - "DealTermsNonGuaranteedAuctionTerms": { - "id": "DealTermsNonGuaranteedAuctionTerms", - "properties": { - "autoOptimizePrivateAuction": { - "description": "True if open auction buyers are allowed to compete with invited buyers in this private auction (buyer-readonly).", - "type": "boolean" - }, - "reservePricePerBuyers": { - "description": "Reserve price for the specified buyer.", - "items": { - "$ref": "PricePerBuyer" - }, - "type": "array" - } - }, - "type": "object" - }, - "DealTermsNonGuaranteedFixedPriceTerms": { - "id": "DealTermsNonGuaranteedFixedPriceTerms", - "properties": { - "fixedPrices": { - "description": "Fixed price for the specified buyer.", - "items": { - "$ref": "PricePerBuyer" - }, - "type": "array" - } - }, - "type": "object" - }, - "DealTermsRubiconNonGuaranteedTerms": { - "id": "DealTermsRubiconNonGuaranteedTerms", - "properties": { - "priorityPrice": { - "$ref": "Price", - "description": "Optional price for Rubicon priority access in the auction." - }, - "standardPrice": { - "$ref": "Price", - "description": "Optional price for Rubicon standard access in the auction." - } - }, - "type": "object" - }, - "DeleteOrderDealsRequest": { - "id": "DeleteOrderDealsRequest", - "properties": { - "dealIds": { - "description": "List of deals to delete for a given proposal", - "items": { - "type": "string" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The last known proposal revision number.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "Indicates an optional action to take on the proposal", - "type": "string" - } - }, - "type": "object" - }, - "DeleteOrderDealsResponse": { - "id": "DeleteOrderDealsResponse", - "properties": { - "deals": { - "description": "List of deals deleted (in the same proposal as passed in the request)", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The updated revision number for the proposal.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DeliveryControl": { - "id": "DeliveryControl", - "properties": { - "creativeBlockingLevel": { - "type": "string" - }, - "deliveryRateType": { - "type": "string" - }, - "frequencyCaps": { - "items": { - "$ref": "DeliveryControlFrequencyCap" - }, - "type": "array" - } - }, - "type": "object" - }, - "DeliveryControlFrequencyCap": { - "id": "DeliveryControlFrequencyCap", - "properties": { - "maxImpressions": { - "format": "int32", - "type": "integer" - }, - "numTimeUnits": { - "format": "int32", - "type": "integer" - }, - "timeUnitType": { - "type": "string" - } - }, - "type": "object" - }, - "Dimension": { - "description": "This message carries publisher provided breakdown. E.g. {dimension_type: 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}", - "id": "Dimension", - "properties": { - "dimensionType": { - "type": "string" - }, - "dimensionValues": { - "items": { - "$ref": "DimensionDimensionValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "DimensionDimensionValue": { - "description": "Value of the dimension.", - "id": "DimensionDimensionValue", - "properties": { - "id": { - "description": "Id of the dimension.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.", - "type": "string" - }, - "percentage": { - "description": "Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender MALE is 60% of all impressions which have gender.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EditAllOrderDealsRequest": { - "id": "EditAllOrderDealsRequest", - "properties": { - "deals": { - "description": "List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposal": { - "$ref": "Proposal", - "description": "If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction." - }, - "proposalRevisionNumber": { - "description": "The last known revision number for the proposal.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "Indicates an optional action to take on the proposal", - "type": "string" - } - }, - "type": "object" - }, - "EditAllOrderDealsResponse": { - "id": "EditAllOrderDealsResponse", - "properties": { - "deals": { - "description": "List of all deals in the proposal after edit.", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "orderRevisionNumber": { - "description": "The latest revision number after the update has been applied.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GetOffersResponse": { - "id": "GetOffersResponse", - "properties": { - "products": { - "description": "The returned list of products.", - "items": { - "$ref": "Product" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetOrderDealsResponse": { - "id": "GetOrderDealsResponse", - "properties": { - "deals": { - "description": "List of deals for the proposal", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetOrderNotesResponse": { - "id": "GetOrderNotesResponse", - "properties": { - "notes": { - "description": "The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by proposal, with the notes for the most recently modified proposal appearing first.", - "items": { - "$ref": "MarketplaceNote" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetOrdersResponse": { - "id": "GetOrdersResponse", - "properties": { - "proposals": { - "description": "The list of matching proposals.", - "items": { - "$ref": "Proposal" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetPublisherProfilesByAccountIdResponse": { - "id": "GetPublisherProfilesByAccountIdResponse", - "properties": { - "profiles": { - "description": "Profiles for the requested publisher", - "items": { - "$ref": "PublisherProfileApiProto" - }, - "type": "array" - } - }, - "type": "object" - }, - "MarketplaceDeal": { - "description": "A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.", - "id": "MarketplaceDeal", - "properties": { - "buyerPrivateData": { - "$ref": "PrivateData", - "description": "Buyer private data (hidden from seller)." - }, - "creationTimeMs": { - "description": "The time (ms since epoch) of the deal creation. (readonly)", - "format": "int64", - "type": "string" - }, - "creativePreApprovalPolicy": { - "description": "Specifies the creative pre-approval policy (buyer-readonly)", - "type": "string" - }, - "creativeSafeFrameCompatibility": { - "description": "Specifies whether the creative is safeFrame compatible (buyer-readonly)", - "type": "string" - }, - "dealId": { - "description": "A unique deal-id for the deal (readonly).", - "type": "string" - }, - "dealServingMetadata": { - "$ref": "DealServingMetadata", - "description": "Metadata about the serving status of this deal (readonly, writes via custom actions)" - }, - "deliveryControl": { - "$ref": "DeliveryControl", - "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension." - }, - "externalDealId": { - "description": "The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)", - "type": "string" - }, - "flightEndTimeMs": { - "description": "Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)", - "format": "int64", - "type": "string" - }, - "flightStartTimeMs": { - "description": "Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)", - "format": "int64", - "type": "string" - }, - "inventoryDescription": { - "description": "Description for the deal terms. (buyer-readonly)", - "type": "string" - }, - "isRfpTemplate": { - "description": "Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products.", - "type": "boolean" - }, - "isSetupComplete": { - "description": "True, if the buyside inventory setup is complete for this deal. (readonly, except via OrderSetupCompleted action)", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#marketplaceDeal", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".", - "type": "string" - }, - "lastUpdateTimeMs": { - "description": "The time (ms since epoch) when the deal was last updated. (readonly)", - "format": "int64", - "type": "string" - }, - "makegoodRequestedReason": { - "type": "string" - }, - "name": { - "description": "The name of the deal. (updatable)", - "type": "string" - }, - "productId": { - "description": "The product-id from which this deal was created. (readonly, except on create)", - "type": "string" - }, - "productRevisionNumber": { - "description": "The revision number of the product that the deal was created from (readonly, except on create)", - "format": "int64", - "type": "string" - }, - "programmaticCreativeSource": { - "description": "Specifies the creative source for programmatic deals, PUBLISHER means creative is provided by seller and ADVERTISR means creative is provided by buyer. (buyer-readonly)", - "type": "string" - }, - "proposalId": { - "type": "string" - }, - "sellerContacts": { - "description": "Optional Seller contact information for the deal (buyer-readonly)", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - }, - "sharedTargetings": { - "description": "The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together. (updatable)", - "items": { - "$ref": "SharedTargeting" - }, - "type": "array" - }, - "syndicationProduct": { - "description": "The syndication product associated with the deal. (readonly, except on create)", - "type": "string" - }, - "terms": { - "$ref": "DealTerms", - "description": "The negotiable terms of the deal. (updatable)" - }, - "webPropertyCode": { - "type": "string" - } - }, - "type": "object" - }, - "MarketplaceDealParty": { - "id": "MarketplaceDealParty", - "properties": { - "buyer": { - "$ref": "Buyer", - "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party." - }, - "seller": { - "$ref": "Seller", - "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party." - } - }, - "type": "object" - }, - "MarketplaceLabel": { - "id": "MarketplaceLabel", - "properties": { - "accountId": { - "description": "The accountId of the party that created the label.", - "type": "string" - }, - "createTimeMs": { - "description": "The creation time (in ms since epoch) for the label.", - "format": "int64", - "type": "string" - }, - "deprecatedMarketplaceDealParty": { - "$ref": "MarketplaceDealParty", - "description": "Information about the party that created the label." - }, - "label": { - "description": "The label to use.", - "type": "string" - } - }, - "type": "object" - }, - "MarketplaceNote": { - "description": "A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.", - "id": "MarketplaceNote", - "properties": { - "creatorRole": { - "description": "The role of the person (buyer/seller) creating the note. (readonly)", - "type": "string" - }, - "dealId": { - "description": "Notes can optionally be associated with a deal. (readonly, except on create)", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#marketplaceNote", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceNote\".", - "type": "string" - }, - "note": { - "description": "The actual note to attach. (readonly, except on create)", - "type": "string" - }, - "noteId": { - "description": "The unique id for the note. (readonly)", - "type": "string" - }, - "proposalId": { - "description": "The proposalId that a note is attached to. (readonly)", - "type": "string" - }, - "proposalRevisionNumber": { - "description": "If the note is associated with a proposal revision number, then store that here. (readonly, except on create)", - "format": "int64", - "type": "string" - }, - "timestampMs": { - "description": "The timestamp (ms since epoch) that this note was created. (readonly)", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "MobileApplication": { - "id": "MobileApplication", - "properties": { - "appStore": { - "type": "string" - }, - "externalAppId": { - "type": "string" - } - }, - "type": "object" - }, - "PerformanceReport": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReport", - "properties": { - "bidRate": { - "description": "The number of bid responses with an ad.", - "format": "double", - "type": "number" - }, - "bidRequestRate": { - "description": "The number of bid requests sent to your bidder.", - "format": "double", - "type": "number" - }, - "calloutStatusRate": { - "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "cookieMatcherStatusRate": { - "description": "Average QPS for cookie matcher operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "creativeStatusRate": { - "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "filteredBidRate": { - "description": "The number of bid responses that were filtered due to a policy violation or other errors.", - "format": "double", - "type": "number" - }, - "hostedMatchStatusRate": { - "description": "Average QPS for hosted match operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "inventoryMatchRate": { - "description": "The number of potential queries based on your pretargeting settings.", - "format": "double", - "type": "number" - }, - "kind": { - "default": "adexchangebuyer#performanceReport", - "description": "Resource type.", - "type": "string" - }, - "latency50thPercentile": { - "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency85thPercentile": { - "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency95thPercentile": { - "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "noQuotaInRegion": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "outOfQuota": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "pixelMatchRequests": { - "description": "Average QPS for pixel match requests from clients.", - "format": "double", - "type": "number" - }, - "pixelMatchResponses": { - "description": "Average QPS for pixel match responses from clients.", - "format": "double", - "type": "number" - }, - "quotaConfiguredLimit": { - "description": "The configured quota limits for this account.", - "format": "double", - "type": "number" - }, - "quotaThrottledLimit": { - "description": "The throttled quota limits for this account.", - "format": "double", - "type": "number" - }, - "region": { - "description": "The trading location of this data.", - "type": "string" - }, - "successfulRequestRate": { - "description": "The number of properly formed bid responses received by our servers within the deadline.", - "format": "double", - "type": "number" - }, - "timestamp": { - "description": "The unix timestamp of the starting time of this performance data.", - "format": "int64", - "type": "string" - }, - "unsuccessfulRequestRate": { - "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "PerformanceReportList": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReportList", - "properties": { - "kind": { - "default": "adexchangebuyer#performanceReportList", - "description": "Resource type.", - "type": "string" - }, - "performanceReport": { - "description": "A list of performance reports relevant for the account.", - "items": { - "$ref": "PerformanceReport" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfig": { - "id": "PretargetingConfig", - "properties": { - "billingId": { - "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.", - "format": "int64", - "type": "string" - }, - "configId": { - "description": "The config id; generated automatically. Leave this field blank for insert requests.", - "format": "int64", - "type": "string" - }, - "configName": { - "description": "The name of the config. Must be unique. Required for all requests.", - "type": "string" - }, - "creativeType": { - "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dimensions": { - "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.", - "items": { - "properties": { - "height": { - "description": "Height in pixels.", - "format": "int64", - "type": "string" - }, - "width": { - "description": "Width in pixels.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedContentLabels": { - "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedGeoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedPlacements": { - "description": "Requests containing any of these placements will not match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedUserLists": { - "description": "Requests containing any of these users list ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedVerticals": { - "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "geoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "isActive": { - "description": "Whether this config is active. Required for all requests.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfig", - "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".", - "type": "string" - }, - "languages": { - "description": "Request containing any of these language codes will match.", - "items": { - "type": "string" - }, - "type": "array" - }, - "maximumQps": { - "description": "The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).", - "format": "int64", - "type": "string" - }, - "minimumViewabilityDecile": { - "description": "Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.", - "format": "int32", - "type": "integer" - }, - "mobileCarriers": { - "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileDevices": { - "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileOperatingSystemVersions": { - "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "placements": { - "description": "Requests containing any of these placements will match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "platforms": { - "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.", - "items": { - "type": "string" - }, - "type": "array" - }, - "supportedCreativeAttributes": { - "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "userIdentifierDataRequired": { - "description": "Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "userLists": { - "description": "Requests containing any of these user list ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "vendorTypes": { - "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "verticals": { - "description": "Requests containing any of these vertical ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "videoPlayerSizes": { - "description": "Video requests satisfying any of these player size constraints will match.", - "items": { - "properties": { - "aspectRatio": { - "description": "The type of aspect ratio. Leave this field blank to match all aspect ratios.", - "type": "string" - }, - "minHeight": { - "description": "The minimum player height in pixels. Leave this field blank to match any player height.", - "format": "int64", - "type": "string" - }, - "minWidth": { - "description": "The minimum player width in pixels. Leave this field blank to match any player width.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfigList": { - "id": "PretargetingConfigList", - "properties": { - "items": { - "description": "A list of pretargeting configs", - "items": { - "$ref": "PretargetingConfig" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfigList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Price": { - "id": "Price", - "properties": { - "amountMicros": { - "description": "The price value in micros.", - "format": "double", - "type": "number" - }, - "currencyCode": { - "description": "The currency code for the price.", - "type": "string" - }, - "expectedCpmMicros": { - "description": "In case of CPD deals, the expected CPM in micros.", - "format": "double", - "type": "number" - }, - "pricingType": { - "description": "The pricing type for the deal/product.", - "type": "string" - } - }, - "type": "object" - }, - "PricePerBuyer": { - "description": "Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.", - "id": "PricePerBuyer", - "properties": { - "auctionTier": { - "description": "Optional access type for this buyer.", - "type": "string" - }, - "billedBuyer": { - "$ref": "Buyer", - "description": "Reference to the buyer that will get billed." - }, - "buyer": { - "$ref": "Buyer", - "description": "The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer)." - }, - "price": { - "$ref": "Price", - "description": "The specified price" - } - }, - "type": "object" - }, - "PrivateData": { - "id": "PrivateData", - "properties": { - "referenceId": { - "type": "string" - }, - "referencePayload": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "Product": { - "description": "A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.", - "id": "Product", - "properties": { - "billedBuyer": { - "$ref": "Buyer", - "description": "The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)" - }, - "buyer": { - "$ref": "Buyer", - "description": "The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)" - }, - "creationTimeMs": { - "description": "Creation time in ms. since epoch (readonly)", - "format": "int64", - "type": "string" - }, - "creatorContacts": { - "description": "Optional contact information for the creator of this product. (buyer-readonly)", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - }, - "creatorRole": { - "description": "The role that created the offer. Set to BUYER for buyer initiated offers.", - "type": "string" - }, - "deliveryControl": { - "$ref": "DeliveryControl", - "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension." - }, - "flightEndTimeMs": { - "description": "The proposed end time for the deal (ms since epoch) (buyer-readonly)", - "format": "int64", - "type": "string" - }, - "flightStartTimeMs": { - "description": "Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)", - "format": "int64", - "type": "string" - }, - "hasCreatorSignedOff": { - "description": "If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.", - "type": "boolean" - }, - "inventorySource": { - "description": "What exchange will provide this inventory (readonly, except on create).", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#product", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#product\".", - "type": "string" - }, - "labels": { - "description": "Optional List of labels for the product (optional, buyer-readonly).", - "items": { - "$ref": "MarketplaceLabel" - }, - "type": "array" - }, - "lastUpdateTimeMs": { - "description": "Time of last update in ms. since epoch (readonly)", - "format": "int64", - "type": "string" - }, - "legacyOfferId": { - "description": "Optional legacy offer id if this offer is a preferred deal offer.", - "type": "string" - }, - "marketplacePublisherProfileId": { - "description": "Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself.", - "type": "string" - }, - "name": { - "description": "The name for this product as set by the seller. (buyer-readonly)", - "type": "string" - }, - "privateAuctionId": { - "description": "Optional private auction id if this offer is a private auction offer.", - "type": "string" - }, - "productId": { - "description": "The unique id for the product (readonly)", - "type": "string" - }, - "publisherProfileId": { - "description": "Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller.", - "type": "string" - }, - "publisherProvidedForecast": { - "$ref": "PublisherProvidedForecast", - "description": "Publisher self-provided forecast information." - }, - "revisionNumber": { - "description": "The revision number of the product. (readonly)", - "format": "int64", - "type": "string" - }, - "seller": { - "$ref": "Seller", - "description": "Information about the seller that created this product (readonly, except on create)" - }, - "sharedTargetings": { - "description": "Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)", - "items": { - "$ref": "SharedTargeting" - }, - "type": "array" - }, - "state": { - "description": "The state of the product. (buyer-readonly)", - "type": "string" - }, - "syndicationProduct": { - "description": "The syndication product associated with the deal. (readonly, except on create)", - "type": "string" - }, - "terms": { - "$ref": "DealTerms", - "description": "The negotiable terms of the deal (buyer-readonly)" - }, - "webPropertyCode": { - "description": "The web property code for the seller. This field is meant to be copied over as is when creating deals.", - "type": "string" - } - }, - "type": "object" - }, - "Proposal": { - "description": "Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.", - "id": "Proposal", - "properties": { - "billedBuyer": { - "$ref": "Buyer", - "description": "Reference to the buyer that will get billed for this proposal. (readonly)" - }, - "buyer": { - "$ref": "Buyer", - "description": "Reference to the buyer on the proposal. (readonly, except on create)" - }, - "buyerContacts": { - "description": "Optional contact information of the buyer. (seller-readonly)", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - }, - "buyerPrivateData": { - "$ref": "PrivateData", - "description": "Private data for buyer. (hidden from seller)." - }, - "dbmAdvertiserIds": { - "description": "IDs of DBM advertisers permission to this proposal.", - "items": { - "type": "string" - }, - "type": "array" - }, - "hasBuyerSignedOff": { - "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)", - "type": "boolean" - }, - "hasSellerSignedOff": { - "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)", - "type": "boolean" - }, - "inventorySource": { - "description": "What exchange will provide this inventory (readonly, except on create).", - "type": "string" - }, - "isRenegotiating": { - "description": "True if the proposal is being renegotiated (readonly).", - "type": "boolean" - }, - "isSetupComplete": { - "description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#proposal", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#proposal\".", - "type": "string" - }, - "labels": { - "description": "List of labels associated with the proposal. (readonly)", - "items": { - "$ref": "MarketplaceLabel" - }, - "type": "array" - }, - "lastUpdaterOrCommentorRole": { - "description": "The role of the last user that either updated the proposal or left a comment. (readonly)", - "type": "string" - }, - "name": { - "description": "The name for the proposal (updatable)", - "type": "string" - }, - "negotiationId": { - "description": "Optional negotiation id if this proposal is a preferred deal proposal.", - "type": "string" - }, - "originatorRole": { - "description": "Indicates whether the buyer/seller created the proposal.(readonly)", - "type": "string" - }, - "privateAuctionId": { - "description": "Optional private auction id if this proposal is a private auction proposal.", - "type": "string" - }, - "proposalId": { - "description": "The unique id of the proposal. (readonly).", - "type": "string" - }, - "proposalState": { - "description": "The current state of the proposal. (readonly)", - "type": "string" - }, - "revisionNumber": { - "description": "The revision number for the proposal (readonly).", - "format": "int64", - "type": "string" - }, - "revisionTimeMs": { - "description": "The time (ms since epoch) when the proposal was last revised (readonly).", - "format": "int64", - "type": "string" - }, - "seller": { - "$ref": "Seller", - "description": "Reference to the seller on the proposal. (readonly, except on create)" - }, - "sellerContacts": { - "description": "Optional contact information of the seller (buyer-readonly).", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - } - }, - "type": "object" - }, - "PublisherProfileApiProto": { - "id": "PublisherProfileApiProto", - "properties": { - "audience": { - "description": "Publisher provided info on its audience.", - "type": "string" - }, - "buyerPitchStatement": { - "description": "A pitch statement for the buyer", - "type": "string" - }, - "directContact": { - "description": "Direct contact for the publisher profile.", - "type": "string" - }, - "exchange": { - "description": "Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...", - "type": "string" - }, - "forecastInventory": { - "type": "string" - }, - "googlePlusLink": { - "description": "Link to publisher's Google+ page.", - "type": "string" - }, - "isParent": { - "description": "True, if this is the parent profile, which represents all domains owned by the publisher.", - "type": "boolean" - }, - "isPublished": { - "description": "True, if this profile is published. Deprecated for state.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#publisherProfileApiProto", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#publisherProfileApiProto\".", - "type": "string" - }, - "logoUrl": { - "description": "The url to the logo for the publisher.", - "type": "string" - }, - "mediaKitLink": { - "description": "The url for additional marketing and sales materials.", - "type": "string" - }, - "name": { - "type": "string" - }, - "overview": { - "description": "Publisher provided overview.", - "type": "string" - }, - "profileId": { - "description": "The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher.", - "format": "int32", - "type": "integer" - }, - "programmaticContact": { - "description": "Programmatic contact for the publisher profile.", - "type": "string" - }, - "publisherAppIds": { - "description": "The list of app IDs represented in this publisher profile. Empty if this is a parent profile. Deprecated in favor of publisher_app.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "publisherApps": { - "description": "The list of apps represented in this publisher profile. Empty if this is a parent profile.", - "items": { - "$ref": "MobileApplication" - }, - "type": "array" - }, - "publisherDomains": { - "description": "The list of domains represented in this publisher profile. Empty if this is a parent profile.", - "items": { - "type": "string" - }, - "type": "array" - }, - "publisherProfileId": { - "description": "Unique Id for publisher profile.", - "type": "string" - }, - "publisherProvidedForecast": { - "$ref": "PublisherProvidedForecast", - "description": "Publisher provided forecasting information." - }, - "rateCardInfoLink": { - "description": "Link to publisher rate card", - "type": "string" - }, - "samplePageLink": { - "description": "Link for a sample content page.", - "type": "string" - }, - "seller": { - "$ref": "Seller", - "description": "Seller of the publisher profile." - }, - "state": { - "description": "State of the publisher profile.", - "type": "string" - }, - "topHeadlines": { - "description": "Publisher provided key metrics and rankings.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PublisherProvidedForecast": { - "description": "This message carries publisher provided forecasting information.", - "id": "PublisherProvidedForecast", - "properties": { - "dimensions": { - "description": "Publisher provided dimensions. E.g. geo, sizes etc...", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "weeklyImpressions": { - "description": "Publisher provided weekly impressions.", - "format": "int64", - "type": "string" - }, - "weeklyUniques": { - "description": "Publisher provided weekly uniques.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Seller": { - "id": "Seller", - "properties": { - "accountId": { - "description": "The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product.", - "type": "string" - }, - "subAccountId": { - "description": "Optional sub-account id for the seller.", - "type": "string" - } - }, - "type": "object" - }, - "SharedTargeting": { - "id": "SharedTargeting", - "properties": { - "exclusions": { - "description": "The list of values to exclude from targeting. Each value is AND'd together.", - "items": { - "$ref": "TargetingValue" - }, - "type": "array" - }, - "inclusions": { - "description": "The list of value to include as part of the targeting. Each value is OR'd together.", - "items": { - "$ref": "TargetingValue" - }, - "type": "array" - }, - "key": { - "description": "The key representing the shared targeting criterion.", - "type": "string" - } - }, - "type": "object" - }, - "TargetingValue": { - "id": "TargetingValue", - "properties": { - "creativeSizeValue": { - "$ref": "TargetingValueCreativeSize", - "description": "The creative size value to exclude/include." - }, - "dayPartTargetingValue": { - "$ref": "TargetingValueDayPartTargeting", - "description": "The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING." - }, - "demogAgeCriteriaValue": { - "$ref": "TargetingValueDemogAgeCriteria" - }, - "demogGenderCriteriaValue": { - "$ref": "TargetingValueDemogGenderCriteria" - }, - "longValue": { - "description": "The long value to exclude/include.", - "format": "int64", - "type": "string" - }, - "requestPlatformTargetingValue": { - "$ref": "TargetingValueRequestPlatformTargeting" - }, - "stringValue": { - "description": "The string value to exclude/include.", - "type": "string" - } - }, - "type": "object" - }, - "TargetingValueCreativeSize": { - "description": "Next Id: 7", - "id": "TargetingValueCreativeSize", - "properties": { - "allowedFormats": { - "description": "The formats allowed by the publisher.", - "items": { - "type": "string" - }, - "type": "array" - }, - "companionSizes": { - "description": "For video size type, the list of companion sizes.", - "items": { - "$ref": "TargetingValueSize" - }, - "type": "array" - }, - "creativeSizeType": { - "description": "The Creative size type.", - "type": "string" - }, - "nativeTemplate": { - "description": "The native template for native ad.", - "type": "string" - }, - "size": { - "$ref": "TargetingValueSize", - "description": "For regular or video creative size type, specifies the size of the creative." - }, - "skippableAdType": { - "description": "The skippable ad type for video size.", - "type": "string" - } - }, - "type": "object" - }, - "TargetingValueDayPartTargeting": { - "id": "TargetingValueDayPartTargeting", - "properties": { - "dayParts": { - "items": { - "$ref": "TargetingValueDayPartTargetingDayPart" - }, - "type": "array" - }, - "timeZoneType": { - "type": "string" - } - }, - "type": "object" - }, - "TargetingValueDayPartTargetingDayPart": { - "id": "TargetingValueDayPartTargetingDayPart", - "properties": { - "dayOfWeek": { - "type": "string" - }, - "endHour": { - "format": "int32", - "type": "integer" - }, - "endMinute": { - "format": "int32", - "type": "integer" - }, - "startHour": { - "format": "int32", - "type": "integer" - }, - "startMinute": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TargetingValueDemogAgeCriteria": { - "id": "TargetingValueDemogAgeCriteria", - "properties": { - "demogAgeCriteriaIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingValueDemogGenderCriteria": { - "id": "TargetingValueDemogGenderCriteria", - "properties": { - "demogGenderCriteriaIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingValueRequestPlatformTargeting": { - "id": "TargetingValueRequestPlatformTargeting", - "properties": { - "requestPlatforms": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingValueSize": { - "id": "TargetingValueSize", - "properties": { - "height": { - "description": "The height of the creative.", - "format": "int32", - "type": "integer" - }, - "width": { - "description": "The width of the creative.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "UpdatePrivateAuctionProposalRequest": { - "id": "UpdatePrivateAuctionProposalRequest", - "properties": { - "externalDealId": { - "description": "The externalDealId of the deal to be updated.", - "type": "string" - }, - "note": { - "$ref": "MarketplaceNote", - "description": "Optional note to be added." - }, - "proposalRevisionNumber": { - "description": "The current revision number of the proposal to be updated.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "The proposed action on the private auction proposal.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adexchangebuyer/v1.4/", - "title": "Ad Exchange Buyer API", - "version": "v1.4" -} \ No newline at end of file diff --git a/discovery/googleapis/adexperiencereport__v1.json b/discovery/googleapis/adexperiencereport__v1.json index fc8285c47..891620a73 100644 --- a/discovery/googleapis/adexperiencereport__v1.json +++ b/discovery/googleapis/adexperiencereport__v1.json @@ -137,7 +137,7 @@ } } }, - "revision": "20210712", + "revision": "20210822", "rootUrl": "https://adexperiencereport.googleapis.com/", "schemas": { "PlatformSummary": { diff --git a/discovery/googleapis/admin__datatransfer_v1.json b/discovery/googleapis/admin__datatransfer_v1.json index 51fc710ec..df54a5fd2 100644 --- a/discovery/googleapis/admin__datatransfer_v1.json +++ b/discovery/googleapis/admin__datatransfer_v1.json @@ -270,7 +270,7 @@ } } }, - "revision": "20210720", + "revision": "20210827", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Application": { diff --git a/discovery/googleapis/admin__directory_v1.json b/discovery/googleapis/admin__directory_v1.json index 7ea2d8096..542434550 100644 --- a/discovery/googleapis/admin__directory_v1.json +++ b/discovery/googleapis/admin__directory_v1.json @@ -87,7 +87,7 @@ "description": "View user schemas on your domain" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -4395,7 +4395,7 @@ } } }, - "revision": "20210720", + "revision": "20210827", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { diff --git a/discovery/googleapis/admin__reports_v1.json b/discovery/googleapis/admin__reports_v1.json index 8ee750465..2bfd27309 100644 --- a/discovery/googleapis/admin__reports_v1.json +++ b/discovery/googleapis/admin__reports_v1.json @@ -168,7 +168,7 @@ "The Token application's activity reports return account information about different types of Token activity events.", "The User Accounts application's activity reports return account information about different types of User Accounts activity events.", "The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.", - "The Chrome activity reports return information about unsafe events reported in the context of the WebProtect features of BeyondCorp.", + "The Chrome activity reports return information about Chrome browser and Chrome OS events.", "The Data Studio activity reports return information about various types of Data Studio activity events.", "The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers." ], @@ -307,7 +307,7 @@ "The Token application's activity reports return account information about different types of Token activity events.", "The User Accounts application's activity reports return account information about different types of User Accounts activity events.", "The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.", - "The Chrome activity reports return information about unsafe events reported in the context of the WebProtect features of BeyondCorp.", + "The Chrome activity reports return information about Chrome browser and Chrome OS events.", "The Data Studio activity reports return information about various types of Data Studio activity events.", "The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers." ], @@ -629,7 +629,7 @@ } } }, - "revision": "20210720", + "revision": "20210827", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": { diff --git a/discovery/googleapis/admob__v1.json b/discovery/googleapis/admob__v1.json index 1af2c322b..cebe420b2 100644 --- a/discovery/googleapis/admob__v1.json +++ b/discovery/googleapis/admob__v1.json @@ -313,7 +313,7 @@ } } }, - "revision": "20210722", + "revision": "20210902", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdUnit": { @@ -622,7 +622,7 @@ "Mobile operating system version, e.g. \"iOS 13.5.1\". **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", "GMA SDK version, e.g. \"iOS 7.62.0\". **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", "For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString. **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", - "Restriction mode for ads serving (e.g. \"Non-personalized ads\")." + "Restriction mode for ads serving (e.g. \"Non-personalized ads\"). **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) metric." ], "type": "string" }, @@ -720,7 +720,7 @@ "Mobile operating system version, e.g. \"iOS 13.5.1\". **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", "GMA SDK version, e.g. \"iOS 7.62.0\". **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", "For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString. **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", - "Restriction mode for ads serving (e.g. \"Non-personalized ads\")." + "Restriction mode for ads serving (e.g. \"Non-personalized ads\"). **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) metric." ], "type": "string" }, @@ -771,7 +771,7 @@ "Mobile operating system version, e.g. \"iOS 13.5.1\". **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", "GMA SDK version, e.g. \"iOS 7.62.0\". **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", "For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString. **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.", - "Restriction mode for ads serving (e.g. \"Non-personalized ads\")." + "Restriction mode for ads serving (e.g. \"Non-personalized ads\"). **Warning:** The dimension is incompatible with [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) metric." ], "type": "string" }, diff --git a/discovery/googleapis/adsense__v2.json b/discovery/googleapis/adsense__v2.json index e5f648a88..5d551fefd 100644 --- a/discovery/googleapis/adsense__v2.json +++ b/discovery/googleapis/adsense__v2.json @@ -1566,7 +1566,7 @@ } } }, - "revision": "20210721", + "revision": "20210906", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { @@ -1774,7 +1774,7 @@ "In-feed ad unit.", "In-article ad unit.", "Matched content unit.", - "Link ad unit. Note that link ad units are being retired, see https://support.google.com/adsense/answer/9987221." + "Link ad unit. Note that link ad units have now been retired, see https://support.google.com/adsense/answer/9987221." ], "type": "string" } diff --git a/discovery/googleapis/androiddeviceprovisioning__v1.json b/discovery/googleapis/androiddeviceprovisioning__v1.json index 2207c204c..3198c30a7 100644 --- a/discovery/googleapis/androiddeviceprovisioning__v1.json +++ b/discovery/googleapis/androiddeviceprovisioning__v1.json @@ -823,7 +823,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://androiddeviceprovisioning.googleapis.com/", "schemas": { "ClaimDeviceRequest": { @@ -1163,7 +1163,7 @@ ], "enumDescriptions": [ "No additional service.", - "Device protection service, as known as Android Enterprise Essentials. To claim a device with the device protection service you must enroll with the partnership team." + "Device protection service, also known as Android Enterprise Essentials. To claim a device with the device protection service you must enroll with the partnership team." ], "type": "string" }, diff --git a/discovery/googleapis/androidenterprise__v1.json b/discovery/googleapis/androidenterprise__v1.json index 2fe7c7acf..1c6bc6d62 100644 --- a/discovery/googleapis/androidenterprise__v1.json +++ b/discovery/googleapis/androidenterprise__v1.json @@ -289,7 +289,7 @@ ] }, "update": { - "description": "Updates the device policy. To ensure the policy is properly enforced, you need to prevent unmanaged accounts from accessing Google Play by setting the allowed_accounts in the managed configuration for the Google Play package. See restrict accounts in Google Play.", + "description": "Updates the device policy. To ensure the policy is properly enforced, you need to prevent unmanaged accounts from accessing Google Play by setting the allowed_accounts in the managed configuration for the Google Play package. See restrict accounts in Google Play. When provisioning a new device, you should set the device policy using this method before adding the managed Google Play Account to the device, otherwise the policy will not be applied for a short period of time after adding the account to the device.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}", "httpMethod": "PUT", "id": "androidenterprise.devices.update", @@ -2609,7 +2609,7 @@ } } }, - "revision": "20210721", + "revision": "20210901", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { diff --git a/discovery/googleapis/androidmanagement__v1.json b/discovery/googleapis/androidmanagement__v1.json index 0a4a67933..f6efe8157 100644 --- a/discovery/googleapis/androidmanagement__v1.json +++ b/discovery/googleapis/androidmanagement__v1.json @@ -1002,7 +1002,7 @@ } } }, - "revision": "20210713", + "revision": "20210825", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdvancedSecurityOverrides": { @@ -1051,6 +1051,13 @@ ], "type": "string" }, + "personalAppsThatCanReadWorkNotifications": { + "description": "Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.", + "items": { + "type": "string" + }, + "type": "array" + }, "untrustedAppsPolicy": { "description": "The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).", "enum": [ @@ -1620,7 +1627,7 @@ "type": "object" }, "ContactInfo": { - "description": "Contact details for LaForge enterprises.", + "description": "Contact details for managed Google Play enterprises.", "id": "ContactInfo", "properties": { "contactEmail": { @@ -1676,6 +1683,57 @@ }, "type": "object" }, + "CrossProfilePolicies": { + "description": "Cross-profile policies applied on the device.", + "id": "CrossProfilePolicies", + "properties": { + "crossProfileCopyPaste": { + "description": "Whether text copied from one profile (personal or work) can be pasted in the other profile.", + "enum": [ + "CROSS_PROFILE_COPY_PASTE_UNSPECIFIED", + "COPY_FROM_WORK_TO_PERSONAL_DISALLOWED", + "CROSS_PROFILE_COPY_PASTE_ALLOWED" + ], + "enumDescriptions": [ + "Unspecified. Defaults to COPY_FROM_WORK_TO_PERSONAL_DISALLOWED", + "Default. Prevents users from pasting into the personal profile text copied from the work profile. Text copied from the personal profile can be pasted into the work profile, and text copied from the work profile can be pasted into the work profile.", + "Text copied in either profile can be pasted in the other profile." + ], + "type": "string" + }, + "crossProfileDataSharing": { + "description": "Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work & personal apps, are configured separately.", + "enum": [ + "CROSS_PROFILE_DATA_SHARING_UNSPECIFIED", + "CROSS_PROFILE_DATA_SHARING_DISALLOWED", + "DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED", + "CROSS_PROFILE_DATA_SHARING_ALLOWED" + ], + "enumDescriptions": [ + "Unspecified. Defaults to DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED.", + "Prevents data from being shared from both the personal profile to the work profile and the work profile to the personal profile.", + "Default. Prevents users from sharing data from the work profile to apps in the personal profile. Personal data can be shared with work apps.", + "Data from either profile can be shared with the other profile." + ], + "type": "string" + }, + "showWorkContactsInPersonalProfile": { + "description": "Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.", + "enum": [ + "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED", + "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED", + "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED" + ], + "enumDescriptions": [ + "Unspecified. Defaults to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED.", + "Prevents work profile contacts from appearing in personal profile contact searches and incoming calls", + "Default. Allows work profile contacts to appear in personal profile contact searches and incoming calls" + ], + "type": "string" + } + }, + "type": "object" + }, "Date": { "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values A month and day value, with a zero year, such as an anniversary A year on its own, with zero month and day values A year and month value, with a zero day, such as a credit card expiration dateRelated types are google.type.TimeOfDay and google.protobuf.Timestamp.", "id": "Date", @@ -1829,7 +1887,7 @@ }, "memoryInfo": { "$ref": "MemoryInfo", - "description": "Memory information. This information is only available if memoryInfoEnabled is true in the device's policy." + "description": "Memory information: contains information about device memory and storage." }, "name": { "description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.", @@ -3038,9 +3096,9 @@ "The password must contain alphabetic (or symbol) characters.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_HIGH for application. See PasswordQuality for details.", "The password must contain both numeric and alphabetic (or symbol) characters.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_HIGH for application. See PasswordQuality for details.", "The password must meet the minimum requirements specified in passwordMinimumLength, passwordMinimumLetters, passwordMinimumSymbols, etc. For example, if passwordMinimumSymbols is 2, the password must contain at least two symbols.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_HIGH for application. In this case, the requirements in passwordMinimumLength, passwordMinimumLetters, passwordMinimumSymbols, etc are not applied. See PasswordQuality for details.", - "Password satisfies one of the following: pattern PIN with repeating (4444) or ordered (1234, 4321, 2468) sequencesEnforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details.", - "Password satisfies one of the following: PIN with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 4 alphabetic, length at least 4 alphanumeric, length at least 4Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details.", - "Password satisfies one of the following:On Android 12 and above: PIN with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 8 alphabetic, length at least 6 alphanumeric, length at least 6Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details." + "Define the low password complexity band as: pattern PIN with repeating (4444) or ordered (1234, 4321, 2468) sequencesThis sets the minimum complexity band which the password must meet.Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details.", + "Define the medium password complexity band as: PIN with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 4 alphabetic, length at least 4 alphanumeric, length at least 4This sets the minimum complexity band which the password must meet.Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details.", + "Define the high password complexity band as:On Android 12 and above: PIN with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 8 alphabetic, length at least 6 alphanumeric, length at least 6This sets the minimum complexity band which the password must meet.Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details." ], "type": "string" }, @@ -3335,6 +3393,10 @@ "description": "Whether configuring user credentials is disabled.", "type": "boolean" }, + "crossProfilePolicies": { + "$ref": "CrossProfilePolicies", + "description": "Cross-profile policies applied on the device." + }, "dataRoamingDisabled": { "description": "Whether roaming data services are disabled.", "type": "boolean" @@ -4035,7 +4097,7 @@ "type": "boolean" }, "memoryInfoEnabled": { - "description": "Whether memory reporting is enabled.", + "description": "Whether memory event reporting is enabled.", "type": "boolean" }, "networkInfoEnabled": { diff --git a/discovery/googleapis/androidpublisher__v3.json b/discovery/googleapis/androidpublisher__v3.json index e68a04c72..b797ddb14 100644 --- a/discovery/googleapis/androidpublisher__v3.json +++ b/discovery/googleapis/androidpublisher__v3.json @@ -477,7 +477,7 @@ "accept": [ "application/octet-stream" ], - "maxSize": "314572800", + "maxSize": "629145600", "protocols": { "resumable": { "multipart": true, @@ -1783,7 +1783,7 @@ ] }, "list": { - "description": "Lists all in-app products - both managed products and subscriptions.", + "description": "Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.", "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts", "httpMethod": "GET", "id": "androidpublisher.inappproducts.list", @@ -1792,7 +1792,7 @@ ], "parameters": { "maxResults": { - "description": "How many results the list operation should return.", + "description": "Deprecated and ignored. The page size is determined by the server.", "format": "uint32", "location": "query", "type": "integer" @@ -1804,7 +1804,7 @@ "type": "string" }, "startIndex": { - "description": "The index of the first element to return.", + "description": "Deprecated and ignored. Set the `token` parameter to rertieve the next page.", "format": "uint32", "location": "query", "type": "integer" @@ -1872,6 +1872,11 @@ "sku" ], "parameters": { + "allowMissing": { + "description": "If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created.", + "location": "query", + "type": "boolean" + }, "autoConvertMissingPrices": { "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.", "location": "query", @@ -1993,7 +1998,7 @@ "orders": { "methods": { "refund": { - "description": "Refund a user's subscription or in-app purchase order.", + "description": "Refunds a user's subscription or in-app purchase order. Orders older than 1 year cannot be refunded.", "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund", "httpMethod": "POST", "id": "androidpublisher.orders.refund", @@ -2675,7 +2680,7 @@ } } }, - "revision": "20210722", + "revision": "20210906", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Apk": { @@ -3278,7 +3283,7 @@ }, "pageInfo": { "$ref": "PageInfo", - "description": "Information about the current page." + "description": "Deprecated and unset." }, "tokenPagination": { "$ref": "TokenPagination", diff --git a/discovery/googleapis/apigateway__v1.json b/discovery/googleapis/apigateway__v1.json index c8c506a58..2c3140c26 100644 --- a/discovery/googleapis/apigateway__v1.json +++ b/discovery/googleapis/apigateway__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1081,7 +1081,7 @@ } } }, - "revision": "20210707", + "revision": "20210825", "rootUrl": "https://apigateway.googleapis.com/", "schemas": { "ApigatewayApi": { @@ -1689,7 +1689,7 @@ "type": "object" }, "ApigatewayPolicy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "ApigatewayPolicy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/apigee__v1.json b/discovery/googleapis/apigee__v1.json index def30becd..e8ec3cd42 100644 --- a/discovery/googleapis/apigee__v1.json +++ b/discovery/googleapis/apigee__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1186,6 +1186,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "patch": { + "description": "Updates an existing API proxy.", + "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}", + "httpMethod": "PATCH", + "id": "apigee.organizations.apis.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. API proxy to update in the following format: `organizations/{org}/apis/{api}`", + "location": "path", + "pattern": "^organizations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApigeeV1ApiProxy" + }, + "response": { + "$ref": "GoogleCloudApigeeV1ApiProxy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -3613,6 +3647,11 @@ "description": "Flag that specifies whether to enable sequenced rollout. If set to `true`, a best-effort attempt will be made to roll out the routing rules corresponding to this deployment and the environment changes to add this deployment in a safe order. This reduces the risk of downtime that could be caused by changing the environment group's routing before the new destination for the affected traffic is ready to receive it. This should only be necessary if the new deployment will be capturing traffic from another environment under a shared environment group or if traffic will be rerouted to a different environment due to a base path removal. The [GenerateDeployChangeReport API](GenerateDeployChangeReport) may be used to examine routing changes before issuing the deployment request, and its response will indicate if a sequenced rollout is recommended for the deployment.", "location": "query", "type": "boolean" + }, + "serviceAccount": { + "description": "Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.", + "location": "query", + "type": "string" } }, "path": "v1/{+name}/deployments", @@ -3898,6 +3937,219 @@ } } }, + "archiveDeployments": { + "methods": { + "create": { + "description": "Creates a new ArchiveDeployment.", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments", + "httpMethod": "POST", + "id": "apigee.organizations.environments.archiveDeployments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The Environment this Archive Deployment will be created in.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/archiveDeployments", + "request": { + "$ref": "GoogleCloudApigeeV1ArchiveDeployment" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an archive deployment.", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}", + "httpMethod": "DELETE", + "id": "apigee.organizations.environments.archiveDeployments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "generateDownloadUrl": { + "description": "Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL.", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}:generateDownloadUrl", + "httpMethod": "POST", + "id": "apigee.organizations.environments.archiveDeployments.generateDownloadUrl", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Archive Deployment you want to download.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:generateDownloadUrl", + "request": { + "$ref": "GoogleCloudApigeeV1GenerateDownloadUrlRequest" + }, + "response": { + "$ref": "GoogleCloudApigeeV1GenerateDownloadUrlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "generateUploadUrl": { + "description": "Generates a signed URL for uploading an Archive zip file to Google Cloud Storage. Once the upload is complete, the signed URL should be passed to CreateArchiveDeployment. When uploading to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * Source file size should not exceed 1GB limit. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, these two headers need to be specified: * `content-type: application/zip` * `x-goog-content-length-range: 0,1073741824` And this header SHOULD NOT be specified: * `Authorization: Bearer YOUR_TOKEN`", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments:generateUploadUrl", + "httpMethod": "POST", + "id": "apigee.organizations.environments.archiveDeployments.generateUploadUrl", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The organization and environment to upload to.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/archiveDeployments:generateUploadUrl", + "request": { + "$ref": "GoogleCloudApigeeV1GenerateUploadUrlRequest" + }, + "response": { + "$ref": "GoogleCloudApigeeV1GenerateUploadUrlResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the specified ArchiveDeployment.", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}", + "httpMethod": "GET", + "id": "apigee.organizations.environments.archiveDeployments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApigeeV1ArchiveDeployment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists the ArchiveDeployments in the specified Environment.", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments", + "httpMethod": "GET", + "id": "apigee.organizations.environments.archiveDeployments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An optional query used to return a subset of Archive Deployments using the semantics defined in https://google.aip.dev/160.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of Archive Deployments to return. If unspecified, at most 25 deployments will be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token, returned from a previous ListArchiveDeployments call, that you can use to retrieve the next page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the Environment for which to list Archive Deployments in the format: `organizations/{org}/environments/{env}`.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/archiveDeployments", + "response": { + "$ref": "GoogleCloudApigeeV1ListArchiveDeploymentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an existing ArchiveDeployment. Labels can modified but most of the other fields are not modifiable.", + "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}", + "httpMethod": "PATCH", + "id": "apigee.organizations.environments.archiveDeployments.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", + "location": "path", + "pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApigeeV1ArchiveDeployment" + }, + "response": { + "$ref": "GoogleCloudApigeeV1ArchiveDeployment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "caches": { "methods": { "delete": { @@ -5012,6 +5264,11 @@ "description": "Flag that specifies whether the new deployment replaces other deployed revisions of the shared flow in the environment. Set `override` to `true` to replace other deployed revisions. By default, `override` is `false` and the deployment is rejected if other revisions of the shared flow are deployed in the environment.", "location": "query", "type": "boolean" + }, + "serviceAccount": { + "description": "Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.", + "location": "query", + "type": "string" } }, "path": "v1/{+name}/deployments", @@ -5835,6 +6092,40 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "patch": { + "description": "Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.", + "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}", + "httpMethod": "PATCH", + "id": "apigee.organizations.instances.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.", + "location": "path", + "pattern": "^organizations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "List of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApigeeV1Instance" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "reportStatus": { "description": "Reports the latest status for a runtime instance.", "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}:reportStatus", @@ -7009,9 +7300,38 @@ } } }, - "revision": "20210719", + "revision": "20210826", "rootUrl": "https://apigee.googleapis.com/", "schemas": { + "EdgeConfigstoreBundleBadBundle": { + "description": "Describes why a bundle is invalid. Intended for use in error details.", + "id": "EdgeConfigstoreBundleBadBundle", + "properties": { + "violations": { + "description": "Describes all precondition violations.", + "items": { + "$ref": "EdgeConfigstoreBundleBadBundleViolation" + }, + "type": "array" + } + }, + "type": "object" + }, + "EdgeConfigstoreBundleBadBundleViolation": { + "description": "A message type used to describe a single bundle validation error.", + "id": "EdgeConfigstoreBundleBadBundleViolation", + "properties": { + "description": { + "description": "A description of why the bundle is invalid and how to fix it.", + "type": "string" + }, + "filename": { + "description": "The filename (including relative path from the bundle root) in which the error occurred.", + "type": "string" + } + }, + "type": "object" + }, "GoogleApiHttpBody": { "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", "id": "GoogleApiHttpBody", @@ -7110,10 +7430,6 @@ "$ref": "GoogleCloudApigeeV1AdvancedApiOpsConfig", "description": "Configuration for the Advanced API Ops add-on." }, - "integrationConfig": { - "$ref": "GoogleCloudApigeeV1IntegrationConfig", - "description": "Configuration for the Integration add-on." - }, "monetizationConfig": { "$ref": "GoogleCloudApigeeV1MonetizationConfig", "description": "Configuration for the Monetization add-on." @@ -7343,23 +7659,34 @@ "description": "Metadata describing the API proxy", "id": "GoogleCloudApigeeV1ApiProxy", "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User labels applied to this API Proxy.", + "type": "object" + }, "latestRevisionId": { - "description": "The id of the most recently created revision for this api proxy.", + "description": "Output only. The id of the most recently created revision for this api proxy.", + "readOnly": true, "type": "string" }, "metaData": { "$ref": "GoogleCloudApigeeV1EntityMetadata", - "description": "Metadata describing the API proxy." + "description": "Output only. Metadata describing the API proxy.", + "readOnly": true }, "name": { - "description": "Name of the API proxy.", + "description": "Output only. Name of the API proxy.", + "readOnly": true, "type": "string" }, "revision": { - "description": "List of revisons defined for the API proxy.", + "description": "Output only. List of revisons defined for the API proxy.", "items": { "type": "string" }, + "readOnly": true, "type": "array" } }, @@ -7593,6 +7920,45 @@ }, "type": "object" }, + "GoogleCloudApigeeV1ArchiveDeployment": { + "description": "Archive Deployment information.", + "id": "GoogleCloudApigeeV1ArchiveDeployment", + "properties": { + "createdAt": { + "description": "Output only. The time at which the Archive Deployment was created in milliseconds since the epoch.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "gcsUri": { + "description": "Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", + "type": "object" + }, + "name": { + "description": "Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", + "type": "string" + }, + "operation": { + "description": "Output only. A reference to the LRO that created this Archive Deployment in the following format: `organizations/{org}/operations/{id}`", + "readOnly": true, + "type": "string" + }, + "updatedAt": { + "description": "Output only. The time at which the Archive Deployment was updated in milliseconds since the epoch.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1AsyncQuery": { "id": "GoogleCloudApigeeV1AsyncQuery", "properties": { @@ -8435,6 +8801,10 @@ }, "type": "array" }, + "serviceAccount": { + "description": "The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.", + "type": "string" + }, "state": { "description": "Current state of the deployment. This field is not populated in List APIs.", "enum": [ @@ -8873,12 +9243,40 @@ "GoogleCloudApigeeV1Environment": { "id": "GoogleCloudApigeeV1Environment", "properties": { + "apiProxyType": { + "description": "Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.", + "enum": [ + "API_PROXY_TYPE_UNSPECIFIED", + "PROGRAMMABLE", + "CONFIGURABLE" + ], + "enumDescriptions": [ + "API proxy type not specified.", + "Programmable API Proxies enable you to develop APIs with highly flexible behavior using bundled policy configuration and one or more programming languages to describe complex sequential and/or conditional flows of logic.", + "Configurable API Proxies enable you to develop efficient APIs using simple configuration while complex execution control flow logic is handled by Apigee. This type only works with the ARCHIVE deployment type and cannot be combined with the PROXY deployment type." + ], + "type": "string" + }, "createdAt": { "description": "Output only. Creation time of this environment as milliseconds since epoch.", "format": "int64", "readOnly": true, "type": "string" }, + "deploymentType": { + "description": "Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be **prevented from performing** a [subset of actions](/apigee/docs/api-platform/local-development/overview#prevented-actions) within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers", + "enum": [ + "DEPLOYMENT_TYPE_UNSPECIFIED", + "PROXY", + "ARCHIVE" + ], + "enumDescriptions": [ + "Deployment type not specified.", + "Proxy deployment enables you to develop and deploy API proxies using Apigee on Google Cloud. This cannot currently be combined with the CONFIGURABLE API proxy type.", + "Archive deployment enables you to develop API proxies locally then deploy an archive of your API proxy configuration to an environment in Apigee on Google Cloud. You will be prevented from performing a [subset of actions](/apigee/docs/api-platform/local-development/overview#prevented-actions) within the environment." + ], + "type": "string" + }, "description": { "description": "Optional. Description of the environment.", "type": "string" @@ -8926,6 +9324,10 @@ "GoogleCloudApigeeV1EnvironmentConfig": { "id": "GoogleCloudApigeeV1EnvironmentConfig", "properties": { + "arcConfigLocation": { + "description": "The location for the config blob of API Runtime Control, aka Envoy Adapter, for op-based authentication as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways.", + "type": "string" + }, "createTime": { "description": "Time that the environment configuration was created.", "format": "google-datetime", @@ -8963,6 +9365,10 @@ }, "type": "array" }, + "gatewayConfigLocation": { + "description": "The location for the gateway config blob as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways.", + "type": "string" + }, "keystores": { "description": "List of keystores in the environment.", "items": { @@ -9255,6 +9661,40 @@ }, "type": "object" }, + "GoogleCloudApigeeV1GenerateDownloadUrlRequest": { + "description": "Request for GenerateDownloadUrl method.", + "id": "GoogleCloudApigeeV1GenerateDownloadUrlRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudApigeeV1GenerateDownloadUrlResponse": { + "description": "Response for GenerateDownloadUrl method.", + "id": "GoogleCloudApigeeV1GenerateDownloadUrlResponse", + "properties": { + "downloadUri": { + "description": "The Google Cloud Storage signed URL that can be used to download the Archive zip file.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApigeeV1GenerateUploadUrlRequest": { + "description": "Request for GenerateUploadUrl method.", + "id": "GoogleCloudApigeeV1GenerateUploadUrlRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudApigeeV1GenerateUploadUrlResponse": { + "description": "Response for GenerateUploadUrl method.", + "id": "GoogleCloudApigeeV1GenerateUploadUrlResponse", + "properties": { + "uploadUri": { + "description": "The Google Cloud Storage signed URL that can be used to upload a new Archive zip file.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1GetSyncAuthorizationRequest": { "description": "Request for GetSyncAuthorization.", "id": "GoogleCloudApigeeV1GetSyncAuthorizationRequest", @@ -9427,6 +9867,11 @@ "readOnly": true, "type": "string" }, + "runtimeVersion": { + "description": "Output only. Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.", + "readOnly": true, + "type": "string" + }, "state": { "description": "Output only. State of the instance. Values other than `ACTIVE` means the resource is not ready to use.", "enum": [ @@ -9536,17 +9981,6 @@ }, "type": "object" }, - "GoogleCloudApigeeV1IntegrationConfig": { - "description": "Configuration for the Integration add-on.", - "id": "GoogleCloudApigeeV1IntegrationConfig", - "properties": { - "enabled": { - "description": "Flag that specifies whether the Integration add-on is enabled.", - "type": "boolean" - } - }, - "type": "object" - }, "GoogleCloudApigeeV1KeyAliasReference": { "id": "GoogleCloudApigeeV1KeyAliasReference", "properties": { @@ -9679,6 +10113,24 @@ }, "type": "object" }, + "GoogleCloudApigeeV1ListArchiveDeploymentsResponse": { + "description": "Response for ListArchiveDeployments method.", + "id": "GoogleCloudApigeeV1ListArchiveDeploymentsResponse", + "properties": { + "archiveDeployments": { + "description": "Archive Deployments in the specified environment.", + "items": { + "$ref": "GoogleCloudApigeeV1ArchiveDeployment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Page token that you can include in a ListArchiveDeployments request to retrieve the next page. If omitted, no subsequent pages exist.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1ListAsyncQueriesResponse": { "description": "The response for ListAsyncQueries.", "id": "GoogleCloudApigeeV1ListAsyncQueriesResponse", @@ -11667,6 +12119,10 @@ "GoogleCloudApigeeV1TargetServerConfig": { "id": "GoogleCloudApigeeV1TargetServerConfig", "properties": { + "enabled": { + "description": "Whether the target server is enabled. An empty/omitted value for this field should be interpreted as true.", + "type": "boolean" + }, "host": { "description": "Host name of the target server.", "type": "string" @@ -12035,7 +12491,7 @@ "type": "object" }, "GoogleIamV1Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "GoogleIamV1Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/apikeys__v2.json b/discovery/googleapis/apikeys__v2.json index 5aab23da5..336e2e452 100644 --- a/discovery/googleapis/apikeys__v2.json +++ b/discovery/googleapis/apikeys__v2.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -422,7 +422,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://apikeys.googleapis.com/", "schemas": { "Operation": { diff --git a/discovery/googleapis/appengine__v1.json b/discovery/googleapis/appengine__v1.json index c8c34de5a..57883dc77 100644 --- a/discovery/googleapis/appengine__v1.json +++ b/discovery/googleapis/appengine__v1.json @@ -6,10 +6,10 @@ "description": "View and manage your applications deployed on Google App Engine" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -1593,7 +1593,7 @@ } } }, - "revision": "20210715", + "revision": "20210827", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -1741,6 +1741,10 @@ "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly", "type": "string" }, + "serviceAccount": { + "description": "The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.", + "type": "string" + }, "servingStatus": { "description": "Serving status of this application.", "enum": [ @@ -2291,6 +2295,120 @@ }, "type": "object" }, + "GoogleAppengineV2OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleAppengineV2OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "ephemeralMessage": { + "description": "Output only. Ephemeral message that may change every time the operation is polled.", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + }, + "warning": { + "description": "Output only. Durable messages that persist on every operation poll.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAppengineV2mainOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleAppengineV2mainOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "ephemeralMessage": { + "description": "Output only. Ephemeral message that may change every time the operation is polled.", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + }, + "warning": { + "description": "Output only. Durable messages that persist on every operation poll.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "HealthCheck": { "description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.", "id": "HealthCheck", diff --git a/discovery/googleapis/artifactregistry__v1.json b/discovery/googleapis/artifactregistry__v1.json index 8759d28a7..1b145d8e0 100644 --- a/discovery/googleapis/artifactregistry__v1.json +++ b/discovery/googleapis/artifactregistry__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -192,7 +192,9 @@ "flatPath": "v1/operations", "httpMethod": "GET", "id": "artifactregistry.operations.list", - "parameterOrder": [], + "parameterOrder": [ + "name" + ], "parameters": { "filter": { "description": "The standard list filter.", @@ -201,7 +203,9 @@ }, "name": { "description": "The name of the operation's parent resource.", - "location": "query", + "location": "path", + "pattern": "^operations$", + "required": true, "type": "string" }, "pageSize": { @@ -216,7 +220,7 @@ "type": "string" } }, - "path": "v1/operations", + "path": "v1/{+name}", "response": { "$ref": "ListOperationsResponse" }, @@ -346,7 +350,7 @@ } } }, - "revision": "20210713", + "revision": "20210902", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -668,6 +672,8 @@ "MAVEN", "NPM", "PYPI", + "APT", + "YUM", "PYTHON" ], "enumDescriptions": [ @@ -676,6 +682,8 @@ "Maven package format.", "NPM package format.", "PyPI package format.", + "APT package format.", + "YUM package format.", "Python package format." ], "type": "string" diff --git a/discovery/googleapis/assuredworkloads__v1.json b/discovery/googleapis/assuredworkloads__v1.json index 83e188a95..e2c64c2f9 100644 --- a/discovery/googleapis/assuredworkloads__v1.json +++ b/discovery/googleapis/assuredworkloads__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -349,7 +349,7 @@ } } }, - "revision": "20210714", + "revision": "20210906", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": { @@ -366,7 +366,9 @@ "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", - "HITRUST" + "HITRUST", + "EU_REGIONS_AND_SUPPORT", + "CA_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -376,7 +378,9 @@ "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls" + "Health Information Trust Alliance controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls" ], "type": "string" }, @@ -432,7 +436,9 @@ "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", - "HITRUST" + "HITRUST", + "EU_REGIONS_AND_SUPPORT", + "CA_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -442,7 +448,9 @@ "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls" + "Health Information Trust Alliance controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls" ], "type": "string" }, @@ -476,7 +484,7 @@ "type": "string" }, "provisionedResourcesParent": { - "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}", + "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" }, "resourceSettings": { @@ -587,7 +595,9 @@ "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", - "HITRUST" + "HITRUST", + "EU_REGIONS_AND_SUPPORT", + "CA_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -597,7 +607,9 @@ "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls" + "Health Information Trust Alliance controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls" ], "type": "string" }, @@ -646,7 +658,9 @@ "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", - "HITRUST" + "HITRUST", + "EU_REGIONS_AND_SUPPORT", + "CA_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -656,7 +670,9 @@ "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls" + "Health Information Trust Alliance controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls" ], "type": "string" }, @@ -702,7 +718,7 @@ "type": "string" }, "provisionedResourcesParent": { - "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}", + "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" }, "resourceSettings": { diff --git a/discovery/googleapis/baremetalsolution__v1.json b/discovery/googleapis/baremetalsolution__v1.json index 8fdaaa139..f534f1d39 100644 --- a/discovery/googleapis/baremetalsolution__v1.json +++ b/discovery/googleapis/baremetalsolution__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -143,7 +143,7 @@ } } }, - "revision": "20210706", + "revision": "20210825", "rootUrl": "https://baremetalsolution.googleapis.com/", "schemas": { "ResetInstanceRequest": { diff --git a/discovery/googleapis/bigquery__v2.json b/discovery/googleapis/bigquery__v2.json index 47ec4e280..90928c08b 100644 --- a/discovery/googleapis/bigquery__v2.json +++ b/discovery/googleapis/bigquery__v2.json @@ -3,25 +3,25 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/bigquery": { - "description": "View and manage your data in Google BigQuery" + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" }, "https://www.googleapis.com/auth/bigquery.insertdata": { "description": "Insert data into Google BigQuery" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/devstorage.full_control": { - "description": "Manage your data and permissions in Google Cloud Storage" + "description": "Manage your data and permissions in Cloud Storage and see the email address for your Google Account" }, "https://www.googleapis.com/auth/devstorage.read_only": { "description": "View your data in Google Cloud Storage" }, "https://www.googleapis.com/auth/devstorage.read_write": { - "description": "Manage your data in Google Cloud Storage" + "description": "Manage your data in Cloud Storage and see the email address of your Google Account" } } } @@ -1682,7 +1682,7 @@ } } }, - "revision": "20210706", + "revision": "20210828", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2136,6 +2136,16 @@ }, "type": "object" }, + "AvroOptions": { + "id": "AvroOptions", + "properties": { + "useAvroLogicalTypes": { + "description": "[Optional] If set to true will enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).", + "type": "boolean" + } + }, + "type": "object" + }, "BiEngineReason": { "id": "BiEngineReason", "properties": { @@ -2623,6 +2633,10 @@ "description": "[Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence \"\\t\" to specify a tab separator. The default value is a comma (',').", "type": "string" }, + "null_marker": { + "description": "[Optional] An custom string that will represent a NULL value in CSV import data.", + "type": "string" + }, "quote": { "default": "\"", "description": "[Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('\"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true.", @@ -2738,6 +2752,10 @@ "description": "[Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field.", "type": "string" }, + "isCaseInsensitive": { + "description": "[Optional] Indicates if table names are case insensitive in the dataset.", + "type": "boolean" + }, "kind": { "default": "bigquery#dataset", "description": "[Output-only] The resource type.", @@ -3199,6 +3217,10 @@ "description": "Try to detect schema and format options automatically. Any option specified explicitly will be honored.", "type": "boolean" }, + "avroOptions": { + "$ref": "AvroOptions", + "description": "Additional properties to set if sourceFormat is set to Avro." + }, "bigtableOptions": { "$ref": "BigtableOptions", "description": "[Optional] Additional options if sourceFormat is set to BIGTABLE." @@ -4541,8 +4563,8 @@ "Boosted tree regressor model.", "Boosted tree classifier model.", "ARIMA model.", - "[Beta] AutoML Tables regression model.", - "[Beta] AutoML Tables classification model.", + "AutoML Tables regression model.", + "AutoML Tables classification model.", "New name for the ARIMA model." ], "readOnly": true, @@ -4641,7 +4663,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -4958,7 +4980,7 @@ "$ref": "TableSchema", "description": "The schema of the results. Present only when the query completes successfully." }, - "sessionInfoTemplate": { + "sessionInfo": { "$ref": "SessionInfo", "description": "[Output-only] [Preview] Information of the session if this job is part of one." }, @@ -5118,11 +5140,11 @@ "type": "string" }, "description": { - "description": "Optional. [Experimental] The description of the routine if defined.", + "description": "Optional. The description of the routine, if defined.", "type": "string" }, "determinismLevel": { - "description": "Optional. [Experimental] The determinism level of the JavaScript UDF if defined.", + "description": "Optional. The determinism level of the JavaScript UDF, if defined.", "enum": [ "DETERMINISM_LEVEL_UNSPECIFIED", "DETERMINISTIC", @@ -5169,11 +5191,11 @@ }, "returnTableType": { "$ref": "StandardSqlTableType", - "description": "Optional. Set only if Routine is a \"TABLE_VALUED_FUNCTION\"." + "description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time." }, "returnType": { "$ref": "StandardSqlDataType", - "description": "Optional if language = \"SQL\"; required otherwise. If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * `CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);` * `CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1));` * `CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));` The return_type is `{type_kind: \"FLOAT64\"}` for `Add` and `Decrement`, and is absent for `Increment` (inferred as FLOAT64 at query time). Suppose the function `Add` is replaced by `CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y);` Then the inferred return type of `Increment` is automatically changed to INT64 at query time, while the return type of `Decrement` remains FLOAT64." + "description": "Optional if language = \"SQL\"; required otherwise. Cannot be set if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * `CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);` * `CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1));` * `CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));` The return_type is `{type_kind: \"FLOAT64\"}` for `Add` and `Decrement`, and is absent for `Increment` (inferred as FLOAT64 at query time). Suppose the function `Add` is replaced by `CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y);` Then the inferred return type of `Increment` is automatically changed to INT64 at query time, while the return type of `Decrement` remains FLOAT64." }, "routineReference": { "$ref": "RoutineReference", @@ -5194,6 +5216,10 @@ "Non-builtin permanent TVF." ], "type": "string" + }, + "strictMode": { + "description": "Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.", + "type": "boolean" } }, "type": "object" @@ -5771,6 +5797,10 @@ }, "type": "object" }, + "collationSpec": { + "description": "Optional. Collation specification of the field. It only can be set on string type field.", + "type": "string" + }, "description": { "description": "[Optional] The field description. The maximum length is 1,024 characters.", "type": "string" diff --git a/discovery/googleapis/bigquerydatatransfer__v1.json b/discovery/googleapis/bigquerydatatransfer__v1.json index be778951e..f6cc8b832 100644 --- a/discovery/googleapis/bigquerydatatransfer__v1.json +++ b/discovery/googleapis/bigquerydatatransfer__v1.json @@ -3,13 +3,13 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/bigquery": { - "description": "View and manage your data in Google BigQuery" + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -110,6 +110,37 @@ "protocol": "rest", "resources": { "projects": { + "methods": { + "enrollDataSources": { + "description": "Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at https://cloud.google.com/bigquery/bigquery-web-ui and https://cloud.google.com/bigquery/docs/working-with-transfers).", + "flatPath": "v1/projects/{projectsId}:enrollDataSources", + "httpMethod": "POST", + "id": "bigquerydatatransfer.projects.enrollDataSources", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the project resource in the form: `projects/{project_id}`", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:enrollDataSources", + "request": { + "$ref": "EnrollDataSourcesRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "dataSources": { "methods": { @@ -212,6 +243,35 @@ }, "locations": { "methods": { + "enrollDataSources": { + "description": "Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at https://cloud.google.com/bigquery/bigquery-web-ui and https://cloud.google.com/bigquery/docs/working-with-transfers).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:enrollDataSources", + "httpMethod": "POST", + "id": "bigquerydatatransfer.projects.locations.enrollDataSources", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the project resource in the form: `projects/{project_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:enrollDataSources", + "request": { + "$ref": "EnrollDataSourcesRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets information about a location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", @@ -482,7 +542,7 @@ ] }, "list": { - "description": "Returns information about all data transfers in the project.", + "description": "Returns information about all transfer configs owned by a project in the specified location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs", "httpMethod": "GET", "id": "bigquerydatatransfer.projects.locations.transferConfigs.list", @@ -929,7 +989,7 @@ ] }, "list": { - "description": "Returns information about all data transfers in the project.", + "description": "Returns information about all transfer configs owned by a project in the specified location.", "flatPath": "v1/projects/{projectsId}/transferConfigs", "httpMethod": "GET", "id": "bigquerydatatransfer.projects.transferConfigs.list", @@ -1278,7 +1338,7 @@ } } }, - "revision": "20210622", + "revision": "20210827", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": { @@ -1314,7 +1374,7 @@ "Type unspecified.", "Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend.", "Return an authorization code for a given Google+ page that can then be exchanged for a refresh token on the backend.", - "Use First Party OAuth based on Loas Owned Clients. First Party OAuth doesn't require a refresh token to get an offline access token. Instead, it uses a client-signed JWT assertion to retrieve an access token." + "Use First Party OAuth." ], "type": "string" }, @@ -1533,6 +1593,20 @@ "properties": {}, "type": "object" }, + "EnrollDataSourcesRequest": { + "description": "A request to enroll a set of data sources so they are visible in the BigQuery UI's `Transfer` tab.", + "id": "EnrollDataSourcesRequest", + "properties": { + "dataSourceIds": { + "description": "Data sources that are enrolled. It is required to provide at least one data source id.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListDataSourcesResponse": { "description": "Returns list of supported data sources and their metadata.", "id": "ListDataSourcesResponse", @@ -1835,9 +1909,14 @@ "type": "string" }, "notificationPubsubTopic": { - "description": "Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.", + "description": "Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish. The format for specifying a pubsub topic is: `projects/{project}/topics/{topic}`", "type": "string" }, + "ownerInfo": { + "$ref": "UserInfo", + "description": "Output only. Information about the user whose credentials are used to transfer data. Populated only for `transferConfigs.get` requests. In case the user information is not available, this field will not be populated.", + "readOnly": true + }, "params": { "additionalProperties": { "description": "Properties of the object.", @@ -1955,7 +2034,7 @@ "type": "string" }, "notificationPubsubTopic": { - "description": "Output only. Pub/Sub topic where a notification will be sent after this transfer run finishes", + "description": "Output only. Pub/Sub topic where a notification will be sent after this transfer run finishes. The format for specifying a pubsub topic is: `projects/{project}/topics/{topic}`", "readOnly": true, "type": "string" }, @@ -2022,6 +2101,17 @@ } }, "type": "object" + }, + "UserInfo": { + "description": "Information about a user.", + "id": "UserInfo", + "properties": { + "email": { + "description": "E-mail address of the user.", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/googleapis/bigqueryreservation__v1.json b/discovery/googleapis/bigqueryreservation__v1.json index 358908b22..520afbba4 100644 --- a/discovery/googleapis/bigqueryreservation__v1.json +++ b/discovery/googleapis/bigqueryreservation__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/bigquery": { - "description": "View and manage your data in Google BigQuery" + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -307,6 +307,11 @@ "name" ], "parameters": { + "force": { + "description": "Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.", + "location": "query", + "type": "boolean" + }, "name": { "description": "Required. Resource name of the capacity commitment to delete. E.g., `projects/myproject/locations/US/capacityCommitments/123`", "location": "path", @@ -781,7 +786,7 @@ } } }, - "revision": "20210618", + "revision": "20210830", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": { diff --git a/discovery/googleapis/bigtableadmin__v2.json b/discovery/googleapis/bigtableadmin__v2.json index cf0d670ab..17cf8159a 100644 --- a/discovery/googleapis/bigtableadmin__v2.json +++ b/discovery/googleapis/bigtableadmin__v2.json @@ -24,10 +24,10 @@ "description": "Administer your Cloud Bigtable tables" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -1801,7 +1801,7 @@ } } }, - "revision": "20210712", + "revision": "20210811", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2440,6 +2440,12 @@ "description": "A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.", "id": "Instance", "properties": { + "createTime": { + "description": "Output only. A server-assigned timestamp representing when this Instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "displayName": { "description": "Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion.", "type": "string" @@ -2814,7 +2820,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/billingbudgets__v1.json b/discovery/googleapis/billingbudgets__v1.json index 3cd30c752..3d2975c26 100644 --- a/discovery/googleapis/billingbudgets__v1.json +++ b/discovery/googleapis/billingbudgets__v1.json @@ -6,7 +6,7 @@ "description": "View and manage your Google Cloud Platform billing accounts" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -268,7 +268,7 @@ } } }, - "revision": "20210703", + "revision": "20210827", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1Budget": { @@ -288,7 +288,7 @@ "type": "string" }, "etag": { - "description": "Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes.", + "description": "Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.", "type": "string" }, "name": { @@ -345,7 +345,7 @@ "id": "GoogleCloudBillingBudgetsV1Filter", "properties": { "calendarPeriod": { - "description": "Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on.", + "description": "Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on.", "enum": [ "CALENDAR_PERIOD_UNSPECIFIED", "MONTH", @@ -394,25 +394,25 @@ }, "type": "array" }, - "description": "Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. Currently, multiple entries or multiple values per entry are not allowed. If omitted, the report will include all labeled and unlabeled usage.", + "description": "Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report includes all labeled and unlabeled usage. An object containing a single `\"key\": value` pair. Example: `{ \"name\": \"wrench\" }`. _Currently, multiple entries or multiple values per entry are not allowed._", "type": "object" }, "projects": { - "description": "Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report will include all usage for the billing account, regardless of which project the usage occurred on. Only zero or one project can be specified currently.", + "description": "Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report includes all usage for the billing account, regardless of which project the usage occurred on. Only zero or one project can be specified currently.", "items": { "type": "string" }, "type": "array" }, "services": { - "description": "Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report will include usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.", + "description": "Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report includes usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.", "items": { "type": "string" }, "type": "array" }, "subaccounts": { - "description": "Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account will be included. If the field is omitted, the report will include usage from the parent account and all subaccounts, if they exist.", + "description": "Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account is included. If the field is omitted, the report includes usage from the parent account and all subaccounts, if they exist.", "items": { "type": "string" }, @@ -422,7 +422,7 @@ "type": "object" }, "GoogleCloudBillingBudgetsV1LastPeriodAmount": { - "description": "Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.", + "description": "Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.", "id": "GoogleCloudBillingBudgetsV1LastPeriodAmount", "properties": {}, "type": "object" @@ -454,14 +454,14 @@ "type": "boolean" }, "monitoringNotificationChannels": { - "description": "Optional. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.", + "description": "Optional. Email targets to send notifications to when a threshold is exceeded. This is in addition to the `DefaultIamRecipients` who receive alert emails based on their billing account IAM role. The value is the full REST resource name of a Cloud Monitoring email notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 email notifications are allowed. To customize budget alert email recipients with monitoring notification channels, you _must create the monitoring notification channels before you link them to a budget_. For guidance on setting up notification channels to use with budgets, see [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). For Cloud Billing budget alerts, you _must use email notification channels_. The other types of notification channels are _not_ supported, such as Slack, SMS, or PagerDuty. If you want to [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), use a pubsubTopic and configure [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).", "items": { "type": "string" }, "type": "array" }, "pubsubTopic": { - "description": "Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets#manage-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details on Pub/Sub roles and permissions.", + "description": "Optional. The name of the Pub/Sub topic where budget-related messages are published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent to the topic at regular intervals; the timing of the updates is not dependent on the [threshold rules](#thresholdrule) you've set. Note that if you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) to contain data for `alertThresholdExceeded`, you need at least one [alert threshold rule](#thresholdrule). When you set threshold rules, you must also enable at least one of the email notification options, either using the default IAM recipients or Cloud Monitoring email notification channels. To use Pub/Sub topics with budgets, you must do the following: 1. Create the Pub/Sub topic before connecting it to your budget. For guidance, see [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For additional details on Pub/Sub roles and permissions, see [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task).", "type": "string" }, "schemaVersion": { diff --git a/discovery/googleapis/binaryauthorization__v1.json b/discovery/googleapis/binaryauthorization__v1.json index 979acafc4..707da6ecd 100644 --- a/discovery/googleapis/binaryauthorization__v1.json +++ b/discovery/googleapis/binaryauthorization__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -549,7 +549,7 @@ } } }, - "revision": "20210716", + "revision": "20210820", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -733,7 +733,7 @@ "type": "object" }, "IamPolicy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "IamPolicy", "properties": { "bindings": { @@ -868,8 +868,8 @@ ], "enumDescriptions": [ "Not specified: DISABLE is assumed.", - "Enables global policy evaluation.", - "Disables global policy evaluation." + "Enables system policy evaluation.", + "Disables system policy evaluation." ], "type": "string" }, diff --git a/discovery/googleapis/blogger__v3.json b/discovery/googleapis/blogger__v3.json index d472cb935..73a4bd96d 100644 --- a/discovery/googleapis/blogger__v3.json +++ b/discovery/googleapis/blogger__v3.json @@ -1676,7 +1676,7 @@ } } }, - "revision": "20210719", + "revision": "20210903", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": { diff --git a/discovery/googleapis/books__v1.json b/discovery/googleapis/books__v1.json index 2c73dca62..b14425c06 100644 --- a/discovery/googleapis/books__v1.json +++ b/discovery/googleapis/books__v1.json @@ -2670,7 +2670,7 @@ } } }, - "revision": "20210721", + "revision": "20210906", "rootUrl": "https://books.googleapis.com/", "schemas": { "Annotation": { diff --git a/discovery/googleapis/calendar__v3.json b/discovery/googleapis/calendar__v3.json index d425f36c6..fef8da3ee 100644 --- a/discovery/googleapis/calendar__v3.json +++ b/discovery/googleapis/calendar__v3.json @@ -1723,7 +1723,7 @@ } } }, - "revision": "20210718", + "revision": "20210823", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2104,12 +2104,12 @@ "id": "ConferenceData", "properties": { "conferenceId": { - "description": "The ID of the conference.\nCan be used by developers to keep track of conferences, should not be displayed to users.\nThe ID value is formed differently for each conference solution type: \n- eventHangout: ID is not set.\n- eventNamedHangout: ID is the name of the Hangout.\n- hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.\n- addOn: ID is defined by the third-party provider. Optional.", + "description": "The ID of the conference.\nCan be used by developers to keep track of conferences, should not be displayed to users.\nThe ID value is formed differently for each conference solution type: \n- eventHangout: ID is not set. (This conference type is deprecated.)\n- eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)\n- hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.\n- addOn: ID is defined by the third-party provider. Optional.", "type": "string" }, "conferenceSolution": { "$ref": "ConferenceSolution", - "description": "The conference solution, such as Hangouts or Google Meet.\nUnset for a conference with a failed create request.\nEither conferenceSolution and at least one entryPoint, or createRequest is required." + "description": "The conference solution, such as Google Meet.\nUnset for a conference with a failed create request.\nEither conferenceSolution and at least one entryPoint, or createRequest is required." }, "createRequest": { "$ref": "CreateConferenceRequest", @@ -2204,7 +2204,7 @@ "id": "ConferenceSolutionKey", "properties": { "type": { - "description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (http://hangouts.google.com)\n- \"eventNamedHangout\" for classic Hangouts for Google Workspace users (deprecated; http://hangouts.google.com)\n- \"hangoutsMeet\" for Google Meet (http://meet.google.com)\n- \"addOn\" for 3P conference providers", + "description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)\n- \"eventNamedHangout\" for classic Hangouts for Google Workspace users (deprecated; existing events may show this conference solution type but new conferences cannot be created)\n- \"hangoutsMeet\" for Google Meet (http://meet.google.com)\n- \"addOn\" for 3P conference providers", "type": "string" } }, diff --git a/discovery/googleapis/chat__v1.json b/discovery/googleapis/chat__v1.json index 40fc8ce50..02bc0449f 100644 --- a/discovery/googleapis/chat__v1.json +++ b/discovery/googleapis/chat__v1.json @@ -113,7 +113,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -143,7 +143,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -177,7 +177,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -240,7 +240,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -270,7 +270,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -304,7 +304,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -386,7 +386,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -479,7 +479,7 @@ "type": "string" }, "threadKey": { - "description": "Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", + "description": "Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Hangouts Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.", "location": "query", "type": "string" } @@ -599,7 +599,7 @@ } } }, - "revision": "20210714", + "revision": "20210827", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -918,6 +918,112 @@ }, "type": "object" }, + "CommonEventObject": { + "description": "Next available ID = 8", + "id": "CommonEventObject", + "properties": { + "formInputs": { + "additionalProperties": { + "$ref": "Inputs" + }, + "description": "The keys are the string IDs associated with the widget and the values are inputs with a widget in the card.", + "type": "object" + }, + "hostApp": { + "description": "The hostApp enum which indicates the app the add-on is invoked from", + "enum": [ + "UNSPECIFIED_HOST_APP", + "GMAIL", + "CALENDAR", + "DRIVE", + "DEMO", + "DOCS", + "SHEETS", + "SLIDES", + "DRAWINGS", + "CHAT", + "ALL_HOST_APPS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "This is only used for aggregating logs on the server. Clients should never send these values directly." + ], + "type": "string" + }, + "invokedFunction": { + "description": "Name of the invoked function associated with the widget. This field is currently only set for chat.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "Any additional parameters.", + "type": "object" + }, + "platform": { + "description": "The platform enum which indicates the platform where the add-on is running.", + "enum": [ + "UNKNOWN_PLATFORM", + "WEB", + "IOS", + "ANDROID" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "timeZone": { + "$ref": "TimeZone" + }, + "userLocale": { + "description": "The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166 country/region code] such as \"en-US\"", + "type": "string" + } + }, + "type": "object" + }, + "DateInput": { + "description": "Input Parameter for Date Picker widget.", + "id": "DateInput", + "properties": { + "msSinceEpoch": { + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "DateTimeInput": { + "description": "Input Parameter for Date and Time Picker widget.", + "id": "DateTimeInput", + "properties": { + "hasDate": { + "type": "boolean" + }, + "hasTime": { + "type": "boolean" + }, + "msSinceEpoch": { + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "DeprecatedEvent": { "description": "Google Chat events.", "id": "DeprecatedEvent", @@ -926,15 +1032,39 @@ "$ref": "FormAction", "description": "The form action data associated with an interactive card that was clicked. Only populated for CARD_CLICKED events. See the [Interactive Cards guide](/chat/how-tos/cards-onclick) for more information." }, + "common": { + "$ref": "CommonEventObject", + "description": "This will include form information for dialogs such as form inputs, action parameters." + }, "configCompleteRedirectUrl": { "description": "The URL the bot should redirect the user to after they have completed an authorization or configuration flow outside of Google Chat. See the [Authorizing access to 3p services guide](/chat/how-tos/auth-3p) for more information.", "type": "string" }, + "dialogEventType": { + "description": "The type of dialog event we have received.", + "enum": [ + "TYPE_UNSPECIFIED", + "REQUEST_DIALOG", + "SUBMIT_DIALOG", + "CANCEL_DIALOG" + ], + "enumDescriptions": [ + "This could be used when the corresponding event is not dialog related. For example an @mention.", + "For any user action that would result in a dialog opening.", + "For card click events from any dialog.", + "For native cancellation button." + ], + "type": "string" + }, "eventTime": { "description": "The timestamp indicating when the event was dispatched.", "format": "google-datetime", "type": "string" }, + "isDialogEvent": { + "description": "Whether or not this event is related to dialogs request, submit or cancel. This will be set to true when we want a request/submit/cancel event.", + "type": "boolean" + }, "message": { "$ref": "Message", "description": "The message that triggered the event, if applicable." @@ -1980,6 +2110,25 @@ }, "type": "object" }, + "Inputs": { + "description": "The inputs with widgets.", + "id": "Inputs", + "properties": { + "dateInput": { + "$ref": "DateInput" + }, + "dateTimeInput": { + "$ref": "DateTimeInput" + }, + "stringInputs": { + "$ref": "StringInputs" + }, + "timeInput": { + "$ref": "TimeInput" + } + }, + "type": "object" + }, "KeyValue": { "description": "A UI element contains a key (label) and a value (content). And this element may also contain some actions such as onclick button.", "id": "KeyValue", @@ -2208,6 +2357,12 @@ "description": "A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).", "type": "string" }, + "lastUpdateTime": { + "description": "Output only. The time at which the message was last updated in Hangouts Chat server. If the message was never updated, this field will be same as create_time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "name": { "type": "string" }, @@ -2369,6 +2524,19 @@ }, "type": "object" }, + "StringInputs": { + "description": "Input parameter for regular widgets. For single-valued widgets, it will be a single value list; for multi-valued widgets, such as checkbox, all the values are presented.", + "id": "StringInputs", + "properties": { + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "TextButton": { "description": "A button with text and onclick action.", "id": "TextButton", @@ -2405,6 +2573,35 @@ }, "type": "object" }, + "TimeInput": { + "description": "Input Parameter for Time Picker widget.", + "id": "TimeInput", + "properties": { + "hours": { + "format": "int32", + "type": "integer" + }, + "minutes": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "TimeZone": { + "description": "The timezone id and offset. The id is the tz database time zones such as \"America/Toronto\". The user timezone offset, in milliseconds, from Coordinated Universal Time (UTC).", + "id": "TimeZone", + "properties": { + "id": { + "type": "string" + }, + "offset": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "User": { "description": "A user in Google Chat.", "id": "User", diff --git a/discovery/googleapis/chromemanagement__v1.json b/discovery/googleapis/chromemanagement__v1.json index 55ec37714..3af5a552f 100644 --- a/discovery/googleapis/chromemanagement__v1.json +++ b/discovery/googleapis/chromemanagement__v1.json @@ -2,6 +2,9 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/chrome.management.appdetails.readonly": { + "description": "See detailed information about apps installed on Chrome browsers and devices managed by your organization" + }, "https://www.googleapis.com/auth/chrome.management.reports.readonly": { "description": "See reports about devices and Chrome browsers managed within your organization" } @@ -105,6 +108,97 @@ "resources": { "customers": { "resources": { + "apps": { + "resources": { + "android": { + "methods": { + "get": { + "description": "Get a specific app for a customer by its resource name.", + "flatPath": "v1/customers/{customersId}/apps/android/{androidId}", + "httpMethod": "GET", + "id": "chromemanagement.customers.apps.android.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The app for which details are being queried. Examples: \"customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2\" for the Save to Google Drive Chrome extension version 2.1.2, \"customers/my_customer/apps/android/com.google.android.apps.docs\" for the Google Drive Android app's latest version.", + "location": "path", + "pattern": "^customers/[^/]+/apps/android/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleChromeManagementV1AppDetails" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.appdetails.readonly" + ] + } + } + }, + "chrome": { + "methods": { + "get": { + "description": "Get a specific app for a customer by its resource name.", + "flatPath": "v1/customers/{customersId}/apps/chrome/{chromeId}", + "httpMethod": "GET", + "id": "chromemanagement.customers.apps.chrome.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The app for which details are being queried. Examples: \"customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2\" for the Save to Google Drive Chrome extension version 2.1.2, \"customers/my_customer/apps/android/com.google.android.apps.docs\" for the Google Drive Android app's latest version.", + "location": "path", + "pattern": "^customers/[^/]+/apps/chrome/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleChromeManagementV1AppDetails" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.appdetails.readonly" + ] + } + } + }, + "web": { + "methods": { + "get": { + "description": "Get a specific app for a customer by its resource name.", + "flatPath": "v1/customers/{customersId}/apps/web/{webId}", + "httpMethod": "GET", + "id": "chromemanagement.customers.apps.web.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The app for which details are being queried. Examples: \"customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2\" for the Save to Google Drive Chrome extension version 2.1.2, \"customers/my_customer/apps/android/com.google.android.apps.docs\" for the Google Drive Android app's latest version.", + "location": "path", + "pattern": "^customers/[^/]+/apps/web/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleChromeManagementV1AppDetails" + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.appdetails.readonly" + ] + } + } + } + } + }, "reports": { "methods": { "countChromeVersions": { @@ -286,9 +380,154 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { + "GoogleChromeManagementV1AndroidAppInfo": { + "description": "Android app information.", + "id": "GoogleChromeManagementV1AndroidAppInfo", + "properties": { + "permissions": { + "description": "Output only. Permissions requested by an Android app.", + "items": { + "$ref": "GoogleChromeManagementV1AndroidAppPermission" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1AndroidAppPermission": { + "description": "Permission requested by an Android app.", + "id": "GoogleChromeManagementV1AndroidAppPermission", + "properties": { + "type": { + "description": "Output only. The type of the permission.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1AppDetails": { + "description": "Resource representing app details.", + "id": "GoogleChromeManagementV1AppDetails", + "properties": { + "androidAppInfo": { + "$ref": "GoogleChromeManagementV1AndroidAppInfo", + "description": "Output only. Android app information.", + "readOnly": true + }, + "appId": { + "description": "Output only. Unique store identifier for the item. Examples: \"gmbmikajjgmnabiglmofipeabaddhgne\" for the Save to Google Drive Chrome extension, \"com.google.android.apps.docs\" for the Google Drive Android app.", + "readOnly": true, + "type": "string" + }, + "chromeAppInfo": { + "$ref": "GoogleChromeManagementV1ChromeAppInfo", + "description": "Output only. Chrome Web Store app information.", + "readOnly": true + }, + "description": { + "description": "Output only. App's description.", + "readOnly": true, + "type": "string" + }, + "detailUri": { + "description": "Output only. The uri for the detail page of the item.", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. App's display name.", + "readOnly": true, + "type": "string" + }, + "firstPublishTime": { + "description": "Output only. First published time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "homepageUri": { + "description": "Output only. Home page or Website uri.", + "readOnly": true, + "type": "string" + }, + "iconUri": { + "description": "Output only. A link to an image that can be used as an icon for the product.", + "readOnly": true, + "type": "string" + }, + "isPaidApp": { + "description": "Output only. Indicates if the app has to be paid for OR has paid content.", + "readOnly": true, + "type": "boolean" + }, + "latestPublishTime": { + "description": "Output only. Latest published time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. Format: name=customers/{customer_id}/apps/{chrome|android|web}/{app_id}@{version}", + "readOnly": true, + "type": "string" + }, + "privacyPolicyUri": { + "description": "Output only. The URI pointing to the privacy policy of the app, if it was provided by the developer. Version-specific field that will only be set when the requested app version is found.", + "readOnly": true, + "type": "string" + }, + "publisher": { + "description": "Output only. The publisher of the item.", + "readOnly": true, + "type": "string" + }, + "reviewNumber": { + "description": "Output only. Number of reviews received. Chrome Web Store review information will always be for the latest version of an app.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "reviewRating": { + "description": "Output only. The rating of the app (on 5 stars). Chrome Web Store review information will always be for the latest version of an app.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "revisionId": { + "description": "Output only. App version. A new revision is committed whenever a new version of the app is published.", + "readOnly": true, + "type": "string" + }, + "serviceError": { + "$ref": "GoogleRpcStatus", + "description": "Output only. Information about a partial service error if applicable.", + "readOnly": true + }, + "type": { + "description": "Output only. App type.", + "enum": [ + "APP_ITEM_TYPE_UNSPECIFIED", + "CHROME", + "ANDROID", + "WEB" + ], + "enumDescriptions": [ + "App type unspecified.", + "Chrome app.", + "ARC++ app.", + "Web app." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1BrowserVersion": { "description": "Describes a browser version and its install count.", "id": "GoogleChromeManagementV1BrowserVersion", @@ -356,6 +595,89 @@ }, "type": "object" }, + "GoogleChromeManagementV1ChromeAppInfo": { + "description": "Chrome Web Store app information.", + "id": "GoogleChromeManagementV1ChromeAppInfo", + "properties": { + "googleOwned": { + "description": "Output only. Whether the app or extension is built and maintained by Google. Version-specific field that will only be set when the requested app version is found.", + "readOnly": true, + "type": "boolean" + }, + "isCwsHosted": { + "description": "Output only. Whether the app or extension is in a published state in the Chrome Web Store.", + "readOnly": true, + "type": "boolean" + }, + "isTheme": { + "description": "Output only. Whether the app or extension is a theme.", + "readOnly": true, + "type": "boolean" + }, + "minUserCount": { + "description": "Output only. The minimum number of users using this app.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "permissions": { + "description": "Output only. Every custom permission requested by the app. Version-specific field that will only be set when the requested app version is found.", + "items": { + "$ref": "GoogleChromeManagementV1ChromeAppPermission" + }, + "readOnly": true, + "type": "array" + }, + "siteAccess": { + "description": "Output only. Every permission giving access to domains or broad host patterns. ( e.g. www.google.com). This includes the matches from content scripts as well as hosts in the permissions node of the manifest. Version-specific field that will only be set when the requested app version is found.", + "items": { + "$ref": "GoogleChromeManagementV1ChromeAppSiteAccess" + }, + "readOnly": true, + "type": "array" + }, + "supportEnabled": { + "description": "Output only. The app developer has enabled support for their app. Version-specific field that will only be set when the requested app version is found.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1ChromeAppPermission": { + "description": "Permission requested by a Chrome app or extension.", + "id": "GoogleChromeManagementV1ChromeAppPermission", + "properties": { + "accessUserData": { + "description": "Output only. If available, whether this permissions grants the app/extension access to user data.", + "readOnly": true, + "type": "boolean" + }, + "documentationUri": { + "description": "Output only. If available, a URI to a page that has documentation for the current permission.", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. The type of the permission.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1ChromeAppSiteAccess": { + "description": "Represent one host permission.", + "id": "GoogleChromeManagementV1ChromeAppSiteAccess", + "properties": { + "hostMatch": { + "description": "Output only. This can contain very specific hosts, or patterns like \"*.com\" for instance.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1CountChromeVersionsResponse": { "description": "Response containing requested browser versions details and counts.", "id": "GoogleChromeManagementV1CountChromeVersionsResponse", @@ -552,6 +874,33 @@ } }, "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/googleapis/chromepolicy__v1.json b/discovery/googleapis/chromepolicy__v1.json index af88e9841..1f1da5474 100644 --- a/discovery/googleapis/chromepolicy__v1.json +++ b/discovery/googleapis/chromepolicy__v1.json @@ -322,7 +322,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "GoogleChromePolicyV1AdditionalTargetKeyName": { @@ -483,6 +483,21 @@ }, "type": "object" }, + "GoogleChromePolicyV1PolicySchemaFieldDependencies": { + "description": "The field and the value it must have for another field to be allowed to be set.", + "id": "GoogleChromePolicyV1PolicySchemaFieldDependencies", + "properties": { + "sourceField": { + "description": "The source field which this field depends on.", + "type": "string" + }, + "sourceFieldValue": { + "description": "The value which the source field must have for this field to be allowed to be set.", + "type": "string" + } + }, + "type": "object" + }, "GoogleChromePolicyV1PolicySchemaFieldDescription": { "description": "Provides detailed information for a particular field that is part of a PolicySchema.", "id": "GoogleChromePolicyV1PolicySchemaFieldDescription", @@ -497,13 +512,21 @@ "readOnly": true, "type": "string" }, + "fieldDependencies": { + "description": "Output only. Provides a list of fields and the values they must have for this field to be allowed to be set.", + "items": { + "$ref": "GoogleChromePolicyV1PolicySchemaFieldDependencies" + }, + "readOnly": true, + "type": "array" + }, "inputConstraint": { "description": "Output only. Any input constraints associated on the values for the field.", "readOnly": true, "type": "string" }, "knownValueDescriptions": { - "description": "Output only. If the field has a set of know values, this field will provide a description for these values.", + "description": "Output only. If the field has a set of known values, this field will provide a description for these values.", "items": { "$ref": "GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription" }, diff --git a/discovery/googleapis/chromeuxreport__v1.json b/discovery/googleapis/chromeuxreport__v1.json index f848d2a41..3bbf98a41 100644 --- a/discovery/googleapis/chromeuxreport__v1.json +++ b/discovery/googleapis/chromeuxreport__v1.json @@ -114,7 +114,7 @@ } } }, - "revision": "20210721", + "revision": "20210902", "rootUrl": "https://chromeuxreport.googleapis.com/", "schemas": { "Bin": { diff --git a/discovery/googleapis/civicinfo__v2.json b/discovery/googleapis/civicinfo__v2.json index 2359825f6..41aa3549f 100644 --- a/discovery/googleapis/civicinfo__v2.json +++ b/discovery/googleapis/civicinfo__v2.json @@ -351,7 +351,7 @@ } } }, - "revision": "20210629", + "revision": "20210809", "rootUrl": "https://civicinfo.googleapis.com/", "schemas": { "AdministrationRegion": { diff --git a/discovery/googleapis/classroom__v1.json b/discovery/googleapis/classroom__v1.json index b7a84a117..8c20249fd 100644 --- a/discovery/googleapis/classroom__v1.json +++ b/discovery/googleapis/classroom__v1.json @@ -1639,7 +1639,7 @@ ] }, "delete": { - "description": "Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course.", + "description": "Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course. * `FAILED_PRECONDITION` if the requested ID belongs to the owner of the course Drive folder. * `FAILED_PRECONDITION` if the course no longer has an active owner.", "flatPath": "v1/courses/{courseId}/teachers/{userId}", "httpMethod": "DELETE", "id": "classroom.courses.teachers.delete", @@ -2398,7 +2398,7 @@ } } }, - "revision": "20210719", + "revision": "20210831", "rootUrl": "https://classroom.googleapis.com/", "schemas": { "Announcement": { diff --git a/discovery/googleapis/cloudasset__v1.json b/discovery/googleapis/cloudasset__v1.json index df3c75ed3..e81030d2a 100644 --- a/discovery/googleapis/cloudasset__v1.json +++ b/discovery/googleapis/cloudasset__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -128,7 +128,8 @@ "IAM_POLICY", "ORG_POLICY", "ACCESS_POLICY", - "OS_INVENTORY" + "OS_INVENTORY", + "RELATIONSHIP" ], "enumDescriptions": [ "Unspecified content type.", @@ -136,7 +137,8 @@ "The actual IAM policy set on a resource.", "The Cloud Organization Policy set on an asset.", "The Cloud Access context manager Policy set on an asset.", - "The runtime OS Inventory information." + "The runtime OS Inventory information.", + "The related resources." ], "location": "query", "type": "string" @@ -164,6 +166,12 @@ "format": "google-datetime", "location": "query", "type": "string" + }, + "relationshipTypes": { + "description": "A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", + "location": "query", + "repeated": true, + "type": "string" } }, "path": "v1/{+parent}/assets", @@ -432,7 +440,7 @@ ] }, "analyzeIamPolicyLongrunning": { - "description": "Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the request to help callers to map responses to requests.", + "description": "Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.", "flatPath": "v1/{v1Id}/{v1Id1}:analyzeIamPolicyLongrunning", "httpMethod": "POST", "id": "cloudasset.analyzeIamPolicyLongrunning", @@ -527,7 +535,8 @@ "IAM_POLICY", "ORG_POLICY", "ACCESS_POLICY", - "OS_INVENTORY" + "OS_INVENTORY", + "RELATIONSHIP" ], "enumDescriptions": [ "Unspecified content type.", @@ -535,7 +544,8 @@ "The actual IAM policy set on a resource.", "The Cloud Organization Policy set on an asset.", "The Cloud Access context manager Policy set on an asset.", - "The runtime OS Inventory information." + "The runtime OS Inventory information.", + "The related resources." ], "location": "query", "type": "string" @@ -558,6 +568,12 @@ "format": "google-datetime", "location": "query", "type": "string" + }, + "relationshipTypes": { + "description": "Optional. A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationships' history on the [asset_names]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or if any of the [asset_names]'s types doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships' history on the [asset_names] or returns an error if any of the [asset_names]'s types has no relationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", + "location": "query", + "repeated": true, + "type": "string" } }, "path": "v1/{+parent}:batchGetAssetsHistory", @@ -709,7 +725,7 @@ } } }, - "revision": "20210709", + "revision": "20210827", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -733,6 +749,19 @@ }, "type": "object" }, + "AnalyzeIamPolicyLongrunningMetadata": { + "description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning rpc.", + "id": "AnalyzeIamPolicyLongrunningMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "AnalyzeIamPolicyLongrunningRequest": { "description": "A request message for AssetService.AnalyzeIamPolicyLongrunning.", "id": "AnalyzeIamPolicyLongrunningRequest", @@ -832,6 +861,10 @@ "$ref": "Inventory", "description": "A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information." }, + "relatedAssets": { + "$ref": "RelatedAssets", + "description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." + }, "resource": { "$ref": "Resource", "description": "A representation of the resource." @@ -1027,6 +1060,28 @@ }, "type": "object" }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", "id": "Empty", @@ -1066,7 +1121,8 @@ "IAM_POLICY", "ORG_POLICY", "ACCESS_POLICY", - "OS_INVENTORY" + "OS_INVENTORY", + "RELATIONSHIP" ], "enumDescriptions": [ "Unspecified content type.", @@ -1074,7 +1130,8 @@ "The actual IAM policy set on a resource.", "The Cloud Organization Policy set on an asset.", "The Cloud Access context manager Policy set on an asset.", - "The runtime OS Inventory information." + "The runtime OS Inventory information.", + "The related resources." ], "type": "string" }, @@ -1086,6 +1143,13 @@ "description": "Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.", "format": "google-datetime", "type": "string" + }, + "relationshipTypes": { + "description": "A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -1143,7 +1207,8 @@ "IAM_POLICY", "ORG_POLICY", "ACCESS_POLICY", - "OS_INVENTORY" + "OS_INVENTORY", + "RELATIONSHIP" ], "enumDescriptions": [ "Unspecified content type.", @@ -1151,7 +1216,8 @@ "The actual IAM policy set on a resource.", "The Cloud Organization Policy set on an asset.", "The Cloud Access context manager Policy set on an asset.", - "The runtime OS Inventory information." + "The runtime OS Inventory information.", + "The related resources." ], "type": "string" }, @@ -1162,6 +1228,13 @@ "name": { "description": "Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.", "type": "string" + }, + "relationshipTypes": { + "description": "A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -1626,7 +1699,7 @@ "type": "string" }, "name": { - "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length of the `short_name` component is 50 characters.", + "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.", "type": "string" }, "title": { @@ -1645,7 +1718,7 @@ "type": "string" }, "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", + "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", "type": "string" }, "parent": { @@ -2036,7 +2109,7 @@ "type": "string" }, "name": { - "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`", + "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`", "type": "string" }, "perimeterType": { @@ -2342,7 +2415,7 @@ "type": "object" }, "Inventory": { - "description": "The inventory details of a VM.", + "description": "This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).", "id": "Inventory", "properties": { "items": { @@ -2352,9 +2425,20 @@ "description": "Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.", "type": "object" }, + "name": { + "description": "Output only. The `Inventory` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`", + "readOnly": true, + "type": "string" + }, "osInfo": { "$ref": "OsInfo", "description": "Base level operating system information for the VM." + }, + "updateTime": { + "description": "Output only. Timestamp of the last reported inventory for the VM.", + "format": "google-datetime", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -2657,7 +2741,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2698,6 +2782,98 @@ }, "type": "object" }, + "RelatedAsset": { + "description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "id": "RelatedAsset", + "properties": { + "ancestors": { + "description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", + "items": { + "type": "string" + }, + "type": "array" + }, + "asset": { + "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", + "type": "string" + }, + "assetType": { + "description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "type": "string" + } + }, + "type": "object" + }, + "RelatedAssets": { + "description": "The detailed related assets with the `relationship_type`.", + "id": "RelatedAssets", + "properties": { + "assets": { + "description": "The peer resources of the relationship.", + "items": { + "$ref": "RelatedAsset" + }, + "type": "array" + }, + "relationshipAttributes": { + "$ref": "RelationshipAttributes", + "description": "The detailed relationship attributes." + } + }, + "type": "object" + }, + "RelatedResource": { + "description": "The detailed related resource.", + "id": "RelatedResource", + "properties": { + "assetType": { + "description": "The type of the asset. Example: `compute.googleapis.com/Instance`", + "type": "string" + }, + "fullResourceName": { + "description": "The full resource name of the related resource. Example: `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`", + "type": "string" + } + }, + "type": "object" + }, + "RelatedResources": { + "description": "The related resources of the primary resource.", + "id": "RelatedResources", + "properties": { + "relatedResources": { + "description": "The detailed related resources of the primary resource.", + "items": { + "$ref": "RelatedResource" + }, + "type": "array" + } + }, + "type": "object" + }, + "RelationshipAttributes": { + "description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", + "id": "RelationshipAttributes", + "properties": { + "action": { + "description": "The detail of the relationship, e.g. `contains`, `attaches`", + "type": "string" + }, + "sourceResourceType": { + "description": "The source asset type. Example: `compute.googleapis.com/Instance`", + "type": "string" + }, + "targetResourceType": { + "description": "The target asset type. Example: `compute.googleapis.com/Disk`", + "type": "string" + }, + "type": { + "description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", + "type": "string" + } + }, + "type": "object" + }, "Resource": { "description": "A representation of a Google Cloud resource.", "id": "Resource", @@ -2822,6 +2998,13 @@ "description": "The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * use a field query. Example: `project:12345` * use a free text query. Example: `12345` * specify the `scope` field as this project in your search request.", "type": "string" }, + "relationships": { + "additionalProperties": { + "$ref": "RelatedResources" + }, + "description": "A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).", + "type": "object" + }, "state": { "description": "The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's proto contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * use a field query. Example: `state:RUNNING` * use a free text query. Example: `RUNNING`", "type": "string" @@ -2908,6 +3091,10 @@ "$ref": "WindowsQuickFixEngineeringPackage", "description": "Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering." }, + "windowsApplication": { + "$ref": "WindowsApplication", + "description": "Details of Windows Application." + }, "wuaPackage": { "$ref": "WindowsUpdatePackage", "description": "Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update." @@ -3066,6 +3253,33 @@ }, "type": "object" }, + "WindowsApplication": { + "description": "Contains information about a Windows application as retrieved from the Windows Registry. For more information about these fields, see [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: class=\"external\" }", + "id": "WindowsApplication", + "properties": { + "displayName": { + "description": "The name of the application or product.", + "type": "string" + }, + "displayVersion": { + "description": "The version of the product or application in string format.", + "type": "string" + }, + "helpLink": { + "description": "The internet address for technical support.", + "type": "string" + }, + "installDate": { + "$ref": "Date", + "description": "The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product." + }, + "publisher": { + "description": "The name of the manufacturer for the product or application.", + "type": "string" + } + }, + "type": "object" + }, "WindowsQuickFixEngineeringPackage": { "description": "Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering", "id": "WindowsQuickFixEngineeringPackage", diff --git a/discovery/googleapis/cloudbilling__v1.json b/discovery/googleapis/cloudbilling__v1.json index 567242958..d87148952 100644 --- a/discovery/googleapis/cloudbilling__v1.json +++ b/discovery/googleapis/cloudbilling__v1.json @@ -9,7 +9,7 @@ "description": "View your Google Cloud Platform billing accounts" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -519,7 +519,7 @@ } } }, - "revision": "20210322", + "revision": "20210827", "rootUrl": "https://cloudbilling.googleapis.com/", "schemas": { "AggregationInfo": { @@ -825,7 +825,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json index 68b5eb5a9..32e094543 100644 --- a/discovery/googleapis/cloudbuild__v1.json +++ b/discovery/googleapis/cloudbuild__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -164,6 +164,34 @@ "resources": { "builds": { "methods": { + "approve": { + "description": "Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.", + "flatPath": "v1/projects/{projectsId}/builds/{buildsId}:approve", + "httpMethod": "POST", + "id": "cloudbuild.projects.builds.approve", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the target build. For example: \"projects/{$project_id}/builds/{$build_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:approve", + "request": { + "$ref": "ApproveBuildRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "cancel": { "description": "Cancels a build in progress.", "flatPath": "v1/projects/{projectId}/builds/{id}:cancel", @@ -347,10 +375,209 @@ } } }, + "githubEnterpriseConfigs": { + "methods": { + "create": { + "description": "Create an association between a GCP project and a GitHub Enterprise server. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs", + "httpMethod": "POST", + "id": "cloudbuild.projects.githubEnterpriseConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/githubEnterpriseConfigs", + "request": { + "$ref": "GitHubEnterpriseConfig" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an association between a GCP project and a GitHub Enterprise server. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", + "httpMethod": "DELETE", + "id": "cloudbuild.projects.githubEnterpriseConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "configId": { + "description": "Unique identifier of the `GitHubEnterpriseConfig`", + "location": "query", + "type": "string" + }, + "name": { + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Retrieve a GitHubEnterpriseConfig. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", + "httpMethod": "GET", + "id": "cloudbuild.projects.githubEnterpriseConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "configId": { + "description": "Unique identifier of the `GitHubEnterpriseConfig`", + "location": "query", + "type": "string" + }, + "name": { + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GitHubEnterpriseConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all GitHubEnterpriseConfigs for a given project. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs", + "httpMethod": "GET", + "id": "cloudbuild.projects.githubEnterpriseConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/githubEnterpriseConfigs", + "response": { + "$ref": "ListGithubEnterpriseConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update an association between a GCP project and a GitHub Enterprise server. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", + "httpMethod": "PATCH", + "id": "cloudbuild.projects.githubEnterpriseConfigs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GitHubEnterpriseConfig" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "locations": { "resources": { "builds": { "methods": { + "approve": { + "description": "Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:approve", + "httpMethod": "POST", + "id": "cloudbuild.projects.locations.builds.approve", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the target build. For example: \"projects/{$project_id}/builds/{$build_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:approve", + "request": { + "$ref": "ApproveBuildRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "cancel": { "description": "Cancels a build in progress.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:cancel", @@ -473,46 +700,217 @@ "type": "string" }, "parent": { - "description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`", + "description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Required. ID of the project.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/builds", + "response": { + "$ref": "ListBuildsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "retry": { + "description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:retry", + "httpMethod": "POST", + "id": "cloudbuild.projects.locations.builds.retry", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the `Build` to retry. Format: `projects/{project}/locations/{location}/builds/{build}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:retry", + "request": { + "$ref": "RetryBuildRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "githubEnterpriseConfigs": { + "methods": { + "create": { + "description": "Create an association between a GCP project and a GitHub Enterprise server. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs", + "httpMethod": "POST", + "id": "cloudbuild.projects.locations.githubEnterpriseConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/githubEnterpriseConfigs", + "request": { + "$ref": "GitHubEnterpriseConfig" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an association between a GCP project and a GitHub Enterprise server. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", + "httpMethod": "DELETE", + "id": "cloudbuild.projects.locations.githubEnterpriseConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "configId": { + "description": "Unique identifier of the `GitHubEnterpriseConfig`", + "location": "query", + "type": "string" + }, + "name": { + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Retrieve a GitHubEnterpriseConfig. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", + "httpMethod": "GET", + "id": "cloudbuild.projects.locations.githubEnterpriseConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "configId": { + "description": "Unique identifier of the `GitHubEnterpriseConfig`", + "location": "query", + "type": "string" + }, + "name": { + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "ID of the project", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GitHubEnterpriseConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all GitHubEnterpriseConfigs for a given project. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs", + "httpMethod": "GET", + "id": "cloudbuild.projects.locations.githubEnterpriseConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "projectId": { - "description": "Required. ID of the project.", + "description": "ID of the project", "location": "query", "type": "string" } }, - "path": "v1/{+parent}/builds", + "path": "v1/{+parent}/githubEnterpriseConfigs", "response": { - "$ref": "ListBuildsResponse" + "$ref": "ListGithubEnterpriseConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, - "retry": { - "description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:retry", - "httpMethod": "POST", - "id": "cloudbuild.projects.locations.builds.retry", + "patch": { + "description": "Update an association between a GCP project and a GitHub Enterprise server. This API is experimental.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", + "httpMethod": "PATCH", + "id": "cloudbuild.projects.locations.githubEnterpriseConfigs.patch", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "The name of the `Build` to retry. Format: `projects/{project}/locations/{location}/builds/{build}`", + "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, "type": "string" + }, + "updateMask": { + "description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", + "format": "google-fieldmask", + "location": "query", + "type": "string" } }, - "path": "v1/{+name}:retry", + "path": "v1/{+name}", "request": { - "$ref": "RetryBuildRequest" + "$ref": "GitHubEnterpriseConfig" }, "response": { "$ref": "Operation" @@ -1281,11 +1679,98 @@ } } } + }, + "v1": { + "methods": { + "webhook": { + "description": "ReceiveWebhook is called when the API receives a GitHub webhook.", + "flatPath": "v1/webhook", + "httpMethod": "POST", + "id": "cloudbuild.webhook", + "parameterOrder": [], + "parameters": { + "webhookKey": { + "description": "For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.", + "location": "query", + "type": "string" + } + }, + "path": "v1/webhook", + "request": { + "$ref": "HttpBody" + }, + "response": { + "$ref": "Empty" + } + } + } } }, - "revision": "20210715", + "revision": "20210819", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { + "ApprovalConfig": { + "description": "ApprovalConfig describes configuration for manual approval of a build.", + "id": "ApprovalConfig", + "properties": { + "approvalRequired": { + "description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", + "type": "boolean" + } + }, + "type": "object" + }, + "ApprovalResult": { + "description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", + "id": "ApprovalResult", + "properties": { + "approvalTime": { + "description": "Output only. The time when the approval decision was made.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "approverAccount": { + "description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", + "readOnly": true, + "type": "string" + }, + "comment": { + "description": "Optional. An optional comment for this manual approval result.", + "type": "string" + }, + "decision": { + "description": "Required. The decision of this manual approval.", + "enum": [ + "DECISION_UNSPECIFIED", + "APPROVED", + "REJECTED" + ], + "enumDescriptions": [ + "Default enum type. This should not be used.", + "Build is approved.", + "Build is rejected." + ], + "type": "string" + }, + "url": { + "description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", + "type": "string" + } + }, + "type": "object" + }, + "ApproveBuildRequest": { + "description": "Request to approve or reject a pending build.", + "id": "ApproveBuildRequest", + "properties": { + "approvalResult": { + "$ref": "ApprovalResult", + "description": "Approval decision and metadata." + } + }, + "type": "object" + }, "ArtifactObjects": { "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", "id": "ArtifactObjects", @@ -1346,9 +1831,14 @@ "type": "object" }, "Build": { - "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", + "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", "id": "Build", "properties": { + "approval": { + "$ref": "BuildApproval", + "description": "Output only. Describes this build's approval configuration, status, and result.", + "readOnly": true + }, "artifacts": { "$ref": "Artifacts", "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." @@ -1454,6 +1944,7 @@ "description": "Output only. Status of the build.", "enum": [ "STATUS_UNKNOWN", + "PENDING", "QUEUED", "WORKING", "SUCCESS", @@ -1465,6 +1956,7 @@ ], "enumDescriptions": [ "Status of the build is unknown.", + "Build has been created and is pending execution and queuing. It has not been queued.", "Build or step is queued; work has not yet begun.", "Build or step is being executed.", "Build or step finished successfully.", @@ -1512,7 +2004,7 @@ "additionalProperties": { "$ref": "TimeSpan" }, - "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.", + "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", "readOnly": true, "type": "object" }, @@ -1527,6 +2019,42 @@ }, "type": "object" }, + "BuildApproval": { + "description": "BuildApproval describes a build's approval configuration, state, and result.", + "id": "BuildApproval", + "properties": { + "config": { + "$ref": "ApprovalConfig", + "description": "Output only. Configuration for manual approval of this build.", + "readOnly": true + }, + "result": { + "$ref": "ApprovalResult", + "description": "Output only. Result of manual approval for this Build.", + "readOnly": true + }, + "state": { + "description": "Output only. The state of this build's approval.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "APPROVED", + "REJECTED", + "CANCELLED" + ], + "enumDescriptions": [ + "Default enum type. This should not be used.", + "Build approval is pending.", + "Build approval has been approved.", + "Build approval has been rejected.", + "Build was cancelled while it was still pending approval." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "BuildOperationMetadata": { "description": "Metadata for build operations.", "id": "BuildOperationMetadata", @@ -1715,6 +2243,10 @@ "description": "Output only. Stores timing information for pulling this build step's builder image only.", "readOnly": true }, + "script": { + "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", + "type": "string" + }, "secretEnv": { "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", "items": { @@ -1726,6 +2258,7 @@ "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", "enum": [ "STATUS_UNKNOWN", + "PENDING", "QUEUED", "WORKING", "SUCCESS", @@ -1737,6 +2270,7 @@ ], "enumDescriptions": [ "Status of the build is unknown.", + "Build has been created and is pending execution and queuing. It has not been queued.", "Build or step is queued; work has not yet begun.", "Build or step is being executed.", "Build or step finished successfully.", @@ -1780,6 +2314,10 @@ "description": "Configuration for an automated build in response to source repository changes.", "id": "BuildTrigger", "properties": { + "approvalConfig": { + "$ref": "ApprovalConfig", + "description": "Configuration for manual approval to start a build invocation of this BuildTrigger." + }, "autodetect": { "description": "Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.", "type": "boolean" @@ -1807,9 +2345,13 @@ "type": "string" }, "filter": { - "description": "Optional. A Common Expression Language string.", + "description": "A Common Expression Language string.", "type": "string" }, + "gitFileSource": { + "$ref": "GitFileSource", + "description": "The file source describing the local or remote Build template." + }, "github": { "$ref": "GitHubEventsConfig", "description": "GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with `trigger_template`." @@ -1845,6 +2387,10 @@ "description": "The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.", "type": "string" }, + "serviceAccount": { + "description": "The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`", + "type": "string" + }, "sourceToBuild": { "$ref": "GitRepoSource", "description": "The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers." @@ -1919,6 +2465,27 @@ "properties": {}, "type": "object" }, + "CreateGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `CreateGithubEnterpriseConfig` operation.", + "id": "CreateGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, "CreateWorkerPoolOperationMetadata": { "description": "Metadata for the `CreateWorkerPool` operation.", "id": "CreateWorkerPoolOperationMetadata", @@ -1940,6 +2507,27 @@ }, "type": "object" }, + "DeleteGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", + "id": "DeleteGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, "DeleteWorkerPoolOperationMetadata": { "description": "Metadata for the `DeleteWorkerPool` operation.", "id": "DeleteWorkerPoolOperationMetadata", @@ -2014,10 +2602,132 @@ }, "type": "object" }, + "GitFileSource": { + "description": "GitFileSource describes a file within a (possibly remote) code repository.", + "id": "GitFileSource", + "properties": { + "path": { + "description": "The path of the file, with the repo root as the root of the path.", + "type": "string" + }, + "repoType": { + "description": "See RepoType above.", + "enum": [ + "UNKNOWN", + "CLOUD_SOURCE_REPOSITORIES", + "GITHUB" + ], + "enumDescriptions": [ + "The default, unknown repo type.", + "A Google Cloud Source Repositories-hosted repo.", + "A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise)." + ], + "type": "string" + }, + "revision": { + "description": "The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.", + "type": "string" + }, + "uri": { + "description": "The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.", + "type": "string" + } + }, + "type": "object" + }, + "GitHubEnterpriseConfig": { + "description": "GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.", + "id": "GitHubEnterpriseConfig", + "properties": { + "appId": { + "description": "Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.", + "format": "int64", + "type": "string" + }, + "createTime": { + "description": "Output only. Time when the installation was associated with the project.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Name to display for this config.", + "type": "string" + }, + "hostUrl": { + "description": "The URL of the github enterprise host the configuration is for.", + "type": "string" + }, + "name": { + "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "type": "string" + }, + "peeredNetwork": { + "description": "Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.", + "type": "string" + }, + "secrets": { + "$ref": "GitHubEnterpriseSecrets", + "description": "Names of secrets in Secret Manager." + }, + "sslCa": { + "description": "Optional. SSL certificate to use for requests to GitHub Enterprise.", + "type": "string" + }, + "webhookKey": { + "description": "The key that should be attached to webhook calls to the ReceiveWebhook endpoint.", + "type": "string" + } + }, + "type": "object" + }, + "GitHubEnterpriseSecrets": { + "description": "GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.", + "id": "GitHubEnterpriseSecrets", + "properties": { + "oauthClientIdName": { + "description": "The resource name for the OAuth client ID secret in Secret Manager.", + "type": "string" + }, + "oauthClientIdVersionName": { + "description": "The resource name for the OAuth client ID secret version in Secret Manager.", + "type": "string" + }, + "oauthSecretName": { + "description": "The resource name for the OAuth secret in Secret Manager.", + "type": "string" + }, + "oauthSecretVersionName": { + "description": "The resource name for the OAuth secret secret version in Secret Manager.", + "type": "string" + }, + "privateKeyName": { + "description": "The resource name for the private key secret.", + "type": "string" + }, + "privateKeyVersionName": { + "description": "The resource name for the private key secret version.", + "type": "string" + }, + "webhookSecretName": { + "description": "The resource name for the webhook secret in Secret Manager.", + "type": "string" + }, + "webhookSecretVersionName": { + "description": "The resource name for the webhook secret secret version in Secret Manager.", + "type": "string" + } + }, + "type": "object" + }, "GitHubEventsConfig": { - "description": "GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. This message is experimental.", + "description": "GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.", "id": "GitHubEventsConfig", "properties": { + "enterpriseConfigResourceName": { + "description": "Optional. The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "type": "string" + }, "installationId": { "description": "The installationID that emits the GitHub event.", "format": "int64", @@ -2234,6 +2944,20 @@ }, "type": "object" }, + "ListGithubEnterpriseConfigsResponse": { + "description": "RPC response object returned by ListGithubEnterpriseConfigs RPC method.", + "id": "ListGithubEnterpriseConfigsResponse", + "properties": { + "configs": { + "description": "A list of GitHubEnterpriseConfigs", + "items": { + "$ref": "GitHubEnterpriseConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "ListWorkerPoolsResponse": { "description": "Response containing existing `WorkerPools`.", "id": "ListWorkerPoolsResponse", @@ -2435,7 +3159,7 @@ "type": "string" }, "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, @@ -2495,6 +3219,27 @@ }, "type": "object" }, + "ProcessAppManifestCallbackOperationMetadata": { + "description": "Metadata for `ProcessAppManifestCallback` operation.", + "id": "ProcessAppManifestCallbackOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, "PubsubConfig": { "description": "PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.", "id": "PubsubConfig", @@ -2939,6 +3684,27 @@ }, "type": "object" }, + "UpdateGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", + "id": "UpdateGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, "UpdateWorkerPoolOperationMetadata": { "description": "Metadata for the `UpdateWorkerPool` operation.", "id": "UpdateWorkerPoolOperationMetadata", diff --git a/discovery/googleapis/cloudchannel__v1.json b/discovery/googleapis/cloudchannel__v1.json index 13dc1812f..f82214e6a 100644 --- a/discovery/googleapis/cloudchannel__v1.json +++ b/discovery/googleapis/cloudchannel__v1.json @@ -12,7 +12,7 @@ "baseUrl": "https://cloudchannel.googleapis.com/", "batchPath": "batch", "canonicalName": "Cloudchannel", - "description": "", + "description": "The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/channel", "icons": { @@ -514,6 +514,34 @@ "https://www.googleapis.com/auth/apps.order" ] }, + "import": { + "description": "Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.", + "flatPath": "v1/accounts/{accountsId}/channelPartnerLinks/{channelPartnerLinksId}/customers:import", + "httpMethod": "POST", + "id": "cloudchannel.accounts.channelPartnerLinks.customers.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}", + "location": "path", + "pattern": "^accounts/[^/]+/channelPartnerLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/customers:import", + "request": { + "$ref": "GoogleCloudChannelV1ImportCustomerRequest" + }, + "response": { + "$ref": "GoogleCloudChannelV1Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.order" + ] + }, "list": { "description": "List Customers. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of Customers, or an empty list if there are no customers.", "flatPath": "v1/accounts/{accountsId}/channelPartnerLinks/{channelPartnerLinksId}/customers", @@ -668,6 +696,34 @@ "https://www.googleapis.com/auth/apps.order" ] }, + "import": { + "description": "Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.", + "flatPath": "v1/accounts/{accountsId}/customers:import", + "httpMethod": "POST", + "id": "cloudchannel.accounts.customers.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/customers:import", + "request": { + "$ref": "GoogleCloudChannelV1ImportCustomerRequest" + }, + "response": { + "$ref": "GoogleCloudChannelV1Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.order" + ] + }, "list": { "description": "List Customers. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of Customers, or an empty list if there are no customers.", "flatPath": "v1/accounts/{accountsId}/customers", @@ -1531,7 +1587,7 @@ } } }, - "revision": "20210717", + "revision": "20210903", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -2218,6 +2274,37 @@ }, "type": "object" }, + "GoogleCloudChannelV1ImportCustomerRequest": { + "description": "Request message for CloudChannelService.ImportCustomer", + "id": "GoogleCloudChannelV1ImportCustomerRequest", + "properties": { + "authToken": { + "description": "Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.", + "type": "string" + }, + "channelPartnerId": { + "description": "Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.", + "type": "string" + }, + "cloudIdentityId": { + "description": "Required. Customer's Cloud Identity ID", + "type": "string" + }, + "customer": { + "description": "Optional. Specifies the customer that will receive imported Cloud Identity information. Format: accounts/{account_id}/customers/{customer_id}", + "type": "string" + }, + "domain": { + "description": "Required. Customer domain.", + "type": "string" + }, + "overwriteIfExists": { + "description": "Required. Choose to overwrite an existing customer if found. This must be set to true if there is an existing customer with a conflicting region code or domain.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudChannelV1ListChannelPartnerLinksResponse": { "description": "Response message for CloudChannelService.ListChannelPartnerLinks.", "id": "GoogleCloudChannelV1ListChannelPartnerLinksResponse", diff --git a/discovery/googleapis/clouddebugger__v2.json b/discovery/googleapis/clouddebugger__v2.json index d9ed0ef1e..5edf9c216 100644 --- a/discovery/googleapis/clouddebugger__v2.json +++ b/discovery/googleapis/clouddebugger__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud_debugger": { "description": "Use Stackdriver Debugger" @@ -446,7 +446,7 @@ } } }, - "revision": "20210716", + "revision": "20210826", "rootUrl": "https://clouddebugger.googleapis.com/", "schemas": { "AliasContext": { diff --git a/discovery/googleapis/cloudfunctions__v1.json b/discovery/googleapis/cloudfunctions__v1.json index 45d863557..eb3f366bb 100644 --- a/discovery/googleapis/cloudfunctions__v1.json +++ b/discovery/googleapis/cloudfunctions__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -544,7 +544,7 @@ } } }, - "revision": "20210715", + "revision": "20210825", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -668,8 +668,13 @@ "readOnly": true, "type": "string" }, + "buildName": { + "description": "Output only. The Cloud Build Name of the function deployment. `projects//locations//builds/`.", + "readOnly": true, + "type": "string" + }, "buildWorkerPool": { - "description": "Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.", + "description": "Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.", "type": "string" }, "description": { @@ -723,16 +728,21 @@ "format": "int32", "type": "integer" }, + "minInstances": { + "description": "A lower bound for the number function instances that may coexist at a given time.", + "format": "int32", + "type": "integer" + }, "name": { "description": "A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`", "type": "string" }, "network": { - "description": "The VPC Network that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network resource. If the short network name is used, the network must belong to the same project. Otherwise, it must belong to a project within the same organization. The format of this field is either `projects/{project}/global/networks/{network}` or `{network}`, where {project} is a project id where the network is defined, and {network} is the short name of the network. This field is mutually exclusive with `vpc_connector` and will be replaced by it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.", + "description": "The VPC Network that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network resource. If the short network name is used, the network must belong to the same project. Otherwise, it must belong to a project within the same organization. The format of this field is either `projects/{project}/global/networks/{network}` or `{network}`, where `{project}` is a project id where the network is defined, and `{network}` is the short name of the network. This field is mutually exclusive with `vpc_connector` and will be replaced by it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.", "type": "string" }, "runtime": { - "description": "The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](/sdk/gcloud/reference/functions/deploy#--runtime).", + "description": "The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).", "type": "string" }, "secretEnvironmentVariables": { @@ -754,7 +764,7 @@ "type": "string" }, "sourceArchiveUrl": { - "description": "The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.", + "description": "The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.", "type": "string" }, "sourceRepository": { @@ -766,7 +776,7 @@ "type": "string" }, "sourceUploadUrl": { - "description": "The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl", + "description": "The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)", "type": "string" }, "status": { @@ -1090,7 +1100,7 @@ "type": "string" }, "buildName": { - "description": "The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects//locations//builds/.", + "description": "The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`.", "type": "string" }, "request": { @@ -1106,7 +1116,7 @@ "type": "string" }, "target": { - "description": "Target of the operation - for example projects/project-1/locations/region-1/functions/function-1", + "description": "Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`", "type": "string" }, "type": { @@ -1139,7 +1149,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/cloudidentity__v1.json b/discovery/googleapis/cloudidentity__v1.json index eaf0177ca..887468422 100644 --- a/discovery/googleapis/cloudidentity__v1.json +++ b/discovery/googleapis/cloudidentity__v1.json @@ -12,7 +12,7 @@ "description": "See any Cloud Identity Groups that you can access, including group members and their emails" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -124,7 +124,7 @@ ], "parameters": { "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique ID assigned to the Device.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device.", "location": "path", "pattern": "^devices/[^/]+$", "required": true, @@ -147,7 +147,7 @@ "parameterOrder": [], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } @@ -170,12 +170,12 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique ID assigned to the Device.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device.", "location": "path", "pattern": "^devices/[^/]+$", "required": true, @@ -197,12 +197,12 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in the format: `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in the format: `devices/{device_id}`, where device_id is the unique ID assigned to the Device.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in the format: `devices/{device}`, where device is the unique ID assigned to the Device.", "location": "path", "pattern": "^devices/[^/]+$", "required": true, @@ -222,7 +222,7 @@ "parameterOrder": [], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer in the format: `customers/{customer_id}`, where customer_id is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, @@ -278,7 +278,7 @@ ], "parameters": { "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+$", "required": true, @@ -307,7 +307,7 @@ ], "parameters": { "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "required": true, @@ -332,7 +332,7 @@ ], "parameters": { "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "required": true, @@ -357,7 +357,7 @@ ], "parameters": { "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "required": true, @@ -382,12 +382,12 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "required": true, @@ -409,12 +409,12 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "required": true, @@ -436,7 +436,7 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, @@ -535,7 +535,7 @@ ], "parameters": { "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "required": true, @@ -564,12 +564,12 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "name": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device_id}/deviceUsers/{device_user_id}/clientStates/{partner_id}`, where `device_id` is the unique ID assigned to the Device, `device_user_id` is the unique ID assigned to the User and `partner_id` identifies the partner storing the data. To get the client state for devices belonging to your own organization, the `partnerId` is in the format: `customerId-*anystring*`. Where the `customerId` is your organization's customer ID and `anystring` is any suffix. This suffix is used in setting up Custom Access Levels in Context-Aware Access. You may use `my_customer` instead of the customer ID for devices managed by your own organization. You may specify `-` in place of the `{device_id}`, so the ClientState resource name can be: `devices/-/deviceUsers/{device_user_resource_id}/clientStates/{partner_id}`.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientStates/{partner}`, where `device` is the unique ID assigned to the Device, `device_user` is the unique ID assigned to the User and `partner` identifies the partner storing the data. To get the client state for devices belonging to your own organization, the `partnerId` is in the format: `customerId-*anystring*`. Where the `customerId` is your organization's customer ID and `anystring` is any suffix. This suffix is used in setting up Custom Access Levels in Context-Aware Access. You may use `my_customer` instead of the customer ID for devices managed by your own organization. You may specify `-` in place of the `{device}`, so the ClientState resource name can be: `devices/-/deviceUsers/{device_user_resource}/clientStates/{partner}`.", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$", "required": true, @@ -591,7 +591,7 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, @@ -633,12 +633,12 @@ ], "parameters": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "name": { - "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}`, where partner_id corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer_id}-suffix`, where `customer_id` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", + "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", "location": "path", "pattern": "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$", "required": true, @@ -712,7 +712,7 @@ ], "parameters": { "name": { - "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group_id}`.", + "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -738,7 +738,7 @@ ], "parameters": { "name": { - "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group_id}`.", + "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -774,7 +774,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn').", + "description": "Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer}` for Google Groups. The `customer` must begin with \"C\" (for example, 'C046psxkn').", "location": "query", "type": "string" }, @@ -817,7 +817,7 @@ "type": "string" }, "groupKey.namespace": { - "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.", + "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", "location": "query", "type": "string" } @@ -842,14 +842,14 @@ ], "parameters": { "name": { - "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.", + "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. The names of fields to update. May only contain the following fields: `display_name`, `description`, `labels`.", + "description": "Required. The names of fields to update. May only contain the following field names: `display_name`, `description`, `labels`.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -886,7 +886,7 @@ "type": "string" }, "query": { - "description": "Required. The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel). May only contain equality operators on the parent and inclusion operators on labels (e.g., `parent == 'customers/{customer_id}' && 'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). The `customer_id` must begin with \"C\" (for example, 'C046psxkn').", + "description": "Required. The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel). May only contain equality operators on the parent and inclusion operators on labels (e.g., `parent == 'customers/{customer}' && 'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). The `customer` must begin with \"C\" (for example, 'C046psxkn').", "location": "query", "type": "string" }, @@ -930,7 +930,7 @@ ], "parameters": { "parent": { - "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to check the transitive membership in. Format: `groups/{group_id}`, where `group_id` is the unique id assigned to the Group to which the Membership belongs to.", + "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to check the transitive membership in. Format: `groups/{group}`, where `group` is the unique id assigned to the Group to which the Membership belongs to.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -962,7 +962,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent `Group` resource under which to create the `Membership`. Must be of the form `groups/{group_id}`.", + "description": "Required. The parent `Group` resource under which to create the `Membership`. Must be of the form `groups/{group}`.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -991,7 +991,7 @@ ], "parameters": { "name": { - "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to delete. Must be of the form `groups/{group_id}/memberships/{membership_id}`", + "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to delete. Must be of the form `groups/{group}/memberships/{membership}`", "location": "path", "pattern": "^groups/[^/]+/memberships/[^/]+$", "required": true, @@ -1017,7 +1017,7 @@ ], "parameters": { "name": { - "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to retrieve. Must be of the form `groups/{group_id}/memberships/{membership_id}`.", + "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to retrieve. Must be of the form `groups/{group}/memberships/{membership}`.", "location": "path", "pattern": "^groups/[^/]+/memberships/[^/]+$", "required": true, @@ -1044,7 +1044,7 @@ ], "parameters": { "parent": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group to which the Membership belongs to. group_id can be a wildcard collection id \"-\". When a group_id is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group to which the Membership belongs to. group can be a wildcard collection id \"-\". When a group is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -1087,7 +1087,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group_id}`.", + "description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -1134,12 +1134,12 @@ "type": "string" }, "memberKey.namespace": { - "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.", + "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group_id}`.", + "description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -1166,7 +1166,7 @@ ], "parameters": { "name": { - "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` whose roles are to be modified. Must be of the form `groups/{group_id}/memberships/{membership_id}`.", + "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` whose roles are to be modified. Must be of the form `groups/{group}/memberships/{membership}`.", "location": "path", "pattern": "^groups/[^/]+/memberships/[^/]+$", "required": true, @@ -1206,7 +1206,7 @@ "type": "string" }, "parent": { - "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group_id}`, where `group_id` is always '-' as this API will search across all groups for a given member.", + "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is always '-' as this API will search across all groups for a given member.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -1249,7 +1249,7 @@ "type": "string" }, "parent": { - "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group.", + "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -1271,7 +1271,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "CheckTransitiveMembershipResponse": { @@ -1285,6 +1285,30 @@ }, "type": "object" }, + "CreateGroupMetadata": { + "description": "Metadata for CreateGroup LRO.", + "id": "CreateGroupMetadata", + "properties": {}, + "type": "object" + }, + "CreateMembershipMetadata": { + "description": "Metadata for CreateMembership LRO.", + "id": "CreateMembershipMetadata", + "properties": {}, + "type": "object" + }, + "DeleteGroupMetadata": { + "description": "Metadata for DeleteGroup LRO.", + "id": "DeleteGroupMetadata", + "properties": {}, + "type": "object" + }, + "DeleteMembershipMetadata": { + "description": "Metadata for DeleteMembership LRO.", + "id": "DeleteMembershipMetadata", + "properties": {}, + "type": "object" + }, "DynamicGroupMetadata": { "description": "Dynamic group metadata like queries and status.", "id": "DynamicGroupMetadata", @@ -1362,7 +1386,7 @@ "type": "string" }, "namespace": { - "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.", + "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", "type": "string" } }, @@ -1380,6 +1404,12 @@ }, "type": "object" }, + "GetMembershipGraphMetadata": { + "description": "Metadata of GetMembershipGraphResponse LRO. This is currently empty to permit future extensibility.", + "id": "GetMembershipGraphMetadata", + "properties": {}, + "type": "object" + }, "GetMembershipGraphResponse": { "description": "The response message for MembershipsService.GetMembershipGraph.", "id": "GetMembershipGraphResponse", @@ -1436,12 +1466,18 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata": { + "description": "Metadata for ApproveDeviceUser LRO.", + "id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest": { "description": "Request message for approving the device to access user data.", "id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest", "properties": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } }, @@ -1458,12 +1494,18 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata": { + "description": "Metadata for BlockDeviceUser LRO.", + "id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest": { "description": "Request message for blocking account on device.", "id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest", "properties": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } }, @@ -1480,12 +1522,18 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata": { + "description": "Metadata for CancelWipeDevice LRO.", + "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest": { "description": "Request message for cancelling an unfinished device wipe.", "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest", "properties": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } }, @@ -1502,12 +1550,18 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata": { + "description": "Metadata for CancelWipeDeviceUser LRO.", + "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest": { "description": "Request message for cancelling an unfinished user account wipe.", "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest", "properties": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } }, @@ -1611,7 +1665,7 @@ "type": "string" }, "name": { - "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}`, where partner_id corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer_id}-suffix`, where `customer_id` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", + "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", "readOnly": true, "type": "string" }, @@ -1637,6 +1691,12 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata": { + "description": "Metadata for CreateDevice LRO.", + "id": "GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1CustomAttributeValue": { "description": "Additional custom attribute values may be one of these types", "id": "GoogleAppsCloudidentityDevicesV1CustomAttributeValue", @@ -1657,6 +1717,18 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata": { + "description": "Metadata for DeleteDevice LRO.", + "id": "GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata", + "properties": {}, + "type": "object" + }, + "GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata": { + "description": "Metadata for DeleteDeviceUser LRO.", + "id": "GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1Device": { "description": " A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user.", "id": "GoogleAppsCloudidentityDevicesV1Device", @@ -1817,7 +1889,7 @@ "type": "string" }, "name": { - "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device.", + "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device.", "readOnly": true, "type": "string" }, @@ -1943,7 +2015,7 @@ "type": "string" }, "name": { - "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where `device_user_id` uniquely identifies a user's use of a device.", + "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where `device_user` uniquely identifies a user's use of a device.", "readOnly": true, "type": "string" }, @@ -2027,6 +2099,12 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata": { + "description": "Metadata for ListEndpointApps LRO.", + "id": "GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse": { "description": "Response containing resource names of the DeviceUsers associated with the caller's credentials.", "id": "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse", @@ -2036,7 +2114,7 @@ "type": "string" }, "names": { - "description": "[Resource names](https://cloud.google.com/apis/design/resource_names) of the DeviceUsers in the format: `devices/{device_id}/deviceUsers/{user_resource_id}`, where device_id is the unique ID assigned to a Device and user_resource_id is the unique user ID", + "description": "[Resource names](https://cloud.google.com/apis/design/resource_names) of the DeviceUsers in the format: `devices/{device}/deviceUsers/{user_resource}`, where device is the unique ID assigned to a Device and user_resource is the unique user ID", "items": { "type": "string" }, @@ -2049,12 +2127,36 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata": { + "description": "Metadata for SignoutDeviceUser LRO.", + "id": "GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata", + "properties": {}, + "type": "object" + }, + "GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata": { + "description": "Metadata for UpdateClientState LRO.", + "id": "GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata", + "properties": {}, + "type": "object" + }, + "GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata": { + "description": "Metadata for UpdateDevice LRO.", + "id": "GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata", + "properties": {}, + "type": "object" + }, + "GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata": { + "description": "Metadata for WipeDevice LRO.", + "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest": { "description": "Request message for wiping all data on the device.", "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest", "properties": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } }, @@ -2071,12 +2173,18 @@ }, "type": "object" }, + "GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata": { + "description": "Metadata for WipeDeviceUser LRO.", + "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata", + "properties": {}, + "type": "object" + }, "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest": { "description": "Request message for starting an account wipe on device.", "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest", "properties": { "customer": { - "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer_id}`, where customer_id is the customer to whom the device belongs.", + "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } }, @@ -2127,12 +2235,12 @@ "type": "object" }, "name": { - "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.", + "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`.", "readOnly": true, "type": "string" }, "parent": { - "description": "Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn').", + "description": "Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer}` for Google Groups. The `customer` must begin with \"C\" (for example, 'C046psxkn').", "type": "string" }, "updateTime": { @@ -2245,7 +2353,7 @@ "id": "LookupMembershipNameResponse", "properties": { "name": { - "description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Membership`. Must be of the form `groups/{group_id}/memberships/{membership_id}`.", + "description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Membership`. Must be of the form `groups/{group}/memberships/{membership}`.", "type": "string" } }, @@ -2303,7 +2411,7 @@ "type": "string" }, "name": { - "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group_id}/memberships/{membership_id}`.", + "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.", "readOnly": true, "type": "string" }, @@ -2547,6 +2655,18 @@ }, "type": "object" }, + "UpdateGroupMetadata": { + "description": "Metadata for UpdateGroup LRO.", + "id": "UpdateGroupMetadata", + "properties": {}, + "type": "object" + }, + "UpdateMembershipMetadata": { + "description": "Metadata for UpdateMembership LRO.", + "id": "UpdateMembershipMetadata", + "properties": {}, + "type": "object" + }, "UpdateMembershipRolesParams": { "description": "The details of an update to a `MembershipRole`.", "id": "UpdateMembershipRolesParams", diff --git a/discovery/googleapis/cloudiot__v1.json b/discovery/googleapis/cloudiot__v1.json index e56bf7611..a1d752673 100644 --- a/discovery/googleapis/cloudiot__v1.json +++ b/discovery/googleapis/cloudiot__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloudiot": { "description": "Register and manage devices in the Google Cloud IoT service" @@ -936,7 +936,7 @@ } } }, - "revision": "20210713", + "revision": "20210823", "rootUrl": "https://cloudiot.googleapis.com/", "schemas": { "BindDeviceToGatewayRequest": { @@ -1440,7 +1440,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis/cloudkms__v1.json b/discovery/googleapis/cloudkms__v1.json index 2c48cc0e0..626f1d4e9 100644 --- a/discovery/googleapis/cloudkms__v1.json +++ b/discovery/googleapis/cloudkms__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloudkms": { "description": "View and manage your keys and secrets stored in Cloud Key Management Service" @@ -110,6 +110,35 @@ "resources": { "locations": { "methods": { + "generateRandomBytes": { + "description": "Generate random bytes using the Cloud KMS randomness source in the provided location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:generateRandomBytes", + "httpMethod": "POST", + "id": "cloudkms.projects.locations.generateRandomBytes", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "The project-specific location in which to generate random bytes. For example, \"projects/my-project/locations/us-central1\".", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}:generateRandomBytes", + "request": { + "$ref": "GenerateRandomBytesRequest" + }, + "response": { + "$ref": "GenerateRandomBytesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudkms" + ] + }, "get": { "description": "Gets information about a location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", @@ -812,7 +841,7 @@ ] }, "destroy": { - "description": "Schedule a CryptoKeyVersion for destruction. Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED and destroy_time will be set to a time 24 hours in the future, at which point the state will be changed to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.", + "description": "Schedule a CryptoKeyVersion for destruction. Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time will be set to the time destroy_scheduled_duration in the future. At that time, the state will automatically change to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:destroy", "httpMethod": "POST", "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy", @@ -893,7 +922,7 @@ ] }, "import": { - "description": "Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request. The version ID will be assigned the next sequential id within the CryptoKey.", + "description": "Import wrapped key material into a CryptoKeyVersion. All requests must specify a CryptoKey. If a CryptoKeyVersion is additionally specified in the request, key material will be reimported into that version. Otherwise, a new version will be created, and will be assigned the next sequential id within the CryptoKey.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions:import", "httpMethod": "POST", "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.import", @@ -902,7 +931,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the CryptoKey to be imported into.", + "description": "Required. The name of the CryptoKey to be imported into. The create permission is only required on this key when creating a new CryptoKeyVersion.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", "required": true, @@ -981,6 +1010,64 @@ "https://www.googleapis.com/auth/cloudkms" ] }, + "macSign": { + "description": "Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a tag that can be verified by another source with the same key.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:macSign", + "httpMethod": "POST", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.macSign", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the CryptoKeyVersion to use for signing.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:macSign", + "request": { + "$ref": "MacSignRequest" + }, + "response": { + "$ref": "MacSignResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudkms" + ] + }, + "macVerify": { + "description": "Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:macVerify", + "httpMethod": "POST", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.macVerify", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the CryptoKeyVersion to use for verification.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:macVerify", + "request": { + "$ref": "MacVerifyRequest" + }, + "response": { + "$ref": "MacVerifyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudkms" + ] + }, "patch": { "description": "Update a CryptoKeyVersion's metadata. state may be changed between ENABLED and DISABLED using this method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other states.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}", @@ -1257,7 +1344,7 @@ } } }, - "revision": "20210713", + "revision": "20210827", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": { @@ -1479,6 +1566,15 @@ "readOnly": true, "type": "string" }, + "destroyScheduledDuration": { + "description": "Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.", + "format": "google-duration", + "type": "string" + }, + "importOnly": { + "description": "Immutable. Whether this key may contain imported versions only.", + "type": "boolean" + }, "labels": { "additionalProperties": { "type": "string" @@ -1507,13 +1603,15 @@ "CRYPTO_KEY_PURPOSE_UNSPECIFIED", "ENCRYPT_DECRYPT", "ASYMMETRIC_SIGN", - "ASYMMETRIC_DECRYPT" + "ASYMMETRIC_DECRYPT", + "MAC" ], "enumDescriptions": [ "Not specified.", "CryptoKeys with this purpose may be used with Encrypt and Decrypt.", "CryptoKeys with this purpose may be used with AsymmetricSign and GetPublicKey.", - "CryptoKeys with this purpose may be used with AsymmetricDecrypt and GetPublicKey." + "CryptoKeys with this purpose may be used with AsymmetricDecrypt and GetPublicKey.", + "CryptoKeys with this purpose may be used with MacSign." ], "type": "string" }, @@ -1553,6 +1651,7 @@ "EC_SIGN_P256_SHA256", "EC_SIGN_P384_SHA384", "EC_SIGN_SECP256K1_SHA256", + "HMAC_SHA256", "EXTERNAL_SYMMETRIC_ENCRYPTION" ], "enumDescriptions": [ @@ -1573,6 +1672,7 @@ "ECDSA on the NIST P-256 curve with a SHA256 digest.", "ECDSA on the NIST P-384 curve with a SHA384 digest.", "ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level.", + "HMAC-SHA256 signing with a 256 bit key.", "Algorithm representing symmetric encryption by an external key manager." ], "readOnly": true, @@ -1612,17 +1712,17 @@ "type": "string" }, "importFailureReason": { - "description": "Output only. The root cause of an import failure. Only present if state is IMPORT_FAILED.", + "description": "Output only. The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.", "readOnly": true, "type": "string" }, "importJob": { - "description": "Output only. The name of the ImportJob used to import this CryptoKeyVersion. Only present if the underlying key material was imported.", + "description": "Output only. The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.", "readOnly": true, "type": "string" }, "importTime": { - "description": "Output only. The time at which this CryptoKeyVersion's key material was imported.", + "description": "Output only. The time at which this CryptoKeyVersion's key material was most recently imported.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -1649,6 +1749,11 @@ "readOnly": true, "type": "string" }, + "reimportEligible": { + "description": "Output only. Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.", + "readOnly": true, + "type": "boolean" + }, "state": { "description": "The current state of the CryptoKeyVersion.", "enum": [ @@ -1666,7 +1771,7 @@ "This version is still being generated. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready.", "This version may be used for cryptographic operations.", "This version may not be used, but the key material is still available, and the version can be placed back into the ENABLED state.", - "This version is destroyed, and the key material is no longer stored.", + "This version is destroyed, and the key material is no longer stored. This version may only become ENABLED again if this version is reimport_eligible and the original key material is reimported with a call to KeyManagementService.ImportCryptoKeyVersion.", "This version is scheduled for destruction, and will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into the DISABLED state.", "This version is still being imported. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready.", "This version was not imported successfully. It may not be used, enabled, disabled, or destroyed. The submitted key material has been discarded. Additional details can be found in CryptoKeyVersion.import_failure_reason." @@ -1700,6 +1805,7 @@ "EC_SIGN_P256_SHA256", "EC_SIGN_P384_SHA384", "EC_SIGN_SECP256K1_SHA256", + "HMAC_SHA256", "EXTERNAL_SYMMETRIC_ENCRYPTION" ], "enumDescriptions": [ @@ -1720,6 +1826,7 @@ "ECDSA on the NIST P-256 curve with a SHA256 digest.", "ECDSA on the NIST P-384 curve with a SHA384 digest.", "ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level.", + "HMAC-SHA256 signing with a 256 bit key.", "Algorithm representing symmetric encryption by an external key manager." ], "type": "string" @@ -1941,6 +2048,51 @@ }, "type": "object" }, + "GenerateRandomBytesRequest": { + "description": "Request message for KeyManagementService.GenerateRandomBytes.", + "id": "GenerateRandomBytesRequest", + "properties": { + "lengthBytes": { + "description": "The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes.", + "format": "int32", + "type": "integer" + }, + "protectionLevel": { + "description": "The ProtectionLevel to use when generating the random data. Defaults to SOFTWARE.", + "enum": [ + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL" + ], + "enumDescriptions": [ + "Not specified.", + "Crypto operations are performed in software.", + "Crypto operations are performed in a Hardware Security Module.", + "Crypto operations are performed by an external key manager." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenerateRandomBytesResponse": { + "description": "Response message for KeyManagementService.GenerateRandomBytes.", + "id": "GenerateRandomBytesResponse", + "properties": { + "data": { + "description": "The generated data.", + "format": "byte", + "type": "string" + }, + "dataCrc32c": { + "description": "Integrity verification field. A CRC32C checksum of the returned GenerateRandomBytesResponse.data. An integrity check of GenerateRandomBytesResponse.data can be performed by computing the CRC32C checksum of GenerateRandomBytesResponse.data and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "ImportCryptoKeyVersionRequest": { "description": "Request message for KeyManagementService.ImportCryptoKeyVersion.", "id": "ImportCryptoKeyVersionRequest", @@ -1965,6 +2117,7 @@ "EC_SIGN_P256_SHA256", "EC_SIGN_P384_SHA384", "EC_SIGN_SECP256K1_SHA256", + "HMAC_SHA256", "EXTERNAL_SYMMETRIC_ENCRYPTION" ], "enumDescriptions": [ @@ -1985,10 +2138,15 @@ "ECDSA on the NIST P-256 curve with a SHA256 digest.", "ECDSA on the NIST P-384 curve with a SHA384 digest.", "ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level.", + "HMAC-SHA256 signing with a 256 bit key.", "Algorithm representing symmetric encryption by an external key manager." ], "type": "string" }, + "cryptoKeyVersion": { + "description": "Optional. The optional name of an existing CryptoKeyVersion to target for an import operation. If this field is not present, a new CryptoKeyVersion containing the supplied key material is created. If this field is present, the supplied key material is imported into the existing CryptoKeyVersion. To import into an existing CryptoKeyVersion, the CryptoKeyVersion must be a child of ImportCryptoKeyVersionRequest.parent, have been previously created via ImportCryptoKeyVersion, and be in DESTROYED or IMPORT_FAILED state. The key material and algorithm must match the previous CryptoKeyVersion exactly if the CryptoKeyVersion has ever contained key material.", + "type": "string" + }, "importJob": { "description": "Required. The name of the ImportJob that was used to wrap this key material.", "type": "string" @@ -2304,8 +2462,136 @@ }, "type": "object" }, + "MacSignRequest": { + "description": "Request message for KeyManagementService.MacSign.", + "id": "MacSignRequest", + "properties": { + "data": { + "description": "Required. The data to sign. The MAC tag is computed over this data field based on the specific algorithm.", + "format": "byte", + "type": "string" + }, + "dataCrc32c": { + "description": "Optional. An optional CRC32C checksum of the MacSignRequest.data. If specified, KeyManagementService will verify the integrity of the received MacSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(MacSignRequest.data) is equal to MacSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "MacSignResponse": { + "description": "Response message for KeyManagementService.MacSign.", + "id": "MacSignResponse", + "properties": { + "mac": { + "description": "The created signature.", + "format": "byte", + "type": "string" + }, + "macCrc32c": { + "description": "Integrity verification field. A CRC32C checksum of the returned MacSignResponse.mac. An integrity check of MacSignResponse.mac can be performed by computing the CRC32C checksum of MacSignResponse.mac and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "The resource name of the CryptoKeyVersion used for signing. Check this field to verify that the intended resource was used for signing.", + "type": "string" + }, + "protectionLevel": { + "description": "The ProtectionLevel of the CryptoKeyVersion used for signing.", + "enum": [ + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL" + ], + "enumDescriptions": [ + "Not specified.", + "Crypto operations are performed in software.", + "Crypto operations are performed in a Hardware Security Module.", + "Crypto operations are performed by an external key manager." + ], + "type": "string" + }, + "verifiedDataCrc32c": { + "description": "Integrity verification field. A flag indicating whether MacSignRequest.data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacSignRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacSignRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries.", + "type": "boolean" + } + }, + "type": "object" + }, + "MacVerifyRequest": { + "description": "Request message for KeyManagementService.MacVerify.", + "id": "MacVerifyRequest", + "properties": { + "data": { + "description": "Required. The data used previously as a MacSignRequest.data to generate the MAC tag.", + "format": "byte", + "type": "string" + }, + "dataCrc32c": { + "description": "Optional. An optional CRC32C checksum of the MacVerifyRequest.data. If specified, KeyManagementService will verify the integrity of the received MacVerifyRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(MacVerifyRequest.data) is equal to MacVerifyRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.", + "format": "int64", + "type": "string" + }, + "mac": { + "description": "Required. The signature to verify.", + "format": "byte", + "type": "string" + }, + "macCrc32c": { + "description": "Optional. An optional CRC32C checksum of the MacVerifyRequest.mac. If specified, KeyManagementService will verify the integrity of the received MacVerifyRequest.mac using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(MacVerifyRequest.tag) is equal to MacVerifyRequest.mac_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "MacVerifyResponse": { + "description": "Response message for KeyManagementService.MacVerify.", + "id": "MacVerifyResponse", + "properties": { + "name": { + "description": "The resource name of the CryptoKeyVersion used for verification. Check this field to verify that the intended resource was used for verification.", + "type": "string" + }, + "protectionLevel": { + "description": "The ProtectionLevel of the CryptoKeyVersion used for verification.", + "enum": [ + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL" + ], + "enumDescriptions": [ + "Not specified.", + "Crypto operations are performed in software.", + "Crypto operations are performed in a Hardware Security Module.", + "Crypto operations are performed by an external key manager." + ], + "type": "string" + }, + "success": { + "description": "This field indicates whether or not the verification operation for MacVerifyRequest.mac over MacVerifyRequest.data was successful.", + "type": "boolean" + }, + "verifiedDataCrc32c": { + "description": "Integrity verification field. A flag indicating whether MacVerifyRequest.data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries.", + "type": "boolean" + }, + "verifiedMacCrc32c": { + "description": "Integrity verification field. A flag indicating whether MacVerifyRequest.mac_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.mac_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.mac_crc32c but this field is still false, discard the response and perform a limited number of retries.", + "type": "boolean" + }, + "verifiedSuccessIntegrity": { + "description": "Integrity verification field. This value is used for the integrity verification of [MacVerifyResponse.success]. If the value of this field contradicts the value of [MacVerifyResponse.success], discard the response and perform a limited number of retries.", + "type": "boolean" + } + }, + "type": "object" + }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2359,6 +2645,7 @@ "EC_SIGN_P256_SHA256", "EC_SIGN_P384_SHA384", "EC_SIGN_SECP256K1_SHA256", + "HMAC_SHA256", "EXTERNAL_SYMMETRIC_ENCRYPTION" ], "enumDescriptions": [ @@ -2379,6 +2666,7 @@ "ECDSA on the NIST P-256 curve with a SHA256 digest.", "ECDSA on the NIST P-384 curve with a SHA384 digest.", "ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level.", + "HMAC-SHA256 signing with a 256 bit key.", "Algorithm representing symmetric encryption by an external key manager." ], "type": "string" diff --git a/discovery/googleapis/cloudprofiler__v2.json b/discovery/googleapis/cloudprofiler__v2.json index 438b79631..9c62d9026 100644 --- a/discovery/googleapis/cloudprofiler__v2.json +++ b/discovery/googleapis/cloudprofiler__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/monitoring": { "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects" @@ -214,7 +214,7 @@ } } }, - "revision": "20210712", + "revision": "20210827", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": { diff --git a/discovery/googleapis/cloudresourcemanager__v1.json b/discovery/googleapis/cloudresourcemanager__v1.json index c5c1ea79c..db4a6423e 100644 --- a/discovery/googleapis/cloudresourcemanager__v1.json +++ b/discovery/googleapis/cloudresourcemanager__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -363,7 +363,7 @@ "parameterOrder": [], "parameters": { "pageSize": { - "description": "The maximum number of items to return. This is a suggestion for the server.", + "description": "The maximum number of items to return. This is a suggestion for the server. The server can return fewer liens than requested. If unspecified, server picks an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -1169,7 +1169,7 @@ } } }, - "revision": "20210718", + "revision": "20210830", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -1994,7 +1994,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2126,7 +2126,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of Organizations to return in the response. This field is optional.", + "description": "The maximum number of Organizations to return in the response. The server can return fewer organizations than requested. If unspecified, server picks an appropriate default.", "format": "int32", "type": "integer" }, diff --git a/discovery/googleapis/cloudresourcemanager__v2.json b/discovery/googleapis/cloudresourcemanager__v2.json index a86b5e722..65d63eb0b 100644 --- a/discovery/googleapis/cloudresourcemanager__v2.json +++ b/discovery/googleapis/cloudresourcemanager__v2.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -220,7 +220,7 @@ "parameterOrder": [], "parameters": { "pageSize": { - "description": "Optional. The maximum number of Folders to return in the response.", + "description": "Optional. The maximum number of Folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -448,7 +448,7 @@ } } }, - "revision": "20210718", + "revision": "20210830", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -921,7 +921,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -976,7 +976,7 @@ "id": "SearchFoldersRequest", "properties": { "pageSize": { - "description": "Optional. The maximum number of folders to return in the response.", + "description": "Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.", "format": "int32", "type": "integer" }, diff --git a/discovery/googleapis/cloudresourcemanager__v3.json b/discovery/googleapis/cloudresourcemanager__v3.json index 6aeda73bb..f82ca785d 100644 --- a/discovery/googleapis/cloudresourcemanager__v3.json +++ b/discovery/googleapis/cloudresourcemanager__v3.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -214,7 +214,7 @@ "parameterOrder": [], "parameters": { "pageSize": { - "description": "Optional. The maximum number of folders to return in the response. If unspecified, server picks an appropriate default.", + "description": "Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -314,7 +314,7 @@ "parameterOrder": [], "parameters": { "pageSize": { - "description": "Optional. The maximum number of folders to return in the response. If unspecified, server picks an appropriate default.", + "description": "Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -506,7 +506,7 @@ "parameterOrder": [], "parameters": { "pageSize": { - "description": "The maximum number of items to return. This is a suggestion for the server.", + "description": "The maximum number of items to return. This is a suggestion for the server. The server can return fewer liens than requested. If unspecified, server picks an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -628,7 +628,7 @@ "parameterOrder": [], "parameters": { "pageSize": { - "description": "Optional. The maximum number of organizations to return in the response. If unspecified, server picks an appropriate default.", + "description": "Optional. The maximum number of organizations to return in the response. The server can return fewer organizations than requested. If unspecified, server picks an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -784,7 +784,7 @@ ] }, "getIamPolicy": { - "description": "Returns the IAM access control policy for the specified project. Permission is denied if the policy or the resource do not exist.", + "description": "Returns the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. Permission is denied if the policy or the resource do not exist.", "flatPath": "v3/projects/{projectsId}:getIamPolicy", "httpMethod": "POST", "id": "cloudresourcemanager.projects.getIamPolicy", @@ -945,7 +945,7 @@ ] }, "setIamPolicy": { - "description": "Sets the IAM access control policy for the specified project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. + Calling this method requires enabling the App Engine Admin API.", + "description": "Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. + Calling this method requires enabling the App Engine Admin API.", "flatPath": "v3/projects/{projectsId}:setIamPolicy", "httpMethod": "POST", "id": "cloudresourcemanager.projects.setIamPolicy", @@ -973,7 +973,7 @@ ] }, "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified project.", + "description": "Returns permissions that a caller has on the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123..", "flatPath": "v3/projects/{projectsId}:testIamPermissions", "httpMethod": "POST", "id": "cloudresourcemanager.projects.testIamPermissions", @@ -1610,7 +1610,7 @@ } } }, - "revision": "20210718", + "revision": "20210830", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -2301,7 +2301,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/cloudscheduler__v1.json b/discovery/googleapis/cloudscheduler__v1.json index 1d4ff863e..3902623f6 100644 --- a/discovery/googleapis/cloudscheduler__v1.json +++ b/discovery/googleapis/cloudscheduler__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -416,7 +416,7 @@ } } }, - "revision": "20210625", + "revision": "20210816", "rootUrl": "https://cloudscheduler.googleapis.com/", "schemas": { "AppEngineHttpTarget": { diff --git a/discovery/googleapis/cloudsearch__v1.json b/discovery/googleapis/cloudsearch__v1.json index 02d8cbd3d..5911e5b49 100644 --- a/discovery/googleapis/cloudsearch__v1.json +++ b/discovery/googleapis/cloudsearch__v1.json @@ -1914,7 +1914,7 @@ } } }, - "revision": "20210713", + "revision": "20210831", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "AuditLoggingSettings": { diff --git a/discovery/googleapis/cloudshell__v1.json b/discovery/googleapis/cloudshell__v1.json index 75fd10f28..5b6760c6a 100644 --- a/discovery/googleapis/cloudshell__v1.json +++ b/discovery/googleapis/cloudshell__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -372,7 +372,7 @@ } } }, - "revision": "20210717", + "revision": "20210906", "rootUrl": "https://cloudshell.googleapis.com/", "schemas": { "AddPublicKeyMetadata": { diff --git a/discovery/googleapis/cloudtasks__v2.json b/discovery/googleapis/cloudtasks__v2.json index 87ccc2a80..ea5e11f0a 100644 --- a/discovery/googleapis/cloudtasks__v2.json +++ b/discovery/googleapis/cloudtasks__v2.json @@ -686,7 +686,7 @@ } } }, - "revision": "20210624", + "revision": "20210729", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": { diff --git a/discovery/googleapis/cloudtrace__v2.json b/discovery/googleapis/cloudtrace__v2.json index 24872b412..0a90108a7 100644 --- a/discovery/googleapis/cloudtrace__v2.json +++ b/discovery/googleapis/cloudtrace__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/trace.append": { "description": "Write Trace data for a project or application" @@ -179,7 +179,7 @@ } } }, - "revision": "20210628", + "revision": "20210827", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Annotation": { diff --git a/discovery/googleapis/composer__v1.json b/discovery/googleapis/composer__v1.json index db78d7f5d..e9792e649 100644 --- a/discovery/googleapis/composer__v1.json +++ b/discovery/googleapis/composer__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -404,7 +404,7 @@ } } }, - "revision": "20210713", + "revision": "20210827", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AllowedIpRange": { @@ -628,7 +628,7 @@ "id": "IPAllocationPolicy", "properties": { "clusterIpv4CidrBlock": { - "description": "Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. This field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", + "description": "Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. This field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", "type": "string" }, "clusterSecondaryRangeName": { @@ -636,7 +636,7 @@ "type": "string" }, "servicesIpv4CidrBlock": { - "description": "Optional. The IP address range of the services IP addresses in this GKE cluster. This field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", + "description": "Optional. The IP address range of the services IP addresses in this GKE cluster. This field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", "type": "string" }, "servicesSecondaryRangeName": { diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json index 65135085c..1a41afa7c 100644 --- a/discovery/googleapis/compute__v1.json +++ b/discovery/googleapis/compute__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/compute": { "description": "View and manage your Google Compute Engine resources" @@ -12,13 +12,13 @@ "description": "View your Google Compute Engine resources" }, "https://www.googleapis.com/auth/devstorage.full_control": { - "description": "Manage your data and permissions in Google Cloud Storage" + "description": "Manage your data and permissions in Cloud Storage and see the email address for your Google Account" }, "https://www.googleapis.com/auth/devstorage.read_only": { "description": "View your data in Google Cloud Storage" }, "https://www.googleapis.com/auth/devstorage.read_write": { - "description": "Manage your data in Google Cloud Storage" + "description": "Manage your data in Cloud Storage and see the email address of your Google Account" } } } @@ -6180,6 +6180,53 @@ } } }, + "imageFamilyViews": { + "methods": { + "get": { + "description": "Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.", + "flatPath": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", + "httpMethod": "GET", + "id": "compute.imageFamilyViews.get", + "parameterOrder": [ + "project", + "zone", + "family" + ], + "parameters": { + "family": { + "description": "Name of the image family to search for.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", + "response": { + "$ref": "ImageFamilyView" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + } + } + }, "images": { "methods": { "delete": { @@ -12740,7 +12787,7 @@ ] }, "updatePeering": { - "description": "Updates the specified network peering with the data included in the request Only the following fields can be modified: NetworkPeering.export_custom_routes, and NetworkPeering.import_custom_routes", + "description": "Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field.", "flatPath": "projects/{project}/global/networks/{network}/updatePeering", "httpMethod": "PATCH", "id": "compute.networks.updatePeering", @@ -28230,7 +28277,7 @@ } } }, - "revision": "0", + "revision": "20210820", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -28696,7 +28743,7 @@ "type": "object" }, "Address": { - "description": "Use global external addresses for GFE-based external HTTP(S) load balancers in Premium Tier. Use global internal addresses for reserved peering network range. Use regional external addresses for the following resources: - External IP addresses for VM instances - Regional external forwarding rules - Cloud NAT external IP addresses - GFE based LBs in Standard Tier - Network LBs in Premium or Standard Tier - Cloud VPN gateways (both Classic and HA) Use regional internal IP addresses for subnet IP ranges (primary and secondary). This includes: - Internal IP addresses for VM instances - Alias IP ranges of VM instances (/32 only) - Regional internal forwarding rules - Internal TCP/UDP load balancer addresses - Internal HTTP(S) load balancer addresses - Cloud DNS inbound forwarding IP addresses For more information, see Reserving a static external IP address.", + "description": "Represents an IP Address resource. Google Compute Engine has two IP Address resources: * [Global (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses) * [Regional (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/addresses) For more information, see Reserving a static external IP address.", "id": "Address", "properties": { "address": { @@ -28764,7 +28811,7 @@ "type": "string" }, "networkTier": { - "description": "This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a network load balancer. If this field is not specified, it is assumed to be PREMIUM.", + "description": "This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.", "enum": [ "PREMIUM", "STANDARD" @@ -28781,7 +28828,7 @@ "type": "integer" }, "purpose": { - "description": "The purpose of this resource, which can be one of the following values: - `GCE_ENDPOINT` for addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar resources. - `DNS_RESOLVER` for a DNS resolver address in a subnetwork - `VPC_PEERING` for addresses that are reserved for VPC peer networks. - `NAT_AUTO` for addresses that are external IP addresses automatically reserved for Cloud NAT. - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. ", + "description": "The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using . - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. ", "enum": [ "DNS_RESOLVER", "GCE_ENDPOINT", @@ -29263,7 +29310,7 @@ "type": "object" }, "AllocationSpecificSKUReservation": { - "description": "This reservation type allows to pre allocate specific instance configuration.", + "description": "This reservation type allows to pre allocate specific instance configuration. Next ID: 5", "id": "AllocationSpecificSKUReservation", "properties": { "count": { @@ -30217,7 +30264,7 @@ "id": "Backend", "properties": { "balancingMode": { - "description": "Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode.", + "description": "Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.", "enum": [ "CONNECTION", "RATE", @@ -30278,6 +30325,7 @@ "type": "number" }, "maxUtilization": { + "description": "Optional parameter to define a target capacity for the UTILIZATIONbalancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.", "format": "float", "type": "number" } @@ -31587,6 +31635,30 @@ "statusMessage": { "description": "[Output Only] An optional, human-readable explanation of the status.", "type": "string" + }, + "type": { + "description": "The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.", + "enum": [ + "ACCELERATOR_OPTIMIZED", + "COMPUTE_OPTIMIZED", + "GENERAL_PURPOSE", + "GENERAL_PURPOSE_E2", + "GENERAL_PURPOSE_N2", + "GENERAL_PURPOSE_N2D", + "MEMORY_OPTIMIZED", + "TYPE_UNSPECIFIED" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" } }, "type": "object" @@ -32140,6 +32212,10 @@ "description": "Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.", "type": "string" }, + "rsaEncryptedKey": { + "description": "Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem ", + "type": "string" + }, "sha256": { "description": "[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.", "type": "string" @@ -32214,7 +32290,7 @@ }, "diskEncryptionKey": { "$ref": "CustomerEncryptionKey", - "description": "Encrypts the disk using a customer-supplied encryption key. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later (e.g. to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the disk, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later." + "description": "Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: \"diskEncryptionKey.kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later." }, "guestOsFeatures": { "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", @@ -33750,7 +33826,7 @@ "type": "string" }, "destinationRanges": { - "description": "If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Only IPv4 is supported.", + "description": "If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Both IPv4 and IPv6 are supported.", "items": { "type": "string" }, @@ -33811,7 +33887,7 @@ "type": "string" }, "sourceRanges": { - "description": "If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both fields are set, the rule applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the rule to apply. Only IPv4 is supported.", + "description": "If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both fields are set, the rule applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the rule to apply. Both IPv4 and IPv6 are supported.", "items": { "type": "string" }, @@ -34290,7 +34366,7 @@ "id": "FirewallPolicyRuleMatcher", "properties": { "destIpRanges": { - "description": "CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 256.", + "description": "CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.", "items": { "type": "string" }, @@ -34304,7 +34380,7 @@ "type": "array" }, "srcIpRanges": { - "description": "CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256.", + "description": "CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.", "items": { "type": "string" }, @@ -35299,7 +35375,7 @@ "type": "object" }, "HealthCheck": { - "description": "Represents a Health Check resource. Google Compute Engine has two Health Check resources: * [Global](/compute/docs/reference/rest/v1/healthChecks) * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Network load balancers must use legacy HTTP health checks (httpHealthChecks). For more information, see Health checks overview.", + "description": "Represents a Health Check resource. Google Compute Engine has two Health Check resources: * [Global](/compute/docs/reference/rest/v1/healthChecks) * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview.", "id": "HealthCheck", "properties": { "checkIntervalSec": { @@ -36225,7 +36301,7 @@ "type": "object" }, "HttpHealthCheck": { - "description": "Represents a legacy HTTP Health Check resource. Legacy health checks are required by network load balancers. For more information, read Health Check Concepts.", + "description": "Represents a legacy HTTP Health Check resource. Legacy HTTP health checks are now only required by target pool-based network load balancers. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .", "id": "HttpHealthCheck", "properties": { "checkIntervalSec": { @@ -36623,7 +36699,7 @@ "type": "object" }, "HttpsHealthCheck": { - "description": "Represents a legacy HTTPS Health Check resource. Legacy health checks are required by network load balancers. For more information, read Health Check Concepts.", + "description": "Represents a legacy HTTPS Health Check resource. Legacy HTTPS health checks have been deprecated. If you are using a target pool-based network load balancer, you must use a legacy HTTP (not HTTPS) health check. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .", "id": "HttpsHealthCheck", "properties": { "checkIntervalSec": { @@ -36912,7 +36988,7 @@ "type": "string" }, "source": { - "description": "The full Google Cloud Storage URL where the disk image is stored. In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", + "description": "The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", "type": "string" } }, @@ -36943,7 +37019,7 @@ "type": "string" }, "sourceImage": { - "description": "URL of the source image used to create this image. In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", + "description": "URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", "type": "string" }, "sourceImageEncryptionKey": { @@ -36955,7 +37031,7 @@ "type": "string" }, "sourceSnapshot": { - "description": "URL of the source snapshot used to create this image. In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", + "description": "URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", "type": "string" }, "sourceSnapshotEncryptionKey": { @@ -37003,6 +37079,16 @@ }, "type": "object" }, + "ImageFamilyView": { + "id": "ImageFamilyView", + "properties": { + "image": { + "$ref": "Image", + "description": "The latest image that is part of the specified image family in the requested location, and that is not deprecated." + } + }, + "type": "object" + }, "ImageList": { "description": "Contains a list of images.", "id": "ImageList", @@ -37838,7 +37924,7 @@ "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions." }, "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "description": "An optional description of this resource.", "type": "string" }, "distributionPolicy": { @@ -38469,6 +38555,10 @@ "type": "string" }, "type": "array" + }, + "skipInstancesOnValidationError": { + "description": "Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.", + "type": "boolean" } }, "type": "object" @@ -42514,7 +42604,7 @@ "type": "string" }, "mtu": { - "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1460 and the maximum value is 1500 bytes.", + "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1460 and the maximum value is 1500 bytes. If unspecified, defaults to 1460.", "format": "int32", "type": "integer" }, @@ -43479,7 +43569,7 @@ "type": "boolean" }, "exportSubnetRoutesWithPublicIp": { - "description": "Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.", + "description": "Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.", "type": "boolean" }, "importCustomRoutes": { @@ -43487,7 +43577,7 @@ "type": "boolean" }, "importSubnetRoutesWithPublicIp": { - "description": "Whether subnet routes with public IP range are imported. The default value is false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported from peers and are not controlled by this field.", + "description": "Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.", "type": "boolean" }, "name": { @@ -43647,7 +43737,7 @@ "type": "object" }, "NodeGroup": { - "description": "Represent a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.", + "description": "Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.", "id": "NodeGroup", "properties": { "autoscalingPolicy": { @@ -46655,7 +46745,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -47213,9 +47303,11 @@ "enum": [ "ANNOUNCED", "DELETING", - "INITIALIZING" + "INITIALIZING", + "READY_TO_ANNOUNCE" ], "enumDescriptions": [ + "", "", "", "" @@ -47623,10 +47715,12 @@ "BACKEND_SERVICES", "C2D_CPUS", "C2_CPUS", + "C3_CPUS", "COMMITMENTS", "COMMITTED_A2_CPUS", "COMMITTED_C2D_CPUS", "COMMITTED_C2_CPUS", + "COMMITTED_C3_CPUS", "COMMITTED_CPUS", "COMMITTED_E2_CPUS", "COMMITTED_LICENSES", @@ -47641,7 +47735,7 @@ "COMMITTED_NVIDIA_P4_GPUS", "COMMITTED_NVIDIA_T4_GPUS", "COMMITTED_NVIDIA_V100_GPUS", - "COMMITTED_P2D_CPUS", + "COMMITTED_T2D_CPUS", "CPUS", "CPUS_ALL_REGIONS", "DISKS_TOTAL_GB", @@ -47690,7 +47784,6 @@ "NVIDIA_T4_GPUS", "NVIDIA_T4_VWS_GPUS", "NVIDIA_V100_GPUS", - "P2D_CPUS", "PACKET_MIRRORINGS", "PD_EXTREME_TOTAL_PROVISIONED_IOPS", "PREEMPTIBLE_CPUS", @@ -47726,6 +47819,7 @@ "STATIC_ADDRESSES", "STATIC_BYOIP_ADDRESSES", "SUBNETWORKS", + "T2D_CPUS", "TARGET_HTTPS_PROXIES", "TARGET_HTTP_PROXIES", "TARGET_INSTANCES", @@ -47765,9 +47859,10 @@ "", "", "", - "Guest CPUs", "", "", + "Guest CPUs", + "", "", "", "", @@ -47859,6 +47954,7 @@ "", "", "", + "", "" ], "type": "string" @@ -48594,6 +48690,10 @@ "type": "string" }, "type": "array" + }, + "skipInstancesOnValidationError": { + "description": "Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.", + "type": "boolean" } }, "type": "object" @@ -52221,7 +52321,7 @@ "type": "object" }, "ServiceAttachment": { - "description": "Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. next tag = 19", + "description": "Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. next tag = 20", "id": "ServiceAttachment", "properties": { "connectedEndpoints": { @@ -53952,7 +54052,7 @@ "UNSPECIFIED_IPV6_ACCESS_TYPE" ], "enumDescriptions": [ - "VMs in this subnet can have external IPv6.", + "VMs on this subnet will be assigned IPv6 addresses that are accesible via the Internet, as well as the VPC network.", "IPv6 access type not set. Means this subnet hasn't been turned on IPv6 yet." ], "type": "string" @@ -58015,7 +58115,7 @@ "type": "string" }, "reportNamePrefix": { - "description": "An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.", + "description": "An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.", "type": "string" } }, diff --git a/discovery/googleapis/contactcenterinsights__v1.json b/discovery/googleapis/contactcenterinsights__v1.json new file mode 100644 index 000000000..91a42fd1a --- /dev/null +++ b/discovery/googleapis/contactcenterinsights__v1.json @@ -0,0 +1,3243 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://contactcenterinsights.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Contactcenterinsights", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/contact-center/insights/docs", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "contactcenterinsights:v1", + "kind": "discovery#restDescription", + "name": "contactcenterinsights", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "getSettings": { + "description": "Gets project-level settings.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.getSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the settings resource to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/settings$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Settings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "updateSettings": { + "description": "Updates project-level settings.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.updateSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/settings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1Settings" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Settings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "conversations": { + "methods": { + "calculateStats": { + "description": "Gets conversation statistics.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:calculateStats", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.conversations.calculateStats", + "parameterOrder": [ + "location" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.", + "location": "query", + "type": "string" + }, + "location": { + "description": "Required. The location of the conversations.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}/conversations:calculateStats", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a conversation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.conversations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "conversationId": { + "description": "A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-32 characters and must match the regular expression /^[a-z0-9-]{4,32}$/. Valid characters are /a-z-/", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the conversation.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversations", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a conversation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.conversations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the conversation to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a conversation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.conversations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the conversation to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "The level of details of the conversation. Default is `FULL`.", + "enum": [ + "CONVERSATION_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "Not specified. Defaults to FULL on GetConversationRequest and BASIC for ListConversationsRequest.", + "Transcript field is not populated in the response.", + "All fields are populated." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists conversations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.conversations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 1,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the conversation.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "The level of details of the conversation. Default is `BASIC`.", + "enum": [ + "CONVERSATION_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "Not specified. Defaults to FULL on GetConversationRequest and BASIC for ListConversationsRequest.", + "Transcript field is not populated in the response.", + "All fields are populated." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/conversations", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a conversation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.conversations.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "analyses": { + "methods": { + "create": { + "description": "Creates an analysis. The long running operation is done when the analysis has completed.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.conversations.analyses.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the analysis.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/analyses", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1Analysis" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an analysis.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses/{analysesId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.conversations.analyses.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the analysis to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/analyses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets an analysis.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses/{analysesId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.conversations.analyses.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the analysis to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/analyses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Analysis" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists analyses.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.conversations.analyses.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the analyses.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/analyses", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListAnalysesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "insightsdata": { + "methods": { + "export": { + "description": "Export insights data to a destination defined in the request body.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/insightsdata:export", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.insightsdata.export", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource to export data from.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/insightsdata:export", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "issueModels": { + "methods": { + "calculateIssueModelStats": { + "description": "Gets an issue model's statistics.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:calculateIssueModelStats", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.issueModels.calculateIssueModelStats", + "parameterOrder": [ + "issueModel" + ], + "parameters": { + "issueModel": { + "description": "Required. The resource name of the issue model to query against.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+issueModel}:calculateIssueModelStats", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates an issue model.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.issueModels.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the issue model.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/issueModels", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an issue model.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.issueModels.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the issue model to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "deploy": { + "description": "Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:deploy", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.issueModels.deploy", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The issue model to deploy.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:deploy", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets an issue model.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.issueModels.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the issue model to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists issue models.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.issueModels.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the issue model.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/issueModels", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListIssueModelsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an issue model.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.issueModels.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "undeploy": { + "description": "Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:undeploy", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.issueModels.undeploy", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The issue model to undeploy.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:undeploy", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "issues": { + "methods": { + "get": { + "description": "Gets an issue.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.issueModels.issues.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the issue to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Issue" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists issues.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.issueModels.issues.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the issue.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/issues", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListIssuesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an issue.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.issueModels.issues.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1Issue" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Issue" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "phraseMatchers": { + "methods": { + "create": { + "description": "Creates a phrase matcher.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.phraseMatchers.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/phraseMatchers", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a phrase matcher.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.phraseMatchers.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the phrase matcher to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a phrase matcher.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.phraseMatchers.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the phrase matcher to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists phrase matchers.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.phraseMatchers.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of phrase matchers to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListPhraseMatchersResponse`. This value indicates that this is a continuation of a prior `ListPhraseMatchers` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the phrase matcher.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/phraseMatchers", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20210902", + "rootUrl": "https://contactcenterinsights.googleapis.com/", + "schemas": { + "GoogleCloudContactcenterinsightsV1Analysis": { + "description": "The analysis resource.", + "id": "GoogleCloudContactcenterinsightsV1Analysis", + "properties": { + "analysisResult": { + "$ref": "GoogleCloudContactcenterinsightsV1AnalysisResult", + "description": "Output only. The result of the analysis, which is populated when the analysis finishes.", + "readOnly": true + }, + "createTime": { + "description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}", + "type": "string" + }, + "requestTime": { + "description": "Output only. The time at which the analysis was requested.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1AnalysisResult": { + "description": "The result of an analysis.", + "id": "GoogleCloudContactcenterinsightsV1AnalysisResult", + "properties": { + "callAnalysisMetadata": { + "$ref": "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata", + "description": "Call-specific metadata created by the analysis." + }, + "endTime": { + "description": "The time at which the analysis ended.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata": { + "description": "Call-specific metadata created during analysis.", + "id": "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata", + "properties": { + "annotations": { + "description": "A list of call annotations that apply to this call.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1CallAnnotation" + }, + "type": "array" + }, + "entities": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1Entity" + }, + "description": "All the entities in the call.", + "type": "object" + }, + "intents": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1Intent" + }, + "description": "All the matched intents in the call.", + "type": "object" + }, + "issueModelResult": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModelResult", + "description": "Overall conversation-level issue modeling result." + }, + "phraseMatchers": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchData" + }, + "description": "All the matched phrase matchers in the call.", + "type": "object" + }, + "sentiments": { + "description": "Overall conversation-level sentiment for each channel of the call.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1AnnotationBoundary": { + "description": "A point in a conversation that marks the start or the end of an annotation.", + "id": "GoogleCloudContactcenterinsightsV1AnnotationBoundary", + "properties": { + "transcriptIndex": { + "description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.", + "format": "int32", + "type": "integer" + }, + "wordIndex": { + "description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1AnswerFeedback": { + "description": "The feedback that the customer has about a certain answer in the conversation.", + "id": "GoogleCloudContactcenterinsightsV1AnswerFeedback", + "properties": { + "clicked": { + "description": "Indicates whether an answer or item was clicked by the human agent.", + "type": "boolean" + }, + "correctnessLevel": { + "description": "The correctness level of an answer.", + "enum": [ + "CORRECTNESS_LEVEL_UNSPECIFIED", + "NOT_CORRECT", + "PARTIALLY_CORRECT", + "FULLY_CORRECT" + ], + "enumDescriptions": [ + "Correctness level unspecified.", + "Answer is totally wrong.", + "Answer is partially correct.", + "Answer is fully correct." + ], + "type": "string" + }, + "displayed": { + "description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ArticleSuggestionData": { + "description": "Agent Assist Article Suggestion data.", + "id": "GoogleCloudContactcenterinsightsV1ArticleSuggestionData", + "properties": { + "confidenceScore": { + "description": "The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).", + "format": "float", + "type": "number" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Map that contains metadata about the Article Suggestion and the document that it originates from.", + "type": "object" + }, + "queryRecord": { + "description": "Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}", + "type": "string" + }, + "source": { + "description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}", + "type": "string" + }, + "title": { + "description": "Article title.", + "type": "string" + }, + "uri": { + "description": "Article URI.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse": { + "description": "Response of querying an issue model's statistics.", + "id": "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse", + "properties": { + "currentStats": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats", + "description": "The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CalculateStatsResponse": { + "description": "The response for calculating conversation statistics.", + "id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse", + "properties": { + "averageDuration": { + "description": "The average duration of all conversations. The average is calculated using only conversations that have a time duration.", + "format": "google-duration", + "type": "string" + }, + "averageTurnCount": { + "description": "The average number of turns per conversation.", + "format": "int32", + "type": "integer" + }, + "conversationCount": { + "description": "The total number of conversations.", + "format": "int32", + "type": "integer" + }, + "conversationCountTimeSeries": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries", + "description": "A time series representing the count of conversations created over time that match that requested filter criteria." + }, + "customHighlighterMatches": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.", + "type": "object" + }, + "issueMatches": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: `projects//locations//issueModels//issues/`", + "type": "object" + }, + "smartHighlighterMatches": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "A map associating each smart highlighter display name with its respective number of matches in the set of conversations.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries": { + "description": "A time series representing conversations over time.", + "id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries", + "properties": { + "intervalDuration": { + "description": "The duration of each interval.", + "format": "google-duration", + "type": "string" + }, + "points": { + "description": "An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval": { + "description": "A single interval in a time series.", + "id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval", + "properties": { + "conversationCount": { + "description": "The number of conversations created in this interval.", + "format": "int32", + "type": "integer" + }, + "startTime": { + "description": "The start time of this interval.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CallAnnotation": { + "description": "A piece of metadata that applies to a window of a call.", + "id": "GoogleCloudContactcenterinsightsV1CallAnnotation", + "properties": { + "annotationEndBoundary": { + "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary", + "description": "The boundary in the conversation where the annotation ends, inclusive." + }, + "annotationStartBoundary": { + "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary", + "description": "The boundary in the conversation where the annotation starts, inclusive." + }, + "channelTag": { + "description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.", + "format": "int32", + "type": "integer" + }, + "entityMentionData": { + "$ref": "GoogleCloudContactcenterinsightsV1EntityMentionData", + "description": "Data specifying an entity mention." + }, + "holdData": { + "$ref": "GoogleCloudContactcenterinsightsV1HoldData", + "description": "Data specifying a hold." + }, + "intentMatchData": { + "$ref": "GoogleCloudContactcenterinsightsV1IntentMatchData", + "description": "Data specifying an intent match." + }, + "interruptionData": { + "$ref": "GoogleCloudContactcenterinsightsV1InterruptionData", + "description": "Data specifying an interruption." + }, + "phraseMatchData": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchData", + "description": "Data specifying a phrase match." + }, + "sentimentData": { + "$ref": "GoogleCloudContactcenterinsightsV1SentimentData", + "description": "Data specifying sentiment." + }, + "silenceData": { + "$ref": "GoogleCloudContactcenterinsightsV1SilenceData", + "description": "Data specifying silence." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1Conversation": { + "description": "The conversation resource.", + "id": "GoogleCloudContactcenterinsightsV1Conversation", + "properties": { + "agentId": { + "description": "An opaque, user-specified string representing the human agent who handled the conversation.", + "type": "string" + }, + "callMetadata": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationCallMetadata", + "description": "Call-specific metadata." + }, + "createTime": { + "description": "Output only. The time at which the conversation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataSource": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationDataSource", + "description": "The source of the audio and transcription for the conversation." + }, + "dialogflowIntents": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1DialogflowIntent" + }, + "description": "Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}", + "readOnly": true, + "type": "object" + }, + "duration": { + "description": "Output only. The duration of the conversation.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.", + "format": "google-datetime", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.", + "type": "object" + }, + "languageCode": { + "description": "A user-specified language code for the conversation.", + "type": "string" + }, + "latestAnalysis": { + "$ref": "GoogleCloudContactcenterinsightsV1Analysis", + "description": "Output only. The conversation's latest analysis, if one exists.", + "readOnly": true + }, + "medium": { + "description": "Immutable. The conversation medium.", + "enum": [ + "MEDIUM_UNSPECIFIED", + "PHONE_CALL", + "CHAT" + ], + "enumDescriptions": [ + "Default value.", + "The format for conversations that took place over the phone.", + "The format for conversations that took place over chat." + ], + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}", + "type": "string" + }, + "runtimeAnnotations": { + "description": "Output only. The annotations that were generated during the customer and agent interaction.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1RuntimeAnnotation" + }, + "readOnly": true, + "type": "array" + }, + "startTime": { + "description": "The time at which the conversation started.", + "format": "google-datetime", + "type": "string" + }, + "transcript": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscript", + "description": "Output only. The conversation transcript.", + "readOnly": true + }, + "ttl": { + "description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.", + "format": "google-duration", + "type": "string" + }, + "turnCount": { + "description": "Output only. The number of turns in the conversation.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "updateTime": { + "description": "Output only. The most recent time at which the conversation was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationCallMetadata": { + "description": "Call-specific metadata.", + "id": "GoogleCloudContactcenterinsightsV1ConversationCallMetadata", + "properties": { + "agentChannel": { + "description": "The audio channel that contains the agent.", + "format": "int32", + "type": "integer" + }, + "customerChannel": { + "description": "The audio channel that contains the customer.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationDataSource": { + "description": "The conversation source, which is a combination of transcript and audio.", + "id": "GoogleCloudContactcenterinsightsV1ConversationDataSource", + "properties": { + "dialogflowSource": { + "$ref": "GoogleCloudContactcenterinsightsV1DialogflowSource", + "description": "The source when the conversation comes from Dialogflow." + }, + "gcsSource": { + "$ref": "GoogleCloudContactcenterinsightsV1GcsSource", + "description": "A Cloud Storage location specification for the audio and transcript." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment": { + "description": "One channel of conversation-level sentiment data.", + "id": "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment", + "properties": { + "channelTag": { + "description": "The channel of the audio that the data applies to.", + "format": "int32", + "type": "integer" + }, + "sentimentData": { + "$ref": "GoogleCloudContactcenterinsightsV1SentimentData", + "description": "Data specifying sentiment." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationParticipant": { + "description": "The call participant speaking for a given utterance.", + "id": "GoogleCloudContactcenterinsightsV1ConversationParticipant", + "properties": { + "dialogflowParticipant": { + "description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}", + "type": "string" + }, + "dialogflowParticipantName": { + "description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}", + "type": "string" + }, + "role": { + "description": "The role of the participant.", + "enum": [ + "ROLE_UNSPECIFIED", + "HUMAN_AGENT", + "AUTOMATED_AGENT", + "END_USER", + "ANY_AGENT" + ], + "enumDescriptions": [ + "Participant's role is not set.", + "Participant is a human agent.", + "Participant is an automated agent.", + "Participant is an end user who conversed with the contact center.", + "Participant is either a human or automated agent." + ], + "type": "string" + }, + "userId": { + "description": "A user-specified ID representing the participant.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationTranscript": { + "description": "A message representing the transcript of a conversation.", + "id": "GoogleCloudContactcenterinsightsV1ConversationTranscript", + "properties": { + "transcriptSegments": { + "description": "A list of sequential transcript segments that comprise the conversation.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment": { + "description": "A segment of a full transcript.", + "id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment", + "properties": { + "channelTag": { + "description": "For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.", + "format": "int32", + "type": "integer" + }, + "confidence": { + "description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.", + "format": "float", + "type": "number" + }, + "languageCode": { + "description": "The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\".", + "type": "string" + }, + "segmentParticipant": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationParticipant", + "description": "The participant of this segment." + }, + "text": { + "description": "The text of this segment.", + "type": "string" + }, + "words": { + "description": "A list of the word-specific information for each word in the segment.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo": { + "description": "Word-level info for words in a transcript.", + "id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo", + "properties": { + "confidence": { + "description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.", + "format": "float", + "type": "number" + }, + "endOffset": { + "description": "Time offset of the end of this word relative to the beginning of the total conversation.", + "format": "google-duration", + "type": "string" + }, + "startOffset": { + "description": "Time offset of the start of this word relative to the beginning of the total conversation.", + "format": "google-duration", + "type": "string" + }, + "word": { + "description": "The word itself. Includes punctuation marks that surround the word.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata": { + "description": "Metadata for a create analysis operation.", + "id": "GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata", + "properties": { + "conversation": { + "description": "Output only. The Conversation that this Analysis Operation belongs to.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata": { + "description": "Metadata for creating an issue model.", + "id": "GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest", + "description": "The original request for creation." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest": { + "description": "The request to create an issue model.", + "id": "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest", + "properties": { + "issueModel": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel", + "description": "Required. The issue model to create." + }, + "parent": { + "description": "Required. The parent resource of the issue model.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata": { + "description": "Metadata for deleting an issue model.", + "id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest", + "description": "The original request for deletion." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest": { + "description": "The request to delete an issue model.", + "id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest", + "properties": { + "name": { + "description": "Required. The name of the issue model to delete.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata": { + "description": "Metadata for deploying an issue model.", + "id": "GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest", + "description": "The original request for deployment." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest": { + "description": "The request to deploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest", + "properties": { + "name": { + "description": "Required. The issue model to deploy.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DeployIssueModelResponse": { + "description": "The response to deploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1DeployIssueModelResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DialogflowIntent": { + "description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.", + "id": "GoogleCloudContactcenterinsightsV1DialogflowIntent", + "properties": { + "displayName": { + "description": "The human-readable name of the intent.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DialogflowInteractionData": { + "description": "Dialogflow interaction data.", + "id": "GoogleCloudContactcenterinsightsV1DialogflowInteractionData", + "properties": { + "confidence": { + "description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).", + "format": "float", + "type": "number" + }, + "dialogflowIntentId": { + "description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DialogflowSource": { + "description": "A Dialogflow source of conversation data.", + "id": "GoogleCloudContactcenterinsightsV1DialogflowSource", + "properties": { + "audioUri": { + "description": "Cloud Storage URI that points to a file that contains the conversation audio.", + "type": "string" + }, + "dialogflowConversation": { + "description": "Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1Entity": { + "description": "The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.", + "id": "GoogleCloudContactcenterinsightsV1Entity", + "properties": { + "displayName": { + "description": "The representative name for the entity.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.", + "type": "object" + }, + "salience": { + "description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.", + "format": "float", + "type": "number" + }, + "sentiment": { + "$ref": "GoogleCloudContactcenterinsightsV1SentimentData", + "description": "The aggregate sentiment expressed for this entity in the conversation." + }, + "type": { + "description": "The entity type.", + "enum": [ + "TYPE_UNSPECIFIED", + "PERSON", + "LOCATION", + "ORGANIZATION", + "EVENT", + "WORK_OF_ART", + "CONSUMER_GOOD", + "OTHER", + "PHONE_NUMBER", + "ADDRESS", + "DATE", + "NUMBER", + "PRICE" + ], + "enumDescriptions": [ + "Unspecified.", + "Person.", + "Location.", + "Organization.", + "Event.", + "Artwork.", + "Consumer product.", + "Other types of entities.", + "Phone number. The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text: * `number` - The actual number, broken down into sections according to local convention. * `national_prefix` - Country code, if detected. * `area_code` - Region or area code, if detected. * `extension` - Phone extension (to be dialed after connection), if detected.", + "Address. The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - Street number. * `locality` - City or town. * `street_name` - Street/route name, if detected. * `postal_code` - Postal code, if detected. * `country` - Country, if detected. * `broad_region` - Administrative area, such as the state, if detected. * `narrow_region` - Smaller administrative area, such as county, if detected. * `sublocality` - Used in Asian addresses to demark a district within a city, if detected.", + "Date. The metadata identifies the components of the date: * `year` - Four digit year, if detected. * `month` - Two digit month number, if detected. * `day` - Two digit day number, if detected.", + "Number. The metadata is the number itself.", + "Price. The metadata identifies the `value` and `currency`." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1EntityMentionData": { + "description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.", + "id": "GoogleCloudContactcenterinsightsV1EntityMentionData", + "properties": { + "entityUniqueId": { + "description": "The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.", + "type": "string" + }, + "sentiment": { + "$ref": "GoogleCloudContactcenterinsightsV1SentimentData", + "description": "Sentiment expressed for this mention of the entity." + }, + "type": { + "description": "The type of the entity mention.", + "enum": [ + "MENTION_TYPE_UNSPECIFIED", + "PROPER", + "COMMON" + ], + "enumDescriptions": [ + "Unspecified.", + "Proper noun.", + "Common noun (or noun compound)." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ExactMatchConfig": { + "description": "Exact match configuration.", + "id": "GoogleCloudContactcenterinsightsV1ExactMatchConfig", + "properties": { + "caseSensitive": { + "description": "Whether to consider case sensitivity when performing an exact match.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata": { + "description": "Metadata for an export insights operation.", + "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "partialErrors": { + "description": "Partial errors during export operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest", + "description": "The original request for export." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest": { + "description": "The request to export insights.", + "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest", + "properties": { + "bigQueryDestination": { + "$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination", + "description": "Specified if sink is a BigQuery table." + }, + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.", + "type": "string" + }, + "kmsKey": { + "description": "A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource to export data from.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination": { + "description": "A BigQuery Table Reference.", + "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination", + "properties": { + "dataset": { + "description": "Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.", + "type": "string" + }, + "projectId": { + "description": "A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.", + "type": "string" + }, + "table": { + "description": "The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse": { + "description": "Response for an export insights operation.", + "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1FaqAnswerData": { + "description": "Agent Assist frequently-asked-question answer data.", + "id": "GoogleCloudContactcenterinsightsV1FaqAnswerData", + "properties": { + "answer": { + "description": "The piece of text from the `source` knowledge base document.", + "type": "string" + }, + "confidenceScore": { + "description": "The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).", + "format": "float", + "type": "number" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Map that contains metadata about the FAQ answer and the document that it originates from.", + "type": "object" + }, + "queryRecord": { + "description": "Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}.", + "type": "string" + }, + "question": { + "description": "The corresponding FAQ question.", + "type": "string" + }, + "source": { + "description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1GcsSource": { + "description": "A Cloud Storage source of conversation data.", + "id": "GoogleCloudContactcenterinsightsV1GcsSource", + "properties": { + "audioUri": { + "description": "Cloud Storage URI that points to a file that contains the conversation audio.", + "type": "string" + }, + "transcriptUri": { + "description": "Immutable. Cloud Storage URI that points to a file that contains the conversation transcript.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1HoldData": { + "description": "The data for a hold annotation.", + "id": "GoogleCloudContactcenterinsightsV1HoldData", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1Intent": { + "description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.", + "id": "GoogleCloudContactcenterinsightsV1Intent", + "properties": { + "displayName": { + "description": "The human-readable name of the intent.", + "type": "string" + }, + "id": { + "description": "The unique identifier of the intent.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IntentMatchData": { + "description": "The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.", + "id": "GoogleCloudContactcenterinsightsV1IntentMatchData", + "properties": { + "intentUniqueId": { + "description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1InterruptionData": { + "description": "The data for an interruption annotation.", + "id": "GoogleCloudContactcenterinsightsV1InterruptionData", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1Issue": { + "description": "The issue resource.", + "id": "GoogleCloudContactcenterinsightsV1Issue", + "properties": { + "createTime": { + "description": "Output only. The time at which this issue was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "The representative name for the issue.", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}", + "type": "string" + }, + "updateTime": { + "description": "Output only. The most recent time that this issue was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IssueAssignment": { + "description": "Information about the issue.", + "id": "GoogleCloudContactcenterinsightsV1IssueAssignment", + "properties": { + "displayName": { + "description": "Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.", + "type": "string" + }, + "issue": { + "description": "Resource name of the assigned issue.", + "type": "string" + }, + "score": { + "description": "Score indicating the likelihood of the issue assignment. currently bounded on [0,1].", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IssueModel": { + "description": "The issue model resource.", + "id": "GoogleCloudContactcenterinsightsV1IssueModel", + "properties": { + "createTime": { + "description": "Output only. The time at which this issue model was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "The representative name for the issue model.", + "type": "string" + }, + "inputDataConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig", + "description": "Configs for the input data that used to create the issue model." + }, + "name": { + "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}", + "type": "string" + }, + "state": { + "description": "Output only. State of the model.", + "enum": [ + "STATE_UNSPECIFIED", + "UNDEPLOYED", + "DEPLOYING", + "DEPLOYED", + "UNDEPLOYING", + "DELETING" + ], + "enumDescriptions": [ + "Unspecified.", + "Model is not deployed but is ready to deploy.", + "Model is being deployed.", + "Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.", + "Model is being undeployed.", + "Model is being deleted." + ], + "readOnly": true, + "type": "string" + }, + "trainingStats": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats", + "description": "Output only. Immutable. The issue model's label statistics on its training data.", + "readOnly": true + }, + "updateTime": { + "description": "Output only. The most recent time at which the issue model was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig": { + "description": "Configs for the input data used to create the issue model.", + "id": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig", + "properties": { + "medium": { + "description": "Required. ", + "enum": [ + "MEDIUM_UNSPECIFIED", + "PHONE_CALL", + "CHAT" + ], + "enumDescriptions": [ + "Default value.", + "The format for conversations that took place over the phone.", + "The format for conversations that took place over chat." + ], + "type": "string" + }, + "trainingConversationsCount": { + "description": "Output only. Number of conversations used in training. Output only.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IssueModelLabelStats": { + "description": "Aggregated statistics about an issue model.", + "id": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats", + "properties": { + "analyzedConversationsCount": { + "description": "Number of conversations the issue model has analyzed at this point in time.", + "format": "int64", + "type": "string" + }, + "issueStats": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats" + }, + "description": "Statistics on each issue. Key is the issue's resource name.", + "type": "object" + }, + "unclassifiedConversationsCount": { + "description": "Number of analyzed conversations for which no issue was applicable at this point in time.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats": { + "description": "Aggregated statistics about an issue.", + "id": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats", + "properties": { + "issue": { + "description": "Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}", + "type": "string" + }, + "labeledConversationsCount": { + "description": "Number of conversations attached to the issue at this point in time.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IssueModelResult": { + "description": "Issue Modeling result on a conversation.", + "id": "GoogleCloudContactcenterinsightsV1IssueModelResult", + "properties": { + "issueModel": { + "description": "Issue model that generates the result.", + "type": "string" + }, + "issues": { + "description": "All the matched issues.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueAssignment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ListAnalysesResponse": { + "description": "The response to list analyses.", + "id": "GoogleCloudContactcenterinsightsV1ListAnalysesResponse", + "properties": { + "analyses": { + "description": "The analyses that match the request.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1Analysis" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ListConversationsResponse": { + "description": "The response of listing conversations.", + "id": "GoogleCloudContactcenterinsightsV1ListConversationsResponse", + "properties": { + "conversations": { + "description": "The conversations that match the request.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token which can be sent as `page_token` to retrieve the next page. If this field is set, it means there is another page available. If it is not set, it means no other pages are available.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ListIssueModelsResponse": { + "description": "The response of listing issue models.", + "id": "GoogleCloudContactcenterinsightsV1ListIssueModelsResponse", + "properties": { + "issueModels": { + "description": "The issue models that match the request.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ListIssuesResponse": { + "description": "The response of listing issues.", + "id": "GoogleCloudContactcenterinsightsV1ListIssuesResponse", + "properties": { + "issues": { + "description": "The issues that match the request.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1Issue" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse": { + "description": "The response of listing phrase matchers.", + "id": "GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "phraseMatchers": { + "description": "The phrase matchers that match the request.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1PhraseMatchData": { + "description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.", + "id": "GoogleCloudContactcenterinsightsV1PhraseMatchData", + "properties": { + "displayName": { + "description": "The human-readable name of the phrase matcher.", + "type": "string" + }, + "phraseMatcher": { + "description": "The unique identifier (the resource name) of the phrase matcher.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1PhraseMatchRule": { + "description": "The data for a phrase match rule.", + "id": "GoogleCloudContactcenterinsightsV1PhraseMatchRule", + "properties": { + "config": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig", + "description": "Provides additional information about the rule that specifies how to apply the rule." + }, + "negated": { + "description": "Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.", + "type": "boolean" + }, + "query": { + "description": "Required. The phrase to be matched.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig": { + "description": "Configuration information of a phrase match rule.", + "id": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig", + "properties": { + "exactMatchConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1ExactMatchConfig", + "description": "The configuration for the exact match rule." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup": { + "description": "A message representing a rule in the phrase matcher.", + "id": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup", + "properties": { + "phraseMatchRules": { + "description": "A list of phase match rules that are included in this group.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchRule" + }, + "type": "array" + }, + "type": { + "description": "Required. The type of this phrase match rule group.", + "enum": [ + "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED", + "ALL_OF", + "ANY_OF" + ], + "enumDescriptions": [ + "Unspecified.", + "Must meet all phrase match rules or there is no match.", + "If any of the phrase match rules are met, there is a match." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1PhraseMatcher": { + "description": "The phrase matcher resource.", + "id": "GoogleCloudContactcenterinsightsV1PhraseMatcher", + "properties": { + "activationUpdateTime": { + "description": "Output only. The most recent time at which the activation status was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "active": { + "description": "Applies the phrase matcher only when it is active.", + "type": "boolean" + }, + "displayName": { + "description": "The human-readable name of the phrase matcher.", + "type": "string" + }, + "name": { + "description": "The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}", + "type": "string" + }, + "phraseMatchRuleGroups": { + "description": "A list of phase match rule groups that are included in this matcher.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup" + }, + "type": "array" + }, + "revisionCreateTime": { + "description": "Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "revisionId": { + "description": "Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567", + "readOnly": true, + "type": "string" + }, + "roleMatch": { + "description": "The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.", + "enum": [ + "ROLE_UNSPECIFIED", + "HUMAN_AGENT", + "AUTOMATED_AGENT", + "END_USER", + "ANY_AGENT" + ], + "enumDescriptions": [ + "Participant's role is not set.", + "Participant is a human agent.", + "Participant is an automated agent.", + "Participant is an end user who conversed with the contact center.", + "Participant is either a human or automated agent." + ], + "type": "string" + }, + "type": { + "description": "Required. The type of this phrase matcher.", + "enum": [ + "PHRASE_MATCHER_TYPE_UNSPECIFIED", + "ALL_OF", + "ANY_OF" + ], + "enumDescriptions": [ + "Unspecified.", + "Must meet all phrase match rule groups or there is no match.", + "If any of the phrase match rule groups are met, there is a match." + ], + "type": "string" + }, + "versionTag": { + "description": "The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1RuntimeAnnotation": { + "description": "An annotation that was generated during the customer and agent interaction.", + "id": "GoogleCloudContactcenterinsightsV1RuntimeAnnotation", + "properties": { + "annotationId": { + "description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}", + "type": "string" + }, + "answerFeedback": { + "$ref": "GoogleCloudContactcenterinsightsV1AnswerFeedback", + "description": "The feedback that the customer has about the answer in `data`." + }, + "articleSuggestion": { + "$ref": "GoogleCloudContactcenterinsightsV1ArticleSuggestionData", + "description": "Agent Assist Article Suggestion data." + }, + "createTime": { + "description": "The time at which this annotation was created.", + "format": "google-datetime", + "type": "string" + }, + "dialogflowInteraction": { + "$ref": "GoogleCloudContactcenterinsightsV1DialogflowInteractionData", + "description": "Dialogflow interaction data." + }, + "endBoundary": { + "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary", + "description": "The boundary in the conversation where the annotation ends, inclusive." + }, + "faqAnswer": { + "$ref": "GoogleCloudContactcenterinsightsV1FaqAnswerData", + "description": "Agent Assist FAQ answer data." + }, + "smartComposeSuggestion": { + "$ref": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData", + "description": "Agent Assist Smart Compose suggestion data." + }, + "smartReply": { + "$ref": "GoogleCloudContactcenterinsightsV1SmartReplyData", + "description": "Agent Assist Smart Reply data." + }, + "startBoundary": { + "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary", + "description": "The boundary in the conversation where the annotation starts, inclusive." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SentimentData": { + "description": "The data for a sentiment annotation.", + "id": "GoogleCloudContactcenterinsightsV1SentimentData", + "properties": { + "magnitude": { + "description": "A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.", + "format": "float", + "type": "number" + }, + "score": { + "description": "The sentiment score between -1.0 (negative) and 1.0 (positive).", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1Settings": { + "description": "The settings resource.", + "id": "GoogleCloudContactcenterinsightsV1Settings", + "properties": { + "analysisConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig", + "description": "Default analysis settings." + }, + "conversationTtl": { + "description": "The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.", + "format": "google-duration", + "type": "string" + }, + "createTime": { + "description": "Output only. The time at which the settings was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "languageCode": { + "description": "A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to \"en-US\" if it is neither specified on the segment nor here.", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings", + "type": "string" + }, + "pubsubNotificationSettings": { + "additionalProperties": { + "type": "string" + }, + "description": "A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * \"all-triggers\": Notify each time any of the supported triggers occurs. * \"create-analysis\": Notify each time an analysis is created. * \"create-conversation\": Notify each time a conversation is created. * \"export-insights-data\": Notify each time an export is complete. * \"update-conversation\": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}", + "type": "object" + }, + "updateTime": { + "description": "Output only. The time at which the settings were last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig": { + "description": "Default configuration when creating Analyses in Insights.", + "id": "GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig", + "properties": { + "runtimeIntegrationAnalysisPercentage": { + "description": "Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SilenceData": { + "description": "The data for a silence annotation.", + "id": "GoogleCloudContactcenterinsightsV1SilenceData", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData": { + "description": "Agent Assist Smart Compose suggestion data.", + "id": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData", + "properties": { + "confidenceScore": { + "description": "The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).", + "format": "double", + "type": "number" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.", + "type": "object" + }, + "queryRecord": { + "description": "Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}", + "type": "string" + }, + "suggestion": { + "description": "The content of the suggestion.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SmartReplyData": { + "description": "Agent Assist Smart Reply data.", + "id": "GoogleCloudContactcenterinsightsV1SmartReplyData", + "properties": { + "confidenceScore": { + "description": "The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).", + "format": "double", + "type": "number" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Map that contains metadata about the Smart Reply and the document from which it originates.", + "type": "object" + }, + "queryRecord": { + "description": "Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}", + "type": "string" + }, + "reply": { + "description": "The content of the reply.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata": { + "description": "Metadata for undeploying an issue model.", + "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest", + "description": "The original request for undeployment." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest": { + "description": "The request to undeploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest", + "properties": { + "name": { + "description": "Required. The issue model to undeploy.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse": { + "description": "The response to undeploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata": { + "description": "Metadata for a create analysis operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata", + "properties": { + "conversation": { + "description": "Output only. The Conversation that this Analysis Operation belongs to.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata": { + "description": "Metadata for creating an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest", + "description": "The original request for creation." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest": { + "description": "The request to create an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest", + "properties": { + "issueModel": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel", + "description": "Required. The issue model to create." + }, + "parent": { + "description": "Required. The parent resource of the issue model.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata": { + "description": "Metadata for deleting an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest", + "description": "The original request for deletion." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest": { + "description": "The request to delete an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest", + "properties": { + "name": { + "description": "Required. The name of the issue model to delete.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata": { + "description": "Metadata for deploying an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest", + "description": "The original request for deployment." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest": { + "description": "The request to deploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest", + "properties": { + "name": { + "description": "Required. The issue model to deploy.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse": { + "description": "The response to deploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata": { + "description": "Metadata for an export insights operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "partialErrors": { + "description": "Partial errors during export operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest", + "description": "The original request for export." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest": { + "description": "The request to export insights.", + "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest", + "properties": { + "bigQueryDestination": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination", + "description": "Specified if sink is a BigQuery table." + }, + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.", + "type": "string" + }, + "kmsKey": { + "description": "A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource to export data from.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination": { + "description": "A BigQuery Table Reference.", + "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination", + "properties": { + "dataset": { + "description": "Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.", + "type": "string" + }, + "projectId": { + "description": "A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.", + "type": "string" + }, + "table": { + "description": "The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse": { + "description": "Response for an export insights operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IssueModel": { + "description": "The issue model resource.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModel", + "properties": { + "createTime": { + "description": "Output only. The time at which this issue model was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "The representative name for the issue model.", + "type": "string" + }, + "inputDataConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig", + "description": "Configs for the input data that used to create the issue model." + }, + "name": { + "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}", + "type": "string" + }, + "state": { + "description": "Output only. State of the model.", + "enum": [ + "STATE_UNSPECIFIED", + "UNDEPLOYED", + "DEPLOYING", + "DEPLOYED", + "UNDEPLOYING", + "DELETING" + ], + "enumDescriptions": [ + "Unspecified.", + "Model is not deployed but is ready to deploy.", + "Model is being deployed.", + "Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.", + "Model is being undeployed.", + "Model is being deleted." + ], + "readOnly": true, + "type": "string" + }, + "trainingStats": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats", + "description": "Output only. Immutable. The issue model's label statistics on its training data.", + "readOnly": true + }, + "updateTime": { + "description": "Output only. The most recent time at which the issue model was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig": { + "description": "Configs for the input data used to create the issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig", + "properties": { + "medium": { + "description": "Required. ", + "enum": [ + "MEDIUM_UNSPECIFIED", + "PHONE_CALL", + "CHAT" + ], + "enumDescriptions": [ + "Default value.", + "The format for conversations that took place over the phone.", + "The format for conversations that took place over chat." + ], + "type": "string" + }, + "trainingConversationsCount": { + "description": "Output only. Number of conversations used in training. Output only.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats": { + "description": "Aggregated statistics about an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats", + "properties": { + "analyzedConversationsCount": { + "description": "Number of conversations the issue model has analyzed at this point in time.", + "format": "int64", + "type": "string" + }, + "issueStats": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats" + }, + "description": "Statistics on each issue. Key is the issue's resource name.", + "type": "object" + }, + "unclassifiedConversationsCount": { + "description": "Number of analyzed conversations for which no issue was applicable at this point in time.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats": { + "description": "Aggregated statistics about an issue.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats", + "properties": { + "issue": { + "description": "Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}", + "type": "string" + }, + "labeledConversationsCount": { + "description": "Number of conversations attached to the issue at this point in time.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata": { + "description": "Metadata for undeploying an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest", + "description": "The original request for undeployment." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest": { + "description": "The request to undeploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest", + "properties": { + "name": { + "description": "Required. The issue model to undeploy.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse": { + "description": "The response to undeploy an issue model.", + "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse", + "properties": {}, + "type": "object" + }, + "GoogleLongrunningListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "GoogleLongrunningListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleLongrunningOperation" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleProtobufEmpty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "GoogleProtobufEmpty", + "properties": {}, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Contact Center AI Insights API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/container__v1.json b/discovery/googleapis/container__v1.json index 7512a36ea..1d923ca79 100644 --- a/discovery/googleapis/container__v1.json +++ b/discovery/googleapis/container__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -2457,7 +2457,7 @@ } } }, - "revision": "20210708", + "revision": "20210820", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2472,6 +2472,10 @@ "acceleratorType": { "description": "The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)", "type": "string" + }, + "gpuPartitionSize": { + "description": "Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).", + "type": "string" } }, "type": "object" @@ -2496,6 +2500,10 @@ "$ref": "GcePersistentDiskCsiDriverConfig", "description": "Configuration for the Compute Engine Persistent Disk CSI driver." }, + "gcpFilestoreCsiDriverConfig": { + "$ref": "GcpFilestoreCsiDriverConfig", + "description": "Configuration for the GCP Filestore CSI driver." + }, "horizontalPodAutoscaling": { "$ref": "HorizontalPodAutoscaling", "description": "Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods." @@ -2831,6 +2839,10 @@ }, "type": "array" }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Logging configuration for the cluster." + }, "loggingService": { "description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", "type": "string" @@ -2847,6 +2859,10 @@ "$ref": "MasterAuthorizedNetworksConfig", "description": "The configuration options for master authorized networks feature." }, + "monitoringConfig": { + "$ref": "MonitoringConfig", + "description": "Monitoring configuration for the cluster." + }, "monitoringService": { "description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", "type": "string" @@ -2982,6 +2998,20 @@ "$ref": "AutoprovisioningNodePoolDefaults", "description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP." }, + "autoscalingProfile": { + "description": "Defines autoscaling behaviour.", + "enum": [ + "PROFILE_UNSPECIFIED", + "OPTIMIZE_UTILIZATION", + "BALANCED" + ], + "enumDescriptions": [ + "No change to autoscaling configuration.", + "Prioritize optimizing utilization of resources.", + "Use default (balanced) autoscaling configuration." + ], + "type": "string" + }, "enableNodeAutoprovisioning": { "description": "Enables automatic node pool creation and deletion.", "type": "boolean" @@ -3061,6 +3091,10 @@ }, "type": "array" }, + "desiredLoggingConfig": { + "$ref": "LoggingConfig", + "description": "The desired logging configuration." + }, "desiredLoggingService": { "description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", "type": "string" @@ -3073,6 +3107,10 @@ "description": "The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version", "type": "string" }, + "desiredMonitoringConfig": { + "$ref": "MonitoringConfig", + "description": "The desired monitoring configuration." + }, "desiredMonitoringService": { "description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", "type": "string" @@ -3321,6 +3359,17 @@ }, "type": "object" }, + "GcpFilestoreCsiDriverConfig": { + "description": "Configuration for the GCP Filestore CSI driver.", + "id": "GcpFilestoreCsiDriverConfig", + "properties": { + "enabled": { + "description": "Whether the GCP Filestore CSI driver is enabled for this cluster.", + "type": "boolean" + } + }, + "type": "object" + }, "GetJSONWebKeysResponse": { "description": "GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517", "id": "GetJSONWebKeysResponse", @@ -3669,6 +3718,41 @@ }, "type": "object" }, + "LoggingComponentConfig": { + "description": "LoggingComponentConfig is cluster logging component configuration.", + "id": "LoggingComponentConfig", + "properties": { + "enableComponents": { + "description": "Select components to collect logs. An empty set would disable all logging.", + "items": { + "enum": [ + "COMPONENT_UNSPECIFIED", + "SYSTEM_COMPONENTS", + "WORKLOADS" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "system components", + "workloads" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "LoggingConfig": { + "description": "LoggingConfig is cluster logging configuration.", + "id": "LoggingConfig", + "properties": { + "componentConfig": { + "$ref": "LoggingComponentConfig", + "description": "Logging components configuration" + } + }, + "type": "object" + }, "MaintenancePolicy": { "description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.", "id": "MaintenancePolicy", @@ -3792,6 +3876,39 @@ }, "type": "object" }, + "MonitoringComponentConfig": { + "description": "MonitoringComponentConfig is cluster monitoring component configuration.", + "id": "MonitoringComponentConfig", + "properties": { + "enableComponents": { + "description": "Select components to collect metrics. An empty set would disable all monitoring.", + "items": { + "enum": [ + "COMPONENT_UNSPECIFIED", + "SYSTEM_COMPONENTS" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "system components" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "MonitoringConfig": { + "description": "MonitoringConfig is cluster monitoring configuration.", + "id": "MonitoringConfig", + "properties": { + "componentConfig": { + "$ref": "MonitoringComponentConfig", + "description": "Monitoring components configuration" + } + }, + "type": "object" + }, "NetworkConfig": { "description": "NetworkConfig reports the relative names of network & subnetwork.", "id": "NetworkConfig", @@ -3907,6 +4024,10 @@ "description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'", "type": "string" }, + "gvnic": { + "$ref": "VirtualNIC", + "description": "Enable or disable gvnic in the node pool." + }, "imageType": { "description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used.", "type": "string" @@ -3939,7 +4060,7 @@ "additionalProperties": { "type": "string" }, - "description": "The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - \"cluster-location\" - \"cluster-name\" - \"cluster-uid\" - \"configure-sh\" - \"containerd-configure-sh\" - \"enable-os-login\" - \"gci-ensure-gke-docker\" - \"gci-metrics-enabled\" - \"gci-update-strategy\" - \"instance-template\" - \"kube-env\" - \"startup-script\" - \"user-data\" - \"disable-address-manager\" - \"windows-startup-script-ps1\" - \"common-psm1\" - \"k8s-node-setup-psm1\" - \"install-ssh-psm1\" - \"user-profile-psm1\" The following keys are reserved for Windows nodes: - \"serial-port-logging-enable\" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.", + "description": "The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - \"cluster-location\" - \"cluster-name\" - \"cluster-uid\" - \"configure-sh\" - \"containerd-configure-sh\" - \"enable-os-login\" - \"gci-ensure-gke-docker\" - \"gci-metrics-enabled\" - \"gci-update-strategy\" - \"instance-template\" - \"kube-env\" - \"startup-script\" - \"user-data\" - \"disable-address-manager\" - \"windows-startup-script-ps1\" - \"common-psm1\" - \"k8s-node-setup-psm1\" - \"install-ssh-psm1\" - \"user-profile-psm1\" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.", "type": "object" }, "minCpuPlatform": { @@ -4036,6 +4157,25 @@ }, "type": "object" }, + "NodeNetworkConfig": { + "description": "Parameters for node pool-level network config.", + "id": "NodeNetworkConfig", + "properties": { + "createPodRange": { + "description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", + "type": "boolean" + }, + "podIpv4CidrBlock": { + "description": "The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", + "type": "string" + }, + "podRange": { + "description": "The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", + "type": "string" + } + }, + "type": "object" + }, "NodePool": { "description": "NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.", "id": "NodePool", @@ -4086,6 +4226,10 @@ "description": "The name of the node pool.", "type": "string" }, + "networkConfig": { + "$ref": "NodeNetworkConfig", + "description": "Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults." + }, "podIpv4CidrSize": { "description": "[Output only] The pod CIDR block size per node in this node pool.", "format": "int32", @@ -5262,6 +5406,10 @@ "description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", "type": "string" }, + "gvnic": { + "$ref": "VirtualNIC", + "description": "Enable or disable gvnic on the node pool." + }, "imageType": { "description": "Required. The desired image type for the node pool.", "type": "string" @@ -5478,6 +5626,17 @@ }, "type": "object" }, + "VirtualNIC": { + "description": "Configuration of gVNIC feature.", + "id": "VirtualNIC", + "properties": { + "enabled": { + "description": "Whether gVNIC features are enabled in the node pool.", + "type": "boolean" + } + }, + "type": "object" + }, "WorkloadIdentityConfig": { "description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.", "id": "WorkloadIdentityConfig", diff --git a/discovery/googleapis/content__v2.1.json b/discovery/googleapis/content__v2.1.json index c2544cedd..1372ca541 100644 --- a/discovery/googleapis/content__v2.1.json +++ b/discovery/googleapis/content__v2.1.json @@ -426,6 +426,42 @@ "https://www.googleapis.com/auth/content" ] }, + "requestphoneverification": { + "description": "Request verification code to start phone verification.", + "flatPath": "{merchantId}/accounts/{accountId}/requestphoneverification", + "httpMethod": "POST", + "id": "content.accounts.requestphoneverification", + "parameterOrder": [ + "merchantId", + "accountId" + ], + "parameters": { + "accountId": { + "description": "Required. The ID of the account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "merchantId": { + "description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/accounts/{accountId}/requestphoneverification", + "request": { + "$ref": "RequestPhoneVerificationRequest" + }, + "response": { + "$ref": "RequestPhoneVerificationResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, "update": { "description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.", "flatPath": "{merchantId}/accounts/{accountId}", @@ -497,6 +533,42 @@ "scopes": [ "https://www.googleapis.com/auth/content" ] + }, + "verifyphonenumber": { + "description": "Validates verification code to verify phone number for the account.", + "flatPath": "{merchantId}/accounts/{accountId}/verifyphonenumber", + "httpMethod": "POST", + "id": "content.accounts.verifyphonenumber", + "parameterOrder": [ + "merchantId", + "accountId" + ], + "parameters": { + "accountId": { + "description": "Required. The ID of the account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "merchantId": { + "description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/accounts/{accountId}/verifyphonenumber", + "request": { + "$ref": "VerifyPhoneNumberRequest" + }, + "response": { + "$ref": "VerifyPhoneNumberResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] } }, "resources": { @@ -1819,6 +1891,60 @@ } } }, + "freelistingsprogram": { + "methods": { + "get": { + "description": "Retrieves the status and review eligibility for the free listing program.", + "flatPath": "{merchantId}/freelistingsprogram", + "httpMethod": "GET", + "id": "content.freelistingsprogram.get", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/freelistingsprogram", + "response": { + "$ref": "FreeListingsProgramStatus" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "requestreview": { + "description": "Requests a review for Free Listings program in the provided region. Important: This method is only whitelisted for selected merchants.", + "flatPath": "{merchantId}/freelistingsprogram/requestreview", + "httpMethod": "POST", + "id": "content.freelistingsprogram.requestreview", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/freelistingsprogram/requestreview", + "request": { + "$ref": "RequestReviewFreeListingsRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, "liasettings": { "methods": { "custombatch": { @@ -2897,6 +3023,41 @@ "https://www.googleapis.com/auth/content" ] }, + "captureOrder": { + "description": "Capture funds from the customer for the current order total. This method should be called after the merchant verifies that they are able and ready to start shipping the order. This method blocks until a response is received from the payment processsor. If this method succeeds, the merchant is guaranteed to receive funds for the order after shipment. If the request fails, it can be retried or the order may be cancelled. This method cannot be called after the entire order is already shipped.", + "flatPath": "{merchantId}/orders/{orderId}/captureOrder", + "httpMethod": "POST", + "id": "content.orders.captureOrder", + "parameterOrder": [ + "merchantId", + "orderId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account that manages the order. This cannot be a multi-client account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "orderId": { + "description": "Required. The ID of the Order.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/orders/{orderId}/captureOrder", + "request": { + "$ref": "CaptureOrderRequest" + }, + "response": { + "$ref": "CaptureOrderResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, "createtestorder": { "description": "Sandbox only. Creates a test order.", "flatPath": "{merchantId}/testorders", @@ -4155,6 +4316,38 @@ } } }, + "promotions": { + "methods": { + "create": { + "description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it will update the promotion instead.", + "flatPath": "{merchantId}/promotions", + "httpMethod": "POST", + "id": "content.promotions.create", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account that contains the collection.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/promotions", + "request": { + "$ref": "Promotion" + }, + "response": { + "$ref": "Promotion" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, "pubsubnotificationsettings": { "methods": { "get": { @@ -5491,9 +5684,63 @@ ] } } + }, + "shoppingadsprogram": { + "methods": { + "get": { + "description": "Retrieves the status and review eligibility for the Shopping Ads program.", + "flatPath": "{merchantId}/shoppingadsprogram", + "httpMethod": "GET", + "id": "content.shoppingadsprogram.get", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/shoppingadsprogram", + "response": { + "$ref": "ShoppingAdsProgramStatus" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "requestreview": { + "description": "Requests a review for Shopping Ads program in the provided country.", + "flatPath": "{merchantId}/shoppingadsprogram/requestreview", + "httpMethod": "POST", + "id": "content.shoppingadsprogram.requestreview", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/shoppingadsprogram/requestreview", + "request": { + "$ref": "RequestReviewShoppingAdsRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } } }, - "revision": "20210715", + "revision": "20210901", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -5587,7 +5834,7 @@ "id": "AccountAddress", "properties": { "country": { - "description": "CLDR country code (e.g. \"US\"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.", + "description": "CLDR country code (e.g. \"US\"). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.", "type": "string" }, "locality": { @@ -6549,7 +6796,7 @@ "id": "BusinessDayConfig", "properties": { "businessDays": { - "description": "Regular business days. May not be empty.", + "description": "Regular business days, such as '\"monday\"'. May not be empty.", "items": { "type": "string" }, @@ -6563,15 +6810,16 @@ "id": "BuyOnGoogleProgramStatus", "properties": { "customerServicePendingEmail": { - "description": "The customer service pending email.", + "description": "The customer service pending email. After verification this field becomes empty.", "type": "string" }, "customerServiceVerifiedEmail": { - "description": "The customer service verified email.", + "description": "Output only. The customer service verified email.", + "readOnly": true, "type": "string" }, "participationStage": { - "description": "The current participation stage for the program.", + "description": "Output only. The current participation stage for the program.", "enum": [ "PROGRAM_PARTICIPATION_STAGE_UNSPECIFIED", "NOT_ELIGIBLE", @@ -6594,6 +6842,34 @@ "Merchant's program participation is active for a specific region code.", "Participation has been paused." ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "CaptureOrderRequest": { + "description": "Request message for the CaptureOrder method.", + "id": "CaptureOrderRequest", + "properties": {}, + "type": "object" + }, + "CaptureOrderResponse": { + "description": "Response message for the CaptureOrder method.", + "id": "CaptureOrderResponse", + "properties": { + "executionStatus": { + "description": "The status of the execution. Only defined if the request was successful. Acceptable values are: * \"duplicate\" * \"executed\"", + "enum": [ + "EXECUTION_STATUS_UNSPECIFIED", + "EXECUTED", + "DUPLICATE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The request was completed successfully.", + "The request was not performed because it already executed once successfully." + ], "type": "string" } }, @@ -7557,6 +7833,121 @@ }, "type": "object" }, + "FreeListingsProgramStatus": { + "description": "Response message for GetFreeListingsProgramStatus.", + "id": "FreeListingsProgramStatus", + "properties": { + "regionStatuses": { + "description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.", + "items": { + "$ref": "FreeListingsProgramStatusRegionStatus" + }, + "type": "array" + }, + "state": { + "description": "If program is successfully onboarded for at least one region.", + "enum": [ + "PROGRAM_STATE_UNSPECIFIED", + "ONBOARDED", + "NOT_ONBOARDED" + ], + "enumDescriptions": [ + "State is not known.", + "Program is onboarded for at least one country.", + "Program is not onboarded for any country." + ], + "type": "string" + } + }, + "type": "object" + }, + "FreeListingsProgramStatusRegionStatus": { + "description": "Status of program and region.", + "id": "FreeListingsProgramStatusRegionStatus", + "properties": { + "disapprovalDate": { + "description": "Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It will be present when `eligibility_status` is `WARNING`. Date will be provided in ISO 8601 format i.e. YYYY-MM-DD", + "type": "string" + }, + "eligibilityStatus": { + "description": "Eligibility status of the standard free listing program.", + "enum": [ + "STATE_UNSPECIFIED", + "APPROVED", + "DISAPPROVED", + "WARNING", + "UNDER_REVIEW", + "PENDING_REVIEW", + "ONBOARDING" + ], + "enumDescriptions": [ + "State is not known.", + "If the account has no issues and review is completed successfully.", + "There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.", + "If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.", + "Account is under review.", + "Account is waiting for review to start.", + "Program is currently onboarding." + ], + "type": "string" + }, + "enhancedEligibilityStatus": { + "description": "Eligibility status of the enhanced free listing program.", + "enum": [ + "STATE_UNSPECIFIED", + "APPROVED", + "DISAPPROVED", + "WARNING", + "UNDER_REVIEW", + "PENDING_REVIEW", + "ONBOARDING" + ], + "enumDescriptions": [ + "State is not known.", + "If the account has no issues and review is completed successfully.", + "There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.", + "If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.", + "Account is under review.", + "Account is waiting for review to start.", + "Program is currently onboarding." + ], + "type": "string" + }, + "ineligibilityReason": { + "description": "Reason if a program in a given country is not eligible for review. Populated only if `review_eligibility_status` is `INELIGIBLE`.", + "type": "string" + }, + "regionCodes": { + "description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reviewEligibilityStatus": { + "description": "If a program in a given country is eligible for review. It will be present only if eligibility status is `DISAPPROVED`.", + "enum": [ + "REVIEW_ELIGIBILITY_UNSPECIFIED", + "ELIGIBLE", + "INELIGIBLE" + ], + "enumDescriptions": [ + "Review eligibility state is unknown.", + "Account for a region code is eligible for review.", + "Account for a region code is not eligible for review." + ], + "type": "string" + }, + "reviewIssues": { + "description": "These issues will be evaluated in review process. Fix all the issues before requesting the review.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GmbAccounts": { "id": "GmbAccounts", "properties": { @@ -11789,6 +12180,10 @@ }, "type": "array" }, + "productHeight": { + "$ref": "ProductDimension", + "description": "The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." + }, "productHighlights": { "description": "Bullet points describing the most relevant highlights of a product.", "items": { @@ -11796,6 +12191,10 @@ }, "type": "array" }, + "productLength": { + "$ref": "ProductDimension", + "description": "The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." + }, "productTypes": { "description": "Categories of the item (formatted as in products data specification).", "items": { @@ -11803,6 +12202,14 @@ }, "type": "array" }, + "productWeight": { + "$ref": "ProductWeight", + "description": "The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive)." + }, + "productWidth": { + "$ref": "ProductDimension", + "description": "The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." + }, "promotionIds": { "description": "The unique ID of a promotion.", "items": { @@ -11932,6 +12339,21 @@ }, "type": "object" }, + "ProductDimension": { + "id": "ProductDimension", + "properties": { + "unit": { + "description": "Required. The length units. Acceptable values are: - \"`in`\" - \"`cm`\" ", + "type": "string" + }, + "value": { + "description": "Required. The length value represented as a number. The value can have a maximum precision of four decimal places.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "ProductProductDetail": { "id": "ProductProductDetail", "properties": { @@ -12245,6 +12667,21 @@ }, "type": "object" }, + "ProductWeight": { + "id": "ProductWeight", + "properties": { + "unit": { + "description": "Required. The weight unit. Acceptable values are: - \"`g`\" - \"`kg`\" - \"`oz`\" - \"`lb`\" ", + "type": "string" + }, + "value": { + "description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "ProductsCustomBatchRequest": { "id": "ProductsCustomBatchRequest", "properties": { @@ -12283,10 +12720,10 @@ }, "product": { "$ref": "Product", - "description": "The product to insert. Only required if the method is `insert`." + "description": "The product to insert or update. Only required if the method is `insert` or `update`. If the `update` method is used with `updateMask` only to delete a field, then this isn't required. For example, setting `salePrice` on the `updateMask` and not providing a `product` will result in an existing sale price on the product specified by `productId` being deleted." }, "productId": { - "description": "The ID of the product to get or delete. Only defined if the method is `get` or `delete`.", + "description": "The ID of the product to get or mutate. Only defined if the method is `get`, `delete`, or `update`.", "type": "string" }, "updateMask": { @@ -12467,6 +12904,234 @@ }, "type": "object" }, + "Promotion": { + "description": "Represents a promotion. (1) https://support.google.com/merchants/answer/2906014 (2) https://support.google.com/merchants/answer/10146130 (3) https://support.google.com/merchants/answer/9173673", + "id": "Promotion", + "properties": { + "brand": { + "description": "Product filter by brand for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "brandExclusion": { + "description": "Product filter by brand exclusion for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "contentLanguage": { + "description": "Required. The content language used as part of the unique identifier.", + "type": "string" + }, + "couponValueType": { + "description": "Required. Coupon value type for the promotion.", + "enum": [ + "COUPON_VALUE_TYPE_UNSPECIFIED", + "MONEY_OFF", + "PERCENT_OFF", + "BUY_M_GET_N_MONEY_OFF", + "BUY_M_GET_N_PERCENT_OFF", + "BUY_M_GET_MONEY_OFF", + "BUY_M_GET_PERCENT_OFF", + "FREE_GIFT", + "FREE_GIFT_WITH_VALUE", + "FREE_GIFT_WITH_ITEM_ID", + "FREE_SHIPPING_STANDARD", + "FREE_SHIPPING_OVERNIGHT", + "FREE_SHIPPING_TWO_DAY" + ], + "enumDescriptions": [ + "Indicates that the coupon value type is unspecified.", + "Money off coupon value type.", + "Percent off coupon value type.", + "Buy M quantity, get N money off coupon value type. buy_this_quantity and get_this_quantity must be present. money_off_amount must also be present.", + "Buy M quantity, get N percent off coupon value type. buy_this_quantity and get_this_quantity must be present. percent_off_percentage must also be present.", + "Buy M quantity, get money off. buy_this_quantity and money_off_amount must be present.", + "Buy M quantity, get money off. buy_this_quantity and percent_off_percentage must be present.", + "Free gift with description only", + "Free gift with value (description is optional).", + "Free gift with item id (description is optional).", + "Standard free shipping coupon value type.", + "Overnight free shipping coupon value type.", + "Two day free shipping coupon value type." + ], + "type": "string" + }, + "freeGiftDescription": { + "description": "Free gift description for the promotion.", + "type": "string" + }, + "freeGiftItemId": { + "description": "Free gift item id for the promotion.", + "type": "string" + }, + "freeGiftValue": { + "$ref": "PriceAmount", + "description": "Free gift value for the promotion." + }, + "genericRedemptionCode": { + "description": "Generic redemption code for the promotion. To be used with the above field.", + "type": "string" + }, + "getThisQuantityDiscounted": { + "description": "The number of items discounted in the promotion.", + "format": "int32", + "type": "integer" + }, + "id": { + "description": "Required. Output only. The REST promotion id to uniquely identify the promotion. Content API methods that operate on promotions take this as their promotionId parameter.", + "readOnly": true, + "type": "string" + }, + "itemGroupId": { + "description": "Product filter by item group id for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "itemGroupIdExclusion": { + "description": "Product filter by item group id exclusion for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "itemId": { + "description": "Product filter by item id for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "itemIdExclusion": { + "description": "Product filter by item id exclusion for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitQuantity": { + "description": "Maximum purchase quantity for the promotion.", + "format": "int32", + "type": "integer" + }, + "limitValue": { + "$ref": "PriceAmount", + "description": "Maximum purchase value for the promotion." + }, + "longTitle": { + "description": "Long title for the promotion.", + "type": "string" + }, + "minimumPurchaseAmount": { + "$ref": "PriceAmount", + "description": "Minimum purchase amount for the promotion." + }, + "minimumPurchaseQuantity": { + "description": "Minimum purchase quantity for the promotion.", + "format": "int32", + "type": "integer" + }, + "moneyBudget": { + "$ref": "PriceAmount", + "description": "Promotion cost cap of the promotion." + }, + "moneyOffAmount": { + "$ref": "PriceAmount", + "description": "The money off amount offered in the promotion." + }, + "offerType": { + "description": "Required. Type of the promotion.", + "enum": [ + "OFFER_TYPE_UNSPECIFIED", + "NO_CODE", + "GENERIC_CODE" + ], + "enumDescriptions": [ + "Unknown offer type.", + "Offer type without a code.", + "Offer type with a code." + ], + "type": "string" + }, + "orderLimit": { + "description": "Order limit for the promotion.", + "format": "int32", + "type": "integer" + }, + "percentOff": { + "description": "The percentage discount offered in the promotion.", + "format": "int32", + "type": "integer" + }, + "productApplicability": { + "description": "Required. Applicability of the promotion to either all products or only specific products.", + "enum": [ + "PRODUCT_APPLICABILITY_UNSPECIFIED", + "ALL_PRODUCTS", + "PRODUCT_SPECIFIC" + ], + "enumDescriptions": [ + "Unknown product applicability.", + "Applicable to all products.", + "Applicable to only a single product or list of products." + ], + "type": "string" + }, + "promotionDestinationIds": { + "description": "Destination ID for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "promotionDisplayDates": { + "description": "String representation of the promotion display dates.", + "type": "string" + }, + "promotionEffectiveDates": { + "description": "Required. String representation of the promotion effective dates.", + "type": "string" + }, + "promotionId": { + "description": "Required. The user provided promotion id to uniquely identify the promotion.", + "type": "string" + }, + "redemptionChannel": { + "description": "Required. Redemption channel for the promotion. At least one channel is required.", + "items": { + "enum": [ + "REDEMPTION_CHANNEL_UNSPECIFIED", + "LOCAL", + "ONLINE" + ], + "enumDescriptions": [ + "Indicates that the channel is unspecified.", + "Indicates that the channel is local.", + "Indicates that the channel is online." + ], + "type": "string" + }, + "type": "array" + }, + "shippingServiceNames": { + "description": "Shipping service names for thse promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "description": "Required. The target country used as part of the unique identifier.", + "type": "string" + } + }, + "type": "object" + }, "PubsubNotificationSettings": { "description": "Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.", "id": "PubsubNotificationSettings", @@ -12819,12 +13484,16 @@ "enum": [ "REPRICING_RULE_TYPE_UNSPECIFIED", "TYPE_STATS_BASED", - "TYPE_COGS_BASED" + "TYPE_COGS_BASED", + "TYPE_SALES_VOLUME_BASED", + "TYPE_COMPETITIVE_PRICE" ], "enumDescriptions": [ "Unused.", "Statistical measurement based rules among Google SA merchants. If this rule is chosen, repricer will adjust the offer price based on statistical metrics (currently only min is available) among other merchants who sell the same product. Details need to be provdided in the RuleDefinition.", - "Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant." + "Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant.", + "Sales volume based rule. Repricer will adjust the offer price based on the offer's sales volume in the past period of time defined within the rule.", + "Competitive price rule. Repricer will adjust the offer price based on the min price from a list of unnamed big competitors." ], "type": "string" } @@ -12899,12 +13568,16 @@ "enum": [ "REPRICING_RULE_TYPE_UNSPECIFIED", "TYPE_STATS_BASED", - "TYPE_COGS_BASED" + "TYPE_COGS_BASED", + "TYPE_SALES_VOLUME_BASED", + "TYPE_COMPETITIVE_PRICE" ], "enumDescriptions": [ "Unused.", "Statistical measurement based rules among Google SA merchants. If this rule is chosen, repricer will adjust the offer price based on statistical metrics (currently only min is available) among other merchants who sell the same product. Details need to be provdided in the RuleDefinition.", - "Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant." + "Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant.", + "Sales volume based rule. Repricer will adjust the offer price based on the offer's sales volume in the past period of time defined within the rule.", + "Competitive price rule. Repricer will adjust the offer price based on the min price from a list of unnamed big competitors." ], "type": "string" } @@ -13061,12 +13734,16 @@ "enum": [ "REPRICING_RULE_TYPE_UNSPECIFIED", "TYPE_STATS_BASED", - "TYPE_COGS_BASED" + "TYPE_COGS_BASED", + "TYPE_SALES_VOLUME_BASED", + "TYPE_COMPETITIVE_PRICE" ], "enumDescriptions": [ "Unused.", "Statistical measurement based rules among Google SA merchants. If this rule is chosen, repricer will adjust the offer price based on statistical metrics (currently only min is available) among other merchants who sell the same product. Details need to be provdided in the RuleDefinition.", - "Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant." + "Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant.", + "Sales volume based rule. Repricer will adjust the offer price based on the offer's sales volume in the past period of time defined within the rule.", + "Competitive price rule. Repricer will adjust the offer price based on the min price from a list of unnamed big competitors." ], "type": "string" } @@ -13132,12 +13809,78 @@ }, "type": "object" }, + "RequestPhoneVerificationRequest": { + "description": "Request message for the RequestPhoneVerification method.", + "id": "RequestPhoneVerificationRequest", + "properties": { + "languageCode": { + "description": "Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US). Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-US if not provided.", + "type": "string" + }, + "phoneNumber": { + "description": "Phone number to be verified.", + "type": "string" + }, + "phoneRegionCode": { + "description": "Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes.", + "type": "string" + }, + "phoneVerificationMethod": { + "description": "Verification method to receive verification code.", + "enum": [ + "PHONE_VERIFICATION_METHOD_UNSPECIFIED", + "SMS", + "PHONE_CALL" + ], + "enumDescriptions": [ + "Unknown method.", + "Receive verification code by SMS.", + "Receive verification code by phone call." + ], + "type": "string" + } + }, + "type": "object" + }, + "RequestPhoneVerificationResponse": { + "description": "Response message for the RequestPhoneVerification method.", + "id": "RequestPhoneVerificationResponse", + "properties": { + "verificationId": { + "description": "The verification ID to use in subsequent calls to `verifyphonenumber`.", + "type": "string" + } + }, + "type": "object" + }, "RequestReviewBuyOnGoogleProgramRequest": { "description": "Request message for the RequestReviewProgram method.", "id": "RequestReviewBuyOnGoogleProgramRequest", "properties": {}, "type": "object" }, + "RequestReviewFreeListingsRequest": { + "description": "Request message for the RequestReviewFreeListings Program method.", + "id": "RequestReviewFreeListingsRequest", + "properties": { + "regionCode": { + "description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.", + "type": "string" + } + }, + "type": "object" + }, + "RequestReviewShoppingAdsRequest": { + "description": "Request message for the RequestReviewShoppingAds program method.", + "id": "RequestReviewShoppingAdsRequest", + "properties": { + "regionCode": { + "description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.", + "type": "string" + } + }, + "type": "object" + }, "ReturnAddress": { "description": "Return address resource.", "id": "ReturnAddress", @@ -13791,7 +14534,7 @@ "type": "string" }, "query": { - "description": "Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented.", + "description": "Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query-language/overview).", "type": "string" } }, @@ -13824,23 +14567,23 @@ "type": "string" }, "categoryL1": { - "description": "Product category (1st level) in Google's product taxonomy.", + "description": "[Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", "type": "string" }, "categoryL2": { - "description": "Product category (2nd level) in Google's product taxonomy.", + "description": "[Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", "type": "string" }, "categoryL3": { - "description": "Product category (3rd level) in Google's product taxonomy.", + "description": "[Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", "type": "string" }, "categoryL4": { - "description": "Product category (4th level) in Google's product taxonomy.", + "description": "[Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", "type": "string" }, "categoryL5": { - "description": "Product category (5th level) in Google's product taxonomy.", + "description": "[Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", "type": "string" }, "currencyCode": { @@ -13876,23 +14619,23 @@ "type": "string" }, "productTypeL1": { - "description": "Product category (1st level) in merchant's own product taxonomy.", + "description": "[Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", "type": "string" }, "productTypeL2": { - "description": "Product category (2nd level) in merchant's own product taxonomy.", + "description": "[Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", "type": "string" }, "productTypeL3": { - "description": "Product category (3rd level) in merchant's own product taxonomy.", + "description": "[Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", "type": "string" }, "productTypeL4": { - "description": "Product category (4th level) in merchant's own product taxonomy.", + "description": "[Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", "type": "string" }, "productTypeL5": { - "description": "Product category (5th level) in merchant's own product taxonomy.", + "description": "[Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", "type": "string" }, "program": { @@ -14405,6 +15148,99 @@ }, "type": "object" }, + "ShoppingAdsProgramStatus": { + "description": "Response message for GetShoppingAdsProgramStatus.", + "id": "ShoppingAdsProgramStatus", + "properties": { + "regionStatuses": { + "description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.", + "items": { + "$ref": "ShoppingAdsProgramStatusRegionStatus" + }, + "type": "array" + }, + "state": { + "description": "If program is successfully onboarded for at least one region.", + "enum": [ + "PROGRAM_STATE_UNSPECIFIED", + "ONBOARDED", + "NOT_ONBOARDED" + ], + "enumDescriptions": [ + "State is not known.", + "Program is onboarded for at least one country.", + "Program is not onboarded for any country." + ], + "type": "string" + } + }, + "type": "object" + }, + "ShoppingAdsProgramStatusRegionStatus": { + "description": "Status of program and region.", + "id": "ShoppingAdsProgramStatusRegionStatus", + "properties": { + "disapprovalDate": { + "description": "Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It will be present when `eligibility_status` is `WARNING`. Date will be provided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format i.e. YYYY-MM-DD", + "type": "string" + }, + "eligibilityStatus": { + "description": "Eligibility status of the Shopping Ads program.", + "enum": [ + "STATE_UNSPECIFIED", + "APPROVED", + "DISAPPROVED", + "WARNING", + "UNDER_REVIEW", + "PENDING_REVIEW", + "ONBOARDING" + ], + "enumDescriptions": [ + "State is not known.", + "If the account has no issues and review is completed successfully.", + "There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.", + "If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.", + "Account is under review.", + "Account is waiting for review to start.", + "Program is currently onboarding." + ], + "type": "string" + }, + "ineligibilityReason": { + "description": "Reason if a program in a given country is not eligible for review. Populated only if `review_eligibility_status` is `INELIGIBLE`.", + "type": "string" + }, + "regionCodes": { + "description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reviewEligibilityStatus": { + "description": "If a program in a given country is eligible for review. It will be present only if eligibility status is `DISAPPROVED`.", + "enum": [ + "REVIEW_ELIGIBILITY_UNSPECIFIED", + "ELIGIBLE", + "INELIGIBLE" + ], + "enumDescriptions": [ + "Review eligibility state is unknown.", + "Account for a region code is eligible for review.", + "Account for a region code is not eligible for review." + ], + "type": "string" + }, + "reviewIssues": { + "description": "These issues will be evaluated in review process. Fix all the issues before requesting the review.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Table": { "id": "Table", "properties": { @@ -14834,6 +15670,46 @@ }, "type": "object" }, + "VerifyPhoneNumberRequest": { + "description": "Request message for the VerifyPhoneNumber method.", + "id": "VerifyPhoneNumberRequest", + "properties": { + "phoneVerificationMethod": { + "description": "Verification method used to receive verification code.", + "enum": [ + "PHONE_VERIFICATION_METHOD_UNSPECIFIED", + "SMS", + "PHONE_CALL" + ], + "enumDescriptions": [ + "Unknown method.", + "Receive verification code by SMS.", + "Receive verification code by phone call." + ], + "type": "string" + }, + "verificationCode": { + "description": "The verification code that was sent to the phone number for validation.", + "type": "string" + }, + "verificationId": { + "description": "The verification ID returned by `requestphoneverification`.", + "type": "string" + } + }, + "type": "object" + }, + "VerifyPhoneNumberResponse": { + "description": "Response message for the VerifyPhoneNumber method.", + "id": "VerifyPhoneNumberResponse", + "properties": { + "verifiedPhoneNumber": { + "description": "Verified phone number if verification is successful.", + "type": "string" + } + }, + "type": "object" + }, "WarehouseBasedDeliveryTime": { "id": "WarehouseBasedDeliveryTime", "properties": { diff --git a/discovery/googleapis/customsearch__v1.json b/discovery/googleapis/customsearch__v1.json index a068e7aac..15710fda0 100644 --- a/discovery/googleapis/customsearch__v1.json +++ b/discovery/googleapis/customsearch__v1.json @@ -673,7 +673,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://customsearch.googleapis.com/", "schemas": { "Promotion": { diff --git a/discovery/googleapis/datacatalog__v1.json b/discovery/googleapis/datacatalog__v1.json index 6becac249..425487b9e 100644 --- a/discovery/googleapis/datacatalog__v1.json +++ b/discovery/googleapis/datacatalog__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -145,7 +145,7 @@ "type": "string" }, "sqlResource": { - "description": "The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub.{PROJECT_ID}.{TOPIC_ID}` * `pubsub.{PROJECT_ID}.{TOPIC.ID.SEPARATED.WITH.DOTS}` * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}` Identifiers (`*_ID`) should comply with the [Lexical structure in Standard SQL] (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).", + "description": "The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` * `pubsub.topic.{PROJECT_ID}.`\\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\\` * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}` Identifiers (`*_ID`) should comply with the [Lexical structure in Standard SQL] (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).", "location": "query", "type": "string" } @@ -181,7 +181,7 @@ "type": "string" }, "parent": { - "description": "Required. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location specified in its name. ", + "description": "Required. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -214,7 +214,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the entry group to delete. ", + "description": "Required. The name of the entry group to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -239,7 +239,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the entry group to get. ", + "description": "Required. The name of the entry group to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -334,7 +334,7 @@ ], "parameters": { "name": { - "description": "The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name. ", + "description": "The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -433,7 +433,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. ", + "description": "Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -461,7 +461,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the entry to delete. ", + "description": "Required. The name of the entry to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -486,7 +486,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the entry to get. ", + "description": "Required. The name of the entry to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -581,7 +581,7 @@ ], "parameters": { "name": { - "description": "Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. ", + "description": "Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -647,7 +647,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name. ", + "description": "Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -675,7 +675,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the tag to delete. ", + "description": "Required. The name of the tag to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+/tags/[^/]+$", "required": true, @@ -711,7 +711,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end). ", + "description": "Required. The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end).", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -736,7 +736,7 @@ ], "parameters": { "name": { - "description": "The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. ", + "description": "The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+/tags/[^/]+$", "required": true, @@ -776,7 +776,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name. ", + "description": "Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -804,7 +804,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the tag to delete. ", + "description": "Required. The name of the tag to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/tags/[^/]+$", "required": true, @@ -840,7 +840,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end). ", + "description": "Required. The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end).", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -865,7 +865,7 @@ ], "parameters": { "name": { - "description": "The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. ", + "description": "The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/tags/[^/]+$", "required": true, @@ -905,7 +905,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). ", + "description": "Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions).", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -943,7 +943,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the tag template to delete. ", + "description": "Required. The name of the tag template to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -968,7 +968,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the tag template to get. ", + "description": "Required. The name of the tag template to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1021,7 +1021,7 @@ ], "parameters": { "name": { - "description": "The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. ", + "description": "The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1115,7 +1115,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). ", + "description": "Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions).", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1153,7 +1153,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the tag template field to delete. ", + "description": "Required. The name of the tag template field to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+$", "required": true, @@ -1178,7 +1178,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the tag template field. ", + "description": "Required. The name of the tag template field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+$", "required": true, @@ -1212,7 +1212,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the tag template. ", + "description": "Required. The name of the tag template.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+$", "required": true, @@ -1244,7 +1244,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the enum field value. ", + "description": "Required. The name of the enum field value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+/fields/[^/]+/enumValues/[^/]+$", "required": true, @@ -1280,7 +1280,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the project that the taxonomy will belong to. ", + "description": "Required. Resource name of the project that the taxonomy will belong to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1308,7 +1308,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the taxonomy to delete. Note: All policy tags in this taxonomy are also deleted. ", + "description": "Required. Resource name of the taxonomy to delete. Note: All policy tags in this taxonomy are also deleted.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1333,7 +1333,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the project that the exported taxonomies belong to. ", + "description": "Required. Resource name of the project that the exported taxonomies belong to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1369,7 +1369,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the taxonomy to get. ", + "description": "Required. Resource name of the taxonomy to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1422,7 +1422,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of project that the imported taxonomies will belong to. ", + "description": "Required. Resource name of project that the imported taxonomies will belong to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1461,7 +1461,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the project to list the taxonomies of. ", + "description": "Required. Resource name of the project to list the taxonomies of.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1486,7 +1486,7 @@ ], "parameters": { "name": { - "description": "Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs. ", + "description": "Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1608,7 +1608,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the taxonomy that the policy tag will belong to. ", + "description": "Required. Resource name of the taxonomy that the policy tag will belong to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1636,7 +1636,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the policy tag to delete. Note: All of its descendant policy tags are also deleted. ", + "description": "Required. Resource name of the policy tag to delete. Note: All of its descendant policy tags are also deleted.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1661,7 +1661,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the policy tag. ", + "description": "Required. Resource name of the policy tag.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1725,7 +1725,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the taxonomy to list the policy tags of. ", + "description": "Required. Resource name of the taxonomy to list the policy tags of.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1750,7 +1750,7 @@ ], "parameters": { "name": { - "description": "Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. ", + "description": "Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1839,7 +1839,7 @@ } } }, - "revision": "20210712", + "revision": "20210827", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -2209,7 +2209,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. ", + "description": "Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name.", "readOnly": true, "type": "string" }, @@ -2287,7 +2287,7 @@ "type": "string" }, "name": { - "description": "The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name. ", + "description": "The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name.", "type": "string" } }, @@ -2558,7 +2558,7 @@ "type": "string" }, "name": { - "description": "Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. ", + "description": "Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.", "readOnly": true, "type": "string" }, @@ -2959,7 +2959,7 @@ "type": "object" }, "name": { - "description": "The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. ", + "description": "The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.", "type": "string" }, "template": { @@ -3045,11 +3045,11 @@ "type": "object" }, "isPubliclyReadable": { - "description": "Indicates whether this is a public tag template. Every user has view access to a *public* tag template by default. This means that: * Every user can use this tag template to tag an entry. * If an entry is tagged using the tag template, the tag is always shown in the response to ``ListTags`` called on the entry. * To get the template using the GetTagTemplate method, you need view access either on the project or the organization the tag template resides in but no other permission is needed. * Operations on the tag template other than viewing (for example, editing IAM policies) follow standard IAM structures. Tags created with a public tag template are referred to as public tags. You can search for a public tag by value with a simple search query instead of using a ``tag:`` predicate. Public tag templates may not appear in search results depending on scope, see: include_public_tag_templates", + "description": "Indicates whether this is a public tag template. Every user has view access to a *public* tag template by default. This means that: * Every user can use this tag template to tag an entry. * If an entry is tagged using the tag template, the tag is always shown in the response to ``ListTags`` called on the entry. * To get the template using the GetTagTemplate method, you need view access either on the project or the organization the tag template resides in but no other permission is needed. * Operations on the tag template other than viewing (for example, editing IAM policies) follow standard IAM structures. Tags created with a public tag template are referred to as public tags. You can search for a public tag by value with a simple search query instead of using a ``tag:`` predicate. Public tag templates may not appear in search results depending on scope, see: include_public_tag_templates Note: If an [IAM domain restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains) is configured in the tag template's location, the public access will not be enabled but the simple search for tag values will still work.", "type": "boolean" }, "name": { - "description": "The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. ", + "description": "The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.", "type": "string" } }, @@ -3116,7 +3116,7 @@ "type": "string" }, "name": { - "description": "Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs. ", + "description": "Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.", "readOnly": true, "type": "string" }, @@ -3193,7 +3193,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis/datamigration__v1.json b/discovery/googleapis/datamigration__v1.json index baa177453..298e8ad85 100644 --- a/discovery/googleapis/datamigration__v1.json +++ b/discovery/googleapis/datamigration__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1047,7 +1047,7 @@ } } }, - "revision": "20210630", + "revision": "20210818", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AuditConfig": { @@ -1908,7 +1908,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/dataproc__v1.json b/discovery/googleapis/dataproc__v1.json index 31c30a6a2..2a81bd0ae 100644 --- a/discovery/googleapis/dataproc__v1.json +++ b/discovery/googleapis/dataproc__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -886,6 +886,21 @@ "region" ], "parameters": { + "actionOnFailedPrimaryWorkers": { + "description": "Optional. Failure action when primary worker creation fails.", + "enum": [ + "FAILURE_ACTION_UNSPECIFIED", + "NO_ACTION", + "DELETE" + ], + "enumDescriptions": [ + "When FailureAction is unspecified, failure action defaults to NO_ACTION.", + "Take no action on failure to create a cluster resource. NO_ACTION is the default.", + "Delete the failed cluster resource." + ], + "location": "query", + "type": "string" + }, "projectId": { "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", "location": "path", @@ -2299,7 +2314,7 @@ } } }, - "revision": "20210709", + "revision": "20210825", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2488,7 +2503,7 @@ "type": "object" }, "Cluster": { - "description": "Describes the identifying information, config, and status of a cluster of Compute Engine instances.", + "description": "Describes the identifying information, config, and status of a Dataproc cluster", "id": "Cluster", "properties": { "clusterName": { @@ -2502,7 +2517,7 @@ }, "config": { "$ref": "ClusterConfig", - "description": "Required. The cluster config. Note that Dataproc may set default values, and values may change when clusters are updated." + "description": "Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated." }, "labels": { "additionalProperties": { @@ -2545,7 +2560,7 @@ "description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset." }, "configBucket": { - "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.", + "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", "type": "string" }, "encryptionConfig": { @@ -2577,7 +2592,7 @@ }, "masterConfig": { "$ref": "InstanceGroupConfig", - "description": "Optional. The Compute Engine config settings for the master instance in a cluster." + "description": "Optional. The Compute Engine config settings for the cluster's master instance." }, "metastoreConfig": { "$ref": "MetastoreConfig", @@ -2585,7 +2600,7 @@ }, "secondaryWorkerConfig": { "$ref": "InstanceGroupConfig", - "description": "Optional. The Compute Engine config settings for additional worker instances in a cluster." + "description": "Optional. The Compute Engine config settings for a cluster's secondary worker instances" }, "securityConfig": { "$ref": "SecurityConfig", @@ -2593,15 +2608,15 @@ }, "softwareConfig": { "$ref": "SoftwareConfig", - "description": "Optional. The config settings for software inside the cluster." + "description": "Optional. The config settings for cluster software." }, "tempBucket": { - "description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket. This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.", + "description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", "type": "string" }, "workerConfig": { "$ref": "InstanceGroupConfig", - "description": "Optional. The Compute Engine config settings for worker instances in a cluster." + "description": "Optional. The Compute Engine config settings for the cluster's worker instances." } }, "type": "object" @@ -3040,7 +3055,7 @@ "type": "object" }, "GkeClusterConfig": { - "description": "The GKE config for this cluster.", + "description": "The cluster's GKE config.", "id": "GkeClusterConfig", "properties": { "namespacedGkeDeploymentTarget": { @@ -4039,7 +4054,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis/datastore__v1.json b/discovery/googleapis/datastore__v1.json index 5b7b38e0b..96c481bd1 100644 --- a/discovery/googleapis/datastore__v1.json +++ b/discovery/googleapis/datastore__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/datastore": { "description": "View and manage your Google Cloud Datastore data" @@ -624,7 +624,7 @@ } } }, - "revision": "20210615", + "revision": "20210816", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "AllocateIdsRequest": { diff --git a/discovery/googleapis/deploymentmanager__v2.json b/discovery/googleapis/deploymentmanager__v2.json index 6a9657044..d6996635d 100644 --- a/discovery/googleapis/deploymentmanager__v2.json +++ b/discovery/googleapis/deploymentmanager__v2.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/ndev.cloudman": { "description": "View and manage your Google Cloud Platform management resources and deployment status information" @@ -987,7 +987,7 @@ } } }, - "revision": "20210715", + "revision": "20210826", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -1591,7 +1591,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/dialogflow__v2.json b/discovery/googleapis/dialogflow__v2.json index 4ebdbaf85..fad9fdf85 100644 --- a/discovery/googleapis/dialogflow__v2.json +++ b/discovery/googleapis/dialogflow__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/dialogflow": { "description": "View, manage and query your Dialogflow agents" @@ -3612,6 +3612,32 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "get": { + "description": "Gets information about a location.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudLocationLocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "getAgent": { "description": "Retrieves the specified agent.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent", @@ -3638,6 +3664,48 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v2/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}/locations", + "response": { + "$ref": "GoogleCloudLocationListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "setAgent": { "description": "Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent", @@ -6913,7 +6981,7 @@ } } }, - "revision": "20210709", + "revision": "20210830", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -7052,7 +7120,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Required. Input only. The diagnostic info output for the turn.", + "description": "Required. Input only. The diagnostic info output for the turn. Required to calculate the testing coverage.", "type": "object" }, "differences": { @@ -7209,7 +7277,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { - "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "description": "Metadata returned for the TestCases.ExportTestCases long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", "properties": {}, "type": "object" @@ -8030,7 +8098,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3RunTestCaseMetadata": { - "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "description": "Metadata returned for the TestCases.RunTestCase long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", "properties": {}, "type": "object" @@ -8623,7 +8691,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Required. Input only. The diagnostic info output for the turn.", + "description": "Required. Input only. The diagnostic info output for the turn. Required to calculate the testing coverage.", "type": "object" }, "differences": { @@ -8780,7 +8848,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { - "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "description": "Metadata returned for the TestCases.ExportTestCases long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", "properties": {}, "type": "object" @@ -9601,7 +9669,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { - "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "description": "Metadata returned for the TestCases.RunTestCase long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", "properties": {}, "type": "object" @@ -11744,10 +11812,11 @@ "type": "array" }, "followupIntentInfo": { - "description": "Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.", + "description": "Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.", "items": { "$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" }, + "readOnly": true, "type": "array" }, "inputContextNames": { @@ -11808,7 +11877,8 @@ "type": "boolean" }, "rootFollowupIntentName": { - "description": "Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects//agent/intents/`.", + "description": "Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects//agent/intents/`.", + "readOnly": true, "type": "string" }, "trainingPhrases": { @@ -13647,7 +13717,7 @@ "type": "array" }, "errorMessage": { - "description": "The detailed error messsage.", + "description": "The detailed error message.", "type": "string" }, "severity": { @@ -15984,6 +16054,58 @@ }, "type": "object" }, + "GoogleCloudLocationListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "GoogleCloudLocationListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleCloudLocationLocation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudLocationLocation": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "GoogleCloudLocationLocation", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, "GoogleLongrunningListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "GoogleLongrunningListOperationsResponse", diff --git a/discovery/googleapis/dialogflow__v3.json b/discovery/googleapis/dialogflow__v3.json index 41d34d54e..90a5d106f 100644 --- a/discovery/googleapis/dialogflow__v3.json +++ b/discovery/googleapis/dialogflow__v3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/dialogflow": { "description": "View, manage and query your Dialogflow agents" @@ -109,6 +109,76 @@ "projects": { "resources": { "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudLocationLocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v3/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}/locations", + "response": { + "$ref": "GoogleCloudLocationListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, "resources": { "agents": { "methods": { @@ -168,7 +238,7 @@ ] }, "export": { - "description": "Exports the specified agent to a binary file.", + "description": "Exports the specified agent to a binary file. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ExportAgentResponse", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.export", @@ -326,7 +396,7 @@ ] }, "restore": { - "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.restore", @@ -570,7 +640,7 @@ "environments": { "methods": { "create": { - "description": "Creates an Environment in the specified Agent.", + "description": "Creates an Environment in the specified Agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: Environment", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.environments.create", @@ -725,7 +795,7 @@ ] }, "patch": { - "description": "Updates the specified Environment.", + "description": "Updates the specified Environment. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: Environment", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", "httpMethod": "PATCH", "id": "dialogflow.projects.locations.agents.environments.patch", @@ -760,7 +830,7 @@ ] }, "runContinuousTest": { - "description": "Kicks off a continuous test under the specified Environment.", + "description": "Kicks off a continuous test under the specified Environment. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: RunContinuousTestMetadata - `response`: RunContinuousTestResponse", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:runContinuousTest", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.environments.runContinuousTest", @@ -1366,7 +1436,7 @@ ] }, "export": { - "description": "Exports the specified flow to a binary file. Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.", + "description": "Exports the specified flow to a binary file. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:export", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.flows.export", @@ -1457,7 +1527,7 @@ ] }, "import": { - "description": "Imports the specified flow to the specified agent from a binary file. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "description": "Imports the specified flow to the specified agent from a binary file. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ImportFlowResponse Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows:import", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.flows.import", @@ -1549,7 +1619,7 @@ "type": "string" }, "updateMask": { - "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1568,7 +1638,7 @@ ] }, "train": { - "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.flows.train", @@ -1994,7 +2064,7 @@ "versions": { "methods": { "create": { - "description": "Creates a Version in the specified Flow.", + "description": "Creates a Version in the specified Flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.flows.versions.create", @@ -2112,7 +2182,7 @@ ] }, "load": { - "description": "Loads resources in the specified version to the draft flow.", + "description": "Loads resources in the specified version to the draft flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.flows.versions.load", @@ -2653,7 +2723,7 @@ ] }, "batchRun": { - "description": "Kicks off a batch run of test cases.", + "description": "Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: BatchRunTestCasesMetadata - `response`: BatchRunTestCasesResponse", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.testCases.batchRun", @@ -2754,7 +2824,7 @@ ] }, "export": { - "description": "Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.", + "description": "Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: ExportTestCasesMetadata - `response`: ExportTestCasesResponse", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.testCases.export", @@ -2809,7 +2879,7 @@ ] }, "import": { - "description": "Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected.", + "description": "Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: ImportTestCasesMetadata - `response`: ImportTestCasesResponse", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.testCases.import", @@ -2925,7 +2995,7 @@ ] }, "run": { - "description": "Kicks off a test case run.", + "description": "Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: RunTestCaseMetadata - `response`: RunTestCaseResponse", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}:run", "httpMethod": "POST", "id": "dialogflow.projects.locations.agents.testCases.run", @@ -3551,13 +3621,43 @@ } } }, - "revision": "20210709", + "revision": "20210830", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { + "GoogleCloudDialogflowCxV3AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettings", + "properties": { + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3Agent": { "description": "Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way. After you create an agent, you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..", "id": "GoogleCloudDialogflowCxV3Agent", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "avatarUri": { "description": "The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.", "type": "string" @@ -3579,7 +3679,7 @@ "type": "boolean" }, "enableStackdriverLogging": { - "description": "Indicates if stackdriver logging is enabled for the agent.", + "description": "Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.", "type": "boolean" }, "name": { @@ -3821,7 +3921,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Required. Input only. The diagnostic info output for the turn.", + "description": "Required. Input only. The diagnostic info output for the turn. Required to calculate the testing coverage.", "type": "object" }, "differences": { @@ -4170,7 +4270,7 @@ "type": "string" }, "experimentLength": { - "description": "LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)", + "description": "Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.", "format": "google-duration", "type": "string" }, @@ -4187,6 +4287,18 @@ "$ref": "GoogleCloudDialogflowCxV3ExperimentResult", "description": "Inference result of the experiment." }, + "rolloutConfig": { + "$ref": "GoogleCloudDialogflowCxV3RolloutConfig", + "description": "The configuration for auto rollout. If set, there should be exactly two variants in the experiment (control variant being the default version of the flow), the traffic allocation for the non-control variant will gradually increase to 100% when conditions are met, and eventually replace the control variant to become the default version of the flow." + }, + "rolloutFailureReason": { + "description": "The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.", + "type": "string" + }, + "rolloutState": { + "$ref": "GoogleCloudDialogflowCxV3RolloutState", + "description": "State of the auto rollout process." + }, "startTime": { "description": "Start time of this experiment.", "format": "google-datetime", @@ -4424,7 +4536,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { - "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "description": "Metadata returned for the TestCases.ExportTestCases long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", "properties": {}, "type": "object" @@ -5750,6 +5862,13 @@ "description": "Whether to disable webhook calls for this request.", "type": "boolean" }, + "flowVersions": { + "description": "A list of flow versions to override for the request. Format: `projects//locations//agents//flows//versions/`. If version 1 of flow X is included in this list, the traffic of flow X will go through version 1 regardless of the version configuration in the environment. Each flow can have at most one version specified in this list.", + "items": { + "type": "string" + }, + "type": "array" + }, "geoLocation": { "$ref": "GoogleTypeLatLng", "description": "The geo location of this conversational query." @@ -6107,6 +6226,70 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3RolloutConfig": { + "description": "The configuration for auto rollout.", + "id": "GoogleCloudDialogflowCxV3RolloutConfig", + "properties": { + "failureCondition": { + "description": "The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. \"containment_rate < 10% OR average_turn_count < 3\". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + }, + "rolloutCondition": { + "description": "The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. \"containment_rate > 60% AND callback_rate < 20%\". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + }, + "rolloutSteps": { + "description": "Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep": { + "description": "A single rollout step with specified traffic allocation.", + "id": "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep", + "properties": { + "displayName": { + "description": "The name of the rollout step;", + "type": "string" + }, + "minDuration": { + "description": "The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour.", + "format": "google-duration", + "type": "string" + }, + "trafficPercent": { + "description": "The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RolloutState": { + "description": "State of the auto-rollout process.", + "id": "GoogleCloudDialogflowCxV3RolloutState", + "properties": { + "startTime": { + "description": "Start time of the current step.", + "format": "google-datetime", + "type": "string" + }, + "step": { + "description": "Display name of the current auto rollout step.", + "type": "string" + }, + "stepIndex": { + "description": "Index of the current step in the auto rollout steps list.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3RunContinuousTestMetadata": { "description": "Metadata returned for the Environments.RunContinuousTest long running operation.", "id": "GoogleCloudDialogflowCxV3RunContinuousTestMetadata", @@ -6139,7 +6322,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3RunTestCaseMetadata": { - "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "description": "Metadata returned for the TestCases.RunTestCase long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", "properties": {}, "type": "object" @@ -6170,12 +6353,20 @@ "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", "id": "GoogleCloudDialogflowCxV3SecuritySettings", "properties": { + "deidentifyTemplate": { + "description": "[DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content. If empty, Dialogflow replaces sensitive info with `[redacted]` text. The template name will have one of the following formats: `projects//locations//deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.", + "type": "string" + }, "displayName": { "description": "Required. The human-readable name of the security settings, unique within the location.", "type": "string" }, + "insightsExportSettings": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings", + "description": "Controls conversation exporting settings to Insights after conversation is completed. If retention_strategy is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you configure here." + }, "inspectTemplate": { - "description": "[DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this template to define inspect base settings. If empty, we use the default DLP inspect config. The template name will have one of the following formats: `projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `organizations//inspectTemplates/`", + "description": "[DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this template to define inspect base settings. If empty, we use the default DLP inspect config. The template name will have one of the following formats: `projects//locations//inspectTemplates/` OR `organizations//locations//inspectTemplates/` Note: `inspect_template` must be located in the same region as the `SecuritySettings`.", "type": "string" }, "name": { @@ -6229,6 +6420,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings": { + "description": "Settings for exporting conversations to [Insights](https://cloud.google.com/dialogflow/priv/docs/insights).", + "id": "GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings", + "properties": { + "enableInsightsExport": { + "description": "If enabled, we will automatically exports conversations to Insights and Insights runs its analyzers.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3SentimentAnalysisResult": { "description": "The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.", "id": "GoogleCloudDialogflowCxV3SentimentAnalysisResult", @@ -7358,7 +7560,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Required. Input only. The diagnostic info output for the turn.", + "description": "Required. Input only. The diagnostic info output for the turn. Required to calculate the testing coverage.", "type": "object" }, "differences": { @@ -7515,7 +7717,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { - "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "description": "Metadata returned for the TestCases.ExportTestCases long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", "properties": {}, "type": "object" @@ -8336,7 +8538,7 @@ "type": "object" }, "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { - "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "description": "Metadata returned for the TestCases.RunTestCase long running operation. This message currently has no fields.", "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", "properties": {}, "type": "object" @@ -9164,10 +9366,11 @@ "type": "array" }, "followupIntentInfo": { - "description": "Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.", + "description": "Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.", "items": { "$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" }, + "readOnly": true, "type": "array" }, "inputContextNames": { @@ -9228,7 +9431,8 @@ "type": "boolean" }, "rootFollowupIntentName": { - "description": "Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects//agent/intents/`.", + "description": "Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects//agent/intents/`.", + "readOnly": true, "type": "string" }, "trainingPhrases": { @@ -12577,6 +12781,58 @@ }, "type": "object" }, + "GoogleCloudLocationListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "GoogleCloudLocationListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleCloudLocationLocation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudLocationLocation": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "GoogleCloudLocationLocation", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, "GoogleLongrunningListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "GoogleLongrunningListOperationsResponse", diff --git a/discovery/googleapis/digitalassetlinks__v1.json b/discovery/googleapis/digitalassetlinks__v1.json index bf06de474..fec554323 100644 --- a/discovery/googleapis/digitalassetlinks__v1.json +++ b/discovery/googleapis/digitalassetlinks__v1.json @@ -183,7 +183,7 @@ } } }, - "revision": "20210713", + "revision": "20210831", "rootUrl": "https://digitalassetlinks.googleapis.com/", "schemas": { "AndroidAppAsset": { diff --git a/discovery/googleapis/displayvideo__v1.json b/discovery/googleapis/displayvideo__v1.json index 03513c1af..4ee005aa6 100644 --- a/discovery/googleapis/displayvideo__v1.json +++ b/discovery/googleapis/displayvideo__v1.json @@ -752,7 +752,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -793,7 +796,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -898,7 +904,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -939,7 +948,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -1900,7 +1912,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -1941,7 +1956,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -2046,7 +2064,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -2087,7 +2108,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -2592,7 +2616,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -2633,7 +2660,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -2728,7 +2758,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -2769,7 +2802,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -2861,7 +2897,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -2902,7 +2941,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -3007,7 +3049,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -3048,7 +3093,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -4059,7 +4107,7 @@ "type": "string" }, "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", + "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", "enum": [ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", @@ -4099,7 +4147,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -4140,7 +4191,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -4186,7 +4240,7 @@ "type": "string" }, "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", + "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", "enum": [ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", @@ -4226,7 +4280,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -4267,7 +4324,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -4310,7 +4370,7 @@ "type": "string" }, "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", + "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", "enum": [ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", @@ -4350,7 +4410,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -4391,7 +4454,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -4447,7 +4513,7 @@ "type": "string" }, "targetingType": { - "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", + "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", "enum": [ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", @@ -4487,7 +4553,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -4528,7 +4597,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -4643,6 +4715,24 @@ }, "customBiddingAlgorithms": { "methods": { + "create": { + "description": "Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.", + "flatPath": "v1/customBiddingAlgorithms", + "httpMethod": "POST", + "id": "displayvideo.customBiddingAlgorithms.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1/customBiddingAlgorithms", + "request": { + "$ref": "CustomBiddingAlgorithm" + }, + "response": { + "$ref": "CustomBiddingAlgorithm" + }, + "scopes": [ + "https://www.googleapis.com/auth/display-video" + ] + }, "get": { "description": "Gets a custom bidding algorithm.", "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}", @@ -4695,7 +4785,7 @@ "type": "string" }, "filter": { - "description": "Allows filtering by custom bidding algorithm fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND`. A sequence of restrictions * implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for the following field: - `displayName` * The operator must be `EQUALS (=)` for the following field: - `customBiddingAlgorithmType` * For `displayName`, the value is a string. We return all custom bidding algorithms whose display_name contains such string. * For `customBiddingAlgorithmType`, the value is a string. We return all algorithms whose custom_bidding_algorithm_type is equal to the given type. Examples: * All custom bidding algorithms for which the display name contains \"politics\": `displayName:politics`. * All custom bidding algorithms for which the type is \"SCRIPT_BASED\": `customBiddingAlgorithmType=SCRIPT_BASED` The length of this field should be no more than 500 characters.", + "description": "Allows filtering by custom bidding algorithm fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND`. A sequence of restrictions * implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for the following field: - `displayName` * The operator must be `EQUALS (=)` for the following field: - `customBiddingAlgorithmType` - `customBiddingAlgorithmState` * For `displayName`, the value is a string. We return all custom bidding algorithms whose display_name contains such string. * For `customBiddingAlgorithmType`, the value is a string. We return all algorithms whose custom_bidding_algorithm_type is equal to the given type. * For `customBiddingAlgorithmState`, the value is a string. We return all algorithms whose custom_bidding_algorithm_state is equal to the given type. Examples: * All custom bidding algorithms for which the display name contains \"politics\": `displayName:politics`. * All custom bidding algorithms for which the type is \"SCRIPT_BASED\": `customBiddingAlgorithmType=SCRIPT_BASED` * All custom bidding algorithms for which the state is \"ENABLED\": `customBiddingAlgorithmState=ENABLED` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -4729,6 +4819,41 @@ "scopes": [ "https://www.googleapis.com/auth/display-video" ] + }, + "patch": { + "description": "Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.", + "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}", + "httpMethod": "PATCH", + "id": "displayvideo.customBiddingAlgorithms.patch", + "parameterOrder": [ + "customBiddingAlgorithmId" + ], + "parameters": { + "customBiddingAlgorithmId": { + "description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}", + "request": { + "$ref": "CustomBiddingAlgorithm" + }, + "response": { + "$ref": "CustomBiddingAlgorithm" + }, + "scopes": [ + "https://www.googleapis.com/auth/display-video" + ] } } }, @@ -6147,7 +6272,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -6188,7 +6316,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -6274,7 +6405,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -6315,7 +6449,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -6398,7 +6535,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -6439,7 +6579,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -6535,7 +6678,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -6576,7 +6722,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -6720,7 +6869,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -6761,7 +6913,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -6854,7 +7009,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -6895,7 +7053,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -6921,7 +7082,7 @@ ], "parameters": { "targetingType": { - "description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION`", + "description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN`", "enum": [ "TARGETING_TYPE_UNSPECIFIED", "TARGETING_TYPE_CHANNEL", @@ -6961,7 +7122,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -7002,7 +7166,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "location": "path", "pattern": "^[^/]+$", @@ -7201,7 +7368,7 @@ } } }, - "revision": "20210717", + "revision": "20210902", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -7834,6 +8001,10 @@ "$ref": "BrowserAssignedTargetingOptionDetails", "description": "Browser details. This field will be populated when the targeting_type is `TARGETING_TYPE_BROWSER`." }, + "businessChainDetails": { + "$ref": "BusinessChainAssignedTargetingOptionDetails", + "description": "Business chain details. This field will be populated when the targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." + }, "carrierAndIspDetails": { "$ref": "CarrierAndIspAssignedTargetingOptionDetails", "description": "Carrier and ISP details. This field will be populated when the targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`." @@ -7936,6 +8107,10 @@ "$ref": "NegativeKeywordListAssignedTargetingOptionDetails", "description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a resource." }, + "omidDetails": { + "$ref": "OmidAssignedTargetingOptionDetails", + "description": "Open Measurement enabled inventory details. This field will be populated when the targeting_type is `TARGETING_TYPE_OMID`." + }, "onScreenPositionDetails": { "$ref": "OnScreenPositionAssignedTargetingOptionDetails", "description": "On screen position details. This field will be populated when the targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`." @@ -7948,6 +8123,10 @@ "$ref": "ParentalStatusAssignedTargetingOptionDetails", "description": "Parental status details. This field will be populated when the targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`." }, + "poiDetails": { + "$ref": "PoiAssignedTargetingOptionDetails", + "description": "POI details. This field will be populated when the targeting_type is `TARGETING_TYPE_POI`." + }, "proximityLocationListDetails": { "$ref": "ProximityLocationListAssignedTargetingOptionDetails", "description": "Proximity location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`." @@ -8005,7 +8184,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -8046,7 +8228,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "readOnly": true, "type": "string" @@ -8360,14 +8545,14 @@ "id": "BulkEditAdvertiserAssignedTargetingOptionsRequest", "properties": { "createRequests": { - "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", + "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", "items": { "$ref": "CreateAssignedTargetingOptionsRequest" }, "type": "array" }, "deleteRequests": { - "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", + "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", "items": { "$ref": "DeleteAssignedTargetingOptionsRequest" }, @@ -8723,6 +8908,140 @@ }, "type": "object" }, + "BusinessChainAssignedTargetingOptionDetails": { + "description": "Details for assigned Business chain targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", + "id": "BusinessChainAssignedTargetingOptionDetails", + "properties": { + "displayName": { + "description": "Output only. The display name of a business chain, e.g. \"KFC\", \"Chase Bank\".", + "readOnly": true, + "type": "string" + }, + "proximityRadiusAmount": { + "description": "Required. The radius of the area around the business chain that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6.", + "format": "double", + "type": "number" + }, + "proximityRadiusUnit": { + "description": "Required. The unit of distance by which the targeting radius is measured.", + "enum": [ + "DISTANCE_UNIT_UNSPECIFIED", + "DISTANCE_UNIT_MILES", + "DISTANCE_UNIT_KILOMETERS" + ], + "enumDescriptions": [ + "Type value is not specified or is unknown in this version.", + "Miles.", + "Kilometers." + ], + "type": "string" + }, + "targetingOptionId": { + "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`.", + "type": "string" + } + }, + "type": "object" + }, + "BusinessChainSearchTerms": { + "description": "Search terms for Business Chain targeting options. At least one of the field should be populated.", + "id": "BusinessChainSearchTerms", + "properties": { + "businessChain": { + "description": "The search query for the desired business chain. The query must be the full name of the business, e.g. \"KFC\", \"mercedes-benz\".", + "type": "string" + }, + "region": { + "description": "The search query for the desired geo region, e.g. \"Seattle\", \"United State\".", + "type": "string" + } + }, + "type": "object" + }, + "BusinessChainTargetingOptionDetails": { + "description": "Represents a targetable business chain within a geo region. This will be populated in the business_chain_details field when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", + "id": "BusinessChainTargetingOptionDetails", + "properties": { + "businessChain": { + "description": "Output only. The display name of the business chain, e.g. \"KFC\", \"Chase Bank\".", + "readOnly": true, + "type": "string" + }, + "geoRegion": { + "description": "Output only. The display name of the geographic region, e.g. \"Ontario, Canada\".", + "readOnly": true, + "type": "string" + }, + "geoRegionType": { + "description": "Output only. The type of the geographic region.", + "enum": [ + "GEO_REGION_TYPE_UNKNOWN", + "GEO_REGION_TYPE_OTHER", + "GEO_REGION_TYPE_COUNTRY", + "GEO_REGION_TYPE_REGION", + "GEO_REGION_TYPE_TERRITORY", + "GEO_REGION_TYPE_PROVINCE", + "GEO_REGION_TYPE_STATE", + "GEO_REGION_TYPE_PREFECTURE", + "GEO_REGION_TYPE_GOVERNORATE", + "GEO_REGION_TYPE_CANTON", + "GEO_REGION_TYPE_UNION_TERRITORY", + "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", + "GEO_REGION_TYPE_DMA_REGION", + "GEO_REGION_TYPE_METRO", + "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", + "GEO_REGION_TYPE_COUNTY", + "GEO_REGION_TYPE_MUNICIPALITY", + "GEO_REGION_TYPE_CITY", + "GEO_REGION_TYPE_POSTAL_CODE", + "GEO_REGION_TYPE_DEPARTMENT", + "GEO_REGION_TYPE_AIRPORT", + "GEO_REGION_TYPE_TV_REGION", + "GEO_REGION_TYPE_OKRUG", + "GEO_REGION_TYPE_BOROUGH", + "GEO_REGION_TYPE_CITY_REGION", + "GEO_REGION_TYPE_ARRONDISSEMENT", + "GEO_REGION_TYPE_NEIGHBORHOOD", + "GEO_REGION_TYPE_UNIVERSITY", + "GEO_REGION_TYPE_DISTRICT" + ], + "enumDescriptions": [ + "The geographic region type is unknown.", + "The geographic region type is other.", + "The geographic region is a country.", + "The geographic region type is region.", + "The geographic region is a territory.", + "The geographic region is a province.", + "The geographic region is a state.", + "The geographic region is a prefecture.", + "The geographic region is a governorate.", + "The geographic region is a canton.", + "The geographic region is a union territory.", + "The geographic region is an autonomous community.", + "The geographic region is a designated market area (DMA) region.", + "The geographic region type is metro.", + "The geographic region is a congressional district.", + "The geographic region is a county.", + "The geographic region is a municipality.", + "The geographic region is a city.", + "The geographic region targeting type is postal code.", + "The geographic region targeting type is department.", + "The geographic region is an airport.", + "The geographic region is a TV region.", + "The geographic region is an okrug.", + "The geographic region is a borough.", + "The geographic region is a city region.", + "The geographic region is an arrondissement.", + "The geographic region is a neighborhood.", + "The geographic region is a university.", + "The geographic region is a district." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Campaign": { "description": "A single campaign.", "id": "Campaign", @@ -9411,7 +9730,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -9452,7 +9774,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "type": "string" } @@ -9940,17 +10265,36 @@ "readOnly": true, "type": "string" }, + "customBiddingAlgorithmState": { + "description": "Output only. The status of custom bidding algorithm.", + "enum": [ + "STATE_UNSPECIFIED", + "ENABLED", + "DORMANT", + "SUSPENDED" + ], + "enumDescriptions": [ + "State is not specified or is unknown in this version.", + "Algorithm is enabled, either recently used, currently used or scheduled to be used. The algorithm is actively scoring impressions.", + "Algorithm has not been used recently. Although the algorithm still acts as `ENABLED`, it will eventually be suspended if not used.", + "Algorithm is susepended from scoring impressions and doesn't have a serving model trained. If the algorithm is assigned to a line item or otherwise updated, it will switch back to the `ENABLED` state and require time to prepare the serving model again." + ], + "readOnly": true, + "type": "string" + }, "customBiddingAlgorithmType": { "description": "Required. Immutable. The type of custom bidding algorithm.", "enum": [ "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", "SCRIPT_BASED", - "ADS_DATA_HUB_BASED" + "ADS_DATA_HUB_BASED", + "GOAL_BUILDER_BASED" ], "enumDescriptions": [ "Algorithm type is not specified or is unknown in this version.", "Algorithm generated through customer-uploaded custom bidding script files.", - "Algorithm created through Ads Data Hub product." + "Algorithm created through Ads Data Hub product.", + "Algorithm created through goal builder in DV3 UI." ], "type": "string" }, @@ -9987,6 +10331,14 @@ "description": "Immutable. The unique ID of the partner that owns the custom bidding algorithm.", "format": "int64", "type": "string" + }, + "sharedAdvertiserIds": { + "description": "The IDs of the advertisers who have access to this algorithm. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -10190,7 +10542,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -10231,7 +10586,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "type": "string" } @@ -10902,7 +11260,9 @@ "EXCHANGE_WAZE", "EXCHANGE_SOUNDCAST", "EXCHANGE_SHARETHROUGH", - "EXCHANGE_MEDIANET" + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -10968,7 +11328,9 @@ "Waze.", "SoundCast.", "Sharethrough.", - "Media.net." + "Red For Publishers.", + "Media.net.", + "Tapjoy." ], "type": "string" }, @@ -11060,7 +11422,9 @@ "EXCHANGE_WAZE", "EXCHANGE_SOUNDCAST", "EXCHANGE_SHARETHROUGH", - "EXCHANGE_MEDIANET" + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -11126,7 +11490,9 @@ "Waze.", "SoundCast.", "Sharethrough.", - "Media.net." + "Red For Publishers.", + "Media.net.", + "Tapjoy." ], "type": "string" }, @@ -11219,7 +11585,9 @@ "EXCHANGE_WAZE", "EXCHANGE_SOUNDCAST", "EXCHANGE_SHARETHROUGH", - "EXCHANGE_MEDIANET" + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -11285,7 +11653,9 @@ "Waze.", "SoundCast.", "Sharethrough.", - "Media.net." + "Red For Publishers.", + "Media.net.", + "Tapjoy." ], "readOnly": true, "type": "string" @@ -12654,7 +13024,9 @@ "EXCHANGE_WAZE", "EXCHANGE_SOUNDCAST", "EXCHANGE_SHARETHROUGH", - "EXCHANGE_MEDIANET" + "EXCHANGE_RED_FOR_PUBLISHERS", + "EXCHANGE_MEDIANET", + "EXCHANGE_TAPJOY" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -12720,7 +13092,9 @@ "Waze.", "SoundCast.", "Sharethrough.", - "Media.net." + "Red For Publishers.", + "Media.net.", + "Tapjoy." ], "type": "string" }, @@ -14274,6 +14648,50 @@ }, "type": "object" }, + "OmidAssignedTargetingOptionDetails": { + "description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_OMID`.", + "id": "OmidAssignedTargetingOptionDetails", + "properties": { + "omid": { + "description": "Output only. The type of Open Measurement enabled inventory.", + "enum": [ + "OMID_UNSPECIFIED", + "OMID_FOR_MOBILE_DISPLAY_ADS" + ], + "enumDescriptions": [ + "Default value when omid targeting is not specified in this version.", + "Open Measurement enabled mobile display inventory." + ], + "readOnly": true, + "type": "string" + }, + "targetingOptionId": { + "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_OMID`.", + "type": "string" + } + }, + "type": "object" + }, + "OmidTargetingOptionDetails": { + "description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details field when targeting_type is `TARGETING_TYPE_OMID`.", + "id": "OmidTargetingOptionDetails", + "properties": { + "omid": { + "description": "Output only. The type of Open Measurement enabled inventory.", + "enum": [ + "OMID_UNSPECIFIED", + "OMID_FOR_MOBILE_DISPLAY_ADS" + ], + "enumDescriptions": [ + "Default value when omid targeting is not specified in this version.", + "Open Measurement enabled mobile display inventory." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "OnScreenPositionAssignedTargetingOptionDetails": { "description": "On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", "id": "OnScreenPositionAssignedTargetingOptionDetails", @@ -14919,6 +15337,88 @@ }, "type": "object" }, + "PoiAssignedTargetingOptionDetails": { + "description": "Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`.", + "id": "PoiAssignedTargetingOptionDetails", + "properties": { + "displayName": { + "description": "Output only. The display name of a POI, e.g. \"Times Square\", \"Space Needle\", followed by its full address if available.", + "readOnly": true, + "type": "string" + }, + "latitude": { + "description": "Output only. Latitude of the POI rounding to 6th decimal place.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "longitude": { + "description": "Output only. Longitude of the POI rounding to 6th decimal place.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "proximityRadiusAmount": { + "description": "Required. The radius of the area around the POI that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`.", + "format": "double", + "type": "number" + }, + "proximityRadiusUnit": { + "description": "Required. The unit of distance by which the targeting radius is measured.", + "enum": [ + "DISTANCE_UNIT_UNSPECIFIED", + "DISTANCE_UNIT_MILES", + "DISTANCE_UNIT_KILOMETERS" + ], + "enumDescriptions": [ + "Type value is not specified or is unknown in this version.", + "Miles.", + "Kilometers." + ], + "type": "string" + }, + "targetingOptionId": { + "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI` or reuse an existing assigned_targeting_option_id.", + "type": "string" + } + }, + "type": "object" + }, + "PoiSearchTerms": { + "description": "Search terms for POI targeting options.", + "id": "PoiSearchTerms", + "properties": { + "poiQuery": { + "description": "The search query for the desired POI name, street address, or coordinate of the desired POI. The query can be a prefix, e.g. \"Times squar\", \"40.7505045,-73.99562\", \"315 W 44th St\", etc.", + "type": "string" + } + }, + "type": "object" + }, + "PoiTargetingOptionDetails": { + "description": "Represents a targetable point of interest(POI). This will be populated in the poi_details field when targeting_type is `TARGETING_TYPE_POI`.", + "id": "PoiTargetingOptionDetails", + "properties": { + "displayName": { + "description": "Output only. The display name of a POI(e.g. \"Times Square\", \"Space Needle\"), followed by its full address if available.", + "readOnly": true, + "type": "string" + }, + "latitude": { + "description": "Output only. Latitude of the POI rounding to 6th decimal place.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "longitude": { + "description": "Output only. Longitude of the POI rounding to 6th decimal place.", + "format": "double", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, "PrismaConfig": { "description": "Settings specific to the Mediaocean Prisma tool.", "id": "PrismaConfig", @@ -15322,6 +15822,10 @@ "format": "int64", "type": "string" }, + "businessChainSearchTerms": { + "$ref": "BusinessChainSearchTerms", + "description": "Search terms for Business Chain targeting options. Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." + }, "geoRegionSearchTerms": { "$ref": "GeoRegionSearchTerms", "description": "Search terms for geo region targeting options. Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`." @@ -15334,12 +15838,16 @@ "pageToken": { "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `SearchTargetingOptions` method. If not specified, the first page of results will be returned.", "type": "string" + }, + "poiSearchTerms": { + "$ref": "PoiSearchTerms", + "description": "Search terms for POI targeting options. Can only be used when targeting_type is `TARGETING_TYPE_POI`." } }, "type": "object" }, "SearchTargetingOptionsResponse": { - "description": "Response message for SearchTargetingOptionsResponse.", + "description": "Response message for SearchTargetingOptions.", "id": "SearchTargetingOptionsResponse", "properties": { "nextPageToken": { @@ -15583,6 +16091,10 @@ "$ref": "BrowserTargetingOptionDetails", "description": "Browser details." }, + "businessChainDetails": { + "$ref": "BusinessChainTargetingOptionDetails", + "description": "Business chain resource details." + }, "carrierAndIspDetails": { "$ref": "CarrierAndIspTargetingOptionDetails", "description": "Carrier and ISP details." @@ -15644,6 +16156,10 @@ "$ref": "NativeContentPositionTargetingOptionDetails", "description": "Native content position details." }, + "omidDetails": { + "$ref": "OmidTargetingOptionDetails", + "description": "Open Measurement enabled inventory details." + }, "onScreenPositionDetails": { "$ref": "OnScreenPositionTargetingOptionDetails", "description": "On screen position details." @@ -15656,6 +16172,10 @@ "$ref": "ParentalStatusTargetingOptionDetails", "description": "Parental status details." }, + "poiDetails": { + "$ref": "PoiTargetingOptionDetails", + "description": "POI resource details." + }, "sensitiveCategoryDetails": { "$ref": "SensitiveCategoryTargetingOptionDetails", "description": "Sensitive Category details." @@ -15710,7 +16230,10 @@ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", "TARGETING_TYPE_EXCHANGE", "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" + "TARGETING_TYPE_POI", + "TARGETING_TYPE_BUSINESS_CHAIN", + "TARGETING_TYPE_NATIVE_CONTENT_POSITION", + "TARGETING_TYPE_OMID" ], "enumDescriptions": [ "Default value when type is not specified or is unknown in this version.", @@ -15751,7 +16274,10 @@ "Purchase impressions from a group of deals and auction packages.", "Purchase impressions from specific exchanges.", "Purchase impressions from specific sub-exchanges.", - "Target ads to a specific native content position." + "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", + "Target ads around locations of a business chain within a specific geo region.", + "Target ads to a specific native content position.", + "Target ads in an Open Measurement enabled inventory." ], "readOnly": true, "type": "string" diff --git a/discovery/googleapis/dlp__v2.json b/discovery/googleapis/dlp__v2.json index 1195b4d8c..34cac47d5 100644 --- a/discovery/googleapis/dlp__v2.json +++ b/discovery/googleapis/dlp__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -3410,7 +3410,7 @@ } } }, - "revision": "20210717", + "revision": "20210903", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -4251,12 +4251,12 @@ "type": "object" }, "GooglePrivacyDlpV2CryptoKey": { - "description": "This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.", + "description": "This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.", "id": "GooglePrivacyDlpV2CryptoKey", "properties": { "kmsWrapped": { "$ref": "GooglePrivacyDlpV2KmsWrappedCryptoKey", - "description": "Kms wrapped key" + "description": "Key wrapped using Cloud KMS" }, "transient": { "$ref": "GooglePrivacyDlpV2TransientCryptoKey", @@ -5887,7 +5887,7 @@ "type": "object" }, "GooglePrivacyDlpV2KmsWrappedCryptoKey": { - "description": "Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).", + "description": "Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). Note: When you use Cloud KMS for cryptographic operations, [charges apply](https://cloud.google.com/kms/pricing).", "id": "GooglePrivacyDlpV2KmsWrappedCryptoKey", "properties": { "cryptoKeyName": { @@ -6364,7 +6364,7 @@ }, "replaceConfig": { "$ref": "GooglePrivacyDlpV2ReplaceValueConfig", - "description": "Replace" + "description": "Replace with a specified value." }, "replaceWithInfoTypeConfig": { "$ref": "GooglePrivacyDlpV2ReplaceWithInfoTypeConfig", diff --git a/discovery/googleapis/dns__v1.json b/discovery/googleapis/dns__v1.json index 703e0e023..82fb8891d 100644 --- a/discovery/googleapis/dns__v1.json +++ b/discovery/googleapis/dns__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/ndev.clouddns.readonly": { "description": "View your DNS records hosted by Google Cloud DNS" @@ -1233,7 +1233,7 @@ } } }, - "revision": "20210712", + "revision": "20210903", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { diff --git a/discovery/googleapis/docs__v1.json b/discovery/googleapis/docs__v1.json index de29f330c..1419f2ce5 100644 --- a/discovery/googleapis/docs__v1.json +++ b/discovery/googleapis/docs__v1.json @@ -214,7 +214,7 @@ } } }, - "revision": "20210713", + "revision": "20210824", "rootUrl": "https://docs.googleapis.com/", "schemas": { "AutoText": { diff --git a/discovery/googleapis/documentai__v1.json b/discovery/googleapis/documentai__v1.json index 1fd63ecc6..778e7dc27 100644 --- a/discovery/googleapis/documentai__v1.json +++ b/discovery/googleapis/documentai__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -206,11 +206,11 @@ "resources": { "operations": { "methods": { - "cancelOperation": { + "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "documentai.projects.locations.operations.cancelOperation", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "documentai.projects.locations.operations.cancel", "parameterOrder": [ "name" ], @@ -223,7 +223,7 @@ "type": "string" } }, - "path": "v1/{+name}", + "path": "v1/{+name}:cancel", "response": { "$ref": "GoogleProtobufEmpty" }, @@ -562,11 +562,11 @@ "resources": { "operations": { "methods": { - "cancelOperation": { + "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "uiv1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "documentai.uiv1beta3.projects.locations.operations.cancelOperation", + "flatPath": "uiv1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "documentai.uiv1beta3.projects.locations.operations.cancel", "parameterOrder": [ "name" ], @@ -579,7 +579,7 @@ "type": "string" } }, - "path": "uiv1beta3/{+name}", + "path": "uiv1beta3/{+name}:cancel", "response": { "$ref": "GoogleProtobufEmpty" }, @@ -662,9 +662,41 @@ } } }, - "revision": "20210719", + "revision": "20210830", "rootUrl": "https://documentai.googleapis.com/", "schemas": { + "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { + "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse": { + "description": "Response of the delete documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata": { + "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse": { + "description": "Response of the batch move documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { "description": "The common metadata for long running operations.", "id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", @@ -845,6 +877,23 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata": { + "description": "Metadata of the import document operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse": { + "description": "Response of the import document operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata": { "description": "The long running operation metadata for set default processor version method.", "id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata", @@ -940,6 +989,16 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata": { + "id": "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { "description": "The long running operation metadata for updating the human review configuration.", "id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", @@ -1212,7 +1271,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1DocumentEntity": { - "description": "A phrase in the text that is a known entity type, such as a person, an organization, or location.", + "description": "An entity that could be a phrase in the text or a property belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1DocumentEntity", "properties": { "confidence": { @@ -1229,7 +1288,7 @@ "type": "string" }, "mentionText": { - "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.", + "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty.", "type": "string" }, "normalizedValue": { @@ -1286,12 +1345,22 @@ "$ref": "GoogleTypeDateTime", "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, + "floatValue": { + "description": "Float value.", + "format": "float", + "type": "number" + }, + "integerValue": { + "description": "Integer value.", + "format": "int32", + "type": "integer" + }, "moneyValue": { "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective 'structured_value' fields may also be populated. Also not all the types of 'structured_value' will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -1555,6 +1624,14 @@ "description": "A form field detected on the page.", "id": "GoogleCloudDocumentaiV1DocumentPageFormField", "properties": { + "correctedKeyText": { + "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", + "type": "string" + }, + "correctedValueText": { + "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", + "type": "string" + }, "fieldName": { "$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." @@ -1924,7 +2001,7 @@ "type": "integer" }, "index": { - "description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)", + "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision.", "format": "int32", "type": "integer" }, @@ -2433,7 +2510,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta1DocumentEntity": { - "description": "A phrase in the text that is a known entity type, such as a person, an organization, or location.", + "description": "An entity that could be a phrase in the text or a property belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1beta1DocumentEntity", "properties": { "confidence": { @@ -2450,7 +2527,7 @@ "type": "string" }, "mentionText": { - "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.", + "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty.", "type": "string" }, "normalizedValue": { @@ -2507,12 +2584,22 @@ "$ref": "GoogleTypeDateTime", "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, + "floatValue": { + "description": "Float value.", + "format": "float", + "type": "number" + }, + "integerValue": { + "description": "Integer value.", + "format": "int32", + "type": "integer" + }, "moneyValue": { "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective 'structured_value' fields may also be populated. Also not all the types of 'structured_value' will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -2754,6 +2841,14 @@ "description": "A form field detected on the page.", "id": "GoogleCloudDocumentaiV1beta1DocumentPageFormField", "properties": { + "correctedKeyText": { + "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", + "type": "string" + }, + "correctedValueText": { + "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", + "type": "string" + }, "fieldName": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." @@ -3123,7 +3218,7 @@ "type": "integer" }, "index": { - "description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)", + "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision.", "format": "int32", "type": "integer" }, @@ -3576,7 +3671,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta2DocumentEntity": { - "description": "A phrase in the text that is a known entity type, such as a person, an organization, or location.", + "description": "An entity that could be a phrase in the text or a property belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1beta2DocumentEntity", "properties": { "confidence": { @@ -3593,7 +3688,7 @@ "type": "string" }, "mentionText": { - "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.", + "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty.", "type": "string" }, "normalizedValue": { @@ -3650,12 +3745,22 @@ "$ref": "GoogleTypeDateTime", "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, + "floatValue": { + "description": "Float value.", + "format": "float", + "type": "number" + }, + "integerValue": { + "description": "Integer value.", + "format": "int32", + "type": "integer" + }, "moneyValue": { "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective 'structured_value' fields may also be populated. Also not all the types of 'structured_value' will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -3917,6 +4022,14 @@ "description": "A form field detected on the page.", "id": "GoogleCloudDocumentaiV1beta2DocumentPageFormField", "properties": { + "correctedKeyText": { + "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", + "type": "string" + }, + "correctedValueText": { + "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", + "type": "string" + }, "fieldName": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." @@ -4286,7 +4399,7 @@ "type": "integer" }, "index": { - "description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)", + "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision.", "format": "int32", "type": "integer" }, diff --git a/discovery/googleapis/domainsrdap__v1.json b/discovery/googleapis/domainsrdap__v1.json index a10f246ee..a3d434281 100644 --- a/discovery/googleapis/domainsrdap__v1.json +++ b/discovery/googleapis/domainsrdap__v1.json @@ -287,7 +287,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://domainsrdap.googleapis.com/", "schemas": { "HttpBody": { diff --git a/discovery/googleapis/doubleclickbidmanager__v1.1.json b/discovery/googleapis/doubleclickbidmanager__v1.1.json index 0b0a29a42..dc7993694 100644 --- a/discovery/googleapis/doubleclickbidmanager__v1.1.json +++ b/discovery/googleapis/doubleclickbidmanager__v1.1.json @@ -278,7 +278,7 @@ } } }, - "revision": "20210629", + "revision": "20210824", "rootUrl": "https://doubleclickbidmanager.googleapis.com/", "schemas": { "ChannelGrouping": { @@ -615,7 +615,8 @@ "FILTER_LINE_ITEM_PACING_PERCENTAGE", "FILTER_INSERTION_ORDER_GOAL_VALUE", "FILTER_OMID_CAPABLE", - "FILTER_VENDOR_MEASUREMENT_MODE" + "FILTER_VENDOR_MEASUREMENT_MODE", + "FILTER_IMPRESSION_LOSS_REJECTION_REASON" ], "enumDescriptions": [ "", @@ -898,6 +899,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1263,7 +1265,8 @@ "FILTER_LINE_ITEM_PACING_PERCENTAGE", "FILTER_INSERTION_ORDER_GOAL_VALUE", "FILTER_OMID_CAPABLE", - "FILTER_VENDOR_MEASUREMENT_MODE" + "FILTER_VENDOR_MEASUREMENT_MODE", + "FILTER_IMPRESSION_LOSS_REJECTION_REASON" ], "enumDescriptions": [ "", @@ -1546,6 +1549,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2018,7 +2022,15 @@ "METRIC_PERCENTAGE_FROM_CURRENT_IO_GOAL", "METRIC_DUPLICATE_FLOODLIGHT_IMPRESSIONS", "METRIC_COOKIE_CONSENTED_FLOODLIGHT_IMPRESSIONS", - "METRIC_COOKIE_UNCONSENTED_FLOODLIGHT_IMPRESSIONS" + "METRIC_COOKIE_UNCONSENTED_FLOODLIGHT_IMPRESSIONS", + "METRIC_TRACKING_UNCONSENTED_CLICKS", + "METRIC_IMPRESSION_LOSS_TARGETED_IMPRESSIONS", + "METRIC_LINEITEM_BID_RESPONSE_COUNT", + "METRIC_WIN_LOSS_RATE", + "METRIC_WIN_LOSS_DEAL_AVAILABLE_REQUESTS", + "METRIC_WIN_LOSS_LINEITEM_AVAILABLE_REQUESTS", + "METRIC_WIN_LOSS_DEAL_TARGETED_IMPRESSIONS", + "METRIC_WIN_LOSS_LINEITEM_TARGETED_IMPRESSIONS" ], "enumDescriptions": [ "", @@ -2479,6 +2491,14 @@ "", "", "", + "", + "", + "", + "", + "", + "", + "", + "", "" ], "type": "string" @@ -2901,7 +2921,8 @@ "FILTER_LINE_ITEM_PACING_PERCENTAGE", "FILTER_INSERTION_ORDER_GOAL_VALUE", "FILTER_OMID_CAPABLE", - "FILTER_VENDOR_MEASUREMENT_MODE" + "FILTER_VENDOR_MEASUREMENT_MODE", + "FILTER_IMPRESSION_LOSS_REJECTION_REASON" ], "enumDescriptions": [ "", @@ -3184,6 +3205,7 @@ "", "", "", + "", "" ], "type": "string" diff --git a/discovery/googleapis/doubleclicksearch__v2.json b/discovery/googleapis/doubleclicksearch__v2.json index 4c150f856..cb833c8e0 100644 --- a/discovery/googleapis/doubleclicksearch__v2.json +++ b/discovery/googleapis/doubleclicksearch__v2.json @@ -398,7 +398,7 @@ } } }, - "revision": "20210720", + "revision": "20210831", "rootUrl": "https://doubleclicksearch.googleapis.com/", "schemas": { "Availability": { diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json index 7b8a6eb6f..34c61a8b3 100644 --- a/discovery/googleapis/drive__v2.json +++ b/discovery/googleapis/drive__v2.json @@ -38,7 +38,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/3C2SqaIsGtaKNfA_Qui6Cbm4VKo\"", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/2hTYCpIeSekmSlU-_E_vwg7hSDM\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -1621,7 +1621,7 @@ "type": "string" }, "spaces": { - "description": "A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.", + "description": "A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.", "location": "query", "type": "string" }, @@ -3527,7 +3527,7 @@ } } }, - "revision": "20210719", + "revision": "20210829", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -4850,7 +4850,7 @@ "type": "string" }, "folderColorRgb": { - "description": "Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. Not populated for items in shared drives.", + "description": "Folder color as an RGB hex string if the file is a folder or a shortcut to a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.", "type": "string" }, "fullFileExtension": { diff --git a/discovery/googleapis/drive__v3.json b/discovery/googleapis/drive__v3.json index 168d3b91c..c5ea23451 100644 --- a/discovery/googleapis/drive__v3.json +++ b/discovery/googleapis/drive__v3.json @@ -35,7 +35,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/_Lvps3-KgyI7_IwBA-9lM1tZSh4\"", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/PUjk1gtFHu1cx_JoV3hPrakasGg\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -1174,7 +1174,7 @@ }, "spaces": { "default": "drive", - "description": "A comma-separated list of spaces to query within the corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.", + "description": "A comma-separated list of spaces to query within the corpus. Supported values are 'drive' and 'appDataFolder'.", "location": "query", "type": "string" }, @@ -2191,7 +2191,7 @@ } } }, - "revision": "20210719", + "revision": "20210829", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -3004,7 +3004,7 @@ "type": "string" }, "folderColorRgb": { - "description": "The color for a folder as an RGB hex string. The supported colors are published in the folderColorPalette field of the About resource.\nIf an unsupported color is specified, the closest color in the palette will be used instead.", + "description": "The color for a folder or shortcut to a folder as an RGB hex string. The supported colors are published in the folderColorPalette field of the About resource.\nIf an unsupported color is specified, the closest color in the palette will be used instead.", "type": "string" }, "fullFileExtension": { diff --git a/discovery/googleapis/driveactivity__v2.json b/discovery/googleapis/driveactivity__v2.json index f642ed0dc..8d3c82831 100644 --- a/discovery/googleapis/driveactivity__v2.json +++ b/discovery/googleapis/driveactivity__v2.json @@ -130,7 +130,7 @@ } } }, - "revision": "20210720", + "revision": "20210831", "rootUrl": "https://driveactivity.googleapis.com/", "schemas": { "Action": { diff --git a/discovery/googleapis/essentialcontacts__v1.json b/discovery/googleapis/essentialcontacts__v1.json index 603a7150c..e9f5684cd 100644 --- a/discovery/googleapis/essentialcontacts__v1.json +++ b/discovery/googleapis/essentialcontacts__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -848,7 +848,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://essentialcontacts.googleapis.com/", "schemas": { "GoogleCloudEssentialcontactsV1ComputeContactsResponse": { diff --git a/discovery/googleapis/eventarc__v1.json b/discovery/googleapis/eventarc__v1.json index 22d9429aa..3328ed8af 100644 --- a/discovery/googleapis/eventarc__v1.json +++ b/discovery/googleapis/eventarc__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -175,6 +175,97 @@ } }, "resources": { + "channels": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:getIamPolicy", + "httpMethod": "GET", + "id": "eventarc.projects.locations.channels.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:setIamPolicy", + "httpMethod": "POST", + "id": "eventarc.projects.locations.channels.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:testIamPermissions", + "httpMethod": "POST", + "id": "eventarc.projects.locations.channels.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "operations": { "methods": { "cancel": { @@ -582,7 +673,7 @@ } } }, - "revision": "20210716", + "revision": "20210827", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -937,7 +1028,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/fcm__v1.json b/discovery/googleapis/fcm__v1.json index 560b0b788..6b32b58e6 100644 --- a/discovery/googleapis/fcm__v1.json +++ b/discovery/googleapis/fcm__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/firebase.messaging": { "description": "Send messages and manage messaging subscriptions for your Firebase applications" @@ -135,7 +135,8 @@ "$ref": "Message" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase.messaging" ] } } @@ -143,7 +144,7 @@ } } }, - "revision": "20210719", + "revision": "20210830", "rootUrl": "https://fcm.googleapis.com/", "schemas": { "AndroidConfig": { diff --git a/discovery/googleapis/file__v1.json b/discovery/googleapis/file__v1.json index a5475c62e..c0cc69700 100644 --- a/discovery/googleapis/file__v1.json +++ b/discovery/googleapis/file__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -197,7 +197,7 @@ "type": "string" }, "parent": { - "description": "Required. The backup's project and location, in the format projects/{project_number}/locations/{location}. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", + "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -225,7 +225,7 @@ ], "parameters": { "name": { - "description": "Required. The backup resource name, in the format projects/{project_number}/locations/{location}/backups/{backup_id}", + "description": "Required. The backup resource name, in the format `projects/{project_number}/locations/{location}/backups/{backup_id}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", "required": true, @@ -250,7 +250,7 @@ ], "parameters": { "name": { - "description": "Required. The backup resource name, in the format projects/{project_number}/locations/{location}/backups/{backup_id}.", + "description": "Required. The backup resource name, in the format `projects/{project_number}/locations/{location}/backups/{backup_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", "required": true, @@ -296,7 +296,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve backup information, in the format projects/{project_number}/locations/{location}. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the {location} value.", + "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -321,7 +321,7 @@ ], "parameters": { "name": { - "description": "Output only. The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}.", + "description": "Output only. The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", "required": true, @@ -364,7 +364,7 @@ "type": "string" }, "parent": { - "description": "Required. The instance's project and location, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", + "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -392,7 +392,7 @@ ], "parameters": { "name": { - "description": "Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}", + "description": "Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -417,7 +417,7 @@ ], "parameters": { "name": { - "description": "Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}.", + "description": "Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -463,7 +463,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve instance information, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the {location} value.", + "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -488,7 +488,7 @@ ], "parameters": { "name": { - "description": "Output only. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance}.", + "description": "Output only. The resource name of the instance, in the format `projects/{project}/locations/{location}/instances/{instance}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -522,7 +522,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}.", + "description": "Required. The resource name of the instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -670,7 +670,7 @@ } } }, - "revision": "20210708", + "revision": "20210822", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -707,7 +707,7 @@ "type": "object" }, "name": { - "description": "Output only. The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}.", + "description": "Output only. The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.", "readOnly": true, "type": "string" }, @@ -721,7 +721,7 @@ "type": "string" }, "sourceInstance": { - "description": "The resource name of the source Cloud Filestore instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.", + "description": "The resource name of the source Cloud Filestore instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, used to create this backup.", "type": "string" }, "sourceInstanceTier": { @@ -863,7 +863,7 @@ "type": "array" }, "sourceBackup": { - "description": "The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.", + "description": "The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`, that this file share has been restored from.", "type": "string" } }, @@ -1036,13 +1036,6 @@ "description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", "id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", "properties": { - "exclusions": { - "description": "By default node is eligible if instance is eligible. But individual node might be excluded from SLO by adding entry here. For semantic see SloMetadata.exclusions. If both instance and node level exclusions are present for time period, the node level's reason will be reported by Eligibility Exporter.", - "items": { - "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" - }, - "type": "array" - }, "location": { "description": "The location of the node, if different from instance location.", "type": "string" @@ -1102,42 +1095,10 @@ }, "type": "object" }, - "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": { - "description": "SloExclusion represents an exclusion in SLI calculation applies to all SLOs.", - "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion", - "properties": { - "duration": { - "description": "Exclusion duration. No restrictions on the possible values. When an ongoing operation is taking longer than initially expected, an existing entry in the exclusion list can be updated by extending the duration. This is supported by the subsystem exporting eligibility data as long as such extension is committed at least 10 minutes before the original exclusion expiration - otherwise it is possible that there will be \"gaps\" in the exclusion application in the exported timeseries.", - "format": "google-duration", - "type": "string" - }, - "reason": { - "description": "Human-readable reason for the exclusion. This should be a static string (e.g. \"Disruptive update in progress\") and should not contain dynamically generated data (e.g. instance name). Can be left empty.", - "type": "string" - }, - "sliName": { - "description": "Name of an SLI that this exclusion applies to. Can be left empty, signaling that the instance should be excluded from all SLIs.", - "type": "string" - }, - "startTime": { - "description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { "description": "SloMetadata contains resources required for proper SLO classification of the instance.", "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", "properties": { - "exclusions": { - "description": "List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion time-window against current time point) the exclusion reason used in the first matching entry will be published. It is not needed to include expired exclusion in this list, as only the currently applicable exclusions are taken into account by the eligibility exporting subsystem (the historical state of exclusions will be reflected in the historically produced timeseries regardless of the current state). This field can be used to mark the instance as temporary ineligible for the purpose of SLO calculation. For permanent instance SLO exclusion, use of custom instance eligibility is recommended. See 'eligibility' field below.", - "items": { - "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" - }, - "type": "array" - }, "nodes": { "description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", "items": { @@ -1189,7 +1150,7 @@ "type": "object" }, "name": { - "description": "Output only. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance}.", + "description": "Output only. The resource name of the instance, in the format `projects/{project}/locations/{location}/instances/{instance}`.", "readOnly": true, "type": "string" }, @@ -1261,7 +1222,7 @@ "id": "ListBackupsResponse", "properties": { "backups": { - "description": "A list of backups in the project for the specified location. If the {location} value in the request is \"-\", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the \"unreachable\" field will be populated with a list of unreachable locations.", + "description": "A list of backups in the project for the specified location. If the `{location}` value in the request is \"-\", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the \"unreachable\" field will be populated with a list of unreachable locations.", "items": { "$ref": "Backup" }, @@ -1286,7 +1247,7 @@ "id": "ListInstancesResponse", "properties": { "instances": { - "description": "A list of instances in the project for the specified location. If the {location} value in the request is \"-\", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the \"unreachable\" field will be populated with a list of unreachable locations.", + "description": "A list of instances in the project for the specified location. If the `{location}` value in the request is \"-\", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the \"unreachable\" field will be populated with a list of unreachable locations.", "items": { "$ref": "Instance" }, @@ -1446,7 +1407,7 @@ "id": "NetworkConfig", "properties": { "ipAddresses": { - "description": "Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.", + "description": "Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.", "items": { "type": "string" }, @@ -1469,11 +1430,11 @@ "type": "array" }, "network": { - "description": "The name of the Google Compute Engine [VPC network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected.", + "description": "The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.", "type": "string" }, "reservedIpRange": { - "description": "A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/knowledge/address_filters.html) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.", + "description": "A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.", "type": "string" } }, @@ -1508,7 +1469,7 @@ "type": "string" }, "ipRanges": { - "description": "List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.", + "description": "List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.", "items": { "type": "string" }, @@ -1576,7 +1537,7 @@ "type": "string" }, "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, @@ -1619,7 +1580,7 @@ "type": "string" }, "sourceBackup": { - "description": "The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}.", + "description": "The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.", "type": "string" } }, @@ -1738,7 +1699,7 @@ "type": "string" }, "denyMaintenancePeriods": { - "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. For V1, Maximum number of deny_maintenance_periods is expected to be one.", + "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. Maximum number of deny_maintenance_periods expected is one.", "items": { "$ref": "DenyMaintenancePeriod" }, diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json index 8bcec5a2e..33e0c0b5e 100644 --- a/discovery/googleapis/firebasedynamiclinks__v1.json +++ b/discovery/googleapis/firebasedynamiclinks__v1.json @@ -223,7 +223,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://firebasedynamiclinks.googleapis.com/", "schemas": { "AnalyticsInfo": { diff --git a/discovery/googleapis/firebasehosting__v1.json b/discovery/googleapis/firebasehosting__v1.json index 3b599375a..2c188ddf7 100644 --- a/discovery/googleapis/firebasehosting__v1.json +++ b/discovery/googleapis/firebasehosting__v1.json @@ -184,7 +184,7 @@ } } }, - "revision": "20210720", + "revision": "20210818", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/googleapis/firebaseml__v1.json b/discovery/googleapis/firebaseml__v1.json index 1c0cc024a..de5d9b3ae 100644 --- a/discovery/googleapis/firebaseml__v1.json +++ b/discovery/googleapis/firebaseml__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -202,7 +202,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/googleapis/firebaserules__v1.json b/discovery/googleapis/firebaserules__v1.json index a4631ca72..3ab2e29ad 100644 --- a/discovery/googleapis/firebaserules__v1.json +++ b/discovery/googleapis/firebaserules__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/firebase": { "description": "View and administer all your Firebase data and settings" @@ -475,7 +475,7 @@ } } }, - "revision": "20210712", + "revision": "20210818", "rootUrl": "https://firebaserules.googleapis.com/", "schemas": { "Arg": { diff --git a/discovery/googleapis/firestore__v1.json b/discovery/googleapis/firestore__v1.json index 0d1b11fc3..701be1a21 100644 --- a/discovery/googleapis/firestore__v1.json +++ b/discovery/googleapis/firestore__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/datastore": { "description": "View and manage your Google Cloud Datastore data" @@ -1158,7 +1158,7 @@ } } }, - "revision": "20210615", + "revision": "20210816", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "ArrayValue": { diff --git a/discovery/googleapis/fitness__v1.json b/discovery/googleapis/fitness__v1.json index cfa51a313..dc98a09b6 100644 --- a/discovery/googleapis/fitness__v1.json +++ b/discovery/googleapis/fitness__v1.json @@ -21,10 +21,10 @@ "description": "Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app." }, "https://www.googleapis.com/auth/fitness.body.read": { - "description": "See info about your body measurements and heart rate in Google Fit" + "description": "See info about your body measurements in Google Fit" }, "https://www.googleapis.com/auth/fitness.body.write": { - "description": "Add info about your body measurements and heart rate to Google Fit" + "description": "Add info about your body measurements to Google Fit" }, "https://www.googleapis.com/auth/fitness.body_temperature.read": { "description": "See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app." @@ -830,7 +830,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://fitness.googleapis.com/", "schemas": { "AggregateBucket": { diff --git a/discovery/googleapis/gamesConfiguration__v1configuration.json b/discovery/googleapis/gamesConfiguration__v1configuration.json index 406c77fb6..7ffad6de2 100644 --- a/discovery/googleapis/gamesConfiguration__v1configuration.json +++ b/discovery/googleapis/gamesConfiguration__v1configuration.json @@ -438,7 +438,7 @@ } } }, - "revision": "20210717", + "revision": "20210902", "rootUrl": "https://gamesconfiguration.googleapis.com/", "schemas": { "AchievementConfiguration": { diff --git a/discovery/googleapis/gamesManagement__v1management.json b/discovery/googleapis/gamesManagement__v1management.json index 72a688b19..c668aec92 100644 --- a/discovery/googleapis/gamesManagement__v1management.json +++ b/discovery/googleapis/gamesManagement__v1management.json @@ -470,7 +470,7 @@ } } }, - "revision": "20210717", + "revision": "20210902", "rootUrl": "https://gamesmanagement.googleapis.com/", "schemas": { "AchievementResetAllResponse": { diff --git a/discovery/googleapis/games__v1.json b/discovery/googleapis/games__v1.json index 08b21d763..d4cb567f0 100644 --- a/discovery/googleapis/games__v1.json +++ b/discovery/googleapis/games__v1.json @@ -1223,7 +1223,7 @@ } } }, - "revision": "20210717", + "revision": "20210902", "rootUrl": "https://games.googleapis.com/", "schemas": { "AchievementDefinition": { diff --git a/discovery/googleapis/gameservices__v1.json b/discovery/googleapis/gameservices__v1.json index d53aa5a03..fe0f4cdd2 100644 --- a/discovery/googleapis/gameservices__v1.json +++ b/discovery/googleapis/gameservices__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1355,7 +1355,7 @@ } } }, - "revision": "20210707", + "revision": "20210818", "rootUrl": "https://gameservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -2403,7 +2403,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/gkehub__v1.json b/discovery/googleapis/gkehub__v1.json index a834380db..812b39207 100644 --- a/discovery/googleapis/gkehub__v1.json +++ b/discovery/googleapis/gkehub__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -903,7 +903,7 @@ } } }, - "revision": "20210716", + "revision": "20210827", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AuditConfig": { @@ -2105,12 +2105,20 @@ "properties": { "gkeCluster": { "$ref": "GkeCluster", - "description": "Optional. GKE-specific information. Only present if this Membership is a GKE cluster." + "description": "Optional. Specific information for a GKE-on-GCP cluster." }, "kubernetesMetadata": { "$ref": "KubernetesMetadata", "description": "Output only. Useful Kubernetes-specific metadata.", "readOnly": true + }, + "multiCloudCluster": { + "$ref": "MultiCloudCluster", + "description": "Optional. Specific information for a GKE Multi-Cloud cluster." + }, + "onPremCluster": { + "$ref": "OnPremCluster", + "description": "Optional. Specific information for a GKE On-Prem cluster." } }, "type": "object" @@ -2169,6 +2177,22 @@ }, "type": "object" }, + "MultiCloudCluster": { + "description": "MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.", + "id": "MultiCloudCluster", + "properties": { + "clusterMissing": { + "description": "Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.", + "readOnly": true, + "type": "boolean" + }, + "resourceLink": { + "description": "Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster", + "type": "string" + } + }, + "type": "object" + }, "MultiClusterIngressFeatureSpec": { "description": "**Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature.", "id": "MultiClusterIngressFeatureSpec", @@ -2180,6 +2204,26 @@ }, "type": "object" }, + "OnPremCluster": { + "description": "OnPremCluster contains information specific to GKE On-Prem clusters.", + "id": "OnPremCluster", + "properties": { + "adminCluster": { + "description": "Immutable. Whether the cluster is an admin cluster.", + "type": "boolean" + }, + "clusterMissing": { + "description": "Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.", + "readOnly": true, + "type": "boolean" + }, + "resourceLink": { + "description": "Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster", + "type": "string" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -2260,7 +2304,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2351,7 +2395,7 @@ } }, "servicePath": "", - "title": "GKE Hub", + "title": "GKE Hub API", "version": "v1", "version_module": true } \ No newline at end of file diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json index 0b0f484ce..b48114e9e 100644 --- a/discovery/googleapis/gmail__v1.json +++ b/discovery/googleapis/gmail__v1.json @@ -2681,7 +2681,7 @@ } } }, - "revision": "20210719", + "revision": "20210830", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { diff --git a/discovery/googleapis/gmailpostmastertools__v1.json b/discovery/googleapis/gmailpostmastertools__v1.json index 37a8ffb95..c60080048 100644 --- a/discovery/googleapis/gmailpostmastertools__v1.json +++ b/discovery/googleapis/gmailpostmastertools__v1.json @@ -263,7 +263,7 @@ } } }, - "revision": "20210720", + "revision": "20210827", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "DeliveryError": { diff --git a/discovery/googleapis/groupsmigration__v1.json b/discovery/googleapis/groupsmigration__v1.json index 2892ae34a..7ef645c3f 100644 --- a/discovery/googleapis/groupsmigration__v1.json +++ b/discovery/googleapis/groupsmigration__v1.json @@ -145,7 +145,7 @@ } } }, - "revision": "20210715", + "revision": "20210826", "rootUrl": "https://groupsmigration.googleapis.com/", "schemas": { "Groups": { diff --git a/discovery/googleapis/groupssettings__v1.json b/discovery/googleapis/groupssettings__v1.json index a91f1fc9d..c3d13856c 100644 --- a/discovery/googleapis/groupssettings__v1.json +++ b/discovery/googleapis/groupssettings__v1.json @@ -152,7 +152,7 @@ } } }, - "revision": "20210715", + "revision": "20210826", "rootUrl": "https://www.googleapis.com/", "schemas": { "Groups": { diff --git a/discovery/googleapis/healthcare__v1.json b/discovery/googleapis/healthcare__v1.json index aa6f3d621..0b9404b61 100644 --- a/discovery/googleapis/healthcare__v1.json +++ b/discovery/googleapis/healthcare__v1.json @@ -3211,7 +3211,7 @@ ] }, "search": { - "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` will contain pagination links. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](/healthcare/docs/how-tos/fhir-advanced-search).", + "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](/healthcare/docs/how-tos/fhir-advanced-search).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/_search", "httpMethod": "POST", "id": "healthcare.projects.locations.datasets.fhirStores.fhir.search", @@ -3239,7 +3239,7 @@ ] }, "search-type": { - "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` will contain pagination links. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](/healthcare/docs/how-tos/fhir-advanced-search).", + "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](/healthcare/docs/how-tos/fhir-advanced-search).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{resourceType}/_search", "httpMethod": "POST", "id": "healthcare.projects.locations.datasets.fhirStores.fhir.search-type", @@ -3918,7 +3918,7 @@ } } }, - "revision": "20210712", + "revision": "20210806", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { diff --git a/discovery/googleapis/homegraph__v1.json b/discovery/googleapis/homegraph__v1.json index da9b304dd..b2cc02564 100644 --- a/discovery/googleapis/homegraph__v1.json +++ b/discovery/googleapis/homegraph__v1.json @@ -214,7 +214,7 @@ } } }, - "revision": "20210720", + "revision": "20210826", "rootUrl": "https://homegraph.googleapis.com/", "schemas": { "AgentDeviceId": { diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json index ecd01073c..6b0324e5f 100644 --- a/discovery/googleapis/iam__v1.json +++ b/discovery/googleapis/iam__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1481,6 +1481,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "disable": { + "description": "Disable a ServiceAccountKey. A disabled service account key can be enabled through EnableServiceAccountKey. The API is currently in preview phase.", + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}:disable", + "httpMethod": "POST", + "id": "iam.projects.serviceAccounts.keys.disable", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "location": "path", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:disable", + "request": { + "$ref": "DisableServiceAccountKeyRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "enable": { + "description": "Enable a ServiceAccountKey. The API is currently in preview phase.", + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}:enable", + "httpMethod": "POST", + "id": "iam.projects.serviceAccounts.keys.enable", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "location": "path", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:enable", + "request": { + "$ref": "EnableServiceAccountKeyRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets a ServiceAccountKey.", "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}", @@ -1694,7 +1750,7 @@ } } }, - "revision": "20210714", + "revision": "20210825", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AdminAuditData": { @@ -1909,6 +1965,12 @@ }, "type": "object" }, + "DisableServiceAccountKeyRequest": { + "description": "The service account key disable request.", + "id": "DisableServiceAccountKeyRequest", + "properties": {}, + "type": "object" + }, "DisableServiceAccountRequest": { "description": "The service account disable request.", "id": "DisableServiceAccountRequest", @@ -1921,6 +1983,12 @@ "properties": {}, "type": "object" }, + "EnableServiceAccountKeyRequest": { + "description": "The service account key enable request.", + "id": "EnableServiceAccountKeyRequest", + "properties": {}, + "type": "object" + }, "EnableServiceAccountRequest": { "description": "The service account enable request.", "id": "EnableServiceAccountRequest", @@ -2270,7 +2338,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2534,6 +2602,10 @@ "description": "Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. If you cache the public key set for a service account, we recommend that you update the cache every 15 minutes. User-managed keys can be added and removed at any time, so it is important to update the cache frequently. For Google-managed keys, Google will publish a key at least 6 hours before it is first used for signing and will keep publishing it for at least 6 hours after it was last used for signing. Public keys for all service accounts are also published at the OAuth2 Service Account API.", "id": "ServiceAccountKey", "properties": { + "disabled": { + "description": "The key status.", + "type": "boolean" + }, "keyAlgorithm": { "description": "Specifies the algorithm (and possibly key size) for the key.", "enum": [ @@ -2666,7 +2738,7 @@ "id": "SignJwtRequest", "properties": { "payload": { - "description": "Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The JWT payload to sign. Must be a serialized JSON object that contains a JWT Claims Set. For example: `{\"sub\": \"user@example.com\", \"iat\": 313435}` If the JWT Claims Set contains an expiration time (`exp`) claim, it must be an integer timestamp that is not in the past and no more than 1 hour in the future. If the JWT Claims Set does not contain an expiration time (`exp`) claim, this claim is added automatically, with a timestamp that is 1 hour in the future.", + "description": "Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The JWT payload to sign. Must be a serialized JSON object that contains a JWT Claims Set. For example: `{\"sub\": \"user@example.com\", \"iat\": 313435}` If the JWT Claims Set contains an expiration time (`exp`) claim, it must be an integer timestamp that is not in the past and no more than 12 hours in the future. If the JWT Claims Set does not contain an expiration time (`exp`) claim, this claim is added automatically, with a timestamp that is 1 hour in the future.", "type": "string" } }, diff --git a/discovery/googleapis/iamcredentials__v1.json b/discovery/googleapis/iamcredentials__v1.json index 678751b25..cb21561f9 100644 --- a/discovery/googleapis/iamcredentials__v1.json +++ b/discovery/googleapis/iamcredentials__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -224,7 +224,7 @@ } } }, - "revision": "20210716", + "revision": "20210826", "rootUrl": "https://iamcredentials.googleapis.com/", "schemas": { "GenerateAccessTokenRequest": { diff --git a/discovery/googleapis/iap__v1.json b/discovery/googleapis/iap__v1.json index 28159b1f7..f18b91e8e 100644 --- a/discovery/googleapis/iap__v1.json +++ b/discovery/googleapis/iap__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -485,7 +485,7 @@ } } }, - "revision": "20210716", + "revision": "20210820", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -768,7 +768,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis/indexing__v3.json b/discovery/googleapis/indexing__v3.json index 91ecb031f..5d61a40ae 100644 --- a/discovery/googleapis/indexing__v3.json +++ b/discovery/googleapis/indexing__v3.json @@ -147,7 +147,7 @@ } } }, - "revision": "20210713", + "revision": "20210831", "rootUrl": "https://indexing.googleapis.com/", "schemas": { "PublishUrlNotificationResponse": { diff --git a/discovery/googleapis/jobs__v3.json b/discovery/googleapis/jobs__v3.json index e36cb36bc..e95263dd3 100644 --- a/discovery/googleapis/jobs__v3.json +++ b/discovery/googleapis/jobs__v3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/jobs": { "description": "Manage job postings" @@ -506,7 +506,7 @@ ], "parameters": { "filter": { - "description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query: * companyName = \"projects/api-test-project/companies/123\" * companyName = \"projects/api-test-project/companies/123\" AND requisitionId = \"req-1\"", + "description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` * `requisitionId` * `status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT error is thrown. Sample Query: * companyName = \"projects/api-test-project/companies/123\" * companyName = \"projects/api-test-project/companies/123\" AND requisitionId = \"req-1\" * companyName = \"projects/api-test-project/companies/123\" AND status = \"EXPIRED\" * requisitionId = \"req-1\" * requisitionId = \"req-1\" AND status = \"EXPIRED\"", "location": "query", "type": "string" }, @@ -649,7 +649,7 @@ } } }, - "revision": "20210715", + "revision": "20210830", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { diff --git a/discovery/googleapis/jobs__v4.json b/discovery/googleapis/jobs__v4.json index 070896c81..7a508d069 100644 --- a/discovery/googleapis/jobs__v4.json +++ b/discovery/googleapis/jobs__v4.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/jobs": { "description": "Manage job postings" @@ -750,7 +750,7 @@ ], "parameters": { "filter": { - "description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` * `status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. Sample Query: * companyName = \"projects/foo/tenants/bar/companies/baz\" * companyName = \"projects/foo/tenants/bar/companies/baz\" AND requisitionId = \"req-1\" * companyName = \"projects/foo/tenants/bar/companies/baz\" AND status = \"EXPIRED\"", + "description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` * `requisitionId` * `status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT error is thrown. Sample Query: * companyName = \"projects/foo/tenants/bar/companies/baz\" * companyName = \"projects/foo/tenants/bar/companies/baz\" AND requisitionId = \"req-1\" * companyName = \"projects/foo/tenants/bar/companies/baz\" AND status = \"EXPIRED\" * requisitionId = \"req-1\" * requisitionId = \"req-1\" AND status = \"EXPIRED\"", "location": "query", "type": "string" }, @@ -901,7 +901,7 @@ } } }, - "revision": "20210715", + "revision": "20210830", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { @@ -1122,12 +1122,18 @@ "enum": [ "COMMUTE_METHOD_UNSPECIFIED", "DRIVING", - "TRANSIT" + "TRANSIT", + "WALKING", + "CYCLING", + "TRANSIT_ACCESSIBLE" ], "enumDescriptions": [ "Commute method isn't specified.", "Commute time is calculated based on driving time.", - "Commute time is calculated based on public transit including bus, metro, subway, and so on." + "Commute time is calculated based on public transit including bus, metro, subway, and so on.", + "Commute time is calculated based on walking time.", + "Commute time is calculated based on biking time.", + "Commute time is calculated based on public transit that is wheelchair accessible." ], "type": "string" }, @@ -1551,7 +1557,7 @@ "type": "string" }, "rankingExpression": { - "description": "Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number. Parenthesis are supported to adjust calculation precedence. The expression must be < 100 characters in length. The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results. Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)", + "description": "Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number. Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length. The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results. Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)", "type": "string" } }, @@ -2724,7 +2730,7 @@ "description": "Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm)." }, "disableKeywordMatch": { - "description": "Controls whether to disable exact keyword match on Job.title, Job.description, Job.company_display_name, Job.addresses, Job.qualifications. When disable keyword match is turned off, a keyword match returns jobs that do not match given category filters when there are matching keywords. For example, for the query \"program manager,\" a result is returned even if the job posting has the title \"software developer,\" which doesn't fall into \"program manager\" ontology, but does have \"program manager\" appearing in its description. For queries like \"cloud\" that don't contain title or location specific ontology, jobs with \"cloud\" keyword matches are returned regardless of this flag's value. Use Company.keyword_searchable_job_custom_attributes if company-specific globally matched custom field/attribute string values are needed. Enabling keyword match improves recall of subsequent search requests. Defaults to false.", + "description": "This field is deprecated. Please use SearchJobsRequest.keyword_match_mode going forward. To migrate, disable_keyword_match set to false maps to KeywordMatchMode.KEYWORD_MATCH_ALL, and disable_keyword_match set to true maps to KeywordMatchMode.KEYWORD_MATCH_DISABLED. If SearchJobsRequest.keyword_match_mode is set, this field is ignored. Controls whether to disable exact keyword match on Job.title, Job.description, Job.company_display_name, Job.addresses, Job.qualifications. When disable keyword match is turned off, a keyword match returns jobs that do not match given category filters when there are matching keywords. For example, for the query \"program manager,\" a result is returned even if the job posting has the title \"software developer,\" which doesn't fall into \"program manager\" ontology, but does have \"program manager\" appearing in its description. For queries like \"cloud\" that don't contain title or location specific ontology, jobs with \"cloud\" keyword matches are returned regardless of this flag's value. Use Company.keyword_searchable_job_custom_attributes if company-specific globally matched custom field/attribute string values are needed. Enabling keyword match improves recall of subsequent search requests. Defaults to false.", "type": "boolean" }, "diversificationLevel": { @@ -2732,12 +2738,18 @@ "enum": [ "DIVERSIFICATION_LEVEL_UNSPECIFIED", "DISABLED", - "SIMPLE" + "SIMPLE", + "ONE_PER_COMPANY", + "TWO_PER_COMPANY", + "DIVERSIFY_BY_LOOSER_SIMILARITY" ], "enumDescriptions": [ "The diversification level isn't specified.", "Disables diversification. Jobs that would normally be pushed to the last page would not have their positions altered. This may result in highly similar jobs appearing in sequence in the search results.", - "Default diversifying behavior. The result list is ordered so that highly similar results are pushed to the end of the last page of search results. If you are using pageToken to page through the result set, latency might be lower but we can't guarantee that all results are returned. If you are using page offset, latency might be higher but all results are returned." + "Default diversifying behavior. The result list is ordered so that highly similar results are pushed to the end of the last page of search results.", + "Only one job from the same company will be shown at once, other jobs under same company are pushed to the end of the last page of search result.", + "Similar to ONE_PER_COMPANY, but it allows at most two jobs in the same company to be shown at once, the other jobs under same company are pushed to the end of the last page of search result.", + "The result list is ordered such that somewhat similar results are pushed to the end of the last page of the search results. This option is recommended if SIMPLE diversification does not diversify enough." ], "type": "string" }, @@ -2774,6 +2786,22 @@ ], "type": "string" }, + "keywordMatchMode": { + "description": "Controls what keyword match options to use. If both keyword_match_mode and disable_keyword_match are set, keyword_match_mode will take precedence. Defaults to KeywordMatchMode.KEYWORD_MATCH_ALL if no value is specified.", + "enum": [ + "KEYWORD_MATCH_MODE_UNSPECIFIED", + "KEYWORD_MATCH_DISABLED", + "KEYWORD_MATCH_ALL", + "KEYWORD_MATCH_TITLE_ONLY" + ], + "enumDescriptions": [ + "The keyword match option isn't specified. Defaults to KeywordMatchMode.KEYWORD_MATCH_ALL behavior.", + "Disables keyword matching.", + "Enable keyword matching over Job.title, Job.description, Job.company_display_name, Job.addresses, Job.qualifications, and keyword searchable Job.custom_attributes fields.", + "Only enable keyword matching over Job.title." + ], + "type": "string" + }, "maxPageSize": { "description": "A limit on the number of jobs returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.", "format": "int32", diff --git a/discovery/googleapis/keep__v1.json b/discovery/googleapis/keep__v1.json index d29084e5f..df8cd835e 100644 --- a/discovery/googleapis/keep__v1.json +++ b/discovery/googleapis/keep__v1.json @@ -312,7 +312,7 @@ } } }, - "revision": "20210713", + "revision": "20210831", "rootUrl": "https://keep.googleapis.com/", "schemas": { "Attachment": { diff --git a/discovery/googleapis/kgsearch__v1.json b/discovery/googleapis/kgsearch__v1.json index 66113d4fe..b14bcbcab 100644 --- a/discovery/googleapis/kgsearch__v1.json +++ b/discovery/googleapis/kgsearch__v1.json @@ -150,7 +150,7 @@ } } }, - "revision": "20210610", + "revision": "20210827", "rootUrl": "https://kgsearch.googleapis.com/", "schemas": { "SearchResponse": { diff --git a/discovery/googleapis/language__v1.json b/discovery/googleapis/language__v1.json index 3bdfdaf63..84594b7a9 100644 --- a/discovery/googleapis/language__v1.json +++ b/discovery/googleapis/language__v1.json @@ -6,7 +6,7 @@ "description": "Apply machine learning models to reveal the structure and meaning of text" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -225,7 +225,7 @@ } } }, - "revision": "20210709", + "revision": "20210827", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/discovery/googleapis/libraryagent__v1.json b/discovery/googleapis/libraryagent__v1.json index d5072f0a7..2dab79e42 100644 --- a/discovery/googleapis/libraryagent__v1.json +++ b/discovery/googleapis/libraryagent__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -277,7 +277,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://libraryagent.googleapis.com/", "schemas": { "GoogleExampleLibraryagentV1Book": { diff --git a/discovery/googleapis/licensing__v1.json b/discovery/googleapis/licensing__v1.json index 1a1b459d5..bdb6988f1 100644 --- a/discovery/googleapis/licensing__v1.json +++ b/discovery/googleapis/licensing__v1.json @@ -398,7 +398,7 @@ } } }, - "revision": "20210715", + "revision": "20210904", "rootUrl": "https://licensing.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/googleapis/localservices__v1.json b/discovery/googleapis/localservices__v1.json index 45c592b61..709f71d0b 100644 --- a/discovery/googleapis/localservices__v1.json +++ b/discovery/googleapis/localservices__v1.json @@ -248,7 +248,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://localservices.googleapis.com/", "schemas": { "GoogleAdsHomeservicesLocalservicesV1AccountReport": { diff --git a/discovery/googleapis/logging__v2.json b/discovery/googleapis/logging__v2.json index b7c657f64..a817de5d6 100644 --- a/discovery/googleapis/logging__v2.json +++ b/discovery/googleapis/logging__v2.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/logging.admin": { "description": "Administrate log data for your projects" @@ -120,7 +120,7 @@ "buckets": { "methods": { "get": { - "description": "Gets a bucket.", + "description": "Gets a log bucket.", "flatPath": "v2/billingAccounts/{billingAccountsId}/buckets/{bucketsId}", "httpMethod": "GET", "id": "logging.billingAccounts.buckets.get", @@ -129,7 +129,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^billingAccounts/[^/]+/buckets/[^/]+$", "required": true, @@ -152,7 +152,7 @@ "views": { "methods": { "get": { - "description": "Gets a view.", + "description": "Gets a view on a log bucket..", "flatPath": "v2/billingAccounts/{billingAccountsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "GET", "id": "logging.billingAccounts.buckets.views.get", @@ -161,7 +161,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^billingAccounts/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -195,7 +195,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", "location": "path", "pattern": "^billingAccounts/[^/]+$", "required": true, @@ -224,7 +224,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$", "required": true, @@ -250,7 +250,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$", "required": true, @@ -317,7 +317,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$", "required": true, @@ -423,7 +423,7 @@ "buckets": { "methods": { "create": { - "description": "Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.", + "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets", "httpMethod": "POST", "id": "logging.billingAccounts.locations.buckets.create", @@ -437,7 +437,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource in which to create the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" Example: \"projects/my-logging-project/locations/global\"", + "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+$", "required": true, @@ -457,7 +457,7 @@ ] }, "delete": { - "description": "Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.", + "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "DELETE", "id": "logging.billingAccounts.locations.buckets.delete", @@ -466,7 +466,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -483,7 +483,7 @@ ] }, "list": { - "description": "Lists buckets.", + "description": "Lists log buckets.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets", "httpMethod": "GET", "id": "logging.billingAccounts.locations.buckets.list", @@ -522,7 +522,7 @@ ] }, "patch": { - "description": "Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.A buckets region may not be modified after it is created.", + "description": "Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "PATCH", "id": "logging.billingAccounts.locations.buckets.patch", @@ -531,14 +531,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\". Also requires permission \"resourcemanager.projects.updateLiens\" to set the locked property", + "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.", + "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", "format": "google-fieldmask", "location": "query", "type": "string" @@ -557,7 +557,7 @@ ] }, "undelete": { - "description": "Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.", + "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}:undelete", "httpMethod": "POST", "id": "logging.billingAccounts.locations.buckets.undelete", @@ -566,7 +566,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -590,7 +590,7 @@ "views": { "methods": { "create": { - "description": "Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.", + "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "POST", "id": "logging.billingAccounts.locations.buckets.views.create", @@ -599,7 +599,7 @@ ], "parameters": { "parent": { - "description": "Required. The bucket in which to create the view \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-logging-project/locations/my-location/buckets/my-bucket\"", + "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -624,7 +624,7 @@ ] }, "delete": { - "description": "Deletes a view from a bucket.", + "description": "Deletes a view on a log bucket.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "DELETE", "id": "logging.billingAccounts.locations.buckets.views.delete", @@ -633,7 +633,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -650,7 +650,7 @@ ] }, "list": { - "description": "Lists views on a bucket.", + "description": "Lists views on a log bucket.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "GET", "id": "logging.billingAccounts.locations.buckets.views.list", @@ -659,7 +659,7 @@ ], "parameters": { "pageSize": { - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "location": "query", "type": "integer" @@ -689,7 +689,7 @@ ] }, "patch": { - "description": "Updates a view. This method replaces the following fields in the existing view with values from the new view: filter.", + "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.billingAccounts.locations.buckets.views.patch", @@ -698,14 +698,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -925,14 +925,14 @@ ], "parameters": { "parent": { - "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", "location": "path", "pattern": "^billingAccounts/[^/]+$", "required": true, "type": "string" }, "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", "location": "query", "type": "boolean" } @@ -959,7 +959,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", "required": true, @@ -985,7 +985,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", "required": true, @@ -1052,7 +1052,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", "required": true, @@ -1064,7 +1064,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1092,7 +1092,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", "required": true, @@ -1104,7 +1104,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1129,7 +1129,7 @@ "entries": { "methods": { "copy": { - "description": "Copies a set of log entries from a logging bucket to a Cloud Storage bucket.", + "description": "Copies a set of log entries from a log bucket to a Cloud Storage bucket.", "flatPath": "v2/entries:copy", "httpMethod": "POST", "id": "logging.entries.copy", @@ -1223,7 +1223,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", "location": "path", "pattern": "^[^/]+/[^/]+$", "required": true, @@ -1252,7 +1252,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^[^/]+/[^/]+/exclusions/[^/]+$", "required": true, @@ -1278,7 +1278,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^[^/]+/[^/]+/exclusions/[^/]+$", "required": true, @@ -1345,7 +1345,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^[^/]+/[^/]+/exclusions/[^/]+$", "required": true, @@ -1386,7 +1386,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -1415,7 +1415,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^folders/[^/]+/exclusions/[^/]+$", "required": true, @@ -1441,7 +1441,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^folders/[^/]+/exclusions/[^/]+$", "required": true, @@ -1508,7 +1508,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^folders/[^/]+/exclusions/[^/]+$", "required": true, @@ -1614,7 +1614,7 @@ "buckets": { "methods": { "create": { - "description": "Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.", + "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets", "httpMethod": "POST", "id": "logging.folders.locations.buckets.create", @@ -1628,7 +1628,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource in which to create the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" Example: \"projects/my-logging-project/locations/global\"", + "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, @@ -1648,7 +1648,7 @@ ] }, "delete": { - "description": "Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.", + "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "DELETE", "id": "logging.folders.locations.buckets.delete", @@ -1657,7 +1657,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -1674,7 +1674,7 @@ ] }, "get": { - "description": "Gets a bucket.", + "description": "Gets a log bucket.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "GET", "id": "logging.folders.locations.buckets.get", @@ -1683,7 +1683,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -1702,7 +1702,7 @@ ] }, "list": { - "description": "Lists buckets.", + "description": "Lists log buckets.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets", "httpMethod": "GET", "id": "logging.folders.locations.buckets.list", @@ -1741,7 +1741,7 @@ ] }, "patch": { - "description": "Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.A buckets region may not be modified after it is created.", + "description": "Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "PATCH", "id": "logging.folders.locations.buckets.patch", @@ -1750,14 +1750,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\". Also requires permission \"resourcemanager.projects.updateLiens\" to set the locked property", + "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.", + "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1776,7 +1776,7 @@ ] }, "undelete": { - "description": "Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.", + "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}:undelete", "httpMethod": "POST", "id": "logging.folders.locations.buckets.undelete", @@ -1785,7 +1785,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -1809,7 +1809,7 @@ "views": { "methods": { "create": { - "description": "Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.", + "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "POST", "id": "logging.folders.locations.buckets.views.create", @@ -1818,7 +1818,7 @@ ], "parameters": { "parent": { - "description": "Required. The bucket in which to create the view \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-logging-project/locations/my-location/buckets/my-bucket\"", + "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -1843,7 +1843,7 @@ ] }, "delete": { - "description": "Deletes a view from a bucket.", + "description": "Deletes a view on a log bucket.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "DELETE", "id": "logging.folders.locations.buckets.views.delete", @@ -1852,7 +1852,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -1869,7 +1869,7 @@ ] }, "get": { - "description": "Gets a view.", + "description": "Gets a view on a log bucket..", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "GET", "id": "logging.folders.locations.buckets.views.get", @@ -1878,7 +1878,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -1897,7 +1897,7 @@ ] }, "list": { - "description": "Lists views on a bucket.", + "description": "Lists views on a log bucket.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "GET", "id": "logging.folders.locations.buckets.views.list", @@ -1906,7 +1906,7 @@ ], "parameters": { "pageSize": { - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "location": "query", "type": "integer" @@ -1936,7 +1936,7 @@ ] }, "patch": { - "description": "Updates a view. This method replaces the following fields in the existing view with values from the new view: filter.", + "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.folders.locations.buckets.views.patch", @@ -1945,14 +1945,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2168,14 +2168,14 @@ ], "parameters": { "parent": { - "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", "location": "path", "pattern": "^folders/[^/]+$", "required": true, "type": "string" }, "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", "location": "query", "type": "boolean" } @@ -2202,7 +2202,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^folders/[^/]+/sinks/[^/]+$", "required": true, @@ -2228,7 +2228,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^folders/[^/]+/sinks/[^/]+$", "required": true, @@ -2295,7 +2295,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^folders/[^/]+/sinks/[^/]+$", "required": true, @@ -2307,7 +2307,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2335,7 +2335,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^folders/[^/]+/sinks/[^/]+$", "required": true, @@ -2347,7 +2347,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2448,7 +2448,7 @@ "buckets": { "methods": { "create": { - "description": "Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.", + "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets", "httpMethod": "POST", "id": "logging.locations.buckets.create", @@ -2462,7 +2462,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource in which to create the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" Example: \"projects/my-logging-project/locations/global\"", + "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+$", "required": true, @@ -2482,7 +2482,7 @@ ] }, "delete": { - "description": "Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.", + "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "DELETE", "id": "logging.locations.buckets.delete", @@ -2491,7 +2491,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -2508,7 +2508,7 @@ ] }, "get": { - "description": "Gets a bucket.", + "description": "Gets a log bucket.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "GET", "id": "logging.locations.buckets.get", @@ -2517,7 +2517,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -2536,7 +2536,7 @@ ] }, "list": { - "description": "Lists buckets.", + "description": "Lists log buckets.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets", "httpMethod": "GET", "id": "logging.locations.buckets.list", @@ -2575,7 +2575,7 @@ ] }, "patch": { - "description": "Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.A buckets region may not be modified after it is created.", + "description": "Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "PATCH", "id": "logging.locations.buckets.patch", @@ -2584,14 +2584,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\". Also requires permission \"resourcemanager.projects.updateLiens\" to set the locked property", + "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.", + "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2610,7 +2610,7 @@ ] }, "undelete": { - "description": "Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.", + "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}:undelete", "httpMethod": "POST", "id": "logging.locations.buckets.undelete", @@ -2619,7 +2619,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -2643,7 +2643,7 @@ "views": { "methods": { "create": { - "description": "Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.", + "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "POST", "id": "logging.locations.buckets.views.create", @@ -2652,7 +2652,7 @@ ], "parameters": { "parent": { - "description": "Required. The bucket in which to create the view \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-logging-project/locations/my-location/buckets/my-bucket\"", + "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -2677,7 +2677,7 @@ ] }, "delete": { - "description": "Deletes a view from a bucket.", + "description": "Deletes a view on a log bucket.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "DELETE", "id": "logging.locations.buckets.views.delete", @@ -2686,7 +2686,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -2703,7 +2703,7 @@ ] }, "get": { - "description": "Gets a view.", + "description": "Gets a view on a log bucket..", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "GET", "id": "logging.locations.buckets.views.get", @@ -2712,7 +2712,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -2731,7 +2731,7 @@ ] }, "list": { - "description": "Lists views on a bucket.", + "description": "Lists views on a log bucket.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "GET", "id": "logging.locations.buckets.views.list", @@ -2740,7 +2740,7 @@ ], "parameters": { "pageSize": { - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "location": "query", "type": "integer" @@ -2770,7 +2770,7 @@ ] }, "patch": { - "description": "Updates a view. This method replaces the following fields in the existing view with values from the new view: filter.", + "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.locations.buckets.views.patch", @@ -2779,14 +2779,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3036,7 +3036,7 @@ ], "parameters": { "name": { - "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" Example: \"organizations/12345/cmekSettings\".Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", + "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -3064,14 +3064,14 @@ ], "parameters": { "name": { - "description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" Example: \"organizations/12345/cmekSettings\".Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", + "description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.Example: \"updateMask=kmsKeyName\"", + "description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3103,7 +3103,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -3132,7 +3132,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^organizations/[^/]+/exclusions/[^/]+$", "required": true, @@ -3158,7 +3158,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^organizations/[^/]+/exclusions/[^/]+$", "required": true, @@ -3225,7 +3225,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^organizations/[^/]+/exclusions/[^/]+$", "required": true, @@ -3331,7 +3331,7 @@ "buckets": { "methods": { "create": { - "description": "Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.", + "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets", "httpMethod": "POST", "id": "logging.organizations.locations.buckets.create", @@ -3345,7 +3345,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource in which to create the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" Example: \"projects/my-logging-project/locations/global\"", + "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -3365,7 +3365,7 @@ ] }, "delete": { - "description": "Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.", + "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "DELETE", "id": "logging.organizations.locations.buckets.delete", @@ -3374,7 +3374,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -3391,7 +3391,7 @@ ] }, "get": { - "description": "Gets a bucket.", + "description": "Gets a log bucket.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "GET", "id": "logging.organizations.locations.buckets.get", @@ -3400,7 +3400,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -3419,7 +3419,7 @@ ] }, "list": { - "description": "Lists buckets.", + "description": "Lists log buckets.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets", "httpMethod": "GET", "id": "logging.organizations.locations.buckets.list", @@ -3458,7 +3458,7 @@ ] }, "patch": { - "description": "Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.A buckets region may not be modified after it is created.", + "description": "Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "PATCH", "id": "logging.organizations.locations.buckets.patch", @@ -3467,14 +3467,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\". Also requires permission \"resourcemanager.projects.updateLiens\" to set the locked property", + "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.", + "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3493,7 +3493,7 @@ ] }, "undelete": { - "description": "Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.", + "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}:undelete", "httpMethod": "POST", "id": "logging.organizations.locations.buckets.undelete", @@ -3502,7 +3502,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -3526,7 +3526,7 @@ "views": { "methods": { "create": { - "description": "Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.", + "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "POST", "id": "logging.organizations.locations.buckets.views.create", @@ -3535,7 +3535,7 @@ ], "parameters": { "parent": { - "description": "Required. The bucket in which to create the view \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-logging-project/locations/my-location/buckets/my-bucket\"", + "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -3560,7 +3560,7 @@ ] }, "delete": { - "description": "Deletes a view from a bucket.", + "description": "Deletes a view on a log bucket.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "DELETE", "id": "logging.organizations.locations.buckets.views.delete", @@ -3569,7 +3569,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -3586,7 +3586,7 @@ ] }, "get": { - "description": "Gets a view.", + "description": "Gets a view on a log bucket..", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "GET", "id": "logging.organizations.locations.buckets.views.get", @@ -3595,7 +3595,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -3614,7 +3614,7 @@ ] }, "list": { - "description": "Lists views on a bucket.", + "description": "Lists views on a log bucket.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "GET", "id": "logging.organizations.locations.buckets.views.list", @@ -3623,7 +3623,7 @@ ], "parameters": { "pageSize": { - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "location": "query", "type": "integer" @@ -3653,7 +3653,7 @@ ] }, "patch": { - "description": "Updates a view. This method replaces the following fields in the existing view with values from the new view: filter.", + "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.organizations.locations.buckets.views.patch", @@ -3662,14 +3662,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3885,14 +3885,14 @@ ], "parameters": { "parent": { - "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, "type": "string" }, "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", "location": "query", "type": "boolean" } @@ -3919,7 +3919,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^organizations/[^/]+/sinks/[^/]+$", "required": true, @@ -3945,7 +3945,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^organizations/[^/]+/sinks/[^/]+$", "required": true, @@ -4012,7 +4012,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^organizations/[^/]+/sinks/[^/]+$", "required": true, @@ -4024,7 +4024,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4052,7 +4052,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^organizations/[^/]+/sinks/[^/]+$", "required": true, @@ -4064,7 +4064,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4100,7 +4100,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -4129,7 +4129,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^projects/[^/]+/exclusions/[^/]+$", "required": true, @@ -4155,7 +4155,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^projects/[^/]+/exclusions/[^/]+$", "required": true, @@ -4222,7 +4222,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" Example: \"projects/my-project-id/exclusions/my-exclusion-id\".", + "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", "location": "path", "pattern": "^projects/[^/]+/exclusions/[^/]+$", "required": true, @@ -4328,7 +4328,7 @@ "buckets": { "methods": { "create": { - "description": "Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.", + "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets", "httpMethod": "POST", "id": "logging.projects.locations.buckets.create", @@ -4342,7 +4342,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource in which to create the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" Example: \"projects/my-logging-project/locations/global\"", + "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -4362,7 +4362,7 @@ ] }, "delete": { - "description": "Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.", + "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "DELETE", "id": "logging.projects.locations.buckets.delete", @@ -4371,7 +4371,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -4388,7 +4388,7 @@ ] }, "get": { - "description": "Gets a bucket.", + "description": "Gets a log bucket.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "GET", "id": "logging.projects.locations.buckets.get", @@ -4397,7 +4397,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -4416,7 +4416,7 @@ ] }, "list": { - "description": "Lists buckets.", + "description": "Lists log buckets.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets", "httpMethod": "GET", "id": "logging.projects.locations.buckets.list", @@ -4455,7 +4455,7 @@ ] }, "patch": { - "description": "Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.A buckets region may not be modified after it is created.", + "description": "Updates a log bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", "httpMethod": "PATCH", "id": "logging.projects.locations.buckets.patch", @@ -4464,14 +4464,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\". Also requires permission \"resourcemanager.projects.updateLiens\" to set the locked property", + "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.", + "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4490,7 +4490,7 @@ ] }, "undelete": { - "description": "Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.", + "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}:undelete", "httpMethod": "POST", "id": "logging.projects.locations.buckets.undelete", @@ -4499,7 +4499,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\".", + "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -4523,7 +4523,7 @@ "views": { "methods": { "create": { - "description": "Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.", + "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "POST", "id": "logging.projects.locations.buckets.views.create", @@ -4532,7 +4532,7 @@ ], "parameters": { "parent": { - "description": "Required. The bucket in which to create the view \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" Example: \"projects/my-logging-project/locations/my-location/buckets/my-bucket\"", + "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", "required": true, @@ -4557,7 +4557,7 @@ ] }, "delete": { - "description": "Deletes a view from a bucket.", + "description": "Deletes a view on a log bucket.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "DELETE", "id": "logging.projects.locations.buckets.views.delete", @@ -4566,7 +4566,7 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -4583,7 +4583,7 @@ ] }, "get": { - "description": "Gets a view.", + "description": "Gets a view on a log bucket..", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "GET", "id": "logging.projects.locations.buckets.views.get", @@ -4592,7 +4592,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, @@ -4611,7 +4611,7 @@ ] }, "list": { - "description": "Lists views on a bucket.", + "description": "Lists views on a log bucket.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views", "httpMethod": "GET", "id": "logging.projects.locations.buckets.views.list", @@ -4620,7 +4620,7 @@ ], "parameters": { "pageSize": { - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "location": "query", "type": "integer" @@ -4650,7 +4650,7 @@ ] }, "patch": { - "description": "Updates a view. This method replaces the following fields in the existing view with values from the new view: filter.", + "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.projects.locations.buckets.views.patch", @@ -4659,14 +4659,14 @@ ], "parameters": { "name": { - "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" Example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id\".", + "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5040,14 +5040,14 @@ ], "parameters": { "parent": { - "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", "location": "path", "pattern": "^projects/[^/]+$", "required": true, "type": "string" }, "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", "location": "query", "type": "boolean" } @@ -5074,7 +5074,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^projects/[^/]+/sinks/[^/]+$", "required": true, @@ -5100,7 +5100,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^projects/[^/]+/sinks/[^/]+$", "required": true, @@ -5167,7 +5167,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^projects/[^/]+/sinks/[^/]+$", "required": true, @@ -5179,7 +5179,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5207,7 +5207,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^projects/[^/]+/sinks/[^/]+$", "required": true, @@ -5219,7 +5219,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5253,14 +5253,14 @@ ], "parameters": { "parent": { - "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" Examples: \"projects/my-logging-project\", \"organizations/123456789\".", + "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", "location": "path", "pattern": "^[^/]+/[^/]+$", "required": true, "type": "string" }, "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", "location": "query", "type": "boolean" } @@ -5287,7 +5287,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^[^/]+/[^/]+/sinks/[^/]+$", "required": true, @@ -5313,7 +5313,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^[^/]+/[^/]+/sinks/[^/]+$", "required": true, @@ -5380,7 +5380,7 @@ ], "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" Example: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", "location": "path", "pattern": "^[^/]+/[^/]+/sinks/[^/]+$", "required": true, @@ -5392,7 +5392,7 @@ "type": "boolean" }, "updateMask": { - "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.", + "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5424,7 +5424,7 @@ ], "parameters": { "name": { - "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" Example: \"organizations/12345/cmekSettings\".Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", + "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", "location": "path", "pattern": "^[^/]+/[^/]+$", "required": true, @@ -5452,14 +5452,14 @@ ], "parameters": { "name": { - "description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" Example: \"organizations/12345/cmekSettings\".Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", + "description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.", "location": "path", "pattern": "^[^/]+/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.Example: \"updateMask=kmsKeyName\"", + "description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5480,7 +5480,7 @@ } } }, - "revision": "20210714", + "revision": "20210819", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryOptions": { @@ -5488,11 +5488,11 @@ "id": "BigQueryOptions", "properties": { "usePartitionedTables": { - "description": "Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.", + "description": "Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.", "type": "boolean" }, "usesTimestampColumnPartitioning": { - "description": "Output only. True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use. All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.", + "description": "Output only. True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.", "readOnly": true, "type": "boolean" } @@ -5529,7 +5529,7 @@ "id": "CmekSettings", "properties": { "kmsKeyName": { - "description": "The resource name for the configured Cloud KMS key.KMS key name format: \"projects/PROJECT_ID/locations/LOCATION/keyRings/KEYRING/cryptoKeys/KEY\"For example: \"projects/my-project-id/locations/my-region/keyRings/key-ring-name/cryptoKeys/key-name\"To enable CMEK for the Logs Router, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Logs Router, set this field to an empty string.See Enabling CMEK for Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + "description": "The resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"To enable CMEK for the Logs Router, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Logs Router, set this field to an empty string.See Enabling CMEK for Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", "type": "string" }, "name": { @@ -5595,7 +5595,7 @@ "type": "string" }, "writerIdentity": { - "description": "The IAM identity of a service account that must be granted access to the destination. If the service account is not granted permission to the destination within an hour, the operation will be cancelled. Example: \"serviceAccount:foo@bar.com\"", + "description": "The IAM identity of a service account that must be granted access to the destination.If the service account is not granted permission to the destination within an hour, the operation will be cancelled.For example: \"serviceAccount:foo@bar.com\"", "type": "string" } }, @@ -5606,7 +5606,7 @@ "id": "CopyLogEntriesRequest", "properties": { "destination": { - "description": "Required. Destination to which to copy logs.", + "description": "Required. Destination to which to copy log entries.", "type": "string" }, "filter": { @@ -5614,7 +5614,7 @@ "type": "string" }, "name": { - "description": "Required. Bucket from which to copy logs. e.g. \"projects/my-project/locations/my-location/buckets/my-source-bucket", + "description": "Required. Log bucket from which to copy log entries.For example:\"projects/my-project/locations/global/buckets/my-source-bucket\"", "type": "string" } }, @@ -6051,7 +6051,7 @@ "type": "object" }, "LogBucket": { - "description": "Describes a repository of logs.", + "description": "Describes a repository in which log entries are stored.", "id": "LogBucket", "properties": { "createTime": { @@ -6080,16 +6080,16 @@ "type": "string" }, "locked": { - "description": "Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.", + "description": "Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.", "type": "boolean" }, "name": { - "description": "Output only. The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id\" The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.", + "description": "Output only. The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.", "readOnly": true, "type": "string" }, "restrictedFields": { - "description": "Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation. Restricting a repeated field will restrict all values. Adding a parent will block all child fields e.g. foo.bar will block foo.bar.baz.", + "description": "Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)", "items": { "type": "string" }, @@ -6265,7 +6265,7 @@ "type": "object" }, "LogExclusion": { - "description": "Specifies a set of log entries that are not to be stored in Logging. If your GCP resource receives a large volume of logs, you can use exclusions to reduce your chargeable logs. Exclusions are processed after log sinks, so you can export log entries before they are excluded. Note that organization-level and folder-level exclusions don't apply to child resources, and that you can't exclude audit log entries.", + "description": "Specifies a set of log entries that are not to be stored in Cloud Logging. If your GCP resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Exclusions are processed after log sinks, so you can export log entries before they are excluded. Note that organization-level and folder-level exclusions don't apply to child resources, and that you can't exclude audit log entries.", "id": "LogExclusion", "properties": { "createTime": { @@ -6283,7 +6283,7 @@ "type": "boolean" }, "filter": { - "description": "Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries. For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:\"resource.type=gcs_bucket severity=ERROR ", + "description": "Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR", "type": "string" }, "includeChildren": { - "description": "Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then logs from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression. For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent. To only export entries from certain child projects, filter on the project part of the log name: logName:(\"projects/test-project1/\" OR \"projects/test-project2/\") AND resource.type=gce_instance ", + "description": "Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:(\"projects/test-project1/\" OR \"projects/test-project2/\") AND resource.type=gce_instance", "type": "boolean" }, "name": { - "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + "description": "Required. The client-assigned sink identifier, unique within the project.For example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", "type": "string" }, "outputVersionFormat": { @@ -6477,7 +6477,7 @@ "type": "string" }, "writerIdentity": { - "description": "Output only. An IAM identity—a service account or group—under which Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.", + "description": "Output only. An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.", "readOnly": true, "type": "string" } @@ -6485,7 +6485,7 @@ "type": "object" }, "LogView": { - "description": "Describes a view over logs in a bucket.", + "description": "Describes a view over log entries in a bucket.", "id": "LogView", "properties": { "createTime": { @@ -6499,13 +6499,17 @@ "type": "string" }, "filter": { - "description": "Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log id Example: SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")", + "description": "Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")", "type": "string" }, "name": { - "description": "The resource name of the view. For example \"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view", + "description": "The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view", "type": "string" }, + "schema": { + "$ref": "TableSchema", + "description": "Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets." + }, "updateTime": { "description": "Output only. The last update timestamp of the view.", "format": "google-datetime", @@ -6729,7 +6733,7 @@ "type": "string" }, "type": { - "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL.", + "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).", "type": "string" } }, @@ -7034,6 +7038,50 @@ }, "type": "object" }, + "TableFieldSchema": { + "description": "A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.", + "id": "TableFieldSchema", + "properties": { + "description": { + "description": "Optional. The field description.", + "type": "string" + }, + "fields": { + "description": "Optional. Describes the nested schema fields if the type property is set to RECORD.", + "items": { + "$ref": "TableFieldSchema" + }, + "type": "array" + }, + "mode": { + "description": "Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", + "type": "string" + }, + "name": { + "description": "Required. The field name corresponding to fields in the LogEntry.", + "type": "string" + }, + "type": { + "description": "Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.", + "type": "string" + } + }, + "type": "object" + }, + "TableSchema": { + "description": "Schema of a table containing logs.", + "id": "TableSchema", + "properties": { + "fields": { + "description": "Describes the fields in a table.", + "items": { + "$ref": "TableFieldSchema" + }, + "type": "array" + } + }, + "type": "object" + }, "TailLogEntriesRequest": { "description": "The parameters to TailLogEntries.", "id": "TailLogEntriesRequest", diff --git a/discovery/googleapis/managedidentities__v1.json b/discovery/googleapis/managedidentities__v1.json index aee9c21ab..422502643 100644 --- a/discovery/googleapis/managedidentities__v1.json +++ b/discovery/googleapis/managedidentities__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -217,7 +217,7 @@ ], "parameters": { "domainName": { - "description": "Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * First segement length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the customer project.", + "description": "Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * First segment length (mydomain for example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the customer project.", "location": "query", "type": "string" }, @@ -829,6 +829,260 @@ ] } } + }, + "peerings": { + "methods": { + "create": { + "description": "Creates a Peering for Managed AD instance.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.peerings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Resource project name and location using the form: `projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + }, + "peeringId": { + "description": "Required. Peering Id, unique name to identify peering.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/peerings", + "request": { + "$ref": "Peering" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes identified Peering.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}", + "httpMethod": "DELETE", + "id": "managedidentities.projects.locations.global.peerings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Peering resource name using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Peering.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.peerings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Peering resource name using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Peering" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}:getIamPolicy", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.peerings.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Peerings in a given project.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings", + "httpMethod": "GET", + "id": "managedidentities.projects.locations.global.peerings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter specifying constraints of a list operation. For example, `peering.authorized_network=\"projects/myprojectid/global/networks/mynetwork\"`.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous List request, if any.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the peering location using the form: `projects/{project_id}/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/peerings", + "response": { + "$ref": "ListPeeringsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the labels for specified Peering.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}", + "httpMethod": "PATCH", + "id": "managedidentities.projects.locations.global.peerings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Peering: * `labels`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Peering" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}:setIamPolicy", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.peerings.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}:testIamPermissions", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.peerings.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } @@ -837,7 +1091,7 @@ } } }, - "revision": "20210701", + "revision": "20210824", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -1390,13 +1644,6 @@ "description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", "id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", "properties": { - "exclusions": { - "description": "By default node is eligible if instance is eligible. But individual node might be excluded from SLO by adding entry here. For semantic see SloMetadata.exclusions. If both instance and node level exclusions are present for time period, the node level's reason will be reported by Eligibility Exporter.", - "items": { - "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" - }, - "type": "array" - }, "location": { "description": "The location of the node, if different from instance location.", "type": "string" @@ -1456,42 +1703,10 @@ }, "type": "object" }, - "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": { - "description": "SloExclusion represents an exclusion in SLI calculation applies to all SLOs.", - "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion", - "properties": { - "duration": { - "description": "Exclusion duration. No restrictions on the possible values. When an ongoing operation is taking longer than initially expected, an existing entry in the exclusion list can be updated by extending the duration. This is supported by the subsystem exporting eligibility data as long as such extension is committed at least 10 minutes before the original exclusion expiration - otherwise it is possible that there will be \"gaps\" in the exclusion application in the exported timeseries.", - "format": "google-duration", - "type": "string" - }, - "reason": { - "description": "Human-readable reason for the exclusion. This should be a static string (e.g. \"Disruptive update in progress\") and should not contain dynamically generated data (e.g. instance name). Can be left empty.", - "type": "string" - }, - "sliName": { - "description": "Name of an SLI that this exclusion applies to. Can be left empty, signaling that the instance should be excluded from all SLIs.", - "type": "string" - }, - "startTime": { - "description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { "description": "SloMetadata contains resources required for proper SLO classification of the instance.", "id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", "properties": { - "exclusions": { - "description": "List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion time-window against current time point) the exclusion reason used in the first matching entry will be published. It is not needed to include expired exclusion in this list, as only the currently applicable exclusions are taken into account by the eligibility exporting subsystem (the historical state of exclusions will be reflected in the historically produced timeseries regardless of the current state). This field can be used to mark the instance as temporary ineligible for the purpose of SLO calculation. For permanent instance SLO exclusion, use of custom instance eligibility is recommended. See 'eligibility' field below.", - "items": { - "$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion" - }, - "type": "array" - }, "nodes": { "description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", "items": { @@ -1619,6 +1834,31 @@ }, "type": "object" }, + "ListPeeringsResponse": { + "description": "ListPeeringsResponse is the response message for ListPeerings method.", + "id": "ListPeeringsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "peerings": { + "description": "A list of Managed Identities Service Peerings in the project.", + "items": { + "$ref": "Peering" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListSqlIntegrationsResponse": { "description": "ListSqlIntegrationsResponse is the response message for ListSqlIntegrations method.", "id": "ListSqlIntegrationsResponse", @@ -1788,7 +2028,7 @@ "type": "string" }, "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, @@ -1822,8 +2062,71 @@ }, "type": "object" }, + "Peering": { + "description": "Represents a Managed Service for Microsoft Active Directory Peering.", + "id": "Peering", + "properties": { + "authorizedNetwork": { + "description": "Required. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time the instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "domainResource": { + "description": "Required. Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata.", + "type": "object" + }, + "name": { + "description": "Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of this Peering.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "CONNECTED", + "DISCONNECTED", + "DELETING" + ], + "enumDescriptions": [ + "Not set.", + "Peering is being created.", + "Peering is connected.", + "Peering is disconnected.", + "Peering is being deleted." + ], + "readOnly": true, + "type": "string" + }, + "statusMessage": { + "description": "Output only. Additional information about the current status of this peering, if available.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Last update time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { @@ -2177,7 +2480,7 @@ "type": "string" }, "denyMaintenancePeriods": { - "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. For V1, Maximum number of deny_maintenance_periods is expected to be one.", + "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. Maximum number of deny_maintenance_periods expected is one.", "items": { "$ref": "DenyMaintenancePeriod" }, diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json index 85654baf1..1fab7ddb9 100644 --- a/discovery/googleapis/manufacturers__v1.json +++ b/discovery/googleapis/manufacturers__v1.json @@ -286,7 +286,7 @@ } } }, - "revision": "20210714", + "revision": "20210827", "rootUrl": "https://manufacturers.googleapis.com/", "schemas": { "Attributes": { diff --git a/discovery/googleapis/memcache__v1.json b/discovery/googleapis/memcache__v1.json index 393463e3d..a4b9f5501 100644 --- a/discovery/googleapis/memcache__v1.json +++ b/discovery/googleapis/memcache__v1.json @@ -526,7 +526,7 @@ } } }, - "revision": "20210707", + "revision": "20210823", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -1574,7 +1574,7 @@ "type": "string" }, "denyMaintenancePeriods": { - "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. For V1, Maximum number of deny_maintenance_periods is expected to be one.", + "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. Maximum number of deny_maintenance_periods expected is one.", "items": { "$ref": "DenyMaintenancePeriod" }, diff --git a/discovery/googleapis/ml__v1.json b/discovery/googleapis/ml__v1.json index b28b4af79..7360fb42f 100644 --- a/discovery/googleapis/ml__v1.json +++ b/discovery/googleapis/ml__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -1484,7 +1484,7 @@ } } }, - "revision": "20210709", + "revision": "20210826", "rootUrl": "https://ml.googleapis.com/", "schemas": { "GoogleApi__HttpBody": { @@ -1818,7 +1818,9 @@ "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", - "TPU_V3" + "TPU_V3", + "TPU_V2_POD", + "TPU_V3_POD" ], "enumDescriptions": [ "Unspecified accelerator type. Default to no GPU.", @@ -1829,7 +1831,9 @@ "Nvidia T4 GPU.", "Nvidia A100 GPU.", "TPU v2.", - "TPU v3." + "TPU v3.", + "TPU v2 POD.", + "TPU v3 POD." ], "type": "string" } @@ -1928,7 +1932,9 @@ "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "TPU_V2", - "TPU_V3" + "TPU_V3", + "TPU_V2_POD", + "TPU_V3_POD" ], "enumDescriptions": [ "Unspecified accelerator type. Default to no GPU.", @@ -1939,7 +1945,9 @@ "Nvidia T4 GPU.", "Nvidia A100 GPU.", "TPU v2.", - "TPU v3." + "TPU v3.", + "TPU v2 POD.", + "TPU v3 POD." ], "type": "string" }, @@ -2253,7 +2261,7 @@ "additionalProperties": { "type": "string" }, - "description": "The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.", + "description": "URIs for accessing [interactive shells](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is `true`. The keys are names of each node in the training job; for example, `master-replica-0` for the master node, `worker-replica-0` for the first worker, and `ps-replica-0` for the first parameter server. The values are the URIs for each node's interactive shell.", "type": "object" } }, @@ -3222,7 +3230,7 @@ "type": "array" }, "enableWebAccess": { - "description": "Optional. Whether to enable web access for the training job.", + "description": "Optional. Whether you want AI Platform Training to enable [interactive shell access](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) to training containers. If set to `true`, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials).", "type": "boolean" }, "encryptionConfig": { @@ -3387,7 +3395,7 @@ "additionalProperties": { "type": "string" }, - "description": "Output only. The web URIs for the training job. Currently for debug terminal access to the job.", + "description": "Output only. URIs for accessing [interactive shells](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) (one URI for each training node). Only available if training_input.enable_web_access is `true`. The keys are names of each node in the training job; for example, `master-replica-0` for the master node, `worker-replica-0` for the first worker, and `ps-replica-0` for the first parameter server. The values are the URIs for each node's interactive shell.", "readOnly": true, "type": "object" } @@ -3703,7 +3711,7 @@ "type": "object" }, "GoogleIamV1__Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "GoogleIamV1__Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/monitoring__v3.json b/discovery/googleapis/monitoring__v3.json index 023aa9137..5bd548d74 100644 --- a/discovery/googleapis/monitoring__v3.json +++ b/discovery/googleapis/monitoring__v3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/monitoring": { "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects" @@ -1110,7 +1110,7 @@ "metricDescriptors": { "methods": { "create": { - "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics).", + "description": "Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics).", "flatPath": "v3/projects/{projectsId}/metricDescriptors", "httpMethod": "POST", "id": "monitoring.projects.metricDescriptors.create", @@ -2539,7 +2539,7 @@ } } }, - "revision": "20210712", + "revision": "20210830", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -2723,6 +2723,11 @@ "description": "Control over how the notification channels in notification_channels are notified when this alert fires.", "id": "AlertStrategy", "properties": { + "autoClose": { + "description": "If an alert policy that was active has no data for this log, any open incidents will close", + "format": "google-duration", + "type": "string" + }, "notificationRateLimit": { "$ref": "NotificationRateLimit", "description": "Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based." @@ -3160,7 +3165,7 @@ "type": "object" }, "DistributionCut": { - "description": "A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the count of values x in the Distribution such that range.min <= x < range.max.", + "description": "A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution that fall within the specified min and max.", "id": "DistributionCut", "properties": { "distributionFilter": { @@ -3425,7 +3430,7 @@ "type": "object" }, "GoogleMonitoringV3Range": { - "description": "Range of numerical values, inclusive of min and exclusive of max. If the open range \"< range.max\" is desired, set range.min = -infinity. If the open range \">= range.min\" is desired, set range.max = infinity.", + "description": "Range of numerical values within min and max.", "id": "GoogleMonitoringV3Range", "properties": { "max": { @@ -3933,14 +3938,14 @@ "id": "LogMatch", "properties": { "filter": { - "description": "Required. A logs-based filter. See Advanced Logs Queries for how this filter should be constructed.", + "description": "Required. A logs-based filter. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries) for how this filter should be constructed.", "type": "string" }, "labelExtractors": { "additionalProperties": { "type": "string" }, - "description": "Optional. A map from a label key to an extractor expression, which is used to extract the value for this label key. Each entry in this map is a specification for how data should be extracted from log entries that match filter. Each combination of extracted values is treated as a separate rule for the purposes of triggering notifications. Label keys and corresponding values can be used in notifications generated by this condition.Please see the documentation on logs-based metric valueExtractors for syntax and examples.", + "description": "Optional. A map from a label key to an extractor expression, which is used to extract the value for this label key. Each entry in this map is a specification for how data should be extracted from log entries that match filter. Each combination of extracted values is treated as a separate rule for the purposes of triggering notifications. Label keys and corresponding values can be used in notifications generated by this condition.Please see the documentation on logs-based metric valueExtractors (https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.value_extractor) for syntax and examples.", "type": "object" } }, @@ -4159,7 +4164,7 @@ "type": "object" }, "MetricRange": { - "description": "A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x < range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.", + "description": "A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.", "id": "MetricRange", "properties": { "range": { @@ -4304,7 +4309,7 @@ "type": "string" }, "type": { - "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL.", + "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).", "type": "string" } }, @@ -5192,7 +5197,7 @@ }, "monitoredResource": { "$ref": "MonitoredResource", - "description": "The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer" + "description": "The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service" }, "name": { "description": "A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.", diff --git a/discovery/googleapis/mybusinessaccountmanagement__v1.json b/discovery/googleapis/mybusinessaccountmanagement__v1.json index 6f842a56e..bdd77d2c4 100644 --- a/discovery/googleapis/mybusinessaccountmanagement__v1.json +++ b/discovery/googleapis/mybusinessaccountmanagement__v1.json @@ -528,7 +528,7 @@ } } }, - "revision": "20210721", + "revision": "20210901", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { diff --git a/discovery/googleapis/mybusinessbusinessinformation__v1.json b/discovery/googleapis/mybusinessbusinessinformation__v1.json new file mode 100644 index 000000000..03f180559 --- /dev/null +++ b/discovery/googleapis/mybusinessbusinessinformation__v1.json @@ -0,0 +1,1856 @@ +{ + "basePath": "", + "baseUrl": "https://mybusinessbusinessinformation.googleapis.com/", + "batchPath": "batch", + "canonicalName": "My Business Business Information", + "description": "The My Business Business Information API provides an interface for managing business information on Google.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/my-business/", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "mybusinessbusinessinformation:v1", + "kind": "discovery#restDescription", + "name": "mybusinessbusinessinformation", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accounts": { + "resources": { + "locations": { + "methods": { + "create": { + "description": "Creates a new Location that will be owned by the logged in user.", + "flatPath": "v1/accounts/{accountsId}/locations", + "httpMethod": "POST", + "id": "mybusinessbusinessinformation.accounts.locations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the account in which to create this location.", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A unique request ID for the server to detect duplicated requests. We recommend using UUIDs. Max length is 50 characters.", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If true, the request is validated without actually creating the location.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/locations", + "request": { + "$ref": "Location" + }, + "response": { + "$ref": "Location" + } + }, + "list": { + "description": "Lists the locations for the specified account.", + "flatPath": "v1/accounts/{accountsId}/locations", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.accounts.locations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter constraining the locations to return. The response includes only entries that match the filter. If `filter` is empty, then constraints are applied and all locations (paginated) are retrieved for the requested account. For more information about valid fields and example usage, see [Work with Location Data Guide](https://developers.google.com/my-business/content/location-data#filter_results_when_you_list_locations).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Sorting order for the request. Multiple fields should be comma-separated, following SQL syntax. The default sorting order is ascending. To specify descending order, a suffix \" desc\" should be added. Valid fields to order_by are title and store_code. For example: \"title, store_code desc\" or \"title\" or \"store_code desc\"", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. How many locations to fetch per page. Default value is 10 if not set. Minimum is 1, and maximum page size is 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If specified, it fetches the next `page` of locations. The page token is returned by previous calls to `ListLocations` when there were more locations than could fit in the requested page size.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The name of the account to fetch locations from. If the parent Account is of AccountType PERSONAL, only Locations that are directly owned by the Account are returned, otherwise it will return all accessible locations from the Account, either directly or indirectly.", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + }, + "readMask": { + "description": "Required. Read mask to specify what fields will be returned in the response.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/locations", + "response": { + "$ref": "ListLocationsResponse" + } + } + } + } + } + }, + "attributes": { + "methods": { + "list": { + "description": "Returns the list of attributes that would be available for a location with the given primary category and country.", + "flatPath": "v1/attributes", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.attributes.list", + "parameterOrder": [], + "parameters": { + "categoryName": { + "description": "The primary category stable ID to find available attributes. Must be of the format categories/{category_id}.", + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "The BCP 47 code of language to get attribute display names in. If this language is not available, they will be provided in English.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "How many attributes to include per page. Default is 200, minimum is 1.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "If specified, the next page of attribute metadata is retrieved.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Resource name of the location to look up available attributes. If this field is set, category_name, region_code, language_code and show_all are not required and must not be set.", + "location": "query", + "type": "string" + }, + "regionCode": { + "description": "The ISO 3166-1 alpha-2 country code to find available attributes.", + "location": "query", + "type": "string" + }, + "showAll": { + "description": "Metadata for all available attributes are returned when this field is set to true, disregarding parent and category_name fields. language_code and region_code are required when show_all is set to true.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/attributes", + "response": { + "$ref": "ListAttributeMetadataResponse" + } + } + } + }, + "categories": { + "methods": { + "batchGet": { + "description": "Returns a list of business categories for the provided language and GConcept ids.", + "flatPath": "v1/categories:batchGet", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.categories.batchGet", + "parameterOrder": [], + "parameters": { + "languageCode": { + "description": "Required. The BCP 47 code of language that the category names should be returned in.", + "location": "query", + "type": "string" + }, + "names": { + "description": "Required. At least one name must be set. The GConcept ids the localized category names should be returned for. To return details for more than one category, repeat this parameter in the request.", + "location": "query", + "repeated": true, + "type": "string" + }, + "regionCode": { + "description": "Optional. The ISO 3166-1 alpha-2 country code used to infer non-standard language.", + "location": "query", + "type": "string" + }, + "view": { + "description": "Required. Specifies which parts to the Category resource should be returned in the response.", + "enum": [ + "CATEGORY_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "Not specified, equivalent to CATEGORY_METADATA_ONLY.", + "The server response will only include Category fields display_name, category_id and language_code. It omits any service type metadata related fields.", + "Returns all the fields in the response." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/categories:batchGet", + "response": { + "$ref": "BatchGetCategoriesResponse" + } + }, + "list": { + "description": "Returns a list of business categories. Search will match the category name but not the category ID. Search only matches the front of a category name (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').", + "flatPath": "v1/categories", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.categories.list", + "parameterOrder": [], + "parameters": { + "filter": { + "description": "Optional. Filter string from user. The only field that supported is `displayName`. Eg: `filter=displayName=foo`.", + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "Required. The BCP 47 code of language.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. How many categories to fetch per page. Default is 100, minimum is 1, and maximum page size is 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If specified, the next page of categories will be fetched.", + "location": "query", + "type": "string" + }, + "regionCode": { + "description": "Required. The ISO 3166-1 alpha-2 country code.", + "location": "query", + "type": "string" + }, + "view": { + "description": "Required. Specifies which parts to the Category resource should be returned in the response.", + "enum": [ + "CATEGORY_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "Not specified, equivalent to CATEGORY_METADATA_ONLY.", + "The server response will only include Category fields display_name, category_id and language_code. It omits any service type metadata related fields.", + "Returns all the fields in the response." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/categories", + "response": { + "$ref": "ListCategoriesResponse" + } + } + } + }, + "chains": { + "methods": { + "get": { + "description": "Gets the specified chain. Returns `NOT_FOUND` if the chain does not exist.", + "flatPath": "v1/chains/{chainsId}", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.chains.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The chain's resource name, in the format `chains/{chain_place_id}`.", + "location": "path", + "pattern": "^chains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Chain" + } + }, + "search": { + "description": "Searches the chain based on chain name.", + "flatPath": "v1/chains:search", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.chains.search", + "parameterOrder": [], + "parameters": { + "chainName": { + "description": "Required. Search for a chain by its name. Exact/partial/fuzzy/related queries are supported. Examples: \"walmart\", \"wal-mart\", \"walmmmart\", \"沃尔玛\"", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of matched chains to return from this query. The default is 10. The maximum possible value is 500.", + "format": "int32", + "location": "query", + "type": "integer" + } + }, + "path": "v1/chains:search", + "response": { + "$ref": "SearchChainsResponse" + } + } + } + }, + "googleLocations": { + "methods": { + "search": { + "description": "Search all of the possible locations that are a match to the specified request.", + "flatPath": "v1/googleLocations:search", + "httpMethod": "POST", + "id": "mybusinessbusinessinformation.googleLocations.search", + "parameterOrder": [], + "parameters": {}, + "path": "v1/googleLocations:search", + "request": { + "$ref": "SearchGoogleLocationsRequest" + }, + "response": { + "$ref": "SearchGoogleLocationsResponse" + } + } + } + }, + "locations": { + "methods": { + "associate": { + "description": "Associates a location to a place ID. Any previous association is overwritten. This operation is only valid if the location is unverified. The association must be valid, that is, it appears in the list of `SearchGoogleLocations`.", + "flatPath": "v1/locations/{locationsId}:associate", + "httpMethod": "POST", + "id": "mybusinessbusinessinformation.locations.associate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the location to associate.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:associate", + "request": { + "$ref": "AssociateLocationRequest" + }, + "response": { + "$ref": "Empty" + } + }, + "clearLocationAssociation": { + "description": "Clears an association between a location and its place ID. This operation is only valid if the location is unverified.", + "flatPath": "v1/locations/{locationsId}:clearLocationAssociation", + "httpMethod": "POST", + "id": "mybusinessbusinessinformation.locations.clearLocationAssociation", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the location to disassociate.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:clearLocationAssociation", + "request": { + "$ref": "ClearLocationAssociationRequest" + }, + "response": { + "$ref": "Empty" + } + }, + "delete": { + "description": "Deletes a location. If this location cannot be deleted using the API and it is marked so in the `google.mybusiness.businessinformation.v1.LocationState`, use the [Google My Business](https://business.google.com/manage/) website.", + "flatPath": "v1/locations/{locationsId}", + "httpMethod": "DELETE", + "id": "mybusinessbusinessinformation.locations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the location to delete.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + } + }, + "get": { + "description": "Returns the specified location.", + "flatPath": "v1/locations/{locationsId}", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the location to fetch.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + }, + "readMask": { + "description": "Required. Read mask to specify what fields will be returned in the response.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + } + }, + "getAttributes": { + "description": "Looks up all the attributes set for a given location.", + "flatPath": "v1/locations/{locationsId}/attributes", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.locations.getAttributes", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", + "location": "path", + "pattern": "^locations/[^/]+/attributes$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Attributes" + } + }, + "getGoogleUpdated": { + "description": "Gets the Google-updated version of the specified location.", + "flatPath": "v1/locations/{locationsId}:getGoogleUpdated", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.locations.getGoogleUpdated", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the location to fetch.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + }, + "readMask": { + "description": "Required. Read mask to specify what fields will be returned in the response.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:getGoogleUpdated", + "response": { + "$ref": "GoogleUpdatedLocation" + } + }, + "patch": { + "description": "Updates the specified location.", + "flatPath": "v1/locations/{locationsId}", + "httpMethod": "PATCH", + "id": "mybusinessbusinessinformation.locations.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Google identifier for this location in the form: `locations/{location_id}`.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The specific fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If true, the request is validated without actually updating the location. When this field is set, we will only return validation errors if there were any. The response will be empty if no errors were found.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Location" + }, + "response": { + "$ref": "Location" + } + }, + "updateAttributes": { + "description": "Update attributes for a given location.", + "flatPath": "v1/locations/{locationsId}/attributes", + "httpMethod": "PATCH", + "id": "mybusinessbusinessinformation.locations.updateAttributes", + "parameterOrder": [ + "name" + ], + "parameters": { + "attributeMask": { + "description": "Required. Attribute name of attributes that you'd like to update. Represented by `attributes/{attribute}`. Updates: All attributes provided in the attributes field that you would like to update must be set in the `attribute_mask`. Attributes set in the above list but not in the `attribute_mask` will be ignored. Deletes: If you'd like to delete certain attributes, they must be specified in the `attribute_mask` with no matching entry in the attributes list. If you'd like to delete all attributes set on a location, you should look up all the applicable attributes for the location and then add them to the `attribute_mask` with an empty attributes field.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", + "location": "path", + "pattern": "^locations/[^/]+/attributes$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Attributes" + }, + "response": { + "$ref": "Attributes" + } + } + }, + "resources": { + "attributes": { + "methods": { + "getGoogleUpdated": { + "description": "Gets the Google-updated version of the specified location.", + "flatPath": "v1/locations/{locationsId}/attributes:getGoogleUpdated", + "httpMethod": "GET", + "id": "mybusinessbusinessinformation.locations.attributes.getGoogleUpdated", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", + "location": "path", + "pattern": "^locations/[^/]+/attributes$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:getGoogleUpdated", + "response": { + "$ref": "Attributes" + } + } + } + } + } + } + }, + "revision": "20210901", + "rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", + "schemas": { + "AdWordsLocationExtensions": { + "description": "Additional information that is surfaced in AdWords.", + "id": "AdWordsLocationExtensions", + "properties": { + "adPhone": { + "description": "Required. An alternate phone number to display on AdWords location extensions instead of the location's primary phone number.", + "type": "string" + } + }, + "type": "object" + }, + "AssociateLocationRequest": { + "description": "Request message for Locations.AssociateLocationRequest.", + "id": "AssociateLocationRequest", + "properties": { + "placeId": { + "description": "The association to establish. If not set, it indicates no match.", + "type": "string" + } + }, + "type": "object" + }, + "Attribute": { + "description": "A location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.", + "id": "Attribute", + "properties": { + "name": { + "description": "Required. The resource name for this attribute.", + "type": "string" + }, + "repeatedEnumValue": { + "$ref": "RepeatedEnumAttributeValue", + "description": "When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty." + }, + "uriValues": { + "description": "When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty.", + "items": { + "$ref": "UriAttributeValue" + }, + "type": "array" + }, + "valueType": { + "description": "Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value.", + "enum": [ + "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", + "BOOL", + "ENUM", + "URL", + "REPEATED_ENUM" + ], + "enumDescriptions": [ + "Not specified.", + "The values for this attribute are boolean values.", + "The attribute has a predetermined list of available values that can be used. Metadata for this attribute will list these values.", + "The values for this attribute are URLs.", + "The attribute value is an enum with multiple possible values that can be explicitly set or unset." + ], + "readOnly": true, + "type": "string" + }, + "values": { + "description": "The values for this attribute. The type of the values supplied must match that expected for that attribute. This is a repeated field where multiple attribute values may be provided. Attribute types only support one value.", + "items": { + "type": "any" + }, + "type": "array" + } + }, + "type": "object" + }, + "AttributeMetadata": { + "description": "Metadata for an attribute. Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.", + "id": "AttributeMetadata", + "properties": { + "deprecated": { + "description": "If true, the attribute is deprecated and should no longer be used. If deprecated, updating this attribute will not result in an error, but updates will not be saved. At some point after being deprecated, the attribute will be removed entirely and it will become an error.", + "type": "boolean" + }, + "displayName": { + "description": "The localized display name for the attribute, if available; otherwise, the English display name.", + "type": "string" + }, + "groupDisplayName": { + "description": "The localized display name of the group that contains this attribute, if available; otherwise, the English group name. Related attributes are collected into a group and should be displayed together under the heading given here.", + "type": "string" + }, + "parent": { + "description": "The unique identifier for the attribute.", + "type": "string" + }, + "repeatable": { + "description": "If true, the attribute supports multiple values. If false, only a single value should be provided.", + "type": "boolean" + }, + "valueMetadata": { + "description": "For some types of attributes (for example, enums), a list of supported values and corresponding display names for those values is provided.", + "items": { + "$ref": "AttributeValueMetadata" + }, + "type": "array" + }, + "valueType": { + "description": "The value type for the attribute. Values set and retrieved should be expected to be of this type.", + "enum": [ + "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", + "BOOL", + "ENUM", + "URL", + "REPEATED_ENUM" + ], + "enumDescriptions": [ + "Not specified.", + "The values for this attribute are boolean values.", + "The attribute has a predetermined list of available values that can be used. Metadata for this attribute will list these values.", + "The values for this attribute are URLs.", + "The attribute value is an enum with multiple possible values that can be explicitly set or unset." + ], + "type": "string" + } + }, + "type": "object" + }, + "AttributeValueMetadata": { + "description": "Metadata for supported attribute values.", + "id": "AttributeValueMetadata", + "properties": { + "displayName": { + "description": "The display name for this value, localized where available; otherwise, in English. The value display name is intended to be used in context with the attribute display name. For example, for a \"WiFi\" enum attribute, this could contain \"Paid\" to represent paid Wi-Fi.", + "type": "string" + }, + "value": { + "description": "The attribute value.", + "type": "any" + } + }, + "type": "object" + }, + "Attributes": { + "description": "A container for all the attributes for a given location.", + "id": "Attributes", + "properties": { + "attributes": { + "description": "A collection of attributes that need to be updated.", + "items": { + "$ref": "Attribute" + }, + "type": "array" + }, + "name": { + "description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", + "type": "string" + } + }, + "type": "object" + }, + "BatchGetCategoriesResponse": { + "description": "Response message for BusinessCategories.BatchGetBusinessCategories.", + "id": "BatchGetCategoriesResponse", + "properties": { + "categories": { + "description": "Categories that match the GConcept ids provided in the request. They will not come in the same order as category ids in the request.", + "items": { + "$ref": "Category" + }, + "type": "array" + } + }, + "type": "object" + }, + "BusinessHours": { + "description": "Represents the time periods that this location is open for business. Holds a collection of TimePeriod instances.", + "id": "BusinessHours", + "properties": { + "periods": { + "description": "Required. A collection of times that this location is open for business. Each period represents a range of hours when the location is open during the week.", + "items": { + "$ref": "TimePeriod" + }, + "type": "array" + } + }, + "type": "object" + }, + "Categories": { + "description": "A collection of categories that describes the business. During updates, both fields must be set. Clients are prohibited from individually updating the primary or additional categories using the update mask.", + "id": "Categories", + "properties": { + "additionalCategories": { + "description": "Optional. Additional categories to describe your business. Categories help your customers find accurate, specific results for services they're interested in. To keep your business information accurate and live, make sure that you use as few categories as possible to describe your overall core business. Choose categories that are as specific as possible, but representative of your main business.", + "items": { + "$ref": "Category" + }, + "type": "array" + }, + "primaryCategory": { + "$ref": "Category", + "description": "Required. Category that best describes the core business this location engages in." + } + }, + "type": "object" + }, + "Category": { + "description": "A category describing what this business is (not what it does). For a list of valid category IDs, and the mappings to their human-readable names, see `categories.list`.", + "id": "Category", + "properties": { + "displayName": { + "description": "Output only. The human-readable name of the category. This is set when reading the location. When modifying the location, `category_id` must be set.", + "readOnly": true, + "type": "string" + }, + "moreHoursTypes": { + "description": "Output only. More hours types that are available for this business category.", + "items": { + "$ref": "MoreHoursType" + }, + "readOnly": true, + "type": "array" + }, + "name": { + "description": "Required. A stable ID (provided by Google) for this category. The value must be specified when modifying the category (when creating or updating a location).", + "type": "string" + }, + "serviceTypes": { + "description": "Output only. A list of all the service types that are available for this business category.", + "items": { + "$ref": "ServiceType" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "Chain": { + "description": "A chain is a brand that your business's locations can be affiliated with.", + "id": "Chain", + "properties": { + "chainNames": { + "description": "Names of the chain.", + "items": { + "$ref": "ChainName" + }, + "type": "array" + }, + "locationCount": { + "description": "Number of locations that are part of this chain.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Required. The chain's resource name, in the format `chains/{chain_id}`.", + "type": "string" + }, + "websites": { + "description": "Websites of the chain.", + "items": { + "$ref": "ChainUri" + }, + "type": "array" + } + }, + "type": "object" + }, + "ChainName": { + "description": "Name to be used when displaying the chain.", + "id": "ChainName", + "properties": { + "displayName": { + "description": "The display name for this chain.", + "type": "string" + }, + "languageCode": { + "description": "The BCP 47 code of language of the name.", + "type": "string" + } + }, + "type": "object" + }, + "ChainUri": { + "description": "Url to be used when displaying the chain.", + "id": "ChainUri", + "properties": { + "uri": { + "description": "The uri for this chain.", + "type": "string" + } + }, + "type": "object" + }, + "ClearLocationAssociationRequest": { + "description": "Request message for Locations.ClearLocationAssociationRequest.", + "id": "ClearLocationAssociationRequest", + "properties": {}, + "type": "object" + }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "FreeFormServiceItem": { + "description": "Represents a free-form service offered by the merchant. These are services that are not exposed as part of our structure service data. The merchant manually enters the names for of such services via a geomerchant surface.", + "id": "FreeFormServiceItem", + "properties": { + "category": { + "description": "Required. This field represents the category name (i.e. the category's stable ID). The `category` and `service_type_id` should match the possible combinations provided in the `Category` message.", + "type": "string" + }, + "label": { + "$ref": "Label", + "description": "Required. Language-tagged labels for the item. We recommend that item names be 140 characters or less, and descriptions 250 characters or less. This field should only be set if the input is a custom service item. Standardized service types should be updated via service_type_id." + } + }, + "type": "object" + }, + "GoogleLocation": { + "description": "Represents a Location that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.", + "id": "GoogleLocation", + "properties": { + "location": { + "$ref": "Location", + "description": "The sparsely populated Location information. This field can be re-used in CreateLocation if it is not currently claimed by a user." + }, + "name": { + "description": "Resource name of this GoogleLocation, in the format `googleLocations/{googleLocationId}`.", + "type": "string" + }, + "requestAdminRightsUri": { + "description": "A URL that will redirect the user to the request admin rights UI. This field is only present if the location has already been claimed by any user, including the current user.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleUpdatedLocation": { + "description": "Represents a location that was modified by Google.", + "id": "GoogleUpdatedLocation", + "properties": { + "diffMask": { + "description": "The fields that Google updated.", + "format": "google-fieldmask", + "type": "string" + }, + "location": { + "$ref": "Location", + "description": "The Google-updated version of this location." + }, + "pendingMask": { + "description": "The fields that have pending edits that haven't yet been pushed to Maps and Search.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "Label": { + "description": "Label to be used when displaying the price list, section, or item.", + "id": "Label", + "properties": { + "description": { + "description": "Optional. Description of the price list, section, or item.", + "type": "string" + }, + "displayName": { + "description": "Required. Display name for the price list, section, or item.", + "type": "string" + }, + "languageCode": { + "description": "Optional. The BCP-47 language code that these strings apply for. Only one set of labels may be set per language.", + "type": "string" + } + }, + "type": "object" + }, + "LatLng": { + "description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", + "id": "LatLng", + "properties": { + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "ListAttributeMetadataResponse": { + "description": "Response for AttributesService.ListAttributeMetadata.", + "id": "ListAttributeMetadataResponse", + "properties": { + "attributeMetadata": { + "description": "A collection of attribute metadata for the available attributes.", + "items": { + "$ref": "AttributeMetadata" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If the number of attributes exceeded the requested page size, this field will be populated with a token to fetch the next page of attributes on a subsequent call to `attributes.list`. If there are no more attributes, this field will not be present in the response.", + "type": "string" + } + }, + "type": "object" + }, + "ListCategoriesResponse": { + "description": "Response message for BusinessCategories.ListCategories.", + "id": "ListCategoriesResponse", + "properties": { + "categories": { + "description": "The matching categories based on the requested parameters.", + "items": { + "$ref": "Category" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If the number of categories exceeded the requested page size, this field will be populated with a token to fetch the next page of categories on a subsequent call to `ListCategories`.", + "type": "string" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "Response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "The locations.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If the number of locations exceeded the requested page size, this field is populated with a token to fetch the next page of locations on a subsequent call to `ListLocations`. If there are no more locations, this field is not present in the response.", + "type": "string" + }, + "totalSize": { + "description": "The approximate number of Locations in the list irrespective of pagination.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "Location": { + "description": "A location. See the [help center article] (https://support.google.com/business/answer/3038177) for a detailed description of these fields, or the [category endpoint](/my-business/reference/rest/v4/categories) for a list of valid business categories.", + "id": "Location", + "properties": { + "adWordsLocationExtensions": { + "$ref": "AdWordsLocationExtensions", + "description": "Optional. Additional information that is surfaced in AdWords." + }, + "categories": { + "$ref": "Categories", + "description": "Optional. The different categories that describe the business." + }, + "labels": { + "description": "Optional. A collection of free-form strings to allow you to tag your business. These labels are NOT user facing; only you can see them. Must be between 1-255 characters per label.", + "items": { + "type": "string" + }, + "type": "array" + }, + "languageCode": { + "description": "Immutable. The language of the location. Set during creation and not updateable.", + "type": "string" + }, + "latlng": { + "$ref": "LatLng", + "description": "Optional. User-provided latitude and longitude. When creating a location, this field is ignored if the provided address geocodes successfully. This field is only returned on get requests if the user-provided `latlng` value was accepted during create, or the `latlng` value was updated through the Google My Business website. This field can only be updated by approved clients." + }, + "metadata": { + "$ref": "Metadata", + "description": "Output only. Additional non-user-editable information.", + "readOnly": true + }, + "moreHours": { + "description": "Optional. More hours for a business's different departments or specific customers.", + "items": { + "$ref": "MoreHours" + }, + "type": "array" + }, + "name": { + "description": "Google identifier for this location in the form: `locations/{location_id}`.", + "type": "string" + }, + "openInfo": { + "$ref": "OpenInfo", + "description": "Optional. A flag that indicates whether the location is currently open for business." + }, + "phoneNumbers": { + "$ref": "PhoneNumbers", + "description": "Optional. The different phone numbers that customers can use to get in touch with the business." + }, + "profile": { + "$ref": "Profile", + "description": "Required. Describes your business in your own voice and shares with users the unique story of your business and offerings." + }, + "regularHours": { + "$ref": "BusinessHours", + "description": "Optional. Operating hours for the business." + }, + "relationshipData": { + "$ref": "RelationshipData", + "description": "Output only. All locations and chain related to this one.", + "readOnly": true + }, + "serviceArea": { + "$ref": "ServiceAreaBusiness", + "description": "Optional. Service area businesses provide their service at the customer's location. If this business is a service area business, this field describes the area(s) serviced by the business." + }, + "serviceItems": { + "description": "Optional. List of services supported by merchants. A service can be haircut, install water heater, etc. Duplicated service items will be removed automatically.", + "items": { + "$ref": "ServiceItem" + }, + "type": "array" + }, + "specialHours": { + "$ref": "SpecialHours", + "description": "Optional. Special hours for the business. This typically includes holiday hours, and other times outside of regular operating hours. These override regular business hours. This field cannot be set without regular hours." + }, + "storeCode": { + "description": "Optional. External identifier for this location, which must be unique within a given account. This is a means of associating the location with your own records.", + "type": "string" + }, + "storefrontAddress": { + "$ref": "PostalAddress", + "description": "Optional. A precise, accurate address to describe your business location. PO boxes or mailboxes located at remote locations are not acceptable. At this time, you can specify a maximum of five `address_lines` values in the address. This field should only be set for businesses that have a storefront. This field should not be set for locations of type `CUSTOMER_LOCATION_ONLY`." + }, + "title": { + "description": "Required. Location name should reflect your business's real-world name, as used consistently on your storefront, website, and stationery, and as known to customers. Any additional information, when relevant, can be included in other fields of the resource (for example, `Address`, `Categories`). Don't add unnecessary information to your name (for example, prefer \"Google\" over \"Google Inc. - Mountain View Corporate Headquarters\"). Don't include marketing taglines, store codes, special characters, hours or closed/open status, phone numbers, website URLs, service/product information, location/address or directions, or containment information (for example, \"Chase ATM in Duane Reade\").", + "type": "string" + }, + "websiteUri": { + "description": "Optional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.", + "type": "string" + } + }, + "type": "object" + }, + "Metadata": { + "description": "Additional non-user-editable information about the location.", + "id": "Metadata", + "properties": { + "canDelete": { + "description": "Output only. Indicates whether the location can be deleted using the API.", + "readOnly": true, + "type": "boolean" + }, + "canHaveFoodMenus": { + "description": "Output only. Indicates if the listing is eligible for food menu.", + "readOnly": true, + "type": "boolean" + }, + "canModifyServiceList": { + "description": "Output only. Indicates if the listing can modify the service list.", + "readOnly": true, + "type": "boolean" + }, + "canOperateHealthData": { + "description": "Output only. Indicates whether the location can operate on Health data.", + "readOnly": true, + "type": "boolean" + }, + "canOperateLocalPost": { + "description": "Output only. Indicates if the listing can manage local posts.", + "readOnly": true, + "type": "boolean" + }, + "canOperateLodgingData": { + "description": "Output only. Indicates whether the location can operate on Lodging data.", + "readOnly": true, + "type": "boolean" + }, + "duplicateLocation": { + "description": "Output only. The location resource that this location duplicates.", + "readOnly": true, + "type": "string" + }, + "hasGoogleUpdated": { + "description": "Output only. Indicates whether the place ID associated with this location has updates that need to be updated or rejected by the client. If this boolean is set, you should call the `getGoogleUpdated` method to lookup information that's needs to be verified.", + "readOnly": true, + "type": "boolean" + }, + "hasPendingEdits": { + "description": "Output only. Indicates whether any of this Location's properties are in the edit pending state.", + "readOnly": true, + "type": "boolean" + }, + "mapsUri": { + "description": "Output only. A link to the location on Maps.", + "readOnly": true, + "type": "string" + }, + "newReviewUri": { + "description": "Output only. A link to the page on Google Search where a customer can leave a review for the location.", + "readOnly": true, + "type": "string" + }, + "placeId": { + "description": "Output only. If this locationappears on Google Maps, this field is populated with the place ID for the location. This ID can be used in various Places APIs. This field can be set during Create calls, but not for Update.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Money": { + "description": "Represents an amount of money with its currency type.", + "id": "Money", + "properties": { + "currencyCode": { + "description": "The three-letter currency code defined in ISO 4217.", + "type": "string" + }, + "nanos": { + "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32", + "type": "integer" + }, + "units": { + "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "MoreHours": { + "description": "The time periods during which a location is open for certain types of business.", + "id": "MoreHours", + "properties": { + "hoursTypeId": { + "description": "Required. Type of hours. Clients should call {#link businessCategories:BatchGet} to get supported hours types for categories of their locations.", + "type": "string" + }, + "periods": { + "description": "Required. A collection of times that this location is open. Each period represents a range of hours when the location is open during the week.", + "items": { + "$ref": "TimePeriod" + }, + "type": "array" + } + }, + "type": "object" + }, + "MoreHoursType": { + "description": "More hours types that a business can offers, in addition to its regular hours.", + "id": "MoreHoursType", + "properties": { + "displayName": { + "description": "Output only. The human-readable English display name for the hours type.", + "readOnly": true, + "type": "string" + }, + "hoursTypeId": { + "description": "Output only. A stable ID provided by Google for this hours type.", + "readOnly": true, + "type": "string" + }, + "localizedDisplayName": { + "description": "Output only. The human-readable localized display name for the hours type.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "OpenInfo": { + "description": "Information related to the opening state of the business.", + "id": "OpenInfo", + "properties": { + "canReopen": { + "description": "Output only. Indicates whether this business is eligible for re-open.", + "readOnly": true, + "type": "boolean" + }, + "openingDate": { + "$ref": "Date", + "description": "Optional. The date on which the location first opened. If the exact day is not known, month and year only can be provided. The date must be in the past or be no more than one year in the future." + }, + "status": { + "description": "Required. Indicates whether or not the Location is currently open for business. All locations are open by default, unless updated to be closed.", + "enum": [ + "OPEN_FOR_BUSINESS_UNSPECIFIED", + "OPEN", + "CLOSED_PERMANENTLY", + "CLOSED_TEMPORARILY" + ], + "enumDescriptions": [ + "Not specified.", + "Indicates that the location is open.", + "Indicates that the location has been permanently closed.", + "Indicates that the location has been temporarily closed." + ], + "type": "string" + } + }, + "type": "object" + }, + "PhoneNumbers": { + "description": "A collection of phone numbers for the business. During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as \"+1 415 555 0132\", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).", + "id": "PhoneNumbers", + "properties": { + "additionalPhones": { + "description": "Optional. Up to two phone numbers (mobile or landline, no fax) at which your business can be called, in addition to your primary phone number.", + "items": { + "type": "string" + }, + "type": "array" + }, + "primaryPhone": { + "description": "Required. A phone number that connects to your individual business location as directly as possible. Use a local phone number instead of a central, call center helpline number whenever possible.", + "type": "string" + } + }, + "type": "object" + }, + "PlaceInfo": { + "description": "Defines an area that's represented by a place ID.", + "id": "PlaceInfo", + "properties": { + "placeId": { + "description": "Required. The ID of the place. Must correspond to a region. (https://developers.google.com/places/web-service/supported_types#table3)", + "type": "string" + }, + "placeName": { + "description": "Required. The localized name of the place. For example, `Scottsdale, AZ`.", + "type": "string" + } + }, + "type": "object" + }, + "Places": { + "description": "Defines the union of areas represented by a set of places.", + "id": "Places", + "properties": { + "placeInfos": { + "description": "The areas represented by place IDs. Limited to a maximum of 20 places.", + "items": { + "$ref": "PlaceInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "PostalAddress": { + "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "id": "PostalAddress", + "properties": { + "addressLines": { + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "items": { + "type": "string" + }, + "type": "array" + }, + "administrativeArea": { + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "type": "string" + }, + "languageCode": { + "description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", + "type": "string" + }, + "locality": { + "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", + "type": "string" + }, + "organization": { + "description": "Optional. The name of the organization at the address.", + "type": "string" + }, + "postalCode": { + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "type": "string" + }, + "recipients": { + "description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", + "items": { + "type": "string" + }, + "type": "array" + }, + "regionCode": { + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "type": "string" + }, + "revision": { + "description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", + "format": "int32", + "type": "integer" + }, + "sortingCode": { + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", + "type": "string" + }, + "sublocality": { + "description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", + "type": "string" + } + }, + "type": "object" + }, + "Profile": { + "description": "All information pertaining to the location's profile.", + "id": "Profile", + "properties": { + "description": { + "description": "Required. Description of the location in your own voice, not editable by anyone else.", + "type": "string" + } + }, + "type": "object" + }, + "RelationshipData": { + "description": "Information of all parent and children locations related to this one.", + "id": "RelationshipData", + "properties": { + "childrenLocations": { + "description": "The list of children locations that this location has relations with.", + "items": { + "$ref": "RelevantLocation" + }, + "type": "array" + }, + "parentChain": { + "description": "The resource name of the Chain that this location is member of. How to find Chain ID", + "type": "string" + }, + "parentLocation": { + "$ref": "RelevantLocation", + "description": "The parent location that this location has relations with." + } + }, + "type": "object" + }, + "RelevantLocation": { + "description": "Information about another location that is related to current one. The relation can be any one of DEPARTMENT_OF or INDEPENDENT_ESTABLISHMENT_OF, and the location specified here can be on either side (parent/child) of the location.", + "id": "RelevantLocation", + "properties": { + "placeId": { + "description": "Required. Specify the location that is on the other side of the relation by its placeID.", + "type": "string" + }, + "relationType": { + "description": "Required. The type of the relationship.", + "enum": [ + "RELATION_TYPE_UNSPECIFIED", + "DEPARTMENT_OF", + "INDEPENDENT_ESTABLISHMENT_IN" + ], + "enumDescriptions": [ + "Type unspecified.", + "This represents a relation between 2 locations which share one physical area, same brand/upper management/organization, but with different key attributes like store hours or phone numbers. For example, Costco Pharmacy is a department in Costco Wholesale.", + "This represents the cases where 2 locations are co-located in the same physical location, but from different companies (e.g. Starbucks in a Safeway, shops in a mall)." + ], + "type": "string" + } + }, + "type": "object" + }, + "RepeatedEnumAttributeValue": { + "description": "Values for an attribute with a `value_type` of REPEATED_ENUM. This consists of two lists of value IDs: those that are set (true) and those that are unset (false). Values absent are considered unknown. At least one value must be specified.", + "id": "RepeatedEnumAttributeValue", + "properties": { + "setValues": { + "description": "Enum values that are set.", + "items": { + "type": "string" + }, + "type": "array" + }, + "unsetValues": { + "description": "Enum values that are unset.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "SearchChainsResponse": { + "description": "Response message for Locations.SearchChains.", + "id": "SearchChainsResponse", + "properties": { + "chains": { + "description": "Chains that match the queried chain_display_name in SearchChainsRequest. If there are no matches, this field will be empty. Results are listed in order of relevance.", + "items": { + "$ref": "Chain" + }, + "type": "array" + } + }, + "type": "object" + }, + "SearchGoogleLocationsRequest": { + "description": "Request message for GoogleLocations.SearchGoogleLocations.", + "id": "SearchGoogleLocationsRequest", + "properties": { + "location": { + "$ref": "Location", + "description": "Location to search for. If provided, will find locations which match the provided location details." + }, + "pageSize": { + "description": "The number of matches to return. The default value is 3, with a maximum of 10. Note that latency may increase if more are requested. There is no pagination.", + "format": "int32", + "type": "integer" + }, + "query": { + "description": "Text query to search for. The search results from a query string will be less accurate than if providing an exact location, but can provide more inexact matches.", + "type": "string" + } + }, + "type": "object" + }, + "SearchGoogleLocationsResponse": { + "description": "Response message for GoogleLocations.SearchGoogleLocations.", + "id": "SearchGoogleLocationsResponse", + "properties": { + "googleLocations": { + "description": "A collection of GoogleLocations that are potential matches to the specified request, listed in order from most to least accuracy.", + "items": { + "$ref": "GoogleLocation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ServiceAreaBusiness": { + "description": "Service area businesses provide their service at the customer's location (for example, a locksmith or plumber).", + "id": "ServiceAreaBusiness", + "properties": { + "businessType": { + "description": "Required. Indicates the type of the service area business.", + "enum": [ + "BUSINESS_TYPE_UNSPECIFIED", + "CUSTOMER_LOCATION_ONLY", + "CUSTOMER_AND_BUSINESS_LOCATION" + ], + "enumDescriptions": [ + "Output only. Not specified.", + "Offers service only in the surrounding area (not at the business address). If a business is being updated from a CUSTOMER_AND_BUSINESS_LOCATION to a CUSTOMER_LOCATION_ONLY, the location update must include field mask `storefront_address` and set the field to empty.", + "Offers service at the business address and the surrounding area." + ], + "type": "string" + }, + "places": { + "$ref": "Places", + "description": "The area that this business serves defined through a set of places." + }, + "regionCode": { + "description": "Immutable. CLDR region code of the country/region that this service area business is based in. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland. This field is required for CUSTOMER_LOCATION_ONLY businesses, and is ignored otherwise. The region specified here can be different from regions for the areas that this business serves (e.g. service area businesses that provide services in regions other than the one that they are based in). If this location requires verification after creation, the address provided for verification purposes *must* be located within this region, and the business owner or their authorized representative *must* be able to receive postal mail at the provided verification address.", + "type": "string" + } + }, + "type": "object" + }, + "ServiceItem": { + "description": "A message that describes a single service item. It is used to describe the type of service that the merchant provides. For example, haircut can be a service.", + "id": "ServiceItem", + "properties": { + "freeFormServiceItem": { + "$ref": "FreeFormServiceItem", + "description": "Optional. This field will be set case of free-form services data." + }, + "price": { + "$ref": "Money", + "description": "Optional. Represents the monetary price of the service item. We recommend that currency_code and units should be set when including a price. This will be treated as a fixed price for the service item." + }, + "structuredServiceItem": { + "$ref": "StructuredServiceItem", + "description": "Optional. This field will be set case of structured services data." + } + }, + "type": "object" + }, + "ServiceType": { + "description": "A message describing a service type that the business offers.", + "id": "ServiceType", + "properties": { + "displayName": { + "description": "Output only. The human-readable display name for the service type.", + "readOnly": true, + "type": "string" + }, + "serviceTypeId": { + "description": "Output only. A stable ID (provided by Google) for this service type.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SpecialHourPeriod": { + "description": "Represents a single time period when a location's operational hours differ from its normal business hours. A special hour period must represent a range of less than 24 hours. The `open_time` and `start_date` must predate the `close_time` and `end_date`. The `close_time` and `end_date` can extend to 11:59 a.m. on the day after the specified `start_date`. For example, the following inputs are valid: start_date=2015-11-23, open_time=08:00, close_time=18:00 start_date=2015-11-23, end_date=2015-11-23, open_time=08:00, close_time=18:00 start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=11:59 The following inputs are not valid: start_date=2015-11-23, open_time=13:00, close_time=11:59 start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=12:00 start_date=2015-11-23, end_date=2015-11-25, open_time=08:00, close_time=18:00", + "id": "SpecialHourPeriod", + "properties": { + "closeTime": { + "$ref": "TimeOfDay", + "description": "Optional. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field. Must be specified if `closed` is false." + }, + "closed": { + "description": "Optional. If true, `end_date`, `open_time`, and `close_time` are ignored, and the date specified in `start_date` is treated as the location being closed for the entire day.", + "type": "boolean" + }, + "endDate": { + "$ref": "Date", + "description": "Optional. The calendar date this special hour period ends on. If `end_date` field is not set, default to the date specified in `start_date`. If set, this field must be equal to or at most 1 day after `start_date`." + }, + "openTime": { + "$ref": "TimeOfDay", + "description": "Optional. Valid values are 00:00-24:00 where 24:00 represents midnight at the end of the specified day field. Must be specified if `closed` is false." + }, + "startDate": { + "$ref": "Date", + "description": "Required. The calendar date this special hour period starts on." + } + }, + "type": "object" + }, + "SpecialHours": { + "description": "Represents a set of time periods when a location's operational hours differ from its normal business hours.", + "id": "SpecialHours", + "properties": { + "specialHourPeriods": { + "description": "Required. A list of exceptions to the business's regular hours.", + "items": { + "$ref": "SpecialHourPeriod" + }, + "type": "array" + } + }, + "type": "object" + }, + "StructuredServiceItem": { + "description": "Represents a structured service offered by the merchant. For eg: toilet_installation.", + "id": "StructuredServiceItem", + "properties": { + "description": { + "description": "Optional. Description of structured service item. The character limit is 300.", + "type": "string" + }, + "serviceTypeId": { + "description": "Required. The `service_type_id` field is a Google provided unique ID that can be found in `ServiceType`. This information is provided by `BatchGetCategories` rpc service.", + "type": "string" + } + }, + "type": "object" + }, + "TimeOfDay": { + "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", + "id": "TimeOfDay", + "properties": { + "hours": { + "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "format": "int32", + "type": "integer" + }, + "minutes": { + "description": "Minutes of hour of day. Must be from 0 to 59.", + "format": "int32", + "type": "integer" + }, + "nanos": { + "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "format": "int32", + "type": "integer" + }, + "seconds": { + "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "TimePeriod": { + "description": "Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time. The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.", + "id": "TimePeriod", + "properties": { + "closeDay": { + "description": "Required. Indicates the day of the week this period ends on.", + "enum": [ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY" + ], + "enumDescriptions": [ + "The day of the week is unspecified.", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "type": "string" + }, + "closeTime": { + "$ref": "TimeOfDay", + "description": "Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field." + }, + "openDay": { + "description": "Required. Indicates the day of the week this period starts on.", + "enum": [ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY" + ], + "enumDescriptions": [ + "The day of the week is unspecified.", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "type": "string" + }, + "openTime": { + "$ref": "TimeOfDay", + "description": "Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field." + } + }, + "type": "object" + }, + "UriAttributeValue": { + "description": "Values for an attribute with a `value_type` of URL.", + "id": "UriAttributeValue", + "properties": { + "uri": { + "description": "Required. The proposed URI value for this attribute.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "My Business Business Information API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/mybusinesslodging__v1.json b/discovery/googleapis/mybusinesslodging__v1.json index ce9de88e0..cffc3e35f 100644 --- a/discovery/googleapis/mybusinesslodging__v1.json +++ b/discovery/googleapis/mybusinesslodging__v1.json @@ -192,7 +192,7 @@ } } }, - "revision": "20210721", + "revision": "20210901", "rootUrl": "https://mybusinesslodging.googleapis.com/", "schemas": { "Accessibility": { diff --git a/discovery/googleapis/mybusinessnotifications__v1.json b/discovery/googleapis/mybusinessnotifications__v1.json new file mode 100644 index 000000000..d7211b714 --- /dev/null +++ b/discovery/googleapis/mybusinessnotifications__v1.json @@ -0,0 +1,211 @@ +{ + "basePath": "", + "baseUrl": "https://mybusinessnotifications.googleapis.com/", + "batchPath": "batch", + "canonicalName": "My Business Notification Settings", + "description": "The My Business Notification Settings API enables managing notification settings for business accounts.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/my-business/", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "mybusinessnotifications:v1", + "kind": "discovery#restDescription", + "name": "mybusinessnotifications", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accounts": { + "methods": { + "getNotificationSetting": { + "description": "Returns the pubsub notification settings for the account.", + "flatPath": "v1/accounts/{accountsId}/notificationSetting", + "httpMethod": "GET", + "id": "mybusinessnotifications.accounts.getNotificationSetting", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the notification setting we are trying to fetch.", + "location": "path", + "pattern": "^accounts/[^/]+/notificationSetting$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "NotificationSetting" + } + }, + "updateNotificationSetting": { + "description": "Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types", + "flatPath": "v1/accounts/{accountsId}/notificationSetting", + "httpMethod": "PATCH", + "id": "mybusinessnotifications.accounts.updateNotificationSetting", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.", + "location": "path", + "pattern": "^accounts/[^/]+/notificationSetting$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The specific fields that should be updated. The only editable field is notification_setting.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "NotificationSetting" + }, + "response": { + "$ref": "NotificationSetting" + } + } + } + } + }, + "revision": "20210901", + "rootUrl": "https://mybusinessnotifications.googleapis.com/", + "schemas": { + "NotificationSetting": { + "description": "A Google Pub/Sub topic where notifications can be published when a location is updated or has a new review. There will be only one notification setting resource per-account.", + "id": "NotificationSetting", + "properties": { + "name": { + "description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.", + "type": "string" + }, + "notificationTypes": { + "description": "The types of notifications that will be sent to the Pub/Sub topic. To stop receiving notifications entirely, use NotificationSettings.UpdateNotificationSetting with an empty notification_types or set the pubsub_topic to an empty string.", + "items": { + "enum": [ + "NOTIFICATION_TYPE_UNSPECIFIED", + "GOOGLE_UPDATE", + "NEW_REVIEW", + "UPDATED_REVIEW", + "NEW_CUSTOMER_MEDIA", + "NEW_QUESTION", + "UPDATED_QUESTION", + "NEW_ANSWER", + "UPDATED_ANSWER", + "DUPLICATE_LOCATION", + "LOSS_OF_VOICE_OF_MERCHANT" + ], + "enumDescriptions": [ + "No notification type. Will not match any notifications.", + "The location has Google updates for review. The location_name field on the notification will provide the resource name of the location with Google updates.", + "A new review has been added to the location. The review_name field on the notification will provide the resource name of the review that was added, and location_name will have the location's resource name.", + "A review on the location has been updated. The review_name field on the notification will provide the resource name of the review that was added, and location_name will have the location's resource name.", + "A new media item has been added to the location by a Google Maps user. The notification will provide the resource name of the new media item.", + "A new question is added to the location. The notification will provide the resource name of question.", + "A question of the location is updated. The notification will provide the resource name of question.", + "A new answer is added to the location. The notification will provide the resource name of question and answer.", + "An answer of the location is updated. The notification will provide the resource name of question and answer.", + "Indicates whether there is a change in location metadata's duplicate location field.", + "Indicates whether the location has a loss in voice of merchant status. Call GetVoiceOfMerchantState rpc for more details" + ], + "type": "string" + }, + "type": "array" + }, + "pubsubTopic": { + "description": "Optional. The Google Pub/Sub topic that will receive notifications when locations managed by this account are updated. If unset, no notifications will be posted. The account mybusiness-api-pubsub@system.gserviceaccount.com must have at least Publish permissions on the Pub/Sub topic.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "My Business Notifications API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/mybusinessplaceactions__v1.json b/discovery/googleapis/mybusinessplaceactions__v1.json index 743659c63..d2967b3c5 100644 --- a/discovery/googleapis/mybusinessplaceactions__v1.json +++ b/discovery/googleapis/mybusinessplaceactions__v1.json @@ -279,7 +279,7 @@ } } }, - "revision": "20210721", + "revision": "20210901", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/googleapis/mybusinessverifications__v1.json b/discovery/googleapis/mybusinessverifications__v1.json new file mode 100644 index 000000000..a43c7f6db --- /dev/null +++ b/discovery/googleapis/mybusinessverifications__v1.json @@ -0,0 +1,721 @@ +{ + "basePath": "", + "baseUrl": "https://mybusinessverifications.googleapis.com/", + "batchPath": "batch", + "canonicalName": "My Business Verifications", + "description": "The My Business Verifications API provides an interface for taking verifications related actions for locations.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/my-business/", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "mybusinessverifications:v1", + "kind": "discovery#restDescription", + "name": "mybusinessverifications", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "locations": { + "methods": { + "fetchVerificationOptions": { + "description": "Reports all eligible verification options for a location in a specific language.", + "flatPath": "v1/locations/{locationsId}:fetchVerificationOptions", + "httpMethod": "POST", + "id": "mybusinessverifications.locations.fetchVerificationOptions", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The location to verify.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}:fetchVerificationOptions", + "request": { + "$ref": "FetchVerificationOptionsRequest" + }, + "response": { + "$ref": "FetchVerificationOptionsResponse" + } + }, + "getVoiceOfMerchantState": { + "description": "Gets the VoiceOfMerchant state.", + "flatPath": "v1/locations/{locationsId}/VoiceOfMerchantState", + "httpMethod": "GET", + "id": "mybusinessverifications.locations.getVoiceOfMerchantState", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the location.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}/VoiceOfMerchantState", + "response": { + "$ref": "VoiceOfMerchantState" + } + }, + "verify": { + "description": "Starts the verification process for a location.", + "flatPath": "v1/locations/{locationsId}:verify", + "httpMethod": "POST", + "id": "mybusinessverifications.locations.verify", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the location to verify.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:verify", + "request": { + "$ref": "VerifyLocationRequest" + }, + "response": { + "$ref": "VerifyLocationResponse" + } + } + }, + "resources": { + "verifications": { + "methods": { + "complete": { + "description": "Completes a `PENDING` verification. It is only necessary for non `AUTO` verification methods. `AUTO` verification request is instantly `VERIFIED` upon creation.", + "flatPath": "v1/locations/{locationsId}/verifications/{verificationsId}:complete", + "httpMethod": "POST", + "id": "mybusinessverifications.locations.verifications.complete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the verification to complete.", + "location": "path", + "pattern": "^locations/[^/]+/verifications/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:complete", + "request": { + "$ref": "CompleteVerificationRequest" + }, + "response": { + "$ref": "CompleteVerificationResponse" + } + }, + "list": { + "description": "List verifications of a location, ordered by create time.", + "flatPath": "v1/locations/{locationsId}/verifications", + "httpMethod": "GET", + "id": "mybusinessverifications.locations.verifications.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "How many verification to include per page. Minimum is 1, and the default and maximum page size is 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "If specified, returns the next page of verifications.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the location that verification requests belong to.", + "location": "path", + "pattern": "^locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/verifications", + "response": { + "$ref": "ListVerificationsResponse" + } + } + } + } + } + }, + "verificationTokens": { + "methods": { + "generate": { + "description": "Generates a token for the provided location data as a vetted [partner](https://support.google.com/business/answer/7674102). Throws PERMISSION_DENIED if the caller is not a vetted partner account. Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID.", + "flatPath": "v1/verificationTokens:generate", + "httpMethod": "POST", + "id": "mybusinessverifications.verificationTokens.generate", + "parameterOrder": [], + "parameters": {}, + "path": "v1/verificationTokens:generate", + "request": { + "$ref": "GenerateVerificationTokenRequest" + }, + "response": { + "$ref": "GenerateVerificationTokenResponse" + } + } + } + } + }, + "revision": "20210901", + "rootUrl": "https://mybusinessverifications.googleapis.com/", + "schemas": { + "AddressVerificationData": { + "description": "Display data for verifications through postcard.", + "id": "AddressVerificationData", + "properties": { + "address": { + "$ref": "PostalAddress", + "description": "Address that a postcard can be sent to." + }, + "business": { + "description": "Merchant's business name.", + "type": "string" + }, + "expectedDeliveryDaysRegion": { + "description": "Expected number of days it takes to deliver a postcard to the address's region.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CompleteVerificationRequest": { + "description": "Request message for Verifications.CompleteVerificationAction.", + "id": "CompleteVerificationRequest", + "properties": { + "pin": { + "description": "Required. PIN code received by the merchant to complete the verification.", + "type": "string" + } + }, + "type": "object" + }, + "CompleteVerificationResponse": { + "description": "Response message for Verifications.CompleteVerificationAction.", + "id": "CompleteVerificationResponse", + "properties": { + "verification": { + "$ref": "Verification", + "description": "The completed verification." + } + }, + "type": "object" + }, + "ComplyWithGuidelines": { + "description": "Indicates that the location fails to comply with our [guidelines](https://support.google.com/business/answer/3038177). To fix this issue, consult the [Help Center Article](https://support.google.com/business/answer/4569145).", + "id": "ComplyWithGuidelines", + "properties": {}, + "type": "object" + }, + "EmailVerificationData": { + "description": "Display data for verifications through email.", + "id": "EmailVerificationData", + "properties": { + "domain": { + "description": "Domain name in the email address. e.g. \"gmail.com\" in foo@gmail.com", + "type": "string" + }, + "isUserNameEditable": { + "description": "Whether client is allowed to provide a different user name.", + "type": "boolean" + }, + "user": { + "description": "User name in the email address. e.g. \"foo\" in foo@gmail.com", + "type": "string" + } + }, + "type": "object" + }, + "FetchVerificationOptionsRequest": { + "description": "Request message for Verifications.FetchVerificationOptions.", + "id": "FetchVerificationOptionsRequest", + "properties": { + "context": { + "$ref": "ServiceBusinessContext", + "description": "Optional. Extra context information for the verification of service businesses. Can only be applied to the locations whose business type is CUSTOMER_LOCATION_ONLY. Specifying an accurate address could enable more options. INVALID_ARGUMENT will be thrown if it is set for other business types of locations." + }, + "languageCode": { + "description": "Required. The BCP 47 language code representing the language that is to be used for the verification process. Available options vary by language.", + "type": "string" + } + }, + "type": "object" + }, + "FetchVerificationOptionsResponse": { + "description": "Response message for Verifications.FetchVerificationOptions.", + "id": "FetchVerificationOptionsResponse", + "properties": { + "options": { + "description": "The available verification options.", + "items": { + "$ref": "VerificationOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenerateVerificationTokenRequest": { + "description": "Request message for Verifications.GenerateVerificationToken.", + "id": "GenerateVerificationTokenRequest", + "properties": { + "location": { + "$ref": "Location", + "description": "Required. The target location." + } + }, + "type": "object" + }, + "GenerateVerificationTokenResponse": { + "description": "Response message for Verifications.GenerateVerificationToken.", + "id": "GenerateVerificationTokenResponse", + "properties": { + "token": { + "$ref": "VerificationToken", + "description": "The generated token to verify the location." + } + }, + "type": "object" + }, + "ListVerificationsResponse": { + "description": "Response message for Verifications.ListVerifications.", + "id": "ListVerificationsResponse", + "properties": { + "nextPageToken": { + "description": "If the number of verifications exceeded the requested page size, this field will be populated with a token to fetch the next page of verification on a subsequent call. If there are no more attributes, this field will not be present in the response.", + "type": "string" + }, + "verifications": { + "description": "List of the verifications.", + "items": { + "$ref": "Verification" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A subset of location info. See the [help center article] (https://support.google.com/business/answer/3038177) for a detailed description of these fields, or the [category endpoint](/my-business/reference/rest/v4/categories) for a list of valid business categories.", + "id": "Location", + "properties": { + "address": { + "$ref": "PostalAddress", + "description": "Required. A precise, accurate address to describe your business location. PO boxes or mailboxes located at remote locations are not acceptable. At this time, you can specify a maximum of five `address_lines` values in the address." + }, + "name": { + "description": "Required. Location name should reflect your business's real-world name, as used consistently on your storefront, website, and stationery, and as known to customers. Any additional information, when relevant, can be included in other fields of the resource (for example, `Address`, `Categories`). Don't add unnecessary information to your name (for example, prefer \"Google\" over \"Google Inc. - Mountain View Corporate Headquarters\"). Don't include marketing taglines, store codes, special characters, hours or closed/open status, phone numbers, website URLs, service/product information, location/address or directions, or containment information (for example, \"Chase ATM in Duane Reade\").", + "type": "string" + }, + "primaryCategoryId": { + "description": "Required. Id of the category that best describes the core business this location engages in.", + "type": "string" + }, + "primaryPhone": { + "description": "Optional. A phone number that connects to your individual business location as directly as possible. Use a local phone number instead of a central, call center helpline number whenever possible.", + "type": "string" + }, + "websiteUri": { + "description": "Optional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.", + "type": "string" + } + }, + "type": "object" + }, + "PostalAddress": { + "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "id": "PostalAddress", + "properties": { + "addressLines": { + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "items": { + "type": "string" + }, + "type": "array" + }, + "administrativeArea": { + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "type": "string" + }, + "languageCode": { + "description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", + "type": "string" + }, + "locality": { + "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", + "type": "string" + }, + "organization": { + "description": "Optional. The name of the organization at the address.", + "type": "string" + }, + "postalCode": { + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "type": "string" + }, + "recipients": { + "description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", + "items": { + "type": "string" + }, + "type": "array" + }, + "regionCode": { + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "type": "string" + }, + "revision": { + "description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", + "format": "int32", + "type": "integer" + }, + "sortingCode": { + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", + "type": "string" + }, + "sublocality": { + "description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", + "type": "string" + } + }, + "type": "object" + }, + "ResolveOwnershipConflict": { + "description": "Indicates that the location duplicates another location that is in good standing.", + "id": "ResolveOwnershipConflict", + "properties": {}, + "type": "object" + }, + "ServiceBusinessContext": { + "description": "Additional data for service business verification.", + "id": "ServiceBusinessContext", + "properties": { + "address": { + "$ref": "PostalAddress", + "description": "The verification address of the location. It is used to either enable more verification options or send a postcard." + } + }, + "type": "object" + }, + "Verification": { + "description": "A verification represents a verification attempt on a location.", + "id": "Verification", + "properties": { + "createTime": { + "description": "The timestamp when the verification is requested.", + "format": "google-datetime", + "type": "string" + }, + "method": { + "description": "The method of the verification.", + "enum": [ + "VERIFICATION_METHOD_UNSPECIFIED", + "ADDRESS", + "EMAIL", + "PHONE_CALL", + "SMS", + "AUTO", + "VETTED_PARTNER" + ], + "enumDescriptions": [ + "Default value, will result in errors.", + "Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google.", + "Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google.", + "Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", + "Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", + "Verify the location without additional user action. This option may not be available for all locations.", + "Used for vetted [partners](https://support.google.com/business/answer/7674102). This option may not be available for all locations." + ], + "type": "string" + }, + "name": { + "description": "Resource name of the verification.", + "type": "string" + }, + "state": { + "description": "The state of the verification.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "COMPLETED", + "FAILED" + ], + "enumDescriptions": [ + "Default value, will result in errors.", + "The verification is pending.", + "The verification is completed.", + "The verification is failed." + ], + "type": "string" + } + }, + "type": "object" + }, + "VerificationOption": { + "description": "The verification option represents how to verify the location (indicated by verification method) and where the verification will be sent to (indicated by display data).", + "id": "VerificationOption", + "properties": { + "addressData": { + "$ref": "AddressVerificationData", + "description": "Set only if the method is MAIL." + }, + "emailData": { + "$ref": "EmailVerificationData", + "description": "Set only if the method is EMAIL." + }, + "phoneNumber": { + "description": "Set only if the method is PHONE_CALL or SMS. Phone number that the PIN will be sent to.", + "type": "string" + }, + "verificationMethod": { + "description": "Method to verify the location.", + "enum": [ + "VERIFICATION_METHOD_UNSPECIFIED", + "ADDRESS", + "EMAIL", + "PHONE_CALL", + "SMS", + "AUTO", + "VETTED_PARTNER" + ], + "enumDescriptions": [ + "Default value, will result in errors.", + "Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google.", + "Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google.", + "Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", + "Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", + "Verify the location without additional user action. This option may not be available for all locations.", + "Used for vetted [partners](https://support.google.com/business/answer/7674102). This option may not be available for all locations." + ], + "type": "string" + } + }, + "type": "object" + }, + "VerificationToken": { + "description": "Token generated by a vetted [partner](https://support.google.com/business/answer/7674102).", + "id": "VerificationToken", + "properties": { + "tokenString": { + "description": "The token string.", + "type": "string" + } + }, + "type": "object" + }, + "Verify": { + "description": "Indicates that the location requires verification. Contains information about the current verification actions performed on the location.", + "id": "Verify", + "properties": { + "hasPendingVerification": { + "description": "Indicates whether a verification process has already started, and can be completed by the location.", + "type": "boolean" + } + }, + "type": "object" + }, + "VerifyLocationRequest": { + "description": "Request message for Verifications.VerifyLocation.", + "id": "VerifyLocationRequest", + "properties": { + "context": { + "$ref": "ServiceBusinessContext", + "description": "Optional. Extra context information for the verification of service businesses. It is only required for the locations whose business type is CUSTOMER_LOCATION_ONLY. For ADDRESS verification, the address will be used to send out postcard. For other methods, it should be the same as the one that is passed to GetVerificationOptions. INVALID_ARGUMENT will be thrown if it is set for other types of business locations." + }, + "emailAddress": { + "description": "Optional. The input for EMAIL method. Email address where the PIN should be sent to. An email address is accepted only if it is one of the addresses provided by FetchVerificationOptions. If the EmailVerificationData has is_user_name_editable set to true, the client may specify a different user name (local-part) but must match the domain name.", + "type": "string" + }, + "languageCode": { + "description": "Optional. The BCP 47 language code representing the language that is to be used for the verification process.", + "type": "string" + }, + "mailerContact": { + "description": "Optional. The input for ADDRESS method. Contact name the mail should be sent to.", + "type": "string" + }, + "method": { + "description": "Required. Verification method.", + "enum": [ + "VERIFICATION_METHOD_UNSPECIFIED", + "ADDRESS", + "EMAIL", + "PHONE_CALL", + "SMS", + "AUTO", + "VETTED_PARTNER" + ], + "enumDescriptions": [ + "Default value, will result in errors.", + "Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google.", + "Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google.", + "Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", + "Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", + "Verify the location without additional user action. This option may not be available for all locations.", + "Used for vetted [partners](https://support.google.com/business/answer/7674102). This option may not be available for all locations." + ], + "type": "string" + }, + "phoneNumber": { + "description": "Optional. The input for PHONE_CALL/SMS method The phone number that should be called or be sent SMS to. It must be one of the phone numbers in the eligible options.", + "type": "string" + }, + "token": { + "$ref": "VerificationToken", + "description": "Optional. The input for VETTED_PARTNER method available to select [partners.](https://support.google.com/business/answer/7674102) The input is not needed for a vetted account. Token that is associated to the location. Token that is associated to the location." + } + }, + "type": "object" + }, + "VerifyLocationResponse": { + "description": "Response message for Verifications.VerifyLocation.", + "id": "VerifyLocationResponse", + "properties": { + "verification": { + "$ref": "Verification", + "description": "The created verification request." + } + }, + "type": "object" + }, + "VoiceOfMerchantState": { + "description": "Response message for VoiceOfMerchant.GetVoiceOfMerchantState.", + "id": "VoiceOfMerchantState", + "properties": { + "complyWithGuidelines": { + "$ref": "ComplyWithGuidelines", + "description": "The location fails to comply with our [guidelines](https://support.google.com/business/answer/3038177) and requires additional steps for reinstatement. To fix this issue, consult the [Help Center Article](https://support.google.com/business/answer/4569145)." + }, + "hasBusinessAuthority": { + "description": "Indicates whether the location has the authority (ownership) over the business on Google. If true, another location cannot take over and become the dominant listing on Maps. However, edits will not become live unless Voice of Merchant is gained (i.e. has_voice_of_merchant is true).", + "type": "boolean" + }, + "hasVoiceOfMerchant": { + "description": "Indicates whether the location is in good standing and has control over the business on Google. Any edits made to the location will propagate to Maps after passing the review phase.", + "type": "boolean" + }, + "resolveOwnershipConflict": { + "$ref": "ResolveOwnershipConflict", + "description": "This location duplicates another location that is in good standing. If you have access to the location in good standing, use that location's id to perform operations. Otherwise, request access from the current owner." + }, + "verify": { + "$ref": "Verify", + "description": "Start or continue the verification process." + }, + "waitForVoiceOfMerchant": { + "$ref": "WaitForVoiceOfMerchant", + "description": "Wait to gain Voice of Merchant. The location is under review for quality purposes." + } + }, + "type": "object" + }, + "WaitForVoiceOfMerchant": { + "description": "Indicates that the location will gain voice of merchant after passing review.", + "id": "WaitForVoiceOfMerchant", + "properties": {}, + "type": "object" + } + }, + "servicePath": "", + "title": "My Business Verifications API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/networkmanagement__v1.json b/discovery/googleapis/networkmanagement__v1.json index 53ff33ff1..c5d0b379e 100644 --- a/discovery/googleapis/networkmanagement__v1.json +++ b/discovery/googleapis/networkmanagement__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -589,7 +589,7 @@ } } }, - "revision": "20210624", + "revision": "20210818", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1506,7 +1506,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -1623,7 +1623,8 @@ "NEXT_HOP_VPN_GATEWAY", "NEXT_HOP_INTERNET_GATEWAY", "NEXT_HOP_BLACKHOLE", - "NEXT_HOP_ILB" + "NEXT_HOP_ILB", + "NEXT_HOP_ROUTER_APPLIANCE" ], "enumDescriptions": [ "Unspecified type. Default value.", @@ -1636,7 +1637,8 @@ "Next hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.", "Next hop is an internet gateway.", "Next hop is blackhole; that is, the next hop either does not exist or is not running.", - "Next hop is the forwarding rule of an Internal Load Balancer." + "Next hop is the forwarding rule of an Internal Load Balancer.", + "Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview)." ], "type": "string" }, diff --git a/discovery/googleapis/networksecurity__v1.json b/discovery/googleapis/networksecurity__v1.json new file mode 100644 index 000000000..98ab6bb48 --- /dev/null +++ b/discovery/googleapis/networksecurity__v1.json @@ -0,0 +1,1762 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://networksecurity.googleapis.com/", + "batchPath": "batch", + "canonicalName": "NetworkSecurity", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/networking", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "networksecurity:v1", + "kind": "discovery#restDescription", + "name": "networksecurity", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "authorizationPolicies": { + "methods": { + "create": { + "description": "Creates a new AuthorizationPolicy in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.authorizationPolicies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "authorizationPolicyId": { + "description": "Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"authz_policy\".", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizationPolicies", + "request": { + "$ref": "AuthorizationPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single AuthorizationPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}", + "httpMethod": "DELETE", + "id": "networksecurity.projects.locations.authorizationPolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the AuthorizationPolicy to delete. Must be in the format `projects/{project}/locations/{location}/authorizationPolicies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single AuthorizationPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.authorizationPolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the AuthorizationPolicy to get. Must be in the format `projects/{project}/locations/{location}/authorizationPolicies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "AuthorizationPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}:getIamPolicy", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.authorizationPolicies.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists AuthorizationPolicies in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.authorizationPolicies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of AuthorizationPolicies to return per call.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListAuthorizationPoliciesResponse` Indicates that this is a continuation of a prior `ListAuthorizationPolicies` call, and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizationPolicies", + "response": { + "$ref": "ListAuthorizationPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single AuthorizationPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}", + "httpMethod": "PATCH", + "id": "networksecurity.projects.locations.authorizationPolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project}/locations/{location}/authorizationPolicies/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "AuthorizationPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}:setIamPolicy", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.authorizationPolicies.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}:testIamPermissions", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.authorizationPolicies.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "clientTlsPolicies": { + "methods": { + "create": { + "description": "Creates a new ClientTlsPolicy in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.clientTlsPolicies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "clientTlsPolicyId": { + "description": "Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"client_mtls_policy\".", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the ClientTlsPolicy. Must be in the format `projects/*/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/clientTlsPolicies", + "request": { + "$ref": "ClientTlsPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ClientTlsPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}", + "httpMethod": "DELETE", + "id": "networksecurity.projects.locations.clientTlsPolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/*/locations/{location}/clientTlsPolicies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single ClientTlsPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.clientTlsPolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/*/locations/{location}/clientTlsPolicies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ClientTlsPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}:getIamPolicy", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.clientTlsPolicies.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists ClientTlsPolicies in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.clientTlsPolicies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of ClientTlsPolicies to return per call.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListClientTlsPolicies` call, and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format `projects/*/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/clientTlsPolicies", + "response": { + "$ref": "ListClientTlsPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single ClientTlsPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}", + "httpMethod": "PATCH", + "id": "networksecurity.projects.locations.clientTlsPolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ClientTlsPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}:setIamPolicy", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.clientTlsPolicies.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}:testIamPermissions", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.clientTlsPolicies.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "networksecurity.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "serverTlsPolicies": { + "methods": { + "create": { + "description": "Creates a new ServerTlsPolicy in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.serverTlsPolicies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "serverTlsPolicyId": { + "description": "Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"server_mtls_policy\".", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/serverTlsPolicies", + "request": { + "$ref": "ServerTlsPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ServerTlsPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}", + "httpMethod": "DELETE", + "id": "networksecurity.projects.locations.serverTlsPolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*/locations/{location}/serverTlsPolicies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single ServerTlsPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.serverTlsPolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*/locations/{location}/serverTlsPolicies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ServerTlsPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}:getIamPolicy", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.serverTlsPolicies.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists ServerTlsPolicies in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.serverTlsPolicies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of ServerTlsPolicies to return per call.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/serverTlsPolicies", + "response": { + "$ref": "ListServerTlsPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single ServerTlsPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}", + "httpMethod": "PATCH", + "id": "networksecurity.projects.locations.serverTlsPolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ServerTlsPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}:setIamPolicy", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.serverTlsPolicies.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}:testIamPermissions", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.serverTlsPolicies.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20210823", + "rootUrl": "https://networksecurity.googleapis.com/", + "schemas": { + "AuthorizationPolicy": { + "description": "AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections. This resource in itself does not change the configuration unless it's attached to a target https proxy or endpoint config selector resource.", + "id": "AuthorizationPolicy", + "properties": { + "action": { + "description": "Required. The action to take when a rule match is found. Possible values are \"ALLOW\" or \"DENY\".", + "enum": [ + "ACTION_UNSPECIFIED", + "ALLOW", + "DENY" + ], + "enumDescriptions": [ + "Default value.", + "Grant access.", + "Deny access." + ], + "type": "string" + }, + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Free-text description of the resource.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of label tags associated with the AuthorizationPolicy resource.", + "type": "object" + }, + "name": { + "description": "Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project}/locations/{location}/authorizationPolicies/`.", + "type": "string" + }, + "rules": { + "description": "Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the `action` field will be applied on every request.", + "items": { + "$ref": "Rule" + }, + "type": "array" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CertificateProviderInstance": { + "description": "Specification of a TLS certificate provider instance. Workloads may have one or more CertificateProvider instances (plugins) and one of them is enabled and configured by specifying this message. Workloads use the values from this message to locate and load the CertificateProvider instance configuration.", + "id": "CertificateProviderInstance", + "properties": { + "pluginInstance": { + "description": "Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\" to use Certificate Authority Service certificate provider instance.", + "type": "string" + } + }, + "type": "object" + }, + "ClientTlsPolicy": { + "description": "ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.", + "id": "ClientTlsPolicy", + "properties": { + "clientCertificate": { + "$ref": "GoogleCloudNetworksecurityV1CertificateProvider", + "description": "Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS." + }, + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Free-text description of the resource.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Set of label tags associated with the resource.", + "type": "object" + }, + "name": { + "description": "Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`", + "type": "string" + }, + "serverValidationCa": { + "description": "Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.", + "items": { + "$ref": "ValidationCA" + }, + "type": "array" + }, + "sni": { + "description": "Optional. Server Name Indication string to present to the server during TLS handshake. E.g: \"secure.example.com\".", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Destination": { + "description": "Specification of traffic destination attributes.", + "id": "Destination", + "properties": { + "hosts": { + "description": "Required. List of host names to match. Matched against HOST header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example \"mydomain.*\") or a suffix match (example // *.myorg.com\") or a presence(any) match \"*\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpHeaderMatch": { + "$ref": "HttpHeaderMatch", + "description": "Optional. Match against key:value pair in http header. Provides a flexible match based on HTTP headers, for potentially advanced use cases. At least one header should match." + }, + "methods": { + "description": "Optional. A list of HTTP methods to match. At least one method should match. Should not be set for gRPC services.", + "items": { + "type": "string" + }, + "type": "array" + }, + "ports": { + "description": "Required. List of destination ports to match. At least one port should match.", + "items": { + "format": "uint32", + "type": "integer" + }, + "type": "array" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudNetworksecurityV1CertificateProvider": { + "description": "Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication.", + "id": "GoogleCloudNetworksecurityV1CertificateProvider", + "properties": { + "certificateProviderInstance": { + "$ref": "CertificateProviderInstance", + "description": "The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information." + }, + "grpcEndpoint": { + "$ref": "GoogleCloudNetworksecurityV1GrpcEndpoint", + "description": "gRPC specific configuration to access the gRPC server to obtain the cert and private key." + } + }, + "type": "object" + }, + "GoogleCloudNetworksecurityV1GrpcEndpoint": { + "description": "Specification of the GRPC Endpoint.", + "id": "GoogleCloudNetworksecurityV1GrpcEndpoint", + "properties": { + "targetUri": { + "description": "Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with “unix:”.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV1AuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "id": "GoogleIamV1AuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "GoogleIamV1AuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV1AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "GoogleIamV1AuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV1Binding": { + "description": "Associates `members` with a `role`.", + "id": "GoogleIamV1Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV1Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "GoogleIamV1Policy", + "properties": { + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "items": { + "$ref": "GoogleIamV1AuditConfig" + }, + "type": "array" + }, + "bindings": { + "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.", + "items": { + "$ref": "GoogleIamV1Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleIamV1SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "GoogleIamV1SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "GoogleIamV1Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + }, + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV1TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "GoogleIamV1TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIamV1TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "GoogleIamV1TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "HttpHeaderMatch": { + "description": "Specification of HTTP header match atrributes.", + "id": "HttpHeaderMatch", + "properties": { + "headerName": { + "description": "Required. The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name \":authority\". For matching a request's method, use the headerName \":method\".", + "type": "string" + }, + "regexMatch": { + "description": "Required. The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to Host and a regular expression that satisfies the RFC2616 Host header's port specifier.", + "type": "string" + } + }, + "type": "object" + }, + "ListAuthorizationPoliciesResponse": { + "description": "Response returned by the ListAuthorizationPolicies method.", + "id": "ListAuthorizationPoliciesResponse", + "properties": { + "authorizationPolicies": { + "description": "List of AuthorizationPolicies resources.", + "items": { + "$ref": "AuthorizationPolicy" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + } + }, + "type": "object" + }, + "ListClientTlsPoliciesResponse": { + "description": "Response returned by the ListClientTlsPolicies method.", + "id": "ListClientTlsPoliciesResponse", + "properties": { + "clientTlsPolicies": { + "description": "List of ClientTlsPolicy resources.", + "items": { + "$ref": "ClientTlsPolicy" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListServerTlsPoliciesResponse": { + "description": "Response returned by the ListServerTlsPolicies method.", + "id": "ListServerTlsPoliciesResponse", + "properties": { + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", + "type": "string" + }, + "serverTlsPolicies": { + "description": "List of ServerTlsPolicy resources.", + "items": { + "$ref": "ServerTlsPolicy" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "MTLSPolicy": { + "description": "Specification of the MTLSPolicy.", + "id": "MTLSPolicy", + "properties": { + "clientValidationCa": { + "description": " Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.", + "items": { + "$ref": "ValidationCA" + }, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Rule": { + "description": "Specification of rules.", + "id": "Rule", + "properties": { + "destinations": { + "description": "Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.", + "items": { + "$ref": "Destination" + }, + "type": "array" + }, + "sources": { + "description": "Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.", + "items": { + "$ref": "Source" + }, + "type": "array" + } + }, + "type": "object" + }, + "ServerTlsPolicy": { + "description": "ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target https proxy or endpoint config selector resource. ", + "id": "ServerTlsPolicy", + "properties": { + "allowOpen": { + "description": " Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility.", + "type": "boolean" + }, + "createTime": { + "description": "Output only. The timestamp when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Free-text description of the resource.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Set of label tags associated with the resource.", + "type": "object" + }, + "mtlsPolicy": { + "$ref": "MTLSPolicy", + "description": " Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections." + }, + "name": { + "description": "Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`", + "type": "string" + }, + "serverCertificate": { + "$ref": "GoogleCloudNetworksecurityV1CertificateProvider", + "description": " Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported." + }, + "updateTime": { + "description": "Output only. The timestamp when the resource was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Source": { + "description": "Specification of traffic source attributes.", + "id": "Source", + "properties": { + "ipBlocks": { + "description": "Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g., \"1.2.3.0/24\") are supported.", + "items": { + "type": "string" + }, + "type": "array" + }, + "principals": { + "description": "Optional. List of peer identities to match for authorization. At least one principal should match. Each peer can be an exact match, or a prefix match (example, \"namespace/*\") or a suffix match (example, // */service-account\") or a presence match \"*\".", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "ValidationCA": { + "description": "Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate.", + "id": "ValidationCA", + "properties": { + "certificateProviderInstance": { + "$ref": "CertificateProviderInstance", + "description": "The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information." + }, + "grpcEndpoint": { + "$ref": "GoogleCloudNetworksecurityV1GrpcEndpoint", + "description": "gRPC specific configuration to access the gRPC server to obtain the CA certificate." + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Network Security API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/networkservices__v1.json b/discovery/googleapis/networkservices__v1.json new file mode 100644 index 000000000..3815180c5 --- /dev/null +++ b/discovery/googleapis/networkservices__v1.json @@ -0,0 +1,943 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://networkservices.googleapis.com/", + "batchPath": "batch", + "canonicalName": "NetworkServices", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/networking", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "networkservices:v1", + "kind": "discovery#restDescription", + "name": "networkservices", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "networkservices.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "networkservices.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "edgeCacheKeysets": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheKeysets/{edgeCacheKeysetsId}:getIamPolicy", + "httpMethod": "GET", + "id": "networkservices.projects.locations.edgeCacheKeysets.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheKeysets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheKeysets/{edgeCacheKeysetsId}:setIamPolicy", + "httpMethod": "POST", + "id": "networkservices.projects.locations.edgeCacheKeysets.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheKeysets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheKeysets/{edgeCacheKeysetsId}:testIamPermissions", + "httpMethod": "POST", + "id": "networkservices.projects.locations.edgeCacheKeysets.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheKeysets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "edgeCacheOrigins": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheOrigins/{edgeCacheOriginsId}:getIamPolicy", + "httpMethod": "GET", + "id": "networkservices.projects.locations.edgeCacheOrigins.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheOrigins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheOrigins/{edgeCacheOriginsId}:setIamPolicy", + "httpMethod": "POST", + "id": "networkservices.projects.locations.edgeCacheOrigins.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheOrigins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheOrigins/{edgeCacheOriginsId}:testIamPermissions", + "httpMethod": "POST", + "id": "networkservices.projects.locations.edgeCacheOrigins.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheOrigins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "edgeCacheServices": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheServices/{edgeCacheServicesId}:getIamPolicy", + "httpMethod": "GET", + "id": "networkservices.projects.locations.edgeCacheServices.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheServices/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheServices/{edgeCacheServicesId}:setIamPolicy", + "httpMethod": "POST", + "id": "networkservices.projects.locations.edgeCacheServices.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheServices/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/edgeCacheServices/{edgeCacheServicesId}:testIamPermissions", + "httpMethod": "POST", + "id": "networkservices.projects.locations.edgeCacheServices.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/edgeCacheServices/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "networkservices.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "networkservices.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "networkservices.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "networkservices.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20210811", + "rootUrl": "https://networkservices.googleapis.com/", + "schemas": { + "AuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "id": "AuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "AuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "AuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members` with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "items": { + "$ref": "AuditConfig" + }, + "type": "array" + }, + "bindings": { + "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + }, + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Network Services API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/notebooks__v1.json b/discovery/googleapis/notebooks__v1.json index 929d18508..73cf335b6 100644 --- a/discovery/googleapis/notebooks__v1.json +++ b/discovery/googleapis/notebooks__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -368,7 +368,7 @@ ], "parameters": { "name": { - "description": "Required. Format: `projects/{project_id}/locations/{location}/schedules/{execution_id}`", + "description": "Required. Format: `projects/{project_id}/locations/{location}/executions/{execution_id}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/executions/[^/]+$", "required": true, @@ -1607,7 +1607,7 @@ } } }, - "revision": "20210715", + "revision": "20210812", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1697,6 +1697,17 @@ }, "type": "object" }, + "DataprocParameters": { + "description": "Parameters used in Dataproc JobType executions.", + "id": "DataprocParameters", + "properties": { + "cluster": { + "description": "URI for cluster used to run Dataproc execution. Format: 'projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}", + "type": "string" + } + }, + "type": "object" + }, "Disk": { "description": "An instance-attached disk resource.", "id": "Disk", @@ -1926,10 +1937,28 @@ "description": "Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container", "type": "string" }, + "dataprocParameters": { + "$ref": "DataprocParameters", + "description": "Parameters used in Dataproc JobType executions." + }, "inputNotebookFile": { "description": "Path to the notebook file to execute. Must be in a Google Cloud Storage bucket. Format: gs://{project_id}/{folder}/{notebook_file_name} Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb", "type": "string" }, + "jobType": { + "description": "The type of Job to be used on this execution.", + "enum": [ + "JOB_TYPE_UNSPECIFIED", + "VERTEX_AI", + "DATAPROC" + ], + "enumDescriptions": [ + "No type specified.", + "Custom Job in `aiplatform.googleapis.com`. Default value for an execution.", + "Run execution on a cluster with Dataproc as a job. https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs" + ], + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" @@ -2714,7 +2743,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis/ondemandscanning__v1.json b/discovery/googleapis/ondemandscanning__v1.json index ad3594083..cf5f9c9d8 100644 --- a/discovery/googleapis/ondemandscanning__v1.json +++ b/discovery/googleapis/ondemandscanning__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -337,7 +337,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -491,6 +491,10 @@ "description": "Details of a build occurrence.", "id": "BuildOccurrence", "properties": { + "intotoProvenance": { + "$ref": "InTotoProvenance", + "description": "In-toto Provenance representation as defined in spec." + }, "provenance": { "$ref": "BuildProvenance", "description": "Required. The actual provenance for the build." @@ -573,6 +577,15 @@ }, "type": "object" }, + "BuilderConfig": { + "id": "BuilderConfig", + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, "Category": { "description": "The category to which the update belongs.", "id": "Category", @@ -647,6 +660,25 @@ }, "type": "object" }, + "Completeness": { + "description": "Indicates that the builder claims certain fields in this message to be complete.", + "id": "Completeness", + "properties": { + "arguments": { + "description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.", + "type": "boolean" + }, + "environment": { + "description": "If true, the builder claims that recipe.environment is claimed to be complete.", + "type": "boolean" + }, + "materials": { + "description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".", + "type": "boolean" + } + }, + "type": "object" + }, "ComplianceOccurrence": { "description": "An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.", "id": "ComplianceOccurrence", @@ -663,6 +695,19 @@ }, "type": "object" }, + "DSSEAttestationOccurrence": { + "id": "DSSEAttestationOccurrence", + "properties": { + "envelope": { + "$ref": "Envelope", + "description": "If doing something security critical, make sure to verify the signatures in this metadata." + }, + "statement": { + "$ref": "InTotoStatement" + } + }, + "type": "object" + }, "DeploymentOccurrence": { "description": "The period during which some deployable was active in a runtime.", "id": "DeploymentOccurrence", @@ -775,6 +820,39 @@ "properties": {}, "type": "object" }, + "Envelope": { + "description": "MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.", + "id": "Envelope", + "properties": { + "payload": { + "format": "byte", + "type": "string" + }, + "payloadType": { + "type": "string" + }, + "signatures": { + "items": { + "$ref": "EnvelopeSignature" + }, + "type": "array" + } + }, + "type": "object" + }, + "EnvelopeSignature": { + "id": "EnvelopeSignature", + "properties": { + "keyid": { + "type": "string" + }, + "sig": { + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, "FileHashes": { "description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.", "id": "FileHashes", @@ -908,6 +986,54 @@ }, "type": "object" }, + "InTotoProvenance": { + "id": "InTotoProvenance", + "properties": { + "builderConfig": { + "$ref": "BuilderConfig", + "description": "required" + }, + "materials": { + "description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "$ref": "Metadata" + }, + "recipe": { + "$ref": "Recipe", + "description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required" + } + }, + "type": "object" + }, + "InTotoStatement": { + "description": "Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always \"application/vnd.in-toto+json\".", + "id": "InTotoStatement", + "properties": { + "predicateType": { + "description": "\"https://in-toto.io/Provenance/v0.1\" for InTotoProvenance.", + "type": "string" + }, + "provenance": { + "$ref": "InTotoProvenance" + }, + "subject": { + "items": { + "$ref": "Subject" + }, + "type": "array" + }, + "type": { + "description": "Always \"https://in-toto.io/Statement/v0.1\".", + "type": "string" + } + }, + "type": "object" + }, "Jwt": { "id": "Jwt", "properties": { @@ -988,6 +1114,35 @@ }, "type": "object" }, + "Metadata": { + "description": "Other properties of the build.", + "id": "Metadata", + "properties": { + "buildFinishedOn": { + "description": "The timestamp of when the build completed.", + "format": "google-datetime", + "type": "string" + }, + "buildInvocationId": { + "description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.", + "type": "string" + }, + "buildStartedOn": { + "description": "The timestamp of when the build started.", + "format": "google-datetime", + "type": "string" + }, + "completeness": { + "$ref": "Completeness", + "description": "Indicates that the builder claims certain fields in this message to be complete." + }, + "reproducible": { + "description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.", + "type": "boolean" + } + }, + "type": "object" + }, "NonCompliantFile": { "description": "Details about files that caused a compliance check to fail.", "id": "NonCompliantFile", @@ -1036,6 +1191,14 @@ "$ref": "DiscoveryOccurrence", "description": "Describes when a resource was discovered." }, + "dsseAttestation": { + "$ref": "DSSEAttestationOccurrence", + "description": "Describes an attestation of an artifact using dsse." + }, + "envelope": { + "$ref": "Envelope", + "description": "https://github.com/secure-systems-lab/dsse" + }, "image": { "$ref": "ImageOccurrence", "description": "Describes how this resource derives from the basis in the associated note." @@ -1052,7 +1215,8 @@ "DISCOVERY", "ATTESTATION", "UPGRADE", - "COMPLIANCE" + "COMPLIANCE", + "DSSE_ATTESTATION" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1064,7 +1228,8 @@ "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", "This represents an available package upgrade.", - "This represents a Compliance Note" + "This represents a Compliance Note", + "This represents a DSSE attestation Note" ], "type": "string" }, @@ -1202,6 +1367,27 @@ "$ref": "Version", "description": "Required. The version of the package that is installed on the resource affected by this vulnerability." }, + "effectiveSeverity": { + "description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "MINIMAL", + "LOW", + "MEDIUM", + "HIGH", + "CRITICAL" + ], + "enumDescriptions": [ + "Unknown.", + "Minimal severity.", + "Low severity.", + "Medium severity.", + "High severity.", + "Critical severity." + ], + "readOnly": true, + "type": "string" + }, "fixAvailable": { "description": "Output only. Whether a fix is available for this package.", "type": "boolean" @@ -1217,6 +1403,10 @@ "fixedVersion": { "$ref": "Version", "description": "Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available." + }, + "packageType": { + "description": "The type of package (e.g. OS, MAVEN, GO).", + "type": "string" } }, "type": "object" @@ -1254,6 +1444,48 @@ }, "type": "object" }, + "Recipe": { + "description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", + "id": "Recipe", + "properties": { + "arguments": { + "description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "definedInMaterial": { + "description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.", + "format": "int64", + "type": "string" + }, + "entryPoint": { + "description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.", + "type": "string" + }, + "environment": { + "description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "type": { + "description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.", + "type": "string" + } + }, + "type": "object" + }, "RelatedUrl": { "description": "Metadata for any related URL information.", "id": "RelatedUrl", @@ -1382,6 +1614,22 @@ }, "type": "object" }, + "Subject": { + "id": "Subject", + "properties": { + "digest": { + "additionalProperties": { + "type": "string" + }, + "description": "\"\": \"\"", + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, "UpgradeDistribution": { "description": "The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.", "id": "UpgradeDistribution", @@ -1485,7 +1733,7 @@ "type": "number" }, "effectiveSeverity": { - "description": "The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity.", + "description": "The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.", "enum": [ "SEVERITY_UNSPECIFIED", "MINIMAL", diff --git a/discovery/googleapis/orgpolicy__v2.json b/discovery/googleapis/orgpolicy__v2.json index 5ad9d2e08..30925d5e3 100644 --- a/discovery/googleapis/orgpolicy__v2.json +++ b/discovery/googleapis/orgpolicy__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -749,7 +749,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://orgpolicy.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2Constraint": { diff --git a/discovery/googleapis/osconfig__v1.json b/discovery/googleapis/osconfig__v1.json index c00de3b7a..1f89559c0 100644 --- a/discovery/googleapis/osconfig__v1.json +++ b/discovery/googleapis/osconfig__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -103,78 +103,186 @@ }, "protocol": "rest", "resources": { - "operations": { - "methods": { - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "osconfig.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1/operations", - "httpMethod": "GET", - "id": "osconfig.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "projects": { "resources": { + "locations": { + "resources": { + "instances": { + "resources": { + "inventories": { + "methods": { + "get": { + "description": "Get inventory data for the specified VM instance. If the VM has no associated inventory, the message `NOT_FOUND` is returned.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/inventory", + "httpMethod": "GET", + "id": "osconfig.projects.locations.instances.inventories.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "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.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/inventory$", + "required": true, + "type": "string" + }, + "view": { + "description": "Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.", + "enum": [ + "INVENTORY_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "The default value. The API defaults to the BASIC view.", + "Returns the basic inventory information that includes `os_info`.", + "Returns all fields." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Inventory" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List inventory data for all VM instances in the specified zone.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/inventories", + "httpMethod": "GET", + "id": "osconfig.projects.locations.instances.inventories.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/-` For `{project}`, either `project-number` or `project-id` can be provided.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.", + "enum": [ + "INVENTORY_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "The default value. The API defaults to the BASIC view.", + "Returns the basic inventory information that includes `os_info`.", + "Returns all fields." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/inventories", + "response": { + "$ref": "ListInventoriesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "vulnerabilityReports": { + "methods": { + "get": { + "description": "Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/vulnerabilityReport", + "httpMethod": "GET", + "id": "osconfig.projects.locations.instances.vulnerabilityReports.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. API resource name for vulnerability resource. Format: `projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport` For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/vulnerabilityReport$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "VulnerabilityReport" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List vulnerability reports for all VM instances in the specified zone.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/vulnerabilityReports", + "httpMethod": "GET", + "id": "osconfig.projects.locations.instances.vulnerabilityReports.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "If provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/-` For `{project}`, either `project-number` or `project-id` can be provided.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/vulnerabilityReports", + "response": { + "$ref": "ListVulnerabilityReportsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + }, "patchDeployments": { "methods": { "create": { @@ -474,7 +582,7 @@ } } }, - "revision": "20210710", + "revision": "20210821", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -512,6 +620,152 @@ }, "type": "object" }, + "CVSSv3": { + "description": "Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document", + "id": "CVSSv3", + "properties": { + "attackComplexity": { + "description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", + "enum": [ + "ATTACK_COMPLEXITY_UNSPECIFIED", + "ATTACK_COMPLEXITY_LOW", + "ATTACK_COMPLEXITY_HIGH" + ], + "enumDescriptions": [ + "Invalid value.", + "Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", + "A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." + ], + "type": "string" + }, + "attackVector": { + "description": "This metric reflects the context by which vulnerability exploitation is possible.", + "enum": [ + "ATTACK_VECTOR_UNSPECIFIED", + "ATTACK_VECTOR_NETWORK", + "ATTACK_VECTOR_ADJACENT", + "ATTACK_VECTOR_LOCAL", + "ATTACK_VECTOR_PHYSICAL" + ], + "enumDescriptions": [ + "Invalid value.", + "The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", + "The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", + "The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", + "The attack requires the attacker to physically touch or manipulate the vulnerable component." + ], + "type": "string" + }, + "availabilityImpact": { + "description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE" + ], + "enumDescriptions": [ + "Invalid value.", + "High impact.", + "Low impact.", + "No impact." + ], + "type": "string" + }, + "baseScore": { + "description": "The base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics", + "format": "float", + "type": "number" + }, + "confidentialityImpact": { + "description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE" + ], + "enumDescriptions": [ + "Invalid value.", + "High impact.", + "Low impact.", + "No impact." + ], + "type": "string" + }, + "exploitabilityScore": { + "description": "The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics", + "format": "float", + "type": "number" + }, + "impactScore": { + "description": "The Impact sub-score equation is derived from the Base Impact metrics.", + "format": "float", + "type": "number" + }, + "integrityImpact": { + "description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE" + ], + "enumDescriptions": [ + "Invalid value.", + "High impact.", + "Low impact.", + "No impact." + ], + "type": "string" + }, + "privilegesRequired": { + "description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", + "enum": [ + "PRIVILEGES_REQUIRED_UNSPECIFIED", + "PRIVILEGES_REQUIRED_NONE", + "PRIVILEGES_REQUIRED_LOW", + "PRIVILEGES_REQUIRED_HIGH" + ], + "enumDescriptions": [ + "Invalid value.", + "The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", + "The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", + "The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." + ], + "type": "string" + }, + "scope": { + "description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", + "enum": [ + "SCOPE_UNSPECIFIED", + "SCOPE_UNCHANGED", + "SCOPE_CHANGED" + ], + "enumDescriptions": [ + "Invalid value.", + "An exploited vulnerability can only affect resources managed by the same security authority.", + "An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." + ], + "type": "string" + }, + "userInteraction": { + "description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", + "enum": [ + "USER_INTERACTION_UNSPECIFIED", + "USER_INTERACTION_NONE", + "USER_INTERACTION_REQUIRED" + ], + "enumDescriptions": [ + "Invalid value.", + "The vulnerable system can be exploited without interaction from any user.", + "Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." + ], + "type": "string" + } + }, + "type": "object" + }, "CancelPatchJobRequest": { "description": "Message for canceling a patch job.", "id": "CancelPatchJobRequest", @@ -656,7 +910,7 @@ "type": "object" }, "Inventory": { - "description": "The inventory details of a VM.", + "description": "This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).", "id": "Inventory", "properties": { "items": { @@ -666,9 +920,20 @@ "description": "Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.", "type": "object" }, + "name": { + "description": "Output only. The `Inventory` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`", + "readOnly": true, + "type": "string" + }, "osInfo": { "$ref": "InventoryOsInfo", "description": "Base level operating system information for the VM." + }, + "updateTime": { + "description": "Output only. Timestamp of the last reported inventory for the VM.", + "format": "google-datetime", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -941,20 +1206,20 @@ }, "type": "object" }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", + "ListInventoriesResponse": { + "description": "A response message for listing inventory data for all VMs in a specified location.", + "id": "ListInventoriesResponse", "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", + "inventories": { + "description": "List of inventory objects.", "items": { - "$ref": "Operation" + "$ref": "Inventory" }, "type": "array" + }, + "nextPageToken": { + "description": "The pagination token to retrieve the next page of inventory objects.", + "type": "string" } }, "type": "object" @@ -1013,6 +1278,24 @@ }, "type": "object" }, + "ListVulnerabilityReportsResponse": { + "description": "A response message for listing vulnerability reports for all VM instances in the specified location.", + "id": "ListVulnerabilityReportsResponse", + "properties": { + "nextPageToken": { + "description": "The pagination token to retrieve the next page of vulnerabilityReports object.", + "type": "string" + }, + "vulnerabilityReports": { + "description": "List of vulnerabilityReport objects.", + "items": { + "$ref": "VulnerabilityReport" + }, + "type": "array" + } + }, + "type": "object" + }, "MonthlySchedule": { "description": "Represents a monthly schedule. An example of a valid monthly schedule is \"on the third Tuesday of the month\" or \"on the 15th of the month\".", "id": "MonthlySchedule", @@ -1096,41 +1379,6 @@ }, "type": "object" }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, "PatchConfig": { "description": "Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.", "id": "PatchConfig", @@ -1615,33 +1863,6 @@ }, "type": "object" }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", @@ -1684,6 +1905,117 @@ }, "type": "object" }, + "VulnerabilityReport": { + "description": "This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).", + "id": "VulnerabilityReport", + "properties": { + "name": { + "description": "Output only. The `vulnerabilityReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp for when the last vulnerability report was generated for the VM.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "vulnerabilities": { + "description": "Output only. List of vulnerabilities affecting the VM.", + "items": { + "$ref": "VulnerabilityReportVulnerability" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "VulnerabilityReportVulnerability": { + "description": "A vulnerability affecting the VM instance.", + "id": "VulnerabilityReportVulnerability", + "properties": { + "availableInventoryItemIds": { + "description": "Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.", + "items": { + "type": "string" + }, + "type": "array" + }, + "createTime": { + "description": "The timestamp for when the vulnerability was first detected.", + "format": "google-datetime", + "type": "string" + }, + "details": { + "$ref": "VulnerabilityReportVulnerabilityDetails", + "description": "Contains metadata as per the upstream feed of the operating system and NVD." + }, + "installedInventoryItemIds": { + "description": "Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.", + "items": { + "type": "string" + }, + "type": "array" + }, + "updateTime": { + "description": "The timestamp for when the vulnerability was last modified.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "VulnerabilityReportVulnerabilityDetails": { + "description": "Contains metadata information for the vulnerability. This information is collected from the upstream feed of the operating system.", + "id": "VulnerabilityReportVulnerabilityDetails", + "properties": { + "cve": { + "description": "The CVE of the vulnerability. CVE cannot be empty and the combination of should be unique across vulnerabilities for a VM.", + "type": "string" + }, + "cvssV2Score": { + "description": "The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.", + "format": "float", + "type": "number" + }, + "cvssV3": { + "$ref": "CVSSv3", + "description": "The full description of the CVSSv3 for this vulnerability from NVD." + }, + "description": { + "description": "The note or description describing the vulnerability from the distro.", + "type": "string" + }, + "references": { + "description": "Corresponds to the references attached to the `VulnerabilityDetails`.", + "items": { + "$ref": "VulnerabilityReportVulnerabilityDetailsReference" + }, + "type": "array" + }, + "severity": { + "description": "Assigned severity/impact ranking from the distro.", + "type": "string" + } + }, + "type": "object" + }, + "VulnerabilityReportVulnerabilityDetailsReference": { + "description": "A reference for this vulnerability.", + "id": "VulnerabilityReportVulnerabilityDetailsReference", + "properties": { + "source": { + "description": "The source of the reference e.g. NVD.", + "type": "string" + }, + "url": { + "description": "The url of the reference.", + "type": "string" + } + }, + "type": "object" + }, "WeekDayOfMonth": { "description": "Represents one week day in a month. An example is \"the 4th Sunday\".", "id": "WeekDayOfMonth", diff --git a/discovery/googleapis/oslogin__v1.json b/discovery/googleapis/oslogin__v1.json index ed2307570..70603e4ce 100644 --- a/discovery/googleapis/oslogin__v1.json +++ b/discovery/googleapis/oslogin__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/compute": { "description": "View and manage your Google Compute Engine resources" @@ -304,7 +304,7 @@ } } }, - "revision": "20210712", + "revision": "20210827", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/googleapis/pagespeedonline__v5.json b/discovery/googleapis/pagespeedonline__v5.json index 1562ce7be..946aad0c7 100644 --- a/discovery/googleapis/pagespeedonline__v5.json +++ b/discovery/googleapis/pagespeedonline__v5.json @@ -191,7 +191,7 @@ } } }, - "revision": "20210720", + "revision": "20210902", "rootUrl": "https://pagespeedonline.googleapis.com/", "schemas": { "AuditRefs": { diff --git a/discovery/googleapis/paymentsresellersubscription__v1.json b/discovery/googleapis/paymentsresellersubscription__v1.json index b5087ba09..961a4f6e3 100644 --- a/discovery/googleapis/paymentsresellersubscription__v1.json +++ b/discovery/googleapis/paymentsresellersubscription__v1.json @@ -364,7 +364,7 @@ } } }, - "revision": "20210721", + "revision": "20210907", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": { diff --git a/discovery/googleapis/people__v1.json b/discovery/googleapis/people__v1.json index f825ed152..735e6697e 100644 --- a/discovery/googleapis/people__v1.json +++ b/discovery/googleapis/people__v1.json @@ -412,7 +412,7 @@ "type": "string" }, "readMask": { - "description": "Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * emailAddresses * metadata * names * phoneNumbers * photos", + "description": "Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. What values are valid depend on what ReadSourceType is used. If READ_SOURCE_TYPE_CONTACT is used, valid values are: * emailAddresses * metadata * names * phoneNumbers * photos If READ_SOURCE_TYPE_PROFILE is used, valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined", "format": "google-fieldmask", "location": "query", "type": "string" @@ -863,7 +863,7 @@ ] }, "searchContacts": { - "description": "Provides a list of contacts in the authenticated user's grouped contacts that matches the search query. The query matches on a contact's `names`, `nickNames`, `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from the CONTACT\" source. **IMPORTANT**: Before searching, clients should send a warmup request with an empty query to update the cache. See https://developers.google.com/people/v1/contacts#search_the_users_contacts", + "description": "Provides a list of contacts in the authenticated user's grouped contacts that matches the search query. The query matches on a contact's `names`, `nickNames`, `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from the CONTACT source. **IMPORTANT**: Before searching, clients should send a warmup request with an empty query to update the cache. See https://developers.google.com/people/v1/contacts#search_the_users_contacts", "flatPath": "v1/people:searchContacts", "httpMethod": "GET", "id": "people.people.searchContacts", @@ -1171,7 +1171,7 @@ } } }, - "revision": "20210720", + "revision": "20210903", "rootUrl": "https://people.googleapis.com/", "schemas": { "Address": { @@ -1296,7 +1296,7 @@ "type": "object" }, "BatchCreateContactsResponse": { - "description": "The response to a request to create a batch of contacts.", + "description": "If not successful, returns BatchCreateContactsErrorDetails which contains a list of errors for each invalid contact. The response to a request to create a batch of contacts.", "id": "BatchCreateContactsResponse", "properties": { "createdPeople": { @@ -1381,7 +1381,7 @@ "type": "object" }, "BatchUpdateContactsResponse": { - "description": "The response to a request to create a batch of contacts.", + "description": "If not successful, returns BatchUpdateContactsErrorDetails, a list of errors corresponding to each contact. The response to a request to update a batch of contacts.", "id": "BatchUpdateContactsResponse", "properties": { "updateResult": { @@ -1831,7 +1831,8 @@ "id": "FieldMetadata", "properties": { "primary": { - "description": "True if the field is the primary field for the person.", + "description": "Output only. True if the field is the primary field for all sources in the person. Each person will have at most one field with `primary` set to true.", + "readOnly": true, "type": "boolean" }, "source": { @@ -1839,7 +1840,7 @@ "description": "The source of the field." }, "sourcePrimary": { - "description": "True if the field is the primary field for the source.", + "description": "True if the field is the primary field for the source. Each source must have at most one field with `source_primary` set to true.", "type": "boolean" }, "verified": { @@ -1870,7 +1871,7 @@ "id": "Gender", "properties": { "addressMeAs": { - "description": "The type of pronouns that should be used to address the person. The value can be custom or one of these predefined values: * `male` * `female` * `other`", + "description": "Free form text field for pronouns that should be used to address the person. Common values are: * `he`/`him` * `she`/`her` * `they`/`them`", "type": "string" }, "formattedValue": { @@ -2367,6 +2368,10 @@ "description": "A person's past or current organization. Overlapping date ranges are permitted.", "id": "Organization", "properties": { + "costCenter": { + "description": "The person's cost center at the organization.", + "type": "string" + }, "current": { "description": "True if the organization is the person's current organization; false if the organization is a past organization.", "type": "boolean" @@ -2388,6 +2393,11 @@ "readOnly": true, "type": "string" }, + "fullTimeEquivalentMillipercent": { + "description": "The person's full-time equivalent millipercent within the organization (100000 = 100%).", + "format": "int32", + "type": "integer" + }, "jobDescription": { "description": "The person's job description at the organization.", "type": "string" diff --git a/discovery/googleapis/playablelocations__v3.json b/discovery/googleapis/playablelocations__v3.json index 068a083ed..eb2415435 100644 --- a/discovery/googleapis/playablelocations__v3.json +++ b/discovery/googleapis/playablelocations__v3.json @@ -144,7 +144,7 @@ } } }, - "revision": "20210719", + "revision": "20210903", "rootUrl": "https://playablelocations.googleapis.com/", "schemas": { "GoogleMapsPlayablelocationsV3Impression": { diff --git a/discovery/googleapis/playcustomapp__v1.json b/discovery/googleapis/playcustomapp__v1.json index 170e1937d..3b8859e68 100644 --- a/discovery/googleapis/playcustomapp__v1.json +++ b/discovery/googleapis/playcustomapp__v1.json @@ -156,7 +156,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://playcustomapp.googleapis.com/", "schemas": { "CustomApp": { diff --git a/discovery/googleapis/policyanalyzer__v1.json b/discovery/googleapis/policyanalyzer__v1.json new file mode 100644 index 000000000..797f7a06c --- /dev/null +++ b/discovery/googleapis/policyanalyzer__v1.json @@ -0,0 +1,233 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://policyanalyzer.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Policy Analyzer", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://www.google.com", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "policyanalyzer:v1", + "kind": "discovery#restDescription", + "name": "policyanalyzer", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "resources": { + "activityTypes": { + "resources": { + "activities": { + "methods": { + "query": { + "description": "Queries policy activities on Google Cloud resources.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", + "httpMethod": "GET", + "id": "policyanalyzer.projects.locations.activityTypes.activities.query", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} [STRING] - service_account_key_last_authn.full_resource_name {=} [STRING]", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/activityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/activities:query", + "response": { + "$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + } + }, + "revision": "20210827", + "rootUrl": "https://policyanalyzer.googleapis.com/", + "schemas": { + "GoogleCloudPolicyanalyzerV1Activity": { + "id": "GoogleCloudPolicyanalyzerV1Activity", + "properties": { + "activity": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "A struct of custom fields to explain the activity.", + "type": "object" + }, + "activityType": { + "description": "The type of the activity.", + "type": "string" + }, + "fullResourceName": { + "description": "The full resource name that identifies the resource. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", + "type": "string" + }, + "observationPeriod": { + "$ref": "GoogleCloudPolicyanalyzerV1ObservationPeriod", + "description": "The data observation period to build the activity." + } + }, + "type": "object" + }, + "GoogleCloudPolicyanalyzerV1ObservationPeriod": { + "description": "Represents data observation period.", + "id": "GoogleCloudPolicyanalyzerV1ObservationPeriod", + "properties": { + "endTime": { + "description": "The observation end time. The time in this timestamp is always `07:00:00Z`.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "The observation start time. The time in this timestamp is always `07:00:00Z`.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudPolicyanalyzerV1QueryActivityResponse": { + "description": "Response to the `QueryActivity` method.", + "id": "GoogleCloudPolicyanalyzerV1QueryActivityResponse", + "properties": { + "activities": { + "description": "The set of activities that match the filter included in the request.", + "items": { + "$ref": "GoogleCloudPolicyanalyzerV1Activity" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Policy Analyzer API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis/policysimulator__v1.json b/discovery/googleapis/policysimulator__v1.json index e879ec4b6..ca3b234b5 100644 --- a/discovery/googleapis/policysimulator__v1.json +++ b/discovery/googleapis/policysimulator__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -491,7 +491,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1AccessStateDiff": { @@ -1123,7 +1123,7 @@ "type": "object" }, "GoogleIamV1Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "GoogleIamV1Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/policytroubleshooter__v1.json b/discovery/googleapis/policytroubleshooter__v1.json index c3750a1aa..5ca97f43c 100644 --- a/discovery/googleapis/policytroubleshooter__v1.json +++ b/discovery/googleapis/policytroubleshooter__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -126,7 +126,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1AccessTuple": { @@ -439,7 +439,7 @@ "type": "object" }, "GoogleIamV1Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "GoogleIamV1Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/privateca__v1.json b/discovery/googleapis/privateca__v1.json index 6f941f9b6..6e0177573 100644 --- a/discovery/googleapis/privateca__v1.json +++ b/discovery/googleapis/privateca__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1028,7 +1028,7 @@ "type": "string" }, "requestId": { - "description": "Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, @@ -1588,7 +1588,7 @@ } } }, - "revision": "20210707", + "revision": "20210825", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -1934,7 +1934,7 @@ "type": "object" }, "lifetime": { - "description": "Required. The desired lifetime of the CA certificate. Used to create the \"not_before_time\" and \"not_after_time\" fields inside an X.509 certificate.", + "description": "Required. Immutable. The desired lifetime of the CA certificate. Used to create the \"not_before_time\" and \"not_after_time\" fields inside an X.509 certificate.", "format": "google-duration", "type": "string" }, @@ -2862,7 +2862,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -3266,7 +3266,7 @@ "id": "SubordinateConfig", "properties": { "certificateAuthority": { - "description": "Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.", + "description": "Required. This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.", "type": "string" }, "pemIssuerChain": { diff --git a/discovery/googleapis/pubsub__v1.json b/discovery/googleapis/pubsub__v1.json index 1c2ba0bbc..bce593f69 100644 --- a/discovery/googleapis/pubsub__v1.json +++ b/discovery/googleapis/pubsub__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/pubsub": { "description": "View and manage Pub/Sub topics and subscriptions" @@ -187,7 +187,7 @@ "type": "string" }, "view": { - "description": "The set of fields to return in the response. If not set, returns a Schema with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.", + "description": "The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to `BASIC` to omit the `definition`.", "enum": [ "SCHEMA_VIEW_UNSPECIFIED", "BASIC", @@ -1423,7 +1423,7 @@ } } }, - "revision": "20210712", + "revision": "20210824", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1711,7 +1711,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { @@ -2020,7 +2020,7 @@ }, "expirationPolicy": { "$ref": "ExpirationPolicy", - "description": "A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day." + "description": "A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires." }, "filter": { "description": "An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.", @@ -2057,6 +2057,12 @@ "topic": { "description": "Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.", "type": "string" + }, + "topicMessageRetentionDuration": { + "description": "Output only. Indicates the minimum duration for which a message is retained after it is published to the subscription's topic. If this field is set, messages published to the subscription's topic in the last `topic_message_retention_duration` are always available to subscribers. See the `message_retention_duration` field in `Topic`. This field is set only in responses from the server; it is ignored if it is set in any requests.", + "format": "google-duration", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -2104,6 +2110,11 @@ "description": "See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).", "type": "object" }, + "messageRetentionDuration": { + "description": "Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 7 days or less than 10 minutes.", + "format": "google-duration", + "type": "string" + }, "messageStoragePolicy": { "$ref": "MessageStoragePolicy", "description": "Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect." diff --git a/discovery/googleapis/pubsublite__v1.json b/discovery/googleapis/pubsublite__v1.json index 297ee606d..5dc016270 100644 --- a/discovery/googleapis/pubsublite__v1.json +++ b/discovery/googleapis/pubsublite__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -109,6 +109,129 @@ "resources": { "locations": { "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "pubsublite.admin.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/admin/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "pubsublite.admin.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/admin/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "pubsublite.admin.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/admin/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "pubsublite.admin.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/admin/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "subscriptions": { "methods": { "create": { @@ -268,6 +391,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "seek": { + "description": "Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it.", + "flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:seek", + "httpMethod": "POST", + "id": "pubsublite.admin.projects.locations.subscriptions.seek", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the subscription to seek.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/admin/{+name}:seek", + "request": { + "$ref": "SeekSubscriptionRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -688,9 +839,15 @@ } } }, - "revision": "20210712", + "revision": "20210831", "rootUrl": "https://pubsublite.googleapis.com/", "schemas": { + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, "Capacity": { "description": "The throughput capacity configuration for each partition.", "id": "Capacity", @@ -866,6 +1023,24 @@ "properties": {}, "type": "object" }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, "ListPartitionCursorsResponse": { "description": "Response for ListPartitionCursors", "id": "ListPartitionCursorsResponse", @@ -938,6 +1113,66 @@ }, "type": "object" }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Metadata for long running operations.", + "id": "OperationMetadata", + "properties": { + "createTime": { + "description": "The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time the operation finished running. Not set if the operation has not completed.", + "format": "google-datetime", + "type": "string" + }, + "target": { + "description": "Resource path for the target of the operation. For example, targets of seeks are subscription resources, structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}", + "type": "string" + }, + "verb": { + "description": "Name of the verb executed by the operation.", + "type": "string" + } + }, + "type": "object" + }, "PartitionConfig": { "description": "The settings for a topic's partitions.", "id": "PartitionConfig", @@ -992,6 +1227,64 @@ }, "type": "object" }, + "SeekSubscriptionRequest": { + "description": "Request for SeekSubscription.", + "id": "SeekSubscriptionRequest", + "properties": { + "namedTarget": { + "description": "Seek to a named position with respect to the message backlog.", + "enum": [ + "NAMED_TARGET_UNSPECIFIED", + "TAIL", + "HEAD" + ], + "enumDescriptions": [ + "Unspecified named target. Do not use.", + "Seek to the oldest retained message.", + "Seek past all recently published messages, skipping the entire message backlog." + ], + "type": "string" + }, + "timeTarget": { + "$ref": "TimeTarget", + "description": "Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog." + } + }, + "type": "object" + }, + "SeekSubscriptionResponse": { + "description": "Response for SeekSubscription long running operation.", + "id": "SeekSubscriptionResponse", + "properties": {}, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, "Subscription": { "description": "Metadata about a subscription resource.", "id": "Subscription", diff --git a/discovery/googleapis/realtimebidding__v1.json b/discovery/googleapis/realtimebidding__v1.json index 5b077aa30..497f16766 100644 --- a/discovery/googleapis/realtimebidding__v1.json +++ b/discovery/googleapis/realtimebidding__v1.json @@ -1138,7 +1138,7 @@ } } }, - "revision": "20210721", + "revision": "20210906", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { diff --git a/discovery/googleapis/recaptchaenterprise__v1.json b/discovery/googleapis/recaptchaenterprise__v1.json index 4429ab452..e76d29cba 100644 --- a/discovery/googleapis/recaptchaenterprise__v1.json +++ b/discovery/googleapis/recaptchaenterprise__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -373,7 +373,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AndroidKeySettings": { @@ -613,6 +613,11 @@ }, "type": "array" }, + "name": { + "description": "Output only. The name of the metrics, in the format \"projects/{project}/keys/{key}/metrics\".", + "readOnly": true, + "type": "string" + }, "scoreMetrics": { "description": "Metrics will be continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.", "items": { diff --git a/discovery/googleapis/recommender__v1.json b/discovery/googleapis/recommender__v1.json index 8ca4ee18f..305652077 100644 --- a/discovery/googleapis/recommender__v1.json +++ b/discovery/googleapis/recommender__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1176,7 +1176,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://recommender.googleapis.com/", "schemas": { "GoogleCloudRecommenderV1CostProjection": { @@ -1621,6 +1621,14 @@ "$ref": "GoogleCloudRecommenderV1OperationGroup" }, "type": "array" + }, + "overview": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Condensed overview information about the recommendation.", + "type": "object" } }, "type": "object" diff --git a/discovery/googleapis/redis__v1.json b/discovery/googleapis/redis__v1.json index 0753ba87f..269602a4c 100644 --- a/discovery/googleapis/redis__v1.json +++ b/discovery/googleapis/redis__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -622,7 +622,7 @@ } } }, - "revision": "20210624", + "revision": "20210813", "rootUrl": "https://redis.googleapis.com/", "schemas": { "Empty": { @@ -766,7 +766,7 @@ "type": "object" }, "Instance": { - "description": "A Google Cloud Redis instance. next id = 30", + "description": "A Google Cloud Redis instance. next id = 36", "id": "Instance", "properties": { "alternativeLocationId": { @@ -823,7 +823,7 @@ "type": "object" }, "locationId": { - "description": "Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.", + "description": "Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].", "type": "string" }, "maintenancePolicy": { diff --git a/discovery/googleapis/reseller__v1.json b/discovery/googleapis/reseller__v1.json index bede2d11f..a0aadac90 100644 --- a/discovery/googleapis/reseller__v1.json +++ b/discovery/googleapis/reseller__v1.json @@ -629,7 +629,7 @@ } } }, - "revision": "20210720", + "revision": "20210904", "rootUrl": "https://reseller.googleapis.com/", "schemas": { "Address": { @@ -842,7 +842,7 @@ "type": "integer" }, "numberOfSeats": { - "description": "This is a required property and is exclusive to subscriptions with `ANNUAL_MONTHLY_PAY` and `ANNUAL_YEARLY_PAY` plans. This property sets the maximum number of licenses assignable to users on a subscription. The reseller can add more licenses, but once set, the `numberOfSeats` cannot be reduced until renewal. The reseller is invoiced based on the `numberOfSeats` value regardless of how many of these user licenses are assigned. *Note: *G Suite subscriptions automatically assign a license to every user.", + "description": "This is a required property and is exclusive to subscriptions with `ANNUAL_MONTHLY_PAY` and `ANNUAL_YEARLY_PAY` plans. This property sets the maximum number of licenses assignable to users on a subscription. The reseller can add more licenses, but once set, the `numberOfSeats` cannot be reduced until renewal. The reseller is invoiced based on the `numberOfSeats` value regardless of how many of these user licenses are assigned. *Note: *Google Workspace subscriptions automatically assign a license to every user.", "format": "int32", "type": "integer" } diff --git a/discovery/googleapis/resourcesettings__v1.json b/discovery/googleapis/resourcesettings__v1.json index 0064b2658..87d54a6ad 100644 --- a/discovery/googleapis/resourcesettings__v1.json +++ b/discovery/googleapis/resourcesettings__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -497,7 +497,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://resourcesettings.googleapis.com/", "schemas": { "GoogleCloudResourcesettingsV1ListSettingsResponse": { diff --git a/discovery/googleapis/retail__v2.json b/discovery/googleapis/retail__v2.json index 3051d51ab..5c86b3db2 100644 --- a/discovery/googleapis/retail__v2.json +++ b/discovery/googleapis/retail__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -109,6 +109,88 @@ "resources": { "catalogs": { "methods": { + "completeQuery": { + "description": "Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:completeQuery", + "httpMethod": "GET", + "id": "retail.projects.locations.catalogs.completeQuery", + "parameterOrder": [ + "catalog" + ], + "parameters": { + "catalog": { + "description": "Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + }, + "dataset": { + "description": "Determines which dataset to use for fetching completion. \"user-data\" will use the imported dataset through CompletionService.ImportCompletionData. \"cloud-retail\" will use the dataset generated by cloud retail based on user events. If leave empty, it will use the \"user-data\". Current supported values: * user-data * cloud-retail This option requires additional allowlisting. Before using cloud-retail, contact Cloud Retail support team first.", + "location": "query", + "type": "string" + }, + "deviceType": { + "description": "The device type context for completion suggestions. It is useful to apply different suggestions on different device types, e.g. DESKTOP, MOBILE. If it is empty, the suggestions are across all device types. Supported formats: * UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with OTHER_, e.g. OTHER_IPHONE.", + "location": "query", + "type": "string" + }, + "languageCodes": { + "description": "The list of languages of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255. Only \"en-US\" is currently supported.", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxSuggestions": { + "description": "Completion max suggestions. If left unset or set to 0, then will fallback to the configured value CompletionConfig.max_suggestions. The maximum allowed max suggestions is 20. If it is set higher, it will be capped by 20.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "query": { + "description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.", + "location": "query", + "type": "string" + }, + "visitorId": { + "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+catalog}:completeQuery", + "response": { + "$ref": "GoogleCloudRetailV2CompleteQueryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getDefaultBranch": { + "description": "Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:getDefaultBranch", + "httpMethod": "GET", + "id": "retail.projects.locations.catalogs.getDefaultBranch", + "parameterOrder": [ + "catalog" + ], + "parameters": { + "catalog": { + "description": "The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+catalog}:getDefaultBranch", + "response": { + "$ref": "GoogleCloudRetailV2GetDefaultBranchResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists all the Catalogs associated with the project.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs", @@ -178,6 +260,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "setDefaultBranch": { + "description": "Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using \"default_branch\" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:setDefaultBranch", + "httpMethod": "POST", + "id": "retail.projects.locations.catalogs.setDefaultBranch", + "parameterOrder": [ + "catalog" + ], + "parameters": { + "catalog": { + "description": "Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+catalog}:setDefaultBranch", + "request": { + "$ref": "GoogleCloudRetailV2SetDefaultBranchRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -214,6 +324,34 @@ }, "products": { "methods": { + "addFulfillmentPlaces": { + "description": "Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addFulfillmentPlaces", + "httpMethod": "POST", + "id": "retail.projects.locations.catalogs.branches.products.addFulfillmentPlaces", + "parameterOrder": [ + "product" + ], + "parameters": { + "product": { + "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+product}:addFulfillmentPlaces", + "request": { + "$ref": "GoogleCloudRetailV2AddFulfillmentPlacesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Creates a Product.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products", @@ -325,6 +463,53 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "list": { + "description": "Gets a list of Products.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products", + "httpMethod": "GET", + "id": "retail.projects.locations.catalogs.branches.products.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY Product. For example: `primary_product_id = \"some_product_id\"` * List Products bundled in a Product.Type.COLLECTION Product. For example: `collection_product_id = \"some_product_id\"` * List Products with a partibular type. For example: `type = \"PRIMARY\"` `type = \"VARIANT\"` `type = \"COLLECTION\"` If the field is unrecognizable, an INVALID_ARGUMENT error is returned. If the specified Product.Type.PRIMARY Product or Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is returned.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Maximum number of Products to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token ListProductsResponse.next_page_token, received from a previous ProductService.ListProducts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ProductService.ListProducts must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch. If the caller does not have permission to list Products under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", + "required": true, + "type": "string" + }, + "readMask": { + "description": "The fields of Product to return in the responses. If not set or empty, the following fields are returned: * Product.name * Product.id * Product.title * Product.uri * Product.images * Product.price_info * Product.brands If \"*\" is provided, all fields are returned. Product.name is always returned no matter what mask is set. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+parent}/products", + "response": { + "$ref": "GoogleCloudRetailV2ListProductsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Updates a Product.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", @@ -363,11 +548,99 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "removeFulfillmentPlaces": { + "description": "Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeFulfillmentPlaces", + "httpMethod": "POST", + "id": "retail.projects.locations.catalogs.branches.products.removeFulfillmentPlaces", + "parameterOrder": [ + "product" + ], + "parameters": { + "product": { + "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+product}:removeFulfillmentPlaces", + "request": { + "$ref": "GoogleCloudRetailV2RemoveFulfillmentPlacesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setInventory": { + "description": "Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. When inventory is updated with CreateProduct and UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the CreateProduct or UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in UpdateProductRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:setInventory", + "httpMethod": "POST", + "id": "retail.projects.locations.catalogs.branches.products.setInventory", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}:setInventory", + "request": { + "$ref": "GoogleCloudRetailV2SetInventoryRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } } } }, + "completionData": { + "methods": { + "import": { + "description": "Bulk import of processed completion dataset. Request processing may be synchronous. Partial updating is not supported. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionData:import", + "httpMethod": "POST", + "id": "retail.projects.locations.catalogs.completionData.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The catalog which the suggestions dataset belongs to. Format: `projects/1234/locations/global/catalogs/default_catalog`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/completionData:import", + "request": { + "$ref": "GoogleCloudRetailV2ImportCompletionDataRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "operations": { "methods": { "get": { @@ -467,6 +740,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "search": { + "description": "Performs a search. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:search", + "httpMethod": "POST", + "id": "retail.projects.locations.catalogs.placements.search", + "parameterOrder": [ + "placement" + ], + "parameters": { + "placement": { + "description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the set of models that will be used to make the search. We currently support one placement with the following ID: * `default_search`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+placement}:search", + "request": { + "$ref": "GoogleCloudRetailV2SearchRequest" + }, + "response": { + "$ref": "GoogleCloudRetailV2SearchResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -704,7 +1005,7 @@ } } }, - "revision": "20210709", + "revision": "20210826", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -857,12 +1158,72 @@ }, "type": "object" }, + "GoogleCloudRetailV2AddFulfillmentPlacesMetadata": { + "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2AddFulfillmentPlacesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2AddFulfillmentPlacesRequest": { + "description": "Request message for AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2AddFulfillmentPlacesRequest", + "properties": { + "addTime": { + "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.", + "format": "google-datetime", + "type": "string" + }, + "allowMissing": { + "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.", + "type": "boolean" + }, + "placeIds": { + "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\" to be added for this type. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this type after adding, then the update will be rejected.", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2AddFulfillmentPlacesResponse": { + "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2AddFulfillmentPlacesResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2Audience": { + "description": "An intended audience of the Product for whom it's sold.", + "id": "GoogleCloudRetailV2Audience", + "properties": { + "ageGroups": { + "description": "The age groups of the audience. Strongly encouraged to use the standard values: \"newborn\" (up to 3 months old), \"infant\" (3–12 months old), \"toddler\" (1–5 years old), \"kids\" (5–13 years old), \"adult\" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).", + "items": { + "type": "string" + }, + "type": "array" + }, + "genders": { + "description": "The genders of the audience. Strongly encouraged to use the standard values: \"male\", \"female\", \"unisex\". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2BigQuerySource": { "description": "BigQuery source import data from.", "id": "GoogleCloudRetailV2BigQuerySource", "properties": { "dataSchema": { - "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.", + "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.", "type": "string" }, "datasetId": { @@ -873,6 +1234,10 @@ "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.", "type": "string" }, + "partitionDate": { + "$ref": "GoogleTypeDate", + "description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`." + }, "projectId": { "description": "The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", "type": "string" @@ -903,20 +1268,19 @@ }, "type": "object" }, - "GoogleCloudRetailV2CustomAttribute": { - "description": "A custom attribute that is not explicitly modeled in Product.", - "id": "GoogleCloudRetailV2CustomAttribute", + "GoogleCloudRetailV2ColorInfo": { + "description": "The color information of a Product.", + "id": "GoogleCloudRetailV2ColorInfo", "properties": { - "numbers": { - "description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", + "colorFamilies": { + "description": "The standard color families. Strongly recommended to use the following standard color groups: \"Red\", \"Pink\", \"Orange\", \"Yellow\", \"Purple\", \"Green\", \"Cyan\", \"Blue\", \"Brown\", \"White\", \"Gray\", \"Black\" and \"Mixed\". Normally it is expected to have only 1 color family. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).", "items": { - "format": "double", - "type": "number" + "type": "string" }, "type": "array" }, - "text": { - "description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", + "colors": { + "description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).", "items": { "type": "string" }, @@ -925,12 +1289,145 @@ }, "type": "object" }, - "GoogleCloudRetailV2GcsSource": { - "description": "Google Cloud Storage location for input content. format.", - "id": "GoogleCloudRetailV2GcsSource", + "GoogleCloudRetailV2CompleteQueryResponse": { + "description": "Response of the auto-complete query.", + "id": "GoogleCloudRetailV2CompleteQueryResponse", + "properties": { + "attributionToken": { + "description": "A unique complete token. This should be included in the SearchRequest resulting from this completion, which enables accurate attribution of complete model performance.", + "type": "string" + }, + "completionResults": { + "description": "Results of the matching suggestions. The result list is ordered and the first result is top suggestion.", + "items": { + "$ref": "GoogleCloudRetailV2CompleteQueryResponseCompletionResult" + }, + "type": "array" + }, + "recentSearchResults": { + "description": "Matched recent searches of this user. The maximum number of recent searches is 10. This field is a restricted feature. Contact Retail Search support team if you are interested in enabling it. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower cases. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.", + "items": { + "$ref": "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2CompleteQueryResponseCompletionResult": { + "description": "Resource that represents completion results.", + "id": "GoogleCloudRetailV2CompleteQueryResponseCompletionResult", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudRetailV2CustomAttribute" + }, + "description": "Additional custom attributes ingested through BigQuery.", + "type": "object" + }, + "suggestion": { + "description": "The suggestion for the query.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult": { + "description": "Recent search of this user.", + "id": "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult", + "properties": { + "recentSearch": { + "description": "The recent search query.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2CompletionDataInputConfig": { + "description": "The input config source for completion data.", + "id": "GoogleCloudRetailV2CompletionDataInputConfig", + "properties": { + "bigQuerySource": { + "$ref": "GoogleCloudRetailV2BigQuerySource", + "description": "Required. BigQuery input source. Add the IAM permission \"BigQuery Data Viewer\" for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown." + } + }, + "type": "object" + }, + "GoogleCloudRetailV2CompletionDetail": { + "description": "Detailed completion information including completion attribution token and clicked completion info.", + "id": "GoogleCloudRetailV2CompletionDetail", + "properties": { + "completionAttributionToken": { + "description": "Completion attribution token in CompleteQueryResponse.attribution_token.", + "type": "string" + }, + "selectedPosition": { + "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.", + "format": "int32", + "type": "integer" + }, + "selectedSuggestion": { + "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2CustomAttribute": { + "description": "A custom attribute that is not explicitly modeled in Product.", + "id": "GoogleCloudRetailV2CustomAttribute", + "properties": { + "indexable": { + "description": "If true, custom attribute values are indexed, so that it can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.", + "type": "boolean" + }, + "numbers": { + "description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "format": "double", + "type": "number" + }, + "type": "array" + }, + "searchable": { + "description": "If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.", + "type": "boolean" + }, + "text": { + "description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2FulfillmentInfo": { + "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.", + "id": "GoogleCloudRetailV2FulfillmentInfo", + "properties": { + "placeIds": { + "description": "The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2GcsSource": { + "description": "Google Cloud Storage location for input content. format.", + "id": "GoogleCloudRetailV2GcsSource", "properties": { "dataSchema": { - "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.", + "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.", "type": "string" }, "inputUris": { @@ -943,6 +1440,26 @@ }, "type": "object" }, + "GoogleCloudRetailV2GetDefaultBranchResponse": { + "description": "Response message of CatalogService.GetDefaultBranch.", + "id": "GoogleCloudRetailV2GetDefaultBranchResponse", + "properties": { + "branch": { + "description": "Full resource name of the branch id currently set as default branch.", + "type": "string" + }, + "note": { + "description": "This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.", + "type": "string" + }, + "setTime": { + "description": "The time when this branch is set to default.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRetailV2Image": { "description": "Product thumbnail/detail image.", "id": "GoogleCloudRetailV2Image", @@ -964,6 +1481,35 @@ }, "type": "object" }, + "GoogleCloudRetailV2ImportCompletionDataRequest": { + "description": "Request message for ImportCompletionData methods.", + "id": "GoogleCloudRetailV2ImportCompletionDataRequest", + "properties": { + "inputConfig": { + "$ref": "GoogleCloudRetailV2CompletionDataInputConfig", + "description": "Required. The desired input location of the data." + }, + "notificationPubsubTopic": { + "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2ImportCompletionDataResponse": { + "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", + "id": "GoogleCloudRetailV2ImportCompletionDataResponse", + "properties": { + "errorSamples": { + "description": "A sample of errors encountered while processing the request.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2ImportErrorsConfig": { "description": "Configuration of destination for Import related errors.", "id": "GoogleCloudRetailV2ImportErrorsConfig", @@ -989,6 +1535,14 @@ "format": "int64", "type": "string" }, + "notificationPubsubTopic": { + "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", + "type": "string" + }, + "requestId": { + "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.", + "type": "string" + }, "successCount": { "description": "Count of entries that were processed successfully.", "format": "int64", @@ -1014,6 +1568,28 @@ "$ref": "GoogleCloudRetailV2ProductInputConfig", "description": "Required. The desired input location of the data." }, + "notificationPubsubTopic": { + "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.", + "type": "string" + }, + "reconciliationMode": { + "description": "The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.", + "enum": [ + "RECONCILIATION_MODE_UNSPECIFIED", + "INCREMENTAL", + "FULL" + ], + "enumDescriptions": [ + "Defaults to INCREMENTAL.", + "Inserts new products or updates existing products.", + "Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location. Can only be while using BigQuerySource. Add the IAM permission \"BigQuery Data Viewer\" for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search." + ], + "type": "string" + }, + "requestId": { + "description": "Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long and must match the pattern: \"[a-zA-Z0-9_]+\". This is returned as Operation.name in ImportMetadata. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.", + "type": "string" + }, "updateMask": { "description": "Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields.", "format": "google-fieldmask", @@ -1077,6 +1653,33 @@ }, "type": "object" }, + "GoogleCloudRetailV2Interval": { + "description": "A floating point interval.", + "id": "GoogleCloudRetailV2Interval", + "properties": { + "exclusiveMaximum": { + "description": "Exclusive upper bound.", + "format": "double", + "type": "number" + }, + "exclusiveMinimum": { + "description": "Exclusive lower bound.", + "format": "double", + "type": "number" + }, + "maximum": { + "description": "Inclusive upper bound.", + "format": "double", + "type": "number" + }, + "minimum": { + "description": "Inclusive lower bound.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "GoogleCloudRetailV2ListCatalogsResponse": { "description": "Response for CatalogService.ListCatalogs method.", "id": "GoogleCloudRetailV2ListCatalogsResponse", @@ -1095,6 +1698,24 @@ }, "type": "object" }, + "GoogleCloudRetailV2ListProductsResponse": { + "description": "Response message for ProductService.ListProducts method.", + "id": "GoogleCloudRetailV2ListProductsResponse", + "properties": { + "nextPageToken": { + "description": "A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "products": { + "description": "The Products.", + "items": { + "$ref": "GoogleCloudRetailV2Product" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2PredictRequest": { "description": "Request message for Predict method.", "id": "GoogleCloudRetailV2PredictRequest", @@ -1194,7 +1815,7 @@ "type": "number" }, "currencyCode": { - "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned.", + "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.", "type": "string" }, "originalPrice": { @@ -1206,6 +1827,36 @@ "description": "Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.priceSpecification](https://schema.org/priceSpecification).", "format": "float", "type": "number" + }, + "priceEffectiveTime": { + "description": "The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.", + "format": "google-datetime", + "type": "string" + }, + "priceExpireTime": { + "description": "The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.", + "format": "google-datetime", + "type": "string" + }, + "priceRange": { + "$ref": "GoogleCloudRetailV2PriceInfoPriceRange", + "description": "Output only. The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudRetailV2PriceInfoPriceRange": { + "description": "The price range of all variant Product having the same Product.primary_product_id.", + "id": "GoogleCloudRetailV2PriceInfoPriceRange", + "properties": { + "originalPrice": { + "$ref": "GoogleCloudRetailV2Interval", + "description": "The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id." + }, + "price": { + "$ref": "GoogleCloudRetailV2Interval", + "description": "The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id." } }, "type": "object" @@ -1218,9 +1869,13 @@ "additionalProperties": { "$ref": "GoogleCloudRetailV2CustomAttribute" }, - "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters.", + "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS.", "type": "object" }, + "audience": { + "$ref": "GoogleCloudRetailV2Audience", + "description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product." + }, "availability": { "description": "The online availability of the Product. Default to Availability.IN_STOCK. Google Merchant Center Property [availability](https://support.google.com/merchants/answer/6324448). Schema.org Property [Offer.availability](https://schema.org/availability).", "enum": [ @@ -1245,10 +1900,17 @@ "type": "integer" }, "availableTime": { - "description": "The timestamp when this Product becomes available for recommendation.", + "description": "The timestamp when this Product becomes available for SearchService.Search.", "format": "google-datetime", "type": "string" }, + "brands": { + "description": "The brands of the product. A maximum of 30 brands are allowed. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", + "items": { + "type": "string" + }, + "type": "array" + }, "categories": { "description": "Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). For example, if a shoes product belongs to both [\"Shoes & Accessories\" -> \"Shoes\"] and [\"Sports & Fitness\" -> \"Athletic Clothing\" -> \"Shoes\"], it could be represented as: \"categories\": [ \"Shoes & Accessories > Shoes\", \"Sports & Fitness > Athletic Clothing > Shoes\" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436", "items": { @@ -1256,10 +1918,44 @@ }, "type": "array" }, + "collectionMemberIds": { + "description": "The id of the collection members when type is Type.COLLECTION. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.", + "items": { + "type": "string" + }, + "type": "array" + }, + "colorInfo": { + "$ref": "GoogleCloudRetailV2ColorInfo", + "description": "The color of the product. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color)." + }, + "conditions": { + "description": "The condition of the product. Strongly encouraged to use the standard values: \"new\", \"refurbished\", \"used\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).", + "items": { + "type": "string" + }, + "type": "array" + }, "description": { "description": "Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). schema.org property [Product.description](https://schema.org/description).", "type": "string" }, + "expireTime": { + "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", + "format": "google-datetime", + "type": "string" + }, + "fulfillmentInfo": { + "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "$ref": "GoogleCloudRetailV2FulfillmentInfo" + }, + "type": "array" + }, + "gtin": { + "description": "The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn) or [Product.gtin8](https://schema.org/gtin8) or [Product.gtin12](https://schema.org/gtin12) or [Product.gtin13](https://schema.org/gtin13) or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.", + "type": "string" + }, "id": { "description": "Immutable. Product identifier, which is the final component of name. For example, this field is \"id_1\", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org Property [Product.sku](https://schema.org/sku).", "type": "string" @@ -1271,10 +1967,28 @@ }, "type": "array" }, + "languageCode": { + "description": "Language of the title/description and other string attributes. Use language tags defined by BCP 47. For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to \"en-US\" if unset.", + "type": "string" + }, + "materials": { + "description": "The material of the product. For example, \"leather\", \"wooden\". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".", "type": "string" }, + "patterns": { + "description": "The pattern or graphic print of the product. For example, \"striped\", \"polka dot\", \"paisley\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).", + "items": { + "type": "string" + }, + "type": "array" + }, "priceInfo": { "$ref": "GoogleCloudRetailV2PriceInfo", "description": "Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)." @@ -1283,6 +1997,34 @@ "description": "Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center Property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org Property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID). This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).", "type": "string" }, + "promotions": { + "description": "The promotions applied to the product. A maximum of 10 values are allowed per Product.", + "items": { + "$ref": "GoogleCloudRetailV2Promotion" + }, + "type": "array" + }, + "publishTime": { + "description": "The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.", + "format": "google-datetime", + "type": "string" + }, + "rating": { + "$ref": "GoogleCloudRetailV2Rating", + "description": "The rating of this product." + }, + "retrievableFields": { + "description": "Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form \"attributes.key\" where \"key\" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse may increase response payload size and serving latency.", + "format": "google-fieldmask", + "type": "string" + }, + "sizes": { + "description": "The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in \"US:MENS:M\", \"US\" represents size system; \"MENS\" represents size type; \"M\" represents size value. In \"GIRLS:27\", size system is empty; \"GIRLS\" represents size type; \"27\" represents size value. In \"32 inches\", both size system and size type are empty, while size value is \"32 inches\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497) and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).", + "items": { + "type": "string" + }, + "type": "array" + }, "tags": { "description": "Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).", "items": { @@ -1294,6 +2036,11 @@ "description": "Required. Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).", "type": "string" }, + "ttl": { + "description": "Input only. The TTL (time to live) of the product. If it is set, expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", + "format": "google-duration", + "type": "string" + }, "type": { "description": "Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.", "enum": [ @@ -1303,184 +2050,690 @@ "COLLECTION" ], "enumDescriptions": [ - "Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.", - "The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products.", - "The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc.", - "The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc." + "Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.", + "The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products.", + "The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc.", + "The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc." + ], + "type": "string" + }, + "uri": { + "description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).", + "type": "string" + }, + "variants": { + "description": "Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.", + "items": { + "$ref": "GoogleCloudRetailV2Product" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2ProductDetail": { + "description": "Detailed product information associated with a user event.", + "id": "GoogleCloudRetailV2ProductDetail", + "properties": { + "product": { + "$ref": "GoogleCloudRetailV2Product", + "description": "Required. Product information. Required field(s): * Product.id Optional override field(s): * Product.price_info If any supported optional fields are provided, we will treat them as a full override when looking up product information from the catalog. Thus, it is important to ensure that the overriding fields are accurate and complete. All other product fields are ignored and instead populated via catalog lookup after event ingestion." + }, + "quantity": { + "description": "Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2ProductInlineSource": { + "description": "The inline source for the input config for ImportProducts method.", + "id": "GoogleCloudRetailV2ProductInlineSource", + "properties": { + "products": { + "description": "Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.", + "items": { + "$ref": "GoogleCloudRetailV2Product" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2ProductInputConfig": { + "description": "The input config source for products.", + "id": "GoogleCloudRetailV2ProductInputConfig", + "properties": { + "bigQuerySource": { + "$ref": "GoogleCloudRetailV2BigQuerySource", + "description": "BigQuery input source." + }, + "gcsSource": { + "$ref": "GoogleCloudRetailV2GcsSource", + "description": "Google Cloud Storage location for the input content." + }, + "productInlineSource": { + "$ref": "GoogleCloudRetailV2ProductInlineSource", + "description": "The Inline source for the input content for products." + } + }, + "type": "object" + }, + "GoogleCloudRetailV2ProductLevelConfig": { + "description": "Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.", + "id": "GoogleCloudRetailV2ProductLevelConfig", + "properties": { + "ingestionProductType": { + "description": "The type of Products allowed to be ingested into the catalog. Acceptable values are: * `primary` (default): You can only ingest Product.Type.PRIMARY Products. This means Product.primary_product_id can only be empty or set to the same value as Product.id. * `variant`: You can only ingest Product.Type.VARIANT Products. This means Product.primary_product_id cannot be empty. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `variant` and merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.google.com/retail/recommendations-ai/docs/catalog#product-levels) for more details.", + "type": "string" + }, + "merchantCenterProductIdField": { + "description": "Which field of [Merchant Center Product](/bigquery-transfer/docs/merchant-center-products-schema) should be imported as Product.id. Acceptable values are: * `offerId` (default): Import `offerId` as the product ID. * `itemGroupId`: Import `itemGroupId` as the product ID. Notice that Retail API will choose one item from the ones with the same `itemGroupId`, and use it to represent the item group. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.google.com/retail/recommendations-ai/docs/catalog#product-levels) for more details.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2Promotion": { + "description": "Promotion information.", + "id": "GoogleCloudRetailV2Promotion", + "properties": { + "promotionId": { + "description": "ID of the promotion. For example, \"free gift\". The value value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: a-zA-Z*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion](https://support.google.com/merchants/answer/7050148).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2PurchaseTransaction": { + "description": "A transaction represents the entire purchase transaction.", + "id": "GoogleCloudRetailV2PurchaseTransaction", + "properties": { + "cost": { + "description": "All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = revenue - tax - cost", + "format": "float", + "type": "number" + }, + "currencyCode": { + "description": "Required. Currency code. Use three-character ISO-4217 code.", + "type": "string" + }, + "id": { + "description": "The transaction ID with a length limit of 128 characters.", + "type": "string" + }, + "revenue": { + "description": "Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.", + "format": "float", + "type": "number" + }, + "tax": { + "description": "All the taxes associated with the transaction.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2PurgeMetadata": { + "description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudRetailV2PurgeMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2PurgeUserEventsRequest": { + "description": "Request message for PurgeUserEvents method.", + "id": "GoogleCloudRetailV2PurgeUserEventsRequest", + "properties": { + "filter": { + "description": "Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. Empty string filter is not allowed. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 \"zulu\" format. * `visitorId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Examples: * Deleting all events in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Deleting specific eventType in time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventType = \"detail-page-view\"` * Deleting all events for a specific visitor: `visitorId = \"visitor1024\"` The filtering fields are assumed to have an implicit AND.", + "type": "string" + }, + "force": { + "description": "Actually perform the purge. If `force` is set to false, the method will return the expected purge count without deleting any user events.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2PurgeUserEventsResponse": { + "description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", + "id": "GoogleCloudRetailV2PurgeUserEventsResponse", + "properties": { + "purgedEventsCount": { + "description": "The total count of events purged as a result of the operation.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2Rating": { + "description": "The rating of a Product.", + "id": "GoogleCloudRetailV2Rating", + "properties": { + "averageRating": { + "description": "The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.", + "format": "float", + "type": "number" + }, + "ratingCount": { + "description": "The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "type": "integer" + }, + "ratingHistogram": { + "description": "List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2RejoinUserEventsMetadata": { + "description": "Metadata for RejoinUserEvents method.", + "id": "GoogleCloudRetailV2RejoinUserEventsMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2RejoinUserEventsRequest": { + "description": "Request message for RejoinUserEvents method.", + "id": "GoogleCloudRetailV2RejoinUserEventsRequest", + "properties": { + "userEventRejoinScope": { + "description": "The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to an invalid integer value.", + "enum": [ + "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", + "JOINED_EVENTS", + "UNJOINED_EVENTS" + ], + "enumDescriptions": [ + "Rejoin all events with the latest product catalog, including both joined events and unjoined events.", + "Only rejoin joined events with the latest product catalog.", + "Only rejoin unjoined events with the latest product catalog." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2RejoinUserEventsResponse": { + "description": "Response message for RejoinUserEvents method.", + "id": "GoogleCloudRetailV2RejoinUserEventsResponse", + "properties": { + "rejoinedUserEventsCount": { + "description": "Number of user events that were joined with latest product catalog.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata": { + "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2RemoveFulfillmentPlacesRequest": { + "description": "Request message for RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesRequest", + "properties": { + "allowMissing": { + "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.", + "type": "boolean" + }, + "placeIds": { + "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\", to be removed for this type. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "type": "string" + }, + "type": "array" + }, + "removeTime": { + "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.", + "format": "google-datetime", + "type": "string" + }, + "type": { + "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse": { + "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequest": { + "description": "Request message for SearchService.Search method.", + "id": "GoogleCloudRetailV2SearchRequest", + "properties": { + "boostSpec": { + "$ref": "GoogleCloudRetailV2SearchRequestBoostSpec", + "description": "Boost specification to boost certain products. See more details at this [user guide](/retail/private/docs/boosting)." + }, + "branch": { + "description": "The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.", + "type": "string" + }, + "canonicalFilter": { + "description": "The filter applied to every search request when quality improvement such as query expansion is needed. For example, if a query does not have enough results, an expanded query with SearchRequest.canonical_filter will be returned as a supplement of the original query. This field is strongly recommended to achieve high search quality. See SearchRequest.filter for more details about filter syntax.", + "type": "string" + }, + "dynamicFacetSpec": { + "$ref": "GoogleCloudRetailV2SearchRequestDynamicFacetSpec", + "description": "The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. This feature requires additional allowlisting. Contact Retail Search support team if you are interested in using dynamic facet feature." + }, + "facetSpecs": { + "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "$ref": "GoogleCloudRetailV2SearchRequestFacetSpec" + }, + "type": "array" + }, + "filter": { + "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. Filter expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#filter). If this field is unrecognizable, an INVALID_ARGUMENT is returned.", + "type": "string" + }, + "offset": { + "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Products deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an INVALID_ARGUMENT is returned.", + "format": "int32", + "type": "integer" + }, + "orderBy": { + "description": "The order in which products are returned. Products can be ordered by a field in an Product object. Leave it unset if ordered by relevance. OrderBy expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#order). If this field is unrecognizable, an INVALID_ARGUMENT is returned.", + "type": "string" + }, + "pageCategories": { + "description": "The categories associated with a category page. Required for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].", + "items": { + "type": "string" + }, + "type": "array" + }, + "pageSize": { + "description": "Maximum number of Products to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 120. Values above 120 will be coerced to 120. If this field is negative, an INVALID_ARGUMENT is returned.", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "A page token SearchResponse.next_page_token, received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", + "type": "string" + }, + "query": { + "description": "Raw search query.", + "type": "string" + }, + "queryExpansionSpec": { + "$ref": "GoogleCloudRetailV2SearchRequestQueryExpansionSpec", + "description": "The query expansion specification that specifies the conditions under which query expansion will occur. See more details at this [user guide](/retail/private/docs/result-size#query_expansion)." + }, + "userInfo": { + "$ref": "GoogleCloudRetailV2UserInfo", + "description": "User information." + }, + "variantRollupKeys": { + "description": "The keys to fetch and rollup the matching variant Products attributes. The attributes from all the matching variant Products are merged and de-duplicated. Notice that rollup variant Products attributes will lead to extra query latency. Maximum number of keys is 10. For FulfillmentInfo, a fulfillment type and a fulfillment ID must be provided in the format of \"fulfillmentType.fulfillmentId\". E.g., in \"pickupInStore.store123\", \"pickupInStore\" is fulfillment type and \"store123\" is the store ID. Supported keys are: * colorFamilies * price * originalPrice * discount * attributes.key, where key is any key in the Product.attributes map. * pickupInStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"pickup-in-store\". * shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"ship-to-store\". * sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"same-day-delivery\". * nextDayDelivery.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"next-day-delivery\". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-1\". * customFulfillment2.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-2\". * customFulfillment3.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-3\". * customFulfillment4.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-4\". * customFulfillment5.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-5\". If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.", + "items": { + "type": "string" + }, + "type": "array" + }, + "visitorId": { + "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequestBoostSpec": { + "description": "Boost specification to boost certain items.", + "id": "GoogleCloudRetailV2SearchRequestBoostSpec", + "properties": { + "conditionBoostSpecs": { + "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.", + "items": { + "$ref": "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec": { + "description": "Boost applies to products which match a condition.", + "id": "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec", + "properties": { + "boost": { + "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", + "format": "float", + "type": "number" + }, + "condition": { + "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": * (id: ANY(\"product_1\", \"product_2\")) AND (colorFamilies: ANY(\"Red\",\"Blue\"))", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequestDynamicFacetSpec": { + "description": "The specifications of dynamically generated facets.", + "id": "GoogleCloudRetailV2SearchRequestDynamicFacetSpec", + "properties": { + "mode": { + "description": "Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.", + "enum": [ + "MODE_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "Default value.", + "Disable Dynamic Facet.", + "Automatic mode built by Google Retail Search." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequestFacetSpec": { + "description": "A facet specification to perform faceted search.", + "id": "GoogleCloudRetailV2SearchRequestFacetSpec", + "properties": { + "enableDynamicPosition": { + "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It will be ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response will be the same as in the request, and it will be ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response will be determined by Google Retail Search. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enable, which will generate a facet 'gender'. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how Google Retail Search orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" will always be ranked at 1st and 2nd position since their enable_dynamic_position are false.", + "type": "boolean" + }, + "excludedFilterKeys": { + "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", + "items": { + "type": "string" + }, + "type": "array" + }, + "facetKey": { + "$ref": "GoogleCloudRetailV2SearchRequestFacetSpecFacetKey", + "description": "Required. The facet key specification." + }, + "limit": { + "description": "Maximum of facet values that should be returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequestFacetSpecFacetKey": { + "description": "Specifies how a facet is computed.", + "id": "GoogleCloudRetailV2SearchRequestFacetSpecFacetKey", + "properties": { + "contains": { + "description": "Only get facet values that contains the given strings. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"contains\" to \"Shoe\", the \"categories\" facet will give only \"Women > Shoe\" and \"Men > Shoe\". Only supported on textual fields. Maximum is 10.", + "items": { + "type": "string" + }, + "type": "array" + }, + "intervals": { + "description": "Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.", + "items": { + "$ref": "GoogleCloudRetailV2Interval" + }, + "type": "array" + }, + "key": { + "description": "Required. Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * \"brands\" * \"categories\" * \"genders\" * \"ageGroups\" * \"availability\" * \"colorFamilies\" * \"colors\" * \"sizes\" * \"materials\" * \"patterns\" * \"conditions\" * \"attributes.key\" * \"pickupInStore\" * \"shipToStore\" * \"sameDayDelivery\" * \"nextDayDelivery\" * \"customFulfillment1\" * \"customFulfillment2\" * \"customFulfillment3\" * \"customFulfillment4\" * \"customFulfillment5\" * numerical_field = * \"price\" * \"discount\" * \"rating\" * \"ratingCount\" * \"attributes.key\"", + "type": "string" + }, + "orderBy": { + "description": "The order in which Facet.values are returned. Allowed values are: * \"count desc\", which means order by Facet.FacetValue.count descending. * \"value desc\", which means order by Facet.FacetValue.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.", + "type": "string" + }, + "prefixes": { + "description": "Only get facet values that start with the given string prefix. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"prefixes\" to \"Women\", the \"categories\" facet will give only \"Women > Shoe\" and \"Women > Dress\". Only supported on textual fields. Maximum is 10.", + "items": { + "type": "string" + }, + "type": "array" + }, + "query": { + "description": "The query that is used to compute facet for the given facet key. When provided, it will override the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, FacetValue.value will be always \"1\" and FacetValue.count will be the number of results that matches the query. For example, you can set a customized facet for \"shipToStore\", where FacetKey.key is \"customizedShipToStore\", and FacetKey.query is \"availability: ANY(\\\"IN_STOCK\\\") AND shipToStore: ANY(\\\"123\\\")\". Then the facet will count the products that are both in stock and ship to store \"123\".", + "type": "string" + }, + "restrictedValues": { + "description": "Only get facet for the given restricted values. For example, when using \"pickupInStore\" as key and set restricted values to [\"store123\", \"store456\"], only facets for \"store123\" and \"store456\" are returned. Only supported on textual fields and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudRetailV2SearchRequestQueryExpansionSpec": { + "description": "Specification to determine under which conditions query expansion should occur.", + "id": "GoogleCloudRetailV2SearchRequestQueryExpansionSpec", + "properties": { + "condition": { + "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.", + "enum": [ + "CONDITION_UNSPECIFIED", + "DISABLED", + "AUTO" + ], + "enumDescriptions": [ + "Unspecified query expansion condition. This defaults to Condition.DISABLED.", + "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.", + "Automatic query expansion built by Google Retail Search." ], "type": "string" }, - "uri": { - "description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).", - "type": "string" + "pinUnexpandedResults": { + "description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.", + "type": "boolean" } }, "type": "object" }, - "GoogleCloudRetailV2ProductDetail": { - "description": "Detailed product information associated with a user event.", - "id": "GoogleCloudRetailV2ProductDetail", + "GoogleCloudRetailV2SearchResponse": { + "description": "Response message for SearchService.Search method.", + "id": "GoogleCloudRetailV2SearchResponse", "properties": { - "product": { - "$ref": "GoogleCloudRetailV2Product", - "description": "Required. Product information. Only Product.id field is used when ingesting an event, all other product fields are ignored as we will look them up from the catalog." + "attributionToken": { + "description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.", + "type": "string" }, - "quantity": { - "description": "Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.", + "correctedQuery": { + "description": "If spell correction applies, the corrected query. Otherwise, empty.", + "type": "string" + }, + "facets": { + "description": "Results of facets requested by user.", + "items": { + "$ref": "GoogleCloudRetailV2SearchResponseFacet" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "queryExpansionInfo": { + "$ref": "GoogleCloudRetailV2SearchResponseQueryExpansionInfo", + "description": "Query expansion information for the returned results." + }, + "redirectUri": { + "description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search will be performed, and only redirect_uri and attribution_token will be set in the response.", + "type": "string" + }, + "results": { + "description": "A list of matched items. The order represents the ranking.", + "items": { + "$ref": "GoogleCloudRetailV2SearchResponseSearchResult" + }, + "type": "array" + }, + "totalSize": { + "description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.", "format": "int32", "type": "integer" } }, "type": "object" }, - "GoogleCloudRetailV2ProductInlineSource": { - "description": "The inline source for the input config for ImportProducts method.", - "id": "GoogleCloudRetailV2ProductInlineSource", + "GoogleCloudRetailV2SearchResponseFacet": { + "description": "A facet result.", + "id": "GoogleCloudRetailV2SearchResponseFacet", "properties": { - "products": { - "description": "Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.", + "dynamicFacet": { + "description": "Whether the facet is dynamically generated.", + "type": "boolean" + }, + "key": { + "description": "The key for this facet. E.g., \"colorFamilies\" or \"price\" or \"attributes.attr1\".", + "type": "string" + }, + "values": { + "description": "The facet values for this field.", "items": { - "$ref": "GoogleCloudRetailV2Product" + "$ref": "GoogleCloudRetailV2SearchResponseFacetFacetValue" }, "type": "array" } }, "type": "object" }, - "GoogleCloudRetailV2ProductInputConfig": { - "description": "The input config source for products.", - "id": "GoogleCloudRetailV2ProductInputConfig", + "GoogleCloudRetailV2SearchResponseFacetFacetValue": { + "description": "A facet value which contains value names and their count.", + "id": "GoogleCloudRetailV2SearchResponseFacetFacetValue", "properties": { - "bigQuerySource": { - "$ref": "GoogleCloudRetailV2BigQuerySource", - "description": "BigQuery input source." + "count": { + "description": "Number of items that have this facet value.", + "format": "int64", + "type": "string" }, - "gcsSource": { - "$ref": "GoogleCloudRetailV2GcsSource", - "description": "Google Cloud Storage location for the input content." + "interval": { + "$ref": "GoogleCloudRetailV2Interval", + "description": "Interval value for a facet, such as [10, 20) for facet \"price\"." }, - "productInlineSource": { - "$ref": "GoogleCloudRetailV2ProductInlineSource", - "description": "The Inline source for the input content for products." + "value": { + "description": "Text value of a facet, such as \"Black\" for facet \"colorFamilies\".", + "type": "string" } }, "type": "object" }, - "GoogleCloudRetailV2ProductLevelConfig": { - "description": "Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.", - "id": "GoogleCloudRetailV2ProductLevelConfig", + "GoogleCloudRetailV2SearchResponseQueryExpansionInfo": { + "description": "Information describing query expansion including whether expansion has occurred.", + "id": "GoogleCloudRetailV2SearchResponseQueryExpansionInfo", "properties": { - "ingestionProductType": { - "description": "The type of Products allowed to be ingested into the catalog. Acceptable values are: * `primary` (default): You can only ingest Product.Type.PRIMARY Products. This means Product.primary_product_id can only be empty or set to the same value as Product.id. * `variant`: You can only ingest Product.Type.VARIANT Products. This means Product.primary_product_id cannot be empty. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `variant` and merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.google.com/retail/recommendations-ai/docs/catalog#product-levels) for more details.", - "type": "string" + "expandedQuery": { + "description": "Bool describing whether query expansion has occurred.", + "type": "boolean" }, - "merchantCenterProductIdField": { - "description": "Which field of [Merchant Center Product](/bigquery-transfer/docs/merchant-center-products-schema) should be imported as Product.id. Acceptable values are: * `offerId` (default): Import `offerId` as the product ID. * `itemGroupId`: Import `itemGroupId` as the product ID. Notice that Retail API will choose one item from the ones with the same `itemGroupId`, and use it to represent the item group. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.google.com/retail/recommendations-ai/docs/catalog#product-levels) for more details.", + "pinnedResultCount": { + "description": "Number of pinned results. This field will only be set when expansion happens and SearchRequest.query_expansion_spec.pin_unexpanded_results is set to true.", + "format": "int64", "type": "string" } }, "type": "object" }, - "GoogleCloudRetailV2PurchaseTransaction": { - "description": "A transaction represents the entire purchase transaction.", - "id": "GoogleCloudRetailV2PurchaseTransaction", + "GoogleCloudRetailV2SearchResponseSearchResult": { + "description": "Represents the search results.", + "id": "GoogleCloudRetailV2SearchResponseSearchResult", "properties": { - "cost": { - "description": "All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = revenue - tax - cost", - "format": "float", - "type": "number" - }, - "currencyCode": { - "description": "Required. Currency code. Use three-character ISO-4217 code.", - "type": "string" - }, "id": { - "description": "The transaction ID with a length limit of 128 characters.", + "description": "Product.id of the searched Product.", "type": "string" }, - "revenue": { - "description": "Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.", - "format": "float", - "type": "number" + "matchingVariantCount": { + "description": "The count of matched variant Products.", + "format": "int32", + "type": "integer" }, - "tax": { - "description": "All the taxes associated with the transaction.", - "format": "float", - "type": "number" + "matchingVariantFields": { + "additionalProperties": { + "format": "google-fieldmask", + "type": "string" + }, + "description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.", + "type": "object" + }, + "product": { + "$ref": "GoogleCloudRetailV2Product", + "description": "The product data snippet in the search response. Only Product.name is guaranteed to be populated. Product.variants contains the product variants that match the search query. If there are multiple product variants matching the query, top 5 most relevant product variants are returned and ordered by relevancy. If relevancy can be deternmined, use matching_variant_fields to look up matched product variants fields. If relevancy cannot be determined, e.g. when searching \"shoe\" all products in a shoe product can be a match, 5 product variants are returned but order is meaningless." + }, + "variantRollupValues": { + "additionalProperties": { + "type": "any" + }, + "description": "The rollup matching variant Product attributes. The key is one of the SearchRequest.variant_rollup_keys. The values are the merged and de-duplicated Product attributes. Notice that the rollup values are respect filter. For example, when filtering by \"colorFamilies:ANY(\\\"red\\\")\" and rollup \"colorFamilies\", only \"red\" is returned. For textual and numerical attributes, the rollup values is a list of string or double values with type google.protobuf.ListValue. For example, if there are two variants with colors \"red\" and \"blue\", the rollup values are { key: \"colorFamilies\" value { list_value { values { string_value: \"red\" } values { string_value: \"blue\" } } } } For FulfillmentInfo, the rollup values is a double value with type google.protobuf.Value. For example, `{key: \"pickupInStore.store1\" value { number_value: 10 }}` means a there are 10 variants in this product are available in the store \"store1\".", + "type": "object" } }, "type": "object" }, - "GoogleCloudRetailV2PurgeMetadata": { - "description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", - "id": "GoogleCloudRetailV2PurgeMetadata", - "properties": {}, - "type": "object" - }, - "GoogleCloudRetailV2PurgeUserEventsRequest": { - "description": "Request message for PurgeUserEvents method.", - "id": "GoogleCloudRetailV2PurgeUserEventsRequest", + "GoogleCloudRetailV2SetDefaultBranchRequest": { + "description": "Request message to set a specified branch as new default_branch.", + "id": "GoogleCloudRetailV2SetDefaultBranchRequest", "properties": { - "filter": { - "description": "Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. Empty string filter is not allowed. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 \"zulu\" format. * `visitorId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Examples: * Deleting all events in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Deleting specific eventType in time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventType = \"detail-page-view\"` * Deleting all events for a specific visitor: `visitorId = \"visitor1024\"` The filtering fields are assumed to have an implicit AND.", + "branchId": { + "description": "The final component of the resource name of a branch. This field must be one of \"0\", \"1\" or \"2\". Otherwise, an INVALID_ARGUMENT error is returned.", "type": "string" }, - "force": { - "description": "Actually perform the purge. If `force` is set to false, the method will return the expected purge count without deleting any user events.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudRetailV2PurgeUserEventsResponse": { - "description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", - "id": "GoogleCloudRetailV2PurgeUserEventsResponse", - "properties": { - "purgedEventsCount": { - "description": "The total count of events purged as a result of the operation.", - "format": "int64", + "note": { + "description": "Some note on this request, this can be retrieved by CatalogService.GetDefaultBranch before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.", "type": "string" } }, "type": "object" }, - "GoogleCloudRetailV2RejoinUserEventsMetadata": { - "description": "Metadata for RejoinUserEvents method.", - "id": "GoogleCloudRetailV2RejoinUserEventsMetadata", + "GoogleCloudRetailV2SetInventoryMetadata": { + "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.", + "id": "GoogleCloudRetailV2SetInventoryMetadata", "properties": {}, "type": "object" }, - "GoogleCloudRetailV2RejoinUserEventsRequest": { - "description": "Request message for RejoinUserEvents method.", - "id": "GoogleCloudRetailV2RejoinUserEventsRequest", + "GoogleCloudRetailV2SetInventoryRequest": { + "description": "Request message for SetInventory method.", + "id": "GoogleCloudRetailV2SetInventoryRequest", "properties": { - "userEventRejoinScope": { - "description": "The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to an invalid integer value.", - "enum": [ - "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", - "JOINED_EVENTS", - "UNJOINED_EVENTS" - ], - "enumDescriptions": [ - "Rejoin all events with the latest product catalog, including both joined events and unjoined events.", - "Only rejoin joined events with the latest product catalog.", - "Only rejoin unjoined events with the latest product catalog." - ], + "allowMissing": { + "description": "If set to true, and the Product with name Product.name is not found, the inventory update will still be processed and retained for at most 1 day until the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.", + "type": "boolean" + }, + "inventory": { + "$ref": "GoogleCloudRetailV2Product", + "description": "Required. The inventory information to update. The allowable fields to update are: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info The updated inventory fields must be specified in SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is empty or invalid, an INVALID_ARGUMENT error is returned. If the caller does not have permission to update the Product named in Product.name, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to update does not have existing inventory information, the provided inventory information will be inserted. If the Product to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for SetInventoryRequest.set_time. The last update time is recorded for the following inventory fields: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info If a full overwrite of inventory information while ignoring timestamps is needed, UpdateProduct should be invoked instead." + }, + "setMask": { + "description": "Indicates which inventory fields in the provided Product to update. If not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.", + "format": "google-fieldmask", + "type": "string" + }, + "setTime": { + "description": "The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.", + "format": "google-datetime", "type": "string" } }, "type": "object" }, - "GoogleCloudRetailV2RejoinUserEventsResponse": { - "description": "Response message for RejoinUserEvents method.", - "id": "GoogleCloudRetailV2RejoinUserEventsResponse", - "properties": { - "rejoinedUserEventsCount": { - "description": "Number of user events that were joined with latest product catalog.", - "format": "int64", - "type": "string" - } - }, + "GoogleCloudRetailV2SetInventoryResponse": { + "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.", + "id": "GoogleCloudRetailV2SetInventoryResponse", + "properties": {}, "type": "object" }, "GoogleCloudRetailV2UserEvent": { @@ -1495,13 +2748,17 @@ "type": "object" }, "attributionToken": { - "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.", + "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. The value must be a valid SearchResponse.attribution_token for user events that are the result of SearchService.Search. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.", "type": "string" }, "cartId": { "description": "The id or name of the associated shopping cart. This id is used to associate multiple items added or present in the cart before purchase. This can only be set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view` events.", "type": "string" }, + "completionDetail": { + "$ref": "GoogleCloudRetailV2CompletionDetail", + "description": "The main completion details related to the event. In a `completion` event, this field represents the completions returned to the end user and the clicked completion by the end user. In a `search` event, it represents the search event happens after clicking completion." + }, "eventTime": { "description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.", "format": "google-datetime", @@ -1518,6 +2775,19 @@ }, "type": "array" }, + "filter": { + "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. See SearchRequest.filter for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.", + "type": "string" + }, + "offset": { + "description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "type": "integer" + }, + "orderBy": { + "description": "The order in which products are returned. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", + "type": "string" + }, "pageCategories": { "description": "The categories associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"]. Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", "items": { @@ -1545,7 +2815,11 @@ "type": "string" }, "searchQuery": { - "description": "The user's search query. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", + "description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", + "type": "string" + }, + "sessionId": { + "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the sesion_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add visitor_id as prefix.", "type": "string" }, "uri": { @@ -1622,11 +2896,11 @@ "type": "boolean" }, "ipAddress": { - "description": "The end user's IP address. Required for getting SearchRespons.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", + "description": "The end user's IP address. Required for getting SearchResponse.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", "type": "string" }, "userAgent": { - "description": "User agent as included in the HTTP header. Required for getting SearchRespons.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", + "description": "User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", "type": "string" }, "userId": { @@ -1636,6 +2910,18 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata": { + "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse": { + "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudRetailV2alphaExportErrorsConfig": { "description": "Configuration of destination for Export related errors.", "id": "GoogleCloudRetailV2alphaExportErrorsConfig", @@ -1700,6 +2986,20 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaImportCompletionDataResponse": { + "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", + "id": "GoogleCloudRetailV2alphaImportCompletionDataResponse", + "properties": { + "errorSamples": { + "description": "A sample of errors encountered while processing the request.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2alphaImportErrorsConfig": { "description": "Configuration of destination for Import related errors.", "id": "GoogleCloudRetailV2alphaImportErrorsConfig", @@ -1725,6 +3025,14 @@ "format": "int64", "type": "string" }, + "notificationPubsubTopic": { + "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", + "type": "string" + }, + "requestId": { + "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.", + "type": "string" + }, "successCount": { "description": "Count of entries that were processed successfully.", "format": "int64", @@ -1814,6 +3122,30 @@ }, "type": "object" }, + "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata": { + "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse": { + "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2alphaSetInventoryMetadata": { + "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.", + "id": "GoogleCloudRetailV2alphaSetInventoryMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2alphaSetInventoryResponse": { + "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.", + "id": "GoogleCloudRetailV2alphaSetInventoryResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudRetailV2alphaUserEventImportSummary": { "description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", "id": "GoogleCloudRetailV2alphaUserEventImportSummary", @@ -1831,6 +3163,18 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata": { + "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse": { + "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudRetailV2betaExportErrorsConfig": { "description": "Configuration of destination for Export related errors.", "id": "GoogleCloudRetailV2betaExportErrorsConfig", @@ -1895,6 +3239,20 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaImportCompletionDataResponse": { + "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", + "id": "GoogleCloudRetailV2betaImportCompletionDataResponse", + "properties": { + "errorSamples": { + "description": "A sample of errors encountered while processing the request.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRetailV2betaImportErrorsConfig": { "description": "Configuration of destination for Import related errors.", "id": "GoogleCloudRetailV2betaImportErrorsConfig", @@ -1920,6 +3278,14 @@ "format": "int64", "type": "string" }, + "notificationPubsubTopic": { + "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", + "type": "string" + }, + "requestId": { + "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.", + "type": "string" + }, "successCount": { "description": "Count of entries that were processed successfully.", "format": "int64", @@ -2009,6 +3375,30 @@ }, "type": "object" }, + "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata": { + "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse": { + "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.", + "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2betaSetInventoryMetadata": { + "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.", + "id": "GoogleCloudRetailV2betaSetInventoryMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudRetailV2betaSetInventoryResponse": { + "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.", + "id": "GoogleCloudRetailV2betaSetInventoryResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudRetailV2betaUserEventImportSummary": { "description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", "id": "GoogleCloudRetailV2betaUserEventImportSummary", @@ -2111,6 +3501,28 @@ } }, "type": "object" + }, + "GoogleTypeDate": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "id": "GoogleTypeDate", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/googleapis/run__v1.json b/discovery/googleapis/run__v1.json index ac0655627..37dff1404 100644 --- a/discovery/googleapis/run__v1.json +++ b/discovery/googleapis/run__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1734,7 +1734,7 @@ } } }, - "revision": "20210716", + "revision": "20210901", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -1902,7 +1902,7 @@ "type": "object" }, "Configuration": { - "description": "Configuration represents the \"floating HEAD\" of a linear history of Revisions, and optionally how the containers those revisions reference are built. Users create new Revisions by updating the Configuration's spec. The \"latest created\" revision's name is available under status, as is the \"latest ready\" revision's name. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration", + "description": "Configuration represents the \"floating HEAD\" of a linear history of Revisions, and optionally how the containers those revisions reference are built. Users create new Revisions by updating the Configuration's spec. The \"latest created\" revision's name is available under status, as is the \"latest ready\" revision's name. See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#configuration", "id": "Configuration", "properties": { "apiVersion": { @@ -2284,7 +2284,7 @@ "type": "string" }, "type": { - "description": "type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * \"Ready\": True when the Resource is ready.", + "description": "type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * \"Ready\": True when the Resource is ready.", "type": "string" } }, @@ -2731,7 +2731,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2858,7 +2858,7 @@ "type": "object" }, "Revision": { - "description": "Revision is an immutable snapshot of code and configuration. A revision references a container image. Revisions are created by updates to a Configuration. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision", + "description": "Revision is an immutable snapshot of code and configuration. A revision references a container image. Revisions are created by updates to a Configuration. See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#revision", "id": "Revision", "properties": { "apiVersion": { @@ -2894,7 +2894,7 @@ "type": "integer" }, "containers": { - "description": "Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. In Cloud Run, only a single container may be provided. The runtime contract is documented here: https://github.com/knative/serving/blob/master/docs/runtime-contract.md", + "description": "Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. In Cloud Run, only a single container may be provided. The runtime contract is documented here: https://github.com/knative/serving/blob/main/docs/runtime-contract.md", "items": { "$ref": "Container" }, @@ -2905,7 +2905,7 @@ "type": "string" }, "timeoutSeconds": { - "description": "TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum allowed value is 900 seconds (15 minutes). Cloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by the cluster operator.", + "description": "TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). Cloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by the cluster operator.", "format": "int32", "type": "integer" }, @@ -2965,7 +2965,7 @@ "type": "object" }, "Route": { - "description": "Route is responsible for configuring ingress over a collection of Revisions. Some of the Revisions a Route distributes traffic over may be specified by referencing the Configuration responsible for creating them; in these cases the Route is additionally responsible for monitoring the Configuration for \"latest ready\" revision changes, and smoothly rolling out latest revisions. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route Cloud Run currently supports referencing a single Configuration to automatically deploy the \"latest ready\" Revision from that Configuration.", + "description": "Route is responsible for configuring ingress over a collection of Revisions. Some of the Revisions a Route distributes traffic over may be specified by referencing the Configuration responsible for creating them; in these cases the Route is additionally responsible for monitoring the Configuration for \"latest ready\" revision changes, and smoothly rolling out latest revisions. See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#route Cloud Run currently supports referencing a single Configuration to automatically deploy the \"latest ready\" Revision from that Configuration.", "id": "Route", "properties": { "apiVersion": { @@ -3121,7 +3121,7 @@ "type": "object" }, "Service": { - "description": "Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets). The Service's controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service", + "description": "Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets). The Service's controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own. See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#service", "id": "Service", "properties": { "apiVersion": { @@ -3386,14 +3386,14 @@ "type": "object" }, "Volume": { - "description": "Not supported by Cloud Run Volume represents a named volume in a container.", + "description": "Volume represents a named volume in a container.", "id": "Volume", "properties": { "configMap": { "$ref": "ConfigMapVolumeSource" }, "name": { - "description": "Volume's name.", + "description": "Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.", "type": "string" }, "secret": { @@ -3403,7 +3403,7 @@ "type": "object" }, "VolumeMount": { - "description": "Not supported by Cloud Run VolumeMount describes a mounting of a Volume within a container.", + "description": "VolumeMount describes a mounting of a Volume within a container.", "id": "VolumeMount", "properties": { "mountPath": { @@ -3411,7 +3411,7 @@ "type": "string" }, "name": { - "description": "This must match the Name of a Volume.", + "description": "The name of the volume. There must be a corresponding Volume with the same name.", "type": "string" }, "readOnly": { diff --git a/discovery/googleapis/runtimeconfig__v1.json b/discovery/googleapis/runtimeconfig__v1.json index 31d39bb75..0cb8f1ea2 100644 --- a/discovery/googleapis/runtimeconfig__v1.json +++ b/discovery/googleapis/runtimeconfig__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloudruntimeconfig": { "description": "Manage your Google Cloud Platform services' runtime configuration" @@ -208,7 +208,7 @@ } } }, - "revision": "20210719", + "revision": "20210827", "rootUrl": "https://runtimeconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/googleapis/safebrowsing__v4.json b/discovery/googleapis/safebrowsing__v4.json index e981f940b..7912de498 100644 --- a/discovery/googleapis/safebrowsing__v4.json +++ b/discovery/googleapis/safebrowsing__v4.json @@ -259,7 +259,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://safebrowsing.googleapis.com/", "schemas": { "GoogleProtobufEmpty": { diff --git a/discovery/googleapis/script__v1.json b/discovery/googleapis/script__v1.json index 40b3a0257..608bb23bf 100644 --- a/discovery/googleapis/script__v1.json +++ b/discovery/googleapis/script__v1.json @@ -885,7 +885,7 @@ } } }, - "revision": "20210709", + "revision": "20210905", "rootUrl": "https://script.googleapis.com/", "schemas": { "Content": { diff --git a/discovery/googleapis/searchconsole__v1.json b/discovery/googleapis/searchconsole__v1.json index 0d391829e..e545c34b7 100644 --- a/discovery/googleapis/searchconsole__v1.json +++ b/discovery/googleapis/searchconsole__v1.json @@ -371,7 +371,7 @@ } } }, - "revision": "20210719", + "revision": "20210903", "rootUrl": "https://searchconsole.googleapis.com/", "schemas": { "ApiDataRow": { @@ -874,7 +874,7 @@ "id": "WmxSitemapContent", "properties": { "indexed": { - "description": "The number of URLs from the sitemap that were indexed (of the content type).", + "description": "*Deprecated; do not use.*", "format": "int64", "type": "string" }, diff --git a/discovery/googleapis/secretmanager__v1.json b/discovery/googleapis/secretmanager__v1.json index 3e5af39e1..38734f63a 100644 --- a/discovery/googleapis/secretmanager__v1.json +++ b/discovery/googleapis/secretmanager__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -641,7 +641,7 @@ } } }, - "revision": "20210716", + "revision": "20210818", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { @@ -946,7 +946,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/securitycenter__v1.json b/discovery/googleapis/securitycenter__v1.json index 5ce8f1efa..150a1247c 100644 --- a/discovery/googleapis/securitycenter__v1.json +++ b/discovery/googleapis/securitycenter__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1814,7 +1814,7 @@ } } }, - "revision": "20210716", + "revision": "20210903", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Asset": { @@ -1966,6 +1966,164 @@ }, "type": "object" }, + "Cve": { + "description": "CVE stands for Common Vulnerabilities and Exposures. More information: https://cve.mitre.org", + "id": "Cve", + "properties": { + "cvssv3": { + "$ref": "Cvssv3", + "description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" + }, + "id": { + "description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", + "type": "string" + }, + "references": { + "description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", + "items": { + "$ref": "Reference" + }, + "type": "array" + } + }, + "type": "object" + }, + "Cvssv3": { + "description": "Common Vulnerability Scoring System version 3.", + "id": "Cvssv3", + "properties": { + "attackComplexity": { + "description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", + "enum": [ + "ATTACK_COMPLEXITY_UNSPECIFIED", + "ATTACK_COMPLEXITY_LOW", + "ATTACK_COMPLEXITY_HIGH" + ], + "enumDescriptions": [ + "Invalid value.", + "Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", + "A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." + ], + "type": "string" + }, + "attackVector": { + "description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", + "enum": [ + "ATTACK_VECTOR_UNSPECIFIED", + "ATTACK_VECTOR_NETWORK", + "ATTACK_VECTOR_ADJACENT", + "ATTACK_VECTOR_LOCAL", + "ATTACK_VECTOR_PHYSICAL" + ], + "enumDescriptions": [ + "Invalid value.", + "The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", + "The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", + "The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", + "The attack requires the attacker to physically touch or manipulate the vulnerable component." + ], + "type": "string" + }, + "availabilityImpact": { + "description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE" + ], + "enumDescriptions": [ + "Invalid value.", + "High impact.", + "Low impact.", + "No impact." + ], + "type": "string" + }, + "baseScore": { + "description": "The base score is a function of the base metric scores.", + "format": "double", + "type": "number" + }, + "confidentialityImpact": { + "description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE" + ], + "enumDescriptions": [ + "Invalid value.", + "High impact.", + "Low impact.", + "No impact." + ], + "type": "string" + }, + "integrityImpact": { + "description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE" + ], + "enumDescriptions": [ + "Invalid value.", + "High impact.", + "Low impact.", + "No impact." + ], + "type": "string" + }, + "privilegesRequired": { + "description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", + "enum": [ + "PRIVILEGES_REQUIRED_UNSPECIFIED", + "PRIVILEGES_REQUIRED_NONE", + "PRIVILEGES_REQUIRED_LOW", + "PRIVILEGES_REQUIRED_HIGH" + ], + "enumDescriptions": [ + "Invalid value.", + "The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", + "The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", + "The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." + ], + "type": "string" + }, + "scope": { + "description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", + "enum": [ + "SCOPE_UNSPECIFIED", + "SCOPE_UNCHANGED", + "SCOPE_CHANGED" + ], + "enumDescriptions": [ + "Invalid value.", + "An exploited vulnerability can only affect resources managed by the same security authority.", + "An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." + ], + "type": "string" + }, + "userInteraction": { + "description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", + "enum": [ + "USER_INTERACTION_UNSPECIFIED", + "USER_INTERACTION_NONE", + "USER_INTERACTION_REQUIRED" + ], + "enumDescriptions": [ + "Invalid value.", + "The vulnerable system can be exploited without interaction from any user.", + "Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." + ], + "type": "string" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", "id": "Empty", @@ -2098,6 +2256,10 @@ "The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." ], "type": "string" + }, + "vulnerability": { + "$ref": "Vulnerability", + "description": "Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" } }, "type": "object" @@ -2190,6 +2352,10 @@ "projectDisplayName": { "description": "The human readable name of project that the resource belongs to.", "type": "string" + }, + "type": { + "description": "The full resource type of the resource.", + "type": "string" } }, "type": "object" @@ -2883,7 +3049,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2913,6 +3079,21 @@ }, "type": "object" }, + "Reference": { + "description": "Additional Links", + "id": "Reference", + "properties": { + "source": { + "description": "Source of the reference e.g. NVD", + "type": "string" + }, + "uri": { + "description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", + "type": "string" + } + }, + "type": "object" + }, "Resource": { "description": "Information related to the Google Cloud resource that is associated with this finding.", "id": "Resource", @@ -3154,6 +3335,17 @@ } }, "type": "object" + }, + "Vulnerability": { + "description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", + "id": "Vulnerability", + "properties": { + "cve": { + "$ref": "Cve", + "description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/googleapis/serviceconsumermanagement__v1.json b/discovery/googleapis/serviceconsumermanagement__v1.json index 4960da85f..97e608b9b 100644 --- a/discovery/googleapis/serviceconsumermanagement__v1.json +++ b/discovery/googleapis/serviceconsumermanagement__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -540,7 +540,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -1036,7 +1036,7 @@ "type": "string" }, "description": { - "description": "The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.", + "description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", "type": "string" }, "selector": { @@ -1734,7 +1734,7 @@ "type": "string" }, "type": { - "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL.", + "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", "type": "string" } }, diff --git a/discovery/googleapis/servicecontrol__v1.json b/discovery/googleapis/servicecontrol__v1.json index 4bccdef48..93fe8185f 100644 --- a/discovery/googleapis/servicecontrol__v1.json +++ b/discovery/googleapis/servicecontrol__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/servicecontrol": { "description": "Manage your Google Service Control data" @@ -195,7 +195,7 @@ } } }, - "revision": "20210709", + "revision": "20210826", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { diff --git a/discovery/googleapis/servicecontrol__v2.json b/discovery/googleapis/servicecontrol__v2.json index 1c9667e31..e8359baa2 100644 --- a/discovery/googleapis/servicecontrol__v2.json +++ b/discovery/googleapis/servicecontrol__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/servicecontrol": { "description": "Manage your Google Service Control data" @@ -167,7 +167,7 @@ } } }, - "revision": "20210709", + "revision": "20210826", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": { diff --git a/discovery/googleapis/servicedirectory__v1.json b/discovery/googleapis/servicedirectory__v1.json index 962cce675..ef7eea1ba 100644 --- a/discovery/googleapis/servicedirectory__v1.json +++ b/discovery/googleapis/servicedirectory__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -881,7 +881,7 @@ } } }, - "revision": "20210707", + "revision": "20210825", "rootUrl": "https://servicedirectory.googleapis.com/", "schemas": { "Binding": { @@ -924,7 +924,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. Annotations for the endpoint. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 512 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/) Annotations that fails to meet these requirements are rejected. * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for system annotations managed by Service Directory. If the user tries to write to these keyspaces, those entries are silently ignored by the system Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.", + "description": "Optional. Annotations for the endpoint. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 512 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/) Annotations that fails to meet these requirements are rejected. Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.", "type": "object" }, "name": { @@ -1110,7 +1110,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { @@ -1167,7 +1167,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for system annotations managed by Service Directory. If the user tries to write to these keyspaces, those entries are silently ignored by the system Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.", + "description": "Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.", "type": "object" }, "endpoints": { diff --git a/discovery/googleapis/servicemanagement__v1.json b/discovery/googleapis/servicemanagement__v1.json index c8936790a..d09cab5c4 100644 --- a/discovery/googleapis/servicemanagement__v1.json +++ b/discovery/googleapis/servicemanagement__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/service.management": { "description": "Manage your Google API service configuration" @@ -827,7 +827,7 @@ } } }, - "revision": "20210716", + "revision": "20210827", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -1470,7 +1470,7 @@ "type": "string" }, "description": { - "description": "The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.", + "description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", "type": "string" }, "selector": { @@ -2332,7 +2332,7 @@ "type": "string" }, "type": { - "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL.", + "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", "type": "string" } }, @@ -2511,7 +2511,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis/servicenetworking__v1.json b/discovery/googleapis/servicenetworking__v1.json index 002ea16d2..53a045813 100644 --- a/discovery/googleapis/servicenetworking__v1.json +++ b/discovery/googleapis/servicenetworking__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/service.management": { "description": "Manage your Google API service configuration" @@ -858,7 +858,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -985,6 +985,10 @@ "format": "int32", "type": "integer" }, + "privateIpv6GoogleAccess": { + "description": "Optional. The private IPv6 google access type for the VMs in this subnet. For information about the access types that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", + "type": "string" + }, "region": { "description": "Required. The name of a [region](/compute/docs/regions-zones) for the subnet, such `europe-west1`.", "type": "string" @@ -1611,7 +1615,7 @@ "type": "string" }, "description": { - "description": "The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.", + "description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", "type": "string" }, "selector": { @@ -2399,7 +2403,7 @@ "type": "string" }, "type": { - "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL.", + "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", "type": "string" } }, @@ -2542,7 +2546,7 @@ "id": "PeeredDnsDomain", "properties": { "dnsSuffix": { - "description": "The DNS domain name suffix e.g. `example.com.`.", + "description": "The DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", "type": "string" }, "name": { diff --git a/discovery/googleapis/serviceusage__v1.json b/discovery/googleapis/serviceusage__v1.json index f94f00497..9ef7481ab 100644 --- a/discovery/googleapis/serviceusage__v1.json +++ b/discovery/googleapis/serviceusage__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/service.management": { "description": "Manage your Google API service configuration" @@ -424,7 +424,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -998,7 +998,7 @@ "type": "string" }, "description": { - "description": "The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.", + "description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", "type": "string" }, "selector": { @@ -2098,7 +2098,7 @@ "type": "string" }, "type": { - "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL.", + "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", "type": "string" } }, diff --git a/discovery/googleapis/sheets__v4.json b/discovery/googleapis/sheets__v4.json index b047105e6..7b0a15ecb 100644 --- a/discovery/googleapis/sheets__v4.json +++ b/discovery/googleapis/sheets__v4.json @@ -868,7 +868,7 @@ } } }, - "revision": "20210712", + "revision": "20210830", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": { diff --git a/discovery/googleapis/slides__v1.json b/discovery/googleapis/slides__v1.json index ef9500b82..5759f5e6b 100644 --- a/discovery/googleapis/slides__v1.json +++ b/discovery/googleapis/slides__v1.json @@ -311,7 +311,7 @@ } } }, - "revision": "20210715", + "revision": "20210831", "rootUrl": "https://slides.googleapis.com/", "schemas": { "AffineTransform": { @@ -1373,6 +1373,10 @@ "$ref": "ImageProperties", "description": "The properties of the image." }, + "placeholder": { + "$ref": "Placeholder", + "description": "Placeholders are page elements that inherit from corresponding placeholders on layouts and masters. If set, the image is a placeholder image and any inherited properties can be resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field." + }, "sourceUrl": { "description": "The source URL is the URL used to insert the image. The source URL can be empty.", "type": "string" diff --git a/discovery/googleapis/smartdevicemanagement__v1.json b/discovery/googleapis/smartdevicemanagement__v1.json index e8bea4a37..e43196287 100644 --- a/discovery/googleapis/smartdevicemanagement__v1.json +++ b/discovery/googleapis/smartdevicemanagement__v1.json @@ -353,7 +353,7 @@ } } }, - "revision": "20210705", + "revision": "20210827", "rootUrl": "https://smartdevicemanagement.googleapis.com/", "schemas": { "GoogleHomeEnterpriseSdmV1Device": { diff --git a/discovery/googleapis/spanner__v1.json b/discovery/googleapis/spanner__v1.json index 3264d2fbe..35329eb95 100644 --- a/discovery/googleapis/spanner__v1.json +++ b/discovery/googleapis/spanner__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/spanner.admin": { "description": "Administer your Spanner databases" @@ -2035,7 +2035,7 @@ } } }, - "revision": "20210703", + "revision": "20210816", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "Backup": { @@ -2856,12 +2856,12 @@ "type": "string" }, "nodeCount": { - "description": "The number of nodes allocated to this instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) for more information about nodes.", + "description": "The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", "format": "int32", "type": "integer" }, "processingUnits": { - "description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`.", + "description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", "format": "int32", "type": "integer" }, @@ -3646,7 +3646,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis/speech__v1.json b/discovery/googleapis/speech__v1.json index c67099b25..1af67b263 100644 --- a/discovery/googleapis/speech__v1.json +++ b/discovery/googleapis/speech__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -210,7 +210,7 @@ } } }, - "revision": "20210714", + "revision": "20210810", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ListOperationsResponse": { @@ -283,6 +283,11 @@ "$ref": "SpeechRecognitionResult" }, "type": "array" + }, + "totalBilledTime": { + "description": "When available, billed audio seconds for the corresponding request.", + "format": "google-duration", + "type": "string" } }, "type": "object" @@ -554,6 +559,11 @@ "$ref": "SpeechRecognitionResult" }, "type": "array" + }, + "totalBilledTime": { + "description": "When available, billed audio seconds for the corresponding request.", + "format": "google-duration", + "type": "string" } }, "type": "object" diff --git a/discovery/googleapis/storage__v1.json b/discovery/googleapis/storage__v1.json index 90ce4a222..339fb5382 100644 --- a/discovery/googleapis/storage__v1.json +++ b/discovery/googleapis/storage__v1.json @@ -26,7 +26,7 @@ "description": "Stores and retrieves potentially large, immutable data objects.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/storage/docs/json_api/", - "etag": "\"313831343830353335313635363234373438\"", + "etag": "\"3137343430303037393934313830303932343833\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -3229,7 +3229,7 @@ } } }, - "revision": "20210716", + "revision": "20210903", "rootUrl": "https://storage.googleapis.com/", "schemas": { "Bucket": { diff --git a/discovery/googleapis/storagetransfer__v1.json b/discovery/googleapis/storagetransfer__v1.json index b985a5eac..66f89cd98 100644 --- a/discovery/googleapis/storagetransfer__v1.json +++ b/discovery/googleapis/storagetransfer__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -161,7 +161,7 @@ ], "parameters": { "jobName": { - "description": "Required. \" The job to get.", + "description": "Required. The job to get.", "location": "path", "pattern": "^transferJobs/.*$", "required": true, @@ -432,7 +432,7 @@ } } }, - "revision": "20210712", + "revision": "20210903", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AwsAccessKey": { @@ -467,7 +467,7 @@ "type": "string" }, "roleArn": { - "description": "Input only. The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the GoogleServiceAccount for this project.", + "description": "The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the GoogleServiceAccount for this project.", "type": "string" } }, @@ -697,6 +697,17 @@ }, "type": "object" }, + "LoggingConfig": { + "description": "Logging configure.", + "id": "LoggingConfig", + "properties": { + "enableOnpremGcsTransferLogs": { + "description": "Enables the Cloud Storage transfer logs for this transfer. This is only supported for transfer jobs with PosixFilesystem sources. The default is that logs are not generated for this transfer.", + "type": "boolean" + } + }, + "type": "object" + }, "NotificationConfig": { "description": "Specification to configure notifications published to Pub/Sub. Notifications are published to the customer-provided topic using the following `PubsubMessage.attributes`: * `\"eventType\"`: one of the EventType values * `\"payloadFormat\"`: one of the PayloadFormat values * `\"projectId\"`: the project_id of the `TransferOperation` * `\"transferJobName\"`: the transfer_job_name of the `TransferOperation` * `\"transferOperationName\"`: the name of the `TransferOperation` The `PubsubMessage.data` contains a TransferOperation resource formatted according to the specified `PayloadFormat`.", "id": "NotificationConfig", @@ -823,6 +834,17 @@ "properties": {}, "type": "object" }, + "PosixFilesystem": { + "description": "A POSIX filesystem data source or sink.", + "id": "PosixFilesystem", + "properties": { + "rootDirectory": { + "description": "Root directory path to the filesystem.", + "type": "string" + } + }, + "type": "object" + }, "ResumeTransferOperationRequest": { "description": "Request passed to ResumeTransferOperation.", "id": "ResumeTransferOperationRequest", @@ -966,6 +988,21 @@ "format": "int64", "type": "string" }, + "directoriesFailedToListFromSource": { + "description": "For transfers involving PosixFilesystem only. Number of listing failures for each directory found at the source. Potential failures when listing a directory include permission failure or block failure. If listing a directory fails, no files in the directory are transferred.", + "format": "int64", + "type": "string" + }, + "directoriesFoundFromSource": { + "description": "For transfers involving PosixFilesystem only. Number of directories found while listing. For example, if the root directory of the transfer is `base/` and there are two other directories, `a/` and `b/` under this directory, the count after listing `base/`, `base/a/` and `base/b/` is 3.", + "format": "int64", + "type": "string" + }, + "directoriesSuccessfullyListedFromSource": { + "description": "For transfers involving PosixFilesystem only. Number of successful listings for each directory found at the source.", + "format": "int64", + "type": "string" + }, "objectsCopiedToSink": { "description": "Objects that are copied to the data sink.", "format": "int64", @@ -1039,6 +1076,10 @@ "description": "The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.", "type": "string" }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Logging configuration." + }, "name": { "description": "A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service assigns a unique name. Otherwise, the specified name is used as the unique name for this job. If the specified name is in use by a job, the creation request fails with an ALREADY_EXISTS error. This name must start with `\"transferJobs/\"` prefix and end with a letter or a number, and should be no more than 128 characters. For transfers involving PosixFilesystem, this name must start with 'transferJobs/OPI' specifically. For all other transfer types, this name must not start with 'transferJobs/OPI'. 'transferJobs/OPI' is a reserved prefix for PosixFilesystem transfers. Non-PosixFilesystem example: `\"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$\"` PosixFilesystem example: `\"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$\"` Applications must not rely on the enforcement of naming requirements involving OPI. Invalid job names fail with an INVALID_ARGUMENT error.", "type": "string" @@ -1195,6 +1236,10 @@ "$ref": "ObjectConditions", "description": "Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' \"last modification time\" do not exclude objects in a data sink." }, + "posixDataSource": { + "$ref": "PosixFilesystem", + "description": "A POSIX Filesystem data source." + }, "transferOptions": { "$ref": "TransferOptions", "description": "If the option delete_objects_unique_in_sink is `true` and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error." diff --git a/discovery/googleapis/streetviewpublish__v1.json b/discovery/googleapis/streetviewpublish__v1.json index 888027cd9..d0b89f79f 100644 --- a/discovery/googleapis/streetviewpublish__v1.json +++ b/discovery/googleapis/streetviewpublish__v1.json @@ -373,7 +373,7 @@ } } }, - "revision": "20210721", + "revision": "20210906", "rootUrl": "https://streetviewpublish.googleapis.com/", "schemas": { "BatchDeletePhotosRequest": { diff --git a/discovery/googleapis/sts__v1.json b/discovery/googleapis/sts__v1.json index e19cea2a9..05fe98729 100644 --- a/discovery/googleapis/sts__v1.json +++ b/discovery/googleapis/sts__v1.json @@ -96,21 +96,6 @@ "resources": { "v1": { "methods": { - "introspect": { - "description": "Gets information about a Google OAuth 2.0 access token issued by the Google Cloud [Security Token Service API](https://cloud.google.com/iam/docs/reference/sts/rest).", - "flatPath": "v1/introspect", - "httpMethod": "POST", - "id": "sts.introspect", - "parameterOrder": [], - "parameters": {}, - "path": "v1/introspect", - "request": { - "$ref": "GoogleIdentityStsV1IntrospectTokenRequest" - }, - "response": { - "$ref": "GoogleIdentityStsV1IntrospectTokenResponse" - } - }, "token": { "description": "Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within a workload identity pool, or it applies a Credential Access Boundary to a Google access token. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.", "flatPath": "v1/token", @@ -129,15 +114,73 @@ } } }, - "revision": "20210716", + "revision": "20210827", "rootUrl": "https://sts.googleapis.com/", "schemas": { + "GoogleIamV1Binding": { + "description": "Associates `members` with a `role`.", + "id": "GoogleIamV1Binding", + "properties": { + "condition": { + "$ref": "GoogleTypeExpr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityStsV1AccessBoundary": { + "description": "An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.", + "id": "GoogleIdentityStsV1AccessBoundary", + "properties": { + "accessBoundaryRules": { + "description": "A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules.", + "items": { + "$ref": "GoogleIdentityStsV1AccessBoundaryRule" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityStsV1AccessBoundaryRule": { + "description": "An access boundary rule defines an upper bound of IAM permissions on a single resource.", + "id": "GoogleIdentityStsV1AccessBoundaryRule", + "properties": { + "availabilityCondition": { + "$ref": "GoogleTypeExpr", + "description": "The availability condition further constrains the access allowed by the access boundary rule. If the condition evaluates to `true`, then this access boundary rule will provide access to the specified resource, assuming the principal has the required permissions for the resource. If the condition does not evaluate to `true`, then access to the specified resource will not be available. Note that all access boundary rules in an access boundary are evaluated together as a union. As such, another access boundary rule may allow access to the resource, even if this access boundary rule does not allow access. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). The maximum length of the `expression` field is 2048 characters." + }, + "availablePermissions": { + "description": "A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of google.iam.v1.Binding.role. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.", + "items": { + "type": "string" + }, + "type": "array" + }, + "availableResource": { + "description": "The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleIdentityStsV1ExchangeTokenRequest": { "description": "Request message for ExchangeToken.", "id": "GoogleIdentityStsV1ExchangeTokenRequest", "properties": { "audience": { - "description": "The full resource name of the identity provider; for example: `//iam.googleapis.com/projects//workloadIdentityPools//providers/`. Required when exchanging an external credential for a Google access token.", + "description": "The full resource name of the identity provider; for example: `//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/`. Required when exchanging an external credential for a Google access token.", "type": "string" }, "grantType": { @@ -157,7 +200,7 @@ "type": "string" }, "subjectToken": { - "description": "Required. The input token. This token is either an external credential issued by a workload identity pool provider, or a short-lived access token issued by Google. If the token is an OIDC JWT, it must use the JWT format defined in [RFC 7523](https://tools.ietf.org/html/rfc7523), and the `subject_token_type` must be either `urn:ietf:params:oauth:token-type:jwt` or `urn:ietf:params:oauth:token-type:id_token`. The following headers are required: - `kid`: The identifier of the signing key securing the JWT. - `alg`: The cryptographic algorithm securing the JWT. Must be `RS256` or `ES256`. The following payload fields are required. For more information, see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `iss`: The issuer of the token. The issuer must provide a discovery document at the URL `/.well-known/openid-configuration`, where `` is the value of this field. The document must be formatted according to section 4.2 of the [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in the allowed audiences for the workload identity pool provider, or one of the audiences allowed by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.providers#oidc Example header: ``` { \"alg\": \"RS256\", \"kid\": \"us-east-11\" } ``` Example payload: ``` { \"iss\": \"https://accounts.google.com\", \"iat\": 1517963104, \"exp\": 1517966704, \"aud\": \"//iam.googleapis.com/projects/1234567890123/locations/global/workloadIdentityPools/my-pool/providers/my-provider\", \"sub\": \"113475438248934895348\", \"my_claims\": { \"additional_claim\": \"value\" } } ``` If `subject_token` is for AWS, it must be a serialized `GetCallerIdentity` token. This token contains the same information as a request to the AWS [`GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity) method, as well as the AWS [signature](https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) for the request information. Use Signature Version 4. Format the request as URL-encoded JSON, and set the `subject_token_type` parameter to `urn:ietf:params:aws:token-type:aws4_request`. The following parameters are required: - `url`: The URL of the AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also supported. - `method`: The HTTP request method: `POST`. - `headers`: The HTTP request headers, which must include: - `Authorization`: The request signature. - `x-amz-date`: The time you will send the request, formatted as an [ISO8601 Basic](https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#sigv4_elements_date) string. This value is typically set to the current time and is used to help prevent replay attacks. - `host`: The hostname of the `url` field; for example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`: The full, canonical resource name of the workload identity pool provider, with or without an `https:` prefix. To help ensure data integrity, we recommend including this header in the `SignedHeaders` field of the signed request. For example: //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ If you are using temporary security credentials provided by AWS, you must also include the header `x-amz-security-token`, with the value set to the session token. The following example shows a `GetCallerIdentity` token: ``` { \"headers\": [ {\"key\": \"x-amz-date\", \"value\": \"20200815T015049Z\"}, {\"key\": \"Authorization\", \"value\": \"AWS4-HMAC-SHA256+Credential=$credential,+SignedHeaders=host;x-amz-date;x-goog-cloud-target-resource,+Signature=$signature\"}, {\"key\": \"x-goog-cloud-target-resource\", \"value\": \"//iam.googleapis.com/projects//locations//workloadIdentityPools//providers/\"}, {\"key\": \"host\", \"value\": \"sts.amazonaws.com\"} . ], \"method\": \"POST\", \"url\": \"https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15\" } ``` You can also use a Google-issued OAuth 2.0 access token with this field to obtain an access token with new security attributes applied, such as a Credential Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-type:access_token`. If an access token already contains security attributes, you cannot apply additional security attributes.", + "description": "Required. The input token. This token is either an external credential issued by a workload identity pool provider, or a short-lived access token issued by Google. If the token is an OIDC JWT, it must use the JWT format defined in [RFC 7523](https://tools.ietf.org/html/rfc7523), and the `subject_token_type` must be either `urn:ietf:params:oauth:token-type:jwt` or `urn:ietf:params:oauth:token-type:id_token`. The following headers are required: - `kid`: The identifier of the signing key securing the JWT. - `alg`: The cryptographic algorithm securing the JWT. Must be `RS256` or `ES256`. The following payload fields are required. For more information, see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `iss`: The issuer of the token. The issuer must provide a discovery document at the URL `/.well-known/openid-configuration`, where `` is the value of this field. The document must be formatted according to section 4.2 of the [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in the allowed audiences for the workload identity pool provider, or one of the audiences allowed by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.providers#oidc Example header: ``` { \"alg\": \"RS256\", \"kid\": \"us-east-11\" } ``` Example payload: ``` { \"iss\": \"https://accounts.google.com\", \"iat\": 1517963104, \"exp\": 1517966704, \"aud\": \"//iam.googleapis.com/projects/1234567890123/locations/global/workloadIdentityPools/my-pool/providers/my-provider\", \"sub\": \"113475438248934895348\", \"my_claims\": { \"additional_claim\": \"value\" } } ``` If `subject_token` is for AWS, it must be a serialized `GetCallerIdentity` token. This token contains the same information as a request to the AWS [`GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity) method, as well as the AWS [signature](https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) for the request information. Use Signature Version 4. Format the request as URL-encoded JSON, and set the `subject_token_type` parameter to `urn:ietf:params:aws:token-type:aws4_request`. The following parameters are required: - `url`: The URL of the AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also supported. - `method`: The HTTP request method: `POST`. - `headers`: The HTTP request headers, which must include: - `Authorization`: The request signature. - `x-amz-date`: The time you will send the request, formatted as an [ISO8601 Basic](https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#sigv4_elements_date) string. This value is typically set to the current time and is used to help prevent replay attacks. - `host`: The hostname of the `url` field; for example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`: The full, canonical resource name of the workload identity pool provider, with or without an `https:` prefix. To help ensure data integrity, we recommend including this header in the `SignedHeaders` field of the signed request. For example: //iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ If you are using temporary security credentials provided by AWS, you must also include the header `x-amz-security-token`, with the value set to the session token. The following example shows a `GetCallerIdentity` token: ``` { \"headers\": [ {\"key\": \"x-amz-date\", \"value\": \"20200815T015049Z\"}, {\"key\": \"Authorization\", \"value\": \"AWS4-HMAC-SHA256+Credential=$credential,+SignedHeaders=host;x-amz-date;x-goog-cloud-target-resource,+Signature=$signature\"}, {\"key\": \"x-goog-cloud-target-resource\", \"value\": \"//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/\"}, {\"key\": \"host\", \"value\": \"sts.amazonaws.com\"} . ], \"method\": \"POST\", \"url\": \"https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15\" } ``` You can also use a Google-issued OAuth 2.0 access token with this field to obtain an access token with new security attributes applied, such as a Credential Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-type:access_token`. If an access token already contains security attributes, you cannot apply additional security attributes.", "type": "string" }, "subjectTokenType": { @@ -191,57 +234,104 @@ }, "type": "object" }, - "GoogleIdentityStsV1IntrospectTokenRequest": { - "description": "Request message for IntrospectToken.", - "id": "GoogleIdentityStsV1IntrospectTokenRequest", + "GoogleIdentityStsV1Options": { + "description": "An `Options` object configures features that the Security Token Service supports, but that are not supported by standard OAuth 2.0 token exchange endpoints, as defined in https://tools.ietf.org/html/rfc8693.", + "id": "GoogleIdentityStsV1Options", "properties": { - "token": { - "description": "Required. The OAuth 2.0 security token issued by the Security Token Service API.", - "type": "string" + "accessBoundary": { + "$ref": "GoogleIdentityStsV1AccessBoundary", + "description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." + }, + "audiences": { + "description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.", + "items": { + "type": "string" + }, + "type": "array" }, - "tokenTypeHint": { - "description": "Optional. The type of the given token. Supported values are `urn:ietf:params:oauth:token-type:access_token` and `access_token`.", + "userProject": { + "description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "GoogleIdentityStsV1IntrospectTokenResponse": { - "description": "Response message for IntrospectToken.", - "id": "GoogleIdentityStsV1IntrospectTokenResponse", + "GoogleIdentityStsV1betaAccessBoundary": { + "description": "An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.", + "id": "GoogleIdentityStsV1betaAccessBoundary", "properties": { - "active": { - "description": "A boolean value that indicates whether the provided access token is currently active.", - "type": "boolean" + "accessBoundaryRules": { + "description": "A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules.", + "items": { + "$ref": "GoogleIdentityStsV1betaAccessBoundaryRule" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityStsV1betaAccessBoundaryRule": { + "description": "An access boundary rule defines an upper bound of IAM permissions on a single resource.", + "id": "GoogleIdentityStsV1betaAccessBoundaryRule", + "properties": { + "availabilityCondition": { + "$ref": "GoogleTypeExpr", + "description": "The availability condition further constrains the access allowed by the access boundary rule. If the condition evaluates to `true`, then this access boundary rule will provide access to the specified resource, assuming the principal has the required permissions for the resource. If the condition does not evaluate to `true`, then access to the specified resource will not be available. Note that all access boundary rules in an access boundary are evaluated together as a union. As such, another access boundary rule may allow access to the resource, even if this access boundary rule does not allow access. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). The maximum length of the `expression` field is 2048 characters." }, - "client_id": { - "description": "The client identifier for the OAuth 2.0 client that requested the provided token.", - "type": "string" + "availablePermissions": { + "description": "A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of google.iam.v1.Binding.role. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.", + "items": { + "type": "string" + }, + "type": "array" }, - "exp": { - "description": "The expiration timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire.", - "format": "int64", + "availableResource": { + "description": "The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.", "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityStsV1betaOptions": { + "description": "An `Options` object configures features that the Security Token Service supports, but that are not supported by standard OAuth 2.0 token exchange endpoints, as defined in https://tools.ietf.org/html/rfc8693.", + "id": "GoogleIdentityStsV1betaOptions", + "properties": { + "accessBoundary": { + "$ref": "GoogleIdentityStsV1betaAccessBoundary", + "description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." }, - "iat": { - "description": "The issued timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued.", - "format": "int64", - "type": "string" + "audiences": { + "description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.", + "items": { + "type": "string" + }, + "type": "array" }, - "iss": { - "description": "The issuer of the provided token.", + "userProject": { + "description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleTypeExpr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "GoogleTypeExpr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", "type": "string" }, - "scope": { - "description": "A list of scopes associated with the provided token.", + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", "type": "string" }, - "sub": { - "description": "The unique user ID associated with the provided token. For Google Accounts, this value is based on the Google Account's user ID. For federated identities, this value is based on the identity pool ID and the value of the mapped `google.subject` attribute.", + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", "type": "string" }, - "username": { - "description": "The human-readable identifier for the token principal subject. For example, if the provided token is associated with a workload identity pool, this field contains a value in the following format: `principal://iam.googleapis.com/projects//locations//workloadIdentityPools//subject/`", + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", "type": "string" } }, diff --git a/discovery/googleapis/tagmanager__v1.json b/discovery/googleapis/tagmanager__v1.json index 87713f390..231661344 100644 --- a/discovery/googleapis/tagmanager__v1.json +++ b/discovery/googleapis/tagmanager__v1.json @@ -1931,7 +1931,7 @@ } } }, - "revision": "20210717", + "revision": "20210828", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/googleapis/tagmanager__v2.json b/discovery/googleapis/tagmanager__v2.json index 35dcff2ce..e3723c370 100644 --- a/discovery/googleapis/tagmanager__v2.json +++ b/discovery/googleapis/tagmanager__v2.json @@ -1196,7 +1196,10 @@ "requestPath", "requestMethod", "clientName", - "queryString" + "queryString", + "serverPageLocationUrl", + "serverPageLocationPath", + "serverPageLocationHostname" ], "enumDescriptions": [ "", @@ -1308,6 +1311,9 @@ "", "", "", + "", + "", + "", "" ], "location": "query", @@ -1451,7 +1457,10 @@ "requestPath", "requestMethod", "clientName", - "queryString" + "queryString", + "serverPageLocationUrl", + "serverPageLocationPath", + "serverPageLocationHostname" ], "enumDescriptions": [ "", @@ -1563,6 +1572,9 @@ "", "", "", + "", + "", + "", "" ], "location": "query", @@ -1734,7 +1746,10 @@ "requestPath", "requestMethod", "clientName", - "queryString" + "queryString", + "serverPageLocationUrl", + "serverPageLocationPath", + "serverPageLocationHostname" ], "enumDescriptions": [ "", @@ -1846,6 +1861,9 @@ "", "", "", + "", + "", + "", "" ], "location": "query", @@ -1862,6 +1880,180 @@ } } }, + "clients": { + "methods": { + "create": { + "description": "Creates a GTM Client.", + "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients", + "httpMethod": "POST", + "id": "tagmanager.accounts.containers.workspaces.clients.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", + "location": "path", + "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "tagmanager/v2/{+parent}/clients", + "request": { + "$ref": "Client" + }, + "response": { + "$ref": "Client" + }, + "scopes": [ + "https://www.googleapis.com/auth/tagmanager.edit.containers" + ] + }, + "delete": { + "description": "Deletes a GTM Client.", + "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", + "httpMethod": "DELETE", + "id": "tagmanager.accounts.containers.workspaces.clients.delete", + "parameterOrder": [ + "path" + ], + "parameters": { + "path": { + "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", + "location": "path", + "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "tagmanager/v2/{+path}", + "scopes": [ + "https://www.googleapis.com/auth/tagmanager.edit.containers" + ] + }, + "get": { + "description": "Gets a GTM Client.", + "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", + "httpMethod": "GET", + "id": "tagmanager.accounts.containers.workspaces.clients.get", + "parameterOrder": [ + "path" + ], + "parameters": { + "path": { + "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", + "location": "path", + "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "tagmanager/v2/{+path}", + "response": { + "$ref": "Client" + }, + "scopes": [ + "https://www.googleapis.com/auth/tagmanager.edit.containers", + "https://www.googleapis.com/auth/tagmanager.readonly" + ] + }, + "list": { + "description": "Lists all GTM Clients of a GTM container workspace.", + "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients", + "httpMethod": "GET", + "id": "tagmanager.accounts.containers.workspaces.clients.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageToken": { + "description": "Continuation token for fetching the next page of results.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", + "location": "path", + "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "tagmanager/v2/{+parent}/clients", + "response": { + "$ref": "ListClientsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/tagmanager.edit.containers", + "https://www.googleapis.com/auth/tagmanager.readonly" + ] + }, + "revert": { + "description": "Reverts changes to a GTM Client in a GTM Workspace.", + "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}:revert", + "httpMethod": "POST", + "id": "tagmanager.accounts.containers.workspaces.clients.revert", + "parameterOrder": [ + "path" + ], + "parameters": { + "fingerprint": { + "description": "When provided, this fingerprint must match the fingerprint of the client in storage.", + "location": "query", + "type": "string" + }, + "path": { + "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", + "location": "path", + "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "tagmanager/v2/{+path}:revert", + "response": { + "$ref": "RevertClientResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/tagmanager.edit.containers" + ] + }, + "update": { + "description": "Updates a GTM Client.", + "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", + "httpMethod": "PUT", + "id": "tagmanager.accounts.containers.workspaces.clients.update", + "parameterOrder": [ + "path" + ], + "parameters": { + "fingerprint": { + "description": "When provided, this fingerprint must match the fingerprint of the client in storage.", + "location": "query", + "type": "string" + }, + "path": { + "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", + "location": "path", + "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "tagmanager/v2/{+path}", + "request": { + "$ref": "Client" + }, + "response": { + "$ref": "Client" + }, + "scopes": [ + "https://www.googleapis.com/auth/tagmanager.edit.containers" + ] + } + } + }, "folders": { "methods": { "create": { @@ -3124,7 +3316,7 @@ } } }, - "revision": "20210717", + "revision": "20210828", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { @@ -3313,7 +3505,10 @@ "requestPath", "requestMethod", "clientName", - "queryString" + "queryString", + "serverPageLocationUrl", + "serverPageLocationPath", + "serverPageLocationHostname" ], "enumDescriptions": [ "", @@ -3425,6 +3620,9 @@ "", "", "", + "", + "", + "", "" ], "type": "string" @@ -3456,6 +3654,12 @@ "type": "string" }, "name": { + "annotations": { + "required": [ + "tagmanager.accounts.containers.workspaces.clients.create", + "tagmanager.accounts.containers.workspaces.clients.update" + ] + }, "description": "Client display name. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update", "type": "string" }, @@ -3488,6 +3692,12 @@ "type": "string" }, "type": { + "annotations": { + "required": [ + "tagmanager.accounts.containers.workspaces.clients.create", + "tagmanager.accounts.containers.workspaces.clients.update" + ] + }, "description": "Client type. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update", "type": "string" }, @@ -4217,6 +4427,23 @@ }, "type": "object" }, + "ListClientsResponse": { + "id": "ListClientsResponse", + "properties": { + "client": { + "description": "All GTM Clients of a GTM Container.", + "items": { + "$ref": "Client" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Continuation token for fetching the next page of results.", + "type": "string" + } + }, + "type": "object" + }, "ListContainerVersionsResponse": { "description": "List container versions response.", "id": "ListContainerVersionsResponse", @@ -4554,6 +4781,17 @@ }, "type": "object" }, + "RevertClientResponse": { + "description": "The result of reverting a client in a workspace.", + "id": "RevertClientResponse", + "properties": { + "client": { + "$ref": "Client", + "description": "Client as it appears in the latest container version since the last workspace synchronization operation. If no client is present, that means the client was deleted in the latest container version." + } + }, + "type": "object" + }, "RevertFolderResponse": { "description": "The result of reverting folder changes in a workspace.", "id": "RevertFolderResponse", @@ -4690,6 +4928,10 @@ }, "type": "array" }, + "consentSettings": { + "$ref": "TagConsentSetting", + "description": "Consent settings of a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update" + }, "containerId": { "description": "GTM Container ID.", "type": "string" @@ -4826,6 +5068,30 @@ }, "type": "object" }, + "TagConsentSetting": { + "id": "TagConsentSetting", + "properties": { + "consentStatus": { + "description": "The tag's consent status. If set to NEEDED, the runtime will check that the consent types specified by the consent_type field have been granted.", + "enum": [ + "notSet", + "notNeeded", + "needed" + ], + "enumDescriptions": [ + "Default value where user has not specified any setting on it.", + "Tag doesn't require any additional consent settings.", + "Tag requires additional consent settings." + ], + "type": "string" + }, + "consentType": { + "$ref": "Parameter", + "description": "The type of consents to check for during tag firing if in the consent NEEDED state. This parameter must be of type LIST where each list item is of type STRING." + } + }, + "type": "object" + }, "TeardownTag": { "description": "Represents a tag that fires after another tag in order to tear down dependencies.", "id": "TeardownTag", diff --git a/discovery/googleapis/tasks__v1.json b/discovery/googleapis/tasks__v1.json index e3002006f..5167d901f 100644 --- a/discovery/googleapis/tasks__v1.json +++ b/discovery/googleapis/tasks__v1.json @@ -564,7 +564,7 @@ } } }, - "revision": "20210719", + "revision": "20210903", "rootUrl": "https://tasks.googleapis.com/", "schemas": { "Task": { diff --git a/discovery/googleapis/testing__v1.json b/discovery/googleapis/testing__v1.json index 2dd47037c..d50783b69 100644 --- a/discovery/googleapis/testing__v1.json +++ b/discovery/googleapis/testing__v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } @@ -281,7 +281,7 @@ } } }, - "revision": "20210719", + "revision": "20210827", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -552,7 +552,7 @@ "type": "object" }, "AndroidRoboTest": { - "description": "A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes. Next tag: 30", + "description": "A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.", "id": "AndroidRoboTest", "properties": { "appApk": { @@ -596,7 +596,7 @@ "ROBO_VERSION_2" ], "enumDescriptions": [ - "LINT.IfChange This means that the server should choose the mode. Recommended.", + "This means that the server should choose the mode. Recommended.", "Runs Robo in UIAutomator-only mode without app resigning", "Runs Robo in standard Espresso with UIAutomator fallback" ], @@ -1286,7 +1286,7 @@ "type": "string" }, "pullDirectories": { - "description": "List of directories on the device to upload to Cloud Storage at the end of the test. Directories should either be in a shared directory (e.g. /private/var/mobile/Media) or within an accessible directory inside the app's filesystem (e.g. /Documents) by specifying the bundle id.", + "description": "List of directories on the device to upload to Cloud Storage at the end of the test. Directories should either be in a shared directory (such as /private/var/mobile/Media) or within an accessible directory inside the app's filesystem (such as /Documents) by specifying the bundle ID.", "items": { "$ref": "IosDeviceFile" }, @@ -1486,7 +1486,7 @@ "type": "string" }, "orchestratorVersion": { - "description": "A string representing the current version of Android Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#com.android.support.test:orchestrator.", + "description": "Deprecated: Use AndroidX Test Orchestrator going forward. A string representing the current version of Android Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#com.android.support.test:orchestrator.", "type": "string" } }, diff --git a/discovery/googleapis/texttospeech__v1.json b/discovery/googleapis/texttospeech__v1.json index acb6d6b6c..34a1a108d 100644 --- a/discovery/googleapis/texttospeech__v1.json +++ b/discovery/googleapis/texttospeech__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -151,7 +151,7 @@ } } }, - "revision": "20210618", + "revision": "20210827", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -164,13 +164,17 @@ "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MP3", - "OGG_OPUS" + "OGG_OPUS", + "MULAW", + "ALAW" ], "enumDescriptions": [ "Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.", "Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.", "MP3 audio at 32kbps.", - "Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate." + "Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Audio content returned as MULAW also contains a WAV header.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. Audio content returned as ALAW also contains a WAV header." ], "type": "string" }, diff --git a/discovery/googleapis/tpu__v1.json b/discovery/googleapis/tpu__v1.json index ba23058e9..65ac5f5f7 100644 --- a/discovery/googleapis/tpu__v1.json +++ b/discovery/googleapis/tpu__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -428,7 +428,7 @@ ] }, "stop": { - "description": "Stops a node.", + "description": "Stops a node, this operation is only available with single TPU nodes.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:stop", "httpMethod": "POST", "id": "tpu.projects.locations.nodes.stop", @@ -657,7 +657,7 @@ } } }, - "revision": "20210707", + "revision": "20210824", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": { @@ -969,7 +969,7 @@ "enumDescriptions": [ "TPU node state is not known/set.", "TPU node is being created.", - "TPU node has been created and is fully usable.", + "TPU node has been created.", "TPU node is restarting.", "TPU node is undergoing reimaging.", "TPU node is being deleted.", @@ -1050,7 +1050,7 @@ "type": "string" }, "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, diff --git a/discovery/googleapis/trafficdirector__v2.json b/discovery/googleapis/trafficdirector__v2.json index dcbc50882..cfc39e56d 100644 --- a/discovery/googleapis/trafficdirector__v2.json +++ b/discovery/googleapis/trafficdirector__v2.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -126,7 +126,7 @@ } } }, - "revision": "20210709", + "revision": "20210827", "rootUrl": "https://trafficdirector.googleapis.com/", "schemas": { "Address": { diff --git a/discovery/googleapis/translate__v3.json b/discovery/googleapis/translate__v3.json index 25ca4c157..312db467c 100644 --- a/discovery/googleapis/translate__v3.json +++ b/discovery/googleapis/translate__v3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-translation": { "description": "Translate text from one language to another using Google Translate" @@ -685,7 +685,7 @@ } } }, - "revision": "20210625", + "revision": "20210809", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchTranslateTextRequest": { diff --git a/discovery/googleapis/vault__v1.json b/discovery/googleapis/vault__v1.json index 2a254418b..aa7c930a7 100644 --- a/discovery/googleapis/vault__v1.json +++ b/discovery/googleapis/vault__v1.json @@ -1191,7 +1191,7 @@ } } }, - "revision": "20210712", + "revision": "20210817", "rootUrl": "https://vault.googleapis.com/", "schemas": { "AccountCount": { @@ -2583,7 +2583,7 @@ } }, "servicePath": "", - "title": "G Suite Vault API", + "title": "Google Vault API", "version": "v1", "version_module": true } \ No newline at end of file diff --git a/discovery/googleapis/vectortile__v1.json b/discovery/googleapis/vectortile__v1.json index 792901ec3..9945ddacb 100644 --- a/discovery/googleapis/vectortile__v1.json +++ b/discovery/googleapis/vectortile__v1.json @@ -304,7 +304,7 @@ "type": "integer" }, "minElevationResolutionCells": { - "description": "The minimum allowed resolution for the returned elevation heightmap. Possible values: between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this value. Non-uniformity is chosen to maximise the amount of preserved data. For example: Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)", + "description": " api-linter: core::0131::request-unknown-fields=disabled aip.dev/not-precedent: Maintaining existing request parameter pattern. The minimum allowed resolution for the returned elevation heightmap. Possible values: between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this value. Non-uniformity is chosen to maximise the amount of preserved data. For example: Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)", "format": "int32", "location": "query", "type": "integer" @@ -341,7 +341,7 @@ } } }, - "revision": "20210719", + "revision": "20210903", "rootUrl": "https://vectortile.googleapis.com/", "schemas": { "Area": { @@ -591,7 +591,7 @@ "type": "object" }, "FirstDerivativeElevationGrid": { - "description": "A packed representation of a 2D grid of uniformly spaced points containing elevation data. Each point within the grid represents the altitude in meters above average sea level at that location within the tile. Elevations provided are (generally) relative to the EGM96 geoid, however some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more than 2 meters. The grid is oriented north-west to south-east, as illustrated: rows[0].a[0] rows[0].a[m] +-----------------+ | | | N | | ^ | | | | | W <-----> E | | | | | v | | S | | | +-----------------+ rows[n].a[0] rows[n].a[m] Rather than storing the altitudes directly, we store the diffs between them as integers at some requested level of precision to take advantage of integer packing. The actual altitude values a[] can be reconstructed using the scale and each row's first_altitude and altitude_diff fields.", + "description": "A packed representation of a 2D grid of uniformly spaced points containing elevation data. Each point within the grid represents the altitude in meters above average sea level at that location within the tile. Elevations provided are (generally) relative to the EGM96 geoid, however some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more than 2 meters. The grid is oriented north-west to south-east, as illustrated: rows[0].a[0] rows[0].a[m] +-----------------+ | | | N | | ^ | | | | | W <-----> E | | | | | v | | S | | | +-----------------+ rows[n].a[0] rows[n].a[m] Rather than storing the altitudes directly, we store the diffs between them as integers at some requested level of precision to take advantage of integer packing. The actual altitude values a[] can be reconstructed using the scale and each row's first_altitude and altitude_diff fields. More details in go/elevation-encoding-options-for-enduro under \"Recommended implementation\".", "id": "FirstDerivativeElevationGrid", "properties": { "altitudeMultiplier": { @@ -793,7 +793,7 @@ }, "firstDerivative": { "$ref": "FirstDerivativeElevationGrid", - "description": "Terrain elevation data encoded as a FirstDerivativeElevationGrid." + "description": "Terrain elevation data encoded as a FirstDerivativeElevationGrid. cs/symbol:FirstDerivativeElevationGrid." }, "name": { "description": "Resource name of the tile. The tile resource name is prefixed by its collection ID `terrain/` followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as `@,,z`. For example, `terrain/@1,2,3z`.", @@ -801,7 +801,7 @@ }, "secondDerivative": { "$ref": "SecondDerivativeElevationGrid", - "description": "Terrain elevation data encoded as a SecondDerivativeElevationGrid. ." + "description": "Terrain elevation data encoded as a SecondDerivativeElevationGrid. cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for more details." } }, "type": "object" diff --git a/discovery/googleapis/videointelligence__v1.json b/discovery/googleapis/videointelligence__v1.json index 6e45b1426..ef4338b8e 100644 --- a/discovery/googleapis/videointelligence__v1.json +++ b/discovery/googleapis/videointelligence__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -348,7 +348,7 @@ } } }, - "revision": "20210715", + "revision": "20210813", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { diff --git a/discovery/googleapis/vision__v1.json b/discovery/googleapis/vision__v1.json index 16d749eec..5c9942005 100644 --- a/discovery/googleapis/vision__v1.json +++ b/discovery/googleapis/vision__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-vision": { "description": "Apply machine learning models to understand and label images" @@ -1280,7 +1280,7 @@ } } }, - "revision": "20210709", + "revision": "20210827", "rootUrl": "https://vision.googleapis.com/", "schemas": { "AddProductToProductSetRequest": { diff --git a/discovery/googleapis/webfonts__v1.json b/discovery/googleapis/webfonts__v1.json index 7ce02532f..f47a5d106 100644 --- a/discovery/googleapis/webfonts__v1.json +++ b/discovery/googleapis/webfonts__v1.json @@ -133,7 +133,7 @@ } } }, - "revision": "20210629", + "revision": "20210831", "rootUrl": "https://webfonts.googleapis.com/", "schemas": { "Webfont": { diff --git a/discovery/googleapis/webrisk__v1.json b/discovery/googleapis/webrisk__v1.json index 450d3a411..6f052abaa 100644 --- a/discovery/googleapis/webrisk__v1.json +++ b/discovery/googleapis/webrisk__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -444,7 +444,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://webrisk.googleapis.com/", "schemas": { "GoogleCloudWebriskV1ComputeThreatListDiffResponse": { diff --git a/discovery/googleapis/websecurityscanner__v1.json b/discovery/googleapis/websecurityscanner__v1.json index 3b63d0064..a5ea68b20 100644 --- a/discovery/googleapis/websecurityscanner__v1.json +++ b/discovery/googleapis/websecurityscanner__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -524,7 +524,7 @@ } } }, - "revision": "20210715", + "revision": "20210827", "rootUrl": "https://websecurityscanner.googleapis.com/", "schemas": { "Authentication": { diff --git a/discovery/googleapis/workflowexecutions__v1.json b/discovery/googleapis/workflowexecutions__v1.json index e15964edc..5b0cf92aa 100644 --- a/discovery/googleapis/workflowexecutions__v1.json +++ b/discovery/googleapis/workflowexecutions__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -267,7 +267,7 @@ } } }, - "revision": "20210713", + "revision": "20210830", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { @@ -303,6 +303,20 @@ "description": "Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{\"argument\":\"{\\\"firstName\\\":\\\"FIRST\\\",\\\"lastName\\\":\\\"LAST\\\"}\"}'`", "type": "string" }, + "callLogLevel": { + "description": "The call logging level associated to this execution.", + "enum": [ + "CALL_LOG_LEVEL_UNSPECIFIED", + "LOG_ALL_CALLS", + "LOG_ERRORS_ONLY" + ], + "enumDescriptions": [ + "No call logging specified.", + "Log all call steps within workflows, all call returns, and all exceptions raised.", + "Log only exceptions that are raised from call steps within workflows." + ], + "type": "string" + }, "endTime": { "description": "Output only. Marks the end of execution, successful or not.", "format": "google-datetime", diff --git a/discovery/googleapis/workflows__v1.json b/discovery/googleapis/workflows__v1.json index 753350c30..3f86b3145 100644 --- a/discovery/googleapis/workflows__v1.json +++ b/discovery/googleapis/workflows__v1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -442,7 +442,7 @@ } } }, - "revision": "20210707", + "revision": "20210818", "rootUrl": "https://workflows.googleapis.com/", "schemas": { "Empty": { @@ -674,7 +674,7 @@ "type": "string" }, "serviceAccount": { - "description": "Name of the service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} Using `-` as a wildcard for the `{project}` will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.", + "description": "The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.", "type": "string" }, "sourceContents": { diff --git a/discovery/googleapis/youtubeAnalytics__v2.json b/discovery/googleapis/youtubeAnalytics__v2.json index 8b97b009a..3813e1f46 100644 --- a/discovery/googleapis/youtubeAnalytics__v2.json +++ b/discovery/googleapis/youtubeAnalytics__v2.json @@ -419,7 +419,7 @@ } } }, - "revision": "20210719", + "revision": "20210906", "rootUrl": "https://youtubeanalytics.googleapis.com/", "schemas": { "EmptyResponse": { diff --git a/discovery/googleapis/youtube__v3.json b/discovery/googleapis/youtube__v3.json index 1f382d34f..38fd4467d 100644 --- a/discovery/googleapis/youtube__v3.json +++ b/discovery/googleapis/youtube__v3.json @@ -3011,6 +3011,10 @@ "part" ], "parameters": { + "externalChannelId": { + "location": "query", + "type": "string" + }, "part": { "location": "query", "repeated": true, @@ -3763,7 +3767,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -8130,6 +8134,25 @@ }, "type": "object" }, + "LiveChatMemberMilestoneChatDetails": { + "id": "LiveChatMemberMilestoneChatDetails", + "properties": { + "memberLevelName": { + "description": "The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.", + "type": "string" + }, + "memberMonth": { + "description": "The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.", + "format": "uint32", + "type": "integer" + }, + "userComment": { + "description": "The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.", + "type": "string" + } + }, + "type": "object" + }, "LiveChatMessage": { "description": "A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.", "id": "LiveChatMessage", @@ -8264,10 +8287,11 @@ "type": "object" }, "LiveChatMessageSnippet": { + "description": "Next ID: 31", "id": "LiveChatMessageSnippet", "properties": { "authorChannelId": { - "description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase", + "description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase", "type": "string" }, "displayMessage": { @@ -8285,12 +8309,20 @@ "liveChatId": { "type": "string" }, + "memberMilestoneChatDetails": { + "$ref": "LiveChatMemberMilestoneChatDetails", + "description": "Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'." + }, "messageDeletedDetails": { "$ref": "LiveChatMessageDeletedDetails" }, "messageRetractedDetails": { "$ref": "LiveChatMessageRetractedDetails" }, + "newSponsorDetails": { + "$ref": "LiveChatNewSponsorDetails", + "description": "Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that \"member\" is the new term for \"sponsor\"." + }, "publishedAt": { "description": "The date and time when the message was orignally published.", "format": "date-time", @@ -8319,6 +8351,7 @@ "sponsorOnlyModeStartedEvent", "sponsorOnlyModeEndedEvent", "newSponsorEvent", + "memberMilestoneChatEvent", "messageDeletedEvent", "messageRetractedEvent", "userBannedEvent", @@ -8338,6 +8371,7 @@ "", "", "", + "", "" ], "type": "string" @@ -8431,6 +8465,20 @@ }, "type": "object" }, + "LiveChatNewSponsorDetails": { + "id": "LiveChatNewSponsorDetails", + "properties": { + "isUpgrade": { + "description": "If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false.", + "type": "boolean" + }, + "memberLevelName": { + "description": "The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.", + "type": "string" + } + }, + "type": "object" + }, "LiveChatSuperChatDetails": { "id": "LiveChatSuperChatDetails", "properties": { diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json index 92560f472..b9afc0012 100644 --- a/discovery/googleapis/youtubereporting__v1.json +++ b/discovery/googleapis/youtubereporting__v1.json @@ -410,7 +410,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://youtubereporting.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json index d037e0971..72a186330 100644 --- a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json +++ b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json @@ -2567,7 +2567,7 @@ } } }, - "revision": "20210721", + "revision": "20210906", "rootUrl": "https://adexchangebuyer.googleapis.com/", "schemas": { "AbsoluteDateRange": { diff --git a/discovery/googleapis_beta/alertcenter__v1beta1.json b/discovery/googleapis_beta/alertcenter__v1beta1.json index 490c8b5e9..103c0709d 100644 --- a/discovery/googleapis_beta/alertcenter__v1beta1.json +++ b/discovery/googleapis_beta/alertcenter__v1beta1.json @@ -421,9 +421,81 @@ } } }, - "revision": "20210713", + "revision": "20210830", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { + "AccountSuspensionDetails": { + "description": "Details about why an account is receiving an account suspension warning.", + "id": "AccountSuspensionDetails", + "properties": { + "abuseReason": { + "description": "The reason why this account is receiving an account suspension warning.", + "enum": [ + "ACCOUNT_SUSPENSION_ABUSE_REASON_UNSPECIFIED", + "TOS_VIOLATION", + "SPAM", + "PHISHING", + "TRAFFIC_PUMPING", + "FRAUD", + "NUMBER_HARVESTING", + "PAYMENTS_FRAUD" + ], + "enumDescriptions": [ + "Abuse reason is unspecified.", + "This account is being suspended for a Terms of Service violation.", + "This account is being suspended for spam.", + "This account is being suspended for phishing.", + "This account is being suspended for artificially boosting traffic to a website.", + "This account is being suspended for fraud.", + "This account is being suspended for number harvesting.", + "This account is being suspended for payments fraud." + ], + "type": "string" + }, + "productName": { + "description": "The name of the product being abused. This is restricted to only the following values: \"Gmail\" \"Payments\" \"Voice\" \"Workspace\" \"Other\"", + "type": "string" + } + }, + "type": "object" + }, + "AccountSuspensionWarning": { + "description": "A warning that the customer's account is about to be suspended.", + "id": "AccountSuspensionWarning", + "properties": { + "appealWindow": { + "description": "The amount of time remaining to appeal an imminent suspension. After this window has elapsed, the account will be suspended. Only populated if the account suspension is in WARNING state.", + "format": "google-duration", + "type": "string" + }, + "state": { + "description": "Account suspension warning state.", + "enum": [ + "ACCOUNT_SUSPENSION_WARNING_STATE_UNSPECIFIED", + "WARNING", + "SUSPENDED", + "APPEAL_APPROVED", + "APPEAL_SUBMITTED" + ], + "enumDescriptions": [ + "State is unspecified.", + "Customer is receiving a warning about imminent suspension.", + "Customer is being notified that their account has been suspended.", + "Customer is being notified that their suspension appeal was approved.", + "Customer has submitted their appeal, which is pending review." + ], + "type": "string" + }, + "suspensionDetails": { + "description": "Details about why an account is being suspended.", + "items": { + "$ref": "AccountSuspensionDetails" + }, + "type": "array" + } + }, + "type": "object" + }, "AccountWarning": { "description": "Alerts for user account warning events.", "id": "AccountWarning", @@ -556,7 +628,7 @@ "type": "string" }, "source": { - "description": "Required. A unique identifier for the system that reported the alert. This is output only after alert is created. Supported sources are any of the following: * Google Operations * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity", + "description": "Required. A unique identifier for the system that reported the alert. This is output only after alert is created. Supported sources are any of the following: * Google Operations * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage", "type": "string" }, "startTime": { @@ -686,6 +758,50 @@ }, "type": "object" }, + "AppsOutage": { + "description": "An outage incident reported for a Google Workspace service.", + "id": "AppsOutage", + "properties": { + "dashboardUri": { + "description": "Link to the outage event in Google Workspace Status Dashboard", + "type": "string" + }, + "nextUpdateTime": { + "description": "Timestamp by which the next update is expected to arrive.", + "format": "google-datetime", + "type": "string" + }, + "products": { + "description": "List of products impacted by the outage.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resolutionTime": { + "description": "Timestamp when the outage is expected to be resolved, or has confirmed resolution. Provided only when known.", + "format": "google-datetime", + "type": "string" + }, + "status": { + "description": "Current outage status.", + "enum": [ + "STATUS_UNSPECIFIED", + "NEW", + "ONGOING", + "RESOLVED" + ], + "enumDescriptions": [ + "Status is unspecified.", + "The incident has just been reported.", + "The incident is ongoing.", + "The incident has been resolved." + ], + "type": "string" + } + }, + "type": "object" + }, "Attachment": { "description": "Attachment with application-specific information about an alert.", "id": "Attachment", @@ -1161,30 +1277,6 @@ }, "type": "object" }, - "OutOfDomainForwarding": { - "description": "An alert that gets triggered when a user enables autoforwarding to an email which is outside of its domain", - "id": "OutOfDomainForwarding", - "properties": { - "actorEmail": { - "description": "Email of the actor who triggered the alert.", - "type": "string" - }, - "enableTime": { - "description": "The time the email forwarding was enabled", - "format": "google-datetime", - "type": "string" - }, - "forwardeeEmail": { - "description": "Email to which emails are being forwarded", - "type": "string" - }, - "ipAddress": { - "description": "IP address of the user while enabling forwarding", - "type": "string" - } - }, - "type": "object" - }, "PhishingSpike": { "description": "Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing) instead.", "id": "PhishingSpike", diff --git a/discovery/googleapis_beta/analyticsadmin__v1alpha.json b/discovery/googleapis_beta/analyticsadmin__v1alpha.json index e5fd6f425..e0810643e 100644 --- a/discovery/googleapis_beta/analyticsadmin__v1alpha.json +++ b/discovery/googleapis_beta/analyticsadmin__v1alpha.json @@ -709,6 +709,32 @@ "https://www.googleapis.com/auth/analytics.readonly" ] }, + "getDataRetentionSettings": { + "description": "Returns the singleton data retention settings for this property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataRetentionSettings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.getDataRetentionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: \"properties/1000/dataRetentionSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/dataRetentionSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, "getGoogleSignalsSettings": { "description": "Lookup for Google Signals settings for a property.", "flatPath": "v1alpha/properties/{propertiesId}/googleSignalsSettings", @@ -807,6 +833,40 @@ "https://www.googleapis.com/auth/analytics.edit" ] }, + "updateDataRetentionSettings": { + "description": "Updates the singleton data retention settings for this property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataRetentionSettings", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.updateDataRetentionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings", + "location": "path", + "pattern": "^properties/[^/]+/dataRetentionSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, "updateGoogleSignalsSettings": { "description": "Updates Google Signals settings for a property.", "flatPath": "v1alpha/properties/{propertiesId}/googleSignalsSettings", @@ -3090,7 +3150,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccount": { @@ -3438,6 +3498,10 @@ "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric", "description": "A snapshot of a CustomMetric resource in change history." }, + "dataRetentionSettings": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings", + "description": "A snapshot of a data retention settings resource in change history." + }, "displayVideo360AdvertiserLink": { "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink", "description": "A snapshot of a DisplayVideo360AdvertiserLink resource in change history." @@ -3683,6 +3747,42 @@ }, "type": "object" }, + "GoogleAnalyticsAdminV1alphaDataRetentionSettings": { + "description": "Settings values for data retention. This is a singleton resource.", + "id": "GoogleAnalyticsAdminV1alphaDataRetentionSettings", + "properties": { + "eventDataRetention": { + "description": "The length of time that event-level data is retained.", + "enum": [ + "RETENTION_DURATION_UNSPECIFIED", + "TWO_MONTHS", + "FOURTEEN_MONTHS", + "TWENTY_SIX_MONTHS", + "THIRTY_EIGHT_MONTHS", + "FIFTY_MONTHS" + ], + "enumDescriptions": [ + "Data retention time duration is not specified.", + "The data retention time duration is 2 months.", + "The data retention time duration is 14 months.", + "The data retention time duration is 26 months. Available to 360 properties only.", + "The data retention time duration is 38 months. Available to 360 properties only.", + "The data retention time duration is 50 months. Available to 360 properties only." + ], + "type": "string" + }, + "name": { + "description": "Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings", + "readOnly": true, + "type": "string" + }, + "resetUserDataOnNewActivity": { + "description": "If true, reset the retention period for the user identifier with every event from that user.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleAnalyticsAdminV1alphaDataSharingSettings": { "description": "A resource message representing data sharing settings of a Google Analytics account.", "id": "GoogleAnalyticsAdminV1alphaDataSharingSettings", @@ -4597,7 +4697,8 @@ "CONVERSION_EVENT", "MEASUREMENT_PROTOCOL_SECRET", "CUSTOM_DIMENSION", - "CUSTOM_METRIC" + "CUSTOM_METRIC", + "DATA_RETENTION_SETTINGS" ], "enumDescriptions": [ "Resource type unknown or not specified.", @@ -4612,7 +4713,8 @@ "ConversionEvent resource", "MeasurementProtocolSecret resource", "CustomDimension resource", - "CustomMetric resource" + "CustomMetric resource", + "DataRetentionSettings resource" ], "type": "string" }, diff --git a/discovery/googleapis_beta/analyticsdata__v1beta.json b/discovery/googleapis_beta/analyticsdata__v1beta.json index 161f5671f..3a4116de4 100644 --- a/discovery/googleapis_beta/analyticsdata__v1beta.json +++ b/discovery/googleapis_beta/analyticsdata__v1beta.json @@ -166,6 +166,35 @@ "https://www.googleapis.com/auth/analytics.readonly" ] }, + "checkCompatibility": { + "description": "This compatibility method lists dimensions and metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports.", + "flatPath": "v1beta/properties/{propertiesId}:checkCompatibility", + "httpMethod": "POST", + "id": "analyticsdata.properties.checkCompatibility", + "parameterOrder": [ + "property" + ], + "parameters": { + "property": { + "description": "A Google Analytics GA4 property identifier whose events are tracked. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). `property` should be the same value as in your `runReport` request. Example: properties/1234 Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+property}:checkCompatibility", + "request": { + "$ref": "CheckCompatibilityRequest" + }, + "response": { + "$ref": "CheckCompatibilityResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, "getMetadata": { "description": "Returns metadata for dimensions and metrics available in reporting methods. Used to explore the dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified in the request, and the metadata response includes Custom dimensions and metrics as well as Universal metadata. For example if a custom metric with parameter name `levels_unlocked` is registered to a property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata are dimensions and metrics applicable to any property such as `country` and `totalUsers`.", "flatPath": "v1beta/properties/{propertiesId}/metadata", @@ -282,7 +311,7 @@ } } }, - "revision": "20210720", + "revision": "20210906", "rootUrl": "https://analyticsdata.googleapis.com/", "schemas": { "BatchRunPivotReportsRequest": { @@ -375,6 +404,70 @@ }, "type": "object" }, + "CheckCompatibilityRequest": { + "description": "The request for compatibility information for a report's dimensions and metrics. Check compatibility provides a preview of the compatibility of a report; fields shared with the `runReport` request should be the same values as in your `runReport` request.", + "id": "CheckCompatibilityRequest", + "properties": { + "compatibilityFilter": { + "description": "Filters the dimensions and metrics in the response to just this compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` to only return compatible dimensions & metrics.", + "enum": [ + "COMPATIBILITY_UNSPECIFIED", + "COMPATIBLE", + "INCOMPATIBLE" + ], + "enumDescriptions": [ + "Unspecified compatibility.", + "The dimension or metric is compatible. This dimension or metric can be successfully added to a report.", + "The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report." + ], + "type": "string" + }, + "dimensionFilter": { + "$ref": "FilterExpression", + "description": "The filter clause of dimensions. `dimensionFilter` should be the same value as in your `runReport` request." + }, + "dimensions": { + "description": "The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "metricFilter": { + "$ref": "FilterExpression", + "description": "The filter clause of metrics. `metricFilter` should be the same value as in your `runReport` request" + }, + "metrics": { + "description": "The metrics in this report. `metrics` should be the same value as in your `runReport` request.", + "items": { + "$ref": "Metric" + }, + "type": "array" + } + }, + "type": "object" + }, + "CheckCompatibilityResponse": { + "description": "The compatibility response with the compatibility of each dimension & metric.", + "id": "CheckCompatibilityResponse", + "properties": { + "dimensionCompatibilities": { + "description": "The compatibility of each dimension.", + "items": { + "$ref": "DimensionCompatibility" + }, + "type": "array" + }, + "metricCompatibilities": { + "description": "The compatibility of each metric.", + "items": { + "$ref": "MetricCompatibility" + }, + "type": "array" + } + }, + "type": "object" + }, "Cohort": { "description": "Defines a cohort selection criteria. A cohort is a group of users who share a common characteristic. For example, users with the same `firstSessionDate` belong to the same cohort.", "id": "Cohort", @@ -512,6 +605,31 @@ }, "type": "object" }, + "DimensionCompatibility": { + "description": "The compatibility for a single dimension.", + "id": "DimensionCompatibility", + "properties": { + "compatibility": { + "description": "The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.", + "enum": [ + "COMPATIBILITY_UNSPECIFIED", + "COMPATIBLE", + "INCOMPATIBLE" + ], + "enumDescriptions": [ + "Unspecified compatibility.", + "The dimension or metric is compatible. This dimension or metric can be successfully added to a report.", + "The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report." + ], + "type": "string" + }, + "dimensionMetadata": { + "$ref": "DimensionMetadata", + "description": "The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description." + } + }, + "type": "object" + }, "DimensionExpression": { "description": "Used to express a dimension which is the result of a formula of multiple dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1, symbol, dimension2).", "id": "DimensionExpression", @@ -550,6 +668,10 @@ "description": "This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.", "type": "string" }, + "category": { + "description": "The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.", + "type": "string" + }, "customDefinition": { "description": "True if the dimension is a custom dimension for this property.", "type": "boolean" @@ -736,6 +858,31 @@ }, "type": "object" }, + "MetricCompatibility": { + "description": "The compatibility for a single metric.", + "id": "MetricCompatibility", + "properties": { + "compatibility": { + "description": "The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.", + "enum": [ + "COMPATIBILITY_UNSPECIFIED", + "COMPATIBLE", + "INCOMPATIBLE" + ], + "enumDescriptions": [ + "Unspecified compatibility.", + "The dimension or metric is compatible. This dimension or metric can be successfully added to a report.", + "The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report." + ], + "type": "string" + }, + "metricMetadata": { + "$ref": "MetricMetadata", + "description": "The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description." + } + }, + "type": "object" + }, "MetricHeader": { "description": "Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.", "id": "MetricHeader", @@ -789,6 +936,10 @@ "description": "A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.", "type": "string" }, + "category": { + "description": "The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.", + "type": "string" + }, "customDefinition": { "description": "True if the metric is a custom metric for this property.", "type": "boolean" @@ -1129,9 +1280,17 @@ "description": "Response's metadata carrying additional information about the report content.", "id": "ResponseMetaData", "properties": { + "currencyCode": { + "description": "The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example \"USD\", \"EUR\", \"JPY\". To learn more, see https://support.google.com/analytics/answer/9796179.", + "type": "string" + }, "dataLossFromOtherRow": { "description": "If true, indicates some buckets of dimension combinations are rolled into \"(other)\" row. This can happen for high cardinality reports.", "type": "boolean" + }, + "timeZone": { + "description": "The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example \"America/New_York\" or \"Asia/Tokyo\".", + "type": "string" } }, "type": "object" @@ -1430,7 +1589,7 @@ }, "dimensionFilter": { "$ref": "FilterExpression", - "description": "The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter." + "description": "Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this filter." }, "dimensions": { "description": "The dimensions requested and displayed.", @@ -1471,7 +1630,7 @@ }, "metricFilter": { "$ref": "FilterExpression", - "description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter." + "description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Dimensions cannot be used in this filter." }, "metrics": { "description": "The metrics requested and displayed.", diff --git a/discovery/googleapis_beta/area120tables__v1alpha1.json b/discovery/googleapis_beta/area120tables__v1alpha1.json index 6a3b18d5e..986a8272c 100644 --- a/discovery/googleapis_beta/area120tables__v1alpha1.json +++ b/discovery/googleapis_beta/area120tables__v1alpha1.json @@ -584,7 +584,7 @@ } } }, - "revision": "20210721", + "revision": "20210906", "rootUrl": "https://area120tables.googleapis.com/", "schemas": { "BatchCreateRowsRequest": { diff --git a/discovery/googleapis_beta/bigqueryconnection__v1beta1.json b/discovery/googleapis_beta/bigqueryconnection__v1beta1.json index 103e68c04..7d4c636a4 100644 --- a/discovery/googleapis_beta/bigqueryconnection__v1beta1.json +++ b/discovery/googleapis_beta/bigqueryconnection__v1beta1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/bigquery": { - "description": "View and manage your data in Google BigQuery" + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" }, "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -393,7 +393,7 @@ } } }, - "revision": "20210706", + "revision": "20210827", "rootUrl": "https://bigqueryconnection.googleapis.com/", "schemas": { "AuditConfig": { @@ -636,7 +636,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json index aafb9ce49..9c14dc437 100644 --- a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json +++ b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -429,7 +429,7 @@ } } }, - "revision": "20210714", + "revision": "20210901", "rootUrl": "https://clouderrorreporting.googleapis.com/", "schemas": { "DeleteEventsResponse": { diff --git a/discovery/googleapis_beta/containeranalysis__v1beta1.json b/discovery/googleapis_beta/containeranalysis__v1beta1.json index ae53c2c0a..615f7522b 100644 --- a/discovery/googleapis_beta/containeranalysis__v1beta1.json +++ b/discovery/googleapis_beta/containeranalysis__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -851,7 +851,7 @@ } } }, - "revision": "20210714", + "revision": "20210825", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -1598,7 +1598,10 @@ "DEPLOYMENT", "DISCOVERY", "ATTESTATION", - "INTOTO" + "INTOTO", + "SBOM", + "SPDX_PACKAGE", + "SPDX_FILE" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1609,7 +1612,10 @@ "The note and occurrence track deployment events.", "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", - "This represents an in-toto link." + "This represents an in-toto link.", + "This represents a software bill of materials.", + "This represents an SPDX Package.", + "This represents an SPDX File." ], "type": "string" } @@ -1657,6 +1663,71 @@ }, "type": "object" }, + "DocumentNote": { + "description": "DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/", + "id": "DocumentNote", + "properties": { + "dataLicence": { + "description": "Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (\"SPDX-Metadata\")", + "type": "string" + }, + "spdxVersion": { + "description": "Provide a reference number that can be used to understand how to parse and interpret the rest of the file", + "type": "string" + } + }, + "type": "object" + }, + "DocumentOccurrence": { + "description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", + "id": "DocumentOccurrence", + "properties": { + "createTime": { + "description": "Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard", + "format": "google-datetime", + "type": "string" + }, + "creatorComment": { + "description": "A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields", + "type": "string" + }, + "creators": { + "description": "Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person's name", + "items": { + "type": "string" + }, + "type": "array" + }, + "documentComment": { + "description": "A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document", + "type": "string" + }, + "externalDocumentRefs": { + "description": "Identify any external SPDX documents referenced within this SPDX document", + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally", + "type": "string" + }, + "licenseListVersion": { + "description": "A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created", + "type": "string" + }, + "namespace": { + "description": "Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter", + "type": "string" + }, + "title": { + "description": "Identify name of this document as designated by creator", + "type": "string" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", "id": "Empty", @@ -1699,6 +1770,43 @@ }, "type": "object" }, + "ExternalRef": { + "description": "An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package", + "id": "ExternalRef", + "properties": { + "category": { + "description": "An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package", + "enum": [ + "CATEGORY_UNSPECIFIED", + "SECURITY", + "PACKAGE_MANAGER", + "PERSISTENT_ID", + "OTHER" + ], + "enumDescriptions": [ + "Unspecified", + "Security (e.g. cpe22Type, cpe23Type)", + "Package Manager (e.g. maven-central, npm, nuget, bower, purl)", + "Persistent-Id (e.g. swh)", + "Other" + ], + "type": "string" + }, + "comment": { + "description": "Human-readable information about the purpose and target of the reference", + "type": "string" + }, + "locator": { + "description": "The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location", + "type": "string" + }, + "type": { + "description": "Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)", + "type": "string" + } + }, + "type": "object" + }, "FileHashes": { "description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.", "id": "FileHashes", @@ -1713,6 +1821,108 @@ }, "type": "object" }, + "FileNote": { + "description": "FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", + "id": "FileNote", + "properties": { + "checksum": { + "description": "Provide a unique identifier to match analysis information on each specific file in a package", + "items": { + "type": "string" + }, + "type": "array" + }, + "fileType": { + "description": "This field provides information about the type of file identified", + "enum": [ + "FILE_TYPE_UNSPECIFIED", + "SOURCE", + "BINARY", + "ARCHIVE", + "APPLICATION", + "AUDIO", + "IMAGE", + "TEXT", + "VIDEO", + "DOCUMENTATION", + "SPDX", + "OTHER" + ], + "enumDescriptions": [ + "Unspecified", + "The file is human readable source code (.c, .html, etc.)", + "The file is a compiled object, target image or binary executable (.o, .a, etc.)", + "The file represents an archive (.tar, .jar, etc.)", + "The file is associated with a specific application type (MIME type of application/*)", + "The file is associated with an audio file (MIME type of audio/* , e.g. .mp3)", + "The file is associated with an picture image file (MIME type of image/*, e.g., .jpg, .gif)", + "The file is human readable text file (MIME type of text/*)", + "The file is associated with a video file type (MIME type of video/*)", + "The file serves as documentation", + "The file is an SPDX document", + "The file doesn't fit into the above categories (generated artifacts, data files, etc.)" + ], + "type": "string" + }, + "title": { + "description": "Identify the full path and filename that corresponds to the file information in this section", + "type": "string" + } + }, + "type": "object" + }, + "FileOccurrence": { + "description": "FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", + "id": "FileOccurrence", + "properties": { + "attributions": { + "description": "This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts", + "items": { + "type": "string" + }, + "type": "array" + }, + "comment": { + "description": "This field provides a place for the SPDX file creator to record any general comments about the file", + "type": "string" + }, + "contributors": { + "description": "This field provides a place for the SPDX file creator to record file contributors", + "items": { + "type": "string" + }, + "type": "array" + }, + "copyright": { + "description": "Identify the copyright holder of the file, as well as any dates present", + "type": "string" + }, + "filesLicenseInfo": { + "description": "This field contains the license information actually found in the file, if any", + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "Uniquely identify any element in an SPDX document which may be referenced by other elements", + "type": "string" + }, + "licenseComments": { + "description": "This field provides a place for the SPDX file creator to record any relevant background references or analysis that went in to arriving at the Concluded License for a file", + "type": "string" + }, + "licenseConcluded": { + "description": "This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined", + "type": "string" + }, + "notice": { + "description": "This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file", + "type": "string" + } + }, + "type": "object" + }, "Fingerprint": { "description": "A set of properties that uniquely identify a given Docker image.", "id": "Fingerprint", @@ -1995,7 +2205,7 @@ "type": "number" }, "effectiveSeverity": { - "description": "The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.", + "description": "The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.", "enum": [ "SEVERITY_UNSPECIFIED", "MINIMAL", @@ -2404,7 +2614,10 @@ "DEPLOYMENT", "DISCOVERY", "ATTESTATION", - "INTOTO" + "INTOTO", + "SBOM", + "SPDX_PACKAGE", + "SPDX_FILE" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -2415,7 +2628,10 @@ "The note and occurrence track deployment events.", "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", - "This represents an in-toto link." + "This represents an in-toto link.", + "This represents a software bill of materials.", + "This represents an SPDX Package.", + "This represents an SPDX File." ], "type": "string" }, @@ -2445,10 +2661,26 @@ }, "type": "array" }, + "sbom": { + "$ref": "DocumentNote", + "description": "A note describing SPDX Document which represents SBOM." + }, "shortDescription": { "description": "A one sentence description of this note.", "type": "string" }, + "spdxFile": { + "$ref": "FileNote", + "description": "A note describing SPDX File." + }, + "spdxPackage": { + "$ref": "PackageNote", + "description": "A note describing SPDX Package." + }, + "spdxRelationship": { + "$ref": "RelationshipNote", + "description": "A note describing SPDX Relationship." + }, "updateTime": { "description": "Output only. The time this note was last updated. This field can be used as a filter in list requests.", "format": "google-datetime", @@ -2509,7 +2741,10 @@ "DEPLOYMENT", "DISCOVERY", "ATTESTATION", - "INTOTO" + "INTOTO", + "SBOM", + "SPDX_PACKAGE", + "SPDX_FILE" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -2520,7 +2755,10 @@ "The note and occurrence track deployment events.", "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", - "This represents an in-toto link." + "This represents an in-toto link.", + "This represents a software bill of materials.", + "This represents an SPDX Package.", + "This represents an SPDX File." ], "type": "string" }, @@ -2540,6 +2778,22 @@ "$ref": "Resource", "description": "Required. Immutable. The resource for which the occurrence applies." }, + "sbom": { + "$ref": "DocumentOccurrence", + "description": "Describes a specific SPDX Document." + }, + "spdxFile": { + "$ref": "FileOccurrence", + "description": "Describes a specific SPDX File." + }, + "spdxPackage": { + "$ref": "PackageOccurrence", + "description": "Describes a specific SPDX Package." + }, + "spdxRelationship": { + "$ref": "RelationshipOccurrence", + "description": "Describes a specific SPDX Relationship." + }, "updateTime": { "description": "Output only. The time this occurrence was last updated.", "format": "google-datetime", @@ -2578,10 +2832,35 @@ "$ref": "VulnerabilityLocation", "description": "Required. The location of the vulnerability." }, + "effectiveSeverity": { + "description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "MINIMAL", + "LOW", + "MEDIUM", + "HIGH", + "CRITICAL" + ], + "enumDescriptions": [ + "Unknown.", + "Minimal severity.", + "Low severity.", + "Medium severity.", + "High severity.", + "Critical severity." + ], + "readOnly": true, + "type": "string" + }, "fixedLocation": { "$ref": "VulnerabilityLocation", "description": "The location of the available fix for vulnerability." }, + "packageType": { + "description": "The type of package (e.g. OS, MAVEN, GO).", + "type": "string" + }, "severityName": { "description": "Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.", "type": "string" @@ -2589,6 +2868,114 @@ }, "type": "object" }, + "PackageNote": { + "description": "PackageNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/", + "id": "PackageNote", + "properties": { + "analyzed": { + "description": "Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document", + "type": "boolean" + }, + "attribution": { + "description": "A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts", + "type": "string" + }, + "checksum": { + "description": "Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file", + "type": "string" + }, + "copyright": { + "description": "Identify the copyright holders of the package, as well as any dates present", + "type": "string" + }, + "detailedDescription": { + "description": "A more detailed description of the package", + "type": "string" + }, + "downloadLocation": { + "description": "This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created", + "type": "string" + }, + "externalRefs": { + "description": "ExternalRef", + "items": { + "$ref": "ExternalRef" + }, + "type": "array" + }, + "filesLicenseInfo": { + "description": "Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found", + "items": { + "type": "string" + }, + "type": "array" + }, + "homePage": { + "description": "Provide a place for the SPDX file creator to record a web site that serves as the package's home page", + "type": "string" + }, + "licenseDeclared": { + "description": "List the licenses that have been declared by the authors of the package", + "type": "string" + }, + "originator": { + "description": "If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came", + "type": "string" + }, + "summaryDescription": { + "description": "A short description of the package", + "type": "string" + }, + "supplier": { + "description": "Identify the actual distribution source for the package/directory identified in the SPDX file", + "type": "string" + }, + "title": { + "description": "Identify the full name of the package as given by the Package Originator", + "type": "string" + }, + "verificationCode": { + "description": "This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file", + "type": "string" + }, + "version": { + "description": "Identify the version of the package", + "type": "string" + } + }, + "type": "object" + }, + "PackageOccurrence": { + "description": "PackageOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/", + "id": "PackageOccurrence", + "properties": { + "comment": { + "description": "A place for the SPDX file creator to record any general comments about the package being described", + "type": "string" + }, + "filename": { + "description": "Provide the actual file name of the package, or path of the directory being treated as a package", + "type": "string" + }, + "id": { + "description": "Uniquely identify any element in an SPDX document which may be referenced by other elements", + "type": "string" + }, + "licenseComments": { + "description": "This field provides a place for the SPDX file creator to record any relevant background information or analysis that went in to arriving at the Concluded License for a package", + "type": "string" + }, + "licenseConcluded": { + "description": "package or alternative values, if the governing license cannot be determined", + "type": "string" + }, + "sourceInfo": { + "description": "Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package", + "type": "string" + } + }, + "type": "object" + }, "PgpSignedAttestation": { "description": "An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.", "id": "PgpSignedAttestation", @@ -2617,7 +3004,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { @@ -2670,6 +3057,127 @@ }, "type": "object" }, + "RelationshipNote": { + "description": "RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/", + "id": "RelationshipNote", + "properties": {}, + "type": "object" + }, + "RelationshipOccurrence": { + "description": "RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/", + "id": "RelationshipOccurrence", + "properties": { + "comment": { + "description": "A place for the SPDX file creator to record any general comments about the relationship", + "type": "string" + }, + "source": { + "description": "Also referred to as SPDXRef-A The source SPDX element (file, package, etc)", + "type": "string" + }, + "target": { + "description": "Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are \"known unknowns\", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it", + "type": "string" + }, + "type": { + "description": "The type of relationship between the source and target SPDX elements", + "enum": [ + "TYPE_UNSPECIFIED", + "DESCRIBES", + "DESCRIBED_BY", + "CONTAINS", + "CONTAINED_BY", + "DEPENDS_ON", + "DEPENDENCY_OF", + "DEPENDENCY_MANIFEST_OF", + "BUILD_DEPENDENCY_OF", + "DEV_DEPENDENCY_OF", + "OPTIONAL_DEPENDENCY_OF", + "PROVIDED_DEPENDENCY_OF", + "TEST_DEPENDENCY_OF", + "RUNTIME_DEPENDENCY_OF", + "EXAMPLE_OF", + "GENERATES", + "GENERATED_FROM", + "ANCESTOR_OF", + "DESCENDANT_OF", + "VARIANT_OF", + "DISTRIBUTION_ARTIFACT", + "PATCH_FOR", + "PATCH_APPLIED", + "COPY_OF", + "FILE_ADDED", + "FILE_DELETED", + "FILE_MODIFIED", + "EXPANDED_FROM_ARCHIVE", + "DYNAMIC_LINK", + "STATIC_LINK", + "DATA_FILE_OF", + "TEST_CASE_OF", + "BUILD_TOOL_OF", + "DEV_TOOL_OF", + "TEST_OF", + "TEST_TOOL_OF", + "DOCUMENTATION_OF", + "OPTIONAL_COMPONENT_OF", + "METAFILE_OF", + "PACKAGE_OF", + "AMENDS", + "PREREQUISITE_FOR", + "HAS_PREREQUISITE", + "OTHER" + ], + "enumDescriptions": [ + "Unspecified", + "Is to be used when SPDXRef-DOCUMENT describes SPDXRef-A", + "Is to be used when SPDXRef-A is described by SPDXREF-Document", + "Is to be used when SPDXRef-A contains SPDXRef-B", + "Is to be used when SPDXRef-A is contained by SPDXRef-B", + "Is to be used when SPDXRef-A depends on SPDXRef-B", + "Is to be used when SPDXRef-A is dependency of SPDXRef-B", + "Is to be used when SPDXRef-A is a manifest file that lists a set of dependencies for SPDXRef-B", + "Is to be used when SPDXRef-A is a build dependency of SPDXRef-B", + "Is to be used when SPDXRef-A is a development dependency of SPDXRef-B", + "Is to be used when SPDXRef-A is an optional dependency of SPDXRef-B", + "Is to be used when SPDXRef-A is a to be provided dependency of SPDXRef-B", + "Is to be used when SPDXRef-A is a test dependency of SPDXRef-B", + "Is to be used when SPDXRef-A is a dependency required for the execution of SPDXRef-B", + "Is to be used when SPDXRef-A is an example of SPDXRef-B", + "Is to be used when SPDXRef-A generates SPDXRef-B", + "Is to be used when SPDXRef-A was generated from SPDXRef-B", + "Is to be used when SPDXRef-A is an ancestor (same lineage but pre-dates) SPDXRef-B", + "Is to be used when SPDXRef-A is a descendant of (same lineage but postdates) SPDXRef-B", + "Is to be used when SPDXRef-A is a variant of (same lineage but not clear which came first) SPDXRef-B", + "Is to be used when distributing SPDXRef-A requires that SPDXRef-B also be distributed", + "Is to be used when SPDXRef-A is a patch file for (to be applied to) SPDXRef-B", + "Is to be used when SPDXRef-A is a patch file that has been applied to SPDXRef-B", + "Is to be used when SPDXRef-A is an exact copy of SPDXRef-B", + "Is to be used when SPDXRef-A is a file that was added to SPDXRef-B", + "Is to be used when SPDXRef-A is a file that was deleted from SPDXRef-B", + "Is to be used when SPDXRef-A is a file that was modified from SPDXRef-B", + "Is to be used when SPDXRef-A is expanded from the archive SPDXRef-B", + "Is to be used when SPDXRef-A dynamically links to SPDXRef-B", + "Is to be used when SPDXRef-A statically links to SPDXRef-B", + "Is to be used when SPDXRef-A is a data file used in SPDXRef-B", + "Is to be used when SPDXRef-A is a test case used in testing SPDXRef-B", + "Is to be used when SPDXRef-A is used to build SPDXRef-B", + "Is to be used when SPDXRef-A is used as a development tool for SPDXRef-B", + "Is to be used when SPDXRef-A is used for testing SPDXRef-B", + "Is to be used when SPDXRef-A is used as a test tool for SPDXRef-B", + "Is to be used when SPDXRef-A provides documentation of SPDXRef-B", + "Is to be used when SPDXRef-A is an optional component of SPDXRef-B", + "Is to be used when SPDXRef-A is a metafile of SPDXRef-B", + "Is to be used when SPDXRef-A is used as a package as part of SPDXRef-B", + "Is to be used when (current) SPDXRef-DOCUMENT amends the SPDX information in SPDXRef-B", + "Is to be used when SPDXRef-A is a prerequisite for SPDXRef-B", + "Is to be used when SPDXRef-A has as a prerequisite SPDXRef-B", + "Is to be used for a relationship which has not been defined in the formal SPDX specification. A description of the relationship should be included in the Relationship comments field" + ], + "type": "string" + } + }, + "type": "object" + }, "RepoId": { "description": "A unique identifier for a Cloud Repo.", "id": "RepoId", diff --git a/discovery/googleapis_beta/datacatalog__v1beta1.json b/discovery/googleapis_beta/datacatalog__v1beta1.json index 083135aef..fedd4d5f9 100644 --- a/discovery/googleapis_beta/datacatalog__v1beta1.json +++ b/discovery/googleapis_beta/datacatalog__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1806,7 +1806,7 @@ } } }, - "revision": "20210712", + "revision": "20210827", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -2853,7 +2853,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/discovery/googleapis_beta/dataflow__v1b3.json b/discovery/googleapis_beta/dataflow__v1b3.json index 7addafd40..b547a464b 100644 --- a/discovery/googleapis_beta/dataflow__v1b3.json +++ b/discovery/googleapis_beta/dataflow__v1b3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/compute": { "description": "View and manage your Google Compute Engine resources" @@ -2223,7 +2223,7 @@ } } }, - "revision": "20210703", + "revision": "20210825", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -2390,7 +2390,7 @@ "type": "object" }, "BigTableIODetails": { - "description": "Metadata for a Cloud BigTable connector used by the job.", + "description": "Metadata for a Cloud Bigtable connector used by the job.", "id": "BigTableIODetails", "properties": { "instanceId": { @@ -3312,11 +3312,29 @@ "description": "Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.", "type": "object" }, + "autoscalingAlgorithm": { + "description": "The algorithm to use for autoscaling", + "enum": [ + "AUTOSCALING_ALGORITHM_UNKNOWN", + "AUTOSCALING_ALGORITHM_NONE", + "AUTOSCALING_ALGORITHM_BASIC" + ], + "enumDescriptions": [ + "The algorithm is unknown, or unspecified.", + "Disable autoscaling.", + "Increase worker count over time to reduce job execution time." + ], + "type": "string" + }, "diskSizeGb": { "description": "Worker disk size, in gigabytes.", "format": "int32", "type": "integer" }, + "dumpHeapOnOom": { + "description": "If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory. The location of the heap file will either be echoed back to the user, or the user will be given the opportunity to download the heap file.", + "type": "boolean" + }, "enableStreamingEngine": { "description": "Whether to enable Streaming Engine for the job.", "type": "boolean" @@ -3353,15 +3371,14 @@ "description": "Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/", "type": "string" }, + "launcherMachineType": { + "description": "The machine type to use for launching the job. The default is n1-standard-1.", + "type": "string" + }, "machineType": { "description": "The machine type to use for the job. Defaults to the value from the template if not specified.", "type": "string" }, - "maxNumWorkers": { - "description": "The maximum number of workers to cap scaling at.", - "format": "int32", - "type": "integer" - }, "maxWorkers": { "description": "The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", "format": "int32", @@ -3376,6 +3393,10 @@ "format": "int32", "type": "integer" }, + "saveHeapDumpsToGcsPath": { + "description": "Cloud Storage bucket (directory) to upload heap dumps to the given location. Enabling this implies that heap dumps should be generated on OOM (dump_heap_on_oom is set to true).", + "type": "string" + }, "sdkContainerImage": { "description": "Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.", "type": "string" @@ -3928,7 +3949,7 @@ "id": "JobMetadata", "properties": { "bigTableDetails": { - "description": "Identification of a Cloud BigTable source used in the Dataflow job.", + "description": "Identification of a Cloud Bigtable source used in the Dataflow job.", "items": { "$ref": "BigTableIODetails" }, @@ -3956,7 +3977,7 @@ "type": "array" }, "pubsubDetails": { - "description": "Identification of a PubSub source used in the Dataflow job.", + "description": "Identification of a Pub/Sub source used in the Dataflow job.", "items": { "$ref": "PubSubIODetails" }, @@ -5030,7 +5051,7 @@ "id": "RuntimeEnvironment", "properties": { "additionalExperiments": { - "description": "Additional experiment flags for the job.", + "description": "Additional experiment flags for the job, specified with the `--experiments` option.", "items": { "type": "string" }, @@ -5418,7 +5439,7 @@ "type": "string" }, "pubsubMetadata": { - "description": "PubSub snapshot metadata.", + "description": "Pub/Sub snapshot metadata.", "items": { "$ref": "PubsubSnapshotMetadata" }, diff --git a/discovery/googleapis_beta/datalabeling__v1beta1.json b/discovery/googleapis_beta/datalabeling__v1beta1.json index 4ebdb3e3f..cea47dc90 100644 --- a/discovery/googleapis_beta/datalabeling__v1beta1.json +++ b/discovery/googleapis_beta/datalabeling__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1594,7 +1594,7 @@ } } }, - "revision": "20210706", + "revision": "20210831", "rootUrl": "https://datalabeling.googleapis.com/", "schemas": { "GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": { diff --git a/discovery/googleapis_beta/documentai__v1beta3.json b/discovery/googleapis_beta/documentai__v1beta3.json index 7b2cc5212..182e25451 100644 --- a/discovery/googleapis_beta/documentai__v1beta3.json +++ b/discovery/googleapis_beta/documentai__v1beta3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -202,11 +202,11 @@ "resources": { "operations": { "methods": { - "cancelOperation": { + "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "documentai.projects.locations.operations.cancelOperation", + "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "documentai.projects.locations.operations.cancel", "parameterOrder": [ "name" ], @@ -219,7 +219,7 @@ "type": "string" } }, - "path": "v1beta3/{+name}", + "path": "v1beta3/{+name}:cancel", "response": { "$ref": "GoogleProtobufEmpty" }, @@ -599,9 +599,41 @@ } } }, - "revision": "20210719", + "revision": "20210830", "rootUrl": "https://documentai.googleapis.com/", "schemas": { + "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { + "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse": { + "description": "Response of the delete documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata": { + "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse": { + "description": "Response of the batch move documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { "description": "The common metadata for long running operations.", "id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", @@ -782,6 +814,23 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata": { + "description": "Metadata of the import document operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse": { + "description": "Response of the import document operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata": { "description": "The long running operation metadata for set default processor version method.", "id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata", @@ -877,6 +926,16 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata": { + "id": "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { "description": "The long running operation metadata for updating the human review configuration.", "id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", @@ -1184,7 +1243,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta1DocumentEntity": { - "description": "A phrase in the text that is a known entity type, such as a person, an organization, or location.", + "description": "An entity that could be a phrase in the text or a property belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1beta1DocumentEntity", "properties": { "confidence": { @@ -1201,7 +1260,7 @@ "type": "string" }, "mentionText": { - "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.", + "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty.", "type": "string" }, "normalizedValue": { @@ -1258,12 +1317,22 @@ "$ref": "GoogleTypeDateTime", "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, + "floatValue": { + "description": "Float value.", + "format": "float", + "type": "number" + }, + "integerValue": { + "description": "Integer value.", + "format": "int32", + "type": "integer" + }, "moneyValue": { "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective 'structured_value' fields may also be populated. Also not all the types of 'structured_value' will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -1505,6 +1574,14 @@ "description": "A form field detected on the page.", "id": "GoogleCloudDocumentaiV1beta1DocumentPageFormField", "properties": { + "correctedKeyText": { + "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", + "type": "string" + }, + "correctedValueText": { + "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", + "type": "string" + }, "fieldName": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." @@ -1874,7 +1951,7 @@ "type": "integer" }, "index": { - "description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)", + "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision.", "format": "int32", "type": "integer" }, @@ -2327,7 +2404,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta2DocumentEntity": { - "description": "A phrase in the text that is a known entity type, such as a person, an organization, or location.", + "description": "An entity that could be a phrase in the text or a property belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1beta2DocumentEntity", "properties": { "confidence": { @@ -2344,7 +2421,7 @@ "type": "string" }, "mentionText": { - "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.", + "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty.", "type": "string" }, "normalizedValue": { @@ -2401,12 +2478,22 @@ "$ref": "GoogleTypeDateTime", "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, + "floatValue": { + "description": "Float value.", + "format": "float", + "type": "number" + }, + "integerValue": { + "description": "Integer value.", + "format": "int32", + "type": "integer" + }, "moneyValue": { "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective 'structured_value' fields may also be populated. Also not all the types of 'structured_value' will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -2668,6 +2755,14 @@ "description": "A form field detected on the page.", "id": "GoogleCloudDocumentaiV1beta2DocumentPageFormField", "properties": { + "correctedKeyText": { + "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", + "type": "string" + }, + "correctedValueText": { + "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", + "type": "string" + }, "fieldName": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." @@ -3037,7 +3132,7 @@ "type": "integer" }, "index": { - "description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)", + "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision.", "format": "int32", "type": "integer" }, @@ -3703,7 +3798,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta3DocumentEntity": { - "description": "A phrase in the text that is a known entity type, such as a person, an organization, or location.", + "description": "An entity that could be a phrase in the text or a property belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1beta3DocumentEntity", "properties": { "confidence": { @@ -3720,7 +3815,7 @@ "type": "string" }, "mentionText": { - "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.", + "description": "Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty.", "type": "string" }, "normalizedValue": { @@ -3777,12 +3872,22 @@ "$ref": "GoogleTypeDateTime", "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, + "floatValue": { + "description": "Float value.", + "format": "float", + "type": "number" + }, + "integerValue": { + "description": "Integer value.", + "format": "int32", + "type": "integer" + }, "moneyValue": { "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective 'structured_value' fields may also be populated. Also not all the types of 'structured_value' will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -4046,6 +4151,14 @@ "description": "A form field detected on the page.", "id": "GoogleCloudDocumentaiV1beta3DocumentPageFormField", "properties": { + "correctedKeyText": { + "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", + "type": "string" + }, + "correctedValueText": { + "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", + "type": "string" + }, "fieldName": { "$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." @@ -4415,7 +4528,7 @@ "type": "integer" }, "index": { - "description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)", + "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) on parent revision.", "format": "int32", "type": "integer" }, @@ -4859,7 +4972,7 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta3ProcessorType": { - "description": "A processor type is responsible for performing a certain document understanding task on a certain type of document. All processor types are created by the documentai service internally. User will only list all available processor types via UI. For different users (projects), the available processor types may be different since we'll expose the access of some types via EAP whitelisting. We make the ProcessorType a resource under location so we have a unified API and keep the possibility that UI will load different available processor types from different regions. But for alpha the behavior is that the user will always get the union of all available processor types among all regions no matter which regionalized endpoint is called, and then we use the 'available_locations' field to show under which regions a processor type is available. For example, users can call either the 'US' or 'EU' endpoint to feach processor types. In the return, we will have an 'invoice parsing' processor with 'available_locations' field only containing 'US'. So the user can try to create an 'invoice parsing' processor under the location 'US'. Such attempt of creating under the location 'EU' will fail. Next ID: 7.", + "description": "A processor type is responsible for performing a certain document understanding task on a certain type of document. All processor types are created by the documentai service internally. User will only list all available processor types via UI. For different users (projects), the available processor types may be different since we'll expose the access of some types via EAP whitelisting. We make the ProcessorType a resource under location so we have a unified API and keep the possibility that UI will load different available processor types from different regions. But for alpha the behavior is that the user will always get the union of all available processor types among all regions no matter which regionalized endpoint is called, and then we use the 'available_locations' field to show under which regions a processor type is available. For example, users can call either the 'US' or 'EU' endpoint to feach processor types. In the return, we will have an 'invoice parsing' processor with 'available_locations' field only containing 'US'. So the user can try to create an 'invoice parsing' processor under the location 'US'. Such attempt of creating under the location 'EU' will fail. Next ID: 8.", "id": "GoogleCloudDocumentaiV1beta3ProcessorType", "properties": { "allowCreation": { diff --git a/discovery/googleapis_beta/domains__v1beta1.json b/discovery/googleapis_beta/domains__v1beta1.json index b5b4fd244..215640cea 100644 --- a/discovery/googleapis_beta/domains__v1beta1.json +++ b/discovery/googleapis_beta/domains__v1beta1.json @@ -719,7 +719,7 @@ } } }, - "revision": "20210629", + "revision": "20210717", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/discovery/googleapis_beta/factchecktools__v1alpha1.json b/discovery/googleapis_beta/factchecktools__v1alpha1.json index b8ea2cbbd..2c9f8916d 100644 --- a/discovery/googleapis_beta/factchecktools__v1alpha1.json +++ b/discovery/googleapis_beta/factchecktools__v1alpha1.json @@ -302,7 +302,7 @@ } } }, - "revision": "20210720", + "revision": "20210806", "rootUrl": "https://factchecktools.googleapis.com/", "schemas": { "GoogleFactcheckingFactchecktoolsV1alpha1Claim": { diff --git a/discovery/googleapis_beta/fcmdata__v1beta1.json b/discovery/googleapis_beta/fcmdata__v1beta1.json new file mode 100644 index 000000000..055f269e8 --- /dev/null +++ b/discovery/googleapis_beta/fcmdata__v1beta1.json @@ -0,0 +1,326 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://fcmdata.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Fcmdata", + "description": "Provides additional information about Firebase Cloud Messaging (FCM) message sends and deliveries.", + "discoveryVersion": "v1", + "documentationLink": "https://firebase.google.com/docs/cloud-messaging", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "fcmdata:v1beta1", + "kind": "discovery#restDescription", + "name": "fcmdata", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "androidApps": { + "resources": { + "deliveryData": { + "methods": { + "list": { + "description": "List aggregate delivery data for the given Android application.", + "flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}/deliveryData", + "httpMethod": "GET", + "id": "fcmdata.projects.androidApps.deliveryData.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of entries to return. The service may return fewer than this value. If unspecified, at most 1,000 entries will be returned. The maximum value is 10,000; values above 10,000 will be capped to 10,000. This default may change over time.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAndroidDeliveryDataRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAndroidDeliveryDataRequest` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The application for which to list delivery data. Format: `projects/{project_id}/androidApps/{app_id}`", + "location": "path", + "pattern": "^projects/[^/]+/androidApps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/deliveryData", + "response": { + "$ref": "GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20210906", + "rootUrl": "https://fcmdata.googleapis.com/", + "schemas": { + "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData": { + "description": "Message delivery data for a given date, app, and analytics label combination.", + "id": "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData", + "properties": { + "analyticsLabel": { + "description": "The analytics label associated with the messages sent. All messages sent without an analytics label will be grouped together in a single entry.", + "type": "string" + }, + "appId": { + "description": "The app ID to which the messages were sent.", + "type": "string" + }, + "data": { + "$ref": "GoogleFirebaseFcmDataV1beta1Data", + "description": "The data for the specified appId, date, and analyticsLabel." + }, + "date": { + "$ref": "GoogleTypeDate", + "description": "The date represented by this entry." + } + }, + "type": "object" + }, + "GoogleFirebaseFcmDataV1beta1Data": { + "description": "Data detailing messaging delivery", + "id": "GoogleFirebaseFcmDataV1beta1Data", + "properties": { + "countMessagesAccepted": { + "description": "Count of messages accepted by FCM intended to Android devices. The targeted device must have opted in to the collection of usage and diagnostic information.", + "format": "int64", + "type": "string" + }, + "deliveryPerformancePercents": { + "$ref": "GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents", + "description": "Additional information about delivery performance for messages that were successfully delivered." + }, + "messageInsightPercents": { + "$ref": "GoogleFirebaseFcmDataV1beta1MessageInsightPercents", + "description": "Additional general insights about message delivery." + }, + "messageOutcomePercents": { + "$ref": "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents", + "description": "Mutually exclusive breakdown of message delivery outcomes." + } + }, + "type": "object" + }, + "GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents": { + "description": "Overview of delivery performance for messages that were successfully delivered. All percentages are calculated with countMessagesAccepted as the denominator. These categories are not mutually exclusive; a message can be delayed for multiple reasons.", + "id": "GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents", + "properties": { + "delayedDeviceDoze": { + "description": "The percentage of accepted messages that were delayed because the device was in doze mode. Only [normal priority messages](https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message) should be delayed due to doze mode.", + "format": "float", + "type": "number" + }, + "delayedDeviceOffline": { + "description": "The percentage of accepted messages that were delayed because the target device was not connected at the time of sending. These messages were eventually delivered when the device reconnected.", + "format": "float", + "type": "number" + }, + "delayedMessageThrottled": { + "description": "The percentage of accepted messages that were delayed due to message throttling, such as [collapsible message throttling](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_throttling) or [maximum message rate throttling](https://firebase.google.com/docs/cloud-messaging/concept-options#device_throttling).", + "format": "float", + "type": "number" + }, + "delayedUserStopped": { + "description": "The percentage of accepted messages that were delayed because the intended device user-profile was [stopped](https://firebase.google.com/docs/cloud-messaging/android/receive#handling_messages) on the target device at the time of the send. The messages were eventually delivered when the user-profile was started again.", + "format": "float", + "type": "number" + }, + "deliveredNoDelay": { + "description": "The percentage of accepted messages that were delivered to the device without delay from the FCM system.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse": { + "description": "Response message for ListAndroidDeliveryData.", + "id": "GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse", + "properties": { + "androidDeliveryData": { + "description": "The delivery data for the provided app. There will be one entry per combination of app, date, and analytics label.", + "items": { + "$ref": "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleFirebaseFcmDataV1beta1MessageInsightPercents": { + "description": "Additional information about message delivery. All percentages are calculated with countMessagesAccepted as the denominator.", + "id": "GoogleFirebaseFcmDataV1beta1MessageInsightPercents", + "properties": { + "priorityLowered": { + "description": "The percentage of accepted messages that had their priority lowered from high to normal due to [app standby buckets](https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message).", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents": { + "description": "Percentage breakdown of message delivery outcomes. These categories are mutually exclusive. All percentages are calculated with countMessagesAccepted as the denominator. These categories may not account for all message outcomes.", + "id": "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents", + "properties": { + "delivered": { + "description": "The percentage of all accepted messages that were successfully delivered to the device.", + "format": "float", + "type": "number" + }, + "droppedAppForceStopped": { + "description": "The percentage of accepted messages that were dropped because the application was force stopped on the device at the time of delivery and retries were unsuccessful.", + "format": "float", + "type": "number" + }, + "droppedDeviceInactive": { + "description": "The percentage of accepted messages that were dropped because the target device is inactive. FCM will drop messages if the target device is deemed inactive by our servers. If a device does reconnect, we call [OnDeletedMessages()](https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages) in our SDK instead of delivering the messages.", + "format": "float", + "type": "number" + }, + "droppedTooManyPendingMessages": { + "description": "The percentage of accepted messages that were dropped due to [too many undelivered non-collapsible messages](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages). Specifically, each app instance can only have 100 pending messages stored on our servers for a device which is disconnected. When that device reconnects, those messages are delivered. When there are more than the maximum pending messages, we call [OnDeletedMessages()](https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages) in our SDK instead of delivering the messages.", + "format": "float", + "type": "number" + }, + "pending": { + "description": "The percentage of messages accepted on this day that were not dropped and not delivered, due to the device being disconnected (as of the end of the America/Los_Angeles day when the message was sent to FCM). A portion of these messages will be delivered the next day when the device connects but others may be destined to devices that ultimately never reconnect.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleTypeDate": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "id": "GoogleTypeDate", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Firebase Cloud Messaging Data API", + "version": "v1beta1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis_beta/firebase__v1beta1.json b/discovery/googleapis_beta/firebase__v1beta1.json index e9056f82d..3fe70edd3 100644 --- a/discovery/googleapis_beta/firebase__v1beta1.json +++ b/discovery/googleapis_beta/firebase__v1beta1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/firebase": { "description": "View and administer all your Firebase data and settings" @@ -1119,7 +1119,7 @@ } } }, - "revision": "20210721", + "revision": "20210902", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { diff --git a/discovery/googleapis_beta/firebaseappcheck__v1beta.json b/discovery/googleapis_beta/firebaseappcheck__v1beta.json index 32d3e7178..ed27d2509 100644 --- a/discovery/googleapis_beta/firebaseappcheck__v1beta.json +++ b/discovery/googleapis_beta/firebaseappcheck__v1beta.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/firebase": { "description": "View and administer all your Firebase data and settings" @@ -1055,7 +1055,7 @@ } } }, - "revision": "20210716", + "revision": "20210827", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse": { diff --git a/discovery/googleapis_beta/firebasedatabase__v1beta.json b/discovery/googleapis_beta/firebasedatabase__v1beta.json index 430c10632..f356e5b28 100644 --- a/discovery/googleapis_beta/firebasedatabase__v1beta.json +++ b/discovery/googleapis_beta/firebasedatabase__v1beta.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" + "description": "View your data across Google Cloud services and see the email address of your Google Account" }, "https://www.googleapis.com/auth/firebase": { "description": "View and administer all your Firebase data and settings" @@ -315,7 +315,7 @@ } } }, - "revision": "20210721", + "revision": "20210902", "rootUrl": "https://firebasedatabase.googleapis.com/", "schemas": { "DatabaseInstance": { diff --git a/discovery/googleapis_beta/firebasestorage__v1beta.json b/discovery/googleapis_beta/firebasestorage__v1beta.json index bf7a08be9..dc6c9c243 100644 --- a/discovery/googleapis_beta/firebasestorage__v1beta.json +++ b/discovery/googleapis_beta/firebasestorage__v1beta.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/firebase": { "description": "View and administer all your Firebase data and settings" @@ -236,7 +236,7 @@ } } }, - "revision": "20210709", + "revision": "20210823", "rootUrl": "https://firebasestorage.googleapis.com/", "schemas": { "AddFirebaseRequest": { diff --git a/discovery/googleapis_beta/ideahub__v1beta.json b/discovery/googleapis_beta/ideahub__v1beta.json new file mode 100644 index 000000000..22ee88302 --- /dev/null +++ b/discovery/googleapis_beta/ideahub__v1beta.json @@ -0,0 +1,397 @@ +{ + "basePath": "", + "baseUrl": "https://ideahub.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Ideahub", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://console.cloud.google.com/apis/library/ideahub.googleapis.com", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "ideahub:v1beta", + "kind": "discovery#restDescription", + "name": "ideahub", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "platforms": { + "resources": { + "properties": { + "resources": { + "ideaStates": { + "methods": { + "patch": { + "description": "Update an idea state resource.", + "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideaStates/{ideaStatesId}", + "httpMethod": "PATCH", + "id": "ideahub.platforms.properties.ideaStates.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+/ideaStates/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "GoogleSearchIdeahubV1betaIdeaState" + }, + "response": { + "$ref": "GoogleSearchIdeahubV1betaIdeaState" + } + } + } + }, + "ideas": { + "methods": { + "list": { + "description": "List ideas for a given Creator and filter and sort options.", + "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideas", + "httpMethod": "GET", + "id": "ideahub.platforms.properties.ideas.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order semantics described below.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Used to fetch next page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/ideas", + "response": { + "$ref": "GoogleSearchIdeahubV1betaListIdeasResponse" + } + } + } + }, + "locales": { + "methods": { + "list": { + "description": "Returns which locales ideas are available in for a given Creator.", + "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/locales", + "httpMethod": "GET", + "id": "ideahub.platforms.properties.locales.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be returned. The maximum value is 100; values above 100 will be coerced to 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAvailableLocales` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/locales", + "response": { + "$ref": "GoogleSearchIdeahubV1betaListAvailableLocalesResponse" + } + } + } + }, + "topicStates": { + "methods": { + "patch": { + "description": "Update a topic state resource.", + "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}", + "httpMethod": "PATCH", + "id": "ideahub.platforms.properties.topicStates.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "GoogleSearchIdeahubV1betaTopicState" + }, + "response": { + "$ref": "GoogleSearchIdeahubV1betaTopicState" + } + } + } + } + } + } + } + } + }, + "revision": "20210903", + "rootUrl": "https://ideahub.googleapis.com/", + "schemas": { + "GoogleSearchIdeahubV1betaAvailableLocale": { + "description": "Represents locales that are available for a web property.", + "id": "GoogleSearchIdeahubV1betaAvailableLocale", + "properties": { + "locale": { + "description": "A string in BCP 47 format, without a resource prefix.", + "type": "string" + }, + "name": { + "description": "A string in BCP 47 format, prefixed with the platform and property name, and \"locales/\". Format: platforms/{platform}/properties/{property}/locales/{locale}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1betaIdea": { + "description": "A single Idea that we want to show the end user.", + "id": "GoogleSearchIdeahubV1betaIdea", + "properties": { + "name": { + "description": "Unique identifier for the idea. Format: ideas/{ideaId}", + "type": "string" + }, + "text": { + "description": "The idea’s text.", + "type": "string" + }, + "topics": { + "description": "The Topics that match the idea.", + "items": { + "$ref": "GoogleSearchIdeahubV1betaTopic" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1betaIdeaState": { + "description": "Represents idea state specific to a web property.", + "id": "GoogleSearchIdeahubV1betaIdeaState", + "properties": { + "dismissed": { + "description": "Whether the idea is dismissed.", + "type": "boolean" + }, + "name": { + "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", + "type": "string" + }, + "saved": { + "description": "Whether the idea is saved.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1betaListAvailableLocalesResponse": { + "description": "Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.", + "id": "GoogleSearchIdeahubV1betaListAvailableLocalesResponse", + "properties": { + "availableLocales": { + "description": "Locales for which ideas are available for the given Creator.", + "items": { + "$ref": "GoogleSearchIdeahubV1betaAvailableLocale" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1betaListIdeasResponse": { + "id": "GoogleSearchIdeahubV1betaListIdeasResponse", + "properties": { + "ideas": { + "description": "Results for the ListIdeasRequest.", + "items": { + "$ref": "GoogleSearchIdeahubV1betaIdea" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Used to fetch the next page in a subsequent request.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1betaTopic": { + "description": "Represents a Topic umbrella for a list of questions that a Creator may want to respond to.", + "id": "GoogleSearchIdeahubV1betaTopic", + "properties": { + "displayName": { + "description": "String displayed to the creator indicating the name of the Topic.", + "type": "string" + }, + "mid": { + "description": "The mID of the topic.", + "type": "string" + }, + "name": { + "description": "Unique identifier for the topic. Format: topics/{topic}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1betaTopicState": { + "description": "Represents topic state specific to a web property.", + "id": "GoogleSearchIdeahubV1betaTopicState", + "properties": { + "dismissed": { + "description": "Whether the topic is dismissed.", + "type": "boolean" + }, + "name": { + "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", + "type": "string" + }, + "saved": { + "description": "Whether the topic is saved.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Idea Hub API", + "version": "v1beta", + "version_module": true +} \ No newline at end of file diff --git a/discovery/googleapis_beta/lifesciences__v2beta.json b/discovery/googleapis_beta/lifesciences__v2beta.json index a989611fc..a6059d85a 100644 --- a/discovery/googleapis_beta/lifesciences__v2beta.json +++ b/discovery/googleapis_beta/lifesciences__v2beta.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -310,7 +310,7 @@ } } }, - "revision": "20210709", + "revision": "20210813", "rootUrl": "https://lifesciences.googleapis.com/", "schemas": { "Accelerator": { diff --git a/discovery/googleapis_beta/metastore__v1beta.json b/discovery/googleapis_beta/metastore__v1beta.json index 495f3f1f7..a9416c7c7 100644 --- a/discovery/googleapis_beta/metastore__v1beta.json +++ b/discovery/googleapis_beta/metastore__v1beta.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -984,7 +984,7 @@ } } }, - "revision": "20210715", + "revision": "20210826", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AuditConfig": { @@ -1059,6 +1059,14 @@ "description": "Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}", "type": "string" }, + "restoringServices": { + "description": "Output only. Services that are restoring from the backup.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "serviceRevision": { "$ref": "Service", "description": "Output only. The revision of the service at the time of backup.", @@ -1162,6 +1170,20 @@ }, "type": "object" }, + "DataplexConfig": { + "description": "Specifies how metastore metadata should be integrated with the Dataplex service.", + "id": "DataplexConfig", + "properties": { + "lakeResources": { + "additionalProperties": { + "$ref": "Lake" + }, + "description": "A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.", + "type": "object" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.", "id": "Empty", @@ -1242,6 +1264,20 @@ "description": "A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden).", "type": "object" }, + "endpointProtocol": { + "description": "The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.", + "enum": [ + "ENDPOINT_PROTOCOL_UNSPECIFIED", + "THRIFT", + "GRPC" + ], + "enumDescriptions": [ + "The protocol is not set.", + "Use the legacy Apache Thrift protocol for the metastore service endpoint.", + "Use the modernized gRPC protocol for the metastore service endpoint." + ], + "type": "string" + }, "kerberosConfig": { "$ref": "KerberosConfig", "description": "Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service." @@ -1287,6 +1323,17 @@ }, "type": "object" }, + "Lake": { + "description": "Represents a Lake resource", + "id": "Lake", + "properties": { + "name": { + "description": "The Lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}", + "type": "string" + } + }, + "type": "object" + }, "ListBackupsResponse": { "description": "Response message for DataprocMetastore.ListBackups.", "id": "ListBackupsResponse", @@ -1603,6 +1650,10 @@ "dataCatalogConfig": { "$ref": "DataCatalogConfig", "description": "The integration config for the Data Catalog service." + }, + "dataplexConfig": { + "$ref": "DataplexConfig", + "description": "The integration config for the Dataplex service." } }, "type": "object" @@ -1710,7 +1761,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis_beta/networkconnectivity__v1alpha1.json b/discovery/googleapis_beta/networkconnectivity__v1alpha1.json index bd5d9aade..8e55cbb0e 100644 --- a/discovery/googleapis_beta/networkconnectivity__v1alpha1.json +++ b/discovery/googleapis_beta/networkconnectivity__v1alpha1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -14,7 +14,7 @@ "canonicalName": "networkconnectivity", "description": "The Network Connectivity API provides access to Network Connectivity Center.", "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/network-connectivity/docs", + "documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -445,97 +445,6 @@ ] } } - }, - "policyBasedRoutes": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1alpha1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.global.policyBasedRoutes.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1alpha1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.global.policyBasedRoutes.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1alpha1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.global.policyBasedRoutes.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } } } }, @@ -1027,7 +936,7 @@ } } }, - "revision": "20210713", + "revision": "20210901", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1424,7 +1333,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis_beta/networksecurity__v1beta1.json b/discovery/googleapis_beta/networksecurity__v1beta1.json index 711a6f675..6387b3378 100644 --- a/discovery/googleapis_beta/networksecurity__v1beta1.json +++ b/discovery/googleapis_beta/networksecurity__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1035,7 +1035,7 @@ } } }, - "revision": "20210709", + "revision": "20210823", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AuthorizationPolicy": { @@ -1318,7 +1318,7 @@ "type": "object" }, "GoogleIamV1Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "GoogleIamV1Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis_beta/ondemandscanning__v1beta1.json b/discovery/googleapis_beta/ondemandscanning__v1beta1.json index ad3b9120d..fea90766e 100644 --- a/discovery/googleapis_beta/ondemandscanning__v1beta1.json +++ b/discovery/googleapis_beta/ondemandscanning__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -337,7 +337,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -491,6 +491,10 @@ "description": "Details of a build occurrence.", "id": "BuildOccurrence", "properties": { + "intotoProvenance": { + "$ref": "InTotoProvenance", + "description": "In-toto Provenance representation as defined in spec." + }, "provenance": { "$ref": "BuildProvenance", "description": "Required. The actual provenance for the build." @@ -573,6 +577,15 @@ }, "type": "object" }, + "BuilderConfig": { + "id": "BuilderConfig", + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, "Category": { "description": "The category to which the update belongs.", "id": "Category", @@ -647,6 +660,25 @@ }, "type": "object" }, + "Completeness": { + "description": "Indicates that the builder claims certain fields in this message to be complete.", + "id": "Completeness", + "properties": { + "arguments": { + "description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.", + "type": "boolean" + }, + "environment": { + "description": "If true, the builder claims that recipe.environment is claimed to be complete.", + "type": "boolean" + }, + "materials": { + "description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".", + "type": "boolean" + } + }, + "type": "object" + }, "ComplianceOccurrence": { "description": "An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.", "id": "ComplianceOccurrence", @@ -663,6 +695,19 @@ }, "type": "object" }, + "DSSEAttestationOccurrence": { + "id": "DSSEAttestationOccurrence", + "properties": { + "envelope": { + "$ref": "Envelope", + "description": "If doing something security critical, make sure to verify the signatures in this metadata." + }, + "statement": { + "$ref": "InTotoStatement" + } + }, + "type": "object" + }, "DeploymentOccurrence": { "description": "The period during which some deployable was active in a runtime.", "id": "DeploymentOccurrence", @@ -775,6 +820,39 @@ "properties": {}, "type": "object" }, + "Envelope": { + "description": "MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.", + "id": "Envelope", + "properties": { + "payload": { + "format": "byte", + "type": "string" + }, + "payloadType": { + "type": "string" + }, + "signatures": { + "items": { + "$ref": "EnvelopeSignature" + }, + "type": "array" + } + }, + "type": "object" + }, + "EnvelopeSignature": { + "id": "EnvelopeSignature", + "properties": { + "keyid": { + "type": "string" + }, + "sig": { + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, "FileHashes": { "description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.", "id": "FileHashes", @@ -908,6 +986,54 @@ }, "type": "object" }, + "InTotoProvenance": { + "id": "InTotoProvenance", + "properties": { + "builderConfig": { + "$ref": "BuilderConfig", + "description": "required" + }, + "materials": { + "description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "$ref": "Metadata" + }, + "recipe": { + "$ref": "Recipe", + "description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required" + } + }, + "type": "object" + }, + "InTotoStatement": { + "description": "Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always \"application/vnd.in-toto+json\".", + "id": "InTotoStatement", + "properties": { + "predicateType": { + "description": "\"https://in-toto.io/Provenance/v0.1\" for InTotoProvenance.", + "type": "string" + }, + "provenance": { + "$ref": "InTotoProvenance" + }, + "subject": { + "items": { + "$ref": "Subject" + }, + "type": "array" + }, + "type": { + "description": "Always \"https://in-toto.io/Statement/v0.1\".", + "type": "string" + } + }, + "type": "object" + }, "Jwt": { "id": "Jwt", "properties": { @@ -988,6 +1114,35 @@ }, "type": "object" }, + "Metadata": { + "description": "Other properties of the build.", + "id": "Metadata", + "properties": { + "buildFinishedOn": { + "description": "The timestamp of when the build completed.", + "format": "google-datetime", + "type": "string" + }, + "buildInvocationId": { + "description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.", + "type": "string" + }, + "buildStartedOn": { + "description": "The timestamp of when the build started.", + "format": "google-datetime", + "type": "string" + }, + "completeness": { + "$ref": "Completeness", + "description": "Indicates that the builder claims certain fields in this message to be complete." + }, + "reproducible": { + "description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.", + "type": "boolean" + } + }, + "type": "object" + }, "NonCompliantFile": { "description": "Details about files that caused a compliance check to fail.", "id": "NonCompliantFile", @@ -1036,6 +1191,14 @@ "$ref": "DiscoveryOccurrence", "description": "Describes when a resource was discovered." }, + "dsseAttestation": { + "$ref": "DSSEAttestationOccurrence", + "description": "Describes an attestation of an artifact using dsse." + }, + "envelope": { + "$ref": "Envelope", + "description": "https://github.com/secure-systems-lab/dsse" + }, "image": { "$ref": "ImageOccurrence", "description": "Describes how this resource derives from the basis in the associated note." @@ -1052,7 +1215,8 @@ "DISCOVERY", "ATTESTATION", "UPGRADE", - "COMPLIANCE" + "COMPLIANCE", + "DSSE_ATTESTATION" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1064,7 +1228,8 @@ "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", "This represents an available package upgrade.", - "This represents a Compliance Note" + "This represents a Compliance Note", + "This represents a DSSE attestation Note" ], "type": "string" }, @@ -1202,6 +1367,27 @@ "$ref": "Version", "description": "Required. The version of the package that is installed on the resource affected by this vulnerability." }, + "effectiveSeverity": { + "description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "MINIMAL", + "LOW", + "MEDIUM", + "HIGH", + "CRITICAL" + ], + "enumDescriptions": [ + "Unknown.", + "Minimal severity.", + "Low severity.", + "Medium severity.", + "High severity.", + "Critical severity." + ], + "readOnly": true, + "type": "string" + }, "fixAvailable": { "description": "Output only. Whether a fix is available for this package.", "type": "boolean" @@ -1217,6 +1403,10 @@ "fixedVersion": { "$ref": "Version", "description": "Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available." + }, + "packageType": { + "description": "The type of package (e.g. OS, MAVEN, GO).", + "type": "string" } }, "type": "object" @@ -1254,6 +1444,48 @@ }, "type": "object" }, + "Recipe": { + "description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", + "id": "Recipe", + "properties": { + "arguments": { + "description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "definedInMaterial": { + "description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.", + "format": "int64", + "type": "string" + }, + "entryPoint": { + "description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.", + "type": "string" + }, + "environment": { + "description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "type": { + "description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.", + "type": "string" + } + }, + "type": "object" + }, "RelatedUrl": { "description": "Metadata for any related URL information.", "id": "RelatedUrl", @@ -1382,6 +1614,22 @@ }, "type": "object" }, + "Subject": { + "id": "Subject", + "properties": { + "digest": { + "additionalProperties": { + "type": "string" + }, + "description": "\"\": \"\"", + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, "UpgradeDistribution": { "description": "The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.", "id": "UpgradeDistribution", @@ -1485,7 +1733,7 @@ "type": "number" }, "effectiveSeverity": { - "description": "The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity.", + "description": "The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.", "enum": [ "SEVERITY_UNSPECIFIED", "MINIMAL", diff --git a/discovery/googleapis_beta/osconfig__v1alpha.json b/discovery/googleapis_beta/osconfig__v1alpha.json index 1e10e0b87..ae8e23f5c 100644 --- a/discovery/googleapis_beta/osconfig__v1alpha.json +++ b/discovery/googleapis_beta/osconfig__v1alpha.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -247,7 +247,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/{instance}` For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, only hyphen or dash character is supported to list inventories across VMs.", + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/-` For `{project}`, either `project-number` or `project-id` can be provided.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -332,7 +332,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/{instance}` For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, only `-` character is supported to list vulnerability reports across VMs.", + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/-` For `{project}`, either `project-number` or `project-id` can be provided.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -608,7 +608,7 @@ } } }, - "revision": "20210710", + "revision": "20210821", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { @@ -763,6 +763,28 @@ "properties": {}, "type": "object" }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", "id": "Empty", @@ -1036,6 +1058,10 @@ "$ref": "InventoryWindowsQuickFixEngineeringPackage", "description": "Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering." }, + "windowsApplication": { + "$ref": "InventoryWindowsApplication", + "description": "Details of Windows Application." + }, "wuaPackage": { "$ref": "InventoryWindowsUpdatePackage", "description": "Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update." @@ -1074,6 +1100,33 @@ }, "type": "object" }, + "InventoryWindowsApplication": { + "description": "Contains information about a Windows application as retrieved from the Windows Registry. For more information about these fields, see [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: class=\"external\" }", + "id": "InventoryWindowsApplication", + "properties": { + "displayName": { + "description": "The name of the application or product.", + "type": "string" + }, + "displayVersion": { + "description": "The version of the product or application in string format.", + "type": "string" + }, + "helpLink": { + "description": "The internet address for technical support.", + "type": "string" + }, + "installDate": { + "$ref": "Date", + "description": "The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product." + }, + "publisher": { + "description": "The name of the manufacturer for the product or application.", + "type": "string" + } + }, + "type": "object" + }, "InventoryWindowsQuickFixEngineeringPackage": { "description": "Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering", "id": "InventoryWindowsQuickFixEngineeringPackage", @@ -1338,6 +1391,10 @@ "description": "OS policy assignment description. Length of the description is limited to 1024 characters.", "type": "string" }, + "etag": { + "description": "The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.", + "type": "string" + }, "instanceFilter": { "$ref": "OSPolicyAssignmentInstanceFilter", "description": "Required. Filter to select VMs." @@ -1401,7 +1458,7 @@ "type": "object" }, "OSPolicyAssignmentInstanceFilter": { - "description": "Message to represent the filters to select VMs for an assignment", + "description": "Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.", "id": "OSPolicyAssignmentInstanceFilter", "properties": { "all": { @@ -1409,7 +1466,7 @@ "type": "boolean" }, "exclusionLabels": { - "description": "List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. This filter is applied last in the filtering chain and therefore a VM is guaranteed to be excluded if it satisfies one of the below label sets.", + "description": "List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.", "items": { "$ref": "OSPolicyAssignmentLabelSet" }, @@ -1422,8 +1479,15 @@ }, "type": "array" }, + "inventories": { + "description": "List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.", + "items": { + "$ref": "OSPolicyAssignmentInstanceFilterInventory" + }, + "type": "array" + }, "osShortNames": { - "description": "A VM is included if it's OS short name matches with any of the values provided in this list.", + "description": "Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.", "items": { "type": "string" }, @@ -1432,6 +1496,21 @@ }, "type": "object" }, + "OSPolicyAssignmentInstanceFilterInventory": { + "description": "VM inventory details.", + "id": "OSPolicyAssignmentInstanceFilterInventory", + "properties": { + "osShortName": { + "description": "Required. The OS short name", + "type": "string" + }, + "osVersion": { + "description": "The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.", + "type": "string" + } + }, + "type": "object" + }, "OSPolicyAssignmentLabelSet": { "description": "Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.", "id": "OSPolicyAssignmentLabelSet", @@ -1517,8 +1596,23 @@ }, "type": "object" }, + "OSPolicyInventoryFilter": { + "description": "Filtering criteria to select VMs based on inventory details.", + "id": "OSPolicyInventoryFilter", + "properties": { + "osShortName": { + "description": "Required. The OS short name", + "type": "string" + }, + "osVersion": { + "description": "The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.", + "type": "string" + } + }, + "type": "object" + }, "OSPolicyOSFilter": { - "description": "The `OSFilter` is used to specify the OS filtering criteria for the resource group.", + "description": "Filtering criteria to select VMs based on OS details.", "id": "OSPolicyOSFilter", "properties": { "osShortName": { @@ -1812,9 +1906,16 @@ "description": "Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.", "id": "OSPolicyResourceGroup", "properties": { + "inventoryFilters": { + "description": "List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.", + "items": { + "$ref": "OSPolicyInventoryFilter" + }, + "type": "array" + }, "osFilter": { "$ref": "OSPolicyOSFilter", - "description": "Used to specify the OS filter for a resource group" + "description": "Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group" }, "resources": { "description": "Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.", @@ -2259,6 +2360,10 @@ "description": "A reference for this vulnerability.", "id": "VulnerabilityReportVulnerabilityDetailsReference", "properties": { + "source": { + "description": "The source of the reference e.g. NVD.", + "type": "string" + }, "url": { "description": "The url of the reference.", "type": "string" diff --git a/discovery/googleapis_beta/policysimulator__v1beta1.json b/discovery/googleapis_beta/policysimulator__v1beta1.json index 5be5b6d26..5b18e9c44 100644 --- a/discovery/googleapis_beta/policysimulator__v1beta1.json +++ b/discovery/googleapis_beta/policysimulator__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -491,7 +491,7 @@ } } }, - "revision": "20210717", + "revision": "20210827", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1Replay": { @@ -1123,7 +1123,7 @@ "type": "object" }, "GoogleIamV1Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "GoogleIamV1Policy", "properties": { "auditConfigs": { diff --git a/discovery/googleapis_beta/privateca__v1beta1.json b/discovery/googleapis_beta/privateca__v1beta1.json index dc4e0a538..eeea5a8b4 100644 --- a/discovery/googleapis_beta/privateca__v1beta1.json +++ b/discovery/googleapis_beta/privateca__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1252,7 +1252,7 @@ } } }, - "revision": "20210707", + "revision": "20210825", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -2327,7 +2327,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { @@ -2821,7 +2821,7 @@ "id": "SubordinateConfig", "properties": { "certificateAuthority": { - "description": "Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/certificateAuthorities/*`.", + "description": "Required. This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/certificateAuthorities/*`.", "type": "string" }, "pemIssuerChain": { diff --git a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json index 86aee4a77..a0a643c19 100644 --- a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json +++ b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json @@ -2482,7 +2482,7 @@ } } }, - "revision": "20210720", + "revision": "20210903", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { @@ -2889,6 +2889,14 @@ "antennaModel": { "description": "If populated, the Antenna Model Pattern to use. Format is: RecordCreatorId:PatternId", "type": "string" + }, + "commonChannelGroup": { + "description": "CCG. A group of CBSDs in the same ICG requesting a common primary channel assignment. See CBRSA-TS-2001 V3.0.0 for more details.", + "type": "string" + }, + "interferenceCoordinationGroup": { + "description": "ICG. A group of CBSDs that manage their own interference with the group. See CBRSA-TS-2001 V3.0.0 for more details.", + "type": "string" } }, "type": "object" diff --git a/discovery/googleapis_beta/recommendationengine__v1beta1.json b/discovery/googleapis_beta/recommendationengine__v1beta1.json index 021295d11..3341de47b 100644 --- a/discovery/googleapis_beta/recommendationengine__v1beta1.json +++ b/discovery/googleapis_beta/recommendationengine__v1beta1.json @@ -840,7 +840,7 @@ } } }, - "revision": "20210702", + "revision": "20210731", "rootUrl": "https://recommendationengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { diff --git a/discovery/googleapis_beta/sasportal__v1alpha1.json b/discovery/googleapis_beta/sasportal__v1alpha1.json index f46daf0f4..e0247e222 100644 --- a/discovery/googleapis_beta/sasportal__v1alpha1.json +++ b/discovery/googleapis_beta/sasportal__v1alpha1.json @@ -2481,7 +2481,7 @@ } } }, - "revision": "20210715", + "revision": "20210830", "rootUrl": "https://sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { diff --git a/discovery/googleapis_beta/sqladmin__v1beta4.json b/discovery/googleapis_beta/sqladmin__v1beta4.json index 106a5703b..5e467f99b 100644 --- a/discovery/googleapis_beta/sqladmin__v1beta4.json +++ b/discovery/googleapis_beta/sqladmin__v1beta4.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/sqlservice.admin": { "description": "Manage your Google SQL Service instances" @@ -120,7 +120,7 @@ ], "parameters": { "id": { - "description": "The ID of the Backup Run to delete. To find a Backup Run ID, use the list method.", + "description": "The ID of the backup run to delete. To find a backup run ID, use the list method.", "format": "int64", "location": "path", "required": true, @@ -160,7 +160,7 @@ ], "parameters": { "id": { - "description": "The ID of this Backup Run.", + "description": "The ID of this backup run.", "format": "int64", "location": "path", "required": true, @@ -189,7 +189,7 @@ ] }, "insert": { - "description": "Creates a new backup run on demand. This method is applicable only to Second Generation instances.", + "description": "Creates a new backup run on demand.", "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", "httpMethod": "POST", "id": "sql.backupRuns.insert", @@ -581,7 +581,7 @@ "flags": { "methods": { "list": { - "description": "List all available database flags for Cloud SQL instances.", + "description": "Lists all available database flags for Cloud SQL instances.", "flatPath": "sql/v1beta4/flags", "httpMethod": "GET", "id": "sql.flags.list", @@ -775,7 +775,7 @@ ] }, "failover": { - "description": "Failover the instance to its failover replica instance. Using this operation might cause your instance to restart.", + "description": "Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.", "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/failover", "httpMethod": "POST", "id": "sql.instances.failover", @@ -1450,29 +1450,12 @@ "location": "path", "required": true, "type": "string" - }, - "skipVerification": { - "description": "Whether to skip the verification step (VESS).", - "location": "query", - "type": "boolean" - }, - "syncMode": { - "description": "External sync mode.", - "enum": [ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", - "ONLINE", - "OFFLINE" - ], - "enumDescriptions": [ - "Unknown external sync mode, will be defaulted to ONLINE mode", - "Online external sync will set up replication after initial data external sync", - "Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" - ], - "location": "query", - "type": "string" } }, "path": "sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync", + "request": { + "$ref": "SqlInstancesStartExternalSyncRequest" + }, "response": { "$ref": "Operation" }, @@ -1502,29 +1485,12 @@ "location": "path", "required": true, "type": "string" - }, - "syncMode": { - "description": "External sync mode", - "enum": [ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", - "ONLINE", - "OFFLINE" - ], - "enumDescriptions": [ - "Unknown external sync mode, will be defaulted to ONLINE mode", - "Online external sync will set up replication after initial data external sync", - "Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" - ], - "location": "query", - "type": "string" - }, - "verifyConnectionOnly": { - "description": "Flag to enable verifying connection only", - "location": "query", - "type": "boolean" } }, "path": "sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings", + "request": { + "$ref": "SqlInstancesVerifyExternalSyncSettingsRequest" + }, "response": { "$ref": "SqlInstancesVerifyExternalSyncSettingsResponse" }, @@ -1909,7 +1875,7 @@ } } }, - "revision": "20210627", + "revision": "20210816", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2071,11 +2037,11 @@ }, "diskEncryptionConfiguration": { "$ref": "DiskEncryptionConfiguration", - "description": "Encryption configuration specific to a backup. Applies only to Second Generation instances." + "description": "Encryption configuration specific to a backup." }, "diskEncryptionStatus": { "$ref": "DiskEncryptionStatus", - "description": "Encryption status specific to a backup. Applies only to Second Generation instances." + "description": "Encryption status specific to a backup." }, "endTime": { "description": "The time the backup operation completed in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", @@ -2369,7 +2335,7 @@ "id": "DatabaseFlags", "properties": { "name": { - "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.", + "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.", "type": "string" }, "value": { @@ -2403,13 +2369,19 @@ "description": "Connection name of the Cloud SQL instance used in connection strings.", "type": "string" }, + "createTime": { + "description": "Output only. The time when the instance was created in RFC 3339 format (https://tools.ietf.org/html/rfc3339), for example 2012-11-15T16:19:00.094Z", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "currentDiskSize": { "description": "The current disk usage of the instance in bytes. This property has been deprecated. Use the \"cloudsql.googleapis.com/database/disk/bytes_used\" metric in Cloud Monitoring API instead. Please see this announcement for details.", "format": "int64", "type": "string" }, "databaseVersion": { - "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, *POSTGRES_12*, or *POSTGRES_13* (default). SQL Server instances: *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.", + "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: *SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, *SQLSERVER_2019_EXPRESS*, or *SQLSERVER_2019_WEB*, *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.", "enum": [ "SQL_DATABASE_VERSION_UNSPECIFIED", "MYSQL_5_1", @@ -2456,25 +2428,25 @@ }, "diskEncryptionConfiguration": { "$ref": "DiskEncryptionConfiguration", - "description": "Disk encryption configuration specific to an instance. Applies only to Second Generation instances." + "description": "Disk encryption configuration specific to an instance." }, "diskEncryptionStatus": { "$ref": "DiskEncryptionStatus", - "description": "Disk encryption status specific to an instance. Applies only to Second Generation instances." + "description": "Disk encryption status specific to an instance." }, "etag": { "description": "This field is deprecated and will be removed from a future version of the API. Use the *settings.settingsVersion* field instead.", "type": "string" }, "failoverReplica": { - "description": "The name and status of the failover replica. This property is applicable only to Second Generation instances.", + "description": "The name and status of the failover replica.", "properties": { "available": { "description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.", "type": "boolean" }, "name": { - "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID. This property is applicable only to Second Generation instances.", + "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.", "type": "string" } }, @@ -2596,7 +2568,8 @@ "PENDING_DELETE", "PENDING_CREATE", "MAINTENANCE", - "FAILED" + "FAILED", + "ONLINE_MAINTENANCE" ], "enumDescriptions": [ "The state of the instance is unknown.", @@ -2605,7 +2578,8 @@ "The instance is being deleted.", "The instance is being created.", "The instance is down for maintenance.", - "The creation of the instance failed or a fatal error occurred during maintenance." + "The creation of the instance failed or a fatal error occurred during maintenance.", + "The instance is under maintenance operations and the database is available." ], "type": "string" }, @@ -2682,8 +2656,12 @@ "$ref": "DemoteMasterConfiguration", "description": "Configuration specific to read-replicas replicating from the on-premises primary instance." }, + "skipReplicationSetup": { + "description": "Flag to skip replication setup on the instance.", + "type": "boolean" + }, "verifyGtidConsistency": { - "description": "Verify GTID consistency for demote operation. Default value: *True*. Second Generation instances only. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.", + "description": "Verify GTID consistency for demote operation. Default value: *True*. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.", "type": "boolean" } }, @@ -2956,7 +2934,7 @@ "type": "string" }, "requiresRestart": { - "description": "Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.", + "description": "Indicates whether changing this flag will trigger a database restart.", "type": "boolean" }, "type": { @@ -3123,7 +3101,7 @@ "type": "boolean" }, "queryPlansPerMinute": { - "description": "Number of query plans generated by Insights per minute. Default is 5. Changing this will restart the database.", + "description": "Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.", "format": "int32", "type": "integer" }, @@ -3143,6 +3121,25 @@ }, "type": "object" }, + "InstanceReference": { + "description": "Reference to another Cloud SQL instance.", + "id": "InstanceReference", + "properties": { + "name": { + "description": "The name of the Cloud SQL instance being referenced. This does not include the project ID.", + "type": "string" + }, + "project": { + "description": "The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.", + "type": "string" + }, + "region": { + "description": "The region of the Cloud SQL instance being referenced.", + "type": "string" + } + }, + "type": "object" + }, "InstancesCloneRequest": { "description": "Database instance clone request.", "id": "InstancesCloneRequest", @@ -3285,6 +3282,10 @@ "description": "IP Management configuration.", "id": "IpConfiguration", "properties": { + "allocatedIpRange": { + "description": "The name of the allocated ip range for the private ip CloudSQL instance. For example: \"google-managed-services-default\". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.` Reserved for future use.", + "type": "string" + }, "authorizedNetworks": { "description": "The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: *192.168.100.0/24*).", "items": { @@ -3452,6 +3453,20 @@ }, "type": "object" }, + "MySqlSyncConfig": { + "description": "MySQL-specific external server sync settings.", + "id": "MySqlSyncConfig", + "properties": { + "initialSyncFlags": { + "description": "Flags to use for the initial dump.", + "items": { + "$ref": "SyncFlags" + }, + "type": "array" + } + }, + "type": "object" + }, "OnPremisesConfiguration": { "description": "On-premises instance configuration.", "id": "OnPremisesConfiguration", @@ -3484,6 +3499,10 @@ "description": "The password for connecting to on-premises instance.", "type": "string" }, + "sourceInstance": { + "$ref": "InstanceReference", + "description": "The reference to Cloud SQL instance if the source is Cloud SQL." + }, "username": { "description": "The username for connecting to on-premises instance.", "type": "string" @@ -3896,7 +3915,7 @@ }, "ipConfiguration": { "$ref": "IpConfiguration", - "description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances." + "description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled." }, "kind": { "description": "This is always *sql#settings*.", @@ -4063,6 +4082,62 @@ }, "type": "object" }, + "SqlInstancesStartExternalSyncRequest": { + "id": "SqlInstancesStartExternalSyncRequest", + "properties": { + "mysqlSyncConfig": { + "$ref": "MySqlSyncConfig", + "description": "MySQL-specific settings for start external sync." + }, + "skipVerification": { + "description": "Whether to skip the verification step (VESS).", + "type": "boolean" + }, + "syncMode": { + "description": "External sync mode.", + "enum": [ + "EXTERNAL_SYNC_MODE_UNSPECIFIED", + "ONLINE", + "OFFLINE" + ], + "enumDescriptions": [ + "Unknown external sync mode, will be defaulted to ONLINE mode", + "Online external sync will set up replication after initial data external sync", + "Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" + ], + "type": "string" + } + }, + "type": "object" + }, + "SqlInstancesVerifyExternalSyncSettingsRequest": { + "id": "SqlInstancesVerifyExternalSyncSettingsRequest", + "properties": { + "mysqlSyncConfig": { + "$ref": "MySqlSyncConfig", + "description": "Optional. MySQL-specific settings for start external sync." + }, + "syncMode": { + "description": "External sync mode", + "enum": [ + "EXTERNAL_SYNC_MODE_UNSPECIFIED", + "ONLINE", + "OFFLINE" + ], + "enumDescriptions": [ + "Unknown external sync mode, will be defaulted to ONLINE mode", + "Online external sync will set up replication after initial data external sync", + "Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" + ], + "type": "string" + }, + "verifyConnectionOnly": { + "description": "Flag to enable verifying connection only", + "type": "boolean" + } + }, + "type": "object" + }, "SqlInstancesVerifyExternalSyncSettingsResponse": { "description": "Instance verify external sync settings response.", "id": "SqlInstancesVerifyExternalSyncSettingsResponse", @@ -4299,6 +4374,21 @@ }, "type": "object" }, + "SyncFlags": { + "description": "Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.", + "id": "SyncFlags", + "properties": { + "name": { + "description": "The name of the flag.", + "type": "string" + }, + "value": { + "description": "The value of the flag. This field must be omitted if the flag doesn't take a value.", + "type": "string" + } + }, + "type": "object" + }, "Tier": { "description": "A Google Cloud SQL service tier resource.", "id": "Tier", diff --git a/discovery/googleapis_beta/toolresults__v1beta3.json b/discovery/googleapis_beta/toolresults__v1beta3.json index 10154fbd4..a9439acee 100644 --- a/discovery/googleapis_beta/toolresults__v1beta3.json +++ b/discovery/googleapis_beta/toolresults__v1beta3.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -1462,7 +1462,7 @@ } } }, - "revision": "20210721", + "revision": "20210902", "rootUrl": "https://toolresults.googleapis.com/", "schemas": { "ANR": { diff --git a/discovery/googleapis_beta/transcoder__v1beta1.json b/discovery/googleapis_beta/transcoder__v1beta1.json index c4c8959c3..2d1b51e7b 100644 --- a/discovery/googleapis_beta/transcoder__v1beta1.json +++ b/discovery/googleapis_beta/transcoder__v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } @@ -353,7 +353,7 @@ } } }, - "revision": "20210719", + "revision": "20210819", "rootUrl": "https://transcoder.googleapis.com/", "schemas": { "AdBreak": { @@ -1111,50 +1111,6 @@ }, "type": "object" }, - "OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "OriginUri": { "description": "The origin URI.", "id": "OriginUri", @@ -1461,7 +1417,7 @@ "type": "boolean" }, "bitrateBps": { - "description": "Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.", + "description": "Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value for H264/H265 is 800,000,000. The maximum value for VP9 is 480,000,000.", "format": "int32", "type": "integer" }, diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md index 5b730f4fd..9f3764428 100644 --- a/generated/googleapis/CHANGELOG.md +++ b/generated/googleapis/CHANGELOG.md @@ -1,6 +1,14 @@ ## 5.0.0-dev -- `poly` has been removed. +- `adexchangebuyer` - **removed** +- `contactcenterinsights` - new! +- `mybusinessbusinessinformation` - new! +- `mybusinessnotifications` - new! +- `mybusinessverifications` - new! +- `networksecurity` - new! +- `networkservices` - new! +- `policyanalyzer` - new! +- `poly` - **removed!** ## 4.0.0 diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md index 852d14da8..3bb8d967c 100644 --- a/generated/googleapis/README.md +++ b/generated/googleapis/README.md @@ -18,1378 +18,1407 @@ package. Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences. - [Documentation](https://developers.google.com/abusive-experience-report/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/abusiveexperiencereport.v1/abusiveexperiencereport.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/abusiveexperiencereport.v1/abusiveexperiencereport.v1-library.html) #### Accelerated Mobile Pages (AMP) URL API - `acceleratedmobilepageurl.v1` Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). - [Documentation](https://developers.google.com/amp/cache/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/acceleratedmobilepageurl.v1/acceleratedmobilepageurl.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/acceleratedmobilepageurl.v1/acceleratedmobilepageurl.v1-library.html) #### Access Approval API - `accessapproval.v1` An API for controlling access to data by Google personnel. -- [Documentation](https://cloud.google.com/access-approval/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/accessapproval.v1/accessapproval.v1-library.html) +- [Documentation](https://cloud.google.com/cloud-provider-access-management/access-approval/docs) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/accessapproval.v1/accessapproval.v1-library.html) #### Access Context Manager API - `accesscontextmanager.v1` An API for setting attribute based access control to requests to GCP services. - [Documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/accesscontextmanager.v1/accesscontextmanager.v1-library.html) - -#### ![Logo](https://www.google.com/images/icons/product/doubleclick-16.gif) Ad Exchange Buyer API - `adexchangebuyer.v1_3` - -Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. - -- [Documentation](https://developers.google.com/ad-exchange/buyer-rest) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/adexchangebuyer.v1_3/adexchangebuyer.v1_3-library.html) - -#### ![Logo](https://www.google.com/images/icons/product/doubleclick-16.gif) Ad Exchange Buyer API - `adexchangebuyer.v1_4` - -Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. - -- [Documentation](https://developers.google.com/ad-exchange/buyer-rest) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/adexchangebuyer.v1_4/adexchangebuyer.v1_4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/accesscontextmanager.v1/accesscontextmanager.v1-library.html) #### Ad Experience Report API - `adexperiencereport.v1` Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads. - [Documentation](https://developers.google.com/ad-experience-report/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/adexperiencereport.v1/adexperiencereport.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/adexperiencereport.v1/adexperiencereport.v1-library.html) #### Admin SDK API - `admin.datatransfer_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Documentation](https://developers.google.com/admin-sdk/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/admin.datatransfer_v1/admin.datatransfer_v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/admin.datatransfer_v1/admin.datatransfer_v1-library.html) #### Admin SDK API - `admin.directory_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Documentation](https://developers.google.com/admin-sdk/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/admin.directory_v1/admin.directory_v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/admin.directory_v1/admin.directory_v1-library.html) #### Admin SDK API - `admin.reports_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Documentation](https://developers.google.com/admin-sdk/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/admin.reports_v1/admin.reports_v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/admin.reports_v1/admin.reports_v1-library.html) #### AdMob API - `admob.v1` The AdMob API allows publishers to programmatically get information about their AdMob account. - [Documentation](https://developers.google.com/admob/api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/admob.v1/admob.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/admob.v1/admob.v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/adsense-16.png) AdSense Management API - `adsense.v1_4` Accesses AdSense publishers' inventory and generates performance reports. - [Documentation](https://developers.google.com/adsense/management/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/adsense.v1_4/adsense.v1_4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/adsense.v1_4/adsense.v1_4-library.html) #### AdSense Management API - `adsense.v2` The AdSense Management API allows publishers to access their inventory and run earnings and performance reports. - [Documentation](http://code.google.com/apis/adsense/management/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/adsense.v2/adsense.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/adsense.v2/adsense.v2-library.html) #### ![Logo](https://www.google.com/images/icons/product/adsense-16.png) AdSense Host API - `adsensehost.v4_1` Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. - [Documentation](https://developers.google.com/adsense/host/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/adsensehost.v4_1/adsensehost.v4_1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/adsensehost.v4_1/adsensehost.v4_1-library.html) #### ![Logo](https://www.google.com/images/icons/product/analytics-16.png) Google Analytics API - `analytics.v3` Views and manages your Google Analytics data. - [Documentation](https://developers.google.com/analytics/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/analytics.v3/analytics.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/analytics.v3/analytics.v3-library.html) #### Analytics Reporting API - `analyticsreporting.v4` Accesses Analytics report data. - [Documentation](https://developers.google.com/analytics/devguides/reporting/core/v4/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/analyticsreporting.v4/analyticsreporting.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/analyticsreporting.v4/analyticsreporting.v4-library.html) #### Android Device Provisioning Partner API - `androiddeviceprovisioning.v1` Automates Android zero-touch enrollment for device resellers, customers, and EMMs. - [Documentation](https://developers.google.com/zero-touch/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/androiddeviceprovisioning.v1/androiddeviceprovisioning.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/androiddeviceprovisioning.v1/androiddeviceprovisioning.v1-library.html) #### Google Play EMM API - `androidenterprise.v1` Manages the deployment of apps to Android Enterprise devices. - [Documentation](https://developers.google.com/android/work/play/emm-api) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/androidenterprise.v1/androidenterprise.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/androidenterprise.v1/androidenterprise.v1-library.html) #### Android Management API - `androidmanagement.v1` The Android Management API provides remote enterprise management of Android devices and apps. - [Documentation](https://developers.google.com/android/management) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/androidmanagement.v1/androidmanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/androidmanagement.v1/androidmanagement.v1-library.html) #### Google Play Android Developer API - `androidpublisher.v3` Lets Android application developers access their Google Play accounts. - [Documentation](https://developers.google.com/android-publisher) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/androidpublisher.v3/androidpublisher.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/androidpublisher.v3/androidpublisher.v3-library.html) #### API Gateway API - `apigateway.v1` - [Documentation](https://cloud.google.com/api-gateway/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/apigateway.v1/apigateway.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/apigateway.v1/apigateway.v1-library.html) #### Apigee API - `apigee.v1` Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days. - [Documentation](https://cloud.google.com/apigee-api-management/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/apigee.v1/apigee.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/apigee.v1/apigee.v1-library.html) #### API Keys API - `apikeys.v2` Manages the API keys associated with developer projects. - [Documentation](https://cloud.google.com/api-keys/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/apikeys.v2/apikeys.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/apikeys.v2/apikeys.v2-library.html) #### App Engine Admin API - `appengine.v1` Provisions and manages developers' App Engine applications. - [Documentation](https://cloud.google.com/appengine/docs/admin-api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/appengine.v1/appengine.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/appengine.v1/appengine.v1-library.html) #### Artifact Registry API - `artifactregistry.v1` Store and manage build artifacts in a scalable and integrated service built on Google infrastructure. - [Documentation](https://cloud.google.com/artifacts/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/artifactregistry.v1/artifactregistry.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/artifactregistry.v1/artifactregistry.v1-library.html) #### Assured Workloads API - `assuredworkloads.v1` - [Documentation](https://cloud.google.com) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/assuredworkloads.v1/assuredworkloads.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/assuredworkloads.v1/assuredworkloads.v1-library.html) #### Bare Metal Solution API - `baremetalsolution.v1` Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center. - [Documentation](https://cloud.google.com/bare-metal) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/baremetalsolution.v1/baremetalsolution.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/baremetalsolution.v1/baremetalsolution.v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/search-16.gif) BigQuery API - `bigquery.v2` A data platform for customers to create, manage, share and query data. - [Documentation](https://cloud.google.com/bigquery/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/bigquery.v2/bigquery.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/bigquery.v2/bigquery.v2-library.html) #### BigQuery Data Transfer API - `bigquerydatatransfer.v1` Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis. - [Documentation](https://cloud.google.com/bigquery-transfer/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/bigquerydatatransfer.v1/bigquerydatatransfer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/bigquerydatatransfer.v1/bigquerydatatransfer.v1-library.html) #### BigQuery Reservation API - `bigqueryreservation.v1` A service to modify your BigQuery flat-rate reservations. - [Documentation](https://cloud.google.com/bigquery/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/bigqueryreservation.v1/bigqueryreservation.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/bigqueryreservation.v1/bigqueryreservation.v1-library.html) #### Cloud Bigtable Admin API - `bigtableadmin.v2` Administer your Cloud Bigtable tables and instances. - [Documentation](https://cloud.google.com/bigtable/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/bigtableadmin.v2/bigtableadmin.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/bigtableadmin.v2/bigtableadmin.v2-library.html) #### Cloud Billing Budget API - `billingbudgets.v1` The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. - [Documentation](https://cloud.google.com/billing/docs/how-to/budget-api-overview) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/billingbudgets.v1/billingbudgets.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/billingbudgets.v1/billingbudgets.v1-library.html) #### Binary Authorization API - `binaryauthorization.v1` The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters. - [Documentation](https://cloud.google.com/binary-authorization/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/binaryauthorization.v1/binaryauthorization.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/binaryauthorization.v1/binaryauthorization.v1-library.html) #### Blogger API v3 - `blogger.v3` The Blogger API provides access to posts, comments and pages of a Blogger blog. - [Documentation](https://developers.google.com/blogger/docs/3.0/getting_started) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/blogger.v3/blogger.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/blogger.v3/blogger.v3-library.html) #### Books API - `books.v1` The Google Books API allows clients to access the Google Books repository. - [Documentation](https://code.google.com/apis/books/docs/v1/getting_started.html) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/books.v1/books.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/books.v1/books.v1-library.html) #### Calendar API - `calendar.v3` Manipulates events and other calendar data. - [Documentation](https://developers.google.com/google-apps/calendar/firstapp) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/calendar.v3/calendar.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/calendar.v3/calendar.v3-library.html) #### Google Chat API - `chat.v1` Enables bots to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API. - [Documentation](https://developers.google.com/hangouts/chat) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/chat.v1/chat.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/chat.v1/chat.v1-library.html) #### Chrome Management API - `chromemanagement.v1` The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices. - [Documentation](http://developers.google.com/chrome/management/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/chromemanagement.v1/chromemanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/chromemanagement.v1/chromemanagement.v1-library.html) #### Chrome Policy API - `chromepolicy.v1` The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers. - [Documentation](http://developers.google.com/chrome/policy) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/chromepolicy.v1/chromepolicy.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/chromepolicy.v1/chromepolicy.v1-library.html) #### Chrome UX Report API - `chromeuxreport.v1` The Chrome UX Report API lets you view real user experience data for millions of websites. - [Documentation](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/chromeuxreport.v1/chromeuxreport.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/chromeuxreport.v1/chromeuxreport.v1-library.html) #### Google Civic Information API - `civicinfo.v2` Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses. - [Documentation](https://developers.google.com/civic-information/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/civicinfo.v2/civicinfo.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/civicinfo.v2/civicinfo.v2-library.html) #### Google Classroom API - `classroom.v1` Manages classes, rosters, and invitations in Google Classroom. - [Documentation](https://developers.google.com/classroom/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/classroom.v1/classroom.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/classroom.v1/classroom.v1-library.html) #### Cloud Asset API - `cloudasset.v1` The cloud asset API manages the history and inventory of cloud resources. - [Documentation](https://cloud.google.com/asset-inventory/docs/quickstart) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudasset.v1/cloudasset.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudasset.v1/cloudasset.v1-library.html) #### Cloud Billing API - `cloudbilling.v1` Allows developers to manage billing for their Google Cloud Platform projects programmatically. - [Documentation](https://cloud.google.com/billing/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudbilling.v1/cloudbilling.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudbilling.v1/cloudbilling.v1-library.html) #### Cloud Build API - `cloudbuild.v1` Creates and manages builds on Google Cloud Platform. - [Documentation](https://cloud.google.com/cloud-build/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudbuild.v1/cloudbuild.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudbuild.v1/cloudbuild.v1-library.html) #### Cloud Channel API - `cloudchannel.v1` +The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome. + - [Documentation](https://cloud.google.com/channel) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudchannel.v1/cloudchannel.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudchannel.v1/cloudchannel.v1-library.html) #### Cloud Debugger API - `clouddebugger.v2` Examines the call stack and variables of a running application without stopping or slowing it down. - [Documentation](https://cloud.google.com/debugger) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/clouddebugger.v2/clouddebugger.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/clouddebugger.v2/clouddebugger.v2-library.html) #### Cloud Functions API - `cloudfunctions.v1` Manages lightweight user-provided functions executed in response to events. - [Documentation](https://cloud.google.com/functions) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudfunctions.v1/cloudfunctions.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudfunctions.v1/cloudfunctions.v1-library.html) #### Cloud Identity API - `cloudidentity.v1` API for provisioning and managing identity resources. - [Documentation](https://cloud.google.com/identity/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudidentity.v1/cloudidentity.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudidentity.v1/cloudidentity.v1-library.html) #### Cloud IoT API - `cloudiot.v1` Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. - [Documentation](https://cloud.google.com/iot) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudiot.v1/cloudiot.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudiot.v1/cloudiot.v1-library.html) #### Cloud Key Management Service (KMS) API - `cloudkms.v1` Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. - [Documentation](https://cloud.google.com/kms/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudkms.v1/cloudkms.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudkms.v1/cloudkms.v1-library.html) #### Stackdriver Profiler API - `cloudprofiler.v2` Manages continuous profiling information. - [Documentation](https://cloud.google.com/profiler/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudprofiler.v2/cloudprofiler.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudprofiler.v2/cloudprofiler.v2-library.html) #### Cloud Resource Manager API - `cloudresourcemanager.v1` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Documentation](https://cloud.google.com/resource-manager) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudresourcemanager.v1/cloudresourcemanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudresourcemanager.v1/cloudresourcemanager.v1-library.html) #### Cloud Resource Manager API - `cloudresourcemanager.v2` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Documentation](https://cloud.google.com/resource-manager) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudresourcemanager.v2/cloudresourcemanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudresourcemanager.v2/cloudresourcemanager.v2-library.html) #### Cloud Resource Manager API - `cloudresourcemanager.v3` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Documentation](https://cloud.google.com/resource-manager) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudresourcemanager.v3/cloudresourcemanager.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudresourcemanager.v3/cloudresourcemanager.v3-library.html) #### Cloud Scheduler API - `cloudscheduler.v1` Creates and manages jobs run on a regular recurring schedule. - [Documentation](https://cloud.google.com/scheduler/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudscheduler.v1/cloudscheduler.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudscheduler.v1/cloudscheduler.v1-library.html) #### Cloud Search API - `cloudsearch.v1` Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search. - [Documentation](https://developers.google.com/cloud-search/docs/guides/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudsearch.v1/cloudsearch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudsearch.v1/cloudsearch.v1-library.html) #### Cloud Shell API - `cloudshell.v1` Allows users to start, configure, and connect to interactive shell sessions running in the cloud. - [Documentation](https://cloud.google.com/shell/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudshell.v1/cloudshell.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudshell.v1/cloudshell.v1-library.html) #### Cloud Tasks API - `cloudtasks.v2` Manages the execution of large numbers of distributed requests. - [Documentation](https://cloud.google.com/tasks/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudtasks.v2/cloudtasks.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudtasks.v2/cloudtasks.v2-library.html) #### Cloud Trace API - `cloudtrace.v2` Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus. - [Documentation](https://cloud.google.com/trace) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/cloudtrace.v2/cloudtrace.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/cloudtrace.v2/cloudtrace.v2-library.html) #### Cloud Composer API - `composer.v1` Manages Apache Airflow environments on Google Cloud Platform. - [Documentation](https://cloud.google.com/composer/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/composer.v1/composer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/composer.v1/composer.v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/compute_engine-16.png) Compute Engine API - `compute.v1` Creates and runs virtual machines on Google Cloud Platform. - [Documentation](https://cloud.google.com/compute/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/compute.v1/compute.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/compute.v1/compute.v1-library.html) + +#### Contact Center AI Insights API - `contactcenterinsights.v1` + +- [Documentation](https://cloud.google.com/contact-center/insights/docs) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/contactcenterinsights.v1/contactcenterinsights.v1-library.html) #### Kubernetes Engine API - `container.v1` Builds and manages container-based applications, powered by the open source Kubernetes technology. - [Documentation](https://cloud.google.com/container-engine/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/container.v1/container.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/container.v1/container.v1-library.html) #### Content API for Shopping - `content.v2_1` Manage your product listings and accounts for Google Shopping - [Documentation](https://developers.google.com/shopping-content/v2/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/content.v2_1/content.v2_1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/content.v2_1/content.v2_1-library.html) #### Custom Search API - `customsearch.v1` Searches over a website or collection of websites - [Documentation](https://developers.google.com/custom-search/v1/introduction) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/customsearch.v1/customsearch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/customsearch.v1/customsearch.v1-library.html) #### Google Cloud Data Catalog API - `datacatalog.v1` A fully managed and highly scalable data discovery and metadata management service. - [Documentation](https://cloud.google.com/data-catalog/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/datacatalog.v1/datacatalog.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/datacatalog.v1/datacatalog.v1-library.html) #### Cloud Data Fusion API - `datafusion.v1` Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure. - [Documentation](https://cloud.google.com/data-fusion/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/datafusion.v1/datafusion.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/datafusion.v1/datafusion.v1-library.html) #### Database Migration API - `datamigration.v1` Manage Cloud Database Migration Service resources on Google Cloud Platform. - [Documentation](https://cloud.google.com/database-migration/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/datamigration.v1/datamigration.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/datamigration.v1/datamigration.v1-library.html) #### Cloud Dataproc API - `dataproc.v1` Manages Hadoop-based clusters and jobs on Google Cloud Platform. - [Documentation](https://cloud.google.com/dataproc/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dataproc.v1/dataproc.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dataproc.v1/dataproc.v1-library.html) #### Cloud Datastore API - `datastore.v1` Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. - [Documentation](https://cloud.google.com/datastore/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/datastore.v1/datastore.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/datastore.v1/datastore.v1-library.html) #### Cloud Deployment Manager V2 API - `deploymentmanager.v2` The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources. - [Documentation](https://cloud.google.com/deployment-manager) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/deploymentmanager.v2/deploymentmanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/deploymentmanager.v2/deploymentmanager.v2-library.html) #### Campaign Manager 360 API - `dfareporting.v3_4` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. - [Documentation](https://developers.google.com/doubleclick-advertisers/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dfareporting.v3_4/dfareporting.v3_4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dfareporting.v3_4/dfareporting.v3_4-library.html) #### Campaign Manager 360 API - `dfareporting.v3_5` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. - [Documentation](https://developers.google.com/doubleclick-advertisers/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dfareporting.v3_5/dfareporting.v3_5-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dfareporting.v3_5/dfareporting.v3_5-library.html) #### Dialogflow API - `dialogflow.v2` Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). - [Documentation](https://cloud.google.com/dialogflow/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dialogflow.v2/dialogflow.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dialogflow.v2/dialogflow.v2-library.html) #### Dialogflow API - `dialogflow.v3` Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). - [Documentation](https://cloud.google.com/dialogflow/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dialogflow.v3/dialogflow.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dialogflow.v3/dialogflow.v3-library.html) #### Digital Asset Links API - `digitalassetlinks.v1` Discovers relationships between online assets such as websites or mobile apps. - [Documentation](https://developers.google.com/digital-asset-links/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/digitalassetlinks.v1/digitalassetlinks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/digitalassetlinks.v1/digitalassetlinks.v1-library.html) #### API Discovery Service - `discovery.v1` Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API. - [Documentation](https://developers.google.com/discovery/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/discovery.v1/discovery.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/discovery.v1/discovery.v1-library.html) #### Display & Video 360 API - `displayvideo.v1` Display & Video 360 API allows users to manage and create campaigns and reports. - [Documentation](https://developers.google.com/display-video/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/displayvideo.v1/displayvideo.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/displayvideo.v1/displayvideo.v1-library.html) #### Cloud Data Loss Prevention (DLP) API - `dlp.v2` Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories. - [Documentation](https://cloud.google.com/dlp/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dlp.v2/dlp.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dlp.v2/dlp.v2-library.html) #### Cloud DNS API - `dns.v1` - [Documentation](https://cloud.google.com/dns/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/dns.v1/dns.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/dns.v1/dns.v1-library.html) #### Google Docs API - `docs.v1` Reads and writes Google Docs documents. - [Documentation](https://developers.google.com/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/docs.v1/docs.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/docs.v1/docs.v1-library.html) #### Cloud Document AI API - `documentai.v1` Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. - [Documentation](https://cloud.google.com/document-ai/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/documentai.v1/documentai.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/documentai.v1/documentai.v1-library.html) #### Domains RDAP API - `domainsrdap.v1` Read-only public API that lets users search for information about domain names. - [Documentation](https://developers.google.com/domains/rdap/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/domainsrdap.v1/domainsrdap.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/domainsrdap.v1/domainsrdap.v1-library.html) #### DoubleClick Bid Manager API - `doubleclickbidmanager.v1_1` DoubleClick Bid Manager API allows users to manage and create campaigns and reports. - [Documentation](https://developers.google.com/bid-manager/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/doubleclickbidmanager.v1_1/doubleclickbidmanager.v1_1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/doubleclickbidmanager.v1_1/doubleclickbidmanager.v1_1-library.html) #### Search Ads 360 API - `doubleclicksearch.v2` The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360. - [Documentation](https://developers.google.com/search-ads) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/doubleclicksearch.v2/doubleclicksearch.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/doubleclicksearch.v2/doubleclicksearch.v2-library.html) #### ![Logo](https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png) Drive API - `drive.v2` Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. - [Documentation](https://developers.google.com/drive/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/drive.v2/drive.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/drive.v2/drive.v2-library.html) #### ![Logo](https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png) Drive API - `drive.v3` Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. - [Documentation](https://developers.google.com/drive/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/drive.v3/drive.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/drive.v3/drive.v3-library.html) #### Drive Activity API - `driveactivity.v2` Provides a historical view of activity in Google Drive. - [Documentation](https://developers.google.com/drive/activity/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/driveactivity.v2/driveactivity.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/driveactivity.v2/driveactivity.v2-library.html) #### Essential Contacts API - `essentialcontacts.v1` - [Documentation](https://cloud.google.com/essentialcontacts/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/essentialcontacts.v1/essentialcontacts.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/essentialcontacts.v1/essentialcontacts.v1-library.html) #### Eventarc API - `eventarc.v1` - [Documentation](https://cloud.google.com/eventarc) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/eventarc.v1/eventarc.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/eventarc.v1/eventarc.v1-library.html) #### Firebase Cloud Messaging API - `fcm.v1` FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost. - [Documentation](https://firebase.google.com/docs/cloud-messaging) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/fcm.v1/fcm.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/fcm.v1/fcm.v1-library.html) #### Cloud Filestore API - `file.v1` The Cloud Filestore API is used for creating and managing cloud file servers. - [Documentation](https://cloud.google.com/filestore/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/file.v1/file.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/file.v1/file.v1-library.html) #### Firebase Dynamic Links API - `firebasedynamiclinks.v1` Programmatically creates and manages Firebase Dynamic Links. - [Documentation](https://firebase.google.com/docs/dynamic-links/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/firebasedynamiclinks.v1/firebasedynamiclinks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/firebasedynamiclinks.v1/firebasedynamiclinks.v1-library.html) #### Firebase Hosting API - `firebasehosting.v1` The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files. - [Documentation](https://firebase.google.com/docs/hosting/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/firebasehosting.v1/firebasehosting.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/firebasehosting.v1/firebasehosting.v1-library.html) #### Firebase ML API - `firebaseml.v1` Access custom machine learning models hosted via Firebase ML. - [Documentation](https://firebase.google.com) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/firebaseml.v1/firebaseml.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/firebaseml.v1/firebaseml.v1-library.html) #### Firebase Rules API - `firebaserules.v1` Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. - [Documentation](https://firebase.google.com/docs/storage/security) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/firebaserules.v1/firebaserules.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/firebaserules.v1/firebaserules.v1-library.html) #### Cloud Firestore API - `firestore.v1` Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. - [Documentation](https://cloud.google.com/firestore) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/firestore.v1/firestore.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/firestore.v1/firestore.v1-library.html) #### Fitness API - `fitness.v1` The Fitness API for managing users' fitness tracking data. - [Documentation](https://developers.google.com/fit/rest/v1/get-started) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/fitness.v1/fitness.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/fitness.v1/fitness.v1-library.html) #### Google Play Game Services - `games.v1` The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more. - [Documentation](https://developers.google.com/games/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/games.v1/games.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/games.v1/games.v1-library.html) #### Google Play Game Services Publishing API - `gamesConfiguration.v1configuration` The Google Play Game Services Publishing API allows developers to configure their games in Game Services. - [Documentation](https://developers.google.com/games/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/gamesConfiguration.v1configuration/gamesConfiguration.v1configuration-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/gamesConfiguration.v1configuration/gamesConfiguration.v1configuration-library.html) #### Google Play Game Management - `gamesManagement.v1management` The Google Play Game Management API allows developers to manage resources from the Google Play Game service. - [Documentation](https://developers.google.com/games/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/gamesManagement.v1management/gamesManagement.v1management-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/gamesManagement.v1management/gamesManagement.v1management-library.html) #### Game Services API - `gameservices.v1` Deploy and manage infrastructure for global multiplayer gaming experiences. - [Documentation](https://cloud.google.com/solutions/gaming/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/gameservices.v1/gameservices.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/gameservices.v1/gameservices.v1-library.html) -#### GKE Hub - `gkehub.v1` +#### GKE Hub API - `gkehub.v1` - [Documentation](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/gkehub.v1/gkehub.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/gkehub.v1/gkehub.v1-library.html) #### Gmail API - `gmail.v1` The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels. - [Documentation](https://developers.google.com/gmail/api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/gmail.v1/gmail.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/gmail.v1/gmail.v1-library.html) #### Gmail Postmaster Tools API - `gmailpostmastertools.v1` The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently. - [Documentation](https://developers.google.com/gmail/postmaster) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/gmailpostmastertools.v1/gmailpostmastertools.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/gmailpostmastertools.v1/gmailpostmastertools.v1-library.html) #### Groups Migration API - `groupsmigration.v1` The Groups Migration API allows domain administrators to archive emails into Google groups. - [Documentation](https://developers.google.com/google-apps/groups-migration/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/groupsmigration.v1/groupsmigration.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/groupsmigration.v1/groupsmigration.v1-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Groups Settings API - `groupssettings.v1` Manages permission levels and related settings of a group. - [Documentation](https://developers.google.com/google-apps/groups-settings/get_started) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/groupssettings.v1/groupssettings.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/groupssettings.v1/groupssettings.v1-library.html) #### Cloud Healthcare API - `healthcare.v1` Manage, store, and access healthcare data in Google Cloud Platform. - [Documentation](https://cloud.google.com/healthcare) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/healthcare.v1/healthcare.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/healthcare.v1/healthcare.v1-library.html) #### HomeGraph API - `homegraph.v1` - [Documentation](https://developers.google.com/actions/smarthome/create-app#request-sync) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/homegraph.v1/homegraph.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/homegraph.v1/homegraph.v1-library.html) #### Identity and Access Management (IAM) API - `iam.v1` Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. - [Documentation](https://cloud.google.com/iam/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/iam.v1/iam.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/iam.v1/iam.v1-library.html) #### IAM Service Account Credentials API - `iamcredentials.v1` Creates short-lived credentials for impersonating IAM service accounts. To enable this API, you must enable the IAM API (iam.googleapis.com). - [Documentation](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/iamcredentials.v1/iamcredentials.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/iamcredentials.v1/iamcredentials.v1-library.html) #### Cloud Identity-Aware Proxy API - `iap.v1` Controls access to cloud applications running on Google Cloud Platform. - [Documentation](https://cloud.google.com/iap) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/iap.v1/iap.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/iap.v1/iap.v1-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Google Identity Toolkit API - `identitytoolkit.v3` Help the third party sites to implement federated login. - [Documentation](https://developers.google.com/identity-toolkit/v3/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/identitytoolkit.v3/identitytoolkit.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/identitytoolkit.v3/identitytoolkit.v3-library.html) #### Indexing API - `indexing.v3` Notifies Google when your web pages change. - [Documentation](https://developers.google.com/search/apis/indexing-api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/indexing.v3/indexing.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/indexing.v3/indexing.v3-library.html) #### Cloud Talent Solution API - `jobs.v3` Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. - [Documentation](https://cloud.google.com/talent-solution/job-search/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/jobs.v3/jobs.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/jobs.v3/jobs.v3-library.html) #### Cloud Talent Solution API - `jobs.v4` Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. - [Documentation](https://cloud.google.com/talent-solution/job-search/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/jobs.v4/jobs.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/jobs.v4/jobs.v4-library.html) #### Google Keep API - `keep.v1` This API is an enterprise-only API used to create and manage the Keep notes within your domain, including resolving issues identified by CASB software. - [Documentation](https://developers.google.com/keep/api) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/keep.v1/keep.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/keep.v1/keep.v1-library.html) #### Knowledge Graph Search API - `kgsearch.v1` Searches the Google Knowledge Graph for entities. - [Documentation](https://developers.google.com/knowledge-graph/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/kgsearch.v1/kgsearch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/kgsearch.v1/kgsearch.v1-library.html) #### Cloud Natural Language API - `language.v1` Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. - [Documentation](https://cloud.google.com/natural-language/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/language.v1/language.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/language.v1/language.v1-library.html) #### Library Agent API - `libraryagent.v1` A simple Google Example Library API. - [Documentation](https://cloud.google.com/docs/quota) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/libraryagent.v1/libraryagent.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/libraryagent.v1/libraryagent.v1-library.html) #### Enterprise License Manager API - `licensing.v1` The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you. - [Documentation](https://developers.google.com/admin-sdk/licensing/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/licensing.v1/licensing.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/licensing.v1/licensing.v1-library.html) #### Local Services API - `localservices.v1` - [Documentation](https://ads.google.com/local-services-ads/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/localservices.v1/localservices.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/localservices.v1/localservices.v1-library.html) #### Cloud Logging API - `logging.v2` Writes log entries and manages your Cloud Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the documentation at https://cloud.google.com/logging/docs. - [Documentation](https://cloud.google.com/logging/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/logging.v2/logging.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/logging.v2/logging.v2-library.html) #### Managed Service for Microsoft Active Directory API - `managedidentities.v1` The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD). - [Documentation](https://cloud.google.com/managed-microsoft-ad/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/managedidentities.v1/managedidentities.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/managedidentities.v1/managedidentities.v1-library.html) #### Manufacturer Center API - `manufacturers.v1` Public API for managing Manufacturer Center related data. - [Documentation](https://developers.google.com/manufacturers/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/manufacturers.v1/manufacturers.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/manufacturers.v1/manufacturers.v1-library.html) #### Cloud Memorystore for Memcached API - `memcache.v1` Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP. - [Documentation](https://cloud.google.com/memorystore/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/memcache.v1/memcache.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/memcache.v1/memcache.v1-library.html) #### AI Platform Training & Prediction API - `ml.v1` An API to enable creating and using machine learning models. - [Documentation](https://cloud.google.com/ml/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/ml.v1/ml.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/ml.v1/ml.v1-library.html) #### Cloud Monitoring API - `monitoring.v3` Manages your Cloud Monitoring data and configurations. Most projects must be associated with a Workspace, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Cloud Monitoring documentation (https://cloud.google.com/monitoring/docs). - [Documentation](https://cloud.google.com/monitoring/api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/monitoring.v3/monitoring.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/monitoring.v3/monitoring.v3-library.html) #### My Business Account Management API - `mybusinessaccountmanagement.v1` The My Business Account Management API provides an interface for managing access to a location on Google. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/mybusinessaccountmanagement.v1/mybusinessaccountmanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/mybusinessaccountmanagement.v1/mybusinessaccountmanagement.v1-library.html) + +#### My Business Business Information API - `mybusinessbusinessinformation.v1` + +The My Business Business Information API provides an interface for managing business information on Google. + +- [Documentation](https://developers.google.com/my-business/) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/mybusinessbusinessinformation.v1/mybusinessbusinessinformation.v1-library.html) #### My Business Lodging API - `mybusinesslodging.v1` The My Business Lodging API enables managing lodging business information on Google. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/mybusinesslodging.v1/mybusinesslodging.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/mybusinesslodging.v1/mybusinesslodging.v1-library.html) + +#### My Business Notifications API - `mybusinessnotifications.v1` + +The My Business Notification Settings API enables managing notification settings for business accounts. + +- [Documentation](https://developers.google.com/my-business/) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/mybusinessnotifications.v1/mybusinessnotifications.v1-library.html) #### My Business Place Actions API - `mybusinessplaceactions.v1` The My Business Place Actions API provides an interface for managing place action links of a location on Google. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/mybusinessplaceactions.v1/mybusinessplaceactions.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/mybusinessplaceactions.v1/mybusinessplaceactions.v1-library.html) + +#### My Business Verifications API - `mybusinessverifications.v1` + +The My Business Verifications API provides an interface for taking verifications related actions for locations. + +- [Documentation](https://developers.google.com/my-business/) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/mybusinessverifications.v1/mybusinessverifications.v1-library.html) #### Network Management API - `networkmanagement.v1` The Network Management API provides a collection of network performance monitoring and diagnostic capabilities. - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/networkmanagement.v1/networkmanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/networkmanagement.v1/networkmanagement.v1-library.html) + +#### Network Security API - `networksecurity.v1` + +- [Documentation](https://cloud.google.com/networking) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/networksecurity.v1/networksecurity.v1-library.html) + +#### Network Services API - `networkservices.v1` + +- [Documentation](https://cloud.google.com/networking) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/networkservices.v1/networkservices.v1-library.html) #### Notebooks API - `notebooks.v1` Notebooks API is used to manage notebook resources in Google Cloud. - [Documentation](https://cloud.google.com/notebooks/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/notebooks.v1/notebooks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/notebooks.v1/notebooks.v1-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Google OAuth2 API - `oauth2.v2` Obtains end-user authorization grants for use with other Google APIs. - [Documentation](https://developers.google.com/identity/protocols/oauth2/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/oauth2.v2/oauth2.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/oauth2.v2/oauth2.v2-library.html) #### On-Demand Scanning API - `ondemandscanning.v1` A service to scan container images for vulnerabilities. - [Documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/ondemandscanning.v1/ondemandscanning.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/ondemandscanning.v1/ondemandscanning.v1-library.html) #### Organization Policy API - `orgpolicy.v2` The Org Policy API allows users to configure governance ruleson their GCP resources across the Cloud Resource Hierarchy. - [Documentation](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/orgpolicy.v2/orgpolicy.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/orgpolicy.v2/orgpolicy.v2-library.html) #### OS Config API - `osconfig.v1` OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. - [Documentation](https://cloud.google.com/compute/docs/osconfig/rest) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/osconfig.v1/osconfig.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/osconfig.v1/osconfig.v1-library.html) #### Cloud OS Login API - `oslogin.v1` You can use OS Login to manage access to your VM instances using IAM roles. - [Documentation](https://cloud.google.com/compute/docs/oslogin/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/oslogin.v1/oslogin.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/oslogin.v1/oslogin.v1-library.html) #### PageSpeed Insights API - `pagespeedonline.v5` The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. - [Documentation](https://developers.google.com/speed/docs/insights/v5/about) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/pagespeedonline.v5/pagespeedonline.v5-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/pagespeedonline.v5/pagespeedonline.v5-library.html) #### Payments Reseller Subscription API - `paymentsresellersubscription.v1` - [Documentation](https://developers.google.com/payments/reseller/subscription/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/paymentsresellersubscription.v1/paymentsresellersubscription.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/paymentsresellersubscription.v1/paymentsresellersubscription.v1-library.html) #### People API - `people.v1` Provides access to information about profiles and contacts. - [Documentation](https://developers.google.com/people/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/people.v1/people.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/people.v1/people.v1-library.html) #### Playable Locations API - `playablelocations.v3` - [Documentation](https://developers.google.com/maps/contact-sales/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/playablelocations.v3/playablelocations.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/playablelocations.v3/playablelocations.v3-library.html) #### Google Play Custom App Publishing API - `playcustomapp.v1` API to create and publish custom Android apps - [Documentation](https://developers.google.com/android/work/play/custom-app-api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/playcustomapp.v1/playcustomapp.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/playcustomapp.v1/playcustomapp.v1-library.html) + +#### Policy Analyzer API - `policyanalyzer.v1` + +- [Documentation](https://www.google.com) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/policyanalyzer.v1/policyanalyzer.v1-library.html) #### Policy Simulator API - `policysimulator.v1` Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy. - [Documentation](https://cloud.google.com/iam/docs/simulating-access) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/policysimulator.v1/policysimulator.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/policysimulator.v1/policysimulator.v1-library.html) #### Policy Troubleshooter API - `policytroubleshooter.v1` - [Documentation](https://cloud.google.com/iam/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/policytroubleshooter.v1/policytroubleshooter.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/policytroubleshooter.v1/policytroubleshooter.v1-library.html) #### Certificate Authority API - `privateca.v1` The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys." - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/privateca.v1/privateca.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/privateca.v1/privateca.v1-library.html) #### Cloud Pub/Sub API - `pubsub.v1` Provides reliable, many-to-many, asynchronous messaging between applications. - [Documentation](https://cloud.google.com/pubsub/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/pubsub.v1/pubsub.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/pubsub.v1/pubsub.v1-library.html) #### Pub/Sub Lite API - `pubsublite.v1` - [Documentation](https://cloud.google.com/pubsub/lite/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/pubsublite.v1/pubsublite.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/pubsublite.v1/pubsublite.v1-library.html) #### Real-time Bidding API - `realtimebidding.v1` Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status. - [Documentation](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/realtimebidding.v1/realtimebidding.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/realtimebidding.v1/realtimebidding.v1-library.html) #### reCAPTCHA Enterprise API - `recaptchaenterprise.v1` - [Documentation](https://cloud.google.com/recaptcha-enterprise/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/recaptchaenterprise.v1/recaptchaenterprise.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/recaptchaenterprise.v1/recaptchaenterprise.v1-library.html) #### Recommender API - `recommender.v1` - [Documentation](https://cloud.google.com/recommender/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/recommender.v1/recommender.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/recommender.v1/recommender.v1-library.html) #### Google Cloud Memorystore for Redis API - `redis.v1` Creates and manages Redis instances on the Google Cloud Platform. - [Documentation](https://cloud.google.com/memorystore/docs/redis/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/redis.v1/redis.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/redis.v1/redis.v1-library.html) #### Google Workspace Reseller API - `reseller.v1` Perform common functions that are available on the Channel Services console at scale, like placing orders and viewing customer information - [Documentation](https://developers.google.com/google-apps/reseller/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/reseller.v1/reseller.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/reseller.v1/reseller.v1-library.html) #### Resource Settings API - `resourcesettings.v1` The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy. - [Documentation](https://cloud.google.com/resource-manager/docs/resource-settings/overview) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/resourcesettings.v1/resourcesettings.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/resourcesettings.v1/resourcesettings.v1-library.html) #### Retail API - `retail.v2` Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud. - [Documentation](https://cloud.google.com/recommendations) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/retail.v2/retail.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/retail.v2/retail.v2-library.html) #### Cloud Run Admin API - `run.v1` Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API follows the Knative Serving API specification. - [Documentation](https://cloud.google.com/run/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/run.v1/run.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/run.v1/run.v1-library.html) #### Cloud Runtime Configuration API - `runtimeconfig.v1` The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. - [Documentation](https://cloud.google.com/deployment-manager/runtime-configurator/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/runtimeconfig.v1/runtimeconfig.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/runtimeconfig.v1/runtimeconfig.v1-library.html) #### Safe Browsing API - `safebrowsing.v4` Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API. - [Documentation](https://developers.google.com/safe-browsing/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/safebrowsing.v4/safebrowsing.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/safebrowsing.v4/safebrowsing.v4-library.html) #### Apps Script API - `script.v1` Manages and executes Google Apps Script projects. - [Documentation](https://developers.google.com/apps-script/api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/script.v1/script.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/script.v1/script.v1-library.html) #### Google Search Console API - `searchconsole.v1` The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone) - [Documentation](https://developers.google.com/webmaster-tools/search-console-api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/searchconsole.v1/searchconsole.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/searchconsole.v1/searchconsole.v1-library.html) #### Secret Manager API - `secretmanager.v1` Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. - [Documentation](https://cloud.google.com/secret-manager/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/secretmanager.v1/secretmanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/secretmanager.v1/secretmanager.v1-library.html) #### Security Command Center API - `securitycenter.v1` Security Command Center API provides access to temporal views of assets and findings within an organization. - [Documentation](https://cloud.google.com/security-command-center) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/securitycenter.v1/securitycenter.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/securitycenter.v1/securitycenter.v1-library.html) #### Service Consumer Management API - `serviceconsumermanagement.v1` Manages the service consumers of a Service Infrastructure service. - [Documentation](https://cloud.google.com/service-consumer-management/docs/overview) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/serviceconsumermanagement.v1/serviceconsumermanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/serviceconsumermanagement.v1/serviceconsumermanagement.v1-library.html) #### Service Control API - `servicecontrol.v1` Provides admission control and telemetry reporting for services integrated with Service Infrastructure. - [Documentation](https://cloud.google.com/service-control/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/servicecontrol.v1/servicecontrol.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/servicecontrol.v1/servicecontrol.v1-library.html) #### Service Control API - `servicecontrol.v2` Provides admission control and telemetry reporting for services integrated with Service Infrastructure. - [Documentation](https://cloud.google.com/service-control/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/servicecontrol.v2/servicecontrol.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/servicecontrol.v2/servicecontrol.v2-library.html) #### Service Directory API - `servicedirectory.v1` Service Directory is a platform for discovering, publishing, and connecting services. - [Documentation](https://cloud.google.com/service-directory) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/servicedirectory.v1/servicedirectory.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/servicedirectory.v1/servicedirectory.v1-library.html) #### Service Management API - `servicemanagement.v1` Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. - [Documentation](https://cloud.google.com/service-management/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/servicemanagement.v1/servicemanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/servicemanagement.v1/servicemanagement.v1-library.html) #### Service Networking API - `servicenetworking.v1` Provides automatic management of network configurations necessary for certain services. - [Documentation](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/servicenetworking.v1/servicenetworking.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/servicenetworking.v1/servicenetworking.v1-library.html) #### Service Usage API - `serviceusage.v1` Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. - [Documentation](https://cloud.google.com/service-usage/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/serviceusage.v1/serviceusage.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/serviceusage.v1/serviceusage.v1-library.html) #### Google Sheets API - `sheets.v4` Reads and writes Google Sheets. - [Documentation](https://developers.google.com/sheets/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/sheets.v4/sheets.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/sheets.v4/sheets.v4-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Google Site Verification API - `siteVerification.v1` Verifies ownership of websites or domains with Google. - [Documentation](https://developers.google.com/site-verification/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/siteVerification.v1/siteVerification.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/siteVerification.v1/siteVerification.v1-library.html) #### Google Slides API - `slides.v1` Reads and writes Google Slides presentations. - [Documentation](https://developers.google.com/slides/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/slides.v1/slides.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/slides.v1/slides.v1-library.html) #### Smart Device Management API - `smartdevicemanagement.v1` Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically. - [Documentation](https://developers.google.com/nest/device-access) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/smartdevicemanagement.v1/smartdevicemanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/smartdevicemanagement.v1/smartdevicemanagement.v1-library.html) #### Cloud Source Repositories API - `sourcerepo.v1` Accesses source code repositories hosted by Google. - [Documentation](https://cloud.google.com/source-repositories/docs/apis) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/sourcerepo.v1/sourcerepo.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/sourcerepo.v1/sourcerepo.v1-library.html) #### Cloud Spanner API - `spanner.v1` Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. - [Documentation](https://cloud.google.com/spanner/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/spanner.v1/spanner.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/spanner.v1/spanner.v1-library.html) #### Cloud Speech-to-Text API - `speech.v1` Converts audio to text by applying powerful neural network models. - [Documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/speech.v1/speech.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/speech.v1/speech.v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/cloud_storage-16.png) Cloud Storage JSON API - `storage.v1` Stores and retrieves potentially large, immutable data objects. - [Documentation](https://developers.google.com/storage/docs/json_api/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/storage.v1/storage.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/storage.v1/storage.v1-library.html) #### Storage Transfer API - `storagetransfer.v1` Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets. - [Documentation](https://cloud.google.com/storage-transfer/docs) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/storagetransfer.v1/storagetransfer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/storagetransfer.v1/storagetransfer.v1-library.html) #### Street View Publish API - `streetviewpublish.v1` Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images. - [Documentation](https://developers.google.com/streetview/publish/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/streetviewpublish.v1/streetviewpublish.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/streetviewpublish.v1/streetviewpublish.v1-library.html) #### Security Token Service API - `sts.v1` The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources. - [Documentation](http://cloud.google.com/iam/docs/workload-identity-federation) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/sts.v1/sts.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/sts.v1/sts.v1-library.html) #### Tag Manager API - `tagmanager.v1` This API allows clients to access and modify container and tag configuration. - [Documentation](https://developers.google.com/tag-manager) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/tagmanager.v1/tagmanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/tagmanager.v1/tagmanager.v1-library.html) #### Tag Manager API - `tagmanager.v2` This API allows clients to access and modify container and tag configuration. - [Documentation](https://developers.google.com/tag-manager) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/tagmanager.v2/tagmanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/tagmanager.v2/tagmanager.v2-library.html) #### Tasks API - `tasks.v1` The Google Tasks API lets you manage your tasks and task lists. - [Documentation](https://developers.google.com/tasks/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/tasks.v1/tasks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/tasks.v1/tasks.v1-library.html) #### Cloud Testing API - `testing.v1` Allows developers to run automated tests for their mobile applications on Google infrastructure. - [Documentation](https://developers.google.com/cloud-test-lab/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/testing.v1/testing.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/testing.v1/testing.v1-library.html) #### Cloud Text-to-Speech API - `texttospeech.v1` Synthesizes natural-sounding speech by applying powerful neural network models. - [Documentation](https://cloud.google.com/text-to-speech/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/texttospeech.v1/texttospeech.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/texttospeech.v1/texttospeech.v1-library.html) #### Cloud TPU API - `tpu.v1` TPU API provides customers with access to Google TPU technology. - [Documentation](https://cloud.google.com/tpu/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/tpu.v1/tpu.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/tpu.v1/tpu.v1-library.html) #### Traffic Director API - `trafficdirector.v2` - [Documentation](https://cloud.google.com/traffic-director) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/trafficdirector.v2/trafficdirector.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/trafficdirector.v2/trafficdirector.v2-library.html) #### Cloud Translation API - `translate.v3` Integrates text translation into your website or application. - [Documentation](https://cloud.google.com/translate/docs/quickstarts) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/translate.v3/translate.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/translate.v3/translate.v3-library.html) -#### G Suite Vault API - `vault.v1` +#### Google Vault API - `vault.v1` Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them. - [Documentation](https://developers.google.com/vault) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/vault.v1/vault.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/vault.v1/vault.v1-library.html) #### Semantic Tile API - `vectortile.v1` Serves vector tiles containing geospatial data. - [Documentation](https://developers.google.com/maps/contact-sales/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/vectortile.v1/vectortile.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/vectortile.v1/vectortile.v1-library.html) #### Chrome Verified Access API - `verifiedaccess.v1` API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network - [Documentation](https://developers.google.com/chrome/verified-access) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/verifiedaccess.v1/verifiedaccess.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/verifiedaccess.v1/verifiedaccess.v1-library.html) #### Cloud Video Intelligence API - `videointelligence.v1` Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. - [Documentation](https://cloud.google.com/video-intelligence/docs/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/videointelligence.v1/videointelligence.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/videointelligence.v1/videointelligence.v1-library.html) #### Cloud Vision API - `vision.v1` Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. - [Documentation](https://cloud.google.com/vision/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/vision.v1/vision.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/vision.v1/vision.v1-library.html) #### Web Fonts Developer API - `webfonts.v1` The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google. - [Documentation](https://developers.google.com/fonts/docs/developer_api) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/webfonts.v1/webfonts.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/webfonts.v1/webfonts.v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/webmaster_tools-16.png) Search Console API - `webmasters.v3` View Google Search Console data for your verified sites. - [Documentation](https://developers.google.com/webmaster-tools/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/webmasters.v3/webmasters.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/webmasters.v3/webmasters.v3-library.html) #### Web Risk API - `webrisk.v1` - [Documentation](https://cloud.google.com/web-risk/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/webrisk.v1/webrisk.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/webrisk.v1/webrisk.v1-library.html) #### Web Security Scanner API - `websecurityscanner.v1` Scans your Compute and App Engine apps for common web vulnerabilities. - [Documentation](https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/websecurityscanner.v1/websecurityscanner.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/websecurityscanner.v1/websecurityscanner.v1-library.html) #### Workflow Executions API - `workflowexecutions.v1` Execute workflows created with Workflows API. - [Documentation](https://cloud.google.com/workflows) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/workflowexecutions.v1/workflowexecutions.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/workflowexecutions.v1/workflowexecutions.v1-library.html) #### Workflows API - `workflows.v1` Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API. - [Documentation](https://cloud.google.com/workflows) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/workflows.v1/workflows.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/workflows.v1/workflows.v1-library.html) #### YouTube Data API v3 - `youtube.v3` The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels. - [Documentation](https://developers.google.com/youtube/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/youtube.v3/youtube.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/youtube.v3/youtube.v3-library.html) #### YouTube Analytics API - `youtubeAnalytics.v2` Retrieves your YouTube Analytics data. - [Documentation](https://developers.google.com/youtube/analytics) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/youtubeAnalytics.v2/youtubeAnalytics.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/youtubeAnalytics.v2/youtubeAnalytics.v2-library.html) #### YouTube Reporting API - `youtubereporting.v1` Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. - [Documentation](https://developers.google.com/youtube/reporting/v1/reports/) -- [API details](https://pub.dev/documentation/googleapis/5.0.0-dev/youtubereporting.v1/youtubereporting.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/5.0.0/youtubereporting.v1/youtubereporting.v1-library.html) diff --git a/generated/googleapis/lib/accessapproval/v1.dart b/generated/googleapis/lib/accessapproval/v1.dart index bed8a4988..174d23e29 100644 --- a/generated/googleapis/lib/accessapproval/v1.dart +++ b/generated/googleapis/lib/accessapproval/v1.dart @@ -16,7 +16,8 @@ /// /// An API for controlling access to data by Google personnel. /// -/// For more information, see +/// For more information, see +/// /// /// Create an instance of [AccessApprovalApi] to access these resources: /// @@ -42,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// An API for controlling access to data by Google personnel. class AccessApprovalApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/accesscontextmanager/v1.dart b/generated/googleapis/lib/accesscontextmanager/v1.dart index 7c7a86374..b7dc955c7 100644 --- a/generated/googleapis/lib/accesscontextmanager/v1.dart +++ b/generated/googleapis/lib/accesscontextmanager/v1.dart @@ -45,7 +45,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// An API for setting attribute based access control to requests to GCP /// services. class AccessContextManagerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -249,7 +250,7 @@ class AccessPoliciesResource { /// Request parameters: /// /// [name] - Output only. Resource name of the `AccessPolicy`. Format: - /// `accessPolicies/{policy_id}` + /// `accessPolicies/{access_policy}` /// Value must have pattern `^accessPolicies/\[^/\]+$`. /// /// [updateMask] - Required. Mask to control which fields get updated. Must be @@ -503,8 +504,8 @@ class AccessPoliciesAccessLevelsResource { /// /// [name] - Required. Resource name for the Access Level. The `short_name` /// component must begin with a letter and only include alphanumeric and '_'. - /// Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`. The - /// maximum length of the `short_name` component is 50 characters. + /// Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The + /// maximum length of the `access_level` component is 50 characters. /// Value must have pattern `^accessPolicies/\[^/\]+/accessLevels/\[^/\]+$`. /// /// [updateMask] - Required. Mask to control which fields get updated. Must be @@ -841,7 +842,7 @@ class AccessPoliciesServicePerimetersResource { /// [name] - Required. Resource name for the ServicePerimeter. The /// `short_name` component must begin with a letter and only include /// alphanumeric and '_'. Format: - /// `accessPolicies/{policy_id}/servicePerimeters/{short_name}` + /// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}` /// Value must have pattern /// `^accessPolicies/\[^/\]+/servicePerimeters/\[^/\]+$`. /// @@ -1368,6 +1369,17 @@ class OrganizationsGcpUserAccessBindingsResource { } } +/// Metadata of Access Context Manager's Long Running Operations. +class AccessContextManagerOperationMetadata { + AccessContextManagerOperationMetadata(); + + AccessContextManagerOperationMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// An `AccessLevel` is a label that can be applied to requests to Google Cloud /// services, along with a list of requirements necessary for the label to be /// applied. @@ -1387,8 +1399,8 @@ class AccessLevel { /// /// The `short_name` component must begin with a letter and only include /// alphanumeric and '_'. Format: - /// `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length - /// of the `short_name` component is 50 characters. + /// `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum + /// length of the `access_level` component is 50 characters. /// /// Required. core.String? name; @@ -1451,7 +1463,7 @@ class AccessPolicy { /// Resource name of the `AccessPolicy`. /// - /// Format: `accessPolicies/{policy_id}` + /// Format: `accessPolicies/{access_policy}` /// /// Output only. core.String? name; @@ -2170,6 +2182,20 @@ class GcpUserAccessBinding { }; } +/// Currently, a completed operation means nothing. +/// +/// In the future, this metadata and a completed operation may indicate that the +/// binding has taken effect and is affecting access decisions for all users. +class GcpUserAccessBindingOperationMetadata { + GcpUserAccessBindingOperationMetadata(); + + GcpUserAccessBindingOperationMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Defines the conditions under which an IngressPolicy matches a request. /// /// Conditions are based on information about the source of the request. The @@ -2887,7 +2913,7 @@ class ServicePerimeter { /// /// The `short_name` component must begin with a letter and only include /// alphanumeric and '_'. Format: - /// `accessPolicies/{policy_id}/servicePerimeters/{short_name}` + /// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}` /// /// Required. core.String? name; diff --git a/generated/googleapis/lib/adexchangebuyer/v1_3.dart b/generated/googleapis/lib/adexchangebuyer/v1_3.dart deleted file mode 100644 index 03558256b..000000000 --- a/generated/googleapis/lib/adexchangebuyer/v1_3.dart +++ /dev/null @@ -1,2824 +0,0 @@ -// This is a generated file (see the discoveryapis_generator project). - -// ignore_for_file: camel_case_types -// ignore_for_file: comment_references -// ignore_for_file: file_names -// ignore_for_file: library_names -// ignore_for_file: lines_longer_than_80_chars -// ignore_for_file: non_constant_identifier_names -// ignore_for_file: prefer_expression_function_bodies -// ignore_for_file: prefer_interpolation_to_compose_strings -// ignore_for_file: unnecessary_brace_in_string_interps -// ignore_for_file: unnecessary_lambdas -// ignore_for_file: unnecessary_string_interpolations - -/// Ad Exchange Buyer API - v1.3 -/// -/// Accesses your bidding-account information, submits creatives for validation, -/// finds available direct deals, and retrieves performance reports. -/// -/// For more information, see -/// -/// -/// Create an instance of [AdExchangeBuyerApi] to access these resources: -/// -/// - [AccountsResource] -/// - [BillingInfoResource] -/// - [BudgetResource] -/// - [CreativesResource] -/// - [DirectDealsResource] -/// - [PerformanceReportResource] -/// - [PretargetingConfigResource] -library adexchangebuyer.v1_3; - -import 'dart:async' as async; -import 'dart:convert' as convert; -import 'dart:core' as core; - -import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; -import 'package:http/http.dart' as http; - -import '../src/user_agent.dart'; - -export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' - show ApiRequestError, DetailedApiRequestError; - -/// Accesses your bidding-account information, submits creatives for validation, -/// finds available direct deals, and retrieves performance reports. -class AdExchangeBuyerApi { - /// Manage your Ad Exchange buyer account configuration - static const adexchangeBuyerScope = - 'https://www.googleapis.com/auth/adexchange.buyer'; - - final commons.ApiRequester _requester; - - AccountsResource get accounts => AccountsResource(_requester); - BillingInfoResource get billingInfo => BillingInfoResource(_requester); - BudgetResource get budget => BudgetResource(_requester); - CreativesResource get creatives => CreativesResource(_requester); - DirectDealsResource get directDeals => DirectDealsResource(_requester); - PerformanceReportResource get performanceReport => - PerformanceReportResource(_requester); - PretargetingConfigResource get pretargetingConfig => - PretargetingConfigResource(_requester); - - AdExchangeBuyerApi(http.Client client, - {core.String rootUrl = 'https://www.googleapis.com/', - core.String servicePath = 'adexchangebuyer/v1.3/'}) - : _requester = - commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); -} - -class AccountsResource { - final commons.ApiRequester _requester; - - AccountsResource(commons.ApiRequester client) : _requester = client; - - /// Gets one account by ID. - /// - /// Request parameters: - /// - /// [id] - The account id - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Account]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.int id, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'accounts/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Account.fromJson(_response as core.Map); - } - - /// Retrieves the authenticated user's list of accounts. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [AccountsList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'accounts'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return AccountsList.fromJson( - _response as core.Map); - } - - /// Updates an existing account. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [id] - The account id - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Account]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - Account request, - core.int id, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'accounts/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return Account.fromJson(_response as core.Map); - } - - /// Updates an existing account. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [id] - The account id - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Account]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - Account request, - core.int id, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'accounts/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return Account.fromJson(_response as core.Map); - } -} - -class BillingInfoResource { - final commons.ApiRequester _requester; - - BillingInfoResource(commons.ApiRequester client) : _requester = client; - - /// Returns the billing information for one account specified by account ID. - /// - /// Request parameters: - /// - /// [accountId] - The account id. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [BillingInfo]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.int accountId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + commons.escapeVariable('$accountId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return BillingInfo.fromJson( - _response as core.Map); - } - - /// Retrieves a list of billing information for all accounts of the - /// authenticated user. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [BillingInfoList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'billinginfo'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return BillingInfoList.fromJson( - _response as core.Map); - } -} - -class BudgetResource { - final commons.ApiRequester _requester; - - BudgetResource(commons.ApiRequester client) : _requester = client; - - /// Returns the budget information for the adgroup specified by the accountId - /// and billingId. - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the budget information for. - /// - /// [billingId] - The billing id to get the budget information for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Budget]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String accountId, - core.String billingId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$billingId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Budget.fromJson(_response as core.Map); - } - - /// Updates the budget amount for the budget of the adgroup specified by the - /// accountId and billingId, with the budget amount in the request. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id associated with the budget being updated. - /// - /// [billingId] - The billing id associated with the budget being updated. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Budget]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - Budget request, - core.String accountId, - core.String billingId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$billingId'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return Budget.fromJson(_response as core.Map); - } - - /// Updates the budget amount for the budget of the adgroup specified by the - /// accountId and billingId, with the budget amount in the request. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id associated with the budget being updated. - /// - /// [billingId] - The billing id associated with the budget being updated. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Budget]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - Budget request, - core.String accountId, - core.String billingId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$billingId'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return Budget.fromJson(_response as core.Map); - } -} - -class CreativesResource { - final commons.ApiRequester _requester; - - CreativesResource(commons.ApiRequester client) : _requester = client; - - /// Gets the status for a single creative. - /// - /// A creative will be available 30-40 minutes after submission. - /// - /// Request parameters: - /// - /// [accountId] - The id for the account that will serve this creative. - /// - /// [buyerCreativeId] - The buyer-specific id for this creative. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Creative]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.int accountId, - core.String buyerCreativeId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'creatives/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$buyerCreativeId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Creative.fromJson(_response as core.Map); - } - - /// Submit a new creative. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Creative]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - Creative request, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'creatives'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return Creative.fromJson(_response as core.Map); - } - - /// Retrieves a list of the authenticated user's active creatives. - /// - /// A creative will be available 30-40 minutes after submission. - /// - /// Request parameters: - /// - /// [accountId] - When specified, only creatives for the given account ids are - /// returned. - /// - /// [buyerCreativeId] - When specified, only creatives for the given buyer - /// creative ids are returned. - /// - /// [maxResults] - Maximum number of entries returned on one result page. If - /// not set, the default is 100. Optional. - /// Value must be between "1" and "1000". - /// - /// [pageToken] - A continuation token, used to page through ad clients. To - /// retrieve the next page, set this parameter to the value of "nextPageToken" - /// from the previous response. Optional. - /// - /// [statusFilter] - When specified, only creatives having the given status - /// are returned. - /// Possible string values are: - /// - "approved" : Creatives which have been approved. - /// - "disapproved" : Creatives which have been disapproved. - /// - "not_checked" : Creatives whose status is not yet checked. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [CreativesList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.List? accountId, - core.List? buyerCreativeId, - core.int? maxResults, - core.String? pageToken, - core.String? statusFilter, - core.String? $fields, - }) async { - final _queryParams = >{ - if (accountId != null) - 'accountId': accountId.map((item) => '${item}').toList(), - if (buyerCreativeId != null) 'buyerCreativeId': buyerCreativeId, - if (maxResults != null) 'maxResults': ['${maxResults}'], - if (pageToken != null) 'pageToken': [pageToken], - if (statusFilter != null) 'statusFilter': [statusFilter], - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'creatives'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return CreativesList.fromJson( - _response as core.Map); - } -} - -class DirectDealsResource { - final commons.ApiRequester _requester; - - DirectDealsResource(commons.ApiRequester client) : _requester = client; - - /// Gets one direct deal by ID. - /// - /// Request parameters: - /// - /// [id] - The direct deal id - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [DirectDeal]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String id, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'directdeals/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return DirectDeal.fromJson( - _response as core.Map); - } - - /// Retrieves the authenticated user's list of direct deals. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [DirectDealsList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'directdeals'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return DirectDealsList.fromJson( - _response as core.Map); - } -} - -class PerformanceReportResource { - final commons.ApiRequester _requester; - - PerformanceReportResource(commons.ApiRequester client) : _requester = client; - - /// Retrieves the authenticated user's list of performance metrics. - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the reports. - /// - /// [endDateTime] - The end time of the report in ISO 8601 timestamp format - /// using UTC. - /// - /// [startDateTime] - The start time of the report in ISO 8601 timestamp - /// format using UTC. - /// - /// [maxResults] - Maximum number of entries returned on one result page. If - /// not set, the default is 100. Optional. - /// Value must be between "1" and "1000". - /// - /// [pageToken] - A continuation token, used to page through performance - /// reports. To retrieve the next page, set this parameter to the value of - /// "nextPageToken" from the previous response. Optional. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PerformanceReportList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.String accountId, - core.String endDateTime, - core.String startDateTime, { - core.int? maxResults, - core.String? pageToken, - core.String? $fields, - }) async { - final _queryParams = >{ - 'accountId': [accountId], - 'endDateTime': [endDateTime], - 'startDateTime': [startDateTime], - if (maxResults != null) 'maxResults': ['${maxResults}'], - if (pageToken != null) 'pageToken': [pageToken], - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'performancereport'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return PerformanceReportList.fromJson( - _response as core.Map); - } -} - -class PretargetingConfigResource { - final commons.ApiRequester _requester; - - PretargetingConfigResource(commons.ApiRequester client) : _requester = client; - - /// Deletes an existing pretargeting config. - /// - /// Request parameters: - /// - /// [accountId] - The account id to delete the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to delete. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future delete( - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - await _requester.request( - _url, - 'DELETE', - queryParams: _queryParams, - downloadOptions: null, - ); - } - - /// Gets a specific pretargeting configuration - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to retrieve. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } - - /// Inserts a new pretargeting configuration. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id to insert the pretargeting config for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - PretargetingConfig request, - core.String accountId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + commons.escapeVariable('$accountId'); - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } - - /// Retrieves a list of the authenticated user's pretargeting configurations. - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the pretargeting configs for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfigList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.String accountId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + commons.escapeVariable('$accountId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return PretargetingConfigList.fromJson( - _response as core.Map); - } - - /// Updates an existing pretargeting config. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id to update the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to update. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - PretargetingConfig request, - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } - - /// Updates an existing pretargeting config. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id to update the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to update. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - PretargetingConfig request, - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } -} - -class AccountBidderLocation { - /// The maximum queries per second the Ad Exchange will send. - core.int? maximumQps; - - /// The geographical region the Ad Exchange should send requests from. - /// - /// Only used by some quota systems, but always setting the value is - /// recommended. Allowed values: - /// - ASIA - /// - EUROPE - /// - US_EAST - /// - US_WEST - core.String? region; - - /// The URL to which the Ad Exchange will send bid requests. - core.String? url; - - AccountBidderLocation({ - this.maximumQps, - this.region, - this.url, - }); - - AccountBidderLocation.fromJson(core.Map _json) - : this( - maximumQps: _json.containsKey('maximumQps') - ? _json['maximumQps'] as core.int - : null, - region: _json.containsKey('region') - ? _json['region'] as core.String - : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - ); - - core.Map toJson() => { - if (maximumQps != null) 'maximumQps': maximumQps!, - if (region != null) 'region': region!, - if (url != null) 'url': url!, - }; -} - -/// Configuration data for an Ad Exchange buyer account. -class Account { - /// Your bidder locations that have distinct URLs. - core.List? bidderLocation; - - /// The nid parameter value used in cookie match requests. - /// - /// Please contact your technical account manager if you need to change this. - core.String? cookieMatchingNid; - - /// The base URL used in cookie match requests. - core.String? cookieMatchingUrl; - - /// Account id. - core.int? id; - - /// Resource type. - core.String? kind; - - /// The maximum number of active creatives that an account can have, where a - /// creative is active if it was inserted or bid with in the last 30 days. - /// - /// Please contact your technical account manager if you need to change this. - core.int? maximumActiveCreatives; - - /// The sum of all bidderLocation.maximumQps values cannot exceed this. - /// - /// Please contact your technical account manager if you need to change this. - core.int? maximumTotalQps; - - /// The number of creatives that this account inserted or bid with in the last - /// 30 days. - core.int? numberActiveCreatives; - - Account({ - this.bidderLocation, - this.cookieMatchingNid, - this.cookieMatchingUrl, - this.id, - this.kind, - this.maximumActiveCreatives, - this.maximumTotalQps, - this.numberActiveCreatives, - }); - - Account.fromJson(core.Map _json) - : this( - bidderLocation: _json.containsKey('bidderLocation') - ? (_json['bidderLocation'] as core.List) - .map((value) => - AccountBidderLocation.fromJson( - value as core.Map)) - .toList() - : null, - cookieMatchingNid: _json.containsKey('cookieMatchingNid') - ? _json['cookieMatchingNid'] as core.String - : null, - cookieMatchingUrl: _json.containsKey('cookieMatchingUrl') - ? _json['cookieMatchingUrl'] as core.String - : null, - id: _json.containsKey('id') ? _json['id'] as core.int : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - maximumActiveCreatives: _json.containsKey('maximumActiveCreatives') - ? _json['maximumActiveCreatives'] as core.int - : null, - maximumTotalQps: _json.containsKey('maximumTotalQps') - ? _json['maximumTotalQps'] as core.int - : null, - numberActiveCreatives: _json.containsKey('numberActiveCreatives') - ? _json['numberActiveCreatives'] as core.int - : null, - ); - - core.Map toJson() => { - if (bidderLocation != null) - 'bidderLocation': - bidderLocation!.map((value) => value.toJson()).toList(), - if (cookieMatchingNid != null) 'cookieMatchingNid': cookieMatchingNid!, - if (cookieMatchingUrl != null) 'cookieMatchingUrl': cookieMatchingUrl!, - if (id != null) 'id': id!, - if (kind != null) 'kind': kind!, - if (maximumActiveCreatives != null) - 'maximumActiveCreatives': maximumActiveCreatives!, - if (maximumTotalQps != null) 'maximumTotalQps': maximumTotalQps!, - if (numberActiveCreatives != null) - 'numberActiveCreatives': numberActiveCreatives!, - }; -} - -/// An account feed lists Ad Exchange buyer accounts that the user has access -/// to. -/// -/// Each entry in the feed corresponds to a single buyer account. -class AccountsList { - /// A list of accounts. - core.List? items; - - /// Resource type. - core.String? kind; - - AccountsList({ - this.items, - this.kind, - }); - - AccountsList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => Account.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -/// The configuration data for an Ad Exchange billing info. -class BillingInfo { - /// Account id. - core.int? accountId; - - /// Account name. - core.String? accountName; - - /// A list of adgroup IDs associated with this particular account. - /// - /// These IDs may show up as part of a realtime bidding BidRequest, which - /// indicates a bid request for this account. - core.List? billingId; - - /// Resource type. - core.String? kind; - - BillingInfo({ - this.accountId, - this.accountName, - this.billingId, - this.kind, - }); - - BillingInfo.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.int - : null, - accountName: _json.containsKey('accountName') - ? _json['accountName'] as core.String - : null, - billingId: _json.containsKey('billingId') - ? (_json['billingId'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (accountName != null) 'accountName': accountName!, - if (billingId != null) 'billingId': billingId!, - if (kind != null) 'kind': kind!, - }; -} - -/// A billing info feed lists Billing Info the Ad Exchange buyer account has -/// access to. -/// -/// Each entry in the feed corresponds to a single billing info. -class BillingInfoList { - /// A list of billing info relevant for your account. - core.List? items; - - /// Resource type. - core.String? kind; - - BillingInfoList({ - this.items, - this.kind, - }); - - BillingInfoList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => BillingInfo.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -/// The configuration data for Ad Exchange RTB - Budget API. -class Budget { - /// The id of the account. - /// - /// This is required for get and update requests. - core.String? accountId; - - /// The billing id to determine which adgroup to provide budget information - /// for. - /// - /// This is required for get and update requests. - core.String? billingId; - - /// The daily budget amount in unit amount of the account currency to apply - /// for the billingId provided. - /// - /// This is required for update requests. - core.String? budgetAmount; - - /// The currency code for the buyer. - /// - /// This cannot be altered here. - core.String? currencyCode; - - /// The unique id that describes this item. - core.String? id; - - /// The kind of the resource, i.e. "adexchangebuyer#budget". - core.String? kind; - - Budget({ - this.accountId, - this.billingId, - this.budgetAmount, - this.currencyCode, - this.id, - this.kind, - }); - - Budget.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.String - : null, - billingId: _json.containsKey('billingId') - ? _json['billingId'] as core.String - : null, - budgetAmount: _json.containsKey('budgetAmount') - ? _json['budgetAmount'] as core.String - : null, - currencyCode: _json.containsKey('currencyCode') - ? _json['currencyCode'] as core.String - : null, - id: _json.containsKey('id') ? _json['id'] as core.String : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (billingId != null) 'billingId': billingId!, - if (budgetAmount != null) 'budgetAmount': budgetAmount!, - if (currencyCode != null) 'currencyCode': currencyCode!, - if (id != null) 'id': id!, - if (kind != null) 'kind': kind!, - }; -} - -class CreativeAdTechnologyProviders { - /// The detected ad technology provider IDs for this creative. - /// - /// See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for - /// mapping of provider ID to provided name, a privacy policy URL, and a list - /// of domains which can be attributed to the provider. If this creative - /// contains provider IDs that are outside of those listed in the - /// `BidRequest.adslot.consented_providers_settings.consented_providers` field - /// on the Authorized Buyers Real-Time Bidding protocol or the - /// `BidRequest.user.ext.consented_providers_settings.consented_providers` - /// field on the OpenRTB protocol, a bid submitted for a European Economic - /// Area (EEA) user with this creative is not compliant with the GDPR policies - /// as mentioned in the "Third-party Ad Technology Vendors" section of - /// Authorized Buyers Program Guidelines. - core.List? detectedProviderIds; - - /// Whether the creative contains an unidentified ad technology provider. - /// - /// If true, a bid submitted for a European Economic Area (EEA) user with this - /// creative is not compliant with the GDPR policies as mentioned in the - /// "Third-party Ad Technology Vendors" section of Authorized Buyers Program - /// Guidelines. - core.bool? hasUnidentifiedProvider; - - CreativeAdTechnologyProviders({ - this.detectedProviderIds, - this.hasUnidentifiedProvider, - }); - - CreativeAdTechnologyProviders.fromJson(core.Map _json) - : this( - detectedProviderIds: _json.containsKey('detectedProviderIds') - ? (_json['detectedProviderIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - hasUnidentifiedProvider: _json.containsKey('hasUnidentifiedProvider') - ? _json['hasUnidentifiedProvider'] as core.bool - : null, - ); - - core.Map toJson() => { - if (detectedProviderIds != null) - 'detectedProviderIds': detectedProviderIds!, - if (hasUnidentifiedProvider != null) - 'hasUnidentifiedProvider': hasUnidentifiedProvider!, - }; -} - -class CreativeCorrections { - /// Additional details about the correction. - core.List? details; - - /// The type of correction that was applied to the creative. - core.String? reason; - - CreativeCorrections({ - this.details, - this.reason, - }); - - CreativeCorrections.fromJson(core.Map _json) - : this( - details: _json.containsKey('details') - ? (_json['details'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - ); - - core.Map toJson() => { - if (details != null) 'details': details!, - if (reason != null) 'reason': reason!, - }; -} - -class CreativeDisapprovalReasons { - /// Additional details about the reason for disapproval. - core.List? details; - - /// The categorized reason for disapproval. - core.String? reason; - - CreativeDisapprovalReasons({ - this.details, - this.reason, - }); - - CreativeDisapprovalReasons.fromJson(core.Map _json) - : this( - details: _json.containsKey('details') - ? (_json['details'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - ); - - core.Map toJson() => { - if (details != null) 'details': details!, - if (reason != null) 'reason': reason!, - }; -} - -class CreativeFilteringReasonsReasons { - /// The number of times the creative was filtered for the status. - /// - /// The count is aggregated across all publishers on the exchange. - core.String? filteringCount; - - /// The filtering status code. - /// - /// Please refer to the creative-status-codes.txt file for different statuses. - core.int? filteringStatus; - - CreativeFilteringReasonsReasons({ - this.filteringCount, - this.filteringStatus, - }); - - CreativeFilteringReasonsReasons.fromJson(core.Map _json) - : this( - filteringCount: _json.containsKey('filteringCount') - ? _json['filteringCount'] as core.String - : null, - filteringStatus: _json.containsKey('filteringStatus') - ? _json['filteringStatus'] as core.int - : null, - ); - - core.Map toJson() => { - if (filteringCount != null) 'filteringCount': filteringCount!, - if (filteringStatus != null) 'filteringStatus': filteringStatus!, - }; -} - -/// The filtering reasons for the creative. -/// -/// Read-only. This field should not be set in requests. -class CreativeFilteringReasons { - /// The date in ISO 8601 format for the data. - /// - /// The data is collected from 00:00:00 to 23:59:59 in PST. - core.String? date; - - /// The filtering reasons. - core.List? reasons; - - CreativeFilteringReasons({ - this.date, - this.reasons, - }); - - CreativeFilteringReasons.fromJson(core.Map _json) - : this( - date: _json.containsKey('date') ? _json['date'] as core.String : null, - reasons: _json.containsKey('reasons') - ? (_json['reasons'] as core.List) - .map((value) => - CreativeFilteringReasonsReasons.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (date != null) 'date': date!, - if (reasons != null) - 'reasons': reasons!.map((value) => value.toJson()).toList(), - }; -} - -/// The app icon, for app download ads. -class CreativeNativeAdAppIcon { - core.int? height; - core.String? url; - core.int? width; - - CreativeNativeAdAppIcon({ - this.height, - this.url, - this.width, - }); - - CreativeNativeAdAppIcon.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (url != null) 'url': url!, - if (width != null) 'width': width!, - }; -} - -/// A large image. -class CreativeNativeAdImage { - core.int? height; - core.String? url; - core.int? width; - - CreativeNativeAdImage({ - this.height, - this.url, - this.width, - }); - - CreativeNativeAdImage.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (url != null) 'url': url!, - if (width != null) 'width': width!, - }; -} - -/// A smaller image, for the advertiser logo. -class CreativeNativeAdLogo { - core.int? height; - core.String? url; - core.int? width; - - CreativeNativeAdLogo({ - this.height, - this.url, - this.width, - }); - - CreativeNativeAdLogo.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (url != null) 'url': url!, - if (width != null) 'width': width!, - }; -} - -/// If nativeAd is set, HTMLSnippet and videoURL should not be set. -class CreativeNativeAd { - core.String? advertiser; - - /// The app icon, for app download ads. - CreativeNativeAdAppIcon? appIcon; - - /// A long description of the ad. - core.String? body; - - /// A label for the button that the user is supposed to click. - core.String? callToAction; - - /// The URL to use for click tracking. - core.String? clickTrackingUrl; - - /// A short title for the ad. - core.String? headline; - - /// A large image. - CreativeNativeAdImage? image; - - /// The URLs are called when the impression is rendered. - core.List? impressionTrackingUrl; - - /// A smaller image, for the advertiser logo. - CreativeNativeAdLogo? logo; - - /// The price of the promoted app including the currency info. - core.String? price; - - /// The app rating in the app store. - /// - /// Must be in the range \[0-5\]. - core.double? starRating; - - CreativeNativeAd({ - this.advertiser, - this.appIcon, - this.body, - this.callToAction, - this.clickTrackingUrl, - this.headline, - this.image, - this.impressionTrackingUrl, - this.logo, - this.price, - this.starRating, - }); - - CreativeNativeAd.fromJson(core.Map _json) - : this( - advertiser: _json.containsKey('advertiser') - ? _json['advertiser'] as core.String - : null, - appIcon: _json.containsKey('appIcon') - ? CreativeNativeAdAppIcon.fromJson( - _json['appIcon'] as core.Map) - : null, - body: _json.containsKey('body') ? _json['body'] as core.String : null, - callToAction: _json.containsKey('callToAction') - ? _json['callToAction'] as core.String - : null, - clickTrackingUrl: _json.containsKey('clickTrackingUrl') - ? _json['clickTrackingUrl'] as core.String - : null, - headline: _json.containsKey('headline') - ? _json['headline'] as core.String - : null, - image: _json.containsKey('image') - ? CreativeNativeAdImage.fromJson( - _json['image'] as core.Map) - : null, - impressionTrackingUrl: _json.containsKey('impressionTrackingUrl') - ? (_json['impressionTrackingUrl'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - logo: _json.containsKey('logo') - ? CreativeNativeAdLogo.fromJson( - _json['logo'] as core.Map) - : null, - price: - _json.containsKey('price') ? _json['price'] as core.String : null, - starRating: _json.containsKey('starRating') - ? (_json['starRating'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (advertiser != null) 'advertiser': advertiser!, - if (appIcon != null) 'appIcon': appIcon!.toJson(), - if (body != null) 'body': body!, - if (callToAction != null) 'callToAction': callToAction!, - if (clickTrackingUrl != null) 'clickTrackingUrl': clickTrackingUrl!, - if (headline != null) 'headline': headline!, - if (image != null) 'image': image!.toJson(), - if (impressionTrackingUrl != null) - 'impressionTrackingUrl': impressionTrackingUrl!, - if (logo != null) 'logo': logo!.toJson(), - if (price != null) 'price': price!, - if (starRating != null) 'starRating': starRating!, - }; -} - -/// A creative and its classification data. -class Creative { - /// The HTML snippet that displays the ad when inserted in the web page. - /// - /// If set, videoURL should not be set. - core.String? HTMLSnippet; - - /// Account id. - core.int? accountId; - CreativeAdTechnologyProviders? adTechnologyProviders; - - /// Detected advertiser id, if any. - /// - /// Read-only. This field should not be set in requests. - core.List? advertiserId; - - /// The name of the company being advertised in the creative. - core.String? advertiserName; - - /// The agency id for this creative. - core.String? agencyId; - - /// The last upload timestamp of this creative if it was uploaded via API. - /// - /// Read-only. The value of this field is generated, and will be ignored for - /// uploads. (formatted RFC 3339 timestamp). - core.DateTime? apiUploadTimestamp; - - /// All attributes for the ads that may be shown from this snippet. - core.List? attribute; - - /// A buyer-specific id identifying the creative in this ad. - core.String? buyerCreativeId; - - /// The set of destination urls for the snippet. - core.List? clickThroughUrl; - - /// Shows any corrections that were applied to this creative. - /// - /// Read-only. This field should not be set in requests. - core.List? corrections; - - /// The reasons for disapproval, if any. - /// - /// Note that not all disapproval reasons may be categorized, so it is - /// possible for the creative to have a status of DISAPPROVED with an empty - /// list for disapproval_reasons. In this case, please reach out to your TAM - /// to help debug the issue. Read-only. This field should not be set in - /// requests. - core.List? disapprovalReasons; - - /// The filtering reasons for the creative. - /// - /// Read-only. This field should not be set in requests. - CreativeFilteringReasons? filteringReasons; - - /// Ad height. - core.int? height; - - /// The set of urls to be called to record an impression. - core.List? impressionTrackingUrl; - - /// Resource type. - core.String? kind; - - /// If nativeAd is set, HTMLSnippet and videoURL should not be set. - CreativeNativeAd? nativeAd; - - /// Detected product categories, if any. - /// - /// Read-only. This field should not be set in requests. - core.List? productCategories; - - /// All restricted categories for the ads that may be shown from this snippet. - core.List? restrictedCategories; - - /// Detected sensitive categories, if any. - /// - /// Read-only. This field should not be set in requests. - core.List? sensitiveCategories; - - /// Creative serving status. - /// - /// Read-only. This field should not be set in requests. - core.String? status; - - /// All vendor types for the ads that may be shown from this snippet. - core.List? vendorType; - - /// The version for this creative. - /// - /// Read-only. This field should not be set in requests. - core.int? version; - - /// The URL to fetch a video ad. - /// - /// If set, HTMLSnippet and the nativeAd should not be set. - core.String? videoURL; - - /// Ad width. - core.int? width; - - Creative({ - this.HTMLSnippet, - this.accountId, - this.adTechnologyProviders, - this.advertiserId, - this.advertiserName, - this.agencyId, - this.apiUploadTimestamp, - this.attribute, - this.buyerCreativeId, - this.clickThroughUrl, - this.corrections, - this.disapprovalReasons, - this.filteringReasons, - this.height, - this.impressionTrackingUrl, - this.kind, - this.nativeAd, - this.productCategories, - this.restrictedCategories, - this.sensitiveCategories, - this.status, - this.vendorType, - this.version, - this.videoURL, - this.width, - }); - - Creative.fromJson(core.Map _json) - : this( - HTMLSnippet: _json.containsKey('HTMLSnippet') - ? _json['HTMLSnippet'] as core.String - : null, - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.int - : null, - adTechnologyProviders: _json.containsKey('adTechnologyProviders') - ? CreativeAdTechnologyProviders.fromJson( - _json['adTechnologyProviders'] - as core.Map) - : null, - advertiserId: _json.containsKey('advertiserId') - ? (_json['advertiserId'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - advertiserName: _json.containsKey('advertiserName') - ? _json['advertiserName'] as core.String - : null, - agencyId: _json.containsKey('agencyId') - ? _json['agencyId'] as core.String - : null, - apiUploadTimestamp: _json.containsKey('apiUploadTimestamp') - ? core.DateTime.parse(_json['apiUploadTimestamp'] as core.String) - : null, - attribute: _json.containsKey('attribute') - ? (_json['attribute'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - buyerCreativeId: _json.containsKey('buyerCreativeId') - ? _json['buyerCreativeId'] as core.String - : null, - clickThroughUrl: _json.containsKey('clickThroughUrl') - ? (_json['clickThroughUrl'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - corrections: _json.containsKey('corrections') - ? (_json['corrections'] as core.List) - .map((value) => - CreativeCorrections.fromJson( - value as core.Map)) - .toList() - : null, - disapprovalReasons: _json.containsKey('disapprovalReasons') - ? (_json['disapprovalReasons'] as core.List) - .map((value) => - CreativeDisapprovalReasons.fromJson( - value as core.Map)) - .toList() - : null, - filteringReasons: _json.containsKey('filteringReasons') - ? CreativeFilteringReasons.fromJson(_json['filteringReasons'] - as core.Map) - : null, - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - impressionTrackingUrl: _json.containsKey('impressionTrackingUrl') - ? (_json['impressionTrackingUrl'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - nativeAd: _json.containsKey('nativeAd') - ? CreativeNativeAd.fromJson( - _json['nativeAd'] as core.Map) - : null, - productCategories: _json.containsKey('productCategories') - ? (_json['productCategories'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - restrictedCategories: _json.containsKey('restrictedCategories') - ? (_json['restrictedCategories'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - sensitiveCategories: _json.containsKey('sensitiveCategories') - ? (_json['sensitiveCategories'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - status: _json.containsKey('status') - ? _json['status'] as core.String - : null, - vendorType: _json.containsKey('vendorType') - ? (_json['vendorType'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - version: _json.containsKey('version') - ? _json['version'] as core.int - : null, - videoURL: _json.containsKey('videoURL') - ? _json['videoURL'] as core.String - : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (HTMLSnippet != null) 'HTMLSnippet': HTMLSnippet!, - if (accountId != null) 'accountId': accountId!, - if (adTechnologyProviders != null) - 'adTechnologyProviders': adTechnologyProviders!.toJson(), - if (advertiserId != null) 'advertiserId': advertiserId!, - if (advertiserName != null) 'advertiserName': advertiserName!, - if (agencyId != null) 'agencyId': agencyId!, - if (apiUploadTimestamp != null) - 'apiUploadTimestamp': apiUploadTimestamp!.toIso8601String(), - if (attribute != null) 'attribute': attribute!, - if (buyerCreativeId != null) 'buyerCreativeId': buyerCreativeId!, - if (clickThroughUrl != null) 'clickThroughUrl': clickThroughUrl!, - if (corrections != null) - 'corrections': corrections!.map((value) => value.toJson()).toList(), - if (disapprovalReasons != null) - 'disapprovalReasons': - disapprovalReasons!.map((value) => value.toJson()).toList(), - if (filteringReasons != null) - 'filteringReasons': filteringReasons!.toJson(), - if (height != null) 'height': height!, - if (impressionTrackingUrl != null) - 'impressionTrackingUrl': impressionTrackingUrl!, - if (kind != null) 'kind': kind!, - if (nativeAd != null) 'nativeAd': nativeAd!.toJson(), - if (productCategories != null) 'productCategories': productCategories!, - if (restrictedCategories != null) - 'restrictedCategories': restrictedCategories!, - if (sensitiveCategories != null) - 'sensitiveCategories': sensitiveCategories!, - if (status != null) 'status': status!, - if (vendorType != null) 'vendorType': vendorType!, - if (version != null) 'version': version!, - if (videoURL != null) 'videoURL': videoURL!, - if (width != null) 'width': width!, - }; -} - -/// The creatives feed lists the active creatives for the Ad Exchange buyer -/// accounts that the user has access to. -/// -/// Each entry in the feed corresponds to a single creative. -class CreativesList { - /// A list of creatives. - core.List? items; - - /// Resource type. - core.String? kind; - - /// Continuation token used to page through creatives. - /// - /// To retrieve the next page of results, set the next request's "pageToken" - /// value to this. - core.String? nextPageToken; - - CreativesList({ - this.items, - this.kind, - this.nextPageToken, - }); - - CreativesList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => Creative.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - nextPageToken: _json.containsKey('nextPageToken') - ? _json['nextPageToken'] as core.String - : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - if (nextPageToken != null) 'nextPageToken': nextPageToken!, - }; -} - -/// The configuration data for an Ad Exchange direct deal. -class DirectDeal { - /// The account id of the buyer this deal is for. - core.int? accountId; - - /// The name of the advertiser this deal is for. - core.String? advertiser; - - /// Whether the publisher for this deal is eligible for alcohol ads. - core.bool? allowsAlcohol; - - /// The account id that this deal was negotiated for. - /// - /// It is either the buyer or the client that this deal was negotiated on - /// behalf of. - core.String? buyerAccountId; - - /// The currency code that applies to the fixed_cpm value. - /// - /// If not set then assumed to be USD. - core.String? currencyCode; - - /// The deal type such as programmatic reservation or fixed price and so on. - core.String? dealTier; - - /// End time for when this deal stops being active. - /// - /// If not set then this deal is valid until manually disabled by the - /// publisher. In seconds since the epoch. - core.String? endTime; - - /// The fixed price for this direct deal. - /// - /// In cpm micros of currency according to currency_code. If set, then this - /// deal is eligible for the fixed price tier of buying (highest priority, pay - /// exactly the configured fixed price). - core.String? fixedCpm; - - /// Deal id. - core.String? id; - - /// Resource type. - core.String? kind; - - /// Deal name. - core.String? name; - - /// The minimum price for this direct deal. - /// - /// In cpm micros of currency according to currency_code. If set, then this - /// deal is eligible for the private exchange tier of buying (below fixed - /// price priority, run as a second price auction). - core.String? privateExchangeMinCpm; - - /// If true, the publisher has opted to have their blocks ignored when a - /// creative is bid with for this deal. - core.bool? publisherBlocksOverriden; - - /// The name of the publisher offering this direct deal. - core.String? sellerNetwork; - - /// Start time for when this deal becomes active. - /// - /// If not set then this deal is active immediately upon creation. In seconds - /// since the epoch. - core.String? startTime; - - DirectDeal({ - this.accountId, - this.advertiser, - this.allowsAlcohol, - this.buyerAccountId, - this.currencyCode, - this.dealTier, - this.endTime, - this.fixedCpm, - this.id, - this.kind, - this.name, - this.privateExchangeMinCpm, - this.publisherBlocksOverriden, - this.sellerNetwork, - this.startTime, - }); - - DirectDeal.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.int - : null, - advertiser: _json.containsKey('advertiser') - ? _json['advertiser'] as core.String - : null, - allowsAlcohol: _json.containsKey('allowsAlcohol') - ? _json['allowsAlcohol'] as core.bool - : null, - buyerAccountId: _json.containsKey('buyerAccountId') - ? _json['buyerAccountId'] as core.String - : null, - currencyCode: _json.containsKey('currencyCode') - ? _json['currencyCode'] as core.String - : null, - dealTier: _json.containsKey('dealTier') - ? _json['dealTier'] as core.String - : null, - endTime: _json.containsKey('endTime') - ? _json['endTime'] as core.String - : null, - fixedCpm: _json.containsKey('fixedCpm') - ? _json['fixedCpm'] as core.String - : null, - id: _json.containsKey('id') ? _json['id'] as core.String : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - privateExchangeMinCpm: _json.containsKey('privateExchangeMinCpm') - ? _json['privateExchangeMinCpm'] as core.String - : null, - publisherBlocksOverriden: - _json.containsKey('publisherBlocksOverriden') - ? _json['publisherBlocksOverriden'] as core.bool - : null, - sellerNetwork: _json.containsKey('sellerNetwork') - ? _json['sellerNetwork'] as core.String - : null, - startTime: _json.containsKey('startTime') - ? _json['startTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (advertiser != null) 'advertiser': advertiser!, - if (allowsAlcohol != null) 'allowsAlcohol': allowsAlcohol!, - if (buyerAccountId != null) 'buyerAccountId': buyerAccountId!, - if (currencyCode != null) 'currencyCode': currencyCode!, - if (dealTier != null) 'dealTier': dealTier!, - if (endTime != null) 'endTime': endTime!, - if (fixedCpm != null) 'fixedCpm': fixedCpm!, - if (id != null) 'id': id!, - if (kind != null) 'kind': kind!, - if (name != null) 'name': name!, - if (privateExchangeMinCpm != null) - 'privateExchangeMinCpm': privateExchangeMinCpm!, - if (publisherBlocksOverriden != null) - 'publisherBlocksOverriden': publisherBlocksOverriden!, - if (sellerNetwork != null) 'sellerNetwork': sellerNetwork!, - if (startTime != null) 'startTime': startTime!, - }; -} - -/// A direct deals feed lists Direct Deals the Ad Exchange buyer account has -/// access to. -/// -/// This includes direct deals set up for the buyer account as well as its -/// merged stream seats. -class DirectDealsList { - /// A list of direct deals relevant for your account. - core.List? directDeals; - - /// Resource type. - core.String? kind; - - DirectDealsList({ - this.directDeals, - this.kind, - }); - - DirectDealsList.fromJson(core.Map _json) - : this( - directDeals: _json.containsKey('directDeals') - ? (_json['directDeals'] as core.List) - .map((value) => DirectDeal.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (directDeals != null) - 'directDeals': directDeals!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -/// The configuration data for an Ad Exchange performance report list. -class PerformanceReport { - /// The number of bid responses with an ad. - core.double? bidRate; - - /// The number of bid requests sent to your bidder. - core.double? bidRequestRate; - - /// Rate of various prefiltering statuses per match. - /// - /// Please refer to the callout-status-codes.txt file for different statuses. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? calloutStatusRate; - - /// Average QPS for cookie matcher operations. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? cookieMatcherStatusRate; - - /// Rate of ads with a given status. - /// - /// Please refer to the creative-status-codes.txt file for different statuses. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? creativeStatusRate; - - /// The number of bid responses that were filtered due to a policy violation - /// or other errors. - core.double? filteredBidRate; - - /// Average QPS for hosted match operations. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? hostedMatchStatusRate; - - /// The number of potential queries based on your pretargeting settings. - core.double? inventoryMatchRate; - - /// Resource type. - core.String? kind; - - /// The 50th percentile round trip latency(ms) as perceived from Google - /// servers for the duration period covered by the report. - core.double? latency50thPercentile; - - /// The 85th percentile round trip latency(ms) as perceived from Google - /// servers for the duration period covered by the report. - core.double? latency85thPercentile; - - /// The 95th percentile round trip latency(ms) as perceived from Google - /// servers for the duration period covered by the report. - core.double? latency95thPercentile; - - /// Rate of various quota account statuses per quota check. - core.double? noQuotaInRegion; - - /// Rate of various quota account statuses per quota check. - core.double? outOfQuota; - - /// Average QPS for pixel match requests from clients. - core.double? pixelMatchRequests; - - /// Average QPS for pixel match responses from clients. - core.double? pixelMatchResponses; - - /// The configured quota limits for this account. - core.double? quotaConfiguredLimit; - - /// The throttled quota limits for this account. - core.double? quotaThrottledLimit; - - /// The trading location of this data. - core.String? region; - - /// The number of properly formed bid responses received by our servers within - /// the deadline. - core.double? successfulRequestRate; - - /// The unix timestamp of the starting time of this performance data. - core.String? timestamp; - - /// The number of bid responses that were unsuccessful due to timeouts, - /// incorrect formatting, etc. - core.double? unsuccessfulRequestRate; - - PerformanceReport({ - this.bidRate, - this.bidRequestRate, - this.calloutStatusRate, - this.cookieMatcherStatusRate, - this.creativeStatusRate, - this.filteredBidRate, - this.hostedMatchStatusRate, - this.inventoryMatchRate, - this.kind, - this.latency50thPercentile, - this.latency85thPercentile, - this.latency95thPercentile, - this.noQuotaInRegion, - this.outOfQuota, - this.pixelMatchRequests, - this.pixelMatchResponses, - this.quotaConfiguredLimit, - this.quotaThrottledLimit, - this.region, - this.successfulRequestRate, - this.timestamp, - this.unsuccessfulRequestRate, - }); - - PerformanceReport.fromJson(core.Map _json) - : this( - bidRate: _json.containsKey('bidRate') - ? (_json['bidRate'] as core.num).toDouble() - : null, - bidRequestRate: _json.containsKey('bidRequestRate') - ? (_json['bidRequestRate'] as core.num).toDouble() - : null, - calloutStatusRate: _json.containsKey('calloutStatusRate') - ? (_json['calloutStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - cookieMatcherStatusRate: _json.containsKey('cookieMatcherStatusRate') - ? (_json['cookieMatcherStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - creativeStatusRate: _json.containsKey('creativeStatusRate') - ? (_json['creativeStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - filteredBidRate: _json.containsKey('filteredBidRate') - ? (_json['filteredBidRate'] as core.num).toDouble() - : null, - hostedMatchStatusRate: _json.containsKey('hostedMatchStatusRate') - ? (_json['hostedMatchStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - inventoryMatchRate: _json.containsKey('inventoryMatchRate') - ? (_json['inventoryMatchRate'] as core.num).toDouble() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - latency50thPercentile: _json.containsKey('latency50thPercentile') - ? (_json['latency50thPercentile'] as core.num).toDouble() - : null, - latency85thPercentile: _json.containsKey('latency85thPercentile') - ? (_json['latency85thPercentile'] as core.num).toDouble() - : null, - latency95thPercentile: _json.containsKey('latency95thPercentile') - ? (_json['latency95thPercentile'] as core.num).toDouble() - : null, - noQuotaInRegion: _json.containsKey('noQuotaInRegion') - ? (_json['noQuotaInRegion'] as core.num).toDouble() - : null, - outOfQuota: _json.containsKey('outOfQuota') - ? (_json['outOfQuota'] as core.num).toDouble() - : null, - pixelMatchRequests: _json.containsKey('pixelMatchRequests') - ? (_json['pixelMatchRequests'] as core.num).toDouble() - : null, - pixelMatchResponses: _json.containsKey('pixelMatchResponses') - ? (_json['pixelMatchResponses'] as core.num).toDouble() - : null, - quotaConfiguredLimit: _json.containsKey('quotaConfiguredLimit') - ? (_json['quotaConfiguredLimit'] as core.num).toDouble() - : null, - quotaThrottledLimit: _json.containsKey('quotaThrottledLimit') - ? (_json['quotaThrottledLimit'] as core.num).toDouble() - : null, - region: _json.containsKey('region') - ? _json['region'] as core.String - : null, - successfulRequestRate: _json.containsKey('successfulRequestRate') - ? (_json['successfulRequestRate'] as core.num).toDouble() - : null, - timestamp: _json.containsKey('timestamp') - ? _json['timestamp'] as core.String - : null, - unsuccessfulRequestRate: _json.containsKey('unsuccessfulRequestRate') - ? (_json['unsuccessfulRequestRate'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (bidRate != null) 'bidRate': bidRate!, - if (bidRequestRate != null) 'bidRequestRate': bidRequestRate!, - if (calloutStatusRate != null) 'calloutStatusRate': calloutStatusRate!, - if (cookieMatcherStatusRate != null) - 'cookieMatcherStatusRate': cookieMatcherStatusRate!, - if (creativeStatusRate != null) - 'creativeStatusRate': creativeStatusRate!, - if (filteredBidRate != null) 'filteredBidRate': filteredBidRate!, - if (hostedMatchStatusRate != null) - 'hostedMatchStatusRate': hostedMatchStatusRate!, - if (inventoryMatchRate != null) - 'inventoryMatchRate': inventoryMatchRate!, - if (kind != null) 'kind': kind!, - if (latency50thPercentile != null) - 'latency50thPercentile': latency50thPercentile!, - if (latency85thPercentile != null) - 'latency85thPercentile': latency85thPercentile!, - if (latency95thPercentile != null) - 'latency95thPercentile': latency95thPercentile!, - if (noQuotaInRegion != null) 'noQuotaInRegion': noQuotaInRegion!, - if (outOfQuota != null) 'outOfQuota': outOfQuota!, - if (pixelMatchRequests != null) - 'pixelMatchRequests': pixelMatchRequests!, - if (pixelMatchResponses != null) - 'pixelMatchResponses': pixelMatchResponses!, - if (quotaConfiguredLimit != null) - 'quotaConfiguredLimit': quotaConfiguredLimit!, - if (quotaThrottledLimit != null) - 'quotaThrottledLimit': quotaThrottledLimit!, - if (region != null) 'region': region!, - if (successfulRequestRate != null) - 'successfulRequestRate': successfulRequestRate!, - if (timestamp != null) 'timestamp': timestamp!, - if (unsuccessfulRequestRate != null) - 'unsuccessfulRequestRate': unsuccessfulRequestRate!, - }; -} - -/// The configuration data for an Ad Exchange performance report list. -class PerformanceReportList { - /// Resource type. - core.String? kind; - - /// A list of performance reports relevant for the account. - core.List? performanceReport; - - PerformanceReportList({ - this.kind, - this.performanceReport, - }); - - PerformanceReportList.fromJson(core.Map _json) - : this( - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - performanceReport: _json.containsKey('performanceReport') - ? (_json['performanceReport'] as core.List) - .map((value) => PerformanceReport.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (kind != null) 'kind': kind!, - if (performanceReport != null) - 'performanceReport': - performanceReport!.map((value) => value.toJson()).toList(), - }; -} - -class PretargetingConfigDimensions { - /// Height in pixels. - core.String? height; - - /// Width in pixels. - core.String? width; - - PretargetingConfigDimensions({ - this.height, - this.width, - }); - - PretargetingConfigDimensions.fromJson(core.Map _json) - : this( - height: _json.containsKey('height') - ? _json['height'] as core.String - : null, - width: - _json.containsKey('width') ? _json['width'] as core.String : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (width != null) 'width': width!, - }; -} - -class PretargetingConfigExcludedPlacements { - /// The value of the placement. - /// - /// Interpretation depends on the placement type, e.g. URL for a site - /// placement, channel name for a channel placement, app id for a mobile app - /// placement. - core.String? token; - - /// The type of the placement. - core.String? type; - - PretargetingConfigExcludedPlacements({ - this.token, - this.type, - }); - - PretargetingConfigExcludedPlacements.fromJson(core.Map _json) - : this( - token: - _json.containsKey('token') ? _json['token'] as core.String : null, - type: _json.containsKey('type') ? _json['type'] as core.String : null, - ); - - core.Map toJson() => { - if (token != null) 'token': token!, - if (type != null) 'type': type!, - }; -} - -class PretargetingConfigPlacements { - /// The value of the placement. - /// - /// Interpretation depends on the placement type, e.g. URL for a site - /// placement, channel name for a channel placement, app id for a mobile app - /// placement. - core.String? token; - - /// The type of the placement. - core.String? type; - - PretargetingConfigPlacements({ - this.token, - this.type, - }); - - PretargetingConfigPlacements.fromJson(core.Map _json) - : this( - token: - _json.containsKey('token') ? _json['token'] as core.String : null, - type: _json.containsKey('type') ? _json['type'] as core.String : null, - ); - - core.Map toJson() => { - if (token != null) 'token': token!, - if (type != null) 'type': type!, - }; -} - -class PretargetingConfig { - /// The id for billing purposes, provided for reference. - /// - /// Leave this field blank for insert requests; the id will be generated - /// automatically. - core.String? billingId; - - /// The config id; generated automatically. - /// - /// Leave this field blank for insert requests. - core.String? configId; - - /// The name of the config. - /// - /// Must be unique. Required for all requests. - core.String? configName; - - /// List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or - /// PRETARGETING_CREATIVE_TYPE_VIDEO. - core.List? creativeType; - - /// Requests which allow one of these (width, height) pairs will match. - /// - /// All pairs must be supported ad dimensions. - core.List? dimensions; - - /// Requests with any of these content labels will not match. - /// - /// Values are from content-labels.txt in the downloadable files section. - core.List? excludedContentLabels; - - /// Requests containing any of these geo criteria ids will not match. - core.List? excludedGeoCriteriaIds; - - /// Requests containing any of these placements will not match. - core.List? excludedPlacements; - - /// Requests containing any of these users list ids will not match. - core.List? excludedUserLists; - - /// Requests containing any of these vertical ids will not match. - /// - /// Values are from the publisher-verticals.txt file in the downloadable files - /// section. - core.List? excludedVerticals; - - /// Requests containing any of these geo criteria ids will match. - core.List? geoCriteriaIds; - - /// Whether this config is active. - /// - /// Required for all requests. - core.bool? isActive; - - /// The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". - core.String? kind; - - /// Request containing any of these language codes will match. - core.List? languages; - - /// The maximum QPS allocated to this pretargeting configuration, used for - /// pretargeting-level QPS limits. - /// - /// By default, this is not set, which indicates that there is no QPS limit at - /// the configuration level (a global or account-level limit may still be - /// imposed). - core.String? maximumQps; - - /// Requests containing any of these mobile carrier ids will match. - /// - /// Values are from mobile-carriers.csv in the downloadable files section. - core.List? mobileCarriers; - - /// Requests containing any of these mobile device ids will match. - /// - /// Values are from mobile-devices.csv in the downloadable files section. - core.List? mobileDevices; - - /// Requests containing any of these mobile operating system version ids will - /// match. - /// - /// Values are from mobile-os.csv in the downloadable files section. - core.List? mobileOperatingSystemVersions; - - /// Requests containing any of these placements will match. - core.List? placements; - - /// Requests matching any of these platforms will match. - /// - /// Possible values are PRETARGETING_PLATFORM_MOBILE, - /// PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET. - core.List? platforms; - - /// Creative attributes should be declared here if all creatives corresponding - /// to this pretargeting configuration have that creative attribute. - /// - /// Values are from pretargetable-creative-attributes.txt in the downloadable - /// files section. - core.List? supportedCreativeAttributes; - - /// Requests containing any of these user list ids will match. - core.List? userLists; - - /// Requests that allow any of these vendor ids will match. - /// - /// Values are from vendors.txt in the downloadable files section. - core.List? vendorTypes; - - /// Requests containing any of these vertical ids will match. - core.List? verticals; - - PretargetingConfig({ - this.billingId, - this.configId, - this.configName, - this.creativeType, - this.dimensions, - this.excludedContentLabels, - this.excludedGeoCriteriaIds, - this.excludedPlacements, - this.excludedUserLists, - this.excludedVerticals, - this.geoCriteriaIds, - this.isActive, - this.kind, - this.languages, - this.maximumQps, - this.mobileCarriers, - this.mobileDevices, - this.mobileOperatingSystemVersions, - this.placements, - this.platforms, - this.supportedCreativeAttributes, - this.userLists, - this.vendorTypes, - this.verticals, - }); - - PretargetingConfig.fromJson(core.Map _json) - : this( - billingId: _json.containsKey('billingId') - ? _json['billingId'] as core.String - : null, - configId: _json.containsKey('configId') - ? _json['configId'] as core.String - : null, - configName: _json.containsKey('configName') - ? _json['configName'] as core.String - : null, - creativeType: _json.containsKey('creativeType') - ? (_json['creativeType'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - dimensions: _json.containsKey('dimensions') - ? (_json['dimensions'] as core.List) - .map((value) => - PretargetingConfigDimensions.fromJson( - value as core.Map)) - .toList() - : null, - excludedContentLabels: _json.containsKey('excludedContentLabels') - ? (_json['excludedContentLabels'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - excludedGeoCriteriaIds: _json.containsKey('excludedGeoCriteriaIds') - ? (_json['excludedGeoCriteriaIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - excludedPlacements: _json.containsKey('excludedPlacements') - ? (_json['excludedPlacements'] as core.List) - .map((value) => - PretargetingConfigExcludedPlacements.fromJson( - value as core.Map)) - .toList() - : null, - excludedUserLists: _json.containsKey('excludedUserLists') - ? (_json['excludedUserLists'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - excludedVerticals: _json.containsKey('excludedVerticals') - ? (_json['excludedVerticals'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - geoCriteriaIds: _json.containsKey('geoCriteriaIds') - ? (_json['geoCriteriaIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - isActive: _json.containsKey('isActive') - ? _json['isActive'] as core.bool - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - languages: _json.containsKey('languages') - ? (_json['languages'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - maximumQps: _json.containsKey('maximumQps') - ? _json['maximumQps'] as core.String - : null, - mobileCarriers: _json.containsKey('mobileCarriers') - ? (_json['mobileCarriers'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - mobileDevices: _json.containsKey('mobileDevices') - ? (_json['mobileDevices'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - mobileOperatingSystemVersions: - _json.containsKey('mobileOperatingSystemVersions') - ? (_json['mobileOperatingSystemVersions'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - placements: _json.containsKey('placements') - ? (_json['placements'] as core.List) - .map((value) => - PretargetingConfigPlacements.fromJson( - value as core.Map)) - .toList() - : null, - platforms: _json.containsKey('platforms') - ? (_json['platforms'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - supportedCreativeAttributes: - _json.containsKey('supportedCreativeAttributes') - ? (_json['supportedCreativeAttributes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - userLists: _json.containsKey('userLists') - ? (_json['userLists'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - vendorTypes: _json.containsKey('vendorTypes') - ? (_json['vendorTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - verticals: _json.containsKey('verticals') - ? (_json['verticals'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (billingId != null) 'billingId': billingId!, - if (configId != null) 'configId': configId!, - if (configName != null) 'configName': configName!, - if (creativeType != null) 'creativeType': creativeType!, - if (dimensions != null) - 'dimensions': dimensions!.map((value) => value.toJson()).toList(), - if (excludedContentLabels != null) - 'excludedContentLabels': excludedContentLabels!, - if (excludedGeoCriteriaIds != null) - 'excludedGeoCriteriaIds': excludedGeoCriteriaIds!, - if (excludedPlacements != null) - 'excludedPlacements': - excludedPlacements!.map((value) => value.toJson()).toList(), - if (excludedUserLists != null) 'excludedUserLists': excludedUserLists!, - if (excludedVerticals != null) 'excludedVerticals': excludedVerticals!, - if (geoCriteriaIds != null) 'geoCriteriaIds': geoCriteriaIds!, - if (isActive != null) 'isActive': isActive!, - if (kind != null) 'kind': kind!, - if (languages != null) 'languages': languages!, - if (maximumQps != null) 'maximumQps': maximumQps!, - if (mobileCarriers != null) 'mobileCarriers': mobileCarriers!, - if (mobileDevices != null) 'mobileDevices': mobileDevices!, - if (mobileOperatingSystemVersions != null) - 'mobileOperatingSystemVersions': mobileOperatingSystemVersions!, - if (placements != null) - 'placements': placements!.map((value) => value.toJson()).toList(), - if (platforms != null) 'platforms': platforms!, - if (supportedCreativeAttributes != null) - 'supportedCreativeAttributes': supportedCreativeAttributes!, - if (userLists != null) 'userLists': userLists!, - if (vendorTypes != null) 'vendorTypes': vendorTypes!, - if (verticals != null) 'verticals': verticals!, - }; -} - -class PretargetingConfigList { - /// A list of pretargeting configs - core.List? items; - - /// Resource type. - core.String? kind; - - PretargetingConfigList({ - this.items, - this.kind, - }); - - PretargetingConfigList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => - PretargetingConfig.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} diff --git a/generated/googleapis/lib/adexchangebuyer/v1_4.dart b/generated/googleapis/lib/adexchangebuyer/v1_4.dart deleted file mode 100644 index a998c93f9..000000000 --- a/generated/googleapis/lib/adexchangebuyer/v1_4.dart +++ /dev/null @@ -1,6911 +0,0 @@ -// This is a generated file (see the discoveryapis_generator project). - -// ignore_for_file: camel_case_types -// ignore_for_file: comment_references -// ignore_for_file: file_names -// ignore_for_file: library_names -// ignore_for_file: lines_longer_than_80_chars -// ignore_for_file: non_constant_identifier_names -// ignore_for_file: prefer_expression_function_bodies -// ignore_for_file: prefer_interpolation_to_compose_strings -// ignore_for_file: unnecessary_brace_in_string_interps -// ignore_for_file: unnecessary_lambdas -// ignore_for_file: unnecessary_string_interpolations - -/// Ad Exchange Buyer API - v1.4 -/// -/// Accesses your bidding-account information, submits creatives for validation, -/// finds available direct deals, and retrieves performance reports. -/// -/// For more information, see -/// -/// -/// Create an instance of [AdExchangeBuyerApi] to access these resources: -/// -/// - [AccountsResource] -/// - [BillingInfoResource] -/// - [BudgetResource] -/// - [CreativesResource] -/// - [MarketplacedealsResource] -/// - [MarketplacenotesResource] -/// - [MarketplaceprivateauctionResource] -/// - [PerformanceReportResource] -/// - [PretargetingConfigResource] -/// - [ProductsResource] -/// - [ProposalsResource] -/// - [PubprofilesResource] -library adexchangebuyer.v1_4; - -import 'dart:async' as async; -import 'dart:convert' as convert; -import 'dart:core' as core; - -import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; -import 'package:http/http.dart' as http; - -import '../src/user_agent.dart'; - -export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' - show ApiRequestError, DetailedApiRequestError; - -/// Accesses your bidding-account information, submits creatives for validation, -/// finds available direct deals, and retrieves performance reports. -class AdExchangeBuyerApi { - /// Manage your Ad Exchange buyer account configuration - static const adexchangeBuyerScope = - 'https://www.googleapis.com/auth/adexchange.buyer'; - - final commons.ApiRequester _requester; - - AccountsResource get accounts => AccountsResource(_requester); - BillingInfoResource get billingInfo => BillingInfoResource(_requester); - BudgetResource get budget => BudgetResource(_requester); - CreativesResource get creatives => CreativesResource(_requester); - MarketplacedealsResource get marketplacedeals => - MarketplacedealsResource(_requester); - MarketplacenotesResource get marketplacenotes => - MarketplacenotesResource(_requester); - MarketplaceprivateauctionResource get marketplaceprivateauction => - MarketplaceprivateauctionResource(_requester); - PerformanceReportResource get performanceReport => - PerformanceReportResource(_requester); - PretargetingConfigResource get pretargetingConfig => - PretargetingConfigResource(_requester); - ProductsResource get products => ProductsResource(_requester); - ProposalsResource get proposals => ProposalsResource(_requester); - PubprofilesResource get pubprofiles => PubprofilesResource(_requester); - - AdExchangeBuyerApi(http.Client client, - {core.String rootUrl = 'https://www.googleapis.com/', - core.String servicePath = 'adexchangebuyer/v1.4/'}) - : _requester = - commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); -} - -class AccountsResource { - final commons.ApiRequester _requester; - - AccountsResource(commons.ApiRequester client) : _requester = client; - - /// Gets one account by ID. - /// - /// Request parameters: - /// - /// [id] - The account id - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Account]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.int id, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'accounts/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Account.fromJson(_response as core.Map); - } - - /// Retrieves the authenticated user's list of accounts. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [AccountsList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'accounts'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return AccountsList.fromJson( - _response as core.Map); - } - - /// Updates an existing account. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [id] - The account id - /// - /// [confirmUnsafeAccountChange] - Confirmation for erasing bidder and cookie - /// matching urls. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Account]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - Account request, - core.int id, { - core.bool? confirmUnsafeAccountChange, - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if (confirmUnsafeAccountChange != null) - 'confirmUnsafeAccountChange': ['${confirmUnsafeAccountChange}'], - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'accounts/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return Account.fromJson(_response as core.Map); - } - - /// Updates an existing account. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [id] - The account id - /// - /// [confirmUnsafeAccountChange] - Confirmation for erasing bidder and cookie - /// matching urls. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Account]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - Account request, - core.int id, { - core.bool? confirmUnsafeAccountChange, - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if (confirmUnsafeAccountChange != null) - 'confirmUnsafeAccountChange': ['${confirmUnsafeAccountChange}'], - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'accounts/' + commons.escapeVariable('$id'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return Account.fromJson(_response as core.Map); - } -} - -class BillingInfoResource { - final commons.ApiRequester _requester; - - BillingInfoResource(commons.ApiRequester client) : _requester = client; - - /// Returns the billing information for one account specified by account ID. - /// - /// Request parameters: - /// - /// [accountId] - The account id. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [BillingInfo]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.int accountId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + commons.escapeVariable('$accountId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return BillingInfo.fromJson( - _response as core.Map); - } - - /// Retrieves a list of billing information for all accounts of the - /// authenticated user. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [BillingInfoList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'billinginfo'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return BillingInfoList.fromJson( - _response as core.Map); - } -} - -class BudgetResource { - final commons.ApiRequester _requester; - - BudgetResource(commons.ApiRequester client) : _requester = client; - - /// Returns the budget information for the adgroup specified by the accountId - /// and billingId. - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the budget information for. - /// - /// [billingId] - The billing id to get the budget information for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Budget]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String accountId, - core.String billingId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$billingId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Budget.fromJson(_response as core.Map); - } - - /// Updates the budget amount for the budget of the adgroup specified by the - /// accountId and billingId, with the budget amount in the request. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id associated with the budget being updated. - /// - /// [billingId] - The billing id associated with the budget being updated. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Budget]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - Budget request, - core.String accountId, - core.String billingId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$billingId'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return Budget.fromJson(_response as core.Map); - } - - /// Updates the budget amount for the budget of the adgroup specified by the - /// accountId and billingId, with the budget amount in the request. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id associated with the budget being updated. - /// - /// [billingId] - The billing id associated with the budget being updated. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Budget]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - Budget request, - core.String accountId, - core.String billingId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'billinginfo/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$billingId'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return Budget.fromJson(_response as core.Map); - } -} - -class CreativesResource { - final commons.ApiRequester _requester; - - CreativesResource(commons.ApiRequester client) : _requester = client; - - /// Add a deal id association for the creative. - /// - /// Request parameters: - /// - /// [accountId] - The id for the account that will serve this creative. - /// - /// [buyerCreativeId] - The buyer-specific id for this creative. - /// - /// [dealId] - The id of the deal id to associate with this creative. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future addDeal( - core.int accountId, - core.String buyerCreativeId, - core.String dealId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'creatives/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$buyerCreativeId') + - '/addDeal/' + - commons.escapeVariable('$dealId'); - - await _requester.request( - _url, - 'POST', - queryParams: _queryParams, - downloadOptions: null, - ); - } - - /// Gets the status for a single creative. - /// - /// A creative will be available 30-40 minutes after submission. - /// - /// Request parameters: - /// - /// [accountId] - The id for the account that will serve this creative. - /// - /// [buyerCreativeId] - The buyer-specific id for this creative. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Creative]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.int accountId, - core.String buyerCreativeId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'creatives/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$buyerCreativeId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Creative.fromJson(_response as core.Map); - } - - /// Submit a new creative. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Creative]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - Creative request, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'creatives'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return Creative.fromJson(_response as core.Map); - } - - /// Retrieves a list of the authenticated user's active creatives. - /// - /// A creative will be available 30-40 minutes after submission. - /// - /// Request parameters: - /// - /// [accountId] - When specified, only creatives for the given account ids are - /// returned. - /// - /// [buyerCreativeId] - When specified, only creatives for the given buyer - /// creative ids are returned. - /// - /// [dealsStatusFilter] - When specified, only creatives having the given - /// deals status are returned. - /// Possible string values are: - /// - "approved" : Creatives which have been approved for serving on deals. - /// - "conditionally_approved" : Creatives which have been conditionally - /// approved for serving on deals. - /// - "disapproved" : Creatives which have been disapproved for serving on - /// deals. - /// - "not_checked" : Creatives whose deals status is not yet checked. - /// - /// [maxResults] - Maximum number of entries returned on one result page. If - /// not set, the default is 100. Optional. - /// Value must be between "1" and "1000". - /// - /// [openAuctionStatusFilter] - When specified, only creatives having the - /// given open auction status are returned. - /// Possible string values are: - /// - "approved" : Creatives which have been approved for serving on the open - /// auction. - /// - "conditionally_approved" : Creatives which have been conditionally - /// approved for serving on the open auction. - /// - "disapproved" : Creatives which have been disapproved for serving on the - /// open auction. - /// - "not_checked" : Creatives whose open auction status is not yet checked. - /// - /// [pageToken] - A continuation token, used to page through ad clients. To - /// retrieve the next page, set this parameter to the value of "nextPageToken" - /// from the previous response. Optional. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [CreativesList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list({ - core.List? accountId, - core.List? buyerCreativeId, - core.String? dealsStatusFilter, - core.int? maxResults, - core.String? openAuctionStatusFilter, - core.String? pageToken, - core.String? $fields, - }) async { - final _queryParams = >{ - if (accountId != null) - 'accountId': accountId.map((item) => '${item}').toList(), - if (buyerCreativeId != null) 'buyerCreativeId': buyerCreativeId, - if (dealsStatusFilter != null) 'dealsStatusFilter': [dealsStatusFilter], - if (maxResults != null) 'maxResults': ['${maxResults}'], - if (openAuctionStatusFilter != null) - 'openAuctionStatusFilter': [openAuctionStatusFilter], - if (pageToken != null) 'pageToken': [pageToken], - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'creatives'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return CreativesList.fromJson( - _response as core.Map); - } - - /// Lists the external deal ids associated with the creative. - /// - /// Request parameters: - /// - /// [accountId] - The id for the account that will serve this creative. - /// - /// [buyerCreativeId] - The buyer-specific id for this creative. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [CreativeDealIds]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future listDeals( - core.int accountId, - core.String buyerCreativeId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'creatives/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$buyerCreativeId') + - '/listDeals'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return CreativeDealIds.fromJson( - _response as core.Map); - } - - /// Remove a deal id associated with the creative. - /// - /// Request parameters: - /// - /// [accountId] - The id for the account that will serve this creative. - /// - /// [buyerCreativeId] - The buyer-specific id for this creative. - /// - /// [dealId] - The id of the deal id to disassociate with this creative. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future removeDeal( - core.int accountId, - core.String buyerCreativeId, - core.String dealId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'creatives/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$buyerCreativeId') + - '/removeDeal/' + - commons.escapeVariable('$dealId'); - - await _requester.request( - _url, - 'POST', - queryParams: _queryParams, - downloadOptions: null, - ); - } -} - -class MarketplacedealsResource { - final commons.ApiRequester _requester; - - MarketplacedealsResource(commons.ApiRequester client) : _requester = client; - - /// Delete the specified deals from the proposal - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [proposalId] - The proposalId to delete deals from. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [DeleteOrderDealsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future delete( - DeleteOrderDealsRequest request, - core.String proposalId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/deals/delete'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return DeleteOrderDealsResponse.fromJson( - _response as core.Map); - } - - /// Add new deals for the specified proposal - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [proposalId] - proposalId for which deals need to be added. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [AddOrderDealsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - AddOrderDealsRequest request, - core.String proposalId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/deals/insert'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return AddOrderDealsResponse.fromJson( - _response as core.Map); - } - - /// List all the deals for a given proposal - /// - /// Request parameters: - /// - /// [proposalId] - The proposalId to get deals for. To search across all - /// proposals specify order_id = '-' as part of the URL. - /// - /// [pqlQuery] - Query string to retrieve specific deals. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GetOrderDealsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.String proposalId, { - core.String? pqlQuery, - core.String? $fields, - }) async { - final _queryParams = >{ - if (pqlQuery != null) 'pqlQuery': [pqlQuery], - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/deals'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return GetOrderDealsResponse.fromJson( - _response as core.Map); - } - - /// Replaces all the deals in the proposal with the passed in deals - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [proposalId] - The proposalId to edit deals on. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [EditAllOrderDealsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - EditAllOrderDealsRequest request, - core.String proposalId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/deals/update'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return EditAllOrderDealsResponse.fromJson( - _response as core.Map); - } -} - -class MarketplacenotesResource { - final commons.ApiRequester _requester; - - MarketplacenotesResource(commons.ApiRequester client) : _requester = client; - - /// Add notes to the proposal - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [proposalId] - The proposalId to add notes for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [AddOrderNotesResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - AddOrderNotesRequest request, - core.String proposalId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/notes/insert'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return AddOrderNotesResponse.fromJson( - _response as core.Map); - } - - /// Get all the notes associated with a proposal - /// - /// Request parameters: - /// - /// [proposalId] - The proposalId to get notes for. To search across all - /// proposals specify order_id = '-' as part of the URL. - /// - /// [pqlQuery] - Query string to retrieve specific notes. To search the text - /// contents of notes, please use syntax like "WHERE note.note = "foo" or - /// "WHERE note.note LIKE "%bar%" - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GetOrderNotesResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.String proposalId, { - core.String? pqlQuery, - core.String? $fields, - }) async { - final _queryParams = >{ - if (pqlQuery != null) 'pqlQuery': [pqlQuery], - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/notes'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return GetOrderNotesResponse.fromJson( - _response as core.Map); - } -} - -class MarketplaceprivateauctionResource { - final commons.ApiRequester _requester; - - MarketplaceprivateauctionResource(commons.ApiRequester client) - : _requester = client; - - /// Update a given private auction proposal - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [privateAuctionId] - The private auction id to be updated. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future updateproposal( - UpdatePrivateAuctionProposalRequest request, - core.String privateAuctionId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'privateauction/' + - commons.escapeVariable('$privateAuctionId') + - '/updateproposal'; - - await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - downloadOptions: null, - ); - } -} - -class PerformanceReportResource { - final commons.ApiRequester _requester; - - PerformanceReportResource(commons.ApiRequester client) : _requester = client; - - /// Retrieves the authenticated user's list of performance metrics. - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the reports. - /// - /// [endDateTime] - The end time of the report in ISO 8601 timestamp format - /// using UTC. - /// - /// [startDateTime] - The start time of the report in ISO 8601 timestamp - /// format using UTC. - /// - /// [maxResults] - Maximum number of entries returned on one result page. If - /// not set, the default is 100. Optional. - /// Value must be between "1" and "1000". - /// - /// [pageToken] - A continuation token, used to page through performance - /// reports. To retrieve the next page, set this parameter to the value of - /// "nextPageToken" from the previous response. Optional. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PerformanceReportList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.String accountId, - core.String endDateTime, - core.String startDateTime, { - core.int? maxResults, - core.String? pageToken, - core.String? $fields, - }) async { - final _queryParams = >{ - 'accountId': [accountId], - 'endDateTime': [endDateTime], - 'startDateTime': [startDateTime], - if (maxResults != null) 'maxResults': ['${maxResults}'], - if (pageToken != null) 'pageToken': [pageToken], - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'performancereport'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return PerformanceReportList.fromJson( - _response as core.Map); - } -} - -class PretargetingConfigResource { - final commons.ApiRequester _requester; - - PretargetingConfigResource(commons.ApiRequester client) : _requester = client; - - /// Deletes an existing pretargeting config. - /// - /// Request parameters: - /// - /// [accountId] - The account id to delete the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to delete. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future delete( - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - await _requester.request( - _url, - 'DELETE', - queryParams: _queryParams, - downloadOptions: null, - ); - } - - /// Gets a specific pretargeting configuration - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to retrieve. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } - - /// Inserts a new pretargeting configuration. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id to insert the pretargeting config for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - PretargetingConfig request, - core.String accountId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + commons.escapeVariable('$accountId'); - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } - - /// Retrieves a list of the authenticated user's pretargeting configurations. - /// - /// Request parameters: - /// - /// [accountId] - The account id to get the pretargeting configs for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfigList]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.String accountId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + commons.escapeVariable('$accountId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return PretargetingConfigList.fromJson( - _response as core.Map); - } - - /// Updates an existing pretargeting config. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id to update the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to update. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - PretargetingConfig request, - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } - - /// Updates an existing pretargeting config. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [accountId] - The account id to update the pretargeting config for. - /// - /// [configId] - The specific id of the configuration to update. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [PretargetingConfig]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - PretargetingConfig request, - core.String accountId, - core.String configId, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'pretargetingconfigs/' + - commons.escapeVariable('$accountId') + - '/' + - commons.escapeVariable('$configId'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return PretargetingConfig.fromJson( - _response as core.Map); - } -} - -class ProductsResource { - final commons.ApiRequester _requester; - - ProductsResource(commons.ApiRequester client) : _requester = client; - - /// Gets the requested product by id. - /// - /// Request parameters: - /// - /// [productId] - The id for the product to get the head revision for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Product]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String productId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'products/' + commons.escapeVariable('$productId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Product.fromJson(_response as core.Map); - } - - /// Gets the requested product. - /// - /// Request parameters: - /// - /// [pqlQuery] - The pql query used to query for products. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GetOffersResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future search({ - core.String? pqlQuery, - core.String? $fields, - }) async { - final _queryParams = >{ - if (pqlQuery != null) 'pqlQuery': [pqlQuery], - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'products/search'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return GetOffersResponse.fromJson( - _response as core.Map); - } -} - -class ProposalsResource { - final commons.ApiRequester _requester; - - ProposalsResource(commons.ApiRequester client) : _requester = client; - - /// Get a proposal given its id - /// - /// Request parameters: - /// - /// [proposalId] - Id of the proposal to retrieve. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Proposal]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future get( - core.String proposalId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'proposals/' + commons.escapeVariable('$proposalId'); - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Proposal.fromJson(_response as core.Map); - } - - /// Create the given list of proposals - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [CreateOrdersResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future insert( - CreateOrdersRequest request, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'proposals/insert'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return CreateOrdersResponse.fromJson( - _response as core.Map); - } - - /// Update the given proposal. - /// - /// This method supports patch semantics. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [proposalId] - The proposal id to update. - /// - /// [revisionNumber] - The last known revision number to update. If the head - /// revision in the marketplace database has since changed, an error will be - /// thrown. The caller should then fetch the latest proposal at head revision - /// and retry the update at that revision. - /// - /// [updateAction] - The proposed action to take on the proposal. This field - /// is required and it must be set when updating a proposal. - /// Possible string values are: - /// - "accept" - /// - "cancel" - /// - "propose" - /// - "proposeAndAccept" - /// - "unknownAction" - /// - "updateNonTerms" - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Proposal]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future patch( - Proposal request, - core.String proposalId, - core.String revisionNumber, - core.String updateAction, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'proposals/' + - commons.escapeVariable('$proposalId') + - '/' + - commons.escapeVariable('$revisionNumber') + - '/' + - commons.escapeVariable('$updateAction'); - - final _response = await _requester.request( - _url, - 'PATCH', - body: _body, - queryParams: _queryParams, - ); - return Proposal.fromJson(_response as core.Map); - } - - /// Search for proposals using pql query - /// - /// Request parameters: - /// - /// [pqlQuery] - Query string to retrieve specific proposals. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GetOrdersResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future search({ - core.String? pqlQuery, - core.String? $fields, - }) async { - final _queryParams = >{ - if (pqlQuery != null) 'pqlQuery': [pqlQuery], - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'proposals/search'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return GetOrdersResponse.fromJson( - _response as core.Map); - } - - /// Update the given proposal to indicate that setup has been completed. - /// - /// Request parameters: - /// - /// [proposalId] - The proposal id for which the setup is complete - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future setupcomplete( - core.String proposalId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'proposals/' + commons.escapeVariable('$proposalId') + '/setupcomplete'; - - await _requester.request( - _url, - 'POST', - queryParams: _queryParams, - downloadOptions: null, - ); - } - - /// Update the given proposal - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [proposalId] - The proposal id to update. - /// - /// [revisionNumber] - The last known revision number to update. If the head - /// revision in the marketplace database has since changed, an error will be - /// thrown. The caller should then fetch the latest proposal at head revision - /// and retry the update at that revision. - /// - /// [updateAction] - The proposed action to take on the proposal. This field - /// is required and it must be set when updating a proposal. - /// Possible string values are: - /// - "accept" - /// - "cancel" - /// - "propose" - /// - "proposeAndAccept" - /// - "unknownAction" - /// - "updateNonTerms" - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Proposal]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future update( - Proposal request, - core.String proposalId, - core.String revisionNumber, - core.String updateAction, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = 'proposals/' + - commons.escapeVariable('$proposalId') + - '/' + - commons.escapeVariable('$revisionNumber') + - '/' + - commons.escapeVariable('$updateAction'); - - final _response = await _requester.request( - _url, - 'PUT', - body: _body, - queryParams: _queryParams, - ); - return Proposal.fromJson(_response as core.Map); - } -} - -class PubprofilesResource { - final commons.ApiRequester _requester; - - PubprofilesResource(commons.ApiRequester client) : _requester = client; - - /// Gets the requested publisher profile(s) by publisher accountId. - /// - /// Request parameters: - /// - /// [accountId] - The accountId of the publisher to get profiles for. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GetPublisherProfilesByAccountIdResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future list( - core.int accountId, { - core.String? $fields, - }) async { - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'publisher/' + commons.escapeVariable('$accountId') + '/profiles'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return GetPublisherProfilesByAccountIdResponse.fromJson( - _response as core.Map); - } -} - -class AccountBidderLocation { - /// The protocol that the bidder endpoint is using. - /// - /// OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, - /// otherwise use JSON. Allowed values: - /// - PROTOCOL_ADX - /// - PROTOCOL_OPENRTB_2_2 - /// - PROTOCOL_OPENRTB_2_3 - /// - PROTOCOL_OPENRTB_2_4 - /// - PROTOCOL_OPENRTB_2_5 - /// - PROTOCOL_OPENRTB_PROTOBUF_2_3 - /// - PROTOCOL_OPENRTB_PROTOBUF_2_4 - /// - PROTOCOL_OPENRTB_PROTOBUF_2_5 - core.String? bidProtocol; - - /// The maximum queries per second the Ad Exchange will send. - core.int? maximumQps; - - /// The geographical region the Ad Exchange should send requests from. - /// - /// Only used by some quota systems, but always setting the value is - /// recommended. Allowed values: - /// - ASIA - /// - EUROPE - /// - US_EAST - /// - US_WEST - core.String? region; - - /// The URL to which the Ad Exchange will send bid requests. - core.String? url; - - AccountBidderLocation({ - this.bidProtocol, - this.maximumQps, - this.region, - this.url, - }); - - AccountBidderLocation.fromJson(core.Map _json) - : this( - bidProtocol: _json.containsKey('bidProtocol') - ? _json['bidProtocol'] as core.String - : null, - maximumQps: _json.containsKey('maximumQps') - ? _json['maximumQps'] as core.int - : null, - region: _json.containsKey('region') - ? _json['region'] as core.String - : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - ); - - core.Map toJson() => { - if (bidProtocol != null) 'bidProtocol': bidProtocol!, - if (maximumQps != null) 'maximumQps': maximumQps!, - if (region != null) 'region': region!, - if (url != null) 'url': url!, - }; -} - -/// Configuration data for an Ad Exchange buyer account. -class Account { - /// When this is false, bid requests that include a deal ID for a private - /// auction or preferred deal are always sent to your bidder. - /// - /// When true, all active pretargeting configs will be applied to private - /// auctions and preferred deals. Programmatic Guaranteed deals (when enabled) - /// are always sent to your bidder. - core.bool? applyPretargetingToNonGuaranteedDeals; - - /// Your bidder locations that have distinct URLs. - core.List? bidderLocation; - - /// The nid parameter value used in cookie match requests. - /// - /// Please contact your technical account manager if you need to change this. - core.String? cookieMatchingNid; - - /// The base URL used in cookie match requests. - core.String? cookieMatchingUrl; - - /// Account id. - core.int? id; - - /// Resource type. - core.String? kind; - - /// The maximum number of active creatives that an account can have, where a - /// creative is active if it was inserted or bid with in the last 30 days. - /// - /// Please contact your technical account manager if you need to change this. - core.int? maximumActiveCreatives; - - /// The sum of all bidderLocation.maximumQps values cannot exceed this. - /// - /// Please contact your technical account manager if you need to change this. - core.int? maximumTotalQps; - - /// The number of creatives that this account inserted or bid with in the last - /// 30 days. - core.int? numberActiveCreatives; - - Account({ - this.applyPretargetingToNonGuaranteedDeals, - this.bidderLocation, - this.cookieMatchingNid, - this.cookieMatchingUrl, - this.id, - this.kind, - this.maximumActiveCreatives, - this.maximumTotalQps, - this.numberActiveCreatives, - }); - - Account.fromJson(core.Map _json) - : this( - applyPretargetingToNonGuaranteedDeals: - _json.containsKey('applyPretargetingToNonGuaranteedDeals') - ? _json['applyPretargetingToNonGuaranteedDeals'] as core.bool - : null, - bidderLocation: _json.containsKey('bidderLocation') - ? (_json['bidderLocation'] as core.List) - .map((value) => - AccountBidderLocation.fromJson( - value as core.Map)) - .toList() - : null, - cookieMatchingNid: _json.containsKey('cookieMatchingNid') - ? _json['cookieMatchingNid'] as core.String - : null, - cookieMatchingUrl: _json.containsKey('cookieMatchingUrl') - ? _json['cookieMatchingUrl'] as core.String - : null, - id: _json.containsKey('id') ? _json['id'] as core.int : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - maximumActiveCreatives: _json.containsKey('maximumActiveCreatives') - ? _json['maximumActiveCreatives'] as core.int - : null, - maximumTotalQps: _json.containsKey('maximumTotalQps') - ? _json['maximumTotalQps'] as core.int - : null, - numberActiveCreatives: _json.containsKey('numberActiveCreatives') - ? _json['numberActiveCreatives'] as core.int - : null, - ); - - core.Map toJson() => { - if (applyPretargetingToNonGuaranteedDeals != null) - 'applyPretargetingToNonGuaranteedDeals': - applyPretargetingToNonGuaranteedDeals!, - if (bidderLocation != null) - 'bidderLocation': - bidderLocation!.map((value) => value.toJson()).toList(), - if (cookieMatchingNid != null) 'cookieMatchingNid': cookieMatchingNid!, - if (cookieMatchingUrl != null) 'cookieMatchingUrl': cookieMatchingUrl!, - if (id != null) 'id': id!, - if (kind != null) 'kind': kind!, - if (maximumActiveCreatives != null) - 'maximumActiveCreatives': maximumActiveCreatives!, - if (maximumTotalQps != null) 'maximumTotalQps': maximumTotalQps!, - if (numberActiveCreatives != null) - 'numberActiveCreatives': numberActiveCreatives!, - }; -} - -/// An account feed lists Ad Exchange buyer accounts that the user has access -/// to. -/// -/// Each entry in the feed corresponds to a single buyer account. -class AccountsList { - /// A list of accounts. - core.List? items; - - /// Resource type. - core.String? kind; - - AccountsList({ - this.items, - this.kind, - }); - - AccountsList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => Account.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -class AddOrderDealsRequest { - /// The list of deals to add - core.List? deals; - - /// The last known proposal revision number. - core.String? proposalRevisionNumber; - - /// Indicates an optional action to take on the proposal - core.String? updateAction; - - AddOrderDealsRequest({ - this.deals, - this.proposalRevisionNumber, - this.updateAction, - }); - - AddOrderDealsRequest.fromJson(core.Map _json) - : this( - deals: _json.containsKey('deals') - ? (_json['deals'] as core.List) - .map((value) => MarketplaceDeal.fromJson( - value as core.Map)) - .toList() - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - updateAction: _json.containsKey('updateAction') - ? _json['updateAction'] as core.String - : null, - ); - - core.Map toJson() => { - if (deals != null) - 'deals': deals!.map((value) => value.toJson()).toList(), - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - if (updateAction != null) 'updateAction': updateAction!, - }; -} - -class AddOrderDealsResponse { - /// List of deals added (in the same proposal as passed in the request) - core.List? deals; - - /// The updated revision number for the proposal. - core.String? proposalRevisionNumber; - - AddOrderDealsResponse({ - this.deals, - this.proposalRevisionNumber, - }); - - AddOrderDealsResponse.fromJson(core.Map _json) - : this( - deals: _json.containsKey('deals') - ? (_json['deals'] as core.List) - .map((value) => MarketplaceDeal.fromJson( - value as core.Map)) - .toList() - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - ); - - core.Map toJson() => { - if (deals != null) - 'deals': deals!.map((value) => value.toJson()).toList(), - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - }; -} - -class AddOrderNotesRequest { - /// The list of notes to add. - core.List? notes; - - AddOrderNotesRequest({ - this.notes, - }); - - AddOrderNotesRequest.fromJson(core.Map _json) - : this( - notes: _json.containsKey('notes') - ? (_json['notes'] as core.List) - .map((value) => MarketplaceNote.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (notes != null) - 'notes': notes!.map((value) => value.toJson()).toList(), - }; -} - -class AddOrderNotesResponse { - core.List? notes; - - AddOrderNotesResponse({ - this.notes, - }); - - AddOrderNotesResponse.fromJson(core.Map _json) - : this( - notes: _json.containsKey('notes') - ? (_json['notes'] as core.List) - .map((value) => MarketplaceNote.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (notes != null) - 'notes': notes!.map((value) => value.toJson()).toList(), - }; -} - -/// The configuration data for an Ad Exchange billing info. -class BillingInfo { - /// Account id. - core.int? accountId; - - /// Account name. - core.String? accountName; - - /// A list of adgroup IDs associated with this particular account. - /// - /// These IDs may show up as part of a realtime bidding BidRequest, which - /// indicates a bid request for this account. - core.List? billingId; - - /// Resource type. - core.String? kind; - - BillingInfo({ - this.accountId, - this.accountName, - this.billingId, - this.kind, - }); - - BillingInfo.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.int - : null, - accountName: _json.containsKey('accountName') - ? _json['accountName'] as core.String - : null, - billingId: _json.containsKey('billingId') - ? (_json['billingId'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (accountName != null) 'accountName': accountName!, - if (billingId != null) 'billingId': billingId!, - if (kind != null) 'kind': kind!, - }; -} - -/// A billing info feed lists Billing Info the Ad Exchange buyer account has -/// access to. -/// -/// Each entry in the feed corresponds to a single billing info. -class BillingInfoList { - /// A list of billing info relevant for your account. - core.List? items; - - /// Resource type. - core.String? kind; - - BillingInfoList({ - this.items, - this.kind, - }); - - BillingInfoList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => BillingInfo.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -/// The configuration data for Ad Exchange RTB - Budget API. -class Budget { - /// The id of the account. - /// - /// This is required for get and update requests. - core.String? accountId; - - /// The billing id to determine which adgroup to provide budget information - /// for. - /// - /// This is required for get and update requests. - core.String? billingId; - - /// The daily budget amount in unit amount of the account currency to apply - /// for the billingId provided. - /// - /// This is required for update requests. - core.String? budgetAmount; - - /// The currency code for the buyer. - /// - /// This cannot be altered here. - core.String? currencyCode; - - /// The unique id that describes this item. - core.String? id; - - /// The kind of the resource, i.e. "adexchangebuyer#budget". - core.String? kind; - - Budget({ - this.accountId, - this.billingId, - this.budgetAmount, - this.currencyCode, - this.id, - this.kind, - }); - - Budget.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.String - : null, - billingId: _json.containsKey('billingId') - ? _json['billingId'] as core.String - : null, - budgetAmount: _json.containsKey('budgetAmount') - ? _json['budgetAmount'] as core.String - : null, - currencyCode: _json.containsKey('currencyCode') - ? _json['currencyCode'] as core.String - : null, - id: _json.containsKey('id') ? _json['id'] as core.String : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (billingId != null) 'billingId': billingId!, - if (budgetAmount != null) 'budgetAmount': budgetAmount!, - if (currencyCode != null) 'currencyCode': currencyCode!, - if (id != null) 'id': id!, - if (kind != null) 'kind': kind!, - }; -} - -class Buyer { - /// Adx account id of the buyer. - core.String? accountId; - - Buyer({ - this.accountId, - }); - - Buyer.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.String - : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - }; -} - -class ContactInformation { - /// Email address of the contact. - core.String? email; - - /// The name of the contact. - core.String? name; - - ContactInformation({ - this.email, - this.name, - }); - - ContactInformation.fromJson(core.Map _json) - : this( - email: - _json.containsKey('email') ? _json['email'] as core.String : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - ); - - core.Map toJson() => { - if (email != null) 'email': email!, - if (name != null) 'name': name!, - }; -} - -class CreateOrdersRequest { - /// The list of proposals to create. - core.List? proposals; - - /// Web property id of the seller creating these orders - core.String? webPropertyCode; - - CreateOrdersRequest({ - this.proposals, - this.webPropertyCode, - }); - - CreateOrdersRequest.fromJson(core.Map _json) - : this( - proposals: _json.containsKey('proposals') - ? (_json['proposals'] as core.List) - .map((value) => Proposal.fromJson( - value as core.Map)) - .toList() - : null, - webPropertyCode: _json.containsKey('webPropertyCode') - ? _json['webPropertyCode'] as core.String - : null, - ); - - core.Map toJson() => { - if (proposals != null) - 'proposals': proposals!.map((value) => value.toJson()).toList(), - if (webPropertyCode != null) 'webPropertyCode': webPropertyCode!, - }; -} - -class CreateOrdersResponse { - /// The list of proposals successfully created. - core.List? proposals; - - CreateOrdersResponse({ - this.proposals, - }); - - CreateOrdersResponse.fromJson(core.Map _json) - : this( - proposals: _json.containsKey('proposals') - ? (_json['proposals'] as core.List) - .map((value) => Proposal.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (proposals != null) - 'proposals': proposals!.map((value) => value.toJson()).toList(), - }; -} - -class CreativeAdTechnologyProviders { - /// The detected ad technology provider IDs for this creative. - /// - /// See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for - /// mapping of provider ID to provided name, a privacy policy URL, and a list - /// of domains which can be attributed to the provider. If this creative - /// contains provider IDs that are outside of those listed in the - /// `BidRequest.adslot.consented_providers_settings.consented_providers` field - /// on the Authorized Buyers Real-Time Bidding protocol or the - /// `BidRequest.user.ext.consented_providers_settings.consented_providers` - /// field on the OpenRTB protocol, a bid submitted for a European Economic - /// Area (EEA) user with this creative is not compliant with the GDPR policies - /// as mentioned in the "Third-party Ad Technology Vendors" section of - /// Authorized Buyers Program Guidelines. - core.List? detectedProviderIds; - - /// Whether the creative contains an unidentified ad technology provider. - /// - /// If true, a bid submitted for a European Economic Area (EEA) user with this - /// creative is not compliant with the GDPR policies as mentioned in the - /// "Third-party Ad Technology Vendors" section of Authorized Buyers Program - /// Guidelines. - core.bool? hasUnidentifiedProvider; - - CreativeAdTechnologyProviders({ - this.detectedProviderIds, - this.hasUnidentifiedProvider, - }); - - CreativeAdTechnologyProviders.fromJson(core.Map _json) - : this( - detectedProviderIds: _json.containsKey('detectedProviderIds') - ? (_json['detectedProviderIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - hasUnidentifiedProvider: _json.containsKey('hasUnidentifiedProvider') - ? _json['hasUnidentifiedProvider'] as core.bool - : null, - ); - - core.Map toJson() => { - if (detectedProviderIds != null) - 'detectedProviderIds': detectedProviderIds!, - if (hasUnidentifiedProvider != null) - 'hasUnidentifiedProvider': hasUnidentifiedProvider!, - }; -} - -class CreativeCorrectionsContexts { - /// Only set when contextType=AUCTION_TYPE. - /// - /// Represents the auction types this correction applies to. - core.List? auctionType; - - /// The type of context (e.g., location, platform, auction type, SSL-ness). - core.String? contextType; - - /// Only set when contextType=LOCATION. - /// - /// Represents the geo criterias this correction applies to. - core.List? geoCriteriaId; - - /// Only set when contextType=PLATFORM. - /// - /// Represents the platforms this correction applies to. - core.List? platform; - - CreativeCorrectionsContexts({ - this.auctionType, - this.contextType, - this.geoCriteriaId, - this.platform, - }); - - CreativeCorrectionsContexts.fromJson(core.Map _json) - : this( - auctionType: _json.containsKey('auctionType') - ? (_json['auctionType'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - contextType: _json.containsKey('contextType') - ? _json['contextType'] as core.String - : null, - geoCriteriaId: _json.containsKey('geoCriteriaId') - ? (_json['geoCriteriaId'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - platform: _json.containsKey('platform') - ? (_json['platform'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (auctionType != null) 'auctionType': auctionType!, - if (contextType != null) 'contextType': contextType!, - if (geoCriteriaId != null) 'geoCriteriaId': geoCriteriaId!, - if (platform != null) 'platform': platform!, - }; -} - -class CreativeCorrections { - /// All known serving contexts containing serving status information. - core.List? contexts; - - /// Additional details about the correction. - core.List? details; - - /// The type of correction that was applied to the creative. - core.String? reason; - - CreativeCorrections({ - this.contexts, - this.details, - this.reason, - }); - - CreativeCorrections.fromJson(core.Map _json) - : this( - contexts: _json.containsKey('contexts') - ? (_json['contexts'] as core.List) - .map((value) => - CreativeCorrectionsContexts.fromJson( - value as core.Map)) - .toList() - : null, - details: _json.containsKey('details') - ? (_json['details'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - ); - - core.Map toJson() => { - if (contexts != null) - 'contexts': contexts!.map((value) => value.toJson()).toList(), - if (details != null) 'details': details!, - if (reason != null) 'reason': reason!, - }; -} - -class CreativeFilteringReasonsReasons { - /// The number of times the creative was filtered for the status. - /// - /// The count is aggregated across all publishers on the exchange. - core.String? filteringCount; - - /// The filtering status code as defined in creative-status-codes.txt. - core.int? filteringStatus; - - CreativeFilteringReasonsReasons({ - this.filteringCount, - this.filteringStatus, - }); - - CreativeFilteringReasonsReasons.fromJson(core.Map _json) - : this( - filteringCount: _json.containsKey('filteringCount') - ? _json['filteringCount'] as core.String - : null, - filteringStatus: _json.containsKey('filteringStatus') - ? _json['filteringStatus'] as core.int - : null, - ); - - core.Map toJson() => { - if (filteringCount != null) 'filteringCount': filteringCount!, - if (filteringStatus != null) 'filteringStatus': filteringStatus!, - }; -} - -/// The filtering reasons for the creative. -/// -/// Read-only. This field should not be set in requests. -class CreativeFilteringReasons { - /// The date in ISO 8601 format for the data. - /// - /// The data is collected from 00:00:00 to 23:59:59 in PST. - core.String? date; - - /// The filtering reasons. - core.List? reasons; - - CreativeFilteringReasons({ - this.date, - this.reasons, - }); - - CreativeFilteringReasons.fromJson(core.Map _json) - : this( - date: _json.containsKey('date') ? _json['date'] as core.String : null, - reasons: _json.containsKey('reasons') - ? (_json['reasons'] as core.List) - .map((value) => - CreativeFilteringReasonsReasons.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (date != null) 'date': date!, - if (reasons != null) - 'reasons': reasons!.map((value) => value.toJson()).toList(), - }; -} - -/// The app icon, for app download ads. -class CreativeNativeAdAppIcon { - core.int? height; - core.String? url; - core.int? width; - - CreativeNativeAdAppIcon({ - this.height, - this.url, - this.width, - }); - - CreativeNativeAdAppIcon.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (url != null) 'url': url!, - if (width != null) 'width': width!, - }; -} - -/// A large image. -class CreativeNativeAdImage { - core.int? height; - core.String? url; - core.int? width; - - CreativeNativeAdImage({ - this.height, - this.url, - this.width, - }); - - CreativeNativeAdImage.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (url != null) 'url': url!, - if (width != null) 'width': width!, - }; -} - -/// A smaller image, for the advertiser logo. -class CreativeNativeAdLogo { - core.int? height; - core.String? url; - core.int? width; - - CreativeNativeAdLogo({ - this.height, - this.url, - this.width, - }); - - CreativeNativeAdLogo.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - url: _json.containsKey('url') ? _json['url'] as core.String : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (url != null) 'url': url!, - if (width != null) 'width': width!, - }; -} - -/// If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of -/// nativeAd should not be set. -/// -/// (The videoURL inside nativeAd can be set.) -class CreativeNativeAd { - core.String? advertiser; - - /// The app icon, for app download ads. - CreativeNativeAdAppIcon? appIcon; - - /// A long description of the ad. - core.String? body; - - /// A label for the button that the user is supposed to click. - core.String? callToAction; - - /// The URL that the browser/SDK will load when the user clicks the ad. - core.String? clickLinkUrl; - - /// The URL to use for click tracking. - core.String? clickTrackingUrl; - - /// A short title for the ad. - core.String? headline; - - /// A large image. - CreativeNativeAdImage? image; - - /// The URLs are called when the impression is rendered. - core.List? impressionTrackingUrl; - - /// A smaller image, for the advertiser logo. - CreativeNativeAdLogo? logo; - - /// The price of the promoted app including the currency info. - core.String? price; - - /// The app rating in the app store. - /// - /// Must be in the range \[0-5\]. - core.double? starRating; - - /// The URL of the XML VAST for a native ad. - /// - /// Note this is a separate field from resource.video_url. - core.String? videoURL; - - CreativeNativeAd({ - this.advertiser, - this.appIcon, - this.body, - this.callToAction, - this.clickLinkUrl, - this.clickTrackingUrl, - this.headline, - this.image, - this.impressionTrackingUrl, - this.logo, - this.price, - this.starRating, - this.videoURL, - }); - - CreativeNativeAd.fromJson(core.Map _json) - : this( - advertiser: _json.containsKey('advertiser') - ? _json['advertiser'] as core.String - : null, - appIcon: _json.containsKey('appIcon') - ? CreativeNativeAdAppIcon.fromJson( - _json['appIcon'] as core.Map) - : null, - body: _json.containsKey('body') ? _json['body'] as core.String : null, - callToAction: _json.containsKey('callToAction') - ? _json['callToAction'] as core.String - : null, - clickLinkUrl: _json.containsKey('clickLinkUrl') - ? _json['clickLinkUrl'] as core.String - : null, - clickTrackingUrl: _json.containsKey('clickTrackingUrl') - ? _json['clickTrackingUrl'] as core.String - : null, - headline: _json.containsKey('headline') - ? _json['headline'] as core.String - : null, - image: _json.containsKey('image') - ? CreativeNativeAdImage.fromJson( - _json['image'] as core.Map) - : null, - impressionTrackingUrl: _json.containsKey('impressionTrackingUrl') - ? (_json['impressionTrackingUrl'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - logo: _json.containsKey('logo') - ? CreativeNativeAdLogo.fromJson( - _json['logo'] as core.Map) - : null, - price: - _json.containsKey('price') ? _json['price'] as core.String : null, - starRating: _json.containsKey('starRating') - ? (_json['starRating'] as core.num).toDouble() - : null, - videoURL: _json.containsKey('videoURL') - ? _json['videoURL'] as core.String - : null, - ); - - core.Map toJson() => { - if (advertiser != null) 'advertiser': advertiser!, - if (appIcon != null) 'appIcon': appIcon!.toJson(), - if (body != null) 'body': body!, - if (callToAction != null) 'callToAction': callToAction!, - if (clickLinkUrl != null) 'clickLinkUrl': clickLinkUrl!, - if (clickTrackingUrl != null) 'clickTrackingUrl': clickTrackingUrl!, - if (headline != null) 'headline': headline!, - if (image != null) 'image': image!.toJson(), - if (impressionTrackingUrl != null) - 'impressionTrackingUrl': impressionTrackingUrl!, - if (logo != null) 'logo': logo!.toJson(), - if (price != null) 'price': price!, - if (starRating != null) 'starRating': starRating!, - if (videoURL != null) 'videoURL': videoURL!, - }; -} - -class CreativeServingRestrictionsContexts { - /// Only set when contextType=AUCTION_TYPE. - /// - /// Represents the auction types this restriction applies to. - core.List? auctionType; - - /// The type of context (e.g., location, platform, auction type, SSL-ness). - core.String? contextType; - - /// Only set when contextType=LOCATION. - /// - /// Represents the geo criterias this restriction applies to. Impressions are - /// considered to match a context if either the user location or publisher - /// location matches a given geoCriteriaId. - core.List? geoCriteriaId; - - /// Only set when contextType=PLATFORM. - /// - /// Represents the platforms this restriction applies to. - core.List? platform; - - CreativeServingRestrictionsContexts({ - this.auctionType, - this.contextType, - this.geoCriteriaId, - this.platform, - }); - - CreativeServingRestrictionsContexts.fromJson(core.Map _json) - : this( - auctionType: _json.containsKey('auctionType') - ? (_json['auctionType'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - contextType: _json.containsKey('contextType') - ? _json['contextType'] as core.String - : null, - geoCriteriaId: _json.containsKey('geoCriteriaId') - ? (_json['geoCriteriaId'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - platform: _json.containsKey('platform') - ? (_json['platform'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (auctionType != null) 'auctionType': auctionType!, - if (contextType != null) 'contextType': contextType!, - if (geoCriteriaId != null) 'geoCriteriaId': geoCriteriaId!, - if (platform != null) 'platform': platform!, - }; -} - -class CreativeServingRestrictionsDisapprovalReasons { - /// Additional details about the reason for disapproval. - core.List? details; - - /// The categorized reason for disapproval. - core.String? reason; - - CreativeServingRestrictionsDisapprovalReasons({ - this.details, - this.reason, - }); - - CreativeServingRestrictionsDisapprovalReasons.fromJson(core.Map _json) - : this( - details: _json.containsKey('details') - ? (_json['details'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - ); - - core.Map toJson() => { - if (details != null) 'details': details!, - if (reason != null) 'reason': reason!, - }; -} - -class CreativeServingRestrictions { - /// All known contexts/restrictions. - core.List? contexts; - - /// The reasons for disapproval within this restriction, if any. - /// - /// Note that not all disapproval reasons may be categorized, so it is - /// possible for the creative to have a status of DISAPPROVED or - /// CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this - /// case, please reach out to your TAM to help debug the issue. - core.List? disapprovalReasons; - - /// Why the creative is ineligible to serve in this context (e.g., it has been - /// explicitly disapproved or is pending review). - core.String? reason; - - CreativeServingRestrictions({ - this.contexts, - this.disapprovalReasons, - this.reason, - }); - - CreativeServingRestrictions.fromJson(core.Map _json) - : this( - contexts: _json.containsKey('contexts') - ? (_json['contexts'] as core.List) - .map((value) => - CreativeServingRestrictionsContexts.fromJson( - value as core.Map)) - .toList() - : null, - disapprovalReasons: _json.containsKey('disapprovalReasons') - ? (_json['disapprovalReasons'] as core.List) - .map((value) => - CreativeServingRestrictionsDisapprovalReasons.fromJson( - value as core.Map)) - .toList() - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - ); - - core.Map toJson() => { - if (contexts != null) - 'contexts': contexts!.map((value) => value.toJson()).toList(), - if (disapprovalReasons != null) - 'disapprovalReasons': - disapprovalReasons!.map((value) => value.toJson()).toList(), - if (reason != null) 'reason': reason!, - }; -} - -/// A creative and its classification data. -class Creative { - /// The HTML snippet that displays the ad when inserted in the web page. - /// - /// If set, videoURL, videoVastXML, and nativeAd should not be set. - core.String? HTMLSnippet; - - /// Account id. - core.int? accountId; - - /// The link to the Ad Preferences page. - /// - /// This is only supported for native ads. - core.String? adChoicesDestinationUrl; - CreativeAdTechnologyProviders? adTechnologyProviders; - - /// Detected advertiser id, if any. - /// - /// Read-only. This field should not be set in requests. - core.List? advertiserId; - - /// The name of the company being advertised in the creative. - /// - /// A list of advertisers is provided in the advertisers.txt file. - core.String? advertiserName; - - /// The agency id for this creative. - core.String? agencyId; - - /// The last upload timestamp of this creative if it was uploaded via API. - /// - /// Read-only. The value of this field is generated, and will be ignored for - /// uploads. (formatted RFC 3339 timestamp). - core.DateTime? apiUploadTimestamp; - - /// List of buyer selectable attributes for the ads that may be shown from - /// this snippet. - /// - /// Each attribute is represented by an integer as defined in - /// buyer-declarable-creative-attributes.txt. - core.List? attribute; - - /// A buyer-specific id identifying the creative in this ad. - core.String? buyerCreativeId; - - /// The set of destination urls for the snippet. - core.List? clickThroughUrl; - - /// Shows any corrections that were applied to this creative. - /// - /// Read-only. This field should not be set in requests. - core.List? corrections; - - /// Creative status identity type that the creative item applies to. - /// - /// Ad Exchange real-time bidding is migrating to the sizeless creative - /// verification. Originally, Ad Exchange assigned creative verification - /// status to a unique combination of a buyer creative ID and creative - /// dimensions. Post-migration, a single verification status will be assigned - /// at the buyer creative ID level. This field allows to distinguish whether a - /// given creative status applies to a unique combination of a buyer creative - /// ID and creative dimensions, or to a buyer creative ID as a whole. - core.String? creativeStatusIdentityType; - - /// Top-level deals status. - /// - /// Read-only. This field should not be set in requests. If disapproved, an - /// entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will - /// also exist. Note that this may be nuanced with other contextual - /// restrictions, in which case it may be preferable to read from - /// servingRestrictions directly. - core.String? dealsStatus; - - /// Detected domains for this creative. - /// - /// Read-only. This field should not be set in requests. - core.List? detectedDomains; - - /// The filtering reasons for the creative. - /// - /// Read-only. This field should not be set in requests. - CreativeFilteringReasons? filteringReasons; - - /// Ad height. - core.int? height; - - /// The set of urls to be called to record an impression. - core.List? impressionTrackingUrl; - - /// Resource type. - core.String? kind; - - /// Detected languages for this creative. - /// - /// Read-only. This field should not be set in requests. - core.List? languages; - - /// If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of - /// nativeAd should not be set. - /// - /// (The videoURL inside nativeAd can be set.) - CreativeNativeAd? nativeAd; - - /// Top-level open auction status. - /// - /// Read-only. This field should not be set in requests. If disapproved, an - /// entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will - /// also exist. Note that this may be nuanced with other contextual - /// restrictions, in which case it may be preferable to read from - /// ServingRestrictions directly. - core.String? openAuctionStatus; - - /// Detected product categories, if any. - /// - /// Each category is represented by an integer as defined in - /// ad-product-categories.txt. Read-only. This field should not be set in - /// requests. - core.List? productCategories; - - /// All restricted categories for the ads that may be shown from this snippet. - /// - /// Each category is represented by an integer as defined in the - /// ad-restricted-categories.txt. - core.List? restrictedCategories; - - /// Detected sensitive categories, if any. - /// - /// Each category is represented by an integer as defined in - /// ad-sensitive-categories.txt. Read-only. This field should not be set in - /// requests. - core.List? sensitiveCategories; - - /// The granular status of this ad in specific contexts. - /// - /// A context here relates to where something ultimately serves (for example, - /// a physical location, a platform, an HTTPS vs HTTP request, or the type of - /// auction). Read-only. This field should not be set in requests. See the - /// examples in the Creatives guide for more details. - core.List? servingRestrictions; - - /// List of vendor types for the ads that may be shown from this snippet. - /// - /// Each vendor type is represented by an integer as defined in vendors.txt. - core.List? vendorType; - - /// The version for this creative. - /// - /// Read-only. This field should not be set in requests. - core.int? version; - - /// The URL to fetch a video ad. - /// - /// If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, - /// this is different from resource.native_ad.video_url above. - core.String? videoURL; - - /// The contents of a VAST document for a video ad. - /// - /// This document should conform to the VAST 2.0 or 3.0 standard. If set, - /// HTMLSnippet, videoURL, and nativeAd and should not be set. - core.String? videoVastXML; - - /// Ad width. - core.int? width; - - Creative({ - this.HTMLSnippet, - this.accountId, - this.adChoicesDestinationUrl, - this.adTechnologyProviders, - this.advertiserId, - this.advertiserName, - this.agencyId, - this.apiUploadTimestamp, - this.attribute, - this.buyerCreativeId, - this.clickThroughUrl, - this.corrections, - this.creativeStatusIdentityType, - this.dealsStatus, - this.detectedDomains, - this.filteringReasons, - this.height, - this.impressionTrackingUrl, - this.kind, - this.languages, - this.nativeAd, - this.openAuctionStatus, - this.productCategories, - this.restrictedCategories, - this.sensitiveCategories, - this.servingRestrictions, - this.vendorType, - this.version, - this.videoURL, - this.videoVastXML, - this.width, - }); - - Creative.fromJson(core.Map _json) - : this( - HTMLSnippet: _json.containsKey('HTMLSnippet') - ? _json['HTMLSnippet'] as core.String - : null, - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.int - : null, - adChoicesDestinationUrl: _json.containsKey('adChoicesDestinationUrl') - ? _json['adChoicesDestinationUrl'] as core.String - : null, - adTechnologyProviders: _json.containsKey('adTechnologyProviders') - ? CreativeAdTechnologyProviders.fromJson( - _json['adTechnologyProviders'] - as core.Map) - : null, - advertiserId: _json.containsKey('advertiserId') - ? (_json['advertiserId'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - advertiserName: _json.containsKey('advertiserName') - ? _json['advertiserName'] as core.String - : null, - agencyId: _json.containsKey('agencyId') - ? _json['agencyId'] as core.String - : null, - apiUploadTimestamp: _json.containsKey('apiUploadTimestamp') - ? core.DateTime.parse(_json['apiUploadTimestamp'] as core.String) - : null, - attribute: _json.containsKey('attribute') - ? (_json['attribute'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - buyerCreativeId: _json.containsKey('buyerCreativeId') - ? _json['buyerCreativeId'] as core.String - : null, - clickThroughUrl: _json.containsKey('clickThroughUrl') - ? (_json['clickThroughUrl'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - corrections: _json.containsKey('corrections') - ? (_json['corrections'] as core.List) - .map((value) => - CreativeCorrections.fromJson( - value as core.Map)) - .toList() - : null, - creativeStatusIdentityType: - _json.containsKey('creativeStatusIdentityType') - ? _json['creativeStatusIdentityType'] as core.String - : null, - dealsStatus: _json.containsKey('dealsStatus') - ? _json['dealsStatus'] as core.String - : null, - detectedDomains: _json.containsKey('detectedDomains') - ? (_json['detectedDomains'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - filteringReasons: _json.containsKey('filteringReasons') - ? CreativeFilteringReasons.fromJson(_json['filteringReasons'] - as core.Map) - : null, - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - impressionTrackingUrl: _json.containsKey('impressionTrackingUrl') - ? (_json['impressionTrackingUrl'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - languages: _json.containsKey('languages') - ? (_json['languages'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - nativeAd: _json.containsKey('nativeAd') - ? CreativeNativeAd.fromJson( - _json['nativeAd'] as core.Map) - : null, - openAuctionStatus: _json.containsKey('openAuctionStatus') - ? _json['openAuctionStatus'] as core.String - : null, - productCategories: _json.containsKey('productCategories') - ? (_json['productCategories'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - restrictedCategories: _json.containsKey('restrictedCategories') - ? (_json['restrictedCategories'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - sensitiveCategories: _json.containsKey('sensitiveCategories') - ? (_json['sensitiveCategories'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - servingRestrictions: _json.containsKey('servingRestrictions') - ? (_json['servingRestrictions'] as core.List) - .map((value) => - CreativeServingRestrictions.fromJson( - value as core.Map)) - .toList() - : null, - vendorType: _json.containsKey('vendorType') - ? (_json['vendorType'] as core.List) - .map((value) => value as core.int) - .toList() - : null, - version: _json.containsKey('version') - ? _json['version'] as core.int - : null, - videoURL: _json.containsKey('videoURL') - ? _json['videoURL'] as core.String - : null, - videoVastXML: _json.containsKey('videoVastXML') - ? _json['videoVastXML'] as core.String - : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (HTMLSnippet != null) 'HTMLSnippet': HTMLSnippet!, - if (accountId != null) 'accountId': accountId!, - if (adChoicesDestinationUrl != null) - 'adChoicesDestinationUrl': adChoicesDestinationUrl!, - if (adTechnologyProviders != null) - 'adTechnologyProviders': adTechnologyProviders!.toJson(), - if (advertiserId != null) 'advertiserId': advertiserId!, - if (advertiserName != null) 'advertiserName': advertiserName!, - if (agencyId != null) 'agencyId': agencyId!, - if (apiUploadTimestamp != null) - 'apiUploadTimestamp': apiUploadTimestamp!.toIso8601String(), - if (attribute != null) 'attribute': attribute!, - if (buyerCreativeId != null) 'buyerCreativeId': buyerCreativeId!, - if (clickThroughUrl != null) 'clickThroughUrl': clickThroughUrl!, - if (corrections != null) - 'corrections': corrections!.map((value) => value.toJson()).toList(), - if (creativeStatusIdentityType != null) - 'creativeStatusIdentityType': creativeStatusIdentityType!, - if (dealsStatus != null) 'dealsStatus': dealsStatus!, - if (detectedDomains != null) 'detectedDomains': detectedDomains!, - if (filteringReasons != null) - 'filteringReasons': filteringReasons!.toJson(), - if (height != null) 'height': height!, - if (impressionTrackingUrl != null) - 'impressionTrackingUrl': impressionTrackingUrl!, - if (kind != null) 'kind': kind!, - if (languages != null) 'languages': languages!, - if (nativeAd != null) 'nativeAd': nativeAd!.toJson(), - if (openAuctionStatus != null) 'openAuctionStatus': openAuctionStatus!, - if (productCategories != null) 'productCategories': productCategories!, - if (restrictedCategories != null) - 'restrictedCategories': restrictedCategories!, - if (sensitiveCategories != null) - 'sensitiveCategories': sensitiveCategories!, - if (servingRestrictions != null) - 'servingRestrictions': - servingRestrictions!.map((value) => value.toJson()).toList(), - if (vendorType != null) 'vendorType': vendorType!, - if (version != null) 'version': version!, - if (videoURL != null) 'videoURL': videoURL!, - if (videoVastXML != null) 'videoVastXML': videoVastXML!, - if (width != null) 'width': width!, - }; -} - -class CreativeDealIdsDealStatuses { - /// ARC approval status. - core.String? arcStatus; - - /// External deal ID. - core.String? dealId; - - /// Publisher ID. - core.int? webPropertyId; - - CreativeDealIdsDealStatuses({ - this.arcStatus, - this.dealId, - this.webPropertyId, - }); - - CreativeDealIdsDealStatuses.fromJson(core.Map _json) - : this( - arcStatus: _json.containsKey('arcStatus') - ? _json['arcStatus'] as core.String - : null, - dealId: _json.containsKey('dealId') - ? _json['dealId'] as core.String - : null, - webPropertyId: _json.containsKey('webPropertyId') - ? _json['webPropertyId'] as core.int - : null, - ); - - core.Map toJson() => { - if (arcStatus != null) 'arcStatus': arcStatus!, - if (dealId != null) 'dealId': dealId!, - if (webPropertyId != null) 'webPropertyId': webPropertyId!, - }; -} - -/// The external deal ids associated with a creative. -class CreativeDealIds { - /// A list of external deal ids and ARC approval status. - core.List? dealStatuses; - - /// Resource type. - core.String? kind; - - CreativeDealIds({ - this.dealStatuses, - this.kind, - }); - - CreativeDealIds.fromJson(core.Map _json) - : this( - dealStatuses: _json.containsKey('dealStatuses') - ? (_json['dealStatuses'] as core.List) - .map((value) => - CreativeDealIdsDealStatuses.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (dealStatuses != null) - 'dealStatuses': dealStatuses!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -/// The creatives feed lists the active creatives for the Ad Exchange buyer -/// accounts that the user has access to. -/// -/// Each entry in the feed corresponds to a single creative. -class CreativesList { - /// A list of creatives. - core.List? items; - - /// Resource type. - core.String? kind; - - /// Continuation token used to page through creatives. - /// - /// To retrieve the next page of results, set the next request's "pageToken" - /// value to this. - core.String? nextPageToken; - - CreativesList({ - this.items, - this.kind, - this.nextPageToken, - }); - - CreativesList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => Creative.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - nextPageToken: _json.containsKey('nextPageToken') - ? _json['nextPageToken'] as core.String - : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - if (nextPageToken != null) 'nextPageToken': nextPageToken!, - }; -} - -class DealServingMetadata { - /// True if alcohol ads are allowed for this deal (read-only). - /// - /// This field is only populated when querying for finalized orders using the - /// method GetFinalizedOrderDeals - core.bool? alcoholAdsAllowed; - - /// Tracks which parties (if any) have paused a deal. - /// - /// (readonly, except via PauseResumeOrderDeals action) - DealServingMetadataDealPauseStatus? dealPauseStatus; - - DealServingMetadata({ - this.alcoholAdsAllowed, - this.dealPauseStatus, - }); - - DealServingMetadata.fromJson(core.Map _json) - : this( - alcoholAdsAllowed: _json.containsKey('alcoholAdsAllowed') - ? _json['alcoholAdsAllowed'] as core.bool - : null, - dealPauseStatus: _json.containsKey('dealPauseStatus') - ? DealServingMetadataDealPauseStatus.fromJson( - _json['dealPauseStatus'] - as core.Map) - : null, - ); - - core.Map toJson() => { - if (alcoholAdsAllowed != null) 'alcoholAdsAllowed': alcoholAdsAllowed!, - if (dealPauseStatus != null) - 'dealPauseStatus': dealPauseStatus!.toJson(), - }; -} - -/// Tracks which parties (if any) have paused a deal. -/// -/// The deal is considered paused if has_buyer_paused || has_seller_paused. Each -/// of the has_buyer_paused or the has_seller_paused bits can be set -/// independently. -class DealServingMetadataDealPauseStatus { - core.String? buyerPauseReason; - - /// If the deal is paused, records which party paused the deal first. - core.String? firstPausedBy; - core.bool? hasBuyerPaused; - core.bool? hasSellerPaused; - core.String? sellerPauseReason; - - DealServingMetadataDealPauseStatus({ - this.buyerPauseReason, - this.firstPausedBy, - this.hasBuyerPaused, - this.hasSellerPaused, - this.sellerPauseReason, - }); - - DealServingMetadataDealPauseStatus.fromJson(core.Map _json) - : this( - buyerPauseReason: _json.containsKey('buyerPauseReason') - ? _json['buyerPauseReason'] as core.String - : null, - firstPausedBy: _json.containsKey('firstPausedBy') - ? _json['firstPausedBy'] as core.String - : null, - hasBuyerPaused: _json.containsKey('hasBuyerPaused') - ? _json['hasBuyerPaused'] as core.bool - : null, - hasSellerPaused: _json.containsKey('hasSellerPaused') - ? _json['hasSellerPaused'] as core.bool - : null, - sellerPauseReason: _json.containsKey('sellerPauseReason') - ? _json['sellerPauseReason'] as core.String - : null, - ); - - core.Map toJson() => { - if (buyerPauseReason != null) 'buyerPauseReason': buyerPauseReason!, - if (firstPausedBy != null) 'firstPausedBy': firstPausedBy!, - if (hasBuyerPaused != null) 'hasBuyerPaused': hasBuyerPaused!, - if (hasSellerPaused != null) 'hasSellerPaused': hasSellerPaused!, - if (sellerPauseReason != null) 'sellerPauseReason': sellerPauseReason!, - }; -} - -class DealTerms { - /// Visibility of the URL in bid requests. - core.String? brandingType; - - /// Indicates that this ExternalDealId exists under at least two different - /// AdxInventoryDeals. - /// - /// Currently, the only case that the same ExternalDealId will exist is - /// programmatic cross sell case. - core.String? crossListedExternalDealIdType; - - /// Description for the proposed terms of the deal. - core.String? description; - - /// Non-binding estimate of the estimated gross spend for this deal Can be set - /// by buyer or seller. - Price? estimatedGrossSpend; - - /// Non-binding estimate of the impressions served per day Can be set by buyer - /// or seller. - core.String? estimatedImpressionsPerDay; - - /// The terms for guaranteed fixed price deals. - DealTermsGuaranteedFixedPriceTerms? guaranteedFixedPriceTerms; - - /// The terms for non-guaranteed auction deals. - DealTermsNonGuaranteedAuctionTerms? nonGuaranteedAuctionTerms; - - /// The terms for non-guaranteed fixed price deals. - DealTermsNonGuaranteedFixedPriceTerms? nonGuaranteedFixedPriceTerms; - - /// The terms for rubicon non-guaranteed deals. - DealTermsRubiconNonGuaranteedTerms? rubiconNonGuaranteedTerms; - - /// For deals with Cost Per Day billing, defines the timezone used to mark the - /// boundaries of a day (buyer-readonly) - core.String? sellerTimeZone; - - DealTerms({ - this.brandingType, - this.crossListedExternalDealIdType, - this.description, - this.estimatedGrossSpend, - this.estimatedImpressionsPerDay, - this.guaranteedFixedPriceTerms, - this.nonGuaranteedAuctionTerms, - this.nonGuaranteedFixedPriceTerms, - this.rubiconNonGuaranteedTerms, - this.sellerTimeZone, - }); - - DealTerms.fromJson(core.Map _json) - : this( - brandingType: _json.containsKey('brandingType') - ? _json['brandingType'] as core.String - : null, - crossListedExternalDealIdType: - _json.containsKey('crossListedExternalDealIdType') - ? _json['crossListedExternalDealIdType'] as core.String - : null, - description: _json.containsKey('description') - ? _json['description'] as core.String - : null, - estimatedGrossSpend: _json.containsKey('estimatedGrossSpend') - ? Price.fromJson(_json['estimatedGrossSpend'] - as core.Map) - : null, - estimatedImpressionsPerDay: - _json.containsKey('estimatedImpressionsPerDay') - ? _json['estimatedImpressionsPerDay'] as core.String - : null, - guaranteedFixedPriceTerms: - _json.containsKey('guaranteedFixedPriceTerms') - ? DealTermsGuaranteedFixedPriceTerms.fromJson( - _json['guaranteedFixedPriceTerms'] - as core.Map) - : null, - nonGuaranteedAuctionTerms: - _json.containsKey('nonGuaranteedAuctionTerms') - ? DealTermsNonGuaranteedAuctionTerms.fromJson( - _json['nonGuaranteedAuctionTerms'] - as core.Map) - : null, - nonGuaranteedFixedPriceTerms: - _json.containsKey('nonGuaranteedFixedPriceTerms') - ? DealTermsNonGuaranteedFixedPriceTerms.fromJson( - _json['nonGuaranteedFixedPriceTerms'] - as core.Map) - : null, - rubiconNonGuaranteedTerms: - _json.containsKey('rubiconNonGuaranteedTerms') - ? DealTermsRubiconNonGuaranteedTerms.fromJson( - _json['rubiconNonGuaranteedTerms'] - as core.Map) - : null, - sellerTimeZone: _json.containsKey('sellerTimeZone') - ? _json['sellerTimeZone'] as core.String - : null, - ); - - core.Map toJson() => { - if (brandingType != null) 'brandingType': brandingType!, - if (crossListedExternalDealIdType != null) - 'crossListedExternalDealIdType': crossListedExternalDealIdType!, - if (description != null) 'description': description!, - if (estimatedGrossSpend != null) - 'estimatedGrossSpend': estimatedGrossSpend!.toJson(), - if (estimatedImpressionsPerDay != null) - 'estimatedImpressionsPerDay': estimatedImpressionsPerDay!, - if (guaranteedFixedPriceTerms != null) - 'guaranteedFixedPriceTerms': guaranteedFixedPriceTerms!.toJson(), - if (nonGuaranteedAuctionTerms != null) - 'nonGuaranteedAuctionTerms': nonGuaranteedAuctionTerms!.toJson(), - if (nonGuaranteedFixedPriceTerms != null) - 'nonGuaranteedFixedPriceTerms': - nonGuaranteedFixedPriceTerms!.toJson(), - if (rubiconNonGuaranteedTerms != null) - 'rubiconNonGuaranteedTerms': rubiconNonGuaranteedTerms!.toJson(), - if (sellerTimeZone != null) 'sellerTimeZone': sellerTimeZone!, - }; -} - -class DealTermsGuaranteedFixedPriceTerms { - /// External billing info for this Deal. - /// - /// This field is relevant when external billing info such as price has a - /// different currency code than DFP/AdX. - DealTermsGuaranteedFixedPriceTermsBillingInfo? billingInfo; - - /// Fixed price for the specified buyer. - core.List? fixedPrices; - - /// Guaranteed impressions as a percentage. - /// - /// This is the percentage of guaranteed looks that the buyer is guaranteeing - /// to buy. - core.String? guaranteedImpressions; - - /// Count of guaranteed looks. - /// - /// Required for deal, optional for product. For CPD deals, buyer changes to - /// guaranteed_looks will be ignored. - core.String? guaranteedLooks; - - /// Count of minimum daily looks for a CPD deal. - /// - /// For CPD deals, buyer should negotiate on this field instead of - /// guaranteed_looks. - core.String? minimumDailyLooks; - - DealTermsGuaranteedFixedPriceTerms({ - this.billingInfo, - this.fixedPrices, - this.guaranteedImpressions, - this.guaranteedLooks, - this.minimumDailyLooks, - }); - - DealTermsGuaranteedFixedPriceTerms.fromJson(core.Map _json) - : this( - billingInfo: _json.containsKey('billingInfo') - ? DealTermsGuaranteedFixedPriceTermsBillingInfo.fromJson( - _json['billingInfo'] as core.Map) - : null, - fixedPrices: _json.containsKey('fixedPrices') - ? (_json['fixedPrices'] as core.List) - .map((value) => PricePerBuyer.fromJson( - value as core.Map)) - .toList() - : null, - guaranteedImpressions: _json.containsKey('guaranteedImpressions') - ? _json['guaranteedImpressions'] as core.String - : null, - guaranteedLooks: _json.containsKey('guaranteedLooks') - ? _json['guaranteedLooks'] as core.String - : null, - minimumDailyLooks: _json.containsKey('minimumDailyLooks') - ? _json['minimumDailyLooks'] as core.String - : null, - ); - - core.Map toJson() => { - if (billingInfo != null) 'billingInfo': billingInfo!.toJson(), - if (fixedPrices != null) - 'fixedPrices': fixedPrices!.map((value) => value.toJson()).toList(), - if (guaranteedImpressions != null) - 'guaranteedImpressions': guaranteedImpressions!, - if (guaranteedLooks != null) 'guaranteedLooks': guaranteedLooks!, - if (minimumDailyLooks != null) 'minimumDailyLooks': minimumDailyLooks!, - }; -} - -class DealTermsGuaranteedFixedPriceTermsBillingInfo { - /// The timestamp (in ms since epoch) when the original reservation price for - /// the deal was first converted to DFP currency. - /// - /// This is used to convert the contracted price into buyer's currency without - /// discrepancy. - core.String? currencyConversionTimeMs; - - /// The DFP line item id associated with this deal. - /// - /// For features like CPD, buyers can retrieve the DFP line item for billing - /// reconciliation. - core.String? dfpLineItemId; - - /// The original contracted quantity (# impressions) for this deal. - /// - /// To ensure delivery, sometimes the publisher will book the deal with a - /// impression buffer, such that guaranteed_looks is greater than the - /// contracted quantity. However clients are billed using the original - /// contracted quantity. - core.String? originalContractedQuantity; - - /// The original reservation price for the deal, if the currency code is - /// different from the one used in negotiation. - Price? price; - - DealTermsGuaranteedFixedPriceTermsBillingInfo({ - this.currencyConversionTimeMs, - this.dfpLineItemId, - this.originalContractedQuantity, - this.price, - }); - - DealTermsGuaranteedFixedPriceTermsBillingInfo.fromJson(core.Map _json) - : this( - currencyConversionTimeMs: - _json.containsKey('currencyConversionTimeMs') - ? _json['currencyConversionTimeMs'] as core.String - : null, - dfpLineItemId: _json.containsKey('dfpLineItemId') - ? _json['dfpLineItemId'] as core.String - : null, - originalContractedQuantity: - _json.containsKey('originalContractedQuantity') - ? _json['originalContractedQuantity'] as core.String - : null, - price: _json.containsKey('price') - ? Price.fromJson( - _json['price'] as core.Map) - : null, - ); - - core.Map toJson() => { - if (currencyConversionTimeMs != null) - 'currencyConversionTimeMs': currencyConversionTimeMs!, - if (dfpLineItemId != null) 'dfpLineItemId': dfpLineItemId!, - if (originalContractedQuantity != null) - 'originalContractedQuantity': originalContractedQuantity!, - if (price != null) 'price': price!.toJson(), - }; -} - -class DealTermsNonGuaranteedAuctionTerms { - /// True if open auction buyers are allowed to compete with invited buyers in - /// this private auction (buyer-readonly). - core.bool? autoOptimizePrivateAuction; - - /// Reserve price for the specified buyer. - core.List? reservePricePerBuyers; - - DealTermsNonGuaranteedAuctionTerms({ - this.autoOptimizePrivateAuction, - this.reservePricePerBuyers, - }); - - DealTermsNonGuaranteedAuctionTerms.fromJson(core.Map _json) - : this( - autoOptimizePrivateAuction: - _json.containsKey('autoOptimizePrivateAuction') - ? _json['autoOptimizePrivateAuction'] as core.bool - : null, - reservePricePerBuyers: _json.containsKey('reservePricePerBuyers') - ? (_json['reservePricePerBuyers'] as core.List) - .map((value) => PricePerBuyer.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (autoOptimizePrivateAuction != null) - 'autoOptimizePrivateAuction': autoOptimizePrivateAuction!, - if (reservePricePerBuyers != null) - 'reservePricePerBuyers': - reservePricePerBuyers!.map((value) => value.toJson()).toList(), - }; -} - -class DealTermsNonGuaranteedFixedPriceTerms { - /// Fixed price for the specified buyer. - core.List? fixedPrices; - - DealTermsNonGuaranteedFixedPriceTerms({ - this.fixedPrices, - }); - - DealTermsNonGuaranteedFixedPriceTerms.fromJson(core.Map _json) - : this( - fixedPrices: _json.containsKey('fixedPrices') - ? (_json['fixedPrices'] as core.List) - .map((value) => PricePerBuyer.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (fixedPrices != null) - 'fixedPrices': fixedPrices!.map((value) => value.toJson()).toList(), - }; -} - -class DealTermsRubiconNonGuaranteedTerms { - /// Optional price for Rubicon priority access in the auction. - Price? priorityPrice; - - /// Optional price for Rubicon standard access in the auction. - Price? standardPrice; - - DealTermsRubiconNonGuaranteedTerms({ - this.priorityPrice, - this.standardPrice, - }); - - DealTermsRubiconNonGuaranteedTerms.fromJson(core.Map _json) - : this( - priorityPrice: _json.containsKey('priorityPrice') - ? Price.fromJson( - _json['priorityPrice'] as core.Map) - : null, - standardPrice: _json.containsKey('standardPrice') - ? Price.fromJson( - _json['standardPrice'] as core.Map) - : null, - ); - - core.Map toJson() => { - if (priorityPrice != null) 'priorityPrice': priorityPrice!.toJson(), - if (standardPrice != null) 'standardPrice': standardPrice!.toJson(), - }; -} - -class DeleteOrderDealsRequest { - /// List of deals to delete for a given proposal - core.List? dealIds; - - /// The last known proposal revision number. - core.String? proposalRevisionNumber; - - /// Indicates an optional action to take on the proposal - core.String? updateAction; - - DeleteOrderDealsRequest({ - this.dealIds, - this.proposalRevisionNumber, - this.updateAction, - }); - - DeleteOrderDealsRequest.fromJson(core.Map _json) - : this( - dealIds: _json.containsKey('dealIds') - ? (_json['dealIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - updateAction: _json.containsKey('updateAction') - ? _json['updateAction'] as core.String - : null, - ); - - core.Map toJson() => { - if (dealIds != null) 'dealIds': dealIds!, - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - if (updateAction != null) 'updateAction': updateAction!, - }; -} - -class DeleteOrderDealsResponse { - /// List of deals deleted (in the same proposal as passed in the request) - core.List? deals; - - /// The updated revision number for the proposal. - core.String? proposalRevisionNumber; - - DeleteOrderDealsResponse({ - this.deals, - this.proposalRevisionNumber, - }); - - DeleteOrderDealsResponse.fromJson(core.Map _json) - : this( - deals: _json.containsKey('deals') - ? (_json['deals'] as core.List) - .map((value) => MarketplaceDeal.fromJson( - value as core.Map)) - .toList() - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - ); - - core.Map toJson() => { - if (deals != null) - 'deals': deals!.map((value) => value.toJson()).toList(), - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - }; -} - -class DeliveryControl { - core.String? creativeBlockingLevel; - core.String? deliveryRateType; - core.List? frequencyCaps; - - DeliveryControl({ - this.creativeBlockingLevel, - this.deliveryRateType, - this.frequencyCaps, - }); - - DeliveryControl.fromJson(core.Map _json) - : this( - creativeBlockingLevel: _json.containsKey('creativeBlockingLevel') - ? _json['creativeBlockingLevel'] as core.String - : null, - deliveryRateType: _json.containsKey('deliveryRateType') - ? _json['deliveryRateType'] as core.String - : null, - frequencyCaps: _json.containsKey('frequencyCaps') - ? (_json['frequencyCaps'] as core.List) - .map((value) => - DeliveryControlFrequencyCap.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (creativeBlockingLevel != null) - 'creativeBlockingLevel': creativeBlockingLevel!, - if (deliveryRateType != null) 'deliveryRateType': deliveryRateType!, - if (frequencyCaps != null) - 'frequencyCaps': - frequencyCaps!.map((value) => value.toJson()).toList(), - }; -} - -class DeliveryControlFrequencyCap { - core.int? maxImpressions; - core.int? numTimeUnits; - core.String? timeUnitType; - - DeliveryControlFrequencyCap({ - this.maxImpressions, - this.numTimeUnits, - this.timeUnitType, - }); - - DeliveryControlFrequencyCap.fromJson(core.Map _json) - : this( - maxImpressions: _json.containsKey('maxImpressions') - ? _json['maxImpressions'] as core.int - : null, - numTimeUnits: _json.containsKey('numTimeUnits') - ? _json['numTimeUnits'] as core.int - : null, - timeUnitType: _json.containsKey('timeUnitType') - ? _json['timeUnitType'] as core.String - : null, - ); - - core.Map toJson() => { - if (maxImpressions != null) 'maxImpressions': maxImpressions!, - if (numTimeUnits != null) 'numTimeUnits': numTimeUnits!, - if (timeUnitType != null) 'timeUnitType': timeUnitType!, - }; -} - -/// This message carries publisher provided breakdown. -/// -/// E.g. {dimension_type: 'COUNTRY', \[{dimension_value: {id: 1, name: 'US'}}, -/// {dimension_value: {id: 2, name: 'UK'}}\]} -class Dimension { - core.String? dimensionType; - core.List? dimensionValues; - - Dimension({ - this.dimensionType, - this.dimensionValues, - }); - - Dimension.fromJson(core.Map _json) - : this( - dimensionType: _json.containsKey('dimensionType') - ? _json['dimensionType'] as core.String - : null, - dimensionValues: _json.containsKey('dimensionValues') - ? (_json['dimensionValues'] as core.List) - .map((value) => - DimensionDimensionValue.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (dimensionType != null) 'dimensionType': dimensionType!, - if (dimensionValues != null) - 'dimensionValues': - dimensionValues!.map((value) => value.toJson()).toList(), - }; -} - -/// Value of the dimension. -class DimensionDimensionValue { - /// Id of the dimension. - core.int? id; - - /// Name of the dimension mainly for debugging purposes, except for the case - /// of CREATIVE_SIZE. - /// - /// For CREATIVE_SIZE, strings are used instead of ids. - core.String? name; - - /// Percent of total impressions for a dimension type. - /// - /// e.g. {dimension_type: 'GENDER', \[{dimension_value: {id: 1, name: 'MALE', - /// percentage: 60}}\]} Gender MALE is 60% of all impressions which have - /// gender. - core.int? percentage; - - DimensionDimensionValue({ - this.id, - this.name, - this.percentage, - }); - - DimensionDimensionValue.fromJson(core.Map _json) - : this( - id: _json.containsKey('id') ? _json['id'] as core.int : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - percentage: _json.containsKey('percentage') - ? _json['percentage'] as core.int - : null, - ); - - core.Map toJson() => { - if (id != null) 'id': id!, - if (name != null) 'name': name!, - if (percentage != null) 'percentage': percentage!, - }; -} - -class EditAllOrderDealsRequest { - /// List of deals to edit. - /// - /// Service may perform 3 different operations based on comparison of deals in - /// this list vs deals already persisted in database: 1. Add new deal to - /// proposal If a deal in this list does not exist in the proposal, the - /// service will create a new deal and add it to the proposal. Validation will - /// follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a - /// deal in this list already exist in the proposal, the service will update - /// that existing deal to this new deal in the request. Validation will follow - /// UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the - /// id) If a existing deal in the proposal is not present in this list, the - /// service will delete that deal from the proposal. Validation will follow - /// DeleteOrderDealsRequest. - core.List? deals; - - /// If specified, also updates the proposal in the batch transaction. - /// - /// This is useful when the proposal and the deals need to be updated in one - /// transaction. - Proposal? proposal; - - /// The last known revision number for the proposal. - core.String? proposalRevisionNumber; - - /// Indicates an optional action to take on the proposal - core.String? updateAction; - - EditAllOrderDealsRequest({ - this.deals, - this.proposal, - this.proposalRevisionNumber, - this.updateAction, - }); - - EditAllOrderDealsRequest.fromJson(core.Map _json) - : this( - deals: _json.containsKey('deals') - ? (_json['deals'] as core.List) - .map((value) => MarketplaceDeal.fromJson( - value as core.Map)) - .toList() - : null, - proposal: _json.containsKey('proposal') - ? Proposal.fromJson( - _json['proposal'] as core.Map) - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - updateAction: _json.containsKey('updateAction') - ? _json['updateAction'] as core.String - : null, - ); - - core.Map toJson() => { - if (deals != null) - 'deals': deals!.map((value) => value.toJson()).toList(), - if (proposal != null) 'proposal': proposal!.toJson(), - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - if (updateAction != null) 'updateAction': updateAction!, - }; -} - -class EditAllOrderDealsResponse { - /// List of all deals in the proposal after edit. - core.List? deals; - - /// The latest revision number after the update has been applied. - core.String? orderRevisionNumber; - - EditAllOrderDealsResponse({ - this.deals, - this.orderRevisionNumber, - }); - - EditAllOrderDealsResponse.fromJson(core.Map _json) - : this( - deals: _json.containsKey('deals') - ? (_json['deals'] as core.List) - .map((value) => MarketplaceDeal.fromJson( - value as core.Map)) - .toList() - : null, - orderRevisionNumber: _json.containsKey('orderRevisionNumber') - ? _json['orderRevisionNumber'] as core.String - : null, - ); - - core.Map toJson() => { - if (deals != null) - 'deals': deals!.map((value) => value.toJson()).toList(), - if (orderRevisionNumber != null) - 'orderRevisionNumber': orderRevisionNumber!, - }; -} - -class GetOffersResponse { - /// The returned list of products. - core.List? products; - - GetOffersResponse({ - this.products, - }); - - GetOffersResponse.fromJson(core.Map _json) - : this( - products: _json.containsKey('products') - ? (_json['products'] as core.List) - .map((value) => Product.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (products != null) - 'products': products!.map((value) => value.toJson()).toList(), - }; -} - -class GetOrderDealsResponse { - /// List of deals for the proposal - core.List? deals; - - GetOrderDealsResponse({ - this.deals, - }); - - GetOrderDealsResponse.fromJson(core.Map _json) - : this( - deals: _json.containsKey('deals') - ? (_json['deals'] as core.List) - .map((value) => MarketplaceDeal.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (deals != null) - 'deals': deals!.map((value) => value.toJson()).toList(), - }; -} - -class GetOrderNotesResponse { - /// The list of matching notes. - /// - /// The notes for a proposal are ordered from oldest to newest. If the notes - /// span multiple proposals, they will be grouped by proposal, with the notes - /// for the most recently modified proposal appearing first. - core.List? notes; - - GetOrderNotesResponse({ - this.notes, - }); - - GetOrderNotesResponse.fromJson(core.Map _json) - : this( - notes: _json.containsKey('notes') - ? (_json['notes'] as core.List) - .map((value) => MarketplaceNote.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (notes != null) - 'notes': notes!.map((value) => value.toJson()).toList(), - }; -} - -class GetOrdersResponse { - /// The list of matching proposals. - core.List? proposals; - - GetOrdersResponse({ - this.proposals, - }); - - GetOrdersResponse.fromJson(core.Map _json) - : this( - proposals: _json.containsKey('proposals') - ? (_json['proposals'] as core.List) - .map((value) => Proposal.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (proposals != null) - 'proposals': proposals!.map((value) => value.toJson()).toList(), - }; -} - -class GetPublisherProfilesByAccountIdResponse { - /// Profiles for the requested publisher - core.List? profiles; - - GetPublisherProfilesByAccountIdResponse({ - this.profiles, - }); - - GetPublisherProfilesByAccountIdResponse.fromJson(core.Map _json) - : this( - profiles: _json.containsKey('profiles') - ? (_json['profiles'] as core.List) - .map((value) => - PublisherProfileApiProto.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (profiles != null) - 'profiles': profiles!.map((value) => value.toJson()).toList(), - }; -} - -/// A proposal can contain multiple deals. -/// -/// A deal contains the terms and targeting information that is used for -/// serving. -class MarketplaceDeal { - /// Buyer private data (hidden from seller). - PrivateData? buyerPrivateData; - - /// The time (ms since epoch) of the deal creation. - /// - /// (readonly) - core.String? creationTimeMs; - - /// Specifies the creative pre-approval policy (buyer-readonly) - core.String? creativePreApprovalPolicy; - - /// Specifies whether the creative is safeFrame compatible (buyer-readonly) - core.String? creativeSafeFrameCompatibility; - - /// A unique deal-id for the deal (readonly). - core.String? dealId; - - /// Metadata about the serving status of this deal (readonly, writes via - /// custom actions) - DealServingMetadata? dealServingMetadata; - - /// The set of fields around delivery control that are interesting for a buyer - /// to see but are non-negotiable. - /// - /// These are set by the publisher. This message is assigned an id of 100 - /// since some day we would want to model this as a protobuf extension. - DeliveryControl? deliveryControl; - - /// The external deal id assigned to this deal once the deal is finalized. - /// - /// This is the deal-id that shows up in serving/reporting etc. (readonly) - core.String? externalDealId; - - /// Proposed flight end time of the deal (ms since epoch) This will generally - /// be stored in a granularity of a second. - /// - /// (updatable) - core.String? flightEndTimeMs; - - /// Proposed flight start time of the deal (ms since epoch) This will - /// generally be stored in a granularity of a second. - /// - /// (updatable) - core.String? flightStartTimeMs; - - /// Description for the deal terms. - /// - /// (buyer-readonly) - core.String? inventoryDescription; - - /// Indicates whether the current deal is a RFP template. - /// - /// RFP template is created by buyer and not based on seller created products. - core.bool? isRfpTemplate; - - /// True, if the buyside inventory setup is complete for this deal. - /// - /// (readonly, except via OrderSetupCompleted action) - core.bool? isSetupComplete; - - /// Identifies what kind of resource this is. - /// - /// Value: the fixed string "adexchangebuyer#marketplaceDeal". - core.String? kind; - - /// The time (ms since epoch) when the deal was last updated. - /// - /// (readonly) - core.String? lastUpdateTimeMs; - core.String? makegoodRequestedReason; - - /// The name of the deal. - /// - /// (updatable) - core.String? name; - - /// The product-id from which this deal was created. - /// - /// (readonly, except on create) - core.String? productId; - - /// The revision number of the product that the deal was created from - /// (readonly, except on create) - core.String? productRevisionNumber; - - /// Specifies the creative source for programmatic deals, PUBLISHER means - /// creative is provided by seller and ADVERTISR means creative is provided by - /// buyer. - /// - /// (buyer-readonly) - core.String? programmaticCreativeSource; - core.String? proposalId; - - /// Optional Seller contact information for the deal (buyer-readonly) - core.List? sellerContacts; - - /// The shared targeting visible to buyers and sellers. - /// - /// Each shared targeting entity is AND'd together. (updatable) - core.List? sharedTargetings; - - /// The syndication product associated with the deal. - /// - /// (readonly, except on create) - core.String? syndicationProduct; - - /// The negotiable terms of the deal. - /// - /// (updatable) - DealTerms? terms; - core.String? webPropertyCode; - - MarketplaceDeal({ - this.buyerPrivateData, - this.creationTimeMs, - this.creativePreApprovalPolicy, - this.creativeSafeFrameCompatibility, - this.dealId, - this.dealServingMetadata, - this.deliveryControl, - this.externalDealId, - this.flightEndTimeMs, - this.flightStartTimeMs, - this.inventoryDescription, - this.isRfpTemplate, - this.isSetupComplete, - this.kind, - this.lastUpdateTimeMs, - this.makegoodRequestedReason, - this.name, - this.productId, - this.productRevisionNumber, - this.programmaticCreativeSource, - this.proposalId, - this.sellerContacts, - this.sharedTargetings, - this.syndicationProduct, - this.terms, - this.webPropertyCode, - }); - - MarketplaceDeal.fromJson(core.Map _json) - : this( - buyerPrivateData: _json.containsKey('buyerPrivateData') - ? PrivateData.fromJson(_json['buyerPrivateData'] - as core.Map) - : null, - creationTimeMs: _json.containsKey('creationTimeMs') - ? _json['creationTimeMs'] as core.String - : null, - creativePreApprovalPolicy: - _json.containsKey('creativePreApprovalPolicy') - ? _json['creativePreApprovalPolicy'] as core.String - : null, - creativeSafeFrameCompatibility: - _json.containsKey('creativeSafeFrameCompatibility') - ? _json['creativeSafeFrameCompatibility'] as core.String - : null, - dealId: _json.containsKey('dealId') - ? _json['dealId'] as core.String - : null, - dealServingMetadata: _json.containsKey('dealServingMetadata') - ? DealServingMetadata.fromJson(_json['dealServingMetadata'] - as core.Map) - : null, - deliveryControl: _json.containsKey('deliveryControl') - ? DeliveryControl.fromJson(_json['deliveryControl'] - as core.Map) - : null, - externalDealId: _json.containsKey('externalDealId') - ? _json['externalDealId'] as core.String - : null, - flightEndTimeMs: _json.containsKey('flightEndTimeMs') - ? _json['flightEndTimeMs'] as core.String - : null, - flightStartTimeMs: _json.containsKey('flightStartTimeMs') - ? _json['flightStartTimeMs'] as core.String - : null, - inventoryDescription: _json.containsKey('inventoryDescription') - ? _json['inventoryDescription'] as core.String - : null, - isRfpTemplate: _json.containsKey('isRfpTemplate') - ? _json['isRfpTemplate'] as core.bool - : null, - isSetupComplete: _json.containsKey('isSetupComplete') - ? _json['isSetupComplete'] as core.bool - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - lastUpdateTimeMs: _json.containsKey('lastUpdateTimeMs') - ? _json['lastUpdateTimeMs'] as core.String - : null, - makegoodRequestedReason: _json.containsKey('makegoodRequestedReason') - ? _json['makegoodRequestedReason'] as core.String - : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - productId: _json.containsKey('productId') - ? _json['productId'] as core.String - : null, - productRevisionNumber: _json.containsKey('productRevisionNumber') - ? _json['productRevisionNumber'] as core.String - : null, - programmaticCreativeSource: - _json.containsKey('programmaticCreativeSource') - ? _json['programmaticCreativeSource'] as core.String - : null, - proposalId: _json.containsKey('proposalId') - ? _json['proposalId'] as core.String - : null, - sellerContacts: _json.containsKey('sellerContacts') - ? (_json['sellerContacts'] as core.List) - .map((value) => - ContactInformation.fromJson( - value as core.Map)) - .toList() - : null, - sharedTargetings: _json.containsKey('sharedTargetings') - ? (_json['sharedTargetings'] as core.List) - .map((value) => SharedTargeting.fromJson( - value as core.Map)) - .toList() - : null, - syndicationProduct: _json.containsKey('syndicationProduct') - ? _json['syndicationProduct'] as core.String - : null, - terms: _json.containsKey('terms') - ? DealTerms.fromJson( - _json['terms'] as core.Map) - : null, - webPropertyCode: _json.containsKey('webPropertyCode') - ? _json['webPropertyCode'] as core.String - : null, - ); - - core.Map toJson() => { - if (buyerPrivateData != null) - 'buyerPrivateData': buyerPrivateData!.toJson(), - if (creationTimeMs != null) 'creationTimeMs': creationTimeMs!, - if (creativePreApprovalPolicy != null) - 'creativePreApprovalPolicy': creativePreApprovalPolicy!, - if (creativeSafeFrameCompatibility != null) - 'creativeSafeFrameCompatibility': creativeSafeFrameCompatibility!, - if (dealId != null) 'dealId': dealId!, - if (dealServingMetadata != null) - 'dealServingMetadata': dealServingMetadata!.toJson(), - if (deliveryControl != null) - 'deliveryControl': deliveryControl!.toJson(), - if (externalDealId != null) 'externalDealId': externalDealId!, - if (flightEndTimeMs != null) 'flightEndTimeMs': flightEndTimeMs!, - if (flightStartTimeMs != null) 'flightStartTimeMs': flightStartTimeMs!, - if (inventoryDescription != null) - 'inventoryDescription': inventoryDescription!, - if (isRfpTemplate != null) 'isRfpTemplate': isRfpTemplate!, - if (isSetupComplete != null) 'isSetupComplete': isSetupComplete!, - if (kind != null) 'kind': kind!, - if (lastUpdateTimeMs != null) 'lastUpdateTimeMs': lastUpdateTimeMs!, - if (makegoodRequestedReason != null) - 'makegoodRequestedReason': makegoodRequestedReason!, - if (name != null) 'name': name!, - if (productId != null) 'productId': productId!, - if (productRevisionNumber != null) - 'productRevisionNumber': productRevisionNumber!, - if (programmaticCreativeSource != null) - 'programmaticCreativeSource': programmaticCreativeSource!, - if (proposalId != null) 'proposalId': proposalId!, - if (sellerContacts != null) - 'sellerContacts': - sellerContacts!.map((value) => value.toJson()).toList(), - if (sharedTargetings != null) - 'sharedTargetings': - sharedTargetings!.map((value) => value.toJson()).toList(), - if (syndicationProduct != null) - 'syndicationProduct': syndicationProduct!, - if (terms != null) 'terms': terms!.toJson(), - if (webPropertyCode != null) 'webPropertyCode': webPropertyCode!, - }; -} - -class MarketplaceDealParty { - /// The buyer/seller associated with the deal. - /// - /// One of buyer/seller is specified for a deal-party. - Buyer? buyer; - - /// The buyer/seller associated with the deal. - /// - /// One of buyer/seller is specified for a deal party. - Seller? seller; - - MarketplaceDealParty({ - this.buyer, - this.seller, - }); - - MarketplaceDealParty.fromJson(core.Map _json) - : this( - buyer: _json.containsKey('buyer') - ? Buyer.fromJson( - _json['buyer'] as core.Map) - : null, - seller: _json.containsKey('seller') - ? Seller.fromJson( - _json['seller'] as core.Map) - : null, - ); - - core.Map toJson() => { - if (buyer != null) 'buyer': buyer!.toJson(), - if (seller != null) 'seller': seller!.toJson(), - }; -} - -class MarketplaceLabel { - /// The accountId of the party that created the label. - core.String? accountId; - - /// The creation time (in ms since epoch) for the label. - core.String? createTimeMs; - - /// Information about the party that created the label. - MarketplaceDealParty? deprecatedMarketplaceDealParty; - - /// The label to use. - core.String? label; - - MarketplaceLabel({ - this.accountId, - this.createTimeMs, - this.deprecatedMarketplaceDealParty, - this.label, - }); - - MarketplaceLabel.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.String - : null, - createTimeMs: _json.containsKey('createTimeMs') - ? _json['createTimeMs'] as core.String - : null, - deprecatedMarketplaceDealParty: - _json.containsKey('deprecatedMarketplaceDealParty') - ? MarketplaceDealParty.fromJson( - _json['deprecatedMarketplaceDealParty'] - as core.Map) - : null, - label: - _json.containsKey('label') ? _json['label'] as core.String : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (createTimeMs != null) 'createTimeMs': createTimeMs!, - if (deprecatedMarketplaceDealParty != null) - 'deprecatedMarketplaceDealParty': - deprecatedMarketplaceDealParty!.toJson(), - if (label != null) 'label': label!, - }; -} - -/// A proposal is associated with a bunch of notes which may optionally be -/// associated with a deal and/or revision number. -class MarketplaceNote { - /// The role of the person (buyer/seller) creating the note. - /// - /// (readonly) - core.String? creatorRole; - - /// Notes can optionally be associated with a deal. - /// - /// (readonly, except on create) - core.String? dealId; - - /// Identifies what kind of resource this is. - /// - /// Value: the fixed string "adexchangebuyer#marketplaceNote". - core.String? kind; - - /// The actual note to attach. - /// - /// (readonly, except on create) - core.String? note; - - /// The unique id for the note. - /// - /// (readonly) - core.String? noteId; - - /// The proposalId that a note is attached to. - /// - /// (readonly) - core.String? proposalId; - - /// If the note is associated with a proposal revision number, then store that - /// here. - /// - /// (readonly, except on create) - core.String? proposalRevisionNumber; - - /// The timestamp (ms since epoch) that this note was created. - /// - /// (readonly) - core.String? timestampMs; - - MarketplaceNote({ - this.creatorRole, - this.dealId, - this.kind, - this.note, - this.noteId, - this.proposalId, - this.proposalRevisionNumber, - this.timestampMs, - }); - - MarketplaceNote.fromJson(core.Map _json) - : this( - creatorRole: _json.containsKey('creatorRole') - ? _json['creatorRole'] as core.String - : null, - dealId: _json.containsKey('dealId') - ? _json['dealId'] as core.String - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - note: _json.containsKey('note') ? _json['note'] as core.String : null, - noteId: _json.containsKey('noteId') - ? _json['noteId'] as core.String - : null, - proposalId: _json.containsKey('proposalId') - ? _json['proposalId'] as core.String - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - timestampMs: _json.containsKey('timestampMs') - ? _json['timestampMs'] as core.String - : null, - ); - - core.Map toJson() => { - if (creatorRole != null) 'creatorRole': creatorRole!, - if (dealId != null) 'dealId': dealId!, - if (kind != null) 'kind': kind!, - if (note != null) 'note': note!, - if (noteId != null) 'noteId': noteId!, - if (proposalId != null) 'proposalId': proposalId!, - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - if (timestampMs != null) 'timestampMs': timestampMs!, - }; -} - -class MobileApplication { - core.String? appStore; - core.String? externalAppId; - - MobileApplication({ - this.appStore, - this.externalAppId, - }); - - MobileApplication.fromJson(core.Map _json) - : this( - appStore: _json.containsKey('appStore') - ? _json['appStore'] as core.String - : null, - externalAppId: _json.containsKey('externalAppId') - ? _json['externalAppId'] as core.String - : null, - ); - - core.Map toJson() => { - if (appStore != null) 'appStore': appStore!, - if (externalAppId != null) 'externalAppId': externalAppId!, - }; -} - -/// The configuration data for an Ad Exchange performance report list. -class PerformanceReport { - /// The number of bid responses with an ad. - core.double? bidRate; - - /// The number of bid requests sent to your bidder. - core.double? bidRequestRate; - - /// Rate of various prefiltering statuses per match. - /// - /// Please refer to the callout-status-codes.txt file for different statuses. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? calloutStatusRate; - - /// Average QPS for cookie matcher operations. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? cookieMatcherStatusRate; - - /// Rate of ads with a given status. - /// - /// Please refer to the creative-status-codes.txt file for different statuses. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? creativeStatusRate; - - /// The number of bid responses that were filtered due to a policy violation - /// or other errors. - core.double? filteredBidRate; - - /// Average QPS for hosted match operations. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List? hostedMatchStatusRate; - - /// The number of potential queries based on your pretargeting settings. - core.double? inventoryMatchRate; - - /// Resource type. - core.String? kind; - - /// The 50th percentile round trip latency(ms) as perceived from Google - /// servers for the duration period covered by the report. - core.double? latency50thPercentile; - - /// The 85th percentile round trip latency(ms) as perceived from Google - /// servers for the duration period covered by the report. - core.double? latency85thPercentile; - - /// The 95th percentile round trip latency(ms) as perceived from Google - /// servers for the duration period covered by the report. - core.double? latency95thPercentile; - - /// Rate of various quota account statuses per quota check. - core.double? noQuotaInRegion; - - /// Rate of various quota account statuses per quota check. - core.double? outOfQuota; - - /// Average QPS for pixel match requests from clients. - core.double? pixelMatchRequests; - - /// Average QPS for pixel match responses from clients. - core.double? pixelMatchResponses; - - /// The configured quota limits for this account. - core.double? quotaConfiguredLimit; - - /// The throttled quota limits for this account. - core.double? quotaThrottledLimit; - - /// The trading location of this data. - core.String? region; - - /// The number of properly formed bid responses received by our servers within - /// the deadline. - core.double? successfulRequestRate; - - /// The unix timestamp of the starting time of this performance data. - core.String? timestamp; - - /// The number of bid responses that were unsuccessful due to timeouts, - /// incorrect formatting, etc. - core.double? unsuccessfulRequestRate; - - PerformanceReport({ - this.bidRate, - this.bidRequestRate, - this.calloutStatusRate, - this.cookieMatcherStatusRate, - this.creativeStatusRate, - this.filteredBidRate, - this.hostedMatchStatusRate, - this.inventoryMatchRate, - this.kind, - this.latency50thPercentile, - this.latency85thPercentile, - this.latency95thPercentile, - this.noQuotaInRegion, - this.outOfQuota, - this.pixelMatchRequests, - this.pixelMatchResponses, - this.quotaConfiguredLimit, - this.quotaThrottledLimit, - this.region, - this.successfulRequestRate, - this.timestamp, - this.unsuccessfulRequestRate, - }); - - PerformanceReport.fromJson(core.Map _json) - : this( - bidRate: _json.containsKey('bidRate') - ? (_json['bidRate'] as core.num).toDouble() - : null, - bidRequestRate: _json.containsKey('bidRequestRate') - ? (_json['bidRequestRate'] as core.num).toDouble() - : null, - calloutStatusRate: _json.containsKey('calloutStatusRate') - ? (_json['calloutStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - cookieMatcherStatusRate: _json.containsKey('cookieMatcherStatusRate') - ? (_json['cookieMatcherStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - creativeStatusRate: _json.containsKey('creativeStatusRate') - ? (_json['creativeStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - filteredBidRate: _json.containsKey('filteredBidRate') - ? (_json['filteredBidRate'] as core.num).toDouble() - : null, - hostedMatchStatusRate: _json.containsKey('hostedMatchStatusRate') - ? (_json['hostedMatchStatusRate'] as core.List) - .map((value) => value as core.Object) - .toList() - : null, - inventoryMatchRate: _json.containsKey('inventoryMatchRate') - ? (_json['inventoryMatchRate'] as core.num).toDouble() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - latency50thPercentile: _json.containsKey('latency50thPercentile') - ? (_json['latency50thPercentile'] as core.num).toDouble() - : null, - latency85thPercentile: _json.containsKey('latency85thPercentile') - ? (_json['latency85thPercentile'] as core.num).toDouble() - : null, - latency95thPercentile: _json.containsKey('latency95thPercentile') - ? (_json['latency95thPercentile'] as core.num).toDouble() - : null, - noQuotaInRegion: _json.containsKey('noQuotaInRegion') - ? (_json['noQuotaInRegion'] as core.num).toDouble() - : null, - outOfQuota: _json.containsKey('outOfQuota') - ? (_json['outOfQuota'] as core.num).toDouble() - : null, - pixelMatchRequests: _json.containsKey('pixelMatchRequests') - ? (_json['pixelMatchRequests'] as core.num).toDouble() - : null, - pixelMatchResponses: _json.containsKey('pixelMatchResponses') - ? (_json['pixelMatchResponses'] as core.num).toDouble() - : null, - quotaConfiguredLimit: _json.containsKey('quotaConfiguredLimit') - ? (_json['quotaConfiguredLimit'] as core.num).toDouble() - : null, - quotaThrottledLimit: _json.containsKey('quotaThrottledLimit') - ? (_json['quotaThrottledLimit'] as core.num).toDouble() - : null, - region: _json.containsKey('region') - ? _json['region'] as core.String - : null, - successfulRequestRate: _json.containsKey('successfulRequestRate') - ? (_json['successfulRequestRate'] as core.num).toDouble() - : null, - timestamp: _json.containsKey('timestamp') - ? _json['timestamp'] as core.String - : null, - unsuccessfulRequestRate: _json.containsKey('unsuccessfulRequestRate') - ? (_json['unsuccessfulRequestRate'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (bidRate != null) 'bidRate': bidRate!, - if (bidRequestRate != null) 'bidRequestRate': bidRequestRate!, - if (calloutStatusRate != null) 'calloutStatusRate': calloutStatusRate!, - if (cookieMatcherStatusRate != null) - 'cookieMatcherStatusRate': cookieMatcherStatusRate!, - if (creativeStatusRate != null) - 'creativeStatusRate': creativeStatusRate!, - if (filteredBidRate != null) 'filteredBidRate': filteredBidRate!, - if (hostedMatchStatusRate != null) - 'hostedMatchStatusRate': hostedMatchStatusRate!, - if (inventoryMatchRate != null) - 'inventoryMatchRate': inventoryMatchRate!, - if (kind != null) 'kind': kind!, - if (latency50thPercentile != null) - 'latency50thPercentile': latency50thPercentile!, - if (latency85thPercentile != null) - 'latency85thPercentile': latency85thPercentile!, - if (latency95thPercentile != null) - 'latency95thPercentile': latency95thPercentile!, - if (noQuotaInRegion != null) 'noQuotaInRegion': noQuotaInRegion!, - if (outOfQuota != null) 'outOfQuota': outOfQuota!, - if (pixelMatchRequests != null) - 'pixelMatchRequests': pixelMatchRequests!, - if (pixelMatchResponses != null) - 'pixelMatchResponses': pixelMatchResponses!, - if (quotaConfiguredLimit != null) - 'quotaConfiguredLimit': quotaConfiguredLimit!, - if (quotaThrottledLimit != null) - 'quotaThrottledLimit': quotaThrottledLimit!, - if (region != null) 'region': region!, - if (successfulRequestRate != null) - 'successfulRequestRate': successfulRequestRate!, - if (timestamp != null) 'timestamp': timestamp!, - if (unsuccessfulRequestRate != null) - 'unsuccessfulRequestRate': unsuccessfulRequestRate!, - }; -} - -/// The configuration data for an Ad Exchange performance report list. -class PerformanceReportList { - /// Resource type. - core.String? kind; - - /// A list of performance reports relevant for the account. - core.List? performanceReport; - - PerformanceReportList({ - this.kind, - this.performanceReport, - }); - - PerformanceReportList.fromJson(core.Map _json) - : this( - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - performanceReport: _json.containsKey('performanceReport') - ? (_json['performanceReport'] as core.List) - .map((value) => PerformanceReport.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (kind != null) 'kind': kind!, - if (performanceReport != null) - 'performanceReport': - performanceReport!.map((value) => value.toJson()).toList(), - }; -} - -class PretargetingConfigDimensions { - /// Height in pixels. - core.String? height; - - /// Width in pixels. - core.String? width; - - PretargetingConfigDimensions({ - this.height, - this.width, - }); - - PretargetingConfigDimensions.fromJson(core.Map _json) - : this( - height: _json.containsKey('height') - ? _json['height'] as core.String - : null, - width: - _json.containsKey('width') ? _json['width'] as core.String : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (width != null) 'width': width!, - }; -} - -class PretargetingConfigExcludedPlacements { - /// The value of the placement. - /// - /// Interpretation depends on the placement type, e.g. URL for a site - /// placement, channel name for a channel placement, app id for a mobile app - /// placement. - core.String? token; - - /// The type of the placement. - core.String? type; - - PretargetingConfigExcludedPlacements({ - this.token, - this.type, - }); - - PretargetingConfigExcludedPlacements.fromJson(core.Map _json) - : this( - token: - _json.containsKey('token') ? _json['token'] as core.String : null, - type: _json.containsKey('type') ? _json['type'] as core.String : null, - ); - - core.Map toJson() => { - if (token != null) 'token': token!, - if (type != null) 'type': type!, - }; -} - -class PretargetingConfigPlacements { - /// The value of the placement. - /// - /// Interpretation depends on the placement type, e.g. URL for a site - /// placement, channel name for a channel placement, app id for a mobile app - /// placement. - core.String? token; - - /// The type of the placement. - core.String? type; - - PretargetingConfigPlacements({ - this.token, - this.type, - }); - - PretargetingConfigPlacements.fromJson(core.Map _json) - : this( - token: - _json.containsKey('token') ? _json['token'] as core.String : null, - type: _json.containsKey('type') ? _json['type'] as core.String : null, - ); - - core.Map toJson() => { - if (token != null) 'token': token!, - if (type != null) 'type': type!, - }; -} - -class PretargetingConfigVideoPlayerSizes { - /// The type of aspect ratio. - /// - /// Leave this field blank to match all aspect ratios. - core.String? aspectRatio; - - /// The minimum player height in pixels. - /// - /// Leave this field blank to match any player height. - core.String? minHeight; - - /// The minimum player width in pixels. - /// - /// Leave this field blank to match any player width. - core.String? minWidth; - - PretargetingConfigVideoPlayerSizes({ - this.aspectRatio, - this.minHeight, - this.minWidth, - }); - - PretargetingConfigVideoPlayerSizes.fromJson(core.Map _json) - : this( - aspectRatio: _json.containsKey('aspectRatio') - ? _json['aspectRatio'] as core.String - : null, - minHeight: _json.containsKey('minHeight') - ? _json['minHeight'] as core.String - : null, - minWidth: _json.containsKey('minWidth') - ? _json['minWidth'] as core.String - : null, - ); - - core.Map toJson() => { - if (aspectRatio != null) 'aspectRatio': aspectRatio!, - if (minHeight != null) 'minHeight': minHeight!, - if (minWidth != null) 'minWidth': minWidth!, - }; -} - -class PretargetingConfig { - /// The id for billing purposes, provided for reference. - /// - /// Leave this field blank for insert requests; the id will be generated - /// automatically. - core.String? billingId; - - /// The config id; generated automatically. - /// - /// Leave this field blank for insert requests. - core.String? configId; - - /// The name of the config. - /// - /// Must be unique. Required for all requests. - core.String? configName; - - /// List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or - /// PRETARGETING_CREATIVE_TYPE_VIDEO. - core.List? creativeType; - - /// Requests which allow one of these (width, height) pairs will match. - /// - /// All pairs must be supported ad dimensions. - core.List? dimensions; - - /// Requests with any of these content labels will not match. - /// - /// Values are from content-labels.txt in the downloadable files section. - core.List? excludedContentLabels; - - /// Requests containing any of these geo criteria ids will not match. - core.List? excludedGeoCriteriaIds; - - /// Requests containing any of these placements will not match. - core.List? excludedPlacements; - - /// Requests containing any of these users list ids will not match. - core.List? excludedUserLists; - - /// Requests containing any of these vertical ids will not match. - /// - /// Values are from the publisher-verticals.txt file in the downloadable files - /// section. - core.List? excludedVerticals; - - /// Requests containing any of these geo criteria ids will match. - core.List? geoCriteriaIds; - - /// Whether this config is active. - /// - /// Required for all requests. - core.bool? isActive; - - /// The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". - core.String? kind; - - /// Request containing any of these language codes will match. - core.List? languages; - - /// The maximum QPS allocated to this pretargeting configuration, used for - /// pretargeting-level QPS limits. - /// - /// By default, this is not set, which indicates that there is no QPS limit at - /// the configuration level (a global or account-level limit may still be - /// imposed). - core.String? maximumQps; - - /// Requests where the predicted viewability is below the specified decile - /// will not match. - /// - /// E.g. if the buyer sets this value to 5, requests from slots where the - /// predicted viewability is below 50% will not match. If the predicted - /// viewability is unknown this field will be ignored. - core.int? minimumViewabilityDecile; - - /// Requests containing any of these mobile carrier ids will match. - /// - /// Values are from mobile-carriers.csv in the downloadable files section. - core.List? mobileCarriers; - - /// Requests containing any of these mobile device ids will match. - /// - /// Values are from mobile-devices.csv in the downloadable files section. - core.List? mobileDevices; - - /// Requests containing any of these mobile operating system version ids will - /// match. - /// - /// Values are from mobile-os.csv in the downloadable files section. - core.List? mobileOperatingSystemVersions; - - /// Requests containing any of these placements will match. - core.List? placements; - - /// Requests matching any of these platforms will match. - /// - /// Possible values are PRETARGETING_PLATFORM_MOBILE, - /// PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET. - core.List? platforms; - - /// Creative attributes should be declared here if all creatives corresponding - /// to this pretargeting configuration have that creative attribute. - /// - /// Values are from pretargetable-creative-attributes.txt in the downloadable - /// files section. - core.List? supportedCreativeAttributes; - - /// Requests containing the specified type of user data will match. - /// - /// Possible values are HOSTED_MATCH_DATA, which means the request is - /// cookie-targetable and has a match in the buyer's hosted match table, and - /// COOKIE_OR_IDFA, which means the request has either a targetable cookie or - /// an iOS IDFA. - core.List? userIdentifierDataRequired; - - /// Requests containing any of these user list ids will match. - core.List? userLists; - - /// Requests that allow any of these vendor ids will match. - /// - /// Values are from vendors.txt in the downloadable files section. - core.List? vendorTypes; - - /// Requests containing any of these vertical ids will match. - core.List? verticals; - - /// Video requests satisfying any of these player size constraints will match. - core.List? videoPlayerSizes; - - PretargetingConfig({ - this.billingId, - this.configId, - this.configName, - this.creativeType, - this.dimensions, - this.excludedContentLabels, - this.excludedGeoCriteriaIds, - this.excludedPlacements, - this.excludedUserLists, - this.excludedVerticals, - this.geoCriteriaIds, - this.isActive, - this.kind, - this.languages, - this.maximumQps, - this.minimumViewabilityDecile, - this.mobileCarriers, - this.mobileDevices, - this.mobileOperatingSystemVersions, - this.placements, - this.platforms, - this.supportedCreativeAttributes, - this.userIdentifierDataRequired, - this.userLists, - this.vendorTypes, - this.verticals, - this.videoPlayerSizes, - }); - - PretargetingConfig.fromJson(core.Map _json) - : this( - billingId: _json.containsKey('billingId') - ? _json['billingId'] as core.String - : null, - configId: _json.containsKey('configId') - ? _json['configId'] as core.String - : null, - configName: _json.containsKey('configName') - ? _json['configName'] as core.String - : null, - creativeType: _json.containsKey('creativeType') - ? (_json['creativeType'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - dimensions: _json.containsKey('dimensions') - ? (_json['dimensions'] as core.List) - .map((value) => - PretargetingConfigDimensions.fromJson( - value as core.Map)) - .toList() - : null, - excludedContentLabels: _json.containsKey('excludedContentLabels') - ? (_json['excludedContentLabels'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - excludedGeoCriteriaIds: _json.containsKey('excludedGeoCriteriaIds') - ? (_json['excludedGeoCriteriaIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - excludedPlacements: _json.containsKey('excludedPlacements') - ? (_json['excludedPlacements'] as core.List) - .map((value) => - PretargetingConfigExcludedPlacements.fromJson( - value as core.Map)) - .toList() - : null, - excludedUserLists: _json.containsKey('excludedUserLists') - ? (_json['excludedUserLists'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - excludedVerticals: _json.containsKey('excludedVerticals') - ? (_json['excludedVerticals'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - geoCriteriaIds: _json.containsKey('geoCriteriaIds') - ? (_json['geoCriteriaIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - isActive: _json.containsKey('isActive') - ? _json['isActive'] as core.bool - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - languages: _json.containsKey('languages') - ? (_json['languages'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - maximumQps: _json.containsKey('maximumQps') - ? _json['maximumQps'] as core.String - : null, - minimumViewabilityDecile: - _json.containsKey('minimumViewabilityDecile') - ? _json['minimumViewabilityDecile'] as core.int - : null, - mobileCarriers: _json.containsKey('mobileCarriers') - ? (_json['mobileCarriers'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - mobileDevices: _json.containsKey('mobileDevices') - ? (_json['mobileDevices'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - mobileOperatingSystemVersions: - _json.containsKey('mobileOperatingSystemVersions') - ? (_json['mobileOperatingSystemVersions'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - placements: _json.containsKey('placements') - ? (_json['placements'] as core.List) - .map((value) => - PretargetingConfigPlacements.fromJson( - value as core.Map)) - .toList() - : null, - platforms: _json.containsKey('platforms') - ? (_json['platforms'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - supportedCreativeAttributes: - _json.containsKey('supportedCreativeAttributes') - ? (_json['supportedCreativeAttributes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - userIdentifierDataRequired: - _json.containsKey('userIdentifierDataRequired') - ? (_json['userIdentifierDataRequired'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - userLists: _json.containsKey('userLists') - ? (_json['userLists'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - vendorTypes: _json.containsKey('vendorTypes') - ? (_json['vendorTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - verticals: _json.containsKey('verticals') - ? (_json['verticals'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - videoPlayerSizes: _json.containsKey('videoPlayerSizes') - ? (_json['videoPlayerSizes'] as core.List) - .map((value) => - PretargetingConfigVideoPlayerSizes.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (billingId != null) 'billingId': billingId!, - if (configId != null) 'configId': configId!, - if (configName != null) 'configName': configName!, - if (creativeType != null) 'creativeType': creativeType!, - if (dimensions != null) - 'dimensions': dimensions!.map((value) => value.toJson()).toList(), - if (excludedContentLabels != null) - 'excludedContentLabels': excludedContentLabels!, - if (excludedGeoCriteriaIds != null) - 'excludedGeoCriteriaIds': excludedGeoCriteriaIds!, - if (excludedPlacements != null) - 'excludedPlacements': - excludedPlacements!.map((value) => value.toJson()).toList(), - if (excludedUserLists != null) 'excludedUserLists': excludedUserLists!, - if (excludedVerticals != null) 'excludedVerticals': excludedVerticals!, - if (geoCriteriaIds != null) 'geoCriteriaIds': geoCriteriaIds!, - if (isActive != null) 'isActive': isActive!, - if (kind != null) 'kind': kind!, - if (languages != null) 'languages': languages!, - if (maximumQps != null) 'maximumQps': maximumQps!, - if (minimumViewabilityDecile != null) - 'minimumViewabilityDecile': minimumViewabilityDecile!, - if (mobileCarriers != null) 'mobileCarriers': mobileCarriers!, - if (mobileDevices != null) 'mobileDevices': mobileDevices!, - if (mobileOperatingSystemVersions != null) - 'mobileOperatingSystemVersions': mobileOperatingSystemVersions!, - if (placements != null) - 'placements': placements!.map((value) => value.toJson()).toList(), - if (platforms != null) 'platforms': platforms!, - if (supportedCreativeAttributes != null) - 'supportedCreativeAttributes': supportedCreativeAttributes!, - if (userIdentifierDataRequired != null) - 'userIdentifierDataRequired': userIdentifierDataRequired!, - if (userLists != null) 'userLists': userLists!, - if (vendorTypes != null) 'vendorTypes': vendorTypes!, - if (verticals != null) 'verticals': verticals!, - if (videoPlayerSizes != null) - 'videoPlayerSizes': - videoPlayerSizes!.map((value) => value.toJson()).toList(), - }; -} - -class PretargetingConfigList { - /// A list of pretargeting configs - core.List? items; - - /// Resource type. - core.String? kind; - - PretargetingConfigList({ - this.items, - this.kind, - }); - - PretargetingConfigList.fromJson(core.Map _json) - : this( - items: _json.containsKey('items') - ? (_json['items'] as core.List) - .map((value) => - PretargetingConfig.fromJson( - value as core.Map)) - .toList() - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - ); - - core.Map toJson() => { - if (items != null) - 'items': items!.map((value) => value.toJson()).toList(), - if (kind != null) 'kind': kind!, - }; -} - -class Price { - /// The price value in micros. - core.double? amountMicros; - - /// The currency code for the price. - core.String? currencyCode; - - /// In case of CPD deals, the expected CPM in micros. - core.double? expectedCpmMicros; - - /// The pricing type for the deal/product. - core.String? pricingType; - - Price({ - this.amountMicros, - this.currencyCode, - this.expectedCpmMicros, - this.pricingType, - }); - - Price.fromJson(core.Map _json) - : this( - amountMicros: _json.containsKey('amountMicros') - ? (_json['amountMicros'] as core.num).toDouble() - : null, - currencyCode: _json.containsKey('currencyCode') - ? _json['currencyCode'] as core.String - : null, - expectedCpmMicros: _json.containsKey('expectedCpmMicros') - ? (_json['expectedCpmMicros'] as core.num).toDouble() - : null, - pricingType: _json.containsKey('pricingType') - ? _json['pricingType'] as core.String - : null, - ); - - core.Map toJson() => { - if (amountMicros != null) 'amountMicros': amountMicros!, - if (currencyCode != null) 'currencyCode': currencyCode!, - if (expectedCpmMicros != null) 'expectedCpmMicros': expectedCpmMicros!, - if (pricingType != null) 'pricingType': pricingType!, - }; -} - -/// Used to specify pricing rules for buyers. -/// -/// Each PricePerBuyer in a product can become \[0,1\] deals. To check if there -/// is a PricePerBuyer for a particular buyer we look for the most specific -/// matching rule - we first look for a rule matching the buyer and otherwise -/// look for a matching rule where no buyer is set. -class PricePerBuyer { - /// Optional access type for this buyer. - core.String? auctionTier; - - /// Reference to the buyer that will get billed. - Buyer? billedBuyer; - - /// The buyer who will pay this price. - /// - /// If unset, all buyers can pay this price (if the advertisers match, and - /// there's no more specific rule matching the buyer). - Buyer? buyer; - - /// The specified price - Price? price; - - PricePerBuyer({ - this.auctionTier, - this.billedBuyer, - this.buyer, - this.price, - }); - - PricePerBuyer.fromJson(core.Map _json) - : this( - auctionTier: _json.containsKey('auctionTier') - ? _json['auctionTier'] as core.String - : null, - billedBuyer: _json.containsKey('billedBuyer') - ? Buyer.fromJson( - _json['billedBuyer'] as core.Map) - : null, - buyer: _json.containsKey('buyer') - ? Buyer.fromJson( - _json['buyer'] as core.Map) - : null, - price: _json.containsKey('price') - ? Price.fromJson( - _json['price'] as core.Map) - : null, - ); - - core.Map toJson() => { - if (auctionTier != null) 'auctionTier': auctionTier!, - if (billedBuyer != null) 'billedBuyer': billedBuyer!.toJson(), - if (buyer != null) 'buyer': buyer!.toJson(), - if (price != null) 'price': price!.toJson(), - }; -} - -class PrivateData { - core.String? referenceId; - core.String? referencePayload; - core.List get referencePayloadAsBytes => - convert.base64.decode(referencePayload!); - - set referencePayloadAsBytes(core.List _bytes) { - referencePayload = - convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); - } - - PrivateData({ - this.referenceId, - this.referencePayload, - }); - - PrivateData.fromJson(core.Map _json) - : this( - referenceId: _json.containsKey('referenceId') - ? _json['referenceId'] as core.String - : null, - referencePayload: _json.containsKey('referencePayload') - ? _json['referencePayload'] as core.String - : null, - ); - - core.Map toJson() => { - if (referenceId != null) 'referenceId': referenceId!, - if (referencePayload != null) 'referencePayload': referencePayload!, - }; -} - -/// A product is segment of inventory that a seller wishes to sell. -/// -/// It is associated with certain terms and targeting information which helps -/// buyer know more about the inventory. Each field in a product can have one of -/// the following setting: -/// -/// (readonly) - It is an error to try and set this field. (buyer-readonly) - -/// Only the seller can set this field. (seller-readonly) - Only the buyer can -/// set this field. (updatable) - The field is updatable at all times by either -/// buyer or the seller. -class Product { - /// The billed buyer corresponding to the buyer that created the offer. - /// - /// (readonly, except on create) - Buyer? billedBuyer; - - /// The buyer that created the offer if this is a buyer initiated offer - /// (readonly, except on create) - Buyer? buyer; - - /// Creation time in ms. - /// - /// since epoch (readonly) - core.String? creationTimeMs; - - /// Optional contact information for the creator of this product. - /// - /// (buyer-readonly) - core.List? creatorContacts; - - /// The role that created the offer. - /// - /// Set to BUYER for buyer initiated offers. - core.String? creatorRole; - - /// The set of fields around delivery control that are interesting for a buyer - /// to see but are non-negotiable. - /// - /// These are set by the publisher. This message is assigned an id of 100 - /// since some day we would want to model this as a protobuf extension. - DeliveryControl? deliveryControl; - - /// The proposed end time for the deal (ms since epoch) (buyer-readonly) - core.String? flightEndTimeMs; - - /// Inventory availability dates. - /// - /// (times are in ms since epoch) The granularity is generally in the order of - /// seconds. (buyer-readonly) - core.String? flightStartTimeMs; - - /// If the creator has already signed off on the product, then the buyer can - /// finalize the deal by accepting the product as is. - /// - /// When copying to a proposal, if any of the terms are changed, then - /// auto_finalize is automatically set to false. - core.bool? hasCreatorSignedOff; - - /// What exchange will provide this inventory (readonly, except on create). - core.String? inventorySource; - - /// Identifies what kind of resource this is. - /// - /// Value: the fixed string "adexchangebuyer#product". - core.String? kind; - - /// Optional List of labels for the product (optional, buyer-readonly). - core.List? labels; - - /// Time of last update in ms. - /// - /// since epoch (readonly) - core.String? lastUpdateTimeMs; - - /// Optional legacy offer id if this offer is a preferred deal offer. - core.String? legacyOfferId; - - /// Marketplace publisher profile Id. - /// - /// This Id differs from the regular publisher_profile_id in that 1. This is a - /// new id, the old Id will be deprecated in 2017. 2. This id uniquely - /// identifies a publisher profile by itself. - core.String? marketplacePublisherProfileId; - - /// The name for this product as set by the seller. - /// - /// (buyer-readonly) - core.String? name; - - /// Optional private auction id if this offer is a private auction offer. - core.String? privateAuctionId; - - /// The unique id for the product (readonly) - core.String? productId; - - /// Id of the publisher profile for a given seller. - /// - /// A (seller.account_id, publisher_profile_id) pair uniquely identifies a - /// publisher profile. Buyers can call the PublisherProfiles::List endpoint to - /// get a list of publisher profiles for a given seller. - core.String? publisherProfileId; - - /// Publisher self-provided forecast information. - PublisherProvidedForecast? publisherProvidedForecast; - - /// The revision number of the product. - /// - /// (readonly) - core.String? revisionNumber; - - /// Information about the seller that created this product (readonly, except - /// on create) - Seller? seller; - - /// Targeting that is shared between the buyer and the seller. - /// - /// Each targeting criteria has a specified key and for each key there is a - /// list of inclusion value or exclusion values. (buyer-readonly) - core.List? sharedTargetings; - - /// The state of the product. - /// - /// (buyer-readonly) - core.String? state; - - /// The syndication product associated with the deal. - /// - /// (readonly, except on create) - core.String? syndicationProduct; - - /// The negotiable terms of the deal (buyer-readonly) - DealTerms? terms; - - /// The web property code for the seller. - /// - /// This field is meant to be copied over as is when creating deals. - core.String? webPropertyCode; - - Product({ - this.billedBuyer, - this.buyer, - this.creationTimeMs, - this.creatorContacts, - this.creatorRole, - this.deliveryControl, - this.flightEndTimeMs, - this.flightStartTimeMs, - this.hasCreatorSignedOff, - this.inventorySource, - this.kind, - this.labels, - this.lastUpdateTimeMs, - this.legacyOfferId, - this.marketplacePublisherProfileId, - this.name, - this.privateAuctionId, - this.productId, - this.publisherProfileId, - this.publisherProvidedForecast, - this.revisionNumber, - this.seller, - this.sharedTargetings, - this.state, - this.syndicationProduct, - this.terms, - this.webPropertyCode, - }); - - Product.fromJson(core.Map _json) - : this( - billedBuyer: _json.containsKey('billedBuyer') - ? Buyer.fromJson( - _json['billedBuyer'] as core.Map) - : null, - buyer: _json.containsKey('buyer') - ? Buyer.fromJson( - _json['buyer'] as core.Map) - : null, - creationTimeMs: _json.containsKey('creationTimeMs') - ? _json['creationTimeMs'] as core.String - : null, - creatorContacts: _json.containsKey('creatorContacts') - ? (_json['creatorContacts'] as core.List) - .map((value) => - ContactInformation.fromJson( - value as core.Map)) - .toList() - : null, - creatorRole: _json.containsKey('creatorRole') - ? _json['creatorRole'] as core.String - : null, - deliveryControl: _json.containsKey('deliveryControl') - ? DeliveryControl.fromJson(_json['deliveryControl'] - as core.Map) - : null, - flightEndTimeMs: _json.containsKey('flightEndTimeMs') - ? _json['flightEndTimeMs'] as core.String - : null, - flightStartTimeMs: _json.containsKey('flightStartTimeMs') - ? _json['flightStartTimeMs'] as core.String - : null, - hasCreatorSignedOff: _json.containsKey('hasCreatorSignedOff') - ? _json['hasCreatorSignedOff'] as core.bool - : null, - inventorySource: _json.containsKey('inventorySource') - ? _json['inventorySource'] as core.String - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - labels: _json.containsKey('labels') - ? (_json['labels'] as core.List) - .map((value) => MarketplaceLabel.fromJson( - value as core.Map)) - .toList() - : null, - lastUpdateTimeMs: _json.containsKey('lastUpdateTimeMs') - ? _json['lastUpdateTimeMs'] as core.String - : null, - legacyOfferId: _json.containsKey('legacyOfferId') - ? _json['legacyOfferId'] as core.String - : null, - marketplacePublisherProfileId: - _json.containsKey('marketplacePublisherProfileId') - ? _json['marketplacePublisherProfileId'] as core.String - : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - privateAuctionId: _json.containsKey('privateAuctionId') - ? _json['privateAuctionId'] as core.String - : null, - productId: _json.containsKey('productId') - ? _json['productId'] as core.String - : null, - publisherProfileId: _json.containsKey('publisherProfileId') - ? _json['publisherProfileId'] as core.String - : null, - publisherProvidedForecast: - _json.containsKey('publisherProvidedForecast') - ? PublisherProvidedForecast.fromJson( - _json['publisherProvidedForecast'] - as core.Map) - : null, - revisionNumber: _json.containsKey('revisionNumber') - ? _json['revisionNumber'] as core.String - : null, - seller: _json.containsKey('seller') - ? Seller.fromJson( - _json['seller'] as core.Map) - : null, - sharedTargetings: _json.containsKey('sharedTargetings') - ? (_json['sharedTargetings'] as core.List) - .map((value) => SharedTargeting.fromJson( - value as core.Map)) - .toList() - : null, - state: - _json.containsKey('state') ? _json['state'] as core.String : null, - syndicationProduct: _json.containsKey('syndicationProduct') - ? _json['syndicationProduct'] as core.String - : null, - terms: _json.containsKey('terms') - ? DealTerms.fromJson( - _json['terms'] as core.Map) - : null, - webPropertyCode: _json.containsKey('webPropertyCode') - ? _json['webPropertyCode'] as core.String - : null, - ); - - core.Map toJson() => { - if (billedBuyer != null) 'billedBuyer': billedBuyer!.toJson(), - if (buyer != null) 'buyer': buyer!.toJson(), - if (creationTimeMs != null) 'creationTimeMs': creationTimeMs!, - if (creatorContacts != null) - 'creatorContacts': - creatorContacts!.map((value) => value.toJson()).toList(), - if (creatorRole != null) 'creatorRole': creatorRole!, - if (deliveryControl != null) - 'deliveryControl': deliveryControl!.toJson(), - if (flightEndTimeMs != null) 'flightEndTimeMs': flightEndTimeMs!, - if (flightStartTimeMs != null) 'flightStartTimeMs': flightStartTimeMs!, - if (hasCreatorSignedOff != null) - 'hasCreatorSignedOff': hasCreatorSignedOff!, - if (inventorySource != null) 'inventorySource': inventorySource!, - if (kind != null) 'kind': kind!, - if (labels != null) - 'labels': labels!.map((value) => value.toJson()).toList(), - if (lastUpdateTimeMs != null) 'lastUpdateTimeMs': lastUpdateTimeMs!, - if (legacyOfferId != null) 'legacyOfferId': legacyOfferId!, - if (marketplacePublisherProfileId != null) - 'marketplacePublisherProfileId': marketplacePublisherProfileId!, - if (name != null) 'name': name!, - if (privateAuctionId != null) 'privateAuctionId': privateAuctionId!, - if (productId != null) 'productId': productId!, - if (publisherProfileId != null) - 'publisherProfileId': publisherProfileId!, - if (publisherProvidedForecast != null) - 'publisherProvidedForecast': publisherProvidedForecast!.toJson(), - if (revisionNumber != null) 'revisionNumber': revisionNumber!, - if (seller != null) 'seller': seller!.toJson(), - if (sharedTargetings != null) - 'sharedTargetings': - sharedTargetings!.map((value) => value.toJson()).toList(), - if (state != null) 'state': state!, - if (syndicationProduct != null) - 'syndicationProduct': syndicationProduct!, - if (terms != null) 'terms': terms!.toJson(), - if (webPropertyCode != null) 'webPropertyCode': webPropertyCode!, - }; -} - -/// Represents a proposal in the marketplace. -/// -/// A proposal is the unit of negotiation between a seller and a buyer and -/// contains deals which are served. Each field in a proposal can have one of -/// the following setting: -/// -/// (readonly) - It is an error to try and set this field. (buyer-readonly) - -/// Only the seller can set this field. (seller-readonly) - Only the buyer can -/// set this field. (updatable) - The field is updatable at all times by either -/// buyer or the seller. -class Proposal { - /// Reference to the buyer that will get billed for this proposal. - /// - /// (readonly) - Buyer? billedBuyer; - - /// Reference to the buyer on the proposal. - /// - /// (readonly, except on create) - Buyer? buyer; - - /// Optional contact information of the buyer. - /// - /// (seller-readonly) - core.List? buyerContacts; - - /// Private data for buyer. - /// - /// (hidden from seller). - PrivateData? buyerPrivateData; - - /// IDs of DBM advertisers permission to this proposal. - core.List? dbmAdvertiserIds; - - /// When an proposal is in an accepted state, indicates whether the buyer has - /// signed off. - /// - /// Once both sides have signed off on a deal, the proposal can be finalized - /// by the seller. (seller-readonly) - core.bool? hasBuyerSignedOff; - - /// When an proposal is in an accepted state, indicates whether the buyer has - /// signed off Once both sides have signed off on a deal, the proposal can be - /// finalized by the seller. - /// - /// (buyer-readonly) - core.bool? hasSellerSignedOff; - - /// What exchange will provide this inventory (readonly, except on create). - core.String? inventorySource; - - /// True if the proposal is being renegotiated (readonly). - core.bool? isRenegotiating; - - /// True, if the buyside inventory setup is complete for this proposal. - /// - /// (readonly, except via OrderSetupCompleted action) Deprecated in favor of - /// deal level setup complete flag. - core.bool? isSetupComplete; - - /// Identifies what kind of resource this is. - /// - /// Value: the fixed string "adexchangebuyer#proposal". - core.String? kind; - - /// List of labels associated with the proposal. - /// - /// (readonly) - core.List? labels; - - /// The role of the last user that either updated the proposal or left a - /// comment. - /// - /// (readonly) - core.String? lastUpdaterOrCommentorRole; - - /// The name for the proposal (updatable) - core.String? name; - - /// Optional negotiation id if this proposal is a preferred deal proposal. - core.String? negotiationId; - - /// Indicates whether the buyer/seller created the proposal.(readonly) - core.String? originatorRole; - - /// Optional private auction id if this proposal is a private auction - /// proposal. - core.String? privateAuctionId; - - /// The unique id of the proposal. - /// - /// (readonly). - core.String? proposalId; - - /// The current state of the proposal. - /// - /// (readonly) - core.String? proposalState; - - /// The revision number for the proposal (readonly). - core.String? revisionNumber; - - /// The time (ms since epoch) when the proposal was last revised (readonly). - core.String? revisionTimeMs; - - /// Reference to the seller on the proposal. - /// - /// (readonly, except on create) - Seller? seller; - - /// Optional contact information of the seller (buyer-readonly). - core.List? sellerContacts; - - Proposal({ - this.billedBuyer, - this.buyer, - this.buyerContacts, - this.buyerPrivateData, - this.dbmAdvertiserIds, - this.hasBuyerSignedOff, - this.hasSellerSignedOff, - this.inventorySource, - this.isRenegotiating, - this.isSetupComplete, - this.kind, - this.labels, - this.lastUpdaterOrCommentorRole, - this.name, - this.negotiationId, - this.originatorRole, - this.privateAuctionId, - this.proposalId, - this.proposalState, - this.revisionNumber, - this.revisionTimeMs, - this.seller, - this.sellerContacts, - }); - - Proposal.fromJson(core.Map _json) - : this( - billedBuyer: _json.containsKey('billedBuyer') - ? Buyer.fromJson( - _json['billedBuyer'] as core.Map) - : null, - buyer: _json.containsKey('buyer') - ? Buyer.fromJson( - _json['buyer'] as core.Map) - : null, - buyerContacts: _json.containsKey('buyerContacts') - ? (_json['buyerContacts'] as core.List) - .map((value) => - ContactInformation.fromJson( - value as core.Map)) - .toList() - : null, - buyerPrivateData: _json.containsKey('buyerPrivateData') - ? PrivateData.fromJson(_json['buyerPrivateData'] - as core.Map) - : null, - dbmAdvertiserIds: _json.containsKey('dbmAdvertiserIds') - ? (_json['dbmAdvertiserIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - hasBuyerSignedOff: _json.containsKey('hasBuyerSignedOff') - ? _json['hasBuyerSignedOff'] as core.bool - : null, - hasSellerSignedOff: _json.containsKey('hasSellerSignedOff') - ? _json['hasSellerSignedOff'] as core.bool - : null, - inventorySource: _json.containsKey('inventorySource') - ? _json['inventorySource'] as core.String - : null, - isRenegotiating: _json.containsKey('isRenegotiating') - ? _json['isRenegotiating'] as core.bool - : null, - isSetupComplete: _json.containsKey('isSetupComplete') - ? _json['isSetupComplete'] as core.bool - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - labels: _json.containsKey('labels') - ? (_json['labels'] as core.List) - .map((value) => MarketplaceLabel.fromJson( - value as core.Map)) - .toList() - : null, - lastUpdaterOrCommentorRole: - _json.containsKey('lastUpdaterOrCommentorRole') - ? _json['lastUpdaterOrCommentorRole'] as core.String - : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - negotiationId: _json.containsKey('negotiationId') - ? _json['negotiationId'] as core.String - : null, - originatorRole: _json.containsKey('originatorRole') - ? _json['originatorRole'] as core.String - : null, - privateAuctionId: _json.containsKey('privateAuctionId') - ? _json['privateAuctionId'] as core.String - : null, - proposalId: _json.containsKey('proposalId') - ? _json['proposalId'] as core.String - : null, - proposalState: _json.containsKey('proposalState') - ? _json['proposalState'] as core.String - : null, - revisionNumber: _json.containsKey('revisionNumber') - ? _json['revisionNumber'] as core.String - : null, - revisionTimeMs: _json.containsKey('revisionTimeMs') - ? _json['revisionTimeMs'] as core.String - : null, - seller: _json.containsKey('seller') - ? Seller.fromJson( - _json['seller'] as core.Map) - : null, - sellerContacts: _json.containsKey('sellerContacts') - ? (_json['sellerContacts'] as core.List) - .map((value) => - ContactInformation.fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (billedBuyer != null) 'billedBuyer': billedBuyer!.toJson(), - if (buyer != null) 'buyer': buyer!.toJson(), - if (buyerContacts != null) - 'buyerContacts': - buyerContacts!.map((value) => value.toJson()).toList(), - if (buyerPrivateData != null) - 'buyerPrivateData': buyerPrivateData!.toJson(), - if (dbmAdvertiserIds != null) 'dbmAdvertiserIds': dbmAdvertiserIds!, - if (hasBuyerSignedOff != null) 'hasBuyerSignedOff': hasBuyerSignedOff!, - if (hasSellerSignedOff != null) - 'hasSellerSignedOff': hasSellerSignedOff!, - if (inventorySource != null) 'inventorySource': inventorySource!, - if (isRenegotiating != null) 'isRenegotiating': isRenegotiating!, - if (isSetupComplete != null) 'isSetupComplete': isSetupComplete!, - if (kind != null) 'kind': kind!, - if (labels != null) - 'labels': labels!.map((value) => value.toJson()).toList(), - if (lastUpdaterOrCommentorRole != null) - 'lastUpdaterOrCommentorRole': lastUpdaterOrCommentorRole!, - if (name != null) 'name': name!, - if (negotiationId != null) 'negotiationId': negotiationId!, - if (originatorRole != null) 'originatorRole': originatorRole!, - if (privateAuctionId != null) 'privateAuctionId': privateAuctionId!, - if (proposalId != null) 'proposalId': proposalId!, - if (proposalState != null) 'proposalState': proposalState!, - if (revisionNumber != null) 'revisionNumber': revisionNumber!, - if (revisionTimeMs != null) 'revisionTimeMs': revisionTimeMs!, - if (seller != null) 'seller': seller!.toJson(), - if (sellerContacts != null) - 'sellerContacts': - sellerContacts!.map((value) => value.toJson()).toList(), - }; -} - -class PublisherProfileApiProto { - /// Publisher provided info on its audience. - core.String? audience; - - /// A pitch statement for the buyer - core.String? buyerPitchStatement; - - /// Direct contact for the publisher profile. - core.String? directContact; - - /// Exchange where this publisher profile is from. - /// - /// E.g. AdX, Rubicon etc... - core.String? exchange; - core.String? forecastInventory; - - /// Link to publisher's Google+ page. - core.String? googlePlusLink; - - /// True, if this is the parent profile, which represents all domains owned by - /// the publisher. - core.bool? isParent; - - /// True, if this profile is published. - /// - /// Deprecated for state. - core.bool? isPublished; - - /// Identifies what kind of resource this is. - /// - /// Value: the fixed string "adexchangebuyer#publisherProfileApiProto". - core.String? kind; - - /// The url to the logo for the publisher. - core.String? logoUrl; - - /// The url for additional marketing and sales materials. - core.String? mediaKitLink; - core.String? name; - - /// Publisher provided overview. - core.String? overview; - - /// The pair of (seller.account_id, profile_id) uniquely identifies a - /// publisher profile for a given publisher. - core.int? profileId; - - /// Programmatic contact for the publisher profile. - core.String? programmaticContact; - - /// The list of app IDs represented in this publisher profile. - /// - /// Empty if this is a parent profile. Deprecated in favor of publisher_app. - core.List? publisherAppIds; - - /// The list of apps represented in this publisher profile. - /// - /// Empty if this is a parent profile. - core.List? publisherApps; - - /// The list of domains represented in this publisher profile. - /// - /// Empty if this is a parent profile. - core.List? publisherDomains; - - /// Unique Id for publisher profile. - core.String? publisherProfileId; - - /// Publisher provided forecasting information. - PublisherProvidedForecast? publisherProvidedForecast; - - /// Link to publisher rate card - core.String? rateCardInfoLink; - - /// Link for a sample content page. - core.String? samplePageLink; - - /// Seller of the publisher profile. - Seller? seller; - - /// State of the publisher profile. - core.String? state; - - /// Publisher provided key metrics and rankings. - core.List? topHeadlines; - - PublisherProfileApiProto({ - this.audience, - this.buyerPitchStatement, - this.directContact, - this.exchange, - this.forecastInventory, - this.googlePlusLink, - this.isParent, - this.isPublished, - this.kind, - this.logoUrl, - this.mediaKitLink, - this.name, - this.overview, - this.profileId, - this.programmaticContact, - this.publisherAppIds, - this.publisherApps, - this.publisherDomains, - this.publisherProfileId, - this.publisherProvidedForecast, - this.rateCardInfoLink, - this.samplePageLink, - this.seller, - this.state, - this.topHeadlines, - }); - - PublisherProfileApiProto.fromJson(core.Map _json) - : this( - audience: _json.containsKey('audience') - ? _json['audience'] as core.String - : null, - buyerPitchStatement: _json.containsKey('buyerPitchStatement') - ? _json['buyerPitchStatement'] as core.String - : null, - directContact: _json.containsKey('directContact') - ? _json['directContact'] as core.String - : null, - exchange: _json.containsKey('exchange') - ? _json['exchange'] as core.String - : null, - forecastInventory: _json.containsKey('forecastInventory') - ? _json['forecastInventory'] as core.String - : null, - googlePlusLink: _json.containsKey('googlePlusLink') - ? _json['googlePlusLink'] as core.String - : null, - isParent: _json.containsKey('isParent') - ? _json['isParent'] as core.bool - : null, - isPublished: _json.containsKey('isPublished') - ? _json['isPublished'] as core.bool - : null, - kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, - logoUrl: _json.containsKey('logoUrl') - ? _json['logoUrl'] as core.String - : null, - mediaKitLink: _json.containsKey('mediaKitLink') - ? _json['mediaKitLink'] as core.String - : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - overview: _json.containsKey('overview') - ? _json['overview'] as core.String - : null, - profileId: _json.containsKey('profileId') - ? _json['profileId'] as core.int - : null, - programmaticContact: _json.containsKey('programmaticContact') - ? _json['programmaticContact'] as core.String - : null, - publisherAppIds: _json.containsKey('publisherAppIds') - ? (_json['publisherAppIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - publisherApps: _json.containsKey('publisherApps') - ? (_json['publisherApps'] as core.List) - .map((value) => MobileApplication.fromJson( - value as core.Map)) - .toList() - : null, - publisherDomains: _json.containsKey('publisherDomains') - ? (_json['publisherDomains'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - publisherProfileId: _json.containsKey('publisherProfileId') - ? _json['publisherProfileId'] as core.String - : null, - publisherProvidedForecast: - _json.containsKey('publisherProvidedForecast') - ? PublisherProvidedForecast.fromJson( - _json['publisherProvidedForecast'] - as core.Map) - : null, - rateCardInfoLink: _json.containsKey('rateCardInfoLink') - ? _json['rateCardInfoLink'] as core.String - : null, - samplePageLink: _json.containsKey('samplePageLink') - ? _json['samplePageLink'] as core.String - : null, - seller: _json.containsKey('seller') - ? Seller.fromJson( - _json['seller'] as core.Map) - : null, - state: - _json.containsKey('state') ? _json['state'] as core.String : null, - topHeadlines: _json.containsKey('topHeadlines') - ? (_json['topHeadlines'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (audience != null) 'audience': audience!, - if (buyerPitchStatement != null) - 'buyerPitchStatement': buyerPitchStatement!, - if (directContact != null) 'directContact': directContact!, - if (exchange != null) 'exchange': exchange!, - if (forecastInventory != null) 'forecastInventory': forecastInventory!, - if (googlePlusLink != null) 'googlePlusLink': googlePlusLink!, - if (isParent != null) 'isParent': isParent!, - if (isPublished != null) 'isPublished': isPublished!, - if (kind != null) 'kind': kind!, - if (logoUrl != null) 'logoUrl': logoUrl!, - if (mediaKitLink != null) 'mediaKitLink': mediaKitLink!, - if (name != null) 'name': name!, - if (overview != null) 'overview': overview!, - if (profileId != null) 'profileId': profileId!, - if (programmaticContact != null) - 'programmaticContact': programmaticContact!, - if (publisherAppIds != null) 'publisherAppIds': publisherAppIds!, - if (publisherApps != null) - 'publisherApps': - publisherApps!.map((value) => value.toJson()).toList(), - if (publisherDomains != null) 'publisherDomains': publisherDomains!, - if (publisherProfileId != null) - 'publisherProfileId': publisherProfileId!, - if (publisherProvidedForecast != null) - 'publisherProvidedForecast': publisherProvidedForecast!.toJson(), - if (rateCardInfoLink != null) 'rateCardInfoLink': rateCardInfoLink!, - if (samplePageLink != null) 'samplePageLink': samplePageLink!, - if (seller != null) 'seller': seller!.toJson(), - if (state != null) 'state': state!, - if (topHeadlines != null) 'topHeadlines': topHeadlines!, - }; -} - -/// This message carries publisher provided forecasting information. -class PublisherProvidedForecast { - /// Publisher provided dimensions. - /// - /// E.g. geo, sizes etc... - core.List? dimensions; - - /// Publisher provided weekly impressions. - core.String? weeklyImpressions; - - /// Publisher provided weekly uniques. - core.String? weeklyUniques; - - PublisherProvidedForecast({ - this.dimensions, - this.weeklyImpressions, - this.weeklyUniques, - }); - - PublisherProvidedForecast.fromJson(core.Map _json) - : this( - dimensions: _json.containsKey('dimensions') - ? (_json['dimensions'] as core.List) - .map((value) => Dimension.fromJson( - value as core.Map)) - .toList() - : null, - weeklyImpressions: _json.containsKey('weeklyImpressions') - ? _json['weeklyImpressions'] as core.String - : null, - weeklyUniques: _json.containsKey('weeklyUniques') - ? _json['weeklyUniques'] as core.String - : null, - ); - - core.Map toJson() => { - if (dimensions != null) - 'dimensions': dimensions!.map((value) => value.toJson()).toList(), - if (weeklyImpressions != null) 'weeklyImpressions': weeklyImpressions!, - if (weeklyUniques != null) 'weeklyUniques': weeklyUniques!, - }; -} - -class Seller { - /// The unique id for the seller. - /// - /// The seller fills in this field. The seller account id is then available to - /// buyer in the product. - core.String? accountId; - - /// Optional sub-account id for the seller. - core.String? subAccountId; - - Seller({ - this.accountId, - this.subAccountId, - }); - - Seller.fromJson(core.Map _json) - : this( - accountId: _json.containsKey('accountId') - ? _json['accountId'] as core.String - : null, - subAccountId: _json.containsKey('subAccountId') - ? _json['subAccountId'] as core.String - : null, - ); - - core.Map toJson() => { - if (accountId != null) 'accountId': accountId!, - if (subAccountId != null) 'subAccountId': subAccountId!, - }; -} - -class SharedTargeting { - /// The list of values to exclude from targeting. - /// - /// Each value is AND'd together. - core.List? exclusions; - - /// The list of value to include as part of the targeting. - /// - /// Each value is OR'd together. - core.List? inclusions; - - /// The key representing the shared targeting criterion. - core.String? key; - - SharedTargeting({ - this.exclusions, - this.inclusions, - this.key, - }); - - SharedTargeting.fromJson(core.Map _json) - : this( - exclusions: _json.containsKey('exclusions') - ? (_json['exclusions'] as core.List) - .map((value) => TargetingValue.fromJson( - value as core.Map)) - .toList() - : null, - inclusions: _json.containsKey('inclusions') - ? (_json['inclusions'] as core.List) - .map((value) => TargetingValue.fromJson( - value as core.Map)) - .toList() - : null, - key: _json.containsKey('key') ? _json['key'] as core.String : null, - ); - - core.Map toJson() => { - if (exclusions != null) - 'exclusions': exclusions!.map((value) => value.toJson()).toList(), - if (inclusions != null) - 'inclusions': inclusions!.map((value) => value.toJson()).toList(), - if (key != null) 'key': key!, - }; -} - -class TargetingValue { - /// The creative size value to exclude/include. - TargetingValueCreativeSize? creativeSizeValue; - - /// The daypart targeting to include / exclude. - /// - /// Filled in when the key is GOOG_DAYPART_TARGETING. - TargetingValueDayPartTargeting? dayPartTargetingValue; - TargetingValueDemogAgeCriteria? demogAgeCriteriaValue; - TargetingValueDemogGenderCriteria? demogGenderCriteriaValue; - - /// The long value to exclude/include. - core.String? longValue; - TargetingValueRequestPlatformTargeting? requestPlatformTargetingValue; - - /// The string value to exclude/include. - core.String? stringValue; - - TargetingValue({ - this.creativeSizeValue, - this.dayPartTargetingValue, - this.demogAgeCriteriaValue, - this.demogGenderCriteriaValue, - this.longValue, - this.requestPlatformTargetingValue, - this.stringValue, - }); - - TargetingValue.fromJson(core.Map _json) - : this( - creativeSizeValue: _json.containsKey('creativeSizeValue') - ? TargetingValueCreativeSize.fromJson(_json['creativeSizeValue'] - as core.Map) - : null, - dayPartTargetingValue: _json.containsKey('dayPartTargetingValue') - ? TargetingValueDayPartTargeting.fromJson( - _json['dayPartTargetingValue'] - as core.Map) - : null, - demogAgeCriteriaValue: _json.containsKey('demogAgeCriteriaValue') - ? TargetingValueDemogAgeCriteria.fromJson( - _json['demogAgeCriteriaValue'] - as core.Map) - : null, - demogGenderCriteriaValue: - _json.containsKey('demogGenderCriteriaValue') - ? TargetingValueDemogGenderCriteria.fromJson( - _json['demogGenderCriteriaValue'] - as core.Map) - : null, - longValue: _json.containsKey('longValue') - ? _json['longValue'] as core.String - : null, - requestPlatformTargetingValue: - _json.containsKey('requestPlatformTargetingValue') - ? TargetingValueRequestPlatformTargeting.fromJson( - _json['requestPlatformTargetingValue'] - as core.Map) - : null, - stringValue: _json.containsKey('stringValue') - ? _json['stringValue'] as core.String - : null, - ); - - core.Map toJson() => { - if (creativeSizeValue != null) - 'creativeSizeValue': creativeSizeValue!.toJson(), - if (dayPartTargetingValue != null) - 'dayPartTargetingValue': dayPartTargetingValue!.toJson(), - if (demogAgeCriteriaValue != null) - 'demogAgeCriteriaValue': demogAgeCriteriaValue!.toJson(), - if (demogGenderCriteriaValue != null) - 'demogGenderCriteriaValue': demogGenderCriteriaValue!.toJson(), - if (longValue != null) 'longValue': longValue!, - if (requestPlatformTargetingValue != null) - 'requestPlatformTargetingValue': - requestPlatformTargetingValue!.toJson(), - if (stringValue != null) 'stringValue': stringValue!, - }; -} - -/// Next Id: 7 -class TargetingValueCreativeSize { - /// The formats allowed by the publisher. - core.List? allowedFormats; - - /// For video size type, the list of companion sizes. - core.List? companionSizes; - - /// The Creative size type. - core.String? creativeSizeType; - - /// The native template for native ad. - core.String? nativeTemplate; - - /// For regular or video creative size type, specifies the size of the - /// creative. - TargetingValueSize? size; - - /// The skippable ad type for video size. - core.String? skippableAdType; - - TargetingValueCreativeSize({ - this.allowedFormats, - this.companionSizes, - this.creativeSizeType, - this.nativeTemplate, - this.size, - this.skippableAdType, - }); - - TargetingValueCreativeSize.fromJson(core.Map _json) - : this( - allowedFormats: _json.containsKey('allowedFormats') - ? (_json['allowedFormats'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - companionSizes: _json.containsKey('companionSizes') - ? (_json['companionSizes'] as core.List) - .map((value) => - TargetingValueSize.fromJson( - value as core.Map)) - .toList() - : null, - creativeSizeType: _json.containsKey('creativeSizeType') - ? _json['creativeSizeType'] as core.String - : null, - nativeTemplate: _json.containsKey('nativeTemplate') - ? _json['nativeTemplate'] as core.String - : null, - size: _json.containsKey('size') - ? TargetingValueSize.fromJson( - _json['size'] as core.Map) - : null, - skippableAdType: _json.containsKey('skippableAdType') - ? _json['skippableAdType'] as core.String - : null, - ); - - core.Map toJson() => { - if (allowedFormats != null) 'allowedFormats': allowedFormats!, - if (companionSizes != null) - 'companionSizes': - companionSizes!.map((value) => value.toJson()).toList(), - if (creativeSizeType != null) 'creativeSizeType': creativeSizeType!, - if (nativeTemplate != null) 'nativeTemplate': nativeTemplate!, - if (size != null) 'size': size!.toJson(), - if (skippableAdType != null) 'skippableAdType': skippableAdType!, - }; -} - -class TargetingValueDayPartTargeting { - core.List? dayParts; - core.String? timeZoneType; - - TargetingValueDayPartTargeting({ - this.dayParts, - this.timeZoneType, - }); - - TargetingValueDayPartTargeting.fromJson(core.Map _json) - : this( - dayParts: _json.containsKey('dayParts') - ? (_json['dayParts'] as core.List) - .map((value) => - TargetingValueDayPartTargetingDayPart.fromJson( - value as core.Map)) - .toList() - : null, - timeZoneType: _json.containsKey('timeZoneType') - ? _json['timeZoneType'] as core.String - : null, - ); - - core.Map toJson() => { - if (dayParts != null) - 'dayParts': dayParts!.map((value) => value.toJson()).toList(), - if (timeZoneType != null) 'timeZoneType': timeZoneType!, - }; -} - -class TargetingValueDayPartTargetingDayPart { - core.String? dayOfWeek; - core.int? endHour; - core.int? endMinute; - core.int? startHour; - core.int? startMinute; - - TargetingValueDayPartTargetingDayPart({ - this.dayOfWeek, - this.endHour, - this.endMinute, - this.startHour, - this.startMinute, - }); - - TargetingValueDayPartTargetingDayPart.fromJson(core.Map _json) - : this( - dayOfWeek: _json.containsKey('dayOfWeek') - ? _json['dayOfWeek'] as core.String - : null, - endHour: _json.containsKey('endHour') - ? _json['endHour'] as core.int - : null, - endMinute: _json.containsKey('endMinute') - ? _json['endMinute'] as core.int - : null, - startHour: _json.containsKey('startHour') - ? _json['startHour'] as core.int - : null, - startMinute: _json.containsKey('startMinute') - ? _json['startMinute'] as core.int - : null, - ); - - core.Map toJson() => { - if (dayOfWeek != null) 'dayOfWeek': dayOfWeek!, - if (endHour != null) 'endHour': endHour!, - if (endMinute != null) 'endMinute': endMinute!, - if (startHour != null) 'startHour': startHour!, - if (startMinute != null) 'startMinute': startMinute!, - }; -} - -class TargetingValueDemogAgeCriteria { - core.List? demogAgeCriteriaIds; - - TargetingValueDemogAgeCriteria({ - this.demogAgeCriteriaIds, - }); - - TargetingValueDemogAgeCriteria.fromJson(core.Map _json) - : this( - demogAgeCriteriaIds: _json.containsKey('demogAgeCriteriaIds') - ? (_json['demogAgeCriteriaIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (demogAgeCriteriaIds != null) - 'demogAgeCriteriaIds': demogAgeCriteriaIds!, - }; -} - -class TargetingValueDemogGenderCriteria { - core.List? demogGenderCriteriaIds; - - TargetingValueDemogGenderCriteria({ - this.demogGenderCriteriaIds, - }); - - TargetingValueDemogGenderCriteria.fromJson(core.Map _json) - : this( - demogGenderCriteriaIds: _json.containsKey('demogGenderCriteriaIds') - ? (_json['demogGenderCriteriaIds'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (demogGenderCriteriaIds != null) - 'demogGenderCriteriaIds': demogGenderCriteriaIds!, - }; -} - -class TargetingValueRequestPlatformTargeting { - core.List? requestPlatforms; - - TargetingValueRequestPlatformTargeting({ - this.requestPlatforms, - }); - - TargetingValueRequestPlatformTargeting.fromJson(core.Map _json) - : this( - requestPlatforms: _json.containsKey('requestPlatforms') - ? (_json['requestPlatforms'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (requestPlatforms != null) 'requestPlatforms': requestPlatforms!, - }; -} - -class TargetingValueSize { - /// The height of the creative. - core.int? height; - - /// The width of the creative. - core.int? width; - - TargetingValueSize({ - this.height, - this.width, - }); - - TargetingValueSize.fromJson(core.Map _json) - : this( - height: - _json.containsKey('height') ? _json['height'] as core.int : null, - width: _json.containsKey('width') ? _json['width'] as core.int : null, - ); - - core.Map toJson() => { - if (height != null) 'height': height!, - if (width != null) 'width': width!, - }; -} - -class UpdatePrivateAuctionProposalRequest { - /// The externalDealId of the deal to be updated. - core.String? externalDealId; - - /// Optional note to be added. - MarketplaceNote? note; - - /// The current revision number of the proposal to be updated. - core.String? proposalRevisionNumber; - - /// The proposed action on the private auction proposal. - core.String? updateAction; - - UpdatePrivateAuctionProposalRequest({ - this.externalDealId, - this.note, - this.proposalRevisionNumber, - this.updateAction, - }); - - UpdatePrivateAuctionProposalRequest.fromJson(core.Map _json) - : this( - externalDealId: _json.containsKey('externalDealId') - ? _json['externalDealId'] as core.String - : null, - note: _json.containsKey('note') - ? MarketplaceNote.fromJson( - _json['note'] as core.Map) - : null, - proposalRevisionNumber: _json.containsKey('proposalRevisionNumber') - ? _json['proposalRevisionNumber'] as core.String - : null, - updateAction: _json.containsKey('updateAction') - ? _json['updateAction'] as core.String - : null, - ); - - core.Map toJson() => { - if (externalDealId != null) 'externalDealId': externalDealId!, - if (note != null) 'note': note!.toJson(), - if (proposalRevisionNumber != null) - 'proposalRevisionNumber': proposalRevisionNumber!, - if (updateAction != null) 'updateAction': updateAction!, - }; -} diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart index ae92c9ec9..84b6aab90 100644 --- a/generated/googleapis/lib/admin/directory_v1.dart +++ b/generated/googleapis/lib/admin/directory_v1.dart @@ -186,7 +186,8 @@ class DirectoryApi { static const adminDirectoryUserschemaReadonlyScope = 'https://www.googleapis.com/auth/admin.directory.userschema.readonly'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/admin/reports_v1.dart b/generated/googleapis/lib/admin/reports_v1.dart index 76d654b60..09b94f764 100644 --- a/generated/googleapis/lib/admin/reports_v1.dart +++ b/generated/googleapis/lib/admin/reports_v1.dart @@ -141,8 +141,8 @@ class ActivitiesResource { /// - "context_aware_access" : The Context-aware access activity reports /// return information about users' access denied events due to Context-aware /// access rules. - /// - "chrome" : The Chrome activity reports return information about unsafe - /// events reported in the context of the WebProtect features of BeyondCorp. + /// - "chrome" : The Chrome activity reports return information about Chrome + /// browser and Chrome OS events. /// - "data_studio" : The Data Studio activity reports return information /// about various types of Data Studio activity events. /// - "keep" : The Keep application's activity reports return information @@ -369,8 +369,8 @@ class ActivitiesResource { /// - "context_aware_access" : The Context-aware access activity reports /// return information about users' access denied events due to Context-aware /// access rules. - /// - "chrome" : The Chrome activity reports return information about unsafe - /// events reported in the context of the WebProtect features of BeyondCorp. + /// - "chrome" : The Chrome activity reports return information about Chrome + /// browser and Chrome OS events. /// - "data_studio" : The Data Studio activity reports return information /// about various types of Data Studio activity events. /// - "keep" : The Keep application's activity reports return information diff --git a/generated/googleapis/lib/admob/v1.dart b/generated/googleapis/lib/admob/v1.dart index 8d2841447..5e90e70b1 100644 --- a/generated/googleapis/lib/admob/v1.dart +++ b/generated/googleapis/lib/admob/v1.dart @@ -1141,7 +1141,8 @@ class MediationReportSpecDimensionFilter { /// with \[ESTIMATED_EARNINGS\](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), /// \[OBSERVED_ECPM\](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics. /// - "SERVING_RESTRICTION" : Restriction mode for ads serving (e.g. - /// "Non-personalized ads"). + /// "Non-personalized ads"). **Warning:** The dimension is incompatible with + /// \[ESTIMATED_EARNINGS\](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) metric. core.String? dimension; /// Matches a row if its value for the specified dimension is in one of the @@ -1213,7 +1214,8 @@ class MediationReportSpecSortCondition { /// with \[ESTIMATED_EARNINGS\](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS), /// \[OBSERVED_ECPM\](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics. /// - "SERVING_RESTRICTION" : Restriction mode for ads serving (e.g. - /// "Non-personalized ads"). + /// "Non-personalized ads"). **Warning:** The dimension is incompatible with + /// \[ESTIMATED_EARNINGS\](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) metric. core.String? dimension; /// Sort by the specified metric. diff --git a/generated/googleapis/lib/adsense/v2.dart b/generated/googleapis/lib/adsense/v2.dart index dd48efd63..60efe087b 100644 --- a/generated/googleapis/lib/adsense/v2.dart +++ b/generated/googleapis/lib/adsense/v2.dart @@ -1833,8 +1833,8 @@ class ContentAdsSettings { /// - "FEED" : In-feed ad unit. /// - "ARTICLE" : In-article ad unit. /// - "MATCHED_CONTENT" : Matched content unit. - /// - "LINK" : Link ad unit. Note that link ad units are being retired, see - /// https://support.google.com/adsense/answer/9987221. + /// - "LINK" : Link ad unit. Note that link ad units have now been retired, + /// see https://support.google.com/adsense/answer/9987221. core.String? type; ContentAdsSettings({ diff --git a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart index 516c26701..4ec2e73b3 100644 --- a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart +++ b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart @@ -2001,7 +2001,7 @@ class DeviceClaim { /// The Additional service registered for the device. /// Possible string values are: /// - "ADDITIONAL_SERVICE_UNSPECIFIED" : No additional service. - /// - "DEVICE_PROTECTION" : Device protection service, as known as Android + /// - "DEVICE_PROTECTION" : Device protection service, also known as Android /// Enterprise Essentials. To claim a device with the device protection /// service you must enroll with the partnership team. core.String? additionalService; diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart index 84d4316db..9e1ac8721 100644 --- a/generated/googleapis/lib/androidenterprise/v1.dart +++ b/generated/googleapis/lib/androidenterprise/v1.dart @@ -346,7 +346,10 @@ class DevicesResource { /// To ensure the policy is properly enforced, you need to prevent unmanaged /// accounts from accessing Google Play by setting the allowed_accounts in the /// managed configuration for the Google Play package. See restrict accounts - /// in Google Play. + /// in Google Play. When provisioning a new device, you should set the device + /// policy using this method before adding the managed Google Play Account to + /// the device, otherwise the policy will not be applied for a short period of + /// time after adding the account to the device. /// /// [request] - The metadata request object. /// diff --git a/generated/googleapis/lib/androidmanagement/v1.dart b/generated/googleapis/lib/androidmanagement/v1.dart index 5e5c8a800..3d027ed4d 100644 --- a/generated/googleapis/lib/androidmanagement/v1.dart +++ b/generated/googleapis/lib/androidmanagement/v1.dart @@ -1416,6 +1416,14 @@ class AdvancedSecurityOverrides { /// app verification. core.String? googlePlayProtectVerifyApps; + /// Personal apps that can read work profile notifications using a + /// NotificationListenerService + /// (https://developer.android.com/reference/android/service/notification/NotificationListenerService). + /// + /// By default, no personal apps (aside from system apps) can read work + /// notifications. Each value in the list must be a package name. + core.List? personalAppsThatCanReadWorkNotifications; + /// The policy for untrusted apps (apps from unknown sources) enforced on the /// device. /// @@ -1436,6 +1444,7 @@ class AdvancedSecurityOverrides { this.commonCriteriaMode, this.developerSettings, this.googlePlayProtectVerifyApps, + this.personalAppsThatCanReadWorkNotifications, this.untrustedAppsPolicy, }); @@ -1451,6 +1460,12 @@ class AdvancedSecurityOverrides { _json.containsKey('googlePlayProtectVerifyApps') ? _json['googlePlayProtectVerifyApps'] as core.String : null, + personalAppsThatCanReadWorkNotifications: _json + .containsKey('personalAppsThatCanReadWorkNotifications') + ? (_json['personalAppsThatCanReadWorkNotifications'] as core.List) + .map((value) => value as core.String) + .toList() + : null, untrustedAppsPolicy: _json.containsKey('untrustedAppsPolicy') ? _json['untrustedAppsPolicy'] as core.String : null, @@ -1462,6 +1477,9 @@ class AdvancedSecurityOverrides { if (developerSettings != null) 'developerSettings': developerSettings!, if (googlePlayProtectVerifyApps != null) 'googlePlayProtectVerifyApps': googlePlayProtectVerifyApps!, + if (personalAppsThatCanReadWorkNotifications != null) + 'personalAppsThatCanReadWorkNotifications': + personalAppsThatCanReadWorkNotifications!, if (untrustedAppsPolicy != null) 'untrustedAppsPolicy': untrustedAppsPolicy!, }; @@ -2419,7 +2437,7 @@ class ComplianceRule { }; } -/// Contact details for LaForge enterprises. +/// Contact details for managed Google Play enterprises. class ContactInfo { /// Email address for a point of contact, which will be used to send important /// announcements related to managed Google Play. @@ -2545,6 +2563,84 @@ class ContentProviderEndpoint { }; } +/// Cross-profile policies applied on the device. +class CrossProfilePolicies { + /// Whether text copied from one profile (personal or work) can be pasted in + /// the other profile. + /// Possible string values are: + /// - "CROSS_PROFILE_COPY_PASTE_UNSPECIFIED" : Unspecified. Defaults to + /// COPY_FROM_WORK_TO_PERSONAL_DISALLOWED + /// - "COPY_FROM_WORK_TO_PERSONAL_DISALLOWED" : Default. Prevents users from + /// pasting into the personal profile text copied from the work profile. Text + /// copied from the personal profile can be pasted into the work profile, and + /// text copied from the work profile can be pasted into the work profile. + /// - "CROSS_PROFILE_COPY_PASTE_ALLOWED" : Text copied in either profile can + /// be pasted in the other profile. + core.String? crossProfileCopyPaste; + + /// Whether data from one profile (personal or work) can be shared with apps + /// in the other profile. + /// + /// Specifically controls simple data sharing via intents. Management of other + /// cross-profile communication channels, such as contact search, copy/paste, + /// or connected work & personal apps, are configured separately. + /// Possible string values are: + /// - "CROSS_PROFILE_DATA_SHARING_UNSPECIFIED" : Unspecified. Defaults to + /// DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED. + /// - "CROSS_PROFILE_DATA_SHARING_DISALLOWED" : Prevents data from being + /// shared from both the personal profile to the work profile and the work + /// profile to the personal profile. + /// - "DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED" : Default. Prevents + /// users from sharing data from the work profile to apps in the personal + /// profile. Personal data can be shared with work apps. + /// - "CROSS_PROFILE_DATA_SHARING_ALLOWED" : Data from either profile can be + /// shared with the other profile. + core.String? crossProfileDataSharing; + + /// Whether contacts stored in the work profile can be shown in personal + /// profile contact searches and incoming calls. + /// Possible string values are: + /// - "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED" : Unspecified. + /// Defaults to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED. + /// - "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED" : Prevents work + /// profile contacts from appearing in personal profile contact searches and + /// incoming calls + /// - "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED" : Default. Allows work + /// profile contacts to appear in personal profile contact searches and + /// incoming calls + core.String? showWorkContactsInPersonalProfile; + + CrossProfilePolicies({ + this.crossProfileCopyPaste, + this.crossProfileDataSharing, + this.showWorkContactsInPersonalProfile, + }); + + CrossProfilePolicies.fromJson(core.Map _json) + : this( + crossProfileCopyPaste: _json.containsKey('crossProfileCopyPaste') + ? _json['crossProfileCopyPaste'] as core.String + : null, + crossProfileDataSharing: _json.containsKey('crossProfileDataSharing') + ? _json['crossProfileDataSharing'] as core.String + : null, + showWorkContactsInPersonalProfile: + _json.containsKey('showWorkContactsInPersonalProfile') + ? _json['showWorkContactsInPersonalProfile'] as core.String + : null, + ); + + core.Map toJson() => { + if (crossProfileCopyPaste != null) + 'crossProfileCopyPaste': crossProfileCopyPaste!, + if (crossProfileDataSharing != null) + 'crossProfileDataSharing': crossProfileDataSharing!, + if (showWorkContactsInPersonalProfile != null) + 'showWorkContactsInPersonalProfile': + showWorkContactsInPersonalProfile!, + }; +} + /// Represents a whole or partial calendar date, such as a birthday. /// /// The time of day and time zone are either specified elsewhere or are @@ -2701,10 +2797,7 @@ class Device { /// device's policy. core.List? memoryEvents; - /// Memory information. - /// - /// This information is only available if memoryInfoEnabled is true in the - /// device's policy. + /// Memory information: contains information about device memory and storage. MemoryInfo? memoryInfo; /// The name of the device in the form @@ -4953,20 +5046,24 @@ class PasswordRequirements { /// COMPLEXITY_HIGH for application. In this case, the requirements in /// passwordMinimumLength, passwordMinimumLetters, passwordMinimumSymbols, etc /// are not applied. See PasswordQuality for details. - /// - "COMPLEXITY_LOW" : Password satisfies one of the following: pattern PIN - /// with repeating (4444) or ordered (1234, 4321, 2468) sequencesEnforcement + /// - "COMPLEXITY_LOW" : Define the low password complexity band as: pattern + /// PIN with repeating (4444) or ordered (1234, 4321, 2468) sequencesThis sets + /// the minimum complexity band which the password must meet.Enforcement /// varies among different Android versions, management modes and password /// scopes. See PasswordQuality for details. - /// - "COMPLEXITY_MEDIUM" : Password satisfies one of the following: PIN with - /// no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at - /// least 4 alphabetic, length at least 4 alphanumeric, length at least - /// 4Enforcement varies among different Android versions, management modes and - /// password scopes. See PasswordQuality for details. - /// - "COMPLEXITY_HIGH" : Password satisfies one of the following:On Android - /// 12 and above: PIN with no repeating (4444) or ordered (1234, 4321, 2468) - /// sequences, length at least 8 alphabetic, length at least 6 alphanumeric, - /// length at least 6Enforcement varies among different Android versions, - /// management modes and password scopes. See PasswordQuality for details. + /// - "COMPLEXITY_MEDIUM" : Define the medium password complexity band as: PIN + /// with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length + /// at least 4 alphabetic, length at least 4 alphanumeric, length at least + /// 4This sets the minimum complexity band which the password must + /// meet.Enforcement varies among different Android versions, management modes + /// and password scopes. See PasswordQuality for details. + /// - "COMPLEXITY_HIGH" : Define the high password complexity band as:On + /// Android 12 and above: PIN with no repeating (4444) or ordered (1234, 4321, + /// 2468) sequences, length at least 8 alphabetic, length at least 6 + /// alphanumeric, length at least 6This sets the minimum complexity band which + /// the password must meet.Enforcement varies among different Android + /// versions, management modes and password scopes. See PasswordQuality for + /// details. core.String? passwordQuality; /// The scope that the password requirement applies to. @@ -5420,6 +5517,9 @@ class Policy { /// Whether configuring user credentials is disabled. core.bool? credentialsConfigDisabled; + /// Cross-profile policies applied on the device. + CrossProfilePolicies? crossProfilePolicies; + /// Whether roaming data services are disabled. core.bool? dataRoamingDisabled; @@ -5759,6 +5859,7 @@ class Policy { this.complianceRules, this.createWindowsDisabled, this.credentialsConfigDisabled, + this.crossProfilePolicies, this.dataRoamingDisabled, this.debuggingFeaturesAllowed, this.defaultPermissionPolicy, @@ -5910,6 +6011,10 @@ class Policy { _json.containsKey('credentialsConfigDisabled') ? _json['credentialsConfigDisabled'] as core.bool : null, + crossProfilePolicies: _json.containsKey('crossProfilePolicies') + ? CrossProfilePolicies.fromJson(_json['crossProfilePolicies'] + as core.Map) + : null, dataRoamingDisabled: _json.containsKey('dataRoamingDisabled') ? _json['dataRoamingDisabled'] as core.bool : null, @@ -6201,6 +6306,8 @@ class Policy { 'createWindowsDisabled': createWindowsDisabled!, if (credentialsConfigDisabled != null) 'credentialsConfigDisabled': credentialsConfigDisabled!, + if (crossProfilePolicies != null) + 'crossProfilePolicies': crossProfilePolicies!.toJson(), if (dataRoamingDisabled != null) 'dataRoamingDisabled': dataRoamingDisabled!, if (debuggingFeaturesAllowed != null) @@ -6897,7 +7004,7 @@ class StatusReportingSettings { /// profiles. core.bool? hardwareStatusEnabled; - /// Whether memory reporting is enabled. + /// Whether memory event reporting is enabled. core.bool? memoryInfoEnabled; /// Whether network info reporting is enabled. diff --git a/generated/googleapis/lib/androidpublisher/v3.dart b/generated/googleapis/lib/androidpublisher/v3.dart index ef375e5f4..4214dd954 100644 --- a/generated/googleapis/lib/androidpublisher/v3.dart +++ b/generated/googleapis/lib/androidpublisher/v3.dart @@ -2181,13 +2181,20 @@ class InappproductsResource { /// Lists all in-app products - both managed products and subscriptions. /// + /// If an app has a large number of in-app products, the response may be + /// paginated. In this case the response field `tokenPagination.nextPageToken` + /// will be set and the caller should provide its value as a `token` request + /// parameter to retrieve the next page. + /// /// Request parameters: /// /// [packageName] - Package name of the app. /// - /// [maxResults] - How many results the list operation should return. + /// [maxResults] - Deprecated and ignored. The page size is determined by the + /// server. /// - /// [startIndex] - The index of the first element to return. + /// [startIndex] - Deprecated and ignored. Set the `token` parameter to + /// rertieve the next page. /// /// [token] - Pagination token. If empty, list starts at the first product. /// @@ -2292,6 +2299,9 @@ class InappproductsResource { /// /// [sku] - Unique identifier for the in-app product. /// + /// [allowMissing] - If set to true, and the in-app product with the given + /// package_name and sku doesn't exist, the in-app product will be created. + /// /// [autoConvertMissingPrices] - If true the prices for all regions targeted /// by the parent app that don't have a price specified for this in-app /// product will be auto converted to the target currency based on the default @@ -2311,11 +2321,13 @@ class InappproductsResource { InAppProduct request, core.String packageName, core.String sku, { + core.bool? allowMissing, core.bool? autoConvertMissingPrices, core.String? $fields, }) async { final _body = convert.json.encode(request.toJson()); final _queryParams = >{ + if (allowMissing != null) 'allowMissing': ['${allowMissing}'], if (autoConvertMissingPrices != null) 'autoConvertMissingPrices': ['${autoConvertMissingPrices}'], if ($fields != null) 'fields': [$fields], @@ -2479,7 +2491,9 @@ class OrdersResource { OrdersResource(commons.ApiRequester client) : _requester = client; - /// Refund a user's subscription or in-app purchase order. + /// Refunds a user's subscription or in-app purchase order. + /// + /// Orders older than 1 year cannot be refunded. /// /// Request parameters: /// @@ -4503,7 +4517,7 @@ class InappproductsListResponse { /// The kind of this response ("androidpublisher#inappproductsListResponse"). core.String? kind; - /// Information about the current page. + /// Deprecated and unset. PageInfo? pageInfo; /// Pagination token, to handle a number of products that is over one page. diff --git a/generated/googleapis/lib/apigateway/v1.dart b/generated/googleapis/lib/apigateway/v1.dart index ac2519560..90698151a 100644 --- a/generated/googleapis/lib/apigateway/v1.dart +++ b/generated/googleapis/lib/apigateway/v1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class ApigatewayApi_1 { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2800,7 +2801,7 @@ class ApigatewayOperationMetadataDiagnostic { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class ApigatewayPolicy { diff --git a/generated/googleapis/lib/apigee/v1.dart b/generated/googleapis/lib/apigee/v1.dart index 32923d059..65b1ca574 100644 --- a/generated/googleapis/lib/apigee/v1.dart +++ b/generated/googleapis/lib/apigee/v1.dart @@ -60,6 +60,7 @@ /// - [OrganizationsEnvironmentsApisRevisionsDebugsessionsResource] /// - [OrganizationsEnvironmentsApisRevisionsDebugsessionsDataResource] /// - [OrganizationsEnvironmentsApisRevisionsDeploymentsResource] +/// - [OrganizationsEnvironmentsArchiveDeploymentsResource] /// - [OrganizationsEnvironmentsCachesResource] /// - [OrganizationsEnvironmentsDeploymentsResource] /// - [OrganizationsEnvironmentsFlowhooksResource] @@ -115,7 +116,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// monitor APIs, configure environments, manage users, and more. Note: This /// product is available as a free trial for a time period of 60 days. class ApigeeApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1915,6 +1917,52 @@ class OrganizationsApisResource { return GoogleCloudApigeeV1ListApiProxiesResponse.fromJson( _response as core.Map); } + + /// Updates an existing API proxy. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. API proxy to update in the following format: + /// `organizations/{org}/apis/{api}` + /// Value must have pattern `^organizations/\[^/\]+/apis/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to update. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1ApiProxy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleCloudApigeeV1ApiProxy request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1ApiProxy.fromJson( + _response as core.Map); + } } class OrganizationsApisDeploymentsResource { @@ -4801,6 +4849,8 @@ class OrganizationsEnvironmentsResource { OrganizationsEnvironmentsAnalyticsResource(_requester); OrganizationsEnvironmentsApisResource get apis => OrganizationsEnvironmentsApisResource(_requester); + OrganizationsEnvironmentsArchiveDeploymentsResource get archiveDeployments => + OrganizationsEnvironmentsArchiveDeploymentsResource(_requester); OrganizationsEnvironmentsCachesResource get caches => OrganizationsEnvironmentsCachesResource(_requester); OrganizationsEnvironmentsDeploymentsResource get deployments => @@ -5820,6 +5870,11 @@ class OrganizationsEnvironmentsApisRevisionsResource { /// before issuing the deployment request, and its response will indicate if a /// sequenced rollout is recommended for the deployment. /// + /// [serviceAccount] - Google Cloud IAM service account. The service account + /// represents the identity of the deployed proxy, and determines what + /// permissions it has. The format must be + /// `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -5834,11 +5889,13 @@ class OrganizationsEnvironmentsApisRevisionsResource { core.String name, { core.bool? override, core.bool? sequencedRollout, + core.String? serviceAccount, core.String? $fields, }) async { final _queryParams = >{ if (override != null) 'override': ['${override}'], if (sequencedRollout != null) 'sequencedRollout': ['${sequencedRollout}'], + if (serviceAccount != null) 'serviceAccount': [serviceAccount], if ($fields != null) 'fields': [$fields], }; @@ -6317,6 +6374,337 @@ class OrganizationsEnvironmentsApisRevisionsDeploymentsResource { } } +class OrganizationsEnvironmentsArchiveDeploymentsResource { + final commons.ApiRequester _requester; + + OrganizationsEnvironmentsArchiveDeploymentsResource( + commons.ApiRequester client) + : _requester = client; + + /// Creates a new ArchiveDeployment. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The Environment this Archive Deployment will be + /// created in. + /// Value must have pattern `^organizations/\[^/\]+/environments/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + GoogleCloudApigeeV1ArchiveDeployment request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/archiveDeployments'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Deletes an archive deployment. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the Archive Deployment in the following format: + /// `organizations/{org}/environments/{env}/archiveDeployments/{id}`. + /// Value must have pattern + /// `^organizations/\[^/\]+/environments/\[^/\]+/archiveDeployments/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return GoogleProtobufEmpty.fromJson( + _response as core.Map); + } + + /// Generates a signed URL for downloading the original zip file used to + /// create an Archive Deployment. + /// + /// The URL is only valid for a limited period and should be used within + /// minutes after generation. Each call returns a new upload URL. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the Archive Deployment you want to + /// download. + /// Value must have pattern + /// `^organizations/\[^/\]+/environments/\[^/\]+/archiveDeployments/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1GenerateDownloadUrlResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + generateDownloadUrl( + GoogleCloudApigeeV1GenerateDownloadUrlRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':generateDownloadUrl'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1GenerateDownloadUrlResponse.fromJson( + _response as core.Map); + } + + /// Generates a signed URL for uploading an Archive zip file to Google Cloud + /// Storage. + /// + /// Once the upload is complete, the signed URL should be passed to + /// CreateArchiveDeployment. When uploading to the generated signed URL, + /// please follow these restrictions: * Source file type should be a zip file. + /// * Source file size should not exceed 1GB limit. * No credentials should be + /// attached - the signed URLs provide access to the target bucket using + /// internal service identity; if credentials were attached, the identity from + /// the credentials would be used, but that identity does not have permissions + /// to upload files to the URL. When making a HTTP PUT request, these two + /// headers need to be specified: * `content-type: application/zip` * + /// `x-goog-content-length-range: 0,1073741824` And this header SHOULD NOT be + /// specified: * `Authorization: Bearer YOUR_TOKEN` + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The organization and environment to upload to. + /// Value must have pattern `^organizations/\[^/\]+/environments/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1GenerateUploadUrlResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future generateUploadUrl( + GoogleCloudApigeeV1GenerateUploadUrlRequest request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + + core.Uri.encodeFull('$parent') + + '/archiveDeployments:generateUploadUrl'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1GenerateUploadUrlResponse.fromJson( + _response as core.Map); + } + + /// Gets the specified ArchiveDeployment. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the Archive Deployment in the following format: + /// `organizations/{org}/environments/{env}/archiveDeployments/{id}`. + /// Value must have pattern + /// `^organizations/\[^/\]+/environments/\[^/\]+/archiveDeployments/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1ArchiveDeployment]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1ArchiveDeployment.fromJson( + _response as core.Map); + } + + /// Lists the ArchiveDeployments in the specified Environment. + /// + /// Request parameters: + /// + /// [parent] - Required. Name of the Environment for which to list Archive + /// Deployments in the format: `organizations/{org}/environments/{env}`. + /// Value must have pattern `^organizations/\[^/\]+/environments/\[^/\]+$`. + /// + /// [filter] - Optional. An optional query used to return a subset of Archive + /// Deployments using the semantics defined in https://google.aip.dev/160. + /// + /// [pageSize] - Optional. Maximum number of Archive Deployments to return. If + /// unspecified, at most 25 deployments will be returned. + /// + /// [pageToken] - Optional. Page token, returned from a previous + /// ListArchiveDeployments call, that you can use to retrieve the next page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1ListArchiveDeploymentsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/archiveDeployments'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1ListArchiveDeploymentsResponse.fromJson( + _response as core.Map); + } + + /// Updates an existing ArchiveDeployment. + /// + /// Labels can modified but most of the other fields are not modifiable. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the Archive Deployment in the following format: + /// `organizations/{org}/environments/{env}/archiveDeployments/{id}`. + /// Value must have pattern + /// `^organizations/\[^/\]+/environments/\[^/\]+/archiveDeployments/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1ArchiveDeployment]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleCloudApigeeV1ArchiveDeployment request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1ArchiveDeployment.fromJson( + _response as core.Map); + } +} + class OrganizationsEnvironmentsCachesResource { final commons.ApiRequester _requester; @@ -7998,6 +8386,11 @@ class OrganizationsEnvironmentsSharedflowsRevisionsResource { /// `false` and the deployment is rejected if other revisions of the shared /// flow are deployed in the environment. /// + /// [serviceAccount] - Google Cloud IAM service account. The service account + /// represents the identity of the deployed proxy, and determines what + /// permissions it has. The format must be + /// `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -8011,10 +8404,12 @@ class OrganizationsEnvironmentsSharedflowsRevisionsResource { async.Future deploy( core.String name, { core.bool? override, + core.String? serviceAccount, core.String? $fields, }) async { final _queryParams = >{ if (override != null) 'override': ['${override}'], + if (serviceAccount != null) 'serviceAccount': [serviceAccount], if ($fields != null) 'fields': [$fields], }; @@ -9174,55 +9569,104 @@ class OrganizationsInstancesResource { 'GET', queryParams: _queryParams, ); - return GoogleCloudApigeeV1Instance.fromJson( + return GoogleCloudApigeeV1Instance.fromJson( + _response as core.Map); + } + + /// Lists all Apigee runtime instances for the organization. + /// + /// **Note:** Not supported for Apigee hybrid. + /// + /// Request parameters: + /// + /// [parent] - Required. Name of the organization. Use the following structure + /// in your request: `organizations/{org}`. + /// Value must have pattern `^organizations/\[^/\]+$`. + /// + /// [pageSize] - Maximum number of instances to return. Defaults to 25. + /// + /// [pageToken] - Page token, returned from a previous ListInstances call, + /// that you can use to retrieve the next page of content. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1ListInstancesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/instances'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudApigeeV1ListInstancesResponse.fromJson( _response as core.Map); } - /// Lists all Apigee runtime instances for the organization. + /// Updates an Apigee runtime instance. /// - /// **Note:** Not supported for Apigee hybrid. + /// You can update the fields described in NodeConfig. No other fields will be + /// updated. **Note:** Not supported for Apigee hybrid. /// - /// Request parameters: + /// [request] - The metadata request object. /// - /// [parent] - Required. Name of the organization. Use the following structure - /// in your request: `organizations/{org}`. - /// Value must have pattern `^organizations/\[^/\]+$`. + /// Request parameters: /// - /// [pageSize] - Maximum number of instances to return. Defaults to 25. + /// [name] - Required. Name of the instance. Use the following structure in + /// your request: `organizations/{org}/instances/{instance}`. + /// Value must have pattern `^organizations/\[^/\]+/instances/\[^/\]+$`. /// - /// [pageToken] - Page token, returned from a previous ListInstances call, - /// that you can use to retrieve the next page of content. + /// [updateMask] - List of fields to be updated. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleCloudApigeeV1ListInstancesResponse]. + /// Completes with a [GoogleLongrunningOperation]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future list( - core.String parent, { - core.int? pageSize, - core.String? pageToken, + async.Future patch( + GoogleCloudApigeeV1Instance request, + core.String name, { + core.String? updateMask, core.String? $fields, }) async { + final _body = convert.json.encode(request.toJson()); final _queryParams = >{ - if (pageSize != null) 'pageSize': ['${pageSize}'], - if (pageToken != null) 'pageToken': [pageToken], + if (updateMask != null) 'updateMask': [updateMask], if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/instances'; + final _url = 'v1/' + core.Uri.encodeFull('$name'); final _response = await _requester.request( _url, - 'GET', + 'PATCH', + body: _body, queryParams: _queryParams, ); - return GoogleCloudApigeeV1ListInstancesResponse.fromJson( + return GoogleLongrunningOperation.fromJson( _response as core.Map); } @@ -11003,6 +11447,64 @@ class ProjectsResource { } } +/// Describes why a bundle is invalid. +/// +/// Intended for use in error details. +class EdgeConfigstoreBundleBadBundle { + /// Describes all precondition violations. + core.List? violations; + + EdgeConfigstoreBundleBadBundle({ + this.violations, + }); + + EdgeConfigstoreBundleBadBundle.fromJson(core.Map _json) + : this( + violations: _json.containsKey('violations') + ? (_json['violations'] as core.List) + .map((value) => + EdgeConfigstoreBundleBadBundleViolation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (violations != null) + 'violations': violations!.map((value) => value.toJson()).toList(), + }; +} + +/// A message type used to describe a single bundle validation error. +class EdgeConfigstoreBundleBadBundleViolation { + /// A description of why the bundle is invalid and how to fix it. + core.String? description; + + /// The filename (including relative path from the bundle root) in which the + /// error occurred. + core.String? filename; + + EdgeConfigstoreBundleBadBundleViolation({ + this.description, + this.filename, + }); + + EdgeConfigstoreBundleBadBundleViolation.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + filename: _json.containsKey('filename') + ? _json['filename'] as core.String + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (filename != null) 'filename': filename!, + }; +} + /// Message that represents an arbitrary HTTP body. /// /// It should only be used for payload formats that can't be represented as @@ -11210,15 +11712,11 @@ class GoogleCloudApigeeV1AddonsConfig { /// Configuration for the Advanced API Ops add-on. GoogleCloudApigeeV1AdvancedApiOpsConfig? advancedApiOpsConfig; - /// Configuration for the Integration add-on. - GoogleCloudApigeeV1IntegrationConfig? integrationConfig; - /// Configuration for the Monetization add-on. GoogleCloudApigeeV1MonetizationConfig? monetizationConfig; GoogleCloudApigeeV1AddonsConfig({ this.advancedApiOpsConfig, - this.integrationConfig, this.monetizationConfig, }); @@ -11229,11 +11727,6 @@ class GoogleCloudApigeeV1AddonsConfig { _json['advancedApiOpsConfig'] as core.Map) : null, - integrationConfig: _json.containsKey('integrationConfig') - ? GoogleCloudApigeeV1IntegrationConfig.fromJson( - _json['integrationConfig'] - as core.Map) - : null, monetizationConfig: _json.containsKey('monetizationConfig') ? GoogleCloudApigeeV1MonetizationConfig.fromJson( _json['monetizationConfig'] @@ -11244,8 +11737,6 @@ class GoogleCloudApigeeV1AddonsConfig { core.Map toJson() => { if (advancedApiOpsConfig != null) 'advancedApiOpsConfig': advancedApiOpsConfig!.toJson(), - if (integrationConfig != null) - 'integrationConfig': integrationConfig!.toJson(), if (monetizationConfig != null) 'monetizationConfig': monetizationConfig!.toJson(), }; @@ -11716,19 +12207,31 @@ class GoogleCloudApigeeV1ApiProductRef { /// Metadata describing the API proxy class GoogleCloudApigeeV1ApiProxy { + /// User labels applied to this API Proxy. + core.Map? labels; + /// The id of the most recently created revision for this api proxy. + /// + /// Output only. core.String? latestRevisionId; /// Metadata describing the API proxy. + /// + /// Output only. GoogleCloudApigeeV1EntityMetadata? metaData; /// Name of the API proxy. + /// + /// Output only. core.String? name; /// List of revisons defined for the API proxy. + /// + /// Output only. core.List? revision; GoogleCloudApigeeV1ApiProxy({ + this.labels, this.latestRevisionId, this.metaData, this.name, @@ -11737,6 +12240,14 @@ class GoogleCloudApigeeV1ApiProxy { GoogleCloudApigeeV1ApiProxy.fromJson(core.Map _json) : this( + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, latestRevisionId: _json.containsKey('latestRevisionId') ? _json['latestRevisionId'] as core.String : null, @@ -11753,6 +12264,7 @@ class GoogleCloudApigeeV1ApiProxy { ); core.Map toJson() => { + if (labels != null) 'labels': labels!, if (latestRevisionId != null) 'latestRevisionId': latestRevisionId!, if (metaData != null) 'metaData': metaData!.toJson(), if (name != null) 'name': name!, @@ -12190,6 +12702,91 @@ class GoogleCloudApigeeV1App { }; } +/// Archive Deployment information. +class GoogleCloudApigeeV1ArchiveDeployment { + /// The time at which the Archive Deployment was created in milliseconds since + /// the epoch. + /// + /// Output only. + core.String? createdAt; + + /// Input only. + /// + /// The Google Cloud Storage signed URL returned from GenerateUploadUrl and + /// used to upload the Archive zip file. + core.String? gcsUri; + + /// User-supplied key-value pairs used to organize ArchiveDeployments. + /// + /// Label keys must be between 1 and 63 characters long, have a UTF-8 encoding + /// of maximum 128 bytes, and must conform to the following PCRE regular + /// expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 + /// characters long, have a UTF-8 encoding of maximum 128 bytes, and must + /// conform to the following PCRE regular expression: + /// \[\p{Ll}\p{Lo}\p{N}_-\]{0,63} No more than 64 labels can be associated + /// with a given store. + core.Map? labels; + + /// Name of the Archive Deployment in the following format: + /// `organizations/{org}/environments/{env}/archiveDeployments/{id}`. + core.String? name; + + /// A reference to the LRO that created this Archive Deployment in the + /// following format: `organizations/{org}/operations/{id}` + /// + /// Output only. + core.String? operation; + + /// The time at which the Archive Deployment was updated in milliseconds since + /// the epoch. + /// + /// Output only. + core.String? updatedAt; + + GoogleCloudApigeeV1ArchiveDeployment({ + this.createdAt, + this.gcsUri, + this.labels, + this.name, + this.operation, + this.updatedAt, + }); + + GoogleCloudApigeeV1ArchiveDeployment.fromJson(core.Map _json) + : this( + createdAt: _json.containsKey('createdAt') + ? _json['createdAt'] as core.String + : null, + gcsUri: _json.containsKey('gcsUri') + ? _json['gcsUri'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + operation: _json.containsKey('operation') + ? _json['operation'] as core.String + : null, + updatedAt: _json.containsKey('updatedAt') + ? _json['updatedAt'] as core.String + : null, + ); + + core.Map toJson() => { + if (createdAt != null) 'createdAt': createdAt!, + if (gcsUri != null) 'gcsUri': gcsUri!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (operation != null) 'operation': operation!, + if (updatedAt != null) 'updatedAt': updatedAt!, + }; +} + class GoogleCloudApigeeV1AsyncQuery { /// Creation time of the query. core.String? created; @@ -13702,6 +14299,10 @@ class GoogleCloudApigeeV1Deployment { core.List? routeConflicts; + /// The full resource name of Cloud IAM Service Account that this deployment + /// is using, eg, `projects/-/serviceAccounts/{email}`. + core.String? serviceAccount; + /// Current state of the deployment. /// /// This field is not populated in List APIs. @@ -13722,6 +14323,7 @@ class GoogleCloudApigeeV1Deployment { this.pods, this.revision, this.routeConflicts, + this.serviceAccount, this.state, }); @@ -13768,6 +14370,9 @@ class GoogleCloudApigeeV1Deployment { value as core.Map)) .toList() : null, + serviceAccount: _json.containsKey('serviceAccount') + ? _json['serviceAccount'] as core.String + : null, state: _json.containsKey('state') ? _json['state'] as core.String : null, ); @@ -13785,6 +14390,7 @@ class GoogleCloudApigeeV1Deployment { if (routeConflicts != null) 'routeConflicts': routeConflicts!.map((value) => value.toJson()).toList(), + if (serviceAccount != null) 'serviceAccount': serviceAccount!, if (state != null) 'state': state!, }; } @@ -14648,11 +15254,52 @@ class GoogleCloudApigeeV1EntityMetadata { } class GoogleCloudApigeeV1Environment { + /// API Proxy type supported by the environment. + /// + /// The type can be set when creating the Environment and cannot be changed. + /// + /// Optional. + /// Possible string values are: + /// - "API_PROXY_TYPE_UNSPECIFIED" : API proxy type not specified. + /// - "PROGRAMMABLE" : Programmable API Proxies enable you to develop APIs + /// with highly flexible behavior using bundled policy configuration and one + /// or more programming languages to describe complex sequential and/or + /// conditional flows of logic. + /// - "CONFIGURABLE" : Configurable API Proxies enable you to develop + /// efficient APIs using simple configuration while complex execution control + /// flow logic is handled by Apigee. This type only works with the ARCHIVE + /// deployment type and cannot be combined with the PROXY deployment type. + core.String? apiProxyType; + /// Creation time of this environment as milliseconds since epoch. /// /// Output only. core.String? createdAt; + /// Deployment type supported by the environment. + /// + /// The deployment type can be set when creating the environment and cannot be + /// changed. When you enable archive deployment, you will be **prevented from + /// performing** a \[subset of + /// actions\](/apigee/docs/api-platform/local-development/overview#prevented-actions) + /// within the environment, including: * Managing the deployment of API proxy + /// or shared flow revisions * Creating, updating, or deleting resource files + /// * Creating, updating, or deleting target servers + /// + /// Optional. + /// Possible string values are: + /// - "DEPLOYMENT_TYPE_UNSPECIFIED" : Deployment type not specified. + /// - "PROXY" : Proxy deployment enables you to develop and deploy API proxies + /// using Apigee on Google Cloud. This cannot currently be combined with the + /// CONFIGURABLE API proxy type. + /// - "ARCHIVE" : Archive deployment enables you to develop API proxies + /// locally then deploy an archive of your API proxy configuration to an + /// environment in Apigee on Google Cloud. You will be prevented from + /// performing a \[subset of + /// actions\](/apigee/docs/api-platform/local-development/overview#prevented-actions) + /// within the environment. + core.String? deploymentType; + /// Description of the environment. /// /// Optional. @@ -14694,7 +15341,9 @@ class GoogleCloudApigeeV1Environment { core.String? state; GoogleCloudApigeeV1Environment({ + this.apiProxyType, this.createdAt, + this.deploymentType, this.description, this.displayName, this.lastModifiedAt, @@ -14705,9 +15354,15 @@ class GoogleCloudApigeeV1Environment { GoogleCloudApigeeV1Environment.fromJson(core.Map _json) : this( + apiProxyType: _json.containsKey('apiProxyType') + ? _json['apiProxyType'] as core.String + : null, createdAt: _json.containsKey('createdAt') ? _json['createdAt'] as core.String : null, + deploymentType: _json.containsKey('deploymentType') + ? _json['deploymentType'] as core.String + : null, description: _json.containsKey('description') ? _json['description'] as core.String : null, @@ -14727,7 +15382,9 @@ class GoogleCloudApigeeV1Environment { ); core.Map toJson() => { + if (apiProxyType != null) 'apiProxyType': apiProxyType!, if (createdAt != null) 'createdAt': createdAt!, + if (deploymentType != null) 'deploymentType': deploymentType!, if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!, @@ -14738,6 +15395,12 @@ class GoogleCloudApigeeV1Environment { } class GoogleCloudApigeeV1EnvironmentConfig { + /// The location for the config blob of API Runtime Control, aka Envoy + /// Adapter, for op-based authentication as a URI, e.g. a Cloud Storage URI. + /// + /// This is only used by Envoy-based gateways. + core.String? arcConfigLocation; + /// Time that the environment configuration was created. core.String? createTime; @@ -14756,6 +15419,12 @@ class GoogleCloudApigeeV1EnvironmentConfig { /// List of flow hooks in the environment. core.List? flowhooks; + /// The location for the gateway config blob as a URI, e.g. a Cloud Storage + /// URI. + /// + /// This is only used by Envoy-based gateways. + core.String? gatewayConfigLocation; + /// List of keystores in the environment. core.List? keystores; @@ -14801,12 +15470,14 @@ class GoogleCloudApigeeV1EnvironmentConfig { core.String? uid; GoogleCloudApigeeV1EnvironmentConfig({ + this.arcConfigLocation, this.createTime, this.dataCollectors, this.debugMask, this.deployments, this.featureFlags, this.flowhooks, + this.gatewayConfigLocation, this.keystores, this.name, this.provider, @@ -14822,6 +15493,9 @@ class GoogleCloudApigeeV1EnvironmentConfig { GoogleCloudApigeeV1EnvironmentConfig.fromJson(core.Map _json) : this( + arcConfigLocation: _json.containsKey('arcConfigLocation') + ? _json['arcConfigLocation'] as core.String + : null, createTime: _json.containsKey('createTime') ? _json['createTime'] as core.String : null, @@ -14859,6 +15533,9 @@ class GoogleCloudApigeeV1EnvironmentConfig { value as core.Map)) .toList() : null, + gatewayConfigLocation: _json.containsKey('gatewayConfigLocation') + ? _json['gatewayConfigLocation'] as core.String + : null, keystores: _json.containsKey('keystores') ? (_json['keystores'] as core.List) .map((value) => @@ -14908,6 +15585,7 @@ class GoogleCloudApigeeV1EnvironmentConfig { ); core.Map toJson() => { + if (arcConfigLocation != null) 'arcConfigLocation': arcConfigLocation!, if (createTime != null) 'createTime': createTime!, if (dataCollectors != null) 'dataCollectors': @@ -14918,6 +15596,8 @@ class GoogleCloudApigeeV1EnvironmentConfig { if (featureFlags != null) 'featureFlags': featureFlags!, if (flowhooks != null) 'flowhooks': flowhooks!.map((value) => value.toJson()).toList(), + if (gatewayConfigLocation != null) + 'gatewayConfigLocation': gatewayConfigLocation!, if (keystores != null) 'keystores': keystores!.map((value) => value.toJson()).toList(), if (name != null) 'name': name!, @@ -15402,6 +16082,72 @@ class GoogleCloudApigeeV1FlowHookConfig { }; } +/// Request for GenerateDownloadUrl method. +class GoogleCloudApigeeV1GenerateDownloadUrlRequest { + GoogleCloudApigeeV1GenerateDownloadUrlRequest(); + + GoogleCloudApigeeV1GenerateDownloadUrlRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response for GenerateDownloadUrl method. +class GoogleCloudApigeeV1GenerateDownloadUrlResponse { + /// The Google Cloud Storage signed URL that can be used to download the + /// Archive zip file. + core.String? downloadUri; + + GoogleCloudApigeeV1GenerateDownloadUrlResponse({ + this.downloadUri, + }); + + GoogleCloudApigeeV1GenerateDownloadUrlResponse.fromJson(core.Map _json) + : this( + downloadUri: _json.containsKey('downloadUri') + ? _json['downloadUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (downloadUri != null) 'downloadUri': downloadUri!, + }; +} + +/// Request for GenerateUploadUrl method. +class GoogleCloudApigeeV1GenerateUploadUrlRequest { + GoogleCloudApigeeV1GenerateUploadUrlRequest(); + + GoogleCloudApigeeV1GenerateUploadUrlRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response for GenerateUploadUrl method. +class GoogleCloudApigeeV1GenerateUploadUrlResponse { + /// The Google Cloud Storage signed URL that can be used to upload a new + /// Archive zip file. + core.String? uploadUri; + + GoogleCloudApigeeV1GenerateUploadUrlResponse({ + this.uploadUri, + }); + + GoogleCloudApigeeV1GenerateUploadUrlResponse.fromJson(core.Map _json) + : this( + uploadUri: _json.containsKey('uploadUri') + ? _json['uploadUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (uploadUri != null) 'uploadUri': uploadUri!, + }; +} + /// Request for GetSyncAuthorization. class GoogleCloudApigeeV1GetSyncAuthorizationRequest { GoogleCloudApigeeV1GetSyncAuthorizationRequest(); @@ -15701,6 +16447,14 @@ class GoogleCloudApigeeV1Instance { /// Output only. core.String? port; + /// Version of the runtime system running in the instance. + /// + /// The runtime system is the set of components that serve the API Proxy + /// traffic in your Environments. + /// + /// Output only. + core.String? runtimeVersion; + /// State of the instance. /// /// Values other than `ACTIVE` means the resource is not ready to use. @@ -15725,6 +16479,7 @@ class GoogleCloudApigeeV1Instance { this.name, this.peeringCidrRange, this.port, + this.runtimeVersion, this.state, }); @@ -15754,6 +16509,9 @@ class GoogleCloudApigeeV1Instance { ? _json['peeringCidrRange'] as core.String : null, port: _json.containsKey('port') ? _json['port'] as core.String : null, + runtimeVersion: _json.containsKey('runtimeVersion') + ? _json['runtimeVersion'] as core.String + : null, state: _json.containsKey('state') ? _json['state'] as core.String : null, ); @@ -15770,6 +16528,7 @@ class GoogleCloudApigeeV1Instance { if (name != null) 'name': name!, if (peeringCidrRange != null) 'peeringCidrRange': peeringCidrRange!, if (port != null) 'port': port!, + if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!, if (state != null) 'state': state!, }; } @@ -15949,27 +16708,6 @@ class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute { }; } -/// Configuration for the Integration add-on. -class GoogleCloudApigeeV1IntegrationConfig { - /// Flag that specifies whether the Integration add-on is enabled. - core.bool? enabled; - - GoogleCloudApigeeV1IntegrationConfig({ - this.enabled, - }); - - GoogleCloudApigeeV1IntegrationConfig.fromJson(core.Map _json) - : this( - enabled: _json.containsKey('enabled') - ? _json['enabled'] as core.bool - : null, - ); - - core.Map toJson() => { - if (enabled != null) 'enabled': enabled!, - }; -} - class GoogleCloudApigeeV1KeyAliasReference { /// Alias ID. /// @@ -16228,6 +16966,44 @@ class GoogleCloudApigeeV1ListAppsResponse { }; } +/// Response for ListArchiveDeployments method. +class GoogleCloudApigeeV1ListArchiveDeploymentsResponse { + /// Archive Deployments in the specified environment. + core.List? archiveDeployments; + + /// Page token that you can include in a ListArchiveDeployments request to + /// retrieve the next page. + /// + /// If omitted, no subsequent pages exist. + core.String? nextPageToken; + + GoogleCloudApigeeV1ListArchiveDeploymentsResponse({ + this.archiveDeployments, + this.nextPageToken, + }); + + GoogleCloudApigeeV1ListArchiveDeploymentsResponse.fromJson(core.Map _json) + : this( + archiveDeployments: _json.containsKey('archiveDeployments') + ? (_json['archiveDeployments'] as core.List) + .map((value) => + GoogleCloudApigeeV1ArchiveDeployment.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (archiveDeployments != null) + 'archiveDeployments': + archiveDeployments!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// The response for ListAsyncQueries. class GoogleCloudApigeeV1ListAsyncQueriesResponse { /// The asynchronous queries belong to requested resource name. @@ -20156,6 +20932,11 @@ class GoogleCloudApigeeV1TargetServer { } class GoogleCloudApigeeV1TargetServerConfig { + /// Whether the target server is enabled. + /// + /// An empty/omitted value for this field should be interpreted as true. + core.bool? enabled; + /// Host name of the target server. core.String? host; @@ -20178,6 +20959,7 @@ class GoogleCloudApigeeV1TargetServerConfig { GoogleCloudApigeeV1TlsInfoConfig? tlsInfo; GoogleCloudApigeeV1TargetServerConfig({ + this.enabled, this.host, this.name, this.port, @@ -20187,6 +20969,9 @@ class GoogleCloudApigeeV1TargetServerConfig { GoogleCloudApigeeV1TargetServerConfig.fromJson(core.Map _json) : this( + enabled: _json.containsKey('enabled') + ? _json['enabled'] as core.bool + : null, host: _json.containsKey('host') ? _json['host'] as core.String : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, port: _json.containsKey('port') ? _json['port'] as core.int : null, @@ -20200,6 +20985,7 @@ class GoogleCloudApigeeV1TargetServerConfig { ); core.Map toJson() => { + if (enabled != null) 'enabled': enabled!, if (host != null) 'host': host!, if (name != null) 'name': name!, if (port != null) 'port': port!, @@ -20949,7 +21735,7 @@ class GoogleIamV1Binding { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class GoogleIamV1Policy { diff --git a/generated/googleapis/lib/apikeys/v2.dart b/generated/googleapis/lib/apikeys/v2.dart index 441380212..ac5f6c473 100644 --- a/generated/googleapis/lib/apikeys/v2.dart +++ b/generated/googleapis/lib/apikeys/v2.dart @@ -41,11 +41,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages the API keys associated with developer projects. class ApiKeysServiceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart index 3061b932c..0f9a16013 100644 --- a/generated/googleapis/lib/appengine/v1.dart +++ b/generated/googleapis/lib/appengine/v1.dart @@ -52,11 +52,13 @@ class AppengineApi { static const appengineAdminScope = 'https://www.googleapis.com/auth/appengine.admin'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -2259,6 +2261,12 @@ class Application { /// Example: apps/myapp.@OutputOnly core.String? name; + /// The service account associated with the application. + /// + /// This is the app-level default identity. If no identity provided during + /// create version, Admin API will fallback to this one. + core.String? serviceAccount; + /// Serving status of this application. /// Possible string values are: /// - "UNSPECIFIED" : Serving status is unspecified. @@ -2281,6 +2289,7 @@ class Application { this.id, this.locationId, this.name, + this.serviceAccount, this.servingStatus, }); @@ -2326,6 +2335,9 @@ class Application { ? _json['locationId'] as core.String : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, + serviceAccount: _json.containsKey('serviceAccount') + ? _json['serviceAccount'] as core.String + : null, servingStatus: _json.containsKey('servingStatus') ? _json['servingStatus'] as core.String : null, @@ -2349,6 +2361,7 @@ class Application { if (id != null) 'id': id!, if (locationId != null) 'locationId': locationId!, if (name != null) 'name': name!, + if (serviceAccount != null) 'serviceAccount': serviceAccount!, if (servingStatus != null) 'servingStatus': servingStatus!, }; } @@ -3504,6 +3517,220 @@ class GoogleAppengineV1betaLocationMetadata { }; } +/// Represents the metadata of the long-running operation. +class GoogleAppengineV2OperationMetadata { + /// API version used to start the operation. + /// + /// Output only. + core.String? apiVersion; + + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// Ephemeral message that may change every time the operation is polled. + /// + /// Output only. + core.String? ephemeralMessage; + + /// Identifies whether the user has requested cancellation of the operation. + /// + /// Operations that have been cancelled successfully have Operation.error + /// value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. + /// + /// Output only. + core.bool? requestedCancellation; + + /// Human-readable status of the operation, if any. + /// + /// Output only. + core.String? statusMessage; + + /// Server-defined resource path for the target of the operation. + /// + /// Output only. + core.String? target; + + /// Name of the verb executed by the operation. + /// + /// Output only. + core.String? verb; + + /// Durable messages that persist on every operation poll. + /// + /// Output only. + core.List? warning; + + GoogleAppengineV2OperationMetadata({ + this.apiVersion, + this.createTime, + this.endTime, + this.ephemeralMessage, + this.requestedCancellation, + this.statusMessage, + this.target, + this.verb, + this.warning, + }); + + GoogleAppengineV2OperationMetadata.fromJson(core.Map _json) + : this( + apiVersion: _json.containsKey('apiVersion') + ? _json['apiVersion'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + ephemeralMessage: _json.containsKey('ephemeralMessage') + ? _json['ephemeralMessage'] as core.String + : null, + requestedCancellation: _json.containsKey('requestedCancellation') + ? _json['requestedCancellation'] as core.bool + : null, + statusMessage: _json.containsKey('statusMessage') + ? _json['statusMessage'] as core.String + : null, + target: _json.containsKey('target') + ? _json['target'] as core.String + : null, + verb: _json.containsKey('verb') ? _json['verb'] as core.String : null, + warning: _json.containsKey('warning') + ? (_json['warning'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (apiVersion != null) 'apiVersion': apiVersion!, + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (ephemeralMessage != null) 'ephemeralMessage': ephemeralMessage!, + if (requestedCancellation != null) + 'requestedCancellation': requestedCancellation!, + if (statusMessage != null) 'statusMessage': statusMessage!, + if (target != null) 'target': target!, + if (verb != null) 'verb': verb!, + if (warning != null) 'warning': warning!, + }; +} + +/// Represents the metadata of the long-running operation. +class GoogleAppengineV2mainOperationMetadata { + /// API version used to start the operation. + /// + /// Output only. + core.String? apiVersion; + + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// Ephemeral message that may change every time the operation is polled. + /// + /// Output only. + core.String? ephemeralMessage; + + /// Identifies whether the user has requested cancellation of the operation. + /// + /// Operations that have been cancelled successfully have Operation.error + /// value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. + /// + /// Output only. + core.bool? requestedCancellation; + + /// Human-readable status of the operation, if any. + /// + /// Output only. + core.String? statusMessage; + + /// Server-defined resource path for the target of the operation. + /// + /// Output only. + core.String? target; + + /// Name of the verb executed by the operation. + /// + /// Output only. + core.String? verb; + + /// Durable messages that persist on every operation poll. + /// + /// Output only. + core.List? warning; + + GoogleAppengineV2mainOperationMetadata({ + this.apiVersion, + this.createTime, + this.endTime, + this.ephemeralMessage, + this.requestedCancellation, + this.statusMessage, + this.target, + this.verb, + this.warning, + }); + + GoogleAppengineV2mainOperationMetadata.fromJson(core.Map _json) + : this( + apiVersion: _json.containsKey('apiVersion') + ? _json['apiVersion'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + ephemeralMessage: _json.containsKey('ephemeralMessage') + ? _json['ephemeralMessage'] as core.String + : null, + requestedCancellation: _json.containsKey('requestedCancellation') + ? _json['requestedCancellation'] as core.bool + : null, + statusMessage: _json.containsKey('statusMessage') + ? _json['statusMessage'] as core.String + : null, + target: _json.containsKey('target') + ? _json['target'] as core.String + : null, + verb: _json.containsKey('verb') ? _json['verb'] as core.String : null, + warning: _json.containsKey('warning') + ? (_json['warning'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (apiVersion != null) 'apiVersion': apiVersion!, + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (ephemeralMessage != null) 'ephemeralMessage': ephemeralMessage!, + if (requestedCancellation != null) + 'requestedCancellation': requestedCancellation!, + if (statusMessage != null) 'statusMessage': statusMessage!, + if (target != null) 'target': target!, + if (verb != null) 'verb': verb!, + if (warning != null) 'warning': warning!, + }; +} + /// Health checking configuration for VM instances. /// /// Unhealthy instances are killed and replaced with new instances. Only diff --git a/generated/googleapis/lib/artifactregistry/v1.dart b/generated/googleapis/lib/artifactregistry/v1.dart index 1739c9a44..ce7dd853d 100644 --- a/generated/googleapis/lib/artifactregistry/v1.dart +++ b/generated/googleapis/lib/artifactregistry/v1.dart @@ -43,11 +43,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Store and manage build artifacts in a scalable and integrated service built /// on Google infrastructure. class ArtifactRegistryApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -207,9 +209,10 @@ class OperationsResource { /// /// Request parameters: /// - /// [filter] - The standard list filter. - /// /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^operations$`. + /// + /// [filter] - The standard list filter. /// /// [pageSize] - The standard list page size. /// @@ -225,22 +228,21 @@ class OperationsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future list({ + async.Future list( + core.String name, { core.String? filter, - core.String? name, core.int? pageSize, core.String? pageToken, core.String? $fields, }) async { final _queryParams = >{ if (filter != null) 'filter': [filter], - if (name != null) 'name': [name], if (pageSize != null) 'pageSize': ['${pageSize}'], if (pageToken != null) 'pageToken': [pageToken], if ($fields != null) 'fields': [$fields], }; - const _url = 'v1/operations'; + final _url = 'v1/' + core.Uri.encodeFull('$name'); final _response = await _requester.request( _url, @@ -1032,6 +1034,8 @@ class Repository { /// - "MAVEN" : Maven package format. /// - "NPM" : NPM package format. /// - "PYPI" : PyPI package format. + /// - "APT" : APT package format. + /// - "YUM" : YUM package format. /// - "PYTHON" : Python package format. core.String? format; diff --git a/generated/googleapis/lib/assuredworkloads/v1.dart b/generated/googleapis/lib/assuredworkloads/v1.dart index 61d636227..08e2e9a1c 100644 --- a/generated/googleapis/lib/assuredworkloads/v1.dart +++ b/generated/googleapis/lib/assuredworkloads/v1.dart @@ -37,7 +37,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class AssuredworkloadsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -441,6 +442,10 @@ class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata { /// controls /// - "HIPAA" : Health Insurance Portability and Accountability Act controls /// - "HITRUST" : Health Information Trust Alliance controls + /// - "EU_REGIONS_AND_SUPPORT" : Assured Workloads For EU Regions and Support + /// controls + /// - "CA_REGIONS_AND_SUPPORT" : Assured Workloads For Canada Regions and + /// Support controls core.String? complianceRegime; /// Time when the operation was created. @@ -554,6 +559,10 @@ class GoogleCloudAssuredworkloadsV1Workload { /// controls /// - "HIPAA" : Health Insurance Portability and Accountability Act controls /// - "HITRUST" : Health Information Trust Alliance controls + /// - "EU_REGIONS_AND_SUPPORT" : Assured Workloads For EU Regions and Support + /// controls + /// - "CA_REGIONS_AND_SUPPORT" : Assured Workloads For Canada Regions and + /// Support controls core.String? complianceRegime; /// The Workload creation timestamp. @@ -602,10 +611,9 @@ class GoogleCloudAssuredworkloadsV1Workload { /// Input only. /// /// The parent resource for the resources managed by this Assured Workload. - /// May be either an organization or a folder. Must be the same or a child of - /// the Workload parent. If not specified all resources are created under the - /// Workload parent. Formats: folders/{folder_id} - /// organizations/{organization_id} + /// May be either empty or a folder resource which is a child of the Workload + /// parent. If not specified all resources are created under the parent + /// organization. Format: folders/{folder_id} core.String? provisionedResourcesParent; /// Input only. @@ -851,6 +859,10 @@ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata { /// controls /// - "HIPAA" : Health Insurance Portability and Accountability Act controls /// - "HITRUST" : Health Information Trust Alliance controls + /// - "EU_REGIONS_AND_SUPPORT" : Assured Workloads For EU Regions and Support + /// controls + /// - "CA_REGIONS_AND_SUPPORT" : Assured Workloads For Canada Regions and + /// Support controls core.String? complianceRegime; /// Time when the operation was created. @@ -953,6 +965,10 @@ class GoogleCloudAssuredworkloadsV1beta1Workload { /// controls /// - "HIPAA" : Health Insurance Portability and Accountability Act controls /// - "HITRUST" : Health Information Trust Alliance controls + /// - "EU_REGIONS_AND_SUPPORT" : Assured Workloads For EU Regions and Support + /// controls + /// - "CA_REGIONS_AND_SUPPORT" : Assured Workloads For Canada Regions and + /// Support controls core.String? complianceRegime; /// The Workload creation timestamp. @@ -1024,10 +1040,9 @@ class GoogleCloudAssuredworkloadsV1beta1Workload { /// Input only. /// /// The parent resource for the resources managed by this Assured Workload. - /// May be either an organization or a folder. Must be the same or a child of - /// the Workload parent. If not specified all resources are created under the - /// Workload parent. Formats: folders/{folder_id} - /// organizations/{organization_id} + /// May be either empty or a folder resource which is a child of the Workload + /// parent. If not specified all resources are created under the parent + /// organization. Format: folders/{folder_id} core.String? provisionedResourcesParent; /// Input only. diff --git a/generated/googleapis/lib/baremetalsolution/v1.dart b/generated/googleapis/lib/baremetalsolution/v1.dart index 5873e2cd9..2cc95f53a 100644 --- a/generated/googleapis/lib/baremetalsolution/v1.dart +++ b/generated/googleapis/lib/baremetalsolution/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Provides ways to manage Bare Metal Solution hardware installed in a regional /// extension located near a Google Cloud data center. class BaremetalsolutionApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart index d0f243aa6..bc399fd72 100644 --- a/generated/googleapis/lib/bigquery/v2.dart +++ b/generated/googleapis/lib/bigquery/v2.dart @@ -53,22 +53,26 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A data platform for customers to create, manage, share and query data. class BigqueryApi { - /// View and manage your data in Google BigQuery + /// View and manage your data in Google BigQuery and see the email address for + /// your Google Account static const bigqueryScope = 'https://www.googleapis.com/auth/bigquery'; /// Insert data into Google BigQuery static const bigqueryInsertdataScope = 'https://www.googleapis.com/auth/bigquery.insertdata'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; - /// Manage your data and permissions in Google Cloud Storage + /// Manage your data and permissions in Cloud Storage and see the email + /// address for your Google Account static const devstorageFullControlScope = 'https://www.googleapis.com/auth/devstorage.full_control'; @@ -76,7 +80,8 @@ class BigqueryApi { static const devstorageReadOnlyScope = 'https://www.googleapis.com/auth/devstorage.read_only'; - /// Manage your data in Google Cloud Storage + /// Manage your data in Cloud Storage and see the email address of your Google + /// Account static const devstorageReadWriteScope = 'https://www.googleapis.com/auth/devstorage.read_write'; @@ -2886,6 +2891,32 @@ class AuditLogConfig { }; } +class AvroOptions { + /// If set to true will enable interpreting logical types into their + /// corresponding types (ie. + /// + /// TIMESTAMP), instead of only using their raw types (ie. INTEGER). + /// + /// Optional. + core.bool? useAvroLogicalTypes; + + AvroOptions({ + this.useAvroLogicalTypes, + }); + + AvroOptions.fromJson(core.Map _json) + : this( + useAvroLogicalTypes: _json.containsKey('useAvroLogicalTypes') + ? _json['useAvroLogicalTypes'] as core.bool + : null, + ); + + core.Map toJson() => { + if (useAvroLogicalTypes != null) + 'useAvroLogicalTypes': useAvroLogicalTypes!, + }; +} + class BiEngineReason { /// \[Output-only\] High-level BI Engine reason for partial or disabled /// acceleration. @@ -3966,6 +3997,11 @@ class CsvOptions { /// Optional. core.String? fieldDelimiter; + /// An custom string that will represent a NULL value in CSV import data. + /// + /// Optional. + core.String? nullMarker; + /// The value that is used to quote data sections in a CSV file. /// /// BigQuery converts the string to ISO-8859-1 encoding, and then uses the @@ -4000,6 +4036,7 @@ class CsvOptions { this.allowQuotedNewlines, this.encoding, this.fieldDelimiter, + this.nullMarker, this.quote, this.skipLeadingRows, }); @@ -4018,6 +4055,9 @@ class CsvOptions { fieldDelimiter: _json.containsKey('fieldDelimiter') ? _json['fieldDelimiter'] as core.String : null, + nullMarker: _json.containsKey('null_marker') + ? _json['null_marker'] as core.String + : null, quote: _json.containsKey('quote') ? _json['quote'] as core.String : null, skipLeadingRows: _json.containsKey('skipLeadingRows') @@ -4031,6 +4071,7 @@ class CsvOptions { 'allowQuotedNewlines': allowQuotedNewlines!, if (encoding != null) 'encoding': encoding!, if (fieldDelimiter != null) 'fieldDelimiter': fieldDelimiter!, + if (nullMarker != null) 'null_marker': nullMarker!, if (quote != null) 'quote': quote!, if (skipLeadingRows != null) 'skipLeadingRows': skipLeadingRows!, }; @@ -4274,6 +4315,11 @@ class Dataset { /// the datasetId field. core.String? id; + /// Indicates if table names are case insensitive in the dataset. + /// + /// Optional. + core.bool? isCaseInsensitive; + /// \[Output-only\] The resource type. core.String? kind; @@ -4313,6 +4359,7 @@ class Dataset { this.etag, this.friendlyName, this.id, + this.isCaseInsensitive, this.kind, this.labels, this.lastModifiedTime, @@ -4358,6 +4405,9 @@ class Dataset { ? _json['friendlyName'] as core.String : null, id: _json.containsKey('id') ? _json['id'] as core.String : null, + isCaseInsensitive: _json.containsKey('isCaseInsensitive') + ? _json['isCaseInsensitive'] as core.bool + : null, kind: _json.containsKey('kind') ? _json['kind'] as core.String : null, labels: _json.containsKey('labels') ? (_json['labels'] as core.Map).map( @@ -4398,6 +4448,7 @@ class Dataset { if (etag != null) 'etag': etag!, if (friendlyName != null) 'friendlyName': friendlyName!, if (id != null) 'id': id!, + if (isCaseInsensitive != null) 'isCaseInsensitive': isCaseInsensitive!, if (kind != null) 'kind': kind!, if (labels != null) 'labels': labels!, if (lastModifiedTime != null) 'lastModifiedTime': lastModifiedTime!, @@ -5283,6 +5334,9 @@ class ExternalDataConfiguration { /// Any option specified explicitly will be honored. core.bool? autodetect; + /// Additional properties to set if sourceFormat is set to Avro. + AvroOptions? avroOptions; + /// Additional options if sourceFormat is set to BIGTABLE. /// /// Optional. @@ -5400,6 +5454,7 @@ class ExternalDataConfiguration { ExternalDataConfiguration({ this.autodetect, + this.avroOptions, this.bigtableOptions, this.compression, this.connectionId, @@ -5420,6 +5475,10 @@ class ExternalDataConfiguration { autodetect: _json.containsKey('autodetect') ? _json['autodetect'] as core.bool : null, + avroOptions: _json.containsKey('avroOptions') + ? AvroOptions.fromJson( + _json['avroOptions'] as core.Map) + : null, bigtableOptions: _json.containsKey('bigtableOptions') ? BigtableOptions.fromJson(_json['bigtableOptions'] as core.Map) @@ -5474,6 +5533,7 @@ class ExternalDataConfiguration { core.Map toJson() => { if (autodetect != null) 'autodetect': autodetect!, + if (avroOptions != null) 'avroOptions': avroOptions!.toJson(), if (bigtableOptions != null) 'bigtableOptions': bigtableOptions!.toJson(), if (compression != null) 'compression': compression!, @@ -8479,8 +8539,8 @@ class Model { /// - "BOOSTED_TREE_REGRESSOR" : Boosted tree regressor model. /// - "BOOSTED_TREE_CLASSIFIER" : Boosted tree classifier model. /// - "ARIMA" : ARIMA model. - /// - "AUTOML_REGRESSOR" : \[Beta\] AutoML Tables regression model. - /// - "AUTOML_CLASSIFIER" : \[Beta\] AutoML Tables classification model. + /// - "AUTOML_REGRESSOR" : AutoML Tables regression model. + /// - "AUTOML_CLASSIFIER" : AutoML Tables classification model. /// - "ARIMA_PLUS" : New name for the ARIMA model. core.String? modelType; @@ -8818,7 +8878,7 @@ class ParquetOptions { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -9526,7 +9586,7 @@ class QueryResponse { /// \[Output-only\] \[Preview\] Information of the session if this job is part /// of one. - SessionInfo? sessionInfoTemplate; + SessionInfo? sessionInfo; /// The total number of bytes processed for this query. /// @@ -9549,7 +9609,7 @@ class QueryResponse { this.pageToken, this.rows, this.schema, - this.sessionInfoTemplate, + this.sessionInfo, this.totalBytesProcessed, this.totalRows, }); @@ -9593,9 +9653,9 @@ class QueryResponse { ? TableSchema.fromJson( _json['schema'] as core.Map) : null, - sessionInfoTemplate: _json.containsKey('sessionInfoTemplate') - ? SessionInfo.fromJson(_json['sessionInfoTemplate'] - as core.Map) + sessionInfo: _json.containsKey('sessionInfo') + ? SessionInfo.fromJson( + _json['sessionInfo'] as core.Map) : null, totalBytesProcessed: _json.containsKey('totalBytesProcessed') ? _json['totalBytesProcessed'] as core.String @@ -9618,8 +9678,7 @@ class QueryResponse { if (pageToken != null) 'pageToken': pageToken!, if (rows != null) 'rows': rows!.map((value) => value.toJson()).toList(), if (schema != null) 'schema': schema!.toJson(), - if (sessionInfoTemplate != null) - 'sessionInfoTemplate': sessionInfoTemplate!.toJson(), + if (sessionInfo != null) 'sessionInfo': sessionInfo!.toJson(), if (totalBytesProcessed != null) 'totalBytesProcessed': totalBytesProcessed!, if (totalRows != null) 'totalRows': totalRows!, @@ -9888,12 +9947,12 @@ class Routine { /// Required. core.String? definitionBody; - /// \[Experimental\] The description of the routine if defined. + /// The description of the routine, if defined. /// /// Optional. core.String? description; - /// \[Experimental\] The determinism level of the JavaScript UDF if defined. + /// The determinism level of the JavaScript UDF, if defined. /// /// Optional. /// Possible string values are: @@ -9931,26 +9990,31 @@ class Routine { /// Output only. core.String? lastModifiedTime; - /// Set only if Routine is a "TABLE_VALUED_FUNCTION". + /// Can be set only if routine_type = "TABLE_VALUED_FUNCTION". + /// + /// If absent, the return table type is inferred from definition_body at query + /// time in each query that references this routine. If present, then the + /// columns in the evaluated table result will be cast to match the column + /// types specificed in return table type, at query time. /// /// Optional. StandardSqlTableType? returnTableType; /// Optional if language = "SQL"; required otherwise. /// - /// If absent, the return type is inferred from definition_body at query time - /// in each query that references this routine. If present, then the evaluated - /// result will be cast to the specified returned type at query time. For - /// example, for the functions created with the following statements: * - /// `CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);` * - /// `CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1));` * `CREATE FUNCTION - /// Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));` The return_type is - /// `{type_kind: "FLOAT64"}` for `Add` and `Decrement`, and is absent for - /// `Increment` (inferred as FLOAT64 at query time). Suppose the function - /// `Add` is replaced by `CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS - /// (x + y);` Then the inferred return type of `Increment` is automatically - /// changed to INT64 at query time, while the return type of `Decrement` - /// remains FLOAT64. + /// Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the + /// return type is inferred from definition_body at query time in each query + /// that references this routine. If present, then the evaluated result will + /// be cast to the specified returned type at query time. For example, for the + /// functions created with the following statements: * `CREATE FUNCTION Add(x + /// FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);` * `CREATE FUNCTION + /// Increment(x FLOAT64) AS (Add(x, 1));` * `CREATE FUNCTION Decrement(x + /// FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));` The return_type is `{type_kind: + /// "FLOAT64"}` for `Add` and `Decrement`, and is absent for `Increment` + /// (inferred as FLOAT64 at query time). Suppose the function `Add` is + /// replaced by `CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y);` + /// Then the inferred return type of `Increment` is automatically changed to + /// INT64 at query time, while the return type of `Decrement` remains FLOAT64. StandardSqlDataType? returnType; /// Reference describing the ID of this routine. @@ -9968,6 +10032,16 @@ class Routine { /// - "TABLE_VALUED_FUNCTION" : Non-builtin permanent TVF. core.String? routineType; + /// Can be set for procedures only. + /// + /// If true (default), the definition body will be validated in the creation + /// and the updates of the procedure. For procedures with an argument of ANY + /// TYPE, the definition body validtion is not supported at creation/update + /// time, and thus this field must be set to false explicitly. + /// + /// Optional. + core.bool? strictMode; + Routine({ this.arguments, this.creationTime, @@ -9982,6 +10056,7 @@ class Routine { this.returnType, this.routineReference, this.routineType, + this.strictMode, }); Routine.fromJson(core.Map _json) @@ -10031,6 +10106,9 @@ class Routine { routineType: _json.containsKey('routineType') ? _json['routineType'] as core.String : null, + strictMode: _json.containsKey('strictMode') + ? _json['strictMode'] as core.bool + : null, ); core.Map toJson() => { @@ -10050,6 +10128,7 @@ class Routine { if (routineReference != null) 'routineReference': routineReference!.toJson(), if (routineType != null) 'routineType': routineType!, + if (strictMode != null) 'strictMode': strictMode!, }; } @@ -11308,6 +11387,13 @@ class TableFieldSchema { /// Optional. TableFieldSchemaCategories? categories; + /// Collation specification of the field. + /// + /// It only can be set on string type field. + /// + /// Optional. + core.String? collationSpec; + /// The field description. /// /// The maximum length is 1,024 characters. @@ -11389,6 +11475,7 @@ class TableFieldSchema { TableFieldSchema({ this.categories, + this.collationSpec, this.description, this.fields, this.maxLength, @@ -11406,6 +11493,9 @@ class TableFieldSchema { ? TableFieldSchemaCategories.fromJson( _json['categories'] as core.Map) : null, + collationSpec: _json.containsKey('collationSpec') + ? _json['collationSpec'] as core.String + : null, description: _json.containsKey('description') ? _json['description'] as core.String : null, @@ -11434,6 +11524,7 @@ class TableFieldSchema { core.Map toJson() => { if (categories != null) 'categories': categories!.toJson(), + if (collationSpec != null) 'collationSpec': collationSpec!, if (description != null) 'description': description!, if (fields != null) 'fields': fields!.map((value) => value.toJson()).toList(), diff --git a/generated/googleapis/lib/bigquerydatatransfer/v1.dart b/generated/googleapis/lib/bigquerydatatransfer/v1.dart index ace4bb800..e481861ca 100644 --- a/generated/googleapis/lib/bigquerydatatransfer/v1.dart +++ b/generated/googleapis/lib/bigquerydatatransfer/v1.dart @@ -48,14 +48,17 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Schedule queries or transfer external data from SaaS applications to Google /// BigQuery on a regular basis. class BigQueryDataTransferApi { - /// View and manage your data in Google BigQuery + /// View and manage your data in Google BigQuery and see the email address for + /// your Google Account static const bigqueryScope = 'https://www.googleapis.com/auth/bigquery'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -81,6 +84,54 @@ class ProjectsResource { ProjectsTransferConfigsResource(_requester); ProjectsResource(commons.ApiRequester client) : _requester = client; + + /// Enroll data sources in a user project. + /// + /// This allows users to create transfer configurations for these data + /// sources. They will also appear in the ListDataSources RPC and as such, + /// will appear in the BigQuery UI 'https://bigquery.cloud.google.com' (and + /// the documents can be found at + /// https://cloud.google.com/bigquery/bigquery-web-ui and + /// https://cloud.google.com/bigquery/docs/working-with-transfers). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the project resource in the form: + /// `projects/{project_id}` + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future enrollDataSources( + EnrollDataSourcesRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':enrollDataSources'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } } class ProjectsDataSourcesResource { @@ -239,6 +290,54 @@ class ProjectsLocationsResource { ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + /// Enroll data sources in a user project. + /// + /// This allows users to create transfer configurations for these data + /// sources. They will also appear in the ListDataSources RPC and as such, + /// will appear in the BigQuery UI 'https://bigquery.cloud.google.com' (and + /// the documents can be found at + /// https://cloud.google.com/bigquery/bigquery-web-ui and + /// https://cloud.google.com/bigquery/docs/working-with-transfers). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the project resource in the form: + /// `projects/{project_id}` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future enrollDataSources( + EnrollDataSourcesRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':enrollDataSources'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + /// Gets information about a location. /// /// Request parameters: @@ -641,7 +740,8 @@ class ProjectsLocationsTransferConfigsResource { _response as core.Map); } - /// Returns information about all data transfers in the project. + /// Returns information about all transfer configs owned by a project in the + /// specified location. /// /// Request parameters: /// @@ -1263,7 +1363,8 @@ class ProjectsTransferConfigsResource { _response as core.Map); } - /// Returns information about all data transfers in the project. + /// Returns information about all transfer configs owned by a project in the + /// specified location. /// /// Request parameters: /// @@ -1766,10 +1867,7 @@ class DataSource { /// - "GOOGLE_PLUS_AUTHORIZATION_CODE" : Return an authorization code for a /// given Google+ page that can then be exchanged for a refresh token on the /// backend. - /// - "FIRST_PARTY_OAUTH" : Use First Party OAuth based on Loas Owned Clients. - /// First Party OAuth doesn't require a refresh token to get an offline access - /// token. Instead, it uses a client-signed JWT assertion to retrieve an - /// access token. + /// - "FIRST_PARTY_OAUTH" : Use First Party OAuth. core.String? authorizationType; /// Data source client id which should be used to receive refresh token. @@ -2184,6 +2282,32 @@ class Empty { core.Map toJson() => {}; } +/// A request to enroll a set of data sources so they are visible in the +/// BigQuery UI's `Transfer` tab. +class EnrollDataSourcesRequest { + /// Data sources that are enrolled. + /// + /// It is required to provide at least one data source id. + core.List? dataSourceIds; + + EnrollDataSourcesRequest({ + this.dataSourceIds, + }); + + EnrollDataSourcesRequest.fromJson(core.Map _json) + : this( + dataSourceIds: _json.containsKey('dataSourceIds') + ? (_json['dataSourceIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (dataSourceIds != null) 'dataSourceIds': dataSourceIds!, + }; +} + /// Returns list of supported data sources and their metadata. class ListDataSourcesResponse { /// List of supported data sources and their transfer settings. @@ -2776,8 +2900,19 @@ class TransferConfig { /// Pub/Sub topic where notifications will be sent after transfer runs /// associated with this transfer config finish. + /// + /// The format for specifying a pubsub topic is: + /// `projects/{project}/topics/{topic}` core.String? notificationPubsubTopic; + /// Information about the user whose credentials are used to transfer data. + /// + /// Populated only for `transferConfigs.get` requests. In case the user + /// information is not available, this field will not be populated. + /// + /// Output only. + UserInfo? ownerInfo; + /// Parameters specific to each data source. /// /// For more information see the bq tab in the 'Setting up a data transfer' @@ -2839,6 +2974,7 @@ class TransferConfig { this.name, this.nextRunTime, this.notificationPubsubTopic, + this.ownerInfo, this.params, this.schedule, this.scheduleOptions, @@ -2878,6 +3014,10 @@ class TransferConfig { notificationPubsubTopic: _json.containsKey('notificationPubsubTopic') ? _json['notificationPubsubTopic'] as core.String : null, + ownerInfo: _json.containsKey('ownerInfo') + ? UserInfo.fromJson( + _json['ownerInfo'] as core.Map) + : null, params: _json.containsKey('params') ? (_json['params'] as core.Map).map( (key, item) => core.MapEntry( @@ -2918,6 +3058,7 @@ class TransferConfig { if (nextRunTime != null) 'nextRunTime': nextRunTime!, if (notificationPubsubTopic != null) 'notificationPubsubTopic': notificationPubsubTopic!, + if (ownerInfo != null) 'ownerInfo': ownerInfo!.toJson(), if (params != null) 'params': params!, if (schedule != null) 'schedule': schedule!, if (scheduleOptions != null) @@ -3007,7 +3148,10 @@ class TransferRun { core.String? name; /// Pub/Sub topic where a notification will be sent after this transfer run - /// finishes + /// finishes. + /// + /// The format for specifying a pubsub topic is: + /// `projects/{project}/topics/{topic}` /// /// Output only. core.String? notificationPubsubTopic; @@ -3164,3 +3308,23 @@ class TransferRun { if (userId != null) 'userId': userId!, }; } + +/// Information about a user. +class UserInfo { + /// E-mail address of the user. + core.String? email; + + UserInfo({ + this.email, + }); + + UserInfo.fromJson(core.Map _json) + : this( + email: + _json.containsKey('email') ? _json['email'] as core.String : null, + ); + + core.Map toJson() => { + if (email != null) 'email': email!, + }; +} diff --git a/generated/googleapis/lib/bigqueryreservation/v1.dart b/generated/googleapis/lib/bigqueryreservation/v1.dart index 2da6b7407..a7d98be8a 100644 --- a/generated/googleapis/lib/bigqueryreservation/v1.dart +++ b/generated/googleapis/lib/bigqueryreservation/v1.dart @@ -41,10 +41,12 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A service to modify your BigQuery flat-rate reservations. class BigQueryReservationApi { - /// View and manage your data in Google BigQuery + /// View and manage your data in Google BigQuery and see the email address for + /// your Google Account static const bigqueryScope = 'https://www.googleapis.com/auth/bigquery'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -378,6 +380,10 @@ class ProjectsLocationsCapacityCommitmentsResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/capacityCommitments/\[^/\]+$`. /// + /// [force] - Can be used to force delete commitments even if assignments + /// exist. Deleting commitments with assignments may cause queries to fail if + /// they no longer have access to slots. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -390,9 +396,11 @@ class ProjectsLocationsCapacityCommitmentsResource { /// this method will complete with the same error. async.Future delete( core.String name, { + core.bool? force, core.String? $fields, }) async { final _queryParams = >{ + if (force != null) 'force': ['${force}'], if ($fields != null) 'fields': [$fields], }; diff --git a/generated/googleapis/lib/bigtableadmin/v2.dart b/generated/googleapis/lib/bigtableadmin/v2.dart index 4fafb439b..055ec7256 100644 --- a/generated/googleapis/lib/bigtableadmin/v2.dart +++ b/generated/googleapis/lib/bigtableadmin/v2.dart @@ -74,11 +74,13 @@ class BigtableAdminApi { static const cloudBigtableAdminTableScope = 'https://www.googleapis.com/auth/cloud-bigtable.admin.table'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -3712,6 +3714,11 @@ class GetPolicyOptions { /// /// All tables in an instance are served from all Clusters in the instance. class Instance { + /// A server-assigned timestamp representing when this Instance was created. + /// + /// Output only. + core.String? createTime; + /// The descriptive name for this instance as it appears in UIs. /// /// Can be changed at any time, but should be kept globally unique to avoid @@ -3766,6 +3773,7 @@ class Instance { core.String? type; Instance({ + this.createTime, this.displayName, this.labels, this.name, @@ -3775,6 +3783,9 @@ class Instance { Instance.fromJson(core.Map _json) : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, displayName: _json.containsKey('displayName') ? _json['displayName'] as core.String : null, @@ -3793,6 +3804,7 @@ class Instance { ); core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, if (displayName != null) 'displayName': displayName!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, @@ -4501,7 +4513,7 @@ class PartialUpdateInstanceRequest { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/billingbudgets/v1.dart b/generated/googleapis/lib/billingbudgets/v1.dart index 06c73d1ad..4a2f243db 100644 --- a/generated/googleapis/lib/billingbudgets/v1.dart +++ b/generated/googleapis/lib/billingbudgets/v1.dart @@ -45,7 +45,8 @@ class CloudBillingBudgetApi { static const cloudBillingScope = 'https://www.googleapis.com/auth/cloud-billing'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -340,7 +341,7 @@ class GoogleCloudBillingBudgetsV1Budget { /// Etag to validate that the object is unchanged for a read-modify-write /// operation. /// - /// An empty etag will cause an update to overwrite other changes. + /// An empty etag causes an update to overwrite other changes. /// /// Optional. core.String? etag; @@ -505,10 +506,10 @@ class GoogleCloudBillingBudgetsV1CustomPeriod { class GoogleCloudBillingBudgetsV1Filter { /// Specifies to track usage for recurring calendar period. /// - /// For example, assume that CalendarPeriod.QUARTER is set. The budget will - /// track usage from April 1 to June 30, when the current calendar month is - /// April, May, June. After that, it will track usage from July 1 to September - /// 30 when the current calendar month is July, August, September, so on. + /// For example, assume that CalendarPeriod.QUARTER is set. The budget tracks + /// usage from April 1 to June 30, when the current calendar month is April, + /// May, June. After that, it tracks usage from July 1 to September 30 when + /// the current calendar month is July, August, September, so on. /// /// Optional. /// Possible string values are: @@ -558,8 +559,10 @@ class GoogleCloudBillingBudgetsV1Filter { /// A single label and value pair specifying that usage from only this set of /// labeled resources should be included in the budget. /// - /// Currently, multiple entries or multiple values per entry are not allowed. - /// If omitted, the report will include all labeled and unlabeled usage. + /// If omitted, the report includes all labeled and unlabeled usage. An object + /// containing a single `"key": value` pair. Example: `{ "name": "wrench" }`. + /// _Currently, multiple entries or multiple values per entry are not + /// allowed._ /// /// Optional. /// @@ -570,7 +573,7 @@ class GoogleCloudBillingBudgetsV1Filter { /// A set of projects of the form `projects/{project}`, specifying that usage /// from only this set of projects should be included in the budget. /// - /// If omitted, the report will include all usage for the billing account, + /// If omitted, the report includes all usage for the billing account, /// regardless of which project the usage occurred on. Only zero or one /// project can be specified currently. /// @@ -580,8 +583,8 @@ class GoogleCloudBillingBudgetsV1Filter { /// A set of services of the form `services/{service_id}`, specifying that /// usage from only this set of services should be included in the budget. /// - /// If omitted, the report will include usage for all the services. The - /// service names are available through the Catalog API: + /// If omitted, the report includes usage for all the services. The service + /// names are available through the Catalog API: /// https://cloud.google.com/billing/v1/how-tos/catalog-api. /// /// Optional. @@ -592,8 +595,8 @@ class GoogleCloudBillingBudgetsV1Filter { /// in the budget. /// /// If a subaccount is set to the name of the parent account, usage from the - /// parent account will be included. If the field is omitted, the report will - /// include usage from the parent account and all subaccounts, if they exist. + /// parent account is included. If the field is omitted, the report includes + /// usage from the parent account and all subaccounts, if they exist. /// /// Optional. core.List? subaccounts; @@ -669,10 +672,8 @@ class GoogleCloudBillingBudgetsV1Filter { /// Describes a budget amount targeted to the last Filter.calendar_period spend. /// /// At this time, the amount is automatically 100% of the last calendar period's -/// spend; that is, there are no other options yet. Future configuration options -/// will be described here (for example, configuring a percentage of last -/// period's spend). LastPeriodAmount cannot be set for a budget configured with -/// a Filter.custom_period. +/// spend; that is, there are no other options yet. LastPeriodAmount cannot be +/// set for a budget configured with a Filter.custom_period. class GoogleCloudBillingBudgetsV1LastPeriodAmount { GoogleCloudBillingBudgetsV1LastPeriodAmount(); @@ -730,30 +731,46 @@ class GoogleCloudBillingBudgetsV1NotificationsRule { /// Optional. core.bool? disableDefaultIamRecipients; - /// Targets to send notifications to when a threshold is exceeded. - /// - /// This is in addition to default recipients who have billing account IAM - /// roles. The value is the full REST resource name of a monitoring - /// notification channel with the form - /// `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 - /// channels are allowed. See - /// https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients - /// for more details. + /// Email targets to send notifications to when a threshold is exceeded. + /// + /// This is in addition to the `DefaultIamRecipients` who receive alert emails + /// based on their billing account IAM role. The value is the full REST + /// resource name of a Cloud Monitoring email notification channel with the + /// form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum + /// of 5 email notifications are allowed. To customize budget alert email + /// recipients with monitoring notification channels, you _must create the + /// monitoring notification channels before you link them to a budget_. For + /// guidance on setting up notification channels to use with budgets, see + /// [Customize budget alert email recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). + /// For Cloud Billing budget alerts, you _must use email notification + /// channels_. The other types of notification channels are _not_ supported, + /// such as Slack, SMS, or PagerDuty. If you want to + /// [send budget notifications to Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), + /// use a pubsubTopic and configure + /// [programmatic notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). /// /// Optional. core.List? monitoringNotificationChannels; - /// The name of the Pub/Sub topic where budget related messages will be - /// published, in the form `projects/{project_id}/topics/{topic_id}`. - /// - /// Updates are sent at regular intervals to the topic. The topic needs to be - /// created before the budget is created; see - /// https://cloud.google.com/billing/docs/how-to/budgets#manage-notifications - /// for more details. Caller is expected to have `pubsub.topics.setIamPolicy` - /// permission on the topic when it's set for a budget, otherwise, the API - /// call will fail with PERMISSION_DENIED. See - /// https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications - /// for more details on Pub/Sub roles and permissions. + /// The name of the Pub/Sub topic where budget-related messages are published, + /// in the form `projects/{project_id}/topics/{topic_id}`. + /// + /// Updates are sent to the topic at regular intervals; the timing of the + /// updates is not dependent on the \[threshold rules\](#thresholdrule) you've + /// set. Note that if you want your + /// [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) + /// to contain data for `alertThresholdExceeded`, you need at least one + /// \[alert threshold rule\](#thresholdrule). When you set threshold rules, + /// you must also enable at least one of the email notification options, + /// either using the default IAM recipients or Cloud Monitoring email + /// notification channels. To use Pub/Sub topics with budgets, you must do the + /// following: 1. Create the Pub/Sub topic before connecting it to your + /// budget. For guidance, see + /// [Manage programmatic budget alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). + /// 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on the + /// Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. For + /// additional details on Pub/Sub roles and permissions, see + /// [Permissions required for this task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task). /// /// Optional. core.String? pubsubTopic; diff --git a/generated/googleapis/lib/binaryauthorization/v1.dart b/generated/googleapis/lib/binaryauthorization/v1.dart index 10682d608..67159e68c 100644 --- a/generated/googleapis/lib/binaryauthorization/v1.dart +++ b/generated/googleapis/lib/binaryauthorization/v1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The management interface for Binary Authorization, a system providing policy /// control for images deployed to Kubernetes Engine clusters. class BinaryAuthorizationApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1257,7 +1258,7 @@ class Expr { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class IamPolicy { @@ -1505,8 +1506,8 @@ class Policy { /// Possible string values are: /// - "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED" : Not specified: DISABLE is /// assumed. - /// - "ENABLE" : Enables global policy evaluation. - /// - "DISABLE" : Disables global policy evaluation. + /// - "ENABLE" : Enables system policy evaluation. + /// - "DISABLE" : Disables system policy evaluation. core.String? globalPolicyEvaluationMode; /// Per-istio-service-identity admission rules. diff --git a/generated/googleapis/lib/calendar/v3.dart b/generated/googleapis/lib/calendar/v3.dart index a2cbf872c..68d39d5a7 100644 --- a/generated/googleapis/lib/calendar/v3.dart +++ b/generated/googleapis/lib/calendar/v3.dart @@ -3192,15 +3192,16 @@ class ConferenceData { /// displayed to users. /// The ID value is formed differently for each conference solution type: /// - eventHangout: ID is not set. - /// - eventNamedHangout: ID is the name of the Hangout. + /// + /// (This conference type is deprecated.) + /// - eventNamedHangout: ID is the name of the Hangout. (This conference type + /// is deprecated.) /// - hangoutsMeet: ID is the 10-letter meeting code, for example /// aaa-bbbb-ccc. - /// - addOn: ID is defined by the third-party provider. - /// - /// Optional. + /// - addOn: ID is defined by the third-party provider. Optional. core.String? conferenceId; - /// The conference solution, such as Hangouts or Google Meet. + /// The conference solution, such as Google Meet. /// Unset for a conference with a failed create request. /// Either conferenceSolution and at least one entryPoint, or createRequest is /// required. @@ -3444,9 +3445,12 @@ class ConferenceSolutionKey { /// /// However, it should disallow modifications. /// The possible values are: - /// - "eventHangout" for Hangouts for consumers (http://hangouts.google.com) + /// - "eventHangout" for Hangouts for consumers (deprecated; existing events + /// may show this conference solution type but new conferences cannot be + /// created) /// - "eventNamedHangout" for classic Hangouts for Google Workspace users - /// (deprecated; http://hangouts.google.com) + /// (deprecated; existing events may show this conference solution type but + /// new conferences cannot be created) /// - "hangoutsMeet" for Google Meet (http://meet.google.com) /// - "addOn" for 3P conference providers core.String? type; diff --git a/generated/googleapis/lib/chat/v1.dart b/generated/googleapis/lib/chat/v1.dart index 9aaff093b..5dd1ec926 100644 --- a/generated/googleapis/lib/chat/v1.dart +++ b/generated/googleapis/lib/chat/v1.dart @@ -92,14 +92,14 @@ class DmsResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^dms/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -146,14 +146,14 @@ class DmsResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^dms/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -206,14 +206,14 @@ class DmsConversationsResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^dms/\[^/\]+/conversations/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -327,14 +327,14 @@ class RoomsResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^rooms/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -381,14 +381,14 @@ class RoomsResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^rooms/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -441,14 +441,14 @@ class RoomsConversationsResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^rooms/\[^/\]+/conversations/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -583,14 +583,14 @@ class SpacesResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^spaces/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -737,14 +737,14 @@ class SpacesMessagesResource { /// Example: spaces/AAAAMpdlehY /// Value must have pattern `^spaces/\[^/\]+$`. /// - /// [threadKey] - Opaque thread identifier string that can be specified to - /// group messages into a single thread. If this is the first message with a - /// given thread identifier, a new thread is created. Subsequent messages with - /// the same thread identifier will be posted into the same thread. This - /// relieves bots and webhooks from having to store the Hangouts Chat thread - /// ID of a thread (created earlier by them) to post further updates to it. - /// Has no effect if thread field, corresponding to an existing thread, is set - /// in message. + /// [threadKey] - Optional. Opaque thread identifier string that can be + /// specified to group messages into a single thread. If this is the first + /// message with a given thread identifier, a new thread is created. + /// Subsequent messages with the same thread identifier will be posted into + /// the same thread. This relieves bots and webhooks from having to store the + /// Hangouts Chat thread ID of a thread (created earlier by them) to post + /// further updates to it. Has no effect if thread field, corresponding to an + /// existing thread, is set in message. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1596,6 +1596,164 @@ class Color { }; } +/// Next available ID = 8 +class CommonEventObject { + /// The keys are the string IDs associated with the widget and the values are + /// inputs with a widget in the card. + core.Map? formInputs; + + /// The hostApp enum which indicates the app the add-on is invoked from + /// Possible string values are: + /// - "UNSPECIFIED_HOST_APP" + /// - "GMAIL" + /// - "CALENDAR" + /// - "DRIVE" + /// - "DEMO" + /// - "DOCS" + /// - "SHEETS" + /// - "SLIDES" + /// - "DRAWINGS" + /// - "CHAT" + /// - "ALL_HOST_APPS" : This is only used for aggregating logs on the server. + /// Clients should never send these values directly. + core.String? hostApp; + + /// Name of the invoked function associated with the widget. + /// + /// This field is currently only set for chat. + core.String? invokedFunction; + + /// Any additional parameters. + core.Map? parameters; + + /// The platform enum which indicates the platform where the add-on is + /// running. + /// Possible string values are: + /// - "UNKNOWN_PLATFORM" + /// - "WEB" + /// - "IOS" + /// - "ANDROID" + core.String? platform; + TimeZone? timeZone; + + /// The full locale.displayName in the format of \[ISO 639 language + /// code\]-\[ISO 3166 country/region code\] such as "en-US" + core.String? userLocale; + + CommonEventObject({ + this.formInputs, + this.hostApp, + this.invokedFunction, + this.parameters, + this.platform, + this.timeZone, + this.userLocale, + }); + + CommonEventObject.fromJson(core.Map _json) + : this( + formInputs: _json.containsKey('formInputs') + ? (_json['formInputs'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + Inputs.fromJson( + item as core.Map), + ), + ) + : null, + hostApp: _json.containsKey('hostApp') + ? _json['hostApp'] as core.String + : null, + invokedFunction: _json.containsKey('invokedFunction') + ? _json['invokedFunction'] as core.String + : null, + parameters: _json.containsKey('parameters') + ? (_json['parameters'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + platform: _json.containsKey('platform') + ? _json['platform'] as core.String + : null, + timeZone: _json.containsKey('timeZone') + ? TimeZone.fromJson( + _json['timeZone'] as core.Map) + : null, + userLocale: _json.containsKey('userLocale') + ? _json['userLocale'] as core.String + : null, + ); + + core.Map toJson() => { + if (formInputs != null) + 'formInputs': + formInputs!.map((key, item) => core.MapEntry(key, item.toJson())), + if (hostApp != null) 'hostApp': hostApp!, + if (invokedFunction != null) 'invokedFunction': invokedFunction!, + if (parameters != null) 'parameters': parameters!, + if (platform != null) 'platform': platform!, + if (timeZone != null) 'timeZone': timeZone!.toJson(), + if (userLocale != null) 'userLocale': userLocale!, + }; +} + +/// Input Parameter for Date Picker widget. +class DateInput { + core.String? msSinceEpoch; + + DateInput({ + this.msSinceEpoch, + }); + + DateInput.fromJson(core.Map _json) + : this( + msSinceEpoch: _json.containsKey('msSinceEpoch') + ? _json['msSinceEpoch'] as core.String + : null, + ); + + core.Map toJson() => { + if (msSinceEpoch != null) 'msSinceEpoch': msSinceEpoch!, + }; +} + +/// Input Parameter for Date and Time Picker widget. +class DateTimeInput { + core.bool? hasDate; + core.bool? hasTime; + core.String? msSinceEpoch; + + DateTimeInput({ + this.hasDate, + this.hasTime, + this.msSinceEpoch, + }); + + DateTimeInput.fromJson(core.Map _json) + : this( + hasDate: _json.containsKey('hasDate') + ? _json['hasDate'] as core.bool + : null, + hasTime: _json.containsKey('hasTime') + ? _json['hasTime'] as core.bool + : null, + msSinceEpoch: _json.containsKey('msSinceEpoch') + ? _json['msSinceEpoch'] as core.String + : null, + ); + + core.Map toJson() => { + if (hasDate != null) 'hasDate': hasDate!, + if (hasTime != null) 'hasTime': hasTime!, + if (msSinceEpoch != null) 'msSinceEpoch': msSinceEpoch!, + }; +} + /// Google Chat events. class DeprecatedEvent { /// The form action data associated with an interactive card that was clicked. @@ -1604,6 +1762,10 @@ class DeprecatedEvent { /// guide\](/chat/how-tos/cards-onclick) for more information. FormAction? action; + /// This will include form information for dialogs such as form inputs, action + /// parameters. + CommonEventObject? common; + /// The URL the bot should redirect the user to after they have completed an /// authorization or configuration flow outside of Google Chat. /// @@ -1611,9 +1773,24 @@ class DeprecatedEvent { /// for more information. core.String? configCompleteRedirectUrl; + /// The type of dialog event we have received. + /// Possible string values are: + /// - "TYPE_UNSPECIFIED" : This could be used when the corresponding event is + /// not dialog related. For example an @mention. + /// - "REQUEST_DIALOG" : For any user action that would result in a dialog + /// opening. + /// - "SUBMIT_DIALOG" : For card click events from any dialog. + /// - "CANCEL_DIALOG" : For native cancellation button. + core.String? dialogEventType; + /// The timestamp indicating when the event was dispatched. core.String? eventTime; + /// Whether or not this event is related to dialogs request, submit or cancel. + /// + /// This will be set to true when we want a request/submit/cancel event. + core.bool? isDialogEvent; + /// The message that triggered the event, if applicable. Message? message; @@ -1647,8 +1824,11 @@ class DeprecatedEvent { DeprecatedEvent({ this.action, + this.common, this.configCompleteRedirectUrl, + this.dialogEventType, this.eventTime, + this.isDialogEvent, this.message, this.space, this.threadKey, @@ -1663,13 +1843,23 @@ class DeprecatedEvent { ? FormAction.fromJson( _json['action'] as core.Map) : null, + common: _json.containsKey('common') + ? CommonEventObject.fromJson( + _json['common'] as core.Map) + : null, configCompleteRedirectUrl: _json.containsKey('configCompleteRedirectUrl') ? _json['configCompleteRedirectUrl'] as core.String : null, + dialogEventType: _json.containsKey('dialogEventType') + ? _json['dialogEventType'] as core.String + : null, eventTime: _json.containsKey('eventTime') ? _json['eventTime'] as core.String : null, + isDialogEvent: _json.containsKey('isDialogEvent') + ? _json['isDialogEvent'] as core.bool + : null, message: _json.containsKey('message') ? Message.fromJson( _json['message'] as core.Map) @@ -1692,9 +1882,12 @@ class DeprecatedEvent { core.Map toJson() => { if (action != null) 'action': action!.toJson(), + if (common != null) 'common': common!.toJson(), if (configCompleteRedirectUrl != null) 'configCompleteRedirectUrl': configCompleteRedirectUrl!, + if (dialogEventType != null) 'dialogEventType': dialogEventType!, if (eventTime != null) 'eventTime': eventTime!, + if (isDialogEvent != null) 'isDialogEvent': isDialogEvent!, if (message != null) 'message': message!.toJson(), if (space != null) 'space': space!.toJson(), if (threadKey != null) 'threadKey': threadKey!, @@ -3578,6 +3771,48 @@ class ImageButton { }; } +/// The inputs with widgets. +class Inputs { + DateInput? dateInput; + DateTimeInput? dateTimeInput; + StringInputs? stringInputs; + TimeInput? timeInput; + + Inputs({ + this.dateInput, + this.dateTimeInput, + this.stringInputs, + this.timeInput, + }); + + Inputs.fromJson(core.Map _json) + : this( + dateInput: _json.containsKey('dateInput') + ? DateInput.fromJson( + _json['dateInput'] as core.Map) + : null, + dateTimeInput: _json.containsKey('dateTimeInput') + ? DateTimeInput.fromJson( + _json['dateTimeInput'] as core.Map) + : null, + stringInputs: _json.containsKey('stringInputs') + ? StringInputs.fromJson( + _json['stringInputs'] as core.Map) + : null, + timeInput: _json.containsKey('timeInput') + ? TimeInput.fromJson( + _json['timeInput'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (dateInput != null) 'dateInput': dateInput!.toJson(), + if (dateTimeInput != null) 'dateTimeInput': dateTimeInput!.toJson(), + if (stringInputs != null) 'stringInputs': stringInputs!.toJson(), + if (timeInput != null) 'timeInput': timeInput!.toJson(), + }; +} + /// A UI element contains a key (label) and a value (content). /// /// And this element may also contain some actions such as onclick button. @@ -3869,6 +4104,13 @@ class Message { /// A plain-text description of the message's cards, used when the actual /// cards cannot be displayed (e.g. mobile notifications). core.String? fallbackText; + + /// The time at which the message was last updated in Hangouts Chat server. + /// + /// If the message was never updated, this field will be same as create_time. + /// + /// Output only. + core.String? lastUpdateTime; core.String? name; /// Text for generating preview chips. @@ -3900,6 +4142,7 @@ class Message { this.cards, this.createTime, this.fallbackText, + this.lastUpdateTime, this.name, this.previewText, this.sender, @@ -3942,6 +4185,9 @@ class Message { fallbackText: _json.containsKey('fallbackText') ? _json['fallbackText'] as core.String : null, + lastUpdateTime: _json.containsKey('lastUpdateTime') + ? _json['lastUpdateTime'] as core.String + : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, previewText: _json.containsKey('previewText') ? _json['previewText'] as core.String @@ -3976,6 +4222,7 @@ class Message { 'cards': cards!.map((value) => value.toJson()).toList(), if (createTime != null) 'createTime': createTime!, if (fallbackText != null) 'fallbackText': fallbackText!, + if (lastUpdateTime != null) 'lastUpdateTime': lastUpdateTime!, if (name != null) 'name': name!, if (previewText != null) 'previewText': previewText!, if (sender != null) 'sender': sender!.toJson(), @@ -4215,6 +4462,31 @@ class Space { }; } +/// Input parameter for regular widgets. +/// +/// For single-valued widgets, it will be a single value list; for multi-valued +/// widgets, such as checkbox, all the values are presented. +class StringInputs { + core.List? value; + + StringInputs({ + this.value, + }); + + StringInputs.fromJson(core.Map _json) + : this( + value: _json.containsKey('value') + ? (_json['value'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (value != null) 'value': value!, + }; +} + /// A button with text and onclick action. class TextButton { /// The onclick action of the button. @@ -4284,6 +4556,56 @@ class Thread { }; } +/// Input Parameter for Time Picker widget. +class TimeInput { + core.int? hours; + core.int? minutes; + + TimeInput({ + this.hours, + this.minutes, + }); + + TimeInput.fromJson(core.Map _json) + : this( + hours: _json.containsKey('hours') ? _json['hours'] as core.int : null, + minutes: _json.containsKey('minutes') + ? _json['minutes'] as core.int + : null, + ); + + core.Map toJson() => { + if (hours != null) 'hours': hours!, + if (minutes != null) 'minutes': minutes!, + }; +} + +/// The timezone id and offset. +/// +/// The id is the tz database time zones such as "America/Toronto". The user +/// timezone offset, in milliseconds, from Coordinated Universal Time (UTC). +class TimeZone { + core.String? id; + core.int? offset; + + TimeZone({ + this.id, + this.offset, + }); + + TimeZone.fromJson(core.Map _json) + : this( + id: _json.containsKey('id') ? _json['id'] as core.String : null, + offset: + _json.containsKey('offset') ? _json['offset'] as core.int : null, + ); + + core.Map toJson() => { + if (id != null) 'id': id!, + if (offset != null) 'offset': offset!, + }; +} + /// A user in Google Chat. class User { /// The user's display name. diff --git a/generated/googleapis/lib/chromemanagement/v1.dart b/generated/googleapis/lib/chromemanagement/v1.dart index ca0d9bd89..392763ac7 100644 --- a/generated/googleapis/lib/chromemanagement/v1.dart +++ b/generated/googleapis/lib/chromemanagement/v1.dart @@ -23,6 +23,10 @@ /// Create an instance of [ChromeManagementApi] to access these resources: /// /// - [CustomersResource] +/// - [CustomersAppsResource] +/// - [CustomersAppsAndroidResource] +/// - [CustomersAppsChromeResource] +/// - [CustomersAppsWebResource] /// - [CustomersReportsResource] library chromemanagement.v1; @@ -41,6 +45,11 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// administrators to view, manage and gain insights on their Chrome OS and /// Chrome Browser devices. class ChromeManagementApi { + /// See detailed information about apps installed on Chrome browsers and + /// devices managed by your organization + static const chromeManagementAppdetailsReadonlyScope = + 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly'; + /// See reports about devices and Chrome browsers managed within your /// organization static const chromeManagementReportsReadonlyScope = @@ -60,11 +69,164 @@ class ChromeManagementApi { class CustomersResource { final commons.ApiRequester _requester; + CustomersAppsResource get apps => CustomersAppsResource(_requester); CustomersReportsResource get reports => CustomersReportsResource(_requester); CustomersResource(commons.ApiRequester client) : _requester = client; } +class CustomersAppsResource { + final commons.ApiRequester _requester; + + CustomersAppsAndroidResource get android => + CustomersAppsAndroidResource(_requester); + CustomersAppsChromeResource get chrome => + CustomersAppsChromeResource(_requester); + CustomersAppsWebResource get web => CustomersAppsWebResource(_requester); + + CustomersAppsResource(commons.ApiRequester client) : _requester = client; +} + +class CustomersAppsAndroidResource { + final commons.ApiRequester _requester; + + CustomersAppsAndroidResource(commons.ApiRequester client) + : _requester = client; + + /// Get a specific app for a customer by its resource name. + /// + /// Request parameters: + /// + /// [name] - Required. The app for which details are being queried. Examples: + /// "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" + /// for the Save to Google Drive Chrome extension version 2.1.2, + /// "customers/my_customer/apps/android/com.google.android.apps.docs" for the + /// Google Drive Android app's latest version. + /// Value must have pattern `^customers/\[^/\]+/apps/android/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleChromeManagementV1AppDetails]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleChromeManagementV1AppDetails.fromJson( + _response as core.Map); + } +} + +class CustomersAppsChromeResource { + final commons.ApiRequester _requester; + + CustomersAppsChromeResource(commons.ApiRequester client) + : _requester = client; + + /// Get a specific app for a customer by its resource name. + /// + /// Request parameters: + /// + /// [name] - Required. The app for which details are being queried. Examples: + /// "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" + /// for the Save to Google Drive Chrome extension version 2.1.2, + /// "customers/my_customer/apps/android/com.google.android.apps.docs" for the + /// Google Drive Android app's latest version. + /// Value must have pattern `^customers/\[^/\]+/apps/chrome/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleChromeManagementV1AppDetails]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleChromeManagementV1AppDetails.fromJson( + _response as core.Map); + } +} + +class CustomersAppsWebResource { + final commons.ApiRequester _requester; + + CustomersAppsWebResource(commons.ApiRequester client) : _requester = client; + + /// Get a specific app for a customer by its resource name. + /// + /// Request parameters: + /// + /// [name] - Required. The app for which details are being queried. Examples: + /// "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" + /// for the Save to Google Drive Chrome extension version 2.1.2, + /// "customers/my_customer/apps/android/com.google.android.apps.docs" for the + /// Google Drive Android app's latest version. + /// Value must have pattern `^customers/\[^/\]+/apps/web/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleChromeManagementV1AppDetails]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleChromeManagementV1AppDetails.fromJson( + _response as core.Map); + } +} + class CustomersReportsResource { final commons.ApiRequester _requester; @@ -279,6 +441,280 @@ class CustomersReportsResource { } } +/// Android app information. +class GoogleChromeManagementV1AndroidAppInfo { + /// Permissions requested by an Android app. + /// + /// Output only. + core.List? permissions; + + GoogleChromeManagementV1AndroidAppInfo({ + this.permissions, + }); + + GoogleChromeManagementV1AndroidAppInfo.fromJson(core.Map _json) + : this( + permissions: _json.containsKey('permissions') + ? (_json['permissions'] as core.List) + .map((value) => + GoogleChromeManagementV1AndroidAppPermission.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (permissions != null) + 'permissions': permissions!.map((value) => value.toJson()).toList(), + }; +} + +/// Permission requested by an Android app. +class GoogleChromeManagementV1AndroidAppPermission { + /// The type of the permission. + /// + /// Output only. + core.String? type; + + GoogleChromeManagementV1AndroidAppPermission({ + this.type, + }); + + GoogleChromeManagementV1AndroidAppPermission.fromJson(core.Map _json) + : this( + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (type != null) 'type': type!, + }; +} + +/// Resource representing app details. +class GoogleChromeManagementV1AppDetails { + /// Android app information. + /// + /// Output only. + GoogleChromeManagementV1AndroidAppInfo? androidAppInfo; + + /// Unique store identifier for the item. + /// + /// Examples: "gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive + /// Chrome extension, "com.google.android.apps.docs" for the Google Drive + /// Android app. + /// + /// Output only. + core.String? appId; + + /// Chrome Web Store app information. + /// + /// Output only. + GoogleChromeManagementV1ChromeAppInfo? chromeAppInfo; + + /// App's description. + /// + /// Output only. + core.String? description; + + /// The uri for the detail page of the item. + /// + /// Output only. + core.String? detailUri; + + /// App's display name. + /// + /// Output only. + core.String? displayName; + + /// First published time. + /// + /// Output only. + core.String? firstPublishTime; + + /// Home page or Website uri. + /// + /// Output only. + core.String? homepageUri; + + /// A link to an image that can be used as an icon for the product. + /// + /// Output only. + core.String? iconUri; + + /// Indicates if the app has to be paid for OR has paid content. + /// + /// Output only. + core.bool? isPaidApp; + + /// Latest published time. + /// + /// Output only. + core.String? latestPublishTime; + + /// Format: + /// name=customers/{customer_id}/apps/{chrome|android|web}/{app_id}@{version} + /// + /// Output only. + core.String? name; + + /// The URI pointing to the privacy policy of the app, if it was provided by + /// the developer. + /// + /// Version-specific field that will only be set when the requested app + /// version is found. + /// + /// Output only. + core.String? privacyPolicyUri; + + /// The publisher of the item. + /// + /// Output only. + core.String? publisher; + + /// Number of reviews received. + /// + /// Chrome Web Store review information will always be for the latest version + /// of an app. + /// + /// Output only. + core.String? reviewNumber; + + /// The rating of the app (on 5 stars). + /// + /// Chrome Web Store review information will always be for the latest version + /// of an app. + /// + /// Output only. + core.double? reviewRating; + + /// App version. + /// + /// A new revision is committed whenever a new version of the app is + /// published. + /// + /// Output only. + core.String? revisionId; + + /// Information about a partial service error if applicable. + /// + /// Output only. + GoogleRpcStatus? serviceError; + + /// App type. + /// + /// Output only. + /// Possible string values are: + /// - "APP_ITEM_TYPE_UNSPECIFIED" : App type unspecified. + /// - "CHROME" : Chrome app. + /// - "ANDROID" : ARC++ app. + /// - "WEB" : Web app. + core.String? type; + + GoogleChromeManagementV1AppDetails({ + this.androidAppInfo, + this.appId, + this.chromeAppInfo, + this.description, + this.detailUri, + this.displayName, + this.firstPublishTime, + this.homepageUri, + this.iconUri, + this.isPaidApp, + this.latestPublishTime, + this.name, + this.privacyPolicyUri, + this.publisher, + this.reviewNumber, + this.reviewRating, + this.revisionId, + this.serviceError, + this.type, + }); + + GoogleChromeManagementV1AppDetails.fromJson(core.Map _json) + : this( + androidAppInfo: _json.containsKey('androidAppInfo') + ? GoogleChromeManagementV1AndroidAppInfo.fromJson( + _json['androidAppInfo'] + as core.Map) + : null, + appId: + _json.containsKey('appId') ? _json['appId'] as core.String : null, + chromeAppInfo: _json.containsKey('chromeAppInfo') + ? GoogleChromeManagementV1ChromeAppInfo.fromJson( + _json['chromeAppInfo'] as core.Map) + : null, + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + detailUri: _json.containsKey('detailUri') + ? _json['detailUri'] as core.String + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + firstPublishTime: _json.containsKey('firstPublishTime') + ? _json['firstPublishTime'] as core.String + : null, + homepageUri: _json.containsKey('homepageUri') + ? _json['homepageUri'] as core.String + : null, + iconUri: _json.containsKey('iconUri') + ? _json['iconUri'] as core.String + : null, + isPaidApp: _json.containsKey('isPaidApp') + ? _json['isPaidApp'] as core.bool + : null, + latestPublishTime: _json.containsKey('latestPublishTime') + ? _json['latestPublishTime'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + privacyPolicyUri: _json.containsKey('privacyPolicyUri') + ? _json['privacyPolicyUri'] as core.String + : null, + publisher: _json.containsKey('publisher') + ? _json['publisher'] as core.String + : null, + reviewNumber: _json.containsKey('reviewNumber') + ? _json['reviewNumber'] as core.String + : null, + reviewRating: _json.containsKey('reviewRating') + ? (_json['reviewRating'] as core.num).toDouble() + : null, + revisionId: _json.containsKey('revisionId') + ? _json['revisionId'] as core.String + : null, + serviceError: _json.containsKey('serviceError') + ? GoogleRpcStatus.fromJson( + _json['serviceError'] as core.Map) + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (androidAppInfo != null) 'androidAppInfo': androidAppInfo!.toJson(), + if (appId != null) 'appId': appId!, + if (chromeAppInfo != null) 'chromeAppInfo': chromeAppInfo!.toJson(), + if (description != null) 'description': description!, + if (detailUri != null) 'detailUri': detailUri!, + if (displayName != null) 'displayName': displayName!, + if (firstPublishTime != null) 'firstPublishTime': firstPublishTime!, + if (homepageUri != null) 'homepageUri': homepageUri!, + if (iconUri != null) 'iconUri': iconUri!, + if (isPaidApp != null) 'isPaidApp': isPaidApp!, + if (latestPublishTime != null) 'latestPublishTime': latestPublishTime!, + if (name != null) 'name': name!, + if (privacyPolicyUri != null) 'privacyPolicyUri': privacyPolicyUri!, + if (publisher != null) 'publisher': publisher!, + if (reviewNumber != null) 'reviewNumber': reviewNumber!, + if (reviewRating != null) 'reviewRating': reviewRating!, + if (revisionId != null) 'revisionId': revisionId!, + if (serviceError != null) 'serviceError': serviceError!.toJson(), + if (type != null) 'type': type!, + }; +} + /// Describes a browser version and its install count. class GoogleChromeManagementV1BrowserVersion { /// The release channel of the installed browser. @@ -356,6 +792,180 @@ class GoogleChromeManagementV1BrowserVersion { }; } +/// Chrome Web Store app information. +class GoogleChromeManagementV1ChromeAppInfo { + /// Whether the app or extension is built and maintained by Google. + /// + /// Version-specific field that will only be set when the requested app + /// version is found. + /// + /// Output only. + core.bool? googleOwned; + + /// Whether the app or extension is in a published state in the Chrome Web + /// Store. + /// + /// Output only. + core.bool? isCwsHosted; + + /// Whether the app or extension is a theme. + /// + /// Output only. + core.bool? isTheme; + + /// The minimum number of users using this app. + /// + /// Output only. + core.int? minUserCount; + + /// Every custom permission requested by the app. + /// + /// Version-specific field that will only be set when the requested app + /// version is found. + /// + /// Output only. + core.List? permissions; + + /// Every permission giving access to domains or broad host patterns. + /// + /// ( e.g. www.google.com). This includes the matches from content scripts as + /// well as hosts in the permissions node of the manifest. Version-specific + /// field that will only be set when the requested app version is found. + /// + /// Output only. + core.List? siteAccess; + + /// The app developer has enabled support for their app. + /// + /// Version-specific field that will only be set when the requested app + /// version is found. + /// + /// Output only. + core.bool? supportEnabled; + + GoogleChromeManagementV1ChromeAppInfo({ + this.googleOwned, + this.isCwsHosted, + this.isTheme, + this.minUserCount, + this.permissions, + this.siteAccess, + this.supportEnabled, + }); + + GoogleChromeManagementV1ChromeAppInfo.fromJson(core.Map _json) + : this( + googleOwned: _json.containsKey('googleOwned') + ? _json['googleOwned'] as core.bool + : null, + isCwsHosted: _json.containsKey('isCwsHosted') + ? _json['isCwsHosted'] as core.bool + : null, + isTheme: _json.containsKey('isTheme') + ? _json['isTheme'] as core.bool + : null, + minUserCount: _json.containsKey('minUserCount') + ? _json['minUserCount'] as core.int + : null, + permissions: _json.containsKey('permissions') + ? (_json['permissions'] as core.List) + .map((value) => + GoogleChromeManagementV1ChromeAppPermission.fromJson( + value as core.Map)) + .toList() + : null, + siteAccess: _json.containsKey('siteAccess') + ? (_json['siteAccess'] as core.List) + .map((value) => + GoogleChromeManagementV1ChromeAppSiteAccess.fromJson( + value as core.Map)) + .toList() + : null, + supportEnabled: _json.containsKey('supportEnabled') + ? _json['supportEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (googleOwned != null) 'googleOwned': googleOwned!, + if (isCwsHosted != null) 'isCwsHosted': isCwsHosted!, + if (isTheme != null) 'isTheme': isTheme!, + if (minUserCount != null) 'minUserCount': minUserCount!, + if (permissions != null) + 'permissions': permissions!.map((value) => value.toJson()).toList(), + if (siteAccess != null) + 'siteAccess': siteAccess!.map((value) => value.toJson()).toList(), + if (supportEnabled != null) 'supportEnabled': supportEnabled!, + }; +} + +/// Permission requested by a Chrome app or extension. +class GoogleChromeManagementV1ChromeAppPermission { + /// If available, whether this permissions grants the app/extension access to + /// user data. + /// + /// Output only. + core.bool? accessUserData; + + /// If available, a URI to a page that has documentation for the current + /// permission. + /// + /// Output only. + core.String? documentationUri; + + /// The type of the permission. + /// + /// Output only. + core.String? type; + + GoogleChromeManagementV1ChromeAppPermission({ + this.accessUserData, + this.documentationUri, + this.type, + }); + + GoogleChromeManagementV1ChromeAppPermission.fromJson(core.Map _json) + : this( + accessUserData: _json.containsKey('accessUserData') + ? _json['accessUserData'] as core.bool + : null, + documentationUri: _json.containsKey('documentationUri') + ? _json['documentationUri'] as core.String + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (accessUserData != null) 'accessUserData': accessUserData!, + if (documentationUri != null) 'documentationUri': documentationUri!, + if (type != null) 'type': type!, + }; +} + +/// Represent one host permission. +class GoogleChromeManagementV1ChromeAppSiteAccess { + /// This can contain very specific hosts, or patterns like "*.com" for + /// instance. + /// + /// Output only. + core.String? hostMatch; + + GoogleChromeManagementV1ChromeAppSiteAccess({ + this.hostMatch, + }); + + GoogleChromeManagementV1ChromeAppSiteAccess.fromJson(core.Map _json) + : this( + hostMatch: _json.containsKey('hostMatch') + ? _json['hostMatch'] as core.String + : null, + ); + + core.Map toJson() => { + if (hostMatch != null) 'hostMatch': hostMatch!, + }; +} + /// Response containing requested browser versions details and counts. class GoogleChromeManagementV1CountChromeVersionsResponse { /// List of all browser versions and their install counts. @@ -667,3 +1277,60 @@ class GoogleChromeManagementV1InstalledApp { if (permissions != null) 'permissions': permissions!, }; } + +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. +/// +/// It is used by [gRPC](https://github.com/grpc). Each `Status` message +/// contains three pieces of data: error code, error message, and error details. +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). +class GoogleRpcStatus { + /// The status code, which should be an enum value of google.rpc.Code. + core.int? code; + + /// A list of messages that carry the error details. + /// + /// There is a common set of message types for APIs to use. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? details; + + /// A developer-facing error message, which should be in English. + /// + /// Any user-facing error message should be localized and sent in the + /// google.rpc.Status.details field, or localized by the client. + core.String? message; + + GoogleRpcStatus({ + this.code, + this.details, + this.message, + }); + + GoogleRpcStatus.fromJson(core.Map _json) + : this( + code: _json.containsKey('code') ? _json['code'] as core.int : null, + details: _json.containsKey('details') + ? (_json['details'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + message: _json.containsKey('message') + ? _json['message'] as core.String + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (details != null) 'details': details!, + if (message != null) 'message': message!, + }; +} diff --git a/generated/googleapis/lib/chromepolicy/v1.dart b/generated/googleapis/lib/chromepolicy/v1.dart index b13b4c3ac..0d8daea1d 100644 --- a/generated/googleapis/lib/chromepolicy/v1.dart +++ b/generated/googleapis/lib/chromepolicy/v1.dart @@ -764,6 +764,37 @@ class GoogleChromePolicyV1PolicySchema { }; } +/// The field and the value it must have for another field to be allowed to be +/// set. +class GoogleChromePolicyV1PolicySchemaFieldDependencies { + /// The source field which this field depends on. + core.String? sourceField; + + /// The value which the source field must have for this field to be allowed to + /// be set. + core.String? sourceFieldValue; + + GoogleChromePolicyV1PolicySchemaFieldDependencies({ + this.sourceField, + this.sourceFieldValue, + }); + + GoogleChromePolicyV1PolicySchemaFieldDependencies.fromJson(core.Map _json) + : this( + sourceField: _json.containsKey('sourceField') + ? _json['sourceField'] as core.String + : null, + sourceFieldValue: _json.containsKey('sourceFieldValue') + ? _json['sourceFieldValue'] as core.String + : null, + ); + + core.Map toJson() => { + if (sourceField != null) 'sourceField': sourceField!, + if (sourceFieldValue != null) 'sourceFieldValue': sourceFieldValue!, + }; +} + /// Provides detailed information for a particular field that is part of a /// PolicySchema. class GoogleChromePolicyV1PolicySchemaFieldDescription { @@ -777,12 +808,19 @@ class GoogleChromePolicyV1PolicySchemaFieldDescription { /// Output only. core.String? field; + /// Provides a list of fields and the values they must have for this field to + /// be allowed to be set. + /// + /// Output only. + core.List? + fieldDependencies; + /// Any input constraints associated on the values for the field. /// /// Output only. core.String? inputConstraint; - /// If the field has a set of know values, this field will provide a + /// If the field has a set of known values, this field will provide a /// description for these values. /// /// Output only. @@ -799,6 +837,7 @@ class GoogleChromePolicyV1PolicySchemaFieldDescription { GoogleChromePolicyV1PolicySchemaFieldDescription({ this.description, this.field, + this.fieldDependencies, this.inputConstraint, this.knownValueDescriptions, this.nestedFieldDescriptions, @@ -811,6 +850,15 @@ class GoogleChromePolicyV1PolicySchemaFieldDescription { : null, field: _json.containsKey('field') ? _json['field'] as core.String : null, + fieldDependencies: _json.containsKey('fieldDependencies') + ? (_json['fieldDependencies'] as core.List) + .map( + (value) => + GoogleChromePolicyV1PolicySchemaFieldDependencies + .fromJson( + value as core.Map)) + .toList() + : null, inputConstraint: _json.containsKey('inputConstraint') ? _json['inputConstraint'] as core.String : null, @@ -837,6 +885,9 @@ class GoogleChromePolicyV1PolicySchemaFieldDescription { core.Map toJson() => { if (description != null) 'description': description!, if (field != null) 'field': field!, + if (fieldDependencies != null) + 'fieldDependencies': + fieldDependencies!.map((value) => value.toJson()).toList(), if (inputConstraint != null) 'inputConstraint': inputConstraint!, if (knownValueDescriptions != null) 'knownValueDescriptions': diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart index 61524dee1..8ea2ff9b4 100644 --- a/generated/googleapis/lib/classroom/v1.dart +++ b/generated/googleapis/lib/classroom/v1.dart @@ -2405,7 +2405,10 @@ class CoursesTeachersResource { /// the requesting user is not permitted to delete teachers of this course or /// for access errors. * `NOT_FOUND` if no teacher of this course has the /// requested ID or if the course does not exist. * `FAILED_PRECONDITION` if - /// the requested ID belongs to the primary teacher of this course. + /// the requested ID belongs to the primary teacher of this course. * + /// `FAILED_PRECONDITION` if the requested ID belongs to the owner of the + /// course Drive folder. * `FAILED_PRECONDITION` if the course no longer has + /// an active owner. /// /// Request parameters: /// diff --git a/generated/googleapis/lib/cloudasset/v1.dart b/generated/googleapis/lib/cloudasset/v1.dart index 2f889420a..0fef22ba1 100644 --- a/generated/googleapis/lib/cloudasset/v1.dart +++ b/generated/googleapis/lib/cloudasset/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The cloud asset API manages the history and inventory of cloud resources. class CloudAssetApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -100,6 +101,7 @@ class AssetsResource { /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an /// asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. + /// - "RELATIONSHIP" : The related resources. /// /// [pageSize] - The maximum number of assets to be returned in a single /// response. Default is 100, minimum is 1, and maximum is 1000. @@ -115,6 +117,19 @@ class AssetsResource { /// delays in resource data collection and indexing, there is a volatile /// window during which running the same query may get different results. /// + /// [relationshipTypes] - A list of relationship types to output, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if + /// content_type=RELATIONSHIP. * If specified: it snapshots specified + /// relationships. It returns an error if any of the \[relationship_types\] + /// doesn't belong to the supported relationship types of the \[asset_types\] + /// or if any of the \[asset_types\] doesn't belong to the source types of the + /// \[relationship_types\]. * Otherwise: it snapshots the supported + /// relationships for all \[asset_types\] or returns an error if any of the + /// \[asset_types\] has no relationship support. An unspecified asset types + /// field means all supported asset_types. See + /// [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) + /// for all supported asset types and relationship types. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -132,6 +147,7 @@ class AssetsResource { core.int? pageSize, core.String? pageToken, core.String? readTime, + core.List? relationshipTypes, core.String? $fields, }) async { final _queryParams = >{ @@ -140,6 +156,7 @@ class AssetsResource { if (pageSize != null) 'pageSize': ['${pageSize}'], if (pageToken != null) 'pageToken': [pageToken], if (readTime != null) 'readTime': [readTime], + if (relationshipTypes != null) 'relationshipTypes': relationshipTypes, if ($fields != null) 'fields': [$fields], }; @@ -614,7 +631,7 @@ class V1Resource { /// google.longrunning.Operation, which allows you to track the operation /// status. We recommend intervals of at least 2 seconds with exponential /// backoff retry to poll the operation result. The metadata contains the - /// request to help callers to map responses to requests. + /// metadata for the long-running operation. /// /// [request] - The metadata request object. /// @@ -760,12 +777,26 @@ class V1Resource { /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an /// asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. + /// - "RELATIONSHIP" : The related resources. /// /// [readTimeWindow_endTime] - End time of the time window (inclusive). If not /// specified, the current timestamp is used instead. /// /// [readTimeWindow_startTime] - Start time of the time window (exclusive). /// + /// [relationshipTypes] - Optional. A list of relationship types to output, + /// for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be + /// specified if content_type=RELATIONSHIP. * If specified: it outputs + /// specified relationships' history on the \[asset_names\]. It returns an + /// error if any of the \[relationship_types\] doesn't belong to the supported + /// relationship types of the \[asset_names\] or if any of the + /// \[asset_names\]'s types doesn't belong to the source types of the + /// \[relationship_types\]. * Otherwise: it outputs the supported + /// relationships' history on the \[asset_names\] or returns an error if any + /// of the \[asset_names\]'s types has no relationship support. See + /// [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) + /// for all supported asset types and relationship types. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -782,6 +813,7 @@ class V1Resource { core.String? contentType, core.String? readTimeWindow_endTime, core.String? readTimeWindow_startTime, + core.List? relationshipTypes, core.String? $fields, }) async { final _queryParams = >{ @@ -791,6 +823,7 @@ class V1Resource { 'readTimeWindow.endTime': [readTimeWindow_endTime], if (readTimeWindow_startTime != null) 'readTimeWindow.startTime': [readTimeWindow_startTime], + if (relationshipTypes != null) 'relationshipTypes': relationshipTypes, if ($fields != null) 'fields': [$fields], }; @@ -1164,6 +1197,30 @@ class AccessSelector { }; } +/// Represents the metadata of the longrunning operation for the +/// AnalyzeIamPolicyLongrunning rpc. +class AnalyzeIamPolicyLongrunningMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + AnalyzeIamPolicyLongrunningMetadata({ + this.createTime, + }); + + AnalyzeIamPolicyLongrunningMetadata.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + }; +} + /// A request message for AssetService.AnalyzeIamPolicyLongrunning. class AnalyzeIamPolicyLongrunningRequest { /// The request query. @@ -1358,6 +1415,11 @@ class Asset { /// for more information. Inventory? osInventory; + /// The related assets of the asset of one relationship type. + /// + /// One asset only represents one type of relationship. + RelatedAssets? relatedAssets; + /// A representation of the resource. Resource? resource; @@ -1379,6 +1441,7 @@ class Asset { this.name, this.orgPolicy, this.osInventory, + this.relatedAssets, this.resource, this.servicePerimeter, this.updateTime, @@ -1418,6 +1481,10 @@ class Asset { ? Inventory.fromJson( _json['osInventory'] as core.Map) : null, + relatedAssets: _json.containsKey('relatedAssets') + ? RelatedAssets.fromJson( + _json['relatedAssets'] as core.Map) + : null, resource: _json.containsKey('resource') ? Resource.fromJson( _json['resource'] as core.Map) @@ -1442,6 +1509,7 @@ class Asset { if (orgPolicy != null) 'orgPolicy': orgPolicy!.map((value) => value.toJson()).toList(), if (osInventory != null) 'osInventory': osInventory!.toJson(), + if (relatedAssets != null) 'relatedAssets': relatedAssets!.toJson(), if (resource != null) 'resource': resource!.toJson(), if (servicePerimeter != null) 'servicePerimeter': servicePerimeter!.toJson(), @@ -1889,6 +1957,52 @@ class CreateFeedRequest { }; } +/// Represents a whole or partial calendar date, such as a birthday. +/// +/// The time of day and time zone are either specified elsewhere or are +/// insignificant. The date is relative to the Gregorian Calendar. This can +/// represent one of the following: * A full date, with non-zero year, month, +/// and day values * A month and day value, with a zero year, such as an +/// anniversary * A year on its own, with zero month and day values * A year and +/// month value, with a zero day, such as a credit card expiration date Related +/// types are google.type.TimeOfDay and `google.protobuf.Timestamp`. +class Date { + /// Day of a month. + /// + /// Must be from 1 to 31 and valid for the year and month, or 0 to specify a + /// year by itself or a year and month where the day isn't significant. + core.int? day; + + /// Month of a year. + /// + /// Must be from 1 to 12, or 0 to specify a year without a month and day. + core.int? month; + + /// Year of the date. + /// + /// Must be from 1 to 9999, or 0 to specify a date without a year. + core.int? year; + + Date({ + this.day, + this.month, + this.year, + }); + + Date.fromJson(core.Map _json) + : this( + day: _json.containsKey('day') ? _json['day'] as core.int : null, + month: _json.containsKey('month') ? _json['month'] as core.int : null, + year: _json.containsKey('year') ? _json['year'] as core.int : null, + ); + + core.Map toJson() => { + if (day != null) 'day': day!, + if (month != null) 'month': month!, + if (year != null) 'year': year!, + }; +} + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -1973,6 +2087,7 @@ class ExportAssetsRequest { /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an /// asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. + /// - "RELATIONSHIP" : The related resources. core.String? contentType; /// Output configuration indicating where the results will be output to. @@ -1989,11 +2104,28 @@ class ExportAssetsRequest { /// different results. core.String? readTime; + /// A list of relationship types to export, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. + /// + /// This field should only be specified if content_type=RELATIONSHIP. * If + /// specified: it snapshots specified relationships. It returns an error if + /// any of the \[relationship_types\] doesn't belong to the supported + /// relationship types of the \[asset_types\] or if any of the \[asset_types\] + /// doesn't belong to the source types of the \[relationship_types\]. * + /// Otherwise: it snapshots the supported relationships for all + /// \[asset_types\] or returns an error if any of the \[asset_types\] has no + /// relationship support. An unspecified asset types field means all supported + /// asset_types. See + /// [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) + /// for all supported asset types and relationship types. + core.List? relationshipTypes; + ExportAssetsRequest({ this.assetTypes, this.contentType, this.outputConfig, this.readTime, + this.relationshipTypes, }); ExportAssetsRequest.fromJson(core.Map _json) @@ -2013,6 +2145,11 @@ class ExportAssetsRequest { readTime: _json.containsKey('readTime') ? _json['readTime'] as core.String : null, + relationshipTypes: _json.containsKey('relationshipTypes') + ? (_json['relationshipTypes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, ); core.Map toJson() => { @@ -2020,6 +2157,7 @@ class ExportAssetsRequest { if (contentType != null) 'contentType': contentType!, if (outputConfig != null) 'outputConfig': outputConfig!.toJson(), if (readTime != null) 'readTime': readTime!, + if (relationshipTypes != null) 'relationshipTypes': relationshipTypes!, }; } @@ -2146,6 +2284,7 @@ class Feed { /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an /// asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. + /// - "RELATIONSHIP" : The related resources. core.String? contentType; /// Feed output configuration defining where the asset updates are published @@ -2164,6 +2303,23 @@ class Feed { /// Required. core.String? name; + /// A list of relationship types to output, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. + /// + /// This field should only be specified if content_type=RELATIONSHIP. * If + /// specified: it outputs specified relationship updates on the + /// \[asset_names\] or the \[asset_types\]. It returns an error if any of the + /// \[relationship_types\] doesn't belong to the supported relationship types + /// of the \[asset_names\] or \[asset_types\], or any of the \[asset_names\] + /// or the \[asset_types\] doesn't belong to the source types of the + /// \[relationship_types\]. * Otherwise: it outputs the supported + /// relationships of the types of \[asset_names\] and \[asset_types\] or + /// returns an error if any of the \[asset_names\] or the \[asset_types\] has + /// no replationship support. See + /// [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) + /// for all supported asset types and relationship types. + core.List? relationshipTypes; + Feed({ this.assetNames, this.assetTypes, @@ -2171,6 +2327,7 @@ class Feed { this.contentType, this.feedOutputConfig, this.name, + this.relationshipTypes, }); Feed.fromJson(core.Map _json) @@ -2197,6 +2354,11 @@ class Feed { as core.Map) : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, + relationshipTypes: _json.containsKey('relationshipTypes') + ? (_json['relationshipTypes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, ); core.Map toJson() => { @@ -2207,6 +2369,7 @@ class Feed { if (feedOutputConfig != null) 'feedOutputConfig': feedOutputConfig!.toJson(), if (name != null) 'name': name!, + if (relationshipTypes != null) 'relationshipTypes': relationshipTypes!, }; } @@ -3401,8 +3564,8 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel { /// /// The `short_name` component must begin with a letter and only include /// alphanumeric and '_'. Format: - /// `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length - /// of the `short_name` component is 50 characters. + /// `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum + /// length of the `access_level` component is 50 characters. /// /// Required. core.String? name; @@ -3465,7 +3628,7 @@ class GoogleIdentityAccesscontextmanagerV1AccessPolicy { /// Resource name of the `AccessPolicy`. /// - /// Format: `accessPolicies/{policy_id}` + /// Format: `accessPolicies/{access_policy}` /// /// Output only. core.String? name; @@ -4288,7 +4451,7 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter { /// /// The `short_name` component must begin with a letter and only include /// alphanumeric and '_'. Format: - /// `accessPolicies/{policy_id}/servicePerimeters/{short_name}` + /// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}` /// /// Required. core.String? name; @@ -5050,7 +5213,12 @@ class IdentitySelector { }; } -/// The inventory details of a VM. +/// This API resource represents the available inventory data for a Compute +/// Engine virtual machine (VM) instance at a given point in time. +/// +/// You can use this API resource to determine the inventory data of your VM. +/// For more information, see +/// [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected). class Inventory { /// Inventory items related to the VM keyed by an opaque unique identifier for /// each inventory item. @@ -5059,12 +5227,27 @@ class Inventory { /// and will change, when there is a new package version. core.Map? items; + /// The `Inventory` API resource name. + /// + /// Format: + /// `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory` + /// + /// Output only. + core.String? name; + /// Base level operating system information for the VM. OsInfo? osInfo; + /// Timestamp of the last reported inventory for the VM. + /// + /// Output only. + core.String? updateTime; + Inventory({ this.items, + this.name, this.osInfo, + this.updateTime, }); Inventory.fromJson(core.Map _json) @@ -5077,16 +5260,22 @@ class Inventory { ), ) : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, osInfo: _json.containsKey('osInfo') ? OsInfo.fromJson( _json['osInfo'] as core.Map) : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, ); core.Map toJson() => { if (items != null) 'items': items!.map((key, item) => core.MapEntry(key, item.toJson())), + if (name != null) 'name': name!, if (osInfo != null) 'osInfo': osInfo!.toJson(), + if (updateTime != null) 'updateTime': updateTime!, }; } @@ -5757,7 +5946,7 @@ class Permissions { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -5869,6 +6058,216 @@ class PubsubDestination { }; } +/// An asset identify in Google Cloud which contains its name, type and +/// ancestors. +/// +/// An asset can be any resource in the Google Cloud +/// [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), +/// a resource outside the Google Cloud resource hierarchy (such as Google +/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM +/// policy). See +/// [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) +/// for more information. +class RelatedAsset { + /// The ancestors of an asset in Google Cloud + /// [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), + /// represented as a list of relative resource names. + /// + /// An ancestry path starts with the closest ancestor in the hierarchy and + /// ends at root. Example: `["projects/123456789", "folders/5432", + /// "organizations/1234"]` + core.List? ancestors; + + /// The full name of the asset. + /// + /// Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + /// See + /// [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + /// for more information. + core.String? asset; + + /// The type of the asset. + /// + /// Example: `compute.googleapis.com/Disk` See + /// [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) + /// for more information. + core.String? assetType; + + RelatedAsset({ + this.ancestors, + this.asset, + this.assetType, + }); + + RelatedAsset.fromJson(core.Map _json) + : this( + ancestors: _json.containsKey('ancestors') + ? (_json['ancestors'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + asset: + _json.containsKey('asset') ? _json['asset'] as core.String : null, + assetType: _json.containsKey('assetType') + ? _json['assetType'] as core.String + : null, + ); + + core.Map toJson() => { + if (ancestors != null) 'ancestors': ancestors!, + if (asset != null) 'asset': asset!, + if (assetType != null) 'assetType': assetType!, + }; +} + +/// The detailed related assets with the `relationship_type`. +class RelatedAssets { + /// The peer resources of the relationship. + core.List? assets; + + /// The detailed relationship attributes. + RelationshipAttributes? relationshipAttributes; + + RelatedAssets({ + this.assets, + this.relationshipAttributes, + }); + + RelatedAssets.fromJson(core.Map _json) + : this( + assets: _json.containsKey('assets') + ? (_json['assets'] as core.List) + .map((value) => RelatedAsset.fromJson( + value as core.Map)) + .toList() + : null, + relationshipAttributes: _json.containsKey('relationshipAttributes') + ? RelationshipAttributes.fromJson(_json['relationshipAttributes'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (assets != null) + 'assets': assets!.map((value) => value.toJson()).toList(), + if (relationshipAttributes != null) + 'relationshipAttributes': relationshipAttributes!.toJson(), + }; +} + +/// The detailed related resource. +class RelatedResource { + /// The type of the asset. + /// + /// Example: `compute.googleapis.com/Instance` + core.String? assetType; + + /// The full resource name of the related resource. + /// + /// Example: + /// `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123` + core.String? fullResourceName; + + RelatedResource({ + this.assetType, + this.fullResourceName, + }); + + RelatedResource.fromJson(core.Map _json) + : this( + assetType: _json.containsKey('assetType') + ? _json['assetType'] as core.String + : null, + fullResourceName: _json.containsKey('fullResourceName') + ? _json['fullResourceName'] as core.String + : null, + ); + + core.Map toJson() => { + if (assetType != null) 'assetType': assetType!, + if (fullResourceName != null) 'fullResourceName': fullResourceName!, + }; +} + +/// The related resources of the primary resource. +class RelatedResources { + /// The detailed related resources of the primary resource. + core.List? relatedResources; + + RelatedResources({ + this.relatedResources, + }); + + RelatedResources.fromJson(core.Map _json) + : this( + relatedResources: _json.containsKey('relatedResources') + ? (_json['relatedResources'] as core.List) + .map((value) => RelatedResource.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (relatedResources != null) + 'relatedResources': + relatedResources!.map((value) => value.toJson()).toList(), + }; +} + +/// The relationship attributes which include `type`, `source_resource_type`, +/// `target_resource_type` and `action`. +class RelationshipAttributes { + /// The detail of the relationship, e.g. `contains`, `attaches` + core.String? action; + + /// The source asset type. + /// + /// Example: `compute.googleapis.com/Instance` + core.String? sourceResourceType; + + /// The target asset type. + /// + /// Example: `compute.googleapis.com/Disk` + core.String? targetResourceType; + + /// The unique identifier of the relationship type. + /// + /// Example: `INSTANCE_TO_INSTANCEGROUP` + core.String? type; + + RelationshipAttributes({ + this.action, + this.sourceResourceType, + this.targetResourceType, + this.type, + }); + + RelationshipAttributes.fromJson(core.Map _json) + : this( + action: _json.containsKey('action') + ? _json['action'] as core.String + : null, + sourceResourceType: _json.containsKey('sourceResourceType') + ? _json['sourceResourceType'] as core.String + : null, + targetResourceType: _json.containsKey('targetResourceType') + ? _json['targetResourceType'] as core.String + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (action != null) 'action': action!, + if (sourceResourceType != null) + 'sourceResourceType': sourceResourceType!, + if (targetResourceType != null) + 'targetResourceType': targetResourceType!, + if (type != null) 'type': type!, + }; +} + /// A representation of a Google Cloud resource. class Resource { /// The content of the resource, in which some sensitive fields are removed @@ -6127,6 +6526,15 @@ class ResourceSearchResult { /// project in your search request. core.String? project; + /// A map of related resources of this resource, keyed by the relationship + /// type. + /// + /// A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. + /// Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, + /// `INSTANCE_TO_INSTANCEGROUP`. See + /// [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types). + core.Map? relationships; + /// The state of this resource. /// /// Different resources types have different state definitions that are mapped @@ -6181,6 +6589,7 @@ class ResourceSearchResult { this.parentAssetType, this.parentFullResourceName, this.project, + this.relationships, this.state, this.updateTime, this.versionedResources, @@ -6253,6 +6662,16 @@ class ResourceSearchResult { project: _json.containsKey('project') ? _json['project'] as core.String : null, + relationships: _json.containsKey('relationships') + ? (_json['relationships'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + RelatedResources.fromJson( + item as core.Map), + ), + ) + : null, state: _json.containsKey('state') ? _json['state'] as core.String : null, updateTime: _json.containsKey('updateTime') @@ -6287,6 +6706,9 @@ class ResourceSearchResult { if (parentFullResourceName != null) 'parentFullResourceName': parentFullResourceName!, if (project != null) 'project': project!, + if (relationships != null) + 'relationships': relationships! + .map((key, item) => core.MapEntry(key, item.toJson())), if (state != null) 'state': state!, if (updateTime != null) 'updateTime': updateTime!, if (versionedResources != null) @@ -6426,6 +6848,9 @@ class SoftwarePackage { /// for info in Windows Quick Fix Engineering. WindowsQuickFixEngineeringPackage? qfePackage; + /// Details of Windows Application. + WindowsApplication? windowsApplication; + /// Details of a Windows Update package. /// /// See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for @@ -6455,6 +6880,7 @@ class SoftwarePackage { this.cosPackage, this.googetPackage, this.qfePackage, + this.windowsApplication, this.wuaPackage, this.yumPackage, this.zypperPackage, @@ -6479,6 +6905,10 @@ class SoftwarePackage { ? WindowsQuickFixEngineeringPackage.fromJson( _json['qfePackage'] as core.Map) : null, + windowsApplication: _json.containsKey('windowsApplication') + ? WindowsApplication.fromJson(_json['windowsApplication'] + as core.Map) + : null, wuaPackage: _json.containsKey('wuaPackage') ? WindowsUpdatePackage.fromJson( _json['wuaPackage'] as core.Map) @@ -6502,6 +6932,8 @@ class SoftwarePackage { if (cosPackage != null) 'cosPackage': cosPackage!.toJson(), if (googetPackage != null) 'googetPackage': googetPackage!.toJson(), if (qfePackage != null) 'qfePackage': qfePackage!.toJson(), + if (windowsApplication != null) + 'windowsApplication': windowsApplication!.toJson(), if (wuaPackage != null) 'wuaPackage': wuaPackage!.toJson(), if (yumPackage != null) 'yumPackage': yumPackage!.toJson(), if (zypperPackage != null) 'zypperPackage': zypperPackage!.toJson(), @@ -6798,6 +7230,69 @@ class VersionedResource { }; } +/// Contains information about a Windows application as retrieved from the +/// Windows Registry. +/// +/// For more information about these fields, see +/// [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: +/// class="external" } +class WindowsApplication { + /// The name of the application or product. + core.String? displayName; + + /// The version of the product or application in string format. + core.String? displayVersion; + + /// The internet address for technical support. + core.String? helpLink; + + /// The last time this product received service. + /// + /// The value of this property is replaced each time a patch is applied or + /// removed from the product or the command-line option is used to repair the + /// product. + Date? installDate; + + /// The name of the manufacturer for the product or application. + core.String? publisher; + + WindowsApplication({ + this.displayName, + this.displayVersion, + this.helpLink, + this.installDate, + this.publisher, + }); + + WindowsApplication.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + displayVersion: _json.containsKey('displayVersion') + ? _json['displayVersion'] as core.String + : null, + helpLink: _json.containsKey('helpLink') + ? _json['helpLink'] as core.String + : null, + installDate: _json.containsKey('installDate') + ? Date.fromJson( + _json['installDate'] as core.Map) + : null, + publisher: _json.containsKey('publisher') + ? _json['publisher'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (displayVersion != null) 'displayVersion': displayVersion!, + if (helpLink != null) 'helpLink': helpLink!, + if (installDate != null) 'installDate': installDate!.toJson(), + if (publisher != null) 'publisher': publisher!, + }; +} + /// Information related to a Quick Fix Engineering package. /// /// Fields are taken from Windows QuickFixEngineering Interface and match the diff --git a/generated/googleapis/lib/cloudbilling/v1.dart b/generated/googleapis/lib/cloudbilling/v1.dart index 6e184a0ed..363fa4c61 100644 --- a/generated/googleapis/lib/cloudbilling/v1.dart +++ b/generated/googleapis/lib/cloudbilling/v1.dart @@ -51,7 +51,8 @@ class CloudbillingApi { static const cloudBillingReadonlyScope = 'https://www.googleapis.com/auth/cloud-billing.readonly'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1398,7 +1399,7 @@ class Money { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart index 93263b62e..297a0db6f 100644 --- a/generated/googleapis/lib/cloudbuild/v1.dart +++ b/generated/googleapis/lib/cloudbuild/v1.dart @@ -23,12 +23,15 @@ /// - [OperationsResource] /// - [ProjectsResource] /// - [ProjectsBuildsResource] +/// - [ProjectsGithubEnterpriseConfigsResource] /// - [ProjectsLocationsResource] /// - [ProjectsLocationsBuildsResource] +/// - [ProjectsLocationsGithubEnterpriseConfigsResource] /// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsTriggersResource] /// - [ProjectsLocationsWorkerPoolsResource] /// - [ProjectsTriggersResource] +/// - [V1Resource] library cloudbuild.v1; import 'dart:async' as async; @@ -45,7 +48,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates and manages builds on Google Cloud Platform. class CloudBuildApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -53,6 +57,7 @@ class CloudBuildApi { OperationsResource get operations => OperationsResource(_requester); ProjectsResource get projects => ProjectsResource(_requester); + V1Resource get v1 => V1Resource(_requester); CloudBuildApi(http.Client client, {core.String rootUrl = 'https://cloudbuild.googleapis.com/', @@ -158,6 +163,8 @@ class ProjectsResource { final commons.ApiRequester _requester; ProjectsBuildsResource get builds => ProjectsBuildsResource(_requester); + ProjectsGithubEnterpriseConfigsResource get githubEnterpriseConfigs => + ProjectsGithubEnterpriseConfigsResource(_requester); ProjectsLocationsResource get locations => ProjectsLocationsResource(_requester); ProjectsTriggersResource get triggers => ProjectsTriggersResource(_requester); @@ -170,6 +177,50 @@ class ProjectsBuildsResource { ProjectsBuildsResource(commons.ApiRequester client) : _requester = client; + /// Approves or rejects a pending build. + /// + /// If approved, the returned LRO will be analogous to the LRO returned from a + /// CreateBuild call. If rejected, the returned LRO will be immediately done. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the target build. For example: + /// "projects/{$project_id}/builds/{$build_id}" + /// Value must have pattern `^projects/\[^/\]+/builds/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future approve( + ApproveBuildRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':approve'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + /// Cancels a build in progress. /// /// [request] - The metadata request object. @@ -437,11 +488,263 @@ class ProjectsBuildsResource { } } +class ProjectsGithubEnterpriseConfigsResource { + final commons.ApiRequester _requester; + + ProjectsGithubEnterpriseConfigsResource(commons.ApiRequester client) + : _requester = client; + + /// Create an association between a GCP project and a GitHub Enterprise + /// server. + /// + /// This API is experimental. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Name of the parent project. For example: + /// projects/{$project_number} or projects/{$project_id} + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [projectId] - ID of the project. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + GitHubEnterpriseConfig request, + core.String parent, { + core.String? projectId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/githubEnterpriseConfigs'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Delete an association between a GCP project and a GitHub Enterprise + /// server. + /// + /// This API is experimental. + /// + /// Request parameters: + /// + /// [name] - This field should contain the name of the enterprise config + /// resource. For example: + /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// Value must have pattern + /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. + /// + /// [configId] - Unique identifier of the `GitHubEnterpriseConfig` + /// + /// [projectId] - ID of the project + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? configId, + core.String? projectId, + core.String? $fields, + }) async { + final _queryParams = >{ + if (configId != null) 'configId': [configId], + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Retrieve a GitHubEnterpriseConfig. + /// + /// This API is experimental. + /// + /// Request parameters: + /// + /// [name] - This field should contain the name of the enterprise config + /// resource. For example: + /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// Value must have pattern + /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. + /// + /// [configId] - Unique identifier of the `GitHubEnterpriseConfig` + /// + /// [projectId] - ID of the project + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GitHubEnterpriseConfig]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? configId, + core.String? projectId, + core.String? $fields, + }) async { + final _queryParams = >{ + if (configId != null) 'configId': [configId], + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GitHubEnterpriseConfig.fromJson( + _response as core.Map); + } + + /// List all GitHubEnterpriseConfigs for a given project. + /// + /// This API is experimental. + /// + /// Request parameters: + /// + /// [parent] - Name of the parent project. For example: + /// projects/{$project_number} or projects/{$project_id} + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [projectId] - ID of the project + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListGithubEnterpriseConfigsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? projectId, + core.String? $fields, + }) async { + final _queryParams = >{ + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/githubEnterpriseConfigs'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListGithubEnterpriseConfigsResponse.fromJson( + _response as core.Map); + } + + /// Update an association between a GCP project and a GitHub Enterprise + /// server. + /// + /// This API is experimental. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Optional. The full resource name for the GitHubEnterpriseConfig + /// For example: "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// Value must have pattern + /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. + /// + /// [updateMask] - Update mask for the resource. If this is set, the server + /// will only update the fields specified in the field mask. Otherwise, a full + /// update of the mutable resource fields will be performed. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GitHubEnterpriseConfig request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } +} + class ProjectsLocationsResource { final commons.ApiRequester _requester; ProjectsLocationsBuildsResource get builds => ProjectsLocationsBuildsResource(_requester); + ProjectsLocationsGithubEnterpriseConfigsResource + get githubEnterpriseConfigs => + ProjectsLocationsGithubEnterpriseConfigsResource(_requester); ProjectsLocationsOperationsResource get operations => ProjectsLocationsOperationsResource(_requester); ProjectsLocationsTriggersResource get triggers => @@ -452,44 +755,361 @@ class ProjectsLocationsResource { ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; } -class ProjectsLocationsBuildsResource { +class ProjectsLocationsBuildsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsBuildsResource(commons.ApiRequester client) + : _requester = client; + + /// Approves or rejects a pending build. + /// + /// If approved, the returned LRO will be analogous to the LRO returned from a + /// CreateBuild call. If rejected, the returned LRO will be immediately done. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the target build. For example: + /// "projects/{$project_id}/builds/{$build_id}" + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future approve( + ApproveBuildRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':approve'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Cancels a build in progress. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the `Build` to cancel. Format: + /// `projects/{project}/locations/{location}/builds/{build}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Build]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future cancel( + CancelBuildRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Build.fromJson(_response as core.Map); + } + + /// Starts a build with the specified configuration. + /// + /// This method returns a long-running `Operation`, which includes the build + /// ID. Pass the build ID to `GetBuild` to determine the build status (such as + /// `SUCCESS` or `FAILURE`). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - The parent resource where this build will be created. Format: + /// `projects/{project}/locations/{location}` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [projectId] - Required. ID of the project. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + Build request, + core.String parent, { + core.String? projectId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/builds'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Returns information about a previously requested build. + /// + /// The `Build` that is returned includes its status (such as `SUCCESS`, + /// `FAILURE`, or `WORKING`), and timing information. + /// + /// Request parameters: + /// + /// [name] - The name of the `Build` to retrieve. Format: + /// `projects/{project}/locations/{location}/builds/{build}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// + /// [id] - Required. ID of the build. + /// + /// [projectId] - Required. ID of the project. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Build]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? id, + core.String? projectId, + core.String? $fields, + }) async { + final _queryParams = >{ + if (id != null) 'id': [id], + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Build.fromJson(_response as core.Map); + } + + /// Lists previously requested builds. + /// + /// Previously requested builds may still be in-progress, or may have finished + /// successfully or unsuccessfully. + /// + /// Request parameters: + /// + /// [parent] - The parent of the collection of `Builds`. Format: + /// `projects/{project}/locations/location` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The raw filter text to constrain the results. + /// + /// [pageSize] - Number of results to return in the list. + /// + /// [pageToken] - The page token for the next page of Builds. If unspecified, + /// the first page of results is returned. If the token is rejected for any + /// reason, INVALID_ARGUMENT will be thrown. In this case, the token should be + /// discarded, and pagination should be restarted from the first page of + /// results. See https://google.aip.dev/158 for more. + /// + /// [projectId] - Required. ID of the project. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListBuildsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? projectId, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (projectId != null) 'projectId': [projectId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/builds'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListBuildsResponse.fromJson( + _response as core.Map); + } + + /// Creates a new build based on the specified build. + /// + /// This method creates a new build using the original build request, which + /// may or may not result in an identical build. For triggered builds: * + /// Triggered builds resolve to a precise revision; therefore a retry of a + /// triggered build will result in a build that uses the same revision. For + /// non-triggered builds that specify `RepoSource`: * If the original build + /// built from the tip of a branch, the retried build will build from the tip + /// of that branch, which may not be the same revision as the original build. + /// * If the original build specified a commit sha or revision ID, the retried + /// build will use the identical source. For builds that specify + /// `StorageSource`: * If the original build pulled source from Google Cloud + /// Storage without specifying the generation of the object, the new build + /// will use the current object, which may be different from the original + /// build source. * If the original build pulled source from Cloud Storage and + /// specified the generation of the object, the new build will attempt to use + /// the same object, which may or may not be available depending on the + /// bucket's lifecycle management settings. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the `Build` to retry. Format: + /// `projects/{project}/locations/{location}/builds/{build}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future retry( + RetryBuildRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':retry'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } +} + +class ProjectsLocationsGithubEnterpriseConfigsResource { final commons.ApiRequester _requester; - ProjectsLocationsBuildsResource(commons.ApiRequester client) + ProjectsLocationsGithubEnterpriseConfigsResource(commons.ApiRequester client) : _requester = client; - /// Cancels a build in progress. + /// Create an association between a GCP project and a GitHub Enterprise + /// server. + /// + /// This API is experimental. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - The name of the `Build` to cancel. Format: - /// `projects/{project}/locations/{location}/builds/{build}` - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// [parent] - Name of the parent project. For example: + /// projects/{$project_number} or projects/{$project_id} + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [projectId] - ID of the project. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [Build]. + /// Completes with a [Operation]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future cancel( - CancelBuildRequest request, - core.String name, { + async.Future create( + GitHubEnterpriseConfig request, + core.String parent, { + core.String? projectId, core.String? $fields, }) async { final _body = convert.json.encode(request.toJson()); final _queryParams = >{ + if (projectId != null) 'projectId': [projectId], if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/githubEnterpriseConfigs'; final _response = await _requester.request( _url, @@ -497,24 +1117,25 @@ class ProjectsLocationsBuildsResource { body: _body, queryParams: _queryParams, ); - return Build.fromJson(_response as core.Map); + return Operation.fromJson(_response as core.Map); } - /// Starts a build with the specified configuration. - /// - /// This method returns a long-running `Operation`, which includes the build - /// ID. Pass the build ID to `GetBuild` to determine the build status (such as - /// `SUCCESS` or `FAILURE`). + /// Delete an association between a GCP project and a GitHub Enterprise + /// server. /// - /// [request] - The metadata request object. + /// This API is experimental. /// /// Request parameters: /// - /// [parent] - The parent resource where this build will be created. Format: - /// `projects/{project}/locations/{location}` - /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// [name] - This field should contain the name of the enterprise config + /// resource. For example: + /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// - /// [projectId] - Required. ID of the project. + /// [configId] - Unique identifier of the `GitHubEnterpriseConfig` + /// + /// [projectId] - ID of the project /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -526,63 +1147,62 @@ class ProjectsLocationsBuildsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future create( - Build request, - core.String parent, { + async.Future delete( + core.String name, { + core.String? configId, core.String? projectId, core.String? $fields, }) async { - final _body = convert.json.encode(request.toJson()); final _queryParams = >{ + if (configId != null) 'configId': [configId], if (projectId != null) 'projectId': [projectId], if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/builds'; + final _url = 'v1/' + core.Uri.encodeFull('$name'); final _response = await _requester.request( _url, - 'POST', - body: _body, + 'DELETE', queryParams: _queryParams, ); return Operation.fromJson(_response as core.Map); } - /// Returns information about a previously requested build. + /// Retrieve a GitHubEnterpriseConfig. /// - /// The `Build` that is returned includes its status (such as `SUCCESS`, - /// `FAILURE`, or `WORKING`), and timing information. + /// This API is experimental. /// /// Request parameters: /// - /// [name] - The name of the `Build` to retrieve. Format: - /// `projects/{project}/locations/{location}/builds/{build}` + /// [name] - This field should contain the name of the enterprise config + /// resource. For example: + /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// - /// [id] - Required. ID of the build. + /// [configId] - Unique identifier of the `GitHubEnterpriseConfig` /// - /// [projectId] - Required. ID of the project. + /// [projectId] - ID of the project /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [Build]. + /// Completes with a [GitHubEnterpriseConfig]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future get( + async.Future get( core.String name, { - core.String? id, + core.String? configId, core.String? projectId, core.String? $fields, }) async { final _queryParams = >{ - if (id != null) 'id': [id], + if (configId != null) 'configId': [configId], if (projectId != null) 'projectId': [projectId], if ($fields != null) 'fields': [$fields], }; @@ -594,96 +1214,71 @@ class ProjectsLocationsBuildsResource { 'GET', queryParams: _queryParams, ); - return Build.fromJson(_response as core.Map); + return GitHubEnterpriseConfig.fromJson( + _response as core.Map); } - /// Lists previously requested builds. + /// List all GitHubEnterpriseConfigs for a given project. /// - /// Previously requested builds may still be in-progress, or may have finished - /// successfully or unsuccessfully. + /// This API is experimental. /// /// Request parameters: /// - /// [parent] - The parent of the collection of `Builds`. Format: - /// `projects/{project}/locations/location` + /// [parent] - Name of the parent project. For example: + /// projects/{$project_number} or projects/{$project_id} /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [filter] - The raw filter text to constrain the results. - /// - /// [pageSize] - Number of results to return in the list. - /// - /// [pageToken] - The page token for the next page of Builds. If unspecified, - /// the first page of results is returned. If the token is rejected for any - /// reason, INVALID_ARGUMENT will be thrown. In this case, the token should be - /// discarded, and pagination should be restarted from the first page of - /// results. See https://google.aip.dev/158 for more. - /// - /// [projectId] - Required. ID of the project. + /// [projectId] - ID of the project /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [ListBuildsResponse]. + /// Completes with a [ListGithubEnterpriseConfigsResponse]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future list( + async.Future list( core.String parent, { - core.String? filter, - core.int? pageSize, - core.String? pageToken, core.String? projectId, core.String? $fields, }) async { final _queryParams = >{ - if (filter != null) 'filter': [filter], - if (pageSize != null) 'pageSize': ['${pageSize}'], - if (pageToken != null) 'pageToken': [pageToken], if (projectId != null) 'projectId': [projectId], if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/builds'; + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/githubEnterpriseConfigs'; final _response = await _requester.request( _url, 'GET', queryParams: _queryParams, ); - return ListBuildsResponse.fromJson( + return ListGithubEnterpriseConfigsResponse.fromJson( _response as core.Map); } - /// Creates a new build based on the specified build. + /// Update an association between a GCP project and a GitHub Enterprise + /// server. /// - /// This method creates a new build using the original build request, which - /// may or may not result in an identical build. For triggered builds: * - /// Triggered builds resolve to a precise revision; therefore a retry of a - /// triggered build will result in a build that uses the same revision. For - /// non-triggered builds that specify `RepoSource`: * If the original build - /// built from the tip of a branch, the retried build will build from the tip - /// of that branch, which may not be the same revision as the original build. - /// * If the original build specified a commit sha or revision ID, the retried - /// build will use the identical source. For builds that specify - /// `StorageSource`: * If the original build pulled source from Google Cloud - /// Storage without specifying the generation of the object, the new build - /// will use the current object, which may be different from the original - /// build source. * If the original build pulled source from Cloud Storage and - /// specified the generation of the object, the new build will attempt to use - /// the same object, which may or may not be available depending on the - /// bucket's lifecycle management settings. + /// This API is experimental. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - The name of the `Build` to retry. Format: - /// `projects/{project}/locations/{location}/builds/{build}` + /// [name] - Optional. The full resource name for the GitHubEnterpriseConfig + /// For example: "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/builds/\[^/\]+$`. + /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. + /// + /// [updateMask] - Update mask for the resource. If this is set, the server + /// will only update the fields specified in the field mask. Otherwise, a full + /// update of the mutable resource fields will be performed. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -695,21 +1290,23 @@ class ProjectsLocationsBuildsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future retry( - RetryBuildRequest request, + async.Future patch( + GitHubEnterpriseConfig request, core.String name, { + core.String? updateMask, core.String? $fields, }) async { final _body = convert.json.encode(request.toJson()); final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$name') + ':retry'; + final _url = 'v1/' + core.Uri.encodeFull('$name'); final _response = await _requester.request( _url, - 'POST', + 'PATCH', body: _body, queryParams: _queryParams, ); @@ -1779,6 +2376,171 @@ class ProjectsTriggersResource { } } +class V1Resource { + final commons.ApiRequester _requester; + + V1Resource(commons.ApiRequester client) : _requester = client; + + /// ReceiveWebhook is called when the API receives a GitHub webhook. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [webhookKey] - For GitHub Enterprise webhooks, this key is used to + /// associate the webhook request with the GitHubEnterpriseConfig to use for + /// validation. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future webhook( + HttpBody request, { + core.String? webhookKey, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (webhookKey != null) 'webhookKey': [webhookKey], + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/webhook'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } +} + +/// ApprovalConfig describes configuration for manual approval of a build. +class ApprovalConfig { + /// Whether or not approval is needed. + /// + /// If this is set on a build, it will become pending when created, and will + /// need to be explicitly approved to start. + core.bool? approvalRequired; + + ApprovalConfig({ + this.approvalRequired, + }); + + ApprovalConfig.fromJson(core.Map _json) + : this( + approvalRequired: _json.containsKey('approvalRequired') + ? _json['approvalRequired'] as core.bool + : null, + ); + + core.Map toJson() => { + if (approvalRequired != null) 'approvalRequired': approvalRequired!, + }; +} + +/// ApprovalResult describes the decision and associated metadata of a manual +/// approval of a build. +class ApprovalResult { + /// The time when the approval decision was made. + /// + /// Output only. + core.String? approvalTime; + + /// Email of the user that called the ApproveBuild API to approve or reject a + /// build at the time that the API was called. + /// + /// Output only. + core.String? approverAccount; + + /// An optional comment for this manual approval result. + /// + /// Optional. + core.String? comment; + + /// The decision of this manual approval. + /// + /// Required. + /// Possible string values are: + /// - "DECISION_UNSPECIFIED" : Default enum type. This should not be used. + /// - "APPROVED" : Build is approved. + /// - "REJECTED" : Build is rejected. + core.String? decision; + + /// An optional URL tied to this manual approval result. + /// + /// This field is essentially the same as comment, except that it will be + /// rendered by the UI differently. An example use case is a link to an + /// external job that approved this Build. + /// + /// Optional. + core.String? url; + + ApprovalResult({ + this.approvalTime, + this.approverAccount, + this.comment, + this.decision, + this.url, + }); + + ApprovalResult.fromJson(core.Map _json) + : this( + approvalTime: _json.containsKey('approvalTime') + ? _json['approvalTime'] as core.String + : null, + approverAccount: _json.containsKey('approverAccount') + ? _json['approverAccount'] as core.String + : null, + comment: _json.containsKey('comment') + ? _json['comment'] as core.String + : null, + decision: _json.containsKey('decision') + ? _json['decision'] as core.String + : null, + url: _json.containsKey('url') ? _json['url'] as core.String : null, + ); + + core.Map toJson() => { + if (approvalTime != null) 'approvalTime': approvalTime!, + if (approverAccount != null) 'approverAccount': approverAccount!, + if (comment != null) 'comment': comment!, + if (decision != null) 'decision': decision!, + if (url != null) 'url': url!, + }; +} + +/// Request to approve or reject a pending build. +class ApproveBuildRequest { + /// Approval decision and metadata. + ApprovalResult? approvalResult; + + ApproveBuildRequest({ + this.approvalResult, + }); + + ApproveBuildRequest.fromJson(core.Map _json) + : this( + approvalResult: _json.containsKey('approvalResult') + ? ApprovalResult.fromJson(_json['approvalResult'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (approvalResult != null) 'approvalResult': approvalResult!.toJson(), + }; +} + /// Files in the workspace to upload to Cloud Storage upon successful completion /// of all build steps. class ArtifactObjects { @@ -1918,14 +2680,19 @@ class Artifacts { /// it (for example, the builder image to run on the source), and where to store /// the built artifacts. Fields can include the following variables, which will /// be expanded when the build is created: - $PROJECT_ID: the project ID of the -/// build. - $PROJECT_NUMBER: the project number of the build. - $BUILD_ID: the -/// autogenerated ID of the build. - $REPO_NAME: the source repository name -/// specified by RepoSource. - $BRANCH_NAME: the branch name specified by -/// RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - -/// $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or -/// resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters -/// of $REVISION_ID or $COMMIT_SHA. +/// build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the +/// location/region of the build. - $BUILD_ID: the autogenerated ID of the +/// build. - $REPO_NAME: the source repository name specified by RepoSource. - +/// $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag +/// name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA +/// specified by RepoSource or resolved from the specified branch or tag. - +/// $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. class Build { + /// Describes this build's approval configuration, status, and result. + /// + /// Output only. + BuildApproval? approval; + /// Artifacts produced by the build that should be uploaded upon successful /// completion of all build steps. Artifacts? artifacts; @@ -2042,6 +2809,8 @@ class Build { /// Output only. /// Possible string values are: /// - "STATUS_UNKNOWN" : Status of the build is unknown. + /// - "PENDING" : Build has been created and is pending execution and queuing. + /// It has not been queued. /// - "QUEUED" : Build or step is queued; work has not yet begun. /// - "WORKING" : Build or step is being executed. /// - "SUCCESS" : Build or step finished successfully. @@ -2080,9 +2849,10 @@ class Build { /// Stores timing information for phases of the build. /// - /// Valid keys are: * BUILD: time to execute all build steps * PUSH: time to - /// push all specified images. * FETCHSOURCE: time to fetch source. If the - /// build does not specify source or images, these keys will not be included. + /// Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to + /// push all specified images. * FETCHSOURCE: time to fetch source. * + /// SETUPBUILD: time to set up build. If the build does not specify source or + /// images, these keys will not be included. /// /// Output only. core.Map? timing; @@ -2093,6 +2863,7 @@ class Build { core.List? warnings; Build({ + this.approval, this.artifacts, this.availableSecrets, this.buildTriggerId, @@ -2125,6 +2896,10 @@ class Build { Build.fromJson(core.Map _json) : this( + approval: _json.containsKey('approval') + ? BuildApproval.fromJson( + _json['approval'] as core.Map) + : null, artifacts: _json.containsKey('artifacts') ? Artifacts.fromJson( _json['artifacts'] as core.Map) @@ -2240,6 +3015,7 @@ class Build { ); core.Map toJson() => { + if (approval != null) 'approval': approval!.toJson(), if (artifacts != null) 'artifacts': artifacts!.toJson(), if (availableSecrets != null) 'availableSecrets': availableSecrets!.toJson(), @@ -2278,6 +3054,56 @@ class Build { }; } +/// BuildApproval describes a build's approval configuration, state, and result. +class BuildApproval { + /// Configuration for manual approval of this build. + /// + /// Output only. + ApprovalConfig? config; + + /// Result of manual approval for this Build. + /// + /// Output only. + ApprovalResult? result; + + /// The state of this build's approval. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Default enum type. This should not be used. + /// - "PENDING" : Build approval is pending. + /// - "APPROVED" : Build approval has been approved. + /// - "REJECTED" : Build approval has been rejected. + /// - "CANCELLED" : Build was cancelled while it was still pending approval. + core.String? state; + + BuildApproval({ + this.config, + this.result, + this.state, + }); + + BuildApproval.fromJson(core.Map _json) + : this( + config: _json.containsKey('config') + ? ApprovalConfig.fromJson( + _json['config'] as core.Map) + : null, + result: _json.containsKey('result') + ? ApprovalResult.fromJson( + _json['result'] as core.Map) + : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + ); + + core.Map toJson() => { + if (config != null) 'config': config!.toJson(), + if (result != null) 'result': result!.toJson(), + if (state != null) 'state': state!, + }; +} + /// Metadata for build operations. class BuildOperationMetadata { /// The build that the operation is tracking. @@ -2561,6 +3387,11 @@ class BuildStep { /// Output only. TimeSpan? pullTiming; + /// A shell script to be executed in the step. + /// + /// When script is provided, the user cannot specify the entrypoint or args. + core.String? script; + /// A list of environment variables which are encrypted using a Cloud Key /// Management Service crypto key. /// @@ -2575,6 +3406,8 @@ class BuildStep { /// Output only. /// Possible string values are: /// - "STATUS_UNKNOWN" : Status of the build is unknown. + /// - "PENDING" : Build has been created and is pending execution and queuing. + /// It has not been queued. /// - "QUEUED" : Build or step is queued; work has not yet begun. /// - "WORKING" : Build or step is being executed. /// - "SUCCESS" : Build or step finished successfully. @@ -2620,6 +3453,7 @@ class BuildStep { this.id, this.name, this.pullTiming, + this.script, this.secretEnv, this.status, this.timeout, @@ -2650,6 +3484,9 @@ class BuildStep { ? TimeSpan.fromJson( _json['pullTiming'] as core.Map) : null, + script: _json.containsKey('script') + ? _json['script'] as core.String + : null, secretEnv: _json.containsKey('secretEnv') ? (_json['secretEnv'] as core.List) .map((value) => value as core.String) @@ -2686,6 +3523,7 @@ class BuildStep { if (id != null) 'id': id!, if (name != null) 'name': name!, if (pullTiming != null) 'pullTiming': pullTiming!.toJson(), + if (script != null) 'script': script!, if (secretEnv != null) 'secretEnv': secretEnv!, if (status != null) 'status': status!, if (timeout != null) 'timeout': timeout!, @@ -2699,6 +3537,10 @@ class BuildStep { /// Configuration for an automated build in response to source repository /// changes. class BuildTrigger { + /// Configuration for manual approval to start a build invocation of this + /// BuildTrigger. + ApprovalConfig? approvalConfig; + /// Autodetect build configuration. /// /// The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. @@ -2725,10 +3567,11 @@ class BuildTrigger { core.String? filename; /// A Common Expression Language string. - /// - /// Optional. core.String? filter; + /// The file source describing the local or remote Build template. + GitFileSource? gitFileSource; + /// GitHubEventsConfig describes the configuration of a trigger that creates a /// build whenever a GitHub event is received. /// @@ -2778,6 +3621,14 @@ class BuildTrigger { /// {trigger} is a unique identifier generated by the service. core.String? resourceName; + /// The service account used for all user-controlled operations including + /// UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. + /// + /// If no service account is set, then the standard Cloud Build service + /// account (\[PROJECT_NUM\]@system.gserviceaccount.com) will be used instead. + /// Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}` + core.String? serviceAccount; + /// The repo and ref of the repository from which to build. /// /// This field is used only for those triggers that do not respond to SCM @@ -2806,6 +3657,7 @@ class BuildTrigger { WebhookConfig? webhookConfig; BuildTrigger({ + this.approvalConfig, this.autodetect, this.build, this.createTime, @@ -2813,6 +3665,7 @@ class BuildTrigger { this.disabled, this.filename, this.filter, + this.gitFileSource, this.github, this.id, this.ignoredFiles, @@ -2820,6 +3673,7 @@ class BuildTrigger { this.name, this.pubsubConfig, this.resourceName, + this.serviceAccount, this.sourceToBuild, this.substitutions, this.tags, @@ -2829,6 +3683,10 @@ class BuildTrigger { BuildTrigger.fromJson(core.Map _json) : this( + approvalConfig: _json.containsKey('approvalConfig') + ? ApprovalConfig.fromJson(_json['approvalConfig'] + as core.Map) + : null, autodetect: _json.containsKey('autodetect') ? _json['autodetect'] as core.bool : null, @@ -2851,6 +3709,10 @@ class BuildTrigger { filter: _json.containsKey('filter') ? _json['filter'] as core.String : null, + gitFileSource: _json.containsKey('gitFileSource') + ? GitFileSource.fromJson( + _json['gitFileSource'] as core.Map) + : null, github: _json.containsKey('github') ? GitHubEventsConfig.fromJson( _json['github'] as core.Map) @@ -2874,6 +3736,9 @@ class BuildTrigger { resourceName: _json.containsKey('resourceName') ? _json['resourceName'] as core.String : null, + serviceAccount: _json.containsKey('serviceAccount') + ? _json['serviceAccount'] as core.String + : null, sourceToBuild: _json.containsKey('sourceToBuild') ? GitRepoSource.fromJson( _json['sourceToBuild'] as core.Map) @@ -2903,6 +3768,7 @@ class BuildTrigger { ); core.Map toJson() => { + if (approvalConfig != null) 'approvalConfig': approvalConfig!.toJson(), if (autodetect != null) 'autodetect': autodetect!, if (build != null) 'build': build!.toJson(), if (createTime != null) 'createTime': createTime!, @@ -2910,6 +3776,7 @@ class BuildTrigger { if (disabled != null) 'disabled': disabled!, if (filename != null) 'filename': filename!, if (filter != null) 'filter': filter!, + if (gitFileSource != null) 'gitFileSource': gitFileSource!.toJson(), if (github != null) 'github': github!.toJson(), if (id != null) 'id': id!, if (ignoredFiles != null) 'ignoredFiles': ignoredFiles!, @@ -2917,6 +3784,7 @@ class BuildTrigger { if (name != null) 'name': name!, if (pubsubConfig != null) 'pubsubConfig': pubsubConfig!.toJson(), if (resourceName != null) 'resourceName': resourceName!, + if (serviceAccount != null) 'serviceAccount': serviceAccount!, if (sourceToBuild != null) 'sourceToBuild': sourceToBuild!.toJson(), if (substitutions != null) 'substitutions': substitutions!, if (tags != null) 'tags': tags!, @@ -3015,6 +3883,47 @@ class CancelOperationRequest { core.Map toJson() => {}; } +/// Metadata for `CreateGithubEnterpriseConfig` operation. +class CreateGitHubEnterpriseConfigOperationMetadata { + /// Time the operation was completed. + core.String? completeTime; + + /// Time the operation was created. + core.String? createTime; + + /// The resource name of the GitHubEnterprise to be created. + /// + /// Format: + /// `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. + core.String? githubEnterpriseConfig; + + CreateGitHubEnterpriseConfigOperationMetadata({ + this.completeTime, + this.createTime, + this.githubEnterpriseConfig, + }); + + CreateGitHubEnterpriseConfigOperationMetadata.fromJson(core.Map _json) + : this( + completeTime: _json.containsKey('completeTime') + ? _json['completeTime'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + githubEnterpriseConfig: _json.containsKey('githubEnterpriseConfig') + ? _json['githubEnterpriseConfig'] as core.String + : null, + ); + + core.Map toJson() => { + if (completeTime != null) 'completeTime': completeTime!, + if (createTime != null) 'createTime': createTime!, + if (githubEnterpriseConfig != null) + 'githubEnterpriseConfig': githubEnterpriseConfig!, + }; +} + /// Metadata for the `CreateWorkerPool` operation. class CreateWorkerPoolOperationMetadata { /// Time the operation was completed. @@ -3055,6 +3964,47 @@ class CreateWorkerPoolOperationMetadata { }; } +/// Metadata for `DeleteGitHubEnterpriseConfig` operation. +class DeleteGitHubEnterpriseConfigOperationMetadata { + /// Time the operation was completed. + core.String? completeTime; + + /// Time the operation was created. + core.String? createTime; + + /// The resource name of the GitHubEnterprise to be deleted. + /// + /// Format: + /// `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. + core.String? githubEnterpriseConfig; + + DeleteGitHubEnterpriseConfigOperationMetadata({ + this.completeTime, + this.createTime, + this.githubEnterpriseConfig, + }); + + DeleteGitHubEnterpriseConfigOperationMetadata.fromJson(core.Map _json) + : this( + completeTime: _json.containsKey('completeTime') + ? _json['completeTime'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + githubEnterpriseConfig: _json.containsKey('githubEnterpriseConfig') + ? _json['githubEnterpriseConfig'] as core.String + : null, + ); + + core.Map toJson() => { + if (completeTime != null) 'completeTime': completeTime!, + if (createTime != null) 'createTime': createTime!, + if (githubEnterpriseConfig != null) + 'githubEnterpriseConfig': githubEnterpriseConfig!, + }; +} + /// Metadata for the `DeleteWorkerPool` operation. class DeleteWorkerPoolOperationMetadata { /// Time the operation was completed. @@ -3173,11 +4123,264 @@ class FileHashes { }; } +/// GitFileSource describes a file within a (possibly remote) code repository. +class GitFileSource { + /// The path of the file, with the repo root as the root of the path. + core.String? path; + + /// See RepoType above. + /// Possible string values are: + /// - "UNKNOWN" : The default, unknown repo type. + /// - "CLOUD_SOURCE_REPOSITORIES" : A Google Cloud Source Repositories-hosted + /// repo. + /// - "GITHUB" : A GitHub-hosted repo not necessarily on "github.com" (i.e. + /// GitHub Enterprise). + core.String? repoType; + + /// The branch, tag, arbitrary ref, or SHA version of the repo to use when + /// resolving the filename (optional). + /// + /// This field respects the same syntax/resolution as described here: + /// https://git-scm.com/docs/gitrevisions If unspecified, the revision from + /// which the trigger invocation originated is assumed to be the revision from + /// which to read the specified path. + core.String? revision; + + /// The URI of the repo (optional). + /// + /// If unspecified, the repo from which the trigger invocation originated is + /// assumed to be the repo from which to read the specified path. + core.String? uri; + + GitFileSource({ + this.path, + this.repoType, + this.revision, + this.uri, + }); + + GitFileSource.fromJson(core.Map _json) + : this( + path: _json.containsKey('path') ? _json['path'] as core.String : null, + repoType: _json.containsKey('repoType') + ? _json['repoType'] as core.String + : null, + revision: _json.containsKey('revision') + ? _json['revision'] as core.String + : null, + uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (path != null) 'path': path!, + if (repoType != null) 'repoType': repoType!, + if (revision != null) 'revision': revision!, + if (uri != null) 'uri': uri!, + }; +} + +/// GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise +/// server. +class GitHubEnterpriseConfig { + /// The GitHub app id of the Cloud Build app on the GitHub Enterprise server. + /// + /// Required. + core.String? appId; + + /// Time when the installation was associated with the project. + /// + /// Output only. + core.String? createTime; + + /// Name to display for this config. + core.String? displayName; + + /// The URL of the github enterprise host the configuration is for. + core.String? hostUrl; + + /// The full resource name for the GitHubEnterpriseConfig For example: + /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// + /// Optional. + core.String? name; + + /// The network to be used when reaching out to the GitHub Enterprise server. + /// + /// The VPC network must be enabled for private service connection. This + /// should be set if the GitHub Enterprise server is hosted on-premises and + /// not reachable by public internet. If this field is left empty, no network + /// peering will occur and calls to the GitHub Enterprise server will be made + /// over the public internet. Must be in the format + /// `projects/{project}/global/networks/{network}`, where {project} is a + /// project number or id and {network} is the name of a VPC network in the + /// project. + /// + /// Optional. + core.String? peeredNetwork; + + /// Names of secrets in Secret Manager. + GitHubEnterpriseSecrets? secrets; + + /// SSL certificate to use for requests to GitHub Enterprise. + /// + /// Optional. + core.String? sslCa; + + /// The key that should be attached to webhook calls to the ReceiveWebhook + /// endpoint. + core.String? webhookKey; + + GitHubEnterpriseConfig({ + this.appId, + this.createTime, + this.displayName, + this.hostUrl, + this.name, + this.peeredNetwork, + this.secrets, + this.sslCa, + this.webhookKey, + }); + + GitHubEnterpriseConfig.fromJson(core.Map _json) + : this( + appId: + _json.containsKey('appId') ? _json['appId'] as core.String : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + hostUrl: _json.containsKey('hostUrl') + ? _json['hostUrl'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + peeredNetwork: _json.containsKey('peeredNetwork') + ? _json['peeredNetwork'] as core.String + : null, + secrets: _json.containsKey('secrets') + ? GitHubEnterpriseSecrets.fromJson( + _json['secrets'] as core.Map) + : null, + sslCa: + _json.containsKey('sslCa') ? _json['sslCa'] as core.String : null, + webhookKey: _json.containsKey('webhookKey') + ? _json['webhookKey'] as core.String + : null, + ); + + core.Map toJson() => { + if (appId != null) 'appId': appId!, + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (hostUrl != null) 'hostUrl': hostUrl!, + if (name != null) 'name': name!, + if (peeredNetwork != null) 'peeredNetwork': peeredNetwork!, + if (secrets != null) 'secrets': secrets!.toJson(), + if (sslCa != null) 'sslCa': sslCa!, + if (webhookKey != null) 'webhookKey': webhookKey!, + }; +} + +/// GitHubEnterpriseSecrets represents the names of all necessary secrets in +/// Secret Manager for a GitHub Enterprise server. +/// +/// Format is: projects//secrets/. +class GitHubEnterpriseSecrets { + /// The resource name for the OAuth client ID secret in Secret Manager. + core.String? oauthClientIdName; + + /// The resource name for the OAuth client ID secret version in Secret + /// Manager. + core.String? oauthClientIdVersionName; + + /// The resource name for the OAuth secret in Secret Manager. + core.String? oauthSecretName; + + /// The resource name for the OAuth secret secret version in Secret Manager. + core.String? oauthSecretVersionName; + + /// The resource name for the private key secret. + core.String? privateKeyName; + + /// The resource name for the private key secret version. + core.String? privateKeyVersionName; + + /// The resource name for the webhook secret in Secret Manager. + core.String? webhookSecretName; + + /// The resource name for the webhook secret secret version in Secret Manager. + core.String? webhookSecretVersionName; + + GitHubEnterpriseSecrets({ + this.oauthClientIdName, + this.oauthClientIdVersionName, + this.oauthSecretName, + this.oauthSecretVersionName, + this.privateKeyName, + this.privateKeyVersionName, + this.webhookSecretName, + this.webhookSecretVersionName, + }); + + GitHubEnterpriseSecrets.fromJson(core.Map _json) + : this( + oauthClientIdName: _json.containsKey('oauthClientIdName') + ? _json['oauthClientIdName'] as core.String + : null, + oauthClientIdVersionName: + _json.containsKey('oauthClientIdVersionName') + ? _json['oauthClientIdVersionName'] as core.String + : null, + oauthSecretName: _json.containsKey('oauthSecretName') + ? _json['oauthSecretName'] as core.String + : null, + oauthSecretVersionName: _json.containsKey('oauthSecretVersionName') + ? _json['oauthSecretVersionName'] as core.String + : null, + privateKeyName: _json.containsKey('privateKeyName') + ? _json['privateKeyName'] as core.String + : null, + privateKeyVersionName: _json.containsKey('privateKeyVersionName') + ? _json['privateKeyVersionName'] as core.String + : null, + webhookSecretName: _json.containsKey('webhookSecretName') + ? _json['webhookSecretName'] as core.String + : null, + webhookSecretVersionName: + _json.containsKey('webhookSecretVersionName') + ? _json['webhookSecretVersionName'] as core.String + : null, + ); + + core.Map toJson() => { + if (oauthClientIdName != null) 'oauthClientIdName': oauthClientIdName!, + if (oauthClientIdVersionName != null) + 'oauthClientIdVersionName': oauthClientIdVersionName!, + if (oauthSecretName != null) 'oauthSecretName': oauthSecretName!, + if (oauthSecretVersionName != null) + 'oauthSecretVersionName': oauthSecretVersionName!, + if (privateKeyName != null) 'privateKeyName': privateKeyName!, + if (privateKeyVersionName != null) + 'privateKeyVersionName': privateKeyVersionName!, + if (webhookSecretName != null) 'webhookSecretName': webhookSecretName!, + if (webhookSecretVersionName != null) + 'webhookSecretVersionName': webhookSecretVersionName!, + }; +} + /// GitHubEventsConfig describes the configuration of a trigger that creates a /// build whenever a GitHub event is received. -/// -/// This message is experimental. class GitHubEventsConfig { + /// The resource name of the github enterprise config that should be applied + /// to this installation. + /// + /// For example: "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// + /// Optional. + core.String? enterpriseConfigResourceName; + /// The installationID that emits the GitHub event. core.String? installationId; @@ -3201,6 +4404,7 @@ class GitHubEventsConfig { PushFilter? push; GitHubEventsConfig({ + this.enterpriseConfigResourceName, this.installationId, this.name, this.owner, @@ -3210,6 +4414,10 @@ class GitHubEventsConfig { GitHubEventsConfig.fromJson(core.Map _json) : this( + enterpriseConfigResourceName: + _json.containsKey('enterpriseConfigResourceName') + ? _json['enterpriseConfigResourceName'] as core.String + : null, installationId: _json.containsKey('installationId') ? _json['installationId'] as core.String : null, @@ -3227,6 +4435,8 @@ class GitHubEventsConfig { ); core.Map toJson() => { + if (enterpriseConfigResourceName != null) + 'enterpriseConfigResourceName': enterpriseConfigResourceName!, if (installationId != null) 'installationId': installationId!, if (name != null) 'name': name!, if (owner != null) 'owner': owner!, @@ -3599,6 +4809,32 @@ class ListBuildsResponse { }; } +/// RPC response object returned by ListGithubEnterpriseConfigs RPC method. +class ListGithubEnterpriseConfigsResponse { + /// A list of GitHubEnterpriseConfigs + core.List? configs; + + ListGithubEnterpriseConfigsResponse({ + this.configs, + }); + + ListGithubEnterpriseConfigsResponse.fromJson(core.Map _json) + : this( + configs: _json.containsKey('configs') + ? (_json['configs'] as core.List) + .map((value) => + GitHubEnterpriseConfig.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (configs != null) + 'configs': configs!.map((value) => value.toJson()).toList(), + }; +} + /// Response containing existing `WorkerPools`. class ListWorkerPoolsResponse { /// Continuation token used to page through large result sets. @@ -4012,7 +5248,7 @@ class OperationMetadata { /// Identifies whether the user has requested cancellation of the operation. /// - /// Operations that have successfully been cancelled have Operation.error + /// Operations that have been cancelled successfully have Operation.error /// value with a google.rpc.Status.code of 1, corresponding to /// `Code.CANCELLED`. /// @@ -4146,6 +5382,47 @@ class PrivatePoolV1Config { }; } +/// Metadata for `ProcessAppManifestCallback` operation. +class ProcessAppManifestCallbackOperationMetadata { + /// Time the operation was completed. + core.String? completeTime; + + /// Time the operation was created. + core.String? createTime; + + /// The resource name of the GitHubEnterprise to be created. + /// + /// Format: + /// `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. + core.String? githubEnterpriseConfig; + + ProcessAppManifestCallbackOperationMetadata({ + this.completeTime, + this.createTime, + this.githubEnterpriseConfig, + }); + + ProcessAppManifestCallbackOperationMetadata.fromJson(core.Map _json) + : this( + completeTime: _json.containsKey('completeTime') + ? _json['completeTime'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + githubEnterpriseConfig: _json.containsKey('githubEnterpriseConfig') + ? _json['githubEnterpriseConfig'] as core.String + : null, + ); + + core.Map toJson() => { + if (completeTime != null) 'completeTime': completeTime!, + if (createTime != null) 'createTime': createTime!, + if (githubEnterpriseConfig != null) + 'githubEnterpriseConfig': githubEnterpriseConfig!, + }; +} + /// PubsubConfig describes the configuration of a trigger that creates a build /// whenever a Pub/Sub message is published. class PubsubConfig { @@ -5076,6 +6353,47 @@ class TimeSpan { }; } +/// Metadata for `UpdateGitHubEnterpriseConfig` operation. +class UpdateGitHubEnterpriseConfigOperationMetadata { + /// Time the operation was completed. + core.String? completeTime; + + /// Time the operation was created. + core.String? createTime; + + /// The resource name of the GitHubEnterprise to be updated. + /// + /// Format: + /// `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. + core.String? githubEnterpriseConfig; + + UpdateGitHubEnterpriseConfigOperationMetadata({ + this.completeTime, + this.createTime, + this.githubEnterpriseConfig, + }); + + UpdateGitHubEnterpriseConfigOperationMetadata.fromJson(core.Map _json) + : this( + completeTime: _json.containsKey('completeTime') + ? _json['completeTime'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + githubEnterpriseConfig: _json.containsKey('githubEnterpriseConfig') + ? _json['githubEnterpriseConfig'] as core.String + : null, + ); + + core.Map toJson() => { + if (completeTime != null) 'completeTime': completeTime!, + if (createTime != null) 'createTime': createTime!, + if (githubEnterpriseConfig != null) + 'githubEnterpriseConfig': githubEnterpriseConfig!, + }; +} + /// Metadata for the `UpdateWorkerPool` operation. class UpdateWorkerPoolOperationMetadata { /// Time the operation was completed. diff --git a/generated/googleapis/lib/cloudchannel/v1.dart b/generated/googleapis/lib/cloudchannel/v1.dart index cf5a130bd..972789ce1 100644 --- a/generated/googleapis/lib/cloudchannel/v1.dart +++ b/generated/googleapis/lib/cloudchannel/v1.dart @@ -14,6 +14,10 @@ /// Cloud Channel API - v1 /// +/// The Cloud Channel API enables Google Cloud partners to have a single unified +/// resale platform and APIs across all of Google Cloud including GCP, +/// Workspace, Maps and Chrome. +/// /// For more information, see /// /// Create an instance of [CloudchannelApi] to access these resources: @@ -41,6 +45,9 @@ import '../src/user_agent.dart'; export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; +/// The Cloud Channel API enables Google Cloud partners to have a single unified +/// resale platform and APIs across all of Google Cloud including GCP, +/// Workspace, Maps and Chrome. class CloudchannelApi { /// Manage users on your domain static const appsOrderScope = 'https://www.googleapis.com/auth/apps.order'; @@ -789,6 +796,59 @@ class AccountsChannelPartnerLinksCustomersResource { _response as core.Map); } + /// Imports a Customer from the Cloud Identity associated with the provided + /// Cloud Identity ID or domain before a TransferEntitlements call. + /// + /// If a linked Customer already exists and overwrite_if_exists is true, it + /// will update that Customer's data. Possible error codes: * + /// PERMISSION_DENIED: The reseller account making the request is different + /// from the reseller account in the API request. * NOT_FOUND: Cloud Identity + /// doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are + /// missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A + /// customer already exists and has conflicting critical fields. Requires an + /// overwrite. Return value: The Customer. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the reseller's account. Parent + /// takes the format: accounts/{account_id} or + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id} + /// Value must have pattern `^accounts/\[^/\]+/channelPartnerLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudChannelV1Customer]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future import( + GoogleCloudChannelV1ImportCustomerRequest request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/customers:import'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudChannelV1Customer.fromJson( + _response as core.Map); + } + /// List Customers. /// /// Possible error codes: * PERMISSION_DENIED: The reseller account making the @@ -1039,6 +1099,59 @@ class AccountsCustomersResource { _response as core.Map); } + /// Imports a Customer from the Cloud Identity associated with the provided + /// Cloud Identity ID or domain before a TransferEntitlements call. + /// + /// If a linked Customer already exists and overwrite_if_exists is true, it + /// will update that Customer's data. Possible error codes: * + /// PERMISSION_DENIED: The reseller account making the request is different + /// from the reseller account in the API request. * NOT_FOUND: Cloud Identity + /// doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are + /// missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A + /// customer already exists and has conflicting critical fields. Requires an + /// overwrite. Return value: The Customer. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the reseller's account. Parent + /// takes the format: accounts/{account_id} or + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudChannelV1Customer]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future import( + GoogleCloudChannelV1ImportCustomerRequest request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/customers:import'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudChannelV1Customer.fromJson( + _response as core.Map); + } + /// List Customers. /// /// Possible error codes: * PERMISSION_DENIED: The reseller account making the @@ -3795,6 +3908,94 @@ class GoogleCloudChannelV1EntitlementEvent { }; } +/// Request message for CloudChannelService.ImportCustomer +class GoogleCloudChannelV1ImportCustomerRequest { + /// The super admin of the resold customer generates this token to authorize a + /// reseller to access their Cloud Identity and purchase entitlements on their + /// behalf. + /// + /// You can omit this token after authorization. See + /// https://support.google.com/a/answer/7643790 for more details. + /// + /// Optional. + core.String? authToken; + + /// Cloud Identity ID of a channel partner who will be the direct reseller for + /// the customer's order. + /// + /// This field is required for 2-tier transfer scenarios and can be provided + /// via the request Parent binding as well. + /// + /// Optional. + core.String? channelPartnerId; + + /// Customer's Cloud Identity ID + /// + /// Required. + core.String? cloudIdentityId; + + /// Specifies the customer that will receive imported Cloud Identity + /// information. + /// + /// Format: accounts/{account_id}/customers/{customer_id} + /// + /// Optional. + core.String? customer; + + /// Customer domain. + /// + /// Required. + core.String? domain; + + /// Choose to overwrite an existing customer if found. + /// + /// This must be set to true if there is an existing customer with a + /// conflicting region code or domain. + /// + /// Required. + core.bool? overwriteIfExists; + + GoogleCloudChannelV1ImportCustomerRequest({ + this.authToken, + this.channelPartnerId, + this.cloudIdentityId, + this.customer, + this.domain, + this.overwriteIfExists, + }); + + GoogleCloudChannelV1ImportCustomerRequest.fromJson(core.Map _json) + : this( + authToken: _json.containsKey('authToken') + ? _json['authToken'] as core.String + : null, + channelPartnerId: _json.containsKey('channelPartnerId') + ? _json['channelPartnerId'] as core.String + : null, + cloudIdentityId: _json.containsKey('cloudIdentityId') + ? _json['cloudIdentityId'] as core.String + : null, + customer: _json.containsKey('customer') + ? _json['customer'] as core.String + : null, + domain: _json.containsKey('domain') + ? _json['domain'] as core.String + : null, + overwriteIfExists: _json.containsKey('overwriteIfExists') + ? _json['overwriteIfExists'] as core.bool + : null, + ); + + core.Map toJson() => { + if (authToken != null) 'authToken': authToken!, + if (channelPartnerId != null) 'channelPartnerId': channelPartnerId!, + if (cloudIdentityId != null) 'cloudIdentityId': cloudIdentityId!, + if (customer != null) 'customer': customer!, + if (domain != null) 'domain': domain!, + if (overwriteIfExists != null) 'overwriteIfExists': overwriteIfExists!, + }; +} + /// Response message for CloudChannelService.ListChannelPartnerLinks. class GoogleCloudChannelV1ListChannelPartnerLinksResponse { /// The Channel partner links for a reseller. diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart index f91847354..33332cec9 100644 --- a/generated/googleapis/lib/clouddebugger/v2.dart +++ b/generated/googleapis/lib/clouddebugger/v2.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Examines the call stack and variables of a running application without /// stopping or slowing it down. class CloudDebuggerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart index 71d9605bf..5cd089da5 100644 --- a/generated/googleapis/lib/cloudfunctions/v1.dart +++ b/generated/googleapis/lib/cloudfunctions/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages lightweight user-provided functions executed in response to events. class CloudFunctionsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1012,18 +1013,25 @@ class CloudFunction { /// Output only. core.String? buildId; + /// The Cloud Build Name of the function deployment. + /// + /// `projects//locations//builds/`. + /// + /// Output only. + core.String? buildName; + /// Name of the Cloud Build Custom Worker Pool that should be used to build /// the function. /// /// The format of this field is /// `projects/{project}/locations/{region}/workerPools/{workerPool}` where - /// {project} and {region} are the project id and region respectively where - /// the worker pool is defined and {workerPool} is the short name of the - /// worker pool. If the project id is not the same as the function, then the - /// Cloud Functions Service Agent - /// (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the + /// `{project}` and `{region}` are the project id and region respectively + /// where the worker pool is defined and `{workerPool}` is the short name of + /// the worker pool. If the project id is not the same as the function, then + /// the Cloud Functions Service Agent + /// (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the /// role Cloud Build Custom Workers Builder - /// (roles/cloudbuild.customworkers.builder) in the project. + /// (`roles/cloudbuild.customworkers.builder`) in the project. core.String? buildWorkerPool; /// User-provided description of a function. @@ -1073,6 +1081,10 @@ class CloudFunction { /// Guide for more details. core.int? maxInstances; + /// A lower bound for the number function instances that may coexist at a + /// given time. + core.int? minInstances; + /// A user-defined name of the function. /// /// Function names must be unique globally and match pattern `projects / * @@ -1086,8 +1098,8 @@ class CloudFunction { /// the same project. Otherwise, it must belong to a project within the same /// organization. The format of this field is either /// `projects/{project}/global/networks/{network}` or `{network}`, where - /// {project} is a project id where the network is defined, and {network} is - /// the short name of the network. This field is mutually exclusive with + /// `{project}` is a project id where the network is defined, and `{network}` + /// is the short name of the network. This field is mutually exclusive with /// `vpc_connector` and will be replaced by it. See /// [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for /// more information on connecting Cloud projects. @@ -1097,7 +1109,8 @@ class CloudFunction { /// /// Required when deploying a new function, optional when updating an existing /// function. For a complete list of possible choices, see the \[`gcloud` - /// command reference\](/sdk/gcloud/reference/functions/deploy#--runtime). + /// command + /// reference\](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). core.String? runtime; /// Secret environment variables configuration. @@ -1111,7 +1124,7 @@ class CloudFunction { /// If empty, defaults to `{project_id}@appspot.gserviceaccount.com`. core.String? serviceAccountEmail; - /// The Google Cloud Storage URL, starting with gs://, pointing to the zip + /// The Google Cloud Storage URL, starting with `gs://`, pointing to the zip /// archive which contains the function. core.String? sourceArchiveUrl; @@ -1125,7 +1138,10 @@ class CloudFunction { core.String? sourceToken; /// The Google Cloud Storage signed URL used for source uploading, generated - /// by google.cloud.functions.v1.GenerateUploadUrl + /// by calling \[google.cloud.functions.v1.GenerateUploadUrl\]. + /// + /// The signature is validated on write methods (Create, Update) The signature + /// is stripped from the Function object on read methods (Get, List) core.String? sourceUploadUrl; /// Status of the function deployment. @@ -1185,6 +1201,7 @@ class CloudFunction { this.availableMemoryMb, this.buildEnvironmentVariables, this.buildId, + this.buildName, this.buildWorkerPool, this.description, this.entryPoint, @@ -1194,6 +1211,7 @@ class CloudFunction { this.ingressSettings, this.labels, this.maxInstances, + this.minInstances, this.name, this.network, this.runtime, @@ -1231,6 +1249,9 @@ class CloudFunction { buildId: _json.containsKey('buildId') ? _json['buildId'] as core.String : null, + buildName: _json.containsKey('buildName') + ? _json['buildName'] as core.String + : null, buildWorkerPool: _json.containsKey('buildWorkerPool') ? _json['buildWorkerPool'] as core.String : null, @@ -1272,6 +1293,9 @@ class CloudFunction { maxInstances: _json.containsKey('maxInstances') ? _json['maxInstances'] as core.int : null, + minInstances: _json.containsKey('minInstances') + ? _json['minInstances'] as core.int + : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, network: _json.containsKey('network') ? _json['network'] as core.String @@ -1334,6 +1358,7 @@ class CloudFunction { if (buildEnvironmentVariables != null) 'buildEnvironmentVariables': buildEnvironmentVariables!, if (buildId != null) 'buildId': buildId!, + if (buildName != null) 'buildName': buildName!, if (buildWorkerPool != null) 'buildWorkerPool': buildWorkerPool!, if (description != null) 'description': description!, if (entryPoint != null) 'entryPoint': entryPoint!, @@ -1344,6 +1369,7 @@ class CloudFunction { if (ingressSettings != null) 'ingressSettings': ingressSettings!, if (labels != null) 'labels': labels!, if (maxInstances != null) 'maxInstances': maxInstances!, + if (minInstances != null) 'minInstances': minInstances!, if (name != null) 'name': name!, if (network != null) 'network': network!, if (runtime != null) 'runtime': runtime!, @@ -1944,7 +1970,7 @@ class OperationMetadataV1 { /// The Cloud Build Name of the function deployment. /// /// This field is only populated for Create and Update operations. - /// projects//locations//builds/. + /// `projects//locations//builds/`. core.String? buildName; /// The original request that started the operation. @@ -1960,7 +1986,7 @@ class OperationMetadataV1 { core.String? sourceToken; /// Target of the operation - for example - /// projects/project-1/locations/region-1/functions/function-1 + /// `projects/project-1/locations/region-1/functions/function-1` core.String? target; /// Type of operation. @@ -2061,7 +2087,7 @@ class OperationMetadataV1 { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/cloudidentity/v1.dart b/generated/googleapis/lib/cloudidentity/v1.dart index 71cc33569..ef70844ea 100644 --- a/generated/googleapis/lib/cloudidentity/v1.dart +++ b/generated/googleapis/lib/cloudidentity/v1.dart @@ -55,7 +55,8 @@ class CloudIdentityApi { static const cloudIdentityGroupsReadonlyScope = 'https://www.googleapis.com/auth/cloud-identity.groups.readonly'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -94,8 +95,8 @@ class DevicesResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}`, where device_id is the unique - /// ID assigned to the Device. + /// the Device in format: `devices/{device}`, where device is the unique ID + /// assigned to the Device. /// Value must have pattern `^devices/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -144,8 +145,8 @@ class DevicesResource { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -185,16 +186,16 @@ class DevicesResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}`, where device_id is the unique - /// ID assigned to the Device. + /// the Device in format: `devices/{device}`, where device is the unique ID + /// assigned to the Device. /// Value must have pattern `^devices/\[^/\]+$`. /// /// [customer] - Optional. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -232,17 +233,17 @@ class DevicesResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in the format: `devices/{device_id}`, where device_id is the - /// unique ID assigned to the Device. + /// the Device in the format: `devices/{device}`, where device is the unique + /// ID assigned to the Device. /// Value must have pattern `^devices/\[^/\]+$`. /// /// [customer] - Optional. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Customer in the format: `customers/{customer_id}`, where customer_id - /// is the customer to whom the device belongs. If you're using this API for - /// your own organization, use `customers/my_customer`. If you're using this - /// API to manage another organization, use `customers/{customer_id}`, where - /// customer_id is the customer to whom the device belongs. + /// the Customer in the format: `customers/{customer}`, where customer is the + /// customer to whom the device belongs. If you're using this API for your own + /// organization, use `customers/my_customer`. If you're using this API to + /// manage another organization, use `customers/{customer}`, where customer is + /// the customer to whom the device belongs. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -281,11 +282,11 @@ class DevicesResource { /// /// [customer] - Optional. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the customer in the format: `customers/{customer_id}`, where customer_id - /// is the customer to whom the device belongs. If you're using this API for - /// your own organization, use `customers/my_customer`. If you're using this - /// API to manage another organization, use `customers/{customer_id}`, where - /// customer_id is the customer to whom the device belongs. + /// the customer in the format: `customers/{customer}`, where customer is the + /// customer to whom the device belongs. If you're using this API for your own + /// organization, use `customers/my_customer`. If you're using this API to + /// manage another organization, use `customers/{customer}`, where customer is + /// the customer to whom the device belongs. /// /// [filter] - Optional. Additional restrictions when fetching list of /// devices. For a list of search fields, refer to @@ -366,9 +367,9 @@ class DevicesResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -419,9 +420,9 @@ class DevicesDeviceUsersResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+/deviceUsers/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -463,9 +464,9 @@ class DevicesDeviceUsersResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+/deviceUsers/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -510,9 +511,9 @@ class DevicesDeviceUsersResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+/deviceUsers/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -554,17 +555,17 @@ class DevicesDeviceUsersResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+/deviceUsers/\[^/\]+$`. /// /// [customer] - Optional. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -602,17 +603,17 @@ class DevicesDeviceUsersResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+/deviceUsers/\[^/\]+$`. /// /// [customer] - Optional. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -658,8 +659,8 @@ class DevicesDeviceUsersResource { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [filter] - Optional. Additional restrictions when fetching list of /// devices. For a list of search fields, refer to @@ -815,9 +816,9 @@ class DevicesDeviceUsersResource { /// /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, - /// where device_id is the unique ID assigned to the Device, and - /// device_user_id is the unique ID assigned to the User. + /// the Device in format: `devices/{device}/deviceUsers/{device_user}`, where + /// device is the unique ID assigned to the Device, and device_user is the + /// unique ID assigned to the User. /// Value must have pattern `^devices/\[^/\]+/deviceUsers/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -865,18 +866,18 @@ class DevicesDeviceUsersClientStatesResource { /// [name] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the ClientState in format: - /// `devices/{device_id}/deviceUsers/{device_user_id}/clientStates/{partner_id}`, - /// where `device_id` is the unique ID assigned to the Device, - /// `device_user_id` is the unique ID assigned to the User and `partner_id` - /// identifies the partner storing the data. To get the client state for - /// devices belonging to your own organization, the `partnerId` is in the - /// format: `customerId-*anystring*`. Where the `customerId` is your - /// organization's customer ID and `anystring` is any suffix. This suffix is - /// used in setting up Custom Access Levels in Context-Aware Access. You may - /// use `my_customer` instead of the customer ID for devices managed by your - /// own organization. You may specify `-` in place of the `{device_id}`, so - /// the ClientState resource name can be: - /// `devices/-/deviceUsers/{device_user_resource_id}/clientStates/{partner_id}`. + /// `devices/{device}/deviceUsers/{device_user}/clientStates/{partner}`, where + /// `device` is the unique ID assigned to the Device, `device_user` is the + /// unique ID assigned to the User and `partner` identifies the partner + /// storing the data. To get the client state for devices belonging to your + /// own organization, the `partnerId` is in the format: + /// `customerId-*anystring*`. Where the `customerId` is your organization's + /// customer ID and `anystring` is any suffix. This suffix is used in setting + /// up Custom Access Levels in Context-Aware Access. You may use `my_customer` + /// instead of the customer ID for devices managed by your own organization. + /// You may specify `-` in place of the `{device}`, so the ClientState + /// resource name can be: + /// `devices/-/deviceUsers/{device_user_resource}/clientStates/{partner}`. /// Value must have pattern /// `^devices/\[^/\]+/deviceUsers/\[^/\]+/clientStates/\[^/\]+$`. /// @@ -884,8 +885,8 @@ class DevicesDeviceUsersClientStatesResource { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -932,8 +933,8 @@ class DevicesDeviceUsersClientStatesResource { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [filter] - Optional. Additional restrictions when fetching list of client /// states. @@ -996,15 +997,15 @@ class DevicesDeviceUsersClientStatesResource { /// [name] - Output only. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the ClientState in format: - /// `devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}`, - /// where partner_id corresponds to the partner storing the data. For partners + /// `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where + /// partner corresponds to the partner storing the data. For partners /// belonging to the "BeyondCorp Alliance", this is the partner ID specified /// to you by Google. For all other callers, this is a string of the form: - /// `{customer_id}-suffix`, where `customer_id` is your customer ID. The - /// *suffix* is any string the caller specifies. This string will be displayed - /// verbatim in the administration console. This suffix is used in setting up - /// Custom Access Levels in Context-Aware Access. Your organization's customer - /// ID can be obtained from the URL: `GET + /// `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is + /// any string the caller specifies. This string will be displayed verbatim in + /// the administration console. This suffix is used in setting up Custom + /// Access Levels in Context-Aware Access. Your organization's customer ID can + /// be obtained from the URL: `GET /// https://www.googleapis.com/admin/directory/v1/customers/my_customer` The /// `id` field in the response contains the customer ID starting with the /// letter 'C'. The customer ID to be used in this API is the string after the @@ -1016,8 +1017,8 @@ class DevicesDeviceUsersClientStatesResource { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the customer. If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// [updateMask] - Optional. Comma-separated list of fully qualified names of /// fields to be updated. If not specified, all updatable fields in @@ -1121,7 +1122,7 @@ class GroupsResource { /// /// [name] - Required. The /// [resource name](https://cloud.google.com/apis/design/resource_names) of - /// the `Group` to retrieve. Must be of the form `groups/{group_id}`. + /// the `Group` to retrieve. Must be of the form `groups/{group}`. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1158,7 +1159,7 @@ class GroupsResource { /// /// [name] - Required. The /// [resource name](https://cloud.google.com/apis/design/resource_names) of - /// the `Group` to retrieve. Must be of the form `groups/{group_id}`. + /// the `Group` to retrieve. Must be of the form `groups/{group}`. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1205,9 +1206,9 @@ class GroupsResource { /// request, if any. /// /// [parent] - Required. The parent resource under which to list all `Group` - /// resources. Must be of the form `identitysources/{identity_source_id}` for - /// external- identity-mapped groups or `customers/{customer_id}` for Google - /// Groups. The `customer_id` must begin with "C" (for example, 'C046psxkn'). + /// resources. Must be of the form `identitysources/{identity_source}` for + /// external- identity-mapped groups or `customers/{customer}` for Google + /// Groups. The `customer` must begin with "C" (for example, 'C046psxkn'). /// /// [view] - The level of detail to be returned. If unspecified, defaults to /// `View.BASIC`. @@ -1268,7 +1269,7 @@ class GroupsResource { /// Google user or a Google Group. If specified, the `EntityKey` represents an /// external-identity-mapped group. The namespace must correspond to an /// identity source created in Admin Console and must be in the form of - /// `identitysources/{identity_source_id}`. + /// `identitysources/{identity_source}`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1311,11 +1312,11 @@ class GroupsResource { /// /// [name] - Output only. The /// [resource name](https://cloud.google.com/apis/design/resource_names) of - /// the `Group`. Shall be of the form `groups/{group_id}`. + /// the `Group`. Shall be of the form `groups/{group}`. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [updateMask] - Required. The names of fields to update. May only contain - /// the following fields: `display_name`, `description`, `labels`. + /// the following field names: `display_name`, `description`, `labels`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1368,9 +1369,9 @@ class GroupsResource { /// [query] - Required. The search query. Must be specified in /// [Common Expression Language](https://opensource.google/projects/cel). May /// only contain equality operators on the parent and inclusion operators on - /// labels (e.g., `parent == 'customers/{customer_id}' && + /// labels (e.g., `parent == 'customers/{customer}' && /// 'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). The - /// `customer_id` must begin with "C" (for example, 'C046psxkn'). + /// `customer` must begin with "C" (for example, 'C046psxkn'). /// /// [view] - The level of detail to be returned. If unspecified, defaults to /// `View.BASIC`. @@ -1436,9 +1437,9 @@ class GroupsMembershipsResource { /// /// [parent] - /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the group to check the transitive membership in. Format: - /// `groups/{group_id}`, where `group_id` is the unique id assigned to the - /// Group to which the Membership belongs to. + /// the group to check the transitive membership in. Format: `groups/{group}`, + /// where `group` is the unique id assigned to the Group to which the + /// Membership belongs to. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [query] - Required. A CEL expression that MUST include member @@ -1487,7 +1488,7 @@ class GroupsMembershipsResource { /// Request parameters: /// /// [parent] - Required. The parent `Group` resource under which to create the - /// `Membership`. Must be of the form `groups/{group_id}`. + /// `Membership`. Must be of the form `groups/{group}`. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1528,7 +1529,7 @@ class GroupsMembershipsResource { /// [name] - Required. The /// [resource name](https://cloud.google.com/apis/design/resource_names) of /// the `Membership` to delete. Must be of the form - /// `groups/{group_id}/memberships/{membership_id}` + /// `groups/{group}/memberships/{membership}` /// Value must have pattern `^groups/\[^/\]+/memberships/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1566,7 +1567,7 @@ class GroupsMembershipsResource { /// [name] - Required. The /// [resource name](https://cloud.google.com/apis/design/resource_names) of /// the `Membership` to retrieve. Must be of the form - /// `groups/{group_id}/memberships/{membership_id}`. + /// `groups/{group}/memberships/{membership}`. /// Value must have pattern `^groups/\[^/\]+/memberships/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1612,13 +1613,13 @@ class GroupsMembershipsResource { /// /// [parent] - Required. /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the group to search transitive memberships in. Format: - /// `groups/{group_id}`, where `group_id` is the unique ID assigned to the - /// Group to which the Membership belongs to. group_id can be a wildcard - /// collection id "-". When a group_id is specified, the membership graph will - /// be constrained to paths between the member (defined in the query) and the - /// parent. If a wildcard collection is provided, all membership paths - /// connected to the member will be returned. + /// the group to search transitive memberships in. Format: `groups/{group}`, + /// where `group` is the unique ID assigned to the Group to which the + /// Membership belongs to. group can be a wildcard collection id "-". When a + /// group is specified, the membership graph will be constrained to paths + /// between the member (defined in the query) and the parent. If a wildcard + /// collection is provided, all membership paths connected to the member will + /// be returned. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [query] - Required. A CEL expression that MUST include member @@ -1664,7 +1665,7 @@ class GroupsMembershipsResource { /// Request parameters: /// /// [parent] - Required. The parent `Group` resource under which to lookup the - /// `Membership` name. Must be of the form `groups/{group_id}`. + /// `Membership` name. Must be of the form `groups/{group}`. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [pageSize] - The maximum number of results to return. Note that the number @@ -1727,7 +1728,7 @@ class GroupsMembershipsResource { /// Request parameters: /// /// [parent] - Required. The parent `Group` resource under which to lookup the - /// `Membership` name. Must be of the form `groups/{group_id}`. + /// `Membership` name. Must be of the form `groups/{group}`. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [memberKey_id] - The ID of the entity. For Google-managed entities, the @@ -1740,7 +1741,7 @@ class GroupsMembershipsResource { /// Google user or a Google Group. If specified, the `EntityKey` represents an /// external-identity-mapped group. The namespace must correspond to an /// identity source created in Admin Console and must be in the form of - /// `identitysources/{identity_source_id}`. + /// `identitysources/{identity_source}`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1785,7 +1786,7 @@ class GroupsMembershipsResource { /// [name] - Required. The /// [resource name](https://cloud.google.com/apis/design/resource_names) of /// the `Membership` whose roles are to be modified. Must be of the form - /// `groups/{group_id}/memberships/{membership_id}`. + /// `groups/{group}/memberships/{membership}`. /// Value must have pattern `^groups/\[^/\]+/memberships/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1834,9 +1835,9 @@ class GroupsMembershipsResource { /// /// [parent] - /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the group to search transitive memberships in. Format: - /// `groups/{group_id}`, where `group_id` is always '-' as this API will - /// search across all groups for a given member. + /// the group to search transitive memberships in. Format: `groups/{group}`, + /// where `group` is always '-' as this API will search across all groups for + /// a given member. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [pageSize] - The default page size is 200 (max 1000). @@ -1902,9 +1903,8 @@ class GroupsMembershipsResource { /// /// [parent] - /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the group to search transitive memberships in. Format: - /// `groups/{group_id}`, where `group_id` is the unique ID assigned to the - /// Group. + /// the group to search transitive memberships in. Format: `groups/{group}`, + /// where `group` is the unique ID assigned to the Group. /// Value must have pattern `^groups/\[^/\]+$`. /// /// [pageSize] - The default page size is 200 (max 1000). @@ -1973,6 +1973,50 @@ class CheckTransitiveMembershipResponse { }; } +/// Metadata for CreateGroup LRO. +class CreateGroupMetadata { + CreateGroupMetadata(); + + CreateGroupMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for CreateMembership LRO. +class CreateMembershipMetadata { + CreateMembershipMetadata(); + + CreateMembershipMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for DeleteGroup LRO. +class DeleteGroupMetadata { + DeleteGroupMetadata(); + + DeleteGroupMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for DeleteMembership LRO. +class DeleteMembershipMetadata { + DeleteMembershipMetadata(); + + DeleteMembershipMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Dynamic group metadata like queries and status. class DynamicGroupMetadata { /// Memberships will be the union of all queries. @@ -2108,7 +2152,7 @@ class EntityKey { /// as a Google user or a Google Group. If specified, the `EntityKey` /// represents an external-identity-mapped group. The namespace must /// correspond to an identity source created in Admin Console and must be in - /// the form of `identitysources/{identity_source_id}`. + /// the form of `identitysources/{identity_source}`. core.String? namespace; EntityKey({ @@ -2151,6 +2195,19 @@ class ExpiryDetail { }; } +/// Metadata of GetMembershipGraphResponse LRO. +/// +/// This is currently empty to permit future extensibility. +class GetMembershipGraphMetadata { + GetMembershipGraphMetadata(); + + GetMembershipGraphMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The response message for MembershipsService.GetMembershipGraph. class GetMembershipGraphResponse { /// The membership graph's path information represented as an adjacency list. @@ -2255,6 +2312,17 @@ class GoogleAppsCloudidentityDevicesV1AndroidAttributes { }; } +/// Metadata for ApproveDeviceUser LRO. +class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata { + GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata(); + + GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Request message for approving the device to access user data. class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of @@ -2262,8 +2330,8 @@ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest { /// /// If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// Optional. core.String? customer; @@ -2308,6 +2376,17 @@ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse { }; } +/// Metadata for BlockDeviceUser LRO. +class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata { + GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata(); + + GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Request message for blocking account on device. class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of @@ -2315,8 +2394,8 @@ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest { /// /// If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// Optional. core.String? customer; @@ -2361,6 +2440,17 @@ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse { }; } +/// Metadata for CancelWipeDevice LRO. +class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata { + GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata(); + + GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Request message for cancelling an unfinished device wipe. class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of @@ -2368,8 +2458,8 @@ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest { /// /// If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// Optional. core.String? customer; @@ -2416,6 +2506,17 @@ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse { }; } +/// Metadata for CancelWipeDeviceUser LRO. +class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata { + GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata(); + + GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Request message for cancelling an unfinished user account wipe. class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of @@ -2423,8 +2524,8 @@ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest { /// /// If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// Optional. core.String? customer; @@ -2538,16 +2639,16 @@ class GoogleAppsCloudidentityDevicesV1ClientState { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of /// the ClientState in format: - /// `devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}`, - /// where partner_id corresponds to the partner storing the data. + /// `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where + /// partner corresponds to the partner storing the data. /// /// For partners belonging to the "BeyondCorp Alliance", this is the partner /// ID specified to you by Google. For all other callers, this is a string of - /// the form: `{customer_id}-suffix`, where `customer_id` is your customer ID. - /// The *suffix* is any string the caller specifies. This string will be - /// displayed verbatim in the administration console. This suffix is used in - /// setting up Custom Access Levels in Context-Aware Access. Your - /// organization's customer ID can be obtained from the URL: `GET + /// the form: `{customer}-suffix`, where `customer` is your customer ID. The + /// *suffix* is any string the caller specifies. This string will be displayed + /// verbatim in the administration console. This suffix is used in setting up + /// Custom Access Levels in Context-Aware Access. Your organization's customer + /// ID can be obtained from the URL: `GET /// https://www.googleapis.com/admin/directory/v1/customers/my_customer` The /// `id` field in the response contains the customer ID starting with the /// letter 'C'. The customer ID to be used in this API is the string after the @@ -2646,6 +2747,17 @@ class GoogleAppsCloudidentityDevicesV1ClientState { }; } +/// Metadata for CreateDevice LRO. +class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata { + GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata(); + + GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Additional custom attribute values may be one of these types class GoogleAppsCloudidentityDevicesV1CustomAttributeValue { /// Represents a boolean value. @@ -2683,6 +2795,28 @@ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue { }; } +/// Metadata for DeleteDevice LRO. +class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata { + GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata(); + + GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for DeleteDeviceUser LRO. +class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata { + GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata(); + + GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// A Device within the Cloud Identity Devices API. /// /// Represents a Device known to Google Cloud, independent of the device @@ -2820,8 +2954,8 @@ class GoogleAppsCloudidentityDevicesV1Device { core.String? model; /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the Device in format: `devices/{device_id}`, where device_id is the unique - /// id assigned to the Device. + /// the Device in format: `devices/{device}`, where device is the unique id + /// assigned to the Device. /// /// Output only. core.String? name; @@ -3076,9 +3210,8 @@ class GoogleAppsCloudidentityDevicesV1DeviceUser { core.String? managementState; /// [Resource name](https://cloud.google.com/apis/design/resource_names) of - /// the DeviceUser in format: - /// `devices/{device_id}/deviceUsers/{device_user_id}`, where `device_user_id` - /// uniquely identifies a user's use of a device. + /// the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, + /// where `device_user` uniquely identifies a user's use of a device. /// /// Output only. core.String? name; @@ -3267,6 +3400,17 @@ class GoogleAppsCloudidentityDevicesV1ListDevicesResponse { }; } +/// Metadata for ListEndpointApps LRO. +class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata { + GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata(); + + GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Response containing resource names of the DeviceUsers associated with the /// caller's credentials. class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse { @@ -3276,9 +3420,8 @@ class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse { /// [Resource names](https://cloud.google.com/apis/design/resource_names) of /// the DeviceUsers in the format: - /// `devices/{device_id}/deviceUsers/{user_resource_id}`, where device_id is - /// the unique ID assigned to a Device and user_resource_id is the unique user - /// ID + /// `devices/{device}/deviceUsers/{user_resource}`, where device is the unique + /// ID assigned to a Device and user_resource is the unique user ID core.List? names; /// Token to retrieve the next page of results. @@ -3315,6 +3458,50 @@ class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse { }; } +/// Metadata for SignoutDeviceUser LRO. +class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata { + GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata(); + + GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for UpdateClientState LRO. +class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata { + GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata(); + + GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for UpdateDevice LRO. +class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata { + GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata(); + + GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for WipeDevice LRO. +class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata { + GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata(); + + GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Request message for wiping all data on the device. class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of @@ -3322,8 +3509,8 @@ class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest { /// /// If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// Optional. core.String? customer; @@ -3368,6 +3555,17 @@ class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse { }; } +/// Metadata for WipeDeviceUser LRO. +class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata { + GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata(); + + GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Request message for starting an account wipe on device. class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest { /// [Resource name](https://cloud.google.com/apis/design/resource_names) of @@ -3375,8 +3573,8 @@ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest { /// /// If you're using this API for your own organization, use /// `customers/my_customer` If you're using this API to manage another - /// organization, use `customers/{customer_id}`, where customer_id is the - /// customer to whom the device belongs. + /// organization, use `customers/{customer}`, where customer is the customer + /// to whom the device belongs. /// /// Optional. core.String? customer; @@ -3467,7 +3665,7 @@ class Group { /// The [resource name](https://cloud.google.com/apis/design/resource_names) /// of the `Group`. /// - /// Shall be of the form `groups/{group_id}`. + /// Shall be of the form `groups/{group}`. /// /// Output only. core.String? name; @@ -3475,9 +3673,9 @@ class Group { /// The resource name of the entity under which this `Group` resides in the /// Cloud Identity resource hierarchy. /// - /// Must be of the form `identitysources/{identity_source_id}` for external- - /// identity-mapped groups or `customers/{customer_id}` for Google Groups. The - /// `customer_id` must begin with "C" (for example, 'C046psxkn'). + /// Must be of the form `identitysources/{identity_source}` for external- + /// identity-mapped groups or `customers/{customer}` for Google Groups. The + /// `customer` must begin with "C" (for example, 'C046psxkn'). /// /// Required. Immutable. core.String? parent; @@ -3727,7 +3925,7 @@ class LookupMembershipNameResponse { /// The [resource name](https://cloud.google.com/apis/design/resource_names) /// of the looked-up `Membership`. /// - /// Must be of the form `groups/{group_id}/memberships/{membership_id}`. + /// Must be of the form `groups/{group}/memberships/{membership}`. core.String? name; LookupMembershipNameResponse({ @@ -3824,7 +4022,7 @@ class Membership { /// The [resource name](https://cloud.google.com/apis/design/resource_names) /// of the `Membership`. /// - /// Shall be of the form `groups/{group_id}/memberships/{membership_id}`. + /// Shall be of the form `groups/{group}/memberships/{membership}`. /// /// Output only. core.String? name; @@ -4323,6 +4521,28 @@ class TransitiveMembershipRole { }; } +/// Metadata for UpdateGroup LRO. +class UpdateGroupMetadata { + UpdateGroupMetadata(); + + UpdateGroupMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for UpdateMembership LRO. +class UpdateMembershipMetadata { + UpdateMembershipMetadata(); + + UpdateMembershipMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The details of an update to a `MembershipRole`. class UpdateMembershipRolesParams { /// The fully-qualified names of fields to update. diff --git a/generated/googleapis/lib/cloudiot/v1.dart b/generated/googleapis/lib/cloudiot/v1.dart index d6bd84ced..9e8436248 100644 --- a/generated/googleapis/lib/cloudiot/v1.dart +++ b/generated/googleapis/lib/cloudiot/v1.dart @@ -46,7 +46,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Registers and manages IoT (Internet of Things) devices that connect to the /// Google Cloud Platform. class CloudIotApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2476,7 +2477,7 @@ class MqttConfig { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart index c68b966b1..ff0691d1f 100644 --- a/generated/googleapis/lib/cloudkms/v1.dart +++ b/generated/googleapis/lib/cloudkms/v1.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages keys and performs cryptographic operations in a central cloud /// service, for direct use by other cloud resources and applications. class CloudKMSApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -80,6 +81,50 @@ class ProjectsLocationsResource { ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + /// Generate random bytes using the Cloud KMS randomness source in the + /// provided location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [location] - The project-specific location in which to generate random + /// bytes. For example, "projects/my-project/locations/us-central1". + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GenerateRandomBytesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future generateRandomBytes( + GenerateRandomBytesRequest request, + core.String location, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$location') + ':generateRandomBytes'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GenerateRandomBytesResponse.fromJson( + _response as core.Map); + } + /// Gets information about a location. /// /// Request parameters: @@ -1125,10 +1170,11 @@ class ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResource { /// Schedule a CryptoKeyVersion for destruction. /// /// Upon calling this method, CryptoKeyVersion.state will be set to - /// DESTROY_SCHEDULED and destroy_time will be set to a time 24 hours in the - /// future, at which point the state will be changed to DESTROYED, and the key - /// material will be irrevocably destroyed. Before the destroy_time is - /// reached, RestoreCryptoKeyVersion may be called to reverse the process. + /// DESTROY_SCHEDULED, and destroy_time will be set to the time + /// destroy_scheduled_duration in the future. At that time, the state will + /// automatically change to DESTROYED, and the key material will be + /// irrevocably destroyed. Before the destroy_time is reached, + /// RestoreCryptoKeyVersion may be called to reverse the process. /// /// [request] - The metadata request object. /// @@ -1245,17 +1291,20 @@ class ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResource { return PublicKey.fromJson(_response as core.Map); } - /// Imports a new CryptoKeyVersion into an existing CryptoKey using the - /// wrapped key material provided in the request. + /// Import wrapped key material into a CryptoKeyVersion. /// - /// The version ID will be assigned the next sequential id within the - /// CryptoKey. + /// All requests must specify a CryptoKey. If a CryptoKeyVersion is + /// additionally specified in the request, key material will be reimported + /// into that version. Otherwise, a new version will be created, and will be + /// assigned the next sequential id within the CryptoKey. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The name of the CryptoKey to be imported into. + /// [parent] - Required. The name of the CryptoKey to be imported into. The + /// create permission is only required on this key when creating a new + /// CryptoKeyVersion. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/keyRings/\[^/\]+/cryptoKeys/\[^/\]+$`. /// @@ -1365,6 +1414,95 @@ class ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResource { _response as core.Map); } + /// Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing + /// a tag that can be verified by another source with the same key. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the CryptoKeyVersion to use for + /// signing. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/keyRings/\[^/\]+/cryptoKeys/\[^/\]+/cryptoKeyVersions/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [MacSignResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future macSign( + MacSignRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':macSign'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return MacSignResponse.fromJson( + _response as core.Map); + } + + /// Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and + /// returns a response that indicates whether or not the verification was + /// successful. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the CryptoKeyVersion to use for + /// verification. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/keyRings/\[^/\]+/cryptoKeys/\[^/\]+/cryptoKeyVersions/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [MacVerifyResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future macVerify( + MacVerifyRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':macVerify'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return MacVerifyResponse.fromJson( + _response as core.Map); + } + /// Update a CryptoKeyVersion's metadata. /// /// state may be changed between ENABLED and DISABLED using this method. See @@ -2261,6 +2399,19 @@ class CryptoKey { /// Output only. core.String? createTime; + /// The period of time that versions of this key spend in the + /// DESTROY_SCHEDULED state before transitioning to DESTROYED. + /// + /// If not specified at creation time, the default duration is 24 hours. + /// + /// Immutable. + core.String? destroyScheduledDuration; + + /// Whether this key may contain imported versions only. + /// + /// Immutable. + core.bool? importOnly; + /// Labels with user-defined metadata. /// /// For more information, see @@ -2303,6 +2454,7 @@ class CryptoKey { /// AsymmetricSign and GetPublicKey. /// - "ASYMMETRIC_DECRYPT" : CryptoKeys with this purpose may be used with /// AsymmetricDecrypt and GetPublicKey. + /// - "MAC" : CryptoKeys with this purpose may be used with MacSign. core.String? purpose; /// next_rotation_time will be advanced by this period when the service @@ -2322,6 +2474,8 @@ class CryptoKey { CryptoKey({ this.createTime, + this.destroyScheduledDuration, + this.importOnly, this.labels, this.name, this.nextRotationTime, @@ -2336,6 +2490,13 @@ class CryptoKey { createTime: _json.containsKey('createTime') ? _json['createTime'] as core.String : null, + destroyScheduledDuration: + _json.containsKey('destroyScheduledDuration') + ? _json['destroyScheduledDuration'] as core.String + : null, + importOnly: _json.containsKey('importOnly') + ? _json['importOnly'] as core.bool + : null, labels: _json.containsKey('labels') ? (_json['labels'] as core.Map).map( (key, item) => core.MapEntry( @@ -2366,6 +2527,9 @@ class CryptoKey { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, + if (destroyScheduledDuration != null) + 'destroyScheduledDuration': destroyScheduledDuration!, + if (importOnly != null) 'importOnly': importOnly!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, if (nextRotationTime != null) 'nextRotationTime': nextRotationTime!, @@ -2422,6 +2586,7 @@ class CryptoKeyVersion { /// digest. /// - "EC_SIGN_SECP256K1_SHA256" : ECDSA on the non-NIST secp256k1 curve. This /// curve is only supported for HSM protection level. + /// - "HMAC_SHA256" : HMAC-SHA256 signing with a 256 bit key. /// - "EXTERNAL_SYMMETRIC_ENCRYPTION" : Algorithm representing symmetric /// encryption by an external key manager. core.String? algorithm; @@ -2465,21 +2630,23 @@ class CryptoKeyVersion { /// Output only. core.String? generateTime; - /// The root cause of an import failure. + /// The root cause of the most recent import failure. /// /// Only present if state is IMPORT_FAILED. /// /// Output only. core.String? importFailureReason; - /// The name of the ImportJob used to import this CryptoKeyVersion. + /// The name of the ImportJob used in the most recent import of this + /// CryptoKeyVersion. /// /// Only present if the underlying key material was imported. /// /// Output only. core.String? importJob; - /// The time at which this CryptoKeyVersion's key material was imported. + /// The time at which this CryptoKeyVersion's key material was most recently + /// imported. /// /// Output only. core.String? importTime; @@ -2501,6 +2668,12 @@ class CryptoKeyVersion { /// - "EXTERNAL" : Crypto operations are performed by an external key manager. core.String? protectionLevel; + /// Whether or not this key version is eligible for reimport, by being + /// specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version. + /// + /// Output only. + core.bool? reimportEligible; + /// The current state of the CryptoKeyVersion. /// Possible string values are: /// - "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED" : Not specified. @@ -2511,7 +2684,9 @@ class CryptoKeyVersion { /// - "DISABLED" : This version may not be used, but the key material is still /// available, and the version can be placed back into the ENABLED state. /// - "DESTROYED" : This version is destroyed, and the key material is no - /// longer stored. + /// longer stored. This version may only become ENABLED again if this version + /// is reimport_eligible and the original key material is reimported with a + /// call to KeyManagementService.ImportCryptoKeyVersion. /// - "DESTROY_SCHEDULED" : This version is scheduled for destruction, and /// will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into /// the DISABLED state. @@ -2537,6 +2712,7 @@ class CryptoKeyVersion { this.importTime, this.name, this.protectionLevel, + this.reimportEligible, this.state, }); @@ -2580,6 +2756,9 @@ class CryptoKeyVersion { protectionLevel: _json.containsKey('protectionLevel') ? _json['protectionLevel'] as core.String : null, + reimportEligible: _json.containsKey('reimportEligible') + ? _json['reimportEligible'] as core.bool + : null, state: _json.containsKey('state') ? _json['state'] as core.String : null, ); @@ -2600,6 +2779,7 @@ class CryptoKeyVersion { if (importTime != null) 'importTime': importTime!, if (name != null) 'name': name!, if (protectionLevel != null) 'protectionLevel': protectionLevel!, + if (reimportEligible != null) 'reimportEligible': reimportEligible!, if (state != null) 'state': state!, }; } @@ -2647,6 +2827,7 @@ class CryptoKeyVersionTemplate { /// digest. /// - "EC_SIGN_SECP256K1_SHA256" : ECDSA on the non-NIST secp256k1 curve. This /// curve is only supported for HSM protection level. + /// - "HMAC_SHA256" : HMAC-SHA256 signing with a 256 bit key. /// - "EXTERNAL_SYMMETRIC_ENCRYPTION" : Algorithm representing symmetric /// encryption by an external key manager. core.String? algorithm; @@ -3225,6 +3406,88 @@ class ExternalProtectionLevelOptions { }; } +/// Request message for KeyManagementService.GenerateRandomBytes. +class GenerateRandomBytesRequest { + /// The length in bytes of the amount of randomness to retrieve. + /// + /// Minimum 8 bytes, maximum 1024 bytes. + core.int? lengthBytes; + + /// The ProtectionLevel to use when generating the random data. + /// + /// Defaults to SOFTWARE. + /// Possible string values are: + /// - "PROTECTION_LEVEL_UNSPECIFIED" : Not specified. + /// - "SOFTWARE" : Crypto operations are performed in software. + /// - "HSM" : Crypto operations are performed in a Hardware Security Module. + /// - "EXTERNAL" : Crypto operations are performed by an external key manager. + core.String? protectionLevel; + + GenerateRandomBytesRequest({ + this.lengthBytes, + this.protectionLevel, + }); + + GenerateRandomBytesRequest.fromJson(core.Map _json) + : this( + lengthBytes: _json.containsKey('lengthBytes') + ? _json['lengthBytes'] as core.int + : null, + protectionLevel: _json.containsKey('protectionLevel') + ? _json['protectionLevel'] as core.String + : null, + ); + + core.Map toJson() => { + if (lengthBytes != null) 'lengthBytes': lengthBytes!, + if (protectionLevel != null) 'protectionLevel': protectionLevel!, + }; +} + +/// Response message for KeyManagementService.GenerateRandomBytes. +class GenerateRandomBytesResponse { + /// The generated data. + core.String? data; + core.List get dataAsBytes => convert.base64.decode(data!); + + set dataAsBytes(core.List _bytes) { + data = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// Integrity verification field. + /// + /// A CRC32C checksum of the returned GenerateRandomBytesResponse.data. An + /// integrity check of GenerateRandomBytesResponse.data can be performed by + /// computing the CRC32C checksum of GenerateRandomBytesResponse.data and + /// comparing your results to this field. Discard the response in case of + /// non-matching checksum values, and perform a limited number of retries. A + /// persistent mismatch may indicate an issue in your computation of the + /// CRC32C checksum. Note: This field is defined as int64 for reasons of + /// compatibility across different languages. However, it is a non-negative + /// integer, which will never exceed 2^32-1, and can be safely downconverted + /// to uint32 in languages that support this type. + core.String? dataCrc32c; + + GenerateRandomBytesResponse({ + this.data, + this.dataCrc32c, + }); + + GenerateRandomBytesResponse.fromJson(core.Map _json) + : this( + data: _json.containsKey('data') ? _json['data'] as core.String : null, + dataCrc32c: _json.containsKey('dataCrc32c') + ? _json['dataCrc32c'] as core.String + : null, + ); + + core.Map toJson() => { + if (data != null) 'data': data!, + if (dataCrc32c != null) 'dataCrc32c': dataCrc32c!, + }; +} + /// Request message for KeyManagementService.ImportCryptoKeyVersion. class ImportCryptoKeyVersionRequest { /// The algorithm of the key being imported. @@ -3266,10 +3529,26 @@ class ImportCryptoKeyVersionRequest { /// digest. /// - "EC_SIGN_SECP256K1_SHA256" : ECDSA on the non-NIST secp256k1 curve. This /// curve is only supported for HSM protection level. + /// - "HMAC_SHA256" : HMAC-SHA256 signing with a 256 bit key. /// - "EXTERNAL_SYMMETRIC_ENCRYPTION" : Algorithm representing symmetric /// encryption by an external key manager. core.String? algorithm; + /// The optional name of an existing CryptoKeyVersion to target for an import + /// operation. + /// + /// If this field is not present, a new CryptoKeyVersion containing the + /// supplied key material is created. If this field is present, the supplied + /// key material is imported into the existing CryptoKeyVersion. To import + /// into an existing CryptoKeyVersion, the CryptoKeyVersion must be a child of + /// ImportCryptoKeyVersionRequest.parent, have been previously created via + /// ImportCryptoKeyVersion, and be in DESTROYED or IMPORT_FAILED state. The + /// key material and algorithm must match the previous CryptoKeyVersion + /// exactly if the CryptoKeyVersion has ever contained key material. + /// + /// Optional. + core.String? cryptoKeyVersion; + /// The name of the ImportJob that was used to wrap this key material. /// /// Required. @@ -3298,6 +3577,7 @@ class ImportCryptoKeyVersionRequest { ImportCryptoKeyVersionRequest({ this.algorithm, + this.cryptoKeyVersion, this.importJob, this.rsaAesWrappedKey, }); @@ -3307,6 +3587,9 @@ class ImportCryptoKeyVersionRequest { algorithm: _json.containsKey('algorithm') ? _json['algorithm'] as core.String : null, + cryptoKeyVersion: _json.containsKey('cryptoKeyVersion') + ? _json['cryptoKeyVersion'] as core.String + : null, importJob: _json.containsKey('importJob') ? _json['importJob'] as core.String : null, @@ -3317,6 +3600,7 @@ class ImportCryptoKeyVersionRequest { core.Map toJson() => { if (algorithm != null) 'algorithm': algorithm!, + if (cryptoKeyVersion != null) 'cryptoKeyVersion': cryptoKeyVersion!, if (importJob != null) 'importJob': importJob!, if (rsaAesWrappedKey != null) 'rsaAesWrappedKey': rsaAesWrappedKey!, }; @@ -3902,6 +4186,316 @@ class LocationMetadata { }; } +/// Request message for KeyManagementService.MacSign. +class MacSignRequest { + /// The data to sign. + /// + /// The MAC tag is computed over this data field based on the specific + /// algorithm. + /// + /// Required. + core.String? data; + core.List get dataAsBytes => convert.base64.decode(data!); + + set dataAsBytes(core.List _bytes) { + data = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// An optional CRC32C checksum of the MacSignRequest.data. + /// + /// If specified, KeyManagementService will verify the integrity of the + /// received MacSignRequest.data using this checksum. KeyManagementService + /// will report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that CRC32C(MacSignRequest.data) + /// is equal to MacSignRequest.data_crc32c, and if so, perform a limited + /// number of retries. A persistent mismatch may indicate an issue in your + /// computation of the CRC32C checksum. Note: This field is defined as int64 + /// for reasons of compatibility across different languages. However, it is a + /// non-negative integer, which will never exceed 2^32-1, and can be safely + /// downconverted to uint32 in languages that support this type. + /// + /// Optional. + core.String? dataCrc32c; + + MacSignRequest({ + this.data, + this.dataCrc32c, + }); + + MacSignRequest.fromJson(core.Map _json) + : this( + data: _json.containsKey('data') ? _json['data'] as core.String : null, + dataCrc32c: _json.containsKey('dataCrc32c') + ? _json['dataCrc32c'] as core.String + : null, + ); + + core.Map toJson() => { + if (data != null) 'data': data!, + if (dataCrc32c != null) 'dataCrc32c': dataCrc32c!, + }; +} + +/// Response message for KeyManagementService.MacSign. +class MacSignResponse { + /// The created signature. + core.String? mac; + core.List get macAsBytes => convert.base64.decode(mac!); + + set macAsBytes(core.List _bytes) { + mac = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// Integrity verification field. + /// + /// A CRC32C checksum of the returned MacSignResponse.mac. An integrity check + /// of MacSignResponse.mac can be performed by computing the CRC32C checksum + /// of MacSignResponse.mac and comparing your results to this field. Discard + /// the response in case of non-matching checksum values, and perform a + /// limited number of retries. A persistent mismatch may indicate an issue in + /// your computation of the CRC32C checksum. Note: This field is defined as + /// int64 for reasons of compatibility across different languages. However, it + /// is a non-negative integer, which will never exceed 2^32-1, and can be + /// safely downconverted to uint32 in languages that support this type. + core.String? macCrc32c; + + /// The resource name of the CryptoKeyVersion used for signing. + /// + /// Check this field to verify that the intended resource was used for + /// signing. + core.String? name; + + /// The ProtectionLevel of the CryptoKeyVersion used for signing. + /// Possible string values are: + /// - "PROTECTION_LEVEL_UNSPECIFIED" : Not specified. + /// - "SOFTWARE" : Crypto operations are performed in software. + /// - "HSM" : Crypto operations are performed in a Hardware Security Module. + /// - "EXTERNAL" : Crypto operations are performed by an external key manager. + core.String? protectionLevel; + + /// Integrity verification field. + /// + /// A flag indicating whether MacSignRequest.data_crc32c was received by + /// KeyManagementService and used for the integrity verification of the data. + /// A false value of this field indicates either that + /// MacSignRequest.data_crc32c was left unset or that it was not delivered to + /// KeyManagementService. If you've set MacSignRequest.data_crc32c but this + /// field is still false, discard the response and perform a limited number of + /// retries. + core.bool? verifiedDataCrc32c; + + MacSignResponse({ + this.mac, + this.macCrc32c, + this.name, + this.protectionLevel, + this.verifiedDataCrc32c, + }); + + MacSignResponse.fromJson(core.Map _json) + : this( + mac: _json.containsKey('mac') ? _json['mac'] as core.String : null, + macCrc32c: _json.containsKey('macCrc32c') + ? _json['macCrc32c'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + protectionLevel: _json.containsKey('protectionLevel') + ? _json['protectionLevel'] as core.String + : null, + verifiedDataCrc32c: _json.containsKey('verifiedDataCrc32c') + ? _json['verifiedDataCrc32c'] as core.bool + : null, + ); + + core.Map toJson() => { + if (mac != null) 'mac': mac!, + if (macCrc32c != null) 'macCrc32c': macCrc32c!, + if (name != null) 'name': name!, + if (protectionLevel != null) 'protectionLevel': protectionLevel!, + if (verifiedDataCrc32c != null) + 'verifiedDataCrc32c': verifiedDataCrc32c!, + }; +} + +/// Request message for KeyManagementService.MacVerify. +class MacVerifyRequest { + /// The data used previously as a MacSignRequest.data to generate the MAC tag. + /// + /// Required. + core.String? data; + core.List get dataAsBytes => convert.base64.decode(data!); + + set dataAsBytes(core.List _bytes) { + data = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// An optional CRC32C checksum of the MacVerifyRequest.data. + /// + /// If specified, KeyManagementService will verify the integrity of the + /// received MacVerifyRequest.data using this checksum. KeyManagementService + /// will report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C(MacVerifyRequest.data) is equal to MacVerifyRequest.data_crc32c, + /// and if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that + /// support this type. + /// + /// Optional. + core.String? dataCrc32c; + + /// The signature to verify. + /// + /// Required. + core.String? mac; + core.List get macAsBytes => convert.base64.decode(mac!); + + set macAsBytes(core.List _bytes) { + mac = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// An optional CRC32C checksum of the MacVerifyRequest.mac. + /// + /// If specified, KeyManagementService will verify the integrity of the + /// received MacVerifyRequest.mac using this checksum. KeyManagementService + /// will report an error if the checksum verification fails. If you receive a + /// checksum error, your client should verify that + /// CRC32C(MacVerifyRequest.tag) is equal to MacVerifyRequest.mac_crc32c, and + /// if so, perform a limited number of retries. A persistent mismatch may + /// indicate an issue in your computation of the CRC32C checksum. Note: This + /// field is defined as int64 for reasons of compatibility across different + /// languages. However, it is a non-negative integer, which will never exceed + /// 2^32-1, and can be safely downconverted to uint32 in languages that + /// support this type. + /// + /// Optional. + core.String? macCrc32c; + + MacVerifyRequest({ + this.data, + this.dataCrc32c, + this.mac, + this.macCrc32c, + }); + + MacVerifyRequest.fromJson(core.Map _json) + : this( + data: _json.containsKey('data') ? _json['data'] as core.String : null, + dataCrc32c: _json.containsKey('dataCrc32c') + ? _json['dataCrc32c'] as core.String + : null, + mac: _json.containsKey('mac') ? _json['mac'] as core.String : null, + macCrc32c: _json.containsKey('macCrc32c') + ? _json['macCrc32c'] as core.String + : null, + ); + + core.Map toJson() => { + if (data != null) 'data': data!, + if (dataCrc32c != null) 'dataCrc32c': dataCrc32c!, + if (mac != null) 'mac': mac!, + if (macCrc32c != null) 'macCrc32c': macCrc32c!, + }; +} + +/// Response message for KeyManagementService.MacVerify. +class MacVerifyResponse { + /// The resource name of the CryptoKeyVersion used for verification. + /// + /// Check this field to verify that the intended resource was used for + /// verification. + core.String? name; + + /// The ProtectionLevel of the CryptoKeyVersion used for verification. + /// Possible string values are: + /// - "PROTECTION_LEVEL_UNSPECIFIED" : Not specified. + /// - "SOFTWARE" : Crypto operations are performed in software. + /// - "HSM" : Crypto operations are performed in a Hardware Security Module. + /// - "EXTERNAL" : Crypto operations are performed by an external key manager. + core.String? protectionLevel; + + /// This field indicates whether or not the verification operation for + /// MacVerifyRequest.mac over MacVerifyRequest.data was successful. + core.bool? success; + + /// Integrity verification field. + /// + /// A flag indicating whether MacVerifyRequest.data_crc32c was received by + /// KeyManagementService and used for the integrity verification of the data. + /// A false value of this field indicates either that + /// MacVerifyRequest.data_crc32c was left unset or that it was not delivered + /// to KeyManagementService. If you've set MacVerifyRequest.data_crc32c but + /// this field is still false, discard the response and perform a limited + /// number of retries. + core.bool? verifiedDataCrc32c; + + /// Integrity verification field. + /// + /// A flag indicating whether MacVerifyRequest.mac_crc32c was received by + /// KeyManagementService and used for the integrity verification of the data. + /// A false value of this field indicates either that + /// MacVerifyRequest.mac_crc32c was left unset or that it was not delivered to + /// KeyManagementService. If you've set MacVerifyRequest.mac_crc32c but this + /// field is still false, discard the response and perform a limited number of + /// retries. + core.bool? verifiedMacCrc32c; + + /// Integrity verification field. + /// + /// This value is used for the integrity verification of + /// \[MacVerifyResponse.success\]. If the value of this field contradicts the + /// value of \[MacVerifyResponse.success\], discard the response and perform a + /// limited number of retries. + core.bool? verifiedSuccessIntegrity; + + MacVerifyResponse({ + this.name, + this.protectionLevel, + this.success, + this.verifiedDataCrc32c, + this.verifiedMacCrc32c, + this.verifiedSuccessIntegrity, + }); + + MacVerifyResponse.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + protectionLevel: _json.containsKey('protectionLevel') + ? _json['protectionLevel'] as core.String + : null, + success: _json.containsKey('success') + ? _json['success'] as core.bool + : null, + verifiedDataCrc32c: _json.containsKey('verifiedDataCrc32c') + ? _json['verifiedDataCrc32c'] as core.bool + : null, + verifiedMacCrc32c: _json.containsKey('verifiedMacCrc32c') + ? _json['verifiedMacCrc32c'] as core.bool + : null, + verifiedSuccessIntegrity: + _json.containsKey('verifiedSuccessIntegrity') + ? _json['verifiedSuccessIntegrity'] as core.bool + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (protectionLevel != null) 'protectionLevel': protectionLevel!, + if (success != null) 'success': success!, + if (verifiedDataCrc32c != null) + 'verifiedDataCrc32c': verifiedDataCrc32c!, + if (verifiedMacCrc32c != null) 'verifiedMacCrc32c': verifiedMacCrc32c!, + if (verifiedSuccessIntegrity != null) + 'verifiedSuccessIntegrity': verifiedSuccessIntegrity!, + }; +} + /// An Identity and Access Management (IAM) policy, which specifies access /// controls for Google Cloud resources. /// @@ -3930,7 +4524,7 @@ class LocationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -4058,6 +4652,7 @@ class PublicKey { /// digest. /// - "EC_SIGN_SECP256K1_SHA256" : ECDSA on the non-NIST secp256k1 curve. This /// curve is only supported for HSM protection level. + /// - "HMAC_SHA256" : HMAC-SHA256 signing with a 256 bit key. /// - "EXTERNAL_SYMMETRIC_ENCRYPTION" : Algorithm representing symmetric /// encryption by an external key manager. core.String? algorithm; diff --git a/generated/googleapis/lib/cloudprofiler/v2.dart b/generated/googleapis/lib/cloudprofiler/v2.dart index bc495e2dc..dcd789ab9 100644 --- a/generated/googleapis/lib/cloudprofiler/v2.dart +++ b/generated/googleapis/lib/cloudprofiler/v2.dart @@ -38,7 +38,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages continuous profiling information. class CloudProfilerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart index 6b59b92b4..1dc29023c 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v1.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart @@ -43,11 +43,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates, reads, and updates metadata for Google Cloud Platform resource /// containers. class CloudResourceManagerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -466,7 +468,8 @@ class LiensResource { /// Request parameters: /// /// [pageSize] - The maximum number of items to return. This is a suggestion - /// for the server. + /// for the server. The server can return fewer liens than requested. If + /// unspecified, server picks an appropriate default. /// /// [pageToken] - The `next_page_token` value returned from a previous List /// request, if any. @@ -3682,7 +3685,7 @@ class OrganizationOwner { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -3999,7 +4002,8 @@ class SearchOrganizationsRequest { /// The maximum number of Organizations to return in the response. /// - /// This field is optional. + /// The server can return fewer organizations than requested. If unspecified, + /// server picks an appropriate default. core.int? pageSize; /// A pagination token returned from a previous call to `SearchOrganizations` diff --git a/generated/googleapis/lib/cloudresourcemanager/v2.dart b/generated/googleapis/lib/cloudresourcemanager/v2.dart index 6925078d7..2d620232e 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v2.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v2.dart @@ -40,11 +40,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates, reads, and updates metadata for Google Cloud Platform resource /// containers. class CloudResourceManagerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -264,7 +266,8 @@ class FoldersResource { /// Request parameters: /// /// [pageSize] - Optional. The maximum number of Folders to return in the - /// response. + /// response. The server can return fewer folders than requested. If + /// unspecified, server picks an appropriate default. /// /// [pageToken] - Optional. A pagination token returned from a previous call /// to `ListFolders` that indicates where this listing should continue from. @@ -1636,7 +1639,7 @@ class Operation { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -1773,6 +1776,9 @@ class ProjectCreationStatus { class SearchFoldersRequest { /// The maximum number of folders to return in the response. /// + /// The server can return fewer folders than requested. If unspecified, server + /// picks an appropriate default. + /// /// Optional. core.int? pageSize; diff --git a/generated/googleapis/lib/cloudresourcemanager/v3.dart b/generated/googleapis/lib/cloudresourcemanager/v3.dart index 230013e78..d9c638878 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v3.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v3.dart @@ -46,11 +46,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates, reads, and updates metadata for Google Cloud Platform resource /// containers. class CloudResourceManagerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -272,7 +274,8 @@ class FoldersResource { /// Request parameters: /// /// [pageSize] - Optional. The maximum number of folders to return in the - /// response. If unspecified, server picks an appropriate default. + /// response. The server can return fewer folders than requested. If + /// unspecified, server picks an appropriate default. /// /// [pageToken] - Optional. A pagination token returned from a previous call /// to `ListFolders` that indicates where this listing should continue from. @@ -444,7 +447,8 @@ class FoldersResource { /// Request parameters: /// /// [pageSize] - Optional. The maximum number of folders to return in the - /// response. If unspecified, server picks an appropriate default. + /// response. The server can return fewer folders than requested. If + /// unspecified, server picks an appropriate default. /// /// [pageToken] - Optional. A pagination token returned from a previous call /// to `SearchFolders` that indicates from where search should continue. @@ -781,7 +785,8 @@ class LiensResource { /// Request parameters: /// /// [pageSize] - The maximum number of items to return. This is a suggestion - /// for the server. + /// for the server. The server can return fewer liens than requested. If + /// unspecified, server picks an appropriate default. /// /// [pageToken] - The `next_page_token` value returned from a previous List /// request, if any. @@ -975,7 +980,8 @@ class OrganizationsResource { /// Request parameters: /// /// [pageSize] - Optional. The maximum number of organizations to return in - /// the response. If unspecified, server picks an appropriate default. + /// the response. The server can return fewer organizations than requested. If + /// unspecified, server picks an appropriate default. /// /// [pageToken] - Optional. A pagination token returned from a previous call /// to `SearchOrganizations` that indicates from where listing should @@ -1260,7 +1266,8 @@ class ProjectsResource { return Project.fromJson(_response as core.Map); } - /// Returns the IAM access control policy for the specified project. + /// Returns the IAM access control policy for the specified project, in the + /// format `projects/{ProjectIdOrNumber}` e.g. projects/123. /// /// Permission is denied if the policy or the resource do not exist. /// @@ -1542,7 +1549,8 @@ class ProjectsResource { _response as core.Map); } - /// Sets the IAM access control policy for the specified project. + /// Sets the IAM access control policy for the specified project, in the + /// format `projects/{ProjectIdOrNumber}` e.g. projects/123. /// /// CAUTION: This method will replace the existing policy, and cannot be used /// to append additional IAM settings. Note: Removing service accounts from @@ -1613,7 +1621,8 @@ class ProjectsResource { return Policy.fromJson(_response as core.Map); } - /// Returns permissions that a caller has on the specified project. + /// Returns permissions that a caller has on the specified project, in the + /// format `projects/{ProjectIdOrNumber}` e.g. projects/123.. /// /// [request] - The metadata request object. /// @@ -4036,7 +4045,7 @@ class Organization { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/cloudscheduler/v1.dart b/generated/googleapis/lib/cloudscheduler/v1.dart index 59e7bf72b..aedc52e28 100644 --- a/generated/googleapis/lib/cloudscheduler/v1.dart +++ b/generated/googleapis/lib/cloudscheduler/v1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates and manages jobs run on a regular recurring schedule. class CloudSchedulerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/cloudshell/v1.dart b/generated/googleapis/lib/cloudshell/v1.dart index 6f0149f79..070153bbe 100644 --- a/generated/googleapis/lib/cloudshell/v1.dart +++ b/generated/googleapis/lib/cloudshell/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Allows users to start, configure, and connect to interactive shell sessions /// running in the cloud. class CloudShellApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/cloudtrace/v2.dart b/generated/googleapis/lib/cloudtrace/v2.dart index 3db16e200..e65a6f9a3 100644 --- a/generated/googleapis/lib/cloudtrace/v2.dart +++ b/generated/googleapis/lib/cloudtrace/v2.dart @@ -48,7 +48,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// used to interact with the Cloud Trace API directly. If you are looking to /// instrument your application for Cloud Trace, we recommend using OpenCensus. class CloudTraceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/composer/v1.dart b/generated/googleapis/lib/composer/v1.dart index 7bb8f7334..89e8ee9f7 100644 --- a/generated/googleapis/lib/composer/v1.dart +++ b/generated/googleapis/lib/composer/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages Apache Airflow environments on Google Cloud Platform. class CloudComposerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1049,7 +1050,7 @@ class IPAllocationPolicy { /// This field is applicable only when `use_ip_aliases` is true. Set to blank /// to have GKE choose a range with the default size. Set to /netmask (e.g. /// `/14`) to have GKE choose a range with a specific netmask. Set to a - /// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + /// [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) /// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. /// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range /// to use. @@ -1070,7 +1071,7 @@ class IPAllocationPolicy { /// This field is applicable only when `use_ip_aliases` is true. Set to blank /// to have GKE choose a range with the default size. Set to /netmask (e.g. /// `/14`) to have GKE choose a range with a specific netmask. Set to a - /// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + /// [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) /// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. /// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range /// to use. diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart index ad3ca0629..0f234dd86 100644 --- a/generated/googleapis/lib/compute/v1.dart +++ b/generated/googleapis/lib/compute/v1.dart @@ -40,6 +40,7 @@ /// - [HealthChecksResource] /// - [HttpHealthChecksResource] /// - [HttpsHealthChecksResource] +/// - [ImageFamilyViewsResource] /// - [ImagesResource] /// - [InstanceGroupManagersResource] /// - [InstanceGroupsResource] @@ -117,7 +118,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates and runs virtual machines on Google Cloud Platform. class ComputeApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -128,7 +130,8 @@ class ComputeApi { static const computeReadonlyScope = 'https://www.googleapis.com/auth/compute.readonly'; - /// Manage your data and permissions in Google Cloud Storage + /// Manage your data and permissions in Cloud Storage and see the email + /// address for your Google Account static const devstorageFullControlScope = 'https://www.googleapis.com/auth/devstorage.full_control'; @@ -136,7 +139,8 @@ class ComputeApi { static const devstorageReadOnlyScope = 'https://www.googleapis.com/auth/devstorage.read_only'; - /// Manage your data in Google Cloud Storage + /// Manage your data in Cloud Storage and see the email address of your Google + /// Account static const devstorageReadWriteScope = 'https://www.googleapis.com/auth/devstorage.read_write'; @@ -176,6 +180,8 @@ class ComputeApi { HttpHealthChecksResource(_requester); HttpsHealthChecksResource get httpsHealthChecks => HttpsHealthChecksResource(_requester); + ImageFamilyViewsResource get imageFamilyViews => + ImageFamilyViewsResource(_requester); ImagesResource get images => ImagesResource(_requester); InstanceGroupManagersResource get instanceGroupManagers => InstanceGroupManagersResource(_requester); @@ -9421,6 +9427,64 @@ class HttpsHealthChecksResource { } } +class ImageFamilyViewsResource { + final commons.ApiRequester _requester; + + ImageFamilyViewsResource(commons.ApiRequester client) : _requester = client; + + /// Returns the latest image that is part of an image family, is not + /// deprecated and is rolled out in the specified zone. + /// + /// Request parameters: + /// + /// [project] - Project ID for this request. + /// Value must have pattern + /// `(?:(?:\[-a-z0-9\]{1,63}\.)*(?:\[a-z\](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?):)?(?:\[0-9\]{1,19}|(?:\[a-z0-9\](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?))`. + /// + /// [zone] - The name of the zone for this request. + /// Value must have pattern `\[a-z\](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?`. + /// + /// [family] - Name of the image family to search for. + /// Value must have pattern + /// `\[a-z\](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?|\[1-9\]\[0-9\]{0,19}`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ImageFamilyView]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String project, + core.String zone, + core.String family, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'projects/' + + commons.escapeVariable('$project') + + '/zones/' + + commons.escapeVariable('$zone') + + '/imageFamilyViews/' + + commons.escapeVariable('$family'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ImageFamilyView.fromJson( + _response as core.Map); + } +} + class ImagesResource { final commons.ApiRequester _requester; @@ -18894,9 +18958,10 @@ class NetworksResource { } /// Updates the specified network peering with the data included in the - /// request Only the following fields can be modified: - /// NetworkPeering.export_custom_routes, and - /// NetworkPeering.import_custom_routes + /// request. + /// + /// You can only modify the NetworkPeering.export_custom_routes field and the + /// NetworkPeering.import_custom_routes field. /// /// [request] - The metadata request object. /// @@ -42315,20 +42380,13 @@ class AccessConfig { }; } -/// Use global external addresses for GFE-based external HTTP(S) load balancers -/// in Premium Tier. +/// Represents an IP Address resource. /// -/// Use global internal addresses for reserved peering network range. Use -/// regional external addresses for the following resources: - External IP -/// addresses for VM instances - Regional external forwarding rules - Cloud NAT -/// external IP addresses - GFE based LBs in Standard Tier - Network LBs in -/// Premium or Standard Tier - Cloud VPN gateways (both Classic and HA) Use -/// regional internal IP addresses for subnet IP ranges (primary and secondary). -/// This includes: - Internal IP addresses for VM instances - Alias IP ranges of -/// VM instances (/32 only) - Regional internal forwarding rules - Internal -/// TCP/UDP load balancer addresses - Internal HTTP(S) load balancer addresses - -/// Cloud DNS inbound forwarding IP addresses For more information, see -/// Reserving a static external IP address. +/// Google Compute Engine has two IP Address resources: * \[Global (external and +/// internal)\](https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses) +/// * \[Regional (external and +/// internal)\](https://cloud.google.com/compute/docs/reference/rest/v1/addresses) +/// For more information, see Reserving a static external IP address. class Address { /// The static IP address represented by this resource. core.String? address; @@ -42397,12 +42455,10 @@ class Address { /// This signifies the networking tier used for configuring this address and /// can only take the following values: PREMIUM or STANDARD. /// - /// Global forwarding rules can only be Premium Tier. Regional forwarding - /// rules can be either Premium or Standard Tier. Standard Tier addresses - /// applied to regional forwarding rules can be used with any external load - /// balancer. Regional forwarding rules in Premium Tier can only be used with - /// a network load balancer. If this field is not specified, it is assumed to - /// be PREMIUM. + /// Internal IP addresses are always Premium Tier; global external IP + /// addresses are always Premium Tier; regional external IP addresses can be + /// either Standard or Premium Tier. If this field is not specified, it is + /// assumed to be PREMIUM. /// Possible string values are: /// - "PREMIUM" : High quality, Google-grade network tier, support for all /// networking products. @@ -42414,20 +42470,22 @@ class Address { core.int? prefixLength; /// The purpose of this resource, which can be one of the following values: - - /// `GCE_ENDPOINT` for addresses that are used by VM instances, alias IP - /// ranges, internal load balancers, and similar resources. - /// - /// - `DNS_RESOLVER` for a DNS resolver address in a subnetwork - - /// `VPC_PEERING` for addresses that are reserved for VPC peer networks. - - /// `NAT_AUTO` for addresses that are external IP addresses automatically - /// reserved for Cloud NAT. - `IPSEC_INTERCONNECT` for addresses created from - /// a private IP range that are reserved for a VLAN attachment in an - /// *IPsec-encrypted Cloud Interconnect* configuration. These addresses are - /// regional resources. Not currently available publicly. - - /// `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to - /// multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a - /// private network address that is used to configure Private Service Connect. - /// Only global internal addresses can use this purpose. + /// GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, + /// load balancers, and similar resources. + /// + /// - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS + /// inbound forwarder IP addresses (regional internal IP address in a subnet + /// of a VPC network) - VPC_PEERING for global internal IP addresses used for + /// private services access allocated ranges. - NAT_AUTO for the regional + /// external IP addresses used by Cloud NAT when allocating addresses using . + /// - IPSEC_INTERCONNECT for addresses created from a private IP range that + /// are reserved for a VLAN attachment in an *IPsec-encrypted Cloud + /// Interconnect* configuration. These addresses are regional resources. Not + /// currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal + /// IP address that is assigned to multiple internal forwarding rules. - + /// `PRIVATE_SERVICE_CONNECT` for a private network address that is used to + /// configure Private Service Connect. Only global internal addresses can use + /// this purpose. /// Possible string values are: /// - "DNS_RESOLVER" : DNS resolver address in the subnetwork. /// - "GCE_ENDPOINT" : VM internal/alias IP, Internal LB service IP, etc. @@ -43394,6 +43452,8 @@ class AllocationSpecificSKUAllocationReservedInstanceProperties { /// This reservation type allows to pre allocate specific instance /// configuration. +/// +/// Next ID: 5 class AllocationSpecificSKUReservation { /// Specifies the number of resources that are allocated. core.String? count; @@ -45382,7 +45442,14 @@ class Backend { /// Specifies how to determine whether the backend of a load balancer can /// handle additional traffic or is fully loaded. /// - /// For usage guidelines, see Connection balancing mode. + /// For usage guidelines, see Connection balancing mode. Backends must use + /// compatible balancing modes. For more information, see Supported balancing + /// modes and target capacity settings and Restrictions and guidance for + /// instance groups. Note: Currently, if you use the API to configure + /// incompatible balancing modes, the configuration might be accepted even + /// though it has no impact and is ignored. Specifically, + /// Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In + /// the future, this incompatible combination will be rejected. /// Possible string values are: /// - "CONNECTION" : Balance based on the number of simultaneous connections. /// - "RATE" : Balance based on requests per second (RPS). @@ -45456,6 +45523,12 @@ class Backend { /// For usage guidelines, see Rate balancing mode and Utilization balancing /// mode. Not available if the backend's balancingMode is CONNECTION. core.double? maxRatePerInstance; + + /// Optional parameter to define a target capacity for the + /// UTILIZATIONbalancing mode. + /// + /// The valid range is \[0.0, 1.0\]. For usage guidelines, see Utilization + /// balancing mode. core.double? maxUtilization; Backend({ @@ -48317,6 +48390,23 @@ class Commitment { /// Output only. core.String? statusMessage; + /// The type of commitment, which affects the discount rate and the eligible + /// resources. + /// + /// Type MEMORY_OPTIMIZED specifies a commitment that will only apply to + /// memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a + /// commitment that will only apply to accelerator optimized machines. + /// Possible string values are: + /// - "ACCELERATOR_OPTIMIZED" + /// - "COMPUTE_OPTIMIZED" + /// - "GENERAL_PURPOSE" + /// - "GENERAL_PURPOSE_E2" + /// - "GENERAL_PURPOSE_N2" + /// - "GENERAL_PURPOSE_N2D" + /// - "MEMORY_OPTIMIZED" + /// - "TYPE_UNSPECIFIED" + core.String? type; + Commitment({ this.category, this.creationTimestamp, @@ -48334,6 +48424,7 @@ class Commitment { this.startTimestamp, this.status, this.statusMessage, + this.type, }); Commitment.fromJson(core.Map _json) @@ -48386,6 +48477,7 @@ class Commitment { statusMessage: _json.containsKey('statusMessage') ? _json['statusMessage'] as core.String : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, ); core.Map toJson() => { @@ -48408,6 +48500,7 @@ class Commitment { if (startTimestamp != null) 'startTimestamp': startTimestamp!, if (status != null) 'status': status!, if (statusMessage != null) 'statusMessage': statusMessage!, + if (type != null) 'type': type!, }; } @@ -49365,6 +49458,18 @@ class CustomerEncryptionKey { /// base64 to either encrypt or decrypt this resource. core.String? rawKey; + /// Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + /// customer-supplied encryption key to either encrypt or decrypt this + /// resource. + /// + /// The key must meet the following requirements before you can provide it to + /// Compute Engine: 1. The key is wrapped using a RSA public key certificate + /// provided by Google. 2. After being wrapped, the key must be encoded in RFC + /// 4648 base64 encoding. Gets the RSA public key certificate provided by + /// Google at: + /// https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + core.String? rsaEncryptedKey; + /// The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied /// encryption key that protects this resource. /// @@ -49375,6 +49480,7 @@ class CustomerEncryptionKey { this.kmsKeyName, this.kmsKeyServiceAccount, this.rawKey, + this.rsaEncryptedKey, this.sha256, }); @@ -49389,6 +49495,9 @@ class CustomerEncryptionKey { rawKey: _json.containsKey('rawKey') ? _json['rawKey'] as core.String : null, + rsaEncryptedKey: _json.containsKey('rsaEncryptedKey') + ? _json['rsaEncryptedKey'] as core.String + : null, sha256: _json.containsKey('sha256') ? _json['sha256'] as core.String : null, @@ -49399,6 +49508,7 @@ class CustomerEncryptionKey { if (kmsKeyServiceAccount != null) 'kmsKeyServiceAccount': kmsKeyServiceAccount!, if (rawKey != null) 'rawKey': rawKey!, + if (rsaEncryptedKey != null) 'rsaEncryptedKey': rsaEncryptedKey!, if (sha256 != null) 'sha256': sha256!, }; } @@ -49538,15 +49648,23 @@ class Disk { /// Provide this property when you create the resource. core.String? description; - /// Encrypts the disk using a customer-supplied encryption key. + /// Encrypts the disk using a customer-supplied encryption key or a + /// customer-managed encryption key. /// - /// After you encrypt a disk with a customer-supplied key, you must provide - /// the same key if you use the disk later (e.g. to create a disk snapshot, to + /// Encryption keys do not protect access to metadata of the disk. After you + /// encrypt a disk with a customer-supplied key, you must provide the same key + /// if you use the disk later. For example, to create a disk snapshot, to /// create a disk image, to create a machine image, or to attach the disk to a - /// virtual machine). Customer-supplied encryption keys do not protect access - /// to metadata of the disk. If you do not provide an encryption key when - /// creating the disk, then the disk will be encrypted using an automatically - /// generated key and you do not need to provide a key to use the disk later. + /// virtual machine. After you encrypt a disk with a customer-managed key, the + /// diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk + /// is created. The disk is encrypted with this version of the key. In the + /// response, diskEncryptionKey.kmsKeyName appears in the following format: + /// "diskEncryptionKey.kmsKeyName": + /// "projects/kms_project_id/locations/region/keyRings/ + /// key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not + /// provide an encryption key when creating the disk, then the disk is + /// encrypted using an automatically generated key and you don't need to + /// provide a key to use the disk later. CustomerEncryptionKey? diskEncryptionKey; /// A list of features to enable on the guest operating system. @@ -52632,7 +52750,8 @@ class Firewall { /// If destination ranges are specified, the firewall rule applies only to /// traffic that has destination IP address in these ranges. /// - /// These ranges must be expressed in CIDR format. Only IPv4 is supported. + /// These ranges must be expressed in CIDR format. Both IPv4 and IPv6 are + /// supported. core.List? destinationRanges; /// Direction of traffic to which this firewall applies, either `INGRESS` or @@ -52716,8 +52835,8 @@ class Firewall { /// and sourceTags may be set. If both fields are set, the rule applies to /// traffic that has a source IP address within sourceRanges OR a source IP /// from a resource with a matching tag listed in the sourceTags field. The - /// connection does not need to match both fields for the rule to apply. Only - /// IPv4 is supported. + /// connection does not need to match both fields for the rule to apply. Both + /// IPv4 and IPv6 are supported. core.List? sourceRanges; /// If source service accounts are specified, the firewall rules apply only to @@ -53770,7 +53889,7 @@ class FirewallPolicyRule { class FirewallPolicyRuleMatcher { /// CIDR IP address range. /// - /// Maximum number of destination CIDR IP ranges allowed is 256. + /// Maximum number of destination CIDR IP ranges allowed is 5000. core.List? destIpRanges; /// Pairs of IP protocols and ports that the rule should match. @@ -53778,7 +53897,7 @@ class FirewallPolicyRuleMatcher { /// CIDR IP address range. /// - /// Maximum number of source CIDR IP ranges allowed is 256. + /// Maximum number of source CIDR IP ranges allowed is 5000. core.List? srcIpRanges; FirewallPolicyRuleMatcher({ @@ -55817,9 +55936,11 @@ class HTTPSHealthCheck { /// either regional or global health checks (`compute.v1.regionHealthChecks` or /// `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load /// balancers as well as managed instance group auto-healing must use global -/// health checks (`compute.v1.HealthChecks`). Network load balancers must use -/// legacy HTTP health checks (httpHealthChecks). For more information, see -/// Health checks overview. +/// health checks (`compute.v1.HealthChecks`). Backend service-based network +/// load balancers must use regional health checks +/// (`compute.v1.regionHealthChecks`). Target pool-based network load balancers +/// must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more +/// information, see Health checks overview. class HealthCheck { /// How often (in seconds) to send a health check. /// @@ -57676,8 +57797,11 @@ class HttpHeaderOption { /// Represents a legacy HTTP Health Check resource. /// -/// Legacy health checks are required by network load balancers. For more -/// information, read Health Check Concepts. +/// Legacy HTTP health checks are now only required by target pool-based network +/// load balancers. For all other load balancers, including backend +/// service-based network load balancers, and for managed instance group +/// auto-healing, you must use modern (non-legacy) health checks. For more +/// information, see Health checks overview . class HttpHealthCheck { /// How often (in seconds) to send a health check. /// @@ -58664,8 +58788,12 @@ class HttpRouteRuleMatch { /// Represents a legacy HTTPS Health Check resource. /// -/// Legacy health checks are required by network load balancers. For more -/// information, read Health Check Concepts. +/// Legacy HTTPS health checks have been deprecated. If you are using a target +/// pool-based network load balancer, you must use a legacy HTTP (not HTTPS) +/// health check. For all other load balancers, including backend service-based +/// network load balancers, and for managed instance group auto-healing, you +/// must use modern (non-legacy) health checks. For more information, see Health +/// checks overview . class HttpsHealthCheck { /// How often (in seconds) to send a health check. /// @@ -59038,8 +59166,12 @@ class ImageRawDisk { /// Deprecated. core.String? sha1Checksum; - /// The full Google Cloud Storage URL where the disk image is stored. + /// The full Google Cloud Storage URL where the raw disk image archive is + /// stored. /// + /// The following are valid formats for the URL: - + /// https://storage.googleapis.com/bucket_name/image_archive_name - + /// https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name /// In order to create an image, you must provide the full or partial URL of /// one of the following: - The rawDisk.source URL - The sourceDisk URL - The /// sourceImage URL - The sourceSnapshot URL @@ -59214,9 +59346,12 @@ class Image { /// URL of the source image used to create this image. /// - /// In order to create an image, you must provide the full or partial URL of - /// one of the following: - The rawDisk.source URL - The sourceDisk URL - The - /// sourceImage URL - The sourceSnapshot URL + /// The following are valid formats for the URL: - + /// https://www.googleapis.com/compute/v1/projects/project_id/global/ + /// images/image_name - projects/project_id/global/images/image_name In order + /// to create an image, you must provide the full or partial URL of one of the + /// following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage + /// URL - The sourceSnapshot URL core.String? sourceImage; /// The customer-supplied encryption key of the source image. @@ -59235,9 +59370,13 @@ class Image { /// URL of the source snapshot used to create this image. /// - /// In order to create an image, you must provide the full or partial URL of - /// one of the following: - The rawDisk.source URL - The sourceDisk URL - The - /// sourceImage URL - The sourceSnapshot URL + /// The following are valid formats for the URL: - + /// https://www.googleapis.com/compute/v1/projects/project_id/global/ + /// snapshots/snapshot_name - + /// projects/project_id/global/snapshots/snapshot_name In order to create an + /// image, you must provide the full or partial URL of one of the following: - + /// The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The + /// sourceSnapshot URL core.String? sourceSnapshot; /// The customer-supplied encryption key of the source snapshot. @@ -59473,6 +59612,28 @@ class Image { }; } +class ImageFamilyView { + /// The latest image that is part of the specified image family in the + /// requested location, and that is not deprecated. + Image? image; + + ImageFamilyView({ + this.image, + }); + + ImageFamilyView.fromJson(core.Map _json) + : this( + image: _json.containsKey('image') + ? Image.fromJson( + _json['image'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (image != null) 'image': image!.toJson(), + }; +} + class ImageListWarningData { /// A key that provides more detail on the warning being returned. /// @@ -61123,8 +61284,6 @@ class InstanceGroupManager { InstanceGroupManagerActionsSummary? currentActions; /// An optional description of this resource. - /// - /// Provide this property when you create the resource. core.String? description; /// Policy specifying the intended distribution of managed instances across @@ -62457,8 +62616,19 @@ class InstanceGroupManagersDeleteInstancesRequest { /// zones/\[ZONE\]/instances/\[INSTANCE_NAME\]. core.List? instances; + /// Specifies whether the request should proceed despite the inclusion of + /// instances that are not members of the group or that are already in the + /// process of being deleted or abandoned. + /// + /// If this field is set to `false` and such an instance is specified in the + /// request, the operation fails. The operation always fails if the request + /// contains a malformed instance URL or a reference to an instance that + /// exists in a zone or region other than the group's zone or region. + core.bool? skipInstancesOnValidationError; + InstanceGroupManagersDeleteInstancesRequest({ this.instances, + this.skipInstancesOnValidationError, }); InstanceGroupManagersDeleteInstancesRequest.fromJson(core.Map _json) @@ -62468,10 +62638,16 @@ class InstanceGroupManagersDeleteInstancesRequest { .map((value) => value as core.String) .toList() : null, + skipInstancesOnValidationError: + _json.containsKey('skipInstancesOnValidationError') + ? _json['skipInstancesOnValidationError'] as core.bool + : null, ); core.Map toJson() => { if (instances != null) 'instances': instances!, + if (skipInstancesOnValidationError != null) + 'skipInstancesOnValidationError': skipInstancesOnValidationError!, }; } @@ -70327,7 +70503,7 @@ class Network { /// Maximum Transmission Unit in bytes. /// /// The minimum value for this field is 1460 and the maximum value is 1500 - /// bytes. + /// bytes. If unspecified, defaults to 1460. core.int? mtu; /// Name of the resource. @@ -72276,9 +72452,9 @@ class NetworkPeering { /// Whether subnet routes with public IP range are exported. /// - /// The default value is true, all subnet routes are exported. The IPv4 - /// special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) - /// are always exported to peers and are not controlled by this field. + /// The default value is true, all subnet routes are exported. IPv4 + /// special-use ranges are always exported to peers and are not controlled by + /// this field. core.bool? exportSubnetRoutesWithPublicIp; /// Whether to import the custom routes from peer network. @@ -72286,8 +72462,7 @@ class NetworkPeering { /// Whether subnet routes with public IP range are imported. /// - /// The default value is false. The IPv4 special-use ranges - /// (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported + /// The default value is false. IPv4 special-use ranges are always imported /// from peers and are not controlled by this field. core.bool? importSubnetRoutesWithPublicIp; @@ -72637,7 +72812,7 @@ class NetworksUpdatePeeringRequest { }; } -/// Represent a sole-tenant Node Group resource. +/// Represents a sole-tenant Node Group resource. /// /// A sole-tenant node is a physical server that is dedicated to hosting VM /// instances only for your specific project. Use sole-tenant nodes to keep your @@ -78544,7 +78719,7 @@ class PerInstanceConfig { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -79615,6 +79790,7 @@ class PublicDelegatedPrefix { /// - "ANNOUNCED" /// - "DELETING" /// - "INITIALIZING" + /// - "READY_TO_ANNOUNCE" core.String? status; PublicDelegatedPrefix({ @@ -80416,10 +80592,12 @@ class Quota { /// - "BACKEND_SERVICES" /// - "C2D_CPUS" /// - "C2_CPUS" + /// - "C3_CPUS" /// - "COMMITMENTS" /// - "COMMITTED_A2_CPUS" /// - "COMMITTED_C2D_CPUS" /// - "COMMITTED_C2_CPUS" + /// - "COMMITTED_C3_CPUS" /// - "COMMITTED_CPUS" /// - "COMMITTED_E2_CPUS" /// - "COMMITTED_LICENSES" @@ -80434,7 +80612,7 @@ class Quota { /// - "COMMITTED_NVIDIA_P4_GPUS" /// - "COMMITTED_NVIDIA_T4_GPUS" /// - "COMMITTED_NVIDIA_V100_GPUS" - /// - "COMMITTED_P2D_CPUS" + /// - "COMMITTED_T2D_CPUS" /// - "CPUS" : Guest CPUs /// - "CPUS_ALL_REGIONS" /// - "DISKS_TOTAL_GB" @@ -80483,7 +80661,6 @@ class Quota { /// - "NVIDIA_T4_GPUS" /// - "NVIDIA_T4_VWS_GPUS" /// - "NVIDIA_V100_GPUS" - /// - "P2D_CPUS" /// - "PACKET_MIRRORINGS" /// - "PD_EXTREME_TOTAL_PROVISIONED_IOPS" /// - "PREEMPTIBLE_CPUS" @@ -80520,6 +80697,7 @@ class Quota { /// - "STATIC_ADDRESSES" /// - "STATIC_BYOIP_ADDRESSES" /// - "SUBNETWORKS" + /// - "T2D_CPUS" /// - "TARGET_HTTPS_PROXIES" /// - "TARGET_HTTP_PROXIES" /// - "TARGET_INSTANCES" @@ -81892,8 +82070,19 @@ class RegionInstanceGroupManagersDeleteInstancesRequest { /// zones/\[ZONE\]/instances/\[INSTANCE_NAME\]. core.List? instances; + /// Specifies whether the request should proceed despite the inclusion of + /// instances that are not members of the group or that are already in the + /// process of being deleted or abandoned. + /// + /// If this field is set to `false` and such an instance is specified in the + /// request, the operation fails. The operation always fails if the request + /// contains a malformed instance URL or a reference to an instance that + /// exists in a zone or region other than the group's zone or region. + core.bool? skipInstancesOnValidationError; + RegionInstanceGroupManagersDeleteInstancesRequest({ this.instances, + this.skipInstancesOnValidationError, }); RegionInstanceGroupManagersDeleteInstancesRequest.fromJson(core.Map _json) @@ -81903,10 +82092,16 @@ class RegionInstanceGroupManagersDeleteInstancesRequest { .map((value) => value as core.String) .toList() : null, + skipInstancesOnValidationError: + _json.containsKey('skipInstancesOnValidationError') + ? _json['skipInstancesOnValidationError'] as core.bool + : null, ); core.Map toJson() => { if (instances != null) 'instances': instances!, + if (skipInstancesOnValidationError != null) + 'skipInstancesOnValidationError': skipInstancesOnValidationError!, }; } @@ -88749,7 +88944,7 @@ class ServiceAccount { /// A service attachment represents a service that a producer has exposed. It /// encapsulates the load balancer which fronts the service runs and a list of /// NAT IP ranges that the producers uses to represent the consumers connecting -/// to the service. next tag = 19 +/// to the service. next tag = 20 class ServiceAttachment { /// An array of connections for all the consumers connected to this service /// attachment. @@ -92032,7 +92227,8 @@ class Subnetwork { /// the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is /// EXTERNAL then this subnet cannot enable direct path. /// Possible string values are: - /// - "EXTERNAL" : VMs in this subnet can have external IPv6. + /// - "EXTERNAL" : VMs on this subnet will be assigned IPv6 addresses that are + /// accesible via the Internet, as well as the VPC network. /// - "UNSPECIFIED_IPV6_ACCESS_TYPE" : IPv6 access type not set. Means this /// subnet hasn't been turned on IPv6 yet. core.String? ipv6AccessType; @@ -99939,7 +100135,7 @@ class UsageExportLocation { /// An optional prefix for the name of the usage report object stored in /// bucketName. /// - /// If not supplied, defaults to usage. The report is stored as a CSV file + /// If not supplied, defaults to usage_gce. The report is stored as a CSV file /// named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the /// usage according to Pacific Time. If you supply a prefix, it should conform /// to Cloud Storage object naming conventions. diff --git a/generated/googleapis/lib/contactcenterinsights/v1.dart b/generated/googleapis/lib/contactcenterinsights/v1.dart new file mode 100644 index 000000000..ef1ea7a0a --- /dev/null +++ b/generated/googleapis/lib/contactcenterinsights/v1.dart @@ -0,0 +1,5814 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Contact Center AI Insights API - v1 +/// +/// For more information, see +/// +/// +/// Create an instance of [ContactcenterinsightsApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsConversationsResource] +/// - [ProjectsLocationsConversationsAnalysesResource] +/// - [ProjectsLocationsInsightsdataResource] +/// - [ProjectsLocationsIssueModelsResource] +/// - [ProjectsLocationsIssueModelsIssuesResource] +/// - [ProjectsLocationsOperationsResource] +/// - [ProjectsLocationsPhraseMatchersResource] +library contactcenterinsights.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +class ContactcenterinsightsApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProjectsResource get projects => ProjectsResource(_requester); + + ContactcenterinsightsApi(http.Client client, + {core.String rootUrl = 'https://contactcenterinsights.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConversationsResource get conversations => + ProjectsLocationsConversationsResource(_requester); + ProjectsLocationsInsightsdataResource get insightsdata => + ProjectsLocationsInsightsdataResource(_requester); + ProjectsLocationsIssueModelsResource get issueModels => + ProjectsLocationsIssueModelsResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); + ProjectsLocationsPhraseMatchersResource get phraseMatchers => + ProjectsLocationsPhraseMatchersResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Gets project-level settings. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the settings resource to get. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+/settings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Settings]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getSettings( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Settings.fromJson( + _response as core.Map); + } + + /// Updates project-level settings. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Immutable. The resource name of the settings resource. Format: + /// projects/{project}/locations/{location}/settings + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+/settings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Settings]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future updateSettings( + GoogleCloudContactcenterinsightsV1Settings request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Settings.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsConversationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConversationsAnalysesResource get analyses => + ProjectsLocationsConversationsAnalysesResource(_requester); + + ProjectsLocationsConversationsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets conversation statistics. + /// + /// Request parameters: + /// + /// [location] - Required. The location of the conversations. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - A filter to reduce results to a specific subset. This field is + /// useful for getting statistics about conversations with specific + /// properties. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudContactcenterinsightsV1CalculateStatsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + calculateStats( + core.String location, { + core.String? filter, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + + core.Uri.encodeFull('$location') + + '/conversations:calculateStats'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1CalculateStatsResponse.fromJson( + _response as core.Map); + } + + /// Creates a conversation. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the conversation. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [conversationId] - A unique ID for the new conversation. This ID will + /// become the final component of the conversation's resource name. If no ID + /// is specified, a server-generated ID will be used. This value should be + /// 4-32 characters and must match the regular expression + /// /^\[a-z0-9-\]{4,32}$/. Valid characters are /a-z-/ + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Conversation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + GoogleCloudContactcenterinsightsV1Conversation request, + core.String parent, { + core.String? conversationId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (conversationId != null) 'conversationId': [conversationId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/conversations'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Conversation.fromJson( + _response as core.Map); + } + + /// Deletes a conversation. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the conversation to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [force] - If set to true, all of this conversation's analyses will also be + /// deleted. Otherwise, the request will only succeed if the conversation has + /// no analyses. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.bool? force, + core.String? $fields, + }) async { + final _queryParams = >{ + if (force != null) 'force': ['${force}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return GoogleProtobufEmpty.fromJson( + _response as core.Map); + } + + /// Gets a conversation. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the conversation to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [view] - The level of details of the conversation. Default is `FULL`. + /// Possible string values are: + /// - "CONVERSATION_VIEW_UNSPECIFIED" : Not specified. Defaults to FULL on + /// GetConversationRequest and BASIC for ListConversationsRequest. + /// - "BASIC" : Transcript field is not populated in the response. + /// - "FULL" : All fields are populated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Conversation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? view, + core.String? $fields, + }) async { + final _queryParams = >{ + if (view != null) 'view': [view], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Conversation.fromJson( + _response as core.Map); + } + + /// Lists conversations. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the conversation. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - A filter to reduce results to a specific subset. Useful for + /// querying conversations with specific properties. + /// + /// [pageSize] - The maximum number of conversations to return in the + /// response. A valid page size ranges from 0 to 1,000 inclusive. If the page + /// size is zero or unspecified, a default page size of 100 will be chosen. + /// Note that a call might return fewer results than the requested page size. + /// + /// [pageToken] - The value returned by the last `ListConversationsResponse`. + /// This value indicates that this is a continuation of a prior + /// `ListConversations` call and that the system should return the next page + /// of data. + /// + /// [view] - The level of details of the conversation. Default is `BASIC`. + /// Possible string values are: + /// - "CONVERSATION_VIEW_UNSPECIFIED" : Not specified. Defaults to FULL on + /// GetConversationRequest and BASIC for ListConversationsRequest. + /// - "BASIC" : Transcript field is not populated in the response. + /// - "FULL" : All fields are populated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudContactcenterinsightsV1ListConversationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? view, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (view != null) 'view': [view], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/conversations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1ListConversationsResponse.fromJson( + _response as core.Map); + } + + /// Updates a conversation. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Immutable. The resource name of the conversation. Format: + /// projects/{project}/locations/{location}/conversations/{conversation} + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [updateMask] - The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Conversation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleCloudContactcenterinsightsV1Conversation request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Conversation.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsConversationsAnalysesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConversationsAnalysesResource(commons.ApiRequester client) + : _requester = client; + + /// Creates an analysis. + /// + /// The long running operation is done when the analysis has completed. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the analysis. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + GoogleCloudContactcenterinsightsV1Analysis request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/analyses'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Deletes an analysis. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the analysis to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+/analyses/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return GoogleProtobufEmpty.fromJson( + _response as core.Map); + } + + /// Gets an analysis. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the analysis to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+/analyses/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Analysis]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Analysis.fromJson( + _response as core.Map); + } + + /// Lists analyses. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the analyses. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [filter] - A filter to reduce results to a specific subset. Useful for + /// querying conversations with specific properties. + /// + /// [pageSize] - The maximum number of analyses to return in the response. If + /// this value is zero, the service will select a default size. A call might + /// return fewer objects than requested. A non-empty `next_page_token` in the + /// response indicates that more data is available. + /// + /// [pageToken] - The value returned by the last `ListAnalysesResponse`; + /// indicates that this is a continuation of a prior `ListAnalyses` call and + /// the system should return the next page of data. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1ListAnalysesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/analyses'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1ListAnalysesResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsInsightsdataResource { + final commons.ApiRequester _requester; + + ProjectsLocationsInsightsdataResource(commons.ApiRequester client) + : _requester = client; + + /// Export insights data to a destination defined in the request body. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource to export data from. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future export( + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/insightsdata:export'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsIssueModelsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsIssueModelsIssuesResource get issues => + ProjectsLocationsIssueModelsIssuesResource(_requester); + + ProjectsLocationsIssueModelsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets an issue model's statistics. + /// + /// Request parameters: + /// + /// [issueModel] - Required. The resource name of the issue model to query + /// against. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future< + GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse> + calculateIssueModelStats( + core.String issueModel, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + + core.Uri.encodeFull('$issueModel') + + ':calculateIssueModelStats'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse + .fromJson(_response as core.Map); + } + + /// Creates an issue model. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the issue model. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + GoogleCloudContactcenterinsightsV1IssueModel request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/issueModels'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Deletes an issue model. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the issue model to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Deploys an issue model. + /// + /// Returns an error if a model is already deployed. An issue model can only + /// be used in analysis after it has been deployed. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The issue model to deploy. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future deploy( + GoogleCloudContactcenterinsightsV1DeployIssueModelRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':deploy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Gets an issue model. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the issue model to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1IssueModel]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + _response as core.Map); + } + + /// Lists issue models. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the issue model. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudContactcenterinsightsV1ListIssueModelsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/issueModels'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1ListIssueModelsResponse.fromJson( + _response as core.Map); + } + + /// Updates an issue model. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Immutable. The resource name of the issue model. Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [updateMask] - The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1IssueModel]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleCloudContactcenterinsightsV1IssueModel request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + _response as core.Map); + } + + /// Undeploys an issue model. + /// + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The issue model to undeploy. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future undeploy( + GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':undeploy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsIssueModelsIssuesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsIssueModelsIssuesResource(commons.ApiRequester client) + : _requester = client; + + /// Gets an issue. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the issue to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+/issues/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Issue]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Issue.fromJson( + _response as core.Map); + } + + /// Lists issues. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the issue. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1ListIssuesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/issues'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1ListIssuesResponse.fromJson( + _response as core.Map); + } + + /// Updates an issue. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Immutable. The resource name of the issue. Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+/issues/\[^/\]+$`. + /// + /// [updateMask] - The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1Issue]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleCloudContactcenterinsightsV1Issue request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1Issue.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// Starts asynchronous cancellation on a long-running operation. + /// + /// The server makes a best effort to cancel the operation, but success is not + /// guaranteed. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation + /// or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, + /// the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future cancel( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + + final _response = await _requester.request( + _url, + 'POST', + queryParams: _queryParams, + ); + return GoogleProtobufEmpty.fromJson( + _response as core.Map); + } + + /// Gets the latest state of a long-running operation. + /// + /// Clients can use this method to poll the operation result at intervals as + /// recommended by the API service. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleLongrunningListOperationsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsPhraseMatchersResource { + final commons.ApiRequester _requester; + + ProjectsLocationsPhraseMatchersResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a phrase matcher. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the phrase matcher. Required. + /// The location to create a phrase matcher for. Format: + /// `projects//locations/` or `projects//locations/` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1PhraseMatcher]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + GoogleCloudContactcenterinsightsV1PhraseMatcher request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/phraseMatchers'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson( + _response as core.Map); + } + + /// Deletes a phrase matcher. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the phrase matcher to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/phraseMatchers/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return GoogleProtobufEmpty.fromJson( + _response as core.Map); + } + + /// Gets a phrase matcher. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the phrase matcher to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/phraseMatchers/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudContactcenterinsightsV1PhraseMatcher]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson( + _response as core.Map); + } + + /// Lists phrase matchers. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the phrase matcher. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - A filter to reduce results to a specific subset. Useful for + /// querying phrase matchers with specific properties. + /// + /// [pageSize] - The maximum number of phrase matchers to return in the + /// response. If this value is zero, the service will select a default size. A + /// call might return fewer objects than requested. A non-empty + /// `next_page_token` in the response indicates that more data is available. + /// + /// [pageToken] - The value returned by the last `ListPhraseMatchersResponse`. + /// This value indicates that this is a continuation of a prior + /// `ListPhraseMatchers` call and that the system should return the next page + /// of data. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/phraseMatchers'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse + .fromJson(_response as core.Map); + } +} + +/// The analysis resource. +class GoogleCloudContactcenterinsightsV1Analysis { + /// The result of the analysis, which is populated when the analysis finishes. + /// + /// Output only. + GoogleCloudContactcenterinsightsV1AnalysisResult? analysisResult; + + /// The time at which the analysis was created, which occurs when the + /// long-running operation completes. + /// + /// Output only. + core.String? createTime; + + /// The resource name of the analysis. + /// + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + /// Immutable. + core.String? name; + + /// The time at which the analysis was requested. + /// + /// Output only. + core.String? requestTime; + + GoogleCloudContactcenterinsightsV1Analysis({ + this.analysisResult, + this.createTime, + this.name, + this.requestTime, + }); + + GoogleCloudContactcenterinsightsV1Analysis.fromJson(core.Map _json) + : this( + analysisResult: _json.containsKey('analysisResult') + ? GoogleCloudContactcenterinsightsV1AnalysisResult.fromJson( + _json['analysisResult'] + as core.Map) + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + requestTime: _json.containsKey('requestTime') + ? _json['requestTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (analysisResult != null) 'analysisResult': analysisResult!.toJson(), + if (createTime != null) 'createTime': createTime!, + if (name != null) 'name': name!, + if (requestTime != null) 'requestTime': requestTime!, + }; +} + +/// The result of an analysis. +class GoogleCloudContactcenterinsightsV1AnalysisResult { + /// Call-specific metadata created by the analysis. + GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata? + callAnalysisMetadata; + + /// The time at which the analysis ended. + core.String? endTime; + + GoogleCloudContactcenterinsightsV1AnalysisResult({ + this.callAnalysisMetadata, + this.endTime, + }); + + GoogleCloudContactcenterinsightsV1AnalysisResult.fromJson(core.Map _json) + : this( + callAnalysisMetadata: _json.containsKey('callAnalysisMetadata') + ? GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata + .fromJson(_json['callAnalysisMetadata'] + as core.Map) + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (callAnalysisMetadata != null) + 'callAnalysisMetadata': callAnalysisMetadata!.toJson(), + if (endTime != null) 'endTime': endTime!, + }; +} + +/// Call-specific metadata created during analysis. +class GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata { + /// A list of call annotations that apply to this call. + core.List? annotations; + + /// All the entities in the call. + core.Map? entities; + + /// All the matched intents in the call. + core.Map? intents; + + /// Overall conversation-level issue modeling result. + GoogleCloudContactcenterinsightsV1IssueModelResult? issueModelResult; + + /// All the matched phrase matchers in the call. + core.Map? + phraseMatchers; + + /// Overall conversation-level sentiment for each channel of the call. + core.List? + sentiments; + + GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata({ + this.annotations, + this.entities, + this.intents, + this.issueModelResult, + this.phraseMatchers, + this.sentiments, + }); + + GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata.fromJson( + core.Map _json) + : this( + annotations: _json.containsKey('annotations') + ? (_json['annotations'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1CallAnnotation + .fromJson( + value as core.Map)) + .toList() + : null, + entities: _json.containsKey('entities') + ? (_json['entities'] as core.Map).map( + (key, item) => core.MapEntry( + key, + GoogleCloudContactcenterinsightsV1Entity.fromJson( + item as core.Map), + ), + ) + : null, + intents: _json.containsKey('intents') + ? (_json['intents'] as core.Map).map( + (key, item) => core.MapEntry( + key, + GoogleCloudContactcenterinsightsV1Intent.fromJson( + item as core.Map), + ), + ) + : null, + issueModelResult: _json.containsKey('issueModelResult') + ? GoogleCloudContactcenterinsightsV1IssueModelResult.fromJson( + _json['issueModelResult'] + as core.Map) + : null, + phraseMatchers: _json.containsKey('phraseMatchers') + ? (_json['phraseMatchers'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + GoogleCloudContactcenterinsightsV1PhraseMatchData.fromJson( + item as core.Map), + ), + ) + : null, + sentiments: _json.containsKey('sentiments') + ? (_json['sentiments'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1ConversationLevelSentiment + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (annotations != null) + 'annotations': annotations!.map((value) => value.toJson()).toList(), + if (entities != null) + 'entities': + entities!.map((key, item) => core.MapEntry(key, item.toJson())), + if (intents != null) + 'intents': + intents!.map((key, item) => core.MapEntry(key, item.toJson())), + if (issueModelResult != null) + 'issueModelResult': issueModelResult!.toJson(), + if (phraseMatchers != null) + 'phraseMatchers': phraseMatchers! + .map((key, item) => core.MapEntry(key, item.toJson())), + if (sentiments != null) + 'sentiments': sentiments!.map((value) => value.toJson()).toList(), + }; +} + +/// A point in a conversation that marks the start or the end of an annotation. +class GoogleCloudContactcenterinsightsV1AnnotationBoundary { + /// The index in the sequence of transcribed pieces of the conversation where + /// the boundary is located. + /// + /// This index starts at zero. + core.int? transcriptIndex; + + /// The word index of this boundary with respect to the first word in the + /// transcript piece. + /// + /// This index starts at zero. + core.int? wordIndex; + + GoogleCloudContactcenterinsightsV1AnnotationBoundary({ + this.transcriptIndex, + this.wordIndex, + }); + + GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson(core.Map _json) + : this( + transcriptIndex: _json.containsKey('transcriptIndex') + ? _json['transcriptIndex'] as core.int + : null, + wordIndex: _json.containsKey('wordIndex') + ? _json['wordIndex'] as core.int + : null, + ); + + core.Map toJson() => { + if (transcriptIndex != null) 'transcriptIndex': transcriptIndex!, + if (wordIndex != null) 'wordIndex': wordIndex!, + }; +} + +/// The feedback that the customer has about a certain answer in the +/// conversation. +class GoogleCloudContactcenterinsightsV1AnswerFeedback { + /// Indicates whether an answer or item was clicked by the human agent. + core.bool? clicked; + + /// The correctness level of an answer. + /// Possible string values are: + /// - "CORRECTNESS_LEVEL_UNSPECIFIED" : Correctness level unspecified. + /// - "NOT_CORRECT" : Answer is totally wrong. + /// - "PARTIALLY_CORRECT" : Answer is partially correct. + /// - "FULLY_CORRECT" : Answer is fully correct. + core.String? correctnessLevel; + + /// Indicates whether an answer or item was displayed to the human agent in + /// the agent desktop UI. + core.bool? displayed; + + GoogleCloudContactcenterinsightsV1AnswerFeedback({ + this.clicked, + this.correctnessLevel, + this.displayed, + }); + + GoogleCloudContactcenterinsightsV1AnswerFeedback.fromJson(core.Map _json) + : this( + clicked: _json.containsKey('clicked') + ? _json['clicked'] as core.bool + : null, + correctnessLevel: _json.containsKey('correctnessLevel') + ? _json['correctnessLevel'] as core.String + : null, + displayed: _json.containsKey('displayed') + ? _json['displayed'] as core.bool + : null, + ); + + core.Map toJson() => { + if (clicked != null) 'clicked': clicked!, + if (correctnessLevel != null) 'correctnessLevel': correctnessLevel!, + if (displayed != null) 'displayed': displayed!, + }; +} + +/// Agent Assist Article Suggestion data. +class GoogleCloudContactcenterinsightsV1ArticleSuggestionData { + /// The system's confidence score that this article is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). + core.double? confidenceScore; + + /// Map that contains metadata about the Article Suggestion and the document + /// that it originates from. + core.Map? metadata; + + /// Name of the query record. + /// + /// Format: + /// projects/{project}/locations/{location}/queryRecords/{query_record} + core.String? queryRecord; + + /// The knowledge document that this answer was extracted from. + /// + /// Format: + /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} + core.String? source; + + /// Article title. + core.String? title; + + /// Article URI. + core.String? uri; + + GoogleCloudContactcenterinsightsV1ArticleSuggestionData({ + this.confidenceScore, + this.metadata, + this.queryRecord, + this.source, + this.title, + this.uri, + }); + + GoogleCloudContactcenterinsightsV1ArticleSuggestionData.fromJson( + core.Map _json) + : this( + confidenceScore: _json.containsKey('confidenceScore') + ? (_json['confidenceScore'] as core.num).toDouble() + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + queryRecord: _json.containsKey('queryRecord') + ? _json['queryRecord'] as core.String + : null, + source: _json.containsKey('source') + ? _json['source'] as core.String + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (confidenceScore != null) 'confidenceScore': confidenceScore!, + if (metadata != null) 'metadata': metadata!, + if (queryRecord != null) 'queryRecord': queryRecord!, + if (source != null) 'source': source!, + if (title != null) 'title': title!, + if (uri != null) 'uri': uri!, + }; +} + +/// Response of querying an issue model's statistics. +class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse { + /// The latest label statistics for the queried issue model. + /// + /// Includes results on both training data and data labeled after deployment. + GoogleCloudContactcenterinsightsV1IssueModelLabelStats? currentStats; + + GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse({ + this.currentStats, + }); + + GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse.fromJson( + core.Map _json) + : this( + currentStats: _json.containsKey('currentStats') + ? GoogleCloudContactcenterinsightsV1IssueModelLabelStats.fromJson( + _json['currentStats'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (currentStats != null) 'currentStats': currentStats!.toJson(), + }; +} + +/// The response for calculating conversation statistics. +class GoogleCloudContactcenterinsightsV1CalculateStatsResponse { + /// The average duration of all conversations. + /// + /// The average is calculated using only conversations that have a time + /// duration. + core.String? averageDuration; + + /// The average number of turns per conversation. + core.int? averageTurnCount; + + /// The total number of conversations. + core.int? conversationCount; + + /// A time series representing the count of conversations created over time + /// that match that requested filter criteria. + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries? + conversationCountTimeSeries; + + /// A map associating each custom highlighter resource name with its + /// respective number of matches in the set of conversations. + core.Map? customHighlighterMatches; + + /// A map associating each issue resource name with its respective number of + /// matches in the set of conversations. + /// + /// Key has the format: `projects//locations//issueModels//issues/` + core.Map? issueMatches; + + /// A map associating each smart highlighter display name with its respective + /// number of matches in the set of conversations. + core.Map? smartHighlighterMatches; + + GoogleCloudContactcenterinsightsV1CalculateStatsResponse({ + this.averageDuration, + this.averageTurnCount, + this.conversationCount, + this.conversationCountTimeSeries, + this.customHighlighterMatches, + this.issueMatches, + this.smartHighlighterMatches, + }); + + GoogleCloudContactcenterinsightsV1CalculateStatsResponse.fromJson( + core.Map _json) + : this( + averageDuration: _json.containsKey('averageDuration') + ? _json['averageDuration'] as core.String + : null, + averageTurnCount: _json.containsKey('averageTurnCount') + ? _json['averageTurnCount'] as core.int + : null, + conversationCount: _json.containsKey('conversationCount') + ? _json['conversationCount'] as core.int + : null, + conversationCountTimeSeries: _json + .containsKey('conversationCountTimeSeries') + ? GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries + .fromJson(_json['conversationCountTimeSeries'] + as core.Map) + : null, + customHighlighterMatches: + _json.containsKey('customHighlighterMatches') + ? (_json['customHighlighterMatches'] + as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.int, + ), + ) + : null, + issueMatches: _json.containsKey('issueMatches') + ? (_json['issueMatches'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.int, + ), + ) + : null, + smartHighlighterMatches: _json.containsKey('smartHighlighterMatches') + ? (_json['smartHighlighterMatches'] + as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.int, + ), + ) + : null, + ); + + core.Map toJson() => { + if (averageDuration != null) 'averageDuration': averageDuration!, + if (averageTurnCount != null) 'averageTurnCount': averageTurnCount!, + if (conversationCount != null) 'conversationCount': conversationCount!, + if (conversationCountTimeSeries != null) + 'conversationCountTimeSeries': conversationCountTimeSeries!.toJson(), + if (customHighlighterMatches != null) + 'customHighlighterMatches': customHighlighterMatches!, + if (issueMatches != null) 'issueMatches': issueMatches!, + if (smartHighlighterMatches != null) + 'smartHighlighterMatches': smartHighlighterMatches!, + }; +} + +/// A time series representing conversations over time. +class GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries { + /// The duration of each interval. + core.String? intervalDuration; + + /// An ordered list of intervals from earliest to latest, where each interval + /// represents the number of conversations that transpired during the time + /// window. + core.List< + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval>? + points; + + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries({ + this.intervalDuration, + this.points, + }); + + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries.fromJson( + core.Map _json) + : this( + intervalDuration: _json.containsKey('intervalDuration') + ? _json['intervalDuration'] as core.String + : null, + points: _json.containsKey('points') + ? (_json['points'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (intervalDuration != null) 'intervalDuration': intervalDuration!, + if (points != null) + 'points': points!.map((value) => value.toJson()).toList(), + }; +} + +/// A single interval in a time series. +class GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval { + /// The number of conversations created in this interval. + core.int? conversationCount; + + /// The start time of this interval. + core.String? startTime; + + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval({ + this.conversationCount, + this.startTime, + }); + + GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval.fromJson( + core.Map _json) + : this( + conversationCount: _json.containsKey('conversationCount') + ? _json['conversationCount'] as core.int + : null, + startTime: _json.containsKey('startTime') + ? _json['startTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (conversationCount != null) 'conversationCount': conversationCount!, + if (startTime != null) 'startTime': startTime!, + }; +} + +/// A piece of metadata that applies to a window of a call. +class GoogleCloudContactcenterinsightsV1CallAnnotation { + /// The boundary in the conversation where the annotation ends, inclusive. + GoogleCloudContactcenterinsightsV1AnnotationBoundary? annotationEndBoundary; + + /// The boundary in the conversation where the annotation starts, inclusive. + GoogleCloudContactcenterinsightsV1AnnotationBoundary? annotationStartBoundary; + + /// The channel of the audio where the annotation occurs. + /// + /// For single-channel audio, this field is not populated. + core.int? channelTag; + + /// Data specifying an entity mention. + GoogleCloudContactcenterinsightsV1EntityMentionData? entityMentionData; + + /// Data specifying a hold. + GoogleCloudContactcenterinsightsV1HoldData? holdData; + + /// Data specifying an intent match. + GoogleCloudContactcenterinsightsV1IntentMatchData? intentMatchData; + + /// Data specifying an interruption. + GoogleCloudContactcenterinsightsV1InterruptionData? interruptionData; + + /// Data specifying a phrase match. + GoogleCloudContactcenterinsightsV1PhraseMatchData? phraseMatchData; + + /// Data specifying sentiment. + GoogleCloudContactcenterinsightsV1SentimentData? sentimentData; + + /// Data specifying silence. + GoogleCloudContactcenterinsightsV1SilenceData? silenceData; + + GoogleCloudContactcenterinsightsV1CallAnnotation({ + this.annotationEndBoundary, + this.annotationStartBoundary, + this.channelTag, + this.entityMentionData, + this.holdData, + this.intentMatchData, + this.interruptionData, + this.phraseMatchData, + this.sentimentData, + this.silenceData, + }); + + GoogleCloudContactcenterinsightsV1CallAnnotation.fromJson(core.Map _json) + : this( + annotationEndBoundary: _json.containsKey('annotationEndBoundary') + ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson( + _json['annotationEndBoundary'] + as core.Map) + : null, + annotationStartBoundary: _json.containsKey('annotationStartBoundary') + ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson( + _json['annotationStartBoundary'] + as core.Map) + : null, + channelTag: _json.containsKey('channelTag') + ? _json['channelTag'] as core.int + : null, + entityMentionData: _json.containsKey('entityMentionData') + ? GoogleCloudContactcenterinsightsV1EntityMentionData.fromJson( + _json['entityMentionData'] + as core.Map) + : null, + holdData: _json.containsKey('holdData') + ? GoogleCloudContactcenterinsightsV1HoldData.fromJson( + _json['holdData'] as core.Map) + : null, + intentMatchData: _json.containsKey('intentMatchData') + ? GoogleCloudContactcenterinsightsV1IntentMatchData.fromJson( + _json['intentMatchData'] + as core.Map) + : null, + interruptionData: _json.containsKey('interruptionData') + ? GoogleCloudContactcenterinsightsV1InterruptionData.fromJson( + _json['interruptionData'] + as core.Map) + : null, + phraseMatchData: _json.containsKey('phraseMatchData') + ? GoogleCloudContactcenterinsightsV1PhraseMatchData.fromJson( + _json['phraseMatchData'] + as core.Map) + : null, + sentimentData: _json.containsKey('sentimentData') + ? GoogleCloudContactcenterinsightsV1SentimentData.fromJson( + _json['sentimentData'] as core.Map) + : null, + silenceData: _json.containsKey('silenceData') + ? GoogleCloudContactcenterinsightsV1SilenceData.fromJson( + _json['silenceData'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (annotationEndBoundary != null) + 'annotationEndBoundary': annotationEndBoundary!.toJson(), + if (annotationStartBoundary != null) + 'annotationStartBoundary': annotationStartBoundary!.toJson(), + if (channelTag != null) 'channelTag': channelTag!, + if (entityMentionData != null) + 'entityMentionData': entityMentionData!.toJson(), + if (holdData != null) 'holdData': holdData!.toJson(), + if (intentMatchData != null) + 'intentMatchData': intentMatchData!.toJson(), + if (interruptionData != null) + 'interruptionData': interruptionData!.toJson(), + if (phraseMatchData != null) + 'phraseMatchData': phraseMatchData!.toJson(), + if (sentimentData != null) 'sentimentData': sentimentData!.toJson(), + if (silenceData != null) 'silenceData': silenceData!.toJson(), + }; +} + +/// The conversation resource. +class GoogleCloudContactcenterinsightsV1Conversation { + /// An opaque, user-specified string representing the human agent who handled + /// the conversation. + core.String? agentId; + + /// Call-specific metadata. + GoogleCloudContactcenterinsightsV1ConversationCallMetadata? callMetadata; + + /// The time at which the conversation was created. + /// + /// Output only. + core.String? createTime; + + /// The source of the audio and transcription for the conversation. + GoogleCloudContactcenterinsightsV1ConversationDataSource? dataSource; + + /// All the matched Dialogflow intents in the call. + /// + /// The key corresponds to a Dialogflow intent, format: + /// projects/{project}/agent/{agent}/intents/{intent} + /// + /// Output only. + core.Map? + dialogflowIntents; + + /// The duration of the conversation. + /// + /// Output only. + core.String? duration; + + /// The time at which this conversation should expire. + /// + /// After this time, the conversation data and any associated analyses will be + /// deleted. + core.String? expireTime; + + /// A map for the user to specify any custom fields. + /// + /// A maximum of 20 labels per conversation is allowed, with a maximum of 256 + /// characters per entry. + core.Map? labels; + + /// A user-specified language code for the conversation. + core.String? languageCode; + + /// The conversation's latest analysis, if one exists. + /// + /// Output only. + GoogleCloudContactcenterinsightsV1Analysis? latestAnalysis; + + /// The conversation medium. + /// + /// Immutable. + /// Possible string values are: + /// - "MEDIUM_UNSPECIFIED" : Default value. + /// - "PHONE_CALL" : The format for conversations that took place over the + /// phone. + /// - "CHAT" : The format for conversations that took place over chat. + core.String? medium; + + /// The resource name of the conversation. + /// + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// Immutable. + core.String? name; + + /// The annotations that were generated during the customer and agent + /// interaction. + /// + /// Output only. + core.List? + runtimeAnnotations; + + /// The time at which the conversation started. + core.String? startTime; + + /// The conversation transcript. + /// + /// Output only. + GoogleCloudContactcenterinsightsV1ConversationTranscript? transcript; + + /// Input only. + /// + /// The TTL for this resource. If specified, then this TTL will be used to + /// calculate the expire time. + core.String? ttl; + + /// The number of turns in the conversation. + /// + /// Output only. + core.int? turnCount; + + /// The most recent time at which the conversation was updated. + /// + /// Output only. + core.String? updateTime; + + GoogleCloudContactcenterinsightsV1Conversation({ + this.agentId, + this.callMetadata, + this.createTime, + this.dataSource, + this.dialogflowIntents, + this.duration, + this.expireTime, + this.labels, + this.languageCode, + this.latestAnalysis, + this.medium, + this.name, + this.runtimeAnnotations, + this.startTime, + this.transcript, + this.ttl, + this.turnCount, + this.updateTime, + }); + + GoogleCloudContactcenterinsightsV1Conversation.fromJson(core.Map _json) + : this( + agentId: _json.containsKey('agentId') + ? _json['agentId'] as core.String + : null, + callMetadata: _json.containsKey('callMetadata') + ? GoogleCloudContactcenterinsightsV1ConversationCallMetadata + .fromJson(_json['callMetadata'] + as core.Map) + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + dataSource: _json.containsKey('dataSource') + ? GoogleCloudContactcenterinsightsV1ConversationDataSource + .fromJson(_json['dataSource'] + as core.Map) + : null, + dialogflowIntents: _json.containsKey('dialogflowIntents') + ? (_json['dialogflowIntents'] + as core.Map) + .map( + (key, item) => core.MapEntry( + key, + GoogleCloudContactcenterinsightsV1DialogflowIntent.fromJson( + item as core.Map), + ), + ) + : null, + duration: _json.containsKey('duration') + ? _json['duration'] as core.String + : null, + expireTime: _json.containsKey('expireTime') + ? _json['expireTime'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + latestAnalysis: _json.containsKey('latestAnalysis') + ? GoogleCloudContactcenterinsightsV1Analysis.fromJson( + _json['latestAnalysis'] + as core.Map) + : null, + medium: _json.containsKey('medium') + ? _json['medium'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + runtimeAnnotations: _json.containsKey('runtimeAnnotations') + ? (_json['runtimeAnnotations'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1RuntimeAnnotation + .fromJson( + value as core.Map)) + .toList() + : null, + startTime: _json.containsKey('startTime') + ? _json['startTime'] as core.String + : null, + transcript: _json.containsKey('transcript') + ? GoogleCloudContactcenterinsightsV1ConversationTranscript + .fromJson(_json['transcript'] + as core.Map) + : null, + ttl: _json.containsKey('ttl') ? _json['ttl'] as core.String : null, + turnCount: _json.containsKey('turnCount') + ? _json['turnCount'] as core.int + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (agentId != null) 'agentId': agentId!, + if (callMetadata != null) 'callMetadata': callMetadata!.toJson(), + if (createTime != null) 'createTime': createTime!, + if (dataSource != null) 'dataSource': dataSource!.toJson(), + if (dialogflowIntents != null) + 'dialogflowIntents': dialogflowIntents! + .map((key, item) => core.MapEntry(key, item.toJson())), + if (duration != null) 'duration': duration!, + if (expireTime != null) 'expireTime': expireTime!, + if (labels != null) 'labels': labels!, + if (languageCode != null) 'languageCode': languageCode!, + if (latestAnalysis != null) 'latestAnalysis': latestAnalysis!.toJson(), + if (medium != null) 'medium': medium!, + if (name != null) 'name': name!, + if (runtimeAnnotations != null) + 'runtimeAnnotations': + runtimeAnnotations!.map((value) => value.toJson()).toList(), + if (startTime != null) 'startTime': startTime!, + if (transcript != null) 'transcript': transcript!.toJson(), + if (ttl != null) 'ttl': ttl!, + if (turnCount != null) 'turnCount': turnCount!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Call-specific metadata. +class GoogleCloudContactcenterinsightsV1ConversationCallMetadata { + /// The audio channel that contains the agent. + core.int? agentChannel; + + /// The audio channel that contains the customer. + core.int? customerChannel; + + GoogleCloudContactcenterinsightsV1ConversationCallMetadata({ + this.agentChannel, + this.customerChannel, + }); + + GoogleCloudContactcenterinsightsV1ConversationCallMetadata.fromJson( + core.Map _json) + : this( + agentChannel: _json.containsKey('agentChannel') + ? _json['agentChannel'] as core.int + : null, + customerChannel: _json.containsKey('customerChannel') + ? _json['customerChannel'] as core.int + : null, + ); + + core.Map toJson() => { + if (agentChannel != null) 'agentChannel': agentChannel!, + if (customerChannel != null) 'customerChannel': customerChannel!, + }; +} + +/// The conversation source, which is a combination of transcript and audio. +class GoogleCloudContactcenterinsightsV1ConversationDataSource { + /// The source when the conversation comes from Dialogflow. + GoogleCloudContactcenterinsightsV1DialogflowSource? dialogflowSource; + + /// A Cloud Storage location specification for the audio and transcript. + GoogleCloudContactcenterinsightsV1GcsSource? gcsSource; + + GoogleCloudContactcenterinsightsV1ConversationDataSource({ + this.dialogflowSource, + this.gcsSource, + }); + + GoogleCloudContactcenterinsightsV1ConversationDataSource.fromJson( + core.Map _json) + : this( + dialogflowSource: _json.containsKey('dialogflowSource') + ? GoogleCloudContactcenterinsightsV1DialogflowSource.fromJson( + _json['dialogflowSource'] + as core.Map) + : null, + gcsSource: _json.containsKey('gcsSource') + ? GoogleCloudContactcenterinsightsV1GcsSource.fromJson( + _json['gcsSource'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (dialogflowSource != null) + 'dialogflowSource': dialogflowSource!.toJson(), + if (gcsSource != null) 'gcsSource': gcsSource!.toJson(), + }; +} + +/// One channel of conversation-level sentiment data. +class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment { + /// The channel of the audio that the data applies to. + core.int? channelTag; + + /// Data specifying sentiment. + GoogleCloudContactcenterinsightsV1SentimentData? sentimentData; + + GoogleCloudContactcenterinsightsV1ConversationLevelSentiment({ + this.channelTag, + this.sentimentData, + }); + + GoogleCloudContactcenterinsightsV1ConversationLevelSentiment.fromJson( + core.Map _json) + : this( + channelTag: _json.containsKey('channelTag') + ? _json['channelTag'] as core.int + : null, + sentimentData: _json.containsKey('sentimentData') + ? GoogleCloudContactcenterinsightsV1SentimentData.fromJson( + _json['sentimentData'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (channelTag != null) 'channelTag': channelTag!, + if (sentimentData != null) 'sentimentData': sentimentData!.toJson(), + }; +} + +/// The call participant speaking for a given utterance. +class GoogleCloudContactcenterinsightsV1ConversationParticipant { + /// Use `dialogflow_participant_name` instead. + /// + /// The name of the Dialogflow participant. Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + /// Deprecated. + core.String? dialogflowParticipant; + + /// The name of the participant provided by Dialogflow. + /// + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + core.String? dialogflowParticipantName; + + /// The role of the participant. + /// Possible string values are: + /// - "ROLE_UNSPECIFIED" : Participant's role is not set. + /// - "HUMAN_AGENT" : Participant is a human agent. + /// - "AUTOMATED_AGENT" : Participant is an automated agent. + /// - "END_USER" : Participant is an end user who conversed with the contact + /// center. + /// - "ANY_AGENT" : Participant is either a human or automated agent. + core.String? role; + + /// A user-specified ID representing the participant. + core.String? userId; + + GoogleCloudContactcenterinsightsV1ConversationParticipant({ + this.dialogflowParticipant, + this.dialogflowParticipantName, + this.role, + this.userId, + }); + + GoogleCloudContactcenterinsightsV1ConversationParticipant.fromJson( + core.Map _json) + : this( + dialogflowParticipant: _json.containsKey('dialogflowParticipant') + ? _json['dialogflowParticipant'] as core.String + : null, + dialogflowParticipantName: + _json.containsKey('dialogflowParticipantName') + ? _json['dialogflowParticipantName'] as core.String + : null, + role: _json.containsKey('role') ? _json['role'] as core.String : null, + userId: _json.containsKey('userId') + ? _json['userId'] as core.String + : null, + ); + + core.Map toJson() => { + if (dialogflowParticipant != null) + 'dialogflowParticipant': dialogflowParticipant!, + if (dialogflowParticipantName != null) + 'dialogflowParticipantName': dialogflowParticipantName!, + if (role != null) 'role': role!, + if (userId != null) 'userId': userId!, + }; +} + +/// A message representing the transcript of a conversation. +class GoogleCloudContactcenterinsightsV1ConversationTranscript { + /// A list of sequential transcript segments that comprise the conversation. + core.List< + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment>? + transcriptSegments; + + GoogleCloudContactcenterinsightsV1ConversationTranscript({ + this.transcriptSegments, + }); + + GoogleCloudContactcenterinsightsV1ConversationTranscript.fromJson( + core.Map _json) + : this( + transcriptSegments: _json.containsKey('transcriptSegments') + ? (_json['transcriptSegments'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (transcriptSegments != null) + 'transcriptSegments': + transcriptSegments!.map((value) => value.toJson()).toList(), + }; +} + +/// A segment of a full transcript. +class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment { + /// For conversations derived from multi-channel audio, this is the channel + /// number corresponding to the audio from that channel. + /// + /// For audioChannelCount = N, its output values can range from '1' to 'N'. A + /// channel tag of 0 indicates that the audio is mono. + core.int? channelTag; + + /// A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. + /// + /// A default value of 0.0 indicates that the value is unset. + core.double? confidence; + + /// The language code of this segment as a + /// \[BCP-47\](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + /// + /// Example: "en-US". + core.String? languageCode; + + /// The participant of this segment. + GoogleCloudContactcenterinsightsV1ConversationParticipant? segmentParticipant; + + /// The text of this segment. + core.String? text; + + /// A list of the word-specific information for each word in the segment. + core.List< + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo>? + words; + + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment({ + this.channelTag, + this.confidence, + this.languageCode, + this.segmentParticipant, + this.text, + this.words, + }); + + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment.fromJson( + core.Map _json) + : this( + channelTag: _json.containsKey('channelTag') + ? _json['channelTag'] as core.int + : null, + confidence: _json.containsKey('confidence') + ? (_json['confidence'] as core.num).toDouble() + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + segmentParticipant: _json.containsKey('segmentParticipant') + ? GoogleCloudContactcenterinsightsV1ConversationParticipant + .fromJson(_json['segmentParticipant'] + as core.Map) + : null, + text: _json.containsKey('text') ? _json['text'] as core.String : null, + words: _json.containsKey('words') + ? (_json['words'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (channelTag != null) 'channelTag': channelTag!, + if (confidence != null) 'confidence': confidence!, + if (languageCode != null) 'languageCode': languageCode!, + if (segmentParticipant != null) + 'segmentParticipant': segmentParticipant!.toJson(), + if (text != null) 'text': text!, + if (words != null) + 'words': words!.map((value) => value.toJson()).toList(), + }; +} + +/// Word-level info for words in a transcript. +class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo { + /// A confidence estimate between 0.0 and 1.0 of the fidelity of this word. + /// + /// A default value of 0.0 indicates that the value is unset. + core.double? confidence; + + /// Time offset of the end of this word relative to the beginning of the total + /// conversation. + core.String? endOffset; + + /// Time offset of the start of this word relative to the beginning of the + /// total conversation. + core.String? startOffset; + + /// The word itself. + /// + /// Includes punctuation marks that surround the word. + core.String? word; + + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo({ + this.confidence, + this.endOffset, + this.startOffset, + this.word, + }); + + GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo.fromJson( + core.Map _json) + : this( + confidence: _json.containsKey('confidence') + ? (_json['confidence'] as core.num).toDouble() + : null, + endOffset: _json.containsKey('endOffset') + ? _json['endOffset'] as core.String + : null, + startOffset: _json.containsKey('startOffset') + ? _json['startOffset'] as core.String + : null, + word: _json.containsKey('word') ? _json['word'] as core.String : null, + ); + + core.Map toJson() => { + if (confidence != null) 'confidence': confidence!, + if (endOffset != null) 'endOffset': endOffset!, + if (startOffset != null) 'startOffset': startOffset!, + if (word != null) 'word': word!, + }; +} + +/// Metadata for a create analysis operation. +class GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata { + /// The Conversation that this Analysis Operation belongs to. + /// + /// Output only. + core.String? conversation; + + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata({ + this.conversation, + this.createTime, + this.endTime, + }); + + GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata.fromJson( + core.Map _json) + : this( + conversation: _json.containsKey('conversation') + ? _json['conversation'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (conversation != null) 'conversation': conversation!, + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + }; +} + +/// Metadata for creating an issue model. +class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for creation. + GoogleCloudContactcenterinsightsV1CreateIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1CreateIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to create an issue model. +class GoogleCloudContactcenterinsightsV1CreateIssueModelRequest { + /// The issue model to create. + /// + /// Required. + GoogleCloudContactcenterinsightsV1IssueModel? issueModel; + + /// The parent resource of the issue model. + /// + /// Required. + core.String? parent; + + GoogleCloudContactcenterinsightsV1CreateIssueModelRequest({ + this.issueModel, + this.parent, + }); + + GoogleCloudContactcenterinsightsV1CreateIssueModelRequest.fromJson( + core.Map _json) + : this( + issueModel: _json.containsKey('issueModel') + ? GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + _json['issueModel'] as core.Map) + : null, + parent: _json.containsKey('parent') + ? _json['parent'] as core.String + : null, + ); + + core.Map toJson() => { + if (issueModel != null) 'issueModel': issueModel!.toJson(), + if (parent != null) 'parent': parent!, + }; +} + +/// Metadata for deleting an issue model. +class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for deletion. + GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to delete an issue model. +class GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest { + /// The name of the issue model to delete. + /// + /// Required. + core.String? name; + + GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest({ + this.name, + }); + + GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest.fromJson( + core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// Metadata for deploying an issue model. +class GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for deployment. + GoogleCloudContactcenterinsightsV1DeployIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1DeployIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to deploy an issue model. +class GoogleCloudContactcenterinsightsV1DeployIssueModelRequest { + /// The issue model to deploy. + /// + /// Required. + core.String? name; + + GoogleCloudContactcenterinsightsV1DeployIssueModelRequest({ + this.name, + }); + + GoogleCloudContactcenterinsightsV1DeployIssueModelRequest.fromJson( + core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// The response to deploy an issue model. +class GoogleCloudContactcenterinsightsV1DeployIssueModelResponse { + GoogleCloudContactcenterinsightsV1DeployIssueModelResponse(); + + GoogleCloudContactcenterinsightsV1DeployIssueModelResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The data for a Dialogflow intent. +/// +/// Represents a detected intent in the conversation, e.g. MAKES_PROMISE. +class GoogleCloudContactcenterinsightsV1DialogflowIntent { + /// The human-readable name of the intent. + core.String? displayName; + + GoogleCloudContactcenterinsightsV1DialogflowIntent({ + this.displayName, + }); + + GoogleCloudContactcenterinsightsV1DialogflowIntent.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + }; +} + +/// Dialogflow interaction data. +class GoogleCloudContactcenterinsightsV1DialogflowInteractionData { + /// The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 + /// (completely certain). + core.double? confidence; + + /// The Dialogflow intent resource path. + /// + /// Format: projects/{project}/agent/{agent}/intents/{intent} + core.String? dialogflowIntentId; + + GoogleCloudContactcenterinsightsV1DialogflowInteractionData({ + this.confidence, + this.dialogflowIntentId, + }); + + GoogleCloudContactcenterinsightsV1DialogflowInteractionData.fromJson( + core.Map _json) + : this( + confidence: _json.containsKey('confidence') + ? (_json['confidence'] as core.num).toDouble() + : null, + dialogflowIntentId: _json.containsKey('dialogflowIntentId') + ? _json['dialogflowIntentId'] as core.String + : null, + ); + + core.Map toJson() => { + if (confidence != null) 'confidence': confidence!, + if (dialogflowIntentId != null) + 'dialogflowIntentId': dialogflowIntentId!, + }; +} + +/// A Dialogflow source of conversation data. +class GoogleCloudContactcenterinsightsV1DialogflowSource { + /// Cloud Storage URI that points to a file that contains the conversation + /// audio. + core.String? audioUri; + + /// The name of the Dialogflow conversation that this conversation resource is + /// derived from. + /// + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// Output only. + core.String? dialogflowConversation; + + GoogleCloudContactcenterinsightsV1DialogflowSource({ + this.audioUri, + this.dialogflowConversation, + }); + + GoogleCloudContactcenterinsightsV1DialogflowSource.fromJson(core.Map _json) + : this( + audioUri: _json.containsKey('audioUri') + ? _json['audioUri'] as core.String + : null, + dialogflowConversation: _json.containsKey('dialogflowConversation') + ? _json['dialogflowConversation'] as core.String + : null, + ); + + core.Map toJson() => { + if (audioUri != null) 'audioUri': audioUri!, + if (dialogflowConversation != null) + 'dialogflowConversation': dialogflowConversation!, + }; +} + +/// The data for an entity annotation. +/// +/// Represents a phrase in the conversation that is a known entity, such as a +/// person, an organization, or location. +class GoogleCloudContactcenterinsightsV1Entity { + /// The representative name for the entity. + core.String? displayName; + + /// Metadata associated with the entity. + /// + /// For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) + /// and Knowledge Graph MID (`mid`), if they are available. For the metadata + /// associated with other entity types, see the Type table below. + core.Map? metadata; + + /// The salience score associated with the entity in the \[0, 1.0\] range. + /// + /// The salience score for an entity provides information about the importance + /// or centrality of that entity to the entire document text. Scores closer to + /// 0 are less salient, while scores closer to 1.0 are highly salient. + core.double? salience; + + /// The aggregate sentiment expressed for this entity in the conversation. + GoogleCloudContactcenterinsightsV1SentimentData? sentiment; + + /// The entity type. + /// Possible string values are: + /// - "TYPE_UNSPECIFIED" : Unspecified. + /// - "PERSON" : Person. + /// - "LOCATION" : Location. + /// - "ORGANIZATION" : Organization. + /// - "EVENT" : Event. + /// - "WORK_OF_ART" : Artwork. + /// - "CONSUMER_GOOD" : Consumer product. + /// - "OTHER" : Other types of entities. + /// - "PHONE_NUMBER" : Phone number. The metadata lists the phone number + /// (formatted according to local convention), plus whichever additional + /// elements appear in the text: * `number` - The actual number, broken down + /// into sections according to local convention. * `national_prefix` - Country + /// code, if detected. * `area_code` - Region or area code, if detected. * + /// `extension` - Phone extension (to be dialed after connection), if + /// detected. + /// - "ADDRESS" : Address. The metadata identifies the street number and + /// locality plus whichever additional elements appear in the text: * + /// `street_number` - Street number. * `locality` - City or town. * + /// `street_name` - Street/route name, if detected. * `postal_code` - Postal + /// code, if detected. * `country` - Country, if detected. * `broad_region` - + /// Administrative area, such as the state, if detected. * `narrow_region` - + /// Smaller administrative area, such as county, if detected. * `sublocality` + /// - Used in Asian addresses to demark a district within a city, if detected. + /// - "DATE" : Date. The metadata identifies the components of the date: * + /// `year` - Four digit year, if detected. * `month` - Two digit month number, + /// if detected. * `day` - Two digit day number, if detected. + /// - "NUMBER" : Number. The metadata is the number itself. + /// - "PRICE" : Price. The metadata identifies the `value` and `currency`. + core.String? type; + + GoogleCloudContactcenterinsightsV1Entity({ + this.displayName, + this.metadata, + this.salience, + this.sentiment, + this.type, + }); + + GoogleCloudContactcenterinsightsV1Entity.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + salience: _json.containsKey('salience') + ? (_json['salience'] as core.num).toDouble() + : null, + sentiment: _json.containsKey('sentiment') + ? GoogleCloudContactcenterinsightsV1SentimentData.fromJson( + _json['sentiment'] as core.Map) + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (metadata != null) 'metadata': metadata!, + if (salience != null) 'salience': salience!, + if (sentiment != null) 'sentiment': sentiment!.toJson(), + if (type != null) 'type': type!, + }; +} + +/// The data for an entity mention annotation. +/// +/// This represents a mention of an `Entity` in the conversation. +class GoogleCloudContactcenterinsightsV1EntityMentionData { + /// The key of this entity in conversation entities. + /// + /// Can be used to retrieve the exact `Entity` this mention is attached to. + core.String? entityUniqueId; + + /// Sentiment expressed for this mention of the entity. + GoogleCloudContactcenterinsightsV1SentimentData? sentiment; + + /// The type of the entity mention. + /// Possible string values are: + /// - "MENTION_TYPE_UNSPECIFIED" : Unspecified. + /// - "PROPER" : Proper noun. + /// - "COMMON" : Common noun (or noun compound). + core.String? type; + + GoogleCloudContactcenterinsightsV1EntityMentionData({ + this.entityUniqueId, + this.sentiment, + this.type, + }); + + GoogleCloudContactcenterinsightsV1EntityMentionData.fromJson(core.Map _json) + : this( + entityUniqueId: _json.containsKey('entityUniqueId') + ? _json['entityUniqueId'] as core.String + : null, + sentiment: _json.containsKey('sentiment') + ? GoogleCloudContactcenterinsightsV1SentimentData.fromJson( + _json['sentiment'] as core.Map) + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (entityUniqueId != null) 'entityUniqueId': entityUniqueId!, + if (sentiment != null) 'sentiment': sentiment!.toJson(), + if (type != null) 'type': type!, + }; +} + +/// Exact match configuration. +class GoogleCloudContactcenterinsightsV1ExactMatchConfig { + /// Whether to consider case sensitivity when performing an exact match. + core.bool? caseSensitive; + + GoogleCloudContactcenterinsightsV1ExactMatchConfig({ + this.caseSensitive, + }); + + GoogleCloudContactcenterinsightsV1ExactMatchConfig.fromJson(core.Map _json) + : this( + caseSensitive: _json.containsKey('caseSensitive') + ? _json['caseSensitive'] as core.bool + : null, + ); + + core.Map toJson() => { + if (caseSensitive != null) 'caseSensitive': caseSensitive!, + }; +} + +/// Metadata for an export insights operation. +class GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// Partial errors during export operation that might cause the operation + /// output to be incomplete. + core.List? partialErrors; + + /// The original request for export. + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest? request; + + GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata({ + this.createTime, + this.endTime, + this.partialErrors, + this.request, + }); + + GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + partialErrors: _json.containsKey('partialErrors') + ? (_json['partialErrors'] as core.List) + .map((value) => GoogleRpcStatus.fromJson( + value as core.Map)) + .toList() + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (partialErrors != null) + 'partialErrors': + partialErrors!.map((value) => value.toJson()).toList(), + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to export insights. +class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest { + /// Specified if sink is a BigQuery table. + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination? + bigQueryDestination; + + /// A filter to reduce results to a specific subset. + /// + /// Useful for exporting conversations with specific properties. + core.String? filter; + + /// A fully qualified KMS key name for BigQuery tables protected by CMEK. + /// + /// Format: + /// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} + core.String? kmsKey; + + /// The parent resource to export data from. + /// + /// Required. + core.String? parent; + + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest({ + this.bigQueryDestination, + this.filter, + this.kmsKey, + this.parent, + }); + + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest.fromJson( + core.Map _json) + : this( + bigQueryDestination: _json.containsKey('bigQueryDestination') + ? GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination + .fromJson(_json['bigQueryDestination'] + as core.Map) + : null, + filter: _json.containsKey('filter') + ? _json['filter'] as core.String + : null, + kmsKey: _json.containsKey('kmsKey') + ? _json['kmsKey'] as core.String + : null, + parent: _json.containsKey('parent') + ? _json['parent'] as core.String + : null, + ); + + core.Map toJson() => { + if (bigQueryDestination != null) + 'bigQueryDestination': bigQueryDestination!.toJson(), + if (filter != null) 'filter': filter!, + if (kmsKey != null) 'kmsKey': kmsKey!, + if (parent != null) 'parent': parent!, + }; +} + +/// A BigQuery Table Reference. +class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination { + /// The name of the BigQuery dataset that the snapshot result should be + /// exported to. + /// + /// If this dataset does not exist, the export call returns an + /// INVALID_ARGUMENT error. + /// + /// Required. + core.String? dataset; + + /// A project ID or number. + /// + /// If specified, then export will attempt to write data to this project + /// instead of the resource project. Otherwise, the resource project will be + /// used. + core.String? projectId; + + /// The BigQuery table name to which the insights data should be written. + /// + /// If this table does not exist, the export call returns an INVALID_ARGUMENT + /// error. + core.String? table; + + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination({ + this.dataset, + this.projectId, + this.table, + }); + + GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination.fromJson( + core.Map _json) + : this( + dataset: _json.containsKey('dataset') + ? _json['dataset'] as core.String + : null, + projectId: _json.containsKey('projectId') + ? _json['projectId'] as core.String + : null, + table: + _json.containsKey('table') ? _json['table'] as core.String : null, + ); + + core.Map toJson() => { + if (dataset != null) 'dataset': dataset!, + if (projectId != null) 'projectId': projectId!, + if (table != null) 'table': table!, + }; +} + +/// Response for an export insights operation. +class GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse { + GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse(); + + GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Agent Assist frequently-asked-question answer data. +class GoogleCloudContactcenterinsightsV1FaqAnswerData { + /// The piece of text from the `source` knowledge base document. + core.String? answer; + + /// The system's confidence score that this answer is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). + core.double? confidenceScore; + + /// Map that contains metadata about the FAQ answer and the document that it + /// originates from. + core.Map? metadata; + + /// Name of the query record. + /// + /// Format: + /// projects/{project}/locations/{location}/queryRecords/{query_record}. + core.String? queryRecord; + + /// The corresponding FAQ question. + core.String? question; + + /// The knowledge document that this answer was extracted from. + /// + /// Format: + /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. + core.String? source; + + GoogleCloudContactcenterinsightsV1FaqAnswerData({ + this.answer, + this.confidenceScore, + this.metadata, + this.queryRecord, + this.question, + this.source, + }); + + GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson(core.Map _json) + : this( + answer: _json.containsKey('answer') + ? _json['answer'] as core.String + : null, + confidenceScore: _json.containsKey('confidenceScore') + ? (_json['confidenceScore'] as core.num).toDouble() + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + queryRecord: _json.containsKey('queryRecord') + ? _json['queryRecord'] as core.String + : null, + question: _json.containsKey('question') + ? _json['question'] as core.String + : null, + source: _json.containsKey('source') + ? _json['source'] as core.String + : null, + ); + + core.Map toJson() => { + if (answer != null) 'answer': answer!, + if (confidenceScore != null) 'confidenceScore': confidenceScore!, + if (metadata != null) 'metadata': metadata!, + if (queryRecord != null) 'queryRecord': queryRecord!, + if (question != null) 'question': question!, + if (source != null) 'source': source!, + }; +} + +/// A Cloud Storage source of conversation data. +class GoogleCloudContactcenterinsightsV1GcsSource { + /// Cloud Storage URI that points to a file that contains the conversation + /// audio. + core.String? audioUri; + + /// Cloud Storage URI that points to a file that contains the conversation + /// transcript. + /// + /// Immutable. + core.String? transcriptUri; + + GoogleCloudContactcenterinsightsV1GcsSource({ + this.audioUri, + this.transcriptUri, + }); + + GoogleCloudContactcenterinsightsV1GcsSource.fromJson(core.Map _json) + : this( + audioUri: _json.containsKey('audioUri') + ? _json['audioUri'] as core.String + : null, + transcriptUri: _json.containsKey('transcriptUri') + ? _json['transcriptUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (audioUri != null) 'audioUri': audioUri!, + if (transcriptUri != null) 'transcriptUri': transcriptUri!, + }; +} + +/// The data for a hold annotation. +class GoogleCloudContactcenterinsightsV1HoldData { + GoogleCloudContactcenterinsightsV1HoldData(); + + GoogleCloudContactcenterinsightsV1HoldData.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The data for an intent. +/// +/// Represents a detected intent in the conversation, for example MAKES_PROMISE. +class GoogleCloudContactcenterinsightsV1Intent { + /// The human-readable name of the intent. + core.String? displayName; + + /// The unique identifier of the intent. + core.String? id; + + GoogleCloudContactcenterinsightsV1Intent({ + this.displayName, + this.id, + }); + + GoogleCloudContactcenterinsightsV1Intent.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + id: _json.containsKey('id') ? _json['id'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (id != null) 'id': id!, + }; +} + +/// The data for an intent match. +/// +/// Represents an intent match for a text segment in the conversation. A text +/// segment can be part of a sentence, a complete sentence, or an utterance with +/// multiple sentences. +class GoogleCloudContactcenterinsightsV1IntentMatchData { + /// The id of the matched intent. + /// + /// Can be used to retrieve the corresponding intent information. + core.String? intentUniqueId; + + GoogleCloudContactcenterinsightsV1IntentMatchData({ + this.intentUniqueId, + }); + + GoogleCloudContactcenterinsightsV1IntentMatchData.fromJson(core.Map _json) + : this( + intentUniqueId: _json.containsKey('intentUniqueId') + ? _json['intentUniqueId'] as core.String + : null, + ); + + core.Map toJson() => { + if (intentUniqueId != null) 'intentUniqueId': intentUniqueId!, + }; +} + +/// The data for an interruption annotation. +class GoogleCloudContactcenterinsightsV1InterruptionData { + GoogleCloudContactcenterinsightsV1InterruptionData(); + + GoogleCloudContactcenterinsightsV1InterruptionData.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The issue resource. +class GoogleCloudContactcenterinsightsV1Issue { + /// The time at which this issue was created. + /// + /// Output only. + core.String? createTime; + + /// The representative name for the issue. + core.String? displayName; + + /// The resource name of the issue. + /// + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + /// Immutable. + core.String? name; + + /// The most recent time that this issue was updated. + /// + /// Output only. + core.String? updateTime; + + GoogleCloudContactcenterinsightsV1Issue({ + this.createTime, + this.displayName, + this.name, + this.updateTime, + }); + + GoogleCloudContactcenterinsightsV1Issue.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (name != null) 'name': name!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Information about the issue. +class GoogleCloudContactcenterinsightsV1IssueAssignment { + /// Display name of the assigned issue. + /// + /// This field is set at time of analyis and immutable since then. + /// + /// Immutable. + core.String? displayName; + + /// Resource name of the assigned issue. + core.String? issue; + + /// Score indicating the likelihood of the issue assignment. + /// + /// currently bounded on \[0,1\]. + core.double? score; + + GoogleCloudContactcenterinsightsV1IssueAssignment({ + this.displayName, + this.issue, + this.score, + }); + + GoogleCloudContactcenterinsightsV1IssueAssignment.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + issue: + _json.containsKey('issue') ? _json['issue'] as core.String : null, + score: _json.containsKey('score') + ? (_json['score'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (issue != null) 'issue': issue!, + if (score != null) 'score': score!, + }; +} + +/// The issue model resource. +class GoogleCloudContactcenterinsightsV1IssueModel { + /// The time at which this issue model was created. + /// + /// Output only. + core.String? createTime; + + /// The representative name for the issue model. + core.String? displayName; + + /// Configs for the input data that used to create the issue model. + GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig? inputDataConfig; + + /// The resource name of the issue model. + /// + /// Format: projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// Immutable. + core.String? name; + + /// State of the model. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Unspecified. + /// - "UNDEPLOYED" : Model is not deployed but is ready to deploy. + /// - "DEPLOYING" : Model is being deployed. + /// - "DEPLOYED" : Model is deployed and is ready to be used. A model can only + /// be used in analysis if it's in this state. + /// - "UNDEPLOYING" : Model is being undeployed. + /// - "DELETING" : Model is being deleted. + core.String? state; + + /// The issue model's label statistics on its training data. + /// + /// Output only. Immutable. + GoogleCloudContactcenterinsightsV1IssueModelLabelStats? trainingStats; + + /// The most recent time at which the issue model was updated. + /// + /// Output only. + core.String? updateTime; + + GoogleCloudContactcenterinsightsV1IssueModel({ + this.createTime, + this.displayName, + this.inputDataConfig, + this.name, + this.state, + this.trainingStats, + this.updateTime, + }); + + GoogleCloudContactcenterinsightsV1IssueModel.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + inputDataConfig: _json.containsKey('inputDataConfig') + ? GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig + .fromJson(_json['inputDataConfig'] + as core.Map) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + trainingStats: _json.containsKey('trainingStats') + ? GoogleCloudContactcenterinsightsV1IssueModelLabelStats.fromJson( + _json['trainingStats'] as core.Map) + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (inputDataConfig != null) + 'inputDataConfig': inputDataConfig!.toJson(), + if (name != null) 'name': name!, + if (state != null) 'state': state!, + if (trainingStats != null) 'trainingStats': trainingStats!.toJson(), + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Configs for the input data used to create the issue model. +class GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig { + /// + /// + /// Required. + /// Possible string values are: + /// - "MEDIUM_UNSPECIFIED" : Default value. + /// - "PHONE_CALL" : The format for conversations that took place over the + /// phone. + /// - "CHAT" : The format for conversations that took place over chat. + core.String? medium; + + /// Number of conversations used in training. + /// + /// Output only. + /// + /// Output only. + core.String? trainingConversationsCount; + + GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig({ + this.medium, + this.trainingConversationsCount, + }); + + GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig.fromJson( + core.Map _json) + : this( + medium: _json.containsKey('medium') + ? _json['medium'] as core.String + : null, + trainingConversationsCount: + _json.containsKey('trainingConversationsCount') + ? _json['trainingConversationsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (medium != null) 'medium': medium!, + if (trainingConversationsCount != null) + 'trainingConversationsCount': trainingConversationsCount!, + }; +} + +/// Aggregated statistics about an issue model. +class GoogleCloudContactcenterinsightsV1IssueModelLabelStats { + /// Number of conversations the issue model has analyzed at this point in + /// time. + core.String? analyzedConversationsCount; + + /// Statistics on each issue. + /// + /// Key is the issue's resource name. + core.Map? + issueStats; + + /// Number of analyzed conversations for which no issue was applicable at this + /// point in time. + core.String? unclassifiedConversationsCount; + + GoogleCloudContactcenterinsightsV1IssueModelLabelStats({ + this.analyzedConversationsCount, + this.issueStats, + this.unclassifiedConversationsCount, + }); + + GoogleCloudContactcenterinsightsV1IssueModelLabelStats.fromJson( + core.Map _json) + : this( + analyzedConversationsCount: + _json.containsKey('analyzedConversationsCount') + ? _json['analyzedConversationsCount'] as core.String + : null, + issueStats: _json.containsKey('issueStats') + ? (_json['issueStats'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats + .fromJson(item as core.Map), + ), + ) + : null, + unclassifiedConversationsCount: + _json.containsKey('unclassifiedConversationsCount') + ? _json['unclassifiedConversationsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (analyzedConversationsCount != null) + 'analyzedConversationsCount': analyzedConversationsCount!, + if (issueStats != null) + 'issueStats': + issueStats!.map((key, item) => core.MapEntry(key, item.toJson())), + if (unclassifiedConversationsCount != null) + 'unclassifiedConversationsCount': unclassifiedConversationsCount!, + }; +} + +/// Aggregated statistics about an issue. +class GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats { + /// Issue resource. + /// + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + core.String? issue; + + /// Number of conversations attached to the issue at this point in time. + core.String? labeledConversationsCount; + + GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats({ + this.issue, + this.labeledConversationsCount, + }); + + GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats.fromJson( + core.Map _json) + : this( + issue: + _json.containsKey('issue') ? _json['issue'] as core.String : null, + labeledConversationsCount: + _json.containsKey('labeledConversationsCount') + ? _json['labeledConversationsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (issue != null) 'issue': issue!, + if (labeledConversationsCount != null) + 'labeledConversationsCount': labeledConversationsCount!, + }; +} + +/// Issue Modeling result on a conversation. +class GoogleCloudContactcenterinsightsV1IssueModelResult { + /// Issue model that generates the result. + core.String? issueModel; + + /// All the matched issues. + core.List? issues; + + GoogleCloudContactcenterinsightsV1IssueModelResult({ + this.issueModel, + this.issues, + }); + + GoogleCloudContactcenterinsightsV1IssueModelResult.fromJson(core.Map _json) + : this( + issueModel: _json.containsKey('issueModel') + ? _json['issueModel'] as core.String + : null, + issues: _json.containsKey('issues') + ? (_json['issues'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1IssueAssignment + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (issueModel != null) 'issueModel': issueModel!, + if (issues != null) + 'issues': issues!.map((value) => value.toJson()).toList(), + }; +} + +/// The response to list analyses. +class GoogleCloudContactcenterinsightsV1ListAnalysesResponse { + /// The analyses that match the request. + core.List? analyses; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleCloudContactcenterinsightsV1ListAnalysesResponse({ + this.analyses, + this.nextPageToken, + }); + + GoogleCloudContactcenterinsightsV1ListAnalysesResponse.fromJson( + core.Map _json) + : this( + analyses: _json.containsKey('analyses') + ? (_json['analyses'] as core.List) + .map((value) => + GoogleCloudContactcenterinsightsV1Analysis.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (analyses != null) + 'analyses': analyses!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response of listing conversations. +class GoogleCloudContactcenterinsightsV1ListConversationsResponse { + /// The conversations that match the request. + core.List? conversations; + + /// A token which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is set, it means there is another page available. If it is + /// not set, it means no other pages are available. + core.String? nextPageToken; + + GoogleCloudContactcenterinsightsV1ListConversationsResponse({ + this.conversations, + this.nextPageToken, + }); + + GoogleCloudContactcenterinsightsV1ListConversationsResponse.fromJson( + core.Map _json) + : this( + conversations: _json.containsKey('conversations') + ? (_json['conversations'] as core.List) + .map( + (value) => GoogleCloudContactcenterinsightsV1Conversation + .fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (conversations != null) + 'conversations': + conversations!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response of listing issue models. +class GoogleCloudContactcenterinsightsV1ListIssueModelsResponse { + /// The issue models that match the request. + core.List? issueModels; + + GoogleCloudContactcenterinsightsV1ListIssueModelsResponse({ + this.issueModels, + }); + + GoogleCloudContactcenterinsightsV1ListIssueModelsResponse.fromJson( + core.Map _json) + : this( + issueModels: _json.containsKey('issueModels') + ? (_json['issueModels'] as core.List) + .map((value) => + GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (issueModels != null) + 'issueModels': issueModels!.map((value) => value.toJson()).toList(), + }; +} + +/// The response of listing issues. +class GoogleCloudContactcenterinsightsV1ListIssuesResponse { + /// The issues that match the request. + core.List? issues; + + GoogleCloudContactcenterinsightsV1ListIssuesResponse({ + this.issues, + }); + + GoogleCloudContactcenterinsightsV1ListIssuesResponse.fromJson(core.Map _json) + : this( + issues: _json.containsKey('issues') + ? (_json['issues'] as core.List) + .map((value) => + GoogleCloudContactcenterinsightsV1Issue.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (issues != null) + 'issues': issues!.map((value) => value.toJson()).toList(), + }; +} + +/// The response of listing phrase matchers. +class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// The phrase matchers that match the request. + core.List? phraseMatchers; + + GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse({ + this.nextPageToken, + this.phraseMatchers, + }); + + GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse.fromJson( + core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + phraseMatchers: _json.containsKey('phraseMatchers') + ? (_json['phraseMatchers'] as core.List) + .map( + (value) => GoogleCloudContactcenterinsightsV1PhraseMatcher + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (phraseMatchers != null) + 'phraseMatchers': + phraseMatchers!.map((value) => value.toJson()).toList(), + }; +} + +/// The data for a matched phrase matcher. +/// +/// Represents information identifying a phrase matcher for a given match. +class GoogleCloudContactcenterinsightsV1PhraseMatchData { + /// The human-readable name of the phrase matcher. + core.String? displayName; + + /// The unique identifier (the resource name) of the phrase matcher. + core.String? phraseMatcher; + + GoogleCloudContactcenterinsightsV1PhraseMatchData({ + this.displayName, + this.phraseMatcher, + }); + + GoogleCloudContactcenterinsightsV1PhraseMatchData.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + phraseMatcher: _json.containsKey('phraseMatcher') + ? _json['phraseMatcher'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (phraseMatcher != null) 'phraseMatcher': phraseMatcher!, + }; +} + +/// The data for a phrase match rule. +class GoogleCloudContactcenterinsightsV1PhraseMatchRule { + /// Provides additional information about the rule that specifies how to apply + /// the rule. + GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig? config; + + /// Specifies whether the phrase must be missing from the transcript segment + /// or present in the transcript segment. + core.bool? negated; + + /// The phrase to be matched. + /// + /// Required. + core.String? query; + + GoogleCloudContactcenterinsightsV1PhraseMatchRule({ + this.config, + this.negated, + this.query, + }); + + GoogleCloudContactcenterinsightsV1PhraseMatchRule.fromJson(core.Map _json) + : this( + config: _json.containsKey('config') + ? GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig + .fromJson( + _json['config'] as core.Map) + : null, + negated: _json.containsKey('negated') + ? _json['negated'] as core.bool + : null, + query: + _json.containsKey('query') ? _json['query'] as core.String : null, + ); + + core.Map toJson() => { + if (config != null) 'config': config!.toJson(), + if (negated != null) 'negated': negated!, + if (query != null) 'query': query!, + }; +} + +/// Configuration information of a phrase match rule. +class GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig { + /// The configuration for the exact match rule. + GoogleCloudContactcenterinsightsV1ExactMatchConfig? exactMatchConfig; + + GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig({ + this.exactMatchConfig, + }); + + GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig.fromJson( + core.Map _json) + : this( + exactMatchConfig: _json.containsKey('exactMatchConfig') + ? GoogleCloudContactcenterinsightsV1ExactMatchConfig.fromJson( + _json['exactMatchConfig'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (exactMatchConfig != null) + 'exactMatchConfig': exactMatchConfig!.toJson(), + }; +} + +/// A message representing a rule in the phrase matcher. +class GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup { + /// A list of phase match rules that are included in this group. + core.List? + phraseMatchRules; + + /// The type of this phrase match rule group. + /// + /// Required. + /// Possible string values are: + /// - "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED" : Unspecified. + /// - "ALL_OF" : Must meet all phrase match rules or there is no match. + /// - "ANY_OF" : If any of the phrase match rules are met, there is a match. + core.String? type; + + GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup({ + this.phraseMatchRules, + this.type, + }); + + GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup.fromJson( + core.Map _json) + : this( + phraseMatchRules: _json.containsKey('phraseMatchRules') + ? (_json['phraseMatchRules'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1PhraseMatchRule + .fromJson( + value as core.Map)) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (phraseMatchRules != null) + 'phraseMatchRules': + phraseMatchRules!.map((value) => value.toJson()).toList(), + if (type != null) 'type': type!, + }; +} + +/// The phrase matcher resource. +class GoogleCloudContactcenterinsightsV1PhraseMatcher { + /// The most recent time at which the activation status was updated. + /// + /// Output only. + core.String? activationUpdateTime; + + /// Applies the phrase matcher only when it is active. + core.bool? active; + + /// The human-readable name of the phrase matcher. + core.String? displayName; + + /// The resource name of the phrase matcher. + /// + /// Format: + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + core.String? name; + + /// A list of phase match rule groups that are included in this matcher. + core.List? + phraseMatchRuleGroups; + + /// The timestamp of when the revision was created. + /// + /// It is also the create time when a new matcher is added. + /// + /// Output only. + core.String? revisionCreateTime; + + /// The revision ID of the phrase matcher. + /// + /// A new revision is committed whenever the matcher is changed, except when + /// it is activated or deactivated. A server generated random ID will be used. + /// Example: locations/global/phraseMatchers/my-first-matcher@1234567 + /// + /// Output only. Immutable. + core.String? revisionId; + + /// The role whose utterances the phrase matcher should be matched against. + /// + /// If the role is ROLE_UNSPECIFIED it will be matched against any utterances + /// in the transcript. + /// Possible string values are: + /// - "ROLE_UNSPECIFIED" : Participant's role is not set. + /// - "HUMAN_AGENT" : Participant is a human agent. + /// - "AUTOMATED_AGENT" : Participant is an automated agent. + /// - "END_USER" : Participant is an end user who conversed with the contact + /// center. + /// - "ANY_AGENT" : Participant is either a human or automated agent. + core.String? roleMatch; + + /// The type of this phrase matcher. + /// + /// Required. + /// Possible string values are: + /// - "PHRASE_MATCHER_TYPE_UNSPECIFIED" : Unspecified. + /// - "ALL_OF" : Must meet all phrase match rule groups or there is no match. + /// - "ANY_OF" : If any of the phrase match rule groups are met, there is a + /// match. + core.String? type; + + /// The customized version tag to use for the phrase matcher. + /// + /// If not specified, it will default to `revision_id`. + core.String? versionTag; + + GoogleCloudContactcenterinsightsV1PhraseMatcher({ + this.activationUpdateTime, + this.active, + this.displayName, + this.name, + this.phraseMatchRuleGroups, + this.revisionCreateTime, + this.revisionId, + this.roleMatch, + this.type, + this.versionTag, + }); + + GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson(core.Map _json) + : this( + activationUpdateTime: _json.containsKey('activationUpdateTime') + ? _json['activationUpdateTime'] as core.String + : null, + active: + _json.containsKey('active') ? _json['active'] as core.bool : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + phraseMatchRuleGroups: _json.containsKey('phraseMatchRuleGroups') + ? (_json['phraseMatchRuleGroups'] as core.List) + .map( + (value) => + GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup + .fromJson( + value as core.Map)) + .toList() + : null, + revisionCreateTime: _json.containsKey('revisionCreateTime') + ? _json['revisionCreateTime'] as core.String + : null, + revisionId: _json.containsKey('revisionId') + ? _json['revisionId'] as core.String + : null, + roleMatch: _json.containsKey('roleMatch') + ? _json['roleMatch'] as core.String + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + versionTag: _json.containsKey('versionTag') + ? _json['versionTag'] as core.String + : null, + ); + + core.Map toJson() => { + if (activationUpdateTime != null) + 'activationUpdateTime': activationUpdateTime!, + if (active != null) 'active': active!, + if (displayName != null) 'displayName': displayName!, + if (name != null) 'name': name!, + if (phraseMatchRuleGroups != null) + 'phraseMatchRuleGroups': + phraseMatchRuleGroups!.map((value) => value.toJson()).toList(), + if (revisionCreateTime != null) + 'revisionCreateTime': revisionCreateTime!, + if (revisionId != null) 'revisionId': revisionId!, + if (roleMatch != null) 'roleMatch': roleMatch!, + if (type != null) 'type': type!, + if (versionTag != null) 'versionTag': versionTag!, + }; +} + +/// An annotation that was generated during the customer and agent interaction. +class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { + /// The unique identifier of the annotation. + /// + /// Format: + /// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} + core.String? annotationId; + + /// The feedback that the customer has about the answer in `data`. + GoogleCloudContactcenterinsightsV1AnswerFeedback? answerFeedback; + + /// Agent Assist Article Suggestion data. + GoogleCloudContactcenterinsightsV1ArticleSuggestionData? articleSuggestion; + + /// The time at which this annotation was created. + core.String? createTime; + + /// Dialogflow interaction data. + GoogleCloudContactcenterinsightsV1DialogflowInteractionData? + dialogflowInteraction; + + /// The boundary in the conversation where the annotation ends, inclusive. + GoogleCloudContactcenterinsightsV1AnnotationBoundary? endBoundary; + + /// Agent Assist FAQ answer data. + GoogleCloudContactcenterinsightsV1FaqAnswerData? faqAnswer; + + /// Agent Assist Smart Compose suggestion data. + GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData? + smartComposeSuggestion; + + /// Agent Assist Smart Reply data. + GoogleCloudContactcenterinsightsV1SmartReplyData? smartReply; + + /// The boundary in the conversation where the annotation starts, inclusive. + GoogleCloudContactcenterinsightsV1AnnotationBoundary? startBoundary; + + GoogleCloudContactcenterinsightsV1RuntimeAnnotation({ + this.annotationId, + this.answerFeedback, + this.articleSuggestion, + this.createTime, + this.dialogflowInteraction, + this.endBoundary, + this.faqAnswer, + this.smartComposeSuggestion, + this.smartReply, + this.startBoundary, + }); + + GoogleCloudContactcenterinsightsV1RuntimeAnnotation.fromJson(core.Map _json) + : this( + annotationId: _json.containsKey('annotationId') + ? _json['annotationId'] as core.String + : null, + answerFeedback: _json.containsKey('answerFeedback') + ? GoogleCloudContactcenterinsightsV1AnswerFeedback.fromJson( + _json['answerFeedback'] + as core.Map) + : null, + articleSuggestion: _json.containsKey('articleSuggestion') + ? GoogleCloudContactcenterinsightsV1ArticleSuggestionData + .fromJson(_json['articleSuggestion'] + as core.Map) + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + dialogflowInteraction: _json.containsKey('dialogflowInteraction') + ? GoogleCloudContactcenterinsightsV1DialogflowInteractionData + .fromJson(_json['dialogflowInteraction'] + as core.Map) + : null, + endBoundary: _json.containsKey('endBoundary') + ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson( + _json['endBoundary'] as core.Map) + : null, + faqAnswer: _json.containsKey('faqAnswer') + ? GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson( + _json['faqAnswer'] as core.Map) + : null, + smartComposeSuggestion: _json.containsKey('smartComposeSuggestion') + ? GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData + .fromJson(_json['smartComposeSuggestion'] + as core.Map) + : null, + smartReply: _json.containsKey('smartReply') + ? GoogleCloudContactcenterinsightsV1SmartReplyData.fromJson( + _json['smartReply'] as core.Map) + : null, + startBoundary: _json.containsKey('startBoundary') + ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson( + _json['startBoundary'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (annotationId != null) 'annotationId': annotationId!, + if (answerFeedback != null) 'answerFeedback': answerFeedback!.toJson(), + if (articleSuggestion != null) + 'articleSuggestion': articleSuggestion!.toJson(), + if (createTime != null) 'createTime': createTime!, + if (dialogflowInteraction != null) + 'dialogflowInteraction': dialogflowInteraction!.toJson(), + if (endBoundary != null) 'endBoundary': endBoundary!.toJson(), + if (faqAnswer != null) 'faqAnswer': faqAnswer!.toJson(), + if (smartComposeSuggestion != null) + 'smartComposeSuggestion': smartComposeSuggestion!.toJson(), + if (smartReply != null) 'smartReply': smartReply!.toJson(), + if (startBoundary != null) 'startBoundary': startBoundary!.toJson(), + }; +} + +/// The data for a sentiment annotation. +class GoogleCloudContactcenterinsightsV1SentimentData { + /// A non-negative number from 0 to infinity which represents the abolute + /// magnitude of sentiment regardless of score. + core.double? magnitude; + + /// The sentiment score between -1.0 (negative) and 1.0 (positive). + core.double? score; + + GoogleCloudContactcenterinsightsV1SentimentData({ + this.magnitude, + this.score, + }); + + GoogleCloudContactcenterinsightsV1SentimentData.fromJson(core.Map _json) + : this( + magnitude: _json.containsKey('magnitude') + ? (_json['magnitude'] as core.num).toDouble() + : null, + score: _json.containsKey('score') + ? (_json['score'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (magnitude != null) 'magnitude': magnitude!, + if (score != null) 'score': score!, + }; +} + +/// The settings resource. +class GoogleCloudContactcenterinsightsV1Settings { + /// Default analysis settings. + GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig? analysisConfig; + + /// The default TTL for newly-created conversations. + /// + /// If a conversation has a specified expiration, that value will be used + /// instead. Changing this value will not change the expiration of existing + /// conversations. Conversations with no expire time persist until they are + /// deleted. + core.String? conversationTtl; + + /// The time at which the settings was created. + /// + /// Output only. + core.String? createTime; + + /// A language code to be applied to each transcript segment unless the + /// segment already specifies a language code. + /// + /// Language code defaults to "en-US" if it is neither specified on the + /// segment nor here. + core.String? languageCode; + + /// The resource name of the settings resource. + /// + /// Format: projects/{project}/locations/{location}/settings + /// + /// Immutable. + core.String? name; + + /// A map that maps a notification trigger to a Pub/Sub topic. + /// + /// Each time a specified trigger occurs, Insights will notify the + /// corresponding Pub/Sub topic. Keys are notification triggers. Supported + /// keys are: * "all-triggers": Notify each time any of the supported triggers + /// occurs. * "create-analysis": Notify each time an analysis is created. * + /// "create-conversation": Notify each time a conversation is created. * + /// "export-insights-data": Notify each time an export is complete. * + /// "update-conversation": Notify each time a conversation is updated via + /// UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub + /// topic is: projects/{project}/topics/{topic} + core.Map? pubsubNotificationSettings; + + /// The time at which the settings were last updated. + /// + /// Output only. + core.String? updateTime; + + GoogleCloudContactcenterinsightsV1Settings({ + this.analysisConfig, + this.conversationTtl, + this.createTime, + this.languageCode, + this.name, + this.pubsubNotificationSettings, + this.updateTime, + }); + + GoogleCloudContactcenterinsightsV1Settings.fromJson(core.Map _json) + : this( + analysisConfig: _json.containsKey('analysisConfig') + ? GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig + .fromJson(_json['analysisConfig'] + as core.Map) + : null, + conversationTtl: _json.containsKey('conversationTtl') + ? _json['conversationTtl'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + pubsubNotificationSettings: + _json.containsKey('pubsubNotificationSettings') + ? (_json['pubsubNotificationSettings'] + as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (analysisConfig != null) 'analysisConfig': analysisConfig!.toJson(), + if (conversationTtl != null) 'conversationTtl': conversationTtl!, + if (createTime != null) 'createTime': createTime!, + if (languageCode != null) 'languageCode': languageCode!, + if (name != null) 'name': name!, + if (pubsubNotificationSettings != null) + 'pubsubNotificationSettings': pubsubNotificationSettings!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Default configuration when creating Analyses in Insights. +class GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig { + /// Percentage of conversations created using Dialogflow runtime integration + /// to analyze automatically, between \[0, 100\]. + core.double? runtimeIntegrationAnalysisPercentage; + + GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig({ + this.runtimeIntegrationAnalysisPercentage, + }); + + GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig.fromJson( + core.Map _json) + : this( + runtimeIntegrationAnalysisPercentage: + _json.containsKey('runtimeIntegrationAnalysisPercentage') + ? (_json['runtimeIntegrationAnalysisPercentage'] as core.num) + .toDouble() + : null, + ); + + core.Map toJson() => { + if (runtimeIntegrationAnalysisPercentage != null) + 'runtimeIntegrationAnalysisPercentage': + runtimeIntegrationAnalysisPercentage!, + }; +} + +/// The data for a silence annotation. +class GoogleCloudContactcenterinsightsV1SilenceData { + GoogleCloudContactcenterinsightsV1SilenceData(); + + GoogleCloudContactcenterinsightsV1SilenceData.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Agent Assist Smart Compose suggestion data. +class GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData { + /// The system's confidence score that this suggestion is a good match for + /// this conversation, ranging from 0.0 (completely uncertain) to 1.0 + /// (completely certain). + core.double? confidenceScore; + + /// Map that contains metadata about the Smart Compose suggestion and the + /// document from which it originates. + core.Map? metadata; + + /// Name of the query record. + /// + /// Format: + /// projects/{project}/locations/{location}/queryRecords/{query_record} + core.String? queryRecord; + + /// The content of the suggestion. + core.String? suggestion; + + GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData({ + this.confidenceScore, + this.metadata, + this.queryRecord, + this.suggestion, + }); + + GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData.fromJson( + core.Map _json) + : this( + confidenceScore: _json.containsKey('confidenceScore') + ? (_json['confidenceScore'] as core.num).toDouble() + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + queryRecord: _json.containsKey('queryRecord') + ? _json['queryRecord'] as core.String + : null, + suggestion: _json.containsKey('suggestion') + ? _json['suggestion'] as core.String + : null, + ); + + core.Map toJson() => { + if (confidenceScore != null) 'confidenceScore': confidenceScore!, + if (metadata != null) 'metadata': metadata!, + if (queryRecord != null) 'queryRecord': queryRecord!, + if (suggestion != null) 'suggestion': suggestion!, + }; +} + +/// Agent Assist Smart Reply data. +class GoogleCloudContactcenterinsightsV1SmartReplyData { + /// The system's confidence score that this reply is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). + core.double? confidenceScore; + + /// Map that contains metadata about the Smart Reply and the document from + /// which it originates. + core.Map? metadata; + + /// Name of the query record. + /// + /// Format: + /// projects/{project}/locations/{location}/queryRecords/{query_record} + core.String? queryRecord; + + /// The content of the reply. + core.String? reply; + + GoogleCloudContactcenterinsightsV1SmartReplyData({ + this.confidenceScore, + this.metadata, + this.queryRecord, + this.reply, + }); + + GoogleCloudContactcenterinsightsV1SmartReplyData.fromJson(core.Map _json) + : this( + confidenceScore: _json.containsKey('confidenceScore') + ? (_json['confidenceScore'] as core.num).toDouble() + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + queryRecord: _json.containsKey('queryRecord') + ? _json['queryRecord'] as core.String + : null, + reply: + _json.containsKey('reply') ? _json['reply'] as core.String : null, + ); + + core.Map toJson() => { + if (confidenceScore != null) 'confidenceScore': confidenceScore!, + if (metadata != null) 'metadata': metadata!, + if (queryRecord != null) 'queryRecord': queryRecord!, + if (reply != null) 'reply': reply!, + }; +} + +/// Metadata for undeploying an issue model. +class GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for undeployment. + GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to undeploy an issue model. +class GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest { + /// The issue model to undeploy. + /// + /// Required. + core.String? name; + + GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest({ + this.name, + }); + + GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest.fromJson( + core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// The response to undeploy an issue model. +class GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse { + GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse(); + + GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for a create analysis operation. +class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata { + /// The Conversation that this Analysis Operation belongs to. + /// + /// Output only. + core.String? conversation; + + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata({ + this.conversation, + this.createTime, + this.endTime, + }); + + GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata.fromJson( + core.Map _json) + : this( + conversation: _json.containsKey('conversation') + ? _json['conversation'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (conversation != null) 'conversation': conversation!, + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + }; +} + +/// Metadata for creating an issue model. +class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for creation. + GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to create an issue model. +class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest { + /// The issue model to create. + /// + /// Required. + GoogleCloudContactcenterinsightsV1alpha1IssueModel? issueModel; + + /// The parent resource of the issue model. + /// + /// Required. + core.String? parent; + + GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest({ + this.issueModel, + this.parent, + }); + + GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest.fromJson( + core.Map _json) + : this( + issueModel: _json.containsKey('issueModel') + ? GoogleCloudContactcenterinsightsV1alpha1IssueModel.fromJson( + _json['issueModel'] as core.Map) + : null, + parent: _json.containsKey('parent') + ? _json['parent'] as core.String + : null, + ); + + core.Map toJson() => { + if (issueModel != null) 'issueModel': issueModel!.toJson(), + if (parent != null) 'parent': parent!, + }; +} + +/// Metadata for deleting an issue model. +class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for deletion. + GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to delete an issue model. +class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest { + /// The name of the issue model to delete. + /// + /// Required. + core.String? name; + + GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest({ + this.name, + }); + + GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest.fromJson( + core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// Metadata for deploying an issue model. +class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for deployment. + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to deploy an issue model. +class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest { + /// The issue model to deploy. + /// + /// Required. + core.String? name; + + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest({ + this.name, + }); + + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest.fromJson( + core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// The response to deploy an issue model. +class GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse { + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse(); + + GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata for an export insights operation. +class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// Partial errors during export operation that might cause the operation + /// output to be incomplete. + core.List? partialErrors; + + /// The original request for export. + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest? request; + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata({ + this.createTime, + this.endTime, + this.partialErrors, + this.request, + }); + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + partialErrors: _json.containsKey('partialErrors') + ? (_json['partialErrors'] as core.List) + .map((value) => GoogleRpcStatus.fromJson( + value as core.Map)) + .toList() + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (partialErrors != null) + 'partialErrors': + partialErrors!.map((value) => value.toJson()).toList(), + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to export insights. +class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest { + /// Specified if sink is a BigQuery table. + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination? + bigQueryDestination; + + /// A filter to reduce results to a specific subset. + /// + /// Useful for exporting conversations with specific properties. + core.String? filter; + + /// A fully qualified KMS key name for BigQuery tables protected by CMEK. + /// + /// Format: + /// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} + core.String? kmsKey; + + /// The parent resource to export data from. + /// + /// Required. + core.String? parent; + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest({ + this.bigQueryDestination, + this.filter, + this.kmsKey, + this.parent, + }); + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest.fromJson( + core.Map _json) + : this( + bigQueryDestination: _json.containsKey('bigQueryDestination') + ? GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination + .fromJson(_json['bigQueryDestination'] + as core.Map) + : null, + filter: _json.containsKey('filter') + ? _json['filter'] as core.String + : null, + kmsKey: _json.containsKey('kmsKey') + ? _json['kmsKey'] as core.String + : null, + parent: _json.containsKey('parent') + ? _json['parent'] as core.String + : null, + ); + + core.Map toJson() => { + if (bigQueryDestination != null) + 'bigQueryDestination': bigQueryDestination!.toJson(), + if (filter != null) 'filter': filter!, + if (kmsKey != null) 'kmsKey': kmsKey!, + if (parent != null) 'parent': parent!, + }; +} + +/// A BigQuery Table Reference. +class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination { + /// The name of the BigQuery dataset that the snapshot result should be + /// exported to. + /// + /// If this dataset does not exist, the export call returns an + /// INVALID_ARGUMENT error. + /// + /// Required. + core.String? dataset; + + /// A project ID or number. + /// + /// If specified, then export will attempt to write data to this project + /// instead of the resource project. Otherwise, the resource project will be + /// used. + core.String? projectId; + + /// The BigQuery table name to which the insights data should be written. + /// + /// If this table does not exist, the export call returns an INVALID_ARGUMENT + /// error. + core.String? table; + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination({ + this.dataset, + this.projectId, + this.table, + }); + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination.fromJson( + core.Map _json) + : this( + dataset: _json.containsKey('dataset') + ? _json['dataset'] as core.String + : null, + projectId: _json.containsKey('projectId') + ? _json['projectId'] as core.String + : null, + table: + _json.containsKey('table') ? _json['table'] as core.String : null, + ); + + core.Map toJson() => { + if (dataset != null) 'dataset': dataset!, + if (projectId != null) 'projectId': projectId!, + if (table != null) 'table': table!, + }; +} + +/// Response for an export insights operation. +class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse { + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse(); + + GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The issue model resource. +class GoogleCloudContactcenterinsightsV1alpha1IssueModel { + /// The time at which this issue model was created. + /// + /// Output only. + core.String? createTime; + + /// The representative name for the issue model. + core.String? displayName; + + /// Configs for the input data that used to create the issue model. + GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig? + inputDataConfig; + + /// The resource name of the issue model. + /// + /// Format: projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// Immutable. + core.String? name; + + /// State of the model. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Unspecified. + /// - "UNDEPLOYED" : Model is not deployed but is ready to deploy. + /// - "DEPLOYING" : Model is being deployed. + /// - "DEPLOYED" : Model is deployed and is ready to be used. A model can only + /// be used in analysis if it's in this state. + /// - "UNDEPLOYING" : Model is being undeployed. + /// - "DELETING" : Model is being deleted. + core.String? state; + + /// The issue model's label statistics on its training data. + /// + /// Output only. Immutable. + GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats? trainingStats; + + /// The most recent time at which the issue model was updated. + /// + /// Output only. + core.String? updateTime; + + GoogleCloudContactcenterinsightsV1alpha1IssueModel({ + this.createTime, + this.displayName, + this.inputDataConfig, + this.name, + this.state, + this.trainingStats, + this.updateTime, + }); + + GoogleCloudContactcenterinsightsV1alpha1IssueModel.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + inputDataConfig: _json.containsKey('inputDataConfig') + ? GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig + .fromJson(_json['inputDataConfig'] + as core.Map) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + trainingStats: _json.containsKey('trainingStats') + ? GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats + .fromJson(_json['trainingStats'] + as core.Map) + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (inputDataConfig != null) + 'inputDataConfig': inputDataConfig!.toJson(), + if (name != null) 'name': name!, + if (state != null) 'state': state!, + if (trainingStats != null) 'trainingStats': trainingStats!.toJson(), + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Configs for the input data used to create the issue model. +class GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig { + /// + /// + /// Required. + /// Possible string values are: + /// - "MEDIUM_UNSPECIFIED" : Default value. + /// - "PHONE_CALL" : The format for conversations that took place over the + /// phone. + /// - "CHAT" : The format for conversations that took place over chat. + core.String? medium; + + /// Number of conversations used in training. + /// + /// Output only. + /// + /// Output only. + core.String? trainingConversationsCount; + + GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig({ + this.medium, + this.trainingConversationsCount, + }); + + GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig.fromJson( + core.Map _json) + : this( + medium: _json.containsKey('medium') + ? _json['medium'] as core.String + : null, + trainingConversationsCount: + _json.containsKey('trainingConversationsCount') + ? _json['trainingConversationsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (medium != null) 'medium': medium!, + if (trainingConversationsCount != null) + 'trainingConversationsCount': trainingConversationsCount!, + }; +} + +/// Aggregated statistics about an issue model. +class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats { + /// Number of conversations the issue model has analyzed at this point in + /// time. + core.String? analyzedConversationsCount; + + /// Statistics on each issue. + /// + /// Key is the issue's resource name. + core.Map? + issueStats; + + /// Number of analyzed conversations for which no issue was applicable at this + /// point in time. + core.String? unclassifiedConversationsCount; + + GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats({ + this.analyzedConversationsCount, + this.issueStats, + this.unclassifiedConversationsCount, + }); + + GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats.fromJson( + core.Map _json) + : this( + analyzedConversationsCount: + _json.containsKey('analyzedConversationsCount') + ? _json['analyzedConversationsCount'] as core.String + : null, + issueStats: _json.containsKey('issueStats') + ? (_json['issueStats'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats + .fromJson(item as core.Map), + ), + ) + : null, + unclassifiedConversationsCount: + _json.containsKey('unclassifiedConversationsCount') + ? _json['unclassifiedConversationsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (analyzedConversationsCount != null) + 'analyzedConversationsCount': analyzedConversationsCount!, + if (issueStats != null) + 'issueStats': + issueStats!.map((key, item) => core.MapEntry(key, item.toJson())), + if (unclassifiedConversationsCount != null) + 'unclassifiedConversationsCount': unclassifiedConversationsCount!, + }; +} + +/// Aggregated statistics about an issue. +class GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats { + /// Issue resource. + /// + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + core.String? issue; + + /// Number of conversations attached to the issue at this point in time. + core.String? labeledConversationsCount; + + GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats({ + this.issue, + this.labeledConversationsCount, + }); + + GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats.fromJson( + core.Map _json) + : this( + issue: + _json.containsKey('issue') ? _json['issue'] as core.String : null, + labeledConversationsCount: + _json.containsKey('labeledConversationsCount') + ? _json['labeledConversationsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (issue != null) 'issue': issue!, + if (labeledConversationsCount != null) + 'labeledConversationsCount': labeledConversationsCount!, + }; +} + +/// Metadata for undeploying an issue model. +class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata { + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// The original request for undeployment. + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest? request; + + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata({ + this.createTime, + this.endTime, + this.request, + }); + + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata.fromJson( + core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + request: _json.containsKey('request') + ? GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest + .fromJson( + _json['request'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (request != null) 'request': request!.toJson(), + }; +} + +/// The request to undeploy an issue model. +class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest { + /// The issue model to undeploy. + /// + /// Required. + core.String? name; + + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest({ + this.name, + }); + + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest.fromJson( + core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// The response to undeploy an issue model. +class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse { + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse(); + + GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The response message for Operations.ListOperations. +class GoogleLongrunningListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List? operations; + + GoogleLongrunningListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + GoogleLongrunningListOperationsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + operations: _json.containsKey('operations') + ? (_json['operations'] as core.List) + .map((value) => + GoogleLongrunningOperation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) + 'operations': operations!.map((value) => value.toJson()).toList(), + }; +} + +/// This resource represents a long-running operation that is the result of a +/// network API call. +class GoogleLongrunningOperation { + /// If the value is `false`, it means the operation is still in progress. + /// + /// If `true`, the operation is completed, and either `error` or `response` is + /// available. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + GoogleRpcStatus? error; + + /// Service-specific metadata associated with the operation. + /// + /// It typically contains progress information and common metadata such as + /// create time. Some services might not provide such metadata. Any method + /// that returns a long-running operation should document the metadata type, + /// if any. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// The server-assigned name, which is only unique within the same service + /// that originally returns it. + /// + /// If you use the default HTTP mapping, the `name` should be a resource name + /// ending with `operations/{unique_id}`. + core.String? name; + + /// The normal response of the operation in case of success. + /// + /// If the original method returns no data on success, such as `Delete`, the + /// response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other + /// methods, the response should have the type `XxxResponse`, where `Xxx` is + /// the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? response; + + GoogleLongrunningOperation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + GoogleLongrunningOperation.fromJson(core.Map _json) + : this( + done: _json.containsKey('done') ? _json['done'] as core.bool : null, + error: _json.containsKey('error') + ? GoogleRpcStatus.fromJson( + _json['error'] as core.Map) + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + response: _json.containsKey('response') + ? (_json['response'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + ); + + core.Map toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!.toJson(), + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + +/// A generic empty message that you can re-use to avoid defining duplicated +/// empty messages in your APIs. +/// +/// A typical example is to use it as the request or the response type of an API +/// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns +/// (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON +/// object `{}`. +class GoogleProtobufEmpty { + GoogleProtobufEmpty(); + + GoogleProtobufEmpty.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. +/// +/// It is used by [gRPC](https://github.com/grpc). Each `Status` message +/// contains three pieces of data: error code, error message, and error details. +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). +class GoogleRpcStatus { + /// The status code, which should be an enum value of google.rpc.Code. + core.int? code; + + /// A list of messages that carry the error details. + /// + /// There is a common set of message types for APIs to use. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? details; + + /// A developer-facing error message, which should be in English. + /// + /// Any user-facing error message should be localized and sent in the + /// google.rpc.Status.details field, or localized by the client. + core.String? message; + + GoogleRpcStatus({ + this.code, + this.details, + this.message, + }); + + GoogleRpcStatus.fromJson(core.Map _json) + : this( + code: _json.containsKey('code') ? _json['code'] as core.int : null, + details: _json.containsKey('details') + ? (_json['details'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + message: _json.containsKey('message') + ? _json['message'] as core.String + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (details != null) 'details': details!, + if (message != null) 'message': message!, + }; +} diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart index 125a50568..4c8d23349 100644 --- a/generated/googleapis/lib/container/v1.dart +++ b/generated/googleapis/lib/container/v1.dart @@ -50,7 +50,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Builds and manages container-based applications, powered by the open source /// Kubernetes technology. class ContainerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -3510,9 +3511,16 @@ class AcceleratorConfig { /// [here](https://cloud.google.com/compute/docs/gpus) core.String? acceleratorType; + /// Size of partitions to create on the GPU. + /// + /// Valid values are described in the NVIDIA + /// [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). + core.String? gpuPartitionSize; + AcceleratorConfig({ this.acceleratorCount, this.acceleratorType, + this.gpuPartitionSize, }); AcceleratorConfig.fromJson(core.Map _json) @@ -3523,11 +3531,15 @@ class AcceleratorConfig { acceleratorType: _json.containsKey('acceleratorType') ? _json['acceleratorType'] as core.String : null, + gpuPartitionSize: _json.containsKey('gpuPartitionSize') + ? _json['gpuPartitionSize'] as core.String + : null, ); core.Map toJson() => { if (acceleratorCount != null) 'acceleratorCount': acceleratorCount!, if (acceleratorType != null) 'acceleratorType': acceleratorType!, + if (gpuPartitionSize != null) 'gpuPartitionSize': gpuPartitionSize!, }; } @@ -3548,6 +3560,9 @@ class AddonsConfig { /// Configuration for the Compute Engine Persistent Disk CSI driver. GcePersistentDiskCsiDriverConfig? gcePersistentDiskCsiDriverConfig; + /// Configuration for the GCP Filestore CSI driver. + GcpFilestoreCsiDriverConfig? gcpFilestoreCsiDriverConfig; + /// Configuration for the horizontal pod autoscaling feature, which increases /// or decreases the number of replica pods a replication controller has based /// on the resource usage of the existing pods. @@ -3576,6 +3591,7 @@ class AddonsConfig { this.configConnectorConfig, this.dnsCacheConfig, this.gcePersistentDiskCsiDriverConfig, + this.gcpFilestoreCsiDriverConfig, this.horizontalPodAutoscaling, this.httpLoadBalancing, this.kubernetesDashboard, @@ -3602,6 +3618,12 @@ class AddonsConfig { _json['gcePersistentDiskCsiDriverConfig'] as core.Map) : null, + gcpFilestoreCsiDriverConfig: + _json.containsKey('gcpFilestoreCsiDriverConfig') + ? GcpFilestoreCsiDriverConfig.fromJson( + _json['gcpFilestoreCsiDriverConfig'] + as core.Map) + : null, horizontalPodAutoscaling: _json.containsKey('horizontalPodAutoscaling') ? HorizontalPodAutoscaling.fromJson( @@ -3630,6 +3652,8 @@ class AddonsConfig { if (gcePersistentDiskCsiDriverConfig != null) 'gcePersistentDiskCsiDriverConfig': gcePersistentDiskCsiDriverConfig!.toJson(), + if (gcpFilestoreCsiDriverConfig != null) + 'gcpFilestoreCsiDriverConfig': gcpFilestoreCsiDriverConfig!.toJson(), if (horizontalPodAutoscaling != null) 'horizontalPodAutoscaling': horizontalPodAutoscaling!.toJson(), if (httpLoadBalancing != null) @@ -4204,6 +4228,9 @@ class Cluster { /// of all node pools and will result in nodes being added and/or removed. core.List? locations; + /// Logging configuration for the cluster. + LoggingConfig? loggingConfig; + /// The logging service the cluster should use to write logs. /// /// Currently available options: * `logging.googleapis.com/kubernetes` - The @@ -4228,6 +4255,9 @@ class Cluster { /// The configuration options for master authorized networks feature. MasterAuthorizedNetworksConfig? masterAuthorizedNetworksConfig; + /// Monitoring configuration for the cluster. + MonitoringConfig? monitoringConfig; + /// The monitoring service the cluster should use to write metrics. /// /// Currently available options: * "monitoring.googleapis.com/kubernetes" - @@ -4407,10 +4437,12 @@ class Cluster { this.legacyAbac, this.location, this.locations, + this.loggingConfig, this.loggingService, this.maintenancePolicy, this.masterAuth, this.masterAuthorizedNetworksConfig, + this.monitoringConfig, this.monitoringService, this.name, this.network, @@ -4540,6 +4572,10 @@ class Cluster { .map((value) => value as core.String) .toList() : null, + loggingConfig: _json.containsKey('loggingConfig') + ? LoggingConfig.fromJson( + _json['loggingConfig'] as core.Map) + : null, loggingService: _json.containsKey('loggingService') ? _json['loggingService'] as core.String : null, @@ -4557,6 +4593,10 @@ class Cluster { _json['masterAuthorizedNetworksConfig'] as core.Map) : null, + monitoringConfig: _json.containsKey('monitoringConfig') + ? MonitoringConfig.fromJson(_json['monitoringConfig'] + as core.Map) + : null, monitoringService: _json.containsKey('monitoringService') ? _json['monitoringService'] as core.String : null, @@ -4685,6 +4725,7 @@ class Cluster { if (legacyAbac != null) 'legacyAbac': legacyAbac!.toJson(), if (location != null) 'location': location!, if (locations != null) 'locations': locations!, + if (loggingConfig != null) 'loggingConfig': loggingConfig!.toJson(), if (loggingService != null) 'loggingService': loggingService!, if (maintenancePolicy != null) 'maintenancePolicy': maintenancePolicy!.toJson(), @@ -4692,6 +4733,8 @@ class Cluster { if (masterAuthorizedNetworksConfig != null) 'masterAuthorizedNetworksConfig': masterAuthorizedNetworksConfig!.toJson(), + if (monitoringConfig != null) + 'monitoringConfig': monitoringConfig!.toJson(), if (monitoringService != null) 'monitoringService': monitoringService!, if (name != null) 'name': name!, if (network != null) 'network': network!, @@ -4737,6 +4780,13 @@ class ClusterAutoscaling { /// by NAP. AutoprovisioningNodePoolDefaults? autoprovisioningNodePoolDefaults; + /// Defines autoscaling behaviour. + /// Possible string values are: + /// - "PROFILE_UNSPECIFIED" : No change to autoscaling configuration. + /// - "OPTIMIZE_UTILIZATION" : Prioritize optimizing utilization of resources. + /// - "BALANCED" : Use default (balanced) autoscaling configuration. + core.String? autoscalingProfile; + /// Enables automatic node pool creation and deletion. core.bool? enableNodeAutoprovisioning; @@ -4747,6 +4797,7 @@ class ClusterAutoscaling { ClusterAutoscaling({ this.autoprovisioningLocations, this.autoprovisioningNodePoolDefaults, + this.autoscalingProfile, this.enableNodeAutoprovisioning, this.resourceLimits, }); @@ -4765,6 +4816,9 @@ class ClusterAutoscaling { _json['autoprovisioningNodePoolDefaults'] as core.Map) : null, + autoscalingProfile: _json.containsKey('autoscalingProfile') + ? _json['autoscalingProfile'] as core.String + : null, enableNodeAutoprovisioning: _json.containsKey('enableNodeAutoprovisioning') ? _json['enableNodeAutoprovisioning'] as core.bool @@ -4783,6 +4837,8 @@ class ClusterAutoscaling { if (autoprovisioningNodePoolDefaults != null) 'autoprovisioningNodePoolDefaults': autoprovisioningNodePoolDefaults!.toJson(), + if (autoscalingProfile != null) + 'autoscalingProfile': autoscalingProfile!, if (enableNodeAutoprovisioning != null) 'enableNodeAutoprovisioning': enableNodeAutoprovisioning!, if (resourceLimits != null) @@ -4847,6 +4903,9 @@ class ClusterUpdate { /// will result in nodes being added and/or removed. core.List? desiredLocations; + /// The desired logging configuration. + LoggingConfig? desiredLoggingConfig; + /// The logging service the cluster should use to write logs. /// /// Currently available options: * `logging.googleapis.com/kubernetes` - The @@ -4871,6 +4930,9 @@ class ClusterUpdate { /// Kubernetes version - "-": picks the default Kubernetes version core.String? desiredMasterVersion; + /// The desired monitoring configuration. + MonitoringConfig? desiredMonitoringConfig; + /// The monitoring service the cluster should use to write metrics. /// /// Currently available options: * "monitoring.googleapis.com/kubernetes" - @@ -4952,9 +5014,11 @@ class ClusterUpdate { this.desiredIntraNodeVisibilityConfig, this.desiredL4ilbSubsettingConfig, this.desiredLocations, + this.desiredLoggingConfig, this.desiredLoggingService, this.desiredMasterAuthorizedNetworksConfig, this.desiredMasterVersion, + this.desiredMonitoringConfig, this.desiredMonitoringService, this.desiredNodePoolAutoscaling, this.desiredNodePoolId, @@ -5028,6 +5092,10 @@ class ClusterUpdate { .map((value) => value as core.String) .toList() : null, + desiredLoggingConfig: _json.containsKey('desiredLoggingConfig') + ? LoggingConfig.fromJson(_json['desiredLoggingConfig'] + as core.Map) + : null, desiredLoggingService: _json.containsKey('desiredLoggingService') ? _json['desiredLoggingService'] as core.String : null, @@ -5040,6 +5108,10 @@ class ClusterUpdate { desiredMasterVersion: _json.containsKey('desiredMasterVersion') ? _json['desiredMasterVersion'] as core.String : null, + desiredMonitoringConfig: _json.containsKey('desiredMonitoringConfig') + ? MonitoringConfig.fromJson(_json['desiredMonitoringConfig'] + as core.Map) + : null, desiredMonitoringService: _json.containsKey('desiredMonitoringService') ? _json['desiredMonitoringService'] as core.String @@ -5124,6 +5196,8 @@ class ClusterUpdate { 'desiredL4ilbSubsettingConfig': desiredL4ilbSubsettingConfig!.toJson(), if (desiredLocations != null) 'desiredLocations': desiredLocations!, + if (desiredLoggingConfig != null) + 'desiredLoggingConfig': desiredLoggingConfig!.toJson(), if (desiredLoggingService != null) 'desiredLoggingService': desiredLoggingService!, if (desiredMasterAuthorizedNetworksConfig != null) @@ -5131,6 +5205,8 @@ class ClusterUpdate { desiredMasterAuthorizedNetworksConfig!.toJson(), if (desiredMasterVersion != null) 'desiredMasterVersion': desiredMasterVersion!, + if (desiredMonitoringConfig != null) + 'desiredMonitoringConfig': desiredMonitoringConfig!.toJson(), if (desiredMonitoringService != null) 'desiredMonitoringService': desiredMonitoringService!, if (desiredNodePoolAutoscaling != null) @@ -5574,6 +5650,27 @@ class GcePersistentDiskCsiDriverConfig { }; } +/// Configuration for the GCP Filestore CSI driver. +class GcpFilestoreCsiDriverConfig { + /// Whether the GCP Filestore CSI driver is enabled for this cluster. + core.bool? enabled; + + GcpFilestoreCsiDriverConfig({ + this.enabled, + }); + + GcpFilestoreCsiDriverConfig.fromJson(core.Map _json) + : this( + enabled: _json.containsKey('enabled') + ? _json['enabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enabled != null) 'enabled': enabled!, + }; +} + /// GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517 class GetJSONWebKeysResponse { /// OnePlatform automatically extracts this field and uses it to set the HTTP @@ -6298,6 +6395,54 @@ class ListUsableSubnetworksResponse { }; } +/// LoggingComponentConfig is cluster logging component configuration. +class LoggingComponentConfig { + /// Select components to collect logs. + /// + /// An empty set would disable all logging. + core.List? enableComponents; + + LoggingComponentConfig({ + this.enableComponents, + }); + + LoggingComponentConfig.fromJson(core.Map _json) + : this( + enableComponents: _json.containsKey('enableComponents') + ? (_json['enableComponents'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (enableComponents != null) 'enableComponents': enableComponents!, + }; +} + +/// LoggingConfig is cluster logging configuration. +class LoggingConfig { + /// Logging components configuration + LoggingComponentConfig? componentConfig; + + LoggingConfig({ + this.componentConfig, + }); + + LoggingConfig.fromJson(core.Map _json) + : this( + componentConfig: _json.containsKey('componentConfig') + ? LoggingComponentConfig.fromJson(_json['componentConfig'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (componentConfig != null) + 'componentConfig': componentConfig!.toJson(), + }; +} + /// MaintenancePolicy defines the maintenance policy to be used for the cluster. class MaintenancePolicy { /// A hash identifying the version of this policy, so that updates to fields @@ -6589,6 +6734,54 @@ class Metric { }; } +/// MonitoringComponentConfig is cluster monitoring component configuration. +class MonitoringComponentConfig { + /// Select components to collect metrics. + /// + /// An empty set would disable all monitoring. + core.List? enableComponents; + + MonitoringComponentConfig({ + this.enableComponents, + }); + + MonitoringComponentConfig.fromJson(core.Map _json) + : this( + enableComponents: _json.containsKey('enableComponents') + ? (_json['enableComponents'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (enableComponents != null) 'enableComponents': enableComponents!, + }; +} + +/// MonitoringConfig is cluster monitoring configuration. +class MonitoringConfig { + /// Monitoring components configuration + MonitoringComponentConfig? componentConfig; + + MonitoringConfig({ + this.componentConfig, + }); + + MonitoringConfig.fromJson(core.Map _json) + : this( + componentConfig: _json.containsKey('componentConfig') + ? MonitoringComponentConfig.fromJson(_json['componentConfig'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (componentConfig != null) + 'componentConfig': componentConfig!.toJson(), + }; +} + /// NetworkConfig reports the relative names of network & subnetwork. class NetworkConfig { /// The desired datapath provider for this cluster. @@ -6789,6 +6982,9 @@ class NodeConfig { /// 'pd-balanced') If unspecified, the default disk type is 'pd-standard' core.String? diskType; + /// Enable or disable gvnic in the node pool. + VirtualNIC? gvnic; + /// The image type to use for this node. /// /// Note that for a given image type, the latest version of it will be used. @@ -6834,12 +7030,11 @@ class NodeConfig { /// "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - /// "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - /// "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - - /// "install-ssh-psm1" - "user-profile-psm1" The following keys are reserved - /// for Windows nodes: - "serial-port-logging-enable" Values are free-form - /// strings, and only have meaning as interpreted by the image running in the - /// instance. The only restriction placed on them is that each value's size - /// must be less than or equal to 32 KB. The total size of all keys and values - /// must be less than 512 KB. + /// "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and + /// only have meaning as interpreted by the image running in the instance. The + /// only restriction placed on them is that each value's size must be less + /// than or equal to 32 KB. The total size of all keys and values must be less + /// than 512 KB. core.Map? metadata; /// Minimum CPU platform to be used by this instance. @@ -6917,6 +7112,7 @@ class NodeConfig { this.bootDiskKmsKey, this.diskSizeGb, this.diskType, + this.gvnic, this.imageType, this.kubeletConfig, this.labels, @@ -6954,6 +7150,10 @@ class NodeConfig { diskType: _json.containsKey('diskType') ? _json['diskType'] as core.String : null, + gvnic: _json.containsKey('gvnic') + ? VirtualNIC.fromJson( + _json['gvnic'] as core.Map) + : null, imageType: _json.containsKey('imageType') ? _json['imageType'] as core.String : null, @@ -7039,6 +7239,7 @@ class NodeConfig { if (bootDiskKmsKey != null) 'bootDiskKmsKey': bootDiskKmsKey!, if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!, if (diskType != null) 'diskType': diskType!, + if (gvnic != null) 'gvnic': gvnic!.toJson(), if (imageType != null) 'imageType': imageType!, if (kubeletConfig != null) 'kubeletConfig': kubeletConfig!.toJson(), if (labels != null) 'labels': labels!, @@ -7169,6 +7370,63 @@ class NodeManagement { }; } +/// Parameters for node pool-level network config. +class NodeNetworkConfig { + /// Input only. + /// + /// Whether to create a new range for pod IPs in this node pool. Defaults are + /// provided for `pod_range` and `pod_ipv4_cidr_block` if they are not + /// specified. If neither `create_pod_range` or `pod_range` are specified, the + /// cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is + /// used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. + /// This field cannot be changed after the node pool has been created. + core.bool? createPodRange; + + /// The IP address range for pod IPs in this node pool. + /// + /// Only applicable if `create_pod_range` is true. Set to blank to have a + /// range chosen with the default size. Set to /netmask (e.g. `/14`) to have a + /// range chosen with a specific netmask. Set to a + /// [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + /// notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only + /// applicable if `ip_allocation_policy.use_ip_aliases` is true. This field + /// cannot be changed after the node pool has been created. + core.String? podIpv4CidrBlock; + + /// The ID of the secondary range for pod IPs. + /// + /// If `create_pod_range` is true, this ID is used for the new range. If + /// `create_pod_range` is false, uses an existing secondary range with this + /// ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This + /// field cannot be changed after the node pool has been created. + core.String? podRange; + + NodeNetworkConfig({ + this.createPodRange, + this.podIpv4CidrBlock, + this.podRange, + }); + + NodeNetworkConfig.fromJson(core.Map _json) + : this( + createPodRange: _json.containsKey('createPodRange') + ? _json['createPodRange'] as core.bool + : null, + podIpv4CidrBlock: _json.containsKey('podIpv4CidrBlock') + ? _json['podIpv4CidrBlock'] as core.String + : null, + podRange: _json.containsKey('podRange') + ? _json['podRange'] as core.String + : null, + ); + + core.Map toJson() => { + if (createPodRange != null) 'createPodRange': createPodRange!, + if (podIpv4CidrBlock != null) 'podIpv4CidrBlock': podIpv4CidrBlock!, + if (podRange != null) 'podRange': podRange!, + }; +} + /// NodePool contains the name and configuration for a cluster's node pool. /// /// Node pools are a set of nodes (i.e. VM's), with a common configuration and @@ -7223,6 +7481,11 @@ class NodePool { /// The name of the node pool. core.String? name; + /// Networking configuration for this NodePool. + /// + /// If specified, it overrides the cluster-level defaults. + NodeNetworkConfig? networkConfig; + /// The pod CIDR block size per node in this node pool. /// /// Output only. @@ -7279,6 +7542,7 @@ class NodePool { this.management, this.maxPodsConstraint, this.name, + this.networkConfig, this.podIpv4CidrSize, this.selfLink, this.status, @@ -7325,6 +7589,10 @@ class NodePool { as core.Map) : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, + networkConfig: _json.containsKey('networkConfig') + ? NodeNetworkConfig.fromJson( + _json['networkConfig'] as core.Map) + : null, podIpv4CidrSize: _json.containsKey('podIpv4CidrSize') ? _json['podIpv4CidrSize'] as core.int : null, @@ -7358,6 +7626,7 @@ class NodePool { if (maxPodsConstraint != null) 'maxPodsConstraint': maxPodsConstraint!.toJson(), if (name != null) 'name': name!, + if (networkConfig != null) 'networkConfig': networkConfig!.toJson(), if (podIpv4CidrSize != null) 'podIpv4CidrSize': podIpv4CidrSize!, if (selfLink != null) 'selfLink': selfLink!, if (status != null) 'status': status!, @@ -9758,6 +10027,9 @@ class UpdateNodePoolRequest { /// Deprecated. core.String? clusterId; + /// Enable or disable gvnic on the node pool. + VirtualNIC? gvnic; + /// The desired image type for the node pool. /// /// Required. @@ -9829,6 +10101,7 @@ class UpdateNodePoolRequest { UpdateNodePoolRequest({ this.clusterId, + this.gvnic, this.imageType, this.kubeletConfig, this.linuxNodeConfig, @@ -9847,6 +10120,10 @@ class UpdateNodePoolRequest { clusterId: _json.containsKey('clusterId') ? _json['clusterId'] as core.String : null, + gvnic: _json.containsKey('gvnic') + ? VirtualNIC.fromJson( + _json['gvnic'] as core.Map) + : null, imageType: _json.containsKey('imageType') ? _json['imageType'] as core.String : null, @@ -9886,6 +10163,7 @@ class UpdateNodePoolRequest { core.Map toJson() => { if (clusterId != null) 'clusterId': clusterId!, + if (gvnic != null) 'gvnic': gvnic!.toJson(), if (imageType != null) 'imageType': imageType!, if (kubeletConfig != null) 'kubeletConfig': kubeletConfig!.toJson(), if (linuxNodeConfig != null) @@ -10217,6 +10495,27 @@ class VerticalPodAutoscaling { }; } +/// Configuration of gVNIC feature. +class VirtualNIC { + /// Whether gVNIC features are enabled in the node pool. + core.bool? enabled; + + VirtualNIC({ + this.enabled, + }); + + VirtualNIC.fromJson(core.Map _json) + : this( + enabled: _json.containsKey('enabled') + ? _json['enabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enabled != null) 'enabled': enabled!, + }; +} + /// Configuration for the use of Kubernetes Service Accounts in GCP IAM /// policies. class WorkloadIdentityConfig { diff --git a/generated/googleapis/lib/content/v2_1.dart b/generated/googleapis/lib/content/v2_1.dart index 7ff4318cc..6a5fecabd 100644 --- a/generated/googleapis/lib/content/v2_1.dart +++ b/generated/googleapis/lib/content/v2_1.dart @@ -33,6 +33,7 @@ /// - [CssesResource] /// - [DatafeedsResource] /// - [DatafeedstatusesResource] +/// - [FreelistingsprogramResource] /// - [LiasettingsResource] /// - [LocalinventoryResource] /// - [OrderinvoicesResource] @@ -45,6 +46,7 @@ /// - [ProductsResource] /// - [ProductstatusesResource] /// - [ProductstatusesRepricingreportsResource] +/// - [PromotionsResource] /// - [PubsubnotificationsettingsResource] /// - [RegionalinventoryResource] /// - [RegionsResource] @@ -57,6 +59,7 @@ /// - [SettlementreportsResource] /// - [SettlementtransactionsResource] /// - [ShippingsettingsResource] +/// - [ShoppingadsprogramResource] library content.v2_1; import 'dart:async' as async; @@ -91,6 +94,8 @@ class ShoppingContentApi { DatafeedsResource get datafeeds => DatafeedsResource(_requester); DatafeedstatusesResource get datafeedstatuses => DatafeedstatusesResource(_requester); + FreelistingsprogramResource get freelistingsprogram => + FreelistingsprogramResource(_requester); LiasettingsResource get liasettings => LiasettingsResource(_requester); LocalinventoryResource get localinventory => LocalinventoryResource(_requester); @@ -104,6 +109,7 @@ class ShoppingContentApi { ProductsResource get products => ProductsResource(_requester); ProductstatusesResource get productstatuses => ProductstatusesResource(_requester); + PromotionsResource get promotions => PromotionsResource(_requester); PubsubnotificationsettingsResource get pubsubnotificationsettings => PubsubnotificationsettingsResource(_requester); RegionalinventoryResource get regionalinventory => @@ -122,6 +128,8 @@ class ShoppingContentApi { SettlementtransactionsResource(_requester); ShippingsettingsResource get shippingsettings => ShippingsettingsResource(_requester); + ShoppingadsprogramResource get shoppingadsprogram => + ShoppingadsprogramResource(_requester); ShoppingContentApi(http.Client client, {core.String rootUrl = 'https://shoppingcontent.googleapis.com/', @@ -557,6 +565,54 @@ class AccountsResource { _response as core.Map); } + /// Request verification code to start phone verification. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the managing account. If this parameter + /// is not the same as accountId, then this account must be a multi-client + /// account and accountId must be the ID of a sub-account of this account. + /// + /// [accountId] - Required. The ID of the account. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [RequestPhoneVerificationResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future requestphoneverification( + RequestPhoneVerificationRequest request, + core.String merchantId, + core.String accountId, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + + '/accounts/' + + commons.escapeVariable('$accountId') + + '/requestphoneverification'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return RequestPhoneVerificationResponse.fromJson( + _response as core.Map); + } + /// Updates a Merchant Center account. /// /// Any fields that are not provided are deleted from the resource. @@ -651,6 +707,54 @@ class AccountsResource { return AccountsUpdateLabelsResponse.fromJson( _response as core.Map); } + + /// Validates verification code to verify phone number for the account. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the managing account. If this parameter + /// is not the same as accountId, then this account must be a multi-client + /// account and accountId must be the ID of a sub-account of this account. + /// + /// [accountId] - Required. The ID of the account. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [VerifyPhoneNumberResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future verifyphonenumber( + VerifyPhoneNumberRequest request, + core.String merchantId, + core.String accountId, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + + '/accounts/' + + commons.escapeVariable('$accountId') + + '/verifyphonenumber'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return VerifyPhoneNumberResponse.fromJson( + _response as core.Map); + } } class AccountsCredentialsResource { @@ -2495,6 +2599,88 @@ class DatafeedstatusesResource { } } +class FreelistingsprogramResource { + final commons.ApiRequester _requester; + + FreelistingsprogramResource(commons.ApiRequester client) + : _requester = client; + + /// Retrieves the status and review eligibility for the free listing program. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the account. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FreeListingsProgramStatus]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String merchantId, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + '/freelistingsprogram'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return FreeListingsProgramStatus.fromJson( + _response as core.Map); + } + + /// Requests a review for Free Listings program in the provided region. + /// + /// Important: This method is only whitelisted for selected merchants. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the account. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future requestreview( + RequestReviewFreeListingsRequest request, + core.String merchantId, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + + '/freelistingsprogram/requestreview'; + + await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + downloadOptions: null, + ); + } +} + class LiasettingsResource { final commons.ApiRequester _requester; @@ -3895,6 +4081,60 @@ class OrdersResource { _response as core.Map); } + /// Capture funds from the customer for the current order total. + /// + /// This method should be called after the merchant verifies that they are + /// able and ready to start shipping the order. This method blocks until a + /// response is received from the payment processsor. If this method succeeds, + /// the merchant is guaranteed to receive funds for the order after shipment. + /// If the request fails, it can be retried or the order may be cancelled. + /// This method cannot be called after the entire order is already shipped. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the account that manages the order. + /// This cannot be a multi-client account. + /// + /// [orderId] - Required. The ID of the Order. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CaptureOrderResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future captureOrder( + CaptureOrderRequest request, + core.String merchantId, + core.String orderId, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + + '/orders/' + + commons.escapeVariable('$orderId') + + '/captureOrder'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return CaptureOrderResponse.fromJson( + _response as core.Map); + } + /// Sandbox only. /// /// Creates a test order. @@ -5553,6 +5793,55 @@ class ProductstatusesRepricingreportsResource { } } +class PromotionsResource { + final commons.ApiRequester _requester; + + PromotionsResource(commons.ApiRequester client) : _requester = client; + + /// Inserts a promotion for your Merchant Center account. + /// + /// If the promotion already exists, then it will update the promotion + /// instead. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the account that contains the + /// collection. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Promotion]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + Promotion request, + core.String merchantId, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + '/promotions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Promotion.fromJson(_response as core.Map); + } +} + class PubsubnotificationsettingsResource { final commons.ApiRequester _requester; @@ -7404,35 +7693,114 @@ class ShippingsettingsResource { } } -/// Account data. -/// -/// After the creation of a new account it may take a few minutes before it is -/// fully operational. The methods delete, insert, and update require the admin -/// role. -class Account { - /// How the account is managed. +class ShoppingadsprogramResource { + final commons.ApiRequester _requester; + + ShoppingadsprogramResource(commons.ApiRequester client) : _requester = client; + + /// Retrieves the status and review eligibility for the Shopping Ads program. /// - /// Acceptable values are: - "`manual`" - "`automatic`" + /// Request parameters: /// - /// Output only. - core.String? accountManagement; - - /// Linked Ads accounts that are active or pending approval. + /// [merchantId] - Required. The ID of the account. /// - /// To create a new link request, add a new link with status `active` to the - /// list. It will remain in a `pending` state until approved or rejected - /// either in the Ads interface or through the AdWords API. To delete an - /// active link, or to cancel a link request, remove it from the list. - core.List? adsLinks; - - /// Indicates whether the merchant sells adult content. - core.bool? adultContent; - - /// Automatically created label IDs that are assigned to the account by CSS - /// Center. - core.List? automaticLabelIds; - - /// The business information of the account. + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ShoppingAdsProgramStatus]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String merchantId, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + '/shoppingadsprogram'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ShoppingAdsProgramStatus.fromJson( + _response as core.Map); + } + + /// Requests a review for Shopping Ads program in the provided country. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [merchantId] - Required. The ID of the account. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future requestreview( + RequestReviewShoppingAdsRequest request, + core.String merchantId, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = commons.escapeVariable('$merchantId') + + '/shoppingadsprogram/requestreview'; + + await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + downloadOptions: null, + ); + } +} + +/// Account data. +/// +/// After the creation of a new account it may take a few minutes before it is +/// fully operational. The methods delete, insert, and update require the admin +/// role. +class Account { + /// How the account is managed. + /// + /// Acceptable values are: - "`manual`" - "`automatic`" + /// + /// Output only. + core.String? accountManagement; + + /// Linked Ads accounts that are active or pending approval. + /// + /// To create a new link request, add a new link with status `active` to the + /// list. It will remain in a `pending` state until approved or rejected + /// either in the Ads interface or through the AdWords API. To delete an + /// active link, or to cancel a link request, remove it from the list. + core.List? adsLinks; + + /// Indicates whether the merchant sells adult content. + core.bool? adultContent; + + /// Automatically created label IDs that are assigned to the account by CSS + /// Center. + core.List? automaticLabelIds; + + /// The business information of the account. AccountBusinessInformation? businessInformation; /// ID of CSS the account belongs to. @@ -7584,8 +7952,8 @@ class Account { class AccountAddress { /// CLDR country code (e.g. "US"). /// - /// This value cannot be set for a sub-account of an MCA. All MCA sub-accounts - /// inherit the country of their parent MCA. + /// All MCA sub-accounts inherit the country of their parent MCA by default, + /// however the country can be updated for individual sub-accounts. core.String? country; /// City, town or commune. @@ -9489,7 +9857,7 @@ class Amount { } class BusinessDayConfig { - /// Regular business days. + /// Regular business days, such as '"monday"'. /// /// May not be empty. core.List? businessDays; @@ -9515,12 +9883,18 @@ class BusinessDayConfig { /// Response message for the GetProgramStatus method. class BuyOnGoogleProgramStatus { /// The customer service pending email. + /// + /// After verification this field becomes empty. core.String? customerServicePendingEmail; /// The customer service verified email. + /// + /// Output only. core.String? customerServiceVerifiedEmail; /// The current participation stage for the program. + /// + /// Output only. /// Possible string values are: /// - "PROGRAM_PARTICIPATION_STAGE_UNSPECIFIED" : Default value when /// participation stage is not set. @@ -9572,6 +9946,46 @@ class BuyOnGoogleProgramStatus { }; } +/// Request message for the CaptureOrder method. +class CaptureOrderRequest { + CaptureOrderRequest(); + + CaptureOrderRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response message for the CaptureOrder method. +class CaptureOrderResponse { + /// The status of the execution. + /// + /// Only defined if the request was successful. Acceptable values are: * + /// "duplicate" * "executed" + /// Possible string values are: + /// - "EXECUTION_STATUS_UNSPECIFIED" : Default value. This value is unused. + /// - "EXECUTED" : The request was completed successfully. + /// - "DUPLICATE" : The request was not performed because it already executed + /// once successfully. + core.String? executionStatus; + + CaptureOrderResponse({ + this.executionStatus, + }); + + CaptureOrderResponse.fromJson(core.Map _json) + : this( + executionStatus: _json.containsKey('executionStatus') + ? _json['executionStatus'] as core.String + : null, + ); + + core.Map toJson() => { + if (executionStatus != null) 'executionStatus': executionStatus!, + }; +} + class CarrierRate { /// Carrier service, such as `"UPS"` or `"Fedex"`. /// @@ -11586,6 +12000,168 @@ class Errors { }; } +/// Response message for GetFreeListingsProgramStatus. +class FreeListingsProgramStatus { + /// Status of the program in each region. + /// + /// Regions with the same status and review eligibility are grouped together + /// in `regionCodes`. + core.List? regionStatuses; + + /// If program is successfully onboarded for at least one region. + /// Possible string values are: + /// - "PROGRAM_STATE_UNSPECIFIED" : State is not known. + /// - "ONBOARDED" : Program is onboarded for at least one country. + /// - "NOT_ONBOARDED" : Program is not onboarded for any country. + core.String? state; + + FreeListingsProgramStatus({ + this.regionStatuses, + this.state, + }); + + FreeListingsProgramStatus.fromJson(core.Map _json) + : this( + regionStatuses: _json.containsKey('regionStatuses') + ? (_json['regionStatuses'] as core.List) + .map((value) => + FreeListingsProgramStatusRegionStatus.fromJson( + value as core.Map)) + .toList() + : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + ); + + core.Map toJson() => { + if (regionStatuses != null) + 'regionStatuses': + regionStatuses!.map((value) => value.toJson()).toList(), + if (state != null) 'state': state!, + }; +} + +/// Status of program and region. +class FreeListingsProgramStatusRegionStatus { + /// Date by which `eligibility_status` will go from `WARNING` to + /// `DISAPPROVED`. + /// + /// It will be present when `eligibility_status` is `WARNING`. Date will be + /// provided in ISO 8601 format i.e. YYYY-MM-DD + core.String? disapprovalDate; + + /// Eligibility status of the standard free listing program. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : State is not known. + /// - "APPROVED" : If the account has no issues and review is completed + /// successfully. + /// - "DISAPPROVED" : There are one or more issues that needs to be resolved + /// for account to be active for the program. Detailed list of account issues + /// are available in + /// [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) + /// API. + /// - "WARNING" : If account has issues but offers are servable. Some of the + /// issue can make account DISAPPROVED after a certain deadline. + /// - "UNDER_REVIEW" : Account is under review. + /// - "PENDING_REVIEW" : Account is waiting for review to start. + /// - "ONBOARDING" : Program is currently onboarding. + core.String? eligibilityStatus; + + /// Eligibility status of the enhanced free listing program. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : State is not known. + /// - "APPROVED" : If the account has no issues and review is completed + /// successfully. + /// - "DISAPPROVED" : There are one or more issues that needs to be resolved + /// for account to be active for the program. Detailed list of account issues + /// are available in + /// [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) + /// API. + /// - "WARNING" : If account has issues but offers are servable. Some of the + /// issue can make account DISAPPROVED after a certain deadline. + /// - "UNDER_REVIEW" : Account is under review. + /// - "PENDING_REVIEW" : Account is waiting for review to start. + /// - "ONBOARDING" : Program is currently onboarding. + core.String? enhancedEligibilityStatus; + + /// Reason if a program in a given country is not eligible for review. + /// + /// Populated only if `review_eligibility_status` is `INELIGIBLE`. + core.String? ineligibilityReason; + + /// The two-letter \[ISO 3166-1 + /// alpha-2\](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all + /// the regions with the same `eligibilityStatus` and `reviewEligibility`. + core.List? regionCodes; + + /// If a program in a given country is eligible for review. + /// + /// It will be present only if eligibility status is `DISAPPROVED`. + /// Possible string values are: + /// - "REVIEW_ELIGIBILITY_UNSPECIFIED" : Review eligibility state is unknown. + /// - "ELIGIBLE" : Account for a region code is eligible for review. + /// - "INELIGIBLE" : Account for a region code is not eligible for review. + core.String? reviewEligibilityStatus; + + /// These issues will be evaluated in review process. + /// + /// Fix all the issues before requesting the review. + core.List? reviewIssues; + + FreeListingsProgramStatusRegionStatus({ + this.disapprovalDate, + this.eligibilityStatus, + this.enhancedEligibilityStatus, + this.ineligibilityReason, + this.regionCodes, + this.reviewEligibilityStatus, + this.reviewIssues, + }); + + FreeListingsProgramStatusRegionStatus.fromJson(core.Map _json) + : this( + disapprovalDate: _json.containsKey('disapprovalDate') + ? _json['disapprovalDate'] as core.String + : null, + eligibilityStatus: _json.containsKey('eligibilityStatus') + ? _json['eligibilityStatus'] as core.String + : null, + enhancedEligibilityStatus: + _json.containsKey('enhancedEligibilityStatus') + ? _json['enhancedEligibilityStatus'] as core.String + : null, + ineligibilityReason: _json.containsKey('ineligibilityReason') + ? _json['ineligibilityReason'] as core.String + : null, + regionCodes: _json.containsKey('regionCodes') + ? (_json['regionCodes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + reviewEligibilityStatus: _json.containsKey('reviewEligibilityStatus') + ? _json['reviewEligibilityStatus'] as core.String + : null, + reviewIssues: _json.containsKey('reviewIssues') + ? (_json['reviewIssues'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (disapprovalDate != null) 'disapprovalDate': disapprovalDate!, + if (eligibilityStatus != null) 'eligibilityStatus': eligibilityStatus!, + if (enhancedEligibilityStatus != null) + 'enhancedEligibilityStatus': enhancedEligibilityStatus!, + if (ineligibilityReason != null) + 'ineligibilityReason': ineligibilityReason!, + if (regionCodes != null) 'regionCodes': regionCodes!, + if (reviewEligibilityStatus != null) + 'reviewEligibilityStatus': reviewEligibilityStatus!, + if (reviewIssues != null) 'reviewIssues': reviewIssues!, + }; +} + class GmbAccounts { /// The ID of the Merchant Center account. core.String? accountId; @@ -20595,12 +21171,32 @@ class Product { /// Technical specification or additional product details. core.List? productDetails; + /// The height of the product in the units provided. + /// + /// The value must be between 0 (exclusive) and 3000 (inclusive). + ProductDimension? productHeight; + /// Bullet points describing the most relevant highlights of a product. core.List? productHighlights; + /// The length of the product in the units provided. + /// + /// The value must be between 0 (exclusive) and 3000 (inclusive). + ProductDimension? productLength; + /// Categories of the item (formatted as in products data specification). core.List? productTypes; + /// The weight of the product in the units provided. + /// + /// The value must be between 0 (exclusive) and 2000 (inclusive). + ProductWeight? productWeight; + + /// The width of the product in the units provided. + /// + /// The value must be between 0 (exclusive) and 3000 (inclusive). + ProductDimension? productWidth; + /// The unique ID of a promotion. core.List? promotionIds; @@ -20754,8 +21350,12 @@ class Product { this.pickupSla, this.price, this.productDetails, + this.productHeight, this.productHighlights, + this.productLength, this.productTypes, + this.productWeight, + this.productWidth, this.promotionIds, this.salePrice, this.salePriceEffectiveDate, @@ -20973,16 +21573,32 @@ class Product { value as core.Map)) .toList() : null, + productHeight: _json.containsKey('productHeight') + ? ProductDimension.fromJson( + _json['productHeight'] as core.Map) + : null, productHighlights: _json.containsKey('productHighlights') ? (_json['productHighlights'] as core.List) .map((value) => value as core.String) .toList() : null, + productLength: _json.containsKey('productLength') + ? ProductDimension.fromJson( + _json['productLength'] as core.Map) + : null, productTypes: _json.containsKey('productTypes') ? (_json['productTypes'] as core.List) .map((value) => value as core.String) .toList() : null, + productWeight: _json.containsKey('productWeight') + ? ProductWeight.fromJson( + _json['productWeight'] as core.Map) + : null, + productWidth: _json.containsKey('productWidth') + ? ProductDimension.fromJson( + _json['productWidth'] as core.Map) + : null, promotionIds: _json.containsKey('promotionIds') ? (_json['promotionIds'] as core.List) .map((value) => value as core.String) @@ -21151,8 +21767,12 @@ class Product { if (productDetails != null) 'productDetails': productDetails!.map((value) => value.toJson()).toList(), + if (productHeight != null) 'productHeight': productHeight!.toJson(), if (productHighlights != null) 'productHighlights': productHighlights!, + if (productLength != null) 'productLength': productLength!.toJson(), if (productTypes != null) 'productTypes': productTypes!, + if (productWeight != null) 'productWeight': productWeight!.toJson(), + if (productWidth != null) 'productWidth': productWidth!.toJson(), if (promotionIds != null) 'promotionIds': promotionIds!, if (salePrice != null) 'salePrice': salePrice!.toJson(), if (salePriceEffectiveDate != null) @@ -21227,6 +21847,40 @@ class ProductAmount { }; } +class ProductDimension { + /// The length units. + /// + /// Acceptable values are: - "`in`" - "`cm`" + /// + /// Required. + core.String? unit; + + /// The length value represented as a number. + /// + /// The value can have a maximum precision of four decimal places. + /// + /// Required. + core.double? value; + + ProductDimension({ + this.unit, + this.value, + }); + + ProductDimension.fromJson(core.Map _json) + : this( + unit: _json.containsKey('unit') ? _json['unit'] as core.String : null, + value: _json.containsKey('value') + ? (_json['value'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (unit != null) 'unit': unit!, + if (value != null) 'value': value!, + }; +} + class ProductProductDetail { /// The name of the product detail. core.String? attributeName; @@ -21838,6 +22492,40 @@ class ProductUnitPricingMeasure { }; } +class ProductWeight { + /// The weight unit. + /// + /// Acceptable values are: - "`g`" - "`kg`" - "`oz`" - "`lb`" + /// + /// Required. + core.String? unit; + + /// The weight represented as a number. + /// + /// The weight can have a maximum precision of four decimal places. + /// + /// Required. + core.double? value; + + ProductWeight({ + this.unit, + this.value, + }); + + ProductWeight.fromJson(core.Map _json) + : this( + unit: _json.containsKey('unit') ? _json['unit'] as core.String : null, + value: _json.containsKey('value') + ? (_json['value'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (unit != null) 'unit': unit!, + if (value != null) 'value': value!, + }; +} + class ProductsCustomBatchRequest { /// The request entries to be processed in the batch. core.List? entries; @@ -21882,14 +22570,18 @@ class ProductsCustomBatchRequestEntry { /// Acceptable values are: - "`delete`" - "`get`" - "`insert`" - "`update`" core.String? method; - /// The product to insert. + /// The product to insert or update. /// - /// Only required if the method is `insert`. + /// Only required if the method is `insert` or `update`. If the `update` + /// method is used with `updateMask` only to delete a field, then this isn't + /// required. For example, setting `salePrice` on the `updateMask` and not + /// providing a `product` will result in an existing sale price on the product + /// specified by `productId` being deleted. Product? product; - /// The ID of the product to get or delete. + /// The ID of the product to get or mutate. /// - /// Only defined if the method is `get` or `delete`. + /// Only defined if the method is `get`, `delete`, or `update`. core.String? productId; /// The comma-separated list of product attributes to be updated. @@ -22278,24 +22970,387 @@ class ProductstatusesListResponse { }; } -/// Settings for Pub/Sub notifications, all methods require that the caller is a -/// direct user of the merchant center account. -class PubsubNotificationSettings { - /// Cloud pub/sub topic to which notifications are sent (read-only). - core.String? cloudTopicName; +/// Represents a promotion. +/// +/// (1) https://support.google.com/merchants/answer/2906014 (2) +/// https://support.google.com/merchants/answer/10146130 (3) +/// https://support.google.com/merchants/answer/9173673 +class Promotion { + /// Product filter by brand for the promotion. + core.List? brand; - /// Identifies what kind of resource this is. - /// - /// Value: the fixed string "`content#pubsubNotificationSettings`" - core.String? kind; + /// Product filter by brand exclusion for the promotion. + core.List? brandExclusion; - /// List of event types. + /// The content language used as part of the unique identifier. /// - /// Acceptable values are: - "`orderPendingShipment`" - core.List? registeredEvents; + /// Required. + core.String? contentLanguage; - PubsubNotificationSettings({ - this.cloudTopicName, + /// Coupon value type for the promotion. + /// + /// Required. + /// Possible string values are: + /// - "COUPON_VALUE_TYPE_UNSPECIFIED" : Indicates that the coupon value type + /// is unspecified. + /// - "MONEY_OFF" : Money off coupon value type. + /// - "PERCENT_OFF" : Percent off coupon value type. + /// - "BUY_M_GET_N_MONEY_OFF" : Buy M quantity, get N money off coupon value + /// type. buy_this_quantity and get_this_quantity must be present. + /// money_off_amount must also be present. + /// - "BUY_M_GET_N_PERCENT_OFF" : Buy M quantity, get N percent off coupon + /// value type. buy_this_quantity and get_this_quantity must be present. + /// percent_off_percentage must also be present. + /// - "BUY_M_GET_MONEY_OFF" : Buy M quantity, get money off. buy_this_quantity + /// and money_off_amount must be present. + /// - "BUY_M_GET_PERCENT_OFF" : Buy M quantity, get money off. + /// buy_this_quantity and percent_off_percentage must be present. + /// - "FREE_GIFT" : Free gift with description only + /// - "FREE_GIFT_WITH_VALUE" : Free gift with value (description is optional). + /// - "FREE_GIFT_WITH_ITEM_ID" : Free gift with item id (description is + /// optional). + /// - "FREE_SHIPPING_STANDARD" : Standard free shipping coupon value type. + /// - "FREE_SHIPPING_OVERNIGHT" : Overnight free shipping coupon value type. + /// - "FREE_SHIPPING_TWO_DAY" : Two day free shipping coupon value type. + core.String? couponValueType; + + /// Free gift description for the promotion. + core.String? freeGiftDescription; + + /// Free gift item id for the promotion. + core.String? freeGiftItemId; + + /// Free gift value for the promotion. + PriceAmount? freeGiftValue; + + /// Generic redemption code for the promotion. + /// + /// To be used with the above field. + core.String? genericRedemptionCode; + + /// The number of items discounted in the promotion. + core.int? getThisQuantityDiscounted; + + /// The REST promotion id to uniquely identify the promotion. + /// + /// Content API methods that operate on promotions take this as their + /// promotionId parameter. + /// + /// Required. Output only. + core.String? id; + + /// Product filter by item group id for the promotion. + core.List? itemGroupId; + + /// Product filter by item group id exclusion for the promotion. + core.List? itemGroupIdExclusion; + + /// Product filter by item id for the promotion. + core.List? itemId; + + /// Product filter by item id exclusion for the promotion. + core.List? itemIdExclusion; + + /// Maximum purchase quantity for the promotion. + core.int? limitQuantity; + + /// Maximum purchase value for the promotion. + PriceAmount? limitValue; + + /// Long title for the promotion. + core.String? longTitle; + + /// Minimum purchase amount for the promotion. + PriceAmount? minimumPurchaseAmount; + + /// Minimum purchase quantity for the promotion. + core.int? minimumPurchaseQuantity; + + /// Promotion cost cap of the promotion. + PriceAmount? moneyBudget; + + /// The money off amount offered in the promotion. + PriceAmount? moneyOffAmount; + + /// Type of the promotion. + /// + /// Required. + /// Possible string values are: + /// - "OFFER_TYPE_UNSPECIFIED" : Unknown offer type. + /// - "NO_CODE" : Offer type without a code. + /// - "GENERIC_CODE" : Offer type with a code. + core.String? offerType; + + /// Order limit for the promotion. + core.int? orderLimit; + + /// The percentage discount offered in the promotion. + core.int? percentOff; + + /// Applicability of the promotion to either all products or only specific + /// products. + /// + /// Required. + /// Possible string values are: + /// - "PRODUCT_APPLICABILITY_UNSPECIFIED" : Unknown product applicability. + /// - "ALL_PRODUCTS" : Applicable to all products. + /// - "PRODUCT_SPECIFIC" : Applicable to only a single product or list of + /// products. + core.String? productApplicability; + + /// Destination ID for the promotion. + core.List? promotionDestinationIds; + + /// String representation of the promotion display dates. + core.String? promotionDisplayDates; + + /// String representation of the promotion effective dates. + /// + /// Required. + core.String? promotionEffectiveDates; + + /// The user provided promotion id to uniquely identify the promotion. + /// + /// Required. + core.String? promotionId; + + /// Redemption channel for the promotion. + /// + /// At least one channel is required. + /// + /// Required. + core.List? redemptionChannel; + + /// Shipping service names for thse promotion. + core.List? shippingServiceNames; + + /// The target country used as part of the unique identifier. + /// + /// Required. + core.String? targetCountry; + + Promotion({ + this.brand, + this.brandExclusion, + this.contentLanguage, + this.couponValueType, + this.freeGiftDescription, + this.freeGiftItemId, + this.freeGiftValue, + this.genericRedemptionCode, + this.getThisQuantityDiscounted, + this.id, + this.itemGroupId, + this.itemGroupIdExclusion, + this.itemId, + this.itemIdExclusion, + this.limitQuantity, + this.limitValue, + this.longTitle, + this.minimumPurchaseAmount, + this.minimumPurchaseQuantity, + this.moneyBudget, + this.moneyOffAmount, + this.offerType, + this.orderLimit, + this.percentOff, + this.productApplicability, + this.promotionDestinationIds, + this.promotionDisplayDates, + this.promotionEffectiveDates, + this.promotionId, + this.redemptionChannel, + this.shippingServiceNames, + this.targetCountry, + }); + + Promotion.fromJson(core.Map _json) + : this( + brand: _json.containsKey('brand') + ? (_json['brand'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + brandExclusion: _json.containsKey('brandExclusion') + ? (_json['brandExclusion'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + contentLanguage: _json.containsKey('contentLanguage') + ? _json['contentLanguage'] as core.String + : null, + couponValueType: _json.containsKey('couponValueType') + ? _json['couponValueType'] as core.String + : null, + freeGiftDescription: _json.containsKey('freeGiftDescription') + ? _json['freeGiftDescription'] as core.String + : null, + freeGiftItemId: _json.containsKey('freeGiftItemId') + ? _json['freeGiftItemId'] as core.String + : null, + freeGiftValue: _json.containsKey('freeGiftValue') + ? PriceAmount.fromJson( + _json['freeGiftValue'] as core.Map) + : null, + genericRedemptionCode: _json.containsKey('genericRedemptionCode') + ? _json['genericRedemptionCode'] as core.String + : null, + getThisQuantityDiscounted: + _json.containsKey('getThisQuantityDiscounted') + ? _json['getThisQuantityDiscounted'] as core.int + : null, + id: _json.containsKey('id') ? _json['id'] as core.String : null, + itemGroupId: _json.containsKey('itemGroupId') + ? (_json['itemGroupId'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + itemGroupIdExclusion: _json.containsKey('itemGroupIdExclusion') + ? (_json['itemGroupIdExclusion'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + itemId: _json.containsKey('itemId') + ? (_json['itemId'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + itemIdExclusion: _json.containsKey('itemIdExclusion') + ? (_json['itemIdExclusion'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + limitQuantity: _json.containsKey('limitQuantity') + ? _json['limitQuantity'] as core.int + : null, + limitValue: _json.containsKey('limitValue') + ? PriceAmount.fromJson( + _json['limitValue'] as core.Map) + : null, + longTitle: _json.containsKey('longTitle') + ? _json['longTitle'] as core.String + : null, + minimumPurchaseAmount: _json.containsKey('minimumPurchaseAmount') + ? PriceAmount.fromJson(_json['minimumPurchaseAmount'] + as core.Map) + : null, + minimumPurchaseQuantity: _json.containsKey('minimumPurchaseQuantity') + ? _json['minimumPurchaseQuantity'] as core.int + : null, + moneyBudget: _json.containsKey('moneyBudget') + ? PriceAmount.fromJson( + _json['moneyBudget'] as core.Map) + : null, + moneyOffAmount: _json.containsKey('moneyOffAmount') + ? PriceAmount.fromJson(_json['moneyOffAmount'] + as core.Map) + : null, + offerType: _json.containsKey('offerType') + ? _json['offerType'] as core.String + : null, + orderLimit: _json.containsKey('orderLimit') + ? _json['orderLimit'] as core.int + : null, + percentOff: _json.containsKey('percentOff') + ? _json['percentOff'] as core.int + : null, + productApplicability: _json.containsKey('productApplicability') + ? _json['productApplicability'] as core.String + : null, + promotionDestinationIds: _json.containsKey('promotionDestinationIds') + ? (_json['promotionDestinationIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + promotionDisplayDates: _json.containsKey('promotionDisplayDates') + ? _json['promotionDisplayDates'] as core.String + : null, + promotionEffectiveDates: _json.containsKey('promotionEffectiveDates') + ? _json['promotionEffectiveDates'] as core.String + : null, + promotionId: _json.containsKey('promotionId') + ? _json['promotionId'] as core.String + : null, + redemptionChannel: _json.containsKey('redemptionChannel') + ? (_json['redemptionChannel'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + shippingServiceNames: _json.containsKey('shippingServiceNames') + ? (_json['shippingServiceNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + targetCountry: _json.containsKey('targetCountry') + ? _json['targetCountry'] as core.String + : null, + ); + + core.Map toJson() => { + if (brand != null) 'brand': brand!, + if (brandExclusion != null) 'brandExclusion': brandExclusion!, + if (contentLanguage != null) 'contentLanguage': contentLanguage!, + if (couponValueType != null) 'couponValueType': couponValueType!, + if (freeGiftDescription != null) + 'freeGiftDescription': freeGiftDescription!, + if (freeGiftItemId != null) 'freeGiftItemId': freeGiftItemId!, + if (freeGiftValue != null) 'freeGiftValue': freeGiftValue!.toJson(), + if (genericRedemptionCode != null) + 'genericRedemptionCode': genericRedemptionCode!, + if (getThisQuantityDiscounted != null) + 'getThisQuantityDiscounted': getThisQuantityDiscounted!, + if (id != null) 'id': id!, + if (itemGroupId != null) 'itemGroupId': itemGroupId!, + if (itemGroupIdExclusion != null) + 'itemGroupIdExclusion': itemGroupIdExclusion!, + if (itemId != null) 'itemId': itemId!, + if (itemIdExclusion != null) 'itemIdExclusion': itemIdExclusion!, + if (limitQuantity != null) 'limitQuantity': limitQuantity!, + if (limitValue != null) 'limitValue': limitValue!.toJson(), + if (longTitle != null) 'longTitle': longTitle!, + if (minimumPurchaseAmount != null) + 'minimumPurchaseAmount': minimumPurchaseAmount!.toJson(), + if (minimumPurchaseQuantity != null) + 'minimumPurchaseQuantity': minimumPurchaseQuantity!, + if (moneyBudget != null) 'moneyBudget': moneyBudget!.toJson(), + if (moneyOffAmount != null) 'moneyOffAmount': moneyOffAmount!.toJson(), + if (offerType != null) 'offerType': offerType!, + if (orderLimit != null) 'orderLimit': orderLimit!, + if (percentOff != null) 'percentOff': percentOff!, + if (productApplicability != null) + 'productApplicability': productApplicability!, + if (promotionDestinationIds != null) + 'promotionDestinationIds': promotionDestinationIds!, + if (promotionDisplayDates != null) + 'promotionDisplayDates': promotionDisplayDates!, + if (promotionEffectiveDates != null) + 'promotionEffectiveDates': promotionEffectiveDates!, + if (promotionId != null) 'promotionId': promotionId!, + if (redemptionChannel != null) 'redemptionChannel': redemptionChannel!, + if (shippingServiceNames != null) + 'shippingServiceNames': shippingServiceNames!, + if (targetCountry != null) 'targetCountry': targetCountry!, + }; +} + +/// Settings for Pub/Sub notifications, all methods require that the caller is a +/// direct user of the merchant center account. +class PubsubNotificationSettings { + /// Cloud pub/sub topic to which notifications are sent (read-only). + core.String? cloudTopicName; + + /// Identifies what kind of resource this is. + /// + /// Value: the fixed string "`content#pubsubNotificationSettings`" + core.String? kind; + + /// List of event types. + /// + /// Acceptable values are: - "`orderPendingShipment`" + core.List? registeredEvents; + + PubsubNotificationSettings({ + this.cloudTopicName, this.kind, this.registeredEvents, }); @@ -23003,6 +24058,12 @@ class RepricingProductReport { /// - "TYPE_COGS_BASED" : Cost of goods sale based rule. Repricer will adjust /// the offer price based on the offer's sale cost which is provided by the /// merchant. + /// - "TYPE_SALES_VOLUME_BASED" : Sales volume based rule. Repricer will + /// adjust the offer price based on the offer's sales volume in the past + /// period of time defined within the rule. + /// - "TYPE_COMPETITIVE_PRICE" : Competitive price rule. Repricer will adjust + /// the offer price based on the min price from a list of unnamed big + /// competitors. core.String? type; RepricingProductReport({ @@ -23176,6 +24237,12 @@ class RepricingRule { /// - "TYPE_COGS_BASED" : Cost of goods sale based rule. Repricer will adjust /// the offer price based on the offer's sale cost which is provided by the /// merchant. + /// - "TYPE_SALES_VOLUME_BASED" : Sales volume based rule. Repricer will + /// adjust the offer price based on the offer's sales volume in the past + /// period of time defined within the rule. + /// - "TYPE_COMPETITIVE_PRICE" : Competitive price rule. Repricer will adjust + /// the offer price based on the min price from a list of unnamed big + /// competitors. core.String? type; RepricingRule({ @@ -23511,6 +24578,12 @@ class RepricingRuleReport { /// - "TYPE_COGS_BASED" : Cost of goods sale based rule. Repricer will adjust /// the offer price based on the offer's sale cost which is provided by the /// merchant. + /// - "TYPE_SALES_VOLUME_BASED" : Sales volume based rule. Repricer will + /// adjust the offer price based on the offer's sales volume in the past + /// period of time defined within the rule. + /// - "TYPE_COMPETITIVE_PRICE" : Competitive price rule. Repricer will adjust + /// the offer price based on the min price from a list of unnamed big + /// competitors. core.String? type; RepricingRuleReport({ @@ -23727,6 +24800,88 @@ class RepricingRuleStatsBasedRule { }; } +/// Request message for the RequestPhoneVerification method. +class RequestPhoneVerificationRequest { + /// Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for + /// example, en-US). + /// + /// Language code is used to provide localized `SMS` and `PHONE_CALL`. Default + /// language used is en-US if not provided. + core.String? languageCode; + + /// Phone number to be verified. + core.String? phoneNumber; + + /// Two letter country code for the phone number, for example `CA` for + /// Canadian numbers. + /// + /// See the \[ISO 3166-1 + /// alpha-2\](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + /// officially assigned codes. + /// + /// Required. + core.String? phoneRegionCode; + + /// Verification method to receive verification code. + /// Possible string values are: + /// - "PHONE_VERIFICATION_METHOD_UNSPECIFIED" : Unknown method. + /// - "SMS" : Receive verification code by SMS. + /// - "PHONE_CALL" : Receive verification code by phone call. + core.String? phoneVerificationMethod; + + RequestPhoneVerificationRequest({ + this.languageCode, + this.phoneNumber, + this.phoneRegionCode, + this.phoneVerificationMethod, + }); + + RequestPhoneVerificationRequest.fromJson(core.Map _json) + : this( + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + phoneNumber: _json.containsKey('phoneNumber') + ? _json['phoneNumber'] as core.String + : null, + phoneRegionCode: _json.containsKey('phoneRegionCode') + ? _json['phoneRegionCode'] as core.String + : null, + phoneVerificationMethod: _json.containsKey('phoneVerificationMethod') + ? _json['phoneVerificationMethod'] as core.String + : null, + ); + + core.Map toJson() => { + if (languageCode != null) 'languageCode': languageCode!, + if (phoneNumber != null) 'phoneNumber': phoneNumber!, + if (phoneRegionCode != null) 'phoneRegionCode': phoneRegionCode!, + if (phoneVerificationMethod != null) + 'phoneVerificationMethod': phoneVerificationMethod!, + }; +} + +/// Response message for the RequestPhoneVerification method. +class RequestPhoneVerificationResponse { + /// The verification ID to use in subsequent calls to `verifyphonenumber`. + core.String? verificationId; + + RequestPhoneVerificationResponse({ + this.verificationId, + }); + + RequestPhoneVerificationResponse.fromJson(core.Map _json) + : this( + verificationId: _json.containsKey('verificationId') + ? _json['verificationId'] as core.String + : null, + ); + + core.Map toJson() => { + if (verificationId != null) 'verificationId': verificationId!, + }; +} + /// Request message for the RequestReviewProgram method. class RequestReviewBuyOnGoogleProgramRequest { RequestReviewBuyOnGoogleProgramRequest(); @@ -23738,6 +24893,52 @@ class RequestReviewBuyOnGoogleProgramRequest { core.Map toJson() => {}; } +/// Request message for the RequestReviewFreeListings Program method. +class RequestReviewFreeListingsRequest { + /// The code \[ISO 3166-1 + /// alpha-2\](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country + /// for which review is to be requested. + core.String? regionCode; + + RequestReviewFreeListingsRequest({ + this.regionCode, + }); + + RequestReviewFreeListingsRequest.fromJson(core.Map _json) + : this( + regionCode: _json.containsKey('regionCode') + ? _json['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// Request message for the RequestReviewShoppingAds program method. +class RequestReviewShoppingAdsRequest { + /// The code \[ISO 3166-1 + /// alpha-2\](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country + /// for which review is to be requested. + core.String? regionCode; + + RequestReviewShoppingAdsRequest({ + this.regionCode, + }); + + RequestReviewShoppingAdsRequest.fromJson(core.Map _json) + : this( + regionCode: _json.containsKey('regionCode') + ? _json['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (regionCode != null) 'regionCode': regionCode!, + }; +} + /// Return address resource. class ReturnAddress { /// The address. @@ -25013,6 +26214,9 @@ class SearchRequest { /// Query that defines performance metrics to retrieve and dimensions /// according to which the metrics are to be segmented. /// + /// For details on how to construct your query, see the + /// [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query-language/overview). + /// /// Required. core.String? query; @@ -25087,19 +26291,29 @@ class Segments { /// Brand of the product. core.String? brand; - /// Product category (1st level) in Google's product taxonomy. + /// \[Product category (1st + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in Google's product taxonomy. core.String? categoryL1; - /// Product category (2nd level) in Google's product taxonomy. + /// \[Product category (2nd + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in Google's product taxonomy. core.String? categoryL2; - /// Product category (3rd level) in Google's product taxonomy. + /// \[Product category (3rd + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in Google's product taxonomy. core.String? categoryL3; - /// Product category (4th level) in Google's product taxonomy. + /// \[Product category (4th + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in Google's product taxonomy. core.String? categoryL4; - /// Product category (5th level) in Google's product taxonomy. + /// \[Product category (5th + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in Google's product taxonomy. core.String? categoryL5; /// Currency in which price metrics are represented, e.g., if you select @@ -25128,19 +26342,29 @@ class Segments { /// Merchant-provided id of the product. core.String? offerId; - /// Product category (1st level) in merchant's own product taxonomy. + /// \[Product type (1st + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in merchant's own product taxonomy. core.String? productTypeL1; - /// Product category (2nd level) in merchant's own product taxonomy. + /// \[Product type (2nd + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in merchant's own product taxonomy. core.String? productTypeL2; - /// Product category (3rd level) in merchant's own product taxonomy. + /// \[Product type (3rd + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in merchant's own product taxonomy. core.String? productTypeL3; - /// Product category (4th level) in merchant's own product taxonomy. + /// \[Product type (4th + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in merchant's own product taxonomy. core.String? productTypeL4; - /// Product category (5th level) in merchant's own product taxonomy. + /// \[Product type (5th + /// level)\](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) + /// in merchant's own product taxonomy. core.String? productTypeL5; /// Program to which metrics apply, e.g., Free Product Listing. @@ -26360,6 +27584,145 @@ class ShippingsettingsListResponse { }; } +/// Response message for GetShoppingAdsProgramStatus. +class ShoppingAdsProgramStatus { + /// Status of the program in each region. + /// + /// Regions with the same status and review eligibility are grouped together + /// in `regionCodes`. + core.List? regionStatuses; + + /// If program is successfully onboarded for at least one region. + /// Possible string values are: + /// - "PROGRAM_STATE_UNSPECIFIED" : State is not known. + /// - "ONBOARDED" : Program is onboarded for at least one country. + /// - "NOT_ONBOARDED" : Program is not onboarded for any country. + core.String? state; + + ShoppingAdsProgramStatus({ + this.regionStatuses, + this.state, + }); + + ShoppingAdsProgramStatus.fromJson(core.Map _json) + : this( + regionStatuses: _json.containsKey('regionStatuses') + ? (_json['regionStatuses'] as core.List) + .map((value) => + ShoppingAdsProgramStatusRegionStatus.fromJson( + value as core.Map)) + .toList() + : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + ); + + core.Map toJson() => { + if (regionStatuses != null) + 'regionStatuses': + regionStatuses!.map((value) => value.toJson()).toList(), + if (state != null) 'state': state!, + }; +} + +/// Status of program and region. +class ShoppingAdsProgramStatusRegionStatus { + /// Date by which `eligibility_status` will go from `WARNING` to + /// `DISAPPROVED`. + /// + /// It will be present when `eligibility_status` is `WARNING`. Date will be + /// provided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format i.e. + /// YYYY-MM-DD + core.String? disapprovalDate; + + /// Eligibility status of the Shopping Ads program. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : State is not known. + /// - "APPROVED" : If the account has no issues and review is completed + /// successfully. + /// - "DISAPPROVED" : There are one or more issues that needs to be resolved + /// for account to be active for the program. Detailed list of account issues + /// are available in + /// [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) + /// API. + /// - "WARNING" : If account has issues but offers are servable. Some of the + /// issue can make account DISAPPROVED after a certain deadline. + /// - "UNDER_REVIEW" : Account is under review. + /// - "PENDING_REVIEW" : Account is waiting for review to start. + /// - "ONBOARDING" : Program is currently onboarding. + core.String? eligibilityStatus; + + /// Reason if a program in a given country is not eligible for review. + /// + /// Populated only if `review_eligibility_status` is `INELIGIBLE`. + core.String? ineligibilityReason; + + /// The two-letter \[ISO 3166-1 + /// alpha-2\](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all + /// the regions with the same `eligibilityStatus` and `reviewEligibility`. + core.List? regionCodes; + + /// If a program in a given country is eligible for review. + /// + /// It will be present only if eligibility status is `DISAPPROVED`. + /// Possible string values are: + /// - "REVIEW_ELIGIBILITY_UNSPECIFIED" : Review eligibility state is unknown. + /// - "ELIGIBLE" : Account for a region code is eligible for review. + /// - "INELIGIBLE" : Account for a region code is not eligible for review. + core.String? reviewEligibilityStatus; + + /// These issues will be evaluated in review process. + /// + /// Fix all the issues before requesting the review. + core.List? reviewIssues; + + ShoppingAdsProgramStatusRegionStatus({ + this.disapprovalDate, + this.eligibilityStatus, + this.ineligibilityReason, + this.regionCodes, + this.reviewEligibilityStatus, + this.reviewIssues, + }); + + ShoppingAdsProgramStatusRegionStatus.fromJson(core.Map _json) + : this( + disapprovalDate: _json.containsKey('disapprovalDate') + ? _json['disapprovalDate'] as core.String + : null, + eligibilityStatus: _json.containsKey('eligibilityStatus') + ? _json['eligibilityStatus'] as core.String + : null, + ineligibilityReason: _json.containsKey('ineligibilityReason') + ? _json['ineligibilityReason'] as core.String + : null, + regionCodes: _json.containsKey('regionCodes') + ? (_json['regionCodes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + reviewEligibilityStatus: _json.containsKey('reviewEligibilityStatus') + ? _json['reviewEligibilityStatus'] as core.String + : null, + reviewIssues: _json.containsKey('reviewIssues') + ? (_json['reviewIssues'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (disapprovalDate != null) 'disapprovalDate': disapprovalDate!, + if (eligibilityStatus != null) 'eligibilityStatus': eligibilityStatus!, + if (ineligibilityReason != null) + 'ineligibilityReason': ineligibilityReason!, + if (regionCodes != null) 'regionCodes': regionCodes!, + if (reviewEligibilityStatus != null) + 'reviewEligibilityStatus': reviewEligibilityStatus!, + if (reviewIssues != null) 'reviewIssues': reviewIssues!, + }; +} + class Table { /// Headers of the table's columns. /// @@ -27355,6 +28718,70 @@ class Value { }; } +/// Request message for the VerifyPhoneNumber method. +class VerifyPhoneNumberRequest { + /// Verification method used to receive verification code. + /// Possible string values are: + /// - "PHONE_VERIFICATION_METHOD_UNSPECIFIED" : Unknown method. + /// - "SMS" : Receive verification code by SMS. + /// - "PHONE_CALL" : Receive verification code by phone call. + core.String? phoneVerificationMethod; + + /// The verification code that was sent to the phone number for validation. + core.String? verificationCode; + + /// The verification ID returned by `requestphoneverification`. + core.String? verificationId; + + VerifyPhoneNumberRequest({ + this.phoneVerificationMethod, + this.verificationCode, + this.verificationId, + }); + + VerifyPhoneNumberRequest.fromJson(core.Map _json) + : this( + phoneVerificationMethod: _json.containsKey('phoneVerificationMethod') + ? _json['phoneVerificationMethod'] as core.String + : null, + verificationCode: _json.containsKey('verificationCode') + ? _json['verificationCode'] as core.String + : null, + verificationId: _json.containsKey('verificationId') + ? _json['verificationId'] as core.String + : null, + ); + + core.Map toJson() => { + if (phoneVerificationMethod != null) + 'phoneVerificationMethod': phoneVerificationMethod!, + if (verificationCode != null) 'verificationCode': verificationCode!, + if (verificationId != null) 'verificationId': verificationId!, + }; +} + +/// Response message for the VerifyPhoneNumber method. +class VerifyPhoneNumberResponse { + /// Verified phone number if verification is successful. + core.String? verifiedPhoneNumber; + + VerifyPhoneNumberResponse({ + this.verifiedPhoneNumber, + }); + + VerifyPhoneNumberResponse.fromJson(core.Map _json) + : this( + verifiedPhoneNumber: _json.containsKey('verifiedPhoneNumber') + ? _json['verifiedPhoneNumber'] as core.String + : null, + ); + + core.Map toJson() => { + if (verifiedPhoneNumber != null) + 'verifiedPhoneNumber': verifiedPhoneNumber!, + }; +} + class WarehouseBasedDeliveryTime { /// Carrier, such as `"UPS"` or `"Fedex"`. /// diff --git a/generated/googleapis/lib/datacatalog/v1.dart b/generated/googleapis/lib/datacatalog/v1.dart index 6313afc2d..fde32ac0a 100644 --- a/generated/googleapis/lib/datacatalog/v1.dart +++ b/generated/googleapis/lib/datacatalog/v1.dart @@ -51,7 +51,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A fully managed and highly scalable data discovery and metadata management /// service. class DataCatalogApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -149,8 +150,8 @@ class EntriesResource { /// * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}` /// /// [sqlResource] - The SQL name of the entry. SQL names are case-sensitive. - /// Examples: * `pubsub.{PROJECT_ID}.{TOPIC_ID}` * - /// `pubsub.{PROJECT_ID}.{TOPIC.ID.SEPARATED.WITH.DOTS}` * + /// Examples: * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` * + /// `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\` * /// `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` * /// `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` * /// `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}` @@ -5473,7 +5474,10 @@ class GoogleCloudDatacatalogV1TagTemplate { /// public tag template are referred to as public tags. You can search for a /// public tag by value with a simple search query instead of using a ``tag:`` /// predicate. Public tag templates may not appear in search results depending - /// on scope, see: include_public_tag_templates + /// on scope, see: include_public_tag_templates Note: If an + /// [IAM domain restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains) + /// is configured in the tag template's location, the public access will not + /// be enabled but the simple search for tag values will still work. core.bool? isPubliclyReadable; /// The resource name of the tag template in URL format. @@ -5848,7 +5852,7 @@ class GoogleCloudDatacatalogV1ViewSpec { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/datamigration/v1.dart b/generated/googleapis/lib/datamigration/v1.dart index e4029de17..13069f018 100644 --- a/generated/googleapis/lib/datamigration/v1.dart +++ b/generated/googleapis/lib/datamigration/v1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manage Cloud Database Migration Service resources on Google Cloud Platform. class DatabaseMigrationServiceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -3083,7 +3084,7 @@ class Operation { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart index a88e16950..c84758f48 100644 --- a/generated/googleapis/lib/dataproc/v1.dart +++ b/generated/googleapis/lib/dataproc/v1.dart @@ -46,7 +46,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages Hadoop-based clusters and jobs on Google Cloud Platform. class DataprocApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1430,6 +1431,15 @@ class ProjectsRegionsClustersResource { /// /// [region] - Required. The Dataproc region in which to handle the request. /// + /// [actionOnFailedPrimaryWorkers] - Optional. Failure action when primary + /// worker creation fails. + /// Possible string values are: + /// - "FAILURE_ACTION_UNSPECIFIED" : When FailureAction is unspecified, + /// failure action defaults to NO_ACTION. + /// - "NO_ACTION" : Take no action on failure to create a cluster resource. + /// NO_ACTION is the default. + /// - "DELETE" : Delete the failed cluster resource. + /// /// [requestId] - Optional. A unique ID used to identify the request. If the /// server receives two CreateClusterRequest /// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s @@ -1454,11 +1464,14 @@ class ProjectsRegionsClustersResource { Cluster request, core.String projectId, core.String region, { + core.String? actionOnFailedPrimaryWorkers, core.String? requestId, core.String? $fields, }) async { final _body = convert.json.encode(request.toJson()); final _queryParams = >{ + if (actionOnFailedPrimaryWorkers != null) + 'actionOnFailedPrimaryWorkers': [actionOnFailedPrimaryWorkers], if (requestId != null) 'requestId': [requestId], if ($fields != null) 'fields': [$fields], }; @@ -4020,8 +4033,8 @@ class CancelJobRequest { core.Map toJson() => {}; } -/// Describes the identifying information, config, and status of a cluster of -/// Compute Engine instances. +/// Describes the identifying information, config, and status of a Dataproc +/// cluster class Cluster { /// The cluster name. /// @@ -4038,12 +4051,12 @@ class Cluster { /// Output only. core.String? clusterUuid; - /// The cluster config. + /// The cluster config for a cluster of Compute Engine Instances. /// /// Note that Dataproc may set default values, and values may change when /// clusters are updated. /// - /// Required. + /// Optional. ClusterConfig? config; /// The labels to associate with this cluster. @@ -4160,10 +4173,10 @@ class ClusterConfig { /// Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket /// according to the Compute Engine zone where your cluster is deployed, and /// then create and manage this project-level, per-location bucket (see - /// Dataproc staging bucket + /// Dataproc staging and temp buckets /// (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). - /// This field requires a Cloud Storage bucket name, not a URI to a Cloud - /// Storage bucket. + /// This field requires a Cloud Storage bucket name, not a gs://... URI to a + /// Cloud Storage bucket. /// /// Optional. core.String? configBucket; @@ -4211,7 +4224,7 @@ class ClusterConfig { /// Optional. LifecycleConfig? lifecycleConfig; - /// The Compute Engine config settings for the master instance in a cluster. + /// The Compute Engine config settings for the cluster's master instance. /// /// Optional. InstanceGroupConfig? masterConfig; @@ -4221,8 +4234,8 @@ class ClusterConfig { /// Optional. MetastoreConfig? metastoreConfig; - /// The Compute Engine config settings for additional worker instances in a - /// cluster. + /// The Compute Engine config settings for a cluster's secondary worker + /// instances /// /// Optional. InstanceGroupConfig? secondaryWorkerConfig; @@ -4232,7 +4245,7 @@ class ClusterConfig { /// Optional. SecurityConfig? securityConfig; - /// The config settings for software inside the cluster. + /// The config settings for cluster software. /// /// Optional. SoftwareConfig? softwareConfig; @@ -4245,13 +4258,15 @@ class ClusterConfig { /// according to the Compute Engine zone where your cluster is deployed, and /// then create and manage this project-level, per-location bucket. The /// default bucket has a TTL of 90 days, but you can use any TTL (or none) if - /// you specify a bucket. This field requires a Cloud Storage bucket name, not - /// a URI to a Cloud Storage bucket. + /// you specify a bucket (see Dataproc staging and temp buckets + /// (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). + /// This field requires a Cloud Storage bucket name, not a gs://... URI to a + /// Cloud Storage bucket. /// /// Optional. core.String? tempBucket; - /// The Compute Engine config settings for worker instances in a cluster. + /// The Compute Engine config settings for the cluster's worker instances. /// /// Optional. InstanceGroupConfig? workerConfig; @@ -5284,7 +5299,7 @@ class GetPolicyOptions { }; } -/// The GKE config for this cluster. +/// The cluster's GKE config. class GkeClusterConfig { /// A target for the deployment. /// @@ -7611,7 +7626,7 @@ class PigJob { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the IAM /// documentation (https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart index a16936609..5793d7843 100644 --- a/generated/googleapis/lib/datastore/v1.dart +++ b/generated/googleapis/lib/datastore/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Accesses the schemaless NoSQL database to provide fully managed, robust, /// scalable storage for your application. class DatastoreApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart index 6f01e9f89..cef7a7087 100644 --- a/generated/googleapis/lib/deploymentmanager/v2.dart +++ b/generated/googleapis/lib/deploymentmanager/v2.dart @@ -45,11 +45,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// configuring, deploying, and viewing Google Cloud services and APIs via /// templates which specify deployments of Cloud resources. class DeploymentManagerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -2679,7 +2681,7 @@ class OperationsListResponse { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/dialogflow/v2.dart b/generated/googleapis/lib/dialogflow/v2.dart index 6f7656e59..bdd73ab00 100644 --- a/generated/googleapis/lib/dialogflow/v2.dart +++ b/generated/googleapis/lib/dialogflow/v2.dart @@ -88,7 +88,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Builds conversational interfaces (for example, chatbots, and voice-powered /// apps and devices). class DialogflowApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -5399,6 +5400,42 @@ class ProjectsLocationsResource { _response as core.Map); } + /// Gets information about a location. + /// + /// Request parameters: + /// + /// [name] - Resource name for the location. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudLocationLocation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudLocationLocation.fromJson( + _response as core.Map); + } + /// Retrieves the specified agent. /// /// Request parameters: @@ -5436,6 +5473,58 @@ class ProjectsLocationsResource { _response as core.Map); } + /// Lists information about the supported locations for this service. + /// + /// Request parameters: + /// + /// [name] - The resource that owns the locations collection, if applicable. + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - A filter to narrow down results to a preferred subset. The + /// filtering language accepts strings like "displayName=tokyo", and is + /// documented in more detail in \[AIP-160\](https://google.aip.dev/160). + /// + /// [pageSize] - The maximum number of results to return. If not set, the + /// service selects a default. + /// + /// [pageToken] - A page token received from the `next_page_token` field in + /// the response. Send that page token to receive the subsequent page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudLocationListLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$name') + '/locations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudLocationListLocationsResponse.fromJson( + _response as core.Map); + } + /// Creates/updates the specified agent. /// /// Note: You should always train an agent prior to sending it queries. See @@ -10679,7 +10768,8 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput { /// Input only. /// - /// The diagnostic info output for the turn. + /// The diagnostic info output for the turn. Required to calculate the testing + /// coverage. /// /// Required. /// @@ -11063,6 +11153,8 @@ class GoogleCloudDialogflowCxV3ExportFlowResponse { } /// Metadata returned for the TestCases.ExportTestCases long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3ExportTestCasesMetadata { GoogleCloudDialogflowCxV3ExportTestCasesMetadata(); @@ -13012,6 +13104,8 @@ class GoogleCloudDialogflowCxV3RunContinuousTestResponse { } /// Metadata returned for the TestCases.RunTestCase long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3RunTestCaseMetadata { GoogleCloudDialogflowCxV3RunTestCaseMetadata(); @@ -14250,7 +14344,8 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput { /// Input only. /// - /// The diagnostic info output for the turn. + /// The diagnostic info output for the turn. Required to calculate the testing + /// coverage. /// /// Required. /// @@ -14639,6 +14734,8 @@ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse { } /// Metadata returned for the TestCases.ExportTestCases long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata { GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata(); @@ -16604,6 +16701,8 @@ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse { } /// Metadata returned for the TestCases.RunTestCase long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata { GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata(); @@ -21367,6 +21466,8 @@ class GoogleCloudDialogflowV2Intent { /// /// Information about all followup intents that have this intent as a direct /// or indirect parent. We populate this field only in the output. + /// + /// Output only. core.List? followupIntentInfo; @@ -21460,6 +21561,8 @@ class GoogleCloudDialogflowV2Intent { /// It identifies the correct followup intents chain for this intent. We /// populate this field only in the output. Format: /// `projects//agent/intents/`. + /// + /// Output only. core.String? rootFollowupIntentName; /// The collection of examples that the agent is trained on. @@ -25550,7 +25653,7 @@ class GoogleCloudDialogflowV2ValidationError { /// associated with certain entities. core.List? entries; - /// The detailed error messsage. + /// The detailed error message. core.String? errorMessage; /// The severity of the error. @@ -30806,6 +30909,114 @@ class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata { }; } +/// The response message for Locations.ListLocations. +class GoogleCloudLocationListLocationsResponse { + /// A list of locations that matches the specified filter in the request. + core.List? locations; + + /// The standard List next-page token. + core.String? nextPageToken; + + GoogleCloudLocationListLocationsResponse({ + this.locations, + this.nextPageToken, + }); + + GoogleCloudLocationListLocationsResponse.fromJson(core.Map _json) + : this( + locations: _json.containsKey('locations') + ? (_json['locations'] as core.List) + .map((value) => + GoogleCloudLocationLocation.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (locations != null) + 'locations': locations!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// A resource that represents Google Cloud Platform location. +class GoogleCloudLocationLocation { + /// The friendly name for this location, typically a nearby city name. + /// + /// For example, "Tokyo". + core.String? displayName; + + /// Cross-service attributes for the location. + /// + /// For example {"cloud.googleapis.com/region": "us-east1"} + core.Map? labels; + + /// The canonical id for this location. + /// + /// For example: `"us-east1"`. + core.String? locationId; + + /// Service-specific metadata. + /// + /// For example the available capacity at the given location. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// Resource name for the location, which may vary between implementations. + /// + /// For example: `"projects/example-project/locations/us-east1"` + core.String? name; + + GoogleCloudLocationLocation({ + this.displayName, + this.labels, + this.locationId, + this.metadata, + this.name, + }); + + GoogleCloudLocationLocation.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + locationId: _json.containsKey('locationId') + ? _json['locationId'] as core.String + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (labels != null) 'labels': labels!, + if (locationId != null) 'locationId': locationId!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + }; +} + /// The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse { /// The standard List next-page token. diff --git a/generated/googleapis/lib/dialogflow/v3.dart b/generated/googleapis/lib/dialogflow/v3.dart index 2b002e9a9..245fead96 100644 --- a/generated/googleapis/lib/dialogflow/v3.dart +++ b/generated/googleapis/lib/dialogflow/v3.dart @@ -60,7 +60,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Builds conversational interfaces (for example, chatbots, and voice-powered /// apps and devices). class DialogflowApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -100,6 +101,94 @@ class ProjectsLocationsResource { ProjectsLocationsSecuritySettingsResource(_requester); ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Gets information about a location. + /// + /// Request parameters: + /// + /// [name] - Resource name for the location. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudLocationLocation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v3/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudLocationLocation.fromJson( + _response as core.Map); + } + + /// Lists information about the supported locations for this service. + /// + /// Request parameters: + /// + /// [name] - The resource that owns the locations collection, if applicable. + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - A filter to narrow down results to a preferred subset. The + /// filtering language accepts strings like "displayName=tokyo", and is + /// documented in more detail in \[AIP-160\](https://google.aip.dev/160). + /// + /// [pageSize] - The maximum number of results to return. If not set, the + /// service selects a default. + /// + /// [pageToken] - A page token received from the `next_page_token` field in + /// the response. Send that page token to receive the subsequent page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudLocationListLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v3/' + core.Uri.encodeFull('$name') + '/locations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudLocationListLocationsResponse.fromJson( + _response as core.Map); + } } class ProjectsLocationsAgentsResource { @@ -208,6 +297,13 @@ class ProjectsLocationsAgentsResource { /// Exports the specified agent to a binary file. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: ExportAgentResponse + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -435,6 +531,13 @@ class ProjectsLocationsAgentsResource { /// /// Replaces the current agent with a new one. Note that all existing /// resources in agent (e.g. intents, entity types, flows) will be removed. + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: An + /// [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) /// Note: You should always train flows prior to sending them queries. See the /// [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). /// @@ -824,6 +927,13 @@ class ProjectsLocationsAgentsEnvironmentsResource { /// Creates an Environment in the specified Agent. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: Environment + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -1042,6 +1152,13 @@ class ProjectsLocationsAgentsEnvironmentsResource { /// Updates the specified Environment. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: Environment + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -1089,6 +1206,12 @@ class ProjectsLocationsAgentsEnvironmentsResource { /// Kicks off a continuous test under the specified Environment. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: RunContinuousTestMetadata - `response`: + /// RunContinuousTestResponse + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -2031,8 +2154,13 @@ class ProjectsLocationsAgentsFlowsResource { /// Exports the specified flow to a binary file. /// - /// Note that resources (e.g. intents, entities, webhooks) that the flow - /// references will also be exported. + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: ExportFlowResponse Note that resources (e.g. intents, + /// entities, webhooks) that the flow references will also be exported. /// /// [request] - The metadata request object. /// @@ -2173,7 +2301,13 @@ class ProjectsLocationsAgentsFlowsResource { /// Imports the specified flow to the specified agent from a binary file. /// - /// Note: You should always train a flow prior to sending it queries. See the + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: ImportFlowResponse Note: You should always train a flow + /// prior to sending it queries. See the /// [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). /// /// [request] - The metadata request object. @@ -2301,8 +2435,8 @@ class ProjectsLocationsAgentsFlowsResource { /// are supported. Note: languages must be enabled in the agent before they /// can be used. /// - /// [updateMask] - Required. The mask to control which fields get updated. If - /// `update_mask` is not specified, an error will be returned. + /// [updateMask] - The mask to control which fields get updated. If the mask + /// is not present, all fields will be updated. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -2342,8 +2476,15 @@ class ProjectsLocationsAgentsFlowsResource { /// Trains the specified flow. /// - /// Note that only the flow in 'draft' environment is trained. Note: You - /// should always train a flow prior to sending it queries. See the + /// Note that only the flow in 'draft' environment is trained. This method is + /// a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: An + /// [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) + /// Note: You should always train a flow prior to sending it queries. See the /// [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). /// /// [request] - The metadata request object. @@ -3044,6 +3185,11 @@ class ProjectsLocationsAgentsFlowsVersionsResource { /// Creates a Version in the specified Flow. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: CreateVersionOperationMetadata - `response`: Version + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -3211,6 +3357,14 @@ class ProjectsLocationsAgentsFlowsVersionsResource { /// Loads resources in the specified version to the draft flow. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: An empty + /// [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) + /// - `response`: An + /// [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -4038,6 +4192,12 @@ class ProjectsLocationsAgentsTestCasesResource { /// Kicks off a batch run of test cases. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: BatchRunTestCasesMetadata - `response`: + /// BatchRunTestCasesResponse + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -4173,7 +4333,11 @@ class ProjectsLocationsAgentsTestCasesResource { /// Exports the test cases under the agent to a Cloud Storage bucket or a /// local file. /// - /// Filter can be applied to export a subset of test cases. + /// Filter can be applied to export a subset of test cases. This method is a + /// \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: ExportTestCasesMetadata - `response`: ExportTestCasesResponse /// /// [request] - The metadata request object. /// @@ -4257,7 +4421,11 @@ class ProjectsLocationsAgentsTestCasesResource { /// Imports the test cases from a Cloud Storage bucket or a local file. /// /// It always creates new test cases and won't overwite any existing ones. The - /// provided ID in the imported test case is neglected. + /// provided ID in the imported test case is neglected. This method is a + /// \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: ImportTestCasesMetadata - `response`: ImportTestCasesResponse /// /// [request] - The metadata request object. /// @@ -4412,6 +4580,11 @@ class ProjectsLocationsAgentsTestCasesResource { /// Kicks off a test case run. /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: RunTestCaseMetadata - `response`: RunTestCaseResponse + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -5314,6 +5487,70 @@ class ProjectsOperationsResource { } } +/// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. +/// +/// Settings exposed at lower level overrides the settings exposed at higher +/// level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. +class GoogleCloudDialogflowCxV3AdvancedSettings { + /// Settings for logging. + /// + /// Settings for Dialogflow History, Contact Center messages, StackDriver + /// logs, and speech logging. Exposed at the following levels: - Agent level. + GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings? loggingSettings; + + GoogleCloudDialogflowCxV3AdvancedSettings({ + this.loggingSettings, + }); + + GoogleCloudDialogflowCxV3AdvancedSettings.fromJson(core.Map _json) + : this( + loggingSettings: _json.containsKey('loggingSettings') + ? GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings + .fromJson(_json['loggingSettings'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (loggingSettings != null) + 'loggingSettings': loggingSettings!.toJson(), + }; +} + +/// Define behaviors on logging. +class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings { + /// If true, DF Interaction logging is currently enabled. + core.bool? enableInteractionLogging; + + /// If true, StackDriver logging is currently enabled. + core.bool? enableStackdriverLogging; + + GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings({ + this.enableInteractionLogging, + this.enableStackdriverLogging, + }); + + GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.fromJson( + core.Map _json) + : this( + enableInteractionLogging: + _json.containsKey('enableInteractionLogging') + ? _json['enableInteractionLogging'] as core.bool + : null, + enableStackdriverLogging: + _json.containsKey('enableStackdriverLogging') + ? _json['enableStackdriverLogging'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enableInteractionLogging != null) + 'enableInteractionLogging': enableInteractionLogging!, + if (enableStackdriverLogging != null) + 'enableStackdriverLogging': enableStackdriverLogging!, + }; +} + /// Agents are best described as Natural Language Understanding (NLU) modules /// that transform user requests into actionable data. /// @@ -5322,6 +5559,12 @@ class ProjectsOperationsResource { /// you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, and so on /// to manage the conversation flows.. class GoogleCloudDialogflowCxV3Agent { + /// Hierarchical advanced settings for this agent. + /// + /// The settings exposed at the lower level overrides the settings exposed at + /// the higher level. + GoogleCloudDialogflowCxV3AdvancedSettings? advancedSettings; + /// The URI of the agent's avatar. /// /// Avatars are used throughout the Dialogflow console and in the self-hosted @@ -5355,6 +5598,8 @@ class GoogleCloudDialogflowCxV3Agent { core.bool? enableSpellCorrection; /// Indicates if stackdriver logging is enabled for the agent. + /// + /// Please use agent.advanced_settings instead. core.bool? enableStackdriverLogging; /// The unique identifier of the agent. @@ -5392,6 +5637,7 @@ class GoogleCloudDialogflowCxV3Agent { core.String? timeZone; GoogleCloudDialogflowCxV3Agent({ + this.advancedSettings, this.avatarUri, this.defaultLanguageCode, this.description, @@ -5408,6 +5654,11 @@ class GoogleCloudDialogflowCxV3Agent { GoogleCloudDialogflowCxV3Agent.fromJson(core.Map _json) : this( + advancedSettings: _json.containsKey('advancedSettings') + ? GoogleCloudDialogflowCxV3AdvancedSettings.fromJson( + _json['advancedSettings'] + as core.Map) + : null, avatarUri: _json.containsKey('avatarUri') ? _json['avatarUri'] as core.String : null, @@ -5450,6 +5701,8 @@ class GoogleCloudDialogflowCxV3Agent { ); core.Map toJson() => { + if (advancedSettings != null) + 'advancedSettings': advancedSettings!.toJson(), if (avatarUri != null) 'avatarUri': avatarUri!, if (defaultLanguageCode != null) 'defaultLanguageCode': defaultLanguageCode!, @@ -5881,7 +6134,8 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput { /// Input only. /// - /// The diagnostic info output for the turn. + /// The diagnostic info output for the turn. Required to calculate the testing + /// coverage. /// /// Required. /// @@ -6652,12 +6906,10 @@ class GoogleCloudDialogflowCxV3Experiment { /// End time of this experiment. core.String? endTime; - /// LINT.IfChange(default_experiment_length) Maximum number of days to run the - /// experiment/rollout. + /// Maximum number of days to run the experiment/rollout. /// /// If auto-rollout is not enabled, default value and maximum will be 30 days. /// If auto-rollout is enabled, default value and maximum will be 6 days. - /// LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length) core.String? experimentLength; /// Last update time of this experiment. @@ -6671,6 +6923,23 @@ class GoogleCloudDialogflowCxV3Experiment { /// Inference result of the experiment. GoogleCloudDialogflowCxV3ExperimentResult? result; + /// The configuration for auto rollout. + /// + /// If set, there should be exactly two variants in the experiment (control + /// variant being the default version of the flow), the traffic allocation for + /// the non-control variant will gradually increase to 100% when conditions + /// are met, and eventually replace the control variant to become the default + /// version of the flow. + GoogleCloudDialogflowCxV3RolloutConfig? rolloutConfig; + + /// The reason why rollout has failed. + /// + /// Should only be set when state is ROLLOUT_FAILED. + core.String? rolloutFailureReason; + + /// State of the auto rollout process. + GoogleCloudDialogflowCxV3RolloutState? rolloutState; + /// Start time of this experiment. core.String? startTime; @@ -6700,6 +6969,9 @@ class GoogleCloudDialogflowCxV3Experiment { this.lastUpdateTime, this.name, this.result, + this.rolloutConfig, + this.rolloutFailureReason, + this.rolloutState, this.startTime, this.state, this.variantsHistory, @@ -6734,6 +7006,17 @@ class GoogleCloudDialogflowCxV3Experiment { ? GoogleCloudDialogflowCxV3ExperimentResult.fromJson( _json['result'] as core.Map) : null, + rolloutConfig: _json.containsKey('rolloutConfig') + ? GoogleCloudDialogflowCxV3RolloutConfig.fromJson( + _json['rolloutConfig'] as core.Map) + : null, + rolloutFailureReason: _json.containsKey('rolloutFailureReason') + ? _json['rolloutFailureReason'] as core.String + : null, + rolloutState: _json.containsKey('rolloutState') + ? GoogleCloudDialogflowCxV3RolloutState.fromJson( + _json['rolloutState'] as core.Map) + : null, startTime: _json.containsKey('startTime') ? _json['startTime'] as core.String : null, @@ -6758,6 +7041,10 @@ class GoogleCloudDialogflowCxV3Experiment { if (lastUpdateTime != null) 'lastUpdateTime': lastUpdateTime!, if (name != null) 'name': name!, if (result != null) 'result': result!.toJson(), + if (rolloutConfig != null) 'rolloutConfig': rolloutConfig!.toJson(), + if (rolloutFailureReason != null) + 'rolloutFailureReason': rolloutFailureReason!, + if (rolloutState != null) 'rolloutState': rolloutState!.toJson(), if (startTime != null) 'startTime': startTime!, if (state != null) 'state': state!, if (variantsHistory != null) @@ -7174,6 +7461,8 @@ class GoogleCloudDialogflowCxV3ExportFlowResponse { } /// Metadata returned for the TestCases.ExportTestCases long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3ExportTestCasesMetadata { GoogleCloudDialogflowCxV3ExportTestCasesMetadata(); @@ -10104,6 +10393,14 @@ class GoogleCloudDialogflowCxV3QueryParameters { /// Whether to disable webhook calls for this request. core.bool? disableWebhook; + /// A list of flow versions to override for the request. + /// + /// Format: `projects//locations//agents//flows//versions/`. If version 1 of + /// flow X is included in this list, the traffic of flow X will go through + /// version 1 regardless of the version configuration in the environment. Each + /// flow can have at most one version specified in this list. + core.List? flowVersions; + /// The geo location of this conversational query. GoogleTypeLatLng? geoLocation; @@ -10166,6 +10463,7 @@ class GoogleCloudDialogflowCxV3QueryParameters { this.analyzeQueryTextSentiment, this.currentPage, this.disableWebhook, + this.flowVersions, this.geoLocation, this.parameters, this.payload, @@ -10186,6 +10484,11 @@ class GoogleCloudDialogflowCxV3QueryParameters { disableWebhook: _json.containsKey('disableWebhook') ? _json['disableWebhook'] as core.bool : null, + flowVersions: _json.containsKey('flowVersions') + ? (_json['flowVersions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, geoLocation: _json.containsKey('geoLocation') ? GoogleTypeLatLng.fromJson( _json['geoLocation'] as core.Map) @@ -10233,6 +10536,7 @@ class GoogleCloudDialogflowCxV3QueryParameters { 'analyzeQueryTextSentiment': analyzeQueryTextSentiment!, if (currentPage != null) 'currentPage': currentPage!, if (disableWebhook != null) 'disableWebhook': disableWebhook!, + if (flowVersions != null) 'flowVersions': flowVersions!, if (geoLocation != null) 'geoLocation': geoLocation!.toJson(), if (parameters != null) 'parameters': parameters!, if (payload != null) 'payload': payload!, @@ -11003,6 +11307,139 @@ class GoogleCloudDialogflowCxV3RestoreAgentRequest { }; } +/// The configuration for auto rollout. +class GoogleCloudDialogflowCxV3RolloutConfig { + /// The conditions that are used to evaluate the failure of a rollout step. + /// + /// If not specified, no rollout steps will fail. E.g. "containment_rate < 10% + /// OR average_turn_count < 3". See the + /// [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). + core.String? failureCondition; + + /// The conditions that are used to evaluate the success of a rollout step. + /// + /// If not specified, all rollout steps will proceed to the next one unless + /// failure conditions are met. E.g. "containment_rate > 60% AND callback_rate + /// < 20%". See the + /// [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). + core.String? rolloutCondition; + + /// Steps to roll out a flow version. + /// + /// Steps should be sorted by percentage in ascending order. + core.List? rolloutSteps; + + GoogleCloudDialogflowCxV3RolloutConfig({ + this.failureCondition, + this.rolloutCondition, + this.rolloutSteps, + }); + + GoogleCloudDialogflowCxV3RolloutConfig.fromJson(core.Map _json) + : this( + failureCondition: _json.containsKey('failureCondition') + ? _json['failureCondition'] as core.String + : null, + rolloutCondition: _json.containsKey('rolloutCondition') + ? _json['rolloutCondition'] as core.String + : null, + rolloutSteps: _json.containsKey('rolloutSteps') + ? (_json['rolloutSteps'] as core.List) + .map( + (value) => + GoogleCloudDialogflowCxV3RolloutConfigRolloutStep + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (failureCondition != null) 'failureCondition': failureCondition!, + if (rolloutCondition != null) 'rolloutCondition': rolloutCondition!, + if (rolloutSteps != null) + 'rolloutSteps': rolloutSteps!.map((value) => value.toJson()).toList(), + }; +} + +/// A single rollout step with specified traffic allocation. +class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep { + /// The name of the rollout step; + core.String? displayName; + + /// The minimum time that this step should last. + /// + /// Should be longer than 1 hour. If not set, the default minimum duration for + /// each step will be 1 hour. + core.String? minDuration; + + /// The percentage of traffic allocated to the flow version of this rollout + /// step. + /// + /// (0%, 100%\]. + core.int? trafficPercent; + + GoogleCloudDialogflowCxV3RolloutConfigRolloutStep({ + this.displayName, + this.minDuration, + this.trafficPercent, + }); + + GoogleCloudDialogflowCxV3RolloutConfigRolloutStep.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + minDuration: _json.containsKey('minDuration') + ? _json['minDuration'] as core.String + : null, + trafficPercent: _json.containsKey('trafficPercent') + ? _json['trafficPercent'] as core.int + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (minDuration != null) 'minDuration': minDuration!, + if (trafficPercent != null) 'trafficPercent': trafficPercent!, + }; +} + +/// State of the auto-rollout process. +class GoogleCloudDialogflowCxV3RolloutState { + /// Start time of the current step. + core.String? startTime; + + /// Display name of the current auto rollout step. + core.String? step; + + /// Index of the current step in the auto rollout steps list. + core.int? stepIndex; + + GoogleCloudDialogflowCxV3RolloutState({ + this.startTime, + this.step, + this.stepIndex, + }); + + GoogleCloudDialogflowCxV3RolloutState.fromJson(core.Map _json) + : this( + startTime: _json.containsKey('startTime') + ? _json['startTime'] as core.String + : null, + step: _json.containsKey('step') ? _json['step'] as core.String : null, + stepIndex: _json.containsKey('stepIndex') + ? _json['stepIndex'] as core.int + : null, + ); + + core.Map toJson() => { + if (startTime != null) 'startTime': startTime!, + if (step != null) 'step': step!, + if (stepIndex != null) 'stepIndex': stepIndex!, + }; +} + /// Metadata returned for the Environments.RunContinuousTest long running /// operation. class GoogleCloudDialogflowCxV3RunContinuousTestMetadata { @@ -11066,6 +11503,8 @@ class GoogleCloudDialogflowCxV3RunContinuousTestResponse { } /// Metadata returned for the TestCases.RunTestCase long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3RunTestCaseMetadata { GoogleCloudDialogflowCxV3RunTestCaseMetadata(); @@ -11130,19 +11569,38 @@ class GoogleCloudDialogflowCxV3RunTestCaseResponse { /// It may take hours for updates on the settings to propagate to all the /// related components and take effect. class GoogleCloudDialogflowCxV3SecuritySettings { + /// [DLP](https://cloud.google.com/dlp/docs) deidentify template name. + /// + /// Use this template to define de-identification configuration for the + /// content. If empty, Dialogflow replaces sensitive info with `[redacted]` + /// text. The template name will have one of the following formats: + /// `projects//locations//deidentifyTemplates/` OR + /// `organizations//locations//deidentifyTemplates/` Note: + /// `deidentify_template` must be located in the same region as the + /// `SecuritySettings`. + core.String? deidentifyTemplate; + /// The human-readable name of the security settings, unique within the /// location. /// /// Required. core.String? displayName; + /// Controls conversation exporting settings to Insights after conversation is + /// completed. + /// + /// If retention_strategy is set to REMOVE_AFTER_CONVERSATION, Insights export + /// is disabled no matter what you configure here. + GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings? + insightsExportSettings; + /// [DLP](https://cloud.google.com/dlp/docs) inspect template name. /// /// Use this template to define inspect base settings. If empty, we use the /// default DLP inspect config. The template name will have one of the - /// following formats: `projects//inspectTemplates/` OR - /// `projects//locations//inspectTemplates/` OR - /// `organizations//inspectTemplates/` + /// following formats: `projects//locations//inspectTemplates/` OR + /// `organizations//locations//inspectTemplates/` Note: `inspect_template` + /// must be located in the same region as the `SecuritySettings`. core.String? inspectTemplate; /// Resource name of the settings. @@ -11184,7 +11642,9 @@ class GoogleCloudDialogflowCxV3SecuritySettings { core.int? retentionWindowDays; GoogleCloudDialogflowCxV3SecuritySettings({ + this.deidentifyTemplate, this.displayName, + this.insightsExportSettings, this.inspectTemplate, this.name, this.purgeDataTypes, @@ -11195,9 +11655,17 @@ class GoogleCloudDialogflowCxV3SecuritySettings { GoogleCloudDialogflowCxV3SecuritySettings.fromJson(core.Map _json) : this( + deidentifyTemplate: _json.containsKey('deidentifyTemplate') + ? _json['deidentifyTemplate'] as core.String + : null, displayName: _json.containsKey('displayName') ? _json['displayName'] as core.String : null, + insightsExportSettings: _json.containsKey('insightsExportSettings') + ? GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings + .fromJson(_json['insightsExportSettings'] + as core.Map) + : null, inspectTemplate: _json.containsKey('inspectTemplate') ? _json['inspectTemplate'] as core.String : null, @@ -11219,7 +11687,11 @@ class GoogleCloudDialogflowCxV3SecuritySettings { ); core.Map toJson() => { + if (deidentifyTemplate != null) + 'deidentifyTemplate': deidentifyTemplate!, if (displayName != null) 'displayName': displayName!, + if (insightsExportSettings != null) + 'insightsExportSettings': insightsExportSettings!.toJson(), if (inspectTemplate != null) 'inspectTemplate': inspectTemplate!, if (name != null) 'name': name!, if (purgeDataTypes != null) 'purgeDataTypes': purgeDataTypes!, @@ -11230,6 +11702,31 @@ class GoogleCloudDialogflowCxV3SecuritySettings { }; } +/// Settings for exporting conversations to +/// [Insights](https://cloud.google.com/dialogflow/priv/docs/insights). +class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings { + /// If enabled, we will automatically exports conversations to Insights and + /// Insights runs its analyzers. + core.bool? enableInsightsExport; + + GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings({ + this.enableInsightsExport, + }); + + GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings.fromJson( + core.Map _json) + : this( + enableInsightsExport: _json.containsKey('enableInsightsExport') + ? _json['enableInsightsExport'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enableInsightsExport != null) + 'enableInsightsExport': enableInsightsExport!, + }; +} + /// The result of sentiment analysis. /// /// Sentiment analysis inspects user input and identifies the prevailing @@ -13533,7 +14030,8 @@ class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput { /// Input only. /// - /// The diagnostic info output for the turn. + /// The diagnostic info output for the turn. Required to calculate the testing + /// coverage. /// /// Required. /// @@ -13922,6 +14420,8 @@ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse { } /// Metadata returned for the TestCases.ExportTestCases long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata { GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata(); @@ -15887,6 +16387,8 @@ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse { } /// Metadata returned for the TestCases.RunTestCase long running operation. +/// +/// This message currently has no fields. class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata { GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata(); @@ -17617,6 +18119,8 @@ class GoogleCloudDialogflowV2Intent { /// /// Information about all followup intents that have this intent as a direct /// or indirect parent. We populate this field only in the output. + /// + /// Output only. core.List? followupIntentInfo; @@ -17710,6 +18214,8 @@ class GoogleCloudDialogflowV2Intent { /// It identifies the correct followup intents chain for this intent. We /// populate this field only in the output. Format: /// `projects//agent/intents/`. + /// + /// Output only. core.String? rootFollowupIntentName; /// The collection of examples that the agent is trained on. @@ -25326,6 +25832,114 @@ class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata { }; } +/// The response message for Locations.ListLocations. +class GoogleCloudLocationListLocationsResponse { + /// A list of locations that matches the specified filter in the request. + core.List? locations; + + /// The standard List next-page token. + core.String? nextPageToken; + + GoogleCloudLocationListLocationsResponse({ + this.locations, + this.nextPageToken, + }); + + GoogleCloudLocationListLocationsResponse.fromJson(core.Map _json) + : this( + locations: _json.containsKey('locations') + ? (_json['locations'] as core.List) + .map((value) => + GoogleCloudLocationLocation.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (locations != null) + 'locations': locations!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// A resource that represents Google Cloud Platform location. +class GoogleCloudLocationLocation { + /// The friendly name for this location, typically a nearby city name. + /// + /// For example, "Tokyo". + core.String? displayName; + + /// Cross-service attributes for the location. + /// + /// For example {"cloud.googleapis.com/region": "us-east1"} + core.Map? labels; + + /// The canonical id for this location. + /// + /// For example: `"us-east1"`. + core.String? locationId; + + /// Service-specific metadata. + /// + /// For example the available capacity at the given location. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// Resource name for the location, which may vary between implementations. + /// + /// For example: `"projects/example-project/locations/us-east1"` + core.String? name; + + GoogleCloudLocationLocation({ + this.displayName, + this.labels, + this.locationId, + this.metadata, + this.name, + }); + + GoogleCloudLocationLocation.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + locationId: _json.containsKey('locationId') + ? _json['locationId'] as core.String + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (labels != null) 'labels': labels!, + if (locationId != null) 'locationId': locationId!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + }; +} + /// The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse { /// The standard List next-page token. diff --git a/generated/googleapis/lib/displayvideo/v1.dart b/generated/googleapis/lib/displayvideo/v1.dart index 6983968da..7e95b16d2 100644 --- a/generated/googleapis/lib/displayvideo/v1.dart +++ b/generated/googleapis/lib/displayvideo/v1.dart @@ -1129,8 +1129,15 @@ class AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. An identifier unique to the /// targeting type in this campaign that identifies the assigned targeting @@ -1283,8 +1290,15 @@ class AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [filter] - Allows filtering by assigned targeting option properties. /// Supported syntax: * Filter expressions are made up of one or more @@ -2665,8 +2679,15 @@ class AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. An identifier unique to the /// targeting type in this insertion order that identifies the assigned @@ -2806,8 +2827,15 @@ class AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [filter] - Allows filtering by assigned targeting option properties. /// Supported syntax: * Filter expressions are made up of one or more @@ -3604,8 +3632,15 @@ class AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3741,8 +3776,15 @@ class AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. The ID of the assigned targeting /// option to delete. @@ -3880,8 +3922,15 @@ class AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. An identifier unique to the /// targeting type in this line item that identifies the assigned targeting @@ -4021,8 +4070,15 @@ class AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [filter] - Allows filtering by assigned targeting option properties. /// Supported syntax: * Filter expressions are made up of one or more @@ -5462,7 +5518,7 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// /// [targetingType] - Required. Identifies the type of this assigned targeting /// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` /// Value must have pattern `^\[^/\]+$`. /// Possible string values are: @@ -5544,8 +5600,15 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -5593,7 +5656,7 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// /// [targetingType] - Required. Identifies the type of this assigned targeting /// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` /// Value must have pattern `^\[^/\]+$`. /// Possible string values are: @@ -5675,8 +5738,15 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. The ID of the assigned targeting /// option to delete. @@ -5726,7 +5796,7 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// /// [targetingType] - Required. Identifies the type of this assigned targeting /// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` /// Value must have pattern `^\[^/\]+$`. /// Possible string values are: @@ -5808,8 +5878,15 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. An identifier unique to the /// targeting type in this advertiser that identifies the assigned targeting @@ -5861,7 +5938,7 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// /// [targetingType] - Required. Identifies the type of assigned targeting /// options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` /// Value must have pattern `^\[^/\]+$`. /// Possible string values are: @@ -5943,8 +6020,15 @@ class AdvertisersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [filter] - Allows filtering by assigned targeting option properties. /// Supported syntax: * Filter expressions are made up of one or more @@ -6145,6 +6229,45 @@ class CustomBiddingAlgorithmsResource { CustomBiddingAlgorithmsResource(commons.ApiRequester client) : _requester = client; + /// Creates a new custom bidding algorithm. + /// + /// Returns the newly created custom bidding algorithm if successful. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CustomBiddingAlgorithm]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + CustomBiddingAlgorithm request, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/customBiddingAlgorithms'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return CustomBiddingAlgorithm.fromJson( + _response as core.Map); + } + /// Gets a custom bidding algorithm. /// /// Request parameters: @@ -6210,15 +6333,19 @@ class CustomBiddingAlgorithmsResource { /// {value}`. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The /// operator must be `CONTAINS (:)` for the following field: - `displayName` * /// The operator must be `EQUALS (=)` for the following field: - - /// `customBiddingAlgorithmType` * For `displayName`, the value is a string. - /// We return all custom bidding algorithms whose display_name contains such - /// string. * For `customBiddingAlgorithmType`, the value is a string. We - /// return all algorithms whose custom_bidding_algorithm_type is equal to the - /// given type. Examples: * All custom bidding algorithms for which the - /// display name contains "politics": `displayName:politics`. * All custom - /// bidding algorithms for which the type is "SCRIPT_BASED": - /// `customBiddingAlgorithmType=SCRIPT_BASED` The length of this field should - /// be no more than 500 characters. + /// `customBiddingAlgorithmType` - `customBiddingAlgorithmState` * For + /// `displayName`, the value is a string. We return all custom bidding + /// algorithms whose display_name contains such string. * For + /// `customBiddingAlgorithmType`, the value is a string. We return all + /// algorithms whose custom_bidding_algorithm_type is equal to the given type. + /// * For `customBiddingAlgorithmState`, the value is a string. We return all + /// algorithms whose custom_bidding_algorithm_state is equal to the given + /// type. Examples: * All custom bidding algorithms for which the display name + /// contains "politics": `displayName:politics`. * All custom bidding + /// algorithms for which the type is "SCRIPT_BASED": + /// `customBiddingAlgorithmType=SCRIPT_BASED` * All custom bidding algorithms + /// for which the state is "ENABLED": `customBiddingAlgorithmState=ENABLED` + /// The length of this field should be no more than 500 characters. /// /// [orderBy] - Field by which to sort the list. Acceptable values are: * /// `displayName` (default) The default sorting order is ascending. To specify @@ -6276,6 +6403,55 @@ class CustomBiddingAlgorithmsResource { return ListCustomBiddingAlgorithmsResponse.fromJson( _response as core.Map); } + + /// Updates an existing custom bidding algorithm. + /// + /// Returns the updated custom bidding algorithm if successful. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [customBiddingAlgorithmId] - Output only. The unique ID of the custom + /// bidding algorithm. Assigned by the system. + /// Value must have pattern `^\[^/\]+$`. + /// + /// [updateMask] - Required. The mask to control which fields to update. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CustomBiddingAlgorithm]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + CustomBiddingAlgorithm request, + core.String customBiddingAlgorithmId, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/customBiddingAlgorithms/' + + core.Uri.encodeFull('$customBiddingAlgorithmId'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return CustomBiddingAlgorithm.fromJson( + _response as core.Map); + } } class CustomListsResource { @@ -8280,8 +8456,15 @@ class PartnersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -8409,8 +8592,15 @@ class PartnersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. The ID of the assigned targeting /// option to delete. @@ -8540,8 +8730,15 @@ class PartnersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [assignedTargetingOptionId] - Required. An identifier unique to the /// targeting type in this partner that identifies the assigned targeting @@ -8673,8 +8870,15 @@ class PartnersTargetingTypesAssignedTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [filter] - Allows filtering by assigned targeting option properties. /// Supported syntax: * Filter expressions are made up of one or more @@ -8939,8 +9143,15 @@ class TargetingTypesTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [targetingOptionId] - Required. The ID of the of targeting option to /// retrieve. @@ -9069,8 +9280,15 @@ class TargetingTypesTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [advertiserId] - Required. The Advertiser this request is being made in /// the context of. @@ -9153,7 +9371,8 @@ class TargetingTypesTargetingOptionsResource { /// Request parameters: /// /// [targetingType] - Required. The type of targeting options to retrieve. - /// Accepted values are: * `TARGETING_TYPE_GEO_REGION` + /// Accepted values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` + /// * `TARGETING_TYPE_BUSINESS_CHAIN` /// Value must have pattern `^\[^/\]+$`. /// Possible string values are: /// - "TARGETING_TYPE_UNSPECIFIED" : Default value when type is not specified @@ -9234,8 +9453,15 @@ class TargetingTypesTargetingOptionsResource { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -10677,6 +10903,12 @@ class AssignedTargetingOption { /// `TARGETING_TYPE_BROWSER`. BrowserAssignedTargetingOptionDetails? browserDetails; + /// Business chain details. + /// + /// This field will be populated when the targeting_type is + /// `TARGETING_TYPE_BUSINESS_CHAIN`. + BusinessChainAssignedTargetingOptionDetails? businessChainDetails; + /// Carrier and ISP details. /// /// This field will be populated when the targeting_type is @@ -10830,6 +11062,12 @@ class AssignedTargetingOption { /// lists can be assigned to a resource. NegativeKeywordListAssignedTargetingOptionDetails? negativeKeywordListDetails; + /// Open Measurement enabled inventory details. + /// + /// This field will be populated when the targeting_type is + /// `TARGETING_TYPE_OMID`. + OmidAssignedTargetingOptionDetails? omidDetails; + /// On screen position details. /// /// This field will be populated when the targeting_type is @@ -10848,6 +11086,12 @@ class AssignedTargetingOption { /// `TARGETING_TYPE_PARENTAL_STATUS`. ParentalStatusAssignedTargetingOptionDetails? parentalStatusDetails; + /// POI details. + /// + /// This field will be populated when the targeting_type is + /// `TARGETING_TYPE_POI`. + PoiAssignedTargetingOptionDetails? poiDetails; + /// Proximity location list details. /// /// This field will be populated when the targeting_type is @@ -10961,8 +11205,15 @@ class AssignedTargetingOption { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. core.String? targetingType; /// Third party verification details. @@ -11004,6 +11255,7 @@ class AssignedTargetingOption { this.audienceGroupDetails, this.authorizedSellerStatusDetails, this.browserDetails, + this.businessChainDetails, this.carrierAndIspDetails, this.categoryDetails, this.channelDetails, @@ -11026,9 +11278,11 @@ class AssignedTargetingOption { this.name, this.nativeContentPositionDetails, this.negativeKeywordListDetails, + this.omidDetails, this.onScreenPositionDetails, this.operatingSystemDetails, this.parentalStatusDetails, + this.poiDetails, this.proximityLocationListDetails, this.regionalLocationListDetails, this.sensitiveCategoryExclusionDetails, @@ -11077,6 +11331,11 @@ class AssignedTargetingOption { _json['browserDetails'] as core.Map) : null, + businessChainDetails: _json.containsKey('businessChainDetails') + ? BusinessChainAssignedTargetingOptionDetails.fromJson( + _json['businessChainDetails'] + as core.Map) + : null, carrierAndIspDetails: _json.containsKey('carrierAndIspDetails') ? CarrierAndIspAssignedTargetingOptionDetails.fromJson( _json['carrierAndIspDetails'] @@ -11186,6 +11445,10 @@ class AssignedTargetingOption { _json['negativeKeywordListDetails'] as core.Map) : null, + omidDetails: _json.containsKey('omidDetails') + ? OmidAssignedTargetingOptionDetails.fromJson( + _json['omidDetails'] as core.Map) + : null, onScreenPositionDetails: _json.containsKey('onScreenPositionDetails') ? OnScreenPositionAssignedTargetingOptionDetails.fromJson( _json['onScreenPositionDetails'] @@ -11201,6 +11464,10 @@ class AssignedTargetingOption { _json['parentalStatusDetails'] as core.Map) : null, + poiDetails: _json.containsKey('poiDetails') + ? PoiAssignedTargetingOptionDetails.fromJson( + _json['poiDetails'] as core.Map) + : null, proximityLocationListDetails: _json .containsKey('proximityLocationListDetails') ? ProximityLocationListAssignedTargetingOptionDetails.fromJson( @@ -11269,6 +11536,8 @@ class AssignedTargetingOption { 'authorizedSellerStatusDetails': authorizedSellerStatusDetails!.toJson(), if (browserDetails != null) 'browserDetails': browserDetails!.toJson(), + if (businessChainDetails != null) + 'businessChainDetails': businessChainDetails!.toJson(), if (carrierAndIspDetails != null) 'carrierAndIspDetails': carrierAndIspDetails!.toJson(), if (categoryDetails != null) @@ -11312,12 +11581,14 @@ class AssignedTargetingOption { nativeContentPositionDetails!.toJson(), if (negativeKeywordListDetails != null) 'negativeKeywordListDetails': negativeKeywordListDetails!.toJson(), + if (omidDetails != null) 'omidDetails': omidDetails!.toJson(), if (onScreenPositionDetails != null) 'onScreenPositionDetails': onScreenPositionDetails!.toJson(), if (operatingSystemDetails != null) 'operatingSystemDetails': operatingSystemDetails!.toJson(), if (parentalStatusDetails != null) 'parentalStatusDetails': parentalStatusDetails!.toJson(), + if (poiDetails != null) 'poiDetails': poiDetails!.toJson(), if (proximityLocationListDetails != null) 'proximityLocationListDetails': proximityLocationListDetails!.toJson(), @@ -12003,7 +12274,7 @@ class BulkEditAdvertiserAssignedTargetingOptionsRequest { /// `CreateAssignedTargetingOptionsRequest`. /// /// Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` core.List? createRequests; @@ -12011,7 +12282,7 @@ class BulkEditAdvertiserAssignedTargetingOptionsRequest { /// `DeleteAssignedTargetingOptionsRequest`. /// /// Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` core.List? deleteRequests; @@ -12783,6 +13054,196 @@ class BulkListLineItemAssignedTargetingOptionsResponse { }; } +/// Details for assigned Business chain targeting option. +/// +/// This will be populated in the details field of an AssignedTargetingOption +/// when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`. +class BusinessChainAssignedTargetingOptionDetails { + /// The display name of a business chain, e.g. "KFC", "Chase Bank". + /// + /// Output only. + core.String? displayName; + + /// The radius of the area around the business chain that will be targeted. + /// + /// The units of the radius are specified by proximity_radius_unit. Must be 1 + /// to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is + /// `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs + /// will be rounded to the nearest acceptable value if it is too granular, + /// e.g. 15.57 will become 15.6. + /// + /// Required. + core.double? proximityRadiusAmount; + + /// The unit of distance by which the targeting radius is measured. + /// + /// Required. + /// Possible string values are: + /// - "DISTANCE_UNIT_UNSPECIFIED" : Type value is not specified or is unknown + /// in this version. + /// - "DISTANCE_UNIT_MILES" : Miles. + /// - "DISTANCE_UNIT_KILOMETERS" : Kilometers. + core.String? proximityRadiusUnit; + + /// The targeting_option_id of a TargetingOption of type + /// `TARGETING_TYPE_BUSINESS_CHAIN`. + /// + /// Required. + core.String? targetingOptionId; + + BusinessChainAssignedTargetingOptionDetails({ + this.displayName, + this.proximityRadiusAmount, + this.proximityRadiusUnit, + this.targetingOptionId, + }); + + BusinessChainAssignedTargetingOptionDetails.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + proximityRadiusAmount: _json.containsKey('proximityRadiusAmount') + ? (_json['proximityRadiusAmount'] as core.num).toDouble() + : null, + proximityRadiusUnit: _json.containsKey('proximityRadiusUnit') + ? _json['proximityRadiusUnit'] as core.String + : null, + targetingOptionId: _json.containsKey('targetingOptionId') + ? _json['targetingOptionId'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (proximityRadiusAmount != null) + 'proximityRadiusAmount': proximityRadiusAmount!, + if (proximityRadiusUnit != null) + 'proximityRadiusUnit': proximityRadiusUnit!, + if (targetingOptionId != null) 'targetingOptionId': targetingOptionId!, + }; +} + +/// Search terms for Business Chain targeting options. +/// +/// At least one of the field should be populated. +class BusinessChainSearchTerms { + /// The search query for the desired business chain. + /// + /// The query must be the full name of the business, e.g. "KFC", + /// "mercedes-benz". + core.String? businessChain; + + /// The search query for the desired geo region, e.g. "Seattle", "United + /// State". + core.String? region; + + BusinessChainSearchTerms({ + this.businessChain, + this.region, + }); + + BusinessChainSearchTerms.fromJson(core.Map _json) + : this( + businessChain: _json.containsKey('businessChain') + ? _json['businessChain'] as core.String + : null, + region: _json.containsKey('region') + ? _json['region'] as core.String + : null, + ); + + core.Map toJson() => { + if (businessChain != null) 'businessChain': businessChain!, + if (region != null) 'region': region!, + }; +} + +/// Represents a targetable business chain within a geo region. +/// +/// This will be populated in the business_chain_details field when +/// targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`. +class BusinessChainTargetingOptionDetails { + /// The display name of the business chain, e.g. "KFC", "Chase Bank". + /// + /// Output only. + core.String? businessChain; + + /// The display name of the geographic region, e.g. "Ontario, Canada". + /// + /// Output only. + core.String? geoRegion; + + /// The type of the geographic region. + /// + /// Output only. + /// Possible string values are: + /// - "GEO_REGION_TYPE_UNKNOWN" : The geographic region type is unknown. + /// - "GEO_REGION_TYPE_OTHER" : The geographic region type is other. + /// - "GEO_REGION_TYPE_COUNTRY" : The geographic region is a country. + /// - "GEO_REGION_TYPE_REGION" : The geographic region type is region. + /// - "GEO_REGION_TYPE_TERRITORY" : The geographic region is a territory. + /// - "GEO_REGION_TYPE_PROVINCE" : The geographic region is a province. + /// - "GEO_REGION_TYPE_STATE" : The geographic region is a state. + /// - "GEO_REGION_TYPE_PREFECTURE" : The geographic region is a prefecture. + /// - "GEO_REGION_TYPE_GOVERNORATE" : The geographic region is a governorate. + /// - "GEO_REGION_TYPE_CANTON" : The geographic region is a canton. + /// - "GEO_REGION_TYPE_UNION_TERRITORY" : The geographic region is a union + /// territory. + /// - "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY" : The geographic region is an + /// autonomous community. + /// - "GEO_REGION_TYPE_DMA_REGION" : The geographic region is a designated + /// market area (DMA) region. + /// - "GEO_REGION_TYPE_METRO" : The geographic region type is metro. + /// - "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT" : The geographic region is a + /// congressional district. + /// - "GEO_REGION_TYPE_COUNTY" : The geographic region is a county. + /// - "GEO_REGION_TYPE_MUNICIPALITY" : The geographic region is a + /// municipality. + /// - "GEO_REGION_TYPE_CITY" : The geographic region is a city. + /// - "GEO_REGION_TYPE_POSTAL_CODE" : The geographic region targeting type is + /// postal code. + /// - "GEO_REGION_TYPE_DEPARTMENT" : The geographic region targeting type is + /// department. + /// - "GEO_REGION_TYPE_AIRPORT" : The geographic region is an airport. + /// - "GEO_REGION_TYPE_TV_REGION" : The geographic region is a TV region. + /// - "GEO_REGION_TYPE_OKRUG" : The geographic region is an okrug. + /// - "GEO_REGION_TYPE_BOROUGH" : The geographic region is a borough. + /// - "GEO_REGION_TYPE_CITY_REGION" : The geographic region is a city region. + /// - "GEO_REGION_TYPE_ARRONDISSEMENT" : The geographic region is an + /// arrondissement. + /// - "GEO_REGION_TYPE_NEIGHBORHOOD" : The geographic region is a + /// neighborhood. + /// - "GEO_REGION_TYPE_UNIVERSITY" : The geographic region is a university. + /// - "GEO_REGION_TYPE_DISTRICT" : The geographic region is a district. + core.String? geoRegionType; + + BusinessChainTargetingOptionDetails({ + this.businessChain, + this.geoRegion, + this.geoRegionType, + }); + + BusinessChainTargetingOptionDetails.fromJson(core.Map _json) + : this( + businessChain: _json.containsKey('businessChain') + ? _json['businessChain'] as core.String + : null, + geoRegion: _json.containsKey('geoRegion') + ? _json['geoRegion'] as core.String + : null, + geoRegionType: _json.containsKey('geoRegionType') + ? _json['geoRegionType'] as core.String + : null, + ); + + core.Map toJson() => { + if (businessChain != null) 'businessChain': businessChain!, + if (geoRegion != null) 'geoRegion': geoRegion!, + if (geoRegionType != null) 'geoRegionType': geoRegionType!, + }; +} + /// A single campaign. class Campaign { /// The unique ID of the advertiser the campaign belongs to. @@ -14130,8 +14591,15 @@ class CreateAssignedTargetingOptionsRequest { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. core.String? targetingType; CreateAssignedTargetingOptionsRequest({ @@ -15137,6 +15605,22 @@ class CustomBiddingAlgorithm { /// Output only. core.String? customBiddingAlgorithmId; + /// The status of custom bidding algorithm. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : State is not specified or is unknown in this + /// version. + /// - "ENABLED" : Algorithm is enabled, either recently used, currently used + /// or scheduled to be used. The algorithm is actively scoring impressions. + /// - "DORMANT" : Algorithm has not been used recently. Although the algorithm + /// still acts as `ENABLED`, it will eventually be suspended if not used. + /// - "SUSPENDED" : Algorithm is susepended from scoring impressions and + /// doesn't have a serving model trained. If the algorithm is assigned to a + /// line item or otherwise updated, it will switch back to the `ENABLED` state + /// and require time to prepare the serving model again. + core.String? customBiddingAlgorithmState; + /// The type of custom bidding algorithm. /// /// Required. Immutable. @@ -15146,6 +15630,7 @@ class CustomBiddingAlgorithm { /// - "SCRIPT_BASED" : Algorithm generated through customer-uploaded custom /// bidding script files. /// - "ADS_DATA_HUB_BASED" : Algorithm created through Ads Data Hub product. + /// - "GOAL_BUILDER_BASED" : Algorithm created through goal builder in DV3 UI. core.String? customBiddingAlgorithmType; /// The display name of the custom bidding algorithm. @@ -15184,14 +15669,22 @@ class CustomBiddingAlgorithm { /// Immutable. core.String? partnerId; + /// The IDs of the advertisers who have access to this algorithm. + /// + /// This field will not be set if the algorithm owner is a partner and is + /// being retrieved using an advertiser accessor. + core.List? sharedAdvertiserIds; + CustomBiddingAlgorithm({ this.advertiserId, this.customBiddingAlgorithmId, + this.customBiddingAlgorithmState, this.customBiddingAlgorithmType, this.displayName, this.entityStatus, this.name, this.partnerId, + this.sharedAdvertiserIds, }); CustomBiddingAlgorithm.fromJson(core.Map _json) @@ -15203,6 +15696,10 @@ class CustomBiddingAlgorithm { _json.containsKey('customBiddingAlgorithmId') ? _json['customBiddingAlgorithmId'] as core.String : null, + customBiddingAlgorithmState: + _json.containsKey('customBiddingAlgorithmState') + ? _json['customBiddingAlgorithmState'] as core.String + : null, customBiddingAlgorithmType: _json.containsKey('customBiddingAlgorithmType') ? _json['customBiddingAlgorithmType'] as core.String @@ -15217,18 +15714,27 @@ class CustomBiddingAlgorithm { partnerId: _json.containsKey('partnerId') ? _json['partnerId'] as core.String : null, + sharedAdvertiserIds: _json.containsKey('sharedAdvertiserIds') + ? (_json['sharedAdvertiserIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, ); core.Map toJson() => { if (advertiserId != null) 'advertiserId': advertiserId!, if (customBiddingAlgorithmId != null) 'customBiddingAlgorithmId': customBiddingAlgorithmId!, + if (customBiddingAlgorithmState != null) + 'customBiddingAlgorithmState': customBiddingAlgorithmState!, if (customBiddingAlgorithmType != null) 'customBiddingAlgorithmType': customBiddingAlgorithmType!, if (displayName != null) 'displayName': displayName!, if (entityStatus != null) 'entityStatus': entityStatus!, if (name != null) 'name': name!, if (partnerId != null) 'partnerId': partnerId!, + if (sharedAdvertiserIds != null) + 'sharedAdvertiserIds': sharedAdvertiserIds!, }; } @@ -15596,8 +16102,15 @@ class DeleteAssignedTargetingOptionsRequest { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. core.String? targetingType; DeleteAssignedTargetingOptionsRequest({ @@ -16485,7 +16998,9 @@ class ExchangeConfigEnabledExchange { /// - "EXCHANGE_WAZE" : Waze. /// - "EXCHANGE_SOUNDCAST" : SoundCast. /// - "EXCHANGE_SHARETHROUGH" : Sharethrough. + /// - "EXCHANGE_RED_FOR_PUBLISHERS" : Red For Publishers. /// - "EXCHANGE_MEDIANET" : Media.net. + /// - "EXCHANGE_TAPJOY" : Tapjoy. core.String? exchange; /// Agency ID of Google Ad Manager. @@ -16610,7 +17125,9 @@ class ExchangeReviewStatus { /// - "EXCHANGE_WAZE" : Waze. /// - "EXCHANGE_SOUNDCAST" : SoundCast. /// - "EXCHANGE_SHARETHROUGH" : Sharethrough. + /// - "EXCHANGE_RED_FOR_PUBLISHERS" : Red For Publishers. /// - "EXCHANGE_MEDIANET" : Media.net. + /// - "EXCHANGE_TAPJOY" : Tapjoy. core.String? exchange; /// Status of the exchange review. @@ -16717,7 +17234,9 @@ class ExchangeTargetingOptionDetails { /// - "EXCHANGE_WAZE" : Waze. /// - "EXCHANGE_SOUNDCAST" : SoundCast. /// - "EXCHANGE_SHARETHROUGH" : Sharethrough. + /// - "EXCHANGE_RED_FOR_PUBLISHERS" : Red For Publishers. /// - "EXCHANGE_MEDIANET" : Media.net. + /// - "EXCHANGE_TAPJOY" : Tapjoy. core.String? exchange; ExchangeTargetingOptionDetails({ @@ -18752,7 +19271,9 @@ class InventorySource { /// - "EXCHANGE_WAZE" : Waze. /// - "EXCHANGE_SOUNDCAST" : SoundCast. /// - "EXCHANGE_SHARETHROUGH" : Sharethrough. + /// - "EXCHANGE_RED_FOR_PUBLISHERS" : Red For Publishers. /// - "EXCHANGE_MEDIANET" : Media.net. + /// - "EXCHANGE_TAPJOY" : Tapjoy. core.String? exchange; /// The unique ID of the inventory source. @@ -21869,6 +22390,75 @@ class ObaIcon { }; } +/// Represents a targetable Open Measurement enabled inventory type. +/// +/// This will be populated in the details field of an AssignedTargetingOption +/// when targeting_type is `TARGETING_TYPE_OMID`. +class OmidAssignedTargetingOptionDetails { + /// The type of Open Measurement enabled inventory. + /// + /// Output only. + /// Possible string values are: + /// - "OMID_UNSPECIFIED" : Default value when omid targeting is not specified + /// in this version. + /// - "OMID_FOR_MOBILE_DISPLAY_ADS" : Open Measurement enabled mobile display + /// inventory. + core.String? omid; + + /// The targeting_option_id of a TargetingOption of type + /// `TARGETING_TYPE_OMID`. + /// + /// Required. + core.String? targetingOptionId; + + OmidAssignedTargetingOptionDetails({ + this.omid, + this.targetingOptionId, + }); + + OmidAssignedTargetingOptionDetails.fromJson(core.Map _json) + : this( + omid: _json.containsKey('omid') ? _json['omid'] as core.String : null, + targetingOptionId: _json.containsKey('targetingOptionId') + ? _json['targetingOptionId'] as core.String + : null, + ); + + core.Map toJson() => { + if (omid != null) 'omid': omid!, + if (targetingOptionId != null) 'targetingOptionId': targetingOptionId!, + }; +} + +/// Represents a targetable Open Measurement enabled inventory type. +/// +/// This will be populated in the omid_details field when targeting_type is +/// `TARGETING_TYPE_OMID`. +class OmidTargetingOptionDetails { + /// The type of Open Measurement enabled inventory. + /// + /// Output only. + /// Possible string values are: + /// - "OMID_UNSPECIFIED" : Default value when omid targeting is not specified + /// in this version. + /// - "OMID_FOR_MOBILE_DISPLAY_ADS" : Open Measurement enabled mobile display + /// inventory. + core.String? omid; + + OmidTargetingOptionDetails({ + this.omid, + }); + + OmidTargetingOptionDetails.fromJson(core.Map _json) + : this( + omid: _json.containsKey('omid') ? _json['omid'] as core.String : null, + ); + + core.Map toJson() => { + if (omid != null) 'omid': omid!, + }; +} + /// On screen position targeting option details. /// /// This will be populated in the on_screen_position_details field when @@ -22970,6 +23560,167 @@ class PerformanceGoalBidStrategy { }; } +/// Details for assigned POI targeting option. +/// +/// This will be populated in the details field of an AssignedTargetingOption +/// when targeting_type is `TARGETING_TYPE_POI`. +class PoiAssignedTargetingOptionDetails { + /// The display name of a POI, e.g. "Times Square", "Space Needle", followed + /// by its full address if available. + /// + /// Output only. + core.String? displayName; + + /// Latitude of the POI rounding to 6th decimal place. + /// + /// Output only. + core.double? latitude; + + /// Longitude of the POI rounding to 6th decimal place. + /// + /// Output only. + core.double? longitude; + + /// The radius of the area around the POI that will be targeted. + /// + /// The units of the radius are specified by proximity_radius_unit. Must be 1 + /// to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is + /// `DISTANCE_UNIT_MILES`. + /// + /// Required. + core.double? proximityRadiusAmount; + + /// The unit of distance by which the targeting radius is measured. + /// + /// Required. + /// Possible string values are: + /// - "DISTANCE_UNIT_UNSPECIFIED" : Type value is not specified or is unknown + /// in this version. + /// - "DISTANCE_UNIT_MILES" : Miles. + /// - "DISTANCE_UNIT_KILOMETERS" : Kilometers. + core.String? proximityRadiusUnit; + + /// The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI` + /// or reuse an existing assigned_targeting_option_id. + /// + /// Required. + core.String? targetingOptionId; + + PoiAssignedTargetingOptionDetails({ + this.displayName, + this.latitude, + this.longitude, + this.proximityRadiusAmount, + this.proximityRadiusUnit, + this.targetingOptionId, + }); + + PoiAssignedTargetingOptionDetails.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + latitude: _json.containsKey('latitude') + ? (_json['latitude'] as core.num).toDouble() + : null, + longitude: _json.containsKey('longitude') + ? (_json['longitude'] as core.num).toDouble() + : null, + proximityRadiusAmount: _json.containsKey('proximityRadiusAmount') + ? (_json['proximityRadiusAmount'] as core.num).toDouble() + : null, + proximityRadiusUnit: _json.containsKey('proximityRadiusUnit') + ? _json['proximityRadiusUnit'] as core.String + : null, + targetingOptionId: _json.containsKey('targetingOptionId') + ? _json['targetingOptionId'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (latitude != null) 'latitude': latitude!, + if (longitude != null) 'longitude': longitude!, + if (proximityRadiusAmount != null) + 'proximityRadiusAmount': proximityRadiusAmount!, + if (proximityRadiusUnit != null) + 'proximityRadiusUnit': proximityRadiusUnit!, + if (targetingOptionId != null) 'targetingOptionId': targetingOptionId!, + }; +} + +/// Search terms for POI targeting options. +class PoiSearchTerms { + /// The search query for the desired POI name, street address, or coordinate + /// of the desired POI. + /// + /// The query can be a prefix, e.g. "Times squar", "40.7505045,-73.99562", + /// "315 W 44th St", etc. + core.String? poiQuery; + + PoiSearchTerms({ + this.poiQuery, + }); + + PoiSearchTerms.fromJson(core.Map _json) + : this( + poiQuery: _json.containsKey('poiQuery') + ? _json['poiQuery'] as core.String + : null, + ); + + core.Map toJson() => { + if (poiQuery != null) 'poiQuery': poiQuery!, + }; +} + +/// Represents a targetable point of interest(POI). +/// +/// This will be populated in the poi_details field when targeting_type is +/// `TARGETING_TYPE_POI`. +class PoiTargetingOptionDetails { + /// The display name of a POI(e.g. "Times Square", "Space Needle"), followed + /// by its full address if available. + /// + /// Output only. + core.String? displayName; + + /// Latitude of the POI rounding to 6th decimal place. + /// + /// Output only. + core.double? latitude; + + /// Longitude of the POI rounding to 6th decimal place. + /// + /// Output only. + core.double? longitude; + + PoiTargetingOptionDetails({ + this.displayName, + this.latitude, + this.longitude, + }); + + PoiTargetingOptionDetails.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + latitude: _json.containsKey('latitude') + ? (_json['latitude'] as core.num).toDouble() + : null, + longitude: _json.containsKey('longitude') + ? (_json['longitude'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (latitude != null) 'latitude': latitude!, + if (longitude != null) 'longitude': longitude!, + }; +} + /// Settings specific to the Mediaocean Prisma tool. class PrismaConfig { /// Relevant client, product, and estimate codes from the Mediaocean Prisma @@ -23602,6 +24353,11 @@ class SearchTargetingOptionsRequest { /// Required. core.String? advertiserId; + /// Search terms for Business Chain targeting options. + /// + /// Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`. + BusinessChainSearchTerms? businessChainSearchTerms; + /// Search terms for geo region targeting options. /// /// Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`. @@ -23620,11 +24376,18 @@ class SearchTargetingOptionsRequest { /// of results will be returned. core.String? pageToken; + /// Search terms for POI targeting options. + /// + /// Can only be used when targeting_type is `TARGETING_TYPE_POI`. + PoiSearchTerms? poiSearchTerms; + SearchTargetingOptionsRequest({ this.advertiserId, + this.businessChainSearchTerms, this.geoRegionSearchTerms, this.pageSize, this.pageToken, + this.poiSearchTerms, }); SearchTargetingOptionsRequest.fromJson(core.Map _json) @@ -23632,6 +24395,12 @@ class SearchTargetingOptionsRequest { advertiserId: _json.containsKey('advertiserId') ? _json['advertiserId'] as core.String : null, + businessChainSearchTerms: + _json.containsKey('businessChainSearchTerms') + ? BusinessChainSearchTerms.fromJson( + _json['businessChainSearchTerms'] + as core.Map) + : null, geoRegionSearchTerms: _json.containsKey('geoRegionSearchTerms') ? GeoRegionSearchTerms.fromJson(_json['geoRegionSearchTerms'] as core.Map) @@ -23642,18 +24411,25 @@ class SearchTargetingOptionsRequest { pageToken: _json.containsKey('pageToken') ? _json['pageToken'] as core.String : null, + poiSearchTerms: _json.containsKey('poiSearchTerms') + ? PoiSearchTerms.fromJson(_json['poiSearchTerms'] + as core.Map) + : null, ); core.Map toJson() => { if (advertiserId != null) 'advertiserId': advertiserId!, + if (businessChainSearchTerms != null) + 'businessChainSearchTerms': businessChainSearchTerms!.toJson(), if (geoRegionSearchTerms != null) 'geoRegionSearchTerms': geoRegionSearchTerms!.toJson(), if (pageSize != null) 'pageSize': pageSize!, if (pageToken != null) 'pageToken': pageToken!, + if (poiSearchTerms != null) 'poiSearchTerms': poiSearchTerms!.toJson(), }; } -/// Response message for SearchTargetingOptionsResponse. +/// Response message for SearchTargetingOptions. class SearchTargetingOptionsResponse { /// A token to retrieve the next page of results. /// @@ -24074,6 +24850,9 @@ class TargetingOption { /// Browser details. BrowserTargetingOptionDetails? browserDetails; + /// Business chain resource details. + BusinessChainTargetingOptionDetails? businessChainDetails; + /// Carrier and ISP details. CarrierAndIspTargetingOptionDetails? carrierAndIspDetails; @@ -24122,6 +24901,9 @@ class TargetingOption { /// Native content position details. NativeContentPositionTargetingOptionDetails? nativeContentPositionDetails; + /// Open Measurement enabled inventory details. + OmidTargetingOptionDetails? omidDetails; + /// On screen position details. OnScreenPositionTargetingOptionDetails? onScreenPositionDetails; @@ -24131,6 +24913,9 @@ class TargetingOption { /// Parental status details. ParentalStatusTargetingOptionDetails? parentalStatusDetails; + /// POI resource details. + PoiTargetingOptionDetails? poiDetails; + /// Sensitive Category details. SensitiveCategoryTargetingOptionDetails? sensitiveCategoryDetails; @@ -24226,8 +25011,15 @@ class TargetingOption { /// exchanges. /// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific /// sub-exchanges. + /// - "TARGETING_TYPE_POI" : Target ads around a specific point of interest, + /// such as a notable building, a street address, or latitude/longitude + /// coordinates. + /// - "TARGETING_TYPE_BUSINESS_CHAIN" : Target ads around locations of a + /// business chain within a specific geo region. /// - "TARGETING_TYPE_NATIVE_CONTENT_POSITION" : Target ads to a specific /// native content position. + /// - "TARGETING_TYPE_OMID" : Target ads in an Open Measurement enabled + /// inventory. core.String? targetingType; /// User rewarded content details. @@ -24244,6 +25036,7 @@ class TargetingOption { this.appCategoryDetails, this.authorizedSellerStatusDetails, this.browserDetails, + this.businessChainDetails, this.carrierAndIspDetails, this.categoryDetails, this.contentInstreamPositionDetails, @@ -24259,9 +25052,11 @@ class TargetingOption { this.languageDetails, this.name, this.nativeContentPositionDetails, + this.omidDetails, this.onScreenPositionDetails, this.operatingSystemDetails, this.parentalStatusDetails, + this.poiDetails, this.sensitiveCategoryDetails, this.subExchangeDetails, this.targetingOptionId, @@ -24292,6 +25087,11 @@ class TargetingOption { ? BrowserTargetingOptionDetails.fromJson(_json['browserDetails'] as core.Map) : null, + businessChainDetails: _json.containsKey('businessChainDetails') + ? BusinessChainTargetingOptionDetails.fromJson( + _json['businessChainDetails'] + as core.Map) + : null, carrierAndIspDetails: _json.containsKey('carrierAndIspDetails') ? CarrierAndIspTargetingOptionDetails.fromJson( _json['carrierAndIspDetails'] @@ -24363,6 +25163,10 @@ class TargetingOption { _json['nativeContentPositionDetails'] as core.Map) : null, + omidDetails: _json.containsKey('omidDetails') + ? OmidTargetingOptionDetails.fromJson( + _json['omidDetails'] as core.Map) + : null, onScreenPositionDetails: _json.containsKey('onScreenPositionDetails') ? OnScreenPositionTargetingOptionDetails.fromJson( _json['onScreenPositionDetails'] @@ -24378,6 +25182,10 @@ class TargetingOption { _json['parentalStatusDetails'] as core.Map) : null, + poiDetails: _json.containsKey('poiDetails') + ? PoiTargetingOptionDetails.fromJson( + _json['poiDetails'] as core.Map) + : null, sensitiveCategoryDetails: _json.containsKey('sensitiveCategoryDetails') ? SensitiveCategoryTargetingOptionDetails.fromJson( @@ -24422,6 +25230,8 @@ class TargetingOption { 'authorizedSellerStatusDetails': authorizedSellerStatusDetails!.toJson(), if (browserDetails != null) 'browserDetails': browserDetails!.toJson(), + if (businessChainDetails != null) + 'businessChainDetails': businessChainDetails!.toJson(), if (carrierAndIspDetails != null) 'carrierAndIspDetails': carrierAndIspDetails!.toJson(), if (categoryDetails != null) @@ -24453,12 +25263,14 @@ class TargetingOption { if (nativeContentPositionDetails != null) 'nativeContentPositionDetails': nativeContentPositionDetails!.toJson(), + if (omidDetails != null) 'omidDetails': omidDetails!.toJson(), if (onScreenPositionDetails != null) 'onScreenPositionDetails': onScreenPositionDetails!.toJson(), if (operatingSystemDetails != null) 'operatingSystemDetails': operatingSystemDetails!.toJson(), if (parentalStatusDetails != null) 'parentalStatusDetails': parentalStatusDetails!.toJson(), + if (poiDetails != null) 'poiDetails': poiDetails!.toJson(), if (sensitiveCategoryDetails != null) 'sensitiveCategoryDetails': sensitiveCategoryDetails!.toJson(), if (subExchangeDetails != null) diff --git a/generated/googleapis/lib/dlp/v2.dart b/generated/googleapis/lib/dlp/v2.dart index 94c81e169..903bb6040 100644 --- a/generated/googleapis/lib/dlp/v2.dart +++ b/generated/googleapis/lib/dlp/v2.dart @@ -69,7 +69,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// privacy-sensitive fragments in text, images, and Google Cloud Platform /// storage repositories. class DLPApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -7612,13 +7613,12 @@ class GooglePrivacyDlpV2CryptoHashConfig { } /// This is a data encryption key (DEK) (as opposed to a key encryption key -/// (KEK) stored by KMS). +/// (KEK) stored by Cloud Key Management Service (Cloud KMS). /// -/// When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy -/// on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data -/// crypto key. +/// When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate +/// IAM policy on the KEK to ensure an attacker cannot unwrap the DEK. class GooglePrivacyDlpV2CryptoKey { - /// Kms wrapped key + /// Key wrapped using Cloud KMS GooglePrivacyDlpV2KmsWrappedCryptoKey? kmsWrapped; /// Transient crypto key @@ -11087,6 +11087,8 @@ class GooglePrivacyDlpV2KindExpression { /// transformation using a KMS-wrapped crypto key: dlp.kms.encrypt For more /// information, see /// [Creating a wrapped key](https://cloud.google.com/dlp/docs/create-wrapped-key). +/// Note: When you use Cloud KMS for cryptographic operations, +/// [charges apply](https://cloud.google.com/kms/pricing). class GooglePrivacyDlpV2KmsWrappedCryptoKey { /// The resource name of the KMS CryptoKey to use for unwrapping. /// @@ -12002,7 +12004,7 @@ class GooglePrivacyDlpV2PrimitiveTransformation { /// Redact GooglePrivacyDlpV2RedactConfig? redactConfig; - /// Replace + /// Replace with a specified value. GooglePrivacyDlpV2ReplaceValueConfig? replaceConfig; /// Replace with infotype diff --git a/generated/googleapis/lib/dns/v1.dart b/generated/googleapis/lib/dns/v1.dart index dcc3c450f..81ce2ccb7 100644 --- a/generated/googleapis/lib/dns/v1.dart +++ b/generated/googleapis/lib/dns/v1.dart @@ -40,11 +40,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class DnsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; diff --git a/generated/googleapis/lib/documentai/v1.dart b/generated/googleapis/lib/documentai/v1.dart index 3da826c99..69abc5fd6 100644 --- a/generated/googleapis/lib/documentai/v1.dart +++ b/generated/googleapis/lib/documentai/v1.dart @@ -52,7 +52,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// documents using state-of-the-art Google AI such as natural language, /// computer vision, translation, and AutoML. class DocumentApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -258,7 +259,7 @@ class ProjectsLocationsOperationsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future cancelOperation( + async.Future cancel( core.String name, { core.String? $fields, }) async { @@ -266,11 +267,11 @@ class ProjectsLocationsOperationsResource { if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$name'); + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; final _response = await _requester.request( _url, - 'DELETE', + 'POST', queryParams: _queryParams, ); return GoogleProtobufEmpty.fromJson( @@ -827,7 +828,7 @@ class Uiv1beta3ProjectsLocationsOperationsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future cancelOperation( + async.Future cancel( core.String name, { core.String? $fields, }) async { @@ -835,11 +836,11 @@ class Uiv1beta3ProjectsLocationsOperationsResource { if ($fields != null) 'fields': [$fields], }; - final _url = 'uiv1beta3/' + core.Uri.encodeFull('$name'); + final _url = 'uiv1beta3/' + core.Uri.encodeFull('$name') + ':cancel'; final _response = await _requester.request( _url, - 'DELETE', + 'POST', queryParams: _queryParams, ); return GoogleProtobufEmpty.fromJson( @@ -944,6 +945,74 @@ class Uiv1beta3ProjectsLocationsOperationsResource { } } +class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata.fromJson( + core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + +/// Response of the delete documents operation. +class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse { + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(); + + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.fromJson( + core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + +/// Response of the batch move documents operation. +class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse { + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(); + + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The common metadata for long running operations. class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata { /// The creation time of the operation. @@ -1290,6 +1359,40 @@ class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse { }; } +/// Metadata of the import document operation. +class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.fromJson(core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + +/// Response of the import document operation. +class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse { + GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(); + + GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The long running operation metadata for set default processor version /// method. class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata { @@ -1498,6 +1601,29 @@ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse { core.Map toJson() => {}; } +class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata.fromJson( + core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + /// The long running operation metadata for updating the human review /// configuration. class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata { @@ -2029,8 +2155,10 @@ class GoogleCloudDocumentaiV1Document { }; } -/// A phrase in the text that is a known entity type, such as a person, an -/// organization, or location. +/// An entity that could be a phrase in the text or a property belongs to the +/// document. +/// +/// It is a known entity type, such as a person, an organization, or location. class GoogleCloudDocumentaiV1DocumentEntity { /// Confidence of detected Schema entity. /// @@ -2053,6 +2181,8 @@ class GoogleCloudDocumentaiV1DocumentEntity { /// Text value in the document e.g. `1600 Amphitheatre Pkwy`. /// + /// If the entity is not present in the document, this field will be empty. + /// /// Optional. core.String? mentionText; @@ -2196,21 +2326,29 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue { /// https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto GoogleTypeDateTime? datetimeValue; + /// Float value. + core.double? floatValue; + + /// Integer value. + core.int? integerValue; + /// Money value. /// /// See also: /// https://github.com/googleapis/googleapis/blob/master/google/type/money.proto GoogleTypeMoney? moneyValue; - /// Normalized entity value stored as a string. + /// An optional field to store a normalized string. /// - /// This field is populated for supported document type (e.g. Invoice). For - /// some entity types, one of respective 'structured_value' fields may also be - /// populated. - Money/Currency type (`money_value`) is in the ISO 4217 text + /// For some entity types, one of respective 'structured_value' fields may + /// also be populated. Also not all the types of 'structured_value' will be + /// normalized. For example, some processors may not generate float or int + /// normalized text by default. Below are sample formats mapped to structured + /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text /// format. - Date type (`date_value`) is in the ISO 8601 text format. - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. /// - /// Required. + /// Optional. core.String? text; GoogleCloudDocumentaiV1DocumentEntityNormalizedValue({ @@ -2218,6 +2356,8 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue { this.booleanValue, this.dateValue, this.datetimeValue, + this.floatValue, + this.integerValue, this.moneyValue, this.text, }); @@ -2239,6 +2379,12 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue { ? GoogleTypeDateTime.fromJson( _json['datetimeValue'] as core.Map) : null, + floatValue: _json.containsKey('floatValue') + ? (_json['floatValue'] as core.num).toDouble() + : null, + integerValue: _json.containsKey('integerValue') + ? _json['integerValue'] as core.int + : null, moneyValue: _json.containsKey('moneyValue') ? GoogleTypeMoney.fromJson( _json['moneyValue'] as core.Map) @@ -2251,6 +2397,8 @@ class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue { if (booleanValue != null) 'booleanValue': booleanValue!, if (dateValue != null) 'dateValue': dateValue!.toJson(), if (datetimeValue != null) 'datetimeValue': datetimeValue!.toJson(), + if (floatValue != null) 'floatValue': floatValue!, + if (integerValue != null) 'integerValue': integerValue!, if (moneyValue != null) 'moneyValue': moneyValue!.toJson(), if (text != null) 'text': text!, }; @@ -2765,6 +2913,18 @@ class GoogleCloudDocumentaiV1DocumentPageDimension { /// A form field detected on the page. class GoogleCloudDocumentaiV1DocumentPageFormField { + /// Created for Labeling UI to export key text. + /// + /// If corrections were made to the text identified by the + /// `field_name.text_anchor`, this field will contain the correction. + core.String? correctedKeyText; + + /// Created for Labeling UI to export value text. + /// + /// If corrections were made to the text identified by the + /// `field_value.text_anchor`, this field will contain the correction. + core.String? correctedValueText; + /// Layout for the FormField name. /// /// e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. @@ -2791,6 +2951,8 @@ class GoogleCloudDocumentaiV1DocumentPageFormField { core.String? valueType; GoogleCloudDocumentaiV1DocumentPageFormField({ + this.correctedKeyText, + this.correctedValueText, this.fieldName, this.fieldValue, this.nameDetectedLanguages, @@ -2801,6 +2963,12 @@ class GoogleCloudDocumentaiV1DocumentPageFormField { GoogleCloudDocumentaiV1DocumentPageFormField.fromJson(core.Map _json) : this( + correctedKeyText: _json.containsKey('correctedKeyText') + ? _json['correctedKeyText'] as core.String + : null, + correctedValueText: _json.containsKey('correctedValueText') + ? _json['correctedValueText'] as core.String + : null, fieldName: _json.containsKey('fieldName') ? GoogleCloudDocumentaiV1DocumentPageLayout.fromJson( _json['fieldName'] as core.Map) @@ -2837,6 +3005,9 @@ class GoogleCloudDocumentaiV1DocumentPageFormField { ); core.Map toJson() => { + if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!, + if (correctedValueText != null) + 'correctedValueText': correctedValueText!, if (fieldName != null) 'fieldName': fieldName!.toJson(), if (fieldValue != null) 'fieldValue': fieldValue!.toJson(), if (nameDetectedLanguages != null) @@ -3453,9 +3624,9 @@ class GoogleCloudDocumentaiV1DocumentProvenanceParent { /// The id of the parent provenance. core.int? id; - /// The index of the parent revisions corresponding collection of items (eg. + /// The index of the parent item in the corresponding item list (eg. /// - /// list of entities, properties within entities, etc.) + /// list of entities, properties within entities, etc.) on parent revision. core.int? index; /// The index of the \[Document.revisions\] identifying the parent revision. @@ -4495,8 +4666,10 @@ class GoogleCloudDocumentaiV1beta1Document { }; } -/// A phrase in the text that is a known entity type, such as a person, an -/// organization, or location. +/// An entity that could be a phrase in the text or a property belongs to the +/// document. +/// +/// It is a known entity type, such as a person, an organization, or location. class GoogleCloudDocumentaiV1beta1DocumentEntity { /// Confidence of detected Schema entity. /// @@ -4519,6 +4692,8 @@ class GoogleCloudDocumentaiV1beta1DocumentEntity { /// Text value in the document e.g. `1600 Amphitheatre Pkwy`. /// + /// If the entity is not present in the document, this field will be empty. + /// /// Optional. core.String? mentionText; @@ -4662,21 +4837,29 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { /// https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto GoogleTypeDateTime? datetimeValue; + /// Float value. + core.double? floatValue; + + /// Integer value. + core.int? integerValue; + /// Money value. /// /// See also: /// https://github.com/googleapis/googleapis/blob/master/google/type/money.proto GoogleTypeMoney? moneyValue; - /// Normalized entity value stored as a string. + /// An optional field to store a normalized string. /// - /// This field is populated for supported document type (e.g. Invoice). For - /// some entity types, one of respective 'structured_value' fields may also be - /// populated. - Money/Currency type (`money_value`) is in the ISO 4217 text + /// For some entity types, one of respective 'structured_value' fields may + /// also be populated. Also not all the types of 'structured_value' will be + /// normalized. For example, some processors may not generate float or int + /// normalized text by default. Below are sample formats mapped to structured + /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text /// format. - Date type (`date_value`) is in the ISO 8601 text format. - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. /// - /// Required. + /// Optional. core.String? text; GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue({ @@ -4684,6 +4867,8 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { this.booleanValue, this.dateValue, this.datetimeValue, + this.floatValue, + this.integerValue, this.moneyValue, this.text, }); @@ -4706,6 +4891,12 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { ? GoogleTypeDateTime.fromJson( _json['datetimeValue'] as core.Map) : null, + floatValue: _json.containsKey('floatValue') + ? (_json['floatValue'] as core.num).toDouble() + : null, + integerValue: _json.containsKey('integerValue') + ? _json['integerValue'] as core.int + : null, moneyValue: _json.containsKey('moneyValue') ? GoogleTypeMoney.fromJson( _json['moneyValue'] as core.Map) @@ -4718,6 +4909,8 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { if (booleanValue != null) 'booleanValue': booleanValue!, if (dateValue != null) 'dateValue': dateValue!.toJson(), if (datetimeValue != null) 'datetimeValue': datetimeValue!.toJson(), + if (floatValue != null) 'floatValue': floatValue!, + if (integerValue != null) 'integerValue': integerValue!, if (moneyValue != null) 'moneyValue': moneyValue!.toJson(), if (text != null) 'text': text!, }; @@ -5191,6 +5384,18 @@ class GoogleCloudDocumentaiV1beta1DocumentPageDimension { /// A form field detected on the page. class GoogleCloudDocumentaiV1beta1DocumentPageFormField { + /// Created for Labeling UI to export key text. + /// + /// If corrections were made to the text identified by the + /// `field_name.text_anchor`, this field will contain the correction. + core.String? correctedKeyText; + + /// Created for Labeling UI to export value text. + /// + /// If corrections were made to the text identified by the + /// `field_value.text_anchor`, this field will contain the correction. + core.String? correctedValueText; + /// Layout for the FormField name. /// /// e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. @@ -5217,6 +5422,8 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField { core.String? valueType; GoogleCloudDocumentaiV1beta1DocumentPageFormField({ + this.correctedKeyText, + this.correctedValueText, this.fieldName, this.fieldValue, this.nameDetectedLanguages, @@ -5227,6 +5434,12 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField { GoogleCloudDocumentaiV1beta1DocumentPageFormField.fromJson(core.Map _json) : this( + correctedKeyText: _json.containsKey('correctedKeyText') + ? _json['correctedKeyText'] as core.String + : null, + correctedValueText: _json.containsKey('correctedValueText') + ? _json['correctedValueText'] as core.String + : null, fieldName: _json.containsKey('fieldName') ? GoogleCloudDocumentaiV1beta1DocumentPageLayout.fromJson( _json['fieldName'] as core.Map) @@ -5263,6 +5476,9 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField { ); core.Map toJson() => { + if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!, + if (correctedValueText != null) + 'correctedValueText': correctedValueText!, if (fieldName != null) 'fieldName': fieldName!.toJson(), if (fieldValue != null) 'fieldValue': fieldValue!.toJson(), if (nameDetectedLanguages != null) @@ -5883,9 +6099,9 @@ class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent { /// The id of the parent provenance. core.int? id; - /// The index of the parent revisions corresponding collection of items (eg. + /// The index of the parent item in the corresponding item list (eg. /// - /// list of entities, properties within entities, etc.) + /// list of entities, properties within entities, etc.) on parent revision. core.int? index; /// The index of the \[Document.revisions\] identifying the parent revision. @@ -6817,8 +7033,10 @@ class GoogleCloudDocumentaiV1beta2Document { }; } -/// A phrase in the text that is a known entity type, such as a person, an -/// organization, or location. +/// An entity that could be a phrase in the text or a property belongs to the +/// document. +/// +/// It is a known entity type, such as a person, an organization, or location. class GoogleCloudDocumentaiV1beta2DocumentEntity { /// Confidence of detected Schema entity. /// @@ -6841,6 +7059,8 @@ class GoogleCloudDocumentaiV1beta2DocumentEntity { /// Text value in the document e.g. `1600 Amphitheatre Pkwy`. /// + /// If the entity is not present in the document, this field will be empty. + /// /// Optional. core.String? mentionText; @@ -6984,21 +7204,29 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { /// https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto GoogleTypeDateTime? datetimeValue; + /// Float value. + core.double? floatValue; + + /// Integer value. + core.int? integerValue; + /// Money value. /// /// See also: /// https://github.com/googleapis/googleapis/blob/master/google/type/money.proto GoogleTypeMoney? moneyValue; - /// Normalized entity value stored as a string. + /// An optional field to store a normalized string. /// - /// This field is populated for supported document type (e.g. Invoice). For - /// some entity types, one of respective 'structured_value' fields may also be - /// populated. - Money/Currency type (`money_value`) is in the ISO 4217 text + /// For some entity types, one of respective 'structured_value' fields may + /// also be populated. Also not all the types of 'structured_value' will be + /// normalized. For example, some processors may not generate float or int + /// normalized text by default. Below are sample formats mapped to structured + /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text /// format. - Date type (`date_value`) is in the ISO 8601 text format. - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. /// - /// Required. + /// Optional. core.String? text; GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue({ @@ -7006,6 +7234,8 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { this.booleanValue, this.dateValue, this.datetimeValue, + this.floatValue, + this.integerValue, this.moneyValue, this.text, }); @@ -7028,6 +7258,12 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { ? GoogleTypeDateTime.fromJson( _json['datetimeValue'] as core.Map) : null, + floatValue: _json.containsKey('floatValue') + ? (_json['floatValue'] as core.num).toDouble() + : null, + integerValue: _json.containsKey('integerValue') + ? _json['integerValue'] as core.int + : null, moneyValue: _json.containsKey('moneyValue') ? GoogleTypeMoney.fromJson( _json['moneyValue'] as core.Map) @@ -7040,6 +7276,8 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { if (booleanValue != null) 'booleanValue': booleanValue!, if (dateValue != null) 'dateValue': dateValue!.toJson(), if (datetimeValue != null) 'datetimeValue': datetimeValue!.toJson(), + if (floatValue != null) 'floatValue': floatValue!, + if (integerValue != null) 'integerValue': integerValue!, if (moneyValue != null) 'moneyValue': moneyValue!.toJson(), if (text != null) 'text': text!, }; @@ -7559,6 +7797,18 @@ class GoogleCloudDocumentaiV1beta2DocumentPageDimension { /// A form field detected on the page. class GoogleCloudDocumentaiV1beta2DocumentPageFormField { + /// Created for Labeling UI to export key text. + /// + /// If corrections were made to the text identified by the + /// `field_name.text_anchor`, this field will contain the correction. + core.String? correctedKeyText; + + /// Created for Labeling UI to export value text. + /// + /// If corrections were made to the text identified by the + /// `field_value.text_anchor`, this field will contain the correction. + core.String? correctedValueText; + /// Layout for the FormField name. /// /// e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. @@ -7585,6 +7835,8 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField { core.String? valueType; GoogleCloudDocumentaiV1beta2DocumentPageFormField({ + this.correctedKeyText, + this.correctedValueText, this.fieldName, this.fieldValue, this.nameDetectedLanguages, @@ -7595,6 +7847,12 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField { GoogleCloudDocumentaiV1beta2DocumentPageFormField.fromJson(core.Map _json) : this( + correctedKeyText: _json.containsKey('correctedKeyText') + ? _json['correctedKeyText'] as core.String + : null, + correctedValueText: _json.containsKey('correctedValueText') + ? _json['correctedValueText'] as core.String + : null, fieldName: _json.containsKey('fieldName') ? GoogleCloudDocumentaiV1beta2DocumentPageLayout.fromJson( _json['fieldName'] as core.Map) @@ -7631,6 +7889,9 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField { ); core.Map toJson() => { + if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!, + if (correctedValueText != null) + 'correctedValueText': correctedValueText!, if (fieldName != null) 'fieldName': fieldName!.toJson(), if (fieldValue != null) 'fieldValue': fieldValue!.toJson(), if (nameDetectedLanguages != null) @@ -8251,9 +8512,9 @@ class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent { /// The id of the parent provenance. core.int? id; - /// The index of the parent revisions corresponding collection of items (eg. + /// The index of the parent item in the corresponding item list (eg. /// - /// list of entities, properties within entities, etc.) + /// list of entities, properties within entities, etc.) on parent revision. core.int? index; /// The index of the \[Document.revisions\] identifying the parent revision. diff --git a/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart b/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart index 3910ed231..f3eedfa25 100644 --- a/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart +++ b/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart @@ -681,6 +681,7 @@ class FilterPair { /// - "FILTER_INSERTION_ORDER_GOAL_VALUE" /// - "FILTER_OMID_CAPABLE" /// - "FILTER_VENDOR_MEASUREMENT_MODE" + /// - "FILTER_IMPRESSION_LOSS_REJECTION_REASON" core.String? type; /// Filter value. @@ -1291,6 +1292,7 @@ class PathQueryOptionsFilter { /// - "FILTER_INSERTION_ORDER_GOAL_VALUE" /// - "FILTER_OMID_CAPABLE" /// - "FILTER_VENDOR_MEASUREMENT_MODE" + /// - "FILTER_IMPRESSION_LOSS_REJECTION_REASON" core.String? filter; /// Indicates how the filter should be matched to the value. diff --git a/generated/googleapis/lib/drive/v2.dart b/generated/googleapis/lib/drive/v2.dart index 2feefdcbc..bd4d34692 100644 --- a/generated/googleapis/lib/drive/v2.dart +++ b/generated/googleapis/lib/drive/v2.dart @@ -1971,7 +1971,7 @@ class FilesResource { /// [q] - Query string for searching files. /// /// [spaces] - A comma-separated list of spaces to query. Supported values are - /// 'drive', 'appDataFolder' and 'photos'. + /// 'drive' and 'appDataFolder'. /// /// [supportsAllDrives] - Whether the requesting application supports both My /// Drives and shared drives. @@ -7467,12 +7467,12 @@ class File { /// for files in Docs Editors; it is not populated for shortcut files. core.String? fileSize; - /// Folder color as an RGB hex string if the file is a folder. + /// Folder color as an RGB hex string if the file is a folder or a shortcut to + /// a folder. /// /// The list of supported colors is available in the folderColorPalette field /// of the About resource. If an unsupported color is specified, it will be - /// changed to the closest color in the palette. Not populated for items in - /// shared drives. + /// changed to the closest color in the palette. core.String? folderColorRgb; /// The full file extension; extracted from the title. diff --git a/generated/googleapis/lib/drive/v3.dart b/generated/googleapis/lib/drive/v3.dart index 952dbf51c..4f08524db 100644 --- a/generated/googleapis/lib/drive/v3.dart +++ b/generated/googleapis/lib/drive/v3.dart @@ -1492,7 +1492,7 @@ class FilesResource { /// guide for supported syntax. /// /// [spaces] - A comma-separated list of spaces to query within the corpus. - /// Supported values are 'drive', 'appDataFolder' and 'photos'. + /// Supported values are 'drive' and 'appDataFolder'. /// /// [supportsAllDrives] - Whether the requesting application supports both My /// Drives and shared drives. @@ -4925,7 +4925,7 @@ class File { /// This is only available for files with binary content in Google Drive. core.String? fileExtension; - /// The color for a folder as an RGB hex string. + /// The color for a folder or shortcut to a folder as an RGB hex string. /// /// The supported colors are published in the folderColorPalette field of the /// About resource. diff --git a/generated/googleapis/lib/essentialcontacts/v1.dart b/generated/googleapis/lib/essentialcontacts/v1.dart index cb4482dc2..2c88012d4 100644 --- a/generated/googleapis/lib/essentialcontacts/v1.dart +++ b/generated/googleapis/lib/essentialcontacts/v1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class EssentialcontactsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/eventarc/v1.dart b/generated/googleapis/lib/eventarc/v1.dart index 5d0543b17..71a498a83 100644 --- a/generated/googleapis/lib/eventarc/v1.dart +++ b/generated/googleapis/lib/eventarc/v1.dart @@ -20,6 +20,7 @@ /// /// - [ProjectsResource] /// - [ProjectsLocationsResource] +/// - [ProjectsLocationsChannelsResource] /// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsTriggersResource] library eventarc.v1; @@ -37,7 +38,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class EventarcApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -64,6 +66,8 @@ class ProjectsResource { class ProjectsLocationsResource { final commons.ApiRequester _requester; + ProjectsLocationsChannelsResource get channels => + ProjectsLocationsChannelsResource(_requester); ProjectsLocationsOperationsResource get operations => ProjectsLocationsOperationsResource(_requester); ProjectsLocationsTriggersResource get triggers => @@ -159,6 +163,161 @@ class ProjectsLocationsResource { } } +class ProjectsLocationsChannelsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsChannelsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/channels/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/channels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/channels/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + class ProjectsLocationsOperationsResource { final commons.ApiRequester _requester; @@ -1589,7 +1748,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/fcm/v1.dart b/generated/googleapis/lib/fcm/v1.dart index 0e6766253..993093223 100644 --- a/generated/googleapis/lib/fcm/v1.dart +++ b/generated/googleapis/lib/fcm/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// FCM send API that provides a cross-platform messaging solution to reliably /// deliver messages at no cost. class FirebaseCloudMessagingApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/file/v1.dart b/generated/googleapis/lib/file/v1.dart index f9cf0fd37..8ca874177 100644 --- a/generated/googleapis/lib/file/v1.dart +++ b/generated/googleapis/lib/file/v1.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Cloud Filestore API is used for creating and managing cloud file /// servers. class CloudFilestoreApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -186,8 +187,8 @@ class ProjectsLocationsBackupsResource { /// Request parameters: /// /// [parent] - Required. The backup's project and location, in the format - /// projects/{project_number}/locations/{location}. In Cloud Filestore, backup - /// locations map to GCP regions, for example **us-west1**. + /// `projects/{project_number}/locations/{location}`. In Cloud Filestore, + /// backup locations map to GCP regions, for example **us-west1**. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [backupId] - Required. The ID to use for the backup. The ID must be unique @@ -234,7 +235,7 @@ class ProjectsLocationsBackupsResource { /// Request parameters: /// /// [name] - Required. The backup resource name, in the format - /// projects/{project_number}/locations/{location}/backups/{backup_id} + /// `projects/{project_number}/locations/{location}/backups/{backup_id}` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/backups/\[^/\]+$`. /// @@ -271,7 +272,7 @@ class ProjectsLocationsBackupsResource { /// Request parameters: /// /// [name] - Required. The backup resource name, in the format - /// projects/{project_number}/locations/{location}/backups/{backup_id}. + /// `projects/{project_number}/locations/{location}/backups/{backup_id}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/backups/\[^/\]+$`. /// @@ -309,10 +310,10 @@ class ProjectsLocationsBackupsResource { /// Request parameters: /// /// [parent] - Required. The project and location for which to retrieve backup - /// information, in the format projects/{project_number}/locations/{location}. - /// In Cloud Filestore, backup locations map to GCP regions, for example - /// **us-west1**. To retrieve backup information for all locations, use "-" - /// for the {location} value. + /// information, in the format + /// `projects/{project_number}/locations/{location}`. In Cloud Filestore, + /// backup locations map to GCP regions, for example **us-west1**. To retrieve + /// backup information for all locations, use "-" for the `{location}` value. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [filter] - List filter. @@ -369,7 +370,7 @@ class ProjectsLocationsBackupsResource { /// Request parameters: /// /// [name] - Output only. The resource name of the backup, in the format - /// projects/{project_number}/locations/{location_id}/backups/{backup_id}. + /// `projects/{project_number}/locations/{location_id}/backups/{backup_id}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/backups/\[^/\]+$`. /// @@ -427,8 +428,8 @@ class ProjectsLocationsInstancesResource { /// Request parameters: /// /// [parent] - Required. The instance's project and location, in the format - /// projects/{project_id}/locations/{location}. In Cloud Filestore, locations - /// map to GCP zones, for example **us-west1-b**. + /// `projects/{project_id}/locations/{location}`. In Cloud Filestore, + /// locations map to GCP zones, for example **us-west1-b**. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [instanceId] - Required. The name of the instance to create. The name must @@ -472,7 +473,7 @@ class ProjectsLocationsInstancesResource { /// Request parameters: /// /// [name] - Required. The instance resource name, in the format - /// projects/{project_id}/locations/{location}/instances/{instance_id} + /// `projects/{project_id}/locations/{location}/instances/{instance_id}` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. /// @@ -509,7 +510,7 @@ class ProjectsLocationsInstancesResource { /// Request parameters: /// /// [name] - Required. The instance resource name, in the format - /// projects/{project_id}/locations/{location}/instances/{instance_id}. + /// `projects/{project_id}/locations/{location}/instances/{instance_id}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. /// @@ -548,9 +549,10 @@ class ProjectsLocationsInstancesResource { /// /// [parent] - Required. The project and location for which to retrieve /// instance information, in the format - /// projects/{project_id}/locations/{location}. In Cloud Filestore, locations - /// map to GCP zones, for example **us-west1-b**. To retrieve instance - /// information for all locations, use "-" for the {location} value. + /// `projects/{project_id}/locations/{location}`. In Cloud Filestore, + /// locations map to GCP zones, for example **us-west1-b**. To retrieve + /// instance information for all locations, use "-" for the `{location}` + /// value. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [filter] - List filter. @@ -607,7 +609,7 @@ class ProjectsLocationsInstancesResource { /// Request parameters: /// /// [name] - Output only. The resource name of the instance, in the format - /// projects/{project}/locations/{location}/instances/{instance}. + /// `projects/{project}/locations/{location}/instances/{instance}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. /// @@ -659,7 +661,7 @@ class ProjectsLocationsInstancesResource { /// Request parameters: /// /// [name] - Required. The resource name of the instance, in the format - /// projects/{project_number}/locations/{location_id}/instances/{instance_id}. + /// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. /// @@ -917,7 +919,7 @@ class Backup { core.Map? labels; /// The resource name of the backup, in the format - /// projects/{project_number}/locations/{location_id}/backups/{backup_id}. + /// `projects/{project_number}/locations/{location_id}/backups/{backup_id}`. /// /// Output only. core.String? name; @@ -932,7 +934,7 @@ class Backup { core.String? sourceFileShare; /// The resource name of the source Cloud Filestore instance, in the format - /// projects/{project_number}/locations/{location_id}/instances/{instance_id}, + /// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, /// used to create this backup. core.String? sourceInstance; @@ -1226,7 +1228,7 @@ class FileShareConfig { core.List? nfsExportOptions; /// The resource name of the backup, in the format - /// projects/{project_number}/locations/{location_id}/backups/{backup_id}, + /// `projects/{project_number}/locations/{location_id}/backups/{backup_id}`, /// that this file share has been restored from. core.String? sourceBackup; @@ -1660,15 +1662,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings { /// information in SloMetadata for custom precomputations. SSA Eligibility /// Exporter will emit per-node metric based on this information. class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { - /// By default node is eligible if instance is eligible. - /// - /// But individual node might be excluded from SLO by adding entry here. For - /// semantic see SloMetadata.exclusions. If both instance and node level - /// exclusions are present for time period, the node level's reason will be - /// reported by Eligibility Exporter. - core.List? - exclusions; - /// The location of the node, if different from instance location. core.String? location; @@ -1683,7 +1676,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { perSliEligibility; GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata({ - this.exclusions, this.location, this.nodeId, this.perSliEligibility, @@ -1692,15 +1684,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.fromJson( core.Map _json) : this( - exclusions: _json.containsKey('exclusions') - ? (_json['exclusions'] as core.List) - .map( - (value) => - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - .fromJson( - value as core.Map)) - .toList() - : null, location: _json.containsKey('location') ? _json['location'] as core.String : null, @@ -1715,8 +1698,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { ); core.Map toJson() => { - if (exclusions != null) - 'exclusions': exclusions!.map((value) => value.toJson()).toList(), if (location != null) 'location': location!, if (nodeId != null) 'nodeId': nodeId!, if (perSliEligibility != null) @@ -1843,87 +1824,9 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility { }; } -/// SloExclusion represents an exclusion in SLI calculation applies to all SLOs. -class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion { - /// Exclusion duration. - /// - /// No restrictions on the possible values. When an ongoing operation is - /// taking longer than initially expected, an existing entry in the exclusion - /// list can be updated by extending the duration. This is supported by the - /// subsystem exporting eligibility data as long as such extension is - /// committed at least 10 minutes before the original exclusion expiration - - /// otherwise it is possible that there will be "gaps" in the exclusion - /// application in the exported timeseries. - core.String? duration; - - /// Human-readable reason for the exclusion. - /// - /// This should be a static string (e.g. "Disruptive update in progress") and - /// should not contain dynamically generated data (e.g. instance name). Can be - /// left empty. - core.String? reason; - - /// Name of an SLI that this exclusion applies to. - /// - /// Can be left empty, signaling that the instance should be excluded from all - /// SLIs. - core.String? sliName; - - /// Start time of the exclusion. - /// - /// No alignment (e.g. to a full minute) needed. - core.String? startTime; - - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion({ - this.duration, - this.reason, - this.sliName, - this.startTime, - }); - - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion.fromJson( - core.Map _json) - : this( - duration: _json.containsKey('duration') - ? _json['duration'] as core.String - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - sliName: _json.containsKey('sliName') - ? _json['sliName'] as core.String - : null, - startTime: _json.containsKey('startTime') - ? _json['startTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (duration != null) 'duration': duration!, - if (reason != null) 'reason': reason!, - if (sliName != null) 'sliName': sliName!, - if (startTime != null) 'startTime': startTime!, - }; -} - /// SloMetadata contains resources required for proper SLO classification of the /// instance. class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { - /// List of SLO exclusion windows. - /// - /// When multiple entries in the list match (matching the exclusion - /// time-window against current time point) the exclusion reason used in the - /// first matching entry will be published. It is not needed to include - /// expired exclusion in this list, as only the currently applicable - /// exclusions are taken into account by the eligibility exporting subsystem - /// (the historical state of exclusions will be reflected in the historically - /// produced timeseries regardless of the current state). This field can be - /// used to mark the instance as temporary ineligible for the purpose of SLO - /// calculation. For permanent instance SLO exclusion, use of custom instance - /// eligibility is recommended. See 'eligibility' field below. - core.List? - exclusions; - /// List of nodes. /// /// Some producers need to use per-node metadata to calculate SLO. This field @@ -1948,7 +1851,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { core.String? tier; GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata({ - this.exclusions, this.nodes, this.perSliEligibility, this.tier, @@ -1957,15 +1859,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.fromJson( core.Map _json) : this( - exclusions: _json.containsKey('exclusions') - ? (_json['exclusions'] as core.List) - .map( - (value) => - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - .fromJson( - value as core.Map)) - .toList() - : null, nodes: _json.containsKey('nodes') ? (_json['nodes'] as core.List) .map( @@ -1984,8 +1877,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { ); core.Map toJson() => { - if (exclusions != null) - 'exclusions': exclusions!.map((value) => value.toJson()).toList(), if (nodes != null) 'nodes': nodes!.map((value) => value.toJson()).toList(), if (perSliEligibility != null) @@ -2017,7 +1908,7 @@ class Instance { core.Map? labels; /// The resource name of the instance, in the format - /// projects/{project}/locations/{location}/instances/{instance}. + /// `projects/{project}/locations/{location}/instances/{instance}`. /// /// Output only. core.String? name; @@ -2145,7 +2036,7 @@ class Instance { class ListBackupsResponse { /// A list of backups in the project for the specified location. /// - /// If the {location} value in the request is "-", the response contains a + /// If the `{location}` value in the request is "-", the response contains a /// list of backups from all locations. If any location is unreachable, the /// response will only return backups in reachable locations and the /// "unreachable" field will be populated with a list of unreachable @@ -2196,7 +2087,7 @@ class ListBackupsResponse { class ListInstancesResponse { /// A list of instances in the project for the specified location. /// - /// If the {location} value in the request is "-", the response contains a + /// If the `{location}` value in the request is "-", the response contains a /// list of instances from all locations. If any location is unreachable, the /// response will only return instances in reachable locations and the /// "unreachable" field will be populated with a list of unreachable @@ -2516,9 +2407,9 @@ class MaintenanceWindow { /// Network configuration for the instance. class NetworkConfig { - /// IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or - /// IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block - /// 4}:{block 5}:{block 6}:{block 7}:{block 8}. + /// IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 + /// addresses in the format + /// `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. /// /// Output only. core.List? ipAddresses; @@ -2529,13 +2420,13 @@ class NetworkConfig { /// For this version, only MODE_IPV4 is supported. core.List? modes; - /// The name of the Google Compute Engine \[VPC - /// network\](/compute/docs/networks-and-firewalls#networks) to which the - /// instance is connected. + /// The name of the Google Compute Engine + /// [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance + /// is connected. core.String? network; /// A /29 CIDR block in one of the - /// [internal IP address ranges](https://www.arin.net/knowledge/address_filters.html) + /// [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) /// that identifies the range of IP addresses reserved for this instance. /// /// For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't @@ -2604,9 +2495,10 @@ class NfsExportOptions { /// returned if this field is specified for other squash_mode settings. core.String? anonUid; - /// List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet - /// 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet - /// 3}.{octet 4}/{mask size} which may mount the file share. + /// List of either an IPv4 addresses in the format + /// `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format + /// `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file + /// share. /// /// Overlapping IP ranges are not allowed, both within and across /// NfsExportOptions. An error will be returned. The limit is 64 IP @@ -2758,7 +2650,7 @@ class OperationMetadata { /// Identifies whether the user has requested cancellation of the operation. /// - /// Operations that have successfully been cancelled have Operation.error + /// Operations that have been cancelled successfully have Operation.error /// value with a google.rpc.Status.code of 1, corresponding to /// `Code.CANCELLED`. /// @@ -2844,7 +2736,7 @@ class RestoreInstanceRequest { core.String? fileShare; /// The resource name of the backup, in the format - /// projects/{project_number}/locations/{location_id}/backups/{backup_id}. + /// `projects/{project_number}/locations/{location_id}/backups/{backup_id}`. core.String? sourceBackup; RestoreInstanceRequest({ @@ -3041,8 +2933,8 @@ class UpdatePolicy { /// Deny Maintenance Period that is applied to resource to indicate when /// maintenance is forbidden. /// - /// User can specify zero or more non-overlapping deny periods. For V1, - /// Maximum number of deny_maintenance_periods is expected to be one. + /// User can specify zero or more non-overlapping deny periods. Maximum number + /// of deny_maintenance_periods expected is one. core.List? denyMaintenancePeriods; /// Maintenance window that is applied to resources covered by this policy. diff --git a/generated/googleapis/lib/firebaseml/v1.dart b/generated/googleapis/lib/firebaseml/v1.dart index 81a1ef495..2dd5fca33 100644 --- a/generated/googleapis/lib/firebaseml/v1.dart +++ b/generated/googleapis/lib/firebaseml/v1.dart @@ -37,7 +37,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Access custom machine learning models hosted via Firebase ML. class FirebaseMLApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart index fe78bd772..24c5005dd 100644 --- a/generated/googleapis/lib/firebaserules/v1.dart +++ b/generated/googleapis/lib/firebaserules/v1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates and manages rules that determine when a Firebase Rules-enabled /// service should permit a request. class FirebaseRulesApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/firestore/v1.dart b/generated/googleapis/lib/firestore/v1.dart index 5f853c325..c4ae511f5 100644 --- a/generated/googleapis/lib/firestore/v1.dart +++ b/generated/googleapis/lib/firestore/v1.dart @@ -46,7 +46,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Accesses the NoSQL document database built for automatic scaling, high /// performance, and ease of application development. class FirestoreApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/fitness/v1.dart b/generated/googleapis/lib/fitness/v1.dart index 7844af846..d8231f822 100644 --- a/generated/googleapis/lib/fitness/v1.dart +++ b/generated/googleapis/lib/fitness/v1.dart @@ -71,11 +71,11 @@ class FitnessApi { static const fitnessBloodPressureWriteScope = 'https://www.googleapis.com/auth/fitness.blood_pressure.write'; - /// See info about your body measurements and heart rate in Google Fit + /// See info about your body measurements in Google Fit static const fitnessBodyReadScope = 'https://www.googleapis.com/auth/fitness.body.read'; - /// Add info about your body measurements and heart rate to Google Fit + /// Add info about your body measurements to Google Fit static const fitnessBodyWriteScope = 'https://www.googleapis.com/auth/fitness.body.write'; diff --git a/generated/googleapis/lib/gameservices/v1.dart b/generated/googleapis/lib/gameservices/v1.dart index 6e73936e8..70bdf60ab 100644 --- a/generated/googleapis/lib/gameservices/v1.dart +++ b/generated/googleapis/lib/gameservices/v1.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Deploy and manage infrastructure for global multiplayer gaming experiences. class GameServicesApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -3971,7 +3972,7 @@ class OperationStatus { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/gkehub/v1.dart b/generated/googleapis/lib/gkehub/v1.dart index e4a979f88..d0955841f 100644 --- a/generated/googleapis/lib/gkehub/v1.dart +++ b/generated/googleapis/lib/gkehub/v1.dart @@ -12,7 +12,7 @@ // ignore_for_file: unnecessary_lambdas // ignore_for_file: unnecessary_string_interpolations -/// GKE Hub - v1 +/// GKE Hub API - v1 /// /// For more information, see /// @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class GKEHubApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -3622,9 +3623,7 @@ class Membership { /// MembershipEndpoint contains information needed to contact a Kubernetes API, /// endpoint and any additional Kubernetes metadata. class MembershipEndpoint { - /// GKE-specific information. - /// - /// Only present if this Membership is a GKE cluster. + /// Specific information for a GKE-on-GCP cluster. /// /// Optional. GkeCluster? gkeCluster; @@ -3634,9 +3633,21 @@ class MembershipEndpoint { /// Output only. KubernetesMetadata? kubernetesMetadata; + /// Specific information for a GKE Multi-Cloud cluster. + /// + /// Optional. + MultiCloudCluster? multiCloudCluster; + + /// Specific information for a GKE On-Prem cluster. + /// + /// Optional. + OnPremCluster? onPremCluster; + MembershipEndpoint({ this.gkeCluster, this.kubernetesMetadata, + this.multiCloudCluster, + this.onPremCluster, }); MembershipEndpoint.fromJson(core.Map _json) @@ -3649,12 +3660,23 @@ class MembershipEndpoint { ? KubernetesMetadata.fromJson(_json['kubernetesMetadata'] as core.Map) : null, + multiCloudCluster: _json.containsKey('multiCloudCluster') + ? MultiCloudCluster.fromJson(_json['multiCloudCluster'] + as core.Map) + : null, + onPremCluster: _json.containsKey('onPremCluster') + ? OnPremCluster.fromJson( + _json['onPremCluster'] as core.Map) + : null, ); core.Map toJson() => { if (gkeCluster != null) 'gkeCluster': gkeCluster!.toJson(), if (kubernetesMetadata != null) 'kubernetesMetadata': kubernetesMetadata!.toJson(), + if (multiCloudCluster != null) + 'multiCloudCluster': multiCloudCluster!.toJson(), + if (onPremCluster != null) 'onPremCluster': onPremCluster!.toJson(), }; } @@ -3745,6 +3767,45 @@ class MembershipState { }; } +/// MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. +class MultiCloudCluster { + /// If cluster_missing is set then it denotes that + /// API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud + /// cluster no longer exists. + /// + /// Output only. + core.bool? clusterMissing; + + /// Self-link of the GCP resource for the GKE Multi-Cloud cluster. + /// + /// For example: + /// //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster + /// //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster + /// + /// Immutable. + core.String? resourceLink; + + MultiCloudCluster({ + this.clusterMissing, + this.resourceLink, + }); + + MultiCloudCluster.fromJson(core.Map _json) + : this( + clusterMissing: _json.containsKey('clusterMissing') + ? _json['clusterMissing'] as core.bool + : null, + resourceLink: _json.containsKey('resourceLink') + ? _json['resourceLink'] as core.String + : null, + ); + + core.Map toJson() => { + if (clusterMissing != null) 'clusterMissing': clusterMissing!, + if (resourceLink != null) 'resourceLink': resourceLink!, + }; +} + /// **Multi-cluster Ingress**: The configuration for the MultiClusterIngress /// feature. class MultiClusterIngressFeatureSpec { @@ -3769,6 +3830,55 @@ class MultiClusterIngressFeatureSpec { }; } +/// OnPremCluster contains information specific to GKE On-Prem clusters. +class OnPremCluster { + /// Whether the cluster is an admin cluster. + /// + /// Immutable. + core.bool? adminCluster; + + /// If cluster_missing is set then it denotes that + /// API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no + /// longer exists. + /// + /// Output only. + core.bool? clusterMissing; + + /// Self-link of the GCP resource for the GKE On-Prem cluster. + /// + /// For example: + /// //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster + /// //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster + /// + /// Immutable. + core.String? resourceLink; + + OnPremCluster({ + this.adminCluster, + this.clusterMissing, + this.resourceLink, + }); + + OnPremCluster.fromJson(core.Map _json) + : this( + adminCluster: _json.containsKey('adminCluster') + ? _json['adminCluster'] as core.bool + : null, + clusterMissing: _json.containsKey('clusterMissing') + ? _json['clusterMissing'] as core.bool + : null, + resourceLink: _json.containsKey('resourceLink') + ? _json['resourceLink'] as core.String + : null, + ); + + core.Map toJson() => { + if (adminCluster != null) 'adminCluster': adminCluster!, + if (clusterMissing != null) 'clusterMissing': clusterMissing!, + if (resourceLink != null) 'resourceLink': resourceLink!, + }; +} + /// This resource represents a long-running operation that is the result of a /// network API call. class Operation { @@ -3968,7 +4078,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/healthcare/v1.dart b/generated/googleapis/lib/healthcare/v1.dart index 4179affd7..f49769359 100644 --- a/generated/googleapis/lib/healthcare/v1.dart +++ b/generated/googleapis/lib/healthcare/v1.dart @@ -5381,14 +5381,16 @@ class ProjectsLocationsDatasetsFhirStoresFhirResource { /// `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and /// `_elements`. The maximum number of search results returned defaults to /// 100, which can be overridden by the `_count` parameter up to a maximum - /// limit of 1000. If there are additional results, the returned `Bundle` will - /// contain pagination links. Resources with a total size larger than 5MB or a - /// field count larger than 50,000 might not be fully searchable as the server - /// might trim its generated search index in those cases. Note: FHIR resources - /// are indexed asynchronously, so there might be a slight delay between the - /// time a resource is created or changes and when the change is reflected in - /// search results. For samples and detailed information, see \[Searching for - /// FHIR resources\](/healthcare/docs/how-tos/fhir-search) and \[Advanced FHIR + /// limit of 1000. If there are additional results, the returned `Bundle` + /// contains a link of `relation` "next", which has a `_page_token` parameter + /// for an opaque pagination token that can be used to retrieve the next page. + /// Resources with a total size larger than 5MB or a field count larger than + /// 50,000 might not be fully searchable as the server might trim its + /// generated search index in those cases. Note: FHIR resources are indexed + /// asynchronously, so there might be a slight delay between the time a + /// resource is created or changes and when the change is reflected in search + /// results. For samples and detailed information, see \[Searching for FHIR + /// resources\](/healthcare/docs/how-tos/fhir-search) and \[Advanced FHIR /// search features\](/healthcare/docs/how-tos/fhir-advanced-search). /// /// [request] - The metadata request object. @@ -5468,14 +5470,16 @@ class ProjectsLocationsDatasetsFhirStoresFhirResource { /// `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and /// `_elements`. The maximum number of search results returned defaults to /// 100, which can be overridden by the `_count` parameter up to a maximum - /// limit of 1000. If there are additional results, the returned `Bundle` will - /// contain pagination links. Resources with a total size larger than 5MB or a - /// field count larger than 50,000 might not be fully searchable as the server - /// might trim its generated search index in those cases. Note: FHIR resources - /// are indexed asynchronously, so there might be a slight delay between the - /// time a resource is created or changes and when the change is reflected in - /// search results. For samples and detailed information, see \[Searching for - /// FHIR resources\](/healthcare/docs/how-tos/fhir-search) and \[Advanced FHIR + /// limit of 1000. If there are additional results, the returned `Bundle` + /// contains a link of `relation` "next", which has a `_page_token` parameter + /// for an opaque pagination token that can be used to retrieve the next page. + /// Resources with a total size larger than 5MB or a field count larger than + /// 50,000 might not be fully searchable as the server might trim its + /// generated search index in those cases. Note: FHIR resources are indexed + /// asynchronously, so there might be a slight delay between the time a + /// resource is created or changes and when the change is reflected in search + /// results. For samples and detailed information, see \[Searching for FHIR + /// resources\](/healthcare/docs/how-tos/fhir-search) and \[Advanced FHIR /// search features\](/healthcare/docs/how-tos/fhir-advanced-search). /// /// [request] - The metadata request object. diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart index 64bf74ad2..82756ac81 100644 --- a/generated/googleapis/lib/iam/v1.dart +++ b/generated/googleapis/lib/iam/v1.dart @@ -54,7 +54,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// including the creation of service accounts, which you can use to /// authenticate to Google and make API calls. class IamApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2471,6 +2472,103 @@ class ProjectsServiceAccountsKeysResource { return Empty.fromJson(_response as core.Map); } + /// Disable a ServiceAccountKey. + /// + /// A disabled service account key can be enabled through + /// EnableServiceAccountKey. The API is currently in preview phase. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the service account key in the + /// following format: + /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as + /// a wildcard for the `PROJECT_ID` will infer the project from the account. + /// The `ACCOUNT` value can be the `email` address or the `unique_id` of the + /// service account. + /// Value must have pattern + /// `^projects/\[^/\]+/serviceAccounts/\[^/\]+/keys/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future disable( + DisableServiceAccountKeyRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':disable'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Enable a ServiceAccountKey. + /// + /// The API is currently in preview phase. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the service account key in the + /// following format: + /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as + /// a wildcard for the `PROJECT_ID` will infer the project from the account. + /// The `ACCOUNT` value can be the `email` address or the `unique_id` of the + /// service account. + /// Value must have pattern + /// `^projects/\[^/\]+/serviceAccounts/\[^/\]+/keys/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future enable( + EnableServiceAccountKeyRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':enable'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + /// Gets a ServiceAccountKey. /// /// Request parameters: @@ -3241,6 +3339,17 @@ class CreateServiceAccountRequest { }; } +/// The service account key disable request. +class DisableServiceAccountKeyRequest { + DisableServiceAccountKeyRequest(); + + DisableServiceAccountKeyRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The service account disable request. class DisableServiceAccountRequest { DisableServiceAccountRequest(); @@ -3269,6 +3378,17 @@ class Empty { core.Map toJson() => {}; } +/// The service account key enable request. +class EnableServiceAccountKeyRequest { + EnableServiceAccountKeyRequest(); + + EnableServiceAccountKeyRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The service account enable request. class EnableServiceAccountRequest { EnableServiceAccountRequest(); @@ -3998,7 +4118,7 @@ class PermissionDelta { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -4585,6 +4705,9 @@ class ServiceAccount { /// used for signing. Public keys for all service accounts are also published at /// the OAuth2 Service Account API. class ServiceAccountKey { + /// The key status. + core.bool? disabled; + /// Specifies the algorithm (and possibly key size) for the key. /// Possible string values are: /// - "KEY_ALG_UNSPECIFIED" : An unspecified key algorithm. @@ -4665,6 +4788,7 @@ class ServiceAccountKey { core.String? validBeforeTime; ServiceAccountKey({ + this.disabled, this.keyAlgorithm, this.keyOrigin, this.keyType, @@ -4678,6 +4802,9 @@ class ServiceAccountKey { ServiceAccountKey.fromJson(core.Map _json) : this( + disabled: _json.containsKey('disabled') + ? _json['disabled'] as core.bool + : null, keyAlgorithm: _json.containsKey('keyAlgorithm') ? _json['keyAlgorithm'] as core.String : null, @@ -4706,6 +4833,7 @@ class ServiceAccountKey { ); core.Map toJson() => { + if (disabled != null) 'disabled': disabled!, if (keyAlgorithm != null) 'keyAlgorithm': keyAlgorithm!, if (keyOrigin != null) 'keyOrigin': keyOrigin!, if (keyType != null) 'keyType': keyType!, @@ -4848,8 +4976,8 @@ class SignJwtRequest { /// The JWT payload to sign. Must be a serialized JSON object that contains a /// JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}` /// If the JWT Claims Set contains an expiration time (`exp`) claim, it must - /// be an integer timestamp that is not in the past and no more than 1 hour in - /// the future. If the JWT Claims Set does not contain an expiration time + /// be an integer timestamp that is not in the past and no more than 12 hours + /// in the future. If the JWT Claims Set does not contain an expiration time /// (`exp`) claim, this claim is added automatically, with a timestamp that is /// 1 hour in the future. /// diff --git a/generated/googleapis/lib/iamcredentials/v1.dart b/generated/googleapis/lib/iamcredentials/v1.dart index cf74eb52c..189724fc9 100644 --- a/generated/googleapis/lib/iamcredentials/v1.dart +++ b/generated/googleapis/lib/iamcredentials/v1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// /// To enable this API, you must enable the IAM API (iam.googleapis.com). class IAMCredentialsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/iap/v1.dart b/generated/googleapis/lib/iap/v1.dart index 4c9407aac..fb022f0e4 100644 --- a/generated/googleapis/lib/iap/v1.dart +++ b/generated/googleapis/lib/iap/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Controls access to cloud applications running on Google Cloud Platform. class CloudIAPApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1366,7 +1367,7 @@ class OAuthSettings { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/jobs/v3.dart b/generated/googleapis/lib/jobs/v3.dart index 69ec4b891..41df1a99a 100644 --- a/generated/googleapis/lib/jobs/v3.dart +++ b/generated/googleapis/lib/jobs/v3.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Cloud Talent Solution provides the capability to create, read, update, and /// delete job postings, as well as search jobs based on keywords and filters. class CloudTalentSolutionApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -635,9 +636,15 @@ class ProjectsJobsResource { /// /// [filter] - Required. The filter string specifies the jobs to be /// enumerated. Supported operator: =, AND The fields eligible for filtering - /// are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query: - /// * companyName = "projects/api-test-project/companies/123" * companyName = - /// "projects/api-test-project/companies/123" AND requisitionId = "req-1" + /// are: * `companyName` * `requisitionId` * `status` Available values: OPEN, + /// EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of + /// `companyName` and `requisitionId` must present or an INVALID_ARGUMENT + /// error is thrown. Sample Query: * companyName = + /// "projects/api-test-project/companies/123" * companyName = + /// "projects/api-test-project/companies/123" AND requisitionId = "req-1" * + /// companyName = "projects/api-test-project/companies/123" AND status = + /// "EXPIRED" * requisitionId = "req-1" * requisitionId = "req-1" AND status = + /// "EXPIRED" /// /// [jobView] - Optional. The desired job attributes returned for jobs in the /// search response. Defaults to JobView.JOB_VIEW_FULL if no value is diff --git a/generated/googleapis/lib/jobs/v4.dart b/generated/googleapis/lib/jobs/v4.dart index b04541062..a5410a01b 100644 --- a/generated/googleapis/lib/jobs/v4.dart +++ b/generated/googleapis/lib/jobs/v4.dart @@ -45,7 +45,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Cloud Talent Solution provides the capability to create, read, update, and /// delete job postings, as well as search jobs based on keywords and filters. class CloudTalentSolutionApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -990,12 +991,15 @@ class ProjectsTenantsJobsResource { /// /// [filter] - Required. The filter string specifies the jobs to be /// enumerated. Supported operator: =, AND The fields eligible for filtering - /// are: * `companyName` (Required) * `requisitionId` * `status` Available - /// values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. - /// Sample Query: * companyName = "projects/foo/tenants/bar/companies/baz" * - /// companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = - /// "req-1" * companyName = "projects/foo/tenants/bar/companies/baz" AND - /// status = "EXPIRED" + /// are: * `companyName` * `requisitionId` * `status` Available values: OPEN, + /// EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of + /// `companyName` and `requisitionId` must present or an INVALID_ARGUMENT + /// error is thrown. Sample Query: * companyName = + /// "projects/foo/tenants/bar/companies/baz" * companyName = + /// "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1" * + /// companyName = "projects/foo/tenants/bar/companies/baz" AND status = + /// "EXPIRED" * requisitionId = "req-1" * requisitionId = "req-1" AND status = + /// "EXPIRED" /// /// [jobView] - The desired job attributes returned for jobs in the search /// response. Defaults to JobView.JOB_VIEW_FULL if no value is specified. @@ -1633,6 +1637,10 @@ class CommuteFilter { /// - "DRIVING" : Commute time is calculated based on driving time. /// - "TRANSIT" : Commute time is calculated based on public transit including /// bus, metro, subway, and so on. + /// - "WALKING" : Commute time is calculated based on walking time. + /// - "CYCLING" : Commute time is calculated based on biking time. + /// - "TRANSIT_ACCESSIBLE" : Commute time is calculated based on public + /// transit that is wheelchair accessible. core.String? commuteMethod; /// The departure time used to calculate traffic impact, represented as @@ -2407,7 +2415,7 @@ class CustomRankingInfo { /// the left and right side of the operator is either a numeric /// Job.custom_attributes key, integer/double value or an expression that can /// be evaluated to a number. Parenthesis are supported to adjust calculation - /// precedence. The expression must be < 100 characters in length. The + /// precedence. The expression must be < 200 characters in length. The /// expression is considered invalid for a job if the expression references /// custom attributes that are not populated on the job or if the expression /// results in a divide by zero. If an expression is invalid for a job, that @@ -4575,18 +4583,23 @@ class SearchJobsRequest { /// score (determined by API algorithm). CustomRankingInfo? customRankingInfo; + /// This field is deprecated. + /// + /// Please use SearchJobsRequest.keyword_match_mode going forward. To migrate, + /// disable_keyword_match set to false maps to + /// KeywordMatchMode.KEYWORD_MATCH_ALL, and disable_keyword_match set to true + /// maps to KeywordMatchMode.KEYWORD_MATCH_DISABLED. If + /// SearchJobsRequest.keyword_match_mode is set, this field is ignored. /// Controls whether to disable exact keyword match on Job.title, /// Job.description, Job.company_display_name, Job.addresses, - /// Job.qualifications. - /// - /// When disable keyword match is turned off, a keyword match returns jobs - /// that do not match given category filters when there are matching keywords. - /// For example, for the query "program manager," a result is returned even if - /// the job posting has the title "software developer," which doesn't fall - /// into "program manager" ontology, but does have "program manager" appearing - /// in its description. For queries like "cloud" that don't contain title or - /// location specific ontology, jobs with "cloud" keyword matches are returned - /// regardless of this flag's value. Use + /// Job.qualifications. When disable keyword match is turned off, a keyword + /// match returns jobs that do not match given category filters when there are + /// matching keywords. For example, for the query "program manager," a result + /// is returned even if the job posting has the title "software developer," + /// which doesn't fall into "program manager" ontology, but does have "program + /// manager" appearing in its description. For queries like "cloud" that don't + /// contain title or location specific ontology, jobs with "cloud" keyword + /// matches are returned regardless of this flag's value. Use /// Company.keyword_searchable_job_custom_attributes if company-specific /// globally matched custom field/attribute string values are needed. Enabling /// keyword match improves recall of subsequent search requests. Defaults to @@ -4610,10 +4623,17 @@ class SearchJobsRequest { /// result in highly similar jobs appearing in sequence in the search results. /// - "SIMPLE" : Default diversifying behavior. The result list is ordered so /// that highly similar results are pushed to the end of the last page of - /// search results. If you are using pageToken to page through the result set, - /// latency might be lower but we can't guarantee that all results are - /// returned. If you are using page offset, latency might be higher but all - /// results are returned. + /// search results. + /// - "ONE_PER_COMPANY" : Only one job from the same company will be shown at + /// once, other jobs under same company are pushed to the end of the last page + /// of search result. + /// - "TWO_PER_COMPANY" : Similar to ONE_PER_COMPANY, but it allows at most + /// two jobs in the same company to be shown at once, the other jobs under + /// same company are pushed to the end of the last page of search result. + /// - "DIVERSIFY_BY_LOOSER_SIMILARITY" : The result list is ordered such that + /// somewhat similar results are pushed to the end of the last page of the + /// search results. This option is recommended if SIMPLE diversification does + /// not diversify enough. core.String? diversificationLevel; /// Controls whether to broaden the search when it produces sparse results. @@ -4706,6 +4726,22 @@ class SearchJobsRequest { /// results. core.String? jobView; + /// Controls what keyword match options to use. + /// + /// If both keyword_match_mode and disable_keyword_match are set, + /// keyword_match_mode will take precedence. Defaults to + /// KeywordMatchMode.KEYWORD_MATCH_ALL if no value is specified. + /// Possible string values are: + /// - "KEYWORD_MATCH_MODE_UNSPECIFIED" : The keyword match option isn't + /// specified. Defaults to KeywordMatchMode.KEYWORD_MATCH_ALL behavior. + /// - "KEYWORD_MATCH_DISABLED" : Disables keyword matching. + /// - "KEYWORD_MATCH_ALL" : Enable keyword matching over Job.title, + /// Job.description, Job.company_display_name, Job.addresses, + /// Job.qualifications, and keyword searchable Job.custom_attributes fields. + /// - "KEYWORD_MATCH_TITLE_ONLY" : Only enable keyword matching over + /// Job.title. + core.String? keywordMatchMode; + /// A limit on the number of jobs returned in the search results. /// /// Increasing this value above the default value of 10 can increase search @@ -4800,6 +4836,7 @@ class SearchJobsRequest { this.histogramQueries, this.jobQuery, this.jobView, + this.keywordMatchMode, this.maxPageSize, this.offset, this.orderBy, @@ -4836,6 +4873,9 @@ class SearchJobsRequest { jobView: _json.containsKey('jobView') ? _json['jobView'] as core.String : null, + keywordMatchMode: _json.containsKey('keywordMatchMode') + ? _json['keywordMatchMode'] as core.String + : null, maxPageSize: _json.containsKey('maxPageSize') ? _json['maxPageSize'] as core.int : null, @@ -4869,6 +4909,7 @@ class SearchJobsRequest { histogramQueries!.map((value) => value.toJson()).toList(), if (jobQuery != null) 'jobQuery': jobQuery!.toJson(), if (jobView != null) 'jobView': jobView!, + if (keywordMatchMode != null) 'keywordMatchMode': keywordMatchMode!, if (maxPageSize != null) 'maxPageSize': maxPageSize!, if (offset != null) 'offset': offset!, if (orderBy != null) 'orderBy': orderBy!, diff --git a/generated/googleapis/lib/language/v1.dart b/generated/googleapis/lib/language/v1.dart index 25233922e..49d59f7b3 100644 --- a/generated/googleapis/lib/language/v1.dart +++ b/generated/googleapis/lib/language/v1.dart @@ -45,7 +45,8 @@ class CloudNaturalLanguageApi { static const cloudLanguageScope = 'https://www.googleapis.com/auth/cloud-language'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/libraryagent/v1.dart b/generated/googleapis/lib/libraryagent/v1.dart index 3f02833f8..db25243eb 100644 --- a/generated/googleapis/lib/libraryagent/v1.dart +++ b/generated/googleapis/lib/libraryagent/v1.dart @@ -37,7 +37,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A simple Google Example Library API. class LibraryagentApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart index 64c3f21dc..d1c6fcc50 100644 --- a/generated/googleapis/lib/logging/v2.dart +++ b/generated/googleapis/lib/logging/v2.dart @@ -89,11 +89,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// common use. For explanations of the concepts found in the table entries, /// read the documentation at https://cloud.google.com/logging/docs. class LoggingApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -160,7 +162,7 @@ class BillingAccountsBucketsResource { BillingAccountsBucketsResource(commons.ApiRequester client) : _requester = client; - /// Gets a bucket. + /// Gets a log bucket. /// /// Request parameters: /// @@ -169,8 +171,7 @@ class BillingAccountsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern `^billingAccounts/\[^/\]+/buckets/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -208,14 +209,14 @@ class BillingAccountsBucketsViewsResource { BillingAccountsBucketsViewsResource(commons.ApiRequester client) : _requester = client; - /// Gets a view. + /// Gets a view on a log bucket.. /// /// Request parameters: /// /// [name] - Required. The resource name of the policy: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^billingAccounts/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -265,8 +266,8 @@ class BillingAccountsExclusionsResource { /// /// [parent] - Required. The parent resource in which to create the exclusion: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-logging-project" "organizations/123456789" /// Value must have pattern `^billingAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -309,8 +310,8 @@ class BillingAccountsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^billingAccounts/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -349,8 +350,8 @@ class BillingAccountsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^billingAccounts/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -443,8 +444,8 @@ class BillingAccountsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^billingAccounts/\[^/\]+/exclusions/\[^/\]+$`. /// /// [updateMask] - Required. A non-empty list of fields to change in the @@ -597,17 +598,17 @@ class BillingAccountsLocationsBucketsResource { BillingAccountsLocationsBucketsResource(commons.ApiRequester client) : _requester = client; - /// Creates a bucket that can be used to store log entries. + /// Creates a log bucket that can be used to store log entries. /// - /// Once a bucket has been created, the region cannot be changed. + /// After a bucket has been created, the bucket's location cannot be changed. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The resource in which to create the bucket: - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" Example: - /// "projects/my-logging-project/locations/global" + /// [parent] - Required. The resource in which to create the log bucket: + /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" For + /// example:"projects/my-project/locations/global" /// Value must have pattern `^billingAccounts/\[^/\]+/locations/\[^/\]+$`. /// /// [bucketId] - Required. A client-assigned identifier such as "my-bucket". @@ -647,10 +648,11 @@ class BillingAccountsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Deletes a bucket. + /// Deletes a log bucket.Changes the bucket's lifecycle_state to the + /// DELETE_REQUESTED state. /// - /// Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket - /// will be purged and all logs in the bucket will be permanently deleted. + /// After 7 days, the bucket will be purged and all log entries in the bucket + /// will be permanently deleted. /// /// Request parameters: /// @@ -659,8 +661,7 @@ class BillingAccountsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -692,7 +693,7 @@ class BillingAccountsLocationsBucketsResource { return Empty.fromJson(_response as core.Map); } - /// Lists buckets. + /// Lists log buckets. /// /// Request parameters: /// @@ -747,14 +748,14 @@ class BillingAccountsLocationsBucketsResource { _response as core.Map); } - /// Updates a bucket. + /// Updates a log bucket. /// /// This method replaces the following fields in the existing bucket with /// values from the new bucket: retention_periodIf the retention period is /// decreased and the bucket is locked, FAILED_PRECONDITION will be - /// returned.If the bucket has a LifecycleState of DELETE_REQUESTED, - /// FAILED_PRECONDITION will be returned.A buckets region may not be modified - /// after it is created. + /// returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then + /// FAILED_PRECONDITION will be returned.After a bucket has been created, the + /// bucket's location cannot be changed. /// /// [request] - The metadata request object. /// @@ -765,19 +766,16 @@ class BillingAccountsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". Also - /// requires permission "resourcemanager.projects.updateLiens" to set the - /// locked property + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [updateMask] - Required. Field mask that specifies the fields in bucket /// that need an update. A bucket field will be overwritten if, and only if, /// it is in the update mask. name and output only fields cannot be - /// updated.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=retention_days. + /// updated.For a detailed FieldMask definition, see: + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=retention_days /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -812,9 +810,9 @@ class BillingAccountsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Undeletes a bucket. + /// Undeletes a log bucket. /// - /// A bucket that has been deleted may be undeleted within the grace period of + /// A bucket that has been deleted can be undeleted within the grace period of /// 7 days. /// /// [request] - The metadata request object. @@ -826,8 +824,7 @@ class BillingAccountsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -869,18 +866,17 @@ class BillingAccountsLocationsBucketsViewsResource { BillingAccountsLocationsBucketsViewsResource(commons.ApiRequester client) : _requester = client; - /// Creates a view over logs in a bucket. + /// Creates a view over log entries in a log bucket. /// - /// A bucket may contain a maximum of 50 views. + /// A bucket may contain a maximum of 30 views. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [parent] - Required. The bucket in which to create the view - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-logging-project/locations/my-location/buckets/my-bucket" + /// `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For + /// example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -919,14 +915,14 @@ class BillingAccountsLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Deletes a view from a bucket. + /// Deletes a view on a log bucket. /// /// Request parameters: /// /// [name] - Required. The full resource name of the view to delete: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -958,7 +954,7 @@ class BillingAccountsLocationsBucketsViewsResource { return Empty.fromJson(_response as core.Map); } - /// Lists views on a bucket. + /// Lists views on a log bucket. /// /// Request parameters: /// @@ -968,7 +964,7 @@ class BillingAccountsLocationsBucketsViewsResource { /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [pageSize] - Optional. The maximum number of results to return from this - /// request. Non-positive values are ignored. The presence of nextPageToken in + /// request.Non-positive values are ignored. The presence of nextPageToken in /// the response indicates that more results might be available. /// /// [pageToken] - Optional. If present, then retrieve the next batch of @@ -1009,7 +1005,7 @@ class BillingAccountsLocationsBucketsViewsResource { _response as core.Map); } - /// Updates a view. + /// Updates a view on a log bucket. /// /// This method replaces the following fields in the existing view with values /// from the new view: filter. @@ -1020,8 +1016,8 @@ class BillingAccountsLocationsBucketsViewsResource { /// /// [name] - Required. The full resource name of the view to update /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -1029,8 +1025,8 @@ class BillingAccountsLocationsBucketsViewsResource { /// need an update. A field will be overwritten if, and only if, it is in the /// update mask. name and output only fields cannot be updated.For a detailed /// FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1361,19 +1357,19 @@ class BillingAccountsSinksResource { /// /// [parent] - Required. The resource in which to create the sink: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-project" "organizations/123456789" /// Value must have pattern `^billingAccounts/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity /// returned as writer_identity in the new sink. If this value is omitted or /// set to false, and if the sink's parent is a project, then the value /// returned as writer_identity is the same group or service account used by - /// Logging before the addition of writer identities to this API. The sink's - /// destination must be in the same project as the sink itself.If this field - /// is set to true, or if the sink is owned by a non-project resource such as - /// an organization, then the value of writer_identity will be a unique - /// service account used only for exports from the new sink. For more + /// Cloud Logging before the addition of writer identities to this API. The + /// sink's destination must be in the same project as the sink itself.If this + /// field is set to true, or if the sink is owned by a non-project resource + /// such as an organization, then the value of writer_identity will be a + /// unique service account used only for exports from the new sink. For more /// information, see writer_identity in LogSink. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1422,8 +1418,8 @@ class BillingAccountsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^billingAccounts/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1462,8 +1458,8 @@ class BillingAccountsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^billingAccounts/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1560,8 +1556,8 @@ class BillingAccountsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^billingAccounts/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -1577,11 +1573,11 @@ class BillingAccountsSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1634,8 +1630,8 @@ class BillingAccountsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^billingAccounts/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -1651,11 +1647,11 @@ class BillingAccountsSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1699,8 +1695,7 @@ class EntriesResource { EntriesResource(commons.ApiRequester client) : _requester = client; - /// Copies a set of log entries from a logging bucket to a Cloud Storage - /// bucket. + /// Copies a set of log entries from a log bucket to a Cloud Storage bucket. /// /// [request] - The metadata request object. /// @@ -1877,8 +1872,8 @@ class ExclusionsResource { /// /// [parent] - Required. The parent resource in which to create the exclusion: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-logging-project" "organizations/123456789" /// Value must have pattern `^\[^/\]+/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1921,8 +1916,8 @@ class ExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^\[^/\]+/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1961,8 +1956,8 @@ class ExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^\[^/\]+/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2055,8 +2050,8 @@ class ExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^\[^/\]+/\[^/\]+/exclusions/\[^/\]+$`. /// /// [updateMask] - Required. A non-empty list of fields to change in the @@ -2130,8 +2125,8 @@ class FoldersExclusionsResource { /// /// [parent] - Required. The parent resource in which to create the exclusion: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-logging-project" "organizations/123456789" /// Value must have pattern `^folders/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2174,8 +2169,8 @@ class FoldersExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^folders/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2214,8 +2209,8 @@ class FoldersExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^folders/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2308,8 +2303,8 @@ class FoldersExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^folders/\[^/\]+/exclusions/\[^/\]+$`. /// /// [updateMask] - Required. A non-empty list of fields to change in the @@ -2461,17 +2456,17 @@ class FoldersLocationsBucketsResource { FoldersLocationsBucketsResource(commons.ApiRequester client) : _requester = client; - /// Creates a bucket that can be used to store log entries. + /// Creates a log bucket that can be used to store log entries. /// - /// Once a bucket has been created, the region cannot be changed. + /// After a bucket has been created, the bucket's location cannot be changed. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The resource in which to create the bucket: - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" Example: - /// "projects/my-logging-project/locations/global" + /// [parent] - Required. The resource in which to create the log bucket: + /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" For + /// example:"projects/my-project/locations/global" /// Value must have pattern `^folders/\[^/\]+/locations/\[^/\]+$`. /// /// [bucketId] - Required. A client-assigned identifier such as "my-bucket". @@ -2511,10 +2506,11 @@ class FoldersLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Deletes a bucket. + /// Deletes a log bucket.Changes the bucket's lifecycle_state to the + /// DELETE_REQUESTED state. /// - /// Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket - /// will be purged and all logs in the bucket will be permanently deleted. + /// After 7 days, the bucket will be purged and all log entries in the bucket + /// will be permanently deleted. /// /// Request parameters: /// @@ -2523,8 +2519,7 @@ class FoldersLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -2556,7 +2551,7 @@ class FoldersLocationsBucketsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a bucket. + /// Gets a log bucket. /// /// Request parameters: /// @@ -2565,8 +2560,7 @@ class FoldersLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -2598,7 +2592,7 @@ class FoldersLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Lists buckets. + /// Lists log buckets. /// /// Request parameters: /// @@ -2653,14 +2647,14 @@ class FoldersLocationsBucketsResource { _response as core.Map); } - /// Updates a bucket. + /// Updates a log bucket. /// /// This method replaces the following fields in the existing bucket with /// values from the new bucket: retention_periodIf the retention period is /// decreased and the bucket is locked, FAILED_PRECONDITION will be - /// returned.If the bucket has a LifecycleState of DELETE_REQUESTED, - /// FAILED_PRECONDITION will be returned.A buckets region may not be modified - /// after it is created. + /// returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then + /// FAILED_PRECONDITION will be returned.After a bucket has been created, the + /// bucket's location cannot be changed. /// /// [request] - The metadata request object. /// @@ -2671,19 +2665,16 @@ class FoldersLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". Also - /// requires permission "resourcemanager.projects.updateLiens" to set the - /// locked property + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [updateMask] - Required. Field mask that specifies the fields in bucket /// that need an update. A bucket field will be overwritten if, and only if, /// it is in the update mask. name and output only fields cannot be - /// updated.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=retention_days. + /// updated.For a detailed FieldMask definition, see: + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=retention_days /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -2718,9 +2709,9 @@ class FoldersLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Undeletes a bucket. + /// Undeletes a log bucket. /// - /// A bucket that has been deleted may be undeleted within the grace period of + /// A bucket that has been deleted can be undeleted within the grace period of /// 7 days. /// /// [request] - The metadata request object. @@ -2732,8 +2723,7 @@ class FoldersLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -2775,18 +2765,17 @@ class FoldersLocationsBucketsViewsResource { FoldersLocationsBucketsViewsResource(commons.ApiRequester client) : _requester = client; - /// Creates a view over logs in a bucket. + /// Creates a view over log entries in a log bucket. /// - /// A bucket may contain a maximum of 50 views. + /// A bucket may contain a maximum of 30 views. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [parent] - Required. The bucket in which to create the view - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-logging-project/locations/my-location/buckets/my-bucket" + /// `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For + /// example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -2825,14 +2814,14 @@ class FoldersLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Deletes a view from a bucket. + /// Deletes a view on a log bucket. /// /// Request parameters: /// /// [name] - Required. The full resource name of the view to delete: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -2864,14 +2853,14 @@ class FoldersLocationsBucketsViewsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a view. + /// Gets a view on a log bucket.. /// /// Request parameters: /// /// [name] - Required. The resource name of the policy: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -2903,7 +2892,7 @@ class FoldersLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Lists views on a bucket. + /// Lists views on a log bucket. /// /// Request parameters: /// @@ -2913,7 +2902,7 @@ class FoldersLocationsBucketsViewsResource { /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [pageSize] - Optional. The maximum number of results to return from this - /// request. Non-positive values are ignored. The presence of nextPageToken in + /// request.Non-positive values are ignored. The presence of nextPageToken in /// the response indicates that more results might be available. /// /// [pageToken] - Optional. If present, then retrieve the next batch of @@ -2954,7 +2943,7 @@ class FoldersLocationsBucketsViewsResource { _response as core.Map); } - /// Updates a view. + /// Updates a view on a log bucket. /// /// This method replaces the following fields in the existing view with values /// from the new view: filter. @@ -2965,8 +2954,8 @@ class FoldersLocationsBucketsViewsResource { /// /// [name] - Required. The full resource name of the view to update /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^folders/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -2974,8 +2963,8 @@ class FoldersLocationsBucketsViewsResource { /// need an update. A field will be overwritten if, and only if, it is in the /// update mask. name and output only fields cannot be updated.For a detailed /// FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3298,19 +3287,19 @@ class FoldersSinksResource { /// /// [parent] - Required. The resource in which to create the sink: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-project" "organizations/123456789" /// Value must have pattern `^folders/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity /// returned as writer_identity in the new sink. If this value is omitted or /// set to false, and if the sink's parent is a project, then the value /// returned as writer_identity is the same group or service account used by - /// Logging before the addition of writer identities to this API. The sink's - /// destination must be in the same project as the sink itself.If this field - /// is set to true, or if the sink is owned by a non-project resource such as - /// an organization, then the value of writer_identity will be a unique - /// service account used only for exports from the new sink. For more + /// Cloud Logging before the addition of writer identities to this API. The + /// sink's destination must be in the same project as the sink itself.If this + /// field is set to true, or if the sink is owned by a non-project resource + /// such as an organization, then the value of writer_identity will be a + /// unique service account used only for exports from the new sink. For more /// information, see writer_identity in LogSink. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -3359,8 +3348,8 @@ class FoldersSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^folders/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -3399,8 +3388,8 @@ class FoldersSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^folders/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -3497,8 +3486,8 @@ class FoldersSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^folders/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -3514,11 +3503,11 @@ class FoldersSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3571,8 +3560,8 @@ class FoldersSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^folders/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -3588,11 +3577,11 @@ class FoldersSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3736,17 +3725,17 @@ class LocationsBucketsResource { LocationsBucketsResource(commons.ApiRequester client) : _requester = client; - /// Creates a bucket that can be used to store log entries. + /// Creates a log bucket that can be used to store log entries. /// - /// Once a bucket has been created, the region cannot be changed. + /// After a bucket has been created, the bucket's location cannot be changed. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The resource in which to create the bucket: - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" Example: - /// "projects/my-logging-project/locations/global" + /// [parent] - Required. The resource in which to create the log bucket: + /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" For + /// example:"projects/my-project/locations/global" /// Value must have pattern `^\[^/\]+/\[^/\]+/locations/\[^/\]+$`. /// /// [bucketId] - Required. A client-assigned identifier such as "my-bucket". @@ -3786,10 +3775,11 @@ class LocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Deletes a bucket. + /// Deletes a log bucket.Changes the bucket's lifecycle_state to the + /// DELETE_REQUESTED state. /// - /// Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket - /// will be purged and all logs in the bucket will be permanently deleted. + /// After 7 days, the bucket will be purged and all log entries in the bucket + /// will be permanently deleted. /// /// Request parameters: /// @@ -3798,8 +3788,7 @@ class LocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -3831,7 +3820,7 @@ class LocationsBucketsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a bucket. + /// Gets a log bucket. /// /// Request parameters: /// @@ -3840,8 +3829,7 @@ class LocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -3873,7 +3861,7 @@ class LocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Lists buckets. + /// Lists log buckets. /// /// Request parameters: /// @@ -3928,14 +3916,14 @@ class LocationsBucketsResource { _response as core.Map); } - /// Updates a bucket. + /// Updates a log bucket. /// /// This method replaces the following fields in the existing bucket with /// values from the new bucket: retention_periodIf the retention period is /// decreased and the bucket is locked, FAILED_PRECONDITION will be - /// returned.If the bucket has a LifecycleState of DELETE_REQUESTED, - /// FAILED_PRECONDITION will be returned.A buckets region may not be modified - /// after it is created. + /// returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then + /// FAILED_PRECONDITION will be returned.After a bucket has been created, the + /// bucket's location cannot be changed. /// /// [request] - The metadata request object. /// @@ -3946,19 +3934,16 @@ class LocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". Also - /// requires permission "resourcemanager.projects.updateLiens" to set the - /// locked property + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [updateMask] - Required. Field mask that specifies the fields in bucket /// that need an update. A bucket field will be overwritten if, and only if, /// it is in the update mask. name and output only fields cannot be - /// updated.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=retention_days. + /// updated.For a detailed FieldMask definition, see: + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=retention_days /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3993,9 +3978,9 @@ class LocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Undeletes a bucket. + /// Undeletes a log bucket. /// - /// A bucket that has been deleted may be undeleted within the grace period of + /// A bucket that has been deleted can be undeleted within the grace period of /// 7 days. /// /// [request] - The metadata request object. @@ -4007,8 +3992,7 @@ class LocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -4050,18 +4034,17 @@ class LocationsBucketsViewsResource { LocationsBucketsViewsResource(commons.ApiRequester client) : _requester = client; - /// Creates a view over logs in a bucket. + /// Creates a view over log entries in a log bucket. /// - /// A bucket may contain a maximum of 50 views. + /// A bucket may contain a maximum of 30 views. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [parent] - Required. The bucket in which to create the view - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-logging-project/locations/my-location/buckets/my-bucket" + /// `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For + /// example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -4100,14 +4083,14 @@ class LocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Deletes a view from a bucket. + /// Deletes a view on a log bucket. /// /// Request parameters: /// /// [name] - Required. The full resource name of the view to delete: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -4139,14 +4122,14 @@ class LocationsBucketsViewsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a view. + /// Gets a view on a log bucket.. /// /// Request parameters: /// /// [name] - Required. The resource name of the policy: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -4178,7 +4161,7 @@ class LocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Lists views on a bucket. + /// Lists views on a log bucket. /// /// Request parameters: /// @@ -4188,7 +4171,7 @@ class LocationsBucketsViewsResource { /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [pageSize] - Optional. The maximum number of results to return from this - /// request. Non-positive values are ignored. The presence of nextPageToken in + /// request.Non-positive values are ignored. The presence of nextPageToken in /// the response indicates that more results might be available. /// /// [pageToken] - Optional. If present, then retrieve the next batch of @@ -4229,7 +4212,7 @@ class LocationsBucketsViewsResource { _response as core.Map); } - /// Updates a view. + /// Updates a view on a log bucket. /// /// This method replaces the following fields in the existing view with values /// from the new view: filter. @@ -4240,8 +4223,8 @@ class LocationsBucketsViewsResource { /// /// [name] - Required. The full resource name of the view to update /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^\[^/\]+/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -4249,8 +4232,8 @@ class LocationsBucketsViewsResource { /// need an update. A field will be overwritten if, and only if, it is in the /// update mask. name and output only fields cannot be updated.For a detailed /// FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -4635,10 +4618,10 @@ class OrganizationsResource { /// "projects/\[PROJECT_ID\]/cmekSettings" /// "organizations/\[ORGANIZATION_ID\]/cmekSettings" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/cmekSettings" - /// "folders/\[FOLDER_ID\]/cmekSettings" Example: - /// "organizations/12345/cmekSettings".Note: CMEK for the Logs Router can - /// currently only be configured for GCP organizations. Once configured, it - /// applies to all projects and folders in the GCP organization. + /// "folders/\[FOLDER_ID\]/cmekSettings" For + /// example:"organizations/12345/cmekSettings"Note: CMEK for the Logs Router + /// can currently only be configured for GCP organizations. Once configured, + /// it applies to all projects and folders in the GCP organization. /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -4690,16 +4673,16 @@ class OrganizationsResource { /// "projects/\[PROJECT_ID\]/cmekSettings" /// "organizations/\[ORGANIZATION_ID\]/cmekSettings" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/cmekSettings" - /// "folders/\[FOLDER_ID\]/cmekSettings" Example: - /// "organizations/12345/cmekSettings".Note: CMEK for the Logs Router can - /// currently only be configured for GCP organizations. Once configured, it - /// applies to all projects and folders in the GCP organization. + /// "folders/\[FOLDER_ID\]/cmekSettings" For + /// example:"organizations/12345/cmekSettings"Note: CMEK for the Logs Router + /// can currently only be configured for GCP organizations. Once configured, + /// it applies to all projects and folders in the GCP organization. /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [updateMask] - Optional. Field mask identifying which fields from /// cmek_settings should be updated. A field will be overwritten if and only /// if it is in the update mask. Output only fields cannot be updated.See - /// FieldMask for more information.Example: "updateMask=kmsKeyName" + /// FieldMask for more information.For example: "updateMask=kmsKeyName" /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -4753,8 +4736,8 @@ class OrganizationsExclusionsResource { /// /// [parent] - Required. The parent resource in which to create the exclusion: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-logging-project" "organizations/123456789" /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -4797,8 +4780,8 @@ class OrganizationsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^organizations/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -4837,8 +4820,8 @@ class OrganizationsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^organizations/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -4931,8 +4914,8 @@ class OrganizationsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^organizations/\[^/\]+/exclusions/\[^/\]+$`. /// /// [updateMask] - Required. A non-empty list of fields to change in the @@ -5085,17 +5068,17 @@ class OrganizationsLocationsBucketsResource { OrganizationsLocationsBucketsResource(commons.ApiRequester client) : _requester = client; - /// Creates a bucket that can be used to store log entries. + /// Creates a log bucket that can be used to store log entries. /// - /// Once a bucket has been created, the region cannot be changed. + /// After a bucket has been created, the bucket's location cannot be changed. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The resource in which to create the bucket: - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" Example: - /// "projects/my-logging-project/locations/global" + /// [parent] - Required. The resource in which to create the log bucket: + /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" For + /// example:"projects/my-project/locations/global" /// Value must have pattern `^organizations/\[^/\]+/locations/\[^/\]+$`. /// /// [bucketId] - Required. A client-assigned identifier such as "my-bucket". @@ -5135,10 +5118,11 @@ class OrganizationsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Deletes a bucket. + /// Deletes a log bucket.Changes the bucket's lifecycle_state to the + /// DELETE_REQUESTED state. /// - /// Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket - /// will be purged and all logs in the bucket will be permanently deleted. + /// After 7 days, the bucket will be purged and all log entries in the bucket + /// will be permanently deleted. /// /// Request parameters: /// @@ -5147,8 +5131,7 @@ class OrganizationsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -5180,7 +5163,7 @@ class OrganizationsLocationsBucketsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a bucket. + /// Gets a log bucket. /// /// Request parameters: /// @@ -5189,8 +5172,7 @@ class OrganizationsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -5222,7 +5204,7 @@ class OrganizationsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Lists buckets. + /// Lists log buckets. /// /// Request parameters: /// @@ -5277,14 +5259,14 @@ class OrganizationsLocationsBucketsResource { _response as core.Map); } - /// Updates a bucket. + /// Updates a log bucket. /// /// This method replaces the following fields in the existing bucket with /// values from the new bucket: retention_periodIf the retention period is /// decreased and the bucket is locked, FAILED_PRECONDITION will be - /// returned.If the bucket has a LifecycleState of DELETE_REQUESTED, - /// FAILED_PRECONDITION will be returned.A buckets region may not be modified - /// after it is created. + /// returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then + /// FAILED_PRECONDITION will be returned.After a bucket has been created, the + /// bucket's location cannot be changed. /// /// [request] - The metadata request object. /// @@ -5295,19 +5277,16 @@ class OrganizationsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". Also - /// requires permission "resourcemanager.projects.updateLiens" to set the - /// locked property + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [updateMask] - Required. Field mask that specifies the fields in bucket /// that need an update. A bucket field will be overwritten if, and only if, /// it is in the update mask. name and output only fields cannot be - /// updated.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=retention_days. + /// updated.For a detailed FieldMask definition, see: + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=retention_days /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -5342,9 +5321,9 @@ class OrganizationsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Undeletes a bucket. + /// Undeletes a log bucket. /// - /// A bucket that has been deleted may be undeleted within the grace period of + /// A bucket that has been deleted can be undeleted within the grace period of /// 7 days. /// /// [request] - The metadata request object. @@ -5356,8 +5335,7 @@ class OrganizationsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -5399,18 +5377,17 @@ class OrganizationsLocationsBucketsViewsResource { OrganizationsLocationsBucketsViewsResource(commons.ApiRequester client) : _requester = client; - /// Creates a view over logs in a bucket. + /// Creates a view over log entries in a log bucket. /// - /// A bucket may contain a maximum of 50 views. + /// A bucket may contain a maximum of 30 views. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [parent] - Required. The bucket in which to create the view - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-logging-project/locations/my-location/buckets/my-bucket" + /// `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For + /// example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -5449,14 +5426,14 @@ class OrganizationsLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Deletes a view from a bucket. + /// Deletes a view on a log bucket. /// /// Request parameters: /// /// [name] - Required. The full resource name of the view to delete: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -5488,14 +5465,14 @@ class OrganizationsLocationsBucketsViewsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a view. + /// Gets a view on a log bucket.. /// /// Request parameters: /// /// [name] - Required. The resource name of the policy: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -5527,7 +5504,7 @@ class OrganizationsLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Lists views on a bucket. + /// Lists views on a log bucket. /// /// Request parameters: /// @@ -5537,7 +5514,7 @@ class OrganizationsLocationsBucketsViewsResource { /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [pageSize] - Optional. The maximum number of results to return from this - /// request. Non-positive values are ignored. The presence of nextPageToken in + /// request.Non-positive values are ignored. The presence of nextPageToken in /// the response indicates that more results might be available. /// /// [pageToken] - Optional. If present, then retrieve the next batch of @@ -5578,7 +5555,7 @@ class OrganizationsLocationsBucketsViewsResource { _response as core.Map); } - /// Updates a view. + /// Updates a view on a log bucket. /// /// This method replaces the following fields in the existing view with values /// from the new view: filter. @@ -5589,8 +5566,8 @@ class OrganizationsLocationsBucketsViewsResource { /// /// [name] - Required. The full resource name of the view to update /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^organizations/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -5598,8 +5575,8 @@ class OrganizationsLocationsBucketsViewsResource { /// need an update. A field will be overwritten if, and only if, it is in the /// update mask. name and output only fields cannot be updated.For a detailed /// FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -5922,19 +5899,19 @@ class OrganizationsSinksResource { /// /// [parent] - Required. The resource in which to create the sink: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-project" "organizations/123456789" /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity /// returned as writer_identity in the new sink. If this value is omitted or /// set to false, and if the sink's parent is a project, then the value /// returned as writer_identity is the same group or service account used by - /// Logging before the addition of writer identities to this API. The sink's - /// destination must be in the same project as the sink itself.If this field - /// is set to true, or if the sink is owned by a non-project resource such as - /// an organization, then the value of writer_identity will be a unique - /// service account used only for exports from the new sink. For more + /// Cloud Logging before the addition of writer identities to this API. The + /// sink's destination must be in the same project as the sink itself.If this + /// field is set to true, or if the sink is owned by a non-project resource + /// such as an organization, then the value of writer_identity will be a + /// unique service account used only for exports from the new sink. For more /// information, see writer_identity in LogSink. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -5983,8 +5960,8 @@ class OrganizationsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^organizations/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -6023,8 +6000,8 @@ class OrganizationsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^organizations/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -6121,8 +6098,8 @@ class OrganizationsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^organizations/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -6138,11 +6115,11 @@ class OrganizationsSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -6195,8 +6172,8 @@ class OrganizationsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^organizations/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -6212,11 +6189,11 @@ class OrganizationsSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -6285,8 +6262,8 @@ class ProjectsExclusionsResource { /// /// [parent] - Required. The parent resource in which to create the exclusion: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-logging-project" "organizations/123456789" /// Value must have pattern `^projects/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -6329,8 +6306,8 @@ class ProjectsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^projects/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -6369,8 +6346,8 @@ class ProjectsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^projects/\[^/\]+/exclusions/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -6463,8 +6440,8 @@ class ProjectsExclusionsResource { /// "projects/\[PROJECT_ID\]/exclusions/\[EXCLUSION_ID\]" /// "organizations/\[ORGANIZATION_ID\]/exclusions/\[EXCLUSION_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/exclusions/\[EXCLUSION_ID\]" - /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" Example: - /// "projects/my-project-id/exclusions/my-exclusion-id". + /// "folders/\[FOLDER_ID\]/exclusions/\[EXCLUSION_ID\]" For + /// example:"projects/my-project/exclusions/my-exclusion" /// Value must have pattern `^projects/\[^/\]+/exclusions/\[^/\]+$`. /// /// [updateMask] - Required. A non-empty list of fields to change in the @@ -6616,17 +6593,17 @@ class ProjectsLocationsBucketsResource { ProjectsLocationsBucketsResource(commons.ApiRequester client) : _requester = client; - /// Creates a bucket that can be used to store log entries. + /// Creates a log bucket that can be used to store log entries. /// - /// Once a bucket has been created, the region cannot be changed. + /// After a bucket has been created, the bucket's location cannot be changed. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The resource in which to create the bucket: - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" Example: - /// "projects/my-logging-project/locations/global" + /// [parent] - Required. The resource in which to create the log bucket: + /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]" For + /// example:"projects/my-project/locations/global" /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [bucketId] - Required. A client-assigned identifier such as "my-bucket". @@ -6666,10 +6643,11 @@ class ProjectsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Deletes a bucket. + /// Deletes a log bucket.Changes the bucket's lifecycle_state to the + /// DELETE_REQUESTED state. /// - /// Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket - /// will be purged and all logs in the bucket will be permanently deleted. + /// After 7 days, the bucket will be purged and all log entries in the bucket + /// will be permanently deleted. /// /// Request parameters: /// @@ -6678,8 +6656,7 @@ class ProjectsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -6711,7 +6688,7 @@ class ProjectsLocationsBucketsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a bucket. + /// Gets a log bucket. /// /// Request parameters: /// @@ -6720,8 +6697,7 @@ class ProjectsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -6753,7 +6729,7 @@ class ProjectsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Lists buckets. + /// Lists log buckets. /// /// Request parameters: /// @@ -6808,14 +6784,14 @@ class ProjectsLocationsBucketsResource { _response as core.Map); } - /// Updates a bucket. + /// Updates a log bucket. /// /// This method replaces the following fields in the existing bucket with /// values from the new bucket: retention_periodIf the retention period is /// decreased and the bucket is locked, FAILED_PRECONDITION will be - /// returned.If the bucket has a LifecycleState of DELETE_REQUESTED, - /// FAILED_PRECONDITION will be returned.A buckets region may not be modified - /// after it is created. + /// returned.If the bucket has a lifecycle_state of DELETE_REQUESTED, then + /// FAILED_PRECONDITION will be returned.After a bucket has been created, the + /// bucket's location cannot be changed. /// /// [request] - The metadata request object. /// @@ -6826,19 +6802,16 @@ class ProjectsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". Also - /// requires permission "resourcemanager.projects.updateLiens" to set the - /// locked property + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [updateMask] - Required. Field mask that specifies the fields in bucket /// that need an update. A bucket field will be overwritten if, and only if, /// it is in the update mask. name and output only fields cannot be - /// updated.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=retention_days. + /// updated.For a detailed FieldMask definition, see: + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=retention_days /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -6873,9 +6846,9 @@ class ProjectsLocationsBucketsResource { return LogBucket.fromJson(_response as core.Map); } - /// Undeletes a bucket. + /// Undeletes a log bucket. /// - /// A bucket that has been deleted may be undeleted within the grace period of + /// A bucket that has been deleted can be undeleted within the grace period of /// 7 days. /// /// [request] - The metadata request object. @@ -6887,8 +6860,7 @@ class ProjectsLocationsBucketsResource { /// "organizations/\[ORGANIZATION_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" /// "folders/\[FOLDER_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id". + /// For example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -6930,18 +6902,17 @@ class ProjectsLocationsBucketsViewsResource { ProjectsLocationsBucketsViewsResource(commons.ApiRequester client) : _requester = client; - /// Creates a view over logs in a bucket. + /// Creates a view over log entries in a log bucket. /// - /// A bucket may contain a maximum of 50 views. + /// A bucket may contain a maximum of 30 views. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [parent] - Required. The bucket in which to create the view - /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]" - /// Example: - /// "projects/my-logging-project/locations/my-location/buckets/my-bucket" + /// `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For + /// example:"projects/my-project/locations/global/buckets/my-bucket" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// @@ -6980,14 +6951,14 @@ class ProjectsLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Deletes a view from a bucket. + /// Deletes a view on a log bucket. /// /// Request parameters: /// /// [name] - Required. The full resource name of the view to delete: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -7019,14 +6990,14 @@ class ProjectsLocationsBucketsViewsResource { return Empty.fromJson(_response as core.Map); } - /// Gets a view. + /// Gets a view on a log bucket.. /// /// Request parameters: /// /// [name] - Required. The resource name of the policy: /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -7058,7 +7029,7 @@ class ProjectsLocationsBucketsViewsResource { return LogView.fromJson(_response as core.Map); } - /// Lists views on a bucket. + /// Lists views on a log bucket. /// /// Request parameters: /// @@ -7068,7 +7039,7 @@ class ProjectsLocationsBucketsViewsResource { /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+$`. /// /// [pageSize] - Optional. The maximum number of results to return from this - /// request. Non-positive values are ignored. The presence of nextPageToken in + /// request.Non-positive values are ignored. The presence of nextPageToken in /// the response indicates that more results might be available. /// /// [pageToken] - Optional. If present, then retrieve the next batch of @@ -7109,7 +7080,7 @@ class ProjectsLocationsBucketsViewsResource { _response as core.Map); } - /// Updates a view. + /// Updates a view on a log bucket. /// /// This method replaces the following fields in the existing view with values /// from the new view: filter. @@ -7120,8 +7091,8 @@ class ProjectsLocationsBucketsViewsResource { /// /// [name] - Required. The full resource name of the view to update /// "projects/\[PROJECT_ID\]/locations/\[LOCATION_ID\]/buckets/\[BUCKET_ID\]/views/\[VIEW_ID\]" - /// Example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". + /// For + /// example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/buckets/\[^/\]+/views/\[^/\]+$`. /// @@ -7129,8 +7100,8 @@ class ProjectsLocationsBucketsViewsResource { /// need an update. A field will be overwritten if, and only if, it is in the /// update mask. name and output only fields cannot be updated.For a detailed /// FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -7667,19 +7638,19 @@ class ProjectsSinksResource { /// /// [parent] - Required. The resource in which to create the sink: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-project" "organizations/123456789" /// Value must have pattern `^projects/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity /// returned as writer_identity in the new sink. If this value is omitted or /// set to false, and if the sink's parent is a project, then the value /// returned as writer_identity is the same group or service account used by - /// Logging before the addition of writer identities to this API. The sink's - /// destination must be in the same project as the sink itself.If this field - /// is set to true, or if the sink is owned by a non-project resource such as - /// an organization, then the value of writer_identity will be a unique - /// service account used only for exports from the new sink. For more + /// Cloud Logging before the addition of writer identities to this API. The + /// sink's destination must be in the same project as the sink itself.If this + /// field is set to true, or if the sink is owned by a non-project resource + /// such as an organization, then the value of writer_identity will be a + /// unique service account used only for exports from the new sink. For more /// information, see writer_identity in LogSink. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -7728,8 +7699,8 @@ class ProjectsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^projects/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -7768,8 +7739,8 @@ class ProjectsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^projects/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -7866,8 +7837,8 @@ class ProjectsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^projects/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -7883,11 +7854,11 @@ class ProjectsSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -7940,8 +7911,8 @@ class ProjectsSinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^projects/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -7957,11 +7928,11 @@ class ProjectsSinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -8017,19 +7988,19 @@ class SinksResource { /// /// [parent] - Required. The resource in which to create the sink: /// "projects/\[PROJECT_ID\]" "organizations/\[ORGANIZATION_ID\]" - /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" Examples: - /// "projects/my-logging-project", "organizations/123456789". + /// "billingAccounts/\[BILLING_ACCOUNT_ID\]" "folders/\[FOLDER_ID\]" For + /// examples:"projects/my-project" "organizations/123456789" /// Value must have pattern `^\[^/\]+/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity /// returned as writer_identity in the new sink. If this value is omitted or /// set to false, and if the sink's parent is a project, then the value /// returned as writer_identity is the same group or service account used by - /// Logging before the addition of writer identities to this API. The sink's - /// destination must be in the same project as the sink itself.If this field - /// is set to true, or if the sink is owned by a non-project resource such as - /// an organization, then the value of writer_identity will be a unique - /// service account used only for exports from the new sink. For more + /// Cloud Logging before the addition of writer identities to this API. The + /// sink's destination must be in the same project as the sink itself.If this + /// field is set to true, or if the sink is owned by a non-project resource + /// such as an organization, then the value of writer_identity will be a + /// unique service account used only for exports from the new sink. For more /// information, see writer_identity in LogSink. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -8078,8 +8049,8 @@ class SinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^\[^/\]+/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -8118,8 +8089,8 @@ class SinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^\[^/\]+/\[^/\]+/sinks/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -8216,8 +8187,8 @@ class SinksResource { /// "projects/\[PROJECT_ID\]/sinks/\[SINK_ID\]" /// "organizations/\[ORGANIZATION_ID\]/sinks/\[SINK_ID\]" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/sinks/\[SINK_ID\]" - /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" Example: - /// "projects/my-project-id/sinks/my-sink-id". + /// "folders/\[FOLDER_ID\]/sinks/\[SINK_ID\]" For + /// example:"projects/my-project/sinks/my-sink" /// Value must have pattern `^\[^/\]+/\[^/\]+/sinks/\[^/\]+$`. /// /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of @@ -8233,11 +8204,11 @@ class SinksResource { /// need an update. A sink field will be overwritten if, and only if, it is in /// the update mask. name and output only fields cannot be updated.An empty /// updateMask is temporarily treated as using the following mask for - /// backwards compatibility purposes: destination,filter,includeChildren At - /// some point in the future, behavior will be removed and specifying an empty + /// backwards compatibility purposes:destination,filter,includeChildrenAt some + /// point in the future, behavior will be removed and specifying an empty /// updateMask will be an error.For a detailed FieldMask definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: - /// updateMask=filter. + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor + /// example: updateMask=filter /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -8295,10 +8266,10 @@ class V2Resource { /// "projects/\[PROJECT_ID\]/cmekSettings" /// "organizations/\[ORGANIZATION_ID\]/cmekSettings" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/cmekSettings" - /// "folders/\[FOLDER_ID\]/cmekSettings" Example: - /// "organizations/12345/cmekSettings".Note: CMEK for the Logs Router can - /// currently only be configured for GCP organizations. Once configured, it - /// applies to all projects and folders in the GCP organization. + /// "folders/\[FOLDER_ID\]/cmekSettings" For + /// example:"organizations/12345/cmekSettings"Note: CMEK for the Logs Router + /// can currently only be configured for GCP organizations. Once configured, + /// it applies to all projects and folders in the GCP organization. /// Value must have pattern `^\[^/\]+/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -8350,16 +8321,16 @@ class V2Resource { /// "projects/\[PROJECT_ID\]/cmekSettings" /// "organizations/\[ORGANIZATION_ID\]/cmekSettings" /// "billingAccounts/\[BILLING_ACCOUNT_ID\]/cmekSettings" - /// "folders/\[FOLDER_ID\]/cmekSettings" Example: - /// "organizations/12345/cmekSettings".Note: CMEK for the Logs Router can - /// currently only be configured for GCP organizations. Once configured, it - /// applies to all projects and folders in the GCP organization. + /// "folders/\[FOLDER_ID\]/cmekSettings" For + /// example:"organizations/12345/cmekSettings"Note: CMEK for the Logs Router + /// can currently only be configured for GCP organizations. Once configured, + /// it applies to all projects and folders in the GCP organization. /// Value must have pattern `^\[^/\]+/\[^/\]+$`. /// /// [updateMask] - Optional. Field mask identifying which fields from /// cmek_settings should be updated. A field will be overwritten if and only /// if it is in the update mask. Output only fields cannot be updated.See - /// FieldMask for more information.Example: "updateMask=kmsKeyName" + /// FieldMask for more information.For example: "updateMask=kmsKeyName" /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -8401,7 +8372,7 @@ class BigQueryOptions { /// Whether to use BigQuery's partition tables /// (https://cloud.google.com/bigquery/docs/partitioned-tables). /// - /// By default, Logging creates dated tables based on the log entries' + /// By default, Cloud Logging creates dated tables based on the log entries' /// timestamps, e.g. syslog_20170523. With partitioned tables the date suffix /// is no longer present and special query syntax /// (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has @@ -8412,12 +8383,12 @@ class BigQueryOptions { core.bool? usePartitionedTables; /// True if new timestamp column based partitioning is in use, false if legacy - /// ingestion-time partitioning is in use. + /// ingestion-time partitioning is in use.All new sinks will have this field + /// set true and will use timestamp column based partitioning. /// - /// All new sinks will have this field set true and will use timestamp column - /// based partitioning. If use_partitioned_tables is false, this value has no - /// meaning and will be false. Legacy sinks using partitioned tables will have - /// this field set to false. + /// If use_partitioned_tables is false, this value has no meaning and will be + /// false. Legacy sinks using partitioned tables will have this field set to + /// false. /// /// Output only. core.bool? usesTimestampColumnPartitioning; @@ -8524,9 +8495,9 @@ class CancelOperationRequest { /// information. class CmekSettings { /// The resource name for the configured Cloud KMS key.KMS key name format: - /// "projects/PROJECT_ID/locations/LOCATION/keyRings/KEYRING/cryptoKeys/KEY"For - /// example: - /// "projects/my-project-id/locations/my-region/keyRings/key-ring-name/cryptoKeys/key-name"To + /// "projects/\[PROJECT_ID\]/locations/\[LOCATION\]/keyRings/\[KEYRING\]/cryptoKeys/\[KEY\]" + /// For + /// example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To /// enable CMEK for the Logs Router, set this field to a valid kms_key_name /// for which the associated service account has the required /// roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The @@ -8614,10 +8585,8 @@ class CopyLogEntriesMetadata { core.String? state; /// The IAM identity of a service account that must be granted access to the - /// destination. - /// - /// If the service account is not granted permission to the destination within - /// an hour, the operation will be cancelled. Example: + /// destination.If the service account is not granted permission to the + /// destination within an hour, the operation will be cancelled.For example: /// "serviceAccount:foo@bar.com" core.String? writerIdentity; @@ -8670,7 +8639,7 @@ class CopyLogEntriesMetadata { /// The parameters to CopyLogEntries. class CopyLogEntriesRequest { - /// Destination to which to copy logs. + /// Destination to which to copy log entries. /// /// Required. core.String? destination; @@ -8683,9 +8652,8 @@ class CopyLogEntriesRequest { /// Optional. core.String? filter; - /// Bucket from which to copy logs. - /// - /// e.g. "projects/my-project/locations/my-location/buckets/my-source-bucket + /// Log bucket from which to copy log entries.For + /// example:"projects/my-project/locations/global/buckets/my-source-bucket" /// /// Required. core.String? name; @@ -9633,7 +9601,7 @@ class Location { }; } -/// Describes a repository of logs. +/// Describes a repository in which log entries are stored. class LogBucket { /// The creation timestamp of the bucket. /// @@ -9656,30 +9624,29 @@ class LogBucket { /// user. core.String? lifecycleState; - /// Whether the bucket has been locked. + /// Whether the bucket is locked.The retention period on a locked bucket + /// cannot be changed. /// - /// The retention period on a locked bucket may not be changed. Locked buckets - /// may only be deleted if they are empty. + /// Locked buckets may only be deleted if they are empty. core.bool? locked; - /// The resource name of the bucket. - /// - /// For example: - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id" The - /// supported locations are: global, us-central1, us-east1, us-west1, - /// asia-east1, europe-west1.For the location of global it is unspecified - /// where logs are actually stored. Once a bucket has been created, the - /// location can not be changed. + /// The resource name of the bucket.For + /// example:projects/my-project/locations/global/buckets/my-bucketFor a list + /// of supported locations, see Supported Regions + /// (https://cloud.google.com/logging/docs/region-support)For the location of + /// global it is unspecified where log entries are actually stored.After a + /// bucket has been created, the location cannot be changed. /// /// Output only. core.String? name; - /// Log entry field paths that are denied access in this bucket. + /// Log entry field paths that are denied access in this bucket.The following + /// fields and their children are eligible: textPayload, jsonPayload, + /// protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated + /// field will restrict all values. /// - /// The following fields and their children are eligible: textPayload, - /// jsonPayload, protoPayload, httpRequest, labels, sourceLocation. - /// Restricting a repeated field will restrict all values. Adding a parent - /// will block all child fields e.g. foo.bar will block foo.bar.baz. + /// Adding a parent will block all child fields. (e.g. foo.bar will block + /// foo.bar.baz) core.List? restrictedFields; /// Logs will be retained by default for this amount of time, after which they @@ -10140,11 +10107,11 @@ class LogEntrySourceLocation { }; } -/// Specifies a set of log entries that are not to be stored in Logging. +/// Specifies a set of log entries that are not to be stored in Cloud Logging. /// -/// If your GCP resource receives a large volume of logs, you can use exclusions -/// to reduce your chargeable logs. Exclusions are processed after log sinks, so -/// you can export log entries before they are excluded. Note that +/// If your GCP resource receives a large volume of log entries, you can use +/// exclusions to reduce your chargeable logs. Exclusions are processed after +/// log sinks, so you can export log entries before they are excluded. Note that /// organization-level and folder-level exclusions don't apply to child /// resources, and that you can't exclude audit log entries. class LogExclusion { @@ -10173,10 +10140,10 @@ class LogExclusion { /// /// By using the sample function /// (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you - /// can exclude less than 100% of the matching log entries. For example, the + /// can exclude less than 100% of the matching log entries.For example, the /// following query matches 99% of low-severity log entries from Google Cloud - /// Storage buckets:"resource.type=gcs_bucket severity? exclusions; @@ -10551,8 +10516,9 @@ class LogSink { /// (https://cloud.google.com/logging/docs/view/advanced-queries). /// /// The only exported log entries are those that are in the resource owning - /// the sink and that match the filter. For example: - /// logName="projects/\[PROJECT_ID\]/logs/\[LOG_ID\]" AND severity>=ERROR + /// the sink and that match the filter.For + /// example:logName="projects/\[PROJECT_ID\]/logs/\[LOG_ID\]" AND + /// severity>=ERROR /// /// Optional. core.String? filter; @@ -10560,26 +10526,26 @@ class LogSink { /// This field applies only to sinks owned by organizations and folders. /// /// If the field is false, the default, only the logs owned by the sink's - /// parent resource are available for export. If the field is true, then logs - /// from all the projects, folders, and billing accounts contained in the - /// sink's parent resource are also available for export. Whether a particular - /// log entry from the children is exported depends on the sink's filter - /// expression. For example, if this field is true, then the filter + /// parent resource are available for export. If the field is true, then log + /// entries from all the projects, folders, and billing accounts contained in + /// the sink's parent resource are also available for export. Whether a + /// particular log entry from the children is exported depends on the sink's + /// filter expression.For example, if this field is true, then the filter /// resource.type=gce_instance would export all Compute Engine VM instance log - /// entries from all projects in the sink's parent. To only export entries - /// from certain child projects, filter on the project part of the log name: - /// logName:("projects/test-project1/" OR "projects/test-project2/") AND + /// entries from all projects in the sink's parent.To only export entries from + /// certain child projects, filter on the project part of the log + /// name:logName:("projects/test-project1/" OR "projects/test-project2/") AND /// resource.type=gce_instance /// /// Optional. core.bool? includeChildren; - /// The client-assigned sink identifier, unique within the project. + /// The client-assigned sink identifier, unique within the project.For + /// example: "my-syslog-errors-to-pubsub". /// - /// Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 - /// characters and can include only the following characters: upper and - /// lower-case alphanumeric characters, underscores, hyphens, and periods. - /// First character has to be alphanumeric. + /// Sink identifiers are limited to 100 characters and can include only the + /// following characters: upper and lower-case alphanumeric characters, + /// underscores, hyphens, and periods. First character has to be alphanumeric. /// /// Required. core.String? name; @@ -10600,8 +10566,8 @@ class LogSink { /// Output only. core.String? updateTime; - /// An IAM identity—a service account or group—under which Logging writes the - /// exported log entries to the sink's destination. + /// An IAM identity—a service account or group—under which Cloud Logging + /// writes the exported log entries to the sink's destination. /// /// This field is set by sinks.create and sinks.update based on the value of /// unique_writer_identity in those methods.Until you grant this identity @@ -10690,7 +10656,7 @@ class LogSink { }; } -/// Describes a view over logs in a bucket. +/// Describes a view over log entries in a bucket. class LogView { /// The creation timestamp of the view. /// @@ -10701,20 +10667,22 @@ class LogView { core.String? description; /// Filter that restricts which log entries in a bucket are visible in this - /// view. - /// - /// Filters are restricted to be a logical AND of ==/!= of any of the + /// view.Filters are restricted to be a logical AND of ==/!= of any of the /// following: originating project/folder/organization/billing account. - /// resource type log id Example: SOURCE("projects/myproject") AND + /// + /// resource type log idFor example:SOURCE("projects/myproject") AND /// resource.type = "gce_instance" AND LOG_ID("stdout") core.String? filter; - /// The resource name of the view. - /// - /// For example - /// "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view + /// The resource name of the view.For + /// example:projects/my-project/locations/global/buckets/my-bucket/views/my-view core.String? name; + /// Describes the schema of the logs stored in the bucket that are accessible + /// via this view.This field is only populated for views in analytics-enabled + /// buckets. + TableSchema? schema; + /// The last update timestamp of the view. /// /// Output only. @@ -10725,6 +10693,7 @@ class LogView { this.description, this.filter, this.name, + this.schema, this.updateTime, }); @@ -10740,6 +10709,10 @@ class LogView { ? _json['filter'] as core.String : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, + schema: _json.containsKey('schema') + ? TableSchema.fromJson( + _json['schema'] as core.Map) + : null, updateTime: _json.containsKey('updateTime') ? _json['updateTime'] as core.String : null, @@ -10750,6 +10723,7 @@ class LogView { if (description != null) 'description': description!, if (filter != null) 'filter': filter!, if (name != null) 'name': name!, + if (schema != null) 'schema': schema!.toJson(), if (updateTime != null) 'updateTime': updateTime!, }; } @@ -11204,7 +11178,9 @@ class MonitoredResourceDescriptor { /// The monitored resource type. /// /// For example, the type "cloudsql_database" represents databases in Google - /// Cloud SQL. + /// Cloud SQL. For a list of types, see Monitoring resource types + /// (https://cloud.google.com/monitoring/api/resources) and Logging resource + /// types (https://cloud.google.com/logging/docs/api/v2/resource-list). /// /// Required. core.String? type; @@ -11877,6 +11853,103 @@ class SuppressionInfo { }; } +/// A field in TableSchema. +/// +/// The fields describe the static fields in the LogEntry. Any dynamic fields +/// generated by the customer in fields like labels and jsonPayload are not +/// listed in the schema as they use a native JSON type field. +class TableFieldSchema { + /// The field description. + /// + /// Optional. + core.String? description; + + /// Describes the nested schema fields if the type property is set to RECORD. + /// + /// Optional. + core.List? fields; + + /// The field mode. + /// + /// Possible values include NULLABLE, REQUIRED and REPEATED. The default value + /// is NULLABLE. + /// + /// Optional. + core.String? mode; + + /// The field name corresponding to fields in the LogEntry. + /// + /// Required. + core.String? name; + + /// The field data type. + /// + /// Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) + /// BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT + /// indicates that the field contains a nested schema. + /// + /// Required. + core.String? type; + + TableFieldSchema({ + this.description, + this.fields, + this.mode, + this.name, + this.type, + }); + + TableFieldSchema.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + fields: _json.containsKey('fields') + ? (_json['fields'] as core.List) + .map((value) => TableFieldSchema.fromJson( + value as core.Map)) + .toList() + : null, + mode: _json.containsKey('mode') ? _json['mode'] as core.String : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (fields != null) + 'fields': fields!.map((value) => value.toJson()).toList(), + if (mode != null) 'mode': mode!, + if (name != null) 'name': name!, + if (type != null) 'type': type!, + }; +} + +/// Schema of a table containing logs. +class TableSchema { + /// Describes the fields in a table. + core.List? fields; + + TableSchema({ + this.fields, + }); + + TableSchema.fromJson(core.Map _json) + : this( + fields: _json.containsKey('fields') + ? (_json['fields'] as core.List) + .map((value) => TableFieldSchema.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (fields != null) + 'fields': fields!.map((value) => value.toJson()).toList(), + }; +} + /// The parameters to TailLogEntries. class TailLogEntriesRequest { /// The amount of time to buffer log entries at the server before being diff --git a/generated/googleapis/lib/managedidentities/v1.dart b/generated/googleapis/lib/managedidentities/v1.dart index 2baee9f70..6000dca03 100644 --- a/generated/googleapis/lib/managedidentities/v1.dart +++ b/generated/googleapis/lib/managedidentities/v1.dart @@ -29,6 +29,7 @@ /// - [ProjectsLocationsGlobalDomainsResource] /// - [ProjectsLocationsGlobalDomainsSqlIntegrationsResource] /// - [ProjectsLocationsGlobalOperationsResource] +/// - [ProjectsLocationsGlobalPeeringsResource] library managedidentities.v1; import 'dart:async' as async; @@ -47,7 +48,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// a highly available, hardened service running Microsoft Active Directory /// (AD). class ManagedServiceForMicrosoftActiveDirectoryConsumerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -174,6 +176,8 @@ class ProjectsLocationsGlobalResource { ProjectsLocationsGlobalDomainsResource(_requester); ProjectsLocationsGlobalOperationsResource get operations => ProjectsLocationsGlobalOperationsResource(_requester); + ProjectsLocationsGlobalPeeringsResource get peerings => + ProjectsLocationsGlobalPeeringsResource(_requester); ProjectsLocationsGlobalResource(commons.ApiRequester client) : _requester = client; @@ -245,10 +249,9 @@ class ProjectsLocationsGlobalDomainsResource { /// mydomain.myorganization.com, with the following restrictions: * Must /// contain only lowercase letters, numbers, periods and hyphens. * Must start /// with a letter. * Must contain between 2-64 characters. * Must end with a - /// number or a letter. * Must not start with period. * First segement length - /// (mydomain form example above) shouldn't exceed 15 chars. * The last - /// segment cannot be fully numeric. * Must be unique within the customer - /// project. + /// number or a letter. * Must not start with period. * First segment length + /// (mydomain for example above) shouldn't exceed 15 chars. * The last segment + /// cannot be fully numeric. * Must be unique within the customer project. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1175,6 +1178,390 @@ class ProjectsLocationsGlobalOperationsResource { } } +class ProjectsLocationsGlobalPeeringsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsGlobalPeeringsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a Peering for Managed AD instance. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource project name and location using the form: + /// `projects/{project_id}/locations/global` + /// Value must have pattern `^projects/\[^/\]+/locations/global$`. + /// + /// [peeringId] - Required. Peering Id, unique name to identify peering. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + Peering request, + core.String parent, { + core.String? peeringId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (peeringId != null) 'peeringId': [peeringId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/peerings'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Deletes identified Peering. + /// + /// Request parameters: + /// + /// [name] - Required. Peering resource name using the form: + /// `projects/{project_id}/locations/global/peerings/{peering_id}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/peerings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Gets details of a single Peering. + /// + /// Request parameters: + /// + /// [name] - Required. Peering resource name using the form: + /// `projects/{project_id}/locations/global/peerings/{peering_id}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/peerings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Peering]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Peering.fromJson(_response as core.Map); + } + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/peerings/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Lists Peerings in a given project. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the peering location using the + /// form: `projects/{project_id}/locations/global` + /// Value must have pattern `^projects/\[^/\]+/locations/global$`. + /// + /// [filter] - Optional. Filter specifying constraints of a list operation. + /// For example, + /// `peering.authorized_network="projects/myprojectid/global/networks/mynetwork"`. + /// + /// [orderBy] - Optional. Specifies the ordering of results following syntax + /// at https://cloud.google.com/apis/design/design_patterns#sorting_order. + /// + /// [pageSize] - Optional. The maximum number of items to return. If not + /// specified, a default value of 1000 will be used by the service. Regardless + /// of the page_size value, the response may include a partial list and a + /// caller should only rely on response's next_page_token to determine if + /// there are more instances left to be queried. + /// + /// [pageToken] - Optional. The next_page_token value returned from a previous + /// List request, if any. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListPeeringsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/peerings'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListPeeringsResponse.fromJson( + _response as core.Map); + } + + /// Updates the labels for specified Peering. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Unique name of the peering in this scope including + /// projects and location using the form: + /// `projects/{project_id}/locations/global/peerings/{peering_id}`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/peerings/\[^/\]+$`. + /// + /// [updateMask] - Required. Mask of fields to update. At least one path must + /// be supplied in this field. The elements of the repeated paths field may + /// only include these fields from Peering: * `labels` + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + Peering request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/peerings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/peerings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + /// Request message for AttachTrust class AttachTrustRequest { /// The domain trust resource. @@ -2406,15 +2793,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings { /// information in SloMetadata for custom precomputations. SSA Eligibility /// Exporter will emit per-node metric based on this information. class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { - /// By default node is eligible if instance is eligible. - /// - /// But individual node might be excluded from SLO by adding entry here. For - /// semantic see SloMetadata.exclusions. If both instance and node level - /// exclusions are present for time period, the node level's reason will be - /// reported by Eligibility Exporter. - core.List? - exclusions; - /// The location of the node, if different from instance location. core.String? location; @@ -2429,7 +2807,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { perSliEligibility; GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata({ - this.exclusions, this.location, this.nodeId, this.perSliEligibility, @@ -2438,15 +2815,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.fromJson( core.Map _json) : this( - exclusions: _json.containsKey('exclusions') - ? (_json['exclusions'] as core.List) - .map( - (value) => - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - .fromJson( - value as core.Map)) - .toList() - : null, location: _json.containsKey('location') ? _json['location'] as core.String : null, @@ -2461,8 +2829,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata { ); core.Map toJson() => { - if (exclusions != null) - 'exclusions': exclusions!.map((value) => value.toJson()).toList(), if (location != null) 'location': location!, if (nodeId != null) 'nodeId': nodeId!, if (perSliEligibility != null) @@ -2589,87 +2955,9 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility { }; } -/// SloExclusion represents an exclusion in SLI calculation applies to all SLOs. -class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion { - /// Exclusion duration. - /// - /// No restrictions on the possible values. When an ongoing operation is - /// taking longer than initially expected, an existing entry in the exclusion - /// list can be updated by extending the duration. This is supported by the - /// subsystem exporting eligibility data as long as such extension is - /// committed at least 10 minutes before the original exclusion expiration - - /// otherwise it is possible that there will be "gaps" in the exclusion - /// application in the exported timeseries. - core.String? duration; - - /// Human-readable reason for the exclusion. - /// - /// This should be a static string (e.g. "Disruptive update in progress") and - /// should not contain dynamically generated data (e.g. instance name). Can be - /// left empty. - core.String? reason; - - /// Name of an SLI that this exclusion applies to. - /// - /// Can be left empty, signaling that the instance should be excluded from all - /// SLIs. - core.String? sliName; - - /// Start time of the exclusion. - /// - /// No alignment (e.g. to a full minute) needed. - core.String? startTime; - - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion({ - this.duration, - this.reason, - this.sliName, - this.startTime, - }); - - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion.fromJson( - core.Map _json) - : this( - duration: _json.containsKey('duration') - ? _json['duration'] as core.String - : null, - reason: _json.containsKey('reason') - ? _json['reason'] as core.String - : null, - sliName: _json.containsKey('sliName') - ? _json['sliName'] as core.String - : null, - startTime: _json.containsKey('startTime') - ? _json['startTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (duration != null) 'duration': duration!, - if (reason != null) 'reason': reason!, - if (sliName != null) 'sliName': sliName!, - if (startTime != null) 'startTime': startTime!, - }; -} - /// SloMetadata contains resources required for proper SLO classification of the /// instance. class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { - /// List of SLO exclusion windows. - /// - /// When multiple entries in the list match (matching the exclusion - /// time-window against current time point) the exclusion reason used in the - /// first matching entry will be published. It is not needed to include - /// expired exclusion in this list, as only the currently applicable - /// exclusions are taken into account by the eligibility exporting subsystem - /// (the historical state of exclusions will be reflected in the historically - /// produced timeseries regardless of the current state). This field can be - /// used to mark the instance as temporary ineligible for the purpose of SLO - /// calculation. For permanent instance SLO exclusion, use of custom instance - /// eligibility is recommended. See 'eligibility' field below. - core.List? - exclusions; - /// List of nodes. /// /// Some producers need to use per-node metadata to calculate SLO. This field @@ -2694,7 +2982,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { core.String? tier; GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata({ - this.exclusions, this.nodes, this.perSliEligibility, this.tier, @@ -2703,15 +2990,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.fromJson( core.Map _json) : this( - exclusions: _json.containsKey('exclusions') - ? (_json['exclusions'] as core.List) - .map( - (value) => - GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - .fromJson( - value as core.Map)) - .toList() - : null, nodes: _json.containsKey('nodes') ? (_json['nodes'] as core.List) .map( @@ -2730,8 +3008,6 @@ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata { ); core.Map toJson() => { - if (exclusions != null) - 'exclusions': exclusions!.map((value) => value.toJson()).toList(), if (nodes != null) 'nodes': nodes!.map((value) => value.toJson()).toList(), if (perSliEligibility != null) @@ -2958,6 +3234,50 @@ class ListOperationsResponse { }; } +/// ListPeeringsResponse is the response message for ListPeerings method. +class ListPeeringsResponse { + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. + core.String? nextPageToken; + + /// A list of Managed Identities Service Peerings in the project. + core.List? peerings; + + /// Locations that could not be reached. + core.List? unreachable; + + ListPeeringsResponse({ + this.nextPageToken, + this.peerings, + this.unreachable, + }); + + ListPeeringsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + peerings: _json.containsKey('peerings') + ? (_json['peerings'] as core.List) + .map((value) => Peering.fromJson( + value as core.Map)) + .toList() + : null, + unreachable: _json.containsKey('unreachable') + ? (_json['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (peerings != null) + 'peerings': peerings!.map((value) => value.toJson()).toList(), + if (unreachable != null) 'unreachable': unreachable!, + }; +} + /// ListSqlIntegrationsResponse is the response message for ListSqlIntegrations /// method. class ListSqlIntegrationsResponse { @@ -3304,7 +3624,7 @@ class OperationMetadata { /// Identifies whether the user has requested cancellation of the operation. /// - /// Operations that have successfully been cancelled have Operation.error + /// Operations that have been cancelled successfully have Operation.error /// value with a google.rpc.Status.code of 1, corresponding to /// `Code.CANCELLED`. /// @@ -3380,6 +3700,118 @@ class OperationMetadata { }; } +/// Represents a Managed Service for Microsoft Active Directory Peering. +class Peering { + /// The full names of the Google Compute Engine + /// \[networks\](/compute/docs/networks-and-firewalls#networks) to which the + /// instance is connected. + /// + /// Caller needs to make sure that CIDR subnets do not overlap between + /// networks, else peering creation will fail. + /// + /// Required. + core.String? authorizedNetwork; + + /// The time the instance was created. + /// + /// Output only. + core.String? createTime; + + /// Full domain resource path for the Managed AD Domain involved in peering. + /// + /// The resource path should be in the form: + /// `projects/{project_id}/locations/global/domains/{domain_name}` + /// + /// Required. + core.String? domainResource; + + /// Resource labels to represent user-provided metadata. + /// + /// Optional. + core.Map? labels; + + /// Unique name of the peering in this scope including projects and location + /// using the form: + /// `projects/{project_id}/locations/global/peerings/{peering_id}`. + /// + /// Output only. + core.String? name; + + /// The current state of this Peering. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Not set. + /// - "CREATING" : Peering is being created. + /// - "CONNECTED" : Peering is connected. + /// - "DISCONNECTED" : Peering is disconnected. + /// - "DELETING" : Peering is being deleted. + core.String? state; + + /// Additional information about the current status of this peering, if + /// available. + /// + /// Output only. + core.String? statusMessage; + + /// Last update time. + /// + /// Output only. + core.String? updateTime; + + Peering({ + this.authorizedNetwork, + this.createTime, + this.domainResource, + this.labels, + this.name, + this.state, + this.statusMessage, + this.updateTime, + }); + + Peering.fromJson(core.Map _json) + : this( + authorizedNetwork: _json.containsKey('authorizedNetwork') + ? _json['authorizedNetwork'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + domainResource: _json.containsKey('domainResource') + ? _json['domainResource'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + statusMessage: _json.containsKey('statusMessage') + ? _json['statusMessage'] as core.String + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (authorizedNetwork != null) 'authorizedNetwork': authorizedNetwork!, + if (createTime != null) 'createTime': createTime!, + if (domainResource != null) 'domainResource': domainResource!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (state != null) 'state': state!, + if (statusMessage != null) 'statusMessage': statusMessage!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + /// An Identity and Access Management (IAM) policy, which specifies access /// controls for Google Cloud resources. /// @@ -3408,7 +3840,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -4027,8 +4459,8 @@ class UpdatePolicy { /// Deny Maintenance Period that is applied to resource to indicate when /// maintenance is forbidden. /// - /// User can specify zero or more non-overlapping deny periods. For V1, - /// Maximum number of deny_maintenance_periods is expected to be one. + /// User can specify zero or more non-overlapping deny periods. Maximum number + /// of deny_maintenance_periods expected is one. core.List? denyMaintenancePeriods; /// Maintenance window that is applied to resources covered by this policy. diff --git a/generated/googleapis/lib/memcache/v1.dart b/generated/googleapis/lib/memcache/v1.dart index 6752807a4..ab89d3560 100644 --- a/generated/googleapis/lib/memcache/v1.dart +++ b/generated/googleapis/lib/memcache/v1.dart @@ -2877,8 +2877,8 @@ class UpdatePolicy { /// Deny Maintenance Period that is applied to resource to indicate when /// maintenance is forbidden. /// - /// User can specify zero or more non-overlapping deny periods. For V1, - /// Maximum number of deny_maintenance_periods is expected to be one. + /// User can specify zero or more non-overlapping deny periods. Maximum number + /// of deny_maintenance_periods expected is one. core.List? denyMaintenancePeriods; /// Maintenance window that is applied to resources covered by this policy. diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart index b32595ca8..a13b5235f 100644 --- a/generated/googleapis/lib/ml/v1.dart +++ b/generated/googleapis/lib/ml/v1.dart @@ -46,11 +46,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// An API to enable creating and using machine learning models. class CloudMachineLearningEngineApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -2870,6 +2872,8 @@ class GoogleCloudMlV1AcceleratorConfig { /// - "NVIDIA_TESLA_A100" : Nvidia A100 GPU. /// - "TPU_V2" : TPU v2. /// - "TPU_V3" : TPU v3. + /// - "TPU_V2_POD" : TPU v2 POD. + /// - "TPU_V3_POD" : TPU v3 POD. core.String? type; GoogleCloudMlV1AcceleratorConfig({ @@ -3766,10 +3770,16 @@ class GoogleCloudMlV1HyperparameterOutput { /// The trial id for these results. core.String? trialId; - /// The web URIs for the training job. + /// URIs for accessing + /// [interactive shells](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) + /// (one URI for each training node). /// - /// Currently for debug terminal access to the job. Only set for in-progress - /// hyperparameter tuning trials with web access enabled. + /// Only available if this trial is part of a hyperparameter tuning job and + /// the job's training_input.enable_web_access is `true`. The keys are names + /// of each node in the training job; for example, `master-replica-0` for the + /// master node, `worker-replica-0` for the first worker, and `ps-replica-0` + /// for the first parameter server. The values are the URIs for each node's + /// interactive shell. core.Map? webAccessUris; GoogleCloudMlV1HyperparameterOutput({ @@ -5827,7 +5837,13 @@ class GoogleCloudMlV1TrainingInput { /// Optional. core.List? args; - /// Whether to enable web access for the training job. + /// Whether you want AI Platform Training to enable + /// [interactive shell access](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) + /// to training containers. + /// + /// If set to `true`, you can access interactive shells at the URIs given by + /// TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris + /// (within TrainingOutput.trials). /// /// Optional. core.bool? enableWebAccess; @@ -6323,9 +6339,15 @@ class GoogleCloudMlV1TrainingOutput { /// Only set for hyperparameter tuning jobs. core.List? trials; - /// The web URIs for the training job. + /// URIs for accessing + /// [interactive shells](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) + /// (one URI for each training node). /// - /// Currently for debug terminal access to the job. + /// Only available if training_input.enable_web_access is `true`. The keys are + /// names of each node in the training job; for example, `master-replica-0` + /// for the master node, `worker-replica-0` for the first worker, and + /// `ps-replica-0` for the first parameter server. The values are the URIs for + /// each node's interactive shell. /// /// Output only. core.Map? webAccessUris; @@ -7209,7 +7231,7 @@ class GoogleIamV1Binding { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class GoogleIamV1Policy { diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart index 7719162dc..0f508e601 100644 --- a/generated/googleapis/lib/monitoring/v3.dart +++ b/generated/googleapis/lib/monitoring/v3.dart @@ -65,7 +65,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// concepts found in the table entries, read the Cloud Monitoring documentation /// (https://cloud.google.com/monitoring/docs). class MonitoringApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1879,8 +1880,9 @@ class ProjectsMetricDescriptorsResource { /// Creates a new metric descriptor. /// - /// User-created metric descriptors define custom metrics - /// (https://cloud.google.com/monitoring/custom-metrics). + /// The creation is executed asynchronously and callers may check the returned + /// operation to track its progress. User-created metric descriptors define + /// custom metrics (https://cloud.google.com/monitoring/custom-metrics). /// /// [request] - The metadata request object. /// @@ -4593,16 +4595,24 @@ class AlertPolicy { /// Control over how the notification channels in notification_channels are /// notified when this alert fires. class AlertStrategy { + /// If an alert policy that was active has no data for this log, any open + /// incidents will close + core.String? autoClose; + /// Required for alert policies with a LogMatch condition.This limit is not /// implemented for alert policies that are not log-based. NotificationRateLimit? notificationRateLimit; AlertStrategy({ + this.autoClose, this.notificationRateLimit, }); AlertStrategy.fromJson(core.Map _json) : this( + autoClose: _json.containsKey('autoClose') + ? _json['autoClose'] as core.String + : null, notificationRateLimit: _json.containsKey('notificationRateLimit') ? NotificationRateLimit.fromJson(_json['notificationRateLimit'] as core.Map) @@ -4610,6 +4620,7 @@ class AlertStrategy { ); core.Map toJson() => { + if (autoClose != null) 'autoClose': autoClose!, if (notificationRateLimit != null) 'notificationRateLimit': notificationRateLimit!.toJson(), }; @@ -5586,8 +5597,9 @@ class Distribution { /// good service and total service. /// /// The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or -/// MetricKind = CUMULATIVE. The computed good_service will be the count of -/// values x in the Distribution such that range.min <= x < range.max. +/// MetricKind = CUMULATIVE. The computed good_service will be the estimated +/// count of values in the Distribution that fall within the specified min and +/// max. class DistributionCut { /// A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) /// specifying a TimeSeries aggregating values. @@ -6067,10 +6079,7 @@ class GetNotificationChannelVerificationCodeResponse { }; } -/// Range of numerical values, inclusive of min and exclusive of max. -/// -/// If the open range "< range.max" is desired, set range.min = -infinity. If -/// the open range ">= range.min" is desired, set range.max = infinity. +/// Range of numerical values within min and max. class GoogleMonitoringV3Range { /// Range maximum. core.double? max; @@ -7159,7 +7168,9 @@ class ListUptimeCheckIpsResponse { class LogMatch { /// A logs-based filter. /// - /// See Advanced Logs Queries for how this filter should be constructed. + /// See Advanced Logs Queries + /// (https://cloud.google.com/logging/docs/view/advanced-queries) for how this + /// filter should be constructed. /// /// Required. core.String? filter; @@ -7172,7 +7183,9 @@ class LogMatch { /// is treated as a separate rule for the purposes of triggering /// notifications. Label keys and corresponding values can be used in /// notifications generated by this condition.Please see the documentation on - /// logs-based metric valueExtractors for syntax and examples. + /// logs-based metric valueExtractors + /// (https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.value_extractor) + /// for syntax and examples. /// /// Optional. core.Map? labelExtractors; @@ -7689,7 +7702,7 @@ class MetricDescriptorMetadata { } /// A MetricRange is used when each window is good when the value x of a single -/// TimeSeries satisfies range.min <= x < range.max. +/// TimeSeries satisfies range.min <= x <= range.max. /// /// The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE /// and MetricKind = GAUGE. @@ -8024,7 +8037,9 @@ class MonitoredResourceDescriptor { /// The monitored resource type. /// /// For example, the type "cloudsql_database" represents databases in Google - /// Cloud SQL. + /// Cloud SQL. For a list of types, see Monitoring resource types + /// (https://cloud.google.com/monitoring/api/resources) and Logging resource + /// types (https://cloud.google.com/logging/docs/api/v2/resource-list). /// /// Required. core.String? type; @@ -9940,6 +9955,7 @@ class UptimeCheckConfig { /// /// The following monitored resource types are valid for this field: /// uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer + /// k8s_service MonitoredResource? monitoredResource; /// A unique resource name for this Uptime check configuration. diff --git a/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart b/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart new file mode 100644 index 000000000..44985f410 --- /dev/null +++ b/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart @@ -0,0 +1,3594 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// My Business Business Information API - v1 +/// +/// The My Business Business Information API provides an interface for managing +/// business information on Google. +/// +/// For more information, see +/// +/// Create an instance of [MyBusinessBusinessInformationApi] to access these +/// resources: +/// +/// - [AccountsResource] +/// - [AccountsLocationsResource] +/// - [AttributesResource] +/// - [CategoriesResource] +/// - [ChainsResource] +/// - [GoogleLocationsResource] +/// - [LocationsResource] +/// - [LocationsAttributesResource] +library mybusinessbusinessinformation.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// The My Business Business Information API provides an interface for managing +/// business information on Google. +class MyBusinessBusinessInformationApi { + final commons.ApiRequester _requester; + + AccountsResource get accounts => AccountsResource(_requester); + AttributesResource get attributes => AttributesResource(_requester); + CategoriesResource get categories => CategoriesResource(_requester); + ChainsResource get chains => ChainsResource(_requester); + GoogleLocationsResource get googleLocations => + GoogleLocationsResource(_requester); + LocationsResource get locations => LocationsResource(_requester); + + MyBusinessBusinessInformationApi(http.Client client, + {core.String rootUrl = + 'https://mybusinessbusinessinformation.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class AccountsResource { + final commons.ApiRequester _requester; + + AccountsLocationsResource get locations => + AccountsLocationsResource(_requester); + + AccountsResource(commons.ApiRequester client) : _requester = client; +} + +class AccountsLocationsResource { + final commons.ApiRequester _requester; + + AccountsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Creates a new Location that will be owned by the logged in user. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The name of the account in which to create this + /// location. + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [requestId] - Optional. A unique request ID for the server to detect + /// duplicated requests. We recommend using UUIDs. Max length is 50 + /// characters. + /// + /// [validateOnly] - Optional. If true, the request is validated without + /// actually creating the location. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + Location request, + core.String parent, { + core.String? requestId, + core.bool? validateOnly, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (requestId != null) 'requestId': [requestId], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/locations'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Location.fromJson(_response as core.Map); + } + + /// Lists the locations for the specified account. + /// + /// Request parameters: + /// + /// [parent] - Required. The name of the account to fetch locations from. If + /// the parent Account is of AccountType PERSONAL, only Locations that are + /// directly owned by the Account are returned, otherwise it will return all + /// accessible locations from the Account, either directly or indirectly. + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [filter] - Optional. A filter constraining the locations to return. The + /// response includes only entries that match the filter. If `filter` is + /// empty, then constraints are applied and all locations (paginated) are + /// retrieved for the requested account. For more information about valid + /// fields and example usage, see + /// [Work with Location Data Guide](https://developers.google.com/my-business/content/location-data#filter_results_when_you_list_locations). + /// + /// [orderBy] - Optional. Sorting order for the request. Multiple fields + /// should be comma-separated, following SQL syntax. The default sorting order + /// is ascending. To specify descending order, a suffix " desc" should be + /// added. Valid fields to order_by are title and store_code. For example: + /// "title, store_code desc" or "title" or "store_code desc" + /// + /// [pageSize] - Optional. How many locations to fetch per page. Default value + /// is 10 if not set. Minimum is 1, and maximum page size is 100. + /// + /// [pageToken] - Optional. If specified, it fetches the next `page` of + /// locations. The page token is returned by previous calls to `ListLocations` + /// when there were more locations than could fit in the requested page size. + /// + /// [readMask] - Required. Read mask to specify what fields will be returned + /// in the response. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? readMask, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (readMask != null) 'readMask': [readMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/locations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListLocationsResponse.fromJson( + _response as core.Map); + } +} + +class AttributesResource { + final commons.ApiRequester _requester; + + AttributesResource(commons.ApiRequester client) : _requester = client; + + /// Returns the list of attributes that would be available for a location with + /// the given primary category and country. + /// + /// Request parameters: + /// + /// [categoryName] - The primary category stable ID to find available + /// attributes. Must be of the format categories/{category_id}. + /// + /// [languageCode] - The BCP 47 code of language to get attribute display + /// names in. If this language is not available, they will be provided in + /// English. + /// + /// [pageSize] - How many attributes to include per page. Default is 200, + /// minimum is 1. + /// + /// [pageToken] - If specified, the next page of attribute metadata is + /// retrieved. + /// + /// [parent] - Resource name of the location to look up available attributes. + /// If this field is set, category_name, region_code, language_code and + /// show_all are not required and must not be set. + /// + /// [regionCode] - The ISO 3166-1 alpha-2 country code to find available + /// attributes. + /// + /// [showAll] - Metadata for all available attributes are returned when this + /// field is set to true, disregarding parent and category_name fields. + /// language_code and region_code are required when show_all is set to true. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListAttributeMetadataResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list({ + core.String? categoryName, + core.String? languageCode, + core.int? pageSize, + core.String? pageToken, + core.String? parent, + core.String? regionCode, + core.bool? showAll, + core.String? $fields, + }) async { + final _queryParams = >{ + if (categoryName != null) 'categoryName': [categoryName], + if (languageCode != null) 'languageCode': [languageCode], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (parent != null) 'parent': [parent], + if (regionCode != null) 'regionCode': [regionCode], + if (showAll != null) 'showAll': ['${showAll}'], + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/attributes'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListAttributeMetadataResponse.fromJson( + _response as core.Map); + } +} + +class CategoriesResource { + final commons.ApiRequester _requester; + + CategoriesResource(commons.ApiRequester client) : _requester = client; + + /// Returns a list of business categories for the provided language and + /// GConcept ids. + /// + /// Request parameters: + /// + /// [languageCode] - Required. The BCP 47 code of language that the category + /// names should be returned in. + /// + /// [names] - Required. At least one name must be set. The GConcept ids the + /// localized category names should be returned for. To return details for + /// more than one category, repeat this parameter in the request. + /// + /// [regionCode] - Optional. The ISO 3166-1 alpha-2 country code used to infer + /// non-standard language. + /// + /// [view] - Required. Specifies which parts to the Category resource should + /// be returned in the response. + /// Possible string values are: + /// - "CATEGORY_VIEW_UNSPECIFIED" : Not specified, equivalent to + /// CATEGORY_METADATA_ONLY. + /// - "BASIC" : The server response will only include Category fields + /// display_name, category_id and language_code. It omits any service type + /// metadata related fields. + /// - "FULL" : Returns all the fields in the response. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [BatchGetCategoriesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future batchGet({ + core.String? languageCode, + core.List? names, + core.String? regionCode, + core.String? view, + core.String? $fields, + }) async { + final _queryParams = >{ + if (languageCode != null) 'languageCode': [languageCode], + if (names != null) 'names': names, + if (regionCode != null) 'regionCode': [regionCode], + if (view != null) 'view': [view], + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/categories:batchGet'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return BatchGetCategoriesResponse.fromJson( + _response as core.Map); + } + + /// Returns a list of business categories. + /// + /// Search will match the category name but not the category ID. Search only + /// matches the front of a category name (that is, 'food' may return 'Food + /// Court' but not 'Fast Food Restaurant'). + /// + /// Request parameters: + /// + /// [filter] - Optional. Filter string from user. The only field that + /// supported is `displayName`. Eg: `filter=displayName=foo`. + /// + /// [languageCode] - Required. The BCP 47 code of language. + /// + /// [pageSize] - Optional. How many categories to fetch per page. Default is + /// 100, minimum is 1, and maximum page size is 100. + /// + /// [pageToken] - Optional. If specified, the next page of categories will be + /// fetched. + /// + /// [regionCode] - Required. The ISO 3166-1 alpha-2 country code. + /// + /// [view] - Required. Specifies which parts to the Category resource should + /// be returned in the response. + /// Possible string values are: + /// - "CATEGORY_VIEW_UNSPECIFIED" : Not specified, equivalent to + /// CATEGORY_METADATA_ONLY. + /// - "BASIC" : The server response will only include Category fields + /// display_name, category_id and language_code. It omits any service type + /// metadata related fields. + /// - "FULL" : Returns all the fields in the response. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListCategoriesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list({ + core.String? filter, + core.String? languageCode, + core.int? pageSize, + core.String? pageToken, + core.String? regionCode, + core.String? view, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (languageCode != null) 'languageCode': [languageCode], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (regionCode != null) 'regionCode': [regionCode], + if (view != null) 'view': [view], + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/categories'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListCategoriesResponse.fromJson( + _response as core.Map); + } +} + +class ChainsResource { + final commons.ApiRequester _requester; + + ChainsResource(commons.ApiRequester client) : _requester = client; + + /// Gets the specified chain. + /// + /// Returns `NOT_FOUND` if the chain does not exist. + /// + /// Request parameters: + /// + /// [name] - Required. The chain's resource name, in the format + /// `chains/{chain_place_id}`. + /// Value must have pattern `^chains/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Chain]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Chain.fromJson(_response as core.Map); + } + + /// Searches the chain based on chain name. + /// + /// Request parameters: + /// + /// [chainName] - Required. Search for a chain by its name. + /// Exact/partial/fuzzy/related queries are supported. Examples: "walmart", + /// "wal-mart", "walmmmart", "沃尔玛" + /// + /// [pageSize] - The maximum number of matched chains to return from this + /// query. The default is 10. The maximum possible value is 500. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [SearchChainsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future search({ + core.String? chainName, + core.int? pageSize, + core.String? $fields, + }) async { + final _queryParams = >{ + if (chainName != null) 'chainName': [chainName], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/chains:search'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return SearchChainsResponse.fromJson( + _response as core.Map); + } +} + +class GoogleLocationsResource { + final commons.ApiRequester _requester; + + GoogleLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Search all of the possible locations that are a match to the specified + /// request. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [SearchGoogleLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future search( + SearchGoogleLocationsRequest request, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/googleLocations:search'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return SearchGoogleLocationsResponse.fromJson( + _response as core.Map); + } +} + +class LocationsResource { + final commons.ApiRequester _requester; + + LocationsAttributesResource get attributes => + LocationsAttributesResource(_requester); + + LocationsResource(commons.ApiRequester client) : _requester = client; + + /// Associates a location to a place ID. + /// + /// Any previous association is overwritten. This operation is only valid if + /// the location is unverified. The association must be valid, that is, it + /// appears in the list of `SearchGoogleLocations`. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the location to associate. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future associate( + AssociateLocationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':associate'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Clears an association between a location and its place ID. + /// + /// This operation is only valid if the location is unverified. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the location to disassociate. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future clearLocationAssociation( + ClearLocationAssociationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$name') + ':clearLocationAssociation'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Deletes a location. + /// + /// If this location cannot be deleted using the API and it is marked so in + /// the `google.mybusiness.businessinformation.v1.LocationState`, use the + /// [Google My Business](https://business.google.com/manage/) website. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the location to delete. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Returns the specified location. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the location to fetch. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [readMask] - Required. Read mask to specify what fields will be returned + /// in the response. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? readMask, + core.String? $fields, + }) async { + final _queryParams = >{ + if (readMask != null) 'readMask': [readMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Location.fromJson(_response as core.Map); + } + + /// Looks up all the attributes set for a given location. + /// + /// Request parameters: + /// + /// [name] - Required. Google identifier for this location in the form of + /// `locations/{location_id}/attributes`. + /// Value must have pattern `^locations/\[^/\]+/attributes$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Attributes]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getAttributes( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Attributes.fromJson( + _response as core.Map); + } + + /// Gets the Google-updated version of the specified location. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the location to fetch. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [readMask] - Required. Read mask to specify what fields will be returned + /// in the response. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleUpdatedLocation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getGoogleUpdated( + core.String name, { + core.String? readMask, + core.String? $fields, + }) async { + final _queryParams = >{ + if (readMask != null) 'readMask': [readMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':getGoogleUpdated'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleUpdatedLocation.fromJson( + _response as core.Map); + } + + /// Updates the specified location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Google identifier for this location in the form: + /// `locations/{location_id}`. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [updateMask] - Required. The specific fields to update. + /// + /// [validateOnly] - Optional. If true, the request is validated without + /// actually updating the location. When this field is set, we will only + /// return validation errors if there were any. The response will be empty if + /// no errors were found. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + Location request, + core.String name, { + core.String? updateMask, + core.bool? validateOnly, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Location.fromJson(_response as core.Map); + } + + /// Update attributes for a given location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Google identifier for this location in the form of + /// `locations/{location_id}/attributes`. + /// Value must have pattern `^locations/\[^/\]+/attributes$`. + /// + /// [attributeMask] - Required. Attribute name of attributes that you'd like + /// to update. Represented by `attributes/{attribute}`. Updates: All + /// attributes provided in the attributes field that you would like to update + /// must be set in the `attribute_mask`. Attributes set in the above list but + /// not in the `attribute_mask` will be ignored. Deletes: If you'd like to + /// delete certain attributes, they must be specified in the `attribute_mask` + /// with no matching entry in the attributes list. If you'd like to delete all + /// attributes set on a location, you should look up all the applicable + /// attributes for the location and then add them to the `attribute_mask` with + /// an empty attributes field. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Attributes]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future updateAttributes( + Attributes request, + core.String name, { + core.String? attributeMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (attributeMask != null) 'attributeMask': [attributeMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Attributes.fromJson( + _response as core.Map); + } +} + +class LocationsAttributesResource { + final commons.ApiRequester _requester; + + LocationsAttributesResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the Google-updated version of the specified location. + /// + /// Request parameters: + /// + /// [name] - Required. Google identifier for this location in the form of + /// `locations/{location_id}/attributes`. + /// Value must have pattern `^locations/\[^/\]+/attributes$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Attributes]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getGoogleUpdated( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':getGoogleUpdated'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Attributes.fromJson( + _response as core.Map); + } +} + +/// Additional information that is surfaced in AdWords. +class AdWordsLocationExtensions { + /// An alternate phone number to display on AdWords location extensions + /// instead of the location's primary phone number. + /// + /// Required. + core.String? adPhone; + + AdWordsLocationExtensions({ + this.adPhone, + }); + + AdWordsLocationExtensions.fromJson(core.Map _json) + : this( + adPhone: _json.containsKey('adPhone') + ? _json['adPhone'] as core.String + : null, + ); + + core.Map toJson() => { + if (adPhone != null) 'adPhone': adPhone!, + }; +} + +/// Request message for Locations.AssociateLocationRequest. +class AssociateLocationRequest { + /// The association to establish. + /// + /// If not set, it indicates no match. + core.String? placeId; + + AssociateLocationRequest({ + this.placeId, + }); + + AssociateLocationRequest.fromJson(core.Map _json) + : this( + placeId: _json.containsKey('placeId') + ? _json['placeId'] as core.String + : null, + ); + + core.Map toJson() => { + if (placeId != null) 'placeId': placeId!, + }; +} + +/// A location attribute. +/// +/// Attributes provide additional information about a location. The attributes +/// that can be set on a location may vary based on the properties of that +/// location (for example, category). Available attributes are determined by +/// Google and may be added and removed without API changes. +class Attribute { + /// The resource name for this attribute. + /// + /// Required. + core.String? name; + + /// When the attribute value type is REPEATED_ENUM, this contains the + /// attribute value, and the other values fields must be empty. + RepeatedEnumAttributeValue? repeatedEnumValue; + + /// When the attribute value type is URL, this field contains the value(s) for + /// this attribute, and the other values fields must be empty. + core.List? uriValues; + + /// The type of value that this attribute contains. + /// + /// This should be used to determine how to interpret the value. + /// + /// Output only. + /// Possible string values are: + /// - "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED" : Not specified. + /// - "BOOL" : The values for this attribute are boolean values. + /// - "ENUM" : The attribute has a predetermined list of available values that + /// can be used. Metadata for this attribute will list these values. + /// - "URL" : The values for this attribute are URLs. + /// - "REPEATED_ENUM" : The attribute value is an enum with multiple possible + /// values that can be explicitly set or unset. + core.String? valueType; + + /// The values for this attribute. + /// + /// The type of the values supplied must match that expected for that + /// attribute. This is a repeated field where multiple attribute values may be + /// provided. Attribute types only support one value. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List? values; + + Attribute({ + this.name, + this.repeatedEnumValue, + this.uriValues, + this.valueType, + this.values, + }); + + Attribute.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + repeatedEnumValue: _json.containsKey('repeatedEnumValue') + ? RepeatedEnumAttributeValue.fromJson(_json['repeatedEnumValue'] + as core.Map) + : null, + uriValues: _json.containsKey('uriValues') + ? (_json['uriValues'] as core.List) + .map((value) => UriAttributeValue.fromJson( + value as core.Map)) + .toList() + : null, + valueType: _json.containsKey('valueType') + ? _json['valueType'] as core.String + : null, + values: _json.containsKey('values') + ? (_json['values'] as core.List) + .map((value) => value as core.Object) + .toList() + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (repeatedEnumValue != null) + 'repeatedEnumValue': repeatedEnumValue!.toJson(), + if (uriValues != null) + 'uriValues': uriValues!.map((value) => value.toJson()).toList(), + if (valueType != null) 'valueType': valueType!, + if (values != null) 'values': values!, + }; +} + +/// Metadata for an attribute. +/// +/// Contains display information for the attribute, including a localized name +/// and a heading for grouping related attributes together. +class AttributeMetadata { + /// If true, the attribute is deprecated and should no longer be used. + /// + /// If deprecated, updating this attribute will not result in an error, but + /// updates will not be saved. At some point after being deprecated, the + /// attribute will be removed entirely and it will become an error. + core.bool? deprecated; + + /// The localized display name for the attribute, if available; otherwise, the + /// English display name. + core.String? displayName; + + /// The localized display name of the group that contains this attribute, if + /// available; otherwise, the English group name. + /// + /// Related attributes are collected into a group and should be displayed + /// together under the heading given here. + core.String? groupDisplayName; + + /// The unique identifier for the attribute. + core.String? parent; + + /// If true, the attribute supports multiple values. + /// + /// If false, only a single value should be provided. + core.bool? repeatable; + + /// For some types of attributes (for example, enums), a list of supported + /// values and corresponding display names for those values is provided. + core.List? valueMetadata; + + /// The value type for the attribute. + /// + /// Values set and retrieved should be expected to be of this type. + /// Possible string values are: + /// - "ATTRIBUTE_VALUE_TYPE_UNSPECIFIED" : Not specified. + /// - "BOOL" : The values for this attribute are boolean values. + /// - "ENUM" : The attribute has a predetermined list of available values that + /// can be used. Metadata for this attribute will list these values. + /// - "URL" : The values for this attribute are URLs. + /// - "REPEATED_ENUM" : The attribute value is an enum with multiple possible + /// values that can be explicitly set or unset. + core.String? valueType; + + AttributeMetadata({ + this.deprecated, + this.displayName, + this.groupDisplayName, + this.parent, + this.repeatable, + this.valueMetadata, + this.valueType, + }); + + AttributeMetadata.fromJson(core.Map _json) + : this( + deprecated: _json.containsKey('deprecated') + ? _json['deprecated'] as core.bool + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + groupDisplayName: _json.containsKey('groupDisplayName') + ? _json['groupDisplayName'] as core.String + : null, + parent: _json.containsKey('parent') + ? _json['parent'] as core.String + : null, + repeatable: _json.containsKey('repeatable') + ? _json['repeatable'] as core.bool + : null, + valueMetadata: _json.containsKey('valueMetadata') + ? (_json['valueMetadata'] as core.List) + .map((value) => + AttributeValueMetadata.fromJson( + value as core.Map)) + .toList() + : null, + valueType: _json.containsKey('valueType') + ? _json['valueType'] as core.String + : null, + ); + + core.Map toJson() => { + if (deprecated != null) 'deprecated': deprecated!, + if (displayName != null) 'displayName': displayName!, + if (groupDisplayName != null) 'groupDisplayName': groupDisplayName!, + if (parent != null) 'parent': parent!, + if (repeatable != null) 'repeatable': repeatable!, + if (valueMetadata != null) + 'valueMetadata': + valueMetadata!.map((value) => value.toJson()).toList(), + if (valueType != null) 'valueType': valueType!, + }; +} + +/// Metadata for supported attribute values. +class AttributeValueMetadata { + /// The display name for this value, localized where available; otherwise, in + /// English. + /// + /// The value display name is intended to be used in context with the + /// attribute display name. For example, for a "WiFi" enum attribute, this + /// could contain "Paid" to represent paid Wi-Fi. + core.String? displayName; + + /// The attribute value. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Object? value; + + AttributeValueMetadata({ + this.displayName, + this.value, + }); + + AttributeValueMetadata.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + value: + _json.containsKey('value') ? _json['value'] as core.Object : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (value != null) 'value': value!, + }; +} + +/// A container for all the attributes for a given location. +class Attributes { + /// A collection of attributes that need to be updated. + core.List? attributes; + + /// Google identifier for this location in the form of + /// `locations/{location_id}/attributes`. + /// + /// Required. + core.String? name; + + Attributes({ + this.attributes, + this.name, + }); + + Attributes.fromJson(core.Map _json) + : this( + attributes: _json.containsKey('attributes') + ? (_json['attributes'] as core.List) + .map((value) => Attribute.fromJson( + value as core.Map)) + .toList() + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (attributes != null) + 'attributes': attributes!.map((value) => value.toJson()).toList(), + if (name != null) 'name': name!, + }; +} + +/// Response message for BusinessCategories.BatchGetBusinessCategories. +class BatchGetCategoriesResponse { + /// Categories that match the GConcept ids provided in the request. + /// + /// They will not come in the same order as category ids in the request. + core.List? categories; + + BatchGetCategoriesResponse({ + this.categories, + }); + + BatchGetCategoriesResponse.fromJson(core.Map _json) + : this( + categories: _json.containsKey('categories') + ? (_json['categories'] as core.List) + .map((value) => Category.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (categories != null) + 'categories': categories!.map((value) => value.toJson()).toList(), + }; +} + +/// Represents the time periods that this location is open for business. +/// +/// Holds a collection of TimePeriod instances. +class BusinessHours { + /// A collection of times that this location is open for business. + /// + /// Each period represents a range of hours when the location is open during + /// the week. + /// + /// Required. + core.List? periods; + + BusinessHours({ + this.periods, + }); + + BusinessHours.fromJson(core.Map _json) + : this( + periods: _json.containsKey('periods') + ? (_json['periods'] as core.List) + .map((value) => TimePeriod.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (periods != null) + 'periods': periods!.map((value) => value.toJson()).toList(), + }; +} + +/// A collection of categories that describes the business. +/// +/// During updates, both fields must be set. Clients are prohibited from +/// individually updating the primary or additional categories using the update +/// mask. +class Categories { + /// Additional categories to describe your business. + /// + /// Categories help your customers find accurate, specific results for + /// services they're interested in. To keep your business information accurate + /// and live, make sure that you use as few categories as possible to describe + /// your overall core business. Choose categories that are as specific as + /// possible, but representative of your main business. + /// + /// Optional. + core.List? additionalCategories; + + /// Category that best describes the core business this location engages in. + /// + /// Required. + Category? primaryCategory; + + Categories({ + this.additionalCategories, + this.primaryCategory, + }); + + Categories.fromJson(core.Map _json) + : this( + additionalCategories: _json.containsKey('additionalCategories') + ? (_json['additionalCategories'] as core.List) + .map((value) => Category.fromJson( + value as core.Map)) + .toList() + : null, + primaryCategory: _json.containsKey('primaryCategory') + ? Category.fromJson(_json['primaryCategory'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (additionalCategories != null) + 'additionalCategories': + additionalCategories!.map((value) => value.toJson()).toList(), + if (primaryCategory != null) + 'primaryCategory': primaryCategory!.toJson(), + }; +} + +/// A category describing what this business is (not what it does). +/// +/// For a list of valid category IDs, and the mappings to their human-readable +/// names, see `categories.list`. +class Category { + /// The human-readable name of the category. + /// + /// This is set when reading the location. When modifying the location, + /// `category_id` must be set. + /// + /// Output only. + core.String? displayName; + + /// More hours types that are available for this business category. + /// + /// Output only. + core.List? moreHoursTypes; + + /// A stable ID (provided by Google) for this category. + /// + /// The value must be specified when modifying the category (when creating or + /// updating a location). + /// + /// Required. + core.String? name; + + /// A list of all the service types that are available for this business + /// category. + /// + /// Output only. + core.List? serviceTypes; + + Category({ + this.displayName, + this.moreHoursTypes, + this.name, + this.serviceTypes, + }); + + Category.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + moreHoursTypes: _json.containsKey('moreHoursTypes') + ? (_json['moreHoursTypes'] as core.List) + .map((value) => MoreHoursType.fromJson( + value as core.Map)) + .toList() + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + serviceTypes: _json.containsKey('serviceTypes') + ? (_json['serviceTypes'] as core.List) + .map((value) => ServiceType.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (moreHoursTypes != null) + 'moreHoursTypes': + moreHoursTypes!.map((value) => value.toJson()).toList(), + if (name != null) 'name': name!, + if (serviceTypes != null) + 'serviceTypes': serviceTypes!.map((value) => value.toJson()).toList(), + }; +} + +/// A chain is a brand that your business's locations can be affiliated with. +class Chain { + /// Names of the chain. + core.List? chainNames; + + /// Number of locations that are part of this chain. + core.int? locationCount; + + /// The chain's resource name, in the format `chains/{chain_id}`. + /// + /// Required. + core.String? name; + + /// Websites of the chain. + core.List? websites; + + Chain({ + this.chainNames, + this.locationCount, + this.name, + this.websites, + }); + + Chain.fromJson(core.Map _json) + : this( + chainNames: _json.containsKey('chainNames') + ? (_json['chainNames'] as core.List) + .map((value) => ChainName.fromJson( + value as core.Map)) + .toList() + : null, + locationCount: _json.containsKey('locationCount') + ? _json['locationCount'] as core.int + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + websites: _json.containsKey('websites') + ? (_json['websites'] as core.List) + .map((value) => ChainUri.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (chainNames != null) + 'chainNames': chainNames!.map((value) => value.toJson()).toList(), + if (locationCount != null) 'locationCount': locationCount!, + if (name != null) 'name': name!, + if (websites != null) + 'websites': websites!.map((value) => value.toJson()).toList(), + }; +} + +/// Name to be used when displaying the chain. +class ChainName { + /// The display name for this chain. + core.String? displayName; + + /// The BCP 47 code of language of the name. + core.String? languageCode; + + ChainName({ + this.displayName, + this.languageCode, + }); + + ChainName.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (languageCode != null) 'languageCode': languageCode!, + }; +} + +/// Url to be used when displaying the chain. +class ChainUri { + /// The uri for this chain. + core.String? uri; + + ChainUri({ + this.uri, + }); + + ChainUri.fromJson(core.Map _json) + : this( + uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (uri != null) 'uri': uri!, + }; +} + +/// Request message for Locations.ClearLocationAssociationRequest. +class ClearLocationAssociationRequest { + ClearLocationAssociationRequest(); + + ClearLocationAssociationRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Represents a whole or partial calendar date, such as a birthday. +/// +/// The time of day and time zone are either specified elsewhere or are +/// insignificant. The date is relative to the Gregorian Calendar. This can +/// represent one of the following: * A full date, with non-zero year, month, +/// and day values * A month and day value, with a zero year, such as an +/// anniversary * A year on its own, with zero month and day values * A year and +/// month value, with a zero day, such as a credit card expiration date Related +/// types are google.type.TimeOfDay and `google.protobuf.Timestamp`. +class Date { + /// Day of a month. + /// + /// Must be from 1 to 31 and valid for the year and month, or 0 to specify a + /// year by itself or a year and month where the day isn't significant. + core.int? day; + + /// Month of a year. + /// + /// Must be from 1 to 12, or 0 to specify a year without a month and day. + core.int? month; + + /// Year of the date. + /// + /// Must be from 1 to 9999, or 0 to specify a date without a year. + core.int? year; + + Date({ + this.day, + this.month, + this.year, + }); + + Date.fromJson(core.Map _json) + : this( + day: _json.containsKey('day') ? _json['day'] as core.int : null, + month: _json.containsKey('month') ? _json['month'] as core.int : null, + year: _json.containsKey('year') ? _json['year'] as core.int : null, + ); + + core.Map toJson() => { + if (day != null) 'day': day!, + if (month != null) 'month': month!, + if (year != null) 'year': year!, + }; +} + +/// A generic empty message that you can re-use to avoid defining duplicated +/// empty messages in your APIs. +/// +/// A typical example is to use it as the request or the response type of an API +/// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns +/// (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON +/// object `{}`. +class Empty { + Empty(); + + Empty.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Represents a free-form service offered by the merchant. +/// +/// These are services that are not exposed as part of our structure service +/// data. The merchant manually enters the names for of such services via a +/// geomerchant surface. +class FreeFormServiceItem { + /// This field represents the category name (i.e. the category's stable ID). + /// + /// The `category` and `service_type_id` should match the possible + /// combinations provided in the `Category` message. + /// + /// Required. + core.String? category; + + /// Language-tagged labels for the item. + /// + /// We recommend that item names be 140 characters or less, and descriptions + /// 250 characters or less. This field should only be set if the input is a + /// custom service item. Standardized service types should be updated via + /// service_type_id. + /// + /// Required. + Label? label; + + FreeFormServiceItem({ + this.category, + this.label, + }); + + FreeFormServiceItem.fromJson(core.Map _json) + : this( + category: _json.containsKey('category') + ? _json['category'] as core.String + : null, + label: _json.containsKey('label') + ? Label.fromJson( + _json['label'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (category != null) 'category': category!, + if (label != null) 'label': label!.toJson(), + }; +} + +/// Represents a Location that is present on Google. +/// +/// This can be a location that has been claimed by the user, someone else, or +/// could be unclaimed. +class GoogleLocation { + /// The sparsely populated Location information. + /// + /// This field can be re-used in CreateLocation if it is not currently claimed + /// by a user. + Location? location; + + /// Resource name of this GoogleLocation, in the format + /// `googleLocations/{googleLocationId}`. + core.String? name; + + /// A URL that will redirect the user to the request admin rights UI. + /// + /// This field is only present if the location has already been claimed by any + /// user, including the current user. + core.String? requestAdminRightsUri; + + GoogleLocation({ + this.location, + this.name, + this.requestAdminRightsUri, + }); + + GoogleLocation.fromJson(core.Map _json) + : this( + location: _json.containsKey('location') + ? Location.fromJson( + _json['location'] as core.Map) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + requestAdminRightsUri: _json.containsKey('requestAdminRightsUri') + ? _json['requestAdminRightsUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (location != null) 'location': location!.toJson(), + if (name != null) 'name': name!, + if (requestAdminRightsUri != null) + 'requestAdminRightsUri': requestAdminRightsUri!, + }; +} + +/// Represents a location that was modified by Google. +class GoogleUpdatedLocation { + /// The fields that Google updated. + core.String? diffMask; + + /// The Google-updated version of this location. + Location? location; + + /// The fields that have pending edits that haven't yet been pushed to Maps + /// and Search. + core.String? pendingMask; + + GoogleUpdatedLocation({ + this.diffMask, + this.location, + this.pendingMask, + }); + + GoogleUpdatedLocation.fromJson(core.Map _json) + : this( + diffMask: _json.containsKey('diffMask') + ? _json['diffMask'] as core.String + : null, + location: _json.containsKey('location') + ? Location.fromJson( + _json['location'] as core.Map) + : null, + pendingMask: _json.containsKey('pendingMask') + ? _json['pendingMask'] as core.String + : null, + ); + + core.Map toJson() => { + if (diffMask != null) 'diffMask': diffMask!, + if (location != null) 'location': location!.toJson(), + if (pendingMask != null) 'pendingMask': pendingMask!, + }; +} + +/// Label to be used when displaying the price list, section, or item. +class Label { + /// Description of the price list, section, or item. + /// + /// Optional. + core.String? description; + + /// Display name for the price list, section, or item. + /// + /// Required. + core.String? displayName; + + /// The BCP-47 language code that these strings apply for. + /// + /// Only one set of labels may be set per language. + /// + /// Optional. + core.String? languageCode; + + Label({ + this.description, + this.displayName, + this.languageCode, + }); + + Label.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (languageCode != null) 'languageCode': languageCode!, + }; +} + +/// An object that represents a latitude/longitude pair. +/// +/// This is expressed as a pair of doubles to represent degrees latitude and +/// degrees longitude. Unless specified otherwise, this object must conform to +/// the WGS84 standard. Values must be within normalized ranges. +class LatLng { + /// The latitude in degrees. + /// + /// It must be in the range \[-90.0, +90.0\]. + core.double? latitude; + + /// The longitude in degrees. + /// + /// It must be in the range \[-180.0, +180.0\]. + core.double? longitude; + + LatLng({ + this.latitude, + this.longitude, + }); + + LatLng.fromJson(core.Map _json) + : this( + latitude: _json.containsKey('latitude') + ? (_json['latitude'] as core.num).toDouble() + : null, + longitude: _json.containsKey('longitude') + ? (_json['longitude'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (latitude != null) 'latitude': latitude!, + if (longitude != null) 'longitude': longitude!, + }; +} + +/// Response for AttributesService.ListAttributeMetadata. +class ListAttributeMetadataResponse { + /// A collection of attribute metadata for the available attributes. + core.List? attributeMetadata; + + /// If the number of attributes exceeded the requested page size, this field + /// will be populated with a token to fetch the next page of attributes on a + /// subsequent call to `attributes.list`. + /// + /// If there are no more attributes, this field will not be present in the + /// response. + core.String? nextPageToken; + + ListAttributeMetadataResponse({ + this.attributeMetadata, + this.nextPageToken, + }); + + ListAttributeMetadataResponse.fromJson(core.Map _json) + : this( + attributeMetadata: _json.containsKey('attributeMetadata') + ? (_json['attributeMetadata'] as core.List) + .map((value) => AttributeMetadata.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (attributeMetadata != null) + 'attributeMetadata': + attributeMetadata!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for BusinessCategories.ListCategories. +class ListCategoriesResponse { + /// The matching categories based on the requested parameters. + core.List? categories; + + /// If the number of categories exceeded the requested page size, this field + /// will be populated with a token to fetch the next page of categories on a + /// subsequent call to `ListCategories`. + core.String? nextPageToken; + + ListCategoriesResponse({ + this.categories, + this.nextPageToken, + }); + + ListCategoriesResponse.fromJson(core.Map _json) + : this( + categories: _json.containsKey('categories') + ? (_json['categories'] as core.List) + .map((value) => Category.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (categories != null) + 'categories': categories!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for Locations.ListLocations. +class ListLocationsResponse { + /// The locations. + core.List? locations; + + /// If the number of locations exceeded the requested page size, this field is + /// populated with a token to fetch the next page of locations on a subsequent + /// call to `ListLocations`. + /// + /// If there are no more locations, this field is not present in the response. + core.String? nextPageToken; + + /// The approximate number of Locations in the list irrespective of + /// pagination. + core.int? totalSize; + + ListLocationsResponse({ + this.locations, + this.nextPageToken, + this.totalSize, + }); + + ListLocationsResponse.fromJson(core.Map _json) + : this( + locations: _json.containsKey('locations') + ? (_json['locations'] as core.List) + .map((value) => Location.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + totalSize: _json.containsKey('totalSize') + ? _json['totalSize'] as core.int + : null, + ); + + core.Map toJson() => { + if (locations != null) + 'locations': locations!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (totalSize != null) 'totalSize': totalSize!, + }; +} + +/// A location. +/// +/// See the +/// [help center article](https://support.google.com/business/answer/3038177) +/// for a detailed description of these fields, or the \[category +/// endpoint\](/my-business/reference/rest/v4/categories) for a list of valid +/// business categories. +class Location { + /// Additional information that is surfaced in AdWords. + /// + /// Optional. + AdWordsLocationExtensions? adWordsLocationExtensions; + + /// The different categories that describe the business. + /// + /// Optional. + Categories? categories; + + /// A collection of free-form strings to allow you to tag your business. + /// + /// These labels are NOT user facing; only you can see them. Must be between + /// 1-255 characters per label. + /// + /// Optional. + core.List? labels; + + /// The language of the location. + /// + /// Set during creation and not updateable. + /// + /// Immutable. + core.String? languageCode; + + /// User-provided latitude and longitude. + /// + /// When creating a location, this field is ignored if the provided address + /// geocodes successfully. This field is only returned on get requests if the + /// user-provided `latlng` value was accepted during create, or the `latlng` + /// value was updated through the Google My Business website. This field can + /// only be updated by approved clients. + /// + /// Optional. + LatLng? latlng; + + /// Additional non-user-editable information. + /// + /// Output only. + Metadata? metadata; + + /// More hours for a business's different departments or specific customers. + /// + /// Optional. + core.List? moreHours; + + /// Google identifier for this location in the form: + /// `locations/{location_id}`. + core.String? name; + + /// A flag that indicates whether the location is currently open for business. + /// + /// Optional. + OpenInfo? openInfo; + + /// The different phone numbers that customers can use to get in touch with + /// the business. + /// + /// Optional. + PhoneNumbers? phoneNumbers; + + /// Describes your business in your own voice and shares with users the unique + /// story of your business and offerings. + /// + /// Required. + Profile? profile; + + /// Operating hours for the business. + /// + /// Optional. + BusinessHours? regularHours; + + /// All locations and chain related to this one. + /// + /// Output only. + RelationshipData? relationshipData; + + /// Service area businesses provide their service at the customer's location. + /// + /// If this business is a service area business, this field describes the + /// area(s) serviced by the business. + /// + /// Optional. + ServiceAreaBusiness? serviceArea; + + /// List of services supported by merchants. + /// + /// A service can be haircut, install water heater, etc. Duplicated service + /// items will be removed automatically. + /// + /// Optional. + core.List? serviceItems; + + /// Special hours for the business. + /// + /// This typically includes holiday hours, and other times outside of regular + /// operating hours. These override regular business hours. This field cannot + /// be set without regular hours. + /// + /// Optional. + SpecialHours? specialHours; + + /// External identifier for this location, which must be unique within a given + /// account. + /// + /// This is a means of associating the location with your own records. + /// + /// Optional. + core.String? storeCode; + + /// A precise, accurate address to describe your business location. + /// + /// PO boxes or mailboxes located at remote locations are not acceptable. At + /// this time, you can specify a maximum of five `address_lines` values in the + /// address. This field should only be set for businesses that have a + /// storefront. This field should not be set for locations of type + /// `CUSTOMER_LOCATION_ONLY`. + /// + /// Optional. + PostalAddress? storefrontAddress; + + /// Location name should reflect your business's real-world name, as used + /// consistently on your storefront, website, and stationery, and as known to + /// customers. + /// + /// Any additional information, when relevant, can be included in other fields + /// of the resource (for example, `Address`, `Categories`). Don't add + /// unnecessary information to your name (for example, prefer "Google" over + /// "Google Inc. - Mountain View Corporate Headquarters"). Don't include + /// marketing taglines, store codes, special characters, hours or closed/open + /// status, phone numbers, website URLs, service/product information, + /// location/address or directions, or containment information (for example, + /// "Chase ATM in Duane Reade"). + /// + /// Required. + core.String? title; + + /// A URL for this business. + /// + /// If possible, use a URL that represents this individual business location + /// instead of a generic website/URL that represents all locations, or the + /// brand. + /// + /// Optional. + core.String? websiteUri; + + Location({ + this.adWordsLocationExtensions, + this.categories, + this.labels, + this.languageCode, + this.latlng, + this.metadata, + this.moreHours, + this.name, + this.openInfo, + this.phoneNumbers, + this.profile, + this.regularHours, + this.relationshipData, + this.serviceArea, + this.serviceItems, + this.specialHours, + this.storeCode, + this.storefrontAddress, + this.title, + this.websiteUri, + }); + + Location.fromJson(core.Map _json) + : this( + adWordsLocationExtensions: + _json.containsKey('adWordsLocationExtensions') + ? AdWordsLocationExtensions.fromJson( + _json['adWordsLocationExtensions'] + as core.Map) + : null, + categories: _json.containsKey('categories') + ? Categories.fromJson( + _json['categories'] as core.Map) + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + latlng: _json.containsKey('latlng') + ? LatLng.fromJson( + _json['latlng'] as core.Map) + : null, + metadata: _json.containsKey('metadata') + ? Metadata.fromJson( + _json['metadata'] as core.Map) + : null, + moreHours: _json.containsKey('moreHours') + ? (_json['moreHours'] as core.List) + .map((value) => MoreHours.fromJson( + value as core.Map)) + .toList() + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + openInfo: _json.containsKey('openInfo') + ? OpenInfo.fromJson( + _json['openInfo'] as core.Map) + : null, + phoneNumbers: _json.containsKey('phoneNumbers') + ? PhoneNumbers.fromJson( + _json['phoneNumbers'] as core.Map) + : null, + profile: _json.containsKey('profile') + ? Profile.fromJson( + _json['profile'] as core.Map) + : null, + regularHours: _json.containsKey('regularHours') + ? BusinessHours.fromJson( + _json['regularHours'] as core.Map) + : null, + relationshipData: _json.containsKey('relationshipData') + ? RelationshipData.fromJson(_json['relationshipData'] + as core.Map) + : null, + serviceArea: _json.containsKey('serviceArea') + ? ServiceAreaBusiness.fromJson( + _json['serviceArea'] as core.Map) + : null, + serviceItems: _json.containsKey('serviceItems') + ? (_json['serviceItems'] as core.List) + .map((value) => ServiceItem.fromJson( + value as core.Map)) + .toList() + : null, + specialHours: _json.containsKey('specialHours') + ? SpecialHours.fromJson( + _json['specialHours'] as core.Map) + : null, + storeCode: _json.containsKey('storeCode') + ? _json['storeCode'] as core.String + : null, + storefrontAddress: _json.containsKey('storefrontAddress') + ? PostalAddress.fromJson(_json['storefrontAddress'] + as core.Map) + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + websiteUri: _json.containsKey('websiteUri') + ? _json['websiteUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (adWordsLocationExtensions != null) + 'adWordsLocationExtensions': adWordsLocationExtensions!.toJson(), + if (categories != null) 'categories': categories!.toJson(), + if (labels != null) 'labels': labels!, + if (languageCode != null) 'languageCode': languageCode!, + if (latlng != null) 'latlng': latlng!.toJson(), + if (metadata != null) 'metadata': metadata!.toJson(), + if (moreHours != null) + 'moreHours': moreHours!.map((value) => value.toJson()).toList(), + if (name != null) 'name': name!, + if (openInfo != null) 'openInfo': openInfo!.toJson(), + if (phoneNumbers != null) 'phoneNumbers': phoneNumbers!.toJson(), + if (profile != null) 'profile': profile!.toJson(), + if (regularHours != null) 'regularHours': regularHours!.toJson(), + if (relationshipData != null) + 'relationshipData': relationshipData!.toJson(), + if (serviceArea != null) 'serviceArea': serviceArea!.toJson(), + if (serviceItems != null) + 'serviceItems': serviceItems!.map((value) => value.toJson()).toList(), + if (specialHours != null) 'specialHours': specialHours!.toJson(), + if (storeCode != null) 'storeCode': storeCode!, + if (storefrontAddress != null) + 'storefrontAddress': storefrontAddress!.toJson(), + if (title != null) 'title': title!, + if (websiteUri != null) 'websiteUri': websiteUri!, + }; +} + +/// Additional non-user-editable information about the location. +class Metadata { + /// Indicates whether the location can be deleted using the API. + /// + /// Output only. + core.bool? canDelete; + + /// Indicates if the listing is eligible for food menu. + /// + /// Output only. + core.bool? canHaveFoodMenus; + + /// Indicates if the listing can modify the service list. + /// + /// Output only. + core.bool? canModifyServiceList; + + /// Indicates whether the location can operate on Health data. + /// + /// Output only. + core.bool? canOperateHealthData; + + /// Indicates if the listing can manage local posts. + /// + /// Output only. + core.bool? canOperateLocalPost; + + /// Indicates whether the location can operate on Lodging data. + /// + /// Output only. + core.bool? canOperateLodgingData; + + /// The location resource that this location duplicates. + /// + /// Output only. + core.String? duplicateLocation; + + /// Indicates whether the place ID associated with this location has updates + /// that need to be updated or rejected by the client. + /// + /// If this boolean is set, you should call the `getGoogleUpdated` method to + /// lookup information that's needs to be verified. + /// + /// Output only. + core.bool? hasGoogleUpdated; + + /// Indicates whether any of this Location's properties are in the edit + /// pending state. + /// + /// Output only. + core.bool? hasPendingEdits; + + /// A link to the location on Maps. + /// + /// Output only. + core.String? mapsUri; + + /// A link to the page on Google Search where a customer can leave a review + /// for the location. + /// + /// Output only. + core.String? newReviewUri; + + /// If this locationappears on Google Maps, this field is populated with the + /// place ID for the location. + /// + /// This ID can be used in various Places APIs. This field can be set during + /// Create calls, but not for Update. + /// + /// Output only. + core.String? placeId; + + Metadata({ + this.canDelete, + this.canHaveFoodMenus, + this.canModifyServiceList, + this.canOperateHealthData, + this.canOperateLocalPost, + this.canOperateLodgingData, + this.duplicateLocation, + this.hasGoogleUpdated, + this.hasPendingEdits, + this.mapsUri, + this.newReviewUri, + this.placeId, + }); + + Metadata.fromJson(core.Map _json) + : this( + canDelete: _json.containsKey('canDelete') + ? _json['canDelete'] as core.bool + : null, + canHaveFoodMenus: _json.containsKey('canHaveFoodMenus') + ? _json['canHaveFoodMenus'] as core.bool + : null, + canModifyServiceList: _json.containsKey('canModifyServiceList') + ? _json['canModifyServiceList'] as core.bool + : null, + canOperateHealthData: _json.containsKey('canOperateHealthData') + ? _json['canOperateHealthData'] as core.bool + : null, + canOperateLocalPost: _json.containsKey('canOperateLocalPost') + ? _json['canOperateLocalPost'] as core.bool + : null, + canOperateLodgingData: _json.containsKey('canOperateLodgingData') + ? _json['canOperateLodgingData'] as core.bool + : null, + duplicateLocation: _json.containsKey('duplicateLocation') + ? _json['duplicateLocation'] as core.String + : null, + hasGoogleUpdated: _json.containsKey('hasGoogleUpdated') + ? _json['hasGoogleUpdated'] as core.bool + : null, + hasPendingEdits: _json.containsKey('hasPendingEdits') + ? _json['hasPendingEdits'] as core.bool + : null, + mapsUri: _json.containsKey('mapsUri') + ? _json['mapsUri'] as core.String + : null, + newReviewUri: _json.containsKey('newReviewUri') + ? _json['newReviewUri'] as core.String + : null, + placeId: _json.containsKey('placeId') + ? _json['placeId'] as core.String + : null, + ); + + core.Map toJson() => { + if (canDelete != null) 'canDelete': canDelete!, + if (canHaveFoodMenus != null) 'canHaveFoodMenus': canHaveFoodMenus!, + if (canModifyServiceList != null) + 'canModifyServiceList': canModifyServiceList!, + if (canOperateHealthData != null) + 'canOperateHealthData': canOperateHealthData!, + if (canOperateLocalPost != null) + 'canOperateLocalPost': canOperateLocalPost!, + if (canOperateLodgingData != null) + 'canOperateLodgingData': canOperateLodgingData!, + if (duplicateLocation != null) 'duplicateLocation': duplicateLocation!, + if (hasGoogleUpdated != null) 'hasGoogleUpdated': hasGoogleUpdated!, + if (hasPendingEdits != null) 'hasPendingEdits': hasPendingEdits!, + if (mapsUri != null) 'mapsUri': mapsUri!, + if (newReviewUri != null) 'newReviewUri': newReviewUri!, + if (placeId != null) 'placeId': placeId!, + }; +} + +/// Represents an amount of money with its currency type. +class Money { + /// The three-letter currency code defined in ISO 4217. + core.String? currencyCode; + + /// Number of nano (10^-9) units of the amount. + /// + /// The value must be between -999,999,999 and +999,999,999 inclusive. If + /// `units` is positive, `nanos` must be positive or zero. If `units` is zero, + /// `nanos` can be positive, zero, or negative. If `units` is negative, + /// `nanos` must be negative or zero. For example $-1.75 is represented as + /// `units`=-1 and `nanos`=-750,000,000. + core.int? nanos; + + /// The whole units of the amount. + /// + /// For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + core.String? units; + + Money({ + this.currencyCode, + this.nanos, + this.units, + }); + + Money.fromJson(core.Map _json) + : this( + currencyCode: _json.containsKey('currencyCode') + ? _json['currencyCode'] as core.String + : null, + nanos: _json.containsKey('nanos') ? _json['nanos'] as core.int : null, + units: + _json.containsKey('units') ? _json['units'] as core.String : null, + ); + + core.Map toJson() => { + if (currencyCode != null) 'currencyCode': currencyCode!, + if (nanos != null) 'nanos': nanos!, + if (units != null) 'units': units!, + }; +} + +/// The time periods during which a location is open for certain types of +/// business. +class MoreHours { + /// Type of hours. + /// + /// Clients should call {#link businessCategories:BatchGet} to get supported + /// hours types for categories of their locations. + /// + /// Required. + core.String? hoursTypeId; + + /// A collection of times that this location is open. + /// + /// Each period represents a range of hours when the location is open during + /// the week. + /// + /// Required. + core.List? periods; + + MoreHours({ + this.hoursTypeId, + this.periods, + }); + + MoreHours.fromJson(core.Map _json) + : this( + hoursTypeId: _json.containsKey('hoursTypeId') + ? _json['hoursTypeId'] as core.String + : null, + periods: _json.containsKey('periods') + ? (_json['periods'] as core.List) + .map((value) => TimePeriod.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (hoursTypeId != null) 'hoursTypeId': hoursTypeId!, + if (periods != null) + 'periods': periods!.map((value) => value.toJson()).toList(), + }; +} + +/// More hours types that a business can offers, in addition to its regular +/// hours. +class MoreHoursType { + /// The human-readable English display name for the hours type. + /// + /// Output only. + core.String? displayName; + + /// A stable ID provided by Google for this hours type. + /// + /// Output only. + core.String? hoursTypeId; + + /// The human-readable localized display name for the hours type. + /// + /// Output only. + core.String? localizedDisplayName; + + MoreHoursType({ + this.displayName, + this.hoursTypeId, + this.localizedDisplayName, + }); + + MoreHoursType.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + hoursTypeId: _json.containsKey('hoursTypeId') + ? _json['hoursTypeId'] as core.String + : null, + localizedDisplayName: _json.containsKey('localizedDisplayName') + ? _json['localizedDisplayName'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (hoursTypeId != null) 'hoursTypeId': hoursTypeId!, + if (localizedDisplayName != null) + 'localizedDisplayName': localizedDisplayName!, + }; +} + +/// Information related to the opening state of the business. +class OpenInfo { + /// Indicates whether this business is eligible for re-open. + /// + /// Output only. + core.bool? canReopen; + + /// The date on which the location first opened. + /// + /// If the exact day is not known, month and year only can be provided. The + /// date must be in the past or be no more than one year in the future. + /// + /// Optional. + Date? openingDate; + + /// Indicates whether or not the Location is currently open for business. + /// + /// All locations are open by default, unless updated to be closed. + /// + /// Required. + /// Possible string values are: + /// - "OPEN_FOR_BUSINESS_UNSPECIFIED" : Not specified. + /// - "OPEN" : Indicates that the location is open. + /// - "CLOSED_PERMANENTLY" : Indicates that the location has been permanently + /// closed. + /// - "CLOSED_TEMPORARILY" : Indicates that the location has been temporarily + /// closed. + core.String? status; + + OpenInfo({ + this.canReopen, + this.openingDate, + this.status, + }); + + OpenInfo.fromJson(core.Map _json) + : this( + canReopen: _json.containsKey('canReopen') + ? _json['canReopen'] as core.bool + : null, + openingDate: _json.containsKey('openingDate') + ? Date.fromJson( + _json['openingDate'] as core.Map) + : null, + status: _json.containsKey('status') + ? _json['status'] as core.String + : null, + ); + + core.Map toJson() => { + if (canReopen != null) 'canReopen': canReopen!, + if (openingDate != null) 'openingDate': openingDate!.toJson(), + if (status != null) 'status': status!, + }; +} + +/// A collection of phone numbers for the business. +/// +/// During updates, both fields must be set. Clients may not update just the +/// primary or additional phone numbers using the update mask. International +/// phone format is preferred, such as "+1 415 555 0132", see more in +/// (https://developers.google.com/style/phone-numbers#international-phone-numbers). +class PhoneNumbers { + /// Up to two phone numbers (mobile or landline, no fax) at which your + /// business can be called, in addition to your primary phone number. + /// + /// Optional. + core.List? additionalPhones; + + /// A phone number that connects to your individual business location as + /// directly as possible. + /// + /// Use a local phone number instead of a central, call center helpline number + /// whenever possible. + /// + /// Required. + core.String? primaryPhone; + + PhoneNumbers({ + this.additionalPhones, + this.primaryPhone, + }); + + PhoneNumbers.fromJson(core.Map _json) + : this( + additionalPhones: _json.containsKey('additionalPhones') + ? (_json['additionalPhones'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + primaryPhone: _json.containsKey('primaryPhone') + ? _json['primaryPhone'] as core.String + : null, + ); + + core.Map toJson() => { + if (additionalPhones != null) 'additionalPhones': additionalPhones!, + if (primaryPhone != null) 'primaryPhone': primaryPhone!, + }; +} + +/// Defines an area that's represented by a place ID. +class PlaceInfo { + /// The ID of the place. + /// + /// Must correspond to a region. + /// (https://developers.google.com/places/web-service/supported_types#table3) + /// + /// Required. + core.String? placeId; + + /// The localized name of the place. + /// + /// For example, `Scottsdale, AZ`. + /// + /// Required. + core.String? placeName; + + PlaceInfo({ + this.placeId, + this.placeName, + }); + + PlaceInfo.fromJson(core.Map _json) + : this( + placeId: _json.containsKey('placeId') + ? _json['placeId'] as core.String + : null, + placeName: _json.containsKey('placeName') + ? _json['placeName'] as core.String + : null, + ); + + core.Map toJson() => { + if (placeId != null) 'placeId': placeId!, + if (placeName != null) 'placeName': placeName!, + }; +} + +/// Defines the union of areas represented by a set of places. +class Places { + /// The areas represented by place IDs. + /// + /// Limited to a maximum of 20 places. + core.List? placeInfos; + + Places({ + this.placeInfos, + }); + + Places.fromJson(core.Map _json) + : this( + placeInfos: _json.containsKey('placeInfos') + ? (_json['placeInfos'] as core.List) + .map((value) => PlaceInfo.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (placeInfos != null) + 'placeInfos': placeInfos!.map((value) => value.toJson()).toList(), + }; +} + +/// Represents a postal address, e.g. for postal delivery or payments addresses. +/// +/// Given a postal address, a postal service can deliver items to a premise, +/// P.O. Box or similar. It is not intended to model geographical locations +/// (roads, towns, mountains). In typical usage an address would be created via +/// user input or from importing existing data, depending on the type of +/// process. Advice on address input / editing: - Use an i18n-ready address +/// widget such as https://github.com/google/libaddressinput) - Users should not +/// be presented with UI elements for input or editing of fields outside +/// countries where that field is used. For more guidance on how to use this +/// schema, please see: https://support.google.com/business/answer/6397478 +class PostalAddress { + /// Unstructured address lines describing the lower levels of an address. + /// + /// Because values in address_lines do not have type information and may + /// sometimes contain multiple values in a single field (e.g. "Austin, TX"), + /// it is important that the line order is clear. The order of address lines + /// should be "envelope order" for the country/region of the address. In + /// places where this can vary (e.g. Japan), address_language is used to make + /// it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" + /// for small-to-large). This way, the most specific line of an address can be + /// selected based on the language. The minimum permitted structural + /// representation of an address consists of a region_code with all remaining + /// information placed in the address_lines. It would be possible to format + /// such an address very approximately without geocoding, but no semantic + /// reasoning could be made about any of the address components until it was + /// at least partially resolved. Creating an address only containing a + /// region_code and address_lines, and then geocoding is the recommended way + /// to handle completely unstructured addresses (as opposed to guessing which + /// parts of the address should be localities or administrative areas). + core.List? addressLines; + + /// Highest administrative subdivision which is used for postal addresses of a + /// country or region. + /// + /// For example, this can be a state, a province, an oblast, or a prefecture. + /// Specifically, for Spain this is the province and not the autonomous + /// community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use + /// an administrative area in postal addresses. E.g. in Switzerland this + /// should be left unpopulated. + /// + /// Optional. + core.String? administrativeArea; + + /// BCP-47 language code of the contents of this address (if known). + /// + /// This is often the UI language of the input form or is expected to match + /// one of the languages used in the address' country/region, or their + /// transliterated equivalents. This can affect formatting in certain + /// countries, but is not critical to the correctness of the data and will + /// never affect any validation or other non-formatting related operations. If + /// this value is not known, it should be omitted (rather than specifying a + /// possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en". + /// + /// Optional. + core.String? languageCode; + + /// Generally refers to the city/town portion of the address. + /// + /// Examples: US city, IT comune, UK post town. In regions of the world where + /// localities are not well defined or do not fit into this structure well, + /// leave locality empty and use address_lines. + /// + /// Optional. + core.String? locality; + + /// The name of the organization at the address. + /// + /// Optional. + core.String? organization; + + /// Postal code of the address. + /// + /// Not all countries use or require postal codes to be present, but where + /// they are used, they may trigger additional validation with other parts of + /// the address (e.g. state/zip validation in the U.S.A.). + /// + /// Optional. + core.String? postalCode; + + /// The recipient at the address. + /// + /// This field may, under certain circumstances, contain multiline + /// information. For example, it might contain "care of" information. + /// + /// Optional. + core.List? recipients; + + /// CLDR region code of the country/region of the address. + /// + /// This is never inferred and it is up to the user to ensure the value is + /// correct. See http://cldr.unicode.org/ and + /// http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + /// for details. Example: "CH" for Switzerland. + /// + /// Required. + core.String? regionCode; + + /// The schema revision of the `PostalAddress`. + /// + /// This must be set to 0, which is the latest revision. All new revisions + /// **must** be backward compatible with old revisions. + core.int? revision; + + /// Additional, country-specific, sorting code. + /// + /// This is not used in most regions. Where it is used, the value is either a + /// string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or + /// just a number alone, representing the "sector code" (Jamaica), "delivery + /// area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). + /// + /// Optional. + core.String? sortingCode; + + /// Sublocality of the address. + /// + /// For example, this can be neighborhoods, boroughs, districts. + /// + /// Optional. + core.String? sublocality; + + PostalAddress({ + this.addressLines, + this.administrativeArea, + this.languageCode, + this.locality, + this.organization, + this.postalCode, + this.recipients, + this.regionCode, + this.revision, + this.sortingCode, + this.sublocality, + }); + + PostalAddress.fromJson(core.Map _json) + : this( + addressLines: _json.containsKey('addressLines') + ? (_json['addressLines'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + administrativeArea: _json.containsKey('administrativeArea') + ? _json['administrativeArea'] as core.String + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + locality: _json.containsKey('locality') + ? _json['locality'] as core.String + : null, + organization: _json.containsKey('organization') + ? _json['organization'] as core.String + : null, + postalCode: _json.containsKey('postalCode') + ? _json['postalCode'] as core.String + : null, + recipients: _json.containsKey('recipients') + ? (_json['recipients'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + regionCode: _json.containsKey('regionCode') + ? _json['regionCode'] as core.String + : null, + revision: _json.containsKey('revision') + ? _json['revision'] as core.int + : null, + sortingCode: _json.containsKey('sortingCode') + ? _json['sortingCode'] as core.String + : null, + sublocality: _json.containsKey('sublocality') + ? _json['sublocality'] as core.String + : null, + ); + + core.Map toJson() => { + if (addressLines != null) 'addressLines': addressLines!, + if (administrativeArea != null) + 'administrativeArea': administrativeArea!, + if (languageCode != null) 'languageCode': languageCode!, + if (locality != null) 'locality': locality!, + if (organization != null) 'organization': organization!, + if (postalCode != null) 'postalCode': postalCode!, + if (recipients != null) 'recipients': recipients!, + if (regionCode != null) 'regionCode': regionCode!, + if (revision != null) 'revision': revision!, + if (sortingCode != null) 'sortingCode': sortingCode!, + if (sublocality != null) 'sublocality': sublocality!, + }; +} + +/// All information pertaining to the location's profile. +class Profile { + /// Description of the location in your own voice, not editable by anyone + /// else. + /// + /// Required. + core.String? description; + + Profile({ + this.description, + }); + + Profile.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + }; +} + +/// Information of all parent and children locations related to this one. +class RelationshipData { + /// The list of children locations that this location has relations with. + core.List? childrenLocations; + + /// The resource name of the Chain that this location is member of. + /// + /// How to find Chain ID + core.String? parentChain; + + /// The parent location that this location has relations with. + RelevantLocation? parentLocation; + + RelationshipData({ + this.childrenLocations, + this.parentChain, + this.parentLocation, + }); + + RelationshipData.fromJson(core.Map _json) + : this( + childrenLocations: _json.containsKey('childrenLocations') + ? (_json['childrenLocations'] as core.List) + .map((value) => RelevantLocation.fromJson( + value as core.Map)) + .toList() + : null, + parentChain: _json.containsKey('parentChain') + ? _json['parentChain'] as core.String + : null, + parentLocation: _json.containsKey('parentLocation') + ? RelevantLocation.fromJson(_json['parentLocation'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (childrenLocations != null) + 'childrenLocations': + childrenLocations!.map((value) => value.toJson()).toList(), + if (parentChain != null) 'parentChain': parentChain!, + if (parentLocation != null) 'parentLocation': parentLocation!.toJson(), + }; +} + +/// Information about another location that is related to current one. +/// +/// The relation can be any one of DEPARTMENT_OF or +/// INDEPENDENT_ESTABLISHMENT_OF, and the location specified here can be on +/// either side (parent/child) of the location. +class RelevantLocation { + /// Specify the location that is on the other side of the relation by its + /// placeID. + /// + /// Required. + core.String? placeId; + + /// The type of the relationship. + /// + /// Required. + /// Possible string values are: + /// - "RELATION_TYPE_UNSPECIFIED" : Type unspecified. + /// - "DEPARTMENT_OF" : This represents a relation between 2 locations which + /// share one physical area, same brand/upper management/organization, but + /// with different key attributes like store hours or phone numbers. For + /// example, Costco Pharmacy is a department in Costco Wholesale. + /// - "INDEPENDENT_ESTABLISHMENT_IN" : This represents the cases where 2 + /// locations are co-located in the same physical location, but from different + /// companies (e.g. Starbucks in a Safeway, shops in a mall). + core.String? relationType; + + RelevantLocation({ + this.placeId, + this.relationType, + }); + + RelevantLocation.fromJson(core.Map _json) + : this( + placeId: _json.containsKey('placeId') + ? _json['placeId'] as core.String + : null, + relationType: _json.containsKey('relationType') + ? _json['relationType'] as core.String + : null, + ); + + core.Map toJson() => { + if (placeId != null) 'placeId': placeId!, + if (relationType != null) 'relationType': relationType!, + }; +} + +/// Values for an attribute with a `value_type` of REPEATED_ENUM. +/// +/// This consists of two lists of value IDs: those that are set (true) and those +/// that are unset (false). Values absent are considered unknown. At least one +/// value must be specified. +class RepeatedEnumAttributeValue { + /// Enum values that are set. + core.List? setValues; + + /// Enum values that are unset. + core.List? unsetValues; + + RepeatedEnumAttributeValue({ + this.setValues, + this.unsetValues, + }); + + RepeatedEnumAttributeValue.fromJson(core.Map _json) + : this( + setValues: _json.containsKey('setValues') + ? (_json['setValues'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + unsetValues: _json.containsKey('unsetValues') + ? (_json['unsetValues'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (setValues != null) 'setValues': setValues!, + if (unsetValues != null) 'unsetValues': unsetValues!, + }; +} + +/// Response message for Locations.SearchChains. +class SearchChainsResponse { + /// Chains that match the queried chain_display_name in SearchChainsRequest. + /// + /// If there are no matches, this field will be empty. Results are listed in + /// order of relevance. + core.List? chains; + + SearchChainsResponse({ + this.chains, + }); + + SearchChainsResponse.fromJson(core.Map _json) + : this( + chains: _json.containsKey('chains') + ? (_json['chains'] as core.List) + .map((value) => Chain.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (chains != null) + 'chains': chains!.map((value) => value.toJson()).toList(), + }; +} + +/// Request message for GoogleLocations.SearchGoogleLocations. +class SearchGoogleLocationsRequest { + /// Location to search for. + /// + /// If provided, will find locations which match the provided location + /// details. + Location? location; + + /// The number of matches to return. + /// + /// The default value is 3, with a maximum of 10. Note that latency may + /// increase if more are requested. There is no pagination. + core.int? pageSize; + + /// Text query to search for. + /// + /// The search results from a query string will be less accurate than if + /// providing an exact location, but can provide more inexact matches. + core.String? query; + + SearchGoogleLocationsRequest({ + this.location, + this.pageSize, + this.query, + }); + + SearchGoogleLocationsRequest.fromJson(core.Map _json) + : this( + location: _json.containsKey('location') + ? Location.fromJson( + _json['location'] as core.Map) + : null, + pageSize: _json.containsKey('pageSize') + ? _json['pageSize'] as core.int + : null, + query: + _json.containsKey('query') ? _json['query'] as core.String : null, + ); + + core.Map toJson() => { + if (location != null) 'location': location!.toJson(), + if (pageSize != null) 'pageSize': pageSize!, + if (query != null) 'query': query!, + }; +} + +/// Response message for GoogleLocations.SearchGoogleLocations. +class SearchGoogleLocationsResponse { + /// A collection of GoogleLocations that are potential matches to the + /// specified request, listed in order from most to least accuracy. + core.List? googleLocations; + + SearchGoogleLocationsResponse({ + this.googleLocations, + }); + + SearchGoogleLocationsResponse.fromJson(core.Map _json) + : this( + googleLocations: _json.containsKey('googleLocations') + ? (_json['googleLocations'] as core.List) + .map((value) => GoogleLocation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (googleLocations != null) + 'googleLocations': + googleLocations!.map((value) => value.toJson()).toList(), + }; +} + +/// Service area businesses provide their service at the customer's location +/// (for example, a locksmith or plumber). +class ServiceAreaBusiness { + /// Indicates the type of the service area business. + /// + /// Required. + /// Possible string values are: + /// - "BUSINESS_TYPE_UNSPECIFIED" : Output only. Not specified. + /// - "CUSTOMER_LOCATION_ONLY" : Offers service only in the surrounding area + /// (not at the business address). If a business is being updated from a + /// CUSTOMER_AND_BUSINESS_LOCATION to a CUSTOMER_LOCATION_ONLY, the location + /// update must include field mask `storefront_address` and set the field to + /// empty. + /// - "CUSTOMER_AND_BUSINESS_LOCATION" : Offers service at the business + /// address and the surrounding area. + core.String? businessType; + + /// The area that this business serves defined through a set of places. + Places? places; + + /// CLDR region code of the country/region that this service area business is + /// based in. + /// + /// See http://cldr.unicode.org/ and + /// http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + /// for details. Example: "CH" for Switzerland. This field is required for + /// CUSTOMER_LOCATION_ONLY businesses, and is ignored otherwise. The region + /// specified here can be different from regions for the areas that this + /// business serves (e.g. service area businesses that provide services in + /// regions other than the one that they are based in). If this location + /// requires verification after creation, the address provided for + /// verification purposes *must* be located within this region, and the + /// business owner or their authorized representative *must* be able to + /// receive postal mail at the provided verification address. + /// + /// Immutable. + core.String? regionCode; + + ServiceAreaBusiness({ + this.businessType, + this.places, + this.regionCode, + }); + + ServiceAreaBusiness.fromJson(core.Map _json) + : this( + businessType: _json.containsKey('businessType') + ? _json['businessType'] as core.String + : null, + places: _json.containsKey('places') + ? Places.fromJson( + _json['places'] as core.Map) + : null, + regionCode: _json.containsKey('regionCode') + ? _json['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (businessType != null) 'businessType': businessType!, + if (places != null) 'places': places!.toJson(), + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// A message that describes a single service item. +/// +/// It is used to describe the type of service that the merchant provides. For +/// example, haircut can be a service. +class ServiceItem { + /// This field will be set case of free-form services data. + /// + /// Optional. + FreeFormServiceItem? freeFormServiceItem; + + /// Represents the monetary price of the service item. + /// + /// We recommend that currency_code and units should be set when including a + /// price. This will be treated as a fixed price for the service item. + /// + /// Optional. + Money? price; + + /// This field will be set case of structured services data. + /// + /// Optional. + StructuredServiceItem? structuredServiceItem; + + ServiceItem({ + this.freeFormServiceItem, + this.price, + this.structuredServiceItem, + }); + + ServiceItem.fromJson(core.Map _json) + : this( + freeFormServiceItem: _json.containsKey('freeFormServiceItem') + ? FreeFormServiceItem.fromJson(_json['freeFormServiceItem'] + as core.Map) + : null, + price: _json.containsKey('price') + ? Money.fromJson( + _json['price'] as core.Map) + : null, + structuredServiceItem: _json.containsKey('structuredServiceItem') + ? StructuredServiceItem.fromJson(_json['structuredServiceItem'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (freeFormServiceItem != null) + 'freeFormServiceItem': freeFormServiceItem!.toJson(), + if (price != null) 'price': price!.toJson(), + if (structuredServiceItem != null) + 'structuredServiceItem': structuredServiceItem!.toJson(), + }; +} + +/// A message describing a service type that the business offers. +class ServiceType { + /// The human-readable display name for the service type. + /// + /// Output only. + core.String? displayName; + + /// A stable ID (provided by Google) for this service type. + /// + /// Output only. + core.String? serviceTypeId; + + ServiceType({ + this.displayName, + this.serviceTypeId, + }); + + ServiceType.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + serviceTypeId: _json.containsKey('serviceTypeId') + ? _json['serviceTypeId'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (serviceTypeId != null) 'serviceTypeId': serviceTypeId!, + }; +} + +/// Represents a single time period when a location's operational hours differ +/// from its normal business hours. +/// +/// A special hour period must represent a range of less than 24 hours. The +/// `open_time` and `start_date` must predate the `close_time` and `end_date`. +/// The `close_time` and `end_date` can extend to 11:59 a.m. on the day after +/// the specified `start_date`. For example, the following inputs are valid: +/// start_date=2015-11-23, open_time=08:00, close_time=18:00 +/// start_date=2015-11-23, end_date=2015-11-23, open_time=08:00, +/// close_time=18:00 start_date=2015-11-23, end_date=2015-11-24, +/// open_time=13:00, close_time=11:59 The following inputs are not valid: +/// start_date=2015-11-23, open_time=13:00, close_time=11:59 +/// start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, +/// close_time=12:00 start_date=2015-11-23, end_date=2015-11-25, +/// open_time=08:00, close_time=18:00 +class SpecialHourPeriod { + /// Valid values are 00:00-24:00, where 24:00 represents midnight at the end + /// of the specified day field. + /// + /// Must be specified if `closed` is false. + /// + /// Optional. + TimeOfDay? closeTime; + + /// If true, `end_date`, `open_time`, and `close_time` are ignored, and the + /// date specified in `start_date` is treated as the location being closed for + /// the entire day. + /// + /// Optional. + core.bool? closed; + + /// The calendar date this special hour period ends on. + /// + /// If `end_date` field is not set, default to the date specified in + /// `start_date`. If set, this field must be equal to or at most 1 day after + /// `start_date`. + /// + /// Optional. + Date? endDate; + + /// Valid values are 00:00-24:00 where 24:00 represents midnight at the end of + /// the specified day field. + /// + /// Must be specified if `closed` is false. + /// + /// Optional. + TimeOfDay? openTime; + + /// The calendar date this special hour period starts on. + /// + /// Required. + Date? startDate; + + SpecialHourPeriod({ + this.closeTime, + this.closed, + this.endDate, + this.openTime, + this.startDate, + }); + + SpecialHourPeriod.fromJson(core.Map _json) + : this( + closeTime: _json.containsKey('closeTime') + ? TimeOfDay.fromJson( + _json['closeTime'] as core.Map) + : null, + closed: + _json.containsKey('closed') ? _json['closed'] as core.bool : null, + endDate: _json.containsKey('endDate') + ? Date.fromJson( + _json['endDate'] as core.Map) + : null, + openTime: _json.containsKey('openTime') + ? TimeOfDay.fromJson( + _json['openTime'] as core.Map) + : null, + startDate: _json.containsKey('startDate') + ? Date.fromJson( + _json['startDate'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (closeTime != null) 'closeTime': closeTime!.toJson(), + if (closed != null) 'closed': closed!, + if (endDate != null) 'endDate': endDate!.toJson(), + if (openTime != null) 'openTime': openTime!.toJson(), + if (startDate != null) 'startDate': startDate!.toJson(), + }; +} + +/// Represents a set of time periods when a location's operational hours differ +/// from its normal business hours. +class SpecialHours { + /// A list of exceptions to the business's regular hours. + /// + /// Required. + core.List? specialHourPeriods; + + SpecialHours({ + this.specialHourPeriods, + }); + + SpecialHours.fromJson(core.Map _json) + : this( + specialHourPeriods: _json.containsKey('specialHourPeriods') + ? (_json['specialHourPeriods'] as core.List) + .map((value) => SpecialHourPeriod.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (specialHourPeriods != null) + 'specialHourPeriods': + specialHourPeriods!.map((value) => value.toJson()).toList(), + }; +} + +/// Represents a structured service offered by the merchant. +/// +/// For eg: toilet_installation. +class StructuredServiceItem { + /// Description of structured service item. + /// + /// The character limit is 300. + /// + /// Optional. + core.String? description; + + /// The `service_type_id` field is a Google provided unique ID that can be + /// found in `ServiceType`. + /// + /// This information is provided by `BatchGetCategories` rpc service. + /// + /// Required. + core.String? serviceTypeId; + + StructuredServiceItem({ + this.description, + this.serviceTypeId, + }); + + StructuredServiceItem.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + serviceTypeId: _json.containsKey('serviceTypeId') + ? _json['serviceTypeId'] as core.String + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (serviceTypeId != null) 'serviceTypeId': serviceTypeId!, + }; +} + +/// Represents a time of day. +/// +/// The date and time zone are either not significant or are specified +/// elsewhere. An API may choose to allow leap seconds. Related types are +/// google.type.Date and `google.protobuf.Timestamp`. +class TimeOfDay { + /// Hours of day in 24 hour format. + /// + /// Should be from 0 to 23. An API may choose to allow the value "24:00:00" + /// for scenarios like business closing time. + core.int? hours; + + /// Minutes of hour of day. + /// + /// Must be from 0 to 59. + core.int? minutes; + + /// Fractions of seconds in nanoseconds. + /// + /// Must be from 0 to 999,999,999. + core.int? nanos; + + /// Seconds of minutes of the time. + /// + /// Must normally be from 0 to 59. An API may allow the value 60 if it allows + /// leap-seconds. + core.int? seconds; + + TimeOfDay({ + this.hours, + this.minutes, + this.nanos, + this.seconds, + }); + + TimeOfDay.fromJson(core.Map _json) + : this( + hours: _json.containsKey('hours') ? _json['hours'] as core.int : null, + minutes: _json.containsKey('minutes') + ? _json['minutes'] as core.int + : null, + nanos: _json.containsKey('nanos') ? _json['nanos'] as core.int : null, + seconds: _json.containsKey('seconds') + ? _json['seconds'] as core.int + : null, + ); + + core.Map toJson() => { + if (hours != null) 'hours': hours!, + if (minutes != null) 'minutes': minutes!, + if (nanos != null) 'nanos': nanos!, + if (seconds != null) 'seconds': seconds!, + }; +} + +/// Represents a span of time that the business is open, starting on the +/// specified open day/time and closing on the specified close day/time. +/// +/// The closing time must occur after the opening time, for example later in the +/// same day, or on a subsequent day. +class TimePeriod { + /// Indicates the day of the week this period ends on. + /// + /// Required. + /// Possible string values are: + /// - "DAY_OF_WEEK_UNSPECIFIED" : The day of the week is unspecified. + /// - "MONDAY" : Monday + /// - "TUESDAY" : Tuesday + /// - "WEDNESDAY" : Wednesday + /// - "THURSDAY" : Thursday + /// - "FRIDAY" : Friday + /// - "SATURDAY" : Saturday + /// - "SUNDAY" : Sunday + core.String? closeDay; + + /// Valid values are 00:00-24:00, where 24:00 represents midnight at the end + /// of the specified day field. + /// + /// Required. + TimeOfDay? closeTime; + + /// Indicates the day of the week this period starts on. + /// + /// Required. + /// Possible string values are: + /// - "DAY_OF_WEEK_UNSPECIFIED" : The day of the week is unspecified. + /// - "MONDAY" : Monday + /// - "TUESDAY" : Tuesday + /// - "WEDNESDAY" : Wednesday + /// - "THURSDAY" : Thursday + /// - "FRIDAY" : Friday + /// - "SATURDAY" : Saturday + /// - "SUNDAY" : Sunday + core.String? openDay; + + /// Valid values are 00:00-24:00, where 24:00 represents midnight at the end + /// of the specified day field. + /// + /// Required. + TimeOfDay? openTime; + + TimePeriod({ + this.closeDay, + this.closeTime, + this.openDay, + this.openTime, + }); + + TimePeriod.fromJson(core.Map _json) + : this( + closeDay: _json.containsKey('closeDay') + ? _json['closeDay'] as core.String + : null, + closeTime: _json.containsKey('closeTime') + ? TimeOfDay.fromJson( + _json['closeTime'] as core.Map) + : null, + openDay: _json.containsKey('openDay') + ? _json['openDay'] as core.String + : null, + openTime: _json.containsKey('openTime') + ? TimeOfDay.fromJson( + _json['openTime'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (closeDay != null) 'closeDay': closeDay!, + if (closeTime != null) 'closeTime': closeTime!.toJson(), + if (openDay != null) 'openDay': openDay!, + if (openTime != null) 'openTime': openTime!.toJson(), + }; +} + +/// Values for an attribute with a `value_type` of URL. +class UriAttributeValue { + /// The proposed URI value for this attribute. + /// + /// Required. + core.String? uri; + + UriAttributeValue({ + this.uri, + }); + + UriAttributeValue.fromJson(core.Map _json) + : this( + uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (uri != null) 'uri': uri!, + }; +} diff --git a/generated/googleapis/lib/mybusinessnotifications/v1.dart b/generated/googleapis/lib/mybusinessnotifications/v1.dart new file mode 100644 index 000000000..e8395c009 --- /dev/null +++ b/generated/googleapis/lib/mybusinessnotifications/v1.dart @@ -0,0 +1,203 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// My Business Notifications API - v1 +/// +/// The My Business Notification Settings API enables managing notification +/// settings for business accounts. +/// +/// For more information, see +/// +/// Create an instance of [MyBusinessNotificationSettingsApi] to access these +/// resources: +/// +/// - [AccountsResource] +library mybusinessnotifications.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// The My Business Notification Settings API enables managing notification +/// settings for business accounts. +class MyBusinessNotificationSettingsApi { + final commons.ApiRequester _requester; + + AccountsResource get accounts => AccountsResource(_requester); + + MyBusinessNotificationSettingsApi(http.Client client, + {core.String rootUrl = 'https://mybusinessnotifications.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class AccountsResource { + final commons.ApiRequester _requester; + + AccountsResource(commons.ApiRequester client) : _requester = client; + + /// Returns the pubsub notification settings for the account. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the notification setting we are + /// trying to fetch. + /// Value must have pattern `^accounts/\[^/\]+/notificationSetting$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [NotificationSetting]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getNotificationSetting( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return NotificationSetting.fromJson( + _response as core.Map); + } + + /// Sets the pubsub notification setting for the account informing Google + /// which topic to send pubsub notifications for. + /// + /// Use the notification_types field within notification_setting to manipulate + /// the events an account wants to subscribe to. An account will only have one + /// notification setting resource, and only one pubsub topic can be set. To + /// delete the setting, update with an empty notification_types + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name this setting is for. This is of the + /// form `accounts/{account_id}/notificationSetting`. + /// Value must have pattern `^accounts/\[^/\]+/notificationSetting$`. + /// + /// [updateMask] - Required. The specific fields that should be updated. The + /// only editable field is notification_setting. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [NotificationSetting]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future updateNotificationSetting( + NotificationSetting request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return NotificationSetting.fromJson( + _response as core.Map); + } +} + +/// A Google Pub/Sub topic where notifications can be published when a location +/// is updated or has a new review. +/// +/// There will be only one notification setting resource per-account. +class NotificationSetting { + /// The resource name this setting is for. + /// + /// This is of the form `accounts/{account_id}/notificationSetting`. + /// + /// Required. + core.String? name; + + /// The types of notifications that will be sent to the Pub/Sub topic. + /// + /// To stop receiving notifications entirely, use + /// NotificationSettings.UpdateNotificationSetting with an empty + /// notification_types or set the pubsub_topic to an empty string. + core.List? notificationTypes; + + /// The Google Pub/Sub topic that will receive notifications when locations + /// managed by this account are updated. + /// + /// If unset, no notifications will be posted. The account + /// mybusiness-api-pubsub@system.gserviceaccount.com must have at least + /// Publish permissions on the Pub/Sub topic. + /// + /// Optional. + core.String? pubsubTopic; + + NotificationSetting({ + this.name, + this.notificationTypes, + this.pubsubTopic, + }); + + NotificationSetting.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + notificationTypes: _json.containsKey('notificationTypes') + ? (_json['notificationTypes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + pubsubTopic: _json.containsKey('pubsubTopic') + ? _json['pubsubTopic'] as core.String + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (notificationTypes != null) 'notificationTypes': notificationTypes!, + if (pubsubTopic != null) 'pubsubTopic': pubsubTopic!, + }; +} diff --git a/generated/googleapis/lib/mybusinessverifications/v1.dart b/generated/googleapis/lib/mybusinessverifications/v1.dart new file mode 100644 index 000000000..d547004a0 --- /dev/null +++ b/generated/googleapis/lib/mybusinessverifications/v1.dart @@ -0,0 +1,1370 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// My Business Verifications API - v1 +/// +/// The My Business Verifications API provides an interface for taking +/// verifications related actions for locations. +/// +/// For more information, see +/// +/// Create an instance of [MyBusinessVerificationsApi] to access these +/// resources: +/// +/// - [LocationsResource] +/// - [LocationsVerificationsResource] +/// - [VerificationTokensResource] +library mybusinessverifications.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// The My Business Verifications API provides an interface for taking +/// verifications related actions for locations. +class MyBusinessVerificationsApi { + final commons.ApiRequester _requester; + + LocationsResource get locations => LocationsResource(_requester); + VerificationTokensResource get verificationTokens => + VerificationTokensResource(_requester); + + MyBusinessVerificationsApi(http.Client client, + {core.String rootUrl = 'https://mybusinessverifications.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class LocationsResource { + final commons.ApiRequester _requester; + + LocationsVerificationsResource get verifications => + LocationsVerificationsResource(_requester); + + LocationsResource(commons.ApiRequester client) : _requester = client; + + /// Reports all eligible verification options for a location in a specific + /// language. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [location] - Required. The location to verify. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FetchVerificationOptionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future fetchVerificationOptions( + FetchVerificationOptionsRequest request, + core.String location, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$location') + ':fetchVerificationOptions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return FetchVerificationOptionsResponse.fromJson( + _response as core.Map); + } + + /// Gets the VoiceOfMerchant state. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name of the location. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [VoiceOfMerchantState]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getVoiceOfMerchantState( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + '/VoiceOfMerchantState'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return VoiceOfMerchantState.fromJson( + _response as core.Map); + } + + /// Starts the verification process for a location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name of the location to verify. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [VerifyLocationResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future verify( + VerifyLocationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':verify'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return VerifyLocationResponse.fromJson( + _response as core.Map); + } +} + +class LocationsVerificationsResource { + final commons.ApiRequester _requester; + + LocationsVerificationsResource(commons.ApiRequester client) + : _requester = client; + + /// Completes a `PENDING` verification. + /// + /// It is only necessary for non `AUTO` verification methods. `AUTO` + /// verification request is instantly `VERIFIED` upon creation. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name of the verification to complete. + /// Value must have pattern `^locations/\[^/\]+/verifications/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CompleteVerificationResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future complete( + CompleteVerificationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':complete'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return CompleteVerificationResponse.fromJson( + _response as core.Map); + } + + /// List verifications of a location, ordered by create time. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the location that verification + /// requests belong to. + /// Value must have pattern `^locations/\[^/\]+$`. + /// + /// [pageSize] - How many verification to include per page. Minimum is 1, and + /// the default and maximum page size is 100. + /// + /// [pageToken] - If specified, returns the next page of verifications. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListVerificationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/verifications'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListVerificationsResponse.fromJson( + _response as core.Map); + } +} + +class VerificationTokensResource { + final commons.ApiRequester _requester; + + VerificationTokensResource(commons.ApiRequester client) : _requester = client; + + /// Generates a token for the provided location data as a vetted + /// [partner](https://support.google.com/business/answer/7674102). + /// + /// Throws PERMISSION_DENIED if the caller is not a vetted partner account. + /// Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GenerateVerificationTokenResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future generate( + GenerateVerificationTokenRequest request, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + const _url = 'v1/verificationTokens:generate'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GenerateVerificationTokenResponse.fromJson( + _response as core.Map); + } +} + +/// Display data for verifications through postcard. +class AddressVerificationData { + /// Address that a postcard can be sent to. + PostalAddress? address; + + /// Merchant's business name. + core.String? business; + + /// Expected number of days it takes to deliver a postcard to the address's + /// region. + core.int? expectedDeliveryDaysRegion; + + AddressVerificationData({ + this.address, + this.business, + this.expectedDeliveryDaysRegion, + }); + + AddressVerificationData.fromJson(core.Map _json) + : this( + address: _json.containsKey('address') + ? PostalAddress.fromJson( + _json['address'] as core.Map) + : null, + business: _json.containsKey('business') + ? _json['business'] as core.String + : null, + expectedDeliveryDaysRegion: + _json.containsKey('expectedDeliveryDaysRegion') + ? _json['expectedDeliveryDaysRegion'] as core.int + : null, + ); + + core.Map toJson() => { + if (address != null) 'address': address!.toJson(), + if (business != null) 'business': business!, + if (expectedDeliveryDaysRegion != null) + 'expectedDeliveryDaysRegion': expectedDeliveryDaysRegion!, + }; +} + +/// Request message for Verifications.CompleteVerificationAction. +class CompleteVerificationRequest { + /// PIN code received by the merchant to complete the verification. + /// + /// Required. + core.String? pin; + + CompleteVerificationRequest({ + this.pin, + }); + + CompleteVerificationRequest.fromJson(core.Map _json) + : this( + pin: _json.containsKey('pin') ? _json['pin'] as core.String : null, + ); + + core.Map toJson() => { + if (pin != null) 'pin': pin!, + }; +} + +/// Response message for Verifications.CompleteVerificationAction. +class CompleteVerificationResponse { + /// The completed verification. + Verification? verification; + + CompleteVerificationResponse({ + this.verification, + }); + + CompleteVerificationResponse.fromJson(core.Map _json) + : this( + verification: _json.containsKey('verification') + ? Verification.fromJson( + _json['verification'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (verification != null) 'verification': verification!.toJson(), + }; +} + +/// Indicates that the location fails to comply with our +/// [guidelines](https://support.google.com/business/answer/3038177). +/// +/// To fix this issue, consult the +/// [Help Center Article](https://support.google.com/business/answer/4569145). +class ComplyWithGuidelines { + ComplyWithGuidelines(); + + ComplyWithGuidelines.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Display data for verifications through email. +class EmailVerificationData { + /// Domain name in the email address. + /// + /// e.g. "gmail.com" in foo@gmail.com + core.String? domain; + + /// Whether client is allowed to provide a different user name. + core.bool? isUserNameEditable; + + /// User name in the email address. + /// + /// e.g. "foo" in foo@gmail.com + core.String? user; + + EmailVerificationData({ + this.domain, + this.isUserNameEditable, + this.user, + }); + + EmailVerificationData.fromJson(core.Map _json) + : this( + domain: _json.containsKey('domain') + ? _json['domain'] as core.String + : null, + isUserNameEditable: _json.containsKey('isUserNameEditable') + ? _json['isUserNameEditable'] as core.bool + : null, + user: _json.containsKey('user') ? _json['user'] as core.String : null, + ); + + core.Map toJson() => { + if (domain != null) 'domain': domain!, + if (isUserNameEditable != null) + 'isUserNameEditable': isUserNameEditable!, + if (user != null) 'user': user!, + }; +} + +/// Request message for Verifications.FetchVerificationOptions. +class FetchVerificationOptionsRequest { + /// Extra context information for the verification of service businesses. + /// + /// Can only be applied to the locations whose business type is + /// CUSTOMER_LOCATION_ONLY. Specifying an accurate address could enable more + /// options. INVALID_ARGUMENT will be thrown if it is set for other business + /// types of locations. + /// + /// Optional. + ServiceBusinessContext? context; + + /// The BCP 47 language code representing the language that is to be used for + /// the verification process. + /// + /// Available options vary by language. + /// + /// Required. + core.String? languageCode; + + FetchVerificationOptionsRequest({ + this.context, + this.languageCode, + }); + + FetchVerificationOptionsRequest.fromJson(core.Map _json) + : this( + context: _json.containsKey('context') + ? ServiceBusinessContext.fromJson( + _json['context'] as core.Map) + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (context != null) 'context': context!.toJson(), + if (languageCode != null) 'languageCode': languageCode!, + }; +} + +/// Response message for Verifications.FetchVerificationOptions. +class FetchVerificationOptionsResponse { + /// The available verification options. + core.List? options; + + FetchVerificationOptionsResponse({ + this.options, + }); + + FetchVerificationOptionsResponse.fromJson(core.Map _json) + : this( + options: _json.containsKey('options') + ? (_json['options'] as core.List) + .map((value) => + VerificationOption.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (options != null) + 'options': options!.map((value) => value.toJson()).toList(), + }; +} + +/// Request message for Verifications.GenerateVerificationToken. +class GenerateVerificationTokenRequest { + /// The target location. + /// + /// Required. + Location? location; + + GenerateVerificationTokenRequest({ + this.location, + }); + + GenerateVerificationTokenRequest.fromJson(core.Map _json) + : this( + location: _json.containsKey('location') + ? Location.fromJson( + _json['location'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (location != null) 'location': location!.toJson(), + }; +} + +/// Response message for Verifications.GenerateVerificationToken. +class GenerateVerificationTokenResponse { + /// The generated token to verify the location. + VerificationToken? token; + + GenerateVerificationTokenResponse({ + this.token, + }); + + GenerateVerificationTokenResponse.fromJson(core.Map _json) + : this( + token: _json.containsKey('token') + ? VerificationToken.fromJson( + _json['token'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (token != null) 'token': token!.toJson(), + }; +} + +/// Response message for Verifications.ListVerifications. +class ListVerificationsResponse { + /// If the number of verifications exceeded the requested page size, this + /// field will be populated with a token to fetch the next page of + /// verification on a subsequent call. + /// + /// If there are no more attributes, this field will not be present in the + /// response. + core.String? nextPageToken; + + /// List of the verifications. + core.List? verifications; + + ListVerificationsResponse({ + this.nextPageToken, + this.verifications, + }); + + ListVerificationsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + verifications: _json.containsKey('verifications') + ? (_json['verifications'] as core.List) + .map((value) => Verification.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (verifications != null) + 'verifications': + verifications!.map((value) => value.toJson()).toList(), + }; +} + +/// A subset of location info. +/// +/// See the +/// [help center article](https://support.google.com/business/answer/3038177) +/// for a detailed description of these fields, or the \[category +/// endpoint\](/my-business/reference/rest/v4/categories) for a list of valid +/// business categories. +class Location { + /// A precise, accurate address to describe your business location. + /// + /// PO boxes or mailboxes located at remote locations are not acceptable. At + /// this time, you can specify a maximum of five `address_lines` values in the + /// address. + /// + /// Required. + PostalAddress? address; + + /// Location name should reflect your business's real-world name, as used + /// consistently on your storefront, website, and stationery, and as known to + /// customers. + /// + /// Any additional information, when relevant, can be included in other fields + /// of the resource (for example, `Address`, `Categories`). Don't add + /// unnecessary information to your name (for example, prefer "Google" over + /// "Google Inc. - Mountain View Corporate Headquarters"). Don't include + /// marketing taglines, store codes, special characters, hours or closed/open + /// status, phone numbers, website URLs, service/product information, + /// location/address or directions, or containment information (for example, + /// "Chase ATM in Duane Reade"). + /// + /// Required. + core.String? name; + + /// Id of the category that best describes the core business this location + /// engages in. + /// + /// Required. + core.String? primaryCategoryId; + + /// A phone number that connects to your individual business location as + /// directly as possible. + /// + /// Use a local phone number instead of a central, call center helpline number + /// whenever possible. + /// + /// Optional. + core.String? primaryPhone; + + /// A URL for this business. + /// + /// If possible, use a URL that represents this individual business location + /// instead of a generic website/URL that represents all locations, or the + /// brand. + /// + /// Optional. + core.String? websiteUri; + + Location({ + this.address, + this.name, + this.primaryCategoryId, + this.primaryPhone, + this.websiteUri, + }); + + Location.fromJson(core.Map _json) + : this( + address: _json.containsKey('address') + ? PostalAddress.fromJson( + _json['address'] as core.Map) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + primaryCategoryId: _json.containsKey('primaryCategoryId') + ? _json['primaryCategoryId'] as core.String + : null, + primaryPhone: _json.containsKey('primaryPhone') + ? _json['primaryPhone'] as core.String + : null, + websiteUri: _json.containsKey('websiteUri') + ? _json['websiteUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (address != null) 'address': address!.toJson(), + if (name != null) 'name': name!, + if (primaryCategoryId != null) 'primaryCategoryId': primaryCategoryId!, + if (primaryPhone != null) 'primaryPhone': primaryPhone!, + if (websiteUri != null) 'websiteUri': websiteUri!, + }; +} + +/// Represents a postal address, e.g. for postal delivery or payments addresses. +/// +/// Given a postal address, a postal service can deliver items to a premise, +/// P.O. Box or similar. It is not intended to model geographical locations +/// (roads, towns, mountains). In typical usage an address would be created via +/// user input or from importing existing data, depending on the type of +/// process. Advice on address input / editing: - Use an i18n-ready address +/// widget such as https://github.com/google/libaddressinput) - Users should not +/// be presented with UI elements for input or editing of fields outside +/// countries where that field is used. For more guidance on how to use this +/// schema, please see: https://support.google.com/business/answer/6397478 +class PostalAddress { + /// Unstructured address lines describing the lower levels of an address. + /// + /// Because values in address_lines do not have type information and may + /// sometimes contain multiple values in a single field (e.g. "Austin, TX"), + /// it is important that the line order is clear. The order of address lines + /// should be "envelope order" for the country/region of the address. In + /// places where this can vary (e.g. Japan), address_language is used to make + /// it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" + /// for small-to-large). This way, the most specific line of an address can be + /// selected based on the language. The minimum permitted structural + /// representation of an address consists of a region_code with all remaining + /// information placed in the address_lines. It would be possible to format + /// such an address very approximately without geocoding, but no semantic + /// reasoning could be made about any of the address components until it was + /// at least partially resolved. Creating an address only containing a + /// region_code and address_lines, and then geocoding is the recommended way + /// to handle completely unstructured addresses (as opposed to guessing which + /// parts of the address should be localities or administrative areas). + core.List? addressLines; + + /// Highest administrative subdivision which is used for postal addresses of a + /// country or region. + /// + /// For example, this can be a state, a province, an oblast, or a prefecture. + /// Specifically, for Spain this is the province and not the autonomous + /// community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use + /// an administrative area in postal addresses. E.g. in Switzerland this + /// should be left unpopulated. + /// + /// Optional. + core.String? administrativeArea; + + /// BCP-47 language code of the contents of this address (if known). + /// + /// This is often the UI language of the input form or is expected to match + /// one of the languages used in the address' country/region, or their + /// transliterated equivalents. This can affect formatting in certain + /// countries, but is not critical to the correctness of the data and will + /// never affect any validation or other non-formatting related operations. If + /// this value is not known, it should be omitted (rather than specifying a + /// possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en". + /// + /// Optional. + core.String? languageCode; + + /// Generally refers to the city/town portion of the address. + /// + /// Examples: US city, IT comune, UK post town. In regions of the world where + /// localities are not well defined or do not fit into this structure well, + /// leave locality empty and use address_lines. + /// + /// Optional. + core.String? locality; + + /// The name of the organization at the address. + /// + /// Optional. + core.String? organization; + + /// Postal code of the address. + /// + /// Not all countries use or require postal codes to be present, but where + /// they are used, they may trigger additional validation with other parts of + /// the address (e.g. state/zip validation in the U.S.A.). + /// + /// Optional. + core.String? postalCode; + + /// The recipient at the address. + /// + /// This field may, under certain circumstances, contain multiline + /// information. For example, it might contain "care of" information. + /// + /// Optional. + core.List? recipients; + + /// CLDR region code of the country/region of the address. + /// + /// This is never inferred and it is up to the user to ensure the value is + /// correct. See http://cldr.unicode.org/ and + /// http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + /// for details. Example: "CH" for Switzerland. + /// + /// Required. + core.String? regionCode; + + /// The schema revision of the `PostalAddress`. + /// + /// This must be set to 0, which is the latest revision. All new revisions + /// **must** be backward compatible with old revisions. + core.int? revision; + + /// Additional, country-specific, sorting code. + /// + /// This is not used in most regions. Where it is used, the value is either a + /// string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or + /// just a number alone, representing the "sector code" (Jamaica), "delivery + /// area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). + /// + /// Optional. + core.String? sortingCode; + + /// Sublocality of the address. + /// + /// For example, this can be neighborhoods, boroughs, districts. + /// + /// Optional. + core.String? sublocality; + + PostalAddress({ + this.addressLines, + this.administrativeArea, + this.languageCode, + this.locality, + this.organization, + this.postalCode, + this.recipients, + this.regionCode, + this.revision, + this.sortingCode, + this.sublocality, + }); + + PostalAddress.fromJson(core.Map _json) + : this( + addressLines: _json.containsKey('addressLines') + ? (_json['addressLines'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + administrativeArea: _json.containsKey('administrativeArea') + ? _json['administrativeArea'] as core.String + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + locality: _json.containsKey('locality') + ? _json['locality'] as core.String + : null, + organization: _json.containsKey('organization') + ? _json['organization'] as core.String + : null, + postalCode: _json.containsKey('postalCode') + ? _json['postalCode'] as core.String + : null, + recipients: _json.containsKey('recipients') + ? (_json['recipients'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + regionCode: _json.containsKey('regionCode') + ? _json['regionCode'] as core.String + : null, + revision: _json.containsKey('revision') + ? _json['revision'] as core.int + : null, + sortingCode: _json.containsKey('sortingCode') + ? _json['sortingCode'] as core.String + : null, + sublocality: _json.containsKey('sublocality') + ? _json['sublocality'] as core.String + : null, + ); + + core.Map toJson() => { + if (addressLines != null) 'addressLines': addressLines!, + if (administrativeArea != null) + 'administrativeArea': administrativeArea!, + if (languageCode != null) 'languageCode': languageCode!, + if (locality != null) 'locality': locality!, + if (organization != null) 'organization': organization!, + if (postalCode != null) 'postalCode': postalCode!, + if (recipients != null) 'recipients': recipients!, + if (regionCode != null) 'regionCode': regionCode!, + if (revision != null) 'revision': revision!, + if (sortingCode != null) 'sortingCode': sortingCode!, + if (sublocality != null) 'sublocality': sublocality!, + }; +} + +/// Indicates that the location duplicates another location that is in good +/// standing. +class ResolveOwnershipConflict { + ResolveOwnershipConflict(); + + ResolveOwnershipConflict.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Additional data for service business verification. +class ServiceBusinessContext { + /// The verification address of the location. + /// + /// It is used to either enable more verification options or send a postcard. + PostalAddress? address; + + ServiceBusinessContext({ + this.address, + }); + + ServiceBusinessContext.fromJson(core.Map _json) + : this( + address: _json.containsKey('address') + ? PostalAddress.fromJson( + _json['address'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (address != null) 'address': address!.toJson(), + }; +} + +/// A verification represents a verification attempt on a location. +class Verification { + /// The timestamp when the verification is requested. + core.String? createTime; + + /// The method of the verification. + /// Possible string values are: + /// - "VERIFICATION_METHOD_UNSPECIFIED" : Default value, will result in + /// errors. + /// - "ADDRESS" : Send a postcard with a verification PIN to a specific + /// mailing address. The PIN is used to complete verification with Google. + /// - "EMAIL" : Send an email with a verification PIN to a specific email + /// address. The PIN is used to complete verification with Google. + /// - "PHONE_CALL" : Make a phone call with a verification PIN to a specific + /// phone number. The PIN is used to complete verification with Google. + /// - "SMS" : Send an SMS with a verification PIN to a specific phone number. + /// The PIN is used to complete verification with Google. + /// - "AUTO" : Verify the location without additional user action. This option + /// may not be available for all locations. + /// - "VETTED_PARTNER" : Used for vetted + /// [partners](https://support.google.com/business/answer/7674102). This + /// option may not be available for all locations. + core.String? method; + + /// Resource name of the verification. + core.String? name; + + /// The state of the verification. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Default value, will result in errors. + /// - "PENDING" : The verification is pending. + /// - "COMPLETED" : The verification is completed. + /// - "FAILED" : The verification is failed. + core.String? state; + + Verification({ + this.createTime, + this.method, + this.name, + this.state, + }); + + Verification.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + method: _json.containsKey('method') + ? _json['method'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (method != null) 'method': method!, + if (name != null) 'name': name!, + if (state != null) 'state': state!, + }; +} + +/// The verification option represents how to verify the location (indicated by +/// verification method) and where the verification will be sent to (indicated +/// by display data). +class VerificationOption { + /// Set only if the method is MAIL. + AddressVerificationData? addressData; + + /// Set only if the method is EMAIL. + EmailVerificationData? emailData; + + /// Set only if the method is PHONE_CALL or SMS. + /// + /// Phone number that the PIN will be sent to. + core.String? phoneNumber; + + /// Method to verify the location. + /// Possible string values are: + /// - "VERIFICATION_METHOD_UNSPECIFIED" : Default value, will result in + /// errors. + /// - "ADDRESS" : Send a postcard with a verification PIN to a specific + /// mailing address. The PIN is used to complete verification with Google. + /// - "EMAIL" : Send an email with a verification PIN to a specific email + /// address. The PIN is used to complete verification with Google. + /// - "PHONE_CALL" : Make a phone call with a verification PIN to a specific + /// phone number. The PIN is used to complete verification with Google. + /// - "SMS" : Send an SMS with a verification PIN to a specific phone number. + /// The PIN is used to complete verification with Google. + /// - "AUTO" : Verify the location without additional user action. This option + /// may not be available for all locations. + /// - "VETTED_PARTNER" : Used for vetted + /// [partners](https://support.google.com/business/answer/7674102). This + /// option may not be available for all locations. + core.String? verificationMethod; + + VerificationOption({ + this.addressData, + this.emailData, + this.phoneNumber, + this.verificationMethod, + }); + + VerificationOption.fromJson(core.Map _json) + : this( + addressData: _json.containsKey('addressData') + ? AddressVerificationData.fromJson( + _json['addressData'] as core.Map) + : null, + emailData: _json.containsKey('emailData') + ? EmailVerificationData.fromJson( + _json['emailData'] as core.Map) + : null, + phoneNumber: _json.containsKey('phoneNumber') + ? _json['phoneNumber'] as core.String + : null, + verificationMethod: _json.containsKey('verificationMethod') + ? _json['verificationMethod'] as core.String + : null, + ); + + core.Map toJson() => { + if (addressData != null) 'addressData': addressData!.toJson(), + if (emailData != null) 'emailData': emailData!.toJson(), + if (phoneNumber != null) 'phoneNumber': phoneNumber!, + if (verificationMethod != null) + 'verificationMethod': verificationMethod!, + }; +} + +/// Token generated by a vetted +/// [partner](https://support.google.com/business/answer/7674102). +class VerificationToken { + /// The token string. + core.String? tokenString; + + VerificationToken({ + this.tokenString, + }); + + VerificationToken.fromJson(core.Map _json) + : this( + tokenString: _json.containsKey('tokenString') + ? _json['tokenString'] as core.String + : null, + ); + + core.Map toJson() => { + if (tokenString != null) 'tokenString': tokenString!, + }; +} + +/// Indicates that the location requires verification. +/// +/// Contains information about the current verification actions performed on the +/// location. +class Verify { + /// Indicates whether a verification process has already started, and can be + /// completed by the location. + core.bool? hasPendingVerification; + + Verify({ + this.hasPendingVerification, + }); + + Verify.fromJson(core.Map _json) + : this( + hasPendingVerification: _json.containsKey('hasPendingVerification') + ? _json['hasPendingVerification'] as core.bool + : null, + ); + + core.Map toJson() => { + if (hasPendingVerification != null) + 'hasPendingVerification': hasPendingVerification!, + }; +} + +/// Request message for Verifications.VerifyLocation. +class VerifyLocationRequest { + /// Extra context information for the verification of service businesses. + /// + /// It is only required for the locations whose business type is + /// CUSTOMER_LOCATION_ONLY. For ADDRESS verification, the address will be used + /// to send out postcard. For other methods, it should be the same as the one + /// that is passed to GetVerificationOptions. INVALID_ARGUMENT will be thrown + /// if it is set for other types of business locations. + /// + /// Optional. + ServiceBusinessContext? context; + + /// The input for EMAIL method. + /// + /// Email address where the PIN should be sent to. An email address is + /// accepted only if it is one of the addresses provided by + /// FetchVerificationOptions. If the EmailVerificationData has + /// is_user_name_editable set to true, the client may specify a different user + /// name (local-part) but must match the domain name. + /// + /// Optional. + core.String? emailAddress; + + /// The BCP 47 language code representing the language that is to be used for + /// the verification process. + /// + /// Optional. + core.String? languageCode; + + /// The input for ADDRESS method. + /// + /// Contact name the mail should be sent to. + /// + /// Optional. + core.String? mailerContact; + + /// Verification method. + /// + /// Required. + /// Possible string values are: + /// - "VERIFICATION_METHOD_UNSPECIFIED" : Default value, will result in + /// errors. + /// - "ADDRESS" : Send a postcard with a verification PIN to a specific + /// mailing address. The PIN is used to complete verification with Google. + /// - "EMAIL" : Send an email with a verification PIN to a specific email + /// address. The PIN is used to complete verification with Google. + /// - "PHONE_CALL" : Make a phone call with a verification PIN to a specific + /// phone number. The PIN is used to complete verification with Google. + /// - "SMS" : Send an SMS with a verification PIN to a specific phone number. + /// The PIN is used to complete verification with Google. + /// - "AUTO" : Verify the location without additional user action. This option + /// may not be available for all locations. + /// - "VETTED_PARTNER" : Used for vetted + /// [partners](https://support.google.com/business/answer/7674102). This + /// option may not be available for all locations. + core.String? method; + + /// The input for PHONE_CALL/SMS method The phone number that should be called + /// or be sent SMS to. + /// + /// It must be one of the phone numbers in the eligible options. + /// + /// Optional. + core.String? phoneNumber; + + /// The input for VETTED_PARTNER method available to select + /// [partners.](https://support.google.com/business/answer/7674102) The input + /// is not needed for a vetted account. + /// + /// Token that is associated to the location. Token that is associated to the + /// location. + /// + /// Optional. + VerificationToken? token; + + VerifyLocationRequest({ + this.context, + this.emailAddress, + this.languageCode, + this.mailerContact, + this.method, + this.phoneNumber, + this.token, + }); + + VerifyLocationRequest.fromJson(core.Map _json) + : this( + context: _json.containsKey('context') + ? ServiceBusinessContext.fromJson( + _json['context'] as core.Map) + : null, + emailAddress: _json.containsKey('emailAddress') + ? _json['emailAddress'] as core.String + : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + mailerContact: _json.containsKey('mailerContact') + ? _json['mailerContact'] as core.String + : null, + method: _json.containsKey('method') + ? _json['method'] as core.String + : null, + phoneNumber: _json.containsKey('phoneNumber') + ? _json['phoneNumber'] as core.String + : null, + token: _json.containsKey('token') + ? VerificationToken.fromJson( + _json['token'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (context != null) 'context': context!.toJson(), + if (emailAddress != null) 'emailAddress': emailAddress!, + if (languageCode != null) 'languageCode': languageCode!, + if (mailerContact != null) 'mailerContact': mailerContact!, + if (method != null) 'method': method!, + if (phoneNumber != null) 'phoneNumber': phoneNumber!, + if (token != null) 'token': token!.toJson(), + }; +} + +/// Response message for Verifications.VerifyLocation. +class VerifyLocationResponse { + /// The created verification request. + Verification? verification; + + VerifyLocationResponse({ + this.verification, + }); + + VerifyLocationResponse.fromJson(core.Map _json) + : this( + verification: _json.containsKey('verification') + ? Verification.fromJson( + _json['verification'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (verification != null) 'verification': verification!.toJson(), + }; +} + +/// Response message for VoiceOfMerchant.GetVoiceOfMerchantState. +class VoiceOfMerchantState { + /// The location fails to comply with our + /// [guidelines](https://support.google.com/business/answer/3038177) and + /// requires additional steps for reinstatement. + /// + /// To fix this issue, consult the + /// [Help Center Article](https://support.google.com/business/answer/4569145). + ComplyWithGuidelines? complyWithGuidelines; + + /// Indicates whether the location has the authority (ownership) over the + /// business on Google. + /// + /// If true, another location cannot take over and become the dominant listing + /// on Maps. However, edits will not become live unless Voice of Merchant is + /// gained (i.e. has_voice_of_merchant is true). + core.bool? hasBusinessAuthority; + + /// Indicates whether the location is in good standing and has control over + /// the business on Google. + /// + /// Any edits made to the location will propagate to Maps after passing the + /// review phase. + core.bool? hasVoiceOfMerchant; + + /// This location duplicates another location that is in good standing. + /// + /// If you have access to the location in good standing, use that location's + /// id to perform operations. Otherwise, request access from the current + /// owner. + ResolveOwnershipConflict? resolveOwnershipConflict; + + /// Start or continue the verification process. + Verify? verify; + + /// Wait to gain Voice of Merchant. + /// + /// The location is under review for quality purposes. + WaitForVoiceOfMerchant? waitForVoiceOfMerchant; + + VoiceOfMerchantState({ + this.complyWithGuidelines, + this.hasBusinessAuthority, + this.hasVoiceOfMerchant, + this.resolveOwnershipConflict, + this.verify, + this.waitForVoiceOfMerchant, + }); + + VoiceOfMerchantState.fromJson(core.Map _json) + : this( + complyWithGuidelines: _json.containsKey('complyWithGuidelines') + ? ComplyWithGuidelines.fromJson(_json['complyWithGuidelines'] + as core.Map) + : null, + hasBusinessAuthority: _json.containsKey('hasBusinessAuthority') + ? _json['hasBusinessAuthority'] as core.bool + : null, + hasVoiceOfMerchant: _json.containsKey('hasVoiceOfMerchant') + ? _json['hasVoiceOfMerchant'] as core.bool + : null, + resolveOwnershipConflict: + _json.containsKey('resolveOwnershipConflict') + ? ResolveOwnershipConflict.fromJson( + _json['resolveOwnershipConflict'] + as core.Map) + : null, + verify: _json.containsKey('verify') + ? Verify.fromJson( + _json['verify'] as core.Map) + : null, + waitForVoiceOfMerchant: _json.containsKey('waitForVoiceOfMerchant') + ? WaitForVoiceOfMerchant.fromJson(_json['waitForVoiceOfMerchant'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (complyWithGuidelines != null) + 'complyWithGuidelines': complyWithGuidelines!.toJson(), + if (hasBusinessAuthority != null) + 'hasBusinessAuthority': hasBusinessAuthority!, + if (hasVoiceOfMerchant != null) + 'hasVoiceOfMerchant': hasVoiceOfMerchant!, + if (resolveOwnershipConflict != null) + 'resolveOwnershipConflict': resolveOwnershipConflict!.toJson(), + if (verify != null) 'verify': verify!.toJson(), + if (waitForVoiceOfMerchant != null) + 'waitForVoiceOfMerchant': waitForVoiceOfMerchant!.toJson(), + }; +} + +/// Indicates that the location will gain voice of merchant after passing +/// review. +class WaitForVoiceOfMerchant { + WaitForVoiceOfMerchant(); + + WaitForVoiceOfMerchant.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} diff --git a/generated/googleapis/lib/networkmanagement/v1.dart b/generated/googleapis/lib/networkmanagement/v1.dart index d7e63b728..a571f2380 100644 --- a/generated/googleapis/lib/networkmanagement/v1.dart +++ b/generated/googleapis/lib/networkmanagement/v1.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Network Management API provides a collection of network performance /// monitoring and diagnostic capabilities. class NetworkManagementApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2590,7 +2591,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -2800,6 +2801,8 @@ class RouteInfo { /// either does not exist or is not running. /// - "NEXT_HOP_ILB" : Next hop is the forwarding rule of an Internal Load /// Balancer. + /// - "NEXT_HOP_ROUTER_APPLIANCE" : Next hop is a + /// [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview). core.String? nextHopType; /// Priority of the route. diff --git a/generated/googleapis/lib/networksecurity/v1.dart b/generated/googleapis/lib/networksecurity/v1.dart new file mode 100644 index 000000000..51a756894 --- /dev/null +++ b/generated/googleapis/lib/networksecurity/v1.dart @@ -0,0 +1,3183 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Network Security API - v1 +/// +/// For more information, see +/// +/// Create an instance of [NetworkSecurityApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsAuthorizationPoliciesResource] +/// - [ProjectsLocationsClientTlsPoliciesResource] +/// - [ProjectsLocationsOperationsResource] +/// - [ProjectsLocationsServerTlsPoliciesResource] +library networksecurity.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +class NetworkSecurityApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProjectsResource get projects => ProjectsResource(_requester); + + NetworkSecurityApi(http.Client client, + {core.String rootUrl = 'https://networksecurity.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsAuthorizationPoliciesResource get authorizationPolicies => + ProjectsLocationsAuthorizationPoliciesResource(_requester); + ProjectsLocationsClientTlsPoliciesResource get clientTlsPolicies => + ProjectsLocationsClientTlsPoliciesResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); + ProjectsLocationsServerTlsPoliciesResource get serverTlsPolicies => + ProjectsLocationsServerTlsPoliciesResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Gets information about a location. + /// + /// Request parameters: + /// + /// [name] - Resource name for the location. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Location.fromJson(_response as core.Map); + } + + /// Lists information about the supported locations for this service. + /// + /// Request parameters: + /// + /// [name] - The resource that owns the locations collection, if applicable. + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - A filter to narrow down results to a preferred subset. The + /// filtering language accepts strings like "displayName=tokyo", and is + /// documented in more detail in \[AIP-160\](https://google.aip.dev/160). + /// + /// [pageSize] - The maximum number of results to return. If not set, the + /// service selects a default. + /// + /// [pageToken] - A page token received from the `next_page_token` field in + /// the response. Send that page token to receive the subsequent page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + '/locations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListLocationsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsAuthorizationPoliciesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsAuthorizationPoliciesResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new AuthorizationPolicy in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the AuthorizationPolicy. Must + /// be in the format `projects/{project}/locations/{location}`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [authorizationPolicyId] - Required. Short name of the AuthorizationPolicy + /// resource to be created. This value should be 1-63 characters long, + /// containing only letters, numbers, hyphens, and underscores, and should not + /// start with a number. E.g. "authz_policy". + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + AuthorizationPolicy request, + core.String parent, { + core.String? authorizationPolicyId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (authorizationPolicyId != null) + 'authorizationPolicyId': [authorizationPolicyId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/authorizationPolicies'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Deletes a single AuthorizationPolicy. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the AuthorizationPolicy to delete. Must be in + /// the format `projects/{project}/locations/{location}/authorizationPolicies + /// / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/authorizationPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Gets details of a single AuthorizationPolicy. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the AuthorizationPolicy to get. Must be in + /// the format `projects/{project}/locations/{location}/authorizationPolicies + /// / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/authorizationPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [AuthorizationPolicy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return AuthorizationPolicy.fromJson( + _response as core.Map); + } + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/authorizationPolicies/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleIamV1Policy.fromJson( + _response as core.Map); + } + + /// Lists AuthorizationPolicies in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. The project and location from which the + /// AuthorizationPolicies should be listed, specified in the format + /// `projects/{project}/locations/{location}`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [pageSize] - Maximum number of AuthorizationPolicies to return per call. + /// + /// [pageToken] - The value returned by the last + /// `ListAuthorizationPoliciesResponse` Indicates that this is a continuation + /// of a prior `ListAuthorizationPolicies` call, and that the system should + /// return the next page of data. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListAuthorizationPoliciesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/authorizationPolicies'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListAuthorizationPoliciesResponse.fromJson( + _response as core.Map); + } + + /// Updates the parameters of a single AuthorizationPolicy. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the AuthorizationPolicy resource. It matches + /// pattern `projects/{project}/locations/{location}/authorizationPolicies/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/authorizationPolicies/\[^/\]+$`. + /// + /// [updateMask] - Optional. Field mask is used to specify the fields to be + /// overwritten in the AuthorizationPolicy resource by the update. The fields + /// specified in the update_mask are relative to the resource, not the full + /// request. A field will be overwritten if it is in the mask. If the user + /// does not provide a mask then all fields will be overwritten. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + AuthorizationPolicy request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/authorizationPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + GoogleIamV1SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleIamV1Policy.fromJson( + _response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/authorizationPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + GoogleIamV1TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleIamV1TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsClientTlsPoliciesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsClientTlsPoliciesResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new ClientTlsPolicy in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the ClientTlsPolicy. Must be + /// in the format `projects / * /locations/{location}`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [clientTlsPolicyId] - Required. Short name of the ClientTlsPolicy resource + /// to be created. This value should be 1-63 characters long, containing only + /// letters, numbers, hyphens, and underscores, and should not start with a + /// number. E.g. "client_mtls_policy". + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + ClientTlsPolicy request, + core.String parent, { + core.String? clientTlsPolicyId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (clientTlsPolicyId != null) 'clientTlsPolicyId': [clientTlsPolicyId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/clientTlsPolicies'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Deletes a single ClientTlsPolicy. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the ClientTlsPolicy to delete. Must be in the + /// format `projects / * /locations/{location}/clientTlsPolicies / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/clientTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Gets details of a single ClientTlsPolicy. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the ClientTlsPolicy to get. Must be in the + /// format `projects / * /locations/{location}/clientTlsPolicies / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/clientTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ClientTlsPolicy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ClientTlsPolicy.fromJson( + _response as core.Map); + } + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/clientTlsPolicies/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleIamV1Policy.fromJson( + _response as core.Map); + } + + /// Lists ClientTlsPolicies in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. The project and location from which the + /// ClientTlsPolicies should be listed, specified in the format `projects / * + /// /locations/{location}`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [pageSize] - Maximum number of ClientTlsPolicies to return per call. + /// + /// [pageToken] - The value returned by the last + /// `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a + /// prior `ListClientTlsPolicies` call, and that the system should return the + /// next page of data. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListClientTlsPoliciesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/clientTlsPolicies'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListClientTlsPoliciesResponse.fromJson( + _response as core.Map); + } + + /// Updates the parameters of a single ClientTlsPolicy. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the ClientTlsPolicy resource. It matches the + /// pattern `projects / * + /// /locations/{location}/clientTlsPolicies/{client_tls_policy}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/clientTlsPolicies/\[^/\]+$`. + /// + /// [updateMask] - Optional. Field mask is used to specify the fields to be + /// overwritten in the ClientTlsPolicy resource by the update. The fields + /// specified in the update_mask are relative to the resource, not the full + /// request. A field will be overwritten if it is in the mask. If the user + /// does not provide a mask then all fields will be overwritten. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + ClientTlsPolicy request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/clientTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + GoogleIamV1SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleIamV1Policy.fromJson( + _response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/clientTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + GoogleIamV1TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleIamV1TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// Starts asynchronous cancellation on a long-running operation. + /// + /// The server makes a best effort to cancel the operation, but success is not + /// guaranteed. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation + /// or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, + /// the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future cancel( + CancelOperationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Deletes a long-running operation. + /// + /// This method indicates that the client is no longer interested in the + /// operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be deleted. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Gets the latest state of a long-running operation. + /// + /// Clients can use this method to poll the operation result at intervals as + /// recommended by the API service. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListOperationsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsServerTlsPoliciesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsServerTlsPoliciesResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new ServerTlsPolicy in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource of the ServerTlsPolicy. Must be + /// in the format `projects / * /locations/{location}`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [serverTlsPolicyId] - Required. Short name of the ServerTlsPolicy resource + /// to be created. This value should be 1-63 characters long, containing only + /// letters, numbers, hyphens, and underscores, and should not start with a + /// number. E.g. "server_mtls_policy". + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + ServerTlsPolicy request, + core.String parent, { + core.String? serverTlsPolicyId, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (serverTlsPolicyId != null) 'serverTlsPolicyId': [serverTlsPolicyId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/serverTlsPolicies'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Deletes a single ServerTlsPolicy. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the ServerTlsPolicy to delete. Must be in the + /// format `projects / * /locations/{location}/serverTlsPolicies / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/serverTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Gets details of a single ServerTlsPolicy. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the ServerTlsPolicy to get. Must be in the + /// format `projects / * /locations/{location}/serverTlsPolicies / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/serverTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ServerTlsPolicy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ServerTlsPolicy.fromJson( + _response as core.Map); + } + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/serverTlsPolicies/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleIamV1Policy.fromJson( + _response as core.Map); + } + + /// Lists ServerTlsPolicies in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. The project and location from which the + /// ServerTlsPolicies should be listed, specified in the format `projects / * + /// /locations/{location}`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [pageSize] - Maximum number of ServerTlsPolicies to return per call. + /// + /// [pageToken] - The value returned by the last + /// `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a + /// prior `ListServerTlsPolicies` call, and that the system should return the + /// next page of data. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListServerTlsPoliciesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/serverTlsPolicies'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListServerTlsPoliciesResponse.fromJson( + _response as core.Map); + } + + /// Updates the parameters of a single ServerTlsPolicy. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the ServerTlsPolicy resource. It matches the + /// pattern `projects / * + /// /locations/{location}/serverTlsPolicies/{server_tls_policy}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/serverTlsPolicies/\[^/\]+$`. + /// + /// [updateMask] - Optional. Field mask is used to specify the fields to be + /// overwritten in the ServerTlsPolicy resource by the update. The fields + /// specified in the update_mask are relative to the resource, not the full + /// request. A field will be overwritten if it is in the mask. If the user + /// does not provide a mask then all fields will be overwritten. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + ServerTlsPolicy request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/serverTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + GoogleIamV1SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleIamV1Policy.fromJson( + _response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/serverTlsPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIamV1TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + GoogleIamV1TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleIamV1TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + +/// AuthorizationPolicy is a resource that specifies how a server should +/// authorize incoming connections. +/// +/// This resource in itself does not change the configuration unless it's +/// attached to a target https proxy or endpoint config selector resource. +class AuthorizationPolicy { + /// The action to take when a rule match is found. + /// + /// Possible values are "ALLOW" or "DENY". + /// + /// Required. + /// Possible string values are: + /// - "ACTION_UNSPECIFIED" : Default value. + /// - "ALLOW" : Grant access. + /// - "DENY" : Deny access. + core.String? action; + + /// The timestamp when the resource was created. + /// + /// Output only. + core.String? createTime; + + /// Free-text description of the resource. + /// + /// Optional. + core.String? description; + + /// Set of label tags associated with the AuthorizationPolicy resource. + /// + /// Optional. + core.Map? labels; + + /// Name of the AuthorizationPolicy resource. + /// + /// It matches pattern + /// `projects/{project}/locations/{location}/authorizationPolicies/`. + /// + /// Required. + core.String? name; + + /// List of rules to match. + /// + /// Note that at least one of the rules must match in order for the action + /// specified in the 'action' field to be taken. A rule is a match if there is + /// a matching source and destination. If left blank, the action specified in + /// the `action` field will be applied on every request. + /// + /// Optional. + core.List? rules; + + /// The timestamp when the resource was updated. + /// + /// Output only. + core.String? updateTime; + + AuthorizationPolicy({ + this.action, + this.createTime, + this.description, + this.labels, + this.name, + this.rules, + this.updateTime, + }); + + AuthorizationPolicy.fromJson(core.Map _json) + : this( + action: _json.containsKey('action') + ? _json['action'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + rules: _json.containsKey('rules') + ? (_json['rules'] as core.List) + .map((value) => Rule.fromJson( + value as core.Map)) + .toList() + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (action != null) 'action': action!, + if (createTime != null) 'createTime': createTime!, + if (description != null) 'description': description!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (rules != null) + 'rules': rules!.map((value) => value.toJson()).toList(), + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// The request message for Operations.CancelOperation. +class CancelOperationRequest { + CancelOperationRequest(); + + CancelOperationRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Specification of a TLS certificate provider instance. +/// +/// Workloads may have one or more CertificateProvider instances (plugins) and +/// one of them is enabled and configured by specifying this message. Workloads +/// use the values from this message to locate and load the CertificateProvider +/// instance configuration. +class CertificateProviderInstance { + /// Plugin instance name, used to locate and load CertificateProvider instance + /// configuration. + /// + /// Set to "google_cloud_private_spiffe" to use Certificate Authority Service + /// certificate provider instance. + /// + /// Required. + core.String? pluginInstance; + + CertificateProviderInstance({ + this.pluginInstance, + }); + + CertificateProviderInstance.fromJson(core.Map _json) + : this( + pluginInstance: _json.containsKey('pluginInstance') + ? _json['pluginInstance'] as core.String + : null, + ); + + core.Map toJson() => { + if (pluginInstance != null) 'pluginInstance': pluginInstance!, + }; +} + +/// ClientTlsPolicy is a resource that specifies how a client should +/// authenticate connections to backends of a service. +/// +/// This resource itself does not affect configuration unless it is attached to +/// a backend service resource. +class ClientTlsPolicy { + /// Defines a mechanism to provision client identity (public and private keys) + /// for peer to peer authentication. + /// + /// The presence of this dictates mTLS. + /// + /// Optional. + GoogleCloudNetworksecurityV1CertificateProvider? clientCertificate; + + /// The timestamp when the resource was created. + /// + /// Output only. + core.String? createTime; + + /// Free-text description of the resource. + /// + /// Optional. + core.String? description; + + /// Set of label tags associated with the resource. + /// + /// Optional. + core.Map? labels; + + /// Name of the ClientTlsPolicy resource. + /// + /// It matches the pattern `projects / * + /// /locations/{location}/clientTlsPolicies/{client_tls_policy}` + /// + /// Required. + core.String? name; + + /// Defines the mechanism to obtain the Certificate Authority certificate to + /// validate the server certificate. + /// + /// If empty, client does not validate the server certificate. + /// + /// Optional. + core.List? serverValidationCa; + + /// Server Name Indication string to present to the server during TLS + /// handshake. + /// + /// E.g: "secure.example.com". + /// + /// Optional. + core.String? sni; + + /// The timestamp when the resource was updated. + /// + /// Output only. + core.String? updateTime; + + ClientTlsPolicy({ + this.clientCertificate, + this.createTime, + this.description, + this.labels, + this.name, + this.serverValidationCa, + this.sni, + this.updateTime, + }); + + ClientTlsPolicy.fromJson(core.Map _json) + : this( + clientCertificate: _json.containsKey('clientCertificate') + ? GoogleCloudNetworksecurityV1CertificateProvider.fromJson( + _json['clientCertificate'] + as core.Map) + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + serverValidationCa: _json.containsKey('serverValidationCa') + ? (_json['serverValidationCa'] as core.List) + .map((value) => ValidationCA.fromJson( + value as core.Map)) + .toList() + : null, + sni: _json.containsKey('sni') ? _json['sni'] as core.String : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (clientCertificate != null) + 'clientCertificate': clientCertificate!.toJson(), + if (createTime != null) 'createTime': createTime!, + if (description != null) 'description': description!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (serverValidationCa != null) + 'serverValidationCa': + serverValidationCa!.map((value) => value.toJson()).toList(), + if (sni != null) 'sni': sni!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Specification of traffic destination attributes. +class Destination { + /// List of host names to match. + /// + /// Matched against HOST header in http requests. At least one host should + /// match. Each host can be an exact match, or a prefix match (example + /// "mydomain.*") or a suffix match (example // *.myorg.com") or a + /// presence(any) match "*". + /// + /// Required. + core.List? hosts; + + /// Match against key:value pair in http header. + /// + /// Provides a flexible match based on HTTP headers, for potentially advanced + /// use cases. At least one header should match. + /// + /// Optional. + HttpHeaderMatch? httpHeaderMatch; + + /// A list of HTTP methods to match. + /// + /// At least one method should match. Should not be set for gRPC services. + /// + /// Optional. + core.List? methods; + + /// List of destination ports to match. + /// + /// At least one port should match. + /// + /// Required. + core.List? ports; + + Destination({ + this.hosts, + this.httpHeaderMatch, + this.methods, + this.ports, + }); + + Destination.fromJson(core.Map _json) + : this( + hosts: _json.containsKey('hosts') + ? (_json['hosts'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + httpHeaderMatch: _json.containsKey('httpHeaderMatch') + ? HttpHeaderMatch.fromJson(_json['httpHeaderMatch'] + as core.Map) + : null, + methods: _json.containsKey('methods') + ? (_json['methods'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ports: _json.containsKey('ports') + ? (_json['ports'] as core.List) + .map((value) => value as core.int) + .toList() + : null, + ); + + core.Map toJson() => { + if (hosts != null) 'hosts': hosts!, + if (httpHeaderMatch != null) + 'httpHeaderMatch': httpHeaderMatch!.toJson(), + if (methods != null) 'methods': methods!, + if (ports != null) 'ports': ports!, + }; +} + +/// A generic empty message that you can re-use to avoid defining duplicated +/// empty messages in your APIs. +/// +/// A typical example is to use it as the request or the response type of an API +/// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns +/// (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON +/// object `{}`. +class Empty { + Empty(); + + Empty.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Represents a textual expression in the Common Expression Language (CEL) +/// syntax. +/// +/// CEL is a C-like expression language. The syntax and semantics of CEL are +/// documented at https://github.com/google/cel-spec. Example (Comparison): +/// title: "Summary size limit" description: "Determines if a summary is less +/// than 100 chars" expression: "document.summary.size() < 100" Example +/// (Equality): title: "Requestor is owner" description: "Determines if +/// requestor is the document owner" expression: "document.owner == +/// request.auth.claims.email" Example (Logic): title: "Public documents" +/// description: "Determine whether the document should be publicly visible" +/// expression: "document.type != 'private' && document.type != 'internal'" +/// Example (Data Manipulation): title: "Notification string" description: +/// "Create a notification string with a timestamp." expression: "'New message +/// received at ' + string(document.create_time)" The exact variables and +/// functions that may be referenced within an expression are determined by the +/// service that evaluates it. See the service documentation for additional +/// information. +class Expr { + /// Description of the expression. + /// + /// This is a longer text which describes the expression, e.g. when hovered + /// over it in a UI. + /// + /// Optional. + core.String? description; + + /// Textual representation of an expression in Common Expression Language + /// syntax. + core.String? expression; + + /// String indicating the location of the expression for error reporting, e.g. + /// a file name and a position in the file. + /// + /// Optional. + core.String? location; + + /// Title for the expression, i.e. a short string describing its purpose. + /// + /// This can be used e.g. in UIs which allow to enter the expression. + /// + /// Optional. + core.String? title; + + Expr({ + this.description, + this.expression, + this.location, + this.title, + }); + + Expr.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + expression: _json.containsKey('expression') + ? _json['expression'] as core.String + : null, + location: _json.containsKey('location') + ? _json['location'] as core.String + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (expression != null) 'expression': expression!, + if (location != null) 'location': location!, + if (title != null) 'title': title!, + }; +} + +/// Specification of certificate provider. +/// +/// Defines the mechanism to obtain the certificate and private key for peer to +/// peer authentication. +class GoogleCloudNetworksecurityV1CertificateProvider { + /// The certificate provider instance specification that will be passed to the + /// data plane, which will be used to load necessary credential information. + CertificateProviderInstance? certificateProviderInstance; + + /// gRPC specific configuration to access the gRPC server to obtain the cert + /// and private key. + GoogleCloudNetworksecurityV1GrpcEndpoint? grpcEndpoint; + + GoogleCloudNetworksecurityV1CertificateProvider({ + this.certificateProviderInstance, + this.grpcEndpoint, + }); + + GoogleCloudNetworksecurityV1CertificateProvider.fromJson(core.Map _json) + : this( + certificateProviderInstance: + _json.containsKey('certificateProviderInstance') + ? CertificateProviderInstance.fromJson( + _json['certificateProviderInstance'] + as core.Map) + : null, + grpcEndpoint: _json.containsKey('grpcEndpoint') + ? GoogleCloudNetworksecurityV1GrpcEndpoint.fromJson( + _json['grpcEndpoint'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (certificateProviderInstance != null) + 'certificateProviderInstance': certificateProviderInstance!.toJson(), + if (grpcEndpoint != null) 'grpcEndpoint': grpcEndpoint!.toJson(), + }; +} + +/// Specification of the GRPC Endpoint. +class GoogleCloudNetworksecurityV1GrpcEndpoint { + /// The target URI of the gRPC endpoint. + /// + /// Only UDS path is supported, and should start with “unix:”. + /// + /// Required. + core.String? targetUri; + + GoogleCloudNetworksecurityV1GrpcEndpoint({ + this.targetUri, + }); + + GoogleCloudNetworksecurityV1GrpcEndpoint.fromJson(core.Map _json) + : this( + targetUri: _json.containsKey('targetUri') + ? _json['targetUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (targetUri != null) 'targetUri': targetUri!, + }; +} + +/// Specifies the audit configuration for a service. +/// +/// The configuration determines which permission types are logged, and what +/// identities, if any, are exempted from logging. An AuditConfig must have one +/// or more AuditLogConfigs. If there are AuditConfigs for both `allServices` +/// and a specific service, the union of the two AuditConfigs is used for that +/// service: the log_types specified in each AuditConfig are enabled, and the +/// exempted_members in each AuditLogConfig are exempted. Example Policy with +/// multiple AuditConfigs: { "audit_configs": \[ { "service": "allServices", +/// "audit_log_configs": \[ { "log_type": "DATA_READ", "exempted_members": \[ +/// "user:jose@example.com" \] }, { "log_type": "DATA_WRITE" }, { "log_type": +/// "ADMIN_READ" } \] }, { "service": "sampleservice.googleapis.com", +/// "audit_log_configs": \[ { "log_type": "DATA_READ" }, { "log_type": +/// "DATA_WRITE", "exempted_members": \[ "user:aliya@example.com" \] } \] } \] } +/// For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ +/// logging. It also exempts jose@example.com from DATA_READ logging, and +/// aliya@example.com from DATA_WRITE logging. +class GoogleIamV1AuditConfig { + /// The configuration for logging of each type of permission. + core.List? auditLogConfigs; + + /// Specifies a service that will be enabled for audit logging. + /// + /// For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + /// `allServices` is a special value that covers all services. + core.String? service; + + GoogleIamV1AuditConfig({ + this.auditLogConfigs, + this.service, + }); + + GoogleIamV1AuditConfig.fromJson(core.Map _json) + : this( + auditLogConfigs: _json.containsKey('auditLogConfigs') + ? (_json['auditLogConfigs'] as core.List) + .map((value) => + GoogleIamV1AuditLogConfig.fromJson( + value as core.Map)) + .toList() + : null, + service: _json.containsKey('service') + ? _json['service'] as core.String + : null, + ); + + core.Map toJson() => { + if (auditLogConfigs != null) + 'auditLogConfigs': + auditLogConfigs!.map((value) => value.toJson()).toList(), + if (service != null) 'service': service!, + }; +} + +/// Provides the configuration for logging a type of permissions. +/// +/// Example: { "audit_log_configs": \[ { "log_type": "DATA_READ", +/// "exempted_members": \[ "user:jose@example.com" \] }, { "log_type": +/// "DATA_WRITE" } \] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while +/// exempting jose@example.com from DATA_READ logging. +class GoogleIamV1AuditLogConfig { + /// Specifies the identities that do not cause logging for this type of + /// permission. + /// + /// Follows the same format of Binding.members. + core.List? exemptedMembers; + + /// The log type that this config enables. + /// Possible string values are: + /// - "LOG_TYPE_UNSPECIFIED" : Default case. Should never be this. + /// - "ADMIN_READ" : Admin reads. Example: CloudIAM getIamPolicy + /// - "DATA_WRITE" : Data writes. Example: CloudSQL Users create + /// - "DATA_READ" : Data reads. Example: CloudSQL Users list + core.String? logType; + + GoogleIamV1AuditLogConfig({ + this.exemptedMembers, + this.logType, + }); + + GoogleIamV1AuditLogConfig.fromJson(core.Map _json) + : this( + exemptedMembers: _json.containsKey('exemptedMembers') + ? (_json['exemptedMembers'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + logType: _json.containsKey('logType') + ? _json['logType'] as core.String + : null, + ); + + core.Map toJson() => { + if (exemptedMembers != null) 'exemptedMembers': exemptedMembers!, + if (logType != null) 'logType': logType!, + }; +} + +/// Associates `members` with a `role`. +class GoogleIamV1Binding { + /// The condition that is associated with this binding. + /// + /// If the condition evaluates to `true`, then this binding applies to the + /// current request. If the condition evaluates to `false`, then this binding + /// does not apply to the current request. However, a different role binding + /// might grant the same role to one or more of the members in this binding. + /// To learn which resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + Expr? condition; + + /// Specifies the identities requesting access for a Cloud Platform resource. + /// + /// `members` can have the following values: * `allUsers`: A special + /// identifier that represents anyone who is on the internet; with or without + /// a Google account. * `allAuthenticatedUsers`: A special identifier that + /// represents anyone who is authenticated with a Google account or a service + /// account. * `user:{emailid}`: An email address that represents a specific + /// Google account. For example, `alice@example.com` . * + /// `serviceAccount:{emailid}`: An email address that represents a service + /// account. For example, `my-other-app@appspot.gserviceaccount.com`. * + /// `group:{emailid}`: An email address that represents a Google group. For + /// example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: + /// An email address (plus unique identifier) representing a user that has + /// been recently deleted. For example, + /// `alice@example.com?uid=123456789012345678901`. If the user is recovered, + /// this value reverts to `user:{emailid}` and the recovered user retains the + /// role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: + /// An email address (plus unique identifier) representing a service account + /// that has been recently deleted. For example, + /// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If + /// the service account is undeleted, this value reverts to + /// `serviceAccount:{emailid}` and the undeleted service account retains the + /// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email + /// address (plus unique identifier) representing a Google group that has been + /// recently deleted. For example, + /// `admins@example.com?uid=123456789012345678901`. If the group is recovered, + /// this value reverts to `group:{emailid}` and the recovered group retains + /// the role in the binding. * `domain:{domain}`: The G Suite domain (primary) + /// that represents all the users of that domain. For example, `google.com` or + /// `example.com`. + core.List? members; + + /// Role that is assigned to `members`. + /// + /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + core.String? role; + + GoogleIamV1Binding({ + this.condition, + this.members, + this.role, + }); + + GoogleIamV1Binding.fromJson(core.Map _json) + : this( + condition: _json.containsKey('condition') + ? Expr.fromJson( + _json['condition'] as core.Map) + : null, + members: _json.containsKey('members') + ? (_json['members'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + role: _json.containsKey('role') ? _json['role'] as core.String : null, + ); + + core.Map toJson() => { + if (condition != null) 'condition': condition!.toJson(), + if (members != null) 'members': members!, + if (role != null) 'role': role!, + }; +} + +/// An Identity and Access Management (IAM) policy, which specifies access +/// controls for Google Cloud resources. +/// +/// A `Policy` is a collection of `bindings`. A `binding` binds one or more +/// `members` to a single `role`. Members can be user accounts, service +/// accounts, Google groups, and domains (such as G Suite). A `role` is a named +/// list of permissions; each `role` can be an IAM predefined role or a +/// user-created custom role. For some types of Google Cloud resources, a +/// `binding` can also specify a `condition`, which is a logical expression that +/// allows access to a resource only if the expression evaluates to `true`. A +/// condition can add constraints based on attributes of the request, the +/// resource, or both. To learn which resources support conditions in their IAM +/// policies, see the +/// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). +/// **JSON example:** { "bindings": \[ { "role": +/// "roles/resourcemanager.organizationAdmin", "members": \[ +/// "user:mike@example.com", "group:admins@example.com", "domain:google.com", +/// "serviceAccount:my-project-id@appspot.gserviceaccount.com" \] }, { "role": +/// "roles/resourcemanager.organizationViewer", "members": \[ +/// "user:eve@example.com" \], "condition": { "title": "expirable access", +/// "description": "Does not grant access after Sep 2020", "expression": +/// "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } \], "etag": +/// "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - +/// user:mike@example.com - group:admins@example.com - domain:google.com - +/// serviceAccount:my-project-id@appspot.gserviceaccount.com role: +/// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com +/// role: roles/resourcemanager.organizationViewer condition: title: expirable +/// access description: Does not grant access after Sep 2020 expression: +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= +/// version: 3 For a description of IAM and its features, see the +/// [IAM documentation](https://cloud.google.com/iam/docs/). +class GoogleIamV1Policy { + /// Specifies cloud audit logging configuration for this policy. + core.List? auditConfigs; + + /// Associates a list of `members` to a `role`. + /// + /// Optionally, may specify a `condition` that determines how and when the + /// `bindings` are applied. Each of the `bindings` must contain at least one + /// member. + core.List? bindings; + + /// `etag` is used for optimistic concurrency control as a way to help prevent + /// simultaneous updates of a policy from overwriting each other. + /// + /// It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform policy updates in order to avoid race + /// conditions: An `etag` is returned in the response to `getIamPolicy`, and + /// systems are expected to put that etag in the request to `setIamPolicy` to + /// ensure that their change will be applied to the same version of the + /// policy. **Important:** If you use IAM Conditions, you must include the + /// `etag` field whenever you call `setIamPolicy`. If you omit this field, + /// then IAM allows you to overwrite a version `3` policy with a version `1` + /// policy, and all of the conditions in the version `3` policy are lost. + core.String? etag; + core.List get etagAsBytes => convert.base64.decode(etag!); + + set etagAsBytes(core.List _bytes) { + etag = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// Specifies the format of the policy. + /// + /// Valid values are `0`, `1`, and `3`. Requests that specify an invalid value + /// are rejected. Any operation that affects conditional role bindings must + /// specify version `3`. This requirement applies to the following operations: + /// * Getting a policy that includes a conditional role binding * Adding a + /// conditional role binding to a policy * Changing a conditional role binding + /// in a policy * Removing any role binding, with or without a condition, from + /// a policy that includes conditions **Important:** If you use IAM + /// Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + /// version `3` policy with a version `1` policy, and all of the conditions in + /// the version `3` policy are lost. If a policy does not include any + /// conditions, operations on that policy may specify any valid version or + /// leave the field unset. To learn which resources support conditions in + /// their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + core.int? version; + + GoogleIamV1Policy({ + this.auditConfigs, + this.bindings, + this.etag, + this.version, + }); + + GoogleIamV1Policy.fromJson(core.Map _json) + : this( + auditConfigs: _json.containsKey('auditConfigs') + ? (_json['auditConfigs'] as core.List) + .map((value) => + GoogleIamV1AuditConfig.fromJson( + value as core.Map)) + .toList() + : null, + bindings: _json.containsKey('bindings') + ? (_json['bindings'] as core.List) + .map((value) => + GoogleIamV1Binding.fromJson( + value as core.Map)) + .toList() + : null, + etag: _json.containsKey('etag') ? _json['etag'] as core.String : null, + version: _json.containsKey('version') + ? _json['version'] as core.int + : null, + ); + + core.Map toJson() => { + if (auditConfigs != null) + 'auditConfigs': auditConfigs!.map((value) => value.toJson()).toList(), + if (bindings != null) + 'bindings': bindings!.map((value) => value.toJson()).toList(), + if (etag != null) 'etag': etag!, + if (version != null) 'version': version!, + }; +} + +/// Request message for `SetIamPolicy` method. +class GoogleIamV1SetIamPolicyRequest { + /// REQUIRED: The complete policy to be applied to the `resource`. + /// + /// The size of the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) might + /// reject them. + GoogleIamV1Policy? policy; + + /// OPTIONAL: A FieldMask specifying which fields of the policy to modify. + /// + /// Only the fields in the mask will be modified. If no mask is provided, the + /// following default mask is used: `paths: "bindings, etag"` + core.String? updateMask; + + GoogleIamV1SetIamPolicyRequest({ + this.policy, + this.updateMask, + }); + + GoogleIamV1SetIamPolicyRequest.fromJson(core.Map _json) + : this( + policy: _json.containsKey('policy') + ? GoogleIamV1Policy.fromJson( + _json['policy'] as core.Map) + : null, + updateMask: _json.containsKey('updateMask') + ? _json['updateMask'] as core.String + : null, + ); + + core.Map toJson() => { + if (policy != null) 'policy': policy!.toJson(), + if (updateMask != null) 'updateMask': updateMask!, + }; +} + +/// Request message for `TestIamPermissions` method. +class GoogleIamV1TestIamPermissionsRequest { + /// The set of permissions to check for the `resource`. + /// + /// Permissions with wildcards (such as '*' or 'storage.*') are not allowed. + /// For more information see + /// [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + core.List? permissions; + + GoogleIamV1TestIamPermissionsRequest({ + this.permissions, + }); + + GoogleIamV1TestIamPermissionsRequest.fromJson(core.Map _json) + : this( + permissions: _json.containsKey('permissions') + ? (_json['permissions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (permissions != null) 'permissions': permissions!, + }; +} + +/// Response message for `TestIamPermissions` method. +class GoogleIamV1TestIamPermissionsResponse { + /// A subset of `TestPermissionsRequest.permissions` that the caller is + /// allowed. + core.List? permissions; + + GoogleIamV1TestIamPermissionsResponse({ + this.permissions, + }); + + GoogleIamV1TestIamPermissionsResponse.fromJson(core.Map _json) + : this( + permissions: _json.containsKey('permissions') + ? (_json['permissions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (permissions != null) 'permissions': permissions!, + }; +} + +/// Specification of HTTP header match atrributes. +class HttpHeaderMatch { + /// The name of the HTTP header to match. + /// + /// For matching against the HTTP request's authority, use a headerMatch with + /// the header name ":authority". For matching a request's method, use the + /// headerName ":method". + /// + /// Required. + core.String? headerName; + + /// The value of the header must match the regular expression specified in + /// regexMatch. + /// + /// For regular expression grammar, please see: + /// en.cppreference.com/w/cpp/regex/ecmascript For matching against a port + /// specified in the HTTP request, use a headerMatch with headerName set to + /// Host and a regular expression that satisfies the RFC2616 Host header's + /// port specifier. + /// + /// Required. + core.String? regexMatch; + + HttpHeaderMatch({ + this.headerName, + this.regexMatch, + }); + + HttpHeaderMatch.fromJson(core.Map _json) + : this( + headerName: _json.containsKey('headerName') + ? _json['headerName'] as core.String + : null, + regexMatch: _json.containsKey('regexMatch') + ? _json['regexMatch'] as core.String + : null, + ); + + core.Map toJson() => { + if (headerName != null) 'headerName': headerName!, + if (regexMatch != null) 'regexMatch': regexMatch!, + }; +} + +/// Response returned by the ListAuthorizationPolicies method. +class ListAuthorizationPoliciesResponse { + /// List of AuthorizationPolicies resources. + core.List? authorizationPolicies; + + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. + /// + /// To get the next set of results, call this method again using the value of + /// `next_page_token` as `page_token`. + core.String? nextPageToken; + + ListAuthorizationPoliciesResponse({ + this.authorizationPolicies, + this.nextPageToken, + }); + + ListAuthorizationPoliciesResponse.fromJson(core.Map _json) + : this( + authorizationPolicies: _json.containsKey('authorizationPolicies') + ? (_json['authorizationPolicies'] as core.List) + .map((value) => + AuthorizationPolicy.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (authorizationPolicies != null) + 'authorizationPolicies': + authorizationPolicies!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response returned by the ListClientTlsPolicies method. +class ListClientTlsPoliciesResponse { + /// List of ClientTlsPolicy resources. + core.List? clientTlsPolicies; + + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. + /// + /// To get the next set of results, call this method again using the value of + /// `next_page_token` as `page_token`. + core.String? nextPageToken; + + ListClientTlsPoliciesResponse({ + this.clientTlsPolicies, + this.nextPageToken, + }); + + ListClientTlsPoliciesResponse.fromJson(core.Map _json) + : this( + clientTlsPolicies: _json.containsKey('clientTlsPolicies') + ? (_json['clientTlsPolicies'] as core.List) + .map((value) => ClientTlsPolicy.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (clientTlsPolicies != null) + 'clientTlsPolicies': + clientTlsPolicies!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response message for Locations.ListLocations. +class ListLocationsResponse { + /// A list of locations that matches the specified filter in the request. + core.List? locations; + + /// The standard List next-page token. + core.String? nextPageToken; + + ListLocationsResponse({ + this.locations, + this.nextPageToken, + }); + + ListLocationsResponse.fromJson(core.Map _json) + : this( + locations: _json.containsKey('locations') + ? (_json['locations'] as core.List) + .map((value) => Location.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (locations != null) + 'locations': locations!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response message for Operations.ListOperations. +class ListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List? operations; + + ListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + ListOperationsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + operations: _json.containsKey('operations') + ? (_json['operations'] as core.List) + .map((value) => Operation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) + 'operations': operations!.map((value) => value.toJson()).toList(), + }; +} + +/// Response returned by the ListServerTlsPolicies method. +class ListServerTlsPoliciesResponse { + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. + /// + /// To get the next set of results, call this method again using the value of + /// `next_page_token` as `page_token`. + core.String? nextPageToken; + + /// List of ServerTlsPolicy resources. + core.List? serverTlsPolicies; + + ListServerTlsPoliciesResponse({ + this.nextPageToken, + this.serverTlsPolicies, + }); + + ListServerTlsPoliciesResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + serverTlsPolicies: _json.containsKey('serverTlsPolicies') + ? (_json['serverTlsPolicies'] as core.List) + .map((value) => ServerTlsPolicy.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (serverTlsPolicies != null) + 'serverTlsPolicies': + serverTlsPolicies!.map((value) => value.toJson()).toList(), + }; +} + +/// A resource that represents Google Cloud Platform location. +class Location { + /// The friendly name for this location, typically a nearby city name. + /// + /// For example, "Tokyo". + core.String? displayName; + + /// Cross-service attributes for the location. + /// + /// For example {"cloud.googleapis.com/region": "us-east1"} + core.Map? labels; + + /// The canonical id for this location. + /// + /// For example: `"us-east1"`. + core.String? locationId; + + /// Service-specific metadata. + /// + /// For example the available capacity at the given location. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// Resource name for the location, which may vary between implementations. + /// + /// For example: `"projects/example-project/locations/us-east1"` + core.String? name; + + Location({ + this.displayName, + this.labels, + this.locationId, + this.metadata, + this.name, + }); + + Location.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + locationId: _json.containsKey('locationId') + ? _json['locationId'] as core.String + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (labels != null) 'labels': labels!, + if (locationId != null) 'locationId': locationId!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + }; +} + +/// Specification of the MTLSPolicy. +class MTLSPolicy { + /// Defines the mechanism to obtain the Certificate Authority certificate to + /// validate the client certificate. + core.List? clientValidationCa; + + MTLSPolicy({ + this.clientValidationCa, + }); + + MTLSPolicy.fromJson(core.Map _json) + : this( + clientValidationCa: _json.containsKey('clientValidationCa') + ? (_json['clientValidationCa'] as core.List) + .map((value) => ValidationCA.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (clientValidationCa != null) + 'clientValidationCa': + clientValidationCa!.map((value) => value.toJson()).toList(), + }; +} + +/// This resource represents a long-running operation that is the result of a +/// network API call. +class Operation { + /// If the value is `false`, it means the operation is still in progress. + /// + /// If `true`, the operation is completed, and either `error` or `response` is + /// available. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + Status? error; + + /// Service-specific metadata associated with the operation. + /// + /// It typically contains progress information and common metadata such as + /// create time. Some services might not provide such metadata. Any method + /// that returns a long-running operation should document the metadata type, + /// if any. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// The server-assigned name, which is only unique within the same service + /// that originally returns it. + /// + /// If you use the default HTTP mapping, the `name` should be a resource name + /// ending with `operations/{unique_id}`. + core.String? name; + + /// The normal response of the operation in case of success. + /// + /// If the original method returns no data on success, such as `Delete`, the + /// response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other + /// methods, the response should have the type `XxxResponse`, where `Xxx` is + /// the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? response; + + Operation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + Operation.fromJson(core.Map _json) + : this( + done: _json.containsKey('done') ? _json['done'] as core.bool : null, + error: _json.containsKey('error') + ? Status.fromJson( + _json['error'] as core.Map) + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + response: _json.containsKey('response') + ? (_json['response'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + ); + + core.Map toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!.toJson(), + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + +/// Represents the metadata of the long-running operation. +class OperationMetadata { + /// API version used to start the operation. + /// + /// Output only. + core.String? apiVersion; + + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// Identifies whether the user has requested cancellation of the operation. + /// + /// Operations that have successfully been cancelled have Operation.error + /// value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// Output only. + core.bool? requestedCancellation; + + /// Human-readable status of the operation, if any. + /// + /// Output only. + core.String? statusMessage; + + /// Server-defined resource path for the target of the operation. + /// + /// Output only. + core.String? target; + + /// Name of the verb executed by the operation. + /// + /// Output only. + core.String? verb; + + OperationMetadata({ + this.apiVersion, + this.createTime, + this.endTime, + this.requestedCancellation, + this.statusMessage, + this.target, + this.verb, + }); + + OperationMetadata.fromJson(core.Map _json) + : this( + apiVersion: _json.containsKey('apiVersion') + ? _json['apiVersion'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + requestedCancellation: _json.containsKey('requestedCancellation') + ? _json['requestedCancellation'] as core.bool + : null, + statusMessage: _json.containsKey('statusMessage') + ? _json['statusMessage'] as core.String + : null, + target: _json.containsKey('target') + ? _json['target'] as core.String + : null, + verb: _json.containsKey('verb') ? _json['verb'] as core.String : null, + ); + + core.Map toJson() => { + if (apiVersion != null) 'apiVersion': apiVersion!, + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (requestedCancellation != null) + 'requestedCancellation': requestedCancellation!, + if (statusMessage != null) 'statusMessage': statusMessage!, + if (target != null) 'target': target!, + if (verb != null) 'verb': verb!, + }; +} + +/// Specification of rules. +class Rule { + /// List of attributes for the traffic destination. + /// + /// All of the destinations must match. A destination is a match if a request + /// matches all the specified hosts, ports, methods and headers. If not set, + /// the action specified in the 'action' field will be applied without any + /// rule checks for the destination. + /// + /// Optional. + core.List? destinations; + + /// List of attributes for the traffic source. + /// + /// All of the sources must match. A source is a match if both principals and + /// ip_blocks match. If not set, the action specified in the 'action' field + /// will be applied without any rule checks for the source. + /// + /// Optional. + core.List? sources; + + Rule({ + this.destinations, + this.sources, + }); + + Rule.fromJson(core.Map _json) + : this( + destinations: _json.containsKey('destinations') + ? (_json['destinations'] as core.List) + .map((value) => Destination.fromJson( + value as core.Map)) + .toList() + : null, + sources: _json.containsKey('sources') + ? (_json['sources'] as core.List) + .map((value) => Source.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (destinations != null) + 'destinations': destinations!.map((value) => value.toJson()).toList(), + if (sources != null) + 'sources': sources!.map((value) => value.toJson()).toList(), + }; +} + +/// ServerTlsPolicy is a resource that specifies how a server should +/// authenticate incoming requests. +/// +/// This resource itself does not affect configuration unless it is attached to +/// a target https proxy or endpoint config selector resource. +class ServerTlsPolicy { + /// Determines if server allows plaintext connections. + /// + /// If set to true, server allows plain text connections. By default, it is + /// set to false. This setting is not exclusive of other encryption modes. For + /// example, if `allow_open` and `mtls_policy` are set, server allows both + /// plain text and mTLS connections. See documentation of other encryption + /// modes to confirm compatibility. + core.bool? allowOpen; + + /// The timestamp when the resource was created. + /// + /// Output only. + core.String? createTime; + + /// Free-text description of the resource. + core.String? description; + + /// Set of label tags associated with the resource. + core.Map? labels; + + /// Defines a mechanism to provision peer validation certificates for peer to + /// peer authentication (Mutual TLS - mTLS). + /// + /// If not specified, client certificate will not be requested. The connection + /// is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, + /// server allows both plain text and mTLS connections. + MTLSPolicy? mtlsPolicy; + + /// Name of the ServerTlsPolicy resource. + /// + /// It matches the pattern `projects / * + /// /locations/{location}/serverTlsPolicies/{server_tls_policy}` + /// + /// Required. + core.String? name; + + /// Defines a mechanism to provision server identity (public and private + /// keys). + /// + /// Cannot be combined with `allow_open` as a permissive mode that allows both + /// plain text and TLS is not supported. + GoogleCloudNetworksecurityV1CertificateProvider? serverCertificate; + + /// The timestamp when the resource was updated. + /// + /// Output only. + core.String? updateTime; + + ServerTlsPolicy({ + this.allowOpen, + this.createTime, + this.description, + this.labels, + this.mtlsPolicy, + this.name, + this.serverCertificate, + this.updateTime, + }); + + ServerTlsPolicy.fromJson(core.Map _json) + : this( + allowOpen: _json.containsKey('allowOpen') + ? _json['allowOpen'] as core.bool + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + mtlsPolicy: _json.containsKey('mtlsPolicy') + ? MTLSPolicy.fromJson( + _json['mtlsPolicy'] as core.Map) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + serverCertificate: _json.containsKey('serverCertificate') + ? GoogleCloudNetworksecurityV1CertificateProvider.fromJson( + _json['serverCertificate'] + as core.Map) + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (allowOpen != null) 'allowOpen': allowOpen!, + if (createTime != null) 'createTime': createTime!, + if (description != null) 'description': description!, + if (labels != null) 'labels': labels!, + if (mtlsPolicy != null) 'mtlsPolicy': mtlsPolicy!.toJson(), + if (name != null) 'name': name!, + if (serverCertificate != null) + 'serverCertificate': serverCertificate!.toJson(), + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Specification of traffic source attributes. +class Source { + /// List of CIDR ranges to match based on source IP address. + /// + /// At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR + /// (e.g., "1.2.3.0/24") are supported. + /// + /// Optional. + core.List? ipBlocks; + + /// List of peer identities to match for authorization. + /// + /// At least one principal should match. Each peer can be an exact match, or a + /// prefix match (example, "namespace / * ") or a suffix match (example, // * + /// / service-account") or a presence match "*". + /// + /// Optional. + core.List? principals; + + Source({ + this.ipBlocks, + this.principals, + }); + + Source.fromJson(core.Map _json) + : this( + ipBlocks: _json.containsKey('ipBlocks') + ? (_json['ipBlocks'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + principals: _json.containsKey('principals') + ? (_json['principals'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (ipBlocks != null) 'ipBlocks': ipBlocks!, + if (principals != null) 'principals': principals!, + }; +} + +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. +/// +/// It is used by [gRPC](https://github.com/grpc). Each `Status` message +/// contains three pieces of data: error code, error message, and error details. +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). +class Status { + /// The status code, which should be an enum value of google.rpc.Code. + core.int? code; + + /// A list of messages that carry the error details. + /// + /// There is a common set of message types for APIs to use. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? details; + + /// A developer-facing error message, which should be in English. + /// + /// Any user-facing error message should be localized and sent in the + /// google.rpc.Status.details field, or localized by the client. + core.String? message; + + Status({ + this.code, + this.details, + this.message, + }); + + Status.fromJson(core.Map _json) + : this( + code: _json.containsKey('code') ? _json['code'] as core.int : null, + details: _json.containsKey('details') + ? (_json['details'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + message: _json.containsKey('message') + ? _json['message'] as core.String + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (details != null) 'details': details!, + if (message != null) 'message': message!, + }; +} + +/// Specification of ValidationCA. +/// +/// Defines the mechanism to obtain the Certificate Authority certificate to +/// validate the peer certificate. +class ValidationCA { + /// The certificate provider instance specification that will be passed to the + /// data plane, which will be used to load necessary credential information. + CertificateProviderInstance? certificateProviderInstance; + + /// gRPC specific configuration to access the gRPC server to obtain the CA + /// certificate. + GoogleCloudNetworksecurityV1GrpcEndpoint? grpcEndpoint; + + ValidationCA({ + this.certificateProviderInstance, + this.grpcEndpoint, + }); + + ValidationCA.fromJson(core.Map _json) + : this( + certificateProviderInstance: + _json.containsKey('certificateProviderInstance') + ? CertificateProviderInstance.fromJson( + _json['certificateProviderInstance'] + as core.Map) + : null, + grpcEndpoint: _json.containsKey('grpcEndpoint') + ? GoogleCloudNetworksecurityV1GrpcEndpoint.fromJson( + _json['grpcEndpoint'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (certificateProviderInstance != null) + 'certificateProviderInstance': certificateProviderInstance!.toJson(), + if (grpcEndpoint != null) 'grpcEndpoint': grpcEndpoint!.toJson(), + }; +} diff --git a/generated/googleapis/lib/networkservices/v1.dart b/generated/googleapis/lib/networkservices/v1.dart new file mode 100644 index 000000000..305dcd054 --- /dev/null +++ b/generated/googleapis/lib/networkservices/v1.dart @@ -0,0 +1,1675 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Network Services API - v1 +/// +/// For more information, see +/// +/// Create an instance of [NetworkServicesApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsEdgeCacheKeysetsResource] +/// - [ProjectsLocationsEdgeCacheOriginsResource] +/// - [ProjectsLocationsEdgeCacheServicesResource] +/// - [ProjectsLocationsOperationsResource] +library networkservices.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +class NetworkServicesApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProjectsResource get projects => ProjectsResource(_requester); + + NetworkServicesApi(http.Client client, + {core.String rootUrl = 'https://networkservices.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsEdgeCacheKeysetsResource get edgeCacheKeysets => + ProjectsLocationsEdgeCacheKeysetsResource(_requester); + ProjectsLocationsEdgeCacheOriginsResource get edgeCacheOrigins => + ProjectsLocationsEdgeCacheOriginsResource(_requester); + ProjectsLocationsEdgeCacheServicesResource get edgeCacheServices => + ProjectsLocationsEdgeCacheServicesResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Gets information about a location. + /// + /// Request parameters: + /// + /// [name] - Resource name for the location. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Location.fromJson(_response as core.Map); + } + + /// Lists information about the supported locations for this service. + /// + /// Request parameters: + /// + /// [name] - The resource that owns the locations collection, if applicable. + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - A filter to narrow down results to a preferred subset. The + /// filtering language accepts strings like "displayName=tokyo", and is + /// documented in more detail in \[AIP-160\](https://google.aip.dev/160). + /// + /// [pageSize] - The maximum number of results to return. If not set, the + /// service selects a default. + /// + /// [pageToken] - A page token received from the `next_page_token` field in + /// the response. Send that page token to receive the subsequent page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + '/locations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListLocationsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsEdgeCacheKeysetsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsEdgeCacheKeysetsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheKeysets/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheKeysets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheKeysets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsEdgeCacheOriginsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsEdgeCacheOriginsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheOrigins/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheOrigins/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheOrigins/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsEdgeCacheServicesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsEdgeCacheServicesResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheServices/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The policy format version to + /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid + /// value will be rejected. Requests for policies with any conditional + /// bindings must specify version 3. Policies without any conditional bindings + /// may specify any valid value or leave the field unset. To learn which + /// resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final _queryParams = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, + /// and `PERMISSION_DENIED` errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheServices/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Policy.fromJson(_response as core.Map); + } + + /// Returns permissions that a caller has on the specified resource. + /// + /// If the resource does not exist, this will return an empty set of + /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to + /// be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy detail is being + /// requested. See the operation documentation for the appropriate value for + /// this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/edgeCacheServices/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [TestIamPermissionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future testIamPermissions( + TestIamPermissionsRequest request, + core.String resource, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return TestIamPermissionsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// Starts asynchronous cancellation on a long-running operation. + /// + /// The server makes a best effort to cancel the operation, but success is not + /// guaranteed. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation + /// or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, + /// the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future cancel( + CancelOperationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Deletes a long-running operation. + /// + /// This method indicates that the client is no longer interested in the + /// operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be deleted. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Gets the latest state of a long-running operation. + /// + /// Clients can use this method to poll the operation result at intervals as + /// recommended by the API service. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListOperationsResponse.fromJson( + _response as core.Map); + } +} + +/// Specifies the audit configuration for a service. +/// +/// The configuration determines which permission types are logged, and what +/// identities, if any, are exempted from logging. An AuditConfig must have one +/// or more AuditLogConfigs. If there are AuditConfigs for both `allServices` +/// and a specific service, the union of the two AuditConfigs is used for that +/// service: the log_types specified in each AuditConfig are enabled, and the +/// exempted_members in each AuditLogConfig are exempted. Example Policy with +/// multiple AuditConfigs: { "audit_configs": \[ { "service": "allServices", +/// "audit_log_configs": \[ { "log_type": "DATA_READ", "exempted_members": \[ +/// "user:jose@example.com" \] }, { "log_type": "DATA_WRITE" }, { "log_type": +/// "ADMIN_READ" } \] }, { "service": "sampleservice.googleapis.com", +/// "audit_log_configs": \[ { "log_type": "DATA_READ" }, { "log_type": +/// "DATA_WRITE", "exempted_members": \[ "user:aliya@example.com" \] } \] } \] } +/// For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ +/// logging. It also exempts jose@example.com from DATA_READ logging, and +/// aliya@example.com from DATA_WRITE logging. +class AuditConfig { + /// The configuration for logging of each type of permission. + core.List? auditLogConfigs; + + /// Specifies a service that will be enabled for audit logging. + /// + /// For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + /// `allServices` is a special value that covers all services. + core.String? service; + + AuditConfig({ + this.auditLogConfigs, + this.service, + }); + + AuditConfig.fromJson(core.Map _json) + : this( + auditLogConfigs: _json.containsKey('auditLogConfigs') + ? (_json['auditLogConfigs'] as core.List) + .map((value) => AuditLogConfig.fromJson( + value as core.Map)) + .toList() + : null, + service: _json.containsKey('service') + ? _json['service'] as core.String + : null, + ); + + core.Map toJson() => { + if (auditLogConfigs != null) + 'auditLogConfigs': + auditLogConfigs!.map((value) => value.toJson()).toList(), + if (service != null) 'service': service!, + }; +} + +/// Provides the configuration for logging a type of permissions. +/// +/// Example: { "audit_log_configs": \[ { "log_type": "DATA_READ", +/// "exempted_members": \[ "user:jose@example.com" \] }, { "log_type": +/// "DATA_WRITE" } \] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while +/// exempting jose@example.com from DATA_READ logging. +class AuditLogConfig { + /// Specifies the identities that do not cause logging for this type of + /// permission. + /// + /// Follows the same format of Binding.members. + core.List? exemptedMembers; + + /// The log type that this config enables. + /// Possible string values are: + /// - "LOG_TYPE_UNSPECIFIED" : Default case. Should never be this. + /// - "ADMIN_READ" : Admin reads. Example: CloudIAM getIamPolicy + /// - "DATA_WRITE" : Data writes. Example: CloudSQL Users create + /// - "DATA_READ" : Data reads. Example: CloudSQL Users list + core.String? logType; + + AuditLogConfig({ + this.exemptedMembers, + this.logType, + }); + + AuditLogConfig.fromJson(core.Map _json) + : this( + exemptedMembers: _json.containsKey('exemptedMembers') + ? (_json['exemptedMembers'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + logType: _json.containsKey('logType') + ? _json['logType'] as core.String + : null, + ); + + core.Map toJson() => { + if (exemptedMembers != null) 'exemptedMembers': exemptedMembers!, + if (logType != null) 'logType': logType!, + }; +} + +/// Associates `members` with a `role`. +class Binding { + /// The condition that is associated with this binding. + /// + /// If the condition evaluates to `true`, then this binding applies to the + /// current request. If the condition evaluates to `false`, then this binding + /// does not apply to the current request. However, a different role binding + /// might grant the same role to one or more of the members in this binding. + /// To learn which resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + Expr? condition; + + /// Specifies the identities requesting access for a Cloud Platform resource. + /// + /// `members` can have the following values: * `allUsers`: A special + /// identifier that represents anyone who is on the internet; with or without + /// a Google account. * `allAuthenticatedUsers`: A special identifier that + /// represents anyone who is authenticated with a Google account or a service + /// account. * `user:{emailid}`: An email address that represents a specific + /// Google account. For example, `alice@example.com` . * + /// `serviceAccount:{emailid}`: An email address that represents a service + /// account. For example, `my-other-app@appspot.gserviceaccount.com`. * + /// `group:{emailid}`: An email address that represents a Google group. For + /// example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: + /// An email address (plus unique identifier) representing a user that has + /// been recently deleted. For example, + /// `alice@example.com?uid=123456789012345678901`. If the user is recovered, + /// this value reverts to `user:{emailid}` and the recovered user retains the + /// role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: + /// An email address (plus unique identifier) representing a service account + /// that has been recently deleted. For example, + /// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If + /// the service account is undeleted, this value reverts to + /// `serviceAccount:{emailid}` and the undeleted service account retains the + /// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email + /// address (plus unique identifier) representing a Google group that has been + /// recently deleted. For example, + /// `admins@example.com?uid=123456789012345678901`. If the group is recovered, + /// this value reverts to `group:{emailid}` and the recovered group retains + /// the role in the binding. * `domain:{domain}`: The G Suite domain (primary) + /// that represents all the users of that domain. For example, `google.com` or + /// `example.com`. + core.List? members; + + /// Role that is assigned to `members`. + /// + /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + core.String? role; + + Binding({ + this.condition, + this.members, + this.role, + }); + + Binding.fromJson(core.Map _json) + : this( + condition: _json.containsKey('condition') + ? Expr.fromJson( + _json['condition'] as core.Map) + : null, + members: _json.containsKey('members') + ? (_json['members'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + role: _json.containsKey('role') ? _json['role'] as core.String : null, + ); + + core.Map toJson() => { + if (condition != null) 'condition': condition!.toJson(), + if (members != null) 'members': members!, + if (role != null) 'role': role!, + }; +} + +/// The request message for Operations.CancelOperation. +class CancelOperationRequest { + CancelOperationRequest(); + + CancelOperationRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// A generic empty message that you can re-use to avoid defining duplicated +/// empty messages in your APIs. +/// +/// A typical example is to use it as the request or the response type of an API +/// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns +/// (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON +/// object `{}`. +class Empty { + Empty(); + + Empty.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Represents a textual expression in the Common Expression Language (CEL) +/// syntax. +/// +/// CEL is a C-like expression language. The syntax and semantics of CEL are +/// documented at https://github.com/google/cel-spec. Example (Comparison): +/// title: "Summary size limit" description: "Determines if a summary is less +/// than 100 chars" expression: "document.summary.size() < 100" Example +/// (Equality): title: "Requestor is owner" description: "Determines if +/// requestor is the document owner" expression: "document.owner == +/// request.auth.claims.email" Example (Logic): title: "Public documents" +/// description: "Determine whether the document should be publicly visible" +/// expression: "document.type != 'private' && document.type != 'internal'" +/// Example (Data Manipulation): title: "Notification string" description: +/// "Create a notification string with a timestamp." expression: "'New message +/// received at ' + string(document.create_time)" The exact variables and +/// functions that may be referenced within an expression are determined by the +/// service that evaluates it. See the service documentation for additional +/// information. +class Expr { + /// Description of the expression. + /// + /// This is a longer text which describes the expression, e.g. when hovered + /// over it in a UI. + /// + /// Optional. + core.String? description; + + /// Textual representation of an expression in Common Expression Language + /// syntax. + core.String? expression; + + /// String indicating the location of the expression for error reporting, e.g. + /// a file name and a position in the file. + /// + /// Optional. + core.String? location; + + /// Title for the expression, i.e. a short string describing its purpose. + /// + /// This can be used e.g. in UIs which allow to enter the expression. + /// + /// Optional. + core.String? title; + + Expr({ + this.description, + this.expression, + this.location, + this.title, + }); + + Expr.fromJson(core.Map _json) + : this( + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + expression: _json.containsKey('expression') + ? _json['expression'] as core.String + : null, + location: _json.containsKey('location') + ? _json['location'] as core.String + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (expression != null) 'expression': expression!, + if (location != null) 'location': location!, + if (title != null) 'title': title!, + }; +} + +/// The response message for Locations.ListLocations. +class ListLocationsResponse { + /// A list of locations that matches the specified filter in the request. + core.List? locations; + + /// The standard List next-page token. + core.String? nextPageToken; + + ListLocationsResponse({ + this.locations, + this.nextPageToken, + }); + + ListLocationsResponse.fromJson(core.Map _json) + : this( + locations: _json.containsKey('locations') + ? (_json['locations'] as core.List) + .map((value) => Location.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (locations != null) + 'locations': locations!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response message for Operations.ListOperations. +class ListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List? operations; + + ListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + ListOperationsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + operations: _json.containsKey('operations') + ? (_json['operations'] as core.List) + .map((value) => Operation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) + 'operations': operations!.map((value) => value.toJson()).toList(), + }; +} + +/// A resource that represents Google Cloud Platform location. +class Location { + /// The friendly name for this location, typically a nearby city name. + /// + /// For example, "Tokyo". + core.String? displayName; + + /// Cross-service attributes for the location. + /// + /// For example {"cloud.googleapis.com/region": "us-east1"} + core.Map? labels; + + /// The canonical id for this location. + /// + /// For example: `"us-east1"`. + core.String? locationId; + + /// Service-specific metadata. + /// + /// For example the available capacity at the given location. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// Resource name for the location, which may vary between implementations. + /// + /// For example: `"projects/example-project/locations/us-east1"` + core.String? name; + + Location({ + this.displayName, + this.labels, + this.locationId, + this.metadata, + this.name, + }); + + Location.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + labels: _json.containsKey('labels') + ? (_json['labels'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + locationId: _json.containsKey('locationId') + ? _json['locationId'] as core.String + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (labels != null) 'labels': labels!, + if (locationId != null) 'locationId': locationId!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + }; +} + +/// This resource represents a long-running operation that is the result of a +/// network API call. +class Operation { + /// If the value is `false`, it means the operation is still in progress. + /// + /// If `true`, the operation is completed, and either `error` or `response` is + /// available. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + Status? error; + + /// Service-specific metadata associated with the operation. + /// + /// It typically contains progress information and common metadata such as + /// create time. Some services might not provide such metadata. Any method + /// that returns a long-running operation should document the metadata type, + /// if any. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// The server-assigned name, which is only unique within the same service + /// that originally returns it. + /// + /// If you use the default HTTP mapping, the `name` should be a resource name + /// ending with `operations/{unique_id}`. + core.String? name; + + /// The normal response of the operation in case of success. + /// + /// If the original method returns no data on success, such as `Delete`, the + /// response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other + /// methods, the response should have the type `XxxResponse`, where `Xxx` is + /// the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? response; + + Operation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + Operation.fromJson(core.Map _json) + : this( + done: _json.containsKey('done') ? _json['done'] as core.bool : null, + error: _json.containsKey('error') + ? Status.fromJson( + _json['error'] as core.Map) + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + response: _json.containsKey('response') + ? (_json['response'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + ); + + core.Map toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!.toJson(), + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + +/// Represents the metadata of the long-running operation. +class OperationMetadata { + /// API version used to start the operation. + /// + /// Output only. + core.String? apiVersion; + + /// The time the operation was created. + /// + /// Output only. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Output only. + core.String? endTime; + + /// Identifies whether the user has requested cancellation of the operation. + /// + /// Operations that have successfully been cancelled have Operation.error + /// value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// Output only. + core.bool? requestedCancellation; + + /// Human-readable status of the operation, if any. + /// + /// Output only. + core.String? statusMessage; + + /// Server-defined resource path for the target of the operation. + /// + /// Output only. + core.String? target; + + /// Name of the verb executed by the operation. + /// + /// Output only. + core.String? verb; + + OperationMetadata({ + this.apiVersion, + this.createTime, + this.endTime, + this.requestedCancellation, + this.statusMessage, + this.target, + this.verb, + }); + + OperationMetadata.fromJson(core.Map _json) + : this( + apiVersion: _json.containsKey('apiVersion') + ? _json['apiVersion'] as core.String + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + requestedCancellation: _json.containsKey('requestedCancellation') + ? _json['requestedCancellation'] as core.bool + : null, + statusMessage: _json.containsKey('statusMessage') + ? _json['statusMessage'] as core.String + : null, + target: _json.containsKey('target') + ? _json['target'] as core.String + : null, + verb: _json.containsKey('verb') ? _json['verb'] as core.String : null, + ); + + core.Map toJson() => { + if (apiVersion != null) 'apiVersion': apiVersion!, + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (requestedCancellation != null) + 'requestedCancellation': requestedCancellation!, + if (statusMessage != null) 'statusMessage': statusMessage!, + if (target != null) 'target': target!, + if (verb != null) 'verb': verb!, + }; +} + +/// An Identity and Access Management (IAM) policy, which specifies access +/// controls for Google Cloud resources. +/// +/// A `Policy` is a collection of `bindings`. A `binding` binds one or more +/// `members` to a single `role`. Members can be user accounts, service +/// accounts, Google groups, and domains (such as G Suite). A `role` is a named +/// list of permissions; each `role` can be an IAM predefined role or a +/// user-created custom role. For some types of Google Cloud resources, a +/// `binding` can also specify a `condition`, which is a logical expression that +/// allows access to a resource only if the expression evaluates to `true`. A +/// condition can add constraints based on attributes of the request, the +/// resource, or both. To learn which resources support conditions in their IAM +/// policies, see the +/// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). +/// **JSON example:** { "bindings": \[ { "role": +/// "roles/resourcemanager.organizationAdmin", "members": \[ +/// "user:mike@example.com", "group:admins@example.com", "domain:google.com", +/// "serviceAccount:my-project-id@appspot.gserviceaccount.com" \] }, { "role": +/// "roles/resourcemanager.organizationViewer", "members": \[ +/// "user:eve@example.com" \], "condition": { "title": "expirable access", +/// "description": "Does not grant access after Sep 2020", "expression": +/// "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } \], "etag": +/// "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - +/// user:mike@example.com - group:admins@example.com - domain:google.com - +/// serviceAccount:my-project-id@appspot.gserviceaccount.com role: +/// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com +/// role: roles/resourcemanager.organizationViewer condition: title: expirable +/// access description: Does not grant access after Sep 2020 expression: +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= +/// version: 3 For a description of IAM and its features, see the +/// [IAM documentation](https://cloud.google.com/iam/docs/). +class Policy { + /// Specifies cloud audit logging configuration for this policy. + core.List? auditConfigs; + + /// Associates a list of `members` to a `role`. + /// + /// Optionally, may specify a `condition` that determines how and when the + /// `bindings` are applied. Each of the `bindings` must contain at least one + /// member. + core.List? bindings; + + /// `etag` is used for optimistic concurrency control as a way to help prevent + /// simultaneous updates of a policy from overwriting each other. + /// + /// It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform policy updates in order to avoid race + /// conditions: An `etag` is returned in the response to `getIamPolicy`, and + /// systems are expected to put that etag in the request to `setIamPolicy` to + /// ensure that their change will be applied to the same version of the + /// policy. **Important:** If you use IAM Conditions, you must include the + /// `etag` field whenever you call `setIamPolicy`. If you omit this field, + /// then IAM allows you to overwrite a version `3` policy with a version `1` + /// policy, and all of the conditions in the version `3` policy are lost. + core.String? etag; + core.List get etagAsBytes => convert.base64.decode(etag!); + + set etagAsBytes(core.List _bytes) { + etag = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// Specifies the format of the policy. + /// + /// Valid values are `0`, `1`, and `3`. Requests that specify an invalid value + /// are rejected. Any operation that affects conditional role bindings must + /// specify version `3`. This requirement applies to the following operations: + /// * Getting a policy that includes a conditional role binding * Adding a + /// conditional role binding to a policy * Changing a conditional role binding + /// in a policy * Removing any role binding, with or without a condition, from + /// a policy that includes conditions **Important:** If you use IAM + /// Conditions, you must include the `etag` field whenever you call + /// `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + /// version `3` policy with a version `1` policy, and all of the conditions in + /// the version `3` policy are lost. If a policy does not include any + /// conditions, operations on that policy may specify any valid version or + /// leave the field unset. To learn which resources support conditions in + /// their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + core.int? version; + + Policy({ + this.auditConfigs, + this.bindings, + this.etag, + this.version, + }); + + Policy.fromJson(core.Map _json) + : this( + auditConfigs: _json.containsKey('auditConfigs') + ? (_json['auditConfigs'] as core.List) + .map((value) => AuditConfig.fromJson( + value as core.Map)) + .toList() + : null, + bindings: _json.containsKey('bindings') + ? (_json['bindings'] as core.List) + .map((value) => Binding.fromJson( + value as core.Map)) + .toList() + : null, + etag: _json.containsKey('etag') ? _json['etag'] as core.String : null, + version: _json.containsKey('version') + ? _json['version'] as core.int + : null, + ); + + core.Map toJson() => { + if (auditConfigs != null) + 'auditConfigs': auditConfigs!.map((value) => value.toJson()).toList(), + if (bindings != null) + 'bindings': bindings!.map((value) => value.toJson()).toList(), + if (etag != null) 'etag': etag!, + if (version != null) 'version': version!, + }; +} + +/// Request message for `SetIamPolicy` method. +class SetIamPolicyRequest { + /// REQUIRED: The complete policy to be applied to the `resource`. + /// + /// The size of the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) might + /// reject them. + Policy? policy; + + /// OPTIONAL: A FieldMask specifying which fields of the policy to modify. + /// + /// Only the fields in the mask will be modified. If no mask is provided, the + /// following default mask is used: `paths: "bindings, etag"` + core.String? updateMask; + + SetIamPolicyRequest({ + this.policy, + this.updateMask, + }); + + SetIamPolicyRequest.fromJson(core.Map _json) + : this( + policy: _json.containsKey('policy') + ? Policy.fromJson( + _json['policy'] as core.Map) + : null, + updateMask: _json.containsKey('updateMask') + ? _json['updateMask'] as core.String + : null, + ); + + core.Map toJson() => { + if (policy != null) 'policy': policy!.toJson(), + if (updateMask != null) 'updateMask': updateMask!, + }; +} + +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. +/// +/// It is used by [gRPC](https://github.com/grpc). Each `Status` message +/// contains three pieces of data: error code, error message, and error details. +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). +class Status { + /// The status code, which should be an enum value of google.rpc.Code. + core.int? code; + + /// A list of messages that carry the error details. + /// + /// There is a common set of message types for APIs to use. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? details; + + /// A developer-facing error message, which should be in English. + /// + /// Any user-facing error message should be localized and sent in the + /// google.rpc.Status.details field, or localized by the client. + core.String? message; + + Status({ + this.code, + this.details, + this.message, + }); + + Status.fromJson(core.Map _json) + : this( + code: _json.containsKey('code') ? _json['code'] as core.int : null, + details: _json.containsKey('details') + ? (_json['details'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + message: _json.containsKey('message') + ? _json['message'] as core.String + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (details != null) 'details': details!, + if (message != null) 'message': message!, + }; +} + +/// Request message for `TestIamPermissions` method. +class TestIamPermissionsRequest { + /// The set of permissions to check for the `resource`. + /// + /// Permissions with wildcards (such as '*' or 'storage.*') are not allowed. + /// For more information see + /// [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + core.List? permissions; + + TestIamPermissionsRequest({ + this.permissions, + }); + + TestIamPermissionsRequest.fromJson(core.Map _json) + : this( + permissions: _json.containsKey('permissions') + ? (_json['permissions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (permissions != null) 'permissions': permissions!, + }; +} + +/// Response message for `TestIamPermissions` method. +class TestIamPermissionsResponse { + /// A subset of `TestPermissionsRequest.permissions` that the caller is + /// allowed. + core.List? permissions; + + TestIamPermissionsResponse({ + this.permissions, + }); + + TestIamPermissionsResponse.fromJson(core.Map _json) + : this( + permissions: _json.containsKey('permissions') + ? (_json['permissions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (permissions != null) 'permissions': permissions!, + }; +} diff --git a/generated/googleapis/lib/notebooks/v1.dart b/generated/googleapis/lib/notebooks/v1.dart index 870913584..16f6972e9 100644 --- a/generated/googleapis/lib/notebooks/v1.dart +++ b/generated/googleapis/lib/notebooks/v1.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Notebooks API is used to manage notebook resources in Google Cloud. class AIPlatformNotebooksApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -441,7 +442,7 @@ class ProjectsLocationsExecutionsResource { /// Request parameters: /// /// [name] - Required. Format: - /// `projects/{project_id}/locations/{location}/schedules/{execution_id}` + /// `projects/{project_id}/locations/{location}/executions/{execution_id}` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/executions/\[^/\]+$`. /// @@ -2458,6 +2459,29 @@ class ContainerImage { }; } +/// Parameters used in Dataproc JobType executions. +class DataprocParameters { + /// URI for cluster used to run Dataproc execution. + /// + /// Format: 'projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME} + core.String? cluster; + + DataprocParameters({ + this.cluster, + }); + + DataprocParameters.fromJson(core.Map _json) + : this( + cluster: _json.containsKey('cluster') + ? _json['cluster'] as core.String + : null, + ); + + core.Map toJson() => { + if (cluster != null) 'cluster': cluster!, + }; +} + /// An instance-attached disk resource. class Disk { /// Indicates whether the disk will be auto-deleted when the instance is @@ -2887,6 +2911,9 @@ class ExecutionTemplate { /// https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container core.String? containerImageUri; + /// Parameters used in Dataproc JobType executions. + DataprocParameters? dataprocParameters; + /// Path to the notebook file to execute. /// /// Must be in a Google Cloud Storage bucket. Format: @@ -2894,6 +2921,15 @@ class ExecutionTemplate { /// gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb core.String? inputNotebookFile; + /// The type of Job to be used on this execution. + /// Possible string values are: + /// - "JOB_TYPE_UNSPECIFIED" : No type specified. + /// - "VERTEX_AI" : Custom Job in `aiplatform.googleapis.com`. Default value + /// for an execution. + /// - "DATAPROC" : Run execution on a cluster with Dataproc as a job. + /// https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs + core.String? jobType; + /// Labels for execution. /// /// If execution is scheduled, a field included will be 'nbs-scheduled'. @@ -2979,7 +3015,9 @@ class ExecutionTemplate { ExecutionTemplate({ this.acceleratorConfig, this.containerImageUri, + this.dataprocParameters, this.inputNotebookFile, + this.jobType, this.labels, this.masterType, this.outputNotebookFolder, @@ -2998,9 +3036,16 @@ class ExecutionTemplate { containerImageUri: _json.containsKey('containerImageUri') ? _json['containerImageUri'] as core.String : null, + dataprocParameters: _json.containsKey('dataprocParameters') + ? DataprocParameters.fromJson(_json['dataprocParameters'] + as core.Map) + : null, inputNotebookFile: _json.containsKey('inputNotebookFile') ? _json['inputNotebookFile'] as core.String : null, + jobType: _json.containsKey('jobType') + ? _json['jobType'] as core.String + : null, labels: _json.containsKey('labels') ? (_json['labels'] as core.Map).map( (key, item) => core.MapEntry( @@ -3033,7 +3078,10 @@ class ExecutionTemplate { if (acceleratorConfig != null) 'acceleratorConfig': acceleratorConfig!.toJson(), if (containerImageUri != null) 'containerImageUri': containerImageUri!, + if (dataprocParameters != null) + 'dataprocParameters': dataprocParameters!.toJson(), if (inputNotebookFile != null) 'inputNotebookFile': inputNotebookFile!, + if (jobType != null) 'jobType': jobType!, if (labels != null) 'labels': labels!, if (masterType != null) 'masterType': masterType!, if (outputNotebookFolder != null) @@ -4550,7 +4598,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/ondemandscanning/v1.dart b/generated/googleapis/lib/ondemandscanning/v1.dart index 49cc77e4a..612e2477c 100644 --- a/generated/googleapis/lib/ondemandscanning/v1.dart +++ b/generated/googleapis/lib/ondemandscanning/v1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A service to scan container images for vulnerabilities. class OnDemandScanningApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -711,6 +712,9 @@ class AttestationOccurrence { /// Details of a build occurrence. class BuildOccurrence { + /// In-toto Provenance representation as defined in spec. + InTotoProvenance? intotoProvenance; + /// The actual provenance for the build. /// /// Required. @@ -729,12 +733,17 @@ class BuildOccurrence { core.String? provenanceBytes; BuildOccurrence({ + this.intotoProvenance, this.provenance, this.provenanceBytes, }); BuildOccurrence.fromJson(core.Map _json) : this( + intotoProvenance: _json.containsKey('intotoProvenance') + ? InTotoProvenance.fromJson(_json['intotoProvenance'] + as core.Map) + : null, provenance: _json.containsKey('provenance') ? BuildProvenance.fromJson( _json['provenance'] as core.Map) @@ -745,6 +754,8 @@ class BuildOccurrence { ); core.Map toJson() => { + if (intotoProvenance != null) + 'intotoProvenance': intotoProvenance!.toJson(), if (provenance != null) 'provenance': provenance!.toJson(), if (provenanceBytes != null) 'provenanceBytes': provenanceBytes!, }; @@ -893,6 +904,23 @@ class BuildProvenance { }; } +class BuilderConfig { + core.String? id; + + BuilderConfig({ + this.id, + }); + + BuilderConfig.fromJson(core.Map _json) + : this( + id: _json.containsKey('id') ? _json['id'] as core.String : null, + ); + + core.Map toJson() => { + if (id != null) 'id': id!, + }; +} + /// The category to which the update belongs. class Category { /// The identifier of the category. @@ -1026,6 +1054,49 @@ class Command { }; } +/// Indicates that the builder claims certain fields in this message to be +/// complete. +class Completeness { + /// If true, the builder claims that recipe.arguments is complete, meaning + /// that all external inputs are properly captured in the recipe. + core.bool? arguments; + + /// If true, the builder claims that recipe.environment is claimed to be + /// complete. + core.bool? environment; + + /// If true, the builder claims that materials are complete, usually through + /// some controls to prevent network access. + /// + /// Sometimes called "hermetic". + core.bool? materials; + + Completeness({ + this.arguments, + this.environment, + this.materials, + }); + + Completeness.fromJson(core.Map _json) + : this( + arguments: _json.containsKey('arguments') + ? _json['arguments'] as core.bool + : null, + environment: _json.containsKey('environment') + ? _json['environment'] as core.bool + : null, + materials: _json.containsKey('materials') + ? _json['materials'] as core.bool + : null, + ); + + core.Map toJson() => { + if (arguments != null) 'arguments': arguments!, + if (environment != null) 'environment': environment!, + if (materials != null) 'materials': materials!, + }; +} + /// An indication that the compliance checks in the associated ComplianceNote /// were not satisfied for particular resources or a specified reason. class ComplianceOccurrence { @@ -1059,6 +1130,35 @@ class ComplianceOccurrence { }; } +class DSSEAttestationOccurrence { + /// If doing something security critical, make sure to verify the signatures + /// in this metadata. + Envelope? envelope; + InTotoStatement? statement; + + DSSEAttestationOccurrence({ + this.envelope, + this.statement, + }); + + DSSEAttestationOccurrence.fromJson(core.Map _json) + : this( + envelope: _json.containsKey('envelope') + ? Envelope.fromJson( + _json['envelope'] as core.Map) + : null, + statement: _json.containsKey('statement') + ? InTotoStatement.fromJson( + _json['statement'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (envelope != null) 'envelope': envelope!.toJson(), + if (statement != null) 'statement': statement!.toJson(), + }; +} + /// The period during which some deployable was active in a runtime. class DeploymentOccurrence { /// Address of the runtime element hosting this deployment. @@ -1226,6 +1326,80 @@ class Empty { core.Map toJson() => {}; } +/// MUST match +/// https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. +/// +/// An authenticated message of arbitrary type. +class Envelope { + core.String? payload; + core.List get payloadAsBytes => convert.base64.decode(payload!); + + set payloadAsBytes(core.List _bytes) { + payload = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + core.String? payloadType; + core.List? signatures; + + Envelope({ + this.payload, + this.payloadType, + this.signatures, + }); + + Envelope.fromJson(core.Map _json) + : this( + payload: _json.containsKey('payload') + ? _json['payload'] as core.String + : null, + payloadType: _json.containsKey('payloadType') + ? _json['payloadType'] as core.String + : null, + signatures: _json.containsKey('signatures') + ? (_json['signatures'] as core.List) + .map((value) => EnvelopeSignature.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (payload != null) 'payload': payload!, + if (payloadType != null) 'payloadType': payloadType!, + if (signatures != null) + 'signatures': signatures!.map((value) => value.toJson()).toList(), + }; +} + +class EnvelopeSignature { + core.String? keyid; + core.String? sig; + core.List get sigAsBytes => convert.base64.decode(sig!); + + set sigAsBytes(core.List _bytes) { + sig = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + EnvelopeSignature({ + this.keyid, + this.sig, + }); + + EnvelopeSignature.fromJson(core.Map _json) + : this( + keyid: + _json.containsKey('keyid') ? _json['keyid'] as core.String : null, + sig: _json.containsKey('sig') ? _json['sig'] as core.String : null, + ); + + core.Map toJson() => { + if (keyid != null) 'keyid': keyid!, + if (sig != null) 'sig': sig!, + }; +} + /// Container message for hashes of byte content of files, used in source /// messages to verify integrity of source input to the build. class FileHashes { @@ -1504,6 +1678,109 @@ class ImageOccurrence { }; } +class InTotoProvenance { + /// required + BuilderConfig? builderConfig; + + /// The collection of artifacts that influenced the build including sources, + /// dependencies, build tools, base images, and so on. + /// + /// This is considered to be incomplete unless metadata.completeness.materials + /// is true. Unset or null is equivalent to empty. + core.List? materials; + Metadata? metadata; + + /// Identifies the configuration used for the build. + /// + /// When combined with materials, this SHOULD fully describe the build, such + /// that re-running this recipe results in bit-for-bit identical output (if + /// the build is reproducible). required + Recipe? recipe; + + InTotoProvenance({ + this.builderConfig, + this.materials, + this.metadata, + this.recipe, + }); + + InTotoProvenance.fromJson(core.Map _json) + : this( + builderConfig: _json.containsKey('builderConfig') + ? BuilderConfig.fromJson( + _json['builderConfig'] as core.Map) + : null, + materials: _json.containsKey('materials') + ? (_json['materials'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + metadata: _json.containsKey('metadata') + ? Metadata.fromJson( + _json['metadata'] as core.Map) + : null, + recipe: _json.containsKey('recipe') + ? Recipe.fromJson( + _json['recipe'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (builderConfig != null) 'builderConfig': builderConfig!.toJson(), + if (materials != null) 'materials': materials!, + if (metadata != null) 'metadata': metadata!.toJson(), + if (recipe != null) 'recipe': recipe!.toJson(), + }; +} + +/// Spec defined at +/// https://github.com/in-toto/attestation/tree/main/spec#statement The +/// serialized InTotoStatement will be stored as Envelope.payload. +/// +/// Envelope.payloadType is always "application/vnd.in-toto+json". +class InTotoStatement { + /// "https://in-toto.io/Provenance/v0.1" for InTotoProvenance. + core.String? predicateType; + InTotoProvenance? provenance; + core.List? subject; + + /// Always "https://in-toto.io/Statement/v0.1". + core.String? type; + + InTotoStatement({ + this.predicateType, + this.provenance, + this.subject, + this.type, + }); + + InTotoStatement.fromJson(core.Map _json) + : this( + predicateType: _json.containsKey('predicateType') + ? _json['predicateType'] as core.String + : null, + provenance: _json.containsKey('provenance') + ? InTotoProvenance.fromJson( + _json['provenance'] as core.Map) + : null, + subject: _json.containsKey('subject') + ? (_json['subject'] as core.List) + .map((value) => Subject.fromJson( + value as core.Map)) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (predicateType != null) 'predicateType': predicateType!, + if (provenance != null) 'provenance': provenance!.toJson(), + if (subject != null) + 'subject': subject!.map((value) => value.toJson()).toList(), + if (type != null) 'type': type!, + }; +} + class Jwt { /// The compact encoding of a JWS, which is always three base64 encoded /// strings joined by periods. @@ -1671,6 +1948,65 @@ class Location { }; } +/// Other properties of the build. +class Metadata { + /// The timestamp of when the build completed. + core.String? buildFinishedOn; + + /// Identifies the particular build invocation, which can be useful for + /// finding associated logs or other ad-hoc analysis. + /// + /// The value SHOULD be globally unique, per in-toto Provenance spec. + core.String? buildInvocationId; + + /// The timestamp of when the build started. + core.String? buildStartedOn; + + /// Indicates that the builder claims certain fields in this message to be + /// complete. + Completeness? completeness; + + /// If true, the builder claims that running the recipe on materials will + /// produce bit-for-bit identical output. + core.bool? reproducible; + + Metadata({ + this.buildFinishedOn, + this.buildInvocationId, + this.buildStartedOn, + this.completeness, + this.reproducible, + }); + + Metadata.fromJson(core.Map _json) + : this( + buildFinishedOn: _json.containsKey('buildFinishedOn') + ? _json['buildFinishedOn'] as core.String + : null, + buildInvocationId: _json.containsKey('buildInvocationId') + ? _json['buildInvocationId'] as core.String + : null, + buildStartedOn: _json.containsKey('buildStartedOn') + ? _json['buildStartedOn'] as core.String + : null, + completeness: _json.containsKey('completeness') + ? Completeness.fromJson( + _json['completeness'] as core.Map) + : null, + reproducible: _json.containsKey('reproducible') + ? _json['reproducible'] as core.bool + : null, + ); + + core.Map toJson() => { + if (buildFinishedOn != null) 'buildFinishedOn': buildFinishedOn!, + if (buildInvocationId != null) 'buildInvocationId': buildInvocationId!, + if (buildStartedOn != null) 'buildStartedOn': buildStartedOn!, + if (completeness != null) 'completeness': completeness!.toJson(), + if (reproducible != null) 'reproducible': reproducible!, + }; +} + /// Details about files that caused a compliance check to fail. class NonCompliantFile { /// Command to display the non-compliant files. @@ -1732,6 +2068,12 @@ class Occurrence { /// Describes when a resource was discovered. DiscoveryOccurrence? discovery; + /// Describes an attestation of an artifact using dsse. + DSSEAttestationOccurrence? dsseAttestation; + + /// https://github.com/secure-systems-lab/dsse + Envelope? envelope; + /// Describes how this resource derives from the basis in the associated note. ImageOccurrence? image; @@ -1754,6 +2096,7 @@ class Occurrence { /// artifacts. /// - "UPGRADE" : This represents an available package upgrade. /// - "COMPLIANCE" : This represents a Compliance Note + /// - "DSSE_ATTESTATION" : This represents a DSSE attestation Note core.String? kind; /// The name of the occurrence in the form of @@ -1802,6 +2145,8 @@ class Occurrence { this.createTime, this.deployment, this.discovery, + this.dsseAttestation, + this.envelope, this.image, this.kind, this.name, @@ -1839,6 +2184,14 @@ class Occurrence { ? DiscoveryOccurrence.fromJson( _json['discovery'] as core.Map) : null, + dsseAttestation: _json.containsKey('dsseAttestation') + ? DSSEAttestationOccurrence.fromJson(_json['dsseAttestation'] + as core.Map) + : null, + envelope: _json.containsKey('envelope') + ? Envelope.fromJson( + _json['envelope'] as core.Map) + : null, image: _json.containsKey('image') ? ImageOccurrence.fromJson( _json['image'] as core.Map) @@ -1878,6 +2231,9 @@ class Occurrence { if (createTime != null) 'createTime': createTime!, if (deployment != null) 'deployment': deployment!.toJson(), if (discovery != null) 'discovery': discovery!.toJson(), + if (dsseAttestation != null) + 'dsseAttestation': dsseAttestation!.toJson(), + if (envelope != null) 'envelope': envelope!.toJson(), if (image != null) 'image': image!.toJson(), if (kind != null) 'kind': kind!, if (name != null) 'name': name!, @@ -2072,6 +2428,20 @@ class PackageIssue { /// Required. Version? affectedVersion; + /// The distro or language system assigned severity for this vulnerability + /// when that is available and note provider assigned severity when it is not + /// available. + /// + /// Output only. + /// Possible string values are: + /// - "SEVERITY_UNSPECIFIED" : Unknown. + /// - "MINIMAL" : Minimal severity. + /// - "LOW" : Low severity. + /// - "MEDIUM" : Medium severity. + /// - "HIGH" : High severity. + /// - "CRITICAL" : Critical severity. + core.String? effectiveSeverity; + /// Whether a fix is available for this package. /// /// Output only. @@ -2095,14 +2465,19 @@ class PackageIssue { /// Required. Version? fixedVersion; + /// The type of package (e.g. OS, MAVEN, GO). + core.String? packageType; + PackageIssue({ this.affectedCpeUri, this.affectedPackage, this.affectedVersion, + this.effectiveSeverity, this.fixAvailable, this.fixedCpeUri, this.fixedPackage, this.fixedVersion, + this.packageType, }); PackageIssue.fromJson(core.Map _json) @@ -2117,6 +2492,9 @@ class PackageIssue { ? Version.fromJson(_json['affectedVersion'] as core.Map) : null, + effectiveSeverity: _json.containsKey('effectiveSeverity') + ? _json['effectiveSeverity'] as core.String + : null, fixAvailable: _json.containsKey('fixAvailable') ? _json['fixAvailable'] as core.bool : null, @@ -2130,6 +2508,9 @@ class PackageIssue { ? Version.fromJson( _json['fixedVersion'] as core.Map) : null, + packageType: _json.containsKey('packageType') + ? _json['packageType'] as core.String + : null, ); core.Map toJson() => { @@ -2137,10 +2518,12 @@ class PackageIssue { if (affectedPackage != null) 'affectedPackage': affectedPackage!, if (affectedVersion != null) 'affectedVersion': affectedVersion!.toJson(), + if (effectiveSeverity != null) 'effectiveSeverity': effectiveSeverity!, if (fixAvailable != null) 'fixAvailable': fixAvailable!, if (fixedCpeUri != null) 'fixedCpeUri': fixedCpeUri!, if (fixedPackage != null) 'fixedPackage': fixedPackage!, if (fixedVersion != null) 'fixedVersion': fixedVersion!.toJson(), + if (packageType != null) 'packageType': packageType!, }; } @@ -2212,6 +2595,108 @@ class ProjectRepoId { }; } +/// Steps taken to build the artifact. +/// +/// For a TaskRun, typically each container corresponds to one step in the +/// recipe. +class Recipe { + /// Collection of all external inputs that influenced the build on top of + /// recipe.definedInMaterial and recipe.entryPoint. + /// + /// For example, if the recipe type were "make", then this might be the flags + /// passed to make aside from the target, which is captured in + /// recipe.entryPoint. Since the arguments field can greatly vary in + /// structure, depending on the builder and recipe type, this is of form + /// "Any". + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? arguments; + + /// Index in materials containing the recipe steps that are not implied by + /// recipe.type. + /// + /// For example, if the recipe type were "make", then this would point to the + /// source containing the Makefile, not the make program itself. Set to -1 if + /// the recipe doesn't come from a material, as zero is default unset value + /// for int64. + core.String? definedInMaterial; + + /// String identifying the entry point into the build. + /// + /// This is often a path to a configuration file and/or a target label within + /// that file. The syntax and meaning are defined by recipe.type. For example, + /// if the recipe type were "make", then this would reference the directory in + /// which to run make as well as which target to use. + core.String? entryPoint; + + /// Any other builder-controlled inputs necessary for correctly evaluating the + /// recipe. + /// + /// Usually only needed for reproducing the build but not evaluated as part of + /// policy. Since the environment field can greatly vary in structure, + /// depending on the builder and recipe type, this is of form "Any". + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? environment; + + /// URI indicating what type of recipe was performed. + /// + /// It determines the meaning of recipe.entryPoint, recipe.arguments, + /// recipe.environment, and materials. + core.String? type; + + Recipe({ + this.arguments, + this.definedInMaterial, + this.entryPoint, + this.environment, + this.type, + }); + + Recipe.fromJson(core.Map _json) + : this( + arguments: _json.containsKey('arguments') + ? (_json['arguments'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + definedInMaterial: _json.containsKey('definedInMaterial') + ? _json['definedInMaterial'] as core.String + : null, + entryPoint: _json.containsKey('entryPoint') + ? _json['entryPoint'] as core.String + : null, + environment: _json.containsKey('environment') + ? (_json['environment'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (arguments != null) 'arguments': arguments!, + if (definedInMaterial != null) 'definedInMaterial': definedInMaterial!, + if (entryPoint != null) 'entryPoint': entryPoint!, + if (environment != null) 'environment': environment!, + if (type != null) 'type': type!, + }; +} + /// Metadata for any related URL information. class RelatedUrl { /// Label to describe usage of the URL. @@ -2522,6 +3007,35 @@ class Status { }; } +class Subject { + /// "": "" + core.Map? digest; + core.String? name; + + Subject({ + this.digest, + this.name, + }); + + Subject.fromJson(core.Map _json) + : this( + digest: _json.containsKey('digest') + ? (_json['digest'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (digest != null) 'digest': digest!, + if (name != null) 'name': name!, + }; +} + /// The Upgrade Distribution represents metadata about the Upgrade for each /// operating system (CPE). /// @@ -2727,6 +3241,14 @@ class VulnerabilityOccurrence { /// The distro assigned severity for this vulnerability when it is available, /// otherwise this is the note provider assigned severity. + /// + /// When there are multiple PackageIssues for this vulnerability, they can + /// have different effective severities because some might be provided by the + /// distro while others are provided by the language ecosystem for a language + /// pack. For this reason, it is advised to use the effective severity on the + /// PackageIssue level. In the case where multiple PackageIssues have + /// differing effective severities, this field should be the highest severity + /// for any of the PackageIssues. /// Possible string values are: /// - "SEVERITY_UNSPECIFIED" : Unknown. /// - "MINIMAL" : Minimal severity. diff --git a/generated/googleapis/lib/orgpolicy/v2.dart b/generated/googleapis/lib/orgpolicy/v2.dart index 18c4b0779..414253661 100644 --- a/generated/googleapis/lib/orgpolicy/v2.dart +++ b/generated/googleapis/lib/orgpolicy/v2.dart @@ -48,7 +48,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Org Policy API allows users to configure governance ruleson their GCP /// resources across the Cloud Resource Hierarchy. class OrgPolicyApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/osconfig/v1.dart b/generated/googleapis/lib/osconfig/v1.dart index 0dbe6e242..c033e3f03 100644 --- a/generated/googleapis/lib/osconfig/v1.dart +++ b/generated/googleapis/lib/osconfig/v1.dart @@ -22,8 +22,11 @@ /// /// Create an instance of [OSConfigApi] to access these resources: /// -/// - [OperationsResource] /// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsInstancesResource] +/// - [ProjectsLocationsInstancesInventoriesResource] +/// - [ProjectsLocationsInstancesVulnerabilityReportsResource] /// - [ProjectsPatchDeploymentsResource] /// - [ProjectsPatchJobsResource] /// - [ProjectsPatchJobsInstanceDetailsResource] @@ -44,13 +47,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// OS management tools that can be used for patch management, patch compliance, /// and configuration management on VM instances. class OSConfigApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; final commons.ApiRequester _requester; - OperationsResource get operations => OperationsResource(_requester); ProjectsResource get projects => ProjectsResource(_requester); OSConfigApi(http.Client client, @@ -60,37 +63,88 @@ class OSConfigApi { commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); } -class OperationsResource { +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + ProjectsPatchDeploymentsResource get patchDeployments => + ProjectsPatchDeploymentsResource(_requester); + ProjectsPatchJobsResource get patchJobs => + ProjectsPatchJobsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsInstancesResource get instances => + ProjectsLocationsInstancesResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsInstancesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsInstancesInventoriesResource get inventories => + ProjectsLocationsInstancesInventoriesResource(_requester); + ProjectsLocationsInstancesVulnerabilityReportsResource + get vulnerabilityReports => + ProjectsLocationsInstancesVulnerabilityReportsResource(_requester); + + ProjectsLocationsInstancesResource(commons.ApiRequester client) + : _requester = client; +} + +class ProjectsLocationsInstancesInventoriesResource { final commons.ApiRequester _requester; - OperationsResource(commons.ApiRequester client) : _requester = client; + ProjectsLocationsInstancesInventoriesResource(commons.ApiRequester client) + : _requester = client; - /// Deletes a long-running operation. + /// Get inventory data for the specified VM instance. /// - /// This method indicates that the client is no longer interested in the - /// operation result. It does not cancel the operation. If the server doesn't - /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// If the VM has no associated inventory, the message `NOT_FOUND` is + /// returned. /// /// Request parameters: /// - /// [name] - The name of the operation resource to be deleted. - /// Value must have pattern `^operations/.*$`. + /// [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. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+/inventory$`. + /// + /// [view] - Inventory view indicating what information should be included in + /// the inventory resource. If unspecified, the default view is BASIC. + /// Possible string values are: + /// - "INVENTORY_VIEW_UNSPECIFIED" : The default value. The API defaults to + /// the BASIC view. + /// - "BASIC" : Returns the basic inventory information that includes + /// `os_info`. + /// - "FULL" : Returns all fields. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [Empty]. + /// Completes with a [Inventory]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future delete( + async.Future get( core.String name, { + core.String? view, core.String? $fields, }) async { final _queryParams = >{ + if (view != null) 'view': [view], if ($fields != null) 'fields': [$fields], }; @@ -98,79 +152,182 @@ class OperationsResource { final _response = await _requester.request( _url, - 'DELETE', + 'GET', queryParams: _queryParams, ); - return Empty.fromJson(_response as core.Map); + return Inventory.fromJson(_response as core.Map); } - /// Lists operations that match the specified filter in the request. - /// - /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. - /// NOTE: the `name` binding allows API services to override the binding to - /// use different resource name schemes, such as `users / * /operations`. To - /// override the binding, API services can add a binding such as - /// `"/v1/{name=users / * }/operations"` to their service configuration. For - /// backwards compatibility, the default name includes the operations - /// collection id, however overriding users must ensure the name binding is - /// the parent resource, without the operations collection id. + /// List inventory data for all VM instances in the specified zone. /// /// Request parameters: /// - /// [name] - The name of the operation's parent resource. - /// Value must have pattern `^operations$`. + /// [parent] - Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/instances/-` For `{project}`, + /// either `project-number` or `project-id` can be provided. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. + /// + /// [filter] - If provided, this field specifies the criteria that must be met + /// by a `Inventory` API resource to be included in the response. /// - /// [filter] - The standard list filter. + /// [pageSize] - The maximum number of results to return. /// - /// [pageSize] - The standard list page size. + /// [pageToken] - A pagination token returned from a previous call to + /// `ListInventories` that indicates where this listing should continue from. /// - /// [pageToken] - The standard list page token. + /// [view] - Inventory view indicating what information should be included in + /// the inventory resource. If unspecified, the default view is BASIC. + /// Possible string values are: + /// - "INVENTORY_VIEW_UNSPECIFIED" : The default value. The API defaults to + /// the BASIC view. + /// - "BASIC" : Returns the basic inventory information that includes + /// `os_info`. + /// - "FULL" : Returns all fields. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [ListOperationsResponse]. + /// Completes with a [ListInventoriesResponse]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future list( - core.String name, { + async.Future list( + core.String parent, { core.String? filter, core.int? pageSize, core.String? pageToken, + core.String? view, core.String? $fields, }) async { final _queryParams = >{ if (filter != null) 'filter': [filter], if (pageSize != null) 'pageSize': ['${pageSize}'], if (pageToken != null) 'pageToken': [pageToken], + if (view != null) 'view': [view], if ($fields != null) 'fields': [$fields], }; - final _url = 'v1/' + core.Uri.encodeFull('$name'); + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/inventories'; final _response = await _requester.request( _url, 'GET', queryParams: _queryParams, ); - return ListOperationsResponse.fromJson( + return ListInventoriesResponse.fromJson( _response as core.Map); } } -class ProjectsResource { +class ProjectsLocationsInstancesVulnerabilityReportsResource { final commons.ApiRequester _requester; - ProjectsPatchDeploymentsResource get patchDeployments => - ProjectsPatchDeploymentsResource(_requester); - ProjectsPatchJobsResource get patchJobs => - ProjectsPatchJobsResource(_requester); + ProjectsLocationsInstancesVulnerabilityReportsResource( + commons.ApiRequester client) + : _requester = client; - ProjectsResource(commons.ApiRequester client) : _requester = client; + /// Gets the vulnerability report for the specified VM instance. + /// + /// Only VMs with inventory data have vulnerability reports associated with + /// them. + /// + /// Request parameters: + /// + /// [name] - Required. API resource name for vulnerability resource. Format: + /// `projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport` + /// For `{project}`, either `project-number` or `project-id` can be provided. + /// For `{instance}`, either Compute Engine `instance-id` or `instance-name` + /// can be provided. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+/vulnerabilityReport$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [VulnerabilityReport]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return VulnerabilityReport.fromJson( + _response as core.Map); + } + + /// List vulnerability reports for all VM instances in the specified zone. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/instances/-` For `{project}`, + /// either `project-number` or `project-id` can be provided. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. + /// + /// [filter] - If provided, this field specifies the criteria that must be met + /// by a `vulnerabilityReport` API resource to be included in the response. + /// + /// [pageSize] - The maximum number of results to return. + /// + /// [pageToken] - A pagination token returned from a previous call to + /// `ListVulnerabilityReports` that indicates where this listing should + /// continue from. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListVulnerabilityReportsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1/' + core.Uri.encodeFull('$parent') + '/vulnerabilityReports'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListVulnerabilityReportsResponse.fromJson( + _response as core.Map); + } } class ProjectsPatchDeploymentsResource { @@ -646,6 +803,191 @@ class AptSettings { }; } +/// Common Vulnerability Scoring System version 3. +/// +/// For details, see https://www.first.org/cvss/specification-document +class CVSSv3 { + /// This metric describes the conditions beyond the attacker's control that + /// must exist in order to exploit the vulnerability. + /// Possible string values are: + /// - "ATTACK_COMPLEXITY_UNSPECIFIED" : Invalid value. + /// - "ATTACK_COMPLEXITY_LOW" : Specialized access conditions or extenuating + /// circumstances do not exist. An attacker can expect repeatable success when + /// attacking the vulnerable component. + /// - "ATTACK_COMPLEXITY_HIGH" : A successful attack depends on conditions + /// beyond the attacker's control. That is, a successful attack cannot be + /// accomplished at will, but requires the attacker to invest in some + /// measurable amount of effort in preparation or execution against the + /// vulnerable component before a successful attack can be expected. + core.String? attackComplexity; + + /// This metric reflects the context by which vulnerability exploitation is + /// possible. + /// Possible string values are: + /// - "ATTACK_VECTOR_UNSPECIFIED" : Invalid value. + /// - "ATTACK_VECTOR_NETWORK" : The vulnerable component is bound to the + /// network stack and the set of possible attackers extends beyond the other + /// options listed below, up to and including the entire Internet. + /// - "ATTACK_VECTOR_ADJACENT" : The vulnerable component is bound to the + /// network stack, but the attack is limited at the protocol level to a + /// logically adjacent topology. + /// - "ATTACK_VECTOR_LOCAL" : The vulnerable component is not bound to the + /// network stack and the attacker's path is via read/write/execute + /// capabilities. + /// - "ATTACK_VECTOR_PHYSICAL" : The attack requires the attacker to + /// physically touch or manipulate the vulnerable component. + core.String? attackVector; + + /// This metric measures the impact to the availability of the impacted + /// component resulting from a successfully exploited vulnerability. + /// Possible string values are: + /// - "IMPACT_UNSPECIFIED" : Invalid value. + /// - "IMPACT_HIGH" : High impact. + /// - "IMPACT_LOW" : Low impact. + /// - "IMPACT_NONE" : No impact. + core.String? availabilityImpact; + + /// The base score is a function of the base metric scores. + /// + /// https://www.first.org/cvss/specification-document#Base-Metrics + core.double? baseScore; + + /// This metric measures the impact to the confidentiality of the information + /// resources managed by a software component due to a successfully exploited + /// vulnerability. + /// Possible string values are: + /// - "IMPACT_UNSPECIFIED" : Invalid value. + /// - "IMPACT_HIGH" : High impact. + /// - "IMPACT_LOW" : Low impact. + /// - "IMPACT_NONE" : No impact. + core.String? confidentialityImpact; + + /// The Exploitability sub-score equation is derived from the Base + /// Exploitability metrics. + /// + /// https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics + core.double? exploitabilityScore; + + /// The Impact sub-score equation is derived from the Base Impact metrics. + core.double? impactScore; + + /// This metric measures the impact to integrity of a successfully exploited + /// vulnerability. + /// Possible string values are: + /// - "IMPACT_UNSPECIFIED" : Invalid value. + /// - "IMPACT_HIGH" : High impact. + /// - "IMPACT_LOW" : Low impact. + /// - "IMPACT_NONE" : No impact. + core.String? integrityImpact; + + /// This metric describes the level of privileges an attacker must possess + /// before successfully exploiting the vulnerability. + /// Possible string values are: + /// - "PRIVILEGES_REQUIRED_UNSPECIFIED" : Invalid value. + /// - "PRIVILEGES_REQUIRED_NONE" : The attacker is unauthorized prior to + /// attack, and therefore does not require any access to settings or files of + /// the vulnerable system to carry out an attack. + /// - "PRIVILEGES_REQUIRED_LOW" : The attacker requires privileges that + /// provide basic user capabilities that could normally affect only settings + /// and files owned by a user. Alternatively, an attacker with Low privileges + /// has the ability to access only non-sensitive resources. + /// - "PRIVILEGES_REQUIRED_HIGH" : The attacker requires privileges that + /// provide significant (e.g., administrative) control over the vulnerable + /// component allowing access to component-wide settings and files. + core.String? privilegesRequired; + + /// The Scope metric captures whether a vulnerability in one vulnerable + /// component impacts resources in components beyond its security scope. + /// Possible string values are: + /// - "SCOPE_UNSPECIFIED" : Invalid value. + /// - "SCOPE_UNCHANGED" : An exploited vulnerability can only affect resources + /// managed by the same security authority. + /// - "SCOPE_CHANGED" : An exploited vulnerability can affect resources beyond + /// the security scope managed by the security authority of the vulnerable + /// component. + core.String? scope; + + /// This metric captures the requirement for a human user, other than the + /// attacker, to participate in the successful compromise of the vulnerable + /// component. + /// Possible string values are: + /// - "USER_INTERACTION_UNSPECIFIED" : Invalid value. + /// - "USER_INTERACTION_NONE" : The vulnerable system can be exploited without + /// interaction from any user. + /// - "USER_INTERACTION_REQUIRED" : Successful exploitation of this + /// vulnerability requires a user to take some action before the vulnerability + /// can be exploited. + core.String? userInteraction; + + CVSSv3({ + this.attackComplexity, + this.attackVector, + this.availabilityImpact, + this.baseScore, + this.confidentialityImpact, + this.exploitabilityScore, + this.impactScore, + this.integrityImpact, + this.privilegesRequired, + this.scope, + this.userInteraction, + }); + + CVSSv3.fromJson(core.Map _json) + : this( + attackComplexity: _json.containsKey('attackComplexity') + ? _json['attackComplexity'] as core.String + : null, + attackVector: _json.containsKey('attackVector') + ? _json['attackVector'] as core.String + : null, + availabilityImpact: _json.containsKey('availabilityImpact') + ? _json['availabilityImpact'] as core.String + : null, + baseScore: _json.containsKey('baseScore') + ? (_json['baseScore'] as core.num).toDouble() + : null, + confidentialityImpact: _json.containsKey('confidentialityImpact') + ? _json['confidentialityImpact'] as core.String + : null, + exploitabilityScore: _json.containsKey('exploitabilityScore') + ? (_json['exploitabilityScore'] as core.num).toDouble() + : null, + impactScore: _json.containsKey('impactScore') + ? (_json['impactScore'] as core.num).toDouble() + : null, + integrityImpact: _json.containsKey('integrityImpact') + ? _json['integrityImpact'] as core.String + : null, + privilegesRequired: _json.containsKey('privilegesRequired') + ? _json['privilegesRequired'] as core.String + : null, + scope: + _json.containsKey('scope') ? _json['scope'] as core.String : null, + userInteraction: _json.containsKey('userInteraction') + ? _json['userInteraction'] as core.String + : null, + ); + + core.Map toJson() => { + if (attackComplexity != null) 'attackComplexity': attackComplexity!, + if (attackVector != null) 'attackVector': attackVector!, + if (availabilityImpact != null) + 'availabilityImpact': availabilityImpact!, + if (baseScore != null) 'baseScore': baseScore!, + if (confidentialityImpact != null) + 'confidentialityImpact': confidentialityImpact!, + if (exploitabilityScore != null) + 'exploitabilityScore': exploitabilityScore!, + if (impactScore != null) 'impactScore': impactScore!, + if (integrityImpact != null) 'integrityImpact': integrityImpact!, + if (privilegesRequired != null) + 'privilegesRequired': privilegesRequired!, + if (scope != null) 'scope': scope!, + if (userInteraction != null) 'userInteraction': userInteraction!, + }; +} + /// Message for canceling a patch job. class CancelPatchJobRequest { CancelPatchJobRequest(); @@ -940,7 +1282,12 @@ class GooSettings { core.Map toJson() => {}; } -/// The inventory details of a VM. +/// This API resource represents the available inventory data for a Compute +/// Engine virtual machine (VM) instance at a given point in time. +/// +/// You can use this API resource to determine the inventory data of your VM. +/// For more information, see +/// [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected). class Inventory { /// Inventory items related to the VM keyed by an opaque unique identifier for /// each inventory item. @@ -949,12 +1296,27 @@ class Inventory { /// and will change, when there is a new package version. core.Map? items; + /// The `Inventory` API resource name. + /// + /// Format: + /// `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory` + /// + /// Output only. + core.String? name; + /// Base level operating system information for the VM. InventoryOsInfo? osInfo; + /// Timestamp of the last reported inventory for the VM. + /// + /// Output only. + core.String? updateTime; + Inventory({ this.items, + this.name, this.osInfo, + this.updateTime, }); Inventory.fromJson(core.Map _json) @@ -968,16 +1330,22 @@ class Inventory { ), ) : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, osInfo: _json.containsKey('osInfo') ? InventoryOsInfo.fromJson( _json['osInfo'] as core.Map) : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, ); core.Map toJson() => { if (items != null) 'items': items!.map((key, item) => core.MapEntry(key, item.toJson())), + if (name != null) 'name': name!, if (osInfo != null) 'osInfo': osInfo!.toJson(), + if (updateTime != null) 'updateTime': updateTime!, }; } @@ -1517,36 +1885,37 @@ class InventoryZypperPatch { }; } -/// The response message for Operations.ListOperations. -class ListOperationsResponse { - /// The standard List next-page token. - core.String? nextPageToken; +/// A response message for listing inventory data for all VMs in a specified +/// location. +class ListInventoriesResponse { + /// List of inventory objects. + core.List? inventories; - /// A list of operations that matches the specified filter in the request. - core.List? operations; + /// The pagination token to retrieve the next page of inventory objects. + core.String? nextPageToken; - ListOperationsResponse({ + ListInventoriesResponse({ + this.inventories, this.nextPageToken, - this.operations, }); - ListOperationsResponse.fromJson(core.Map _json) + ListInventoriesResponse.fromJson(core.Map _json) : this( - nextPageToken: _json.containsKey('nextPageToken') - ? _json['nextPageToken'] as core.String - : null, - operations: _json.containsKey('operations') - ? (_json['operations'] as core.List) - .map((value) => Operation.fromJson( + inventories: _json.containsKey('inventories') + ? (_json['inventories'] as core.List) + .map((value) => Inventory.fromJson( value as core.Map)) .toList() : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, ); core.Map toJson() => { + if (inventories != null) + 'inventories': inventories!.map((value) => value.toJson()).toList(), if (nextPageToken != null) 'nextPageToken': nextPageToken!, - if (operations != null) - 'operations': operations!.map((value) => value.toJson()).toList(), }; } @@ -1653,6 +2022,43 @@ class ListPatchJobsResponse { }; } +/// A response message for listing vulnerability reports for all VM instances in +/// the specified location. +class ListVulnerabilityReportsResponse { + /// The pagination token to retrieve the next page of vulnerabilityReports + /// object. + core.String? nextPageToken; + + /// List of vulnerabilityReport objects. + core.List? vulnerabilityReports; + + ListVulnerabilityReportsResponse({ + this.nextPageToken, + this.vulnerabilityReports, + }); + + ListVulnerabilityReportsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + vulnerabilityReports: _json.containsKey('vulnerabilityReports') + ? (_json['vulnerabilityReports'] as core.List) + .map((value) => + VulnerabilityReport.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (vulnerabilityReports != null) + 'vulnerabilityReports': + vulnerabilityReports!.map((value) => value.toJson()).toList(), + }; +} + /// Represents a monthly schedule. /// /// An example of a valid monthly schedule is "on the third Tuesday of the @@ -1789,92 +2195,6 @@ class OneTimeSchedule { }; } -/// This resource represents a long-running operation that is the result of a -/// network API call. -class Operation { - /// If the value is `false`, it means the operation is still in progress. - /// - /// If `true`, the operation is completed, and either `error` or `response` is - /// available. - core.bool? done; - - /// The error result of the operation in case of failure or cancellation. - Status? error; - - /// Service-specific metadata associated with the operation. - /// - /// It typically contains progress information and common metadata such as - /// create time. Some services might not provide such metadata. Any method - /// that returns a long-running operation should document the metadata type, - /// if any. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.Map? metadata; - - /// The server-assigned name, which is only unique within the same service - /// that originally returns it. - /// - /// If you use the default HTTP mapping, the `name` should be a resource name - /// ending with `operations/{unique_id}`. - core.String? name; - - /// The normal response of the operation in case of success. - /// - /// If the original method returns no data on success, such as `Delete`, the - /// response is `google.protobuf.Empty`. If the original method is standard - /// `Get`/`Create`/`Update`, the response should be the resource. For other - /// methods, the response should have the type `XxxResponse`, where `Xxx` is - /// the original method name. For example, if the original method name is - /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.Map? response; - - Operation({ - this.done, - this.error, - this.metadata, - this.name, - this.response, - }); - - Operation.fromJson(core.Map _json) - : this( - done: _json.containsKey('done') ? _json['done'] as core.bool : null, - error: _json.containsKey('error') - ? Status.fromJson( - _json['error'] as core.Map) - : null, - metadata: _json.containsKey('metadata') - ? (_json['metadata'] as core.Map).map( - (key, item) => core.MapEntry( - key, - item as core.Object, - ), - ) - : null, - name: _json.containsKey('name') ? _json['name'] as core.String : null, - response: _json.containsKey('response') - ? (_json['response'] as core.Map).map( - (key, item) => core.MapEntry( - key, - item as core.Object, - ), - ) - : null, - ); - - core.Map toJson() => { - if (done != null) 'done': done!, - if (error != null) 'error': error!.toJson(), - if (metadata != null) 'metadata': metadata!, - if (name != null) 'name': name!, - if (response != null) 'response': response!, - }; -} - /// Patch configuration specifications. /// /// Contains details on how to apply the patch(es) to a VM instance. @@ -2824,63 +3144,6 @@ class RecurringSchedule { }; } -/// The `Status` type defines a logical error model that is suitable for -/// different programming environments, including REST APIs and RPC APIs. -/// -/// It is used by [gRPC](https://github.com/grpc). Each `Status` message -/// contains three pieces of data: error code, error message, and error details. -/// You can find out more about this error model and how to work with it in the -/// [API Design Guide](https://cloud.google.com/apis/design/errors). -class Status { - /// The status code, which should be an enum value of google.rpc.Code. - core.int? code; - - /// A list of messages that carry the error details. - /// - /// There is a common set of message types for APIs to use. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.List>? details; - - /// A developer-facing error message, which should be in English. - /// - /// Any user-facing error message should be localized and sent in the - /// google.rpc.Status.details field, or localized by the client. - core.String? message; - - Status({ - this.code, - this.details, - this.message, - }); - - Status.fromJson(core.Map _json) - : this( - code: _json.containsKey('code') ? _json['code'] as core.int : null, - details: _json.containsKey('details') - ? (_json['details'] as core.List) - .map>((value) => - (value as core.Map).map( - (key, item) => core.MapEntry( - key, - item as core.Object, - ), - )) - .toList() - : null, - message: _json.containsKey('message') - ? _json['message'] as core.String - : null, - ); - - core.Map toJson() => { - if (code != null) 'code': code!, - if (details != null) 'details': details!, - if (message != null) 'message': message!, - }; -} - /// Represents a time of day. /// /// The date and time zone are either not significant or are specified @@ -2966,6 +3229,237 @@ class TimeZone { }; } +/// This API resource represents the vulnerability report for a specified +/// Compute Engine virtual machine (VM) instance at a given point in time. +/// +/// For more information, see +/// [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports). +class VulnerabilityReport { + /// The `vulnerabilityReport` API resource name. + /// + /// Format: + /// `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport` + /// + /// Output only. + core.String? name; + + /// The timestamp for when the last vulnerability report was generated for the + /// VM. + /// + /// Output only. + core.String? updateTime; + + /// List of vulnerabilities affecting the VM. + /// + /// Output only. + core.List? vulnerabilities; + + VulnerabilityReport({ + this.name, + this.updateTime, + this.vulnerabilities, + }); + + VulnerabilityReport.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + vulnerabilities: _json.containsKey('vulnerabilities') + ? (_json['vulnerabilities'] as core.List) + .map((value) => + VulnerabilityReportVulnerability.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (updateTime != null) 'updateTime': updateTime!, + if (vulnerabilities != null) + 'vulnerabilities': + vulnerabilities!.map((value) => value.toJson()).toList(), + }; +} + +/// A vulnerability affecting the VM instance. +class VulnerabilityReportVulnerability { + /// Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. + /// + /// If the vulnerability report was not updated after the VM inventory update, + /// these values might not display in VM inventory. If there is no available + /// fix, the field is empty. The `inventory_item` value specifies the latest + /// `SoftwarePackage` available to the VM that fixes the vulnerability. + core.List? availableInventoryItemIds; + + /// The timestamp for when the vulnerability was first detected. + core.String? createTime; + + /// Contains metadata as per the upstream feed of the operating system and + /// NVD. + VulnerabilityReportVulnerabilityDetails? details; + + /// Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. + /// + /// This field displays the inventory items affected by this vulnerability. If + /// the vulnerability report was not updated after the VM inventory update, + /// these values might not display in VM inventory. For some distros, this + /// field may be empty. + core.List? installedInventoryItemIds; + + /// The timestamp for when the vulnerability was last modified. + core.String? updateTime; + + VulnerabilityReportVulnerability({ + this.availableInventoryItemIds, + this.createTime, + this.details, + this.installedInventoryItemIds, + this.updateTime, + }); + + VulnerabilityReportVulnerability.fromJson(core.Map _json) + : this( + availableInventoryItemIds: + _json.containsKey('availableInventoryItemIds') + ? (_json['availableInventoryItemIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + details: _json.containsKey('details') + ? VulnerabilityReportVulnerabilityDetails.fromJson( + _json['details'] as core.Map) + : null, + installedInventoryItemIds: + _json.containsKey('installedInventoryItemIds') + ? (_json['installedInventoryItemIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + updateTime: _json.containsKey('updateTime') + ? _json['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (availableInventoryItemIds != null) + 'availableInventoryItemIds': availableInventoryItemIds!, + if (createTime != null) 'createTime': createTime!, + if (details != null) 'details': details!.toJson(), + if (installedInventoryItemIds != null) + 'installedInventoryItemIds': installedInventoryItemIds!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Contains metadata information for the vulnerability. +/// +/// This information is collected from the upstream feed of the operating +/// system. +class VulnerabilityReportVulnerabilityDetails { + /// The CVE of the vulnerability. + /// + /// CVE cannot be empty and the combination of should be unique across + /// vulnerabilities for a VM. + core.String? cve; + + /// The CVSS V2 score of this vulnerability. + /// + /// CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and + /// 10 indicates high severity. + core.double? cvssV2Score; + + /// The full description of the CVSSv3 for this vulnerability from NVD. + CVSSv3? cvssV3; + + /// The note or description describing the vulnerability from the distro. + core.String? description; + + /// Corresponds to the references attached to the `VulnerabilityDetails`. + core.List? references; + + /// Assigned severity/impact ranking from the distro. + core.String? severity; + + VulnerabilityReportVulnerabilityDetails({ + this.cve, + this.cvssV2Score, + this.cvssV3, + this.description, + this.references, + this.severity, + }); + + VulnerabilityReportVulnerabilityDetails.fromJson(core.Map _json) + : this( + cve: _json.containsKey('cve') ? _json['cve'] as core.String : null, + cvssV2Score: _json.containsKey('cvssV2Score') + ? (_json['cvssV2Score'] as core.num).toDouble() + : null, + cvssV3: _json.containsKey('cvssV3') + ? CVSSv3.fromJson( + _json['cvssV3'] as core.Map) + : null, + description: _json.containsKey('description') + ? _json['description'] as core.String + : null, + references: _json.containsKey('references') + ? (_json['references'] as core.List) + .map( + (value) => + VulnerabilityReportVulnerabilityDetailsReference + .fromJson( + value as core.Map)) + .toList() + : null, + severity: _json.containsKey('severity') + ? _json['severity'] as core.String + : null, + ); + + core.Map toJson() => { + if (cve != null) 'cve': cve!, + if (cvssV2Score != null) 'cvssV2Score': cvssV2Score!, + if (cvssV3 != null) 'cvssV3': cvssV3!.toJson(), + if (description != null) 'description': description!, + if (references != null) + 'references': references!.map((value) => value.toJson()).toList(), + if (severity != null) 'severity': severity!, + }; +} + +/// A reference for this vulnerability. +class VulnerabilityReportVulnerabilityDetailsReference { + /// The source of the reference e.g. NVD. + core.String? source; + + /// The url of the reference. + core.String? url; + + VulnerabilityReportVulnerabilityDetailsReference({ + this.source, + this.url, + }); + + VulnerabilityReportVulnerabilityDetailsReference.fromJson(core.Map _json) + : this( + source: _json.containsKey('source') + ? _json['source'] as core.String + : null, + url: _json.containsKey('url') ? _json['url'] as core.String : null, + ); + + core.Map toJson() => { + if (source != null) 'source': source!, + if (url != null) 'url': url!, + }; +} + /// Represents one week day in a month. /// /// An example is "the 4th Sunday". diff --git a/generated/googleapis/lib/oslogin/v1.dart b/generated/googleapis/lib/oslogin/v1.dart index e4d5bd6bf..c14dac222 100644 --- a/generated/googleapis/lib/oslogin/v1.dart +++ b/generated/googleapis/lib/oslogin/v1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// You can use OS Login to manage access to your VM instances using IAM roles. class CloudOSLoginApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart index 8109190a7..f69ed23ba 100644 --- a/generated/googleapis/lib/people/v1.dart +++ b/generated/googleapis/lib/people/v1.dart @@ -534,8 +534,15 @@ class OtherContactsResource { /// /// [readMask] - Required. A field mask to restrict which fields on each /// person are returned. Multiple fields can be specified by separating them - /// with commas. Valid values are: * emailAddresses * metadata * names * - /// phoneNumbers * photos + /// with commas. What values are valid depend on what ReadSourceType is used. + /// If READ_SOURCE_TYPE_CONTACT is used, valid values are: * emailAddresses * + /// metadata * names * phoneNumbers * photos If READ_SOURCE_TYPE_PROFILE is + /// used, valid values are: * addresses * ageRanges * biographies * birthdays + /// * calendarUrls * clientData * coverPhotos * emailAddresses * events * + /// externalIds * genders * imClients * interests * locales * locations * + /// memberships * metadata * miscKeywords * names * nicknames * occupations * + /// organizations * phoneNumbers * photos * relations * sipAddresses * skills + /// * urls * userDefined /// /// [requestSyncToken] - Optional. Whether the response should return /// `next_sync_token` on the last page of results. It can be used to get @@ -1160,7 +1167,7 @@ class PeopleResource { /// that matches the search query. /// /// The query matches on a contact's `names`, `nickNames`, `emailAddresses`, - /// `phoneNumbers`, and `organizations` fields that are from the CONTACT" + /// `phoneNumbers`, and `organizations` fields that are from the CONTACT /// source. **IMPORTANT**: Before searching, clients should send a warmup /// request with an empty query to update the cache. See /// https://developers.google.com/people/v1/contacts#search_the_users_contacts @@ -1762,6 +1769,9 @@ class BatchCreateContactsRequest { }; } +/// If not successful, returns BatchCreateContactsErrorDetails which contains a +/// list of errors for each invalid contact. +/// /// The response to a request to create a batch of contacts. class BatchCreateContactsResponse { /// The contacts that were created, unless the request `read_mask` is empty. @@ -1926,7 +1936,10 @@ class BatchUpdateContactsRequest { }; } -/// The response to a request to create a batch of contacts. +/// If not successful, returns BatchUpdateContactsErrorDetails, a list of errors +/// corresponding to each contact. +/// +/// The response to a request to update a batch of contacts. class BatchUpdateContactsResponse { /// A map of resource names to the contacts that were updated, unless the /// request `read_mask` is empty. @@ -2816,13 +2829,19 @@ class ExternalId { /// Metadata about a field. class FieldMetadata { - /// True if the field is the primary field for the person. + /// True if the field is the primary field for all sources in the person. + /// + /// Each person will have at most one field with `primary` set to true. + /// + /// Output only. core.bool? primary; /// The source of the field. Source? source; /// True if the field is the primary field for the source. + /// + /// Each source must have at most one field with `source_primary` set to true. core.bool? sourcePrimary; /// True if the field is verified; false if the field is unverified. @@ -2896,10 +2915,10 @@ class FileAs { /// A person's gender. class Gender { - /// The type of pronouns that should be used to address the person. + /// Free form text field for pronouns that should be used to address the + /// person. /// - /// The value can be custom or one of these predefined values: * `male` * - /// `female` * `other` + /// Common values are: * `he`/`him` * `she`/`her` * `they`/`them` core.String? addressMeAs; /// The value of the gender translated and formatted in the viewer's account @@ -3852,6 +3871,9 @@ class Occupation { /// /// Overlapping date ranges are permitted. class Organization { + /// The person's cost center at the organization. + core.String? costCenter; + /// True if the organization is the person's current organization; false if /// the organization is a past organization. core.bool? current; @@ -3872,6 +3894,10 @@ class Organization { /// Output only. core.String? formattedType; + /// The person's full-time equivalent millipercent within the organization + /// (100000 = 100%). + core.int? fullTimeEquivalentMillipercent; + /// The person's job description at the organization. core.String? jobDescription; @@ -3904,11 +3930,13 @@ class Organization { core.String? type; Organization({ + this.costCenter, this.current, this.department, this.domain, this.endDate, this.formattedType, + this.fullTimeEquivalentMillipercent, this.jobDescription, this.location, this.metadata, @@ -3922,6 +3950,9 @@ class Organization { Organization.fromJson(core.Map _json) : this( + costCenter: _json.containsKey('costCenter') + ? _json['costCenter'] as core.String + : null, current: _json.containsKey('current') ? _json['current'] as core.bool : null, @@ -3938,6 +3969,10 @@ class Organization { formattedType: _json.containsKey('formattedType') ? _json['formattedType'] as core.String : null, + fullTimeEquivalentMillipercent: + _json.containsKey('fullTimeEquivalentMillipercent') + ? _json['fullTimeEquivalentMillipercent'] as core.int + : null, jobDescription: _json.containsKey('jobDescription') ? _json['jobDescription'] as core.String : null, @@ -3965,11 +4000,14 @@ class Organization { ); core.Map toJson() => { + if (costCenter != null) 'costCenter': costCenter!, if (current != null) 'current': current!, if (department != null) 'department': department!, if (domain != null) 'domain': domain!, if (endDate != null) 'endDate': endDate!.toJson(), if (formattedType != null) 'formattedType': formattedType!, + if (fullTimeEquivalentMillipercent != null) + 'fullTimeEquivalentMillipercent': fullTimeEquivalentMillipercent!, if (jobDescription != null) 'jobDescription': jobDescription!, if (location != null) 'location': location!, if (metadata != null) 'metadata': metadata!.toJson(), diff --git a/generated/googleapis/lib/policyanalyzer/v1.dart b/generated/googleapis/lib/policyanalyzer/v1.dart new file mode 100644 index 000000000..2cba30493 --- /dev/null +++ b/generated/googleapis/lib/policyanalyzer/v1.dart @@ -0,0 +1,279 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Policy Analyzer API - v1 +/// +/// For more information, see +/// +/// Create an instance of [PolicyAnalyzerApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsActivityTypesResource] +/// - [ProjectsLocationsActivityTypesActivitiesResource] +library policyanalyzer.v1; + +import 'dart:async' as async; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +class PolicyAnalyzerApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProjectsResource get projects => ProjectsResource(_requester); + + PolicyAnalyzerApi(http.Client client, + {core.String rootUrl = 'https://policyanalyzer.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsActivityTypesResource get activityTypes => + ProjectsLocationsActivityTypesResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsActivityTypesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsActivityTypesActivitiesResource get activities => + ProjectsLocationsActivityTypesActivitiesResource(_requester); + + ProjectsLocationsActivityTypesResource(commons.ApiRequester client) + : _requester = client; +} + +class ProjectsLocationsActivityTypesActivitiesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsActivityTypesActivitiesResource(commons.ApiRequester client) + : _requester = client; + + /// Queries policy activities on Google Cloud resources. + /// + /// Request parameters: + /// + /// [parent] - Required. The container resource on which to execute the + /// request. Acceptable formats: + /// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` + /// LOCATION here refers to Google Cloud Locations: + /// https://cloud.google.com/about/locations/ + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/activityTypes/\[^/\]+$`. + /// + /// [filter] - Optional. Filter expression to restrict the activities + /// returned. Supported filters are: - + /// service_account_last_authn.full_resource_name {=} \[STRING\] - + /// service_account_key_last_authn.full_resource_name {=} \[STRING\] + /// + /// [pageSize] - Optional. The maximum number of results to return from this + /// request. Max limit is 1000. Non-positive values are ignored. The presence + /// of `nextPageToken` in the response indicates that more results might be + /// available. + /// + /// [pageToken] - Optional. If present, then retrieve the next batch of + /// results from the preceding call to this method. `pageToken` must be the + /// value of `nextPageToken` from the previous response. The values of other + /// method parameters should be identical to those in the previous call. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudPolicyanalyzerV1QueryActivityResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future query( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/' + core.Uri.encodeFull('$parent') + '/activities:query'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson( + _response as core.Map); + } +} + +class GoogleCloudPolicyanalyzerV1Activity { + /// A struct of custom fields to explain the activity. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? activity; + + /// The type of the activity. + core.String? activityType; + + /// The full resource name that identifies the resource. + /// + /// For examples of full resource names for Google Cloud services, see + /// https://cloud.google.com/iam/help/troubleshooter/full-resource-names. + core.String? fullResourceName; + + /// The data observation period to build the activity. + GoogleCloudPolicyanalyzerV1ObservationPeriod? observationPeriod; + + GoogleCloudPolicyanalyzerV1Activity({ + this.activity, + this.activityType, + this.fullResourceName, + this.observationPeriod, + }); + + GoogleCloudPolicyanalyzerV1Activity.fromJson(core.Map _json) + : this( + activity: _json.containsKey('activity') + ? (_json['activity'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + activityType: _json.containsKey('activityType') + ? _json['activityType'] as core.String + : null, + fullResourceName: _json.containsKey('fullResourceName') + ? _json['fullResourceName'] as core.String + : null, + observationPeriod: _json.containsKey('observationPeriod') + ? GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson( + _json['observationPeriod'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (activity != null) 'activity': activity!, + if (activityType != null) 'activityType': activityType!, + if (fullResourceName != null) 'fullResourceName': fullResourceName!, + if (observationPeriod != null) + 'observationPeriod': observationPeriod!.toJson(), + }; +} + +/// Represents data observation period. +class GoogleCloudPolicyanalyzerV1ObservationPeriod { + /// The observation end time. + /// + /// The time in this timestamp is always `07:00:00Z`. + core.String? endTime; + + /// The observation start time. + /// + /// The time in this timestamp is always `07:00:00Z`. + core.String? startTime; + + GoogleCloudPolicyanalyzerV1ObservationPeriod({ + this.endTime, + this.startTime, + }); + + GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson(core.Map _json) + : this( + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + startTime: _json.containsKey('startTime') + ? _json['startTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (endTime != null) 'endTime': endTime!, + if (startTime != null) 'startTime': startTime!, + }; +} + +/// Response to the `QueryActivity` method. +class GoogleCloudPolicyanalyzerV1QueryActivityResponse { + /// The set of activities that match the filter included in the request. + core.List? activities; + + /// If there might be more results than those appearing in this response, then + /// `nextPageToken` is included. + /// + /// To get the next set of results, call this method again using the value of + /// `nextPageToken` as `pageToken`. + core.String? nextPageToken; + + GoogleCloudPolicyanalyzerV1QueryActivityResponse({ + this.activities, + this.nextPageToken, + }); + + GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson(core.Map _json) + : this( + activities: _json.containsKey('activities') + ? (_json['activities'] as core.List) + .map((value) => + GoogleCloudPolicyanalyzerV1Activity.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (activities != null) + 'activities': activities!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} diff --git a/generated/googleapis/lib/policysimulator/v1.dart b/generated/googleapis/lib/policysimulator/v1.dart index 232219738..db4ba61db 100644 --- a/generated/googleapis/lib/policysimulator/v1.dart +++ b/generated/googleapis/lib/policysimulator/v1.dart @@ -64,7 +64,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// results to determine how your members' access might change under the /// proposed policy. class PolicySimulatorApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1959,7 +1960,7 @@ class GoogleIamV1Binding { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class GoogleIamV1Policy { diff --git a/generated/googleapis/lib/policytroubleshooter/v1.dart b/generated/googleapis/lib/policytroubleshooter/v1.dart index a753bbfbc..255d344dd 100644 --- a/generated/googleapis/lib/policytroubleshooter/v1.dart +++ b/generated/googleapis/lib/policytroubleshooter/v1.dart @@ -34,7 +34,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class PolicyTroubleshooterApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -726,7 +727,7 @@ class GoogleIamV1Binding { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class GoogleIamV1Policy { diff --git a/generated/googleapis/lib/privateca/v1.dart b/generated/googleapis/lib/privateca/v1.dart index 125027b1e..880cfecf5 100644 --- a/generated/googleapis/lib/privateca/v1.dart +++ b/generated/googleapis/lib/privateca/v1.dart @@ -52,7 +52,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// certificate authorities (CAs) while staying in control of your private /// keys." class CertificateAuthorityServiceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1521,7 +1522,7 @@ class ProjectsLocationsCaPoolsCertificatesResource { /// request ID so that if you must retry your request, the server will know to /// ignore the request if it has already been completed. The server will /// guarantee that for at least 60 minutes since the first request. For - /// example, consider a situation where you make an initial request and t he + /// example, consider a situation where you make an initial request and the /// request times out. If you make the request again with the same request ID, /// the server can check if original operation with the same request ID was /// received, and if so, will ignore the second request. This prevents clients @@ -3124,7 +3125,7 @@ class CertificateAuthority { /// Used to create the "not_before_time" and "not_after_time" fields inside an /// X.509 certificate. /// - /// Required. + /// Required. Immutable. core.String? lifetime; /// The resource name for this CertificateAuthority in the format `projects / @@ -5175,7 +5176,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -5964,8 +5965,8 @@ class SubjectDescription { /// This is either a resource name to a known issuing CertificateAuthority, or a /// PEM issuer certificate chain. class SubordinateConfig { - /// This can refer to a CertificateAuthority in the same project that was used - /// to create a subordinate CertificateAuthority. + /// This can refer to a CertificateAuthority that was used to create a + /// subordinate CertificateAuthority. /// /// This field is used for information and usability purposes only. The /// resource name is in the format `projects / * /locations / * /caPools / * diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart index 401de70ba..fe73d28cf 100644 --- a/generated/googleapis/lib/pubsub/v1.dart +++ b/generated/googleapis/lib/pubsub/v1.dart @@ -45,7 +45,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Provides reliable, many-to-many, asynchronous messaging between /// applications. class PubsubApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -174,8 +175,8 @@ class ProjectsSchemasResource { /// Value must have pattern `^projects/\[^/\]+/schemas/\[^/\]+$`. /// /// [view] - The set of fields to return in the response. If not set, returns - /// a Schema with `name` and `type`, but not `definition`. Set to `FULL` to - /// retrieve all fields. + /// a Schema with all fields filled out. Set to `BASIC` to omit the + /// `definition`. /// Possible string values are: /// - "SCHEMA_VIEW_UNSPECIFIED" : The default / unset value. The API will /// default to the BASIC view. @@ -2798,7 +2799,7 @@ class OidcToken { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -3520,7 +3521,8 @@ class Subscription { /// successfully consuming messages from the subscription or is issuing /// operations on the subscription. If `expiration_policy` is not set, a /// *default policy* with `ttl` of 31 days will be used. The minimum allowed - /// value for `expiration_policy.ttl` is 1 day. + /// value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, + /// but `expiration_policy.ttl` is not set, the subscription never expires. ExpirationPolicy? expirationPolicy; /// An expression written in the Pub/Sub @@ -3589,6 +3591,18 @@ class Subscription { /// Required. core.String? topic; + /// Indicates the minimum duration for which a message is retained after it is + /// published to the subscription's topic. + /// + /// If this field is set, messages published to the subscription's topic in + /// the last `topic_message_retention_duration` are always available to + /// subscribers. See the `message_retention_duration` field in `Topic`. This + /// field is set only in responses from the server; it is ignored if it is set + /// in any requests. + /// + /// Output only. + core.String? topicMessageRetentionDuration; + Subscription({ this.ackDeadlineSeconds, this.deadLetterPolicy, @@ -3603,6 +3617,7 @@ class Subscription { this.retainAckedMessages, this.retryPolicy, this.topic, + this.topicMessageRetentionDuration, }); Subscription.fromJson(core.Map _json) @@ -3653,6 +3668,10 @@ class Subscription { : null, topic: _json.containsKey('topic') ? _json['topic'] as core.String : null, + topicMessageRetentionDuration: + _json.containsKey('topicMessageRetentionDuration') + ? _json['topicMessageRetentionDuration'] as core.String + : null, ); core.Map toJson() => { @@ -3675,6 +3694,8 @@ class Subscription { 'retainAckedMessages': retainAckedMessages!, if (retryPolicy != null) 'retryPolicy': retryPolicy!.toJson(), if (topic != null) 'topic': topic!, + if (topicMessageRetentionDuration != null) + 'topicMessageRetentionDuration': topicMessageRetentionDuration!, }; } @@ -3742,6 +3763,18 @@ class Topic { /// [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels). core.Map? labels; + /// Indicates the minimum duration to retain a message after it is published + /// to the topic. + /// + /// If this field is set, messages published to the topic in the last + /// `message_retention_duration` are always available to subscribers. For + /// instance, it allows any attached subscription to + /// [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) + /// that is up to `message_retention_duration` in the past. If this field is + /// not set, message retention is controlled by settings on individual + /// subscriptions. Cannot be more than 7 days or less than 10 minutes. + core.String? messageRetentionDuration; + /// Policy constraining the set of Google Cloud Platform regions where /// messages published to the topic may be stored. /// @@ -3771,6 +3804,7 @@ class Topic { Topic({ this.kmsKeyName, this.labels, + this.messageRetentionDuration, this.messageStoragePolicy, this.name, this.satisfiesPzs, @@ -3790,6 +3824,10 @@ class Topic { ), ) : null, + messageRetentionDuration: + _json.containsKey('messageRetentionDuration') + ? _json['messageRetentionDuration'] as core.String + : null, messageStoragePolicy: _json.containsKey('messageStoragePolicy') ? MessageStoragePolicy.fromJson(_json['messageStoragePolicy'] as core.Map) @@ -3807,6 +3845,8 @@ class Topic { core.Map toJson() => { if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!, if (labels != null) 'labels': labels!, + if (messageRetentionDuration != null) + 'messageRetentionDuration': messageRetentionDuration!, if (messageStoragePolicy != null) 'messageStoragePolicy': messageStoragePolicy!.toJson(), if (name != null) 'name': name!, diff --git a/generated/googleapis/lib/pubsublite/v1.dart b/generated/googleapis/lib/pubsublite/v1.dart index 40e47b620..893e514fc 100644 --- a/generated/googleapis/lib/pubsublite/v1.dart +++ b/generated/googleapis/lib/pubsublite/v1.dart @@ -21,6 +21,7 @@ /// - [AdminResource] /// - [AdminProjectsResource] /// - [AdminProjectsLocationsResource] +/// - [AdminProjectsLocationsOperationsResource] /// - [AdminProjectsLocationsSubscriptionsResource] /// - [AdminProjectsLocationsTopicsResource] /// - [AdminProjectsLocationsTopicsSubscriptionsResource] @@ -48,7 +49,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class PubsubLiteApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -85,6 +87,8 @@ class AdminProjectsResource { class AdminProjectsLocationsResource { final commons.ApiRequester _requester; + AdminProjectsLocationsOperationsResource get operations => + AdminProjectsLocationsOperationsResource(_requester); AdminProjectsLocationsSubscriptionsResource get subscriptions => AdminProjectsLocationsSubscriptionsResource(_requester); AdminProjectsLocationsTopicsResource get topics => @@ -94,6 +98,199 @@ class AdminProjectsLocationsResource { : _requester = client; } +class AdminProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + AdminProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// Starts asynchronous cancellation on a long-running operation. + /// + /// The server makes a best effort to cancel the operation, but success is not + /// guaranteed. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation + /// or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, + /// the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future cancel( + CancelOperationRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/admin/' + core.Uri.encodeFull('$name') + ':cancel'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Deletes a long-running operation. + /// + /// This method indicates that the client is no longer interested in the + /// operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be deleted. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/admin/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + ); + return Empty.fromJson(_response as core.Map); + } + + /// Gets the latest state of a long-running operation. + /// + /// Clients can use this method to poll the operation result at intervals as + /// recommended by the API service. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/admin/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/admin/' + core.Uri.encodeFull('$name') + '/operations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListOperationsResponse.fromJson( + _response as core.Map); + } +} + class AdminProjectsLocationsSubscriptionsResource { final commons.ApiRequester _requester; @@ -329,6 +526,63 @@ class AdminProjectsLocationsSubscriptionsResource { return Subscription.fromJson( _response as core.Map); } + + /// Performs an out-of-band seek for a subscription to a specified target, + /// which may be timestamps or named positions within the message backlog. + /// + /// Seek translates these targets to cursors for each partition and + /// orchestrates subscribers to start consuming messages from these seek + /// cursors. If an operation is returned, the seek has been registered and + /// subscribers will eventually receive messages from the seek cursors (i.e. + /// eventual consistency), as long as they are using a minimum supported + /// client library version and not a system that tracks cursors independently + /// of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation + /// will fail for unsupported clients. If clients would like to know when + /// subscribers react to the seek (or not), they can poll the operation. The + /// seek operation will succeed and complete once subscribers are ready to + /// receive messages from the seek cursors for all partitions of the topic. + /// This means that the seek operation will not complete until all subscribers + /// come online. If the previous seek operation has not yet completed, it will + /// be aborted and the new invocation of seek will supersede it. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the subscription to seek. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/subscriptions/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future seek( + SeekSubscriptionRequest request, + core.String name, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1/admin/' + core.Uri.encodeFull('$name') + ':seek'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Operation.fromJson(_response as core.Map); + } } class AdminProjectsLocationsTopicsResource { @@ -963,6 +1217,17 @@ class TopicStatsProjectsLocationsTopicsResource { } } +/// The request message for Operations.CancelOperation. +class CancelOperationRequest { + CancelOperationRequest(); + + CancelOperationRequest.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The throughput capacity configuration for each partition. class Capacity { /// Publish throughput capacity per partition in MiB/s. @@ -1318,6 +1583,39 @@ class Empty { core.Map toJson() => {}; } +/// The response message for Operations.ListOperations. +class ListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List? operations; + + ListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + ListOperationsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + operations: _json.containsKey('operations') + ? (_json['operations'] as core.List) + .map((value) => Operation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) + 'operations': operations!.map((value) => value.toJson()).toList(), + }; +} + /// Response for ListPartitionCursors class ListPartitionCursorsResponse { /// A token, which can be sent as `page_token` to retrieve the next page. @@ -1467,6 +1765,140 @@ class ListTopicsResponse { }; } +/// This resource represents a long-running operation that is the result of a +/// network API call. +class Operation { + /// If the value is `false`, it means the operation is still in progress. + /// + /// If `true`, the operation is completed, and either `error` or `response` is + /// available. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + Status? error; + + /// Service-specific metadata associated with the operation. + /// + /// It typically contains progress information and common metadata such as + /// create time. Some services might not provide such metadata. Any method + /// that returns a long-running operation should document the metadata type, + /// if any. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + + /// The server-assigned name, which is only unique within the same service + /// that originally returns it. + /// + /// If you use the default HTTP mapping, the `name` should be a resource name + /// ending with `operations/{unique_id}`. + core.String? name; + + /// The normal response of the operation in case of success. + /// + /// If the original method returns no data on success, such as `Delete`, the + /// response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other + /// methods, the response should have the type `XxxResponse`, where `Xxx` is + /// the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? response; + + Operation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + Operation.fromJson(core.Map _json) + : this( + done: _json.containsKey('done') ? _json['done'] as core.bool : null, + error: _json.containsKey('error') + ? Status.fromJson( + _json['error'] as core.Map) + : null, + metadata: _json.containsKey('metadata') + ? (_json['metadata'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + response: _json.containsKey('response') + ? (_json['response'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + ); + + core.Map toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!.toJson(), + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + +/// Metadata for long running operations. +class OperationMetadata { + /// The time the operation was created. + core.String? createTime; + + /// The time the operation finished running. + /// + /// Not set if the operation has not completed. + core.String? endTime; + + /// Resource path for the target of the operation. + /// + /// For example, targets of seeks are subscription resources, structured like: + /// projects/{project_number}/locations/{location}/subscriptions/{subscription_id} + core.String? target; + + /// Name of the verb executed by the operation. + core.String? verb; + + OperationMetadata({ + this.createTime, + this.endTime, + this.target, + this.verb, + }); + + OperationMetadata.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + endTime: _json.containsKey('endTime') + ? _json['endTime'] as core.String + : null, + target: _json.containsKey('target') + ? _json['target'] as core.String + : null, + verb: _json.containsKey('verb') ? _json['verb'] as core.String : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (endTime != null) 'endTime': endTime!, + if (target != null) 'target': target!, + if (verb != null) 'verb': verb!, + }; +} + /// The settings for a topic's partitions. class PartitionConfig { /// The capacity configuration. @@ -1579,6 +2011,113 @@ class RetentionConfig { }; } +/// Request for SeekSubscription. +class SeekSubscriptionRequest { + /// Seek to a named position with respect to the message backlog. + /// Possible string values are: + /// - "NAMED_TARGET_UNSPECIFIED" : Unspecified named target. Do not use. + /// - "TAIL" : Seek to the oldest retained message. + /// - "HEAD" : Seek past all recently published messages, skipping the entire + /// message backlog. + core.String? namedTarget; + + /// Seek to the first message whose publish or event time is greater than or + /// equal to the specified query time. + /// + /// If no such message can be located, will seek to the end of the message + /// backlog. + TimeTarget? timeTarget; + + SeekSubscriptionRequest({ + this.namedTarget, + this.timeTarget, + }); + + SeekSubscriptionRequest.fromJson(core.Map _json) + : this( + namedTarget: _json.containsKey('namedTarget') + ? _json['namedTarget'] as core.String + : null, + timeTarget: _json.containsKey('timeTarget') + ? TimeTarget.fromJson( + _json['timeTarget'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (namedTarget != null) 'namedTarget': namedTarget!, + if (timeTarget != null) 'timeTarget': timeTarget!.toJson(), + }; +} + +/// Response for SeekSubscription long running operation. +class SeekSubscriptionResponse { + SeekSubscriptionResponse(); + + SeekSubscriptionResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. +/// +/// It is used by [gRPC](https://github.com/grpc). Each `Status` message +/// contains three pieces of data: error code, error message, and error details. +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). +class Status { + /// The status code, which should be an enum value of google.rpc.Code. + core.int? code; + + /// A list of messages that carry the error details. + /// + /// There is a common set of message types for APIs to use. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? details; + + /// A developer-facing error message, which should be in English. + /// + /// Any user-facing error message should be localized and sent in the + /// google.rpc.Status.details field, or localized by the client. + core.String? message; + + Status({ + this.code, + this.details, + this.message, + }); + + Status.fromJson(core.Map _json) + : this( + code: _json.containsKey('code') ? _json['code'] as core.int : null, + details: _json.containsKey('details') + ? (_json['details'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + message: _json.containsKey('message') + ? _json['message'] as core.String + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (details != null) 'details': details!, + if (message != null) 'message': message!, + }; +} + /// Metadata about a subscription resource. class Subscription { /// The settings for this subscription's message delivery. diff --git a/generated/googleapis/lib/recaptchaenterprise/v1.dart b/generated/googleapis/lib/recaptchaenterprise/v1.dart index 3f6b20212..834774536 100644 --- a/generated/googleapis/lib/recaptchaenterprise/v1.dart +++ b/generated/googleapis/lib/recaptchaenterprise/v1.dart @@ -36,7 +36,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class RecaptchaEnterpriseApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -880,6 +881,12 @@ class GoogleCloudRecaptchaenterpriseV1Metrics { /// data. core.List? challengeMetrics; + /// The name of the metrics, in the format + /// "projects/{project}/keys/{key}/metrics". + /// + /// Output only. + core.String? name; + /// Metrics will be continuous and in order by dates, and in the granularity /// of day. /// @@ -891,6 +898,7 @@ class GoogleCloudRecaptchaenterpriseV1Metrics { GoogleCloudRecaptchaenterpriseV1Metrics({ this.challengeMetrics, + this.name, this.scoreMetrics, this.startTime, }); @@ -906,6 +914,7 @@ class GoogleCloudRecaptchaenterpriseV1Metrics { value as core.Map)) .toList() : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, scoreMetrics: _json.containsKey('scoreMetrics') ? (_json['scoreMetrics'] as core.List) .map((value) => @@ -922,6 +931,7 @@ class GoogleCloudRecaptchaenterpriseV1Metrics { if (challengeMetrics != null) 'challengeMetrics': challengeMetrics!.map((value) => value.toJson()).toList(), + if (name != null) 'name': name!, if (scoreMetrics != null) 'scoreMetrics': scoreMetrics!.map((value) => value.toJson()).toList(), if (startTime != null) 'startTime': startTime!, diff --git a/generated/googleapis/lib/recommender/v1.dart b/generated/googleapis/lib/recommender/v1.dart index c5cec8a85..c05e21852 100644 --- a/generated/googleapis/lib/recommender/v1.dart +++ b/generated/googleapis/lib/recommender/v1.dart @@ -57,7 +57,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class RecommenderApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2912,8 +2913,15 @@ class GoogleCloudRecommenderV1RecommendationContent { /// atomically and in an order. core.List? operationGroups; + /// Condensed overview information about the recommendation. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? overview; + GoogleCloudRecommenderV1RecommendationContent({ this.operationGroups, + this.overview, }); GoogleCloudRecommenderV1RecommendationContent.fromJson(core.Map _json) @@ -2925,12 +2933,21 @@ class GoogleCloudRecommenderV1RecommendationContent { value as core.Map)) .toList() : null, + overview: _json.containsKey('overview') + ? (_json['overview'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, ); core.Map toJson() => { if (operationGroups != null) 'operationGroups': operationGroups!.map((value) => value.toJson()).toList(), + if (overview != null) 'overview': overview!, }; } diff --git a/generated/googleapis/lib/redis/v1.dart b/generated/googleapis/lib/redis/v1.dart index 966de317c..af952bbc2 100644 --- a/generated/googleapis/lib/redis/v1.dart +++ b/generated/googleapis/lib/redis/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Creates and manages Redis instances on the Google Cloud Platform. class CloudRedisApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1171,7 +1172,7 @@ class InputConfig { /// A Google Cloud Redis instance. /// -/// next id = 30 +/// next id = 36 class Instance { /// Only applicable to STANDARD_HA tier which protects the instance against /// zonal failures by provisioning it across two zones. @@ -1242,10 +1243,11 @@ class Instance { /// The zone where the instance will be provisioned. /// - /// If not provided, the service will choose a zone for the instance. For - /// STANDARD_HA tier, instances will be created across two zones for - /// protection against zonal failures. If alternative_location_id is also - /// provided, it must be different from location_id. + /// If not provided, the service will choose a zone from the specified region + /// for the instance. For standard tier, instances will be created across two + /// zones for protection against zonal failures. If + /// \[alternative_location_id\] is also provided, it must be different from + /// \[location_id\]. /// /// Optional. core.String? locationId; diff --git a/generated/googleapis/lib/reseller/v1.dart b/generated/googleapis/lib/reseller/v1.dart index f7c727181..163d3f451 100644 --- a/generated/googleapis/lib/reseller/v1.dart +++ b/generated/googleapis/lib/reseller/v1.dart @@ -1452,8 +1452,8 @@ class Seats { /// subscription. The reseller can add more licenses, but once set, the /// `numberOfSeats` cannot be reduced until renewal. The reseller is invoiced /// based on the `numberOfSeats` value regardless of how many of these user - /// licenses are assigned. *Note: *G Suite subscriptions automatically assign - /// a license to every user. + /// licenses are assigned. *Note: *Google Workspace subscriptions + /// automatically assign a license to every user. core.int? numberOfSeats; Seats({ diff --git a/generated/googleapis/lib/resourcesettings/v1.dart b/generated/googleapis/lib/resourcesettings/v1.dart index 0f19b00cc..d691cf1e7 100644 --- a/generated/googleapis/lib/resourcesettings/v1.dart +++ b/generated/googleapis/lib/resourcesettings/v1.dart @@ -47,7 +47,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud /// Resource Hierarchy. class ResourceSettingsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/retail/v2.dart b/generated/googleapis/lib/retail/v2.dart index 1ffa51b5a..3d14e5a37 100644 --- a/generated/googleapis/lib/retail/v2.dart +++ b/generated/googleapis/lib/retail/v2.dart @@ -28,6 +28,7 @@ /// - [ProjectsLocationsCatalogsBranchesResource] /// - [ProjectsLocationsCatalogsBranchesOperationsResource] /// - [ProjectsLocationsCatalogsBranchesProductsResource] +/// - [ProjectsLocationsCatalogsCompletionDataResource] /// - [ProjectsLocationsCatalogsOperationsResource] /// - [ProjectsLocationsCatalogsPlacementsResource] /// - [ProjectsLocationsCatalogsUserEventsResource] @@ -50,7 +51,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// recommendation systems without requiring a high level of expertise in /// machine learning, recommendation system, or Google Cloud. class CloudRetailApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -90,6 +92,8 @@ class ProjectsLocationsCatalogsResource { ProjectsLocationsCatalogsBranchesResource get branches => ProjectsLocationsCatalogsBranchesResource(_requester); + ProjectsLocationsCatalogsCompletionDataResource get completionData => + ProjectsLocationsCatalogsCompletionDataResource(_requester); ProjectsLocationsCatalogsOperationsResource get operations => ProjectsLocationsCatalogsOperationsResource(_requester); ProjectsLocationsCatalogsPlacementsResource get placements => @@ -100,6 +104,139 @@ class ProjectsLocationsCatalogsResource { ProjectsLocationsCatalogsResource(commons.ApiRequester client) : _requester = client; + /// Completes the specified prefix with keyword suggestions. + /// + /// This feature is only available for users who have Retail Search enabled. + /// Please submit a form [here](https://cloud.google.com/contact) to contact + /// cloud sales if you are interested in using Retail Search. + /// + /// Request parameters: + /// + /// [catalog] - Required. Catalog for which the completion is performed. Full + /// resource name of catalog, such as `projects / * + /// /locations/global/catalogs/default_catalog`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. + /// + /// [dataset] - Determines which dataset to use for fetching completion. + /// "user-data" will use the imported dataset through + /// CompletionService.ImportCompletionData. "cloud-retail" will use the + /// dataset generated by cloud retail based on user events. If leave empty, it + /// will use the "user-data". Current supported values: * user-data * + /// cloud-retail This option requires additional allowlisting. Before using + /// cloud-retail, contact Cloud Retail support team first. + /// + /// [deviceType] - The device type context for completion suggestions. It is + /// useful to apply different suggestions on different device types, e.g. + /// DESKTOP, MOBILE. If it is empty, the suggestions are across all device + /// types. Supported formats: * UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A + /// customized string starts with OTHER_, e.g. OTHER_IPHONE. + /// + /// [languageCodes] - The list of languages of the query. This is the BCP-47 + /// language code, such as "en-US" or "sr-Latn". For more information, see + /// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The + /// maximum number of allowed characters is 255. Only "en-US" is currently + /// supported. + /// + /// [maxSuggestions] - Completion max suggestions. If left unset or set to 0, + /// then will fallback to the configured value + /// CompletionConfig.max_suggestions. The maximum allowed max suggestions is + /// 20. If it is set higher, it will be capped by 20. + /// + /// [query] - Required. The query used to generate suggestions. The maximum + /// number of allowed characters is 255. + /// + /// [visitorId] - A unique identifier for tracking visitors. For example, this + /// could be implemented with an HTTP cookie, which should be able to uniquely + /// identify a visitor on a single device. This unique identifier should not + /// change if the visitor logs in or out of the website. The field must be a + /// UTF-8 encoded string with a length limit of 128 characters. Otherwise, an + /// INVALID_ARGUMENT error is returned. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRetailV2CompleteQueryResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future completeQuery( + core.String catalog, { + core.String? dataset, + core.String? deviceType, + core.List? languageCodes, + core.int? maxSuggestions, + core.String? query, + core.String? visitorId, + core.String? $fields, + }) async { + final _queryParams = >{ + if (dataset != null) 'dataset': [dataset], + if (deviceType != null) 'deviceType': [deviceType], + if (languageCodes != null) 'languageCodes': languageCodes, + if (maxSuggestions != null) 'maxSuggestions': ['${maxSuggestions}'], + if (query != null) 'query': [query], + if (visitorId != null) 'visitorId': [visitorId], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$catalog') + ':completeQuery'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudRetailV2CompleteQueryResponse.fromJson( + _response as core.Map); + } + + /// Get which branch is currently default branch set by + /// CatalogService.SetDefaultBranch method under a specified parent catalog. + /// + /// This feature is only available for users who have Retail Search enabled. + /// Please submit a form [here](https://cloud.google.com/contact) to contact + /// cloud sales if you are interested in using Retail Search. + /// + /// Request parameters: + /// + /// [catalog] - The parent catalog resource name, such as `projects / * + /// /locations/global/catalogs/default_catalog`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRetailV2GetDefaultBranchResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future getDefaultBranch( + core.String catalog, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$catalog') + ':getDefaultBranch'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudRetailV2GetDefaultBranchResponse.fromJson( + _response as core.Map); + } + /// Lists all the Catalogs associated with the project. /// /// Request parameters: @@ -202,6 +339,72 @@ class ProjectsLocationsCatalogsResource { return GoogleCloudRetailV2Catalog.fromJson( _response as core.Map); } + + /// Set a specified branch id as default branch. + /// + /// API methods such as SearchService.Search, ProductService.GetProduct, + /// ProductService.ListProducts will treat requests using "default_branch" to + /// the actual branch id set as default. For example, if `projects / * + /// /locations / * /catalogs / * /branches/1` is set as default, setting + /// SearchRequest.branch to `projects / * /locations / * /catalogs / * + /// /branches/default_branch` is equivalent to setting SearchRequest.branch to + /// `projects / * /locations / * /catalogs / * /branches/1`. Using multiple + /// branches can be useful when developers would like to have a staging branch + /// to test and verify for future usage. When it becomes ready, developers + /// switch on the staging branch using this API while keeping using `projects + /// / * /locations / * /catalogs / * /branches/default_branch` as + /// SearchRequest.branch to route the traffic to this staging branch. CAUTION: + /// If you have live predict/search traffic, switching the default branch + /// could potentially cause outages if the ID space of the new branch is very + /// different from the old one. More specifically: * PredictionService will + /// only return product IDs from branch {newBranch}. * SearchService will only + /// return product IDs from branch {newBranch} (if branch is not explicitly + /// set). * UserEventService will only join events with products from branch + /// {newBranch}. This feature is only available for users who have Retail + /// Search enabled. Please submit a form + /// [here](https://cloud.google.com/contact) to contact cloud sales if you are + /// interested in using Retail Search. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [catalog] - Full resource name of the catalog, such as `projects / * + /// /locations/global/catalogs/default_catalog`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future setDefaultBranch( + GoogleCloudRetailV2SetDefaultBranchRequest request, + core.String catalog, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$catalog') + ':setDefaultBranch'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleProtobufEmpty.fromJson( + _response as core.Map); + } } class ProjectsLocationsCatalogsBranchesResource { @@ -270,6 +473,61 @@ class ProjectsLocationsCatalogsBranchesProductsResource { ProjectsLocationsCatalogsBranchesProductsResource(commons.ApiRequester client) : _requester = client; + /// Incrementally adds place IDs to Product.fulfillment_info.place_ids. + /// + /// This process is asynchronous and does not require the Product to exist + /// before updating fulfillment information. If the request is valid, the + /// update will be enqueued and processed downstream. As a consequence, when a + /// response is returned, the added place IDs are not immediately manifested + /// in the Product queried by GetProduct or ListProducts. This feature is only + /// available for users who have Retail Search enabled. Please submit a form + /// [here](https://cloud.google.com/contact) to contact cloud sales if you are + /// interested in using Retail Search. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [product] - Required. Full resource name of Product, such as `projects / * + /// /locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. + /// If the caller does not have permission to access the Product, regardless + /// of whether or not it exists, a PERMISSION_DENIED error is returned. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/branches/\[^/\]+/products/.*$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future addFulfillmentPlaces( + GoogleCloudRetailV2AddFulfillmentPlacesRequest request, + core.String product, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v2/' + core.Uri.encodeFull('$product') + ':addFulfillmentPlaces'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + /// Creates a Product. /// /// [request] - The metadata request object. @@ -458,6 +716,86 @@ class ProjectsLocationsCatalogsBranchesProductsResource { _response as core.Map); } + /// Gets a list of Products. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent branch resource name, such as `projects / + /// * /locations/global/catalogs/default_catalog/branches/0`. Use + /// `default_branch` as the branch ID, to list products under the default + /// branch. If the caller does not have permission to list Products under this + /// branch, regardless of whether or not this branch exists, a + /// PERMISSION_DENIED error is returned. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/branches/\[^/\]+$`. + /// + /// [filter] - A filter to apply on the list results. Supported features: * + /// List all the products under the parent branch if filter is unset. * List + /// Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY + /// Product. For example: `primary_product_id = "some_product_id"` * List + /// Products bundled in a Product.Type.COLLECTION Product. For example: + /// `collection_product_id = "some_product_id"` * List Products with a + /// partibular type. For example: `type = "PRIMARY"` `type = "VARIANT"` `type + /// = "COLLECTION"` If the field is unrecognizable, an INVALID_ARGUMENT error + /// is returned. If the specified Product.Type.PRIMARY Product or + /// Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is + /// returned. + /// + /// [pageSize] - Maximum number of Products to return. If unspecified, + /// defaults to 100. The maximum allowed value is 1000. Values above 1000 will + /// be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error + /// is returned. + /// + /// [pageToken] - A page token ListProductsResponse.next_page_token, received + /// from a previous ProductService.ListProducts call. Provide this to retrieve + /// the subsequent page. When paginating, all other parameters provided to + /// ProductService.ListProducts must match the call that provided the page + /// token. Otherwise, an INVALID_ARGUMENT error is returned. + /// + /// [readMask] - The fields of Product to return in the responses. If not set + /// or empty, the following fields are returned: * Product.name * Product.id * + /// Product.title * Product.uri * Product.images * Product.price_info * + /// Product.brands If "*" is provided, all fields are returned. Product.name + /// is always returned no matter what mask is set. If an unsupported or + /// unknown field is provided, an INVALID_ARGUMENT error is returned. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRetailV2ListProductsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? readMask, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (readMask != null) 'readMask': [readMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$parent') + '/products'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleCloudRetailV2ListProductsResponse.fromJson( + _response as core.Map); + } + /// Updates a Product. /// /// [request] - The metadata request object. @@ -515,24 +853,28 @@ class ProjectsLocationsCatalogsBranchesProductsResource { return GoogleCloudRetailV2Product.fromJson( _response as core.Map); } -} - -class ProjectsLocationsCatalogsOperationsResource { - final commons.ApiRequester _requester; - - ProjectsLocationsCatalogsOperationsResource(commons.ApiRequester client) - : _requester = client; - /// Gets the latest state of a long-running operation. + /// Incrementally removes place IDs from a Product.fulfillment_info.place_ids. /// - /// Clients can use this method to poll the operation result at intervals as - /// recommended by the API service. + /// This process is asynchronous and does not require the Product to exist + /// before updating fulfillment information. If the request is valid, the + /// update will be enqueued and processed downstream. As a consequence, when a + /// response is returned, the removed place IDs are not immediately manifested + /// in the Product queried by GetProduct or ListProducts. This feature is only + /// available for users who have Retail Search enabled. Please submit a form + /// [here](https://cloud.google.com/contact) to contact cloud sales if you are + /// interested in using Retail Search. + /// + /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - The name of the operation resource. + /// [product] - Required. Full resource name of Product, such as `projects / * + /// /locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. + /// If the caller does not have permission to access the Product, regardless + /// of whether or not it exists, a PERMISSION_DENIED error is returned. /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/operations/\[^/\]+$`. + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/branches/\[^/\]+/products/.*$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -544,99 +886,271 @@ class ProjectsLocationsCatalogsOperationsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future get( - core.String name, { + async.Future removeFulfillmentPlaces( + GoogleCloudRetailV2RemoveFulfillmentPlacesRequest request, + core.String product, { core.String? $fields, }) async { + final _body = convert.json.encode(request.toJson()); final _queryParams = >{ if ($fields != null) 'fields': [$fields], }; - final _url = 'v2/' + core.Uri.encodeFull('$name'); + final _url = + 'v2/' + core.Uri.encodeFull('$product') + ':removeFulfillmentPlaces'; final _response = await _requester.request( _url, - 'GET', + 'POST', + body: _body, queryParams: _queryParams, ); return GoogleLongrunningOperation.fromJson( _response as core.Map); } - /// Lists operations that match the specified filter in the request. + /// Updates inventory information for a Product while respecting the last + /// update timestamps of each inventory field. + /// + /// This process is asynchronous and does not require the Product to exist + /// before updating fulfillment information. If the request is valid, the + /// update will be enqueued and processed downstream. As a consequence, when a + /// response is returned, updates are not immediately manifested in the + /// Product queried by GetProduct or ListProducts. When inventory is updated + /// with CreateProduct and UpdateProduct, the specified inventory field + /// value(s) will overwrite any existing value(s) while ignoring the last + /// update time for this field. Furthermore, the last update time for the + /// specified inventory fields will be overwritten to the time of the + /// CreateProduct or UpdateProduct request. If no inventory fields are set in + /// CreateProductRequest.product, then any pre-existing inventory information + /// for this product will be used. If no inventory fields are set in + /// UpdateProductRequest.set_mask, then any existing inventory information + /// will be preserved. Pre-existing inventory information can only be updated + /// with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This + /// feature is only available for users who have Retail Search enabled. Please + /// submit a form [here](https://cloud.google.com/contact) to contact cloud + /// sales if you are interested in using Retail Search. /// - /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. - /// NOTE: the `name` binding allows API services to override the binding to - /// use different resource name schemes, such as `users / * /operations`. To - /// override the binding, API services can add a binding such as - /// `"/v1/{name=users / * }/operations"` to their service configuration. For - /// backwards compatibility, the default name includes the operations - /// collection id, however overriding users must ensure the name binding is - /// the parent resource, without the operations collection id. + /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - The name of the operation's parent resource. + /// [name] - Immutable. Full resource name of the product, such as `projects / + /// * + /// /locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. + /// The branch ID must be "default_branch". /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. - /// - /// [filter] - The standard list filter. - /// - /// [pageSize] - The standard list page size. - /// - /// [pageToken] - The standard list page token. + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/branches/\[^/\]+/products/.*$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleLongrunningListOperationsResponse]. + /// Completes with a [GoogleLongrunningOperation]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future list( + async.Future setInventory( + GoogleCloudRetailV2SetInventoryRequest request, core.String name, { - core.String? filter, - core.int? pageSize, - core.String? pageToken, core.String? $fields, }) async { + final _body = convert.json.encode(request.toJson()); final _queryParams = >{ - if (filter != null) 'filter': [filter], - if (pageSize != null) 'pageSize': ['${pageSize}'], - if (pageToken != null) 'pageToken': [pageToken], if ($fields != null) 'fields': [$fields], }; - final _url = 'v2/' + core.Uri.encodeFull('$name') + '/operations'; + final _url = 'v2/' + core.Uri.encodeFull('$name') + ':setInventory'; final _response = await _requester.request( _url, - 'GET', + 'POST', + body: _body, queryParams: _queryParams, ); - return GoogleLongrunningListOperationsResponse.fromJson( + return GoogleLongrunningOperation.fromJson( _response as core.Map); } } -class ProjectsLocationsCatalogsPlacementsResource { +class ProjectsLocationsCatalogsCompletionDataResource { final commons.ApiRequester _requester; - ProjectsLocationsCatalogsPlacementsResource(commons.ApiRequester client) + ProjectsLocationsCatalogsCompletionDataResource(commons.ApiRequester client) : _requester = client; - /// Makes a recommendation prediction. + /// Bulk import of processed completion dataset. + /// + /// Request processing may be synchronous. Partial updating is not supported. + /// This feature is only available for users who have Retail Search enabled. + /// Please submit a form [here](https://cloud.google.com/contact) to contact + /// cloud sales if you are interested in using Retail Search. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [placement] - Required. Full resource name of the format: {name=projects / - /// * /locations/global/catalogs/default_catalog/placements / * } The ID of - /// the Recommendations AI placement. Before you can request predictions from + /// [parent] - Required. The catalog which the suggestions dataset belongs to. + /// Format: `projects/1234/locations/global/catalogs/default_catalog`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future import( + GoogleCloudRetailV2ImportCompletionDataRequest request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v2/' + core.Uri.encodeFull('$parent') + '/completionData:import'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsCatalogsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsCatalogsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the latest state of a long-running operation. + /// + /// Clients can use this method to poll the operation result at intervals as + /// recommended by the API service. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleLongrunningOperation.fromJson( + _response as core.Map); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$name') + '/operations'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleLongrunningListOperationsResponse.fromJson( + _response as core.Map); + } +} + +class ProjectsLocationsCatalogsPlacementsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsCatalogsPlacementsResource(commons.ApiRequester client) + : _requester = client; + + /// Makes a recommendation prediction. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [placement] - Required. Full resource name of the format: {name=projects / + /// * /locations/global/catalogs/default_catalog/placements / * } The ID of + /// the Recommendations AI placement. Before you can request predictions from /// your model, you must create at least one placement for it. For more /// information, see /// [Managing placements](https://cloud.google.com/retail/recommendations-ai/docs/manage-placements). @@ -676,6 +1190,57 @@ class ProjectsLocationsCatalogsPlacementsResource { return GoogleCloudRetailV2PredictResponse.fromJson( _response as core.Map); } + + /// Performs a search. + /// + /// This feature is only available for users who have Retail Search enabled. + /// Please submit a form [here](https://cloud.google.com/contact) to contact + /// cloud sales if you are interested in using Retail Search. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [placement] - Required. The resource name of the search engine placement, + /// such as `projects / * + /// /locations/global/catalogs/default_catalog/placements/default_search`. + /// This field is used to identify the set of models that will be used to make + /// the search. We currently support one placement with the following ID: * + /// `default_search`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/placements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRetailV2SearchResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future search( + GoogleCloudRetailV2SearchRequest request, + core.String placement, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v2/' + core.Uri.encodeFull('$placement') + ':search'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return GoogleCloudRetailV2SearchResponse.fromJson( + _response as core.Map); + } } class ProjectsLocationsCatalogsUserEventsResource { @@ -1388,6 +1953,159 @@ class GoogleCloudRetailLoggingSourceLocation { }; } +/// Metadata related to the progress of the AddFulfillmentPlaces operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// AddFulfillmentPlaces method. +class GoogleCloudRetailV2AddFulfillmentPlacesMetadata { + GoogleCloudRetailV2AddFulfillmentPlacesMetadata(); + + GoogleCloudRetailV2AddFulfillmentPlacesMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Request message for AddFulfillmentPlaces method. +class GoogleCloudRetailV2AddFulfillmentPlacesRequest { + /// The time when the fulfillment updates are issued, used to prevent + /// out-of-order updates on fulfillment information. + /// + /// If not provided, the internal system time will be used. + core.String? addTime; + + /// If set to true, and the Product is not found, the fulfillment information + /// will still be processed and retained for at most 1 day and processed once + /// the Product is created. + /// + /// If set to false, an INVALID_ARGUMENT error is returned if the Product is + /// not found. + core.bool? allowMissing; + + /// The IDs for this type, such as the store IDs for "pickup-in-store" or the + /// region IDs for "same-day-delivery" to be added for this type. + /// + /// Duplicate IDs will be automatically ignored. At least 1 value is required, + /// and a maximum of 2000 values are allowed. Each value must be a string with + /// a length limit of 10 characters, matching the pattern \[a-zA-Z0-9_-\]+, + /// such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + /// returned. If the total number of place IDs exceeds 2000 for this type + /// after adding, then the update will be rejected. + /// + /// Required. + core.List? placeIds; + + /// The fulfillment type, including commonly used types (such as pickup in + /// store and same day delivery), and custom types. + /// + /// Supported values: * "pickup-in-store" * "ship-to-store" * + /// "same-day-delivery" * "next-day-delivery" * "custom-type-1" * + /// "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If + /// this field is set to an invalid value other than these, an + /// INVALID_ARGUMENT error is returned. This field directly corresponds to + /// Product.fulfillment_info.type. + /// + /// Required. + core.String? type; + + GoogleCloudRetailV2AddFulfillmentPlacesRequest({ + this.addTime, + this.allowMissing, + this.placeIds, + this.type, + }); + + GoogleCloudRetailV2AddFulfillmentPlacesRequest.fromJson(core.Map _json) + : this( + addTime: _json.containsKey('addTime') + ? _json['addTime'] as core.String + : null, + allowMissing: _json.containsKey('allowMissing') + ? _json['allowMissing'] as core.bool + : null, + placeIds: _json.containsKey('placeIds') + ? (_json['placeIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (addTime != null) 'addTime': addTime!, + if (allowMissing != null) 'allowMissing': allowMissing!, + if (placeIds != null) 'placeIds': placeIds!, + if (type != null) 'type': type!, + }; +} + +/// Response of the RemoveFulfillmentPlacesRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// AddFulfillmentPlaces method. +class GoogleCloudRetailV2AddFulfillmentPlacesResponse { + GoogleCloudRetailV2AddFulfillmentPlacesResponse(); + + GoogleCloudRetailV2AddFulfillmentPlacesResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// An intended audience of the Product for whom it's sold. +class GoogleCloudRetailV2Audience { + /// The age groups of the audience. + /// + /// Strongly encouraged to use the standard values: "newborn" (up to 3 months + /// old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 + /// years old), "adult" (typically teens or older). At most 5 values are + /// allowed. Each value must be a UTF-8 encoded string with a length limit of + /// 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google + /// Merchant Center property + /// [age_group](https://support.google.com/merchants/answer/6324463). + /// Schema.org property + /// [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and + /// [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). + core.List? ageGroups; + + /// The genders of the audience. + /// + /// Strongly encouraged to use the standard values: "male", "female", + /// "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded + /// string with a length limit of 128 characters. Otherwise, an + /// INVALID_ARGUMENT error is returned. Google Merchant Center property + /// [gender](https://support.google.com/merchants/answer/6324479). Schema.org + /// property + /// [Product.audience.suggestedGender](https://schema.org/suggestedGender). + core.List? genders; + + GoogleCloudRetailV2Audience({ + this.ageGroups, + this.genders, + }); + + GoogleCloudRetailV2Audience.fromJson(core.Map _json) + : this( + ageGroups: _json.containsKey('ageGroups') + ? (_json['ageGroups'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + genders: _json.containsKey('genders') + ? (_json['genders'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (ageGroups != null) 'ageGroups': ageGroups!, + if (genders != null) 'genders': genders!, + }; +} + /// BigQuery source import data from. class GoogleCloudRetailV2BigQuerySource { /// The schema to use when parsing the data from the source. @@ -1398,7 +2116,7 @@ class GoogleCloudRetailV2BigQuerySource { /// [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). /// Supported values for user events imports: * `user_event` (default): One /// JSON UserEvent per line. * `user_event_ga360`: Using - /// https://support.google.com/analytics/answer/3437719?hl=en. + /// https://support.google.com/analytics/answer/3437719. core.String? dataSchema; /// The BigQuery data set to copy the data from with a length limit of 1,024 @@ -1414,7 +2132,13 @@ class GoogleCloudRetailV2BigQuerySource { /// Cloud Storage directory. core.String? gcsStagingDir; - /// The project ID (can be project # or ID) that the BigQuery source is in + /// BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. + /// + /// Only supported when ImportProductsRequest.reconciliation_mode is set to + /// `FULL`. + GoogleTypeDate? partitionDate; + + /// The project ID (can be project # or ID) that the BigQuery source is in /// with a length limit of 128 characters. /// /// If not specified, inherits the project ID from the parent request. @@ -1430,6 +2154,7 @@ class GoogleCloudRetailV2BigQuerySource { this.dataSchema, this.datasetId, this.gcsStagingDir, + this.partitionDate, this.projectId, this.tableId, }); @@ -1445,6 +2170,10 @@ class GoogleCloudRetailV2BigQuerySource { gcsStagingDir: _json.containsKey('gcsStagingDir') ? _json['gcsStagingDir'] as core.String : null, + partitionDate: _json.containsKey('partitionDate') + ? GoogleTypeDate.fromJson( + _json['partitionDate'] as core.Map) + : null, projectId: _json.containsKey('projectId') ? _json['projectId'] as core.String : null, @@ -1457,6 +2186,7 @@ class GoogleCloudRetailV2BigQuerySource { if (dataSchema != null) 'dataSchema': dataSchema!, if (datasetId != null) 'datasetId': datasetId!, if (gcsStagingDir != null) 'gcsStagingDir': gcsStagingDir!, + if (partitionDate != null) 'partitionDate': partitionDate!.toJson(), if (projectId != null) 'projectId': projectId!, if (tableId != null) 'tableId': tableId!, }; @@ -1509,8 +2239,270 @@ class GoogleCloudRetailV2Catalog { }; } +/// The color information of a Product. +class GoogleCloudRetailV2ColorInfo { + /// The standard color families. + /// + /// Strongly recommended to use the following standard color groups: "Red", + /// "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", + /// "White", "Gray", "Black" and "Mixed". Normally it is expected to have only + /// 1 color family. May consider using single "Mixed" instead of multiple + /// values. A maximum of 5 values are allowed. Each value must be a UTF-8 + /// encoded string with a length limit of 128 characters. Otherwise, an + /// INVALID_ARGUMENT error is returned. Google Merchant Center property + /// [color](https://support.google.com/merchants/answer/6324487). Schema.org + /// property [Product.color](https://schema.org/color). + core.List? colorFamilies; + + /// The color display names, which may be different from standard color family + /// names, such as the color aliases used in the website frontend. + /// + /// Normally it is expected to have only 1 color. May consider using single + /// "Mixed" instead of multiple values. A maximum of 5 colors are allowed. + /// Each value must be a UTF-8 encoded string with a length limit of 128 + /// characters. Otherwise, an INVALID_ARGUMENT error is returned. Google + /// Merchant Center property + /// [color](https://support.google.com/merchants/answer/6324487). Schema.org + /// property [Product.color](https://schema.org/color). + core.List? colors; + + GoogleCloudRetailV2ColorInfo({ + this.colorFamilies, + this.colors, + }); + + GoogleCloudRetailV2ColorInfo.fromJson(core.Map _json) + : this( + colorFamilies: _json.containsKey('colorFamilies') + ? (_json['colorFamilies'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + colors: _json.containsKey('colors') + ? (_json['colors'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (colorFamilies != null) 'colorFamilies': colorFamilies!, + if (colors != null) 'colors': colors!, + }; +} + +/// Response of the auto-complete query. +class GoogleCloudRetailV2CompleteQueryResponse { + /// A unique complete token. + /// + /// This should be included in the SearchRequest resulting from this + /// completion, which enables accurate attribution of complete model + /// performance. + core.String? attributionToken; + + /// Results of the matching suggestions. + /// + /// The result list is ordered and the first result is top suggestion. + core.List? + completionResults; + + /// Matched recent searches of this user. + /// + /// The maximum number of recent searches is 10. This field is a restricted + /// feature. Contact Retail Search support team if you are interested in + /// enabling it. This feature is only available when + /// CompleteQueryRequest.visitor_id field is set and UserEvent is imported. + /// The recent searches satisfy the follow rules: * They are ordered from + /// latest to oldest. * They are matched with CompleteQueryRequest.query case + /// insensitively. * They are transformed to lower cases. * They are UTF-8 + /// safe. Recent searches are deduplicated. More recent searches will be + /// reserved when duplication happens. + core.List? + recentSearchResults; + + GoogleCloudRetailV2CompleteQueryResponse({ + this.attributionToken, + this.completionResults, + this.recentSearchResults, + }); + + GoogleCloudRetailV2CompleteQueryResponse.fromJson(core.Map _json) + : this( + attributionToken: _json.containsKey('attributionToken') + ? _json['attributionToken'] as core.String + : null, + completionResults: _json.containsKey('completionResults') + ? (_json['completionResults'] as core.List) + .map( + (value) => + GoogleCloudRetailV2CompleteQueryResponseCompletionResult + .fromJson( + value as core.Map)) + .toList() + : null, + recentSearchResults: _json.containsKey('recentSearchResults') + ? (_json['recentSearchResults'] as core.List) + .map( + (value) => + GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (attributionToken != null) 'attributionToken': attributionToken!, + if (completionResults != null) + 'completionResults': + completionResults!.map((value) => value.toJson()).toList(), + if (recentSearchResults != null) + 'recentSearchResults': + recentSearchResults!.map((value) => value.toJson()).toList(), + }; +} + +/// Resource that represents completion results. +class GoogleCloudRetailV2CompleteQueryResponseCompletionResult { + /// Additional custom attributes ingested through BigQuery. + core.Map? attributes; + + /// The suggestion for the query. + core.String? suggestion; + + GoogleCloudRetailV2CompleteQueryResponseCompletionResult({ + this.attributes, + this.suggestion, + }); + + GoogleCloudRetailV2CompleteQueryResponseCompletionResult.fromJson( + core.Map _json) + : this( + attributes: _json.containsKey('attributes') + ? (_json['attributes'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + GoogleCloudRetailV2CustomAttribute.fromJson( + item as core.Map), + ), + ) + : null, + suggestion: _json.containsKey('suggestion') + ? _json['suggestion'] as core.String + : null, + ); + + core.Map toJson() => { + if (attributes != null) + 'attributes': + attributes!.map((key, item) => core.MapEntry(key, item.toJson())), + if (suggestion != null) 'suggestion': suggestion!, + }; +} + +/// Recent search of this user. +class GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult { + /// The recent search query. + core.String? recentSearch; + + GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult({ + this.recentSearch, + }); + + GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult.fromJson( + core.Map _json) + : this( + recentSearch: _json.containsKey('recentSearch') + ? _json['recentSearch'] as core.String + : null, + ); + + core.Map toJson() => { + if (recentSearch != null) 'recentSearch': recentSearch!, + }; +} + +/// The input config source for completion data. +class GoogleCloudRetailV2CompletionDataInputConfig { + /// BigQuery input source. + /// + /// Add the IAM permission "BigQuery Data Viewer" for + /// cloud-retail-customer-data-access@system.gserviceaccount.com before using + /// this feature otherwise an error is thrown. + /// + /// Required. + GoogleCloudRetailV2BigQuerySource? bigQuerySource; + + GoogleCloudRetailV2CompletionDataInputConfig({ + this.bigQuerySource, + }); + + GoogleCloudRetailV2CompletionDataInputConfig.fromJson(core.Map _json) + : this( + bigQuerySource: _json.containsKey('bigQuerySource') + ? GoogleCloudRetailV2BigQuerySource.fromJson( + _json['bigQuerySource'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (bigQuerySource != null) 'bigQuerySource': bigQuerySource!.toJson(), + }; +} + +/// Detailed completion information including completion attribution token and +/// clicked completion info. +class GoogleCloudRetailV2CompletionDetail { + /// Completion attribution token in CompleteQueryResponse.attribution_token. + core.String? completionAttributionToken; + + /// End user selected CompleteQueryResponse.CompletionResult.suggestion + /// position, starting from 0. + core.int? selectedPosition; + + /// End user selected CompleteQueryResponse.CompletionResult.suggestion. + core.String? selectedSuggestion; + + GoogleCloudRetailV2CompletionDetail({ + this.completionAttributionToken, + this.selectedPosition, + this.selectedSuggestion, + }); + + GoogleCloudRetailV2CompletionDetail.fromJson(core.Map _json) + : this( + completionAttributionToken: + _json.containsKey('completionAttributionToken') + ? _json['completionAttributionToken'] as core.String + : null, + selectedPosition: _json.containsKey('selectedPosition') + ? _json['selectedPosition'] as core.int + : null, + selectedSuggestion: _json.containsKey('selectedSuggestion') + ? _json['selectedSuggestion'] as core.String + : null, + ); + + core.Map toJson() => { + if (completionAttributionToken != null) + 'completionAttributionToken': completionAttributionToken!, + if (selectedPosition != null) 'selectedPosition': selectedPosition!, + if (selectedSuggestion != null) + 'selectedSuggestion': selectedSuggestion!, + }; +} + /// A custom attribute that is not explicitly modeled in Product. class GoogleCloudRetailV2CustomAttribute { + /// If true, custom attribute values are indexed, so that it can be filtered, + /// faceted or boosted in SearchService.Search. + /// + /// This field is ignored in a UserEvent. See SearchRequest.filter, + /// SearchRequest.facet_specs and SearchRequest.boost_spec for more details. + core.bool? indexable; + /// The numerical values of this custom attribute. /// /// For example, `[2.3, 15.4]` when the key is "lengths_cm". At most 400 @@ -1519,6 +2511,13 @@ class GoogleCloudRetailV2CustomAttribute { /// INVALID_ARGUMENT error is returned. core.List? numbers; + /// If true, custom attribute values are searchable by text queries in + /// SearchService.Search. + /// + /// This field is ignored in a UserEvent. Only set if type text is set. + /// Otherwise, a INVALID_ARGUMENT error is returned. + core.bool? searchable; + /// The textual values of this custom attribute. /// /// For example, `["yellow", "green"]` when the key is "color". At most 400 @@ -1529,17 +2528,25 @@ class GoogleCloudRetailV2CustomAttribute { core.List? text; GoogleCloudRetailV2CustomAttribute({ + this.indexable, this.numbers, + this.searchable, this.text, }); GoogleCloudRetailV2CustomAttribute.fromJson(core.Map _json) : this( + indexable: _json.containsKey('indexable') + ? _json['indexable'] as core.bool + : null, numbers: _json.containsKey('numbers') ? (_json['numbers'] as core.List) .map((value) => (value as core.num).toDouble()) .toList() : null, + searchable: _json.containsKey('searchable') + ? _json['searchable'] as core.bool + : null, text: _json.containsKey('text') ? (_json['text'] as core.List) .map((value) => value as core.String) @@ -1548,11 +2555,58 @@ class GoogleCloudRetailV2CustomAttribute { ); core.Map toJson() => { + if (indexable != null) 'indexable': indexable!, if (numbers != null) 'numbers': numbers!, + if (searchable != null) 'searchable': searchable!, if (text != null) 'text': text!, }; } +/// Fulfillment information, such as the store IDs for in-store pickup or region +/// IDs for different shipping methods. +class GoogleCloudRetailV2FulfillmentInfo { + /// The IDs for this type, such as the store IDs for + /// FulfillmentInfo.type.pickup-in-store or the region IDs for + /// FulfillmentInfo.type.same-day-delivery. + /// + /// A maximum of 2000 values are allowed. Each value must be a string with a + /// length limit of 10 characters, matching the pattern \[a-zA-Z0-9_-\]+, such + /// as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is + /// returned. + core.List? placeIds; + + /// The fulfillment type, including commonly used types (such as pickup in + /// store and same day delivery), and custom types. + /// + /// Customers have to map custom types to their display names before rendering + /// UI. Supported values: * "pickup-in-store" * "ship-to-store" * + /// "same-day-delivery" * "next-day-delivery" * "custom-type-1" * + /// "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If + /// this field is set to an invalid value other than these, an + /// INVALID_ARGUMENT error is returned. + core.String? type; + + GoogleCloudRetailV2FulfillmentInfo({ + this.placeIds, + this.type, + }); + + GoogleCloudRetailV2FulfillmentInfo.fromJson(core.Map _json) + : this( + placeIds: _json.containsKey('placeIds') + ? (_json['placeIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (placeIds != null) 'placeIds': placeIds!, + if (type != null) 'type': type!, + }; +} + /// Google Cloud Storage location for input content. /// /// format. @@ -1565,7 +2619,7 @@ class GoogleCloudRetailV2GcsSource { /// [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). /// Supported values for user events imports: * `user_event` (default): One /// JSON UserEvent per line. * `user_event_ga360`: Using - /// https://support.google.com/analytics/answer/3437719?hl=en. + /// https://support.google.com/analytics/answer/3437719. core.String? dataSchema; /// Google Cloud Storage URIs to input files. @@ -1603,6 +2657,42 @@ class GoogleCloudRetailV2GcsSource { }; } +/// Response message of CatalogService.GetDefaultBranch. +class GoogleCloudRetailV2GetDefaultBranchResponse { + /// Full resource name of the branch id currently set as default branch. + core.String? branch; + + /// This corresponds to SetDefaultBranchRequest.note field, when this branch + /// was set as default. + core.String? note; + + /// The time when this branch is set to default. + core.String? setTime; + + GoogleCloudRetailV2GetDefaultBranchResponse({ + this.branch, + this.note, + this.setTime, + }); + + GoogleCloudRetailV2GetDefaultBranchResponse.fromJson(core.Map _json) + : this( + branch: _json.containsKey('branch') + ? _json['branch'] as core.String + : null, + note: _json.containsKey('note') ? _json['note'] as core.String : null, + setTime: _json.containsKey('setTime') + ? _json['setTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (branch != null) 'branch': branch!, + if (note != null) 'note': note!, + if (setTime != null) 'setTime': setTime!, + }; +} + /// Product thumbnail/detail image. class GoogleCloudRetailV2Image { /// Height of the image in number of pixels. @@ -1649,6 +2739,72 @@ class GoogleCloudRetailV2Image { }; } +/// Request message for ImportCompletionData methods. +class GoogleCloudRetailV2ImportCompletionDataRequest { + /// The desired input location of the data. + /// + /// Required. + GoogleCloudRetailV2CompletionDataInputConfig? inputConfig; + + /// Pub/Sub topic for receiving notification. + /// + /// If this field is set, when the import is finished, a notification will be + /// sent to specified Pub/Sub topic. The message data will be JSON string of a + /// Operation. Format of the Pub/Sub topic is + /// `projects/{project}/topics/{topic}`. + core.String? notificationPubsubTopic; + + GoogleCloudRetailV2ImportCompletionDataRequest({ + this.inputConfig, + this.notificationPubsubTopic, + }); + + GoogleCloudRetailV2ImportCompletionDataRequest.fromJson(core.Map _json) + : this( + inputConfig: _json.containsKey('inputConfig') + ? GoogleCloudRetailV2CompletionDataInputConfig.fromJson( + _json['inputConfig'] as core.Map) + : null, + notificationPubsubTopic: _json.containsKey('notificationPubsubTopic') + ? _json['notificationPubsubTopic'] as core.String + : null, + ); + + core.Map toJson() => { + if (inputConfig != null) 'inputConfig': inputConfig!.toJson(), + if (notificationPubsubTopic != null) + 'notificationPubsubTopic': notificationPubsubTopic!, + }; +} + +/// Response of the ImportCompletionDataRequest. +/// +/// If the long running operation is done, this message is returned by the +/// google.longrunning.Operations.response field if the operation is successful. +class GoogleCloudRetailV2ImportCompletionDataResponse { + /// A sample of errors encountered while processing the request. + core.List? errorSamples; + + GoogleCloudRetailV2ImportCompletionDataResponse({ + this.errorSamples, + }); + + GoogleCloudRetailV2ImportCompletionDataResponse.fromJson(core.Map _json) + : this( + errorSamples: _json.containsKey('errorSamples') + ? (_json['errorSamples'] as core.List) + .map((value) => GoogleRpcStatus.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (errorSamples != null) + 'errorSamples': errorSamples!.map((value) => value.toJson()).toList(), + }; +} + /// Configuration of destination for Import related errors. class GoogleCloudRetailV2ImportErrorsConfig { /// Google Cloud Storage path for import errors. @@ -1684,6 +2840,19 @@ class GoogleCloudRetailV2ImportMetadata { /// Count of entries that encountered errors while processing. core.String? failureCount; + /// Pub/Sub topic for receiving notification. + /// + /// If this field is set, when the import is finished, a notification will be + /// sent to specified Pub/Sub topic. The message data will be JSON string of a + /// Operation. Format of the Pub/Sub topic is + /// `projects/{project}/topics/{topic}`. + core.String? notificationPubsubTopic; + + /// Id of the request / operation. + /// + /// This is parroting back the requestId that was passed in the request. + core.String? requestId; + /// Count of entries that were processed successfully. core.String? successCount; @@ -1695,6 +2864,8 @@ class GoogleCloudRetailV2ImportMetadata { GoogleCloudRetailV2ImportMetadata({ this.createTime, this.failureCount, + this.notificationPubsubTopic, + this.requestId, this.successCount, this.updateTime, }); @@ -1707,6 +2878,12 @@ class GoogleCloudRetailV2ImportMetadata { failureCount: _json.containsKey('failureCount') ? _json['failureCount'] as core.String : null, + notificationPubsubTopic: _json.containsKey('notificationPubsubTopic') + ? _json['notificationPubsubTopic'] as core.String + : null, + requestId: _json.containsKey('requestId') + ? _json['requestId'] as core.String + : null, successCount: _json.containsKey('successCount') ? _json['successCount'] as core.String : null, @@ -1718,6 +2895,9 @@ class GoogleCloudRetailV2ImportMetadata { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, if (failureCount != null) 'failureCount': failureCount!, + if (notificationPubsubTopic != null) + 'notificationPubsubTopic': notificationPubsubTopic!, + if (requestId != null) 'requestId': requestId!, if (successCount != null) 'successCount': successCount!, if (updateTime != null) 'updateTime': updateTime!, }; @@ -1733,6 +2913,42 @@ class GoogleCloudRetailV2ImportProductsRequest { /// Required. GoogleCloudRetailV2ProductInputConfig? inputConfig; + /// Pub/Sub topic for receiving notification. + /// + /// If this field is set, when the import is finished, a notification will be + /// sent to specified Pub/Sub topic. The message data will be JSON string of a + /// Operation. Format of the Pub/Sub topic is + /// `projects/{project}/topics/{topic}`. Only supported when + /// ImportProductsRequest.reconciliation_mode is set to `FULL`. + core.String? notificationPubsubTopic; + + /// The mode of reconciliation between existing products and the products to + /// be imported. + /// + /// Defaults to ReconciliationMode.INCREMENTAL. + /// Possible string values are: + /// - "RECONCILIATION_MODE_UNSPECIFIED" : Defaults to INCREMENTAL. + /// - "INCREMENTAL" : Inserts new products or updates existing products. + /// - "FULL" : Calculates diff and replaces the entire product dataset. + /// Existing products may be deleted if they are not present in the source + /// location. Can only be while using BigQuerySource. Add the IAM permission + /// "BigQuery Data Viewer" for + /// cloud-retail-customer-data-access@system.gserviceaccount.com before using + /// this feature otherwise an error is thrown. This feature is only available + /// for users who have Retail Search enabled. Please submit a form + /// [here](https://cloud.google.com/contact) to contact cloud sales if you are + /// interested in using Retail Search. + core.String? reconciliationMode; + + /// Unique identifier provided by client, within the ancestor dataset scope. + /// + /// Ensures idempotency and used for request deduplication. Server-generated + /// if unspecified. Up to 128 characters long and must match the pattern: + /// "\[a-zA-Z0-9_\]+". This is returned as Operation.name in ImportMetadata. + /// Only supported when ImportProductsRequest.reconciliation_mode is set to + /// `FULL`. + core.String? requestId; + /// Indicates which fields in the provided imported 'products' to update. /// /// If not set, will by default update all fields. @@ -1741,6 +2957,9 @@ class GoogleCloudRetailV2ImportProductsRequest { GoogleCloudRetailV2ImportProductsRequest({ this.errorsConfig, this.inputConfig, + this.notificationPubsubTopic, + this.reconciliationMode, + this.requestId, this.updateMask, }); @@ -1754,6 +2973,15 @@ class GoogleCloudRetailV2ImportProductsRequest { ? GoogleCloudRetailV2ProductInputConfig.fromJson( _json['inputConfig'] as core.Map) : null, + notificationPubsubTopic: _json.containsKey('notificationPubsubTopic') + ? _json['notificationPubsubTopic'] as core.String + : null, + reconciliationMode: _json.containsKey('reconciliationMode') + ? _json['reconciliationMode'] as core.String + : null, + requestId: _json.containsKey('requestId') + ? _json['requestId'] as core.String + : null, updateMask: _json.containsKey('updateMask') ? _json['updateMask'] as core.String : null, @@ -1762,6 +2990,11 @@ class GoogleCloudRetailV2ImportProductsRequest { core.Map toJson() => { if (errorsConfig != null) 'errorsConfig': errorsConfig!.toJson(), if (inputConfig != null) 'inputConfig': inputConfig!.toJson(), + if (notificationPubsubTopic != null) + 'notificationPubsubTopic': notificationPubsubTopic!, + if (reconciliationMode != null) + 'reconciliationMode': reconciliationMode!, + if (requestId != null) 'requestId': requestId!, if (updateMask != null) 'updateMask': updateMask!, }; } @@ -1887,6 +3120,51 @@ class GoogleCloudRetailV2ImportUserEventsResponse { }; } +/// A floating point interval. +class GoogleCloudRetailV2Interval { + /// Exclusive upper bound. + core.double? exclusiveMaximum; + + /// Exclusive lower bound. + core.double? exclusiveMinimum; + + /// Inclusive upper bound. + core.double? maximum; + + /// Inclusive lower bound. + core.double? minimum; + + GoogleCloudRetailV2Interval({ + this.exclusiveMaximum, + this.exclusiveMinimum, + this.maximum, + this.minimum, + }); + + GoogleCloudRetailV2Interval.fromJson(core.Map _json) + : this( + exclusiveMaximum: _json.containsKey('exclusiveMaximum') + ? (_json['exclusiveMaximum'] as core.num).toDouble() + : null, + exclusiveMinimum: _json.containsKey('exclusiveMinimum') + ? (_json['exclusiveMinimum'] as core.num).toDouble() + : null, + maximum: _json.containsKey('maximum') + ? (_json['maximum'] as core.num).toDouble() + : null, + minimum: _json.containsKey('minimum') + ? (_json['minimum'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (exclusiveMaximum != null) 'exclusiveMaximum': exclusiveMaximum!, + if (exclusiveMinimum != null) 'exclusiveMinimum': exclusiveMinimum!, + if (maximum != null) 'maximum': maximum!, + if (minimum != null) 'minimum': minimum!, + }; +} + /// Response for CatalogService.ListCatalogs method. class GoogleCloudRetailV2ListCatalogsResponse { /// All the customer's Catalogs. @@ -1924,17 +3202,54 @@ class GoogleCloudRetailV2ListCatalogsResponse { }; } -/// Request message for Predict method. -class GoogleCloudRetailV2PredictRequest { - /// Filter for restricting prediction results with a length limit of 5,000 - /// characters. +/// Response message for ProductService.ListProducts method. +class GoogleCloudRetailV2ListProductsResponse { + /// A token that can be sent as ListProductsRequest.page_token to retrieve the + /// next page. /// - /// Accepts values for tags and the `filterOutOfStockItems` flag. * Tag - /// expressions. Restricts predictions to products that match all of the - /// specified tags. Boolean operators `OR` and `NOT` are supported if the - /// expression is enclosed in parentheses, and must be separated from the tag - /// values by a space. `-"tagA"` is also supported and is equivalent to `NOT - /// "tagA"`. Tag values must be double quoted UTF-8 encoded strings with a + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// The Products. + core.List? products; + + GoogleCloudRetailV2ListProductsResponse({ + this.nextPageToken, + this.products, + }); + + GoogleCloudRetailV2ListProductsResponse.fromJson(core.Map _json) + : this( + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + products: _json.containsKey('products') + ? (_json['products'] as core.List) + .map((value) => + GoogleCloudRetailV2Product.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (products != null) + 'products': products!.map((value) => value.toJson()).toList(), + }; +} + +/// Request message for Predict method. +class GoogleCloudRetailV2PredictRequest { + /// Filter for restricting prediction results with a length limit of 5,000 + /// characters. + /// + /// Accepts values for tags and the `filterOutOfStockItems` flag. * Tag + /// expressions. Restricts predictions to products that match all of the + /// specified tags. Boolean operators `OR` and `NOT` are supported if the + /// expression is enclosed in parentheses, and must be separated from the tag + /// values by a space. `-"tagA"` is also supported and is equivalent to `NOT + /// "tagA"`. Tag values must be double quoted UTF-8 encoded strings with a /// size limit of 1,000 characters. Note: "Recently viewed" models don't /// support tag filtering at the moment. * filterOutOfStockItems. Restricts /// predictions to products that do not have a stockState value of @@ -2183,7 +3498,9 @@ class GoogleCloudRetailV2PriceInfo { /// [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). /// /// If this field is an unrecognizable currency code, an INVALID_ARGUMENT - /// error is returned. + /// error is returned. The Product.Type.VARIANT Products with the same + /// Product.primary_product_id must share the same currency_code. Otherwise, a + /// FAILED_PRECONDITION error is returned. core.String? currencyCode; /// Price of the product without any discount. @@ -2199,11 +3516,41 @@ class GoogleCloudRetailV2PriceInfo { /// [Offer.priceSpecification](https://schema.org/priceSpecification). core.double? price; + /// The timestamp when the price starts to be effective. + /// + /// This can be set as a future timestamp, and the price is only used for + /// search after price_effective_time. If so, the original_price must be set + /// and original_price is used before price_effective_time. Do not set if + /// price is always effective because it will cause additional latency during + /// search. + core.String? priceEffectiveTime; + + /// The timestamp when the price stops to be effective. + /// + /// The price is used for search before price_expire_time. If this field is + /// set, the original_price must be set and original_price is used after + /// price_expire_time. Do not set if price is always effective because it will + /// cause additional latency during search. + core.String? priceExpireTime; + + /// The price range of all the child Product.Type.VARIANT Products grouped + /// together on the Product.Type.PRIMARY Product. + /// + /// Only populated for Product.Type.PRIMARY Products. Note: This field is + /// OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API + /// requests. + /// + /// Output only. + GoogleCloudRetailV2PriceInfoPriceRange? priceRange; + GoogleCloudRetailV2PriceInfo({ this.cost, this.currencyCode, this.originalPrice, this.price, + this.priceEffectiveTime, + this.priceExpireTime, + this.priceRange, }); GoogleCloudRetailV2PriceInfo.fromJson(core.Map _json) @@ -2220,6 +3567,16 @@ class GoogleCloudRetailV2PriceInfo { price: _json.containsKey('price') ? (_json['price'] as core.num).toDouble() : null, + priceEffectiveTime: _json.containsKey('priceEffectiveTime') + ? _json['priceEffectiveTime'] as core.String + : null, + priceExpireTime: _json.containsKey('priceExpireTime') + ? _json['priceExpireTime'] as core.String + : null, + priceRange: _json.containsKey('priceRange') + ? GoogleCloudRetailV2PriceInfoPriceRange.fromJson( + _json['priceRange'] as core.Map) + : null, ); core.Map toJson() => { @@ -2227,6 +3584,44 @@ class GoogleCloudRetailV2PriceInfo { if (currencyCode != null) 'currencyCode': currencyCode!, if (originalPrice != null) 'originalPrice': originalPrice!, if (price != null) 'price': price!, + if (priceEffectiveTime != null) + 'priceEffectiveTime': priceEffectiveTime!, + if (priceExpireTime != null) 'priceExpireTime': priceExpireTime!, + if (priceRange != null) 'priceRange': priceRange!.toJson(), + }; +} + +/// The price range of all variant Product having the same +/// Product.primary_product_id. +class GoogleCloudRetailV2PriceInfoPriceRange { + /// The inclusive Product.pricing_info.original_price internal of all variant + /// Product having the same Product.primary_product_id. + GoogleCloudRetailV2Interval? originalPrice; + + /// The inclusive Product.pricing_info.price interval of all variant Product + /// having the same Product.primary_product_id. + GoogleCloudRetailV2Interval? price; + + GoogleCloudRetailV2PriceInfoPriceRange({ + this.originalPrice, + this.price, + }); + + GoogleCloudRetailV2PriceInfoPriceRange.fromJson(core.Map _json) + : this( + originalPrice: _json.containsKey('originalPrice') + ? GoogleCloudRetailV2Interval.fromJson( + _json['originalPrice'] as core.Map) + : null, + price: _json.containsKey('price') + ? GoogleCloudRetailV2Interval.fromJson( + _json['price'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (originalPrice != null) 'originalPrice': originalPrice!.toJson(), + if (price != null) 'price': price!.toJson(), }; } @@ -2246,11 +3641,16 @@ class GoogleCloudRetailV2Product { /// "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": /// {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This /// field needs to pass all below criteria, otherwise an INVALID_ARGUMENT - /// error is returned: * Max entries count: 200 by default; 100 for - /// Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit - /// of 128 characters. + /// error is returned: * Max entries count: 200. * The key must be a UTF-8 + /// encoded string with a length limit of 128 characters. * For indexable + /// attribute, the key must match the pattern: a-zA-Z0-9*. For example, + /// key0LikeThis or KEY_1_LIKE_THIS. core.Map? attributes; + /// The target group associated with a given audience (e.g. male, veterans, + /// car owners, musicians, etc.) of the product. + GoogleCloudRetailV2Audience? audience; + /// The online availability of the Product. /// /// Default to Availability.IN_STOCK. Google Merchant Center Property @@ -2269,9 +3669,19 @@ class GoogleCloudRetailV2Product { /// The available quantity of the item. core.int? availableQuantity; - /// The timestamp when this Product becomes available for recommendation. + /// The timestamp when this Product becomes available for + /// SearchService.Search. core.String? availableTime; + /// The brands of the product. + /// + /// A maximum of 30 brands are allowed. Each brand must be a UTF-8 encoded + /// string with a length limit of 1,000 characters. Otherwise, an + /// INVALID_ARGUMENT error is returned. Google Merchant Center property + /// [brand](https://support.google.com/merchants/answer/6324351). Schema.org + /// property [Product.brand](https://schema.org/brand). + core.List? brands; + /// Product categories. /// /// This field is repeated for supporting one product belonging to several @@ -2293,6 +3703,30 @@ class GoogleCloudRetailV2Product { /// https://support.google.com/merchants/answer/6324436 core.List? categories; + /// The id of the collection members when type is Type.COLLECTION. + /// + /// Should not set it for other types. A maximum of 1000 values are allowed. + /// Otherwise, an INVALID_ARGUMENT error is return. + core.List? collectionMemberIds; + + /// The color of the product. + /// + /// Google Merchant Center property + /// [color](https://support.google.com/merchants/answer/6324487). Schema.org + /// property [Product.color](https://schema.org/color). + GoogleCloudRetailV2ColorInfo? colorInfo; + + /// The condition of the product. + /// + /// Strongly encouraged to use the standard values: "new", "refurbished", + /// "used". A maximum of 5 values are allowed per Product. Each value must be + /// a UTF-8 encoded string with a length limit of 128 characters. Otherwise, + /// an INVALID_ARGUMENT error is returned. Google Merchant Center property + /// [condition](https://support.google.com/merchants/answer/6324469). + /// Schema.org property + /// [Offer.itemCondition](https://schema.org/itemCondition). + core.List? conditions; + /// Product description. /// /// This field must be a UTF-8 encoded string with a length limit of 5,000 @@ -2302,6 +3736,38 @@ class GoogleCloudRetailV2Product { /// schema.org property [Product.description](https://schema.org/description). core.String? description; + /// The timestamp when this product becomes unavailable for + /// SearchService.Search. + /// + /// If it is set, the Product is not available for SearchService.Search after + /// expire_time. However, the product can still be retrieved by + /// ProductService.GetProduct and ProductService.ListProducts. Google Merchant + /// Center property + /// [expiration_date](https://support.google.com/merchants/answer/6324499). + core.String? expireTime; + + /// Fulfillment information, such as the store IDs for in-store pickup or + /// region IDs for different shipping methods. + /// + /// All the elements must have distinct FulfillmentInfo.type. Otherwise, an + /// INVALID_ARGUMENT error is returned. + core.List? fulfillmentInfo; + + /// The Global Trade Item Number (GTIN) of the product. + /// + /// This field must be a UTF-8 encoded string with a length limit of 128 + /// characters. Otherwise, an INVALID_ARGUMENT error is returned. This field + /// must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. + /// Google Merchant Center property + /// [gtin](https://support.google.com/merchants/answer/6324461). Schema.org + /// property [Product.isbn](https://schema.org/isbn) or + /// [Product.gtin8](https://schema.org/gtin8) or + /// [Product.gtin12](https://schema.org/gtin12) or + /// [Product.gtin13](https://schema.org/gtin13) or + /// [Product.gtin14](https://schema.org/gtin14). If the value is not a valid + /// GTIN, an INVALID_ARGUMENT error is returned. + core.String? gtin; + /// Product identifier, which is the final component of name. /// /// For example, this field is "id_1", if name is `projects / * @@ -2323,6 +3789,26 @@ class GoogleCloudRetailV2Product { /// Schema.org property [Product.image](https://schema.org/image). core.List? images; + /// Language of the title/description and other string attributes. + /// + /// Use language tags defined by BCP 47. For product prediction, this field is + /// ignored and the model automatically detects the text language. The Product + /// can include text in different languages, but duplicating Products to + /// provide text in multiple languages can result in degraded model + /// performance. For product search this field is in use. It defaults to + /// "en-US" if unset. + core.String? languageCode; + + /// The material of the product. + /// + /// For example, "leather", "wooden". A maximum of 20 values are allowed. Each + /// value must be a UTF-8 encoded string with a length limit of 128 + /// characters. Otherwise, an INVALID_ARGUMENT error is returned. Google + /// Merchant Center property + /// [material](https://support.google.com/merchants/answer/6324410). + /// Schema.org property [Product.material](https://schema.org/material). + core.List? materials; + /// Full resource name of the product, such as `projects / * /// /locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. /// @@ -2331,6 +3817,16 @@ class GoogleCloudRetailV2Product { /// Immutable. core.String? name; + /// The pattern or graphic print of the product. + /// + /// For example, "striped", "polka dot", "paisley". A maximum of 20 values are + /// allowed per Product. Each value must be a UTF-8 encoded string with a + /// length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is + /// returned. Google Merchant Center property + /// [pattern](https://support.google.com/merchants/answer/6324483). Schema.org + /// property [Product.pattern](https://schema.org/pattern). + core.List? patterns; + /// Product price and cost information. /// /// Google Merchant Center property @@ -2352,6 +3848,56 @@ class GoogleCloudRetailV2Product { /// more\](/recommendations-ai/docs/catalog#item-group-id). core.String? primaryProductId; + /// The promotions applied to the product. + /// + /// A maximum of 10 values are allowed per Product. + core.List? promotions; + + /// The timestamp when the product is published by the retailer for the first + /// time, which indicates the freshness of the products. + /// + /// Note that this field is different from available_time, given it purely + /// describes product freshness regardless of when it is available on search + /// and recommendation. + core.String? publishTime; + + /// The rating of this product. + GoogleCloudRetailV2Rating? rating; + + /// Indicates which fields in the Products are returned in SearchResponse. + /// + /// Supported fields for all types: * audience * availability * brands * + /// color_info * conditions * gtin * materials * name * patterns * price_info + /// * rating * sizes * title * uri Supported fields only for Type.PRIMARY and + /// Type.COLLECTION: * categories * description * images Supported fields only + /// for Type.VARIANT: * Only the first image in images To mark attributes as + /// retrievable, include paths of the form "attributes.key" where "key" is the + /// key of a custom attribute, as specified in attributes. For Type.PRIMARY + /// and Type.COLLECTION, the following fields are always returned in + /// SearchResponse by default: * name For Type.VARIANT, the following fields + /// are always returned in by default: * name * color_info Maximum number of + /// paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: + /// Returning more fields in SearchResponse may increase response payload size + /// and serving latency. + core.String? retrievableFields; + + /// The size of the product. + /// + /// To represent different size systems or size types, consider using this + /// format: \[\[\[size_system:\]size_type:\]size_value\]. For example, in + /// "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" + /// represents size value. In "GIRLS:27", size system is empty; "GIRLS" + /// represents size type; "27" represents size value. In "32 inches", both + /// size system and size type are empty, while size value is "32 inches". A + /// maximum of 20 values are allowed per Product. Each value must be a UTF-8 + /// encoded string with a length limit of 128 characters. Otherwise, an + /// INVALID_ARGUMENT error is returned. Google Merchant Center property + /// [size](https://support.google.com/merchants/answer/6324492), + /// [size_type](https://support.google.com/merchants/answer/6324497) and + /// [size_system](https://support.google.com/merchants/answer/6324502). + /// Schema.org property [Product.size](https://schema.org/size). + core.List? sizes; + /// Custom tags associated with the product. /// /// At most 250 values are allowed per Product. This value must be a UTF-8 @@ -2373,6 +3919,16 @@ class GoogleCloudRetailV2Product { /// Required. core.String? title; + /// Input only. + /// + /// The TTL (time to live) of the product. If it is set, expire_time is set as + /// current timestamp plus ttl. The derived expire_time is returned in the + /// output and ttl is left blank when retrieving the Product. If it is set, + /// the product is not available for SearchService.Search after current + /// timestamp plus ttl. However, the product can still be retrieved by + /// ProductService.GetProduct and ProductService.ListProducts. + core.String? ttl; + /// The type of the product. /// /// Default to Catalog.product_level_config.ingestion_product_type if unset. @@ -2403,22 +3959,51 @@ class GoogleCloudRetailV2Product { /// property [Offer.url](https://schema.org/url). core.String? uri; + /// Product variants grouped together on primary product which share similar + /// product attributes. + /// + /// It's automatically grouped by primary_product_id for all the product + /// variants. Only populated for Type.PRIMARY Products. Note: This field is + /// OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API + /// requests. + /// + /// Output only. + core.List? variants; + GoogleCloudRetailV2Product({ this.attributes, + this.audience, this.availability, this.availableQuantity, this.availableTime, + this.brands, this.categories, + this.collectionMemberIds, + this.colorInfo, + this.conditions, this.description, + this.expireTime, + this.fulfillmentInfo, + this.gtin, this.id, this.images, + this.languageCode, + this.materials, this.name, + this.patterns, this.priceInfo, this.primaryProductId, + this.promotions, + this.publishTime, + this.rating, + this.retrievableFields, + this.sizes, this.tags, this.title, + this.ttl, this.type, this.uri, + this.variants, }); GoogleCloudRetailV2Product.fromJson(core.Map _json) @@ -2433,6 +4018,10 @@ class GoogleCloudRetailV2Product { ), ) : null, + audience: _json.containsKey('audience') + ? GoogleCloudRetailV2Audience.fromJson( + _json['audience'] as core.Map) + : null, availability: _json.containsKey('availability') ? _json['availability'] as core.String : null, @@ -2442,14 +4031,44 @@ class GoogleCloudRetailV2Product { availableTime: _json.containsKey('availableTime') ? _json['availableTime'] as core.String : null, + brands: _json.containsKey('brands') + ? (_json['brands'] as core.List) + .map((value) => value as core.String) + .toList() + : null, categories: _json.containsKey('categories') ? (_json['categories'] as core.List) .map((value) => value as core.String) .toList() : null, + collectionMemberIds: _json.containsKey('collectionMemberIds') + ? (_json['collectionMemberIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + colorInfo: _json.containsKey('colorInfo') + ? GoogleCloudRetailV2ColorInfo.fromJson( + _json['colorInfo'] as core.Map) + : null, + conditions: _json.containsKey('conditions') + ? (_json['conditions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, description: _json.containsKey('description') ? _json['description'] as core.String : null, + expireTime: _json.containsKey('expireTime') + ? _json['expireTime'] as core.String + : null, + fulfillmentInfo: _json.containsKey('fulfillmentInfo') + ? (_json['fulfillmentInfo'] as core.List) + .map((value) => + GoogleCloudRetailV2FulfillmentInfo.fromJson( + value as core.Map)) + .toList() + : null, + gtin: _json.containsKey('gtin') ? _json['gtin'] as core.String : null, id: _json.containsKey('id') ? _json['id'] as core.String : null, images: _json.containsKey('images') ? (_json['images'] as core.List) @@ -2458,7 +4077,20 @@ class GoogleCloudRetailV2Product { value as core.Map)) .toList() : null, + languageCode: _json.containsKey('languageCode') + ? _json['languageCode'] as core.String + : null, + materials: _json.containsKey('materials') + ? (_json['materials'] as core.List) + .map((value) => value as core.String) + .toList() + : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, + patterns: _json.containsKey('patterns') + ? (_json['patterns'] as core.List) + .map((value) => value as core.String) + .toList() + : null, priceInfo: _json.containsKey('priceInfo') ? GoogleCloudRetailV2PriceInfo.fromJson( _json['priceInfo'] as core.Map) @@ -2466,6 +4098,28 @@ class GoogleCloudRetailV2Product { primaryProductId: _json.containsKey('primaryProductId') ? _json['primaryProductId'] as core.String : null, + promotions: _json.containsKey('promotions') + ? (_json['promotions'] as core.List) + .map((value) => + GoogleCloudRetailV2Promotion.fromJson( + value as core.Map)) + .toList() + : null, + publishTime: _json.containsKey('publishTime') + ? _json['publishTime'] as core.String + : null, + rating: _json.containsKey('rating') + ? GoogleCloudRetailV2Rating.fromJson( + _json['rating'] as core.Map) + : null, + retrievableFields: _json.containsKey('retrievableFields') + ? _json['retrievableFields'] as core.String + : null, + sizes: _json.containsKey('sizes') + ? (_json['sizes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, tags: _json.containsKey('tags') ? (_json['tags'] as core.List) .map((value) => value as core.String) @@ -2473,29 +4127,60 @@ class GoogleCloudRetailV2Product { : null, title: _json.containsKey('title') ? _json['title'] as core.String : null, + ttl: _json.containsKey('ttl') ? _json['ttl'] as core.String : null, type: _json.containsKey('type') ? _json['type'] as core.String : null, uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, + variants: _json.containsKey('variants') + ? (_json['variants'] as core.List) + .map((value) => + GoogleCloudRetailV2Product.fromJson( + value as core.Map)) + .toList() + : null, ); core.Map toJson() => { if (attributes != null) 'attributes': attributes!.map((key, item) => core.MapEntry(key, item.toJson())), + if (audience != null) 'audience': audience!.toJson(), if (availability != null) 'availability': availability!, if (availableQuantity != null) 'availableQuantity': availableQuantity!, if (availableTime != null) 'availableTime': availableTime!, + if (brands != null) 'brands': brands!, if (categories != null) 'categories': categories!, + if (collectionMemberIds != null) + 'collectionMemberIds': collectionMemberIds!, + if (colorInfo != null) 'colorInfo': colorInfo!.toJson(), + if (conditions != null) 'conditions': conditions!, if (description != null) 'description': description!, + if (expireTime != null) 'expireTime': expireTime!, + if (fulfillmentInfo != null) + 'fulfillmentInfo': + fulfillmentInfo!.map((value) => value.toJson()).toList(), + if (gtin != null) 'gtin': gtin!, if (id != null) 'id': id!, if (images != null) 'images': images!.map((value) => value.toJson()).toList(), + if (languageCode != null) 'languageCode': languageCode!, + if (materials != null) 'materials': materials!, if (name != null) 'name': name!, + if (patterns != null) 'patterns': patterns!, if (priceInfo != null) 'priceInfo': priceInfo!.toJson(), if (primaryProductId != null) 'primaryProductId': primaryProductId!, + if (promotions != null) + 'promotions': promotions!.map((value) => value.toJson()).toList(), + if (publishTime != null) 'publishTime': publishTime!, + if (rating != null) 'rating': rating!.toJson(), + if (retrievableFields != null) 'retrievableFields': retrievableFields!, + if (sizes != null) 'sizes': sizes!, if (tags != null) 'tags': tags!, if (title != null) 'title': title!, + if (ttl != null) 'ttl': ttl!, if (type != null) 'type': type!, if (uri != null) 'uri': uri!, + if (variants != null) + 'variants': variants!.map((value) => value.toJson()).toList(), }; } @@ -2503,8 +4188,12 @@ class GoogleCloudRetailV2Product { class GoogleCloudRetailV2ProductDetail { /// Product information. /// - /// Only Product.id field is used when ingesting an event, all other product - /// fields are ignored as we will look them up from the catalog. + /// Required field(s): * Product.id Optional override field(s): * + /// Product.price_info If any supported optional fields are provided, we will + /// treat them as a full override when looking up product information from the + /// catalog. Thus, it is important to ensure that the overriding fields are + /// accurate and complete. All other product fields are ignored and instead + /// populated via catalog lookup after event ingestion. /// /// Required. GoogleCloudRetailV2Product? product; @@ -2667,6 +4356,33 @@ class GoogleCloudRetailV2ProductLevelConfig { }; } +/// Promotion information. +class GoogleCloudRetailV2Promotion { + /// ID of the promotion. + /// + /// For example, "free gift". The value value must be a UTF-8 encoded string + /// with a length limit of 128 characters, and match the pattern: a-zA-Z*. For + /// example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT + /// error is returned. Google Merchant Center property + /// [promotion](https://support.google.com/merchants/answer/7050148). + core.String? promotionId; + + GoogleCloudRetailV2Promotion({ + this.promotionId, + }); + + GoogleCloudRetailV2Promotion.fromJson(core.Map _json) + : this( + promotionId: _json.containsKey('promotionId') + ? _json['promotionId'] as core.String + : null, + ); + + core.Map toJson() => { + if (promotionId != null) 'promotionId': promotionId!, + }; +} + /// A transaction represents the entire purchase transaction. class GoogleCloudRetailV2PurchaseTransaction { /// All the costs associated with the products. @@ -2797,86 +4513,1305 @@ class GoogleCloudRetailV2PurgeUserEventsResponse { /// The total count of events purged as a result of the operation. core.String? purgedEventsCount; - GoogleCloudRetailV2PurgeUserEventsResponse({ - this.purgedEventsCount, + GoogleCloudRetailV2PurgeUserEventsResponse({ + this.purgedEventsCount, + }); + + GoogleCloudRetailV2PurgeUserEventsResponse.fromJson(core.Map _json) + : this( + purgedEventsCount: _json.containsKey('purgedEventsCount') + ? _json['purgedEventsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (purgedEventsCount != null) 'purgedEventsCount': purgedEventsCount!, + }; +} + +/// The rating of a Product. +class GoogleCloudRetailV2Rating { + /// The average rating of the Product. + /// + /// The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is + /// returned. + core.double? averageRating; + + /// The total number of ratings. + /// + /// This value is independent of the value of rating_histogram. This value + /// must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. + core.int? ratingCount; + + /// List of rating counts per rating value (index = rating - 1). + /// + /// The list is empty if there is no rating. If the list is non-empty, its + /// size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For + /// example, \[41, 14, 13, 47, 303\]. It means that the Product got 41 ratings + /// with 1 star, 14 ratings with 2 star, and so on. + core.List? ratingHistogram; + + GoogleCloudRetailV2Rating({ + this.averageRating, + this.ratingCount, + this.ratingHistogram, + }); + + GoogleCloudRetailV2Rating.fromJson(core.Map _json) + : this( + averageRating: _json.containsKey('averageRating') + ? (_json['averageRating'] as core.num).toDouble() + : null, + ratingCount: _json.containsKey('ratingCount') + ? _json['ratingCount'] as core.int + : null, + ratingHistogram: _json.containsKey('ratingHistogram') + ? (_json['ratingHistogram'] as core.List) + .map((value) => value as core.int) + .toList() + : null, + ); + + core.Map toJson() => { + if (averageRating != null) 'averageRating': averageRating!, + if (ratingCount != null) 'ratingCount': ratingCount!, + if (ratingHistogram != null) 'ratingHistogram': ratingHistogram!, + }; +} + +/// Metadata for RejoinUserEvents method. +class GoogleCloudRetailV2RejoinUserEventsMetadata { + GoogleCloudRetailV2RejoinUserEventsMetadata(); + + GoogleCloudRetailV2RejoinUserEventsMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Request message for RejoinUserEvents method. +class GoogleCloudRetailV2RejoinUserEventsRequest { + /// The type of the user event rejoin to define the scope and range of the + /// user events to be rejoined with the latest product catalog. + /// + /// Defaults to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, + /// or set to an invalid integer value. + /// Possible string values are: + /// - "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED" : Rejoin all events with the + /// latest product catalog, including both joined events and unjoined events. + /// - "JOINED_EVENTS" : Only rejoin joined events with the latest product + /// catalog. + /// - "UNJOINED_EVENTS" : Only rejoin unjoined events with the latest product + /// catalog. + core.String? userEventRejoinScope; + + GoogleCloudRetailV2RejoinUserEventsRequest({ + this.userEventRejoinScope, + }); + + GoogleCloudRetailV2RejoinUserEventsRequest.fromJson(core.Map _json) + : this( + userEventRejoinScope: _json.containsKey('userEventRejoinScope') + ? _json['userEventRejoinScope'] as core.String + : null, + ); + + core.Map toJson() => { + if (userEventRejoinScope != null) + 'userEventRejoinScope': userEventRejoinScope!, + }; +} + +/// Response message for RejoinUserEvents method. +class GoogleCloudRetailV2RejoinUserEventsResponse { + /// Number of user events that were joined with latest product catalog. + core.String? rejoinedUserEventsCount; + + GoogleCloudRetailV2RejoinUserEventsResponse({ + this.rejoinedUserEventsCount, + }); + + GoogleCloudRetailV2RejoinUserEventsResponse.fromJson(core.Map _json) + : this( + rejoinedUserEventsCount: _json.containsKey('rejoinedUserEventsCount') + ? _json['rejoinedUserEventsCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (rejoinedUserEventsCount != null) + 'rejoinedUserEventsCount': rejoinedUserEventsCount!, + }; +} + +/// Metadata related to the progress of the RemoveFulfillmentPlaces operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata { + GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata(); + + GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Request message for RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest { + /// If set to true, and the Product is not found, the fulfillment information + /// will still be processed and retained for at most 1 day and processed once + /// the Product is created. + /// + /// If set to false, an INVALID_ARGUMENT error is returned if the Product is + /// not found. + core.bool? allowMissing; + + /// The IDs for this type, such as the store IDs for "pickup-in-store" or the + /// region IDs for "same-day-delivery", to be removed for this type. + /// + /// At least 1 value is required, and a maximum of 2000 values are allowed. + /// Each value must be a string with a length limit of 10 characters, matching + /// the pattern \[a-zA-Z0-9_-\]+, such as "store1" or "REGION-2". Otherwise, + /// an INVALID_ARGUMENT error is returned. + /// + /// Required. + core.List? placeIds; + + /// The time when the fulfillment updates are issued, used to prevent + /// out-of-order updates on fulfillment information. + /// + /// If not provided, the internal system time will be used. + core.String? removeTime; + + /// The fulfillment type, including commonly used types (such as pickup in + /// store and same day delivery), and custom types. + /// + /// Supported values: * "pickup-in-store" * "ship-to-store" * + /// "same-day-delivery" * "next-day-delivery" * "custom-type-1" * + /// "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If + /// this field is set to an invalid value other than these, an + /// INVALID_ARGUMENT error is returned. This field directly corresponds to + /// Product.fulfillment_info.type. + /// + /// Required. + core.String? type; + + GoogleCloudRetailV2RemoveFulfillmentPlacesRequest({ + this.allowMissing, + this.placeIds, + this.removeTime, + this.type, + }); + + GoogleCloudRetailV2RemoveFulfillmentPlacesRequest.fromJson(core.Map _json) + : this( + allowMissing: _json.containsKey('allowMissing') + ? _json['allowMissing'] as core.bool + : null, + placeIds: _json.containsKey('placeIds') + ? (_json['placeIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + removeTime: _json.containsKey('removeTime') + ? _json['removeTime'] as core.String + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (allowMissing != null) 'allowMissing': allowMissing!, + if (placeIds != null) 'placeIds': placeIds!, + if (removeTime != null) 'removeTime': removeTime!, + if (type != null) 'type': type!, + }; +} + +/// Response of the RemoveFulfillmentPlacesRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse { + GoogleCloudRetailV2RemoveFulfillmentPlacesResponse(); + + GoogleCloudRetailV2RemoveFulfillmentPlacesResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Request message for SearchService.Search method. +class GoogleCloudRetailV2SearchRequest { + /// Boost specification to boost certain products. + /// + /// See more details at this \[user guide\](/retail/private/docs/boosting). + GoogleCloudRetailV2SearchRequestBoostSpec? boostSpec; + + /// The branch resource name, such as `projects / * + /// /locations/global/catalogs/default_catalog/branches/0`. + /// + /// Use "default_branch" as the branch ID or leave this field empty, to search + /// products under the default branch. + core.String? branch; + + /// The filter applied to every search request when quality improvement such + /// as query expansion is needed. + /// + /// For example, if a query does not have enough results, an expanded query + /// with SearchRequest.canonical_filter will be returned as a supplement of + /// the original query. This field is strongly recommended to achieve high + /// search quality. See SearchRequest.filter for more details about filter + /// syntax. + core.String? canonicalFilter; + + /// The specification for dynamically generated facets. + /// + /// Notice that only textual facets can be dynamically generated. This feature + /// requires additional allowlisting. Contact Retail Search support team if + /// you are interested in using dynamic facet feature. + GoogleCloudRetailV2SearchRequestDynamicFacetSpec? dynamicFacetSpec; + + /// Facet specifications for faceted search. + /// + /// If empty, no facets are returned. A maximum of 100 values are allowed. + /// Otherwise, an INVALID_ARGUMENT error is returned. + core.List? facetSpecs; + + /// The filter syntax consists of an expression language for constructing a + /// predicate from one or more fields of the products being filtered. + /// + /// Filter expression is case-sensitive. See more details at this \[user + /// guide\](/retail/private/docs/filter-and-order#filter). If this field is + /// unrecognizable, an INVALID_ARGUMENT is returned. + core.String? filter; + + /// A 0-indexed integer that specifies the current offset (that is, starting + /// result location, amongst the Products deemed by the API as relevant) in + /// search results. + /// + /// This field is only considered if page_token is unset. If this field is + /// negative, an INVALID_ARGUMENT is returned. + core.int? offset; + + /// The order in which products are returned. + /// + /// Products can be ordered by a field in an Product object. Leave it unset if + /// ordered by relevance. OrderBy expression is case-sensitive. See more + /// details at this \[user + /// guide\](/retail/private/docs/filter-and-order#order). If this field is + /// unrecognizable, an INVALID_ARGUMENT is returned. + core.String? orderBy; + + /// The categories associated with a category page. + /// + /// Required for category navigation queries to achieve good search quality. + /// The format should be the same as UserEvent.page_categories; To represent + /// full path of category, use '>' sign to separate different hierarchies. If + /// '>' is part of the category name, please replace it with other + /// character(s). Category pages include special pages such as sales or + /// promotions. For instance, a special sale page may have the category + /// hierarchy: "pageCategories" : \["Sales > 2017 Black Friday Deals"\]. + core.List? pageCategories; + + /// Maximum number of Products to return. + /// + /// If unspecified, defaults to a reasonable value. The maximum allowed value + /// is 120. Values above 120 will be coerced to 120. If this field is + /// negative, an INVALID_ARGUMENT is returned. + core.int? pageSize; + + /// A page token SearchResponse.next_page_token, received from a previous + /// SearchService.Search call. + /// + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to SearchService.Search must match the call that + /// provided the page token. Otherwise, an INVALID_ARGUMENT error is returned. + core.String? pageToken; + + /// Raw search query. + core.String? query; + + /// The query expansion specification that specifies the conditions under + /// which query expansion will occur. + /// + /// See more details at this \[user + /// guide\](/retail/private/docs/result-size#query_expansion). + GoogleCloudRetailV2SearchRequestQueryExpansionSpec? queryExpansionSpec; + + /// User information. + GoogleCloudRetailV2UserInfo? userInfo; + + /// The keys to fetch and rollup the matching variant Products attributes. + /// + /// The attributes from all the matching variant Products are merged and + /// de-duplicated. Notice that rollup variant Products attributes will lead to + /// extra query latency. Maximum number of keys is 10. For FulfillmentInfo, a + /// fulfillment type and a fulfillment ID must be provided in the format of + /// "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", + /// "pickupInStore" is fulfillment type and "store123" is the store ID. + /// Supported keys are: * colorFamilies * price * originalPrice * discount * + /// attributes.key, where key is any key in the Product.attributes map. * + /// pickupInStore.id, where id is any FulfillmentInfo.place_ids for + /// FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any + /// FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". * + /// sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for + /// FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id + /// is any FulfillmentInfo.place_ids for FulfillmentInfo.type + /// "next-day-delivery". * customFulfillment1.id, where id is any + /// FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-1". * + /// customFulfillment2.id, where id is any FulfillmentInfo.place_ids for + /// FulfillmentInfo.type "custom-type-2". * customFulfillment3.id, where id is + /// any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-3". * + /// customFulfillment4.id, where id is any FulfillmentInfo.place_ids for + /// FulfillmentInfo.type "custom-type-4". * customFulfillment5.id, where id is + /// any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-5". If + /// this field is set to an invalid value other than these, an + /// INVALID_ARGUMENT error is returned. + core.List? variantRollupKeys; + + /// A unique identifier for tracking visitors. + /// + /// For example, this could be implemented with an HTTP cookie, which should + /// be able to uniquely identify a visitor on a single device. This unique + /// identifier should not change if the visitor logs in or out of the website. + /// The field must be a UTF-8 encoded string with a length limit of 128 + /// characters. Otherwise, an INVALID_ARGUMENT error is returned. + /// + /// Required. + core.String? visitorId; + + GoogleCloudRetailV2SearchRequest({ + this.boostSpec, + this.branch, + this.canonicalFilter, + this.dynamicFacetSpec, + this.facetSpecs, + this.filter, + this.offset, + this.orderBy, + this.pageCategories, + this.pageSize, + this.pageToken, + this.query, + this.queryExpansionSpec, + this.userInfo, + this.variantRollupKeys, + this.visitorId, + }); + + GoogleCloudRetailV2SearchRequest.fromJson(core.Map _json) + : this( + boostSpec: _json.containsKey('boostSpec') + ? GoogleCloudRetailV2SearchRequestBoostSpec.fromJson( + _json['boostSpec'] as core.Map) + : null, + branch: _json.containsKey('branch') + ? _json['branch'] as core.String + : null, + canonicalFilter: _json.containsKey('canonicalFilter') + ? _json['canonicalFilter'] as core.String + : null, + dynamicFacetSpec: _json.containsKey('dynamicFacetSpec') + ? GoogleCloudRetailV2SearchRequestDynamicFacetSpec.fromJson( + _json['dynamicFacetSpec'] + as core.Map) + : null, + facetSpecs: _json.containsKey('facetSpecs') + ? (_json['facetSpecs'] as core.List) + .map((value) => + GoogleCloudRetailV2SearchRequestFacetSpec.fromJson( + value as core.Map)) + .toList() + : null, + filter: _json.containsKey('filter') + ? _json['filter'] as core.String + : null, + offset: + _json.containsKey('offset') ? _json['offset'] as core.int : null, + orderBy: _json.containsKey('orderBy') + ? _json['orderBy'] as core.String + : null, + pageCategories: _json.containsKey('pageCategories') + ? (_json['pageCategories'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + pageSize: _json.containsKey('pageSize') + ? _json['pageSize'] as core.int + : null, + pageToken: _json.containsKey('pageToken') + ? _json['pageToken'] as core.String + : null, + query: + _json.containsKey('query') ? _json['query'] as core.String : null, + queryExpansionSpec: _json.containsKey('queryExpansionSpec') + ? GoogleCloudRetailV2SearchRequestQueryExpansionSpec.fromJson( + _json['queryExpansionSpec'] + as core.Map) + : null, + userInfo: _json.containsKey('userInfo') + ? GoogleCloudRetailV2UserInfo.fromJson( + _json['userInfo'] as core.Map) + : null, + variantRollupKeys: _json.containsKey('variantRollupKeys') + ? (_json['variantRollupKeys'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + visitorId: _json.containsKey('visitorId') + ? _json['visitorId'] as core.String + : null, + ); + + core.Map toJson() => { + if (boostSpec != null) 'boostSpec': boostSpec!.toJson(), + if (branch != null) 'branch': branch!, + if (canonicalFilter != null) 'canonicalFilter': canonicalFilter!, + if (dynamicFacetSpec != null) + 'dynamicFacetSpec': dynamicFacetSpec!.toJson(), + if (facetSpecs != null) + 'facetSpecs': facetSpecs!.map((value) => value.toJson()).toList(), + if (filter != null) 'filter': filter!, + if (offset != null) 'offset': offset!, + if (orderBy != null) 'orderBy': orderBy!, + if (pageCategories != null) 'pageCategories': pageCategories!, + if (pageSize != null) 'pageSize': pageSize!, + if (pageToken != null) 'pageToken': pageToken!, + if (query != null) 'query': query!, + if (queryExpansionSpec != null) + 'queryExpansionSpec': queryExpansionSpec!.toJson(), + if (userInfo != null) 'userInfo': userInfo!.toJson(), + if (variantRollupKeys != null) 'variantRollupKeys': variantRollupKeys!, + if (visitorId != null) 'visitorId': visitorId!, + }; +} + +/// Boost specification to boost certain items. +class GoogleCloudRetailV2SearchRequestBoostSpec { + /// Condition boost specifications. + /// + /// If a product matches multiple conditions in the specifictions, boost + /// scores from these specifications are all applied and combined in a + /// non-linear way. Maximum number of specifications is 10. + core.List? + conditionBoostSpecs; + + GoogleCloudRetailV2SearchRequestBoostSpec({ + this.conditionBoostSpecs, + }); + + GoogleCloudRetailV2SearchRequestBoostSpec.fromJson(core.Map _json) + : this( + conditionBoostSpecs: _json.containsKey('conditionBoostSpecs') + ? (_json['conditionBoostSpecs'] as core.List) + .map( + (value) => + GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (conditionBoostSpecs != null) + 'conditionBoostSpecs': + conditionBoostSpecs!.map((value) => value.toJson()).toList(), + }; +} + +/// Boost applies to products which match a condition. +class GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec { + /// Strength of the condition boost, which should be in \[-1, 1\]. + /// + /// Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the + /// item a big promotion. However, it does not necessarily mean that the + /// boosted item will be the top result at all times, nor that other items + /// will be excluded. Results could still be shown even when none of them + /// matches the condition. And results that are significantly more relevant to + /// the search query can still trump your heavily favored but irrelevant + /// items. Setting to -1.0 gives the item a big demotion. However, results + /// that are deeply relevant might still be shown. The item will have an + /// upstream battle to get a fairly high ranking, but it is not blocked out + /// completely. Setting to 0.0 means no boost applied. The boosting condition + /// is ignored. + core.double? boost; + + /// An expression which specifies a boost condition. + /// + /// The syntax and supported fields are the same as a filter expression. See + /// SearchRequest.filter for detail syntax and limitations. Examples: * To + /// boost products with product ID "product_1" or "product_2", and color "Red" + /// or "Blue": * (id: ANY("product_1", "product_2")) AND (colorFamilies: + /// ANY("Red","Blue")) + core.String? condition; + + GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec({ + this.boost, + this.condition, + }); + + GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.fromJson( + core.Map _json) + : this( + boost: _json.containsKey('boost') + ? (_json['boost'] as core.num).toDouble() + : null, + condition: _json.containsKey('condition') + ? _json['condition'] as core.String + : null, + ); + + core.Map toJson() => { + if (boost != null) 'boost': boost!, + if (condition != null) 'condition': condition!, + }; +} + +/// The specifications of dynamically generated facets. +class GoogleCloudRetailV2SearchRequestDynamicFacetSpec { + /// Mode of the DynamicFacet feature. + /// + /// Defaults to Mode.DISABLED if it's unset. + /// Possible string values are: + /// - "MODE_UNSPECIFIED" : Default value. + /// - "DISABLED" : Disable Dynamic Facet. + /// - "ENABLED" : Automatic mode built by Google Retail Search. + core.String? mode; + + GoogleCloudRetailV2SearchRequestDynamicFacetSpec({ + this.mode, + }); + + GoogleCloudRetailV2SearchRequestDynamicFacetSpec.fromJson(core.Map _json) + : this( + mode: _json.containsKey('mode') ? _json['mode'] as core.String : null, + ); + + core.Map toJson() => { + if (mode != null) 'mode': mode!, + }; +} + +/// A facet specification to perform faceted search. +class GoogleCloudRetailV2SearchRequestFacetSpec { + /// Enables dynamic position for this facet. + /// + /// If set to true, the position of this facet among all facets in the + /// response is determined by Google Retail Search. It will be ordered + /// together with dynamic facets if dynamic facets is enabled. If set to + /// false, the position of this facet in the response will be the same as in + /// the request, and it will be ranked before the facets with dynamic position + /// enable and all dynamic facets. For example, you may always want to have + /// rating facet returned in the response, but it's not necessarily to always + /// display the rating facet at the top. In that case, you can set + /// enable_dynamic_position to true so that the position of rating facet in + /// response will be determined by Google Retail Search. Another example, + /// assuming you have the following facets in the request: * "rating", + /// enable_dynamic_position = true * "price", enable_dynamic_position = false + /// * "brands", enable_dynamic_position = false And also you have a dynamic + /// facets enable, which will generate a facet 'gender'. Then the final order + /// of the facets in the response can be ("price", "brands", "rating", + /// "gender") or ("price", "brands", "gender", "rating") depends on how Google + /// Retail Search orders "gender" and "rating" facets. However, notice that + /// "price" and "brands" will always be ranked at 1st and 2nd position since + /// their enable_dynamic_position are false. + core.bool? enableDynamicPosition; + + /// List of keys to exclude when faceting. + /// + /// By default, FacetKey.key is not excluded from the filter unless it is + /// listed in this field. For example, suppose there are 100 products with + /// color facet "Red" and 200 products with color facet "Blue". A query + /// containing the filter "colorFamilies:ANY("Red")" and have "colorFamilies" + /// as FacetKey.key will by default return the "Red" with count 100. If this + /// field contains "colorFamilies", then the query returns both the "Red" with + /// count 100 and "Blue" with count 200, because the "colorFamilies" key is + /// now excluded from the filter. A maximum of 100 values are allowed. + /// Otherwise, an INVALID_ARGUMENT error is returned. + core.List? excludedFilterKeys; + + /// The facet key specification. + /// + /// Required. + GoogleCloudRetailV2SearchRequestFacetSpecFacetKey? facetKey; + + /// Maximum of facet values that should be returned for this facet. + /// + /// If unspecified, defaults to 20. The maximum allowed value is 300. Values + /// above 300 will be coerced to 300. If this field is negative, an + /// INVALID_ARGUMENT is returned. + core.int? limit; + + GoogleCloudRetailV2SearchRequestFacetSpec({ + this.enableDynamicPosition, + this.excludedFilterKeys, + this.facetKey, + this.limit, + }); + + GoogleCloudRetailV2SearchRequestFacetSpec.fromJson(core.Map _json) + : this( + enableDynamicPosition: _json.containsKey('enableDynamicPosition') + ? _json['enableDynamicPosition'] as core.bool + : null, + excludedFilterKeys: _json.containsKey('excludedFilterKeys') + ? (_json['excludedFilterKeys'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + facetKey: _json.containsKey('facetKey') + ? GoogleCloudRetailV2SearchRequestFacetSpecFacetKey.fromJson( + _json['facetKey'] as core.Map) + : null, + limit: _json.containsKey('limit') ? _json['limit'] as core.int : null, + ); + + core.Map toJson() => { + if (enableDynamicPosition != null) + 'enableDynamicPosition': enableDynamicPosition!, + if (excludedFilterKeys != null) + 'excludedFilterKeys': excludedFilterKeys!, + if (facetKey != null) 'facetKey': facetKey!.toJson(), + if (limit != null) 'limit': limit!, + }; +} + +/// Specifies how a facet is computed. +class GoogleCloudRetailV2SearchRequestFacetSpecFacetKey { + /// Only get facet values that contains the given strings. + /// + /// For example, suppose "categories" has three values "Women > Shoe", "Women + /// > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" + /// facet will give only "Women > Shoe" and "Men > Shoe". Only supported on + /// textual fields. Maximum is 10. + core.List? contains; + + /// Set only if values should be bucketized into intervals. + /// + /// Must be set for facets with numerical values. Must not be set for facet + /// with text values. Maximum number of intervals is 30. + core.List? intervals; + + /// Supported textual and numerical facet keys in Product object, over which + /// the facet values are computed. + /// + /// Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not + /// specified: * textual_field = * "brands" * "categories" * "genders" * + /// "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * + /// "materials" * "patterns" * "conditions" * "attributes.key" * + /// "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * + /// "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * + /// "customFulfillment4" * "customFulfillment5" * numerical_field = * "price" + /// * "discount" * "rating" * "ratingCount" * "attributes.key" + /// + /// Required. + core.String? key; + + /// The order in which Facet.values are returned. + /// + /// Allowed values are: * "count desc", which means order by + /// Facet.FacetValue.count descending. * "value desc", which means order by + /// Facet.FacetValue.value descending. Only applies to textual facets. If not + /// set, textual values are sorted in + /// [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); + /// numerical intervals are sorted in the order given by + /// FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the + /// order given by FacetSpec.FacetKey.restricted_values. + core.String? orderBy; + + /// Only get facet values that start with the given string prefix. + /// + /// For example, suppose "categories" has three values "Women > Shoe", "Women + /// > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" + /// facet will give only "Women > Shoe" and "Women > Dress". Only supported on + /// textual fields. Maximum is 10. + core.List? prefixes; + + /// The query that is used to compute facet for the given facet key. + /// + /// When provided, it will override the default behavior of facet computation. + /// The query syntax is the same as a filter expression. See + /// SearchRequest.filter for detail syntax and limitations. Notice that there + /// is no limitation on FacetKey.key when query is specified. In the response, + /// FacetValue.value will be always "1" and FacetValue.count will be the + /// number of results that matches the query. For example, you can set a + /// customized facet for "shipToStore", where FacetKey.key is + /// "customizedShipToStore", and FacetKey.query is "availability: + /// ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet will + /// count the products that are both in stock and ship to store "123". + core.String? query; + + /// Only get facet for the given restricted values. + /// + /// For example, when using "pickupInStore" as key and set restricted values + /// to \["store123", "store456"\], only facets for "store123" and "store456" + /// are returned. Only supported on textual fields and fulfillments. Maximum + /// is 20. Must be set for the fulfillment facet keys: * pickupInStore * + /// shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * + /// customFulfillment2 * customFulfillment3 * customFulfillment4 * + /// customFulfillment5 + core.List? restrictedValues; + + GoogleCloudRetailV2SearchRequestFacetSpecFacetKey({ + this.contains, + this.intervals, + this.key, + this.orderBy, + this.prefixes, + this.query, + this.restrictedValues, + }); + + GoogleCloudRetailV2SearchRequestFacetSpecFacetKey.fromJson(core.Map _json) + : this( + contains: _json.containsKey('contains') + ? (_json['contains'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + intervals: _json.containsKey('intervals') + ? (_json['intervals'] as core.List) + .map((value) => + GoogleCloudRetailV2Interval.fromJson( + value as core.Map)) + .toList() + : null, + key: _json.containsKey('key') ? _json['key'] as core.String : null, + orderBy: _json.containsKey('orderBy') + ? _json['orderBy'] as core.String + : null, + prefixes: _json.containsKey('prefixes') + ? (_json['prefixes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + query: + _json.containsKey('query') ? _json['query'] as core.String : null, + restrictedValues: _json.containsKey('restrictedValues') + ? (_json['restrictedValues'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (contains != null) 'contains': contains!, + if (intervals != null) + 'intervals': intervals!.map((value) => value.toJson()).toList(), + if (key != null) 'key': key!, + if (orderBy != null) 'orderBy': orderBy!, + if (prefixes != null) 'prefixes': prefixes!, + if (query != null) 'query': query!, + if (restrictedValues != null) 'restrictedValues': restrictedValues!, + }; +} + +/// Specification to determine under which conditions query expansion should +/// occur. +class GoogleCloudRetailV2SearchRequestQueryExpansionSpec { + /// The condition under which query expansion should occur. + /// + /// Default to Condition.DISABLED. + /// Possible string values are: + /// - "CONDITION_UNSPECIFIED" : Unspecified query expansion condition. This + /// defaults to Condition.DISABLED. + /// - "DISABLED" : Disabled query expansion. Only the exact search query is + /// used, even if SearchResponse.total_size is zero. + /// - "AUTO" : Automatic query expansion built by Google Retail Search. + core.String? condition; + + /// Whether to pin unexpanded results. + /// + /// If this field is set to true, unexpanded products are always at the top of + /// the search results, followed by the expanded results. + core.bool? pinUnexpandedResults; + + GoogleCloudRetailV2SearchRequestQueryExpansionSpec({ + this.condition, + this.pinUnexpandedResults, + }); + + GoogleCloudRetailV2SearchRequestQueryExpansionSpec.fromJson(core.Map _json) + : this( + condition: _json.containsKey('condition') + ? _json['condition'] as core.String + : null, + pinUnexpandedResults: _json.containsKey('pinUnexpandedResults') + ? _json['pinUnexpandedResults'] as core.bool + : null, + ); + + core.Map toJson() => { + if (condition != null) 'condition': condition!, + if (pinUnexpandedResults != null) + 'pinUnexpandedResults': pinUnexpandedResults!, + }; +} + +/// Response message for SearchService.Search method. +class GoogleCloudRetailV2SearchResponse { + /// A unique search token. + /// + /// This should be included in the UserEvent logs resulting from this search, + /// which enables accurate attribution of search model performance. + core.String? attributionToken; + + /// If spell correction applies, the corrected query. + /// + /// Otherwise, empty. + core.String? correctedQuery; + + /// Results of facets requested by user. + core.List? facets; + + /// A token that can be sent as SearchRequest.page_token to retrieve the next + /// page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// Query expansion information for the returned results. + GoogleCloudRetailV2SearchResponseQueryExpansionInfo? queryExpansionInfo; + + /// The URI of a customer-defined redirect page. + /// + /// If redirect action is triggered, no search will be performed, and only + /// redirect_uri and attribution_token will be set in the response. + core.String? redirectUri; + + /// A list of matched items. + /// + /// The order represents the ranking. + core.List? results; + + /// The estimated total count of matched items irrespective of pagination. + /// + /// The count of results returned by pagination may be less than the + /// total_size that matches. + core.int? totalSize; + + GoogleCloudRetailV2SearchResponse({ + this.attributionToken, + this.correctedQuery, + this.facets, + this.nextPageToken, + this.queryExpansionInfo, + this.redirectUri, + this.results, + this.totalSize, + }); + + GoogleCloudRetailV2SearchResponse.fromJson(core.Map _json) + : this( + attributionToken: _json.containsKey('attributionToken') + ? _json['attributionToken'] as core.String + : null, + correctedQuery: _json.containsKey('correctedQuery') + ? _json['correctedQuery'] as core.String + : null, + facets: _json.containsKey('facets') + ? (_json['facets'] as core.List) + .map((value) => + GoogleCloudRetailV2SearchResponseFacet.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + queryExpansionInfo: _json.containsKey('queryExpansionInfo') + ? GoogleCloudRetailV2SearchResponseQueryExpansionInfo.fromJson( + _json['queryExpansionInfo'] + as core.Map) + : null, + redirectUri: _json.containsKey('redirectUri') + ? _json['redirectUri'] as core.String + : null, + results: _json.containsKey('results') + ? (_json['results'] as core.List) + .map((value) => + GoogleCloudRetailV2SearchResponseSearchResult.fromJson( + value as core.Map)) + .toList() + : null, + totalSize: _json.containsKey('totalSize') + ? _json['totalSize'] as core.int + : null, + ); + + core.Map toJson() => { + if (attributionToken != null) 'attributionToken': attributionToken!, + if (correctedQuery != null) 'correctedQuery': correctedQuery!, + if (facets != null) + 'facets': facets!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (queryExpansionInfo != null) + 'queryExpansionInfo': queryExpansionInfo!.toJson(), + if (redirectUri != null) 'redirectUri': redirectUri!, + if (results != null) + 'results': results!.map((value) => value.toJson()).toList(), + if (totalSize != null) 'totalSize': totalSize!, + }; +} + +/// A facet result. +class GoogleCloudRetailV2SearchResponseFacet { + /// Whether the facet is dynamically generated. + core.bool? dynamicFacet; + + /// The key for this facet. + /// + /// E.g., "colorFamilies" or "price" or "attributes.attr1". + core.String? key; + + /// The facet values for this field. + core.List? values; + + GoogleCloudRetailV2SearchResponseFacet({ + this.dynamicFacet, + this.key, + this.values, + }); + + GoogleCloudRetailV2SearchResponseFacet.fromJson(core.Map _json) + : this( + dynamicFacet: _json.containsKey('dynamicFacet') + ? _json['dynamicFacet'] as core.bool + : null, + key: _json.containsKey('key') ? _json['key'] as core.String : null, + values: _json.containsKey('values') + ? (_json['values'] as core.List) + .map( + (value) => + GoogleCloudRetailV2SearchResponseFacetFacetValue + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (dynamicFacet != null) 'dynamicFacet': dynamicFacet!, + if (key != null) 'key': key!, + if (values != null) + 'values': values!.map((value) => value.toJson()).toList(), + }; +} + +/// A facet value which contains value names and their count. +class GoogleCloudRetailV2SearchResponseFacetFacetValue { + /// Number of items that have this facet value. + core.String? count; + + /// Interval value for a facet, such as \[10, 20) for facet "price". + GoogleCloudRetailV2Interval? interval; + + /// Text value of a facet, such as "Black" for facet "colorFamilies". + core.String? value; + + GoogleCloudRetailV2SearchResponseFacetFacetValue({ + this.count, + this.interval, + this.value, + }); + + GoogleCloudRetailV2SearchResponseFacetFacetValue.fromJson(core.Map _json) + : this( + count: + _json.containsKey('count') ? _json['count'] as core.String : null, + interval: _json.containsKey('interval') + ? GoogleCloudRetailV2Interval.fromJson( + _json['interval'] as core.Map) + : null, + value: + _json.containsKey('value') ? _json['value'] as core.String : null, + ); + + core.Map toJson() => { + if (count != null) 'count': count!, + if (interval != null) 'interval': interval!.toJson(), + if (value != null) 'value': value!, + }; +} + +/// Information describing query expansion including whether expansion has +/// occurred. +class GoogleCloudRetailV2SearchResponseQueryExpansionInfo { + /// Bool describing whether query expansion has occurred. + core.bool? expandedQuery; + + /// Number of pinned results. + /// + /// This field will only be set when expansion happens and + /// SearchRequest.query_expansion_spec.pin_unexpanded_results is set to true. + core.String? pinnedResultCount; + + GoogleCloudRetailV2SearchResponseQueryExpansionInfo({ + this.expandedQuery, + this.pinnedResultCount, + }); + + GoogleCloudRetailV2SearchResponseQueryExpansionInfo.fromJson(core.Map _json) + : this( + expandedQuery: _json.containsKey('expandedQuery') + ? _json['expandedQuery'] as core.bool + : null, + pinnedResultCount: _json.containsKey('pinnedResultCount') + ? _json['pinnedResultCount'] as core.String + : null, + ); + + core.Map toJson() => { + if (expandedQuery != null) 'expandedQuery': expandedQuery!, + if (pinnedResultCount != null) 'pinnedResultCount': pinnedResultCount!, + }; +} + +/// Represents the search results. +class GoogleCloudRetailV2SearchResponseSearchResult { + /// Product.id of the searched Product. + core.String? id; + + /// The count of matched variant Products. + core.int? matchingVariantCount; + + /// If a variant Product matches the search query, this map indicates which + /// Product fields are matched. + /// + /// The key is the Product.name, the value is a field mask of the matched + /// Product fields. If matched attributes cannot be determined, this map will + /// be empty. For example, a key "sku1" with field mask "products.color_info" + /// indicates there is a match between "sku1" ColorInfo and the query. + core.Map? matchingVariantFields; + + /// The product data snippet in the search response. + /// + /// Only Product.name is guaranteed to be populated. Product.variants contains + /// the product variants that match the search query. If there are multiple + /// product variants matching the query, top 5 most relevant product variants + /// are returned and ordered by relevancy. If relevancy can be deternmined, + /// use matching_variant_fields to look up matched product variants fields. If + /// relevancy cannot be determined, e.g. when searching "shoe" all products in + /// a shoe product can be a match, 5 product variants are returned but order + /// is meaningless. + GoogleCloudRetailV2Product? product; + + /// The rollup matching variant Product attributes. + /// + /// The key is one of the SearchRequest.variant_rollup_keys. The values are + /// the merged and de-duplicated Product attributes. Notice that the rollup + /// values are respect filter. For example, when filtering by + /// "colorFamilies:ANY(\"red\")" and rollup "colorFamilies", only "red" is + /// returned. For textual and numerical attributes, the rollup values is a + /// list of string or double values with type google.protobuf.ListValue. For + /// example, if there are two variants with colors "red" and "blue", the + /// rollup values are { key: "colorFamilies" value { list_value { values { + /// string_value: "red" } values { string_value: "blue" } } } } For + /// FulfillmentInfo, the rollup values is a double value with type + /// google.protobuf.Value. For example, `{key: "pickupInStore.store1" value { + /// number_value: 10 }}` means a there are 10 variants in this product are + /// available in the store "store1". + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? variantRollupValues; + + GoogleCloudRetailV2SearchResponseSearchResult({ + this.id, + this.matchingVariantCount, + this.matchingVariantFields, + this.product, + this.variantRollupValues, + }); + + GoogleCloudRetailV2SearchResponseSearchResult.fromJson(core.Map _json) + : this( + id: _json.containsKey('id') ? _json['id'] as core.String : null, + matchingVariantCount: _json.containsKey('matchingVariantCount') + ? _json['matchingVariantCount'] as core.int + : null, + matchingVariantFields: _json.containsKey('matchingVariantFields') + ? (_json['matchingVariantFields'] + as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + product: _json.containsKey('product') + ? GoogleCloudRetailV2Product.fromJson( + _json['product'] as core.Map) + : null, + variantRollupValues: _json.containsKey('variantRollupValues') + ? (_json['variantRollupValues'] + as core.Map) + .map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + ) + : null, + ); + + core.Map toJson() => { + if (id != null) 'id': id!, + if (matchingVariantCount != null) + 'matchingVariantCount': matchingVariantCount!, + if (matchingVariantFields != null) + 'matchingVariantFields': matchingVariantFields!, + if (product != null) 'product': product!.toJson(), + if (variantRollupValues != null) + 'variantRollupValues': variantRollupValues!, + }; +} + +/// Request message to set a specified branch as new default_branch. +class GoogleCloudRetailV2SetDefaultBranchRequest { + /// The final component of the resource name of a branch. + /// + /// This field must be one of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT + /// error is returned. + core.String? branchId; + + /// Some note on this request, this can be retrieved by + /// CatalogService.GetDefaultBranch before next valid default branch set + /// occurs. + /// + /// This field must be a UTF-8 encoded string with a length limit of 1,000 + /// characters. Otherwise, an INVALID_ARGUMENT error is returned. + core.String? note; + + GoogleCloudRetailV2SetDefaultBranchRequest({ + this.branchId, + this.note, }); - GoogleCloudRetailV2PurgeUserEventsResponse.fromJson(core.Map _json) + GoogleCloudRetailV2SetDefaultBranchRequest.fromJson(core.Map _json) : this( - purgedEventsCount: _json.containsKey('purgedEventsCount') - ? _json['purgedEventsCount'] as core.String + branchId: _json.containsKey('branchId') + ? _json['branchId'] as core.String : null, + note: _json.containsKey('note') ? _json['note'] as core.String : null, ); core.Map toJson() => { - if (purgedEventsCount != null) 'purgedEventsCount': purgedEventsCount!, + if (branchId != null) 'branchId': branchId!, + if (note != null) 'note': note!, }; } -/// Metadata for RejoinUserEvents method. -class GoogleCloudRetailV2RejoinUserEventsMetadata { - GoogleCloudRetailV2RejoinUserEventsMetadata(); +/// Metadata related to the progress of the SetInventory operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// SetInventory method. +class GoogleCloudRetailV2SetInventoryMetadata { + GoogleCloudRetailV2SetInventoryMetadata(); - GoogleCloudRetailV2RejoinUserEventsMetadata.fromJson( + GoogleCloudRetailV2SetInventoryMetadata.fromJson( // ignore: avoid_unused_constructor_parameters core.Map _json); core.Map toJson() => {}; } -/// Request message for RejoinUserEvents method. -class GoogleCloudRetailV2RejoinUserEventsRequest { - /// The type of the user event rejoin to define the scope and range of the - /// user events to be rejoined with the latest product catalog. +/// Request message for SetInventory method. +class GoogleCloudRetailV2SetInventoryRequest { + /// If set to true, and the Product with name Product.name is not found, the + /// inventory update will still be processed and retained for at most 1 day + /// until the Product is created. + /// + /// If set to false, an INVALID_ARGUMENT error is returned if the Product is + /// not found. + core.bool? allowMissing; + + /// The inventory information to update. + /// + /// The allowable fields to update are: * Product.price_info * + /// Product.availability * Product.available_quantity * + /// Product.fulfillment_info The updated inventory fields must be specified in + /// SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is + /// empty or invalid, an INVALID_ARGUMENT error is returned. If the caller + /// does not have permission to update the Product named in Product.name, + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. If the Product to update does not have existing inventory + /// information, the provided inventory information will be inserted. If the + /// Product to update has existing inventory information, the provided + /// inventory information will be merged while respecting the last update time + /// for each inventory field, using the provided or default value for + /// SetInventoryRequest.set_time. The last update time is recorded for the + /// following inventory fields: * Product.price_info * Product.availability * + /// Product.available_quantity * Product.fulfillment_info If a full overwrite + /// of inventory information while ignoring timestamps is needed, + /// UpdateProduct should be invoked instead. /// - /// Defaults to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, - /// or set to an invalid integer value. - /// Possible string values are: - /// - "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED" : Rejoin all events with the - /// latest product catalog, including both joined events and unjoined events. - /// - "JOINED_EVENTS" : Only rejoin joined events with the latest product - /// catalog. - /// - "UNJOINED_EVENTS" : Only rejoin unjoined events with the latest product - /// catalog. - core.String? userEventRejoinScope; + /// Required. + GoogleCloudRetailV2Product? inventory; - GoogleCloudRetailV2RejoinUserEventsRequest({ - this.userEventRejoinScope, + /// Indicates which inventory fields in the provided Product to update. + /// + /// If not set or set with empty paths, all inventory fields will be updated. + /// If an unsupported or unknown field is provided, an INVALID_ARGUMENT error + /// is returned and the entire update will be ignored. + core.String? setMask; + + /// The time when the request is issued, used to prevent out-of-order updates + /// on inventory fields with the last update time recorded. + /// + /// If not provided, the internal system time will be used. + core.String? setTime; + + GoogleCloudRetailV2SetInventoryRequest({ + this.allowMissing, + this.inventory, + this.setMask, + this.setTime, }); - GoogleCloudRetailV2RejoinUserEventsRequest.fromJson(core.Map _json) + GoogleCloudRetailV2SetInventoryRequest.fromJson(core.Map _json) : this( - userEventRejoinScope: _json.containsKey('userEventRejoinScope') - ? _json['userEventRejoinScope'] as core.String + allowMissing: _json.containsKey('allowMissing') + ? _json['allowMissing'] as core.bool + : null, + inventory: _json.containsKey('inventory') + ? GoogleCloudRetailV2Product.fromJson( + _json['inventory'] as core.Map) + : null, + setMask: _json.containsKey('setMask') + ? _json['setMask'] as core.String + : null, + setTime: _json.containsKey('setTime') + ? _json['setTime'] as core.String : null, ); core.Map toJson() => { - if (userEventRejoinScope != null) - 'userEventRejoinScope': userEventRejoinScope!, + if (allowMissing != null) 'allowMissing': allowMissing!, + if (inventory != null) 'inventory': inventory!.toJson(), + if (setMask != null) 'setMask': setMask!, + if (setTime != null) 'setTime': setTime!, }; } -/// Response message for RejoinUserEvents method. -class GoogleCloudRetailV2RejoinUserEventsResponse { - /// Number of user events that were joined with latest product catalog. - core.String? rejoinedUserEventsCount; - - GoogleCloudRetailV2RejoinUserEventsResponse({ - this.rejoinedUserEventsCount, - }); +/// Response of the SetInventoryRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// SetInventory method. +class GoogleCloudRetailV2SetInventoryResponse { + GoogleCloudRetailV2SetInventoryResponse(); - GoogleCloudRetailV2RejoinUserEventsResponse.fromJson(core.Map _json) - : this( - rejoinedUserEventsCount: _json.containsKey('rejoinedUserEventsCount') - ? _json['rejoinedUserEventsCount'] as core.String - : null, - ); + GoogleCloudRetailV2SetInventoryResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); - core.Map toJson() => { - if (rejoinedUserEventsCount != null) - 'rejoinedUserEventsCount': rejoinedUserEventsCount!, - }; + core.Map toJson() => {}; } /// UserEvent captures all metadata information Retail API needs to know about @@ -2896,13 +5831,15 @@ class GoogleCloudRetailV2UserEvent { /// /// This field enables accurate attribution of recommendation model /// performance. The value must be a valid PredictResponse.attribution_token - /// for user events that are the result of PredictionService.Predict. This - /// token enables us to accurately attribute page view or purchase back to the - /// event and the particular predict response containing this - /// clicked/purchased product. If user clicks on product K in the - /// recommendation results, pass PredictResponse.attribution_token as a URL - /// parameter to product K's page. When recording events on product K's page, - /// log the PredictResponse.attribution_token to this field. + /// for user events that are the result of PredictionService.Predict. The + /// value must be a valid SearchResponse.attribution_token for user events + /// that are the result of SearchService.Search. This token enables us to + /// accurately attribute page view or purchase back to the event and the + /// particular predict response containing this clicked/purchased product. If + /// user clicks on product K in the recommendation results, pass + /// PredictResponse.attribution_token as a URL parameter to product K's page. + /// When recording events on product K's page, log the + /// PredictResponse.attribution_token to this field. core.String? attributionToken; /// The id or name of the associated shopping cart. @@ -2912,6 +5849,13 @@ class GoogleCloudRetailV2UserEvent { /// `purchase-complete`, or `shopping-cart-page-view` events. core.String? cartId; + /// The main completion details related to the event. + /// + /// In a `completion` event, this field represents the completions returned to + /// the end user and the clicked completion by the end user. In a `search` + /// event, it represents the search event happens after clicking completion. + GoogleCloudRetailV2CompletionDetail? completionDetail; + /// Only required for UserEventService.ImportUserEvents method. /// /// Timestamp of when the user event happened. @@ -2939,6 +5883,32 @@ class GoogleCloudRetailV2UserEvent { /// models). core.List? experimentIds; + /// The filter syntax consists of an expression language for constructing a + /// predicate from one or more fields of the products being filtered. + /// + /// See SearchRequest.filter for definition and syntax. The value must be a + /// UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, + /// an INVALID_ARGUMENT error is returned. + core.String? filter; + + /// An integer that specifies the current offset for pagination (the 0-indexed + /// starting location, amongst the products deemed by the API as relevant). + /// + /// See SearchRequest.offset for definition. If this field is negative, an + /// INVALID_ARGUMENT is returned. This can only be set for `search` events. + /// Other event types should not set this field. Otherwise, an + /// INVALID_ARGUMENT error is returned. + core.int? offset; + + /// The order in which products are returned. + /// + /// See SearchRequest.order_by for definition and syntax. The value must be a + /// UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, + /// an INVALID_ARGUMENT error is returned. This can only be set for `search` + /// events. Other event types should not set this field. Otherwise, an + /// INVALID_ARGUMENT error is returned. + core.String? orderBy; + /// The categories associated with a category page. /// /// To represent full path of category, use '>' sign to separate different @@ -2986,13 +5956,22 @@ class GoogleCloudRetailV2UserEvent { /// The user's search query. /// - /// The value must be a UTF-8 encoded string with a length limit of 5,000 - /// characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one - /// of search_query or page_categories is required for `search` events. Other - /// event types should not set this field. Otherwise, an INVALID_ARGUMENT - /// error is returned. + /// See SearchRequest.query for definition. The value must be a UTF-8 encoded + /// string with a length limit of 5,000 characters. Otherwise, an + /// INVALID_ARGUMENT error is returned. At least one of search_query or + /// page_categories is required for `search` events. Other event types should + /// not set this field. Otherwise, an INVALID_ARGUMENT error is returned. core.String? searchQuery; + /// A unique identifier for tracking a visitor session with a length limit of + /// 128 bytes. + /// + /// A session is an aggregation of an end user behavior in a time span. A + /// general guideline to populate the sesion_id: 1. If user has no activity + /// for 30 min, a new session_id should be assigned. 2. The session_id should + /// be unique across users, suggest use uuid or add visitor_id as prefix. + core.String? sessionId; + /// Complete URL (window.location.href) of the user's current page. /// /// When using the client side event reporting with JavaScript pixel and @@ -3021,15 +6000,20 @@ class GoogleCloudRetailV2UserEvent { this.attributes, this.attributionToken, this.cartId, + this.completionDetail, this.eventTime, this.eventType, this.experimentIds, + this.filter, + this.offset, + this.orderBy, this.pageCategories, this.pageViewId, this.productDetails, this.purchaseTransaction, this.referrerUri, this.searchQuery, + this.sessionId, this.uri, this.userInfo, this.visitorId, @@ -3053,6 +6037,11 @@ class GoogleCloudRetailV2UserEvent { cartId: _json.containsKey('cartId') ? _json['cartId'] as core.String : null, + completionDetail: _json.containsKey('completionDetail') + ? GoogleCloudRetailV2CompletionDetail.fromJson( + _json['completionDetail'] + as core.Map) + : null, eventTime: _json.containsKey('eventTime') ? _json['eventTime'] as core.String : null, @@ -3064,6 +6053,14 @@ class GoogleCloudRetailV2UserEvent { .map((value) => value as core.String) .toList() : null, + filter: _json.containsKey('filter') + ? _json['filter'] as core.String + : null, + offset: + _json.containsKey('offset') ? _json['offset'] as core.int : null, + orderBy: _json.containsKey('orderBy') + ? _json['orderBy'] as core.String + : null, pageCategories: _json.containsKey('pageCategories') ? (_json['pageCategories'] as core.List) .map((value) => value as core.String) @@ -3090,6 +6087,9 @@ class GoogleCloudRetailV2UserEvent { searchQuery: _json.containsKey('searchQuery') ? _json['searchQuery'] as core.String : null, + sessionId: _json.containsKey('sessionId') + ? _json['sessionId'] as core.String + : null, uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, userInfo: _json.containsKey('userInfo') ? GoogleCloudRetailV2UserInfo.fromJson( @@ -3106,9 +6106,14 @@ class GoogleCloudRetailV2UserEvent { attributes!.map((key, item) => core.MapEntry(key, item.toJson())), if (attributionToken != null) 'attributionToken': attributionToken!, if (cartId != null) 'cartId': cartId!, + if (completionDetail != null) + 'completionDetail': completionDetail!.toJson(), if (eventTime != null) 'eventTime': eventTime!, if (eventType != null) 'eventType': eventType!, if (experimentIds != null) 'experimentIds': experimentIds!, + if (filter != null) 'filter': filter!, + if (offset != null) 'offset': offset!, + if (orderBy != null) 'orderBy': orderBy!, if (pageCategories != null) 'pageCategories': pageCategories!, if (pageViewId != null) 'pageViewId': pageViewId!, if (productDetails != null) @@ -3118,6 +6123,7 @@ class GoogleCloudRetailV2UserEvent { 'purchaseTransaction': purchaseTransaction!.toJson(), if (referrerUri != null) 'referrerUri': referrerUri!, if (searchQuery != null) 'searchQuery': searchQuery!, + if (sessionId != null) 'sessionId': sessionId!, if (uri != null) 'uri': uri!, if (userInfo != null) 'userInfo': userInfo!.toJson(), if (visitorId != null) 'visitorId': visitorId!, @@ -3249,7 +6255,7 @@ class GoogleCloudRetailV2UserInfo { /// The end user's IP address. /// - /// Required for getting SearchRespons.sponsored_results. This field is used + /// Required for getting SearchResponse.sponsored_results. This field is used /// to extract location information for personalization. This field must be /// either an IPv4 address (e.g. "104.133.9.80") or an IPv6 address (e.g. /// "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an INVALID_ARGUMENT @@ -3259,7 +6265,7 @@ class GoogleCloudRetailV2UserInfo { /// User agent as included in the HTTP header. /// - /// Required for getting SearchRespons.sponsored_results. The field must be a + /// Required for getting SearchResponse.sponsored_results. The field must be a /// UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, /// an INVALID_ARGUMENT error is returned. This should not be set when using /// the client side event reporting with GTM or JavaScript tag in @@ -3304,6 +6310,34 @@ class GoogleCloudRetailV2UserInfo { }; } +/// Metadata related to the progress of the AddFulfillmentPlaces operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// AddFulfillmentPlaces method. +class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata { + GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata(); + + GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response of the RemoveFulfillmentPlacesRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// AddFulfillmentPlaces method. +class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse { + GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse(); + + GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Configuration of destination for Export related errors. class GoogleCloudRetailV2alphaExportErrorsConfig { /// Google Cloud Storage path for import errors. @@ -3439,6 +6473,34 @@ class GoogleCloudRetailV2alphaExportUserEventsResponse { }; } +/// Response of the ImportCompletionDataRequest. +/// +/// If the long running operation is done, this message is returned by the +/// google.longrunning.Operations.response field if the operation is successful. +class GoogleCloudRetailV2alphaImportCompletionDataResponse { + /// A sample of errors encountered while processing the request. + core.List? errorSamples; + + GoogleCloudRetailV2alphaImportCompletionDataResponse({ + this.errorSamples, + }); + + GoogleCloudRetailV2alphaImportCompletionDataResponse.fromJson(core.Map _json) + : this( + errorSamples: _json.containsKey('errorSamples') + ? (_json['errorSamples'] as core.List) + .map((value) => GoogleRpcStatus.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (errorSamples != null) + 'errorSamples': errorSamples!.map((value) => value.toJson()).toList(), + }; +} + /// Configuration of destination for Import related errors. class GoogleCloudRetailV2alphaImportErrorsConfig { /// Google Cloud Storage path for import errors. @@ -3474,6 +6536,19 @@ class GoogleCloudRetailV2alphaImportMetadata { /// Count of entries that encountered errors while processing. core.String? failureCount; + /// Pub/Sub topic for receiving notification. + /// + /// If this field is set, when the import is finished, a notification will be + /// sent to specified Pub/Sub topic. The message data will be JSON string of a + /// Operation. Format of the Pub/Sub topic is + /// `projects/{project}/topics/{topic}`. + core.String? notificationPubsubTopic; + + /// Id of the request / operation. + /// + /// This is parroting back the requestId that was passed in the request. + core.String? requestId; + /// Count of entries that were processed successfully. core.String? successCount; @@ -3485,6 +6560,8 @@ class GoogleCloudRetailV2alphaImportMetadata { GoogleCloudRetailV2alphaImportMetadata({ this.createTime, this.failureCount, + this.notificationPubsubTopic, + this.requestId, this.successCount, this.updateTime, }); @@ -3497,6 +6574,12 @@ class GoogleCloudRetailV2alphaImportMetadata { failureCount: _json.containsKey('failureCount') ? _json['failureCount'] as core.String : null, + notificationPubsubTopic: _json.containsKey('notificationPubsubTopic') + ? _json['notificationPubsubTopic'] as core.String + : null, + requestId: _json.containsKey('requestId') + ? _json['requestId'] as core.String + : null, successCount: _json.containsKey('successCount') ? _json['successCount'] as core.String : null, @@ -3508,6 +6591,9 @@ class GoogleCloudRetailV2alphaImportMetadata { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, if (failureCount != null) 'failureCount': failureCount!, + if (notificationPubsubTopic != null) + 'notificationPubsubTopic': notificationPubsubTopic!, + if (requestId != null) 'requestId': requestId!, if (successCount != null) 'successCount': successCount!, if (updateTime != null) 'updateTime': updateTime!, }; @@ -3669,6 +6755,62 @@ class GoogleCloudRetailV2alphaRejoinUserEventsResponse { }; } +/// Metadata related to the progress of the RemoveFulfillmentPlaces operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata { + GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata(); + + GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response of the RemoveFulfillmentPlacesRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse { + GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse(); + + GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata related to the progress of the SetInventory operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// SetInventory method. +class GoogleCloudRetailV2alphaSetInventoryMetadata { + GoogleCloudRetailV2alphaSetInventoryMetadata(); + + GoogleCloudRetailV2alphaSetInventoryMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response of the SetInventoryRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// SetInventory method. +class GoogleCloudRetailV2alphaSetInventoryResponse { + GoogleCloudRetailV2alphaSetInventoryResponse(); + + GoogleCloudRetailV2alphaSetInventoryResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// A summary of import result. /// /// The UserEventImportSummary summarizes the import status for user events. @@ -3702,6 +6844,34 @@ class GoogleCloudRetailV2alphaUserEventImportSummary { }; } +/// Metadata related to the progress of the AddFulfillmentPlaces operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// AddFulfillmentPlaces method. +class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata { + GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata(); + + GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response of the RemoveFulfillmentPlacesRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// AddFulfillmentPlaces method. +class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse { + GoogleCloudRetailV2betaAddFulfillmentPlacesResponse(); + + GoogleCloudRetailV2betaAddFulfillmentPlacesResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// Configuration of destination for Export related errors. class GoogleCloudRetailV2betaExportErrorsConfig { /// Google Cloud Storage path for import errors. @@ -3837,6 +7007,34 @@ class GoogleCloudRetailV2betaExportUserEventsResponse { }; } +/// Response of the ImportCompletionDataRequest. +/// +/// If the long running operation is done, this message is returned by the +/// google.longrunning.Operations.response field if the operation is successful. +class GoogleCloudRetailV2betaImportCompletionDataResponse { + /// A sample of errors encountered while processing the request. + core.List? errorSamples; + + GoogleCloudRetailV2betaImportCompletionDataResponse({ + this.errorSamples, + }); + + GoogleCloudRetailV2betaImportCompletionDataResponse.fromJson(core.Map _json) + : this( + errorSamples: _json.containsKey('errorSamples') + ? (_json['errorSamples'] as core.List) + .map((value) => GoogleRpcStatus.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (errorSamples != null) + 'errorSamples': errorSamples!.map((value) => value.toJson()).toList(), + }; +} + /// Configuration of destination for Import related errors. class GoogleCloudRetailV2betaImportErrorsConfig { /// Google Cloud Storage path for import errors. @@ -3872,6 +7070,19 @@ class GoogleCloudRetailV2betaImportMetadata { /// Count of entries that encountered errors while processing. core.String? failureCount; + /// Pub/Sub topic for receiving notification. + /// + /// If this field is set, when the import is finished, a notification will be + /// sent to specified Pub/Sub topic. The message data will be JSON string of a + /// Operation. Format of the Pub/Sub topic is + /// `projects/{project}/topics/{topic}`. + core.String? notificationPubsubTopic; + + /// Id of the request / operation. + /// + /// This is parroting back the requestId that was passed in the request. + core.String? requestId; + /// Count of entries that were processed successfully. core.String? successCount; @@ -3883,6 +7094,8 @@ class GoogleCloudRetailV2betaImportMetadata { GoogleCloudRetailV2betaImportMetadata({ this.createTime, this.failureCount, + this.notificationPubsubTopic, + this.requestId, this.successCount, this.updateTime, }); @@ -3895,6 +7108,12 @@ class GoogleCloudRetailV2betaImportMetadata { failureCount: _json.containsKey('failureCount') ? _json['failureCount'] as core.String : null, + notificationPubsubTopic: _json.containsKey('notificationPubsubTopic') + ? _json['notificationPubsubTopic'] as core.String + : null, + requestId: _json.containsKey('requestId') + ? _json['requestId'] as core.String + : null, successCount: _json.containsKey('successCount') ? _json['successCount'] as core.String : null, @@ -3906,6 +7125,9 @@ class GoogleCloudRetailV2betaImportMetadata { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, if (failureCount != null) 'failureCount': failureCount!, + if (notificationPubsubTopic != null) + 'notificationPubsubTopic': notificationPubsubTopic!, + if (requestId != null) 'requestId': requestId!, if (successCount != null) 'successCount': successCount!, if (updateTime != null) 'updateTime': updateTime!, }; @@ -4067,6 +7289,62 @@ class GoogleCloudRetailV2betaRejoinUserEventsResponse { }; } +/// Metadata related to the progress of the RemoveFulfillmentPlaces operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata { + GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata(); + + GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response of the RemoveFulfillmentPlacesRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// RemoveFulfillmentPlaces method. +class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse { + GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse(); + + GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Metadata related to the progress of the SetInventory operation. +/// +/// Currently empty because there is no meaningful metadata populated from the +/// SetInventory method. +class GoogleCloudRetailV2betaSetInventoryMetadata { + GoogleCloudRetailV2betaSetInventoryMetadata(); + + GoogleCloudRetailV2betaSetInventoryMetadata.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// Response of the SetInventoryRequest. +/// +/// Currently empty because there is no meaningful response populated from the +/// SetInventory method. +class GoogleCloudRetailV2betaSetInventoryResponse { + GoogleCloudRetailV2betaSetInventoryResponse(); + + GoogleCloudRetailV2betaSetInventoryResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// A summary of import result. /// /// The UserEventImportSummary summarizes the import status for user events. @@ -4293,3 +7571,49 @@ class GoogleRpcStatus { if (message != null) 'message': message!, }; } + +/// Represents a whole or partial calendar date, such as a birthday. +/// +/// The time of day and time zone are either specified elsewhere or are +/// insignificant. The date is relative to the Gregorian Calendar. This can +/// represent one of the following: * A full date, with non-zero year, month, +/// and day values * A month and day value, with a zero year, such as an +/// anniversary * A year on its own, with zero month and day values * A year and +/// month value, with a zero day, such as a credit card expiration date Related +/// types are google.type.TimeOfDay and `google.protobuf.Timestamp`. +class GoogleTypeDate { + /// Day of a month. + /// + /// Must be from 1 to 31 and valid for the year and month, or 0 to specify a + /// year by itself or a year and month where the day isn't significant. + core.int? day; + + /// Month of a year. + /// + /// Must be from 1 to 12, or 0 to specify a year without a month and day. + core.int? month; + + /// Year of the date. + /// + /// Must be from 1 to 9999, or 0 to specify a date without a year. + core.int? year; + + GoogleTypeDate({ + this.day, + this.month, + this.year, + }); + + GoogleTypeDate.fromJson(core.Map _json) + : this( + day: _json.containsKey('day') ? _json['day'] as core.int : null, + month: _json.containsKey('month') ? _json['month'] as core.int : null, + year: _json.containsKey('year') ? _json['year'] as core.int : null, + ); + + core.Map toJson() => { + if (day != null) 'day': day!, + if (month != null) 'month': month!, + if (year != null) 'year': year!, + }; +} diff --git a/generated/googleapis/lib/run/v1.dart b/generated/googleapis/lib/run/v1.dart index a23993083..2ea869324 100644 --- a/generated/googleapis/lib/run/v1.dart +++ b/generated/googleapis/lib/run/v1.dart @@ -57,7 +57,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// /// The Cloud Run Admin API follows the Knative Serving API specification. class CloudRunApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2676,7 +2677,7 @@ class ConfigMapVolumeSource { /// Users create new Revisions by updating the Configuration's spec. The "latest /// created" revision's name is available under status, as is the "latest ready" /// revision's name. See also: -/// https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration +/// https://github.com/knative/serving/blob/main/docs/spec/overview.md#configuration class Configuration { /// The API version for this call such as "serving.knative.dev/v1". core.String? apiVersion; @@ -3540,7 +3541,7 @@ class GoogleCloudRunV1Condition { /// type is used to communicate the status of the reconciliation process. /// /// See also: - /// https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting + /// https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting /// Types common to all resources include: * "Ready": True when the Resource /// is ready. core.String? type; @@ -4569,7 +4570,7 @@ class OwnerReference { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -4865,7 +4866,7 @@ class ResourceRequirements { /// /// A revision references a container image. Revisions are created by updates to /// a Configuration. See also: -/// https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision +/// https://github.com/knative/serving/blob/main/docs/spec/overview.md#revision class Revision { /// The API version for this call such as "serving.knative.dev/v1". core.String? apiVersion; @@ -4940,7 +4941,7 @@ class RevisionSpec { /// In the context of a Revision, we disallow a number of fields on this /// Container, including: name and lifecycle. In Cloud Run, only a single /// container may be provided. The runtime contract is documented here: - /// https://github.com/knative/serving/blob/master/docs/runtime-contract.md + /// https://github.com/knative/serving/blob/main/docs/runtime-contract.md core.List? containers; /// Email address of the IAM service account associated with the revision of @@ -4955,8 +4956,8 @@ class RevisionSpec { /// responding to a request. /// /// Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum - /// allowed value is 900 seconds (15 minutes). Cloud Run for Anthos: defaults - /// to 300 seconds (5 minutes). Maximum allowed value is configurable by the + /// allowed value is 3600 seconds (1 hour). Cloud Run for Anthos: defaults to + /// 300 seconds (5 minutes). Maximum allowed value is configurable by the /// cluster operator. core.int? timeoutSeconds; core.List? volumes; @@ -5143,7 +5144,7 @@ class RevisionTemplate { /// the Route is additionally responsible for monitoring the Configuration for /// "latest ready" revision changes, and smoothly rolling out latest revisions. /// See also: -/// https://github.com/knative/serving/blob/master/docs/spec/overview.md#route +/// https://github.com/knative/serving/blob/main/docs/spec/overview.md#route /// Cloud Run currently supports referencing a single Configuration to /// automatically deploy the "latest ready" Revision from that Configuration. class Route { @@ -5530,7 +5531,7 @@ class SecurityContext { /// a kubernetes Deployment orchestrates ReplicaSets). The Service's controller /// will track the statuses of its owned Configuration and Route, reflecting /// their statuses and conditions as its own. See also: -/// https://github.com/knative/serving/blob/master/docs/spec/overview.md#service +/// https://github.com/knative/serving/blob/main/docs/spec/overview.md#service class Service { /// The API version for this call such as "serving.knative.dev/v1". core.String? apiVersion; @@ -6169,11 +6170,13 @@ class TrafficTarget { }; } -/// Not supported by Cloud Run Volume represents a named volume in a container. +/// Volume represents a named volume in a container. class Volume { ConfigMapVolumeSource? configMap; /// Volume's name. + /// + /// In Cloud Run Fully Managed, the name 'cloudsql' is reserved. core.String? name; SecretVolumeSource? secret; @@ -6203,15 +6206,16 @@ class Volume { }; } -/// Not supported by Cloud Run VolumeMount describes a mounting of a Volume -/// within a container. +/// VolumeMount describes a mounting of a Volume within a container. class VolumeMount { /// Path within the container at which the volume should be mounted. /// /// Must not contain ':'. core.String? mountPath; - /// This must match the Name of a Volume. + /// The name of the volume. + /// + /// There must be a corresponding Volume with the same name. core.String? name; /// (Optional) Only true is accepted. diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart index 0e230dcad..701b587cc 100644 --- a/generated/googleapis/lib/runtimeconfig/v1.dart +++ b/generated/googleapis/lib/runtimeconfig/v1.dart @@ -45,7 +45,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// In addition, you can also set Watchers and Waiters that will watch for /// changes to your data and return based on certain conditions. class CloudRuntimeConfigApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/searchconsole/v1.dart b/generated/googleapis/lib/searchconsole/v1.dart index b867f8785..d86a8ea0e 100644 --- a/generated/googleapis/lib/searchconsole/v1.dart +++ b/generated/googleapis/lib/searchconsole/v1.dart @@ -1265,8 +1265,7 @@ class WmxSitemap { /// Information about the various content types in the sitemap. class WmxSitemapContent { - /// The number of URLs from the sitemap that were indexed (of the content - /// type). + /// *Deprecated; do not use.* core.String? indexed; /// The number of URLs in the sitemap (of the content type). diff --git a/generated/googleapis/lib/secretmanager/v1.dart b/generated/googleapis/lib/secretmanager/v1.dart index 6568a3867..43d5f4401 100644 --- a/generated/googleapis/lib/secretmanager/v1.dart +++ b/generated/googleapis/lib/secretmanager/v1.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// /// Provides convenience while improving security. class SecretManagerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1602,7 +1603,7 @@ class Location { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/securitycenter/v1.dart b/generated/googleapis/lib/securitycenter/v1.dart index bd78d9121..4df83383d 100644 --- a/generated/googleapis/lib/securitycenter/v1.dart +++ b/generated/googleapis/lib/securitycenter/v1.dart @@ -52,7 +52,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Security Command Center API provides access to temporal views of assets and /// findings within an organization. class SecurityCommandCenterApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -3261,6 +3262,217 @@ class Binding { }; } +/// CVE stands for Common Vulnerabilities and Exposures. +/// +/// More information: https://cve.mitre.org +class Cve { + /// Describe Common Vulnerability Scoring System specified at + /// https://www.first.org/cvss/v3.1/specification-document + Cvssv3? cvssv3; + + /// The unique identifier for the vulnerability. + /// + /// e.g. CVE-2021-34527 + core.String? id; + + /// Additional information about the CVE. + /// + /// e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 + core.List? references; + + Cve({ + this.cvssv3, + this.id, + this.references, + }); + + Cve.fromJson(core.Map _json) + : this( + cvssv3: _json.containsKey('cvssv3') + ? Cvssv3.fromJson( + _json['cvssv3'] as core.Map) + : null, + id: _json.containsKey('id') ? _json['id'] as core.String : null, + references: _json.containsKey('references') + ? (_json['references'] as core.List) + .map((value) => Reference.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (cvssv3 != null) 'cvssv3': cvssv3!.toJson(), + if (id != null) 'id': id!, + if (references != null) + 'references': references!.map((value) => value.toJson()).toList(), + }; +} + +/// Common Vulnerability Scoring System version 3. +class Cvssv3 { + /// This metric describes the conditions beyond the attacker's control that + /// must exist in order to exploit the vulnerability. + /// Possible string values are: + /// - "ATTACK_COMPLEXITY_UNSPECIFIED" : Invalid value. + /// - "ATTACK_COMPLEXITY_LOW" : Specialized access conditions or extenuating + /// circumstances do not exist. An attacker can expect repeatable success when + /// attacking the vulnerable component. + /// - "ATTACK_COMPLEXITY_HIGH" : A successful attack depends on conditions + /// beyond the attacker's control. That is, a successful attack cannot be + /// accomplished at will, but requires the attacker to invest in some + /// measurable amount of effort in preparation or execution against the + /// vulnerable component before a successful attack can be expected. + core.String? attackComplexity; + + /// Base Metrics Represents the intrinsic characteristics of a vulnerability + /// that are constant over time and across user environments. + /// + /// This metric reflects the context by which vulnerability exploitation is + /// possible. + /// Possible string values are: + /// - "ATTACK_VECTOR_UNSPECIFIED" : Invalid value. + /// - "ATTACK_VECTOR_NETWORK" : The vulnerable component is bound to the + /// network stack and the set of possible attackers extends beyond the other + /// options listed below, up to and including the entire Internet. + /// - "ATTACK_VECTOR_ADJACENT" : The vulnerable component is bound to the + /// network stack, but the attack is limited at the protocol level to a + /// logically adjacent topology. + /// - "ATTACK_VECTOR_LOCAL" : The vulnerable component is not bound to the + /// network stack and the attacker's path is via read/write/execute + /// capabilities. + /// - "ATTACK_VECTOR_PHYSICAL" : The attack requires the attacker to + /// physically touch or manipulate the vulnerable component. + core.String? attackVector; + + /// This metric measures the impact to the availability of the impacted + /// component resulting from a successfully exploited vulnerability. + /// Possible string values are: + /// - "IMPACT_UNSPECIFIED" : Invalid value. + /// - "IMPACT_HIGH" : High impact. + /// - "IMPACT_LOW" : Low impact. + /// - "IMPACT_NONE" : No impact. + core.String? availabilityImpact; + + /// The base score is a function of the base metric scores. + core.double? baseScore; + + /// This metric measures the impact to the confidentiality of the information + /// resources managed by a software component due to a successfully exploited + /// vulnerability. + /// Possible string values are: + /// - "IMPACT_UNSPECIFIED" : Invalid value. + /// - "IMPACT_HIGH" : High impact. + /// - "IMPACT_LOW" : Low impact. + /// - "IMPACT_NONE" : No impact. + core.String? confidentialityImpact; + + /// This metric measures the impact to integrity of a successfully exploited + /// vulnerability. + /// Possible string values are: + /// - "IMPACT_UNSPECIFIED" : Invalid value. + /// - "IMPACT_HIGH" : High impact. + /// - "IMPACT_LOW" : Low impact. + /// - "IMPACT_NONE" : No impact. + core.String? integrityImpact; + + /// This metric describes the level of privileges an attacker must possess + /// before successfully exploiting the vulnerability. + /// Possible string values are: + /// - "PRIVILEGES_REQUIRED_UNSPECIFIED" : Invalid value. + /// - "PRIVILEGES_REQUIRED_NONE" : The attacker is unauthorized prior to + /// attack, and therefore does not require any access to settings or files of + /// the vulnerable system to carry out an attack. + /// - "PRIVILEGES_REQUIRED_LOW" : The attacker requires privileges that + /// provide basic user capabilities that could normally affect only settings + /// and files owned by a user. Alternatively, an attacker with Low privileges + /// has the ability to access only non-sensitive resources. + /// - "PRIVILEGES_REQUIRED_HIGH" : The attacker requires privileges that + /// provide significant (e.g., administrative) control over the vulnerable + /// component allowing access to component-wide settings and files. + core.String? privilegesRequired; + + /// The Scope metric captures whether a vulnerability in one vulnerable + /// component impacts resources in components beyond its security scope. + /// Possible string values are: + /// - "SCOPE_UNSPECIFIED" : Invalid value. + /// - "SCOPE_UNCHANGED" : An exploited vulnerability can only affect resources + /// managed by the same security authority. + /// - "SCOPE_CHANGED" : An exploited vulnerability can affect resources beyond + /// the security scope managed by the security authority of the vulnerable + /// component. + core.String? scope; + + /// This metric captures the requirement for a human user, other than the + /// attacker, to participate in the successful compromise of the vulnerable + /// component. + /// Possible string values are: + /// - "USER_INTERACTION_UNSPECIFIED" : Invalid value. + /// - "USER_INTERACTION_NONE" : The vulnerable system can be exploited without + /// interaction from any user. + /// - "USER_INTERACTION_REQUIRED" : Successful exploitation of this + /// vulnerability requires a user to take some action before the vulnerability + /// can be exploited. + core.String? userInteraction; + + Cvssv3({ + this.attackComplexity, + this.attackVector, + this.availabilityImpact, + this.baseScore, + this.confidentialityImpact, + this.integrityImpact, + this.privilegesRequired, + this.scope, + this.userInteraction, + }); + + Cvssv3.fromJson(core.Map _json) + : this( + attackComplexity: _json.containsKey('attackComplexity') + ? _json['attackComplexity'] as core.String + : null, + attackVector: _json.containsKey('attackVector') + ? _json['attackVector'] as core.String + : null, + availabilityImpact: _json.containsKey('availabilityImpact') + ? _json['availabilityImpact'] as core.String + : null, + baseScore: _json.containsKey('baseScore') + ? (_json['baseScore'] as core.num).toDouble() + : null, + confidentialityImpact: _json.containsKey('confidentialityImpact') + ? _json['confidentialityImpact'] as core.String + : null, + integrityImpact: _json.containsKey('integrityImpact') + ? _json['integrityImpact'] as core.String + : null, + privilegesRequired: _json.containsKey('privilegesRequired') + ? _json['privilegesRequired'] as core.String + : null, + scope: + _json.containsKey('scope') ? _json['scope'] as core.String : null, + userInteraction: _json.containsKey('userInteraction') + ? _json['userInteraction'] as core.String + : null, + ); + + core.Map toJson() => { + if (attackComplexity != null) 'attackComplexity': attackComplexity!, + if (attackVector != null) 'attackVector': attackVector!, + if (availabilityImpact != null) + 'availabilityImpact': availabilityImpact!, + if (baseScore != null) 'baseScore': baseScore!, + if (confidentialityImpact != null) + 'confidentialityImpact': confidentialityImpact!, + if (integrityImpact != null) 'integrityImpact': integrityImpact!, + if (privilegesRequired != null) + 'privilegesRequired': privilegesRequired!, + if (scope != null) 'scope': scope!, + if (userInteraction != null) 'userInteraction': userInteraction!, + }; +} + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -3512,6 +3724,12 @@ class Finding { /// otherwise addressed and is no longer active. core.String? state; + /// Represents vulnerability specific fields like cve, cvss scores etc. + /// + /// CVE stands for Common Vulnerabilities and Exposures + /// (https://cve.mitre.org/about/) + Vulnerability? vulnerability; + Finding({ this.canonicalName, this.category, @@ -3527,6 +3745,7 @@ class Finding { this.severity, this.sourceProperties, this.state, + this.vulnerability, }); Finding.fromJson(core.Map _json) @@ -3579,6 +3798,10 @@ class Finding { : null, state: _json.containsKey('state') ? _json['state'] as core.String : null, + vulnerability: _json.containsKey('vulnerability') + ? Vulnerability.fromJson( + _json['vulnerability'] as core.Map) + : null, ); core.Map toJson() => { @@ -3596,6 +3819,7 @@ class Finding { if (severity != null) 'severity': severity!, if (sourceProperties != null) 'sourceProperties': sourceProperties!, if (state != null) 'state': state!, + if (vulnerability != null) 'vulnerability': vulnerability!.toJson(), }; } @@ -3756,6 +3980,9 @@ class GoogleCloudSecuritycenterV1Resource { /// The human readable name of project that the resource belongs to. core.String? projectDisplayName; + /// The full resource type of the resource. + core.String? type; + GoogleCloudSecuritycenterV1Resource({ this.folders, this.name, @@ -3763,6 +3990,7 @@ class GoogleCloudSecuritycenterV1Resource { this.parentDisplayName, this.project, this.projectDisplayName, + this.type, }); GoogleCloudSecuritycenterV1Resource.fromJson(core.Map _json) @@ -3786,6 +4014,7 @@ class GoogleCloudSecuritycenterV1Resource { projectDisplayName: _json.containsKey('projectDisplayName') ? _json['projectDisplayName'] as core.String : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, ); core.Map toJson() => { @@ -3797,6 +4026,7 @@ class GoogleCloudSecuritycenterV1Resource { if (project != null) 'project': project!, if (projectDisplayName != null) 'projectDisplayName': projectDisplayName!, + if (type != null) 'type': type!, }; } @@ -5298,7 +5528,7 @@ class OrganizationSettings { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -5388,6 +5618,34 @@ class Policy { }; } +/// Additional Links +class Reference { + /// Source of the reference e.g. NVD + core.String? source; + + /// Uri for the mentioned source e.g. + /// https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527. + core.String? uri; + + Reference({ + this.source, + this.uri, + }); + + Reference.fromJson(core.Map _json) + : this( + source: _json.containsKey('source') + ? _json['source'] as core.String + : null, + uri: _json.containsKey('uri') ? _json['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (source != null) 'source': source!, + if (uri != null) 'uri': uri!, + }; +} + /// Information related to the Google Cloud resource that is associated with /// this finding. class Resource { @@ -5931,3 +6189,26 @@ class TestIamPermissionsResponse { if (permissions != null) 'permissions': permissions!, }; } + +/// Refers to common vulnerability fields e.g. cve, cvss, cwe etc. +class Vulnerability { + /// CVE stands for Common Vulnerabilities and Exposures + /// (https://cve.mitre.org/about/) + Cve? cve; + + Vulnerability({ + this.cve, + }); + + Vulnerability.fromJson(core.Map _json) + : this( + cve: _json.containsKey('cve') + ? Cve.fromJson( + _json['cve'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (cve != null) 'cve': cve!.toJson(), + }; +} diff --git a/generated/googleapis/lib/serviceconsumermanagement/v1.dart b/generated/googleapis/lib/serviceconsumermanagement/v1.dart index ac0a659bf..678f37c8c 100644 --- a/generated/googleapis/lib/serviceconsumermanagement/v1.dart +++ b/generated/googleapis/lib/serviceconsumermanagement/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages the service consumers of a Service Infrastructure service. class ServiceConsumerManagementApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1952,8 +1953,11 @@ class DocumentationRule { /// It can be provided if an element is marked as `deprecated`. core.String? deprecationDescription; - /// The description is the comment in front of the selected proto element, - /// such as a message, a method, a 'service' definition, or a field. + /// Description of the selected proto element (e.g. a message, a method, a + /// 'service' definition, or a field). + /// + /// Defaults to leading & trailing comments taken from the proto source + /// definition of the proto element. core.String? description; /// The selector is a comma-separated list of patterns for any element such as @@ -3485,7 +3489,10 @@ class MonitoredResourceDescriptor { /// The monitored resource type. /// /// For example, the type `"cloudsql_database"` represents databases in Google - /// Cloud SQL. + /// Cloud SQL. For a list of types, see + /// [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) + /// and + /// [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). /// /// Required. core.String? type; diff --git a/generated/googleapis/lib/servicecontrol/v1.dart b/generated/googleapis/lib/servicecontrol/v1.dart index b1bd739a0..2bb022f9f 100644 --- a/generated/googleapis/lib/servicecontrol/v1.dart +++ b/generated/googleapis/lib/servicecontrol/v1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Provides admission control and telemetry reporting for services integrated /// with Service Infrastructure. class ServiceControlApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/servicecontrol/v2.dart b/generated/googleapis/lib/servicecontrol/v2.dart index 5b5aa11ef..14ce6b1a2 100644 --- a/generated/googleapis/lib/servicecontrol/v2.dart +++ b/generated/googleapis/lib/servicecontrol/v2.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Provides admission control and telemetry reporting for services integrated /// with Service Infrastructure. class ServiceControlApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/servicedirectory/v1.dart b/generated/googleapis/lib/servicedirectory/v1.dart index e8b776f4b..e76286c30 100644 --- a/generated/googleapis/lib/servicedirectory/v1.dart +++ b/generated/googleapis/lib/servicedirectory/v1.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Service Directory is a platform for discovering, publishing, and connecting /// services. class ServiceDirectoryApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1353,13 +1354,9 @@ class Endpoint { /// alphanumerics between. The prefix is optional. If specified, the prefix /// must be a DNS subdomain: a series of DNS labels separated by dots (.), not /// longer than 253 characters in total, followed by a slash (/) Annotations - /// that fails to meet these requirements are rejected. * The - /// `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for - /// system annotations managed by Service Directory. If the user tries to - /// write to these keyspaces, those entries are silently ignored by the system - /// Note: This field is equivalent to the `metadata` field in the v1beta1 API. - /// They have the same syntax and read/write to the same location in Service - /// Directory. + /// that fails to meet these requirements are rejected. Note: This field is + /// equivalent to the `metadata` field in the v1beta1 API. They have the same + /// syntax and read/write to the same location in Service Directory. /// /// Optional. core.Map? annotations; @@ -1816,7 +1813,7 @@ class Namespace { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -1991,12 +1988,9 @@ class Service { /// alphanumerics between. The prefix is optional. If specified, the prefix /// must be a DNS subdomain: a series of DNS labels separated by dots (.), not /// longer than 253 characters in total, followed by a slash (/). Annotations - /// that fails to meet these requirements are rejected * The `(*.)google.com/` - /// and `(*.)googleapis.com/` prefixes are reserved for system annotations - /// managed by Service Directory. If the user tries to write to these - /// keyspaces, those entries are silently ignored by the system Note: This - /// field is equivalent to the `metadata` field in the v1beta1 API. They have - /// the same syntax and read/write to the same location in Service Directory. + /// that fails to meet these requirements are rejected Note: This field is + /// equivalent to the `metadata` field in the v1beta1 API. They have the same + /// syntax and read/write to the same location in Service Directory. /// /// Optional. core.Map? annotations; diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart index bbdfdea38..c84dc5936 100644 --- a/generated/googleapis/lib/servicemanagement/v1.dart +++ b/generated/googleapis/lib/servicemanagement/v1.dart @@ -45,11 +45,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// on Google Cloud Platform so that they can be discovered and used by service /// consumers. class ServiceManagementApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -2612,8 +2614,11 @@ class DocumentationRule { /// It can be provided if an element is marked as `deprecated`. core.String? deprecationDescription; - /// The description is the comment in front of the selected proto element, - /// such as a message, a method, a 'service' definition, or a field. + /// Description of the selected proto element (e.g. a message, a method, a + /// 'service' definition, or a field). + /// + /// Defaults to leading & trailing comments taken from the proto source + /// definition of the proto element. core.String? description; /// The selector is a comma-separated list of patterns for any element such as @@ -4509,7 +4514,10 @@ class MonitoredResourceDescriptor { /// The monitored resource type. /// /// For example, the type `"cloudsql_database"` represents databases in Google - /// Cloud SQL. + /// Cloud SQL. For a list of types, see + /// [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) + /// and + /// [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). /// /// Required. core.String? type; @@ -5024,7 +5032,7 @@ class Page { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/servicenetworking/v1.dart b/generated/googleapis/lib/servicenetworking/v1.dart index 4c318238f..a4247f920 100644 --- a/generated/googleapis/lib/servicenetworking/v1.dart +++ b/generated/googleapis/lib/servicenetworking/v1.dart @@ -49,7 +49,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Provides automatic management of network configurations necessary for /// certain services. class ServiceNetworkingApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1551,6 +1552,16 @@ class AddSubnetworkRequest { /// Required. core.int? ipPrefixLength; + /// The private IPv6 google access type for the VMs in this subnet. + /// + /// For information about the access types that can be set using this field, + /// see + /// [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) + /// in the Compute API documentation. + /// + /// Optional. + core.String? privateIpv6GoogleAccess; + /// The name of a \[region\](/compute/docs/regions-zones) for the subnet, such /// `europe-west1`. /// @@ -1600,6 +1611,7 @@ class AddSubnetworkRequest { this.consumerNetwork, this.description, this.ipPrefixLength, + this.privateIpv6GoogleAccess, this.region, this.requestedAddress, this.requestedRanges, @@ -1622,6 +1634,9 @@ class AddSubnetworkRequest { ipPrefixLength: _json.containsKey('ipPrefixLength') ? _json['ipPrefixLength'] as core.int : null, + privateIpv6GoogleAccess: _json.containsKey('privateIpv6GoogleAccess') + ? _json['privateIpv6GoogleAccess'] as core.String + : null, region: _json.containsKey('region') ? _json['region'] as core.String : null, @@ -1655,6 +1670,8 @@ class AddSubnetworkRequest { if (consumerNetwork != null) 'consumerNetwork': consumerNetwork!, if (description != null) 'description': description!, if (ipPrefixLength != null) 'ipPrefixLength': ipPrefixLength!, + if (privateIpv6GoogleAccess != null) + 'privateIpv6GoogleAccess': privateIpv6GoogleAccess!, if (region != null) 'region': region!, if (requestedAddress != null) 'requestedAddress': requestedAddress!, if (requestedRanges != null) 'requestedRanges': requestedRanges!, @@ -3068,8 +3085,11 @@ class DocumentationRule { /// It can be provided if an element is marked as `deprecated`. core.String? deprecationDescription; - /// The description is the comment in front of the selected proto element, - /// such as a message, a method, a 'service' definition, or a field. + /// Description of the selected proto element (e.g. a message, a method, a + /// 'service' definition, or a field). + /// + /// Defaults to leading & trailing comments taken from the proto source + /// definition of the proto element. core.String? description; /// The selector is a comma-separated list of patterns for any element such as @@ -4805,7 +4825,10 @@ class MonitoredResourceDescriptor { /// The monitored resource type. /// /// For example, the type `"cloudsql_database"` represents databases in Google - /// Cloud SQL. + /// Cloud SQL. For a list of types, see + /// [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) + /// and + /// [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). /// /// Required. core.String? type; @@ -5206,6 +5229,8 @@ class PartialDeleteConnectionMetadata { /// are resolved in the associated consumer VPC network. class PeeredDnsDomain { /// The DNS domain name suffix e.g. `example.com.`. + /// + /// Cloud DNS requires that a DNS suffix ends with a trailing dot. core.String? dnsSuffix; /// User assigned name for this resource. diff --git a/generated/googleapis/lib/serviceusage/v1.dart b/generated/googleapis/lib/serviceusage/v1.dart index ed35fd0cd..9f5489ba8 100644 --- a/generated/googleapis/lib/serviceusage/v1.dart +++ b/generated/googleapis/lib/serviceusage/v1.dart @@ -42,11 +42,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Platform, lists the available or enabled services, or disables services that /// service consumers no longer use. class ServiceUsageApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -1858,8 +1860,11 @@ class DocumentationRule { /// It can be provided if an element is marked as `deprecated`. core.String? deprecationDescription; - /// The description is the comment in front of the selected proto element, - /// such as a message, a method, a 'service' definition, or a field. + /// Description of the selected proto element (e.g. a message, a method, a + /// 'service' definition, or a field). + /// + /// Defaults to leading & trailing comments taken from the proto source + /// definition of the proto element. core.String? description; /// The selector is a comma-separated list of patterns for any element such as @@ -4226,7 +4231,10 @@ class MonitoredResourceDescriptor { /// The monitored resource type. /// /// For example, the type `"cloudsql_database"` represents databases in Google - /// Cloud SQL. + /// Cloud SQL. For a list of types, see + /// [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) + /// and + /// [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). /// /// Required. core.String? type; diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart index d98622ad9..24160328b 100644 --- a/generated/googleapis/lib/slides/v1.dart +++ b/generated/googleapis/lib/slides/v1.dart @@ -2162,6 +2162,14 @@ class Image { /// The properties of the image. ImageProperties? imageProperties; + /// Placeholders are page elements that inherit from corresponding + /// placeholders on layouts and masters. + /// + /// If set, the image is a placeholder image and any inherited properties can + /// be resolved by looking at the parent placeholder identified by the + /// Placeholder.parent_object_id field. + Placeholder? placeholder; + /// The source URL is the URL used to insert the image. /// /// The source URL can be empty. @@ -2170,6 +2178,7 @@ class Image { Image({ this.contentUrl, this.imageProperties, + this.placeholder, this.sourceUrl, }); @@ -2182,6 +2191,10 @@ class Image { ? ImageProperties.fromJson(_json['imageProperties'] as core.Map) : null, + placeholder: _json.containsKey('placeholder') + ? Placeholder.fromJson( + _json['placeholder'] as core.Map) + : null, sourceUrl: _json.containsKey('sourceUrl') ? _json['sourceUrl'] as core.String : null, @@ -2191,6 +2204,7 @@ class Image { if (contentUrl != null) 'contentUrl': contentUrl!, if (imageProperties != null) 'imageProperties': imageProperties!.toJson(), + if (placeholder != null) 'placeholder': placeholder!.toJson(), if (sourceUrl != null) 'sourceUrl': sourceUrl!, }; } diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart index ed08ee29f..e48b3f4e2 100644 --- a/generated/googleapis/lib/spanner/v1.dart +++ b/generated/googleapis/lib/spanner/v1.dart @@ -50,7 +50,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Cloud Spanner is a managed, mission-critical, globally consistent and /// scalable relational database service. class SpannerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -4995,17 +4996,20 @@ class Instance { /// The number of nodes allocated to this instance. /// - /// This may be zero in API responses for instances that are not yet in state - /// `READY`. See - /// [the documentation](https://cloud.google.com/spanner/docs/instances#node_count) - /// for more information about nodes. + /// At most one of either node_count or processing_units should be present in + /// the message. This may be zero in API responses for instances that are not + /// yet in state `READY`. See + /// [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) + /// for more information about nodes and processing units. core.int? nodeCount; /// The number of processing units allocated to this instance. /// /// At most one of processing_units or node_count should be present in the /// message. This may be zero in API responses for instances that are not yet - /// in state `READY`. + /// in state `READY`. See + /// [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) + /// for more information about nodes and processing units. core.int? processingUnits; /// The current instance state. @@ -6800,7 +6804,7 @@ class PlanNode { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis/lib/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart index 57455a058..8e885be2b 100644 --- a/generated/googleapis/lib/speech/v1.dart +++ b/generated/googleapis/lib/speech/v1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Converts audio to text by applying powerful neural network models. class SpeechApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -377,8 +378,12 @@ class LongRunningRecognizeResponse { /// portions of audio. core.List? results; + /// When available, billed audio seconds for the corresponding request. + core.String? totalBilledTime; + LongRunningRecognizeResponse({ this.results, + this.totalBilledTime, }); LongRunningRecognizeResponse.fromJson(core.Map _json) @@ -390,11 +395,15 @@ class LongRunningRecognizeResponse { value as core.Map)) .toList() : null, + totalBilledTime: _json.containsKey('totalBilledTime') + ? _json['totalBilledTime'] as core.String + : null, ); core.Map toJson() => { if (results != null) 'results': results!.map((value) => value.toJson()).toList(), + if (totalBilledTime != null) 'totalBilledTime': totalBilledTime!, }; } @@ -959,8 +968,12 @@ class RecognizeResponse { /// portions of audio. core.List? results; + /// When available, billed audio seconds for the corresponding request. + core.String? totalBilledTime; + RecognizeResponse({ this.results, + this.totalBilledTime, }); RecognizeResponse.fromJson(core.Map _json) @@ -972,11 +985,15 @@ class RecognizeResponse { value as core.Map)) .toList() : null, + totalBilledTime: _json.containsKey('totalBilledTime') + ? _json['totalBilledTime'] as core.String + : null, ); core.Map toJson() => { if (results != null) 'results': results!.map((value) => value.toJson()).toList(), + if (totalBilledTime != null) 'totalBilledTime': totalBilledTime!, }; } diff --git a/generated/googleapis/lib/src/user_agent.dart b/generated/googleapis/lib/src/user_agent.dart index fa4536eb8..6fffea655 100644 --- a/generated/googleapis/lib/src/user_agent.dart +++ b/generated/googleapis/lib/src/user_agent.dart @@ -2,6 +2,6 @@ import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; /// Request headers used by all libraries in this package final requestHeaders = { - 'user-agent': 'google-api-dart-client/5.0.0-dev', - 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/5.0.0-dev', + 'user-agent': 'google-api-dart-client/5.0.0', + 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/5.0.0', }; diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart index 67428d191..b94cf8baa 100644 --- a/generated/googleapis/lib/storagetransfer/v1.dart +++ b/generated/googleapis/lib/storagetransfer/v1.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Transfers data from external data sources to a Google Cloud Storage bucket /// or between Google Cloud Storage buckets. class StoragetransferApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -158,7 +159,7 @@ class TransferJobsResource { /// /// Request parameters: /// - /// [jobName] - Required. " The job to get. + /// [jobName] - Required. The job to get. /// Value must have pattern `^transferJobs/.*$`. /// /// [projectId] - Required. The ID of the Google Cloud Platform Console @@ -645,11 +646,10 @@ class AwsS3Data { /// with a '/'. core.String? path; - /// Input only. - /// /// The Amazon Resource Name (ARN) of the role to support temporary - /// credentials via `AssumeRoleWithWebIdentity`. For more information about - /// ARNs, see + /// credentials via `AssumeRoleWithWebIdentity`. + /// + /// For more information about ARNs, see /// [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). /// When a role ARN is provided, Transfer Service fetches temporary /// credentials for the session using a `AssumeRoleWithWebIdentity` call for @@ -1201,6 +1201,32 @@ class ListTransferJobsResponse { }; } +/// Logging configure. +class LoggingConfig { + /// Enables the Cloud Storage transfer logs for this transfer. + /// + /// This is only supported for transfer jobs with PosixFilesystem sources. The + /// default is that logs are not generated for this transfer. + core.bool? enableOnpremGcsTransferLogs; + + LoggingConfig({ + this.enableOnpremGcsTransferLogs, + }); + + LoggingConfig.fromJson(core.Map _json) + : this( + enableOnpremGcsTransferLogs: + _json.containsKey('enableOnpremGcsTransferLogs') + ? _json['enableOnpremGcsTransferLogs'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enableOnpremGcsTransferLogs != null) + 'enableOnpremGcsTransferLogs': enableOnpremGcsTransferLogs!, + }; +} + /// Specification to configure notifications published to Pub/Sub. /// /// Notifications are published to the customer-provided topic using the @@ -1494,6 +1520,27 @@ class PauseTransferOperationRequest { core.Map toJson() => {}; } +/// A POSIX filesystem data source or sink. +class PosixFilesystem { + /// Root directory path to the filesystem. + core.String? rootDirectory; + + PosixFilesystem({ + this.rootDirectory, + }); + + PosixFilesystem.fromJson(core.Map _json) + : this( + rootDirectory: _json.containsKey('rootDirectory') + ? _json['rootDirectory'] as core.String + : null, + ); + + core.Map toJson() => { + if (rootDirectory != null) 'rootDirectory': rootDirectory!, + }; +} + /// Request passed to ResumeTransferOperation. class ResumeTransferOperationRequest { ResumeTransferOperationRequest(); @@ -1770,6 +1817,27 @@ class TransferCounters { /// exist in the data sink. core.String? bytesFromSourceSkippedBySync; + /// For transfers involving PosixFilesystem only. + /// + /// Number of listing failures for each directory found at the source. + /// Potential failures when listing a directory include permission failure or + /// block failure. If listing a directory fails, no files in the directory are + /// transferred. + core.String? directoriesFailedToListFromSource; + + /// For transfers involving PosixFilesystem only. + /// + /// Number of directories found while listing. For example, if the root + /// directory of the transfer is `base/` and there are two other directories, + /// `a/` and `b/` under this directory, the count after listing `base/`, + /// `base/a/` and `base/b/` is 3. + core.String? directoriesFoundFromSource; + + /// For transfers involving PosixFilesystem only. + /// + /// Number of successful listings for each directory found at the source. + core.String? directoriesSuccessfullyListedFromSource; + /// Objects that are copied to the data sink. core.String? objectsCopiedToSink; @@ -1807,6 +1875,9 @@ class TransferCounters { this.bytesFoundOnlyFromSink, this.bytesFromSourceFailed, this.bytesFromSourceSkippedBySync, + this.directoriesFailedToListFromSource, + this.directoriesFoundFromSource, + this.directoriesSuccessfullyListedFromSource, this.objectsCopiedToSink, this.objectsDeletedFromSink, this.objectsDeletedFromSource, @@ -1845,6 +1916,18 @@ class TransferCounters { _json.containsKey('bytesFromSourceSkippedBySync') ? _json['bytesFromSourceSkippedBySync'] as core.String : null, + directoriesFailedToListFromSource: + _json.containsKey('directoriesFailedToListFromSource') + ? _json['directoriesFailedToListFromSource'] as core.String + : null, + directoriesFoundFromSource: + _json.containsKey('directoriesFoundFromSource') + ? _json['directoriesFoundFromSource'] as core.String + : null, + directoriesSuccessfullyListedFromSource: _json + .containsKey('directoriesSuccessfullyListedFromSource') + ? _json['directoriesSuccessfullyListedFromSource'] as core.String + : null, objectsCopiedToSink: _json.containsKey('objectsCopiedToSink') ? _json['objectsCopiedToSink'] as core.String : null, @@ -1891,6 +1974,14 @@ class TransferCounters { 'bytesFromSourceFailed': bytesFromSourceFailed!, if (bytesFromSourceSkippedBySync != null) 'bytesFromSourceSkippedBySync': bytesFromSourceSkippedBySync!, + if (directoriesFailedToListFromSource != null) + 'directoriesFailedToListFromSource': + directoriesFailedToListFromSource!, + if (directoriesFoundFromSource != null) + 'directoriesFoundFromSource': directoriesFoundFromSource!, + if (directoriesSuccessfullyListedFromSource != null) + 'directoriesSuccessfullyListedFromSource': + directoriesSuccessfullyListedFromSource!, if (objectsCopiedToSink != null) 'objectsCopiedToSink': objectsCopiedToSink!, if (objectsDeletedFromSink != null) @@ -1938,6 +2029,9 @@ class TransferJob { /// Present if a TransferOperation has been created for this JobConfig. core.String? latestOperationName; + /// Logging configuration. + LoggingConfig? loggingConfig; + /// A unique name (within the transfer project) assigned when the job is /// created. /// @@ -1998,6 +2092,7 @@ class TransferJob { this.description, this.lastModificationTime, this.latestOperationName, + this.loggingConfig, this.name, this.notificationConfig, this.projectId, @@ -2023,6 +2118,10 @@ class TransferJob { latestOperationName: _json.containsKey('latestOperationName') ? _json['latestOperationName'] as core.String : null, + loggingConfig: _json.containsKey('loggingConfig') + ? LoggingConfig.fromJson( + _json['loggingConfig'] as core.Map) + : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, notificationConfig: _json.containsKey('notificationConfig') ? NotificationConfig.fromJson(_json['notificationConfig'] @@ -2052,6 +2151,7 @@ class TransferJob { 'lastModificationTime': lastModificationTime!, if (latestOperationName != null) 'latestOperationName': latestOperationName!, + if (loggingConfig != null) 'loggingConfig': loggingConfig!.toJson(), if (name != null) 'name': name!, if (notificationConfig != null) 'notificationConfig': notificationConfig!.toJson(), @@ -2251,6 +2351,9 @@ class TransferSpec { /// exclude objects in a data sink. ObjectConditions? objectConditions; + /// A POSIX Filesystem data source. + PosixFilesystem? posixDataSource; + /// If the option delete_objects_unique_in_sink is `true` and time-based /// object conditions such as 'last modification time' are specified, the /// request fails with an INVALID_ARGUMENT error. @@ -2263,6 +2366,7 @@ class TransferSpec { this.gcsDataSource, this.httpDataSource, this.objectConditions, + this.posixDataSource, this.transferOptions, }); @@ -2294,6 +2398,10 @@ class TransferSpec { ? ObjectConditions.fromJson(_json['objectConditions'] as core.Map) : null, + posixDataSource: _json.containsKey('posixDataSource') + ? PosixFilesystem.fromJson(_json['posixDataSource'] + as core.Map) + : null, transferOptions: _json.containsKey('transferOptions') ? TransferOptions.fromJson(_json['transferOptions'] as core.Map) @@ -2310,6 +2418,8 @@ class TransferSpec { if (httpDataSource != null) 'httpDataSource': httpDataSource!.toJson(), if (objectConditions != null) 'objectConditions': objectConditions!.toJson(), + if (posixDataSource != null) + 'posixDataSource': posixDataSource!.toJson(), if (transferOptions != null) 'transferOptions': transferOptions!.toJson(), }; diff --git a/generated/googleapis/lib/sts/v1.dart b/generated/googleapis/lib/sts/v1.dart index d5b7130ec..57cff1ce6 100644 --- a/generated/googleapis/lib/sts/v1.dart +++ b/generated/googleapis/lib/sts/v1.dart @@ -56,45 +56,6 @@ class V1Resource { V1Resource(commons.ApiRequester client) : _requester = client; - /// Gets information about a Google OAuth 2.0 access token issued by the - /// Google Cloud - /// [Security Token Service API](https://cloud.google.com/iam/docs/reference/sts/rest). - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GoogleIdentityStsV1IntrospectTokenResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future introspect( - GoogleIdentityStsV1IntrospectTokenRequest request, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - const _url = 'v1/introspect'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return GoogleIdentityStsV1IntrospectTokenResponse.fromJson( - _response as core.Map); - } - /// Exchanges a credential for a Google OAuth 2.0 access token. /// /// The token asserts an external identity within a workload identity pool, or @@ -139,10 +100,189 @@ class V1Resource { } } +/// Associates `members` with a `role`. +class GoogleIamV1Binding { + /// The condition that is associated with this binding. + /// + /// If the condition evaluates to `true`, then this binding applies to the + /// current request. If the condition evaluates to `false`, then this binding + /// does not apply to the current request. However, a different role binding + /// might grant the same role to one or more of the members in this binding. + /// To learn which resources support conditions in their IAM policies, see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + GoogleTypeExpr? condition; + + /// Specifies the identities requesting access for a Cloud Platform resource. + /// + /// `members` can have the following values: * `allUsers`: A special + /// identifier that represents anyone who is on the internet; with or without + /// a Google account. * `allAuthenticatedUsers`: A special identifier that + /// represents anyone who is authenticated with a Google account or a service + /// account. * `user:{emailid}`: An email address that represents a specific + /// Google account. For example, `alice@example.com` . * + /// `serviceAccount:{emailid}`: An email address that represents a service + /// account. For example, `my-other-app@appspot.gserviceaccount.com`. * + /// `group:{emailid}`: An email address that represents a Google group. For + /// example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: + /// An email address (plus unique identifier) representing a user that has + /// been recently deleted. For example, + /// `alice@example.com?uid=123456789012345678901`. If the user is recovered, + /// this value reverts to `user:{emailid}` and the recovered user retains the + /// role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: + /// An email address (plus unique identifier) representing a service account + /// that has been recently deleted. For example, + /// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If + /// the service account is undeleted, this value reverts to + /// `serviceAccount:{emailid}` and the undeleted service account retains the + /// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email + /// address (plus unique identifier) representing a Google group that has been + /// recently deleted. For example, + /// `admins@example.com?uid=123456789012345678901`. If the group is recovered, + /// this value reverts to `group:{emailid}` and the recovered group retains + /// the role in the binding. * `domain:{domain}`: The G Suite domain (primary) + /// that represents all the users of that domain. For example, `google.com` or + /// `example.com`. + core.List? members; + + /// Role that is assigned to `members`. + /// + /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + core.String? role; + + GoogleIamV1Binding({ + this.condition, + this.members, + this.role, + }); + + GoogleIamV1Binding.fromJson(core.Map _json) + : this( + condition: _json.containsKey('condition') + ? GoogleTypeExpr.fromJson( + _json['condition'] as core.Map) + : null, + members: _json.containsKey('members') + ? (_json['members'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + role: _json.containsKey('role') ? _json['role'] as core.String : null, + ); + + core.Map toJson() => { + if (condition != null) 'condition': condition!.toJson(), + if (members != null) 'members': members!, + if (role != null) 'role': role!, + }; +} + +/// An access boundary defines the upper bound of what a principal may access. +/// +/// It includes a list of access boundary rules that each defines the resource +/// that may be allowed as well as permissions that may be used on those +/// resources. +class GoogleIdentityStsV1AccessBoundary { + /// A list of access boundary rules which defines the upper bound of the + /// permission a principal may carry. + /// + /// If multiple rules are specified, the effective access boundary is the + /// union of all the access boundary rules attached. One access boundary can + /// contain at most 10 rules. + core.List? accessBoundaryRules; + + GoogleIdentityStsV1AccessBoundary({ + this.accessBoundaryRules, + }); + + GoogleIdentityStsV1AccessBoundary.fromJson(core.Map _json) + : this( + accessBoundaryRules: _json.containsKey('accessBoundaryRules') + ? (_json['accessBoundaryRules'] as core.List) + .map((value) => + GoogleIdentityStsV1AccessBoundaryRule.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (accessBoundaryRules != null) + 'accessBoundaryRules': + accessBoundaryRules!.map((value) => value.toJson()).toList(), + }; +} + +/// An access boundary rule defines an upper bound of IAM permissions on a +/// single resource. +class GoogleIdentityStsV1AccessBoundaryRule { + /// The availability condition further constrains the access allowed by the + /// access boundary rule. + /// + /// If the condition evaluates to `true`, then this access boundary rule will + /// provide access to the specified resource, assuming the principal has the + /// required permissions for the resource. If the condition does not evaluate + /// to `true`, then access to the specified resource will not be available. + /// Note that all access boundary rules in an access boundary are evaluated + /// together as a union. As such, another access boundary rule may allow + /// access to the resource, even if this access boundary rule does not allow + /// access. To learn which resources support conditions in their IAM policies, + /// see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// The maximum length of the `expression` field is 2048 characters. + GoogleTypeExpr? availabilityCondition; + + /// A list of permissions that may be allowed for use on the specified + /// resource. + /// + /// The only supported values in the list are IAM roles, following the format + /// of google.iam.v1.Binding.role. Example value: + /// `inRole:roles/logging.viewer` for predefined roles and + /// `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom + /// roles. + core.List? availablePermissions; + + /// The full resource name of a Google Cloud resource entity. + /// + /// The format definition is at + /// https://cloud.google.com/apis/design/resource_names. Example value: + /// `//cloudresourcemanager.googleapis.com/projects/my-project`. + core.String? availableResource; + + GoogleIdentityStsV1AccessBoundaryRule({ + this.availabilityCondition, + this.availablePermissions, + this.availableResource, + }); + + GoogleIdentityStsV1AccessBoundaryRule.fromJson(core.Map _json) + : this( + availabilityCondition: _json.containsKey('availabilityCondition') + ? GoogleTypeExpr.fromJson(_json['availabilityCondition'] + as core.Map) + : null, + availablePermissions: _json.containsKey('availablePermissions') + ? (_json['availablePermissions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + availableResource: _json.containsKey('availableResource') + ? _json['availableResource'] as core.String + : null, + ); + + core.Map toJson() => { + if (availabilityCondition != null) + 'availabilityCondition': availabilityCondition!.toJson(), + if (availablePermissions != null) + 'availablePermissions': availablePermissions!, + if (availableResource != null) 'availableResource': availableResource!, + }; +} + /// Request message for ExchangeToken. class GoogleIdentityStsV1ExchangeTokenRequest { /// The full resource name of the identity provider; for example: - /// `//iam.googleapis.com/projects//workloadIdentityPools//providers/`. + /// `//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/`. /// /// Required when exchanging an external credential for a Google access token. core.String? audience; @@ -228,8 +368,8 @@ class GoogleIdentityStsV1ExchangeTokenRequest { /// or without an `https:` prefix. To help ensure data integrity, we recommend /// including this header in the `SignedHeaders` field of the signed request. /// For example: - /// //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ - /// https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ + /// //iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ + /// https://iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ /// If you are using temporary security credentials provided by AWS, you must /// also include the header `x-amz-security-token`, with the value set to the /// session token. The following example shows a `GetCallerIdentity` token: @@ -237,7 +377,7 @@ class GoogleIdentityStsV1ExchangeTokenRequest { /// {"key": "Authorization", "value": /// "AWS4-HMAC-SHA256+Credential=$credential,+SignedHeaders=host;x-amz-date;x-goog-cloud-target-resource,+Signature=$signature"}, /// {"key": "x-goog-cloud-target-resource", "value": - /// "//iam.googleapis.com/projects//locations//workloadIdentityPools//providers/"}, + /// "//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/"}, /// {"key": "host", "value": "sts.amazonaws.com"} . ], "method": "POST", /// "url": /// "https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15" } @@ -367,116 +507,297 @@ class GoogleIdentityStsV1ExchangeTokenResponse { }; } -/// Request message for IntrospectToken. -class GoogleIdentityStsV1IntrospectTokenRequest { - /// The OAuth 2.0 security token issued by the Security Token Service API. - /// - /// Required. - core.String? token; +/// An `Options` object configures features that the Security Token Service +/// supports, but that are not supported by standard OAuth 2.0 token exchange +/// endpoints, as defined in https://tools.ietf.org/html/rfc8693. +class GoogleIdentityStsV1Options { + /// An access boundary that defines the upper bound of permissions the + /// credential may have. + /// + /// The value should be a JSON object of AccessBoundary. The access boundary + /// can include up to 10 rules. The size of the parameter value should not + /// exceed 2048 characters. + GoogleIdentityStsV1AccessBoundary? accessBoundary; + + /// The intended audience(s) of the credential. + /// + /// The audience value(s) should be the name(s) of services intended to + /// receive the credential. Example: `["https://pubsub.googleapis.com/", + /// "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be + /// included. For each provided audience, the maximum length is 262 + /// characters. + core.List? audiences; + + /// A Google project used for quota and billing purposes when the credential + /// is used to access Google APIs. + /// + /// The provided project overrides the project bound to the credential. The + /// value must be a project number or a project ID. Example: + /// `my-sample-project-191923`. The maximum length is 32 characters. + core.String? userProject; + + GoogleIdentityStsV1Options({ + this.accessBoundary, + this.audiences, + this.userProject, + }); - /// The type of the given token. - /// - /// Supported values are `urn:ietf:params:oauth:token-type:access_token` and - /// `access_token`. - /// - /// Optional. - core.String? tokenTypeHint; + GoogleIdentityStsV1Options.fromJson(core.Map _json) + : this( + accessBoundary: _json.containsKey('accessBoundary') + ? GoogleIdentityStsV1AccessBoundary.fromJson( + _json['accessBoundary'] + as core.Map) + : null, + audiences: _json.containsKey('audiences') + ? (_json['audiences'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + userProject: _json.containsKey('userProject') + ? _json['userProject'] as core.String + : null, + ); + + core.Map toJson() => { + if (accessBoundary != null) 'accessBoundary': accessBoundary!.toJson(), + if (audiences != null) 'audiences': audiences!, + if (userProject != null) 'userProject': userProject!, + }; +} - GoogleIdentityStsV1IntrospectTokenRequest({ - this.token, - this.tokenTypeHint, +/// An access boundary defines the upper bound of what a principal may access. +/// +/// It includes a list of access boundary rules that each defines the resource +/// that may be allowed as well as permissions that may be used on those +/// resources. +class GoogleIdentityStsV1betaAccessBoundary { + /// A list of access boundary rules which defines the upper bound of the + /// permission a principal may carry. + /// + /// If multiple rules are specified, the effective access boundary is the + /// union of all the access boundary rules attached. One access boundary can + /// contain at most 10 rules. + core.List? accessBoundaryRules; + + GoogleIdentityStsV1betaAccessBoundary({ + this.accessBoundaryRules, }); - GoogleIdentityStsV1IntrospectTokenRequest.fromJson(core.Map _json) + GoogleIdentityStsV1betaAccessBoundary.fromJson(core.Map _json) : this( - token: - _json.containsKey('token') ? _json['token'] as core.String : null, - tokenTypeHint: _json.containsKey('tokenTypeHint') - ? _json['tokenTypeHint'] as core.String + accessBoundaryRules: _json.containsKey('accessBoundaryRules') + ? (_json['accessBoundaryRules'] as core.List) + .map((value) => + GoogleIdentityStsV1betaAccessBoundaryRule.fromJson( + value as core.Map)) + .toList() : null, ); core.Map toJson() => { - if (token != null) 'token': token!, - if (tokenTypeHint != null) 'tokenTypeHint': tokenTypeHint!, + if (accessBoundaryRules != null) + 'accessBoundaryRules': + accessBoundaryRules!.map((value) => value.toJson()).toList(), }; } -/// Response message for IntrospectToken. -class GoogleIdentityStsV1IntrospectTokenResponse { - /// A boolean value that indicates whether the provided access token is - /// currently active. - core.bool? active; +/// An access boundary rule defines an upper bound of IAM permissions on a +/// single resource. +class GoogleIdentityStsV1betaAccessBoundaryRule { + /// The availability condition further constrains the access allowed by the + /// access boundary rule. + /// + /// If the condition evaluates to `true`, then this access boundary rule will + /// provide access to the specified resource, assuming the principal has the + /// required permissions for the resource. If the condition does not evaluate + /// to `true`, then access to the specified resource will not be available. + /// Note that all access boundary rules in an access boundary are evaluated + /// together as a union. As such, another access boundary rule may allow + /// access to the resource, even if this access boundary rule does not allow + /// access. To learn which resources support conditions in their IAM policies, + /// see the + /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// The maximum length of the `expression` field is 2048 characters. + GoogleTypeExpr? availabilityCondition; + + /// A list of permissions that may be allowed for use on the specified + /// resource. + /// + /// The only supported values in the list are IAM roles, following the format + /// of google.iam.v1.Binding.role. Example value: + /// `inRole:roles/logging.viewer` for predefined roles and + /// `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom + /// roles. + core.List? availablePermissions; + + /// The full resource name of a Google Cloud resource entity. + /// + /// The format definition is at + /// https://cloud.google.com/apis/design/resource_names. Example value: + /// `//cloudresourcemanager.googleapis.com/projects/my-project`. + core.String? availableResource; + + GoogleIdentityStsV1betaAccessBoundaryRule({ + this.availabilityCondition, + this.availablePermissions, + this.availableResource, + }); + + GoogleIdentityStsV1betaAccessBoundaryRule.fromJson(core.Map _json) + : this( + availabilityCondition: _json.containsKey('availabilityCondition') + ? GoogleTypeExpr.fromJson(_json['availabilityCondition'] + as core.Map) + : null, + availablePermissions: _json.containsKey('availablePermissions') + ? (_json['availablePermissions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + availableResource: _json.containsKey('availableResource') + ? _json['availableResource'] as core.String + : null, + ); + + core.Map toJson() => { + if (availabilityCondition != null) + 'availabilityCondition': availabilityCondition!.toJson(), + if (availablePermissions != null) + 'availablePermissions': availablePermissions!, + if (availableResource != null) 'availableResource': availableResource!, + }; +} - /// The client identifier for the OAuth 2.0 client that requested the provided - /// token. - core.String? clientId; +/// An `Options` object configures features that the Security Token Service +/// supports, but that are not supported by standard OAuth 2.0 token exchange +/// endpoints, as defined in https://tools.ietf.org/html/rfc8693. +class GoogleIdentityStsV1betaOptions { + /// An access boundary that defines the upper bound of permissions the + /// credential may have. + /// + /// The value should be a JSON object of AccessBoundary. The access boundary + /// can include up to 10 rules. The size of the parameter value should not + /// exceed 2048 characters. + GoogleIdentityStsV1betaAccessBoundary? accessBoundary; + + /// The intended audience(s) of the credential. + /// + /// The audience value(s) should be the name(s) of services intended to + /// receive the credential. Example: `["https://pubsub.googleapis.com/", + /// "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be + /// included. For each provided audience, the maximum length is 262 + /// characters. + core.List? audiences; + + /// A Google project used for quota and billing purposes when the credential + /// is used to access Google APIs. + /// + /// The provided project overrides the project bound to the credential. The + /// value must be a project number or a project ID. Example: + /// `my-sample-project-191923`. The maximum length is 32 characters. + core.String? userProject; + + GoogleIdentityStsV1betaOptions({ + this.accessBoundary, + this.audiences, + this.userProject, + }); - /// The expiration timestamp, measured in the number of seconds since January - /// 1 1970 UTC, indicating when this token will expire. - core.String? exp; + GoogleIdentityStsV1betaOptions.fromJson(core.Map _json) + : this( + accessBoundary: _json.containsKey('accessBoundary') + ? GoogleIdentityStsV1betaAccessBoundary.fromJson( + _json['accessBoundary'] + as core.Map) + : null, + audiences: _json.containsKey('audiences') + ? (_json['audiences'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + userProject: _json.containsKey('userProject') + ? _json['userProject'] as core.String + : null, + ); - /// The issued timestamp, measured in the number of seconds since January 1 - /// 1970 UTC, indicating when this token was originally issued. - core.String? iat; + core.Map toJson() => { + if (accessBoundary != null) 'accessBoundary': accessBoundary!.toJson(), + if (audiences != null) 'audiences': audiences!, + if (userProject != null) 'userProject': userProject!, + }; +} - /// The issuer of the provided token. - core.String? iss; +/// Represents a textual expression in the Common Expression Language (CEL) +/// syntax. +/// +/// CEL is a C-like expression language. The syntax and semantics of CEL are +/// documented at https://github.com/google/cel-spec. Example (Comparison): +/// title: "Summary size limit" description: "Determines if a summary is less +/// than 100 chars" expression: "document.summary.size() < 100" Example +/// (Equality): title: "Requestor is owner" description: "Determines if +/// requestor is the document owner" expression: "document.owner == +/// request.auth.claims.email" Example (Logic): title: "Public documents" +/// description: "Determine whether the document should be publicly visible" +/// expression: "document.type != 'private' && document.type != 'internal'" +/// Example (Data Manipulation): title: "Notification string" description: +/// "Create a notification string with a timestamp." expression: "'New message +/// received at ' + string(document.create_time)" The exact variables and +/// functions that may be referenced within an expression are determined by the +/// service that evaluates it. See the service documentation for additional +/// information. +class GoogleTypeExpr { + /// Description of the expression. + /// + /// This is a longer text which describes the expression, e.g. when hovered + /// over it in a UI. + /// + /// Optional. + core.String? description; - /// A list of scopes associated with the provided token. - core.String? scope; + /// Textual representation of an expression in Common Expression Language + /// syntax. + core.String? expression; - /// The unique user ID associated with the provided token. + /// String indicating the location of the expression for error reporting, e.g. + /// a file name and a position in the file. /// - /// For Google Accounts, this value is based on the Google Account's user ID. - /// For federated identities, this value is based on the identity pool ID and - /// the value of the mapped `google.subject` attribute. - core.String? sub; + /// Optional. + core.String? location; - /// The human-readable identifier for the token principal subject. + /// Title for the expression, i.e. a short string describing its purpose. /// - /// For example, if the provided token is associated with a workload identity - /// pool, this field contains a value in the following format: - /// `principal://iam.googleapis.com/projects//locations//workloadIdentityPools//subject/` - core.String? username; + /// This can be used e.g. in UIs which allow to enter the expression. + /// + /// Optional. + core.String? title; - GoogleIdentityStsV1IntrospectTokenResponse({ - this.active, - this.clientId, - this.exp, - this.iat, - this.iss, - this.scope, - this.sub, - this.username, + GoogleTypeExpr({ + this.description, + this.expression, + this.location, + this.title, }); - GoogleIdentityStsV1IntrospectTokenResponse.fromJson(core.Map _json) + GoogleTypeExpr.fromJson(core.Map _json) : this( - active: - _json.containsKey('active') ? _json['active'] as core.bool : null, - clientId: _json.containsKey('client_id') - ? _json['client_id'] as core.String + description: _json.containsKey('description') + ? _json['description'] as core.String : null, - exp: _json.containsKey('exp') ? _json['exp'] as core.String : null, - iat: _json.containsKey('iat') ? _json['iat'] as core.String : null, - iss: _json.containsKey('iss') ? _json['iss'] as core.String : null, - scope: - _json.containsKey('scope') ? _json['scope'] as core.String : null, - sub: _json.containsKey('sub') ? _json['sub'] as core.String : null, - username: _json.containsKey('username') - ? _json['username'] as core.String + expression: _json.containsKey('expression') + ? _json['expression'] as core.String + : null, + location: _json.containsKey('location') + ? _json['location'] as core.String : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, ); core.Map toJson() => { - if (active != null) 'active': active!, - if (clientId != null) 'client_id': clientId!, - if (exp != null) 'exp': exp!, - if (iat != null) 'iat': iat!, - if (iss != null) 'iss': iss!, - if (scope != null) 'scope': scope!, - if (sub != null) 'sub': sub!, - if (username != null) 'username': username!, + if (description != null) 'description': description!, + if (expression != null) 'expression': expression!, + if (location != null) 'location': location!, + if (title != null) 'title': title!, }; } diff --git a/generated/googleapis/lib/tagmanager/v2.dart b/generated/googleapis/lib/tagmanager/v2.dart index 000bfa0dc..715d5cd85 100644 --- a/generated/googleapis/lib/tagmanager/v2.dart +++ b/generated/googleapis/lib/tagmanager/v2.dart @@ -28,6 +28,7 @@ /// - [AccountsContainersVersionsResource] /// - [AccountsContainersWorkspacesResource] /// - [AccountsContainersWorkspacesBuiltInVariablesResource] +/// - [AccountsContainersWorkspacesClientsResource] /// - [AccountsContainersWorkspacesFoldersResource] /// - [AccountsContainersWorkspacesTagsResource] /// - [AccountsContainersWorkspacesTemplatesResource] @@ -1081,6 +1082,8 @@ class AccountsContainersWorkspacesResource { AccountsContainersWorkspacesBuiltInVariablesResource get builtInVariables => AccountsContainersWorkspacesBuiltInVariablesResource(_requester); + AccountsContainersWorkspacesClientsResource get clients => + AccountsContainersWorkspacesClientsResource(_requester); AccountsContainersWorkspacesFoldersResource get folders => AccountsContainersWorkspacesFoldersResource(_requester); AccountsContainersWorkspacesTagsResource get tags => @@ -1767,6 +1770,9 @@ class AccountsContainersWorkspacesBuiltInVariablesResource { /// - "requestMethod" /// - "clientName" /// - "queryString" + /// - "serverPageLocationUrl" + /// - "serverPageLocationPath" + /// - "serverPageLocationHostname" /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1802,6 +1808,259 @@ class AccountsContainersWorkspacesBuiltInVariablesResource { } } +class AccountsContainersWorkspacesClientsResource { + final commons.ApiRequester _requester; + + AccountsContainersWorkspacesClientsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a GTM Client. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - GTM Workspace's API relative path. Example: + /// accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} + /// Value must have pattern + /// `^accounts/\[^/\]+/containers/\[^/\]+/workspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Client]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future create( + Client request, + core.String parent, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'tagmanager/v2/' + core.Uri.encodeFull('$parent') + '/clients'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return Client.fromJson(_response as core.Map); + } + + /// Deletes a GTM Client. + /// + /// Request parameters: + /// + /// [path] - GTM Client's API relative path. Example: + /// accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id} + /// Value must have pattern + /// `^accounts/\[^/\]+/containers/\[^/\]+/workspaces/\[^/\]+/clients/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future delete( + core.String path, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'tagmanager/v2/' + core.Uri.encodeFull('$path'); + + await _requester.request( + _url, + 'DELETE', + queryParams: _queryParams, + downloadOptions: null, + ); + } + + /// Gets a GTM Client. + /// + /// Request parameters: + /// + /// [path] - GTM Client's API relative path. Example: + /// accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id} + /// Value must have pattern + /// `^accounts/\[^/\]+/containers/\[^/\]+/workspaces/\[^/\]+/clients/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Client]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future get( + core.String path, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'tagmanager/v2/' + core.Uri.encodeFull('$path'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return Client.fromJson(_response as core.Map); + } + + /// Lists all GTM Clients of a GTM container workspace. + /// + /// Request parameters: + /// + /// [parent] - GTM Workspace's API relative path. Example: + /// accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} + /// Value must have pattern + /// `^accounts/\[^/\]+/containers/\[^/\]+/workspaces/\[^/\]+$`. + /// + /// [pageToken] - Continuation token for fetching the next page of results. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListClientsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'tagmanager/v2/' + core.Uri.encodeFull('$parent') + '/clients'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return ListClientsResponse.fromJson( + _response as core.Map); + } + + /// Reverts changes to a GTM Client in a GTM Workspace. + /// + /// Request parameters: + /// + /// [path] - GTM Client's API relative path. Example: + /// accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id} + /// Value must have pattern + /// `^accounts/\[^/\]+/containers/\[^/\]+/workspaces/\[^/\]+/clients/\[^/\]+$`. + /// + /// [fingerprint] - When provided, this fingerprint must match the fingerprint + /// of the client in storage. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [RevertClientResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future revert( + core.String path, { + core.String? fingerprint, + core.String? $fields, + }) async { + final _queryParams = >{ + if (fingerprint != null) 'fingerprint': [fingerprint], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'tagmanager/v2/' + core.Uri.encodeFull('$path') + ':revert'; + + final _response = await _requester.request( + _url, + 'POST', + queryParams: _queryParams, + ); + return RevertClientResponse.fromJson( + _response as core.Map); + } + + /// Updates a GTM Client. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [path] - GTM Client's API relative path. Example: + /// accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id} + /// Value must have pattern + /// `^accounts/\[^/\]+/containers/\[^/\]+/workspaces/\[^/\]+/clients/\[^/\]+$`. + /// + /// [fingerprint] - When provided, this fingerprint must match the fingerprint + /// of the client in storage. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Client]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future update( + Client request, + core.String path, { + core.String? fingerprint, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (fingerprint != null) 'fingerprint': [fingerprint], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'tagmanager/v2/' + core.Uri.encodeFull('$path'); + + final _response = await _requester.request( + _url, + 'PUT', + body: _body, + queryParams: _queryParams, + ); + return Client.fromJson(_response as core.Map); + } +} + class AccountsContainersWorkspacesFoldersResource { final commons.ApiRequester _requester; @@ -3863,6 +4122,9 @@ class BuiltInVariable { /// - "requestMethod" /// - "clientName" /// - "queryString" + /// - "serverPageLocationUrl" + /// - "serverPageLocationPath" + /// - "serverPageLocationHostname" core.String? type; /// GTM Workspace ID. @@ -5259,6 +5521,38 @@ class ListAccountsResponse { }; } +class ListClientsResponse { + /// All GTM Clients of a GTM Container. + core.List? client; + + /// Continuation token for fetching the next page of results. + core.String? nextPageToken; + + ListClientsResponse({ + this.client, + this.nextPageToken, + }); + + ListClientsResponse.fromJson(core.Map _json) + : this( + client: _json.containsKey('client') + ? (_json['client'] as core.List) + .map((value) => Client.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (client != null) + 'client': client!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// List container versions response. class ListContainerVersionsResponse { /// All container version headers of a GTM Container. @@ -5898,6 +6192,32 @@ class RevertBuiltInVariableResponse { }; } +/// The result of reverting a client in a workspace. +class RevertClientResponse { + /// Client as it appears in the latest container version since the last + /// workspace synchronization operation. + /// + /// If no client is present, that means the client was deleted in the latest + /// container version. + Client? client; + + RevertClientResponse({ + this.client, + }); + + RevertClientResponse.fromJson(core.Map _json) + : this( + client: _json.containsKey('client') + ? Client.fromJson( + _json['client'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (client != null) 'client': client!.toJson(), + }; +} + /// The result of reverting folder changes in a workspace. class RevertFolderResponse { /// Folder as it appears in the latest container version since the last @@ -6175,6 +6495,12 @@ class Tag { /// tagmanager.accounts.containers.workspaces.tags.update core.List? blockingTriggerId; + /// Consent settings of a tag. + /// + /// @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable + /// tagmanager.accounts.containers.workspaces.tags.update + TagConsentSetting? consentSettings; + /// GTM Container ID. core.String? containerId; @@ -6312,6 +6638,7 @@ class Tag { this.accountId, this.blockingRuleId, this.blockingTriggerId, + this.consentSettings, this.containerId, this.fingerprint, this.firingRuleId, @@ -6352,6 +6679,10 @@ class Tag { .map((value) => value as core.String) .toList() : null, + consentSettings: _json.containsKey('consentSettings') + ? TagConsentSetting.fromJson(_json['consentSettings'] + as core.Map) + : null, containerId: _json.containsKey('containerId') ? _json['containerId'] as core.String : null, @@ -6434,6 +6765,8 @@ class Tag { if (accountId != null) 'accountId': accountId!, if (blockingRuleId != null) 'blockingRuleId': blockingRuleId!, if (blockingTriggerId != null) 'blockingTriggerId': blockingTriggerId!, + if (consentSettings != null) + 'consentSettings': consentSettings!.toJson(), if (containerId != null) 'containerId': containerId!, if (fingerprint != null) 'fingerprint': fingerprint!, if (firingRuleId != null) 'firingRuleId': firingRuleId!, @@ -6465,6 +6798,46 @@ class Tag { }; } +class TagConsentSetting { + /// The tag's consent status. + /// + /// If set to NEEDED, the runtime will check that the consent types specified + /// by the consent_type field have been granted. + /// Possible string values are: + /// - "notSet" : Default value where user has not specified any setting on it. + /// - "notNeeded" : Tag doesn't require any additional consent settings. + /// - "needed" : Tag requires additional consent settings. + core.String? consentStatus; + + /// The type of consents to check for during tag firing if in the consent + /// NEEDED state. + /// + /// This parameter must be of type LIST where each list item is of type + /// STRING. + Parameter? consentType; + + TagConsentSetting({ + this.consentStatus, + this.consentType, + }); + + TagConsentSetting.fromJson(core.Map _json) + : this( + consentStatus: _json.containsKey('consentStatus') + ? _json['consentStatus'] as core.String + : null, + consentType: _json.containsKey('consentType') + ? Parameter.fromJson( + _json['consentType'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (consentStatus != null) 'consentStatus': consentStatus!, + if (consentType != null) 'consentType': consentType!.toJson(), + }; +} + /// Represents a tag that fires after another tag in order to tear down /// dependencies. class TeardownTag { diff --git a/generated/googleapis/lib/testing/v1.dart b/generated/googleapis/lib/testing/v1.dart index 7cae1f7a8..74e1b53b6 100644 --- a/generated/googleapis/lib/testing/v1.dart +++ b/generated/googleapis/lib/testing/v1.dart @@ -42,11 +42,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Allows developers to run automated tests for their mobile applications on /// Google infrastructure. class TestingApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; @@ -866,8 +868,6 @@ class AndroidModel { /// A test of an android application that explores the application on a virtual /// or physical Android Device, finding culprits and crashes as it goes. -/// -/// Next tag: 30 class AndroidRoboTest { /// The APK for the application under test. FileReference? appApk; @@ -904,8 +904,8 @@ class AndroidRoboTest { /// /// Most clients should allow the server to populate this field automatically. /// Possible string values are: - /// - "ROBO_MODE_UNSPECIFIED" : LINT.IfChange This means that the server - /// should choose the mode. Recommended. + /// - "ROBO_MODE_UNSPECIFIED" : This means that the server should choose the + /// mode. Recommended. /// - "ROBO_VERSION_1" : Runs Robo in UIAutomator-only mode without app /// resigning /// - "ROBO_VERSION_2" : Runs Robo in standard Espresso with UIAutomator @@ -2268,9 +2268,9 @@ class IosTestSetup { /// List of directories on the device to upload to Cloud Storage at the end of /// the test. /// - /// Directories should either be in a shared directory (e.g. + /// Directories should either be in a shared directory (such as /// /private/var/mobile/Media) or within an accessible directory inside the - /// app's filesystem (e.g. /Documents) by specifying the bundle id. + /// app's filesystem (such as /Documents) by specifying the bundle ID. core.List? pullDirectories; /// List of files to push to the device before starting the test. @@ -2714,10 +2714,10 @@ class ProvidedSoftwareCatalog { /// https://maven.google.com/web/index.html#androidx.test:orchestrator. core.String? androidxOrchestratorVersion; - /// A string representing the current version of Android Test Orchestrator - /// that is used in the environment. + /// Deprecated: Use AndroidX Test Orchestrator going forward. /// - /// The package is available at + /// A string representing the current version of Android Test Orchestrator + /// that is used in the environment. The package is available at /// https://maven.google.com/web/index.html#com.android.support.test:orchestrator. core.String? orchestratorVersion; diff --git a/generated/googleapis/lib/texttospeech/v1.dart b/generated/googleapis/lib/texttospeech/v1.dart index ee3dc6bdd..576138678 100644 --- a/generated/googleapis/lib/texttospeech/v1.dart +++ b/generated/googleapis/lib/texttospeech/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Synthesizes natural-sounding speech by applying powerful neural network /// models. class TexttospeechApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -165,6 +166,10 @@ class AudioConfig { /// will be a file which can be played natively on Android, and in browsers /// (at least Chrome and Firefox). The quality of the encoding is considerably /// higher than MP3 while using approximately the same bitrate. + /// - "MULAW" : 8-bit samples that compand 14-bit audio samples using G.711 + /// PCMU/mu-law. Audio content returned as MULAW also contains a WAV header. + /// - "ALAW" : 8-bit samples that compand 14-bit audio samples using G.711 + /// PCMU/A-law. Audio content returned as ALAW also contains a WAV header. core.String? audioEncoding; /// Input only. diff --git a/generated/googleapis/lib/tpu/v1.dart b/generated/googleapis/lib/tpu/v1.dart index 1e7330c0e..2a9dc1fbe 100644 --- a/generated/googleapis/lib/tpu/v1.dart +++ b/generated/googleapis/lib/tpu/v1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// TPU API provides customers with access to Google TPU technology. class TPUApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -514,7 +515,7 @@ class ProjectsLocationsNodesResource { return Operation.fromJson(_response as core.Map); } - /// Stops a node. + /// Stops a node, this operation is only available with single TPU nodes. /// /// [request] - The metadata request object. /// @@ -1293,7 +1294,7 @@ class Node { /// Possible string values are: /// - "STATE_UNSPECIFIED" : TPU node state is not known/set. /// - "CREATING" : TPU node is being created. - /// - "READY" : TPU node has been created and is fully usable. + /// - "READY" : TPU node has been created. /// - "RESTARTING" : TPU node is restarting. /// - "REIMAGING" : TPU node is undergoing reimaging. /// - "DELETING" : TPU node is being deleted. @@ -1543,7 +1544,7 @@ class OperationMetadata { /// Identifies whether the user has requested cancellation of the operation. /// - /// Operations that have successfully been cancelled have Operation.error + /// Operations that have been cancelled successfully have Operation.error /// value with a google.rpc.Status.code of 1, corresponding to /// `Code.CANCELLED`. /// diff --git a/generated/googleapis/lib/trafficdirector/v2.dart b/generated/googleapis/lib/trafficdirector/v2.dart index b72824510..697ab9754 100644 --- a/generated/googleapis/lib/trafficdirector/v2.dart +++ b/generated/googleapis/lib/trafficdirector/v2.dart @@ -34,7 +34,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class TrafficDirectorServiceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/translate/v3.dart b/generated/googleapis/lib/translate/v3.dart index c81ef8f1e..df5d61844 100644 --- a/generated/googleapis/lib/translate/v3.dart +++ b/generated/googleapis/lib/translate/v3.dart @@ -41,7 +41,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Integrates text translation into your website or application. class TranslateApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/vault/v1.dart b/generated/googleapis/lib/vault/v1.dart index 5777a6acc..cd3ad7380 100644 --- a/generated/googleapis/lib/vault/v1.dart +++ b/generated/googleapis/lib/vault/v1.dart @@ -12,7 +12,7 @@ // ignore_for_file: unnecessary_lambdas // ignore_for_file: unnecessary_string_interpolations -/// G Suite Vault API - v1 +/// Google Vault API - v1 /// /// Retention and eDiscovery for Google Workspace. To work with Vault resources, /// the account must have the diff --git a/generated/googleapis/lib/vectortile/v1.dart b/generated/googleapis/lib/vectortile/v1.dart index 9eb59f223..fd3db6d0c 100644 --- a/generated/googleapis/lib/vectortile/v1.dart +++ b/generated/googleapis/lib/vectortile/v1.dart @@ -287,14 +287,16 @@ class TerraintilesResource { /// For example: Original resolution: 100px (width) * 30px (height) /// max_elevation_resolution: 30 New resolution: 30px (width) * 30px (height) /// - /// [minElevationResolutionCells] - The minimum allowed resolution for the - /// returned elevation heightmap. Possible values: between 0 and 1024 (and not - /// more than max_elevation_resolution_cells). Zero is supported for backward - /// compatibility. Under-sized heightmaps will be non-uniformly up-sampled - /// such that each edge is no shorter than this value. Non-uniformity is - /// chosen to maximise the amount of preserved data. For example: Original - /// resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New - /// resolution: 30px (width) * 30px (height) + /// [minElevationResolutionCells] - api-linter: + /// core::0131::request-unknown-fields=disabled aip.dev/not-precedent: + /// Maintaining existing request parameter pattern. The minimum allowed + /// resolution for the returned elevation heightmap. Possible values: between + /// 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is + /// supported for backward compatibility. Under-sized heightmaps will be + /// non-uniformly up-sampled such that each edge is no shorter than this + /// value. Non-uniformity is chosen to maximise the amount of preserved data. + /// For example: Original resolution: 30px (width) * 10px (height) + /// min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height) /// /// [terrainFormats] - Terrain formats that the client understands. /// @@ -806,7 +808,9 @@ class FeatureTile { /// Rather than storing the altitudes directly, we store the diffs between them /// as integers at some requested level of precision to take advantage of /// integer packing. The actual altitude values a\[\] can be reconstructed using -/// the scale and each row's first_altitude and altitude_diff fields. +/// the scale and each row's first_altitude and altitude_diff fields. More +/// details in go/elevation-encoding-options-for-enduro under "Recommended +/// implementation". class FirstDerivativeElevationGrid { /// A multiplier applied to the altitude fields below to extract the actual /// altitudes in meters from the elevation grid. @@ -1252,6 +1256,8 @@ class TerrainTile { TileCoordinates? coordinates; /// Terrain elevation data encoded as a FirstDerivativeElevationGrid. + /// + /// cs/symbol:FirstDerivativeElevationGrid. FirstDerivativeElevationGrid? firstDerivative; /// Resource name of the tile. @@ -1263,7 +1269,8 @@ class TerrainTile { /// Terrain elevation data encoded as a SecondDerivativeElevationGrid. /// - /// . + /// cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for + /// more details. SecondDerivativeElevationGrid? secondDerivative; TerrainTile({ diff --git a/generated/googleapis/lib/videointelligence/v1.dart b/generated/googleapis/lib/videointelligence/v1.dart index b0ded2ff6..1cd3f2ed6 100644 --- a/generated/googleapis/lib/videointelligence/v1.dart +++ b/generated/googleapis/lib/videointelligence/v1.dart @@ -50,7 +50,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// It also specifies the region for annotation and transcribes speech to text. /// Supports both asynchronous API and streaming API. class CloudVideoIntelligenceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/vision/v1.dart b/generated/googleapis/lib/vision/v1.dart index 6bed48864..16850f3e9 100644 --- a/generated/googleapis/lib/vision/v1.dart +++ b/generated/googleapis/lib/vision/v1.dart @@ -57,7 +57,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// landmark detection, optical character recognition (OCR), and detection of /// explicit content, into applications. class VisionApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/webrisk/v1.dart b/generated/googleapis/lib/webrisk/v1.dart index c598b9f64..c9aea1226 100644 --- a/generated/googleapis/lib/webrisk/v1.dart +++ b/generated/googleapis/lib/webrisk/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class WebRiskApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/websecurityscanner/v1.dart b/generated/googleapis/lib/websecurityscanner/v1.dart index 5d71a119d..d50d66170 100644 --- a/generated/googleapis/lib/websecurityscanner/v1.dart +++ b/generated/googleapis/lib/websecurityscanner/v1.dart @@ -43,7 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Scans your Compute and App Engine apps for common web vulnerabilities. class WebSecurityScannerApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis/lib/workflowexecutions/v1.dart b/generated/googleapis/lib/workflowexecutions/v1.dart index a9d4ad7cc..919e36f1d 100644 --- a/generated/googleapis/lib/workflowexecutions/v1.dart +++ b/generated/googleapis/lib/workflowexecutions/v1.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Execute workflows created with Workflows API. class WorkflowExecutionsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -353,6 +354,15 @@ class Execution { /// `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` core.String? argument; + /// The call logging level associated to this execution. + /// Possible string values are: + /// - "CALL_LOG_LEVEL_UNSPECIFIED" : No call logging specified. + /// - "LOG_ALL_CALLS" : Log all call steps within workflows, all call returns, + /// and all exceptions raised. + /// - "LOG_ERRORS_ONLY" : Log only exceptions that are raised from call steps + /// within workflows. + core.String? callLogLevel; + /// Marks the end of execution, successful or not. /// /// Output only. @@ -404,6 +414,7 @@ class Execution { Execution({ this.argument, + this.callLogLevel, this.endTime, this.error, this.name, @@ -418,6 +429,9 @@ class Execution { argument: _json.containsKey('argument') ? _json['argument'] as core.String : null, + callLogLevel: _json.containsKey('callLogLevel') + ? _json['callLogLevel'] as core.String + : null, endTime: _json.containsKey('endTime') ? _json['endTime'] as core.String : null, @@ -441,6 +455,7 @@ class Execution { core.Map toJson() => { if (argument != null) 'argument': argument!, + if (callLogLevel != null) 'callLogLevel': callLogLevel!, if (endTime != null) 'endTime': endTime!, if (error != null) 'error': error!.toJson(), if (name != null) 'name': name!, diff --git a/generated/googleapis/lib/workflows/v1.dart b/generated/googleapis/lib/workflows/v1.dart index 0d1b70b3a..00a678fe6 100644 --- a/generated/googleapis/lib/workflows/v1.dart +++ b/generated/googleapis/lib/workflows/v1.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// To execute workflows and manage executions, see the Workflows Executions /// API. class WorkflowsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1000,16 +1001,16 @@ class Workflow { /// Output only. core.String? revisionId; - /// Name of the service account associated with the latest workflow version. + /// The service account associated with the latest workflow version. /// /// This service account represents the identity of the workflow and /// determines what permissions the workflow has. Format: - /// projects/{project}/serviceAccounts/{account} Using `-` as a wildcard for - /// the `{project}` will infer the project from the account. The `{account}` - /// value can be the `email` address or the `unique_id` of the service - /// account. If not provided, workflow will use the project's default service - /// account. Modifying this field for an existing workflow results in a new - /// workflow revision. + /// projects/{project}/serviceAccounts/{account} or {account} Using `-` as a + /// wildcard for the `{project}` or not providing one at all will infer the + /// project from the account. The `{account}` value can be the `email` address + /// or the `unique_id` of the service account. If not provided, workflow will + /// use the project's default service account. Modifying this field for an + /// existing workflow results in a new workflow revision. core.String? serviceAccount; /// Workflow code to be executed. diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart index 1bde274aa..bdf1bf75c 100644 --- a/generated/googleapis/lib/youtube/v3.dart +++ b/generated/googleapis/lib/youtube/v3.dart @@ -4260,6 +4260,8 @@ class TestsResource { /// /// [part] - null /// + /// [externalChannelId] - null + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -4273,6 +4275,7 @@ class TestsResource { async.Future insert( TestItem request, core.List part, { + core.String? externalChannelId, core.String? $fields, }) async { final _body = convert.json.encode(request.toJson()); @@ -4281,6 +4284,7 @@ class TestsResource { } final _queryParams = >{ 'part': part, + if (externalChannelId != null) 'externalChannelId': [externalChannelId], if ($fields != null) 'fields': [$fields], }; @@ -11408,6 +11412,50 @@ class LiveChatFanFundingEventDetails { }; } +class LiveChatMemberMilestoneChatDetails { + /// The name of the Level at which the viever is a member. + /// + /// The Level names are defined by the YouTube channel offering the + /// Membership. In some situations this field isn't filled. + core.String? memberLevelName; + + /// The total amount of months (rounded up) the viewer has been a member that + /// granted them this Member Milestone Chat. + /// + /// This is the same number of months as is being displayed to YouTube users. + core.int? memberMonth; + + /// The comment added by the member to this Member Milestone Chat. + /// + /// This field is empty for messages without a comment from the member. + core.String? userComment; + + LiveChatMemberMilestoneChatDetails({ + this.memberLevelName, + this.memberMonth, + this.userComment, + }); + + LiveChatMemberMilestoneChatDetails.fromJson(core.Map _json) + : this( + memberLevelName: _json.containsKey('memberLevelName') + ? _json['memberLevelName'] as core.String + : null, + memberMonth: _json.containsKey('memberMonth') + ? _json['memberMonth'] as core.int + : null, + userComment: _json.containsKey('userComment') + ? _json['userComment'] as core.String + : null, + ); + + core.Map toJson() => { + if (memberLevelName != null) 'memberLevelName': memberLevelName!, + if (memberMonth != null) 'memberMonth': memberMonth!, + if (userComment != null) 'userComment': userComment!, + }; +} + /// A *liveChatMessage* resource represents a chat message in a YouTube Live /// Chat. class LiveChatMessage { @@ -11668,16 +11716,19 @@ class LiveChatMessageRetractedDetails { }; } +/// Next ID: 31 class LiveChatMessageSnippet { /// The ID of the user that authored this message, this field is not always /// filled. /// /// textMessageEvent - the user that wrote the message fanFundingEvent - the /// user that funded the broadcast newSponsorEvent - the user that just became - /// a sponsor messageDeletedEvent - the moderator that took the action + /// a sponsor memberMilestoneChatEvent - the member that sent the message + /// messageDeletedEvent - the moderator that took the action /// messageRetractedEvent - the author that retracted their message /// userBannedEvent - the moderator that took the action superChatEvent - the - /// user that made the purchase + /// user that made the purchase superStickerEvent - the user that made the + /// purchase core.String? authorChannelId; /// Contains a string that can be displayed to the user. @@ -11693,9 +11744,19 @@ class LiveChatMessageSnippet { /// Whether the message has display content that should be displayed to users. core.bool? hasDisplayContent; core.String? liveChatId; + + /// Details about the Member Milestone Chat event, this is only set if the + /// type is 'memberMilestoneChatEvent'. + LiveChatMemberMilestoneChatDetails? memberMilestoneChatDetails; LiveChatMessageDeletedDetails? messageDeletedDetails; LiveChatMessageRetractedDetails? messageRetractedDetails; + /// Details about the New Member Announcement event, this is only set if the + /// type is 'newSponsorEvent'. + /// + /// Please note that "member" is the new term for "sponsor". + LiveChatNewSponsorDetails? newSponsorDetails; + /// The date and time when the message was orignally published. core.DateTime? publishedAt; @@ -11722,6 +11783,7 @@ class LiveChatMessageSnippet { /// - "sponsorOnlyModeStartedEvent" /// - "sponsorOnlyModeEndedEvent" /// - "newSponsorEvent" + /// - "memberMilestoneChatEvent" /// - "messageDeletedEvent" /// - "messageRetractedEvent" /// - "userBannedEvent" @@ -11736,8 +11798,10 @@ class LiveChatMessageSnippet { this.fanFundingEventDetails, this.hasDisplayContent, this.liveChatId, + this.memberMilestoneChatDetails, this.messageDeletedDetails, this.messageRetractedDetails, + this.newSponsorDetails, this.publishedAt, this.superChatDetails, this.superStickerDetails, @@ -11765,6 +11829,12 @@ class LiveChatMessageSnippet { liveChatId: _json.containsKey('liveChatId') ? _json['liveChatId'] as core.String : null, + memberMilestoneChatDetails: + _json.containsKey('memberMilestoneChatDetails') + ? LiveChatMemberMilestoneChatDetails.fromJson( + _json['memberMilestoneChatDetails'] + as core.Map) + : null, messageDeletedDetails: _json.containsKey('messageDeletedDetails') ? LiveChatMessageDeletedDetails.fromJson( _json['messageDeletedDetails'] @@ -11775,6 +11845,10 @@ class LiveChatMessageSnippet { _json['messageRetractedDetails'] as core.Map) : null, + newSponsorDetails: _json.containsKey('newSponsorDetails') + ? LiveChatNewSponsorDetails.fromJson(_json['newSponsorDetails'] + as core.Map) + : null, publishedAt: _json.containsKey('publishedAt') ? core.DateTime.parse(_json['publishedAt'] as core.String) : null, @@ -11806,10 +11880,14 @@ class LiveChatMessageSnippet { 'fanFundingEventDetails': fanFundingEventDetails!.toJson(), if (hasDisplayContent != null) 'hasDisplayContent': hasDisplayContent!, if (liveChatId != null) 'liveChatId': liveChatId!, + if (memberMilestoneChatDetails != null) + 'memberMilestoneChatDetails': memberMilestoneChatDetails!.toJson(), if (messageDeletedDetails != null) 'messageDeletedDetails': messageDeletedDetails!.toJson(), if (messageRetractedDetails != null) 'messageRetractedDetails': messageRetractedDetails!.toJson(), + if (newSponsorDetails != null) + 'newSponsorDetails': newSponsorDetails!.toJson(), if (publishedAt != null) 'publishedAt': publishedAt!.toIso8601String(), if (superChatDetails != null) 'superChatDetails': superChatDetails!.toJson(), @@ -11988,6 +12066,40 @@ class LiveChatModeratorSnippet { }; } +class LiveChatNewSponsorDetails { + /// If the viewer just had upgraded from a lower level. + /// + /// For viewers that were not members at the time of purchase, this field is + /// false. + core.bool? isUpgrade; + + /// The name of the Level that the viewer just had joined. + /// + /// The Level names are defined by the YouTube channel offering the + /// Membership. In some situations this field isn't filled. + core.String? memberLevelName; + + LiveChatNewSponsorDetails({ + this.isUpgrade, + this.memberLevelName, + }); + + LiveChatNewSponsorDetails.fromJson(core.Map _json) + : this( + isUpgrade: _json.containsKey('isUpgrade') + ? _json['isUpgrade'] as core.bool + : null, + memberLevelName: _json.containsKey('memberLevelName') + ? _json['memberLevelName'] as core.String + : null, + ); + + core.Map toJson() => { + if (isUpgrade != null) 'isUpgrade': isUpgrade!, + if (memberLevelName != null) 'memberLevelName': memberLevelName!, + }; +} + class LiveChatSuperChatDetails { /// A rendered string that displays the fund amount and currency to the user. core.String? amountDisplayString; diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml index 78da76c2d..3fb7b566b 100644 --- a/generated/googleapis/pubspec.yaml +++ b/generated/googleapis/pubspec.yaml @@ -1,5 +1,5 @@ name: googleapis -version: 5.0.0-dev +version: 5.0.0 description: Auto-generated client libraries for accessing Google APIs described through the API discovery service. repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis environment: diff --git a/generated/googleapis/test/abusiveexperiencereport/v1_test.dart b/generated/googleapis/test/abusiveexperiencereport/v1_test.dart index 2c5877a22..890b4df21 100644 --- a/generated/googleapis/test/abusiveexperiencereport/v1_test.dart +++ b/generated/googleapis/test/abusiveexperiencereport/v1_test.dart @@ -75,12 +75,12 @@ void checkSiteSummaryResponse(api.SiteSummaryResponse o) { buildCounterSiteSummaryResponse--; } -core.List buildUnnamed6301() => [ +core.List buildUnnamed6368() => [ buildSiteSummaryResponse(), buildSiteSummaryResponse(), ]; -void checkUnnamed6301(core.List o) { +void checkUnnamed6368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSiteSummaryResponse(o[0]); checkSiteSummaryResponse(o[1]); @@ -91,7 +91,7 @@ api.ViolatingSitesResponse buildViolatingSitesResponse() { final o = api.ViolatingSitesResponse(); buildCounterViolatingSitesResponse++; if (buildCounterViolatingSitesResponse < 3) { - o.violatingSites = buildUnnamed6301(); + o.violatingSites = buildUnnamed6368(); } buildCounterViolatingSitesResponse--; return o; @@ -100,7 +100,7 @@ api.ViolatingSitesResponse buildViolatingSitesResponse() { void checkViolatingSitesResponse(api.ViolatingSitesResponse o) { buildCounterViolatingSitesResponse++; if (buildCounterViolatingSitesResponse < 3) { - checkUnnamed6301(o.violatingSites!); + checkUnnamed6368(o.violatingSites!); } buildCounterViolatingSitesResponse--; } diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart index 39789b0aa..93adac363 100644 --- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart +++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart @@ -90,12 +90,12 @@ void checkAmpUrlError(api.AmpUrlError o) { buildCounterAmpUrlError--; } -core.List buildUnnamed4508() => [ +core.List buildUnnamed4492() => [ 'foo', 'foo', ]; -void checkUnnamed4508(core.List o) { +void checkUnnamed4492(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -113,7 +113,7 @@ api.BatchGetAmpUrlsRequest buildBatchGetAmpUrlsRequest() { buildCounterBatchGetAmpUrlsRequest++; if (buildCounterBatchGetAmpUrlsRequest < 3) { o.lookupStrategy = 'foo'; - o.urls = buildUnnamed4508(); + o.urls = buildUnnamed4492(); } buildCounterBatchGetAmpUrlsRequest--; return o; @@ -126,28 +126,28 @@ void checkBatchGetAmpUrlsRequest(api.BatchGetAmpUrlsRequest o) { o.lookupStrategy!, unittest.equals('foo'), ); - checkUnnamed4508(o.urls!); + checkUnnamed4492(o.urls!); } buildCounterBatchGetAmpUrlsRequest--; } -core.List buildUnnamed4509() => [ +core.List buildUnnamed4493() => [ buildAmpUrl(), buildAmpUrl(), ]; -void checkUnnamed4509(core.List o) { +void checkUnnamed4493(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAmpUrl(o[0]); checkAmpUrl(o[1]); } -core.List buildUnnamed4510() => [ +core.List buildUnnamed4494() => [ buildAmpUrlError(), buildAmpUrlError(), ]; -void checkUnnamed4510(core.List o) { +void checkUnnamed4494(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAmpUrlError(o[0]); checkAmpUrlError(o[1]); @@ -158,8 +158,8 @@ api.BatchGetAmpUrlsResponse buildBatchGetAmpUrlsResponse() { final o = api.BatchGetAmpUrlsResponse(); buildCounterBatchGetAmpUrlsResponse++; if (buildCounterBatchGetAmpUrlsResponse < 3) { - o.ampUrls = buildUnnamed4509(); - o.urlErrors = buildUnnamed4510(); + o.ampUrls = buildUnnamed4493(); + o.urlErrors = buildUnnamed4494(); } buildCounterBatchGetAmpUrlsResponse--; return o; @@ -168,8 +168,8 @@ api.BatchGetAmpUrlsResponse buildBatchGetAmpUrlsResponse() { void checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) { buildCounterBatchGetAmpUrlsResponse++; if (buildCounterBatchGetAmpUrlsResponse < 3) { - checkUnnamed4509(o.ampUrls!); - checkUnnamed4510(o.urlErrors!); + checkUnnamed4493(o.ampUrls!); + checkUnnamed4494(o.urlErrors!); } buildCounterBatchGetAmpUrlsResponse--; } diff --git a/generated/googleapis/test/accessapproval/v1_test.dart b/generated/googleapis/test/accessapproval/v1_test.dart index 17bf2482f..677288803 100644 --- a/generated/googleapis/test/accessapproval/v1_test.dart +++ b/generated/googleapis/test/accessapproval/v1_test.dart @@ -26,23 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5733() => [ +core.List buildUnnamed5798() => [ buildEnrolledService(), buildEnrolledService(), ]; -void checkUnnamed5733(core.List o) { +void checkUnnamed5798(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnrolledService(o[0]); checkEnrolledService(o[1]); } -core.List buildUnnamed5734() => [ +core.List buildUnnamed5799() => [ 'foo', 'foo', ]; -void checkUnnamed5734(core.List o) { +void checkUnnamed5799(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -60,9 +60,9 @@ api.AccessApprovalSettings buildAccessApprovalSettings() { buildCounterAccessApprovalSettings++; if (buildCounterAccessApprovalSettings < 3) { o.enrolledAncestor = true; - o.enrolledServices = buildUnnamed5733(); + o.enrolledServices = buildUnnamed5798(); o.name = 'foo'; - o.notificationEmails = buildUnnamed5734(); + o.notificationEmails = buildUnnamed5799(); } buildCounterAccessApprovalSettings--; return o; @@ -72,12 +72,12 @@ void checkAccessApprovalSettings(api.AccessApprovalSettings o) { buildCounterAccessApprovalSettings++; if (buildCounterAccessApprovalSettings < 3) { unittest.expect(o.enrolledAncestor!, unittest.isTrue); - checkUnnamed5733(o.enrolledServices!); + checkUnnamed5798(o.enrolledServices!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5734(o.notificationEmails!); + checkUnnamed5799(o.notificationEmails!); } buildCounterAccessApprovalSettings--; } @@ -313,12 +313,12 @@ void checkEnrolledService(api.EnrolledService o) { buildCounterEnrolledService--; } -core.List buildUnnamed5735() => [ +core.List buildUnnamed5800() => [ buildApprovalRequest(), buildApprovalRequest(), ]; -void checkUnnamed5735(core.List o) { +void checkUnnamed5800(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApprovalRequest(o[0]); checkApprovalRequest(o[1]); @@ -329,7 +329,7 @@ api.ListApprovalRequestsResponse buildListApprovalRequestsResponse() { final o = api.ListApprovalRequestsResponse(); buildCounterListApprovalRequestsResponse++; if (buildCounterListApprovalRequestsResponse < 3) { - o.approvalRequests = buildUnnamed5735(); + o.approvalRequests = buildUnnamed5800(); o.nextPageToken = 'foo'; } buildCounterListApprovalRequestsResponse--; @@ -339,7 +339,7 @@ api.ListApprovalRequestsResponse buildListApprovalRequestsResponse() { void checkListApprovalRequestsResponse(api.ListApprovalRequestsResponse o) { buildCounterListApprovalRequestsResponse++; if (buildCounterListApprovalRequestsResponse < 3) { - checkUnnamed5735(o.approvalRequests!); + checkUnnamed5800(o.approvalRequests!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), diff --git a/generated/googleapis/test/accesscontextmanager/v1_test.dart b/generated/googleapis/test/accesscontextmanager/v1_test.dart index 59c3aa78c..518f79f09 100644 --- a/generated/googleapis/test/accesscontextmanager/v1_test.dart +++ b/generated/googleapis/test/accesscontextmanager/v1_test.dart @@ -26,6 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.int buildCounterAccessContextManagerOperationMetadata = 0; +api.AccessContextManagerOperationMetadata + buildAccessContextManagerOperationMetadata() { + final o = api.AccessContextManagerOperationMetadata(); + buildCounterAccessContextManagerOperationMetadata++; + if (buildCounterAccessContextManagerOperationMetadata < 3) {} + buildCounterAccessContextManagerOperationMetadata--; + return o; +} + +void checkAccessContextManagerOperationMetadata( + api.AccessContextManagerOperationMetadata o) { + buildCounterAccessContextManagerOperationMetadata++; + if (buildCounterAccessContextManagerOperationMetadata < 3) {} + buildCounterAccessContextManagerOperationMetadata--; +} + core.int buildCounterAccessLevel = 0; api.AccessLevel buildAccessLevel() { final o = api.AccessLevel(); @@ -99,12 +116,12 @@ void checkAccessPolicy(api.AccessPolicy o) { buildCounterAccessPolicy--; } -core.List buildUnnamed7371() => [ +core.List buildUnnamed7451() => [ buildMethodSelector(), buildMethodSelector(), ]; -void checkUnnamed7371(core.List o) { +void checkUnnamed7451(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMethodSelector(o[0]); checkMethodSelector(o[1]); @@ -115,7 +132,7 @@ api.ApiOperation buildApiOperation() { final o = api.ApiOperation(); buildCounterApiOperation++; if (buildCounterApiOperation < 3) { - o.methodSelectors = buildUnnamed7371(); + o.methodSelectors = buildUnnamed7451(); o.serviceName = 'foo'; } buildCounterApiOperation--; @@ -125,7 +142,7 @@ api.ApiOperation buildApiOperation() { void checkApiOperation(api.ApiOperation o) { buildCounterApiOperation++; if (buildCounterApiOperation < 3) { - checkUnnamed7371(o.methodSelectors!); + checkUnnamed7451(o.methodSelectors!); unittest.expect( o.serviceName!, unittest.equals('foo'), @@ -134,12 +151,12 @@ void checkApiOperation(api.ApiOperation o) { buildCounterApiOperation--; } -core.List buildUnnamed7372() => [ +core.List buildUnnamed7452() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed7372(core.List o) { +void checkUnnamed7452(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); @@ -151,7 +168,7 @@ api.BasicLevel buildBasicLevel() { buildCounterBasicLevel++; if (buildCounterBasicLevel < 3) { o.combiningFunction = 'foo'; - o.conditions = buildUnnamed7372(); + o.conditions = buildUnnamed7452(); } buildCounterBasicLevel--; return o; @@ -164,7 +181,7 @@ void checkBasicLevel(api.BasicLevel o) { o.combiningFunction!, unittest.equals('foo'), ); - checkUnnamed7372(o.conditions!); + checkUnnamed7452(o.conditions!); } buildCounterBasicLevel--; } @@ -206,12 +223,12 @@ void checkCommitServicePerimetersRequest(api.CommitServicePerimetersRequest o) { buildCounterCommitServicePerimetersRequest--; } -core.List buildUnnamed7373() => [ +core.List buildUnnamed7453() => [ buildServicePerimeter(), buildServicePerimeter(), ]; -void checkUnnamed7373(core.List o) { +void checkUnnamed7453(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServicePerimeter(o[0]); checkServicePerimeter(o[1]); @@ -222,7 +239,7 @@ api.CommitServicePerimetersResponse buildCommitServicePerimetersResponse() { final o = api.CommitServicePerimetersResponse(); buildCounterCommitServicePerimetersResponse++; if (buildCounterCommitServicePerimetersResponse < 3) { - o.servicePerimeters = buildUnnamed7373(); + o.servicePerimeters = buildUnnamed7453(); } buildCounterCommitServicePerimetersResponse--; return o; @@ -232,17 +249,17 @@ void checkCommitServicePerimetersResponse( api.CommitServicePerimetersResponse o) { buildCounterCommitServicePerimetersResponse++; if (buildCounterCommitServicePerimetersResponse < 3) { - checkUnnamed7373(o.servicePerimeters!); + checkUnnamed7453(o.servicePerimeters!); } buildCounterCommitServicePerimetersResponse--; } -core.List buildUnnamed7374() => [ +core.List buildUnnamed7454() => [ 'foo', 'foo', ]; -void checkUnnamed7374(core.List o) { +void checkUnnamed7454(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -254,12 +271,12 @@ void checkUnnamed7374(core.List o) { ); } -core.List buildUnnamed7375() => [ +core.List buildUnnamed7455() => [ 'foo', 'foo', ]; -void checkUnnamed7375(core.List o) { +void checkUnnamed7455(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -271,12 +288,12 @@ void checkUnnamed7375(core.List o) { ); } -core.List buildUnnamed7376() => [ +core.List buildUnnamed7456() => [ 'foo', 'foo', ]; -void checkUnnamed7376(core.List o) { +void checkUnnamed7456(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -288,12 +305,12 @@ void checkUnnamed7376(core.List o) { ); } -core.List buildUnnamed7377() => [ +core.List buildUnnamed7457() => [ 'foo', 'foo', ]; -void checkUnnamed7377(core.List o) { +void checkUnnamed7457(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -311,11 +328,11 @@ api.Condition buildCondition() { buildCounterCondition++; if (buildCounterCondition < 3) { o.devicePolicy = buildDevicePolicy(); - o.ipSubnetworks = buildUnnamed7374(); - o.members = buildUnnamed7375(); + o.ipSubnetworks = buildUnnamed7454(); + o.members = buildUnnamed7455(); o.negate = true; - o.regions = buildUnnamed7376(); - o.requiredAccessLevels = buildUnnamed7377(); + o.regions = buildUnnamed7456(); + o.requiredAccessLevels = buildUnnamed7457(); } buildCounterCondition--; return o; @@ -325,11 +342,11 @@ void checkCondition(api.Condition o) { buildCounterCondition++; if (buildCounterCondition < 3) { checkDevicePolicy(o.devicePolicy!); - checkUnnamed7374(o.ipSubnetworks!); - checkUnnamed7375(o.members!); + checkUnnamed7454(o.ipSubnetworks!); + checkUnnamed7455(o.members!); unittest.expect(o.negate!, unittest.isTrue); - checkUnnamed7376(o.regions!); - checkUnnamed7377(o.requiredAccessLevels!); + checkUnnamed7456(o.regions!); + checkUnnamed7457(o.requiredAccessLevels!); } buildCounterCondition--; } @@ -353,12 +370,12 @@ void checkCustomLevel(api.CustomLevel o) { buildCounterCustomLevel--; } -core.List buildUnnamed7378() => [ +core.List buildUnnamed7458() => [ 'foo', 'foo', ]; -void checkUnnamed7378(core.List o) { +void checkUnnamed7458(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -370,12 +387,12 @@ void checkUnnamed7378(core.List o) { ); } -core.List buildUnnamed7379() => [ +core.List buildUnnamed7459() => [ 'foo', 'foo', ]; -void checkUnnamed7379(core.List o) { +void checkUnnamed7459(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -387,12 +404,12 @@ void checkUnnamed7379(core.List o) { ); } -core.List buildUnnamed7380() => [ +core.List buildUnnamed7460() => [ buildOsConstraint(), buildOsConstraint(), ]; -void checkUnnamed7380(core.List o) { +void checkUnnamed7460(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOsConstraint(o[0]); checkOsConstraint(o[1]); @@ -403,9 +420,9 @@ api.DevicePolicy buildDevicePolicy() { final o = api.DevicePolicy(); buildCounterDevicePolicy++; if (buildCounterDevicePolicy < 3) { - o.allowedDeviceManagementLevels = buildUnnamed7378(); - o.allowedEncryptionStatuses = buildUnnamed7379(); - o.osConstraints = buildUnnamed7380(); + o.allowedDeviceManagementLevels = buildUnnamed7458(); + o.allowedEncryptionStatuses = buildUnnamed7459(); + o.osConstraints = buildUnnamed7460(); o.requireAdminApproval = true; o.requireCorpOwned = true; o.requireScreenlock = true; @@ -417,9 +434,9 @@ api.DevicePolicy buildDevicePolicy() { void checkDevicePolicy(api.DevicePolicy o) { buildCounterDevicePolicy++; if (buildCounterDevicePolicy < 3) { - checkUnnamed7378(o.allowedDeviceManagementLevels!); - checkUnnamed7379(o.allowedEncryptionStatuses!); - checkUnnamed7380(o.osConstraints!); + checkUnnamed7458(o.allowedDeviceManagementLevels!); + checkUnnamed7459(o.allowedEncryptionStatuses!); + checkUnnamed7460(o.osConstraints!); unittest.expect(o.requireAdminApproval!, unittest.isTrue); unittest.expect(o.requireCorpOwned!, unittest.isTrue); unittest.expect(o.requireScreenlock!, unittest.isTrue); @@ -427,12 +444,12 @@ void checkDevicePolicy(api.DevicePolicy o) { buildCounterDevicePolicy--; } -core.List buildUnnamed7381() => [ +core.List buildUnnamed7461() => [ 'foo', 'foo', ]; -void checkUnnamed7381(core.List o) { +void checkUnnamed7461(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -449,7 +466,7 @@ api.EgressFrom buildEgressFrom() { final o = api.EgressFrom(); buildCounterEgressFrom++; if (buildCounterEgressFrom < 3) { - o.identities = buildUnnamed7381(); + o.identities = buildUnnamed7461(); o.identityType = 'foo'; } buildCounterEgressFrom--; @@ -459,7 +476,7 @@ api.EgressFrom buildEgressFrom() { void checkEgressFrom(api.EgressFrom o) { buildCounterEgressFrom++; if (buildCounterEgressFrom < 3) { - checkUnnamed7381(o.identities!); + checkUnnamed7461(o.identities!); unittest.expect( o.identityType!, unittest.equals('foo'), @@ -489,23 +506,23 @@ void checkEgressPolicy(api.EgressPolicy o) { buildCounterEgressPolicy--; } -core.List buildUnnamed7382() => [ +core.List buildUnnamed7462() => [ buildApiOperation(), buildApiOperation(), ]; -void checkUnnamed7382(core.List o) { +void checkUnnamed7462(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiOperation(o[0]); checkApiOperation(o[1]); } -core.List buildUnnamed7383() => [ +core.List buildUnnamed7463() => [ 'foo', 'foo', ]; -void checkUnnamed7383(core.List o) { +void checkUnnamed7463(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -522,8 +539,8 @@ api.EgressTo buildEgressTo() { final o = api.EgressTo(); buildCounterEgressTo++; if (buildCounterEgressTo < 3) { - o.operations = buildUnnamed7382(); - o.resources = buildUnnamed7383(); + o.operations = buildUnnamed7462(); + o.resources = buildUnnamed7463(); } buildCounterEgressTo--; return o; @@ -532,8 +549,8 @@ api.EgressTo buildEgressTo() { void checkEgressTo(api.EgressTo o) { buildCounterEgressTo++; if (buildCounterEgressTo < 3) { - checkUnnamed7382(o.operations!); - checkUnnamed7383(o.resources!); + checkUnnamed7462(o.operations!); + checkUnnamed7463(o.resources!); } buildCounterEgressTo--; } @@ -590,12 +607,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed7384() => [ +core.List buildUnnamed7464() => [ 'foo', 'foo', ]; -void checkUnnamed7384(core.List o) { +void checkUnnamed7464(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -612,7 +629,7 @@ api.GcpUserAccessBinding buildGcpUserAccessBinding() { final o = api.GcpUserAccessBinding(); buildCounterGcpUserAccessBinding++; if (buildCounterGcpUserAccessBinding < 3) { - o.accessLevels = buildUnnamed7384(); + o.accessLevels = buildUnnamed7464(); o.groupKey = 'foo'; o.name = 'foo'; } @@ -623,7 +640,7 @@ api.GcpUserAccessBinding buildGcpUserAccessBinding() { void checkGcpUserAccessBinding(api.GcpUserAccessBinding o) { buildCounterGcpUserAccessBinding++; if (buildCounterGcpUserAccessBinding < 3) { - checkUnnamed7384(o.accessLevels!); + checkUnnamed7464(o.accessLevels!); unittest.expect( o.groupKey!, unittest.equals('foo'), @@ -636,12 +653,29 @@ void checkGcpUserAccessBinding(api.GcpUserAccessBinding o) { buildCounterGcpUserAccessBinding--; } -core.List buildUnnamed7385() => [ +core.int buildCounterGcpUserAccessBindingOperationMetadata = 0; +api.GcpUserAccessBindingOperationMetadata + buildGcpUserAccessBindingOperationMetadata() { + final o = api.GcpUserAccessBindingOperationMetadata(); + buildCounterGcpUserAccessBindingOperationMetadata++; + if (buildCounterGcpUserAccessBindingOperationMetadata < 3) {} + buildCounterGcpUserAccessBindingOperationMetadata--; + return o; +} + +void checkGcpUserAccessBindingOperationMetadata( + api.GcpUserAccessBindingOperationMetadata o) { + buildCounterGcpUserAccessBindingOperationMetadata++; + if (buildCounterGcpUserAccessBindingOperationMetadata < 3) {} + buildCounterGcpUserAccessBindingOperationMetadata--; +} + +core.List buildUnnamed7465() => [ 'foo', 'foo', ]; -void checkUnnamed7385(core.List o) { +void checkUnnamed7465(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -653,12 +687,12 @@ void checkUnnamed7385(core.List o) { ); } -core.List buildUnnamed7386() => [ +core.List buildUnnamed7466() => [ buildIngressSource(), buildIngressSource(), ]; -void checkUnnamed7386(core.List o) { +void checkUnnamed7466(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIngressSource(o[0]); checkIngressSource(o[1]); @@ -669,9 +703,9 @@ api.IngressFrom buildIngressFrom() { final o = api.IngressFrom(); buildCounterIngressFrom++; if (buildCounterIngressFrom < 3) { - o.identities = buildUnnamed7385(); + o.identities = buildUnnamed7465(); o.identityType = 'foo'; - o.sources = buildUnnamed7386(); + o.sources = buildUnnamed7466(); } buildCounterIngressFrom--; return o; @@ -680,12 +714,12 @@ api.IngressFrom buildIngressFrom() { void checkIngressFrom(api.IngressFrom o) { buildCounterIngressFrom++; if (buildCounterIngressFrom < 3) { - checkUnnamed7385(o.identities!); + checkUnnamed7465(o.identities!); unittest.expect( o.identityType!, unittest.equals('foo'), ); - checkUnnamed7386(o.sources!); + checkUnnamed7466(o.sources!); } buildCounterIngressFrom--; } @@ -738,23 +772,23 @@ void checkIngressSource(api.IngressSource o) { buildCounterIngressSource--; } -core.List buildUnnamed7387() => [ +core.List buildUnnamed7467() => [ buildApiOperation(), buildApiOperation(), ]; -void checkUnnamed7387(core.List o) { +void checkUnnamed7467(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiOperation(o[0]); checkApiOperation(o[1]); } -core.List buildUnnamed7388() => [ +core.List buildUnnamed7468() => [ 'foo', 'foo', ]; -void checkUnnamed7388(core.List o) { +void checkUnnamed7468(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -771,8 +805,8 @@ api.IngressTo buildIngressTo() { final o = api.IngressTo(); buildCounterIngressTo++; if (buildCounterIngressTo < 3) { - o.operations = buildUnnamed7387(); - o.resources = buildUnnamed7388(); + o.operations = buildUnnamed7467(); + o.resources = buildUnnamed7468(); } buildCounterIngressTo--; return o; @@ -781,18 +815,18 @@ api.IngressTo buildIngressTo() { void checkIngressTo(api.IngressTo o) { buildCounterIngressTo++; if (buildCounterIngressTo < 3) { - checkUnnamed7387(o.operations!); - checkUnnamed7388(o.resources!); + checkUnnamed7467(o.operations!); + checkUnnamed7468(o.resources!); } buildCounterIngressTo--; } -core.List buildUnnamed7389() => [ +core.List buildUnnamed7469() => [ buildAccessLevel(), buildAccessLevel(), ]; -void checkUnnamed7389(core.List o) { +void checkUnnamed7469(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccessLevel(o[0]); checkAccessLevel(o[1]); @@ -803,7 +837,7 @@ api.ListAccessLevelsResponse buildListAccessLevelsResponse() { final o = api.ListAccessLevelsResponse(); buildCounterListAccessLevelsResponse++; if (buildCounterListAccessLevelsResponse < 3) { - o.accessLevels = buildUnnamed7389(); + o.accessLevels = buildUnnamed7469(); o.nextPageToken = 'foo'; } buildCounterListAccessLevelsResponse--; @@ -813,7 +847,7 @@ api.ListAccessLevelsResponse buildListAccessLevelsResponse() { void checkListAccessLevelsResponse(api.ListAccessLevelsResponse o) { buildCounterListAccessLevelsResponse++; if (buildCounterListAccessLevelsResponse < 3) { - checkUnnamed7389(o.accessLevels!); + checkUnnamed7469(o.accessLevels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -822,12 +856,12 @@ void checkListAccessLevelsResponse(api.ListAccessLevelsResponse o) { buildCounterListAccessLevelsResponse--; } -core.List buildUnnamed7390() => [ +core.List buildUnnamed7470() => [ buildAccessPolicy(), buildAccessPolicy(), ]; -void checkUnnamed7390(core.List o) { +void checkUnnamed7470(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccessPolicy(o[0]); checkAccessPolicy(o[1]); @@ -838,7 +872,7 @@ api.ListAccessPoliciesResponse buildListAccessPoliciesResponse() { final o = api.ListAccessPoliciesResponse(); buildCounterListAccessPoliciesResponse++; if (buildCounterListAccessPoliciesResponse < 3) { - o.accessPolicies = buildUnnamed7390(); + o.accessPolicies = buildUnnamed7470(); o.nextPageToken = 'foo'; } buildCounterListAccessPoliciesResponse--; @@ -848,7 +882,7 @@ api.ListAccessPoliciesResponse buildListAccessPoliciesResponse() { void checkListAccessPoliciesResponse(api.ListAccessPoliciesResponse o) { buildCounterListAccessPoliciesResponse++; if (buildCounterListAccessPoliciesResponse < 3) { - checkUnnamed7390(o.accessPolicies!); + checkUnnamed7470(o.accessPolicies!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -857,12 +891,12 @@ void checkListAccessPoliciesResponse(api.ListAccessPoliciesResponse o) { buildCounterListAccessPoliciesResponse--; } -core.List buildUnnamed7391() => [ +core.List buildUnnamed7471() => [ buildGcpUserAccessBinding(), buildGcpUserAccessBinding(), ]; -void checkUnnamed7391(core.List o) { +void checkUnnamed7471(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGcpUserAccessBinding(o[0]); checkGcpUserAccessBinding(o[1]); @@ -873,7 +907,7 @@ api.ListGcpUserAccessBindingsResponse buildListGcpUserAccessBindingsResponse() { final o = api.ListGcpUserAccessBindingsResponse(); buildCounterListGcpUserAccessBindingsResponse++; if (buildCounterListGcpUserAccessBindingsResponse < 3) { - o.gcpUserAccessBindings = buildUnnamed7391(); + o.gcpUserAccessBindings = buildUnnamed7471(); o.nextPageToken = 'foo'; } buildCounterListGcpUserAccessBindingsResponse--; @@ -884,7 +918,7 @@ void checkListGcpUserAccessBindingsResponse( api.ListGcpUserAccessBindingsResponse o) { buildCounterListGcpUserAccessBindingsResponse++; if (buildCounterListGcpUserAccessBindingsResponse < 3) { - checkUnnamed7391(o.gcpUserAccessBindings!); + checkUnnamed7471(o.gcpUserAccessBindings!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -893,12 +927,12 @@ void checkListGcpUserAccessBindingsResponse( buildCounterListGcpUserAccessBindingsResponse--; } -core.List buildUnnamed7392() => [ +core.List buildUnnamed7472() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed7392(core.List o) { +void checkUnnamed7472(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -910,7 +944,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed7392(); + o.operations = buildUnnamed7472(); } buildCounterListOperationsResponse--; return o; @@ -923,17 +957,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7392(o.operations!); + checkUnnamed7472(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed7393() => [ +core.List buildUnnamed7473() => [ buildServicePerimeter(), buildServicePerimeter(), ]; -void checkUnnamed7393(core.List o) { +void checkUnnamed7473(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServicePerimeter(o[0]); checkServicePerimeter(o[1]); @@ -945,7 +979,7 @@ api.ListServicePerimetersResponse buildListServicePerimetersResponse() { buildCounterListServicePerimetersResponse++; if (buildCounterListServicePerimetersResponse < 3) { o.nextPageToken = 'foo'; - o.servicePerimeters = buildUnnamed7393(); + o.servicePerimeters = buildUnnamed7473(); } buildCounterListServicePerimetersResponse--; return o; @@ -958,7 +992,7 @@ void checkListServicePerimetersResponse(api.ListServicePerimetersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7393(o.servicePerimeters!); + checkUnnamed7473(o.servicePerimeters!); } buildCounterListServicePerimetersResponse--; } @@ -990,7 +1024,7 @@ void checkMethodSelector(api.MethodSelector o) { buildCounterMethodSelector--; } -core.Map buildUnnamed7394() => { +core.Map buildUnnamed7474() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1003,7 +1037,7 @@ core.Map buildUnnamed7394() => { }, }; -void checkUnnamed7394(core.Map o) { +void checkUnnamed7474(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1035,7 +1069,7 @@ void checkUnnamed7394(core.Map o) { ); } -core.Map buildUnnamed7395() => { +core.Map buildUnnamed7475() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1048,7 +1082,7 @@ core.Map buildUnnamed7395() => { }, }; -void checkUnnamed7395(core.Map o) { +void checkUnnamed7475(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1087,9 +1121,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7394(); + o.metadata = buildUnnamed7474(); o.name = 'foo'; - o.response = buildUnnamed7395(); + o.response = buildUnnamed7475(); } buildCounterOperation--; return o; @@ -1100,12 +1134,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7394(o.metadata!); + checkUnnamed7474(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7395(o.response!); + checkUnnamed7475(o.response!); } buildCounterOperation--; } @@ -1139,12 +1173,12 @@ void checkOsConstraint(api.OsConstraint o) { buildCounterOsConstraint--; } -core.List buildUnnamed7396() => [ +core.List buildUnnamed7476() => [ buildAccessLevel(), buildAccessLevel(), ]; -void checkUnnamed7396(core.List o) { +void checkUnnamed7476(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccessLevel(o[0]); checkAccessLevel(o[1]); @@ -1155,7 +1189,7 @@ api.ReplaceAccessLevelsRequest buildReplaceAccessLevelsRequest() { final o = api.ReplaceAccessLevelsRequest(); buildCounterReplaceAccessLevelsRequest++; if (buildCounterReplaceAccessLevelsRequest < 3) { - o.accessLevels = buildUnnamed7396(); + o.accessLevels = buildUnnamed7476(); o.etag = 'foo'; } buildCounterReplaceAccessLevelsRequest--; @@ -1165,7 +1199,7 @@ api.ReplaceAccessLevelsRequest buildReplaceAccessLevelsRequest() { void checkReplaceAccessLevelsRequest(api.ReplaceAccessLevelsRequest o) { buildCounterReplaceAccessLevelsRequest++; if (buildCounterReplaceAccessLevelsRequest < 3) { - checkUnnamed7396(o.accessLevels!); + checkUnnamed7476(o.accessLevels!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1174,12 +1208,12 @@ void checkReplaceAccessLevelsRequest(api.ReplaceAccessLevelsRequest o) { buildCounterReplaceAccessLevelsRequest--; } -core.List buildUnnamed7397() => [ +core.List buildUnnamed7477() => [ buildAccessLevel(), buildAccessLevel(), ]; -void checkUnnamed7397(core.List o) { +void checkUnnamed7477(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccessLevel(o[0]); checkAccessLevel(o[1]); @@ -1190,7 +1224,7 @@ api.ReplaceAccessLevelsResponse buildReplaceAccessLevelsResponse() { final o = api.ReplaceAccessLevelsResponse(); buildCounterReplaceAccessLevelsResponse++; if (buildCounterReplaceAccessLevelsResponse < 3) { - o.accessLevels = buildUnnamed7397(); + o.accessLevels = buildUnnamed7477(); } buildCounterReplaceAccessLevelsResponse--; return o; @@ -1199,17 +1233,17 @@ api.ReplaceAccessLevelsResponse buildReplaceAccessLevelsResponse() { void checkReplaceAccessLevelsResponse(api.ReplaceAccessLevelsResponse o) { buildCounterReplaceAccessLevelsResponse++; if (buildCounterReplaceAccessLevelsResponse < 3) { - checkUnnamed7397(o.accessLevels!); + checkUnnamed7477(o.accessLevels!); } buildCounterReplaceAccessLevelsResponse--; } -core.List buildUnnamed7398() => [ +core.List buildUnnamed7478() => [ buildServicePerimeter(), buildServicePerimeter(), ]; -void checkUnnamed7398(core.List o) { +void checkUnnamed7478(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServicePerimeter(o[0]); checkServicePerimeter(o[1]); @@ -1221,7 +1255,7 @@ api.ReplaceServicePerimetersRequest buildReplaceServicePerimetersRequest() { buildCounterReplaceServicePerimetersRequest++; if (buildCounterReplaceServicePerimetersRequest < 3) { o.etag = 'foo'; - o.servicePerimeters = buildUnnamed7398(); + o.servicePerimeters = buildUnnamed7478(); } buildCounterReplaceServicePerimetersRequest--; return o; @@ -1235,17 +1269,17 @@ void checkReplaceServicePerimetersRequest( o.etag!, unittest.equals('foo'), ); - checkUnnamed7398(o.servicePerimeters!); + checkUnnamed7478(o.servicePerimeters!); } buildCounterReplaceServicePerimetersRequest--; } -core.List buildUnnamed7399() => [ +core.List buildUnnamed7479() => [ buildServicePerimeter(), buildServicePerimeter(), ]; -void checkUnnamed7399(core.List o) { +void checkUnnamed7479(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServicePerimeter(o[0]); checkServicePerimeter(o[1]); @@ -1256,7 +1290,7 @@ api.ReplaceServicePerimetersResponse buildReplaceServicePerimetersResponse() { final o = api.ReplaceServicePerimetersResponse(); buildCounterReplaceServicePerimetersResponse++; if (buildCounterReplaceServicePerimetersResponse < 3) { - o.servicePerimeters = buildUnnamed7399(); + o.servicePerimeters = buildUnnamed7479(); } buildCounterReplaceServicePerimetersResponse--; return o; @@ -1266,7 +1300,7 @@ void checkReplaceServicePerimetersResponse( api.ReplaceServicePerimetersResponse o) { buildCounterReplaceServicePerimetersResponse++; if (buildCounterReplaceServicePerimetersResponse < 3) { - checkUnnamed7399(o.servicePerimeters!); + checkUnnamed7479(o.servicePerimeters!); } buildCounterReplaceServicePerimetersResponse--; } @@ -1314,12 +1348,12 @@ void checkServicePerimeter(api.ServicePerimeter o) { buildCounterServicePerimeter--; } -core.List buildUnnamed7400() => [ +core.List buildUnnamed7480() => [ 'foo', 'foo', ]; -void checkUnnamed7400(core.List o) { +void checkUnnamed7480(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1331,34 +1365,34 @@ void checkUnnamed7400(core.List o) { ); } -core.List buildUnnamed7401() => [ +core.List buildUnnamed7481() => [ buildEgressPolicy(), buildEgressPolicy(), ]; -void checkUnnamed7401(core.List o) { +void checkUnnamed7481(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEgressPolicy(o[0]); checkEgressPolicy(o[1]); } -core.List buildUnnamed7402() => [ +core.List buildUnnamed7482() => [ buildIngressPolicy(), buildIngressPolicy(), ]; -void checkUnnamed7402(core.List o) { +void checkUnnamed7482(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIngressPolicy(o[0]); checkIngressPolicy(o[1]); } -core.List buildUnnamed7403() => [ +core.List buildUnnamed7483() => [ 'foo', 'foo', ]; -void checkUnnamed7403(core.List o) { +void checkUnnamed7483(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1370,12 +1404,12 @@ void checkUnnamed7403(core.List o) { ); } -core.List buildUnnamed7404() => [ +core.List buildUnnamed7484() => [ 'foo', 'foo', ]; -void checkUnnamed7404(core.List o) { +void checkUnnamed7484(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1392,11 +1426,11 @@ api.ServicePerimeterConfig buildServicePerimeterConfig() { final o = api.ServicePerimeterConfig(); buildCounterServicePerimeterConfig++; if (buildCounterServicePerimeterConfig < 3) { - o.accessLevels = buildUnnamed7400(); - o.egressPolicies = buildUnnamed7401(); - o.ingressPolicies = buildUnnamed7402(); - o.resources = buildUnnamed7403(); - o.restrictedServices = buildUnnamed7404(); + o.accessLevels = buildUnnamed7480(); + o.egressPolicies = buildUnnamed7481(); + o.ingressPolicies = buildUnnamed7482(); + o.resources = buildUnnamed7483(); + o.restrictedServices = buildUnnamed7484(); o.vpcAccessibleServices = buildVpcAccessibleServices(); } buildCounterServicePerimeterConfig--; @@ -1406,17 +1440,17 @@ api.ServicePerimeterConfig buildServicePerimeterConfig() { void checkServicePerimeterConfig(api.ServicePerimeterConfig o) { buildCounterServicePerimeterConfig++; if (buildCounterServicePerimeterConfig < 3) { - checkUnnamed7400(o.accessLevels!); - checkUnnamed7401(o.egressPolicies!); - checkUnnamed7402(o.ingressPolicies!); - checkUnnamed7403(o.resources!); - checkUnnamed7404(o.restrictedServices!); + checkUnnamed7480(o.accessLevels!); + checkUnnamed7481(o.egressPolicies!); + checkUnnamed7482(o.ingressPolicies!); + checkUnnamed7483(o.resources!); + checkUnnamed7484(o.restrictedServices!); checkVpcAccessibleServices(o.vpcAccessibleServices!); } buildCounterServicePerimeterConfig--; } -core.Map buildUnnamed7405() => { +core.Map buildUnnamed7485() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1429,7 +1463,7 @@ core.Map buildUnnamed7405() => { }, }; -void checkUnnamed7405(core.Map o) { +void checkUnnamed7485(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1461,15 +1495,15 @@ void checkUnnamed7405(core.Map o) { ); } -core.List> buildUnnamed7406() => [ - buildUnnamed7405(), - buildUnnamed7405(), +core.List> buildUnnamed7486() => [ + buildUnnamed7485(), + buildUnnamed7485(), ]; -void checkUnnamed7406(core.List> o) { +void checkUnnamed7486(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7405(o[0]); - checkUnnamed7405(o[1]); + checkUnnamed7485(o[0]); + checkUnnamed7485(o[1]); } core.int buildCounterStatus = 0; @@ -1478,7 +1512,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7406(); + o.details = buildUnnamed7486(); o.message = 'foo'; } buildCounterStatus--; @@ -1492,7 +1526,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7406(o.details!); + checkUnnamed7486(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1501,12 +1535,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed7407() => [ +core.List buildUnnamed7487() => [ 'foo', 'foo', ]; -void checkUnnamed7407(core.List o) { +void checkUnnamed7487(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1523,7 +1557,7 @@ api.VpcAccessibleServices buildVpcAccessibleServices() { final o = api.VpcAccessibleServices(); buildCounterVpcAccessibleServices++; if (buildCounterVpcAccessibleServices < 3) { - o.allowedServices = buildUnnamed7407(); + o.allowedServices = buildUnnamed7487(); o.enableRestriction = true; } buildCounterVpcAccessibleServices--; @@ -1533,13 +1567,23 @@ api.VpcAccessibleServices buildVpcAccessibleServices() { void checkVpcAccessibleServices(api.VpcAccessibleServices o) { buildCounterVpcAccessibleServices++; if (buildCounterVpcAccessibleServices < 3) { - checkUnnamed7407(o.allowedServices!); + checkUnnamed7487(o.allowedServices!); unittest.expect(o.enableRestriction!, unittest.isTrue); } buildCounterVpcAccessibleServices--; } void main() { + unittest.group('obj-schema-AccessContextManagerOperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildAccessContextManagerOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AccessContextManagerOperationMetadata.fromJson( + oJson as core.Map); + checkAccessContextManagerOperationMetadata(od); + }); + }); + unittest.group('obj-schema-AccessLevel', () { unittest.test('to-json--from-json', () async { final o = buildAccessLevel(); @@ -1700,6 +1744,16 @@ void main() { }); }); + unittest.group('obj-schema-GcpUserAccessBindingOperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGcpUserAccessBindingOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GcpUserAccessBindingOperationMetadata.fromJson( + oJson as core.Map); + checkGcpUserAccessBindingOperationMetadata(od); + }); + }); + unittest.group('obj-schema-IngressFrom', () { unittest.test('to-json--from-json', () async { final o = buildIngressFrom(); diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart deleted file mode 100644 index b49fdc41e..000000000 --- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart +++ /dev/null @@ -1,3688 +0,0 @@ -// ignore_for_file: camel_case_types -// ignore_for_file: cascade_invocations -// ignore_for_file: comment_references -// ignore_for_file: file_names -// ignore_for_file: library_names -// ignore_for_file: lines_longer_than_80_chars -// ignore_for_file: non_constant_identifier_names -// ignore_for_file: prefer_const_declarations -// ignore_for_file: prefer_expression_function_bodies -// ignore_for_file: prefer_final_locals -// ignore_for_file: prefer_interpolation_to_compose_strings -// ignore_for_file: unnecessary_brace_in_string_interps -// ignore_for_file: unnecessary_cast -// ignore_for_file: unnecessary_lambdas -// ignore_for_file: unnecessary_parenthesis -// ignore_for_file: unnecessary_string_interpolations -// ignore_for_file: unused_local_variable - -import 'dart:async' as async; -import 'dart:convert' as convert; -import 'dart:core' as core; - -import 'package:googleapis/adexchangebuyer/v1_3.dart' as api; -import 'package:http/http.dart' as http; -import 'package:test/test.dart' as unittest; - -import '../test_shared.dart'; - -core.int buildCounterAccountBidderLocation = 0; -api.AccountBidderLocation buildAccountBidderLocation() { - final o = api.AccountBidderLocation(); - buildCounterAccountBidderLocation++; - if (buildCounterAccountBidderLocation < 3) { - o.maximumQps = 42; - o.region = 'foo'; - o.url = 'foo'; - } - buildCounterAccountBidderLocation--; - return o; -} - -void checkAccountBidderLocation(api.AccountBidderLocation o) { - buildCounterAccountBidderLocation++; - if (buildCounterAccountBidderLocation < 3) { - unittest.expect( - o.maximumQps!, - unittest.equals(42), - ); - unittest.expect( - o.region!, - unittest.equals('foo'), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - } - buildCounterAccountBidderLocation--; -} - -core.List buildUnnamed2141() => [ - buildAccountBidderLocation(), - buildAccountBidderLocation(), - ]; - -void checkUnnamed2141(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkAccountBidderLocation(o[0]); - checkAccountBidderLocation(o[1]); -} - -core.int buildCounterAccount = 0; -api.Account buildAccount() { - final o = api.Account(); - buildCounterAccount++; - if (buildCounterAccount < 3) { - o.bidderLocation = buildUnnamed2141(); - o.cookieMatchingNid = 'foo'; - o.cookieMatchingUrl = 'foo'; - o.id = 42; - o.kind = 'foo'; - o.maximumActiveCreatives = 42; - o.maximumTotalQps = 42; - o.numberActiveCreatives = 42; - } - buildCounterAccount--; - return o; -} - -void checkAccount(api.Account o) { - buildCounterAccount++; - if (buildCounterAccount < 3) { - checkUnnamed2141(o.bidderLocation!); - unittest.expect( - o.cookieMatchingNid!, - unittest.equals('foo'), - ); - unittest.expect( - o.cookieMatchingUrl!, - unittest.equals('foo'), - ); - unittest.expect( - o.id!, - unittest.equals(42), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.maximumActiveCreatives!, - unittest.equals(42), - ); - unittest.expect( - o.maximumTotalQps!, - unittest.equals(42), - ); - unittest.expect( - o.numberActiveCreatives!, - unittest.equals(42), - ); - } - buildCounterAccount--; -} - -core.List buildUnnamed2142() => [ - buildAccount(), - buildAccount(), - ]; - -void checkUnnamed2142(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkAccount(o[0]); - checkAccount(o[1]); -} - -core.int buildCounterAccountsList = 0; -api.AccountsList buildAccountsList() { - final o = api.AccountsList(); - buildCounterAccountsList++; - if (buildCounterAccountsList < 3) { - o.items = buildUnnamed2142(); - o.kind = 'foo'; - } - buildCounterAccountsList--; - return o; -} - -void checkAccountsList(api.AccountsList o) { - buildCounterAccountsList++; - if (buildCounterAccountsList < 3) { - checkUnnamed2142(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterAccountsList--; -} - -core.List buildUnnamed2143() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2143(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterBillingInfo = 0; -api.BillingInfo buildBillingInfo() { - final o = api.BillingInfo(); - buildCounterBillingInfo++; - if (buildCounterBillingInfo < 3) { - o.accountId = 42; - o.accountName = 'foo'; - o.billingId = buildUnnamed2143(); - o.kind = 'foo'; - } - buildCounterBillingInfo--; - return o; -} - -void checkBillingInfo(api.BillingInfo o) { - buildCounterBillingInfo++; - if (buildCounterBillingInfo < 3) { - unittest.expect( - o.accountId!, - unittest.equals(42), - ); - unittest.expect( - o.accountName!, - unittest.equals('foo'), - ); - checkUnnamed2143(o.billingId!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterBillingInfo--; -} - -core.List buildUnnamed2144() => [ - buildBillingInfo(), - buildBillingInfo(), - ]; - -void checkUnnamed2144(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkBillingInfo(o[0]); - checkBillingInfo(o[1]); -} - -core.int buildCounterBillingInfoList = 0; -api.BillingInfoList buildBillingInfoList() { - final o = api.BillingInfoList(); - buildCounterBillingInfoList++; - if (buildCounterBillingInfoList < 3) { - o.items = buildUnnamed2144(); - o.kind = 'foo'; - } - buildCounterBillingInfoList--; - return o; -} - -void checkBillingInfoList(api.BillingInfoList o) { - buildCounterBillingInfoList++; - if (buildCounterBillingInfoList < 3) { - checkUnnamed2144(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterBillingInfoList--; -} - -core.int buildCounterBudget = 0; -api.Budget buildBudget() { - final o = api.Budget(); - buildCounterBudget++; - if (buildCounterBudget < 3) { - o.accountId = 'foo'; - o.billingId = 'foo'; - o.budgetAmount = 'foo'; - o.currencyCode = 'foo'; - o.id = 'foo'; - o.kind = 'foo'; - } - buildCounterBudget--; - return o; -} - -void checkBudget(api.Budget o) { - buildCounterBudget++; - if (buildCounterBudget < 3) { - unittest.expect( - o.accountId!, - unittest.equals('foo'), - ); - unittest.expect( - o.billingId!, - unittest.equals('foo'), - ); - unittest.expect( - o.budgetAmount!, - unittest.equals('foo'), - ); - unittest.expect( - o.currencyCode!, - unittest.equals('foo'), - ); - unittest.expect( - o.id!, - unittest.equals('foo'), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterBudget--; -} - -core.List buildUnnamed2145() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2145(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeAdTechnologyProviders = 0; -api.CreativeAdTechnologyProviders buildCreativeAdTechnologyProviders() { - final o = api.CreativeAdTechnologyProviders(); - buildCounterCreativeAdTechnologyProviders++; - if (buildCounterCreativeAdTechnologyProviders < 3) { - o.detectedProviderIds = buildUnnamed2145(); - o.hasUnidentifiedProvider = true; - } - buildCounterCreativeAdTechnologyProviders--; - return o; -} - -void checkCreativeAdTechnologyProviders(api.CreativeAdTechnologyProviders o) { - buildCounterCreativeAdTechnologyProviders++; - if (buildCounterCreativeAdTechnologyProviders < 3) { - checkUnnamed2145(o.detectedProviderIds!); - unittest.expect(o.hasUnidentifiedProvider!, unittest.isTrue); - } - buildCounterCreativeAdTechnologyProviders--; -} - -core.List buildUnnamed2146() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2146(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2147() => [ - 42, - 42, - ]; - -void checkUnnamed2147(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2148() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2148(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2149() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2149(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeCorrections = 0; -api.CreativeCorrections buildCreativeCorrections() { - final o = api.CreativeCorrections(); - buildCounterCreativeCorrections++; - if (buildCounterCreativeCorrections < 3) { - o.details = buildUnnamed2149(); - o.reason = 'foo'; - } - buildCounterCreativeCorrections--; - return o; -} - -void checkCreativeCorrections(api.CreativeCorrections o) { - buildCounterCreativeCorrections++; - if (buildCounterCreativeCorrections < 3) { - checkUnnamed2149(o.details!); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - } - buildCounterCreativeCorrections--; -} - -core.List buildUnnamed2150() => [ - buildCreativeCorrections(), - buildCreativeCorrections(), - ]; - -void checkUnnamed2150(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeCorrections(o[0]); - checkCreativeCorrections(o[1]); -} - -core.List buildUnnamed2151() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2151(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeDisapprovalReasons = 0; -api.CreativeDisapprovalReasons buildCreativeDisapprovalReasons() { - final o = api.CreativeDisapprovalReasons(); - buildCounterCreativeDisapprovalReasons++; - if (buildCounterCreativeDisapprovalReasons < 3) { - o.details = buildUnnamed2151(); - o.reason = 'foo'; - } - buildCounterCreativeDisapprovalReasons--; - return o; -} - -void checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) { - buildCounterCreativeDisapprovalReasons++; - if (buildCounterCreativeDisapprovalReasons < 3) { - checkUnnamed2151(o.details!); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - } - buildCounterCreativeDisapprovalReasons--; -} - -core.List buildUnnamed2152() => [ - buildCreativeDisapprovalReasons(), - buildCreativeDisapprovalReasons(), - ]; - -void checkUnnamed2152(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeDisapprovalReasons(o[0]); - checkCreativeDisapprovalReasons(o[1]); -} - -core.int buildCounterCreativeFilteringReasonsReasons = 0; -api.CreativeFilteringReasonsReasons buildCreativeFilteringReasonsReasons() { - final o = api.CreativeFilteringReasonsReasons(); - buildCounterCreativeFilteringReasonsReasons++; - if (buildCounterCreativeFilteringReasonsReasons < 3) { - o.filteringCount = 'foo'; - o.filteringStatus = 42; - } - buildCounterCreativeFilteringReasonsReasons--; - return o; -} - -void checkCreativeFilteringReasonsReasons( - api.CreativeFilteringReasonsReasons o) { - buildCounterCreativeFilteringReasonsReasons++; - if (buildCounterCreativeFilteringReasonsReasons < 3) { - unittest.expect( - o.filteringCount!, - unittest.equals('foo'), - ); - unittest.expect( - o.filteringStatus!, - unittest.equals(42), - ); - } - buildCounterCreativeFilteringReasonsReasons--; -} - -core.List buildUnnamed2153() => [ - buildCreativeFilteringReasonsReasons(), - buildCreativeFilteringReasonsReasons(), - ]; - -void checkUnnamed2153(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeFilteringReasonsReasons(o[0]); - checkCreativeFilteringReasonsReasons(o[1]); -} - -core.int buildCounterCreativeFilteringReasons = 0; -api.CreativeFilteringReasons buildCreativeFilteringReasons() { - final o = api.CreativeFilteringReasons(); - buildCounterCreativeFilteringReasons++; - if (buildCounterCreativeFilteringReasons < 3) { - o.date = 'foo'; - o.reasons = buildUnnamed2153(); - } - buildCounterCreativeFilteringReasons--; - return o; -} - -void checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { - buildCounterCreativeFilteringReasons++; - if (buildCounterCreativeFilteringReasons < 3) { - unittest.expect( - o.date!, - unittest.equals('foo'), - ); - checkUnnamed2153(o.reasons!); - } - buildCounterCreativeFilteringReasons--; -} - -core.List buildUnnamed2154() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2154(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeNativeAdAppIcon = 0; -api.CreativeNativeAdAppIcon buildCreativeNativeAdAppIcon() { - final o = api.CreativeNativeAdAppIcon(); - buildCounterCreativeNativeAdAppIcon++; - if (buildCounterCreativeNativeAdAppIcon < 3) { - o.height = 42; - o.url = 'foo'; - o.width = 42; - } - buildCounterCreativeNativeAdAppIcon--; - return o; -} - -void checkCreativeNativeAdAppIcon(api.CreativeNativeAdAppIcon o) { - buildCounterCreativeNativeAdAppIcon++; - if (buildCounterCreativeNativeAdAppIcon < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreativeNativeAdAppIcon--; -} - -core.int buildCounterCreativeNativeAdImage = 0; -api.CreativeNativeAdImage buildCreativeNativeAdImage() { - final o = api.CreativeNativeAdImage(); - buildCounterCreativeNativeAdImage++; - if (buildCounterCreativeNativeAdImage < 3) { - o.height = 42; - o.url = 'foo'; - o.width = 42; - } - buildCounterCreativeNativeAdImage--; - return o; -} - -void checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { - buildCounterCreativeNativeAdImage++; - if (buildCounterCreativeNativeAdImage < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreativeNativeAdImage--; -} - -core.List buildUnnamed2155() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2155(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeNativeAdLogo = 0; -api.CreativeNativeAdLogo buildCreativeNativeAdLogo() { - final o = api.CreativeNativeAdLogo(); - buildCounterCreativeNativeAdLogo++; - if (buildCounterCreativeNativeAdLogo < 3) { - o.height = 42; - o.url = 'foo'; - o.width = 42; - } - buildCounterCreativeNativeAdLogo--; - return o; -} - -void checkCreativeNativeAdLogo(api.CreativeNativeAdLogo o) { - buildCounterCreativeNativeAdLogo++; - if (buildCounterCreativeNativeAdLogo < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreativeNativeAdLogo--; -} - -core.int buildCounterCreativeNativeAd = 0; -api.CreativeNativeAd buildCreativeNativeAd() { - final o = api.CreativeNativeAd(); - buildCounterCreativeNativeAd++; - if (buildCounterCreativeNativeAd < 3) { - o.advertiser = 'foo'; - o.appIcon = buildCreativeNativeAdAppIcon(); - o.body = 'foo'; - o.callToAction = 'foo'; - o.clickTrackingUrl = 'foo'; - o.headline = 'foo'; - o.image = buildCreativeNativeAdImage(); - o.impressionTrackingUrl = buildUnnamed2155(); - o.logo = buildCreativeNativeAdLogo(); - o.price = 'foo'; - o.starRating = 42.0; - } - buildCounterCreativeNativeAd--; - return o; -} - -void checkCreativeNativeAd(api.CreativeNativeAd o) { - buildCounterCreativeNativeAd++; - if (buildCounterCreativeNativeAd < 3) { - unittest.expect( - o.advertiser!, - unittest.equals('foo'), - ); - checkCreativeNativeAdAppIcon(o.appIcon!); - unittest.expect( - o.body!, - unittest.equals('foo'), - ); - unittest.expect( - o.callToAction!, - unittest.equals('foo'), - ); - unittest.expect( - o.clickTrackingUrl!, - unittest.equals('foo'), - ); - unittest.expect( - o.headline!, - unittest.equals('foo'), - ); - checkCreativeNativeAdImage(o.image!); - checkUnnamed2155(o.impressionTrackingUrl!); - checkCreativeNativeAdLogo(o.logo!); - unittest.expect( - o.price!, - unittest.equals('foo'), - ); - unittest.expect( - o.starRating!, - unittest.equals(42.0), - ); - } - buildCounterCreativeNativeAd--; -} - -core.List buildUnnamed2156() => [ - 42, - 42, - ]; - -void checkUnnamed2156(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2157() => [ - 42, - 42, - ]; - -void checkUnnamed2157(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2158() => [ - 42, - 42, - ]; - -void checkUnnamed2158(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2159() => [ - 42, - 42, - ]; - -void checkUnnamed2159(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.int buildCounterCreative = 0; -api.Creative buildCreative() { - final o = api.Creative(); - buildCounterCreative++; - if (buildCounterCreative < 3) { - o.HTMLSnippet = 'foo'; - o.accountId = 42; - o.adTechnologyProviders = buildCreativeAdTechnologyProviders(); - o.advertiserId = buildUnnamed2146(); - o.advertiserName = 'foo'; - o.agencyId = 'foo'; - o.apiUploadTimestamp = core.DateTime.parse('2002-02-27T14:01:02'); - o.attribute = buildUnnamed2147(); - o.buyerCreativeId = 'foo'; - o.clickThroughUrl = buildUnnamed2148(); - o.corrections = buildUnnamed2150(); - o.disapprovalReasons = buildUnnamed2152(); - o.filteringReasons = buildCreativeFilteringReasons(); - o.height = 42; - o.impressionTrackingUrl = buildUnnamed2154(); - o.kind = 'foo'; - o.nativeAd = buildCreativeNativeAd(); - o.productCategories = buildUnnamed2156(); - o.restrictedCategories = buildUnnamed2157(); - o.sensitiveCategories = buildUnnamed2158(); - o.status = 'foo'; - o.vendorType = buildUnnamed2159(); - o.version = 42; - o.videoURL = 'foo'; - o.width = 42; - } - buildCounterCreative--; - return o; -} - -void checkCreative(api.Creative o) { - buildCounterCreative++; - if (buildCounterCreative < 3) { - unittest.expect( - o.HTMLSnippet!, - unittest.equals('foo'), - ); - unittest.expect( - o.accountId!, - unittest.equals(42), - ); - checkCreativeAdTechnologyProviders(o.adTechnologyProviders!); - checkUnnamed2146(o.advertiserId!); - unittest.expect( - o.advertiserName!, - unittest.equals('foo'), - ); - unittest.expect( - o.agencyId!, - unittest.equals('foo'), - ); - unittest.expect( - o.apiUploadTimestamp!, - unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), - ); - checkUnnamed2147(o.attribute!); - unittest.expect( - o.buyerCreativeId!, - unittest.equals('foo'), - ); - checkUnnamed2148(o.clickThroughUrl!); - checkUnnamed2150(o.corrections!); - checkUnnamed2152(o.disapprovalReasons!); - checkCreativeFilteringReasons(o.filteringReasons!); - unittest.expect( - o.height!, - unittest.equals(42), - ); - checkUnnamed2154(o.impressionTrackingUrl!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkCreativeNativeAd(o.nativeAd!); - checkUnnamed2156(o.productCategories!); - checkUnnamed2157(o.restrictedCategories!); - checkUnnamed2158(o.sensitiveCategories!); - unittest.expect( - o.status!, - unittest.equals('foo'), - ); - checkUnnamed2159(o.vendorType!); - unittest.expect( - o.version!, - unittest.equals(42), - ); - unittest.expect( - o.videoURL!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreative--; -} - -core.List buildUnnamed2160() => [ - buildCreative(), - buildCreative(), - ]; - -void checkUnnamed2160(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreative(o[0]); - checkCreative(o[1]); -} - -core.int buildCounterCreativesList = 0; -api.CreativesList buildCreativesList() { - final o = api.CreativesList(); - buildCounterCreativesList++; - if (buildCounterCreativesList < 3) { - o.items = buildUnnamed2160(); - o.kind = 'foo'; - o.nextPageToken = 'foo'; - } - buildCounterCreativesList--; - return o; -} - -void checkCreativesList(api.CreativesList o) { - buildCounterCreativesList++; - if (buildCounterCreativesList < 3) { - checkUnnamed2160(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.nextPageToken!, - unittest.equals('foo'), - ); - } - buildCounterCreativesList--; -} - -core.int buildCounterDirectDeal = 0; -api.DirectDeal buildDirectDeal() { - final o = api.DirectDeal(); - buildCounterDirectDeal++; - if (buildCounterDirectDeal < 3) { - o.accountId = 42; - o.advertiser = 'foo'; - o.allowsAlcohol = true; - o.buyerAccountId = 'foo'; - o.currencyCode = 'foo'; - o.dealTier = 'foo'; - o.endTime = 'foo'; - o.fixedCpm = 'foo'; - o.id = 'foo'; - o.kind = 'foo'; - o.name = 'foo'; - o.privateExchangeMinCpm = 'foo'; - o.publisherBlocksOverriden = true; - o.sellerNetwork = 'foo'; - o.startTime = 'foo'; - } - buildCounterDirectDeal--; - return o; -} - -void checkDirectDeal(api.DirectDeal o) { - buildCounterDirectDeal++; - if (buildCounterDirectDeal < 3) { - unittest.expect( - o.accountId!, - unittest.equals(42), - ); - unittest.expect( - o.advertiser!, - unittest.equals('foo'), - ); - unittest.expect(o.allowsAlcohol!, unittest.isTrue); - unittest.expect( - o.buyerAccountId!, - unittest.equals('foo'), - ); - unittest.expect( - o.currencyCode!, - unittest.equals('foo'), - ); - unittest.expect( - o.dealTier!, - unittest.equals('foo'), - ); - unittest.expect( - o.endTime!, - unittest.equals('foo'), - ); - unittest.expect( - o.fixedCpm!, - unittest.equals('foo'), - ); - unittest.expect( - o.id!, - unittest.equals('foo'), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - unittest.expect( - o.privateExchangeMinCpm!, - unittest.equals('foo'), - ); - unittest.expect(o.publisherBlocksOverriden!, unittest.isTrue); - unittest.expect( - o.sellerNetwork!, - unittest.equals('foo'), - ); - unittest.expect( - o.startTime!, - unittest.equals('foo'), - ); - } - buildCounterDirectDeal--; -} - -core.List buildUnnamed2161() => [ - buildDirectDeal(), - buildDirectDeal(), - ]; - -void checkUnnamed2161(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkDirectDeal(o[0]); - checkDirectDeal(o[1]); -} - -core.int buildCounterDirectDealsList = 0; -api.DirectDealsList buildDirectDealsList() { - final o = api.DirectDealsList(); - buildCounterDirectDealsList++; - if (buildCounterDirectDealsList < 3) { - o.directDeals = buildUnnamed2161(); - o.kind = 'foo'; - } - buildCounterDirectDealsList--; - return o; -} - -void checkDirectDealsList(api.DirectDealsList o) { - buildCounterDirectDealsList++; - if (buildCounterDirectDealsList < 3) { - checkUnnamed2161(o.directDeals!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterDirectDealsList--; -} - -core.List buildUnnamed2162() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2162(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted1 = (o[0]) as core.Map; - unittest.expect(casted1, unittest.hasLength(3)); - unittest.expect( - casted1['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted1['bool'], - unittest.equals(true), - ); - unittest.expect( - casted1['string'], - unittest.equals('foo'), - ); - var casted2 = (o[1]) as core.Map; - unittest.expect(casted2, unittest.hasLength(3)); - unittest.expect( - casted2['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted2['bool'], - unittest.equals(true), - ); - unittest.expect( - casted2['string'], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2163() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2163(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted3 = (o[0]) as core.Map; - unittest.expect(casted3, unittest.hasLength(3)); - unittest.expect( - casted3['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted3['bool'], - unittest.equals(true), - ); - unittest.expect( - casted3['string'], - unittest.equals('foo'), - ); - var casted4 = (o[1]) as core.Map; - unittest.expect(casted4, unittest.hasLength(3)); - unittest.expect( - casted4['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted4['bool'], - unittest.equals(true), - ); - unittest.expect( - casted4['string'], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2164() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2164(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o[0]) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); - unittest.expect( - casted5['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted5['bool'], - unittest.equals(true), - ); - unittest.expect( - casted5['string'], - unittest.equals('foo'), - ); - var casted6 = (o[1]) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); - unittest.expect( - casted6['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted6['bool'], - unittest.equals(true), - ); - unittest.expect( - casted6['string'], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2165() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2165(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted7 = (o[0]) as core.Map; - unittest.expect(casted7, unittest.hasLength(3)); - unittest.expect( - casted7['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted7['bool'], - unittest.equals(true), - ); - unittest.expect( - casted7['string'], - unittest.equals('foo'), - ); - var casted8 = (o[1]) as core.Map; - unittest.expect(casted8, unittest.hasLength(3)); - unittest.expect( - casted8['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted8['bool'], - unittest.equals(true), - ); - unittest.expect( - casted8['string'], - unittest.equals('foo'), - ); -} - -core.int buildCounterPerformanceReport = 0; -api.PerformanceReport buildPerformanceReport() { - final o = api.PerformanceReport(); - buildCounterPerformanceReport++; - if (buildCounterPerformanceReport < 3) { - o.bidRate = 42.0; - o.bidRequestRate = 42.0; - o.calloutStatusRate = buildUnnamed2162(); - o.cookieMatcherStatusRate = buildUnnamed2163(); - o.creativeStatusRate = buildUnnamed2164(); - o.filteredBidRate = 42.0; - o.hostedMatchStatusRate = buildUnnamed2165(); - o.inventoryMatchRate = 42.0; - o.kind = 'foo'; - o.latency50thPercentile = 42.0; - o.latency85thPercentile = 42.0; - o.latency95thPercentile = 42.0; - o.noQuotaInRegion = 42.0; - o.outOfQuota = 42.0; - o.pixelMatchRequests = 42.0; - o.pixelMatchResponses = 42.0; - o.quotaConfiguredLimit = 42.0; - o.quotaThrottledLimit = 42.0; - o.region = 'foo'; - o.successfulRequestRate = 42.0; - o.timestamp = 'foo'; - o.unsuccessfulRequestRate = 42.0; - } - buildCounterPerformanceReport--; - return o; -} - -void checkPerformanceReport(api.PerformanceReport o) { - buildCounterPerformanceReport++; - if (buildCounterPerformanceReport < 3) { - unittest.expect( - o.bidRate!, - unittest.equals(42.0), - ); - unittest.expect( - o.bidRequestRate!, - unittest.equals(42.0), - ); - checkUnnamed2162(o.calloutStatusRate!); - checkUnnamed2163(o.cookieMatcherStatusRate!); - checkUnnamed2164(o.creativeStatusRate!); - unittest.expect( - o.filteredBidRate!, - unittest.equals(42.0), - ); - checkUnnamed2165(o.hostedMatchStatusRate!); - unittest.expect( - o.inventoryMatchRate!, - unittest.equals(42.0), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.latency50thPercentile!, - unittest.equals(42.0), - ); - unittest.expect( - o.latency85thPercentile!, - unittest.equals(42.0), - ); - unittest.expect( - o.latency95thPercentile!, - unittest.equals(42.0), - ); - unittest.expect( - o.noQuotaInRegion!, - unittest.equals(42.0), - ); - unittest.expect( - o.outOfQuota!, - unittest.equals(42.0), - ); - unittest.expect( - o.pixelMatchRequests!, - unittest.equals(42.0), - ); - unittest.expect( - o.pixelMatchResponses!, - unittest.equals(42.0), - ); - unittest.expect( - o.quotaConfiguredLimit!, - unittest.equals(42.0), - ); - unittest.expect( - o.quotaThrottledLimit!, - unittest.equals(42.0), - ); - unittest.expect( - o.region!, - unittest.equals('foo'), - ); - unittest.expect( - o.successfulRequestRate!, - unittest.equals(42.0), - ); - unittest.expect( - o.timestamp!, - unittest.equals('foo'), - ); - unittest.expect( - o.unsuccessfulRequestRate!, - unittest.equals(42.0), - ); - } - buildCounterPerformanceReport--; -} - -core.List buildUnnamed2166() => [ - buildPerformanceReport(), - buildPerformanceReport(), - ]; - -void checkUnnamed2166(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPerformanceReport(o[0]); - checkPerformanceReport(o[1]); -} - -core.int buildCounterPerformanceReportList = 0; -api.PerformanceReportList buildPerformanceReportList() { - final o = api.PerformanceReportList(); - buildCounterPerformanceReportList++; - if (buildCounterPerformanceReportList < 3) { - o.kind = 'foo'; - o.performanceReport = buildUnnamed2166(); - } - buildCounterPerformanceReportList--; - return o; -} - -void checkPerformanceReportList(api.PerformanceReportList o) { - buildCounterPerformanceReportList++; - if (buildCounterPerformanceReportList < 3) { - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2166(o.performanceReport!); - } - buildCounterPerformanceReportList--; -} - -core.List buildUnnamed2167() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2167(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigDimensions = 0; -api.PretargetingConfigDimensions buildPretargetingConfigDimensions() { - final o = api.PretargetingConfigDimensions(); - buildCounterPretargetingConfigDimensions++; - if (buildCounterPretargetingConfigDimensions < 3) { - o.height = 'foo'; - o.width = 'foo'; - } - buildCounterPretargetingConfigDimensions--; - return o; -} - -void checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { - buildCounterPretargetingConfigDimensions++; - if (buildCounterPretargetingConfigDimensions < 3) { - unittest.expect( - o.height!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigDimensions--; -} - -core.List buildUnnamed2168() => [ - buildPretargetingConfigDimensions(), - buildPretargetingConfigDimensions(), - ]; - -void checkUnnamed2168(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigDimensions(o[0]); - checkPretargetingConfigDimensions(o[1]); -} - -core.List buildUnnamed2169() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2169(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2170() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2170(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigExcludedPlacements = 0; -api.PretargetingConfigExcludedPlacements - buildPretargetingConfigExcludedPlacements() { - final o = api.PretargetingConfigExcludedPlacements(); - buildCounterPretargetingConfigExcludedPlacements++; - if (buildCounterPretargetingConfigExcludedPlacements < 3) { - o.token = 'foo'; - o.type = 'foo'; - } - buildCounterPretargetingConfigExcludedPlacements--; - return o; -} - -void checkPretargetingConfigExcludedPlacements( - api.PretargetingConfigExcludedPlacements o) { - buildCounterPretargetingConfigExcludedPlacements++; - if (buildCounterPretargetingConfigExcludedPlacements < 3) { - unittest.expect( - o.token!, - unittest.equals('foo'), - ); - unittest.expect( - o.type!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigExcludedPlacements--; -} - -core.List buildUnnamed2171() => [ - buildPretargetingConfigExcludedPlacements(), - buildPretargetingConfigExcludedPlacements(), - ]; - -void checkUnnamed2171(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigExcludedPlacements(o[0]); - checkPretargetingConfigExcludedPlacements(o[1]); -} - -core.List buildUnnamed2172() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2172(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2173() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2173(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2174() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2174(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2175() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2175(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2176() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2176(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2177() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2177(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2178() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2178(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigPlacements = 0; -api.PretargetingConfigPlacements buildPretargetingConfigPlacements() { - final o = api.PretargetingConfigPlacements(); - buildCounterPretargetingConfigPlacements++; - if (buildCounterPretargetingConfigPlacements < 3) { - o.token = 'foo'; - o.type = 'foo'; - } - buildCounterPretargetingConfigPlacements--; - return o; -} - -void checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { - buildCounterPretargetingConfigPlacements++; - if (buildCounterPretargetingConfigPlacements < 3) { - unittest.expect( - o.token!, - unittest.equals('foo'), - ); - unittest.expect( - o.type!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigPlacements--; -} - -core.List buildUnnamed2179() => [ - buildPretargetingConfigPlacements(), - buildPretargetingConfigPlacements(), - ]; - -void checkUnnamed2179(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigPlacements(o[0]); - checkPretargetingConfigPlacements(o[1]); -} - -core.List buildUnnamed2180() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2180(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2181() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2181(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2182() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2182(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2183() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2183(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2184() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2184(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfig = 0; -api.PretargetingConfig buildPretargetingConfig() { - final o = api.PretargetingConfig(); - buildCounterPretargetingConfig++; - if (buildCounterPretargetingConfig < 3) { - o.billingId = 'foo'; - o.configId = 'foo'; - o.configName = 'foo'; - o.creativeType = buildUnnamed2167(); - o.dimensions = buildUnnamed2168(); - o.excludedContentLabels = buildUnnamed2169(); - o.excludedGeoCriteriaIds = buildUnnamed2170(); - o.excludedPlacements = buildUnnamed2171(); - o.excludedUserLists = buildUnnamed2172(); - o.excludedVerticals = buildUnnamed2173(); - o.geoCriteriaIds = buildUnnamed2174(); - o.isActive = true; - o.kind = 'foo'; - o.languages = buildUnnamed2175(); - o.maximumQps = 'foo'; - o.mobileCarriers = buildUnnamed2176(); - o.mobileDevices = buildUnnamed2177(); - o.mobileOperatingSystemVersions = buildUnnamed2178(); - o.placements = buildUnnamed2179(); - o.platforms = buildUnnamed2180(); - o.supportedCreativeAttributes = buildUnnamed2181(); - o.userLists = buildUnnamed2182(); - o.vendorTypes = buildUnnamed2183(); - o.verticals = buildUnnamed2184(); - } - buildCounterPretargetingConfig--; - return o; -} - -void checkPretargetingConfig(api.PretargetingConfig o) { - buildCounterPretargetingConfig++; - if (buildCounterPretargetingConfig < 3) { - unittest.expect( - o.billingId!, - unittest.equals('foo'), - ); - unittest.expect( - o.configId!, - unittest.equals('foo'), - ); - unittest.expect( - o.configName!, - unittest.equals('foo'), - ); - checkUnnamed2167(o.creativeType!); - checkUnnamed2168(o.dimensions!); - checkUnnamed2169(o.excludedContentLabels!); - checkUnnamed2170(o.excludedGeoCriteriaIds!); - checkUnnamed2171(o.excludedPlacements!); - checkUnnamed2172(o.excludedUserLists!); - checkUnnamed2173(o.excludedVerticals!); - checkUnnamed2174(o.geoCriteriaIds!); - unittest.expect(o.isActive!, unittest.isTrue); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2175(o.languages!); - unittest.expect( - o.maximumQps!, - unittest.equals('foo'), - ); - checkUnnamed2176(o.mobileCarriers!); - checkUnnamed2177(o.mobileDevices!); - checkUnnamed2178(o.mobileOperatingSystemVersions!); - checkUnnamed2179(o.placements!); - checkUnnamed2180(o.platforms!); - checkUnnamed2181(o.supportedCreativeAttributes!); - checkUnnamed2182(o.userLists!); - checkUnnamed2183(o.vendorTypes!); - checkUnnamed2184(o.verticals!); - } - buildCounterPretargetingConfig--; -} - -core.List buildUnnamed2185() => [ - buildPretargetingConfig(), - buildPretargetingConfig(), - ]; - -void checkUnnamed2185(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfig(o[0]); - checkPretargetingConfig(o[1]); -} - -core.int buildCounterPretargetingConfigList = 0; -api.PretargetingConfigList buildPretargetingConfigList() { - final o = api.PretargetingConfigList(); - buildCounterPretargetingConfigList++; - if (buildCounterPretargetingConfigList < 3) { - o.items = buildUnnamed2185(); - o.kind = 'foo'; - } - buildCounterPretargetingConfigList--; - return o; -} - -void checkPretargetingConfigList(api.PretargetingConfigList o) { - buildCounterPretargetingConfigList++; - if (buildCounterPretargetingConfigList < 3) { - checkUnnamed2185(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigList--; -} - -core.List buildUnnamed2186() => [ - 42, - 42, - ]; - -void checkUnnamed2186(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2187() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2187(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -void main() { - unittest.group('obj-schema-AccountBidderLocation', () { - unittest.test('to-json--from-json', () async { - final o = buildAccountBidderLocation(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AccountBidderLocation.fromJson( - oJson as core.Map); - checkAccountBidderLocation(od); - }); - }); - - unittest.group('obj-schema-Account', () { - unittest.test('to-json--from-json', () async { - final o = buildAccount(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Account.fromJson(oJson as core.Map); - checkAccount(od); - }); - }); - - unittest.group('obj-schema-AccountsList', () { - unittest.test('to-json--from-json', () async { - final o = buildAccountsList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AccountsList.fromJson( - oJson as core.Map); - checkAccountsList(od); - }); - }); - - unittest.group('obj-schema-BillingInfo', () { - unittest.test('to-json--from-json', () async { - final o = buildBillingInfo(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.BillingInfo.fromJson( - oJson as core.Map); - checkBillingInfo(od); - }); - }); - - unittest.group('obj-schema-BillingInfoList', () { - unittest.test('to-json--from-json', () async { - final o = buildBillingInfoList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.BillingInfoList.fromJson( - oJson as core.Map); - checkBillingInfoList(od); - }); - }); - - unittest.group('obj-schema-Budget', () { - unittest.test('to-json--from-json', () async { - final o = buildBudget(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Budget.fromJson(oJson as core.Map); - checkBudget(od); - }); - }); - - unittest.group('obj-schema-CreativeAdTechnologyProviders', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeAdTechnologyProviders(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeAdTechnologyProviders.fromJson( - oJson as core.Map); - checkCreativeAdTechnologyProviders(od); - }); - }); - - unittest.group('obj-schema-CreativeCorrections', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeCorrections(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeCorrections.fromJson( - oJson as core.Map); - checkCreativeCorrections(od); - }); - }); - - unittest.group('obj-schema-CreativeDisapprovalReasons', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeDisapprovalReasons(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeDisapprovalReasons.fromJson( - oJson as core.Map); - checkCreativeDisapprovalReasons(od); - }); - }); - - unittest.group('obj-schema-CreativeFilteringReasonsReasons', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeFilteringReasonsReasons(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeFilteringReasonsReasons.fromJson( - oJson as core.Map); - checkCreativeFilteringReasonsReasons(od); - }); - }); - - unittest.group('obj-schema-CreativeFilteringReasons', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeFilteringReasons(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeFilteringReasons.fromJson( - oJson as core.Map); - checkCreativeFilteringReasons(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAdAppIcon', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAdAppIcon(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAdAppIcon.fromJson( - oJson as core.Map); - checkCreativeNativeAdAppIcon(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAdImage', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAdImage(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAdImage.fromJson( - oJson as core.Map); - checkCreativeNativeAdImage(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAdLogo', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAdLogo(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAdLogo.fromJson( - oJson as core.Map); - checkCreativeNativeAdLogo(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAd', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAd(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAd.fromJson( - oJson as core.Map); - checkCreativeNativeAd(od); - }); - }); - - unittest.group('obj-schema-Creative', () { - unittest.test('to-json--from-json', () async { - final o = buildCreative(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Creative.fromJson(oJson as core.Map); - checkCreative(od); - }); - }); - - unittest.group('obj-schema-CreativesList', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativesList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativesList.fromJson( - oJson as core.Map); - checkCreativesList(od); - }); - }); - - unittest.group('obj-schema-DirectDeal', () { - unittest.test('to-json--from-json', () async { - final o = buildDirectDeal(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.DirectDeal.fromJson(oJson as core.Map); - checkDirectDeal(od); - }); - }); - - unittest.group('obj-schema-DirectDealsList', () { - unittest.test('to-json--from-json', () async { - final o = buildDirectDealsList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DirectDealsList.fromJson( - oJson as core.Map); - checkDirectDealsList(od); - }); - }); - - unittest.group('obj-schema-PerformanceReport', () { - unittest.test('to-json--from-json', () async { - final o = buildPerformanceReport(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PerformanceReport.fromJson( - oJson as core.Map); - checkPerformanceReport(od); - }); - }); - - unittest.group('obj-schema-PerformanceReportList', () { - unittest.test('to-json--from-json', () async { - final o = buildPerformanceReportList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PerformanceReportList.fromJson( - oJson as core.Map); - checkPerformanceReportList(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigDimensions', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigDimensions(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigDimensions.fromJson( - oJson as core.Map); - checkPretargetingConfigDimensions(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigExcludedPlacements', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigExcludedPlacements(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigExcludedPlacements.fromJson( - oJson as core.Map); - checkPretargetingConfigExcludedPlacements(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigPlacements', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigPlacements(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigPlacements.fromJson( - oJson as core.Map); - checkPretargetingConfigPlacements(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfig.fromJson( - oJson as core.Map); - checkPretargetingConfig(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigList', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigList.fromJson( - oJson as core.Map); - checkPretargetingConfigList(od); - }); - }); - - unittest.group('resource-AccountsResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_id = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('accounts/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccount()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_id, $fields: arg_$fields); - checkAccount(response as api.Account); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 8), - unittest.equals('accounts'), - ); - pathOffset += 8; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccountsList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list($fields: arg_$fields); - checkAccountsList(response as api.AccountsList); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_request = buildAccount(); - final arg_id = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Account.fromJson(json as core.Map); - checkAccount(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('accounts/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccount()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.patch(arg_request, arg_id, $fields: arg_$fields); - checkAccount(response as api.Account); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_request = buildAccount(); - final arg_id = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Account.fromJson(json as core.Map); - checkAccount(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('accounts/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccount()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.update(arg_request, arg_id, $fields: arg_$fields); - checkAccount(response as api.Account); - }); - }); - - unittest.group('resource-BillingInfoResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).billingInfo; - final arg_accountId = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBillingInfo()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_accountId, $fields: arg_$fields); - checkBillingInfo(response as api.BillingInfo); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).billingInfo; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 11), - unittest.equals('billinginfo'), - ); - pathOffset += 11; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBillingInfoList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list($fields: arg_$fields); - checkBillingInfoList(response as api.BillingInfoList); - }); - }); - - unittest.group('resource-BudgetResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).budget; - final arg_accountId = 'foo'; - final arg_billingId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_billingId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBudget()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.get(arg_accountId, arg_billingId, $fields: arg_$fields); - checkBudget(response as api.Budget); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).budget; - final arg_request = buildBudget(); - final arg_accountId = 'foo'; - final arg_billingId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Budget.fromJson(json as core.Map); - checkBudget(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_billingId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBudget()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.patch( - arg_request, arg_accountId, arg_billingId, - $fields: arg_$fields); - checkBudget(response as api.Budget); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).budget; - final arg_request = buildBudget(); - final arg_accountId = 'foo'; - final arg_billingId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Budget.fromJson(json as core.Map); - checkBudget(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_billingId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBudget()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.update( - arg_request, arg_accountId, arg_billingId, - $fields: arg_$fields); - checkBudget(response as api.Budget); - }); - }); - - unittest.group('resource-CreativesResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = 42; - final arg_buyerCreativeId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('creatives/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_buyerCreativeId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreative()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_accountId, arg_buyerCreativeId, - $fields: arg_$fields); - checkCreative(response as api.Creative); - }); - - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_request = buildCreative(); - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Creative.fromJson(json as core.Map); - checkCreative(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('creatives'), - ); - pathOffset += 9; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreative()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.insert(arg_request, $fields: arg_$fields); - checkCreative(response as api.Creative); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = buildUnnamed2186(); - final arg_buyerCreativeId = buildUnnamed2187(); - final arg_maxResults = 42; - final arg_pageToken = 'foo'; - final arg_statusFilter = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('creatives'), - ); - pathOffset += 9; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['accountId']!.map(core.int.parse).toList(), - unittest.equals(arg_accountId), - ); - unittest.expect( - queryMap['buyerCreativeId']!, - unittest.equals(arg_buyerCreativeId), - ); - unittest.expect( - core.int.parse(queryMap['maxResults']!.first), - unittest.equals(arg_maxResults), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); - unittest.expect( - queryMap['statusFilter']!.first, - unittest.equals(arg_statusFilter), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreativesList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list( - accountId: arg_accountId, - buyerCreativeId: arg_buyerCreativeId, - maxResults: arg_maxResults, - pageToken: arg_pageToken, - statusFilter: arg_statusFilter, - $fields: arg_$fields); - checkCreativesList(response as api.CreativesList); - }); - }); - - unittest.group('resource-DirectDealsResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).directDeals; - final arg_id = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('directdeals/'), - ); - pathOffset += 12; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildDirectDeal()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_id, $fields: arg_$fields); - checkDirectDeal(response as api.DirectDeal); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).directDeals; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 11), - unittest.equals('directdeals'), - ); - pathOffset += 11; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildDirectDealsList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list($fields: arg_$fields); - checkDirectDealsList(response as api.DirectDealsList); - }); - }); - - unittest.group('resource-PerformanceReportResource', () { - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).performanceReport; - final arg_accountId = 'foo'; - final arg_endDateTime = 'foo'; - final arg_startDateTime = 'foo'; - final arg_maxResults = 42; - final arg_pageToken = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 17), - unittest.equals('performancereport'), - ); - pathOffset += 17; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['accountId']!.first, - unittest.equals(arg_accountId), - ); - unittest.expect( - queryMap['endDateTime']!.first, - unittest.equals(arg_endDateTime), - ); - unittest.expect( - queryMap['startDateTime']!.first, - unittest.equals(arg_startDateTime), - ); - unittest.expect( - core.int.parse(queryMap['maxResults']!.first), - unittest.equals(arg_maxResults), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPerformanceReportList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list( - arg_accountId, arg_endDateTime, arg_startDateTime, - maxResults: arg_maxResults, - pageToken: arg_pageToken, - $fields: arg_$fields); - checkPerformanceReportList(response as api.PerformanceReportList); - }); - }); - - unittest.group('resource-PretargetingConfigResource', () { - unittest.test('method--delete', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = ''; - return async.Future.value(stringResponse(200, h, resp)); - }), true); - await res.delete(arg_accountId, arg_configId, $fields: arg_$fields); - }); - - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.get(arg_accountId, arg_configId, $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_request = buildPretargetingConfig(); - final arg_accountId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.PretargetingConfig.fromJson( - json as core.Map); - checkPretargetingConfig(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.insert(arg_request, arg_accountId, $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_accountId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfigList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list(arg_accountId, $fields: arg_$fields); - checkPretargetingConfigList(response as api.PretargetingConfigList); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_request = buildPretargetingConfig(); - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.PretargetingConfig.fromJson( - json as core.Map); - checkPretargetingConfig(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.patch(arg_request, arg_accountId, arg_configId, - $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_request = buildPretargetingConfig(); - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.PretargetingConfig.fromJson( - json as core.Map); - checkPretargetingConfig(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.3/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.update( - arg_request, arg_accountId, arg_configId, - $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - }); -} diff --git a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart deleted file mode 100644 index fe4227642..000000000 --- a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart +++ /dev/null @@ -1,8238 +0,0 @@ -// ignore_for_file: camel_case_types -// ignore_for_file: cascade_invocations -// ignore_for_file: comment_references -// ignore_for_file: file_names -// ignore_for_file: library_names -// ignore_for_file: lines_longer_than_80_chars -// ignore_for_file: non_constant_identifier_names -// ignore_for_file: prefer_const_declarations -// ignore_for_file: prefer_expression_function_bodies -// ignore_for_file: prefer_final_locals -// ignore_for_file: prefer_interpolation_to_compose_strings -// ignore_for_file: unnecessary_brace_in_string_interps -// ignore_for_file: unnecessary_cast -// ignore_for_file: unnecessary_lambdas -// ignore_for_file: unnecessary_parenthesis -// ignore_for_file: unnecessary_string_interpolations -// ignore_for_file: unused_local_variable - -import 'dart:async' as async; -import 'dart:convert' as convert; -import 'dart:core' as core; - -import 'package:googleapis/adexchangebuyer/v1_4.dart' as api; -import 'package:http/http.dart' as http; -import 'package:test/test.dart' as unittest; - -import '../test_shared.dart'; - -core.int buildCounterAccountBidderLocation = 0; -api.AccountBidderLocation buildAccountBidderLocation() { - final o = api.AccountBidderLocation(); - buildCounterAccountBidderLocation++; - if (buildCounterAccountBidderLocation < 3) { - o.bidProtocol = 'foo'; - o.maximumQps = 42; - o.region = 'foo'; - o.url = 'foo'; - } - buildCounterAccountBidderLocation--; - return o; -} - -void checkAccountBidderLocation(api.AccountBidderLocation o) { - buildCounterAccountBidderLocation++; - if (buildCounterAccountBidderLocation < 3) { - unittest.expect( - o.bidProtocol!, - unittest.equals('foo'), - ); - unittest.expect( - o.maximumQps!, - unittest.equals(42), - ); - unittest.expect( - o.region!, - unittest.equals('foo'), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - } - buildCounterAccountBidderLocation--; -} - -core.List buildUnnamed2648() => [ - buildAccountBidderLocation(), - buildAccountBidderLocation(), - ]; - -void checkUnnamed2648(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkAccountBidderLocation(o[0]); - checkAccountBidderLocation(o[1]); -} - -core.int buildCounterAccount = 0; -api.Account buildAccount() { - final o = api.Account(); - buildCounterAccount++; - if (buildCounterAccount < 3) { - o.applyPretargetingToNonGuaranteedDeals = true; - o.bidderLocation = buildUnnamed2648(); - o.cookieMatchingNid = 'foo'; - o.cookieMatchingUrl = 'foo'; - o.id = 42; - o.kind = 'foo'; - o.maximumActiveCreatives = 42; - o.maximumTotalQps = 42; - o.numberActiveCreatives = 42; - } - buildCounterAccount--; - return o; -} - -void checkAccount(api.Account o) { - buildCounterAccount++; - if (buildCounterAccount < 3) { - unittest.expect(o.applyPretargetingToNonGuaranteedDeals!, unittest.isTrue); - checkUnnamed2648(o.bidderLocation!); - unittest.expect( - o.cookieMatchingNid!, - unittest.equals('foo'), - ); - unittest.expect( - o.cookieMatchingUrl!, - unittest.equals('foo'), - ); - unittest.expect( - o.id!, - unittest.equals(42), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.maximumActiveCreatives!, - unittest.equals(42), - ); - unittest.expect( - o.maximumTotalQps!, - unittest.equals(42), - ); - unittest.expect( - o.numberActiveCreatives!, - unittest.equals(42), - ); - } - buildCounterAccount--; -} - -core.List buildUnnamed2649() => [ - buildAccount(), - buildAccount(), - ]; - -void checkUnnamed2649(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkAccount(o[0]); - checkAccount(o[1]); -} - -core.int buildCounterAccountsList = 0; -api.AccountsList buildAccountsList() { - final o = api.AccountsList(); - buildCounterAccountsList++; - if (buildCounterAccountsList < 3) { - o.items = buildUnnamed2649(); - o.kind = 'foo'; - } - buildCounterAccountsList--; - return o; -} - -void checkAccountsList(api.AccountsList o) { - buildCounterAccountsList++; - if (buildCounterAccountsList < 3) { - checkUnnamed2649(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterAccountsList--; -} - -core.List buildUnnamed2650() => [ - buildMarketplaceDeal(), - buildMarketplaceDeal(), - ]; - -void checkUnnamed2650(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceDeal(o[0]); - checkMarketplaceDeal(o[1]); -} - -core.int buildCounterAddOrderDealsRequest = 0; -api.AddOrderDealsRequest buildAddOrderDealsRequest() { - final o = api.AddOrderDealsRequest(); - buildCounterAddOrderDealsRequest++; - if (buildCounterAddOrderDealsRequest < 3) { - o.deals = buildUnnamed2650(); - o.proposalRevisionNumber = 'foo'; - o.updateAction = 'foo'; - } - buildCounterAddOrderDealsRequest--; - return o; -} - -void checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { - buildCounterAddOrderDealsRequest++; - if (buildCounterAddOrderDealsRequest < 3) { - checkUnnamed2650(o.deals!); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.updateAction!, - unittest.equals('foo'), - ); - } - buildCounterAddOrderDealsRequest--; -} - -core.List buildUnnamed2651() => [ - buildMarketplaceDeal(), - buildMarketplaceDeal(), - ]; - -void checkUnnamed2651(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceDeal(o[0]); - checkMarketplaceDeal(o[1]); -} - -core.int buildCounterAddOrderDealsResponse = 0; -api.AddOrderDealsResponse buildAddOrderDealsResponse() { - final o = api.AddOrderDealsResponse(); - buildCounterAddOrderDealsResponse++; - if (buildCounterAddOrderDealsResponse < 3) { - o.deals = buildUnnamed2651(); - o.proposalRevisionNumber = 'foo'; - } - buildCounterAddOrderDealsResponse--; - return o; -} - -void checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { - buildCounterAddOrderDealsResponse++; - if (buildCounterAddOrderDealsResponse < 3) { - checkUnnamed2651(o.deals!); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - } - buildCounterAddOrderDealsResponse--; -} - -core.List buildUnnamed2652() => [ - buildMarketplaceNote(), - buildMarketplaceNote(), - ]; - -void checkUnnamed2652(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceNote(o[0]); - checkMarketplaceNote(o[1]); -} - -core.int buildCounterAddOrderNotesRequest = 0; -api.AddOrderNotesRequest buildAddOrderNotesRequest() { - final o = api.AddOrderNotesRequest(); - buildCounterAddOrderNotesRequest++; - if (buildCounterAddOrderNotesRequest < 3) { - o.notes = buildUnnamed2652(); - } - buildCounterAddOrderNotesRequest--; - return o; -} - -void checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { - buildCounterAddOrderNotesRequest++; - if (buildCounterAddOrderNotesRequest < 3) { - checkUnnamed2652(o.notes!); - } - buildCounterAddOrderNotesRequest--; -} - -core.List buildUnnamed2653() => [ - buildMarketplaceNote(), - buildMarketplaceNote(), - ]; - -void checkUnnamed2653(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceNote(o[0]); - checkMarketplaceNote(o[1]); -} - -core.int buildCounterAddOrderNotesResponse = 0; -api.AddOrderNotesResponse buildAddOrderNotesResponse() { - final o = api.AddOrderNotesResponse(); - buildCounterAddOrderNotesResponse++; - if (buildCounterAddOrderNotesResponse < 3) { - o.notes = buildUnnamed2653(); - } - buildCounterAddOrderNotesResponse--; - return o; -} - -void checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { - buildCounterAddOrderNotesResponse++; - if (buildCounterAddOrderNotesResponse < 3) { - checkUnnamed2653(o.notes!); - } - buildCounterAddOrderNotesResponse--; -} - -core.List buildUnnamed2654() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2654(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterBillingInfo = 0; -api.BillingInfo buildBillingInfo() { - final o = api.BillingInfo(); - buildCounterBillingInfo++; - if (buildCounterBillingInfo < 3) { - o.accountId = 42; - o.accountName = 'foo'; - o.billingId = buildUnnamed2654(); - o.kind = 'foo'; - } - buildCounterBillingInfo--; - return o; -} - -void checkBillingInfo(api.BillingInfo o) { - buildCounterBillingInfo++; - if (buildCounterBillingInfo < 3) { - unittest.expect( - o.accountId!, - unittest.equals(42), - ); - unittest.expect( - o.accountName!, - unittest.equals('foo'), - ); - checkUnnamed2654(o.billingId!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterBillingInfo--; -} - -core.List buildUnnamed2655() => [ - buildBillingInfo(), - buildBillingInfo(), - ]; - -void checkUnnamed2655(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkBillingInfo(o[0]); - checkBillingInfo(o[1]); -} - -core.int buildCounterBillingInfoList = 0; -api.BillingInfoList buildBillingInfoList() { - final o = api.BillingInfoList(); - buildCounterBillingInfoList++; - if (buildCounterBillingInfoList < 3) { - o.items = buildUnnamed2655(); - o.kind = 'foo'; - } - buildCounterBillingInfoList--; - return o; -} - -void checkBillingInfoList(api.BillingInfoList o) { - buildCounterBillingInfoList++; - if (buildCounterBillingInfoList < 3) { - checkUnnamed2655(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterBillingInfoList--; -} - -core.int buildCounterBudget = 0; -api.Budget buildBudget() { - final o = api.Budget(); - buildCounterBudget++; - if (buildCounterBudget < 3) { - o.accountId = 'foo'; - o.billingId = 'foo'; - o.budgetAmount = 'foo'; - o.currencyCode = 'foo'; - o.id = 'foo'; - o.kind = 'foo'; - } - buildCounterBudget--; - return o; -} - -void checkBudget(api.Budget o) { - buildCounterBudget++; - if (buildCounterBudget < 3) { - unittest.expect( - o.accountId!, - unittest.equals('foo'), - ); - unittest.expect( - o.billingId!, - unittest.equals('foo'), - ); - unittest.expect( - o.budgetAmount!, - unittest.equals('foo'), - ); - unittest.expect( - o.currencyCode!, - unittest.equals('foo'), - ); - unittest.expect( - o.id!, - unittest.equals('foo'), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterBudget--; -} - -core.int buildCounterBuyer = 0; -api.Buyer buildBuyer() { - final o = api.Buyer(); - buildCounterBuyer++; - if (buildCounterBuyer < 3) { - o.accountId = 'foo'; - } - buildCounterBuyer--; - return o; -} - -void checkBuyer(api.Buyer o) { - buildCounterBuyer++; - if (buildCounterBuyer < 3) { - unittest.expect( - o.accountId!, - unittest.equals('foo'), - ); - } - buildCounterBuyer--; -} - -core.int buildCounterContactInformation = 0; -api.ContactInformation buildContactInformation() { - final o = api.ContactInformation(); - buildCounterContactInformation++; - if (buildCounterContactInformation < 3) { - o.email = 'foo'; - o.name = 'foo'; - } - buildCounterContactInformation--; - return o; -} - -void checkContactInformation(api.ContactInformation o) { - buildCounterContactInformation++; - if (buildCounterContactInformation < 3) { - unittest.expect( - o.email!, - unittest.equals('foo'), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - } - buildCounterContactInformation--; -} - -core.List buildUnnamed2656() => [ - buildProposal(), - buildProposal(), - ]; - -void checkUnnamed2656(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkProposal(o[0]); - checkProposal(o[1]); -} - -core.int buildCounterCreateOrdersRequest = 0; -api.CreateOrdersRequest buildCreateOrdersRequest() { - final o = api.CreateOrdersRequest(); - buildCounterCreateOrdersRequest++; - if (buildCounterCreateOrdersRequest < 3) { - o.proposals = buildUnnamed2656(); - o.webPropertyCode = 'foo'; - } - buildCounterCreateOrdersRequest--; - return o; -} - -void checkCreateOrdersRequest(api.CreateOrdersRequest o) { - buildCounterCreateOrdersRequest++; - if (buildCounterCreateOrdersRequest < 3) { - checkUnnamed2656(o.proposals!); - unittest.expect( - o.webPropertyCode!, - unittest.equals('foo'), - ); - } - buildCounterCreateOrdersRequest--; -} - -core.List buildUnnamed2657() => [ - buildProposal(), - buildProposal(), - ]; - -void checkUnnamed2657(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkProposal(o[0]); - checkProposal(o[1]); -} - -core.int buildCounterCreateOrdersResponse = 0; -api.CreateOrdersResponse buildCreateOrdersResponse() { - final o = api.CreateOrdersResponse(); - buildCounterCreateOrdersResponse++; - if (buildCounterCreateOrdersResponse < 3) { - o.proposals = buildUnnamed2657(); - } - buildCounterCreateOrdersResponse--; - return o; -} - -void checkCreateOrdersResponse(api.CreateOrdersResponse o) { - buildCounterCreateOrdersResponse++; - if (buildCounterCreateOrdersResponse < 3) { - checkUnnamed2657(o.proposals!); - } - buildCounterCreateOrdersResponse--; -} - -core.List buildUnnamed2658() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2658(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeAdTechnologyProviders = 0; -api.CreativeAdTechnologyProviders buildCreativeAdTechnologyProviders() { - final o = api.CreativeAdTechnologyProviders(); - buildCounterCreativeAdTechnologyProviders++; - if (buildCounterCreativeAdTechnologyProviders < 3) { - o.detectedProviderIds = buildUnnamed2658(); - o.hasUnidentifiedProvider = true; - } - buildCounterCreativeAdTechnologyProviders--; - return o; -} - -void checkCreativeAdTechnologyProviders(api.CreativeAdTechnologyProviders o) { - buildCounterCreativeAdTechnologyProviders++; - if (buildCounterCreativeAdTechnologyProviders < 3) { - checkUnnamed2658(o.detectedProviderIds!); - unittest.expect(o.hasUnidentifiedProvider!, unittest.isTrue); - } - buildCounterCreativeAdTechnologyProviders--; -} - -core.List buildUnnamed2659() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2659(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2660() => [ - 42, - 42, - ]; - -void checkUnnamed2660(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2661() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2661(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2662() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2662(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2663() => [ - 42, - 42, - ]; - -void checkUnnamed2663(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2664() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2664(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeCorrectionsContexts = 0; -api.CreativeCorrectionsContexts buildCreativeCorrectionsContexts() { - final o = api.CreativeCorrectionsContexts(); - buildCounterCreativeCorrectionsContexts++; - if (buildCounterCreativeCorrectionsContexts < 3) { - o.auctionType = buildUnnamed2662(); - o.contextType = 'foo'; - o.geoCriteriaId = buildUnnamed2663(); - o.platform = buildUnnamed2664(); - } - buildCounterCreativeCorrectionsContexts--; - return o; -} - -void checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) { - buildCounterCreativeCorrectionsContexts++; - if (buildCounterCreativeCorrectionsContexts < 3) { - checkUnnamed2662(o.auctionType!); - unittest.expect( - o.contextType!, - unittest.equals('foo'), - ); - checkUnnamed2663(o.geoCriteriaId!); - checkUnnamed2664(o.platform!); - } - buildCounterCreativeCorrectionsContexts--; -} - -core.List buildUnnamed2665() => [ - buildCreativeCorrectionsContexts(), - buildCreativeCorrectionsContexts(), - ]; - -void checkUnnamed2665(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeCorrectionsContexts(o[0]); - checkCreativeCorrectionsContexts(o[1]); -} - -core.List buildUnnamed2666() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2666(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeCorrections = 0; -api.CreativeCorrections buildCreativeCorrections() { - final o = api.CreativeCorrections(); - buildCounterCreativeCorrections++; - if (buildCounterCreativeCorrections < 3) { - o.contexts = buildUnnamed2665(); - o.details = buildUnnamed2666(); - o.reason = 'foo'; - } - buildCounterCreativeCorrections--; - return o; -} - -void checkCreativeCorrections(api.CreativeCorrections o) { - buildCounterCreativeCorrections++; - if (buildCounterCreativeCorrections < 3) { - checkUnnamed2665(o.contexts!); - checkUnnamed2666(o.details!); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - } - buildCounterCreativeCorrections--; -} - -core.List buildUnnamed2667() => [ - buildCreativeCorrections(), - buildCreativeCorrections(), - ]; - -void checkUnnamed2667(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeCorrections(o[0]); - checkCreativeCorrections(o[1]); -} - -core.List buildUnnamed2668() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2668(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeFilteringReasonsReasons = 0; -api.CreativeFilteringReasonsReasons buildCreativeFilteringReasonsReasons() { - final o = api.CreativeFilteringReasonsReasons(); - buildCounterCreativeFilteringReasonsReasons++; - if (buildCounterCreativeFilteringReasonsReasons < 3) { - o.filteringCount = 'foo'; - o.filteringStatus = 42; - } - buildCounterCreativeFilteringReasonsReasons--; - return o; -} - -void checkCreativeFilteringReasonsReasons( - api.CreativeFilteringReasonsReasons o) { - buildCounterCreativeFilteringReasonsReasons++; - if (buildCounterCreativeFilteringReasonsReasons < 3) { - unittest.expect( - o.filteringCount!, - unittest.equals('foo'), - ); - unittest.expect( - o.filteringStatus!, - unittest.equals(42), - ); - } - buildCounterCreativeFilteringReasonsReasons--; -} - -core.List buildUnnamed2669() => [ - buildCreativeFilteringReasonsReasons(), - buildCreativeFilteringReasonsReasons(), - ]; - -void checkUnnamed2669(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeFilteringReasonsReasons(o[0]); - checkCreativeFilteringReasonsReasons(o[1]); -} - -core.int buildCounterCreativeFilteringReasons = 0; -api.CreativeFilteringReasons buildCreativeFilteringReasons() { - final o = api.CreativeFilteringReasons(); - buildCounterCreativeFilteringReasons++; - if (buildCounterCreativeFilteringReasons < 3) { - o.date = 'foo'; - o.reasons = buildUnnamed2669(); - } - buildCounterCreativeFilteringReasons--; - return o; -} - -void checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { - buildCounterCreativeFilteringReasons++; - if (buildCounterCreativeFilteringReasons < 3) { - unittest.expect( - o.date!, - unittest.equals('foo'), - ); - checkUnnamed2669(o.reasons!); - } - buildCounterCreativeFilteringReasons--; -} - -core.List buildUnnamed2670() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2670(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2671() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2671(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeNativeAdAppIcon = 0; -api.CreativeNativeAdAppIcon buildCreativeNativeAdAppIcon() { - final o = api.CreativeNativeAdAppIcon(); - buildCounterCreativeNativeAdAppIcon++; - if (buildCounterCreativeNativeAdAppIcon < 3) { - o.height = 42; - o.url = 'foo'; - o.width = 42; - } - buildCounterCreativeNativeAdAppIcon--; - return o; -} - -void checkCreativeNativeAdAppIcon(api.CreativeNativeAdAppIcon o) { - buildCounterCreativeNativeAdAppIcon++; - if (buildCounterCreativeNativeAdAppIcon < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreativeNativeAdAppIcon--; -} - -core.int buildCounterCreativeNativeAdImage = 0; -api.CreativeNativeAdImage buildCreativeNativeAdImage() { - final o = api.CreativeNativeAdImage(); - buildCounterCreativeNativeAdImage++; - if (buildCounterCreativeNativeAdImage < 3) { - o.height = 42; - o.url = 'foo'; - o.width = 42; - } - buildCounterCreativeNativeAdImage--; - return o; -} - -void checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { - buildCounterCreativeNativeAdImage++; - if (buildCounterCreativeNativeAdImage < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreativeNativeAdImage--; -} - -core.List buildUnnamed2672() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2672(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeNativeAdLogo = 0; -api.CreativeNativeAdLogo buildCreativeNativeAdLogo() { - final o = api.CreativeNativeAdLogo(); - buildCounterCreativeNativeAdLogo++; - if (buildCounterCreativeNativeAdLogo < 3) { - o.height = 42; - o.url = 'foo'; - o.width = 42; - } - buildCounterCreativeNativeAdLogo--; - return o; -} - -void checkCreativeNativeAdLogo(api.CreativeNativeAdLogo o) { - buildCounterCreativeNativeAdLogo++; - if (buildCounterCreativeNativeAdLogo < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.url!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreativeNativeAdLogo--; -} - -core.int buildCounterCreativeNativeAd = 0; -api.CreativeNativeAd buildCreativeNativeAd() { - final o = api.CreativeNativeAd(); - buildCounterCreativeNativeAd++; - if (buildCounterCreativeNativeAd < 3) { - o.advertiser = 'foo'; - o.appIcon = buildCreativeNativeAdAppIcon(); - o.body = 'foo'; - o.callToAction = 'foo'; - o.clickLinkUrl = 'foo'; - o.clickTrackingUrl = 'foo'; - o.headline = 'foo'; - o.image = buildCreativeNativeAdImage(); - o.impressionTrackingUrl = buildUnnamed2672(); - o.logo = buildCreativeNativeAdLogo(); - o.price = 'foo'; - o.starRating = 42.0; - o.videoURL = 'foo'; - } - buildCounterCreativeNativeAd--; - return o; -} - -void checkCreativeNativeAd(api.CreativeNativeAd o) { - buildCounterCreativeNativeAd++; - if (buildCounterCreativeNativeAd < 3) { - unittest.expect( - o.advertiser!, - unittest.equals('foo'), - ); - checkCreativeNativeAdAppIcon(o.appIcon!); - unittest.expect( - o.body!, - unittest.equals('foo'), - ); - unittest.expect( - o.callToAction!, - unittest.equals('foo'), - ); - unittest.expect( - o.clickLinkUrl!, - unittest.equals('foo'), - ); - unittest.expect( - o.clickTrackingUrl!, - unittest.equals('foo'), - ); - unittest.expect( - o.headline!, - unittest.equals('foo'), - ); - checkCreativeNativeAdImage(o.image!); - checkUnnamed2672(o.impressionTrackingUrl!); - checkCreativeNativeAdLogo(o.logo!); - unittest.expect( - o.price!, - unittest.equals('foo'), - ); - unittest.expect( - o.starRating!, - unittest.equals(42.0), - ); - unittest.expect( - o.videoURL!, - unittest.equals('foo'), - ); - } - buildCounterCreativeNativeAd--; -} - -core.List buildUnnamed2673() => [ - 42, - 42, - ]; - -void checkUnnamed2673(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2674() => [ - 42, - 42, - ]; - -void checkUnnamed2674(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2675() => [ - 42, - 42, - ]; - -void checkUnnamed2675(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2676() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2676(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2677() => [ - 42, - 42, - ]; - -void checkUnnamed2677(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2678() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2678(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeServingRestrictionsContexts = 0; -api.CreativeServingRestrictionsContexts - buildCreativeServingRestrictionsContexts() { - final o = api.CreativeServingRestrictionsContexts(); - buildCounterCreativeServingRestrictionsContexts++; - if (buildCounterCreativeServingRestrictionsContexts < 3) { - o.auctionType = buildUnnamed2676(); - o.contextType = 'foo'; - o.geoCriteriaId = buildUnnamed2677(); - o.platform = buildUnnamed2678(); - } - buildCounterCreativeServingRestrictionsContexts--; - return o; -} - -void checkCreativeServingRestrictionsContexts( - api.CreativeServingRestrictionsContexts o) { - buildCounterCreativeServingRestrictionsContexts++; - if (buildCounterCreativeServingRestrictionsContexts < 3) { - checkUnnamed2676(o.auctionType!); - unittest.expect( - o.contextType!, - unittest.equals('foo'), - ); - checkUnnamed2677(o.geoCriteriaId!); - checkUnnamed2678(o.platform!); - } - buildCounterCreativeServingRestrictionsContexts--; -} - -core.List buildUnnamed2679() => [ - buildCreativeServingRestrictionsContexts(), - buildCreativeServingRestrictionsContexts(), - ]; - -void checkUnnamed2679(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeServingRestrictionsContexts(o[0]); - checkCreativeServingRestrictionsContexts(o[1]); -} - -core.List buildUnnamed2680() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2680(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; -api.CreativeServingRestrictionsDisapprovalReasons - buildCreativeServingRestrictionsDisapprovalReasons() { - final o = api.CreativeServingRestrictionsDisapprovalReasons(); - buildCounterCreativeServingRestrictionsDisapprovalReasons++; - if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { - o.details = buildUnnamed2680(); - o.reason = 'foo'; - } - buildCounterCreativeServingRestrictionsDisapprovalReasons--; - return o; -} - -void checkCreativeServingRestrictionsDisapprovalReasons( - api.CreativeServingRestrictionsDisapprovalReasons o) { - buildCounterCreativeServingRestrictionsDisapprovalReasons++; - if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { - checkUnnamed2680(o.details!); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - } - buildCounterCreativeServingRestrictionsDisapprovalReasons--; -} - -core.List - buildUnnamed2681() => [ - buildCreativeServingRestrictionsDisapprovalReasons(), - buildCreativeServingRestrictionsDisapprovalReasons(), - ]; - -void checkUnnamed2681( - core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeServingRestrictionsDisapprovalReasons(o[0]); - checkCreativeServingRestrictionsDisapprovalReasons(o[1]); -} - -core.int buildCounterCreativeServingRestrictions = 0; -api.CreativeServingRestrictions buildCreativeServingRestrictions() { - final o = api.CreativeServingRestrictions(); - buildCounterCreativeServingRestrictions++; - if (buildCounterCreativeServingRestrictions < 3) { - o.contexts = buildUnnamed2679(); - o.disapprovalReasons = buildUnnamed2681(); - o.reason = 'foo'; - } - buildCounterCreativeServingRestrictions--; - return o; -} - -void checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { - buildCounterCreativeServingRestrictions++; - if (buildCounterCreativeServingRestrictions < 3) { - checkUnnamed2679(o.contexts!); - checkUnnamed2681(o.disapprovalReasons!); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - } - buildCounterCreativeServingRestrictions--; -} - -core.List buildUnnamed2682() => [ - buildCreativeServingRestrictions(), - buildCreativeServingRestrictions(), - ]; - -void checkUnnamed2682(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeServingRestrictions(o[0]); - checkCreativeServingRestrictions(o[1]); -} - -core.List buildUnnamed2683() => [ - 42, - 42, - ]; - -void checkUnnamed2683(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.int buildCounterCreative = 0; -api.Creative buildCreative() { - final o = api.Creative(); - buildCounterCreative++; - if (buildCounterCreative < 3) { - o.HTMLSnippet = 'foo'; - o.accountId = 42; - o.adChoicesDestinationUrl = 'foo'; - o.adTechnologyProviders = buildCreativeAdTechnologyProviders(); - o.advertiserId = buildUnnamed2659(); - o.advertiserName = 'foo'; - o.agencyId = 'foo'; - o.apiUploadTimestamp = core.DateTime.parse('2002-02-27T14:01:02'); - o.attribute = buildUnnamed2660(); - o.buyerCreativeId = 'foo'; - o.clickThroughUrl = buildUnnamed2661(); - o.corrections = buildUnnamed2667(); - o.creativeStatusIdentityType = 'foo'; - o.dealsStatus = 'foo'; - o.detectedDomains = buildUnnamed2668(); - o.filteringReasons = buildCreativeFilteringReasons(); - o.height = 42; - o.impressionTrackingUrl = buildUnnamed2670(); - o.kind = 'foo'; - o.languages = buildUnnamed2671(); - o.nativeAd = buildCreativeNativeAd(); - o.openAuctionStatus = 'foo'; - o.productCategories = buildUnnamed2673(); - o.restrictedCategories = buildUnnamed2674(); - o.sensitiveCategories = buildUnnamed2675(); - o.servingRestrictions = buildUnnamed2682(); - o.vendorType = buildUnnamed2683(); - o.version = 42; - o.videoURL = 'foo'; - o.videoVastXML = 'foo'; - o.width = 42; - } - buildCounterCreative--; - return o; -} - -void checkCreative(api.Creative o) { - buildCounterCreative++; - if (buildCounterCreative < 3) { - unittest.expect( - o.HTMLSnippet!, - unittest.equals('foo'), - ); - unittest.expect( - o.accountId!, - unittest.equals(42), - ); - unittest.expect( - o.adChoicesDestinationUrl!, - unittest.equals('foo'), - ); - checkCreativeAdTechnologyProviders(o.adTechnologyProviders!); - checkUnnamed2659(o.advertiserId!); - unittest.expect( - o.advertiserName!, - unittest.equals('foo'), - ); - unittest.expect( - o.agencyId!, - unittest.equals('foo'), - ); - unittest.expect( - o.apiUploadTimestamp!, - unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), - ); - checkUnnamed2660(o.attribute!); - unittest.expect( - o.buyerCreativeId!, - unittest.equals('foo'), - ); - checkUnnamed2661(o.clickThroughUrl!); - checkUnnamed2667(o.corrections!); - unittest.expect( - o.creativeStatusIdentityType!, - unittest.equals('foo'), - ); - unittest.expect( - o.dealsStatus!, - unittest.equals('foo'), - ); - checkUnnamed2668(o.detectedDomains!); - checkCreativeFilteringReasons(o.filteringReasons!); - unittest.expect( - o.height!, - unittest.equals(42), - ); - checkUnnamed2670(o.impressionTrackingUrl!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2671(o.languages!); - checkCreativeNativeAd(o.nativeAd!); - unittest.expect( - o.openAuctionStatus!, - unittest.equals('foo'), - ); - checkUnnamed2673(o.productCategories!); - checkUnnamed2674(o.restrictedCategories!); - checkUnnamed2675(o.sensitiveCategories!); - checkUnnamed2682(o.servingRestrictions!); - checkUnnamed2683(o.vendorType!); - unittest.expect( - o.version!, - unittest.equals(42), - ); - unittest.expect( - o.videoURL!, - unittest.equals('foo'), - ); - unittest.expect( - o.videoVastXML!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterCreative--; -} - -core.int buildCounterCreativeDealIdsDealStatuses = 0; -api.CreativeDealIdsDealStatuses buildCreativeDealIdsDealStatuses() { - final o = api.CreativeDealIdsDealStatuses(); - buildCounterCreativeDealIdsDealStatuses++; - if (buildCounterCreativeDealIdsDealStatuses < 3) { - o.arcStatus = 'foo'; - o.dealId = 'foo'; - o.webPropertyId = 42; - } - buildCounterCreativeDealIdsDealStatuses--; - return o; -} - -void checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { - buildCounterCreativeDealIdsDealStatuses++; - if (buildCounterCreativeDealIdsDealStatuses < 3) { - unittest.expect( - o.arcStatus!, - unittest.equals('foo'), - ); - unittest.expect( - o.dealId!, - unittest.equals('foo'), - ); - unittest.expect( - o.webPropertyId!, - unittest.equals(42), - ); - } - buildCounterCreativeDealIdsDealStatuses--; -} - -core.List buildUnnamed2684() => [ - buildCreativeDealIdsDealStatuses(), - buildCreativeDealIdsDealStatuses(), - ]; - -void checkUnnamed2684(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreativeDealIdsDealStatuses(o[0]); - checkCreativeDealIdsDealStatuses(o[1]); -} - -core.int buildCounterCreativeDealIds = 0; -api.CreativeDealIds buildCreativeDealIds() { - final o = api.CreativeDealIds(); - buildCounterCreativeDealIds++; - if (buildCounterCreativeDealIds < 3) { - o.dealStatuses = buildUnnamed2684(); - o.kind = 'foo'; - } - buildCounterCreativeDealIds--; - return o; -} - -void checkCreativeDealIds(api.CreativeDealIds o) { - buildCounterCreativeDealIds++; - if (buildCounterCreativeDealIds < 3) { - checkUnnamed2684(o.dealStatuses!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterCreativeDealIds--; -} - -core.List buildUnnamed2685() => [ - buildCreative(), - buildCreative(), - ]; - -void checkUnnamed2685(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkCreative(o[0]); - checkCreative(o[1]); -} - -core.int buildCounterCreativesList = 0; -api.CreativesList buildCreativesList() { - final o = api.CreativesList(); - buildCounterCreativesList++; - if (buildCounterCreativesList < 3) { - o.items = buildUnnamed2685(); - o.kind = 'foo'; - o.nextPageToken = 'foo'; - } - buildCounterCreativesList--; - return o; -} - -void checkCreativesList(api.CreativesList o) { - buildCounterCreativesList++; - if (buildCounterCreativesList < 3) { - checkUnnamed2685(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.nextPageToken!, - unittest.equals('foo'), - ); - } - buildCounterCreativesList--; -} - -core.int buildCounterDealServingMetadata = 0; -api.DealServingMetadata buildDealServingMetadata() { - final o = api.DealServingMetadata(); - buildCounterDealServingMetadata++; - if (buildCounterDealServingMetadata < 3) { - o.alcoholAdsAllowed = true; - o.dealPauseStatus = buildDealServingMetadataDealPauseStatus(); - } - buildCounterDealServingMetadata--; - return o; -} - -void checkDealServingMetadata(api.DealServingMetadata o) { - buildCounterDealServingMetadata++; - if (buildCounterDealServingMetadata < 3) { - unittest.expect(o.alcoholAdsAllowed!, unittest.isTrue); - checkDealServingMetadataDealPauseStatus(o.dealPauseStatus!); - } - buildCounterDealServingMetadata--; -} - -core.int buildCounterDealServingMetadataDealPauseStatus = 0; -api.DealServingMetadataDealPauseStatus - buildDealServingMetadataDealPauseStatus() { - final o = api.DealServingMetadataDealPauseStatus(); - buildCounterDealServingMetadataDealPauseStatus++; - if (buildCounterDealServingMetadataDealPauseStatus < 3) { - o.buyerPauseReason = 'foo'; - o.firstPausedBy = 'foo'; - o.hasBuyerPaused = true; - o.hasSellerPaused = true; - o.sellerPauseReason = 'foo'; - } - buildCounterDealServingMetadataDealPauseStatus--; - return o; -} - -void checkDealServingMetadataDealPauseStatus( - api.DealServingMetadataDealPauseStatus o) { - buildCounterDealServingMetadataDealPauseStatus++; - if (buildCounterDealServingMetadataDealPauseStatus < 3) { - unittest.expect( - o.buyerPauseReason!, - unittest.equals('foo'), - ); - unittest.expect( - o.firstPausedBy!, - unittest.equals('foo'), - ); - unittest.expect(o.hasBuyerPaused!, unittest.isTrue); - unittest.expect(o.hasSellerPaused!, unittest.isTrue); - unittest.expect( - o.sellerPauseReason!, - unittest.equals('foo'), - ); - } - buildCounterDealServingMetadataDealPauseStatus--; -} - -core.int buildCounterDealTerms = 0; -api.DealTerms buildDealTerms() { - final o = api.DealTerms(); - buildCounterDealTerms++; - if (buildCounterDealTerms < 3) { - o.brandingType = 'foo'; - o.crossListedExternalDealIdType = 'foo'; - o.description = 'foo'; - o.estimatedGrossSpend = buildPrice(); - o.estimatedImpressionsPerDay = 'foo'; - o.guaranteedFixedPriceTerms = buildDealTermsGuaranteedFixedPriceTerms(); - o.nonGuaranteedAuctionTerms = buildDealTermsNonGuaranteedAuctionTerms(); - o.nonGuaranteedFixedPriceTerms = - buildDealTermsNonGuaranteedFixedPriceTerms(); - o.rubiconNonGuaranteedTerms = buildDealTermsRubiconNonGuaranteedTerms(); - o.sellerTimeZone = 'foo'; - } - buildCounterDealTerms--; - return o; -} - -void checkDealTerms(api.DealTerms o) { - buildCounterDealTerms++; - if (buildCounterDealTerms < 3) { - unittest.expect( - o.brandingType!, - unittest.equals('foo'), - ); - unittest.expect( - o.crossListedExternalDealIdType!, - unittest.equals('foo'), - ); - unittest.expect( - o.description!, - unittest.equals('foo'), - ); - checkPrice(o.estimatedGrossSpend!); - unittest.expect( - o.estimatedImpressionsPerDay!, - unittest.equals('foo'), - ); - checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms!); - checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms!); - checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms!); - checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms!); - unittest.expect( - o.sellerTimeZone!, - unittest.equals('foo'), - ); - } - buildCounterDealTerms--; -} - -core.List buildUnnamed2686() => [ - buildPricePerBuyer(), - buildPricePerBuyer(), - ]; - -void checkUnnamed2686(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPricePerBuyer(o[0]); - checkPricePerBuyer(o[1]); -} - -core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; -api.DealTermsGuaranteedFixedPriceTerms - buildDealTermsGuaranteedFixedPriceTerms() { - final o = api.DealTermsGuaranteedFixedPriceTerms(); - buildCounterDealTermsGuaranteedFixedPriceTerms++; - if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { - o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); - o.fixedPrices = buildUnnamed2686(); - o.guaranteedImpressions = 'foo'; - o.guaranteedLooks = 'foo'; - o.minimumDailyLooks = 'foo'; - } - buildCounterDealTermsGuaranteedFixedPriceTerms--; - return o; -} - -void checkDealTermsGuaranteedFixedPriceTerms( - api.DealTermsGuaranteedFixedPriceTerms o) { - buildCounterDealTermsGuaranteedFixedPriceTerms++; - if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { - checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo!); - checkUnnamed2686(o.fixedPrices!); - unittest.expect( - o.guaranteedImpressions!, - unittest.equals('foo'), - ); - unittest.expect( - o.guaranteedLooks!, - unittest.equals('foo'), - ); - unittest.expect( - o.minimumDailyLooks!, - unittest.equals('foo'), - ); - } - buildCounterDealTermsGuaranteedFixedPriceTerms--; -} - -core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; -api.DealTermsGuaranteedFixedPriceTermsBillingInfo - buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { - final o = api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); - buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; - if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { - o.currencyConversionTimeMs = 'foo'; - o.dfpLineItemId = 'foo'; - o.originalContractedQuantity = 'foo'; - o.price = buildPrice(); - } - buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; - return o; -} - -void checkDealTermsGuaranteedFixedPriceTermsBillingInfo( - api.DealTermsGuaranteedFixedPriceTermsBillingInfo o) { - buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; - if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { - unittest.expect( - o.currencyConversionTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.dfpLineItemId!, - unittest.equals('foo'), - ); - unittest.expect( - o.originalContractedQuantity!, - unittest.equals('foo'), - ); - checkPrice(o.price!); - } - buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; -} - -core.List buildUnnamed2687() => [ - buildPricePerBuyer(), - buildPricePerBuyer(), - ]; - -void checkUnnamed2687(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPricePerBuyer(o[0]); - checkPricePerBuyer(o[1]); -} - -core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; -api.DealTermsNonGuaranteedAuctionTerms - buildDealTermsNonGuaranteedAuctionTerms() { - final o = api.DealTermsNonGuaranteedAuctionTerms(); - buildCounterDealTermsNonGuaranteedAuctionTerms++; - if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { - o.autoOptimizePrivateAuction = true; - o.reservePricePerBuyers = buildUnnamed2687(); - } - buildCounterDealTermsNonGuaranteedAuctionTerms--; - return o; -} - -void checkDealTermsNonGuaranteedAuctionTerms( - api.DealTermsNonGuaranteedAuctionTerms o) { - buildCounterDealTermsNonGuaranteedAuctionTerms++; - if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { - unittest.expect(o.autoOptimizePrivateAuction!, unittest.isTrue); - checkUnnamed2687(o.reservePricePerBuyers!); - } - buildCounterDealTermsNonGuaranteedAuctionTerms--; -} - -core.List buildUnnamed2688() => [ - buildPricePerBuyer(), - buildPricePerBuyer(), - ]; - -void checkUnnamed2688(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPricePerBuyer(o[0]); - checkPricePerBuyer(o[1]); -} - -core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; -api.DealTermsNonGuaranteedFixedPriceTerms - buildDealTermsNonGuaranteedFixedPriceTerms() { - final o = api.DealTermsNonGuaranteedFixedPriceTerms(); - buildCounterDealTermsNonGuaranteedFixedPriceTerms++; - if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { - o.fixedPrices = buildUnnamed2688(); - } - buildCounterDealTermsNonGuaranteedFixedPriceTerms--; - return o; -} - -void checkDealTermsNonGuaranteedFixedPriceTerms( - api.DealTermsNonGuaranteedFixedPriceTerms o) { - buildCounterDealTermsNonGuaranteedFixedPriceTerms++; - if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { - checkUnnamed2688(o.fixedPrices!); - } - buildCounterDealTermsNonGuaranteedFixedPriceTerms--; -} - -core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; -api.DealTermsRubiconNonGuaranteedTerms - buildDealTermsRubiconNonGuaranteedTerms() { - final o = api.DealTermsRubiconNonGuaranteedTerms(); - buildCounterDealTermsRubiconNonGuaranteedTerms++; - if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { - o.priorityPrice = buildPrice(); - o.standardPrice = buildPrice(); - } - buildCounterDealTermsRubiconNonGuaranteedTerms--; - return o; -} - -void checkDealTermsRubiconNonGuaranteedTerms( - api.DealTermsRubiconNonGuaranteedTerms o) { - buildCounterDealTermsRubiconNonGuaranteedTerms++; - if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { - checkPrice(o.priorityPrice!); - checkPrice(o.standardPrice!); - } - buildCounterDealTermsRubiconNonGuaranteedTerms--; -} - -core.List buildUnnamed2689() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2689(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterDeleteOrderDealsRequest = 0; -api.DeleteOrderDealsRequest buildDeleteOrderDealsRequest() { - final o = api.DeleteOrderDealsRequest(); - buildCounterDeleteOrderDealsRequest++; - if (buildCounterDeleteOrderDealsRequest < 3) { - o.dealIds = buildUnnamed2689(); - o.proposalRevisionNumber = 'foo'; - o.updateAction = 'foo'; - } - buildCounterDeleteOrderDealsRequest--; - return o; -} - -void checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { - buildCounterDeleteOrderDealsRequest++; - if (buildCounterDeleteOrderDealsRequest < 3) { - checkUnnamed2689(o.dealIds!); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.updateAction!, - unittest.equals('foo'), - ); - } - buildCounterDeleteOrderDealsRequest--; -} - -core.List buildUnnamed2690() => [ - buildMarketplaceDeal(), - buildMarketplaceDeal(), - ]; - -void checkUnnamed2690(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceDeal(o[0]); - checkMarketplaceDeal(o[1]); -} - -core.int buildCounterDeleteOrderDealsResponse = 0; -api.DeleteOrderDealsResponse buildDeleteOrderDealsResponse() { - final o = api.DeleteOrderDealsResponse(); - buildCounterDeleteOrderDealsResponse++; - if (buildCounterDeleteOrderDealsResponse < 3) { - o.deals = buildUnnamed2690(); - o.proposalRevisionNumber = 'foo'; - } - buildCounterDeleteOrderDealsResponse--; - return o; -} - -void checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { - buildCounterDeleteOrderDealsResponse++; - if (buildCounterDeleteOrderDealsResponse < 3) { - checkUnnamed2690(o.deals!); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - } - buildCounterDeleteOrderDealsResponse--; -} - -core.List buildUnnamed2691() => [ - buildDeliveryControlFrequencyCap(), - buildDeliveryControlFrequencyCap(), - ]; - -void checkUnnamed2691(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkDeliveryControlFrequencyCap(o[0]); - checkDeliveryControlFrequencyCap(o[1]); -} - -core.int buildCounterDeliveryControl = 0; -api.DeliveryControl buildDeliveryControl() { - final o = api.DeliveryControl(); - buildCounterDeliveryControl++; - if (buildCounterDeliveryControl < 3) { - o.creativeBlockingLevel = 'foo'; - o.deliveryRateType = 'foo'; - o.frequencyCaps = buildUnnamed2691(); - } - buildCounterDeliveryControl--; - return o; -} - -void checkDeliveryControl(api.DeliveryControl o) { - buildCounterDeliveryControl++; - if (buildCounterDeliveryControl < 3) { - unittest.expect( - o.creativeBlockingLevel!, - unittest.equals('foo'), - ); - unittest.expect( - o.deliveryRateType!, - unittest.equals('foo'), - ); - checkUnnamed2691(o.frequencyCaps!); - } - buildCounterDeliveryControl--; -} - -core.int buildCounterDeliveryControlFrequencyCap = 0; -api.DeliveryControlFrequencyCap buildDeliveryControlFrequencyCap() { - final o = api.DeliveryControlFrequencyCap(); - buildCounterDeliveryControlFrequencyCap++; - if (buildCounterDeliveryControlFrequencyCap < 3) { - o.maxImpressions = 42; - o.numTimeUnits = 42; - o.timeUnitType = 'foo'; - } - buildCounterDeliveryControlFrequencyCap--; - return o; -} - -void checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { - buildCounterDeliveryControlFrequencyCap++; - if (buildCounterDeliveryControlFrequencyCap < 3) { - unittest.expect( - o.maxImpressions!, - unittest.equals(42), - ); - unittest.expect( - o.numTimeUnits!, - unittest.equals(42), - ); - unittest.expect( - o.timeUnitType!, - unittest.equals('foo'), - ); - } - buildCounterDeliveryControlFrequencyCap--; -} - -core.List buildUnnamed2692() => [ - buildDimensionDimensionValue(), - buildDimensionDimensionValue(), - ]; - -void checkUnnamed2692(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkDimensionDimensionValue(o[0]); - checkDimensionDimensionValue(o[1]); -} - -core.int buildCounterDimension = 0; -api.Dimension buildDimension() { - final o = api.Dimension(); - buildCounterDimension++; - if (buildCounterDimension < 3) { - o.dimensionType = 'foo'; - o.dimensionValues = buildUnnamed2692(); - } - buildCounterDimension--; - return o; -} - -void checkDimension(api.Dimension o) { - buildCounterDimension++; - if (buildCounterDimension < 3) { - unittest.expect( - o.dimensionType!, - unittest.equals('foo'), - ); - checkUnnamed2692(o.dimensionValues!); - } - buildCounterDimension--; -} - -core.int buildCounterDimensionDimensionValue = 0; -api.DimensionDimensionValue buildDimensionDimensionValue() { - final o = api.DimensionDimensionValue(); - buildCounterDimensionDimensionValue++; - if (buildCounterDimensionDimensionValue < 3) { - o.id = 42; - o.name = 'foo'; - o.percentage = 42; - } - buildCounterDimensionDimensionValue--; - return o; -} - -void checkDimensionDimensionValue(api.DimensionDimensionValue o) { - buildCounterDimensionDimensionValue++; - if (buildCounterDimensionDimensionValue < 3) { - unittest.expect( - o.id!, - unittest.equals(42), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - unittest.expect( - o.percentage!, - unittest.equals(42), - ); - } - buildCounterDimensionDimensionValue--; -} - -core.List buildUnnamed2693() => [ - buildMarketplaceDeal(), - buildMarketplaceDeal(), - ]; - -void checkUnnamed2693(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceDeal(o[0]); - checkMarketplaceDeal(o[1]); -} - -core.int buildCounterEditAllOrderDealsRequest = 0; -api.EditAllOrderDealsRequest buildEditAllOrderDealsRequest() { - final o = api.EditAllOrderDealsRequest(); - buildCounterEditAllOrderDealsRequest++; - if (buildCounterEditAllOrderDealsRequest < 3) { - o.deals = buildUnnamed2693(); - o.proposal = buildProposal(); - o.proposalRevisionNumber = 'foo'; - o.updateAction = 'foo'; - } - buildCounterEditAllOrderDealsRequest--; - return o; -} - -void checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { - buildCounterEditAllOrderDealsRequest++; - if (buildCounterEditAllOrderDealsRequest < 3) { - checkUnnamed2693(o.deals!); - checkProposal(o.proposal!); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.updateAction!, - unittest.equals('foo'), - ); - } - buildCounterEditAllOrderDealsRequest--; -} - -core.List buildUnnamed2694() => [ - buildMarketplaceDeal(), - buildMarketplaceDeal(), - ]; - -void checkUnnamed2694(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceDeal(o[0]); - checkMarketplaceDeal(o[1]); -} - -core.int buildCounterEditAllOrderDealsResponse = 0; -api.EditAllOrderDealsResponse buildEditAllOrderDealsResponse() { - final o = api.EditAllOrderDealsResponse(); - buildCounterEditAllOrderDealsResponse++; - if (buildCounterEditAllOrderDealsResponse < 3) { - o.deals = buildUnnamed2694(); - o.orderRevisionNumber = 'foo'; - } - buildCounterEditAllOrderDealsResponse--; - return o; -} - -void checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { - buildCounterEditAllOrderDealsResponse++; - if (buildCounterEditAllOrderDealsResponse < 3) { - checkUnnamed2694(o.deals!); - unittest.expect( - o.orderRevisionNumber!, - unittest.equals('foo'), - ); - } - buildCounterEditAllOrderDealsResponse--; -} - -core.List buildUnnamed2695() => [ - buildProduct(), - buildProduct(), - ]; - -void checkUnnamed2695(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkProduct(o[0]); - checkProduct(o[1]); -} - -core.int buildCounterGetOffersResponse = 0; -api.GetOffersResponse buildGetOffersResponse() { - final o = api.GetOffersResponse(); - buildCounterGetOffersResponse++; - if (buildCounterGetOffersResponse < 3) { - o.products = buildUnnamed2695(); - } - buildCounterGetOffersResponse--; - return o; -} - -void checkGetOffersResponse(api.GetOffersResponse o) { - buildCounterGetOffersResponse++; - if (buildCounterGetOffersResponse < 3) { - checkUnnamed2695(o.products!); - } - buildCounterGetOffersResponse--; -} - -core.List buildUnnamed2696() => [ - buildMarketplaceDeal(), - buildMarketplaceDeal(), - ]; - -void checkUnnamed2696(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceDeal(o[0]); - checkMarketplaceDeal(o[1]); -} - -core.int buildCounterGetOrderDealsResponse = 0; -api.GetOrderDealsResponse buildGetOrderDealsResponse() { - final o = api.GetOrderDealsResponse(); - buildCounterGetOrderDealsResponse++; - if (buildCounterGetOrderDealsResponse < 3) { - o.deals = buildUnnamed2696(); - } - buildCounterGetOrderDealsResponse--; - return o; -} - -void checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { - buildCounterGetOrderDealsResponse++; - if (buildCounterGetOrderDealsResponse < 3) { - checkUnnamed2696(o.deals!); - } - buildCounterGetOrderDealsResponse--; -} - -core.List buildUnnamed2697() => [ - buildMarketplaceNote(), - buildMarketplaceNote(), - ]; - -void checkUnnamed2697(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceNote(o[0]); - checkMarketplaceNote(o[1]); -} - -core.int buildCounterGetOrderNotesResponse = 0; -api.GetOrderNotesResponse buildGetOrderNotesResponse() { - final o = api.GetOrderNotesResponse(); - buildCounterGetOrderNotesResponse++; - if (buildCounterGetOrderNotesResponse < 3) { - o.notes = buildUnnamed2697(); - } - buildCounterGetOrderNotesResponse--; - return o; -} - -void checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { - buildCounterGetOrderNotesResponse++; - if (buildCounterGetOrderNotesResponse < 3) { - checkUnnamed2697(o.notes!); - } - buildCounterGetOrderNotesResponse--; -} - -core.List buildUnnamed2698() => [ - buildProposal(), - buildProposal(), - ]; - -void checkUnnamed2698(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkProposal(o[0]); - checkProposal(o[1]); -} - -core.int buildCounterGetOrdersResponse = 0; -api.GetOrdersResponse buildGetOrdersResponse() { - final o = api.GetOrdersResponse(); - buildCounterGetOrdersResponse++; - if (buildCounterGetOrdersResponse < 3) { - o.proposals = buildUnnamed2698(); - } - buildCounterGetOrdersResponse--; - return o; -} - -void checkGetOrdersResponse(api.GetOrdersResponse o) { - buildCounterGetOrdersResponse++; - if (buildCounterGetOrdersResponse < 3) { - checkUnnamed2698(o.proposals!); - } - buildCounterGetOrdersResponse--; -} - -core.List buildUnnamed2699() => [ - buildPublisherProfileApiProto(), - buildPublisherProfileApiProto(), - ]; - -void checkUnnamed2699(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPublisherProfileApiProto(o[0]); - checkPublisherProfileApiProto(o[1]); -} - -core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; -api.GetPublisherProfilesByAccountIdResponse - buildGetPublisherProfilesByAccountIdResponse() { - final o = api.GetPublisherProfilesByAccountIdResponse(); - buildCounterGetPublisherProfilesByAccountIdResponse++; - if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { - o.profiles = buildUnnamed2699(); - } - buildCounterGetPublisherProfilesByAccountIdResponse--; - return o; -} - -void checkGetPublisherProfilesByAccountIdResponse( - api.GetPublisherProfilesByAccountIdResponse o) { - buildCounterGetPublisherProfilesByAccountIdResponse++; - if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { - checkUnnamed2699(o.profiles!); - } - buildCounterGetPublisherProfilesByAccountIdResponse--; -} - -core.List buildUnnamed2700() => [ - buildContactInformation(), - buildContactInformation(), - ]; - -void checkUnnamed2700(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkContactInformation(o[0]); - checkContactInformation(o[1]); -} - -core.List buildUnnamed2701() => [ - buildSharedTargeting(), - buildSharedTargeting(), - ]; - -void checkUnnamed2701(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkSharedTargeting(o[0]); - checkSharedTargeting(o[1]); -} - -core.int buildCounterMarketplaceDeal = 0; -api.MarketplaceDeal buildMarketplaceDeal() { - final o = api.MarketplaceDeal(); - buildCounterMarketplaceDeal++; - if (buildCounterMarketplaceDeal < 3) { - o.buyerPrivateData = buildPrivateData(); - o.creationTimeMs = 'foo'; - o.creativePreApprovalPolicy = 'foo'; - o.creativeSafeFrameCompatibility = 'foo'; - o.dealId = 'foo'; - o.dealServingMetadata = buildDealServingMetadata(); - o.deliveryControl = buildDeliveryControl(); - o.externalDealId = 'foo'; - o.flightEndTimeMs = 'foo'; - o.flightStartTimeMs = 'foo'; - o.inventoryDescription = 'foo'; - o.isRfpTemplate = true; - o.isSetupComplete = true; - o.kind = 'foo'; - o.lastUpdateTimeMs = 'foo'; - o.makegoodRequestedReason = 'foo'; - o.name = 'foo'; - o.productId = 'foo'; - o.productRevisionNumber = 'foo'; - o.programmaticCreativeSource = 'foo'; - o.proposalId = 'foo'; - o.sellerContacts = buildUnnamed2700(); - o.sharedTargetings = buildUnnamed2701(); - o.syndicationProduct = 'foo'; - o.terms = buildDealTerms(); - o.webPropertyCode = 'foo'; - } - buildCounterMarketplaceDeal--; - return o; -} - -void checkMarketplaceDeal(api.MarketplaceDeal o) { - buildCounterMarketplaceDeal++; - if (buildCounterMarketplaceDeal < 3) { - checkPrivateData(o.buyerPrivateData!); - unittest.expect( - o.creationTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.creativePreApprovalPolicy!, - unittest.equals('foo'), - ); - unittest.expect( - o.creativeSafeFrameCompatibility!, - unittest.equals('foo'), - ); - unittest.expect( - o.dealId!, - unittest.equals('foo'), - ); - checkDealServingMetadata(o.dealServingMetadata!); - checkDeliveryControl(o.deliveryControl!); - unittest.expect( - o.externalDealId!, - unittest.equals('foo'), - ); - unittest.expect( - o.flightEndTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.flightStartTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.inventoryDescription!, - unittest.equals('foo'), - ); - unittest.expect(o.isRfpTemplate!, unittest.isTrue); - unittest.expect(o.isSetupComplete!, unittest.isTrue); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.lastUpdateTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.makegoodRequestedReason!, - unittest.equals('foo'), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - unittest.expect( - o.productId!, - unittest.equals('foo'), - ); - unittest.expect( - o.productRevisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.programmaticCreativeSource!, - unittest.equals('foo'), - ); - unittest.expect( - o.proposalId!, - unittest.equals('foo'), - ); - checkUnnamed2700(o.sellerContacts!); - checkUnnamed2701(o.sharedTargetings!); - unittest.expect( - o.syndicationProduct!, - unittest.equals('foo'), - ); - checkDealTerms(o.terms!); - unittest.expect( - o.webPropertyCode!, - unittest.equals('foo'), - ); - } - buildCounterMarketplaceDeal--; -} - -core.int buildCounterMarketplaceDealParty = 0; -api.MarketplaceDealParty buildMarketplaceDealParty() { - final o = api.MarketplaceDealParty(); - buildCounterMarketplaceDealParty++; - if (buildCounterMarketplaceDealParty < 3) { - o.buyer = buildBuyer(); - o.seller = buildSeller(); - } - buildCounterMarketplaceDealParty--; - return o; -} - -void checkMarketplaceDealParty(api.MarketplaceDealParty o) { - buildCounterMarketplaceDealParty++; - if (buildCounterMarketplaceDealParty < 3) { - checkBuyer(o.buyer!); - checkSeller(o.seller!); - } - buildCounterMarketplaceDealParty--; -} - -core.int buildCounterMarketplaceLabel = 0; -api.MarketplaceLabel buildMarketplaceLabel() { - final o = api.MarketplaceLabel(); - buildCounterMarketplaceLabel++; - if (buildCounterMarketplaceLabel < 3) { - o.accountId = 'foo'; - o.createTimeMs = 'foo'; - o.deprecatedMarketplaceDealParty = buildMarketplaceDealParty(); - o.label = 'foo'; - } - buildCounterMarketplaceLabel--; - return o; -} - -void checkMarketplaceLabel(api.MarketplaceLabel o) { - buildCounterMarketplaceLabel++; - if (buildCounterMarketplaceLabel < 3) { - unittest.expect( - o.accountId!, - unittest.equals('foo'), - ); - unittest.expect( - o.createTimeMs!, - unittest.equals('foo'), - ); - checkMarketplaceDealParty(o.deprecatedMarketplaceDealParty!); - unittest.expect( - o.label!, - unittest.equals('foo'), - ); - } - buildCounterMarketplaceLabel--; -} - -core.int buildCounterMarketplaceNote = 0; -api.MarketplaceNote buildMarketplaceNote() { - final o = api.MarketplaceNote(); - buildCounterMarketplaceNote++; - if (buildCounterMarketplaceNote < 3) { - o.creatorRole = 'foo'; - o.dealId = 'foo'; - o.kind = 'foo'; - o.note = 'foo'; - o.noteId = 'foo'; - o.proposalId = 'foo'; - o.proposalRevisionNumber = 'foo'; - o.timestampMs = 'foo'; - } - buildCounterMarketplaceNote--; - return o; -} - -void checkMarketplaceNote(api.MarketplaceNote o) { - buildCounterMarketplaceNote++; - if (buildCounterMarketplaceNote < 3) { - unittest.expect( - o.creatorRole!, - unittest.equals('foo'), - ); - unittest.expect( - o.dealId!, - unittest.equals('foo'), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.note!, - unittest.equals('foo'), - ); - unittest.expect( - o.noteId!, - unittest.equals('foo'), - ); - unittest.expect( - o.proposalId!, - unittest.equals('foo'), - ); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.timestampMs!, - unittest.equals('foo'), - ); - } - buildCounterMarketplaceNote--; -} - -core.int buildCounterMobileApplication = 0; -api.MobileApplication buildMobileApplication() { - final o = api.MobileApplication(); - buildCounterMobileApplication++; - if (buildCounterMobileApplication < 3) { - o.appStore = 'foo'; - o.externalAppId = 'foo'; - } - buildCounterMobileApplication--; - return o; -} - -void checkMobileApplication(api.MobileApplication o) { - buildCounterMobileApplication++; - if (buildCounterMobileApplication < 3) { - unittest.expect( - o.appStore!, - unittest.equals('foo'), - ); - unittest.expect( - o.externalAppId!, - unittest.equals('foo'), - ); - } - buildCounterMobileApplication--; -} - -core.List buildUnnamed2702() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2702(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted1 = (o[0]) as core.Map; - unittest.expect(casted1, unittest.hasLength(3)); - unittest.expect( - casted1['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted1['bool'], - unittest.equals(true), - ); - unittest.expect( - casted1['string'], - unittest.equals('foo'), - ); - var casted2 = (o[1]) as core.Map; - unittest.expect(casted2, unittest.hasLength(3)); - unittest.expect( - casted2['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted2['bool'], - unittest.equals(true), - ); - unittest.expect( - casted2['string'], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2703() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2703(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted3 = (o[0]) as core.Map; - unittest.expect(casted3, unittest.hasLength(3)); - unittest.expect( - casted3['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted3['bool'], - unittest.equals(true), - ); - unittest.expect( - casted3['string'], - unittest.equals('foo'), - ); - var casted4 = (o[1]) as core.Map; - unittest.expect(casted4, unittest.hasLength(3)); - unittest.expect( - casted4['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted4['bool'], - unittest.equals(true), - ); - unittest.expect( - casted4['string'], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2704() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2704(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o[0]) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); - unittest.expect( - casted5['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted5['bool'], - unittest.equals(true), - ); - unittest.expect( - casted5['string'], - unittest.equals('foo'), - ); - var casted6 = (o[1]) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); - unittest.expect( - casted6['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted6['bool'], - unittest.equals(true), - ); - unittest.expect( - casted6['string'], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2705() => [ - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - ]; - -void checkUnnamed2705(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - var casted7 = (o[0]) as core.Map; - unittest.expect(casted7, unittest.hasLength(3)); - unittest.expect( - casted7['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted7['bool'], - unittest.equals(true), - ); - unittest.expect( - casted7['string'], - unittest.equals('foo'), - ); - var casted8 = (o[1]) as core.Map; - unittest.expect(casted8, unittest.hasLength(3)); - unittest.expect( - casted8['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted8['bool'], - unittest.equals(true), - ); - unittest.expect( - casted8['string'], - unittest.equals('foo'), - ); -} - -core.int buildCounterPerformanceReport = 0; -api.PerformanceReport buildPerformanceReport() { - final o = api.PerformanceReport(); - buildCounterPerformanceReport++; - if (buildCounterPerformanceReport < 3) { - o.bidRate = 42.0; - o.bidRequestRate = 42.0; - o.calloutStatusRate = buildUnnamed2702(); - o.cookieMatcherStatusRate = buildUnnamed2703(); - o.creativeStatusRate = buildUnnamed2704(); - o.filteredBidRate = 42.0; - o.hostedMatchStatusRate = buildUnnamed2705(); - o.inventoryMatchRate = 42.0; - o.kind = 'foo'; - o.latency50thPercentile = 42.0; - o.latency85thPercentile = 42.0; - o.latency95thPercentile = 42.0; - o.noQuotaInRegion = 42.0; - o.outOfQuota = 42.0; - o.pixelMatchRequests = 42.0; - o.pixelMatchResponses = 42.0; - o.quotaConfiguredLimit = 42.0; - o.quotaThrottledLimit = 42.0; - o.region = 'foo'; - o.successfulRequestRate = 42.0; - o.timestamp = 'foo'; - o.unsuccessfulRequestRate = 42.0; - } - buildCounterPerformanceReport--; - return o; -} - -void checkPerformanceReport(api.PerformanceReport o) { - buildCounterPerformanceReport++; - if (buildCounterPerformanceReport < 3) { - unittest.expect( - o.bidRate!, - unittest.equals(42.0), - ); - unittest.expect( - o.bidRequestRate!, - unittest.equals(42.0), - ); - checkUnnamed2702(o.calloutStatusRate!); - checkUnnamed2703(o.cookieMatcherStatusRate!); - checkUnnamed2704(o.creativeStatusRate!); - unittest.expect( - o.filteredBidRate!, - unittest.equals(42.0), - ); - checkUnnamed2705(o.hostedMatchStatusRate!); - unittest.expect( - o.inventoryMatchRate!, - unittest.equals(42.0), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.latency50thPercentile!, - unittest.equals(42.0), - ); - unittest.expect( - o.latency85thPercentile!, - unittest.equals(42.0), - ); - unittest.expect( - o.latency95thPercentile!, - unittest.equals(42.0), - ); - unittest.expect( - o.noQuotaInRegion!, - unittest.equals(42.0), - ); - unittest.expect( - o.outOfQuota!, - unittest.equals(42.0), - ); - unittest.expect( - o.pixelMatchRequests!, - unittest.equals(42.0), - ); - unittest.expect( - o.pixelMatchResponses!, - unittest.equals(42.0), - ); - unittest.expect( - o.quotaConfiguredLimit!, - unittest.equals(42.0), - ); - unittest.expect( - o.quotaThrottledLimit!, - unittest.equals(42.0), - ); - unittest.expect( - o.region!, - unittest.equals('foo'), - ); - unittest.expect( - o.successfulRequestRate!, - unittest.equals(42.0), - ); - unittest.expect( - o.timestamp!, - unittest.equals('foo'), - ); - unittest.expect( - o.unsuccessfulRequestRate!, - unittest.equals(42.0), - ); - } - buildCounterPerformanceReport--; -} - -core.List buildUnnamed2706() => [ - buildPerformanceReport(), - buildPerformanceReport(), - ]; - -void checkUnnamed2706(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPerformanceReport(o[0]); - checkPerformanceReport(o[1]); -} - -core.int buildCounterPerformanceReportList = 0; -api.PerformanceReportList buildPerformanceReportList() { - final o = api.PerformanceReportList(); - buildCounterPerformanceReportList++; - if (buildCounterPerformanceReportList < 3) { - o.kind = 'foo'; - o.performanceReport = buildUnnamed2706(); - } - buildCounterPerformanceReportList--; - return o; -} - -void checkPerformanceReportList(api.PerformanceReportList o) { - buildCounterPerformanceReportList++; - if (buildCounterPerformanceReportList < 3) { - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2706(o.performanceReport!); - } - buildCounterPerformanceReportList--; -} - -core.List buildUnnamed2707() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2707(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigDimensions = 0; -api.PretargetingConfigDimensions buildPretargetingConfigDimensions() { - final o = api.PretargetingConfigDimensions(); - buildCounterPretargetingConfigDimensions++; - if (buildCounterPretargetingConfigDimensions < 3) { - o.height = 'foo'; - o.width = 'foo'; - } - buildCounterPretargetingConfigDimensions--; - return o; -} - -void checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { - buildCounterPretargetingConfigDimensions++; - if (buildCounterPretargetingConfigDimensions < 3) { - unittest.expect( - o.height!, - unittest.equals('foo'), - ); - unittest.expect( - o.width!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigDimensions--; -} - -core.List buildUnnamed2708() => [ - buildPretargetingConfigDimensions(), - buildPretargetingConfigDimensions(), - ]; - -void checkUnnamed2708(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigDimensions(o[0]); - checkPretargetingConfigDimensions(o[1]); -} - -core.List buildUnnamed2709() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2709(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2710() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2710(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigExcludedPlacements = 0; -api.PretargetingConfigExcludedPlacements - buildPretargetingConfigExcludedPlacements() { - final o = api.PretargetingConfigExcludedPlacements(); - buildCounterPretargetingConfigExcludedPlacements++; - if (buildCounterPretargetingConfigExcludedPlacements < 3) { - o.token = 'foo'; - o.type = 'foo'; - } - buildCounterPretargetingConfigExcludedPlacements--; - return o; -} - -void checkPretargetingConfigExcludedPlacements( - api.PretargetingConfigExcludedPlacements o) { - buildCounterPretargetingConfigExcludedPlacements++; - if (buildCounterPretargetingConfigExcludedPlacements < 3) { - unittest.expect( - o.token!, - unittest.equals('foo'), - ); - unittest.expect( - o.type!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigExcludedPlacements--; -} - -core.List buildUnnamed2711() => [ - buildPretargetingConfigExcludedPlacements(), - buildPretargetingConfigExcludedPlacements(), - ]; - -void checkUnnamed2711(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigExcludedPlacements(o[0]); - checkPretargetingConfigExcludedPlacements(o[1]); -} - -core.List buildUnnamed2712() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2712(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2713() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2713(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2714() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2714(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2715() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2715(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2716() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2716(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2717() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2717(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2718() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2718(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigPlacements = 0; -api.PretargetingConfigPlacements buildPretargetingConfigPlacements() { - final o = api.PretargetingConfigPlacements(); - buildCounterPretargetingConfigPlacements++; - if (buildCounterPretargetingConfigPlacements < 3) { - o.token = 'foo'; - o.type = 'foo'; - } - buildCounterPretargetingConfigPlacements--; - return o; -} - -void checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { - buildCounterPretargetingConfigPlacements++; - if (buildCounterPretargetingConfigPlacements < 3) { - unittest.expect( - o.token!, - unittest.equals('foo'), - ); - unittest.expect( - o.type!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigPlacements--; -} - -core.List buildUnnamed2719() => [ - buildPretargetingConfigPlacements(), - buildPretargetingConfigPlacements(), - ]; - -void checkUnnamed2719(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigPlacements(o[0]); - checkPretargetingConfigPlacements(o[1]); -} - -core.List buildUnnamed2720() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2720(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2721() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2721(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2722() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2722(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2723() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2723(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2724() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2724(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2725() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2725(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; -api.PretargetingConfigVideoPlayerSizes - buildPretargetingConfigVideoPlayerSizes() { - final o = api.PretargetingConfigVideoPlayerSizes(); - buildCounterPretargetingConfigVideoPlayerSizes++; - if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { - o.aspectRatio = 'foo'; - o.minHeight = 'foo'; - o.minWidth = 'foo'; - } - buildCounterPretargetingConfigVideoPlayerSizes--; - return o; -} - -void checkPretargetingConfigVideoPlayerSizes( - api.PretargetingConfigVideoPlayerSizes o) { - buildCounterPretargetingConfigVideoPlayerSizes++; - if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { - unittest.expect( - o.aspectRatio!, - unittest.equals('foo'), - ); - unittest.expect( - o.minHeight!, - unittest.equals('foo'), - ); - unittest.expect( - o.minWidth!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigVideoPlayerSizes--; -} - -core.List buildUnnamed2726() => [ - buildPretargetingConfigVideoPlayerSizes(), - buildPretargetingConfigVideoPlayerSizes(), - ]; - -void checkUnnamed2726(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfigVideoPlayerSizes(o[0]); - checkPretargetingConfigVideoPlayerSizes(o[1]); -} - -core.int buildCounterPretargetingConfig = 0; -api.PretargetingConfig buildPretargetingConfig() { - final o = api.PretargetingConfig(); - buildCounterPretargetingConfig++; - if (buildCounterPretargetingConfig < 3) { - o.billingId = 'foo'; - o.configId = 'foo'; - o.configName = 'foo'; - o.creativeType = buildUnnamed2707(); - o.dimensions = buildUnnamed2708(); - o.excludedContentLabels = buildUnnamed2709(); - o.excludedGeoCriteriaIds = buildUnnamed2710(); - o.excludedPlacements = buildUnnamed2711(); - o.excludedUserLists = buildUnnamed2712(); - o.excludedVerticals = buildUnnamed2713(); - o.geoCriteriaIds = buildUnnamed2714(); - o.isActive = true; - o.kind = 'foo'; - o.languages = buildUnnamed2715(); - o.maximumQps = 'foo'; - o.minimumViewabilityDecile = 42; - o.mobileCarriers = buildUnnamed2716(); - o.mobileDevices = buildUnnamed2717(); - o.mobileOperatingSystemVersions = buildUnnamed2718(); - o.placements = buildUnnamed2719(); - o.platforms = buildUnnamed2720(); - o.supportedCreativeAttributes = buildUnnamed2721(); - o.userIdentifierDataRequired = buildUnnamed2722(); - o.userLists = buildUnnamed2723(); - o.vendorTypes = buildUnnamed2724(); - o.verticals = buildUnnamed2725(); - o.videoPlayerSizes = buildUnnamed2726(); - } - buildCounterPretargetingConfig--; - return o; -} - -void checkPretargetingConfig(api.PretargetingConfig o) { - buildCounterPretargetingConfig++; - if (buildCounterPretargetingConfig < 3) { - unittest.expect( - o.billingId!, - unittest.equals('foo'), - ); - unittest.expect( - o.configId!, - unittest.equals('foo'), - ); - unittest.expect( - o.configName!, - unittest.equals('foo'), - ); - checkUnnamed2707(o.creativeType!); - checkUnnamed2708(o.dimensions!); - checkUnnamed2709(o.excludedContentLabels!); - checkUnnamed2710(o.excludedGeoCriteriaIds!); - checkUnnamed2711(o.excludedPlacements!); - checkUnnamed2712(o.excludedUserLists!); - checkUnnamed2713(o.excludedVerticals!); - checkUnnamed2714(o.geoCriteriaIds!); - unittest.expect(o.isActive!, unittest.isTrue); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2715(o.languages!); - unittest.expect( - o.maximumQps!, - unittest.equals('foo'), - ); - unittest.expect( - o.minimumViewabilityDecile!, - unittest.equals(42), - ); - checkUnnamed2716(o.mobileCarriers!); - checkUnnamed2717(o.mobileDevices!); - checkUnnamed2718(o.mobileOperatingSystemVersions!); - checkUnnamed2719(o.placements!); - checkUnnamed2720(o.platforms!); - checkUnnamed2721(o.supportedCreativeAttributes!); - checkUnnamed2722(o.userIdentifierDataRequired!); - checkUnnamed2723(o.userLists!); - checkUnnamed2724(o.vendorTypes!); - checkUnnamed2725(o.verticals!); - checkUnnamed2726(o.videoPlayerSizes!); - } - buildCounterPretargetingConfig--; -} - -core.List buildUnnamed2727() => [ - buildPretargetingConfig(), - buildPretargetingConfig(), - ]; - -void checkUnnamed2727(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkPretargetingConfig(o[0]); - checkPretargetingConfig(o[1]); -} - -core.int buildCounterPretargetingConfigList = 0; -api.PretargetingConfigList buildPretargetingConfigList() { - final o = api.PretargetingConfigList(); - buildCounterPretargetingConfigList++; - if (buildCounterPretargetingConfigList < 3) { - o.items = buildUnnamed2727(); - o.kind = 'foo'; - } - buildCounterPretargetingConfigList--; - return o; -} - -void checkPretargetingConfigList(api.PretargetingConfigList o) { - buildCounterPretargetingConfigList++; - if (buildCounterPretargetingConfigList < 3) { - checkUnnamed2727(o.items!); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - } - buildCounterPretargetingConfigList--; -} - -core.int buildCounterPrice = 0; -api.Price buildPrice() { - final o = api.Price(); - buildCounterPrice++; - if (buildCounterPrice < 3) { - o.amountMicros = 42.0; - o.currencyCode = 'foo'; - o.expectedCpmMicros = 42.0; - o.pricingType = 'foo'; - } - buildCounterPrice--; - return o; -} - -void checkPrice(api.Price o) { - buildCounterPrice++; - if (buildCounterPrice < 3) { - unittest.expect( - o.amountMicros!, - unittest.equals(42.0), - ); - unittest.expect( - o.currencyCode!, - unittest.equals('foo'), - ); - unittest.expect( - o.expectedCpmMicros!, - unittest.equals(42.0), - ); - unittest.expect( - o.pricingType!, - unittest.equals('foo'), - ); - } - buildCounterPrice--; -} - -core.int buildCounterPricePerBuyer = 0; -api.PricePerBuyer buildPricePerBuyer() { - final o = api.PricePerBuyer(); - buildCounterPricePerBuyer++; - if (buildCounterPricePerBuyer < 3) { - o.auctionTier = 'foo'; - o.billedBuyer = buildBuyer(); - o.buyer = buildBuyer(); - o.price = buildPrice(); - } - buildCounterPricePerBuyer--; - return o; -} - -void checkPricePerBuyer(api.PricePerBuyer o) { - buildCounterPricePerBuyer++; - if (buildCounterPricePerBuyer < 3) { - unittest.expect( - o.auctionTier!, - unittest.equals('foo'), - ); - checkBuyer(o.billedBuyer!); - checkBuyer(o.buyer!); - checkPrice(o.price!); - } - buildCounterPricePerBuyer--; -} - -core.int buildCounterPrivateData = 0; -api.PrivateData buildPrivateData() { - final o = api.PrivateData(); - buildCounterPrivateData++; - if (buildCounterPrivateData < 3) { - o.referenceId = 'foo'; - o.referencePayload = 'foo'; - } - buildCounterPrivateData--; - return o; -} - -void checkPrivateData(api.PrivateData o) { - buildCounterPrivateData++; - if (buildCounterPrivateData < 3) { - unittest.expect( - o.referenceId!, - unittest.equals('foo'), - ); - unittest.expect( - o.referencePayload!, - unittest.equals('foo'), - ); - } - buildCounterPrivateData--; -} - -core.List buildUnnamed2728() => [ - buildContactInformation(), - buildContactInformation(), - ]; - -void checkUnnamed2728(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkContactInformation(o[0]); - checkContactInformation(o[1]); -} - -core.List buildUnnamed2729() => [ - buildMarketplaceLabel(), - buildMarketplaceLabel(), - ]; - -void checkUnnamed2729(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceLabel(o[0]); - checkMarketplaceLabel(o[1]); -} - -core.List buildUnnamed2730() => [ - buildSharedTargeting(), - buildSharedTargeting(), - ]; - -void checkUnnamed2730(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkSharedTargeting(o[0]); - checkSharedTargeting(o[1]); -} - -core.int buildCounterProduct = 0; -api.Product buildProduct() { - final o = api.Product(); - buildCounterProduct++; - if (buildCounterProduct < 3) { - o.billedBuyer = buildBuyer(); - o.buyer = buildBuyer(); - o.creationTimeMs = 'foo'; - o.creatorContacts = buildUnnamed2728(); - o.creatorRole = 'foo'; - o.deliveryControl = buildDeliveryControl(); - o.flightEndTimeMs = 'foo'; - o.flightStartTimeMs = 'foo'; - o.hasCreatorSignedOff = true; - o.inventorySource = 'foo'; - o.kind = 'foo'; - o.labels = buildUnnamed2729(); - o.lastUpdateTimeMs = 'foo'; - o.legacyOfferId = 'foo'; - o.marketplacePublisherProfileId = 'foo'; - o.name = 'foo'; - o.privateAuctionId = 'foo'; - o.productId = 'foo'; - o.publisherProfileId = 'foo'; - o.publisherProvidedForecast = buildPublisherProvidedForecast(); - o.revisionNumber = 'foo'; - o.seller = buildSeller(); - o.sharedTargetings = buildUnnamed2730(); - o.state = 'foo'; - o.syndicationProduct = 'foo'; - o.terms = buildDealTerms(); - o.webPropertyCode = 'foo'; - } - buildCounterProduct--; - return o; -} - -void checkProduct(api.Product o) { - buildCounterProduct++; - if (buildCounterProduct < 3) { - checkBuyer(o.billedBuyer!); - checkBuyer(o.buyer!); - unittest.expect( - o.creationTimeMs!, - unittest.equals('foo'), - ); - checkUnnamed2728(o.creatorContacts!); - unittest.expect( - o.creatorRole!, - unittest.equals('foo'), - ); - checkDeliveryControl(o.deliveryControl!); - unittest.expect( - o.flightEndTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.flightStartTimeMs!, - unittest.equals('foo'), - ); - unittest.expect(o.hasCreatorSignedOff!, unittest.isTrue); - unittest.expect( - o.inventorySource!, - unittest.equals('foo'), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2729(o.labels!); - unittest.expect( - o.lastUpdateTimeMs!, - unittest.equals('foo'), - ); - unittest.expect( - o.legacyOfferId!, - unittest.equals('foo'), - ); - unittest.expect( - o.marketplacePublisherProfileId!, - unittest.equals('foo'), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - unittest.expect( - o.privateAuctionId!, - unittest.equals('foo'), - ); - unittest.expect( - o.productId!, - unittest.equals('foo'), - ); - unittest.expect( - o.publisherProfileId!, - unittest.equals('foo'), - ); - checkPublisherProvidedForecast(o.publisherProvidedForecast!); - unittest.expect( - o.revisionNumber!, - unittest.equals('foo'), - ); - checkSeller(o.seller!); - checkUnnamed2730(o.sharedTargetings!); - unittest.expect( - o.state!, - unittest.equals('foo'), - ); - unittest.expect( - o.syndicationProduct!, - unittest.equals('foo'), - ); - checkDealTerms(o.terms!); - unittest.expect( - o.webPropertyCode!, - unittest.equals('foo'), - ); - } - buildCounterProduct--; -} - -core.List buildUnnamed2731() => [ - buildContactInformation(), - buildContactInformation(), - ]; - -void checkUnnamed2731(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkContactInformation(o[0]); - checkContactInformation(o[1]); -} - -core.List buildUnnamed2732() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2732(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2733() => [ - buildMarketplaceLabel(), - buildMarketplaceLabel(), - ]; - -void checkUnnamed2733(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMarketplaceLabel(o[0]); - checkMarketplaceLabel(o[1]); -} - -core.List buildUnnamed2734() => [ - buildContactInformation(), - buildContactInformation(), - ]; - -void checkUnnamed2734(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkContactInformation(o[0]); - checkContactInformation(o[1]); -} - -core.int buildCounterProposal = 0; -api.Proposal buildProposal() { - final o = api.Proposal(); - buildCounterProposal++; - if (buildCounterProposal < 3) { - o.billedBuyer = buildBuyer(); - o.buyer = buildBuyer(); - o.buyerContacts = buildUnnamed2731(); - o.buyerPrivateData = buildPrivateData(); - o.dbmAdvertiserIds = buildUnnamed2732(); - o.hasBuyerSignedOff = true; - o.hasSellerSignedOff = true; - o.inventorySource = 'foo'; - o.isRenegotiating = true; - o.isSetupComplete = true; - o.kind = 'foo'; - o.labels = buildUnnamed2733(); - o.lastUpdaterOrCommentorRole = 'foo'; - o.name = 'foo'; - o.negotiationId = 'foo'; - o.originatorRole = 'foo'; - o.privateAuctionId = 'foo'; - o.proposalId = 'foo'; - o.proposalState = 'foo'; - o.revisionNumber = 'foo'; - o.revisionTimeMs = 'foo'; - o.seller = buildSeller(); - o.sellerContacts = buildUnnamed2734(); - } - buildCounterProposal--; - return o; -} - -void checkProposal(api.Proposal o) { - buildCounterProposal++; - if (buildCounterProposal < 3) { - checkBuyer(o.billedBuyer!); - checkBuyer(o.buyer!); - checkUnnamed2731(o.buyerContacts!); - checkPrivateData(o.buyerPrivateData!); - checkUnnamed2732(o.dbmAdvertiserIds!); - unittest.expect(o.hasBuyerSignedOff!, unittest.isTrue); - unittest.expect(o.hasSellerSignedOff!, unittest.isTrue); - unittest.expect( - o.inventorySource!, - unittest.equals('foo'), - ); - unittest.expect(o.isRenegotiating!, unittest.isTrue); - unittest.expect(o.isSetupComplete!, unittest.isTrue); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed2733(o.labels!); - unittest.expect( - o.lastUpdaterOrCommentorRole!, - unittest.equals('foo'), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - unittest.expect( - o.negotiationId!, - unittest.equals('foo'), - ); - unittest.expect( - o.originatorRole!, - unittest.equals('foo'), - ); - unittest.expect( - o.privateAuctionId!, - unittest.equals('foo'), - ); - unittest.expect( - o.proposalId!, - unittest.equals('foo'), - ); - unittest.expect( - o.proposalState!, - unittest.equals('foo'), - ); - unittest.expect( - o.revisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.revisionTimeMs!, - unittest.equals('foo'), - ); - checkSeller(o.seller!); - checkUnnamed2734(o.sellerContacts!); - } - buildCounterProposal--; -} - -core.List buildUnnamed2735() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2735(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2736() => [ - buildMobileApplication(), - buildMobileApplication(), - ]; - -void checkUnnamed2736(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkMobileApplication(o[0]); - checkMobileApplication(o[1]); -} - -core.List buildUnnamed2737() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2737(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2738() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2738(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterPublisherProfileApiProto = 0; -api.PublisherProfileApiProto buildPublisherProfileApiProto() { - final o = api.PublisherProfileApiProto(); - buildCounterPublisherProfileApiProto++; - if (buildCounterPublisherProfileApiProto < 3) { - o.audience = 'foo'; - o.buyerPitchStatement = 'foo'; - o.directContact = 'foo'; - o.exchange = 'foo'; - o.forecastInventory = 'foo'; - o.googlePlusLink = 'foo'; - o.isParent = true; - o.isPublished = true; - o.kind = 'foo'; - o.logoUrl = 'foo'; - o.mediaKitLink = 'foo'; - o.name = 'foo'; - o.overview = 'foo'; - o.profileId = 42; - o.programmaticContact = 'foo'; - o.publisherAppIds = buildUnnamed2735(); - o.publisherApps = buildUnnamed2736(); - o.publisherDomains = buildUnnamed2737(); - o.publisherProfileId = 'foo'; - o.publisherProvidedForecast = buildPublisherProvidedForecast(); - o.rateCardInfoLink = 'foo'; - o.samplePageLink = 'foo'; - o.seller = buildSeller(); - o.state = 'foo'; - o.topHeadlines = buildUnnamed2738(); - } - buildCounterPublisherProfileApiProto--; - return o; -} - -void checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { - buildCounterPublisherProfileApiProto++; - if (buildCounterPublisherProfileApiProto < 3) { - unittest.expect( - o.audience!, - unittest.equals('foo'), - ); - unittest.expect( - o.buyerPitchStatement!, - unittest.equals('foo'), - ); - unittest.expect( - o.directContact!, - unittest.equals('foo'), - ); - unittest.expect( - o.exchange!, - unittest.equals('foo'), - ); - unittest.expect( - o.forecastInventory!, - unittest.equals('foo'), - ); - unittest.expect( - o.googlePlusLink!, - unittest.equals('foo'), - ); - unittest.expect(o.isParent!, unittest.isTrue); - unittest.expect(o.isPublished!, unittest.isTrue); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - unittest.expect( - o.logoUrl!, - unittest.equals('foo'), - ); - unittest.expect( - o.mediaKitLink!, - unittest.equals('foo'), - ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - unittest.expect( - o.overview!, - unittest.equals('foo'), - ); - unittest.expect( - o.profileId!, - unittest.equals(42), - ); - unittest.expect( - o.programmaticContact!, - unittest.equals('foo'), - ); - checkUnnamed2735(o.publisherAppIds!); - checkUnnamed2736(o.publisherApps!); - checkUnnamed2737(o.publisherDomains!); - unittest.expect( - o.publisherProfileId!, - unittest.equals('foo'), - ); - checkPublisherProvidedForecast(o.publisherProvidedForecast!); - unittest.expect( - o.rateCardInfoLink!, - unittest.equals('foo'), - ); - unittest.expect( - o.samplePageLink!, - unittest.equals('foo'), - ); - checkSeller(o.seller!); - unittest.expect( - o.state!, - unittest.equals('foo'), - ); - checkUnnamed2738(o.topHeadlines!); - } - buildCounterPublisherProfileApiProto--; -} - -core.List buildUnnamed2739() => [ - buildDimension(), - buildDimension(), - ]; - -void checkUnnamed2739(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkDimension(o[0]); - checkDimension(o[1]); -} - -core.int buildCounterPublisherProvidedForecast = 0; -api.PublisherProvidedForecast buildPublisherProvidedForecast() { - final o = api.PublisherProvidedForecast(); - buildCounterPublisherProvidedForecast++; - if (buildCounterPublisherProvidedForecast < 3) { - o.dimensions = buildUnnamed2739(); - o.weeklyImpressions = 'foo'; - o.weeklyUniques = 'foo'; - } - buildCounterPublisherProvidedForecast--; - return o; -} - -void checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { - buildCounterPublisherProvidedForecast++; - if (buildCounterPublisherProvidedForecast < 3) { - checkUnnamed2739(o.dimensions!); - unittest.expect( - o.weeklyImpressions!, - unittest.equals('foo'), - ); - unittest.expect( - o.weeklyUniques!, - unittest.equals('foo'), - ); - } - buildCounterPublisherProvidedForecast--; -} - -core.int buildCounterSeller = 0; -api.Seller buildSeller() { - final o = api.Seller(); - buildCounterSeller++; - if (buildCounterSeller < 3) { - o.accountId = 'foo'; - o.subAccountId = 'foo'; - } - buildCounterSeller--; - return o; -} - -void checkSeller(api.Seller o) { - buildCounterSeller++; - if (buildCounterSeller < 3) { - unittest.expect( - o.accountId!, - unittest.equals('foo'), - ); - unittest.expect( - o.subAccountId!, - unittest.equals('foo'), - ); - } - buildCounterSeller--; -} - -core.List buildUnnamed2740() => [ - buildTargetingValue(), - buildTargetingValue(), - ]; - -void checkUnnamed2740(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkTargetingValue(o[0]); - checkTargetingValue(o[1]); -} - -core.List buildUnnamed2741() => [ - buildTargetingValue(), - buildTargetingValue(), - ]; - -void checkUnnamed2741(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkTargetingValue(o[0]); - checkTargetingValue(o[1]); -} - -core.int buildCounterSharedTargeting = 0; -api.SharedTargeting buildSharedTargeting() { - final o = api.SharedTargeting(); - buildCounterSharedTargeting++; - if (buildCounterSharedTargeting < 3) { - o.exclusions = buildUnnamed2740(); - o.inclusions = buildUnnamed2741(); - o.key = 'foo'; - } - buildCounterSharedTargeting--; - return o; -} - -void checkSharedTargeting(api.SharedTargeting o) { - buildCounterSharedTargeting++; - if (buildCounterSharedTargeting < 3) { - checkUnnamed2740(o.exclusions!); - checkUnnamed2741(o.inclusions!); - unittest.expect( - o.key!, - unittest.equals('foo'), - ); - } - buildCounterSharedTargeting--; -} - -core.int buildCounterTargetingValue = 0; -api.TargetingValue buildTargetingValue() { - final o = api.TargetingValue(); - buildCounterTargetingValue++; - if (buildCounterTargetingValue < 3) { - o.creativeSizeValue = buildTargetingValueCreativeSize(); - o.dayPartTargetingValue = buildTargetingValueDayPartTargeting(); - o.demogAgeCriteriaValue = buildTargetingValueDemogAgeCriteria(); - o.demogGenderCriteriaValue = buildTargetingValueDemogGenderCriteria(); - o.longValue = 'foo'; - o.requestPlatformTargetingValue = - buildTargetingValueRequestPlatformTargeting(); - o.stringValue = 'foo'; - } - buildCounterTargetingValue--; - return o; -} - -void checkTargetingValue(api.TargetingValue o) { - buildCounterTargetingValue++; - if (buildCounterTargetingValue < 3) { - checkTargetingValueCreativeSize(o.creativeSizeValue!); - checkTargetingValueDayPartTargeting(o.dayPartTargetingValue!); - checkTargetingValueDemogAgeCriteria(o.demogAgeCriteriaValue!); - checkTargetingValueDemogGenderCriteria(o.demogGenderCriteriaValue!); - unittest.expect( - o.longValue!, - unittest.equals('foo'), - ); - checkTargetingValueRequestPlatformTargeting( - o.requestPlatformTargetingValue!); - unittest.expect( - o.stringValue!, - unittest.equals('foo'), - ); - } - buildCounterTargetingValue--; -} - -core.List buildUnnamed2742() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2742(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.List buildUnnamed2743() => [ - buildTargetingValueSize(), - buildTargetingValueSize(), - ]; - -void checkUnnamed2743(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkTargetingValueSize(o[0]); - checkTargetingValueSize(o[1]); -} - -core.int buildCounterTargetingValueCreativeSize = 0; -api.TargetingValueCreativeSize buildTargetingValueCreativeSize() { - final o = api.TargetingValueCreativeSize(); - buildCounterTargetingValueCreativeSize++; - if (buildCounterTargetingValueCreativeSize < 3) { - o.allowedFormats = buildUnnamed2742(); - o.companionSizes = buildUnnamed2743(); - o.creativeSizeType = 'foo'; - o.nativeTemplate = 'foo'; - o.size = buildTargetingValueSize(); - o.skippableAdType = 'foo'; - } - buildCounterTargetingValueCreativeSize--; - return o; -} - -void checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { - buildCounterTargetingValueCreativeSize++; - if (buildCounterTargetingValueCreativeSize < 3) { - checkUnnamed2742(o.allowedFormats!); - checkUnnamed2743(o.companionSizes!); - unittest.expect( - o.creativeSizeType!, - unittest.equals('foo'), - ); - unittest.expect( - o.nativeTemplate!, - unittest.equals('foo'), - ); - checkTargetingValueSize(o.size!); - unittest.expect( - o.skippableAdType!, - unittest.equals('foo'), - ); - } - buildCounterTargetingValueCreativeSize--; -} - -core.List buildUnnamed2744() => [ - buildTargetingValueDayPartTargetingDayPart(), - buildTargetingValueDayPartTargetingDayPart(), - ]; - -void checkUnnamed2744(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkTargetingValueDayPartTargetingDayPart(o[0]); - checkTargetingValueDayPartTargetingDayPart(o[1]); -} - -core.int buildCounterTargetingValueDayPartTargeting = 0; -api.TargetingValueDayPartTargeting buildTargetingValueDayPartTargeting() { - final o = api.TargetingValueDayPartTargeting(); - buildCounterTargetingValueDayPartTargeting++; - if (buildCounterTargetingValueDayPartTargeting < 3) { - o.dayParts = buildUnnamed2744(); - o.timeZoneType = 'foo'; - } - buildCounterTargetingValueDayPartTargeting--; - return o; -} - -void checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { - buildCounterTargetingValueDayPartTargeting++; - if (buildCounterTargetingValueDayPartTargeting < 3) { - checkUnnamed2744(o.dayParts!); - unittest.expect( - o.timeZoneType!, - unittest.equals('foo'), - ); - } - buildCounterTargetingValueDayPartTargeting--; -} - -core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; -api.TargetingValueDayPartTargetingDayPart - buildTargetingValueDayPartTargetingDayPart() { - final o = api.TargetingValueDayPartTargetingDayPart(); - buildCounterTargetingValueDayPartTargetingDayPart++; - if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { - o.dayOfWeek = 'foo'; - o.endHour = 42; - o.endMinute = 42; - o.startHour = 42; - o.startMinute = 42; - } - buildCounterTargetingValueDayPartTargetingDayPart--; - return o; -} - -void checkTargetingValueDayPartTargetingDayPart( - api.TargetingValueDayPartTargetingDayPart o) { - buildCounterTargetingValueDayPartTargetingDayPart++; - if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { - unittest.expect( - o.dayOfWeek!, - unittest.equals('foo'), - ); - unittest.expect( - o.endHour!, - unittest.equals(42), - ); - unittest.expect( - o.endMinute!, - unittest.equals(42), - ); - unittest.expect( - o.startHour!, - unittest.equals(42), - ); - unittest.expect( - o.startMinute!, - unittest.equals(42), - ); - } - buildCounterTargetingValueDayPartTargetingDayPart--; -} - -core.List buildUnnamed2745() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2745(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterTargetingValueDemogAgeCriteria = 0; -api.TargetingValueDemogAgeCriteria buildTargetingValueDemogAgeCriteria() { - final o = api.TargetingValueDemogAgeCriteria(); - buildCounterTargetingValueDemogAgeCriteria++; - if (buildCounterTargetingValueDemogAgeCriteria < 3) { - o.demogAgeCriteriaIds = buildUnnamed2745(); - } - buildCounterTargetingValueDemogAgeCriteria--; - return o; -} - -void checkTargetingValueDemogAgeCriteria(api.TargetingValueDemogAgeCriteria o) { - buildCounterTargetingValueDemogAgeCriteria++; - if (buildCounterTargetingValueDemogAgeCriteria < 3) { - checkUnnamed2745(o.demogAgeCriteriaIds!); - } - buildCounterTargetingValueDemogAgeCriteria--; -} - -core.List buildUnnamed2746() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2746(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterTargetingValueDemogGenderCriteria = 0; -api.TargetingValueDemogGenderCriteria buildTargetingValueDemogGenderCriteria() { - final o = api.TargetingValueDemogGenderCriteria(); - buildCounterTargetingValueDemogGenderCriteria++; - if (buildCounterTargetingValueDemogGenderCriteria < 3) { - o.demogGenderCriteriaIds = buildUnnamed2746(); - } - buildCounterTargetingValueDemogGenderCriteria--; - return o; -} - -void checkTargetingValueDemogGenderCriteria( - api.TargetingValueDemogGenderCriteria o) { - buildCounterTargetingValueDemogGenderCriteria++; - if (buildCounterTargetingValueDemogGenderCriteria < 3) { - checkUnnamed2746(o.demogGenderCriteriaIds!); - } - buildCounterTargetingValueDemogGenderCriteria--; -} - -core.List buildUnnamed2747() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2747(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterTargetingValueRequestPlatformTargeting = 0; -api.TargetingValueRequestPlatformTargeting - buildTargetingValueRequestPlatformTargeting() { - final o = api.TargetingValueRequestPlatformTargeting(); - buildCounterTargetingValueRequestPlatformTargeting++; - if (buildCounterTargetingValueRequestPlatformTargeting < 3) { - o.requestPlatforms = buildUnnamed2747(); - } - buildCounterTargetingValueRequestPlatformTargeting--; - return o; -} - -void checkTargetingValueRequestPlatformTargeting( - api.TargetingValueRequestPlatformTargeting o) { - buildCounterTargetingValueRequestPlatformTargeting++; - if (buildCounterTargetingValueRequestPlatformTargeting < 3) { - checkUnnamed2747(o.requestPlatforms!); - } - buildCounterTargetingValueRequestPlatformTargeting--; -} - -core.int buildCounterTargetingValueSize = 0; -api.TargetingValueSize buildTargetingValueSize() { - final o = api.TargetingValueSize(); - buildCounterTargetingValueSize++; - if (buildCounterTargetingValueSize < 3) { - o.height = 42; - o.width = 42; - } - buildCounterTargetingValueSize--; - return o; -} - -void checkTargetingValueSize(api.TargetingValueSize o) { - buildCounterTargetingValueSize++; - if (buildCounterTargetingValueSize < 3) { - unittest.expect( - o.height!, - unittest.equals(42), - ); - unittest.expect( - o.width!, - unittest.equals(42), - ); - } - buildCounterTargetingValueSize--; -} - -core.int buildCounterUpdatePrivateAuctionProposalRequest = 0; -api.UpdatePrivateAuctionProposalRequest - buildUpdatePrivateAuctionProposalRequest() { - final o = api.UpdatePrivateAuctionProposalRequest(); - buildCounterUpdatePrivateAuctionProposalRequest++; - if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { - o.externalDealId = 'foo'; - o.note = buildMarketplaceNote(); - o.proposalRevisionNumber = 'foo'; - o.updateAction = 'foo'; - } - buildCounterUpdatePrivateAuctionProposalRequest--; - return o; -} - -void checkUpdatePrivateAuctionProposalRequest( - api.UpdatePrivateAuctionProposalRequest o) { - buildCounterUpdatePrivateAuctionProposalRequest++; - if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { - unittest.expect( - o.externalDealId!, - unittest.equals('foo'), - ); - checkMarketplaceNote(o.note!); - unittest.expect( - o.proposalRevisionNumber!, - unittest.equals('foo'), - ); - unittest.expect( - o.updateAction!, - unittest.equals('foo'), - ); - } - buildCounterUpdatePrivateAuctionProposalRequest--; -} - -core.List buildUnnamed2748() => [ - 42, - 42, - ]; - -void checkUnnamed2748(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals(42), - ); - unittest.expect( - o[1], - unittest.equals(42), - ); -} - -core.List buildUnnamed2749() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed2749(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -void main() { - unittest.group('obj-schema-AccountBidderLocation', () { - unittest.test('to-json--from-json', () async { - final o = buildAccountBidderLocation(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AccountBidderLocation.fromJson( - oJson as core.Map); - checkAccountBidderLocation(od); - }); - }); - - unittest.group('obj-schema-Account', () { - unittest.test('to-json--from-json', () async { - final o = buildAccount(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Account.fromJson(oJson as core.Map); - checkAccount(od); - }); - }); - - unittest.group('obj-schema-AccountsList', () { - unittest.test('to-json--from-json', () async { - final o = buildAccountsList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AccountsList.fromJson( - oJson as core.Map); - checkAccountsList(od); - }); - }); - - unittest.group('obj-schema-AddOrderDealsRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildAddOrderDealsRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AddOrderDealsRequest.fromJson( - oJson as core.Map); - checkAddOrderDealsRequest(od); - }); - }); - - unittest.group('obj-schema-AddOrderDealsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildAddOrderDealsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AddOrderDealsResponse.fromJson( - oJson as core.Map); - checkAddOrderDealsResponse(od); - }); - }); - - unittest.group('obj-schema-AddOrderNotesRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildAddOrderNotesRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AddOrderNotesRequest.fromJson( - oJson as core.Map); - checkAddOrderNotesRequest(od); - }); - }); - - unittest.group('obj-schema-AddOrderNotesResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildAddOrderNotesResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AddOrderNotesResponse.fromJson( - oJson as core.Map); - checkAddOrderNotesResponse(od); - }); - }); - - unittest.group('obj-schema-BillingInfo', () { - unittest.test('to-json--from-json', () async { - final o = buildBillingInfo(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.BillingInfo.fromJson( - oJson as core.Map); - checkBillingInfo(od); - }); - }); - - unittest.group('obj-schema-BillingInfoList', () { - unittest.test('to-json--from-json', () async { - final o = buildBillingInfoList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.BillingInfoList.fromJson( - oJson as core.Map); - checkBillingInfoList(od); - }); - }); - - unittest.group('obj-schema-Budget', () { - unittest.test('to-json--from-json', () async { - final o = buildBudget(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Budget.fromJson(oJson as core.Map); - checkBudget(od); - }); - }); - - unittest.group('obj-schema-Buyer', () { - unittest.test('to-json--from-json', () async { - final o = buildBuyer(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Buyer.fromJson(oJson as core.Map); - checkBuyer(od); - }); - }); - - unittest.group('obj-schema-ContactInformation', () { - unittest.test('to-json--from-json', () async { - final o = buildContactInformation(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.ContactInformation.fromJson( - oJson as core.Map); - checkContactInformation(od); - }); - }); - - unittest.group('obj-schema-CreateOrdersRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildCreateOrdersRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreateOrdersRequest.fromJson( - oJson as core.Map); - checkCreateOrdersRequest(od); - }); - }); - - unittest.group('obj-schema-CreateOrdersResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildCreateOrdersResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreateOrdersResponse.fromJson( - oJson as core.Map); - checkCreateOrdersResponse(od); - }); - }); - - unittest.group('obj-schema-CreativeAdTechnologyProviders', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeAdTechnologyProviders(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeAdTechnologyProviders.fromJson( - oJson as core.Map); - checkCreativeAdTechnologyProviders(od); - }); - }); - - unittest.group('obj-schema-CreativeCorrectionsContexts', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeCorrectionsContexts(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeCorrectionsContexts.fromJson( - oJson as core.Map); - checkCreativeCorrectionsContexts(od); - }); - }); - - unittest.group('obj-schema-CreativeCorrections', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeCorrections(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeCorrections.fromJson( - oJson as core.Map); - checkCreativeCorrections(od); - }); - }); - - unittest.group('obj-schema-CreativeFilteringReasonsReasons', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeFilteringReasonsReasons(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeFilteringReasonsReasons.fromJson( - oJson as core.Map); - checkCreativeFilteringReasonsReasons(od); - }); - }); - - unittest.group('obj-schema-CreativeFilteringReasons', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeFilteringReasons(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeFilteringReasons.fromJson( - oJson as core.Map); - checkCreativeFilteringReasons(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAdAppIcon', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAdAppIcon(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAdAppIcon.fromJson( - oJson as core.Map); - checkCreativeNativeAdAppIcon(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAdImage', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAdImage(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAdImage.fromJson( - oJson as core.Map); - checkCreativeNativeAdImage(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAdLogo', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAdLogo(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAdLogo.fromJson( - oJson as core.Map); - checkCreativeNativeAdLogo(od); - }); - }); - - unittest.group('obj-schema-CreativeNativeAd', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeNativeAd(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeNativeAd.fromJson( - oJson as core.Map); - checkCreativeNativeAd(od); - }); - }); - - unittest.group('obj-schema-CreativeServingRestrictionsContexts', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeServingRestrictionsContexts(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeServingRestrictionsContexts.fromJson( - oJson as core.Map); - checkCreativeServingRestrictionsContexts(od); - }); - }); - - unittest.group('obj-schema-CreativeServingRestrictionsDisapprovalReasons', - () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeServingRestrictionsDisapprovalReasons(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeServingRestrictionsDisapprovalReasons.fromJson( - oJson as core.Map); - checkCreativeServingRestrictionsDisapprovalReasons(od); - }); - }); - - unittest.group('obj-schema-CreativeServingRestrictions', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeServingRestrictions(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeServingRestrictions.fromJson( - oJson as core.Map); - checkCreativeServingRestrictions(od); - }); - }); - - unittest.group('obj-schema-Creative', () { - unittest.test('to-json--from-json', () async { - final o = buildCreative(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Creative.fromJson(oJson as core.Map); - checkCreative(od); - }); - }); - - unittest.group('obj-schema-CreativeDealIdsDealStatuses', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeDealIdsDealStatuses(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeDealIdsDealStatuses.fromJson( - oJson as core.Map); - checkCreativeDealIdsDealStatuses(od); - }); - }); - - unittest.group('obj-schema-CreativeDealIds', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativeDealIds(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativeDealIds.fromJson( - oJson as core.Map); - checkCreativeDealIds(od); - }); - }); - - unittest.group('obj-schema-CreativesList', () { - unittest.test('to-json--from-json', () async { - final o = buildCreativesList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.CreativesList.fromJson( - oJson as core.Map); - checkCreativesList(od); - }); - }); - - unittest.group('obj-schema-DealServingMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildDealServingMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealServingMetadata.fromJson( - oJson as core.Map); - checkDealServingMetadata(od); - }); - }); - - unittest.group('obj-schema-DealServingMetadataDealPauseStatus', () { - unittest.test('to-json--from-json', () async { - final o = buildDealServingMetadataDealPauseStatus(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealServingMetadataDealPauseStatus.fromJson( - oJson as core.Map); - checkDealServingMetadataDealPauseStatus(od); - }); - }); - - unittest.group('obj-schema-DealTerms', () { - unittest.test('to-json--from-json', () async { - final o = buildDealTerms(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.DealTerms.fromJson(oJson as core.Map); - checkDealTerms(od); - }); - }); - - unittest.group('obj-schema-DealTermsGuaranteedFixedPriceTerms', () { - unittest.test('to-json--from-json', () async { - final o = buildDealTermsGuaranteedFixedPriceTerms(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealTermsGuaranteedFixedPriceTerms.fromJson( - oJson as core.Map); - checkDealTermsGuaranteedFixedPriceTerms(od); - }); - }); - - unittest.group('obj-schema-DealTermsGuaranteedFixedPriceTermsBillingInfo', - () { - unittest.test('to-json--from-json', () async { - final o = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealTermsGuaranteedFixedPriceTermsBillingInfo.fromJson( - oJson as core.Map); - checkDealTermsGuaranteedFixedPriceTermsBillingInfo(od); - }); - }); - - unittest.group('obj-schema-DealTermsNonGuaranteedAuctionTerms', () { - unittest.test('to-json--from-json', () async { - final o = buildDealTermsNonGuaranteedAuctionTerms(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealTermsNonGuaranteedAuctionTerms.fromJson( - oJson as core.Map); - checkDealTermsNonGuaranteedAuctionTerms(od); - }); - }); - - unittest.group('obj-schema-DealTermsNonGuaranteedFixedPriceTerms', () { - unittest.test('to-json--from-json', () async { - final o = buildDealTermsNonGuaranteedFixedPriceTerms(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealTermsNonGuaranteedFixedPriceTerms.fromJson( - oJson as core.Map); - checkDealTermsNonGuaranteedFixedPriceTerms(od); - }); - }); - - unittest.group('obj-schema-DealTermsRubiconNonGuaranteedTerms', () { - unittest.test('to-json--from-json', () async { - final o = buildDealTermsRubiconNonGuaranteedTerms(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DealTermsRubiconNonGuaranteedTerms.fromJson( - oJson as core.Map); - checkDealTermsRubiconNonGuaranteedTerms(od); - }); - }); - - unittest.group('obj-schema-DeleteOrderDealsRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildDeleteOrderDealsRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DeleteOrderDealsRequest.fromJson( - oJson as core.Map); - checkDeleteOrderDealsRequest(od); - }); - }); - - unittest.group('obj-schema-DeleteOrderDealsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildDeleteOrderDealsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DeleteOrderDealsResponse.fromJson( - oJson as core.Map); - checkDeleteOrderDealsResponse(od); - }); - }); - - unittest.group('obj-schema-DeliveryControl', () { - unittest.test('to-json--from-json', () async { - final o = buildDeliveryControl(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DeliveryControl.fromJson( - oJson as core.Map); - checkDeliveryControl(od); - }); - }); - - unittest.group('obj-schema-DeliveryControlFrequencyCap', () { - unittest.test('to-json--from-json', () async { - final o = buildDeliveryControlFrequencyCap(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DeliveryControlFrequencyCap.fromJson( - oJson as core.Map); - checkDeliveryControlFrequencyCap(od); - }); - }); - - unittest.group('obj-schema-Dimension', () { - unittest.test('to-json--from-json', () async { - final o = buildDimension(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Dimension.fromJson(oJson as core.Map); - checkDimension(od); - }); - }); - - unittest.group('obj-schema-DimensionDimensionValue', () { - unittest.test('to-json--from-json', () async { - final o = buildDimensionDimensionValue(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.DimensionDimensionValue.fromJson( - oJson as core.Map); - checkDimensionDimensionValue(od); - }); - }); - - unittest.group('obj-schema-EditAllOrderDealsRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildEditAllOrderDealsRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.EditAllOrderDealsRequest.fromJson( - oJson as core.Map); - checkEditAllOrderDealsRequest(od); - }); - }); - - unittest.group('obj-schema-EditAllOrderDealsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildEditAllOrderDealsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.EditAllOrderDealsResponse.fromJson( - oJson as core.Map); - checkEditAllOrderDealsResponse(od); - }); - }); - - unittest.group('obj-schema-GetOffersResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGetOffersResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GetOffersResponse.fromJson( - oJson as core.Map); - checkGetOffersResponse(od); - }); - }); - - unittest.group('obj-schema-GetOrderDealsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGetOrderDealsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GetOrderDealsResponse.fromJson( - oJson as core.Map); - checkGetOrderDealsResponse(od); - }); - }); - - unittest.group('obj-schema-GetOrderNotesResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGetOrderNotesResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GetOrderNotesResponse.fromJson( - oJson as core.Map); - checkGetOrderNotesResponse(od); - }); - }); - - unittest.group('obj-schema-GetOrdersResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGetOrdersResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GetOrdersResponse.fromJson( - oJson as core.Map); - checkGetOrdersResponse(od); - }); - }); - - unittest.group('obj-schema-GetPublisherProfilesByAccountIdResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGetPublisherProfilesByAccountIdResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GetPublisherProfilesByAccountIdResponse.fromJson( - oJson as core.Map); - checkGetPublisherProfilesByAccountIdResponse(od); - }); - }); - - unittest.group('obj-schema-MarketplaceDeal', () { - unittest.test('to-json--from-json', () async { - final o = buildMarketplaceDeal(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.MarketplaceDeal.fromJson( - oJson as core.Map); - checkMarketplaceDeal(od); - }); - }); - - unittest.group('obj-schema-MarketplaceDealParty', () { - unittest.test('to-json--from-json', () async { - final o = buildMarketplaceDealParty(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.MarketplaceDealParty.fromJson( - oJson as core.Map); - checkMarketplaceDealParty(od); - }); - }); - - unittest.group('obj-schema-MarketplaceLabel', () { - unittest.test('to-json--from-json', () async { - final o = buildMarketplaceLabel(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.MarketplaceLabel.fromJson( - oJson as core.Map); - checkMarketplaceLabel(od); - }); - }); - - unittest.group('obj-schema-MarketplaceNote', () { - unittest.test('to-json--from-json', () async { - final o = buildMarketplaceNote(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.MarketplaceNote.fromJson( - oJson as core.Map); - checkMarketplaceNote(od); - }); - }); - - unittest.group('obj-schema-MobileApplication', () { - unittest.test('to-json--from-json', () async { - final o = buildMobileApplication(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.MobileApplication.fromJson( - oJson as core.Map); - checkMobileApplication(od); - }); - }); - - unittest.group('obj-schema-PerformanceReport', () { - unittest.test('to-json--from-json', () async { - final o = buildPerformanceReport(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PerformanceReport.fromJson( - oJson as core.Map); - checkPerformanceReport(od); - }); - }); - - unittest.group('obj-schema-PerformanceReportList', () { - unittest.test('to-json--from-json', () async { - final o = buildPerformanceReportList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PerformanceReportList.fromJson( - oJson as core.Map); - checkPerformanceReportList(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigDimensions', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigDimensions(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigDimensions.fromJson( - oJson as core.Map); - checkPretargetingConfigDimensions(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigExcludedPlacements', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigExcludedPlacements(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigExcludedPlacements.fromJson( - oJson as core.Map); - checkPretargetingConfigExcludedPlacements(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigPlacements', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigPlacements(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigPlacements.fromJson( - oJson as core.Map); - checkPretargetingConfigPlacements(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigVideoPlayerSizes', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigVideoPlayerSizes(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigVideoPlayerSizes.fromJson( - oJson as core.Map); - checkPretargetingConfigVideoPlayerSizes(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfig.fromJson( - oJson as core.Map); - checkPretargetingConfig(od); - }); - }); - - unittest.group('obj-schema-PretargetingConfigList', () { - unittest.test('to-json--from-json', () async { - final o = buildPretargetingConfigList(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PretargetingConfigList.fromJson( - oJson as core.Map); - checkPretargetingConfigList(od); - }); - }); - - unittest.group('obj-schema-Price', () { - unittest.test('to-json--from-json', () async { - final o = buildPrice(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Price.fromJson(oJson as core.Map); - checkPrice(od); - }); - }); - - unittest.group('obj-schema-PricePerBuyer', () { - unittest.test('to-json--from-json', () async { - final o = buildPricePerBuyer(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PricePerBuyer.fromJson( - oJson as core.Map); - checkPricePerBuyer(od); - }); - }); - - unittest.group('obj-schema-PrivateData', () { - unittest.test('to-json--from-json', () async { - final o = buildPrivateData(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PrivateData.fromJson( - oJson as core.Map); - checkPrivateData(od); - }); - }); - - unittest.group('obj-schema-Product', () { - unittest.test('to-json--from-json', () async { - final o = buildProduct(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Product.fromJson(oJson as core.Map); - checkProduct(od); - }); - }); - - unittest.group('obj-schema-Proposal', () { - unittest.test('to-json--from-json', () async { - final o = buildProposal(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Proposal.fromJson(oJson as core.Map); - checkProposal(od); - }); - }); - - unittest.group('obj-schema-PublisherProfileApiProto', () { - unittest.test('to-json--from-json', () async { - final o = buildPublisherProfileApiProto(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PublisherProfileApiProto.fromJson( - oJson as core.Map); - checkPublisherProfileApiProto(od); - }); - }); - - unittest.group('obj-schema-PublisherProvidedForecast', () { - unittest.test('to-json--from-json', () async { - final o = buildPublisherProvidedForecast(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.PublisherProvidedForecast.fromJson( - oJson as core.Map); - checkPublisherProvidedForecast(od); - }); - }); - - unittest.group('obj-schema-Seller', () { - unittest.test('to-json--from-json', () async { - final o = buildSeller(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Seller.fromJson(oJson as core.Map); - checkSeller(od); - }); - }); - - unittest.group('obj-schema-SharedTargeting', () { - unittest.test('to-json--from-json', () async { - final o = buildSharedTargeting(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.SharedTargeting.fromJson( - oJson as core.Map); - checkSharedTargeting(od); - }); - }); - - unittest.group('obj-schema-TargetingValue', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValue(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValue.fromJson( - oJson as core.Map); - checkTargetingValue(od); - }); - }); - - unittest.group('obj-schema-TargetingValueCreativeSize', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueCreativeSize(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueCreativeSize.fromJson( - oJson as core.Map); - checkTargetingValueCreativeSize(od); - }); - }); - - unittest.group('obj-schema-TargetingValueDayPartTargeting', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueDayPartTargeting(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueDayPartTargeting.fromJson( - oJson as core.Map); - checkTargetingValueDayPartTargeting(od); - }); - }); - - unittest.group('obj-schema-TargetingValueDayPartTargetingDayPart', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueDayPartTargetingDayPart(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueDayPartTargetingDayPart.fromJson( - oJson as core.Map); - checkTargetingValueDayPartTargetingDayPart(od); - }); - }); - - unittest.group('obj-schema-TargetingValueDemogAgeCriteria', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueDemogAgeCriteria(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueDemogAgeCriteria.fromJson( - oJson as core.Map); - checkTargetingValueDemogAgeCriteria(od); - }); - }); - - unittest.group('obj-schema-TargetingValueDemogGenderCriteria', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueDemogGenderCriteria(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueDemogGenderCriteria.fromJson( - oJson as core.Map); - checkTargetingValueDemogGenderCriteria(od); - }); - }); - - unittest.group('obj-schema-TargetingValueRequestPlatformTargeting', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueRequestPlatformTargeting(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueRequestPlatformTargeting.fromJson( - oJson as core.Map); - checkTargetingValueRequestPlatformTargeting(od); - }); - }); - - unittest.group('obj-schema-TargetingValueSize', () { - unittest.test('to-json--from-json', () async { - final o = buildTargetingValueSize(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.TargetingValueSize.fromJson( - oJson as core.Map); - checkTargetingValueSize(od); - }); - }); - - unittest.group('obj-schema-UpdatePrivateAuctionProposalRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildUpdatePrivateAuctionProposalRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.UpdatePrivateAuctionProposalRequest.fromJson( - oJson as core.Map); - checkUpdatePrivateAuctionProposalRequest(od); - }); - }); - - unittest.group('resource-AccountsResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_id = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('accounts/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccount()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_id, $fields: arg_$fields); - checkAccount(response as api.Account); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 8), - unittest.equals('accounts'), - ); - pathOffset += 8; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccountsList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list($fields: arg_$fields); - checkAccountsList(response as api.AccountsList); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_request = buildAccount(); - final arg_id = 42; - final arg_confirmUnsafeAccountChange = true; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Account.fromJson(json as core.Map); - checkAccount(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('accounts/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['confirmUnsafeAccountChange']!.first, - unittest.equals('$arg_confirmUnsafeAccountChange'), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccount()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.patch(arg_request, arg_id, - confirmUnsafeAccountChange: arg_confirmUnsafeAccountChange, - $fields: arg_$fields); - checkAccount(response as api.Account); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).accounts; - final arg_request = buildAccount(); - final arg_id = 42; - final arg_confirmUnsafeAccountChange = true; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Account.fromJson(json as core.Map); - checkAccount(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('accounts/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['confirmUnsafeAccountChange']!.first, - unittest.equals('$arg_confirmUnsafeAccountChange'), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAccount()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.update(arg_request, arg_id, - confirmUnsafeAccountChange: arg_confirmUnsafeAccountChange, - $fields: arg_$fields); - checkAccount(response as api.Account); - }); - }); - - unittest.group('resource-BillingInfoResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).billingInfo; - final arg_accountId = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBillingInfo()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_accountId, $fields: arg_$fields); - checkBillingInfo(response as api.BillingInfo); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).billingInfo; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 11), - unittest.equals('billinginfo'), - ); - pathOffset += 11; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBillingInfoList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list($fields: arg_$fields); - checkBillingInfoList(response as api.BillingInfoList); - }); - }); - - unittest.group('resource-BudgetResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).budget; - final arg_accountId = 'foo'; - final arg_billingId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_billingId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBudget()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.get(arg_accountId, arg_billingId, $fields: arg_$fields); - checkBudget(response as api.Budget); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).budget; - final arg_request = buildBudget(); - final arg_accountId = 'foo'; - final arg_billingId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Budget.fromJson(json as core.Map); - checkBudget(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_billingId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBudget()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.patch( - arg_request, arg_accountId, arg_billingId, - $fields: arg_$fields); - checkBudget(response as api.Budget); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).budget; - final arg_request = buildBudget(); - final arg_accountId = 'foo'; - final arg_billingId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Budget.fromJson(json as core.Map); - checkBudget(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('billinginfo/'), - ); - pathOffset += 12; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_billingId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildBudget()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.update( - arg_request, arg_accountId, arg_billingId, - $fields: arg_$fields); - checkBudget(response as api.Budget); - }); - }); - - unittest.group('resource-CreativesResource', () { - unittest.test('method--addDeal', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = 42; - final arg_buyerCreativeId = 'foo'; - final arg_dealId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('creatives/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - index = path.indexOf('/addDeal/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_buyerCreativeId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('/addDeal/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_dealId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = ''; - return async.Future.value(stringResponse(200, h, resp)); - }), true); - await res.addDeal(arg_accountId, arg_buyerCreativeId, arg_dealId, - $fields: arg_$fields); - }); - - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = 42; - final arg_buyerCreativeId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('creatives/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_buyerCreativeId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreative()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_accountId, arg_buyerCreativeId, - $fields: arg_$fields); - checkCreative(response as api.Creative); - }); - - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_request = buildCreative(); - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Creative.fromJson(json as core.Map); - checkCreative(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('creatives'), - ); - pathOffset += 9; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreative()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.insert(arg_request, $fields: arg_$fields); - checkCreative(response as api.Creative); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = buildUnnamed2748(); - final arg_buyerCreativeId = buildUnnamed2749(); - final arg_dealsStatusFilter = 'foo'; - final arg_maxResults = 42; - final arg_openAuctionStatusFilter = 'foo'; - final arg_pageToken = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('creatives'), - ); - pathOffset += 9; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['accountId']!.map(core.int.parse).toList(), - unittest.equals(arg_accountId), - ); - unittest.expect( - queryMap['buyerCreativeId']!, - unittest.equals(arg_buyerCreativeId), - ); - unittest.expect( - queryMap['dealsStatusFilter']!.first, - unittest.equals(arg_dealsStatusFilter), - ); - unittest.expect( - core.int.parse(queryMap['maxResults']!.first), - unittest.equals(arg_maxResults), - ); - unittest.expect( - queryMap['openAuctionStatusFilter']!.first, - unittest.equals(arg_openAuctionStatusFilter), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreativesList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list( - accountId: arg_accountId, - buyerCreativeId: arg_buyerCreativeId, - dealsStatusFilter: arg_dealsStatusFilter, - maxResults: arg_maxResults, - openAuctionStatusFilter: arg_openAuctionStatusFilter, - pageToken: arg_pageToken, - $fields: arg_$fields); - checkCreativesList(response as api.CreativesList); - }); - - unittest.test('method--listDeals', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = 42; - final arg_buyerCreativeId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('creatives/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - index = path.indexOf('/listDeals', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_buyerCreativeId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('/listDeals'), - ); - pathOffset += 10; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreativeDealIds()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.listDeals(arg_accountId, arg_buyerCreativeId, - $fields: arg_$fields); - checkCreativeDealIds(response as api.CreativeDealIds); - }); - - unittest.test('method--removeDeal', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).creatives; - final arg_accountId = 42; - final arg_buyerCreativeId = 'foo'; - final arg_dealId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('creatives/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - index = path.indexOf('/removeDeal/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_buyerCreativeId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('/removeDeal/'), - ); - pathOffset += 12; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_dealId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = ''; - return async.Future.value(stringResponse(200, h, resp)); - }), true); - await res.removeDeal(arg_accountId, arg_buyerCreativeId, arg_dealId, - $fields: arg_$fields); - }); - }); - - unittest.group('resource-MarketplacedealsResource', () { - unittest.test('method--delete', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplacedeals; - final arg_request = buildDeleteOrderDealsRequest(); - final arg_proposalId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.DeleteOrderDealsRequest.fromJson( - json as core.Map); - checkDeleteOrderDealsRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/deals/delete', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('/deals/delete'), - ); - pathOffset += 13; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildDeleteOrderDealsResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.delete(arg_request, arg_proposalId, $fields: arg_$fields); - checkDeleteOrderDealsResponse(response as api.DeleteOrderDealsResponse); - }); - - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplacedeals; - final arg_request = buildAddOrderDealsRequest(); - final arg_proposalId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.AddOrderDealsRequest.fromJson( - json as core.Map); - checkAddOrderDealsRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/deals/insert', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('/deals/insert'), - ); - pathOffset += 13; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAddOrderDealsResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.insert(arg_request, arg_proposalId, $fields: arg_$fields); - checkAddOrderDealsResponse(response as api.AddOrderDealsResponse); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplacedeals; - final arg_proposalId = 'foo'; - final arg_pqlQuery = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/deals', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 6), - unittest.equals('/deals'), - ); - pathOffset += 6; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['pqlQuery']!.first, - unittest.equals(arg_pqlQuery), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildGetOrderDealsResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list(arg_proposalId, - pqlQuery: arg_pqlQuery, $fields: arg_$fields); - checkGetOrderDealsResponse(response as api.GetOrderDealsResponse); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplacedeals; - final arg_request = buildEditAllOrderDealsRequest(); - final arg_proposalId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.EditAllOrderDealsRequest.fromJson( - json as core.Map); - checkEditAllOrderDealsRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/deals/update', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('/deals/update'), - ); - pathOffset += 13; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildEditAllOrderDealsResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.update(arg_request, arg_proposalId, $fields: arg_$fields); - checkEditAllOrderDealsResponse(response as api.EditAllOrderDealsResponse); - }); - }); - - unittest.group('resource-MarketplacenotesResource', () { - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplacenotes; - final arg_request = buildAddOrderNotesRequest(); - final arg_proposalId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.AddOrderNotesRequest.fromJson( - json as core.Map); - checkAddOrderNotesRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/notes/insert', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('/notes/insert'), - ); - pathOffset += 13; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildAddOrderNotesResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.insert(arg_request, arg_proposalId, $fields: arg_$fields); - checkAddOrderNotesResponse(response as api.AddOrderNotesResponse); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplacenotes; - final arg_proposalId = 'foo'; - final arg_pqlQuery = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/notes', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 6), - unittest.equals('/notes'), - ); - pathOffset += 6; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['pqlQuery']!.first, - unittest.equals(arg_pqlQuery), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildGetOrderNotesResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list(arg_proposalId, - pqlQuery: arg_pqlQuery, $fields: arg_$fields); - checkGetOrderNotesResponse(response as api.GetOrderNotesResponse); - }); - }); - - unittest.group('resource-MarketplaceprivateauctionResource', () { - unittest.test('method--updateproposal', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).marketplaceprivateauction; - final arg_request = buildUpdatePrivateAuctionProposalRequest(); - final arg_privateAuctionId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.UpdatePrivateAuctionProposalRequest.fromJson( - json as core.Map); - checkUpdatePrivateAuctionProposalRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 15), - unittest.equals('privateauction/'), - ); - pathOffset += 15; - index = path.indexOf('/updateproposal', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_privateAuctionId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 15), - unittest.equals('/updateproposal'), - ); - pathOffset += 15; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = ''; - return async.Future.value(stringResponse(200, h, resp)); - }), true); - await res.updateproposal(arg_request, arg_privateAuctionId, - $fields: arg_$fields); - }); - }); - - unittest.group('resource-PerformanceReportResource', () { - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).performanceReport; - final arg_accountId = 'foo'; - final arg_endDateTime = 'foo'; - final arg_startDateTime = 'foo'; - final arg_maxResults = 42; - final arg_pageToken = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 17), - unittest.equals('performancereport'), - ); - pathOffset += 17; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['accountId']!.first, - unittest.equals(arg_accountId), - ); - unittest.expect( - queryMap['endDateTime']!.first, - unittest.equals(arg_endDateTime), - ); - unittest.expect( - queryMap['startDateTime']!.first, - unittest.equals(arg_startDateTime), - ); - unittest.expect( - core.int.parse(queryMap['maxResults']!.first), - unittest.equals(arg_maxResults), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPerformanceReportList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list( - arg_accountId, arg_endDateTime, arg_startDateTime, - maxResults: arg_maxResults, - pageToken: arg_pageToken, - $fields: arg_$fields); - checkPerformanceReportList(response as api.PerformanceReportList); - }); - }); - - unittest.group('resource-PretargetingConfigResource', () { - unittest.test('method--delete', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = ''; - return async.Future.value(stringResponse(200, h, resp)); - }), true); - await res.delete(arg_accountId, arg_configId, $fields: arg_$fields); - }); - - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.get(arg_accountId, arg_configId, $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_request = buildPretargetingConfig(); - final arg_accountId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.PretargetingConfig.fromJson( - json as core.Map); - checkPretargetingConfig(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.insert(arg_request, arg_accountId, $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_accountId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfigList()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list(arg_accountId, $fields: arg_$fields); - checkPretargetingConfigList(response as api.PretargetingConfigList); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_request = buildPretargetingConfig(); - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.PretargetingConfig.fromJson( - json as core.Map); - checkPretargetingConfig(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.patch(arg_request, arg_accountId, arg_configId, - $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pretargetingConfig; - final arg_request = buildPretargetingConfig(); - final arg_accountId = 'foo'; - final arg_configId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.PretargetingConfig.fromJson( - json as core.Map); - checkPretargetingConfig(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 20), - unittest.equals('pretargetingconfigs/'), - ); - pathOffset += 20; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_configId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPretargetingConfig()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.update( - arg_request, arg_accountId, arg_configId, - $fields: arg_$fields); - checkPretargetingConfig(response as api.PretargetingConfig); - }); - }); - - unittest.group('resource-ProductsResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).products; - final arg_productId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('products/'), - ); - pathOffset += 9; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_productId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildProduct()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_productId, $fields: arg_$fields); - checkProduct(response as api.Product); - }); - - unittest.test('method--search', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).products; - final arg_pqlQuery = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 15), - unittest.equals('products/search'), - ); - pathOffset += 15; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['pqlQuery']!.first, - unittest.equals(arg_pqlQuery), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildGetOffersResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.search(pqlQuery: arg_pqlQuery, $fields: arg_$fields); - checkGetOffersResponse(response as api.GetOffersResponse); - }); - }); - - unittest.group('resource-ProposalsResource', () { - unittest.test('method--get', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).proposals; - final arg_proposalId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildProposal()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.get(arg_proposalId, $fields: arg_$fields); - checkProposal(response as api.Proposal); - }); - - unittest.test('method--insert', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).proposals; - final arg_request = buildCreateOrdersRequest(); - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.CreateOrdersRequest.fromJson( - json as core.Map); - checkCreateOrdersRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 16), - unittest.equals('proposals/insert'), - ); - pathOffset += 16; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildCreateOrdersResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.insert(arg_request, $fields: arg_$fields); - checkCreateOrdersResponse(response as api.CreateOrdersResponse); - }); - - unittest.test('method--patch', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).proposals; - final arg_request = buildProposal(); - final arg_proposalId = 'foo'; - final arg_revisionNumber = 'foo'; - final arg_updateAction = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Proposal.fromJson(json as core.Map); - checkProposal(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_revisionNumber'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_updateAction'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildProposal()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.patch( - arg_request, arg_proposalId, arg_revisionNumber, arg_updateAction, - $fields: arg_$fields); - checkProposal(response as api.Proposal); - }); - - unittest.test('method--search', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).proposals; - final arg_pqlQuery = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 16), - unittest.equals('proposals/search'), - ); - pathOffset += 16; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['pqlQuery']!.first, - unittest.equals(arg_pqlQuery), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildGetOrdersResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = - await res.search(pqlQuery: arg_pqlQuery, $fields: arg_$fields); - checkGetOrdersResponse(response as api.GetOrdersResponse); - }); - - unittest.test('method--setupcomplete', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).proposals; - final arg_proposalId = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/setupcomplete', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 14), - unittest.equals('/setupcomplete'), - ); - pathOffset += 14; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = ''; - return async.Future.value(stringResponse(200, h, resp)); - }), true); - await res.setupcomplete(arg_proposalId, $fields: arg_$fields); - }); - - unittest.test('method--update', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).proposals; - final arg_request = buildProposal(); - final arg_proposalId = 'foo'; - final arg_revisionNumber = 'foo'; - final arg_updateAction = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Proposal.fromJson(json as core.Map); - checkProposal(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('proposals/'), - ); - pathOffset += 10; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_proposalId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - index = path.indexOf('/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_revisionNumber'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; - unittest.expect( - subPart, - unittest.equals('$arg_updateAction'), - ); - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildProposal()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.update( - arg_request, arg_proposalId, arg_revisionNumber, arg_updateAction, - $fields: arg_$fields); - checkProposal(response as api.Proposal); - }); - }); - - unittest.group('resource-PubprofilesResource', () { - unittest.test('method--list', () async { - final mock = HttpServerMock(); - final res = api.AdExchangeBuyerApi(mock).pubprofiles; - final arg_accountId = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 21), - unittest.equals('adexchangebuyer/v1.4/'), - ); - pathOffset += 21; - unittest.expect( - path.substring(pathOffset, pathOffset + 10), - unittest.equals('publisher/'), - ); - pathOffset += 10; - index = path.indexOf('/profiles', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_accountId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('/profiles'), - ); - pathOffset += 9; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = - convert.json.encode(buildGetPublisherProfilesByAccountIdResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.list(arg_accountId, $fields: arg_$fields); - checkGetPublisherProfilesByAccountIdResponse( - response as api.GetPublisherProfilesByAccountIdResponse); - }); - }); -} diff --git a/generated/googleapis/test/adexperiencereport/v1_test.dart b/generated/googleapis/test/adexperiencereport/v1_test.dart index 30a5e6168..3856f6f2b 100644 --- a/generated/googleapis/test/adexperiencereport/v1_test.dart +++ b/generated/googleapis/test/adexperiencereport/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3449() => [ +core.List buildUnnamed3346() => [ 'foo', 'foo', ]; -void checkUnnamed3449(core.List o) { +void checkUnnamed3346(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -52,7 +52,7 @@ api.PlatformSummary buildPlatformSummary() { o.enforcementTime = 'foo'; o.filterStatus = 'foo'; o.lastChangeTime = 'foo'; - o.region = buildUnnamed3449(); + o.region = buildUnnamed3346(); o.reportUrl = 'foo'; o.underReview = true; } @@ -79,7 +79,7 @@ void checkPlatformSummary(api.PlatformSummary o) { o.lastChangeTime!, unittest.equals('foo'), ); - checkUnnamed3449(o.region!); + checkUnnamed3346(o.region!); unittest.expect( o.reportUrl!, unittest.equals('foo'), @@ -115,12 +115,12 @@ void checkSiteSummaryResponse(api.SiteSummaryResponse o) { buildCounterSiteSummaryResponse--; } -core.List buildUnnamed3450() => [ +core.List buildUnnamed3347() => [ buildSiteSummaryResponse(), buildSiteSummaryResponse(), ]; -void checkUnnamed3450(core.List o) { +void checkUnnamed3347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSiteSummaryResponse(o[0]); checkSiteSummaryResponse(o[1]); @@ -131,7 +131,7 @@ api.ViolatingSitesResponse buildViolatingSitesResponse() { final o = api.ViolatingSitesResponse(); buildCounterViolatingSitesResponse++; if (buildCounterViolatingSitesResponse < 3) { - o.violatingSites = buildUnnamed3450(); + o.violatingSites = buildUnnamed3347(); } buildCounterViolatingSitesResponse--; return o; @@ -140,7 +140,7 @@ api.ViolatingSitesResponse buildViolatingSitesResponse() { void checkViolatingSitesResponse(api.ViolatingSitesResponse o) { buildCounterViolatingSitesResponse++; if (buildCounterViolatingSitesResponse < 3) { - checkUnnamed3450(o.violatingSites!); + checkUnnamed3347(o.violatingSites!); } buildCounterViolatingSitesResponse--; } diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart index aafcd18e5..477e68c9a 100644 --- a/generated/googleapis/test/admin/datatransfer_v1_test.dart +++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6229() => [ +core.List buildUnnamed6296() => [ buildApplicationTransferParam(), buildApplicationTransferParam(), ]; -void checkUnnamed6229(core.List o) { +void checkUnnamed6296(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationTransferParam(o[0]); checkApplicationTransferParam(o[1]); @@ -46,7 +46,7 @@ api.Application buildApplication() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.transferParams = buildUnnamed6229(); + o.transferParams = buildUnnamed6296(); } buildCounterApplication--; return o; @@ -71,17 +71,17 @@ void checkApplication(api.Application o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6229(o.transferParams!); + checkUnnamed6296(o.transferParams!); } buildCounterApplication--; } -core.List buildUnnamed6230() => [ +core.List buildUnnamed6297() => [ buildApplicationTransferParam(), buildApplicationTransferParam(), ]; -void checkUnnamed6230(core.List o) { +void checkUnnamed6297(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationTransferParam(o[0]); checkApplicationTransferParam(o[1]); @@ -93,7 +93,7 @@ api.ApplicationDataTransfer buildApplicationDataTransfer() { buildCounterApplicationDataTransfer++; if (buildCounterApplicationDataTransfer < 3) { o.applicationId = 'foo'; - o.applicationTransferParams = buildUnnamed6230(); + o.applicationTransferParams = buildUnnamed6297(); o.applicationTransferStatus = 'foo'; } buildCounterApplicationDataTransfer--; @@ -107,7 +107,7 @@ void checkApplicationDataTransfer(api.ApplicationDataTransfer o) { o.applicationId!, unittest.equals('foo'), ); - checkUnnamed6230(o.applicationTransferParams!); + checkUnnamed6297(o.applicationTransferParams!); unittest.expect( o.applicationTransferStatus!, unittest.equals('foo'), @@ -116,12 +116,12 @@ void checkApplicationDataTransfer(api.ApplicationDataTransfer o) { buildCounterApplicationDataTransfer--; } -core.List buildUnnamed6231() => [ +core.List buildUnnamed6298() => [ 'foo', 'foo', ]; -void checkUnnamed6231(core.List o) { +void checkUnnamed6298(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -139,7 +139,7 @@ api.ApplicationTransferParam buildApplicationTransferParam() { buildCounterApplicationTransferParam++; if (buildCounterApplicationTransferParam < 3) { o.key = 'foo'; - o.value = buildUnnamed6231(); + o.value = buildUnnamed6298(); } buildCounterApplicationTransferParam--; return o; @@ -152,17 +152,17 @@ void checkApplicationTransferParam(api.ApplicationTransferParam o) { o.key!, unittest.equals('foo'), ); - checkUnnamed6231(o.value!); + checkUnnamed6298(o.value!); } buildCounterApplicationTransferParam--; } -core.List buildUnnamed6232() => [ +core.List buildUnnamed6299() => [ buildApplication(), buildApplication(), ]; -void checkUnnamed6232(core.List o) { +void checkUnnamed6299(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplication(o[0]); checkApplication(o[1]); @@ -173,7 +173,7 @@ api.ApplicationsListResponse buildApplicationsListResponse() { final o = api.ApplicationsListResponse(); buildCounterApplicationsListResponse++; if (buildCounterApplicationsListResponse < 3) { - o.applications = buildUnnamed6232(); + o.applications = buildUnnamed6299(); o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -185,7 +185,7 @@ api.ApplicationsListResponse buildApplicationsListResponse() { void checkApplicationsListResponse(api.ApplicationsListResponse o) { buildCounterApplicationsListResponse++; if (buildCounterApplicationsListResponse < 3) { - checkUnnamed6232(o.applications!); + checkUnnamed6299(o.applications!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -202,12 +202,12 @@ void checkApplicationsListResponse(api.ApplicationsListResponse o) { buildCounterApplicationsListResponse--; } -core.List buildUnnamed6233() => [ +core.List buildUnnamed6300() => [ buildApplicationDataTransfer(), buildApplicationDataTransfer(), ]; -void checkUnnamed6233(core.List o) { +void checkUnnamed6300(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationDataTransfer(o[0]); checkApplicationDataTransfer(o[1]); @@ -218,7 +218,7 @@ api.DataTransfer buildDataTransfer() { final o = api.DataTransfer(); buildCounterDataTransfer++; if (buildCounterDataTransfer < 3) { - o.applicationDataTransfers = buildUnnamed6233(); + o.applicationDataTransfers = buildUnnamed6300(); o.etag = 'foo'; o.id = 'foo'; o.kind = 'foo'; @@ -234,7 +234,7 @@ api.DataTransfer buildDataTransfer() { void checkDataTransfer(api.DataTransfer o) { buildCounterDataTransfer++; if (buildCounterDataTransfer < 3) { - checkUnnamed6233(o.applicationDataTransfers!); + checkUnnamed6300(o.applicationDataTransfers!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -267,12 +267,12 @@ void checkDataTransfer(api.DataTransfer o) { buildCounterDataTransfer--; } -core.List buildUnnamed6234() => [ +core.List buildUnnamed6301() => [ buildDataTransfer(), buildDataTransfer(), ]; -void checkUnnamed6234(core.List o) { +void checkUnnamed6301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataTransfer(o[0]); checkDataTransfer(o[1]); @@ -283,7 +283,7 @@ api.DataTransfersListResponse buildDataTransfersListResponse() { final o = api.DataTransfersListResponse(); buildCounterDataTransfersListResponse++; if (buildCounterDataTransfersListResponse < 3) { - o.dataTransfers = buildUnnamed6234(); + o.dataTransfers = buildUnnamed6301(); o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -295,7 +295,7 @@ api.DataTransfersListResponse buildDataTransfersListResponse() { void checkDataTransfersListResponse(api.DataTransfersListResponse o) { buildCounterDataTransfersListResponse++; if (buildCounterDataTransfersListResponse < 3) { - checkUnnamed6234(o.dataTransfers!); + checkUnnamed6301(o.dataTransfers!); unittest.expect( o.etag!, unittest.equals('foo'), diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart index 3ff784c5f..c3bbdc67a 100644 --- a/generated/googleapis/test/admin/directory_v1_test.dart +++ b/generated/googleapis/test/admin/directory_v1_test.dart @@ -68,7 +68,7 @@ void checkAlias(api.Alias o) { buildCounterAlias--; } -core.List buildUnnamed2036() => [ +core.List buildUnnamed2067() => [ { 'list': [1, 2, 3], 'bool': true, @@ -81,7 +81,7 @@ core.List buildUnnamed2036() => [ }, ]; -void checkUnnamed2036(core.List o) { +void checkUnnamed2067(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -118,7 +118,7 @@ api.Aliases buildAliases() { final o = api.Aliases(); buildCounterAliases++; if (buildCounterAliases < 3) { - o.aliases = buildUnnamed2036(); + o.aliases = buildUnnamed2067(); o.etag = 'foo'; o.kind = 'foo'; } @@ -129,7 +129,7 @@ api.Aliases buildAliases() { void checkAliases(api.Aliases o) { buildCounterAliases++; if (buildCounterAliases < 3) { - checkUnnamed2036(o.aliases!); + checkUnnamed2067(o.aliases!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -194,12 +194,12 @@ void checkAsp(api.Asp o) { buildCounterAsp--; } -core.List buildUnnamed2037() => [ +core.List buildUnnamed2068() => [ buildAsp(), buildAsp(), ]; -void checkUnnamed2037(core.List o) { +void checkUnnamed2068(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAsp(o[0]); checkAsp(o[1]); @@ -211,7 +211,7 @@ api.Asps buildAsps() { buildCounterAsps++; if (buildCounterAsps < 3) { o.etag = 'foo'; - o.items = buildUnnamed2037(); + o.items = buildUnnamed2068(); o.kind = 'foo'; } buildCounterAsps--; @@ -225,7 +225,7 @@ void checkAsps(api.Asps o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2037(o.items!); + checkUnnamed2068(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -266,12 +266,12 @@ void checkAuxiliaryMessage(api.AuxiliaryMessage o) { buildCounterAuxiliaryMessage--; } -core.List buildUnnamed2038() => [ +core.List buildUnnamed2069() => [ buildCreatePrinterRequest(), buildCreatePrinterRequest(), ]; -void checkUnnamed2038(core.List o) { +void checkUnnamed2069(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreatePrinterRequest(o[0]); checkCreatePrinterRequest(o[1]); @@ -282,7 +282,7 @@ api.BatchCreatePrintersRequest buildBatchCreatePrintersRequest() { final o = api.BatchCreatePrintersRequest(); buildCounterBatchCreatePrintersRequest++; if (buildCounterBatchCreatePrintersRequest < 3) { - o.requests = buildUnnamed2038(); + o.requests = buildUnnamed2069(); } buildCounterBatchCreatePrintersRequest--; return o; @@ -291,28 +291,28 @@ api.BatchCreatePrintersRequest buildBatchCreatePrintersRequest() { void checkBatchCreatePrintersRequest(api.BatchCreatePrintersRequest o) { buildCounterBatchCreatePrintersRequest++; if (buildCounterBatchCreatePrintersRequest < 3) { - checkUnnamed2038(o.requests!); + checkUnnamed2069(o.requests!); } buildCounterBatchCreatePrintersRequest--; } -core.List buildUnnamed2039() => [ +core.List buildUnnamed2070() => [ buildFailureInfo(), buildFailureInfo(), ]; -void checkUnnamed2039(core.List o) { +void checkUnnamed2070(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFailureInfo(o[0]); checkFailureInfo(o[1]); } -core.List buildUnnamed2040() => [ +core.List buildUnnamed2071() => [ buildPrinter(), buildPrinter(), ]; -void checkUnnamed2040(core.List o) { +void checkUnnamed2071(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrinter(o[0]); checkPrinter(o[1]); @@ -323,8 +323,8 @@ api.BatchCreatePrintersResponse buildBatchCreatePrintersResponse() { final o = api.BatchCreatePrintersResponse(); buildCounterBatchCreatePrintersResponse++; if (buildCounterBatchCreatePrintersResponse < 3) { - o.failures = buildUnnamed2039(); - o.printers = buildUnnamed2040(); + o.failures = buildUnnamed2070(); + o.printers = buildUnnamed2071(); } buildCounterBatchCreatePrintersResponse--; return o; @@ -333,18 +333,18 @@ api.BatchCreatePrintersResponse buildBatchCreatePrintersResponse() { void checkBatchCreatePrintersResponse(api.BatchCreatePrintersResponse o) { buildCounterBatchCreatePrintersResponse++; if (buildCounterBatchCreatePrintersResponse < 3) { - checkUnnamed2039(o.failures!); - checkUnnamed2040(o.printers!); + checkUnnamed2070(o.failures!); + checkUnnamed2071(o.printers!); } buildCounterBatchCreatePrintersResponse--; } -core.List buildUnnamed2041() => [ +core.List buildUnnamed2072() => [ 'foo', 'foo', ]; -void checkUnnamed2041(core.List o) { +void checkUnnamed2072(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -361,7 +361,7 @@ api.BatchDeletePrintersRequest buildBatchDeletePrintersRequest() { final o = api.BatchDeletePrintersRequest(); buildCounterBatchDeletePrintersRequest++; if (buildCounterBatchDeletePrintersRequest < 3) { - o.printerIds = buildUnnamed2041(); + o.printerIds = buildUnnamed2072(); } buildCounterBatchDeletePrintersRequest--; return o; @@ -370,28 +370,28 @@ api.BatchDeletePrintersRequest buildBatchDeletePrintersRequest() { void checkBatchDeletePrintersRequest(api.BatchDeletePrintersRequest o) { buildCounterBatchDeletePrintersRequest++; if (buildCounterBatchDeletePrintersRequest < 3) { - checkUnnamed2041(o.printerIds!); + checkUnnamed2072(o.printerIds!); } buildCounterBatchDeletePrintersRequest--; } -core.List buildUnnamed2042() => [ +core.List buildUnnamed2073() => [ buildFailureInfo(), buildFailureInfo(), ]; -void checkUnnamed2042(core.List o) { +void checkUnnamed2073(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFailureInfo(o[0]); checkFailureInfo(o[1]); } -core.List buildUnnamed2043() => [ +core.List buildUnnamed2074() => [ 'foo', 'foo', ]; -void checkUnnamed2043(core.List o) { +void checkUnnamed2074(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -408,8 +408,8 @@ api.BatchDeletePrintersResponse buildBatchDeletePrintersResponse() { final o = api.BatchDeletePrintersResponse(); buildCounterBatchDeletePrintersResponse++; if (buildCounterBatchDeletePrintersResponse < 3) { - o.failedPrinters = buildUnnamed2042(); - o.printerIds = buildUnnamed2043(); + o.failedPrinters = buildUnnamed2073(); + o.printerIds = buildUnnamed2074(); } buildCounterBatchDeletePrintersResponse--; return o; @@ -418,18 +418,18 @@ api.BatchDeletePrintersResponse buildBatchDeletePrintersResponse() { void checkBatchDeletePrintersResponse(api.BatchDeletePrintersResponse o) { buildCounterBatchDeletePrintersResponse++; if (buildCounterBatchDeletePrintersResponse < 3) { - checkUnnamed2042(o.failedPrinters!); - checkUnnamed2043(o.printerIds!); + checkUnnamed2073(o.failedPrinters!); + checkUnnamed2074(o.printerIds!); } buildCounterBatchDeletePrintersResponse--; } -core.List buildUnnamed2044() => [ +core.List buildUnnamed2075() => [ 'foo', 'foo', ]; -void checkUnnamed2044(core.List o) { +void checkUnnamed2075(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -452,7 +452,7 @@ api.Building buildBuilding() { o.coordinates = buildBuildingCoordinates(); o.description = 'foo'; o.etags = 'foo'; - o.floorNames = buildUnnamed2044(); + o.floorNames = buildUnnamed2075(); o.kind = 'foo'; } buildCounterBuilding--; @@ -480,7 +480,7 @@ void checkBuilding(api.Building o) { o.etags!, unittest.equals('foo'), ); - checkUnnamed2044(o.floorNames!); + checkUnnamed2075(o.floorNames!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -489,12 +489,12 @@ void checkBuilding(api.Building o) { buildCounterBuilding--; } -core.List buildUnnamed2045() => [ +core.List buildUnnamed2076() => [ 'foo', 'foo', ]; -void checkUnnamed2045(core.List o) { +void checkUnnamed2076(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -511,7 +511,7 @@ api.BuildingAddress buildBuildingAddress() { final o = api.BuildingAddress(); buildCounterBuildingAddress++; if (buildCounterBuildingAddress < 3) { - o.addressLines = buildUnnamed2045(); + o.addressLines = buildUnnamed2076(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; @@ -526,7 +526,7 @@ api.BuildingAddress buildBuildingAddress() { void checkBuildingAddress(api.BuildingAddress o) { buildCounterBuildingAddress++; if (buildCounterBuildingAddress < 3) { - checkUnnamed2045(o.addressLines!); + checkUnnamed2076(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -582,12 +582,12 @@ void checkBuildingCoordinates(api.BuildingCoordinates o) { buildCounterBuildingCoordinates--; } -core.List buildUnnamed2046() => [ +core.List buildUnnamed2077() => [ buildBuilding(), buildBuilding(), ]; -void checkUnnamed2046(core.List o) { +void checkUnnamed2077(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuilding(o[0]); checkBuilding(o[1]); @@ -598,7 +598,7 @@ api.Buildings buildBuildings() { final o = api.Buildings(); buildCounterBuildings++; if (buildCounterBuildings < 3) { - o.buildings = buildUnnamed2046(); + o.buildings = buildUnnamed2077(); o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -610,7 +610,7 @@ api.Buildings buildBuildings() { void checkBuildings(api.Buildings o) { buildCounterBuildings++; if (buildCounterBuildings < 3) { - checkUnnamed2046(o.buildings!); + checkUnnamed2077(o.buildings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -733,12 +733,12 @@ void checkCalendarResource(api.CalendarResource o) { buildCounterCalendarResource--; } -core.List buildUnnamed2047() => [ +core.List buildUnnamed2078() => [ buildCalendarResource(), buildCalendarResource(), ]; -void checkUnnamed2047(core.List o) { +void checkUnnamed2078(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCalendarResource(o[0]); checkCalendarResource(o[1]); @@ -750,7 +750,7 @@ api.CalendarResources buildCalendarResources() { buildCounterCalendarResources++; if (buildCounterCalendarResources < 3) { o.etag = 'foo'; - o.items = buildUnnamed2047(); + o.items = buildUnnamed2078(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -765,7 +765,7 @@ void checkCalendarResources(api.CalendarResources o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2047(o.items!); + checkUnnamed2078(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -778,12 +778,12 @@ void checkCalendarResources(api.CalendarResources o) { buildCounterCalendarResources--; } -core.Map buildUnnamed2048() => { +core.Map buildUnnamed2079() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2048(core.Map o) { +void checkUnnamed2079(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -804,7 +804,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed2048(); + o.params = buildUnnamed2079(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -834,7 +834,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2048(o.params!); + checkUnnamed2079(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -883,12 +883,12 @@ void checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { buildCounterChromeOsDeviceActiveTimeRanges--; } -core.List buildUnnamed2049() => [ +core.List buildUnnamed2080() => [ buildChromeOsDeviceActiveTimeRanges(), buildChromeOsDeviceActiveTimeRanges(), ]; -void checkUnnamed2049(core.List o) { +void checkUnnamed2080(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceActiveTimeRanges(o[0]); checkChromeOsDeviceActiveTimeRanges(o[1]); @@ -924,24 +924,24 @@ void checkChromeOsDeviceCpuStatusReportsCpuTemperatureInfo( } core.List - buildUnnamed2050() => [ + buildUnnamed2081() => [ buildChromeOsDeviceCpuStatusReportsCpuTemperatureInfo(), buildChromeOsDeviceCpuStatusReportsCpuTemperatureInfo(), ]; -void checkUnnamed2050( +void checkUnnamed2081( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceCpuStatusReportsCpuTemperatureInfo(o[0]); checkChromeOsDeviceCpuStatusReportsCpuTemperatureInfo(o[1]); } -core.List buildUnnamed2051() => [ +core.List buildUnnamed2082() => [ 42, 42, ]; -void checkUnnamed2051(core.List o) { +void checkUnnamed2082(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -958,8 +958,8 @@ api.ChromeOsDeviceCpuStatusReports buildChromeOsDeviceCpuStatusReports() { final o = api.ChromeOsDeviceCpuStatusReports(); buildCounterChromeOsDeviceCpuStatusReports++; if (buildCounterChromeOsDeviceCpuStatusReports < 3) { - o.cpuTemperatureInfo = buildUnnamed2050(); - o.cpuUtilizationPercentageInfo = buildUnnamed2051(); + o.cpuTemperatureInfo = buildUnnamed2081(); + o.cpuUtilizationPercentageInfo = buildUnnamed2082(); o.reportTime = core.DateTime.parse('2002-02-27T14:01:02'); } buildCounterChromeOsDeviceCpuStatusReports--; @@ -969,8 +969,8 @@ api.ChromeOsDeviceCpuStatusReports buildChromeOsDeviceCpuStatusReports() { void checkChromeOsDeviceCpuStatusReports(api.ChromeOsDeviceCpuStatusReports o) { buildCounterChromeOsDeviceCpuStatusReports++; if (buildCounterChromeOsDeviceCpuStatusReports < 3) { - checkUnnamed2050(o.cpuTemperatureInfo!); - checkUnnamed2051(o.cpuUtilizationPercentageInfo!); + checkUnnamed2081(o.cpuTemperatureInfo!); + checkUnnamed2082(o.cpuUtilizationPercentageInfo!); unittest.expect( o.reportTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -979,12 +979,12 @@ void checkChromeOsDeviceCpuStatusReports(api.ChromeOsDeviceCpuStatusReports o) { buildCounterChromeOsDeviceCpuStatusReports--; } -core.List buildUnnamed2052() => [ +core.List buildUnnamed2083() => [ buildChromeOsDeviceCpuStatusReports(), buildChromeOsDeviceCpuStatusReports(), ]; -void checkUnnamed2052(core.List o) { +void checkUnnamed2083(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceCpuStatusReports(o[0]); checkChromeOsDeviceCpuStatusReports(o[1]); @@ -1027,12 +1027,12 @@ void checkChromeOsDeviceDeviceFiles(api.ChromeOsDeviceDeviceFiles o) { buildCounterChromeOsDeviceDeviceFiles--; } -core.List buildUnnamed2053() => [ +core.List buildUnnamed2084() => [ buildChromeOsDeviceDeviceFiles(), buildChromeOsDeviceDeviceFiles(), ]; -void checkUnnamed2053(core.List o) { +void checkUnnamed2084(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceDeviceFiles(o[0]); checkChromeOsDeviceDeviceFiles(o[1]); @@ -1072,12 +1072,12 @@ void checkChromeOsDeviceDiskVolumeReportsVolumeInfo( buildCounterChromeOsDeviceDiskVolumeReportsVolumeInfo--; } -core.List buildUnnamed2054() => [ +core.List buildUnnamed2085() => [ buildChromeOsDeviceDiskVolumeReportsVolumeInfo(), buildChromeOsDeviceDiskVolumeReportsVolumeInfo(), ]; -void checkUnnamed2054( +void checkUnnamed2085( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceDiskVolumeReportsVolumeInfo(o[0]); @@ -1089,7 +1089,7 @@ api.ChromeOsDeviceDiskVolumeReports buildChromeOsDeviceDiskVolumeReports() { final o = api.ChromeOsDeviceDiskVolumeReports(); buildCounterChromeOsDeviceDiskVolumeReports++; if (buildCounterChromeOsDeviceDiskVolumeReports < 3) { - o.volumeInfo = buildUnnamed2054(); + o.volumeInfo = buildUnnamed2085(); } buildCounterChromeOsDeviceDiskVolumeReports--; return o; @@ -1099,17 +1099,17 @@ void checkChromeOsDeviceDiskVolumeReports( api.ChromeOsDeviceDiskVolumeReports o) { buildCounterChromeOsDeviceDiskVolumeReports++; if (buildCounterChromeOsDeviceDiskVolumeReports < 3) { - checkUnnamed2054(o.volumeInfo!); + checkUnnamed2085(o.volumeInfo!); } buildCounterChromeOsDeviceDiskVolumeReports--; } -core.List buildUnnamed2055() => [ +core.List buildUnnamed2086() => [ buildChromeOsDeviceDiskVolumeReports(), buildChromeOsDeviceDiskVolumeReports(), ]; -void checkUnnamed2055(core.List o) { +void checkUnnamed2086(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceDiskVolumeReports(o[0]); checkChromeOsDeviceDiskVolumeReports(o[1]); @@ -1142,12 +1142,12 @@ void checkChromeOsDeviceLastKnownNetwork(api.ChromeOsDeviceLastKnownNetwork o) { buildCounterChromeOsDeviceLastKnownNetwork--; } -core.List buildUnnamed2056() => [ +core.List buildUnnamed2087() => [ buildChromeOsDeviceLastKnownNetwork(), buildChromeOsDeviceLastKnownNetwork(), ]; -void checkUnnamed2056(core.List o) { +void checkUnnamed2087(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceLastKnownNetwork(o[0]); checkChromeOsDeviceLastKnownNetwork(o[1]); @@ -1180,12 +1180,12 @@ void checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { buildCounterChromeOsDeviceRecentUsers--; } -core.List buildUnnamed2057() => [ +core.List buildUnnamed2088() => [ buildChromeOsDeviceRecentUsers(), buildChromeOsDeviceRecentUsers(), ]; -void checkUnnamed2057(core.List o) { +void checkUnnamed2088(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceRecentUsers(o[0]); checkChromeOsDeviceRecentUsers(o[1]); @@ -1228,23 +1228,23 @@ void checkChromeOsDeviceScreenshotFiles(api.ChromeOsDeviceScreenshotFiles o) { buildCounterChromeOsDeviceScreenshotFiles--; } -core.List buildUnnamed2058() => [ +core.List buildUnnamed2089() => [ buildChromeOsDeviceScreenshotFiles(), buildChromeOsDeviceScreenshotFiles(), ]; -void checkUnnamed2058(core.List o) { +void checkUnnamed2089(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceScreenshotFiles(o[0]); checkChromeOsDeviceScreenshotFiles(o[1]); } -core.List buildUnnamed2059() => [ +core.List buildUnnamed2090() => [ 'foo', 'foo', ]; -void checkUnnamed2059(core.List o) { +void checkUnnamed2090(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1263,7 +1263,7 @@ api.ChromeOsDeviceSystemRamFreeReports buildCounterChromeOsDeviceSystemRamFreeReports++; if (buildCounterChromeOsDeviceSystemRamFreeReports < 3) { o.reportTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.systemRamFreeInfo = buildUnnamed2059(); + o.systemRamFreeInfo = buildUnnamed2090(); } buildCounterChromeOsDeviceSystemRamFreeReports--; return o; @@ -1277,17 +1277,17 @@ void checkChromeOsDeviceSystemRamFreeReports( o.reportTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed2059(o.systemRamFreeInfo!); + checkUnnamed2090(o.systemRamFreeInfo!); } buildCounterChromeOsDeviceSystemRamFreeReports--; } -core.List buildUnnamed2060() => [ +core.List buildUnnamed2091() => [ buildChromeOsDeviceSystemRamFreeReports(), buildChromeOsDeviceSystemRamFreeReports(), ]; -void checkUnnamed2060(core.List o) { +void checkUnnamed2091(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDeviceSystemRamFreeReports(o[0]); checkChromeOsDeviceSystemRamFreeReports(o[1]); @@ -1345,16 +1345,16 @@ api.ChromeOsDevice buildChromeOsDevice() { final o = api.ChromeOsDevice(); buildCounterChromeOsDevice++; if (buildCounterChromeOsDevice < 3) { - o.activeTimeRanges = buildUnnamed2049(); + o.activeTimeRanges = buildUnnamed2080(); o.annotatedAssetId = 'foo'; o.annotatedLocation = 'foo'; o.annotatedUser = 'foo'; o.autoUpdateExpiration = 'foo'; o.bootMode = 'foo'; - o.cpuStatusReports = buildUnnamed2052(); - o.deviceFiles = buildUnnamed2053(); + o.cpuStatusReports = buildUnnamed2083(); + o.deviceFiles = buildUnnamed2084(); o.deviceId = 'foo'; - o.diskVolumeReports = buildUnnamed2055(); + o.diskVolumeReports = buildUnnamed2086(); o.dockMacAddress = 'foo'; o.etag = 'foo'; o.ethernetMacAddress = 'foo'; @@ -1362,7 +1362,7 @@ api.ChromeOsDevice buildChromeOsDevice() { o.firmwareVersion = 'foo'; o.kind = 'foo'; o.lastEnrollmentTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.lastKnownNetwork = buildUnnamed2056(); + o.lastKnownNetwork = buildUnnamed2087(); o.lastSync = core.DateTime.parse('2002-02-27T14:01:02'); o.macAddress = 'foo'; o.manufactureDate = 'foo'; @@ -1373,12 +1373,12 @@ api.ChromeOsDevice buildChromeOsDevice() { o.orgUnitPath = 'foo'; o.osVersion = 'foo'; o.platformVersion = 'foo'; - o.recentUsers = buildUnnamed2057(); - o.screenshotFiles = buildUnnamed2058(); + o.recentUsers = buildUnnamed2088(); + o.screenshotFiles = buildUnnamed2089(); o.serialNumber = 'foo'; o.status = 'foo'; o.supportEndDate = core.DateTime.parse('2002-02-27T14:01:02'); - o.systemRamFreeReports = buildUnnamed2060(); + o.systemRamFreeReports = buildUnnamed2091(); o.systemRamTotal = 'foo'; o.tpmVersionInfo = buildChromeOsDeviceTpmVersionInfo(); o.willAutoRenew = true; @@ -1390,7 +1390,7 @@ api.ChromeOsDevice buildChromeOsDevice() { void checkChromeOsDevice(api.ChromeOsDevice o) { buildCounterChromeOsDevice++; if (buildCounterChromeOsDevice < 3) { - checkUnnamed2049(o.activeTimeRanges!); + checkUnnamed2080(o.activeTimeRanges!); unittest.expect( o.annotatedAssetId!, unittest.equals('foo'), @@ -1411,13 +1411,13 @@ void checkChromeOsDevice(api.ChromeOsDevice o) { o.bootMode!, unittest.equals('foo'), ); - checkUnnamed2052(o.cpuStatusReports!); - checkUnnamed2053(o.deviceFiles!); + checkUnnamed2083(o.cpuStatusReports!); + checkUnnamed2084(o.deviceFiles!); unittest.expect( o.deviceId!, unittest.equals('foo'), ); - checkUnnamed2055(o.diskVolumeReports!); + checkUnnamed2086(o.diskVolumeReports!); unittest.expect( o.dockMacAddress!, unittest.equals('foo'), @@ -1446,7 +1446,7 @@ void checkChromeOsDevice(api.ChromeOsDevice o) { o.lastEnrollmentTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed2056(o.lastKnownNetwork!); + checkUnnamed2087(o.lastKnownNetwork!); unittest.expect( o.lastSync!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -1487,8 +1487,8 @@ void checkChromeOsDevice(api.ChromeOsDevice o) { o.platformVersion!, unittest.equals('foo'), ); - checkUnnamed2057(o.recentUsers!); - checkUnnamed2058(o.screenshotFiles!); + checkUnnamed2088(o.recentUsers!); + checkUnnamed2089(o.screenshotFiles!); unittest.expect( o.serialNumber!, unittest.equals('foo'), @@ -1501,7 +1501,7 @@ void checkChromeOsDevice(api.ChromeOsDevice o) { o.supportEndDate!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed2060(o.systemRamFreeReports!); + checkUnnamed2091(o.systemRamFreeReports!); unittest.expect( o.systemRamTotal!, unittest.equals('foo'), @@ -1539,12 +1539,12 @@ void checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) { buildCounterChromeOsDeviceAction--; } -core.List buildUnnamed2061() => [ +core.List buildUnnamed2092() => [ buildChromeOsDevice(), buildChromeOsDevice(), ]; -void checkUnnamed2061(core.List o) { +void checkUnnamed2092(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChromeOsDevice(o[0]); checkChromeOsDevice(o[1]); @@ -1555,7 +1555,7 @@ api.ChromeOsDevices buildChromeOsDevices() { final o = api.ChromeOsDevices(); buildCounterChromeOsDevices++; if (buildCounterChromeOsDevices < 3) { - o.chromeosdevices = buildUnnamed2061(); + o.chromeosdevices = buildUnnamed2092(); o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -1567,7 +1567,7 @@ api.ChromeOsDevices buildChromeOsDevices() { void checkChromeOsDevices(api.ChromeOsDevices o) { buildCounterChromeOsDevices++; if (buildCounterChromeOsDevices < 3) { - checkUnnamed2061(o.chromeosdevices!); + checkUnnamed2092(o.chromeosdevices!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1584,12 +1584,12 @@ void checkChromeOsDevices(api.ChromeOsDevices o) { buildCounterChromeOsDevices--; } -core.List buildUnnamed2062() => [ +core.List buildUnnamed2093() => [ 'foo', 'foo', ]; -void checkUnnamed2062(core.List o) { +void checkUnnamed2093(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1606,7 +1606,7 @@ api.ChromeOsMoveDevicesToOu buildChromeOsMoveDevicesToOu() { final o = api.ChromeOsMoveDevicesToOu(); buildCounterChromeOsMoveDevicesToOu++; if (buildCounterChromeOsMoveDevicesToOu < 3) { - o.deviceIds = buildUnnamed2062(); + o.deviceIds = buildUnnamed2093(); } buildCounterChromeOsMoveDevicesToOu--; return o; @@ -1615,7 +1615,7 @@ api.ChromeOsMoveDevicesToOu buildChromeOsMoveDevicesToOu() { void checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) { buildCounterChromeOsMoveDevicesToOu++; if (buildCounterChromeOsMoveDevicesToOu < 3) { - checkUnnamed2062(o.deviceIds!); + checkUnnamed2093(o.deviceIds!); } buildCounterChromeOsMoveDevicesToOu--; } @@ -1946,12 +1946,12 @@ void checkDomainAlias(api.DomainAlias o) { buildCounterDomainAlias--; } -core.List buildUnnamed2063() => [ +core.List buildUnnamed2094() => [ buildDomainAlias(), buildDomainAlias(), ]; -void checkUnnamed2063(core.List o) { +void checkUnnamed2094(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomainAlias(o[0]); checkDomainAlias(o[1]); @@ -1962,7 +1962,7 @@ api.DomainAliases buildDomainAliases() { final o = api.DomainAliases(); buildCounterDomainAliases++; if (buildCounterDomainAliases < 3) { - o.domainAliases = buildUnnamed2063(); + o.domainAliases = buildUnnamed2094(); o.etag = 'foo'; o.kind = 'foo'; } @@ -1973,7 +1973,7 @@ api.DomainAliases buildDomainAliases() { void checkDomainAliases(api.DomainAliases o) { buildCounterDomainAliases++; if (buildCounterDomainAliases < 3) { - checkUnnamed2063(o.domainAliases!); + checkUnnamed2094(o.domainAliases!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1986,12 +1986,12 @@ void checkDomainAliases(api.DomainAliases o) { buildCounterDomainAliases--; } -core.List buildUnnamed2064() => [ +core.List buildUnnamed2095() => [ buildDomainAlias(), buildDomainAlias(), ]; -void checkUnnamed2064(core.List o) { +void checkUnnamed2095(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomainAlias(o[0]); checkDomainAlias(o[1]); @@ -2003,7 +2003,7 @@ api.Domains buildDomains() { buildCounterDomains++; if (buildCounterDomains < 3) { o.creationTime = 'foo'; - o.domainAliases = buildUnnamed2064(); + o.domainAliases = buildUnnamed2095(); o.domainName = 'foo'; o.etag = 'foo'; o.isPrimary = true; @@ -2021,7 +2021,7 @@ void checkDomains(api.Domains o) { o.creationTime!, unittest.equals('foo'), ); - checkUnnamed2064(o.domainAliases!); + checkUnnamed2095(o.domainAliases!); unittest.expect( o.domainName!, unittest.equals('foo'), @@ -2040,12 +2040,12 @@ void checkDomains(api.Domains o) { buildCounterDomains--; } -core.List buildUnnamed2065() => [ +core.List buildUnnamed2096() => [ buildDomains(), buildDomains(), ]; -void checkUnnamed2065(core.List o) { +void checkUnnamed2096(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomains(o[0]); checkDomains(o[1]); @@ -2056,7 +2056,7 @@ api.Domains2 buildDomains2() { final o = api.Domains2(); buildCounterDomains2++; if (buildCounterDomains2 < 3) { - o.domains = buildUnnamed2065(); + o.domains = buildUnnamed2096(); o.etag = 'foo'; o.kind = 'foo'; } @@ -2067,7 +2067,7 @@ api.Domains2 buildDomains2() { void checkDomains2(api.Domains2 o) { buildCounterDomains2++; if (buildCounterDomains2 < 3) { - checkUnnamed2065(o.domains!); + checkUnnamed2096(o.domains!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2202,12 +2202,12 @@ void checkFeatureRename(api.FeatureRename o) { buildCounterFeatureRename--; } -core.List buildUnnamed2066() => [ +core.List buildUnnamed2097() => [ buildFeature(), buildFeature(), ]; -void checkUnnamed2066(core.List o) { +void checkUnnamed2097(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -2219,7 +2219,7 @@ api.Features buildFeatures() { buildCounterFeatures++; if (buildCounterFeatures < 3) { o.etag = 'foo'; - o.features = buildUnnamed2066(); + o.features = buildUnnamed2097(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2234,7 +2234,7 @@ void checkFeatures(api.Features o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2066(o.features!); + checkUnnamed2097(o.features!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2247,12 +2247,12 @@ void checkFeatures(api.Features o) { buildCounterFeatures--; } -core.List buildUnnamed2067() => [ +core.List buildUnnamed2098() => [ 'foo', 'foo', ]; -void checkUnnamed2067(core.List o) { +void checkUnnamed2098(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2264,12 +2264,12 @@ void checkUnnamed2067(core.List o) { ); } -core.List buildUnnamed2068() => [ +core.List buildUnnamed2099() => [ 'foo', 'foo', ]; -void checkUnnamed2068(core.List o) { +void checkUnnamed2099(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2287,7 +2287,7 @@ api.Group buildGroup() { buildCounterGroup++; if (buildCounterGroup < 3) { o.adminCreated = true; - o.aliases = buildUnnamed2067(); + o.aliases = buildUnnamed2098(); o.description = 'foo'; o.directMembersCount = 'foo'; o.email = 'foo'; @@ -2295,7 +2295,7 @@ api.Group buildGroup() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.nonEditableAliases = buildUnnamed2068(); + o.nonEditableAliases = buildUnnamed2099(); } buildCounterGroup--; return o; @@ -2305,7 +2305,7 @@ void checkGroup(api.Group o) { buildCounterGroup++; if (buildCounterGroup < 3) { unittest.expect(o.adminCreated!, unittest.isTrue); - checkUnnamed2067(o.aliases!); + checkUnnamed2098(o.aliases!); unittest.expect( o.description!, unittest.equals('foo'), @@ -2334,17 +2334,17 @@ void checkGroup(api.Group o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2068(o.nonEditableAliases!); + checkUnnamed2099(o.nonEditableAliases!); } buildCounterGroup--; } -core.List buildUnnamed2069() => [ +core.List buildUnnamed2100() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed2069(core.List o) { +void checkUnnamed2100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -2356,7 +2356,7 @@ api.Groups buildGroups() { buildCounterGroups++; if (buildCounterGroups < 3) { o.etag = 'foo'; - o.groups = buildUnnamed2069(); + o.groups = buildUnnamed2100(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2371,7 +2371,7 @@ void checkGroups(api.Groups o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2069(o.groups!); + checkUnnamed2100(o.groups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2384,12 +2384,12 @@ void checkGroups(api.Groups o) { buildCounterGroups--; } -core.List buildUnnamed2070() => [ +core.List buildUnnamed2101() => [ buildPrinterModel(), buildPrinterModel(), ]; -void checkUnnamed2070(core.List o) { +void checkUnnamed2101(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrinterModel(o[0]); checkPrinterModel(o[1]); @@ -2401,7 +2401,7 @@ api.ListPrinterModelsResponse buildListPrinterModelsResponse() { buildCounterListPrinterModelsResponse++; if (buildCounterListPrinterModelsResponse < 3) { o.nextPageToken = 'foo'; - o.printerModels = buildUnnamed2070(); + o.printerModels = buildUnnamed2101(); } buildCounterListPrinterModelsResponse--; return o; @@ -2414,17 +2414,17 @@ void checkListPrinterModelsResponse(api.ListPrinterModelsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2070(o.printerModels!); + checkUnnamed2101(o.printerModels!); } buildCounterListPrinterModelsResponse--; } -core.List buildUnnamed2071() => [ +core.List buildUnnamed2102() => [ buildPrinter(), buildPrinter(), ]; -void checkUnnamed2071(core.List o) { +void checkUnnamed2102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrinter(o[0]); checkPrinter(o[1]); @@ -2436,7 +2436,7 @@ api.ListPrintersResponse buildListPrintersResponse() { buildCounterListPrintersResponse++; if (buildCounterListPrintersResponse < 3) { o.nextPageToken = 'foo'; - o.printers = buildUnnamed2071(); + o.printers = buildUnnamed2102(); } buildCounterListPrintersResponse--; return o; @@ -2449,7 +2449,7 @@ void checkListPrintersResponse(api.ListPrintersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2071(o.printers!); + checkUnnamed2102(o.printers!); } buildCounterListPrintersResponse--; } @@ -2511,12 +2511,12 @@ void checkMember(api.Member o) { buildCounterMember--; } -core.List buildUnnamed2072() => [ +core.List buildUnnamed2103() => [ buildMember(), buildMember(), ]; -void checkUnnamed2072(core.List o) { +void checkUnnamed2103(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMember(o[0]); checkMember(o[1]); @@ -2529,7 +2529,7 @@ api.Members buildMembers() { if (buildCounterMembers < 3) { o.etag = 'foo'; o.kind = 'foo'; - o.members = buildUnnamed2072(); + o.members = buildUnnamed2103(); o.nextPageToken = 'foo'; } buildCounterMembers--; @@ -2547,7 +2547,7 @@ void checkMembers(api.Members o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2072(o.members!); + checkUnnamed2103(o.members!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2575,12 +2575,12 @@ void checkMembersHasMember(api.MembersHasMember o) { buildCounterMembersHasMember--; } -core.List buildUnnamed2073() => [ +core.List buildUnnamed2104() => [ 'foo', 'foo', ]; -void checkUnnamed2073(core.List o) { +void checkUnnamed2104(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2599,7 +2599,7 @@ api.MobileDeviceApplications buildMobileDeviceApplications() { if (buildCounterMobileDeviceApplications < 3) { o.displayName = 'foo'; o.packageName = 'foo'; - o.permission = buildUnnamed2073(); + o.permission = buildUnnamed2104(); o.versionCode = 42; o.versionName = 'foo'; } @@ -2618,7 +2618,7 @@ void checkMobileDeviceApplications(api.MobileDeviceApplications o) { o.packageName!, unittest.equals('foo'), ); - checkUnnamed2073(o.permission!); + checkUnnamed2104(o.permission!); unittest.expect( o.versionCode!, unittest.equals(42), @@ -2631,23 +2631,23 @@ void checkMobileDeviceApplications(api.MobileDeviceApplications o) { buildCounterMobileDeviceApplications--; } -core.List buildUnnamed2074() => [ +core.List buildUnnamed2105() => [ buildMobileDeviceApplications(), buildMobileDeviceApplications(), ]; -void checkUnnamed2074(core.List o) { +void checkUnnamed2105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileDeviceApplications(o[0]); checkMobileDeviceApplications(o[1]); } -core.List buildUnnamed2075() => [ +core.List buildUnnamed2106() => [ 'foo', 'foo', ]; -void checkUnnamed2075(core.List o) { +void checkUnnamed2106(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2659,12 +2659,12 @@ void checkUnnamed2075(core.List o) { ); } -core.List buildUnnamed2076() => [ +core.List buildUnnamed2107() => [ 'foo', 'foo', ]; -void checkUnnamed2076(core.List o) { +void checkUnnamed2107(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2676,12 +2676,12 @@ void checkUnnamed2076(core.List o) { ); } -core.List buildUnnamed2077() => [ +core.List buildUnnamed2108() => [ 'foo', 'foo', ]; -void checkUnnamed2077(core.List o) { +void checkUnnamed2108(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2699,7 +2699,7 @@ api.MobileDevice buildMobileDevice() { buildCounterMobileDevice++; if (buildCounterMobileDevice < 3) { o.adbStatus = true; - o.applications = buildUnnamed2074(); + o.applications = buildUnnamed2105(); o.basebandVersion = 'foo'; o.bootloaderVersion = 'foo'; o.brand = 'foo'; @@ -2709,7 +2709,7 @@ api.MobileDevice buildMobileDevice() { o.deviceCompromisedStatus = 'foo'; o.deviceId = 'foo'; o.devicePasswordStatus = 'foo'; - o.email = buildUnnamed2075(); + o.email = buildUnnamed2106(); o.encryptionStatus = 'foo'; o.etag = 'foo'; o.firstSync = core.DateTime.parse('2002-02-27T14:01:02'); @@ -2723,10 +2723,10 @@ api.MobileDevice buildMobileDevice() { o.manufacturer = 'foo'; o.meid = 'foo'; o.model = 'foo'; - o.name = buildUnnamed2076(); + o.name = buildUnnamed2107(); o.networkOperator = 'foo'; o.os = 'foo'; - o.otherAccountsInfo = buildUnnamed2077(); + o.otherAccountsInfo = buildUnnamed2108(); o.privilege = 'foo'; o.releaseVersion = 'foo'; o.resourceId = 'foo'; @@ -2747,7 +2747,7 @@ void checkMobileDevice(api.MobileDevice o) { buildCounterMobileDevice++; if (buildCounterMobileDevice < 3) { unittest.expect(o.adbStatus!, unittest.isTrue); - checkUnnamed2074(o.applications!); + checkUnnamed2105(o.applications!); unittest.expect( o.basebandVersion!, unittest.equals('foo'), @@ -2781,7 +2781,7 @@ void checkMobileDevice(api.MobileDevice o) { o.devicePasswordStatus!, unittest.equals('foo'), ); - checkUnnamed2075(o.email!); + checkUnnamed2106(o.email!); unittest.expect( o.encryptionStatus!, unittest.equals('foo'), @@ -2831,7 +2831,7 @@ void checkMobileDevice(api.MobileDevice o) { o.model!, unittest.equals('foo'), ); - checkUnnamed2076(o.name!); + checkUnnamed2107(o.name!); unittest.expect( o.networkOperator!, unittest.equals('foo'), @@ -2840,7 +2840,7 @@ void checkMobileDevice(api.MobileDevice o) { o.os!, unittest.equals('foo'), ); - checkUnnamed2077(o.otherAccountsInfo!); + checkUnnamed2108(o.otherAccountsInfo!); unittest.expect( o.privilege!, unittest.equals('foo'), @@ -2905,12 +2905,12 @@ void checkMobileDeviceAction(api.MobileDeviceAction o) { buildCounterMobileDeviceAction--; } -core.List buildUnnamed2078() => [ +core.List buildUnnamed2109() => [ buildMobileDevice(), buildMobileDevice(), ]; -void checkUnnamed2078(core.List o) { +void checkUnnamed2109(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileDevice(o[0]); checkMobileDevice(o[1]); @@ -2923,7 +2923,7 @@ api.MobileDevices buildMobileDevices() { if (buildCounterMobileDevices < 3) { o.etag = 'foo'; o.kind = 'foo'; - o.mobiledevices = buildUnnamed2078(); + o.mobiledevices = buildUnnamed2109(); o.nextPageToken = 'foo'; } buildCounterMobileDevices--; @@ -2941,7 +2941,7 @@ void checkMobileDevices(api.MobileDevices o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2078(o.mobiledevices!); + checkUnnamed2109(o.mobiledevices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3009,12 +3009,12 @@ void checkOrgUnit(api.OrgUnit o) { buildCounterOrgUnit--; } -core.List buildUnnamed2079() => [ +core.List buildUnnamed2110() => [ buildOrgUnit(), buildOrgUnit(), ]; -void checkUnnamed2079(core.List o) { +void checkUnnamed2110(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrgUnit(o[0]); checkOrgUnit(o[1]); @@ -3027,7 +3027,7 @@ api.OrgUnits buildOrgUnits() { if (buildCounterOrgUnits < 3) { o.etag = 'foo'; o.kind = 'foo'; - o.organizationUnits = buildUnnamed2079(); + o.organizationUnits = buildUnnamed2110(); } buildCounterOrgUnits--; return o; @@ -3044,17 +3044,17 @@ void checkOrgUnits(api.OrgUnits o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2079(o.organizationUnits!); + checkUnnamed2110(o.organizationUnits!); } buildCounterOrgUnits--; } -core.List buildUnnamed2080() => [ +core.List buildUnnamed2111() => [ buildAuxiliaryMessage(), buildAuxiliaryMessage(), ]; -void checkUnnamed2080(core.List o) { +void checkUnnamed2111(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuxiliaryMessage(o[0]); checkAuxiliaryMessage(o[1]); @@ -3065,7 +3065,7 @@ api.Printer buildPrinter() { final o = api.Printer(); buildCounterPrinter++; if (buildCounterPrinter < 3) { - o.auxiliaryMessages = buildUnnamed2080(); + o.auxiliaryMessages = buildUnnamed2111(); o.createTime = 'foo'; o.description = 'foo'; o.displayName = 'foo'; @@ -3083,7 +3083,7 @@ api.Printer buildPrinter() { void checkPrinter(api.Printer o) { buildCounterPrinter++; if (buildCounterPrinter < 3) { - checkUnnamed2080(o.auxiliaryMessages!); + checkUnnamed2111(o.auxiliaryMessages!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -3153,12 +3153,12 @@ void checkPrinterModel(api.PrinterModel o) { buildCounterPrinterModel--; } -core.List buildUnnamed2081() => [ +core.List buildUnnamed2112() => [ buildPrivilege(), buildPrivilege(), ]; -void checkUnnamed2081(core.List o) { +void checkUnnamed2112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrivilege(o[0]); checkPrivilege(o[1]); @@ -3169,7 +3169,7 @@ api.Privilege buildPrivilege() { final o = api.Privilege(); buildCounterPrivilege++; if (buildCounterPrivilege < 3) { - o.childPrivileges = buildUnnamed2081(); + o.childPrivileges = buildUnnamed2112(); o.etag = 'foo'; o.isOuScopable = true; o.kind = 'foo'; @@ -3184,7 +3184,7 @@ api.Privilege buildPrivilege() { void checkPrivilege(api.Privilege o) { buildCounterPrivilege++; if (buildCounterPrivilege < 3) { - checkUnnamed2081(o.childPrivileges!); + checkUnnamed2112(o.childPrivileges!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3210,12 +3210,12 @@ void checkPrivilege(api.Privilege o) { buildCounterPrivilege--; } -core.List buildUnnamed2082() => [ +core.List buildUnnamed2113() => [ buildPrivilege(), buildPrivilege(), ]; -void checkUnnamed2082(core.List o) { +void checkUnnamed2113(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrivilege(o[0]); checkPrivilege(o[1]); @@ -3227,7 +3227,7 @@ api.Privileges buildPrivileges() { buildCounterPrivileges++; if (buildCounterPrivileges < 3) { o.etag = 'foo'; - o.items = buildUnnamed2082(); + o.items = buildUnnamed2113(); o.kind = 'foo'; } buildCounterPrivileges--; @@ -3241,7 +3241,7 @@ void checkPrivileges(api.Privileges o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2082(o.items!); + checkUnnamed2113(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3277,12 +3277,12 @@ void checkRoleRolePrivileges(api.RoleRolePrivileges o) { buildCounterRoleRolePrivileges--; } -core.List buildUnnamed2083() => [ +core.List buildUnnamed2114() => [ buildRoleRolePrivileges(), buildRoleRolePrivileges(), ]; -void checkUnnamed2083(core.List o) { +void checkUnnamed2114(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoleRolePrivileges(o[0]); checkRoleRolePrivileges(o[1]); @@ -3300,7 +3300,7 @@ api.Role buildRole() { o.roleDescription = 'foo'; o.roleId = 'foo'; o.roleName = 'foo'; - o.rolePrivileges = buildUnnamed2083(); + o.rolePrivileges = buildUnnamed2114(); } buildCounterRole--; return o; @@ -3331,7 +3331,7 @@ void checkRole(api.Role o) { o.roleName!, unittest.equals('foo'), ); - checkUnnamed2083(o.rolePrivileges!); + checkUnnamed2114(o.rolePrivileges!); } buildCounterRole--; } @@ -3388,12 +3388,12 @@ void checkRoleAssignment(api.RoleAssignment o) { buildCounterRoleAssignment--; } -core.List buildUnnamed2084() => [ +core.List buildUnnamed2115() => [ buildRoleAssignment(), buildRoleAssignment(), ]; -void checkUnnamed2084(core.List o) { +void checkUnnamed2115(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoleAssignment(o[0]); checkRoleAssignment(o[1]); @@ -3405,7 +3405,7 @@ api.RoleAssignments buildRoleAssignments() { buildCounterRoleAssignments++; if (buildCounterRoleAssignments < 3) { o.etag = 'foo'; - o.items = buildUnnamed2084(); + o.items = buildUnnamed2115(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3420,7 +3420,7 @@ void checkRoleAssignments(api.RoleAssignments o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2084(o.items!); + checkUnnamed2115(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3433,12 +3433,12 @@ void checkRoleAssignments(api.RoleAssignments o) { buildCounterRoleAssignments--; } -core.List buildUnnamed2085() => [ +core.List buildUnnamed2116() => [ buildRole(), buildRole(), ]; -void checkUnnamed2085(core.List o) { +void checkUnnamed2116(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRole(o[0]); checkRole(o[1]); @@ -3450,7 +3450,7 @@ api.Roles buildRoles() { buildCounterRoles++; if (buildCounterRoles < 3) { o.etag = 'foo'; - o.items = buildUnnamed2085(); + o.items = buildUnnamed2116(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3465,7 +3465,7 @@ void checkRoles(api.Roles o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2085(o.items!); + checkUnnamed2116(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3478,12 +3478,12 @@ void checkRoles(api.Roles o) { buildCounterRoles--; } -core.List buildUnnamed2086() => [ +core.List buildUnnamed2117() => [ buildSchemaFieldSpec(), buildSchemaFieldSpec(), ]; -void checkUnnamed2086(core.List o) { +void checkUnnamed2117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchemaFieldSpec(o[0]); checkSchemaFieldSpec(o[1]); @@ -3496,7 +3496,7 @@ api.Schema buildSchema() { if (buildCounterSchema < 3) { o.displayName = 'foo'; o.etag = 'foo'; - o.fields = buildUnnamed2086(); + o.fields = buildUnnamed2117(); o.kind = 'foo'; o.schemaId = 'foo'; o.schemaName = 'foo'; @@ -3516,7 +3516,7 @@ void checkSchema(api.Schema o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2086(o.fields!); + checkUnnamed2117(o.fields!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3620,12 +3620,12 @@ void checkSchemaFieldSpec(api.SchemaFieldSpec o) { buildCounterSchemaFieldSpec--; } -core.List buildUnnamed2087() => [ +core.List buildUnnamed2118() => [ buildSchema(), buildSchema(), ]; -void checkUnnamed2087(core.List o) { +void checkUnnamed2118(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchema(o[0]); checkSchema(o[1]); @@ -3638,7 +3638,7 @@ api.Schemas buildSchemas() { if (buildCounterSchemas < 3) { o.etag = 'foo'; o.kind = 'foo'; - o.schemas = buildUnnamed2087(); + o.schemas = buildUnnamed2118(); } buildCounterSchemas--; return o; @@ -3655,17 +3655,17 @@ void checkSchemas(api.Schemas o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2087(o.schemas!); + checkUnnamed2118(o.schemas!); } buildCounterSchemas--; } -core.List buildUnnamed2088() => [ +core.List buildUnnamed2119() => [ 'foo', 'foo', ]; -void checkUnnamed2088(core.List o) { +void checkUnnamed2119(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3688,7 +3688,7 @@ api.Token buildToken() { o.etag = 'foo'; o.kind = 'foo'; o.nativeApp = true; - o.scopes = buildUnnamed2088(); + o.scopes = buildUnnamed2119(); o.userKey = 'foo'; } buildCounterToken--; @@ -3716,7 +3716,7 @@ void checkToken(api.Token o) { unittest.equals('foo'), ); unittest.expect(o.nativeApp!, unittest.isTrue); - checkUnnamed2088(o.scopes!); + checkUnnamed2119(o.scopes!); unittest.expect( o.userKey!, unittest.equals('foo'), @@ -3725,12 +3725,12 @@ void checkToken(api.Token o) { buildCounterToken--; } -core.List buildUnnamed2089() => [ +core.List buildUnnamed2120() => [ buildToken(), buildToken(), ]; -void checkUnnamed2089(core.List o) { +void checkUnnamed2120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkToken(o[0]); checkToken(o[1]); @@ -3742,7 +3742,7 @@ api.Tokens buildTokens() { buildCounterTokens++; if (buildCounterTokens < 3) { o.etag = 'foo'; - o.items = buildUnnamed2089(); + o.items = buildUnnamed2120(); o.kind = 'foo'; } buildCounterTokens--; @@ -3756,7 +3756,7 @@ void checkTokens(api.Tokens o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2089(o.items!); + checkUnnamed2120(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3765,12 +3765,12 @@ void checkTokens(api.Tokens o) { buildCounterTokens--; } -core.List buildUnnamed2090() => [ +core.List buildUnnamed2121() => [ 'foo', 'foo', ]; -void checkUnnamed2090(core.List o) { +void checkUnnamed2121(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3782,23 +3782,23 @@ void checkUnnamed2090(core.List o) { ); } -core.Map buildUnnamed2091() => { +core.Map buildUnnamed2122() => { 'x': buildUserCustomProperties(), 'y': buildUserCustomProperties(), }; -void checkUnnamed2091(core.Map o) { +void checkUnnamed2122(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkUserCustomProperties(o['x']!); checkUserCustomProperties(o['y']!); } -core.List buildUnnamed2092() => [ +core.List buildUnnamed2123() => [ 'foo', 'foo', ]; -void checkUnnamed2092(core.List o) { +void checkUnnamed2123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3821,11 +3821,11 @@ api.User buildUser() { 'string': 'foo' }; o.agreedToTerms = true; - o.aliases = buildUnnamed2090(); + o.aliases = buildUnnamed2121(); o.archived = true; o.changePasswordAtNextLogin = true; o.creationTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.customSchemas = buildUnnamed2091(); + o.customSchemas = buildUnnamed2122(); o.customerId = 'foo'; o.deletionTime = core.DateTime.parse('2002-02-27T14:01:02'); o.emails = { @@ -3876,7 +3876,7 @@ api.User buildUser() { 'string': 'foo' }; o.name = buildUserName(); - o.nonEditableAliases = buildUnnamed2092(); + o.nonEditableAliases = buildUnnamed2123(); o.notes = { 'list': [1, 2, 3], 'bool': true, @@ -3944,14 +3944,14 @@ void checkUser(api.User o) { unittest.equals('foo'), ); unittest.expect(o.agreedToTerms!, unittest.isTrue); - checkUnnamed2090(o.aliases!); + checkUnnamed2121(o.aliases!); unittest.expect(o.archived!, unittest.isTrue); unittest.expect(o.changePasswordAtNextLogin!, unittest.isTrue); unittest.expect( o.creationTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed2091(o.customSchemas!); + checkUnnamed2122(o.customSchemas!); unittest.expect( o.customerId!, unittest.equals('foo'), @@ -4086,7 +4086,7 @@ void checkUser(api.User o) { unittest.equals('foo'), ); checkUserName(o.name!); - checkUnnamed2092(o.nonEditableAliases!); + checkUnnamed2123(o.nonEditableAliases!); var casted12 = (o.notes!) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect( @@ -5025,12 +5025,12 @@ void checkUserWebsite(api.UserWebsite o) { buildCounterUserWebsite--; } -core.List buildUnnamed2093() => [ +core.List buildUnnamed2124() => [ buildUser(), buildUser(), ]; -void checkUnnamed2093(core.List o) { +void checkUnnamed2124(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -5045,7 +5045,7 @@ api.Users buildUsers() { o.kind = 'foo'; o.nextPageToken = 'foo'; o.triggerEvent = 'foo'; - o.users = buildUnnamed2093(); + o.users = buildUnnamed2124(); } buildCounterUsers--; return o; @@ -5070,7 +5070,7 @@ void checkUsers(api.Users o) { o.triggerEvent!, unittest.equals('foo'), ); - checkUnnamed2093(o.users!); + checkUnnamed2124(o.users!); } buildCounterUsers--; } @@ -5112,12 +5112,12 @@ void checkVerificationCode(api.VerificationCode o) { buildCounterVerificationCode--; } -core.List buildUnnamed2094() => [ +core.List buildUnnamed2125() => [ buildVerificationCode(), buildVerificationCode(), ]; -void checkUnnamed2094(core.List o) { +void checkUnnamed2125(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVerificationCode(o[0]); checkVerificationCode(o[1]); @@ -5129,7 +5129,7 @@ api.VerificationCodes buildVerificationCodes() { buildCounterVerificationCodes++; if (buildCounterVerificationCodes < 3) { o.etag = 'foo'; - o.items = buildUnnamed2094(); + o.items = buildUnnamed2125(); o.kind = 'foo'; } buildCounterVerificationCodes--; @@ -5143,7 +5143,7 @@ void checkVerificationCodes(api.VerificationCodes o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2094(o.items!); + checkUnnamed2125(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart index ec040a4f6..6c633c39d 100644 --- a/generated/googleapis/test/admin/reports_v1_test.dart +++ b/generated/googleapis/test/admin/reports_v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6283() => [ +core.List buildUnnamed6350() => [ buildActivity(), buildActivity(), ]; -void checkUnnamed6283(core.List o) { +void checkUnnamed6350(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -43,7 +43,7 @@ api.Activities buildActivities() { buildCounterActivities++; if (buildCounterActivities < 3) { o.etag = 'foo'; - o.items = buildUnnamed6283(); + o.items = buildUnnamed6350(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -58,7 +58,7 @@ void checkActivities(api.Activities o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed6283(o.items!); + checkUnnamed6350(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -108,12 +108,12 @@ void checkActivityActor(api.ActivityActor o) { buildCounterActivityActor--; } -core.List buildUnnamed6284() => [ +core.List buildUnnamed6351() => [ buildNestedParameter(), buildNestedParameter(), ]; -void checkUnnamed6284(core.List o) { +void checkUnnamed6351(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNestedParameter(o[0]); checkNestedParameter(o[1]); @@ -125,7 +125,7 @@ api.ActivityEventsParametersMessageValue final o = api.ActivityEventsParametersMessageValue(); buildCounterActivityEventsParametersMessageValue++; if (buildCounterActivityEventsParametersMessageValue < 3) { - o.parameter = buildUnnamed6284(); + o.parameter = buildUnnamed6351(); } buildCounterActivityEventsParametersMessageValue--; return o; @@ -135,17 +135,17 @@ void checkActivityEventsParametersMessageValue( api.ActivityEventsParametersMessageValue o) { buildCounterActivityEventsParametersMessageValue++; if (buildCounterActivityEventsParametersMessageValue < 3) { - checkUnnamed6284(o.parameter!); + checkUnnamed6351(o.parameter!); } buildCounterActivityEventsParametersMessageValue--; } -core.List buildUnnamed6285() => [ +core.List buildUnnamed6352() => [ 'foo', 'foo', ]; -void checkUnnamed6285(core.List o) { +void checkUnnamed6352(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -157,12 +157,12 @@ void checkUnnamed6285(core.List o) { ); } -core.List buildUnnamed6286() => [ +core.List buildUnnamed6353() => [ buildNestedParameter(), buildNestedParameter(), ]; -void checkUnnamed6286(core.List o) { +void checkUnnamed6353(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNestedParameter(o[0]); checkNestedParameter(o[1]); @@ -174,7 +174,7 @@ api.ActivityEventsParametersMultiMessageValue final o = api.ActivityEventsParametersMultiMessageValue(); buildCounterActivityEventsParametersMultiMessageValue++; if (buildCounterActivityEventsParametersMultiMessageValue < 3) { - o.parameter = buildUnnamed6286(); + o.parameter = buildUnnamed6353(); } buildCounterActivityEventsParametersMultiMessageValue--; return o; @@ -184,29 +184,29 @@ void checkActivityEventsParametersMultiMessageValue( api.ActivityEventsParametersMultiMessageValue o) { buildCounterActivityEventsParametersMultiMessageValue++; if (buildCounterActivityEventsParametersMultiMessageValue < 3) { - checkUnnamed6286(o.parameter!); + checkUnnamed6353(o.parameter!); } buildCounterActivityEventsParametersMultiMessageValue--; } -core.List buildUnnamed6287() => [ +core.List buildUnnamed6354() => [ buildActivityEventsParametersMultiMessageValue(), buildActivityEventsParametersMultiMessageValue(), ]; -void checkUnnamed6287( +void checkUnnamed6354( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActivityEventsParametersMultiMessageValue(o[0]); checkActivityEventsParametersMultiMessageValue(o[1]); } -core.List buildUnnamed6288() => [ +core.List buildUnnamed6355() => [ 'foo', 'foo', ]; -void checkUnnamed6288(core.List o) { +void checkUnnamed6355(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -226,9 +226,9 @@ api.ActivityEventsParameters buildActivityEventsParameters() { o.boolValue = true; o.intValue = 'foo'; o.messageValue = buildActivityEventsParametersMessageValue(); - o.multiIntValue = buildUnnamed6285(); - o.multiMessageValue = buildUnnamed6287(); - o.multiValue = buildUnnamed6288(); + o.multiIntValue = buildUnnamed6352(); + o.multiMessageValue = buildUnnamed6354(); + o.multiValue = buildUnnamed6355(); o.name = 'foo'; o.value = 'foo'; } @@ -245,9 +245,9 @@ void checkActivityEventsParameters(api.ActivityEventsParameters o) { unittest.equals('foo'), ); checkActivityEventsParametersMessageValue(o.messageValue!); - checkUnnamed6285(o.multiIntValue!); - checkUnnamed6287(o.multiMessageValue!); - checkUnnamed6288(o.multiValue!); + checkUnnamed6352(o.multiIntValue!); + checkUnnamed6354(o.multiMessageValue!); + checkUnnamed6355(o.multiValue!); unittest.expect( o.name!, unittest.equals('foo'), @@ -260,12 +260,12 @@ void checkActivityEventsParameters(api.ActivityEventsParameters o) { buildCounterActivityEventsParameters--; } -core.List buildUnnamed6289() => [ +core.List buildUnnamed6356() => [ buildActivityEventsParameters(), buildActivityEventsParameters(), ]; -void checkUnnamed6289(core.List o) { +void checkUnnamed6356(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActivityEventsParameters(o[0]); checkActivityEventsParameters(o[1]); @@ -277,7 +277,7 @@ api.ActivityEvents buildActivityEvents() { buildCounterActivityEvents++; if (buildCounterActivityEvents < 3) { o.name = 'foo'; - o.parameters = buildUnnamed6289(); + o.parameters = buildUnnamed6356(); o.type = 'foo'; } buildCounterActivityEvents--; @@ -291,7 +291,7 @@ void checkActivityEvents(api.ActivityEvents o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6289(o.parameters!); + checkUnnamed6356(o.parameters!); unittest.expect( o.type!, unittest.equals('foo'), @@ -300,12 +300,12 @@ void checkActivityEvents(api.ActivityEvents o) { buildCounterActivityEvents--; } -core.List buildUnnamed6290() => [ +core.List buildUnnamed6357() => [ buildActivityEvents(), buildActivityEvents(), ]; -void checkUnnamed6290(core.List o) { +void checkUnnamed6357(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActivityEvents(o[0]); checkActivityEvents(o[1]); @@ -355,7 +355,7 @@ api.Activity buildActivity() { if (buildCounterActivity < 3) { o.actor = buildActivityActor(); o.etag = 'foo'; - o.events = buildUnnamed6290(); + o.events = buildUnnamed6357(); o.id = buildActivityId(); o.ipAddress = 'foo'; o.kind = 'foo'; @@ -373,7 +373,7 @@ void checkActivity(api.Activity o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed6290(o.events!); + checkUnnamed6357(o.events!); checkActivityId(o.id!); unittest.expect( o.ipAddress!, @@ -391,12 +391,12 @@ void checkActivity(api.Activity o) { buildCounterActivity--; } -core.Map buildUnnamed6291() => { +core.Map buildUnnamed6358() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6291(core.Map o) { +void checkUnnamed6358(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -417,7 +417,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed6291(); + o.params = buildUnnamed6358(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -447,7 +447,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed6291(o.params!); + checkUnnamed6358(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -469,23 +469,23 @@ void checkChannel(api.Channel o) { buildCounterChannel--; } -core.List buildUnnamed6292() => [ +core.List buildUnnamed6359() => [ true, true, ]; -void checkUnnamed6292(core.List o) { +void checkUnnamed6359(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); } -core.List buildUnnamed6293() => [ +core.List buildUnnamed6360() => [ 'foo', 'foo', ]; -void checkUnnamed6293(core.List o) { +void checkUnnamed6360(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -497,12 +497,12 @@ void checkUnnamed6293(core.List o) { ); } -core.List buildUnnamed6294() => [ +core.List buildUnnamed6361() => [ 'foo', 'foo', ]; -void checkUnnamed6294(core.List o) { +void checkUnnamed6361(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -521,9 +521,9 @@ api.NestedParameter buildNestedParameter() { if (buildCounterNestedParameter < 3) { o.boolValue = true; o.intValue = 'foo'; - o.multiBoolValue = buildUnnamed6292(); - o.multiIntValue = buildUnnamed6293(); - o.multiValue = buildUnnamed6294(); + o.multiBoolValue = buildUnnamed6359(); + o.multiIntValue = buildUnnamed6360(); + o.multiValue = buildUnnamed6361(); o.name = 'foo'; o.value = 'foo'; } @@ -539,9 +539,9 @@ void checkNestedParameter(api.NestedParameter o) { o.intValue!, unittest.equals('foo'), ); - checkUnnamed6292(o.multiBoolValue!); - checkUnnamed6293(o.multiIntValue!); - checkUnnamed6294(o.multiValue!); + checkUnnamed6359(o.multiBoolValue!); + checkUnnamed6360(o.multiIntValue!); + checkUnnamed6361(o.multiValue!); unittest.expect( o.name!, unittest.equals('foo'), @@ -596,7 +596,7 @@ void checkUsageReportEntity(api.UsageReportEntity o) { buildCounterUsageReportEntity--; } -core.Map buildUnnamed6295() => { +core.Map buildUnnamed6362() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -609,7 +609,7 @@ core.Map buildUnnamed6295() => { }, }; -void checkUnnamed6295(core.Map o) { +void checkUnnamed6362(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -641,15 +641,15 @@ void checkUnnamed6295(core.Map o) { ); } -core.List> buildUnnamed6296() => [ - buildUnnamed6295(), - buildUnnamed6295(), +core.List> buildUnnamed6363() => [ + buildUnnamed6362(), + buildUnnamed6362(), ]; -void checkUnnamed6296(core.List> o) { +void checkUnnamed6363(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6295(o[0]); - checkUnnamed6295(o[1]); + checkUnnamed6362(o[0]); + checkUnnamed6362(o[1]); } core.int buildCounterUsageReportParameters = 0; @@ -660,7 +660,7 @@ api.UsageReportParameters buildUsageReportParameters() { o.boolValue = true; o.datetimeValue = core.DateTime.parse('2002-02-27T14:01:02'); o.intValue = 'foo'; - o.msgValue = buildUnnamed6296(); + o.msgValue = buildUnnamed6363(); o.name = 'foo'; o.stringValue = 'foo'; } @@ -680,7 +680,7 @@ void checkUsageReportParameters(api.UsageReportParameters o) { o.intValue!, unittest.equals('foo'), ); - checkUnnamed6296(o.msgValue!); + checkUnnamed6363(o.msgValue!); unittest.expect( o.name!, unittest.equals('foo'), @@ -693,12 +693,12 @@ void checkUsageReportParameters(api.UsageReportParameters o) { buildCounterUsageReportParameters--; } -core.List buildUnnamed6297() => [ +core.List buildUnnamed6364() => [ buildUsageReportParameters(), buildUsageReportParameters(), ]; -void checkUnnamed6297(core.List o) { +void checkUnnamed6364(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReportParameters(o[0]); checkUsageReportParameters(o[1]); @@ -713,7 +713,7 @@ api.UsageReport buildUsageReport() { o.entity = buildUsageReportEntity(); o.etag = 'foo'; o.kind = 'foo'; - o.parameters = buildUnnamed6297(); + o.parameters = buildUnnamed6364(); } buildCounterUsageReport--; return o; @@ -735,17 +735,17 @@ void checkUsageReport(api.UsageReport o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed6297(o.parameters!); + checkUnnamed6364(o.parameters!); } buildCounterUsageReport--; } -core.List buildUnnamed6298() => [ +core.List buildUnnamed6365() => [ buildUsageReport(), buildUsageReport(), ]; -void checkUnnamed6298(core.List o) { +void checkUnnamed6365(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReport(o[0]); checkUsageReport(o[1]); @@ -778,12 +778,12 @@ void checkUsageReportsWarningsData(api.UsageReportsWarningsData o) { buildCounterUsageReportsWarningsData--; } -core.List buildUnnamed6299() => [ +core.List buildUnnamed6366() => [ buildUsageReportsWarningsData(), buildUsageReportsWarningsData(), ]; -void checkUnnamed6299(core.List o) { +void checkUnnamed6366(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReportsWarningsData(o[0]); checkUsageReportsWarningsData(o[1]); @@ -795,7 +795,7 @@ api.UsageReportsWarnings buildUsageReportsWarnings() { buildCounterUsageReportsWarnings++; if (buildCounterUsageReportsWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed6299(); + o.data = buildUnnamed6366(); o.message = 'foo'; } buildCounterUsageReportsWarnings--; @@ -809,7 +809,7 @@ void checkUsageReportsWarnings(api.UsageReportsWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed6299(o.data!); + checkUnnamed6366(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -818,12 +818,12 @@ void checkUsageReportsWarnings(api.UsageReportsWarnings o) { buildCounterUsageReportsWarnings--; } -core.List buildUnnamed6300() => [ +core.List buildUnnamed6367() => [ buildUsageReportsWarnings(), buildUsageReportsWarnings(), ]; -void checkUnnamed6300(core.List o) { +void checkUnnamed6367(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageReportsWarnings(o[0]); checkUsageReportsWarnings(o[1]); @@ -837,8 +837,8 @@ api.UsageReports buildUsageReports() { o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.usageReports = buildUnnamed6298(); - o.warnings = buildUnnamed6300(); + o.usageReports = buildUnnamed6365(); + o.warnings = buildUnnamed6367(); } buildCounterUsageReports--; return o; @@ -859,8 +859,8 @@ void checkUsageReports(api.UsageReports o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6298(o.usageReports!); - checkUnnamed6300(o.warnings!); + checkUnnamed6365(o.usageReports!); + checkUnnamed6367(o.warnings!); } buildCounterUsageReports--; } diff --git a/generated/googleapis/test/admob/v1_test.dart b/generated/googleapis/test/admob/v1_test.dart index 6bf132014..c21fcd811 100644 --- a/generated/googleapis/test/admob/v1_test.dart +++ b/generated/googleapis/test/admob/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7670() => [ +core.List buildUnnamed7754() => [ 'foo', 'foo', ]; -void checkUnnamed7670(core.List o) { +void checkUnnamed7754(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.AdUnit buildAdUnit() { buildCounterAdUnit++; if (buildCounterAdUnit < 3) { o.adFormat = 'foo'; - o.adTypes = buildUnnamed7670(); + o.adTypes = buildUnnamed7754(); o.adUnitId = 'foo'; o.appId = 'foo'; o.displayName = 'foo'; @@ -66,7 +66,7 @@ void checkAdUnit(api.AdUnit o) { o.adFormat!, unittest.equals('foo'), ); - checkUnnamed7670(o.adTypes!); + checkUnnamed7754(o.adTypes!); unittest.expect( o.adUnitId!, unittest.equals('foo'), @@ -310,12 +310,12 @@ void checkGenerateNetworkReportResponse(api.GenerateNetworkReportResponse o) { buildCounterGenerateNetworkReportResponse--; } -core.List buildUnnamed7671() => [ +core.List buildUnnamed7755() => [ buildAdUnit(), buildAdUnit(), ]; -void checkUnnamed7671(core.List o) { +void checkUnnamed7755(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -326,7 +326,7 @@ api.ListAdUnitsResponse buildListAdUnitsResponse() { final o = api.ListAdUnitsResponse(); buildCounterListAdUnitsResponse++; if (buildCounterListAdUnitsResponse < 3) { - o.adUnits = buildUnnamed7671(); + o.adUnits = buildUnnamed7755(); o.nextPageToken = 'foo'; } buildCounterListAdUnitsResponse--; @@ -336,7 +336,7 @@ api.ListAdUnitsResponse buildListAdUnitsResponse() { void checkListAdUnitsResponse(api.ListAdUnitsResponse o) { buildCounterListAdUnitsResponse++; if (buildCounterListAdUnitsResponse < 3) { - checkUnnamed7671(o.adUnits!); + checkUnnamed7755(o.adUnits!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -345,12 +345,12 @@ void checkListAdUnitsResponse(api.ListAdUnitsResponse o) { buildCounterListAdUnitsResponse--; } -core.List buildUnnamed7672() => [ +core.List buildUnnamed7756() => [ buildApp(), buildApp(), ]; -void checkUnnamed7672(core.List o) { +void checkUnnamed7756(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApp(o[0]); checkApp(o[1]); @@ -361,7 +361,7 @@ api.ListAppsResponse buildListAppsResponse() { final o = api.ListAppsResponse(); buildCounterListAppsResponse++; if (buildCounterListAppsResponse < 3) { - o.apps = buildUnnamed7672(); + o.apps = buildUnnamed7756(); o.nextPageToken = 'foo'; } buildCounterListAppsResponse--; @@ -371,7 +371,7 @@ api.ListAppsResponse buildListAppsResponse() { void checkListAppsResponse(api.ListAppsResponse o) { buildCounterListAppsResponse++; if (buildCounterListAppsResponse < 3) { - checkUnnamed7672(o.apps!); + checkUnnamed7756(o.apps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -380,12 +380,12 @@ void checkListAppsResponse(api.ListAppsResponse o) { buildCounterListAppsResponse--; } -core.List buildUnnamed7673() => [ +core.List buildUnnamed7757() => [ buildPublisherAccount(), buildPublisherAccount(), ]; -void checkUnnamed7673(core.List o) { +void checkUnnamed7757(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublisherAccount(o[0]); checkPublisherAccount(o[1]); @@ -396,7 +396,7 @@ api.ListPublisherAccountsResponse buildListPublisherAccountsResponse() { final o = api.ListPublisherAccountsResponse(); buildCounterListPublisherAccountsResponse++; if (buildCounterListPublisherAccountsResponse < 3) { - o.account = buildUnnamed7673(); + o.account = buildUnnamed7757(); o.nextPageToken = 'foo'; } buildCounterListPublisherAccountsResponse--; @@ -406,7 +406,7 @@ api.ListPublisherAccountsResponse buildListPublisherAccountsResponse() { void checkListPublisherAccountsResponse(api.ListPublisherAccountsResponse o) { buildCounterListPublisherAccountsResponse++; if (buildCounterListPublisherAccountsResponse < 3) { - checkUnnamed7673(o.account!); + checkUnnamed7757(o.account!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -442,23 +442,23 @@ void checkLocalizationSettings(api.LocalizationSettings o) { buildCounterLocalizationSettings--; } -core.List buildUnnamed7674() => [ +core.List buildUnnamed7758() => [ buildMediationReportSpecDimensionFilter(), buildMediationReportSpecDimensionFilter(), ]; -void checkUnnamed7674(core.List o) { +void checkUnnamed7758(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMediationReportSpecDimensionFilter(o[0]); checkMediationReportSpecDimensionFilter(o[1]); } -core.List buildUnnamed7675() => [ +core.List buildUnnamed7759() => [ 'foo', 'foo', ]; -void checkUnnamed7675(core.List o) { +void checkUnnamed7759(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -470,12 +470,12 @@ void checkUnnamed7675(core.List o) { ); } -core.List buildUnnamed7676() => [ +core.List buildUnnamed7760() => [ 'foo', 'foo', ]; -void checkUnnamed7676(core.List o) { +void checkUnnamed7760(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -487,12 +487,12 @@ void checkUnnamed7676(core.List o) { ); } -core.List buildUnnamed7677() => [ +core.List buildUnnamed7761() => [ buildMediationReportSpecSortCondition(), buildMediationReportSpecSortCondition(), ]; -void checkUnnamed7677(core.List o) { +void checkUnnamed7761(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMediationReportSpecSortCondition(o[0]); checkMediationReportSpecSortCondition(o[1]); @@ -504,12 +504,12 @@ api.MediationReportSpec buildMediationReportSpec() { buildCounterMediationReportSpec++; if (buildCounterMediationReportSpec < 3) { o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed7674(); - o.dimensions = buildUnnamed7675(); + o.dimensionFilters = buildUnnamed7758(); + o.dimensions = buildUnnamed7759(); o.localizationSettings = buildLocalizationSettings(); o.maxReportRows = 42; - o.metrics = buildUnnamed7676(); - o.sortConditions = buildUnnamed7677(); + o.metrics = buildUnnamed7760(); + o.sortConditions = buildUnnamed7761(); o.timeZone = 'foo'; } buildCounterMediationReportSpec--; @@ -520,15 +520,15 @@ void checkMediationReportSpec(api.MediationReportSpec o) { buildCounterMediationReportSpec++; if (buildCounterMediationReportSpec < 3) { checkDateRange(o.dateRange!); - checkUnnamed7674(o.dimensionFilters!); - checkUnnamed7675(o.dimensions!); + checkUnnamed7758(o.dimensionFilters!); + checkUnnamed7759(o.dimensions!); checkLocalizationSettings(o.localizationSettings!); unittest.expect( o.maxReportRows!, unittest.equals(42), ); - checkUnnamed7676(o.metrics!); - checkUnnamed7677(o.sortConditions!); + checkUnnamed7760(o.metrics!); + checkUnnamed7761(o.sortConditions!); unittest.expect( o.timeZone!, unittest.equals('foo'), @@ -596,23 +596,23 @@ void checkMediationReportSpecSortCondition( buildCounterMediationReportSpecSortCondition--; } -core.List buildUnnamed7678() => [ +core.List buildUnnamed7762() => [ buildNetworkReportSpecDimensionFilter(), buildNetworkReportSpecDimensionFilter(), ]; -void checkUnnamed7678(core.List o) { +void checkUnnamed7762(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkReportSpecDimensionFilter(o[0]); checkNetworkReportSpecDimensionFilter(o[1]); } -core.List buildUnnamed7679() => [ +core.List buildUnnamed7763() => [ 'foo', 'foo', ]; -void checkUnnamed7679(core.List o) { +void checkUnnamed7763(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -624,12 +624,12 @@ void checkUnnamed7679(core.List o) { ); } -core.List buildUnnamed7680() => [ +core.List buildUnnamed7764() => [ 'foo', 'foo', ]; -void checkUnnamed7680(core.List o) { +void checkUnnamed7764(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -641,12 +641,12 @@ void checkUnnamed7680(core.List o) { ); } -core.List buildUnnamed7681() => [ +core.List buildUnnamed7765() => [ buildNetworkReportSpecSortCondition(), buildNetworkReportSpecSortCondition(), ]; -void checkUnnamed7681(core.List o) { +void checkUnnamed7765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkReportSpecSortCondition(o[0]); checkNetworkReportSpecSortCondition(o[1]); @@ -658,12 +658,12 @@ api.NetworkReportSpec buildNetworkReportSpec() { buildCounterNetworkReportSpec++; if (buildCounterNetworkReportSpec < 3) { o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed7678(); - o.dimensions = buildUnnamed7679(); + o.dimensionFilters = buildUnnamed7762(); + o.dimensions = buildUnnamed7763(); o.localizationSettings = buildLocalizationSettings(); o.maxReportRows = 42; - o.metrics = buildUnnamed7680(); - o.sortConditions = buildUnnamed7681(); + o.metrics = buildUnnamed7764(); + o.sortConditions = buildUnnamed7765(); o.timeZone = 'foo'; } buildCounterNetworkReportSpec--; @@ -674,15 +674,15 @@ void checkNetworkReportSpec(api.NetworkReportSpec o) { buildCounterNetworkReportSpec++; if (buildCounterNetworkReportSpec < 3) { checkDateRange(o.dateRange!); - checkUnnamed7678(o.dimensionFilters!); - checkUnnamed7679(o.dimensions!); + checkUnnamed7762(o.dimensionFilters!); + checkUnnamed7763(o.dimensions!); checkLocalizationSettings(o.localizationSettings!); unittest.expect( o.maxReportRows!, unittest.equals(42), ); - checkUnnamed7680(o.metrics!); - checkUnnamed7681(o.sortConditions!); + checkUnnamed7764(o.metrics!); + checkUnnamed7765(o.sortConditions!); unittest.expect( o.timeZone!, unittest.equals('foo'), @@ -785,12 +785,12 @@ void checkPublisherAccount(api.PublisherAccount o) { buildCounterPublisherAccount--; } -core.List buildUnnamed7682() => [ +core.List buildUnnamed7766() => [ buildReportWarning(), buildReportWarning(), ]; -void checkUnnamed7682(core.List o) { +void checkUnnamed7766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportWarning(o[0]); checkReportWarning(o[1]); @@ -802,7 +802,7 @@ api.ReportFooter buildReportFooter() { buildCounterReportFooter++; if (buildCounterReportFooter < 3) { o.matchingRowCount = 'foo'; - o.warnings = buildUnnamed7682(); + o.warnings = buildUnnamed7766(); } buildCounterReportFooter--; return o; @@ -815,7 +815,7 @@ void checkReportFooter(api.ReportFooter o) { o.matchingRowCount!, unittest.equals('foo'), ); - checkUnnamed7682(o.warnings!); + checkUnnamed7766(o.warnings!); } buildCounterReportFooter--; } @@ -846,23 +846,23 @@ void checkReportHeader(api.ReportHeader o) { buildCounterReportHeader--; } -core.Map buildUnnamed7683() => { +core.Map buildUnnamed7767() => { 'x': buildReportRowDimensionValue(), 'y': buildReportRowDimensionValue(), }; -void checkUnnamed7683(core.Map o) { +void checkUnnamed7767(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkReportRowDimensionValue(o['x']!); checkReportRowDimensionValue(o['y']!); } -core.Map buildUnnamed7684() => { +core.Map buildUnnamed7768() => { 'x': buildReportRowMetricValue(), 'y': buildReportRowMetricValue(), }; -void checkUnnamed7684(core.Map o) { +void checkUnnamed7768(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkReportRowMetricValue(o['x']!); checkReportRowMetricValue(o['y']!); @@ -873,8 +873,8 @@ api.ReportRow buildReportRow() { final o = api.ReportRow(); buildCounterReportRow++; if (buildCounterReportRow < 3) { - o.dimensionValues = buildUnnamed7683(); - o.metricValues = buildUnnamed7684(); + o.dimensionValues = buildUnnamed7767(); + o.metricValues = buildUnnamed7768(); } buildCounterReportRow--; return o; @@ -883,8 +883,8 @@ api.ReportRow buildReportRow() { void checkReportRow(api.ReportRow o) { buildCounterReportRow++; if (buildCounterReportRow < 3) { - checkUnnamed7683(o.dimensionValues!); - checkUnnamed7684(o.metricValues!); + checkUnnamed7767(o.dimensionValues!); + checkUnnamed7768(o.metricValues!); } buildCounterReportRow--; } @@ -975,12 +975,12 @@ void checkReportWarning(api.ReportWarning o) { buildCounterReportWarning--; } -core.List buildUnnamed7685() => [ +core.List buildUnnamed7769() => [ 'foo', 'foo', ]; -void checkUnnamed7685(core.List o) { +void checkUnnamed7769(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -997,7 +997,7 @@ api.StringList buildStringList() { final o = api.StringList(); buildCounterStringList++; if (buildCounterStringList < 3) { - o.values = buildUnnamed7685(); + o.values = buildUnnamed7769(); } buildCounterStringList--; return o; @@ -1006,7 +1006,7 @@ api.StringList buildStringList() { void checkStringList(api.StringList o) { buildCounterStringList++; if (buildCounterStringList < 3) { - checkUnnamed7685(o.values!); + checkUnnamed7769(o.values!); } buildCounterStringList--; } diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart index bbcaa8efa..75116cdb6 100644 --- a/generated/googleapis/test/adsense/v1_4_test.dart +++ b/generated/googleapis/test/adsense/v1_4_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed4986() => [ +core.List buildUnnamed5030() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed4986(core.List o) { +void checkUnnamed5030(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -47,7 +47,7 @@ api.Account buildAccount() { o.kind = 'foo'; o.name = 'foo'; o.premium = true; - o.subAccounts = buildUnnamed4986(); + o.subAccounts = buildUnnamed5030(); o.timezone = 'foo'; } buildCounterAccount--; @@ -74,7 +74,7 @@ void checkAccount(api.Account o) { unittest.equals('foo'), ); unittest.expect(o.premium!, unittest.isTrue); - checkUnnamed4986(o.subAccounts!); + checkUnnamed5030(o.subAccounts!); unittest.expect( o.timezone!, unittest.equals('foo'), @@ -83,12 +83,12 @@ void checkAccount(api.Account o) { buildCounterAccount--; } -core.List buildUnnamed4987() => [ +core.List buildUnnamed5031() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed4987(core.List o) { +void checkUnnamed5031(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -100,7 +100,7 @@ api.Accounts buildAccounts() { buildCounterAccounts++; if (buildCounterAccounts < 3) { o.etag = 'foo'; - o.items = buildUnnamed4987(); + o.items = buildUnnamed5031(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -115,7 +115,7 @@ void checkAccounts(api.Accounts o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed4987(o.items!); + checkUnnamed5031(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -164,12 +164,12 @@ void checkAdClient(api.AdClient o) { buildCounterAdClient--; } -core.List buildUnnamed4988() => [ +core.List buildUnnamed5032() => [ buildAdClient(), buildAdClient(), ]; -void checkUnnamed4988(core.List o) { +void checkUnnamed5032(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -181,7 +181,7 @@ api.AdClients buildAdClients() { buildCounterAdClients++; if (buildCounterAdClients < 3) { o.etag = 'foo'; - o.items = buildUnnamed4988(); + o.items = buildUnnamed5032(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -196,7 +196,7 @@ void checkAdClients(api.AdClients o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed4988(o.items!); + checkUnnamed5032(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -538,12 +538,12 @@ void checkAdUnit(api.AdUnit o) { buildCounterAdUnit--; } -core.List buildUnnamed4989() => [ +core.List buildUnnamed5033() => [ buildAdUnit(), buildAdUnit(), ]; -void checkUnnamed4989(core.List o) { +void checkUnnamed5033(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -555,7 +555,7 @@ api.AdUnits buildAdUnits() { buildCounterAdUnits++; if (buildCounterAdUnits < 3) { o.etag = 'foo'; - o.items = buildUnnamed4989(); + o.items = buildUnnamed5033(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -570,7 +570,7 @@ void checkAdUnits(api.AdUnits o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed4989(o.items!); + checkUnnamed5033(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -583,12 +583,12 @@ void checkAdUnits(api.AdUnits o) { buildCounterAdUnits--; } -core.List buildUnnamed4990() => [ +core.List buildUnnamed5034() => [ 'foo', 'foo', ]; -void checkUnnamed4990(core.List o) { +void checkUnnamed5034(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -634,23 +634,23 @@ void checkAdsenseReportsGenerateResponseHeaders( buildCounterAdsenseReportsGenerateResponseHeaders--; } -core.List buildUnnamed4991() => [ +core.List buildUnnamed5035() => [ buildAdsenseReportsGenerateResponseHeaders(), buildAdsenseReportsGenerateResponseHeaders(), ]; -void checkUnnamed4991(core.List o) { +void checkUnnamed5035(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdsenseReportsGenerateResponseHeaders(o[0]); checkAdsenseReportsGenerateResponseHeaders(o[1]); } -core.List buildUnnamed4992() => [ +core.List buildUnnamed5036() => [ 'foo', 'foo', ]; -void checkUnnamed4992(core.List o) { +void checkUnnamed5036(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -662,23 +662,23 @@ void checkUnnamed4992(core.List o) { ); } -core.List> buildUnnamed4993() => [ - buildUnnamed4992(), - buildUnnamed4992(), +core.List> buildUnnamed5037() => [ + buildUnnamed5036(), + buildUnnamed5036(), ]; -void checkUnnamed4993(core.List> o) { +void checkUnnamed5037(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4992(o[0]); - checkUnnamed4992(o[1]); + checkUnnamed5036(o[0]); + checkUnnamed5036(o[1]); } -core.List buildUnnamed4994() => [ +core.List buildUnnamed5038() => [ 'foo', 'foo', ]; -void checkUnnamed4994(core.List o) { +void checkUnnamed5038(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -690,12 +690,12 @@ void checkUnnamed4994(core.List o) { ); } -core.List buildUnnamed4995() => [ +core.List buildUnnamed5039() => [ 'foo', 'foo', ]; -void checkUnnamed4995(core.List o) { +void checkUnnamed5039(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -712,15 +712,15 @@ api.AdsenseReportsGenerateResponse buildAdsenseReportsGenerateResponse() { final o = api.AdsenseReportsGenerateResponse(); buildCounterAdsenseReportsGenerateResponse++; if (buildCounterAdsenseReportsGenerateResponse < 3) { - o.averages = buildUnnamed4990(); + o.averages = buildUnnamed5034(); o.endDate = 'foo'; - o.headers = buildUnnamed4991(); + o.headers = buildUnnamed5035(); o.kind = 'foo'; - o.rows = buildUnnamed4993(); + o.rows = buildUnnamed5037(); o.startDate = 'foo'; o.totalMatchedRows = 'foo'; - o.totals = buildUnnamed4994(); - o.warnings = buildUnnamed4995(); + o.totals = buildUnnamed5038(); + o.warnings = buildUnnamed5039(); } buildCounterAdsenseReportsGenerateResponse--; return o; @@ -729,17 +729,17 @@ api.AdsenseReportsGenerateResponse buildAdsenseReportsGenerateResponse() { void checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) { buildCounterAdsenseReportsGenerateResponse++; if (buildCounterAdsenseReportsGenerateResponse < 3) { - checkUnnamed4990(o.averages!); + checkUnnamed5034(o.averages!); unittest.expect( o.endDate!, unittest.equals('foo'), ); - checkUnnamed4991(o.headers!); + checkUnnamed5035(o.headers!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed4993(o.rows!); + checkUnnamed5037(o.rows!); unittest.expect( o.startDate!, unittest.equals('foo'), @@ -748,8 +748,8 @@ void checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) { o.totalMatchedRows!, unittest.equals('foo'), ); - checkUnnamed4994(o.totals!); - checkUnnamed4995(o.warnings!); + checkUnnamed5038(o.totals!); + checkUnnamed5039(o.warnings!); } buildCounterAdsenseReportsGenerateResponse--; } @@ -798,12 +798,12 @@ void checkAlert(api.Alert o) { buildCounterAlert--; } -core.List buildUnnamed4996() => [ +core.List buildUnnamed5040() => [ buildAlert(), buildAlert(), ]; -void checkUnnamed4996(core.List o) { +void checkUnnamed5040(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAlert(o[0]); checkAlert(o[1]); @@ -814,7 +814,7 @@ api.Alerts buildAlerts() { final o = api.Alerts(); buildCounterAlerts++; if (buildCounterAlerts < 3) { - o.items = buildUnnamed4996(); + o.items = buildUnnamed5040(); o.kind = 'foo'; } buildCounterAlerts--; @@ -824,7 +824,7 @@ api.Alerts buildAlerts() { void checkAlerts(api.Alerts o) { buildCounterAlerts++; if (buildCounterAlerts < 3) { - checkUnnamed4996(o.items!); + checkUnnamed5040(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -909,12 +909,12 @@ void checkCustomChannel(api.CustomChannel o) { buildCounterCustomChannel--; } -core.List buildUnnamed4997() => [ +core.List buildUnnamed5041() => [ buildCustomChannel(), buildCustomChannel(), ]; -void checkUnnamed4997(core.List o) { +void checkUnnamed5041(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -926,7 +926,7 @@ api.CustomChannels buildCustomChannels() { buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { o.etag = 'foo'; - o.items = buildUnnamed4997(); + o.items = buildUnnamed5041(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -941,7 +941,7 @@ void checkCustomChannels(api.CustomChannels o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed4997(o.items!); + checkUnnamed5041(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -954,12 +954,12 @@ void checkCustomChannels(api.CustomChannels o) { buildCounterCustomChannels--; } -core.List buildUnnamed4998() => [ +core.List buildUnnamed5042() => [ buildReportingMetadataEntry(), buildReportingMetadataEntry(), ]; -void checkUnnamed4998(core.List o) { +void checkUnnamed5042(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportingMetadataEntry(o[0]); checkReportingMetadataEntry(o[1]); @@ -970,7 +970,7 @@ api.Metadata buildMetadata() { final o = api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.items = buildUnnamed4998(); + o.items = buildUnnamed5042(); o.kind = 'foo'; } buildCounterMetadata--; @@ -980,7 +980,7 @@ api.Metadata buildMetadata() { void checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed4998(o.items!); + checkUnnamed5042(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1031,12 +1031,12 @@ void checkPayment(api.Payment o) { buildCounterPayment--; } -core.List buildUnnamed4999() => [ +core.List buildUnnamed5043() => [ buildPayment(), buildPayment(), ]; -void checkUnnamed4999(core.List o) { +void checkUnnamed5043(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPayment(o[0]); checkPayment(o[1]); @@ -1047,7 +1047,7 @@ api.Payments buildPayments() { final o = api.Payments(); buildCounterPayments++; if (buildCounterPayments < 3) { - o.items = buildUnnamed4999(); + o.items = buildUnnamed5043(); o.kind = 'foo'; } buildCounterPayments--; @@ -1057,7 +1057,7 @@ api.Payments buildPayments() { void checkPayments(api.Payments o) { buildCounterPayments++; if (buildCounterPayments < 3) { - checkUnnamed4999(o.items!); + checkUnnamed5043(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1066,12 +1066,12 @@ void checkPayments(api.Payments o) { buildCounterPayments--; } -core.List buildUnnamed5000() => [ +core.List buildUnnamed5044() => [ 'foo', 'foo', ]; -void checkUnnamed5000(core.List o) { +void checkUnnamed5044(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1083,12 +1083,12 @@ void checkUnnamed5000(core.List o) { ); } -core.List buildUnnamed5001() => [ +core.List buildUnnamed5045() => [ 'foo', 'foo', ]; -void checkUnnamed5001(core.List o) { +void checkUnnamed5045(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1100,12 +1100,12 @@ void checkUnnamed5001(core.List o) { ); } -core.List buildUnnamed5002() => [ +core.List buildUnnamed5046() => [ 'foo', 'foo', ]; -void checkUnnamed5002(core.List o) { +void checkUnnamed5046(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1117,12 +1117,12 @@ void checkUnnamed5002(core.List o) { ); } -core.List buildUnnamed5003() => [ +core.List buildUnnamed5047() => [ 'foo', 'foo', ]; -void checkUnnamed5003(core.List o) { +void checkUnnamed5047(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1134,12 +1134,12 @@ void checkUnnamed5003(core.List o) { ); } -core.List buildUnnamed5004() => [ +core.List buildUnnamed5048() => [ 'foo', 'foo', ]; -void checkUnnamed5004(core.List o) { +void checkUnnamed5048(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1156,13 +1156,13 @@ api.ReportingMetadataEntry buildReportingMetadataEntry() { final o = api.ReportingMetadataEntry(); buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - o.compatibleDimensions = buildUnnamed5000(); - o.compatibleMetrics = buildUnnamed5001(); + o.compatibleDimensions = buildUnnamed5044(); + o.compatibleMetrics = buildUnnamed5045(); o.id = 'foo'; o.kind = 'foo'; - o.requiredDimensions = buildUnnamed5002(); - o.requiredMetrics = buildUnnamed5003(); - o.supportedProducts = buildUnnamed5004(); + o.requiredDimensions = buildUnnamed5046(); + o.requiredMetrics = buildUnnamed5047(); + o.supportedProducts = buildUnnamed5048(); } buildCounterReportingMetadataEntry--; return o; @@ -1171,8 +1171,8 @@ api.ReportingMetadataEntry buildReportingMetadataEntry() { void checkReportingMetadataEntry(api.ReportingMetadataEntry o) { buildCounterReportingMetadataEntry++; if (buildCounterReportingMetadataEntry < 3) { - checkUnnamed5000(o.compatibleDimensions!); - checkUnnamed5001(o.compatibleMetrics!); + checkUnnamed5044(o.compatibleDimensions!); + checkUnnamed5045(o.compatibleMetrics!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1181,9 +1181,9 @@ void checkReportingMetadataEntry(api.ReportingMetadataEntry o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5002(o.requiredDimensions!); - checkUnnamed5003(o.requiredMetrics!); - checkUnnamed5004(o.supportedProducts!); + checkUnnamed5046(o.requiredDimensions!); + checkUnnamed5047(o.requiredMetrics!); + checkUnnamed5048(o.supportedProducts!); } buildCounterReportingMetadataEntry--; } @@ -1222,12 +1222,12 @@ void checkSavedAdStyle(api.SavedAdStyle o) { buildCounterSavedAdStyle--; } -core.List buildUnnamed5005() => [ +core.List buildUnnamed5049() => [ buildSavedAdStyle(), buildSavedAdStyle(), ]; -void checkUnnamed5005(core.List o) { +void checkUnnamed5049(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSavedAdStyle(o[0]); checkSavedAdStyle(o[1]); @@ -1239,7 +1239,7 @@ api.SavedAdStyles buildSavedAdStyles() { buildCounterSavedAdStyles++; if (buildCounterSavedAdStyles < 3) { o.etag = 'foo'; - o.items = buildUnnamed5005(); + o.items = buildUnnamed5049(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1254,7 +1254,7 @@ void checkSavedAdStyles(api.SavedAdStyles o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5005(o.items!); + checkUnnamed5049(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1299,12 +1299,12 @@ void checkSavedReport(api.SavedReport o) { buildCounterSavedReport--; } -core.List buildUnnamed5006() => [ +core.List buildUnnamed5050() => [ buildSavedReport(), buildSavedReport(), ]; -void checkUnnamed5006(core.List o) { +void checkUnnamed5050(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSavedReport(o[0]); checkSavedReport(o[1]); @@ -1316,7 +1316,7 @@ api.SavedReports buildSavedReports() { buildCounterSavedReports++; if (buildCounterSavedReports < 3) { o.etag = 'foo'; - o.items = buildUnnamed5006(); + o.items = buildUnnamed5050(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1331,7 +1331,7 @@ void checkSavedReports(api.SavedReports o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5006(o.items!); + checkUnnamed5050(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1376,12 +1376,12 @@ void checkUrlChannel(api.UrlChannel o) { buildCounterUrlChannel--; } -core.List buildUnnamed5007() => [ +core.List buildUnnamed5051() => [ buildUrlChannel(), buildUrlChannel(), ]; -void checkUnnamed5007(core.List o) { +void checkUnnamed5051(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -1393,7 +1393,7 @@ api.UrlChannels buildUrlChannels() { buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { o.etag = 'foo'; - o.items = buildUnnamed5007(); + o.items = buildUnnamed5051(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1408,7 +1408,7 @@ void checkUrlChannels(api.UrlChannels o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5007(o.items!); + checkUnnamed5051(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1421,12 +1421,12 @@ void checkUrlChannels(api.UrlChannels o) { buildCounterUrlChannels--; } -core.List buildUnnamed5008() => [ +core.List buildUnnamed5052() => [ 'foo', 'foo', ]; -void checkUnnamed5008(core.List o) { +void checkUnnamed5052(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1438,12 +1438,12 @@ void checkUnnamed5008(core.List o) { ); } -core.List buildUnnamed5009() => [ +core.List buildUnnamed5053() => [ 'foo', 'foo', ]; -void checkUnnamed5009(core.List o) { +void checkUnnamed5053(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1455,12 +1455,12 @@ void checkUnnamed5009(core.List o) { ); } -core.List buildUnnamed5010() => [ +core.List buildUnnamed5054() => [ 'foo', 'foo', ]; -void checkUnnamed5010(core.List o) { +void checkUnnamed5054(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1472,12 +1472,12 @@ void checkUnnamed5010(core.List o) { ); } -core.List buildUnnamed5011() => [ +core.List buildUnnamed5055() => [ 'foo', 'foo', ]; -void checkUnnamed5011(core.List o) { +void checkUnnamed5055(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1489,12 +1489,12 @@ void checkUnnamed5011(core.List o) { ); } -core.List buildUnnamed5012() => [ +core.List buildUnnamed5056() => [ 'foo', 'foo', ]; -void checkUnnamed5012(core.List o) { +void checkUnnamed5056(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1506,12 +1506,12 @@ void checkUnnamed5012(core.List o) { ); } -core.List buildUnnamed5013() => [ +core.List buildUnnamed5057() => [ 'foo', 'foo', ]; -void checkUnnamed5013(core.List o) { +void checkUnnamed5057(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1523,12 +1523,12 @@ void checkUnnamed5013(core.List o) { ); } -core.List buildUnnamed5014() => [ +core.List buildUnnamed5058() => [ 'foo', 'foo', ]; -void checkUnnamed5014(core.List o) { +void checkUnnamed5058(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1540,12 +1540,12 @@ void checkUnnamed5014(core.List o) { ); } -core.List buildUnnamed5015() => [ +core.List buildUnnamed5059() => [ 'foo', 'foo', ]; -void checkUnnamed5015(core.List o) { +void checkUnnamed5059(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1557,12 +1557,12 @@ void checkUnnamed5015(core.List o) { ); } -core.List buildUnnamed5016() => [ +core.List buildUnnamed5060() => [ 'foo', 'foo', ]; -void checkUnnamed5016(core.List o) { +void checkUnnamed5060(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3170,12 +3170,12 @@ void main() { final arg_startDate = 'foo'; final arg_endDate = 'foo'; final arg_currency = 'foo'; - final arg_dimension = buildUnnamed5008(); - final arg_filter = buildUnnamed5009(); + final arg_dimension = buildUnnamed5052(); + final arg_filter = buildUnnamed5053(); final arg_locale = 'foo'; final arg_maxResults = 42; - final arg_metric = buildUnnamed5010(); - final arg_sort = buildUnnamed5011(); + final arg_metric = buildUnnamed5054(); + final arg_sort = buildUnnamed5055(); final arg_startIndex = 42; final arg_useTimezoneReporting = true; final arg_$fields = 'foo'; @@ -4743,14 +4743,14 @@ void main() { final res = api.AdSenseApi(mock).reports; final arg_startDate = 'foo'; final arg_endDate = 'foo'; - final arg_accountId = buildUnnamed5012(); + final arg_accountId = buildUnnamed5056(); final arg_currency = 'foo'; - final arg_dimension = buildUnnamed5013(); - final arg_filter = buildUnnamed5014(); + final arg_dimension = buildUnnamed5057(); + final arg_filter = buildUnnamed5058(); final arg_locale = 'foo'; final arg_maxResults = 42; - final arg_metric = buildUnnamed5015(); - final arg_sort = buildUnnamed5016(); + final arg_metric = buildUnnamed5059(); + final arg_sort = buildUnnamed5060(); final arg_startIndex = 42; final arg_useTimezoneReporting = true; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/adsense/v2_test.dart b/generated/googleapis/test/adsense/v2_test.dart index 12c839436..809fcff89 100644 --- a/generated/googleapis/test/adsense/v2_test.dart +++ b/generated/googleapis/test/adsense/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed83() => [ +core.List buildUnnamed85() => [ 'foo', 'foo', ]; -void checkUnnamed83(core.List o) { +void checkUnnamed85(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -51,7 +51,7 @@ api.Account buildAccount() { o.createTime = 'foo'; o.displayName = 'foo'; o.name = 'foo'; - o.pendingTasks = buildUnnamed83(); + o.pendingTasks = buildUnnamed85(); o.premium = true; o.timeZone = buildTimeZone(); } @@ -74,7 +74,7 @@ void checkAccount(api.Account o) { o.name!, unittest.equals('foo'), ); - checkUnnamed83(o.pendingTasks!); + checkUnnamed85(o.pendingTasks!); unittest.expect(o.premium!, unittest.isTrue); checkTimeZone(o.timeZone!); } @@ -388,7 +388,7 @@ void checkHeader(api.Header o) { buildCounterHeader--; } -core.Map buildUnnamed84() => { +core.Map buildUnnamed86() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -401,7 +401,7 @@ core.Map buildUnnamed84() => { }, }; -void checkUnnamed84(core.Map o) { +void checkUnnamed86(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -433,15 +433,15 @@ void checkUnnamed84(core.Map o) { ); } -core.List> buildUnnamed85() => [ - buildUnnamed84(), - buildUnnamed84(), +core.List> buildUnnamed87() => [ + buildUnnamed86(), + buildUnnamed86(), ]; -void checkUnnamed85(core.List> o) { +void checkUnnamed87(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed84(o[0]); - checkUnnamed84(o[1]); + checkUnnamed86(o[0]); + checkUnnamed86(o[1]); } core.int buildCounterHttpBody = 0; @@ -451,7 +451,7 @@ api.HttpBody buildHttpBody() { if (buildCounterHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed85(); + o.extensions = buildUnnamed87(); } buildCounterHttpBody--; return o; @@ -468,17 +468,17 @@ void checkHttpBody(api.HttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed85(o.extensions!); + checkUnnamed87(o.extensions!); } buildCounterHttpBody--; } -core.List buildUnnamed86() => [ +core.List buildUnnamed88() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed86(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -489,7 +489,7 @@ api.ListAccountsResponse buildListAccountsResponse() { final o = api.ListAccountsResponse(); buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - o.accounts = buildUnnamed86(); + o.accounts = buildUnnamed88(); o.nextPageToken = 'foo'; } buildCounterListAccountsResponse--; @@ -499,7 +499,7 @@ api.ListAccountsResponse buildListAccountsResponse() { void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - checkUnnamed86(o.accounts!); + checkUnnamed88(o.accounts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -508,12 +508,12 @@ void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse--; } -core.List buildUnnamed87() => [ +core.List buildUnnamed89() => [ buildAdClient(), buildAdClient(), ]; -void checkUnnamed87(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -524,7 +524,7 @@ api.ListAdClientsResponse buildListAdClientsResponse() { final o = api.ListAdClientsResponse(); buildCounterListAdClientsResponse++; if (buildCounterListAdClientsResponse < 3) { - o.adClients = buildUnnamed87(); + o.adClients = buildUnnamed89(); o.nextPageToken = 'foo'; } buildCounterListAdClientsResponse--; @@ -534,7 +534,7 @@ api.ListAdClientsResponse buildListAdClientsResponse() { void checkListAdClientsResponse(api.ListAdClientsResponse o) { buildCounterListAdClientsResponse++; if (buildCounterListAdClientsResponse < 3) { - checkUnnamed87(o.adClients!); + checkUnnamed89(o.adClients!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -543,12 +543,12 @@ void checkListAdClientsResponse(api.ListAdClientsResponse o) { buildCounterListAdClientsResponse--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed90() => [ buildAdUnit(), buildAdUnit(), ]; -void checkUnnamed88(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -559,7 +559,7 @@ api.ListAdUnitsResponse buildListAdUnitsResponse() { final o = api.ListAdUnitsResponse(); buildCounterListAdUnitsResponse++; if (buildCounterListAdUnitsResponse < 3) { - o.adUnits = buildUnnamed88(); + o.adUnits = buildUnnamed90(); o.nextPageToken = 'foo'; } buildCounterListAdUnitsResponse--; @@ -569,7 +569,7 @@ api.ListAdUnitsResponse buildListAdUnitsResponse() { void checkListAdUnitsResponse(api.ListAdUnitsResponse o) { buildCounterListAdUnitsResponse++; if (buildCounterListAdUnitsResponse < 3) { - checkUnnamed88(o.adUnits!); + checkUnnamed90(o.adUnits!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -578,12 +578,12 @@ void checkListAdUnitsResponse(api.ListAdUnitsResponse o) { buildCounterListAdUnitsResponse--; } -core.List buildUnnamed89() => [ +core.List buildUnnamed91() => [ buildAlert(), buildAlert(), ]; -void checkUnnamed89(core.List o) { +void checkUnnamed91(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAlert(o[0]); checkAlert(o[1]); @@ -594,7 +594,7 @@ api.ListAlertsResponse buildListAlertsResponse() { final o = api.ListAlertsResponse(); buildCounterListAlertsResponse++; if (buildCounterListAlertsResponse < 3) { - o.alerts = buildUnnamed89(); + o.alerts = buildUnnamed91(); } buildCounterListAlertsResponse--; return o; @@ -603,17 +603,17 @@ api.ListAlertsResponse buildListAlertsResponse() { void checkListAlertsResponse(api.ListAlertsResponse o) { buildCounterListAlertsResponse++; if (buildCounterListAlertsResponse < 3) { - checkUnnamed89(o.alerts!); + checkUnnamed91(o.alerts!); } buildCounterListAlertsResponse--; } -core.List buildUnnamed90() => [ +core.List buildUnnamed92() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed90(core.List o) { +void checkUnnamed92(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -624,7 +624,7 @@ api.ListChildAccountsResponse buildListChildAccountsResponse() { final o = api.ListChildAccountsResponse(); buildCounterListChildAccountsResponse++; if (buildCounterListChildAccountsResponse < 3) { - o.accounts = buildUnnamed90(); + o.accounts = buildUnnamed92(); o.nextPageToken = 'foo'; } buildCounterListChildAccountsResponse--; @@ -634,7 +634,7 @@ api.ListChildAccountsResponse buildListChildAccountsResponse() { void checkListChildAccountsResponse(api.ListChildAccountsResponse o) { buildCounterListChildAccountsResponse++; if (buildCounterListChildAccountsResponse < 3) { - checkUnnamed90(o.accounts!); + checkUnnamed92(o.accounts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -643,12 +643,12 @@ void checkListChildAccountsResponse(api.ListChildAccountsResponse o) { buildCounterListChildAccountsResponse--; } -core.List buildUnnamed91() => [ +core.List buildUnnamed93() => [ buildCustomChannel(), buildCustomChannel(), ]; -void checkUnnamed91(core.List o) { +void checkUnnamed93(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -659,7 +659,7 @@ api.ListCustomChannelsResponse buildListCustomChannelsResponse() { final o = api.ListCustomChannelsResponse(); buildCounterListCustomChannelsResponse++; if (buildCounterListCustomChannelsResponse < 3) { - o.customChannels = buildUnnamed91(); + o.customChannels = buildUnnamed93(); o.nextPageToken = 'foo'; } buildCounterListCustomChannelsResponse--; @@ -669,7 +669,7 @@ api.ListCustomChannelsResponse buildListCustomChannelsResponse() { void checkListCustomChannelsResponse(api.ListCustomChannelsResponse o) { buildCounterListCustomChannelsResponse++; if (buildCounterListCustomChannelsResponse < 3) { - checkUnnamed91(o.customChannels!); + checkUnnamed93(o.customChannels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -678,12 +678,12 @@ void checkListCustomChannelsResponse(api.ListCustomChannelsResponse o) { buildCounterListCustomChannelsResponse--; } -core.List buildUnnamed92() => [ +core.List buildUnnamed94() => [ buildAdUnit(), buildAdUnit(), ]; -void checkUnnamed92(core.List o) { +void checkUnnamed94(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -694,7 +694,7 @@ api.ListLinkedAdUnitsResponse buildListLinkedAdUnitsResponse() { final o = api.ListLinkedAdUnitsResponse(); buildCounterListLinkedAdUnitsResponse++; if (buildCounterListLinkedAdUnitsResponse < 3) { - o.adUnits = buildUnnamed92(); + o.adUnits = buildUnnamed94(); o.nextPageToken = 'foo'; } buildCounterListLinkedAdUnitsResponse--; @@ -704,7 +704,7 @@ api.ListLinkedAdUnitsResponse buildListLinkedAdUnitsResponse() { void checkListLinkedAdUnitsResponse(api.ListLinkedAdUnitsResponse o) { buildCounterListLinkedAdUnitsResponse++; if (buildCounterListLinkedAdUnitsResponse < 3) { - checkUnnamed92(o.adUnits!); + checkUnnamed94(o.adUnits!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -713,12 +713,12 @@ void checkListLinkedAdUnitsResponse(api.ListLinkedAdUnitsResponse o) { buildCounterListLinkedAdUnitsResponse--; } -core.List buildUnnamed93() => [ +core.List buildUnnamed95() => [ buildCustomChannel(), buildCustomChannel(), ]; -void checkUnnamed93(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -729,7 +729,7 @@ api.ListLinkedCustomChannelsResponse buildListLinkedCustomChannelsResponse() { final o = api.ListLinkedCustomChannelsResponse(); buildCounterListLinkedCustomChannelsResponse++; if (buildCounterListLinkedCustomChannelsResponse < 3) { - o.customChannels = buildUnnamed93(); + o.customChannels = buildUnnamed95(); o.nextPageToken = 'foo'; } buildCounterListLinkedCustomChannelsResponse--; @@ -740,7 +740,7 @@ void checkListLinkedCustomChannelsResponse( api.ListLinkedCustomChannelsResponse o) { buildCounterListLinkedCustomChannelsResponse++; if (buildCounterListLinkedCustomChannelsResponse < 3) { - checkUnnamed93(o.customChannels!); + checkUnnamed95(o.customChannels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -749,12 +749,12 @@ void checkListLinkedCustomChannelsResponse( buildCounterListLinkedCustomChannelsResponse--; } -core.List buildUnnamed94() => [ +core.List buildUnnamed96() => [ buildPayment(), buildPayment(), ]; -void checkUnnamed94(core.List o) { +void checkUnnamed96(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPayment(o[0]); checkPayment(o[1]); @@ -765,7 +765,7 @@ api.ListPaymentsResponse buildListPaymentsResponse() { final o = api.ListPaymentsResponse(); buildCounterListPaymentsResponse++; if (buildCounterListPaymentsResponse < 3) { - o.payments = buildUnnamed94(); + o.payments = buildUnnamed96(); } buildCounterListPaymentsResponse--; return o; @@ -774,17 +774,17 @@ api.ListPaymentsResponse buildListPaymentsResponse() { void checkListPaymentsResponse(api.ListPaymentsResponse o) { buildCounterListPaymentsResponse++; if (buildCounterListPaymentsResponse < 3) { - checkUnnamed94(o.payments!); + checkUnnamed96(o.payments!); } buildCounterListPaymentsResponse--; } -core.List buildUnnamed95() => [ +core.List buildUnnamed97() => [ buildSavedReport(), buildSavedReport(), ]; -void checkUnnamed95(core.List o) { +void checkUnnamed97(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSavedReport(o[0]); checkSavedReport(o[1]); @@ -796,7 +796,7 @@ api.ListSavedReportsResponse buildListSavedReportsResponse() { buildCounterListSavedReportsResponse++; if (buildCounterListSavedReportsResponse < 3) { o.nextPageToken = 'foo'; - o.savedReports = buildUnnamed95(); + o.savedReports = buildUnnamed97(); } buildCounterListSavedReportsResponse--; return o; @@ -809,17 +809,17 @@ void checkListSavedReportsResponse(api.ListSavedReportsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed95(o.savedReports!); + checkUnnamed97(o.savedReports!); } buildCounterListSavedReportsResponse--; } -core.List buildUnnamed96() => [ +core.List buildUnnamed98() => [ buildSite(), buildSite(), ]; -void checkUnnamed96(core.List o) { +void checkUnnamed98(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -831,7 +831,7 @@ api.ListSitesResponse buildListSitesResponse() { buildCounterListSitesResponse++; if (buildCounterListSitesResponse < 3) { o.nextPageToken = 'foo'; - o.sites = buildUnnamed96(); + o.sites = buildUnnamed98(); } buildCounterListSitesResponse--; return o; @@ -844,17 +844,17 @@ void checkListSitesResponse(api.ListSitesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed96(o.sites!); + checkUnnamed98(o.sites!); } buildCounterListSitesResponse--; } -core.List buildUnnamed97() => [ +core.List buildUnnamed99() => [ buildUrlChannel(), buildUrlChannel(), ]; -void checkUnnamed97(core.List o) { +void checkUnnamed99(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -866,7 +866,7 @@ api.ListUrlChannelsResponse buildListUrlChannelsResponse() { buildCounterListUrlChannelsResponse++; if (buildCounterListUrlChannelsResponse < 3) { o.nextPageToken = 'foo'; - o.urlChannels = buildUnnamed97(); + o.urlChannels = buildUnnamed99(); } buildCounterListUrlChannelsResponse--; return o; @@ -879,7 +879,7 @@ void checkListUrlChannelsResponse(api.ListUrlChannelsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed97(o.urlChannels!); + checkUnnamed99(o.urlChannels!); } buildCounterListUrlChannelsResponse--; } @@ -913,34 +913,34 @@ void checkPayment(api.Payment o) { buildCounterPayment--; } -core.List buildUnnamed98() => [ +core.List buildUnnamed100() => [ buildHeader(), buildHeader(), ]; -void checkUnnamed98(core.List o) { +void checkUnnamed100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHeader(o[0]); checkHeader(o[1]); } -core.List buildUnnamed99() => [ +core.List buildUnnamed101() => [ buildRow(), buildRow(), ]; -void checkUnnamed99(core.List o) { +void checkUnnamed101(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed100() => [ +core.List buildUnnamed102() => [ 'foo', 'foo', ]; -void checkUnnamed100(core.List o) { +void checkUnnamed102(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -959,12 +959,12 @@ api.ReportResult buildReportResult() { if (buildCounterReportResult < 3) { o.averages = buildRow(); o.endDate = buildDate(); - o.headers = buildUnnamed98(); - o.rows = buildUnnamed99(); + o.headers = buildUnnamed100(); + o.rows = buildUnnamed101(); o.startDate = buildDate(); o.totalMatchedRows = 'foo'; o.totals = buildRow(); - o.warnings = buildUnnamed100(); + o.warnings = buildUnnamed102(); } buildCounterReportResult--; return o; @@ -975,25 +975,25 @@ void checkReportResult(api.ReportResult o) { if (buildCounterReportResult < 3) { checkRow(o.averages!); checkDate(o.endDate!); - checkUnnamed98(o.headers!); - checkUnnamed99(o.rows!); + checkUnnamed100(o.headers!); + checkUnnamed101(o.rows!); checkDate(o.startDate!); unittest.expect( o.totalMatchedRows!, unittest.equals('foo'), ); checkRow(o.totals!); - checkUnnamed100(o.warnings!); + checkUnnamed102(o.warnings!); } buildCounterReportResult--; } -core.List buildUnnamed101() => [ +core.List buildUnnamed103() => [ buildCell(), buildCell(), ]; -void checkUnnamed101(core.List o) { +void checkUnnamed103(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCell(o[0]); checkCell(o[1]); @@ -1004,7 +1004,7 @@ api.Row buildRow() { final o = api.Row(); buildCounterRow++; if (buildCounterRow < 3) { - o.cells = buildUnnamed101(); + o.cells = buildUnnamed103(); } buildCounterRow--; return o; @@ -1013,7 +1013,7 @@ api.Row buildRow() { void checkRow(api.Row o) { buildCounterRow++; if (buildCounterRow < 3) { - checkUnnamed101(o.cells!); + checkUnnamed103(o.cells!); } buildCounterRow--; } @@ -1143,12 +1143,12 @@ void checkUrlChannel(api.UrlChannel o) { buildCounterUrlChannel--; } -core.List buildUnnamed102() => [ +core.List buildUnnamed104() => [ 'foo', 'foo', ]; -void checkUnnamed102(core.List o) { +void checkUnnamed104(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1160,12 +1160,12 @@ void checkUnnamed102(core.List o) { ); } -core.List buildUnnamed103() => [ +core.List buildUnnamed105() => [ 'foo', 'foo', ]; -void checkUnnamed103(core.List o) { +void checkUnnamed105(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1177,12 +1177,12 @@ void checkUnnamed103(core.List o) { ); } -core.List buildUnnamed104() => [ +core.List buildUnnamed106() => [ 'foo', 'foo', ]; -void checkUnnamed104(core.List o) { +void checkUnnamed106(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1194,12 +1194,12 @@ void checkUnnamed104(core.List o) { ); } -core.List buildUnnamed105() => [ +core.List buildUnnamed107() => [ 'foo', 'foo', ]; -void checkUnnamed105(core.List o) { +void checkUnnamed107(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1211,12 +1211,12 @@ void checkUnnamed105(core.List o) { ); } -core.List buildUnnamed106() => [ +core.List buildUnnamed108() => [ 'foo', 'foo', ]; -void checkUnnamed106(core.List o) { +void checkUnnamed108(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1228,12 +1228,12 @@ void checkUnnamed106(core.List o) { ); } -core.List buildUnnamed107() => [ +core.List buildUnnamed109() => [ 'foo', 'foo', ]; -void checkUnnamed107(core.List o) { +void checkUnnamed109(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1245,12 +1245,12 @@ void checkUnnamed107(core.List o) { ); } -core.List buildUnnamed108() => [ +core.List buildUnnamed110() => [ 'foo', 'foo', ]; -void checkUnnamed108(core.List o) { +void checkUnnamed110(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1262,12 +1262,12 @@ void checkUnnamed108(core.List o) { ); } -core.List buildUnnamed109() => [ +core.List buildUnnamed111() => [ 'foo', 'foo', ]; -void checkUnnamed109(core.List o) { +void checkUnnamed111(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2501,15 +2501,15 @@ void main() { final arg_account = 'foo'; final arg_currencyCode = 'foo'; final arg_dateRange = 'foo'; - final arg_dimensions = buildUnnamed102(); + final arg_dimensions = buildUnnamed104(); final arg_endDate_day = 42; final arg_endDate_month = 42; final arg_endDate_year = 42; - final arg_filters = buildUnnamed103(); + final arg_filters = buildUnnamed105(); final arg_languageCode = 'foo'; final arg_limit = 42; - final arg_metrics = buildUnnamed104(); - final arg_orderBy = buildUnnamed105(); + final arg_metrics = buildUnnamed106(); + final arg_orderBy = buildUnnamed107(); final arg_reportingTimeZone = 'foo'; final arg_startDate_day = 42; final arg_startDate_month = 42; @@ -2644,15 +2644,15 @@ void main() { final arg_account = 'foo'; final arg_currencyCode = 'foo'; final arg_dateRange = 'foo'; - final arg_dimensions = buildUnnamed106(); + final arg_dimensions = buildUnnamed108(); final arg_endDate_day = 42; final arg_endDate_month = 42; final arg_endDate_year = 42; - final arg_filters = buildUnnamed107(); + final arg_filters = buildUnnamed109(); final arg_languageCode = 'foo'; final arg_limit = 42; - final arg_metrics = buildUnnamed108(); - final arg_orderBy = buildUnnamed109(); + final arg_metrics = buildUnnamed110(); + final arg_orderBy = buildUnnamed111(); final arg_reportingTimeZone = 'foo'; final arg_startDate_day = 42; final arg_startDate_month = 42; diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart index 6ddb0f5f9..dba767cf5 100644 --- a/generated/googleapis/test/adsensehost/v4_1_test.dart +++ b/generated/googleapis/test/adsensehost/v4_1_test.dart @@ -63,12 +63,12 @@ void checkAccount(api.Account o) { buildCounterAccount--; } -core.List buildUnnamed5699() => [ +core.List buildUnnamed5764() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed5699(core.List o) { +void checkUnnamed5764(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -80,7 +80,7 @@ api.Accounts buildAccounts() { buildCounterAccounts++; if (buildCounterAccounts < 3) { o.etag = 'foo'; - o.items = buildUnnamed5699(); + o.items = buildUnnamed5764(); o.kind = 'foo'; } buildCounterAccounts--; @@ -94,7 +94,7 @@ void checkAccounts(api.Accounts o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5699(o.items!); + checkUnnamed5764(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -139,12 +139,12 @@ void checkAdClient(api.AdClient o) { buildCounterAdClient--; } -core.List buildUnnamed5700() => [ +core.List buildUnnamed5765() => [ buildAdClient(), buildAdClient(), ]; -void checkUnnamed5700(core.List o) { +void checkUnnamed5765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdClient(o[0]); checkAdClient(o[1]); @@ -156,7 +156,7 @@ api.AdClients buildAdClients() { buildCounterAdClients++; if (buildCounterAdClients < 3) { o.etag = 'foo'; - o.items = buildUnnamed5700(); + o.items = buildUnnamed5765(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -171,7 +171,7 @@ void checkAdClients(api.AdClients o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5700(o.items!); + checkUnnamed5765(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -459,12 +459,12 @@ void checkAdUnit(api.AdUnit o) { buildCounterAdUnit--; } -core.List buildUnnamed5701() => [ +core.List buildUnnamed5766() => [ buildAdUnit(), buildAdUnit(), ]; -void checkUnnamed5701(core.List o) { +void checkUnnamed5766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdUnit(o[0]); checkAdUnit(o[1]); @@ -476,7 +476,7 @@ api.AdUnits buildAdUnits() { buildCounterAdUnits++; if (buildCounterAdUnits < 3) { o.etag = 'foo'; - o.items = buildUnnamed5701(); + o.items = buildUnnamed5766(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -491,7 +491,7 @@ void checkAdUnits(api.AdUnits o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5701(o.items!); + checkUnnamed5766(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -504,12 +504,12 @@ void checkAdUnits(api.AdUnits o) { buildCounterAdUnits--; } -core.List buildUnnamed5702() => [ +core.List buildUnnamed5767() => [ 'foo', 'foo', ]; -void checkUnnamed5702(core.List o) { +void checkUnnamed5767(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -529,7 +529,7 @@ api.AssociationSession buildAssociationSession() { o.accountId = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.productCodes = buildUnnamed5702(); + o.productCodes = buildUnnamed5767(); o.redirectUrl = 'foo'; o.status = 'foo'; o.userLocale = 'foo'; @@ -555,7 +555,7 @@ void checkAssociationSession(api.AssociationSession o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5702(o.productCodes!); + checkUnnamed5767(o.productCodes!); unittest.expect( o.redirectUrl!, unittest.equals('foo'), @@ -617,12 +617,12 @@ void checkCustomChannel(api.CustomChannel o) { buildCounterCustomChannel--; } -core.List buildUnnamed5703() => [ +core.List buildUnnamed5768() => [ buildCustomChannel(), buildCustomChannel(), ]; -void checkUnnamed5703(core.List o) { +void checkUnnamed5768(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomChannel(o[0]); checkCustomChannel(o[1]); @@ -634,7 +634,7 @@ api.CustomChannels buildCustomChannels() { buildCounterCustomChannels++; if (buildCounterCustomChannels < 3) { o.etag = 'foo'; - o.items = buildUnnamed5703(); + o.items = buildUnnamed5768(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -649,7 +649,7 @@ void checkCustomChannels(api.CustomChannels o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5703(o.items!); + checkUnnamed5768(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -662,12 +662,12 @@ void checkCustomChannels(api.CustomChannels o) { buildCounterCustomChannels--; } -core.List buildUnnamed5704() => [ +core.List buildUnnamed5769() => [ 'foo', 'foo', ]; -void checkUnnamed5704(core.List o) { +void checkUnnamed5769(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -711,23 +711,23 @@ void checkReportHeaders(api.ReportHeaders o) { buildCounterReportHeaders--; } -core.List buildUnnamed5705() => [ +core.List buildUnnamed5770() => [ buildReportHeaders(), buildReportHeaders(), ]; -void checkUnnamed5705(core.List o) { +void checkUnnamed5770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportHeaders(o[0]); checkReportHeaders(o[1]); } -core.List buildUnnamed5706() => [ +core.List buildUnnamed5771() => [ 'foo', 'foo', ]; -void checkUnnamed5706(core.List o) { +void checkUnnamed5771(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -739,23 +739,23 @@ void checkUnnamed5706(core.List o) { ); } -core.List> buildUnnamed5707() => [ - buildUnnamed5706(), - buildUnnamed5706(), +core.List> buildUnnamed5772() => [ + buildUnnamed5771(), + buildUnnamed5771(), ]; -void checkUnnamed5707(core.List> o) { +void checkUnnamed5772(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5706(o[0]); - checkUnnamed5706(o[1]); + checkUnnamed5771(o[0]); + checkUnnamed5771(o[1]); } -core.List buildUnnamed5708() => [ +core.List buildUnnamed5773() => [ 'foo', 'foo', ]; -void checkUnnamed5708(core.List o) { +void checkUnnamed5773(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -767,12 +767,12 @@ void checkUnnamed5708(core.List o) { ); } -core.List buildUnnamed5709() => [ +core.List buildUnnamed5774() => [ 'foo', 'foo', ]; -void checkUnnamed5709(core.List o) { +void checkUnnamed5774(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -789,13 +789,13 @@ api.Report buildReport() { final o = api.Report(); buildCounterReport++; if (buildCounterReport < 3) { - o.averages = buildUnnamed5704(); - o.headers = buildUnnamed5705(); + o.averages = buildUnnamed5769(); + o.headers = buildUnnamed5770(); o.kind = 'foo'; - o.rows = buildUnnamed5707(); + o.rows = buildUnnamed5772(); o.totalMatchedRows = 'foo'; - o.totals = buildUnnamed5708(); - o.warnings = buildUnnamed5709(); + o.totals = buildUnnamed5773(); + o.warnings = buildUnnamed5774(); } buildCounterReport--; return o; @@ -804,19 +804,19 @@ api.Report buildReport() { void checkReport(api.Report o) { buildCounterReport++; if (buildCounterReport < 3) { - checkUnnamed5704(o.averages!); - checkUnnamed5705(o.headers!); + checkUnnamed5769(o.averages!); + checkUnnamed5770(o.headers!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5707(o.rows!); + checkUnnamed5772(o.rows!); unittest.expect( o.totalMatchedRows!, unittest.equals('foo'), ); - checkUnnamed5708(o.totals!); - checkUnnamed5709(o.warnings!); + checkUnnamed5773(o.totals!); + checkUnnamed5774(o.warnings!); } buildCounterReport--; } @@ -853,12 +853,12 @@ void checkUrlChannel(api.UrlChannel o) { buildCounterUrlChannel--; } -core.List buildUnnamed5710() => [ +core.List buildUnnamed5775() => [ buildUrlChannel(), buildUrlChannel(), ]; -void checkUnnamed5710(core.List o) { +void checkUnnamed5775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlChannel(o[0]); checkUrlChannel(o[1]); @@ -870,7 +870,7 @@ api.UrlChannels buildUrlChannels() { buildCounterUrlChannels++; if (buildCounterUrlChannels < 3) { o.etag = 'foo'; - o.items = buildUnnamed5710(); + o.items = buildUnnamed5775(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -885,7 +885,7 @@ void checkUrlChannels(api.UrlChannels o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5710(o.items!); + checkUnnamed5775(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -898,12 +898,12 @@ void checkUrlChannels(api.UrlChannels o) { buildCounterUrlChannels--; } -core.List buildUnnamed5711() => [ +core.List buildUnnamed5776() => [ 'foo', 'foo', ]; -void checkUnnamed5711(core.List o) { +void checkUnnamed5776(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -915,12 +915,12 @@ void checkUnnamed5711(core.List o) { ); } -core.List buildUnnamed5712() => [ +core.List buildUnnamed5777() => [ 'foo', 'foo', ]; -void checkUnnamed5712(core.List o) { +void checkUnnamed5777(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -932,12 +932,12 @@ void checkUnnamed5712(core.List o) { ); } -core.List buildUnnamed5713() => [ +core.List buildUnnamed5778() => [ 'foo', 'foo', ]; -void checkUnnamed5713(core.List o) { +void checkUnnamed5778(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -949,12 +949,12 @@ void checkUnnamed5713(core.List o) { ); } -core.List buildUnnamed5714() => [ +core.List buildUnnamed5779() => [ 'foo', 'foo', ]; -void checkUnnamed5714(core.List o) { +void checkUnnamed5779(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -966,12 +966,12 @@ void checkUnnamed5714(core.List o) { ); } -core.List buildUnnamed5715() => [ +core.List buildUnnamed5780() => [ 'foo', 'foo', ]; -void checkUnnamed5715(core.List o) { +void checkUnnamed5780(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -983,12 +983,12 @@ void checkUnnamed5715(core.List o) { ); } -core.List buildUnnamed5716() => [ +core.List buildUnnamed5781() => [ 'foo', 'foo', ]; -void checkUnnamed5716(core.List o) { +void checkUnnamed5781(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1000,12 +1000,12 @@ void checkUnnamed5716(core.List o) { ); } -core.List buildUnnamed5717() => [ +core.List buildUnnamed5782() => [ 'foo', 'foo', ]; -void checkUnnamed5717(core.List o) { +void checkUnnamed5782(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1017,12 +1017,12 @@ void checkUnnamed5717(core.List o) { ); } -core.List buildUnnamed5718() => [ +core.List buildUnnamed5783() => [ 'foo', 'foo', ]; -void checkUnnamed5718(core.List o) { +void checkUnnamed5783(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1034,12 +1034,12 @@ void checkUnnamed5718(core.List o) { ); } -core.List buildUnnamed5719() => [ +core.List buildUnnamed5784() => [ 'foo', 'foo', ]; -void checkUnnamed5719(core.List o) { +void checkUnnamed5784(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1051,12 +1051,12 @@ void checkUnnamed5719(core.List o) { ); } -core.List buildUnnamed5720() => [ +core.List buildUnnamed5785() => [ 'foo', 'foo', ]; -void checkUnnamed5720(core.List o) { +void checkUnnamed5785(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1068,12 +1068,12 @@ void checkUnnamed5720(core.List o) { ); } -core.List buildUnnamed5721() => [ +core.List buildUnnamed5786() => [ 'foo', 'foo', ]; -void checkUnnamed5721(core.List o) { +void checkUnnamed5786(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1352,7 +1352,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.AdSenseHostApi(mock).accounts; - final arg_filterAdClientId = buildUnnamed5711(); + final arg_filterAdClientId = buildUnnamed5776(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1769,7 +1769,7 @@ void main() { final arg_accountId = 'foo'; final arg_adClientId = 'foo'; final arg_adUnitId = 'foo'; - final arg_hostCustomChannelId = buildUnnamed5712(); + final arg_hostCustomChannelId = buildUnnamed5777(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2263,12 +2263,12 @@ void main() { final arg_accountId = 'foo'; final arg_startDate = 'foo'; final arg_endDate = 'foo'; - final arg_dimension = buildUnnamed5713(); - final arg_filter = buildUnnamed5714(); + final arg_dimension = buildUnnamed5778(); + final arg_filter = buildUnnamed5779(); final arg_locale = 'foo'; final arg_maxResults = 42; - final arg_metric = buildUnnamed5715(); - final arg_sort = buildUnnamed5716(); + final arg_metric = buildUnnamed5780(); + final arg_sort = buildUnnamed5781(); final arg_startIndex = 42; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -2518,7 +2518,7 @@ void main() { unittest.test('method--start', () async { final mock = HttpServerMock(); final res = api.AdSenseHostApi(mock).associationsessions; - final arg_productCode = buildUnnamed5717(); + final arg_productCode = buildUnnamed5782(); final arg_websiteUrl = 'foo'; final arg_callbackUrl = 'foo'; final arg_userLocale = 'foo'; @@ -3141,12 +3141,12 @@ void main() { final res = api.AdSenseHostApi(mock).reports; final arg_startDate = 'foo'; final arg_endDate = 'foo'; - final arg_dimension = buildUnnamed5718(); - final arg_filter = buildUnnamed5719(); + final arg_dimension = buildUnnamed5783(); + final arg_filter = buildUnnamed5784(); final arg_locale = 'foo'; final arg_maxResults = 42; - final arg_metric = buildUnnamed5720(); - final arg_sort = buildUnnamed5721(); + final arg_metric = buildUnnamed5785(); + final arg_sort = buildUnnamed5786(); final arg_startIndex = 42; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart index 0754aec7d..03d9855cc 100644 --- a/generated/googleapis/test/analytics/v3_test.dart +++ b/generated/googleapis/test/analytics/v3_test.dart @@ -53,12 +53,12 @@ void checkAccountChildLink(api.AccountChildLink o) { buildCounterAccountChildLink--; } -core.List buildUnnamed5794() => [ +core.List buildUnnamed5860() => [ 'foo', 'foo', ]; -void checkUnnamed5794(core.List o) { +void checkUnnamed5860(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -75,7 +75,7 @@ api.AccountPermissions buildAccountPermissions() { final o = api.AccountPermissions(); buildCounterAccountPermissions++; if (buildCounterAccountPermissions < 3) { - o.effective = buildUnnamed5794(); + o.effective = buildUnnamed5860(); } buildCounterAccountPermissions--; return o; @@ -84,7 +84,7 @@ api.AccountPermissions buildAccountPermissions() { void checkAccountPermissions(api.AccountPermissions o) { buildCounterAccountPermissions++; if (buildCounterAccountPermissions < 3) { - checkUnnamed5794(o.effective!); + checkUnnamed5860(o.effective!); } buildCounterAccountPermissions--; } @@ -179,12 +179,12 @@ void checkAccountRef(api.AccountRef o) { buildCounterAccountRef--; } -core.List buildUnnamed5795() => [ +core.List buildUnnamed5861() => [ buildAccountSummary(), buildAccountSummary(), ]; -void checkUnnamed5795(core.List o) { +void checkUnnamed5861(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountSummary(o[0]); checkAccountSummary(o[1]); @@ -195,7 +195,7 @@ api.AccountSummaries buildAccountSummaries() { final o = api.AccountSummaries(); buildCounterAccountSummaries++; if (buildCounterAccountSummaries < 3) { - o.items = buildUnnamed5795(); + o.items = buildUnnamed5861(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -211,7 +211,7 @@ api.AccountSummaries buildAccountSummaries() { void checkAccountSummaries(api.AccountSummaries o) { buildCounterAccountSummaries++; if (buildCounterAccountSummaries < 3) { - checkUnnamed5795(o.items!); + checkUnnamed5861(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -244,12 +244,12 @@ void checkAccountSummaries(api.AccountSummaries o) { buildCounterAccountSummaries--; } -core.List buildUnnamed5796() => [ +core.List buildUnnamed5862() => [ buildWebPropertySummary(), buildWebPropertySummary(), ]; -void checkUnnamed5796(core.List o) { +void checkUnnamed5862(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebPropertySummary(o[0]); checkWebPropertySummary(o[1]); @@ -264,7 +264,7 @@ api.AccountSummary buildAccountSummary() { o.kind = 'foo'; o.name = 'foo'; o.starred = true; - o.webProperties = buildUnnamed5796(); + o.webProperties = buildUnnamed5862(); } buildCounterAccountSummary--; return o; @@ -286,7 +286,7 @@ void checkAccountSummary(api.AccountSummary o) { unittest.equals('foo'), ); unittest.expect(o.starred!, unittest.isTrue); - checkUnnamed5796(o.webProperties!); + checkUnnamed5862(o.webProperties!); } buildCounterAccountSummary--; } @@ -404,12 +404,12 @@ void checkAccountTreeResponse(api.AccountTreeResponse o) { buildCounterAccountTreeResponse--; } -core.List buildUnnamed5797() => [ +core.List buildUnnamed5863() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed5797(core.List o) { +void checkUnnamed5863(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -420,7 +420,7 @@ api.Accounts buildAccounts() { final o = api.Accounts(); buildCounterAccounts++; if (buildCounterAccounts < 3) { - o.items = buildUnnamed5797(); + o.items = buildUnnamed5863(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -436,7 +436,7 @@ api.Accounts buildAccounts() { void checkAccounts(api.Accounts o) { buildCounterAccounts++; if (buildCounterAccounts < 3) { - checkUnnamed5797(o.items!); + checkUnnamed5863(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -498,12 +498,12 @@ void checkAdWordsAccount(api.AdWordsAccount o) { buildCounterAdWordsAccount--; } -core.List buildUnnamed5798() => [ +core.List buildUnnamed5864() => [ 'foo', 'foo', ]; -void checkUnnamed5798(core.List o) { +void checkUnnamed5864(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -521,7 +521,7 @@ api.AnalyticsDataimportDeleteUploadDataRequest final o = api.AnalyticsDataimportDeleteUploadDataRequest(); buildCounterAnalyticsDataimportDeleteUploadDataRequest++; if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) { - o.customDataImportUids = buildUnnamed5798(); + o.customDataImportUids = buildUnnamed5864(); } buildCounterAnalyticsDataimportDeleteUploadDataRequest--; return o; @@ -531,17 +531,17 @@ void checkAnalyticsDataimportDeleteUploadDataRequest( api.AnalyticsDataimportDeleteUploadDataRequest o) { buildCounterAnalyticsDataimportDeleteUploadDataRequest++; if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) { - checkUnnamed5798(o.customDataImportUids!); + checkUnnamed5864(o.customDataImportUids!); } buildCounterAnalyticsDataimportDeleteUploadDataRequest--; } -core.Map buildUnnamed5799() => { +core.Map buildUnnamed5865() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5799(core.Map o) { +void checkUnnamed5865(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -558,7 +558,7 @@ api.Column buildColumn() { final o = api.Column(); buildCounterColumn++; if (buildCounterColumn < 3) { - o.attributes = buildUnnamed5799(); + o.attributes = buildUnnamed5865(); o.id = 'foo'; o.kind = 'foo'; } @@ -569,7 +569,7 @@ api.Column buildColumn() { void checkColumn(api.Column o) { buildCounterColumn++; if (buildCounterColumn < 3) { - checkUnnamed5799(o.attributes!); + checkUnnamed5865(o.attributes!); unittest.expect( o.id!, unittest.equals('foo'), @@ -582,12 +582,12 @@ void checkColumn(api.Column o) { buildCounterColumn--; } -core.List buildUnnamed5800() => [ +core.List buildUnnamed5866() => [ 'foo', 'foo', ]; -void checkUnnamed5800(core.List o) { +void checkUnnamed5866(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -599,12 +599,12 @@ void checkUnnamed5800(core.List o) { ); } -core.List buildUnnamed5801() => [ +core.List buildUnnamed5867() => [ buildColumn(), buildColumn(), ]; -void checkUnnamed5801(core.List o) { +void checkUnnamed5867(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkColumn(o[0]); checkColumn(o[1]); @@ -615,9 +615,9 @@ api.Columns buildColumns() { final o = api.Columns(); buildCounterColumns++; if (buildCounterColumns < 3) { - o.attributeNames = buildUnnamed5800(); + o.attributeNames = buildUnnamed5866(); o.etag = 'foo'; - o.items = buildUnnamed5801(); + o.items = buildUnnamed5867(); o.kind = 'foo'; o.totalResults = 42; } @@ -628,12 +628,12 @@ api.Columns buildColumns() { void checkColumns(api.Columns o) { buildCounterColumns++; if (buildCounterColumns < 3) { - checkUnnamed5800(o.attributeNames!); + checkUnnamed5866(o.attributeNames!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed5801(o.items!); + checkUnnamed5867(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -700,12 +700,12 @@ void checkCustomDataSourceParentLink(api.CustomDataSourceParentLink o) { buildCounterCustomDataSourceParentLink--; } -core.List buildUnnamed5802() => [ +core.List buildUnnamed5868() => [ 'foo', 'foo', ]; -void checkUnnamed5802(core.List o) { +void checkUnnamed5868(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -717,12 +717,12 @@ void checkUnnamed5802(core.List o) { ); } -core.List buildUnnamed5803() => [ +core.List buildUnnamed5869() => [ 'foo', 'foo', ]; -void checkUnnamed5803(core.List o) { +void checkUnnamed5869(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -748,8 +748,8 @@ api.CustomDataSource buildCustomDataSource() { o.kind = 'foo'; o.name = 'foo'; o.parentLink = buildCustomDataSourceParentLink(); - o.profilesLinked = buildUnnamed5802(); - o.schema = buildUnnamed5803(); + o.profilesLinked = buildUnnamed5868(); + o.schema = buildUnnamed5869(); o.selfLink = 'foo'; o.type = 'foo'; o.updated = core.DateTime.parse('2002-02-27T14:01:02'); @@ -793,8 +793,8 @@ void checkCustomDataSource(api.CustomDataSource o) { unittest.equals('foo'), ); checkCustomDataSourceParentLink(o.parentLink!); - checkUnnamed5802(o.profilesLinked!); - checkUnnamed5803(o.schema!); + checkUnnamed5868(o.profilesLinked!); + checkUnnamed5869(o.schema!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -819,12 +819,12 @@ void checkCustomDataSource(api.CustomDataSource o) { buildCounterCustomDataSource--; } -core.List buildUnnamed5804() => [ +core.List buildUnnamed5870() => [ buildCustomDataSource(), buildCustomDataSource(), ]; -void checkUnnamed5804(core.List o) { +void checkUnnamed5870(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomDataSource(o[0]); checkCustomDataSource(o[1]); @@ -835,7 +835,7 @@ api.CustomDataSources buildCustomDataSources() { final o = api.CustomDataSources(); buildCounterCustomDataSources++; if (buildCounterCustomDataSources < 3) { - o.items = buildUnnamed5804(); + o.items = buildUnnamed5870(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -851,7 +851,7 @@ api.CustomDataSources buildCustomDataSources() { void checkCustomDataSources(api.CustomDataSources o) { buildCounterCustomDataSources++; if (buildCounterCustomDataSources < 3) { - checkUnnamed5804(o.items!); + checkUnnamed5870(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -982,12 +982,12 @@ void checkCustomDimension(api.CustomDimension o) { buildCounterCustomDimension--; } -core.List buildUnnamed5805() => [ +core.List buildUnnamed5871() => [ buildCustomDimension(), buildCustomDimension(), ]; -void checkUnnamed5805(core.List o) { +void checkUnnamed5871(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomDimension(o[0]); checkCustomDimension(o[1]); @@ -998,7 +998,7 @@ api.CustomDimensions buildCustomDimensions() { final o = api.CustomDimensions(); buildCounterCustomDimensions++; if (buildCounterCustomDimensions < 3) { - o.items = buildUnnamed5805(); + o.items = buildUnnamed5871(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -1014,7 +1014,7 @@ api.CustomDimensions buildCustomDimensions() { void checkCustomDimensions(api.CustomDimensions o) { buildCounterCustomDimensions++; if (buildCounterCustomDimensions < 3) { - checkUnnamed5805(o.items!); + checkUnnamed5871(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -1160,12 +1160,12 @@ void checkCustomMetric(api.CustomMetric o) { buildCounterCustomMetric--; } -core.List buildUnnamed5806() => [ +core.List buildUnnamed5872() => [ buildCustomMetric(), buildCustomMetric(), ]; -void checkUnnamed5806(core.List o) { +void checkUnnamed5872(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomMetric(o[0]); checkCustomMetric(o[1]); @@ -1176,7 +1176,7 @@ api.CustomMetrics buildCustomMetrics() { final o = api.CustomMetrics(); buildCounterCustomMetrics++; if (buildCounterCustomMetrics < 3) { - o.items = buildUnnamed5806(); + o.items = buildUnnamed5872(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -1192,7 +1192,7 @@ api.CustomMetrics buildCustomMetrics() { void checkCustomMetrics(api.CustomMetrics o) { buildCounterCustomMetrics++; if (buildCounterCustomMetrics < 3) { - checkUnnamed5806(o.items!); + checkUnnamed5872(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -1225,12 +1225,12 @@ void checkCustomMetrics(api.CustomMetrics o) { buildCounterCustomMetrics--; } -core.List buildUnnamed5807() => [ +core.List buildUnnamed5873() => [ buildAdWordsAccount(), buildAdWordsAccount(), ]; -void checkUnnamed5807(core.List o) { +void checkUnnamed5873(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdWordsAccount(o[0]); checkAdWordsAccount(o[1]); @@ -1255,12 +1255,12 @@ void checkEntityAdWordsLinkEntity(api.EntityAdWordsLinkEntity o) { buildCounterEntityAdWordsLinkEntity--; } -core.List buildUnnamed5808() => [ +core.List buildUnnamed5874() => [ 'foo', 'foo', ]; -void checkUnnamed5808(core.List o) { +void checkUnnamed5874(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1277,12 +1277,12 @@ api.EntityAdWordsLink buildEntityAdWordsLink() { final o = api.EntityAdWordsLink(); buildCounterEntityAdWordsLink++; if (buildCounterEntityAdWordsLink < 3) { - o.adWordsAccounts = buildUnnamed5807(); + o.adWordsAccounts = buildUnnamed5873(); o.entity = buildEntityAdWordsLinkEntity(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.profileIds = buildUnnamed5808(); + o.profileIds = buildUnnamed5874(); o.selfLink = 'foo'; } buildCounterEntityAdWordsLink--; @@ -1292,7 +1292,7 @@ api.EntityAdWordsLink buildEntityAdWordsLink() { void checkEntityAdWordsLink(api.EntityAdWordsLink o) { buildCounterEntityAdWordsLink++; if (buildCounterEntityAdWordsLink < 3) { - checkUnnamed5807(o.adWordsAccounts!); + checkUnnamed5873(o.adWordsAccounts!); checkEntityAdWordsLinkEntity(o.entity!); unittest.expect( o.id!, @@ -1306,7 +1306,7 @@ void checkEntityAdWordsLink(api.EntityAdWordsLink o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5808(o.profileIds!); + checkUnnamed5874(o.profileIds!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -1315,12 +1315,12 @@ void checkEntityAdWordsLink(api.EntityAdWordsLink o) { buildCounterEntityAdWordsLink--; } -core.List buildUnnamed5809() => [ +core.List buildUnnamed5875() => [ buildEntityAdWordsLink(), buildEntityAdWordsLink(), ]; -void checkUnnamed5809(core.List o) { +void checkUnnamed5875(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityAdWordsLink(o[0]); checkEntityAdWordsLink(o[1]); @@ -1331,7 +1331,7 @@ api.EntityAdWordsLinks buildEntityAdWordsLinks() { final o = api.EntityAdWordsLinks(); buildCounterEntityAdWordsLinks++; if (buildCounterEntityAdWordsLinks < 3) { - o.items = buildUnnamed5809(); + o.items = buildUnnamed5875(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -1346,7 +1346,7 @@ api.EntityAdWordsLinks buildEntityAdWordsLinks() { void checkEntityAdWordsLinks(api.EntityAdWordsLinks o) { buildCounterEntityAdWordsLinks++; if (buildCounterEntityAdWordsLinks < 3) { - checkUnnamed5809(o.items!); + checkUnnamed5875(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -1398,12 +1398,12 @@ void checkEntityUserLinkEntity(api.EntityUserLinkEntity o) { buildCounterEntityUserLinkEntity--; } -core.List buildUnnamed5810() => [ +core.List buildUnnamed5876() => [ 'foo', 'foo', ]; -void checkUnnamed5810(core.List o) { +void checkUnnamed5876(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1415,12 +1415,12 @@ void checkUnnamed5810(core.List o) { ); } -core.List buildUnnamed5811() => [ +core.List buildUnnamed5877() => [ 'foo', 'foo', ]; -void checkUnnamed5811(core.List o) { +void checkUnnamed5877(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1437,8 +1437,8 @@ api.EntityUserLinkPermissions buildEntityUserLinkPermissions() { final o = api.EntityUserLinkPermissions(); buildCounterEntityUserLinkPermissions++; if (buildCounterEntityUserLinkPermissions < 3) { - o.effective = buildUnnamed5810(); - o.local = buildUnnamed5811(); + o.effective = buildUnnamed5876(); + o.local = buildUnnamed5877(); } buildCounterEntityUserLinkPermissions--; return o; @@ -1447,8 +1447,8 @@ api.EntityUserLinkPermissions buildEntityUserLinkPermissions() { void checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) { buildCounterEntityUserLinkPermissions++; if (buildCounterEntityUserLinkPermissions < 3) { - checkUnnamed5810(o.effective!); - checkUnnamed5811(o.local!); + checkUnnamed5876(o.effective!); + checkUnnamed5877(o.local!); } buildCounterEntityUserLinkPermissions--; } @@ -1491,12 +1491,12 @@ void checkEntityUserLink(api.EntityUserLink o) { buildCounterEntityUserLink--; } -core.List buildUnnamed5812() => [ +core.List buildUnnamed5878() => [ buildEntityUserLink(), buildEntityUserLink(), ]; -void checkUnnamed5812(core.List o) { +void checkUnnamed5878(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityUserLink(o[0]); checkEntityUserLink(o[1]); @@ -1507,7 +1507,7 @@ api.EntityUserLinks buildEntityUserLinks() { final o = api.EntityUserLinks(); buildCounterEntityUserLinks++; if (buildCounterEntityUserLinks < 3) { - o.items = buildUnnamed5812(); + o.items = buildUnnamed5878(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -1522,7 +1522,7 @@ api.EntityUserLinks buildEntityUserLinks() { void checkEntityUserLinks(api.EntityUserLinks o) { buildCounterEntityUserLinks++; if (buildCounterEntityUserLinks < 3) { - checkUnnamed5812(o.items!); + checkUnnamed5878(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -1617,12 +1617,12 @@ void checkExperimentVariations(api.ExperimentVariations o) { buildCounterExperimentVariations--; } -core.List buildUnnamed5813() => [ +core.List buildUnnamed5879() => [ buildExperimentVariations(), buildExperimentVariations(), ]; -void checkUnnamed5813(core.List o) { +void checkUnnamed5879(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExperimentVariations(o[0]); checkExperimentVariations(o[1]); @@ -1657,7 +1657,7 @@ api.Experiment buildExperiment() { o.status = 'foo'; o.trafficCoverage = 42.0; o.updated = core.DateTime.parse('2002-02-27T14:01:02'); - o.variations = buildUnnamed5813(); + o.variations = buildUnnamed5879(); o.webPropertyId = 'foo'; o.winnerConfidenceLevel = 42.0; o.winnerFound = true; @@ -1753,7 +1753,7 @@ void checkExperiment(api.Experiment o) { o.updated!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed5813(o.variations!); + checkUnnamed5879(o.variations!); unittest.expect( o.webPropertyId!, unittest.equals('foo'), @@ -1767,12 +1767,12 @@ void checkExperiment(api.Experiment o) { buildCounterExperiment--; } -core.List buildUnnamed5814() => [ +core.List buildUnnamed5880() => [ buildExperiment(), buildExperiment(), ]; -void checkUnnamed5814(core.List o) { +void checkUnnamed5880(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExperiment(o[0]); checkExperiment(o[1]); @@ -1783,7 +1783,7 @@ api.Experiments buildExperiments() { final o = api.Experiments(); buildCounterExperiments++; if (buildCounterExperiments < 3) { - o.items = buildUnnamed5814(); + o.items = buildUnnamed5880(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -1799,7 +1799,7 @@ api.Experiments buildExperiments() { void checkExperiments(api.Experiments o) { buildCounterExperiments++; if (buildCounterExperiments < 3) { - checkUnnamed5814(o.items!); + checkUnnamed5880(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -2179,12 +2179,12 @@ void checkFilterRef(api.FilterRef o) { buildCounterFilterRef--; } -core.List buildUnnamed5815() => [ +core.List buildUnnamed5881() => [ buildFilter(), buildFilter(), ]; -void checkUnnamed5815(core.List o) { +void checkUnnamed5881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilter(o[0]); checkFilter(o[1]); @@ -2195,7 +2195,7 @@ api.Filters buildFilters() { final o = api.Filters(); buildCounterFilters++; if (buildCounterFilters < 3) { - o.items = buildUnnamed5815(); + o.items = buildUnnamed5881(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -2211,7 +2211,7 @@ api.Filters buildFilters() { void checkFilters(api.Filters o) { buildCounterFilters++; if (buildCounterFilters < 3) { - checkUnnamed5815(o.items!); + checkUnnamed5881(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -2276,12 +2276,12 @@ void checkGaDataColumnHeaders(api.GaDataColumnHeaders o) { buildCounterGaDataColumnHeaders--; } -core.List buildUnnamed5816() => [ +core.List buildUnnamed5882() => [ buildGaDataColumnHeaders(), buildGaDataColumnHeaders(), ]; -void checkUnnamed5816(core.List o) { +void checkUnnamed5882(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGaDataColumnHeaders(o[0]); checkGaDataColumnHeaders(o[1]); @@ -2319,12 +2319,12 @@ void checkGaDataDataTableCols(api.GaDataDataTableCols o) { buildCounterGaDataDataTableCols--; } -core.List buildUnnamed5817() => [ +core.List buildUnnamed5883() => [ buildGaDataDataTableCols(), buildGaDataDataTableCols(), ]; -void checkUnnamed5817(core.List o) { +void checkUnnamed5883(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGaDataDataTableCols(o[0]); checkGaDataDataTableCols(o[1]); @@ -2352,12 +2352,12 @@ void checkGaDataDataTableRowsC(api.GaDataDataTableRowsC o) { buildCounterGaDataDataTableRowsC--; } -core.List buildUnnamed5818() => [ +core.List buildUnnamed5884() => [ buildGaDataDataTableRowsC(), buildGaDataDataTableRowsC(), ]; -void checkUnnamed5818(core.List o) { +void checkUnnamed5884(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGaDataDataTableRowsC(o[0]); checkGaDataDataTableRowsC(o[1]); @@ -2368,7 +2368,7 @@ api.GaDataDataTableRows buildGaDataDataTableRows() { final o = api.GaDataDataTableRows(); buildCounterGaDataDataTableRows++; if (buildCounterGaDataDataTableRows < 3) { - o.c = buildUnnamed5818(); + o.c = buildUnnamed5884(); } buildCounterGaDataDataTableRows--; return o; @@ -2377,17 +2377,17 @@ api.GaDataDataTableRows buildGaDataDataTableRows() { void checkGaDataDataTableRows(api.GaDataDataTableRows o) { buildCounterGaDataDataTableRows++; if (buildCounterGaDataDataTableRows < 3) { - checkUnnamed5818(o.c!); + checkUnnamed5884(o.c!); } buildCounterGaDataDataTableRows--; } -core.List buildUnnamed5819() => [ +core.List buildUnnamed5885() => [ buildGaDataDataTableRows(), buildGaDataDataTableRows(), ]; -void checkUnnamed5819(core.List o) { +void checkUnnamed5885(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGaDataDataTableRows(o[0]); checkGaDataDataTableRows(o[1]); @@ -2398,8 +2398,8 @@ api.GaDataDataTable buildGaDataDataTable() { final o = api.GaDataDataTable(); buildCounterGaDataDataTable++; if (buildCounterGaDataDataTable < 3) { - o.cols = buildUnnamed5817(); - o.rows = buildUnnamed5819(); + o.cols = buildUnnamed5883(); + o.rows = buildUnnamed5885(); } buildCounterGaDataDataTable--; return o; @@ -2408,8 +2408,8 @@ api.GaDataDataTable buildGaDataDataTable() { void checkGaDataDataTable(api.GaDataDataTable o) { buildCounterGaDataDataTable++; if (buildCounterGaDataDataTable < 3) { - checkUnnamed5817(o.cols!); - checkUnnamed5819(o.rows!); + checkUnnamed5883(o.cols!); + checkUnnamed5885(o.rows!); } buildCounterGaDataDataTable--; } @@ -2461,12 +2461,12 @@ void checkGaDataProfileInfo(api.GaDataProfileInfo o) { buildCounterGaDataProfileInfo--; } -core.List buildUnnamed5820() => [ +core.List buildUnnamed5886() => [ 'foo', 'foo', ]; -void checkUnnamed5820(core.List o) { +void checkUnnamed5886(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2478,12 +2478,12 @@ void checkUnnamed5820(core.List o) { ); } -core.List buildUnnamed5821() => [ +core.List buildUnnamed5887() => [ 'foo', 'foo', ]; -void checkUnnamed5821(core.List o) { +void checkUnnamed5887(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2505,10 +2505,10 @@ api.GaDataQuery buildGaDataQuery() { o.filters = 'foo'; o.ids = 'foo'; o.maxResults = 42; - o.metrics = buildUnnamed5820(); + o.metrics = buildUnnamed5886(); o.samplingLevel = 'foo'; o.segment = 'foo'; - o.sort = buildUnnamed5821(); + o.sort = buildUnnamed5887(); o.startDate = 'foo'; o.startIndex = 42; } @@ -2539,7 +2539,7 @@ void checkGaDataQuery(api.GaDataQuery o) { o.maxResults!, unittest.equals(42), ); - checkUnnamed5820(o.metrics!); + checkUnnamed5886(o.metrics!); unittest.expect( o.samplingLevel!, unittest.equals('foo'), @@ -2548,7 +2548,7 @@ void checkGaDataQuery(api.GaDataQuery o) { o.segment!, unittest.equals('foo'), ); - checkUnnamed5821(o.sort!); + checkUnnamed5887(o.sort!); unittest.expect( o.startDate!, unittest.equals('foo'), @@ -2561,12 +2561,12 @@ void checkGaDataQuery(api.GaDataQuery o) { buildCounterGaDataQuery--; } -core.List buildUnnamed5822() => [ +core.List buildUnnamed5888() => [ 'foo', 'foo', ]; -void checkUnnamed5822(core.List o) { +void checkUnnamed5888(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2578,23 +2578,23 @@ void checkUnnamed5822(core.List o) { ); } -core.List> buildUnnamed5823() => [ - buildUnnamed5822(), - buildUnnamed5822(), +core.List> buildUnnamed5889() => [ + buildUnnamed5888(), + buildUnnamed5888(), ]; -void checkUnnamed5823(core.List> o) { +void checkUnnamed5889(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5822(o[0]); - checkUnnamed5822(o[1]); + checkUnnamed5888(o[0]); + checkUnnamed5888(o[1]); } -core.Map buildUnnamed5824() => { +core.Map buildUnnamed5890() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5824(core.Map o) { +void checkUnnamed5890(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2611,7 +2611,7 @@ api.GaData buildGaData() { final o = api.GaData(); buildCounterGaData++; if (buildCounterGaData < 3) { - o.columnHeaders = buildUnnamed5816(); + o.columnHeaders = buildUnnamed5882(); o.containsSampledData = true; o.dataLastRefreshed = 'foo'; o.dataTable = buildGaDataDataTable(); @@ -2622,12 +2622,12 @@ api.GaData buildGaData() { o.previousLink = 'foo'; o.profileInfo = buildGaDataProfileInfo(); o.query = buildGaDataQuery(); - o.rows = buildUnnamed5823(); + o.rows = buildUnnamed5889(); o.sampleSize = 'foo'; o.sampleSpace = 'foo'; o.selfLink = 'foo'; o.totalResults = 42; - o.totalsForAllResults = buildUnnamed5824(); + o.totalsForAllResults = buildUnnamed5890(); } buildCounterGaData--; return o; @@ -2636,7 +2636,7 @@ api.GaData buildGaData() { void checkGaData(api.GaData o) { buildCounterGaData++; if (buildCounterGaData < 3) { - checkUnnamed5816(o.columnHeaders!); + checkUnnamed5882(o.columnHeaders!); unittest.expect(o.containsSampledData!, unittest.isTrue); unittest.expect( o.dataLastRefreshed!, @@ -2665,7 +2665,7 @@ void checkGaData(api.GaData o) { ); checkGaDataProfileInfo(o.profileInfo!); checkGaDataQuery(o.query!); - checkUnnamed5823(o.rows!); + checkUnnamed5889(o.rows!); unittest.expect( o.sampleSize!, unittest.equals('foo'), @@ -2682,7 +2682,7 @@ void checkGaData(api.GaData o) { o.totalResults!, unittest.equals(42), ); - checkUnnamed5824(o.totalsForAllResults!); + checkUnnamed5890(o.totalsForAllResults!); } buildCounterGaData--; } @@ -2730,12 +2730,12 @@ void checkGoalEventDetailsEventConditions( buildCounterGoalEventDetailsEventConditions--; } -core.List buildUnnamed5825() => [ +core.List buildUnnamed5891() => [ buildGoalEventDetailsEventConditions(), buildGoalEventDetailsEventConditions(), ]; -void checkUnnamed5825(core.List o) { +void checkUnnamed5891(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoalEventDetailsEventConditions(o[0]); checkGoalEventDetailsEventConditions(o[1]); @@ -2746,7 +2746,7 @@ api.GoalEventDetails buildGoalEventDetails() { final o = api.GoalEventDetails(); buildCounterGoalEventDetails++; if (buildCounterGoalEventDetails < 3) { - o.eventConditions = buildUnnamed5825(); + o.eventConditions = buildUnnamed5891(); o.useEventValue = true; } buildCounterGoalEventDetails--; @@ -2756,7 +2756,7 @@ api.GoalEventDetails buildGoalEventDetails() { void checkGoalEventDetails(api.GoalEventDetails o) { buildCounterGoalEventDetails++; if (buildCounterGoalEventDetails < 3) { - checkUnnamed5825(o.eventConditions!); + checkUnnamed5891(o.eventConditions!); unittest.expect(o.useEventValue!, unittest.isTrue); } buildCounterGoalEventDetails--; @@ -2821,12 +2821,12 @@ void checkGoalUrlDestinationDetailsSteps(api.GoalUrlDestinationDetailsSteps o) { buildCounterGoalUrlDestinationDetailsSteps--; } -core.List buildUnnamed5826() => [ +core.List buildUnnamed5892() => [ buildGoalUrlDestinationDetailsSteps(), buildGoalUrlDestinationDetailsSteps(), ]; -void checkUnnamed5826(core.List o) { +void checkUnnamed5892(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoalUrlDestinationDetailsSteps(o[0]); checkGoalUrlDestinationDetailsSteps(o[1]); @@ -2840,7 +2840,7 @@ api.GoalUrlDestinationDetails buildGoalUrlDestinationDetails() { o.caseSensitive = true; o.firstStepRequired = true; o.matchType = 'foo'; - o.steps = buildUnnamed5826(); + o.steps = buildUnnamed5892(); o.url = 'foo'; } buildCounterGoalUrlDestinationDetails--; @@ -2856,7 +2856,7 @@ void checkGoalUrlDestinationDetails(api.GoalUrlDestinationDetails o) { o.matchType!, unittest.equals('foo'), ); - checkUnnamed5826(o.steps!); + checkUnnamed5892(o.steps!); unittest.expect( o.url!, unittest.equals('foo'), @@ -3008,12 +3008,12 @@ void checkGoal(api.Goal o) { buildCounterGoal--; } -core.List buildUnnamed5827() => [ +core.List buildUnnamed5893() => [ buildGoal(), buildGoal(), ]; -void checkUnnamed5827(core.List o) { +void checkUnnamed5893(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoal(o[0]); checkGoal(o[1]); @@ -3024,7 +3024,7 @@ api.Goals buildGoals() { final o = api.Goals(); buildCounterGoals++; if (buildCounterGoals < 3) { - o.items = buildUnnamed5827(); + o.items = buildUnnamed5893(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -3040,7 +3040,7 @@ api.Goals buildGoals() { void checkGoals(api.Goals o) { buildCounterGoals++; if (buildCounterGoals < 3) { - checkUnnamed5827(o.items!); + checkUnnamed5893(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -3277,12 +3277,12 @@ void checkMcfDataColumnHeaders(api.McfDataColumnHeaders o) { buildCounterMcfDataColumnHeaders--; } -core.List buildUnnamed5828() => [ +core.List buildUnnamed5894() => [ buildMcfDataColumnHeaders(), buildMcfDataColumnHeaders(), ]; -void checkUnnamed5828(core.List o) { +void checkUnnamed5894(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMcfDataColumnHeaders(o[0]); checkMcfDataColumnHeaders(o[1]); @@ -3335,12 +3335,12 @@ void checkMcfDataProfileInfo(api.McfDataProfileInfo o) { buildCounterMcfDataProfileInfo--; } -core.List buildUnnamed5829() => [ +core.List buildUnnamed5895() => [ 'foo', 'foo', ]; -void checkUnnamed5829(core.List o) { +void checkUnnamed5895(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3352,12 +3352,12 @@ void checkUnnamed5829(core.List o) { ); } -core.List buildUnnamed5830() => [ +core.List buildUnnamed5896() => [ 'foo', 'foo', ]; -void checkUnnamed5830(core.List o) { +void checkUnnamed5896(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3379,10 +3379,10 @@ api.McfDataQuery buildMcfDataQuery() { o.filters = 'foo'; o.ids = 'foo'; o.maxResults = 42; - o.metrics = buildUnnamed5829(); + o.metrics = buildUnnamed5895(); o.samplingLevel = 'foo'; o.segment = 'foo'; - o.sort = buildUnnamed5830(); + o.sort = buildUnnamed5896(); o.startDate = 'foo'; o.startIndex = 42; } @@ -3413,7 +3413,7 @@ void checkMcfDataQuery(api.McfDataQuery o) { o.maxResults!, unittest.equals(42), ); - checkUnnamed5829(o.metrics!); + checkUnnamed5895(o.metrics!); unittest.expect( o.samplingLevel!, unittest.equals('foo'), @@ -3422,7 +3422,7 @@ void checkMcfDataQuery(api.McfDataQuery o) { o.segment!, unittest.equals('foo'), ); - checkUnnamed5830(o.sort!); + checkUnnamed5896(o.sort!); unittest.expect( o.startDate!, unittest.equals('foo'), @@ -3462,12 +3462,12 @@ void checkMcfDataRowsConversionPathValue(api.McfDataRowsConversionPathValue o) { buildCounterMcfDataRowsConversionPathValue--; } -core.List buildUnnamed5831() => [ +core.List buildUnnamed5897() => [ buildMcfDataRowsConversionPathValue(), buildMcfDataRowsConversionPathValue(), ]; -void checkUnnamed5831(core.List o) { +void checkUnnamed5897(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMcfDataRowsConversionPathValue(o[0]); checkMcfDataRowsConversionPathValue(o[1]); @@ -3478,7 +3478,7 @@ api.McfDataRows buildMcfDataRows() { final o = api.McfDataRows(); buildCounterMcfDataRows++; if (buildCounterMcfDataRows < 3) { - o.conversionPathValue = buildUnnamed5831(); + o.conversionPathValue = buildUnnamed5897(); o.primitiveValue = 'foo'; } buildCounterMcfDataRows--; @@ -3488,7 +3488,7 @@ api.McfDataRows buildMcfDataRows() { void checkMcfDataRows(api.McfDataRows o) { buildCounterMcfDataRows++; if (buildCounterMcfDataRows < 3) { - checkUnnamed5831(o.conversionPathValue!); + checkUnnamed5897(o.conversionPathValue!); unittest.expect( o.primitiveValue!, unittest.equals('foo'), @@ -3497,34 +3497,34 @@ void checkMcfDataRows(api.McfDataRows o) { buildCounterMcfDataRows--; } -core.List buildUnnamed5832() => [ +core.List buildUnnamed5898() => [ buildMcfDataRows(), buildMcfDataRows(), ]; -void checkUnnamed5832(core.List o) { +void checkUnnamed5898(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMcfDataRows(o[0]); checkMcfDataRows(o[1]); } -core.List> buildUnnamed5833() => [ - buildUnnamed5832(), - buildUnnamed5832(), +core.List> buildUnnamed5899() => [ + buildUnnamed5898(), + buildUnnamed5898(), ]; -void checkUnnamed5833(core.List> o) { +void checkUnnamed5899(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5832(o[0]); - checkUnnamed5832(o[1]); + checkUnnamed5898(o[0]); + checkUnnamed5898(o[1]); } -core.Map buildUnnamed5834() => { +core.Map buildUnnamed5900() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5834(core.Map o) { +void checkUnnamed5900(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3541,7 +3541,7 @@ api.McfData buildMcfData() { final o = api.McfData(); buildCounterMcfData++; if (buildCounterMcfData < 3) { - o.columnHeaders = buildUnnamed5828(); + o.columnHeaders = buildUnnamed5894(); o.containsSampledData = true; o.id = 'foo'; o.itemsPerPage = 42; @@ -3550,12 +3550,12 @@ api.McfData buildMcfData() { o.previousLink = 'foo'; o.profileInfo = buildMcfDataProfileInfo(); o.query = buildMcfDataQuery(); - o.rows = buildUnnamed5833(); + o.rows = buildUnnamed5899(); o.sampleSize = 'foo'; o.sampleSpace = 'foo'; o.selfLink = 'foo'; o.totalResults = 42; - o.totalsForAllResults = buildUnnamed5834(); + o.totalsForAllResults = buildUnnamed5900(); } buildCounterMcfData--; return o; @@ -3564,7 +3564,7 @@ api.McfData buildMcfData() { void checkMcfData(api.McfData o) { buildCounterMcfData++; if (buildCounterMcfData < 3) { - checkUnnamed5828(o.columnHeaders!); + checkUnnamed5894(o.columnHeaders!); unittest.expect(o.containsSampledData!, unittest.isTrue); unittest.expect( o.id!, @@ -3588,7 +3588,7 @@ void checkMcfData(api.McfData o) { ); checkMcfDataProfileInfo(o.profileInfo!); checkMcfDataQuery(o.query!); - checkUnnamed5833(o.rows!); + checkUnnamed5899(o.rows!); unittest.expect( o.sampleSize!, unittest.equals('foo'), @@ -3605,7 +3605,7 @@ void checkMcfData(api.McfData o) { o.totalResults!, unittest.equals(42), ); - checkUnnamed5834(o.totalsForAllResults!); + checkUnnamed5900(o.totalsForAllResults!); } buildCounterMcfData--; } @@ -3664,12 +3664,12 @@ void checkProfileParentLink(api.ProfileParentLink o) { buildCounterProfileParentLink--; } -core.List buildUnnamed5835() => [ +core.List buildUnnamed5901() => [ 'foo', 'foo', ]; -void checkUnnamed5835(core.List o) { +void checkUnnamed5901(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3686,7 +3686,7 @@ api.ProfilePermissions buildProfilePermissions() { final o = api.ProfilePermissions(); buildCounterProfilePermissions++; if (buildCounterProfilePermissions < 3) { - o.effective = buildUnnamed5835(); + o.effective = buildUnnamed5901(); } buildCounterProfilePermissions--; return o; @@ -3695,7 +3695,7 @@ api.ProfilePermissions buildProfilePermissions() { void checkProfilePermissions(api.ProfilePermissions o) { buildCounterProfilePermissions++; if (buildCounterProfilePermissions < 3) { - checkUnnamed5835(o.effective!); + checkUnnamed5901(o.effective!); } buildCounterProfilePermissions--; } @@ -3861,12 +3861,12 @@ void checkProfileFilterLink(api.ProfileFilterLink o) { buildCounterProfileFilterLink--; } -core.List buildUnnamed5836() => [ +core.List buildUnnamed5902() => [ buildProfileFilterLink(), buildProfileFilterLink(), ]; -void checkUnnamed5836(core.List o) { +void checkUnnamed5902(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProfileFilterLink(o[0]); checkProfileFilterLink(o[1]); @@ -3877,7 +3877,7 @@ api.ProfileFilterLinks buildProfileFilterLinks() { final o = api.ProfileFilterLinks(); buildCounterProfileFilterLinks++; if (buildCounterProfileFilterLinks < 3) { - o.items = buildUnnamed5836(); + o.items = buildUnnamed5902(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -3893,7 +3893,7 @@ api.ProfileFilterLinks buildProfileFilterLinks() { void checkProfileFilterLinks(api.ProfileFilterLinks o) { buildCounterProfileFilterLinks++; if (buildCounterProfileFilterLinks < 3) { - checkUnnamed5836(o.items!); + checkUnnamed5902(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -4017,12 +4017,12 @@ void checkProfileSummary(api.ProfileSummary o) { buildCounterProfileSummary--; } -core.List buildUnnamed5837() => [ +core.List buildUnnamed5903() => [ buildProfile(), buildProfile(), ]; -void checkUnnamed5837(core.List o) { +void checkUnnamed5903(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProfile(o[0]); checkProfile(o[1]); @@ -4033,7 +4033,7 @@ api.Profiles buildProfiles() { final o = api.Profiles(); buildCounterProfiles++; if (buildCounterProfiles < 3) { - o.items = buildUnnamed5837(); + o.items = buildUnnamed5903(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -4049,7 +4049,7 @@ api.Profiles buildProfiles() { void checkProfiles(api.Profiles o) { buildCounterProfiles++; if (buildCounterProfiles < 3) { - checkUnnamed5837(o.items!); + checkUnnamed5903(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -4114,12 +4114,12 @@ void checkRealtimeDataColumnHeaders(api.RealtimeDataColumnHeaders o) { buildCounterRealtimeDataColumnHeaders--; } -core.List buildUnnamed5838() => [ +core.List buildUnnamed5904() => [ buildRealtimeDataColumnHeaders(), buildRealtimeDataColumnHeaders(), ]; -void checkUnnamed5838(core.List o) { +void checkUnnamed5904(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRealtimeDataColumnHeaders(o[0]); checkRealtimeDataColumnHeaders(o[1]); @@ -4172,12 +4172,12 @@ void checkRealtimeDataProfileInfo(api.RealtimeDataProfileInfo o) { buildCounterRealtimeDataProfileInfo--; } -core.List buildUnnamed5839() => [ +core.List buildUnnamed5905() => [ 'foo', 'foo', ]; -void checkUnnamed5839(core.List o) { +void checkUnnamed5905(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4189,12 +4189,12 @@ void checkUnnamed5839(core.List o) { ); } -core.List buildUnnamed5840() => [ +core.List buildUnnamed5906() => [ 'foo', 'foo', ]; -void checkUnnamed5840(core.List o) { +void checkUnnamed5906(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4215,8 +4215,8 @@ api.RealtimeDataQuery buildRealtimeDataQuery() { o.filters = 'foo'; o.ids = 'foo'; o.maxResults = 42; - o.metrics = buildUnnamed5839(); - o.sort = buildUnnamed5840(); + o.metrics = buildUnnamed5905(); + o.sort = buildUnnamed5906(); } buildCounterRealtimeDataQuery--; return o; @@ -4241,18 +4241,18 @@ void checkRealtimeDataQuery(api.RealtimeDataQuery o) { o.maxResults!, unittest.equals(42), ); - checkUnnamed5839(o.metrics!); - checkUnnamed5840(o.sort!); + checkUnnamed5905(o.metrics!); + checkUnnamed5906(o.sort!); } buildCounterRealtimeDataQuery--; } -core.List buildUnnamed5841() => [ +core.List buildUnnamed5907() => [ 'foo', 'foo', ]; -void checkUnnamed5841(core.List o) { +void checkUnnamed5907(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4264,23 +4264,23 @@ void checkUnnamed5841(core.List o) { ); } -core.List> buildUnnamed5842() => [ - buildUnnamed5841(), - buildUnnamed5841(), +core.List> buildUnnamed5908() => [ + buildUnnamed5907(), + buildUnnamed5907(), ]; -void checkUnnamed5842(core.List> o) { +void checkUnnamed5908(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5841(o[0]); - checkUnnamed5841(o[1]); + checkUnnamed5907(o[0]); + checkUnnamed5907(o[1]); } -core.Map buildUnnamed5843() => { +core.Map buildUnnamed5909() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5843(core.Map o) { +void checkUnnamed5909(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4297,15 +4297,15 @@ api.RealtimeData buildRealtimeData() { final o = api.RealtimeData(); buildCounterRealtimeData++; if (buildCounterRealtimeData < 3) { - o.columnHeaders = buildUnnamed5838(); + o.columnHeaders = buildUnnamed5904(); o.id = 'foo'; o.kind = 'foo'; o.profileInfo = buildRealtimeDataProfileInfo(); o.query = buildRealtimeDataQuery(); - o.rows = buildUnnamed5842(); + o.rows = buildUnnamed5908(); o.selfLink = 'foo'; o.totalResults = 42; - o.totalsForAllResults = buildUnnamed5843(); + o.totalsForAllResults = buildUnnamed5909(); } buildCounterRealtimeData--; return o; @@ -4314,7 +4314,7 @@ api.RealtimeData buildRealtimeData() { void checkRealtimeData(api.RealtimeData o) { buildCounterRealtimeData++; if (buildCounterRealtimeData < 3) { - checkUnnamed5838(o.columnHeaders!); + checkUnnamed5904(o.columnHeaders!); unittest.expect( o.id!, unittest.equals('foo'), @@ -4325,7 +4325,7 @@ void checkRealtimeData(api.RealtimeData o) { ); checkRealtimeDataProfileInfo(o.profileInfo!); checkRealtimeDataQuery(o.query!); - checkUnnamed5842(o.rows!); + checkUnnamed5908(o.rows!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -4334,7 +4334,7 @@ void checkRealtimeData(api.RealtimeData o) { o.totalResults!, unittest.equals(42), ); - checkUnnamed5843(o.totalsForAllResults!); + checkUnnamed5909(o.totalsForAllResults!); } buildCounterRealtimeData--; } @@ -4360,23 +4360,23 @@ void checkRemarketingAudienceAudienceDefinition( buildCounterRemarketingAudienceAudienceDefinition--; } -core.List buildUnnamed5844() => [ +core.List buildUnnamed5910() => [ buildLinkedForeignAccount(), buildLinkedForeignAccount(), ]; -void checkUnnamed5844(core.List o) { +void checkUnnamed5910(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLinkedForeignAccount(o[0]); checkLinkedForeignAccount(o[1]); } -core.List buildUnnamed5845() => [ +core.List buildUnnamed5911() => [ 'foo', 'foo', ]; -void checkUnnamed5845(core.List o) { +void checkUnnamed5911(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4460,8 +4460,8 @@ api.RemarketingAudience buildRemarketingAudience() { o.id = 'foo'; o.internalWebPropertyId = 'foo'; o.kind = 'foo'; - o.linkedAdAccounts = buildUnnamed5844(); - o.linkedViews = buildUnnamed5845(); + o.linkedAdAccounts = buildUnnamed5910(); + o.linkedViews = buildUnnamed5911(); o.name = 'foo'; o.stateBasedAudienceDefinition = buildRemarketingAudienceStateBasedAudienceDefinition(); @@ -4504,8 +4504,8 @@ void checkRemarketingAudience(api.RemarketingAudience o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5844(o.linkedAdAccounts!); - checkUnnamed5845(o.linkedViews!); + checkUnnamed5910(o.linkedAdAccounts!); + checkUnnamed5911(o.linkedViews!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4524,12 +4524,12 @@ void checkRemarketingAudience(api.RemarketingAudience o) { buildCounterRemarketingAudience--; } -core.List buildUnnamed5846() => [ +core.List buildUnnamed5912() => [ buildRemarketingAudience(), buildRemarketingAudience(), ]; -void checkUnnamed5846(core.List o) { +void checkUnnamed5912(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRemarketingAudience(o[0]); checkRemarketingAudience(o[1]); @@ -4540,7 +4540,7 @@ api.RemarketingAudiences buildRemarketingAudiences() { final o = api.RemarketingAudiences(); buildCounterRemarketingAudiences++; if (buildCounterRemarketingAudiences < 3) { - o.items = buildUnnamed5846(); + o.items = buildUnnamed5912(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -4556,7 +4556,7 @@ api.RemarketingAudiences buildRemarketingAudiences() { void checkRemarketingAudiences(api.RemarketingAudiences o) { buildCounterRemarketingAudiences++; if (buildCounterRemarketingAudiences < 3) { - checkUnnamed5846(o.items!); + checkUnnamed5912(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -4651,12 +4651,12 @@ void checkSegment(api.Segment o) { buildCounterSegment--; } -core.List buildUnnamed5847() => [ +core.List buildUnnamed5913() => [ buildSegment(), buildSegment(), ]; -void checkUnnamed5847(core.List o) { +void checkUnnamed5913(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSegment(o[0]); checkSegment(o[1]); @@ -4667,7 +4667,7 @@ api.Segments buildSegments() { final o = api.Segments(); buildCounterSegments++; if (buildCounterSegments < 3) { - o.items = buildUnnamed5847(); + o.items = buildUnnamed5913(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -4683,7 +4683,7 @@ api.Segments buildSegments() { void checkSegments(api.Segments o) { buildCounterSegments++; if (buildCounterSegments < 3) { - checkUnnamed5847(o.items!); + checkUnnamed5913(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -4877,12 +4877,12 @@ void checkUnsampledReport(api.UnsampledReport o) { buildCounterUnsampledReport--; } -core.List buildUnnamed5848() => [ +core.List buildUnnamed5914() => [ buildUnsampledReport(), buildUnsampledReport(), ]; -void checkUnnamed5848(core.List o) { +void checkUnnamed5914(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUnsampledReport(o[0]); checkUnsampledReport(o[1]); @@ -4893,7 +4893,7 @@ api.UnsampledReports buildUnsampledReports() { final o = api.UnsampledReports(); buildCounterUnsampledReports++; if (buildCounterUnsampledReports < 3) { - o.items = buildUnnamed5848(); + o.items = buildUnnamed5914(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -4909,7 +4909,7 @@ api.UnsampledReports buildUnsampledReports() { void checkUnsampledReports(api.UnsampledReports o) { buildCounterUnsampledReports++; if (buildCounterUnsampledReports < 3) { - checkUnnamed5848(o.items!); + checkUnnamed5914(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -4942,12 +4942,12 @@ void checkUnsampledReports(api.UnsampledReports o) { buildCounterUnsampledReports--; } -core.List buildUnnamed5849() => [ +core.List buildUnnamed5915() => [ 'foo', 'foo', ]; -void checkUnnamed5849(core.List o) { +void checkUnnamed5915(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4966,7 +4966,7 @@ api.Upload buildUpload() { if (buildCounterUpload < 3) { o.accountId = 'foo'; o.customDataSourceId = 'foo'; - o.errors = buildUnnamed5849(); + o.errors = buildUnnamed5915(); o.id = 'foo'; o.kind = 'foo'; o.status = 'foo'; @@ -4987,7 +4987,7 @@ void checkUpload(api.Upload o) { o.customDataSourceId!, unittest.equals('foo'), ); - checkUnnamed5849(o.errors!); + checkUnnamed5915(o.errors!); unittest.expect( o.id!, unittest.equals('foo'), @@ -5008,12 +5008,12 @@ void checkUpload(api.Upload o) { buildCounterUpload--; } -core.List buildUnnamed5850() => [ +core.List buildUnnamed5916() => [ buildUpload(), buildUpload(), ]; -void checkUnnamed5850(core.List o) { +void checkUnnamed5916(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpload(o[0]); checkUpload(o[1]); @@ -5024,7 +5024,7 @@ api.Uploads buildUploads() { final o = api.Uploads(); buildCounterUploads++; if (buildCounterUploads < 3) { - o.items = buildUnnamed5850(); + o.items = buildUnnamed5916(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -5039,7 +5039,7 @@ api.Uploads buildUploads() { void checkUploads(api.Uploads o) { buildCounterUploads++; if (buildCounterUploads < 3) { - checkUnnamed5850(o.items!); + checkUnnamed5916(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -5218,12 +5218,12 @@ void checkWebPropertyRef(api.WebPropertyRef o) { buildCounterWebPropertyRef--; } -core.List buildUnnamed5851() => [ +core.List buildUnnamed5917() => [ buildProfileSummary(), buildProfileSummary(), ]; -void checkUnnamed5851(core.List o) { +void checkUnnamed5917(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProfileSummary(o[0]); checkProfileSummary(o[1]); @@ -5239,7 +5239,7 @@ api.WebPropertySummary buildWebPropertySummary() { o.kind = 'foo'; o.level = 'foo'; o.name = 'foo'; - o.profiles = buildUnnamed5851(); + o.profiles = buildUnnamed5917(); o.starred = true; o.websiteUrl = 'foo'; } @@ -5270,7 +5270,7 @@ void checkWebPropertySummary(api.WebPropertySummary o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5851(o.profiles!); + checkUnnamed5917(o.profiles!); unittest.expect(o.starred!, unittest.isTrue); unittest.expect( o.websiteUrl!, @@ -5280,12 +5280,12 @@ void checkWebPropertySummary(api.WebPropertySummary o) { buildCounterWebPropertySummary--; } -core.List buildUnnamed5852() => [ +core.List buildUnnamed5918() => [ buildWebproperty(), buildWebproperty(), ]; -void checkUnnamed5852(core.List o) { +void checkUnnamed5918(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebproperty(o[0]); checkWebproperty(o[1]); @@ -5296,7 +5296,7 @@ api.Webproperties buildWebproperties() { final o = api.Webproperties(); buildCounterWebproperties++; if (buildCounterWebproperties < 3) { - o.items = buildUnnamed5852(); + o.items = buildUnnamed5918(); o.itemsPerPage = 42; o.kind = 'foo'; o.nextLink = 'foo'; @@ -5312,7 +5312,7 @@ api.Webproperties buildWebproperties() { void checkWebproperties(api.Webproperties o) { buildCounterWebproperties++; if (buildCounterWebproperties < 3) { - checkUnnamed5852(o.items!); + checkUnnamed5918(o.items!); unittest.expect( o.itemsPerPage!, unittest.equals(42), @@ -5399,12 +5399,12 @@ void checkWebpropertyParentLink(api.WebpropertyParentLink o) { buildCounterWebpropertyParentLink--; } -core.List buildUnnamed5853() => [ +core.List buildUnnamed5919() => [ 'foo', 'foo', ]; -void checkUnnamed5853(core.List o) { +void checkUnnamed5919(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5421,7 +5421,7 @@ api.WebpropertyPermissions buildWebpropertyPermissions() { final o = api.WebpropertyPermissions(); buildCounterWebpropertyPermissions++; if (buildCounterWebpropertyPermissions < 3) { - o.effective = buildUnnamed5853(); + o.effective = buildUnnamed5919(); } buildCounterWebpropertyPermissions--; return o; @@ -5430,7 +5430,7 @@ api.WebpropertyPermissions buildWebpropertyPermissions() { void checkWebpropertyPermissions(api.WebpropertyPermissions o) { buildCounterWebpropertyPermissions++; if (buildCounterWebpropertyPermissions < 3) { - checkUnnamed5853(o.effective!); + checkUnnamed5919(o.effective!); } buildCounterWebpropertyPermissions--; } diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart index 46debed64..59db29e35 100644 --- a/generated/googleapis/test/analyticsreporting/v4_test.dart +++ b/generated/googleapis/test/analyticsreporting/v4_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7596() => [ +core.List buildUnnamed7680() => [ buildCustomDimension(), buildCustomDimension(), ]; -void checkUnnamed7596(core.List o) { +void checkUnnamed7680(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomDimension(o[0]); checkCustomDimension(o[1]); @@ -47,7 +47,7 @@ api.Activity buildActivity() { o.appview = buildScreenviewData(); o.campaign = 'foo'; o.channelGrouping = 'foo'; - o.customDimension = buildUnnamed7596(); + o.customDimension = buildUnnamed7680(); o.ecommerce = buildEcommerceData(); o.event = buildEventData(); o.goals = buildGoalSetData(); @@ -82,7 +82,7 @@ void checkActivity(api.Activity o) { o.channelGrouping!, unittest.equals('foo'), ); - checkUnnamed7596(o.customDimension!); + checkUnnamed7680(o.customDimension!); checkEcommerceData(o.ecommerce!); checkEventData(o.event!); checkGoalSetData(o.goals!); @@ -140,12 +140,12 @@ void checkCohort(api.Cohort o) { buildCounterCohort--; } -core.List buildUnnamed7597() => [ +core.List buildUnnamed7681() => [ buildCohort(), buildCohort(), ]; -void checkUnnamed7597(core.List o) { +void checkUnnamed7681(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCohort(o[0]); checkCohort(o[1]); @@ -156,7 +156,7 @@ api.CohortGroup buildCohortGroup() { final o = api.CohortGroup(); buildCounterCohortGroup++; if (buildCounterCohortGroup < 3) { - o.cohorts = buildUnnamed7597(); + o.cohorts = buildUnnamed7681(); o.lifetimeValue = true; } buildCounterCohortGroup--; @@ -166,18 +166,18 @@ api.CohortGroup buildCohortGroup() { void checkCohortGroup(api.CohortGroup o) { buildCounterCohortGroup++; if (buildCounterCohortGroup < 3) { - checkUnnamed7597(o.cohorts!); + checkUnnamed7681(o.cohorts!); unittest.expect(o.lifetimeValue!, unittest.isTrue); } buildCounterCohortGroup--; } -core.List buildUnnamed7598() => [ +core.List buildUnnamed7682() => [ 'foo', 'foo', ]; -void checkUnnamed7598(core.List o) { +void checkUnnamed7682(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -194,7 +194,7 @@ api.ColumnHeader buildColumnHeader() { final o = api.ColumnHeader(); buildCounterColumnHeader++; if (buildCounterColumnHeader < 3) { - o.dimensions = buildUnnamed7598(); + o.dimensions = buildUnnamed7682(); o.metricHeader = buildMetricHeader(); } buildCounterColumnHeader--; @@ -204,7 +204,7 @@ api.ColumnHeader buildColumnHeader() { void checkColumnHeader(api.ColumnHeader o) { buildCounterColumnHeader++; if (buildCounterColumnHeader < 3) { - checkUnnamed7598(o.dimensions!); + checkUnnamed7682(o.dimensions!); checkMetricHeader(o.metricHeader!); } buildCounterColumnHeader--; @@ -264,23 +264,23 @@ void checkDateRange(api.DateRange o) { buildCounterDateRange--; } -core.List buildUnnamed7599() => [ +core.List buildUnnamed7683() => [ buildPivotValueRegion(), buildPivotValueRegion(), ]; -void checkUnnamed7599(core.List o) { +void checkUnnamed7683(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotValueRegion(o[0]); checkPivotValueRegion(o[1]); } -core.List buildUnnamed7600() => [ +core.List buildUnnamed7684() => [ 'foo', 'foo', ]; -void checkUnnamed7600(core.List o) { +void checkUnnamed7684(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -297,8 +297,8 @@ api.DateRangeValues buildDateRangeValues() { final o = api.DateRangeValues(); buildCounterDateRangeValues++; if (buildCounterDateRangeValues < 3) { - o.pivotValueRegions = buildUnnamed7599(); - o.values = buildUnnamed7600(); + o.pivotValueRegions = buildUnnamed7683(); + o.values = buildUnnamed7684(); } buildCounterDateRangeValues--; return o; @@ -307,18 +307,18 @@ api.DateRangeValues buildDateRangeValues() { void checkDateRangeValues(api.DateRangeValues o) { buildCounterDateRangeValues++; if (buildCounterDateRangeValues < 3) { - checkUnnamed7599(o.pivotValueRegions!); - checkUnnamed7600(o.values!); + checkUnnamed7683(o.pivotValueRegions!); + checkUnnamed7684(o.values!); } buildCounterDateRangeValues--; } -core.List buildUnnamed7601() => [ +core.List buildUnnamed7685() => [ 'foo', 'foo', ]; -void checkUnnamed7601(core.List o) { +void checkUnnamed7685(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -335,7 +335,7 @@ api.Dimension buildDimension() { final o = api.Dimension(); buildCounterDimension++; if (buildCounterDimension < 3) { - o.histogramBuckets = buildUnnamed7601(); + o.histogramBuckets = buildUnnamed7685(); o.name = 'foo'; } buildCounterDimension--; @@ -345,7 +345,7 @@ api.Dimension buildDimension() { void checkDimension(api.Dimension o) { buildCounterDimension++; if (buildCounterDimension < 3) { - checkUnnamed7601(o.histogramBuckets!); + checkUnnamed7685(o.histogramBuckets!); unittest.expect( o.name!, unittest.equals('foo'), @@ -354,12 +354,12 @@ void checkDimension(api.Dimension o) { buildCounterDimension--; } -core.List buildUnnamed7602() => [ +core.List buildUnnamed7686() => [ 'foo', 'foo', ]; -void checkUnnamed7602(core.List o) { +void checkUnnamed7686(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -378,7 +378,7 @@ api.DimensionFilter buildDimensionFilter() { if (buildCounterDimensionFilter < 3) { o.caseSensitive = true; o.dimensionName = 'foo'; - o.expressions = buildUnnamed7602(); + o.expressions = buildUnnamed7686(); o.not = true; o.operator = 'foo'; } @@ -394,7 +394,7 @@ void checkDimensionFilter(api.DimensionFilter o) { o.dimensionName!, unittest.equals('foo'), ); - checkUnnamed7602(o.expressions!); + checkUnnamed7686(o.expressions!); unittest.expect(o.not!, unittest.isTrue); unittest.expect( o.operator!, @@ -404,12 +404,12 @@ void checkDimensionFilter(api.DimensionFilter o) { buildCounterDimensionFilter--; } -core.List buildUnnamed7603() => [ +core.List buildUnnamed7687() => [ buildDimensionFilter(), buildDimensionFilter(), ]; -void checkUnnamed7603(core.List o) { +void checkUnnamed7687(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionFilter(o[0]); checkDimensionFilter(o[1]); @@ -420,7 +420,7 @@ api.DimensionFilterClause buildDimensionFilterClause() { final o = api.DimensionFilterClause(); buildCounterDimensionFilterClause++; if (buildCounterDimensionFilterClause < 3) { - o.filters = buildUnnamed7603(); + o.filters = buildUnnamed7687(); o.operator = 'foo'; } buildCounterDimensionFilterClause--; @@ -430,7 +430,7 @@ api.DimensionFilterClause buildDimensionFilterClause() { void checkDimensionFilterClause(api.DimensionFilterClause o) { buildCounterDimensionFilterClause++; if (buildCounterDimensionFilterClause < 3) { - checkUnnamed7603(o.filters!); + checkUnnamed7687(o.filters!); unittest.expect( o.operator!, unittest.equals('foo'), @@ -465,12 +465,12 @@ void checkDynamicSegment(api.DynamicSegment o) { buildCounterDynamicSegment--; } -core.List buildUnnamed7604() => [ +core.List buildUnnamed7688() => [ buildProductData(), buildProductData(), ]; -void checkUnnamed7604(core.List o) { +void checkUnnamed7688(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductData(o[0]); checkProductData(o[1]); @@ -483,7 +483,7 @@ api.EcommerceData buildEcommerceData() { if (buildCounterEcommerceData < 3) { o.actionType = 'foo'; o.ecommerceType = 'foo'; - o.products = buildUnnamed7604(); + o.products = buildUnnamed7688(); o.transaction = buildTransactionData(); } buildCounterEcommerceData--; @@ -501,7 +501,7 @@ void checkEcommerceData(api.EcommerceData o) { o.ecommerceType!, unittest.equals('foo'), ); - checkUnnamed7604(o.products!); + checkUnnamed7688(o.products!); checkTransactionData(o.transaction!); } buildCounterEcommerceData--; @@ -549,12 +549,12 @@ void checkEventData(api.EventData o) { buildCounterEventData--; } -core.List buildUnnamed7605() => [ +core.List buildUnnamed7689() => [ buildReportRequest(), buildReportRequest(), ]; -void checkUnnamed7605(core.List o) { +void checkUnnamed7689(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRequest(o[0]); checkReportRequest(o[1]); @@ -565,7 +565,7 @@ api.GetReportsRequest buildGetReportsRequest() { final o = api.GetReportsRequest(); buildCounterGetReportsRequest++; if (buildCounterGetReportsRequest < 3) { - o.reportRequests = buildUnnamed7605(); + o.reportRequests = buildUnnamed7689(); o.useResourceQuotas = true; } buildCounterGetReportsRequest--; @@ -575,18 +575,18 @@ api.GetReportsRequest buildGetReportsRequest() { void checkGetReportsRequest(api.GetReportsRequest o) { buildCounterGetReportsRequest++; if (buildCounterGetReportsRequest < 3) { - checkUnnamed7605(o.reportRequests!); + checkUnnamed7689(o.reportRequests!); unittest.expect(o.useResourceQuotas!, unittest.isTrue); } buildCounterGetReportsRequest--; } -core.List buildUnnamed7606() => [ +core.List buildUnnamed7690() => [ buildReport(), buildReport(), ]; -void checkUnnamed7606(core.List o) { +void checkUnnamed7690(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -598,7 +598,7 @@ api.GetReportsResponse buildGetReportsResponse() { buildCounterGetReportsResponse++; if (buildCounterGetReportsResponse < 3) { o.queryCost = 42; - o.reports = buildUnnamed7606(); + o.reports = buildUnnamed7690(); o.resourceQuotasRemaining = buildResourceQuotasRemaining(); } buildCounterGetReportsResponse--; @@ -612,7 +612,7 @@ void checkGetReportsResponse(api.GetReportsResponse o) { o.queryCost!, unittest.equals(42), ); - checkUnnamed7606(o.reports!); + checkUnnamed7690(o.reports!); checkResourceQuotasRemaining(o.resourceQuotasRemaining!); } buildCounterGetReportsResponse--; @@ -675,12 +675,12 @@ void checkGoalData(api.GoalData o) { buildCounterGoalData--; } -core.List buildUnnamed7607() => [ +core.List buildUnnamed7691() => [ buildGoalData(), buildGoalData(), ]; -void checkUnnamed7607(core.List o) { +void checkUnnamed7691(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoalData(o[0]); checkGoalData(o[1]); @@ -691,7 +691,7 @@ api.GoalSetData buildGoalSetData() { final o = api.GoalSetData(); buildCounterGoalSetData++; if (buildCounterGoalSetData < 3) { - o.goals = buildUnnamed7607(); + o.goals = buildUnnamed7691(); } buildCounterGoalSetData--; return o; @@ -700,7 +700,7 @@ api.GoalSetData buildGoalSetData() { void checkGoalSetData(api.GoalSetData o) { buildCounterGoalSetData++; if (buildCounterGoalSetData < 3) { - checkUnnamed7607(o.goals!); + checkUnnamed7691(o.goals!); } buildCounterGoalSetData--; } @@ -771,12 +771,12 @@ void checkMetricFilter(api.MetricFilter o) { buildCounterMetricFilter--; } -core.List buildUnnamed7608() => [ +core.List buildUnnamed7692() => [ buildMetricFilter(), buildMetricFilter(), ]; -void checkUnnamed7608(core.List o) { +void checkUnnamed7692(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricFilter(o[0]); checkMetricFilter(o[1]); @@ -787,7 +787,7 @@ api.MetricFilterClause buildMetricFilterClause() { final o = api.MetricFilterClause(); buildCounterMetricFilterClause++; if (buildCounterMetricFilterClause < 3) { - o.filters = buildUnnamed7608(); + o.filters = buildUnnamed7692(); o.operator = 'foo'; } buildCounterMetricFilterClause--; @@ -797,7 +797,7 @@ api.MetricFilterClause buildMetricFilterClause() { void checkMetricFilterClause(api.MetricFilterClause o) { buildCounterMetricFilterClause++; if (buildCounterMetricFilterClause < 3) { - checkUnnamed7608(o.filters!); + checkUnnamed7692(o.filters!); unittest.expect( o.operator!, unittest.equals('foo'), @@ -806,23 +806,23 @@ void checkMetricFilterClause(api.MetricFilterClause o) { buildCounterMetricFilterClause--; } -core.List buildUnnamed7609() => [ +core.List buildUnnamed7693() => [ buildMetricHeaderEntry(), buildMetricHeaderEntry(), ]; -void checkUnnamed7609(core.List o) { +void checkUnnamed7693(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeaderEntry(o[0]); checkMetricHeaderEntry(o[1]); } -core.List buildUnnamed7610() => [ +core.List buildUnnamed7694() => [ buildPivotHeader(), buildPivotHeader(), ]; -void checkUnnamed7610(core.List o) { +void checkUnnamed7694(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotHeader(o[0]); checkPivotHeader(o[1]); @@ -833,8 +833,8 @@ api.MetricHeader buildMetricHeader() { final o = api.MetricHeader(); buildCounterMetricHeader++; if (buildCounterMetricHeader < 3) { - o.metricHeaderEntries = buildUnnamed7609(); - o.pivotHeaders = buildUnnamed7610(); + o.metricHeaderEntries = buildUnnamed7693(); + o.pivotHeaders = buildUnnamed7694(); } buildCounterMetricHeader--; return o; @@ -843,8 +843,8 @@ api.MetricHeader buildMetricHeader() { void checkMetricHeader(api.MetricHeader o) { buildCounterMetricHeader++; if (buildCounterMetricHeader < 3) { - checkUnnamed7609(o.metricHeaderEntries!); - checkUnnamed7610(o.pivotHeaders!); + checkUnnamed7693(o.metricHeaderEntries!); + checkUnnamed7694(o.pivotHeaders!); } buildCounterMetricHeader--; } @@ -876,12 +876,12 @@ void checkMetricHeaderEntry(api.MetricHeaderEntry o) { buildCounterMetricHeaderEntry--; } -core.List buildUnnamed7611() => [ +core.List buildUnnamed7695() => [ buildSegmentFilterClause(), buildSegmentFilterClause(), ]; -void checkUnnamed7611(core.List o) { +void checkUnnamed7695(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSegmentFilterClause(o[0]); checkSegmentFilterClause(o[1]); @@ -892,7 +892,7 @@ api.OrFiltersForSegment buildOrFiltersForSegment() { final o = api.OrFiltersForSegment(); buildCounterOrFiltersForSegment++; if (buildCounterOrFiltersForSegment < 3) { - o.segmentFilterClauses = buildUnnamed7611(); + o.segmentFilterClauses = buildUnnamed7695(); } buildCounterOrFiltersForSegment--; return o; @@ -901,7 +901,7 @@ api.OrFiltersForSegment buildOrFiltersForSegment() { void checkOrFiltersForSegment(api.OrFiltersForSegment o) { buildCounterOrFiltersForSegment++; if (buildCounterOrFiltersForSegment < 3) { - checkUnnamed7611(o.segmentFilterClauses!); + checkUnnamed7695(o.segmentFilterClauses!); } buildCounterOrFiltersForSegment--; } @@ -965,34 +965,34 @@ void checkPageviewData(api.PageviewData o) { buildCounterPageviewData--; } -core.List buildUnnamed7612() => [ +core.List buildUnnamed7696() => [ buildDimensionFilterClause(), buildDimensionFilterClause(), ]; -void checkUnnamed7612(core.List o) { +void checkUnnamed7696(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionFilterClause(o[0]); checkDimensionFilterClause(o[1]); } -core.List buildUnnamed7613() => [ +core.List buildUnnamed7697() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed7613(core.List o) { +void checkUnnamed7697(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed7614() => [ +core.List buildUnnamed7698() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed7614(core.List o) { +void checkUnnamed7698(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -1003,10 +1003,10 @@ api.Pivot buildPivot() { final o = api.Pivot(); buildCounterPivot++; if (buildCounterPivot < 3) { - o.dimensionFilterClauses = buildUnnamed7612(); - o.dimensions = buildUnnamed7613(); + o.dimensionFilterClauses = buildUnnamed7696(); + o.dimensions = buildUnnamed7697(); o.maxGroupCount = 42; - o.metrics = buildUnnamed7614(); + o.metrics = buildUnnamed7698(); o.startGroup = 42; } buildCounterPivot--; @@ -1016,13 +1016,13 @@ api.Pivot buildPivot() { void checkPivot(api.Pivot o) { buildCounterPivot++; if (buildCounterPivot < 3) { - checkUnnamed7612(o.dimensionFilterClauses!); - checkUnnamed7613(o.dimensions!); + checkUnnamed7696(o.dimensionFilterClauses!); + checkUnnamed7697(o.dimensions!); unittest.expect( o.maxGroupCount!, unittest.equals(42), ); - checkUnnamed7614(o.metrics!); + checkUnnamed7698(o.metrics!); unittest.expect( o.startGroup!, unittest.equals(42), @@ -1031,12 +1031,12 @@ void checkPivot(api.Pivot o) { buildCounterPivot--; } -core.List buildUnnamed7615() => [ +core.List buildUnnamed7699() => [ buildPivotHeaderEntry(), buildPivotHeaderEntry(), ]; -void checkUnnamed7615(core.List o) { +void checkUnnamed7699(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotHeaderEntry(o[0]); checkPivotHeaderEntry(o[1]); @@ -1047,7 +1047,7 @@ api.PivotHeader buildPivotHeader() { final o = api.PivotHeader(); buildCounterPivotHeader++; if (buildCounterPivotHeader < 3) { - o.pivotHeaderEntries = buildUnnamed7615(); + o.pivotHeaderEntries = buildUnnamed7699(); o.totalPivotGroupsCount = 42; } buildCounterPivotHeader--; @@ -1057,7 +1057,7 @@ api.PivotHeader buildPivotHeader() { void checkPivotHeader(api.PivotHeader o) { buildCounterPivotHeader++; if (buildCounterPivotHeader < 3) { - checkUnnamed7615(o.pivotHeaderEntries!); + checkUnnamed7699(o.pivotHeaderEntries!); unittest.expect( o.totalPivotGroupsCount!, unittest.equals(42), @@ -1066,12 +1066,12 @@ void checkPivotHeader(api.PivotHeader o) { buildCounterPivotHeader--; } -core.List buildUnnamed7616() => [ +core.List buildUnnamed7700() => [ 'foo', 'foo', ]; -void checkUnnamed7616(core.List o) { +void checkUnnamed7700(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1083,12 +1083,12 @@ void checkUnnamed7616(core.List o) { ); } -core.List buildUnnamed7617() => [ +core.List buildUnnamed7701() => [ 'foo', 'foo', ]; -void checkUnnamed7617(core.List o) { +void checkUnnamed7701(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1105,8 +1105,8 @@ api.PivotHeaderEntry buildPivotHeaderEntry() { final o = api.PivotHeaderEntry(); buildCounterPivotHeaderEntry++; if (buildCounterPivotHeaderEntry < 3) { - o.dimensionNames = buildUnnamed7616(); - o.dimensionValues = buildUnnamed7617(); + o.dimensionNames = buildUnnamed7700(); + o.dimensionValues = buildUnnamed7701(); o.metric = buildMetricHeaderEntry(); } buildCounterPivotHeaderEntry--; @@ -1116,19 +1116,19 @@ api.PivotHeaderEntry buildPivotHeaderEntry() { void checkPivotHeaderEntry(api.PivotHeaderEntry o) { buildCounterPivotHeaderEntry++; if (buildCounterPivotHeaderEntry < 3) { - checkUnnamed7616(o.dimensionNames!); - checkUnnamed7617(o.dimensionValues!); + checkUnnamed7700(o.dimensionNames!); + checkUnnamed7701(o.dimensionValues!); checkMetricHeaderEntry(o.metric!); } buildCounterPivotHeaderEntry--; } -core.List buildUnnamed7618() => [ +core.List buildUnnamed7702() => [ 'foo', 'foo', ]; -void checkUnnamed7618(core.List o) { +void checkUnnamed7702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1145,7 +1145,7 @@ api.PivotValueRegion buildPivotValueRegion() { final o = api.PivotValueRegion(); buildCounterPivotValueRegion++; if (buildCounterPivotValueRegion < 3) { - o.values = buildUnnamed7618(); + o.values = buildUnnamed7702(); } buildCounterPivotValueRegion--; return o; @@ -1154,7 +1154,7 @@ api.PivotValueRegion buildPivotValueRegion() { void checkPivotValueRegion(api.PivotValueRegion o) { buildCounterPivotValueRegion++; if (buildCounterPivotValueRegion < 3) { - checkUnnamed7618(o.values!); + checkUnnamed7702(o.values!); } buildCounterPivotValueRegion--; } @@ -1222,45 +1222,45 @@ void checkReport(api.Report o) { buildCounterReport--; } -core.List buildUnnamed7619() => [ +core.List buildUnnamed7703() => [ buildDateRangeValues(), buildDateRangeValues(), ]; -void checkUnnamed7619(core.List o) { +void checkUnnamed7703(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRangeValues(o[0]); checkDateRangeValues(o[1]); } -core.List buildUnnamed7620() => [ +core.List buildUnnamed7704() => [ buildDateRangeValues(), buildDateRangeValues(), ]; -void checkUnnamed7620(core.List o) { +void checkUnnamed7704(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRangeValues(o[0]); checkDateRangeValues(o[1]); } -core.List buildUnnamed7621() => [ +core.List buildUnnamed7705() => [ buildReportRow(), buildReportRow(), ]; -void checkUnnamed7621(core.List o) { +void checkUnnamed7705(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRow(o[0]); checkReportRow(o[1]); } -core.List buildUnnamed7622() => [ +core.List buildUnnamed7706() => [ 'foo', 'foo', ]; -void checkUnnamed7622(core.List o) { +void checkUnnamed7706(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1272,12 +1272,12 @@ void checkUnnamed7622(core.List o) { ); } -core.List buildUnnamed7623() => [ +core.List buildUnnamed7707() => [ 'foo', 'foo', ]; -void checkUnnamed7623(core.List o) { +void checkUnnamed7707(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1289,12 +1289,12 @@ void checkUnnamed7623(core.List o) { ); } -core.List buildUnnamed7624() => [ +core.List buildUnnamed7708() => [ buildDateRangeValues(), buildDateRangeValues(), ]; -void checkUnnamed7624(core.List o) { +void checkUnnamed7708(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRangeValues(o[0]); checkDateRangeValues(o[1]); @@ -1307,13 +1307,13 @@ api.ReportData buildReportData() { if (buildCounterReportData < 3) { o.dataLastRefreshed = 'foo'; o.isDataGolden = true; - o.maximums = buildUnnamed7619(); - o.minimums = buildUnnamed7620(); + o.maximums = buildUnnamed7703(); + o.minimums = buildUnnamed7704(); o.rowCount = 42; - o.rows = buildUnnamed7621(); - o.samplesReadCounts = buildUnnamed7622(); - o.samplingSpaceSizes = buildUnnamed7623(); - o.totals = buildUnnamed7624(); + o.rows = buildUnnamed7705(); + o.samplesReadCounts = buildUnnamed7706(); + o.samplingSpaceSizes = buildUnnamed7707(); + o.totals = buildUnnamed7708(); } buildCounterReportData--; return o; @@ -1327,103 +1327,103 @@ void checkReportData(api.ReportData o) { unittest.equals('foo'), ); unittest.expect(o.isDataGolden!, unittest.isTrue); - checkUnnamed7619(o.maximums!); - checkUnnamed7620(o.minimums!); + checkUnnamed7703(o.maximums!); + checkUnnamed7704(o.minimums!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed7621(o.rows!); - checkUnnamed7622(o.samplesReadCounts!); - checkUnnamed7623(o.samplingSpaceSizes!); - checkUnnamed7624(o.totals!); + checkUnnamed7705(o.rows!); + checkUnnamed7706(o.samplesReadCounts!); + checkUnnamed7707(o.samplingSpaceSizes!); + checkUnnamed7708(o.totals!); } buildCounterReportData--; } -core.List buildUnnamed7625() => [ +core.List buildUnnamed7709() => [ buildDateRange(), buildDateRange(), ]; -void checkUnnamed7625(core.List o) { +void checkUnnamed7709(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRange(o[0]); checkDateRange(o[1]); } -core.List buildUnnamed7626() => [ +core.List buildUnnamed7710() => [ buildDimensionFilterClause(), buildDimensionFilterClause(), ]; -void checkUnnamed7626(core.List o) { +void checkUnnamed7710(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionFilterClause(o[0]); checkDimensionFilterClause(o[1]); } -core.List buildUnnamed7627() => [ +core.List buildUnnamed7711() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed7627(core.List o) { +void checkUnnamed7711(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed7628() => [ +core.List buildUnnamed7712() => [ buildMetricFilterClause(), buildMetricFilterClause(), ]; -void checkUnnamed7628(core.List o) { +void checkUnnamed7712(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricFilterClause(o[0]); checkMetricFilterClause(o[1]); } -core.List buildUnnamed7629() => [ +core.List buildUnnamed7713() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed7629(core.List o) { +void checkUnnamed7713(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed7630() => [ +core.List buildUnnamed7714() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed7630(core.List o) { +void checkUnnamed7714(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); } -core.List buildUnnamed7631() => [ +core.List buildUnnamed7715() => [ buildPivot(), buildPivot(), ]; -void checkUnnamed7631(core.List o) { +void checkUnnamed7715(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivot(o[0]); checkPivot(o[1]); } -core.List buildUnnamed7632() => [ +core.List buildUnnamed7716() => [ buildSegment(), buildSegment(), ]; -void checkUnnamed7632(core.List o) { +void checkUnnamed7716(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSegment(o[0]); checkSegment(o[1]); @@ -1435,21 +1435,21 @@ api.ReportRequest buildReportRequest() { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { o.cohortGroup = buildCohortGroup(); - o.dateRanges = buildUnnamed7625(); - o.dimensionFilterClauses = buildUnnamed7626(); - o.dimensions = buildUnnamed7627(); + o.dateRanges = buildUnnamed7709(); + o.dimensionFilterClauses = buildUnnamed7710(); + o.dimensions = buildUnnamed7711(); o.filtersExpression = 'foo'; o.hideTotals = true; o.hideValueRanges = true; o.includeEmptyRows = true; - o.metricFilterClauses = buildUnnamed7628(); - o.metrics = buildUnnamed7629(); - o.orderBys = buildUnnamed7630(); + o.metricFilterClauses = buildUnnamed7712(); + o.metrics = buildUnnamed7713(); + o.orderBys = buildUnnamed7714(); o.pageSize = 42; o.pageToken = 'foo'; - o.pivots = buildUnnamed7631(); + o.pivots = buildUnnamed7715(); o.samplingLevel = 'foo'; - o.segments = buildUnnamed7632(); + o.segments = buildUnnamed7716(); o.viewId = 'foo'; } buildCounterReportRequest--; @@ -1460,9 +1460,9 @@ void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { checkCohortGroup(o.cohortGroup!); - checkUnnamed7625(o.dateRanges!); - checkUnnamed7626(o.dimensionFilterClauses!); - checkUnnamed7627(o.dimensions!); + checkUnnamed7709(o.dateRanges!); + checkUnnamed7710(o.dimensionFilterClauses!); + checkUnnamed7711(o.dimensions!); unittest.expect( o.filtersExpression!, unittest.equals('foo'), @@ -1470,9 +1470,9 @@ void checkReportRequest(api.ReportRequest o) { unittest.expect(o.hideTotals!, unittest.isTrue); unittest.expect(o.hideValueRanges!, unittest.isTrue); unittest.expect(o.includeEmptyRows!, unittest.isTrue); - checkUnnamed7628(o.metricFilterClauses!); - checkUnnamed7629(o.metrics!); - checkUnnamed7630(o.orderBys!); + checkUnnamed7712(o.metricFilterClauses!); + checkUnnamed7713(o.metrics!); + checkUnnamed7714(o.orderBys!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -1481,12 +1481,12 @@ void checkReportRequest(api.ReportRequest o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed7631(o.pivots!); + checkUnnamed7715(o.pivots!); unittest.expect( o.samplingLevel!, unittest.equals('foo'), ); - checkUnnamed7632(o.segments!); + checkUnnamed7716(o.segments!); unittest.expect( o.viewId!, unittest.equals('foo'), @@ -1495,12 +1495,12 @@ void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest--; } -core.List buildUnnamed7633() => [ +core.List buildUnnamed7717() => [ 'foo', 'foo', ]; -void checkUnnamed7633(core.List o) { +void checkUnnamed7717(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1512,12 +1512,12 @@ void checkUnnamed7633(core.List o) { ); } -core.List buildUnnamed7634() => [ +core.List buildUnnamed7718() => [ buildDateRangeValues(), buildDateRangeValues(), ]; -void checkUnnamed7634(core.List o) { +void checkUnnamed7718(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRangeValues(o[0]); checkDateRangeValues(o[1]); @@ -1528,8 +1528,8 @@ api.ReportRow buildReportRow() { final o = api.ReportRow(); buildCounterReportRow++; if (buildCounterReportRow < 3) { - o.dimensions = buildUnnamed7633(); - o.metrics = buildUnnamed7634(); + o.dimensions = buildUnnamed7717(); + o.metrics = buildUnnamed7718(); } buildCounterReportRow--; return o; @@ -1538,8 +1538,8 @@ api.ReportRow buildReportRow() { void checkReportRow(api.ReportRow o) { buildCounterReportRow++; if (buildCounterReportRow < 3) { - checkUnnamed7633(o.dimensions!); - checkUnnamed7634(o.metrics!); + checkUnnamed7717(o.dimensions!); + checkUnnamed7718(o.metrics!); } buildCounterReportRow--; } @@ -1608,12 +1608,12 @@ void checkScreenviewData(api.ScreenviewData o) { buildCounterScreenviewData--; } -core.List buildUnnamed7635() => [ +core.List buildUnnamed7719() => [ 'foo', 'foo', ]; -void checkUnnamed7635(core.List o) { +void checkUnnamed7719(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1630,7 +1630,7 @@ api.SearchUserActivityRequest buildSearchUserActivityRequest() { final o = api.SearchUserActivityRequest(); buildCounterSearchUserActivityRequest++; if (buildCounterSearchUserActivityRequest < 3) { - o.activityTypes = buildUnnamed7635(); + o.activityTypes = buildUnnamed7719(); o.dateRange = buildDateRange(); o.pageSize = 42; o.pageToken = 'foo'; @@ -1644,7 +1644,7 @@ api.SearchUserActivityRequest buildSearchUserActivityRequest() { void checkSearchUserActivityRequest(api.SearchUserActivityRequest o) { buildCounterSearchUserActivityRequest++; if (buildCounterSearchUserActivityRequest < 3) { - checkUnnamed7635(o.activityTypes!); + checkUnnamed7719(o.activityTypes!); checkDateRange(o.dateRange!); unittest.expect( o.pageSize!, @@ -1663,12 +1663,12 @@ void checkSearchUserActivityRequest(api.SearchUserActivityRequest o) { buildCounterSearchUserActivityRequest--; } -core.List buildUnnamed7636() => [ +core.List buildUnnamed7720() => [ buildUserActivitySession(), buildUserActivitySession(), ]; -void checkUnnamed7636(core.List o) { +void checkUnnamed7720(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserActivitySession(o[0]); checkUserActivitySession(o[1]); @@ -1681,7 +1681,7 @@ api.SearchUserActivityResponse buildSearchUserActivityResponse() { if (buildCounterSearchUserActivityResponse < 3) { o.nextPageToken = 'foo'; o.sampleRate = 42.0; - o.sessions = buildUnnamed7636(); + o.sessions = buildUnnamed7720(); o.totalRows = 42; } buildCounterSearchUserActivityResponse--; @@ -1699,7 +1699,7 @@ void checkSearchUserActivityResponse(api.SearchUserActivityResponse o) { o.sampleRate!, unittest.equals(42.0), ); - checkUnnamed7636(o.sessions!); + checkUnnamed7720(o.sessions!); unittest.expect( o.totalRows!, unittest.equals(42), @@ -1732,12 +1732,12 @@ void checkSegment(api.Segment o) { buildCounterSegment--; } -core.List buildUnnamed7637() => [ +core.List buildUnnamed7721() => [ buildSegmentFilter(), buildSegmentFilter(), ]; -void checkUnnamed7637(core.List o) { +void checkUnnamed7721(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSegmentFilter(o[0]); checkSegmentFilter(o[1]); @@ -1748,7 +1748,7 @@ api.SegmentDefinition buildSegmentDefinition() { final o = api.SegmentDefinition(); buildCounterSegmentDefinition++; if (buildCounterSegmentDefinition < 3) { - o.segmentFilters = buildUnnamed7637(); + o.segmentFilters = buildUnnamed7721(); } buildCounterSegmentDefinition--; return o; @@ -1757,17 +1757,17 @@ api.SegmentDefinition buildSegmentDefinition() { void checkSegmentDefinition(api.SegmentDefinition o) { buildCounterSegmentDefinition++; if (buildCounterSegmentDefinition < 3) { - checkUnnamed7637(o.segmentFilters!); + checkUnnamed7721(o.segmentFilters!); } buildCounterSegmentDefinition--; } -core.List buildUnnamed7638() => [ +core.List buildUnnamed7722() => [ 'foo', 'foo', ]; -void checkUnnamed7638(core.List o) { +void checkUnnamed7722(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1786,7 +1786,7 @@ api.SegmentDimensionFilter buildSegmentDimensionFilter() { if (buildCounterSegmentDimensionFilter < 3) { o.caseSensitive = true; o.dimensionName = 'foo'; - o.expressions = buildUnnamed7638(); + o.expressions = buildUnnamed7722(); o.maxComparisonValue = 'foo'; o.minComparisonValue = 'foo'; o.operator = 'foo'; @@ -1803,7 +1803,7 @@ void checkSegmentDimensionFilter(api.SegmentDimensionFilter o) { o.dimensionName!, unittest.equals('foo'), ); - checkUnnamed7638(o.expressions!); + checkUnnamed7722(o.expressions!); unittest.expect( o.maxComparisonValue!, unittest.equals('foo'), @@ -1908,12 +1908,12 @@ void checkSegmentMetricFilter(api.SegmentMetricFilter o) { buildCounterSegmentMetricFilter--; } -core.List buildUnnamed7639() => [ +core.List buildUnnamed7723() => [ buildOrFiltersForSegment(), buildOrFiltersForSegment(), ]; -void checkUnnamed7639(core.List o) { +void checkUnnamed7723(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrFiltersForSegment(o[0]); checkOrFiltersForSegment(o[1]); @@ -1925,7 +1925,7 @@ api.SegmentSequenceStep buildSegmentSequenceStep() { buildCounterSegmentSequenceStep++; if (buildCounterSegmentSequenceStep < 3) { o.matchType = 'foo'; - o.orFiltersForSegment = buildUnnamed7639(); + o.orFiltersForSegment = buildUnnamed7723(); } buildCounterSegmentSequenceStep--; return o; @@ -1938,17 +1938,17 @@ void checkSegmentSequenceStep(api.SegmentSequenceStep o) { o.matchType!, unittest.equals('foo'), ); - checkUnnamed7639(o.orFiltersForSegment!); + checkUnnamed7723(o.orFiltersForSegment!); } buildCounterSegmentSequenceStep--; } -core.List buildUnnamed7640() => [ +core.List buildUnnamed7724() => [ buildSegmentSequenceStep(), buildSegmentSequenceStep(), ]; -void checkUnnamed7640(core.List o) { +void checkUnnamed7724(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSegmentSequenceStep(o[0]); checkSegmentSequenceStep(o[1]); @@ -1960,7 +1960,7 @@ api.SequenceSegment buildSequenceSegment() { buildCounterSequenceSegment++; if (buildCounterSequenceSegment < 3) { o.firstStepShouldMatchFirstHit = true; - o.segmentSequenceSteps = buildUnnamed7640(); + o.segmentSequenceSteps = buildUnnamed7724(); } buildCounterSequenceSegment--; return o; @@ -1970,17 +1970,17 @@ void checkSequenceSegment(api.SequenceSegment o) { buildCounterSequenceSegment++; if (buildCounterSequenceSegment < 3) { unittest.expect(o.firstStepShouldMatchFirstHit!, unittest.isTrue); - checkUnnamed7640(o.segmentSequenceSteps!); + checkUnnamed7724(o.segmentSequenceSteps!); } buildCounterSequenceSegment--; } -core.List buildUnnamed7641() => [ +core.List buildUnnamed7725() => [ buildOrFiltersForSegment(), buildOrFiltersForSegment(), ]; -void checkUnnamed7641(core.List o) { +void checkUnnamed7725(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrFiltersForSegment(o[0]); checkOrFiltersForSegment(o[1]); @@ -1991,7 +1991,7 @@ api.SimpleSegment buildSimpleSegment() { final o = api.SimpleSegment(); buildCounterSimpleSegment++; if (buildCounterSimpleSegment < 3) { - o.orFiltersForSegment = buildUnnamed7641(); + o.orFiltersForSegment = buildUnnamed7725(); } buildCounterSimpleSegment--; return o; @@ -2000,7 +2000,7 @@ api.SimpleSegment buildSimpleSegment() { void checkSimpleSegment(api.SimpleSegment o) { buildCounterSimpleSegment++; if (buildCounterSimpleSegment < 3) { - checkUnnamed7641(o.orFiltersForSegment!); + checkUnnamed7725(o.orFiltersForSegment!); } buildCounterSimpleSegment--; } @@ -2069,12 +2069,12 @@ void checkUser(api.User o) { buildCounterUser--; } -core.List buildUnnamed7642() => [ +core.List buildUnnamed7726() => [ buildActivity(), buildActivity(), ]; -void checkUnnamed7642(core.List o) { +void checkUnnamed7726(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -2085,7 +2085,7 @@ api.UserActivitySession buildUserActivitySession() { final o = api.UserActivitySession(); buildCounterUserActivitySession++; if (buildCounterUserActivitySession < 3) { - o.activities = buildUnnamed7642(); + o.activities = buildUnnamed7726(); o.dataSource = 'foo'; o.deviceCategory = 'foo'; o.platform = 'foo'; @@ -2099,7 +2099,7 @@ api.UserActivitySession buildUserActivitySession() { void checkUserActivitySession(api.UserActivitySession o) { buildCounterUserActivitySession++; if (buildCounterUserActivitySession < 3) { - checkUnnamed7642(o.activities!); + checkUnnamed7726(o.activities!); unittest.expect( o.dataSource!, unittest.equals('foo'), diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart index 187929711..203c9308c 100644 --- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart +++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart @@ -84,12 +84,12 @@ void checkClaimDeviceResponse(api.ClaimDeviceResponse o) { buildCounterClaimDeviceResponse--; } -core.List buildUnnamed4482() => [ +core.List buildUnnamed4466() => [ buildPartnerClaim(), buildPartnerClaim(), ]; -void checkUnnamed4482(core.List o) { +void checkUnnamed4466(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartnerClaim(o[0]); checkPartnerClaim(o[1]); @@ -100,7 +100,7 @@ api.ClaimDevicesRequest buildClaimDevicesRequest() { final o = api.ClaimDevicesRequest(); buildCounterClaimDevicesRequest++; if (buildCounterClaimDevicesRequest < 3) { - o.claims = buildUnnamed4482(); + o.claims = buildUnnamed4466(); } buildCounterClaimDevicesRequest--; return o; @@ -109,17 +109,17 @@ api.ClaimDevicesRequest buildClaimDevicesRequest() { void checkClaimDevicesRequest(api.ClaimDevicesRequest o) { buildCounterClaimDevicesRequest++; if (buildCounterClaimDevicesRequest < 3) { - checkUnnamed4482(o.claims!); + checkUnnamed4466(o.claims!); } buildCounterClaimDevicesRequest--; } -core.List buildUnnamed4483() => [ +core.List buildUnnamed4467() => [ 'foo', 'foo', ]; -void checkUnnamed4483(core.List o) { +void checkUnnamed4467(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -131,12 +131,12 @@ void checkUnnamed4483(core.List o) { ); } -core.List buildUnnamed4484() => [ +core.List buildUnnamed4468() => [ 'foo', 'foo', ]; -void checkUnnamed4484(core.List o) { +void checkUnnamed4468(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -153,12 +153,12 @@ api.Company buildCompany() { final o = api.Company(); buildCounterCompany++; if (buildCounterCompany < 3) { - o.adminEmails = buildUnnamed4483(); + o.adminEmails = buildUnnamed4467(); o.companyId = 'foo'; o.companyName = 'foo'; o.languageCode = 'foo'; o.name = 'foo'; - o.ownerEmails = buildUnnamed4484(); + o.ownerEmails = buildUnnamed4468(); o.skipWelcomeEmail = true; o.termsStatus = 'foo'; } @@ -169,7 +169,7 @@ api.Company buildCompany() { void checkCompany(api.Company o) { buildCounterCompany++; if (buildCounterCompany < 3) { - checkUnnamed4483(o.adminEmails!); + checkUnnamed4467(o.adminEmails!); unittest.expect( o.companyId!, unittest.equals('foo'), @@ -186,7 +186,7 @@ void checkCompany(api.Company o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4484(o.ownerEmails!); + checkUnnamed4468(o.ownerEmails!); unittest.expect(o.skipWelcomeEmail!, unittest.isTrue); unittest.expect( o.termsStatus!, @@ -304,12 +304,12 @@ void checkCustomerApplyConfigurationRequest( buildCounterCustomerApplyConfigurationRequest--; } -core.List buildUnnamed4485() => [ +core.List buildUnnamed4469() => [ buildConfiguration(), buildConfiguration(), ]; -void checkUnnamed4485(core.List o) { +void checkUnnamed4469(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfiguration(o[0]); checkConfiguration(o[1]); @@ -321,7 +321,7 @@ api.CustomerListConfigurationsResponse final o = api.CustomerListConfigurationsResponse(); buildCounterCustomerListConfigurationsResponse++; if (buildCounterCustomerListConfigurationsResponse < 3) { - o.configurations = buildUnnamed4485(); + o.configurations = buildUnnamed4469(); } buildCounterCustomerListConfigurationsResponse--; return o; @@ -331,17 +331,17 @@ void checkCustomerListConfigurationsResponse( api.CustomerListConfigurationsResponse o) { buildCounterCustomerListConfigurationsResponse++; if (buildCounterCustomerListConfigurationsResponse < 3) { - checkUnnamed4485(o.configurations!); + checkUnnamed4469(o.configurations!); } buildCounterCustomerListConfigurationsResponse--; } -core.List buildUnnamed4486() => [ +core.List buildUnnamed4470() => [ buildCompany(), buildCompany(), ]; -void checkUnnamed4486(core.List o) { +void checkUnnamed4470(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompany(o[0]); checkCompany(o[1]); @@ -352,7 +352,7 @@ api.CustomerListCustomersResponse buildCustomerListCustomersResponse() { final o = api.CustomerListCustomersResponse(); buildCounterCustomerListCustomersResponse++; if (buildCounterCustomerListCustomersResponse < 3) { - o.customers = buildUnnamed4486(); + o.customers = buildUnnamed4470(); o.nextPageToken = 'foo'; } buildCounterCustomerListCustomersResponse--; @@ -362,7 +362,7 @@ api.CustomerListCustomersResponse buildCustomerListCustomersResponse() { void checkCustomerListCustomersResponse(api.CustomerListCustomersResponse o) { buildCounterCustomerListCustomersResponse++; if (buildCounterCustomerListCustomersResponse < 3) { - checkUnnamed4486(o.customers!); + checkUnnamed4470(o.customers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -371,12 +371,12 @@ void checkCustomerListCustomersResponse(api.CustomerListCustomersResponse o) { buildCounterCustomerListCustomersResponse--; } -core.List buildUnnamed4487() => [ +core.List buildUnnamed4471() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed4487(core.List o) { +void checkUnnamed4471(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -387,7 +387,7 @@ api.CustomerListDevicesResponse buildCustomerListDevicesResponse() { final o = api.CustomerListDevicesResponse(); buildCounterCustomerListDevicesResponse++; if (buildCounterCustomerListDevicesResponse < 3) { - o.devices = buildUnnamed4487(); + o.devices = buildUnnamed4471(); o.nextPageToken = 'foo'; } buildCounterCustomerListDevicesResponse--; @@ -397,7 +397,7 @@ api.CustomerListDevicesResponse buildCustomerListDevicesResponse() { void checkCustomerListDevicesResponse(api.CustomerListDevicesResponse o) { buildCounterCustomerListDevicesResponse++; if (buildCounterCustomerListDevicesResponse < 3) { - checkUnnamed4487(o.devices!); + checkUnnamed4471(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -406,12 +406,12 @@ void checkCustomerListDevicesResponse(api.CustomerListDevicesResponse o) { buildCounterCustomerListDevicesResponse--; } -core.List buildUnnamed4488() => [ +core.List buildUnnamed4472() => [ buildDpc(), buildDpc(), ]; -void checkUnnamed4488(core.List o) { +void checkUnnamed4472(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDpc(o[0]); checkDpc(o[1]); @@ -422,7 +422,7 @@ api.CustomerListDpcsResponse buildCustomerListDpcsResponse() { final o = api.CustomerListDpcsResponse(); buildCounterCustomerListDpcsResponse++; if (buildCounterCustomerListDpcsResponse < 3) { - o.dpcs = buildUnnamed4488(); + o.dpcs = buildUnnamed4472(); } buildCounterCustomerListDpcsResponse--; return o; @@ -431,7 +431,7 @@ api.CustomerListDpcsResponse buildCustomerListDpcsResponse() { void checkCustomerListDpcsResponse(api.CustomerListDpcsResponse o) { buildCounterCustomerListDpcsResponse++; if (buildCounterCustomerListDpcsResponse < 3) { - checkUnnamed4488(o.dpcs!); + checkUnnamed4472(o.dpcs!); } buildCounterCustomerListDpcsResponse--; } @@ -476,12 +476,12 @@ void checkCustomerUnclaimDeviceRequest(api.CustomerUnclaimDeviceRequest o) { buildCounterCustomerUnclaimDeviceRequest--; } -core.List buildUnnamed4489() => [ +core.List buildUnnamed4473() => [ buildDeviceClaim(), buildDeviceClaim(), ]; -void checkUnnamed4489(core.List o) { +void checkUnnamed4473(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceClaim(o[0]); checkDeviceClaim(o[1]); @@ -492,7 +492,7 @@ api.Device buildDevice() { final o = api.Device(); buildCounterDevice++; if (buildCounterDevice < 3) { - o.claims = buildUnnamed4489(); + o.claims = buildUnnamed4473(); o.configuration = 'foo'; o.deviceId = 'foo'; o.deviceIdentifier = buildDeviceIdentifier(); @@ -506,7 +506,7 @@ api.Device buildDevice() { void checkDevice(api.Device o) { buildCounterDevice++; if (buildCounterDevice < 3) { - checkUnnamed4489(o.claims!); + checkUnnamed4473(o.claims!); unittest.expect( o.configuration!, unittest.equals('foo'), @@ -614,12 +614,12 @@ void checkDeviceIdentifier(api.DeviceIdentifier o) { buildCounterDeviceIdentifier--; } -core.Map buildUnnamed4490() => { +core.Map buildUnnamed4474() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4490(core.Map o) { +void checkUnnamed4474(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -636,7 +636,7 @@ api.DeviceMetadata buildDeviceMetadata() { final o = api.DeviceMetadata(); buildCounterDeviceMetadata++; if (buildCounterDeviceMetadata < 3) { - o.entries = buildUnnamed4490(); + o.entries = buildUnnamed4474(); } buildCounterDeviceMetadata--; return o; @@ -645,7 +645,7 @@ api.DeviceMetadata buildDeviceMetadata() { void checkDeviceMetadata(api.DeviceMetadata o) { buildCounterDeviceMetadata++; if (buildCounterDeviceMetadata < 3) { - checkUnnamed4490(o.entries!); + checkUnnamed4474(o.entries!); } buildCounterDeviceMetadata--; } @@ -708,12 +708,12 @@ void checkDevicesLongRunningOperationMetadata( buildCounterDevicesLongRunningOperationMetadata--; } -core.List buildUnnamed4491() => [ +core.List buildUnnamed4475() => [ buildOperationPerDevice(), buildOperationPerDevice(), ]; -void checkUnnamed4491(core.List o) { +void checkUnnamed4475(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationPerDevice(o[0]); checkOperationPerDevice(o[1]); @@ -725,7 +725,7 @@ api.DevicesLongRunningOperationResponse final o = api.DevicesLongRunningOperationResponse(); buildCounterDevicesLongRunningOperationResponse++; if (buildCounterDevicesLongRunningOperationResponse < 3) { - o.perDeviceStatus = buildUnnamed4491(); + o.perDeviceStatus = buildUnnamed4475(); o.successCount = 42; } buildCounterDevicesLongRunningOperationResponse--; @@ -736,7 +736,7 @@ void checkDevicesLongRunningOperationResponse( api.DevicesLongRunningOperationResponse o) { buildCounterDevicesLongRunningOperationResponse++; if (buildCounterDevicesLongRunningOperationResponse < 3) { - checkUnnamed4491(o.perDeviceStatus!); + checkUnnamed4475(o.perDeviceStatus!); unittest.expect( o.successCount!, unittest.equals(42), @@ -823,12 +823,12 @@ void checkFindDevicesByDeviceIdentifierRequest( buildCounterFindDevicesByDeviceIdentifierRequest--; } -core.List buildUnnamed4492() => [ +core.List buildUnnamed4476() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed4492(core.List o) { +void checkUnnamed4476(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -840,7 +840,7 @@ api.FindDevicesByDeviceIdentifierResponse final o = api.FindDevicesByDeviceIdentifierResponse(); buildCounterFindDevicesByDeviceIdentifierResponse++; if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) { - o.devices = buildUnnamed4492(); + o.devices = buildUnnamed4476(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -852,7 +852,7 @@ void checkFindDevicesByDeviceIdentifierResponse( api.FindDevicesByDeviceIdentifierResponse o) { buildCounterFindDevicesByDeviceIdentifierResponse++; if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) { - checkUnnamed4492(o.devices!); + checkUnnamed4476(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -865,12 +865,12 @@ void checkFindDevicesByDeviceIdentifierResponse( buildCounterFindDevicesByDeviceIdentifierResponse--; } -core.List buildUnnamed4493() => [ +core.List buildUnnamed4477() => [ 'foo', 'foo', ]; -void checkUnnamed4493(core.List o) { +void checkUnnamed4477(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -887,7 +887,7 @@ api.FindDevicesByOwnerRequest buildFindDevicesByOwnerRequest() { final o = api.FindDevicesByOwnerRequest(); buildCounterFindDevicesByOwnerRequest++; if (buildCounterFindDevicesByOwnerRequest < 3) { - o.customerId = buildUnnamed4493(); + o.customerId = buildUnnamed4477(); o.limit = 'foo'; o.pageToken = 'foo'; o.sectionType = 'foo'; @@ -899,7 +899,7 @@ api.FindDevicesByOwnerRequest buildFindDevicesByOwnerRequest() { void checkFindDevicesByOwnerRequest(api.FindDevicesByOwnerRequest o) { buildCounterFindDevicesByOwnerRequest++; if (buildCounterFindDevicesByOwnerRequest < 3) { - checkUnnamed4493(o.customerId!); + checkUnnamed4477(o.customerId!); unittest.expect( o.limit!, unittest.equals('foo'), @@ -916,12 +916,12 @@ void checkFindDevicesByOwnerRequest(api.FindDevicesByOwnerRequest o) { buildCounterFindDevicesByOwnerRequest--; } -core.List buildUnnamed4494() => [ +core.List buildUnnamed4478() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed4494(core.List o) { +void checkUnnamed4478(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -932,7 +932,7 @@ api.FindDevicesByOwnerResponse buildFindDevicesByOwnerResponse() { final o = api.FindDevicesByOwnerResponse(); buildCounterFindDevicesByOwnerResponse++; if (buildCounterFindDevicesByOwnerResponse < 3) { - o.devices = buildUnnamed4494(); + o.devices = buildUnnamed4478(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -943,7 +943,7 @@ api.FindDevicesByOwnerResponse buildFindDevicesByOwnerResponse() { void checkFindDevicesByOwnerResponse(api.FindDevicesByOwnerResponse o) { buildCounterFindDevicesByOwnerResponse++; if (buildCounterFindDevicesByOwnerResponse < 3) { - checkUnnamed4494(o.devices!); + checkUnnamed4478(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -956,12 +956,12 @@ void checkFindDevicesByOwnerResponse(api.FindDevicesByOwnerResponse o) { buildCounterFindDevicesByOwnerResponse--; } -core.List buildUnnamed4495() => [ +core.List buildUnnamed4479() => [ buildCompany(), buildCompany(), ]; -void checkUnnamed4495(core.List o) { +void checkUnnamed4479(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompany(o[0]); checkCompany(o[1]); @@ -972,7 +972,7 @@ api.ListCustomersResponse buildListCustomersResponse() { final o = api.ListCustomersResponse(); buildCounterListCustomersResponse++; if (buildCounterListCustomersResponse < 3) { - o.customers = buildUnnamed4495(); + o.customers = buildUnnamed4479(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -983,7 +983,7 @@ api.ListCustomersResponse buildListCustomersResponse() { void checkListCustomersResponse(api.ListCustomersResponse o) { buildCounterListCustomersResponse++; if (buildCounterListCustomersResponse < 3) { - checkUnnamed4495(o.customers!); + checkUnnamed4479(o.customers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -996,12 +996,12 @@ void checkListCustomersResponse(api.ListCustomersResponse o) { buildCounterListCustomersResponse--; } -core.List buildUnnamed4496() => [ +core.List buildUnnamed4480() => [ buildCompany(), buildCompany(), ]; -void checkUnnamed4496(core.List o) { +void checkUnnamed4480(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompany(o[0]); checkCompany(o[1]); @@ -1012,7 +1012,7 @@ api.ListVendorCustomersResponse buildListVendorCustomersResponse() { final o = api.ListVendorCustomersResponse(); buildCounterListVendorCustomersResponse++; if (buildCounterListVendorCustomersResponse < 3) { - o.customers = buildUnnamed4496(); + o.customers = buildUnnamed4480(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1023,7 +1023,7 @@ api.ListVendorCustomersResponse buildListVendorCustomersResponse() { void checkListVendorCustomersResponse(api.ListVendorCustomersResponse o) { buildCounterListVendorCustomersResponse++; if (buildCounterListVendorCustomersResponse < 3) { - checkUnnamed4496(o.customers!); + checkUnnamed4480(o.customers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1036,12 +1036,12 @@ void checkListVendorCustomersResponse(api.ListVendorCustomersResponse o) { buildCounterListVendorCustomersResponse--; } -core.List buildUnnamed4497() => [ +core.List buildUnnamed4481() => [ buildCompany(), buildCompany(), ]; -void checkUnnamed4497(core.List o) { +void checkUnnamed4481(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompany(o[0]); checkCompany(o[1]); @@ -1054,7 +1054,7 @@ api.ListVendorsResponse buildListVendorsResponse() { if (buildCounterListVendorsResponse < 3) { o.nextPageToken = 'foo'; o.totalSize = 42; - o.vendors = buildUnnamed4497(); + o.vendors = buildUnnamed4481(); } buildCounterListVendorsResponse--; return o; @@ -1071,12 +1071,12 @@ void checkListVendorsResponse(api.ListVendorsResponse o) { o.totalSize!, unittest.equals(42), ); - checkUnnamed4497(o.vendors!); + checkUnnamed4481(o.vendors!); } buildCounterListVendorsResponse--; } -core.Map buildUnnamed4498() => { +core.Map buildUnnamed4482() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1089,7 +1089,7 @@ core.Map buildUnnamed4498() => { }, }; -void checkUnnamed4498(core.Map o) { +void checkUnnamed4482(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1121,7 +1121,7 @@ void checkUnnamed4498(core.Map o) { ); } -core.Map buildUnnamed4499() => { +core.Map buildUnnamed4483() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1134,7 +1134,7 @@ core.Map buildUnnamed4499() => { }, }; -void checkUnnamed4499(core.Map o) { +void checkUnnamed4483(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1173,9 +1173,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4498(); + o.metadata = buildUnnamed4482(); o.name = 'foo'; - o.response = buildUnnamed4499(); + o.response = buildUnnamed4483(); } buildCounterOperation--; return o; @@ -1186,12 +1186,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4498(o.metadata!); + checkUnnamed4482(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4499(o.response!); + checkUnnamed4483(o.response!); } buildCounterOperation--; } @@ -1328,7 +1328,7 @@ void checkPerDeviceStatusInBatch(api.PerDeviceStatusInBatch o) { buildCounterPerDeviceStatusInBatch--; } -core.Map buildUnnamed4500() => { +core.Map buildUnnamed4484() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1341,7 +1341,7 @@ core.Map buildUnnamed4500() => { }, }; -void checkUnnamed4500(core.Map o) { +void checkUnnamed4484(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1373,15 +1373,15 @@ void checkUnnamed4500(core.Map o) { ); } -core.List> buildUnnamed4501() => [ - buildUnnamed4500(), - buildUnnamed4500(), +core.List> buildUnnamed4485() => [ + buildUnnamed4484(), + buildUnnamed4484(), ]; -void checkUnnamed4501(core.List> o) { +void checkUnnamed4485(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4500(o[0]); - checkUnnamed4500(o[1]); + checkUnnamed4484(o[0]); + checkUnnamed4484(o[1]); } core.int buildCounterStatus = 0; @@ -1390,7 +1390,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4501(); + o.details = buildUnnamed4485(); o.message = 'foo'; } buildCounterStatus--; @@ -1404,7 +1404,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4501(o.details!); + checkUnnamed4485(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1452,12 +1452,12 @@ void checkUnclaimDeviceRequest(api.UnclaimDeviceRequest o) { buildCounterUnclaimDeviceRequest--; } -core.List buildUnnamed4502() => [ +core.List buildUnnamed4486() => [ buildPartnerUnclaim(), buildPartnerUnclaim(), ]; -void checkUnnamed4502(core.List o) { +void checkUnnamed4486(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartnerUnclaim(o[0]); checkPartnerUnclaim(o[1]); @@ -1468,7 +1468,7 @@ api.UnclaimDevicesRequest buildUnclaimDevicesRequest() { final o = api.UnclaimDevicesRequest(); buildCounterUnclaimDevicesRequest++; if (buildCounterUnclaimDevicesRequest < 3) { - o.unclaims = buildUnnamed4502(); + o.unclaims = buildUnnamed4486(); } buildCounterUnclaimDevicesRequest--; return o; @@ -1477,17 +1477,17 @@ api.UnclaimDevicesRequest buildUnclaimDevicesRequest() { void checkUnclaimDevicesRequest(api.UnclaimDevicesRequest o) { buildCounterUnclaimDevicesRequest++; if (buildCounterUnclaimDevicesRequest < 3) { - checkUnnamed4502(o.unclaims!); + checkUnnamed4486(o.unclaims!); } buildCounterUnclaimDevicesRequest--; } -core.List buildUnnamed4503() => [ +core.List buildUnnamed4487() => [ buildUpdateMetadataArguments(), buildUpdateMetadataArguments(), ]; -void checkUnnamed4503(core.List o) { +void checkUnnamed4487(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpdateMetadataArguments(o[0]); checkUpdateMetadataArguments(o[1]); @@ -1499,7 +1499,7 @@ api.UpdateDeviceMetadataInBatchRequest final o = api.UpdateDeviceMetadataInBatchRequest(); buildCounterUpdateDeviceMetadataInBatchRequest++; if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) { - o.updates = buildUnnamed4503(); + o.updates = buildUnnamed4487(); } buildCounterUpdateDeviceMetadataInBatchRequest--; return o; @@ -1509,7 +1509,7 @@ void checkUpdateDeviceMetadataInBatchRequest( api.UpdateDeviceMetadataInBatchRequest o) { buildCounterUpdateDeviceMetadataInBatchRequest++; if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) { - checkUnnamed4503(o.updates!); + checkUnnamed4487(o.updates!); } buildCounterUpdateDeviceMetadataInBatchRequest--; } diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart index b7f34e183..815743617 100644 --- a/generated/googleapis/test/androidenterprise/v1_test.dart +++ b/generated/googleapis/test/androidenterprise/v1_test.dart @@ -70,12 +70,12 @@ void checkAdministratorWebToken(api.AdministratorWebToken o) { buildCounterAdministratorWebToken--; } -core.List buildUnnamed4861() => [ +core.List buildUnnamed4905() => [ 'foo', 'foo', ]; -void checkUnnamed4861(core.List o) { +void checkUnnamed4905(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -95,7 +95,7 @@ api.AdministratorWebTokenSpec buildAdministratorWebTokenSpec() { o.managedConfigurations = buildAdministratorWebTokenSpecManagedConfigurations(); o.parent = 'foo'; - o.permission = buildUnnamed4861(); + o.permission = buildUnnamed4905(); o.playSearch = buildAdministratorWebTokenSpecPlaySearch(); o.privateApps = buildAdministratorWebTokenSpecPrivateApps(); o.storeBuilder = buildAdministratorWebTokenSpecStoreBuilder(); @@ -115,7 +115,7 @@ void checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { o.parent!, unittest.equals('foo'), ); - checkUnnamed4861(o.permission!); + checkUnnamed4905(o.permission!); checkAdministratorWebTokenSpecPlaySearch(o.playSearch!); checkAdministratorWebTokenSpecPrivateApps(o.privateApps!); checkAdministratorWebTokenSpecStoreBuilder(o.storeBuilder!); @@ -252,12 +252,12 @@ void checkAdministratorWebTokenSpecZeroTouch( buildCounterAdministratorWebTokenSpecZeroTouch--; } -core.List buildUnnamed4862() => [ +core.List buildUnnamed4906() => [ buildAppRestrictionsSchemaRestriction(), buildAppRestrictionsSchemaRestriction(), ]; -void checkUnnamed4862(core.List o) { +void checkUnnamed4906(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppRestrictionsSchemaRestriction(o[0]); checkAppRestrictionsSchemaRestriction(o[1]); @@ -269,7 +269,7 @@ api.AppRestrictionsSchema buildAppRestrictionsSchema() { buildCounterAppRestrictionsSchema++; if (buildCounterAppRestrictionsSchema < 3) { o.kind = 'foo'; - o.restrictions = buildUnnamed4862(); + o.restrictions = buildUnnamed4906(); } buildCounterAppRestrictionsSchema--; return o; @@ -282,7 +282,7 @@ void checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed4862(o.restrictions!); + checkUnnamed4906(o.restrictions!); } buildCounterAppRestrictionsSchema--; } @@ -310,12 +310,12 @@ void checkAppRestrictionsSchemaChangeEvent( buildCounterAppRestrictionsSchemaChangeEvent--; } -core.List buildUnnamed4863() => [ +core.List buildUnnamed4907() => [ 'foo', 'foo', ]; -void checkUnnamed4863(core.List o) { +void checkUnnamed4907(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -327,12 +327,12 @@ void checkUnnamed4863(core.List o) { ); } -core.List buildUnnamed4864() => [ +core.List buildUnnamed4908() => [ 'foo', 'foo', ]; -void checkUnnamed4864(core.List o) { +void checkUnnamed4908(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -344,12 +344,12 @@ void checkUnnamed4864(core.List o) { ); } -core.List buildUnnamed4865() => [ +core.List buildUnnamed4909() => [ buildAppRestrictionsSchemaRestriction(), buildAppRestrictionsSchemaRestriction(), ]; -void checkUnnamed4865(core.List o) { +void checkUnnamed4909(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppRestrictionsSchemaRestriction(o[0]); checkAppRestrictionsSchemaRestriction(o[1]); @@ -362,10 +362,10 @@ api.AppRestrictionsSchemaRestriction buildAppRestrictionsSchemaRestriction() { if (buildCounterAppRestrictionsSchemaRestriction < 3) { o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); o.description = 'foo'; - o.entry = buildUnnamed4863(); - o.entryValue = buildUnnamed4864(); + o.entry = buildUnnamed4907(); + o.entryValue = buildUnnamed4908(); o.key = 'foo'; - o.nestedRestriction = buildUnnamed4865(); + o.nestedRestriction = buildUnnamed4909(); o.restrictionType = 'foo'; o.title = 'foo'; } @@ -382,13 +382,13 @@ void checkAppRestrictionsSchemaRestriction( o.description!, unittest.equals('foo'), ); - checkUnnamed4863(o.entry!); - checkUnnamed4864(o.entryValue!); + checkUnnamed4907(o.entry!); + checkUnnamed4908(o.entryValue!); unittest.expect( o.key!, unittest.equals('foo'), ); - checkUnnamed4865(o.nestedRestriction!); + checkUnnamed4909(o.nestedRestriction!); unittest.expect( o.restrictionType!, unittest.equals('foo'), @@ -401,12 +401,12 @@ void checkAppRestrictionsSchemaRestriction( buildCounterAppRestrictionsSchemaRestriction--; } -core.List buildUnnamed4866() => [ +core.List buildUnnamed4910() => [ 'foo', 'foo', ]; -void checkUnnamed4866(core.List o) { +void checkUnnamed4910(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -427,7 +427,7 @@ api.AppRestrictionsSchemaRestrictionRestrictionValue o.type = 'foo'; o.valueBool = true; o.valueInteger = 42; - o.valueMultiselect = buildUnnamed4866(); + o.valueMultiselect = buildUnnamed4910(); o.valueString = 'foo'; } buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; @@ -447,7 +447,7 @@ void checkAppRestrictionsSchemaRestrictionRestrictionValue( o.valueInteger!, unittest.equals(42), ); - checkUnnamed4866(o.valueMultiselect!); + checkUnnamed4910(o.valueMultiselect!); unittest.expect( o.valueString!, unittest.equals('foo'), @@ -456,12 +456,12 @@ void checkAppRestrictionsSchemaRestrictionRestrictionValue( buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; } -core.List buildUnnamed4867() => [ +core.List buildUnnamed4911() => [ buildKeyedAppState(), buildKeyedAppState(), ]; -void checkUnnamed4867(core.List o) { +void checkUnnamed4911(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyedAppState(o[0]); checkKeyedAppState(o[1]); @@ -472,7 +472,7 @@ api.AppState buildAppState() { final o = api.AppState(); buildCounterAppState++; if (buildCounterAppState < 3) { - o.keyedAppState = buildUnnamed4867(); + o.keyedAppState = buildUnnamed4911(); o.packageName = 'foo'; } buildCounterAppState--; @@ -482,7 +482,7 @@ api.AppState buildAppState() { void checkAppState(api.AppState o) { buildCounterAppState++; if (buildCounterAppState < 3) { - checkUnnamed4867(o.keyedAppState!); + checkUnnamed4911(o.keyedAppState!); unittest.expect( o.packageName!, unittest.equals('foo'), @@ -513,12 +513,12 @@ void checkAppUpdateEvent(api.AppUpdateEvent o) { buildCounterAppUpdateEvent--; } -core.List buildUnnamed4868() => [ +core.List buildUnnamed4912() => [ 'foo', 'foo', ]; -void checkUnnamed4868(core.List o) { +void checkUnnamed4912(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -537,7 +537,7 @@ api.AppVersion buildAppVersion() { if (buildCounterAppVersion < 3) { o.isProduction = true; o.track = 'foo'; - o.trackId = buildUnnamed4868(); + o.trackId = buildUnnamed4912(); o.versionCode = 42; o.versionString = 'foo'; } @@ -553,7 +553,7 @@ void checkAppVersion(api.AppVersion o) { o.track!, unittest.equals('foo'), ); - checkUnnamed4868(o.trackId!); + checkUnnamed4912(o.trackId!); unittest.expect( o.versionCode!, unittest.equals(42), @@ -642,12 +642,12 @@ void checkAutoInstallConstraint(api.AutoInstallConstraint o) { buildCounterAutoInstallConstraint--; } -core.List buildUnnamed4869() => [ +core.List buildUnnamed4913() => [ buildAutoInstallConstraint(), buildAutoInstallConstraint(), ]; -void checkUnnamed4869(core.List o) { +void checkUnnamed4913(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoInstallConstraint(o[0]); checkAutoInstallConstraint(o[1]); @@ -658,7 +658,7 @@ api.AutoInstallPolicy buildAutoInstallPolicy() { final o = api.AutoInstallPolicy(); buildCounterAutoInstallPolicy++; if (buildCounterAutoInstallPolicy < 3) { - o.autoInstallConstraint = buildUnnamed4869(); + o.autoInstallConstraint = buildUnnamed4913(); o.autoInstallMode = 'foo'; o.autoInstallPriority = 42; o.minimumVersionCode = 42; @@ -670,7 +670,7 @@ api.AutoInstallPolicy buildAutoInstallPolicy() { void checkAutoInstallPolicy(api.AutoInstallPolicy o) { buildCounterAutoInstallPolicy++; if (buildCounterAutoInstallPolicy < 3) { - checkUnnamed4869(o.autoInstallConstraint!); + checkUnnamed4913(o.autoInstallConstraint!); unittest.expect( o.autoInstallMode!, unittest.equals('foo'), @@ -687,12 +687,12 @@ void checkAutoInstallPolicy(api.AutoInstallPolicy o) { buildCounterAutoInstallPolicy--; } -core.List buildUnnamed4870() => [ +core.List buildUnnamed4914() => [ buildVariableSet(), buildVariableSet(), ]; -void checkUnnamed4870(core.List o) { +void checkUnnamed4914(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariableSet(o[0]); checkVariableSet(o[1]); @@ -704,7 +704,7 @@ api.ConfigurationVariables buildConfigurationVariables() { buildCounterConfigurationVariables++; if (buildCounterConfigurationVariables < 3) { o.mcmId = 'foo'; - o.variableSet = buildUnnamed4870(); + o.variableSet = buildUnnamed4914(); } buildCounterConfigurationVariables--; return o; @@ -717,7 +717,7 @@ void checkConfigurationVariables(api.ConfigurationVariables o) { o.mcmId!, unittest.equals('foo'), ); - checkUnnamed4870(o.variableSet!); + checkUnnamed4914(o.variableSet!); } buildCounterConfigurationVariables--; } @@ -753,12 +753,12 @@ void checkDevice(api.Device o) { buildCounterDevice--; } -core.List buildUnnamed4871() => [ +core.List buildUnnamed4915() => [ buildAppState(), buildAppState(), ]; -void checkUnnamed4871(core.List o) { +void checkUnnamed4915(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppState(o[0]); checkAppState(o[1]); @@ -769,7 +769,7 @@ api.DeviceReport buildDeviceReport() { final o = api.DeviceReport(); buildCounterDeviceReport++; if (buildCounterDeviceReport < 3) { - o.appState = buildUnnamed4871(); + o.appState = buildUnnamed4915(); o.lastUpdatedTimestampMillis = 'foo'; } buildCounterDeviceReport--; @@ -779,7 +779,7 @@ api.DeviceReport buildDeviceReport() { void checkDeviceReport(api.DeviceReport o) { buildCounterDeviceReport++; if (buildCounterDeviceReport < 3) { - checkUnnamed4871(o.appState!); + checkUnnamed4915(o.appState!); unittest.expect( o.lastUpdatedTimestampMillis!, unittest.equals('foo'), @@ -839,12 +839,12 @@ void checkDeviceState(api.DeviceState o) { buildCounterDeviceState--; } -core.List buildUnnamed4872() => [ +core.List buildUnnamed4916() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed4872(core.List o) { +void checkUnnamed4916(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -855,7 +855,7 @@ api.DevicesListResponse buildDevicesListResponse() { final o = api.DevicesListResponse(); buildCounterDevicesListResponse++; if (buildCounterDevicesListResponse < 3) { - o.device = buildUnnamed4872(); + o.device = buildUnnamed4916(); } buildCounterDevicesListResponse--; return o; @@ -864,17 +864,17 @@ api.DevicesListResponse buildDevicesListResponse() { void checkDevicesListResponse(api.DevicesListResponse o) { buildCounterDevicesListResponse++; if (buildCounterDevicesListResponse < 3) { - checkUnnamed4872(o.device!); + checkUnnamed4916(o.device!); } buildCounterDevicesListResponse--; } -core.List buildUnnamed4873() => [ +core.List buildUnnamed4917() => [ buildAdministrator(), buildAdministrator(), ]; -void checkUnnamed4873(core.List o) { +void checkUnnamed4917(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdministrator(o[0]); checkAdministrator(o[1]); @@ -885,7 +885,7 @@ api.Enterprise buildEnterprise() { final o = api.Enterprise(); buildCounterEnterprise++; if (buildCounterEnterprise < 3) { - o.administrator = buildUnnamed4873(); + o.administrator = buildUnnamed4917(); o.id = 'foo'; o.name = 'foo'; o.primaryDomain = 'foo'; @@ -897,7 +897,7 @@ api.Enterprise buildEnterprise() { void checkEnterprise(api.Enterprise o) { buildCounterEnterprise++; if (buildCounterEnterprise < 3) { - checkUnnamed4873(o.administrator!); + checkUnnamed4917(o.administrator!); unittest.expect( o.id!, unittest.equals('foo'), @@ -936,12 +936,12 @@ void checkEnterpriseAccount(api.EnterpriseAccount o) { buildCounterEnterpriseAccount--; } -core.List buildUnnamed4874() => [ +core.List buildUnnamed4918() => [ buildEnterprise(), buildEnterprise(), ]; -void checkUnnamed4874(core.List o) { +void checkUnnamed4918(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterprise(o[0]); checkEnterprise(o[1]); @@ -952,7 +952,7 @@ api.EnterprisesListResponse buildEnterprisesListResponse() { final o = api.EnterprisesListResponse(); buildCounterEnterprisesListResponse++; if (buildCounterEnterprisesListResponse < 3) { - o.enterprise = buildUnnamed4874(); + o.enterprise = buildUnnamed4918(); } buildCounterEnterprisesListResponse--; return o; @@ -961,7 +961,7 @@ api.EnterprisesListResponse buildEnterprisesListResponse() { void checkEnterprisesListResponse(api.EnterprisesListResponse o) { buildCounterEnterprisesListResponse++; if (buildCounterEnterprisesListResponse < 3) { - checkUnnamed4874(o.enterprise!); + checkUnnamed4918(o.enterprise!); } buildCounterEnterprisesListResponse--; } @@ -1022,12 +1022,12 @@ void checkEntitlement(api.Entitlement o) { buildCounterEntitlement--; } -core.List buildUnnamed4875() => [ +core.List buildUnnamed4919() => [ buildEntitlement(), buildEntitlement(), ]; -void checkUnnamed4875(core.List o) { +void checkUnnamed4919(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntitlement(o[0]); checkEntitlement(o[1]); @@ -1038,7 +1038,7 @@ api.EntitlementsListResponse buildEntitlementsListResponse() { final o = api.EntitlementsListResponse(); buildCounterEntitlementsListResponse++; if (buildCounterEntitlementsListResponse < 3) { - o.entitlement = buildUnnamed4875(); + o.entitlement = buildUnnamed4919(); } buildCounterEntitlementsListResponse--; return o; @@ -1047,7 +1047,7 @@ api.EntitlementsListResponse buildEntitlementsListResponse() { void checkEntitlementsListResponse(api.EntitlementsListResponse o) { buildCounterEntitlementsListResponse++; if (buildCounterEntitlementsListResponse < 3) { - checkUnnamed4875(o.entitlement!); + checkUnnamed4919(o.entitlement!); } buildCounterEntitlementsListResponse--; } @@ -1099,12 +1099,12 @@ void checkGroupLicense(api.GroupLicense o) { buildCounterGroupLicense--; } -core.List buildUnnamed4876() => [ +core.List buildUnnamed4920() => [ buildUser(), buildUser(), ]; -void checkUnnamed4876(core.List o) { +void checkUnnamed4920(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -1115,7 +1115,7 @@ api.GroupLicenseUsersListResponse buildGroupLicenseUsersListResponse() { final o = api.GroupLicenseUsersListResponse(); buildCounterGroupLicenseUsersListResponse++; if (buildCounterGroupLicenseUsersListResponse < 3) { - o.user = buildUnnamed4876(); + o.user = buildUnnamed4920(); } buildCounterGroupLicenseUsersListResponse--; return o; @@ -1124,17 +1124,17 @@ api.GroupLicenseUsersListResponse buildGroupLicenseUsersListResponse() { void checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { buildCounterGroupLicenseUsersListResponse++; if (buildCounterGroupLicenseUsersListResponse < 3) { - checkUnnamed4876(o.user!); + checkUnnamed4920(o.user!); } buildCounterGroupLicenseUsersListResponse--; } -core.List buildUnnamed4877() => [ +core.List buildUnnamed4921() => [ buildGroupLicense(), buildGroupLicense(), ]; -void checkUnnamed4877(core.List o) { +void checkUnnamed4921(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupLicense(o[0]); checkGroupLicense(o[1]); @@ -1145,7 +1145,7 @@ api.GroupLicensesListResponse buildGroupLicensesListResponse() { final o = api.GroupLicensesListResponse(); buildCounterGroupLicensesListResponse++; if (buildCounterGroupLicensesListResponse < 3) { - o.groupLicense = buildUnnamed4877(); + o.groupLicense = buildUnnamed4921(); } buildCounterGroupLicensesListResponse--; return o; @@ -1154,7 +1154,7 @@ api.GroupLicensesListResponse buildGroupLicensesListResponse() { void checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { buildCounterGroupLicensesListResponse++; if (buildCounterGroupLicensesListResponse < 3) { - checkUnnamed4877(o.groupLicense!); + checkUnnamed4921(o.groupLicense!); } buildCounterGroupLicensesListResponse--; } @@ -1233,12 +1233,12 @@ void checkInstallFailureEvent(api.InstallFailureEvent o) { buildCounterInstallFailureEvent--; } -core.List buildUnnamed4878() => [ +core.List buildUnnamed4922() => [ buildInstall(), buildInstall(), ]; -void checkUnnamed4878(core.List o) { +void checkUnnamed4922(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstall(o[0]); checkInstall(o[1]); @@ -1249,7 +1249,7 @@ api.InstallsListResponse buildInstallsListResponse() { final o = api.InstallsListResponse(); buildCounterInstallsListResponse++; if (buildCounterInstallsListResponse < 3) { - o.install = buildUnnamed4878(); + o.install = buildUnnamed4922(); } buildCounterInstallsListResponse--; return o; @@ -1258,7 +1258,7 @@ api.InstallsListResponse buildInstallsListResponse() { void checkInstallsListResponse(api.InstallsListResponse o) { buildCounterInstallsListResponse++; if (buildCounterInstallsListResponse < 3) { - checkUnnamed4878(o.install!); + checkUnnamed4922(o.install!); } buildCounterInstallsListResponse--; } @@ -1359,12 +1359,12 @@ void checkMaintenanceWindow(api.MaintenanceWindow o) { buildCounterMaintenanceWindow--; } -core.List buildUnnamed4879() => [ +core.List buildUnnamed4923() => [ buildManagedProperty(), buildManagedProperty(), ]; -void checkUnnamed4879(core.List o) { +void checkUnnamed4923(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedProperty(o[0]); checkManagedProperty(o[1]); @@ -1377,7 +1377,7 @@ api.ManagedConfiguration buildManagedConfiguration() { if (buildCounterManagedConfiguration < 3) { o.configurationVariables = buildConfigurationVariables(); o.kind = 'foo'; - o.managedProperty = buildUnnamed4879(); + o.managedProperty = buildUnnamed4923(); o.productId = 'foo'; } buildCounterManagedConfiguration--; @@ -1392,7 +1392,7 @@ void checkManagedConfiguration(api.ManagedConfiguration o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed4879(o.managedProperty!); + checkUnnamed4923(o.managedProperty!); unittest.expect( o.productId!, unittest.equals('foo'), @@ -1401,12 +1401,12 @@ void checkManagedConfiguration(api.ManagedConfiguration o) { buildCounterManagedConfiguration--; } -core.List buildUnnamed4880() => [ +core.List buildUnnamed4924() => [ buildManagedConfiguration(), buildManagedConfiguration(), ]; -void checkUnnamed4880(core.List o) { +void checkUnnamed4924(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedConfiguration(o[0]); checkManagedConfiguration(o[1]); @@ -1418,7 +1418,7 @@ api.ManagedConfigurationsForDeviceListResponse final o = api.ManagedConfigurationsForDeviceListResponse(); buildCounterManagedConfigurationsForDeviceListResponse++; if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { - o.managedConfigurationForDevice = buildUnnamed4880(); + o.managedConfigurationForDevice = buildUnnamed4924(); } buildCounterManagedConfigurationsForDeviceListResponse--; return o; @@ -1428,17 +1428,17 @@ void checkManagedConfigurationsForDeviceListResponse( api.ManagedConfigurationsForDeviceListResponse o) { buildCounterManagedConfigurationsForDeviceListResponse++; if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { - checkUnnamed4880(o.managedConfigurationForDevice!); + checkUnnamed4924(o.managedConfigurationForDevice!); } buildCounterManagedConfigurationsForDeviceListResponse--; } -core.List buildUnnamed4881() => [ +core.List buildUnnamed4925() => [ buildManagedConfiguration(), buildManagedConfiguration(), ]; -void checkUnnamed4881(core.List o) { +void checkUnnamed4925(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedConfiguration(o[0]); checkManagedConfiguration(o[1]); @@ -1450,7 +1450,7 @@ api.ManagedConfigurationsForUserListResponse final o = api.ManagedConfigurationsForUserListResponse(); buildCounterManagedConfigurationsForUserListResponse++; if (buildCounterManagedConfigurationsForUserListResponse < 3) { - o.managedConfigurationForUser = buildUnnamed4881(); + o.managedConfigurationForUser = buildUnnamed4925(); } buildCounterManagedConfigurationsForUserListResponse--; return o; @@ -1460,7 +1460,7 @@ void checkManagedConfigurationsForUserListResponse( api.ManagedConfigurationsForUserListResponse o) { buildCounterManagedConfigurationsForUserListResponse++; if (buildCounterManagedConfigurationsForUserListResponse < 3) { - checkUnnamed4881(o.managedConfigurationForUser!); + checkUnnamed4925(o.managedConfigurationForUser!); } buildCounterManagedConfigurationsForUserListResponse--; } @@ -1497,12 +1497,12 @@ void checkManagedConfigurationsSettings(api.ManagedConfigurationsSettings o) { buildCounterManagedConfigurationsSettings--; } -core.List buildUnnamed4882() => [ +core.List buildUnnamed4926() => [ buildManagedConfigurationsSettings(), buildManagedConfigurationsSettings(), ]; -void checkUnnamed4882(core.List o) { +void checkUnnamed4926(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedConfigurationsSettings(o[0]); checkManagedConfigurationsSettings(o[1]); @@ -1514,7 +1514,7 @@ api.ManagedConfigurationsSettingsListResponse final o = api.ManagedConfigurationsSettingsListResponse(); buildCounterManagedConfigurationsSettingsListResponse++; if (buildCounterManagedConfigurationsSettingsListResponse < 3) { - o.managedConfigurationsSettings = buildUnnamed4882(); + o.managedConfigurationsSettings = buildUnnamed4926(); } buildCounterManagedConfigurationsSettingsListResponse--; return o; @@ -1524,28 +1524,28 @@ void checkManagedConfigurationsSettingsListResponse( api.ManagedConfigurationsSettingsListResponse o) { buildCounterManagedConfigurationsSettingsListResponse++; if (buildCounterManagedConfigurationsSettingsListResponse < 3) { - checkUnnamed4882(o.managedConfigurationsSettings!); + checkUnnamed4926(o.managedConfigurationsSettings!); } buildCounterManagedConfigurationsSettingsListResponse--; } -core.List buildUnnamed4883() => [ +core.List buildUnnamed4927() => [ buildManagedPropertyBundle(), buildManagedPropertyBundle(), ]; -void checkUnnamed4883(core.List o) { +void checkUnnamed4927(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedPropertyBundle(o[0]); checkManagedPropertyBundle(o[1]); } -core.List buildUnnamed4884() => [ +core.List buildUnnamed4928() => [ 'foo', 'foo', ]; -void checkUnnamed4884(core.List o) { +void checkUnnamed4928(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1565,10 +1565,10 @@ api.ManagedProperty buildManagedProperty() { o.key = 'foo'; o.valueBool = true; o.valueBundle = buildManagedPropertyBundle(); - o.valueBundleArray = buildUnnamed4883(); + o.valueBundleArray = buildUnnamed4927(); o.valueInteger = 42; o.valueString = 'foo'; - o.valueStringArray = buildUnnamed4884(); + o.valueStringArray = buildUnnamed4928(); } buildCounterManagedProperty--; return o; @@ -1583,7 +1583,7 @@ void checkManagedProperty(api.ManagedProperty o) { ); unittest.expect(o.valueBool!, unittest.isTrue); checkManagedPropertyBundle(o.valueBundle!); - checkUnnamed4883(o.valueBundleArray!); + checkUnnamed4927(o.valueBundleArray!); unittest.expect( o.valueInteger!, unittest.equals(42), @@ -1592,17 +1592,17 @@ void checkManagedProperty(api.ManagedProperty o) { o.valueString!, unittest.equals('foo'), ); - checkUnnamed4884(o.valueStringArray!); + checkUnnamed4928(o.valueStringArray!); } buildCounterManagedProperty--; } -core.List buildUnnamed4885() => [ +core.List buildUnnamed4929() => [ buildManagedProperty(), buildManagedProperty(), ]; -void checkUnnamed4885(core.List o) { +void checkUnnamed4929(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedProperty(o[0]); checkManagedProperty(o[1]); @@ -1613,7 +1613,7 @@ api.ManagedPropertyBundle buildManagedPropertyBundle() { final o = api.ManagedPropertyBundle(); buildCounterManagedPropertyBundle++; if (buildCounterManagedPropertyBundle < 3) { - o.managedProperty = buildUnnamed4885(); + o.managedProperty = buildUnnamed4929(); } buildCounterManagedPropertyBundle--; return o; @@ -1622,7 +1622,7 @@ api.ManagedPropertyBundle buildManagedPropertyBundle() { void checkManagedPropertyBundle(api.ManagedPropertyBundle o) { buildCounterManagedPropertyBundle++; if (buildCounterManagedPropertyBundle < 3) { - checkUnnamed4885(o.managedProperty!); + checkUnnamed4929(o.managedProperty!); } buildCounterManagedPropertyBundle--; } @@ -1664,12 +1664,12 @@ void checkNewDeviceEvent(api.NewDeviceEvent o) { buildCounterNewDeviceEvent--; } -core.List buildUnnamed4886() => [ +core.List buildUnnamed4930() => [ 'foo', 'foo', ]; -void checkUnnamed4886(core.List o) { +void checkUnnamed4930(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1681,12 +1681,12 @@ void checkUnnamed4886(core.List o) { ); } -core.List buildUnnamed4887() => [ +core.List buildUnnamed4931() => [ 'foo', 'foo', ]; -void checkUnnamed4887(core.List o) { +void checkUnnamed4931(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1703,9 +1703,9 @@ api.NewPermissionsEvent buildNewPermissionsEvent() { final o = api.NewPermissionsEvent(); buildCounterNewPermissionsEvent++; if (buildCounterNewPermissionsEvent < 3) { - o.approvedPermissions = buildUnnamed4886(); + o.approvedPermissions = buildUnnamed4930(); o.productId = 'foo'; - o.requestedPermissions = buildUnnamed4887(); + o.requestedPermissions = buildUnnamed4931(); } buildCounterNewPermissionsEvent--; return o; @@ -1714,12 +1714,12 @@ api.NewPermissionsEvent buildNewPermissionsEvent() { void checkNewPermissionsEvent(api.NewPermissionsEvent o) { buildCounterNewPermissionsEvent++; if (buildCounterNewPermissionsEvent < 3) { - checkUnnamed4886(o.approvedPermissions!); + checkUnnamed4930(o.approvedPermissions!); unittest.expect( o.productId!, unittest.equals('foo'), ); - checkUnnamed4887(o.requestedPermissions!); + checkUnnamed4931(o.requestedPermissions!); } buildCounterNewPermissionsEvent--; } @@ -1773,12 +1773,12 @@ void checkNotification(api.Notification o) { buildCounterNotification--; } -core.List buildUnnamed4888() => [ +core.List buildUnnamed4932() => [ buildNotification(), buildNotification(), ]; -void checkUnnamed4888(core.List o) { +void checkUnnamed4932(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotification(o[0]); checkNotification(o[1]); @@ -1789,7 +1789,7 @@ api.NotificationSet buildNotificationSet() { final o = api.NotificationSet(); buildCounterNotificationSet++; if (buildCounterNotificationSet < 3) { - o.notification = buildUnnamed4888(); + o.notification = buildUnnamed4932(); o.notificationSetId = 'foo'; } buildCounterNotificationSet--; @@ -1799,7 +1799,7 @@ api.NotificationSet buildNotificationSet() { void checkNotificationSet(api.NotificationSet o) { buildCounterNotificationSet++; if (buildCounterNotificationSet < 3) { - checkUnnamed4888(o.notification!); + checkUnnamed4932(o.notification!); unittest.expect( o.notificationSetId!, unittest.equals('foo'), @@ -1872,12 +1872,12 @@ void checkPermission(api.Permission o) { buildCounterPermission--; } -core.List buildUnnamed4889() => [ +core.List buildUnnamed4933() => [ buildProductPolicy(), buildProductPolicy(), ]; -void checkUnnamed4889(core.List o) { +void checkUnnamed4933(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductPolicy(o[0]); checkProductPolicy(o[1]); @@ -1892,7 +1892,7 @@ api.Policy buildPolicy() { o.deviceReportPolicy = 'foo'; o.maintenanceWindow = buildMaintenanceWindow(); o.productAvailabilityPolicy = 'foo'; - o.productPolicy = buildUnnamed4889(); + o.productPolicy = buildUnnamed4933(); } buildCounterPolicy--; return o; @@ -1914,39 +1914,39 @@ void checkPolicy(api.Policy o) { o.productAvailabilityPolicy!, unittest.equals('foo'), ); - checkUnnamed4889(o.productPolicy!); + checkUnnamed4933(o.productPolicy!); } buildCounterPolicy--; } -core.List buildUnnamed4890() => [ +core.List buildUnnamed4934() => [ buildTrackInfo(), buildTrackInfo(), ]; -void checkUnnamed4890(core.List o) { +void checkUnnamed4934(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrackInfo(o[0]); checkTrackInfo(o[1]); } -core.List buildUnnamed4891() => [ +core.List buildUnnamed4935() => [ buildAppVersion(), buildAppVersion(), ]; -void checkUnnamed4891(core.List o) { +void checkUnnamed4935(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppVersion(o[0]); checkAppVersion(o[1]); } -core.List buildUnnamed4892() => [ +core.List buildUnnamed4936() => [ 'foo', 'foo', ]; -void checkUnnamed4892(core.List o) { +void checkUnnamed4936(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1958,12 +1958,12 @@ void checkUnnamed4892(core.List o) { ); } -core.List buildUnnamed4893() => [ +core.List buildUnnamed4937() => [ 'foo', 'foo', ]; -void checkUnnamed4893(core.List o) { +void checkUnnamed4937(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1975,12 +1975,12 @@ void checkUnnamed4893(core.List o) { ); } -core.List buildUnnamed4894() => [ +core.List buildUnnamed4938() => [ 'foo', 'foo', ]; -void checkUnnamed4894(core.List o) { +void checkUnnamed4938(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1992,23 +1992,23 @@ void checkUnnamed4894(core.List o) { ); } -core.List buildUnnamed4895() => [ +core.List buildUnnamed4939() => [ buildProductPermission(), buildProductPermission(), ]; -void checkUnnamed4895(core.List o) { +void checkUnnamed4939(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductPermission(o[0]); checkProductPermission(o[1]); } -core.List buildUnnamed4896() => [ +core.List buildUnnamed4940() => [ 'foo', 'foo', ]; -void checkUnnamed4896(core.List o) { +void checkUnnamed4940(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2025,26 +2025,26 @@ api.Product buildProduct() { final o = api.Product(); buildCounterProduct++; if (buildCounterProduct < 3) { - o.appTracks = buildUnnamed4890(); - o.appVersion = buildUnnamed4891(); + o.appTracks = buildUnnamed4934(); + o.appVersion = buildUnnamed4935(); o.authorName = 'foo'; - o.availableCountries = buildUnnamed4892(); - o.availableTracks = buildUnnamed4893(); + o.availableCountries = buildUnnamed4936(); + o.availableTracks = buildUnnamed4937(); o.category = 'foo'; o.contentRating = 'foo'; o.description = 'foo'; o.detailsUrl = 'foo'; o.distributionChannel = 'foo'; - o.features = buildUnnamed4894(); + o.features = buildUnnamed4938(); o.iconUrl = 'foo'; o.lastUpdatedTimestampMillis = 'foo'; o.minAndroidSdkVersion = 42; - o.permissions = buildUnnamed4895(); + o.permissions = buildUnnamed4939(); o.productId = 'foo'; o.productPricing = 'foo'; o.recentChanges = 'foo'; o.requiresContainerApp = true; - o.screenshotUrls = buildUnnamed4896(); + o.screenshotUrls = buildUnnamed4940(); o.signingCertificate = buildProductSigningCertificate(); o.smallIconUrl = 'foo'; o.title = 'foo'; @@ -2057,14 +2057,14 @@ api.Product buildProduct() { void checkProduct(api.Product o) { buildCounterProduct++; if (buildCounterProduct < 3) { - checkUnnamed4890(o.appTracks!); - checkUnnamed4891(o.appVersion!); + checkUnnamed4934(o.appTracks!); + checkUnnamed4935(o.appVersion!); unittest.expect( o.authorName!, unittest.equals('foo'), ); - checkUnnamed4892(o.availableCountries!); - checkUnnamed4893(o.availableTracks!); + checkUnnamed4936(o.availableCountries!); + checkUnnamed4937(o.availableTracks!); unittest.expect( o.category!, unittest.equals('foo'), @@ -2085,7 +2085,7 @@ void checkProduct(api.Product o) { o.distributionChannel!, unittest.equals('foo'), ); - checkUnnamed4894(o.features!); + checkUnnamed4938(o.features!); unittest.expect( o.iconUrl!, unittest.equals('foo'), @@ -2098,7 +2098,7 @@ void checkProduct(api.Product o) { o.minAndroidSdkVersion!, unittest.equals(42), ); - checkUnnamed4895(o.permissions!); + checkUnnamed4939(o.permissions!); unittest.expect( o.productId!, unittest.equals('foo'), @@ -2112,7 +2112,7 @@ void checkProduct(api.Product o) { unittest.equals('foo'), ); unittest.expect(o.requiresContainerApp!, unittest.isTrue); - checkUnnamed4896(o.screenshotUrls!); + checkUnnamed4940(o.screenshotUrls!); checkProductSigningCertificate(o.signingCertificate!); unittest.expect( o.smallIconUrl!, @@ -2211,12 +2211,12 @@ void checkProductPermission(api.ProductPermission o) { buildCounterProductPermission--; } -core.List buildUnnamed4897() => [ +core.List buildUnnamed4941() => [ buildProductPermission(), buildProductPermission(), ]; -void checkUnnamed4897(core.List o) { +void checkUnnamed4941(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductPermission(o[0]); checkProductPermission(o[1]); @@ -2227,7 +2227,7 @@ api.ProductPermissions buildProductPermissions() { final o = api.ProductPermissions(); buildCounterProductPermissions++; if (buildCounterProductPermissions < 3) { - o.permission = buildUnnamed4897(); + o.permission = buildUnnamed4941(); o.productId = 'foo'; } buildCounterProductPermissions--; @@ -2237,7 +2237,7 @@ api.ProductPermissions buildProductPermissions() { void checkProductPermissions(api.ProductPermissions o) { buildCounterProductPermissions++; if (buildCounterProductPermissions < 3) { - checkUnnamed4897(o.permission!); + checkUnnamed4941(o.permission!); unittest.expect( o.productId!, unittest.equals('foo'), @@ -2246,12 +2246,12 @@ void checkProductPermissions(api.ProductPermissions o) { buildCounterProductPermissions--; } -core.List buildUnnamed4898() => [ +core.List buildUnnamed4942() => [ 'foo', 'foo', ]; -void checkUnnamed4898(core.List o) { +void checkUnnamed4942(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2263,12 +2263,12 @@ void checkUnnamed4898(core.List o) { ); } -core.List buildUnnamed4899() => [ +core.List buildUnnamed4943() => [ 'foo', 'foo', ]; -void checkUnnamed4899(core.List o) { +void checkUnnamed4943(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2289,8 +2289,8 @@ api.ProductPolicy buildProductPolicy() { o.autoUpdateMode = 'foo'; o.managedConfiguration = buildManagedConfiguration(); o.productId = 'foo'; - o.trackIds = buildUnnamed4898(); - o.tracks = buildUnnamed4899(); + o.trackIds = buildUnnamed4942(); + o.tracks = buildUnnamed4943(); } buildCounterProductPolicy--; return o; @@ -2309,18 +2309,18 @@ void checkProductPolicy(api.ProductPolicy o) { o.productId!, unittest.equals('foo'), ); - checkUnnamed4898(o.trackIds!); - checkUnnamed4899(o.tracks!); + checkUnnamed4942(o.trackIds!); + checkUnnamed4943(o.tracks!); } buildCounterProductPolicy--; } -core.List buildUnnamed4900() => [ +core.List buildUnnamed4944() => [ 'foo', 'foo', ]; -void checkUnnamed4900(core.List o) { +void checkUnnamed4944(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2332,12 +2332,12 @@ void checkUnnamed4900(core.List o) { ); } -core.List buildUnnamed4901() => [ +core.List buildUnnamed4945() => [ buildProductVisibility(), buildProductVisibility(), ]; -void checkUnnamed4901(core.List o) { +void checkUnnamed4945(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductVisibility(o[0]); checkProductVisibility(o[1]); @@ -2348,9 +2348,9 @@ api.ProductSet buildProductSet() { final o = api.ProductSet(); buildCounterProductSet++; if (buildCounterProductSet < 3) { - o.productId = buildUnnamed4900(); + o.productId = buildUnnamed4944(); o.productSetBehavior = 'foo'; - o.productVisibility = buildUnnamed4901(); + o.productVisibility = buildUnnamed4945(); } buildCounterProductSet--; return o; @@ -2359,12 +2359,12 @@ api.ProductSet buildProductSet() { void checkProductSet(api.ProductSet o) { buildCounterProductSet++; if (buildCounterProductSet < 3) { - checkUnnamed4900(o.productId!); + checkUnnamed4944(o.productId!); unittest.expect( o.productSetBehavior!, unittest.equals('foo'), ); - checkUnnamed4901(o.productVisibility!); + checkUnnamed4945(o.productVisibility!); } buildCounterProductSet--; } @@ -2396,12 +2396,12 @@ void checkProductSigningCertificate(api.ProductSigningCertificate o) { buildCounterProductSigningCertificate--; } -core.List buildUnnamed4902() => [ +core.List buildUnnamed4946() => [ 'foo', 'foo', ]; -void checkUnnamed4902(core.List o) { +void checkUnnamed4946(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2413,12 +2413,12 @@ void checkUnnamed4902(core.List o) { ); } -core.List buildUnnamed4903() => [ +core.List buildUnnamed4947() => [ 'foo', 'foo', ]; -void checkUnnamed4903(core.List o) { +void checkUnnamed4947(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2436,8 +2436,8 @@ api.ProductVisibility buildProductVisibility() { buildCounterProductVisibility++; if (buildCounterProductVisibility < 3) { o.productId = 'foo'; - o.trackIds = buildUnnamed4902(); - o.tracks = buildUnnamed4903(); + o.trackIds = buildUnnamed4946(); + o.tracks = buildUnnamed4947(); } buildCounterProductVisibility--; return o; @@ -2450,8 +2450,8 @@ void checkProductVisibility(api.ProductVisibility o) { o.productId!, unittest.equals('foo'), ); - checkUnnamed4902(o.trackIds!); - checkUnnamed4903(o.tracks!); + checkUnnamed4946(o.trackIds!); + checkUnnamed4947(o.tracks!); } buildCounterProductVisibility--; } @@ -2504,12 +2504,12 @@ void checkProductsGenerateApprovalUrlResponse( buildCounterProductsGenerateApprovalUrlResponse--; } -core.List buildUnnamed4904() => [ +core.List buildUnnamed4948() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed4904(core.List o) { +void checkUnnamed4948(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -2521,7 +2521,7 @@ api.ProductsListResponse buildProductsListResponse() { buildCounterProductsListResponse++; if (buildCounterProductsListResponse < 3) { o.pageInfo = buildPageInfo(); - o.product = buildUnnamed4904(); + o.product = buildUnnamed4948(); o.tokenPagination = buildTokenPagination(); } buildCounterProductsListResponse--; @@ -2532,7 +2532,7 @@ void checkProductsListResponse(api.ProductsListResponse o) { buildCounterProductsListResponse++; if (buildCounterProductsListResponse < 3) { checkPageInfo(o.pageInfo!); - checkUnnamed4904(o.product!); + checkUnnamed4948(o.product!); checkTokenPagination(o.tokenPagination!); } buildCounterProductsListResponse--; @@ -2599,12 +2599,12 @@ void checkServiceAccountKey(api.ServiceAccountKey o) { buildCounterServiceAccountKey--; } -core.List buildUnnamed4905() => [ +core.List buildUnnamed4949() => [ buildServiceAccountKey(), buildServiceAccountKey(), ]; -void checkUnnamed4905(core.List o) { +void checkUnnamed4949(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccountKey(o[0]); checkServiceAccountKey(o[1]); @@ -2615,7 +2615,7 @@ api.ServiceAccountKeysListResponse buildServiceAccountKeysListResponse() { final o = api.ServiceAccountKeysListResponse(); buildCounterServiceAccountKeysListResponse++; if (buildCounterServiceAccountKeysListResponse < 3) { - o.serviceAccountKey = buildUnnamed4905(); + o.serviceAccountKey = buildUnnamed4949(); } buildCounterServiceAccountKeysListResponse--; return o; @@ -2624,7 +2624,7 @@ api.ServiceAccountKeysListResponse buildServiceAccountKeysListResponse() { void checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { buildCounterServiceAccountKeysListResponse++; if (buildCounterServiceAccountKeysListResponse < 3) { - checkUnnamed4905(o.serviceAccountKey!); + checkUnnamed4949(o.serviceAccountKey!); } buildCounterServiceAccountKeysListResponse--; } @@ -2661,23 +2661,23 @@ void checkSignupInfo(api.SignupInfo o) { buildCounterSignupInfo--; } -core.List buildUnnamed4906() => [ +core.List buildUnnamed4950() => [ buildLocalizedText(), buildLocalizedText(), ]; -void checkUnnamed4906(core.List o) { +void checkUnnamed4950(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedText(o[0]); checkLocalizedText(o[1]); } -core.List buildUnnamed4907() => [ +core.List buildUnnamed4951() => [ 'foo', 'foo', ]; -void checkUnnamed4907(core.List o) { +void checkUnnamed4951(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2695,9 +2695,9 @@ api.StoreCluster buildStoreCluster() { buildCounterStoreCluster++; if (buildCounterStoreCluster < 3) { o.id = 'foo'; - o.name = buildUnnamed4906(); + o.name = buildUnnamed4950(); o.orderInPage = 'foo'; - o.productId = buildUnnamed4907(); + o.productId = buildUnnamed4951(); } buildCounterStoreCluster--; return o; @@ -2710,12 +2710,12 @@ void checkStoreCluster(api.StoreCluster o) { o.id!, unittest.equals('foo'), ); - checkUnnamed4906(o.name!); + checkUnnamed4950(o.name!); unittest.expect( o.orderInPage!, unittest.equals('foo'), ); - checkUnnamed4907(o.productId!); + checkUnnamed4951(o.productId!); } buildCounterStoreCluster--; } @@ -2747,12 +2747,12 @@ void checkStoreLayout(api.StoreLayout o) { buildCounterStoreLayout--; } -core.List buildUnnamed4908() => [ +core.List buildUnnamed4952() => [ buildStoreCluster(), buildStoreCluster(), ]; -void checkUnnamed4908(core.List o) { +void checkUnnamed4952(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStoreCluster(o[0]); checkStoreCluster(o[1]); @@ -2763,7 +2763,7 @@ api.StoreLayoutClustersListResponse buildStoreLayoutClustersListResponse() { final o = api.StoreLayoutClustersListResponse(); buildCounterStoreLayoutClustersListResponse++; if (buildCounterStoreLayoutClustersListResponse < 3) { - o.cluster = buildUnnamed4908(); + o.cluster = buildUnnamed4952(); } buildCounterStoreLayoutClustersListResponse--; return o; @@ -2773,17 +2773,17 @@ void checkStoreLayoutClustersListResponse( api.StoreLayoutClustersListResponse o) { buildCounterStoreLayoutClustersListResponse++; if (buildCounterStoreLayoutClustersListResponse < 3) { - checkUnnamed4908(o.cluster!); + checkUnnamed4952(o.cluster!); } buildCounterStoreLayoutClustersListResponse--; } -core.List buildUnnamed4909() => [ +core.List buildUnnamed4953() => [ buildStorePage(), buildStorePage(), ]; -void checkUnnamed4909(core.List o) { +void checkUnnamed4953(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStorePage(o[0]); checkStorePage(o[1]); @@ -2794,7 +2794,7 @@ api.StoreLayoutPagesListResponse buildStoreLayoutPagesListResponse() { final o = api.StoreLayoutPagesListResponse(); buildCounterStoreLayoutPagesListResponse++; if (buildCounterStoreLayoutPagesListResponse < 3) { - o.page = buildUnnamed4909(); + o.page = buildUnnamed4953(); } buildCounterStoreLayoutPagesListResponse--; return o; @@ -2803,17 +2803,17 @@ api.StoreLayoutPagesListResponse buildStoreLayoutPagesListResponse() { void checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { buildCounterStoreLayoutPagesListResponse++; if (buildCounterStoreLayoutPagesListResponse < 3) { - checkUnnamed4909(o.page!); + checkUnnamed4953(o.page!); } buildCounterStoreLayoutPagesListResponse--; } -core.List buildUnnamed4910() => [ +core.List buildUnnamed4954() => [ 'foo', 'foo', ]; -void checkUnnamed4910(core.List o) { +void checkUnnamed4954(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2825,12 +2825,12 @@ void checkUnnamed4910(core.List o) { ); } -core.List buildUnnamed4911() => [ +core.List buildUnnamed4955() => [ buildLocalizedText(), buildLocalizedText(), ]; -void checkUnnamed4911(core.List o) { +void checkUnnamed4955(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedText(o[0]); checkLocalizedText(o[1]); @@ -2842,8 +2842,8 @@ api.StorePage buildStorePage() { buildCounterStorePage++; if (buildCounterStorePage < 3) { o.id = 'foo'; - o.link = buildUnnamed4910(); - o.name = buildUnnamed4911(); + o.link = buildUnnamed4954(); + o.name = buildUnnamed4955(); } buildCounterStorePage--; return o; @@ -2856,8 +2856,8 @@ void checkStorePage(api.StorePage o) { o.id!, unittest.equals('foo'), ); - checkUnnamed4910(o.link!); - checkUnnamed4911(o.name!); + checkUnnamed4954(o.link!); + checkUnnamed4955(o.name!); } buildCounterStorePage--; } @@ -2963,12 +2963,12 @@ void checkUser(api.User o) { buildCounterUser--; } -core.List buildUnnamed4912() => [ +core.List buildUnnamed4956() => [ buildUser(), buildUser(), ]; -void checkUnnamed4912(core.List o) { +void checkUnnamed4956(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -2979,7 +2979,7 @@ api.UsersListResponse buildUsersListResponse() { final o = api.UsersListResponse(); buildCounterUsersListResponse++; if (buildCounterUsersListResponse < 3) { - o.user = buildUnnamed4912(); + o.user = buildUnnamed4956(); } buildCounterUsersListResponse--; return o; @@ -2988,7 +2988,7 @@ api.UsersListResponse buildUsersListResponse() { void checkUsersListResponse(api.UsersListResponse o) { buildCounterUsersListResponse++; if (buildCounterUsersListResponse < 3) { - checkUnnamed4912(o.user!); + checkUnnamed4956(o.user!); } buildCounterUsersListResponse--; } @@ -3020,12 +3020,12 @@ void checkVariableSet(api.VariableSet o) { buildCounterVariableSet--; } -core.List buildUnnamed4913() => [ +core.List buildUnnamed4957() => [ buildWebAppIcon(), buildWebAppIcon(), ]; -void checkUnnamed4913(core.List o) { +void checkUnnamed4957(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebAppIcon(o[0]); checkWebAppIcon(o[1]); @@ -3037,7 +3037,7 @@ api.WebApp buildWebApp() { buildCounterWebApp++; if (buildCounterWebApp < 3) { o.displayMode = 'foo'; - o.icons = buildUnnamed4913(); + o.icons = buildUnnamed4957(); o.isPublished = true; o.startUrl = 'foo'; o.title = 'foo'; @@ -3055,7 +3055,7 @@ void checkWebApp(api.WebApp o) { o.displayMode!, unittest.equals('foo'), ); - checkUnnamed4913(o.icons!); + checkUnnamed4957(o.icons!); unittest.expect(o.isPublished!, unittest.isTrue); unittest.expect( o.startUrl!, @@ -3099,12 +3099,12 @@ void checkWebAppIcon(api.WebAppIcon o) { buildCounterWebAppIcon--; } -core.List buildUnnamed4914() => [ +core.List buildUnnamed4958() => [ buildWebApp(), buildWebApp(), ]; -void checkUnnamed4914(core.List o) { +void checkUnnamed4958(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebApp(o[0]); checkWebApp(o[1]); @@ -3115,7 +3115,7 @@ api.WebAppsListResponse buildWebAppsListResponse() { final o = api.WebAppsListResponse(); buildCounterWebAppsListResponse++; if (buildCounterWebAppsListResponse < 3) { - o.webApp = buildUnnamed4914(); + o.webApp = buildUnnamed4958(); } buildCounterWebAppsListResponse--; return o; @@ -3124,7 +3124,7 @@ api.WebAppsListResponse buildWebAppsListResponse() { void checkWebAppsListResponse(api.WebAppsListResponse o) { buildCounterWebAppsListResponse++; if (buildCounterWebAppsListResponse < 3) { - checkUnnamed4914(o.webApp!); + checkUnnamed4958(o.webApp!); } buildCounterWebAppsListResponse--; } diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart index 3cdf587b1..541436e3e 100644 --- a/generated/googleapis/test/androidmanagement/v1_test.dart +++ b/generated/googleapis/test/androidmanagement/v1_test.dart @@ -26,6 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.List buildUnnamed7005() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed7005(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterAdvancedSecurityOverrides = 0; api.AdvancedSecurityOverrides buildAdvancedSecurityOverrides() { final o = api.AdvancedSecurityOverrides(); @@ -34,6 +51,7 @@ api.AdvancedSecurityOverrides buildAdvancedSecurityOverrides() { o.commonCriteriaMode = 'foo'; o.developerSettings = 'foo'; o.googlePlayProtectVerifyApps = 'foo'; + o.personalAppsThatCanReadWorkNotifications = buildUnnamed7005(); o.untrustedAppsPolicy = 'foo'; } buildCounterAdvancedSecurityOverrides--; @@ -55,6 +73,7 @@ void checkAdvancedSecurityOverrides(api.AdvancedSecurityOverrides o) { o.googlePlayProtectVerifyApps!, unittest.equals('foo'), ); + checkUnnamed7005(o.personalAppsThatCanReadWorkNotifications!); unittest.expect( o.untrustedAppsPolicy!, unittest.equals('foo'), @@ -136,34 +155,34 @@ void checkAppTrackInfo(api.AppTrackInfo o) { buildCounterAppTrackInfo--; } -core.List buildUnnamed6929() => [ +core.List buildUnnamed7006() => [ buildAppTrackInfo(), buildAppTrackInfo(), ]; -void checkUnnamed6929(core.List o) { +void checkUnnamed7006(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppTrackInfo(o[0]); checkAppTrackInfo(o[1]); } -core.List buildUnnamed6930() => [ +core.List buildUnnamed7007() => [ buildManagedProperty(), buildManagedProperty(), ]; -void checkUnnamed6930(core.List o) { +void checkUnnamed7007(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedProperty(o[0]); checkManagedProperty(o[1]); } -core.List buildUnnamed6931() => [ +core.List buildUnnamed7008() => [ buildApplicationPermission(), buildApplicationPermission(), ]; -void checkUnnamed6931(core.List o) { +void checkUnnamed7008(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationPermission(o[0]); checkApplicationPermission(o[1]); @@ -174,10 +193,10 @@ api.Application buildApplication() { final o = api.Application(); buildCounterApplication++; if (buildCounterApplication < 3) { - o.appTracks = buildUnnamed6929(); - o.managedProperties = buildUnnamed6930(); + o.appTracks = buildUnnamed7006(); + o.managedProperties = buildUnnamed7007(); o.name = 'foo'; - o.permissions = buildUnnamed6931(); + o.permissions = buildUnnamed7008(); o.title = 'foo'; } buildCounterApplication--; @@ -187,13 +206,13 @@ api.Application buildApplication() { void checkApplication(api.Application o) { buildCounterApplication++; if (buildCounterApplication < 3) { - checkUnnamed6929(o.appTracks!); - checkUnnamed6930(o.managedProperties!); + checkUnnamed7006(o.appTracks!); + checkUnnamed7007(o.managedProperties!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6931(o.permissions!); + checkUnnamed7008(o.permissions!); unittest.expect( o.title!, unittest.equals('foo'), @@ -261,12 +280,12 @@ void checkApplicationPermission(api.ApplicationPermission o) { buildCounterApplicationPermission--; } -core.List buildUnnamed6932() => [ +core.List buildUnnamed7009() => [ 'foo', 'foo', ]; -void checkUnnamed6932(core.List o) { +void checkUnnamed7009(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -278,12 +297,12 @@ void checkUnnamed6932(core.List o) { ); } -core.List buildUnnamed6933() => [ +core.List buildUnnamed7010() => [ 'foo', 'foo', ]; -void checkUnnamed6933(core.List o) { +void checkUnnamed7010(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -295,7 +314,7 @@ void checkUnnamed6933(core.List o) { ); } -core.Map buildUnnamed6934() => { +core.Map buildUnnamed7011() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -308,7 +327,7 @@ core.Map buildUnnamed6934() => { }, }; -void checkUnnamed6934(core.Map o) { +void checkUnnamed7011(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -340,12 +359,12 @@ void checkUnnamed6934(core.Map o) { ); } -core.List buildUnnamed6935() => [ +core.List buildUnnamed7012() => [ buildPermissionGrant(), buildPermissionGrant(), ]; -void checkUnnamed6935(core.List o) { +void checkUnnamed7012(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionGrant(o[0]); checkPermissionGrant(o[1]); @@ -356,19 +375,19 @@ api.ApplicationPolicy buildApplicationPolicy() { final o = api.ApplicationPolicy(); buildCounterApplicationPolicy++; if (buildCounterApplicationPolicy < 3) { - o.accessibleTrackIds = buildUnnamed6932(); + o.accessibleTrackIds = buildUnnamed7009(); o.autoUpdateMode = 'foo'; o.connectedWorkAndPersonalApp = 'foo'; o.defaultPermissionPolicy = 'foo'; - o.delegatedScopes = buildUnnamed6933(); + o.delegatedScopes = buildUnnamed7010(); o.disabled = true; o.installType = 'foo'; o.lockTaskAllowed = true; - o.managedConfiguration = buildUnnamed6934(); + o.managedConfiguration = buildUnnamed7011(); o.managedConfigurationTemplate = buildManagedConfigurationTemplate(); o.minimumVersionCode = 42; o.packageName = 'foo'; - o.permissionGrants = buildUnnamed6935(); + o.permissionGrants = buildUnnamed7012(); } buildCounterApplicationPolicy--; return o; @@ -377,7 +396,7 @@ api.ApplicationPolicy buildApplicationPolicy() { void checkApplicationPolicy(api.ApplicationPolicy o) { buildCounterApplicationPolicy++; if (buildCounterApplicationPolicy < 3) { - checkUnnamed6932(o.accessibleTrackIds!); + checkUnnamed7009(o.accessibleTrackIds!); unittest.expect( o.autoUpdateMode!, unittest.equals('foo'), @@ -390,14 +409,14 @@ void checkApplicationPolicy(api.ApplicationPolicy o) { o.defaultPermissionPolicy!, unittest.equals('foo'), ); - checkUnnamed6933(o.delegatedScopes!); + checkUnnamed7010(o.delegatedScopes!); unittest.expect(o.disabled!, unittest.isTrue); unittest.expect( o.installType!, unittest.equals('foo'), ); unittest.expect(o.lockTaskAllowed!, unittest.isTrue); - checkUnnamed6934(o.managedConfiguration!); + checkUnnamed7011(o.managedConfiguration!); checkManagedConfigurationTemplate(o.managedConfigurationTemplate!); unittest.expect( o.minimumVersionCode!, @@ -407,39 +426,39 @@ void checkApplicationPolicy(api.ApplicationPolicy o) { o.packageName!, unittest.equals('foo'), ); - checkUnnamed6935(o.permissionGrants!); + checkUnnamed7012(o.permissionGrants!); } buildCounterApplicationPolicy--; } -core.List buildUnnamed6936() => [ +core.List buildUnnamed7013() => [ buildApplicationEvent(), buildApplicationEvent(), ]; -void checkUnnamed6936(core.List o) { +void checkUnnamed7013(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationEvent(o[0]); checkApplicationEvent(o[1]); } -core.List buildUnnamed6937() => [ +core.List buildUnnamed7014() => [ buildKeyedAppState(), buildKeyedAppState(), ]; -void checkUnnamed6937(core.List o) { +void checkUnnamed7014(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyedAppState(o[0]); checkKeyedAppState(o[1]); } -core.List buildUnnamed6938() => [ +core.List buildUnnamed7015() => [ 'foo', 'foo', ]; -void checkUnnamed6938(core.List o) { +void checkUnnamed7015(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -458,12 +477,12 @@ api.ApplicationReport buildApplicationReport() { if (buildCounterApplicationReport < 3) { o.applicationSource = 'foo'; o.displayName = 'foo'; - o.events = buildUnnamed6936(); + o.events = buildUnnamed7013(); o.installerPackageName = 'foo'; - o.keyedAppStates = buildUnnamed6937(); + o.keyedAppStates = buildUnnamed7014(); o.packageName = 'foo'; o.packageSha256Hash = 'foo'; - o.signingKeyCertFingerprints = buildUnnamed6938(); + o.signingKeyCertFingerprints = buildUnnamed7015(); o.state = 'foo'; o.versionCode = 42; o.versionName = 'foo'; @@ -483,12 +502,12 @@ void checkApplicationReport(api.ApplicationReport o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6936(o.events!); + checkUnnamed7013(o.events!); unittest.expect( o.installerPackageName!, unittest.equals('foo'), ); - checkUnnamed6937(o.keyedAppStates!); + checkUnnamed7014(o.keyedAppStates!); unittest.expect( o.packageName!, unittest.equals('foo'), @@ -497,7 +516,7 @@ void checkApplicationReport(api.ApplicationReport o) { o.packageSha256Hash!, unittest.equals('foo'), ); - checkUnnamed6938(o.signingKeyCertFingerprints!); + checkUnnamed7015(o.signingKeyCertFingerprints!); unittest.expect( o.state!, unittest.equals('foo'), @@ -560,12 +579,12 @@ void checkBlockAction(api.BlockAction o) { buildCounterBlockAction--; } -core.List buildUnnamed6939() => [ +core.List buildUnnamed7016() => [ 'foo', 'foo', ]; -void checkUnnamed6939(core.List o) { +void checkUnnamed7016(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -582,7 +601,7 @@ api.ChoosePrivateKeyRule buildChoosePrivateKeyRule() { final o = api.ChoosePrivateKeyRule(); buildCounterChoosePrivateKeyRule++; if (buildCounterChoosePrivateKeyRule < 3) { - o.packageNames = buildUnnamed6939(); + o.packageNames = buildUnnamed7016(); o.privateKeyAlias = 'foo'; o.urlPattern = 'foo'; } @@ -593,7 +612,7 @@ api.ChoosePrivateKeyRule buildChoosePrivateKeyRule() { void checkChoosePrivateKeyRule(api.ChoosePrivateKeyRule o) { buildCounterChoosePrivateKeyRule++; if (buildCounterChoosePrivateKeyRule < 3) { - checkUnnamed6939(o.packageNames!); + checkUnnamed7016(o.packageNames!); unittest.expect( o.privateKeyAlias!, unittest.equals('foo'), @@ -606,12 +625,12 @@ void checkChoosePrivateKeyRule(api.ChoosePrivateKeyRule o) { buildCounterChoosePrivateKeyRule--; } -core.List buildUnnamed6940() => [ +core.List buildUnnamed7017() => [ 'foo', 'foo', ]; -void checkUnnamed6940(core.List o) { +void checkUnnamed7017(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -632,7 +651,7 @@ api.Command buildCommand() { o.duration = 'foo'; o.errorCode = 'foo'; o.newPassword = 'foo'; - o.resetPasswordFlags = buildUnnamed6940(); + o.resetPasswordFlags = buildUnnamed7017(); o.type = 'foo'; o.userName = 'foo'; } @@ -659,7 +678,7 @@ void checkCommand(api.Command o) { o.newPassword!, unittest.equals('foo'), ); - checkUnnamed6940(o.resetPasswordFlags!); + checkUnnamed7017(o.resetPasswordFlags!); unittest.expect( o.type!, unittest.equals('foo'), @@ -694,12 +713,12 @@ void checkCommonCriteriaModeInfo(api.CommonCriteriaModeInfo o) { buildCounterCommonCriteriaModeInfo--; } -core.List buildUnnamed6941() => [ +core.List buildUnnamed7018() => [ 'foo', 'foo', ]; -void checkUnnamed6941(core.List o) { +void checkUnnamed7018(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -719,7 +738,7 @@ api.ComplianceRule buildComplianceRule() { o.apiLevelCondition = buildApiLevelCondition(); o.disableApps = true; o.nonComplianceDetailCondition = buildNonComplianceDetailCondition(); - o.packageNamesToDisable = buildUnnamed6941(); + o.packageNamesToDisable = buildUnnamed7018(); } buildCounterComplianceRule--; return o; @@ -731,7 +750,7 @@ void checkComplianceRule(api.ComplianceRule o) { checkApiLevelCondition(o.apiLevelCondition!); unittest.expect(o.disableApps!, unittest.isTrue); checkNonComplianceDetailCondition(o.nonComplianceDetailCondition!); - checkUnnamed6941(o.packageNamesToDisable!); + checkUnnamed7018(o.packageNamesToDisable!); } buildCounterComplianceRule--; } @@ -788,12 +807,12 @@ void checkContactInfo(api.ContactInfo o) { buildCounterContactInfo--; } -core.List buildUnnamed6942() => [ +core.List buildUnnamed7019() => [ 'foo', 'foo', ]; -void checkUnnamed6942(core.List o) { +void checkUnnamed7019(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -811,7 +830,7 @@ api.ContentProviderEndpoint buildContentProviderEndpoint() { buildCounterContentProviderEndpoint++; if (buildCounterContentProviderEndpoint < 3) { o.packageName = 'foo'; - o.signingCertsSha256 = buildUnnamed6942(); + o.signingCertsSha256 = buildUnnamed7019(); o.uri = 'foo'; } buildCounterContentProviderEndpoint--; @@ -825,7 +844,7 @@ void checkContentProviderEndpoint(api.ContentProviderEndpoint o) { o.packageName!, unittest.equals('foo'), ); - checkUnnamed6942(o.signingCertsSha256!); + checkUnnamed7019(o.signingCertsSha256!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -834,6 +853,38 @@ void checkContentProviderEndpoint(api.ContentProviderEndpoint o) { buildCounterContentProviderEndpoint--; } +core.int buildCounterCrossProfilePolicies = 0; +api.CrossProfilePolicies buildCrossProfilePolicies() { + final o = api.CrossProfilePolicies(); + buildCounterCrossProfilePolicies++; + if (buildCounterCrossProfilePolicies < 3) { + o.crossProfileCopyPaste = 'foo'; + o.crossProfileDataSharing = 'foo'; + o.showWorkContactsInPersonalProfile = 'foo'; + } + buildCounterCrossProfilePolicies--; + return o; +} + +void checkCrossProfilePolicies(api.CrossProfilePolicies o) { + buildCounterCrossProfilePolicies++; + if (buildCounterCrossProfilePolicies < 3) { + unittest.expect( + o.crossProfileCopyPaste!, + unittest.equals('foo'), + ); + unittest.expect( + o.crossProfileDataSharing!, + unittest.equals('foo'), + ); + unittest.expect( + o.showWorkContactsInPersonalProfile!, + unittest.equals('foo'), + ); + } + buildCounterCrossProfilePolicies--; +} + core.int buildCounterDate = 0; api.Date buildDate() { final o = api.Date(); @@ -866,89 +917,89 @@ void checkDate(api.Date o) { buildCounterDate--; } -core.List buildUnnamed6943() => [ +core.List buildUnnamed7020() => [ buildApplicationReport(), buildApplicationReport(), ]; -void checkUnnamed6943(core.List o) { +void checkUnnamed7020(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationReport(o[0]); checkApplicationReport(o[1]); } -core.List buildUnnamed6944() => [ +core.List buildUnnamed7021() => [ buildPasswordRequirements(), buildPasswordRequirements(), ]; -void checkUnnamed6944(core.List o) { +void checkUnnamed7021(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPasswordRequirements(o[0]); checkPasswordRequirements(o[1]); } -core.List buildUnnamed6945() => [ +core.List buildUnnamed7022() => [ buildDisplay(), buildDisplay(), ]; -void checkUnnamed6945(core.List o) { +void checkUnnamed7022(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisplay(o[0]); checkDisplay(o[1]); } -core.List buildUnnamed6946() => [ +core.List buildUnnamed7023() => [ buildHardwareStatus(), buildHardwareStatus(), ]; -void checkUnnamed6946(core.List o) { +void checkUnnamed7023(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHardwareStatus(o[0]); checkHardwareStatus(o[1]); } -core.List buildUnnamed6947() => [ +core.List buildUnnamed7024() => [ buildMemoryEvent(), buildMemoryEvent(), ]; -void checkUnnamed6947(core.List o) { +void checkUnnamed7024(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMemoryEvent(o[0]); checkMemoryEvent(o[1]); } -core.List buildUnnamed6948() => [ +core.List buildUnnamed7025() => [ buildNonComplianceDetail(), buildNonComplianceDetail(), ]; -void checkUnnamed6948(core.List o) { +void checkUnnamed7025(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNonComplianceDetail(o[0]); checkNonComplianceDetail(o[1]); } -core.List buildUnnamed6949() => [ +core.List buildUnnamed7026() => [ buildPowerManagementEvent(), buildPowerManagementEvent(), ]; -void checkUnnamed6949(core.List o) { +void checkUnnamed7026(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPowerManagementEvent(o[0]); checkPowerManagementEvent(o[1]); } -core.List buildUnnamed6950() => [ +core.List buildUnnamed7027() => [ 'foo', 'foo', ]; -void checkUnnamed6950(core.List o) { +void checkUnnamed7027(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -960,12 +1011,12 @@ void checkUnnamed6950(core.List o) { ); } -core.Map buildUnnamed6951() => { +core.Map buildUnnamed7028() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6951(core.Map o) { +void checkUnnamed7028(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -983,38 +1034,38 @@ api.Device buildDevice() { buildCounterDevice++; if (buildCounterDevice < 3) { o.apiLevel = 42; - o.applicationReports = buildUnnamed6943(); - o.appliedPasswordPolicies = buildUnnamed6944(); + o.applicationReports = buildUnnamed7020(); + o.appliedPasswordPolicies = buildUnnamed7021(); o.appliedPolicyName = 'foo'; o.appliedPolicyVersion = 'foo'; o.appliedState = 'foo'; o.commonCriteriaModeInfo = buildCommonCriteriaModeInfo(); o.deviceSettings = buildDeviceSettings(); o.disabledReason = buildUserFacingMessage(); - o.displays = buildUnnamed6945(); + o.displays = buildUnnamed7022(); o.enrollmentTime = 'foo'; o.enrollmentTokenData = 'foo'; o.enrollmentTokenName = 'foo'; o.hardwareInfo = buildHardwareInfo(); - o.hardwareStatusSamples = buildUnnamed6946(); + o.hardwareStatusSamples = buildUnnamed7023(); o.lastPolicyComplianceReportTime = 'foo'; o.lastPolicySyncTime = 'foo'; o.lastStatusReportTime = 'foo'; o.managementMode = 'foo'; - o.memoryEvents = buildUnnamed6947(); + o.memoryEvents = buildUnnamed7024(); o.memoryInfo = buildMemoryInfo(); o.name = 'foo'; o.networkInfo = buildNetworkInfo(); - o.nonComplianceDetails = buildUnnamed6948(); + o.nonComplianceDetails = buildUnnamed7025(); o.ownership = 'foo'; o.policyCompliant = true; o.policyName = 'foo'; - o.powerManagementEvents = buildUnnamed6949(); - o.previousDeviceNames = buildUnnamed6950(); + o.powerManagementEvents = buildUnnamed7026(); + o.previousDeviceNames = buildUnnamed7027(); o.securityPosture = buildSecurityPosture(); o.softwareInfo = buildSoftwareInfo(); o.state = 'foo'; - o.systemProperties = buildUnnamed6951(); + o.systemProperties = buildUnnamed7028(); o.user = buildUser(); o.userName = 'foo'; } @@ -1029,8 +1080,8 @@ void checkDevice(api.Device o) { o.apiLevel!, unittest.equals(42), ); - checkUnnamed6943(o.applicationReports!); - checkUnnamed6944(o.appliedPasswordPolicies!); + checkUnnamed7020(o.applicationReports!); + checkUnnamed7021(o.appliedPasswordPolicies!); unittest.expect( o.appliedPolicyName!, unittest.equals('foo'), @@ -1046,7 +1097,7 @@ void checkDevice(api.Device o) { checkCommonCriteriaModeInfo(o.commonCriteriaModeInfo!); checkDeviceSettings(o.deviceSettings!); checkUserFacingMessage(o.disabledReason!); - checkUnnamed6945(o.displays!); + checkUnnamed7022(o.displays!); unittest.expect( o.enrollmentTime!, unittest.equals('foo'), @@ -1060,7 +1111,7 @@ void checkDevice(api.Device o) { unittest.equals('foo'), ); checkHardwareInfo(o.hardwareInfo!); - checkUnnamed6946(o.hardwareStatusSamples!); + checkUnnamed7023(o.hardwareStatusSamples!); unittest.expect( o.lastPolicyComplianceReportTime!, unittest.equals('foo'), @@ -1077,14 +1128,14 @@ void checkDevice(api.Device o) { o.managementMode!, unittest.equals('foo'), ); - checkUnnamed6947(o.memoryEvents!); + checkUnnamed7024(o.memoryEvents!); checkMemoryInfo(o.memoryInfo!); unittest.expect( o.name!, unittest.equals('foo'), ); checkNetworkInfo(o.networkInfo!); - checkUnnamed6948(o.nonComplianceDetails!); + checkUnnamed7025(o.nonComplianceDetails!); unittest.expect( o.ownership!, unittest.equals('foo'), @@ -1094,15 +1145,15 @@ void checkDevice(api.Device o) { o.policyName!, unittest.equals('foo'), ); - checkUnnamed6949(o.powerManagementEvents!); - checkUnnamed6950(o.previousDeviceNames!); + checkUnnamed7026(o.powerManagementEvents!); + checkUnnamed7027(o.previousDeviceNames!); checkSecurityPosture(o.securityPosture!); checkSoftwareInfo(o.softwareInfo!); unittest.expect( o.state!, unittest.equals('foo'), ); - checkUnnamed6951(o.systemProperties!); + checkUnnamed7028(o.systemProperties!); checkUser(o.user!); unittest.expect( o.userName!, @@ -1274,12 +1325,12 @@ void checkEnrollmentToken(api.EnrollmentToken o) { buildCounterEnrollmentToken--; } -core.List buildUnnamed6952() => [ +core.List buildUnnamed7029() => [ 'foo', 'foo', ]; -void checkUnnamed6952(core.List o) { +void checkUnnamed7029(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1291,23 +1342,23 @@ void checkUnnamed6952(core.List o) { ); } -core.List buildUnnamed6953() => [ +core.List buildUnnamed7030() => [ buildSigninDetail(), buildSigninDetail(), ]; -void checkUnnamed6953(core.List o) { +void checkUnnamed7030(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSigninDetail(o[0]); checkSigninDetail(o[1]); } -core.List buildUnnamed6954() => [ +core.List buildUnnamed7031() => [ buildTermsAndConditions(), buildTermsAndConditions(), ]; -void checkUnnamed6954(core.List o) { +void checkUnnamed7031(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTermsAndConditions(o[0]); checkTermsAndConditions(o[1]); @@ -1320,14 +1371,14 @@ api.Enterprise buildEnterprise() { if (buildCounterEnterprise < 3) { o.appAutoApprovalEnabled = true; o.contactInfo = buildContactInfo(); - o.enabledNotificationTypes = buildUnnamed6952(); + o.enabledNotificationTypes = buildUnnamed7029(); o.enterpriseDisplayName = 'foo'; o.logo = buildExternalData(); o.name = 'foo'; o.primaryColor = 42; o.pubsubTopic = 'foo'; - o.signinDetails = buildUnnamed6953(); - o.termsAndConditions = buildUnnamed6954(); + o.signinDetails = buildUnnamed7030(); + o.termsAndConditions = buildUnnamed7031(); } buildCounterEnterprise--; return o; @@ -1338,7 +1389,7 @@ void checkEnterprise(api.Enterprise o) { if (buildCounterEnterprise < 3) { unittest.expect(o.appAutoApprovalEnabled!, unittest.isTrue); checkContactInfo(o.contactInfo!); - checkUnnamed6952(o.enabledNotificationTypes!); + checkUnnamed7029(o.enabledNotificationTypes!); unittest.expect( o.enterpriseDisplayName!, unittest.equals('foo'), @@ -1356,8 +1407,8 @@ void checkEnterprise(api.Enterprise o) { o.pubsubTopic!, unittest.equals('foo'), ); - checkUnnamed6953(o.signinDetails!); - checkUnnamed6954(o.termsAndConditions!); + checkUnnamed7030(o.signinDetails!); + checkUnnamed7031(o.termsAndConditions!); } buildCounterEnterprise--; } @@ -1410,12 +1461,12 @@ void checkFreezePeriod(api.FreezePeriod o) { buildCounterFreezePeriod--; } -core.List buildUnnamed6955() => [ +core.List buildUnnamed7032() => [ 42.0, 42.0, ]; -void checkUnnamed6955(core.List o) { +void checkUnnamed7032(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1427,12 +1478,12 @@ void checkUnnamed6955(core.List o) { ); } -core.List buildUnnamed6956() => [ +core.List buildUnnamed7033() => [ 42.0, 42.0, ]; -void checkUnnamed6956(core.List o) { +void checkUnnamed7033(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1444,12 +1495,12 @@ void checkUnnamed6956(core.List o) { ); } -core.List buildUnnamed6957() => [ +core.List buildUnnamed7034() => [ 42.0, 42.0, ]; -void checkUnnamed6957(core.List o) { +void checkUnnamed7034(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1461,12 +1512,12 @@ void checkUnnamed6957(core.List o) { ); } -core.List buildUnnamed6958() => [ +core.List buildUnnamed7035() => [ 42.0, 42.0, ]; -void checkUnnamed6958(core.List o) { +void checkUnnamed7035(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1478,12 +1529,12 @@ void checkUnnamed6958(core.List o) { ); } -core.List buildUnnamed6959() => [ +core.List buildUnnamed7036() => [ 42.0, 42.0, ]; -void checkUnnamed6959(core.List o) { +void checkUnnamed7036(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1495,12 +1546,12 @@ void checkUnnamed6959(core.List o) { ); } -core.List buildUnnamed6960() => [ +core.List buildUnnamed7037() => [ 42.0, 42.0, ]; -void checkUnnamed6960(core.List o) { +void checkUnnamed7037(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1512,12 +1563,12 @@ void checkUnnamed6960(core.List o) { ); } -core.List buildUnnamed6961() => [ +core.List buildUnnamed7038() => [ 42.0, 42.0, ]; -void checkUnnamed6961(core.List o) { +void checkUnnamed7038(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1529,12 +1580,12 @@ void checkUnnamed6961(core.List o) { ); } -core.List buildUnnamed6962() => [ +core.List buildUnnamed7039() => [ 42.0, 42.0, ]; -void checkUnnamed6962(core.List o) { +void checkUnnamed7039(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1551,20 +1602,20 @@ api.HardwareInfo buildHardwareInfo() { final o = api.HardwareInfo(); buildCounterHardwareInfo++; if (buildCounterHardwareInfo < 3) { - o.batteryShutdownTemperatures = buildUnnamed6955(); - o.batteryThrottlingTemperatures = buildUnnamed6956(); + o.batteryShutdownTemperatures = buildUnnamed7032(); + o.batteryThrottlingTemperatures = buildUnnamed7033(); o.brand = 'foo'; - o.cpuShutdownTemperatures = buildUnnamed6957(); - o.cpuThrottlingTemperatures = buildUnnamed6958(); + o.cpuShutdownTemperatures = buildUnnamed7034(); + o.cpuThrottlingTemperatures = buildUnnamed7035(); o.deviceBasebandVersion = 'foo'; - o.gpuShutdownTemperatures = buildUnnamed6959(); - o.gpuThrottlingTemperatures = buildUnnamed6960(); + o.gpuShutdownTemperatures = buildUnnamed7036(); + o.gpuThrottlingTemperatures = buildUnnamed7037(); o.hardware = 'foo'; o.manufacturer = 'foo'; o.model = 'foo'; o.serialNumber = 'foo'; - o.skinShutdownTemperatures = buildUnnamed6961(); - o.skinThrottlingTemperatures = buildUnnamed6962(); + o.skinShutdownTemperatures = buildUnnamed7038(); + o.skinThrottlingTemperatures = buildUnnamed7039(); } buildCounterHardwareInfo--; return o; @@ -1573,20 +1624,20 @@ api.HardwareInfo buildHardwareInfo() { void checkHardwareInfo(api.HardwareInfo o) { buildCounterHardwareInfo++; if (buildCounterHardwareInfo < 3) { - checkUnnamed6955(o.batteryShutdownTemperatures!); - checkUnnamed6956(o.batteryThrottlingTemperatures!); + checkUnnamed7032(o.batteryShutdownTemperatures!); + checkUnnamed7033(o.batteryThrottlingTemperatures!); unittest.expect( o.brand!, unittest.equals('foo'), ); - checkUnnamed6957(o.cpuShutdownTemperatures!); - checkUnnamed6958(o.cpuThrottlingTemperatures!); + checkUnnamed7034(o.cpuShutdownTemperatures!); + checkUnnamed7035(o.cpuThrottlingTemperatures!); unittest.expect( o.deviceBasebandVersion!, unittest.equals('foo'), ); - checkUnnamed6959(o.gpuShutdownTemperatures!); - checkUnnamed6960(o.gpuThrottlingTemperatures!); + checkUnnamed7036(o.gpuShutdownTemperatures!); + checkUnnamed7037(o.gpuThrottlingTemperatures!); unittest.expect( o.hardware!, unittest.equals('foo'), @@ -1603,18 +1654,18 @@ void checkHardwareInfo(api.HardwareInfo o) { o.serialNumber!, unittest.equals('foo'), ); - checkUnnamed6961(o.skinShutdownTemperatures!); - checkUnnamed6962(o.skinThrottlingTemperatures!); + checkUnnamed7038(o.skinShutdownTemperatures!); + checkUnnamed7039(o.skinThrottlingTemperatures!); } buildCounterHardwareInfo--; } -core.List buildUnnamed6963() => [ +core.List buildUnnamed7040() => [ 42.0, 42.0, ]; -void checkUnnamed6963(core.List o) { +void checkUnnamed7040(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1626,12 +1677,12 @@ void checkUnnamed6963(core.List o) { ); } -core.List buildUnnamed6964() => [ +core.List buildUnnamed7041() => [ 42.0, 42.0, ]; -void checkUnnamed6964(core.List o) { +void checkUnnamed7041(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1643,12 +1694,12 @@ void checkUnnamed6964(core.List o) { ); } -core.List buildUnnamed6965() => [ +core.List buildUnnamed7042() => [ 42.0, 42.0, ]; -void checkUnnamed6965(core.List o) { +void checkUnnamed7042(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1660,12 +1711,12 @@ void checkUnnamed6965(core.List o) { ); } -core.List buildUnnamed6966() => [ +core.List buildUnnamed7043() => [ 42.0, 42.0, ]; -void checkUnnamed6966(core.List o) { +void checkUnnamed7043(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1677,12 +1728,12 @@ void checkUnnamed6966(core.List o) { ); } -core.List buildUnnamed6967() => [ +core.List buildUnnamed7044() => [ 42.0, 42.0, ]; -void checkUnnamed6967(core.List o) { +void checkUnnamed7044(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1694,12 +1745,12 @@ void checkUnnamed6967(core.List o) { ); } -core.List buildUnnamed6968() => [ +core.List buildUnnamed7045() => [ 42.0, 42.0, ]; -void checkUnnamed6968(core.List o) { +void checkUnnamed7045(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1716,13 +1767,13 @@ api.HardwareStatus buildHardwareStatus() { final o = api.HardwareStatus(); buildCounterHardwareStatus++; if (buildCounterHardwareStatus < 3) { - o.batteryTemperatures = buildUnnamed6963(); - o.cpuTemperatures = buildUnnamed6964(); - o.cpuUsages = buildUnnamed6965(); + o.batteryTemperatures = buildUnnamed7040(); + o.cpuTemperatures = buildUnnamed7041(); + o.cpuUsages = buildUnnamed7042(); o.createTime = 'foo'; - o.fanSpeeds = buildUnnamed6966(); - o.gpuTemperatures = buildUnnamed6967(); - o.skinTemperatures = buildUnnamed6968(); + o.fanSpeeds = buildUnnamed7043(); + o.gpuTemperatures = buildUnnamed7044(); + o.skinTemperatures = buildUnnamed7045(); } buildCounterHardwareStatus--; return o; @@ -1731,16 +1782,16 @@ api.HardwareStatus buildHardwareStatus() { void checkHardwareStatus(api.HardwareStatus o) { buildCounterHardwareStatus++; if (buildCounterHardwareStatus < 3) { - checkUnnamed6963(o.batteryTemperatures!); - checkUnnamed6964(o.cpuTemperatures!); - checkUnnamed6965(o.cpuUsages!); + checkUnnamed7040(o.batteryTemperatures!); + checkUnnamed7041(o.cpuTemperatures!); + checkUnnamed7042(o.cpuUsages!); unittest.expect( o.createTime!, unittest.equals('foo'), ); - checkUnnamed6966(o.fanSpeeds!); - checkUnnamed6967(o.gpuTemperatures!); - checkUnnamed6968(o.skinTemperatures!); + checkUnnamed7043(o.fanSpeeds!); + checkUnnamed7044(o.gpuTemperatures!); + checkUnnamed7045(o.skinTemperatures!); } buildCounterHardwareStatus--; } @@ -1871,12 +1922,12 @@ void checkLaunchAppAction(api.LaunchAppAction o) { buildCounterLaunchAppAction--; } -core.List buildUnnamed6969() => [ +core.List buildUnnamed7046() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed6969(core.List o) { +void checkUnnamed7046(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -1887,7 +1938,7 @@ api.ListDevicesResponse buildListDevicesResponse() { final o = api.ListDevicesResponse(); buildCounterListDevicesResponse++; if (buildCounterListDevicesResponse < 3) { - o.devices = buildUnnamed6969(); + o.devices = buildUnnamed7046(); o.nextPageToken = 'foo'; } buildCounterListDevicesResponse--; @@ -1897,7 +1948,7 @@ api.ListDevicesResponse buildListDevicesResponse() { void checkListDevicesResponse(api.ListDevicesResponse o) { buildCounterListDevicesResponse++; if (buildCounterListDevicesResponse < 3) { - checkUnnamed6969(o.devices!); + checkUnnamed7046(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1906,12 +1957,12 @@ void checkListDevicesResponse(api.ListDevicesResponse o) { buildCounterListDevicesResponse--; } -core.List buildUnnamed6970() => [ +core.List buildUnnamed7047() => [ buildEnterprise(), buildEnterprise(), ]; -void checkUnnamed6970(core.List o) { +void checkUnnamed7047(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterprise(o[0]); checkEnterprise(o[1]); @@ -1922,7 +1973,7 @@ api.ListEnterprisesResponse buildListEnterprisesResponse() { final o = api.ListEnterprisesResponse(); buildCounterListEnterprisesResponse++; if (buildCounterListEnterprisesResponse < 3) { - o.enterprises = buildUnnamed6970(); + o.enterprises = buildUnnamed7047(); o.nextPageToken = 'foo'; } buildCounterListEnterprisesResponse--; @@ -1932,7 +1983,7 @@ api.ListEnterprisesResponse buildListEnterprisesResponse() { void checkListEnterprisesResponse(api.ListEnterprisesResponse o) { buildCounterListEnterprisesResponse++; if (buildCounterListEnterprisesResponse < 3) { - checkUnnamed6970(o.enterprises!); + checkUnnamed7047(o.enterprises!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1941,12 +1992,12 @@ void checkListEnterprisesResponse(api.ListEnterprisesResponse o) { buildCounterListEnterprisesResponse--; } -core.List buildUnnamed6971() => [ +core.List buildUnnamed7048() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6971(core.List o) { +void checkUnnamed7048(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1958,7 +2009,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6971(); + o.operations = buildUnnamed7048(); } buildCounterListOperationsResponse--; return o; @@ -1971,17 +2022,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6971(o.operations!); + checkUnnamed7048(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed6972() => [ +core.List buildUnnamed7049() => [ buildPolicy(), buildPolicy(), ]; -void checkUnnamed6972(core.List o) { +void checkUnnamed7049(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicy(o[0]); checkPolicy(o[1]); @@ -1993,7 +2044,7 @@ api.ListPoliciesResponse buildListPoliciesResponse() { buildCounterListPoliciesResponse++; if (buildCounterListPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.policies = buildUnnamed6972(); + o.policies = buildUnnamed7049(); } buildCounterListPoliciesResponse--; return o; @@ -2006,17 +2057,17 @@ void checkListPoliciesResponse(api.ListPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6972(o.policies!); + checkUnnamed7049(o.policies!); } buildCounterListPoliciesResponse--; } -core.List buildUnnamed6973() => [ +core.List buildUnnamed7050() => [ buildWebApp(), buildWebApp(), ]; -void checkUnnamed6973(core.List o) { +void checkUnnamed7050(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebApp(o[0]); checkWebApp(o[1]); @@ -2028,7 +2079,7 @@ api.ListWebAppsResponse buildListWebAppsResponse() { buildCounterListWebAppsResponse++; if (buildCounterListWebAppsResponse < 3) { o.nextPageToken = 'foo'; - o.webApps = buildUnnamed6973(); + o.webApps = buildUnnamed7050(); } buildCounterListWebAppsResponse--; return o; @@ -2041,17 +2092,17 @@ void checkListWebAppsResponse(api.ListWebAppsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6973(o.webApps!); + checkUnnamed7050(o.webApps!); } buildCounterListWebAppsResponse--; } -core.Map buildUnnamed6974() => { +core.Map buildUnnamed7051() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6974(core.Map o) { +void checkUnnamed7051(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2068,7 +2119,7 @@ api.ManagedConfigurationTemplate buildManagedConfigurationTemplate() { final o = api.ManagedConfigurationTemplate(); buildCounterManagedConfigurationTemplate++; if (buildCounterManagedConfigurationTemplate < 3) { - o.configurationVariables = buildUnnamed6974(); + o.configurationVariables = buildUnnamed7051(); o.templateId = 'foo'; } buildCounterManagedConfigurationTemplate--; @@ -2078,7 +2129,7 @@ api.ManagedConfigurationTemplate buildManagedConfigurationTemplate() { void checkManagedConfigurationTemplate(api.ManagedConfigurationTemplate o) { buildCounterManagedConfigurationTemplate++; if (buildCounterManagedConfigurationTemplate < 3) { - checkUnnamed6974(o.configurationVariables!); + checkUnnamed7051(o.configurationVariables!); unittest.expect( o.templateId!, unittest.equals('foo'), @@ -2087,23 +2138,23 @@ void checkManagedConfigurationTemplate(api.ManagedConfigurationTemplate o) { buildCounterManagedConfigurationTemplate--; } -core.List buildUnnamed6975() => [ +core.List buildUnnamed7052() => [ buildManagedPropertyEntry(), buildManagedPropertyEntry(), ]; -void checkUnnamed6975(core.List o) { +void checkUnnamed7052(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedPropertyEntry(o[0]); checkManagedPropertyEntry(o[1]); } -core.List buildUnnamed6976() => [ +core.List buildUnnamed7053() => [ buildManagedProperty(), buildManagedProperty(), ]; -void checkUnnamed6976(core.List o) { +void checkUnnamed7053(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedProperty(o[0]); checkManagedProperty(o[1]); @@ -2120,9 +2171,9 @@ api.ManagedProperty buildManagedProperty() { 'string': 'foo' }; o.description = 'foo'; - o.entries = buildUnnamed6975(); + o.entries = buildUnnamed7052(); o.key = 'foo'; - o.nestedProperties = buildUnnamed6976(); + o.nestedProperties = buildUnnamed7053(); o.title = 'foo'; o.type = 'foo'; } @@ -2151,12 +2202,12 @@ void checkManagedProperty(api.ManagedProperty o) { o.description!, unittest.equals('foo'), ); - checkUnnamed6975(o.entries!); + checkUnnamed7052(o.entries!); unittest.expect( o.key!, unittest.equals('foo'), ); - checkUnnamed6976(o.nestedProperties!); + checkUnnamed7053(o.nestedProperties!); unittest.expect( o.title!, unittest.equals('foo'), @@ -2255,12 +2306,12 @@ void checkMemoryInfo(api.MemoryInfo o) { buildCounterMemoryInfo--; } -core.List buildUnnamed6977() => [ +core.List buildUnnamed7054() => [ buildTelephonyInfo(), buildTelephonyInfo(), ]; -void checkUnnamed6977(core.List o) { +void checkUnnamed7054(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTelephonyInfo(o[0]); checkTelephonyInfo(o[1]); @@ -2274,7 +2325,7 @@ api.NetworkInfo buildNetworkInfo() { o.imei = 'foo'; o.meid = 'foo'; o.networkOperatorName = 'foo'; - o.telephonyInfos = buildUnnamed6977(); + o.telephonyInfos = buildUnnamed7054(); o.wifiMacAddress = 'foo'; } buildCounterNetworkInfo--; @@ -2296,7 +2347,7 @@ void checkNetworkInfo(api.NetworkInfo o) { o.networkOperatorName!, unittest.equals('foo'), ); - checkUnnamed6977(o.telephonyInfos!); + checkUnnamed7054(o.telephonyInfos!); unittest.expect( o.wifiMacAddress!, unittest.equals('foo'), @@ -2398,12 +2449,12 @@ void checkNonComplianceDetailCondition(api.NonComplianceDetailCondition o) { buildCounterNonComplianceDetailCondition--; } -core.List buildUnnamed6978() => [ +core.List buildUnnamed7055() => [ 'foo', 'foo', ]; -void checkUnnamed6978(core.List o) { +void checkUnnamed7055(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2420,7 +2471,7 @@ api.OncCertificateProvider buildOncCertificateProvider() { final o = api.OncCertificateProvider(); buildCounterOncCertificateProvider++; if (buildCounterOncCertificateProvider < 3) { - o.certificateReferences = buildUnnamed6978(); + o.certificateReferences = buildUnnamed7055(); o.contentProviderEndpoint = buildContentProviderEndpoint(); } buildCounterOncCertificateProvider--; @@ -2430,13 +2481,13 @@ api.OncCertificateProvider buildOncCertificateProvider() { void checkOncCertificateProvider(api.OncCertificateProvider o) { buildCounterOncCertificateProvider++; if (buildCounterOncCertificateProvider < 3) { - checkUnnamed6978(o.certificateReferences!); + checkUnnamed7055(o.certificateReferences!); checkContentProviderEndpoint(o.contentProviderEndpoint!); } buildCounterOncCertificateProvider--; } -core.Map buildUnnamed6979() => { +core.Map buildUnnamed7056() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2449,7 +2500,7 @@ core.Map buildUnnamed6979() => { }, }; -void checkUnnamed6979(core.Map o) { +void checkUnnamed7056(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2481,7 +2532,7 @@ void checkUnnamed6979(core.Map o) { ); } -core.Map buildUnnamed6980() => { +core.Map buildUnnamed7057() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2494,7 +2545,7 @@ core.Map buildUnnamed6980() => { }, }; -void checkUnnamed6980(core.Map o) { +void checkUnnamed7057(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2533,9 +2584,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6979(); + o.metadata = buildUnnamed7056(); o.name = 'foo'; - o.response = buildUnnamed6980(); + o.response = buildUnnamed7057(); } buildCounterOperation--; return o; @@ -2546,22 +2597,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6979(o.metadata!); + checkUnnamed7056(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6980(o.response!); + checkUnnamed7057(o.response!); } buildCounterOperation--; } -core.List buildUnnamed6981() => [ +core.List buildUnnamed7058() => [ 'foo', 'foo', ]; -void checkUnnamed6981(core.List o) { +void checkUnnamed7058(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2578,7 +2629,7 @@ api.PackageNameList buildPackageNameList() { final o = api.PackageNameList(); buildCounterPackageNameList++; if (buildCounterPackageNameList < 3) { - o.packageNames = buildUnnamed6981(); + o.packageNames = buildUnnamed7058(); } buildCounterPackageNameList--; return o; @@ -2587,7 +2638,7 @@ api.PackageNameList buildPackageNameList() { void checkPackageNameList(api.PackageNameList o) { buildCounterPackageNameList++; if (buildCounterPackageNameList < 3) { - checkUnnamed6981(o.packageNames!); + checkUnnamed7058(o.packageNames!); } buildCounterPackageNameList--; } @@ -2701,12 +2752,12 @@ void checkPermissionGrant(api.PermissionGrant o) { buildCounterPermissionGrant--; } -core.List buildUnnamed6982() => [ +core.List buildUnnamed7059() => [ 'foo', 'foo', ]; -void checkUnnamed6982(core.List o) { +void checkUnnamed7059(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2718,12 +2769,12 @@ void checkUnnamed6982(core.List o) { ); } -core.List buildUnnamed6983() => [ +core.List buildUnnamed7060() => [ 'foo', 'foo', ]; -void checkUnnamed6983(core.List o) { +void checkUnnamed7060(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2740,8 +2791,8 @@ api.PersistentPreferredActivity buildPersistentPreferredActivity() { final o = api.PersistentPreferredActivity(); buildCounterPersistentPreferredActivity++; if (buildCounterPersistentPreferredActivity < 3) { - o.actions = buildUnnamed6982(); - o.categories = buildUnnamed6983(); + o.actions = buildUnnamed7059(); + o.categories = buildUnnamed7060(); o.receiverActivity = 'foo'; } buildCounterPersistentPreferredActivity--; @@ -2751,8 +2802,8 @@ api.PersistentPreferredActivity buildPersistentPreferredActivity() { void checkPersistentPreferredActivity(api.PersistentPreferredActivity o) { buildCounterPersistentPreferredActivity++; if (buildCounterPersistentPreferredActivity < 3) { - checkUnnamed6982(o.actions!); - checkUnnamed6983(o.categories!); + checkUnnamed7059(o.actions!); + checkUnnamed7060(o.categories!); unittest.expect( o.receiverActivity!, unittest.equals('foo'), @@ -2788,12 +2839,12 @@ void checkPersonalApplicationPolicy(api.PersonalApplicationPolicy o) { buildCounterPersonalApplicationPolicy--; } -core.List buildUnnamed6984() => [ +core.List buildUnnamed7061() => [ 'foo', 'foo', ]; -void checkUnnamed6984(core.List o) { +void checkUnnamed7061(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2805,12 +2856,12 @@ void checkUnnamed6984(core.List o) { ); } -core.List buildUnnamed6985() => [ +core.List buildUnnamed7062() => [ buildPersonalApplicationPolicy(), buildPersonalApplicationPolicy(), ]; -void checkUnnamed6985(core.List o) { +void checkUnnamed7062(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPersonalApplicationPolicy(o[0]); checkPersonalApplicationPolicy(o[1]); @@ -2821,10 +2872,10 @@ api.PersonalUsagePolicies buildPersonalUsagePolicies() { final o = api.PersonalUsagePolicies(); buildCounterPersonalUsagePolicies++; if (buildCounterPersonalUsagePolicies < 3) { - o.accountTypesWithManagementDisabled = buildUnnamed6984(); + o.accountTypesWithManagementDisabled = buildUnnamed7061(); o.cameraDisabled = true; o.maxDaysWithWorkOff = 42; - o.personalApplications = buildUnnamed6985(); + o.personalApplications = buildUnnamed7062(); o.personalPlayStoreMode = 'foo'; o.screenCaptureDisabled = true; } @@ -2835,13 +2886,13 @@ api.PersonalUsagePolicies buildPersonalUsagePolicies() { void checkPersonalUsagePolicies(api.PersonalUsagePolicies o) { buildCounterPersonalUsagePolicies++; if (buildCounterPersonalUsagePolicies < 3) { - checkUnnamed6984(o.accountTypesWithManagementDisabled!); + checkUnnamed7061(o.accountTypesWithManagementDisabled!); unittest.expect(o.cameraDisabled!, unittest.isTrue); unittest.expect( o.maxDaysWithWorkOff!, unittest.equals(42), ); - checkUnnamed6985(o.personalApplications!); + checkUnnamed7062(o.personalApplications!); unittest.expect( o.personalPlayStoreMode!, unittest.equals('foo'), @@ -2851,12 +2902,12 @@ void checkPersonalUsagePolicies(api.PersonalUsagePolicies o) { buildCounterPersonalUsagePolicies--; } -core.List buildUnnamed6986() => [ +core.List buildUnnamed7063() => [ 'foo', 'foo', ]; -void checkUnnamed6986(core.List o) { +void checkUnnamed7063(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2868,12 +2919,12 @@ void checkUnnamed6986(core.List o) { ); } -core.List buildUnnamed6987() => [ +core.List buildUnnamed7064() => [ 'foo', 'foo', ]; -void checkUnnamed6987(core.List o) { +void checkUnnamed7064(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2885,45 +2936,45 @@ void checkUnnamed6987(core.List o) { ); } -core.List buildUnnamed6988() => [ +core.List buildUnnamed7065() => [ buildApplicationPolicy(), buildApplicationPolicy(), ]; -void checkUnnamed6988(core.List o) { +void checkUnnamed7065(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationPolicy(o[0]); checkApplicationPolicy(o[1]); } -core.List buildUnnamed6989() => [ +core.List buildUnnamed7066() => [ buildChoosePrivateKeyRule(), buildChoosePrivateKeyRule(), ]; -void checkUnnamed6989(core.List o) { +void checkUnnamed7066(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChoosePrivateKeyRule(o[0]); checkChoosePrivateKeyRule(o[1]); } -core.List buildUnnamed6990() => [ +core.List buildUnnamed7067() => [ buildComplianceRule(), buildComplianceRule(), ]; -void checkUnnamed6990(core.List o) { +void checkUnnamed7067(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComplianceRule(o[0]); checkComplianceRule(o[1]); } -core.List buildUnnamed6991() => [ +core.List buildUnnamed7068() => [ 'foo', 'foo', ]; -void checkUnnamed6991(core.List o) { +void checkUnnamed7068(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2935,12 +2986,12 @@ void checkUnnamed6991(core.List o) { ); } -core.List buildUnnamed6992() => [ +core.List buildUnnamed7069() => [ 'foo', 'foo', ]; -void checkUnnamed6992(core.List o) { +void checkUnnamed7069(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2952,18 +3003,18 @@ void checkUnnamed6992(core.List o) { ); } -core.List buildUnnamed6993() => [ +core.List buildUnnamed7070() => [ buildOncCertificateProvider(), buildOncCertificateProvider(), ]; -void checkUnnamed6993(core.List o) { +void checkUnnamed7070(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOncCertificateProvider(o[0]); checkOncCertificateProvider(o[1]); } -core.Map buildUnnamed6994() => { +core.Map buildUnnamed7071() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2976,7 +3027,7 @@ core.Map buildUnnamed6994() => { }, }; -void checkUnnamed6994(core.Map o) { +void checkUnnamed7071(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3008,67 +3059,67 @@ void checkUnnamed6994(core.Map o) { ); } -core.List buildUnnamed6995() => [ +core.List buildUnnamed7072() => [ buildPasswordRequirements(), buildPasswordRequirements(), ]; -void checkUnnamed6995(core.List o) { +void checkUnnamed7072(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPasswordRequirements(o[0]); checkPasswordRequirements(o[1]); } -core.List buildUnnamed6996() => [ +core.List buildUnnamed7073() => [ buildPermissionGrant(), buildPermissionGrant(), ]; -void checkUnnamed6996(core.List o) { +void checkUnnamed7073(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionGrant(o[0]); checkPermissionGrant(o[1]); } -core.List buildUnnamed6997() => [ +core.List buildUnnamed7074() => [ buildPersistentPreferredActivity(), buildPersistentPreferredActivity(), ]; -void checkUnnamed6997(core.List o) { +void checkUnnamed7074(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPersistentPreferredActivity(o[0]); checkPersistentPreferredActivity(o[1]); } -core.List buildUnnamed6998() => [ +core.List buildUnnamed7075() => [ buildPolicyEnforcementRule(), buildPolicyEnforcementRule(), ]; -void checkUnnamed6998(core.List o) { +void checkUnnamed7075(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyEnforcementRule(o[0]); checkPolicyEnforcementRule(o[1]); } -core.List buildUnnamed6999() => [ +core.List buildUnnamed7076() => [ buildSetupAction(), buildSetupAction(), ]; -void checkUnnamed6999(core.List o) { +void checkUnnamed7076(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSetupAction(o[0]); checkSetupAction(o[1]); } -core.List buildUnnamed7000() => [ +core.List buildUnnamed7077() => [ 'foo', 'foo', ]; -void checkUnnamed7000(core.List o) { +void checkUnnamed7077(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3085,14 +3136,14 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.accountTypesWithManagementDisabled = buildUnnamed6986(); + o.accountTypesWithManagementDisabled = buildUnnamed7063(); o.addUserDisabled = true; o.adjustVolumeDisabled = true; o.advancedSecurityOverrides = buildAdvancedSecurityOverrides(); o.alwaysOnVpnPackage = buildAlwaysOnVpnPackage(); - o.androidDevicePolicyTracks = buildUnnamed6987(); + o.androidDevicePolicyTracks = buildUnnamed7064(); o.appAutoUpdatePolicy = 'foo'; - o.applications = buildUnnamed6988(); + o.applications = buildUnnamed7065(); o.autoDateAndTimeZone = 'foo'; o.autoTimeRequired = true; o.blockApplicationsEnabled = true; @@ -3101,10 +3152,11 @@ api.Policy buildPolicy() { o.bluetoothDisabled = true; o.cameraDisabled = true; o.cellBroadcastsConfigDisabled = true; - o.choosePrivateKeyRules = buildUnnamed6989(); - o.complianceRules = buildUnnamed6990(); + o.choosePrivateKeyRules = buildUnnamed7066(); + o.complianceRules = buildUnnamed7067(); o.createWindowsDisabled = true; o.credentialsConfigDisabled = true; + o.crossProfilePolicies = buildCrossProfilePolicies(); o.dataRoamingDisabled = true; o.debuggingFeaturesAllowed = true; o.defaultPermissionPolicy = 'foo'; @@ -3112,12 +3164,12 @@ api.Policy buildPolicy() { o.encryptionPolicy = 'foo'; o.ensureVerifyAppsEnabled = true; o.factoryResetDisabled = true; - o.frpAdminEmails = buildUnnamed6991(); + o.frpAdminEmails = buildUnnamed7068(); o.funDisabled = true; o.installAppsDisabled = true; o.installUnknownSourcesAllowed = true; o.keyguardDisabled = true; - o.keyguardDisabledFeatures = buildUnnamed6992(); + o.keyguardDisabledFeatures = buildUnnamed7069(); o.kioskCustomLauncherEnabled = true; o.kioskCustomization = buildKioskCustomization(); o.locationMode = 'foo'; @@ -3130,19 +3182,19 @@ api.Policy buildPolicy() { o.name = 'foo'; o.networkEscapeHatchEnabled = true; o.networkResetDisabled = true; - o.oncCertificateProviders = buildUnnamed6993(); - o.openNetworkConfiguration = buildUnnamed6994(); + o.oncCertificateProviders = buildUnnamed7070(); + o.openNetworkConfiguration = buildUnnamed7071(); o.outgoingBeamDisabled = true; o.outgoingCallsDisabled = true; - o.passwordPolicies = buildUnnamed6995(); + o.passwordPolicies = buildUnnamed7072(); o.passwordRequirements = buildPasswordRequirements(); - o.permissionGrants = buildUnnamed6996(); + o.permissionGrants = buildUnnamed7073(); o.permittedAccessibilityServices = buildPackageNameList(); o.permittedInputMethods = buildPackageNameList(); - o.persistentPreferredActivities = buildUnnamed6997(); + o.persistentPreferredActivities = buildUnnamed7074(); o.personalUsagePolicies = buildPersonalUsagePolicies(); o.playStoreMode = 'foo'; - o.policyEnforcementRules = buildUnnamed6998(); + o.policyEnforcementRules = buildUnnamed7075(); o.privateKeySelectionEnabled = true; o.recommendedGlobalProxy = buildProxyInfo(); o.removeUserDisabled = true; @@ -3150,14 +3202,14 @@ api.Policy buildPolicy() { o.screenCaptureDisabled = true; o.setUserIconDisabled = true; o.setWallpaperDisabled = true; - o.setupActions = buildUnnamed6999(); + o.setupActions = buildUnnamed7076(); o.shareLocationDisabled = true; o.shortSupportMessage = buildUserFacingMessage(); o.skipFirstUseHintsEnabled = true; o.smsDisabled = true; o.statusBarDisabled = true; o.statusReportingSettings = buildStatusReportingSettings(); - o.stayOnPluggedModes = buildUnnamed7000(); + o.stayOnPluggedModes = buildUnnamed7077(); o.systemUpdate = buildSystemUpdate(); o.tetheringConfigDisabled = true; o.uninstallAppsDisabled = true; @@ -3176,17 +3228,17 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed6986(o.accountTypesWithManagementDisabled!); + checkUnnamed7063(o.accountTypesWithManagementDisabled!); unittest.expect(o.addUserDisabled!, unittest.isTrue); unittest.expect(o.adjustVolumeDisabled!, unittest.isTrue); checkAdvancedSecurityOverrides(o.advancedSecurityOverrides!); checkAlwaysOnVpnPackage(o.alwaysOnVpnPackage!); - checkUnnamed6987(o.androidDevicePolicyTracks!); + checkUnnamed7064(o.androidDevicePolicyTracks!); unittest.expect( o.appAutoUpdatePolicy!, unittest.equals('foo'), ); - checkUnnamed6988(o.applications!); + checkUnnamed7065(o.applications!); unittest.expect( o.autoDateAndTimeZone!, unittest.equals('foo'), @@ -3198,10 +3250,11 @@ void checkPolicy(api.Policy o) { unittest.expect(o.bluetoothDisabled!, unittest.isTrue); unittest.expect(o.cameraDisabled!, unittest.isTrue); unittest.expect(o.cellBroadcastsConfigDisabled!, unittest.isTrue); - checkUnnamed6989(o.choosePrivateKeyRules!); - checkUnnamed6990(o.complianceRules!); + checkUnnamed7066(o.choosePrivateKeyRules!); + checkUnnamed7067(o.complianceRules!); unittest.expect(o.createWindowsDisabled!, unittest.isTrue); unittest.expect(o.credentialsConfigDisabled!, unittest.isTrue); + checkCrossProfilePolicies(o.crossProfilePolicies!); unittest.expect(o.dataRoamingDisabled!, unittest.isTrue); unittest.expect(o.debuggingFeaturesAllowed!, unittest.isTrue); unittest.expect( @@ -3215,12 +3268,12 @@ void checkPolicy(api.Policy o) { ); unittest.expect(o.ensureVerifyAppsEnabled!, unittest.isTrue); unittest.expect(o.factoryResetDisabled!, unittest.isTrue); - checkUnnamed6991(o.frpAdminEmails!); + checkUnnamed7068(o.frpAdminEmails!); unittest.expect(o.funDisabled!, unittest.isTrue); unittest.expect(o.installAppsDisabled!, unittest.isTrue); unittest.expect(o.installUnknownSourcesAllowed!, unittest.isTrue); unittest.expect(o.keyguardDisabled!, unittest.isTrue); - checkUnnamed6992(o.keyguardDisabledFeatures!); + checkUnnamed7069(o.keyguardDisabledFeatures!); unittest.expect(o.kioskCustomLauncherEnabled!, unittest.isTrue); checkKioskCustomization(o.kioskCustomization!); unittest.expect( @@ -3245,22 +3298,22 @@ void checkPolicy(api.Policy o) { ); unittest.expect(o.networkEscapeHatchEnabled!, unittest.isTrue); unittest.expect(o.networkResetDisabled!, unittest.isTrue); - checkUnnamed6993(o.oncCertificateProviders!); - checkUnnamed6994(o.openNetworkConfiguration!); + checkUnnamed7070(o.oncCertificateProviders!); + checkUnnamed7071(o.openNetworkConfiguration!); unittest.expect(o.outgoingBeamDisabled!, unittest.isTrue); unittest.expect(o.outgoingCallsDisabled!, unittest.isTrue); - checkUnnamed6995(o.passwordPolicies!); + checkUnnamed7072(o.passwordPolicies!); checkPasswordRequirements(o.passwordRequirements!); - checkUnnamed6996(o.permissionGrants!); + checkUnnamed7073(o.permissionGrants!); checkPackageNameList(o.permittedAccessibilityServices!); checkPackageNameList(o.permittedInputMethods!); - checkUnnamed6997(o.persistentPreferredActivities!); + checkUnnamed7074(o.persistentPreferredActivities!); checkPersonalUsagePolicies(o.personalUsagePolicies!); unittest.expect( o.playStoreMode!, unittest.equals('foo'), ); - checkUnnamed6998(o.policyEnforcementRules!); + checkUnnamed7075(o.policyEnforcementRules!); unittest.expect(o.privateKeySelectionEnabled!, unittest.isTrue); checkProxyInfo(o.recommendedGlobalProxy!); unittest.expect(o.removeUserDisabled!, unittest.isTrue); @@ -3268,14 +3321,14 @@ void checkPolicy(api.Policy o) { unittest.expect(o.screenCaptureDisabled!, unittest.isTrue); unittest.expect(o.setUserIconDisabled!, unittest.isTrue); unittest.expect(o.setWallpaperDisabled!, unittest.isTrue); - checkUnnamed6999(o.setupActions!); + checkUnnamed7076(o.setupActions!); unittest.expect(o.shareLocationDisabled!, unittest.isTrue); checkUserFacingMessage(o.shortSupportMessage!); unittest.expect(o.skipFirstUseHintsEnabled!, unittest.isTrue); unittest.expect(o.smsDisabled!, unittest.isTrue); unittest.expect(o.statusBarDisabled!, unittest.isTrue); checkStatusReportingSettings(o.statusReportingSettings!); - checkUnnamed7000(o.stayOnPluggedModes!); + checkUnnamed7077(o.stayOnPluggedModes!); checkSystemUpdate(o.systemUpdate!); unittest.expect(o.tetheringConfigDisabled!, unittest.isTrue); unittest.expect(o.uninstallAppsDisabled!, unittest.isTrue); @@ -3319,12 +3372,12 @@ void checkPolicyEnforcementRule(api.PolicyEnforcementRule o) { buildCounterPolicyEnforcementRule--; } -core.List buildUnnamed7001() => [ +core.List buildUnnamed7078() => [ buildUserFacingMessage(), buildUserFacingMessage(), ]; -void checkUnnamed7001(core.List o) { +void checkUnnamed7078(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserFacingMessage(o[0]); checkUserFacingMessage(o[1]); @@ -3335,7 +3388,7 @@ api.PostureDetail buildPostureDetail() { final o = api.PostureDetail(); buildCounterPostureDetail++; if (buildCounterPostureDetail < 3) { - o.advice = buildUnnamed7001(); + o.advice = buildUnnamed7078(); o.securityRisk = 'foo'; } buildCounterPostureDetail--; @@ -3345,7 +3398,7 @@ api.PostureDetail buildPostureDetail() { void checkPostureDetail(api.PostureDetail o) { buildCounterPostureDetail++; if (buildCounterPostureDetail < 3) { - checkUnnamed7001(o.advice!); + checkUnnamed7078(o.advice!); unittest.expect( o.securityRisk!, unittest.equals('foo'), @@ -3386,12 +3439,12 @@ void checkPowerManagementEvent(api.PowerManagementEvent o) { buildCounterPowerManagementEvent--; } -core.List buildUnnamed7002() => [ +core.List buildUnnamed7079() => [ 'foo', 'foo', ]; -void checkUnnamed7002(core.List o) { +void checkUnnamed7079(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3408,7 +3461,7 @@ api.ProxyInfo buildProxyInfo() { final o = api.ProxyInfo(); buildCounterProxyInfo++; if (buildCounterProxyInfo < 3) { - o.excludedHosts = buildUnnamed7002(); + o.excludedHosts = buildUnnamed7079(); o.host = 'foo'; o.pacUri = 'foo'; o.port = 42; @@ -3420,7 +3473,7 @@ api.ProxyInfo buildProxyInfo() { void checkProxyInfo(api.ProxyInfo o) { buildCounterProxyInfo++; if (buildCounterProxyInfo < 3) { - checkUnnamed7002(o.excludedHosts!); + checkUnnamed7079(o.excludedHosts!); unittest.expect( o.host!, unittest.equals('foo'), @@ -3437,12 +3490,12 @@ void checkProxyInfo(api.ProxyInfo o) { buildCounterProxyInfo--; } -core.List buildUnnamed7003() => [ +core.List buildUnnamed7080() => [ buildPostureDetail(), buildPostureDetail(), ]; -void checkUnnamed7003(core.List o) { +void checkUnnamed7080(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostureDetail(o[0]); checkPostureDetail(o[1]); @@ -3454,7 +3507,7 @@ api.SecurityPosture buildSecurityPosture() { buildCounterSecurityPosture++; if (buildCounterSecurityPosture < 3) { o.devicePosture = 'foo'; - o.postureDetails = buildUnnamed7003(); + o.postureDetails = buildUnnamed7080(); } buildCounterSecurityPosture--; return o; @@ -3467,7 +3520,7 @@ void checkSecurityPosture(api.SecurityPosture o) { o.devicePosture!, unittest.equals('foo'), ); - checkUnnamed7003(o.postureDetails!); + checkUnnamed7080(o.postureDetails!); } buildCounterSecurityPosture--; } @@ -3628,7 +3681,7 @@ void checkSoftwareInfo(api.SoftwareInfo o) { buildCounterSoftwareInfo--; } -core.Map buildUnnamed7004() => { +core.Map buildUnnamed7081() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3641,7 +3694,7 @@ core.Map buildUnnamed7004() => { }, }; -void checkUnnamed7004(core.Map o) { +void checkUnnamed7081(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -3673,15 +3726,15 @@ void checkUnnamed7004(core.Map o) { ); } -core.List> buildUnnamed7005() => [ - buildUnnamed7004(), - buildUnnamed7004(), +core.List> buildUnnamed7082() => [ + buildUnnamed7081(), + buildUnnamed7081(), ]; -void checkUnnamed7005(core.List> o) { +void checkUnnamed7082(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7004(o[0]); - checkUnnamed7004(o[1]); + checkUnnamed7081(o[0]); + checkUnnamed7081(o[1]); } core.int buildCounterStatus = 0; @@ -3690,7 +3743,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7005(); + o.details = buildUnnamed7082(); o.message = 'foo'; } buildCounterStatus--; @@ -3704,7 +3757,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7005(o.details!); + checkUnnamed7082(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3752,12 +3805,12 @@ void checkStatusReportingSettings(api.StatusReportingSettings o) { buildCounterStatusReportingSettings--; } -core.List buildUnnamed7006() => [ +core.List buildUnnamed7083() => [ buildFreezePeriod(), buildFreezePeriod(), ]; -void checkUnnamed7006(core.List o) { +void checkUnnamed7083(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFreezePeriod(o[0]); checkFreezePeriod(o[1]); @@ -3769,7 +3822,7 @@ api.SystemUpdate buildSystemUpdate() { buildCounterSystemUpdate++; if (buildCounterSystemUpdate < 3) { o.endMinutes = 42; - o.freezePeriods = buildUnnamed7006(); + o.freezePeriods = buildUnnamed7083(); o.startMinutes = 42; o.type = 'foo'; } @@ -3784,7 +3837,7 @@ void checkSystemUpdate(api.SystemUpdate o) { o.endMinutes!, unittest.equals(42), ); - checkUnnamed7006(o.freezePeriods!); + checkUnnamed7083(o.freezePeriods!); unittest.expect( o.startMinutes!, unittest.equals(42), @@ -3894,12 +3947,12 @@ void checkUser(api.User o) { buildCounterUser--; } -core.Map buildUnnamed7007() => { +core.Map buildUnnamed7084() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7007(core.Map o) { +void checkUnnamed7084(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3917,7 +3970,7 @@ api.UserFacingMessage buildUserFacingMessage() { buildCounterUserFacingMessage++; if (buildCounterUserFacingMessage < 3) { o.defaultMessage = 'foo'; - o.localizedMessages = buildUnnamed7007(); + o.localizedMessages = buildUnnamed7084(); } buildCounterUserFacingMessage--; return o; @@ -3930,17 +3983,17 @@ void checkUserFacingMessage(api.UserFacingMessage o) { o.defaultMessage!, unittest.equals('foo'), ); - checkUnnamed7007(o.localizedMessages!); + checkUnnamed7084(o.localizedMessages!); } buildCounterUserFacingMessage--; } -core.List buildUnnamed7008() => [ +core.List buildUnnamed7085() => [ buildWebAppIcon(), buildWebAppIcon(), ]; -void checkUnnamed7008(core.List o) { +void checkUnnamed7085(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebAppIcon(o[0]); checkWebAppIcon(o[1]); @@ -3952,7 +4005,7 @@ api.WebApp buildWebApp() { buildCounterWebApp++; if (buildCounterWebApp < 3) { o.displayMode = 'foo'; - o.icons = buildUnnamed7008(); + o.icons = buildUnnamed7085(); o.name = 'foo'; o.startUrl = 'foo'; o.title = 'foo'; @@ -3969,7 +4022,7 @@ void checkWebApp(api.WebApp o) { o.displayMode!, unittest.equals('foo'), ); - checkUnnamed7008(o.icons!); + checkUnnamed7085(o.icons!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4012,12 +4065,12 @@ void checkWebAppIcon(api.WebAppIcon o) { buildCounterWebAppIcon--; } -core.List buildUnnamed7009() => [ +core.List buildUnnamed7086() => [ 'foo', 'foo', ]; -void checkUnnamed7009(core.List o) { +void checkUnnamed7086(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4029,12 +4082,12 @@ void checkUnnamed7009(core.List o) { ); } -core.List buildUnnamed7010() => [ +core.List buildUnnamed7087() => [ 'foo', 'foo', ]; -void checkUnnamed7010(core.List o) { +void checkUnnamed7087(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4051,10 +4104,10 @@ api.WebToken buildWebToken() { final o = api.WebToken(); buildCounterWebToken++; if (buildCounterWebToken < 3) { - o.enabledFeatures = buildUnnamed7009(); + o.enabledFeatures = buildUnnamed7086(); o.name = 'foo'; o.parentFrameUrl = 'foo'; - o.permissions = buildUnnamed7010(); + o.permissions = buildUnnamed7087(); o.value = 'foo'; } buildCounterWebToken--; @@ -4064,7 +4117,7 @@ api.WebToken buildWebToken() { void checkWebToken(api.WebToken o) { buildCounterWebToken++; if (buildCounterWebToken < 3) { - checkUnnamed7009(o.enabledFeatures!); + checkUnnamed7086(o.enabledFeatures!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4073,7 +4126,7 @@ void checkWebToken(api.WebToken o) { o.parentFrameUrl!, unittest.equals('foo'), ); - checkUnnamed7010(o.permissions!); + checkUnnamed7087(o.permissions!); unittest.expect( o.value!, unittest.equals('foo'), @@ -4106,12 +4159,12 @@ void checkWipeAction(api.WipeAction o) { buildCounterWipeAction--; } -core.List buildUnnamed7011() => [ +core.List buildUnnamed7088() => [ 'foo', 'foo', ]; -void checkUnnamed7011(core.List o) { +void checkUnnamed7088(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4294,6 +4347,16 @@ void main() { }); }); + unittest.group('obj-schema-CrossProfilePolicies', () { + unittest.test('to-json--from-json', () async { + final o = buildCrossProfilePolicies(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CrossProfilePolicies.fromJson( + oJson as core.Map); + checkCrossProfilePolicies(od); + }); + }); + unittest.group('obj-schema-Date', () { unittest.test('to-json--from-json', () async { final o = buildDate(); @@ -5263,7 +5326,7 @@ void main() { final mock = HttpServerMock(); final res = api.AndroidManagementApi(mock).enterprises.devices; final arg_name = 'foo'; - final arg_wipeDataFlags = buildUnnamed7011(); + final arg_wipeDataFlags = buildUnnamed7088(); final arg_wipeReasonMessage = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/androidpublisher/v3_test.dart b/generated/googleapis/test/androidpublisher/v3_test.dart index 854b471bd..73bd1f36b 100644 --- a/generated/googleapis/test/androidpublisher/v3_test.dart +++ b/generated/googleapis/test/androidpublisher/v3_test.dart @@ -116,12 +116,12 @@ void checkApksAddExternallyHostedResponse( buildCounterApksAddExternallyHostedResponse--; } -core.List buildUnnamed1677() => [ +core.List buildUnnamed1707() => [ buildApk(), buildApk(), ]; -void checkUnnamed1677(core.List o) { +void checkUnnamed1707(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApk(o[0]); checkApk(o[1]); @@ -132,7 +132,7 @@ api.ApksListResponse buildApksListResponse() { final o = api.ApksListResponse(); buildCounterApksListResponse++; if (buildCounterApksListResponse < 3) { - o.apks = buildUnnamed1677(); + o.apks = buildUnnamed1707(); o.kind = 'foo'; } buildCounterApksListResponse--; @@ -142,7 +142,7 @@ api.ApksListResponse buildApksListResponse() { void checkApksListResponse(api.ApksListResponse o) { buildCounterApksListResponse++; if (buildCounterApksListResponse < 3) { - checkUnnamed1677(o.apks!); + checkUnnamed1707(o.apks!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -247,12 +247,12 @@ void checkBundle(api.Bundle o) { buildCounterBundle--; } -core.List buildUnnamed1678() => [ +core.List buildUnnamed1708() => [ buildBundle(), buildBundle(), ]; -void checkUnnamed1678(core.List o) { +void checkUnnamed1708(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBundle(o[0]); checkBundle(o[1]); @@ -263,7 +263,7 @@ api.BundlesListResponse buildBundlesListResponse() { final o = api.BundlesListResponse(); buildCounterBundlesListResponse++; if (buildCounterBundlesListResponse < 3) { - o.bundles = buildUnnamed1678(); + o.bundles = buildUnnamed1708(); o.kind = 'foo'; } buildCounterBundlesListResponse--; @@ -273,7 +273,7 @@ api.BundlesListResponse buildBundlesListResponse() { void checkBundlesListResponse(api.BundlesListResponse o) { buildCounterBundlesListResponse++; if (buildCounterBundlesListResponse < 3) { - checkUnnamed1678(o.bundles!); + checkUnnamed1708(o.bundles!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -303,12 +303,12 @@ void checkComment(api.Comment o) { buildCounterComment--; } -core.List buildUnnamed1679() => [ +core.List buildUnnamed1709() => [ 'foo', 'foo', ]; -void checkUnnamed1679(core.List o) { +void checkUnnamed1709(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -325,7 +325,7 @@ api.CountryTargeting buildCountryTargeting() { final o = api.CountryTargeting(); buildCounterCountryTargeting++; if (buildCounterCountryTargeting < 3) { - o.countries = buildUnnamed1679(); + o.countries = buildUnnamed1709(); o.includeRestOfWorld = true; } buildCounterCountryTargeting--; @@ -335,7 +335,7 @@ api.CountryTargeting buildCountryTargeting() { void checkCountryTargeting(api.CountryTargeting o) { buildCounterCountryTargeting++; if (buildCounterCountryTargeting < 3) { - checkUnnamed1679(o.countries!); + checkUnnamed1709(o.countries!); unittest.expect(o.includeRestOfWorld!, unittest.isTrue); } buildCounterCountryTargeting--; @@ -479,12 +479,12 @@ void checkDeviceMetadata(api.DeviceMetadata o) { buildCounterDeviceMetadata--; } -core.List buildUnnamed1680() => [ +core.List buildUnnamed1710() => [ 'foo', 'foo', ]; -void checkUnnamed1680(core.List o) { +void checkUnnamed1710(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -496,12 +496,12 @@ void checkUnnamed1680(core.List o) { ); } -core.List buildUnnamed1681() => [ +core.List buildUnnamed1711() => [ 'foo', 'foo', ]; -void checkUnnamed1681(core.List o) { +void checkUnnamed1711(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -519,8 +519,8 @@ api.DeviceSpec buildDeviceSpec() { buildCounterDeviceSpec++; if (buildCounterDeviceSpec < 3) { o.screenDensity = 42; - o.supportedAbis = buildUnnamed1680(); - o.supportedLocales = buildUnnamed1681(); + o.supportedAbis = buildUnnamed1710(); + o.supportedLocales = buildUnnamed1711(); } buildCounterDeviceSpec--; return o; @@ -533,8 +533,8 @@ void checkDeviceSpec(api.DeviceSpec o) { o.screenDensity!, unittest.equals(42), ); - checkUnnamed1680(o.supportedAbis!); - checkUnnamed1681(o.supportedLocales!); + checkUnnamed1710(o.supportedAbis!); + checkUnnamed1711(o.supportedLocales!); } buildCounterDeviceSpec--; } @@ -585,12 +585,12 @@ void checkExpansionFilesUploadResponse(api.ExpansionFilesUploadResponse o) { buildCounterExpansionFilesUploadResponse--; } -core.List buildUnnamed1682() => [ +core.List buildUnnamed1712() => [ 'foo', 'foo', ]; -void checkUnnamed1682(core.List o) { +void checkUnnamed1712(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -602,12 +602,12 @@ void checkUnnamed1682(core.List o) { ); } -core.List buildUnnamed1683() => [ +core.List buildUnnamed1713() => [ 'foo', 'foo', ]; -void checkUnnamed1683(core.List o) { +void checkUnnamed1713(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -619,12 +619,12 @@ void checkUnnamed1683(core.List o) { ); } -core.List buildUnnamed1684() => [ +core.List buildUnnamed1714() => [ 'foo', 'foo', ]; -void checkUnnamed1684(core.List o) { +void checkUnnamed1714(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -636,12 +636,12 @@ void checkUnnamed1684(core.List o) { ); } -core.List buildUnnamed1685() => [ +core.List buildUnnamed1715() => [ buildUsesPermission(), buildUsesPermission(), ]; -void checkUnnamed1685(core.List o) { +void checkUnnamed1715(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsesPermission(o[0]); checkUsesPermission(o[1]); @@ -653,7 +653,7 @@ api.ExternallyHostedApk buildExternallyHostedApk() { buildCounterExternallyHostedApk++; if (buildCounterExternallyHostedApk < 3) { o.applicationLabel = 'foo'; - o.certificateBase64s = buildUnnamed1682(); + o.certificateBase64s = buildUnnamed1712(); o.externallyHostedUrl = 'foo'; o.fileSha1Base64 = 'foo'; o.fileSha256Base64 = 'foo'; @@ -661,10 +661,10 @@ api.ExternallyHostedApk buildExternallyHostedApk() { o.iconBase64 = 'foo'; o.maximumSdk = 42; o.minimumSdk = 42; - o.nativeCodes = buildUnnamed1683(); + o.nativeCodes = buildUnnamed1713(); o.packageName = 'foo'; - o.usesFeatures = buildUnnamed1684(); - o.usesPermissions = buildUnnamed1685(); + o.usesFeatures = buildUnnamed1714(); + o.usesPermissions = buildUnnamed1715(); o.versionCode = 42; o.versionName = 'foo'; } @@ -679,7 +679,7 @@ void checkExternallyHostedApk(api.ExternallyHostedApk o) { o.applicationLabel!, unittest.equals('foo'), ); - checkUnnamed1682(o.certificateBase64s!); + checkUnnamed1712(o.certificateBase64s!); unittest.expect( o.externallyHostedUrl!, unittest.equals('foo'), @@ -708,13 +708,13 @@ void checkExternallyHostedApk(api.ExternallyHostedApk o) { o.minimumSdk!, unittest.equals(42), ); - checkUnnamed1683(o.nativeCodes!); + checkUnnamed1713(o.nativeCodes!); unittest.expect( o.packageName!, unittest.equals('foo'), ); - checkUnnamed1684(o.usesFeatures!); - checkUnnamed1685(o.usesPermissions!); + checkUnnamed1714(o.usesFeatures!); + checkUnnamed1715(o.usesPermissions!); unittest.expect( o.versionCode!, unittest.equals(42), @@ -764,12 +764,12 @@ void checkImage(api.Image o) { buildCounterImage--; } -core.List buildUnnamed1686() => [ +core.List buildUnnamed1716() => [ buildImage(), buildImage(), ]; -void checkUnnamed1686(core.List o) { +void checkUnnamed1716(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); @@ -780,7 +780,7 @@ api.ImagesDeleteAllResponse buildImagesDeleteAllResponse() { final o = api.ImagesDeleteAllResponse(); buildCounterImagesDeleteAllResponse++; if (buildCounterImagesDeleteAllResponse < 3) { - o.deleted = buildUnnamed1686(); + o.deleted = buildUnnamed1716(); } buildCounterImagesDeleteAllResponse--; return o; @@ -789,17 +789,17 @@ api.ImagesDeleteAllResponse buildImagesDeleteAllResponse() { void checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) { buildCounterImagesDeleteAllResponse++; if (buildCounterImagesDeleteAllResponse < 3) { - checkUnnamed1686(o.deleted!); + checkUnnamed1716(o.deleted!); } buildCounterImagesDeleteAllResponse--; } -core.List buildUnnamed1687() => [ +core.List buildUnnamed1717() => [ buildImage(), buildImage(), ]; -void checkUnnamed1687(core.List o) { +void checkUnnamed1717(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); @@ -810,7 +810,7 @@ api.ImagesListResponse buildImagesListResponse() { final o = api.ImagesListResponse(); buildCounterImagesListResponse++; if (buildCounterImagesListResponse < 3) { - o.images = buildUnnamed1687(); + o.images = buildUnnamed1717(); } buildCounterImagesListResponse--; return o; @@ -819,7 +819,7 @@ api.ImagesListResponse buildImagesListResponse() { void checkImagesListResponse(api.ImagesListResponse o) { buildCounterImagesListResponse++; if (buildCounterImagesListResponse < 3) { - checkUnnamed1687(o.images!); + checkUnnamed1717(o.images!); } buildCounterImagesListResponse--; } @@ -843,23 +843,23 @@ void checkImagesUploadResponse(api.ImagesUploadResponse o) { buildCounterImagesUploadResponse--; } -core.Map buildUnnamed1688() => { +core.Map buildUnnamed1718() => { 'x': buildInAppProductListing(), 'y': buildInAppProductListing(), }; -void checkUnnamed1688(core.Map o) { +void checkUnnamed1718(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInAppProductListing(o['x']!); checkInAppProductListing(o['y']!); } -core.Map buildUnnamed1689() => { +core.Map buildUnnamed1719() => { 'x': buildPrice(), 'y': buildPrice(), }; -void checkUnnamed1689(core.Map o) { +void checkUnnamed1719(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPrice(o['x']!); checkPrice(o['y']!); @@ -873,9 +873,9 @@ api.InAppProduct buildInAppProduct() { o.defaultLanguage = 'foo'; o.defaultPrice = buildPrice(); o.gracePeriod = 'foo'; - o.listings = buildUnnamed1688(); + o.listings = buildUnnamed1718(); o.packageName = 'foo'; - o.prices = buildUnnamed1689(); + o.prices = buildUnnamed1719(); o.purchaseType = 'foo'; o.sku = 'foo'; o.status = 'foo'; @@ -898,12 +898,12 @@ void checkInAppProduct(api.InAppProduct o) { o.gracePeriod!, unittest.equals('foo'), ); - checkUnnamed1688(o.listings!); + checkUnnamed1718(o.listings!); unittest.expect( o.packageName!, unittest.equals('foo'), ); - checkUnnamed1689(o.prices!); + checkUnnamed1719(o.prices!); unittest.expect( o.purchaseType!, unittest.equals('foo'), @@ -928,12 +928,12 @@ void checkInAppProduct(api.InAppProduct o) { buildCounterInAppProduct--; } -core.List buildUnnamed1690() => [ +core.List buildUnnamed1720() => [ 'foo', 'foo', ]; -void checkUnnamed1690(core.List o) { +void checkUnnamed1720(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -950,7 +950,7 @@ api.InAppProductListing buildInAppProductListing() { final o = api.InAppProductListing(); buildCounterInAppProductListing++; if (buildCounterInAppProductListing < 3) { - o.benefits = buildUnnamed1690(); + o.benefits = buildUnnamed1720(); o.description = 'foo'; o.title = 'foo'; } @@ -961,7 +961,7 @@ api.InAppProductListing buildInAppProductListing() { void checkInAppProductListing(api.InAppProductListing o) { buildCounterInAppProductListing++; if (buildCounterInAppProductListing < 3) { - checkUnnamed1690(o.benefits!); + checkUnnamed1720(o.benefits!); unittest.expect( o.description!, unittest.equals('foo'), @@ -974,12 +974,12 @@ void checkInAppProductListing(api.InAppProductListing o) { buildCounterInAppProductListing--; } -core.List buildUnnamed1691() => [ +core.List buildUnnamed1721() => [ buildInAppProduct(), buildInAppProduct(), ]; -void checkUnnamed1691(core.List o) { +void checkUnnamed1721(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInAppProduct(o[0]); checkInAppProduct(o[1]); @@ -990,7 +990,7 @@ api.InappproductsListResponse buildInappproductsListResponse() { final o = api.InappproductsListResponse(); buildCounterInappproductsListResponse++; if (buildCounterInappproductsListResponse < 3) { - o.inappproduct = buildUnnamed1691(); + o.inappproduct = buildUnnamed1721(); o.kind = 'foo'; o.pageInfo = buildPageInfo(); o.tokenPagination = buildTokenPagination(); @@ -1002,7 +1002,7 @@ api.InappproductsListResponse buildInappproductsListResponse() { void checkInappproductsListResponse(api.InappproductsListResponse o) { buildCounterInappproductsListResponse++; if (buildCounterInappproductsListResponse < 3) { - checkUnnamed1691(o.inappproduct!); + checkUnnamed1721(o.inappproduct!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1124,12 +1124,12 @@ void checkListing(api.Listing o) { buildCounterListing--; } -core.List buildUnnamed1692() => [ +core.List buildUnnamed1722() => [ buildListing(), buildListing(), ]; -void checkUnnamed1692(core.List o) { +void checkUnnamed1722(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListing(o[0]); checkListing(o[1]); @@ -1141,7 +1141,7 @@ api.ListingsListResponse buildListingsListResponse() { buildCounterListingsListResponse++; if (buildCounterListingsListResponse < 3) { o.kind = 'foo'; - o.listings = buildUnnamed1692(); + o.listings = buildUnnamed1722(); } buildCounterListingsListResponse--; return o; @@ -1154,7 +1154,7 @@ void checkListingsListResponse(api.ListingsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1692(o.listings!); + checkUnnamed1722(o.listings!); } buildCounterListingsListResponse--; } @@ -1356,12 +1356,12 @@ void checkProductPurchasesAcknowledgeRequest( buildCounterProductPurchasesAcknowledgeRequest--; } -core.List buildUnnamed1693() => [ +core.List buildUnnamed1723() => [ buildComment(), buildComment(), ]; -void checkUnnamed1693(core.List o) { +void checkUnnamed1723(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -1373,7 +1373,7 @@ api.Review buildReview() { buildCounterReview++; if (buildCounterReview < 3) { o.authorName = 'foo'; - o.comments = buildUnnamed1693(); + o.comments = buildUnnamed1723(); o.reviewId = 'foo'; } buildCounterReview--; @@ -1387,7 +1387,7 @@ void checkReview(api.Review o) { o.authorName!, unittest.equals('foo'), ); - checkUnnamed1693(o.comments!); + checkUnnamed1723(o.comments!); unittest.expect( o.reviewId!, unittest.equals('foo'), @@ -1420,12 +1420,12 @@ void checkReviewReplyResult(api.ReviewReplyResult o) { buildCounterReviewReplyResult--; } -core.List buildUnnamed1694() => [ +core.List buildUnnamed1724() => [ buildReview(), buildReview(), ]; -void checkUnnamed1694(core.List o) { +void checkUnnamed1724(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReview(o[0]); checkReview(o[1]); @@ -1437,7 +1437,7 @@ api.ReviewsListResponse buildReviewsListResponse() { buildCounterReviewsListResponse++; if (buildCounterReviewsListResponse < 3) { o.pageInfo = buildPageInfo(); - o.reviews = buildUnnamed1694(); + o.reviews = buildUnnamed1724(); o.tokenPagination = buildTokenPagination(); } buildCounterReviewsListResponse--; @@ -1448,7 +1448,7 @@ void checkReviewsListResponse(api.ReviewsListResponse o) { buildCounterReviewsListResponse++; if (buildCounterReviewsListResponse < 3) { checkPageInfo(o.pageInfo!); - checkUnnamed1694(o.reviews!); + checkUnnamed1724(o.reviews!); checkTokenPagination(o.tokenPagination!); } buildCounterReviewsListResponse--; @@ -1791,12 +1791,12 @@ void checkSubscriptionPurchasesDeferResponse( buildCounterSubscriptionPurchasesDeferResponse--; } -core.List buildUnnamed1695() => [ +core.List buildUnnamed1725() => [ buildVariant(), buildVariant(), ]; -void checkUnnamed1695(core.List o) { +void checkUnnamed1725(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariant(o[0]); checkVariant(o[1]); @@ -1807,7 +1807,7 @@ api.SystemApksListResponse buildSystemApksListResponse() { final o = api.SystemApksListResponse(); buildCounterSystemApksListResponse++; if (buildCounterSystemApksListResponse < 3) { - o.variants = buildUnnamed1695(); + o.variants = buildUnnamed1725(); } buildCounterSystemApksListResponse--; return o; @@ -1816,17 +1816,17 @@ api.SystemApksListResponse buildSystemApksListResponse() { void checkSystemApksListResponse(api.SystemApksListResponse o) { buildCounterSystemApksListResponse++; if (buildCounterSystemApksListResponse < 3) { - checkUnnamed1695(o.variants!); + checkUnnamed1725(o.variants!); } buildCounterSystemApksListResponse--; } -core.List buildUnnamed1696() => [ +core.List buildUnnamed1726() => [ 'foo', 'foo', ]; -void checkUnnamed1696(core.List o) { +void checkUnnamed1726(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1843,7 +1843,7 @@ api.Testers buildTesters() { final o = api.Testers(); buildCounterTesters++; if (buildCounterTesters < 3) { - o.googleGroups = buildUnnamed1696(); + o.googleGroups = buildUnnamed1726(); } buildCounterTesters--; return o; @@ -1852,7 +1852,7 @@ api.Testers buildTesters() { void checkTesters(api.Testers o) { buildCounterTesters++; if (buildCounterTesters < 3) { - checkUnnamed1696(o.googleGroups!); + checkUnnamed1726(o.googleGroups!); } buildCounterTesters--; } @@ -1911,12 +1911,12 @@ void checkTokenPagination(api.TokenPagination o) { buildCounterTokenPagination--; } -core.List buildUnnamed1697() => [ +core.List buildUnnamed1727() => [ buildTrackRelease(), buildTrackRelease(), ]; -void checkUnnamed1697(core.List o) { +void checkUnnamed1727(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrackRelease(o[0]); checkTrackRelease(o[1]); @@ -1927,7 +1927,7 @@ api.Track buildTrack() { final o = api.Track(); buildCounterTrack++; if (buildCounterTrack < 3) { - o.releases = buildUnnamed1697(); + o.releases = buildUnnamed1727(); o.track = 'foo'; } buildCounterTrack--; @@ -1937,7 +1937,7 @@ api.Track buildTrack() { void checkTrack(api.Track o) { buildCounterTrack++; if (buildCounterTrack < 3) { - checkUnnamed1697(o.releases!); + checkUnnamed1727(o.releases!); unittest.expect( o.track!, unittest.equals('foo'), @@ -1946,23 +1946,23 @@ void checkTrack(api.Track o) { buildCounterTrack--; } -core.List buildUnnamed1698() => [ +core.List buildUnnamed1728() => [ buildLocalizedText(), buildLocalizedText(), ]; -void checkUnnamed1698(core.List o) { +void checkUnnamed1728(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedText(o[0]); checkLocalizedText(o[1]); } -core.List buildUnnamed1699() => [ +core.List buildUnnamed1729() => [ 'foo', 'foo', ]; -void checkUnnamed1699(core.List o) { +void checkUnnamed1729(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1982,10 +1982,10 @@ api.TrackRelease buildTrackRelease() { o.countryTargeting = buildCountryTargeting(); o.inAppUpdatePriority = 42; o.name = 'foo'; - o.releaseNotes = buildUnnamed1698(); + o.releaseNotes = buildUnnamed1728(); o.status = 'foo'; o.userFraction = 42.0; - o.versionCodes = buildUnnamed1699(); + o.versionCodes = buildUnnamed1729(); } buildCounterTrackRelease--; return o; @@ -2003,7 +2003,7 @@ void checkTrackRelease(api.TrackRelease o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1698(o.releaseNotes!); + checkUnnamed1728(o.releaseNotes!); unittest.expect( o.status!, unittest.equals('foo'), @@ -2012,17 +2012,17 @@ void checkTrackRelease(api.TrackRelease o) { o.userFraction!, unittest.equals(42.0), ); - checkUnnamed1699(o.versionCodes!); + checkUnnamed1729(o.versionCodes!); } buildCounterTrackRelease--; } -core.List buildUnnamed1700() => [ +core.List buildUnnamed1730() => [ buildTrack(), buildTrack(), ]; -void checkUnnamed1700(core.List o) { +void checkUnnamed1730(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrack(o[0]); checkTrack(o[1]); @@ -2034,7 +2034,7 @@ api.TracksListResponse buildTracksListResponse() { buildCounterTracksListResponse++; if (buildCounterTracksListResponse < 3) { o.kind = 'foo'; - o.tracks = buildUnnamed1700(); + o.tracks = buildUnnamed1730(); } buildCounterTracksListResponse--; return o; @@ -2047,7 +2047,7 @@ void checkTracksListResponse(api.TracksListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1700(o.tracks!); + checkUnnamed1730(o.tracks!); } buildCounterTracksListResponse--; } @@ -2226,12 +2226,12 @@ void checkVoidedPurchase(api.VoidedPurchase o) { buildCounterVoidedPurchase--; } -core.List buildUnnamed1701() => [ +core.List buildUnnamed1731() => [ buildVoidedPurchase(), buildVoidedPurchase(), ]; -void checkUnnamed1701(core.List o) { +void checkUnnamed1731(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVoidedPurchase(o[0]); checkVoidedPurchase(o[1]); @@ -2244,7 +2244,7 @@ api.VoidedPurchasesListResponse buildVoidedPurchasesListResponse() { if (buildCounterVoidedPurchasesListResponse < 3) { o.pageInfo = buildPageInfo(); o.tokenPagination = buildTokenPagination(); - o.voidedPurchases = buildUnnamed1701(); + o.voidedPurchases = buildUnnamed1731(); } buildCounterVoidedPurchasesListResponse--; return o; @@ -2255,7 +2255,7 @@ void checkVoidedPurchasesListResponse(api.VoidedPurchasesListResponse o) { if (buildCounterVoidedPurchasesListResponse < 3) { checkPageInfo(o.pageInfo!); checkTokenPagination(o.tokenPagination!); - checkUnnamed1701(o.voidedPurchases!); + checkUnnamed1731(o.voidedPurchases!); } buildCounterVoidedPurchasesListResponse--; } @@ -6456,6 +6456,7 @@ void main() { final arg_request = buildInAppProduct(); final arg_packageName = 'foo'; final arg_sku = 'foo'; + final arg_allowMissing = true; final arg_autoConvertMissingPrices = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -6513,6 +6514,10 @@ void main() { ); } } + unittest.expect( + queryMap['allowMissing']!.first, + unittest.equals('$arg_allowMissing'), + ); unittest.expect( queryMap['autoConvertMissingPrices']!.first, unittest.equals('$arg_autoConvertMissingPrices'), @@ -6529,6 +6534,7 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.update(arg_request, arg_packageName, arg_sku, + allowMissing: arg_allowMissing, autoConvertMissingPrices: arg_autoConvertMissingPrices, $fields: arg_$fields); checkInAppProduct(response as api.InAppProduct); diff --git a/generated/googleapis/test/apigateway/v1_test.dart b/generated/googleapis/test/apigateway/v1_test.dart index 96e4e8582..adf07e605 100644 --- a/generated/googleapis/test/apigateway/v1_test.dart +++ b/generated/googleapis/test/apigateway/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed5854() => { +core.Map buildUnnamed5920() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5854(core.Map o) { +void checkUnnamed5920(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -50,7 +50,7 @@ api.ApigatewayApi buildApigatewayApi() { if (buildCounterApigatewayApi < 3) { o.createTime = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed5854(); + o.labels = buildUnnamed5920(); o.managedService = 'foo'; o.name = 'foo'; o.state = 'foo'; @@ -71,7 +71,7 @@ void checkApigatewayApi(api.ApigatewayApi o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed5854(o.labels!); + checkUnnamed5920(o.labels!); unittest.expect( o.managedService!, unittest.equals('foo'), @@ -92,24 +92,24 @@ void checkApigatewayApi(api.ApigatewayApi o) { buildCounterApigatewayApi--; } -core.List buildUnnamed5855() => [ +core.List buildUnnamed5921() => [ buildApigatewayApiConfigGrpcServiceDefinition(), buildApigatewayApiConfigGrpcServiceDefinition(), ]; -void checkUnnamed5855( +void checkUnnamed5921( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayApiConfigGrpcServiceDefinition(o[0]); checkApigatewayApiConfigGrpcServiceDefinition(o[1]); } -core.Map buildUnnamed5856() => { +core.Map buildUnnamed5922() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5856(core.Map o) { +void checkUnnamed5922(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -121,23 +121,23 @@ void checkUnnamed5856(core.Map o) { ); } -core.List buildUnnamed5857() => [ +core.List buildUnnamed5923() => [ buildApigatewayApiConfigFile(), buildApigatewayApiConfigFile(), ]; -void checkUnnamed5857(core.List o) { +void checkUnnamed5923(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayApiConfigFile(o[0]); checkApigatewayApiConfigFile(o[1]); } -core.List buildUnnamed5858() => [ +core.List buildUnnamed5924() => [ buildApigatewayApiConfigOpenApiDocument(), buildApigatewayApiConfigOpenApiDocument(), ]; -void checkUnnamed5858(core.List o) { +void checkUnnamed5924(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayApiConfigOpenApiDocument(o[0]); checkApigatewayApiConfigOpenApiDocument(o[1]); @@ -151,11 +151,11 @@ api.ApigatewayApiConfig buildApigatewayApiConfig() { o.createTime = 'foo'; o.displayName = 'foo'; o.gatewayServiceAccount = 'foo'; - o.grpcServices = buildUnnamed5855(); - o.labels = buildUnnamed5856(); - o.managedServiceConfigs = buildUnnamed5857(); + o.grpcServices = buildUnnamed5921(); + o.labels = buildUnnamed5922(); + o.managedServiceConfigs = buildUnnamed5923(); o.name = 'foo'; - o.openapiDocuments = buildUnnamed5858(); + o.openapiDocuments = buildUnnamed5924(); o.serviceConfigId = 'foo'; o.state = 'foo'; o.updateTime = 'foo'; @@ -179,14 +179,14 @@ void checkApigatewayApiConfig(api.ApigatewayApiConfig o) { o.gatewayServiceAccount!, unittest.equals('foo'), ); - checkUnnamed5855(o.grpcServices!); - checkUnnamed5856(o.labels!); - checkUnnamed5857(o.managedServiceConfigs!); + checkUnnamed5921(o.grpcServices!); + checkUnnamed5922(o.labels!); + checkUnnamed5923(o.managedServiceConfigs!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5858(o.openapiDocuments!); + checkUnnamed5924(o.openapiDocuments!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -230,12 +230,12 @@ void checkApigatewayApiConfigFile(api.ApigatewayApiConfigFile o) { buildCounterApigatewayApiConfigFile--; } -core.List buildUnnamed5859() => [ +core.List buildUnnamed5925() => [ buildApigatewayApiConfigFile(), buildApigatewayApiConfigFile(), ]; -void checkUnnamed5859(core.List o) { +void checkUnnamed5925(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayApiConfigFile(o[0]); checkApigatewayApiConfigFile(o[1]); @@ -248,7 +248,7 @@ api.ApigatewayApiConfigGrpcServiceDefinition buildCounterApigatewayApiConfigGrpcServiceDefinition++; if (buildCounterApigatewayApiConfigGrpcServiceDefinition < 3) { o.fileDescriptorSet = buildApigatewayApiConfigFile(); - o.source = buildUnnamed5859(); + o.source = buildUnnamed5925(); } buildCounterApigatewayApiConfigGrpcServiceDefinition--; return o; @@ -259,7 +259,7 @@ void checkApigatewayApiConfigGrpcServiceDefinition( buildCounterApigatewayApiConfigGrpcServiceDefinition++; if (buildCounterApigatewayApiConfigGrpcServiceDefinition < 3) { checkApigatewayApiConfigFile(o.fileDescriptorSet!); - checkUnnamed5859(o.source!); + checkUnnamed5925(o.source!); } buildCounterApigatewayApiConfigGrpcServiceDefinition--; } @@ -285,12 +285,12 @@ void checkApigatewayApiConfigOpenApiDocument( buildCounterApigatewayApiConfigOpenApiDocument--; } -core.List buildUnnamed5860() => [ +core.List buildUnnamed5926() => [ buildApigatewayAuditLogConfig(), buildApigatewayAuditLogConfig(), ]; -void checkUnnamed5860(core.List o) { +void checkUnnamed5926(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayAuditLogConfig(o[0]); checkApigatewayAuditLogConfig(o[1]); @@ -301,7 +301,7 @@ api.ApigatewayAuditConfig buildApigatewayAuditConfig() { final o = api.ApigatewayAuditConfig(); buildCounterApigatewayAuditConfig++; if (buildCounterApigatewayAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed5860(); + o.auditLogConfigs = buildUnnamed5926(); o.service = 'foo'; } buildCounterApigatewayAuditConfig--; @@ -311,7 +311,7 @@ api.ApigatewayAuditConfig buildApigatewayAuditConfig() { void checkApigatewayAuditConfig(api.ApigatewayAuditConfig o) { buildCounterApigatewayAuditConfig++; if (buildCounterApigatewayAuditConfig < 3) { - checkUnnamed5860(o.auditLogConfigs!); + checkUnnamed5926(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -320,12 +320,12 @@ void checkApigatewayAuditConfig(api.ApigatewayAuditConfig o) { buildCounterApigatewayAuditConfig--; } -core.List buildUnnamed5861() => [ +core.List buildUnnamed5927() => [ 'foo', 'foo', ]; -void checkUnnamed5861(core.List o) { +void checkUnnamed5927(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -342,7 +342,7 @@ api.ApigatewayAuditLogConfig buildApigatewayAuditLogConfig() { final o = api.ApigatewayAuditLogConfig(); buildCounterApigatewayAuditLogConfig++; if (buildCounterApigatewayAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed5861(); + o.exemptedMembers = buildUnnamed5927(); o.logType = 'foo'; } buildCounterApigatewayAuditLogConfig--; @@ -352,7 +352,7 @@ api.ApigatewayAuditLogConfig buildApigatewayAuditLogConfig() { void checkApigatewayAuditLogConfig(api.ApigatewayAuditLogConfig o) { buildCounterApigatewayAuditLogConfig++; if (buildCounterApigatewayAuditLogConfig < 3) { - checkUnnamed5861(o.exemptedMembers!); + checkUnnamed5927(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -361,12 +361,12 @@ void checkApigatewayAuditLogConfig(api.ApigatewayAuditLogConfig o) { buildCounterApigatewayAuditLogConfig--; } -core.List buildUnnamed5862() => [ +core.List buildUnnamed5928() => [ 'foo', 'foo', ]; -void checkUnnamed5862(core.List o) { +void checkUnnamed5928(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -384,7 +384,7 @@ api.ApigatewayBinding buildApigatewayBinding() { buildCounterApigatewayBinding++; if (buildCounterApigatewayBinding < 3) { o.condition = buildApigatewayExpr(); - o.members = buildUnnamed5862(); + o.members = buildUnnamed5928(); o.role = 'foo'; } buildCounterApigatewayBinding--; @@ -395,7 +395,7 @@ void checkApigatewayBinding(api.ApigatewayBinding o) { buildCounterApigatewayBinding++; if (buildCounterApigatewayBinding < 3) { checkApigatewayExpr(o.condition!); - checkUnnamed5862(o.members!); + checkUnnamed5928(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -457,12 +457,12 @@ void checkApigatewayExpr(api.ApigatewayExpr o) { buildCounterApigatewayExpr--; } -core.Map buildUnnamed5863() => { +core.Map buildUnnamed5929() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5863(core.Map o) { +void checkUnnamed5929(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -483,7 +483,7 @@ api.ApigatewayGateway buildApigatewayGateway() { o.createTime = 'foo'; o.defaultHostname = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed5863(); + o.labels = buildUnnamed5929(); o.name = 'foo'; o.state = 'foo'; o.updateTime = 'foo'; @@ -511,7 +511,7 @@ void checkApigatewayGateway(api.ApigatewayGateway o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed5863(o.labels!); + checkUnnamed5929(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -528,23 +528,23 @@ void checkApigatewayGateway(api.ApigatewayGateway o) { buildCounterApigatewayGateway--; } -core.List buildUnnamed5864() => [ +core.List buildUnnamed5930() => [ buildApigatewayApiConfig(), buildApigatewayApiConfig(), ]; -void checkUnnamed5864(core.List o) { +void checkUnnamed5930(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayApiConfig(o[0]); checkApigatewayApiConfig(o[1]); } -core.List buildUnnamed5865() => [ +core.List buildUnnamed5931() => [ 'foo', 'foo', ]; -void checkUnnamed5865(core.List o) { +void checkUnnamed5931(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -561,9 +561,9 @@ api.ApigatewayListApiConfigsResponse buildApigatewayListApiConfigsResponse() { final o = api.ApigatewayListApiConfigsResponse(); buildCounterApigatewayListApiConfigsResponse++; if (buildCounterApigatewayListApiConfigsResponse < 3) { - o.apiConfigs = buildUnnamed5864(); + o.apiConfigs = buildUnnamed5930(); o.nextPageToken = 'foo'; - o.unreachableLocations = buildUnnamed5865(); + o.unreachableLocations = buildUnnamed5931(); } buildCounterApigatewayListApiConfigsResponse--; return o; @@ -573,33 +573,33 @@ void checkApigatewayListApiConfigsResponse( api.ApigatewayListApiConfigsResponse o) { buildCounterApigatewayListApiConfigsResponse++; if (buildCounterApigatewayListApiConfigsResponse < 3) { - checkUnnamed5864(o.apiConfigs!); + checkUnnamed5930(o.apiConfigs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5865(o.unreachableLocations!); + checkUnnamed5931(o.unreachableLocations!); } buildCounterApigatewayListApiConfigsResponse--; } -core.List buildUnnamed5866() => [ +core.List buildUnnamed5932() => [ buildApigatewayApi(), buildApigatewayApi(), ]; -void checkUnnamed5866(core.List o) { +void checkUnnamed5932(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayApi(o[0]); checkApigatewayApi(o[1]); } -core.List buildUnnamed5867() => [ +core.List buildUnnamed5933() => [ 'foo', 'foo', ]; -void checkUnnamed5867(core.List o) { +void checkUnnamed5933(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -616,9 +616,9 @@ api.ApigatewayListApisResponse buildApigatewayListApisResponse() { final o = api.ApigatewayListApisResponse(); buildCounterApigatewayListApisResponse++; if (buildCounterApigatewayListApisResponse < 3) { - o.apis = buildUnnamed5866(); + o.apis = buildUnnamed5932(); o.nextPageToken = 'foo'; - o.unreachableLocations = buildUnnamed5867(); + o.unreachableLocations = buildUnnamed5933(); } buildCounterApigatewayListApisResponse--; return o; @@ -627,33 +627,33 @@ api.ApigatewayListApisResponse buildApigatewayListApisResponse() { void checkApigatewayListApisResponse(api.ApigatewayListApisResponse o) { buildCounterApigatewayListApisResponse++; if (buildCounterApigatewayListApisResponse < 3) { - checkUnnamed5866(o.apis!); + checkUnnamed5932(o.apis!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5867(o.unreachableLocations!); + checkUnnamed5933(o.unreachableLocations!); } buildCounterApigatewayListApisResponse--; } -core.List buildUnnamed5868() => [ +core.List buildUnnamed5934() => [ buildApigatewayGateway(), buildApigatewayGateway(), ]; -void checkUnnamed5868(core.List o) { +void checkUnnamed5934(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayGateway(o[0]); checkApigatewayGateway(o[1]); } -core.List buildUnnamed5869() => [ +core.List buildUnnamed5935() => [ 'foo', 'foo', ]; -void checkUnnamed5869(core.List o) { +void checkUnnamed5935(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -670,9 +670,9 @@ api.ApigatewayListGatewaysResponse buildApigatewayListGatewaysResponse() { final o = api.ApigatewayListGatewaysResponse(); buildCounterApigatewayListGatewaysResponse++; if (buildCounterApigatewayListGatewaysResponse < 3) { - o.gateways = buildUnnamed5868(); + o.gateways = buildUnnamed5934(); o.nextPageToken = 'foo'; - o.unreachableLocations = buildUnnamed5869(); + o.unreachableLocations = buildUnnamed5935(); } buildCounterApigatewayListGatewaysResponse--; return o; @@ -681,22 +681,22 @@ api.ApigatewayListGatewaysResponse buildApigatewayListGatewaysResponse() { void checkApigatewayListGatewaysResponse(api.ApigatewayListGatewaysResponse o) { buildCounterApigatewayListGatewaysResponse++; if (buildCounterApigatewayListGatewaysResponse < 3) { - checkUnnamed5868(o.gateways!); + checkUnnamed5934(o.gateways!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5869(o.unreachableLocations!); + checkUnnamed5935(o.unreachableLocations!); } buildCounterApigatewayListGatewaysResponse--; } -core.List buildUnnamed5870() => [ +core.List buildUnnamed5936() => [ buildApigatewayLocation(), buildApigatewayLocation(), ]; -void checkUnnamed5870(core.List o) { +void checkUnnamed5936(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayLocation(o[0]); checkApigatewayLocation(o[1]); @@ -707,7 +707,7 @@ api.ApigatewayListLocationsResponse buildApigatewayListLocationsResponse() { final o = api.ApigatewayListLocationsResponse(); buildCounterApigatewayListLocationsResponse++; if (buildCounterApigatewayListLocationsResponse < 3) { - o.locations = buildUnnamed5870(); + o.locations = buildUnnamed5936(); o.nextPageToken = 'foo'; } buildCounterApigatewayListLocationsResponse--; @@ -718,7 +718,7 @@ void checkApigatewayListLocationsResponse( api.ApigatewayListLocationsResponse o) { buildCounterApigatewayListLocationsResponse++; if (buildCounterApigatewayListLocationsResponse < 3) { - checkUnnamed5870(o.locations!); + checkUnnamed5936(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -727,12 +727,12 @@ void checkApigatewayListLocationsResponse( buildCounterApigatewayListLocationsResponse--; } -core.List buildUnnamed5871() => [ +core.List buildUnnamed5937() => [ buildApigatewayOperation(), buildApigatewayOperation(), ]; -void checkUnnamed5871(core.List o) { +void checkUnnamed5937(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayOperation(o[0]); checkApigatewayOperation(o[1]); @@ -744,7 +744,7 @@ api.ApigatewayListOperationsResponse buildApigatewayListOperationsResponse() { buildCounterApigatewayListOperationsResponse++; if (buildCounterApigatewayListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed5871(); + o.operations = buildUnnamed5937(); } buildCounterApigatewayListOperationsResponse--; return o; @@ -758,17 +758,17 @@ void checkApigatewayListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5871(o.operations!); + checkUnnamed5937(o.operations!); } buildCounterApigatewayListOperationsResponse--; } -core.Map buildUnnamed5872() => { +core.Map buildUnnamed5938() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5872(core.Map o) { +void checkUnnamed5938(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -780,7 +780,7 @@ void checkUnnamed5872(core.Map o) { ); } -core.Map buildUnnamed5873() => { +core.Map buildUnnamed5939() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -793,7 +793,7 @@ core.Map buildUnnamed5873() => { }, }; -void checkUnnamed5873(core.Map o) { +void checkUnnamed5939(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -831,9 +831,9 @@ api.ApigatewayLocation buildApigatewayLocation() { buildCounterApigatewayLocation++; if (buildCounterApigatewayLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed5872(); + o.labels = buildUnnamed5938(); o.locationId = 'foo'; - o.metadata = buildUnnamed5873(); + o.metadata = buildUnnamed5939(); o.name = 'foo'; } buildCounterApigatewayLocation--; @@ -847,12 +847,12 @@ void checkApigatewayLocation(api.ApigatewayLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed5872(o.labels!); + checkUnnamed5938(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed5873(o.metadata!); + checkUnnamed5939(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -861,7 +861,7 @@ void checkApigatewayLocation(api.ApigatewayLocation o) { buildCounterApigatewayLocation--; } -core.Map buildUnnamed5874() => { +core.Map buildUnnamed5940() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -874,7 +874,7 @@ core.Map buildUnnamed5874() => { }, }; -void checkUnnamed5874(core.Map o) { +void checkUnnamed5940(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -906,7 +906,7 @@ void checkUnnamed5874(core.Map o) { ); } -core.Map buildUnnamed5875() => { +core.Map buildUnnamed5941() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -919,7 +919,7 @@ core.Map buildUnnamed5875() => { }, }; -void checkUnnamed5875(core.Map o) { +void checkUnnamed5941(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -958,9 +958,9 @@ api.ApigatewayOperation buildApigatewayOperation() { if (buildCounterApigatewayOperation < 3) { o.done = true; o.error = buildApigatewayStatus(); - o.metadata = buildUnnamed5874(); + o.metadata = buildUnnamed5940(); o.name = 'foo'; - o.response = buildUnnamed5875(); + o.response = buildUnnamed5941(); } buildCounterApigatewayOperation--; return o; @@ -971,22 +971,22 @@ void checkApigatewayOperation(api.ApigatewayOperation o) { if (buildCounterApigatewayOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkApigatewayStatus(o.error!); - checkUnnamed5874(o.metadata!); + checkUnnamed5940(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5875(o.response!); + checkUnnamed5941(o.response!); } buildCounterApigatewayOperation--; } -core.List buildUnnamed5876() => [ +core.List buildUnnamed5942() => [ buildApigatewayOperationMetadataDiagnostic(), buildApigatewayOperationMetadataDiagnostic(), ]; -void checkUnnamed5876(core.List o) { +void checkUnnamed5942(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayOperationMetadataDiagnostic(o[0]); checkApigatewayOperationMetadataDiagnostic(o[1]); @@ -999,7 +999,7 @@ api.ApigatewayOperationMetadata buildApigatewayOperationMetadata() { if (buildCounterApigatewayOperationMetadata < 3) { o.apiVersion = 'foo'; o.createTime = 'foo'; - o.diagnostics = buildUnnamed5876(); + o.diagnostics = buildUnnamed5942(); o.endTime = 'foo'; o.requestedCancellation = true; o.statusMessage = 'foo'; @@ -1021,7 +1021,7 @@ void checkApigatewayOperationMetadata(api.ApigatewayOperationMetadata o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed5876(o.diagnostics!); + checkUnnamed5942(o.diagnostics!); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -1072,23 +1072,23 @@ void checkApigatewayOperationMetadataDiagnostic( buildCounterApigatewayOperationMetadataDiagnostic--; } -core.List buildUnnamed5877() => [ +core.List buildUnnamed5943() => [ buildApigatewayAuditConfig(), buildApigatewayAuditConfig(), ]; -void checkUnnamed5877(core.List o) { +void checkUnnamed5943(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayAuditConfig(o[0]); checkApigatewayAuditConfig(o[1]); } -core.List buildUnnamed5878() => [ +core.List buildUnnamed5944() => [ buildApigatewayBinding(), buildApigatewayBinding(), ]; -void checkUnnamed5878(core.List o) { +void checkUnnamed5944(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApigatewayBinding(o[0]); checkApigatewayBinding(o[1]); @@ -1099,8 +1099,8 @@ api.ApigatewayPolicy buildApigatewayPolicy() { final o = api.ApigatewayPolicy(); buildCounterApigatewayPolicy++; if (buildCounterApigatewayPolicy < 3) { - o.auditConfigs = buildUnnamed5877(); - o.bindings = buildUnnamed5878(); + o.auditConfigs = buildUnnamed5943(); + o.bindings = buildUnnamed5944(); o.etag = 'foo'; o.version = 42; } @@ -1111,8 +1111,8 @@ api.ApigatewayPolicy buildApigatewayPolicy() { void checkApigatewayPolicy(api.ApigatewayPolicy o) { buildCounterApigatewayPolicy++; if (buildCounterApigatewayPolicy < 3) { - checkUnnamed5877(o.auditConfigs!); - checkUnnamed5878(o.bindings!); + checkUnnamed5943(o.auditConfigs!); + checkUnnamed5944(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1149,7 +1149,7 @@ void checkApigatewaySetIamPolicyRequest(api.ApigatewaySetIamPolicyRequest o) { buildCounterApigatewaySetIamPolicyRequest--; } -core.Map buildUnnamed5879() => { +core.Map buildUnnamed5945() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1162,7 +1162,7 @@ core.Map buildUnnamed5879() => { }, }; -void checkUnnamed5879(core.Map o) { +void checkUnnamed5945(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1194,15 +1194,15 @@ void checkUnnamed5879(core.Map o) { ); } -core.List> buildUnnamed5880() => [ - buildUnnamed5879(), - buildUnnamed5879(), +core.List> buildUnnamed5946() => [ + buildUnnamed5945(), + buildUnnamed5945(), ]; -void checkUnnamed5880(core.List> o) { +void checkUnnamed5946(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5879(o[0]); - checkUnnamed5879(o[1]); + checkUnnamed5945(o[0]); + checkUnnamed5945(o[1]); } core.int buildCounterApigatewayStatus = 0; @@ -1211,7 +1211,7 @@ api.ApigatewayStatus buildApigatewayStatus() { buildCounterApigatewayStatus++; if (buildCounterApigatewayStatus < 3) { o.code = 42; - o.details = buildUnnamed5880(); + o.details = buildUnnamed5946(); o.message = 'foo'; } buildCounterApigatewayStatus--; @@ -1225,7 +1225,7 @@ void checkApigatewayStatus(api.ApigatewayStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed5880(o.details!); + checkUnnamed5946(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1234,12 +1234,12 @@ void checkApigatewayStatus(api.ApigatewayStatus o) { buildCounterApigatewayStatus--; } -core.List buildUnnamed5881() => [ +core.List buildUnnamed5947() => [ 'foo', 'foo', ]; -void checkUnnamed5881(core.List o) { +void checkUnnamed5947(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1257,7 +1257,7 @@ api.ApigatewayTestIamPermissionsRequest final o = api.ApigatewayTestIamPermissionsRequest(); buildCounterApigatewayTestIamPermissionsRequest++; if (buildCounterApigatewayTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed5881(); + o.permissions = buildUnnamed5947(); } buildCounterApigatewayTestIamPermissionsRequest--; return o; @@ -1267,17 +1267,17 @@ void checkApigatewayTestIamPermissionsRequest( api.ApigatewayTestIamPermissionsRequest o) { buildCounterApigatewayTestIamPermissionsRequest++; if (buildCounterApigatewayTestIamPermissionsRequest < 3) { - checkUnnamed5881(o.permissions!); + checkUnnamed5947(o.permissions!); } buildCounterApigatewayTestIamPermissionsRequest--; } -core.List buildUnnamed5882() => [ +core.List buildUnnamed5948() => [ 'foo', 'foo', ]; -void checkUnnamed5882(core.List o) { +void checkUnnamed5948(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1295,7 +1295,7 @@ api.ApigatewayTestIamPermissionsResponse final o = api.ApigatewayTestIamPermissionsResponse(); buildCounterApigatewayTestIamPermissionsResponse++; if (buildCounterApigatewayTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed5882(); + o.permissions = buildUnnamed5948(); } buildCounterApigatewayTestIamPermissionsResponse--; return o; @@ -1305,7 +1305,7 @@ void checkApigatewayTestIamPermissionsResponse( api.ApigatewayTestIamPermissionsResponse o) { buildCounterApigatewayTestIamPermissionsResponse++; if (buildCounterApigatewayTestIamPermissionsResponse < 3) { - checkUnnamed5882(o.permissions!); + checkUnnamed5948(o.permissions!); } buildCounterApigatewayTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/apigee/v1_test.dart b/generated/googleapis/test/apigee/v1_test.dart index da3159648..e54cc2eb4 100644 --- a/generated/googleapis/test/apigee/v1_test.dart +++ b/generated/googleapis/test/apigee/v1_test.dart @@ -26,7 +26,67 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed6391() => { +core.List buildUnnamed6458() => [ + buildEdgeConfigstoreBundleBadBundleViolation(), + buildEdgeConfigstoreBundleBadBundleViolation(), + ]; + +void checkUnnamed6458( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkEdgeConfigstoreBundleBadBundleViolation(o[0]); + checkEdgeConfigstoreBundleBadBundleViolation(o[1]); +} + +core.int buildCounterEdgeConfigstoreBundleBadBundle = 0; +api.EdgeConfigstoreBundleBadBundle buildEdgeConfigstoreBundleBadBundle() { + final o = api.EdgeConfigstoreBundleBadBundle(); + buildCounterEdgeConfigstoreBundleBadBundle++; + if (buildCounterEdgeConfigstoreBundleBadBundle < 3) { + o.violations = buildUnnamed6458(); + } + buildCounterEdgeConfigstoreBundleBadBundle--; + return o; +} + +void checkEdgeConfigstoreBundleBadBundle(api.EdgeConfigstoreBundleBadBundle o) { + buildCounterEdgeConfigstoreBundleBadBundle++; + if (buildCounterEdgeConfigstoreBundleBadBundle < 3) { + checkUnnamed6458(o.violations!); + } + buildCounterEdgeConfigstoreBundleBadBundle--; +} + +core.int buildCounterEdgeConfigstoreBundleBadBundleViolation = 0; +api.EdgeConfigstoreBundleBadBundleViolation + buildEdgeConfigstoreBundleBadBundleViolation() { + final o = api.EdgeConfigstoreBundleBadBundleViolation(); + buildCounterEdgeConfigstoreBundleBadBundleViolation++; + if (buildCounterEdgeConfigstoreBundleBadBundleViolation < 3) { + o.description = 'foo'; + o.filename = 'foo'; + } + buildCounterEdgeConfigstoreBundleBadBundleViolation--; + return o; +} + +void checkEdgeConfigstoreBundleBadBundleViolation( + api.EdgeConfigstoreBundleBadBundleViolation o) { + buildCounterEdgeConfigstoreBundleBadBundleViolation++; + if (buildCounterEdgeConfigstoreBundleBadBundleViolation < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.filename!, + unittest.equals('foo'), + ); + } + buildCounterEdgeConfigstoreBundleBadBundleViolation--; +} + +core.Map buildUnnamed6459() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +99,7 @@ core.Map buildUnnamed6391() => { }, }; -void checkUnnamed6391(core.Map o) { +void checkUnnamed6459(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -71,15 +131,15 @@ void checkUnnamed6391(core.Map o) { ); } -core.List> buildUnnamed6392() => [ - buildUnnamed6391(), - buildUnnamed6391(), +core.List> buildUnnamed6460() => [ + buildUnnamed6459(), + buildUnnamed6459(), ]; -void checkUnnamed6392(core.List> o) { +void checkUnnamed6460(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6391(o[0]); - checkUnnamed6391(o[1]); + checkUnnamed6459(o[0]); + checkUnnamed6459(o[1]); } core.int buildCounterGoogleApiHttpBody = 0; @@ -89,7 +149,7 @@ api.GoogleApiHttpBody buildGoogleApiHttpBody() { if (buildCounterGoogleApiHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed6392(); + o.extensions = buildUnnamed6460(); } buildCounterGoogleApiHttpBody--; return o; @@ -106,7 +166,7 @@ void checkGoogleApiHttpBody(api.GoogleApiHttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed6392(o.extensions!); + checkUnnamed6460(o.extensions!); } buildCounterGoogleApiHttpBody--; } @@ -238,7 +298,6 @@ api.GoogleCloudApigeeV1AddonsConfig buildGoogleCloudApigeeV1AddonsConfig() { buildCounterGoogleCloudApigeeV1AddonsConfig++; if (buildCounterGoogleCloudApigeeV1AddonsConfig < 3) { o.advancedApiOpsConfig = buildGoogleCloudApigeeV1AdvancedApiOpsConfig(); - o.integrationConfig = buildGoogleCloudApigeeV1IntegrationConfig(); o.monetizationConfig = buildGoogleCloudApigeeV1MonetizationConfig(); } buildCounterGoogleCloudApigeeV1AddonsConfig--; @@ -250,7 +309,6 @@ void checkGoogleCloudApigeeV1AddonsConfig( buildCounterGoogleCloudApigeeV1AddonsConfig++; if (buildCounterGoogleCloudApigeeV1AddonsConfig < 3) { checkGoogleCloudApigeeV1AdvancedApiOpsConfig(o.advancedApiOpsConfig!); - checkGoogleCloudApigeeV1IntegrationConfig(o.integrationConfig!); checkGoogleCloudApigeeV1MonetizationConfig(o.monetizationConfig!); } buildCounterGoogleCloudApigeeV1AddonsConfig--; @@ -418,12 +476,12 @@ void checkGoogleCloudApigeeV1ApiCategoryData( buildCounterGoogleCloudApigeeV1ApiCategoryData--; } -core.List buildUnnamed6393() => [ +core.List buildUnnamed6461() => [ 'foo', 'foo', ]; -void checkUnnamed6393(core.List o) { +void checkUnnamed6461(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -435,23 +493,23 @@ void checkUnnamed6393(core.List o) { ); } -core.List buildUnnamed6394() => [ +core.List buildUnnamed6462() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6394(core.List o) { +void checkUnnamed6462(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6395() => [ +core.List buildUnnamed6463() => [ 'foo', 'foo', ]; -void checkUnnamed6395(core.List o) { +void checkUnnamed6463(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -463,12 +521,12 @@ void checkUnnamed6395(core.List o) { ); } -core.List buildUnnamed6396() => [ +core.List buildUnnamed6464() => [ 'foo', 'foo', ]; -void checkUnnamed6396(core.List o) { +void checkUnnamed6464(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -480,12 +538,12 @@ void checkUnnamed6396(core.List o) { ); } -core.List buildUnnamed6397() => [ +core.List buildUnnamed6465() => [ 'foo', 'foo', ]; -void checkUnnamed6397(core.List o) { +void checkUnnamed6465(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -502,22 +560,22 @@ api.GoogleCloudApigeeV1ApiProduct buildGoogleCloudApigeeV1ApiProduct() { final o = api.GoogleCloudApigeeV1ApiProduct(); buildCounterGoogleCloudApigeeV1ApiProduct++; if (buildCounterGoogleCloudApigeeV1ApiProduct < 3) { - o.apiResources = buildUnnamed6393(); + o.apiResources = buildUnnamed6461(); o.approvalType = 'foo'; - o.attributes = buildUnnamed6394(); + o.attributes = buildUnnamed6462(); o.createdAt = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.environments = buildUnnamed6395(); + o.environments = buildUnnamed6463(); o.graphqlOperationGroup = buildGoogleCloudApigeeV1GraphQLOperationGroup(); o.lastModifiedAt = 'foo'; o.name = 'foo'; o.operationGroup = buildGoogleCloudApigeeV1OperationGroup(); - o.proxies = buildUnnamed6396(); + o.proxies = buildUnnamed6464(); o.quota = 'foo'; o.quotaInterval = 'foo'; o.quotaTimeUnit = 'foo'; - o.scopes = buildUnnamed6397(); + o.scopes = buildUnnamed6465(); } buildCounterGoogleCloudApigeeV1ApiProduct--; return o; @@ -526,12 +584,12 @@ api.GoogleCloudApigeeV1ApiProduct buildGoogleCloudApigeeV1ApiProduct() { void checkGoogleCloudApigeeV1ApiProduct(api.GoogleCloudApigeeV1ApiProduct o) { buildCounterGoogleCloudApigeeV1ApiProduct++; if (buildCounterGoogleCloudApigeeV1ApiProduct < 3) { - checkUnnamed6393(o.apiResources!); + checkUnnamed6461(o.apiResources!); unittest.expect( o.approvalType!, unittest.equals('foo'), ); - checkUnnamed6394(o.attributes!); + checkUnnamed6462(o.attributes!); unittest.expect( o.createdAt!, unittest.equals('foo'), @@ -544,7 +602,7 @@ void checkGoogleCloudApigeeV1ApiProduct(api.GoogleCloudApigeeV1ApiProduct o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6395(o.environments!); + checkUnnamed6463(o.environments!); checkGoogleCloudApigeeV1GraphQLOperationGroup(o.graphqlOperationGroup!); unittest.expect( o.lastModifiedAt!, @@ -555,7 +613,7 @@ void checkGoogleCloudApigeeV1ApiProduct(api.GoogleCloudApigeeV1ApiProduct o) { unittest.equals('foo'), ); checkGoogleCloudApigeeV1OperationGroup(o.operationGroup!); - checkUnnamed6396(o.proxies!); + checkUnnamed6464(o.proxies!); unittest.expect( o.quota!, unittest.equals('foo'), @@ -568,7 +626,7 @@ void checkGoogleCloudApigeeV1ApiProduct(api.GoogleCloudApigeeV1ApiProduct o) { o.quotaTimeUnit!, unittest.equals('foo'), ); - checkUnnamed6397(o.scopes!); + checkUnnamed6465(o.scopes!); } buildCounterGoogleCloudApigeeV1ApiProduct--; } @@ -601,12 +659,29 @@ void checkGoogleCloudApigeeV1ApiProductRef( buildCounterGoogleCloudApigeeV1ApiProductRef--; } -core.List buildUnnamed6398() => [ +core.Map buildUnnamed6466() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed6466(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.List buildUnnamed6467() => [ 'foo', 'foo', ]; -void checkUnnamed6398(core.List o) { +void checkUnnamed6467(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -623,10 +698,11 @@ api.GoogleCloudApigeeV1ApiProxy buildGoogleCloudApigeeV1ApiProxy() { final o = api.GoogleCloudApigeeV1ApiProxy(); buildCounterGoogleCloudApigeeV1ApiProxy++; if (buildCounterGoogleCloudApigeeV1ApiProxy < 3) { + o.labels = buildUnnamed6466(); o.latestRevisionId = 'foo'; o.metaData = buildGoogleCloudApigeeV1EntityMetadata(); o.name = 'foo'; - o.revision = buildUnnamed6398(); + o.revision = buildUnnamed6467(); } buildCounterGoogleCloudApigeeV1ApiProxy--; return o; @@ -635,6 +711,7 @@ api.GoogleCloudApigeeV1ApiProxy buildGoogleCloudApigeeV1ApiProxy() { void checkGoogleCloudApigeeV1ApiProxy(api.GoogleCloudApigeeV1ApiProxy o) { buildCounterGoogleCloudApigeeV1ApiProxy++; if (buildCounterGoogleCloudApigeeV1ApiProxy < 3) { + checkUnnamed6466(o.labels!); unittest.expect( o.latestRevisionId!, unittest.equals('foo'), @@ -644,17 +721,17 @@ void checkGoogleCloudApigeeV1ApiProxy(api.GoogleCloudApigeeV1ApiProxy o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6398(o.revision!); + checkUnnamed6467(o.revision!); } buildCounterGoogleCloudApigeeV1ApiProxy--; } -core.List buildUnnamed6399() => [ +core.List buildUnnamed6468() => [ 'foo', 'foo', ]; -void checkUnnamed6399(core.List o) { +void checkUnnamed6468(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -666,12 +743,12 @@ void checkUnnamed6399(core.List o) { ); } -core.Map buildUnnamed6400() => { +core.Map buildUnnamed6469() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6400(core.Map o) { +void checkUnnamed6469(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -683,12 +760,12 @@ void checkUnnamed6400(core.Map o) { ); } -core.List buildUnnamed6401() => [ +core.List buildUnnamed6470() => [ 'foo', 'foo', ]; -void checkUnnamed6401(core.List o) { +void checkUnnamed6470(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -700,12 +777,12 @@ void checkUnnamed6401(core.List o) { ); } -core.List buildUnnamed6402() => [ +core.List buildUnnamed6471() => [ 'foo', 'foo', ]; -void checkUnnamed6402(core.List o) { +void checkUnnamed6471(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -717,12 +794,12 @@ void checkUnnamed6402(core.List o) { ); } -core.List buildUnnamed6403() => [ +core.List buildUnnamed6472() => [ 'foo', 'foo', ]; -void checkUnnamed6403(core.List o) { +void checkUnnamed6472(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -734,12 +811,12 @@ void checkUnnamed6403(core.List o) { ); } -core.List buildUnnamed6404() => [ +core.List buildUnnamed6473() => [ 'foo', 'foo', ]; -void checkUnnamed6404(core.List o) { +void checkUnnamed6473(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -751,12 +828,12 @@ void checkUnnamed6404(core.List o) { ); } -core.List buildUnnamed6405() => [ +core.List buildUnnamed6474() => [ 'foo', 'foo', ]; -void checkUnnamed6405(core.List o) { +void checkUnnamed6474(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -768,12 +845,12 @@ void checkUnnamed6405(core.List o) { ); } -core.List buildUnnamed6406() => [ +core.List buildUnnamed6475() => [ 'foo', 'foo', ]; -void checkUnnamed6406(core.List o) { +void checkUnnamed6475(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -785,12 +862,12 @@ void checkUnnamed6406(core.List o) { ); } -core.List buildUnnamed6407() => [ +core.List buildUnnamed6476() => [ 'foo', 'foo', ]; -void checkUnnamed6407(core.List o) { +void checkUnnamed6476(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -802,12 +879,12 @@ void checkUnnamed6407(core.List o) { ); } -core.List buildUnnamed6408() => [ +core.List buildUnnamed6477() => [ 'foo', 'foo', ]; -void checkUnnamed6408(core.List o) { +void checkUnnamed6477(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -819,12 +896,12 @@ void checkUnnamed6408(core.List o) { ); } -core.List buildUnnamed6409() => [ +core.List buildUnnamed6478() => [ 'foo', 'foo', ]; -void checkUnnamed6409(core.List o) { +void checkUnnamed6478(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -842,27 +919,27 @@ api.GoogleCloudApigeeV1ApiProxyRevision final o = api.GoogleCloudApigeeV1ApiProxyRevision(); buildCounterGoogleCloudApigeeV1ApiProxyRevision++; if (buildCounterGoogleCloudApigeeV1ApiProxyRevision < 3) { - o.basepaths = buildUnnamed6399(); + o.basepaths = buildUnnamed6468(); o.configurationVersion = buildGoogleCloudApigeeV1ConfigVersion(); o.contextInfo = 'foo'; o.createdAt = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.entityMetaDataAsProperties = buildUnnamed6400(); + o.entityMetaDataAsProperties = buildUnnamed6469(); o.lastModifiedAt = 'foo'; o.name = 'foo'; - o.policies = buildUnnamed6401(); - o.proxies = buildUnnamed6402(); - o.proxyEndpoints = buildUnnamed6403(); + o.policies = buildUnnamed6470(); + o.proxies = buildUnnamed6471(); + o.proxyEndpoints = buildUnnamed6472(); o.resourceFiles = buildGoogleCloudApigeeV1ResourceFiles(); - o.resources = buildUnnamed6404(); + o.resources = buildUnnamed6473(); o.revision = 'foo'; - o.sharedFlows = buildUnnamed6405(); + o.sharedFlows = buildUnnamed6474(); o.spec = 'foo'; - o.targetEndpoints = buildUnnamed6406(); - o.targetServers = buildUnnamed6407(); - o.targets = buildUnnamed6408(); - o.teams = buildUnnamed6409(); + o.targetEndpoints = buildUnnamed6475(); + o.targetServers = buildUnnamed6476(); + o.targets = buildUnnamed6477(); + o.teams = buildUnnamed6478(); o.type = 'foo'; } buildCounterGoogleCloudApigeeV1ApiProxyRevision--; @@ -873,7 +950,7 @@ void checkGoogleCloudApigeeV1ApiProxyRevision( api.GoogleCloudApigeeV1ApiProxyRevision o) { buildCounterGoogleCloudApigeeV1ApiProxyRevision++; if (buildCounterGoogleCloudApigeeV1ApiProxyRevision < 3) { - checkUnnamed6399(o.basepaths!); + checkUnnamed6468(o.basepaths!); checkGoogleCloudApigeeV1ConfigVersion(o.configurationVersion!); unittest.expect( o.contextInfo!, @@ -891,7 +968,7 @@ void checkGoogleCloudApigeeV1ApiProxyRevision( o.displayName!, unittest.equals('foo'), ); - checkUnnamed6400(o.entityMetaDataAsProperties!); + checkUnnamed6469(o.entityMetaDataAsProperties!); unittest.expect( o.lastModifiedAt!, unittest.equals('foo'), @@ -900,24 +977,24 @@ void checkGoogleCloudApigeeV1ApiProxyRevision( o.name!, unittest.equals('foo'), ); - checkUnnamed6401(o.policies!); - checkUnnamed6402(o.proxies!); - checkUnnamed6403(o.proxyEndpoints!); + checkUnnamed6470(o.policies!); + checkUnnamed6471(o.proxies!); + checkUnnamed6472(o.proxyEndpoints!); checkGoogleCloudApigeeV1ResourceFiles(o.resourceFiles!); - checkUnnamed6404(o.resources!); + checkUnnamed6473(o.resources!); unittest.expect( o.revision!, unittest.equals('foo'), ); - checkUnnamed6405(o.sharedFlows!); + checkUnnamed6474(o.sharedFlows!); unittest.expect( o.spec!, unittest.equals('foo'), ); - checkUnnamed6406(o.targetEndpoints!); - checkUnnamed6407(o.targetServers!); - checkUnnamed6408(o.targets!); - checkUnnamed6409(o.teams!); + checkUnnamed6475(o.targetEndpoints!); + checkUnnamed6476(o.targetServers!); + checkUnnamed6477(o.targets!); + checkUnnamed6478(o.teams!); unittest.expect( o.type!, unittest.equals('foo'), @@ -965,45 +1042,45 @@ void checkGoogleCloudApigeeV1ApiResponseWrapper( buildCounterGoogleCloudApigeeV1ApiResponseWrapper--; } -core.List buildUnnamed6410() => [ +core.List buildUnnamed6479() => [ buildGoogleCloudApigeeV1ApiProductRef(), buildGoogleCloudApigeeV1ApiProductRef(), ]; -void checkUnnamed6410(core.List o) { +void checkUnnamed6479(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ApiProductRef(o[0]); checkGoogleCloudApigeeV1ApiProductRef(o[1]); } -core.List buildUnnamed6411() => [ +core.List buildUnnamed6480() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6411(core.List o) { +void checkUnnamed6480(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6412() => [ +core.List buildUnnamed6481() => [ buildGoogleCloudApigeeV1Credential(), buildGoogleCloudApigeeV1Credential(), ]; -void checkUnnamed6412(core.List o) { +void checkUnnamed6481(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Credential(o[0]); checkGoogleCloudApigeeV1Credential(o[1]); } -core.List buildUnnamed6413() => [ +core.List buildUnnamed6482() => [ 'foo', 'foo', ]; -void checkUnnamed6413(core.List o) { +void checkUnnamed6482(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1020,18 +1097,18 @@ api.GoogleCloudApigeeV1App buildGoogleCloudApigeeV1App() { final o = api.GoogleCloudApigeeV1App(); buildCounterGoogleCloudApigeeV1App++; if (buildCounterGoogleCloudApigeeV1App < 3) { - o.apiProducts = buildUnnamed6410(); + o.apiProducts = buildUnnamed6479(); o.appId = 'foo'; - o.attributes = buildUnnamed6411(); + o.attributes = buildUnnamed6480(); o.callbackUrl = 'foo'; o.companyName = 'foo'; o.createdAt = 'foo'; - o.credentials = buildUnnamed6412(); + o.credentials = buildUnnamed6481(); o.developerId = 'foo'; o.keyExpiresIn = 'foo'; o.lastModifiedAt = 'foo'; o.name = 'foo'; - o.scopes = buildUnnamed6413(); + o.scopes = buildUnnamed6482(); o.status = 'foo'; } buildCounterGoogleCloudApigeeV1App--; @@ -1041,12 +1118,12 @@ api.GoogleCloudApigeeV1App buildGoogleCloudApigeeV1App() { void checkGoogleCloudApigeeV1App(api.GoogleCloudApigeeV1App o) { buildCounterGoogleCloudApigeeV1App++; if (buildCounterGoogleCloudApigeeV1App < 3) { - checkUnnamed6410(o.apiProducts!); + checkUnnamed6479(o.apiProducts!); unittest.expect( o.appId!, unittest.equals('foo'), ); - checkUnnamed6411(o.attributes!); + checkUnnamed6480(o.attributes!); unittest.expect( o.callbackUrl!, unittest.equals('foo'), @@ -1059,7 +1136,7 @@ void checkGoogleCloudApigeeV1App(api.GoogleCloudApigeeV1App o) { o.createdAt!, unittest.equals('foo'), ); - checkUnnamed6412(o.credentials!); + checkUnnamed6481(o.credentials!); unittest.expect( o.developerId!, unittest.equals('foo'), @@ -1076,7 +1153,7 @@ void checkGoogleCloudApigeeV1App(api.GoogleCloudApigeeV1App o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6413(o.scopes!); + checkUnnamed6482(o.scopes!); unittest.expect( o.status!, unittest.equals('foo'), @@ -1085,6 +1162,69 @@ void checkGoogleCloudApigeeV1App(api.GoogleCloudApigeeV1App o) { buildCounterGoogleCloudApigeeV1App--; } +core.Map buildUnnamed6483() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed6483(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudApigeeV1ArchiveDeployment = 0; +api.GoogleCloudApigeeV1ArchiveDeployment + buildGoogleCloudApigeeV1ArchiveDeployment() { + final o = api.GoogleCloudApigeeV1ArchiveDeployment(); + buildCounterGoogleCloudApigeeV1ArchiveDeployment++; + if (buildCounterGoogleCloudApigeeV1ArchiveDeployment < 3) { + o.createdAt = 'foo'; + o.gcsUri = 'foo'; + o.labels = buildUnnamed6483(); + o.name = 'foo'; + o.operation = 'foo'; + o.updatedAt = 'foo'; + } + buildCounterGoogleCloudApigeeV1ArchiveDeployment--; + return o; +} + +void checkGoogleCloudApigeeV1ArchiveDeployment( + api.GoogleCloudApigeeV1ArchiveDeployment o) { + buildCounterGoogleCloudApigeeV1ArchiveDeployment++; + if (buildCounterGoogleCloudApigeeV1ArchiveDeployment < 3) { + unittest.expect( + o.createdAt!, + unittest.equals('foo'), + ); + unittest.expect( + o.gcsUri!, + unittest.equals('foo'), + ); + checkUnnamed6483(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.operation!, + unittest.equals('foo'), + ); + unittest.expect( + o.updatedAt!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudApigeeV1ArchiveDeployment--; +} + core.int buildCounterGoogleCloudApigeeV1AsyncQuery = 0; api.GoogleCloudApigeeV1AsyncQuery buildGoogleCloudApigeeV1AsyncQuery() { final o = api.GoogleCloudApigeeV1AsyncQuery(); @@ -1190,7 +1330,7 @@ void checkGoogleCloudApigeeV1AsyncQueryResult( buildCounterGoogleCloudApigeeV1AsyncQueryResult--; } -core.List buildUnnamed6414() => [ +core.List buildUnnamed6484() => [ { 'list': [1, 2, 3], 'bool': true, @@ -1203,7 +1343,7 @@ core.List buildUnnamed6414() => [ }, ]; -void checkUnnamed6414(core.List o) { +void checkUnnamed6484(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1244,7 +1384,7 @@ api.GoogleCloudApigeeV1AsyncQueryResultView o.code = 42; o.error = 'foo'; o.metadata = buildGoogleCloudApigeeV1QueryMetadata(); - o.rows = buildUnnamed6414(); + o.rows = buildUnnamed6484(); o.state = 'foo'; } buildCounterGoogleCloudApigeeV1AsyncQueryResultView--; @@ -1264,7 +1404,7 @@ void checkGoogleCloudApigeeV1AsyncQueryResultView( unittest.equals('foo'), ); checkGoogleCloudApigeeV1QueryMetadata(o.metadata!); - checkUnnamed6414(o.rows!); + checkUnnamed6484(o.rows!); unittest.expect( o.state!, unittest.equals('foo'), @@ -1300,12 +1440,12 @@ void checkGoogleCloudApigeeV1Attribute(api.GoogleCloudApigeeV1Attribute o) { buildCounterGoogleCloudApigeeV1Attribute--; } -core.List buildUnnamed6415() => [ +core.List buildUnnamed6485() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6415(core.List o) { +void checkUnnamed6485(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); @@ -1316,7 +1456,7 @@ api.GoogleCloudApigeeV1Attributes buildGoogleCloudApigeeV1Attributes() { final o = api.GoogleCloudApigeeV1Attributes(); buildCounterGoogleCloudApigeeV1Attributes++; if (buildCounterGoogleCloudApigeeV1Attributes < 3) { - o.attribute = buildUnnamed6415(); + o.attribute = buildUnnamed6485(); } buildCounterGoogleCloudApigeeV1Attributes--; return o; @@ -1325,7 +1465,7 @@ api.GoogleCloudApigeeV1Attributes buildGoogleCloudApigeeV1Attributes() { void checkGoogleCloudApigeeV1Attributes(api.GoogleCloudApigeeV1Attributes o) { buildCounterGoogleCloudApigeeV1Attributes++; if (buildCounterGoogleCloudApigeeV1Attributes < 3) { - checkUnnamed6415(o.attribute!); + checkUnnamed6485(o.attribute!); } buildCounterGoogleCloudApigeeV1Attributes--; } @@ -1425,12 +1565,12 @@ void checkGoogleCloudApigeeV1CanaryEvaluationMetricLabels( buildCounterGoogleCloudApigeeV1CanaryEvaluationMetricLabels--; } -core.List buildUnnamed6416() => [ +core.List buildUnnamed6486() => [ 'foo', 'foo', ]; -void checkUnnamed6416(core.List o) { +void checkUnnamed6486(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1455,7 +1595,7 @@ api.GoogleCloudApigeeV1CertInfo buildGoogleCloudApigeeV1CertInfo() { o.serialNumber = 'foo'; o.sigAlgName = 'foo'; o.subject = 'foo'; - o.subjectAlternativeNames = buildUnnamed6416(); + o.subjectAlternativeNames = buildUnnamed6486(); o.validFrom = 'foo'; o.version = 42; } @@ -1498,7 +1638,7 @@ void checkGoogleCloudApigeeV1CertInfo(api.GoogleCloudApigeeV1CertInfo o) { o.subject!, unittest.equals('foo'), ); - checkUnnamed6416(o.subjectAlternativeNames!); + checkUnnamed6486(o.subjectAlternativeNames!); unittest.expect( o.validFrom!, unittest.equals('foo'), @@ -1511,12 +1651,12 @@ void checkGoogleCloudApigeeV1CertInfo(api.GoogleCloudApigeeV1CertInfo o) { buildCounterGoogleCloudApigeeV1CertInfo--; } -core.List buildUnnamed6417() => [ +core.List buildUnnamed6487() => [ buildGoogleCloudApigeeV1CertInfo(), buildGoogleCloudApigeeV1CertInfo(), ]; -void checkUnnamed6417(core.List o) { +void checkUnnamed6487(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1CertInfo(o[0]); checkGoogleCloudApigeeV1CertInfo(o[1]); @@ -1527,7 +1667,7 @@ api.GoogleCloudApigeeV1Certificate buildGoogleCloudApigeeV1Certificate() { final o = api.GoogleCloudApigeeV1Certificate(); buildCounterGoogleCloudApigeeV1Certificate++; if (buildCounterGoogleCloudApigeeV1Certificate < 3) { - o.certInfo = buildUnnamed6417(); + o.certInfo = buildUnnamed6487(); } buildCounterGoogleCloudApigeeV1Certificate--; return o; @@ -1536,7 +1676,7 @@ api.GoogleCloudApigeeV1Certificate buildGoogleCloudApigeeV1Certificate() { void checkGoogleCloudApigeeV1Certificate(api.GoogleCloudApigeeV1Certificate o) { buildCounterGoogleCloudApigeeV1Certificate++; if (buildCounterGoogleCloudApigeeV1Certificate < 3) { - checkUnnamed6417(o.certInfo!); + checkUnnamed6487(o.certInfo!); } buildCounterGoogleCloudApigeeV1Certificate--; } @@ -1595,34 +1735,34 @@ void checkGoogleCloudApigeeV1ConfigVersion( buildCounterGoogleCloudApigeeV1ConfigVersion--; } -core.List buildUnnamed6418() => [ +core.List buildUnnamed6488() => [ buildGoogleCloudApigeeV1ApiProductRef(), buildGoogleCloudApigeeV1ApiProductRef(), ]; -void checkUnnamed6418(core.List o) { +void checkUnnamed6488(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ApiProductRef(o[0]); checkGoogleCloudApigeeV1ApiProductRef(o[1]); } -core.List buildUnnamed6419() => [ +core.List buildUnnamed6489() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6419(core.List o) { +void checkUnnamed6489(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6420() => [ +core.List buildUnnamed6490() => [ 'foo', 'foo', ]; -void checkUnnamed6420(core.List o) { +void checkUnnamed6490(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1639,13 +1779,13 @@ api.GoogleCloudApigeeV1Credential buildGoogleCloudApigeeV1Credential() { final o = api.GoogleCloudApigeeV1Credential(); buildCounterGoogleCloudApigeeV1Credential++; if (buildCounterGoogleCloudApigeeV1Credential < 3) { - o.apiProducts = buildUnnamed6418(); - o.attributes = buildUnnamed6419(); + o.apiProducts = buildUnnamed6488(); + o.attributes = buildUnnamed6489(); o.consumerKey = 'foo'; o.consumerSecret = 'foo'; o.expiresAt = 'foo'; o.issuedAt = 'foo'; - o.scopes = buildUnnamed6420(); + o.scopes = buildUnnamed6490(); o.status = 'foo'; } buildCounterGoogleCloudApigeeV1Credential--; @@ -1655,8 +1795,8 @@ api.GoogleCloudApigeeV1Credential buildGoogleCloudApigeeV1Credential() { void checkGoogleCloudApigeeV1Credential(api.GoogleCloudApigeeV1Credential o) { buildCounterGoogleCloudApigeeV1Credential++; if (buildCounterGoogleCloudApigeeV1Credential < 3) { - checkUnnamed6418(o.apiProducts!); - checkUnnamed6419(o.attributes!); + checkUnnamed6488(o.apiProducts!); + checkUnnamed6489(o.attributes!); unittest.expect( o.consumerKey!, unittest.equals('foo'), @@ -1673,7 +1813,7 @@ void checkGoogleCloudApigeeV1Credential(api.GoogleCloudApigeeV1Credential o) { o.issuedAt!, unittest.equals('foo'), ); - checkUnnamed6420(o.scopes!); + checkUnnamed6490(o.scopes!); unittest.expect( o.status!, unittest.equals('foo'), @@ -1682,12 +1822,12 @@ void checkGoogleCloudApigeeV1Credential(api.GoogleCloudApigeeV1Credential o) { buildCounterGoogleCloudApigeeV1Credential--; } -core.List buildUnnamed6421() => [ +core.List buildUnnamed6491() => [ 'foo', 'foo', ]; -void checkUnnamed6421(core.List o) { +void checkUnnamed6491(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1699,12 +1839,12 @@ void checkUnnamed6421(core.List o) { ); } -core.List buildUnnamed6422() => [ +core.List buildUnnamed6492() => [ 'foo', 'foo', ]; -void checkUnnamed6422(core.List o) { +void checkUnnamed6492(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1716,34 +1856,34 @@ void checkUnnamed6422(core.List o) { ); } -core.List buildUnnamed6423() => [ +core.List buildUnnamed6493() => [ buildGoogleCloudApigeeV1CustomReportMetric(), buildGoogleCloudApigeeV1CustomReportMetric(), ]; -void checkUnnamed6423(core.List o) { +void checkUnnamed6493(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1CustomReportMetric(o[0]); checkGoogleCloudApigeeV1CustomReportMetric(o[1]); } -core.List buildUnnamed6424() => [ +core.List buildUnnamed6494() => [ buildGoogleCloudApigeeV1ReportProperty(), buildGoogleCloudApigeeV1ReportProperty(), ]; -void checkUnnamed6424(core.List o) { +void checkUnnamed6494(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ReportProperty(o[0]); checkGoogleCloudApigeeV1ReportProperty(o[1]); } -core.List buildUnnamed6425() => [ +core.List buildUnnamed6495() => [ 'foo', 'foo', ]; -void checkUnnamed6425(core.List o) { +void checkUnnamed6495(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1755,12 +1895,12 @@ void checkUnnamed6425(core.List o) { ); } -core.List buildUnnamed6426() => [ +core.List buildUnnamed6496() => [ 'foo', 'foo', ]; -void checkUnnamed6426(core.List o) { +void checkUnnamed6496(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1778,9 +1918,9 @@ api.GoogleCloudApigeeV1CustomReport buildGoogleCloudApigeeV1CustomReport() { buildCounterGoogleCloudApigeeV1CustomReport++; if (buildCounterGoogleCloudApigeeV1CustomReport < 3) { o.chartType = 'foo'; - o.comments = buildUnnamed6421(); + o.comments = buildUnnamed6491(); o.createdAt = 'foo'; - o.dimensions = buildUnnamed6422(); + o.dimensions = buildUnnamed6492(); o.displayName = 'foo'; o.environment = 'foo'; o.filter = 'foo'; @@ -1788,14 +1928,14 @@ api.GoogleCloudApigeeV1CustomReport buildGoogleCloudApigeeV1CustomReport() { o.lastModifiedAt = 'foo'; o.lastViewedAt = 'foo'; o.limit = 'foo'; - o.metrics = buildUnnamed6423(); + o.metrics = buildUnnamed6493(); o.name = 'foo'; o.offset = 'foo'; o.organization = 'foo'; - o.properties = buildUnnamed6424(); - o.sortByCols = buildUnnamed6425(); + o.properties = buildUnnamed6494(); + o.sortByCols = buildUnnamed6495(); o.sortOrder = 'foo'; - o.tags = buildUnnamed6426(); + o.tags = buildUnnamed6496(); o.timeUnit = 'foo'; o.toTime = 'foo'; o.topk = 'foo'; @@ -1812,12 +1952,12 @@ void checkGoogleCloudApigeeV1CustomReport( o.chartType!, unittest.equals('foo'), ); - checkUnnamed6421(o.comments!); + checkUnnamed6491(o.comments!); unittest.expect( o.createdAt!, unittest.equals('foo'), ); - checkUnnamed6422(o.dimensions!); + checkUnnamed6492(o.dimensions!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -1846,7 +1986,7 @@ void checkGoogleCloudApigeeV1CustomReport( o.limit!, unittest.equals('foo'), ); - checkUnnamed6423(o.metrics!); + checkUnnamed6493(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1859,13 +1999,13 @@ void checkGoogleCloudApigeeV1CustomReport( o.organization!, unittest.equals('foo'), ); - checkUnnamed6424(o.properties!); - checkUnnamed6425(o.sortByCols!); + checkUnnamed6494(o.properties!); + checkUnnamed6495(o.sortByCols!); unittest.expect( o.sortOrder!, unittest.equals('foo'), ); - checkUnnamed6426(o.tags!); + checkUnnamed6496(o.tags!); unittest.expect( o.timeUnit!, unittest.equals('foo'), @@ -2103,12 +2243,12 @@ void checkGoogleCloudApigeeV1DateRange(api.GoogleCloudApigeeV1DateRange o) { buildCounterGoogleCloudApigeeV1DateRange--; } -core.List buildUnnamed6427() => [ +core.List buildUnnamed6497() => [ 'foo', 'foo', ]; -void checkUnnamed6427(core.List o) { +void checkUnnamed6497(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2120,12 +2260,12 @@ void checkUnnamed6427(core.List o) { ); } -core.List buildUnnamed6428() => [ +core.List buildUnnamed6498() => [ 'foo', 'foo', ]; -void checkUnnamed6428(core.List o) { +void checkUnnamed6498(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2137,12 +2277,12 @@ void checkUnnamed6428(core.List o) { ); } -core.Map buildUnnamed6429() => { +core.Map buildUnnamed6499() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6429(core.Map o) { +void checkUnnamed6499(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2154,12 +2294,12 @@ void checkUnnamed6429(core.Map o) { ); } -core.List buildUnnamed6430() => [ +core.List buildUnnamed6500() => [ 'foo', 'foo', ]; -void checkUnnamed6430(core.List o) { +void checkUnnamed6500(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2171,12 +2311,12 @@ void checkUnnamed6430(core.List o) { ); } -core.List buildUnnamed6431() => [ +core.List buildUnnamed6501() => [ 'foo', 'foo', ]; -void checkUnnamed6431(core.List o) { +void checkUnnamed6501(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2188,12 +2328,12 @@ void checkUnnamed6431(core.List o) { ); } -core.List buildUnnamed6432() => [ +core.List buildUnnamed6502() => [ 'foo', 'foo', ]; -void checkUnnamed6432(core.List o) { +void checkUnnamed6502(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2205,12 +2345,12 @@ void checkUnnamed6432(core.List o) { ); } -core.List buildUnnamed6433() => [ +core.List buildUnnamed6503() => [ 'foo', 'foo', ]; -void checkUnnamed6433(core.List o) { +void checkUnnamed6503(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2222,12 +2362,12 @@ void checkUnnamed6433(core.List o) { ); } -core.List buildUnnamed6434() => [ +core.List buildUnnamed6504() => [ 'foo', 'foo', ]; -void checkUnnamed6434(core.List o) { +void checkUnnamed6504(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2244,15 +2384,15 @@ api.GoogleCloudApigeeV1DebugMask buildGoogleCloudApigeeV1DebugMask() { final o = api.GoogleCloudApigeeV1DebugMask(); buildCounterGoogleCloudApigeeV1DebugMask++; if (buildCounterGoogleCloudApigeeV1DebugMask < 3) { - o.faultJSONPaths = buildUnnamed6427(); - o.faultXPaths = buildUnnamed6428(); + o.faultJSONPaths = buildUnnamed6497(); + o.faultXPaths = buildUnnamed6498(); o.name = 'foo'; - o.namespaces = buildUnnamed6429(); - o.requestJSONPaths = buildUnnamed6430(); - o.requestXPaths = buildUnnamed6431(); - o.responseJSONPaths = buildUnnamed6432(); - o.responseXPaths = buildUnnamed6433(); - o.variables = buildUnnamed6434(); + o.namespaces = buildUnnamed6499(); + o.requestJSONPaths = buildUnnamed6500(); + o.requestXPaths = buildUnnamed6501(); + o.responseJSONPaths = buildUnnamed6502(); + o.responseXPaths = buildUnnamed6503(); + o.variables = buildUnnamed6504(); } buildCounterGoogleCloudApigeeV1DebugMask--; return o; @@ -2261,18 +2401,18 @@ api.GoogleCloudApigeeV1DebugMask buildGoogleCloudApigeeV1DebugMask() { void checkGoogleCloudApigeeV1DebugMask(api.GoogleCloudApigeeV1DebugMask o) { buildCounterGoogleCloudApigeeV1DebugMask++; if (buildCounterGoogleCloudApigeeV1DebugMask < 3) { - checkUnnamed6427(o.faultJSONPaths!); - checkUnnamed6428(o.faultXPaths!); + checkUnnamed6497(o.faultJSONPaths!); + checkUnnamed6498(o.faultXPaths!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6429(o.namespaces!); - checkUnnamed6430(o.requestJSONPaths!); - checkUnnamed6431(o.requestXPaths!); - checkUnnamed6432(o.responseJSONPaths!); - checkUnnamed6433(o.responseXPaths!); - checkUnnamed6434(o.variables!); + checkUnnamed6499(o.namespaces!); + checkUnnamed6500(o.requestJSONPaths!); + checkUnnamed6501(o.requestXPaths!); + checkUnnamed6502(o.responseJSONPaths!); + checkUnnamed6503(o.responseXPaths!); + checkUnnamed6504(o.variables!); } buildCounterGoogleCloudApigeeV1DebugMask--; } @@ -2325,12 +2465,12 @@ void checkGoogleCloudApigeeV1DebugSession( buildCounterGoogleCloudApigeeV1DebugSession--; } -core.List buildUnnamed6435() => [ +core.List buildUnnamed6505() => [ buildGoogleCloudApigeeV1Point(), buildGoogleCloudApigeeV1Point(), ]; -void checkUnnamed6435(core.List o) { +void checkUnnamed6505(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Point(o[0]); checkGoogleCloudApigeeV1Point(o[1]); @@ -2343,7 +2483,7 @@ api.GoogleCloudApigeeV1DebugSessionTransaction buildCounterGoogleCloudApigeeV1DebugSessionTransaction++; if (buildCounterGoogleCloudApigeeV1DebugSessionTransaction < 3) { o.completed = true; - o.point = buildUnnamed6435(); + o.point = buildUnnamed6505(); } buildCounterGoogleCloudApigeeV1DebugSessionTransaction--; return o; @@ -2354,7 +2494,7 @@ void checkGoogleCloudApigeeV1DebugSessionTransaction( buildCounterGoogleCloudApigeeV1DebugSessionTransaction++; if (buildCounterGoogleCloudApigeeV1DebugSessionTransaction < 3) { unittest.expect(o.completed!, unittest.isTrue); - checkUnnamed6435(o.point!); + checkUnnamed6505(o.point!); } buildCounterGoogleCloudApigeeV1DebugSessionTransaction--; } @@ -2383,48 +2523,48 @@ void checkGoogleCloudApigeeV1DeleteCustomReportResponse( buildCounterGoogleCloudApigeeV1DeleteCustomReportResponse--; } -core.List buildUnnamed6436() => [ +core.List buildUnnamed6506() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed6436(core.List o) { +void checkUnnamed6506(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); } -core.List buildUnnamed6437() => +core.List buildUnnamed6507() => [ buildGoogleCloudApigeeV1InstanceDeploymentStatus(), buildGoogleCloudApigeeV1InstanceDeploymentStatus(), ]; -void checkUnnamed6437( +void checkUnnamed6507( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1InstanceDeploymentStatus(o[0]); checkGoogleCloudApigeeV1InstanceDeploymentStatus(o[1]); } -core.List buildUnnamed6438() => [ +core.List buildUnnamed6508() => [ buildGoogleCloudApigeeV1PodStatus(), buildGoogleCloudApigeeV1PodStatus(), ]; -void checkUnnamed6438(core.List o) { +void checkUnnamed6508(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1PodStatus(o[0]); checkGoogleCloudApigeeV1PodStatus(o[1]); } core.List - buildUnnamed6439() => [ + buildUnnamed6509() => [ buildGoogleCloudApigeeV1DeploymentChangeReportRoutingConflict(), buildGoogleCloudApigeeV1DeploymentChangeReportRoutingConflict(), ]; -void checkUnnamed6439( +void checkUnnamed6509( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DeploymentChangeReportRoutingConflict(o[0]); @@ -2439,11 +2579,12 @@ api.GoogleCloudApigeeV1Deployment buildGoogleCloudApigeeV1Deployment() { o.apiProxy = 'foo'; o.deployStartTime = 'foo'; o.environment = 'foo'; - o.errors = buildUnnamed6436(); - o.instances = buildUnnamed6437(); - o.pods = buildUnnamed6438(); + o.errors = buildUnnamed6506(); + o.instances = buildUnnamed6507(); + o.pods = buildUnnamed6508(); o.revision = 'foo'; - o.routeConflicts = buildUnnamed6439(); + o.routeConflicts = buildUnnamed6509(); + o.serviceAccount = 'foo'; o.state = 'foo'; } buildCounterGoogleCloudApigeeV1Deployment--; @@ -2465,14 +2606,18 @@ void checkGoogleCloudApigeeV1Deployment(api.GoogleCloudApigeeV1Deployment o) { o.environment!, unittest.equals('foo'), ); - checkUnnamed6436(o.errors!); - checkUnnamed6437(o.instances!); - checkUnnamed6438(o.pods!); + checkUnnamed6506(o.errors!); + checkUnnamed6507(o.instances!); + checkUnnamed6508(o.pods!); unittest.expect( o.revision!, unittest.equals('foo'), ); - checkUnnamed6439(o.routeConflicts!); + checkUnnamed6509(o.routeConflicts!); + unittest.expect( + o.serviceAccount!, + unittest.equals('foo'), + ); unittest.expect( o.state!, unittest.equals('foo'), @@ -2482,12 +2627,12 @@ void checkGoogleCloudApigeeV1Deployment(api.GoogleCloudApigeeV1Deployment o) { } core.List - buildUnnamed6440() => [ + buildUnnamed6510() => [ buildGoogleCloudApigeeV1DeploymentChangeReportRoutingChange(), buildGoogleCloudApigeeV1DeploymentChangeReportRoutingChange(), ]; -void checkUnnamed6440( +void checkUnnamed6510( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DeploymentChangeReportRoutingChange(o[0]); @@ -2495,12 +2640,12 @@ void checkUnnamed6440( } core.List - buildUnnamed6441() => [ + buildUnnamed6511() => [ buildGoogleCloudApigeeV1DeploymentChangeReportRoutingConflict(), buildGoogleCloudApigeeV1DeploymentChangeReportRoutingConflict(), ]; -void checkUnnamed6441( +void checkUnnamed6511( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DeploymentChangeReportRoutingConflict(o[0]); @@ -2513,8 +2658,8 @@ api.GoogleCloudApigeeV1DeploymentChangeReport final o = api.GoogleCloudApigeeV1DeploymentChangeReport(); buildCounterGoogleCloudApigeeV1DeploymentChangeReport++; if (buildCounterGoogleCloudApigeeV1DeploymentChangeReport < 3) { - o.routingChanges = buildUnnamed6440(); - o.routingConflicts = buildUnnamed6441(); + o.routingChanges = buildUnnamed6510(); + o.routingConflicts = buildUnnamed6511(); o.validationErrors = buildGoogleRpcPreconditionFailure(); } buildCounterGoogleCloudApigeeV1DeploymentChangeReport--; @@ -2525,8 +2670,8 @@ void checkGoogleCloudApigeeV1DeploymentChangeReport( api.GoogleCloudApigeeV1DeploymentChangeReport o) { buildCounterGoogleCloudApigeeV1DeploymentChangeReport++; if (buildCounterGoogleCloudApigeeV1DeploymentChangeReport < 3) { - checkUnnamed6440(o.routingChanges!); - checkUnnamed6441(o.routingConflicts!); + checkUnnamed6510(o.routingChanges!); + checkUnnamed6511(o.routingConflicts!); checkGoogleRpcPreconditionFailure(o.validationErrors!); } buildCounterGoogleCloudApigeeV1DeploymentChangeReport--; @@ -2649,12 +2794,12 @@ void checkGoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment( buildCounterGoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment--; } -core.Map buildUnnamed6442() => { +core.Map buildUnnamed6512() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6442(core.Map o) { +void checkUnnamed6512(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2672,7 +2817,7 @@ api.GoogleCloudApigeeV1DeploymentConfig final o = api.GoogleCloudApigeeV1DeploymentConfig(); buildCounterGoogleCloudApigeeV1DeploymentConfig++; if (buildCounterGoogleCloudApigeeV1DeploymentConfig < 3) { - o.attributes = buildUnnamed6442(); + o.attributes = buildUnnamed6512(); o.basePath = 'foo'; o.location = 'foo'; o.name = 'foo'; @@ -2688,7 +2833,7 @@ void checkGoogleCloudApigeeV1DeploymentConfig( api.GoogleCloudApigeeV1DeploymentConfig o) { buildCounterGoogleCloudApigeeV1DeploymentConfig++; if (buildCounterGoogleCloudApigeeV1DeploymentConfig < 3) { - checkUnnamed6442(o.attributes!); + checkUnnamed6512(o.attributes!); unittest.expect( o.basePath!, unittest.equals('foo'), @@ -2717,12 +2862,12 @@ void checkGoogleCloudApigeeV1DeploymentConfig( buildCounterGoogleCloudApigeeV1DeploymentConfig--; } -core.List buildUnnamed6443() => [ +core.List buildUnnamed6513() => [ 'foo', 'foo', ]; -void checkUnnamed6443(core.List o) { +void checkUnnamed6513(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2734,23 +2879,23 @@ void checkUnnamed6443(core.List o) { ); } -core.List buildUnnamed6444() => [ +core.List buildUnnamed6514() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6444(core.List o) { +void checkUnnamed6514(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6445() => [ +core.List buildUnnamed6515() => [ 'foo', 'foo', ]; -void checkUnnamed6445(core.List o) { +void checkUnnamed6515(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2769,9 +2914,9 @@ api.GoogleCloudApigeeV1Developer buildGoogleCloudApigeeV1Developer() { if (buildCounterGoogleCloudApigeeV1Developer < 3) { o.accessType = 'foo'; o.appFamily = 'foo'; - o.apps = buildUnnamed6443(); - o.attributes = buildUnnamed6444(); - o.companies = buildUnnamed6445(); + o.apps = buildUnnamed6513(); + o.attributes = buildUnnamed6514(); + o.companies = buildUnnamed6515(); o.createdAt = 'foo'; o.developerId = 'foo'; o.email = 'foo'; @@ -2797,9 +2942,9 @@ void checkGoogleCloudApigeeV1Developer(api.GoogleCloudApigeeV1Developer o) { o.appFamily!, unittest.equals('foo'), ); - checkUnnamed6443(o.apps!); - checkUnnamed6444(o.attributes!); - checkUnnamed6445(o.companies!); + checkUnnamed6513(o.apps!); + checkUnnamed6514(o.attributes!); + checkUnnamed6515(o.companies!); unittest.expect( o.createdAt!, unittest.equals('foo'), @@ -2840,12 +2985,12 @@ void checkGoogleCloudApigeeV1Developer(api.GoogleCloudApigeeV1Developer o) { buildCounterGoogleCloudApigeeV1Developer--; } -core.List buildUnnamed6446() => [ +core.List buildUnnamed6516() => [ 'foo', 'foo', ]; -void checkUnnamed6446(core.List o) { +void checkUnnamed6516(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2857,34 +3002,34 @@ void checkUnnamed6446(core.List o) { ); } -core.List buildUnnamed6447() => [ +core.List buildUnnamed6517() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6447(core.List o) { +void checkUnnamed6517(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6448() => [ +core.List buildUnnamed6518() => [ buildGoogleCloudApigeeV1Credential(), buildGoogleCloudApigeeV1Credential(), ]; -void checkUnnamed6448(core.List o) { +void checkUnnamed6518(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Credential(o[0]); checkGoogleCloudApigeeV1Credential(o[1]); } -core.List buildUnnamed6449() => [ +core.List buildUnnamed6519() => [ 'foo', 'foo', ]; -void checkUnnamed6449(core.List o) { +void checkUnnamed6519(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2901,18 +3046,18 @@ api.GoogleCloudApigeeV1DeveloperApp buildGoogleCloudApigeeV1DeveloperApp() { final o = api.GoogleCloudApigeeV1DeveloperApp(); buildCounterGoogleCloudApigeeV1DeveloperApp++; if (buildCounterGoogleCloudApigeeV1DeveloperApp < 3) { - o.apiProducts = buildUnnamed6446(); + o.apiProducts = buildUnnamed6516(); o.appFamily = 'foo'; o.appId = 'foo'; - o.attributes = buildUnnamed6447(); + o.attributes = buildUnnamed6517(); o.callbackUrl = 'foo'; o.createdAt = 'foo'; - o.credentials = buildUnnamed6448(); + o.credentials = buildUnnamed6518(); o.developerId = 'foo'; o.keyExpiresIn = 'foo'; o.lastModifiedAt = 'foo'; o.name = 'foo'; - o.scopes = buildUnnamed6449(); + o.scopes = buildUnnamed6519(); o.status = 'foo'; } buildCounterGoogleCloudApigeeV1DeveloperApp--; @@ -2923,7 +3068,7 @@ void checkGoogleCloudApigeeV1DeveloperApp( api.GoogleCloudApigeeV1DeveloperApp o) { buildCounterGoogleCloudApigeeV1DeveloperApp++; if (buildCounterGoogleCloudApigeeV1DeveloperApp < 3) { - checkUnnamed6446(o.apiProducts!); + checkUnnamed6516(o.apiProducts!); unittest.expect( o.appFamily!, unittest.equals('foo'), @@ -2932,7 +3077,7 @@ void checkGoogleCloudApigeeV1DeveloperApp( o.appId!, unittest.equals('foo'), ); - checkUnnamed6447(o.attributes!); + checkUnnamed6517(o.attributes!); unittest.expect( o.callbackUrl!, unittest.equals('foo'), @@ -2941,7 +3086,7 @@ void checkGoogleCloudApigeeV1DeveloperApp( o.createdAt!, unittest.equals('foo'), ); - checkUnnamed6448(o.credentials!); + checkUnnamed6518(o.credentials!); unittest.expect( o.developerId!, unittest.equals('foo'), @@ -2958,7 +3103,7 @@ void checkGoogleCloudApigeeV1DeveloperApp( o.name!, unittest.equals('foo'), ); - checkUnnamed6449(o.scopes!); + checkUnnamed6519(o.scopes!); unittest.expect( o.status!, unittest.equals('foo'), @@ -2967,7 +3112,7 @@ void checkGoogleCloudApigeeV1DeveloperApp( buildCounterGoogleCloudApigeeV1DeveloperApp--; } -core.List buildUnnamed6450() => [ +core.List buildUnnamed6520() => [ { 'list': [1, 2, 3], 'bool': true, @@ -2980,7 +3125,7 @@ core.List buildUnnamed6450() => [ }, ]; -void checkUnnamed6450(core.List o) { +void checkUnnamed6520(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -3012,23 +3157,23 @@ void checkUnnamed6450(core.List o) { ); } -core.List buildUnnamed6451() => [ +core.List buildUnnamed6521() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6451(core.List o) { +void checkUnnamed6521(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6452() => [ +core.List buildUnnamed6522() => [ 'foo', 'foo', ]; -void checkUnnamed6452(core.List o) { +void checkUnnamed6522(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3046,14 +3191,14 @@ api.GoogleCloudApigeeV1DeveloperAppKey final o = api.GoogleCloudApigeeV1DeveloperAppKey(); buildCounterGoogleCloudApigeeV1DeveloperAppKey++; if (buildCounterGoogleCloudApigeeV1DeveloperAppKey < 3) { - o.apiProducts = buildUnnamed6450(); - o.attributes = buildUnnamed6451(); + o.apiProducts = buildUnnamed6520(); + o.attributes = buildUnnamed6521(); o.consumerKey = 'foo'; o.consumerSecret = 'foo'; o.expiresAt = 'foo'; o.expiresInSeconds = 'foo'; o.issuedAt = 'foo'; - o.scopes = buildUnnamed6452(); + o.scopes = buildUnnamed6522(); o.status = 'foo'; } buildCounterGoogleCloudApigeeV1DeveloperAppKey--; @@ -3064,8 +3209,8 @@ void checkGoogleCloudApigeeV1DeveloperAppKey( api.GoogleCloudApigeeV1DeveloperAppKey o) { buildCounterGoogleCloudApigeeV1DeveloperAppKey++; if (buildCounterGoogleCloudApigeeV1DeveloperAppKey < 3) { - checkUnnamed6450(o.apiProducts!); - checkUnnamed6451(o.attributes!); + checkUnnamed6520(o.apiProducts!); + checkUnnamed6521(o.attributes!); unittest.expect( o.consumerKey!, unittest.equals('foo'), @@ -3086,7 +3231,7 @@ void checkGoogleCloudApigeeV1DeveloperAppKey( o.issuedAt!, unittest.equals('foo'), ); - checkUnnamed6452(o.scopes!); + checkUnnamed6522(o.scopes!); unittest.expect( o.status!, unittest.equals('foo'), @@ -3144,12 +3289,12 @@ void checkGoogleCloudApigeeV1DeveloperSubscription( buildCounterGoogleCloudApigeeV1DeveloperSubscription--; } -core.List buildUnnamed6453() => [ +core.List buildUnnamed6523() => [ buildGoogleCloudApigeeV1Metric(), buildGoogleCloudApigeeV1Metric(), ]; -void checkUnnamed6453(core.List o) { +void checkUnnamed6523(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Metric(o[0]); checkGoogleCloudApigeeV1Metric(o[1]); @@ -3161,7 +3306,7 @@ api.GoogleCloudApigeeV1DimensionMetric final o = api.GoogleCloudApigeeV1DimensionMetric(); buildCounterGoogleCloudApigeeV1DimensionMetric++; if (buildCounterGoogleCloudApigeeV1DimensionMetric < 3) { - o.metrics = buildUnnamed6453(); + o.metrics = buildUnnamed6523(); o.name = 'foo'; } buildCounterGoogleCloudApigeeV1DimensionMetric--; @@ -3172,7 +3317,7 @@ void checkGoogleCloudApigeeV1DimensionMetric( api.GoogleCloudApigeeV1DimensionMetric o) { buildCounterGoogleCloudApigeeV1DimensionMetric++; if (buildCounterGoogleCloudApigeeV1DimensionMetric < 3) { - checkUnnamed6453(o.metrics!); + checkUnnamed6523(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3219,7 +3364,9 @@ api.GoogleCloudApigeeV1Environment buildGoogleCloudApigeeV1Environment() { final o = api.GoogleCloudApigeeV1Environment(); buildCounterGoogleCloudApigeeV1Environment++; if (buildCounterGoogleCloudApigeeV1Environment < 3) { + o.apiProxyType = 'foo'; o.createdAt = 'foo'; + o.deploymentType = 'foo'; o.description = 'foo'; o.displayName = 'foo'; o.lastModifiedAt = 'foo'; @@ -3234,10 +3381,18 @@ api.GoogleCloudApigeeV1Environment buildGoogleCloudApigeeV1Environment() { void checkGoogleCloudApigeeV1Environment(api.GoogleCloudApigeeV1Environment o) { buildCounterGoogleCloudApigeeV1Environment++; if (buildCounterGoogleCloudApigeeV1Environment < 3) { + unittest.expect( + o.apiProxyType!, + unittest.equals('foo'), + ); unittest.expect( o.createdAt!, unittest.equals('foo'), ); + unittest.expect( + o.deploymentType!, + unittest.equals('foo'), + ); unittest.expect( o.description!, unittest.equals('foo'), @@ -3263,34 +3418,34 @@ void checkGoogleCloudApigeeV1Environment(api.GoogleCloudApigeeV1Environment o) { buildCounterGoogleCloudApigeeV1Environment--; } -core.List buildUnnamed6454() => [ +core.List buildUnnamed6524() => [ buildGoogleCloudApigeeV1DataCollectorConfig(), buildGoogleCloudApigeeV1DataCollectorConfig(), ]; -void checkUnnamed6454(core.List o) { +void checkUnnamed6524(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DataCollectorConfig(o[0]); checkGoogleCloudApigeeV1DataCollectorConfig(o[1]); } -core.List buildUnnamed6455() => [ +core.List buildUnnamed6525() => [ buildGoogleCloudApigeeV1DeploymentConfig(), buildGoogleCloudApigeeV1DeploymentConfig(), ]; -void checkUnnamed6455(core.List o) { +void checkUnnamed6525(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DeploymentConfig(o[0]); checkGoogleCloudApigeeV1DeploymentConfig(o[1]); } -core.Map buildUnnamed6456() => { +core.Map buildUnnamed6526() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6456(core.Map o) { +void checkUnnamed6526(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3302,56 +3457,56 @@ void checkUnnamed6456(core.Map o) { ); } -core.List buildUnnamed6457() => [ +core.List buildUnnamed6527() => [ buildGoogleCloudApigeeV1FlowHookConfig(), buildGoogleCloudApigeeV1FlowHookConfig(), ]; -void checkUnnamed6457(core.List o) { +void checkUnnamed6527(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1FlowHookConfig(o[0]); checkGoogleCloudApigeeV1FlowHookConfig(o[1]); } -core.List buildUnnamed6458() => [ +core.List buildUnnamed6528() => [ buildGoogleCloudApigeeV1KeystoreConfig(), buildGoogleCloudApigeeV1KeystoreConfig(), ]; -void checkUnnamed6458(core.List o) { +void checkUnnamed6528(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1KeystoreConfig(o[0]); checkGoogleCloudApigeeV1KeystoreConfig(o[1]); } -core.List buildUnnamed6459() => [ +core.List buildUnnamed6529() => [ buildGoogleCloudApigeeV1ReferenceConfig(), buildGoogleCloudApigeeV1ReferenceConfig(), ]; -void checkUnnamed6459(core.List o) { +void checkUnnamed6529(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ReferenceConfig(o[0]); checkGoogleCloudApigeeV1ReferenceConfig(o[1]); } -core.List buildUnnamed6460() => [ +core.List buildUnnamed6530() => [ buildGoogleCloudApigeeV1ResourceConfig(), buildGoogleCloudApigeeV1ResourceConfig(), ]; -void checkUnnamed6460(core.List o) { +void checkUnnamed6530(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ResourceConfig(o[0]); checkGoogleCloudApigeeV1ResourceConfig(o[1]); } -core.List buildUnnamed6461() => [ +core.List buildUnnamed6531() => [ buildGoogleCloudApigeeV1TargetServerConfig(), buildGoogleCloudApigeeV1TargetServerConfig(), ]; -void checkUnnamed6461(core.List o) { +void checkUnnamed6531(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1TargetServerConfig(o[0]); checkGoogleCloudApigeeV1TargetServerConfig(o[1]); @@ -3363,21 +3518,23 @@ api.GoogleCloudApigeeV1EnvironmentConfig final o = api.GoogleCloudApigeeV1EnvironmentConfig(); buildCounterGoogleCloudApigeeV1EnvironmentConfig++; if (buildCounterGoogleCloudApigeeV1EnvironmentConfig < 3) { + o.arcConfigLocation = 'foo'; o.createTime = 'foo'; - o.dataCollectors = buildUnnamed6454(); + o.dataCollectors = buildUnnamed6524(); o.debugMask = buildGoogleCloudApigeeV1DebugMask(); - o.deployments = buildUnnamed6455(); - o.featureFlags = buildUnnamed6456(); - o.flowhooks = buildUnnamed6457(); - o.keystores = buildUnnamed6458(); + o.deployments = buildUnnamed6525(); + o.featureFlags = buildUnnamed6526(); + o.flowhooks = buildUnnamed6527(); + o.gatewayConfigLocation = 'foo'; + o.keystores = buildUnnamed6528(); o.name = 'foo'; o.provider = 'foo'; o.pubsubTopic = 'foo'; - o.resourceReferences = buildUnnamed6459(); - o.resources = buildUnnamed6460(); + o.resourceReferences = buildUnnamed6529(); + o.resources = buildUnnamed6530(); o.revisionId = 'foo'; o.sequenceNumber = 'foo'; - o.targets = buildUnnamed6461(); + o.targets = buildUnnamed6531(); o.traceConfig = buildGoogleCloudApigeeV1RuntimeTraceConfig(); o.uid = 'foo'; } @@ -3389,16 +3546,24 @@ void checkGoogleCloudApigeeV1EnvironmentConfig( api.GoogleCloudApigeeV1EnvironmentConfig o) { buildCounterGoogleCloudApigeeV1EnvironmentConfig++; if (buildCounterGoogleCloudApigeeV1EnvironmentConfig < 3) { + unittest.expect( + o.arcConfigLocation!, + unittest.equals('foo'), + ); unittest.expect( o.createTime!, unittest.equals('foo'), ); - checkUnnamed6454(o.dataCollectors!); + checkUnnamed6524(o.dataCollectors!); checkGoogleCloudApigeeV1DebugMask(o.debugMask!); - checkUnnamed6455(o.deployments!); - checkUnnamed6456(o.featureFlags!); - checkUnnamed6457(o.flowhooks!); - checkUnnamed6458(o.keystores!); + checkUnnamed6525(o.deployments!); + checkUnnamed6526(o.featureFlags!); + checkUnnamed6527(o.flowhooks!); + unittest.expect( + o.gatewayConfigLocation!, + unittest.equals('foo'), + ); + checkUnnamed6528(o.keystores!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3411,8 +3576,8 @@ void checkGoogleCloudApigeeV1EnvironmentConfig( o.pubsubTopic!, unittest.equals('foo'), ); - checkUnnamed6459(o.resourceReferences!); - checkUnnamed6460(o.resources!); + checkUnnamed6529(o.resourceReferences!); + checkUnnamed6530(o.resources!); unittest.expect( o.revisionId!, unittest.equals('foo'), @@ -3421,7 +3586,7 @@ void checkGoogleCloudApigeeV1EnvironmentConfig( o.sequenceNumber!, unittest.equals('foo'), ); - checkUnnamed6461(o.targets!); + checkUnnamed6531(o.targets!); checkGoogleCloudApigeeV1RuntimeTraceConfig(o.traceConfig!); unittest.expect( o.uid!, @@ -3431,12 +3596,12 @@ void checkGoogleCloudApigeeV1EnvironmentConfig( buildCounterGoogleCloudApigeeV1EnvironmentConfig--; } -core.List buildUnnamed6462() => [ +core.List buildUnnamed6532() => [ 'foo', 'foo', ]; -void checkUnnamed6462(core.List o) { +void checkUnnamed6532(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3455,7 +3620,7 @@ api.GoogleCloudApigeeV1EnvironmentGroup buildCounterGoogleCloudApigeeV1EnvironmentGroup++; if (buildCounterGoogleCloudApigeeV1EnvironmentGroup < 3) { o.createdAt = 'foo'; - o.hostnames = buildUnnamed6462(); + o.hostnames = buildUnnamed6532(); o.lastModifiedAt = 'foo'; o.name = 'foo'; o.state = 'foo'; @@ -3472,7 +3637,7 @@ void checkGoogleCloudApigeeV1EnvironmentGroup( o.createdAt!, unittest.equals('foo'), ); - checkUnnamed6462(o.hostnames!); + checkUnnamed6532(o.hostnames!); unittest.expect( o.lastModifiedAt!, unittest.equals('foo'), @@ -3523,12 +3688,12 @@ void checkGoogleCloudApigeeV1EnvironmentGroupAttachment( buildCounterGoogleCloudApigeeV1EnvironmentGroupAttachment--; } -core.List buildUnnamed6463() => [ +core.List buildUnnamed6533() => [ 'foo', 'foo', ]; -void checkUnnamed6463(core.List o) { +void checkUnnamed6533(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3540,12 +3705,12 @@ void checkUnnamed6463(core.List o) { ); } -core.List buildUnnamed6464() => [ +core.List buildUnnamed6534() => [ buildGoogleCloudApigeeV1RoutingRule(), buildGoogleCloudApigeeV1RoutingRule(), ]; -void checkUnnamed6464(core.List o) { +void checkUnnamed6534(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1RoutingRule(o[0]); checkGoogleCloudApigeeV1RoutingRule(o[1]); @@ -3557,10 +3722,10 @@ api.GoogleCloudApigeeV1EnvironmentGroupConfig final o = api.GoogleCloudApigeeV1EnvironmentGroupConfig(); buildCounterGoogleCloudApigeeV1EnvironmentGroupConfig++; if (buildCounterGoogleCloudApigeeV1EnvironmentGroupConfig < 3) { - o.hostnames = buildUnnamed6463(); + o.hostnames = buildUnnamed6533(); o.name = 'foo'; o.revisionId = 'foo'; - o.routingRules = buildUnnamed6464(); + o.routingRules = buildUnnamed6534(); o.uid = 'foo'; } buildCounterGoogleCloudApigeeV1EnvironmentGroupConfig--; @@ -3571,7 +3736,7 @@ void checkGoogleCloudApigeeV1EnvironmentGroupConfig( api.GoogleCloudApigeeV1EnvironmentGroupConfig o) { buildCounterGoogleCloudApigeeV1EnvironmentGroupConfig++; if (buildCounterGoogleCloudApigeeV1EnvironmentGroupConfig < 3) { - checkUnnamed6463(o.hostnames!); + checkUnnamed6533(o.hostnames!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3580,7 +3745,7 @@ void checkGoogleCloudApigeeV1EnvironmentGroupConfig( o.revisionId!, unittest.equals('foo'), ); - checkUnnamed6464(o.routingRules!); + checkUnnamed6534(o.routingRules!); unittest.expect( o.uid!, unittest.equals('foo'), @@ -3777,6 +3942,88 @@ void checkGoogleCloudApigeeV1FlowHookConfig( buildCounterGoogleCloudApigeeV1FlowHookConfig--; } +core.int buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest = 0; +api.GoogleCloudApigeeV1GenerateDownloadUrlRequest + buildGoogleCloudApigeeV1GenerateDownloadUrlRequest() { + final o = api.GoogleCloudApigeeV1GenerateDownloadUrlRequest(); + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest++; + if (buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest < 3) {} + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest--; + return o; +} + +void checkGoogleCloudApigeeV1GenerateDownloadUrlRequest( + api.GoogleCloudApigeeV1GenerateDownloadUrlRequest o) { + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest++; + if (buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest < 3) {} + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlRequest--; +} + +core.int buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse = 0; +api.GoogleCloudApigeeV1GenerateDownloadUrlResponse + buildGoogleCloudApigeeV1GenerateDownloadUrlResponse() { + final o = api.GoogleCloudApigeeV1GenerateDownloadUrlResponse(); + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse++; + if (buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse < 3) { + o.downloadUri = 'foo'; + } + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse--; + return o; +} + +void checkGoogleCloudApigeeV1GenerateDownloadUrlResponse( + api.GoogleCloudApigeeV1GenerateDownloadUrlResponse o) { + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse++; + if (buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse < 3) { + unittest.expect( + o.downloadUri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudApigeeV1GenerateDownloadUrlResponse--; +} + +core.int buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest = 0; +api.GoogleCloudApigeeV1GenerateUploadUrlRequest + buildGoogleCloudApigeeV1GenerateUploadUrlRequest() { + final o = api.GoogleCloudApigeeV1GenerateUploadUrlRequest(); + buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest++; + if (buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest < 3) {} + buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest--; + return o; +} + +void checkGoogleCloudApigeeV1GenerateUploadUrlRequest( + api.GoogleCloudApigeeV1GenerateUploadUrlRequest o) { + buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest++; + if (buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest < 3) {} + buildCounterGoogleCloudApigeeV1GenerateUploadUrlRequest--; +} + +core.int buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse = 0; +api.GoogleCloudApigeeV1GenerateUploadUrlResponse + buildGoogleCloudApigeeV1GenerateUploadUrlResponse() { + final o = api.GoogleCloudApigeeV1GenerateUploadUrlResponse(); + buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse++; + if (buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse < 3) { + o.uploadUri = 'foo'; + } + buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse--; + return o; +} + +void checkGoogleCloudApigeeV1GenerateUploadUrlResponse( + api.GoogleCloudApigeeV1GenerateUploadUrlResponse o) { + buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse++; + if (buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse < 3) { + unittest.expect( + o.uploadUri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudApigeeV1GenerateUploadUrlResponse--; +} + core.int buildCounterGoogleCloudApigeeV1GetSyncAuthorizationRequest = 0; api.GoogleCloudApigeeV1GetSyncAuthorizationRequest buildGoogleCloudApigeeV1GetSyncAuthorizationRequest() { @@ -3794,12 +4041,12 @@ void checkGoogleCloudApigeeV1GetSyncAuthorizationRequest( buildCounterGoogleCloudApigeeV1GetSyncAuthorizationRequest--; } -core.List buildUnnamed6465() => [ +core.List buildUnnamed6535() => [ 'foo', 'foo', ]; -void checkUnnamed6465(core.List o) { +void checkUnnamed6535(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3818,7 +4065,7 @@ api.GoogleCloudApigeeV1GraphQLOperation buildCounterGoogleCloudApigeeV1GraphQLOperation++; if (buildCounterGoogleCloudApigeeV1GraphQLOperation < 3) { o.operation = 'foo'; - o.operationTypes = buildUnnamed6465(); + o.operationTypes = buildUnnamed6535(); } buildCounterGoogleCloudApigeeV1GraphQLOperation--; return o; @@ -3832,28 +4079,28 @@ void checkGoogleCloudApigeeV1GraphQLOperation( o.operation!, unittest.equals('foo'), ); - checkUnnamed6465(o.operationTypes!); + checkUnnamed6535(o.operationTypes!); } buildCounterGoogleCloudApigeeV1GraphQLOperation--; } -core.List buildUnnamed6466() => [ +core.List buildUnnamed6536() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6466(core.List o) { +void checkUnnamed6536(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6467() => [ +core.List buildUnnamed6537() => [ buildGoogleCloudApigeeV1GraphQLOperation(), buildGoogleCloudApigeeV1GraphQLOperation(), ]; -void checkUnnamed6467(core.List o) { +void checkUnnamed6537(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1GraphQLOperation(o[0]); checkGoogleCloudApigeeV1GraphQLOperation(o[1]); @@ -3866,8 +4113,8 @@ api.GoogleCloudApigeeV1GraphQLOperationConfig buildCounterGoogleCloudApigeeV1GraphQLOperationConfig++; if (buildCounterGoogleCloudApigeeV1GraphQLOperationConfig < 3) { o.apiSource = 'foo'; - o.attributes = buildUnnamed6466(); - o.operations = buildUnnamed6467(); + o.attributes = buildUnnamed6536(); + o.operations = buildUnnamed6537(); o.quota = buildGoogleCloudApigeeV1Quota(); } buildCounterGoogleCloudApigeeV1GraphQLOperationConfig--; @@ -3882,19 +4129,19 @@ void checkGoogleCloudApigeeV1GraphQLOperationConfig( o.apiSource!, unittest.equals('foo'), ); - checkUnnamed6466(o.attributes!); - checkUnnamed6467(o.operations!); + checkUnnamed6536(o.attributes!); + checkUnnamed6537(o.operations!); checkGoogleCloudApigeeV1Quota(o.quota!); } buildCounterGoogleCloudApigeeV1GraphQLOperationConfig--; } -core.List buildUnnamed6468() => [ +core.List buildUnnamed6538() => [ buildGoogleCloudApigeeV1GraphQLOperationConfig(), buildGoogleCloudApigeeV1GraphQLOperationConfig(), ]; -void checkUnnamed6468( +void checkUnnamed6538( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1GraphQLOperationConfig(o[0]); @@ -3908,7 +4155,7 @@ api.GoogleCloudApigeeV1GraphQLOperationGroup buildCounterGoogleCloudApigeeV1GraphQLOperationGroup++; if (buildCounterGoogleCloudApigeeV1GraphQLOperationGroup < 3) { o.operationConfigType = 'foo'; - o.operationConfigs = buildUnnamed6468(); + o.operationConfigs = buildUnnamed6538(); } buildCounterGoogleCloudApigeeV1GraphQLOperationGroup--; return o; @@ -3922,17 +4169,17 @@ void checkGoogleCloudApigeeV1GraphQLOperationGroup( o.operationConfigType!, unittest.equals('foo'), ); - checkUnnamed6468(o.operationConfigs!); + checkUnnamed6538(o.operationConfigs!); } buildCounterGoogleCloudApigeeV1GraphQLOperationGroup--; } -core.List buildUnnamed6469() => [ +core.List buildUnnamed6539() => [ buildGoogleCloudApigeeV1EnvironmentGroupConfig(), buildGoogleCloudApigeeV1EnvironmentGroupConfig(), ]; -void checkUnnamed6469( +void checkUnnamed6539( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1EnvironmentGroupConfig(o[0]); @@ -3944,7 +4191,7 @@ api.GoogleCloudApigeeV1IngressConfig buildGoogleCloudApigeeV1IngressConfig() { final o = api.GoogleCloudApigeeV1IngressConfig(); buildCounterGoogleCloudApigeeV1IngressConfig++; if (buildCounterGoogleCloudApigeeV1IngressConfig < 3) { - o.environmentGroups = buildUnnamed6469(); + o.environmentGroups = buildUnnamed6539(); o.name = 'foo'; o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; @@ -3958,7 +4205,7 @@ void checkGoogleCloudApigeeV1IngressConfig( api.GoogleCloudApigeeV1IngressConfig o) { buildCounterGoogleCloudApigeeV1IngressConfig++; if (buildCounterGoogleCloudApigeeV1IngressConfig < 3) { - checkUnnamed6469(o.environmentGroups!); + checkUnnamed6539(o.environmentGroups!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3994,6 +4241,7 @@ api.GoogleCloudApigeeV1Instance buildGoogleCloudApigeeV1Instance() { o.name = 'foo'; o.peeringCidrRange = 'foo'; o.port = 'foo'; + o.runtimeVersion = 'foo'; o.state = 'foo'; } buildCounterGoogleCloudApigeeV1Instance--; @@ -4043,6 +4291,10 @@ void checkGoogleCloudApigeeV1Instance(api.GoogleCloudApigeeV1Instance o) { o.port!, unittest.equals('foo'), ); + unittest.expect( + o.runtimeVersion!, + unittest.equals('foo'), + ); unittest.expect( o.state!, unittest.equals('foo'), @@ -4086,12 +4338,12 @@ void checkGoogleCloudApigeeV1InstanceAttachment( } core.List - buildUnnamed6470() => [ + buildUnnamed6540() => [ buildGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision(), buildGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision(), ]; -void checkUnnamed6470( +void checkUnnamed6540( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4100,12 +4352,12 @@ void checkUnnamed6470( } core.List - buildUnnamed6471() => [ + buildUnnamed6541() => [ buildGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute(), buildGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute(), ]; -void checkUnnamed6471( +void checkUnnamed6541( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute(o[0]); @@ -4118,8 +4370,8 @@ api.GoogleCloudApigeeV1InstanceDeploymentStatus final o = api.GoogleCloudApigeeV1InstanceDeploymentStatus(); buildCounterGoogleCloudApigeeV1InstanceDeploymentStatus++; if (buildCounterGoogleCloudApigeeV1InstanceDeploymentStatus < 3) { - o.deployedRevisions = buildUnnamed6470(); - o.deployedRoutes = buildUnnamed6471(); + o.deployedRevisions = buildUnnamed6540(); + o.deployedRoutes = buildUnnamed6541(); o.instance = 'foo'; } buildCounterGoogleCloudApigeeV1InstanceDeploymentStatus--; @@ -4130,8 +4382,8 @@ void checkGoogleCloudApigeeV1InstanceDeploymentStatus( api.GoogleCloudApigeeV1InstanceDeploymentStatus o) { buildCounterGoogleCloudApigeeV1InstanceDeploymentStatus++; if (buildCounterGoogleCloudApigeeV1InstanceDeploymentStatus < 3) { - checkUnnamed6470(o.deployedRevisions!); - checkUnnamed6471(o.deployedRoutes!); + checkUnnamed6540(o.deployedRevisions!); + checkUnnamed6541(o.deployedRoutes!); unittest.expect( o.instance!, unittest.equals('foo'), @@ -4214,27 +4466,6 @@ void checkGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute( buildCounterGoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute--; } -core.int buildCounterGoogleCloudApigeeV1IntegrationConfig = 0; -api.GoogleCloudApigeeV1IntegrationConfig - buildGoogleCloudApigeeV1IntegrationConfig() { - final o = api.GoogleCloudApigeeV1IntegrationConfig(); - buildCounterGoogleCloudApigeeV1IntegrationConfig++; - if (buildCounterGoogleCloudApigeeV1IntegrationConfig < 3) { - o.enabled = true; - } - buildCounterGoogleCloudApigeeV1IntegrationConfig--; - return o; -} - -void checkGoogleCloudApigeeV1IntegrationConfig( - api.GoogleCloudApigeeV1IntegrationConfig o) { - buildCounterGoogleCloudApigeeV1IntegrationConfig++; - if (buildCounterGoogleCloudApigeeV1IntegrationConfig < 3) { - unittest.expect(o.enabled!, unittest.isTrue); - } - buildCounterGoogleCloudApigeeV1IntegrationConfig--; -} - core.int buildCounterGoogleCloudApigeeV1KeyAliasReference = 0; api.GoogleCloudApigeeV1KeyAliasReference buildGoogleCloudApigeeV1KeyAliasReference() { @@ -4288,12 +4519,12 @@ void checkGoogleCloudApigeeV1KeyValueMap(api.GoogleCloudApigeeV1KeyValueMap o) { buildCounterGoogleCloudApigeeV1KeyValueMap--; } -core.List buildUnnamed6472() => [ +core.List buildUnnamed6542() => [ 'foo', 'foo', ]; -void checkUnnamed6472(core.List o) { +void checkUnnamed6542(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4310,7 +4541,7 @@ api.GoogleCloudApigeeV1Keystore buildGoogleCloudApigeeV1Keystore() { final o = api.GoogleCloudApigeeV1Keystore(); buildCounterGoogleCloudApigeeV1Keystore++; if (buildCounterGoogleCloudApigeeV1Keystore < 3) { - o.aliases = buildUnnamed6472(); + o.aliases = buildUnnamed6542(); o.name = 'foo'; } buildCounterGoogleCloudApigeeV1Keystore--; @@ -4320,7 +4551,7 @@ api.GoogleCloudApigeeV1Keystore buildGoogleCloudApigeeV1Keystore() { void checkGoogleCloudApigeeV1Keystore(api.GoogleCloudApigeeV1Keystore o) { buildCounterGoogleCloudApigeeV1Keystore++; if (buildCounterGoogleCloudApigeeV1Keystore < 3) { - checkUnnamed6472(o.aliases!); + checkUnnamed6542(o.aliases!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4329,12 +4560,12 @@ void checkGoogleCloudApigeeV1Keystore(api.GoogleCloudApigeeV1Keystore o) { buildCounterGoogleCloudApigeeV1Keystore--; } -core.List buildUnnamed6473() => [ +core.List buildUnnamed6543() => [ buildGoogleCloudApigeeV1AliasRevisionConfig(), buildGoogleCloudApigeeV1AliasRevisionConfig(), ]; -void checkUnnamed6473(core.List o) { +void checkUnnamed6543(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1AliasRevisionConfig(o[0]); checkGoogleCloudApigeeV1AliasRevisionConfig(o[1]); @@ -4345,7 +4576,7 @@ api.GoogleCloudApigeeV1KeystoreConfig buildGoogleCloudApigeeV1KeystoreConfig() { final o = api.GoogleCloudApigeeV1KeystoreConfig(); buildCounterGoogleCloudApigeeV1KeystoreConfig++; if (buildCounterGoogleCloudApigeeV1KeystoreConfig < 3) { - o.aliases = buildUnnamed6473(); + o.aliases = buildUnnamed6543(); o.name = 'foo'; } buildCounterGoogleCloudApigeeV1KeystoreConfig--; @@ -4356,7 +4587,7 @@ void checkGoogleCloudApigeeV1KeystoreConfig( api.GoogleCloudApigeeV1KeystoreConfig o) { buildCounterGoogleCloudApigeeV1KeystoreConfig++; if (buildCounterGoogleCloudApigeeV1KeystoreConfig < 3) { - checkUnnamed6473(o.aliases!); + checkUnnamed6543(o.aliases!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4365,12 +4596,12 @@ void checkGoogleCloudApigeeV1KeystoreConfig( buildCounterGoogleCloudApigeeV1KeystoreConfig--; } -core.List buildUnnamed6474() => [ +core.List buildUnnamed6544() => [ buildGoogleCloudApigeeV1ApiCategoryData(), buildGoogleCloudApigeeV1ApiCategoryData(), ]; -void checkUnnamed6474(core.List o) { +void checkUnnamed6544(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ApiCategoryData(o[0]); checkGoogleCloudApigeeV1ApiCategoryData(o[1]); @@ -4382,7 +4613,7 @@ api.GoogleCloudApigeeV1ListApiCategoriesResponse final o = api.GoogleCloudApigeeV1ListApiCategoriesResponse(); buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse++; if (buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse < 3) { - o.data = buildUnnamed6474(); + o.data = buildUnnamed6544(); o.errorCode = 'foo'; o.message = 'foo'; o.requestId = 'foo'; @@ -4396,7 +4627,7 @@ void checkGoogleCloudApigeeV1ListApiCategoriesResponse( api.GoogleCloudApigeeV1ListApiCategoriesResponse o) { buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse++; if (buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse < 3) { - checkUnnamed6474(o.data!); + checkUnnamed6544(o.data!); unittest.expect( o.errorCode!, unittest.equals('foo'), @@ -4417,12 +4648,12 @@ void checkGoogleCloudApigeeV1ListApiCategoriesResponse( buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse--; } -core.List buildUnnamed6475() => [ +core.List buildUnnamed6545() => [ buildGoogleCloudApigeeV1ApiProduct(), buildGoogleCloudApigeeV1ApiProduct(), ]; -void checkUnnamed6475(core.List o) { +void checkUnnamed6545(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ApiProduct(o[0]); checkGoogleCloudApigeeV1ApiProduct(o[1]); @@ -4434,7 +4665,7 @@ api.GoogleCloudApigeeV1ListApiProductsResponse final o = api.GoogleCloudApigeeV1ListApiProductsResponse(); buildCounterGoogleCloudApigeeV1ListApiProductsResponse++; if (buildCounterGoogleCloudApigeeV1ListApiProductsResponse < 3) { - o.apiProduct = buildUnnamed6475(); + o.apiProduct = buildUnnamed6545(); } buildCounterGoogleCloudApigeeV1ListApiProductsResponse--; return o; @@ -4444,17 +4675,17 @@ void checkGoogleCloudApigeeV1ListApiProductsResponse( api.GoogleCloudApigeeV1ListApiProductsResponse o) { buildCounterGoogleCloudApigeeV1ListApiProductsResponse++; if (buildCounterGoogleCloudApigeeV1ListApiProductsResponse < 3) { - checkUnnamed6475(o.apiProduct!); + checkUnnamed6545(o.apiProduct!); } buildCounterGoogleCloudApigeeV1ListApiProductsResponse--; } -core.List buildUnnamed6476() => [ +core.List buildUnnamed6546() => [ buildGoogleCloudApigeeV1ApiProxy(), buildGoogleCloudApigeeV1ApiProxy(), ]; -void checkUnnamed6476(core.List o) { +void checkUnnamed6546(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ApiProxy(o[0]); checkGoogleCloudApigeeV1ApiProxy(o[1]); @@ -4466,7 +4697,7 @@ api.GoogleCloudApigeeV1ListApiProxiesResponse final o = api.GoogleCloudApigeeV1ListApiProxiesResponse(); buildCounterGoogleCloudApigeeV1ListApiProxiesResponse++; if (buildCounterGoogleCloudApigeeV1ListApiProxiesResponse < 3) { - o.proxies = buildUnnamed6476(); + o.proxies = buildUnnamed6546(); } buildCounterGoogleCloudApigeeV1ListApiProxiesResponse--; return o; @@ -4476,17 +4707,17 @@ void checkGoogleCloudApigeeV1ListApiProxiesResponse( api.GoogleCloudApigeeV1ListApiProxiesResponse o) { buildCounterGoogleCloudApigeeV1ListApiProxiesResponse++; if (buildCounterGoogleCloudApigeeV1ListApiProxiesResponse < 3) { - checkUnnamed6476(o.proxies!); + checkUnnamed6546(o.proxies!); } buildCounterGoogleCloudApigeeV1ListApiProxiesResponse--; } -core.List buildUnnamed6477() => [ +core.List buildUnnamed6547() => [ buildGoogleCloudApigeeV1App(), buildGoogleCloudApigeeV1App(), ]; -void checkUnnamed6477(core.List o) { +void checkUnnamed6547(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1App(o[0]); checkGoogleCloudApigeeV1App(o[1]); @@ -4498,7 +4729,7 @@ api.GoogleCloudApigeeV1ListAppsResponse final o = api.GoogleCloudApigeeV1ListAppsResponse(); buildCounterGoogleCloudApigeeV1ListAppsResponse++; if (buildCounterGoogleCloudApigeeV1ListAppsResponse < 3) { - o.app = buildUnnamed6477(); + o.app = buildUnnamed6547(); } buildCounterGoogleCloudApigeeV1ListAppsResponse--; return o; @@ -4508,17 +4739,54 @@ void checkGoogleCloudApigeeV1ListAppsResponse( api.GoogleCloudApigeeV1ListAppsResponse o) { buildCounterGoogleCloudApigeeV1ListAppsResponse++; if (buildCounterGoogleCloudApigeeV1ListAppsResponse < 3) { - checkUnnamed6477(o.app!); + checkUnnamed6547(o.app!); } buildCounterGoogleCloudApigeeV1ListAppsResponse--; } -core.List buildUnnamed6478() => [ +core.List buildUnnamed6548() => [ + buildGoogleCloudApigeeV1ArchiveDeployment(), + buildGoogleCloudApigeeV1ArchiveDeployment(), + ]; + +void checkUnnamed6548(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudApigeeV1ArchiveDeployment(o[0]); + checkGoogleCloudApigeeV1ArchiveDeployment(o[1]); +} + +core.int buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse = 0; +api.GoogleCloudApigeeV1ListArchiveDeploymentsResponse + buildGoogleCloudApigeeV1ListArchiveDeploymentsResponse() { + final o = api.GoogleCloudApigeeV1ListArchiveDeploymentsResponse(); + buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse++; + if (buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse < 3) { + o.archiveDeployments = buildUnnamed6548(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse--; + return o; +} + +void checkGoogleCloudApigeeV1ListArchiveDeploymentsResponse( + api.GoogleCloudApigeeV1ListArchiveDeploymentsResponse o) { + buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse++; + if (buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse < 3) { + checkUnnamed6548(o.archiveDeployments!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudApigeeV1ListArchiveDeploymentsResponse--; +} + +core.List buildUnnamed6549() => [ buildGoogleCloudApigeeV1AsyncQuery(), buildGoogleCloudApigeeV1AsyncQuery(), ]; -void checkUnnamed6478(core.List o) { +void checkUnnamed6549(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1AsyncQuery(o[0]); checkGoogleCloudApigeeV1AsyncQuery(o[1]); @@ -4530,7 +4798,7 @@ api.GoogleCloudApigeeV1ListAsyncQueriesResponse final o = api.GoogleCloudApigeeV1ListAsyncQueriesResponse(); buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse++; if (buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse < 3) { - o.queries = buildUnnamed6478(); + o.queries = buildUnnamed6549(); } buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse--; return o; @@ -4540,17 +4808,17 @@ void checkGoogleCloudApigeeV1ListAsyncQueriesResponse( api.GoogleCloudApigeeV1ListAsyncQueriesResponse o) { buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse++; if (buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse < 3) { - checkUnnamed6478(o.queries!); + checkUnnamed6549(o.queries!); } buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse--; } -core.List buildUnnamed6479() => [ +core.List buildUnnamed6550() => [ buildGoogleCloudApigeeV1CustomReport(), buildGoogleCloudApigeeV1CustomReport(), ]; -void checkUnnamed6479(core.List o) { +void checkUnnamed6550(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1CustomReport(o[0]); checkGoogleCloudApigeeV1CustomReport(o[1]); @@ -4562,7 +4830,7 @@ api.GoogleCloudApigeeV1ListCustomReportsResponse final o = api.GoogleCloudApigeeV1ListCustomReportsResponse(); buildCounterGoogleCloudApigeeV1ListCustomReportsResponse++; if (buildCounterGoogleCloudApigeeV1ListCustomReportsResponse < 3) { - o.qualifier = buildUnnamed6479(); + o.qualifier = buildUnnamed6550(); } buildCounterGoogleCloudApigeeV1ListCustomReportsResponse--; return o; @@ -4572,17 +4840,17 @@ void checkGoogleCloudApigeeV1ListCustomReportsResponse( api.GoogleCloudApigeeV1ListCustomReportsResponse o) { buildCounterGoogleCloudApigeeV1ListCustomReportsResponse++; if (buildCounterGoogleCloudApigeeV1ListCustomReportsResponse < 3) { - checkUnnamed6479(o.qualifier!); + checkUnnamed6550(o.qualifier!); } buildCounterGoogleCloudApigeeV1ListCustomReportsResponse--; } -core.List buildUnnamed6480() => [ +core.List buildUnnamed6551() => [ buildGoogleCloudApigeeV1DataCollector(), buildGoogleCloudApigeeV1DataCollector(), ]; -void checkUnnamed6480(core.List o) { +void checkUnnamed6551(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DataCollector(o[0]); checkGoogleCloudApigeeV1DataCollector(o[1]); @@ -4594,7 +4862,7 @@ api.GoogleCloudApigeeV1ListDataCollectorsResponse final o = api.GoogleCloudApigeeV1ListDataCollectorsResponse(); buildCounterGoogleCloudApigeeV1ListDataCollectorsResponse++; if (buildCounterGoogleCloudApigeeV1ListDataCollectorsResponse < 3) { - o.dataCollectors = buildUnnamed6480(); + o.dataCollectors = buildUnnamed6551(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudApigeeV1ListDataCollectorsResponse--; @@ -4605,7 +4873,7 @@ void checkGoogleCloudApigeeV1ListDataCollectorsResponse( api.GoogleCloudApigeeV1ListDataCollectorsResponse o) { buildCounterGoogleCloudApigeeV1ListDataCollectorsResponse++; if (buildCounterGoogleCloudApigeeV1ListDataCollectorsResponse < 3) { - checkUnnamed6480(o.dataCollectors!); + checkUnnamed6551(o.dataCollectors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4614,12 +4882,12 @@ void checkGoogleCloudApigeeV1ListDataCollectorsResponse( buildCounterGoogleCloudApigeeV1ListDataCollectorsResponse--; } -core.List buildUnnamed6481() => [ +core.List buildUnnamed6552() => [ buildGoogleCloudApigeeV1Datastore(), buildGoogleCloudApigeeV1Datastore(), ]; -void checkUnnamed6481(core.List o) { +void checkUnnamed6552(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Datastore(o[0]); checkGoogleCloudApigeeV1Datastore(o[1]); @@ -4631,7 +4899,7 @@ api.GoogleCloudApigeeV1ListDatastoresResponse final o = api.GoogleCloudApigeeV1ListDatastoresResponse(); buildCounterGoogleCloudApigeeV1ListDatastoresResponse++; if (buildCounterGoogleCloudApigeeV1ListDatastoresResponse < 3) { - o.datastores = buildUnnamed6481(); + o.datastores = buildUnnamed6552(); } buildCounterGoogleCloudApigeeV1ListDatastoresResponse--; return o; @@ -4641,17 +4909,17 @@ void checkGoogleCloudApigeeV1ListDatastoresResponse( api.GoogleCloudApigeeV1ListDatastoresResponse o) { buildCounterGoogleCloudApigeeV1ListDatastoresResponse++; if (buildCounterGoogleCloudApigeeV1ListDatastoresResponse < 3) { - checkUnnamed6481(o.datastores!); + checkUnnamed6552(o.datastores!); } buildCounterGoogleCloudApigeeV1ListDatastoresResponse--; } -core.List buildUnnamed6482() => [ +core.List buildUnnamed6553() => [ buildGoogleCloudApigeeV1Session(), buildGoogleCloudApigeeV1Session(), ]; -void checkUnnamed6482(core.List o) { +void checkUnnamed6553(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Session(o[0]); checkGoogleCloudApigeeV1Session(o[1]); @@ -4664,7 +4932,7 @@ api.GoogleCloudApigeeV1ListDebugSessionsResponse buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse++; if (buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse < 3) { o.nextPageToken = 'foo'; - o.sessions = buildUnnamed6482(); + o.sessions = buildUnnamed6553(); } buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse--; return o; @@ -4678,17 +4946,17 @@ void checkGoogleCloudApigeeV1ListDebugSessionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6482(o.sessions!); + checkUnnamed6553(o.sessions!); } buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse--; } -core.List buildUnnamed6483() => [ +core.List buildUnnamed6554() => [ buildGoogleCloudApigeeV1Deployment(), buildGoogleCloudApigeeV1Deployment(), ]; -void checkUnnamed6483(core.List o) { +void checkUnnamed6554(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Deployment(o[0]); checkGoogleCloudApigeeV1Deployment(o[1]); @@ -4700,7 +4968,7 @@ api.GoogleCloudApigeeV1ListDeploymentsResponse final o = api.GoogleCloudApigeeV1ListDeploymentsResponse(); buildCounterGoogleCloudApigeeV1ListDeploymentsResponse++; if (buildCounterGoogleCloudApigeeV1ListDeploymentsResponse < 3) { - o.deployments = buildUnnamed6483(); + o.deployments = buildUnnamed6554(); } buildCounterGoogleCloudApigeeV1ListDeploymentsResponse--; return o; @@ -4710,17 +4978,17 @@ void checkGoogleCloudApigeeV1ListDeploymentsResponse( api.GoogleCloudApigeeV1ListDeploymentsResponse o) { buildCounterGoogleCloudApigeeV1ListDeploymentsResponse++; if (buildCounterGoogleCloudApigeeV1ListDeploymentsResponse < 3) { - checkUnnamed6483(o.deployments!); + checkUnnamed6554(o.deployments!); } buildCounterGoogleCloudApigeeV1ListDeploymentsResponse--; } -core.List buildUnnamed6484() => [ +core.List buildUnnamed6555() => [ buildGoogleCloudApigeeV1DeveloperApp(), buildGoogleCloudApigeeV1DeveloperApp(), ]; -void checkUnnamed6484(core.List o) { +void checkUnnamed6555(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DeveloperApp(o[0]); checkGoogleCloudApigeeV1DeveloperApp(o[1]); @@ -4732,7 +5000,7 @@ api.GoogleCloudApigeeV1ListDeveloperAppsResponse final o = api.GoogleCloudApigeeV1ListDeveloperAppsResponse(); buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse++; if (buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse < 3) { - o.app = buildUnnamed6484(); + o.app = buildUnnamed6555(); } buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse--; return o; @@ -4742,17 +5010,17 @@ void checkGoogleCloudApigeeV1ListDeveloperAppsResponse( api.GoogleCloudApigeeV1ListDeveloperAppsResponse o) { buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse++; if (buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse < 3) { - checkUnnamed6484(o.app!); + checkUnnamed6555(o.app!); } buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse--; } -core.List buildUnnamed6485() => [ +core.List buildUnnamed6556() => [ buildGoogleCloudApigeeV1DeveloperSubscription(), buildGoogleCloudApigeeV1DeveloperSubscription(), ]; -void checkUnnamed6485( +void checkUnnamed6556( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DeveloperSubscription(o[0]); @@ -4765,7 +5033,7 @@ api.GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse final o = api.GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse(); buildCounterGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse++; if (buildCounterGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse < 3) { - o.developerSubscriptions = buildUnnamed6485(); + o.developerSubscriptions = buildUnnamed6556(); o.nextStartKey = 'foo'; } buildCounterGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse--; @@ -4776,7 +5044,7 @@ void checkGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse( api.GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse o) { buildCounterGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse++; if (buildCounterGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse < 3) { - checkUnnamed6485(o.developerSubscriptions!); + checkUnnamed6556(o.developerSubscriptions!); unittest.expect( o.nextStartKey!, unittest.equals('foo'), @@ -4786,12 +5054,12 @@ void checkGoogleCloudApigeeV1ListDeveloperSubscriptionsResponse( } core.List - buildUnnamed6486() => [ + buildUnnamed6557() => [ buildGoogleCloudApigeeV1EnvironmentGroupAttachment(), buildGoogleCloudApigeeV1EnvironmentGroupAttachment(), ]; -void checkUnnamed6486( +void checkUnnamed6557( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1EnvironmentGroupAttachment(o[0]); @@ -4806,7 +5074,7 @@ api.GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse++; if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse < 3) { - o.environmentGroupAttachments = buildUnnamed6486(); + o.environmentGroupAttachments = buildUnnamed6557(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse--; @@ -4818,7 +5086,7 @@ void checkGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse( buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse++; if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse < 3) { - checkUnnamed6486(o.environmentGroupAttachments!); + checkUnnamed6557(o.environmentGroupAttachments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4827,12 +5095,12 @@ void checkGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse( buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse--; } -core.List buildUnnamed6487() => [ +core.List buildUnnamed6558() => [ buildGoogleCloudApigeeV1EnvironmentGroup(), buildGoogleCloudApigeeV1EnvironmentGroup(), ]; -void checkUnnamed6487(core.List o) { +void checkUnnamed6558(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1EnvironmentGroup(o[0]); checkGoogleCloudApigeeV1EnvironmentGroup(o[1]); @@ -4844,7 +5112,7 @@ api.GoogleCloudApigeeV1ListEnvironmentGroupsResponse final o = api.GoogleCloudApigeeV1ListEnvironmentGroupsResponse(); buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse++; if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse < 3) { - o.environmentGroups = buildUnnamed6487(); + o.environmentGroups = buildUnnamed6558(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse--; @@ -4855,7 +5123,7 @@ void checkGoogleCloudApigeeV1ListEnvironmentGroupsResponse( api.GoogleCloudApigeeV1ListEnvironmentGroupsResponse o) { buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse++; if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse < 3) { - checkUnnamed6487(o.environmentGroups!); + checkUnnamed6558(o.environmentGroups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4864,12 +5132,12 @@ void checkGoogleCloudApigeeV1ListEnvironmentGroupsResponse( buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse--; } -core.List buildUnnamed6488() => [ +core.List buildUnnamed6559() => [ buildGoogleCloudApigeeV1ResourceFile(), buildGoogleCloudApigeeV1ResourceFile(), ]; -void checkUnnamed6488(core.List o) { +void checkUnnamed6559(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ResourceFile(o[0]); checkGoogleCloudApigeeV1ResourceFile(o[1]); @@ -4881,7 +5149,7 @@ api.GoogleCloudApigeeV1ListEnvironmentResourcesResponse final o = api.GoogleCloudApigeeV1ListEnvironmentResourcesResponse(); buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse++; if (buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse < 3) { - o.resourceFile = buildUnnamed6488(); + o.resourceFile = buildUnnamed6559(); } buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse--; return o; @@ -4891,17 +5159,17 @@ void checkGoogleCloudApigeeV1ListEnvironmentResourcesResponse( api.GoogleCloudApigeeV1ListEnvironmentResourcesResponse o) { buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse++; if (buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse < 3) { - checkUnnamed6488(o.resourceFile!); + checkUnnamed6559(o.resourceFile!); } buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse--; } -core.List buildUnnamed6489() => [ +core.List buildUnnamed6560() => [ buildGoogleCloudApigeeV1Export(), buildGoogleCloudApigeeV1Export(), ]; -void checkUnnamed6489(core.List o) { +void checkUnnamed6560(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Export(o[0]); checkGoogleCloudApigeeV1Export(o[1]); @@ -4913,7 +5181,7 @@ api.GoogleCloudApigeeV1ListExportsResponse final o = api.GoogleCloudApigeeV1ListExportsResponse(); buildCounterGoogleCloudApigeeV1ListExportsResponse++; if (buildCounterGoogleCloudApigeeV1ListExportsResponse < 3) { - o.exports = buildUnnamed6489(); + o.exports = buildUnnamed6560(); } buildCounterGoogleCloudApigeeV1ListExportsResponse--; return o; @@ -4923,17 +5191,17 @@ void checkGoogleCloudApigeeV1ListExportsResponse( api.GoogleCloudApigeeV1ListExportsResponse o) { buildCounterGoogleCloudApigeeV1ListExportsResponse++; if (buildCounterGoogleCloudApigeeV1ListExportsResponse < 3) { - checkUnnamed6489(o.exports!); + checkUnnamed6560(o.exports!); } buildCounterGoogleCloudApigeeV1ListExportsResponse--; } -core.List buildUnnamed6490() => [ +core.List buildUnnamed6561() => [ buildGoogleCloudApigeeV1ServiceIssuersMapping(), buildGoogleCloudApigeeV1ServiceIssuersMapping(), ]; -void checkUnnamed6490( +void checkUnnamed6561( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ServiceIssuersMapping(o[0]); @@ -4946,7 +5214,7 @@ api.GoogleCloudApigeeV1ListHybridIssuersResponse final o = api.GoogleCloudApigeeV1ListHybridIssuersResponse(); buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse++; if (buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse < 3) { - o.issuers = buildUnnamed6490(); + o.issuers = buildUnnamed6561(); } buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse--; return o; @@ -4956,17 +5224,17 @@ void checkGoogleCloudApigeeV1ListHybridIssuersResponse( api.GoogleCloudApigeeV1ListHybridIssuersResponse o) { buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse++; if (buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse < 3) { - checkUnnamed6490(o.issuers!); + checkUnnamed6561(o.issuers!); } buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse--; } -core.List buildUnnamed6491() => [ +core.List buildUnnamed6562() => [ buildGoogleCloudApigeeV1InstanceAttachment(), buildGoogleCloudApigeeV1InstanceAttachment(), ]; -void checkUnnamed6491(core.List o) { +void checkUnnamed6562(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1InstanceAttachment(o[0]); checkGoogleCloudApigeeV1InstanceAttachment(o[1]); @@ -4978,7 +5246,7 @@ api.GoogleCloudApigeeV1ListInstanceAttachmentsResponse final o = api.GoogleCloudApigeeV1ListInstanceAttachmentsResponse(); buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse++; if (buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse < 3) { - o.attachments = buildUnnamed6491(); + o.attachments = buildUnnamed6562(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse--; @@ -4989,7 +5257,7 @@ void checkGoogleCloudApigeeV1ListInstanceAttachmentsResponse( api.GoogleCloudApigeeV1ListInstanceAttachmentsResponse o) { buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse++; if (buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse < 3) { - checkUnnamed6491(o.attachments!); + checkUnnamed6562(o.attachments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4998,12 +5266,12 @@ void checkGoogleCloudApigeeV1ListInstanceAttachmentsResponse( buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse--; } -core.List buildUnnamed6492() => [ +core.List buildUnnamed6563() => [ buildGoogleCloudApigeeV1Instance(), buildGoogleCloudApigeeV1Instance(), ]; -void checkUnnamed6492(core.List o) { +void checkUnnamed6563(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Instance(o[0]); checkGoogleCloudApigeeV1Instance(o[1]); @@ -5015,7 +5283,7 @@ api.GoogleCloudApigeeV1ListInstancesResponse final o = api.GoogleCloudApigeeV1ListInstancesResponse(); buildCounterGoogleCloudApigeeV1ListInstancesResponse++; if (buildCounterGoogleCloudApigeeV1ListInstancesResponse < 3) { - o.instances = buildUnnamed6492(); + o.instances = buildUnnamed6563(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudApigeeV1ListInstancesResponse--; @@ -5026,7 +5294,7 @@ void checkGoogleCloudApigeeV1ListInstancesResponse( api.GoogleCloudApigeeV1ListInstancesResponse o) { buildCounterGoogleCloudApigeeV1ListInstancesResponse++; if (buildCounterGoogleCloudApigeeV1ListInstancesResponse < 3) { - checkUnnamed6492(o.instances!); + checkUnnamed6563(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5035,12 +5303,12 @@ void checkGoogleCloudApigeeV1ListInstancesResponse( buildCounterGoogleCloudApigeeV1ListInstancesResponse--; } -core.List buildUnnamed6493() => [ +core.List buildUnnamed6564() => [ buildGoogleCloudApigeeV1NatAddress(), buildGoogleCloudApigeeV1NatAddress(), ]; -void checkUnnamed6493(core.List o) { +void checkUnnamed6564(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1NatAddress(o[0]); checkGoogleCloudApigeeV1NatAddress(o[1]); @@ -5052,7 +5320,7 @@ api.GoogleCloudApigeeV1ListNatAddressesResponse final o = api.GoogleCloudApigeeV1ListNatAddressesResponse(); buildCounterGoogleCloudApigeeV1ListNatAddressesResponse++; if (buildCounterGoogleCloudApigeeV1ListNatAddressesResponse < 3) { - o.natAddresses = buildUnnamed6493(); + o.natAddresses = buildUnnamed6564(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudApigeeV1ListNatAddressesResponse--; @@ -5063,7 +5331,7 @@ void checkGoogleCloudApigeeV1ListNatAddressesResponse( api.GoogleCloudApigeeV1ListNatAddressesResponse o) { buildCounterGoogleCloudApigeeV1ListNatAddressesResponse++; if (buildCounterGoogleCloudApigeeV1ListNatAddressesResponse < 3) { - checkUnnamed6493(o.natAddresses!); + checkUnnamed6564(o.natAddresses!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5072,12 +5340,12 @@ void checkGoogleCloudApigeeV1ListNatAddressesResponse( buildCounterGoogleCloudApigeeV1ListNatAddressesResponse--; } -core.List buildUnnamed6494() => [ +core.List buildUnnamed6565() => [ buildGoogleCloudApigeeV1Developer(), buildGoogleCloudApigeeV1Developer(), ]; -void checkUnnamed6494(core.List o) { +void checkUnnamed6565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Developer(o[0]); checkGoogleCloudApigeeV1Developer(o[1]); @@ -5089,7 +5357,7 @@ api.GoogleCloudApigeeV1ListOfDevelopersResponse final o = api.GoogleCloudApigeeV1ListOfDevelopersResponse(); buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse++; if (buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse < 3) { - o.developer = buildUnnamed6494(); + o.developer = buildUnnamed6565(); } buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse--; return o; @@ -5099,18 +5367,18 @@ void checkGoogleCloudApigeeV1ListOfDevelopersResponse( api.GoogleCloudApigeeV1ListOfDevelopersResponse o) { buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse++; if (buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse < 3) { - checkUnnamed6494(o.developer!); + checkUnnamed6565(o.developer!); } buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse--; } core.List - buildUnnamed6495() => [ + buildUnnamed6566() => [ buildGoogleCloudApigeeV1OrganizationProjectMapping(), buildGoogleCloudApigeeV1OrganizationProjectMapping(), ]; -void checkUnnamed6495( +void checkUnnamed6566( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1OrganizationProjectMapping(o[0]); @@ -5123,7 +5391,7 @@ api.GoogleCloudApigeeV1ListOrganizationsResponse final o = api.GoogleCloudApigeeV1ListOrganizationsResponse(); buildCounterGoogleCloudApigeeV1ListOrganizationsResponse++; if (buildCounterGoogleCloudApigeeV1ListOrganizationsResponse < 3) { - o.organizations = buildUnnamed6495(); + o.organizations = buildUnnamed6566(); } buildCounterGoogleCloudApigeeV1ListOrganizationsResponse--; return o; @@ -5133,17 +5401,17 @@ void checkGoogleCloudApigeeV1ListOrganizationsResponse( api.GoogleCloudApigeeV1ListOrganizationsResponse o) { buildCounterGoogleCloudApigeeV1ListOrganizationsResponse++; if (buildCounterGoogleCloudApigeeV1ListOrganizationsResponse < 3) { - checkUnnamed6495(o.organizations!); + checkUnnamed6566(o.organizations!); } buildCounterGoogleCloudApigeeV1ListOrganizationsResponse--; } -core.List buildUnnamed6496() => [ +core.List buildUnnamed6567() => [ buildGoogleCloudApigeeV1RatePlan(), buildGoogleCloudApigeeV1RatePlan(), ]; -void checkUnnamed6496(core.List o) { +void checkUnnamed6567(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1RatePlan(o[0]); checkGoogleCloudApigeeV1RatePlan(o[1]); @@ -5156,7 +5424,7 @@ api.GoogleCloudApigeeV1ListRatePlansResponse buildCounterGoogleCloudApigeeV1ListRatePlansResponse++; if (buildCounterGoogleCloudApigeeV1ListRatePlansResponse < 3) { o.nextStartKey = 'foo'; - o.ratePlans = buildUnnamed6496(); + o.ratePlans = buildUnnamed6567(); } buildCounterGoogleCloudApigeeV1ListRatePlansResponse--; return o; @@ -5170,17 +5438,17 @@ void checkGoogleCloudApigeeV1ListRatePlansResponse( o.nextStartKey!, unittest.equals('foo'), ); - checkUnnamed6496(o.ratePlans!); + checkUnnamed6567(o.ratePlans!); } buildCounterGoogleCloudApigeeV1ListRatePlansResponse--; } -core.List buildUnnamed6497() => [ +core.List buildUnnamed6568() => [ buildGoogleCloudApigeeV1SharedFlow(), buildGoogleCloudApigeeV1SharedFlow(), ]; -void checkUnnamed6497(core.List o) { +void checkUnnamed6568(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1SharedFlow(o[0]); checkGoogleCloudApigeeV1SharedFlow(o[1]); @@ -5192,7 +5460,7 @@ api.GoogleCloudApigeeV1ListSharedFlowsResponse final o = api.GoogleCloudApigeeV1ListSharedFlowsResponse(); buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse++; if (buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse < 3) { - o.sharedFlows = buildUnnamed6497(); + o.sharedFlows = buildUnnamed6568(); } buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse--; return o; @@ -5202,17 +5470,17 @@ void checkGoogleCloudApigeeV1ListSharedFlowsResponse( api.GoogleCloudApigeeV1ListSharedFlowsResponse o) { buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse++; if (buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse < 3) { - checkUnnamed6497(o.sharedFlows!); + checkUnnamed6568(o.sharedFlows!); } buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse--; } -core.List buildUnnamed6498() => [ +core.List buildUnnamed6569() => [ buildGoogleCloudApigeeV1TraceConfigOverride(), buildGoogleCloudApigeeV1TraceConfigOverride(), ]; -void checkUnnamed6498(core.List o) { +void checkUnnamed6569(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1TraceConfigOverride(o[0]); checkGoogleCloudApigeeV1TraceConfigOverride(o[1]); @@ -5225,7 +5493,7 @@ api.GoogleCloudApigeeV1ListTraceConfigOverridesResponse buildCounterGoogleCloudApigeeV1ListTraceConfigOverridesResponse++; if (buildCounterGoogleCloudApigeeV1ListTraceConfigOverridesResponse < 3) { o.nextPageToken = 'foo'; - o.traceConfigOverrides = buildUnnamed6498(); + o.traceConfigOverrides = buildUnnamed6569(); } buildCounterGoogleCloudApigeeV1ListTraceConfigOverridesResponse--; return o; @@ -5239,17 +5507,17 @@ void checkGoogleCloudApigeeV1ListTraceConfigOverridesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6498(o.traceConfigOverrides!); + checkUnnamed6569(o.traceConfigOverrides!); } buildCounterGoogleCloudApigeeV1ListTraceConfigOverridesResponse--; } -core.List buildUnnamed6499() => [ +core.List buildUnnamed6570() => [ 'foo', 'foo', ]; -void checkUnnamed6499(core.List o) { +void checkUnnamed6570(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5261,12 +5529,12 @@ void checkUnnamed6499(core.List o) { ); } -core.List buildUnnamed6500() => [ +core.List buildUnnamed6571() => [ 'foo', 'foo', ]; -void checkUnnamed6500(core.List o) { +void checkUnnamed6571(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5283,8 +5551,8 @@ api.GoogleCloudApigeeV1Metadata buildGoogleCloudApigeeV1Metadata() { final o = api.GoogleCloudApigeeV1Metadata(); buildCounterGoogleCloudApigeeV1Metadata++; if (buildCounterGoogleCloudApigeeV1Metadata < 3) { - o.errors = buildUnnamed6499(); - o.notices = buildUnnamed6500(); + o.errors = buildUnnamed6570(); + o.notices = buildUnnamed6571(); } buildCounterGoogleCloudApigeeV1Metadata--; return o; @@ -5293,13 +5561,13 @@ api.GoogleCloudApigeeV1Metadata buildGoogleCloudApigeeV1Metadata() { void checkGoogleCloudApigeeV1Metadata(api.GoogleCloudApigeeV1Metadata o) { buildCounterGoogleCloudApigeeV1Metadata++; if (buildCounterGoogleCloudApigeeV1Metadata < 3) { - checkUnnamed6499(o.errors!); - checkUnnamed6500(o.notices!); + checkUnnamed6570(o.errors!); + checkUnnamed6571(o.notices!); } buildCounterGoogleCloudApigeeV1Metadata--; } -core.List buildUnnamed6501() => [ +core.List buildUnnamed6572() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5312,7 +5580,7 @@ core.List buildUnnamed6501() => [ }, ]; -void checkUnnamed6501(core.List o) { +void checkUnnamed6572(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -5350,7 +5618,7 @@ api.GoogleCloudApigeeV1Metric buildGoogleCloudApigeeV1Metric() { buildCounterGoogleCloudApigeeV1Metric++; if (buildCounterGoogleCloudApigeeV1Metric < 3) { o.name = 'foo'; - o.values = buildUnnamed6501(); + o.values = buildUnnamed6572(); } buildCounterGoogleCloudApigeeV1Metric--; return o; @@ -5363,7 +5631,7 @@ void checkGoogleCloudApigeeV1Metric(api.GoogleCloudApigeeV1Metric o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6501(o.values!); + checkUnnamed6572(o.values!); } buildCounterGoogleCloudApigeeV1Metric--; } @@ -5421,12 +5689,12 @@ void checkGoogleCloudApigeeV1NatAddress(api.GoogleCloudApigeeV1NatAddress o) { buildCounterGoogleCloudApigeeV1NatAddress--; } -core.List buildUnnamed6502() => [ +core.List buildUnnamed6573() => [ 'foo', 'foo', ]; -void checkUnnamed6502(core.List o) { +void checkUnnamed6573(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5443,7 +5711,7 @@ api.GoogleCloudApigeeV1Operation buildGoogleCloudApigeeV1Operation() { final o = api.GoogleCloudApigeeV1Operation(); buildCounterGoogleCloudApigeeV1Operation++; if (buildCounterGoogleCloudApigeeV1Operation < 3) { - o.methods = buildUnnamed6502(); + o.methods = buildUnnamed6573(); o.resource = 'foo'; } buildCounterGoogleCloudApigeeV1Operation--; @@ -5453,7 +5721,7 @@ api.GoogleCloudApigeeV1Operation buildGoogleCloudApigeeV1Operation() { void checkGoogleCloudApigeeV1Operation(api.GoogleCloudApigeeV1Operation o) { buildCounterGoogleCloudApigeeV1Operation++; if (buildCounterGoogleCloudApigeeV1Operation < 3) { - checkUnnamed6502(o.methods!); + checkUnnamed6573(o.methods!); unittest.expect( o.resource!, unittest.equals('foo'), @@ -5462,23 +5730,23 @@ void checkGoogleCloudApigeeV1Operation(api.GoogleCloudApigeeV1Operation o) { buildCounterGoogleCloudApigeeV1Operation--; } -core.List buildUnnamed6503() => [ +core.List buildUnnamed6574() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6503(core.List o) { +void checkUnnamed6574(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); } -core.List buildUnnamed6504() => [ +core.List buildUnnamed6575() => [ buildGoogleCloudApigeeV1Operation(), buildGoogleCloudApigeeV1Operation(), ]; -void checkUnnamed6504(core.List o) { +void checkUnnamed6575(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Operation(o[0]); checkGoogleCloudApigeeV1Operation(o[1]); @@ -5491,8 +5759,8 @@ api.GoogleCloudApigeeV1OperationConfig buildCounterGoogleCloudApigeeV1OperationConfig++; if (buildCounterGoogleCloudApigeeV1OperationConfig < 3) { o.apiSource = 'foo'; - o.attributes = buildUnnamed6503(); - o.operations = buildUnnamed6504(); + o.attributes = buildUnnamed6574(); + o.operations = buildUnnamed6575(); o.quota = buildGoogleCloudApigeeV1Quota(); } buildCounterGoogleCloudApigeeV1OperationConfig--; @@ -5507,19 +5775,19 @@ void checkGoogleCloudApigeeV1OperationConfig( o.apiSource!, unittest.equals('foo'), ); - checkUnnamed6503(o.attributes!); - checkUnnamed6504(o.operations!); + checkUnnamed6574(o.attributes!); + checkUnnamed6575(o.operations!); checkGoogleCloudApigeeV1Quota(o.quota!); } buildCounterGoogleCloudApigeeV1OperationConfig--; } -core.List buildUnnamed6505() => [ +core.List buildUnnamed6576() => [ buildGoogleCloudApigeeV1OperationConfig(), buildGoogleCloudApigeeV1OperationConfig(), ]; -void checkUnnamed6505(core.List o) { +void checkUnnamed6576(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1OperationConfig(o[0]); checkGoogleCloudApigeeV1OperationConfig(o[1]); @@ -5531,7 +5799,7 @@ api.GoogleCloudApigeeV1OperationGroup buildGoogleCloudApigeeV1OperationGroup() { buildCounterGoogleCloudApigeeV1OperationGroup++; if (buildCounterGoogleCloudApigeeV1OperationGroup < 3) { o.operationConfigType = 'foo'; - o.operationConfigs = buildUnnamed6505(); + o.operationConfigs = buildUnnamed6576(); } buildCounterGoogleCloudApigeeV1OperationGroup--; return o; @@ -5545,7 +5813,7 @@ void checkGoogleCloudApigeeV1OperationGroup( o.operationConfigType!, unittest.equals('foo'), ); - checkUnnamed6505(o.operationConfigs!); + checkUnnamed6576(o.operationConfigs!); } buildCounterGoogleCloudApigeeV1OperationGroup--; } @@ -5586,7 +5854,7 @@ void checkGoogleCloudApigeeV1OperationMetadata( buildCounterGoogleCloudApigeeV1OperationMetadata--; } -core.Map buildUnnamed6506() => { +core.Map buildUnnamed6577() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5599,7 +5867,7 @@ core.Map buildUnnamed6506() => { }, }; -void checkUnnamed6506(core.Map o) { +void checkUnnamed6577(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -5638,7 +5906,7 @@ api.GoogleCloudApigeeV1OperationMetadataProgress buildCounterGoogleCloudApigeeV1OperationMetadataProgress++; if (buildCounterGoogleCloudApigeeV1OperationMetadataProgress < 3) { o.description = 'foo'; - o.details = buildUnnamed6506(); + o.details = buildUnnamed6577(); o.percentDone = 42; o.state = 'foo'; } @@ -5654,7 +5922,7 @@ void checkGoogleCloudApigeeV1OperationMetadataProgress( o.description!, unittest.equals('foo'), ); - checkUnnamed6506(o.details!); + checkUnnamed6577(o.details!); unittest.expect( o.percentDone!, unittest.equals(42), @@ -5687,7 +5955,7 @@ void checkGoogleCloudApigeeV1OptimizedStats( buildCounterGoogleCloudApigeeV1OptimizedStats--; } -core.List buildUnnamed6507() => [ +core.List buildUnnamed6578() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5700,7 +5968,7 @@ core.List buildUnnamed6507() => [ }, ]; -void checkUnnamed6507(core.List o) { +void checkUnnamed6578(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -5738,7 +6006,7 @@ api.GoogleCloudApigeeV1OptimizedStatsNode final o = api.GoogleCloudApigeeV1OptimizedStatsNode(); buildCounterGoogleCloudApigeeV1OptimizedStatsNode++; if (buildCounterGoogleCloudApigeeV1OptimizedStatsNode < 3) { - o.data = buildUnnamed6507(); + o.data = buildUnnamed6578(); } buildCounterGoogleCloudApigeeV1OptimizedStatsNode--; return o; @@ -5748,17 +6016,17 @@ void checkGoogleCloudApigeeV1OptimizedStatsNode( api.GoogleCloudApigeeV1OptimizedStatsNode o) { buildCounterGoogleCloudApigeeV1OptimizedStatsNode++; if (buildCounterGoogleCloudApigeeV1OptimizedStatsNode < 3) { - checkUnnamed6507(o.data!); + checkUnnamed6578(o.data!); } buildCounterGoogleCloudApigeeV1OptimizedStatsNode--; } -core.List buildUnnamed6508() => [ +core.List buildUnnamed6579() => [ 'foo', 'foo', ]; -void checkUnnamed6508(core.List o) { +void checkUnnamed6579(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5776,7 +6044,7 @@ api.GoogleCloudApigeeV1OptimizedStatsResponse final o = api.GoogleCloudApigeeV1OptimizedStatsResponse(); buildCounterGoogleCloudApigeeV1OptimizedStatsResponse++; if (buildCounterGoogleCloudApigeeV1OptimizedStatsResponse < 3) { - o.TimeUnit = buildUnnamed6508(); + o.TimeUnit = buildUnnamed6579(); o.metaData = buildGoogleCloudApigeeV1Metadata(); o.resultTruncated = true; o.stats = buildGoogleCloudApigeeV1OptimizedStatsNode(); @@ -5789,7 +6057,7 @@ void checkGoogleCloudApigeeV1OptimizedStatsResponse( api.GoogleCloudApigeeV1OptimizedStatsResponse o) { buildCounterGoogleCloudApigeeV1OptimizedStatsResponse++; if (buildCounterGoogleCloudApigeeV1OptimizedStatsResponse < 3) { - checkUnnamed6508(o.TimeUnit!); + checkUnnamed6579(o.TimeUnit!); checkGoogleCloudApigeeV1Metadata(o.metaData!); unittest.expect(o.resultTruncated!, unittest.isTrue); checkGoogleCloudApigeeV1OptimizedStatsNode(o.stats!); @@ -5797,12 +6065,12 @@ void checkGoogleCloudApigeeV1OptimizedStatsResponse( buildCounterGoogleCloudApigeeV1OptimizedStatsResponse--; } -core.List buildUnnamed6509() => [ +core.List buildUnnamed6580() => [ 'foo', 'foo', ]; -void checkUnnamed6509(core.List o) { +void checkUnnamed6580(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5814,12 +6082,12 @@ void checkUnnamed6509(core.List o) { ); } -core.List buildUnnamed6510() => [ +core.List buildUnnamed6581() => [ 'foo', 'foo', ]; -void checkUnnamed6510(core.List o) { +void checkUnnamed6581(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5838,7 +6106,7 @@ api.GoogleCloudApigeeV1Organization buildGoogleCloudApigeeV1Organization() { if (buildCounterGoogleCloudApigeeV1Organization < 3) { o.addonsConfig = buildGoogleCloudApigeeV1AddonsConfig(); o.analyticsRegion = 'foo'; - o.attributes = buildUnnamed6509(); + o.attributes = buildUnnamed6580(); o.authorizedNetwork = 'foo'; o.billingType = 'foo'; o.caCertificate = 'foo'; @@ -5846,7 +6114,7 @@ api.GoogleCloudApigeeV1Organization buildGoogleCloudApigeeV1Organization() { o.customerName = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.environments = buildUnnamed6510(); + o.environments = buildUnnamed6581(); o.expiresAt = 'foo'; o.lastModifiedAt = 'foo'; o.name = 'foo'; @@ -5871,7 +6139,7 @@ void checkGoogleCloudApigeeV1Organization( o.analyticsRegion!, unittest.equals('foo'), ); - checkUnnamed6509(o.attributes!); + checkUnnamed6580(o.attributes!); unittest.expect( o.authorizedNetwork!, unittest.equals('foo'), @@ -5900,7 +6168,7 @@ void checkGoogleCloudApigeeV1Organization( o.displayName!, unittest.equals('foo'), ); - checkUnnamed6510(o.environments!); + checkUnnamed6581(o.environments!); unittest.expect( o.expiresAt!, unittest.equals('foo'), @@ -5942,12 +6210,12 @@ void checkGoogleCloudApigeeV1Organization( buildCounterGoogleCloudApigeeV1Organization--; } -core.List buildUnnamed6511() => [ +core.List buildUnnamed6582() => [ 'foo', 'foo', ]; -void checkUnnamed6511(core.List o) { +void checkUnnamed6582(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5966,7 +6234,7 @@ api.GoogleCloudApigeeV1OrganizationProjectMapping buildCounterGoogleCloudApigeeV1OrganizationProjectMapping++; if (buildCounterGoogleCloudApigeeV1OrganizationProjectMapping < 3) { o.organization = 'foo'; - o.projectIds = buildUnnamed6511(); + o.projectIds = buildUnnamed6582(); } buildCounterGoogleCloudApigeeV1OrganizationProjectMapping--; return o; @@ -5980,7 +6248,7 @@ void checkGoogleCloudApigeeV1OrganizationProjectMapping( o.organization!, unittest.equals('foo'), ); - checkUnnamed6511(o.projectIds!); + checkUnnamed6582(o.projectIds!); } buildCounterGoogleCloudApigeeV1OrganizationProjectMapping--; } @@ -6047,12 +6315,12 @@ void checkGoogleCloudApigeeV1PodStatus(api.GoogleCloudApigeeV1PodStatus o) { buildCounterGoogleCloudApigeeV1PodStatus--; } -core.List buildUnnamed6512() => [ +core.List buildUnnamed6583() => [ buildGoogleCloudApigeeV1Result(), buildGoogleCloudApigeeV1Result(), ]; -void checkUnnamed6512(core.List o) { +void checkUnnamed6583(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Result(o[0]); checkGoogleCloudApigeeV1Result(o[1]); @@ -6064,7 +6332,7 @@ api.GoogleCloudApigeeV1Point buildGoogleCloudApigeeV1Point() { buildCounterGoogleCloudApigeeV1Point++; if (buildCounterGoogleCloudApigeeV1Point < 3) { o.id = 'foo'; - o.results = buildUnnamed6512(); + o.results = buildUnnamed6583(); } buildCounterGoogleCloudApigeeV1Point--; return o; @@ -6077,17 +6345,17 @@ void checkGoogleCloudApigeeV1Point(api.GoogleCloudApigeeV1Point o) { o.id!, unittest.equals('foo'), ); - checkUnnamed6512(o.results!); + checkUnnamed6583(o.results!); } buildCounterGoogleCloudApigeeV1Point--; } -core.List buildUnnamed6513() => [ +core.List buildUnnamed6584() => [ buildGoogleCloudApigeeV1Property(), buildGoogleCloudApigeeV1Property(), ]; -void checkUnnamed6513(core.List o) { +void checkUnnamed6584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Property(o[0]); checkGoogleCloudApigeeV1Property(o[1]); @@ -6098,7 +6366,7 @@ api.GoogleCloudApigeeV1Properties buildGoogleCloudApigeeV1Properties() { final o = api.GoogleCloudApigeeV1Properties(); buildCounterGoogleCloudApigeeV1Properties++; if (buildCounterGoogleCloudApigeeV1Properties < 3) { - o.property = buildUnnamed6513(); + o.property = buildUnnamed6584(); } buildCounterGoogleCloudApigeeV1Properties--; return o; @@ -6107,7 +6375,7 @@ api.GoogleCloudApigeeV1Properties buildGoogleCloudApigeeV1Properties() { void checkGoogleCloudApigeeV1Properties(api.GoogleCloudApigeeV1Properties o) { buildCounterGoogleCloudApigeeV1Properties++; if (buildCounterGoogleCloudApigeeV1Properties < 3) { - checkUnnamed6513(o.property!); + checkUnnamed6584(o.property!); } buildCounterGoogleCloudApigeeV1Properties--; } @@ -6173,12 +6441,12 @@ void checkGoogleCloudApigeeV1ProvisionOrganizationRequest( buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest--; } -core.List buildUnnamed6514() => [ +core.List buildUnnamed6585() => [ 'foo', 'foo', ]; -void checkUnnamed6514(core.List o) { +void checkUnnamed6585(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6190,12 +6458,12 @@ void checkUnnamed6514(core.List o) { ); } -core.List buildUnnamed6515() => [ +core.List buildUnnamed6586() => [ buildGoogleCloudApigeeV1QueryMetric(), buildGoogleCloudApigeeV1QueryMetric(), ]; -void checkUnnamed6515(core.List o) { +void checkUnnamed6586(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1QueryMetric(o[0]); checkGoogleCloudApigeeV1QueryMetric(o[1]); @@ -6207,12 +6475,12 @@ api.GoogleCloudApigeeV1Query buildGoogleCloudApigeeV1Query() { buildCounterGoogleCloudApigeeV1Query++; if (buildCounterGoogleCloudApigeeV1Query < 3) { o.csvDelimiter = 'foo'; - o.dimensions = buildUnnamed6514(); + o.dimensions = buildUnnamed6585(); o.envgroupHostname = 'foo'; o.filter = 'foo'; o.groupByTimeUnit = 'foo'; o.limit = 42; - o.metrics = buildUnnamed6515(); + o.metrics = buildUnnamed6586(); o.name = 'foo'; o.outputFormat = 'foo'; o.reportDefinitionId = 'foo'; @@ -6233,7 +6501,7 @@ void checkGoogleCloudApigeeV1Query(api.GoogleCloudApigeeV1Query o) { o.csvDelimiter!, unittest.equals('foo'), ); - checkUnnamed6514(o.dimensions!); + checkUnnamed6585(o.dimensions!); unittest.expect( o.envgroupHostname!, unittest.equals('foo'), @@ -6250,7 +6518,7 @@ void checkGoogleCloudApigeeV1Query(api.GoogleCloudApigeeV1Query o) { o.limit!, unittest.equals(42), ); - checkUnnamed6515(o.metrics!); + checkUnnamed6586(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6281,12 +6549,12 @@ void checkGoogleCloudApigeeV1Query(api.GoogleCloudApigeeV1Query o) { buildCounterGoogleCloudApigeeV1Query--; } -core.List buildUnnamed6516() => [ +core.List buildUnnamed6587() => [ 'foo', 'foo', ]; -void checkUnnamed6516(core.List o) { +void checkUnnamed6587(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6298,12 +6566,12 @@ void checkUnnamed6516(core.List o) { ); } -core.List buildUnnamed6517() => [ +core.List buildUnnamed6588() => [ 'foo', 'foo', ]; -void checkUnnamed6517(core.List o) { +void checkUnnamed6588(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6320,9 +6588,9 @@ api.GoogleCloudApigeeV1QueryMetadata buildGoogleCloudApigeeV1QueryMetadata() { final o = api.GoogleCloudApigeeV1QueryMetadata(); buildCounterGoogleCloudApigeeV1QueryMetadata++; if (buildCounterGoogleCloudApigeeV1QueryMetadata < 3) { - o.dimensions = buildUnnamed6516(); + o.dimensions = buildUnnamed6587(); o.endTimestamp = 'foo'; - o.metrics = buildUnnamed6517(); + o.metrics = buildUnnamed6588(); o.outputFormat = 'foo'; o.startTimestamp = 'foo'; o.timeUnit = 'foo'; @@ -6335,12 +6603,12 @@ void checkGoogleCloudApigeeV1QueryMetadata( api.GoogleCloudApigeeV1QueryMetadata o) { buildCounterGoogleCloudApigeeV1QueryMetadata++; if (buildCounterGoogleCloudApigeeV1QueryMetadata < 3) { - checkUnnamed6516(o.dimensions!); + checkUnnamed6587(o.dimensions!); unittest.expect( o.endTimestamp!, unittest.equals('foo'), ); - checkUnnamed6517(o.metrics!); + checkUnnamed6588(o.metrics!); unittest.expect( o.outputFormat!, unittest.equals('foo'), @@ -6431,23 +6699,23 @@ void checkGoogleCloudApigeeV1Quota(api.GoogleCloudApigeeV1Quota o) { buildCounterGoogleCloudApigeeV1Quota--; } -core.List buildUnnamed6518() => [ +core.List buildUnnamed6589() => [ buildGoogleCloudApigeeV1RateRange(), buildGoogleCloudApigeeV1RateRange(), ]; -void checkUnnamed6518(core.List o) { +void checkUnnamed6589(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1RateRange(o[0]); checkGoogleCloudApigeeV1RateRange(o[1]); } -core.List buildUnnamed6519() => [ +core.List buildUnnamed6590() => [ buildGoogleCloudApigeeV1RevenueShareRange(), buildGoogleCloudApigeeV1RevenueShareRange(), ]; -void checkUnnamed6519(core.List o) { +void checkUnnamed6590(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1RevenueShareRange(o[0]); checkGoogleCloudApigeeV1RevenueShareRange(o[1]); @@ -6460,7 +6728,7 @@ api.GoogleCloudApigeeV1RatePlan buildGoogleCloudApigeeV1RatePlan() { if (buildCounterGoogleCloudApigeeV1RatePlan < 3) { o.apiproduct = 'foo'; o.billingPeriod = 'foo'; - o.consumptionPricingRates = buildUnnamed6518(); + o.consumptionPricingRates = buildUnnamed6589(); o.consumptionPricingType = 'foo'; o.createdAt = 'foo'; o.currencyCode = 'foo'; @@ -6472,7 +6740,7 @@ api.GoogleCloudApigeeV1RatePlan buildGoogleCloudApigeeV1RatePlan() { o.lastModifiedAt = 'foo'; o.name = 'foo'; o.paymentFundingModel = 'foo'; - o.revenueShareRates = buildUnnamed6519(); + o.revenueShareRates = buildUnnamed6590(); o.revenueShareType = 'foo'; o.setupFee = buildGoogleTypeMoney(); o.startTime = 'foo'; @@ -6493,7 +6761,7 @@ void checkGoogleCloudApigeeV1RatePlan(api.GoogleCloudApigeeV1RatePlan o) { o.billingPeriod!, unittest.equals('foo'), ); - checkUnnamed6518(o.consumptionPricingRates!); + checkUnnamed6589(o.consumptionPricingRates!); unittest.expect( o.consumptionPricingType!, unittest.equals('foo'), @@ -6535,7 +6803,7 @@ void checkGoogleCloudApigeeV1RatePlan(api.GoogleCloudApigeeV1RatePlan o) { o.paymentFundingModel!, unittest.equals('foo'), ); - checkUnnamed6519(o.revenueShareRates!); + checkUnnamed6590(o.revenueShareRates!); unittest.expect( o.revenueShareType!, unittest.equals('foo'), @@ -6648,12 +6916,12 @@ void checkGoogleCloudApigeeV1ReferenceConfig( buildCounterGoogleCloudApigeeV1ReferenceConfig--; } -core.List buildUnnamed6520() => [ +core.List buildUnnamed6591() => [ buildGoogleCloudApigeeV1ResourceStatus(), buildGoogleCloudApigeeV1ResourceStatus(), ]; -void checkUnnamed6520(core.List o) { +void checkUnnamed6591(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ResourceStatus(o[0]); checkGoogleCloudApigeeV1ResourceStatus(o[1]); @@ -6667,7 +6935,7 @@ api.GoogleCloudApigeeV1ReportInstanceStatusRequest if (buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest < 3) { o.instanceUid = 'foo'; o.reportTime = 'foo'; - o.resources = buildUnnamed6520(); + o.resources = buildUnnamed6591(); } buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest--; return o; @@ -6685,7 +6953,7 @@ void checkGoogleCloudApigeeV1ReportInstanceStatusRequest( o.reportTime!, unittest.equals('foo'), ); - checkUnnamed6520(o.resources!); + checkUnnamed6591(o.resources!); } buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest--; } @@ -6707,12 +6975,12 @@ void checkGoogleCloudApigeeV1ReportInstanceStatusResponse( buildCounterGoogleCloudApigeeV1ReportInstanceStatusResponse--; } -core.List buildUnnamed6521() => [ +core.List buildUnnamed6592() => [ buildGoogleCloudApigeeV1Attribute(), buildGoogleCloudApigeeV1Attribute(), ]; -void checkUnnamed6521(core.List o) { +void checkUnnamed6592(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Attribute(o[0]); checkGoogleCloudApigeeV1Attribute(o[1]); @@ -6724,7 +6992,7 @@ api.GoogleCloudApigeeV1ReportProperty buildGoogleCloudApigeeV1ReportProperty() { buildCounterGoogleCloudApigeeV1ReportProperty++; if (buildCounterGoogleCloudApigeeV1ReportProperty < 3) { o.property = 'foo'; - o.value = buildUnnamed6521(); + o.value = buildUnnamed6592(); } buildCounterGoogleCloudApigeeV1ReportProperty--; return o; @@ -6738,7 +7006,7 @@ void checkGoogleCloudApigeeV1ReportProperty( o.property!, unittest.equals('foo'), ); - checkUnnamed6521(o.value!); + checkUnnamed6592(o.value!); } buildCounterGoogleCloudApigeeV1ReportProperty--; } @@ -6799,12 +7067,12 @@ void checkGoogleCloudApigeeV1ResourceFile( buildCounterGoogleCloudApigeeV1ResourceFile--; } -core.List buildUnnamed6522() => [ +core.List buildUnnamed6593() => [ buildGoogleCloudApigeeV1ResourceFile(), buildGoogleCloudApigeeV1ResourceFile(), ]; -void checkUnnamed6522(core.List o) { +void checkUnnamed6593(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1ResourceFile(o[0]); checkGoogleCloudApigeeV1ResourceFile(o[1]); @@ -6815,7 +7083,7 @@ api.GoogleCloudApigeeV1ResourceFiles buildGoogleCloudApigeeV1ResourceFiles() { final o = api.GoogleCloudApigeeV1ResourceFiles(); buildCounterGoogleCloudApigeeV1ResourceFiles++; if (buildCounterGoogleCloudApigeeV1ResourceFiles < 3) { - o.resourceFile = buildUnnamed6522(); + o.resourceFile = buildUnnamed6593(); } buildCounterGoogleCloudApigeeV1ResourceFiles--; return o; @@ -6825,17 +7093,17 @@ void checkGoogleCloudApigeeV1ResourceFiles( api.GoogleCloudApigeeV1ResourceFiles o) { buildCounterGoogleCloudApigeeV1ResourceFiles++; if (buildCounterGoogleCloudApigeeV1ResourceFiles < 3) { - checkUnnamed6522(o.resourceFile!); + checkUnnamed6593(o.resourceFile!); } buildCounterGoogleCloudApigeeV1ResourceFiles--; } -core.List buildUnnamed6523() => [ +core.List buildUnnamed6594() => [ buildGoogleCloudApigeeV1RevisionStatus(), buildGoogleCloudApigeeV1RevisionStatus(), ]; -void checkUnnamed6523(core.List o) { +void checkUnnamed6594(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1RevisionStatus(o[0]); checkGoogleCloudApigeeV1RevisionStatus(o[1]); @@ -6847,7 +7115,7 @@ api.GoogleCloudApigeeV1ResourceStatus buildGoogleCloudApigeeV1ResourceStatus() { buildCounterGoogleCloudApigeeV1ResourceStatus++; if (buildCounterGoogleCloudApigeeV1ResourceStatus < 3) { o.resource = 'foo'; - o.revisions = buildUnnamed6523(); + o.revisions = buildUnnamed6594(); o.totalReplicas = 42; o.uid = 'foo'; } @@ -6863,7 +7131,7 @@ void checkGoogleCloudApigeeV1ResourceStatus( o.resource!, unittest.equals('foo'), ); - checkUnnamed6523(o.revisions!); + checkUnnamed6594(o.revisions!); unittest.expect( o.totalReplicas!, unittest.equals(42), @@ -6876,23 +7144,23 @@ void checkGoogleCloudApigeeV1ResourceStatus( buildCounterGoogleCloudApigeeV1ResourceStatus--; } -core.List buildUnnamed6524() => [ +core.List buildUnnamed6595() => [ buildGoogleCloudApigeeV1Access(), buildGoogleCloudApigeeV1Access(), ]; -void checkUnnamed6524(core.List o) { +void checkUnnamed6595(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Access(o[0]); checkGoogleCloudApigeeV1Access(o[1]); } -core.List buildUnnamed6525() => [ +core.List buildUnnamed6596() => [ buildGoogleCloudApigeeV1Property(), buildGoogleCloudApigeeV1Property(), ]; -void checkUnnamed6525(core.List o) { +void checkUnnamed6596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Property(o[0]); checkGoogleCloudApigeeV1Property(o[1]); @@ -6904,9 +7172,9 @@ api.GoogleCloudApigeeV1Result buildGoogleCloudApigeeV1Result() { buildCounterGoogleCloudApigeeV1Result++; if (buildCounterGoogleCloudApigeeV1Result < 3) { o.ActionResult = 'foo'; - o.accessList = buildUnnamed6524(); + o.accessList = buildUnnamed6595(); o.content = 'foo'; - o.headers = buildUnnamed6525(); + o.headers = buildUnnamed6596(); o.properties = buildGoogleCloudApigeeV1Properties(); o.reasonPhrase = 'foo'; o.statusCode = 'foo'; @@ -6925,12 +7193,12 @@ void checkGoogleCloudApigeeV1Result(api.GoogleCloudApigeeV1Result o) { o.ActionResult!, unittest.equals('foo'), ); - checkUnnamed6524(o.accessList!); + checkUnnamed6595(o.accessList!); unittest.expect( o.content!, unittest.equals('foo'), ); - checkUnnamed6525(o.headers!); + checkUnnamed6596(o.headers!); checkGoogleCloudApigeeV1Properties(o.properties!); unittest.expect( o.reasonPhrase!, @@ -6990,12 +7258,12 @@ void checkGoogleCloudApigeeV1RevenueShareRange( buildCounterGoogleCloudApigeeV1RevenueShareRange--; } -core.List buildUnnamed6526() => [ +core.List buildUnnamed6597() => [ buildGoogleCloudApigeeV1UpdateError(), buildGoogleCloudApigeeV1UpdateError(), ]; -void checkUnnamed6526(core.List o) { +void checkUnnamed6597(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1UpdateError(o[0]); checkGoogleCloudApigeeV1UpdateError(o[1]); @@ -7006,7 +7274,7 @@ api.GoogleCloudApigeeV1RevisionStatus buildGoogleCloudApigeeV1RevisionStatus() { final o = api.GoogleCloudApigeeV1RevisionStatus(); buildCounterGoogleCloudApigeeV1RevisionStatus++; if (buildCounterGoogleCloudApigeeV1RevisionStatus < 3) { - o.errors = buildUnnamed6526(); + o.errors = buildUnnamed6597(); o.jsonSpec = 'foo'; o.replicas = 42; o.revisionId = 'foo'; @@ -7019,7 +7287,7 @@ void checkGoogleCloudApigeeV1RevisionStatus( api.GoogleCloudApigeeV1RevisionStatus o) { buildCounterGoogleCloudApigeeV1RevisionStatus++; if (buildCounterGoogleCloudApigeeV1RevisionStatus < 3) { - checkUnnamed6526(o.errors!); + checkUnnamed6597(o.errors!); unittest.expect( o.jsonSpec!, unittest.equals('foo'), @@ -7117,12 +7385,12 @@ void checkGoogleCloudApigeeV1RuntimeConfig( } core.List - buildUnnamed6527() => [ + buildUnnamed6598() => [ buildGoogleCloudApigeeV1RuntimeTraceConfigOverride(), buildGoogleCloudApigeeV1RuntimeTraceConfigOverride(), ]; -void checkUnnamed6527( +void checkUnnamed6598( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1RuntimeTraceConfigOverride(o[0]); @@ -7138,7 +7406,7 @@ api.GoogleCloudApigeeV1RuntimeTraceConfig o.endpoint = 'foo'; o.exporter = 'foo'; o.name = 'foo'; - o.overrides = buildUnnamed6527(); + o.overrides = buildUnnamed6598(); o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; o.samplingConfig = buildGoogleCloudApigeeV1RuntimeTraceSamplingConfig(); @@ -7163,7 +7431,7 @@ void checkGoogleCloudApigeeV1RuntimeTraceConfig( o.name!, unittest.equals('foo'), ); - checkUnnamed6527(o.overrides!); + checkUnnamed6598(o.overrides!); unittest.expect( o.revisionCreateTime!, unittest.equals('foo'), @@ -7252,23 +7520,23 @@ void checkGoogleCloudApigeeV1RuntimeTraceSamplingConfig( buildCounterGoogleCloudApigeeV1RuntimeTraceSamplingConfig--; } -core.List buildUnnamed6528() => [ +core.List buildUnnamed6599() => [ buildGoogleCloudApigeeV1SchemaSchemaElement(), buildGoogleCloudApigeeV1SchemaSchemaElement(), ]; -void checkUnnamed6528(core.List o) { +void checkUnnamed6599(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1SchemaSchemaElement(o[0]); checkGoogleCloudApigeeV1SchemaSchemaElement(o[1]); } -core.List buildUnnamed6529() => [ +core.List buildUnnamed6600() => [ 'foo', 'foo', ]; -void checkUnnamed6529(core.List o) { +void checkUnnamed6600(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7280,12 +7548,12 @@ void checkUnnamed6529(core.List o) { ); } -core.List buildUnnamed6530() => [ +core.List buildUnnamed6601() => [ buildGoogleCloudApigeeV1SchemaSchemaElement(), buildGoogleCloudApigeeV1SchemaSchemaElement(), ]; -void checkUnnamed6530(core.List o) { +void checkUnnamed6601(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1SchemaSchemaElement(o[0]); checkGoogleCloudApigeeV1SchemaSchemaElement(o[1]); @@ -7296,9 +7564,9 @@ api.GoogleCloudApigeeV1Schema buildGoogleCloudApigeeV1Schema() { final o = api.GoogleCloudApigeeV1Schema(); buildCounterGoogleCloudApigeeV1Schema++; if (buildCounterGoogleCloudApigeeV1Schema < 3) { - o.dimensions = buildUnnamed6528(); - o.meta = buildUnnamed6529(); - o.metrics = buildUnnamed6530(); + o.dimensions = buildUnnamed6599(); + o.meta = buildUnnamed6600(); + o.metrics = buildUnnamed6601(); } buildCounterGoogleCloudApigeeV1Schema--; return o; @@ -7307,9 +7575,9 @@ api.GoogleCloudApigeeV1Schema buildGoogleCloudApigeeV1Schema() { void checkGoogleCloudApigeeV1Schema(api.GoogleCloudApigeeV1Schema o) { buildCounterGoogleCloudApigeeV1Schema++; if (buildCounterGoogleCloudApigeeV1Schema < 3) { - checkUnnamed6528(o.dimensions!); - checkUnnamed6529(o.meta!); - checkUnnamed6530(o.metrics!); + checkUnnamed6599(o.dimensions!); + checkUnnamed6600(o.meta!); + checkUnnamed6601(o.metrics!); } buildCounterGoogleCloudApigeeV1Schema--; } @@ -7374,12 +7642,12 @@ void checkGoogleCloudApigeeV1SchemaSchemaProperty( buildCounterGoogleCloudApigeeV1SchemaSchemaProperty--; } -core.List buildUnnamed6531() => [ +core.List buildUnnamed6602() => [ 'foo', 'foo', ]; -void checkUnnamed6531(core.List o) { +void checkUnnamed6602(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7397,7 +7665,7 @@ api.GoogleCloudApigeeV1ServiceIssuersMapping final o = api.GoogleCloudApigeeV1ServiceIssuersMapping(); buildCounterGoogleCloudApigeeV1ServiceIssuersMapping++; if (buildCounterGoogleCloudApigeeV1ServiceIssuersMapping < 3) { - o.emailIds = buildUnnamed6531(); + o.emailIds = buildUnnamed6602(); o.service = 'foo'; } buildCounterGoogleCloudApigeeV1ServiceIssuersMapping--; @@ -7408,7 +7676,7 @@ void checkGoogleCloudApigeeV1ServiceIssuersMapping( api.GoogleCloudApigeeV1ServiceIssuersMapping o) { buildCounterGoogleCloudApigeeV1ServiceIssuersMapping++; if (buildCounterGoogleCloudApigeeV1ServiceIssuersMapping < 3) { - checkUnnamed6531(o.emailIds!); + checkUnnamed6602(o.emailIds!); unittest.expect( o.service!, unittest.equals('foo'), @@ -7465,12 +7733,12 @@ void checkGoogleCloudApigeeV1SetAddonsRequest( buildCounterGoogleCloudApigeeV1SetAddonsRequest--; } -core.List buildUnnamed6532() => [ +core.List buildUnnamed6603() => [ 'foo', 'foo', ]; -void checkUnnamed6532(core.List o) { +void checkUnnamed6603(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7490,7 +7758,7 @@ api.GoogleCloudApigeeV1SharedFlow buildGoogleCloudApigeeV1SharedFlow() { o.latestRevisionId = 'foo'; o.metaData = buildGoogleCloudApigeeV1EntityMetadata(); o.name = 'foo'; - o.revision = buildUnnamed6532(); + o.revision = buildUnnamed6603(); } buildCounterGoogleCloudApigeeV1SharedFlow--; return o; @@ -7508,17 +7776,17 @@ void checkGoogleCloudApigeeV1SharedFlow(api.GoogleCloudApigeeV1SharedFlow o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6532(o.revision!); + checkUnnamed6603(o.revision!); } buildCounterGoogleCloudApigeeV1SharedFlow--; } -core.Map buildUnnamed6533() => { +core.Map buildUnnamed6604() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6533(core.Map o) { +void checkUnnamed6604(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7530,12 +7798,12 @@ void checkUnnamed6533(core.Map o) { ); } -core.List buildUnnamed6534() => [ +core.List buildUnnamed6605() => [ 'foo', 'foo', ]; -void checkUnnamed6534(core.List o) { +void checkUnnamed6605(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7547,12 +7815,12 @@ void checkUnnamed6534(core.List o) { ); } -core.List buildUnnamed6535() => [ +core.List buildUnnamed6606() => [ 'foo', 'foo', ]; -void checkUnnamed6535(core.List o) { +void checkUnnamed6606(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7564,12 +7832,12 @@ void checkUnnamed6535(core.List o) { ); } -core.List buildUnnamed6536() => [ +core.List buildUnnamed6607() => [ 'foo', 'foo', ]; -void checkUnnamed6536(core.List o) { +void checkUnnamed6607(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7592,14 +7860,14 @@ api.GoogleCloudApigeeV1SharedFlowRevision o.createdAt = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.entityMetaDataAsProperties = buildUnnamed6533(); + o.entityMetaDataAsProperties = buildUnnamed6604(); o.lastModifiedAt = 'foo'; o.name = 'foo'; - o.policies = buildUnnamed6534(); + o.policies = buildUnnamed6605(); o.resourceFiles = buildGoogleCloudApigeeV1ResourceFiles(); - o.resources = buildUnnamed6535(); + o.resources = buildUnnamed6606(); o.revision = 'foo'; - o.sharedFlows = buildUnnamed6536(); + o.sharedFlows = buildUnnamed6607(); o.type = 'foo'; } buildCounterGoogleCloudApigeeV1SharedFlowRevision--; @@ -7627,7 +7895,7 @@ void checkGoogleCloudApigeeV1SharedFlowRevision( o.displayName!, unittest.equals('foo'), ); - checkUnnamed6533(o.entityMetaDataAsProperties!); + checkUnnamed6604(o.entityMetaDataAsProperties!); unittest.expect( o.lastModifiedAt!, unittest.equals('foo'), @@ -7636,14 +7904,14 @@ void checkGoogleCloudApigeeV1SharedFlowRevision( o.name!, unittest.equals('foo'), ); - checkUnnamed6534(o.policies!); + checkUnnamed6605(o.policies!); checkGoogleCloudApigeeV1ResourceFiles(o.resourceFiles!); - checkUnnamed6535(o.resources!); + checkUnnamed6606(o.resources!); unittest.expect( o.revision!, unittest.equals('foo'), ); - checkUnnamed6536(o.sharedFlows!); + checkUnnamed6607(o.sharedFlows!); unittest.expect( o.type!, unittest.equals('foo'), @@ -7652,24 +7920,24 @@ void checkGoogleCloudApigeeV1SharedFlowRevision( buildCounterGoogleCloudApigeeV1SharedFlowRevision--; } -core.List buildUnnamed6537() => [ +core.List buildUnnamed6608() => [ buildGoogleCloudApigeeV1StatsEnvironmentStats(), buildGoogleCloudApigeeV1StatsEnvironmentStats(), ]; -void checkUnnamed6537( +void checkUnnamed6608( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1StatsEnvironmentStats(o[0]); checkGoogleCloudApigeeV1StatsEnvironmentStats(o[1]); } -core.List buildUnnamed6538() => [ +core.List buildUnnamed6609() => [ buildGoogleCloudApigeeV1StatsHostStats(), buildGoogleCloudApigeeV1StatsHostStats(), ]; -void checkUnnamed6538(core.List o) { +void checkUnnamed6609(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1StatsHostStats(o[0]); checkGoogleCloudApigeeV1StatsHostStats(o[1]); @@ -7680,8 +7948,8 @@ api.GoogleCloudApigeeV1Stats buildGoogleCloudApigeeV1Stats() { final o = api.GoogleCloudApigeeV1Stats(); buildCounterGoogleCloudApigeeV1Stats++; if (buildCounterGoogleCloudApigeeV1Stats < 3) { - o.environments = buildUnnamed6537(); - o.hosts = buildUnnamed6538(); + o.environments = buildUnnamed6608(); + o.hosts = buildUnnamed6609(); o.metaData = buildGoogleCloudApigeeV1Metadata(); } buildCounterGoogleCloudApigeeV1Stats--; @@ -7691,30 +7959,30 @@ api.GoogleCloudApigeeV1Stats buildGoogleCloudApigeeV1Stats() { void checkGoogleCloudApigeeV1Stats(api.GoogleCloudApigeeV1Stats o) { buildCounterGoogleCloudApigeeV1Stats++; if (buildCounterGoogleCloudApigeeV1Stats < 3) { - checkUnnamed6537(o.environments!); - checkUnnamed6538(o.hosts!); + checkUnnamed6608(o.environments!); + checkUnnamed6609(o.hosts!); checkGoogleCloudApigeeV1Metadata(o.metaData!); } buildCounterGoogleCloudApigeeV1Stats--; } -core.List buildUnnamed6539() => [ +core.List buildUnnamed6610() => [ buildGoogleCloudApigeeV1DimensionMetric(), buildGoogleCloudApigeeV1DimensionMetric(), ]; -void checkUnnamed6539(core.List o) { +void checkUnnamed6610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DimensionMetric(o[0]); checkGoogleCloudApigeeV1DimensionMetric(o[1]); } -core.List buildUnnamed6540() => [ +core.List buildUnnamed6611() => [ buildGoogleCloudApigeeV1Metric(), buildGoogleCloudApigeeV1Metric(), ]; -void checkUnnamed6540(core.List o) { +void checkUnnamed6611(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Metric(o[0]); checkGoogleCloudApigeeV1Metric(o[1]); @@ -7726,8 +7994,8 @@ api.GoogleCloudApigeeV1StatsEnvironmentStats final o = api.GoogleCloudApigeeV1StatsEnvironmentStats(); buildCounterGoogleCloudApigeeV1StatsEnvironmentStats++; if (buildCounterGoogleCloudApigeeV1StatsEnvironmentStats < 3) { - o.dimensions = buildUnnamed6539(); - o.metrics = buildUnnamed6540(); + o.dimensions = buildUnnamed6610(); + o.metrics = buildUnnamed6611(); o.name = 'foo'; } buildCounterGoogleCloudApigeeV1StatsEnvironmentStats--; @@ -7738,8 +8006,8 @@ void checkGoogleCloudApigeeV1StatsEnvironmentStats( api.GoogleCloudApigeeV1StatsEnvironmentStats o) { buildCounterGoogleCloudApigeeV1StatsEnvironmentStats++; if (buildCounterGoogleCloudApigeeV1StatsEnvironmentStats < 3) { - checkUnnamed6539(o.dimensions!); - checkUnnamed6540(o.metrics!); + checkUnnamed6610(o.dimensions!); + checkUnnamed6611(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7748,23 +8016,23 @@ void checkGoogleCloudApigeeV1StatsEnvironmentStats( buildCounterGoogleCloudApigeeV1StatsEnvironmentStats--; } -core.List buildUnnamed6541() => [ +core.List buildUnnamed6612() => [ buildGoogleCloudApigeeV1DimensionMetric(), buildGoogleCloudApigeeV1DimensionMetric(), ]; -void checkUnnamed6541(core.List o) { +void checkUnnamed6612(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1DimensionMetric(o[0]); checkGoogleCloudApigeeV1DimensionMetric(o[1]); } -core.List buildUnnamed6542() => [ +core.List buildUnnamed6613() => [ buildGoogleCloudApigeeV1Metric(), buildGoogleCloudApigeeV1Metric(), ]; -void checkUnnamed6542(core.List o) { +void checkUnnamed6613(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudApigeeV1Metric(o[0]); checkGoogleCloudApigeeV1Metric(o[1]); @@ -7775,8 +8043,8 @@ api.GoogleCloudApigeeV1StatsHostStats buildGoogleCloudApigeeV1StatsHostStats() { final o = api.GoogleCloudApigeeV1StatsHostStats(); buildCounterGoogleCloudApigeeV1StatsHostStats++; if (buildCounterGoogleCloudApigeeV1StatsHostStats < 3) { - o.dimensions = buildUnnamed6541(); - o.metrics = buildUnnamed6542(); + o.dimensions = buildUnnamed6612(); + o.metrics = buildUnnamed6613(); o.name = 'foo'; } buildCounterGoogleCloudApigeeV1StatsHostStats--; @@ -7787,8 +8055,8 @@ void checkGoogleCloudApigeeV1StatsHostStats( api.GoogleCloudApigeeV1StatsHostStats o) { buildCounterGoogleCloudApigeeV1StatsHostStats++; if (buildCounterGoogleCloudApigeeV1StatsHostStats < 3) { - checkUnnamed6541(o.dimensions!); - checkUnnamed6542(o.metrics!); + checkUnnamed6612(o.dimensions!); + checkUnnamed6613(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7820,12 +8088,12 @@ void checkGoogleCloudApigeeV1Subscription( buildCounterGoogleCloudApigeeV1Subscription--; } -core.List buildUnnamed6543() => [ +core.List buildUnnamed6614() => [ 'foo', 'foo', ]; -void checkUnnamed6543(core.List o) { +void checkUnnamed6614(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7844,7 +8112,7 @@ api.GoogleCloudApigeeV1SyncAuthorization buildCounterGoogleCloudApigeeV1SyncAuthorization++; if (buildCounterGoogleCloudApigeeV1SyncAuthorization < 3) { o.etag = 'foo'; - o.identities = buildUnnamed6543(); + o.identities = buildUnnamed6614(); } buildCounterGoogleCloudApigeeV1SyncAuthorization--; return o; @@ -7858,7 +8126,7 @@ void checkGoogleCloudApigeeV1SyncAuthorization( o.etag!, unittest.equals('foo'), ); - checkUnnamed6543(o.identities!); + checkUnnamed6614(o.identities!); } buildCounterGoogleCloudApigeeV1SyncAuthorization--; } @@ -7916,6 +8184,7 @@ api.GoogleCloudApigeeV1TargetServerConfig final o = api.GoogleCloudApigeeV1TargetServerConfig(); buildCounterGoogleCloudApigeeV1TargetServerConfig++; if (buildCounterGoogleCloudApigeeV1TargetServerConfig < 3) { + o.enabled = true; o.host = 'foo'; o.name = 'foo'; o.port = 42; @@ -7930,6 +8199,7 @@ void checkGoogleCloudApigeeV1TargetServerConfig( api.GoogleCloudApigeeV1TargetServerConfig o) { buildCounterGoogleCloudApigeeV1TargetServerConfig++; if (buildCounterGoogleCloudApigeeV1TargetServerConfig < 3) { + unittest.expect(o.enabled!, unittest.isTrue); unittest.expect( o.host!, unittest.equals('foo'), @@ -7980,12 +8250,12 @@ void checkGoogleCloudApigeeV1TestDatastoreResponse( buildCounterGoogleCloudApigeeV1TestDatastoreResponse--; } -core.List buildUnnamed6544() => [ +core.List buildUnnamed6615() => [ 'foo', 'foo', ]; -void checkUnnamed6544(core.List o) { +void checkUnnamed6615(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7997,12 +8267,12 @@ void checkUnnamed6544(core.List o) { ); } -core.List buildUnnamed6545() => [ +core.List buildUnnamed6616() => [ 'foo', 'foo', ]; -void checkUnnamed6545(core.List o) { +void checkUnnamed6616(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8019,14 +8289,14 @@ api.GoogleCloudApigeeV1TlsInfo buildGoogleCloudApigeeV1TlsInfo() { final o = api.GoogleCloudApigeeV1TlsInfo(); buildCounterGoogleCloudApigeeV1TlsInfo++; if (buildCounterGoogleCloudApigeeV1TlsInfo < 3) { - o.ciphers = buildUnnamed6544(); + o.ciphers = buildUnnamed6615(); o.clientAuthEnabled = true; o.commonName = buildGoogleCloudApigeeV1TlsInfoCommonName(); o.enabled = true; o.ignoreValidationErrors = true; o.keyAlias = 'foo'; o.keyStore = 'foo'; - o.protocols = buildUnnamed6545(); + o.protocols = buildUnnamed6616(); o.trustStore = 'foo'; } buildCounterGoogleCloudApigeeV1TlsInfo--; @@ -8036,7 +8306,7 @@ api.GoogleCloudApigeeV1TlsInfo buildGoogleCloudApigeeV1TlsInfo() { void checkGoogleCloudApigeeV1TlsInfo(api.GoogleCloudApigeeV1TlsInfo o) { buildCounterGoogleCloudApigeeV1TlsInfo++; if (buildCounterGoogleCloudApigeeV1TlsInfo < 3) { - checkUnnamed6544(o.ciphers!); + checkUnnamed6615(o.ciphers!); unittest.expect(o.clientAuthEnabled!, unittest.isTrue); checkGoogleCloudApigeeV1TlsInfoCommonName(o.commonName!); unittest.expect(o.enabled!, unittest.isTrue); @@ -8049,7 +8319,7 @@ void checkGoogleCloudApigeeV1TlsInfo(api.GoogleCloudApigeeV1TlsInfo o) { o.keyStore!, unittest.equals('foo'), ); - checkUnnamed6545(o.protocols!); + checkUnnamed6616(o.protocols!); unittest.expect( o.trustStore!, unittest.equals('foo'), @@ -8084,12 +8354,12 @@ void checkGoogleCloudApigeeV1TlsInfoCommonName( buildCounterGoogleCloudApigeeV1TlsInfoCommonName--; } -core.List buildUnnamed6546() => [ +core.List buildUnnamed6617() => [ 'foo', 'foo', ]; -void checkUnnamed6546(core.List o) { +void checkUnnamed6617(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8101,12 +8371,12 @@ void checkUnnamed6546(core.List o) { ); } -core.List buildUnnamed6547() => [ +core.List buildUnnamed6618() => [ 'foo', 'foo', ]; -void checkUnnamed6547(core.List o) { +void checkUnnamed6618(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8123,14 +8393,14 @@ api.GoogleCloudApigeeV1TlsInfoConfig buildGoogleCloudApigeeV1TlsInfoConfig() { final o = api.GoogleCloudApigeeV1TlsInfoConfig(); buildCounterGoogleCloudApigeeV1TlsInfoConfig++; if (buildCounterGoogleCloudApigeeV1TlsInfoConfig < 3) { - o.ciphers = buildUnnamed6546(); + o.ciphers = buildUnnamed6617(); o.clientAuthEnabled = true; o.commonName = buildGoogleCloudApigeeV1CommonNameConfig(); o.enabled = true; o.ignoreValidationErrors = true; o.keyAlias = 'foo'; o.keyAliasReference = buildGoogleCloudApigeeV1KeyAliasReference(); - o.protocols = buildUnnamed6547(); + o.protocols = buildUnnamed6618(); o.trustStore = 'foo'; } buildCounterGoogleCloudApigeeV1TlsInfoConfig--; @@ -8141,7 +8411,7 @@ void checkGoogleCloudApigeeV1TlsInfoConfig( api.GoogleCloudApigeeV1TlsInfoConfig o) { buildCounterGoogleCloudApigeeV1TlsInfoConfig++; if (buildCounterGoogleCloudApigeeV1TlsInfoConfig < 3) { - checkUnnamed6546(o.ciphers!); + checkUnnamed6617(o.ciphers!); unittest.expect(o.clientAuthEnabled!, unittest.isTrue); checkGoogleCloudApigeeV1CommonNameConfig(o.commonName!); unittest.expect(o.enabled!, unittest.isTrue); @@ -8151,7 +8421,7 @@ void checkGoogleCloudApigeeV1TlsInfoConfig( unittest.equals('foo'), ); checkGoogleCloudApigeeV1KeyAliasReference(o.keyAliasReference!); - checkUnnamed6547(o.protocols!); + checkUnnamed6618(o.protocols!); unittest.expect( o.trustStore!, unittest.equals('foo'), @@ -8286,12 +8556,12 @@ void checkGoogleCloudApigeeV1UpdateError(api.GoogleCloudApigeeV1UpdateError o) { buildCounterGoogleCloudApigeeV1UpdateError--; } -core.List buildUnnamed6548() => [ +core.List buildUnnamed6619() => [ buildGoogleIamV1AuditLogConfig(), buildGoogleIamV1AuditLogConfig(), ]; -void checkUnnamed6548(core.List o) { +void checkUnnamed6619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditLogConfig(o[0]); checkGoogleIamV1AuditLogConfig(o[1]); @@ -8302,7 +8572,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { final o = api.GoogleIamV1AuditConfig(); buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - o.auditLogConfigs = buildUnnamed6548(); + o.auditLogConfigs = buildUnnamed6619(); o.service = 'foo'; } buildCounterGoogleIamV1AuditConfig--; @@ -8312,7 +8582,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - checkUnnamed6548(o.auditLogConfigs!); + checkUnnamed6619(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -8321,12 +8591,12 @@ void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig--; } -core.List buildUnnamed6549() => [ +core.List buildUnnamed6620() => [ 'foo', 'foo', ]; -void checkUnnamed6549(core.List o) { +void checkUnnamed6620(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8343,7 +8613,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { final o = api.GoogleIamV1AuditLogConfig(); buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed6549(); + o.exemptedMembers = buildUnnamed6620(); o.logType = 'foo'; } buildCounterGoogleIamV1AuditLogConfig--; @@ -8353,7 +8623,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - checkUnnamed6549(o.exemptedMembers!); + checkUnnamed6620(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -8362,12 +8632,12 @@ void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig--; } -core.List buildUnnamed6550() => [ +core.List buildUnnamed6621() => [ 'foo', 'foo', ]; -void checkUnnamed6550(core.List o) { +void checkUnnamed6621(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8385,7 +8655,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed6550(); + o.members = buildUnnamed6621(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -8396,7 +8666,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed6550(o.members!); + checkUnnamed6621(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -8405,23 +8675,23 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed6551() => [ +core.List buildUnnamed6622() => [ buildGoogleIamV1AuditConfig(), buildGoogleIamV1AuditConfig(), ]; -void checkUnnamed6551(core.List o) { +void checkUnnamed6622(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditConfig(o[0]); checkGoogleIamV1AuditConfig(o[1]); } -core.List buildUnnamed6552() => [ +core.List buildUnnamed6623() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed6552(core.List o) { +void checkUnnamed6623(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -8432,8 +8702,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.auditConfigs = buildUnnamed6551(); - o.bindings = buildUnnamed6552(); + o.auditConfigs = buildUnnamed6622(); + o.bindings = buildUnnamed6623(); o.etag = 'foo'; o.version = 42; } @@ -8444,8 +8714,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed6551(o.auditConfigs!); - checkUnnamed6552(o.bindings!); + checkUnnamed6622(o.auditConfigs!); + checkUnnamed6623(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -8482,12 +8752,12 @@ void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { buildCounterGoogleIamV1SetIamPolicyRequest--; } -core.List buildUnnamed6553() => [ +core.List buildUnnamed6624() => [ 'foo', 'foo', ]; -void checkUnnamed6553(core.List o) { +void checkUnnamed6624(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8505,7 +8775,7 @@ api.GoogleIamV1TestIamPermissionsRequest final o = api.GoogleIamV1TestIamPermissionsRequest(); buildCounterGoogleIamV1TestIamPermissionsRequest++; if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed6553(); + o.permissions = buildUnnamed6624(); } buildCounterGoogleIamV1TestIamPermissionsRequest--; return o; @@ -8515,17 +8785,17 @@ void checkGoogleIamV1TestIamPermissionsRequest( api.GoogleIamV1TestIamPermissionsRequest o) { buildCounterGoogleIamV1TestIamPermissionsRequest++; if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { - checkUnnamed6553(o.permissions!); + checkUnnamed6624(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsRequest--; } -core.List buildUnnamed6554() => [ +core.List buildUnnamed6625() => [ 'foo', 'foo', ]; -void checkUnnamed6554(core.List o) { +void checkUnnamed6625(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8543,7 +8813,7 @@ api.GoogleIamV1TestIamPermissionsResponse final o = api.GoogleIamV1TestIamPermissionsResponse(); buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed6554(); + o.permissions = buildUnnamed6625(); } buildCounterGoogleIamV1TestIamPermissionsResponse--; return o; @@ -8553,17 +8823,17 @@ void checkGoogleIamV1TestIamPermissionsResponse( api.GoogleIamV1TestIamPermissionsResponse o) { buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - checkUnnamed6554(o.permissions!); + checkUnnamed6625(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsResponse--; } -core.List buildUnnamed6555() => [ +core.List buildUnnamed6626() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed6555(core.List o) { +void checkUnnamed6626(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -8576,7 +8846,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6555(); + o.operations = buildUnnamed6626(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -8590,12 +8860,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6555(o.operations!); + checkUnnamed6626(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed6556() => { +core.Map buildUnnamed6627() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8608,7 +8878,7 @@ core.Map buildUnnamed6556() => { }, }; -void checkUnnamed6556(core.Map o) { +void checkUnnamed6627(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted14 = (o['x']!) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); @@ -8640,7 +8910,7 @@ void checkUnnamed6556(core.Map o) { ); } -core.Map buildUnnamed6557() => { +core.Map buildUnnamed6628() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8653,7 +8923,7 @@ core.Map buildUnnamed6557() => { }, }; -void checkUnnamed6557(core.Map o) { +void checkUnnamed6628(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted16 = (o['x']!) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); @@ -8692,9 +8962,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed6556(); + o.metadata = buildUnnamed6627(); o.name = 'foo'; - o.response = buildUnnamed6557(); + o.response = buildUnnamed6628(); } buildCounterGoogleLongrunningOperation--; return o; @@ -8705,12 +8975,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed6556(o.metadata!); + checkUnnamed6627(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6557(o.response!); + checkUnnamed6628(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -8730,12 +9000,12 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed6558() => [ +core.List buildUnnamed6629() => [ buildGoogleRpcPreconditionFailureViolation(), buildGoogleRpcPreconditionFailureViolation(), ]; -void checkUnnamed6558(core.List o) { +void checkUnnamed6629(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcPreconditionFailureViolation(o[0]); checkGoogleRpcPreconditionFailureViolation(o[1]); @@ -8746,7 +9016,7 @@ api.GoogleRpcPreconditionFailure buildGoogleRpcPreconditionFailure() { final o = api.GoogleRpcPreconditionFailure(); buildCounterGoogleRpcPreconditionFailure++; if (buildCounterGoogleRpcPreconditionFailure < 3) { - o.violations = buildUnnamed6558(); + o.violations = buildUnnamed6629(); } buildCounterGoogleRpcPreconditionFailure--; return o; @@ -8755,7 +9025,7 @@ api.GoogleRpcPreconditionFailure buildGoogleRpcPreconditionFailure() { void checkGoogleRpcPreconditionFailure(api.GoogleRpcPreconditionFailure o) { buildCounterGoogleRpcPreconditionFailure++; if (buildCounterGoogleRpcPreconditionFailure < 3) { - checkUnnamed6558(o.violations!); + checkUnnamed6629(o.violations!); } buildCounterGoogleRpcPreconditionFailure--; } @@ -8794,7 +9064,7 @@ void checkGoogleRpcPreconditionFailureViolation( buildCounterGoogleRpcPreconditionFailureViolation--; } -core.Map buildUnnamed6559() => { +core.Map buildUnnamed6630() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8807,7 +9077,7 @@ core.Map buildUnnamed6559() => { }, }; -void checkUnnamed6559(core.Map o) { +void checkUnnamed6630(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted18 = (o['x']!) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); @@ -8839,15 +9109,15 @@ void checkUnnamed6559(core.Map o) { ); } -core.List> buildUnnamed6560() => [ - buildUnnamed6559(), - buildUnnamed6559(), +core.List> buildUnnamed6631() => [ + buildUnnamed6630(), + buildUnnamed6630(), ]; -void checkUnnamed6560(core.List> o) { +void checkUnnamed6631(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6559(o[0]); - checkUnnamed6559(o[1]); + checkUnnamed6630(o[0]); + checkUnnamed6630(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -8856,7 +9126,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed6560(); + o.details = buildUnnamed6631(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -8870,7 +9140,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed6560(o.details!); + checkUnnamed6631(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -8949,6 +9219,26 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { } void main() { + unittest.group('obj-schema-EdgeConfigstoreBundleBadBundle', () { + unittest.test('to-json--from-json', () async { + final o = buildEdgeConfigstoreBundleBadBundle(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EdgeConfigstoreBundleBadBundle.fromJson( + oJson as core.Map); + checkEdgeConfigstoreBundleBadBundle(od); + }); + }); + + unittest.group('obj-schema-EdgeConfigstoreBundleBadBundleViolation', () { + unittest.test('to-json--from-json', () async { + final o = buildEdgeConfigstoreBundleBadBundleViolation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EdgeConfigstoreBundleBadBundleViolation.fromJson( + oJson as core.Map); + checkEdgeConfigstoreBundleBadBundleViolation(od); + }); + }); + unittest.group('obj-schema-GoogleApiHttpBody', () { unittest.test('to-json--from-json', () async { final o = buildGoogleApiHttpBody(); @@ -9129,6 +9419,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudApigeeV1ArchiveDeployment', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudApigeeV1ArchiveDeployment(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudApigeeV1ArchiveDeployment.fromJson( + oJson as core.Map); + checkGoogleCloudApigeeV1ArchiveDeployment(od); + }); + }); + unittest.group('obj-schema-GoogleCloudApigeeV1AsyncQuery', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudApigeeV1AsyncQuery(); @@ -9592,6 +9892,48 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudApigeeV1GenerateDownloadUrlRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudApigeeV1GenerateDownloadUrlRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudApigeeV1GenerateDownloadUrlRequest.fromJson( + oJson as core.Map); + checkGoogleCloudApigeeV1GenerateDownloadUrlRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudApigeeV1GenerateDownloadUrlResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudApigeeV1GenerateDownloadUrlResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudApigeeV1GenerateDownloadUrlResponse.fromJson( + oJson as core.Map); + checkGoogleCloudApigeeV1GenerateDownloadUrlResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudApigeeV1GenerateUploadUrlRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudApigeeV1GenerateUploadUrlRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudApigeeV1GenerateUploadUrlRequest.fromJson( + oJson as core.Map); + checkGoogleCloudApigeeV1GenerateUploadUrlRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudApigeeV1GenerateUploadUrlResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudApigeeV1GenerateUploadUrlResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudApigeeV1GenerateUploadUrlResponse.fromJson( + oJson as core.Map); + checkGoogleCloudApigeeV1GenerateUploadUrlResponse(od); + }); + }); + unittest.group('obj-schema-GoogleCloudApigeeV1GetSyncAuthorizationRequest', () { unittest.test('to-json--from-json', () async { @@ -9699,16 +10041,6 @@ void main() { }); }); - unittest.group('obj-schema-GoogleCloudApigeeV1IntegrationConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudApigeeV1IntegrationConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudApigeeV1IntegrationConfig.fromJson( - oJson as core.Map); - checkGoogleCloudApigeeV1IntegrationConfig(od); - }); - }); - unittest.group('obj-schema-GoogleCloudApigeeV1KeyAliasReference', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudApigeeV1KeyAliasReference(); @@ -9789,6 +10121,17 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudApigeeV1ListArchiveDeploymentsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudApigeeV1ListArchiveDeploymentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudApigeeV1ListArchiveDeploymentsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudApigeeV1ListArchiveDeploymentsResponse(od); + }); + }); + unittest.group('obj-schema-GoogleCloudApigeeV1ListAsyncQueriesResponse', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudApigeeV1ListAsyncQueriesResponse(); @@ -12951,6 +13294,70 @@ void main() { checkGoogleCloudApigeeV1ListApiProxiesResponse( response as api.GoogleCloudApigeeV1ListApiProxiesResponse); }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.apis; + final arg_request = buildGoogleCloudApigeeV1ApiProxy(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1ApiProxy.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1ApiProxy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1ApiProxy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudApigeeV1ApiProxy( + response as api.GoogleCloudApigeeV1ApiProxy); + }); }); unittest.group('resource-OrganizationsApisDeploymentsResource', () { @@ -17653,6 +18060,7 @@ void main() { final arg_name = 'foo'; final arg_override = true; final arg_sequencedRollout = true; + final arg_serviceAccount = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -17694,6 +18102,10 @@ void main() { queryMap['sequencedRollout']!.first, unittest.equals('$arg_sequencedRollout'), ); + unittest.expect( + queryMap['serviceAccount']!.first, + unittest.equals(arg_serviceAccount), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -17708,6 +18120,7 @@ void main() { final response = await res.deploy(arg_name, override: arg_override, sequencedRollout: arg_sequencedRollout, + serviceAccount: arg_serviceAccount, $fields: arg_$fields); checkGoogleCloudApigeeV1Deployment( response as api.GoogleCloudApigeeV1Deployment); @@ -18279,13 +18692,20 @@ void main() { }); }); - unittest.group('resource-OrganizationsEnvironmentsCachesResource', () { - unittest.test('method--delete', () async { + unittest.group('resource-OrganizationsEnvironmentsArchiveDeploymentsResource', + () { + unittest.test('method--create', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.caches; - final arg_name = 'foo'; + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; + final arg_request = buildGoogleCloudApigeeV1ArchiveDeployment(); + final arg_parent = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1ArchiveDeployment.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1ArchiveDeployment(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -18325,20 +18745,20 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleProtobufEmpty()); + final resp = convert.json.encode(buildGoogleLongrunningOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.delete(arg_name, $fields: arg_$fields); - checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); }); - }); - unittest.group('resource-OrganizationsEnvironmentsDeploymentsResource', () { - unittest.test('method--list', () async { + unittest.test('method--delete', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.deployments; - final arg_parent = 'foo'; - final arg_sharedFlows = true; + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; + final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -18372,10 +18792,6 @@ void main() { ); } } - unittest.expect( - queryMap['sharedFlows']!.first, - unittest.equals('$arg_sharedFlows'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -18384,28 +18800,24 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json - .encode(buildGoogleCloudApigeeV1ListDeploymentsResponse()); + final resp = convert.json.encode(buildGoogleProtobufEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.list(arg_parent, - sharedFlows: arg_sharedFlows, $fields: arg_$fields); - checkGoogleCloudApigeeV1ListDeploymentsResponse( - response as api.GoogleCloudApigeeV1ListDeploymentsResponse); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); - }); - unittest.group('resource-OrganizationsEnvironmentsFlowhooksResource', () { - unittest.test('method--attachSharedFlowToFlowHook', () async { + unittest.test('method--generateDownloadUrl', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.flowhooks; - final arg_request = buildGoogleCloudApigeeV1FlowHook(); + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; + final arg_request = buildGoogleCloudApigeeV1GenerateDownloadUrlRequest(); final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudApigeeV1FlowHook.fromJson( + final obj = api.GoogleCloudApigeeV1GenerateDownloadUrlRequest.fromJson( json as core.Map); - checkGoogleCloudApigeeV1FlowHook(obj); + checkGoogleCloudApigeeV1GenerateDownloadUrlRequest(obj); final path = (req.url).path; var pathOffset = 0; @@ -18446,22 +18858,28 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1FlowHook()); + final resp = convert.json + .encode(buildGoogleCloudApigeeV1GenerateDownloadUrlResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.attachSharedFlowToFlowHook( - arg_request, arg_name, + final response = await res.generateDownloadUrl(arg_request, arg_name, $fields: arg_$fields); - checkGoogleCloudApigeeV1FlowHook( - response as api.GoogleCloudApigeeV1FlowHook); + checkGoogleCloudApigeeV1GenerateDownloadUrlResponse( + response as api.GoogleCloudApigeeV1GenerateDownloadUrlResponse); }); - unittest.test('method--detachSharedFlowFromFlowHook', () async { + unittest.test('method--generateUploadUrl', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.flowhooks; - final arg_name = 'foo'; + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; + final arg_request = buildGoogleCloudApigeeV1GenerateUploadUrlRequest(); + final arg_parent = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1GenerateUploadUrlRequest.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1GenerateUploadUrlRequest(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -18501,18 +18919,20 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1FlowHook()); + final resp = convert.json + .encode(buildGoogleCloudApigeeV1GenerateUploadUrlResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.detachSharedFlowFromFlowHook(arg_name, + final response = await res.generateUploadUrl(arg_request, arg_parent, $fields: arg_$fields); - checkGoogleCloudApigeeV1FlowHook( - response as api.GoogleCloudApigeeV1FlowHook); + checkGoogleCloudApigeeV1GenerateUploadUrlResponse( + response as api.GoogleCloudApigeeV1GenerateUploadUrlResponse); }); unittest.test('method--get', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.flowhooks; + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -18555,28 +18975,25 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1FlowHook()); + final resp = + convert.json.encode(buildGoogleCloudApigeeV1ArchiveDeployment()); return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.get(arg_name, $fields: arg_$fields); - checkGoogleCloudApigeeV1FlowHook( - response as api.GoogleCloudApigeeV1FlowHook); + checkGoogleCloudApigeeV1ArchiveDeployment( + response as api.GoogleCloudApigeeV1ArchiveDeployment); }); - }); - unittest.group('resource-OrganizationsEnvironmentsKeystoresResource', () { - unittest.test('method--create', () async { + unittest.test('method--list', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.keystores; - final arg_request = buildGoogleCloudApigeeV1Keystore(); + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; final arg_parent = 'foo'; - final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudApigeeV1Keystore.fromJson( - json as core.Map); - checkGoogleCloudApigeeV1Keystore(obj); - final path = (req.url).path; var pathOffset = 0; core.int index; @@ -18609,8 +19026,16 @@ void main() { } } unittest.expect( - queryMap['name']!.first, - unittest.equals(arg_name), + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), ); unittest.expect( queryMap['fields']!.first, @@ -18620,21 +19045,32 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1Keystore()); + final resp = convert.json + .encode(buildGoogleCloudApigeeV1ListArchiveDeploymentsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.create(arg_request, arg_parent, - name: arg_name, $fields: arg_$fields); - checkGoogleCloudApigeeV1Keystore( - response as api.GoogleCloudApigeeV1Keystore); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudApigeeV1ListArchiveDeploymentsResponse( + response as api.GoogleCloudApigeeV1ListArchiveDeploymentsResponse); }); - unittest.test('method--delete', () async { + unittest.test('method--patch', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.keystores; + final res = + api.ApigeeApi(mock).organizations.environments.archiveDeployments; + final arg_request = buildGoogleCloudApigeeV1ArchiveDeployment(); final arg_name = 'foo'; + final arg_updateMask = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1ArchiveDeployment.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1ArchiveDeployment(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -18666,6 +19102,10 @@ void main() { ); } } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -18674,17 +19114,21 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1Keystore()); + final resp = + convert.json.encode(buildGoogleCloudApigeeV1ArchiveDeployment()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.delete(arg_name, $fields: arg_$fields); - checkGoogleCloudApigeeV1Keystore( - response as api.GoogleCloudApigeeV1Keystore); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudApigeeV1ArchiveDeployment( + response as api.GoogleCloudApigeeV1ArchiveDeployment); }); + }); - unittest.test('method--get', () async { + unittest.group('resource-OrganizationsEnvironmentsCachesResource', () { + unittest.test('method--delete', () async { final mock = HttpServerMock(); - final res = api.ApigeeApi(mock).organizations.environments.keystores; + final res = api.ApigeeApi(mock).organizations.environments.caches; final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -18727,34 +19171,22 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1Keystore()); + final resp = convert.json.encode(buildGoogleProtobufEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.get(arg_name, $fields: arg_$fields); - checkGoogleCloudApigeeV1Keystore( - response as api.GoogleCloudApigeeV1Keystore); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); }); - unittest.group('resource-OrganizationsEnvironmentsKeystoresAliasesResource', - () { - unittest.test('method--create', () async { + unittest.group('resource-OrganizationsEnvironmentsDeploymentsResource', () { + unittest.test('method--list', () async { final mock = HttpServerMock(); - final res = - api.ApigeeApi(mock).organizations.environments.keystores.aliases; - final arg_request = buildGoogleApiHttpBody(); + final res = api.ApigeeApi(mock).organizations.environments.deployments; final arg_parent = 'foo'; - final arg_P_password = 'foo'; - final arg_alias = 'foo'; - final arg_format = 'foo'; - final arg_ignoreExpiryValidation = true; - final arg_ignoreNewlineValidation = true; + final arg_sharedFlows = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleApiHttpBody.fromJson( - json as core.Map); - checkGoogleApiHttpBody(obj); - final path = (req.url).path; var pathOffset = 0; core.int index; @@ -18787,24 +19219,8 @@ void main() { } } unittest.expect( - queryMap['_password']!.first, - unittest.equals(arg_P_password), - ); - unittest.expect( - queryMap['alias']!.first, - unittest.equals(arg_alias), - ); - unittest.expect( - queryMap['format']!.first, - unittest.equals(arg_format), - ); - unittest.expect( - queryMap['ignoreExpiryValidation']!.first, - unittest.equals('$arg_ignoreExpiryValidation'), - ); - unittest.expect( - queryMap['ignoreNewlineValidation']!.first, - unittest.equals('$arg_ignoreNewlineValidation'), + queryMap['sharedFlows']!.first, + unittest.equals('$arg_sharedFlows'), ); unittest.expect( queryMap['fields']!.first, @@ -18814,19 +19230,449 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudApigeeV1Alias()); + final resp = convert.json + .encode(buildGoogleCloudApigeeV1ListDeploymentsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.create(arg_request, arg_parent, - P_password: arg_P_password, - alias: arg_alias, - format: arg_format, - ignoreExpiryValidation: arg_ignoreExpiryValidation, - ignoreNewlineValidation: arg_ignoreNewlineValidation, - $fields: arg_$fields); - checkGoogleCloudApigeeV1Alias(response as api.GoogleCloudApigeeV1Alias); - }); - + final response = await res.list(arg_parent, + sharedFlows: arg_sharedFlows, $fields: arg_$fields); + checkGoogleCloudApigeeV1ListDeploymentsResponse( + response as api.GoogleCloudApigeeV1ListDeploymentsResponse); + }); + }); + + unittest.group('resource-OrganizationsEnvironmentsFlowhooksResource', () { + unittest.test('method--attachSharedFlowToFlowHook', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.environments.flowhooks; + final arg_request = buildGoogleCloudApigeeV1FlowHook(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1FlowHook.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1FlowHook(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1FlowHook()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.attachSharedFlowToFlowHook( + arg_request, arg_name, + $fields: arg_$fields); + checkGoogleCloudApigeeV1FlowHook( + response as api.GoogleCloudApigeeV1FlowHook); + }); + + unittest.test('method--detachSharedFlowFromFlowHook', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.environments.flowhooks; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1FlowHook()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.detachSharedFlowFromFlowHook(arg_name, + $fields: arg_$fields); + checkGoogleCloudApigeeV1FlowHook( + response as api.GoogleCloudApigeeV1FlowHook); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.environments.flowhooks; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1FlowHook()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudApigeeV1FlowHook( + response as api.GoogleCloudApigeeV1FlowHook); + }); + }); + + unittest.group('resource-OrganizationsEnvironmentsKeystoresResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.environments.keystores; + final arg_request = buildGoogleCloudApigeeV1Keystore(); + final arg_parent = 'foo'; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1Keystore.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1Keystore(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['name']!.first, + unittest.equals(arg_name), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1Keystore()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + name: arg_name, $fields: arg_$fields); + checkGoogleCloudApigeeV1Keystore( + response as api.GoogleCloudApigeeV1Keystore); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.environments.keystores; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1Keystore()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleCloudApigeeV1Keystore( + response as api.GoogleCloudApigeeV1Keystore); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.environments.keystores; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1Keystore()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudApigeeV1Keystore( + response as api.GoogleCloudApigeeV1Keystore); + }); + }); + + unittest.group('resource-OrganizationsEnvironmentsKeystoresAliasesResource', + () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.ApigeeApi(mock).organizations.environments.keystores.aliases; + final arg_request = buildGoogleApiHttpBody(); + final arg_parent = 'foo'; + final arg_P_password = 'foo'; + final arg_alias = 'foo'; + final arg_format = 'foo'; + final arg_ignoreExpiryValidation = true; + final arg_ignoreNewlineValidation = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleApiHttpBody.fromJson( + json as core.Map); + checkGoogleApiHttpBody(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['_password']!.first, + unittest.equals(arg_P_password), + ); + unittest.expect( + queryMap['alias']!.first, + unittest.equals(arg_alias), + ); + unittest.expect( + queryMap['format']!.first, + unittest.equals(arg_format), + ); + unittest.expect( + queryMap['ignoreExpiryValidation']!.first, + unittest.equals('$arg_ignoreExpiryValidation'), + ); + unittest.expect( + queryMap['ignoreNewlineValidation']!.first, + unittest.equals('$arg_ignoreNewlineValidation'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudApigeeV1Alias()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + P_password: arg_P_password, + alias: arg_alias, + format: arg_format, + ignoreExpiryValidation: arg_ignoreExpiryValidation, + ignoreNewlineValidation: arg_ignoreNewlineValidation, + $fields: arg_$fields); + checkGoogleCloudApigeeV1Alias(response as api.GoogleCloudApigeeV1Alias); + }); + unittest.test('method--csr', () async { final mock = HttpServerMock(); final res = @@ -20288,6 +21134,7 @@ void main() { api.ApigeeApi(mock).organizations.environments.sharedflows.revisions; final arg_name = 'foo'; final arg_override = true; + final arg_serviceAccount = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -20325,6 +21172,10 @@ void main() { queryMap['override']!.first, unittest.equals('$arg_override'), ); + unittest.expect( + queryMap['serviceAccount']!.first, + unittest.equals(arg_serviceAccount), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -20337,7 +21188,9 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.deploy(arg_name, - override: arg_override, $fields: arg_$fields); + override: arg_override, + serviceAccount: arg_serviceAccount, + $fields: arg_$fields); checkGoogleCloudApigeeV1Deployment( response as api.GoogleCloudApigeeV1Deployment); }); @@ -21825,6 +22678,70 @@ void main() { response as api.GoogleCloudApigeeV1ListInstancesResponse); }); + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.ApigeeApi(mock).organizations.instances; + final arg_request = buildGoogleCloudApigeeV1Instance(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudApigeeV1Instance.fromJson( + json as core.Map); + checkGoogleCloudApigeeV1Instance(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + unittest.test('method--reportStatus', () async { final mock = HttpServerMock(); final res = api.ApigeeApi(mock).organizations.instances; diff --git a/generated/googleapis/test/apikeys/v2_test.dart b/generated/googleapis/test/apikeys/v2_test.dart index 2209b1fbf..b41140415 100644 --- a/generated/googleapis/test/apikeys/v2_test.dart +++ b/generated/googleapis/test/apikeys/v2_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed6272() => { +core.Map buildUnnamed6339() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.Map buildUnnamed6272() => { }, }; -void checkUnnamed6272(core.Map o) { +void checkUnnamed6339(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -71,7 +71,7 @@ void checkUnnamed6272(core.Map o) { ); } -core.Map buildUnnamed6273() => { +core.Map buildUnnamed6340() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -84,7 +84,7 @@ core.Map buildUnnamed6273() => { }, }; -void checkUnnamed6273(core.Map o) { +void checkUnnamed6340(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -123,9 +123,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6272(); + o.metadata = buildUnnamed6339(); o.name = 'foo'; - o.response = buildUnnamed6273(); + o.response = buildUnnamed6340(); } buildCounterOperation--; return o; @@ -136,17 +136,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6272(o.metadata!); + checkUnnamed6339(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6273(o.response!); + checkUnnamed6340(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed6274() => { +core.Map buildUnnamed6341() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -159,7 +159,7 @@ core.Map buildUnnamed6274() => { }, }; -void checkUnnamed6274(core.Map o) { +void checkUnnamed6341(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -191,15 +191,15 @@ void checkUnnamed6274(core.Map o) { ); } -core.List> buildUnnamed6275() => [ - buildUnnamed6274(), - buildUnnamed6274(), +core.List> buildUnnamed6342() => [ + buildUnnamed6341(), + buildUnnamed6341(), ]; -void checkUnnamed6275(core.List> o) { +void checkUnnamed6342(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6274(o[0]); - checkUnnamed6274(o[1]); + checkUnnamed6341(o[0]); + checkUnnamed6341(o[1]); } core.int buildCounterStatus = 0; @@ -208,7 +208,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6275(); + o.details = buildUnnamed6342(); o.message = 'foo'; } buildCounterStatus--; @@ -222,7 +222,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6275(o.details!); + checkUnnamed6342(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -258,12 +258,12 @@ void checkV2AndroidApplication(api.V2AndroidApplication o) { buildCounterV2AndroidApplication--; } -core.List buildUnnamed6276() => [ +core.List buildUnnamed6343() => [ buildV2AndroidApplication(), buildV2AndroidApplication(), ]; -void checkUnnamed6276(core.List o) { +void checkUnnamed6343(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV2AndroidApplication(o[0]); checkV2AndroidApplication(o[1]); @@ -274,7 +274,7 @@ api.V2AndroidKeyRestrictions buildV2AndroidKeyRestrictions() { final o = api.V2AndroidKeyRestrictions(); buildCounterV2AndroidKeyRestrictions++; if (buildCounterV2AndroidKeyRestrictions < 3) { - o.allowedApplications = buildUnnamed6276(); + o.allowedApplications = buildUnnamed6343(); } buildCounterV2AndroidKeyRestrictions--; return o; @@ -283,17 +283,17 @@ api.V2AndroidKeyRestrictions buildV2AndroidKeyRestrictions() { void checkV2AndroidKeyRestrictions(api.V2AndroidKeyRestrictions o) { buildCounterV2AndroidKeyRestrictions++; if (buildCounterV2AndroidKeyRestrictions < 3) { - checkUnnamed6276(o.allowedApplications!); + checkUnnamed6343(o.allowedApplications!); } buildCounterV2AndroidKeyRestrictions--; } -core.List buildUnnamed6277() => [ +core.List buildUnnamed6344() => [ 'foo', 'foo', ]; -void checkUnnamed6277(core.List o) { +void checkUnnamed6344(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -310,7 +310,7 @@ api.V2ApiTarget buildV2ApiTarget() { final o = api.V2ApiTarget(); buildCounterV2ApiTarget++; if (buildCounterV2ApiTarget < 3) { - o.methods = buildUnnamed6277(); + o.methods = buildUnnamed6344(); o.service = 'foo'; } buildCounterV2ApiTarget--; @@ -320,7 +320,7 @@ api.V2ApiTarget buildV2ApiTarget() { void checkV2ApiTarget(api.V2ApiTarget o) { buildCounterV2ApiTarget++; if (buildCounterV2ApiTarget < 3) { - checkUnnamed6277(o.methods!); + checkUnnamed6344(o.methods!); unittest.expect( o.service!, unittest.equals('foo'), @@ -329,12 +329,12 @@ void checkV2ApiTarget(api.V2ApiTarget o) { buildCounterV2ApiTarget--; } -core.List buildUnnamed6278() => [ +core.List buildUnnamed6345() => [ 'foo', 'foo', ]; -void checkUnnamed6278(core.List o) { +void checkUnnamed6345(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -351,7 +351,7 @@ api.V2BrowserKeyRestrictions buildV2BrowserKeyRestrictions() { final o = api.V2BrowserKeyRestrictions(); buildCounterV2BrowserKeyRestrictions++; if (buildCounterV2BrowserKeyRestrictions < 3) { - o.allowedReferrers = buildUnnamed6278(); + o.allowedReferrers = buildUnnamed6345(); } buildCounterV2BrowserKeyRestrictions--; return o; @@ -360,7 +360,7 @@ api.V2BrowserKeyRestrictions buildV2BrowserKeyRestrictions() { void checkV2BrowserKeyRestrictions(api.V2BrowserKeyRestrictions o) { buildCounterV2BrowserKeyRestrictions++; if (buildCounterV2BrowserKeyRestrictions < 3) { - checkUnnamed6278(o.allowedReferrers!); + checkUnnamed6345(o.allowedReferrers!); } buildCounterV2BrowserKeyRestrictions--; } @@ -409,12 +409,12 @@ void checkV2GetKeyStringResponse(api.V2GetKeyStringResponse o) { buildCounterV2GetKeyStringResponse--; } -core.List buildUnnamed6279() => [ +core.List buildUnnamed6346() => [ 'foo', 'foo', ]; -void checkUnnamed6279(core.List o) { +void checkUnnamed6346(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -431,7 +431,7 @@ api.V2IosKeyRestrictions buildV2IosKeyRestrictions() { final o = api.V2IosKeyRestrictions(); buildCounterV2IosKeyRestrictions++; if (buildCounterV2IosKeyRestrictions < 3) { - o.allowedBundleIds = buildUnnamed6279(); + o.allowedBundleIds = buildUnnamed6346(); } buildCounterV2IosKeyRestrictions--; return o; @@ -440,7 +440,7 @@ api.V2IosKeyRestrictions buildV2IosKeyRestrictions() { void checkV2IosKeyRestrictions(api.V2IosKeyRestrictions o) { buildCounterV2IosKeyRestrictions++; if (buildCounterV2IosKeyRestrictions < 3) { - checkUnnamed6279(o.allowedBundleIds!); + checkUnnamed6346(o.allowedBundleIds!); } buildCounterV2IosKeyRestrictions--; } @@ -504,12 +504,12 @@ void checkV2Key(api.V2Key o) { buildCounterV2Key--; } -core.List buildUnnamed6280() => [ +core.List buildUnnamed6347() => [ buildV2Key(), buildV2Key(), ]; -void checkUnnamed6280(core.List o) { +void checkUnnamed6347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV2Key(o[0]); checkV2Key(o[1]); @@ -520,7 +520,7 @@ api.V2ListKeysResponse buildV2ListKeysResponse() { final o = api.V2ListKeysResponse(); buildCounterV2ListKeysResponse++; if (buildCounterV2ListKeysResponse < 3) { - o.keys = buildUnnamed6280(); + o.keys = buildUnnamed6347(); o.nextPageToken = 'foo'; } buildCounterV2ListKeysResponse--; @@ -530,7 +530,7 @@ api.V2ListKeysResponse buildV2ListKeysResponse() { void checkV2ListKeysResponse(api.V2ListKeysResponse o) { buildCounterV2ListKeysResponse++; if (buildCounterV2ListKeysResponse < 3) { - checkUnnamed6280(o.keys!); + checkUnnamed6347(o.keys!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -566,12 +566,12 @@ void checkV2LookupKeyResponse(api.V2LookupKeyResponse o) { buildCounterV2LookupKeyResponse--; } -core.List buildUnnamed6281() => [ +core.List buildUnnamed6348() => [ buildV2ApiTarget(), buildV2ApiTarget(), ]; -void checkUnnamed6281(core.List o) { +void checkUnnamed6348(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV2ApiTarget(o[0]); checkV2ApiTarget(o[1]); @@ -583,7 +583,7 @@ api.V2Restrictions buildV2Restrictions() { buildCounterV2Restrictions++; if (buildCounterV2Restrictions < 3) { o.androidKeyRestrictions = buildV2AndroidKeyRestrictions(); - o.apiTargets = buildUnnamed6281(); + o.apiTargets = buildUnnamed6348(); o.browserKeyRestrictions = buildV2BrowserKeyRestrictions(); o.iosKeyRestrictions = buildV2IosKeyRestrictions(); o.serverKeyRestrictions = buildV2ServerKeyRestrictions(); @@ -596,7 +596,7 @@ void checkV2Restrictions(api.V2Restrictions o) { buildCounterV2Restrictions++; if (buildCounterV2Restrictions < 3) { checkV2AndroidKeyRestrictions(o.androidKeyRestrictions!); - checkUnnamed6281(o.apiTargets!); + checkUnnamed6348(o.apiTargets!); checkV2BrowserKeyRestrictions(o.browserKeyRestrictions!); checkV2IosKeyRestrictions(o.iosKeyRestrictions!); checkV2ServerKeyRestrictions(o.serverKeyRestrictions!); @@ -604,12 +604,12 @@ void checkV2Restrictions(api.V2Restrictions o) { buildCounterV2Restrictions--; } -core.List buildUnnamed6282() => [ +core.List buildUnnamed6349() => [ 'foo', 'foo', ]; -void checkUnnamed6282(core.List o) { +void checkUnnamed6349(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -626,7 +626,7 @@ api.V2ServerKeyRestrictions buildV2ServerKeyRestrictions() { final o = api.V2ServerKeyRestrictions(); buildCounterV2ServerKeyRestrictions++; if (buildCounterV2ServerKeyRestrictions < 3) { - o.allowedIps = buildUnnamed6282(); + o.allowedIps = buildUnnamed6349(); } buildCounterV2ServerKeyRestrictions--; return o; @@ -635,7 +635,7 @@ api.V2ServerKeyRestrictions buildV2ServerKeyRestrictions() { void checkV2ServerKeyRestrictions(api.V2ServerKeyRestrictions o) { buildCounterV2ServerKeyRestrictions++; if (buildCounterV2ServerKeyRestrictions < 3) { - checkUnnamed6282(o.allowedIps!); + checkUnnamed6349(o.allowedIps!); } buildCounterV2ServerKeyRestrictions--; } diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart index 037722902..026eecc5b 100644 --- a/generated/googleapis/test/appengine/v1_test.dart +++ b/generated/googleapis/test/appengine/v1_test.dart @@ -119,6 +119,7 @@ api.Application buildApplication() { o.id = 'foo'; o.locationId = 'foo'; o.name = 'foo'; + o.serviceAccount = 'foo'; o.servingStatus = 'foo'; } buildCounterApplication--; @@ -171,6 +172,10 @@ void checkApplication(api.Application o) { o.name!, unittest.equals('foo'), ); + unittest.expect( + o.serviceAccount!, + unittest.equals('foo'), + ); unittest.expect( o.servingStatus!, unittest.equals('foo'), @@ -969,6 +974,156 @@ void checkGoogleAppengineV1betaLocationMetadata( buildCounterGoogleAppengineV1betaLocationMetadata--; } +core.List buildUnnamed42() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed42(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleAppengineV2OperationMetadata = 0; +api.GoogleAppengineV2OperationMetadata + buildGoogleAppengineV2OperationMetadata() { + final o = api.GoogleAppengineV2OperationMetadata(); + buildCounterGoogleAppengineV2OperationMetadata++; + if (buildCounterGoogleAppengineV2OperationMetadata < 3) { + o.apiVersion = 'foo'; + o.createTime = 'foo'; + o.endTime = 'foo'; + o.ephemeralMessage = 'foo'; + o.requestedCancellation = true; + o.statusMessage = 'foo'; + o.target = 'foo'; + o.verb = 'foo'; + o.warning = buildUnnamed42(); + } + buildCounterGoogleAppengineV2OperationMetadata--; + return o; +} + +void checkGoogleAppengineV2OperationMetadata( + api.GoogleAppengineV2OperationMetadata o) { + buildCounterGoogleAppengineV2OperationMetadata++; + if (buildCounterGoogleAppengineV2OperationMetadata < 3) { + unittest.expect( + o.apiVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.ephemeralMessage!, + unittest.equals('foo'), + ); + unittest.expect(o.requestedCancellation!, unittest.isTrue); + unittest.expect( + o.statusMessage!, + unittest.equals('foo'), + ); + unittest.expect( + o.target!, + unittest.equals('foo'), + ); + unittest.expect( + o.verb!, + unittest.equals('foo'), + ); + checkUnnamed42(o.warning!); + } + buildCounterGoogleAppengineV2OperationMetadata--; +} + +core.List buildUnnamed43() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed43(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleAppengineV2mainOperationMetadata = 0; +api.GoogleAppengineV2mainOperationMetadata + buildGoogleAppengineV2mainOperationMetadata() { + final o = api.GoogleAppengineV2mainOperationMetadata(); + buildCounterGoogleAppengineV2mainOperationMetadata++; + if (buildCounterGoogleAppengineV2mainOperationMetadata < 3) { + o.apiVersion = 'foo'; + o.createTime = 'foo'; + o.endTime = 'foo'; + o.ephemeralMessage = 'foo'; + o.requestedCancellation = true; + o.statusMessage = 'foo'; + o.target = 'foo'; + o.verb = 'foo'; + o.warning = buildUnnamed43(); + } + buildCounterGoogleAppengineV2mainOperationMetadata--; + return o; +} + +void checkGoogleAppengineV2mainOperationMetadata( + api.GoogleAppengineV2mainOperationMetadata o) { + buildCounterGoogleAppengineV2mainOperationMetadata++; + if (buildCounterGoogleAppengineV2mainOperationMetadata < 3) { + unittest.expect( + o.apiVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.ephemeralMessage!, + unittest.equals('foo'), + ); + unittest.expect(o.requestedCancellation!, unittest.isTrue); + unittest.expect( + o.statusMessage!, + unittest.equals('foo'), + ); + unittest.expect( + o.target!, + unittest.equals('foo'), + ); + unittest.expect( + o.verb!, + unittest.equals('foo'), + ); + checkUnnamed43(o.warning!); + } + buildCounterGoogleAppengineV2mainOperationMetadata--; +} + core.int buildCounterHealthCheck = 0; api.HealthCheck buildHealthCheck() { final o = api.HealthCheck(); @@ -1178,12 +1333,12 @@ void checkLibrary(api.Library o) { buildCounterLibrary--; } -core.List buildUnnamed42() => [ +core.List buildUnnamed44() => [ buildAuthorizedCertificate(), buildAuthorizedCertificate(), ]; -void checkUnnamed42(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthorizedCertificate(o[0]); checkAuthorizedCertificate(o[1]); @@ -1195,7 +1350,7 @@ api.ListAuthorizedCertificatesResponse final o = api.ListAuthorizedCertificatesResponse(); buildCounterListAuthorizedCertificatesResponse++; if (buildCounterListAuthorizedCertificatesResponse < 3) { - o.certificates = buildUnnamed42(); + o.certificates = buildUnnamed44(); o.nextPageToken = 'foo'; } buildCounterListAuthorizedCertificatesResponse--; @@ -1206,7 +1361,7 @@ void checkListAuthorizedCertificatesResponse( api.ListAuthorizedCertificatesResponse o) { buildCounterListAuthorizedCertificatesResponse++; if (buildCounterListAuthorizedCertificatesResponse < 3) { - checkUnnamed42(o.certificates!); + checkUnnamed44(o.certificates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1215,12 +1370,12 @@ void checkListAuthorizedCertificatesResponse( buildCounterListAuthorizedCertificatesResponse--; } -core.List buildUnnamed43() => [ +core.List buildUnnamed45() => [ buildAuthorizedDomain(), buildAuthorizedDomain(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthorizedDomain(o[0]); checkAuthorizedDomain(o[1]); @@ -1231,7 +1386,7 @@ api.ListAuthorizedDomainsResponse buildListAuthorizedDomainsResponse() { final o = api.ListAuthorizedDomainsResponse(); buildCounterListAuthorizedDomainsResponse++; if (buildCounterListAuthorizedDomainsResponse < 3) { - o.domains = buildUnnamed43(); + o.domains = buildUnnamed45(); o.nextPageToken = 'foo'; } buildCounterListAuthorizedDomainsResponse--; @@ -1241,7 +1396,7 @@ api.ListAuthorizedDomainsResponse buildListAuthorizedDomainsResponse() { void checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) { buildCounterListAuthorizedDomainsResponse++; if (buildCounterListAuthorizedDomainsResponse < 3) { - checkUnnamed43(o.domains!); + checkUnnamed45(o.domains!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1250,12 +1405,12 @@ void checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) { buildCounterListAuthorizedDomainsResponse--; } -core.List buildUnnamed44() => [ +core.List buildUnnamed46() => [ buildDomainMapping(), buildDomainMapping(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomainMapping(o[0]); checkDomainMapping(o[1]); @@ -1266,7 +1421,7 @@ api.ListDomainMappingsResponse buildListDomainMappingsResponse() { final o = api.ListDomainMappingsResponse(); buildCounterListDomainMappingsResponse++; if (buildCounterListDomainMappingsResponse < 3) { - o.domainMappings = buildUnnamed44(); + o.domainMappings = buildUnnamed46(); o.nextPageToken = 'foo'; } buildCounterListDomainMappingsResponse--; @@ -1276,7 +1431,7 @@ api.ListDomainMappingsResponse buildListDomainMappingsResponse() { void checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) { buildCounterListDomainMappingsResponse++; if (buildCounterListDomainMappingsResponse < 3) { - checkUnnamed44(o.domainMappings!); + checkUnnamed46(o.domainMappings!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1285,12 +1440,12 @@ void checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) { buildCounterListDomainMappingsResponse--; } -core.List buildUnnamed45() => [ +core.List buildUnnamed47() => [ buildFirewallRule(), buildFirewallRule(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallRule(o[0]); checkFirewallRule(o[1]); @@ -1301,7 +1456,7 @@ api.ListIngressRulesResponse buildListIngressRulesResponse() { final o = api.ListIngressRulesResponse(); buildCounterListIngressRulesResponse++; if (buildCounterListIngressRulesResponse < 3) { - o.ingressRules = buildUnnamed45(); + o.ingressRules = buildUnnamed47(); o.nextPageToken = 'foo'; } buildCounterListIngressRulesResponse--; @@ -1311,7 +1466,7 @@ api.ListIngressRulesResponse buildListIngressRulesResponse() { void checkListIngressRulesResponse(api.ListIngressRulesResponse o) { buildCounterListIngressRulesResponse++; if (buildCounterListIngressRulesResponse < 3) { - checkUnnamed45(o.ingressRules!); + checkUnnamed47(o.ingressRules!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1320,12 +1475,12 @@ void checkListIngressRulesResponse(api.ListIngressRulesResponse o) { buildCounterListIngressRulesResponse--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed48() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -1336,7 +1491,7 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed46(); + o.instances = buildUnnamed48(); o.nextPageToken = 'foo'; } buildCounterListInstancesResponse--; @@ -1346,7 +1501,7 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed46(o.instances!); + checkUnnamed48(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1355,12 +1510,12 @@ void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse--; } -core.List buildUnnamed47() => [ +core.List buildUnnamed49() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed47(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1371,7 +1526,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed47(); + o.locations = buildUnnamed49(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1381,7 +1536,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed47(o.locations!); + checkUnnamed49(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1390,12 +1545,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed48() => [ +core.List buildUnnamed50() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1407,7 +1562,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed48(); + o.operations = buildUnnamed50(); } buildCounterListOperationsResponse--; return o; @@ -1420,17 +1575,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed48(o.operations!); + checkUnnamed50(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed49() => [ +core.List buildUnnamed51() => [ buildService(), buildService(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); @@ -1442,7 +1597,7 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed49(); + o.services = buildUnnamed51(); } buildCounterListServicesResponse--; return o; @@ -1455,17 +1610,17 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed49(o.services!); + checkUnnamed51(o.services!); } buildCounterListServicesResponse--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed52() => [ buildVersion(), buildVersion(), ]; -void checkUnnamed50(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersion(o[0]); checkVersion(o[1]); @@ -1477,7 +1632,7 @@ api.ListVersionsResponse buildListVersionsResponse() { buildCounterListVersionsResponse++; if (buildCounterListVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.versions = buildUnnamed50(); + o.versions = buildUnnamed52(); } buildCounterListVersionsResponse--; return o; @@ -1490,7 +1645,7 @@ void checkListVersionsResponse(api.ListVersionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed50(o.versions!); + checkUnnamed52(o.versions!); } buildCounterListVersionsResponse--; } @@ -1547,12 +1702,12 @@ void checkLivenessCheck(api.LivenessCheck o) { buildCounterLivenessCheck--; } -core.Map buildUnnamed51() => { +core.Map buildUnnamed53() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed51(core.Map o) { +void checkUnnamed53(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1564,7 +1719,7 @@ void checkUnnamed51(core.Map o) { ); } -core.Map buildUnnamed52() => { +core.Map buildUnnamed54() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1577,7 +1732,7 @@ core.Map buildUnnamed52() => { }, }; -void checkUnnamed52(core.Map o) { +void checkUnnamed54(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1615,9 +1770,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed51(); + o.labels = buildUnnamed53(); o.locationId = 'foo'; - o.metadata = buildUnnamed52(); + o.metadata = buildUnnamed54(); o.name = 'foo'; } buildCounterLocation--; @@ -1631,12 +1786,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed51(o.labels!); + checkUnnamed53(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed52(o.metadata!); + checkUnnamed54(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1717,12 +1872,12 @@ void checkManualScaling(api.ManualScaling o) { buildCounterManualScaling--; } -core.List buildUnnamed53() => [ +core.List buildUnnamed55() => [ 'foo', 'foo', ]; -void checkUnnamed53(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1739,7 +1894,7 @@ api.Network buildNetwork() { final o = api.Network(); buildCounterNetwork++; if (buildCounterNetwork < 3) { - o.forwardedPorts = buildUnnamed53(); + o.forwardedPorts = buildUnnamed55(); o.instanceTag = 'foo'; o.name = 'foo'; o.sessionAffinity = true; @@ -1752,7 +1907,7 @@ api.Network buildNetwork() { void checkNetwork(api.Network o) { buildCounterNetwork++; if (buildCounterNetwork < 3) { - checkUnnamed53(o.forwardedPorts!); + checkUnnamed55(o.forwardedPorts!); unittest.expect( o.instanceTag!, unittest.equals('foo'), @@ -1829,7 +1984,7 @@ void checkNetworkUtilization(api.NetworkUtilization o) { buildCounterNetworkUtilization--; } -core.Map buildUnnamed54() => { +core.Map buildUnnamed56() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1842,7 +1997,7 @@ core.Map buildUnnamed54() => { }, }; -void checkUnnamed54(core.Map o) { +void checkUnnamed56(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1874,7 +2029,7 @@ void checkUnnamed54(core.Map o) { ); } -core.Map buildUnnamed55() => { +core.Map buildUnnamed57() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1887,7 +2042,7 @@ core.Map buildUnnamed55() => { }, }; -void checkUnnamed55(core.Map o) { +void checkUnnamed57(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1926,9 +2081,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed54(); + o.metadata = buildUnnamed56(); o.name = 'foo'; - o.response = buildUnnamed55(); + o.response = buildUnnamed57(); } buildCounterOperation--; return o; @@ -1939,22 +2094,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed54(o.metadata!); + checkUnnamed56(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed55(o.response!); + checkUnnamed57(o.response!); } buildCounterOperation--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed58() => [ 'foo', 'foo', ]; -void checkUnnamed56(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1978,7 +2133,7 @@ api.OperationMetadataV1 buildOperationMetadataV1() { o.method = 'foo'; o.target = 'foo'; o.user = 'foo'; - o.warning = buildUnnamed56(); + o.warning = buildUnnamed58(); } buildCounterOperationMetadataV1--; return o; @@ -2012,17 +2167,17 @@ void checkOperationMetadataV1(api.OperationMetadataV1 o) { o.user!, unittest.equals('foo'), ); - checkUnnamed56(o.warning!); + checkUnnamed58(o.warning!); } buildCounterOperationMetadataV1--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed59() => [ 'foo', 'foo', ]; -void checkUnnamed57(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2046,7 +2201,7 @@ api.OperationMetadataV1Alpha buildOperationMetadataV1Alpha() { o.method = 'foo'; o.target = 'foo'; o.user = 'foo'; - o.warning = buildUnnamed57(); + o.warning = buildUnnamed59(); } buildCounterOperationMetadataV1Alpha--; return o; @@ -2080,17 +2235,17 @@ void checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) { o.user!, unittest.equals('foo'), ); - checkUnnamed57(o.warning!); + checkUnnamed59(o.warning!); } buildCounterOperationMetadataV1Alpha--; } -core.List buildUnnamed58() => [ +core.List buildUnnamed60() => [ 'foo', 'foo', ]; -void checkUnnamed58(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2114,7 +2269,7 @@ api.OperationMetadataV1Beta buildOperationMetadataV1Beta() { o.method = 'foo'; o.target = 'foo'; o.user = 'foo'; - o.warning = buildUnnamed58(); + o.warning = buildUnnamed60(); } buildCounterOperationMetadataV1Beta--; return o; @@ -2148,7 +2303,7 @@ void checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) { o.user!, unittest.equals('foo'), ); - checkUnnamed58(o.warning!); + checkUnnamed60(o.warning!); } buildCounterOperationMetadataV1Beta--; } @@ -2279,12 +2434,12 @@ void checkResourceRecord(api.ResourceRecord o) { buildCounterResourceRecord--; } -core.List buildUnnamed59() => [ +core.List buildUnnamed61() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed59(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -2299,7 +2454,7 @@ api.Resources buildResources() { o.diskGb = 42.0; o.kmsKeyReference = 'foo'; o.memoryGb = 42.0; - o.volumes = buildUnnamed59(); + o.volumes = buildUnnamed61(); } buildCounterResources--; return o; @@ -2324,7 +2479,7 @@ void checkResources(api.Resources o) { o.memoryGb!, unittest.equals(42.0), ); - checkUnnamed59(o.volumes!); + checkUnnamed61(o.volumes!); } buildCounterResources--; } @@ -2451,12 +2606,12 @@ void checkStandardSchedulerSettings(api.StandardSchedulerSettings o) { buildCounterStandardSchedulerSettings--; } -core.Map buildUnnamed60() => { +core.Map buildUnnamed62() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed60(core.Map o) { +void checkUnnamed62(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2475,7 +2630,7 @@ api.StaticFilesHandler buildStaticFilesHandler() { if (buildCounterStaticFilesHandler < 3) { o.applicationReadable = true; o.expiration = 'foo'; - o.httpHeaders = buildUnnamed60(); + o.httpHeaders = buildUnnamed62(); o.mimeType = 'foo'; o.path = 'foo'; o.requireMatchingFile = true; @@ -2493,7 +2648,7 @@ void checkStaticFilesHandler(api.StaticFilesHandler o) { o.expiration!, unittest.equals('foo'), ); - checkUnnamed60(o.httpHeaders!); + checkUnnamed62(o.httpHeaders!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -2511,7 +2666,7 @@ void checkStaticFilesHandler(api.StaticFilesHandler o) { buildCounterStaticFilesHandler--; } -core.Map buildUnnamed61() => { +core.Map buildUnnamed63() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2524,7 +2679,7 @@ core.Map buildUnnamed61() => { }, }; -void checkUnnamed61(core.Map o) { +void checkUnnamed63(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2556,15 +2711,15 @@ void checkUnnamed61(core.Map o) { ); } -core.List> buildUnnamed62() => [ - buildUnnamed61(), - buildUnnamed61(), +core.List> buildUnnamed64() => [ + buildUnnamed63(), + buildUnnamed63(), ]; -void checkUnnamed62(core.List> o) { +void checkUnnamed64(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed61(o[0]); - checkUnnamed61(o[1]); + checkUnnamed63(o[0]); + checkUnnamed63(o[1]); } core.int buildCounterStatus = 0; @@ -2573,7 +2728,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed62(); + o.details = buildUnnamed64(); o.message = 'foo'; } buildCounterStatus--; @@ -2587,7 +2742,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed62(o.details!); + checkUnnamed64(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2596,12 +2751,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed63() => { +core.Map buildUnnamed65() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed63(core.Map o) { +void checkUnnamed65(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2618,7 +2773,7 @@ api.TrafficSplit buildTrafficSplit() { final o = api.TrafficSplit(); buildCounterTrafficSplit++; if (buildCounterTrafficSplit < 3) { - o.allocations = buildUnnamed63(); + o.allocations = buildUnnamed65(); o.shardBy = 'foo'; } buildCounterTrafficSplit--; @@ -2628,7 +2783,7 @@ api.TrafficSplit buildTrafficSplit() { void checkTrafficSplit(api.TrafficSplit o) { buildCounterTrafficSplit++; if (buildCounterTrafficSplit < 3) { - checkUnnamed63(o.allocations!); + checkUnnamed65(o.allocations!); unittest.expect( o.shardBy!, unittest.equals('foo'), @@ -2717,12 +2872,12 @@ void checkUrlMap(api.UrlMap o) { buildCounterUrlMap--; } -core.Map buildUnnamed64() => { +core.Map buildUnnamed66() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed64(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2734,12 +2889,12 @@ void checkUnnamed64(core.Map o) { ); } -core.Map buildUnnamed65() => { +core.Map buildUnnamed67() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed65(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2751,12 +2906,12 @@ void checkUnnamed65(core.Map o) { ); } -core.Map buildUnnamed66() => { +core.Map buildUnnamed68() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed66(core.Map o) { +void checkUnnamed68(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2768,34 +2923,34 @@ void checkUnnamed66(core.Map o) { ); } -core.List buildUnnamed67() => [ +core.List buildUnnamed69() => [ buildErrorHandler(), buildErrorHandler(), ]; -void checkUnnamed67(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorHandler(o[0]); checkErrorHandler(o[1]); } -core.List buildUnnamed68() => [ +core.List buildUnnamed70() => [ buildUrlMap(), buildUrlMap(), ]; -void checkUnnamed68(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMap(o[0]); checkUrlMap(o[1]); } -core.List buildUnnamed69() => [ +core.List buildUnnamed71() => [ 'foo', 'foo', ]; -void checkUnnamed69(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2807,23 +2962,23 @@ void checkUnnamed69(core.List o) { ); } -core.List buildUnnamed70() => [ +core.List buildUnnamed72() => [ buildLibrary(), buildLibrary(), ]; -void checkUnnamed70(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLibrary(o[0]); checkLibrary(o[1]); } -core.List buildUnnamed71() => [ +core.List buildUnnamed73() => [ 'foo', 'foo', ]; -void checkUnnamed71(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2843,8 +2998,8 @@ api.Version buildVersion() { o.apiConfig = buildApiConfigHandler(); o.automaticScaling = buildAutomaticScaling(); o.basicScaling = buildBasicScaling(); - o.betaSettings = buildUnnamed64(); - o.buildEnvVariables = buildUnnamed65(); + o.betaSettings = buildUnnamed66(); + o.buildEnvVariables = buildUnnamed67(); o.createTime = 'foo'; o.createdBy = 'foo'; o.defaultExpiration = 'foo'; @@ -2853,14 +3008,14 @@ api.Version buildVersion() { o.endpointsApiService = buildEndpointsApiService(); o.entrypoint = buildEntrypoint(); o.env = 'foo'; - o.envVariables = buildUnnamed66(); - o.errorHandlers = buildUnnamed67(); - o.handlers = buildUnnamed68(); + o.envVariables = buildUnnamed68(); + o.errorHandlers = buildUnnamed69(); + o.handlers = buildUnnamed70(); o.healthCheck = buildHealthCheck(); o.id = 'foo'; - o.inboundServices = buildUnnamed69(); + o.inboundServices = buildUnnamed71(); o.instanceClass = 'foo'; - o.libraries = buildUnnamed70(); + o.libraries = buildUnnamed72(); o.livenessCheck = buildLivenessCheck(); o.manualScaling = buildManualScaling(); o.name = 'foo'; @@ -2878,7 +3033,7 @@ api.Version buildVersion() { o.versionUrl = 'foo'; o.vm = true; o.vpcAccessConnector = buildVpcAccessConnector(); - o.zones = buildUnnamed71(); + o.zones = buildUnnamed73(); } buildCounterVersion--; return o; @@ -2890,8 +3045,8 @@ void checkVersion(api.Version o) { checkApiConfigHandler(o.apiConfig!); checkAutomaticScaling(o.automaticScaling!); checkBasicScaling(o.basicScaling!); - checkUnnamed64(o.betaSettings!); - checkUnnamed65(o.buildEnvVariables!); + checkUnnamed66(o.betaSettings!); + checkUnnamed67(o.buildEnvVariables!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2915,20 +3070,20 @@ void checkVersion(api.Version o) { o.env!, unittest.equals('foo'), ); - checkUnnamed66(o.envVariables!); - checkUnnamed67(o.errorHandlers!); - checkUnnamed68(o.handlers!); + checkUnnamed68(o.envVariables!); + checkUnnamed69(o.errorHandlers!); + checkUnnamed70(o.handlers!); checkHealthCheck(o.healthCheck!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed69(o.inboundServices!); + checkUnnamed71(o.inboundServices!); unittest.expect( o.instanceClass!, unittest.equals('foo'), ); - checkUnnamed70(o.libraries!); + checkUnnamed72(o.libraries!); checkLivenessCheck(o.livenessCheck!); checkManualScaling(o.manualScaling!); unittest.expect( @@ -2973,7 +3128,7 @@ void checkVersion(api.Version o) { ); unittest.expect(o.vm!, unittest.isTrue); checkVpcAccessConnector(o.vpcAccessConnector!); - checkUnnamed71(o.zones!); + checkUnnamed73(o.zones!); } buildCounterVersion--; } @@ -3345,6 +3500,26 @@ void main() { }); }); + unittest.group('obj-schema-GoogleAppengineV2OperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppengineV2OperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAppengineV2OperationMetadata.fromJson( + oJson as core.Map); + checkGoogleAppengineV2OperationMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleAppengineV2mainOperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppengineV2mainOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAppengineV2mainOperationMetadata.fromJson( + oJson as core.Map); + checkGoogleAppengineV2mainOperationMetadata(od); + }); + }); + unittest.group('obj-schema-HealthCheck', () { unittest.test('to-json--from-json', () async { final o = buildHealthCheck(); diff --git a/generated/googleapis/test/artifactregistry/v1_test.dart b/generated/googleapis/test/artifactregistry/v1_test.dart index b0df1e527..3e4178f97 100644 --- a/generated/googleapis/test/artifactregistry/v1_test.dart +++ b/generated/googleapis/test/artifactregistry/v1_test.dart @@ -88,12 +88,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.List buildUnnamed5017() => [ +core.List buildUnnamed5061() => [ 'foo', 'foo', ]; -void checkUnnamed5017(core.List o) { +void checkUnnamed5061(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -114,7 +114,7 @@ api.DockerImage buildDockerImage() { o.imageSizeBytes = 'foo'; o.mediaType = 'foo'; o.name = 'foo'; - o.tags = buildUnnamed5017(); + o.tags = buildUnnamed5061(); o.uploadTime = 'foo'; o.uri = 'foo'; } @@ -141,7 +141,7 @@ void checkDockerImage(api.DockerImage o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5017(o.tags!); + checkUnnamed5061(o.tags!); unittest.expect( o.uploadTime!, unittest.equals('foo'), @@ -190,12 +190,12 @@ void checkImportAptArtifactsErrorInfo(api.ImportAptArtifactsErrorInfo o) { buildCounterImportAptArtifactsErrorInfo--; } -core.List buildUnnamed5018() => [ +core.List buildUnnamed5062() => [ 'foo', 'foo', ]; -void checkUnnamed5018(core.List o) { +void checkUnnamed5062(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -212,7 +212,7 @@ api.ImportAptArtifactsGcsSource buildImportAptArtifactsGcsSource() { final o = api.ImportAptArtifactsGcsSource(); buildCounterImportAptArtifactsGcsSource++; if (buildCounterImportAptArtifactsGcsSource < 3) { - o.uris = buildUnnamed5018(); + o.uris = buildUnnamed5062(); o.useWildcards = true; } buildCounterImportAptArtifactsGcsSource--; @@ -222,29 +222,29 @@ api.ImportAptArtifactsGcsSource buildImportAptArtifactsGcsSource() { void checkImportAptArtifactsGcsSource(api.ImportAptArtifactsGcsSource o) { buildCounterImportAptArtifactsGcsSource++; if (buildCounterImportAptArtifactsGcsSource < 3) { - checkUnnamed5018(o.uris!); + checkUnnamed5062(o.uris!); unittest.expect(o.useWildcards!, unittest.isTrue); } buildCounterImportAptArtifactsGcsSource--; } -core.List buildUnnamed5019() => [ +core.List buildUnnamed5063() => [ buildAptArtifact(), buildAptArtifact(), ]; -void checkUnnamed5019(core.List o) { +void checkUnnamed5063(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAptArtifact(o[0]); checkAptArtifact(o[1]); } -core.List buildUnnamed5020() => [ +core.List buildUnnamed5064() => [ buildImportAptArtifactsErrorInfo(), buildImportAptArtifactsErrorInfo(), ]; -void checkUnnamed5020(core.List o) { +void checkUnnamed5064(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImportAptArtifactsErrorInfo(o[0]); checkImportAptArtifactsErrorInfo(o[1]); @@ -255,8 +255,8 @@ api.ImportAptArtifactsResponse buildImportAptArtifactsResponse() { final o = api.ImportAptArtifactsResponse(); buildCounterImportAptArtifactsResponse++; if (buildCounterImportAptArtifactsResponse < 3) { - o.aptArtifacts = buildUnnamed5019(); - o.errors = buildUnnamed5020(); + o.aptArtifacts = buildUnnamed5063(); + o.errors = buildUnnamed5064(); } buildCounterImportAptArtifactsResponse--; return o; @@ -265,8 +265,8 @@ api.ImportAptArtifactsResponse buildImportAptArtifactsResponse() { void checkImportAptArtifactsResponse(api.ImportAptArtifactsResponse o) { buildCounterImportAptArtifactsResponse++; if (buildCounterImportAptArtifactsResponse < 3) { - checkUnnamed5019(o.aptArtifacts!); - checkUnnamed5020(o.errors!); + checkUnnamed5063(o.aptArtifacts!); + checkUnnamed5064(o.errors!); } buildCounterImportAptArtifactsResponse--; } @@ -292,12 +292,12 @@ void checkImportYumArtifactsErrorInfo(api.ImportYumArtifactsErrorInfo o) { buildCounterImportYumArtifactsErrorInfo--; } -core.List buildUnnamed5021() => [ +core.List buildUnnamed5065() => [ 'foo', 'foo', ]; -void checkUnnamed5021(core.List o) { +void checkUnnamed5065(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -314,7 +314,7 @@ api.ImportYumArtifactsGcsSource buildImportYumArtifactsGcsSource() { final o = api.ImportYumArtifactsGcsSource(); buildCounterImportYumArtifactsGcsSource++; if (buildCounterImportYumArtifactsGcsSource < 3) { - o.uris = buildUnnamed5021(); + o.uris = buildUnnamed5065(); o.useWildcards = true; } buildCounterImportYumArtifactsGcsSource--; @@ -324,29 +324,29 @@ api.ImportYumArtifactsGcsSource buildImportYumArtifactsGcsSource() { void checkImportYumArtifactsGcsSource(api.ImportYumArtifactsGcsSource o) { buildCounterImportYumArtifactsGcsSource++; if (buildCounterImportYumArtifactsGcsSource < 3) { - checkUnnamed5021(o.uris!); + checkUnnamed5065(o.uris!); unittest.expect(o.useWildcards!, unittest.isTrue); } buildCounterImportYumArtifactsGcsSource--; } -core.List buildUnnamed5022() => [ +core.List buildUnnamed5066() => [ buildImportYumArtifactsErrorInfo(), buildImportYumArtifactsErrorInfo(), ]; -void checkUnnamed5022(core.List o) { +void checkUnnamed5066(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImportYumArtifactsErrorInfo(o[0]); checkImportYumArtifactsErrorInfo(o[1]); } -core.List buildUnnamed5023() => [ +core.List buildUnnamed5067() => [ buildYumArtifact(), buildYumArtifact(), ]; -void checkUnnamed5023(core.List o) { +void checkUnnamed5067(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkYumArtifact(o[0]); checkYumArtifact(o[1]); @@ -357,8 +357,8 @@ api.ImportYumArtifactsResponse buildImportYumArtifactsResponse() { final o = api.ImportYumArtifactsResponse(); buildCounterImportYumArtifactsResponse++; if (buildCounterImportYumArtifactsResponse < 3) { - o.errors = buildUnnamed5022(); - o.yumArtifacts = buildUnnamed5023(); + o.errors = buildUnnamed5066(); + o.yumArtifacts = buildUnnamed5067(); } buildCounterImportYumArtifactsResponse--; return o; @@ -367,18 +367,18 @@ api.ImportYumArtifactsResponse buildImportYumArtifactsResponse() { void checkImportYumArtifactsResponse(api.ImportYumArtifactsResponse o) { buildCounterImportYumArtifactsResponse++; if (buildCounterImportYumArtifactsResponse < 3) { - checkUnnamed5022(o.errors!); - checkUnnamed5023(o.yumArtifacts!); + checkUnnamed5066(o.errors!); + checkUnnamed5067(o.yumArtifacts!); } buildCounterImportYumArtifactsResponse--; } -core.List buildUnnamed5024() => [ +core.List buildUnnamed5068() => [ buildDockerImage(), buildDockerImage(), ]; -void checkUnnamed5024(core.List o) { +void checkUnnamed5068(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDockerImage(o[0]); checkDockerImage(o[1]); @@ -389,7 +389,7 @@ api.ListDockerImagesResponse buildListDockerImagesResponse() { final o = api.ListDockerImagesResponse(); buildCounterListDockerImagesResponse++; if (buildCounterListDockerImagesResponse < 3) { - o.dockerImages = buildUnnamed5024(); + o.dockerImages = buildUnnamed5068(); o.nextPageToken = 'foo'; } buildCounterListDockerImagesResponse--; @@ -399,7 +399,7 @@ api.ListDockerImagesResponse buildListDockerImagesResponse() { void checkListDockerImagesResponse(api.ListDockerImagesResponse o) { buildCounterListDockerImagesResponse++; if (buildCounterListDockerImagesResponse < 3) { - checkUnnamed5024(o.dockerImages!); + checkUnnamed5068(o.dockerImages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -408,12 +408,12 @@ void checkListDockerImagesResponse(api.ListDockerImagesResponse o) { buildCounterListDockerImagesResponse--; } -core.List buildUnnamed5025() => [ +core.List buildUnnamed5069() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed5025(core.List o) { +void checkUnnamed5069(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -425,7 +425,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed5025(); + o.operations = buildUnnamed5069(); } buildCounterListOperationsResponse--; return o; @@ -438,17 +438,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5025(o.operations!); + checkUnnamed5069(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed5026() => [ +core.List buildUnnamed5070() => [ buildRepository(), buildRepository(), ]; -void checkUnnamed5026(core.List o) { +void checkUnnamed5070(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepository(o[0]); checkRepository(o[1]); @@ -460,7 +460,7 @@ api.ListRepositoriesResponse buildListRepositoriesResponse() { buildCounterListRepositoriesResponse++; if (buildCounterListRepositoriesResponse < 3) { o.nextPageToken = 'foo'; - o.repositories = buildUnnamed5026(); + o.repositories = buildUnnamed5070(); } buildCounterListRepositoriesResponse--; return o; @@ -473,12 +473,12 @@ void checkListRepositoriesResponse(api.ListRepositoriesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5026(o.repositories!); + checkUnnamed5070(o.repositories!); } buildCounterListRepositoriesResponse--; } -core.Map buildUnnamed5027() => { +core.Map buildUnnamed5071() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -491,7 +491,7 @@ core.Map buildUnnamed5027() => { }, }; -void checkUnnamed5027(core.Map o) { +void checkUnnamed5071(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -523,7 +523,7 @@ void checkUnnamed5027(core.Map o) { ); } -core.Map buildUnnamed5028() => { +core.Map buildUnnamed5072() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -536,7 +536,7 @@ core.Map buildUnnamed5028() => { }, }; -void checkUnnamed5028(core.Map o) { +void checkUnnamed5072(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -575,9 +575,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed5027(); + o.metadata = buildUnnamed5071(); o.name = 'foo'; - o.response = buildUnnamed5028(); + o.response = buildUnnamed5072(); } buildCounterOperation--; return o; @@ -588,22 +588,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed5027(o.metadata!); + checkUnnamed5071(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5028(o.response!); + checkUnnamed5072(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed5029() => { +core.Map buildUnnamed5073() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5029(core.Map o) { +void checkUnnamed5073(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -624,7 +624,7 @@ api.Repository buildRepository() { o.description = 'foo'; o.format = 'foo'; o.kmsKeyName = 'foo'; - o.labels = buildUnnamed5029(); + o.labels = buildUnnamed5073(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -651,7 +651,7 @@ void checkRepository(api.Repository o) { o.kmsKeyName!, unittest.equals('foo'), ); - checkUnnamed5029(o.labels!); + checkUnnamed5073(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -664,7 +664,7 @@ void checkRepository(api.Repository o) { buildCounterRepository--; } -core.Map buildUnnamed5030() => { +core.Map buildUnnamed5074() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -677,7 +677,7 @@ core.Map buildUnnamed5030() => { }, }; -void checkUnnamed5030(core.Map o) { +void checkUnnamed5074(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -709,15 +709,15 @@ void checkUnnamed5030(core.Map o) { ); } -core.List> buildUnnamed5031() => [ - buildUnnamed5030(), - buildUnnamed5030(), +core.List> buildUnnamed5075() => [ + buildUnnamed5074(), + buildUnnamed5074(), ]; -void checkUnnamed5031(core.List> o) { +void checkUnnamed5075(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5030(o[0]); - checkUnnamed5030(o[1]); + checkUnnamed5074(o[0]); + checkUnnamed5074(o[1]); } core.int buildCounterStatus = 0; @@ -726,7 +726,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed5031(); + o.details = buildUnnamed5075(); o.message = 'foo'; } buildCounterStatus--; @@ -740,7 +740,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed5031(o.details!); + checkUnnamed5075(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -768,12 +768,12 @@ void checkUploadAptArtifactMediaResponse(api.UploadAptArtifactMediaResponse o) { buildCounterUploadAptArtifactMediaResponse--; } -core.List buildUnnamed5032() => [ +core.List buildUnnamed5076() => [ buildAptArtifact(), buildAptArtifact(), ]; -void checkUnnamed5032(core.List o) { +void checkUnnamed5076(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAptArtifact(o[0]); checkAptArtifact(o[1]); @@ -784,7 +784,7 @@ api.UploadAptArtifactResponse buildUploadAptArtifactResponse() { final o = api.UploadAptArtifactResponse(); buildCounterUploadAptArtifactResponse++; if (buildCounterUploadAptArtifactResponse < 3) { - o.aptArtifacts = buildUnnamed5032(); + o.aptArtifacts = buildUnnamed5076(); } buildCounterUploadAptArtifactResponse--; return o; @@ -793,7 +793,7 @@ api.UploadAptArtifactResponse buildUploadAptArtifactResponse() { void checkUploadAptArtifactResponse(api.UploadAptArtifactResponse o) { buildCounterUploadAptArtifactResponse++; if (buildCounterUploadAptArtifactResponse < 3) { - checkUnnamed5032(o.aptArtifacts!); + checkUnnamed5076(o.aptArtifacts!); } buildCounterUploadAptArtifactResponse--; } @@ -817,12 +817,12 @@ void checkUploadYumArtifactMediaResponse(api.UploadYumArtifactMediaResponse o) { buildCounterUploadYumArtifactMediaResponse--; } -core.List buildUnnamed5033() => [ +core.List buildUnnamed5077() => [ buildYumArtifact(), buildYumArtifact(), ]; -void checkUnnamed5033(core.List o) { +void checkUnnamed5077(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkYumArtifact(o[0]); checkYumArtifact(o[1]); @@ -833,7 +833,7 @@ api.UploadYumArtifactResponse buildUploadYumArtifactResponse() { final o = api.UploadYumArtifactResponse(); buildCounterUploadYumArtifactResponse++; if (buildCounterUploadYumArtifactResponse < 3) { - o.yumArtifacts = buildUnnamed5033(); + o.yumArtifacts = buildUnnamed5077(); } buildCounterUploadYumArtifactResponse--; return o; @@ -842,7 +842,7 @@ api.UploadYumArtifactResponse buildUploadYumArtifactResponse() { void checkUploadYumArtifactResponse(api.UploadYumArtifactResponse o) { buildCounterUploadYumArtifactResponse++; if (buildCounterUploadYumArtifactResponse < 3) { - checkUnnamed5033(o.yumArtifacts!); + checkUnnamed5077(o.yumArtifacts!); } buildCounterUploadYumArtifactResponse--; } @@ -1261,8 +1261,8 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.ArtifactRegistryApi(mock).operations; - final arg_filter = 'foo'; final arg_name = 'foo'; + final arg_filter = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -1277,10 +1277,11 @@ void main() { ); pathOffset += 1; unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('v1/operations'), + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), ); - pathOffset += 13; + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; final query = (req.url).query; var queryOffset = 0; @@ -1301,10 +1302,6 @@ void main() { queryMap['filter']!.first, unittest.equals(arg_filter), ); - unittest.expect( - queryMap['name']!.first, - unittest.equals(arg_name), - ); unittest.expect( core.int.parse(queryMap['pageSize']!.first), unittest.equals(arg_pageSize), @@ -1324,9 +1321,8 @@ void main() { final resp = convert.json.encode(buildListOperationsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.list( + final response = await res.list(arg_name, filter: arg_filter, - name: arg_name, pageSize: arg_pageSize, pageToken: arg_pageToken, $fields: arg_$fields); diff --git a/generated/googleapis/test/assuredworkloads/v1_test.dart b/generated/googleapis/test/assuredworkloads/v1_test.dart index 941fdb660..bdfb59c14 100644 --- a/generated/googleapis/test/assuredworkloads/v1_test.dart +++ b/generated/googleapis/test/assuredworkloads/v1_test.dart @@ -69,12 +69,12 @@ void checkGoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata( buildCounterGoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata--; } -core.List buildUnnamed627() => [ +core.List buildUnnamed652() => [ buildGoogleCloudAssuredworkloadsV1Workload(), buildGoogleCloudAssuredworkloadsV1Workload(), ]; -void checkUnnamed627(core.List o) { +void checkUnnamed652(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssuredworkloadsV1Workload(o[0]); checkGoogleCloudAssuredworkloadsV1Workload(o[1]); @@ -87,7 +87,7 @@ api.GoogleCloudAssuredworkloadsV1ListWorkloadsResponse buildCounterGoogleCloudAssuredworkloadsV1ListWorkloadsResponse++; if (buildCounterGoogleCloudAssuredworkloadsV1ListWorkloadsResponse < 3) { o.nextPageToken = 'foo'; - o.workloads = buildUnnamed627(); + o.workloads = buildUnnamed652(); } buildCounterGoogleCloudAssuredworkloadsV1ListWorkloadsResponse--; return o; @@ -101,17 +101,17 @@ void checkGoogleCloudAssuredworkloadsV1ListWorkloadsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed627(o.workloads!); + checkUnnamed652(o.workloads!); } buildCounterGoogleCloudAssuredworkloadsV1ListWorkloadsResponse--; } -core.Map buildUnnamed628() => { +core.Map buildUnnamed653() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed628(core.Map o) { +void checkUnnamed653(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -124,12 +124,12 @@ void checkUnnamed628(core.Map o) { } core.List - buildUnnamed629() => [ + buildUnnamed654() => [ buildGoogleCloudAssuredworkloadsV1WorkloadResourceSettings(), buildGoogleCloudAssuredworkloadsV1WorkloadResourceSettings(), ]; -void checkUnnamed629( +void checkUnnamed654( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssuredworkloadsV1WorkloadResourceSettings(o[0]); @@ -137,12 +137,12 @@ void checkUnnamed629( } core.List - buildUnnamed630() => [ + buildUnnamed655() => [ buildGoogleCloudAssuredworkloadsV1WorkloadResourceInfo(), buildGoogleCloudAssuredworkloadsV1WorkloadResourceInfo(), ]; -void checkUnnamed630( +void checkUnnamed655( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssuredworkloadsV1WorkloadResourceInfo(o[0]); @@ -161,11 +161,11 @@ api.GoogleCloudAssuredworkloadsV1Workload o.displayName = 'foo'; o.etag = 'foo'; o.kmsSettings = buildGoogleCloudAssuredworkloadsV1WorkloadKMSSettings(); - o.labels = buildUnnamed628(); + o.labels = buildUnnamed653(); o.name = 'foo'; o.provisionedResourcesParent = 'foo'; - o.resourceSettings = buildUnnamed629(); - o.resources = buildUnnamed630(); + o.resourceSettings = buildUnnamed654(); + o.resources = buildUnnamed655(); } buildCounterGoogleCloudAssuredworkloadsV1Workload--; return o; @@ -196,7 +196,7 @@ void checkGoogleCloudAssuredworkloadsV1Workload( unittest.equals('foo'), ); checkGoogleCloudAssuredworkloadsV1WorkloadKMSSettings(o.kmsSettings!); - checkUnnamed628(o.labels!); + checkUnnamed653(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -205,8 +205,8 @@ void checkGoogleCloudAssuredworkloadsV1Workload( o.provisionedResourcesParent!, unittest.equals('foo'), ); - checkUnnamed629(o.resourceSettings!); - checkUnnamed630(o.resources!); + checkUnnamed654(o.resourceSettings!); + checkUnnamed655(o.resources!); } buildCounterGoogleCloudAssuredworkloadsV1Workload--; } @@ -304,12 +304,12 @@ void checkGoogleCloudAssuredworkloadsV1WorkloadResourceSettings( } core.List - buildUnnamed631() => [ + buildUnnamed656() => [ buildGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings(), buildGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings(), ]; -void checkUnnamed631( +void checkUnnamed656( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -331,7 +331,7 @@ api.GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata o.createTime = 'foo'; o.displayName = 'foo'; o.parent = 'foo'; - o.resourceSettings = buildUnnamed631(); + o.resourceSettings = buildUnnamed656(); } buildCounterGoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata--; return o; @@ -358,17 +358,17 @@ void checkGoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata( o.parent!, unittest.equals('foo'), ); - checkUnnamed631(o.resourceSettings!); + checkUnnamed656(o.resourceSettings!); } buildCounterGoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata--; } -core.Map buildUnnamed632() => { +core.Map buildUnnamed657() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed632(core.Map o) { +void checkUnnamed657(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -381,12 +381,12 @@ void checkUnnamed632(core.Map o) { } core.List - buildUnnamed633() => [ + buildUnnamed658() => [ buildGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings(), buildGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings(), ]; -void checkUnnamed633( +void checkUnnamed658( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -395,12 +395,12 @@ void checkUnnamed633( } core.List - buildUnnamed634() => [ + buildUnnamed659() => [ buildGoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo(), buildGoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo(), ]; -void checkUnnamed634( +void checkUnnamed659( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo(o[0]); @@ -428,11 +428,11 @@ api.GoogleCloudAssuredworkloadsV1beta1Workload buildGoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings(); o.kmsSettings = buildGoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings(); - o.labels = buildUnnamed632(); + o.labels = buildUnnamed657(); o.name = 'foo'; o.provisionedResourcesParent = 'foo'; - o.resourceSettings = buildUnnamed633(); - o.resources = buildUnnamed634(); + o.resourceSettings = buildUnnamed658(); + o.resources = buildUnnamed659(); } buildCounterGoogleCloudAssuredworkloadsV1beta1Workload--; return o; @@ -470,7 +470,7 @@ void checkGoogleCloudAssuredworkloadsV1beta1Workload( o.fedrampModerateSettings!); checkGoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings(o.il4Settings!); checkGoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings(o.kmsSettings!); - checkUnnamed632(o.labels!); + checkUnnamed657(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -479,8 +479,8 @@ void checkGoogleCloudAssuredworkloadsV1beta1Workload( o.provisionedResourcesParent!, unittest.equals('foo'), ); - checkUnnamed633(o.resourceSettings!); - checkUnnamed634(o.resources!); + checkUnnamed658(o.resourceSettings!); + checkUnnamed659(o.resources!); } buildCounterGoogleCloudAssuredworkloadsV1beta1Workload--; } @@ -677,12 +677,12 @@ void checkGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings( buildCounterGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings--; } -core.List buildUnnamed635() => [ +core.List buildUnnamed660() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed635(core.List o) { +void checkUnnamed660(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -695,7 +695,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed635(); + o.operations = buildUnnamed660(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -709,12 +709,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed635(o.operations!); + checkUnnamed660(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed636() => { +core.Map buildUnnamed661() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -727,7 +727,7 @@ core.Map buildUnnamed636() => { }, }; -void checkUnnamed636(core.Map o) { +void checkUnnamed661(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -759,7 +759,7 @@ void checkUnnamed636(core.Map o) { ); } -core.Map buildUnnamed637() => { +core.Map buildUnnamed662() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -772,7 +772,7 @@ core.Map buildUnnamed637() => { }, }; -void checkUnnamed637(core.Map o) { +void checkUnnamed662(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -811,9 +811,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed636(); + o.metadata = buildUnnamed661(); o.name = 'foo'; - o.response = buildUnnamed637(); + o.response = buildUnnamed662(); } buildCounterGoogleLongrunningOperation--; return o; @@ -824,12 +824,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed636(o.metadata!); + checkUnnamed661(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed637(o.response!); + checkUnnamed662(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -849,7 +849,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed638() => { +core.Map buildUnnamed663() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -862,7 +862,7 @@ core.Map buildUnnamed638() => { }, }; -void checkUnnamed638(core.Map o) { +void checkUnnamed663(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -894,15 +894,15 @@ void checkUnnamed638(core.Map o) { ); } -core.List> buildUnnamed639() => [ - buildUnnamed638(), - buildUnnamed638(), +core.List> buildUnnamed664() => [ + buildUnnamed663(), + buildUnnamed663(), ]; -void checkUnnamed639(core.List> o) { +void checkUnnamed664(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed638(o[0]); - checkUnnamed638(o[1]); + checkUnnamed663(o[0]); + checkUnnamed663(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -911,7 +911,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed639(); + o.details = buildUnnamed664(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -925,7 +925,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed639(o.details!); + checkUnnamed664(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart index bb892354c..c27622c3d 100644 --- a/generated/googleapis/test/bigquery/v2_test.dart +++ b/generated/googleapis/test/bigquery/v2_test.dart @@ -112,12 +112,12 @@ void checkArgument(api.Argument o) { buildCounterArgument--; } -core.List buildUnnamed1471() => [ +core.List buildUnnamed1501() => [ 42.0, 42.0, ]; -void checkUnnamed1471(core.List o) { +void checkUnnamed1501(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -129,12 +129,12 @@ void checkUnnamed1471(core.List o) { ); } -core.List buildUnnamed1472() => [ +core.List buildUnnamed1502() => [ 42.0, 42.0, ]; -void checkUnnamed1472(core.List o) { +void checkUnnamed1502(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -151,9 +151,9 @@ api.ArimaCoefficients buildArimaCoefficients() { final o = api.ArimaCoefficients(); buildCounterArimaCoefficients++; if (buildCounterArimaCoefficients < 3) { - o.autoRegressiveCoefficients = buildUnnamed1471(); + o.autoRegressiveCoefficients = buildUnnamed1501(); o.interceptCoefficient = 42.0; - o.movingAverageCoefficients = buildUnnamed1472(); + o.movingAverageCoefficients = buildUnnamed1502(); } buildCounterArimaCoefficients--; return o; @@ -162,12 +162,12 @@ api.ArimaCoefficients buildArimaCoefficients() { void checkArimaCoefficients(api.ArimaCoefficients o) { buildCounterArimaCoefficients++; if (buildCounterArimaCoefficients < 3) { - checkUnnamed1471(o.autoRegressiveCoefficients!); + checkUnnamed1501(o.autoRegressiveCoefficients!); unittest.expect( o.interceptCoefficient!, unittest.equals(42.0), ); - checkUnnamed1472(o.movingAverageCoefficients!); + checkUnnamed1502(o.movingAverageCoefficients!); } buildCounterArimaCoefficients--; } @@ -204,56 +204,56 @@ void checkArimaFittingMetrics(api.ArimaFittingMetrics o) { buildCounterArimaFittingMetrics--; } -core.List buildUnnamed1473() => [ +core.List buildUnnamed1503() => [ buildArimaFittingMetrics(), buildArimaFittingMetrics(), ]; -void checkUnnamed1473(core.List o) { +void checkUnnamed1503(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArimaFittingMetrics(o[0]); checkArimaFittingMetrics(o[1]); } -core.List buildUnnamed1474() => [ +core.List buildUnnamed1504() => [ buildArimaSingleModelForecastingMetrics(), buildArimaSingleModelForecastingMetrics(), ]; -void checkUnnamed1474(core.List o) { +void checkUnnamed1504(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArimaSingleModelForecastingMetrics(o[0]); checkArimaSingleModelForecastingMetrics(o[1]); } -core.List buildUnnamed1475() => [ +core.List buildUnnamed1505() => [ true, true, ]; -void checkUnnamed1475(core.List o) { +void checkUnnamed1505(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); } -core.List buildUnnamed1476() => [ +core.List buildUnnamed1506() => [ buildArimaOrder(), buildArimaOrder(), ]; -void checkUnnamed1476(core.List o) { +void checkUnnamed1506(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArimaOrder(o[0]); checkArimaOrder(o[1]); } -core.List buildUnnamed1477() => [ +core.List buildUnnamed1507() => [ 'foo', 'foo', ]; -void checkUnnamed1477(core.List o) { +void checkUnnamed1507(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -265,12 +265,12 @@ void checkUnnamed1477(core.List o) { ); } -core.List buildUnnamed1478() => [ +core.List buildUnnamed1508() => [ 'foo', 'foo', ]; -void checkUnnamed1478(core.List o) { +void checkUnnamed1508(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -287,12 +287,12 @@ api.ArimaForecastingMetrics buildArimaForecastingMetrics() { final o = api.ArimaForecastingMetrics(); buildCounterArimaForecastingMetrics++; if (buildCounterArimaForecastingMetrics < 3) { - o.arimaFittingMetrics = buildUnnamed1473(); - o.arimaSingleModelForecastingMetrics = buildUnnamed1474(); - o.hasDrift = buildUnnamed1475(); - o.nonSeasonalOrder = buildUnnamed1476(); - o.seasonalPeriods = buildUnnamed1477(); - o.timeSeriesId = buildUnnamed1478(); + o.arimaFittingMetrics = buildUnnamed1503(); + o.arimaSingleModelForecastingMetrics = buildUnnamed1504(); + o.hasDrift = buildUnnamed1505(); + o.nonSeasonalOrder = buildUnnamed1506(); + o.seasonalPeriods = buildUnnamed1507(); + o.timeSeriesId = buildUnnamed1508(); } buildCounterArimaForecastingMetrics--; return o; @@ -301,22 +301,22 @@ api.ArimaForecastingMetrics buildArimaForecastingMetrics() { void checkArimaForecastingMetrics(api.ArimaForecastingMetrics o) { buildCounterArimaForecastingMetrics++; if (buildCounterArimaForecastingMetrics < 3) { - checkUnnamed1473(o.arimaFittingMetrics!); - checkUnnamed1474(o.arimaSingleModelForecastingMetrics!); - checkUnnamed1475(o.hasDrift!); - checkUnnamed1476(o.nonSeasonalOrder!); - checkUnnamed1477(o.seasonalPeriods!); - checkUnnamed1478(o.timeSeriesId!); + checkUnnamed1503(o.arimaFittingMetrics!); + checkUnnamed1504(o.arimaSingleModelForecastingMetrics!); + checkUnnamed1505(o.hasDrift!); + checkUnnamed1506(o.nonSeasonalOrder!); + checkUnnamed1507(o.seasonalPeriods!); + checkUnnamed1508(o.timeSeriesId!); } buildCounterArimaForecastingMetrics--; } -core.List buildUnnamed1479() => [ +core.List buildUnnamed1509() => [ 'foo', 'foo', ]; -void checkUnnamed1479(core.List o) { +void checkUnnamed1509(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -328,12 +328,12 @@ void checkUnnamed1479(core.List o) { ); } -core.List buildUnnamed1480() => [ +core.List buildUnnamed1510() => [ 'foo', 'foo', ]; -void checkUnnamed1480(core.List o) { +void checkUnnamed1510(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -357,9 +357,9 @@ api.ArimaModelInfo buildArimaModelInfo() { o.hasSpikesAndDips = true; o.hasStepChanges = true; o.nonSeasonalOrder = buildArimaOrder(); - o.seasonalPeriods = buildUnnamed1479(); + o.seasonalPeriods = buildUnnamed1509(); o.timeSeriesId = 'foo'; - o.timeSeriesIds = buildUnnamed1480(); + o.timeSeriesIds = buildUnnamed1510(); } buildCounterArimaModelInfo--; return o; @@ -375,12 +375,12 @@ void checkArimaModelInfo(api.ArimaModelInfo o) { unittest.expect(o.hasSpikesAndDips!, unittest.isTrue); unittest.expect(o.hasStepChanges!, unittest.isTrue); checkArimaOrder(o.nonSeasonalOrder!); - checkUnnamed1479(o.seasonalPeriods!); + checkUnnamed1509(o.seasonalPeriods!); unittest.expect( o.timeSeriesId!, unittest.equals('foo'), ); - checkUnnamed1480(o.timeSeriesIds!); + checkUnnamed1510(o.timeSeriesIds!); } buildCounterArimaModelInfo--; } @@ -417,23 +417,23 @@ void checkArimaOrder(api.ArimaOrder o) { buildCounterArimaOrder--; } -core.List buildUnnamed1481() => [ +core.List buildUnnamed1511() => [ buildArimaModelInfo(), buildArimaModelInfo(), ]; -void checkUnnamed1481(core.List o) { +void checkUnnamed1511(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArimaModelInfo(o[0]); checkArimaModelInfo(o[1]); } -core.List buildUnnamed1482() => [ +core.List buildUnnamed1512() => [ 'foo', 'foo', ]; -void checkUnnamed1482(core.List o) { +void checkUnnamed1512(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -450,8 +450,8 @@ api.ArimaResult buildArimaResult() { final o = api.ArimaResult(); buildCounterArimaResult++; if (buildCounterArimaResult < 3) { - o.arimaModelInfo = buildUnnamed1481(); - o.seasonalPeriods = buildUnnamed1482(); + o.arimaModelInfo = buildUnnamed1511(); + o.seasonalPeriods = buildUnnamed1512(); } buildCounterArimaResult--; return o; @@ -460,18 +460,18 @@ api.ArimaResult buildArimaResult() { void checkArimaResult(api.ArimaResult o) { buildCounterArimaResult++; if (buildCounterArimaResult < 3) { - checkUnnamed1481(o.arimaModelInfo!); - checkUnnamed1482(o.seasonalPeriods!); + checkUnnamed1511(o.arimaModelInfo!); + checkUnnamed1512(o.seasonalPeriods!); } buildCounterArimaResult--; } -core.List buildUnnamed1483() => [ +core.List buildUnnamed1513() => [ 'foo', 'foo', ]; -void checkUnnamed1483(core.List o) { +void checkUnnamed1513(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -483,12 +483,12 @@ void checkUnnamed1483(core.List o) { ); } -core.List buildUnnamed1484() => [ +core.List buildUnnamed1514() => [ 'foo', 'foo', ]; -void checkUnnamed1484(core.List o) { +void checkUnnamed1514(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -512,9 +512,9 @@ api.ArimaSingleModelForecastingMetrics o.hasSpikesAndDips = true; o.hasStepChanges = true; o.nonSeasonalOrder = buildArimaOrder(); - o.seasonalPeriods = buildUnnamed1483(); + o.seasonalPeriods = buildUnnamed1513(); o.timeSeriesId = 'foo'; - o.timeSeriesIds = buildUnnamed1484(); + o.timeSeriesIds = buildUnnamed1514(); } buildCounterArimaSingleModelForecastingMetrics--; return o; @@ -530,22 +530,22 @@ void checkArimaSingleModelForecastingMetrics( unittest.expect(o.hasSpikesAndDips!, unittest.isTrue); unittest.expect(o.hasStepChanges!, unittest.isTrue); checkArimaOrder(o.nonSeasonalOrder!); - checkUnnamed1483(o.seasonalPeriods!); + checkUnnamed1513(o.seasonalPeriods!); unittest.expect( o.timeSeriesId!, unittest.equals('foo'), ); - checkUnnamed1484(o.timeSeriesIds!); + checkUnnamed1514(o.timeSeriesIds!); } buildCounterArimaSingleModelForecastingMetrics--; } -core.List buildUnnamed1485() => [ +core.List buildUnnamed1515() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed1485(core.List o) { +void checkUnnamed1515(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -556,7 +556,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed1485(); + o.auditLogConfigs = buildUnnamed1515(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -566,7 +566,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed1485(o.auditLogConfigs!); + checkUnnamed1515(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -575,12 +575,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed1486() => [ +core.List buildUnnamed1516() => [ 'foo', 'foo', ]; -void checkUnnamed1486(core.List o) { +void checkUnnamed1516(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -597,7 +597,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed1486(); + o.exemptedMembers = buildUnnamed1516(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -607,7 +607,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed1486(o.exemptedMembers!); + checkUnnamed1516(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -616,6 +616,25 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } +core.int buildCounterAvroOptions = 0; +api.AvroOptions buildAvroOptions() { + final o = api.AvroOptions(); + buildCounterAvroOptions++; + if (buildCounterAvroOptions < 3) { + o.useAvroLogicalTypes = true; + } + buildCounterAvroOptions--; + return o; +} + +void checkAvroOptions(api.AvroOptions o) { + buildCounterAvroOptions++; + if (buildCounterAvroOptions < 3) { + unittest.expect(o.useAvroLogicalTypes!, unittest.isTrue); + } + buildCounterAvroOptions--; +} + core.int buildCounterBiEngineReason = 0; api.BiEngineReason buildBiEngineReason() { final o = api.BiEngineReason(); @@ -643,12 +662,12 @@ void checkBiEngineReason(api.BiEngineReason o) { buildCounterBiEngineReason--; } -core.List buildUnnamed1487() => [ +core.List buildUnnamed1517() => [ buildBiEngineReason(), buildBiEngineReason(), ]; -void checkUnnamed1487(core.List o) { +void checkUnnamed1517(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBiEngineReason(o[0]); checkBiEngineReason(o[1]); @@ -660,7 +679,7 @@ api.BiEngineStatistics buildBiEngineStatistics() { buildCounterBiEngineStatistics++; if (buildCounterBiEngineStatistics < 3) { o.biEngineMode = 'foo'; - o.biEngineReasons = buildUnnamed1487(); + o.biEngineReasons = buildUnnamed1517(); } buildCounterBiEngineStatistics--; return o; @@ -673,7 +692,7 @@ void checkBiEngineStatistics(api.BiEngineStatistics o) { o.biEngineMode!, unittest.equals('foo'), ); - checkUnnamed1487(o.biEngineReasons!); + checkUnnamed1517(o.biEngineReasons!); } buildCounterBiEngineStatistics--; } @@ -749,12 +768,12 @@ void checkBigtableColumn(api.BigtableColumn o) { buildCounterBigtableColumn--; } -core.List buildUnnamed1488() => [ +core.List buildUnnamed1518() => [ buildBigtableColumn(), buildBigtableColumn(), ]; -void checkUnnamed1488(core.List o) { +void checkUnnamed1518(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBigtableColumn(o[0]); checkBigtableColumn(o[1]); @@ -765,7 +784,7 @@ api.BigtableColumnFamily buildBigtableColumnFamily() { final o = api.BigtableColumnFamily(); buildCounterBigtableColumnFamily++; if (buildCounterBigtableColumnFamily < 3) { - o.columns = buildUnnamed1488(); + o.columns = buildUnnamed1518(); o.encoding = 'foo'; o.familyId = 'foo'; o.onlyReadLatest = true; @@ -778,7 +797,7 @@ api.BigtableColumnFamily buildBigtableColumnFamily() { void checkBigtableColumnFamily(api.BigtableColumnFamily o) { buildCounterBigtableColumnFamily++; if (buildCounterBigtableColumnFamily < 3) { - checkUnnamed1488(o.columns!); + checkUnnamed1518(o.columns!); unittest.expect( o.encoding!, unittest.equals('foo'), @@ -796,12 +815,12 @@ void checkBigtableColumnFamily(api.BigtableColumnFamily o) { buildCounterBigtableColumnFamily--; } -core.List buildUnnamed1489() => [ +core.List buildUnnamed1519() => [ buildBigtableColumnFamily(), buildBigtableColumnFamily(), ]; -void checkUnnamed1489(core.List o) { +void checkUnnamed1519(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBigtableColumnFamily(o[0]); checkBigtableColumnFamily(o[1]); @@ -812,7 +831,7 @@ api.BigtableOptions buildBigtableOptions() { final o = api.BigtableOptions(); buildCounterBigtableOptions++; if (buildCounterBigtableOptions < 3) { - o.columnFamilies = buildUnnamed1489(); + o.columnFamilies = buildUnnamed1519(); o.ignoreUnspecifiedColumnFamilies = true; o.readRowkeyAsString = true; } @@ -823,19 +842,19 @@ api.BigtableOptions buildBigtableOptions() { void checkBigtableOptions(api.BigtableOptions o) { buildCounterBigtableOptions++; if (buildCounterBigtableOptions < 3) { - checkUnnamed1489(o.columnFamilies!); + checkUnnamed1519(o.columnFamilies!); unittest.expect(o.ignoreUnspecifiedColumnFamilies!, unittest.isTrue); unittest.expect(o.readRowkeyAsString!, unittest.isTrue); } buildCounterBigtableOptions--; } -core.List buildUnnamed1490() => [ +core.List buildUnnamed1520() => [ buildBinaryConfusionMatrix(), buildBinaryConfusionMatrix(), ]; -void checkUnnamed1490(core.List o) { +void checkUnnamed1520(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinaryConfusionMatrix(o[0]); checkBinaryConfusionMatrix(o[1]); @@ -847,7 +866,7 @@ api.BinaryClassificationMetrics buildBinaryClassificationMetrics() { buildCounterBinaryClassificationMetrics++; if (buildCounterBinaryClassificationMetrics < 3) { o.aggregateClassificationMetrics = buildAggregateClassificationMetrics(); - o.binaryConfusionMatrixList = buildUnnamed1490(); + o.binaryConfusionMatrixList = buildUnnamed1520(); o.negativeLabel = 'foo'; o.positiveLabel = 'foo'; } @@ -859,7 +878,7 @@ void checkBinaryClassificationMetrics(api.BinaryClassificationMetrics o) { buildCounterBinaryClassificationMetrics++; if (buildCounterBinaryClassificationMetrics < 3) { checkAggregateClassificationMetrics(o.aggregateClassificationMetrics!); - checkUnnamed1490(o.binaryConfusionMatrixList!); + checkUnnamed1520(o.binaryConfusionMatrixList!); unittest.expect( o.negativeLabel!, unittest.equals('foo'), @@ -934,12 +953,12 @@ void checkBinaryConfusionMatrix(api.BinaryConfusionMatrix o) { buildCounterBinaryConfusionMatrix--; } -core.List buildUnnamed1491() => [ +core.List buildUnnamed1521() => [ 'foo', 'foo', ]; -void checkUnnamed1491(core.List o) { +void checkUnnamed1521(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -957,7 +976,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1491(); + o.members = buildUnnamed1521(); o.role = 'foo'; } buildCounterBinding--; @@ -968,7 +987,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1491(o.members!); + checkUnnamed1521(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -1019,12 +1038,12 @@ void checkBqmlIterationResult(api.BqmlIterationResult o) { buildCounterBqmlIterationResult--; } -core.List buildUnnamed1492() => [ +core.List buildUnnamed1522() => [ buildBqmlIterationResult(), buildBqmlIterationResult(), ]; -void checkUnnamed1492(core.List o) { +void checkUnnamed1522(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBqmlIterationResult(o[0]); checkBqmlIterationResult(o[1]); @@ -1091,7 +1110,7 @@ api.BqmlTrainingRun buildBqmlTrainingRun() { final o = api.BqmlTrainingRun(); buildCounterBqmlTrainingRun++; if (buildCounterBqmlTrainingRun < 3) { - o.iterationResults = buildUnnamed1492(); + o.iterationResults = buildUnnamed1522(); o.startTime = core.DateTime.parse('2002-02-27T14:01:02'); o.state = 'foo'; o.trainingOptions = buildBqmlTrainingRunTrainingOptions(); @@ -1103,7 +1122,7 @@ api.BqmlTrainingRun buildBqmlTrainingRun() { void checkBqmlTrainingRun(api.BqmlTrainingRun o) { buildCounterBqmlTrainingRun++; if (buildCounterBqmlTrainingRun < 3) { - checkUnnamed1492(o.iterationResults!); + checkUnnamed1522(o.iterationResults!); unittest.expect( o.startTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -1117,12 +1136,12 @@ void checkBqmlTrainingRun(api.BqmlTrainingRun o) { buildCounterBqmlTrainingRun--; } -core.List buildUnnamed1493() => [ +core.List buildUnnamed1523() => [ buildCategoryCount(), buildCategoryCount(), ]; -void checkUnnamed1493(core.List o) { +void checkUnnamed1523(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCategoryCount(o[0]); checkCategoryCount(o[1]); @@ -1133,7 +1152,7 @@ api.CategoricalValue buildCategoricalValue() { final o = api.CategoricalValue(); buildCounterCategoricalValue++; if (buildCounterCategoricalValue < 3) { - o.categoryCounts = buildUnnamed1493(); + o.categoryCounts = buildUnnamed1523(); } buildCounterCategoricalValue--; return o; @@ -1142,7 +1161,7 @@ api.CategoricalValue buildCategoricalValue() { void checkCategoricalValue(api.CategoricalValue o) { buildCounterCategoricalValue++; if (buildCounterCategoricalValue < 3) { - checkUnnamed1493(o.categoryCounts!); + checkUnnamed1523(o.categoryCounts!); } buildCounterCategoricalValue--; } @@ -1174,12 +1193,12 @@ void checkCategoryCount(api.CategoryCount o) { buildCounterCategoryCount--; } -core.List buildUnnamed1494() => [ +core.List buildUnnamed1524() => [ buildFeatureValue(), buildFeatureValue(), ]; -void checkUnnamed1494(core.List o) { +void checkUnnamed1524(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeatureValue(o[0]); checkFeatureValue(o[1]); @@ -1192,7 +1211,7 @@ api.Cluster buildCluster() { if (buildCounterCluster < 3) { o.centroidId = 'foo'; o.count = 'foo'; - o.featureValues = buildUnnamed1494(); + o.featureValues = buildUnnamed1524(); } buildCounterCluster--; return o; @@ -1209,7 +1228,7 @@ void checkCluster(api.Cluster o) { o.count!, unittest.equals('foo'), ); - checkUnnamed1494(o.featureValues!); + checkUnnamed1524(o.featureValues!); } buildCounterCluster--; } @@ -1246,12 +1265,12 @@ void checkClusterInfo(api.ClusterInfo o) { buildCounterClusterInfo--; } -core.List buildUnnamed1495() => [ +core.List buildUnnamed1525() => [ 'foo', 'foo', ]; -void checkUnnamed1495(core.List o) { +void checkUnnamed1525(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1268,7 +1287,7 @@ api.Clustering buildClustering() { final o = api.Clustering(); buildCounterClustering++; if (buildCounterClustering < 3) { - o.fields = buildUnnamed1495(); + o.fields = buildUnnamed1525(); } buildCounterClustering--; return o; @@ -1277,17 +1296,17 @@ api.Clustering buildClustering() { void checkClustering(api.Clustering o) { buildCounterClustering++; if (buildCounterClustering < 3) { - checkUnnamed1495(o.fields!); + checkUnnamed1525(o.fields!); } buildCounterClustering--; } -core.List buildUnnamed1496() => [ +core.List buildUnnamed1526() => [ buildCluster(), buildCluster(), ]; -void checkUnnamed1496(core.List o) { +void checkUnnamed1526(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCluster(o[0]); checkCluster(o[1]); @@ -1298,7 +1317,7 @@ api.ClusteringMetrics buildClusteringMetrics() { final o = api.ClusteringMetrics(); buildCounterClusteringMetrics++; if (buildCounterClusteringMetrics < 3) { - o.clusters = buildUnnamed1496(); + o.clusters = buildUnnamed1526(); o.daviesBouldinIndex = 42.0; o.meanSquaredDistance = 42.0; } @@ -1309,7 +1328,7 @@ api.ClusteringMetrics buildClusteringMetrics() { void checkClusteringMetrics(api.ClusteringMetrics o) { buildCounterClusteringMetrics++; if (buildCounterClusteringMetrics < 3) { - checkUnnamed1496(o.clusters!); + checkUnnamed1526(o.clusters!); unittest.expect( o.daviesBouldinIndex!, unittest.equals(42.0), @@ -1322,12 +1341,12 @@ void checkClusteringMetrics(api.ClusteringMetrics o) { buildCounterClusteringMetrics--; } -core.List buildUnnamed1497() => [ +core.List buildUnnamed1527() => [ buildRow(), buildRow(), ]; -void checkUnnamed1497(core.List o) { +void checkUnnamed1527(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -1339,7 +1358,7 @@ api.ConfusionMatrix buildConfusionMatrix() { buildCounterConfusionMatrix++; if (buildCounterConfusionMatrix < 3) { o.confidenceThreshold = 42.0; - o.rows = buildUnnamed1497(); + o.rows = buildUnnamed1527(); } buildCounterConfusionMatrix--; return o; @@ -1352,7 +1371,7 @@ void checkConfusionMatrix(api.ConfusionMatrix o) { o.confidenceThreshold!, unittest.equals(42.0), ); - checkUnnamed1497(o.rows!); + checkUnnamed1527(o.rows!); } buildCounterConfusionMatrix--; } @@ -1393,6 +1412,7 @@ api.CsvOptions buildCsvOptions() { o.allowQuotedNewlines = true; o.encoding = 'foo'; o.fieldDelimiter = 'foo'; + o.nullMarker = 'foo'; o.quote = 'foo'; o.skipLeadingRows = 'foo'; } @@ -1413,6 +1433,10 @@ void checkCsvOptions(api.CsvOptions o) { o.fieldDelimiter!, unittest.equals('foo'), ); + unittest.expect( + o.nullMarker!, + unittest.equals('foo'), + ); unittest.expect( o.quote!, unittest.equals('foo'), @@ -1499,23 +1523,23 @@ void checkDatasetAccess(api.DatasetAccess o) { buildCounterDatasetAccess--; } -core.List buildUnnamed1498() => [ +core.List buildUnnamed1528() => [ buildDatasetAccess(), buildDatasetAccess(), ]; -void checkUnnamed1498(core.List o) { +void checkUnnamed1528(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetAccess(o[0]); checkDatasetAccess(o[1]); } -core.Map buildUnnamed1499() => { +core.Map buildUnnamed1529() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1499(core.Map o) { +void checkUnnamed1529(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1532,7 +1556,7 @@ api.Dataset buildDataset() { final o = api.Dataset(); buildCounterDataset++; if (buildCounterDataset < 3) { - o.access = buildUnnamed1498(); + o.access = buildUnnamed1528(); o.creationTime = 'foo'; o.datasetReference = buildDatasetReference(); o.defaultEncryptionConfiguration = buildEncryptionConfiguration(); @@ -1542,8 +1566,9 @@ api.Dataset buildDataset() { o.etag = 'foo'; o.friendlyName = 'foo'; o.id = 'foo'; + o.isCaseInsensitive = true; o.kind = 'foo'; - o.labels = buildUnnamed1499(); + o.labels = buildUnnamed1529(); o.lastModifiedTime = 'foo'; o.location = 'foo'; o.satisfiesPZS = true; @@ -1556,7 +1581,7 @@ api.Dataset buildDataset() { void checkDataset(api.Dataset o) { buildCounterDataset++; if (buildCounterDataset < 3) { - checkUnnamed1498(o.access!); + checkUnnamed1528(o.access!); unittest.expect( o.creationTime!, unittest.equals('foo'), @@ -1587,11 +1612,12 @@ void checkDataset(api.Dataset o) { o.id!, unittest.equals('foo'), ); + unittest.expect(o.isCaseInsensitive!, unittest.isTrue); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed1499(o.labels!); + checkUnnamed1529(o.labels!); unittest.expect( o.lastModifiedTime!, unittest.equals('foo'), @@ -1631,12 +1657,12 @@ void checkDatasetAccessEntryTargetTypes(api.DatasetAccessEntryTargetTypes o) { buildCounterDatasetAccessEntryTargetTypes--; } -core.List buildUnnamed1500() => [ +core.List buildUnnamed1530() => [ buildDatasetAccessEntryTargetTypes(), buildDatasetAccessEntryTargetTypes(), ]; -void checkUnnamed1500(core.List o) { +void checkUnnamed1530(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetAccessEntryTargetTypes(o[0]); checkDatasetAccessEntryTargetTypes(o[1]); @@ -1648,7 +1674,7 @@ api.DatasetAccessEntry buildDatasetAccessEntry() { buildCounterDatasetAccessEntry++; if (buildCounterDatasetAccessEntry < 3) { o.dataset = buildDatasetReference(); - o.targetTypes = buildUnnamed1500(); + o.targetTypes = buildUnnamed1530(); } buildCounterDatasetAccessEntry--; return o; @@ -1658,17 +1684,17 @@ void checkDatasetAccessEntry(api.DatasetAccessEntry o) { buildCounterDatasetAccessEntry++; if (buildCounterDatasetAccessEntry < 3) { checkDatasetReference(o.dataset!); - checkUnnamed1500(o.targetTypes!); + checkUnnamed1530(o.targetTypes!); } buildCounterDatasetAccessEntry--; } -core.Map buildUnnamed1501() => { +core.Map buildUnnamed1531() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1501(core.Map o) { +void checkUnnamed1531(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1689,7 +1715,7 @@ api.DatasetListDatasets buildDatasetListDatasets() { o.friendlyName = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed1501(); + o.labels = buildUnnamed1531(); o.location = 'foo'; } buildCounterDatasetListDatasets--; @@ -1712,7 +1738,7 @@ void checkDatasetListDatasets(api.DatasetListDatasets o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1501(o.labels!); + checkUnnamed1531(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -1721,12 +1747,12 @@ void checkDatasetListDatasets(api.DatasetListDatasets o) { buildCounterDatasetListDatasets--; } -core.List buildUnnamed1502() => [ +core.List buildUnnamed1532() => [ buildDatasetListDatasets(), buildDatasetListDatasets(), ]; -void checkUnnamed1502(core.List o) { +void checkUnnamed1532(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetListDatasets(o[0]); checkDatasetListDatasets(o[1]); @@ -1737,7 +1763,7 @@ api.DatasetList buildDatasetList() { final o = api.DatasetList(); buildCounterDatasetList++; if (buildCounterDatasetList < 3) { - o.datasets = buildUnnamed1502(); + o.datasets = buildUnnamed1532(); o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -1749,7 +1775,7 @@ api.DatasetList buildDatasetList() { void checkDatasetList(api.DatasetList o) { buildCounterDatasetList++; if (buildCounterDatasetList < 3) { - checkUnnamed1502(o.datasets!); + checkUnnamed1532(o.datasets!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1793,12 +1819,12 @@ void checkDatasetReference(api.DatasetReference o) { buildCounterDatasetReference--; } -core.Map buildUnnamed1503() => { +core.Map buildUnnamed1533() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1503(core.Map o) { +void checkUnnamed1533(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1817,7 +1843,7 @@ api.DestinationTableProperties buildDestinationTableProperties() { if (buildCounterDestinationTableProperties < 3) { o.description = 'foo'; o.friendlyName = 'foo'; - o.labels = buildUnnamed1503(); + o.labels = buildUnnamed1533(); } buildCounterDestinationTableProperties--; return o; @@ -1834,7 +1860,7 @@ void checkDestinationTableProperties(api.DestinationTableProperties o) { o.friendlyName!, unittest.equals('foo'), ); - checkUnnamed1503(o.labels!); + checkUnnamed1533(o.labels!); } buildCounterDestinationTableProperties--; } @@ -1986,12 +2012,12 @@ void checkEvaluationMetrics(api.EvaluationMetrics o) { buildCounterEvaluationMetrics--; } -core.List buildUnnamed1504() => [ +core.List buildUnnamed1534() => [ 'foo', 'foo', ]; -void checkUnnamed1504(core.List o) { +void checkUnnamed1534(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2003,12 +2029,12 @@ void checkUnnamed1504(core.List o) { ); } -core.List buildUnnamed1505() => [ +core.List buildUnnamed1535() => [ buildExplainQueryStep(), buildExplainQueryStep(), ]; -void checkUnnamed1505(core.List o) { +void checkUnnamed1535(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExplainQueryStep(o[0]); checkExplainQueryStep(o[1]); @@ -2026,7 +2052,7 @@ api.ExplainQueryStage buildExplainQueryStage() { o.computeRatioMax = 42.0; o.endMs = 'foo'; o.id = 'foo'; - o.inputStages = buildUnnamed1504(); + o.inputStages = buildUnnamed1534(); o.name = 'foo'; o.parallelInputs = 'foo'; o.readMsAvg = 'foo'; @@ -2040,7 +2066,7 @@ api.ExplainQueryStage buildExplainQueryStage() { o.slotMs = 'foo'; o.startMs = 'foo'; o.status = 'foo'; - o.steps = buildUnnamed1505(); + o.steps = buildUnnamed1535(); o.waitMsAvg = 'foo'; o.waitMsMax = 'foo'; o.waitRatioAvg = 42.0; @@ -2085,7 +2111,7 @@ void checkExplainQueryStage(api.ExplainQueryStage o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1504(o.inputStages!); + checkUnnamed1534(o.inputStages!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2138,7 +2164,7 @@ void checkExplainQueryStage(api.ExplainQueryStage o) { o.status!, unittest.equals('foo'), ); - checkUnnamed1505(o.steps!); + checkUnnamed1535(o.steps!); unittest.expect( o.waitMsAvg!, unittest.equals('foo'), @@ -2175,12 +2201,12 @@ void checkExplainQueryStage(api.ExplainQueryStage o) { buildCounterExplainQueryStage--; } -core.List buildUnnamed1506() => [ +core.List buildUnnamed1536() => [ 'foo', 'foo', ]; -void checkUnnamed1506(core.List o) { +void checkUnnamed1536(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2198,7 +2224,7 @@ api.ExplainQueryStep buildExplainQueryStep() { buildCounterExplainQueryStep++; if (buildCounterExplainQueryStep < 3) { o.kind = 'foo'; - o.substeps = buildUnnamed1506(); + o.substeps = buildUnnamed1536(); } buildCounterExplainQueryStep--; return o; @@ -2211,7 +2237,7 @@ void checkExplainQueryStep(api.ExplainQueryStep o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1506(o.substeps!); + checkUnnamed1536(o.substeps!); } buildCounterExplainQueryStep--; } @@ -2253,12 +2279,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed1507() => [ +core.List buildUnnamed1537() => [ 'foo', 'foo', ]; -void checkUnnamed1507(core.List o) { +void checkUnnamed1537(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2270,12 +2296,12 @@ void checkUnnamed1507(core.List o) { ); } -core.List buildUnnamed1508() => [ +core.List buildUnnamed1538() => [ 'foo', 'foo', ]; -void checkUnnamed1508(core.List o) { +void checkUnnamed1538(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2293,11 +2319,12 @@ api.ExternalDataConfiguration buildExternalDataConfiguration() { buildCounterExternalDataConfiguration++; if (buildCounterExternalDataConfiguration < 3) { o.autodetect = true; + o.avroOptions = buildAvroOptions(); o.bigtableOptions = buildBigtableOptions(); o.compression = 'foo'; o.connectionId = 'foo'; o.csvOptions = buildCsvOptions(); - o.decimalTargetTypes = buildUnnamed1507(); + o.decimalTargetTypes = buildUnnamed1537(); o.googleSheetsOptions = buildGoogleSheetsOptions(); o.hivePartitioningOptions = buildHivePartitioningOptions(); o.ignoreUnknownValues = true; @@ -2305,7 +2332,7 @@ api.ExternalDataConfiguration buildExternalDataConfiguration() { o.parquetOptions = buildParquetOptions(); o.schema = buildTableSchema(); o.sourceFormat = 'foo'; - o.sourceUris = buildUnnamed1508(); + o.sourceUris = buildUnnamed1538(); } buildCounterExternalDataConfiguration--; return o; @@ -2315,6 +2342,7 @@ void checkExternalDataConfiguration(api.ExternalDataConfiguration o) { buildCounterExternalDataConfiguration++; if (buildCounterExternalDataConfiguration < 3) { unittest.expect(o.autodetect!, unittest.isTrue); + checkAvroOptions(o.avroOptions!); checkBigtableOptions(o.bigtableOptions!); unittest.expect( o.compression!, @@ -2325,7 +2353,7 @@ void checkExternalDataConfiguration(api.ExternalDataConfiguration o) { unittest.equals('foo'), ); checkCsvOptions(o.csvOptions!); - checkUnnamed1507(o.decimalTargetTypes!); + checkUnnamed1537(o.decimalTargetTypes!); checkGoogleSheetsOptions(o.googleSheetsOptions!); checkHivePartitioningOptions(o.hivePartitioningOptions!); unittest.expect(o.ignoreUnknownValues!, unittest.isTrue); @@ -2339,7 +2367,7 @@ void checkExternalDataConfiguration(api.ExternalDataConfiguration o) { o.sourceFormat!, unittest.equals('foo'), ); - checkUnnamed1508(o.sourceUris!); + checkUnnamed1538(o.sourceUris!); } buildCounterExternalDataConfiguration--; } @@ -2414,23 +2442,23 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed1509() => [ +core.List buildUnnamed1539() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed1509(core.List o) { +void checkUnnamed1539(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); } -core.List buildUnnamed1510() => [ +core.List buildUnnamed1540() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed1510(core.List o) { +void checkUnnamed1540(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -2442,14 +2470,14 @@ api.GetQueryResultsResponse buildGetQueryResultsResponse() { buildCounterGetQueryResultsResponse++; if (buildCounterGetQueryResultsResponse < 3) { o.cacheHit = true; - o.errors = buildUnnamed1509(); + o.errors = buildUnnamed1539(); o.etag = 'foo'; o.jobComplete = true; o.jobReference = buildJobReference(); o.kind = 'foo'; o.numDmlAffectedRows = 'foo'; o.pageToken = 'foo'; - o.rows = buildUnnamed1510(); + o.rows = buildUnnamed1540(); o.schema = buildTableSchema(); o.totalBytesProcessed = 'foo'; o.totalRows = 'foo'; @@ -2462,7 +2490,7 @@ void checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { buildCounterGetQueryResultsResponse++; if (buildCounterGetQueryResultsResponse < 3) { unittest.expect(o.cacheHit!, unittest.isTrue); - checkUnnamed1509(o.errors!); + checkUnnamed1539(o.errors!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2481,7 +2509,7 @@ void checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed1510(o.rows!); + checkUnnamed1540(o.rows!); checkTableSchema(o.schema!); unittest.expect( o.totalBytesProcessed!, @@ -2578,12 +2606,12 @@ void checkHivePartitioningOptions(api.HivePartitioningOptions o) { buildCounterHivePartitioningOptions--; } -core.List buildUnnamed1511() => [ +core.List buildUnnamed1541() => [ buildClusterInfo(), buildClusterInfo(), ]; -void checkUnnamed1511(core.List o) { +void checkUnnamed1541(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClusterInfo(o[0]); checkClusterInfo(o[1]); @@ -2595,7 +2623,7 @@ api.IterationResult buildIterationResult() { buildCounterIterationResult++; if (buildCounterIterationResult < 3) { o.arimaResult = buildArimaResult(); - o.clusterInfos = buildUnnamed1511(); + o.clusterInfos = buildUnnamed1541(); o.durationMs = 'foo'; o.evalLoss = 42.0; o.index = 42; @@ -2610,7 +2638,7 @@ void checkIterationResult(api.IterationResult o) { buildCounterIterationResult++; if (buildCounterIterationResult < 3) { checkArimaResult(o.arimaResult!); - checkUnnamed1511(o.clusterInfos!); + checkUnnamed1541(o.clusterInfos!); unittest.expect( o.durationMs!, unittest.equals('foo'), @@ -2709,12 +2737,12 @@ void checkJobCancelResponse(api.JobCancelResponse o) { buildCounterJobCancelResponse--; } -core.Map buildUnnamed1512() => { +core.Map buildUnnamed1542() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1512(core.Map o) { +void checkUnnamed1542(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2736,7 +2764,7 @@ api.JobConfiguration buildJobConfiguration() { o.extract = buildJobConfigurationExtract(); o.jobTimeoutMs = 'foo'; o.jobType = 'foo'; - o.labels = buildUnnamed1512(); + o.labels = buildUnnamed1542(); o.load = buildJobConfigurationLoad(); o.query = buildJobConfigurationQuery(); } @@ -2758,19 +2786,19 @@ void checkJobConfiguration(api.JobConfiguration o) { o.jobType!, unittest.equals('foo'), ); - checkUnnamed1512(o.labels!); + checkUnnamed1542(o.labels!); checkJobConfigurationLoad(o.load!); checkJobConfigurationQuery(o.query!); } buildCounterJobConfiguration--; } -core.List buildUnnamed1513() => [ +core.List buildUnnamed1543() => [ 'foo', 'foo', ]; -void checkUnnamed1513(core.List o) { +void checkUnnamed1543(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2790,7 +2818,7 @@ api.JobConfigurationExtract buildJobConfigurationExtract() { o.compression = 'foo'; o.destinationFormat = 'foo'; o.destinationUri = 'foo'; - o.destinationUris = buildUnnamed1513(); + o.destinationUris = buildUnnamed1543(); o.fieldDelimiter = 'foo'; o.printHeader = true; o.sourceModel = buildModelReference(); @@ -2816,7 +2844,7 @@ void checkJobConfigurationExtract(api.JobConfigurationExtract o) { o.destinationUri!, unittest.equals('foo'), ); - checkUnnamed1513(o.destinationUris!); + checkUnnamed1543(o.destinationUris!); unittest.expect( o.fieldDelimiter!, unittest.equals('foo'), @@ -2829,12 +2857,12 @@ void checkJobConfigurationExtract(api.JobConfigurationExtract o) { buildCounterJobConfigurationExtract--; } -core.List buildUnnamed1514() => [ +core.List buildUnnamed1544() => [ 'foo', 'foo', ]; -void checkUnnamed1514(core.List o) { +void checkUnnamed1544(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2846,12 +2874,12 @@ void checkUnnamed1514(core.List o) { ); } -core.List buildUnnamed1515() => [ +core.List buildUnnamed1545() => [ 'foo', 'foo', ]; -void checkUnnamed1515(core.List o) { +void checkUnnamed1545(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2863,12 +2891,12 @@ void checkUnnamed1515(core.List o) { ); } -core.List buildUnnamed1516() => [ +core.List buildUnnamed1546() => [ 'foo', 'foo', ]; -void checkUnnamed1516(core.List o) { +void checkUnnamed1546(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2880,12 +2908,12 @@ void checkUnnamed1516(core.List o) { ); } -core.List buildUnnamed1517() => [ +core.List buildUnnamed1547() => [ 'foo', 'foo', ]; -void checkUnnamed1517(core.List o) { +void checkUnnamed1547(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2907,7 +2935,7 @@ api.JobConfigurationLoad buildJobConfigurationLoad() { o.autodetect = true; o.clustering = buildClustering(); o.createDisposition = 'foo'; - o.decimalTargetTypes = buildUnnamed1514(); + o.decimalTargetTypes = buildUnnamed1544(); o.destinationEncryptionConfiguration = buildEncryptionConfiguration(); o.destinationTable = buildTableReference(); o.destinationTableProperties = buildDestinationTableProperties(); @@ -2919,16 +2947,16 @@ api.JobConfigurationLoad buildJobConfigurationLoad() { o.maxBadRecords = 42; o.nullMarker = 'foo'; o.parquetOptions = buildParquetOptions(); - o.projectionFields = buildUnnamed1515(); + o.projectionFields = buildUnnamed1545(); o.quote = 'foo'; o.rangePartitioning = buildRangePartitioning(); o.schema = buildTableSchema(); o.schemaInline = 'foo'; o.schemaInlineFormat = 'foo'; - o.schemaUpdateOptions = buildUnnamed1516(); + o.schemaUpdateOptions = buildUnnamed1546(); o.skipLeadingRows = 42; o.sourceFormat = 'foo'; - o.sourceUris = buildUnnamed1517(); + o.sourceUris = buildUnnamed1547(); o.timePartitioning = buildTimePartitioning(); o.useAvroLogicalTypes = true; o.writeDisposition = 'foo'; @@ -2948,7 +2976,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { o.createDisposition!, unittest.equals('foo'), ); - checkUnnamed1514(o.decimalTargetTypes!); + checkUnnamed1544(o.decimalTargetTypes!); checkEncryptionConfiguration(o.destinationEncryptionConfiguration!); checkTableReference(o.destinationTable!); checkDestinationTableProperties(o.destinationTableProperties!); @@ -2975,7 +3003,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { unittest.equals('foo'), ); checkParquetOptions(o.parquetOptions!); - checkUnnamed1515(o.projectionFields!); + checkUnnamed1545(o.projectionFields!); unittest.expect( o.quote!, unittest.equals('foo'), @@ -2990,7 +3018,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { o.schemaInlineFormat!, unittest.equals('foo'), ); - checkUnnamed1516(o.schemaUpdateOptions!); + checkUnnamed1546(o.schemaUpdateOptions!); unittest.expect( o.skipLeadingRows!, unittest.equals(42), @@ -2999,7 +3027,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { o.sourceFormat!, unittest.equals('foo'), ); - checkUnnamed1517(o.sourceUris!); + checkUnnamed1547(o.sourceUris!); checkTimePartitioning(o.timePartitioning!); unittest.expect(o.useAvroLogicalTypes!, unittest.isTrue); unittest.expect( @@ -3010,34 +3038,34 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { buildCounterJobConfigurationLoad--; } -core.List buildUnnamed1518() => [ +core.List buildUnnamed1548() => [ buildConnectionProperty(), buildConnectionProperty(), ]; -void checkUnnamed1518(core.List o) { +void checkUnnamed1548(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionProperty(o[0]); checkConnectionProperty(o[1]); } -core.List buildUnnamed1519() => [ +core.List buildUnnamed1549() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed1519(core.List o) { +void checkUnnamed1549(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); } -core.List buildUnnamed1520() => [ +core.List buildUnnamed1550() => [ 'foo', 'foo', ]; -void checkUnnamed1520(core.List o) { +void checkUnnamed1550(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3049,23 +3077,23 @@ void checkUnnamed1520(core.List o) { ); } -core.Map buildUnnamed1521() => { +core.Map buildUnnamed1551() => { 'x': buildExternalDataConfiguration(), 'y': buildExternalDataConfiguration(), }; -void checkUnnamed1521(core.Map o) { +void checkUnnamed1551(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkExternalDataConfiguration(o['x']!); checkExternalDataConfiguration(o['y']!); } -core.List buildUnnamed1522() => [ +core.List buildUnnamed1552() => [ buildUserDefinedFunctionResource(), buildUserDefinedFunctionResource(), ]; -void checkUnnamed1522(core.List o) { +void checkUnnamed1552(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefinedFunctionResource(o[0]); checkUserDefinedFunctionResource(o[1]); @@ -3078,7 +3106,7 @@ api.JobConfigurationQuery buildJobConfigurationQuery() { if (buildCounterJobConfigurationQuery < 3) { o.allowLargeResults = true; o.clustering = buildClustering(); - o.connectionProperties = buildUnnamed1518(); + o.connectionProperties = buildUnnamed1548(); o.createDisposition = 'foo'; o.createSession = true; o.defaultDataset = buildDatasetReference(); @@ -3091,14 +3119,14 @@ api.JobConfigurationQuery buildJobConfigurationQuery() { o.preserveNulls = true; o.priority = 'foo'; o.query = 'foo'; - o.queryParameters = buildUnnamed1519(); + o.queryParameters = buildUnnamed1549(); o.rangePartitioning = buildRangePartitioning(); - o.schemaUpdateOptions = buildUnnamed1520(); - o.tableDefinitions = buildUnnamed1521(); + o.schemaUpdateOptions = buildUnnamed1550(); + o.tableDefinitions = buildUnnamed1551(); o.timePartitioning = buildTimePartitioning(); o.useLegacySql = true; o.useQueryCache = true; - o.userDefinedFunctionResources = buildUnnamed1522(); + o.userDefinedFunctionResources = buildUnnamed1552(); o.writeDisposition = 'foo'; } buildCounterJobConfigurationQuery--; @@ -3110,7 +3138,7 @@ void checkJobConfigurationQuery(api.JobConfigurationQuery o) { if (buildCounterJobConfigurationQuery < 3) { unittest.expect(o.allowLargeResults!, unittest.isTrue); checkClustering(o.clustering!); - checkUnnamed1518(o.connectionProperties!); + checkUnnamed1548(o.connectionProperties!); unittest.expect( o.createDisposition!, unittest.equals('foo'), @@ -3141,14 +3169,14 @@ void checkJobConfigurationQuery(api.JobConfigurationQuery o) { o.query!, unittest.equals('foo'), ); - checkUnnamed1519(o.queryParameters!); + checkUnnamed1549(o.queryParameters!); checkRangePartitioning(o.rangePartitioning!); - checkUnnamed1520(o.schemaUpdateOptions!); - checkUnnamed1521(o.tableDefinitions!); + checkUnnamed1550(o.schemaUpdateOptions!); + checkUnnamed1551(o.tableDefinitions!); checkTimePartitioning(o.timePartitioning!); unittest.expect(o.useLegacySql!, unittest.isTrue); unittest.expect(o.useQueryCache!, unittest.isTrue); - checkUnnamed1522(o.userDefinedFunctionResources!); + checkUnnamed1552(o.userDefinedFunctionResources!); unittest.expect( o.writeDisposition!, unittest.equals('foo'), @@ -3157,12 +3185,12 @@ void checkJobConfigurationQuery(api.JobConfigurationQuery o) { buildCounterJobConfigurationQuery--; } -core.List buildUnnamed1523() => [ +core.List buildUnnamed1553() => [ buildTableReference(), buildTableReference(), ]; -void checkUnnamed1523(core.List o) { +void checkUnnamed1553(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableReference(o[0]); checkTableReference(o[1]); @@ -3183,7 +3211,7 @@ api.JobConfigurationTableCopy buildJobConfigurationTableCopy() { o.destinationTable = buildTableReference(); o.operationType = 'foo'; o.sourceTable = buildTableReference(); - o.sourceTables = buildUnnamed1523(); + o.sourceTables = buildUnnamed1553(); o.writeDisposition = 'foo'; } buildCounterJobConfigurationTableCopy--; @@ -3218,7 +3246,7 @@ void checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { unittest.equals('foo'), ); checkTableReference(o.sourceTable!); - checkUnnamed1523(o.sourceTables!); + checkUnnamed1553(o.sourceTables!); unittest.expect( o.writeDisposition!, unittest.equals('foo'), @@ -3274,12 +3302,12 @@ void checkJobListJobs(api.JobListJobs o) { buildCounterJobListJobs--; } -core.List buildUnnamed1524() => [ +core.List buildUnnamed1554() => [ buildJobListJobs(), buildJobListJobs(), ]; -void checkUnnamed1524(core.List o) { +void checkUnnamed1554(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobListJobs(o[0]); checkJobListJobs(o[1]); @@ -3291,7 +3319,7 @@ api.JobList buildJobList() { buildCounterJobList++; if (buildCounterJobList < 3) { o.etag = 'foo'; - o.jobs = buildUnnamed1524(); + o.jobs = buildUnnamed1554(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3306,7 +3334,7 @@ void checkJobList(api.JobList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed1524(o.jobs!); + checkUnnamed1554(o.jobs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3351,12 +3379,12 @@ void checkJobReference(api.JobReference o) { buildCounterJobReference--; } -core.List buildUnnamed1525() => [ +core.List buildUnnamed1555() => [ 'foo', 'foo', ]; -void checkUnnamed1525(core.List o) { +void checkUnnamed1555(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3395,12 +3423,12 @@ void checkJobStatisticsReservationUsage(api.JobStatisticsReservationUsage o) { buildCounterJobStatisticsReservationUsage--; } -core.List buildUnnamed1526() => [ +core.List buildUnnamed1556() => [ buildJobStatisticsReservationUsage(), buildJobStatisticsReservationUsage(), ]; -void checkUnnamed1526(core.List o) { +void checkUnnamed1556(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobStatisticsReservationUsage(o[0]); checkJobStatisticsReservationUsage(o[1]); @@ -3419,8 +3447,8 @@ api.JobStatistics buildJobStatistics() { o.numChildJobs = 'foo'; o.parentJobId = 'foo'; o.query = buildJobStatistics2(); - o.quotaDeferments = buildUnnamed1525(); - o.reservationUsage = buildUnnamed1526(); + o.quotaDeferments = buildUnnamed1555(); + o.reservationUsage = buildUnnamed1556(); o.reservationId = 'foo'; o.rowLevelSecurityStatistics = buildRowLevelSecurityStatistics(); o.scriptStatistics = buildScriptStatistics(); @@ -3460,8 +3488,8 @@ void checkJobStatistics(api.JobStatistics o) { unittest.equals('foo'), ); checkJobStatistics2(o.query!); - checkUnnamed1525(o.quotaDeferments!); - checkUnnamed1526(o.reservationUsage!); + checkUnnamed1555(o.quotaDeferments!); + checkUnnamed1556(o.reservationUsage!); unittest.expect( o.reservationId!, unittest.equals('foo'), @@ -3486,34 +3514,34 @@ void checkJobStatistics(api.JobStatistics o) { buildCounterJobStatistics--; } -core.List buildUnnamed1527() => [ +core.List buildUnnamed1557() => [ buildExplainQueryStage(), buildExplainQueryStage(), ]; -void checkUnnamed1527(core.List o) { +void checkUnnamed1557(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExplainQueryStage(o[0]); checkExplainQueryStage(o[1]); } -core.List buildUnnamed1528() => [ +core.List buildUnnamed1558() => [ buildRoutineReference(), buildRoutineReference(), ]; -void checkUnnamed1528(core.List o) { +void checkUnnamed1558(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutineReference(o[0]); checkRoutineReference(o[1]); } -core.List buildUnnamed1529() => [ +core.List buildUnnamed1559() => [ buildTableReference(), buildTableReference(), ]; -void checkUnnamed1529(core.List o) { +void checkUnnamed1559(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableReference(o[0]); checkTableReference(o[1]); @@ -3546,34 +3574,34 @@ void checkJobStatistics2ReservationUsage(api.JobStatistics2ReservationUsage o) { buildCounterJobStatistics2ReservationUsage--; } -core.List buildUnnamed1530() => [ +core.List buildUnnamed1560() => [ buildJobStatistics2ReservationUsage(), buildJobStatistics2ReservationUsage(), ]; -void checkUnnamed1530(core.List o) { +void checkUnnamed1560(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobStatistics2ReservationUsage(o[0]); checkJobStatistics2ReservationUsage(o[1]); } -core.List buildUnnamed1531() => [ +core.List buildUnnamed1561() => [ buildQueryTimelineSample(), buildQueryTimelineSample(), ]; -void checkUnnamed1531(core.List o) { +void checkUnnamed1561(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryTimelineSample(o[0]); checkQueryTimelineSample(o[1]); } -core.List buildUnnamed1532() => [ +core.List buildUnnamed1562() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed1532(core.List o) { +void checkUnnamed1562(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); @@ -3600,19 +3628,19 @@ api.JobStatistics2 buildJobStatistics2() { o.modelTrainingCurrentIteration = 42; o.modelTrainingExpectedTotalIteration = 'foo'; o.numDmlAffectedRows = 'foo'; - o.queryPlan = buildUnnamed1527(); - o.referencedRoutines = buildUnnamed1528(); - o.referencedTables = buildUnnamed1529(); - o.reservationUsage = buildUnnamed1530(); + o.queryPlan = buildUnnamed1557(); + o.referencedRoutines = buildUnnamed1558(); + o.referencedTables = buildUnnamed1559(); + o.reservationUsage = buildUnnamed1560(); o.schema = buildTableSchema(); o.statementType = 'foo'; - o.timeline = buildUnnamed1531(); + o.timeline = buildUnnamed1561(); o.totalBytesBilled = 'foo'; o.totalBytesProcessed = 'foo'; o.totalBytesProcessedAccuracy = 'foo'; o.totalPartitionsProcessed = 'foo'; o.totalSlotMs = 'foo'; - o.undeclaredQueryParameters = buildUnnamed1532(); + o.undeclaredQueryParameters = buildUnnamed1562(); } buildCounterJobStatistics2--; return o; @@ -3658,16 +3686,16 @@ void checkJobStatistics2(api.JobStatistics2 o) { o.numDmlAffectedRows!, unittest.equals('foo'), ); - checkUnnamed1527(o.queryPlan!); - checkUnnamed1528(o.referencedRoutines!); - checkUnnamed1529(o.referencedTables!); - checkUnnamed1530(o.reservationUsage!); + checkUnnamed1557(o.queryPlan!); + checkUnnamed1558(o.referencedRoutines!); + checkUnnamed1559(o.referencedTables!); + checkUnnamed1560(o.reservationUsage!); checkTableSchema(o.schema!); unittest.expect( o.statementType!, unittest.equals('foo'), ); - checkUnnamed1531(o.timeline!); + checkUnnamed1561(o.timeline!); unittest.expect( o.totalBytesBilled!, unittest.equals('foo'), @@ -3688,7 +3716,7 @@ void checkJobStatistics2(api.JobStatistics2 o) { o.totalSlotMs!, unittest.equals('foo'), ); - checkUnnamed1532(o.undeclaredQueryParameters!); + checkUnnamed1562(o.undeclaredQueryParameters!); } buildCounterJobStatistics2--; } @@ -3735,12 +3763,12 @@ void checkJobStatistics3(api.JobStatistics3 o) { buildCounterJobStatistics3--; } -core.List buildUnnamed1533() => [ +core.List buildUnnamed1563() => [ 'foo', 'foo', ]; -void checkUnnamed1533(core.List o) { +void checkUnnamed1563(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3757,7 +3785,7 @@ api.JobStatistics4 buildJobStatistics4() { final o = api.JobStatistics4(); buildCounterJobStatistics4++; if (buildCounterJobStatistics4 < 3) { - o.destinationUriFileCounts = buildUnnamed1533(); + o.destinationUriFileCounts = buildUnnamed1563(); o.inputBytes = 'foo'; } buildCounterJobStatistics4--; @@ -3767,7 +3795,7 @@ api.JobStatistics4 buildJobStatistics4() { void checkJobStatistics4(api.JobStatistics4 o) { buildCounterJobStatistics4++; if (buildCounterJobStatistics4 < 3) { - checkUnnamed1533(o.destinationUriFileCounts!); + checkUnnamed1563(o.destinationUriFileCounts!); unittest.expect( o.inputBytes!, unittest.equals('foo'), @@ -3776,12 +3804,12 @@ void checkJobStatistics4(api.JobStatistics4 o) { buildCounterJobStatistics4--; } -core.List buildUnnamed1534() => [ +core.List buildUnnamed1564() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed1534(core.List o) { +void checkUnnamed1564(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -3793,7 +3821,7 @@ api.JobStatus buildJobStatus() { buildCounterJobStatus++; if (buildCounterJobStatus < 3) { o.errorResult = buildErrorProto(); - o.errors = buildUnnamed1534(); + o.errors = buildUnnamed1564(); o.state = 'foo'; } buildCounterJobStatus--; @@ -3804,7 +3832,7 @@ void checkJobStatus(api.JobStatus o) { buildCounterJobStatus++; if (buildCounterJobStatus < 3) { checkErrorProto(o.errorResult!); - checkUnnamed1534(o.errors!); + checkUnnamed1564(o.errors!); unittest.expect( o.state!, unittest.equals('foo'), @@ -3860,12 +3888,12 @@ void checkJsonObject(api.JsonObject o) { ); } -core.List buildUnnamed1535() => [ +core.List buildUnnamed1565() => [ buildModel(), buildModel(), ]; -void checkUnnamed1535(core.List o) { +void checkUnnamed1565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkModel(o[0]); checkModel(o[1]); @@ -3876,7 +3904,7 @@ api.ListModelsResponse buildListModelsResponse() { final o = api.ListModelsResponse(); buildCounterListModelsResponse++; if (buildCounterListModelsResponse < 3) { - o.models = buildUnnamed1535(); + o.models = buildUnnamed1565(); o.nextPageToken = 'foo'; } buildCounterListModelsResponse--; @@ -3886,7 +3914,7 @@ api.ListModelsResponse buildListModelsResponse() { void checkListModelsResponse(api.ListModelsResponse o) { buildCounterListModelsResponse++; if (buildCounterListModelsResponse < 3) { - checkUnnamed1535(o.models!); + checkUnnamed1565(o.models!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3895,12 +3923,12 @@ void checkListModelsResponse(api.ListModelsResponse o) { buildCounterListModelsResponse--; } -core.List buildUnnamed1536() => [ +core.List buildUnnamed1566() => [ buildRoutine(), buildRoutine(), ]; -void checkUnnamed1536(core.List o) { +void checkUnnamed1566(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutine(o[0]); checkRoutine(o[1]); @@ -3912,7 +3940,7 @@ api.ListRoutinesResponse buildListRoutinesResponse() { buildCounterListRoutinesResponse++; if (buildCounterListRoutinesResponse < 3) { o.nextPageToken = 'foo'; - o.routines = buildUnnamed1536(); + o.routines = buildUnnamed1566(); } buildCounterListRoutinesResponse--; return o; @@ -3925,17 +3953,17 @@ void checkListRoutinesResponse(api.ListRoutinesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1536(o.routines!); + checkUnnamed1566(o.routines!); } buildCounterListRoutinesResponse--; } -core.List buildUnnamed1537() => [ +core.List buildUnnamed1567() => [ buildRowAccessPolicy(), buildRowAccessPolicy(), ]; -void checkUnnamed1537(core.List o) { +void checkUnnamed1567(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRowAccessPolicy(o[0]); checkRowAccessPolicy(o[1]); @@ -3947,7 +3975,7 @@ api.ListRowAccessPoliciesResponse buildListRowAccessPoliciesResponse() { buildCounterListRowAccessPoliciesResponse++; if (buildCounterListRowAccessPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.rowAccessPolicies = buildUnnamed1537(); + o.rowAccessPolicies = buildUnnamed1567(); } buildCounterListRowAccessPoliciesResponse--; return o; @@ -3960,7 +3988,7 @@ void checkListRowAccessPoliciesResponse(api.ListRowAccessPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1537(o.rowAccessPolicies!); + checkUnnamed1567(o.rowAccessPolicies!); } buildCounterListRowAccessPoliciesResponse--; } @@ -4021,34 +4049,34 @@ void checkMaterializedViewDefinition(api.MaterializedViewDefinition o) { buildCounterMaterializedViewDefinition--; } -core.List buildUnnamed1538() => [ +core.List buildUnnamed1568() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed1538(core.List o) { +void checkUnnamed1568(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); } -core.List buildUnnamed1539() => [ +core.List buildUnnamed1569() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed1539(core.List o) { +void checkUnnamed1569(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); } -core.Map buildUnnamed1540() => { +core.Map buildUnnamed1570() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1540(core.Map o) { +void checkUnnamed1570(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4060,12 +4088,12 @@ void checkUnnamed1540(core.Map o) { ); } -core.List buildUnnamed1541() => [ +core.List buildUnnamed1571() => [ buildTrainingRun(), buildTrainingRun(), ]; -void checkUnnamed1541(core.List o) { +void checkUnnamed1571(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrainingRun(o[0]); checkTrainingRun(o[1]); @@ -4082,15 +4110,15 @@ api.Model buildModel() { o.encryptionConfiguration = buildEncryptionConfiguration(); o.etag = 'foo'; o.expirationTime = 'foo'; - o.featureColumns = buildUnnamed1538(); + o.featureColumns = buildUnnamed1568(); o.friendlyName = 'foo'; - o.labelColumns = buildUnnamed1539(); - o.labels = buildUnnamed1540(); + o.labelColumns = buildUnnamed1569(); + o.labels = buildUnnamed1570(); o.lastModifiedTime = 'foo'; o.location = 'foo'; o.modelReference = buildModelReference(); o.modelType = 'foo'; - o.trainingRuns = buildUnnamed1541(); + o.trainingRuns = buildUnnamed1571(); } buildCounterModel--; return o; @@ -4120,13 +4148,13 @@ void checkModel(api.Model o) { o.expirationTime!, unittest.equals('foo'), ); - checkUnnamed1538(o.featureColumns!); + checkUnnamed1568(o.featureColumns!); unittest.expect( o.friendlyName!, unittest.equals('foo'), ); - checkUnnamed1539(o.labelColumns!); - checkUnnamed1540(o.labels!); + checkUnnamed1569(o.labelColumns!); + checkUnnamed1570(o.labels!); unittest.expect( o.lastModifiedTime!, unittest.equals('foo'), @@ -4140,17 +4168,17 @@ void checkModel(api.Model o) { o.modelType!, unittest.equals('foo'), ); - checkUnnamed1541(o.trainingRuns!); + checkUnnamed1571(o.trainingRuns!); } buildCounterModel--; } -core.List buildUnnamed1542() => [ +core.List buildUnnamed1572() => [ 'foo', 'foo', ]; -void checkUnnamed1542(core.List o) { +void checkUnnamed1572(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4167,7 +4195,7 @@ api.ModelDefinitionModelOptions buildModelDefinitionModelOptions() { final o = api.ModelDefinitionModelOptions(); buildCounterModelDefinitionModelOptions++; if (buildCounterModelDefinitionModelOptions < 3) { - o.labels = buildUnnamed1542(); + o.labels = buildUnnamed1572(); o.lossType = 'foo'; o.modelType = 'foo'; } @@ -4178,7 +4206,7 @@ api.ModelDefinitionModelOptions buildModelDefinitionModelOptions() { void checkModelDefinitionModelOptions(api.ModelDefinitionModelOptions o) { buildCounterModelDefinitionModelOptions++; if (buildCounterModelDefinitionModelOptions < 3) { - checkUnnamed1542(o.labels!); + checkUnnamed1572(o.labels!); unittest.expect( o.lossType!, unittest.equals('foo'), @@ -4191,12 +4219,12 @@ void checkModelDefinitionModelOptions(api.ModelDefinitionModelOptions o) { buildCounterModelDefinitionModelOptions--; } -core.List buildUnnamed1543() => [ +core.List buildUnnamed1573() => [ buildBqmlTrainingRun(), buildBqmlTrainingRun(), ]; -void checkUnnamed1543(core.List o) { +void checkUnnamed1573(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBqmlTrainingRun(o[0]); checkBqmlTrainingRun(o[1]); @@ -4208,7 +4236,7 @@ api.ModelDefinition buildModelDefinition() { buildCounterModelDefinition++; if (buildCounterModelDefinition < 3) { o.modelOptions = buildModelDefinitionModelOptions(); - o.trainingRuns = buildUnnamed1543(); + o.trainingRuns = buildUnnamed1573(); } buildCounterModelDefinition--; return o; @@ -4218,7 +4246,7 @@ void checkModelDefinition(api.ModelDefinition o) { buildCounterModelDefinition++; if (buildCounterModelDefinition < 3) { checkModelDefinitionModelOptions(o.modelOptions!); - checkUnnamed1543(o.trainingRuns!); + checkUnnamed1573(o.trainingRuns!); } buildCounterModelDefinition--; } @@ -4255,12 +4283,12 @@ void checkModelReference(api.ModelReference o) { buildCounterModelReference--; } -core.List buildUnnamed1544() => [ +core.List buildUnnamed1574() => [ buildConfusionMatrix(), buildConfusionMatrix(), ]; -void checkUnnamed1544(core.List o) { +void checkUnnamed1574(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfusionMatrix(o[0]); checkConfusionMatrix(o[1]); @@ -4272,7 +4300,7 @@ api.MultiClassClassificationMetrics buildMultiClassClassificationMetrics() { buildCounterMultiClassClassificationMetrics++; if (buildCounterMultiClassClassificationMetrics < 3) { o.aggregateClassificationMetrics = buildAggregateClassificationMetrics(); - o.confusionMatrixList = buildUnnamed1544(); + o.confusionMatrixList = buildUnnamed1574(); } buildCounterMultiClassClassificationMetrics--; return o; @@ -4283,7 +4311,7 @@ void checkMultiClassClassificationMetrics( buildCounterMultiClassClassificationMetrics++; if (buildCounterMultiClassClassificationMetrics < 3) { checkAggregateClassificationMetrics(o.aggregateClassificationMetrics!); - checkUnnamed1544(o.confusionMatrixList!); + checkUnnamed1574(o.confusionMatrixList!); } buildCounterMultiClassClassificationMetrics--; } @@ -4309,23 +4337,23 @@ void checkParquetOptions(api.ParquetOptions o) { buildCounterParquetOptions--; } -core.List buildUnnamed1545() => [ +core.List buildUnnamed1575() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1545(core.List o) { +void checkUnnamed1575(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1546() => [ +core.List buildUnnamed1576() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1546(core.List o) { +void checkUnnamed1576(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -4336,8 +4364,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1545(); - o.bindings = buildUnnamed1546(); + o.auditConfigs = buildUnnamed1575(); + o.bindings = buildUnnamed1576(); o.etag = 'foo'; o.version = 42; } @@ -4348,8 +4376,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1545(o.auditConfigs!); - checkUnnamed1546(o.bindings!); + checkUnnamed1575(o.auditConfigs!); + checkUnnamed1576(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -4401,12 +4429,12 @@ void checkProjectListProjects(api.ProjectListProjects o) { buildCounterProjectListProjects--; } -core.List buildUnnamed1547() => [ +core.List buildUnnamed1577() => [ buildProjectListProjects(), buildProjectListProjects(), ]; -void checkUnnamed1547(core.List o) { +void checkUnnamed1577(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProjectListProjects(o[0]); checkProjectListProjects(o[1]); @@ -4420,7 +4448,7 @@ api.ProjectList buildProjectList() { o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.projects = buildUnnamed1547(); + o.projects = buildUnnamed1577(); o.totalItems = 42; } buildCounterProjectList--; @@ -4442,7 +4470,7 @@ void checkProjectList(api.ProjectList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1547(o.projects!); + checkUnnamed1577(o.projects!); unittest.expect( o.totalItems!, unittest.equals(42), @@ -4528,12 +4556,12 @@ void checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) { buildCounterQueryParameterTypeStructTypes--; } -core.List buildUnnamed1548() => [ +core.List buildUnnamed1578() => [ buildQueryParameterTypeStructTypes(), buildQueryParameterTypeStructTypes(), ]; -void checkUnnamed1548(core.List o) { +void checkUnnamed1578(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameterTypeStructTypes(o[0]); checkQueryParameterTypeStructTypes(o[1]); @@ -4545,7 +4573,7 @@ api.QueryParameterType buildQueryParameterType() { buildCounterQueryParameterType++; if (buildCounterQueryParameterType < 3) { o.arrayType = buildQueryParameterType(); - o.structTypes = buildUnnamed1548(); + o.structTypes = buildUnnamed1578(); o.type = 'foo'; } buildCounterQueryParameterType--; @@ -4556,7 +4584,7 @@ void checkQueryParameterType(api.QueryParameterType o) { buildCounterQueryParameterType++; if (buildCounterQueryParameterType < 3) { checkQueryParameterType(o.arrayType!); - checkUnnamed1548(o.structTypes!); + checkUnnamed1578(o.structTypes!); unittest.expect( o.type!, unittest.equals('foo'), @@ -4565,23 +4593,23 @@ void checkQueryParameterType(api.QueryParameterType o) { buildCounterQueryParameterType--; } -core.List buildUnnamed1549() => [ +core.List buildUnnamed1579() => [ buildQueryParameterValue(), buildQueryParameterValue(), ]; -void checkUnnamed1549(core.List o) { +void checkUnnamed1579(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameterValue(o[0]); checkQueryParameterValue(o[1]); } -core.Map buildUnnamed1550() => { +core.Map buildUnnamed1580() => { 'x': buildQueryParameterValue(), 'y': buildQueryParameterValue(), }; -void checkUnnamed1550(core.Map o) { +void checkUnnamed1580(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameterValue(o['x']!); checkQueryParameterValue(o['y']!); @@ -4592,8 +4620,8 @@ api.QueryParameterValue buildQueryParameterValue() { final o = api.QueryParameterValue(); buildCounterQueryParameterValue++; if (buildCounterQueryParameterValue < 3) { - o.arrayValues = buildUnnamed1549(); - o.structValues = buildUnnamed1550(); + o.arrayValues = buildUnnamed1579(); + o.structValues = buildUnnamed1580(); o.value = 'foo'; } buildCounterQueryParameterValue--; @@ -4603,8 +4631,8 @@ api.QueryParameterValue buildQueryParameterValue() { void checkQueryParameterValue(api.QueryParameterValue o) { buildCounterQueryParameterValue++; if (buildCounterQueryParameterValue < 3) { - checkUnnamed1549(o.arrayValues!); - checkUnnamed1550(o.structValues!); + checkUnnamed1579(o.arrayValues!); + checkUnnamed1580(o.structValues!); unittest.expect( o.value!, unittest.equals('foo'), @@ -4613,23 +4641,23 @@ void checkQueryParameterValue(api.QueryParameterValue o) { buildCounterQueryParameterValue--; } -core.List buildUnnamed1551() => [ +core.List buildUnnamed1581() => [ buildConnectionProperty(), buildConnectionProperty(), ]; -void checkUnnamed1551(core.List o) { +void checkUnnamed1581(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionProperty(o[0]); checkConnectionProperty(o[1]); } -core.Map buildUnnamed1552() => { +core.Map buildUnnamed1582() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1552(core.Map o) { +void checkUnnamed1582(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4641,12 +4669,12 @@ void checkUnnamed1552(core.Map o) { ); } -core.List buildUnnamed1553() => [ +core.List buildUnnamed1583() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed1553(core.List o) { +void checkUnnamed1583(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); @@ -4657,19 +4685,19 @@ api.QueryRequest buildQueryRequest() { final o = api.QueryRequest(); buildCounterQueryRequest++; if (buildCounterQueryRequest < 3) { - o.connectionProperties = buildUnnamed1551(); + o.connectionProperties = buildUnnamed1581(); o.createSession = true; o.defaultDataset = buildDatasetReference(); o.dryRun = true; o.kind = 'foo'; - o.labels = buildUnnamed1552(); + o.labels = buildUnnamed1582(); o.location = 'foo'; o.maxResults = 42; o.maximumBytesBilled = 'foo'; o.parameterMode = 'foo'; o.preserveNulls = true; o.query = 'foo'; - o.queryParameters = buildUnnamed1553(); + o.queryParameters = buildUnnamed1583(); o.requestId = 'foo'; o.timeoutMs = 42; o.useLegacySql = true; @@ -4682,7 +4710,7 @@ api.QueryRequest buildQueryRequest() { void checkQueryRequest(api.QueryRequest o) { buildCounterQueryRequest++; if (buildCounterQueryRequest < 3) { - checkUnnamed1551(o.connectionProperties!); + checkUnnamed1581(o.connectionProperties!); unittest.expect(o.createSession!, unittest.isTrue); checkDatasetReference(o.defaultDataset!); unittest.expect(o.dryRun!, unittest.isTrue); @@ -4690,7 +4718,7 @@ void checkQueryRequest(api.QueryRequest o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1552(o.labels!); + checkUnnamed1582(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -4712,7 +4740,7 @@ void checkQueryRequest(api.QueryRequest o) { o.query!, unittest.equals('foo'), ); - checkUnnamed1553(o.queryParameters!); + checkUnnamed1583(o.queryParameters!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -4727,23 +4755,23 @@ void checkQueryRequest(api.QueryRequest o) { buildCounterQueryRequest--; } -core.List buildUnnamed1554() => [ +core.List buildUnnamed1584() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed1554(core.List o) { +void checkUnnamed1584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); } -core.List buildUnnamed1555() => [ +core.List buildUnnamed1585() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed1555(core.List o) { +void checkUnnamed1585(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -4756,15 +4784,15 @@ api.QueryResponse buildQueryResponse() { if (buildCounterQueryResponse < 3) { o.cacheHit = true; o.dmlStats = buildDmlStatistics(); - o.errors = buildUnnamed1554(); + o.errors = buildUnnamed1584(); o.jobComplete = true; o.jobReference = buildJobReference(); o.kind = 'foo'; o.numDmlAffectedRows = 'foo'; o.pageToken = 'foo'; - o.rows = buildUnnamed1555(); + o.rows = buildUnnamed1585(); o.schema = buildTableSchema(); - o.sessionInfoTemplate = buildSessionInfo(); + o.sessionInfo = buildSessionInfo(); o.totalBytesProcessed = 'foo'; o.totalRows = 'foo'; } @@ -4777,7 +4805,7 @@ void checkQueryResponse(api.QueryResponse o) { if (buildCounterQueryResponse < 3) { unittest.expect(o.cacheHit!, unittest.isTrue); checkDmlStatistics(o.dmlStats!); - checkUnnamed1554(o.errors!); + checkUnnamed1584(o.errors!); unittest.expect(o.jobComplete!, unittest.isTrue); checkJobReference(o.jobReference!); unittest.expect( @@ -4792,9 +4820,9 @@ void checkQueryResponse(api.QueryResponse o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed1555(o.rows!); + checkUnnamed1585(o.rows!); checkTableSchema(o.schema!); - checkSessionInfo(o.sessionInfoTemplate!); + checkSessionInfo(o.sessionInfo!); unittest.expect( o.totalBytesProcessed!, unittest.equals('foo'), @@ -4984,23 +5012,23 @@ void checkRegressionMetrics(api.RegressionMetrics o) { buildCounterRegressionMetrics--; } -core.List buildUnnamed1556() => [ +core.List buildUnnamed1586() => [ buildArgument(), buildArgument(), ]; -void checkUnnamed1556(core.List o) { +void checkUnnamed1586(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArgument(o[0]); checkArgument(o[1]); } -core.List buildUnnamed1557() => [ +core.List buildUnnamed1587() => [ 'foo', 'foo', ]; -void checkUnnamed1557(core.List o) { +void checkUnnamed1587(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5017,19 +5045,20 @@ api.Routine buildRoutine() { final o = api.Routine(); buildCounterRoutine++; if (buildCounterRoutine < 3) { - o.arguments = buildUnnamed1556(); + o.arguments = buildUnnamed1586(); o.creationTime = 'foo'; o.definitionBody = 'foo'; o.description = 'foo'; o.determinismLevel = 'foo'; o.etag = 'foo'; - o.importedLibraries = buildUnnamed1557(); + o.importedLibraries = buildUnnamed1587(); o.language = 'foo'; o.lastModifiedTime = 'foo'; o.returnTableType = buildStandardSqlTableType(); o.returnType = buildStandardSqlDataType(); o.routineReference = buildRoutineReference(); o.routineType = 'foo'; + o.strictMode = true; } buildCounterRoutine--; return o; @@ -5038,7 +5067,7 @@ api.Routine buildRoutine() { void checkRoutine(api.Routine o) { buildCounterRoutine++; if (buildCounterRoutine < 3) { - checkUnnamed1556(o.arguments!); + checkUnnamed1586(o.arguments!); unittest.expect( o.creationTime!, unittest.equals('foo'), @@ -5059,7 +5088,7 @@ void checkRoutine(api.Routine o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed1557(o.importedLibraries!); + checkUnnamed1587(o.importedLibraries!); unittest.expect( o.language!, unittest.equals('foo'), @@ -5075,6 +5104,7 @@ void checkRoutine(api.Routine o) { o.routineType!, unittest.equals('foo'), ); + unittest.expect(o.strictMode!, unittest.isTrue); } buildCounterRoutine--; } @@ -5111,12 +5141,12 @@ void checkRoutineReference(api.RoutineReference o) { buildCounterRoutineReference--; } -core.List buildUnnamed1558() => [ +core.List buildUnnamed1588() => [ buildEntry(), buildEntry(), ]; -void checkUnnamed1558(core.List o) { +void checkUnnamed1588(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntry(o[0]); checkEntry(o[1]); @@ -5128,7 +5158,7 @@ api.Row buildRow() { buildCounterRow++; if (buildCounterRow < 3) { o.actualLabel = 'foo'; - o.entries = buildUnnamed1558(); + o.entries = buildUnnamed1588(); } buildCounterRow--; return o; @@ -5141,7 +5171,7 @@ void checkRow(api.Row o) { o.actualLabel!, unittest.equals('foo'), ); - checkUnnamed1558(o.entries!); + checkUnnamed1588(o.entries!); } buildCounterRow--; } @@ -5288,12 +5318,12 @@ void checkScriptStackFrame(api.ScriptStackFrame o) { buildCounterScriptStackFrame--; } -core.List buildUnnamed1559() => [ +core.List buildUnnamed1589() => [ buildScriptStackFrame(), buildScriptStackFrame(), ]; -void checkUnnamed1559(core.List o) { +void checkUnnamed1589(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScriptStackFrame(o[0]); checkScriptStackFrame(o[1]); @@ -5305,7 +5335,7 @@ api.ScriptStatistics buildScriptStatistics() { buildCounterScriptStatistics++; if (buildCounterScriptStatistics < 3) { o.evaluationKind = 'foo'; - o.stackFrames = buildUnnamed1559(); + o.stackFrames = buildUnnamed1589(); } buildCounterScriptStatistics--; return o; @@ -5318,7 +5348,7 @@ void checkScriptStatistics(api.ScriptStatistics o) { o.evaluationKind!, unittest.equals('foo'), ); - checkUnnamed1559(o.stackFrames!); + checkUnnamed1589(o.stackFrames!); } buildCounterScriptStatistics--; } @@ -5443,12 +5473,12 @@ void checkStandardSqlField(api.StandardSqlField o) { buildCounterStandardSqlField--; } -core.List buildUnnamed1560() => [ +core.List buildUnnamed1590() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed1560(core.List o) { +void checkUnnamed1590(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); @@ -5459,7 +5489,7 @@ api.StandardSqlStructType buildStandardSqlStructType() { final o = api.StandardSqlStructType(); buildCounterStandardSqlStructType++; if (buildCounterStandardSqlStructType < 3) { - o.fields = buildUnnamed1560(); + o.fields = buildUnnamed1590(); } buildCounterStandardSqlStructType--; return o; @@ -5468,17 +5498,17 @@ api.StandardSqlStructType buildStandardSqlStructType() { void checkStandardSqlStructType(api.StandardSqlStructType o) { buildCounterStandardSqlStructType++; if (buildCounterStandardSqlStructType < 3) { - checkUnnamed1560(o.fields!); + checkUnnamed1590(o.fields!); } buildCounterStandardSqlStructType--; } -core.List buildUnnamed1561() => [ +core.List buildUnnamed1591() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed1561(core.List o) { +void checkUnnamed1591(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); @@ -5489,7 +5519,7 @@ api.StandardSqlTableType buildStandardSqlTableType() { final o = api.StandardSqlTableType(); buildCounterStandardSqlTableType++; if (buildCounterStandardSqlTableType < 3) { - o.columns = buildUnnamed1561(); + o.columns = buildUnnamed1591(); } buildCounterStandardSqlTableType--; return o; @@ -5498,7 +5528,7 @@ api.StandardSqlTableType buildStandardSqlTableType() { void checkStandardSqlTableType(api.StandardSqlTableType o) { buildCounterStandardSqlTableType++; if (buildCounterStandardSqlTableType < 3) { - checkUnnamed1561(o.columns!); + checkUnnamed1591(o.columns!); } buildCounterStandardSqlTableType--; } @@ -5535,12 +5565,12 @@ void checkStreamingbuffer(api.Streamingbuffer o) { buildCounterStreamingbuffer--; } -core.Map buildUnnamed1562() => { +core.Map buildUnnamed1592() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1562(core.Map o) { +void checkUnnamed1592(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5567,7 +5597,7 @@ api.Table buildTable() { o.friendlyName = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed1562(); + o.labels = buildUnnamed1592(); o.lastModifiedTime = 'foo'; o.location = 'foo'; o.materializedView = buildMaterializedViewDefinition(); @@ -5625,7 +5655,7 @@ void checkTable(api.Table o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1562(o.labels!); + checkUnnamed1592(o.labels!); unittest.expect( o.lastModifiedTime!, unittest.equals('foo'), @@ -5732,12 +5762,12 @@ void checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { buildCounterTableDataInsertAllRequestRows--; } -core.List buildUnnamed1563() => [ +core.List buildUnnamed1593() => [ buildTableDataInsertAllRequestRows(), buildTableDataInsertAllRequestRows(), ]; -void checkUnnamed1563(core.List o) { +void checkUnnamed1593(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableDataInsertAllRequestRows(o[0]); checkTableDataInsertAllRequestRows(o[1]); @@ -5750,7 +5780,7 @@ api.TableDataInsertAllRequest buildTableDataInsertAllRequest() { if (buildCounterTableDataInsertAllRequest < 3) { o.ignoreUnknownValues = true; o.kind = 'foo'; - o.rows = buildUnnamed1563(); + o.rows = buildUnnamed1593(); o.skipInvalidRows = true; o.templateSuffix = 'foo'; } @@ -5766,7 +5796,7 @@ void checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1563(o.rows!); + checkUnnamed1593(o.rows!); unittest.expect(o.skipInvalidRows!, unittest.isTrue); unittest.expect( o.templateSuffix!, @@ -5776,12 +5806,12 @@ void checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { buildCounterTableDataInsertAllRequest--; } -core.List buildUnnamed1564() => [ +core.List buildUnnamed1594() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed1564(core.List o) { +void checkUnnamed1594(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -5793,7 +5823,7 @@ api.TableDataInsertAllResponseInsertErrors final o = api.TableDataInsertAllResponseInsertErrors(); buildCounterTableDataInsertAllResponseInsertErrors++; if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { - o.errors = buildUnnamed1564(); + o.errors = buildUnnamed1594(); o.index = 42; } buildCounterTableDataInsertAllResponseInsertErrors--; @@ -5804,7 +5834,7 @@ void checkTableDataInsertAllResponseInsertErrors( api.TableDataInsertAllResponseInsertErrors o) { buildCounterTableDataInsertAllResponseInsertErrors++; if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { - checkUnnamed1564(o.errors!); + checkUnnamed1594(o.errors!); unittest.expect( o.index!, unittest.equals(42), @@ -5813,12 +5843,12 @@ void checkTableDataInsertAllResponseInsertErrors( buildCounterTableDataInsertAllResponseInsertErrors--; } -core.List buildUnnamed1565() => [ +core.List buildUnnamed1595() => [ buildTableDataInsertAllResponseInsertErrors(), buildTableDataInsertAllResponseInsertErrors(), ]; -void checkUnnamed1565(core.List o) { +void checkUnnamed1595(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableDataInsertAllResponseInsertErrors(o[0]); checkTableDataInsertAllResponseInsertErrors(o[1]); @@ -5829,7 +5859,7 @@ api.TableDataInsertAllResponse buildTableDataInsertAllResponse() { final o = api.TableDataInsertAllResponse(); buildCounterTableDataInsertAllResponse++; if (buildCounterTableDataInsertAllResponse < 3) { - o.insertErrors = buildUnnamed1565(); + o.insertErrors = buildUnnamed1595(); o.kind = 'foo'; } buildCounterTableDataInsertAllResponse--; @@ -5839,7 +5869,7 @@ api.TableDataInsertAllResponse buildTableDataInsertAllResponse() { void checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { buildCounterTableDataInsertAllResponse++; if (buildCounterTableDataInsertAllResponse < 3) { - checkUnnamed1565(o.insertErrors!); + checkUnnamed1595(o.insertErrors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5848,12 +5878,12 @@ void checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { buildCounterTableDataInsertAllResponse--; } -core.List buildUnnamed1566() => [ +core.List buildUnnamed1596() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed1566(core.List o) { +void checkUnnamed1596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -5867,7 +5897,7 @@ api.TableDataList buildTableDataList() { o.etag = 'foo'; o.kind = 'foo'; o.pageToken = 'foo'; - o.rows = buildUnnamed1566(); + o.rows = buildUnnamed1596(); o.totalRows = 'foo'; } buildCounterTableDataList--; @@ -5889,7 +5919,7 @@ void checkTableDataList(api.TableDataList o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed1566(o.rows!); + checkUnnamed1596(o.rows!); unittest.expect( o.totalRows!, unittest.equals('foo'), @@ -5898,12 +5928,12 @@ void checkTableDataList(api.TableDataList o) { buildCounterTableDataList--; } -core.List buildUnnamed1567() => [ +core.List buildUnnamed1597() => [ 'foo', 'foo', ]; -void checkUnnamed1567(core.List o) { +void checkUnnamed1597(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5920,7 +5950,7 @@ api.TableFieldSchemaCategories buildTableFieldSchemaCategories() { final o = api.TableFieldSchemaCategories(); buildCounterTableFieldSchemaCategories++; if (buildCounterTableFieldSchemaCategories < 3) { - o.names = buildUnnamed1567(); + o.names = buildUnnamed1597(); } buildCounterTableFieldSchemaCategories--; return o; @@ -5929,28 +5959,28 @@ api.TableFieldSchemaCategories buildTableFieldSchemaCategories() { void checkTableFieldSchemaCategories(api.TableFieldSchemaCategories o) { buildCounterTableFieldSchemaCategories++; if (buildCounterTableFieldSchemaCategories < 3) { - checkUnnamed1567(o.names!); + checkUnnamed1597(o.names!); } buildCounterTableFieldSchemaCategories--; } -core.List buildUnnamed1568() => [ +core.List buildUnnamed1598() => [ buildTableFieldSchema(), buildTableFieldSchema(), ]; -void checkUnnamed1568(core.List o) { +void checkUnnamed1598(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableFieldSchema(o[0]); checkTableFieldSchema(o[1]); } -core.List buildUnnamed1569() => [ +core.List buildUnnamed1599() => [ 'foo', 'foo', ]; -void checkUnnamed1569(core.List o) { +void checkUnnamed1599(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5967,7 +5997,7 @@ api.TableFieldSchemaPolicyTags buildTableFieldSchemaPolicyTags() { final o = api.TableFieldSchemaPolicyTags(); buildCounterTableFieldSchemaPolicyTags++; if (buildCounterTableFieldSchemaPolicyTags < 3) { - o.names = buildUnnamed1569(); + o.names = buildUnnamed1599(); } buildCounterTableFieldSchemaPolicyTags--; return o; @@ -5976,7 +6006,7 @@ api.TableFieldSchemaPolicyTags buildTableFieldSchemaPolicyTags() { void checkTableFieldSchemaPolicyTags(api.TableFieldSchemaPolicyTags o) { buildCounterTableFieldSchemaPolicyTags++; if (buildCounterTableFieldSchemaPolicyTags < 3) { - checkUnnamed1569(o.names!); + checkUnnamed1599(o.names!); } buildCounterTableFieldSchemaPolicyTags--; } @@ -5987,8 +6017,9 @@ api.TableFieldSchema buildTableFieldSchema() { buildCounterTableFieldSchema++; if (buildCounterTableFieldSchema < 3) { o.categories = buildTableFieldSchemaCategories(); + o.collationSpec = 'foo'; o.description = 'foo'; - o.fields = buildUnnamed1568(); + o.fields = buildUnnamed1598(); o.maxLength = 'foo'; o.mode = 'foo'; o.name = 'foo'; @@ -6005,11 +6036,15 @@ void checkTableFieldSchema(api.TableFieldSchema o) { buildCounterTableFieldSchema++; if (buildCounterTableFieldSchema < 3) { checkTableFieldSchemaCategories(o.categories!); + unittest.expect( + o.collationSpec!, + unittest.equals('foo'), + ); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed1568(o.fields!); + checkUnnamed1598(o.fields!); unittest.expect( o.maxLength!, unittest.equals('foo'), @@ -6039,12 +6074,12 @@ void checkTableFieldSchema(api.TableFieldSchema o) { buildCounterTableFieldSchema--; } -core.Map buildUnnamed1570() => { +core.Map buildUnnamed1600() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1570(core.Map o) { +void checkUnnamed1600(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6086,7 +6121,7 @@ api.TableListTables buildTableListTables() { o.friendlyName = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed1570(); + o.labels = buildUnnamed1600(); o.rangePartitioning = buildRangePartitioning(); o.tableReference = buildTableReference(); o.timePartitioning = buildTimePartitioning(); @@ -6121,7 +6156,7 @@ void checkTableListTables(api.TableListTables o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1570(o.labels!); + checkUnnamed1600(o.labels!); checkRangePartitioning(o.rangePartitioning!); checkTableReference(o.tableReference!); checkTimePartitioning(o.timePartitioning!); @@ -6134,12 +6169,12 @@ void checkTableListTables(api.TableListTables o) { buildCounterTableListTables--; } -core.List buildUnnamed1571() => [ +core.List buildUnnamed1601() => [ buildTableListTables(), buildTableListTables(), ]; -void checkUnnamed1571(core.List o) { +void checkUnnamed1601(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableListTables(o[0]); checkTableListTables(o[1]); @@ -6153,7 +6188,7 @@ api.TableList buildTableList() { o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.tables = buildUnnamed1571(); + o.tables = buildUnnamed1601(); o.totalItems = 42; } buildCounterTableList--; @@ -6175,7 +6210,7 @@ void checkTableList(api.TableList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1571(o.tables!); + checkUnnamed1601(o.tables!); unittest.expect( o.totalItems!, unittest.equals(42), @@ -6216,12 +6251,12 @@ void checkTableReference(api.TableReference o) { buildCounterTableReference--; } -core.List buildUnnamed1572() => [ +core.List buildUnnamed1602() => [ buildTableCell(), buildTableCell(), ]; -void checkUnnamed1572(core.List o) { +void checkUnnamed1602(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableCell(o[0]); checkTableCell(o[1]); @@ -6232,7 +6267,7 @@ api.TableRow buildTableRow() { final o = api.TableRow(); buildCounterTableRow++; if (buildCounterTableRow < 3) { - o.f = buildUnnamed1572(); + o.f = buildUnnamed1602(); } buildCounterTableRow--; return o; @@ -6241,17 +6276,17 @@ api.TableRow buildTableRow() { void checkTableRow(api.TableRow o) { buildCounterTableRow++; if (buildCounterTableRow < 3) { - checkUnnamed1572(o.f!); + checkUnnamed1602(o.f!); } buildCounterTableRow--; } -core.List buildUnnamed1573() => [ +core.List buildUnnamed1603() => [ buildTableFieldSchema(), buildTableFieldSchema(), ]; -void checkUnnamed1573(core.List o) { +void checkUnnamed1603(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableFieldSchema(o[0]); checkTableFieldSchema(o[1]); @@ -6262,7 +6297,7 @@ api.TableSchema buildTableSchema() { final o = api.TableSchema(); buildCounterTableSchema++; if (buildCounterTableSchema < 3) { - o.fields = buildUnnamed1573(); + o.fields = buildUnnamed1603(); } buildCounterTableSchema--; return o; @@ -6271,17 +6306,17 @@ api.TableSchema buildTableSchema() { void checkTableSchema(api.TableSchema o) { buildCounterTableSchema++; if (buildCounterTableSchema < 3) { - checkUnnamed1573(o.fields!); + checkUnnamed1603(o.fields!); } buildCounterTableSchema--; } -core.List buildUnnamed1574() => [ +core.List buildUnnamed1604() => [ 'foo', 'foo', ]; -void checkUnnamed1574(core.List o) { +void checkUnnamed1604(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6298,7 +6333,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed1574(); + o.permissions = buildUnnamed1604(); } buildCounterTestIamPermissionsRequest--; return o; @@ -6307,17 +6342,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed1574(o.permissions!); + checkUnnamed1604(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed1575() => [ +core.List buildUnnamed1605() => [ 'foo', 'foo', ]; -void checkUnnamed1575(core.List o) { +void checkUnnamed1605(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6334,7 +6369,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed1575(); + o.permissions = buildUnnamed1605(); } buildCounterTestIamPermissionsResponse--; return o; @@ -6343,7 +6378,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed1575(o.permissions!); + checkUnnamed1605(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -6382,12 +6417,12 @@ void checkTimePartitioning(api.TimePartitioning o) { buildCounterTimePartitioning--; } -core.List buildUnnamed1576() => [ +core.List buildUnnamed1606() => [ 'foo', 'foo', ]; -void checkUnnamed1576(core.List o) { +void checkUnnamed1606(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6399,12 +6434,12 @@ void checkUnnamed1576(core.List o) { ); } -core.List buildUnnamed1577() => [ +core.List buildUnnamed1607() => [ 'foo', 'foo', ]; -void checkUnnamed1577(core.List o) { +void checkUnnamed1607(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6416,12 +6451,12 @@ void checkUnnamed1577(core.List o) { ); } -core.Map buildUnnamed1578() => { +core.Map buildUnnamed1608() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed1578(core.Map o) { +void checkUnnamed1608(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6433,12 +6468,12 @@ void checkUnnamed1578(core.Map o) { ); } -core.List buildUnnamed1579() => [ +core.List buildUnnamed1609() => [ 'foo', 'foo', ]; -void checkUnnamed1579(core.List o) { +void checkUnnamed1609(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6469,18 +6504,18 @@ api.TrainingOptions buildTrainingOptions() { o.dropout = 42.0; o.earlyStop = true; o.feedbackType = 'foo'; - o.hiddenUnits = buildUnnamed1576(); + o.hiddenUnits = buildUnnamed1606(); o.holidayRegion = 'foo'; o.horizon = 'foo'; o.includeDrift = true; o.initialLearnRate = 42.0; - o.inputLabelColumns = buildUnnamed1577(); + o.inputLabelColumns = buildUnnamed1607(); o.itemColumn = 'foo'; o.kmeansInitializationColumn = 'foo'; o.kmeansInitializationMethod = 'foo'; o.l1Regularization = 42.0; o.l2Regularization = 42.0; - o.labelClassWeights = buildUnnamed1578(); + o.labelClassWeights = buildUnnamed1608(); o.learnRate = 42.0; o.learnRateStrategy = 'foo'; o.lossType = 'foo'; @@ -6497,7 +6532,7 @@ api.TrainingOptions buildTrainingOptions() { o.subsample = 42.0; o.timeSeriesDataColumn = 'foo'; o.timeSeriesIdColumn = 'foo'; - o.timeSeriesIdColumns = buildUnnamed1579(); + o.timeSeriesIdColumns = buildUnnamed1609(); o.timeSeriesTimestampColumn = 'foo'; o.userColumn = 'foo'; o.walsAlpha = 42.0; @@ -6551,7 +6586,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.feedbackType!, unittest.equals('foo'), ); - checkUnnamed1576(o.hiddenUnits!); + checkUnnamed1606(o.hiddenUnits!); unittest.expect( o.holidayRegion!, unittest.equals('foo'), @@ -6565,7 +6600,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.initialLearnRate!, unittest.equals(42.0), ); - checkUnnamed1577(o.inputLabelColumns!); + checkUnnamed1607(o.inputLabelColumns!); unittest.expect( o.itemColumn!, unittest.equals('foo'), @@ -6586,7 +6621,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.l2Regularization!, unittest.equals(42.0), ); - checkUnnamed1578(o.labelClassWeights!); + checkUnnamed1608(o.labelClassWeights!); unittest.expect( o.learnRate!, unittest.equals(42.0), @@ -6645,7 +6680,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.timeSeriesIdColumn!, unittest.equals('foo'), ); - checkUnnamed1579(o.timeSeriesIdColumns!); + checkUnnamed1609(o.timeSeriesIdColumns!); unittest.expect( o.timeSeriesTimestampColumn!, unittest.equals('foo'), @@ -6663,12 +6698,12 @@ void checkTrainingOptions(api.TrainingOptions o) { buildCounterTrainingOptions--; } -core.List buildUnnamed1580() => [ +core.List buildUnnamed1610() => [ buildIterationResult(), buildIterationResult(), ]; -void checkUnnamed1580(core.List o) { +void checkUnnamed1610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIterationResult(o[0]); checkIterationResult(o[1]); @@ -6681,7 +6716,7 @@ api.TrainingRun buildTrainingRun() { if (buildCounterTrainingRun < 3) { o.dataSplitResult = buildDataSplitResult(); o.evaluationMetrics = buildEvaluationMetrics(); - o.results = buildUnnamed1580(); + o.results = buildUnnamed1610(); o.startTime = 'foo'; o.trainingOptions = buildTrainingOptions(); } @@ -6694,7 +6729,7 @@ void checkTrainingRun(api.TrainingRun o) { if (buildCounterTrainingRun < 3) { checkDataSplitResult(o.dataSplitResult!); checkEvaluationMetrics(o.evaluationMetrics!); - checkUnnamed1580(o.results!); + checkUnnamed1610(o.results!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -6753,12 +6788,12 @@ void checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { buildCounterUserDefinedFunctionResource--; } -core.List buildUnnamed1581() => [ +core.List buildUnnamed1611() => [ buildUserDefinedFunctionResource(), buildUserDefinedFunctionResource(), ]; -void checkUnnamed1581(core.List o) { +void checkUnnamed1611(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefinedFunctionResource(o[0]); checkUserDefinedFunctionResource(o[1]); @@ -6772,7 +6807,7 @@ api.ViewDefinition buildViewDefinition() { o.query = 'foo'; o.useExplicitColumnNames = true; o.useLegacySql = true; - o.userDefinedFunctionResources = buildUnnamed1581(); + o.userDefinedFunctionResources = buildUnnamed1611(); } buildCounterViewDefinition--; return o; @@ -6787,17 +6822,17 @@ void checkViewDefinition(api.ViewDefinition o) { ); unittest.expect(o.useExplicitColumnNames!, unittest.isTrue); unittest.expect(o.useLegacySql!, unittest.isTrue); - checkUnnamed1581(o.userDefinedFunctionResources!); + checkUnnamed1611(o.userDefinedFunctionResources!); } buildCounterViewDefinition--; } -core.List buildUnnamed1582() => [ +core.List buildUnnamed1612() => [ 'foo', 'foo', ]; -void checkUnnamed1582(core.List o) { +void checkUnnamed1612(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6920,6 +6955,16 @@ void main() { }); }); + unittest.group('obj-schema-AvroOptions', () { + unittest.test('to-json--from-json', () async { + final o = buildAvroOptions(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AvroOptions.fromJson( + oJson as core.Map); + checkAvroOptions(od); + }); + }); + unittest.group('obj-schema-BiEngineReason', () { unittest.test('to-json--from-json', () async { final o = buildBiEngineReason(); @@ -9165,7 +9210,7 @@ void main() { final arg_pageToken = 'foo'; final arg_parentJobId = 'foo'; final arg_projection = 'foo'; - final arg_stateFilter = buildUnnamed1582(); + final arg_stateFilter = buildUnnamed1612(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart index e0dced065..64f6be1dc 100644 --- a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart +++ b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart @@ -60,23 +60,23 @@ void checkCheckValidCredsResponse(api.CheckValidCredsResponse o) { buildCounterCheckValidCredsResponse--; } -core.List buildUnnamed2990() => [ +core.List buildUnnamed2878() => [ buildDataSourceParameter(), buildDataSourceParameter(), ]; -void checkUnnamed2990(core.List o) { +void checkUnnamed2878(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceParameter(o[0]); checkDataSourceParameter(o[1]); } -core.List buildUnnamed2991() => [ +core.List buildUnnamed2879() => [ 'foo', 'foo', ]; -void checkUnnamed2991(core.List o) { +void checkUnnamed2879(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -105,8 +105,8 @@ api.DataSource buildDataSource() { o.manualRunsDisabled = true; o.minimumScheduleInterval = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed2990(); - o.scopes = buildUnnamed2991(); + o.parameters = buildUnnamed2878(); + o.scopes = buildUnnamed2879(); o.supportsCustomSchedule = true; o.supportsMultipleTransfers = true; o.transferType = 'foo'; @@ -164,8 +164,8 @@ void checkDataSource(api.DataSource o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2990(o.parameters!); - checkUnnamed2991(o.scopes!); + checkUnnamed2878(o.parameters!); + checkUnnamed2879(o.scopes!); unittest.expect(o.supportsCustomSchedule!, unittest.isTrue); unittest.expect(o.supportsMultipleTransfers!, unittest.isTrue); unittest.expect( @@ -180,12 +180,12 @@ void checkDataSource(api.DataSource o) { buildCounterDataSource--; } -core.List buildUnnamed2992() => [ +core.List buildUnnamed2880() => [ 'foo', 'foo', ]; -void checkUnnamed2992(core.List o) { +void checkUnnamed2880(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -197,12 +197,12 @@ void checkUnnamed2992(core.List o) { ); } -core.List buildUnnamed2993() => [ +core.List buildUnnamed2881() => [ buildDataSourceParameter(), buildDataSourceParameter(), ]; -void checkUnnamed2993(core.List o) { +void checkUnnamed2881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceParameter(o[0]); checkDataSourceParameter(o[1]); @@ -213,11 +213,11 @@ api.DataSourceParameter buildDataSourceParameter() { final o = api.DataSourceParameter(); buildCounterDataSourceParameter++; if (buildCounterDataSourceParameter < 3) { - o.allowedValues = buildUnnamed2992(); + o.allowedValues = buildUnnamed2880(); o.deprecated = true; o.description = 'foo'; o.displayName = 'foo'; - o.fields = buildUnnamed2993(); + o.fields = buildUnnamed2881(); o.immutable = true; o.maxValue = 42.0; o.minValue = 42.0; @@ -237,7 +237,7 @@ api.DataSourceParameter buildDataSourceParameter() { void checkDataSourceParameter(api.DataSourceParameter o) { buildCounterDataSourceParameter++; if (buildCounterDataSourceParameter < 3) { - checkUnnamed2992(o.allowedValues!); + checkUnnamed2880(o.allowedValues!); unittest.expect(o.deprecated!, unittest.isTrue); unittest.expect( o.description!, @@ -247,7 +247,7 @@ void checkDataSourceParameter(api.DataSourceParameter o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2993(o.fields!); + checkUnnamed2881(o.fields!); unittest.expect(o.immutable!, unittest.isTrue); unittest.expect( o.maxValue!, @@ -318,12 +318,48 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed2994() => [ +core.List buildUnnamed2882() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2882(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterEnrollDataSourcesRequest = 0; +api.EnrollDataSourcesRequest buildEnrollDataSourcesRequest() { + final o = api.EnrollDataSourcesRequest(); + buildCounterEnrollDataSourcesRequest++; + if (buildCounterEnrollDataSourcesRequest < 3) { + o.dataSourceIds = buildUnnamed2882(); + } + buildCounterEnrollDataSourcesRequest--; + return o; +} + +void checkEnrollDataSourcesRequest(api.EnrollDataSourcesRequest o) { + buildCounterEnrollDataSourcesRequest++; + if (buildCounterEnrollDataSourcesRequest < 3) { + checkUnnamed2882(o.dataSourceIds!); + } + buildCounterEnrollDataSourcesRequest--; +} + +core.List buildUnnamed2883() => [ buildDataSource(), buildDataSource(), ]; -void checkUnnamed2994(core.List o) { +void checkUnnamed2883(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSource(o[0]); checkDataSource(o[1]); @@ -334,7 +370,7 @@ api.ListDataSourcesResponse buildListDataSourcesResponse() { final o = api.ListDataSourcesResponse(); buildCounterListDataSourcesResponse++; if (buildCounterListDataSourcesResponse < 3) { - o.dataSources = buildUnnamed2994(); + o.dataSources = buildUnnamed2883(); o.nextPageToken = 'foo'; } buildCounterListDataSourcesResponse--; @@ -344,7 +380,7 @@ api.ListDataSourcesResponse buildListDataSourcesResponse() { void checkListDataSourcesResponse(api.ListDataSourcesResponse o) { buildCounterListDataSourcesResponse++; if (buildCounterListDataSourcesResponse < 3) { - checkUnnamed2994(o.dataSources!); + checkUnnamed2883(o.dataSources!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -353,12 +389,12 @@ void checkListDataSourcesResponse(api.ListDataSourcesResponse o) { buildCounterListDataSourcesResponse--; } -core.List buildUnnamed2995() => [ +core.List buildUnnamed2884() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed2995(core.List o) { +void checkUnnamed2884(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -369,7 +405,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed2995(); + o.locations = buildUnnamed2884(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -379,7 +415,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed2995(o.locations!); + checkUnnamed2884(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -388,12 +424,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed2996() => [ +core.List buildUnnamed2885() => [ buildTransferConfig(), buildTransferConfig(), ]; -void checkUnnamed2996(core.List o) { +void checkUnnamed2885(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransferConfig(o[0]); checkTransferConfig(o[1]); @@ -405,7 +441,7 @@ api.ListTransferConfigsResponse buildListTransferConfigsResponse() { buildCounterListTransferConfigsResponse++; if (buildCounterListTransferConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.transferConfigs = buildUnnamed2996(); + o.transferConfigs = buildUnnamed2885(); } buildCounterListTransferConfigsResponse--; return o; @@ -418,17 +454,17 @@ void checkListTransferConfigsResponse(api.ListTransferConfigsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2996(o.transferConfigs!); + checkUnnamed2885(o.transferConfigs!); } buildCounterListTransferConfigsResponse--; } -core.List buildUnnamed2997() => [ +core.List buildUnnamed2886() => [ buildTransferMessage(), buildTransferMessage(), ]; -void checkUnnamed2997(core.List o) { +void checkUnnamed2886(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransferMessage(o[0]); checkTransferMessage(o[1]); @@ -440,7 +476,7 @@ api.ListTransferLogsResponse buildListTransferLogsResponse() { buildCounterListTransferLogsResponse++; if (buildCounterListTransferLogsResponse < 3) { o.nextPageToken = 'foo'; - o.transferMessages = buildUnnamed2997(); + o.transferMessages = buildUnnamed2886(); } buildCounterListTransferLogsResponse--; return o; @@ -453,17 +489,17 @@ void checkListTransferLogsResponse(api.ListTransferLogsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2997(o.transferMessages!); + checkUnnamed2886(o.transferMessages!); } buildCounterListTransferLogsResponse--; } -core.List buildUnnamed2998() => [ +core.List buildUnnamed2887() => [ buildTransferRun(), buildTransferRun(), ]; -void checkUnnamed2998(core.List o) { +void checkUnnamed2887(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransferRun(o[0]); checkTransferRun(o[1]); @@ -475,7 +511,7 @@ api.ListTransferRunsResponse buildListTransferRunsResponse() { buildCounterListTransferRunsResponse++; if (buildCounterListTransferRunsResponse < 3) { o.nextPageToken = 'foo'; - o.transferRuns = buildUnnamed2998(); + o.transferRuns = buildUnnamed2887(); } buildCounterListTransferRunsResponse--; return o; @@ -488,17 +524,17 @@ void checkListTransferRunsResponse(api.ListTransferRunsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2998(o.transferRuns!); + checkUnnamed2887(o.transferRuns!); } buildCounterListTransferRunsResponse--; } -core.Map buildUnnamed2999() => { +core.Map buildUnnamed2888() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2999(core.Map o) { +void checkUnnamed2888(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -510,7 +546,7 @@ void checkUnnamed2999(core.Map o) { ); } -core.Map buildUnnamed3000() => { +core.Map buildUnnamed2889() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -523,7 +559,7 @@ core.Map buildUnnamed3000() => { }, }; -void checkUnnamed3000(core.Map o) { +void checkUnnamed2889(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -561,9 +597,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed2999(); + o.labels = buildUnnamed2888(); o.locationId = 'foo'; - o.metadata = buildUnnamed3000(); + o.metadata = buildUnnamed2889(); o.name = 'foo'; } buildCounterLocation--; @@ -577,12 +613,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2999(o.labels!); + checkUnnamed2888(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed3000(o.metadata!); + checkUnnamed2889(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -647,12 +683,12 @@ void checkScheduleTransferRunsRequest(api.ScheduleTransferRunsRequest o) { buildCounterScheduleTransferRunsRequest--; } -core.List buildUnnamed3001() => [ +core.List buildUnnamed2890() => [ buildTransferRun(), buildTransferRun(), ]; -void checkUnnamed3001(core.List o) { +void checkUnnamed2890(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransferRun(o[0]); checkTransferRun(o[1]); @@ -663,7 +699,7 @@ api.ScheduleTransferRunsResponse buildScheduleTransferRunsResponse() { final o = api.ScheduleTransferRunsResponse(); buildCounterScheduleTransferRunsResponse++; if (buildCounterScheduleTransferRunsResponse < 3) { - o.runs = buildUnnamed3001(); + o.runs = buildUnnamed2890(); } buildCounterScheduleTransferRunsResponse--; return o; @@ -672,7 +708,7 @@ api.ScheduleTransferRunsResponse buildScheduleTransferRunsResponse() { void checkScheduleTransferRunsResponse(api.ScheduleTransferRunsResponse o) { buildCounterScheduleTransferRunsResponse++; if (buildCounterScheduleTransferRunsResponse < 3) { - checkUnnamed3001(o.runs!); + checkUnnamed2890(o.runs!); } buildCounterScheduleTransferRunsResponse--; } @@ -701,12 +737,12 @@ void checkStartManualTransferRunsRequest(api.StartManualTransferRunsRequest o) { buildCounterStartManualTransferRunsRequest--; } -core.List buildUnnamed3002() => [ +core.List buildUnnamed2891() => [ buildTransferRun(), buildTransferRun(), ]; -void checkUnnamed3002(core.List o) { +void checkUnnamed2891(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransferRun(o[0]); checkTransferRun(o[1]); @@ -717,7 +753,7 @@ api.StartManualTransferRunsResponse buildStartManualTransferRunsResponse() { final o = api.StartManualTransferRunsResponse(); buildCounterStartManualTransferRunsResponse++; if (buildCounterStartManualTransferRunsResponse < 3) { - o.runs = buildUnnamed3002(); + o.runs = buildUnnamed2891(); } buildCounterStartManualTransferRunsResponse--; return o; @@ -727,12 +763,12 @@ void checkStartManualTransferRunsResponse( api.StartManualTransferRunsResponse o) { buildCounterStartManualTransferRunsResponse++; if (buildCounterStartManualTransferRunsResponse < 3) { - checkUnnamed3002(o.runs!); + checkUnnamed2891(o.runs!); } buildCounterStartManualTransferRunsResponse--; } -core.Map buildUnnamed3003() => { +core.Map buildUnnamed2892() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -745,7 +781,7 @@ core.Map buildUnnamed3003() => { }, }; -void checkUnnamed3003(core.Map o) { +void checkUnnamed2892(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -777,15 +813,15 @@ void checkUnnamed3003(core.Map o) { ); } -core.List> buildUnnamed3004() => [ - buildUnnamed3003(), - buildUnnamed3003(), +core.List> buildUnnamed2893() => [ + buildUnnamed2892(), + buildUnnamed2892(), ]; -void checkUnnamed3004(core.List> o) { +void checkUnnamed2893(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3003(o[0]); - checkUnnamed3003(o[1]); + checkUnnamed2892(o[0]); + checkUnnamed2892(o[1]); } core.int buildCounterStatus = 0; @@ -794,7 +830,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3004(); + o.details = buildUnnamed2893(); o.message = 'foo'; } buildCounterStatus--; @@ -808,7 +844,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3004(o.details!); + checkUnnamed2893(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -844,7 +880,7 @@ void checkTimeRange(api.TimeRange o) { buildCounterTimeRange--; } -core.Map buildUnnamed3005() => { +core.Map buildUnnamed2894() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -857,7 +893,7 @@ core.Map buildUnnamed3005() => { }, }; -void checkUnnamed3005(core.Map o) { +void checkUnnamed2894(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -904,7 +940,8 @@ api.TransferConfig buildTransferConfig() { o.name = 'foo'; o.nextRunTime = 'foo'; o.notificationPubsubTopic = 'foo'; - o.params = buildUnnamed3005(); + o.ownerInfo = buildUserInfo(); + o.params = buildUnnamed2894(); o.schedule = 'foo'; o.scheduleOptions = buildScheduleOptions(); o.state = 'foo'; @@ -952,7 +989,8 @@ void checkTransferConfig(api.TransferConfig o) { o.notificationPubsubTopic!, unittest.equals('foo'), ); - checkUnnamed3005(o.params!); + checkUserInfo(o.ownerInfo!); + checkUnnamed2894(o.params!); unittest.expect( o.schedule!, unittest.equals('foo'), @@ -1006,7 +1044,7 @@ void checkTransferMessage(api.TransferMessage o) { buildCounterTransferMessage--; } -core.Map buildUnnamed3006() => { +core.Map buildUnnamed2895() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1019,7 +1057,7 @@ core.Map buildUnnamed3006() => { }, }; -void checkUnnamed3006(core.Map o) { +void checkUnnamed2895(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1063,7 +1101,7 @@ api.TransferRun buildTransferRun() { o.errorStatus = buildStatus(); o.name = 'foo'; o.notificationPubsubTopic = 'foo'; - o.params = buildUnnamed3006(); + o.params = buildUnnamed2895(); o.runTime = 'foo'; o.schedule = 'foo'; o.scheduleTime = 'foo'; @@ -1101,7 +1139,7 @@ void checkTransferRun(api.TransferRun o) { o.notificationPubsubTopic!, unittest.equals('foo'), ); - checkUnnamed3006(o.params!); + checkUnnamed2895(o.params!); unittest.expect( o.runTime!, unittest.equals('foo'), @@ -1134,12 +1172,34 @@ void checkTransferRun(api.TransferRun o) { buildCounterTransferRun--; } -core.List buildUnnamed3007() => [ +core.int buildCounterUserInfo = 0; +api.UserInfo buildUserInfo() { + final o = api.UserInfo(); + buildCounterUserInfo++; + if (buildCounterUserInfo < 3) { + o.email = 'foo'; + } + buildCounterUserInfo--; + return o; +} + +void checkUserInfo(api.UserInfo o) { + buildCounterUserInfo++; + if (buildCounterUserInfo < 3) { + unittest.expect( + o.email!, + unittest.equals('foo'), + ); + } + buildCounterUserInfo--; +} + +core.List buildUnnamed2896() => [ 'foo', 'foo', ]; -void checkUnnamed3007(core.List o) { +void checkUnnamed2896(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1151,12 +1211,12 @@ void checkUnnamed3007(core.List o) { ); } -core.List buildUnnamed3008() => [ +core.List buildUnnamed2897() => [ 'foo', 'foo', ]; -void checkUnnamed3008(core.List o) { +void checkUnnamed2897(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1168,12 +1228,12 @@ void checkUnnamed3008(core.List o) { ); } -core.List buildUnnamed3009() => [ +core.List buildUnnamed2898() => [ 'foo', 'foo', ]; -void checkUnnamed3009(core.List o) { +void checkUnnamed2898(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1185,12 +1245,12 @@ void checkUnnamed3009(core.List o) { ); } -core.List buildUnnamed3010() => [ +core.List buildUnnamed2899() => [ 'foo', 'foo', ]; -void checkUnnamed3010(core.List o) { +void checkUnnamed2899(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1202,12 +1262,12 @@ void checkUnnamed3010(core.List o) { ); } -core.List buildUnnamed3011() => [ +core.List buildUnnamed2900() => [ 'foo', 'foo', ]; -void checkUnnamed3011(core.List o) { +void checkUnnamed2900(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1219,12 +1279,12 @@ void checkUnnamed3011(core.List o) { ); } -core.List buildUnnamed3012() => [ +core.List buildUnnamed2901() => [ 'foo', 'foo', ]; -void checkUnnamed3012(core.List o) { +void checkUnnamed2901(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1297,6 +1357,16 @@ void main() { }); }); + unittest.group('obj-schema-EnrollDataSourcesRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildEnrollDataSourcesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EnrollDataSourcesRequest.fromJson( + oJson as core.Map); + checkEnrollDataSourcesRequest(od); + }); + }); + unittest.group('obj-schema-ListDataSourcesResponse', () { unittest.test('to-json--from-json', () async { final o = buildListDataSourcesResponse(); @@ -1457,6 +1527,76 @@ void main() { }); }); + unittest.group('obj-schema-UserInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildUserInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.UserInfo.fromJson(oJson as core.Map); + checkUserInfo(od); + }); + }); + + unittest.group('resource-ProjectsResource', () { + unittest.test('method--enrollDataSources', () async { + final mock = HttpServerMock(); + final res = api.BigQueryDataTransferApi(mock).projects; + final arg_request = buildEnrollDataSourcesRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.EnrollDataSourcesRequest.fromJson( + json as core.Map); + checkEnrollDataSourcesRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.enrollDataSources(arg_request, arg_name, + $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + }); + unittest.group('resource-ProjectsDataSourcesResource', () { unittest.test('method--checkValidCreds', () async { final mock = HttpServerMock(); @@ -1635,6 +1775,64 @@ void main() { }); unittest.group('resource-ProjectsLocationsResource', () { + unittest.test('method--enrollDataSources', () async { + final mock = HttpServerMock(); + final res = api.BigQueryDataTransferApi(mock).projects.locations; + final arg_request = buildEnrollDataSourcesRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.EnrollDataSourcesRequest.fromJson( + json as core.Map); + checkEnrollDataSourcesRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.enrollDataSources(arg_request, arg_name, + $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + unittest.test('method--get', () async { final mock = HttpServerMock(); final res = api.BigQueryDataTransferApi(mock).projects.locations; @@ -2128,7 +2326,7 @@ void main() { final res = api.BigQueryDataTransferApi(mock).projects.locations.transferConfigs; final arg_parent = 'foo'; - final arg_dataSourceIds = buildUnnamed3007(); + final arg_dataSourceIds = buildUnnamed2896(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -2525,7 +2723,7 @@ void main() { final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_runAttempt = 'foo'; - final arg_states = buildUnnamed3008(); + final arg_states = buildUnnamed2897(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2607,7 +2805,7 @@ void main() { .runs .transferLogs; final arg_parent = 'foo'; - final arg_messageTypes = buildUnnamed3009(); + final arg_messageTypes = buildUnnamed2898(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -2860,7 +3058,7 @@ void main() { final mock = HttpServerMock(); final res = api.BigQueryDataTransferApi(mock).projects.transferConfigs; final arg_parent = 'foo'; - final arg_dataSourceIds = buildUnnamed3010(); + final arg_dataSourceIds = buildUnnamed2899(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -3245,7 +3443,7 @@ void main() { final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_runAttempt = 'foo'; - final arg_states = buildUnnamed3011(); + final arg_states = buildUnnamed2900(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -3326,7 +3524,7 @@ void main() { .runs .transferLogs; final arg_parent = 'foo'; - final arg_messageTypes = buildUnnamed3012(); + final arg_messageTypes = buildUnnamed2901(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/bigqueryreservation/v1_test.dart b/generated/googleapis/test/bigqueryreservation/v1_test.dart index 5bb3069d7..b9b820809 100644 --- a/generated/googleapis/test/bigqueryreservation/v1_test.dart +++ b/generated/googleapis/test/bigqueryreservation/v1_test.dart @@ -164,12 +164,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed5284() => [ +core.List buildUnnamed5343() => [ buildAssignment(), buildAssignment(), ]; -void checkUnnamed5284(core.List o) { +void checkUnnamed5343(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignment(o[0]); checkAssignment(o[1]); @@ -180,7 +180,7 @@ api.ListAssignmentsResponse buildListAssignmentsResponse() { final o = api.ListAssignmentsResponse(); buildCounterListAssignmentsResponse++; if (buildCounterListAssignmentsResponse < 3) { - o.assignments = buildUnnamed5284(); + o.assignments = buildUnnamed5343(); o.nextPageToken = 'foo'; } buildCounterListAssignmentsResponse--; @@ -190,7 +190,7 @@ api.ListAssignmentsResponse buildListAssignmentsResponse() { void checkListAssignmentsResponse(api.ListAssignmentsResponse o) { buildCounterListAssignmentsResponse++; if (buildCounterListAssignmentsResponse < 3) { - checkUnnamed5284(o.assignments!); + checkUnnamed5343(o.assignments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -199,12 +199,12 @@ void checkListAssignmentsResponse(api.ListAssignmentsResponse o) { buildCounterListAssignmentsResponse--; } -core.List buildUnnamed5285() => [ +core.List buildUnnamed5344() => [ buildCapacityCommitment(), buildCapacityCommitment(), ]; -void checkUnnamed5285(core.List o) { +void checkUnnamed5344(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCapacityCommitment(o[0]); checkCapacityCommitment(o[1]); @@ -215,7 +215,7 @@ api.ListCapacityCommitmentsResponse buildListCapacityCommitmentsResponse() { final o = api.ListCapacityCommitmentsResponse(); buildCounterListCapacityCommitmentsResponse++; if (buildCounterListCapacityCommitmentsResponse < 3) { - o.capacityCommitments = buildUnnamed5285(); + o.capacityCommitments = buildUnnamed5344(); o.nextPageToken = 'foo'; } buildCounterListCapacityCommitmentsResponse--; @@ -226,7 +226,7 @@ void checkListCapacityCommitmentsResponse( api.ListCapacityCommitmentsResponse o) { buildCounterListCapacityCommitmentsResponse++; if (buildCounterListCapacityCommitmentsResponse < 3) { - checkUnnamed5285(o.capacityCommitments!); + checkUnnamed5344(o.capacityCommitments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -235,12 +235,12 @@ void checkListCapacityCommitmentsResponse( buildCounterListCapacityCommitmentsResponse--; } -core.List buildUnnamed5286() => [ +core.List buildUnnamed5345() => [ buildReservation(), buildReservation(), ]; -void checkUnnamed5286(core.List o) { +void checkUnnamed5345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservation(o[0]); checkReservation(o[1]); @@ -252,7 +252,7 @@ api.ListReservationsResponse buildListReservationsResponse() { buildCounterListReservationsResponse++; if (buildCounterListReservationsResponse < 3) { o.nextPageToken = 'foo'; - o.reservations = buildUnnamed5286(); + o.reservations = buildUnnamed5345(); } buildCounterListReservationsResponse--; return o; @@ -265,17 +265,17 @@ void checkListReservationsResponse(api.ListReservationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5286(o.reservations!); + checkUnnamed5345(o.reservations!); } buildCounterListReservationsResponse--; } -core.List buildUnnamed5287() => [ +core.List buildUnnamed5346() => [ 'foo', 'foo', ]; -void checkUnnamed5287(core.List o) { +void checkUnnamed5346(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -292,7 +292,7 @@ api.MergeCapacityCommitmentsRequest buildMergeCapacityCommitmentsRequest() { final o = api.MergeCapacityCommitmentsRequest(); buildCounterMergeCapacityCommitmentsRequest++; if (buildCounterMergeCapacityCommitmentsRequest < 3) { - o.capacityCommitmentIds = buildUnnamed5287(); + o.capacityCommitmentIds = buildUnnamed5346(); } buildCounterMergeCapacityCommitmentsRequest--; return o; @@ -302,7 +302,7 @@ void checkMergeCapacityCommitmentsRequest( api.MergeCapacityCommitmentsRequest o) { buildCounterMergeCapacityCommitmentsRequest++; if (buildCounterMergeCapacityCommitmentsRequest < 3) { - checkUnnamed5287(o.capacityCommitmentIds!); + checkUnnamed5346(o.capacityCommitmentIds!); } buildCounterMergeCapacityCommitmentsRequest--; } @@ -368,12 +368,12 @@ void checkReservation(api.Reservation o) { buildCounterReservation--; } -core.List buildUnnamed5288() => [ +core.List buildUnnamed5347() => [ buildAssignment(), buildAssignment(), ]; -void checkUnnamed5288(core.List o) { +void checkUnnamed5347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignment(o[0]); checkAssignment(o[1]); @@ -384,7 +384,7 @@ api.SearchAllAssignmentsResponse buildSearchAllAssignmentsResponse() { final o = api.SearchAllAssignmentsResponse(); buildCounterSearchAllAssignmentsResponse++; if (buildCounterSearchAllAssignmentsResponse < 3) { - o.assignments = buildUnnamed5288(); + o.assignments = buildUnnamed5347(); o.nextPageToken = 'foo'; } buildCounterSearchAllAssignmentsResponse--; @@ -394,7 +394,7 @@ api.SearchAllAssignmentsResponse buildSearchAllAssignmentsResponse() { void checkSearchAllAssignmentsResponse(api.SearchAllAssignmentsResponse o) { buildCounterSearchAllAssignmentsResponse++; if (buildCounterSearchAllAssignmentsResponse < 3) { - checkUnnamed5288(o.assignments!); + checkUnnamed5347(o.assignments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -403,12 +403,12 @@ void checkSearchAllAssignmentsResponse(api.SearchAllAssignmentsResponse o) { buildCounterSearchAllAssignmentsResponse--; } -core.List buildUnnamed5289() => [ +core.List buildUnnamed5348() => [ buildAssignment(), buildAssignment(), ]; -void checkUnnamed5289(core.List o) { +void checkUnnamed5348(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignment(o[0]); checkAssignment(o[1]); @@ -419,7 +419,7 @@ api.SearchAssignmentsResponse buildSearchAssignmentsResponse() { final o = api.SearchAssignmentsResponse(); buildCounterSearchAssignmentsResponse++; if (buildCounterSearchAssignmentsResponse < 3) { - o.assignments = buildUnnamed5289(); + o.assignments = buildUnnamed5348(); o.nextPageToken = 'foo'; } buildCounterSearchAssignmentsResponse--; @@ -429,7 +429,7 @@ api.SearchAssignmentsResponse buildSearchAssignmentsResponse() { void checkSearchAssignmentsResponse(api.SearchAssignmentsResponse o) { buildCounterSearchAssignmentsResponse++; if (buildCounterSearchAssignmentsResponse < 3) { - checkUnnamed5289(o.assignments!); + checkUnnamed5348(o.assignments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -482,7 +482,7 @@ void checkSplitCapacityCommitmentResponse( buildCounterSplitCapacityCommitmentResponse--; } -core.Map buildUnnamed5290() => { +core.Map buildUnnamed5349() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -495,7 +495,7 @@ core.Map buildUnnamed5290() => { }, }; -void checkUnnamed5290(core.Map o) { +void checkUnnamed5349(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -527,15 +527,15 @@ void checkUnnamed5290(core.Map o) { ); } -core.List> buildUnnamed5291() => [ - buildUnnamed5290(), - buildUnnamed5290(), +core.List> buildUnnamed5350() => [ + buildUnnamed5349(), + buildUnnamed5349(), ]; -void checkUnnamed5291(core.List> o) { +void checkUnnamed5350(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5290(o[0]); - checkUnnamed5290(o[1]); + checkUnnamed5349(o[0]); + checkUnnamed5349(o[1]); } core.int buildCounterStatus = 0; @@ -544,7 +544,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed5291(); + o.details = buildUnnamed5350(); o.message = 'foo'; } buildCounterStatus--; @@ -558,7 +558,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed5291(o.details!); + checkUnnamed5350(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1060,6 +1060,7 @@ void main() { .locations .capacityCommitments; final arg_name = 'foo'; + final arg_force = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1093,6 +1094,10 @@ void main() { ); } } + unittest.expect( + queryMap['force']!.first, + unittest.equals('$arg_force'), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -1104,7 +1109,8 @@ void main() { final resp = convert.json.encode(buildEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.delete(arg_name, $fields: arg_$fields); + final response = + await res.delete(arg_name, force: arg_force, $fields: arg_$fields); checkEmpty(response as api.Empty); }); diff --git a/generated/googleapis/test/bigtableadmin/v2_test.dart b/generated/googleapis/test/bigtableadmin/v2_test.dart index 51d5f5005..d21bde0c4 100644 --- a/generated/googleapis/test/bigtableadmin/v2_test.dart +++ b/generated/googleapis/test/bigtableadmin/v2_test.dart @@ -62,12 +62,12 @@ void checkAppProfile(api.AppProfile o) { buildCounterAppProfile--; } -core.List buildUnnamed1433() => [ +core.List buildUnnamed1458() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed1433(core.List o) { +void checkUnnamed1458(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -78,7 +78,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed1433(); + o.auditLogConfigs = buildUnnamed1458(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -88,7 +88,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed1433(o.auditLogConfigs!); + checkUnnamed1458(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -97,12 +97,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed1434() => [ +core.List buildUnnamed1459() => [ 'foo', 'foo', ]; -void checkUnnamed1434(core.List o) { +void checkUnnamed1459(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -119,7 +119,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed1434(); + o.exemptedMembers = buildUnnamed1459(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -129,7 +129,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed1434(o.exemptedMembers!); + checkUnnamed1459(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -229,12 +229,12 @@ void checkBackupInfo(api.BackupInfo o) { buildCounterBackupInfo--; } -core.List buildUnnamed1435() => [ +core.List buildUnnamed1460() => [ 'foo', 'foo', ]; -void checkUnnamed1435(core.List o) { +void checkUnnamed1460(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -252,7 +252,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1435(); + o.members = buildUnnamed1460(); o.role = 'foo'; } buildCounterBinding--; @@ -263,7 +263,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1435(o.members!); + checkUnnamed1460(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -357,12 +357,12 @@ void checkCluster(api.Cluster o) { buildCounterCluster--; } -core.List buildUnnamed1436() => [ +core.List buildUnnamed1461() => [ buildEncryptionInfo(), buildEncryptionInfo(), ]; -void checkUnnamed1436(core.List o) { +void checkUnnamed1461(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEncryptionInfo(o[0]); checkEncryptionInfo(o[1]); @@ -373,7 +373,7 @@ api.ClusterState buildClusterState() { final o = api.ClusterState(); buildCounterClusterState++; if (buildCounterClusterState < 3) { - o.encryptionInfo = buildUnnamed1436(); + o.encryptionInfo = buildUnnamed1461(); o.replicationState = 'foo'; } buildCounterClusterState--; @@ -383,7 +383,7 @@ api.ClusterState buildClusterState() { void checkClusterState(api.ClusterState o) { buildCounterClusterState++; if (buildCounterClusterState < 3) { - checkUnnamed1436(o.encryptionInfo!); + checkUnnamed1461(o.encryptionInfo!); unittest.expect( o.replicationState!, unittest.equals('foo'), @@ -448,12 +448,12 @@ void checkCreateBackupMetadata(api.CreateBackupMetadata o) { buildCounterCreateBackupMetadata--; } -core.Map buildUnnamed1437() => { +core.Map buildUnnamed1462() => { 'x': buildTableProgress(), 'y': buildTableProgress(), }; -void checkUnnamed1437(core.Map o) { +void checkUnnamed1462(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTableProgress(o['x']!); checkTableProgress(o['y']!); @@ -467,7 +467,7 @@ api.CreateClusterMetadata buildCreateClusterMetadata() { o.finishTime = 'foo'; o.originalRequest = buildCreateClusterRequest(); o.requestTime = 'foo'; - o.tables = buildUnnamed1437(); + o.tables = buildUnnamed1462(); } buildCounterCreateClusterMetadata--; return o; @@ -485,7 +485,7 @@ void checkCreateClusterMetadata(api.CreateClusterMetadata o) { o.requestTime!, unittest.equals('foo'), ); - checkUnnamed1437(o.tables!); + checkUnnamed1462(o.tables!); } buildCounterCreateClusterMetadata--; } @@ -548,12 +548,12 @@ void checkCreateInstanceMetadata(api.CreateInstanceMetadata o) { buildCounterCreateInstanceMetadata--; } -core.Map buildUnnamed1438() => { +core.Map buildUnnamed1463() => { 'x': buildCluster(), 'y': buildCluster(), }; -void checkUnnamed1438(core.Map o) { +void checkUnnamed1463(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkCluster(o['x']!); checkCluster(o['y']!); @@ -564,7 +564,7 @@ api.CreateInstanceRequest buildCreateInstanceRequest() { final o = api.CreateInstanceRequest(); buildCounterCreateInstanceRequest++; if (buildCounterCreateInstanceRequest < 3) { - o.clusters = buildUnnamed1438(); + o.clusters = buildUnnamed1463(); o.instance = buildInstance(); o.instanceId = 'foo'; o.parent = 'foo'; @@ -576,7 +576,7 @@ api.CreateInstanceRequest buildCreateInstanceRequest() { void checkCreateInstanceRequest(api.CreateInstanceRequest o) { buildCounterCreateInstanceRequest++; if (buildCounterCreateInstanceRequest < 3) { - checkUnnamed1438(o.clusters!); + checkUnnamed1463(o.clusters!); checkInstance(o.instance!); unittest.expect( o.instanceId!, @@ -590,12 +590,12 @@ void checkCreateInstanceRequest(api.CreateInstanceRequest o) { buildCounterCreateInstanceRequest--; } -core.List buildUnnamed1439() => [ +core.List buildUnnamed1464() => [ buildSplit(), buildSplit(), ]; -void checkUnnamed1439(core.List o) { +void checkUnnamed1464(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSplit(o[0]); checkSplit(o[1]); @@ -606,7 +606,7 @@ api.CreateTableRequest buildCreateTableRequest() { final o = api.CreateTableRequest(); buildCounterCreateTableRequest++; if (buildCounterCreateTableRequest < 3) { - o.initialSplits = buildUnnamed1439(); + o.initialSplits = buildUnnamed1464(); o.table = buildTable(); o.tableId = 'foo'; } @@ -617,7 +617,7 @@ api.CreateTableRequest buildCreateTableRequest() { void checkCreateTableRequest(api.CreateTableRequest o) { buildCounterCreateTableRequest++; if (buildCounterCreateTableRequest < 3) { - checkUnnamed1439(o.initialSplits!); + checkUnnamed1464(o.initialSplits!); checkTable(o.table!); unittest.expect( o.tableId!, @@ -754,12 +754,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed1440() => [ +core.List buildUnnamed1465() => [ buildFrame(), buildFrame(), ]; -void checkUnnamed1440(core.List o) { +void checkUnnamed1465(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFrame(o[0]); checkFrame(o[1]); @@ -770,7 +770,7 @@ api.FailureTrace buildFailureTrace() { final o = api.FailureTrace(); buildCounterFailureTrace++; if (buildCounterFailureTrace < 3) { - o.frames = buildUnnamed1440(); + o.frames = buildUnnamed1465(); } buildCounterFailureTrace--; return o; @@ -779,7 +779,7 @@ api.FailureTrace buildFailureTrace() { void checkFailureTrace(api.FailureTrace o) { buildCounterFailureTrace++; if (buildCounterFailureTrace < 3) { - checkUnnamed1440(o.frames!); + checkUnnamed1465(o.frames!); } buildCounterFailureTrace--; } @@ -927,12 +927,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.Map buildUnnamed1441() => { +core.Map buildUnnamed1466() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1441(core.Map o) { +void checkUnnamed1466(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -949,8 +949,9 @@ api.Instance buildInstance() { final o = api.Instance(); buildCounterInstance++; if (buildCounterInstance < 3) { + o.createTime = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed1441(); + o.labels = buildUnnamed1466(); o.name = 'foo'; o.state = 'foo'; o.type = 'foo'; @@ -962,11 +963,15 @@ api.Instance buildInstance() { void checkInstance(api.Instance o) { buildCounterInstance++; if (buildCounterInstance < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); unittest.expect( o.displayName!, unittest.equals('foo'), ); - checkUnnamed1441(o.labels!); + checkUnnamed1466(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -983,12 +988,12 @@ void checkInstance(api.Instance o) { buildCounterInstance--; } -core.List buildUnnamed1442() => [ +core.List buildUnnamed1467() => [ buildGcRule(), buildGcRule(), ]; -void checkUnnamed1442(core.List o) { +void checkUnnamed1467(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGcRule(o[0]); checkGcRule(o[1]); @@ -999,7 +1004,7 @@ api.Intersection buildIntersection() { final o = api.Intersection(); buildCounterIntersection++; if (buildCounterIntersection < 3) { - o.rules = buildUnnamed1442(); + o.rules = buildUnnamed1467(); } buildCounterIntersection--; return o; @@ -1008,28 +1013,28 @@ api.Intersection buildIntersection() { void checkIntersection(api.Intersection o) { buildCounterIntersection++; if (buildCounterIntersection < 3) { - checkUnnamed1442(o.rules!); + checkUnnamed1467(o.rules!); } buildCounterIntersection--; } -core.List buildUnnamed1443() => [ +core.List buildUnnamed1468() => [ buildAppProfile(), buildAppProfile(), ]; -void checkUnnamed1443(core.List o) { +void checkUnnamed1468(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppProfile(o[0]); checkAppProfile(o[1]); } -core.List buildUnnamed1444() => [ +core.List buildUnnamed1469() => [ 'foo', 'foo', ]; -void checkUnnamed1444(core.List o) { +void checkUnnamed1469(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1046,8 +1051,8 @@ api.ListAppProfilesResponse buildListAppProfilesResponse() { final o = api.ListAppProfilesResponse(); buildCounterListAppProfilesResponse++; if (buildCounterListAppProfilesResponse < 3) { - o.appProfiles = buildUnnamed1443(); - o.failedLocations = buildUnnamed1444(); + o.appProfiles = buildUnnamed1468(); + o.failedLocations = buildUnnamed1469(); o.nextPageToken = 'foo'; } buildCounterListAppProfilesResponse--; @@ -1057,8 +1062,8 @@ api.ListAppProfilesResponse buildListAppProfilesResponse() { void checkListAppProfilesResponse(api.ListAppProfilesResponse o) { buildCounterListAppProfilesResponse++; if (buildCounterListAppProfilesResponse < 3) { - checkUnnamed1443(o.appProfiles!); - checkUnnamed1444(o.failedLocations!); + checkUnnamed1468(o.appProfiles!); + checkUnnamed1469(o.failedLocations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1067,12 +1072,12 @@ void checkListAppProfilesResponse(api.ListAppProfilesResponse o) { buildCounterListAppProfilesResponse--; } -core.List buildUnnamed1445() => [ +core.List buildUnnamed1470() => [ buildBackup(), buildBackup(), ]; -void checkUnnamed1445(core.List o) { +void checkUnnamed1470(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackup(o[0]); checkBackup(o[1]); @@ -1083,7 +1088,7 @@ api.ListBackupsResponse buildListBackupsResponse() { final o = api.ListBackupsResponse(); buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - o.backups = buildUnnamed1445(); + o.backups = buildUnnamed1470(); o.nextPageToken = 'foo'; } buildCounterListBackupsResponse--; @@ -1093,7 +1098,7 @@ api.ListBackupsResponse buildListBackupsResponse() { void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - checkUnnamed1445(o.backups!); + checkUnnamed1470(o.backups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1102,23 +1107,23 @@ void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse--; } -core.List buildUnnamed1446() => [ +core.List buildUnnamed1471() => [ buildCluster(), buildCluster(), ]; -void checkUnnamed1446(core.List o) { +void checkUnnamed1471(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCluster(o[0]); checkCluster(o[1]); } -core.List buildUnnamed1447() => [ +core.List buildUnnamed1472() => [ 'foo', 'foo', ]; -void checkUnnamed1447(core.List o) { +void checkUnnamed1472(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1135,8 +1140,8 @@ api.ListClustersResponse buildListClustersResponse() { final o = api.ListClustersResponse(); buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - o.clusters = buildUnnamed1446(); - o.failedLocations = buildUnnamed1447(); + o.clusters = buildUnnamed1471(); + o.failedLocations = buildUnnamed1472(); o.nextPageToken = 'foo'; } buildCounterListClustersResponse--; @@ -1146,8 +1151,8 @@ api.ListClustersResponse buildListClustersResponse() { void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - checkUnnamed1446(o.clusters!); - checkUnnamed1447(o.failedLocations!); + checkUnnamed1471(o.clusters!); + checkUnnamed1472(o.failedLocations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1156,12 +1161,12 @@ void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse--; } -core.List buildUnnamed1448() => [ +core.List buildUnnamed1473() => [ 'foo', 'foo', ]; -void checkUnnamed1448(core.List o) { +void checkUnnamed1473(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1173,12 +1178,12 @@ void checkUnnamed1448(core.List o) { ); } -core.List buildUnnamed1449() => [ +core.List buildUnnamed1474() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed1449(core.List o) { +void checkUnnamed1474(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -1189,8 +1194,8 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.failedLocations = buildUnnamed1448(); - o.instances = buildUnnamed1449(); + o.failedLocations = buildUnnamed1473(); + o.instances = buildUnnamed1474(); o.nextPageToken = 'foo'; } buildCounterListInstancesResponse--; @@ -1200,8 +1205,8 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed1448(o.failedLocations!); - checkUnnamed1449(o.instances!); + checkUnnamed1473(o.failedLocations!); + checkUnnamed1474(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1210,12 +1215,12 @@ void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse--; } -core.List buildUnnamed1450() => [ +core.List buildUnnamed1475() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed1450(core.List o) { +void checkUnnamed1475(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1226,7 +1231,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed1450(); + o.locations = buildUnnamed1475(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1236,7 +1241,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed1450(o.locations!); + checkUnnamed1475(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1245,12 +1250,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed1451() => [ +core.List buildUnnamed1476() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1451(core.List o) { +void checkUnnamed1476(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1262,7 +1267,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1451(); + o.operations = buildUnnamed1476(); } buildCounterListOperationsResponse--; return o; @@ -1275,17 +1280,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1451(o.operations!); + checkUnnamed1476(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed1452() => [ +core.List buildUnnamed1477() => [ buildTable(), buildTable(), ]; -void checkUnnamed1452(core.List o) { +void checkUnnamed1477(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTable(o[0]); checkTable(o[1]); @@ -1297,7 +1302,7 @@ api.ListTablesResponse buildListTablesResponse() { buildCounterListTablesResponse++; if (buildCounterListTablesResponse < 3) { o.nextPageToken = 'foo'; - o.tables = buildUnnamed1452(); + o.tables = buildUnnamed1477(); } buildCounterListTablesResponse--; return o; @@ -1310,17 +1315,17 @@ void checkListTablesResponse(api.ListTablesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1452(o.tables!); + checkUnnamed1477(o.tables!); } buildCounterListTablesResponse--; } -core.Map buildUnnamed1453() => { +core.Map buildUnnamed1478() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1453(core.Map o) { +void checkUnnamed1478(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1332,7 +1337,7 @@ void checkUnnamed1453(core.Map o) { ); } -core.Map buildUnnamed1454() => { +core.Map buildUnnamed1479() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1345,7 +1350,7 @@ core.Map buildUnnamed1454() => { }, }; -void checkUnnamed1454(core.Map o) { +void checkUnnamed1479(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1383,9 +1388,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed1453(); + o.labels = buildUnnamed1478(); o.locationId = 'foo'; - o.metadata = buildUnnamed1454(); + o.metadata = buildUnnamed1479(); o.name = 'foo'; } buildCounterLocation--; @@ -1399,12 +1404,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1453(o.labels!); + checkUnnamed1478(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed1454(o.metadata!); + checkUnnamed1479(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1441,12 +1446,12 @@ void checkModification(api.Modification o) { buildCounterModification--; } -core.List buildUnnamed1455() => [ +core.List buildUnnamed1480() => [ buildModification(), buildModification(), ]; -void checkUnnamed1455(core.List o) { +void checkUnnamed1480(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkModification(o[0]); checkModification(o[1]); @@ -1457,7 +1462,7 @@ api.ModifyColumnFamiliesRequest buildModifyColumnFamiliesRequest() { final o = api.ModifyColumnFamiliesRequest(); buildCounterModifyColumnFamiliesRequest++; if (buildCounterModifyColumnFamiliesRequest < 3) { - o.modifications = buildUnnamed1455(); + o.modifications = buildUnnamed1480(); } buildCounterModifyColumnFamiliesRequest--; return o; @@ -1466,7 +1471,7 @@ api.ModifyColumnFamiliesRequest buildModifyColumnFamiliesRequest() { void checkModifyColumnFamiliesRequest(api.ModifyColumnFamiliesRequest o) { buildCounterModifyColumnFamiliesRequest++; if (buildCounterModifyColumnFamiliesRequest < 3) { - checkUnnamed1455(o.modifications!); + checkUnnamed1480(o.modifications!); } buildCounterModifyColumnFamiliesRequest--; } @@ -1486,7 +1491,7 @@ void checkMultiClusterRoutingUseAny(api.MultiClusterRoutingUseAny o) { buildCounterMultiClusterRoutingUseAny--; } -core.Map buildUnnamed1456() => { +core.Map buildUnnamed1481() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1499,7 +1504,7 @@ core.Map buildUnnamed1456() => { }, }; -void checkUnnamed1456(core.Map o) { +void checkUnnamed1481(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1531,7 +1536,7 @@ void checkUnnamed1456(core.Map o) { ); } -core.Map buildUnnamed1457() => { +core.Map buildUnnamed1482() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1544,7 +1549,7 @@ core.Map buildUnnamed1457() => { }, }; -void checkUnnamed1457(core.Map o) { +void checkUnnamed1482(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1583,9 +1588,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1456(); + o.metadata = buildUnnamed1481(); o.name = 'foo'; - o.response = buildUnnamed1457(); + o.response = buildUnnamed1482(); } buildCounterOperation--; return o; @@ -1596,12 +1601,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1456(o.metadata!); + checkUnnamed1481(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1457(o.response!); + checkUnnamed1482(o.response!); } buildCounterOperation--; } @@ -1686,23 +1691,23 @@ void checkPartialUpdateInstanceRequest(api.PartialUpdateInstanceRequest o) { buildCounterPartialUpdateInstanceRequest--; } -core.List buildUnnamed1458() => [ +core.List buildUnnamed1483() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1458(core.List o) { +void checkUnnamed1483(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1459() => [ +core.List buildUnnamed1484() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1459(core.List o) { +void checkUnnamed1484(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1713,8 +1718,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1458(); - o.bindings = buildUnnamed1459(); + o.auditConfigs = buildUnnamed1483(); + o.bindings = buildUnnamed1484(); o.etag = 'foo'; o.version = 42; } @@ -1725,8 +1730,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1458(o.auditConfigs!); - checkUnnamed1459(o.bindings!); + checkUnnamed1483(o.auditConfigs!); + checkUnnamed1484(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1896,7 +1901,7 @@ void checkSplit(api.Split o) { buildCounterSplit--; } -core.Map buildUnnamed1460() => { +core.Map buildUnnamed1485() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1909,7 +1914,7 @@ core.Map buildUnnamed1460() => { }, }; -void checkUnnamed1460(core.Map o) { +void checkUnnamed1485(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1941,15 +1946,15 @@ void checkUnnamed1460(core.Map o) { ); } -core.List> buildUnnamed1461() => [ - buildUnnamed1460(), - buildUnnamed1460(), +core.List> buildUnnamed1486() => [ + buildUnnamed1485(), + buildUnnamed1485(), ]; -void checkUnnamed1461(core.List> o) { +void checkUnnamed1486(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1460(o[0]); - checkUnnamed1460(o[1]); + checkUnnamed1485(o[0]); + checkUnnamed1485(o[1]); } core.int buildCounterStatus = 0; @@ -1958,7 +1963,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1461(); + o.details = buildUnnamed1486(); o.message = 'foo'; } buildCounterStatus--; @@ -1972,7 +1977,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1461(o.details!); + checkUnnamed1486(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1981,23 +1986,23 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed1462() => { +core.Map buildUnnamed1487() => { 'x': buildClusterState(), 'y': buildClusterState(), }; -void checkUnnamed1462(core.Map o) { +void checkUnnamed1487(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkClusterState(o['x']!); checkClusterState(o['y']!); } -core.Map buildUnnamed1463() => { +core.Map buildUnnamed1488() => { 'x': buildColumnFamily(), 'y': buildColumnFamily(), }; -void checkUnnamed1463(core.Map o) { +void checkUnnamed1488(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkColumnFamily(o['x']!); checkColumnFamily(o['y']!); @@ -2008,8 +2013,8 @@ api.Table buildTable() { final o = api.Table(); buildCounterTable++; if (buildCounterTable < 3) { - o.clusterStates = buildUnnamed1462(); - o.columnFamilies = buildUnnamed1463(); + o.clusterStates = buildUnnamed1487(); + o.columnFamilies = buildUnnamed1488(); o.granularity = 'foo'; o.name = 'foo'; o.restoreInfo = buildRestoreInfo(); @@ -2021,8 +2026,8 @@ api.Table buildTable() { void checkTable(api.Table o) { buildCounterTable++; if (buildCounterTable < 3) { - checkUnnamed1462(o.clusterStates!); - checkUnnamed1463(o.columnFamilies!); + checkUnnamed1487(o.clusterStates!); + checkUnnamed1488(o.columnFamilies!); unittest.expect( o.granularity!, unittest.equals('foo'), @@ -2068,12 +2073,12 @@ void checkTableProgress(api.TableProgress o) { buildCounterTableProgress--; } -core.List buildUnnamed1464() => [ +core.List buildUnnamed1489() => [ 'foo', 'foo', ]; -void checkUnnamed1464(core.List o) { +void checkUnnamed1489(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2090,7 +2095,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed1464(); + o.permissions = buildUnnamed1489(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2099,17 +2104,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed1464(o.permissions!); + checkUnnamed1489(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed1465() => [ +core.List buildUnnamed1490() => [ 'foo', 'foo', ]; -void checkUnnamed1465(core.List o) { +void checkUnnamed1490(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2126,7 +2131,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed1465(); + o.permissions = buildUnnamed1490(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2135,17 +2140,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed1465(o.permissions!); + checkUnnamed1490(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed1466() => [ +core.List buildUnnamed1491() => [ buildGcRule(), buildGcRule(), ]; -void checkUnnamed1466(core.List o) { +void checkUnnamed1491(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGcRule(o[0]); checkGcRule(o[1]); @@ -2156,7 +2161,7 @@ api.Union buildUnion() { final o = api.Union(); buildCounterUnion++; if (buildCounterUnion < 3) { - o.rules = buildUnnamed1466(); + o.rules = buildUnnamed1491(); } buildCounterUnion--; return o; @@ -2165,7 +2170,7 @@ api.Union buildUnion() { void checkUnion(api.Union o) { buildCounterUnion++; if (buildCounterUnion < 3) { - checkUnnamed1466(o.rules!); + checkUnnamed1491(o.rules!); } buildCounterUnion--; } diff --git a/generated/googleapis/test/billingbudgets/v1_test.dart b/generated/googleapis/test/billingbudgets/v1_test.dart index c06a86d0c..b9d21a137 100644 --- a/generated/googleapis/test/billingbudgets/v1_test.dart +++ b/generated/googleapis/test/billingbudgets/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1702() => [ +core.List buildUnnamed1732() => [ buildGoogleCloudBillingBudgetsV1ThresholdRule(), buildGoogleCloudBillingBudgetsV1ThresholdRule(), ]; -void checkUnnamed1702( +void checkUnnamed1732( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudBillingBudgetsV1ThresholdRule(o[0]); @@ -49,7 +49,7 @@ api.GoogleCloudBillingBudgetsV1Budget buildGoogleCloudBillingBudgetsV1Budget() { o.etag = 'foo'; o.name = 'foo'; o.notificationsRule = buildGoogleCloudBillingBudgetsV1NotificationsRule(); - o.thresholdRules = buildUnnamed1702(); + o.thresholdRules = buildUnnamed1732(); } buildCounterGoogleCloudBillingBudgetsV1Budget--; return o; @@ -74,7 +74,7 @@ void checkGoogleCloudBillingBudgetsV1Budget( unittest.equals('foo'), ); checkGoogleCloudBillingBudgetsV1NotificationsRule(o.notificationsRule!); - checkUnnamed1702(o.thresholdRules!); + checkUnnamed1732(o.thresholdRules!); } buildCounterGoogleCloudBillingBudgetsV1Budget--; } @@ -125,12 +125,12 @@ void checkGoogleCloudBillingBudgetsV1CustomPeriod( buildCounterGoogleCloudBillingBudgetsV1CustomPeriod--; } -core.List buildUnnamed1703() => [ +core.List buildUnnamed1733() => [ 'foo', 'foo', ]; -void checkUnnamed1703(core.List o) { +void checkUnnamed1733(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -142,7 +142,7 @@ void checkUnnamed1703(core.List o) { ); } -core.List buildUnnamed1704() => [ +core.List buildUnnamed1734() => [ { 'list': [1, 2, 3], 'bool': true, @@ -155,7 +155,7 @@ core.List buildUnnamed1704() => [ }, ]; -void checkUnnamed1704(core.List o) { +void checkUnnamed1734(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -187,23 +187,23 @@ void checkUnnamed1704(core.List o) { ); } -core.Map> buildUnnamed1705() => { - 'x': buildUnnamed1704(), - 'y': buildUnnamed1704(), +core.Map> buildUnnamed1735() => { + 'x': buildUnnamed1734(), + 'y': buildUnnamed1734(), }; -void checkUnnamed1705(core.Map> o) { +void checkUnnamed1735(core.Map> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1704(o['x']!); - checkUnnamed1704(o['y']!); + checkUnnamed1734(o['x']!); + checkUnnamed1734(o['y']!); } -core.List buildUnnamed1706() => [ +core.List buildUnnamed1736() => [ 'foo', 'foo', ]; -void checkUnnamed1706(core.List o) { +void checkUnnamed1736(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -215,12 +215,12 @@ void checkUnnamed1706(core.List o) { ); } -core.List buildUnnamed1707() => [ +core.List buildUnnamed1737() => [ 'foo', 'foo', ]; -void checkUnnamed1707(core.List o) { +void checkUnnamed1737(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -232,12 +232,12 @@ void checkUnnamed1707(core.List o) { ); } -core.List buildUnnamed1708() => [ +core.List buildUnnamed1738() => [ 'foo', 'foo', ]; -void checkUnnamed1708(core.List o) { +void checkUnnamed1738(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -255,13 +255,13 @@ api.GoogleCloudBillingBudgetsV1Filter buildGoogleCloudBillingBudgetsV1Filter() { buildCounterGoogleCloudBillingBudgetsV1Filter++; if (buildCounterGoogleCloudBillingBudgetsV1Filter < 3) { o.calendarPeriod = 'foo'; - o.creditTypes = buildUnnamed1703(); + o.creditTypes = buildUnnamed1733(); o.creditTypesTreatment = 'foo'; o.customPeriod = buildGoogleCloudBillingBudgetsV1CustomPeriod(); - o.labels = buildUnnamed1705(); - o.projects = buildUnnamed1706(); - o.services = buildUnnamed1707(); - o.subaccounts = buildUnnamed1708(); + o.labels = buildUnnamed1735(); + o.projects = buildUnnamed1736(); + o.services = buildUnnamed1737(); + o.subaccounts = buildUnnamed1738(); } buildCounterGoogleCloudBillingBudgetsV1Filter--; return o; @@ -275,16 +275,16 @@ void checkGoogleCloudBillingBudgetsV1Filter( o.calendarPeriod!, unittest.equals('foo'), ); - checkUnnamed1703(o.creditTypes!); + checkUnnamed1733(o.creditTypes!); unittest.expect( o.creditTypesTreatment!, unittest.equals('foo'), ); checkGoogleCloudBillingBudgetsV1CustomPeriod(o.customPeriod!); - checkUnnamed1705(o.labels!); - checkUnnamed1706(o.projects!); - checkUnnamed1707(o.services!); - checkUnnamed1708(o.subaccounts!); + checkUnnamed1735(o.labels!); + checkUnnamed1736(o.projects!); + checkUnnamed1737(o.services!); + checkUnnamed1738(o.subaccounts!); } buildCounterGoogleCloudBillingBudgetsV1Filter--; } @@ -306,12 +306,12 @@ void checkGoogleCloudBillingBudgetsV1LastPeriodAmount( buildCounterGoogleCloudBillingBudgetsV1LastPeriodAmount--; } -core.List buildUnnamed1709() => [ +core.List buildUnnamed1739() => [ buildGoogleCloudBillingBudgetsV1Budget(), buildGoogleCloudBillingBudgetsV1Budget(), ]; -void checkUnnamed1709(core.List o) { +void checkUnnamed1739(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudBillingBudgetsV1Budget(o[0]); checkGoogleCloudBillingBudgetsV1Budget(o[1]); @@ -323,7 +323,7 @@ api.GoogleCloudBillingBudgetsV1ListBudgetsResponse final o = api.GoogleCloudBillingBudgetsV1ListBudgetsResponse(); buildCounterGoogleCloudBillingBudgetsV1ListBudgetsResponse++; if (buildCounterGoogleCloudBillingBudgetsV1ListBudgetsResponse < 3) { - o.budgets = buildUnnamed1709(); + o.budgets = buildUnnamed1739(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudBillingBudgetsV1ListBudgetsResponse--; @@ -334,7 +334,7 @@ void checkGoogleCloudBillingBudgetsV1ListBudgetsResponse( api.GoogleCloudBillingBudgetsV1ListBudgetsResponse o) { buildCounterGoogleCloudBillingBudgetsV1ListBudgetsResponse++; if (buildCounterGoogleCloudBillingBudgetsV1ListBudgetsResponse < 3) { - checkUnnamed1709(o.budgets!); + checkUnnamed1739(o.budgets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -343,12 +343,12 @@ void checkGoogleCloudBillingBudgetsV1ListBudgetsResponse( buildCounterGoogleCloudBillingBudgetsV1ListBudgetsResponse--; } -core.List buildUnnamed1710() => [ +core.List buildUnnamed1740() => [ 'foo', 'foo', ]; -void checkUnnamed1710(core.List o) { +void checkUnnamed1740(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -367,7 +367,7 @@ api.GoogleCloudBillingBudgetsV1NotificationsRule buildCounterGoogleCloudBillingBudgetsV1NotificationsRule++; if (buildCounterGoogleCloudBillingBudgetsV1NotificationsRule < 3) { o.disableDefaultIamRecipients = true; - o.monitoringNotificationChannels = buildUnnamed1710(); + o.monitoringNotificationChannels = buildUnnamed1740(); o.pubsubTopic = 'foo'; o.schemaVersion = 'foo'; } @@ -380,7 +380,7 @@ void checkGoogleCloudBillingBudgetsV1NotificationsRule( buildCounterGoogleCloudBillingBudgetsV1NotificationsRule++; if (buildCounterGoogleCloudBillingBudgetsV1NotificationsRule < 3) { unittest.expect(o.disableDefaultIamRecipients!, unittest.isTrue); - checkUnnamed1710(o.monitoringNotificationChannels!); + checkUnnamed1740(o.monitoringNotificationChannels!); unittest.expect( o.pubsubTopic!, unittest.equals('foo'), diff --git a/generated/googleapis/test/binaryauthorization/v1_test.dart b/generated/googleapis/test/binaryauthorization/v1_test.dart index 319cdbb41..2d12b73ea 100644 --- a/generated/googleapis/test/binaryauthorization/v1_test.dart +++ b/generated/googleapis/test/binaryauthorization/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed4972() => [ +core.List buildUnnamed5016() => [ 'foo', 'foo', ]; -void checkUnnamed4972(core.List o) { +void checkUnnamed5016(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -50,7 +50,7 @@ api.AdmissionRule buildAdmissionRule() { if (buildCounterAdmissionRule < 3) { o.enforcementMode = 'foo'; o.evaluationMode = 'foo'; - o.requireAttestationsBy = buildUnnamed4972(); + o.requireAttestationsBy = buildUnnamed5016(); } buildCounterAdmissionRule--; return o; @@ -67,7 +67,7 @@ void checkAdmissionRule(api.AdmissionRule o) { o.evaluationMode!, unittest.equals('foo'), ); - checkUnnamed4972(o.requireAttestationsBy!); + checkUnnamed5016(o.requireAttestationsBy!); } buildCounterAdmissionRule--; } @@ -94,23 +94,23 @@ void checkAdmissionWhitelistPattern(api.AdmissionWhitelistPattern o) { buildCounterAdmissionWhitelistPattern--; } -core.List buildUnnamed4973() => [ +core.List buildUnnamed5017() => [ buildJwt(), buildJwt(), ]; -void checkUnnamed4973(core.List o) { +void checkUnnamed5017(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwt(o[0]); checkJwt(o[1]); } -core.List buildUnnamed4974() => [ +core.List buildUnnamed5018() => [ buildSignature(), buildSignature(), ]; -void checkUnnamed4974(core.List o) { +void checkUnnamed5018(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSignature(o[0]); checkSignature(o[1]); @@ -121,9 +121,9 @@ api.AttestationOccurrence buildAttestationOccurrence() { final o = api.AttestationOccurrence(); buildCounterAttestationOccurrence++; if (buildCounterAttestationOccurrence < 3) { - o.jwts = buildUnnamed4973(); + o.jwts = buildUnnamed5017(); o.serializedPayload = 'foo'; - o.signatures = buildUnnamed4974(); + o.signatures = buildUnnamed5018(); } buildCounterAttestationOccurrence--; return o; @@ -132,12 +132,12 @@ api.AttestationOccurrence buildAttestationOccurrence() { void checkAttestationOccurrence(api.AttestationOccurrence o) { buildCounterAttestationOccurrence++; if (buildCounterAttestationOccurrence < 3) { - checkUnnamed4973(o.jwts!); + checkUnnamed5017(o.jwts!); unittest.expect( o.serializedPayload!, unittest.equals('foo'), ); - checkUnnamed4974(o.signatures!); + checkUnnamed5018(o.signatures!); } buildCounterAttestationOccurrence--; } @@ -210,12 +210,12 @@ void checkAttestorPublicKey(api.AttestorPublicKey o) { buildCounterAttestorPublicKey--; } -core.List buildUnnamed4975() => [ +core.List buildUnnamed5019() => [ 'foo', 'foo', ]; -void checkUnnamed4975(core.List o) { +void checkUnnamed5019(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -233,7 +233,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed4975(); + o.members = buildUnnamed5019(); o.role = 'foo'; } buildCounterBinding--; @@ -244,7 +244,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed4975(o.members!); + checkUnnamed5019(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -305,12 +305,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed4976() => [ +core.List buildUnnamed5020() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed4976(core.List o) { +void checkUnnamed5020(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -321,7 +321,7 @@ api.IamPolicy buildIamPolicy() { final o = api.IamPolicy(); buildCounterIamPolicy++; if (buildCounterIamPolicy < 3) { - o.bindings = buildUnnamed4976(); + o.bindings = buildUnnamed5020(); o.etag = 'foo'; o.version = 42; } @@ -332,7 +332,7 @@ api.IamPolicy buildIamPolicy() { void checkIamPolicy(api.IamPolicy o) { buildCounterIamPolicy++; if (buildCounterIamPolicy < 3) { - checkUnnamed4976(o.bindings!); + checkUnnamed5020(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -367,12 +367,12 @@ void checkJwt(api.Jwt o) { buildCounterJwt--; } -core.List buildUnnamed4977() => [ +core.List buildUnnamed5021() => [ buildAttestor(), buildAttestor(), ]; -void checkUnnamed4977(core.List o) { +void checkUnnamed5021(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttestor(o[0]); checkAttestor(o[1]); @@ -383,7 +383,7 @@ api.ListAttestorsResponse buildListAttestorsResponse() { final o = api.ListAttestorsResponse(); buildCounterListAttestorsResponse++; if (buildCounterListAttestorsResponse < 3) { - o.attestors = buildUnnamed4977(); + o.attestors = buildUnnamed5021(); o.nextPageToken = 'foo'; } buildCounterListAttestorsResponse--; @@ -393,7 +393,7 @@ api.ListAttestorsResponse buildListAttestorsResponse() { void checkListAttestorsResponse(api.ListAttestorsResponse o) { buildCounterListAttestorsResponse++; if (buildCounterListAttestorsResponse < 3) { - checkUnnamed4977(o.attestors!); + checkUnnamed5021(o.attestors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -429,56 +429,56 @@ void checkPkixPublicKey(api.PkixPublicKey o) { buildCounterPkixPublicKey--; } -core.List buildUnnamed4978() => [ +core.List buildUnnamed5022() => [ buildAdmissionWhitelistPattern(), buildAdmissionWhitelistPattern(), ]; -void checkUnnamed4978(core.List o) { +void checkUnnamed5022(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdmissionWhitelistPattern(o[0]); checkAdmissionWhitelistPattern(o[1]); } -core.Map buildUnnamed4979() => { +core.Map buildUnnamed5023() => { 'x': buildAdmissionRule(), 'y': buildAdmissionRule(), }; -void checkUnnamed4979(core.Map o) { +void checkUnnamed5023(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAdmissionRule(o['x']!); checkAdmissionRule(o['y']!); } -core.Map buildUnnamed4980() => { +core.Map buildUnnamed5024() => { 'x': buildAdmissionRule(), 'y': buildAdmissionRule(), }; -void checkUnnamed4980(core.Map o) { +void checkUnnamed5024(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAdmissionRule(o['x']!); checkAdmissionRule(o['y']!); } -core.Map buildUnnamed4981() => { +core.Map buildUnnamed5025() => { 'x': buildAdmissionRule(), 'y': buildAdmissionRule(), }; -void checkUnnamed4981(core.Map o) { +void checkUnnamed5025(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAdmissionRule(o['x']!); checkAdmissionRule(o['y']!); } -core.Map buildUnnamed4982() => { +core.Map buildUnnamed5026() => { 'x': buildAdmissionRule(), 'y': buildAdmissionRule(), }; -void checkUnnamed4982(core.Map o) { +void checkUnnamed5026(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAdmissionRule(o['x']!); checkAdmissionRule(o['y']!); @@ -489,14 +489,14 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.admissionWhitelistPatterns = buildUnnamed4978(); - o.clusterAdmissionRules = buildUnnamed4979(); + o.admissionWhitelistPatterns = buildUnnamed5022(); + o.clusterAdmissionRules = buildUnnamed5023(); o.defaultAdmissionRule = buildAdmissionRule(); o.description = 'foo'; o.globalPolicyEvaluationMode = 'foo'; - o.istioServiceIdentityAdmissionRules = buildUnnamed4980(); - o.kubernetesNamespaceAdmissionRules = buildUnnamed4981(); - o.kubernetesServiceAccountAdmissionRules = buildUnnamed4982(); + o.istioServiceIdentityAdmissionRules = buildUnnamed5024(); + o.kubernetesNamespaceAdmissionRules = buildUnnamed5025(); + o.kubernetesServiceAccountAdmissionRules = buildUnnamed5026(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -507,8 +507,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed4978(o.admissionWhitelistPatterns!); - checkUnnamed4979(o.clusterAdmissionRules!); + checkUnnamed5022(o.admissionWhitelistPatterns!); + checkUnnamed5023(o.clusterAdmissionRules!); checkAdmissionRule(o.defaultAdmissionRule!); unittest.expect( o.description!, @@ -518,9 +518,9 @@ void checkPolicy(api.Policy o) { o.globalPolicyEvaluationMode!, unittest.equals('foo'), ); - checkUnnamed4980(o.istioServiceIdentityAdmissionRules!); - checkUnnamed4981(o.kubernetesNamespaceAdmissionRules!); - checkUnnamed4982(o.kubernetesServiceAccountAdmissionRules!); + checkUnnamed5024(o.istioServiceIdentityAdmissionRules!); + checkUnnamed5025(o.kubernetesNamespaceAdmissionRules!); + checkUnnamed5026(o.kubernetesServiceAccountAdmissionRules!); unittest.expect( o.name!, unittest.equals('foo'), @@ -579,12 +579,12 @@ void checkSignature(api.Signature o) { buildCounterSignature--; } -core.List buildUnnamed4983() => [ +core.List buildUnnamed5027() => [ 'foo', 'foo', ]; -void checkUnnamed4983(core.List o) { +void checkUnnamed5027(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -601,7 +601,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed4983(); + o.permissions = buildUnnamed5027(); } buildCounterTestIamPermissionsRequest--; return o; @@ -610,17 +610,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed4983(o.permissions!); + checkUnnamed5027(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed4984() => [ +core.List buildUnnamed5028() => [ 'foo', 'foo', ]; -void checkUnnamed4984(core.List o) { +void checkUnnamed5028(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -637,7 +637,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed4984(); + o.permissions = buildUnnamed5028(); } buildCounterTestIamPermissionsResponse--; return o; @@ -646,17 +646,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed4984(o.permissions!); + checkUnnamed5028(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed4985() => [ +core.List buildUnnamed5029() => [ buildAttestorPublicKey(), buildAttestorPublicKey(), ]; -void checkUnnamed4985(core.List o) { +void checkUnnamed5029(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttestorPublicKey(o[0]); checkAttestorPublicKey(o[1]); @@ -669,7 +669,7 @@ api.UserOwnedGrafeasNote buildUserOwnedGrafeasNote() { if (buildCounterUserOwnedGrafeasNote < 3) { o.delegationServiceAccountEmail = 'foo'; o.noteReference = 'foo'; - o.publicKeys = buildUnnamed4985(); + o.publicKeys = buildUnnamed5029(); } buildCounterUserOwnedGrafeasNote--; return o; @@ -686,7 +686,7 @@ void checkUserOwnedGrafeasNote(api.UserOwnedGrafeasNote o) { o.noteReference!, unittest.equals('foo'), ); - checkUnnamed4985(o.publicKeys!); + checkUnnamed5029(o.publicKeys!); } buildCounterUserOwnedGrafeasNote--; } diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart index 6f983245a..e55184089 100644 --- a/generated/googleapis/test/blogger/v3_test.dart +++ b/generated/googleapis/test/blogger/v3_test.dart @@ -85,12 +85,12 @@ void checkBlogPages(api.BlogPages o) { buildCounterBlogPages--; } -core.List buildUnnamed241() => [ +core.List buildUnnamed243() => [ buildPost(), buildPost(), ]; -void checkUnnamed241(core.List o) { +void checkUnnamed243(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPost(o[0]); checkPost(o[1]); @@ -101,7 +101,7 @@ api.BlogPosts buildBlogPosts() { final o = api.BlogPosts(); buildCounterBlogPosts++; if (buildCounterBlogPosts < 3) { - o.items = buildUnnamed241(); + o.items = buildUnnamed243(); o.selfLink = 'foo'; o.totalItems = 42; } @@ -112,7 +112,7 @@ api.BlogPosts buildBlogPosts() { void checkBlogPosts(api.BlogPosts o) { buildCounterBlogPosts++; if (buildCounterBlogPosts < 3) { - checkUnnamed241(o.items!); + checkUnnamed243(o.items!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -198,23 +198,23 @@ void checkBlog(api.Blog o) { buildCounterBlog--; } -core.List buildUnnamed242() => [ +core.List buildUnnamed244() => [ buildBlogUserInfo(), buildBlogUserInfo(), ]; -void checkUnnamed242(core.List o) { +void checkUnnamed244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBlogUserInfo(o[0]); checkBlogUserInfo(o[1]); } -core.List buildUnnamed243() => [ +core.List buildUnnamed245() => [ buildBlog(), buildBlog(), ]; -void checkUnnamed243(core.List o) { +void checkUnnamed245(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBlog(o[0]); checkBlog(o[1]); @@ -225,8 +225,8 @@ api.BlogList buildBlogList() { final o = api.BlogList(); buildCounterBlogList++; if (buildCounterBlogList < 3) { - o.blogUserInfos = buildUnnamed242(); - o.items = buildUnnamed243(); + o.blogUserInfos = buildUnnamed244(); + o.items = buildUnnamed245(); o.kind = 'foo'; } buildCounterBlogList--; @@ -236,8 +236,8 @@ api.BlogList buildBlogList() { void checkBlogList(api.BlogList o) { buildCounterBlogList++; if (buildCounterBlogList < 3) { - checkUnnamed242(o.blogUserInfos!); - checkUnnamed243(o.items!); + checkUnnamed244(o.blogUserInfos!); + checkUnnamed245(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -498,12 +498,12 @@ void checkComment(api.Comment o) { buildCounterComment--; } -core.List buildUnnamed244() => [ +core.List buildUnnamed246() => [ buildComment(), buildComment(), ]; -void checkUnnamed244(core.List o) { +void checkUnnamed246(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -515,7 +515,7 @@ api.CommentList buildCommentList() { buildCounterCommentList++; if (buildCounterCommentList < 3) { o.etag = 'foo'; - o.items = buildUnnamed244(); + o.items = buildUnnamed246(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.prevPageToken = 'foo'; @@ -531,7 +531,7 @@ void checkCommentList(api.CommentList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed244(o.items!); + checkUnnamed246(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -697,12 +697,12 @@ void checkPage(api.Page o) { buildCounterPage--; } -core.List buildUnnamed245() => [ +core.List buildUnnamed247() => [ buildPage(), buildPage(), ]; -void checkUnnamed245(core.List o) { +void checkUnnamed247(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -714,7 +714,7 @@ api.PageList buildPageList() { buildCounterPageList++; if (buildCounterPageList < 3) { o.etag = 'foo'; - o.items = buildUnnamed245(); + o.items = buildUnnamed247(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -729,7 +729,7 @@ void checkPageList(api.PageList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed245(o.items!); + checkUnnamed247(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -769,12 +769,12 @@ void checkPageviewsCounts(api.PageviewsCounts o) { buildCounterPageviewsCounts--; } -core.List buildUnnamed246() => [ +core.List buildUnnamed248() => [ buildPageviewsCounts(), buildPageviewsCounts(), ]; -void checkUnnamed246(core.List o) { +void checkUnnamed248(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPageviewsCounts(o[0]); checkPageviewsCounts(o[1]); @@ -786,7 +786,7 @@ api.Pageviews buildPageviews() { buildCounterPageviews++; if (buildCounterPageviews < 3) { o.blogId = 'foo'; - o.counts = buildUnnamed246(); + o.counts = buildUnnamed248(); o.kind = 'foo'; } buildCounterPageviews--; @@ -800,7 +800,7 @@ void checkPageviews(api.Pageviews o) { o.blogId!, unittest.equals('foo'), ); - checkUnnamed246(o.counts!); + checkUnnamed248(o.counts!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -909,23 +909,23 @@ void checkPostImages(api.PostImages o) { buildCounterPostImages--; } -core.List buildUnnamed247() => [ +core.List buildUnnamed249() => [ buildPostImages(), buildPostImages(), ]; -void checkUnnamed247(core.List o) { +void checkUnnamed249(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostImages(o[0]); checkPostImages(o[1]); } -core.List buildUnnamed248() => [ +core.List buildUnnamed250() => [ 'foo', 'foo', ]; -void checkUnnamed248(core.List o) { +void checkUnnamed250(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -974,12 +974,12 @@ void checkPostLocation(api.PostLocation o) { buildCounterPostLocation--; } -core.List buildUnnamed249() => [ +core.List buildUnnamed251() => [ buildComment(), buildComment(), ]; -void checkUnnamed249(core.List o) { +void checkUnnamed251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -990,7 +990,7 @@ api.PostReplies buildPostReplies() { final o = api.PostReplies(); buildCounterPostReplies++; if (buildCounterPostReplies < 3) { - o.items = buildUnnamed249(); + o.items = buildUnnamed251(); o.selfLink = 'foo'; o.totalItems = 'foo'; } @@ -1001,7 +1001,7 @@ api.PostReplies buildPostReplies() { void checkPostReplies(api.PostReplies o) { buildCounterPostReplies++; if (buildCounterPostReplies < 3) { - checkUnnamed249(o.items!); + checkUnnamed251(o.items!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -1025,9 +1025,9 @@ api.Post buildPost() { o.customMetaData = 'foo'; o.etag = 'foo'; o.id = 'foo'; - o.images = buildUnnamed247(); + o.images = buildUnnamed249(); o.kind = 'foo'; - o.labels = buildUnnamed248(); + o.labels = buildUnnamed250(); o.location = buildPostLocation(); o.published = 'foo'; o.readerComments = 'foo'; @@ -1064,12 +1064,12 @@ void checkPost(api.Post o) { o.id!, unittest.equals('foo'), ); - checkUnnamed247(o.images!); + checkUnnamed249(o.images!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed248(o.labels!); + checkUnnamed250(o.labels!); checkPostLocation(o.location!); unittest.expect( o.published!, @@ -1108,12 +1108,12 @@ void checkPost(api.Post o) { buildCounterPost--; } -core.List buildUnnamed250() => [ +core.List buildUnnamed252() => [ buildPost(), buildPost(), ]; -void checkUnnamed250(core.List o) { +void checkUnnamed252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPost(o[0]); checkPost(o[1]); @@ -1125,7 +1125,7 @@ api.PostList buildPostList() { buildCounterPostList++; if (buildCounterPostList < 3) { o.etag = 'foo'; - o.items = buildUnnamed250(); + o.items = buildUnnamed252(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.prevPageToken = 'foo'; @@ -1141,7 +1141,7 @@ void checkPostList(api.PostList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed250(o.items!); + checkUnnamed252(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1223,12 +1223,12 @@ void checkPostUserInfo(api.PostUserInfo o) { buildCounterPostUserInfo--; } -core.List buildUnnamed251() => [ +core.List buildUnnamed253() => [ buildPostUserInfo(), buildPostUserInfo(), ]; -void checkUnnamed251(core.List o) { +void checkUnnamed253(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostUserInfo(o[0]); checkPostUserInfo(o[1]); @@ -1239,7 +1239,7 @@ api.PostUserInfosList buildPostUserInfosList() { final o = api.PostUserInfosList(); buildCounterPostUserInfosList++; if (buildCounterPostUserInfosList < 3) { - o.items = buildUnnamed251(); + o.items = buildUnnamed253(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1250,7 +1250,7 @@ api.PostUserInfosList buildPostUserInfosList() { void checkPostUserInfosList(api.PostUserInfosList o) { buildCounterPostUserInfosList++; if (buildCounterPostUserInfosList < 3) { - checkUnnamed251(o.items!); + checkUnnamed253(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1373,12 +1373,12 @@ void checkUser(api.User o) { buildCounterUser--; } -core.List buildUnnamed252() => [ +core.List buildUnnamed254() => [ 'foo', 'foo', ]; -void checkUnnamed252(core.List o) { +void checkUnnamed254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1390,12 +1390,12 @@ void checkUnnamed252(core.List o) { ); } -core.List buildUnnamed253() => [ +core.List buildUnnamed255() => [ 'foo', 'foo', ]; -void checkUnnamed253(core.List o) { +void checkUnnamed255(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1407,12 +1407,12 @@ void checkUnnamed253(core.List o) { ); } -core.List buildUnnamed254() => [ +core.List buildUnnamed256() => [ 'foo', 'foo', ]; -void checkUnnamed254(core.List o) { +void checkUnnamed256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1424,12 +1424,12 @@ void checkUnnamed254(core.List o) { ); } -core.List buildUnnamed255() => [ +core.List buildUnnamed257() => [ 'foo', 'foo', ]; -void checkUnnamed255(core.List o) { +void checkUnnamed257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1441,12 +1441,12 @@ void checkUnnamed255(core.List o) { ); } -core.List buildUnnamed256() => [ +core.List buildUnnamed258() => [ 'foo', 'foo', ]; -void checkUnnamed256(core.List o) { +void checkUnnamed258(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1458,12 +1458,12 @@ void checkUnnamed256(core.List o) { ); } -core.List buildUnnamed257() => [ +core.List buildUnnamed259() => [ 'foo', 'foo', ]; -void checkUnnamed257(core.List o) { +void checkUnnamed259(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1475,12 +1475,12 @@ void checkUnnamed257(core.List o) { ); } -core.List buildUnnamed258() => [ +core.List buildUnnamed260() => [ 'foo', 'foo', ]; -void checkUnnamed258(core.List o) { +void checkUnnamed260(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2058,8 +2058,8 @@ void main() { final res = api.BloggerApi(mock).blogs; final arg_userId = 'foo'; final arg_fetchUserInfo = true; - final arg_role = buildUnnamed252(); - final arg_status = buildUnnamed253(); + final arg_role = buildUnnamed254(); + final arg_status = buildUnnamed255(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -2553,7 +2553,7 @@ void main() { final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_startDate = 'foo'; - final arg_status = buildUnnamed254(); + final arg_status = buildUnnamed256(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2846,7 +2846,7 @@ void main() { final mock = HttpServerMock(); final res = api.BloggerApi(mock).pageViews; final arg_blogId = 'foo'; - final arg_range = buildUnnamed255(); + final arg_range = buildUnnamed257(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -3147,7 +3147,7 @@ void main() { final arg_fetchBodies = true; final arg_maxResults = 42; final arg_pageToken = 'foo'; - final arg_status = buildUnnamed256(); + final arg_status = buildUnnamed258(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -3685,7 +3685,7 @@ void main() { final arg_orderBy = 'foo'; final arg_pageToken = 'foo'; final arg_startDate = 'foo'; - final arg_status = buildUnnamed257(); + final arg_status = buildUnnamed259(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -4160,7 +4160,7 @@ void main() { final arg_orderBy = 'foo'; final arg_pageToken = 'foo'; final arg_startDate = 'foo'; - final arg_status = buildUnnamed258(); + final arg_status = buildUnnamed260(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart index d77a7200c..a17ecad03 100644 --- a/generated/googleapis/test/books/v1_test.dart +++ b/generated/googleapis/test/books/v1_test.dart @@ -118,12 +118,12 @@ void checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { buildCounterAnnotationLayerSummary--; } -core.List buildUnnamed7754() => [ +core.List buildUnnamed7840() => [ 'foo', 'foo', ]; -void checkUnnamed7754(core.List o) { +void checkUnnamed7840(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -152,7 +152,7 @@ api.Annotation buildAnnotation() { o.kind = 'foo'; o.layerId = 'foo'; o.layerSummary = buildAnnotationLayerSummary(); - o.pageIds = buildUnnamed7754(); + o.pageIds = buildUnnamed7840(); o.selectedText = 'foo'; o.selfLink = 'foo'; o.updated = 'foo'; @@ -201,7 +201,7 @@ void checkAnnotation(api.Annotation o) { unittest.equals('foo'), ); checkAnnotationLayerSummary(o.layerSummary!); - checkUnnamed7754(o.pageIds!); + checkUnnamed7840(o.pageIds!); unittest.expect( o.selectedText!, unittest.equals('foo'), @@ -222,12 +222,12 @@ void checkAnnotation(api.Annotation o) { buildCounterAnnotation--; } -core.List buildUnnamed7755() => [ +core.List buildUnnamed7841() => [ buildAnnotation(), buildAnnotation(), ]; -void checkUnnamed7755(core.List o) { +void checkUnnamed7841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotation(o[0]); checkAnnotation(o[1]); @@ -238,7 +238,7 @@ api.Annotations buildAnnotations() { final o = api.Annotations(); buildCounterAnnotations++; if (buildCounterAnnotations < 3) { - o.items = buildUnnamed7755(); + o.items = buildUnnamed7841(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.totalItems = 42; @@ -250,7 +250,7 @@ api.Annotations buildAnnotations() { void checkAnnotations(api.Annotations o) { buildCounterAnnotations++; if (buildCounterAnnotations < 3) { - checkUnnamed7755(o.items!); + checkUnnamed7841(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -309,12 +309,12 @@ void checkAnnotationsSummaryLayers(api.AnnotationsSummaryLayers o) { buildCounterAnnotationsSummaryLayers--; } -core.List buildUnnamed7756() => [ +core.List buildUnnamed7842() => [ buildAnnotationsSummaryLayers(), buildAnnotationsSummaryLayers(), ]; -void checkUnnamed7756(core.List o) { +void checkUnnamed7842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotationsSummaryLayers(o[0]); checkAnnotationsSummaryLayers(o[1]); @@ -326,7 +326,7 @@ api.AnnotationsSummary buildAnnotationsSummary() { buildCounterAnnotationsSummary++; if (buildCounterAnnotationsSummary < 3) { o.kind = 'foo'; - o.layers = buildUnnamed7756(); + o.layers = buildUnnamed7842(); } buildCounterAnnotationsSummary--; return o; @@ -339,17 +339,17 @@ void checkAnnotationsSummary(api.AnnotationsSummary o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed7756(o.layers!); + checkUnnamed7842(o.layers!); } buildCounterAnnotationsSummary--; } -core.List buildUnnamed7757() => [ +core.List buildUnnamed7843() => [ buildGeoAnnotationdata(), buildGeoAnnotationdata(), ]; -void checkUnnamed7757(core.List o) { +void checkUnnamed7843(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGeoAnnotationdata(o[0]); checkGeoAnnotationdata(o[1]); @@ -360,7 +360,7 @@ api.Annotationsdata buildAnnotationsdata() { final o = api.Annotationsdata(); buildCounterAnnotationsdata++; if (buildCounterAnnotationsdata < 3) { - o.items = buildUnnamed7757(); + o.items = buildUnnamed7843(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.totalItems = 42; @@ -372,7 +372,7 @@ api.Annotationsdata buildAnnotationsdata() { void checkAnnotationsdata(api.Annotationsdata o) { buildCounterAnnotationsdata++; if (buildCounterAnnotationsdata < 3) { - checkUnnamed7757(o.items!); + checkUnnamed7843(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -554,12 +554,12 @@ void checkBookshelf(api.Bookshelf o) { buildCounterBookshelf--; } -core.List buildUnnamed7758() => [ +core.List buildUnnamed7844() => [ buildBookshelf(), buildBookshelf(), ]; -void checkUnnamed7758(core.List o) { +void checkUnnamed7844(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBookshelf(o[0]); checkBookshelf(o[1]); @@ -570,7 +570,7 @@ api.Bookshelves buildBookshelves() { final o = api.Bookshelves(); buildCounterBookshelves++; if (buildCounterBookshelves < 3) { - o.items = buildUnnamed7758(); + o.items = buildUnnamed7844(); o.kind = 'foo'; } buildCounterBookshelves--; @@ -580,7 +580,7 @@ api.Bookshelves buildBookshelves() { void checkBookshelves(api.Bookshelves o) { buildCounterBookshelves++; if (buildCounterBookshelves < 3) { - checkUnnamed7758(o.items!); + checkUnnamed7844(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -621,12 +621,12 @@ void checkCategoryItems(api.CategoryItems o) { buildCounterCategoryItems--; } -core.List buildUnnamed7759() => [ +core.List buildUnnamed7845() => [ buildCategoryItems(), buildCategoryItems(), ]; -void checkUnnamed7759(core.List o) { +void checkUnnamed7845(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCategoryItems(o[0]); checkCategoryItems(o[1]); @@ -637,7 +637,7 @@ api.Category buildCategory() { final o = api.Category(); buildCounterCategory++; if (buildCounterCategory < 3) { - o.items = buildUnnamed7759(); + o.items = buildUnnamed7845(); o.kind = 'foo'; } buildCounterCategory--; @@ -647,7 +647,7 @@ api.Category buildCategory() { void checkCategory(api.Category o) { buildCounterCategory++; if (buildCounterCategory < 3) { - checkUnnamed7759(o.items!); + checkUnnamed7845(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -884,12 +884,12 @@ void checkDictlayerdataDictWordsDerivatives( buildCounterDictlayerdataDictWordsDerivatives--; } -core.List buildUnnamed7760() => [ +core.List buildUnnamed7846() => [ buildDictlayerdataDictWordsDerivatives(), buildDictlayerdataDictWordsDerivatives(), ]; -void checkUnnamed7760(core.List o) { +void checkUnnamed7846(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsDerivatives(o[0]); checkDictlayerdataDictWordsDerivatives(o[1]); @@ -948,12 +948,12 @@ void checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { buildCounterDictlayerdataDictWordsExamples--; } -core.List buildUnnamed7761() => [ +core.List buildUnnamed7847() => [ buildDictlayerdataDictWordsExamples(), buildDictlayerdataDictWordsExamples(), ]; -void checkUnnamed7761(core.List o) { +void checkUnnamed7847(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsExamples(o[0]); checkDictlayerdataDictWordsExamples(o[1]); @@ -988,12 +988,12 @@ void checkDictlayerdataDictWordsSensesConjugations( buildCounterDictlayerdataDictWordsSensesConjugations--; } -core.List buildUnnamed7762() => [ +core.List buildUnnamed7848() => [ buildDictlayerdataDictWordsSensesConjugations(), buildDictlayerdataDictWordsSensesConjugations(), ]; -void checkUnnamed7762( +void checkUnnamed7848( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesConjugations(o[0]); @@ -1056,12 +1056,12 @@ void checkDictlayerdataDictWordsSensesDefinitionsExamples( } core.List - buildUnnamed7763() => [ + buildUnnamed7849() => [ buildDictlayerdataDictWordsSensesDefinitionsExamples(), buildDictlayerdataDictWordsSensesDefinitionsExamples(), ]; -void checkUnnamed7763( +void checkUnnamed7849( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); @@ -1075,7 +1075,7 @@ api.DictlayerdataDictWordsSensesDefinitions buildCounterDictlayerdataDictWordsSensesDefinitions++; if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { o.definition = 'foo'; - o.examples = buildUnnamed7763(); + o.examples = buildUnnamed7849(); } buildCounterDictlayerdataDictWordsSensesDefinitions--; return o; @@ -1089,17 +1089,17 @@ void checkDictlayerdataDictWordsSensesDefinitions( o.definition!, unittest.equals('foo'), ); - checkUnnamed7763(o.examples!); + checkUnnamed7849(o.examples!); } buildCounterDictlayerdataDictWordsSensesDefinitions--; } -core.List buildUnnamed7764() => [ +core.List buildUnnamed7850() => [ buildDictlayerdataDictWordsSensesDefinitions(), buildDictlayerdataDictWordsSensesDefinitions(), ]; -void checkUnnamed7764( +void checkUnnamed7850( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesDefinitions(o[0]); @@ -1190,12 +1190,12 @@ void checkDictlayerdataDictWordsSensesSynonyms( buildCounterDictlayerdataDictWordsSensesSynonyms--; } -core.List buildUnnamed7765() => [ +core.List buildUnnamed7851() => [ buildDictlayerdataDictWordsSensesSynonyms(), buildDictlayerdataDictWordsSensesSynonyms(), ]; -void checkUnnamed7765(core.List o) { +void checkUnnamed7851(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSensesSynonyms(o[0]); checkDictlayerdataDictWordsSensesSynonyms(o[1]); @@ -1206,14 +1206,14 @@ api.DictlayerdataDictWordsSenses buildDictlayerdataDictWordsSenses() { final o = api.DictlayerdataDictWordsSenses(); buildCounterDictlayerdataDictWordsSenses++; if (buildCounterDictlayerdataDictWordsSenses < 3) { - o.conjugations = buildUnnamed7762(); - o.definitions = buildUnnamed7764(); + o.conjugations = buildUnnamed7848(); + o.definitions = buildUnnamed7850(); o.partOfSpeech = 'foo'; o.pronunciation = 'foo'; o.pronunciationUrl = 'foo'; o.source = buildDictlayerdataDictWordsSensesSource(); o.syllabification = 'foo'; - o.synonyms = buildUnnamed7765(); + o.synonyms = buildUnnamed7851(); } buildCounterDictlayerdataDictWordsSenses--; return o; @@ -1222,8 +1222,8 @@ api.DictlayerdataDictWordsSenses buildDictlayerdataDictWordsSenses() { void checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { buildCounterDictlayerdataDictWordsSenses++; if (buildCounterDictlayerdataDictWordsSenses < 3) { - checkUnnamed7762(o.conjugations!); - checkUnnamed7764(o.definitions!); + checkUnnamed7848(o.conjugations!); + checkUnnamed7850(o.definitions!); unittest.expect( o.partOfSpeech!, unittest.equals('foo'), @@ -1241,17 +1241,17 @@ void checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { o.syllabification!, unittest.equals('foo'), ); - checkUnnamed7765(o.synonyms!); + checkUnnamed7851(o.synonyms!); } buildCounterDictlayerdataDictWordsSenses--; } -core.List buildUnnamed7766() => [ +core.List buildUnnamed7852() => [ buildDictlayerdataDictWordsSenses(), buildDictlayerdataDictWordsSenses(), ]; -void checkUnnamed7766(core.List o) { +void checkUnnamed7852(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWordsSenses(o[0]); checkDictlayerdataDictWordsSenses(o[1]); @@ -1289,9 +1289,9 @@ api.DictlayerdataDictWords buildDictlayerdataDictWords() { final o = api.DictlayerdataDictWords(); buildCounterDictlayerdataDictWords++; if (buildCounterDictlayerdataDictWords < 3) { - o.derivatives = buildUnnamed7760(); - o.examples = buildUnnamed7761(); - o.senses = buildUnnamed7766(); + o.derivatives = buildUnnamed7846(); + o.examples = buildUnnamed7847(); + o.senses = buildUnnamed7852(); o.source = buildDictlayerdataDictWordsSource(); } buildCounterDictlayerdataDictWords--; @@ -1301,20 +1301,20 @@ api.DictlayerdataDictWords buildDictlayerdataDictWords() { void checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { buildCounterDictlayerdataDictWords++; if (buildCounterDictlayerdataDictWords < 3) { - checkUnnamed7760(o.derivatives!); - checkUnnamed7761(o.examples!); - checkUnnamed7766(o.senses!); + checkUnnamed7846(o.derivatives!); + checkUnnamed7847(o.examples!); + checkUnnamed7852(o.senses!); checkDictlayerdataDictWordsSource(o.source!); } buildCounterDictlayerdataDictWords--; } -core.List buildUnnamed7767() => [ +core.List buildUnnamed7853() => [ buildDictlayerdataDictWords(), buildDictlayerdataDictWords(), ]; -void checkUnnamed7767(core.List o) { +void checkUnnamed7853(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDictlayerdataDictWords(o[0]); checkDictlayerdataDictWords(o[1]); @@ -1326,7 +1326,7 @@ api.DictlayerdataDict buildDictlayerdataDict() { buildCounterDictlayerdataDict++; if (buildCounterDictlayerdataDict < 3) { o.source = buildDictlayerdataDictSource(); - o.words = buildUnnamed7767(); + o.words = buildUnnamed7853(); } buildCounterDictlayerdataDict--; return o; @@ -1336,7 +1336,7 @@ void checkDictlayerdataDict(api.DictlayerdataDict o) { buildCounterDictlayerdataDict++; if (buildCounterDictlayerdataDict < 3) { checkDictlayerdataDictSource(o.source!); - checkUnnamed7767(o.words!); + checkUnnamed7853(o.words!); } buildCounterDictlayerdataDict--; } @@ -1416,12 +1416,12 @@ void checkDiscoveryclustersClustersBannerWithContentContainer( buildCounterDiscoveryclustersClustersBannerWithContentContainer--; } -core.List buildUnnamed7768() => [ +core.List buildUnnamed7854() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed7768(core.List o) { +void checkUnnamed7854(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -1438,7 +1438,7 @@ api.DiscoveryclustersClusters buildDiscoveryclustersClusters() { o.title = 'foo'; o.totalVolumes = 42; o.uid = 'foo'; - o.volumes = buildUnnamed7768(); + o.volumes = buildUnnamed7854(); } buildCounterDiscoveryclustersClusters--; return o; @@ -1465,17 +1465,17 @@ void checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { o.uid!, unittest.equals('foo'), ); - checkUnnamed7768(o.volumes!); + checkUnnamed7854(o.volumes!); } buildCounterDiscoveryclustersClusters--; } -core.List buildUnnamed7769() => [ +core.List buildUnnamed7855() => [ buildDiscoveryclustersClusters(), buildDiscoveryclustersClusters(), ]; -void checkUnnamed7769(core.List o) { +void checkUnnamed7855(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiscoveryclustersClusters(o[0]); checkDiscoveryclustersClusters(o[1]); @@ -1486,7 +1486,7 @@ api.Discoveryclusters buildDiscoveryclusters() { final o = api.Discoveryclusters(); buildCounterDiscoveryclusters++; if (buildCounterDiscoveryclusters < 3) { - o.clusters = buildUnnamed7769(); + o.clusters = buildUnnamed7855(); o.kind = 'foo'; o.totalClusters = 42; } @@ -1497,7 +1497,7 @@ api.Discoveryclusters buildDiscoveryclusters() { void checkDiscoveryclusters(api.Discoveryclusters o) { buildCounterDiscoveryclusters++; if (buildCounterDiscoveryclusters < 3) { - checkUnnamed7769(o.clusters!); + checkUnnamed7855(o.clusters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1578,12 +1578,12 @@ void checkDownloadAccessRestriction(api.DownloadAccessRestriction o) { buildCounterDownloadAccessRestriction--; } -core.List buildUnnamed7770() => [ +core.List buildUnnamed7856() => [ buildDownloadAccessRestriction(), buildDownloadAccessRestriction(), ]; -void checkUnnamed7770(core.List o) { +void checkUnnamed7856(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDownloadAccessRestriction(o[0]); checkDownloadAccessRestriction(o[1]); @@ -1594,7 +1594,7 @@ api.DownloadAccesses buildDownloadAccesses() { final o = api.DownloadAccesses(); buildCounterDownloadAccesses++; if (buildCounterDownloadAccesses < 3) { - o.downloadAccessList = buildUnnamed7770(); + o.downloadAccessList = buildUnnamed7856(); o.kind = 'foo'; } buildCounterDownloadAccesses--; @@ -1604,7 +1604,7 @@ api.DownloadAccesses buildDownloadAccesses() { void checkDownloadAccesses(api.DownloadAccesses o) { buildCounterDownloadAccesses++; if (buildCounterDownloadAccesses < 3) { - checkUnnamed7770(o.downloadAccessList!); + checkUnnamed7856(o.downloadAccessList!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1792,12 +1792,12 @@ void checkGeolayerdataCommon(api.GeolayerdataCommon o) { buildCounterGeolayerdataCommon--; } -core.List buildUnnamed7771() => [ +core.List buildUnnamed7857() => [ 'foo', 'foo', ]; -void checkUnnamed7771(core.List o) { +void checkUnnamed7857(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1889,7 +1889,7 @@ api.GeolayerdataGeo buildGeolayerdataGeo() { final o = api.GeolayerdataGeo(); buildCounterGeolayerdataGeo++; if (buildCounterGeolayerdataGeo < 3) { - o.boundary = buildUnnamed7771(); + o.boundary = buildUnnamed7857(); o.cachePolicy = 'foo'; o.countryCode = 'foo'; o.latitude = 42.0; @@ -1905,7 +1905,7 @@ api.GeolayerdataGeo buildGeolayerdataGeo() { void checkGeolayerdataGeo(api.GeolayerdataGeo o) { buildCounterGeolayerdataGeo++; if (buildCounterGeolayerdataGeo < 3) { - checkUnnamed7771(o.boundary!); + checkUnnamed7857(o.boundary!); unittest.expect( o.cachePolicy!, unittest.equals('foo'), @@ -1961,12 +1961,12 @@ void checkGeolayerdata(api.Geolayerdata o) { buildCounterGeolayerdata--; } -core.List buildUnnamed7772() => [ +core.List buildUnnamed7858() => [ buildLayersummary(), buildLayersummary(), ]; -void checkUnnamed7772(core.List o) { +void checkUnnamed7858(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLayersummary(o[0]); checkLayersummary(o[1]); @@ -1977,7 +1977,7 @@ api.Layersummaries buildLayersummaries() { final o = api.Layersummaries(); buildCounterLayersummaries++; if (buildCounterLayersummaries < 3) { - o.items = buildUnnamed7772(); + o.items = buildUnnamed7858(); o.kind = 'foo'; o.totalItems = 42; } @@ -1988,7 +1988,7 @@ api.Layersummaries buildLayersummaries() { void checkLayersummaries(api.Layersummaries o) { buildCounterLayersummaries++; if (buildCounterLayersummaries < 3) { - checkUnnamed7772(o.items!); + checkUnnamed7858(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2001,12 +2001,12 @@ void checkLayersummaries(api.Layersummaries o) { buildCounterLayersummaries--; } -core.List buildUnnamed7773() => [ +core.List buildUnnamed7859() => [ 'foo', 'foo', ]; -void checkUnnamed7773(core.List o) { +void checkUnnamed7859(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2024,7 +2024,7 @@ api.Layersummary buildLayersummary() { buildCounterLayersummary++; if (buildCounterLayersummary < 3) { o.annotationCount = 42; - o.annotationTypes = buildUnnamed7773(); + o.annotationTypes = buildUnnamed7859(); o.annotationsDataLink = 'foo'; o.annotationsLink = 'foo'; o.contentVersion = 'foo'; @@ -2048,7 +2048,7 @@ void checkLayersummary(api.Layersummary o) { o.annotationCount!, unittest.equals(42), ); - checkUnnamed7773(o.annotationTypes!); + checkUnnamed7859(o.annotationTypes!); unittest.expect( o.annotationsDataLink!, unittest.equals('foo'), @@ -2139,12 +2139,12 @@ void checkMetadataItems(api.MetadataItems o) { buildCounterMetadataItems--; } -core.List buildUnnamed7774() => [ +core.List buildUnnamed7860() => [ buildMetadataItems(), buildMetadataItems(), ]; -void checkUnnamed7774(core.List o) { +void checkUnnamed7860(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataItems(o[0]); checkMetadataItems(o[1]); @@ -2155,7 +2155,7 @@ api.Metadata buildMetadata() { final o = api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.items = buildUnnamed7774(); + o.items = buildUnnamed7860(); o.kind = 'foo'; } buildCounterMetadata--; @@ -2165,7 +2165,7 @@ api.Metadata buildMetadata() { void checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed7774(o.items!); + checkUnnamed7860(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2174,12 +2174,12 @@ void checkMetadata(api.Metadata o) { buildCounterMetadata--; } -core.List buildUnnamed7775() => [ +core.List buildUnnamed7861() => [ 'foo', 'foo', ]; -void checkUnnamed7775(core.List o) { +void checkUnnamed7861(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2197,7 +2197,7 @@ api.Notification buildNotification() { buildCounterNotification++; if (buildCounterNotification < 3) { o.body = 'foo'; - o.crmExperimentIds = buildUnnamed7775(); + o.crmExperimentIds = buildUnnamed7861(); o.docId = 'foo'; o.docType = 'foo'; o.dontShowNotification = true; @@ -2224,7 +2224,7 @@ void checkNotification(api.Notification o) { o.body!, unittest.equals('foo'), ); - checkUnnamed7775(o.crmExperimentIds!); + checkUnnamed7861(o.crmExperimentIds!); unittest.expect( o.docId!, unittest.equals('foo'), @@ -2323,12 +2323,12 @@ void checkOffersItemsItems(api.OffersItemsItems o) { buildCounterOffersItemsItems--; } -core.List buildUnnamed7776() => [ +core.List buildUnnamed7862() => [ buildOffersItemsItems(), buildOffersItemsItems(), ]; -void checkUnnamed7776(core.List o) { +void checkUnnamed7862(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOffersItemsItems(o[0]); checkOffersItemsItems(o[1]); @@ -2342,7 +2342,7 @@ api.OffersItems buildOffersItems() { o.artUrl = 'foo'; o.gservicesKey = 'foo'; o.id = 'foo'; - o.items = buildUnnamed7776(); + o.items = buildUnnamed7862(); } buildCounterOffersItems--; return o; @@ -2363,17 +2363,17 @@ void checkOffersItems(api.OffersItems o) { o.id!, unittest.equals('foo'), ); - checkUnnamed7776(o.items!); + checkUnnamed7862(o.items!); } buildCounterOffersItems--; } -core.List buildUnnamed7777() => [ +core.List buildUnnamed7863() => [ buildOffersItems(), buildOffersItems(), ]; -void checkUnnamed7777(core.List o) { +void checkUnnamed7863(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOffersItems(o[0]); checkOffersItems(o[1]); @@ -2384,7 +2384,7 @@ api.Offers buildOffers() { final o = api.Offers(); buildCounterOffers++; if (buildCounterOffers < 3) { - o.items = buildUnnamed7777(); + o.items = buildUnnamed7863(); o.kind = 'foo'; } buildCounterOffers--; @@ -2394,7 +2394,7 @@ api.Offers buildOffers() { void checkOffers(api.Offers o) { buildCounterOffers++; if (buildCounterOffers < 3) { - checkUnnamed7777(o.items!); + checkUnnamed7863(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2777,12 +2777,12 @@ void checkSeriesSeries(api.SeriesSeries o) { buildCounterSeriesSeries--; } -core.List buildUnnamed7778() => [ +core.List buildUnnamed7864() => [ buildSeriesSeries(), buildSeriesSeries(), ]; -void checkUnnamed7778(core.List o) { +void checkUnnamed7864(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSeriesSeries(o[0]); checkSeriesSeries(o[1]); @@ -2794,7 +2794,7 @@ api.Series buildSeries() { buildCounterSeries++; if (buildCounterSeries < 3) { o.kind = 'foo'; - o.series = buildUnnamed7778(); + o.series = buildUnnamed7864(); } buildCounterSeries--; return o; @@ -2807,17 +2807,17 @@ void checkSeries(api.Series o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed7778(o.series!); + checkUnnamed7864(o.series!); } buildCounterSeries--; } -core.List buildUnnamed7779() => [ +core.List buildUnnamed7865() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed7779(core.List o) { +void checkUnnamed7865(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -2829,7 +2829,7 @@ api.Seriesmembership buildSeriesmembership() { buildCounterSeriesmembership++; if (buildCounterSeriesmembership < 3) { o.kind = 'foo'; - o.member = buildUnnamed7779(); + o.member = buildUnnamed7865(); o.nextPageToken = 'foo'; } buildCounterSeriesmembership--; @@ -2843,7 +2843,7 @@ void checkSeriesmembership(api.Seriesmembership o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed7779(o.member!); + checkUnnamed7865(o.member!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3199,12 +3199,12 @@ void checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { buildCounterVolumeLayerInfoLayers--; } -core.List buildUnnamed7780() => [ +core.List buildUnnamed7866() => [ buildVolumeLayerInfoLayers(), buildVolumeLayerInfoLayers(), ]; -void checkUnnamed7780(core.List o) { +void checkUnnamed7866(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeLayerInfoLayers(o[0]); checkVolumeLayerInfoLayers(o[1]); @@ -3215,7 +3215,7 @@ api.VolumeLayerInfo buildVolumeLayerInfo() { final o = api.VolumeLayerInfo(); buildCounterVolumeLayerInfo++; if (buildCounterVolumeLayerInfo < 3) { - o.layers = buildUnnamed7780(); + o.layers = buildUnnamed7866(); } buildCounterVolumeLayerInfo--; return o; @@ -3224,7 +3224,7 @@ api.VolumeLayerInfo buildVolumeLayerInfo() { void checkVolumeLayerInfo(api.VolumeLayerInfo o) { buildCounterVolumeLayerInfo++; if (buildCounterVolumeLayerInfo < 3) { - checkUnnamed7780(o.layers!); + checkUnnamed7866(o.layers!); } buildCounterVolumeLayerInfo--; } @@ -3392,12 +3392,12 @@ void checkVolumeSaleInfoOffers(api.VolumeSaleInfoOffers o) { buildCounterVolumeSaleInfoOffers--; } -core.List buildUnnamed7781() => [ +core.List buildUnnamed7867() => [ buildVolumeSaleInfoOffers(), buildVolumeSaleInfoOffers(), ]; -void checkUnnamed7781(core.List o) { +void checkUnnamed7867(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeSaleInfoOffers(o[0]); checkVolumeSaleInfoOffers(o[1]); @@ -3439,7 +3439,7 @@ api.VolumeSaleInfo buildVolumeSaleInfo() { o.country = 'foo'; o.isEbook = true; o.listPrice = buildVolumeSaleInfoListPrice(); - o.offers = buildUnnamed7781(); + o.offers = buildUnnamed7867(); o.onSaleDate = 'foo'; o.retailPrice = buildVolumeSaleInfoRetailPrice(); o.saleability = 'foo'; @@ -3461,7 +3461,7 @@ void checkVolumeSaleInfo(api.VolumeSaleInfo o) { ); unittest.expect(o.isEbook!, unittest.isTrue); checkVolumeSaleInfoListPrice(o.listPrice!); - checkUnnamed7781(o.offers!); + checkUnnamed7867(o.offers!); unittest.expect( o.onSaleDate!, unittest.equals('foo'), @@ -3681,12 +3681,12 @@ void checkVolumeUserInfo(api.VolumeUserInfo o) { buildCounterVolumeUserInfo--; } -core.List buildUnnamed7782() => [ +core.List buildUnnamed7868() => [ 'foo', 'foo', ]; -void checkUnnamed7782(core.List o) { +void checkUnnamed7868(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3698,12 +3698,12 @@ void checkUnnamed7782(core.List o) { ); } -core.List buildUnnamed7783() => [ +core.List buildUnnamed7869() => [ 'foo', 'foo', ]; -void checkUnnamed7783(core.List o) { +void checkUnnamed7869(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3823,12 +3823,12 @@ void checkVolumeVolumeInfoIndustryIdentifiers( buildCounterVolumeVolumeInfoIndustryIdentifiers--; } -core.List buildUnnamed7784() => [ +core.List buildUnnamed7870() => [ buildVolumeVolumeInfoIndustryIdentifiers(), buildVolumeVolumeInfoIndustryIdentifiers(), ]; -void checkUnnamed7784(core.List o) { +void checkUnnamed7870(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeVolumeInfoIndustryIdentifiers(o[0]); checkVolumeVolumeInfoIndustryIdentifiers(o[1]); @@ -3894,16 +3894,16 @@ api.VolumeVolumeInfo buildVolumeVolumeInfo() { buildCounterVolumeVolumeInfo++; if (buildCounterVolumeVolumeInfo < 3) { o.allowAnonLogging = true; - o.authors = buildUnnamed7782(); + o.authors = buildUnnamed7868(); o.averageRating = 42.0; o.canonicalVolumeLink = 'foo'; - o.categories = buildUnnamed7783(); + o.categories = buildUnnamed7869(); o.comicsContent = true; o.contentVersion = 'foo'; o.description = 'foo'; o.dimensions = buildVolumeVolumeInfoDimensions(); o.imageLinks = buildVolumeVolumeInfoImageLinks(); - o.industryIdentifiers = buildUnnamed7784(); + o.industryIdentifiers = buildUnnamed7870(); o.infoLink = 'foo'; o.language = 'foo'; o.mainCategory = 'foo'; @@ -3930,7 +3930,7 @@ void checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { buildCounterVolumeVolumeInfo++; if (buildCounterVolumeVolumeInfo < 3) { unittest.expect(o.allowAnonLogging!, unittest.isTrue); - checkUnnamed7782(o.authors!); + checkUnnamed7868(o.authors!); unittest.expect( o.averageRating!, unittest.equals(42.0), @@ -3939,7 +3939,7 @@ void checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { o.canonicalVolumeLink!, unittest.equals('foo'), ); - checkUnnamed7783(o.categories!); + checkUnnamed7869(o.categories!); unittest.expect(o.comicsContent!, unittest.isTrue); unittest.expect( o.contentVersion!, @@ -3951,7 +3951,7 @@ void checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { ); checkVolumeVolumeInfoDimensions(o.dimensions!); checkVolumeVolumeInfoImageLinks(o.imageLinks!); - checkUnnamed7784(o.industryIdentifiers!); + checkUnnamed7870(o.industryIdentifiers!); unittest.expect( o.infoLink!, unittest.equals('foo'), @@ -4066,12 +4066,12 @@ void checkVolume(api.Volume o) { buildCounterVolume--; } -core.List buildUnnamed7785() => [ +core.List buildUnnamed7871() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed7785(core.List o) { +void checkUnnamed7871(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -4082,7 +4082,7 @@ api.Volume2 buildVolume2() { final o = api.Volume2(); buildCounterVolume2++; if (buildCounterVolume2 < 3) { - o.items = buildUnnamed7785(); + o.items = buildUnnamed7871(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -4093,7 +4093,7 @@ api.Volume2 buildVolume2() { void checkVolume2(api.Volume2 o) { buildCounterVolume2++; if (buildCounterVolume2 < 3) { - checkUnnamed7785(o.items!); + checkUnnamed7871(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4134,12 +4134,12 @@ void checkVolumeannotationContentRanges(api.VolumeannotationContentRanges o) { buildCounterVolumeannotationContentRanges--; } -core.List buildUnnamed7786() => [ +core.List buildUnnamed7872() => [ 'foo', 'foo', ]; -void checkUnnamed7786(core.List o) { +void checkUnnamed7872(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4165,7 +4165,7 @@ api.Volumeannotation buildVolumeannotation() { o.id = 'foo'; o.kind = 'foo'; o.layerId = 'foo'; - o.pageIds = buildUnnamed7786(); + o.pageIds = buildUnnamed7872(); o.selectedText = 'foo'; o.selfLink = 'foo'; o.updated = 'foo'; @@ -4208,7 +4208,7 @@ void checkVolumeannotation(api.Volumeannotation o) { o.layerId!, unittest.equals('foo'), ); - checkUnnamed7786(o.pageIds!); + checkUnnamed7872(o.pageIds!); unittest.expect( o.selectedText!, unittest.equals('foo'), @@ -4229,12 +4229,12 @@ void checkVolumeannotation(api.Volumeannotation o) { buildCounterVolumeannotation--; } -core.List buildUnnamed7787() => [ +core.List buildUnnamed7873() => [ buildVolumeannotation(), buildVolumeannotation(), ]; -void checkUnnamed7787(core.List o) { +void checkUnnamed7873(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeannotation(o[0]); checkVolumeannotation(o[1]); @@ -4245,7 +4245,7 @@ api.Volumeannotations buildVolumeannotations() { final o = api.Volumeannotations(); buildCounterVolumeannotations++; if (buildCounterVolumeannotations < 3) { - o.items = buildUnnamed7787(); + o.items = buildUnnamed7873(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.totalItems = 42; @@ -4258,7 +4258,7 @@ api.Volumeannotations buildVolumeannotations() { void checkVolumeannotations(api.Volumeannotations o) { buildCounterVolumeannotations++; if (buildCounterVolumeannotations < 3) { - checkUnnamed7787(o.items!); + checkUnnamed7873(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4279,12 +4279,12 @@ void checkVolumeannotations(api.Volumeannotations o) { buildCounterVolumeannotations--; } -core.List buildUnnamed7788() => [ +core.List buildUnnamed7874() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed7788(core.List o) { +void checkUnnamed7874(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -4295,7 +4295,7 @@ api.Volumes buildVolumes() { final o = api.Volumes(); buildCounterVolumes++; if (buildCounterVolumes < 3) { - o.items = buildUnnamed7788(); + o.items = buildUnnamed7874(); o.kind = 'foo'; o.totalItems = 42; } @@ -4306,7 +4306,7 @@ api.Volumes buildVolumes() { void checkVolumes(api.Volumes o) { buildCounterVolumes++; if (buildCounterVolumes < 3) { - checkUnnamed7788(o.items!); + checkUnnamed7874(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4347,12 +4347,12 @@ void checkVolumeseriesinfoVolumeSeriesIssue( buildCounterVolumeseriesinfoVolumeSeriesIssue--; } -core.List buildUnnamed7789() => [ +core.List buildUnnamed7875() => [ buildVolumeseriesinfoVolumeSeriesIssue(), buildVolumeseriesinfoVolumeSeriesIssue(), ]; -void checkUnnamed7789(core.List o) { +void checkUnnamed7875(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeseriesinfoVolumeSeriesIssue(o[0]); checkVolumeseriesinfoVolumeSeriesIssue(o[1]); @@ -4363,7 +4363,7 @@ api.VolumeseriesinfoVolumeSeries buildVolumeseriesinfoVolumeSeries() { final o = api.VolumeseriesinfoVolumeSeries(); buildCounterVolumeseriesinfoVolumeSeries++; if (buildCounterVolumeseriesinfoVolumeSeries < 3) { - o.issue = buildUnnamed7789(); + o.issue = buildUnnamed7875(); o.orderNumber = 42; o.seriesBookType = 'foo'; o.seriesId = 'foo'; @@ -4375,7 +4375,7 @@ api.VolumeseriesinfoVolumeSeries buildVolumeseriesinfoVolumeSeries() { void checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { buildCounterVolumeseriesinfoVolumeSeries++; if (buildCounterVolumeseriesinfoVolumeSeries < 3) { - checkUnnamed7789(o.issue!); + checkUnnamed7875(o.issue!); unittest.expect( o.orderNumber!, unittest.equals(42), @@ -4392,12 +4392,12 @@ void checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { buildCounterVolumeseriesinfoVolumeSeries--; } -core.List buildUnnamed7790() => [ +core.List buildUnnamed7876() => [ buildVolumeseriesinfoVolumeSeries(), buildVolumeseriesinfoVolumeSeries(), ]; -void checkUnnamed7790(core.List o) { +void checkUnnamed7876(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeseriesinfoVolumeSeries(o[0]); checkVolumeseriesinfoVolumeSeries(o[1]); @@ -4411,7 +4411,7 @@ api.Volumeseriesinfo buildVolumeseriesinfo() { o.bookDisplayNumber = 'foo'; o.kind = 'foo'; o.shortSeriesBookTitle = 'foo'; - o.volumeSeries = buildUnnamed7790(); + o.volumeSeries = buildUnnamed7876(); } buildCounterVolumeseriesinfo--; return o; @@ -4432,17 +4432,17 @@ void checkVolumeseriesinfo(api.Volumeseriesinfo o) { o.shortSeriesBookTitle!, unittest.equals('foo'), ); - checkUnnamed7790(o.volumeSeries!); + checkUnnamed7876(o.volumeSeries!); } buildCounterVolumeseriesinfo--; } -core.List buildUnnamed7791() => [ +core.List buildUnnamed7877() => [ 'foo', 'foo', ]; -void checkUnnamed7791(core.List o) { +void checkUnnamed7877(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4454,12 +4454,12 @@ void checkUnnamed7791(core.List o) { ); } -core.List buildUnnamed7792() => [ +core.List buildUnnamed7878() => [ 'foo', 'foo', ]; -void checkUnnamed7792(core.List o) { +void checkUnnamed7878(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4471,12 +4471,12 @@ void checkUnnamed7792(core.List o) { ); } -core.List buildUnnamed7793() => [ +core.List buildUnnamed7879() => [ 'foo', 'foo', ]; -void checkUnnamed7793(core.List o) { +void checkUnnamed7879(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4488,12 +4488,12 @@ void checkUnnamed7793(core.List o) { ); } -core.List buildUnnamed7794() => [ +core.List buildUnnamed7880() => [ 'foo', 'foo', ]; -void checkUnnamed7794(core.List o) { +void checkUnnamed7880(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4505,12 +4505,12 @@ void checkUnnamed7794(core.List o) { ); } -core.List buildUnnamed7795() => [ +core.List buildUnnamed7881() => [ 'foo', 'foo', ]; -void checkUnnamed7795(core.List o) { +void checkUnnamed7881(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4522,12 +4522,12 @@ void checkUnnamed7795(core.List o) { ); } -core.List buildUnnamed7796() => [ +core.List buildUnnamed7882() => [ 'foo', 'foo', ]; -void checkUnnamed7796(core.List o) { +void checkUnnamed7882(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4539,12 +4539,12 @@ void checkUnnamed7796(core.List o) { ); } -core.List buildUnnamed7797() => [ +core.List buildUnnamed7883() => [ 'foo', 'foo', ]; -void checkUnnamed7797(core.List o) { +void checkUnnamed7883(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4556,12 +4556,12 @@ void checkUnnamed7797(core.List o) { ); } -core.List buildUnnamed7798() => [ +core.List buildUnnamed7884() => [ 'foo', 'foo', ]; -void checkUnnamed7798(core.List o) { +void checkUnnamed7884(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4573,12 +4573,12 @@ void checkUnnamed7798(core.List o) { ); } -core.List buildUnnamed7799() => [ +core.List buildUnnamed7885() => [ 'foo', 'foo', ]; -void checkUnnamed7799(core.List o) { +void checkUnnamed7885(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4590,12 +4590,12 @@ void checkUnnamed7799(core.List o) { ); } -core.List buildUnnamed7800() => [ +core.List buildUnnamed7886() => [ 'foo', 'foo', ]; -void checkUnnamed7800(core.List o) { +void checkUnnamed7886(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4607,12 +4607,12 @@ void checkUnnamed7800(core.List o) { ); } -core.List buildUnnamed7801() => [ +core.List buildUnnamed7887() => [ 'foo', 'foo', ]; -void checkUnnamed7801(core.List o) { +void checkUnnamed7887(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4624,12 +4624,12 @@ void checkUnnamed7801(core.List o) { ); } -core.List buildUnnamed7802() => [ +core.List buildUnnamed7888() => [ 'foo', 'foo', ]; -void checkUnnamed7802(core.List o) { +void checkUnnamed7888(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6776,7 +6776,7 @@ void main() { final arg_volumeId = 'foo'; final arg_layerId = 'foo'; final arg_contentVersion = 'foo'; - final arg_annotationDataId = buildUnnamed7791(); + final arg_annotationDataId = buildUnnamed7877(); final arg_h = 42; final arg_locale = 'foo'; final arg_maxResults = 42; @@ -7231,7 +7231,7 @@ void main() { final mock = HttpServerMock(); final res = api.BooksApi(mock).myconfig; final arg_cpksver = 'foo'; - final arg_volumeIds = buildUnnamed7792(); + final arg_volumeIds = buildUnnamed7878(); final arg_locale = 'foo'; final arg_source = 'foo'; final arg_$fields = 'foo'; @@ -7389,11 +7389,11 @@ void main() { final arg_cpksver = 'foo'; final arg_nonce = 'foo'; final arg_source = 'foo'; - final arg_features = buildUnnamed7793(); + final arg_features = buildUnnamed7879(); final arg_includeNonComicsSeries = true; final arg_locale = 'foo'; final arg_showPreorders = true; - final arg_volumeIds = buildUnnamed7794(); + final arg_volumeIds = buildUnnamed7880(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -7686,7 +7686,7 @@ void main() { final res = api.BooksApi(mock).mylibrary.annotations; final arg_contentVersion = 'foo'; final arg_layerId = 'foo'; - final arg_layerIds = buildUnnamed7795(); + final arg_layerIds = buildUnnamed7881(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_showDeleted = true; @@ -7795,7 +7795,7 @@ void main() { unittest.test('method--summary', () async { final mock = HttpServerMock(); final res = api.BooksApi(mock).mylibrary.annotations; - final arg_layerIds = buildUnnamed7796(); + final arg_layerIds = buildUnnamed7882(); final arg_volumeId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -8768,7 +8768,7 @@ void main() { unittest.test('method--listCategoryVolumes', () async { final mock = HttpServerMock(); final res = api.BooksApi(mock).onboarding; - final arg_categoryId = buildUnnamed7797(); + final arg_categoryId = buildUnnamed7883(); final arg_locale = 'foo'; final arg_maxAllowedMaturityRating = 'foo'; final arg_pageSize = 42; @@ -9203,7 +9203,7 @@ void main() { unittest.test('method--get', () async { final mock = HttpServerMock(); final res = api.BooksApi(mock).series; - final arg_seriesId = buildUnnamed7798(); + final arg_seriesId = buildUnnamed7884(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -9652,11 +9652,11 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.BooksApi(mock).volumes.mybooks; - final arg_acquireMethod = buildUnnamed7799(); + final arg_acquireMethod = buildUnnamed7885(); final arg_country = 'foo'; final arg_locale = 'foo'; final arg_maxResults = 42; - final arg_processingState = buildUnnamed7800(); + final arg_processingState = buildUnnamed7886(); final arg_source = 'foo'; final arg_startIndex = 42; final arg_$fields = 'foo'; @@ -9893,10 +9893,10 @@ void main() { final res = api.BooksApi(mock).volumes.useruploaded; final arg_locale = 'foo'; final arg_maxResults = 42; - final arg_processingState = buildUnnamed7801(); + final arg_processingState = buildUnnamed7887(); final arg_source = 'foo'; final arg_startIndex = 42; - final arg_volumeId = buildUnnamed7802(); + final arg_volumeId = buildUnnamed7888(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart index 72143cebb..1bfe6d94d 100644 --- a/generated/googleapis/test/calendar/v3_test.dart +++ b/generated/googleapis/test/calendar/v3_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5292() => [ +core.List buildUnnamed5351() => [ buildAclRule(), buildAclRule(), ]; -void checkUnnamed5292(core.List o) { +void checkUnnamed5351(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAclRule(o[0]); checkAclRule(o[1]); @@ -43,7 +43,7 @@ api.Acl buildAcl() { buildCounterAcl++; if (buildCounterAcl < 3) { o.etag = 'foo'; - o.items = buildUnnamed5292(); + o.items = buildUnnamed5351(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; @@ -59,7 +59,7 @@ void checkAcl(api.Acl o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5292(o.items!); + checkUnnamed5351(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -196,12 +196,12 @@ void checkCalendar(api.Calendar o) { buildCounterCalendar--; } -core.List buildUnnamed5293() => [ +core.List buildUnnamed5352() => [ buildCalendarListEntry(), buildCalendarListEntry(), ]; -void checkUnnamed5293(core.List o) { +void checkUnnamed5352(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCalendarListEntry(o[0]); checkCalendarListEntry(o[1]); @@ -213,7 +213,7 @@ api.CalendarList buildCalendarList() { buildCounterCalendarList++; if (buildCounterCalendarList < 3) { o.etag = 'foo'; - o.items = buildUnnamed5293(); + o.items = buildUnnamed5352(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; @@ -229,7 +229,7 @@ void checkCalendarList(api.CalendarList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5293(o.items!); + checkUnnamed5352(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -246,23 +246,23 @@ void checkCalendarList(api.CalendarList o) { buildCounterCalendarList--; } -core.List buildUnnamed5294() => [ +core.List buildUnnamed5353() => [ buildEventReminder(), buildEventReminder(), ]; -void checkUnnamed5294(core.List o) { +void checkUnnamed5353(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventReminder(o[0]); checkEventReminder(o[1]); } -core.List buildUnnamed5295() => [ +core.List buildUnnamed5354() => [ buildCalendarNotification(), buildCalendarNotification(), ]; -void checkUnnamed5295(core.List o) { +void checkUnnamed5354(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCalendarNotification(o[0]); checkCalendarNotification(o[1]); @@ -274,7 +274,7 @@ api.CalendarListEntryNotificationSettings final o = api.CalendarListEntryNotificationSettings(); buildCounterCalendarListEntryNotificationSettings++; if (buildCounterCalendarListEntryNotificationSettings < 3) { - o.notifications = buildUnnamed5295(); + o.notifications = buildUnnamed5354(); } buildCounterCalendarListEntryNotificationSettings--; return o; @@ -284,7 +284,7 @@ void checkCalendarListEntryNotificationSettings( api.CalendarListEntryNotificationSettings o) { buildCounterCalendarListEntryNotificationSettings++; if (buildCounterCalendarListEntryNotificationSettings < 3) { - checkUnnamed5295(o.notifications!); + checkUnnamed5354(o.notifications!); } buildCounterCalendarListEntryNotificationSettings--; } @@ -298,7 +298,7 @@ api.CalendarListEntry buildCalendarListEntry() { o.backgroundColor = 'foo'; o.colorId = 'foo'; o.conferenceProperties = buildConferenceProperties(); - o.defaultReminders = buildUnnamed5294(); + o.defaultReminders = buildUnnamed5353(); o.deleted = true; o.description = 'foo'; o.etag = 'foo'; @@ -334,7 +334,7 @@ void checkCalendarListEntry(api.CalendarListEntry o) { unittest.equals('foo'), ); checkConferenceProperties(o.conferenceProperties!); - checkUnnamed5294(o.defaultReminders!); + checkUnnamed5353(o.defaultReminders!); unittest.expect(o.deleted!, unittest.isTrue); unittest.expect( o.description!, @@ -407,12 +407,12 @@ void checkCalendarNotification(api.CalendarNotification o) { buildCounterCalendarNotification--; } -core.Map buildUnnamed5296() => { +core.Map buildUnnamed5355() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5296(core.Map o) { +void checkUnnamed5355(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -433,7 +433,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed5296(); + o.params = buildUnnamed5355(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -463,7 +463,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5296(o.params!); + checkUnnamed5355(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -512,23 +512,23 @@ void checkColorDefinition(api.ColorDefinition o) { buildCounterColorDefinition--; } -core.Map buildUnnamed5297() => { +core.Map buildUnnamed5356() => { 'x': buildColorDefinition(), 'y': buildColorDefinition(), }; -void checkUnnamed5297(core.Map o) { +void checkUnnamed5356(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkColorDefinition(o['x']!); checkColorDefinition(o['y']!); } -core.Map buildUnnamed5298() => { +core.Map buildUnnamed5357() => { 'x': buildColorDefinition(), 'y': buildColorDefinition(), }; -void checkUnnamed5298(core.Map o) { +void checkUnnamed5357(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkColorDefinition(o['x']!); checkColorDefinition(o['y']!); @@ -539,8 +539,8 @@ api.Colors buildColors() { final o = api.Colors(); buildCounterColors++; if (buildCounterColors < 3) { - o.calendar = buildUnnamed5297(); - o.event = buildUnnamed5298(); + o.calendar = buildUnnamed5356(); + o.event = buildUnnamed5357(); o.kind = 'foo'; o.updated = core.DateTime.parse('2002-02-27T14:01:02'); } @@ -551,8 +551,8 @@ api.Colors buildColors() { void checkColors(api.Colors o) { buildCounterColors++; if (buildCounterColors < 3) { - checkUnnamed5297(o.calendar!); - checkUnnamed5298(o.event!); + checkUnnamed5356(o.calendar!); + checkUnnamed5357(o.event!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -565,12 +565,12 @@ void checkColors(api.Colors o) { buildCounterColors--; } -core.List buildUnnamed5299() => [ +core.List buildUnnamed5358() => [ buildEntryPoint(), buildEntryPoint(), ]; -void checkUnnamed5299(core.List o) { +void checkUnnamed5358(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntryPoint(o[0]); checkEntryPoint(o[1]); @@ -584,7 +584,7 @@ api.ConferenceData buildConferenceData() { o.conferenceId = 'foo'; o.conferenceSolution = buildConferenceSolution(); o.createRequest = buildCreateConferenceRequest(); - o.entryPoints = buildUnnamed5299(); + o.entryPoints = buildUnnamed5358(); o.notes = 'foo'; o.parameters = buildConferenceParameters(); o.signature = 'foo'; @@ -602,7 +602,7 @@ void checkConferenceData(api.ConferenceData o) { ); checkConferenceSolution(o.conferenceSolution!); checkCreateConferenceRequest(o.createRequest!); - checkUnnamed5299(o.entryPoints!); + checkUnnamed5358(o.entryPoints!); unittest.expect( o.notes!, unittest.equals('foo'), @@ -635,12 +635,12 @@ void checkConferenceParameters(api.ConferenceParameters o) { buildCounterConferenceParameters--; } -core.Map buildUnnamed5300() => { +core.Map buildUnnamed5359() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5300(core.Map o) { +void checkUnnamed5359(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -658,7 +658,7 @@ api.ConferenceParametersAddOnParameters final o = api.ConferenceParametersAddOnParameters(); buildCounterConferenceParametersAddOnParameters++; if (buildCounterConferenceParametersAddOnParameters < 3) { - o.parameters = buildUnnamed5300(); + o.parameters = buildUnnamed5359(); } buildCounterConferenceParametersAddOnParameters--; return o; @@ -668,17 +668,17 @@ void checkConferenceParametersAddOnParameters( api.ConferenceParametersAddOnParameters o) { buildCounterConferenceParametersAddOnParameters++; if (buildCounterConferenceParametersAddOnParameters < 3) { - checkUnnamed5300(o.parameters!); + checkUnnamed5359(o.parameters!); } buildCounterConferenceParametersAddOnParameters--; } -core.List buildUnnamed5301() => [ +core.List buildUnnamed5360() => [ 'foo', 'foo', ]; -void checkUnnamed5301(core.List o) { +void checkUnnamed5360(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -695,7 +695,7 @@ api.ConferenceProperties buildConferenceProperties() { final o = api.ConferenceProperties(); buildCounterConferenceProperties++; if (buildCounterConferenceProperties < 3) { - o.allowedConferenceSolutionTypes = buildUnnamed5301(); + o.allowedConferenceSolutionTypes = buildUnnamed5360(); } buildCounterConferenceProperties--; return o; @@ -704,7 +704,7 @@ api.ConferenceProperties buildConferenceProperties() { void checkConferenceProperties(api.ConferenceProperties o) { buildCounterConferenceProperties++; if (buildCounterConferenceProperties < 3) { - checkUnnamed5301(o.allowedConferenceSolutionTypes!); + checkUnnamed5360(o.allowedConferenceSolutionTypes!); } buildCounterConferenceProperties--; } @@ -808,12 +808,12 @@ void checkCreateConferenceRequest(api.CreateConferenceRequest o) { buildCounterCreateConferenceRequest--; } -core.List buildUnnamed5302() => [ +core.List buildUnnamed5361() => [ 'foo', 'foo', ]; -void checkUnnamed5302(core.List o) { +void checkUnnamed5361(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -831,7 +831,7 @@ api.EntryPoint buildEntryPoint() { buildCounterEntryPoint++; if (buildCounterEntryPoint < 3) { o.accessCode = 'foo'; - o.entryPointFeatures = buildUnnamed5302(); + o.entryPointFeatures = buildUnnamed5361(); o.entryPointType = 'foo'; o.label = 'foo'; o.meetingCode = 'foo'; @@ -852,7 +852,7 @@ void checkEntryPoint(api.EntryPoint o) { o.accessCode!, unittest.equals('foo'), ); - checkUnnamed5302(o.entryPointFeatures!); + checkUnnamed5361(o.entryPointFeatures!); unittest.expect( o.entryPointType!, unittest.equals('foo'), @@ -916,23 +916,23 @@ void checkError(api.Error o) { buildCounterError--; } -core.List buildUnnamed5303() => [ +core.List buildUnnamed5362() => [ buildEventAttachment(), buildEventAttachment(), ]; -void checkUnnamed5303(core.List o) { +void checkUnnamed5362(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventAttachment(o[0]); checkEventAttachment(o[1]); } -core.List buildUnnamed5304() => [ +core.List buildUnnamed5363() => [ buildEventAttendee(), buildEventAttendee(), ]; -void checkUnnamed5304(core.List o) { +void checkUnnamed5363(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventAttendee(o[0]); checkEventAttendee(o[1]); @@ -972,12 +972,12 @@ void checkEventCreator(api.EventCreator o) { buildCounterEventCreator--; } -core.Map buildUnnamed5305() => { +core.Map buildUnnamed5364() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5305(core.Map o) { +void checkUnnamed5364(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -989,12 +989,12 @@ void checkUnnamed5305(core.Map o) { ); } -core.Map buildUnnamed5306() => { +core.Map buildUnnamed5365() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5306(core.Map o) { +void checkUnnamed5365(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1011,8 +1011,8 @@ api.EventExtendedProperties buildEventExtendedProperties() { final o = api.EventExtendedProperties(); buildCounterEventExtendedProperties++; if (buildCounterEventExtendedProperties < 3) { - o.private = buildUnnamed5305(); - o.shared = buildUnnamed5306(); + o.private = buildUnnamed5364(); + o.shared = buildUnnamed5365(); } buildCounterEventExtendedProperties--; return o; @@ -1021,18 +1021,18 @@ api.EventExtendedProperties buildEventExtendedProperties() { void checkEventExtendedProperties(api.EventExtendedProperties o) { buildCounterEventExtendedProperties++; if (buildCounterEventExtendedProperties < 3) { - checkUnnamed5305(o.private!); - checkUnnamed5306(o.shared!); + checkUnnamed5364(o.private!); + checkUnnamed5365(o.shared!); } buildCounterEventExtendedProperties--; } -core.Map buildUnnamed5307() => { +core.Map buildUnnamed5366() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5307(core.Map o) { +void checkUnnamed5366(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1053,7 +1053,7 @@ api.EventGadget buildEventGadget() { o.height = 42; o.iconLink = 'foo'; o.link = 'foo'; - o.preferences = buildUnnamed5307(); + o.preferences = buildUnnamed5366(); o.title = 'foo'; o.type = 'foo'; o.width = 42; @@ -1081,7 +1081,7 @@ void checkEventGadget(api.EventGadget o) { o.link!, unittest.equals('foo'), ); - checkUnnamed5307(o.preferences!); + checkUnnamed5366(o.preferences!); unittest.expect( o.title!, unittest.equals('foo'), @@ -1132,12 +1132,12 @@ void checkEventOrganizer(api.EventOrganizer o) { buildCounterEventOrganizer--; } -core.List buildUnnamed5308() => [ +core.List buildUnnamed5367() => [ 'foo', 'foo', ]; -void checkUnnamed5308(core.List o) { +void checkUnnamed5367(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1149,12 +1149,12 @@ void checkUnnamed5308(core.List o) { ); } -core.List buildUnnamed5309() => [ +core.List buildUnnamed5368() => [ buildEventReminder(), buildEventReminder(), ]; -void checkUnnamed5309(core.List o) { +void checkUnnamed5368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventReminder(o[0]); checkEventReminder(o[1]); @@ -1165,7 +1165,7 @@ api.EventReminders buildEventReminders() { final o = api.EventReminders(); buildCounterEventReminders++; if (buildCounterEventReminders < 3) { - o.overrides = buildUnnamed5309(); + o.overrides = buildUnnamed5368(); o.useDefault = true; } buildCounterEventReminders--; @@ -1175,7 +1175,7 @@ api.EventReminders buildEventReminders() { void checkEventReminders(api.EventReminders o) { buildCounterEventReminders++; if (buildCounterEventReminders < 3) { - checkUnnamed5309(o.overrides!); + checkUnnamed5368(o.overrides!); unittest.expect(o.useDefault!, unittest.isTrue); } buildCounterEventReminders--; @@ -1214,8 +1214,8 @@ api.Event buildEvent() { buildCounterEvent++; if (buildCounterEvent < 3) { o.anyoneCanAddSelf = true; - o.attachments = buildUnnamed5303(); - o.attendees = buildUnnamed5304(); + o.attachments = buildUnnamed5362(); + o.attendees = buildUnnamed5363(); o.attendeesOmitted = true; o.colorId = 'foo'; o.conferenceData = buildConferenceData(); @@ -1241,7 +1241,7 @@ api.Event buildEvent() { o.organizer = buildEventOrganizer(); o.originalStartTime = buildEventDateTime(); o.privateCopy = true; - o.recurrence = buildUnnamed5308(); + o.recurrence = buildUnnamed5367(); o.recurringEventId = 'foo'; o.reminders = buildEventReminders(); o.sequence = 42; @@ -1261,8 +1261,8 @@ void checkEvent(api.Event o) { buildCounterEvent++; if (buildCounterEvent < 3) { unittest.expect(o.anyoneCanAddSelf!, unittest.isTrue); - checkUnnamed5303(o.attachments!); - checkUnnamed5304(o.attendees!); + checkUnnamed5362(o.attachments!); + checkUnnamed5363(o.attendees!); unittest.expect(o.attendeesOmitted!, unittest.isTrue); unittest.expect( o.colorId!, @@ -1321,7 +1321,7 @@ void checkEvent(api.Event o) { checkEventOrganizer(o.organizer!); checkEventDateTime(o.originalStartTime!); unittest.expect(o.privateCopy!, unittest.isTrue); - checkUnnamed5308(o.recurrence!); + checkUnnamed5367(o.recurrence!); unittest.expect( o.recurringEventId!, unittest.equals('foo'), @@ -1513,23 +1513,23 @@ void checkEventReminder(api.EventReminder o) { buildCounterEventReminder--; } -core.List buildUnnamed5310() => [ +core.List buildUnnamed5369() => [ buildEventReminder(), buildEventReminder(), ]; -void checkUnnamed5310(core.List o) { +void checkUnnamed5369(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventReminder(o[0]); checkEventReminder(o[1]); } -core.List buildUnnamed5311() => [ +core.List buildUnnamed5370() => [ buildEvent(), buildEvent(), ]; -void checkUnnamed5311(core.List o) { +void checkUnnamed5370(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEvent(o[0]); checkEvent(o[1]); @@ -1541,10 +1541,10 @@ api.Events buildEvents() { buildCounterEvents++; if (buildCounterEvents < 3) { o.accessRole = 'foo'; - o.defaultReminders = buildUnnamed5310(); + o.defaultReminders = buildUnnamed5369(); o.description = 'foo'; o.etag = 'foo'; - o.items = buildUnnamed5311(); + o.items = buildUnnamed5370(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; @@ -1563,7 +1563,7 @@ void checkEvents(api.Events o) { o.accessRole!, unittest.equals('foo'), ); - checkUnnamed5310(o.defaultReminders!); + checkUnnamed5369(o.defaultReminders!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1572,7 +1572,7 @@ void checkEvents(api.Events o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5311(o.items!); + checkUnnamed5370(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1601,23 +1601,23 @@ void checkEvents(api.Events o) { buildCounterEvents--; } -core.List buildUnnamed5312() => [ +core.List buildUnnamed5371() => [ buildTimePeriod(), buildTimePeriod(), ]; -void checkUnnamed5312(core.List o) { +void checkUnnamed5371(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimePeriod(o[0]); checkTimePeriod(o[1]); } -core.List buildUnnamed5313() => [ +core.List buildUnnamed5372() => [ buildError(), buildError(), ]; -void checkUnnamed5313(core.List o) { +void checkUnnamed5372(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -1628,8 +1628,8 @@ api.FreeBusyCalendar buildFreeBusyCalendar() { final o = api.FreeBusyCalendar(); buildCounterFreeBusyCalendar++; if (buildCounterFreeBusyCalendar < 3) { - o.busy = buildUnnamed5312(); - o.errors = buildUnnamed5313(); + o.busy = buildUnnamed5371(); + o.errors = buildUnnamed5372(); } buildCounterFreeBusyCalendar--; return o; @@ -1638,18 +1638,18 @@ api.FreeBusyCalendar buildFreeBusyCalendar() { void checkFreeBusyCalendar(api.FreeBusyCalendar o) { buildCounterFreeBusyCalendar++; if (buildCounterFreeBusyCalendar < 3) { - checkUnnamed5312(o.busy!); - checkUnnamed5313(o.errors!); + checkUnnamed5371(o.busy!); + checkUnnamed5372(o.errors!); } buildCounterFreeBusyCalendar--; } -core.List buildUnnamed5314() => [ +core.List buildUnnamed5373() => [ 'foo', 'foo', ]; -void checkUnnamed5314(core.List o) { +void checkUnnamed5373(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1661,12 +1661,12 @@ void checkUnnamed5314(core.List o) { ); } -core.List buildUnnamed5315() => [ +core.List buildUnnamed5374() => [ buildError(), buildError(), ]; -void checkUnnamed5315(core.List o) { +void checkUnnamed5374(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -1677,8 +1677,8 @@ api.FreeBusyGroup buildFreeBusyGroup() { final o = api.FreeBusyGroup(); buildCounterFreeBusyGroup++; if (buildCounterFreeBusyGroup < 3) { - o.calendars = buildUnnamed5314(); - o.errors = buildUnnamed5315(); + o.calendars = buildUnnamed5373(); + o.errors = buildUnnamed5374(); } buildCounterFreeBusyGroup--; return o; @@ -1687,18 +1687,18 @@ api.FreeBusyGroup buildFreeBusyGroup() { void checkFreeBusyGroup(api.FreeBusyGroup o) { buildCounterFreeBusyGroup++; if (buildCounterFreeBusyGroup < 3) { - checkUnnamed5314(o.calendars!); - checkUnnamed5315(o.errors!); + checkUnnamed5373(o.calendars!); + checkUnnamed5374(o.errors!); } buildCounterFreeBusyGroup--; } -core.List buildUnnamed5316() => [ +core.List buildUnnamed5375() => [ buildFreeBusyRequestItem(), buildFreeBusyRequestItem(), ]; -void checkUnnamed5316(core.List o) { +void checkUnnamed5375(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBusyRequestItem(o[0]); checkFreeBusyRequestItem(o[1]); @@ -1711,7 +1711,7 @@ api.FreeBusyRequest buildFreeBusyRequest() { if (buildCounterFreeBusyRequest < 3) { o.calendarExpansionMax = 42; o.groupExpansionMax = 42; - o.items = buildUnnamed5316(); + o.items = buildUnnamed5375(); o.timeMax = core.DateTime.parse('2002-02-27T14:01:02'); o.timeMin = core.DateTime.parse('2002-02-27T14:01:02'); o.timeZone = 'foo'; @@ -1731,7 +1731,7 @@ void checkFreeBusyRequest(api.FreeBusyRequest o) { o.groupExpansionMax!, unittest.equals(42), ); - checkUnnamed5316(o.items!); + checkUnnamed5375(o.items!); unittest.expect( o.timeMax!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -1770,23 +1770,23 @@ void checkFreeBusyRequestItem(api.FreeBusyRequestItem o) { buildCounterFreeBusyRequestItem--; } -core.Map buildUnnamed5317() => { +core.Map buildUnnamed5376() => { 'x': buildFreeBusyCalendar(), 'y': buildFreeBusyCalendar(), }; -void checkUnnamed5317(core.Map o) { +void checkUnnamed5376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBusyCalendar(o['x']!); checkFreeBusyCalendar(o['y']!); } -core.Map buildUnnamed5318() => { +core.Map buildUnnamed5377() => { 'x': buildFreeBusyGroup(), 'y': buildFreeBusyGroup(), }; -void checkUnnamed5318(core.Map o) { +void checkUnnamed5377(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFreeBusyGroup(o['x']!); checkFreeBusyGroup(o['y']!); @@ -1797,8 +1797,8 @@ api.FreeBusyResponse buildFreeBusyResponse() { final o = api.FreeBusyResponse(); buildCounterFreeBusyResponse++; if (buildCounterFreeBusyResponse < 3) { - o.calendars = buildUnnamed5317(); - o.groups = buildUnnamed5318(); + o.calendars = buildUnnamed5376(); + o.groups = buildUnnamed5377(); o.kind = 'foo'; o.timeMax = core.DateTime.parse('2002-02-27T14:01:02'); o.timeMin = core.DateTime.parse('2002-02-27T14:01:02'); @@ -1810,8 +1810,8 @@ api.FreeBusyResponse buildFreeBusyResponse() { void checkFreeBusyResponse(api.FreeBusyResponse o) { buildCounterFreeBusyResponse++; if (buildCounterFreeBusyResponse < 3) { - checkUnnamed5317(o.calendars!); - checkUnnamed5318(o.groups!); + checkUnnamed5376(o.calendars!); + checkUnnamed5377(o.groups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1865,12 +1865,12 @@ void checkSetting(api.Setting o) { buildCounterSetting--; } -core.List buildUnnamed5319() => [ +core.List buildUnnamed5378() => [ buildSetting(), buildSetting(), ]; -void checkUnnamed5319(core.List o) { +void checkUnnamed5378(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSetting(o[0]); checkSetting(o[1]); @@ -1882,7 +1882,7 @@ api.Settings buildSettings() { buildCounterSettings++; if (buildCounterSettings < 3) { o.etag = 'foo'; - o.items = buildUnnamed5319(); + o.items = buildUnnamed5378(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; @@ -1898,7 +1898,7 @@ void checkSettings(api.Settings o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5319(o.items!); + checkUnnamed5378(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1942,12 +1942,12 @@ void checkTimePeriod(api.TimePeriod o) { buildCounterTimePeriod--; } -core.List buildUnnamed5320() => [ +core.List buildUnnamed5379() => [ 'foo', 'foo', ]; -void checkUnnamed5320(core.List o) { +void checkUnnamed5379(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1959,12 +1959,12 @@ void checkUnnamed5320(core.List o) { ); } -core.List buildUnnamed5321() => [ +core.List buildUnnamed5380() => [ 'foo', 'foo', ]; -void checkUnnamed5321(core.List o) { +void checkUnnamed5380(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1976,12 +1976,12 @@ void checkUnnamed5321(core.List o) { ); } -core.List buildUnnamed5322() => [ +core.List buildUnnamed5381() => [ 'foo', 'foo', ]; -void checkUnnamed5322(core.List o) { +void checkUnnamed5381(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1993,12 +1993,12 @@ void checkUnnamed5322(core.List o) { ); } -core.List buildUnnamed5323() => [ +core.List buildUnnamed5382() => [ 'foo', 'foo', ]; -void checkUnnamed5323(core.List o) { +void checkUnnamed5382(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4592,9 +4592,9 @@ void main() { final arg_maxResults = 42; final arg_orderBy = 'foo'; final arg_pageToken = 'foo'; - final arg_privateExtendedProperty = buildUnnamed5320(); + final arg_privateExtendedProperty = buildUnnamed5379(); final arg_q = 'foo'; - final arg_sharedExtendedProperty = buildUnnamed5321(); + final arg_sharedExtendedProperty = buildUnnamed5380(); final arg_showDeleted = true; final arg_showHiddenInvitations = true; final arg_singleEvents = true; @@ -5197,9 +5197,9 @@ void main() { final arg_maxResults = 42; final arg_orderBy = 'foo'; final arg_pageToken = 'foo'; - final arg_privateExtendedProperty = buildUnnamed5322(); + final arg_privateExtendedProperty = buildUnnamed5381(); final arg_q = 'foo'; - final arg_sharedExtendedProperty = buildUnnamed5323(); + final arg_sharedExtendedProperty = buildUnnamed5382(); final arg_showDeleted = true; final arg_showHiddenInvitations = true; final arg_singleEvents = true; diff --git a/generated/googleapis/test/chat/v1_test.dart b/generated/googleapis/test/chat/v1_test.dart index a0ae96af0..0bf705f68 100644 --- a/generated/googleapis/test/chat/v1_test.dart +++ b/generated/googleapis/test/chat/v1_test.dart @@ -239,23 +239,23 @@ void checkButton(api.Button o) { buildCounterButton--; } -core.List buildUnnamed4158() => [ +core.List buildUnnamed4139() => [ buildCardAction(), buildCardAction(), ]; -void checkUnnamed4158(core.List o) { +void checkUnnamed4139(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCardAction(o[0]); checkCardAction(o[1]); } -core.List buildUnnamed4159() => [ +core.List buildUnnamed4140() => [ buildSection(), buildSection(), ]; -void checkUnnamed4159(core.List o) { +void checkUnnamed4140(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSection(o[0]); checkSection(o[1]); @@ -266,10 +266,10 @@ api.Card buildCard() { final o = api.Card(); buildCounterCard++; if (buildCounterCard < 3) { - o.cardActions = buildUnnamed4158(); + o.cardActions = buildUnnamed4139(); o.header = buildCardHeader(); o.name = 'foo'; - o.sections = buildUnnamed4159(); + o.sections = buildUnnamed4140(); } buildCounterCard--; return o; @@ -278,13 +278,13 @@ api.Card buildCard() { void checkCard(api.Card o) { buildCounterCard++; if (buildCounterCard < 3) { - checkUnnamed4158(o.cardActions!); + checkUnnamed4139(o.cardActions!); checkCardHeader(o.header!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4159(o.sections!); + checkUnnamed4140(o.sections!); } buildCounterCard--; } @@ -387,14 +387,136 @@ void checkColor(api.Color o) { buildCounterColor--; } +core.Map buildUnnamed4141() => { + 'x': buildInputs(), + 'y': buildInputs(), + }; + +void checkUnnamed4141(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkInputs(o['x']!); + checkInputs(o['y']!); +} + +core.Map buildUnnamed4142() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed4142(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterCommonEventObject = 0; +api.CommonEventObject buildCommonEventObject() { + final o = api.CommonEventObject(); + buildCounterCommonEventObject++; + if (buildCounterCommonEventObject < 3) { + o.formInputs = buildUnnamed4141(); + o.hostApp = 'foo'; + o.invokedFunction = 'foo'; + o.parameters = buildUnnamed4142(); + o.platform = 'foo'; + o.timeZone = buildTimeZone(); + o.userLocale = 'foo'; + } + buildCounterCommonEventObject--; + return o; +} + +void checkCommonEventObject(api.CommonEventObject o) { + buildCounterCommonEventObject++; + if (buildCounterCommonEventObject < 3) { + checkUnnamed4141(o.formInputs!); + unittest.expect( + o.hostApp!, + unittest.equals('foo'), + ); + unittest.expect( + o.invokedFunction!, + unittest.equals('foo'), + ); + checkUnnamed4142(o.parameters!); + unittest.expect( + o.platform!, + unittest.equals('foo'), + ); + checkTimeZone(o.timeZone!); + unittest.expect( + o.userLocale!, + unittest.equals('foo'), + ); + } + buildCounterCommonEventObject--; +} + +core.int buildCounterDateInput = 0; +api.DateInput buildDateInput() { + final o = api.DateInput(); + buildCounterDateInput++; + if (buildCounterDateInput < 3) { + o.msSinceEpoch = 'foo'; + } + buildCounterDateInput--; + return o; +} + +void checkDateInput(api.DateInput o) { + buildCounterDateInput++; + if (buildCounterDateInput < 3) { + unittest.expect( + o.msSinceEpoch!, + unittest.equals('foo'), + ); + } + buildCounterDateInput--; +} + +core.int buildCounterDateTimeInput = 0; +api.DateTimeInput buildDateTimeInput() { + final o = api.DateTimeInput(); + buildCounterDateTimeInput++; + if (buildCounterDateTimeInput < 3) { + o.hasDate = true; + o.hasTime = true; + o.msSinceEpoch = 'foo'; + } + buildCounterDateTimeInput--; + return o; +} + +void checkDateTimeInput(api.DateTimeInput o) { + buildCounterDateTimeInput++; + if (buildCounterDateTimeInput < 3) { + unittest.expect(o.hasDate!, unittest.isTrue); + unittest.expect(o.hasTime!, unittest.isTrue); + unittest.expect( + o.msSinceEpoch!, + unittest.equals('foo'), + ); + } + buildCounterDateTimeInput--; +} + core.int buildCounterDeprecatedEvent = 0; api.DeprecatedEvent buildDeprecatedEvent() { final o = api.DeprecatedEvent(); buildCounterDeprecatedEvent++; if (buildCounterDeprecatedEvent < 3) { o.action = buildFormAction(); + o.common = buildCommonEventObject(); o.configCompleteRedirectUrl = 'foo'; + o.dialogEventType = 'foo'; o.eventTime = 'foo'; + o.isDialogEvent = true; o.message = buildMessage(); o.space = buildSpace(); o.threadKey = 'foo'; @@ -410,14 +532,20 @@ void checkDeprecatedEvent(api.DeprecatedEvent o) { buildCounterDeprecatedEvent++; if (buildCounterDeprecatedEvent < 3) { checkFormAction(o.action!); + checkCommonEventObject(o.common!); unittest.expect( o.configCompleteRedirectUrl!, unittest.equals('foo'), ); + unittest.expect( + o.dialogEventType!, + unittest.equals('foo'), + ); unittest.expect( o.eventTime!, unittest.equals('foo'), ); + unittest.expect(o.isDialogEvent!, unittest.isTrue); checkMessage(o.message!); checkSpace(o.space!); unittest.expect( @@ -514,12 +642,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed4160() => [ +core.List buildUnnamed4143() => [ buildActionParameter(), buildActionParameter(), ]; -void checkUnnamed4160(core.List o) { +void checkUnnamed4143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActionParameter(o[0]); checkActionParameter(o[1]); @@ -531,7 +659,7 @@ api.FormAction buildFormAction() { buildCounterFormAction++; if (buildCounterFormAction < 3) { o.actionMethodName = 'foo'; - o.parameters = buildUnnamed4160(); + o.parameters = buildUnnamed4143(); } buildCounterFormAction--; return o; @@ -544,17 +672,17 @@ void checkFormAction(api.FormAction o) { o.actionMethodName!, unittest.equals('foo'), ); - checkUnnamed4160(o.parameters!); + checkUnnamed4143(o.parameters!); } buildCounterFormAction--; } -core.List buildUnnamed4161() => [ +core.List buildUnnamed4144() => [ buildGoogleAppsCardV1ActionParameter(), buildGoogleAppsCardV1ActionParameter(), ]; -void checkUnnamed4161(core.List o) { +void checkUnnamed4144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1ActionParameter(o[0]); checkGoogleAppsCardV1ActionParameter(o[1]); @@ -567,7 +695,7 @@ api.GoogleAppsCardV1Action buildGoogleAppsCardV1Action() { if (buildCounterGoogleAppsCardV1Action < 3) { o.function = 'foo'; o.loadIndicator = 'foo'; - o.parameters = buildUnnamed4161(); + o.parameters = buildUnnamed4144(); o.persistValues = true; } buildCounterGoogleAppsCardV1Action--; @@ -585,7 +713,7 @@ void checkGoogleAppsCardV1Action(api.GoogleAppsCardV1Action o) { o.loadIndicator!, unittest.equals('foo'), ); - checkUnnamed4161(o.parameters!); + checkUnnamed4144(o.parameters!); unittest.expect(o.persistValues!, unittest.isTrue); } buildCounterGoogleAppsCardV1Action--; @@ -683,12 +811,12 @@ void checkGoogleAppsCardV1Button(api.GoogleAppsCardV1Button o) { buildCounterGoogleAppsCardV1Button--; } -core.List buildUnnamed4162() => [ +core.List buildUnnamed4145() => [ buildGoogleAppsCardV1Button(), buildGoogleAppsCardV1Button(), ]; -void checkUnnamed4162(core.List o) { +void checkUnnamed4145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1Button(o[0]); checkGoogleAppsCardV1Button(o[1]); @@ -699,7 +827,7 @@ api.GoogleAppsCardV1ButtonList buildGoogleAppsCardV1ButtonList() { final o = api.GoogleAppsCardV1ButtonList(); buildCounterGoogleAppsCardV1ButtonList++; if (buildCounterGoogleAppsCardV1ButtonList < 3) { - o.buttons = buildUnnamed4162(); + o.buttons = buildUnnamed4145(); } buildCounterGoogleAppsCardV1ButtonList--; return o; @@ -708,28 +836,28 @@ api.GoogleAppsCardV1ButtonList buildGoogleAppsCardV1ButtonList() { void checkGoogleAppsCardV1ButtonList(api.GoogleAppsCardV1ButtonList o) { buildCounterGoogleAppsCardV1ButtonList++; if (buildCounterGoogleAppsCardV1ButtonList < 3) { - checkUnnamed4162(o.buttons!); + checkUnnamed4145(o.buttons!); } buildCounterGoogleAppsCardV1ButtonList--; } -core.List buildUnnamed4163() => [ +core.List buildUnnamed4146() => [ buildGoogleAppsCardV1CardAction(), buildGoogleAppsCardV1CardAction(), ]; -void checkUnnamed4163(core.List o) { +void checkUnnamed4146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1CardAction(o[0]); checkGoogleAppsCardV1CardAction(o[1]); } -core.List buildUnnamed4164() => [ +core.List buildUnnamed4147() => [ buildGoogleAppsCardV1Section(), buildGoogleAppsCardV1Section(), ]; -void checkUnnamed4164(core.List o) { +void checkUnnamed4147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1Section(o[0]); checkGoogleAppsCardV1Section(o[1]); @@ -740,13 +868,13 @@ api.GoogleAppsCardV1Card buildGoogleAppsCardV1Card() { final o = api.GoogleAppsCardV1Card(); buildCounterGoogleAppsCardV1Card++; if (buildCounterGoogleAppsCardV1Card < 3) { - o.cardActions = buildUnnamed4163(); + o.cardActions = buildUnnamed4146(); o.displayStyle = 'foo'; o.fixedFooter = buildGoogleAppsCardV1CardFixedFooter(); o.header = buildGoogleAppsCardV1CardHeader(); o.name = 'foo'; o.peekCardHeader = buildGoogleAppsCardV1CardHeader(); - o.sections = buildUnnamed4164(); + o.sections = buildUnnamed4147(); } buildCounterGoogleAppsCardV1Card--; return o; @@ -755,7 +883,7 @@ api.GoogleAppsCardV1Card buildGoogleAppsCardV1Card() { void checkGoogleAppsCardV1Card(api.GoogleAppsCardV1Card o) { buildCounterGoogleAppsCardV1Card++; if (buildCounterGoogleAppsCardV1Card < 3) { - checkUnnamed4163(o.cardActions!); + checkUnnamed4146(o.cardActions!); unittest.expect( o.displayStyle!, unittest.equals('foo'), @@ -767,7 +895,7 @@ void checkGoogleAppsCardV1Card(api.GoogleAppsCardV1Card o) { unittest.equals('foo'), ); checkGoogleAppsCardV1CardHeader(o.peekCardHeader!); - checkUnnamed4164(o.sections!); + checkUnnamed4147(o.sections!); } buildCounterGoogleAppsCardV1Card--; } @@ -965,12 +1093,12 @@ void checkGoogleAppsCardV1Divider(api.GoogleAppsCardV1Divider o) { buildCounterGoogleAppsCardV1Divider--; } -core.List buildUnnamed4165() => [ +core.List buildUnnamed4148() => [ buildGoogleAppsCardV1GridItem(), buildGoogleAppsCardV1GridItem(), ]; -void checkUnnamed4165(core.List o) { +void checkUnnamed4148(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1GridItem(o[0]); checkGoogleAppsCardV1GridItem(o[1]); @@ -983,7 +1111,7 @@ api.GoogleAppsCardV1Grid buildGoogleAppsCardV1Grid() { if (buildCounterGoogleAppsCardV1Grid < 3) { o.borderStyle = buildGoogleAppsCardV1BorderStyle(); o.columnCount = 42; - o.items = buildUnnamed4165(); + o.items = buildUnnamed4148(); o.onClick = buildGoogleAppsCardV1OnClick(); o.title = 'foo'; } @@ -999,7 +1127,7 @@ void checkGoogleAppsCardV1Grid(api.GoogleAppsCardV1Grid o) { o.columnCount!, unittest.equals(42), ); - checkUnnamed4165(o.items!); + checkUnnamed4148(o.items!); checkGoogleAppsCardV1OnClick(o.onClick!); unittest.expect( o.title!, @@ -1234,12 +1362,12 @@ void checkGoogleAppsCardV1OpenLink(api.GoogleAppsCardV1OpenLink o) { buildCounterGoogleAppsCardV1OpenLink--; } -core.List buildUnnamed4166() => [ +core.List buildUnnamed4149() => [ buildGoogleAppsCardV1Widget(), buildGoogleAppsCardV1Widget(), ]; -void checkUnnamed4166(core.List o) { +void checkUnnamed4149(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1Widget(o[0]); checkGoogleAppsCardV1Widget(o[1]); @@ -1253,7 +1381,7 @@ api.GoogleAppsCardV1Section buildGoogleAppsCardV1Section() { o.collapsible = true; o.header = 'foo'; o.uncollapsibleWidgetsCount = 42; - o.widgets = buildUnnamed4166(); + o.widgets = buildUnnamed4149(); } buildCounterGoogleAppsCardV1Section--; return o; @@ -1271,17 +1399,17 @@ void checkGoogleAppsCardV1Section(api.GoogleAppsCardV1Section o) { o.uncollapsibleWidgetsCount!, unittest.equals(42), ); - checkUnnamed4166(o.widgets!); + checkUnnamed4149(o.widgets!); } buildCounterGoogleAppsCardV1Section--; } -core.List buildUnnamed4167() => [ +core.List buildUnnamed4150() => [ buildGoogleAppsCardV1SelectionItem(), buildGoogleAppsCardV1SelectionItem(), ]; -void checkUnnamed4167(core.List o) { +void checkUnnamed4150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1SelectionItem(o[0]); checkGoogleAppsCardV1SelectionItem(o[1]); @@ -1292,7 +1420,7 @@ api.GoogleAppsCardV1SelectionInput buildGoogleAppsCardV1SelectionInput() { final o = api.GoogleAppsCardV1SelectionInput(); buildCounterGoogleAppsCardV1SelectionInput++; if (buildCounterGoogleAppsCardV1SelectionInput < 3) { - o.items = buildUnnamed4167(); + o.items = buildUnnamed4150(); o.label = 'foo'; o.name = 'foo'; o.onChangeAction = buildGoogleAppsCardV1Action(); @@ -1305,7 +1433,7 @@ api.GoogleAppsCardV1SelectionInput buildGoogleAppsCardV1SelectionInput() { void checkGoogleAppsCardV1SelectionInput(api.GoogleAppsCardV1SelectionInput o) { buildCounterGoogleAppsCardV1SelectionInput++; if (buildCounterGoogleAppsCardV1SelectionInput < 3) { - checkUnnamed4167(o.items!); + checkUnnamed4150(o.items!); unittest.expect( o.label!, unittest.equals('foo'), @@ -1374,12 +1502,12 @@ void checkGoogleAppsCardV1SuggestionItem(api.GoogleAppsCardV1SuggestionItem o) { buildCounterGoogleAppsCardV1SuggestionItem--; } -core.List buildUnnamed4168() => [ +core.List buildUnnamed4151() => [ buildGoogleAppsCardV1SuggestionItem(), buildGoogleAppsCardV1SuggestionItem(), ]; -void checkUnnamed4168(core.List o) { +void checkUnnamed4151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCardV1SuggestionItem(o[0]); checkGoogleAppsCardV1SuggestionItem(o[1]); @@ -1390,7 +1518,7 @@ api.GoogleAppsCardV1Suggestions buildGoogleAppsCardV1Suggestions() { final o = api.GoogleAppsCardV1Suggestions(); buildCounterGoogleAppsCardV1Suggestions++; if (buildCounterGoogleAppsCardV1Suggestions < 3) { - o.items = buildUnnamed4168(); + o.items = buildUnnamed4151(); } buildCounterGoogleAppsCardV1Suggestions--; return o; @@ -1399,7 +1527,7 @@ api.GoogleAppsCardV1Suggestions buildGoogleAppsCardV1Suggestions() { void checkGoogleAppsCardV1Suggestions(api.GoogleAppsCardV1Suggestions o) { buildCounterGoogleAppsCardV1Suggestions++; if (buildCounterGoogleAppsCardV1Suggestions < 3) { - checkUnnamed4168(o.items!); + checkUnnamed4151(o.items!); } buildCounterGoogleAppsCardV1Suggestions--; } @@ -1613,6 +1741,31 @@ void checkImageButton(api.ImageButton o) { buildCounterImageButton--; } +core.int buildCounterInputs = 0; +api.Inputs buildInputs() { + final o = api.Inputs(); + buildCounterInputs++; + if (buildCounterInputs < 3) { + o.dateInput = buildDateInput(); + o.dateTimeInput = buildDateTimeInput(); + o.stringInputs = buildStringInputs(); + o.timeInput = buildTimeInput(); + } + buildCounterInputs--; + return o; +} + +void checkInputs(api.Inputs o) { + buildCounterInputs++; + if (buildCounterInputs < 3) { + checkDateInput(o.dateInput!); + checkDateTimeInput(o.dateTimeInput!); + checkStringInputs(o.stringInputs!); + checkTimeInput(o.timeInput!); + } + buildCounterInputs--; +} + core.int buildCounterKeyValue = 0; api.KeyValue buildKeyValue() { final o = api.KeyValue(); @@ -1661,12 +1814,12 @@ void checkKeyValue(api.KeyValue o) { buildCounterKeyValue--; } -core.List buildUnnamed4169() => [ +core.List buildUnnamed4152() => [ buildMembership(), buildMembership(), ]; -void checkUnnamed4169(core.List o) { +void checkUnnamed4152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembership(o[0]); checkMembership(o[1]); @@ -1677,7 +1830,7 @@ api.ListMembershipsResponse buildListMembershipsResponse() { final o = api.ListMembershipsResponse(); buildCounterListMembershipsResponse++; if (buildCounterListMembershipsResponse < 3) { - o.memberships = buildUnnamed4169(); + o.memberships = buildUnnamed4152(); o.nextPageToken = 'foo'; } buildCounterListMembershipsResponse--; @@ -1687,7 +1840,7 @@ api.ListMembershipsResponse buildListMembershipsResponse() { void checkListMembershipsResponse(api.ListMembershipsResponse o) { buildCounterListMembershipsResponse++; if (buildCounterListMembershipsResponse < 3) { - checkUnnamed4169(o.memberships!); + checkUnnamed4152(o.memberships!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1696,12 +1849,12 @@ void checkListMembershipsResponse(api.ListMembershipsResponse o) { buildCounterListMembershipsResponse--; } -core.List buildUnnamed4170() => [ +core.List buildUnnamed4153() => [ buildSpace(), buildSpace(), ]; -void checkUnnamed4170(core.List o) { +void checkUnnamed4153(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpace(o[0]); checkSpace(o[1]); @@ -1713,7 +1866,7 @@ api.ListSpacesResponse buildListSpacesResponse() { buildCounterListSpacesResponse++; if (buildCounterListSpacesResponse < 3) { o.nextPageToken = 'foo'; - o.spaces = buildUnnamed4170(); + o.spaces = buildUnnamed4153(); } buildCounterListSpacesResponse--; return o; @@ -1726,7 +1879,7 @@ void checkListSpacesResponse(api.ListSpacesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4170(o.spaces!); + checkUnnamed4153(o.spaces!); } buildCounterListSpacesResponse--; } @@ -1787,34 +1940,34 @@ void checkMembership(api.Membership o) { buildCounterMembership--; } -core.List buildUnnamed4171() => [ +core.List buildUnnamed4154() => [ buildAnnotation(), buildAnnotation(), ]; -void checkUnnamed4171(core.List o) { +void checkUnnamed4154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotation(o[0]); checkAnnotation(o[1]); } -core.List buildUnnamed4172() => [ +core.List buildUnnamed4155() => [ buildAttachment(), buildAttachment(), ]; -void checkUnnamed4172(core.List o) { +void checkUnnamed4155(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachment(o[0]); checkAttachment(o[1]); } -core.List buildUnnamed4173() => [ +core.List buildUnnamed4156() => [ buildCard(), buildCard(), ]; -void checkUnnamed4173(core.List o) { +void checkUnnamed4156(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCard(o[0]); checkCard(o[1]); @@ -1826,12 +1979,13 @@ api.Message buildMessage() { buildCounterMessage++; if (buildCounterMessage < 3) { o.actionResponse = buildActionResponse(); - o.annotations = buildUnnamed4171(); + o.annotations = buildUnnamed4154(); o.argumentText = 'foo'; - o.attachment = buildUnnamed4172(); - o.cards = buildUnnamed4173(); + o.attachment = buildUnnamed4155(); + o.cards = buildUnnamed4156(); o.createTime = 'foo'; o.fallbackText = 'foo'; + o.lastUpdateTime = 'foo'; o.name = 'foo'; o.previewText = 'foo'; o.sender = buildUser(); @@ -1848,13 +2002,13 @@ void checkMessage(api.Message o) { buildCounterMessage++; if (buildCounterMessage < 3) { checkActionResponse(o.actionResponse!); - checkUnnamed4171(o.annotations!); + checkUnnamed4154(o.annotations!); unittest.expect( o.argumentText!, unittest.equals('foo'), ); - checkUnnamed4172(o.attachment!); - checkUnnamed4173(o.cards!); + checkUnnamed4155(o.attachment!); + checkUnnamed4156(o.cards!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -1863,6 +2017,10 @@ void checkMessage(api.Message o) { o.fallbackText!, unittest.equals('foo'), ); + unittest.expect( + o.lastUpdateTime!, + unittest.equals('foo'), + ); unittest.expect( o.name!, unittest.equals('foo'), @@ -1926,12 +2084,12 @@ void checkOpenLink(api.OpenLink o) { buildCounterOpenLink--; } -core.List buildUnnamed4174() => [ +core.List buildUnnamed4157() => [ buildWidgetMarkup(), buildWidgetMarkup(), ]; -void checkUnnamed4174(core.List o) { +void checkUnnamed4157(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWidgetMarkup(o[0]); checkWidgetMarkup(o[1]); @@ -1943,7 +2101,7 @@ api.Section buildSection() { buildCounterSection++; if (buildCounterSection < 3) { o.header = 'foo'; - o.widgets = buildUnnamed4174(); + o.widgets = buildUnnamed4157(); } buildCounterSection--; return o; @@ -1956,7 +2114,7 @@ void checkSection(api.Section o) { o.header!, unittest.equals('foo'), ); - checkUnnamed4174(o.widgets!); + checkUnnamed4157(o.widgets!); } buildCounterSection--; } @@ -2055,6 +2213,42 @@ void checkSpace(api.Space o) { buildCounterSpace--; } +core.List buildUnnamed4158() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4158(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterStringInputs = 0; +api.StringInputs buildStringInputs() { + final o = api.StringInputs(); + buildCounterStringInputs++; + if (buildCounterStringInputs < 3) { + o.value = buildUnnamed4158(); + } + buildCounterStringInputs--; + return o; +} + +void checkStringInputs(api.StringInputs o) { + buildCounterStringInputs++; + if (buildCounterStringInputs < 3) { + checkUnnamed4158(o.value!); + } + buildCounterStringInputs--; +} + core.int buildCounterTextButton = 0; api.TextButton buildTextButton() { final o = api.TextButton(); @@ -2123,6 +2317,60 @@ void checkThread(api.Thread o) { buildCounterThread--; } +core.int buildCounterTimeInput = 0; +api.TimeInput buildTimeInput() { + final o = api.TimeInput(); + buildCounterTimeInput++; + if (buildCounterTimeInput < 3) { + o.hours = 42; + o.minutes = 42; + } + buildCounterTimeInput--; + return o; +} + +void checkTimeInput(api.TimeInput o) { + buildCounterTimeInput++; + if (buildCounterTimeInput < 3) { + unittest.expect( + o.hours!, + unittest.equals(42), + ); + unittest.expect( + o.minutes!, + unittest.equals(42), + ); + } + buildCounterTimeInput--; +} + +core.int buildCounterTimeZone = 0; +api.TimeZone buildTimeZone() { + final o = api.TimeZone(); + buildCounterTimeZone++; + if (buildCounterTimeZone < 3) { + o.id = 'foo'; + o.offset = 42; + } + buildCounterTimeZone--; + return o; +} + +void checkTimeZone(api.TimeZone o) { + buildCounterTimeZone++; + if (buildCounterTimeZone < 3) { + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + unittest.expect( + o.offset!, + unittest.equals(42), + ); + } + buildCounterTimeZone--; +} + core.int buildCounterUser = 0; api.User buildUser() { final o = api.User(); @@ -2186,12 +2434,12 @@ void checkUserMentionMetadata(api.UserMentionMetadata o) { buildCounterUserMentionMetadata--; } -core.List buildUnnamed4175() => [ +core.List buildUnnamed4159() => [ buildButton(), buildButton(), ]; -void checkUnnamed4175(core.List o) { +void checkUnnamed4159(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkButton(o[0]); checkButton(o[1]); @@ -2202,7 +2450,7 @@ api.WidgetMarkup buildWidgetMarkup() { final o = api.WidgetMarkup(); buildCounterWidgetMarkup++; if (buildCounterWidgetMarkup < 3) { - o.buttons = buildUnnamed4175(); + o.buttons = buildUnnamed4159(); o.image = buildImage(); o.keyValue = buildKeyValue(); o.textParagraph = buildTextParagraph(); @@ -2214,7 +2462,7 @@ api.WidgetMarkup buildWidgetMarkup() { void checkWidgetMarkup(api.WidgetMarkup o) { buildCounterWidgetMarkup++; if (buildCounterWidgetMarkup < 3) { - checkUnnamed4175(o.buttons!); + checkUnnamed4159(o.buttons!); checkImage(o.image!); checkKeyValue(o.keyValue!); checkTextParagraph(o.textParagraph!); @@ -2333,6 +2581,36 @@ void main() { }); }); + unittest.group('obj-schema-CommonEventObject', () { + unittest.test('to-json--from-json', () async { + final o = buildCommonEventObject(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CommonEventObject.fromJson( + oJson as core.Map); + checkCommonEventObject(od); + }); + }); + + unittest.group('obj-schema-DateInput', () { + unittest.test('to-json--from-json', () async { + final o = buildDateInput(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.DateInput.fromJson(oJson as core.Map); + checkDateInput(od); + }); + }); + + unittest.group('obj-schema-DateTimeInput', () { + unittest.test('to-json--from-json', () async { + final o = buildDateTimeInput(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DateTimeInput.fromJson( + oJson as core.Map); + checkDateTimeInput(od); + }); + }); + unittest.group('obj-schema-DeprecatedEvent', () { unittest.test('to-json--from-json', () async { final o = buildDeprecatedEvent(); @@ -2703,6 +2981,16 @@ void main() { }); }); + unittest.group('obj-schema-Inputs', () { + unittest.test('to-json--from-json', () async { + final o = buildInputs(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Inputs.fromJson(oJson as core.Map); + checkInputs(od); + }); + }); + unittest.group('obj-schema-KeyValue', () { unittest.test('to-json--from-json', () async { final o = buildKeyValue(); @@ -2823,6 +3111,16 @@ void main() { }); }); + unittest.group('obj-schema-StringInputs', () { + unittest.test('to-json--from-json', () async { + final o = buildStringInputs(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.StringInputs.fromJson( + oJson as core.Map); + checkStringInputs(od); + }); + }); + unittest.group('obj-schema-TextButton', () { unittest.test('to-json--from-json', () async { final o = buildTextButton(); @@ -2853,6 +3151,26 @@ void main() { }); }); + unittest.group('obj-schema-TimeInput', () { + unittest.test('to-json--from-json', () async { + final o = buildTimeInput(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.TimeInput.fromJson(oJson as core.Map); + checkTimeInput(od); + }); + }); + + unittest.group('obj-schema-TimeZone', () { + unittest.test('to-json--from-json', () async { + final o = buildTimeZone(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.TimeZone.fromJson(oJson as core.Map); + checkTimeZone(od); + }); + }); + unittest.group('obj-schema-User', () { unittest.test('to-json--from-json', () async { final o = buildUser(); diff --git a/generated/googleapis/test/chromemanagement/v1_test.dart b/generated/googleapis/test/chromemanagement/v1_test.dart index a5ada945a..e11ccfe3d 100644 --- a/generated/googleapis/test/chromemanagement/v1_test.dart +++ b/generated/googleapis/test/chromemanagement/v1_test.dart @@ -26,6 +26,166 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.List + buildUnnamed1492() => [ + buildGoogleChromeManagementV1AndroidAppPermission(), + buildGoogleChromeManagementV1AndroidAppPermission(), + ]; + +void checkUnnamed1492( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromeManagementV1AndroidAppPermission(o[0]); + checkGoogleChromeManagementV1AndroidAppPermission(o[1]); +} + +core.int buildCounterGoogleChromeManagementV1AndroidAppInfo = 0; +api.GoogleChromeManagementV1AndroidAppInfo + buildGoogleChromeManagementV1AndroidAppInfo() { + final o = api.GoogleChromeManagementV1AndroidAppInfo(); + buildCounterGoogleChromeManagementV1AndroidAppInfo++; + if (buildCounterGoogleChromeManagementV1AndroidAppInfo < 3) { + o.permissions = buildUnnamed1492(); + } + buildCounterGoogleChromeManagementV1AndroidAppInfo--; + return o; +} + +void checkGoogleChromeManagementV1AndroidAppInfo( + api.GoogleChromeManagementV1AndroidAppInfo o) { + buildCounterGoogleChromeManagementV1AndroidAppInfo++; + if (buildCounterGoogleChromeManagementV1AndroidAppInfo < 3) { + checkUnnamed1492(o.permissions!); + } + buildCounterGoogleChromeManagementV1AndroidAppInfo--; +} + +core.int buildCounterGoogleChromeManagementV1AndroidAppPermission = 0; +api.GoogleChromeManagementV1AndroidAppPermission + buildGoogleChromeManagementV1AndroidAppPermission() { + final o = api.GoogleChromeManagementV1AndroidAppPermission(); + buildCounterGoogleChromeManagementV1AndroidAppPermission++; + if (buildCounterGoogleChromeManagementV1AndroidAppPermission < 3) { + o.type = 'foo'; + } + buildCounterGoogleChromeManagementV1AndroidAppPermission--; + return o; +} + +void checkGoogleChromeManagementV1AndroidAppPermission( + api.GoogleChromeManagementV1AndroidAppPermission o) { + buildCounterGoogleChromeManagementV1AndroidAppPermission++; + if (buildCounterGoogleChromeManagementV1AndroidAppPermission < 3) { + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1AndroidAppPermission--; +} + +core.int buildCounterGoogleChromeManagementV1AppDetails = 0; +api.GoogleChromeManagementV1AppDetails + buildGoogleChromeManagementV1AppDetails() { + final o = api.GoogleChromeManagementV1AppDetails(); + buildCounterGoogleChromeManagementV1AppDetails++; + if (buildCounterGoogleChromeManagementV1AppDetails < 3) { + o.androidAppInfo = buildGoogleChromeManagementV1AndroidAppInfo(); + o.appId = 'foo'; + o.chromeAppInfo = buildGoogleChromeManagementV1ChromeAppInfo(); + o.description = 'foo'; + o.detailUri = 'foo'; + o.displayName = 'foo'; + o.firstPublishTime = 'foo'; + o.homepageUri = 'foo'; + o.iconUri = 'foo'; + o.isPaidApp = true; + o.latestPublishTime = 'foo'; + o.name = 'foo'; + o.privacyPolicyUri = 'foo'; + o.publisher = 'foo'; + o.reviewNumber = 'foo'; + o.reviewRating = 42.0; + o.revisionId = 'foo'; + o.serviceError = buildGoogleRpcStatus(); + o.type = 'foo'; + } + buildCounterGoogleChromeManagementV1AppDetails--; + return o; +} + +void checkGoogleChromeManagementV1AppDetails( + api.GoogleChromeManagementV1AppDetails o) { + buildCounterGoogleChromeManagementV1AppDetails++; + if (buildCounterGoogleChromeManagementV1AppDetails < 3) { + checkGoogleChromeManagementV1AndroidAppInfo(o.androidAppInfo!); + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + checkGoogleChromeManagementV1ChromeAppInfo(o.chromeAppInfo!); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.detailUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.firstPublishTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.homepageUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.iconUri!, + unittest.equals('foo'), + ); + unittest.expect(o.isPaidApp!, unittest.isTrue); + unittest.expect( + o.latestPublishTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.privacyPolicyUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.publisher!, + unittest.equals('foo'), + ); + unittest.expect( + o.reviewNumber!, + unittest.equals('foo'), + ); + unittest.expect( + o.reviewRating!, + unittest.equals(42.0), + ); + unittest.expect( + o.revisionId!, + unittest.equals('foo'), + ); + checkGoogleRpcStatus(o.serviceError!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1AppDetails--; +} + core.int buildCounterGoogleChromeManagementV1BrowserVersion = 0; api.GoogleChromeManagementV1BrowserVersion buildGoogleChromeManagementV1BrowserVersion() { @@ -70,12 +230,129 @@ void checkGoogleChromeManagementV1BrowserVersion( buildCounterGoogleChromeManagementV1BrowserVersion--; } -core.List buildUnnamed1467() => [ +core.List buildUnnamed1493() => + [ + buildGoogleChromeManagementV1ChromeAppPermission(), + buildGoogleChromeManagementV1ChromeAppPermission(), + ]; + +void checkUnnamed1493( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromeManagementV1ChromeAppPermission(o[0]); + checkGoogleChromeManagementV1ChromeAppPermission(o[1]); +} + +core.List buildUnnamed1494() => + [ + buildGoogleChromeManagementV1ChromeAppSiteAccess(), + buildGoogleChromeManagementV1ChromeAppSiteAccess(), + ]; + +void checkUnnamed1494( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromeManagementV1ChromeAppSiteAccess(o[0]); + checkGoogleChromeManagementV1ChromeAppSiteAccess(o[1]); +} + +core.int buildCounterGoogleChromeManagementV1ChromeAppInfo = 0; +api.GoogleChromeManagementV1ChromeAppInfo + buildGoogleChromeManagementV1ChromeAppInfo() { + final o = api.GoogleChromeManagementV1ChromeAppInfo(); + buildCounterGoogleChromeManagementV1ChromeAppInfo++; + if (buildCounterGoogleChromeManagementV1ChromeAppInfo < 3) { + o.googleOwned = true; + o.isCwsHosted = true; + o.isTheme = true; + o.minUserCount = 42; + o.permissions = buildUnnamed1493(); + o.siteAccess = buildUnnamed1494(); + o.supportEnabled = true; + } + buildCounterGoogleChromeManagementV1ChromeAppInfo--; + return o; +} + +void checkGoogleChromeManagementV1ChromeAppInfo( + api.GoogleChromeManagementV1ChromeAppInfo o) { + buildCounterGoogleChromeManagementV1ChromeAppInfo++; + if (buildCounterGoogleChromeManagementV1ChromeAppInfo < 3) { + unittest.expect(o.googleOwned!, unittest.isTrue); + unittest.expect(o.isCwsHosted!, unittest.isTrue); + unittest.expect(o.isTheme!, unittest.isTrue); + unittest.expect( + o.minUserCount!, + unittest.equals(42), + ); + checkUnnamed1493(o.permissions!); + checkUnnamed1494(o.siteAccess!); + unittest.expect(o.supportEnabled!, unittest.isTrue); + } + buildCounterGoogleChromeManagementV1ChromeAppInfo--; +} + +core.int buildCounterGoogleChromeManagementV1ChromeAppPermission = 0; +api.GoogleChromeManagementV1ChromeAppPermission + buildGoogleChromeManagementV1ChromeAppPermission() { + final o = api.GoogleChromeManagementV1ChromeAppPermission(); + buildCounterGoogleChromeManagementV1ChromeAppPermission++; + if (buildCounterGoogleChromeManagementV1ChromeAppPermission < 3) { + o.accessUserData = true; + o.documentationUri = 'foo'; + o.type = 'foo'; + } + buildCounterGoogleChromeManagementV1ChromeAppPermission--; + return o; +} + +void checkGoogleChromeManagementV1ChromeAppPermission( + api.GoogleChromeManagementV1ChromeAppPermission o) { + buildCounterGoogleChromeManagementV1ChromeAppPermission++; + if (buildCounterGoogleChromeManagementV1ChromeAppPermission < 3) { + unittest.expect(o.accessUserData!, unittest.isTrue); + unittest.expect( + o.documentationUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1ChromeAppPermission--; +} + +core.int buildCounterGoogleChromeManagementV1ChromeAppSiteAccess = 0; +api.GoogleChromeManagementV1ChromeAppSiteAccess + buildGoogleChromeManagementV1ChromeAppSiteAccess() { + final o = api.GoogleChromeManagementV1ChromeAppSiteAccess(); + buildCounterGoogleChromeManagementV1ChromeAppSiteAccess++; + if (buildCounterGoogleChromeManagementV1ChromeAppSiteAccess < 3) { + o.hostMatch = 'foo'; + } + buildCounterGoogleChromeManagementV1ChromeAppSiteAccess--; + return o; +} + +void checkGoogleChromeManagementV1ChromeAppSiteAccess( + api.GoogleChromeManagementV1ChromeAppSiteAccess o) { + buildCounterGoogleChromeManagementV1ChromeAppSiteAccess++; + if (buildCounterGoogleChromeManagementV1ChromeAppSiteAccess < 3) { + unittest.expect( + o.hostMatch!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1ChromeAppSiteAccess--; +} + +core.List buildUnnamed1495() => [ buildGoogleChromeManagementV1BrowserVersion(), buildGoogleChromeManagementV1BrowserVersion(), ]; -void checkUnnamed1467(core.List o) { +void checkUnnamed1495(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1BrowserVersion(o[0]); checkGoogleChromeManagementV1BrowserVersion(o[1]); @@ -87,7 +364,7 @@ api.GoogleChromeManagementV1CountChromeVersionsResponse final o = api.GoogleChromeManagementV1CountChromeVersionsResponse(); buildCounterGoogleChromeManagementV1CountChromeVersionsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeVersionsResponse < 3) { - o.browserVersions = buildUnnamed1467(); + o.browserVersions = buildUnnamed1495(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -99,7 +376,7 @@ void checkGoogleChromeManagementV1CountChromeVersionsResponse( api.GoogleChromeManagementV1CountChromeVersionsResponse o) { buildCounterGoogleChromeManagementV1CountChromeVersionsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeVersionsResponse < 3) { - checkUnnamed1467(o.browserVersions!); + checkUnnamed1495(o.browserVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -112,12 +389,12 @@ void checkGoogleChromeManagementV1CountChromeVersionsResponse( buildCounterGoogleChromeManagementV1CountChromeVersionsResponse--; } -core.List buildUnnamed1468() => [ +core.List buildUnnamed1496() => [ buildGoogleChromeManagementV1InstalledApp(), buildGoogleChromeManagementV1InstalledApp(), ]; -void checkUnnamed1468(core.List o) { +void checkUnnamed1496(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1InstalledApp(o[0]); checkGoogleChromeManagementV1InstalledApp(o[1]); @@ -129,7 +406,7 @@ api.GoogleChromeManagementV1CountInstalledAppsResponse final o = api.GoogleChromeManagementV1CountInstalledAppsResponse(); buildCounterGoogleChromeManagementV1CountInstalledAppsResponse++; if (buildCounterGoogleChromeManagementV1CountInstalledAppsResponse < 3) { - o.installedApps = buildUnnamed1468(); + o.installedApps = buildUnnamed1496(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -141,7 +418,7 @@ void checkGoogleChromeManagementV1CountInstalledAppsResponse( api.GoogleChromeManagementV1CountInstalledAppsResponse o) { buildCounterGoogleChromeManagementV1CountInstalledAppsResponse++; if (buildCounterGoogleChromeManagementV1CountInstalledAppsResponse < 3) { - checkUnnamed1468(o.installedApps!); + checkUnnamed1496(o.installedApps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -181,12 +458,12 @@ void checkGoogleChromeManagementV1Device(api.GoogleChromeManagementV1Device o) { buildCounterGoogleChromeManagementV1Device--; } -core.List buildUnnamed1469() => [ +core.List buildUnnamed1497() => [ buildGoogleChromeManagementV1Device(), buildGoogleChromeManagementV1Device(), ]; -void checkUnnamed1469(core.List o) { +void checkUnnamed1497(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1Device(o[0]); checkGoogleChromeManagementV1Device(o[1]); @@ -199,7 +476,7 @@ api.GoogleChromeManagementV1FindInstalledAppDevicesResponse final o = api.GoogleChromeManagementV1FindInstalledAppDevicesResponse(); buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse++; if (buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse < 3) { - o.devices = buildUnnamed1469(); + o.devices = buildUnnamed1497(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -211,7 +488,7 @@ void checkGoogleChromeManagementV1FindInstalledAppDevicesResponse( api.GoogleChromeManagementV1FindInstalledAppDevicesResponse o) { buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse++; if (buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse < 3) { - checkUnnamed1469(o.devices!); + checkUnnamed1497(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -224,12 +501,12 @@ void checkGoogleChromeManagementV1FindInstalledAppDevicesResponse( buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse--; } -core.List buildUnnamed1470() => [ +core.List buildUnnamed1498() => [ 'foo', 'foo', ]; -void checkUnnamed1470(core.List o) { +void checkUnnamed1498(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -257,7 +534,7 @@ api.GoogleChromeManagementV1InstalledApp o.displayName = 'foo'; o.homepageUri = 'foo'; o.osUserCount = 'foo'; - o.permissions = buildUnnamed1470(); + o.permissions = buildUnnamed1498(); } buildCounterGoogleChromeManagementV1InstalledApp--; return o; @@ -304,12 +581,127 @@ void checkGoogleChromeManagementV1InstalledApp( o.osUserCount!, unittest.equals('foo'), ); - checkUnnamed1470(o.permissions!); + checkUnnamed1498(o.permissions!); } buildCounterGoogleChromeManagementV1InstalledApp--; } +core.Map buildUnnamed1499() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed1499(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed1500() => [ + buildUnnamed1499(), + buildUnnamed1499(), + ]; + +void checkUnnamed1500(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed1499(o[0]); + checkUnnamed1499(o[1]); +} + +core.int buildCounterGoogleRpcStatus = 0; +api.GoogleRpcStatus buildGoogleRpcStatus() { + final o = api.GoogleRpcStatus(); + buildCounterGoogleRpcStatus++; + if (buildCounterGoogleRpcStatus < 3) { + o.code = 42; + o.details = buildUnnamed1500(); + o.message = 'foo'; + } + buildCounterGoogleRpcStatus--; + return o; +} + +void checkGoogleRpcStatus(api.GoogleRpcStatus o) { + buildCounterGoogleRpcStatus++; + if (buildCounterGoogleRpcStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed1500(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterGoogleRpcStatus--; +} + void main() { + unittest.group('obj-schema-GoogleChromeManagementV1AndroidAppInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1AndroidAppInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1AndroidAppInfo.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1AndroidAppInfo(od); + }); + }); + + unittest.group('obj-schema-GoogleChromeManagementV1AndroidAppPermission', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1AndroidAppPermission(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1AndroidAppPermission.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1AndroidAppPermission(od); + }); + }); + + unittest.group('obj-schema-GoogleChromeManagementV1AppDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1AppDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1AppDetails.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1AppDetails(od); + }); + }); + unittest.group('obj-schema-GoogleChromeManagementV1BrowserVersion', () { unittest.test('to-json--from-json', () async { final o = buildGoogleChromeManagementV1BrowserVersion(); @@ -320,6 +712,36 @@ void main() { }); }); + unittest.group('obj-schema-GoogleChromeManagementV1ChromeAppInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1ChromeAppInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1ChromeAppInfo.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1ChromeAppInfo(od); + }); + }); + + unittest.group('obj-schema-GoogleChromeManagementV1ChromeAppPermission', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1ChromeAppPermission(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1ChromeAppPermission.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1ChromeAppPermission(od); + }); + }); + + unittest.group('obj-schema-GoogleChromeManagementV1ChromeAppSiteAccess', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1ChromeAppSiteAccess(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1ChromeAppSiteAccess.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1ChromeAppSiteAccess(od); + }); + }); + unittest.group( 'obj-schema-GoogleChromeManagementV1CountChromeVersionsResponse', () { unittest.test('to-json--from-json', () async { @@ -376,6 +798,184 @@ void main() { }); }); + unittest.group('obj-schema-GoogleRpcStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleRpcStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleRpcStatus.fromJson( + oJson as core.Map); + checkGoogleRpcStatus(od); + }); + }); + + unittest.group('resource-CustomersAppsAndroidResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ChromeManagementApi(mock).customers.apps.android; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleChromeManagementV1AppDetails()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleChromeManagementV1AppDetails( + response as api.GoogleChromeManagementV1AppDetails); + }); + }); + + unittest.group('resource-CustomersAppsChromeResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ChromeManagementApi(mock).customers.apps.chrome; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleChromeManagementV1AppDetails()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleChromeManagementV1AppDetails( + response as api.GoogleChromeManagementV1AppDetails); + }); + }); + + unittest.group('resource-CustomersAppsWebResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ChromeManagementApi(mock).customers.apps.web; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleChromeManagementV1AppDetails()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleChromeManagementV1AppDetails( + response as api.GoogleChromeManagementV1AppDetails); + }); + }); + unittest.group('resource-CustomersReportsResource', () { unittest.test('method--countChromeVersions', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/chromepolicy/v1_test.dart b/generated/googleapis/test/chromepolicy/v1_test.dart index a365c4047..8b91b1506 100644 --- a/generated/googleapis/test/chromepolicy/v1_test.dart +++ b/generated/googleapis/test/chromepolicy/v1_test.dart @@ -56,12 +56,12 @@ void checkGoogleChromePolicyV1AdditionalTargetKeyName( } core.List - buildUnnamed7573() => [ + buildUnnamed7651() => [ buildGoogleChromePolicyV1InheritOrgUnitPolicyRequest(), buildGoogleChromePolicyV1InheritOrgUnitPolicyRequest(), ]; -void checkUnnamed7573( +void checkUnnamed7651( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1InheritOrgUnitPolicyRequest(o[0]); @@ -74,7 +74,7 @@ api.GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest final o = api.GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest(); buildCounterGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest++; if (buildCounterGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest < 3) { - o.requests = buildUnnamed7573(); + o.requests = buildUnnamed7651(); } buildCounterGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest--; return o; @@ -84,18 +84,18 @@ void checkGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest( api.GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest o) { buildCounterGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest++; if (buildCounterGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest < 3) { - checkUnnamed7573(o.requests!); + checkUnnamed7651(o.requests!); } buildCounterGoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest--; } core.List - buildUnnamed7574() => [ + buildUnnamed7652() => [ buildGoogleChromePolicyV1ModifyOrgUnitPolicyRequest(), buildGoogleChromePolicyV1ModifyOrgUnitPolicyRequest(), ]; -void checkUnnamed7574( +void checkUnnamed7652( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1ModifyOrgUnitPolicyRequest(o[0]); @@ -108,7 +108,7 @@ api.GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest final o = api.GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest(); buildCounterGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest++; if (buildCounterGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest < 3) { - o.requests = buildUnnamed7574(); + o.requests = buildUnnamed7652(); } buildCounterGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest--; return o; @@ -118,7 +118,7 @@ void checkGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest( api.GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest o) { buildCounterGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest++; if (buildCounterGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest < 3) { - checkUnnamed7574(o.requests!); + checkUnnamed7652(o.requests!); } buildCounterGoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest--; } @@ -149,12 +149,12 @@ void checkGoogleChromePolicyV1InheritOrgUnitPolicyRequest( buildCounterGoogleChromePolicyV1InheritOrgUnitPolicyRequest--; } -core.List buildUnnamed7575() => [ +core.List buildUnnamed7653() => [ buildGoogleChromePolicyV1PolicySchema(), buildGoogleChromePolicyV1PolicySchema(), ]; -void checkUnnamed7575(core.List o) { +void checkUnnamed7653(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1PolicySchema(o[0]); checkGoogleChromePolicyV1PolicySchema(o[1]); @@ -167,7 +167,7 @@ api.GoogleChromePolicyV1ListPolicySchemasResponse buildCounterGoogleChromePolicyV1ListPolicySchemasResponse++; if (buildCounterGoogleChromePolicyV1ListPolicySchemasResponse < 3) { o.nextPageToken = 'foo'; - o.policySchemas = buildUnnamed7575(); + o.policySchemas = buildUnnamed7653(); } buildCounterGoogleChromePolicyV1ListPolicySchemasResponse--; return o; @@ -181,7 +181,7 @@ void checkGoogleChromePolicyV1ListPolicySchemasResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7575(o.policySchemas!); + checkUnnamed7653(o.policySchemas!); } buildCounterGoogleChromePolicyV1ListPolicySchemasResponse--; } @@ -214,12 +214,12 @@ void checkGoogleChromePolicyV1ModifyOrgUnitPolicyRequest( buildCounterGoogleChromePolicyV1ModifyOrgUnitPolicyRequest--; } -core.List buildUnnamed7576() => [ +core.List buildUnnamed7654() => [ 'foo', 'foo', ]; -void checkUnnamed7576(core.List o) { +void checkUnnamed7654(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -231,13 +231,13 @@ void checkUnnamed7576(core.List o) { ); } -core.List buildUnnamed7577() => +core.List buildUnnamed7655() => [ buildGoogleChromePolicyV1AdditionalTargetKeyName(), buildGoogleChromePolicyV1AdditionalTargetKeyName(), ]; -void checkUnnamed7577( +void checkUnnamed7655( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1AdditionalTargetKeyName(o[0]); @@ -245,12 +245,12 @@ void checkUnnamed7577( } core.List - buildUnnamed7578() => [ + buildUnnamed7656() => [ buildGoogleChromePolicyV1PolicySchemaFieldDescription(), buildGoogleChromePolicyV1PolicySchemaFieldDescription(), ]; -void checkUnnamed7578( +void checkUnnamed7656( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1PolicySchemaFieldDescription(o[0]); @@ -258,12 +258,12 @@ void checkUnnamed7578( } core.List - buildUnnamed7579() => [ + buildUnnamed7657() => [ buildGoogleChromePolicyV1PolicySchemaNoticeDescription(), buildGoogleChromePolicyV1PolicySchemaNoticeDescription(), ]; -void checkUnnamed7579( +void checkUnnamed7657( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1PolicySchemaNoticeDescription(o[0]); @@ -275,12 +275,12 @@ api.GoogleChromePolicyV1PolicySchema buildGoogleChromePolicyV1PolicySchema() { final o = api.GoogleChromePolicyV1PolicySchema(); buildCounterGoogleChromePolicyV1PolicySchema++; if (buildCounterGoogleChromePolicyV1PolicySchema < 3) { - o.accessRestrictions = buildUnnamed7576(); - o.additionalTargetKeyNames = buildUnnamed7577(); + o.accessRestrictions = buildUnnamed7654(); + o.additionalTargetKeyNames = buildUnnamed7655(); o.definition = buildProto2FileDescriptorProto(); - o.fieldDescriptions = buildUnnamed7578(); + o.fieldDescriptions = buildUnnamed7656(); o.name = 'foo'; - o.notices = buildUnnamed7579(); + o.notices = buildUnnamed7657(); o.policyDescription = 'foo'; o.schemaName = 'foo'; o.supportUri = 'foo'; @@ -293,15 +293,15 @@ void checkGoogleChromePolicyV1PolicySchema( api.GoogleChromePolicyV1PolicySchema o) { buildCounterGoogleChromePolicyV1PolicySchema++; if (buildCounterGoogleChromePolicyV1PolicySchema < 3) { - checkUnnamed7576(o.accessRestrictions!); - checkUnnamed7577(o.additionalTargetKeyNames!); + checkUnnamed7654(o.accessRestrictions!); + checkUnnamed7655(o.additionalTargetKeyNames!); checkProto2FileDescriptorProto(o.definition!); - checkUnnamed7578(o.fieldDescriptions!); + checkUnnamed7656(o.fieldDescriptions!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7579(o.notices!); + checkUnnamed7657(o.notices!); unittest.expect( o.policyDescription!, unittest.equals('foo'), @@ -318,13 +318,55 @@ void checkGoogleChromePolicyV1PolicySchema( buildCounterGoogleChromePolicyV1PolicySchema--; } +core.int buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies = 0; +api.GoogleChromePolicyV1PolicySchemaFieldDependencies + buildGoogleChromePolicyV1PolicySchemaFieldDependencies() { + final o = api.GoogleChromePolicyV1PolicySchemaFieldDependencies(); + buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies++; + if (buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies < 3) { + o.sourceField = 'foo'; + o.sourceFieldValue = 'foo'; + } + buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies--; + return o; +} + +void checkGoogleChromePolicyV1PolicySchemaFieldDependencies( + api.GoogleChromePolicyV1PolicySchemaFieldDependencies o) { + buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies++; + if (buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies < 3) { + unittest.expect( + o.sourceField!, + unittest.equals('foo'), + ); + unittest.expect( + o.sourceFieldValue!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromePolicyV1PolicySchemaFieldDependencies--; +} + +core.List + buildUnnamed7658() => [ + buildGoogleChromePolicyV1PolicySchemaFieldDependencies(), + buildGoogleChromePolicyV1PolicySchemaFieldDependencies(), + ]; + +void checkUnnamed7658( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromePolicyV1PolicySchemaFieldDependencies(o[0]); + checkGoogleChromePolicyV1PolicySchemaFieldDependencies(o[1]); +} + core.List - buildUnnamed7580() => [ + buildUnnamed7659() => [ buildGoogleChromePolicyV1PolicySchemaFieldKnownValueDescription(), buildGoogleChromePolicyV1PolicySchemaFieldKnownValueDescription(), ]; -void checkUnnamed7580( +void checkUnnamed7659( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -333,12 +375,12 @@ void checkUnnamed7580( } core.List - buildUnnamed7581() => [ + buildUnnamed7660() => [ buildGoogleChromePolicyV1PolicySchemaFieldDescription(), buildGoogleChromePolicyV1PolicySchemaFieldDescription(), ]; -void checkUnnamed7581( +void checkUnnamed7660( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1PolicySchemaFieldDescription(o[0]); @@ -353,9 +395,10 @@ api.GoogleChromePolicyV1PolicySchemaFieldDescription if (buildCounterGoogleChromePolicyV1PolicySchemaFieldDescription < 3) { o.description = 'foo'; o.field = 'foo'; + o.fieldDependencies = buildUnnamed7658(); o.inputConstraint = 'foo'; - o.knownValueDescriptions = buildUnnamed7580(); - o.nestedFieldDescriptions = buildUnnamed7581(); + o.knownValueDescriptions = buildUnnamed7659(); + o.nestedFieldDescriptions = buildUnnamed7660(); } buildCounterGoogleChromePolicyV1PolicySchemaFieldDescription--; return o; @@ -373,12 +416,13 @@ void checkGoogleChromePolicyV1PolicySchemaFieldDescription( o.field!, unittest.equals('foo'), ); + checkUnnamed7658(o.fieldDependencies!); unittest.expect( o.inputConstraint!, unittest.equals('foo'), ); - checkUnnamed7580(o.knownValueDescriptions!); - checkUnnamed7581(o.nestedFieldDescriptions!); + checkUnnamed7659(o.knownValueDescriptions!); + checkUnnamed7660(o.nestedFieldDescriptions!); } buildCounterGoogleChromePolicyV1PolicySchemaFieldDescription--; } @@ -451,12 +495,12 @@ void checkGoogleChromePolicyV1PolicySchemaNoticeDescription( buildCounterGoogleChromePolicyV1PolicySchemaNoticeDescription--; } -core.Map buildUnnamed7582() => { +core.Map buildUnnamed7661() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7582(core.Map o) { +void checkUnnamed7661(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -474,7 +518,7 @@ api.GoogleChromePolicyV1PolicyTargetKey final o = api.GoogleChromePolicyV1PolicyTargetKey(); buildCounterGoogleChromePolicyV1PolicyTargetKey++; if (buildCounterGoogleChromePolicyV1PolicyTargetKey < 3) { - o.additionalTargetKeys = buildUnnamed7582(); + o.additionalTargetKeys = buildUnnamed7661(); o.targetResource = 'foo'; } buildCounterGoogleChromePolicyV1PolicyTargetKey--; @@ -485,7 +529,7 @@ void checkGoogleChromePolicyV1PolicyTargetKey( api.GoogleChromePolicyV1PolicyTargetKey o) { buildCounterGoogleChromePolicyV1PolicyTargetKey++; if (buildCounterGoogleChromePolicyV1PolicyTargetKey < 3) { - checkUnnamed7582(o.additionalTargetKeys!); + checkUnnamed7661(o.additionalTargetKeys!); unittest.expect( o.targetResource!, unittest.equals('foo'), @@ -494,7 +538,7 @@ void checkGoogleChromePolicyV1PolicyTargetKey( buildCounterGoogleChromePolicyV1PolicyTargetKey--; } -core.Map buildUnnamed7583() => { +core.Map buildUnnamed7662() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -507,7 +551,7 @@ core.Map buildUnnamed7583() => { }, }; -void checkUnnamed7583(core.Map o) { +void checkUnnamed7662(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -545,7 +589,7 @@ api.GoogleChromePolicyV1PolicyValue buildGoogleChromePolicyV1PolicyValue() { buildCounterGoogleChromePolicyV1PolicyValue++; if (buildCounterGoogleChromePolicyV1PolicyValue < 3) { o.policySchema = 'foo'; - o.value = buildUnnamed7583(); + o.value = buildUnnamed7662(); } buildCounterGoogleChromePolicyV1PolicyValue--; return o; @@ -559,7 +603,7 @@ void checkGoogleChromePolicyV1PolicyValue( o.policySchema!, unittest.equals('foo'), ); - checkUnnamed7583(o.value!); + checkUnnamed7662(o.value!); } buildCounterGoogleChromePolicyV1PolicyValue--; } @@ -600,12 +644,12 @@ void checkGoogleChromePolicyV1ResolveRequest( buildCounterGoogleChromePolicyV1ResolveRequest--; } -core.List buildUnnamed7584() => [ +core.List buildUnnamed7663() => [ buildGoogleChromePolicyV1ResolvedPolicy(), buildGoogleChromePolicyV1ResolvedPolicy(), ]; -void checkUnnamed7584(core.List o) { +void checkUnnamed7663(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromePolicyV1ResolvedPolicy(o[0]); checkGoogleChromePolicyV1ResolvedPolicy(o[1]); @@ -618,7 +662,7 @@ api.GoogleChromePolicyV1ResolveResponse buildCounterGoogleChromePolicyV1ResolveResponse++; if (buildCounterGoogleChromePolicyV1ResolveResponse < 3) { o.nextPageToken = 'foo'; - o.resolvedPolicies = buildUnnamed7584(); + o.resolvedPolicies = buildUnnamed7663(); } buildCounterGoogleChromePolicyV1ResolveResponse--; return o; @@ -632,7 +676,7 @@ void checkGoogleChromePolicyV1ResolveResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7584(o.resolvedPolicies!); + checkUnnamed7663(o.resolvedPolicies!); } buildCounterGoogleChromePolicyV1ResolveResponse--; } @@ -725,45 +769,45 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed7585() => [ +core.List buildUnnamed7664() => [ buildProto2EnumDescriptorProto(), buildProto2EnumDescriptorProto(), ]; -void checkUnnamed7585(core.List o) { +void checkUnnamed7664(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2EnumDescriptorProto(o[0]); checkProto2EnumDescriptorProto(o[1]); } -core.List buildUnnamed7586() => [ +core.List buildUnnamed7665() => [ buildProto2FieldDescriptorProto(), buildProto2FieldDescriptorProto(), ]; -void checkUnnamed7586(core.List o) { +void checkUnnamed7665(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2FieldDescriptorProto(o[0]); checkProto2FieldDescriptorProto(o[1]); } -core.List buildUnnamed7587() => [ +core.List buildUnnamed7666() => [ buildProto2DescriptorProto(), buildProto2DescriptorProto(), ]; -void checkUnnamed7587(core.List o) { +void checkUnnamed7666(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2DescriptorProto(o[0]); checkProto2DescriptorProto(o[1]); } -core.List buildUnnamed7588() => [ +core.List buildUnnamed7667() => [ buildProto2OneofDescriptorProto(), buildProto2OneofDescriptorProto(), ]; -void checkUnnamed7588(core.List o) { +void checkUnnamed7667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2OneofDescriptorProto(o[0]); checkProto2OneofDescriptorProto(o[1]); @@ -774,11 +818,11 @@ api.Proto2DescriptorProto buildProto2DescriptorProto() { final o = api.Proto2DescriptorProto(); buildCounterProto2DescriptorProto++; if (buildCounterProto2DescriptorProto < 3) { - o.enumType = buildUnnamed7585(); - o.field = buildUnnamed7586(); + o.enumType = buildUnnamed7664(); + o.field = buildUnnamed7665(); o.name = 'foo'; - o.nestedType = buildUnnamed7587(); - o.oneofDecl = buildUnnamed7588(); + o.nestedType = buildUnnamed7666(); + o.oneofDecl = buildUnnamed7667(); } buildCounterProto2DescriptorProto--; return o; @@ -787,24 +831,24 @@ api.Proto2DescriptorProto buildProto2DescriptorProto() { void checkProto2DescriptorProto(api.Proto2DescriptorProto o) { buildCounterProto2DescriptorProto++; if (buildCounterProto2DescriptorProto < 3) { - checkUnnamed7585(o.enumType!); - checkUnnamed7586(o.field!); + checkUnnamed7664(o.enumType!); + checkUnnamed7665(o.field!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7587(o.nestedType!); - checkUnnamed7588(o.oneofDecl!); + checkUnnamed7666(o.nestedType!); + checkUnnamed7667(o.oneofDecl!); } buildCounterProto2DescriptorProto--; } -core.List buildUnnamed7589() => [ +core.List buildUnnamed7668() => [ buildProto2EnumValueDescriptorProto(), buildProto2EnumValueDescriptorProto(), ]; -void checkUnnamed7589(core.List o) { +void checkUnnamed7668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2EnumValueDescriptorProto(o[0]); checkProto2EnumValueDescriptorProto(o[1]); @@ -816,7 +860,7 @@ api.Proto2EnumDescriptorProto buildProto2EnumDescriptorProto() { buildCounterProto2EnumDescriptorProto++; if (buildCounterProto2EnumDescriptorProto < 3) { o.name = 'foo'; - o.value = buildUnnamed7589(); + o.value = buildUnnamed7668(); } buildCounterProto2EnumDescriptorProto--; return o; @@ -829,7 +873,7 @@ void checkProto2EnumDescriptorProto(api.Proto2EnumDescriptorProto o) { o.name!, unittest.equals('foo'), ); - checkUnnamed7589(o.value!); + checkUnnamed7668(o.value!); } buildCounterProto2EnumDescriptorProto--; } @@ -920,23 +964,23 @@ void checkProto2FieldDescriptorProto(api.Proto2FieldDescriptorProto o) { buildCounterProto2FieldDescriptorProto--; } -core.List buildUnnamed7590() => [ +core.List buildUnnamed7669() => [ buildProto2EnumDescriptorProto(), buildProto2EnumDescriptorProto(), ]; -void checkUnnamed7590(core.List o) { +void checkUnnamed7669(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2EnumDescriptorProto(o[0]); checkProto2EnumDescriptorProto(o[1]); } -core.List buildUnnamed7591() => [ +core.List buildUnnamed7670() => [ buildProto2DescriptorProto(), buildProto2DescriptorProto(), ]; -void checkUnnamed7591(core.List o) { +void checkUnnamed7670(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProto2DescriptorProto(o[0]); checkProto2DescriptorProto(o[1]); @@ -947,8 +991,8 @@ api.Proto2FileDescriptorProto buildProto2FileDescriptorProto() { final o = api.Proto2FileDescriptorProto(); buildCounterProto2FileDescriptorProto++; if (buildCounterProto2FileDescriptorProto < 3) { - o.enumType = buildUnnamed7590(); - o.messageType = buildUnnamed7591(); + o.enumType = buildUnnamed7669(); + o.messageType = buildUnnamed7670(); o.name = 'foo'; o.package = 'foo'; o.syntax = 'foo'; @@ -960,8 +1004,8 @@ api.Proto2FileDescriptorProto buildProto2FileDescriptorProto() { void checkProto2FileDescriptorProto(api.Proto2FileDescriptorProto o) { buildCounterProto2FileDescriptorProto++; if (buildCounterProto2FileDescriptorProto < 3) { - checkUnnamed7590(o.enumType!); - checkUnnamed7591(o.messageType!); + checkUnnamed7669(o.enumType!); + checkUnnamed7670(o.messageType!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1078,6 +1122,17 @@ void main() { }); }); + unittest.group('obj-schema-GoogleChromePolicyV1PolicySchemaFieldDependencies', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromePolicyV1PolicySchemaFieldDependencies(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromePolicyV1PolicySchemaFieldDependencies.fromJson( + oJson as core.Map); + checkGoogleChromePolicyV1PolicySchemaFieldDependencies(od); + }); + }); + unittest.group('obj-schema-GoogleChromePolicyV1PolicySchemaFieldDescription', () { unittest.test('to-json--from-json', () async { diff --git a/generated/googleapis/test/chromeuxreport/v1_test.dart b/generated/googleapis/test/chromeuxreport/v1_test.dart index 43c6c6f5f..673c8b28d 100644 --- a/generated/googleapis/test/chromeuxreport/v1_test.dart +++ b/generated/googleapis/test/chromeuxreport/v1_test.dart @@ -123,12 +123,12 @@ void checkKey(api.Key o) { buildCounterKey--; } -core.List buildUnnamed7254() => [ +core.List buildUnnamed7334() => [ buildBin(), buildBin(), ]; -void checkUnnamed7254(core.List o) { +void checkUnnamed7334(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBin(o[0]); checkBin(o[1]); @@ -139,7 +139,7 @@ api.Metric buildMetric() { final o = api.Metric(); buildCounterMetric++; if (buildCounterMetric < 3) { - o.histogram = buildUnnamed7254(); + o.histogram = buildUnnamed7334(); o.percentiles = buildPercentiles(); } buildCounterMetric--; @@ -149,7 +149,7 @@ api.Metric buildMetric() { void checkMetric(api.Metric o) { buildCounterMetric++; if (buildCounterMetric < 3) { - checkUnnamed7254(o.histogram!); + checkUnnamed7334(o.histogram!); checkPercentiles(o.percentiles!); } buildCounterMetric--; @@ -191,12 +191,12 @@ void checkPercentiles(api.Percentiles o) { buildCounterPercentiles--; } -core.List buildUnnamed7255() => [ +core.List buildUnnamed7335() => [ 'foo', 'foo', ]; -void checkUnnamed7255(core.List o) { +void checkUnnamed7335(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -215,7 +215,7 @@ api.QueryRequest buildQueryRequest() { if (buildCounterQueryRequest < 3) { o.effectiveConnectionType = 'foo'; o.formFactor = 'foo'; - o.metrics = buildUnnamed7255(); + o.metrics = buildUnnamed7335(); o.origin = 'foo'; o.url = 'foo'; } @@ -234,7 +234,7 @@ void checkQueryRequest(api.QueryRequest o) { o.formFactor!, unittest.equals('foo'), ); - checkUnnamed7255(o.metrics!); + checkUnnamed7335(o.metrics!); unittest.expect( o.origin!, unittest.equals('foo'), @@ -268,12 +268,12 @@ void checkQueryResponse(api.QueryResponse o) { buildCounterQueryResponse--; } -core.Map buildUnnamed7256() => { +core.Map buildUnnamed7336() => { 'x': buildMetric(), 'y': buildMetric(), }; -void checkUnnamed7256(core.Map o) { +void checkUnnamed7336(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o['x']!); checkMetric(o['y']!); @@ -285,7 +285,7 @@ api.Record buildRecord() { buildCounterRecord++; if (buildCounterRecord < 3) { o.key = buildKey(); - o.metrics = buildUnnamed7256(); + o.metrics = buildUnnamed7336(); } buildCounterRecord--; return o; @@ -295,7 +295,7 @@ void checkRecord(api.Record o) { buildCounterRecord++; if (buildCounterRecord < 3) { checkKey(o.key!); - checkUnnamed7256(o.metrics!); + checkUnnamed7336(o.metrics!); } buildCounterRecord--; } diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart index 66e7764b6..a2cbd554d 100644 --- a/generated/googleapis/test/civicinfo/v2_test.dart +++ b/generated/googleapis/test/civicinfo/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2927() => [ +core.List buildUnnamed2815() => [ buildSource(), buildSource(), ]; -void checkUnnamed2927(core.List o) { +void checkUnnamed2815(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -45,7 +45,7 @@ api.AdministrationRegion buildAdministrationRegion() { o.electionAdministrationBody = buildAdministrativeBody(); o.localJurisdiction = buildAdministrationRegion(); o.name = 'foo'; - o.sources = buildUnnamed2927(); + o.sources = buildUnnamed2815(); } buildCounterAdministrationRegion--; return o; @@ -60,28 +60,28 @@ void checkAdministrationRegion(api.AdministrationRegion o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2927(o.sources!); + checkUnnamed2815(o.sources!); } buildCounterAdministrationRegion--; } -core.List buildUnnamed2928() => [ +core.List buildUnnamed2816() => [ buildElectionOfficial(), buildElectionOfficial(), ]; -void checkUnnamed2928(core.List o) { +void checkUnnamed2816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkElectionOfficial(o[0]); checkElectionOfficial(o[1]); } -core.List buildUnnamed2929() => [ +core.List buildUnnamed2817() => [ 'foo', 'foo', ]; -void checkUnnamed2929(core.List o) { +void checkUnnamed2817(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -104,14 +104,14 @@ api.AdministrativeBody buildAdministrativeBody() { o.electionInfoUrl = 'foo'; o.electionNoticeText = 'foo'; o.electionNoticeUrl = 'foo'; - o.electionOfficials = buildUnnamed2928(); + o.electionOfficials = buildUnnamed2816(); o.electionRegistrationConfirmationUrl = 'foo'; o.electionRegistrationUrl = 'foo'; o.electionRulesUrl = 'foo'; o.hoursOfOperation = 'foo'; o.name = 'foo'; o.physicalAddress = buildSimpleAddressType(); - o.voterServices = buildUnnamed2929(); + o.voterServices = buildUnnamed2817(); o.votingLocationFinderUrl = 'foo'; } buildCounterAdministrativeBody--; @@ -142,7 +142,7 @@ void checkAdministrativeBody(api.AdministrativeBody o) { o.electionNoticeUrl!, unittest.equals('foo'), ); - checkUnnamed2928(o.electionOfficials!); + checkUnnamed2816(o.electionOfficials!); unittest.expect( o.electionRegistrationConfirmationUrl!, unittest.equals('foo'), @@ -164,7 +164,7 @@ void checkAdministrativeBody(api.AdministrativeBody o) { unittest.equals('foo'), ); checkSimpleAddressType(o.physicalAddress!); - checkUnnamed2929(o.voterServices!); + checkUnnamed2817(o.voterServices!); unittest.expect( o.votingLocationFinderUrl!, unittest.equals('foo'), @@ -173,12 +173,12 @@ void checkAdministrativeBody(api.AdministrativeBody o) { buildCounterAdministrativeBody--; } -core.List buildUnnamed2930() => [ +core.List buildUnnamed2818() => [ buildChannel(), buildChannel(), ]; -void checkUnnamed2930(core.List o) { +void checkUnnamed2818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -190,7 +190,7 @@ api.Candidate buildCandidate() { buildCounterCandidate++; if (buildCounterCandidate < 3) { o.candidateUrl = 'foo'; - o.channels = buildUnnamed2930(); + o.channels = buildUnnamed2818(); o.email = 'foo'; o.name = 'foo'; o.orderOnBallot = 'foo'; @@ -209,7 +209,7 @@ void checkCandidate(api.Candidate o) { o.candidateUrl!, unittest.equals('foo'), ); - checkUnnamed2930(o.channels!); + checkUnnamed2818(o.channels!); unittest.expect( o.email!, unittest.equals('foo'), @@ -265,23 +265,23 @@ void checkChannel(api.Channel o) { buildCounterChannel--; } -core.List buildUnnamed2931() => [ +core.List buildUnnamed2819() => [ buildCandidate(), buildCandidate(), ]; -void checkUnnamed2931(core.List o) { +void checkUnnamed2819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCandidate(o[0]); checkCandidate(o[1]); } -core.List buildUnnamed2932() => [ +core.List buildUnnamed2820() => [ 'foo', 'foo', ]; -void checkUnnamed2932(core.List o) { +void checkUnnamed2820(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -293,12 +293,12 @@ void checkUnnamed2932(core.List o) { ); } -core.List buildUnnamed2933() => [ +core.List buildUnnamed2821() => [ 'foo', 'foo', ]; -void checkUnnamed2933(core.List o) { +void checkUnnamed2821(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -310,12 +310,12 @@ void checkUnnamed2933(core.List o) { ); } -core.List buildUnnamed2934() => [ +core.List buildUnnamed2822() => [ 'foo', 'foo', ]; -void checkUnnamed2934(core.List o) { +void checkUnnamed2822(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -327,12 +327,12 @@ void checkUnnamed2934(core.List o) { ); } -core.List buildUnnamed2935() => [ +core.List buildUnnamed2823() => [ 'foo', 'foo', ]; -void checkUnnamed2935(core.List o) { +void checkUnnamed2823(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -344,12 +344,12 @@ void checkUnnamed2935(core.List o) { ); } -core.List buildUnnamed2936() => [ +core.List buildUnnamed2824() => [ buildSource(), buildSource(), ]; -void checkUnnamed2936(core.List o) { +void checkUnnamed2824(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -362,16 +362,16 @@ api.Contest buildContest() { if (buildCounterContest < 3) { o.ballotPlacement = 'foo'; o.ballotTitle = 'foo'; - o.candidates = buildUnnamed2931(); + o.candidates = buildUnnamed2819(); o.district = buildElectoralDistrict(); o.electorateSpecifications = 'foo'; - o.level = buildUnnamed2932(); + o.level = buildUnnamed2820(); o.numberElected = 'foo'; o.numberVotingFor = 'foo'; o.office = 'foo'; - o.primaryParties = buildUnnamed2933(); + o.primaryParties = buildUnnamed2821(); o.primaryParty = 'foo'; - o.referendumBallotResponses = buildUnnamed2934(); + o.referendumBallotResponses = buildUnnamed2822(); o.referendumBrief = 'foo'; o.referendumConStatement = 'foo'; o.referendumEffectOfAbstain = 'foo'; @@ -381,8 +381,8 @@ api.Contest buildContest() { o.referendumText = 'foo'; o.referendumTitle = 'foo'; o.referendumUrl = 'foo'; - o.roles = buildUnnamed2935(); - o.sources = buildUnnamed2936(); + o.roles = buildUnnamed2823(); + o.sources = buildUnnamed2824(); o.special = 'foo'; o.type = 'foo'; } @@ -401,13 +401,13 @@ void checkContest(api.Contest o) { o.ballotTitle!, unittest.equals('foo'), ); - checkUnnamed2931(o.candidates!); + checkUnnamed2819(o.candidates!); checkElectoralDistrict(o.district!); unittest.expect( o.electorateSpecifications!, unittest.equals('foo'), ); - checkUnnamed2932(o.level!); + checkUnnamed2820(o.level!); unittest.expect( o.numberElected!, unittest.equals('foo'), @@ -420,12 +420,12 @@ void checkContest(api.Contest o) { o.office!, unittest.equals('foo'), ); - checkUnnamed2933(o.primaryParties!); + checkUnnamed2821(o.primaryParties!); unittest.expect( o.primaryParty!, unittest.equals('foo'), ); - checkUnnamed2934(o.referendumBallotResponses!); + checkUnnamed2822(o.referendumBallotResponses!); unittest.expect( o.referendumBrief!, unittest.equals('foo'), @@ -462,8 +462,8 @@ void checkContest(api.Contest o) { o.referendumUrl!, unittest.equals('foo'), ); - checkUnnamed2935(o.roles!); - checkUnnamed2936(o.sources!); + checkUnnamed2823(o.roles!); + checkUnnamed2824(o.sources!); unittest.expect( o.special!, unittest.equals('foo'), @@ -476,12 +476,12 @@ void checkContest(api.Contest o) { buildCounterContest--; } -core.List buildUnnamed2937() => [ +core.List buildUnnamed2825() => [ buildDivisionSearchResult(), buildDivisionSearchResult(), ]; -void checkUnnamed2937(core.List o) { +void checkUnnamed2825(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDivisionSearchResult(o[0]); checkDivisionSearchResult(o[1]); @@ -493,7 +493,7 @@ api.DivisionSearchResponse buildDivisionSearchResponse() { buildCounterDivisionSearchResponse++; if (buildCounterDivisionSearchResponse < 3) { o.kind = 'foo'; - o.results = buildUnnamed2937(); + o.results = buildUnnamed2825(); } buildCounterDivisionSearchResponse--; return o; @@ -506,17 +506,17 @@ void checkDivisionSearchResponse(api.DivisionSearchResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2937(o.results!); + checkUnnamed2825(o.results!); } buildCounterDivisionSearchResponse--; } -core.List buildUnnamed2938() => [ +core.List buildUnnamed2826() => [ 'foo', 'foo', ]; -void checkUnnamed2938(core.List o) { +void checkUnnamed2826(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -533,7 +533,7 @@ api.DivisionSearchResult buildDivisionSearchResult() { final o = api.DivisionSearchResult(); buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - o.aliases = buildUnnamed2938(); + o.aliases = buildUnnamed2826(); o.name = 'foo'; o.ocdId = 'foo'; } @@ -544,7 +544,7 @@ api.DivisionSearchResult buildDivisionSearchResult() { void checkDivisionSearchResult(api.DivisionSearchResult o) { buildCounterDivisionSearchResult++; if (buildCounterDivisionSearchResult < 3) { - checkUnnamed2938(o.aliases!); + checkUnnamed2826(o.aliases!); unittest.expect( o.name!, unittest.equals('foo'), @@ -636,12 +636,12 @@ void checkElectionOfficial(api.ElectionOfficial o) { buildCounterElectionOfficial--; } -core.List buildUnnamed2939() => [ +core.List buildUnnamed2827() => [ buildElection(), buildElection(), ]; -void checkUnnamed2939(core.List o) { +void checkUnnamed2827(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkElection(o[0]); checkElection(o[1]); @@ -652,7 +652,7 @@ api.ElectionsQueryResponse buildElectionsQueryResponse() { final o = api.ElectionsQueryResponse(); buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - o.elections = buildUnnamed2939(); + o.elections = buildUnnamed2827(); o.kind = 'foo'; } buildCounterElectionsQueryResponse--; @@ -662,7 +662,7 @@ api.ElectionsQueryResponse buildElectionsQueryResponse() { void checkElectionsQueryResponse(api.ElectionsQueryResponse o) { buildCounterElectionsQueryResponse++; if (buildCounterElectionsQueryResponse < 3) { - checkUnnamed2939(o.elections!); + checkUnnamed2827(o.elections!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -703,12 +703,12 @@ void checkElectoralDistrict(api.ElectoralDistrict o) { buildCounterElectoralDistrict--; } -core.List buildUnnamed2940() => [ +core.List buildUnnamed2828() => [ 'foo', 'foo', ]; -void checkUnnamed2940(core.List o) { +void checkUnnamed2828(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -720,12 +720,12 @@ void checkUnnamed2940(core.List o) { ); } -core.List buildUnnamed2941() => [ +core.List buildUnnamed2829() => [ 42, 42, ]; -void checkUnnamed2941(core.List o) { +void checkUnnamed2829(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -742,9 +742,9 @@ api.GeographicDivision buildGeographicDivision() { final o = api.GeographicDivision(); buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - o.alsoKnownAs = buildUnnamed2940(); + o.alsoKnownAs = buildUnnamed2828(); o.name = 'foo'; - o.officeIndices = buildUnnamed2941(); + o.officeIndices = buildUnnamed2829(); } buildCounterGeographicDivision--; return o; @@ -753,22 +753,22 @@ api.GeographicDivision buildGeographicDivision() { void checkGeographicDivision(api.GeographicDivision o) { buildCounterGeographicDivision++; if (buildCounterGeographicDivision < 3) { - checkUnnamed2940(o.alsoKnownAs!); + checkUnnamed2828(o.alsoKnownAs!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2941(o.officeIndices!); + checkUnnamed2829(o.officeIndices!); } buildCounterGeographicDivision--; } -core.List buildUnnamed2942() => [ +core.List buildUnnamed2830() => [ 'foo', 'foo', ]; -void checkUnnamed2942(core.List o) { +void checkUnnamed2830(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -780,12 +780,12 @@ void checkUnnamed2942(core.List o) { ); } -core.List buildUnnamed2943() => [ +core.List buildUnnamed2831() => [ 42, 42, ]; -void checkUnnamed2943(core.List o) { +void checkUnnamed2831(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -797,12 +797,12 @@ void checkUnnamed2943(core.List o) { ); } -core.List buildUnnamed2944() => [ +core.List buildUnnamed2832() => [ 'foo', 'foo', ]; -void checkUnnamed2944(core.List o) { +void checkUnnamed2832(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -814,12 +814,12 @@ void checkUnnamed2944(core.List o) { ); } -core.List buildUnnamed2945() => [ +core.List buildUnnamed2833() => [ buildSource(), buildSource(), ]; -void checkUnnamed2945(core.List o) { +void checkUnnamed2833(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -831,11 +831,11 @@ api.Office buildOffice() { buildCounterOffice++; if (buildCounterOffice < 3) { o.divisionId = 'foo'; - o.levels = buildUnnamed2942(); + o.levels = buildUnnamed2830(); o.name = 'foo'; - o.officialIndices = buildUnnamed2943(); - o.roles = buildUnnamed2944(); - o.sources = buildUnnamed2945(); + o.officialIndices = buildUnnamed2831(); + o.roles = buildUnnamed2832(); + o.sources = buildUnnamed2833(); } buildCounterOffice--; return o; @@ -848,46 +848,46 @@ void checkOffice(api.Office o) { o.divisionId!, unittest.equals('foo'), ); - checkUnnamed2942(o.levels!); + checkUnnamed2830(o.levels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2943(o.officialIndices!); - checkUnnamed2944(o.roles!); - checkUnnamed2945(o.sources!); + checkUnnamed2831(o.officialIndices!); + checkUnnamed2832(o.roles!); + checkUnnamed2833(o.sources!); } buildCounterOffice--; } -core.List buildUnnamed2946() => [ +core.List buildUnnamed2834() => [ buildSimpleAddressType(), buildSimpleAddressType(), ]; -void checkUnnamed2946(core.List o) { +void checkUnnamed2834(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSimpleAddressType(o[0]); checkSimpleAddressType(o[1]); } -core.List buildUnnamed2947() => [ +core.List buildUnnamed2835() => [ buildChannel(), buildChannel(), ]; -void checkUnnamed2947(core.List o) { +void checkUnnamed2835(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); } -core.List buildUnnamed2948() => [ +core.List buildUnnamed2836() => [ 'foo', 'foo', ]; -void checkUnnamed2948(core.List o) { +void checkUnnamed2836(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -899,12 +899,12 @@ void checkUnnamed2948(core.List o) { ); } -core.List buildUnnamed2949() => [ +core.List buildUnnamed2837() => [ 'foo', 'foo', ]; -void checkUnnamed2949(core.List o) { +void checkUnnamed2837(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -916,12 +916,12 @@ void checkUnnamed2949(core.List o) { ); } -core.List buildUnnamed2950() => [ +core.List buildUnnamed2838() => [ 'foo', 'foo', ]; -void checkUnnamed2950(core.List o) { +void checkUnnamed2838(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -938,14 +938,14 @@ api.Official buildOfficial() { final o = api.Official(); buildCounterOfficial++; if (buildCounterOfficial < 3) { - o.address = buildUnnamed2946(); - o.channels = buildUnnamed2947(); - o.emails = buildUnnamed2948(); + o.address = buildUnnamed2834(); + o.channels = buildUnnamed2835(); + o.emails = buildUnnamed2836(); o.name = 'foo'; o.party = 'foo'; - o.phones = buildUnnamed2949(); + o.phones = buildUnnamed2837(); o.photoUrl = 'foo'; - o.urls = buildUnnamed2950(); + o.urls = buildUnnamed2838(); } buildCounterOfficial--; return o; @@ -954,9 +954,9 @@ api.Official buildOfficial() { void checkOfficial(api.Official o) { buildCounterOfficial++; if (buildCounterOfficial < 3) { - checkUnnamed2946(o.address!); - checkUnnamed2947(o.channels!); - checkUnnamed2948(o.emails!); + checkUnnamed2834(o.address!); + checkUnnamed2835(o.channels!); + checkUnnamed2836(o.emails!); unittest.expect( o.name!, unittest.equals('foo'), @@ -965,22 +965,22 @@ void checkOfficial(api.Official o) { o.party!, unittest.equals('foo'), ); - checkUnnamed2949(o.phones!); + checkUnnamed2837(o.phones!); unittest.expect( o.photoUrl!, unittest.equals('foo'), ); - checkUnnamed2950(o.urls!); + checkUnnamed2838(o.urls!); } buildCounterOfficial--; } -core.List buildUnnamed2951() => [ +core.List buildUnnamed2839() => [ buildSource(), buildSource(), ]; -void checkUnnamed2951(core.List o) { +void checkUnnamed2839(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -998,7 +998,7 @@ api.PollingLocation buildPollingLocation() { o.name = 'foo'; o.notes = 'foo'; o.pollingHours = 'foo'; - o.sources = buildUnnamed2951(); + o.sources = buildUnnamed2839(); o.startDate = 'foo'; o.voterServices = 'foo'; } @@ -1034,7 +1034,7 @@ void checkPollingLocation(api.PollingLocation o) { o.pollingHours!, unittest.equals('foo'), ); - checkUnnamed2951(o.sources!); + checkUnnamed2839(o.sources!); unittest.expect( o.startDate!, unittest.equals('foo'), @@ -1047,34 +1047,34 @@ void checkPollingLocation(api.PollingLocation o) { buildCounterPollingLocation--; } -core.Map buildUnnamed2952() => { +core.Map buildUnnamed2840() => { 'x': buildGeographicDivision(), 'y': buildGeographicDivision(), }; -void checkUnnamed2952(core.Map o) { +void checkUnnamed2840(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGeographicDivision(o['x']!); checkGeographicDivision(o['y']!); } -core.List buildUnnamed2953() => [ +core.List buildUnnamed2841() => [ buildOffice(), buildOffice(), ]; -void checkUnnamed2953(core.List o) { +void checkUnnamed2841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOffice(o[0]); checkOffice(o[1]); } -core.List buildUnnamed2954() => [ +core.List buildUnnamed2842() => [ buildOfficial(), buildOfficial(), ]; -void checkUnnamed2954(core.List o) { +void checkUnnamed2842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOfficial(o[0]); checkOfficial(o[1]); @@ -1085,9 +1085,9 @@ api.RepresentativeInfoData buildRepresentativeInfoData() { final o = api.RepresentativeInfoData(); buildCounterRepresentativeInfoData++; if (buildCounterRepresentativeInfoData < 3) { - o.divisions = buildUnnamed2952(); - o.offices = buildUnnamed2953(); - o.officials = buildUnnamed2954(); + o.divisions = buildUnnamed2840(); + o.offices = buildUnnamed2841(); + o.officials = buildUnnamed2842(); } buildCounterRepresentativeInfoData--; return o; @@ -1096,41 +1096,41 @@ api.RepresentativeInfoData buildRepresentativeInfoData() { void checkRepresentativeInfoData(api.RepresentativeInfoData o) { buildCounterRepresentativeInfoData++; if (buildCounterRepresentativeInfoData < 3) { - checkUnnamed2952(o.divisions!); - checkUnnamed2953(o.offices!); - checkUnnamed2954(o.officials!); + checkUnnamed2840(o.divisions!); + checkUnnamed2841(o.offices!); + checkUnnamed2842(o.officials!); } buildCounterRepresentativeInfoData--; } -core.Map buildUnnamed2955() => { +core.Map buildUnnamed2843() => { 'x': buildGeographicDivision(), 'y': buildGeographicDivision(), }; -void checkUnnamed2955(core.Map o) { +void checkUnnamed2843(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGeographicDivision(o['x']!); checkGeographicDivision(o['y']!); } -core.List buildUnnamed2956() => [ +core.List buildUnnamed2844() => [ buildOffice(), buildOffice(), ]; -void checkUnnamed2956(core.List o) { +void checkUnnamed2844(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOffice(o[0]); checkOffice(o[1]); } -core.List buildUnnamed2957() => [ +core.List buildUnnamed2845() => [ buildOfficial(), buildOfficial(), ]; -void checkUnnamed2957(core.List o) { +void checkUnnamed2845(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOfficial(o[0]); checkOfficial(o[1]); @@ -1141,11 +1141,11 @@ api.RepresentativeInfoResponse buildRepresentativeInfoResponse() { final o = api.RepresentativeInfoResponse(); buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - o.divisions = buildUnnamed2955(); + o.divisions = buildUnnamed2843(); o.kind = 'foo'; o.normalizedInput = buildSimpleAddressType(); - o.offices = buildUnnamed2956(); - o.officials = buildUnnamed2957(); + o.offices = buildUnnamed2844(); + o.officials = buildUnnamed2845(); } buildCounterRepresentativeInfoResponse--; return o; @@ -1154,14 +1154,14 @@ api.RepresentativeInfoResponse buildRepresentativeInfoResponse() { void checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { buildCounterRepresentativeInfoResponse++; if (buildCounterRepresentativeInfoResponse < 3) { - checkUnnamed2955(o.divisions!); + checkUnnamed2843(o.divisions!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkSimpleAddressType(o.normalizedInput!); - checkUnnamed2956(o.offices!); - checkUnnamed2957(o.officials!); + checkUnnamed2844(o.offices!); + checkUnnamed2845(o.officials!); } buildCounterRepresentativeInfoResponse--; } @@ -1242,67 +1242,67 @@ void checkSource(api.Source o) { buildCounterSource--; } -core.List buildUnnamed2958() => [ +core.List buildUnnamed2846() => [ buildContest(), buildContest(), ]; -void checkUnnamed2958(core.List o) { +void checkUnnamed2846(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContest(o[0]); checkContest(o[1]); } -core.List buildUnnamed2959() => [ +core.List buildUnnamed2847() => [ buildPollingLocation(), buildPollingLocation(), ]; -void checkUnnamed2959(core.List o) { +void checkUnnamed2847(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -core.List buildUnnamed2960() => [ +core.List buildUnnamed2848() => [ buildPollingLocation(), buildPollingLocation(), ]; -void checkUnnamed2960(core.List o) { +void checkUnnamed2848(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -core.List buildUnnamed2961() => [ +core.List buildUnnamed2849() => [ buildElection(), buildElection(), ]; -void checkUnnamed2961(core.List o) { +void checkUnnamed2849(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkElection(o[0]); checkElection(o[1]); } -core.List buildUnnamed2962() => [ +core.List buildUnnamed2850() => [ buildPollingLocation(), buildPollingLocation(), ]; -void checkUnnamed2962(core.List o) { +void checkUnnamed2850(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPollingLocation(o[0]); checkPollingLocation(o[1]); } -core.List buildUnnamed2963() => [ +core.List buildUnnamed2851() => [ buildAdministrationRegion(), buildAdministrationRegion(), ]; -void checkUnnamed2963(core.List o) { +void checkUnnamed2851(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdministrationRegion(o[0]); checkAdministrationRegion(o[1]); @@ -1313,17 +1313,17 @@ api.VoterInfoResponse buildVoterInfoResponse() { final o = api.VoterInfoResponse(); buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - o.contests = buildUnnamed2958(); - o.dropOffLocations = buildUnnamed2959(); - o.earlyVoteSites = buildUnnamed2960(); + o.contests = buildUnnamed2846(); + o.dropOffLocations = buildUnnamed2847(); + o.earlyVoteSites = buildUnnamed2848(); o.election = buildElection(); o.kind = 'foo'; o.mailOnly = true; o.normalizedInput = buildSimpleAddressType(); - o.otherElections = buildUnnamed2961(); - o.pollingLocations = buildUnnamed2962(); + o.otherElections = buildUnnamed2849(); + o.pollingLocations = buildUnnamed2850(); o.precinctId = 'foo'; - o.state = buildUnnamed2963(); + o.state = buildUnnamed2851(); } buildCounterVoterInfoResponse--; return o; @@ -1332,9 +1332,9 @@ api.VoterInfoResponse buildVoterInfoResponse() { void checkVoterInfoResponse(api.VoterInfoResponse o) { buildCounterVoterInfoResponse++; if (buildCounterVoterInfoResponse < 3) { - checkUnnamed2958(o.contests!); - checkUnnamed2959(o.dropOffLocations!); - checkUnnamed2960(o.earlyVoteSites!); + checkUnnamed2846(o.contests!); + checkUnnamed2847(o.dropOffLocations!); + checkUnnamed2848(o.earlyVoteSites!); checkElection(o.election!); unittest.expect( o.kind!, @@ -1342,23 +1342,23 @@ void checkVoterInfoResponse(api.VoterInfoResponse o) { ); unittest.expect(o.mailOnly!, unittest.isTrue); checkSimpleAddressType(o.normalizedInput!); - checkUnnamed2961(o.otherElections!); - checkUnnamed2962(o.pollingLocations!); + checkUnnamed2849(o.otherElections!); + checkUnnamed2850(o.pollingLocations!); unittest.expect( o.precinctId!, unittest.equals('foo'), ); - checkUnnamed2963(o.state!); + checkUnnamed2851(o.state!); } buildCounterVoterInfoResponse--; } -core.List buildUnnamed2964() => [ +core.List buildUnnamed2852() => [ 'foo', 'foo', ]; -void checkUnnamed2964(core.List o) { +void checkUnnamed2852(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1370,12 +1370,12 @@ void checkUnnamed2964(core.List o) { ); } -core.List buildUnnamed2965() => [ +core.List buildUnnamed2853() => [ 'foo', 'foo', ]; -void checkUnnamed2965(core.List o) { +void checkUnnamed2853(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1387,12 +1387,12 @@ void checkUnnamed2965(core.List o) { ); } -core.List buildUnnamed2966() => [ +core.List buildUnnamed2854() => [ 'foo', 'foo', ]; -void checkUnnamed2966(core.List o) { +void checkUnnamed2854(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1404,12 +1404,12 @@ void checkUnnamed2966(core.List o) { ); } -core.List buildUnnamed2967() => [ +core.List buildUnnamed2855() => [ 'foo', 'foo', ]; -void checkUnnamed2967(core.List o) { +void checkUnnamed2855(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1811,8 +1811,8 @@ void main() { final res = api.CivicInfoApi(mock).representatives; final arg_address = 'foo'; final arg_includeOffices = true; - final arg_levels = buildUnnamed2964(); - final arg_roles = buildUnnamed2965(); + final arg_levels = buildUnnamed2852(); + final arg_roles = buildUnnamed2853(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1886,9 +1886,9 @@ void main() { final mock = HttpServerMock(); final res = api.CivicInfoApi(mock).representatives; final arg_ocdId = 'foo'; - final arg_levels = buildUnnamed2966(); + final arg_levels = buildUnnamed2854(); final arg_recursive = true; - final arg_roles = buildUnnamed2967(); + final arg_roles = buildUnnamed2855(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart index 29076c9f1..1112b03a3 100644 --- a/generated/googleapis/test/classroom/v1_test.dart +++ b/generated/googleapis/test/classroom/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6028() => [ +core.List buildUnnamed6095() => [ buildMaterial(), buildMaterial(), ]; -void checkUnnamed6028(core.List o) { +void checkUnnamed6095(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMaterial(o[0]); checkMaterial(o[1]); @@ -49,7 +49,7 @@ api.Announcement buildAnnouncement() { o.creatorUserId = 'foo'; o.id = 'foo'; o.individualStudentsOptions = buildIndividualStudentsOptions(); - o.materials = buildUnnamed6028(); + o.materials = buildUnnamed6095(); o.scheduledTime = 'foo'; o.state = 'foo'; o.text = 'foo'; @@ -87,7 +87,7 @@ void checkAnnouncement(api.Announcement o) { unittest.equals('foo'), ); checkIndividualStudentsOptions(o.individualStudentsOptions!); - checkUnnamed6028(o.materials!); + checkUnnamed6095(o.materials!); unittest.expect( o.scheduledTime!, unittest.equals('foo'), @@ -127,12 +127,12 @@ void checkAssignment(api.Assignment o) { buildCounterAssignment--; } -core.List buildUnnamed6029() => [ +core.List buildUnnamed6096() => [ buildAttachment(), buildAttachment(), ]; -void checkUnnamed6029(core.List o) { +void checkUnnamed6096(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachment(o[0]); checkAttachment(o[1]); @@ -143,7 +143,7 @@ api.AssignmentSubmission buildAssignmentSubmission() { final o = api.AssignmentSubmission(); buildCounterAssignmentSubmission++; if (buildCounterAssignmentSubmission < 3) { - o.attachments = buildUnnamed6029(); + o.attachments = buildUnnamed6096(); } buildCounterAssignmentSubmission--; return o; @@ -152,7 +152,7 @@ api.AssignmentSubmission buildAssignmentSubmission() { void checkAssignmentSubmission(api.AssignmentSubmission o) { buildCounterAssignmentSubmission++; if (buildCounterAssignmentSubmission < 3) { - checkUnnamed6029(o.attachments!); + checkUnnamed6096(o.attachments!); } buildCounterAssignmentSubmission--; } @@ -204,12 +204,12 @@ void checkCloudPubsubTopic(api.CloudPubsubTopic o) { buildCounterCloudPubsubTopic--; } -core.List buildUnnamed6030() => [ +core.List buildUnnamed6097() => [ buildCourseMaterialSet(), buildCourseMaterialSet(), ]; -void checkUnnamed6030(core.List o) { +void checkUnnamed6097(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCourseMaterialSet(o[0]); checkCourseMaterialSet(o[1]); @@ -223,7 +223,7 @@ api.Course buildCourse() { o.alternateLink = 'foo'; o.calendarId = 'foo'; o.courseGroupEmail = 'foo'; - o.courseMaterialSets = buildUnnamed6030(); + o.courseMaterialSets = buildUnnamed6097(); o.courseState = 'foo'; o.creationTime = 'foo'; o.description = 'foo'; @@ -258,7 +258,7 @@ void checkCourse(api.Course o) { o.courseGroupEmail!, unittest.equals('foo'), ); - checkUnnamed6030(o.courseMaterialSets!); + checkUnnamed6097(o.courseMaterialSets!); unittest.expect( o.courseState!, unittest.equals('foo'), @@ -360,12 +360,12 @@ void checkCourseMaterial(api.CourseMaterial o) { buildCounterCourseMaterial--; } -core.List buildUnnamed6031() => [ +core.List buildUnnamed6098() => [ buildCourseMaterial(), buildCourseMaterial(), ]; -void checkUnnamed6031(core.List o) { +void checkUnnamed6098(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCourseMaterial(o[0]); checkCourseMaterial(o[1]); @@ -376,7 +376,7 @@ api.CourseMaterialSet buildCourseMaterialSet() { final o = api.CourseMaterialSet(); buildCounterCourseMaterialSet++; if (buildCounterCourseMaterialSet < 3) { - o.materials = buildUnnamed6031(); + o.materials = buildUnnamed6098(); o.title = 'foo'; } buildCounterCourseMaterialSet--; @@ -386,7 +386,7 @@ api.CourseMaterialSet buildCourseMaterialSet() { void checkCourseMaterialSet(api.CourseMaterialSet o) { buildCounterCourseMaterialSet++; if (buildCounterCourseMaterialSet < 3) { - checkUnnamed6031(o.materials!); + checkUnnamed6098(o.materials!); unittest.expect( o.title!, unittest.equals('foo'), @@ -417,12 +417,12 @@ void checkCourseRosterChangesInfo(api.CourseRosterChangesInfo o) { buildCounterCourseRosterChangesInfo--; } -core.List buildUnnamed6032() => [ +core.List buildUnnamed6099() => [ buildMaterial(), buildMaterial(), ]; -void checkUnnamed6032(core.List o) { +void checkUnnamed6099(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMaterial(o[0]); checkMaterial(o[1]); @@ -445,7 +445,7 @@ api.CourseWork buildCourseWork() { o.dueTime = buildTimeOfDay(); o.id = 'foo'; o.individualStudentsOptions = buildIndividualStudentsOptions(); - o.materials = buildUnnamed6032(); + o.materials = buildUnnamed6099(); o.maxPoints = 42.0; o.multipleChoiceQuestion = buildMultipleChoiceQuestion(); o.scheduledTime = 'foo'; @@ -496,7 +496,7 @@ void checkCourseWork(api.CourseWork o) { unittest.equals('foo'), ); checkIndividualStudentsOptions(o.individualStudentsOptions!); - checkUnnamed6032(o.materials!); + checkUnnamed6099(o.materials!); unittest.expect( o.maxPoints!, unittest.equals(42.0), @@ -556,12 +556,12 @@ void checkCourseWorkChangesInfo(api.CourseWorkChangesInfo o) { buildCounterCourseWorkChangesInfo--; } -core.List buildUnnamed6033() => [ +core.List buildUnnamed6100() => [ buildMaterial(), buildMaterial(), ]; -void checkUnnamed6033(core.List o) { +void checkUnnamed6100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMaterial(o[0]); checkMaterial(o[1]); @@ -580,7 +580,7 @@ api.CourseWorkMaterial buildCourseWorkMaterial() { o.description = 'foo'; o.id = 'foo'; o.individualStudentsOptions = buildIndividualStudentsOptions(); - o.materials = buildUnnamed6033(); + o.materials = buildUnnamed6100(); o.scheduledTime = 'foo'; o.state = 'foo'; o.title = 'foo'; @@ -623,7 +623,7 @@ void checkCourseWorkMaterial(api.CourseWorkMaterial o) { unittest.equals('foo'), ); checkIndividualStudentsOptions(o.individualStudentsOptions!); - checkUnnamed6033(o.materials!); + checkUnnamed6100(o.materials!); unittest.expect( o.scheduledTime!, unittest.equals('foo'), @@ -967,12 +967,12 @@ void checkGuardianInvitation(api.GuardianInvitation o) { buildCounterGuardianInvitation--; } -core.List buildUnnamed6034() => [ +core.List buildUnnamed6101() => [ 'foo', 'foo', ]; -void checkUnnamed6034(core.List o) { +void checkUnnamed6101(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -989,7 +989,7 @@ api.IndividualStudentsOptions buildIndividualStudentsOptions() { final o = api.IndividualStudentsOptions(); buildCounterIndividualStudentsOptions++; if (buildCounterIndividualStudentsOptions < 3) { - o.studentIds = buildUnnamed6034(); + o.studentIds = buildUnnamed6101(); } buildCounterIndividualStudentsOptions--; return o; @@ -998,7 +998,7 @@ api.IndividualStudentsOptions buildIndividualStudentsOptions() { void checkIndividualStudentsOptions(api.IndividualStudentsOptions o) { buildCounterIndividualStudentsOptions++; if (buildCounterIndividualStudentsOptions < 3) { - checkUnnamed6034(o.studentIds!); + checkUnnamed6101(o.studentIds!); } buildCounterIndividualStudentsOptions--; } @@ -1072,12 +1072,12 @@ void checkLink(api.Link o) { buildCounterLink--; } -core.List buildUnnamed6035() => [ +core.List buildUnnamed6102() => [ buildAnnouncement(), buildAnnouncement(), ]; -void checkUnnamed6035(core.List o) { +void checkUnnamed6102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnouncement(o[0]); checkAnnouncement(o[1]); @@ -1088,7 +1088,7 @@ api.ListAnnouncementsResponse buildListAnnouncementsResponse() { final o = api.ListAnnouncementsResponse(); buildCounterListAnnouncementsResponse++; if (buildCounterListAnnouncementsResponse < 3) { - o.announcements = buildUnnamed6035(); + o.announcements = buildUnnamed6102(); o.nextPageToken = 'foo'; } buildCounterListAnnouncementsResponse--; @@ -1098,7 +1098,7 @@ api.ListAnnouncementsResponse buildListAnnouncementsResponse() { void checkListAnnouncementsResponse(api.ListAnnouncementsResponse o) { buildCounterListAnnouncementsResponse++; if (buildCounterListAnnouncementsResponse < 3) { - checkUnnamed6035(o.announcements!); + checkUnnamed6102(o.announcements!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1107,12 +1107,12 @@ void checkListAnnouncementsResponse(api.ListAnnouncementsResponse o) { buildCounterListAnnouncementsResponse--; } -core.List buildUnnamed6036() => [ +core.List buildUnnamed6103() => [ buildCourseAlias(), buildCourseAlias(), ]; -void checkUnnamed6036(core.List o) { +void checkUnnamed6103(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCourseAlias(o[0]); checkCourseAlias(o[1]); @@ -1123,7 +1123,7 @@ api.ListCourseAliasesResponse buildListCourseAliasesResponse() { final o = api.ListCourseAliasesResponse(); buildCounterListCourseAliasesResponse++; if (buildCounterListCourseAliasesResponse < 3) { - o.aliases = buildUnnamed6036(); + o.aliases = buildUnnamed6103(); o.nextPageToken = 'foo'; } buildCounterListCourseAliasesResponse--; @@ -1133,7 +1133,7 @@ api.ListCourseAliasesResponse buildListCourseAliasesResponse() { void checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) { buildCounterListCourseAliasesResponse++; if (buildCounterListCourseAliasesResponse < 3) { - checkUnnamed6036(o.aliases!); + checkUnnamed6103(o.aliases!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1142,12 +1142,12 @@ void checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) { buildCounterListCourseAliasesResponse--; } -core.List buildUnnamed6037() => [ +core.List buildUnnamed6104() => [ buildCourseWorkMaterial(), buildCourseWorkMaterial(), ]; -void checkUnnamed6037(core.List o) { +void checkUnnamed6104(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCourseWorkMaterial(o[0]); checkCourseWorkMaterial(o[1]); @@ -1158,7 +1158,7 @@ api.ListCourseWorkMaterialResponse buildListCourseWorkMaterialResponse() { final o = api.ListCourseWorkMaterialResponse(); buildCounterListCourseWorkMaterialResponse++; if (buildCounterListCourseWorkMaterialResponse < 3) { - o.courseWorkMaterial = buildUnnamed6037(); + o.courseWorkMaterial = buildUnnamed6104(); o.nextPageToken = 'foo'; } buildCounterListCourseWorkMaterialResponse--; @@ -1168,7 +1168,7 @@ api.ListCourseWorkMaterialResponse buildListCourseWorkMaterialResponse() { void checkListCourseWorkMaterialResponse(api.ListCourseWorkMaterialResponse o) { buildCounterListCourseWorkMaterialResponse++; if (buildCounterListCourseWorkMaterialResponse < 3) { - checkUnnamed6037(o.courseWorkMaterial!); + checkUnnamed6104(o.courseWorkMaterial!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1177,12 +1177,12 @@ void checkListCourseWorkMaterialResponse(api.ListCourseWorkMaterialResponse o) { buildCounterListCourseWorkMaterialResponse--; } -core.List buildUnnamed6038() => [ +core.List buildUnnamed6105() => [ buildCourseWork(), buildCourseWork(), ]; -void checkUnnamed6038(core.List o) { +void checkUnnamed6105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCourseWork(o[0]); checkCourseWork(o[1]); @@ -1193,7 +1193,7 @@ api.ListCourseWorkResponse buildListCourseWorkResponse() { final o = api.ListCourseWorkResponse(); buildCounterListCourseWorkResponse++; if (buildCounterListCourseWorkResponse < 3) { - o.courseWork = buildUnnamed6038(); + o.courseWork = buildUnnamed6105(); o.nextPageToken = 'foo'; } buildCounterListCourseWorkResponse--; @@ -1203,7 +1203,7 @@ api.ListCourseWorkResponse buildListCourseWorkResponse() { void checkListCourseWorkResponse(api.ListCourseWorkResponse o) { buildCounterListCourseWorkResponse++; if (buildCounterListCourseWorkResponse < 3) { - checkUnnamed6038(o.courseWork!); + checkUnnamed6105(o.courseWork!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1212,12 +1212,12 @@ void checkListCourseWorkResponse(api.ListCourseWorkResponse o) { buildCounterListCourseWorkResponse--; } -core.List buildUnnamed6039() => [ +core.List buildUnnamed6106() => [ buildCourse(), buildCourse(), ]; -void checkUnnamed6039(core.List o) { +void checkUnnamed6106(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCourse(o[0]); checkCourse(o[1]); @@ -1228,7 +1228,7 @@ api.ListCoursesResponse buildListCoursesResponse() { final o = api.ListCoursesResponse(); buildCounterListCoursesResponse++; if (buildCounterListCoursesResponse < 3) { - o.courses = buildUnnamed6039(); + o.courses = buildUnnamed6106(); o.nextPageToken = 'foo'; } buildCounterListCoursesResponse--; @@ -1238,7 +1238,7 @@ api.ListCoursesResponse buildListCoursesResponse() { void checkListCoursesResponse(api.ListCoursesResponse o) { buildCounterListCoursesResponse++; if (buildCounterListCoursesResponse < 3) { - checkUnnamed6039(o.courses!); + checkUnnamed6106(o.courses!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1247,12 +1247,12 @@ void checkListCoursesResponse(api.ListCoursesResponse o) { buildCounterListCoursesResponse--; } -core.List buildUnnamed6040() => [ +core.List buildUnnamed6107() => [ buildGuardianInvitation(), buildGuardianInvitation(), ]; -void checkUnnamed6040(core.List o) { +void checkUnnamed6107(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuardianInvitation(o[0]); checkGuardianInvitation(o[1]); @@ -1263,7 +1263,7 @@ api.ListGuardianInvitationsResponse buildListGuardianInvitationsResponse() { final o = api.ListGuardianInvitationsResponse(); buildCounterListGuardianInvitationsResponse++; if (buildCounterListGuardianInvitationsResponse < 3) { - o.guardianInvitations = buildUnnamed6040(); + o.guardianInvitations = buildUnnamed6107(); o.nextPageToken = 'foo'; } buildCounterListGuardianInvitationsResponse--; @@ -1274,7 +1274,7 @@ void checkListGuardianInvitationsResponse( api.ListGuardianInvitationsResponse o) { buildCounterListGuardianInvitationsResponse++; if (buildCounterListGuardianInvitationsResponse < 3) { - checkUnnamed6040(o.guardianInvitations!); + checkUnnamed6107(o.guardianInvitations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1283,12 +1283,12 @@ void checkListGuardianInvitationsResponse( buildCounterListGuardianInvitationsResponse--; } -core.List buildUnnamed6041() => [ +core.List buildUnnamed6108() => [ buildGuardian(), buildGuardian(), ]; -void checkUnnamed6041(core.List o) { +void checkUnnamed6108(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuardian(o[0]); checkGuardian(o[1]); @@ -1299,7 +1299,7 @@ api.ListGuardiansResponse buildListGuardiansResponse() { final o = api.ListGuardiansResponse(); buildCounterListGuardiansResponse++; if (buildCounterListGuardiansResponse < 3) { - o.guardians = buildUnnamed6041(); + o.guardians = buildUnnamed6108(); o.nextPageToken = 'foo'; } buildCounterListGuardiansResponse--; @@ -1309,7 +1309,7 @@ api.ListGuardiansResponse buildListGuardiansResponse() { void checkListGuardiansResponse(api.ListGuardiansResponse o) { buildCounterListGuardiansResponse++; if (buildCounterListGuardiansResponse < 3) { - checkUnnamed6041(o.guardians!); + checkUnnamed6108(o.guardians!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1318,12 +1318,12 @@ void checkListGuardiansResponse(api.ListGuardiansResponse o) { buildCounterListGuardiansResponse--; } -core.List buildUnnamed6042() => [ +core.List buildUnnamed6109() => [ buildInvitation(), buildInvitation(), ]; -void checkUnnamed6042(core.List o) { +void checkUnnamed6109(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInvitation(o[0]); checkInvitation(o[1]); @@ -1334,7 +1334,7 @@ api.ListInvitationsResponse buildListInvitationsResponse() { final o = api.ListInvitationsResponse(); buildCounterListInvitationsResponse++; if (buildCounterListInvitationsResponse < 3) { - o.invitations = buildUnnamed6042(); + o.invitations = buildUnnamed6109(); o.nextPageToken = 'foo'; } buildCounterListInvitationsResponse--; @@ -1344,7 +1344,7 @@ api.ListInvitationsResponse buildListInvitationsResponse() { void checkListInvitationsResponse(api.ListInvitationsResponse o) { buildCounterListInvitationsResponse++; if (buildCounterListInvitationsResponse < 3) { - checkUnnamed6042(o.invitations!); + checkUnnamed6109(o.invitations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1353,12 +1353,12 @@ void checkListInvitationsResponse(api.ListInvitationsResponse o) { buildCounterListInvitationsResponse--; } -core.List buildUnnamed6043() => [ +core.List buildUnnamed6110() => [ buildStudentSubmission(), buildStudentSubmission(), ]; -void checkUnnamed6043(core.List o) { +void checkUnnamed6110(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStudentSubmission(o[0]); checkStudentSubmission(o[1]); @@ -1370,7 +1370,7 @@ api.ListStudentSubmissionsResponse buildListStudentSubmissionsResponse() { buildCounterListStudentSubmissionsResponse++; if (buildCounterListStudentSubmissionsResponse < 3) { o.nextPageToken = 'foo'; - o.studentSubmissions = buildUnnamed6043(); + o.studentSubmissions = buildUnnamed6110(); } buildCounterListStudentSubmissionsResponse--; return o; @@ -1383,17 +1383,17 @@ void checkListStudentSubmissionsResponse(api.ListStudentSubmissionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6043(o.studentSubmissions!); + checkUnnamed6110(o.studentSubmissions!); } buildCounterListStudentSubmissionsResponse--; } -core.List buildUnnamed6044() => [ +core.List buildUnnamed6111() => [ buildStudent(), buildStudent(), ]; -void checkUnnamed6044(core.List o) { +void checkUnnamed6111(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStudent(o[0]); checkStudent(o[1]); @@ -1405,7 +1405,7 @@ api.ListStudentsResponse buildListStudentsResponse() { buildCounterListStudentsResponse++; if (buildCounterListStudentsResponse < 3) { o.nextPageToken = 'foo'; - o.students = buildUnnamed6044(); + o.students = buildUnnamed6111(); } buildCounterListStudentsResponse--; return o; @@ -1418,17 +1418,17 @@ void checkListStudentsResponse(api.ListStudentsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6044(o.students!); + checkUnnamed6111(o.students!); } buildCounterListStudentsResponse--; } -core.List buildUnnamed6045() => [ +core.List buildUnnamed6112() => [ buildTeacher(), buildTeacher(), ]; -void checkUnnamed6045(core.List o) { +void checkUnnamed6112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTeacher(o[0]); checkTeacher(o[1]); @@ -1440,7 +1440,7 @@ api.ListTeachersResponse buildListTeachersResponse() { buildCounterListTeachersResponse++; if (buildCounterListTeachersResponse < 3) { o.nextPageToken = 'foo'; - o.teachers = buildUnnamed6045(); + o.teachers = buildUnnamed6112(); } buildCounterListTeachersResponse--; return o; @@ -1453,17 +1453,17 @@ void checkListTeachersResponse(api.ListTeachersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6045(o.teachers!); + checkUnnamed6112(o.teachers!); } buildCounterListTeachersResponse--; } -core.List buildUnnamed6046() => [ +core.List buildUnnamed6113() => [ buildTopic(), buildTopic(), ]; -void checkUnnamed6046(core.List o) { +void checkUnnamed6113(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTopic(o[0]); checkTopic(o[1]); @@ -1475,7 +1475,7 @@ api.ListTopicResponse buildListTopicResponse() { buildCounterListTopicResponse++; if (buildCounterListTopicResponse < 3) { o.nextPageToken = 'foo'; - o.topic = buildUnnamed6046(); + o.topic = buildUnnamed6113(); } buildCounterListTopicResponse--; return o; @@ -1488,7 +1488,7 @@ void checkListTopicResponse(api.ListTopicResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6046(o.topic!); + checkUnnamed6113(o.topic!); } buildCounterListTopicResponse--; } @@ -1544,12 +1544,12 @@ void checkModifyAnnouncementAssigneesRequest( buildCounterModifyAnnouncementAssigneesRequest--; } -core.List buildUnnamed6047() => [ +core.List buildUnnamed6114() => [ buildAttachment(), buildAttachment(), ]; -void checkUnnamed6047(core.List o) { +void checkUnnamed6114(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachment(o[0]); checkAttachment(o[1]); @@ -1560,7 +1560,7 @@ api.ModifyAttachmentsRequest buildModifyAttachmentsRequest() { final o = api.ModifyAttachmentsRequest(); buildCounterModifyAttachmentsRequest++; if (buildCounterModifyAttachmentsRequest < 3) { - o.addAttachments = buildUnnamed6047(); + o.addAttachments = buildUnnamed6114(); } buildCounterModifyAttachmentsRequest--; return o; @@ -1569,7 +1569,7 @@ api.ModifyAttachmentsRequest buildModifyAttachmentsRequest() { void checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) { buildCounterModifyAttachmentsRequest++; if (buildCounterModifyAttachmentsRequest < 3) { - checkUnnamed6047(o.addAttachments!); + checkUnnamed6114(o.addAttachments!); } buildCounterModifyAttachmentsRequest--; } @@ -1599,12 +1599,12 @@ void checkModifyCourseWorkAssigneesRequest( buildCounterModifyCourseWorkAssigneesRequest--; } -core.List buildUnnamed6048() => [ +core.List buildUnnamed6115() => [ 'foo', 'foo', ]; -void checkUnnamed6048(core.List o) { +void checkUnnamed6115(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1616,12 +1616,12 @@ void checkUnnamed6048(core.List o) { ); } -core.List buildUnnamed6049() => [ +core.List buildUnnamed6116() => [ 'foo', 'foo', ]; -void checkUnnamed6049(core.List o) { +void checkUnnamed6116(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1638,8 +1638,8 @@ api.ModifyIndividualStudentsOptions buildModifyIndividualStudentsOptions() { final o = api.ModifyIndividualStudentsOptions(); buildCounterModifyIndividualStudentsOptions++; if (buildCounterModifyIndividualStudentsOptions < 3) { - o.addStudentIds = buildUnnamed6048(); - o.removeStudentIds = buildUnnamed6049(); + o.addStudentIds = buildUnnamed6115(); + o.removeStudentIds = buildUnnamed6116(); } buildCounterModifyIndividualStudentsOptions--; return o; @@ -1649,18 +1649,18 @@ void checkModifyIndividualStudentsOptions( api.ModifyIndividualStudentsOptions o) { buildCounterModifyIndividualStudentsOptions++; if (buildCounterModifyIndividualStudentsOptions < 3) { - checkUnnamed6048(o.addStudentIds!); - checkUnnamed6049(o.removeStudentIds!); + checkUnnamed6115(o.addStudentIds!); + checkUnnamed6116(o.removeStudentIds!); } buildCounterModifyIndividualStudentsOptions--; } -core.List buildUnnamed6050() => [ +core.List buildUnnamed6117() => [ 'foo', 'foo', ]; -void checkUnnamed6050(core.List o) { +void checkUnnamed6117(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1677,7 +1677,7 @@ api.MultipleChoiceQuestion buildMultipleChoiceQuestion() { final o = api.MultipleChoiceQuestion(); buildCounterMultipleChoiceQuestion++; if (buildCounterMultipleChoiceQuestion < 3) { - o.choices = buildUnnamed6050(); + o.choices = buildUnnamed6117(); } buildCounterMultipleChoiceQuestion--; return o; @@ -1686,7 +1686,7 @@ api.MultipleChoiceQuestion buildMultipleChoiceQuestion() { void checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) { buildCounterMultipleChoiceQuestion++; if (buildCounterMultipleChoiceQuestion < 3) { - checkUnnamed6050(o.choices!); + checkUnnamed6117(o.choices!); } buildCounterMultipleChoiceQuestion--; } @@ -1916,12 +1916,12 @@ void checkStudent(api.Student o) { buildCounterStudent--; } -core.List buildUnnamed6051() => [ +core.List buildUnnamed6118() => [ buildSubmissionHistory(), buildSubmissionHistory(), ]; -void checkUnnamed6051(core.List o) { +void checkUnnamed6118(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubmissionHistory(o[0]); checkSubmissionHistory(o[1]); @@ -1946,7 +1946,7 @@ api.StudentSubmission buildStudentSubmission() { o.multipleChoiceSubmission = buildMultipleChoiceSubmission(); o.shortAnswerSubmission = buildShortAnswerSubmission(); o.state = 'foo'; - o.submissionHistory = buildUnnamed6051(); + o.submissionHistory = buildUnnamed6118(); o.updateTime = 'foo'; o.userId = 'foo'; } @@ -1998,7 +1998,7 @@ void checkStudentSubmission(api.StudentSubmission o) { o.state!, unittest.equals('foo'), ); - checkUnnamed6051(o.submissionHistory!); + checkUnnamed6118(o.submissionHistory!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -2150,12 +2150,12 @@ void checkTurnInStudentSubmissionRequest(api.TurnInStudentSubmissionRequest o) { buildCounterTurnInStudentSubmissionRequest--; } -core.List buildUnnamed6052() => [ +core.List buildUnnamed6119() => [ buildGlobalPermission(), buildGlobalPermission(), ]; -void checkUnnamed6052(core.List o) { +void checkUnnamed6119(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGlobalPermission(o[0]); checkGlobalPermission(o[1]); @@ -2169,7 +2169,7 @@ api.UserProfile buildUserProfile() { o.emailAddress = 'foo'; o.id = 'foo'; o.name = buildName(); - o.permissions = buildUnnamed6052(); + o.permissions = buildUnnamed6119(); o.photoUrl = 'foo'; o.verifiedTeacher = true; } @@ -2189,7 +2189,7 @@ void checkUserProfile(api.UserProfile o) { unittest.equals('foo'), ); checkName(o.name!); - checkUnnamed6052(o.permissions!); + checkUnnamed6119(o.permissions!); unittest.expect( o.photoUrl!, unittest.equals('foo'), @@ -2236,12 +2236,12 @@ void checkYouTubeVideo(api.YouTubeVideo o) { buildCounterYouTubeVideo--; } -core.List buildUnnamed6053() => [ +core.List buildUnnamed6120() => [ 'foo', 'foo', ]; -void checkUnnamed6053(core.List o) { +void checkUnnamed6120(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2253,12 +2253,12 @@ void checkUnnamed6053(core.List o) { ); } -core.List buildUnnamed6054() => [ +core.List buildUnnamed6121() => [ 'foo', 'foo', ]; -void checkUnnamed6054(core.List o) { +void checkUnnamed6121(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2270,12 +2270,12 @@ void checkUnnamed6054(core.List o) { ); } -core.List buildUnnamed6055() => [ +core.List buildUnnamed6122() => [ 'foo', 'foo', ]; -void checkUnnamed6055(core.List o) { +void checkUnnamed6122(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2287,12 +2287,12 @@ void checkUnnamed6055(core.List o) { ); } -core.List buildUnnamed6056() => [ +core.List buildUnnamed6123() => [ 'foo', 'foo', ]; -void checkUnnamed6056(core.List o) { +void checkUnnamed6123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2304,12 +2304,12 @@ void checkUnnamed6056(core.List o) { ); } -core.List buildUnnamed6057() => [ +core.List buildUnnamed6124() => [ 'foo', 'foo', ]; -void checkUnnamed6057(core.List o) { +void checkUnnamed6124(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2321,12 +2321,12 @@ void checkUnnamed6057(core.List o) { ); } -core.List buildUnnamed6058() => [ +core.List buildUnnamed6125() => [ 'foo', 'foo', ]; -void checkUnnamed6058(core.List o) { +void checkUnnamed6125(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3122,7 +3122,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.ClassroomApi(mock).courses; - final arg_courseStates = buildUnnamed6053(); + final arg_courseStates = buildUnnamed6120(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_studentId = 'foo'; @@ -3778,7 +3778,7 @@ void main() { final mock = HttpServerMock(); final res = api.ClassroomApi(mock).courses.announcements; final arg_courseId = 'foo'; - final arg_announcementStates = buildUnnamed6054(); + final arg_announcementStates = buildUnnamed6121(); final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; @@ -4257,7 +4257,7 @@ void main() { final mock = HttpServerMock(); final res = api.ClassroomApi(mock).courses.courseWork; final arg_courseId = 'foo'; - final arg_courseWorkStates = buildUnnamed6055(); + final arg_courseWorkStates = buildUnnamed6122(); final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; @@ -4611,7 +4611,7 @@ void main() { final arg_late = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_states = buildUnnamed6056(); + final arg_states = buildUnnamed6123(); final arg_userId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -5445,7 +5445,7 @@ void main() { final mock = HttpServerMock(); final res = api.ClassroomApi(mock).courses.courseWorkMaterials; final arg_courseId = 'foo'; - final arg_courseWorkMaterialStates = buildUnnamed6057(); + final arg_courseWorkMaterialStates = buildUnnamed6124(); final arg_materialDriveId = 'foo'; final arg_materialLink = 'foo'; final arg_orderBy = 'foo'; @@ -7244,7 +7244,7 @@ void main() { final arg_invitedEmailAddress = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_states = buildUnnamed6058(); + final arg_states = buildUnnamed6125(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/cloudasset/v1_test.dart b/generated/googleapis/test/cloudasset/v1_test.dart index 581b99d9e..731c1b680 100644 --- a/generated/googleapis/test/cloudasset/v1_test.dart +++ b/generated/googleapis/test/cloudasset/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3482() => [ +core.List buildUnnamed3379() => [ 'foo', 'foo', ]; -void checkUnnamed3482(core.List o) { +void checkUnnamed3379(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed3482(core.List o) { ); } -core.List buildUnnamed3483() => [ +core.List buildUnnamed3380() => [ 'foo', 'foo', ]; -void checkUnnamed3483(core.List o) { +void checkUnnamed3380(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,8 +65,8 @@ api.AccessSelector buildAccessSelector() { final o = api.AccessSelector(); buildCounterAccessSelector++; if (buildCounterAccessSelector < 3) { - o.permissions = buildUnnamed3482(); - o.roles = buildUnnamed3483(); + o.permissions = buildUnnamed3379(); + o.roles = buildUnnamed3380(); } buildCounterAccessSelector--; return o; @@ -75,12 +75,36 @@ api.AccessSelector buildAccessSelector() { void checkAccessSelector(api.AccessSelector o) { buildCounterAccessSelector++; if (buildCounterAccessSelector < 3) { - checkUnnamed3482(o.permissions!); - checkUnnamed3483(o.roles!); + checkUnnamed3379(o.permissions!); + checkUnnamed3380(o.roles!); } buildCounterAccessSelector--; } +core.int buildCounterAnalyzeIamPolicyLongrunningMetadata = 0; +api.AnalyzeIamPolicyLongrunningMetadata + buildAnalyzeIamPolicyLongrunningMetadata() { + final o = api.AnalyzeIamPolicyLongrunningMetadata(); + buildCounterAnalyzeIamPolicyLongrunningMetadata++; + if (buildCounterAnalyzeIamPolicyLongrunningMetadata < 3) { + o.createTime = 'foo'; + } + buildCounterAnalyzeIamPolicyLongrunningMetadata--; + return o; +} + +void checkAnalyzeIamPolicyLongrunningMetadata( + api.AnalyzeIamPolicyLongrunningMetadata o) { + buildCounterAnalyzeIamPolicyLongrunningMetadata++; + if (buildCounterAnalyzeIamPolicyLongrunningMetadata < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + } + buildCounterAnalyzeIamPolicyLongrunningMetadata--; +} + core.int buildCounterAnalyzeIamPolicyLongrunningRequest = 0; api.AnalyzeIamPolicyLongrunningRequest buildAnalyzeIamPolicyLongrunningRequest() { @@ -121,12 +145,12 @@ void checkAnalyzeIamPolicyLongrunningResponse( buildCounterAnalyzeIamPolicyLongrunningResponse--; } -core.List buildUnnamed3484() => [ +core.List buildUnnamed3381() => [ buildIamPolicyAnalysis(), buildIamPolicyAnalysis(), ]; -void checkUnnamed3484(core.List o) { +void checkUnnamed3381(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIamPolicyAnalysis(o[0]); checkIamPolicyAnalysis(o[1]); @@ -139,7 +163,7 @@ api.AnalyzeIamPolicyResponse buildAnalyzeIamPolicyResponse() { if (buildCounterAnalyzeIamPolicyResponse < 3) { o.fullyExplored = true; o.mainAnalysis = buildIamPolicyAnalysis(); - o.serviceAccountImpersonationAnalysis = buildUnnamed3484(); + o.serviceAccountImpersonationAnalysis = buildUnnamed3381(); } buildCounterAnalyzeIamPolicyResponse--; return o; @@ -150,17 +174,17 @@ void checkAnalyzeIamPolicyResponse(api.AnalyzeIamPolicyResponse o) { if (buildCounterAnalyzeIamPolicyResponse < 3) { unittest.expect(o.fullyExplored!, unittest.isTrue); checkIamPolicyAnalysis(o.mainAnalysis!); - checkUnnamed3484(o.serviceAccountImpersonationAnalysis!); + checkUnnamed3381(o.serviceAccountImpersonationAnalysis!); } buildCounterAnalyzeIamPolicyResponse--; } -core.List buildUnnamed3485() => [ +core.List buildUnnamed3382() => [ buildMoveAnalysis(), buildMoveAnalysis(), ]; -void checkUnnamed3485(core.List o) { +void checkUnnamed3382(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMoveAnalysis(o[0]); checkMoveAnalysis(o[1]); @@ -171,7 +195,7 @@ api.AnalyzeMoveResponse buildAnalyzeMoveResponse() { final o = api.AnalyzeMoveResponse(); buildCounterAnalyzeMoveResponse++; if (buildCounterAnalyzeMoveResponse < 3) { - o.moveAnalysis = buildUnnamed3485(); + o.moveAnalysis = buildUnnamed3382(); } buildCounterAnalyzeMoveResponse--; return o; @@ -180,17 +204,17 @@ api.AnalyzeMoveResponse buildAnalyzeMoveResponse() { void checkAnalyzeMoveResponse(api.AnalyzeMoveResponse o) { buildCounterAnalyzeMoveResponse++; if (buildCounterAnalyzeMoveResponse < 3) { - checkUnnamed3485(o.moveAnalysis!); + checkUnnamed3382(o.moveAnalysis!); } buildCounterAnalyzeMoveResponse--; } -core.List buildUnnamed3486() => [ +core.List buildUnnamed3383() => [ 'foo', 'foo', ]; -void checkUnnamed3486(core.List o) { +void checkUnnamed3383(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -202,12 +226,12 @@ void checkUnnamed3486(core.List o) { ); } -core.List buildUnnamed3487() => [ +core.List buildUnnamed3384() => [ buildGoogleCloudOrgpolicyV1Policy(), buildGoogleCloudOrgpolicyV1Policy(), ]; -void checkUnnamed3487(core.List o) { +void checkUnnamed3384(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV1Policy(o[0]); checkGoogleCloudOrgpolicyV1Policy(o[1]); @@ -220,12 +244,13 @@ api.Asset buildAsset() { if (buildCounterAsset < 3) { o.accessLevel = buildGoogleIdentityAccesscontextmanagerV1AccessLevel(); o.accessPolicy = buildGoogleIdentityAccesscontextmanagerV1AccessPolicy(); - o.ancestors = buildUnnamed3486(); + o.ancestors = buildUnnamed3383(); o.assetType = 'foo'; o.iamPolicy = buildPolicy(); o.name = 'foo'; - o.orgPolicy = buildUnnamed3487(); + o.orgPolicy = buildUnnamed3384(); o.osInventory = buildInventory(); + o.relatedAssets = buildRelatedAssets(); o.resource = buildResource(); o.servicePerimeter = buildGoogleIdentityAccesscontextmanagerV1ServicePerimeter(); @@ -240,7 +265,7 @@ void checkAsset(api.Asset o) { if (buildCounterAsset < 3) { checkGoogleIdentityAccesscontextmanagerV1AccessLevel(o.accessLevel!); checkGoogleIdentityAccesscontextmanagerV1AccessPolicy(o.accessPolicy!); - checkUnnamed3486(o.ancestors!); + checkUnnamed3383(o.ancestors!); unittest.expect( o.assetType!, unittest.equals('foo'), @@ -250,8 +275,9 @@ void checkAsset(api.Asset o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3487(o.orgPolicy!); + checkUnnamed3384(o.orgPolicy!); checkInventory(o.osInventory!); + checkRelatedAssets(o.relatedAssets!); checkResource(o.resource!); checkGoogleIdentityAccesscontextmanagerV1ServicePerimeter( o.servicePerimeter!); @@ -263,12 +289,12 @@ void checkAsset(api.Asset o) { buildCounterAsset--; } -core.List buildUnnamed3488() => [ +core.List buildUnnamed3385() => [ buildVersionedResource(), buildVersionedResource(), ]; -void checkUnnamed3488(core.List o) { +void checkUnnamed3385(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersionedResource(o[0]); checkVersionedResource(o[1]); @@ -280,7 +306,7 @@ api.AttachedResource buildAttachedResource() { buildCounterAttachedResource++; if (buildCounterAttachedResource < 3) { o.assetType = 'foo'; - o.versionedResources = buildUnnamed3488(); + o.versionedResources = buildUnnamed3385(); } buildCounterAttachedResource--; return o; @@ -293,17 +319,17 @@ void checkAttachedResource(api.AttachedResource o) { o.assetType!, unittest.equals('foo'), ); - checkUnnamed3488(o.versionedResources!); + checkUnnamed3385(o.versionedResources!); } buildCounterAttachedResource--; } -core.List buildUnnamed3489() => [ +core.List buildUnnamed3386() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed3489(core.List o) { +void checkUnnamed3386(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -314,7 +340,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed3489(); + o.auditLogConfigs = buildUnnamed3386(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -324,7 +350,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed3489(o.auditLogConfigs!); + checkUnnamed3386(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -333,12 +359,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed3490() => [ +core.List buildUnnamed3387() => [ 'foo', 'foo', ]; -void checkUnnamed3490(core.List o) { +void checkUnnamed3387(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -355,7 +381,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed3490(); + o.exemptedMembers = buildUnnamed3387(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -365,7 +391,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed3490(o.exemptedMembers!); + checkUnnamed3387(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -374,12 +400,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed3491() => [ +core.List buildUnnamed3388() => [ buildTemporalAsset(), buildTemporalAsset(), ]; -void checkUnnamed3491(core.List o) { +void checkUnnamed3388(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTemporalAsset(o[0]); checkTemporalAsset(o[1]); @@ -390,7 +416,7 @@ api.BatchGetAssetsHistoryResponse buildBatchGetAssetsHistoryResponse() { final o = api.BatchGetAssetsHistoryResponse(); buildCounterBatchGetAssetsHistoryResponse++; if (buildCounterBatchGetAssetsHistoryResponse < 3) { - o.assets = buildUnnamed3491(); + o.assets = buildUnnamed3388(); } buildCounterBatchGetAssetsHistoryResponse--; return o; @@ -399,7 +425,7 @@ api.BatchGetAssetsHistoryResponse buildBatchGetAssetsHistoryResponse() { void checkBatchGetAssetsHistoryResponse(api.BatchGetAssetsHistoryResponse o) { buildCounterBatchGetAssetsHistoryResponse++; if (buildCounterBatchGetAssetsHistoryResponse < 3) { - checkUnnamed3491(o.assets!); + checkUnnamed3388(o.assets!); } buildCounterBatchGetAssetsHistoryResponse--; } @@ -437,12 +463,12 @@ void checkBigQueryDestination(api.BigQueryDestination o) { buildCounterBigQueryDestination--; } -core.List buildUnnamed3492() => [ +core.List buildUnnamed3389() => [ 'foo', 'foo', ]; -void checkUnnamed3492(core.List o) { +void checkUnnamed3389(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -460,7 +486,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3492(); + o.members = buildUnnamed3389(); o.role = 'foo'; } buildCounterBinding--; @@ -471,7 +497,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3492(o.members!); + checkUnnamed3389(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -548,6 +574,38 @@ void checkCreateFeedRequest(api.CreateFeedRequest o) { buildCounterCreateFeedRequest--; } +core.int buildCounterDate = 0; +api.Date buildDate() { + final o = api.Date(); + buildCounterDate++; + if (buildCounterDate < 3) { + o.day = 42; + o.month = 42; + o.year = 42; + } + buildCounterDate--; + return o; +} + +void checkDate(api.Date o) { + buildCounterDate++; + if (buildCounterDate < 3) { + unittest.expect( + o.day!, + unittest.equals(42), + ); + unittest.expect( + o.month!, + unittest.equals(42), + ); + unittest.expect( + o.year!, + unittest.equals(42), + ); + } + buildCounterDate--; +} + core.int buildCounterEmpty = 0; api.Empty buildEmpty() { final o = api.Empty(); @@ -563,12 +621,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.Map buildUnnamed3493() => { +core.Map buildUnnamed3390() => { 'x': buildPermissions(), 'y': buildPermissions(), }; -void checkUnnamed3493(core.Map o) { +void checkUnnamed3390(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPermissions(o['x']!); checkPermissions(o['y']!); @@ -579,7 +637,7 @@ api.Explanation buildExplanation() { final o = api.Explanation(); buildCounterExplanation++; if (buildCounterExplanation < 3) { - o.matchedPermissions = buildUnnamed3493(); + o.matchedPermissions = buildUnnamed3390(); } buildCounterExplanation--; return o; @@ -588,17 +646,34 @@ api.Explanation buildExplanation() { void checkExplanation(api.Explanation o) { buildCounterExplanation++; if (buildCounterExplanation < 3) { - checkUnnamed3493(o.matchedPermissions!); + checkUnnamed3390(o.matchedPermissions!); } buildCounterExplanation--; } -core.List buildUnnamed3494() => [ +core.List buildUnnamed3391() => [ 'foo', 'foo', ]; -void checkUnnamed3494(core.List o) { +void checkUnnamed3391(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3392() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3392(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -615,10 +690,11 @@ api.ExportAssetsRequest buildExportAssetsRequest() { final o = api.ExportAssetsRequest(); buildCounterExportAssetsRequest++; if (buildCounterExportAssetsRequest < 3) { - o.assetTypes = buildUnnamed3494(); + o.assetTypes = buildUnnamed3391(); o.contentType = 'foo'; o.outputConfig = buildOutputConfig(); o.readTime = 'foo'; + o.relationshipTypes = buildUnnamed3392(); } buildCounterExportAssetsRequest--; return o; @@ -627,7 +703,7 @@ api.ExportAssetsRequest buildExportAssetsRequest() { void checkExportAssetsRequest(api.ExportAssetsRequest o) { buildCounterExportAssetsRequest++; if (buildCounterExportAssetsRequest < 3) { - checkUnnamed3494(o.assetTypes!); + checkUnnamed3391(o.assetTypes!); unittest.expect( o.contentType!, unittest.equals('foo'), @@ -637,6 +713,7 @@ void checkExportAssetsRequest(api.ExportAssetsRequest o) { o.readTime!, unittest.equals('foo'), ); + checkUnnamed3392(o.relationshipTypes!); } buildCounterExportAssetsRequest--; } @@ -678,12 +755,29 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed3495() => [ +core.List buildUnnamed3393() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3393(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3394() => [ 'foo', 'foo', ]; -void checkUnnamed3495(core.List o) { +void checkUnnamed3394(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -695,12 +789,12 @@ void checkUnnamed3495(core.List o) { ); } -core.List buildUnnamed3496() => [ +core.List buildUnnamed3395() => [ 'foo', 'foo', ]; -void checkUnnamed3496(core.List o) { +void checkUnnamed3395(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -717,12 +811,13 @@ api.Feed buildFeed() { final o = api.Feed(); buildCounterFeed++; if (buildCounterFeed < 3) { - o.assetNames = buildUnnamed3495(); - o.assetTypes = buildUnnamed3496(); + o.assetNames = buildUnnamed3393(); + o.assetTypes = buildUnnamed3394(); o.condition = buildExpr(); o.contentType = 'foo'; o.feedOutputConfig = buildFeedOutputConfig(); o.name = 'foo'; + o.relationshipTypes = buildUnnamed3395(); } buildCounterFeed--; return o; @@ -731,8 +826,8 @@ api.Feed buildFeed() { void checkFeed(api.Feed o) { buildCounterFeed++; if (buildCounterFeed < 3) { - checkUnnamed3495(o.assetNames!); - checkUnnamed3496(o.assetTypes!); + checkUnnamed3393(o.assetNames!); + checkUnnamed3394(o.assetTypes!); checkExpr(o.condition!); unittest.expect( o.contentType!, @@ -743,6 +838,7 @@ void checkFeed(api.Feed o) { o.name!, unittest.equals('foo'), ); + checkUnnamed3395(o.relationshipTypes!); } buildCounterFeed--; } @@ -822,34 +918,34 @@ void checkGoogleCloudAssetV1Access(api.GoogleCloudAssetV1Access o) { buildCounterGoogleCloudAssetV1Access--; } -core.List buildUnnamed3497() => [ +core.List buildUnnamed3396() => [ buildGoogleCloudAssetV1Access(), buildGoogleCloudAssetV1Access(), ]; -void checkUnnamed3497(core.List o) { +void checkUnnamed3396(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1Access(o[0]); checkGoogleCloudAssetV1Access(o[1]); } -core.List buildUnnamed3498() => [ +core.List buildUnnamed3397() => [ buildGoogleCloudAssetV1Edge(), buildGoogleCloudAssetV1Edge(), ]; -void checkUnnamed3498(core.List o) { +void checkUnnamed3397(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1Edge(o[0]); checkGoogleCloudAssetV1Edge(o[1]); } -core.List buildUnnamed3499() => [ +core.List buildUnnamed3398() => [ buildGoogleCloudAssetV1Resource(), buildGoogleCloudAssetV1Resource(), ]; -void checkUnnamed3499(core.List o) { +void checkUnnamed3398(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1Resource(o[0]); checkGoogleCloudAssetV1Resource(o[1]); @@ -861,10 +957,10 @@ api.GoogleCloudAssetV1AccessControlList final o = api.GoogleCloudAssetV1AccessControlList(); buildCounterGoogleCloudAssetV1AccessControlList++; if (buildCounterGoogleCloudAssetV1AccessControlList < 3) { - o.accesses = buildUnnamed3497(); + o.accesses = buildUnnamed3396(); o.conditionEvaluation = buildConditionEvaluation(); - o.resourceEdges = buildUnnamed3498(); - o.resources = buildUnnamed3499(); + o.resourceEdges = buildUnnamed3397(); + o.resources = buildUnnamed3398(); } buildCounterGoogleCloudAssetV1AccessControlList--; return o; @@ -874,10 +970,10 @@ void checkGoogleCloudAssetV1AccessControlList( api.GoogleCloudAssetV1AccessControlList o) { buildCounterGoogleCloudAssetV1AccessControlList++; if (buildCounterGoogleCloudAssetV1AccessControlList < 3) { - checkUnnamed3497(o.accesses!); + checkUnnamed3396(o.accesses!); checkConditionEvaluation(o.conditionEvaluation!); - checkUnnamed3498(o.resourceEdges!); - checkUnnamed3499(o.resources!); + checkUnnamed3397(o.resourceEdges!); + checkUnnamed3398(o.resources!); } buildCounterGoogleCloudAssetV1AccessControlList--; } @@ -995,23 +1091,23 @@ void checkGoogleCloudAssetV1Identity(api.GoogleCloudAssetV1Identity o) { buildCounterGoogleCloudAssetV1Identity--; } -core.List buildUnnamed3500() => [ +core.List buildUnnamed3399() => [ buildGoogleCloudAssetV1Edge(), buildGoogleCloudAssetV1Edge(), ]; -void checkUnnamed3500(core.List o) { +void checkUnnamed3399(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1Edge(o[0]); checkGoogleCloudAssetV1Edge(o[1]); } -core.List buildUnnamed3501() => [ +core.List buildUnnamed3400() => [ buildGoogleCloudAssetV1Identity(), buildGoogleCloudAssetV1Identity(), ]; -void checkUnnamed3501(core.List o) { +void checkUnnamed3400(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1Identity(o[0]); checkGoogleCloudAssetV1Identity(o[1]); @@ -1022,8 +1118,8 @@ api.GoogleCloudAssetV1IdentityList buildGoogleCloudAssetV1IdentityList() { final o = api.GoogleCloudAssetV1IdentityList(); buildCounterGoogleCloudAssetV1IdentityList++; if (buildCounterGoogleCloudAssetV1IdentityList < 3) { - o.groupEdges = buildUnnamed3500(); - o.identities = buildUnnamed3501(); + o.groupEdges = buildUnnamed3399(); + o.identities = buildUnnamed3400(); } buildCounterGoogleCloudAssetV1IdentityList--; return o; @@ -1032,8 +1128,8 @@ api.GoogleCloudAssetV1IdentityList buildGoogleCloudAssetV1IdentityList() { void checkGoogleCloudAssetV1IdentityList(api.GoogleCloudAssetV1IdentityList o) { buildCounterGoogleCloudAssetV1IdentityList++; if (buildCounterGoogleCloudAssetV1IdentityList < 3) { - checkUnnamed3500(o.groupEdges!); - checkUnnamed3501(o.identities!); + checkUnnamed3399(o.groupEdges!); + checkUnnamed3400(o.identities!); } buildCounterGoogleCloudAssetV1IdentityList--; } @@ -1062,12 +1158,12 @@ void checkGoogleCloudAssetV1Resource(api.GoogleCloudAssetV1Resource o) { buildCounterGoogleCloudAssetV1Resource--; } -core.List buildUnnamed3502() => [ +core.List buildUnnamed3401() => [ 'foo', 'foo', ]; -void checkUnnamed3502(core.List o) { +void checkUnnamed3401(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1079,12 +1175,12 @@ void checkUnnamed3502(core.List o) { ); } -core.List buildUnnamed3503() => [ +core.List buildUnnamed3402() => [ buildGoogleCloudOrgpolicyV1Policy(), buildGoogleCloudOrgpolicyV1Policy(), ]; -void checkUnnamed3503(core.List o) { +void checkUnnamed3402(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV1Policy(o[0]); checkGoogleCloudOrgpolicyV1Policy(o[1]); @@ -1097,11 +1193,11 @@ api.GoogleCloudAssetV1p7beta1Asset buildGoogleCloudAssetV1p7beta1Asset() { if (buildCounterGoogleCloudAssetV1p7beta1Asset < 3) { o.accessLevel = buildGoogleIdentityAccesscontextmanagerV1AccessLevel(); o.accessPolicy = buildGoogleIdentityAccesscontextmanagerV1AccessPolicy(); - o.ancestors = buildUnnamed3502(); + o.ancestors = buildUnnamed3401(); o.assetType = 'foo'; o.iamPolicy = buildPolicy(); o.name = 'foo'; - o.orgPolicy = buildUnnamed3503(); + o.orgPolicy = buildUnnamed3402(); o.relatedAssets = buildGoogleCloudAssetV1p7beta1RelatedAssets(); o.resource = buildGoogleCloudAssetV1p7beta1Resource(); o.servicePerimeter = @@ -1117,7 +1213,7 @@ void checkGoogleCloudAssetV1p7beta1Asset(api.GoogleCloudAssetV1p7beta1Asset o) { if (buildCounterGoogleCloudAssetV1p7beta1Asset < 3) { checkGoogleIdentityAccesscontextmanagerV1AccessLevel(o.accessLevel!); checkGoogleIdentityAccesscontextmanagerV1AccessPolicy(o.accessPolicy!); - checkUnnamed3502(o.ancestors!); + checkUnnamed3401(o.ancestors!); unittest.expect( o.assetType!, unittest.equals('foo'), @@ -1127,7 +1223,7 @@ void checkGoogleCloudAssetV1p7beta1Asset(api.GoogleCloudAssetV1p7beta1Asset o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3503(o.orgPolicy!); + checkUnnamed3402(o.orgPolicy!); checkGoogleCloudAssetV1p7beta1RelatedAssets(o.relatedAssets!); checkGoogleCloudAssetV1p7beta1Resource(o.resource!); checkGoogleIdentityAccesscontextmanagerV1ServicePerimeter( @@ -1140,12 +1236,12 @@ void checkGoogleCloudAssetV1p7beta1Asset(api.GoogleCloudAssetV1p7beta1Asset o) { buildCounterGoogleCloudAssetV1p7beta1Asset--; } -core.List buildUnnamed3504() => [ +core.List buildUnnamed3403() => [ 'foo', 'foo', ]; -void checkUnnamed3504(core.List o) { +void checkUnnamed3403(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1163,7 +1259,7 @@ api.GoogleCloudAssetV1p7beta1RelatedAsset final o = api.GoogleCloudAssetV1p7beta1RelatedAsset(); buildCounterGoogleCloudAssetV1p7beta1RelatedAsset++; if (buildCounterGoogleCloudAssetV1p7beta1RelatedAsset < 3) { - o.ancestors = buildUnnamed3504(); + o.ancestors = buildUnnamed3403(); o.asset = 'foo'; o.assetType = 'foo'; } @@ -1175,7 +1271,7 @@ void checkGoogleCloudAssetV1p7beta1RelatedAsset( api.GoogleCloudAssetV1p7beta1RelatedAsset o) { buildCounterGoogleCloudAssetV1p7beta1RelatedAsset++; if (buildCounterGoogleCloudAssetV1p7beta1RelatedAsset < 3) { - checkUnnamed3504(o.ancestors!); + checkUnnamed3403(o.ancestors!); unittest.expect( o.asset!, unittest.equals('foo'), @@ -1188,12 +1284,12 @@ void checkGoogleCloudAssetV1p7beta1RelatedAsset( buildCounterGoogleCloudAssetV1p7beta1RelatedAsset--; } -core.List buildUnnamed3505() => [ +core.List buildUnnamed3404() => [ buildGoogleCloudAssetV1p7beta1RelatedAsset(), buildGoogleCloudAssetV1p7beta1RelatedAsset(), ]; -void checkUnnamed3505(core.List o) { +void checkUnnamed3404(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1p7beta1RelatedAsset(o[0]); checkGoogleCloudAssetV1p7beta1RelatedAsset(o[1]); @@ -1205,7 +1301,7 @@ api.GoogleCloudAssetV1p7beta1RelatedAssets final o = api.GoogleCloudAssetV1p7beta1RelatedAssets(); buildCounterGoogleCloudAssetV1p7beta1RelatedAssets++; if (buildCounterGoogleCloudAssetV1p7beta1RelatedAssets < 3) { - o.assets = buildUnnamed3505(); + o.assets = buildUnnamed3404(); o.relationshipAttributes = buildGoogleCloudAssetV1p7beta1RelationshipAttributes(); } @@ -1217,7 +1313,7 @@ void checkGoogleCloudAssetV1p7beta1RelatedAssets( api.GoogleCloudAssetV1p7beta1RelatedAssets o) { buildCounterGoogleCloudAssetV1p7beta1RelatedAssets++; if (buildCounterGoogleCloudAssetV1p7beta1RelatedAssets < 3) { - checkUnnamed3505(o.assets!); + checkUnnamed3404(o.assets!); checkGoogleCloudAssetV1p7beta1RelationshipAttributes( o.relationshipAttributes!); } @@ -1263,7 +1359,7 @@ void checkGoogleCloudAssetV1p7beta1RelationshipAttributes( buildCounterGoogleCloudAssetV1p7beta1RelationshipAttributes--; } -core.Map buildUnnamed3506() => { +core.Map buildUnnamed3405() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1276,7 +1372,7 @@ core.Map buildUnnamed3506() => { }, }; -void checkUnnamed3506(core.Map o) { +void checkUnnamed3405(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1313,7 +1409,7 @@ api.GoogleCloudAssetV1p7beta1Resource buildGoogleCloudAssetV1p7beta1Resource() { final o = api.GoogleCloudAssetV1p7beta1Resource(); buildCounterGoogleCloudAssetV1p7beta1Resource++; if (buildCounterGoogleCloudAssetV1p7beta1Resource < 3) { - o.data = buildUnnamed3506(); + o.data = buildUnnamed3405(); o.discoveryDocumentUri = 'foo'; o.discoveryName = 'foo'; o.location = 'foo'; @@ -1329,7 +1425,7 @@ void checkGoogleCloudAssetV1p7beta1Resource( api.GoogleCloudAssetV1p7beta1Resource o) { buildCounterGoogleCloudAssetV1p7beta1Resource++; if (buildCounterGoogleCloudAssetV1p7beta1Resource < 3) { - checkUnnamed3506(o.data!); + checkUnnamed3405(o.data!); unittest.expect( o.discoveryDocumentUri!, unittest.equals('foo'), @@ -1379,12 +1475,12 @@ void checkGoogleCloudOrgpolicyV1BooleanPolicy( buildCounterGoogleCloudOrgpolicyV1BooleanPolicy--; } -core.List buildUnnamed3507() => [ +core.List buildUnnamed3406() => [ 'foo', 'foo', ]; -void checkUnnamed3507(core.List o) { +void checkUnnamed3406(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1396,12 +1492,12 @@ void checkUnnamed3507(core.List o) { ); } -core.List buildUnnamed3508() => [ +core.List buildUnnamed3407() => [ 'foo', 'foo', ]; -void checkUnnamed3508(core.List o) { +void checkUnnamed3407(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1419,8 +1515,8 @@ api.GoogleCloudOrgpolicyV1ListPolicy buildGoogleCloudOrgpolicyV1ListPolicy() { buildCounterGoogleCloudOrgpolicyV1ListPolicy++; if (buildCounterGoogleCloudOrgpolicyV1ListPolicy < 3) { o.allValues = 'foo'; - o.allowedValues = buildUnnamed3507(); - o.deniedValues = buildUnnamed3508(); + o.allowedValues = buildUnnamed3406(); + o.deniedValues = buildUnnamed3407(); o.inheritFromParent = true; o.suggestedValue = 'foo'; } @@ -1436,8 +1532,8 @@ void checkGoogleCloudOrgpolicyV1ListPolicy( o.allValues!, unittest.equals('foo'), ); - checkUnnamed3507(o.allowedValues!); - checkUnnamed3508(o.deniedValues!); + checkUnnamed3406(o.allowedValues!); + checkUnnamed3407(o.deniedValues!); unittest.expect(o.inheritFromParent!, unittest.isTrue); unittest.expect( o.suggestedValue!, @@ -1585,12 +1681,12 @@ void checkGoogleIdentityAccesscontextmanagerV1AccessPolicy( } core.List - buildUnnamed3509() => [ + buildUnnamed3408() => [ buildGoogleIdentityAccesscontextmanagerV1MethodSelector(), buildGoogleIdentityAccesscontextmanagerV1MethodSelector(), ]; -void checkUnnamed3509( +void checkUnnamed3408( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1MethodSelector(o[0]); @@ -1603,7 +1699,7 @@ api.GoogleIdentityAccesscontextmanagerV1ApiOperation final o = api.GoogleIdentityAccesscontextmanagerV1ApiOperation(); buildCounterGoogleIdentityAccesscontextmanagerV1ApiOperation++; if (buildCounterGoogleIdentityAccesscontextmanagerV1ApiOperation < 3) { - o.methodSelectors = buildUnnamed3509(); + o.methodSelectors = buildUnnamed3408(); o.serviceName = 'foo'; } buildCounterGoogleIdentityAccesscontextmanagerV1ApiOperation--; @@ -1614,7 +1710,7 @@ void checkGoogleIdentityAccesscontextmanagerV1ApiOperation( api.GoogleIdentityAccesscontextmanagerV1ApiOperation o) { buildCounterGoogleIdentityAccesscontextmanagerV1ApiOperation++; if (buildCounterGoogleIdentityAccesscontextmanagerV1ApiOperation < 3) { - checkUnnamed3509(o.methodSelectors!); + checkUnnamed3408(o.methodSelectors!); unittest.expect( o.serviceName!, unittest.equals('foo'), @@ -1624,12 +1720,12 @@ void checkGoogleIdentityAccesscontextmanagerV1ApiOperation( } core.List - buildUnnamed3510() => [ + buildUnnamed3409() => [ buildGoogleIdentityAccesscontextmanagerV1Condition(), buildGoogleIdentityAccesscontextmanagerV1Condition(), ]; -void checkUnnamed3510( +void checkUnnamed3409( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1Condition(o[0]); @@ -1643,7 +1739,7 @@ api.GoogleIdentityAccesscontextmanagerV1BasicLevel buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel++; if (buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel < 3) { o.combiningFunction = 'foo'; - o.conditions = buildUnnamed3510(); + o.conditions = buildUnnamed3409(); } buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel--; return o; @@ -1657,17 +1753,17 @@ void checkGoogleIdentityAccesscontextmanagerV1BasicLevel( o.combiningFunction!, unittest.equals('foo'), ); - checkUnnamed3510(o.conditions!); + checkUnnamed3409(o.conditions!); } buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel--; } -core.List buildUnnamed3511() => [ +core.List buildUnnamed3410() => [ 'foo', 'foo', ]; -void checkUnnamed3511(core.List o) { +void checkUnnamed3410(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1679,12 +1775,12 @@ void checkUnnamed3511(core.List o) { ); } -core.List buildUnnamed3512() => [ +core.List buildUnnamed3411() => [ 'foo', 'foo', ]; -void checkUnnamed3512(core.List o) { +void checkUnnamed3411(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1696,12 +1792,12 @@ void checkUnnamed3512(core.List o) { ); } -core.List buildUnnamed3513() => [ +core.List buildUnnamed3412() => [ 'foo', 'foo', ]; -void checkUnnamed3513(core.List o) { +void checkUnnamed3412(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1713,12 +1809,12 @@ void checkUnnamed3513(core.List o) { ); } -core.List buildUnnamed3514() => [ +core.List buildUnnamed3413() => [ 'foo', 'foo', ]; -void checkUnnamed3514(core.List o) { +void checkUnnamed3413(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1737,11 +1833,11 @@ api.GoogleIdentityAccesscontextmanagerV1Condition buildCounterGoogleIdentityAccesscontextmanagerV1Condition++; if (buildCounterGoogleIdentityAccesscontextmanagerV1Condition < 3) { o.devicePolicy = buildGoogleIdentityAccesscontextmanagerV1DevicePolicy(); - o.ipSubnetworks = buildUnnamed3511(); - o.members = buildUnnamed3512(); + o.ipSubnetworks = buildUnnamed3410(); + o.members = buildUnnamed3411(); o.negate = true; - o.regions = buildUnnamed3513(); - o.requiredAccessLevels = buildUnnamed3514(); + o.regions = buildUnnamed3412(); + o.requiredAccessLevels = buildUnnamed3413(); } buildCounterGoogleIdentityAccesscontextmanagerV1Condition--; return o; @@ -1752,11 +1848,11 @@ void checkGoogleIdentityAccesscontextmanagerV1Condition( buildCounterGoogleIdentityAccesscontextmanagerV1Condition++; if (buildCounterGoogleIdentityAccesscontextmanagerV1Condition < 3) { checkGoogleIdentityAccesscontextmanagerV1DevicePolicy(o.devicePolicy!); - checkUnnamed3511(o.ipSubnetworks!); - checkUnnamed3512(o.members!); + checkUnnamed3410(o.ipSubnetworks!); + checkUnnamed3411(o.members!); unittest.expect(o.negate!, unittest.isTrue); - checkUnnamed3513(o.regions!); - checkUnnamed3514(o.requiredAccessLevels!); + checkUnnamed3412(o.regions!); + checkUnnamed3413(o.requiredAccessLevels!); } buildCounterGoogleIdentityAccesscontextmanagerV1Condition--; } @@ -1782,12 +1878,12 @@ void checkGoogleIdentityAccesscontextmanagerV1CustomLevel( buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel--; } -core.List buildUnnamed3515() => [ +core.List buildUnnamed3414() => [ 'foo', 'foo', ]; -void checkUnnamed3515(core.List o) { +void checkUnnamed3414(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1799,12 +1895,12 @@ void checkUnnamed3515(core.List o) { ); } -core.List buildUnnamed3516() => [ +core.List buildUnnamed3415() => [ 'foo', 'foo', ]; -void checkUnnamed3516(core.List o) { +void checkUnnamed3415(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1817,12 +1913,12 @@ void checkUnnamed3516(core.List o) { } core.List - buildUnnamed3517() => [ + buildUnnamed3416() => [ buildGoogleIdentityAccesscontextmanagerV1OsConstraint(), buildGoogleIdentityAccesscontextmanagerV1OsConstraint(), ]; -void checkUnnamed3517( +void checkUnnamed3416( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1OsConstraint(o[0]); @@ -1835,9 +1931,9 @@ api.GoogleIdentityAccesscontextmanagerV1DevicePolicy final o = api.GoogleIdentityAccesscontextmanagerV1DevicePolicy(); buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy++; if (buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy < 3) { - o.allowedDeviceManagementLevels = buildUnnamed3515(); - o.allowedEncryptionStatuses = buildUnnamed3516(); - o.osConstraints = buildUnnamed3517(); + o.allowedDeviceManagementLevels = buildUnnamed3414(); + o.allowedEncryptionStatuses = buildUnnamed3415(); + o.osConstraints = buildUnnamed3416(); o.requireAdminApproval = true; o.requireCorpOwned = true; o.requireScreenlock = true; @@ -1850,9 +1946,9 @@ void checkGoogleIdentityAccesscontextmanagerV1DevicePolicy( api.GoogleIdentityAccesscontextmanagerV1DevicePolicy o) { buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy++; if (buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy < 3) { - checkUnnamed3515(o.allowedDeviceManagementLevels!); - checkUnnamed3516(o.allowedEncryptionStatuses!); - checkUnnamed3517(o.osConstraints!); + checkUnnamed3414(o.allowedDeviceManagementLevels!); + checkUnnamed3415(o.allowedEncryptionStatuses!); + checkUnnamed3416(o.osConstraints!); unittest.expect(o.requireAdminApproval!, unittest.isTrue); unittest.expect(o.requireCorpOwned!, unittest.isTrue); unittest.expect(o.requireScreenlock!, unittest.isTrue); @@ -1860,12 +1956,12 @@ void checkGoogleIdentityAccesscontextmanagerV1DevicePolicy( buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy--; } -core.List buildUnnamed3518() => [ +core.List buildUnnamed3417() => [ 'foo', 'foo', ]; -void checkUnnamed3518(core.List o) { +void checkUnnamed3417(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1883,7 +1979,7 @@ api.GoogleIdentityAccesscontextmanagerV1EgressFrom final o = api.GoogleIdentityAccesscontextmanagerV1EgressFrom(); buildCounterGoogleIdentityAccesscontextmanagerV1EgressFrom++; if (buildCounterGoogleIdentityAccesscontextmanagerV1EgressFrom < 3) { - o.identities = buildUnnamed3518(); + o.identities = buildUnnamed3417(); o.identityType = 'foo'; } buildCounterGoogleIdentityAccesscontextmanagerV1EgressFrom--; @@ -1894,7 +1990,7 @@ void checkGoogleIdentityAccesscontextmanagerV1EgressFrom( api.GoogleIdentityAccesscontextmanagerV1EgressFrom o) { buildCounterGoogleIdentityAccesscontextmanagerV1EgressFrom++; if (buildCounterGoogleIdentityAccesscontextmanagerV1EgressFrom < 3) { - checkUnnamed3518(o.identities!); + checkUnnamed3417(o.identities!); unittest.expect( o.identityType!, unittest.equals('foo'), @@ -1927,24 +2023,24 @@ void checkGoogleIdentityAccesscontextmanagerV1EgressPolicy( } core.List - buildUnnamed3519() => [ + buildUnnamed3418() => [ buildGoogleIdentityAccesscontextmanagerV1ApiOperation(), buildGoogleIdentityAccesscontextmanagerV1ApiOperation(), ]; -void checkUnnamed3519( +void checkUnnamed3418( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1ApiOperation(o[0]); checkGoogleIdentityAccesscontextmanagerV1ApiOperation(o[1]); } -core.List buildUnnamed3520() => [ +core.List buildUnnamed3419() => [ 'foo', 'foo', ]; -void checkUnnamed3520(core.List o) { +void checkUnnamed3419(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1962,8 +2058,8 @@ api.GoogleIdentityAccesscontextmanagerV1EgressTo final o = api.GoogleIdentityAccesscontextmanagerV1EgressTo(); buildCounterGoogleIdentityAccesscontextmanagerV1EgressTo++; if (buildCounterGoogleIdentityAccesscontextmanagerV1EgressTo < 3) { - o.operations = buildUnnamed3519(); - o.resources = buildUnnamed3520(); + o.operations = buildUnnamed3418(); + o.resources = buildUnnamed3419(); } buildCounterGoogleIdentityAccesscontextmanagerV1EgressTo--; return o; @@ -1973,18 +2069,18 @@ void checkGoogleIdentityAccesscontextmanagerV1EgressTo( api.GoogleIdentityAccesscontextmanagerV1EgressTo o) { buildCounterGoogleIdentityAccesscontextmanagerV1EgressTo++; if (buildCounterGoogleIdentityAccesscontextmanagerV1EgressTo < 3) { - checkUnnamed3519(o.operations!); - checkUnnamed3520(o.resources!); + checkUnnamed3418(o.operations!); + checkUnnamed3419(o.resources!); } buildCounterGoogleIdentityAccesscontextmanagerV1EgressTo--; } -core.List buildUnnamed3521() => [ +core.List buildUnnamed3420() => [ 'foo', 'foo', ]; -void checkUnnamed3521(core.List o) { +void checkUnnamed3420(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1997,12 +2093,12 @@ void checkUnnamed3521(core.List o) { } core.List - buildUnnamed3522() => [ + buildUnnamed3421() => [ buildGoogleIdentityAccesscontextmanagerV1IngressSource(), buildGoogleIdentityAccesscontextmanagerV1IngressSource(), ]; -void checkUnnamed3522( +void checkUnnamed3421( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1IngressSource(o[0]); @@ -2015,9 +2111,9 @@ api.GoogleIdentityAccesscontextmanagerV1IngressFrom final o = api.GoogleIdentityAccesscontextmanagerV1IngressFrom(); buildCounterGoogleIdentityAccesscontextmanagerV1IngressFrom++; if (buildCounterGoogleIdentityAccesscontextmanagerV1IngressFrom < 3) { - o.identities = buildUnnamed3521(); + o.identities = buildUnnamed3420(); o.identityType = 'foo'; - o.sources = buildUnnamed3522(); + o.sources = buildUnnamed3421(); } buildCounterGoogleIdentityAccesscontextmanagerV1IngressFrom--; return o; @@ -2027,12 +2123,12 @@ void checkGoogleIdentityAccesscontextmanagerV1IngressFrom( api.GoogleIdentityAccesscontextmanagerV1IngressFrom o) { buildCounterGoogleIdentityAccesscontextmanagerV1IngressFrom++; if (buildCounterGoogleIdentityAccesscontextmanagerV1IngressFrom < 3) { - checkUnnamed3521(o.identities!); + checkUnnamed3420(o.identities!); unittest.expect( o.identityType!, unittest.equals('foo'), ); - checkUnnamed3522(o.sources!); + checkUnnamed3421(o.sources!); } buildCounterGoogleIdentityAccesscontextmanagerV1IngressFrom--; } @@ -2090,24 +2186,24 @@ void checkGoogleIdentityAccesscontextmanagerV1IngressSource( } core.List - buildUnnamed3523() => [ + buildUnnamed3422() => [ buildGoogleIdentityAccesscontextmanagerV1ApiOperation(), buildGoogleIdentityAccesscontextmanagerV1ApiOperation(), ]; -void checkUnnamed3523( +void checkUnnamed3422( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1ApiOperation(o[0]); checkGoogleIdentityAccesscontextmanagerV1ApiOperation(o[1]); } -core.List buildUnnamed3524() => [ +core.List buildUnnamed3423() => [ 'foo', 'foo', ]; -void checkUnnamed3524(core.List o) { +void checkUnnamed3423(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2125,8 +2221,8 @@ api.GoogleIdentityAccesscontextmanagerV1IngressTo final o = api.GoogleIdentityAccesscontextmanagerV1IngressTo(); buildCounterGoogleIdentityAccesscontextmanagerV1IngressTo++; if (buildCounterGoogleIdentityAccesscontextmanagerV1IngressTo < 3) { - o.operations = buildUnnamed3523(); - o.resources = buildUnnamed3524(); + o.operations = buildUnnamed3422(); + o.resources = buildUnnamed3423(); } buildCounterGoogleIdentityAccesscontextmanagerV1IngressTo--; return o; @@ -2136,8 +2232,8 @@ void checkGoogleIdentityAccesscontextmanagerV1IngressTo( api.GoogleIdentityAccesscontextmanagerV1IngressTo o) { buildCounterGoogleIdentityAccesscontextmanagerV1IngressTo++; if (buildCounterGoogleIdentityAccesscontextmanagerV1IngressTo < 3) { - checkUnnamed3523(o.operations!); - checkUnnamed3524(o.resources!); + checkUnnamed3422(o.operations!); + checkUnnamed3423(o.resources!); } buildCounterGoogleIdentityAccesscontextmanagerV1IngressTo--; } @@ -2248,12 +2344,12 @@ void checkGoogleIdentityAccesscontextmanagerV1ServicePerimeter( buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeter--; } -core.List buildUnnamed3525() => [ +core.List buildUnnamed3424() => [ 'foo', 'foo', ]; -void checkUnnamed3525(core.List o) { +void checkUnnamed3424(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2266,12 +2362,12 @@ void checkUnnamed3525(core.List o) { } core.List - buildUnnamed3526() => [ + buildUnnamed3425() => [ buildGoogleIdentityAccesscontextmanagerV1EgressPolicy(), buildGoogleIdentityAccesscontextmanagerV1EgressPolicy(), ]; -void checkUnnamed3526( +void checkUnnamed3425( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1EgressPolicy(o[0]); @@ -2279,24 +2375,24 @@ void checkUnnamed3526( } core.List - buildUnnamed3527() => [ + buildUnnamed3426() => [ buildGoogleIdentityAccesscontextmanagerV1IngressPolicy(), buildGoogleIdentityAccesscontextmanagerV1IngressPolicy(), ]; -void checkUnnamed3527( +void checkUnnamed3426( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIdentityAccesscontextmanagerV1IngressPolicy(o[0]); checkGoogleIdentityAccesscontextmanagerV1IngressPolicy(o[1]); } -core.List buildUnnamed3528() => [ +core.List buildUnnamed3427() => [ 'foo', 'foo', ]; -void checkUnnamed3528(core.List o) { +void checkUnnamed3427(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2308,12 +2404,12 @@ void checkUnnamed3528(core.List o) { ); } -core.List buildUnnamed3529() => [ +core.List buildUnnamed3428() => [ 'foo', 'foo', ]; -void checkUnnamed3529(core.List o) { +void checkUnnamed3428(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2333,11 +2429,11 @@ api.GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig++; if (buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig < 3) { - o.accessLevels = buildUnnamed3525(); - o.egressPolicies = buildUnnamed3526(); - o.ingressPolicies = buildUnnamed3527(); - o.resources = buildUnnamed3528(); - o.restrictedServices = buildUnnamed3529(); + o.accessLevels = buildUnnamed3424(); + o.egressPolicies = buildUnnamed3425(); + o.ingressPolicies = buildUnnamed3426(); + o.resources = buildUnnamed3427(); + o.restrictedServices = buildUnnamed3428(); o.vpcAccessibleServices = buildGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices(); } @@ -2350,23 +2446,23 @@ void checkGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig( buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig++; if (buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig < 3) { - checkUnnamed3525(o.accessLevels!); - checkUnnamed3526(o.egressPolicies!); - checkUnnamed3527(o.ingressPolicies!); - checkUnnamed3528(o.resources!); - checkUnnamed3529(o.restrictedServices!); + checkUnnamed3424(o.accessLevels!); + checkUnnamed3425(o.egressPolicies!); + checkUnnamed3426(o.ingressPolicies!); + checkUnnamed3427(o.resources!); + checkUnnamed3428(o.restrictedServices!); checkGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( o.vpcAccessibleServices!); } buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig--; } -core.List buildUnnamed3530() => [ +core.List buildUnnamed3429() => [ 'foo', 'foo', ]; -void checkUnnamed3530(core.List o) { +void checkUnnamed3429(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2386,7 +2482,7 @@ api.GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices++; if (buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices < 3) { - o.allowedServices = buildUnnamed3530(); + o.allowedServices = buildUnnamed3429(); o.enableRestriction = true; } buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices--; @@ -2398,29 +2494,29 @@ void checkGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices( buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices++; if (buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices < 3) { - checkUnnamed3530(o.allowedServices!); + checkUnnamed3429(o.allowedServices!); unittest.expect(o.enableRestriction!, unittest.isTrue); } buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices--; } -core.List buildUnnamed3531() => [ +core.List buildUnnamed3430() => [ buildIamPolicyAnalysisResult(), buildIamPolicyAnalysisResult(), ]; -void checkUnnamed3531(core.List o) { +void checkUnnamed3430(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIamPolicyAnalysisResult(o[0]); checkIamPolicyAnalysisResult(o[1]); } -core.List buildUnnamed3532() => [ +core.List buildUnnamed3431() => [ buildIamPolicyAnalysisState(), buildIamPolicyAnalysisState(), ]; -void checkUnnamed3532(core.List o) { +void checkUnnamed3431(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIamPolicyAnalysisState(o[0]); checkIamPolicyAnalysisState(o[1]); @@ -2432,9 +2528,9 @@ api.IamPolicyAnalysis buildIamPolicyAnalysis() { buildCounterIamPolicyAnalysis++; if (buildCounterIamPolicyAnalysis < 3) { o.analysisQuery = buildIamPolicyAnalysisQuery(); - o.analysisResults = buildUnnamed3531(); + o.analysisResults = buildUnnamed3430(); o.fullyExplored = true; - o.nonCriticalErrors = buildUnnamed3532(); + o.nonCriticalErrors = buildUnnamed3431(); } buildCounterIamPolicyAnalysis--; return o; @@ -2444,9 +2540,9 @@ void checkIamPolicyAnalysis(api.IamPolicyAnalysis o) { buildCounterIamPolicyAnalysis++; if (buildCounterIamPolicyAnalysis < 3) { checkIamPolicyAnalysisQuery(o.analysisQuery!); - checkUnnamed3531(o.analysisResults!); + checkUnnamed3430(o.analysisResults!); unittest.expect(o.fullyExplored!, unittest.isTrue); - checkUnnamed3532(o.nonCriticalErrors!); + checkUnnamed3431(o.nonCriticalErrors!); } buildCounterIamPolicyAnalysis--; } @@ -2504,12 +2600,12 @@ void checkIamPolicyAnalysisQuery(api.IamPolicyAnalysisQuery o) { buildCounterIamPolicyAnalysisQuery--; } -core.List buildUnnamed3533() => [ +core.List buildUnnamed3432() => [ buildGoogleCloudAssetV1AccessControlList(), buildGoogleCloudAssetV1AccessControlList(), ]; -void checkUnnamed3533(core.List o) { +void checkUnnamed3432(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAssetV1AccessControlList(o[0]); checkGoogleCloudAssetV1AccessControlList(o[1]); @@ -2520,7 +2616,7 @@ api.IamPolicyAnalysisResult buildIamPolicyAnalysisResult() { final o = api.IamPolicyAnalysisResult(); buildCounterIamPolicyAnalysisResult++; if (buildCounterIamPolicyAnalysisResult < 3) { - o.accessControlLists = buildUnnamed3533(); + o.accessControlLists = buildUnnamed3432(); o.attachedResourceFullName = 'foo'; o.fullyExplored = true; o.iamBinding = buildBinding(); @@ -2533,7 +2629,7 @@ api.IamPolicyAnalysisResult buildIamPolicyAnalysisResult() { void checkIamPolicyAnalysisResult(api.IamPolicyAnalysisResult o) { buildCounterIamPolicyAnalysisResult++; if (buildCounterIamPolicyAnalysisResult < 3) { - checkUnnamed3533(o.accessControlLists!); + checkUnnamed3432(o.accessControlLists!); unittest.expect( o.attachedResourceFullName!, unittest.equals('foo'), @@ -2572,12 +2668,12 @@ void checkIamPolicyAnalysisState(api.IamPolicyAnalysisState o) { buildCounterIamPolicyAnalysisState--; } -core.List buildUnnamed3534() => [ +core.List buildUnnamed3433() => [ 'foo', 'foo', ]; -void checkUnnamed3534(core.List o) { +void checkUnnamed3433(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2596,7 +2692,7 @@ api.IamPolicySearchResult buildIamPolicySearchResult() { if (buildCounterIamPolicySearchResult < 3) { o.assetType = 'foo'; o.explanation = buildExplanation(); - o.folders = buildUnnamed3534(); + o.folders = buildUnnamed3433(); o.organization = 'foo'; o.policy = buildPolicy(); o.project = 'foo'; @@ -2614,7 +2710,7 @@ void checkIamPolicySearchResult(api.IamPolicySearchResult o) { unittest.equals('foo'), ); checkExplanation(o.explanation!); - checkUnnamed3534(o.folders!); + checkUnnamed3433(o.folders!); unittest.expect( o.organization!, unittest.equals('foo'), @@ -2654,12 +2750,12 @@ void checkIdentitySelector(api.IdentitySelector o) { buildCounterIdentitySelector--; } -core.Map buildUnnamed3535() => { +core.Map buildUnnamed3434() => { 'x': buildItem(), 'y': buildItem(), }; -void checkUnnamed3535(core.Map o) { +void checkUnnamed3434(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkItem(o['x']!); checkItem(o['y']!); @@ -2670,8 +2766,10 @@ api.Inventory buildInventory() { final o = api.Inventory(); buildCounterInventory++; if (buildCounterInventory < 3) { - o.items = buildUnnamed3535(); + o.items = buildUnnamed3434(); + o.name = 'foo'; o.osInfo = buildOsInfo(); + o.updateTime = 'foo'; } buildCounterInventory--; return o; @@ -2680,8 +2778,16 @@ api.Inventory buildInventory() { void checkInventory(api.Inventory o) { buildCounterInventory++; if (buildCounterInventory < 3) { - checkUnnamed3535(o.items!); + checkUnnamed3434(o.items!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); checkOsInfo(o.osInfo!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); } buildCounterInventory--; } @@ -2732,12 +2838,12 @@ void checkItem(api.Item o) { buildCounterItem--; } -core.List buildUnnamed3536() => [ +core.List buildUnnamed3435() => [ buildAsset(), buildAsset(), ]; -void checkUnnamed3536(core.List o) { +void checkUnnamed3435(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAsset(o[0]); checkAsset(o[1]); @@ -2748,7 +2854,7 @@ api.ListAssetsResponse buildListAssetsResponse() { final o = api.ListAssetsResponse(); buildCounterListAssetsResponse++; if (buildCounterListAssetsResponse < 3) { - o.assets = buildUnnamed3536(); + o.assets = buildUnnamed3435(); o.nextPageToken = 'foo'; o.readTime = 'foo'; } @@ -2759,7 +2865,7 @@ api.ListAssetsResponse buildListAssetsResponse() { void checkListAssetsResponse(api.ListAssetsResponse o) { buildCounterListAssetsResponse++; if (buildCounterListAssetsResponse < 3) { - checkUnnamed3536(o.assets!); + checkUnnamed3435(o.assets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2772,12 +2878,12 @@ void checkListAssetsResponse(api.ListAssetsResponse o) { buildCounterListAssetsResponse--; } -core.List buildUnnamed3537() => [ +core.List buildUnnamed3436() => [ buildFeed(), buildFeed(), ]; -void checkUnnamed3537(core.List o) { +void checkUnnamed3436(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeed(o[0]); checkFeed(o[1]); @@ -2788,7 +2894,7 @@ api.ListFeedsResponse buildListFeedsResponse() { final o = api.ListFeedsResponse(); buildCounterListFeedsResponse++; if (buildCounterListFeedsResponse < 3) { - o.feeds = buildUnnamed3537(); + o.feeds = buildUnnamed3436(); } buildCounterListFeedsResponse--; return o; @@ -2797,7 +2903,7 @@ api.ListFeedsResponse buildListFeedsResponse() { void checkListFeedsResponse(api.ListFeedsResponse o) { buildCounterListFeedsResponse++; if (buildCounterListFeedsResponse < 3) { - checkUnnamed3537(o.feeds!); + checkUnnamed3436(o.feeds!); } buildCounterListFeedsResponse--; } @@ -2828,23 +2934,23 @@ void checkMoveAnalysis(api.MoveAnalysis o) { buildCounterMoveAnalysis--; } -core.List buildUnnamed3538() => [ +core.List buildUnnamed3437() => [ buildMoveImpact(), buildMoveImpact(), ]; -void checkUnnamed3538(core.List o) { +void checkUnnamed3437(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMoveImpact(o[0]); checkMoveImpact(o[1]); } -core.List buildUnnamed3539() => [ +core.List buildUnnamed3438() => [ buildMoveImpact(), buildMoveImpact(), ]; -void checkUnnamed3539(core.List o) { +void checkUnnamed3438(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMoveImpact(o[0]); checkMoveImpact(o[1]); @@ -2855,8 +2961,8 @@ api.MoveAnalysisResult buildMoveAnalysisResult() { final o = api.MoveAnalysisResult(); buildCounterMoveAnalysisResult++; if (buildCounterMoveAnalysisResult < 3) { - o.blockers = buildUnnamed3538(); - o.warnings = buildUnnamed3539(); + o.blockers = buildUnnamed3437(); + o.warnings = buildUnnamed3438(); } buildCounterMoveAnalysisResult--; return o; @@ -2865,8 +2971,8 @@ api.MoveAnalysisResult buildMoveAnalysisResult() { void checkMoveAnalysisResult(api.MoveAnalysisResult o) { buildCounterMoveAnalysisResult++; if (buildCounterMoveAnalysisResult < 3) { - checkUnnamed3538(o.blockers!); - checkUnnamed3539(o.warnings!); + checkUnnamed3437(o.blockers!); + checkUnnamed3438(o.warnings!); } buildCounterMoveAnalysisResult--; } @@ -2893,7 +2999,7 @@ void checkMoveImpact(api.MoveImpact o) { buildCounterMoveImpact--; } -core.Map buildUnnamed3540() => { +core.Map buildUnnamed3439() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2906,7 +3012,7 @@ core.Map buildUnnamed3540() => { }, }; -void checkUnnamed3540(core.Map o) { +void checkUnnamed3439(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2938,7 +3044,7 @@ void checkUnnamed3540(core.Map o) { ); } -core.Map buildUnnamed3541() => { +core.Map buildUnnamed3440() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2951,7 +3057,7 @@ core.Map buildUnnamed3541() => { }, }; -void checkUnnamed3541(core.Map o) { +void checkUnnamed3440(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2990,9 +3096,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed3540(); + o.metadata = buildUnnamed3439(); o.name = 'foo'; - o.response = buildUnnamed3541(); + o.response = buildUnnamed3440(); } buildCounterOperation--; return o; @@ -3003,12 +3109,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed3540(o.metadata!); + checkUnnamed3439(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3541(o.response!); + checkUnnamed3440(o.response!); } buildCounterOperation--; } @@ -3142,12 +3248,12 @@ void checkPartitionSpec(api.PartitionSpec o) { buildCounterPartitionSpec--; } -core.List buildUnnamed3542() => [ +core.List buildUnnamed3441() => [ 'foo', 'foo', ]; -void checkUnnamed3542(core.List o) { +void checkUnnamed3441(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3164,7 +3270,7 @@ api.Permissions buildPermissions() { final o = api.Permissions(); buildCounterPermissions++; if (buildCounterPermissions < 3) { - o.permissions = buildUnnamed3542(); + o.permissions = buildUnnamed3441(); } buildCounterPermissions--; return o; @@ -3173,28 +3279,28 @@ api.Permissions buildPermissions() { void checkPermissions(api.Permissions o) { buildCounterPermissions++; if (buildCounterPermissions < 3) { - checkUnnamed3542(o.permissions!); + checkUnnamed3441(o.permissions!); } buildCounterPermissions--; } -core.List buildUnnamed3543() => [ +core.List buildUnnamed3442() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed3543(core.List o) { +void checkUnnamed3442(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed3544() => [ +core.List buildUnnamed3443() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3544(core.List o) { +void checkUnnamed3443(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -3205,8 +3311,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed3543(); - o.bindings = buildUnnamed3544(); + o.auditConfigs = buildUnnamed3442(); + o.bindings = buildUnnamed3443(); o.etag = 'foo'; o.version = 42; } @@ -3217,8 +3323,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3543(o.auditConfigs!); - checkUnnamed3544(o.bindings!); + checkUnnamed3442(o.auditConfigs!); + checkUnnamed3443(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3253,7 +3359,179 @@ void checkPubsubDestination(api.PubsubDestination o) { buildCounterPubsubDestination--; } -core.Map buildUnnamed3545() => { +core.List buildUnnamed3444() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3444(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterRelatedAsset = 0; +api.RelatedAsset buildRelatedAsset() { + final o = api.RelatedAsset(); + buildCounterRelatedAsset++; + if (buildCounterRelatedAsset < 3) { + o.ancestors = buildUnnamed3444(); + o.asset = 'foo'; + o.assetType = 'foo'; + } + buildCounterRelatedAsset--; + return o; +} + +void checkRelatedAsset(api.RelatedAsset o) { + buildCounterRelatedAsset++; + if (buildCounterRelatedAsset < 3) { + checkUnnamed3444(o.ancestors!); + unittest.expect( + o.asset!, + unittest.equals('foo'), + ); + unittest.expect( + o.assetType!, + unittest.equals('foo'), + ); + } + buildCounterRelatedAsset--; +} + +core.List buildUnnamed3445() => [ + buildRelatedAsset(), + buildRelatedAsset(), + ]; + +void checkUnnamed3445(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkRelatedAsset(o[0]); + checkRelatedAsset(o[1]); +} + +core.int buildCounterRelatedAssets = 0; +api.RelatedAssets buildRelatedAssets() { + final o = api.RelatedAssets(); + buildCounterRelatedAssets++; + if (buildCounterRelatedAssets < 3) { + o.assets = buildUnnamed3445(); + o.relationshipAttributes = buildRelationshipAttributes(); + } + buildCounterRelatedAssets--; + return o; +} + +void checkRelatedAssets(api.RelatedAssets o) { + buildCounterRelatedAssets++; + if (buildCounterRelatedAssets < 3) { + checkUnnamed3445(o.assets!); + checkRelationshipAttributes(o.relationshipAttributes!); + } + buildCounterRelatedAssets--; +} + +core.int buildCounterRelatedResource = 0; +api.RelatedResource buildRelatedResource() { + final o = api.RelatedResource(); + buildCounterRelatedResource++; + if (buildCounterRelatedResource < 3) { + o.assetType = 'foo'; + o.fullResourceName = 'foo'; + } + buildCounterRelatedResource--; + return o; +} + +void checkRelatedResource(api.RelatedResource o) { + buildCounterRelatedResource++; + if (buildCounterRelatedResource < 3) { + unittest.expect( + o.assetType!, + unittest.equals('foo'), + ); + unittest.expect( + o.fullResourceName!, + unittest.equals('foo'), + ); + } + buildCounterRelatedResource--; +} + +core.List buildUnnamed3446() => [ + buildRelatedResource(), + buildRelatedResource(), + ]; + +void checkUnnamed3446(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkRelatedResource(o[0]); + checkRelatedResource(o[1]); +} + +core.int buildCounterRelatedResources = 0; +api.RelatedResources buildRelatedResources() { + final o = api.RelatedResources(); + buildCounterRelatedResources++; + if (buildCounterRelatedResources < 3) { + o.relatedResources = buildUnnamed3446(); + } + buildCounterRelatedResources--; + return o; +} + +void checkRelatedResources(api.RelatedResources o) { + buildCounterRelatedResources++; + if (buildCounterRelatedResources < 3) { + checkUnnamed3446(o.relatedResources!); + } + buildCounterRelatedResources--; +} + +core.int buildCounterRelationshipAttributes = 0; +api.RelationshipAttributes buildRelationshipAttributes() { + final o = api.RelationshipAttributes(); + buildCounterRelationshipAttributes++; + if (buildCounterRelationshipAttributes < 3) { + o.action = 'foo'; + o.sourceResourceType = 'foo'; + o.targetResourceType = 'foo'; + o.type = 'foo'; + } + buildCounterRelationshipAttributes--; + return o; +} + +void checkRelationshipAttributes(api.RelationshipAttributes o) { + buildCounterRelationshipAttributes++; + if (buildCounterRelationshipAttributes < 3) { + unittest.expect( + o.action!, + unittest.equals('foo'), + ); + unittest.expect( + o.sourceResourceType!, + unittest.equals('foo'), + ); + unittest.expect( + o.targetResourceType!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterRelationshipAttributes--; +} + +core.Map buildUnnamed3447() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3266,7 +3544,7 @@ core.Map buildUnnamed3545() => { }, }; -void checkUnnamed3545(core.Map o) { +void checkUnnamed3447(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3303,7 +3581,7 @@ api.Resource buildResource() { final o = api.Resource(); buildCounterResource++; if (buildCounterResource < 3) { - o.data = buildUnnamed3545(); + o.data = buildUnnamed3447(); o.discoveryDocumentUri = 'foo'; o.discoveryName = 'foo'; o.location = 'foo'; @@ -3318,7 +3596,7 @@ api.Resource buildResource() { void checkResource(api.Resource o) { buildCounterResource++; if (buildCounterResource < 3) { - checkUnnamed3545(o.data!); + checkUnnamed3447(o.data!); unittest.expect( o.discoveryDocumentUri!, unittest.equals('foo'), @@ -3347,7 +3625,7 @@ void checkResource(api.Resource o) { buildCounterResource--; } -core.Map buildUnnamed3546() => { +core.Map buildUnnamed3448() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3360,7 +3638,7 @@ core.Map buildUnnamed3546() => { }, }; -void checkUnnamed3546(core.Map o) { +void checkUnnamed3448(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3392,23 +3670,23 @@ void checkUnnamed3546(core.Map o) { ); } -core.List buildUnnamed3547() => [ +core.List buildUnnamed3449() => [ buildAttachedResource(), buildAttachedResource(), ]; -void checkUnnamed3547(core.List o) { +void checkUnnamed3449(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachedResource(o[0]); checkAttachedResource(o[1]); } -core.List buildUnnamed3548() => [ +core.List buildUnnamed3450() => [ 'foo', 'foo', ]; -void checkUnnamed3548(core.List o) { +void checkUnnamed3450(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3420,12 +3698,12 @@ void checkUnnamed3548(core.List o) { ); } -core.Map buildUnnamed3549() => { +core.Map buildUnnamed3451() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3549(core.Map o) { +void checkUnnamed3451(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3437,12 +3715,12 @@ void checkUnnamed3549(core.Map o) { ); } -core.List buildUnnamed3550() => [ +core.List buildUnnamed3452() => [ 'foo', 'foo', ]; -void checkUnnamed3550(core.List o) { +void checkUnnamed3452(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3454,12 +3732,23 @@ void checkUnnamed3550(core.List o) { ); } -core.List buildUnnamed3551() => [ +core.Map buildUnnamed3453() => { + 'x': buildRelatedResources(), + 'y': buildRelatedResources(), + }; + +void checkUnnamed3453(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkRelatedResources(o['x']!); + checkRelatedResources(o['y']!); +} + +core.List buildUnnamed3454() => [ buildVersionedResource(), buildVersionedResource(), ]; -void checkUnnamed3551(core.List o) { +void checkUnnamed3454(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersionedResource(o[0]); checkVersionedResource(o[1]); @@ -3470,25 +3759,26 @@ api.ResourceSearchResult buildResourceSearchResult() { final o = api.ResourceSearchResult(); buildCounterResourceSearchResult++; if (buildCounterResourceSearchResult < 3) { - o.additionalAttributes = buildUnnamed3546(); + o.additionalAttributes = buildUnnamed3448(); o.assetType = 'foo'; - o.attachedResources = buildUnnamed3547(); + o.attachedResources = buildUnnamed3449(); o.createTime = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.folders = buildUnnamed3548(); + o.folders = buildUnnamed3450(); o.kmsKey = 'foo'; - o.labels = buildUnnamed3549(); + o.labels = buildUnnamed3451(); o.location = 'foo'; o.name = 'foo'; - o.networkTags = buildUnnamed3550(); + o.networkTags = buildUnnamed3452(); o.organization = 'foo'; o.parentAssetType = 'foo'; o.parentFullResourceName = 'foo'; o.project = 'foo'; + o.relationships = buildUnnamed3453(); o.state = 'foo'; o.updateTime = 'foo'; - o.versionedResources = buildUnnamed3551(); + o.versionedResources = buildUnnamed3454(); } buildCounterResourceSearchResult--; return o; @@ -3497,12 +3787,12 @@ api.ResourceSearchResult buildResourceSearchResult() { void checkResourceSearchResult(api.ResourceSearchResult o) { buildCounterResourceSearchResult++; if (buildCounterResourceSearchResult < 3) { - checkUnnamed3546(o.additionalAttributes!); + checkUnnamed3448(o.additionalAttributes!); unittest.expect( o.assetType!, unittest.equals('foo'), ); - checkUnnamed3547(o.attachedResources!); + checkUnnamed3449(o.attachedResources!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -3515,12 +3805,12 @@ void checkResourceSearchResult(api.ResourceSearchResult o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed3548(o.folders!); + checkUnnamed3450(o.folders!); unittest.expect( o.kmsKey!, unittest.equals('foo'), ); - checkUnnamed3549(o.labels!); + checkUnnamed3451(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -3529,7 +3819,7 @@ void checkResourceSearchResult(api.ResourceSearchResult o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3550(o.networkTags!); + checkUnnamed3452(o.networkTags!); unittest.expect( o.organization!, unittest.equals('foo'), @@ -3546,6 +3836,7 @@ void checkResourceSearchResult(api.ResourceSearchResult o) { o.project!, unittest.equals('foo'), ); + checkUnnamed3453(o.relationships!); unittest.expect( o.state!, unittest.equals('foo'), @@ -3554,7 +3845,7 @@ void checkResourceSearchResult(api.ResourceSearchResult o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed3551(o.versionedResources!); + checkUnnamed3454(o.versionedResources!); } buildCounterResourceSearchResult--; } @@ -3581,12 +3872,12 @@ void checkResourceSelector(api.ResourceSelector o) { buildCounterResourceSelector--; } -core.List buildUnnamed3552() => [ +core.List buildUnnamed3455() => [ buildIamPolicySearchResult(), buildIamPolicySearchResult(), ]; -void checkUnnamed3552(core.List o) { +void checkUnnamed3455(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIamPolicySearchResult(o[0]); checkIamPolicySearchResult(o[1]); @@ -3598,7 +3889,7 @@ api.SearchAllIamPoliciesResponse buildSearchAllIamPoliciesResponse() { buildCounterSearchAllIamPoliciesResponse++; if (buildCounterSearchAllIamPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed3552(); + o.results = buildUnnamed3455(); } buildCounterSearchAllIamPoliciesResponse--; return o; @@ -3611,17 +3902,17 @@ void checkSearchAllIamPoliciesResponse(api.SearchAllIamPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3552(o.results!); + checkUnnamed3455(o.results!); } buildCounterSearchAllIamPoliciesResponse--; } -core.List buildUnnamed3553() => [ +core.List buildUnnamed3456() => [ buildResourceSearchResult(), buildResourceSearchResult(), ]; -void checkUnnamed3553(core.List o) { +void checkUnnamed3456(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceSearchResult(o[0]); checkResourceSearchResult(o[1]); @@ -3633,7 +3924,7 @@ api.SearchAllResourcesResponse buildSearchAllResourcesResponse() { buildCounterSearchAllResourcesResponse++; if (buildCounterSearchAllResourcesResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed3553(); + o.results = buildUnnamed3456(); } buildCounterSearchAllResourcesResponse--; return o; @@ -3646,7 +3937,7 @@ void checkSearchAllResourcesResponse(api.SearchAllResourcesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3553(o.results!); + checkUnnamed3456(o.results!); } buildCounterSearchAllResourcesResponse--; } @@ -3660,6 +3951,7 @@ api.SoftwarePackage buildSoftwarePackage() { o.cosPackage = buildVersionedPackage(); o.googetPackage = buildVersionedPackage(); o.qfePackage = buildWindowsQuickFixEngineeringPackage(); + o.windowsApplication = buildWindowsApplication(); o.wuaPackage = buildWindowsUpdatePackage(); o.yumPackage = buildVersionedPackage(); o.zypperPackage = buildVersionedPackage(); @@ -3676,6 +3968,7 @@ void checkSoftwarePackage(api.SoftwarePackage o) { checkVersionedPackage(o.cosPackage!); checkVersionedPackage(o.googetPackage!); checkWindowsQuickFixEngineeringPackage(o.qfePackage!); + checkWindowsApplication(o.windowsApplication!); checkWindowsUpdatePackage(o.wuaPackage!); checkVersionedPackage(o.yumPackage!); checkVersionedPackage(o.zypperPackage!); @@ -3684,7 +3977,7 @@ void checkSoftwarePackage(api.SoftwarePackage o) { buildCounterSoftwarePackage--; } -core.Map buildUnnamed3554() => { +core.Map buildUnnamed3457() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3697,7 +3990,7 @@ core.Map buildUnnamed3554() => { }, }; -void checkUnnamed3554(core.Map o) { +void checkUnnamed3457(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -3729,15 +4022,15 @@ void checkUnnamed3554(core.Map o) { ); } -core.List> buildUnnamed3555() => [ - buildUnnamed3554(), - buildUnnamed3554(), +core.List> buildUnnamed3458() => [ + buildUnnamed3457(), + buildUnnamed3457(), ]; -void checkUnnamed3555(core.List> o) { +void checkUnnamed3458(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3554(o[0]); - checkUnnamed3554(o[1]); + checkUnnamed3457(o[0]); + checkUnnamed3457(o[1]); } core.int buildCounterStatus = 0; @@ -3746,7 +4039,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3555(); + o.details = buildUnnamed3458(); o.message = 'foo'; } buildCounterStatus--; @@ -3760,7 +4053,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3555(o.details!); + checkUnnamed3458(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3882,7 +4175,7 @@ void checkVersionedPackage(api.VersionedPackage o) { buildCounterVersionedPackage--; } -core.Map buildUnnamed3556() => { +core.Map buildUnnamed3459() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3895,7 +4188,7 @@ core.Map buildUnnamed3556() => { }, }; -void checkUnnamed3556(core.Map o) { +void checkUnnamed3459(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -3932,7 +4225,7 @@ api.VersionedResource buildVersionedResource() { final o = api.VersionedResource(); buildCounterVersionedResource++; if (buildCounterVersionedResource < 3) { - o.resource = buildUnnamed3556(); + o.resource = buildUnnamed3459(); o.version = 'foo'; } buildCounterVersionedResource--; @@ -3942,7 +4235,7 @@ api.VersionedResource buildVersionedResource() { void checkVersionedResource(api.VersionedResource o) { buildCounterVersionedResource++; if (buildCounterVersionedResource < 3) { - checkUnnamed3556(o.resource!); + checkUnnamed3459(o.resource!); unittest.expect( o.version!, unittest.equals('foo'), @@ -3951,6 +4244,45 @@ void checkVersionedResource(api.VersionedResource o) { buildCounterVersionedResource--; } +core.int buildCounterWindowsApplication = 0; +api.WindowsApplication buildWindowsApplication() { + final o = api.WindowsApplication(); + buildCounterWindowsApplication++; + if (buildCounterWindowsApplication < 3) { + o.displayName = 'foo'; + o.displayVersion = 'foo'; + o.helpLink = 'foo'; + o.installDate = buildDate(); + o.publisher = 'foo'; + } + buildCounterWindowsApplication--; + return o; +} + +void checkWindowsApplication(api.WindowsApplication o) { + buildCounterWindowsApplication++; + if (buildCounterWindowsApplication < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.helpLink!, + unittest.equals('foo'), + ); + checkDate(o.installDate!); + unittest.expect( + o.publisher!, + unittest.equals('foo'), + ); + } + buildCounterWindowsApplication--; +} + core.int buildCounterWindowsQuickFixEngineeringPackage = 0; api.WindowsQuickFixEngineeringPackage buildWindowsQuickFixEngineeringPackage() { final o = api.WindowsQuickFixEngineeringPackage(); @@ -4016,23 +4348,23 @@ void checkWindowsUpdateCategory(api.WindowsUpdateCategory o) { buildCounterWindowsUpdateCategory--; } -core.List buildUnnamed3557() => [ +core.List buildUnnamed3460() => [ buildWindowsUpdateCategory(), buildWindowsUpdateCategory(), ]; -void checkUnnamed3557(core.List o) { +void checkUnnamed3460(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWindowsUpdateCategory(o[0]); checkWindowsUpdateCategory(o[1]); } -core.List buildUnnamed3558() => [ +core.List buildUnnamed3461() => [ 'foo', 'foo', ]; -void checkUnnamed3558(core.List o) { +void checkUnnamed3461(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4044,12 +4376,12 @@ void checkUnnamed3558(core.List o) { ); } -core.List buildUnnamed3559() => [ +core.List buildUnnamed3462() => [ 'foo', 'foo', ]; -void checkUnnamed3559(core.List o) { +void checkUnnamed3462(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4066,11 +4398,11 @@ api.WindowsUpdatePackage buildWindowsUpdatePackage() { final o = api.WindowsUpdatePackage(); buildCounterWindowsUpdatePackage++; if (buildCounterWindowsUpdatePackage < 3) { - o.categories = buildUnnamed3557(); + o.categories = buildUnnamed3460(); o.description = 'foo'; - o.kbArticleIds = buildUnnamed3558(); + o.kbArticleIds = buildUnnamed3461(); o.lastDeploymentChangeTime = 'foo'; - o.moreInfoUrls = buildUnnamed3559(); + o.moreInfoUrls = buildUnnamed3462(); o.revisionNumber = 42; o.supportUrl = 'foo'; o.title = 'foo'; @@ -4083,17 +4415,17 @@ api.WindowsUpdatePackage buildWindowsUpdatePackage() { void checkWindowsUpdatePackage(api.WindowsUpdatePackage o) { buildCounterWindowsUpdatePackage++; if (buildCounterWindowsUpdatePackage < 3) { - checkUnnamed3557(o.categories!); + checkUnnamed3460(o.categories!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed3558(o.kbArticleIds!); + checkUnnamed3461(o.kbArticleIds!); unittest.expect( o.lastDeploymentChangeTime!, unittest.equals('foo'), ); - checkUnnamed3559(o.moreInfoUrls!); + checkUnnamed3462(o.moreInfoUrls!); unittest.expect( o.revisionNumber!, unittest.equals(42), @@ -4151,12 +4483,46 @@ void checkZypperPatch(api.ZypperPatch o) { buildCounterZypperPatch--; } -core.List buildUnnamed3560() => [ +core.List buildUnnamed3463() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3463(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3464() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3464(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3465() => [ 'foo', 'foo', ]; -void checkUnnamed3560(core.List o) { +void checkUnnamed3465(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4168,12 +4534,12 @@ void checkUnnamed3560(core.List o) { ); } -core.List buildUnnamed3561() => [ +core.List buildUnnamed3466() => [ 'foo', 'foo', ]; -void checkUnnamed3561(core.List o) { +void checkUnnamed3466(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4185,12 +4551,12 @@ void checkUnnamed3561(core.List o) { ); } -core.List buildUnnamed3562() => [ +core.List buildUnnamed3467() => [ 'foo', 'foo', ]; -void checkUnnamed3562(core.List o) { +void checkUnnamed3467(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4202,12 +4568,12 @@ void checkUnnamed3562(core.List o) { ); } -core.List buildUnnamed3563() => [ +core.List buildUnnamed3468() => [ 'foo', 'foo', ]; -void checkUnnamed3563(core.List o) { +void checkUnnamed3468(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4219,12 +4585,12 @@ void checkUnnamed3563(core.List o) { ); } -core.List buildUnnamed3564() => [ +core.List buildUnnamed3469() => [ 'foo', 'foo', ]; -void checkUnnamed3564(core.List o) { +void checkUnnamed3469(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4236,12 +4602,12 @@ void checkUnnamed3564(core.List o) { ); } -core.List buildUnnamed3565() => [ +core.List buildUnnamed3470() => [ 'foo', 'foo', ]; -void checkUnnamed3565(core.List o) { +void checkUnnamed3470(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4264,6 +4630,16 @@ void main() { }); }); + unittest.group('obj-schema-AnalyzeIamPolicyLongrunningMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildAnalyzeIamPolicyLongrunningMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AnalyzeIamPolicyLongrunningMetadata.fromJson( + oJson as core.Map); + checkAnalyzeIamPolicyLongrunningMetadata(od); + }); + }); + unittest.group('obj-schema-AnalyzeIamPolicyLongrunningRequest', () { unittest.test('to-json--from-json', () async { final o = buildAnalyzeIamPolicyLongrunningRequest(); @@ -4404,6 +4780,16 @@ void main() { }); }); + unittest.group('obj-schema-Date', () { + unittest.test('to-json--from-json', () async { + final o = buildDate(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Date.fromJson(oJson as core.Map); + checkDate(od); + }); + }); + unittest.group('obj-schema-Empty', () { unittest.test('to-json--from-json', () async { final o = buildEmpty(); @@ -5079,6 +5465,56 @@ void main() { }); }); + unittest.group('obj-schema-RelatedAsset', () { + unittest.test('to-json--from-json', () async { + final o = buildRelatedAsset(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelatedAsset.fromJson( + oJson as core.Map); + checkRelatedAsset(od); + }); + }); + + unittest.group('obj-schema-RelatedAssets', () { + unittest.test('to-json--from-json', () async { + final o = buildRelatedAssets(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelatedAssets.fromJson( + oJson as core.Map); + checkRelatedAssets(od); + }); + }); + + unittest.group('obj-schema-RelatedResource', () { + unittest.test('to-json--from-json', () async { + final o = buildRelatedResource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelatedResource.fromJson( + oJson as core.Map); + checkRelatedResource(od); + }); + }); + + unittest.group('obj-schema-RelatedResources', () { + unittest.test('to-json--from-json', () async { + final o = buildRelatedResources(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelatedResources.fromJson( + oJson as core.Map); + checkRelatedResources(od); + }); + }); + + unittest.group('obj-schema-RelationshipAttributes', () { + unittest.test('to-json--from-json', () async { + final o = buildRelationshipAttributes(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelationshipAttributes.fromJson( + oJson as core.Map); + checkRelationshipAttributes(od); + }); + }); + unittest.group('obj-schema-Resource', () { unittest.test('to-json--from-json', () async { final o = buildResource(); @@ -5199,6 +5635,16 @@ void main() { }); }); + unittest.group('obj-schema-WindowsApplication', () { + unittest.test('to-json--from-json', () async { + final o = buildWindowsApplication(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.WindowsApplication.fromJson( + oJson as core.Map); + checkWindowsApplication(od); + }); + }); + unittest.group('obj-schema-WindowsQuickFixEngineeringPackage', () { unittest.test('to-json--from-json', () async { final o = buildWindowsQuickFixEngineeringPackage(); @@ -5244,11 +5690,12 @@ void main() { final mock = HttpServerMock(); final res = api.CloudAssetApi(mock).assets; final arg_parent = 'foo'; - final arg_assetTypes = buildUnnamed3560(); + final arg_assetTypes = buildUnnamed3463(); final arg_contentType = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_readTime = 'foo'; + final arg_relationshipTypes = buildUnnamed3464(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5302,6 +5749,10 @@ void main() { queryMap['readTime']!.first, unittest.equals(arg_readTime), ); + unittest.expect( + queryMap['relationshipTypes']!, + unittest.equals(arg_relationshipTypes), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -5319,6 +5770,7 @@ void main() { pageSize: arg_pageSize, pageToken: arg_pageToken, readTime: arg_readTime, + relationshipTypes: arg_relationshipTypes, $fields: arg_$fields); checkListAssetsResponse(response as api.ListAssetsResponse); }); @@ -5657,8 +6109,8 @@ void main() { final mock = HttpServerMock(); final res = api.CloudAssetApi(mock).v1; final arg_scope = 'foo'; - final arg_analysisQuery_accessSelector_permissions = buildUnnamed3561(); - final arg_analysisQuery_accessSelector_roles = buildUnnamed3562(); + final arg_analysisQuery_accessSelector_permissions = buildUnnamed3465(); + final arg_analysisQuery_accessSelector_roles = buildUnnamed3466(); final arg_analysisQuery_conditionContext_accessTime = 'foo'; final arg_analysisQuery_identitySelector_identity = 'foo'; final arg_analysisQuery_options_analyzeServiceAccountImpersonation = true; @@ -5919,10 +6371,11 @@ void main() { final mock = HttpServerMock(); final res = api.CloudAssetApi(mock).v1; final arg_parent = 'foo'; - final arg_assetNames = buildUnnamed3563(); + final arg_assetNames = buildUnnamed3467(); final arg_contentType = 'foo'; final arg_readTimeWindow_endTime = 'foo'; final arg_readTimeWindow_startTime = 'foo'; + final arg_relationshipTypes = buildUnnamed3468(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5972,6 +6425,10 @@ void main() { queryMap['readTimeWindow.startTime']!.first, unittest.equals(arg_readTimeWindow_startTime), ); + unittest.expect( + queryMap['relationshipTypes']!, + unittest.equals(arg_relationshipTypes), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -5988,6 +6445,7 @@ void main() { contentType: arg_contentType, readTimeWindow_endTime: arg_readTimeWindow_endTime, readTimeWindow_startTime: arg_readTimeWindow_startTime, + relationshipTypes: arg_relationshipTypes, $fields: arg_$fields); checkBatchGetAssetsHistoryResponse( response as api.BatchGetAssetsHistoryResponse); @@ -6055,7 +6513,7 @@ void main() { final mock = HttpServerMock(); final res = api.CloudAssetApi(mock).v1; final arg_scope = 'foo'; - final arg_assetTypes = buildUnnamed3564(); + final arg_assetTypes = buildUnnamed3469(); final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; @@ -6139,7 +6597,7 @@ void main() { final mock = HttpServerMock(); final res = api.CloudAssetApi(mock).v1; final arg_scope = 'foo'; - final arg_assetTypes = buildUnnamed3565(); + final arg_assetTypes = buildUnnamed3470(); final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart index e972ef8ed..939fcb633 100644 --- a/generated/googleapis/test/cloudbilling/v1_test.dart +++ b/generated/googleapis/test/cloudbilling/v1_test.dart @@ -58,12 +58,12 @@ void checkAggregationInfo(api.AggregationInfo o) { buildCounterAggregationInfo--; } -core.List buildUnnamed3042() => [ +core.List buildUnnamed2938() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed3042(core.List o) { +void checkUnnamed2938(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -74,7 +74,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed3042(); + o.auditLogConfigs = buildUnnamed2938(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -84,7 +84,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed3042(o.auditLogConfigs!); + checkUnnamed2938(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -93,12 +93,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed3043() => [ +core.List buildUnnamed2939() => [ 'foo', 'foo', ]; -void checkUnnamed3043(core.List o) { +void checkUnnamed2939(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -115,7 +115,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed3043(); + o.exemptedMembers = buildUnnamed2939(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -125,7 +125,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed3043(o.exemptedMembers!); + checkUnnamed2939(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -168,12 +168,12 @@ void checkBillingAccount(api.BillingAccount o) { buildCounterBillingAccount--; } -core.List buildUnnamed3044() => [ +core.List buildUnnamed2940() => [ 'foo', 'foo', ]; -void checkUnnamed3044(core.List o) { +void checkUnnamed2940(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -191,7 +191,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3044(); + o.members = buildUnnamed2940(); o.role = 'foo'; } buildCounterBinding--; @@ -202,7 +202,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3044(o.members!); + checkUnnamed2940(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -285,12 +285,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed3045() => [ +core.List buildUnnamed2941() => [ 'foo', 'foo', ]; -void checkUnnamed3045(core.List o) { +void checkUnnamed2941(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -307,7 +307,7 @@ api.GeoTaxonomy buildGeoTaxonomy() { final o = api.GeoTaxonomy(); buildCounterGeoTaxonomy++; if (buildCounterGeoTaxonomy < 3) { - o.regions = buildUnnamed3045(); + o.regions = buildUnnamed2941(); o.type = 'foo'; } buildCounterGeoTaxonomy--; @@ -317,7 +317,7 @@ api.GeoTaxonomy buildGeoTaxonomy() { void checkGeoTaxonomy(api.GeoTaxonomy o) { buildCounterGeoTaxonomy++; if (buildCounterGeoTaxonomy < 3) { - checkUnnamed3045(o.regions!); + checkUnnamed2941(o.regions!); unittest.expect( o.type!, unittest.equals('foo'), @@ -326,12 +326,12 @@ void checkGeoTaxonomy(api.GeoTaxonomy o) { buildCounterGeoTaxonomy--; } -core.List buildUnnamed3046() => [ +core.List buildUnnamed2942() => [ buildBillingAccount(), buildBillingAccount(), ]; -void checkUnnamed3046(core.List o) { +void checkUnnamed2942(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBillingAccount(o[0]); checkBillingAccount(o[1]); @@ -342,7 +342,7 @@ api.ListBillingAccountsResponse buildListBillingAccountsResponse() { final o = api.ListBillingAccountsResponse(); buildCounterListBillingAccountsResponse++; if (buildCounterListBillingAccountsResponse < 3) { - o.billingAccounts = buildUnnamed3046(); + o.billingAccounts = buildUnnamed2942(); o.nextPageToken = 'foo'; } buildCounterListBillingAccountsResponse--; @@ -352,7 +352,7 @@ api.ListBillingAccountsResponse buildListBillingAccountsResponse() { void checkListBillingAccountsResponse(api.ListBillingAccountsResponse o) { buildCounterListBillingAccountsResponse++; if (buildCounterListBillingAccountsResponse < 3) { - checkUnnamed3046(o.billingAccounts!); + checkUnnamed2942(o.billingAccounts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -361,12 +361,12 @@ void checkListBillingAccountsResponse(api.ListBillingAccountsResponse o) { buildCounterListBillingAccountsResponse--; } -core.List buildUnnamed3047() => [ +core.List buildUnnamed2943() => [ buildProjectBillingInfo(), buildProjectBillingInfo(), ]; -void checkUnnamed3047(core.List o) { +void checkUnnamed2943(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProjectBillingInfo(o[0]); checkProjectBillingInfo(o[1]); @@ -378,7 +378,7 @@ api.ListProjectBillingInfoResponse buildListProjectBillingInfoResponse() { buildCounterListProjectBillingInfoResponse++; if (buildCounterListProjectBillingInfoResponse < 3) { o.nextPageToken = 'foo'; - o.projectBillingInfo = buildUnnamed3047(); + o.projectBillingInfo = buildUnnamed2943(); } buildCounterListProjectBillingInfoResponse--; return o; @@ -391,17 +391,17 @@ void checkListProjectBillingInfoResponse(api.ListProjectBillingInfoResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3047(o.projectBillingInfo!); + checkUnnamed2943(o.projectBillingInfo!); } buildCounterListProjectBillingInfoResponse--; } -core.List buildUnnamed3048() => [ +core.List buildUnnamed2944() => [ buildService(), buildService(), ]; -void checkUnnamed3048(core.List o) { +void checkUnnamed2944(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); @@ -413,7 +413,7 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed3048(); + o.services = buildUnnamed2944(); } buildCounterListServicesResponse--; return o; @@ -426,17 +426,17 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3048(o.services!); + checkUnnamed2944(o.services!); } buildCounterListServicesResponse--; } -core.List buildUnnamed3049() => [ +core.List buildUnnamed2945() => [ buildSku(), buildSku(), ]; -void checkUnnamed3049(core.List o) { +void checkUnnamed2945(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSku(o[0]); checkSku(o[1]); @@ -448,7 +448,7 @@ api.ListSkusResponse buildListSkusResponse() { buildCounterListSkusResponse++; if (buildCounterListSkusResponse < 3) { o.nextPageToken = 'foo'; - o.skus = buildUnnamed3049(); + o.skus = buildUnnamed2945(); } buildCounterListSkusResponse--; return o; @@ -461,7 +461,7 @@ void checkListSkusResponse(api.ListSkusResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3049(o.skus!); + checkUnnamed2945(o.skus!); } buildCounterListSkusResponse--; } @@ -498,23 +498,23 @@ void checkMoney(api.Money o) { buildCounterMoney--; } -core.List buildUnnamed3050() => [ +core.List buildUnnamed2946() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed3050(core.List o) { +void checkUnnamed2946(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed3051() => [ +core.List buildUnnamed2947() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3051(core.List o) { +void checkUnnamed2947(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -525,8 +525,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed3050(); - o.bindings = buildUnnamed3051(); + o.auditConfigs = buildUnnamed2946(); + o.bindings = buildUnnamed2947(); o.etag = 'foo'; o.version = 42; } @@ -537,8 +537,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3050(o.auditConfigs!); - checkUnnamed3051(o.bindings!); + checkUnnamed2946(o.auditConfigs!); + checkUnnamed2947(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -551,12 +551,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed3052() => [ +core.List buildUnnamed2948() => [ buildTierRate(), buildTierRate(), ]; -void checkUnnamed3052(core.List o) { +void checkUnnamed2948(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTierRate(o[0]); checkTierRate(o[1]); @@ -571,7 +571,7 @@ api.PricingExpression buildPricingExpression() { o.baseUnitConversionFactor = 42.0; o.baseUnitDescription = 'foo'; o.displayQuantity = 42.0; - o.tieredRates = buildUnnamed3052(); + o.tieredRates = buildUnnamed2948(); o.usageUnit = 'foo'; o.usageUnitDescription = 'foo'; } @@ -598,7 +598,7 @@ void checkPricingExpression(api.PricingExpression o) { o.displayQuantity!, unittest.equals(42.0), ); - checkUnnamed3052(o.tieredRates!); + checkUnnamed2948(o.tieredRates!); unittest.expect( o.usageUnit!, unittest.equals('foo'), @@ -742,23 +742,23 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed3053() => [ +core.List buildUnnamed2949() => [ buildPricingInfo(), buildPricingInfo(), ]; -void checkUnnamed3053(core.List o) { +void checkUnnamed2949(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPricingInfo(o[0]); checkPricingInfo(o[1]); } -core.List buildUnnamed3054() => [ +core.List buildUnnamed2950() => [ 'foo', 'foo', ]; -void checkUnnamed3054(core.List o) { +void checkUnnamed2950(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -779,9 +779,9 @@ api.Sku buildSku() { o.description = 'foo'; o.geoTaxonomy = buildGeoTaxonomy(); o.name = 'foo'; - o.pricingInfo = buildUnnamed3053(); + o.pricingInfo = buildUnnamed2949(); o.serviceProviderName = 'foo'; - o.serviceRegions = buildUnnamed3054(); + o.serviceRegions = buildUnnamed2950(); o.skuId = 'foo'; } buildCounterSku--; @@ -801,12 +801,12 @@ void checkSku(api.Sku o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3053(o.pricingInfo!); + checkUnnamed2949(o.pricingInfo!); unittest.expect( o.serviceProviderName!, unittest.equals('foo'), ); - checkUnnamed3054(o.serviceRegions!); + checkUnnamed2950(o.serviceRegions!); unittest.expect( o.skuId!, unittest.equals('foo'), @@ -815,12 +815,12 @@ void checkSku(api.Sku o) { buildCounterSku--; } -core.List buildUnnamed3055() => [ +core.List buildUnnamed2951() => [ 'foo', 'foo', ]; -void checkUnnamed3055(core.List o) { +void checkUnnamed2951(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -837,7 +837,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3055(); + o.permissions = buildUnnamed2951(); } buildCounterTestIamPermissionsRequest--; return o; @@ -846,17 +846,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3055(o.permissions!); + checkUnnamed2951(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3056() => [ +core.List buildUnnamed2952() => [ 'foo', 'foo', ]; -void checkUnnamed3056(core.List o) { +void checkUnnamed2952(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -873,7 +873,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3056(); + o.permissions = buildUnnamed2952(); } buildCounterTestIamPermissionsResponse--; return o; @@ -882,7 +882,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3056(o.permissions!); + checkUnnamed2952(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart index 18dd899b8..2e9e8706b 100644 --- a/generated/googleapis/test/cloudbuild/v1_test.dart +++ b/generated/googleapis/test/cloudbuild/v1_test.dart @@ -26,12 +26,92 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2095() => [ +core.int buildCounterApprovalConfig = 0; +api.ApprovalConfig buildApprovalConfig() { + final o = api.ApprovalConfig(); + buildCounterApprovalConfig++; + if (buildCounterApprovalConfig < 3) { + o.approvalRequired = true; + } + buildCounterApprovalConfig--; + return o; +} + +void checkApprovalConfig(api.ApprovalConfig o) { + buildCounterApprovalConfig++; + if (buildCounterApprovalConfig < 3) { + unittest.expect(o.approvalRequired!, unittest.isTrue); + } + buildCounterApprovalConfig--; +} + +core.int buildCounterApprovalResult = 0; +api.ApprovalResult buildApprovalResult() { + final o = api.ApprovalResult(); + buildCounterApprovalResult++; + if (buildCounterApprovalResult < 3) { + o.approvalTime = 'foo'; + o.approverAccount = 'foo'; + o.comment = 'foo'; + o.decision = 'foo'; + o.url = 'foo'; + } + buildCounterApprovalResult--; + return o; +} + +void checkApprovalResult(api.ApprovalResult o) { + buildCounterApprovalResult++; + if (buildCounterApprovalResult < 3) { + unittest.expect( + o.approvalTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.approverAccount!, + unittest.equals('foo'), + ); + unittest.expect( + o.comment!, + unittest.equals('foo'), + ); + unittest.expect( + o.decision!, + unittest.equals('foo'), + ); + unittest.expect( + o.url!, + unittest.equals('foo'), + ); + } + buildCounterApprovalResult--; +} + +core.int buildCounterApproveBuildRequest = 0; +api.ApproveBuildRequest buildApproveBuildRequest() { + final o = api.ApproveBuildRequest(); + buildCounterApproveBuildRequest++; + if (buildCounterApproveBuildRequest < 3) { + o.approvalResult = buildApprovalResult(); + } + buildCounterApproveBuildRequest--; + return o; +} + +void checkApproveBuildRequest(api.ApproveBuildRequest o) { + buildCounterApproveBuildRequest++; + if (buildCounterApproveBuildRequest < 3) { + checkApprovalResult(o.approvalResult!); + } + buildCounterApproveBuildRequest--; +} + +core.List buildUnnamed2126() => [ 'foo', 'foo', ]; -void checkUnnamed2095(core.List o) { +void checkUnnamed2126(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +129,7 @@ api.ArtifactObjects buildArtifactObjects() { buildCounterArtifactObjects++; if (buildCounterArtifactObjects < 3) { o.location = 'foo'; - o.paths = buildUnnamed2095(); + o.paths = buildUnnamed2126(); o.timing = buildTimeSpan(); } buildCounterArtifactObjects--; @@ -63,18 +143,18 @@ void checkArtifactObjects(api.ArtifactObjects o) { o.location!, unittest.equals('foo'), ); - checkUnnamed2095(o.paths!); + checkUnnamed2126(o.paths!); checkTimeSpan(o.timing!); } buildCounterArtifactObjects--; } -core.List buildUnnamed2096() => [ +core.List buildUnnamed2127() => [ buildFileHashes(), buildFileHashes(), ]; -void checkUnnamed2096(core.List o) { +void checkUnnamed2127(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileHashes(o[0]); checkFileHashes(o[1]); @@ -85,7 +165,7 @@ api.ArtifactResult buildArtifactResult() { final o = api.ArtifactResult(); buildCounterArtifactResult++; if (buildCounterArtifactResult < 3) { - o.fileHash = buildUnnamed2096(); + o.fileHash = buildUnnamed2127(); o.location = 'foo'; } buildCounterArtifactResult--; @@ -95,7 +175,7 @@ api.ArtifactResult buildArtifactResult() { void checkArtifactResult(api.ArtifactResult o) { buildCounterArtifactResult++; if (buildCounterArtifactResult < 3) { - checkUnnamed2096(o.fileHash!); + checkUnnamed2127(o.fileHash!); unittest.expect( o.location!, unittest.equals('foo'), @@ -104,12 +184,12 @@ void checkArtifactResult(api.ArtifactResult o) { buildCounterArtifactResult--; } -core.List buildUnnamed2097() => [ +core.List buildUnnamed2128() => [ 'foo', 'foo', ]; -void checkUnnamed2097(core.List o) { +void checkUnnamed2128(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -126,7 +206,7 @@ api.Artifacts buildArtifacts() { final o = api.Artifacts(); buildCounterArtifacts++; if (buildCounterArtifacts < 3) { - o.images = buildUnnamed2097(); + o.images = buildUnnamed2128(); o.objects = buildArtifactObjects(); } buildCounterArtifacts--; @@ -136,18 +216,18 @@ api.Artifacts buildArtifacts() { void checkArtifacts(api.Artifacts o) { buildCounterArtifacts++; if (buildCounterArtifacts < 3) { - checkUnnamed2097(o.images!); + checkUnnamed2128(o.images!); checkArtifactObjects(o.objects!); } buildCounterArtifacts--; } -core.List buildUnnamed2098() => [ +core.List buildUnnamed2129() => [ 'foo', 'foo', ]; -void checkUnnamed2098(core.List o) { +void checkUnnamed2129(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -159,34 +239,34 @@ void checkUnnamed2098(core.List o) { ); } -core.List buildUnnamed2099() => [ +core.List buildUnnamed2130() => [ buildSecret(), buildSecret(), ]; -void checkUnnamed2099(core.List o) { +void checkUnnamed2130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecret(o[0]); checkSecret(o[1]); } -core.List buildUnnamed2100() => [ +core.List buildUnnamed2131() => [ buildBuildStep(), buildBuildStep(), ]; -void checkUnnamed2100(core.List o) { +void checkUnnamed2131(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuildStep(o[0]); checkBuildStep(o[1]); } -core.Map buildUnnamed2101() => { +core.Map buildUnnamed2132() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2101(core.Map o) { +void checkUnnamed2132(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -198,12 +278,12 @@ void checkUnnamed2101(core.Map o) { ); } -core.List buildUnnamed2102() => [ +core.List buildUnnamed2133() => [ 'foo', 'foo', ]; -void checkUnnamed2102(core.List o) { +void checkUnnamed2133(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -215,23 +295,23 @@ void checkUnnamed2102(core.List o) { ); } -core.Map buildUnnamed2103() => { +core.Map buildUnnamed2134() => { 'x': buildTimeSpan(), 'y': buildTimeSpan(), }; -void checkUnnamed2103(core.Map o) { +void checkUnnamed2134(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTimeSpan(o['x']!); checkTimeSpan(o['y']!); } -core.List buildUnnamed2104() => [ +core.List buildUnnamed2135() => [ buildWarning(), buildWarning(), ]; -void checkUnnamed2104(core.List o) { +void checkUnnamed2135(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWarning(o[0]); checkWarning(o[1]); @@ -242,6 +322,7 @@ api.Build buildBuild() { final o = api.Build(); buildCounterBuild++; if (buildCounterBuild < 3) { + o.approval = buildBuildApproval(); o.artifacts = buildArtifacts(); o.availableSecrets = buildSecrets(); o.buildTriggerId = 'foo'; @@ -249,7 +330,7 @@ api.Build buildBuild() { o.failureInfo = buildFailureInfo(); o.finishTime = 'foo'; o.id = 'foo'; - o.images = buildUnnamed2098(); + o.images = buildUnnamed2129(); o.logUrl = 'foo'; o.logsBucket = 'foo'; o.name = 'foo'; @@ -257,19 +338,19 @@ api.Build buildBuild() { o.projectId = 'foo'; o.queueTtl = 'foo'; o.results = buildResults(); - o.secrets = buildUnnamed2099(); + o.secrets = buildUnnamed2130(); o.serviceAccount = 'foo'; o.source = buildSource(); o.sourceProvenance = buildSourceProvenance(); o.startTime = 'foo'; o.status = 'foo'; o.statusDetail = 'foo'; - o.steps = buildUnnamed2100(); - o.substitutions = buildUnnamed2101(); - o.tags = buildUnnamed2102(); + o.steps = buildUnnamed2131(); + o.substitutions = buildUnnamed2132(); + o.tags = buildUnnamed2133(); o.timeout = 'foo'; - o.timing = buildUnnamed2103(); - o.warnings = buildUnnamed2104(); + o.timing = buildUnnamed2134(); + o.warnings = buildUnnamed2135(); } buildCounterBuild--; return o; @@ -278,6 +359,7 @@ api.Build buildBuild() { void checkBuild(api.Build o) { buildCounterBuild++; if (buildCounterBuild < 3) { + checkBuildApproval(o.approval!); checkArtifacts(o.artifacts!); checkSecrets(o.availableSecrets!); unittest.expect( @@ -297,7 +379,7 @@ void checkBuild(api.Build o) { o.id!, unittest.equals('foo'), ); - checkUnnamed2098(o.images!); + checkUnnamed2129(o.images!); unittest.expect( o.logUrl!, unittest.equals('foo'), @@ -320,7 +402,7 @@ void checkBuild(api.Build o) { unittest.equals('foo'), ); checkResults(o.results!); - checkUnnamed2099(o.secrets!); + checkUnnamed2130(o.secrets!); unittest.expect( o.serviceAccount!, unittest.equals('foo'), @@ -339,19 +421,45 @@ void checkBuild(api.Build o) { o.statusDetail!, unittest.equals('foo'), ); - checkUnnamed2100(o.steps!); - checkUnnamed2101(o.substitutions!); - checkUnnamed2102(o.tags!); + checkUnnamed2131(o.steps!); + checkUnnamed2132(o.substitutions!); + checkUnnamed2133(o.tags!); unittest.expect( o.timeout!, unittest.equals('foo'), ); - checkUnnamed2103(o.timing!); - checkUnnamed2104(o.warnings!); + checkUnnamed2134(o.timing!); + checkUnnamed2135(o.warnings!); } buildCounterBuild--; } +core.int buildCounterBuildApproval = 0; +api.BuildApproval buildBuildApproval() { + final o = api.BuildApproval(); + buildCounterBuildApproval++; + if (buildCounterBuildApproval < 3) { + o.config = buildApprovalConfig(); + o.result = buildApprovalResult(); + o.state = 'foo'; + } + buildCounterBuildApproval--; + return o; +} + +void checkBuildApproval(api.BuildApproval o) { + buildCounterBuildApproval++; + if (buildCounterBuildApproval < 3) { + checkApprovalConfig(o.config!); + checkApprovalResult(o.result!); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + } + buildCounterBuildApproval--; +} + core.int buildCounterBuildOperationMetadata = 0; api.BuildOperationMetadata buildBuildOperationMetadata() { final o = api.BuildOperationMetadata(); @@ -371,12 +479,12 @@ void checkBuildOperationMetadata(api.BuildOperationMetadata o) { buildCounterBuildOperationMetadata--; } -core.List buildUnnamed2105() => [ +core.List buildUnnamed2136() => [ 'foo', 'foo', ]; -void checkUnnamed2105(core.List o) { +void checkUnnamed2136(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -388,12 +496,12 @@ void checkUnnamed2105(core.List o) { ); } -core.List buildUnnamed2106() => [ +core.List buildUnnamed2137() => [ 'foo', 'foo', ]; -void checkUnnamed2106(core.List o) { +void checkUnnamed2137(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -405,12 +513,12 @@ void checkUnnamed2106(core.List o) { ); } -core.List buildUnnamed2107() => [ +core.List buildUnnamed2138() => [ 'foo', 'foo', ]; -void checkUnnamed2107(core.List o) { +void checkUnnamed2138(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -422,12 +530,12 @@ void checkUnnamed2107(core.List o) { ); } -core.List buildUnnamed2108() => [ +core.List buildUnnamed2139() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed2108(core.List o) { +void checkUnnamed2139(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -440,16 +548,16 @@ api.BuildOptions buildBuildOptions() { if (buildCounterBuildOptions < 3) { o.diskSizeGb = 'foo'; o.dynamicSubstitutions = true; - o.env = buildUnnamed2105(); + o.env = buildUnnamed2136(); o.logStreamingOption = 'foo'; o.logging = 'foo'; o.machineType = 'foo'; o.pool = buildPoolOption(); o.requestedVerifyOption = 'foo'; - o.secretEnv = buildUnnamed2106(); - o.sourceProvenanceHash = buildUnnamed2107(); + o.secretEnv = buildUnnamed2137(); + o.sourceProvenanceHash = buildUnnamed2138(); o.substitutionOption = 'foo'; - o.volumes = buildUnnamed2108(); + o.volumes = buildUnnamed2139(); o.workerPool = 'foo'; } buildCounterBuildOptions--; @@ -464,7 +572,7 @@ void checkBuildOptions(api.BuildOptions o) { unittest.equals('foo'), ); unittest.expect(o.dynamicSubstitutions!, unittest.isTrue); - checkUnnamed2105(o.env!); + checkUnnamed2136(o.env!); unittest.expect( o.logStreamingOption!, unittest.equals('foo'), @@ -482,13 +590,13 @@ void checkBuildOptions(api.BuildOptions o) { o.requestedVerifyOption!, unittest.equals('foo'), ); - checkUnnamed2106(o.secretEnv!); - checkUnnamed2107(o.sourceProvenanceHash!); + checkUnnamed2137(o.secretEnv!); + checkUnnamed2138(o.sourceProvenanceHash!); unittest.expect( o.substitutionOption!, unittest.equals('foo'), ); - checkUnnamed2108(o.volumes!); + checkUnnamed2139(o.volumes!); unittest.expect( o.workerPool!, unittest.equals('foo'), @@ -497,12 +605,12 @@ void checkBuildOptions(api.BuildOptions o) { buildCounterBuildOptions--; } -core.List buildUnnamed2109() => [ +core.List buildUnnamed2140() => [ 'foo', 'foo', ]; -void checkUnnamed2109(core.List o) { +void checkUnnamed2140(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -514,12 +622,12 @@ void checkUnnamed2109(core.List o) { ); } -core.List buildUnnamed2110() => [ +core.List buildUnnamed2141() => [ 'foo', 'foo', ]; -void checkUnnamed2110(core.List o) { +void checkUnnamed2141(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -531,12 +639,12 @@ void checkUnnamed2110(core.List o) { ); } -core.List buildUnnamed2111() => [ +core.List buildUnnamed2142() => [ 'foo', 'foo', ]; -void checkUnnamed2111(core.List o) { +void checkUnnamed2142(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -548,23 +656,23 @@ void checkUnnamed2111(core.List o) { ); } -core.List buildUnnamed2112() => [ +core.List buildUnnamed2143() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed2112(core.List o) { +void checkUnnamed2143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); } -core.List buildUnnamed2113() => [ +core.List buildUnnamed2144() => [ 'foo', 'foo', ]; -void checkUnnamed2113(core.List o) { +void checkUnnamed2144(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -581,19 +689,20 @@ api.BuildStep buildBuildStep() { final o = api.BuildStep(); buildCounterBuildStep++; if (buildCounterBuildStep < 3) { - o.args = buildUnnamed2109(); + o.args = buildUnnamed2140(); o.dir = 'foo'; o.entrypoint = 'foo'; - o.env = buildUnnamed2110(); + o.env = buildUnnamed2141(); o.id = 'foo'; o.name = 'foo'; o.pullTiming = buildTimeSpan(); - o.secretEnv = buildUnnamed2111(); + o.script = 'foo'; + o.secretEnv = buildUnnamed2142(); o.status = 'foo'; o.timeout = 'foo'; o.timing = buildTimeSpan(); - o.volumes = buildUnnamed2112(); - o.waitFor = buildUnnamed2113(); + o.volumes = buildUnnamed2143(); + o.waitFor = buildUnnamed2144(); } buildCounterBuildStep--; return o; @@ -602,7 +711,7 @@ api.BuildStep buildBuildStep() { void checkBuildStep(api.BuildStep o) { buildCounterBuildStep++; if (buildCounterBuildStep < 3) { - checkUnnamed2109(o.args!); + checkUnnamed2140(o.args!); unittest.expect( o.dir!, unittest.equals('foo'), @@ -611,7 +720,7 @@ void checkBuildStep(api.BuildStep o) { o.entrypoint!, unittest.equals('foo'), ); - checkUnnamed2110(o.env!); + checkUnnamed2141(o.env!); unittest.expect( o.id!, unittest.equals('foo'), @@ -621,7 +730,11 @@ void checkBuildStep(api.BuildStep o) { unittest.equals('foo'), ); checkTimeSpan(o.pullTiming!); - checkUnnamed2111(o.secretEnv!); + unittest.expect( + o.script!, + unittest.equals('foo'), + ); + checkUnnamed2142(o.secretEnv!); unittest.expect( o.status!, unittest.equals('foo'), @@ -631,18 +744,18 @@ void checkBuildStep(api.BuildStep o) { unittest.equals('foo'), ); checkTimeSpan(o.timing!); - checkUnnamed2112(o.volumes!); - checkUnnamed2113(o.waitFor!); + checkUnnamed2143(o.volumes!); + checkUnnamed2144(o.waitFor!); } buildCounterBuildStep--; } -core.List buildUnnamed2114() => [ +core.List buildUnnamed2145() => [ 'foo', 'foo', ]; -void checkUnnamed2114(core.List o) { +void checkUnnamed2145(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -654,12 +767,12 @@ void checkUnnamed2114(core.List o) { ); } -core.List buildUnnamed2115() => [ +core.List buildUnnamed2146() => [ 'foo', 'foo', ]; -void checkUnnamed2115(core.List o) { +void checkUnnamed2146(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -671,12 +784,12 @@ void checkUnnamed2115(core.List o) { ); } -core.Map buildUnnamed2116() => { +core.Map buildUnnamed2147() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2116(core.Map o) { +void checkUnnamed2147(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -688,12 +801,12 @@ void checkUnnamed2116(core.Map o) { ); } -core.List buildUnnamed2117() => [ +core.List buildUnnamed2148() => [ 'foo', 'foo', ]; -void checkUnnamed2117(core.List o) { +void checkUnnamed2148(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -710,6 +823,7 @@ api.BuildTrigger buildBuildTrigger() { final o = api.BuildTrigger(); buildCounterBuildTrigger++; if (buildCounterBuildTrigger < 3) { + o.approvalConfig = buildApprovalConfig(); o.autodetect = true; o.build = buildBuild(); o.createTime = 'foo'; @@ -717,16 +831,18 @@ api.BuildTrigger buildBuildTrigger() { o.disabled = true; o.filename = 'foo'; o.filter = 'foo'; + o.gitFileSource = buildGitFileSource(); o.github = buildGitHubEventsConfig(); o.id = 'foo'; - o.ignoredFiles = buildUnnamed2114(); - o.includedFiles = buildUnnamed2115(); + o.ignoredFiles = buildUnnamed2145(); + o.includedFiles = buildUnnamed2146(); o.name = 'foo'; o.pubsubConfig = buildPubsubConfig(); o.resourceName = 'foo'; + o.serviceAccount = 'foo'; o.sourceToBuild = buildGitRepoSource(); - o.substitutions = buildUnnamed2116(); - o.tags = buildUnnamed2117(); + o.substitutions = buildUnnamed2147(); + o.tags = buildUnnamed2148(); o.triggerTemplate = buildRepoSource(); o.webhookConfig = buildWebhookConfig(); } @@ -737,6 +853,7 @@ api.BuildTrigger buildBuildTrigger() { void checkBuildTrigger(api.BuildTrigger o) { buildCounterBuildTrigger++; if (buildCounterBuildTrigger < 3) { + checkApprovalConfig(o.approvalConfig!); unittest.expect(o.autodetect!, unittest.isTrue); checkBuild(o.build!); unittest.expect( @@ -756,13 +873,14 @@ void checkBuildTrigger(api.BuildTrigger o) { o.filter!, unittest.equals('foo'), ); + checkGitFileSource(o.gitFileSource!); checkGitHubEventsConfig(o.github!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed2114(o.ignoredFiles!); - checkUnnamed2115(o.includedFiles!); + checkUnnamed2145(o.ignoredFiles!); + checkUnnamed2146(o.includedFiles!); unittest.expect( o.name!, unittest.equals('foo'), @@ -772,9 +890,13 @@ void checkBuildTrigger(api.BuildTrigger o) { o.resourceName!, unittest.equals('foo'), ); + unittest.expect( + o.serviceAccount!, + unittest.equals('foo'), + ); checkGitRepoSource(o.sourceToBuild!); - checkUnnamed2116(o.substitutions!); - checkUnnamed2117(o.tags!); + checkUnnamed2147(o.substitutions!); + checkUnnamed2148(o.tags!); checkRepoSource(o.triggerTemplate!); checkWebhookConfig(o.webhookConfig!); } @@ -857,6 +979,40 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } +core.int buildCounterCreateGitHubEnterpriseConfigOperationMetadata = 0; +api.CreateGitHubEnterpriseConfigOperationMetadata + buildCreateGitHubEnterpriseConfigOperationMetadata() { + final o = api.CreateGitHubEnterpriseConfigOperationMetadata(); + buildCounterCreateGitHubEnterpriseConfigOperationMetadata++; + if (buildCounterCreateGitHubEnterpriseConfigOperationMetadata < 3) { + o.completeTime = 'foo'; + o.createTime = 'foo'; + o.githubEnterpriseConfig = 'foo'; + } + buildCounterCreateGitHubEnterpriseConfigOperationMetadata--; + return o; +} + +void checkCreateGitHubEnterpriseConfigOperationMetadata( + api.CreateGitHubEnterpriseConfigOperationMetadata o) { + buildCounterCreateGitHubEnterpriseConfigOperationMetadata++; + if (buildCounterCreateGitHubEnterpriseConfigOperationMetadata < 3) { + unittest.expect( + o.completeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.githubEnterpriseConfig!, + unittest.equals('foo'), + ); + } + buildCounterCreateGitHubEnterpriseConfigOperationMetadata--; +} + core.int buildCounterCreateWorkerPoolOperationMetadata = 0; api.CreateWorkerPoolOperationMetadata buildCreateWorkerPoolOperationMetadata() { final o = api.CreateWorkerPoolOperationMetadata(); @@ -890,6 +1046,40 @@ void checkCreateWorkerPoolOperationMetadata( buildCounterCreateWorkerPoolOperationMetadata--; } +core.int buildCounterDeleteGitHubEnterpriseConfigOperationMetadata = 0; +api.DeleteGitHubEnterpriseConfigOperationMetadata + buildDeleteGitHubEnterpriseConfigOperationMetadata() { + final o = api.DeleteGitHubEnterpriseConfigOperationMetadata(); + buildCounterDeleteGitHubEnterpriseConfigOperationMetadata++; + if (buildCounterDeleteGitHubEnterpriseConfigOperationMetadata < 3) { + o.completeTime = 'foo'; + o.createTime = 'foo'; + o.githubEnterpriseConfig = 'foo'; + } + buildCounterDeleteGitHubEnterpriseConfigOperationMetadata--; + return o; +} + +void checkDeleteGitHubEnterpriseConfigOperationMetadata( + api.DeleteGitHubEnterpriseConfigOperationMetadata o) { + buildCounterDeleteGitHubEnterpriseConfigOperationMetadata++; + if (buildCounterDeleteGitHubEnterpriseConfigOperationMetadata < 3) { + unittest.expect( + o.completeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.githubEnterpriseConfig!, + unittest.equals('foo'), + ); + } + buildCounterDeleteGitHubEnterpriseConfigOperationMetadata--; +} + core.int buildCounterDeleteWorkerPoolOperationMetadata = 0; api.DeleteWorkerPoolOperationMetadata buildDeleteWorkerPoolOperationMetadata() { final o = api.DeleteWorkerPoolOperationMetadata(); @@ -965,12 +1155,12 @@ void checkFailureInfo(api.FailureInfo o) { buildCounterFailureInfo--; } -core.List buildUnnamed2118() => [ +core.List buildUnnamed2149() => [ buildHash(), buildHash(), ]; -void checkUnnamed2118(core.List o) { +void checkUnnamed2149(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHash(o[0]); checkHash(o[1]); @@ -981,7 +1171,7 @@ api.FileHashes buildFileHashes() { final o = api.FileHashes(); buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - o.fileHash = buildUnnamed2118(); + o.fileHash = buildUnnamed2149(); } buildCounterFileHashes--; return o; @@ -990,16 +1180,170 @@ api.FileHashes buildFileHashes() { void checkFileHashes(api.FileHashes o) { buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - checkUnnamed2118(o.fileHash!); + checkUnnamed2149(o.fileHash!); } buildCounterFileHashes--; } +core.int buildCounterGitFileSource = 0; +api.GitFileSource buildGitFileSource() { + final o = api.GitFileSource(); + buildCounterGitFileSource++; + if (buildCounterGitFileSource < 3) { + o.path = 'foo'; + o.repoType = 'foo'; + o.revision = 'foo'; + o.uri = 'foo'; + } + buildCounterGitFileSource--; + return o; +} + +void checkGitFileSource(api.GitFileSource o) { + buildCounterGitFileSource++; + if (buildCounterGitFileSource < 3) { + unittest.expect( + o.path!, + unittest.equals('foo'), + ); + unittest.expect( + o.repoType!, + unittest.equals('foo'), + ); + unittest.expect( + o.revision!, + unittest.equals('foo'), + ); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterGitFileSource--; +} + +core.int buildCounterGitHubEnterpriseConfig = 0; +api.GitHubEnterpriseConfig buildGitHubEnterpriseConfig() { + final o = api.GitHubEnterpriseConfig(); + buildCounterGitHubEnterpriseConfig++; + if (buildCounterGitHubEnterpriseConfig < 3) { + o.appId = 'foo'; + o.createTime = 'foo'; + o.displayName = 'foo'; + o.hostUrl = 'foo'; + o.name = 'foo'; + o.peeredNetwork = 'foo'; + o.secrets = buildGitHubEnterpriseSecrets(); + o.sslCa = 'foo'; + o.webhookKey = 'foo'; + } + buildCounterGitHubEnterpriseConfig--; + return o; +} + +void checkGitHubEnterpriseConfig(api.GitHubEnterpriseConfig o) { + buildCounterGitHubEnterpriseConfig++; + if (buildCounterGitHubEnterpriseConfig < 3) { + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.hostUrl!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.peeredNetwork!, + unittest.equals('foo'), + ); + checkGitHubEnterpriseSecrets(o.secrets!); + unittest.expect( + o.sslCa!, + unittest.equals('foo'), + ); + unittest.expect( + o.webhookKey!, + unittest.equals('foo'), + ); + } + buildCounterGitHubEnterpriseConfig--; +} + +core.int buildCounterGitHubEnterpriseSecrets = 0; +api.GitHubEnterpriseSecrets buildGitHubEnterpriseSecrets() { + final o = api.GitHubEnterpriseSecrets(); + buildCounterGitHubEnterpriseSecrets++; + if (buildCounterGitHubEnterpriseSecrets < 3) { + o.oauthClientIdName = 'foo'; + o.oauthClientIdVersionName = 'foo'; + o.oauthSecretName = 'foo'; + o.oauthSecretVersionName = 'foo'; + o.privateKeyName = 'foo'; + o.privateKeyVersionName = 'foo'; + o.webhookSecretName = 'foo'; + o.webhookSecretVersionName = 'foo'; + } + buildCounterGitHubEnterpriseSecrets--; + return o; +} + +void checkGitHubEnterpriseSecrets(api.GitHubEnterpriseSecrets o) { + buildCounterGitHubEnterpriseSecrets++; + if (buildCounterGitHubEnterpriseSecrets < 3) { + unittest.expect( + o.oauthClientIdName!, + unittest.equals('foo'), + ); + unittest.expect( + o.oauthClientIdVersionName!, + unittest.equals('foo'), + ); + unittest.expect( + o.oauthSecretName!, + unittest.equals('foo'), + ); + unittest.expect( + o.oauthSecretVersionName!, + unittest.equals('foo'), + ); + unittest.expect( + o.privateKeyName!, + unittest.equals('foo'), + ); + unittest.expect( + o.privateKeyVersionName!, + unittest.equals('foo'), + ); + unittest.expect( + o.webhookSecretName!, + unittest.equals('foo'), + ); + unittest.expect( + o.webhookSecretVersionName!, + unittest.equals('foo'), + ); + } + buildCounterGitHubEnterpriseSecrets--; +} + core.int buildCounterGitHubEventsConfig = 0; api.GitHubEventsConfig buildGitHubEventsConfig() { final o = api.GitHubEventsConfig(); buildCounterGitHubEventsConfig++; if (buildCounterGitHubEventsConfig < 3) { + o.enterpriseConfigResourceName = 'foo'; o.installationId = 'foo'; o.name = 'foo'; o.owner = 'foo'; @@ -1013,6 +1357,10 @@ api.GitHubEventsConfig buildGitHubEventsConfig() { void checkGitHubEventsConfig(api.GitHubEventsConfig o) { buildCounterGitHubEventsConfig++; if (buildCounterGitHubEventsConfig < 3) { + unittest.expect( + o.enterpriseConfigResourceName!, + unittest.equals('foo'), + ); unittest.expect( o.installationId!, unittest.equals('foo'), @@ -1163,7 +1511,7 @@ void checkHash(api.Hash o) { buildCounterHash--; } -core.Map buildUnnamed2119() => { +core.Map buildUnnamed2150() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1176,7 +1524,7 @@ core.Map buildUnnamed2119() => { }, }; -void checkUnnamed2119(core.Map o) { +void checkUnnamed2150(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1208,15 +1556,15 @@ void checkUnnamed2119(core.Map o) { ); } -core.List> buildUnnamed2120() => [ - buildUnnamed2119(), - buildUnnamed2119(), +core.List> buildUnnamed2151() => [ + buildUnnamed2150(), + buildUnnamed2150(), ]; -void checkUnnamed2120(core.List> o) { +void checkUnnamed2151(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2119(o[0]); - checkUnnamed2119(o[1]); + checkUnnamed2150(o[0]); + checkUnnamed2150(o[1]); } core.int buildCounterHttpBody = 0; @@ -1226,7 +1574,7 @@ api.HttpBody buildHttpBody() { if (buildCounterHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed2120(); + o.extensions = buildUnnamed2151(); } buildCounterHttpBody--; return o; @@ -1243,17 +1591,17 @@ void checkHttpBody(api.HttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed2120(o.extensions!); + checkUnnamed2151(o.extensions!); } buildCounterHttpBody--; } -core.Map buildUnnamed2121() => { +core.Map buildUnnamed2152() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2121(core.Map o) { +void checkUnnamed2152(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1270,7 +1618,7 @@ api.InlineSecret buildInlineSecret() { final o = api.InlineSecret(); buildCounterInlineSecret++; if (buildCounterInlineSecret < 3) { - o.envMap = buildUnnamed2121(); + o.envMap = buildUnnamed2152(); o.kmsKeyName = 'foo'; } buildCounterInlineSecret--; @@ -1280,7 +1628,7 @@ api.InlineSecret buildInlineSecret() { void checkInlineSecret(api.InlineSecret o) { buildCounterInlineSecret++; if (buildCounterInlineSecret < 3) { - checkUnnamed2121(o.envMap!); + checkUnnamed2152(o.envMap!); unittest.expect( o.kmsKeyName!, unittest.equals('foo'), @@ -1289,12 +1637,12 @@ void checkInlineSecret(api.InlineSecret o) { buildCounterInlineSecret--; } -core.List buildUnnamed2122() => [ +core.List buildUnnamed2153() => [ buildBuildTrigger(), buildBuildTrigger(), ]; -void checkUnnamed2122(core.List o) { +void checkUnnamed2153(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuildTrigger(o[0]); checkBuildTrigger(o[1]); @@ -1306,7 +1654,7 @@ api.ListBuildTriggersResponse buildListBuildTriggersResponse() { buildCounterListBuildTriggersResponse++; if (buildCounterListBuildTriggersResponse < 3) { o.nextPageToken = 'foo'; - o.triggers = buildUnnamed2122(); + o.triggers = buildUnnamed2153(); } buildCounterListBuildTriggersResponse--; return o; @@ -1319,17 +1667,17 @@ void checkListBuildTriggersResponse(api.ListBuildTriggersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2122(o.triggers!); + checkUnnamed2153(o.triggers!); } buildCounterListBuildTriggersResponse--; } -core.List buildUnnamed2123() => [ +core.List buildUnnamed2154() => [ buildBuild(), buildBuild(), ]; -void checkUnnamed2123(core.List o) { +void checkUnnamed2154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuild(o[0]); checkBuild(o[1]); @@ -1340,7 +1688,7 @@ api.ListBuildsResponse buildListBuildsResponse() { final o = api.ListBuildsResponse(); buildCounterListBuildsResponse++; if (buildCounterListBuildsResponse < 3) { - o.builds = buildUnnamed2123(); + o.builds = buildUnnamed2154(); o.nextPageToken = 'foo'; } buildCounterListBuildsResponse--; @@ -1350,7 +1698,7 @@ api.ListBuildsResponse buildListBuildsResponse() { void checkListBuildsResponse(api.ListBuildsResponse o) { buildCounterListBuildsResponse++; if (buildCounterListBuildsResponse < 3) { - checkUnnamed2123(o.builds!); + checkUnnamed2154(o.builds!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1359,12 +1707,44 @@ void checkListBuildsResponse(api.ListBuildsResponse o) { buildCounterListBuildsResponse--; } -core.List buildUnnamed2124() => [ +core.List buildUnnamed2155() => [ + buildGitHubEnterpriseConfig(), + buildGitHubEnterpriseConfig(), + ]; + +void checkUnnamed2155(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGitHubEnterpriseConfig(o[0]); + checkGitHubEnterpriseConfig(o[1]); +} + +core.int buildCounterListGithubEnterpriseConfigsResponse = 0; +api.ListGithubEnterpriseConfigsResponse + buildListGithubEnterpriseConfigsResponse() { + final o = api.ListGithubEnterpriseConfigsResponse(); + buildCounterListGithubEnterpriseConfigsResponse++; + if (buildCounterListGithubEnterpriseConfigsResponse < 3) { + o.configs = buildUnnamed2155(); + } + buildCounterListGithubEnterpriseConfigsResponse--; + return o; +} + +void checkListGithubEnterpriseConfigsResponse( + api.ListGithubEnterpriseConfigsResponse o) { + buildCounterListGithubEnterpriseConfigsResponse++; + if (buildCounterListGithubEnterpriseConfigsResponse < 3) { + checkUnnamed2155(o.configs!); + } + buildCounterListGithubEnterpriseConfigsResponse--; +} + +core.List buildUnnamed2156() => [ buildWorkerPool(), buildWorkerPool(), ]; -void checkUnnamed2124(core.List o) { +void checkUnnamed2156(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkerPool(o[0]); checkWorkerPool(o[1]); @@ -1376,7 +1756,7 @@ api.ListWorkerPoolsResponse buildListWorkerPoolsResponse() { buildCounterListWorkerPoolsResponse++; if (buildCounterListWorkerPoolsResponse < 3) { o.nextPageToken = 'foo'; - o.workerPools = buildUnnamed2124(); + o.workerPools = buildUnnamed2156(); } buildCounterListWorkerPoolsResponse--; return o; @@ -1389,7 +1769,7 @@ void checkListWorkerPoolsResponse(api.ListWorkerPoolsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2124(o.workerPools!); + checkUnnamed2156(o.workerPools!); } buildCounterListWorkerPoolsResponse--; } @@ -1421,7 +1801,7 @@ void checkNetworkConfig(api.NetworkConfig o) { buildCounterNetworkConfig--; } -core.Map buildUnnamed2125() => { +core.Map buildUnnamed2157() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1434,7 +1814,7 @@ core.Map buildUnnamed2125() => { }, }; -void checkUnnamed2125(core.Map o) { +void checkUnnamed2157(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1475,7 +1855,7 @@ api.Notification buildNotification() { o.httpDelivery = buildHTTPDelivery(); o.slackDelivery = buildSlackDelivery(); o.smtpDelivery = buildSMTPDelivery(); - o.structDelivery = buildUnnamed2125(); + o.structDelivery = buildUnnamed2157(); } buildCounterNotification--; return o; @@ -1491,7 +1871,7 @@ void checkNotification(api.Notification o) { checkHTTPDelivery(o.httpDelivery!); checkSlackDelivery(o.slackDelivery!); checkSMTPDelivery(o.smtpDelivery!); - checkUnnamed2125(o.structDelivery!); + checkUnnamed2157(o.structDelivery!); } buildCounterNotification--; } @@ -1603,12 +1983,12 @@ void checkNotifierSecretRef(api.NotifierSecretRef o) { buildCounterNotifierSecretRef--; } -core.List buildUnnamed2126() => [ +core.List buildUnnamed2158() => [ buildNotifierSecret(), buildNotifierSecret(), ]; -void checkUnnamed2126(core.List o) { +void checkUnnamed2158(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotifierSecret(o[0]); checkNotifierSecret(o[1]); @@ -1620,7 +2000,7 @@ api.NotifierSpec buildNotifierSpec() { buildCounterNotifierSpec++; if (buildCounterNotifierSpec < 3) { o.notification = buildNotification(); - o.secrets = buildUnnamed2126(); + o.secrets = buildUnnamed2158(); } buildCounterNotifierSpec--; return o; @@ -1630,12 +2010,12 @@ void checkNotifierSpec(api.NotifierSpec o) { buildCounterNotifierSpec++; if (buildCounterNotifierSpec < 3) { checkNotification(o.notification!); - checkUnnamed2126(o.secrets!); + checkUnnamed2158(o.secrets!); } buildCounterNotifierSpec--; } -core.Map buildUnnamed2127() => { +core.Map buildUnnamed2159() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1648,7 +2028,7 @@ core.Map buildUnnamed2127() => { }, }; -void checkUnnamed2127(core.Map o) { +void checkUnnamed2159(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1680,7 +2060,7 @@ void checkUnnamed2127(core.Map o) { ); } -core.Map buildUnnamed2128() => { +core.Map buildUnnamed2160() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1693,7 +2073,7 @@ core.Map buildUnnamed2128() => { }, }; -void checkUnnamed2128(core.Map o) { +void checkUnnamed2160(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1732,9 +2112,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2127(); + o.metadata = buildUnnamed2159(); o.name = 'foo'; - o.response = buildUnnamed2128(); + o.response = buildUnnamed2160(); } buildCounterOperation--; return o; @@ -1745,12 +2125,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2127(o.metadata!); + checkUnnamed2159(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2128(o.response!); + checkUnnamed2160(o.response!); } buildCounterOperation--; } @@ -1847,6 +2227,40 @@ void checkPrivatePoolV1Config(api.PrivatePoolV1Config o) { buildCounterPrivatePoolV1Config--; } +core.int buildCounterProcessAppManifestCallbackOperationMetadata = 0; +api.ProcessAppManifestCallbackOperationMetadata + buildProcessAppManifestCallbackOperationMetadata() { + final o = api.ProcessAppManifestCallbackOperationMetadata(); + buildCounterProcessAppManifestCallbackOperationMetadata++; + if (buildCounterProcessAppManifestCallbackOperationMetadata < 3) { + o.completeTime = 'foo'; + o.createTime = 'foo'; + o.githubEnterpriseConfig = 'foo'; + } + buildCounterProcessAppManifestCallbackOperationMetadata--; + return o; +} + +void checkProcessAppManifestCallbackOperationMetadata( + api.ProcessAppManifestCallbackOperationMetadata o) { + buildCounterProcessAppManifestCallbackOperationMetadata++; + if (buildCounterProcessAppManifestCallbackOperationMetadata < 3) { + unittest.expect( + o.completeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.githubEnterpriseConfig!, + unittest.equals('foo'), + ); + } + buildCounterProcessAppManifestCallbackOperationMetadata--; +} + core.int buildCounterPubsubConfig = 0; api.PubsubConfig buildPubsubConfig() { final o = api.PubsubConfig(); @@ -1957,12 +2371,12 @@ void checkReceiveTriggerWebhookResponse(api.ReceiveTriggerWebhookResponse o) { buildCounterReceiveTriggerWebhookResponse--; } -core.Map buildUnnamed2129() => { +core.Map buildUnnamed2161() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2129(core.Map o) { +void checkUnnamed2161(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1985,7 +2399,7 @@ api.RepoSource buildRepoSource() { o.invertRegex = true; o.projectId = 'foo'; o.repoName = 'foo'; - o.substitutions = buildUnnamed2129(); + o.substitutions = buildUnnamed2161(); o.tagName = 'foo'; } buildCounterRepoSource--; @@ -2016,7 +2430,7 @@ void checkRepoSource(api.RepoSource o) { o.repoName!, unittest.equals('foo'), ); - checkUnnamed2129(o.substitutions!); + checkUnnamed2161(o.substitutions!); unittest.expect( o.tagName!, unittest.equals('foo'), @@ -2025,12 +2439,12 @@ void checkRepoSource(api.RepoSource o) { buildCounterRepoSource--; } -core.List buildUnnamed2130() => [ +core.List buildUnnamed2162() => [ 'foo', 'foo', ]; -void checkUnnamed2130(core.List o) { +void checkUnnamed2162(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2042,12 +2456,12 @@ void checkUnnamed2130(core.List o) { ); } -core.List buildUnnamed2131() => [ +core.List buildUnnamed2163() => [ 'foo', 'foo', ]; -void checkUnnamed2131(core.List o) { +void checkUnnamed2163(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2059,12 +2473,12 @@ void checkUnnamed2131(core.List o) { ); } -core.List buildUnnamed2132() => [ +core.List buildUnnamed2164() => [ buildBuiltImage(), buildBuiltImage(), ]; -void checkUnnamed2132(core.List o) { +void checkUnnamed2164(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuiltImage(o[0]); checkBuiltImage(o[1]); @@ -2077,9 +2491,9 @@ api.Results buildResults() { if (buildCounterResults < 3) { o.artifactManifest = 'foo'; o.artifactTiming = buildTimeSpan(); - o.buildStepImages = buildUnnamed2130(); - o.buildStepOutputs = buildUnnamed2131(); - o.images = buildUnnamed2132(); + o.buildStepImages = buildUnnamed2162(); + o.buildStepOutputs = buildUnnamed2163(); + o.images = buildUnnamed2164(); o.numArtifacts = 'foo'; } buildCounterResults--; @@ -2094,9 +2508,9 @@ void checkResults(api.Results o) { unittest.equals('foo'), ); checkTimeSpan(o.artifactTiming!); - checkUnnamed2130(o.buildStepImages!); - checkUnnamed2131(o.buildStepOutputs!); - checkUnnamed2132(o.images!); + checkUnnamed2162(o.buildStepImages!); + checkUnnamed2163(o.buildStepOutputs!); + checkUnnamed2164(o.images!); unittest.expect( o.numArtifacts!, unittest.equals('foo'), @@ -2166,12 +2580,12 @@ void checkRunBuildTriggerRequest(api.RunBuildTriggerRequest o) { buildCounterRunBuildTriggerRequest--; } -core.List buildUnnamed2133() => [ +core.List buildUnnamed2165() => [ 'foo', 'foo', ]; -void checkUnnamed2133(core.List o) { +void checkUnnamed2165(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2191,7 +2605,7 @@ api.SMTPDelivery buildSMTPDelivery() { o.fromAddress = 'foo'; o.password = buildNotifierSecretRef(); o.port = 'foo'; - o.recipientAddresses = buildUnnamed2133(); + o.recipientAddresses = buildUnnamed2165(); o.senderAddress = 'foo'; o.server = 'foo'; } @@ -2211,7 +2625,7 @@ void checkSMTPDelivery(api.SMTPDelivery o) { o.port!, unittest.equals('foo'), ); - checkUnnamed2133(o.recipientAddresses!); + checkUnnamed2165(o.recipientAddresses!); unittest.expect( o.senderAddress!, unittest.equals('foo'), @@ -2224,12 +2638,12 @@ void checkSMTPDelivery(api.SMTPDelivery o) { buildCounterSMTPDelivery--; } -core.Map buildUnnamed2134() => { +core.Map buildUnnamed2166() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2134(core.Map o) { +void checkUnnamed2166(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2247,7 +2661,7 @@ api.Secret buildSecret() { buildCounterSecret++; if (buildCounterSecret < 3) { o.kmsKeyName = 'foo'; - o.secretEnv = buildUnnamed2134(); + o.secretEnv = buildUnnamed2166(); } buildCounterSecret--; return o; @@ -2260,7 +2674,7 @@ void checkSecret(api.Secret o) { o.kmsKeyName!, unittest.equals('foo'), ); - checkUnnamed2134(o.secretEnv!); + checkUnnamed2166(o.secretEnv!); } buildCounterSecret--; } @@ -2292,23 +2706,23 @@ void checkSecretManagerSecret(api.SecretManagerSecret o) { buildCounterSecretManagerSecret--; } -core.List buildUnnamed2135() => [ +core.List buildUnnamed2167() => [ buildInlineSecret(), buildInlineSecret(), ]; -void checkUnnamed2135(core.List o) { +void checkUnnamed2167(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInlineSecret(o[0]); checkInlineSecret(o[1]); } -core.List buildUnnamed2136() => [ +core.List buildUnnamed2168() => [ buildSecretManagerSecret(), buildSecretManagerSecret(), ]; -void checkUnnamed2136(core.List o) { +void checkUnnamed2168(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecretManagerSecret(o[0]); checkSecretManagerSecret(o[1]); @@ -2319,8 +2733,8 @@ api.Secrets buildSecrets() { final o = api.Secrets(); buildCounterSecrets++; if (buildCounterSecrets < 3) { - o.inline = buildUnnamed2135(); - o.secretManager = buildUnnamed2136(); + o.inline = buildUnnamed2167(); + o.secretManager = buildUnnamed2168(); } buildCounterSecrets--; return o; @@ -2329,8 +2743,8 @@ api.Secrets buildSecrets() { void checkSecrets(api.Secrets o) { buildCounterSecrets++; if (buildCounterSecrets < 3) { - checkUnnamed2135(o.inline!); - checkUnnamed2136(o.secretManager!); + checkUnnamed2167(o.inline!); + checkUnnamed2168(o.secretManager!); } buildCounterSecrets--; } @@ -2377,12 +2791,12 @@ void checkSource(api.Source o) { buildCounterSource--; } -core.Map buildUnnamed2137() => { +core.Map buildUnnamed2169() => { 'x': buildFileHashes(), 'y': buildFileHashes(), }; -void checkUnnamed2137(core.Map o) { +void checkUnnamed2169(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFileHashes(o['x']!); checkFileHashes(o['y']!); @@ -2393,7 +2807,7 @@ api.SourceProvenance buildSourceProvenance() { final o = api.SourceProvenance(); buildCounterSourceProvenance++; if (buildCounterSourceProvenance < 3) { - o.fileHashes = buildUnnamed2137(); + o.fileHashes = buildUnnamed2169(); o.resolvedRepoSource = buildRepoSource(); o.resolvedStorageSource = buildStorageSource(); o.resolvedStorageSourceManifest = buildStorageSourceManifest(); @@ -2405,7 +2819,7 @@ api.SourceProvenance buildSourceProvenance() { void checkSourceProvenance(api.SourceProvenance o) { buildCounterSourceProvenance++; if (buildCounterSourceProvenance < 3) { - checkUnnamed2137(o.fileHashes!); + checkUnnamed2169(o.fileHashes!); checkRepoSource(o.resolvedRepoSource!); checkStorageSource(o.resolvedStorageSource!); checkStorageSourceManifest(o.resolvedStorageSourceManifest!); @@ -2413,7 +2827,7 @@ void checkSourceProvenance(api.SourceProvenance o) { buildCounterSourceProvenance--; } -core.Map buildUnnamed2138() => { +core.Map buildUnnamed2170() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2426,7 +2840,7 @@ core.Map buildUnnamed2138() => { }, }; -void checkUnnamed2138(core.Map o) { +void checkUnnamed2170(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -2458,15 +2872,15 @@ void checkUnnamed2138(core.Map o) { ); } -core.List> buildUnnamed2139() => [ - buildUnnamed2138(), - buildUnnamed2138(), +core.List> buildUnnamed2171() => [ + buildUnnamed2170(), + buildUnnamed2170(), ]; -void checkUnnamed2139(core.List> o) { +void checkUnnamed2171(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2138(o[0]); - checkUnnamed2138(o[1]); + checkUnnamed2170(o[0]); + checkUnnamed2170(o[1]); } core.int buildCounterStatus = 0; @@ -2475,7 +2889,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2139(); + o.details = buildUnnamed2171(); o.message = 'foo'; } buildCounterStatus--; @@ -2489,7 +2903,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2139(o.details!); + checkUnnamed2171(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2589,6 +3003,40 @@ void checkTimeSpan(api.TimeSpan o) { buildCounterTimeSpan--; } +core.int buildCounterUpdateGitHubEnterpriseConfigOperationMetadata = 0; +api.UpdateGitHubEnterpriseConfigOperationMetadata + buildUpdateGitHubEnterpriseConfigOperationMetadata() { + final o = api.UpdateGitHubEnterpriseConfigOperationMetadata(); + buildCounterUpdateGitHubEnterpriseConfigOperationMetadata++; + if (buildCounterUpdateGitHubEnterpriseConfigOperationMetadata < 3) { + o.completeTime = 'foo'; + o.createTime = 'foo'; + o.githubEnterpriseConfig = 'foo'; + } + buildCounterUpdateGitHubEnterpriseConfigOperationMetadata--; + return o; +} + +void checkUpdateGitHubEnterpriseConfigOperationMetadata( + api.UpdateGitHubEnterpriseConfigOperationMetadata o) { + buildCounterUpdateGitHubEnterpriseConfigOperationMetadata++; + if (buildCounterUpdateGitHubEnterpriseConfigOperationMetadata < 3) { + unittest.expect( + o.completeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.githubEnterpriseConfig!, + unittest.equals('foo'), + ); + } + buildCounterUpdateGitHubEnterpriseConfigOperationMetadata--; +} + core.int buildCounterUpdateWorkerPoolOperationMetadata = 0; api.UpdateWorkerPoolOperationMetadata buildUpdateWorkerPoolOperationMetadata() { final o = api.UpdateWorkerPoolOperationMetadata(); @@ -2730,12 +3178,12 @@ void checkWorkerConfig(api.WorkerConfig o) { buildCounterWorkerConfig--; } -core.Map buildUnnamed2140() => { +core.Map buildUnnamed2172() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2140(core.Map o) { +void checkUnnamed2172(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2752,7 +3200,7 @@ api.WorkerPool buildWorkerPool() { final o = api.WorkerPool(); buildCounterWorkerPool++; if (buildCounterWorkerPool < 3) { - o.annotations = buildUnnamed2140(); + o.annotations = buildUnnamed2172(); o.createTime = 'foo'; o.deleteTime = 'foo'; o.displayName = 'foo'; @@ -2770,7 +3218,7 @@ api.WorkerPool buildWorkerPool() { void checkWorkerPool(api.WorkerPool o) { buildCounterWorkerPool++; if (buildCounterWorkerPool < 3) { - checkUnnamed2140(o.annotations!); + checkUnnamed2172(o.annotations!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2809,29 +3257,59 @@ void checkWorkerPool(api.WorkerPool o) { } void main() { - unittest.group('obj-schema-ArtifactObjects', () { + unittest.group('obj-schema-ApprovalConfig', () { unittest.test('to-json--from-json', () async { - final o = buildArtifactObjects(); + final o = buildApprovalConfig(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.ArtifactObjects.fromJson( + final od = api.ApprovalConfig.fromJson( oJson as core.Map); - checkArtifactObjects(od); + checkApprovalConfig(od); }); }); - unittest.group('obj-schema-ArtifactResult', () { + unittest.group('obj-schema-ApprovalResult', () { unittest.test('to-json--from-json', () async { - final o = buildArtifactResult(); + final o = buildApprovalResult(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.ArtifactResult.fromJson( + final od = api.ApprovalResult.fromJson( oJson as core.Map); - checkArtifactResult(od); + checkApprovalResult(od); }); }); - unittest.group('obj-schema-Artifacts', () { + unittest.group('obj-schema-ApproveBuildRequest', () { unittest.test('to-json--from-json', () async { - final o = buildArtifacts(); + final o = buildApproveBuildRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ApproveBuildRequest.fromJson( + oJson as core.Map); + checkApproveBuildRequest(od); + }); + }); + + unittest.group('obj-schema-ArtifactObjects', () { + unittest.test('to-json--from-json', () async { + final o = buildArtifactObjects(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ArtifactObjects.fromJson( + oJson as core.Map); + checkArtifactObjects(od); + }); + }); + + unittest.group('obj-schema-ArtifactResult', () { + unittest.test('to-json--from-json', () async { + final o = buildArtifactResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ArtifactResult.fromJson( + oJson as core.Map); + checkArtifactResult(od); + }); + }); + + unittest.group('obj-schema-Artifacts', () { + unittest.test('to-json--from-json', () async { + final o = buildArtifacts(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); final od = api.Artifacts.fromJson(oJson as core.Map); @@ -2849,6 +3327,16 @@ void main() { }); }); + unittest.group('obj-schema-BuildApproval', () { + unittest.test('to-json--from-json', () async { + final o = buildBuildApproval(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BuildApproval.fromJson( + oJson as core.Map); + checkBuildApproval(od); + }); + }); + unittest.group('obj-schema-BuildOperationMetadata', () { unittest.test('to-json--from-json', () async { final o = buildBuildOperationMetadata(); @@ -2919,6 +3407,17 @@ void main() { }); }); + unittest.group('obj-schema-CreateGitHubEnterpriseConfigOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildCreateGitHubEnterpriseConfigOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CreateGitHubEnterpriseConfigOperationMetadata.fromJson( + oJson as core.Map); + checkCreateGitHubEnterpriseConfigOperationMetadata(od); + }); + }); + unittest.group('obj-schema-CreateWorkerPoolOperationMetadata', () { unittest.test('to-json--from-json', () async { final o = buildCreateWorkerPoolOperationMetadata(); @@ -2929,6 +3428,17 @@ void main() { }); }); + unittest.group('obj-schema-DeleteGitHubEnterpriseConfigOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildDeleteGitHubEnterpriseConfigOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DeleteGitHubEnterpriseConfigOperationMetadata.fromJson( + oJson as core.Map); + checkDeleteGitHubEnterpriseConfigOperationMetadata(od); + }); + }); + unittest.group('obj-schema-DeleteWorkerPoolOperationMetadata', () { unittest.test('to-json--from-json', () async { final o = buildDeleteWorkerPoolOperationMetadata(); @@ -2969,6 +3479,36 @@ void main() { }); }); + unittest.group('obj-schema-GitFileSource', () { + unittest.test('to-json--from-json', () async { + final o = buildGitFileSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GitFileSource.fromJson( + oJson as core.Map); + checkGitFileSource(od); + }); + }); + + unittest.group('obj-schema-GitHubEnterpriseConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGitHubEnterpriseConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GitHubEnterpriseConfig.fromJson( + oJson as core.Map); + checkGitHubEnterpriseConfig(od); + }); + }); + + unittest.group('obj-schema-GitHubEnterpriseSecrets', () { + unittest.test('to-json--from-json', () async { + final o = buildGitHubEnterpriseSecrets(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GitHubEnterpriseSecrets.fromJson( + oJson as core.Map); + checkGitHubEnterpriseSecrets(od); + }); + }); + unittest.group('obj-schema-GitHubEventsConfig', () { unittest.test('to-json--from-json', () async { final o = buildGitHubEventsConfig(); @@ -3059,6 +3599,16 @@ void main() { }); }); + unittest.group('obj-schema-ListGithubEnterpriseConfigsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListGithubEnterpriseConfigsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListGithubEnterpriseConfigsResponse.fromJson( + oJson as core.Map); + checkListGithubEnterpriseConfigsResponse(od); + }); + }); + unittest.group('obj-schema-ListWorkerPoolsResponse', () { unittest.test('to-json--from-json', () async { final o = buildListWorkerPoolsResponse(); @@ -3179,6 +3729,16 @@ void main() { }); }); + unittest.group('obj-schema-ProcessAppManifestCallbackOperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildProcessAppManifestCallbackOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ProcessAppManifestCallbackOperationMetadata.fromJson( + oJson as core.Map); + checkProcessAppManifestCallbackOperationMetadata(od); + }); + }); + unittest.group('obj-schema-PubsubConfig', () { unittest.test('to-json--from-json', () async { final o = buildPubsubConfig(); @@ -3369,6 +3929,17 @@ void main() { }); }); + unittest.group('obj-schema-UpdateGitHubEnterpriseConfigOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildUpdateGitHubEnterpriseConfigOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.UpdateGitHubEnterpriseConfigOperationMetadata.fromJson( + oJson as core.Map); + checkUpdateGitHubEnterpriseConfigOperationMetadata(od); + }); + }); + unittest.group('obj-schema-UpdateWorkerPoolOperationMetadata', () { unittest.test('to-json--from-json', () async { final o = buildUpdateWorkerPoolOperationMetadata(); @@ -3542,6 +4113,64 @@ void main() { }); unittest.group('resource-ProjectsBuildsResource', () { + unittest.test('method--approve', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.builds; + final arg_request = buildApproveBuildRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ApproveBuildRequest.fromJson( + json as core.Map); + checkApproveBuildRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.approve(arg_request, arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + unittest.test('method--cancel', () async { final mock = HttpServerMock(); final res = api.CloudBuildApi(mock).projects.builds; @@ -3736,16 +4365,750 @@ void main() { unittest.equals('$arg_projectId'), ); unittest.expect( - path.substring(pathOffset, pathOffset + 8), - unittest.equals('/builds/'), + path.substring(pathOffset, pathOffset + 8), + unittest.equals('/builds/'), + ); + pathOffset += 8; + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); + pathOffset = path.length; + unittest.expect( + subPart, + unittest.equals('$arg_id'), + ); + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['name']!.first, + unittest.equals(arg_name), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildBuild()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_projectId, arg_id, + name: arg_name, $fields: arg_$fields); + checkBuild(response as api.Build); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.builds; + final arg_projectId = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 12), + unittest.equals('v1/projects/'), + ); + pathOffset += 12; + index = path.indexOf('/builds', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_projectId'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('/builds'), + ); + pathOffset += 7; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['parent']!.first, + unittest.equals(arg_parent), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListBuildsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_projectId, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + parent: arg_parent, + $fields: arg_$fields); + checkListBuildsResponse(response as api.ListBuildsResponse); + }); + + unittest.test('method--retry', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.builds; + final arg_request = buildRetryBuildRequest(); + final arg_projectId = 'foo'; + final arg_id = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RetryBuildRequest.fromJson( + json as core.Map); + checkRetryBuildRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 12), + unittest.equals('v1/projects/'), + ); + pathOffset += 12; + index = path.indexOf('/builds/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_projectId'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 8), + unittest.equals('/builds/'), + ); + pathOffset += 8; + index = path.indexOf(':retry', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_id'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 6), + unittest.equals(':retry'), + ); + pathOffset += 6; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.retry(arg_request, arg_projectId, arg_id, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + }); + + unittest.group('resource-ProjectsGithubEnterpriseConfigsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.githubEnterpriseConfigs; + final arg_request = buildGitHubEnterpriseConfig(); + final arg_parent = 'foo'; + final arg_projectId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GitHubEnterpriseConfig.fromJson( + json as core.Map); + checkGitHubEnterpriseConfig(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + projectId: arg_projectId, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.githubEnterpriseConfigs; + final arg_name = 'foo'; + final arg_configId = 'foo'; + final arg_projectId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['configId']!.first, + unittest.equals(arg_configId), + ); + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, + configId: arg_configId, + projectId: arg_projectId, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.githubEnterpriseConfigs; + final arg_name = 'foo'; + final arg_configId = 'foo'; + final arg_projectId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['configId']!.first, + unittest.equals(arg_configId), + ); + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGitHubEnterpriseConfig()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, + configId: arg_configId, + projectId: arg_projectId, + $fields: arg_$fields); + checkGitHubEnterpriseConfig(response as api.GitHubEnterpriseConfig); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.githubEnterpriseConfigs; + final arg_parent = 'foo'; + final arg_projectId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildListGithubEnterpriseConfigsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + projectId: arg_projectId, $fields: arg_$fields); + checkListGithubEnterpriseConfigsResponse( + response as api.ListGithubEnterpriseConfigsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.githubEnterpriseConfigs; + final arg_request = buildGitHubEnterpriseConfig(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GitHubEnterpriseConfig.fromJson( + json as core.Map); + checkGitHubEnterpriseConfig(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + }); + + unittest.group('resource-ProjectsLocationsBuildsResource', () { + unittest.test('method--approve', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.locations.builds; + final arg_request = buildApproveBuildRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ApproveBuildRequest.fromJson( + json as core.Map); + checkApproveBuildRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.approve(arg_request, arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.locations.builds; + final arg_request = buildCancelBuildRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CancelBuildRequest.fromJson( + json as core.Map); + checkCancelBuildRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildBuild()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.cancel(arg_request, arg_name, $fields: arg_$fields); + checkBuild(response as api.Build); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.locations.builds; + final arg_request = buildBuild(); + final arg_parent = 'foo'; + final arg_projectId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Build.fromJson(json as core.Map); + checkBuild(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + projectId: arg_projectId, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).projects.locations.builds; + final arg_name = 'foo'; + final arg_id = 'foo'; + final arg_projectId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), ); - pathOffset += 8; - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); - pathOffset = path.length; + pathOffset += 1; unittest.expect( - subPart, - unittest.equals('$arg_id'), + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; final query = (req.url).query; var queryOffset = 0; @@ -3763,8 +5126,12 @@ void main() { } } unittest.expect( - queryMap['name']!.first, - unittest.equals(arg_name), + queryMap['id']!.first, + unittest.equals(arg_id), + ); + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), ); unittest.expect( queryMap['fields']!.first, @@ -3777,19 +5144,19 @@ void main() { final resp = convert.json.encode(buildBuild()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.get(arg_projectId, arg_id, - name: arg_name, $fields: arg_$fields); + final response = await res.get(arg_name, + id: arg_id, projectId: arg_projectId, $fields: arg_$fields); checkBuild(response as api.Build); }); unittest.test('method--list', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.builds; - final arg_projectId = 'foo'; + final res = api.CloudBuildApi(mock).projects.locations.builds; + final arg_parent = 'foo'; final arg_filter = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_parent = 'foo'; + final arg_projectId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -3802,24 +5169,11 @@ void main() { ); pathOffset += 1; unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('v1/projects/'), - ); - pathOffset += 12; - index = path.indexOf('/builds', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_projectId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 7), - unittest.equals('/builds'), + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), ); - pathOffset += 7; + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; final query = (req.url).query; var queryOffset = 0; @@ -3849,8 +5203,8 @@ void main() { unittest.equals(arg_pageToken), ); unittest.expect( - queryMap['parent']!.first, - unittest.equals(arg_parent), + queryMap['projectId']!.first, + unittest.equals(arg_projectId), ); unittest.expect( queryMap['fields']!.first, @@ -3863,21 +5217,20 @@ void main() { final resp = convert.json.encode(buildListBuildsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.list(arg_projectId, + final response = await res.list(arg_parent, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken, - parent: arg_parent, + projectId: arg_projectId, $fields: arg_$fields); checkListBuildsResponse(response as api.ListBuildsResponse); }); unittest.test('method--retry', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.builds; + final res = api.CloudBuildApi(mock).projects.locations.builds; final arg_request = buildRetryBuildRequest(); - final arg_projectId = 'foo'; - final arg_id = 'foo'; + final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.RetryBuildRequest.fromJson( @@ -3894,38 +5247,11 @@ void main() { ); pathOffset += 1; unittest.expect( - path.substring(pathOffset, pathOffset + 12), - unittest.equals('v1/projects/'), - ); - pathOffset += 12; - index = path.indexOf('/builds/', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_projectId'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 8), - unittest.equals('/builds/'), - ); - pathOffset += 8; - index = path.indexOf(':retry', pathOffset); - unittest.expect(index >= 0, unittest.isTrue); - subPart = - core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); - pathOffset = index; - unittest.expect( - subPart, - unittest.equals('$arg_id'), - ); - unittest.expect( - path.substring(pathOffset, pathOffset + 6), - unittest.equals(':retry'), + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), ); - pathOffset += 6; + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; final query = (req.url).query; var queryOffset = 0; @@ -3953,23 +5279,26 @@ void main() { final resp = convert.json.encode(buildOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.retry(arg_request, arg_projectId, arg_id, - $fields: arg_$fields); + final response = + await res.retry(arg_request, arg_name, $fields: arg_$fields); checkOperation(response as api.Operation); }); }); - unittest.group('resource-ProjectsLocationsBuildsResource', () { - unittest.test('method--cancel', () async { + unittest.group('resource-ProjectsLocationsGithubEnterpriseConfigsResource', + () { + unittest.test('method--create', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.locations.builds; - final arg_request = buildCancelBuildRequest(); - final arg_name = 'foo'; + final res = + api.CloudBuildApi(mock).projects.locations.githubEnterpriseConfigs; + final arg_request = buildGitHubEnterpriseConfig(); + final arg_parent = 'foo'; + final arg_projectId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.CancelBuildRequest.fromJson( + final obj = api.GitHubEnterpriseConfig.fromJson( json as core.Map); - checkCancelBuildRequest(obj); + checkGitHubEnterpriseConfig(obj); final path = (req.url).path; var pathOffset = 0; @@ -4002,6 +5331,10 @@ void main() { ); } } + unittest.expect( + queryMap['projectId']!.first, + unittest.equals(arg_projectId), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -4010,26 +5343,23 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildBuild()); + final resp = convert.json.encode(buildOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = - await res.cancel(arg_request, arg_name, $fields: arg_$fields); - checkBuild(response as api.Build); + final response = await res.create(arg_request, arg_parent, + projectId: arg_projectId, $fields: arg_$fields); + checkOperation(response as api.Operation); }); - unittest.test('method--create', () async { + unittest.test('method--delete', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.locations.builds; - final arg_request = buildBuild(); - final arg_parent = 'foo'; + final res = + api.CloudBuildApi(mock).projects.locations.githubEnterpriseConfigs; + final arg_name = 'foo'; + final arg_configId = 'foo'; final arg_projectId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = - api.Build.fromJson(json as core.Map); - checkBuild(obj); - final path = (req.url).path; var pathOffset = 0; core.int index; @@ -4061,6 +5391,10 @@ void main() { ); } } + unittest.expect( + queryMap['configId']!.first, + unittest.equals(arg_configId), + ); unittest.expect( queryMap['projectId']!.first, unittest.equals(arg_projectId), @@ -4076,16 +5410,19 @@ void main() { final resp = convert.json.encode(buildOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.create(arg_request, arg_parent, - projectId: arg_projectId, $fields: arg_$fields); + final response = await res.delete(arg_name, + configId: arg_configId, + projectId: arg_projectId, + $fields: arg_$fields); checkOperation(response as api.Operation); }); unittest.test('method--get', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.locations.builds; + final res = + api.CloudBuildApi(mock).projects.locations.githubEnterpriseConfigs; final arg_name = 'foo'; - final arg_id = 'foo'; + final arg_configId = 'foo'; final arg_projectId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -4121,8 +5458,8 @@ void main() { } } unittest.expect( - queryMap['id']!.first, - unittest.equals(arg_id), + queryMap['configId']!.first, + unittest.equals(arg_configId), ); unittest.expect( queryMap['projectId']!.first, @@ -4136,21 +5473,21 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildBuild()); + final resp = convert.json.encode(buildGitHubEnterpriseConfig()); return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.get(arg_name, - id: arg_id, projectId: arg_projectId, $fields: arg_$fields); - checkBuild(response as api.Build); + configId: arg_configId, + projectId: arg_projectId, + $fields: arg_$fields); + checkGitHubEnterpriseConfig(response as api.GitHubEnterpriseConfig); }); unittest.test('method--list', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.locations.builds; + final res = + api.CloudBuildApi(mock).projects.locations.githubEnterpriseConfigs; final arg_parent = 'foo'; - final arg_filter = 'foo'; - final arg_pageSize = 42; - final arg_pageToken = 'foo'; final arg_projectId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -4185,18 +5522,6 @@ void main() { ); } } - unittest.expect( - queryMap['filter']!.first, - unittest.equals(arg_filter), - ); - unittest.expect( - core.int.parse(queryMap['pageSize']!.first), - unittest.equals(arg_pageSize), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); unittest.expect( queryMap['projectId']!.first, unittest.equals(arg_projectId), @@ -4209,28 +5534,28 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildListBuildsResponse()); + final resp = + convert.json.encode(buildListGithubEnterpriseConfigsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.list(arg_parent, - filter: arg_filter, - pageSize: arg_pageSize, - pageToken: arg_pageToken, - projectId: arg_projectId, - $fields: arg_$fields); - checkListBuildsResponse(response as api.ListBuildsResponse); + projectId: arg_projectId, $fields: arg_$fields); + checkListGithubEnterpriseConfigsResponse( + response as api.ListGithubEnterpriseConfigsResponse); }); - unittest.test('method--retry', () async { + unittest.test('method--patch', () async { final mock = HttpServerMock(); - final res = api.CloudBuildApi(mock).projects.locations.builds; - final arg_request = buildRetryBuildRequest(); + final res = + api.CloudBuildApi(mock).projects.locations.githubEnterpriseConfigs; + final arg_request = buildGitHubEnterpriseConfig(); final arg_name = 'foo'; + final arg_updateMask = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.RetryBuildRequest.fromJson( + final obj = api.GitHubEnterpriseConfig.fromJson( json as core.Map); - checkRetryBuildRequest(obj); + checkGitHubEnterpriseConfig(obj); final path = (req.url).path; var pathOffset = 0; @@ -4263,6 +5588,10 @@ void main() { ); } } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -4274,8 +5603,8 @@ void main() { final resp = convert.json.encode(buildOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = - await res.retry(arg_request, arg_name, $fields: arg_$fields); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); checkOperation(response as api.Operation); }); }); @@ -5778,4 +7107,67 @@ void main() { response as api.ReceiveTriggerWebhookResponse); }); }); + + unittest.group('resource-V1Resource', () { + unittest.test('method--webhook', () async { + final mock = HttpServerMock(); + final res = api.CloudBuildApi(mock).v1; + final arg_request = buildHttpBody(); + final arg_webhookKey = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.HttpBody.fromJson(json as core.Map); + checkHttpBody(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 10), + unittest.equals('v1/webhook'), + ); + pathOffset += 10; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['webhookKey']!.first, + unittest.equals(arg_webhookKey), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.webhook(arg_request, + webhookKey: arg_webhookKey, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + }); } diff --git a/generated/googleapis/test/cloudchannel/v1_test.dart b/generated/googleapis/test/cloudchannel/v1_test.dart index a1c82562a..def4196f4 100644 --- a/generated/googleapis/test/cloudchannel/v1_test.dart +++ b/generated/googleapis/test/cloudchannel/v1_test.dart @@ -130,12 +130,12 @@ void checkGoogleCloudChannelV1CancelEntitlementRequest( buildCounterGoogleCloudChannelV1CancelEntitlementRequest--; } -core.List buildUnnamed3232() => [ +core.List buildUnnamed3129() => [ buildGoogleCloudChannelV1Parameter(), buildGoogleCloudChannelV1Parameter(), ]; -void checkUnnamed3232(core.List o) { +void checkUnnamed3129(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Parameter(o[0]); checkGoogleCloudChannelV1Parameter(o[1]); @@ -148,7 +148,7 @@ api.GoogleCloudChannelV1ChangeOfferRequest buildCounterGoogleCloudChannelV1ChangeOfferRequest++; if (buildCounterGoogleCloudChannelV1ChangeOfferRequest < 3) { o.offer = 'foo'; - o.parameters = buildUnnamed3232(); + o.parameters = buildUnnamed3129(); o.purchaseOrderId = 'foo'; o.requestId = 'foo'; } @@ -164,7 +164,7 @@ void checkGoogleCloudChannelV1ChangeOfferRequest( o.offer!, unittest.equals('foo'), ); - checkUnnamed3232(o.parameters!); + checkUnnamed3129(o.parameters!); unittest.expect( o.purchaseOrderId!, unittest.equals('foo'), @@ -177,12 +177,12 @@ void checkGoogleCloudChannelV1ChangeOfferRequest( buildCounterGoogleCloudChannelV1ChangeOfferRequest--; } -core.List buildUnnamed3233() => [ +core.List buildUnnamed3130() => [ buildGoogleCloudChannelV1Parameter(), buildGoogleCloudChannelV1Parameter(), ]; -void checkUnnamed3233(core.List o) { +void checkUnnamed3130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Parameter(o[0]); checkGoogleCloudChannelV1Parameter(o[1]); @@ -194,7 +194,7 @@ api.GoogleCloudChannelV1ChangeParametersRequest final o = api.GoogleCloudChannelV1ChangeParametersRequest(); buildCounterGoogleCloudChannelV1ChangeParametersRequest++; if (buildCounterGoogleCloudChannelV1ChangeParametersRequest < 3) { - o.parameters = buildUnnamed3233(); + o.parameters = buildUnnamed3130(); o.purchaseOrderId = 'foo'; o.requestId = 'foo'; } @@ -206,7 +206,7 @@ void checkGoogleCloudChannelV1ChangeParametersRequest( api.GoogleCloudChannelV1ChangeParametersRequest o) { buildCounterGoogleCloudChannelV1ChangeParametersRequest++; if (buildCounterGoogleCloudChannelV1ChangeParametersRequest < 3) { - checkUnnamed3233(o.parameters!); + checkUnnamed3130(o.parameters!); unittest.expect( o.purchaseOrderId!, unittest.equals('foo'), @@ -331,12 +331,12 @@ void checkGoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest( } core.List - buildUnnamed3234() => [ + buildUnnamed3131() => [ buildGoogleCloudChannelV1CloudIdentityCustomerAccount(), buildGoogleCloudChannelV1CloudIdentityCustomerAccount(), ]; -void checkUnnamed3234( +void checkUnnamed3131( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1CloudIdentityCustomerAccount(o[0]); @@ -351,7 +351,7 @@ api.GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse buildCounterGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse++; if (buildCounterGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse < 3) { - o.cloudIdentityAccounts = buildUnnamed3234(); + o.cloudIdentityAccounts = buildUnnamed3131(); } buildCounterGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse--; return o; @@ -362,7 +362,7 @@ void checkGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse( buildCounterGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse++; if (buildCounterGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse < 3) { - checkUnnamed3234(o.cloudIdentityAccounts!); + checkUnnamed3131(o.cloudIdentityAccounts!); } buildCounterGoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse--; } @@ -646,12 +646,12 @@ void checkGoogleCloudChannelV1Customer(api.GoogleCloudChannelV1Customer o) { buildCounterGoogleCloudChannelV1Customer--; } -core.List buildUnnamed3235() => [ +core.List buildUnnamed3132() => [ 'foo', 'foo', ]; -void checkUnnamed3235(core.List o) { +void checkUnnamed3132(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -663,12 +663,12 @@ void checkUnnamed3235(core.List o) { ); } -core.List buildUnnamed3236() => [ +core.List buildUnnamed3133() => [ 'foo', 'foo', ]; -void checkUnnamed3236(core.List o) { +void checkUnnamed3133(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -680,12 +680,12 @@ void checkUnnamed3236(core.List o) { ); } -core.List buildUnnamed3237() => [ +core.List buildUnnamed3134() => [ 'foo', 'foo', ]; -void checkUnnamed3237(core.List o) { +void checkUnnamed3134(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -703,9 +703,9 @@ api.GoogleCloudChannelV1CustomerConstraints final o = api.GoogleCloudChannelV1CustomerConstraints(); buildCounterGoogleCloudChannelV1CustomerConstraints++; if (buildCounterGoogleCloudChannelV1CustomerConstraints < 3) { - o.allowedCustomerTypes = buildUnnamed3235(); - o.allowedRegions = buildUnnamed3236(); - o.promotionalOrderTypes = buildUnnamed3237(); + o.allowedCustomerTypes = buildUnnamed3132(); + o.allowedRegions = buildUnnamed3133(); + o.promotionalOrderTypes = buildUnnamed3134(); } buildCounterGoogleCloudChannelV1CustomerConstraints--; return o; @@ -715,9 +715,9 @@ void checkGoogleCloudChannelV1CustomerConstraints( api.GoogleCloudChannelV1CustomerConstraints o) { buildCounterGoogleCloudChannelV1CustomerConstraints++; if (buildCounterGoogleCloudChannelV1CustomerConstraints < 3) { - checkUnnamed3235(o.allowedCustomerTypes!); - checkUnnamed3236(o.allowedRegions!); - checkUnnamed3237(o.promotionalOrderTypes!); + checkUnnamed3132(o.allowedCustomerTypes!); + checkUnnamed3133(o.allowedRegions!); + checkUnnamed3134(o.promotionalOrderTypes!); } buildCounterGoogleCloudChannelV1CustomerConstraints--; } @@ -782,23 +782,23 @@ void checkGoogleCloudChannelV1EduData(api.GoogleCloudChannelV1EduData o) { buildCounterGoogleCloudChannelV1EduData--; } -core.List buildUnnamed3238() => [ +core.List buildUnnamed3135() => [ buildGoogleCloudChannelV1Parameter(), buildGoogleCloudChannelV1Parameter(), ]; -void checkUnnamed3238(core.List o) { +void checkUnnamed3135(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Parameter(o[0]); checkGoogleCloudChannelV1Parameter(o[1]); } -core.List buildUnnamed3239() => [ +core.List buildUnnamed3136() => [ 'foo', 'foo', ]; -void checkUnnamed3239(core.List o) { +void checkUnnamed3136(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -820,11 +820,11 @@ api.GoogleCloudChannelV1Entitlement buildGoogleCloudChannelV1Entitlement() { o.createTime = 'foo'; o.name = 'foo'; o.offer = 'foo'; - o.parameters = buildUnnamed3238(); + o.parameters = buildUnnamed3135(); o.provisionedService = buildGoogleCloudChannelV1ProvisionedService(); o.provisioningState = 'foo'; o.purchaseOrderId = 'foo'; - o.suspensionReasons = buildUnnamed3239(); + o.suspensionReasons = buildUnnamed3136(); o.trialSettings = buildGoogleCloudChannelV1TrialSettings(); o.updateTime = 'foo'; } @@ -850,7 +850,7 @@ void checkGoogleCloudChannelV1Entitlement( o.offer!, unittest.equals('foo'), ); - checkUnnamed3238(o.parameters!); + checkUnnamed3135(o.parameters!); checkGoogleCloudChannelV1ProvisionedService(o.provisionedService!); unittest.expect( o.provisioningState!, @@ -860,7 +860,7 @@ void checkGoogleCloudChannelV1Entitlement( o.purchaseOrderId!, unittest.equals('foo'), ); - checkUnnamed3239(o.suspensionReasons!); + checkUnnamed3136(o.suspensionReasons!); checkGoogleCloudChannelV1TrialSettings(o.trialSettings!); unittest.expect( o.updateTime!, @@ -899,12 +899,58 @@ void checkGoogleCloudChannelV1EntitlementEvent( buildCounterGoogleCloudChannelV1EntitlementEvent--; } -core.List buildUnnamed3240() => [ +core.int buildCounterGoogleCloudChannelV1ImportCustomerRequest = 0; +api.GoogleCloudChannelV1ImportCustomerRequest + buildGoogleCloudChannelV1ImportCustomerRequest() { + final o = api.GoogleCloudChannelV1ImportCustomerRequest(); + buildCounterGoogleCloudChannelV1ImportCustomerRequest++; + if (buildCounterGoogleCloudChannelV1ImportCustomerRequest < 3) { + o.authToken = 'foo'; + o.channelPartnerId = 'foo'; + o.cloudIdentityId = 'foo'; + o.customer = 'foo'; + o.domain = 'foo'; + o.overwriteIfExists = true; + } + buildCounterGoogleCloudChannelV1ImportCustomerRequest--; + return o; +} + +void checkGoogleCloudChannelV1ImportCustomerRequest( + api.GoogleCloudChannelV1ImportCustomerRequest o) { + buildCounterGoogleCloudChannelV1ImportCustomerRequest++; + if (buildCounterGoogleCloudChannelV1ImportCustomerRequest < 3) { + unittest.expect( + o.authToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.channelPartnerId!, + unittest.equals('foo'), + ); + unittest.expect( + o.cloudIdentityId!, + unittest.equals('foo'), + ); + unittest.expect( + o.customer!, + unittest.equals('foo'), + ); + unittest.expect( + o.domain!, + unittest.equals('foo'), + ); + unittest.expect(o.overwriteIfExists!, unittest.isTrue); + } + buildCounterGoogleCloudChannelV1ImportCustomerRequest--; +} + +core.List buildUnnamed3137() => [ buildGoogleCloudChannelV1ChannelPartnerLink(), buildGoogleCloudChannelV1ChannelPartnerLink(), ]; -void checkUnnamed3240(core.List o) { +void checkUnnamed3137(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1ChannelPartnerLink(o[0]); checkGoogleCloudChannelV1ChannelPartnerLink(o[1]); @@ -916,7 +962,7 @@ api.GoogleCloudChannelV1ListChannelPartnerLinksResponse final o = api.GoogleCloudChannelV1ListChannelPartnerLinksResponse(); buildCounterGoogleCloudChannelV1ListChannelPartnerLinksResponse++; if (buildCounterGoogleCloudChannelV1ListChannelPartnerLinksResponse < 3) { - o.channelPartnerLinks = buildUnnamed3240(); + o.channelPartnerLinks = buildUnnamed3137(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudChannelV1ListChannelPartnerLinksResponse--; @@ -927,7 +973,7 @@ void checkGoogleCloudChannelV1ListChannelPartnerLinksResponse( api.GoogleCloudChannelV1ListChannelPartnerLinksResponse o) { buildCounterGoogleCloudChannelV1ListChannelPartnerLinksResponse++; if (buildCounterGoogleCloudChannelV1ListChannelPartnerLinksResponse < 3) { - checkUnnamed3240(o.channelPartnerLinks!); + checkUnnamed3137(o.channelPartnerLinks!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -936,12 +982,12 @@ void checkGoogleCloudChannelV1ListChannelPartnerLinksResponse( buildCounterGoogleCloudChannelV1ListChannelPartnerLinksResponse--; } -core.List buildUnnamed3241() => [ +core.List buildUnnamed3138() => [ buildGoogleCloudChannelV1Customer(), buildGoogleCloudChannelV1Customer(), ]; -void checkUnnamed3241(core.List o) { +void checkUnnamed3138(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Customer(o[0]); checkGoogleCloudChannelV1Customer(o[1]); @@ -953,7 +999,7 @@ api.GoogleCloudChannelV1ListCustomersResponse final o = api.GoogleCloudChannelV1ListCustomersResponse(); buildCounterGoogleCloudChannelV1ListCustomersResponse++; if (buildCounterGoogleCloudChannelV1ListCustomersResponse < 3) { - o.customers = buildUnnamed3241(); + o.customers = buildUnnamed3138(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudChannelV1ListCustomersResponse--; @@ -964,7 +1010,7 @@ void checkGoogleCloudChannelV1ListCustomersResponse( api.GoogleCloudChannelV1ListCustomersResponse o) { buildCounterGoogleCloudChannelV1ListCustomersResponse++; if (buildCounterGoogleCloudChannelV1ListCustomersResponse < 3) { - checkUnnamed3241(o.customers!); + checkUnnamed3138(o.customers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -973,12 +1019,12 @@ void checkGoogleCloudChannelV1ListCustomersResponse( buildCounterGoogleCloudChannelV1ListCustomersResponse--; } -core.List buildUnnamed3242() => [ +core.List buildUnnamed3139() => [ buildGoogleCloudChannelV1Entitlement(), buildGoogleCloudChannelV1Entitlement(), ]; -void checkUnnamed3242(core.List o) { +void checkUnnamed3139(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Entitlement(o[0]); checkGoogleCloudChannelV1Entitlement(o[1]); @@ -990,7 +1036,7 @@ api.GoogleCloudChannelV1ListEntitlementsResponse final o = api.GoogleCloudChannelV1ListEntitlementsResponse(); buildCounterGoogleCloudChannelV1ListEntitlementsResponse++; if (buildCounterGoogleCloudChannelV1ListEntitlementsResponse < 3) { - o.entitlements = buildUnnamed3242(); + o.entitlements = buildUnnamed3139(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudChannelV1ListEntitlementsResponse--; @@ -1001,7 +1047,7 @@ void checkGoogleCloudChannelV1ListEntitlementsResponse( api.GoogleCloudChannelV1ListEntitlementsResponse o) { buildCounterGoogleCloudChannelV1ListEntitlementsResponse++; if (buildCounterGoogleCloudChannelV1ListEntitlementsResponse < 3) { - checkUnnamed3242(o.entitlements!); + checkUnnamed3139(o.entitlements!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1010,12 +1056,12 @@ void checkGoogleCloudChannelV1ListEntitlementsResponse( buildCounterGoogleCloudChannelV1ListEntitlementsResponse--; } -core.List buildUnnamed3243() => [ +core.List buildUnnamed3140() => [ buildGoogleCloudChannelV1Offer(), buildGoogleCloudChannelV1Offer(), ]; -void checkUnnamed3243(core.List o) { +void checkUnnamed3140(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Offer(o[0]); checkGoogleCloudChannelV1Offer(o[1]); @@ -1028,7 +1074,7 @@ api.GoogleCloudChannelV1ListOffersResponse buildCounterGoogleCloudChannelV1ListOffersResponse++; if (buildCounterGoogleCloudChannelV1ListOffersResponse < 3) { o.nextPageToken = 'foo'; - o.offers = buildUnnamed3243(); + o.offers = buildUnnamed3140(); } buildCounterGoogleCloudChannelV1ListOffersResponse--; return o; @@ -1042,17 +1088,17 @@ void checkGoogleCloudChannelV1ListOffersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3243(o.offers!); + checkUnnamed3140(o.offers!); } buildCounterGoogleCloudChannelV1ListOffersResponse--; } -core.List buildUnnamed3244() => [ +core.List buildUnnamed3141() => [ buildGoogleCloudChannelV1Product(), buildGoogleCloudChannelV1Product(), ]; -void checkUnnamed3244(core.List o) { +void checkUnnamed3141(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Product(o[0]); checkGoogleCloudChannelV1Product(o[1]); @@ -1065,7 +1111,7 @@ api.GoogleCloudChannelV1ListProductsResponse buildCounterGoogleCloudChannelV1ListProductsResponse++; if (buildCounterGoogleCloudChannelV1ListProductsResponse < 3) { o.nextPageToken = 'foo'; - o.products = buildUnnamed3244(); + o.products = buildUnnamed3141(); } buildCounterGoogleCloudChannelV1ListProductsResponse--; return o; @@ -1079,17 +1125,17 @@ void checkGoogleCloudChannelV1ListProductsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3244(o.products!); + checkUnnamed3141(o.products!); } buildCounterGoogleCloudChannelV1ListProductsResponse--; } -core.List buildUnnamed3245() => [ +core.List buildUnnamed3142() => [ buildGoogleCloudChannelV1PurchasableOffer(), buildGoogleCloudChannelV1PurchasableOffer(), ]; -void checkUnnamed3245(core.List o) { +void checkUnnamed3142(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1PurchasableOffer(o[0]); checkGoogleCloudChannelV1PurchasableOffer(o[1]); @@ -1102,7 +1148,7 @@ api.GoogleCloudChannelV1ListPurchasableOffersResponse buildCounterGoogleCloudChannelV1ListPurchasableOffersResponse++; if (buildCounterGoogleCloudChannelV1ListPurchasableOffersResponse < 3) { o.nextPageToken = 'foo'; - o.purchasableOffers = buildUnnamed3245(); + o.purchasableOffers = buildUnnamed3142(); } buildCounterGoogleCloudChannelV1ListPurchasableOffersResponse--; return o; @@ -1116,17 +1162,17 @@ void checkGoogleCloudChannelV1ListPurchasableOffersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3245(o.purchasableOffers!); + checkUnnamed3142(o.purchasableOffers!); } buildCounterGoogleCloudChannelV1ListPurchasableOffersResponse--; } -core.List buildUnnamed3246() => [ +core.List buildUnnamed3143() => [ buildGoogleCloudChannelV1PurchasableSku(), buildGoogleCloudChannelV1PurchasableSku(), ]; -void checkUnnamed3246(core.List o) { +void checkUnnamed3143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1PurchasableSku(o[0]); checkGoogleCloudChannelV1PurchasableSku(o[1]); @@ -1139,7 +1185,7 @@ api.GoogleCloudChannelV1ListPurchasableSkusResponse buildCounterGoogleCloudChannelV1ListPurchasableSkusResponse++; if (buildCounterGoogleCloudChannelV1ListPurchasableSkusResponse < 3) { o.nextPageToken = 'foo'; - o.purchasableSkus = buildUnnamed3246(); + o.purchasableSkus = buildUnnamed3143(); } buildCounterGoogleCloudChannelV1ListPurchasableSkusResponse--; return o; @@ -1153,17 +1199,17 @@ void checkGoogleCloudChannelV1ListPurchasableSkusResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3246(o.purchasableSkus!); + checkUnnamed3143(o.purchasableSkus!); } buildCounterGoogleCloudChannelV1ListPurchasableSkusResponse--; } -core.List buildUnnamed3247() => [ +core.List buildUnnamed3144() => [ buildGoogleCloudChannelV1Sku(), buildGoogleCloudChannelV1Sku(), ]; -void checkUnnamed3247(core.List o) { +void checkUnnamed3144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Sku(o[0]); checkGoogleCloudChannelV1Sku(o[1]); @@ -1176,7 +1222,7 @@ api.GoogleCloudChannelV1ListSkusResponse buildCounterGoogleCloudChannelV1ListSkusResponse++; if (buildCounterGoogleCloudChannelV1ListSkusResponse < 3) { o.nextPageToken = 'foo'; - o.skus = buildUnnamed3247(); + o.skus = buildUnnamed3144(); } buildCounterGoogleCloudChannelV1ListSkusResponse--; return o; @@ -1190,17 +1236,17 @@ void checkGoogleCloudChannelV1ListSkusResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3247(o.skus!); + checkUnnamed3144(o.skus!); } buildCounterGoogleCloudChannelV1ListSkusResponse--; } -core.List buildUnnamed3248() => [ +core.List buildUnnamed3145() => [ 'foo', 'foo', ]; -void checkUnnamed3248(core.List o) { +void checkUnnamed3145(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1219,7 +1265,7 @@ api.GoogleCloudChannelV1ListSubscribersResponse buildCounterGoogleCloudChannelV1ListSubscribersResponse++; if (buildCounterGoogleCloudChannelV1ListSubscribersResponse < 3) { o.nextPageToken = 'foo'; - o.serviceAccounts = buildUnnamed3248(); + o.serviceAccounts = buildUnnamed3145(); o.topic = 'foo'; } buildCounterGoogleCloudChannelV1ListSubscribersResponse--; @@ -1234,7 +1280,7 @@ void checkGoogleCloudChannelV1ListSubscribersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3248(o.serviceAccounts!); + checkUnnamed3145(o.serviceAccounts!); unittest.expect( o.topic!, unittest.equals('foo'), @@ -1292,12 +1338,12 @@ void checkGoogleCloudChannelV1ListTransferableOffersRequest( buildCounterGoogleCloudChannelV1ListTransferableOffersRequest--; } -core.List buildUnnamed3249() => [ +core.List buildUnnamed3146() => [ buildGoogleCloudChannelV1TransferableOffer(), buildGoogleCloudChannelV1TransferableOffer(), ]; -void checkUnnamed3249(core.List o) { +void checkUnnamed3146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1TransferableOffer(o[0]); checkGoogleCloudChannelV1TransferableOffer(o[1]); @@ -1310,7 +1356,7 @@ api.GoogleCloudChannelV1ListTransferableOffersResponse buildCounterGoogleCloudChannelV1ListTransferableOffersResponse++; if (buildCounterGoogleCloudChannelV1ListTransferableOffersResponse < 3) { o.nextPageToken = 'foo'; - o.transferableOffers = buildUnnamed3249(); + o.transferableOffers = buildUnnamed3146(); } buildCounterGoogleCloudChannelV1ListTransferableOffersResponse--; return o; @@ -1324,7 +1370,7 @@ void checkGoogleCloudChannelV1ListTransferableOffersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3249(o.transferableOffers!); + checkUnnamed3146(o.transferableOffers!); } buildCounterGoogleCloudChannelV1ListTransferableOffersResponse--; } @@ -1378,12 +1424,12 @@ void checkGoogleCloudChannelV1ListTransferableSkusRequest( buildCounterGoogleCloudChannelV1ListTransferableSkusRequest--; } -core.List buildUnnamed3250() => [ +core.List buildUnnamed3147() => [ buildGoogleCloudChannelV1TransferableSku(), buildGoogleCloudChannelV1TransferableSku(), ]; -void checkUnnamed3250(core.List o) { +void checkUnnamed3147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1TransferableSku(o[0]); checkGoogleCloudChannelV1TransferableSku(o[1]); @@ -1396,7 +1442,7 @@ api.GoogleCloudChannelV1ListTransferableSkusResponse buildCounterGoogleCloudChannelV1ListTransferableSkusResponse++; if (buildCounterGoogleCloudChannelV1ListTransferableSkusResponse < 3) { o.nextPageToken = 'foo'; - o.transferableSkus = buildUnnamed3250(); + o.transferableSkus = buildUnnamed3147(); } buildCounterGoogleCloudChannelV1ListTransferableSkusResponse--; return o; @@ -1410,7 +1456,7 @@ void checkGoogleCloudChannelV1ListTransferableSkusResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3250(o.transferableSkus!); + checkUnnamed3147(o.transferableSkus!); } buildCounterGoogleCloudChannelV1ListTransferableSkusResponse--; } @@ -1477,24 +1523,24 @@ void checkGoogleCloudChannelV1Media(api.GoogleCloudChannelV1Media o) { buildCounterGoogleCloudChannelV1Media--; } -core.List buildUnnamed3251() => [ +core.List buildUnnamed3148() => [ buildGoogleCloudChannelV1ParameterDefinition(), buildGoogleCloudChannelV1ParameterDefinition(), ]; -void checkUnnamed3251( +void checkUnnamed3148( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1ParameterDefinition(o[0]); checkGoogleCloudChannelV1ParameterDefinition(o[1]); } -core.List buildUnnamed3252() => [ +core.List buildUnnamed3149() => [ buildGoogleCloudChannelV1PriceByResource(), buildGoogleCloudChannelV1PriceByResource(), ]; -void checkUnnamed3252(core.List o) { +void checkUnnamed3149(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1PriceByResource(o[0]); checkGoogleCloudChannelV1PriceByResource(o[1]); @@ -1509,9 +1555,9 @@ api.GoogleCloudChannelV1Offer buildGoogleCloudChannelV1Offer() { o.endTime = 'foo'; o.marketingInfo = buildGoogleCloudChannelV1MarketingInfo(); o.name = 'foo'; - o.parameterDefinitions = buildUnnamed3251(); + o.parameterDefinitions = buildUnnamed3148(); o.plan = buildGoogleCloudChannelV1Plan(); - o.priceByResources = buildUnnamed3252(); + o.priceByResources = buildUnnamed3149(); o.sku = buildGoogleCloudChannelV1Sku(); o.startTime = 'foo'; } @@ -1532,9 +1578,9 @@ void checkGoogleCloudChannelV1Offer(api.GoogleCloudChannelV1Offer o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3251(o.parameterDefinitions!); + checkUnnamed3148(o.parameterDefinitions!); checkGoogleCloudChannelV1Plan(o.plan!); - checkUnnamed3252(o.priceByResources!); + checkUnnamed3149(o.priceByResources!); checkGoogleCloudChannelV1Sku(o.sku!); unittest.expect( o.startTime!, @@ -1594,12 +1640,12 @@ void checkGoogleCloudChannelV1Parameter(api.GoogleCloudChannelV1Parameter o) { buildCounterGoogleCloudChannelV1Parameter--; } -core.List buildUnnamed3253() => [ +core.List buildUnnamed3150() => [ buildGoogleCloudChannelV1Value(), buildGoogleCloudChannelV1Value(), ]; -void checkUnnamed3253(core.List o) { +void checkUnnamed3150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Value(o[0]); checkGoogleCloudChannelV1Value(o[1]); @@ -1611,7 +1657,7 @@ api.GoogleCloudChannelV1ParameterDefinition final o = api.GoogleCloudChannelV1ParameterDefinition(); buildCounterGoogleCloudChannelV1ParameterDefinition++; if (buildCounterGoogleCloudChannelV1ParameterDefinition < 3) { - o.allowedValues = buildUnnamed3253(); + o.allowedValues = buildUnnamed3150(); o.maxValue = buildGoogleCloudChannelV1Value(); o.minValue = buildGoogleCloudChannelV1Value(); o.name = 'foo'; @@ -1626,7 +1672,7 @@ void checkGoogleCloudChannelV1ParameterDefinition( api.GoogleCloudChannelV1ParameterDefinition o) { buildCounterGoogleCloudChannelV1ParameterDefinition++; if (buildCounterGoogleCloudChannelV1ParameterDefinition < 3) { - checkUnnamed3253(o.allowedValues!); + checkUnnamed3150(o.allowedValues!); checkGoogleCloudChannelV1Value(o.maxValue!); checkGoogleCloudChannelV1Value(o.minValue!); unittest.expect( @@ -1736,12 +1782,12 @@ void checkGoogleCloudChannelV1Price(api.GoogleCloudChannelV1Price o) { buildCounterGoogleCloudChannelV1Price--; } -core.List buildUnnamed3254() => [ +core.List buildUnnamed3151() => [ buildGoogleCloudChannelV1PricePhase(), buildGoogleCloudChannelV1PricePhase(), ]; -void checkUnnamed3254(core.List o) { +void checkUnnamed3151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1PricePhase(o[0]); checkGoogleCloudChannelV1PricePhase(o[1]); @@ -1754,7 +1800,7 @@ api.GoogleCloudChannelV1PriceByResource buildCounterGoogleCloudChannelV1PriceByResource++; if (buildCounterGoogleCloudChannelV1PriceByResource < 3) { o.price = buildGoogleCloudChannelV1Price(); - o.pricePhases = buildUnnamed3254(); + o.pricePhases = buildUnnamed3151(); o.resourceType = 'foo'; } buildCounterGoogleCloudChannelV1PriceByResource--; @@ -1766,7 +1812,7 @@ void checkGoogleCloudChannelV1PriceByResource( buildCounterGoogleCloudChannelV1PriceByResource++; if (buildCounterGoogleCloudChannelV1PriceByResource < 3) { checkGoogleCloudChannelV1Price(o.price!); - checkUnnamed3254(o.pricePhases!); + checkUnnamed3151(o.pricePhases!); unittest.expect( o.resourceType!, unittest.equals('foo'), @@ -1775,12 +1821,12 @@ void checkGoogleCloudChannelV1PriceByResource( buildCounterGoogleCloudChannelV1PriceByResource--; } -core.List buildUnnamed3255() => [ +core.List buildUnnamed3152() => [ buildGoogleCloudChannelV1PriceTier(), buildGoogleCloudChannelV1PriceTier(), ]; -void checkUnnamed3255(core.List o) { +void checkUnnamed3152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1PriceTier(o[0]); checkGoogleCloudChannelV1PriceTier(o[1]); @@ -1795,7 +1841,7 @@ api.GoogleCloudChannelV1PricePhase buildGoogleCloudChannelV1PricePhase() { o.lastPeriod = 42; o.periodType = 'foo'; o.price = buildGoogleCloudChannelV1Price(); - o.priceTiers = buildUnnamed3255(); + o.priceTiers = buildUnnamed3152(); } buildCounterGoogleCloudChannelV1PricePhase--; return o; @@ -1817,7 +1863,7 @@ void checkGoogleCloudChannelV1PricePhase(api.GoogleCloudChannelV1PricePhase o) { unittest.equals('foo'), ); checkGoogleCloudChannelV1Price(o.price!); - checkUnnamed3255(o.priceTiers!); + checkUnnamed3152(o.priceTiers!); } buildCounterGoogleCloudChannelV1PricePhase--; } @@ -2182,12 +2228,12 @@ void checkGoogleCloudChannelV1TransferEligibility( buildCounterGoogleCloudChannelV1TransferEligibility--; } -core.List buildUnnamed3256() => [ +core.List buildUnnamed3153() => [ buildGoogleCloudChannelV1Entitlement(), buildGoogleCloudChannelV1Entitlement(), ]; -void checkUnnamed3256(core.List o) { +void checkUnnamed3153(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Entitlement(o[0]); checkGoogleCloudChannelV1Entitlement(o[1]); @@ -2200,7 +2246,7 @@ api.GoogleCloudChannelV1TransferEntitlementsRequest buildCounterGoogleCloudChannelV1TransferEntitlementsRequest++; if (buildCounterGoogleCloudChannelV1TransferEntitlementsRequest < 3) { o.authToken = 'foo'; - o.entitlements = buildUnnamed3256(); + o.entitlements = buildUnnamed3153(); o.requestId = 'foo'; } buildCounterGoogleCloudChannelV1TransferEntitlementsRequest--; @@ -2215,7 +2261,7 @@ void checkGoogleCloudChannelV1TransferEntitlementsRequest( o.authToken!, unittest.equals('foo'), ); - checkUnnamed3256(o.entitlements!); + checkUnnamed3153(o.entitlements!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -2224,12 +2270,12 @@ void checkGoogleCloudChannelV1TransferEntitlementsRequest( buildCounterGoogleCloudChannelV1TransferEntitlementsRequest--; } -core.List buildUnnamed3257() => [ +core.List buildUnnamed3154() => [ buildGoogleCloudChannelV1Entitlement(), buildGoogleCloudChannelV1Entitlement(), ]; -void checkUnnamed3257(core.List o) { +void checkUnnamed3154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Entitlement(o[0]); checkGoogleCloudChannelV1Entitlement(o[1]); @@ -2241,7 +2287,7 @@ api.GoogleCloudChannelV1TransferEntitlementsResponse final o = api.GoogleCloudChannelV1TransferEntitlementsResponse(); buildCounterGoogleCloudChannelV1TransferEntitlementsResponse++; if (buildCounterGoogleCloudChannelV1TransferEntitlementsResponse < 3) { - o.entitlements = buildUnnamed3257(); + o.entitlements = buildUnnamed3154(); } buildCounterGoogleCloudChannelV1TransferEntitlementsResponse--; return o; @@ -2251,17 +2297,17 @@ void checkGoogleCloudChannelV1TransferEntitlementsResponse( api.GoogleCloudChannelV1TransferEntitlementsResponse o) { buildCounterGoogleCloudChannelV1TransferEntitlementsResponse++; if (buildCounterGoogleCloudChannelV1TransferEntitlementsResponse < 3) { - checkUnnamed3257(o.entitlements!); + checkUnnamed3154(o.entitlements!); } buildCounterGoogleCloudChannelV1TransferEntitlementsResponse--; } -core.List buildUnnamed3258() => [ +core.List buildUnnamed3155() => [ buildGoogleCloudChannelV1Entitlement(), buildGoogleCloudChannelV1Entitlement(), ]; -void checkUnnamed3258(core.List o) { +void checkUnnamed3155(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1Entitlement(o[0]); checkGoogleCloudChannelV1Entitlement(o[1]); @@ -2274,7 +2320,7 @@ api.GoogleCloudChannelV1TransferEntitlementsToGoogleRequest final o = api.GoogleCloudChannelV1TransferEntitlementsToGoogleRequest(); buildCounterGoogleCloudChannelV1TransferEntitlementsToGoogleRequest++; if (buildCounterGoogleCloudChannelV1TransferEntitlementsToGoogleRequest < 3) { - o.entitlements = buildUnnamed3258(); + o.entitlements = buildUnnamed3155(); o.requestId = 'foo'; } buildCounterGoogleCloudChannelV1TransferEntitlementsToGoogleRequest--; @@ -2285,7 +2331,7 @@ void checkGoogleCloudChannelV1TransferEntitlementsToGoogleRequest( api.GoogleCloudChannelV1TransferEntitlementsToGoogleRequest o) { buildCounterGoogleCloudChannelV1TransferEntitlementsToGoogleRequest++; if (buildCounterGoogleCloudChannelV1TransferEntitlementsToGoogleRequest < 3) { - checkUnnamed3258(o.entitlements!); + checkUnnamed3155(o.entitlements!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -2439,7 +2485,7 @@ void checkGoogleCloudChannelV1UpdateChannelPartnerLinkRequest( buildCounterGoogleCloudChannelV1UpdateChannelPartnerLinkRequest--; } -core.Map buildUnnamed3259() => { +core.Map buildUnnamed3156() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2452,7 +2498,7 @@ core.Map buildUnnamed3259() => { }, }; -void checkUnnamed3259(core.Map o) { +void checkUnnamed3156(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2492,7 +2538,7 @@ api.GoogleCloudChannelV1Value buildGoogleCloudChannelV1Value() { o.boolValue = true; o.doubleValue = 42.0; o.int64Value = 'foo'; - o.protoValue = buildUnnamed3259(); + o.protoValue = buildUnnamed3156(); o.stringValue = 'foo'; } buildCounterGoogleCloudChannelV1Value--; @@ -2511,7 +2557,7 @@ void checkGoogleCloudChannelV1Value(api.GoogleCloudChannelV1Value o) { o.int64Value!, unittest.equals('foo'), ); - checkUnnamed3259(o.protoValue!); + checkUnnamed3156(o.protoValue!); unittest.expect( o.stringValue!, unittest.equals('foo'), @@ -2604,23 +2650,23 @@ void checkGoogleCloudChannelV1alpha1CustomerEvent( buildCounterGoogleCloudChannelV1alpha1CustomerEvent--; } -core.List buildUnnamed3260() => [ +core.List buildUnnamed3157() => [ buildGoogleCloudChannelV1alpha1Parameter(), buildGoogleCloudChannelV1alpha1Parameter(), ]; -void checkUnnamed3260(core.List o) { +void checkUnnamed3157(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1alpha1Parameter(o[0]); checkGoogleCloudChannelV1alpha1Parameter(o[1]); } -core.List buildUnnamed3261() => [ +core.List buildUnnamed3158() => [ 'foo', 'foo', ]; -void checkUnnamed3261(core.List o) { +void checkUnnamed3158(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2647,11 +2693,11 @@ api.GoogleCloudChannelV1alpha1Entitlement o.name = 'foo'; o.numUnits = 42; o.offer = 'foo'; - o.parameters = buildUnnamed3260(); + o.parameters = buildUnnamed3157(); o.provisionedService = buildGoogleCloudChannelV1alpha1ProvisionedService(); o.provisioningState = 'foo'; o.purchaseOrderId = 'foo'; - o.suspensionReasons = buildUnnamed3261(); + o.suspensionReasons = buildUnnamed3158(); o.trialSettings = buildGoogleCloudChannelV1alpha1TrialSettings(); o.updateTime = 'foo'; } @@ -2693,7 +2739,7 @@ void checkGoogleCloudChannelV1alpha1Entitlement( o.offer!, unittest.equals('foo'), ); - checkUnnamed3260(o.parameters!); + checkUnnamed3157(o.parameters!); checkGoogleCloudChannelV1alpha1ProvisionedService(o.provisionedService!); unittest.expect( o.provisioningState!, @@ -2703,7 +2749,7 @@ void checkGoogleCloudChannelV1alpha1Entitlement( o.purchaseOrderId!, unittest.equals('foo'), ); - checkUnnamed3261(o.suspensionReasons!); + checkUnnamed3158(o.suspensionReasons!); checkGoogleCloudChannelV1alpha1TrialSettings(o.trialSettings!); unittest.expect( o.updateTime!, @@ -2916,12 +2962,12 @@ void checkGoogleCloudChannelV1alpha1SubscriberEvent( buildCounterGoogleCloudChannelV1alpha1SubscriberEvent--; } -core.List buildUnnamed3262() => [ +core.List buildUnnamed3159() => [ buildGoogleCloudChannelV1alpha1Entitlement(), buildGoogleCloudChannelV1alpha1Entitlement(), ]; -void checkUnnamed3262(core.List o) { +void checkUnnamed3159(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudChannelV1alpha1Entitlement(o[0]); checkGoogleCloudChannelV1alpha1Entitlement(o[1]); @@ -2933,7 +2979,7 @@ api.GoogleCloudChannelV1alpha1TransferEntitlementsResponse final o = api.GoogleCloudChannelV1alpha1TransferEntitlementsResponse(); buildCounterGoogleCloudChannelV1alpha1TransferEntitlementsResponse++; if (buildCounterGoogleCloudChannelV1alpha1TransferEntitlementsResponse < 3) { - o.entitlements = buildUnnamed3262(); + o.entitlements = buildUnnamed3159(); } buildCounterGoogleCloudChannelV1alpha1TransferEntitlementsResponse--; return o; @@ -2943,7 +2989,7 @@ void checkGoogleCloudChannelV1alpha1TransferEntitlementsResponse( api.GoogleCloudChannelV1alpha1TransferEntitlementsResponse o) { buildCounterGoogleCloudChannelV1alpha1TransferEntitlementsResponse++; if (buildCounterGoogleCloudChannelV1alpha1TransferEntitlementsResponse < 3) { - checkUnnamed3262(o.entitlements!); + checkUnnamed3159(o.entitlements!); } buildCounterGoogleCloudChannelV1alpha1TransferEntitlementsResponse--; } @@ -2974,7 +3020,7 @@ void checkGoogleCloudChannelV1alpha1TrialSettings( buildCounterGoogleCloudChannelV1alpha1TrialSettings--; } -core.Map buildUnnamed3263() => { +core.Map buildUnnamed3160() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2987,7 +3033,7 @@ core.Map buildUnnamed3263() => { }, }; -void checkUnnamed3263(core.Map o) { +void checkUnnamed3160(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -3027,7 +3073,7 @@ api.GoogleCloudChannelV1alpha1Value buildGoogleCloudChannelV1alpha1Value() { o.boolValue = true; o.doubleValue = 42.0; o.int64Value = 'foo'; - o.protoValue = buildUnnamed3263(); + o.protoValue = buildUnnamed3160(); o.stringValue = 'foo'; } buildCounterGoogleCloudChannelV1alpha1Value--; @@ -3047,7 +3093,7 @@ void checkGoogleCloudChannelV1alpha1Value( o.int64Value!, unittest.equals('foo'), ); - checkUnnamed3263(o.protoValue!); + checkUnnamed3160(o.protoValue!); unittest.expect( o.stringValue!, unittest.equals('foo'), @@ -3073,12 +3119,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed3264() => [ +core.List buildUnnamed3161() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed3264(core.List o) { +void checkUnnamed3161(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -3091,7 +3137,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed3264(); + o.operations = buildUnnamed3161(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -3105,12 +3151,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3264(o.operations!); + checkUnnamed3161(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed3265() => { +core.Map buildUnnamed3162() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3123,7 +3169,7 @@ core.Map buildUnnamed3265() => { }, }; -void checkUnnamed3265(core.Map o) { +void checkUnnamed3162(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -3155,7 +3201,7 @@ void checkUnnamed3265(core.Map o) { ); } -core.Map buildUnnamed3266() => { +core.Map buildUnnamed3163() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3168,7 +3214,7 @@ core.Map buildUnnamed3266() => { }, }; -void checkUnnamed3266(core.Map o) { +void checkUnnamed3163(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3207,9 +3253,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed3265(); + o.metadata = buildUnnamed3162(); o.name = 'foo'; - o.response = buildUnnamed3266(); + o.response = buildUnnamed3163(); } buildCounterGoogleLongrunningOperation--; return o; @@ -3220,12 +3266,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed3265(o.metadata!); + checkUnnamed3162(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3266(o.response!); + checkUnnamed3163(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -3245,7 +3291,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed3267() => { +core.Map buildUnnamed3164() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3258,7 +3304,7 @@ core.Map buildUnnamed3267() => { }, }; -void checkUnnamed3267(core.Map o) { +void checkUnnamed3164(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3290,15 +3336,15 @@ void checkUnnamed3267(core.Map o) { ); } -core.List> buildUnnamed3268() => [ - buildUnnamed3267(), - buildUnnamed3267(), +core.List> buildUnnamed3165() => [ + buildUnnamed3164(), + buildUnnamed3164(), ]; -void checkUnnamed3268(core.List> o) { +void checkUnnamed3165(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3267(o[0]); - checkUnnamed3267(o[1]); + checkUnnamed3164(o[0]); + checkUnnamed3164(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -3307,7 +3353,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed3268(); + o.details = buildUnnamed3165(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -3321,7 +3367,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed3268(o.details!); + checkUnnamed3165(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3362,12 +3408,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed3269() => [ +core.List buildUnnamed3166() => [ 'foo', 'foo', ]; -void checkUnnamed3269(core.List o) { +void checkUnnamed3166(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3379,12 +3425,12 @@ void checkUnnamed3269(core.List o) { ); } -core.List buildUnnamed3270() => [ +core.List buildUnnamed3167() => [ 'foo', 'foo', ]; -void checkUnnamed3270(core.List o) { +void checkUnnamed3167(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3401,13 +3447,13 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { final o = api.GoogleTypePostalAddress(); buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - o.addressLines = buildUnnamed3269(); + o.addressLines = buildUnnamed3166(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed3270(); + o.recipients = buildUnnamed3167(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -3420,7 +3466,7 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - checkUnnamed3269(o.addressLines!); + checkUnnamed3166(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -3441,7 +3487,7 @@ void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed3270(o.recipients!); + checkUnnamed3167(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -3692,6 +3738,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudChannelV1ImportCustomerRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudChannelV1ImportCustomerRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudChannelV1ImportCustomerRequest.fromJson( + oJson as core.Map); + checkGoogleCloudChannelV1ImportCustomerRequest(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudChannelV1ListChannelPartnerLinksResponse', () { unittest.test('to-json--from-json', () async { @@ -5208,6 +5264,66 @@ void main() { response as api.GoogleCloudChannelV1Customer); }); + unittest.test('method--import', () async { + final mock = HttpServerMock(); + final res = + api.CloudchannelApi(mock).accounts.channelPartnerLinks.customers; + final arg_request = buildGoogleCloudChannelV1ImportCustomerRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudChannelV1ImportCustomerRequest.fromJson( + json as core.Map); + checkGoogleCloudChannelV1ImportCustomerRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudChannelV1Customer()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.import(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleCloudChannelV1Customer( + response as api.GoogleCloudChannelV1Customer); + }); + unittest.test('method--list', () async { final mock = HttpServerMock(); final res = @@ -5507,6 +5623,65 @@ void main() { response as api.GoogleCloudChannelV1Customer); }); + unittest.test('method--import', () async { + final mock = HttpServerMock(); + final res = api.CloudchannelApi(mock).accounts.customers; + final arg_request = buildGoogleCloudChannelV1ImportCustomerRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudChannelV1ImportCustomerRequest.fromJson( + json as core.Map); + checkGoogleCloudChannelV1ImportCustomerRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudChannelV1Customer()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.import(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleCloudChannelV1Customer( + response as api.GoogleCloudChannelV1Customer); + }); + unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.CloudchannelApi(mock).accounts.customers; diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart index c37e89371..8224f22e1 100644 --- a/generated/googleapis/test/clouddebugger/v2_test.dart +++ b/generated/googleapis/test/clouddebugger/v2_test.dart @@ -53,23 +53,23 @@ void checkAliasContext(api.AliasContext o) { buildCounterAliasContext--; } -core.List buildUnnamed5255() => [ +core.List buildUnnamed5314() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5255(core.List o) { +void checkUnnamed5314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); } -core.List buildUnnamed5256() => [ +core.List buildUnnamed5315() => [ 'foo', 'foo', ]; -void checkUnnamed5256(core.List o) { +void checkUnnamed5315(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -81,12 +81,12 @@ void checkUnnamed5256(core.List o) { ); } -core.Map buildUnnamed5257() => { +core.Map buildUnnamed5316() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5257(core.Map o) { +void checkUnnamed5316(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -98,23 +98,23 @@ void checkUnnamed5257(core.Map o) { ); } -core.List buildUnnamed5258() => [ +core.List buildUnnamed5317() => [ buildStackFrame(), buildStackFrame(), ]; -void checkUnnamed5258(core.List o) { +void checkUnnamed5317(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStackFrame(o[0]); checkStackFrame(o[1]); } -core.List buildUnnamed5259() => [ +core.List buildUnnamed5318() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5259(core.List o) { +void checkUnnamed5318(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -129,20 +129,20 @@ api.Breakpoint buildBreakpoint() { o.canaryExpireTime = 'foo'; o.condition = 'foo'; o.createTime = 'foo'; - o.evaluatedExpressions = buildUnnamed5255(); - o.expressions = buildUnnamed5256(); + o.evaluatedExpressions = buildUnnamed5314(); + o.expressions = buildUnnamed5315(); o.finalTime = 'foo'; o.id = 'foo'; o.isFinalState = true; - o.labels = buildUnnamed5257(); + o.labels = buildUnnamed5316(); o.location = buildSourceLocation(); o.logLevel = 'foo'; o.logMessageFormat = 'foo'; - o.stackFrames = buildUnnamed5258(); + o.stackFrames = buildUnnamed5317(); o.state = 'foo'; o.status = buildStatusMessage(); o.userEmail = 'foo'; - o.variableTable = buildUnnamed5259(); + o.variableTable = buildUnnamed5318(); } buildCounterBreakpoint--; return o; @@ -167,8 +167,8 @@ void checkBreakpoint(api.Breakpoint o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed5255(o.evaluatedExpressions!); - checkUnnamed5256(o.expressions!); + checkUnnamed5314(o.evaluatedExpressions!); + checkUnnamed5315(o.expressions!); unittest.expect( o.finalTime!, unittest.equals('foo'), @@ -178,7 +178,7 @@ void checkBreakpoint(api.Breakpoint o) { unittest.equals('foo'), ); unittest.expect(o.isFinalState!, unittest.isTrue); - checkUnnamed5257(o.labels!); + checkUnnamed5316(o.labels!); checkSourceLocation(o.location!); unittest.expect( o.logLevel!, @@ -188,7 +188,7 @@ void checkBreakpoint(api.Breakpoint o) { o.logMessageFormat!, unittest.equals('foo'), ); - checkUnnamed5258(o.stackFrames!); + checkUnnamed5317(o.stackFrames!); unittest.expect( o.state!, unittest.equals('foo'), @@ -198,7 +198,7 @@ void checkBreakpoint(api.Breakpoint o) { o.userEmail!, unittest.equals('foo'), ); - checkUnnamed5259(o.variableTable!); + checkUnnamed5318(o.variableTable!); } buildCounterBreakpoint--; } @@ -282,23 +282,23 @@ void checkCloudWorkspaceSourceContext(api.CloudWorkspaceSourceContext o) { buildCounterCloudWorkspaceSourceContext--; } -core.List buildUnnamed5260() => [ +core.List buildUnnamed5319() => [ buildExtendedSourceContext(), buildExtendedSourceContext(), ]; -void checkUnnamed5260(core.List o) { +void checkUnnamed5319(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtendedSourceContext(o[0]); checkExtendedSourceContext(o[1]); } -core.Map buildUnnamed5261() => { +core.Map buildUnnamed5320() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5261(core.Map o) { +void checkUnnamed5320(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -310,12 +310,12 @@ void checkUnnamed5261(core.Map o) { ); } -core.List buildUnnamed5262() => [ +core.List buildUnnamed5321() => [ buildSourceContext(), buildSourceContext(), ]; -void checkUnnamed5262(core.List o) { +void checkUnnamed5321(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceContext(o[0]); checkSourceContext(o[1]); @@ -329,13 +329,13 @@ api.Debuggee buildDebuggee() { o.agentVersion = 'foo'; o.canaryMode = 'foo'; o.description = 'foo'; - o.extSourceContexts = buildUnnamed5260(); + o.extSourceContexts = buildUnnamed5319(); o.id = 'foo'; o.isDisabled = true; o.isInactive = true; - o.labels = buildUnnamed5261(); + o.labels = buildUnnamed5320(); o.project = 'foo'; - o.sourceContexts = buildUnnamed5262(); + o.sourceContexts = buildUnnamed5321(); o.status = buildStatusMessage(); o.uniquifier = 'foo'; } @@ -358,19 +358,19 @@ void checkDebuggee(api.Debuggee o) { o.description!, unittest.equals('foo'), ); - checkUnnamed5260(o.extSourceContexts!); + checkUnnamed5319(o.extSourceContexts!); unittest.expect( o.id!, unittest.equals('foo'), ); unittest.expect(o.isDisabled!, unittest.isTrue); unittest.expect(o.isInactive!, unittest.isTrue); - checkUnnamed5261(o.labels!); + checkUnnamed5320(o.labels!); unittest.expect( o.project!, unittest.equals('foo'), ); - checkUnnamed5262(o.sourceContexts!); + checkUnnamed5321(o.sourceContexts!); checkStatusMessage(o.status!); unittest.expect( o.uniquifier!, @@ -395,12 +395,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.Map buildUnnamed5263() => { +core.Map buildUnnamed5322() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5263(core.Map o) { +void checkUnnamed5322(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -418,7 +418,7 @@ api.ExtendedSourceContext buildExtendedSourceContext() { buildCounterExtendedSourceContext++; if (buildCounterExtendedSourceContext < 3) { o.context = buildSourceContext(); - o.labels = buildUnnamed5263(); + o.labels = buildUnnamed5322(); } buildCounterExtendedSourceContext--; return o; @@ -428,17 +428,17 @@ void checkExtendedSourceContext(api.ExtendedSourceContext o) { buildCounterExtendedSourceContext++; if (buildCounterExtendedSourceContext < 3) { checkSourceContext(o.context!); - checkUnnamed5263(o.labels!); + checkUnnamed5322(o.labels!); } buildCounterExtendedSourceContext--; } -core.List buildUnnamed5264() => [ +core.List buildUnnamed5323() => [ 'foo', 'foo', ]; -void checkUnnamed5264(core.List o) { +void checkUnnamed5323(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -456,7 +456,7 @@ api.FormatMessage buildFormatMessage() { buildCounterFormatMessage++; if (buildCounterFormatMessage < 3) { o.format = 'foo'; - o.parameters = buildUnnamed5264(); + o.parameters = buildUnnamed5323(); } buildCounterFormatMessage--; return o; @@ -469,7 +469,7 @@ void checkFormatMessage(api.FormatMessage o) { o.format!, unittest.equals('foo'), ); - checkUnnamed5264(o.parameters!); + checkUnnamed5323(o.parameters!); } buildCounterFormatMessage--; } @@ -559,12 +559,12 @@ void checkGitSourceContext(api.GitSourceContext o) { buildCounterGitSourceContext--; } -core.List buildUnnamed5265() => [ +core.List buildUnnamed5324() => [ buildBreakpoint(), buildBreakpoint(), ]; -void checkUnnamed5265(core.List o) { +void checkUnnamed5324(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBreakpoint(o[0]); checkBreakpoint(o[1]); @@ -575,7 +575,7 @@ api.ListActiveBreakpointsResponse buildListActiveBreakpointsResponse() { final o = api.ListActiveBreakpointsResponse(); buildCounterListActiveBreakpointsResponse++; if (buildCounterListActiveBreakpointsResponse < 3) { - o.breakpoints = buildUnnamed5265(); + o.breakpoints = buildUnnamed5324(); o.nextWaitToken = 'foo'; o.waitExpired = true; } @@ -586,7 +586,7 @@ api.ListActiveBreakpointsResponse buildListActiveBreakpointsResponse() { void checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) { buildCounterListActiveBreakpointsResponse++; if (buildCounterListActiveBreakpointsResponse < 3) { - checkUnnamed5265(o.breakpoints!); + checkUnnamed5324(o.breakpoints!); unittest.expect( o.nextWaitToken!, unittest.equals('foo'), @@ -596,12 +596,12 @@ void checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) { buildCounterListActiveBreakpointsResponse--; } -core.List buildUnnamed5266() => [ +core.List buildUnnamed5325() => [ buildBreakpoint(), buildBreakpoint(), ]; -void checkUnnamed5266(core.List o) { +void checkUnnamed5325(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBreakpoint(o[0]); checkBreakpoint(o[1]); @@ -612,7 +612,7 @@ api.ListBreakpointsResponse buildListBreakpointsResponse() { final o = api.ListBreakpointsResponse(); buildCounterListBreakpointsResponse++; if (buildCounterListBreakpointsResponse < 3) { - o.breakpoints = buildUnnamed5266(); + o.breakpoints = buildUnnamed5325(); o.nextWaitToken = 'foo'; } buildCounterListBreakpointsResponse--; @@ -622,7 +622,7 @@ api.ListBreakpointsResponse buildListBreakpointsResponse() { void checkListBreakpointsResponse(api.ListBreakpointsResponse o) { buildCounterListBreakpointsResponse++; if (buildCounterListBreakpointsResponse < 3) { - checkUnnamed5266(o.breakpoints!); + checkUnnamed5325(o.breakpoints!); unittest.expect( o.nextWaitToken!, unittest.equals('foo'), @@ -631,12 +631,12 @@ void checkListBreakpointsResponse(api.ListBreakpointsResponse o) { buildCounterListBreakpointsResponse--; } -core.List buildUnnamed5267() => [ +core.List buildUnnamed5326() => [ buildDebuggee(), buildDebuggee(), ]; -void checkUnnamed5267(core.List o) { +void checkUnnamed5326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDebuggee(o[0]); checkDebuggee(o[1]); @@ -647,7 +647,7 @@ api.ListDebuggeesResponse buildListDebuggeesResponse() { final o = api.ListDebuggeesResponse(); buildCounterListDebuggeesResponse++; if (buildCounterListDebuggeesResponse < 3) { - o.debuggees = buildUnnamed5267(); + o.debuggees = buildUnnamed5326(); } buildCounterListDebuggeesResponse--; return o; @@ -656,7 +656,7 @@ api.ListDebuggeesResponse buildListDebuggeesResponse() { void checkListDebuggeesResponse(api.ListDebuggeesResponse o) { buildCounterListDebuggeesResponse++; if (buildCounterListDebuggeesResponse < 3) { - checkUnnamed5267(o.debuggees!); + checkUnnamed5326(o.debuggees!); } buildCounterListDebuggeesResponse--; } @@ -831,23 +831,23 @@ void checkSourceLocation(api.SourceLocation o) { buildCounterSourceLocation--; } -core.List buildUnnamed5268() => [ +core.List buildUnnamed5327() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5268(core.List o) { +void checkUnnamed5327(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); } -core.List buildUnnamed5269() => [ +core.List buildUnnamed5328() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5269(core.List o) { +void checkUnnamed5328(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -858,9 +858,9 @@ api.StackFrame buildStackFrame() { final o = api.StackFrame(); buildCounterStackFrame++; if (buildCounterStackFrame < 3) { - o.arguments = buildUnnamed5268(); + o.arguments = buildUnnamed5327(); o.function = 'foo'; - o.locals = buildUnnamed5269(); + o.locals = buildUnnamed5328(); o.location = buildSourceLocation(); } buildCounterStackFrame--; @@ -870,12 +870,12 @@ api.StackFrame buildStackFrame() { void checkStackFrame(api.StackFrame o) { buildCounterStackFrame++; if (buildCounterStackFrame < 3) { - checkUnnamed5268(o.arguments!); + checkUnnamed5327(o.arguments!); unittest.expect( o.function!, unittest.equals('foo'), ); - checkUnnamed5269(o.locals!); + checkUnnamed5328(o.locals!); checkSourceLocation(o.location!); } buildCounterStackFrame--; @@ -941,12 +941,12 @@ void checkUpdateActiveBreakpointResponse(api.UpdateActiveBreakpointResponse o) { buildCounterUpdateActiveBreakpointResponse--; } -core.List buildUnnamed5270() => [ +core.List buildUnnamed5329() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5270(core.List o) { +void checkUnnamed5329(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -957,7 +957,7 @@ api.Variable buildVariable() { final o = api.Variable(); buildCounterVariable++; if (buildCounterVariable < 3) { - o.members = buildUnnamed5270(); + o.members = buildUnnamed5329(); o.name = 'foo'; o.status = buildStatusMessage(); o.type = 'foo'; @@ -971,7 +971,7 @@ api.Variable buildVariable() { void checkVariable(api.Variable o) { buildCounterVariable++; if (buildCounterVariable < 3) { - checkUnnamed5270(o.members!); + checkUnnamed5329(o.members!); unittest.expect( o.name!, unittest.equals('foo'), diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart index 1167bcbd1..499e88d60 100644 --- a/generated/googleapis/test/cloudfunctions/v1_test.dart +++ b/generated/googleapis/test/cloudfunctions/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2565() => [ +core.List buildUnnamed2555() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed2565(core.List o) { +void checkUnnamed2555(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed2565(); + o.auditLogConfigs = buildUnnamed2555(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed2565(o.auditLogConfigs!); + checkUnnamed2555(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed2566() => [ +core.List buildUnnamed2556() => [ 'foo', 'foo', ]; -void checkUnnamed2566(core.List o) { +void checkUnnamed2556(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed2566(); + o.exemptedMembers = buildUnnamed2556(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed2566(o.exemptedMembers!); + checkUnnamed2556(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed2567() => [ +core.List buildUnnamed2557() => [ 'foo', 'foo', ]; -void checkUnnamed2567(core.List o) { +void checkUnnamed2557(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed2567(); + o.members = buildUnnamed2557(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed2567(o.members!); + checkUnnamed2557(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -199,12 +199,12 @@ void checkCallFunctionResponse(api.CallFunctionResponse o) { buildCounterCallFunctionResponse--; } -core.Map buildUnnamed2568() => { +core.Map buildUnnamed2558() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2568(core.Map o) { +void checkUnnamed2558(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -216,12 +216,12 @@ void checkUnnamed2568(core.Map o) { ); } -core.Map buildUnnamed2569() => { +core.Map buildUnnamed2559() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2569(core.Map o) { +void checkUnnamed2559(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -233,12 +233,12 @@ void checkUnnamed2569(core.Map o) { ); } -core.Map buildUnnamed2570() => { +core.Map buildUnnamed2560() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2570(core.Map o) { +void checkUnnamed2560(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -250,23 +250,23 @@ void checkUnnamed2570(core.Map o) { ); } -core.List buildUnnamed2571() => [ +core.List buildUnnamed2561() => [ buildSecretEnvVar(), buildSecretEnvVar(), ]; -void checkUnnamed2571(core.List o) { +void checkUnnamed2561(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecretEnvVar(o[0]); checkSecretEnvVar(o[1]); } -core.List buildUnnamed2572() => [ +core.List buildUnnamed2562() => [ buildSecretVolume(), buildSecretVolume(), ]; -void checkUnnamed2572(core.List o) { +void checkUnnamed2562(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecretVolume(o[0]); checkSecretVolume(o[1]); @@ -278,22 +278,24 @@ api.CloudFunction buildCloudFunction() { buildCounterCloudFunction++; if (buildCounterCloudFunction < 3) { o.availableMemoryMb = 42; - o.buildEnvironmentVariables = buildUnnamed2568(); + o.buildEnvironmentVariables = buildUnnamed2558(); o.buildId = 'foo'; + o.buildName = 'foo'; o.buildWorkerPool = 'foo'; o.description = 'foo'; o.entryPoint = 'foo'; - o.environmentVariables = buildUnnamed2569(); + o.environmentVariables = buildUnnamed2559(); o.eventTrigger = buildEventTrigger(); o.httpsTrigger = buildHttpsTrigger(); o.ingressSettings = 'foo'; - o.labels = buildUnnamed2570(); + o.labels = buildUnnamed2560(); o.maxInstances = 42; + o.minInstances = 42; o.name = 'foo'; o.network = 'foo'; o.runtime = 'foo'; - o.secretEnvironmentVariables = buildUnnamed2571(); - o.secretVolumes = buildUnnamed2572(); + o.secretEnvironmentVariables = buildUnnamed2561(); + o.secretVolumes = buildUnnamed2562(); o.serviceAccountEmail = 'foo'; o.sourceArchiveUrl = 'foo'; o.sourceRepository = buildSourceRepository(); @@ -317,11 +319,15 @@ void checkCloudFunction(api.CloudFunction o) { o.availableMemoryMb!, unittest.equals(42), ); - checkUnnamed2568(o.buildEnvironmentVariables!); + checkUnnamed2558(o.buildEnvironmentVariables!); unittest.expect( o.buildId!, unittest.equals('foo'), ); + unittest.expect( + o.buildName!, + unittest.equals('foo'), + ); unittest.expect( o.buildWorkerPool!, unittest.equals('foo'), @@ -334,18 +340,22 @@ void checkCloudFunction(api.CloudFunction o) { o.entryPoint!, unittest.equals('foo'), ); - checkUnnamed2569(o.environmentVariables!); + checkUnnamed2559(o.environmentVariables!); checkEventTrigger(o.eventTrigger!); checkHttpsTrigger(o.httpsTrigger!); unittest.expect( o.ingressSettings!, unittest.equals('foo'), ); - checkUnnamed2570(o.labels!); + checkUnnamed2560(o.labels!); unittest.expect( o.maxInstances!, unittest.equals(42), ); + unittest.expect( + o.minInstances!, + unittest.equals(42), + ); unittest.expect( o.name!, unittest.equals('foo'), @@ -358,8 +368,8 @@ void checkCloudFunction(api.CloudFunction o) { o.runtime!, unittest.equals('foo'), ); - checkUnnamed2571(o.secretEnvironmentVariables!); - checkUnnamed2572(o.secretVolumes!); + checkUnnamed2561(o.secretEnvironmentVariables!); + checkUnnamed2562(o.secretVolumes!); unittest.expect( o.serviceAccountEmail!, unittest.equals('foo'), @@ -603,23 +613,23 @@ void checkHttpsTrigger(api.HttpsTrigger o) { buildCounterHttpsTrigger--; } -core.List buildUnnamed2573() => [ +core.List buildUnnamed2563() => [ buildCloudFunction(), buildCloudFunction(), ]; -void checkUnnamed2573(core.List o) { +void checkUnnamed2563(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCloudFunction(o[0]); checkCloudFunction(o[1]); } -core.List buildUnnamed2574() => [ +core.List buildUnnamed2564() => [ 'foo', 'foo', ]; -void checkUnnamed2574(core.List o) { +void checkUnnamed2564(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -636,9 +646,9 @@ api.ListFunctionsResponse buildListFunctionsResponse() { final o = api.ListFunctionsResponse(); buildCounterListFunctionsResponse++; if (buildCounterListFunctionsResponse < 3) { - o.functions = buildUnnamed2573(); + o.functions = buildUnnamed2563(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed2574(); + o.unreachable = buildUnnamed2564(); } buildCounterListFunctionsResponse--; return o; @@ -647,22 +657,22 @@ api.ListFunctionsResponse buildListFunctionsResponse() { void checkListFunctionsResponse(api.ListFunctionsResponse o) { buildCounterListFunctionsResponse++; if (buildCounterListFunctionsResponse < 3) { - checkUnnamed2573(o.functions!); + checkUnnamed2563(o.functions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2574(o.unreachable!); + checkUnnamed2564(o.unreachable!); } buildCounterListFunctionsResponse--; } -core.List buildUnnamed2575() => [ +core.List buildUnnamed2565() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed2575(core.List o) { +void checkUnnamed2565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -673,7 +683,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed2575(); + o.locations = buildUnnamed2565(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -683,7 +693,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed2575(o.locations!); + checkUnnamed2565(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -692,12 +702,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed2576() => [ +core.List buildUnnamed2566() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2576(core.List o) { +void checkUnnamed2566(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -709,7 +719,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2576(); + o.operations = buildUnnamed2566(); } buildCounterListOperationsResponse--; return o; @@ -722,17 +732,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2576(o.operations!); + checkUnnamed2566(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed2577() => { +core.Map buildUnnamed2567() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2577(core.Map o) { +void checkUnnamed2567(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -744,7 +754,7 @@ void checkUnnamed2577(core.Map o) { ); } -core.Map buildUnnamed2578() => { +core.Map buildUnnamed2568() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -757,7 +767,7 @@ core.Map buildUnnamed2578() => { }, }; -void checkUnnamed2578(core.Map o) { +void checkUnnamed2568(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -795,9 +805,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed2577(); + o.labels = buildUnnamed2567(); o.locationId = 'foo'; - o.metadata = buildUnnamed2578(); + o.metadata = buildUnnamed2568(); o.name = 'foo'; } buildCounterLocation--; @@ -811,12 +821,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2577(o.labels!); + checkUnnamed2567(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed2578(o.metadata!); + checkUnnamed2568(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -825,7 +835,7 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed2579() => { +core.Map buildUnnamed2569() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -838,7 +848,7 @@ core.Map buildUnnamed2579() => { }, }; -void checkUnnamed2579(core.Map o) { +void checkUnnamed2569(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -870,7 +880,7 @@ void checkUnnamed2579(core.Map o) { ); } -core.Map buildUnnamed2580() => { +core.Map buildUnnamed2570() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -883,7 +893,7 @@ core.Map buildUnnamed2580() => { }, }; -void checkUnnamed2580(core.Map o) { +void checkUnnamed2570(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -922,9 +932,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2579(); + o.metadata = buildUnnamed2569(); o.name = 'foo'; - o.response = buildUnnamed2580(); + o.response = buildUnnamed2570(); } buildCounterOperation--; return o; @@ -935,17 +945,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2579(o.metadata!); + checkUnnamed2569(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2580(o.response!); + checkUnnamed2570(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed2581() => { +core.Map buildUnnamed2571() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -958,7 +968,7 @@ core.Map buildUnnamed2581() => { }, }; -void checkUnnamed2581(core.Map o) { +void checkUnnamed2571(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -997,7 +1007,7 @@ api.OperationMetadataV1 buildOperationMetadataV1() { if (buildCounterOperationMetadataV1 < 3) { o.buildId = 'foo'; o.buildName = 'foo'; - o.request = buildUnnamed2581(); + o.request = buildUnnamed2571(); o.sourceToken = 'foo'; o.target = 'foo'; o.type = 'foo'; @@ -1019,7 +1029,7 @@ void checkOperationMetadataV1(api.OperationMetadataV1 o) { o.buildName!, unittest.equals('foo'), ); - checkUnnamed2581(o.request!); + checkUnnamed2571(o.request!); unittest.expect( o.sourceToken!, unittest.equals('foo'), @@ -1044,23 +1054,23 @@ void checkOperationMetadataV1(api.OperationMetadataV1 o) { buildCounterOperationMetadataV1--; } -core.List buildUnnamed2582() => [ +core.List buildUnnamed2572() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed2582(core.List o) { +void checkUnnamed2572(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed2583() => [ +core.List buildUnnamed2573() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed2583(core.List o) { +void checkUnnamed2573(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1071,8 +1081,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed2582(); - o.bindings = buildUnnamed2583(); + o.auditConfigs = buildUnnamed2572(); + o.bindings = buildUnnamed2573(); o.etag = 'foo'; o.version = 42; } @@ -1083,8 +1093,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed2582(o.auditConfigs!); - checkUnnamed2583(o.bindings!); + checkUnnamed2572(o.auditConfigs!); + checkUnnamed2573(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1176,12 +1186,12 @@ void checkSecretVersion(api.SecretVersion o) { buildCounterSecretVersion--; } -core.List buildUnnamed2584() => [ +core.List buildUnnamed2574() => [ buildSecretVersion(), buildSecretVersion(), ]; -void checkUnnamed2584(core.List o) { +void checkUnnamed2574(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecretVersion(o[0]); checkSecretVersion(o[1]); @@ -1195,7 +1205,7 @@ api.SecretVolume buildSecretVolume() { o.mountPath = 'foo'; o.projectId = 'foo'; o.secret = 'foo'; - o.versions = buildUnnamed2584(); + o.versions = buildUnnamed2574(); } buildCounterSecretVolume--; return o; @@ -1216,7 +1226,7 @@ void checkSecretVolume(api.SecretVolume o) { o.secret!, unittest.equals('foo'), ); - checkUnnamed2584(o.versions!); + checkUnnamed2574(o.versions!); } buildCounterSecretVolume--; } @@ -1272,7 +1282,7 @@ void checkSourceRepository(api.SourceRepository o) { buildCounterSourceRepository--; } -core.Map buildUnnamed2585() => { +core.Map buildUnnamed2575() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1285,7 +1295,7 @@ core.Map buildUnnamed2585() => { }, }; -void checkUnnamed2585(core.Map o) { +void checkUnnamed2575(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -1317,15 +1327,15 @@ void checkUnnamed2585(core.Map o) { ); } -core.List> buildUnnamed2586() => [ - buildUnnamed2585(), - buildUnnamed2585(), +core.List> buildUnnamed2576() => [ + buildUnnamed2575(), + buildUnnamed2575(), ]; -void checkUnnamed2586(core.List> o) { +void checkUnnamed2576(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2585(o[0]); - checkUnnamed2585(o[1]); + checkUnnamed2575(o[0]); + checkUnnamed2575(o[1]); } core.int buildCounterStatus = 0; @@ -1334,7 +1344,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2586(); + o.details = buildUnnamed2576(); o.message = 'foo'; } buildCounterStatus--; @@ -1348,7 +1358,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2586(o.details!); + checkUnnamed2576(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1357,12 +1367,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed2587() => [ +core.List buildUnnamed2577() => [ 'foo', 'foo', ]; -void checkUnnamed2587(core.List o) { +void checkUnnamed2577(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1379,7 +1389,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed2587(); + o.permissions = buildUnnamed2577(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1388,17 +1398,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed2587(o.permissions!); + checkUnnamed2577(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed2588() => [ +core.List buildUnnamed2578() => [ 'foo', 'foo', ]; -void checkUnnamed2588(core.List o) { +void checkUnnamed2578(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1415,7 +1425,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed2588(); + o.permissions = buildUnnamed2578(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1424,7 +1434,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed2588(o.permissions!); + checkUnnamed2578(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/cloudidentity/v1_test.dart b/generated/googleapis/test/cloudidentity/v1_test.dart index 1bcb9504e..a3e1964e6 100644 --- a/generated/googleapis/test/cloudidentity/v1_test.dart +++ b/generated/googleapis/test/cloudidentity/v1_test.dart @@ -46,12 +46,72 @@ void checkCheckTransitiveMembershipResponse( buildCounterCheckTransitiveMembershipResponse--; } -core.List buildUnnamed1927() => [ +core.int buildCounterCreateGroupMetadata = 0; +api.CreateGroupMetadata buildCreateGroupMetadata() { + final o = api.CreateGroupMetadata(); + buildCounterCreateGroupMetadata++; + if (buildCounterCreateGroupMetadata < 3) {} + buildCounterCreateGroupMetadata--; + return o; +} + +void checkCreateGroupMetadata(api.CreateGroupMetadata o) { + buildCounterCreateGroupMetadata++; + if (buildCounterCreateGroupMetadata < 3) {} + buildCounterCreateGroupMetadata--; +} + +core.int buildCounterCreateMembershipMetadata = 0; +api.CreateMembershipMetadata buildCreateMembershipMetadata() { + final o = api.CreateMembershipMetadata(); + buildCounterCreateMembershipMetadata++; + if (buildCounterCreateMembershipMetadata < 3) {} + buildCounterCreateMembershipMetadata--; + return o; +} + +void checkCreateMembershipMetadata(api.CreateMembershipMetadata o) { + buildCounterCreateMembershipMetadata++; + if (buildCounterCreateMembershipMetadata < 3) {} + buildCounterCreateMembershipMetadata--; +} + +core.int buildCounterDeleteGroupMetadata = 0; +api.DeleteGroupMetadata buildDeleteGroupMetadata() { + final o = api.DeleteGroupMetadata(); + buildCounterDeleteGroupMetadata++; + if (buildCounterDeleteGroupMetadata < 3) {} + buildCounterDeleteGroupMetadata--; + return o; +} + +void checkDeleteGroupMetadata(api.DeleteGroupMetadata o) { + buildCounterDeleteGroupMetadata++; + if (buildCounterDeleteGroupMetadata < 3) {} + buildCounterDeleteGroupMetadata--; +} + +core.int buildCounterDeleteMembershipMetadata = 0; +api.DeleteMembershipMetadata buildDeleteMembershipMetadata() { + final o = api.DeleteMembershipMetadata(); + buildCounterDeleteMembershipMetadata++; + if (buildCounterDeleteMembershipMetadata < 3) {} + buildCounterDeleteMembershipMetadata--; + return o; +} + +void checkDeleteMembershipMetadata(api.DeleteMembershipMetadata o) { + buildCounterDeleteMembershipMetadata++; + if (buildCounterDeleteMembershipMetadata < 3) {} + buildCounterDeleteMembershipMetadata--; +} + +core.List buildUnnamed1958() => [ buildDynamicGroupQuery(), buildDynamicGroupQuery(), ]; -void checkUnnamed1927(core.List o) { +void checkUnnamed1958(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicGroupQuery(o[0]); checkDynamicGroupQuery(o[1]); @@ -62,7 +122,7 @@ api.DynamicGroupMetadata buildDynamicGroupMetadata() { final o = api.DynamicGroupMetadata(); buildCounterDynamicGroupMetadata++; if (buildCounterDynamicGroupMetadata < 3) { - o.queries = buildUnnamed1927(); + o.queries = buildUnnamed1958(); o.status = buildDynamicGroupStatus(); } buildCounterDynamicGroupMetadata--; @@ -72,7 +132,7 @@ api.DynamicGroupMetadata buildDynamicGroupMetadata() { void checkDynamicGroupMetadata(api.DynamicGroupMetadata o) { buildCounterDynamicGroupMetadata++; if (buildCounterDynamicGroupMetadata < 3) { - checkUnnamed1927(o.queries!); + checkUnnamed1958(o.queries!); checkDynamicGroupStatus(o.status!); } buildCounterDynamicGroupMetadata--; @@ -181,23 +241,38 @@ void checkExpiryDetail(api.ExpiryDetail o) { buildCounterExpiryDetail--; } -core.List buildUnnamed1928() => [ +core.int buildCounterGetMembershipGraphMetadata = 0; +api.GetMembershipGraphMetadata buildGetMembershipGraphMetadata() { + final o = api.GetMembershipGraphMetadata(); + buildCounterGetMembershipGraphMetadata++; + if (buildCounterGetMembershipGraphMetadata < 3) {} + buildCounterGetMembershipGraphMetadata--; + return o; +} + +void checkGetMembershipGraphMetadata(api.GetMembershipGraphMetadata o) { + buildCounterGetMembershipGraphMetadata++; + if (buildCounterGetMembershipGraphMetadata < 3) {} + buildCounterGetMembershipGraphMetadata--; +} + +core.List buildUnnamed1959() => [ buildMembershipAdjacencyList(), buildMembershipAdjacencyList(), ]; -void checkUnnamed1928(core.List o) { +void checkUnnamed1959(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipAdjacencyList(o[0]); checkMembershipAdjacencyList(o[1]); } -core.List buildUnnamed1929() => [ +core.List buildUnnamed1960() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed1929(core.List o) { +void checkUnnamed1960(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -208,8 +283,8 @@ api.GetMembershipGraphResponse buildGetMembershipGraphResponse() { final o = api.GetMembershipGraphResponse(); buildCounterGetMembershipGraphResponse++; if (buildCounterGetMembershipGraphResponse < 3) { - o.adjacencyList = buildUnnamed1928(); - o.groups = buildUnnamed1929(); + o.adjacencyList = buildUnnamed1959(); + o.groups = buildUnnamed1960(); } buildCounterGetMembershipGraphResponse--; return o; @@ -218,8 +293,8 @@ api.GetMembershipGraphResponse buildGetMembershipGraphResponse() { void checkGetMembershipGraphResponse(api.GetMembershipGraphResponse o) { buildCounterGetMembershipGraphResponse++; if (buildCounterGetMembershipGraphResponse < 3) { - checkUnnamed1928(o.adjacencyList!); - checkUnnamed1929(o.groups!); + checkUnnamed1959(o.adjacencyList!); + checkUnnamed1960(o.groups!); } buildCounterGetMembershipGraphResponse--; } @@ -254,6 +329,26 @@ void checkGoogleAppsCloudidentityDevicesV1AndroidAttributes( buildCounterGoogleAppsCloudidentityDevicesV1AndroidAttributes--; } +core.int buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata + buildGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata( + api.GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest = 0; api.GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest @@ -305,6 +400,26 @@ void checkGoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse( buildCounterGoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse--; } +core.int buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata + buildGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata( + api.GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest = 0; api.GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest buildGoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest() { @@ -351,6 +466,26 @@ void checkGoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse( buildCounterGoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse--; } +core.int buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata + buildGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata( + api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest = 0; api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest @@ -400,6 +535,27 @@ void checkGoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse( buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse--; } +core.int + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata + buildGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata( + api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest = 0; api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest @@ -452,12 +608,12 @@ void checkGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse( buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse--; } -core.List buildUnnamed1930() => [ +core.List buildUnnamed1961() => [ 'foo', 'foo', ]; -void checkUnnamed1930(core.List o) { +void checkUnnamed1961(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -470,12 +626,12 @@ void checkUnnamed1930(core.List o) { } core.Map - buildUnnamed1931() => { + buildUnnamed1962() => { 'x': buildGoogleAppsCloudidentityDevicesV1CustomAttributeValue(), 'y': buildGoogleAppsCloudidentityDevicesV1CustomAttributeValue(), }; -void checkUnnamed1931( +void checkUnnamed1962( core.Map o) { @@ -490,13 +646,13 @@ api.GoogleAppsCloudidentityDevicesV1ClientState final o = api.GoogleAppsCloudidentityDevicesV1ClientState(); buildCounterGoogleAppsCloudidentityDevicesV1ClientState++; if (buildCounterGoogleAppsCloudidentityDevicesV1ClientState < 3) { - o.assetTags = buildUnnamed1930(); + o.assetTags = buildUnnamed1961(); o.complianceState = 'foo'; o.createTime = 'foo'; o.customId = 'foo'; o.etag = 'foo'; o.healthScore = 'foo'; - o.keyValuePairs = buildUnnamed1931(); + o.keyValuePairs = buildUnnamed1962(); o.lastUpdateTime = 'foo'; o.managed = 'foo'; o.name = 'foo'; @@ -511,7 +667,7 @@ void checkGoogleAppsCloudidentityDevicesV1ClientState( api.GoogleAppsCloudidentityDevicesV1ClientState o) { buildCounterGoogleAppsCloudidentityDevicesV1ClientState++; if (buildCounterGoogleAppsCloudidentityDevicesV1ClientState < 3) { - checkUnnamed1930(o.assetTags!); + checkUnnamed1961(o.assetTags!); unittest.expect( o.complianceState!, unittest.equals('foo'), @@ -532,7 +688,7 @@ void checkGoogleAppsCloudidentityDevicesV1ClientState( o.healthScore!, unittest.equals('foo'), ); - checkUnnamed1931(o.keyValuePairs!); + checkUnnamed1962(o.keyValuePairs!); unittest.expect( o.lastUpdateTime!, unittest.equals('foo'), @@ -557,6 +713,23 @@ void checkGoogleAppsCloudidentityDevicesV1ClientState( buildCounterGoogleAppsCloudidentityDevicesV1ClientState--; } +core.int buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata = 0; +api.GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata + buildGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata( + api.GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1CustomAttributeValue = 0; api.GoogleAppsCloudidentityDevicesV1CustomAttributeValue buildGoogleAppsCloudidentityDevicesV1CustomAttributeValue() { @@ -588,12 +761,49 @@ void checkGoogleAppsCloudidentityDevicesV1CustomAttributeValue( buildCounterGoogleAppsCloudidentityDevicesV1CustomAttributeValue--; } -core.List buildUnnamed1932() => [ +core.int buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata = 0; +api.GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata + buildGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata( + api.GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata--; +} + +core.int buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata + buildGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata( + api.GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata--; +} + +core.List buildUnnamed1963() => [ 'foo', 'foo', ]; -void checkUnnamed1932(core.List o) { +void checkUnnamed1963(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -605,12 +815,12 @@ void checkUnnamed1932(core.List o) { ); } -core.List buildUnnamed1933() => [ +core.List buildUnnamed1964() => [ 'foo', 'foo', ]; -void checkUnnamed1933(core.List o) { +void checkUnnamed1964(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -651,12 +861,12 @@ api.GoogleAppsCloudidentityDevicesV1Device o.name = 'foo'; o.networkOperator = 'foo'; o.osVersion = 'foo'; - o.otherAccounts = buildUnnamed1932(); + o.otherAccounts = buildUnnamed1963(); o.ownerType = 'foo'; o.releaseVersion = 'foo'; o.securityPatchTime = 'foo'; o.serialNumber = 'foo'; - o.wifiMacAddresses = buildUnnamed1933(); + o.wifiMacAddresses = buildUnnamed1964(); } buildCounterGoogleAppsCloudidentityDevicesV1Device--; return o; @@ -746,7 +956,7 @@ void checkGoogleAppsCloudidentityDevicesV1Device( o.osVersion!, unittest.equals('foo'), ); - checkUnnamed1932(o.otherAccounts!); + checkUnnamed1963(o.otherAccounts!); unittest.expect( o.ownerType!, unittest.equals('foo'), @@ -763,7 +973,7 @@ void checkGoogleAppsCloudidentityDevicesV1Device( o.serialNumber!, unittest.equals('foo'), ); - checkUnnamed1933(o.wifiMacAddresses!); + checkUnnamed1964(o.wifiMacAddresses!); } buildCounterGoogleAppsCloudidentityDevicesV1Device--; } @@ -837,13 +1047,13 @@ void checkGoogleAppsCloudidentityDevicesV1DeviceUser( buildCounterGoogleAppsCloudidentityDevicesV1DeviceUser--; } -core.List buildUnnamed1934() => +core.List buildUnnamed1965() => [ buildGoogleAppsCloudidentityDevicesV1ClientState(), buildGoogleAppsCloudidentityDevicesV1ClientState(), ]; -void checkUnnamed1934( +void checkUnnamed1965( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCloudidentityDevicesV1ClientState(o[0]); @@ -858,7 +1068,7 @@ api.GoogleAppsCloudidentityDevicesV1ListClientStatesResponse buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse++; if (buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse < 3) { - o.clientStates = buildUnnamed1934(); + o.clientStates = buildUnnamed1965(); o.nextPageToken = 'foo'; } buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse--; @@ -870,7 +1080,7 @@ void checkGoogleAppsCloudidentityDevicesV1ListClientStatesResponse( buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse++; if (buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse < 3) { - checkUnnamed1934(o.clientStates!); + checkUnnamed1965(o.clientStates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -879,13 +1089,13 @@ void checkGoogleAppsCloudidentityDevicesV1ListClientStatesResponse( buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse--; } -core.List buildUnnamed1935() => +core.List buildUnnamed1966() => [ buildGoogleAppsCloudidentityDevicesV1DeviceUser(), buildGoogleAppsCloudidentityDevicesV1DeviceUser(), ]; -void checkUnnamed1935( +void checkUnnamed1966( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCloudidentityDevicesV1DeviceUser(o[0]); @@ -899,7 +1109,7 @@ api.GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse final o = api.GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse(); buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse++; if (buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse < 3) { - o.deviceUsers = buildUnnamed1935(); + o.deviceUsers = buildUnnamed1966(); o.nextPageToken = 'foo'; } buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse--; @@ -910,7 +1120,7 @@ void checkGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse( api.GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse o) { buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse++; if (buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse < 3) { - checkUnnamed1935(o.deviceUsers!); + checkUnnamed1966(o.deviceUsers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -919,12 +1129,12 @@ void checkGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse( buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse--; } -core.List buildUnnamed1936() => [ +core.List buildUnnamed1967() => [ buildGoogleAppsCloudidentityDevicesV1Device(), buildGoogleAppsCloudidentityDevicesV1Device(), ]; -void checkUnnamed1936(core.List o) { +void checkUnnamed1967(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsCloudidentityDevicesV1Device(o[0]); checkGoogleAppsCloudidentityDevicesV1Device(o[1]); @@ -936,7 +1146,7 @@ api.GoogleAppsCloudidentityDevicesV1ListDevicesResponse final o = api.GoogleAppsCloudidentityDevicesV1ListDevicesResponse(); buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse++; if (buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse < 3) { - o.devices = buildUnnamed1936(); + o.devices = buildUnnamed1967(); o.nextPageToken = 'foo'; } buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse--; @@ -947,7 +1157,7 @@ void checkGoogleAppsCloudidentityDevicesV1ListDevicesResponse( api.GoogleAppsCloudidentityDevicesV1ListDevicesResponse o) { buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse++; if (buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse < 3) { - checkUnnamed1936(o.devices!); + checkUnnamed1967(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -956,12 +1166,32 @@ void checkGoogleAppsCloudidentityDevicesV1ListDevicesResponse( buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse--; } -core.List buildUnnamed1937() => [ +core.int buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata + buildGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata( + api.GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata--; +} + +core.List buildUnnamed1968() => [ 'foo', 'foo', ]; -void checkUnnamed1937(core.List o) { +void checkUnnamed1968(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -983,7 +1213,7 @@ api.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse if (buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse < 3) { o.customer = 'foo'; - o.names = buildUnnamed1937(); + o.names = buildUnnamed1968(); o.nextPageToken = 'foo'; } buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse--; @@ -999,7 +1229,7 @@ void checkGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse( o.customer!, unittest.equals('foo'), ); - checkUnnamed1937(o.names!); + checkUnnamed1968(o.names!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1008,6 +1238,80 @@ void checkGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse( buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse--; } +core.int buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata + buildGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata( + api.GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata--; +} + +core.int buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata = + 0; +api.GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata + buildGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata( + api.GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata < + 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata--; +} + +core.int buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata = 0; +api.GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata + buildGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata( + api.GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata--; +} + +core.int buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata = 0; +api.GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata + buildGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata( + api.GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceRequest = 0; api.GoogleAppsCloudidentityDevicesV1WipeDeviceRequest buildGoogleAppsCloudidentityDevicesV1WipeDeviceRequest() { @@ -1053,6 +1357,23 @@ void checkGoogleAppsCloudidentityDevicesV1WipeDeviceResponse( buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceResponse--; } +core.int buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata = 0; +api.GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata + buildGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata() { + final o = api.GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata(); + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata--; + return o; +} + +void checkGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata( + api.GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata o) { + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata++; + if (buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata < 3) {} + buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata--; +} + core.int buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest = 0; api.GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest buildGoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest() { @@ -1098,12 +1419,12 @@ void checkGoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse( buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse--; } -core.Map buildUnnamed1938() => { +core.Map buildUnnamed1969() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1938(core.Map o) { +void checkUnnamed1969(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1125,7 +1446,7 @@ api.Group buildGroup() { o.displayName = 'foo'; o.dynamicGroupMetadata = buildDynamicGroupMetadata(); o.groupKey = buildEntityKey(); - o.labels = buildUnnamed1938(); + o.labels = buildUnnamed1969(); o.name = 'foo'; o.parent = 'foo'; o.updateTime = 'foo'; @@ -1151,7 +1472,7 @@ void checkGroup(api.Group o) { ); checkDynamicGroupMetadata(o.dynamicGroupMetadata!); checkEntityKey(o.groupKey!); - checkUnnamed1938(o.labels!); + checkUnnamed1969(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1168,12 +1489,12 @@ void checkGroup(api.Group o) { buildCounterGroup--; } -core.Map buildUnnamed1939() => { +core.Map buildUnnamed1970() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1939(core.Map o) { +void checkUnnamed1970(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1185,12 +1506,12 @@ void checkUnnamed1939(core.Map o) { ); } -core.List buildUnnamed1940() => [ +core.List buildUnnamed1971() => [ buildTransitiveMembershipRole(), buildTransitiveMembershipRole(), ]; -void checkUnnamed1940(core.List o) { +void checkUnnamed1971(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransitiveMembershipRole(o[0]); checkTransitiveMembershipRole(o[1]); @@ -1204,9 +1525,9 @@ api.GroupRelation buildGroupRelation() { o.displayName = 'foo'; o.group = 'foo'; o.groupKey = buildEntityKey(); - o.labels = buildUnnamed1939(); + o.labels = buildUnnamed1970(); o.relationType = 'foo'; - o.roles = buildUnnamed1940(); + o.roles = buildUnnamed1971(); } buildCounterGroupRelation--; return o; @@ -1224,22 +1545,22 @@ void checkGroupRelation(api.GroupRelation o) { unittest.equals('foo'), ); checkEntityKey(o.groupKey!); - checkUnnamed1939(o.labels!); + checkUnnamed1970(o.labels!); unittest.expect( o.relationType!, unittest.equals('foo'), ); - checkUnnamed1940(o.roles!); + checkUnnamed1971(o.roles!); } buildCounterGroupRelation--; } -core.List buildUnnamed1941() => [ +core.List buildUnnamed1972() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed1941(core.List o) { +void checkUnnamed1972(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -1250,7 +1571,7 @@ api.ListGroupsResponse buildListGroupsResponse() { final o = api.ListGroupsResponse(); buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - o.groups = buildUnnamed1941(); + o.groups = buildUnnamed1972(); o.nextPageToken = 'foo'; } buildCounterListGroupsResponse--; @@ -1260,7 +1581,7 @@ api.ListGroupsResponse buildListGroupsResponse() { void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - checkUnnamed1941(o.groups!); + checkUnnamed1972(o.groups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1269,12 +1590,12 @@ void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse--; } -core.List buildUnnamed1942() => [ +core.List buildUnnamed1973() => [ buildMembership(), buildMembership(), ]; -void checkUnnamed1942(core.List o) { +void checkUnnamed1973(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembership(o[0]); checkMembership(o[1]); @@ -1285,7 +1606,7 @@ api.ListMembershipsResponse buildListMembershipsResponse() { final o = api.ListMembershipsResponse(); buildCounterListMembershipsResponse++; if (buildCounterListMembershipsResponse < 3) { - o.memberships = buildUnnamed1942(); + o.memberships = buildUnnamed1973(); o.nextPageToken = 'foo'; } buildCounterListMembershipsResponse--; @@ -1295,7 +1616,7 @@ api.ListMembershipsResponse buildListMembershipsResponse() { void checkListMembershipsResponse(api.ListMembershipsResponse o) { buildCounterListMembershipsResponse++; if (buildCounterListMembershipsResponse < 3) { - checkUnnamed1942(o.memberships!); + checkUnnamed1973(o.memberships!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1348,23 +1669,23 @@ void checkLookupMembershipNameResponse(api.LookupMembershipNameResponse o) { buildCounterLookupMembershipNameResponse--; } -core.List buildUnnamed1943() => [ +core.List buildUnnamed1974() => [ buildEntityKey(), buildEntityKey(), ]; -void checkUnnamed1943(core.List o) { +void checkUnnamed1974(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityKey(o[0]); checkEntityKey(o[1]); } -core.List buildUnnamed1944() => [ +core.List buildUnnamed1975() => [ buildTransitiveMembershipRole(), buildTransitiveMembershipRole(), ]; -void checkUnnamed1944(core.List o) { +void checkUnnamed1975(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransitiveMembershipRole(o[0]); checkTransitiveMembershipRole(o[1]); @@ -1376,9 +1697,9 @@ api.MemberRelation buildMemberRelation() { buildCounterMemberRelation++; if (buildCounterMemberRelation < 3) { o.member = 'foo'; - o.preferredMemberKey = buildUnnamed1943(); + o.preferredMemberKey = buildUnnamed1974(); o.relationType = 'foo'; - o.roles = buildUnnamed1944(); + o.roles = buildUnnamed1975(); } buildCounterMemberRelation--; return o; @@ -1391,22 +1712,22 @@ void checkMemberRelation(api.MemberRelation o) { o.member!, unittest.equals('foo'), ); - checkUnnamed1943(o.preferredMemberKey!); + checkUnnamed1974(o.preferredMemberKey!); unittest.expect( o.relationType!, unittest.equals('foo'), ); - checkUnnamed1944(o.roles!); + checkUnnamed1975(o.roles!); } buildCounterMemberRelation--; } -core.List buildUnnamed1945() => [ +core.List buildUnnamed1976() => [ buildMembershipRole(), buildMembershipRole(), ]; -void checkUnnamed1945(core.List o) { +void checkUnnamed1976(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipRole(o[0]); checkMembershipRole(o[1]); @@ -1420,7 +1741,7 @@ api.Membership buildMembership() { o.createTime = 'foo'; o.name = 'foo'; o.preferredMemberKey = buildEntityKey(); - o.roles = buildUnnamed1945(); + o.roles = buildUnnamed1976(); o.type = 'foo'; o.updateTime = 'foo'; } @@ -1440,7 +1761,7 @@ void checkMembership(api.Membership o) { unittest.equals('foo'), ); checkEntityKey(o.preferredMemberKey!); - checkUnnamed1945(o.roles!); + checkUnnamed1976(o.roles!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1453,12 +1774,12 @@ void checkMembership(api.Membership o) { buildCounterMembership--; } -core.List buildUnnamed1946() => [ +core.List buildUnnamed1977() => [ buildMembership(), buildMembership(), ]; -void checkUnnamed1946(core.List o) { +void checkUnnamed1977(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembership(o[0]); checkMembership(o[1]); @@ -1469,7 +1790,7 @@ api.MembershipAdjacencyList buildMembershipAdjacencyList() { final o = api.MembershipAdjacencyList(); buildCounterMembershipAdjacencyList++; if (buildCounterMembershipAdjacencyList < 3) { - o.edges = buildUnnamed1946(); + o.edges = buildUnnamed1977(); o.group = 'foo'; } buildCounterMembershipAdjacencyList--; @@ -1479,7 +1800,7 @@ api.MembershipAdjacencyList buildMembershipAdjacencyList() { void checkMembershipAdjacencyList(api.MembershipAdjacencyList o) { buildCounterMembershipAdjacencyList++; if (buildCounterMembershipAdjacencyList < 3) { - checkUnnamed1946(o.edges!); + checkUnnamed1977(o.edges!); unittest.expect( o.group!, unittest.equals('foo'), @@ -1512,23 +1833,23 @@ void checkMembershipRole(api.MembershipRole o) { buildCounterMembershipRole--; } -core.List buildUnnamed1947() => [ +core.List buildUnnamed1978() => [ buildMembershipRole(), buildMembershipRole(), ]; -void checkUnnamed1947(core.List o) { +void checkUnnamed1978(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipRole(o[0]); checkMembershipRole(o[1]); } -core.List buildUnnamed1948() => [ +core.List buildUnnamed1979() => [ 'foo', 'foo', ]; -void checkUnnamed1948(core.List o) { +void checkUnnamed1979(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1540,12 +1861,12 @@ void checkUnnamed1948(core.List o) { ); } -core.List buildUnnamed1949() => [ +core.List buildUnnamed1980() => [ buildUpdateMembershipRolesParams(), buildUpdateMembershipRolesParams(), ]; -void checkUnnamed1949(core.List o) { +void checkUnnamed1980(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpdateMembershipRolesParams(o[0]); checkUpdateMembershipRolesParams(o[1]); @@ -1556,9 +1877,9 @@ api.ModifyMembershipRolesRequest buildModifyMembershipRolesRequest() { final o = api.ModifyMembershipRolesRequest(); buildCounterModifyMembershipRolesRequest++; if (buildCounterModifyMembershipRolesRequest < 3) { - o.addRoles = buildUnnamed1947(); - o.removeRoles = buildUnnamed1948(); - o.updateRolesParams = buildUnnamed1949(); + o.addRoles = buildUnnamed1978(); + o.removeRoles = buildUnnamed1979(); + o.updateRolesParams = buildUnnamed1980(); } buildCounterModifyMembershipRolesRequest--; return o; @@ -1567,9 +1888,9 @@ api.ModifyMembershipRolesRequest buildModifyMembershipRolesRequest() { void checkModifyMembershipRolesRequest(api.ModifyMembershipRolesRequest o) { buildCounterModifyMembershipRolesRequest++; if (buildCounterModifyMembershipRolesRequest < 3) { - checkUnnamed1947(o.addRoles!); - checkUnnamed1948(o.removeRoles!); - checkUnnamed1949(o.updateRolesParams!); + checkUnnamed1978(o.addRoles!); + checkUnnamed1979(o.removeRoles!); + checkUnnamed1980(o.updateRolesParams!); } buildCounterModifyMembershipRolesRequest--; } @@ -1593,7 +1914,7 @@ void checkModifyMembershipRolesResponse(api.ModifyMembershipRolesResponse o) { buildCounterModifyMembershipRolesResponse--; } -core.Map buildUnnamed1950() => { +core.Map buildUnnamed1981() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1606,7 +1927,7 @@ core.Map buildUnnamed1950() => { }, }; -void checkUnnamed1950(core.Map o) { +void checkUnnamed1981(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1638,7 +1959,7 @@ void checkUnnamed1950(core.Map o) { ); } -core.Map buildUnnamed1951() => { +core.Map buildUnnamed1982() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1651,7 +1972,7 @@ core.Map buildUnnamed1951() => { }, }; -void checkUnnamed1951(core.Map o) { +void checkUnnamed1982(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1690,9 +2011,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1950(); + o.metadata = buildUnnamed1981(); o.name = 'foo'; - o.response = buildUnnamed1951(); + o.response = buildUnnamed1982(); } buildCounterOperation--; return o; @@ -1703,22 +2024,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1950(o.metadata!); + checkUnnamed1981(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1951(o.response!); + checkUnnamed1982(o.response!); } buildCounterOperation--; } -core.List buildUnnamed1952() => [ +core.List buildUnnamed1983() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed1952(core.List o) { +void checkUnnamed1983(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -1729,7 +2050,7 @@ api.SearchGroupsResponse buildSearchGroupsResponse() { final o = api.SearchGroupsResponse(); buildCounterSearchGroupsResponse++; if (buildCounterSearchGroupsResponse < 3) { - o.groups = buildUnnamed1952(); + o.groups = buildUnnamed1983(); o.nextPageToken = 'foo'; } buildCounterSearchGroupsResponse--; @@ -1739,7 +2060,7 @@ api.SearchGroupsResponse buildSearchGroupsResponse() { void checkSearchGroupsResponse(api.SearchGroupsResponse o) { buildCounterSearchGroupsResponse++; if (buildCounterSearchGroupsResponse < 3) { - checkUnnamed1952(o.groups!); + checkUnnamed1983(o.groups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1748,12 +2069,12 @@ void checkSearchGroupsResponse(api.SearchGroupsResponse o) { buildCounterSearchGroupsResponse--; } -core.List buildUnnamed1953() => [ +core.List buildUnnamed1984() => [ buildGroupRelation(), buildGroupRelation(), ]; -void checkUnnamed1953(core.List o) { +void checkUnnamed1984(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupRelation(o[0]); checkGroupRelation(o[1]); @@ -1764,7 +2085,7 @@ api.SearchTransitiveGroupsResponse buildSearchTransitiveGroupsResponse() { final o = api.SearchTransitiveGroupsResponse(); buildCounterSearchTransitiveGroupsResponse++; if (buildCounterSearchTransitiveGroupsResponse < 3) { - o.memberships = buildUnnamed1953(); + o.memberships = buildUnnamed1984(); o.nextPageToken = 'foo'; } buildCounterSearchTransitiveGroupsResponse--; @@ -1774,7 +2095,7 @@ api.SearchTransitiveGroupsResponse buildSearchTransitiveGroupsResponse() { void checkSearchTransitiveGroupsResponse(api.SearchTransitiveGroupsResponse o) { buildCounterSearchTransitiveGroupsResponse++; if (buildCounterSearchTransitiveGroupsResponse < 3) { - checkUnnamed1953(o.memberships!); + checkUnnamed1984(o.memberships!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1783,12 +2104,12 @@ void checkSearchTransitiveGroupsResponse(api.SearchTransitiveGroupsResponse o) { buildCounterSearchTransitiveGroupsResponse--; } -core.List buildUnnamed1954() => [ +core.List buildUnnamed1985() => [ buildMemberRelation(), buildMemberRelation(), ]; -void checkUnnamed1954(core.List o) { +void checkUnnamed1985(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMemberRelation(o[0]); checkMemberRelation(o[1]); @@ -1800,7 +2121,7 @@ api.SearchTransitiveMembershipsResponse final o = api.SearchTransitiveMembershipsResponse(); buildCounterSearchTransitiveMembershipsResponse++; if (buildCounterSearchTransitiveMembershipsResponse < 3) { - o.memberships = buildUnnamed1954(); + o.memberships = buildUnnamed1985(); o.nextPageToken = 'foo'; } buildCounterSearchTransitiveMembershipsResponse--; @@ -1811,7 +2132,7 @@ void checkSearchTransitiveMembershipsResponse( api.SearchTransitiveMembershipsResponse o) { buildCounterSearchTransitiveMembershipsResponse++; if (buildCounterSearchTransitiveMembershipsResponse < 3) { - checkUnnamed1954(o.memberships!); + checkUnnamed1985(o.memberships!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1820,7 +2141,7 @@ void checkSearchTransitiveMembershipsResponse( buildCounterSearchTransitiveMembershipsResponse--; } -core.Map buildUnnamed1955() => { +core.Map buildUnnamed1986() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1833,7 +2154,7 @@ core.Map buildUnnamed1955() => { }, }; -void checkUnnamed1955(core.Map o) { +void checkUnnamed1986(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1865,15 +2186,15 @@ void checkUnnamed1955(core.Map o) { ); } -core.List> buildUnnamed1956() => [ - buildUnnamed1955(), - buildUnnamed1955(), +core.List> buildUnnamed1987() => [ + buildUnnamed1986(), + buildUnnamed1986(), ]; -void checkUnnamed1956(core.List> o) { +void checkUnnamed1987(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1955(o[0]); - checkUnnamed1955(o[1]); + checkUnnamed1986(o[0]); + checkUnnamed1986(o[1]); } core.int buildCounterStatus = 0; @@ -1882,7 +2203,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1956(); + o.details = buildUnnamed1987(); o.message = 'foo'; } buildCounterStatus--; @@ -1896,7 +2217,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1956(o.details!); + checkUnnamed1987(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1927,6 +2248,36 @@ void checkTransitiveMembershipRole(api.TransitiveMembershipRole o) { buildCounterTransitiveMembershipRole--; } +core.int buildCounterUpdateGroupMetadata = 0; +api.UpdateGroupMetadata buildUpdateGroupMetadata() { + final o = api.UpdateGroupMetadata(); + buildCounterUpdateGroupMetadata++; + if (buildCounterUpdateGroupMetadata < 3) {} + buildCounterUpdateGroupMetadata--; + return o; +} + +void checkUpdateGroupMetadata(api.UpdateGroupMetadata o) { + buildCounterUpdateGroupMetadata++; + if (buildCounterUpdateGroupMetadata < 3) {} + buildCounterUpdateGroupMetadata--; +} + +core.int buildCounterUpdateMembershipMetadata = 0; +api.UpdateMembershipMetadata buildUpdateMembershipMetadata() { + final o = api.UpdateMembershipMetadata(); + buildCounterUpdateMembershipMetadata++; + if (buildCounterUpdateMembershipMetadata < 3) {} + buildCounterUpdateMembershipMetadata--; + return o; +} + +void checkUpdateMembershipMetadata(api.UpdateMembershipMetadata o) { + buildCounterUpdateMembershipMetadata++; + if (buildCounterUpdateMembershipMetadata < 3) {} + buildCounterUpdateMembershipMetadata--; +} + core.int buildCounterUpdateMembershipRolesParams = 0; api.UpdateMembershipRolesParams buildUpdateMembershipRolesParams() { final o = api.UpdateMembershipRolesParams(); @@ -1999,6 +2350,46 @@ void main() { }); }); + unittest.group('obj-schema-CreateGroupMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildCreateGroupMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CreateGroupMetadata.fromJson( + oJson as core.Map); + checkCreateGroupMetadata(od); + }); + }); + + unittest.group('obj-schema-CreateMembershipMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildCreateMembershipMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CreateMembershipMetadata.fromJson( + oJson as core.Map); + checkCreateMembershipMetadata(od); + }); + }); + + unittest.group('obj-schema-DeleteGroupMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildDeleteGroupMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DeleteGroupMetadata.fromJson( + oJson as core.Map); + checkDeleteGroupMetadata(od); + }); + }); + + unittest.group('obj-schema-DeleteMembershipMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildDeleteMembershipMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DeleteMembershipMetadata.fromJson( + oJson as core.Map); + checkDeleteMembershipMetadata(od); + }); + }); + unittest.group('obj-schema-DynamicGroupMetadata', () { unittest.test('to-json--from-json', () async { final o = buildDynamicGroupMetadata(); @@ -2049,6 +2440,16 @@ void main() { }); }); + unittest.group('obj-schema-GetMembershipGraphMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGetMembershipGraphMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GetMembershipGraphMetadata.fromJson( + oJson as core.Map); + checkGetMembershipGraphMetadata(od); + }); + }); + unittest.group('obj-schema-GetMembershipGraphResponse', () { unittest.test('to-json--from-json', () async { final o = buildGetMembershipGraphResponse(); @@ -2070,6 +2471,19 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata + .fromJson(oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest', () { @@ -2096,6 +2510,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest', () { unittest.test('to-json--from-json', () async { @@ -2120,6 +2546,19 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest', () { unittest.test('to-json--from-json', () async { @@ -2145,6 +2584,20 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata + .fromJson(oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest', () { @@ -2182,6 +2635,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1CreateDeviceMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1CustomAttributeValue', () { unittest.test('to-json--from-json', () async { @@ -2194,6 +2659,31 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata(od); + }); + }); + unittest.group('obj-schema-GoogleAppsCloudidentityDevicesV1Device', () { unittest.test('to-json--from-json', () async { final o = buildGoogleAppsCloudidentityDevicesV1Device(); @@ -2251,6 +2741,19 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse', () { @@ -2265,6 +2768,56 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata + .fromJson(oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata + .fromJson(oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1WipeDeviceMetadata(od); + }); + }); + unittest.group('obj-schema-GoogleAppsCloudidentityDevicesV1WipeDeviceRequest', () { unittest.test('to-json--from-json', () async { @@ -2288,6 +2841,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata.fromJson( + oJson as core.Map); + checkGoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest', () { unittest.test('to-json--from-json', () async { @@ -2492,6 +3057,26 @@ void main() { }); }); + unittest.group('obj-schema-UpdateGroupMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildUpdateGroupMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.UpdateGroupMetadata.fromJson( + oJson as core.Map); + checkUpdateGroupMetadata(od); + }); + }); + + unittest.group('obj-schema-UpdateMembershipMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildUpdateMembershipMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.UpdateMembershipMetadata.fromJson( + oJson as core.Map); + checkUpdateMembershipMetadata(od); + }); + }); + unittest.group('obj-schema-UpdateMembershipRolesParams', () { unittest.test('to-json--from-json', () async { final o = buildUpdateMembershipRolesParams(); diff --git a/generated/googleapis/test/cloudiot/v1_test.dart b/generated/googleapis/test/cloudiot/v1_test.dart index b5bf67e7d..b65b85ef3 100644 --- a/generated/googleapis/test/cloudiot/v1_test.dart +++ b/generated/googleapis/test/cloudiot/v1_test.dart @@ -68,12 +68,12 @@ void checkBindDeviceToGatewayResponse(api.BindDeviceToGatewayResponse o) { buildCounterBindDeviceToGatewayResponse--; } -core.List buildUnnamed3273() => [ +core.List buildUnnamed3170() => [ 'foo', 'foo', ]; -void checkUnnamed3273(core.List o) { +void checkUnnamed3170(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -91,7 +91,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3273(); + o.members = buildUnnamed3170(); o.role = 'foo'; } buildCounterBinding--; @@ -102,7 +102,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3273(o.members!); + checkUnnamed3170(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -111,23 +111,23 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } -core.List buildUnnamed3274() => [ +core.List buildUnnamed3171() => [ buildDeviceCredential(), buildDeviceCredential(), ]; -void checkUnnamed3274(core.List o) { +void checkUnnamed3171(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceCredential(o[0]); checkDeviceCredential(o[1]); } -core.Map buildUnnamed3275() => { +core.Map buildUnnamed3172() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3275(core.Map o) { +void checkUnnamed3172(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -146,7 +146,7 @@ api.Device buildDevice() { if (buildCounterDevice < 3) { o.blocked = true; o.config = buildDeviceConfig(); - o.credentials = buildUnnamed3274(); + o.credentials = buildUnnamed3171(); o.gatewayConfig = buildGatewayConfig(); o.id = 'foo'; o.lastConfigAckTime = 'foo'; @@ -157,7 +157,7 @@ api.Device buildDevice() { o.lastHeartbeatTime = 'foo'; o.lastStateTime = 'foo'; o.logLevel = 'foo'; - o.metadata = buildUnnamed3275(); + o.metadata = buildUnnamed3172(); o.name = 'foo'; o.numId = 'foo'; o.state = buildDeviceState(); @@ -171,7 +171,7 @@ void checkDevice(api.Device o) { if (buildCounterDevice < 3) { unittest.expect(o.blocked!, unittest.isTrue); checkDeviceConfig(o.config!); - checkUnnamed3274(o.credentials!); + checkUnnamed3171(o.credentials!); checkGatewayConfig(o.gatewayConfig!); unittest.expect( o.id!, @@ -206,7 +206,7 @@ void checkDevice(api.Device o) { o.logLevel!, unittest.equals('foo'), ); - checkUnnamed3275(o.metadata!); + checkUnnamed3172(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -281,23 +281,23 @@ void checkDeviceCredential(api.DeviceCredential o) { buildCounterDeviceCredential--; } -core.List buildUnnamed3276() => [ +core.List buildUnnamed3173() => [ buildRegistryCredential(), buildRegistryCredential(), ]; -void checkUnnamed3276(core.List o) { +void checkUnnamed3173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegistryCredential(o[0]); checkRegistryCredential(o[1]); } -core.List buildUnnamed3277() => [ +core.List buildUnnamed3174() => [ buildEventNotificationConfig(), buildEventNotificationConfig(), ]; -void checkUnnamed3277(core.List o) { +void checkUnnamed3174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventNotificationConfig(o[0]); checkEventNotificationConfig(o[1]); @@ -308,8 +308,8 @@ api.DeviceRegistry buildDeviceRegistry() { final o = api.DeviceRegistry(); buildCounterDeviceRegistry++; if (buildCounterDeviceRegistry < 3) { - o.credentials = buildUnnamed3276(); - o.eventNotificationConfigs = buildUnnamed3277(); + o.credentials = buildUnnamed3173(); + o.eventNotificationConfigs = buildUnnamed3174(); o.httpConfig = buildHttpConfig(); o.id = 'foo'; o.logLevel = 'foo'; @@ -324,8 +324,8 @@ api.DeviceRegistry buildDeviceRegistry() { void checkDeviceRegistry(api.DeviceRegistry o) { buildCounterDeviceRegistry++; if (buildCounterDeviceRegistry < 3) { - checkUnnamed3276(o.credentials!); - checkUnnamed3277(o.eventNotificationConfigs!); + checkUnnamed3173(o.credentials!); + checkUnnamed3174(o.eventNotificationConfigs!); checkHttpConfig(o.httpConfig!); unittest.expect( o.id!, @@ -551,12 +551,12 @@ void checkHttpConfig(api.HttpConfig o) { buildCounterHttpConfig--; } -core.List buildUnnamed3278() => [ +core.List buildUnnamed3175() => [ buildDeviceConfig(), buildDeviceConfig(), ]; -void checkUnnamed3278(core.List o) { +void checkUnnamed3175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceConfig(o[0]); checkDeviceConfig(o[1]); @@ -567,7 +567,7 @@ api.ListDeviceConfigVersionsResponse buildListDeviceConfigVersionsResponse() { final o = api.ListDeviceConfigVersionsResponse(); buildCounterListDeviceConfigVersionsResponse++; if (buildCounterListDeviceConfigVersionsResponse < 3) { - o.deviceConfigs = buildUnnamed3278(); + o.deviceConfigs = buildUnnamed3175(); } buildCounterListDeviceConfigVersionsResponse--; return o; @@ -577,17 +577,17 @@ void checkListDeviceConfigVersionsResponse( api.ListDeviceConfigVersionsResponse o) { buildCounterListDeviceConfigVersionsResponse++; if (buildCounterListDeviceConfigVersionsResponse < 3) { - checkUnnamed3278(o.deviceConfigs!); + checkUnnamed3175(o.deviceConfigs!); } buildCounterListDeviceConfigVersionsResponse--; } -core.List buildUnnamed3279() => [ +core.List buildUnnamed3176() => [ buildDeviceRegistry(), buildDeviceRegistry(), ]; -void checkUnnamed3279(core.List o) { +void checkUnnamed3176(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceRegistry(o[0]); checkDeviceRegistry(o[1]); @@ -598,7 +598,7 @@ api.ListDeviceRegistriesResponse buildListDeviceRegistriesResponse() { final o = api.ListDeviceRegistriesResponse(); buildCounterListDeviceRegistriesResponse++; if (buildCounterListDeviceRegistriesResponse < 3) { - o.deviceRegistries = buildUnnamed3279(); + o.deviceRegistries = buildUnnamed3176(); o.nextPageToken = 'foo'; } buildCounterListDeviceRegistriesResponse--; @@ -608,7 +608,7 @@ api.ListDeviceRegistriesResponse buildListDeviceRegistriesResponse() { void checkListDeviceRegistriesResponse(api.ListDeviceRegistriesResponse o) { buildCounterListDeviceRegistriesResponse++; if (buildCounterListDeviceRegistriesResponse < 3) { - checkUnnamed3279(o.deviceRegistries!); + checkUnnamed3176(o.deviceRegistries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -617,12 +617,12 @@ void checkListDeviceRegistriesResponse(api.ListDeviceRegistriesResponse o) { buildCounterListDeviceRegistriesResponse--; } -core.List buildUnnamed3280() => [ +core.List buildUnnamed3177() => [ buildDeviceState(), buildDeviceState(), ]; -void checkUnnamed3280(core.List o) { +void checkUnnamed3177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceState(o[0]); checkDeviceState(o[1]); @@ -633,7 +633,7 @@ api.ListDeviceStatesResponse buildListDeviceStatesResponse() { final o = api.ListDeviceStatesResponse(); buildCounterListDeviceStatesResponse++; if (buildCounterListDeviceStatesResponse < 3) { - o.deviceStates = buildUnnamed3280(); + o.deviceStates = buildUnnamed3177(); } buildCounterListDeviceStatesResponse--; return o; @@ -642,17 +642,17 @@ api.ListDeviceStatesResponse buildListDeviceStatesResponse() { void checkListDeviceStatesResponse(api.ListDeviceStatesResponse o) { buildCounterListDeviceStatesResponse++; if (buildCounterListDeviceStatesResponse < 3) { - checkUnnamed3280(o.deviceStates!); + checkUnnamed3177(o.deviceStates!); } buildCounterListDeviceStatesResponse--; } -core.List buildUnnamed3281() => [ +core.List buildUnnamed3178() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed3281(core.List o) { +void checkUnnamed3178(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -663,7 +663,7 @@ api.ListDevicesResponse buildListDevicesResponse() { final o = api.ListDevicesResponse(); buildCounterListDevicesResponse++; if (buildCounterListDevicesResponse < 3) { - o.devices = buildUnnamed3281(); + o.devices = buildUnnamed3178(); o.nextPageToken = 'foo'; } buildCounterListDevicesResponse--; @@ -673,7 +673,7 @@ api.ListDevicesResponse buildListDevicesResponse() { void checkListDevicesResponse(api.ListDevicesResponse o) { buildCounterListDevicesResponse++; if (buildCounterListDevicesResponse < 3) { - checkUnnamed3281(o.devices!); + checkUnnamed3178(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -732,12 +732,12 @@ void checkMqttConfig(api.MqttConfig o) { buildCounterMqttConfig--; } -core.List buildUnnamed3282() => [ +core.List buildUnnamed3179() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3282(core.List o) { +void checkUnnamed3179(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -748,7 +748,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed3282(); + o.bindings = buildUnnamed3179(); o.etag = 'foo'; o.version = 42; } @@ -759,7 +759,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3282(o.bindings!); + checkUnnamed3179(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -930,7 +930,7 @@ void checkStateNotificationConfig(api.StateNotificationConfig o) { buildCounterStateNotificationConfig--; } -core.Map buildUnnamed3283() => { +core.Map buildUnnamed3180() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -943,7 +943,7 @@ core.Map buildUnnamed3283() => { }, }; -void checkUnnamed3283(core.Map o) { +void checkUnnamed3180(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -975,15 +975,15 @@ void checkUnnamed3283(core.Map o) { ); } -core.List> buildUnnamed3284() => [ - buildUnnamed3283(), - buildUnnamed3283(), +core.List> buildUnnamed3181() => [ + buildUnnamed3180(), + buildUnnamed3180(), ]; -void checkUnnamed3284(core.List> o) { +void checkUnnamed3181(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3283(o[0]); - checkUnnamed3283(o[1]); + checkUnnamed3180(o[0]); + checkUnnamed3180(o[1]); } core.int buildCounterStatus = 0; @@ -992,7 +992,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3284(); + o.details = buildUnnamed3181(); o.message = 'foo'; } buildCounterStatus--; @@ -1006,7 +1006,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3284(o.details!); + checkUnnamed3181(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1015,12 +1015,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed3285() => [ +core.List buildUnnamed3182() => [ 'foo', 'foo', ]; -void checkUnnamed3285(core.List o) { +void checkUnnamed3182(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1037,7 +1037,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3285(); + o.permissions = buildUnnamed3182(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1046,17 +1046,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3285(o.permissions!); + checkUnnamed3182(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3286() => [ +core.List buildUnnamed3183() => [ 'foo', 'foo', ]; -void checkUnnamed3286(core.List o) { +void checkUnnamed3183(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1073,7 +1073,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3286(); + o.permissions = buildUnnamed3183(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1082,7 +1082,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3286(o.permissions!); + checkUnnamed3183(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1177,12 +1177,12 @@ void checkX509CertificateDetails(api.X509CertificateDetails o) { buildCounterX509CertificateDetails--; } -core.List buildUnnamed3287() => [ +core.List buildUnnamed3184() => [ 'foo', 'foo', ]; -void checkUnnamed3287(core.List o) { +void checkUnnamed3184(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1194,12 +1194,12 @@ void checkUnnamed3287(core.List o) { ); } -core.List buildUnnamed3288() => [ +core.List buildUnnamed3185() => [ 'foo', 'foo', ]; -void checkUnnamed3288(core.List o) { +void checkUnnamed3185(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1211,12 +1211,12 @@ void checkUnnamed3288(core.List o) { ); } -core.List buildUnnamed3289() => [ +core.List buildUnnamed3186() => [ 'foo', 'foo', ]; -void checkUnnamed3289(core.List o) { +void checkUnnamed3186(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1228,12 +1228,12 @@ void checkUnnamed3289(core.List o) { ); } -core.List buildUnnamed3290() => [ +core.List buildUnnamed3187() => [ 'foo', 'foo', ]; -void checkUnnamed3290(core.List o) { +void checkUnnamed3187(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2357,8 +2357,8 @@ void main() { final mock = HttpServerMock(); final res = api.CloudIotApi(mock).projects.locations.registries.devices; final arg_parent = 'foo'; - final arg_deviceIds = buildUnnamed3287(); - final arg_deviceNumIds = buildUnnamed3288(); + final arg_deviceIds = buildUnnamed3184(); + final arg_deviceNumIds = buildUnnamed3185(); final arg_fieldMask = 'foo'; final arg_gatewayListOptions_associationsDeviceId = 'foo'; final arg_gatewayListOptions_associationsGatewayId = 'foo'; @@ -2952,8 +2952,8 @@ void main() { final res = api.CloudIotApi(mock).projects.locations.registries.groups.devices; final arg_parent = 'foo'; - final arg_deviceIds = buildUnnamed3289(); - final arg_deviceNumIds = buildUnnamed3290(); + final arg_deviceIds = buildUnnamed3186(); + final arg_deviceNumIds = buildUnnamed3187(); final arg_fieldMask = 'foo'; final arg_gatewayListOptions_associationsDeviceId = 'foo'; final arg_gatewayListOptions_associationsGatewayId = 'foo'; diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart index 2b4d4acda..44711362b 100644 --- a/generated/googleapis/test/cloudkms/v1_test.dart +++ b/generated/googleapis/test/cloudkms/v1_test.dart @@ -150,12 +150,12 @@ void checkAsymmetricSignResponse(api.AsymmetricSignResponse o) { buildCounterAsymmetricSignResponse--; } -core.List buildUnnamed6119() => [ +core.List buildUnnamed6186() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed6119(core.List o) { +void checkUnnamed6186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -166,7 +166,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed6119(); + o.auditLogConfigs = buildUnnamed6186(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -176,7 +176,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed6119(o.auditLogConfigs!); + checkUnnamed6186(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -185,12 +185,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed6120() => [ +core.List buildUnnamed6187() => [ 'foo', 'foo', ]; -void checkUnnamed6120(core.List o) { +void checkUnnamed6187(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -207,7 +207,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed6120(); + o.exemptedMembers = buildUnnamed6187(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -217,7 +217,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed6120(o.exemptedMembers!); + checkUnnamed6187(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -226,12 +226,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed6121() => [ +core.List buildUnnamed6188() => [ 'foo', 'foo', ]; -void checkUnnamed6121(core.List o) { +void checkUnnamed6188(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -249,7 +249,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed6121(); + o.members = buildUnnamed6188(); o.role = 'foo'; } buildCounterBinding--; @@ -260,7 +260,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed6121(o.members!); + checkUnnamed6188(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -269,12 +269,12 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } -core.List buildUnnamed6122() => [ +core.List buildUnnamed6189() => [ 'foo', 'foo', ]; -void checkUnnamed6122(core.List o) { +void checkUnnamed6189(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -286,12 +286,12 @@ void checkUnnamed6122(core.List o) { ); } -core.List buildUnnamed6123() => [ +core.List buildUnnamed6190() => [ 'foo', 'foo', ]; -void checkUnnamed6123(core.List o) { +void checkUnnamed6190(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -303,12 +303,12 @@ void checkUnnamed6123(core.List o) { ); } -core.List buildUnnamed6124() => [ +core.List buildUnnamed6191() => [ 'foo', 'foo', ]; -void checkUnnamed6124(core.List o) { +void checkUnnamed6191(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -325,9 +325,9 @@ api.CertificateChains buildCertificateChains() { final o = api.CertificateChains(); buildCounterCertificateChains++; if (buildCounterCertificateChains < 3) { - o.caviumCerts = buildUnnamed6122(); - o.googleCardCerts = buildUnnamed6123(); - o.googlePartitionCerts = buildUnnamed6124(); + o.caviumCerts = buildUnnamed6189(); + o.googleCardCerts = buildUnnamed6190(); + o.googlePartitionCerts = buildUnnamed6191(); } buildCounterCertificateChains--; return o; @@ -336,19 +336,19 @@ api.CertificateChains buildCertificateChains() { void checkCertificateChains(api.CertificateChains o) { buildCounterCertificateChains++; if (buildCounterCertificateChains < 3) { - checkUnnamed6122(o.caviumCerts!); - checkUnnamed6123(o.googleCardCerts!); - checkUnnamed6124(o.googlePartitionCerts!); + checkUnnamed6189(o.caviumCerts!); + checkUnnamed6190(o.googleCardCerts!); + checkUnnamed6191(o.googlePartitionCerts!); } buildCounterCertificateChains--; } -core.Map buildUnnamed6125() => { +core.Map buildUnnamed6192() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6125(core.Map o) { +void checkUnnamed6192(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -366,7 +366,9 @@ api.CryptoKey buildCryptoKey() { buildCounterCryptoKey++; if (buildCounterCryptoKey < 3) { o.createTime = 'foo'; - o.labels = buildUnnamed6125(); + o.destroyScheduledDuration = 'foo'; + o.importOnly = true; + o.labels = buildUnnamed6192(); o.name = 'foo'; o.nextRotationTime = 'foo'; o.primary = buildCryptoKeyVersion(); @@ -385,7 +387,12 @@ void checkCryptoKey(api.CryptoKey o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed6125(o.labels!); + unittest.expect( + o.destroyScheduledDuration!, + unittest.equals('foo'), + ); + unittest.expect(o.importOnly!, unittest.isTrue); + checkUnnamed6192(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -425,6 +432,7 @@ api.CryptoKeyVersion buildCryptoKeyVersion() { o.importTime = 'foo'; o.name = 'foo'; o.protectionLevel = 'foo'; + o.reimportEligible = true; o.state = 'foo'; } buildCounterCryptoKeyVersion--; @@ -476,6 +484,7 @@ void checkCryptoKeyVersion(api.CryptoKeyVersion o) { o.protectionLevel!, unittest.equals('foo'), ); + unittest.expect(o.reimportEligible!, unittest.isTrue); unittest.expect( o.state!, unittest.equals('foo'), @@ -767,12 +776,67 @@ void checkExternalProtectionLevelOptions(api.ExternalProtectionLevelOptions o) { buildCounterExternalProtectionLevelOptions--; } +core.int buildCounterGenerateRandomBytesRequest = 0; +api.GenerateRandomBytesRequest buildGenerateRandomBytesRequest() { + final o = api.GenerateRandomBytesRequest(); + buildCounterGenerateRandomBytesRequest++; + if (buildCounterGenerateRandomBytesRequest < 3) { + o.lengthBytes = 42; + o.protectionLevel = 'foo'; + } + buildCounterGenerateRandomBytesRequest--; + return o; +} + +void checkGenerateRandomBytesRequest(api.GenerateRandomBytesRequest o) { + buildCounterGenerateRandomBytesRequest++; + if (buildCounterGenerateRandomBytesRequest < 3) { + unittest.expect( + o.lengthBytes!, + unittest.equals(42), + ); + unittest.expect( + o.protectionLevel!, + unittest.equals('foo'), + ); + } + buildCounterGenerateRandomBytesRequest--; +} + +core.int buildCounterGenerateRandomBytesResponse = 0; +api.GenerateRandomBytesResponse buildGenerateRandomBytesResponse() { + final o = api.GenerateRandomBytesResponse(); + buildCounterGenerateRandomBytesResponse++; + if (buildCounterGenerateRandomBytesResponse < 3) { + o.data = 'foo'; + o.dataCrc32c = 'foo'; + } + buildCounterGenerateRandomBytesResponse--; + return o; +} + +void checkGenerateRandomBytesResponse(api.GenerateRandomBytesResponse o) { + buildCounterGenerateRandomBytesResponse++; + if (buildCounterGenerateRandomBytesResponse < 3) { + unittest.expect( + o.data!, + unittest.equals('foo'), + ); + unittest.expect( + o.dataCrc32c!, + unittest.equals('foo'), + ); + } + buildCounterGenerateRandomBytesResponse--; +} + core.int buildCounterImportCryptoKeyVersionRequest = 0; api.ImportCryptoKeyVersionRequest buildImportCryptoKeyVersionRequest() { final o = api.ImportCryptoKeyVersionRequest(); buildCounterImportCryptoKeyVersionRequest++; if (buildCounterImportCryptoKeyVersionRequest < 3) { o.algorithm = 'foo'; + o.cryptoKeyVersion = 'foo'; o.importJob = 'foo'; o.rsaAesWrappedKey = 'foo'; } @@ -787,6 +851,10 @@ void checkImportCryptoKeyVersionRequest(api.ImportCryptoKeyVersionRequest o) { o.algorithm!, unittest.equals('foo'), ); + unittest.expect( + o.cryptoKeyVersion!, + unittest.equals('foo'), + ); unittest.expect( o.importJob!, unittest.equals('foo'), @@ -916,12 +984,12 @@ void checkKeyRing(api.KeyRing o) { buildCounterKeyRing--; } -core.List buildUnnamed6126() => [ +core.List buildUnnamed6193() => [ buildCryptoKeyVersion(), buildCryptoKeyVersion(), ]; -void checkUnnamed6126(core.List o) { +void checkUnnamed6193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCryptoKeyVersion(o[0]); checkCryptoKeyVersion(o[1]); @@ -932,7 +1000,7 @@ api.ListCryptoKeyVersionsResponse buildListCryptoKeyVersionsResponse() { final o = api.ListCryptoKeyVersionsResponse(); buildCounterListCryptoKeyVersionsResponse++; if (buildCounterListCryptoKeyVersionsResponse < 3) { - o.cryptoKeyVersions = buildUnnamed6126(); + o.cryptoKeyVersions = buildUnnamed6193(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -943,7 +1011,7 @@ api.ListCryptoKeyVersionsResponse buildListCryptoKeyVersionsResponse() { void checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) { buildCounterListCryptoKeyVersionsResponse++; if (buildCounterListCryptoKeyVersionsResponse < 3) { - checkUnnamed6126(o.cryptoKeyVersions!); + checkUnnamed6193(o.cryptoKeyVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -956,12 +1024,12 @@ void checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) { buildCounterListCryptoKeyVersionsResponse--; } -core.List buildUnnamed6127() => [ +core.List buildUnnamed6194() => [ buildCryptoKey(), buildCryptoKey(), ]; -void checkUnnamed6127(core.List o) { +void checkUnnamed6194(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCryptoKey(o[0]); checkCryptoKey(o[1]); @@ -972,7 +1040,7 @@ api.ListCryptoKeysResponse buildListCryptoKeysResponse() { final o = api.ListCryptoKeysResponse(); buildCounterListCryptoKeysResponse++; if (buildCounterListCryptoKeysResponse < 3) { - o.cryptoKeys = buildUnnamed6127(); + o.cryptoKeys = buildUnnamed6194(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -983,7 +1051,7 @@ api.ListCryptoKeysResponse buildListCryptoKeysResponse() { void checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) { buildCounterListCryptoKeysResponse++; if (buildCounterListCryptoKeysResponse < 3) { - checkUnnamed6127(o.cryptoKeys!); + checkUnnamed6194(o.cryptoKeys!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -996,12 +1064,12 @@ void checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) { buildCounterListCryptoKeysResponse--; } -core.List buildUnnamed6128() => [ +core.List buildUnnamed6195() => [ buildImportJob(), buildImportJob(), ]; -void checkUnnamed6128(core.List o) { +void checkUnnamed6195(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImportJob(o[0]); checkImportJob(o[1]); @@ -1012,7 +1080,7 @@ api.ListImportJobsResponse buildListImportJobsResponse() { final o = api.ListImportJobsResponse(); buildCounterListImportJobsResponse++; if (buildCounterListImportJobsResponse < 3) { - o.importJobs = buildUnnamed6128(); + o.importJobs = buildUnnamed6195(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1023,7 +1091,7 @@ api.ListImportJobsResponse buildListImportJobsResponse() { void checkListImportJobsResponse(api.ListImportJobsResponse o) { buildCounterListImportJobsResponse++; if (buildCounterListImportJobsResponse < 3) { - checkUnnamed6128(o.importJobs!); + checkUnnamed6195(o.importJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1036,12 +1104,12 @@ void checkListImportJobsResponse(api.ListImportJobsResponse o) { buildCounterListImportJobsResponse--; } -core.List buildUnnamed6129() => [ +core.List buildUnnamed6196() => [ buildKeyRing(), buildKeyRing(), ]; -void checkUnnamed6129(core.List o) { +void checkUnnamed6196(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyRing(o[0]); checkKeyRing(o[1]); @@ -1052,7 +1120,7 @@ api.ListKeyRingsResponse buildListKeyRingsResponse() { final o = api.ListKeyRingsResponse(); buildCounterListKeyRingsResponse++; if (buildCounterListKeyRingsResponse < 3) { - o.keyRings = buildUnnamed6129(); + o.keyRings = buildUnnamed6196(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1063,7 +1131,7 @@ api.ListKeyRingsResponse buildListKeyRingsResponse() { void checkListKeyRingsResponse(api.ListKeyRingsResponse o) { buildCounterListKeyRingsResponse++; if (buildCounterListKeyRingsResponse < 3) { - checkUnnamed6129(o.keyRings!); + checkUnnamed6196(o.keyRings!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1076,12 +1144,12 @@ void checkListKeyRingsResponse(api.ListKeyRingsResponse o) { buildCounterListKeyRingsResponse--; } -core.List buildUnnamed6130() => [ +core.List buildUnnamed6197() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed6130(core.List o) { +void checkUnnamed6197(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1092,7 +1160,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed6130(); + o.locations = buildUnnamed6197(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1102,7 +1170,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed6130(o.locations!); + checkUnnamed6197(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1111,12 +1179,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.Map buildUnnamed6131() => { +core.Map buildUnnamed6198() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6131(core.Map o) { +void checkUnnamed6198(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1128,7 +1196,7 @@ void checkUnnamed6131(core.Map o) { ); } -core.Map buildUnnamed6132() => { +core.Map buildUnnamed6199() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1141,7 +1209,7 @@ core.Map buildUnnamed6132() => { }, }; -void checkUnnamed6132(core.Map o) { +void checkUnnamed6199(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1179,9 +1247,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed6131(); + o.labels = buildUnnamed6198(); o.locationId = 'foo'; - o.metadata = buildUnnamed6132(); + o.metadata = buildUnnamed6199(); o.name = 'foo'; } buildCounterLocation--; @@ -1195,12 +1263,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6131(o.labels!); + checkUnnamed6198(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed6132(o.metadata!); + checkUnnamed6199(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1230,23 +1298,161 @@ void checkLocationMetadata(api.LocationMetadata o) { buildCounterLocationMetadata--; } -core.List buildUnnamed6133() => [ +core.int buildCounterMacSignRequest = 0; +api.MacSignRequest buildMacSignRequest() { + final o = api.MacSignRequest(); + buildCounterMacSignRequest++; + if (buildCounterMacSignRequest < 3) { + o.data = 'foo'; + o.dataCrc32c = 'foo'; + } + buildCounterMacSignRequest--; + return o; +} + +void checkMacSignRequest(api.MacSignRequest o) { + buildCounterMacSignRequest++; + if (buildCounterMacSignRequest < 3) { + unittest.expect( + o.data!, + unittest.equals('foo'), + ); + unittest.expect( + o.dataCrc32c!, + unittest.equals('foo'), + ); + } + buildCounterMacSignRequest--; +} + +core.int buildCounterMacSignResponse = 0; +api.MacSignResponse buildMacSignResponse() { + final o = api.MacSignResponse(); + buildCounterMacSignResponse++; + if (buildCounterMacSignResponse < 3) { + o.mac = 'foo'; + o.macCrc32c = 'foo'; + o.name = 'foo'; + o.protectionLevel = 'foo'; + o.verifiedDataCrc32c = true; + } + buildCounterMacSignResponse--; + return o; +} + +void checkMacSignResponse(api.MacSignResponse o) { + buildCounterMacSignResponse++; + if (buildCounterMacSignResponse < 3) { + unittest.expect( + o.mac!, + unittest.equals('foo'), + ); + unittest.expect( + o.macCrc32c!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.protectionLevel!, + unittest.equals('foo'), + ); + unittest.expect(o.verifiedDataCrc32c!, unittest.isTrue); + } + buildCounterMacSignResponse--; +} + +core.int buildCounterMacVerifyRequest = 0; +api.MacVerifyRequest buildMacVerifyRequest() { + final o = api.MacVerifyRequest(); + buildCounterMacVerifyRequest++; + if (buildCounterMacVerifyRequest < 3) { + o.data = 'foo'; + o.dataCrc32c = 'foo'; + o.mac = 'foo'; + o.macCrc32c = 'foo'; + } + buildCounterMacVerifyRequest--; + return o; +} + +void checkMacVerifyRequest(api.MacVerifyRequest o) { + buildCounterMacVerifyRequest++; + if (buildCounterMacVerifyRequest < 3) { + unittest.expect( + o.data!, + unittest.equals('foo'), + ); + unittest.expect( + o.dataCrc32c!, + unittest.equals('foo'), + ); + unittest.expect( + o.mac!, + unittest.equals('foo'), + ); + unittest.expect( + o.macCrc32c!, + unittest.equals('foo'), + ); + } + buildCounterMacVerifyRequest--; +} + +core.int buildCounterMacVerifyResponse = 0; +api.MacVerifyResponse buildMacVerifyResponse() { + final o = api.MacVerifyResponse(); + buildCounterMacVerifyResponse++; + if (buildCounterMacVerifyResponse < 3) { + o.name = 'foo'; + o.protectionLevel = 'foo'; + o.success = true; + o.verifiedDataCrc32c = true; + o.verifiedMacCrc32c = true; + o.verifiedSuccessIntegrity = true; + } + buildCounterMacVerifyResponse--; + return o; +} + +void checkMacVerifyResponse(api.MacVerifyResponse o) { + buildCounterMacVerifyResponse++; + if (buildCounterMacVerifyResponse < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.protectionLevel!, + unittest.equals('foo'), + ); + unittest.expect(o.success!, unittest.isTrue); + unittest.expect(o.verifiedDataCrc32c!, unittest.isTrue); + unittest.expect(o.verifiedMacCrc32c!, unittest.isTrue); + unittest.expect(o.verifiedSuccessIntegrity!, unittest.isTrue); + } + buildCounterMacVerifyResponse--; +} + +core.List buildUnnamed6200() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed6133(core.List o) { +void checkUnnamed6200(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed6134() => [ +core.List buildUnnamed6201() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed6134(core.List o) { +void checkUnnamed6201(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1257,8 +1463,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed6133(); - o.bindings = buildUnnamed6134(); + o.auditConfigs = buildUnnamed6200(); + o.bindings = buildUnnamed6201(); o.etag = 'foo'; o.version = 42; } @@ -1269,8 +1475,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed6133(o.auditConfigs!); - checkUnnamed6134(o.bindings!); + checkUnnamed6200(o.auditConfigs!); + checkUnnamed6201(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1364,12 +1570,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed6135() => [ +core.List buildUnnamed6202() => [ 'foo', 'foo', ]; -void checkUnnamed6135(core.List o) { +void checkUnnamed6202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1386,7 +1592,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed6135(); + o.permissions = buildUnnamed6202(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1395,17 +1601,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed6135(o.permissions!); + checkUnnamed6202(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed6136() => [ +core.List buildUnnamed6203() => [ 'foo', 'foo', ]; -void checkUnnamed6136(core.List o) { +void checkUnnamed6203(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1422,7 +1628,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed6136(); + o.permissions = buildUnnamed6203(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1431,7 +1637,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed6136(o.permissions!); + checkUnnamed6203(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1673,6 +1879,26 @@ void main() { }); }); + unittest.group('obj-schema-GenerateRandomBytesRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGenerateRandomBytesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GenerateRandomBytesRequest.fromJson( + oJson as core.Map); + checkGenerateRandomBytesRequest(od); + }); + }); + + unittest.group('obj-schema-GenerateRandomBytesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGenerateRandomBytesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GenerateRandomBytesResponse.fromJson( + oJson as core.Map); + checkGenerateRandomBytesResponse(od); + }); + }); + unittest.group('obj-schema-ImportCryptoKeyVersionRequest', () { unittest.test('to-json--from-json', () async { final o = buildImportCryptoKeyVersionRequest(); @@ -1783,6 +2009,46 @@ void main() { }); }); + unittest.group('obj-schema-MacSignRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildMacSignRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MacSignRequest.fromJson( + oJson as core.Map); + checkMacSignRequest(od); + }); + }); + + unittest.group('obj-schema-MacSignResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildMacSignResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MacSignResponse.fromJson( + oJson as core.Map); + checkMacSignResponse(od); + }); + }); + + unittest.group('obj-schema-MacVerifyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildMacVerifyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MacVerifyRequest.fromJson( + oJson as core.Map); + checkMacVerifyRequest(od); + }); + }); + + unittest.group('obj-schema-MacVerifyResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildMacVerifyResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MacVerifyResponse.fromJson( + oJson as core.Map); + checkMacVerifyResponse(od); + }); + }); + unittest.group('obj-schema-Policy', () { unittest.test('to-json--from-json', () async { final o = buildPolicy(); @@ -1864,6 +2130,65 @@ void main() { }); unittest.group('resource-ProjectsLocationsResource', () { + unittest.test('method--generateRandomBytes', () async { + final mock = HttpServerMock(); + final res = api.CloudKMSApi(mock).projects.locations; + final arg_request = buildGenerateRandomBytesRequest(); + final arg_location = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GenerateRandomBytesRequest.fromJson( + json as core.Map); + checkGenerateRandomBytesRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGenerateRandomBytesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.generateRandomBytes(arg_request, arg_location, + $fields: arg_$fields); + checkGenerateRandomBytesResponse( + response as api.GenerateRandomBytesResponse); + }); + unittest.test('method--get', () async { final mock = HttpServerMock(); final res = api.CloudKMSApi(mock).projects.locations; @@ -3499,6 +3824,132 @@ void main() { response as api.ListCryptoKeyVersionsResponse); }); + unittest.test('method--macSign', () async { + final mock = HttpServerMock(); + final res = api.CloudKMSApi(mock) + .projects + .locations + .keyRings + .cryptoKeys + .cryptoKeyVersions; + final arg_request = buildMacSignRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.MacSignRequest.fromJson( + json as core.Map); + checkMacSignRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildMacSignResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.macSign(arg_request, arg_name, $fields: arg_$fields); + checkMacSignResponse(response as api.MacSignResponse); + }); + + unittest.test('method--macVerify', () async { + final mock = HttpServerMock(); + final res = api.CloudKMSApi(mock) + .projects + .locations + .keyRings + .cryptoKeys + .cryptoKeyVersions; + final arg_request = buildMacVerifyRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.MacVerifyRequest.fromJson( + json as core.Map); + checkMacVerifyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildMacVerifyResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.macVerify(arg_request, arg_name, $fields: arg_$fields); + checkMacVerifyResponse(response as api.MacVerifyResponse); + }); + unittest.test('method--patch', () async { final mock = HttpServerMock(); final res = api.CloudKMSApi(mock) diff --git a/generated/googleapis/test/cloudprofiler/v2_test.dart b/generated/googleapis/test/cloudprofiler/v2_test.dart index 501c2d00e..067b6fe23 100644 --- a/generated/googleapis/test/cloudprofiler/v2_test.dart +++ b/generated/googleapis/test/cloudprofiler/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2968() => [ +core.List buildUnnamed2856() => [ 'foo', 'foo', ]; -void checkUnnamed2968(core.List o) { +void checkUnnamed2856(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.CreateProfileRequest buildCreateProfileRequest() { buildCounterCreateProfileRequest++; if (buildCounterCreateProfileRequest < 3) { o.deployment = buildDeployment(); - o.profileType = buildUnnamed2968(); + o.profileType = buildUnnamed2856(); } buildCounterCreateProfileRequest--; return o; @@ -59,17 +59,17 @@ void checkCreateProfileRequest(api.CreateProfileRequest o) { buildCounterCreateProfileRequest++; if (buildCounterCreateProfileRequest < 3) { checkDeployment(o.deployment!); - checkUnnamed2968(o.profileType!); + checkUnnamed2856(o.profileType!); } buildCounterCreateProfileRequest--; } -core.Map buildUnnamed2969() => { +core.Map buildUnnamed2857() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2969(core.Map o) { +void checkUnnamed2857(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -86,7 +86,7 @@ api.Deployment buildDeployment() { final o = api.Deployment(); buildCounterDeployment++; if (buildCounterDeployment < 3) { - o.labels = buildUnnamed2969(); + o.labels = buildUnnamed2857(); o.projectId = 'foo'; o.target = 'foo'; } @@ -97,7 +97,7 @@ api.Deployment buildDeployment() { void checkDeployment(api.Deployment o) { buildCounterDeployment++; if (buildCounterDeployment < 3) { - checkUnnamed2969(o.labels!); + checkUnnamed2857(o.labels!); unittest.expect( o.projectId!, unittest.equals('foo'), @@ -110,12 +110,12 @@ void checkDeployment(api.Deployment o) { buildCounterDeployment--; } -core.Map buildUnnamed2970() => { +core.Map buildUnnamed2858() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2970(core.Map o) { +void checkUnnamed2858(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -134,7 +134,7 @@ api.Profile buildProfile() { if (buildCounterProfile < 3) { o.deployment = buildDeployment(); o.duration = 'foo'; - o.labels = buildUnnamed2970(); + o.labels = buildUnnamed2858(); o.name = 'foo'; o.profileBytes = 'foo'; o.profileType = 'foo'; @@ -151,7 +151,7 @@ void checkProfile(api.Profile o) { o.duration!, unittest.equals('foo'), ); - checkUnnamed2970(o.labels!); + checkUnnamed2858(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart index de5aaab49..c0f9bf6a2 100644 --- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart +++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart @@ -45,12 +45,12 @@ void checkAncestor(api.Ancestor o) { buildCounterAncestor--; } -core.List buildUnnamed3744() => [ +core.List buildUnnamed3725() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed3744(core.List o) { +void checkUnnamed3725(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -61,7 +61,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed3744(); + o.auditLogConfigs = buildUnnamed3725(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -71,7 +71,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed3744(o.auditLogConfigs!); + checkUnnamed3725(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -80,12 +80,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed3745() => [ +core.List buildUnnamed3726() => [ 'foo', 'foo', ]; -void checkUnnamed3745(core.List o) { +void checkUnnamed3726(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -102,7 +102,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed3745(); + o.exemptedMembers = buildUnnamed3726(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -112,7 +112,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed3745(o.exemptedMembers!); + checkUnnamed3726(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -121,12 +121,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed3746() => [ +core.List buildUnnamed3727() => [ 'foo', 'foo', ]; -void checkUnnamed3746(core.List o) { +void checkUnnamed3727(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -144,7 +144,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3746(); + o.members = buildUnnamed3727(); o.role = 'foo'; } buildCounterBinding--; @@ -155,7 +155,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3746(o.members!); + checkUnnamed3727(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -675,12 +675,12 @@ void checkGetAncestryRequest(api.GetAncestryRequest o) { buildCounterGetAncestryRequest--; } -core.List buildUnnamed3747() => [ +core.List buildUnnamed3728() => [ buildAncestor(), buildAncestor(), ]; -void checkUnnamed3747(core.List o) { +void checkUnnamed3728(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAncestor(o[0]); checkAncestor(o[1]); @@ -691,7 +691,7 @@ api.GetAncestryResponse buildGetAncestryResponse() { final o = api.GetAncestryResponse(); buildCounterGetAncestryResponse++; if (buildCounterGetAncestryResponse < 3) { - o.ancestor = buildUnnamed3747(); + o.ancestor = buildUnnamed3728(); } buildCounterGetAncestryResponse--; return o; @@ -700,7 +700,7 @@ api.GetAncestryResponse buildGetAncestryResponse() { void checkGetAncestryResponse(api.GetAncestryResponse o) { buildCounterGetAncestryResponse++; if (buildCounterGetAncestryResponse < 3) { - checkUnnamed3747(o.ancestor!); + checkUnnamed3728(o.ancestor!); } buildCounterGetAncestryResponse--; } @@ -790,12 +790,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed3748() => [ +core.List buildUnnamed3729() => [ 'foo', 'foo', ]; -void checkUnnamed3748(core.List o) { +void checkUnnamed3729(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -817,7 +817,7 @@ api.Lien buildLien() { o.origin = 'foo'; o.parent = 'foo'; o.reason = 'foo'; - o.restrictions = buildUnnamed3748(); + o.restrictions = buildUnnamed3729(); } buildCounterLien--; return o; @@ -846,7 +846,7 @@ void checkLien(api.Lien o) { o.reason!, unittest.equals('foo'), ); - checkUnnamed3748(o.restrictions!); + checkUnnamed3729(o.restrictions!); } buildCounterLien--; } @@ -880,12 +880,12 @@ void checkListAvailableOrgPolicyConstraintsRequest( buildCounterListAvailableOrgPolicyConstraintsRequest--; } -core.List buildUnnamed3749() => [ +core.List buildUnnamed3730() => [ buildConstraint(), buildConstraint(), ]; -void checkUnnamed3749(core.List o) { +void checkUnnamed3730(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConstraint(o[0]); checkConstraint(o[1]); @@ -897,7 +897,7 @@ api.ListAvailableOrgPolicyConstraintsResponse final o = api.ListAvailableOrgPolicyConstraintsResponse(); buildCounterListAvailableOrgPolicyConstraintsResponse++; if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) { - o.constraints = buildUnnamed3749(); + o.constraints = buildUnnamed3730(); o.nextPageToken = 'foo'; } buildCounterListAvailableOrgPolicyConstraintsResponse--; @@ -908,7 +908,7 @@ void checkListAvailableOrgPolicyConstraintsResponse( api.ListAvailableOrgPolicyConstraintsResponse o) { buildCounterListAvailableOrgPolicyConstraintsResponse++; if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) { - checkUnnamed3749(o.constraints!); + checkUnnamed3730(o.constraints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -941,12 +941,12 @@ void checkListConstraint(api.ListConstraint o) { buildCounterListConstraint--; } -core.List buildUnnamed3750() => [ +core.List buildUnnamed3731() => [ buildLien(), buildLien(), ]; -void checkUnnamed3750(core.List o) { +void checkUnnamed3731(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLien(o[0]); checkLien(o[1]); @@ -957,7 +957,7 @@ api.ListLiensResponse buildListLiensResponse() { final o = api.ListLiensResponse(); buildCounterListLiensResponse++; if (buildCounterListLiensResponse < 3) { - o.liens = buildUnnamed3750(); + o.liens = buildUnnamed3731(); o.nextPageToken = 'foo'; } buildCounterListLiensResponse--; @@ -967,7 +967,7 @@ api.ListLiensResponse buildListLiensResponse() { void checkListLiensResponse(api.ListLiensResponse o) { buildCounterListLiensResponse++; if (buildCounterListLiensResponse < 3) { - checkUnnamed3750(o.liens!); + checkUnnamed3731(o.liens!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1003,12 +1003,12 @@ void checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) { buildCounterListOrgPoliciesRequest--; } -core.List buildUnnamed3751() => [ +core.List buildUnnamed3732() => [ buildOrgPolicy(), buildOrgPolicy(), ]; -void checkUnnamed3751(core.List o) { +void checkUnnamed3732(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrgPolicy(o[0]); checkOrgPolicy(o[1]); @@ -1020,7 +1020,7 @@ api.ListOrgPoliciesResponse buildListOrgPoliciesResponse() { buildCounterListOrgPoliciesResponse++; if (buildCounterListOrgPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.policies = buildUnnamed3751(); + o.policies = buildUnnamed3732(); } buildCounterListOrgPoliciesResponse--; return o; @@ -1033,17 +1033,17 @@ void checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3751(o.policies!); + checkUnnamed3732(o.policies!); } buildCounterListOrgPoliciesResponse--; } -core.List buildUnnamed3752() => [ +core.List buildUnnamed3733() => [ 'foo', 'foo', ]; -void checkUnnamed3752(core.List o) { +void checkUnnamed3733(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1055,12 +1055,12 @@ void checkUnnamed3752(core.List o) { ); } -core.List buildUnnamed3753() => [ +core.List buildUnnamed3734() => [ 'foo', 'foo', ]; -void checkUnnamed3753(core.List o) { +void checkUnnamed3734(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1078,8 +1078,8 @@ api.ListPolicy buildListPolicy() { buildCounterListPolicy++; if (buildCounterListPolicy < 3) { o.allValues = 'foo'; - o.allowedValues = buildUnnamed3752(); - o.deniedValues = buildUnnamed3753(); + o.allowedValues = buildUnnamed3733(); + o.deniedValues = buildUnnamed3734(); o.inheritFromParent = true; o.suggestedValue = 'foo'; } @@ -1094,8 +1094,8 @@ void checkListPolicy(api.ListPolicy o) { o.allValues!, unittest.equals('foo'), ); - checkUnnamed3752(o.allowedValues!); - checkUnnamed3753(o.deniedValues!); + checkUnnamed3733(o.allowedValues!); + checkUnnamed3734(o.deniedValues!); unittest.expect(o.inheritFromParent!, unittest.isTrue); unittest.expect( o.suggestedValue!, @@ -1105,12 +1105,12 @@ void checkListPolicy(api.ListPolicy o) { buildCounterListPolicy--; } -core.List buildUnnamed3754() => [ +core.List buildUnnamed3735() => [ buildProject(), buildProject(), ]; -void checkUnnamed3754(core.List o) { +void checkUnnamed3735(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -1122,7 +1122,7 @@ api.ListProjectsResponse buildListProjectsResponse() { buildCounterListProjectsResponse++; if (buildCounterListProjectsResponse < 3) { o.nextPageToken = 'foo'; - o.projects = buildUnnamed3754(); + o.projects = buildUnnamed3735(); } buildCounterListProjectsResponse--; return o; @@ -1135,7 +1135,7 @@ void checkListProjectsResponse(api.ListProjectsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3754(o.projects!); + checkUnnamed3735(o.projects!); } buildCounterListProjectsResponse--; } @@ -1187,7 +1187,7 @@ void checkMoveProjectMetadata(api.MoveProjectMetadata o) { buildCounterMoveProjectMetadata--; } -core.Map buildUnnamed3755() => { +core.Map buildUnnamed3736() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1200,7 +1200,7 @@ core.Map buildUnnamed3755() => { }, }; -void checkUnnamed3755(core.Map o) { +void checkUnnamed3736(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1232,7 +1232,7 @@ void checkUnnamed3755(core.Map o) { ); } -core.Map buildUnnamed3756() => { +core.Map buildUnnamed3737() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1245,7 +1245,7 @@ core.Map buildUnnamed3756() => { }, }; -void checkUnnamed3756(core.Map o) { +void checkUnnamed3737(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1284,9 +1284,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed3755(); + o.metadata = buildUnnamed3736(); o.name = 'foo'; - o.response = buildUnnamed3756(); + o.response = buildUnnamed3737(); } buildCounterOperation--; return o; @@ -1297,12 +1297,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed3755(o.metadata!); + checkUnnamed3736(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3756(o.response!); + checkUnnamed3737(o.response!); } buildCounterOperation--; } @@ -1411,23 +1411,23 @@ void checkOrganizationOwner(api.OrganizationOwner o) { buildCounterOrganizationOwner--; } -core.List buildUnnamed3757() => [ +core.List buildUnnamed3738() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed3757(core.List o) { +void checkUnnamed3738(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed3758() => [ +core.List buildUnnamed3739() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3758(core.List o) { +void checkUnnamed3739(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1438,8 +1438,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed3757(); - o.bindings = buildUnnamed3758(); + o.auditConfigs = buildUnnamed3738(); + o.bindings = buildUnnamed3739(); o.etag = 'foo'; o.version = 42; } @@ -1450,8 +1450,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3757(o.auditConfigs!); - checkUnnamed3758(o.bindings!); + checkUnnamed3738(o.auditConfigs!); + checkUnnamed3739(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1464,12 +1464,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.Map buildUnnamed3759() => { +core.Map buildUnnamed3740() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3759(core.Map o) { +void checkUnnamed3740(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1487,7 +1487,7 @@ api.Project buildProject() { buildCounterProject++; if (buildCounterProject < 3) { o.createTime = 'foo'; - o.labels = buildUnnamed3759(); + o.labels = buildUnnamed3740(); o.lifecycleState = 'foo'; o.name = 'foo'; o.parent = buildResourceId(); @@ -1505,7 +1505,7 @@ void checkProject(api.Project o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed3759(o.labels!); + checkUnnamed3740(o.labels!); unittest.expect( o.lifecycleState!, unittest.equals('foo'), @@ -1627,12 +1627,12 @@ void checkSearchOrganizationsRequest(api.SearchOrganizationsRequest o) { buildCounterSearchOrganizationsRequest--; } -core.List buildUnnamed3760() => [ +core.List buildUnnamed3741() => [ buildOrganization(), buildOrganization(), ]; -void checkUnnamed3760(core.List o) { +void checkUnnamed3741(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrganization(o[0]); checkOrganization(o[1]); @@ -1644,7 +1644,7 @@ api.SearchOrganizationsResponse buildSearchOrganizationsResponse() { buildCounterSearchOrganizationsResponse++; if (buildCounterSearchOrganizationsResponse < 3) { o.nextPageToken = 'foo'; - o.organizations = buildUnnamed3760(); + o.organizations = buildUnnamed3741(); } buildCounterSearchOrganizationsResponse--; return o; @@ -1657,7 +1657,7 @@ void checkSearchOrganizationsResponse(api.SearchOrganizationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3760(o.organizations!); + checkUnnamed3741(o.organizations!); } buildCounterSearchOrganizationsResponse--; } @@ -1705,7 +1705,7 @@ void checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) { buildCounterSetOrgPolicyRequest--; } -core.Map buildUnnamed3761() => { +core.Map buildUnnamed3742() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1718,7 +1718,7 @@ core.Map buildUnnamed3761() => { }, }; -void checkUnnamed3761(core.Map o) { +void checkUnnamed3742(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1750,15 +1750,15 @@ void checkUnnamed3761(core.Map o) { ); } -core.List> buildUnnamed3762() => [ - buildUnnamed3761(), - buildUnnamed3761(), +core.List> buildUnnamed3743() => [ + buildUnnamed3742(), + buildUnnamed3742(), ]; -void checkUnnamed3762(core.List> o) { +void checkUnnamed3743(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3761(o[0]); - checkUnnamed3761(o[1]); + checkUnnamed3742(o[0]); + checkUnnamed3742(o[1]); } core.int buildCounterStatus = 0; @@ -1767,7 +1767,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3762(); + o.details = buildUnnamed3743(); o.message = 'foo'; } buildCounterStatus--; @@ -1781,7 +1781,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3762(o.details!); + checkUnnamed3743(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1790,12 +1790,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed3763() => [ +core.List buildUnnamed3744() => [ 'foo', 'foo', ]; -void checkUnnamed3763(core.List o) { +void checkUnnamed3744(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1812,7 +1812,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3763(); + o.permissions = buildUnnamed3744(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1821,17 +1821,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3763(o.permissions!); + checkUnnamed3744(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3764() => [ +core.List buildUnnamed3745() => [ 'foo', 'foo', ]; -void checkUnnamed3764(core.List o) { +void checkUnnamed3745(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1848,7 +1848,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3764(); + o.permissions = buildUnnamed3745(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1857,7 +1857,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3764(o.permissions!); + checkUnnamed3745(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/cloudresourcemanager/v2_test.dart b/generated/googleapis/test/cloudresourcemanager/v2_test.dart index 268e5dcae..588b1c420 100644 --- a/generated/googleapis/test/cloudresourcemanager/v2_test.dart +++ b/generated/googleapis/test/cloudresourcemanager/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3654() => [ +core.List buildUnnamed3598() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed3654(core.List o) { +void checkUnnamed3598(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed3654(); + o.auditLogConfigs = buildUnnamed3598(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed3654(o.auditLogConfigs!); + checkUnnamed3598(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed3655() => [ +core.List buildUnnamed3599() => [ 'foo', 'foo', ]; -void checkUnnamed3655(core.List o) { +void checkUnnamed3599(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed3655(); + o.exemptedMembers = buildUnnamed3599(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed3655(o.exemptedMembers!); + checkUnnamed3599(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed3656() => [ +core.List buildUnnamed3600() => [ 'foo', 'foo', ]; -void checkUnnamed3656(core.List o) { +void checkUnnamed3600(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3656(); + o.members = buildUnnamed3600(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3656(o.members!); + checkUnnamed3600(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -602,12 +602,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed3657() => [ +core.List buildUnnamed3601() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed3657(core.List o) { +void checkUnnamed3601(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -618,7 +618,7 @@ api.ListFoldersResponse buildListFoldersResponse() { final o = api.ListFoldersResponse(); buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - o.folders = buildUnnamed3657(); + o.folders = buildUnnamed3601(); o.nextPageToken = 'foo'; } buildCounterListFoldersResponse--; @@ -628,7 +628,7 @@ api.ListFoldersResponse buildListFoldersResponse() { void checkListFoldersResponse(api.ListFoldersResponse o) { buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - checkUnnamed3657(o.folders!); + checkUnnamed3601(o.folders!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -706,7 +706,7 @@ void checkMoveProjectMetadata(api.MoveProjectMetadata o) { buildCounterMoveProjectMetadata--; } -core.Map buildUnnamed3658() => { +core.Map buildUnnamed3602() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -719,7 +719,7 @@ core.Map buildUnnamed3658() => { }, }; -void checkUnnamed3658(core.Map o) { +void checkUnnamed3602(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -751,7 +751,7 @@ void checkUnnamed3658(core.Map o) { ); } -core.Map buildUnnamed3659() => { +core.Map buildUnnamed3603() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -764,7 +764,7 @@ core.Map buildUnnamed3659() => { }, }; -void checkUnnamed3659(core.Map o) { +void checkUnnamed3603(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -803,9 +803,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed3658(); + o.metadata = buildUnnamed3602(); o.name = 'foo'; - o.response = buildUnnamed3659(); + o.response = buildUnnamed3603(); } buildCounterOperation--; return o; @@ -816,33 +816,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed3658(o.metadata!); + checkUnnamed3602(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3659(o.response!); + checkUnnamed3603(o.response!); } buildCounterOperation--; } -core.List buildUnnamed3660() => [ +core.List buildUnnamed3604() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed3660(core.List o) { +void checkUnnamed3604(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed3661() => [ +core.List buildUnnamed3605() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3661(core.List o) { +void checkUnnamed3605(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -853,8 +853,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed3660(); - o.bindings = buildUnnamed3661(); + o.auditConfigs = buildUnnamed3604(); + o.bindings = buildUnnamed3605(); o.etag = 'foo'; o.version = 42; } @@ -865,8 +865,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3660(o.auditConfigs!); - checkUnnamed3661(o.bindings!); + checkUnnamed3604(o.auditConfigs!); + checkUnnamed3605(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -937,12 +937,12 @@ void checkSearchFoldersRequest(api.SearchFoldersRequest o) { buildCounterSearchFoldersRequest--; } -core.List buildUnnamed3662() => [ +core.List buildUnnamed3606() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed3662(core.List o) { +void checkUnnamed3606(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -953,7 +953,7 @@ api.SearchFoldersResponse buildSearchFoldersResponse() { final o = api.SearchFoldersResponse(); buildCounterSearchFoldersResponse++; if (buildCounterSearchFoldersResponse < 3) { - o.folders = buildUnnamed3662(); + o.folders = buildUnnamed3606(); o.nextPageToken = 'foo'; } buildCounterSearchFoldersResponse--; @@ -963,7 +963,7 @@ api.SearchFoldersResponse buildSearchFoldersResponse() { void checkSearchFoldersResponse(api.SearchFoldersResponse o) { buildCounterSearchFoldersResponse++; if (buildCounterSearchFoldersResponse < 3) { - checkUnnamed3662(o.folders!); + checkUnnamed3606(o.folders!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -996,7 +996,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed3663() => { +core.Map buildUnnamed3607() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1009,7 +1009,7 @@ core.Map buildUnnamed3663() => { }, }; -void checkUnnamed3663(core.Map o) { +void checkUnnamed3607(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1041,15 +1041,15 @@ void checkUnnamed3663(core.Map o) { ); } -core.List> buildUnnamed3664() => [ - buildUnnamed3663(), - buildUnnamed3663(), +core.List> buildUnnamed3608() => [ + buildUnnamed3607(), + buildUnnamed3607(), ]; -void checkUnnamed3664(core.List> o) { +void checkUnnamed3608(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3663(o[0]); - checkUnnamed3663(o[1]); + checkUnnamed3607(o[0]); + checkUnnamed3607(o[1]); } core.int buildCounterStatus = 0; @@ -1058,7 +1058,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3664(); + o.details = buildUnnamed3608(); o.message = 'foo'; } buildCounterStatus--; @@ -1072,7 +1072,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3664(o.details!); + checkUnnamed3608(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1081,12 +1081,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed3665() => [ +core.List buildUnnamed3609() => [ 'foo', 'foo', ]; -void checkUnnamed3665(core.List o) { +void checkUnnamed3609(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1103,7 +1103,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3665(); + o.permissions = buildUnnamed3609(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1112,17 +1112,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3665(o.permissions!); + checkUnnamed3609(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3666() => [ +core.List buildUnnamed3610() => [ 'foo', 'foo', ]; -void checkUnnamed3666(core.List o) { +void checkUnnamed3610(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1139,7 +1139,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3666(); + o.permissions = buildUnnamed3610(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1148,7 +1148,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3666(o.permissions!); + checkUnnamed3610(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/cloudresourcemanager/v3_test.dart b/generated/googleapis/test/cloudresourcemanager/v3_test.dart index 1ada4d808..1522e4a14 100644 --- a/generated/googleapis/test/cloudresourcemanager/v3_test.dart +++ b/generated/googleapis/test/cloudresourcemanager/v3_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2494() => [ +core.List buildUnnamed2484() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed2494(core.List o) { +void checkUnnamed2484(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed2494(); + o.auditLogConfigs = buildUnnamed2484(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed2494(o.auditLogConfigs!); + checkUnnamed2484(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed2495() => [ +core.List buildUnnamed2485() => [ 'foo', 'foo', ]; -void checkUnnamed2495(core.List o) { +void checkUnnamed2485(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed2495(); + o.exemptedMembers = buildUnnamed2485(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed2495(o.exemptedMembers!); + checkUnnamed2485(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed2496() => [ +core.List buildUnnamed2486() => [ 'foo', 'foo', ]; -void checkUnnamed2496(core.List o) { +void checkUnnamed2486(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed2496(); + o.members = buildUnnamed2486(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed2496(o.members!); + checkUnnamed2486(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -632,12 +632,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed2497() => [ +core.List buildUnnamed2487() => [ 'foo', 'foo', ]; -void checkUnnamed2497(core.List o) { +void checkUnnamed2487(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -659,7 +659,7 @@ api.Lien buildLien() { o.origin = 'foo'; o.parent = 'foo'; o.reason = 'foo'; - o.restrictions = buildUnnamed2497(); + o.restrictions = buildUnnamed2487(); } buildCounterLien--; return o; @@ -688,17 +688,17 @@ void checkLien(api.Lien o) { o.reason!, unittest.equals('foo'), ); - checkUnnamed2497(o.restrictions!); + checkUnnamed2487(o.restrictions!); } buildCounterLien--; } -core.List buildUnnamed2498() => [ +core.List buildUnnamed2488() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed2498(core.List o) { +void checkUnnamed2488(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -709,7 +709,7 @@ api.ListFoldersResponse buildListFoldersResponse() { final o = api.ListFoldersResponse(); buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - o.folders = buildUnnamed2498(); + o.folders = buildUnnamed2488(); o.nextPageToken = 'foo'; } buildCounterListFoldersResponse--; @@ -719,7 +719,7 @@ api.ListFoldersResponse buildListFoldersResponse() { void checkListFoldersResponse(api.ListFoldersResponse o) { buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - checkUnnamed2498(o.folders!); + checkUnnamed2488(o.folders!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -728,12 +728,12 @@ void checkListFoldersResponse(api.ListFoldersResponse o) { buildCounterListFoldersResponse--; } -core.List buildUnnamed2499() => [ +core.List buildUnnamed2489() => [ buildLien(), buildLien(), ]; -void checkUnnamed2499(core.List o) { +void checkUnnamed2489(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLien(o[0]); checkLien(o[1]); @@ -744,7 +744,7 @@ api.ListLiensResponse buildListLiensResponse() { final o = api.ListLiensResponse(); buildCounterListLiensResponse++; if (buildCounterListLiensResponse < 3) { - o.liens = buildUnnamed2499(); + o.liens = buildUnnamed2489(); o.nextPageToken = 'foo'; } buildCounterListLiensResponse--; @@ -754,7 +754,7 @@ api.ListLiensResponse buildListLiensResponse() { void checkListLiensResponse(api.ListLiensResponse o) { buildCounterListLiensResponse++; if (buildCounterListLiensResponse < 3) { - checkUnnamed2499(o.liens!); + checkUnnamed2489(o.liens!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -763,12 +763,12 @@ void checkListLiensResponse(api.ListLiensResponse o) { buildCounterListLiensResponse--; } -core.List buildUnnamed2500() => [ +core.List buildUnnamed2490() => [ buildProject(), buildProject(), ]; -void checkUnnamed2500(core.List o) { +void checkUnnamed2490(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -780,7 +780,7 @@ api.ListProjectsResponse buildListProjectsResponse() { buildCounterListProjectsResponse++; if (buildCounterListProjectsResponse < 3) { o.nextPageToken = 'foo'; - o.projects = buildUnnamed2500(); + o.projects = buildUnnamed2490(); } buildCounterListProjectsResponse--; return o; @@ -793,17 +793,17 @@ void checkListProjectsResponse(api.ListProjectsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2500(o.projects!); + checkUnnamed2490(o.projects!); } buildCounterListProjectsResponse--; } -core.List buildUnnamed2501() => [ +core.List buildUnnamed2491() => [ buildTagBinding(), buildTagBinding(), ]; -void checkUnnamed2501(core.List o) { +void checkUnnamed2491(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTagBinding(o[0]); checkTagBinding(o[1]); @@ -815,7 +815,7 @@ api.ListTagBindingsResponse buildListTagBindingsResponse() { buildCounterListTagBindingsResponse++; if (buildCounterListTagBindingsResponse < 3) { o.nextPageToken = 'foo'; - o.tagBindings = buildUnnamed2501(); + o.tagBindings = buildUnnamed2491(); } buildCounterListTagBindingsResponse--; return o; @@ -828,17 +828,17 @@ void checkListTagBindingsResponse(api.ListTagBindingsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2501(o.tagBindings!); + checkUnnamed2491(o.tagBindings!); } buildCounterListTagBindingsResponse--; } -core.List buildUnnamed2502() => [ +core.List buildUnnamed2492() => [ buildTagKey(), buildTagKey(), ]; -void checkUnnamed2502(core.List o) { +void checkUnnamed2492(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTagKey(o[0]); checkTagKey(o[1]); @@ -850,7 +850,7 @@ api.ListTagKeysResponse buildListTagKeysResponse() { buildCounterListTagKeysResponse++; if (buildCounterListTagKeysResponse < 3) { o.nextPageToken = 'foo'; - o.tagKeys = buildUnnamed2502(); + o.tagKeys = buildUnnamed2492(); } buildCounterListTagKeysResponse--; return o; @@ -863,17 +863,17 @@ void checkListTagKeysResponse(api.ListTagKeysResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2502(o.tagKeys!); + checkUnnamed2492(o.tagKeys!); } buildCounterListTagKeysResponse--; } -core.List buildUnnamed2503() => [ +core.List buildUnnamed2493() => [ buildTagValue(), buildTagValue(), ]; -void checkUnnamed2503(core.List o) { +void checkUnnamed2493(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTagValue(o[0]); checkTagValue(o[1]); @@ -885,7 +885,7 @@ api.ListTagValuesResponse buildListTagValuesResponse() { buildCounterListTagValuesResponse++; if (buildCounterListTagValuesResponse < 3) { o.nextPageToken = 'foo'; - o.tagValues = buildUnnamed2503(); + o.tagValues = buildUnnamed2493(); } buildCounterListTagValuesResponse--; return o; @@ -898,7 +898,7 @@ void checkListTagValuesResponse(api.ListTagValuesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2503(o.tagValues!); + checkUnnamed2493(o.tagValues!); } buildCounterListTagValuesResponse--; } @@ -994,7 +994,7 @@ void checkMoveProjectRequest(api.MoveProjectRequest o) { buildCounterMoveProjectRequest--; } -core.Map buildUnnamed2504() => { +core.Map buildUnnamed2494() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1007,7 +1007,7 @@ core.Map buildUnnamed2504() => { }, }; -void checkUnnamed2504(core.Map o) { +void checkUnnamed2494(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1039,7 +1039,7 @@ void checkUnnamed2504(core.Map o) { ); } -core.Map buildUnnamed2505() => { +core.Map buildUnnamed2495() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1052,7 +1052,7 @@ core.Map buildUnnamed2505() => { }, }; -void checkUnnamed2505(core.Map o) { +void checkUnnamed2495(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1091,9 +1091,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2504(); + o.metadata = buildUnnamed2494(); o.name = 'foo'; - o.response = buildUnnamed2505(); + o.response = buildUnnamed2495(); } buildCounterOperation--; return o; @@ -1104,12 +1104,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2504(o.metadata!); + checkUnnamed2494(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2505(o.response!); + checkUnnamed2495(o.response!); } buildCounterOperation--; } @@ -1171,23 +1171,23 @@ void checkOrganization(api.Organization o) { buildCounterOrganization--; } -core.List buildUnnamed2506() => [ +core.List buildUnnamed2496() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed2506(core.List o) { +void checkUnnamed2496(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed2507() => [ +core.List buildUnnamed2497() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed2507(core.List o) { +void checkUnnamed2497(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1198,8 +1198,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed2506(); - o.bindings = buildUnnamed2507(); + o.auditConfigs = buildUnnamed2496(); + o.bindings = buildUnnamed2497(); o.etag = 'foo'; o.version = 42; } @@ -1210,8 +1210,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed2506(o.auditConfigs!); - checkUnnamed2507(o.bindings!); + checkUnnamed2496(o.auditConfigs!); + checkUnnamed2497(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1224,12 +1224,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.Map buildUnnamed2508() => { +core.Map buildUnnamed2498() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2508(core.Map o) { +void checkUnnamed2498(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1250,7 +1250,7 @@ api.Project buildProject() { o.deleteTime = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed2508(); + o.labels = buildUnnamed2498(); o.name = 'foo'; o.parent = 'foo'; o.projectId = 'foo'; @@ -1280,7 +1280,7 @@ void checkProject(api.Project o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2508(o.labels!); + checkUnnamed2498(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1331,12 +1331,12 @@ void checkProjectCreationStatus(api.ProjectCreationStatus o) { buildCounterProjectCreationStatus--; } -core.List buildUnnamed2509() => [ +core.List buildUnnamed2499() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed2509(core.List o) { +void checkUnnamed2499(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -1347,7 +1347,7 @@ api.SearchFoldersResponse buildSearchFoldersResponse() { final o = api.SearchFoldersResponse(); buildCounterSearchFoldersResponse++; if (buildCounterSearchFoldersResponse < 3) { - o.folders = buildUnnamed2509(); + o.folders = buildUnnamed2499(); o.nextPageToken = 'foo'; } buildCounterSearchFoldersResponse--; @@ -1357,7 +1357,7 @@ api.SearchFoldersResponse buildSearchFoldersResponse() { void checkSearchFoldersResponse(api.SearchFoldersResponse o) { buildCounterSearchFoldersResponse++; if (buildCounterSearchFoldersResponse < 3) { - checkUnnamed2509(o.folders!); + checkUnnamed2499(o.folders!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1366,12 +1366,12 @@ void checkSearchFoldersResponse(api.SearchFoldersResponse o) { buildCounterSearchFoldersResponse--; } -core.List buildUnnamed2510() => [ +core.List buildUnnamed2500() => [ buildOrganization(), buildOrganization(), ]; -void checkUnnamed2510(core.List o) { +void checkUnnamed2500(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrganization(o[0]); checkOrganization(o[1]); @@ -1383,7 +1383,7 @@ api.SearchOrganizationsResponse buildSearchOrganizationsResponse() { buildCounterSearchOrganizationsResponse++; if (buildCounterSearchOrganizationsResponse < 3) { o.nextPageToken = 'foo'; - o.organizations = buildUnnamed2510(); + o.organizations = buildUnnamed2500(); } buildCounterSearchOrganizationsResponse--; return o; @@ -1396,17 +1396,17 @@ void checkSearchOrganizationsResponse(api.SearchOrganizationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2510(o.organizations!); + checkUnnamed2500(o.organizations!); } buildCounterSearchOrganizationsResponse--; } -core.List buildUnnamed2511() => [ +core.List buildUnnamed2501() => [ buildProject(), buildProject(), ]; -void checkUnnamed2511(core.List o) { +void checkUnnamed2501(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -1418,7 +1418,7 @@ api.SearchProjectsResponse buildSearchProjectsResponse() { buildCounterSearchProjectsResponse++; if (buildCounterSearchProjectsResponse < 3) { o.nextPageToken = 'foo'; - o.projects = buildUnnamed2511(); + o.projects = buildUnnamed2501(); } buildCounterSearchProjectsResponse--; return o; @@ -1431,7 +1431,7 @@ void checkSearchProjectsResponse(api.SearchProjectsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2511(o.projects!); + checkUnnamed2501(o.projects!); } buildCounterSearchProjectsResponse--; } @@ -1460,7 +1460,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed2512() => { +core.Map buildUnnamed2502() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1473,7 +1473,7 @@ core.Map buildUnnamed2512() => { }, }; -void checkUnnamed2512(core.Map o) { +void checkUnnamed2502(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1505,15 +1505,15 @@ void checkUnnamed2512(core.Map o) { ); } -core.List> buildUnnamed2513() => [ - buildUnnamed2512(), - buildUnnamed2512(), +core.List> buildUnnamed2503() => [ + buildUnnamed2502(), + buildUnnamed2502(), ]; -void checkUnnamed2513(core.List> o) { +void checkUnnamed2503(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2512(o[0]); - checkUnnamed2512(o[1]); + checkUnnamed2502(o[0]); + checkUnnamed2502(o[1]); } core.int buildCounterStatus = 0; @@ -1522,7 +1522,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2513(); + o.details = buildUnnamed2503(); o.message = 'foo'; } buildCounterStatus--; @@ -1536,7 +1536,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2513(o.details!); + checkUnnamed2503(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1691,12 +1691,12 @@ void checkTagValue(api.TagValue o) { buildCounterTagValue--; } -core.List buildUnnamed2514() => [ +core.List buildUnnamed2504() => [ 'foo', 'foo', ]; -void checkUnnamed2514(core.List o) { +void checkUnnamed2504(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1713,7 +1713,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed2514(); + o.permissions = buildUnnamed2504(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1722,17 +1722,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed2514(o.permissions!); + checkUnnamed2504(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed2515() => [ +core.List buildUnnamed2505() => [ 'foo', 'foo', ]; -void checkUnnamed2515(core.List o) { +void checkUnnamed2505(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1749,7 +1749,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed2515(); + o.permissions = buildUnnamed2505(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1758,7 +1758,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed2515(o.permissions!); + checkUnnamed2505(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/cloudscheduler/v1_test.dart b/generated/googleapis/test/cloudscheduler/v1_test.dart index 393abec65..b14d03ec8 100644 --- a/generated/googleapis/test/cloudscheduler/v1_test.dart +++ b/generated/googleapis/test/cloudscheduler/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed3644() => { +core.Map buildUnnamed3588() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3644(core.Map o) { +void checkUnnamed3588(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -50,7 +50,7 @@ api.AppEngineHttpTarget buildAppEngineHttpTarget() { if (buildCounterAppEngineHttpTarget < 3) { o.appEngineRouting = buildAppEngineRouting(); o.body = 'foo'; - o.headers = buildUnnamed3644(); + o.headers = buildUnnamed3588(); o.httpMethod = 'foo'; o.relativeUri = 'foo'; } @@ -66,7 +66,7 @@ void checkAppEngineHttpTarget(api.AppEngineHttpTarget o) { o.body!, unittest.equals('foo'), ); - checkUnnamed3644(o.headers!); + checkUnnamed3588(o.headers!); unittest.expect( o.httpMethod!, unittest.equals('foo'), @@ -131,12 +131,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.Map buildUnnamed3645() => { +core.Map buildUnnamed3589() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3645(core.Map o) { +void checkUnnamed3589(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -154,7 +154,7 @@ api.HttpTarget buildHttpTarget() { buildCounterHttpTarget++; if (buildCounterHttpTarget < 3) { o.body = 'foo'; - o.headers = buildUnnamed3645(); + o.headers = buildUnnamed3589(); o.httpMethod = 'foo'; o.oauthToken = buildOAuthToken(); o.oidcToken = buildOidcToken(); @@ -171,7 +171,7 @@ void checkHttpTarget(api.HttpTarget o) { o.body!, unittest.equals('foo'), ); - checkUnnamed3645(o.headers!); + checkUnnamed3589(o.headers!); unittest.expect( o.httpMethod!, unittest.equals('foo'), @@ -258,12 +258,12 @@ void checkJob(api.Job o) { buildCounterJob--; } -core.List buildUnnamed3646() => [ +core.List buildUnnamed3590() => [ buildJob(), buildJob(), ]; -void checkUnnamed3646(core.List o) { +void checkUnnamed3590(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -274,7 +274,7 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed3646(); + o.jobs = buildUnnamed3590(); o.nextPageToken = 'foo'; } buildCounterListJobsResponse--; @@ -284,7 +284,7 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed3646(o.jobs!); + checkUnnamed3590(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -293,12 +293,12 @@ void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse--; } -core.List buildUnnamed3647() => [ +core.List buildUnnamed3591() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed3647(core.List o) { +void checkUnnamed3591(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -309,7 +309,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed3647(); + o.locations = buildUnnamed3591(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -319,7 +319,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed3647(o.locations!); + checkUnnamed3591(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -328,12 +328,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.Map buildUnnamed3648() => { +core.Map buildUnnamed3592() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3648(core.Map o) { +void checkUnnamed3592(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -345,7 +345,7 @@ void checkUnnamed3648(core.Map o) { ); } -core.Map buildUnnamed3649() => { +core.Map buildUnnamed3593() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -358,7 +358,7 @@ core.Map buildUnnamed3649() => { }, }; -void checkUnnamed3649(core.Map o) { +void checkUnnamed3593(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -396,9 +396,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed3648(); + o.labels = buildUnnamed3592(); o.locationId = 'foo'; - o.metadata = buildUnnamed3649(); + o.metadata = buildUnnamed3593(); o.name = 'foo'; } buildCounterLocation--; @@ -412,12 +412,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed3648(o.labels!); + checkUnnamed3592(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed3649(o.metadata!); + checkUnnamed3593(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -495,12 +495,12 @@ void checkPauseJobRequest(api.PauseJobRequest o) { buildCounterPauseJobRequest--; } -core.Map buildUnnamed3650() => { +core.Map buildUnnamed3594() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3650(core.Map o) { +void checkUnnamed3594(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -517,7 +517,7 @@ api.PubsubMessage buildPubsubMessage() { final o = api.PubsubMessage(); buildCounterPubsubMessage++; if (buildCounterPubsubMessage < 3) { - o.attributes = buildUnnamed3650(); + o.attributes = buildUnnamed3594(); o.data = 'foo'; o.messageId = 'foo'; o.orderingKey = 'foo'; @@ -530,7 +530,7 @@ api.PubsubMessage buildPubsubMessage() { void checkPubsubMessage(api.PubsubMessage o) { buildCounterPubsubMessage++; if (buildCounterPubsubMessage < 3) { - checkUnnamed3650(o.attributes!); + checkUnnamed3594(o.attributes!); unittest.expect( o.data!, unittest.equals('foo'), @@ -551,12 +551,12 @@ void checkPubsubMessage(api.PubsubMessage o) { buildCounterPubsubMessage--; } -core.Map buildUnnamed3651() => { +core.Map buildUnnamed3595() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3651(core.Map o) { +void checkUnnamed3595(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -573,7 +573,7 @@ api.PubsubTarget buildPubsubTarget() { final o = api.PubsubTarget(); buildCounterPubsubTarget++; if (buildCounterPubsubTarget < 3) { - o.attributes = buildUnnamed3651(); + o.attributes = buildUnnamed3595(); o.data = 'foo'; o.topicName = 'foo'; } @@ -584,7 +584,7 @@ api.PubsubTarget buildPubsubTarget() { void checkPubsubTarget(api.PubsubTarget o) { buildCounterPubsubTarget++; if (buildCounterPubsubTarget < 3) { - checkUnnamed3651(o.attributes!); + checkUnnamed3595(o.attributes!); unittest.expect( o.data!, unittest.equals('foo'), @@ -669,7 +669,7 @@ void checkRunJobRequest(api.RunJobRequest o) { buildCounterRunJobRequest--; } -core.Map buildUnnamed3652() => { +core.Map buildUnnamed3596() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -682,7 +682,7 @@ core.Map buildUnnamed3652() => { }, }; -void checkUnnamed3652(core.Map o) { +void checkUnnamed3596(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -714,15 +714,15 @@ void checkUnnamed3652(core.Map o) { ); } -core.List> buildUnnamed3653() => [ - buildUnnamed3652(), - buildUnnamed3652(), +core.List> buildUnnamed3597() => [ + buildUnnamed3596(), + buildUnnamed3596(), ]; -void checkUnnamed3653(core.List> o) { +void checkUnnamed3597(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3652(o[0]); - checkUnnamed3652(o[1]); + checkUnnamed3596(o[0]); + checkUnnamed3596(o[1]); } core.int buildCounterStatus = 0; @@ -731,7 +731,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3653(); + o.details = buildUnnamed3597(); o.message = 'foo'; } buildCounterStatus--; @@ -745,7 +745,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3653(o.details!); + checkUnnamed3597(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/cloudsearch/v1_test.dart b/generated/googleapis/test/cloudsearch/v1_test.dart index d3efffe14..1074613c7 100644 --- a/generated/googleapis/test/cloudsearch/v1_test.dart +++ b/generated/googleapis/test/cloudsearch/v1_test.dart @@ -114,12 +114,12 @@ void checkCheckAccessResponse(api.CheckAccessResponse o) { buildCounterCheckAccessResponse--; } -core.List buildUnnamed4603() => [ +core.List buildUnnamed4616() => [ buildFilter(), buildFilter(), ]; -void checkUnnamed4603(core.List o) { +void checkUnnamed4616(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilter(o[0]); checkFilter(o[1]); @@ -131,7 +131,7 @@ api.CompositeFilter buildCompositeFilter() { buildCounterCompositeFilter++; if (buildCounterCompositeFilter < 3) { o.logicOperator = 'foo'; - o.subFilters = buildUnnamed4603(); + o.subFilters = buildUnnamed4616(); } buildCounterCompositeFilter--; return o; @@ -144,17 +144,17 @@ void checkCompositeFilter(api.CompositeFilter o) { o.logicOperator!, unittest.equals('foo'), ); - checkUnnamed4603(o.subFilters!); + checkUnnamed4616(o.subFilters!); } buildCounterCompositeFilter--; } -core.List buildUnnamed4604() => [ +core.List buildUnnamed4617() => [ 'foo', 'foo', ]; -void checkUnnamed4604(core.List o) { +void checkUnnamed4617(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -172,7 +172,7 @@ api.ContextAttribute buildContextAttribute() { buildCounterContextAttribute++; if (buildCounterContextAttribute < 3) { o.name = 'foo'; - o.values = buildUnnamed4604(); + o.values = buildUnnamed4617(); } buildCounterContextAttribute--; return o; @@ -185,17 +185,17 @@ void checkContextAttribute(api.ContextAttribute o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4604(o.values!); + checkUnnamed4617(o.values!); } buildCounterContextAttribute--; } -core.List buildUnnamed4605() => [ +core.List buildUnnamed4618() => [ buildItemCountByStatus(), buildItemCountByStatus(), ]; -void checkUnnamed4605(core.List o) { +void checkUnnamed4618(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkItemCountByStatus(o[0]); checkItemCountByStatus(o[1]); @@ -207,7 +207,7 @@ api.CustomerIndexStats buildCustomerIndexStats() { buildCounterCustomerIndexStats++; if (buildCounterCustomerIndexStats < 3) { o.date = buildDate(); - o.itemCountByStatus = buildUnnamed4605(); + o.itemCountByStatus = buildUnnamed4618(); } buildCounterCustomerIndexStats--; return o; @@ -217,17 +217,17 @@ void checkCustomerIndexStats(api.CustomerIndexStats o) { buildCounterCustomerIndexStats++; if (buildCounterCustomerIndexStats < 3) { checkDate(o.date!); - checkUnnamed4605(o.itemCountByStatus!); + checkUnnamed4618(o.itemCountByStatus!); } buildCounterCustomerIndexStats--; } -core.List buildUnnamed4606() => [ +core.List buildUnnamed4619() => [ buildQueryCountByStatus(), buildQueryCountByStatus(), ]; -void checkUnnamed4606(core.List o) { +void checkUnnamed4619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryCountByStatus(o[0]); checkQueryCountByStatus(o[1]); @@ -239,7 +239,7 @@ api.CustomerQueryStats buildCustomerQueryStats() { buildCounterCustomerQueryStats++; if (buildCounterCustomerQueryStats < 3) { o.date = buildDate(); - o.queryCountByStatus = buildUnnamed4606(); + o.queryCountByStatus = buildUnnamed4619(); } buildCounterCustomerQueryStats--; return o; @@ -249,7 +249,7 @@ void checkCustomerQueryStats(api.CustomerQueryStats o) { buildCounterCustomerQueryStats++; if (buildCounterCustomerQueryStats < 3) { checkDate(o.date!); - checkUnnamed4606(o.queryCountByStatus!); + checkUnnamed4619(o.queryCountByStatus!); } buildCounterCustomerQueryStats--; } @@ -333,12 +333,12 @@ void checkCustomerUserStats(api.CustomerUserStats o) { buildCounterCustomerUserStats--; } -core.List buildUnnamed4607() => [ +core.List buildUnnamed4620() => [ 'foo', 'foo', ]; -void checkUnnamed4607(core.List o) { +void checkUnnamed4620(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -350,23 +350,23 @@ void checkUnnamed4607(core.List o) { ); } -core.List buildUnnamed4608() => [ +core.List buildUnnamed4621() => [ buildGSuitePrincipal(), buildGSuitePrincipal(), ]; -void checkUnnamed4608(core.List o) { +void checkUnnamed4621(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGSuitePrincipal(o[0]); checkGSuitePrincipal(o[1]); } -core.List buildUnnamed4609() => [ +core.List buildUnnamed4622() => [ 'foo', 'foo', ]; -void checkUnnamed4609(core.List o) { +void checkUnnamed4622(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -386,10 +386,10 @@ api.DataSource buildDataSource() { o.disableModifications = true; o.disableServing = true; o.displayName = 'foo'; - o.indexingServiceAccounts = buildUnnamed4607(); - o.itemsVisibility = buildUnnamed4608(); + o.indexingServiceAccounts = buildUnnamed4620(); + o.itemsVisibility = buildUnnamed4621(); o.name = 'foo'; - o.operationIds = buildUnnamed4609(); + o.operationIds = buildUnnamed4622(); o.shortName = 'foo'; } buildCounterDataSource--; @@ -405,13 +405,13 @@ void checkDataSource(api.DataSource o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4607(o.indexingServiceAccounts!); - checkUnnamed4608(o.itemsVisibility!); + checkUnnamed4620(o.indexingServiceAccounts!); + checkUnnamed4621(o.itemsVisibility!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4609(o.operationIds!); + checkUnnamed4622(o.operationIds!); unittest.expect( o.shortName!, unittest.equals('foo'), @@ -420,12 +420,12 @@ void checkDataSource(api.DataSource o) { buildCounterDataSource--; } -core.List buildUnnamed4610() => [ +core.List buildUnnamed4623() => [ buildItemCountByStatus(), buildItemCountByStatus(), ]; -void checkUnnamed4610(core.List o) { +void checkUnnamed4623(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkItemCountByStatus(o[0]); checkItemCountByStatus(o[1]); @@ -437,7 +437,7 @@ api.DataSourceIndexStats buildDataSourceIndexStats() { buildCounterDataSourceIndexStats++; if (buildCounterDataSourceIndexStats < 3) { o.date = buildDate(); - o.itemCountByStatus = buildUnnamed4610(); + o.itemCountByStatus = buildUnnamed4623(); } buildCounterDataSourceIndexStats--; return o; @@ -447,17 +447,17 @@ void checkDataSourceIndexStats(api.DataSourceIndexStats o) { buildCounterDataSourceIndexStats++; if (buildCounterDataSourceIndexStats < 3) { checkDate(o.date!); - checkUnnamed4610(o.itemCountByStatus!); + checkUnnamed4623(o.itemCountByStatus!); } buildCounterDataSourceIndexStats--; } -core.List buildUnnamed4611() => [ +core.List buildUnnamed4624() => [ buildFilterOptions(), buildFilterOptions(), ]; -void checkUnnamed4611(core.List o) { +void checkUnnamed4624(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterOptions(o[0]); checkFilterOptions(o[1]); @@ -468,7 +468,7 @@ api.DataSourceRestriction buildDataSourceRestriction() { final o = api.DataSourceRestriction(); buildCounterDataSourceRestriction++; if (buildCounterDataSourceRestriction < 3) { - o.filterOptions = buildUnnamed4611(); + o.filterOptions = buildUnnamed4624(); o.source = buildSource(); } buildCounterDataSourceRestriction--; @@ -478,7 +478,7 @@ api.DataSourceRestriction buildDataSourceRestriction() { void checkDataSourceRestriction(api.DataSourceRestriction o) { buildCounterDataSourceRestriction++; if (buildCounterDataSourceRestriction < 3) { - checkUnnamed4611(o.filterOptions!); + checkUnnamed4624(o.filterOptions!); checkSource(o.source!); } buildCounterDataSourceRestriction--; @@ -567,12 +567,12 @@ void checkDatePropertyOptions(api.DatePropertyOptions o) { buildCounterDatePropertyOptions--; } -core.List buildUnnamed4612() => [ +core.List buildUnnamed4625() => [ buildDate(), buildDate(), ]; -void checkUnnamed4612(core.List o) { +void checkUnnamed4625(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDate(o[0]); checkDate(o[1]); @@ -583,7 +583,7 @@ api.DateValues buildDateValues() { final o = api.DateValues(); buildCounterDateValues++; if (buildCounterDateValues < 3) { - o.values = buildUnnamed4612(); + o.values = buildUnnamed4625(); } buildCounterDateValues--; return o; @@ -592,7 +592,7 @@ api.DateValues buildDateValues() { void checkDateValues(api.DateValues o) { buildCounterDateValues++; if (buildCounterDateValues < 3) { - checkUnnamed4612(o.values!); + checkUnnamed4625(o.values!); } buildCounterDateValues--; } @@ -708,12 +708,12 @@ void checkDoublePropertyOptions(api.DoublePropertyOptions o) { buildCounterDoublePropertyOptions--; } -core.List buildUnnamed4613() => [ +core.List buildUnnamed4626() => [ 42.0, 42.0, ]; -void checkUnnamed4613(core.List o) { +void checkUnnamed4626(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -730,7 +730,7 @@ api.DoubleValues buildDoubleValues() { final o = api.DoubleValues(); buildCounterDoubleValues++; if (buildCounterDoubleValues < 3) { - o.values = buildUnnamed4613(); + o.values = buildUnnamed4626(); } buildCounterDoubleValues--; return o; @@ -739,7 +739,7 @@ api.DoubleValues buildDoubleValues() { void checkDoubleValues(api.DoubleValues o) { buildCounterDoubleValues++; if (buildCounterDoubleValues < 3) { - checkUnnamed4613(o.values!); + checkUnnamed4626(o.values!); } buildCounterDoubleValues--; } @@ -876,12 +876,12 @@ void checkEnumOperatorOptions(api.EnumOperatorOptions o) { buildCounterEnumOperatorOptions--; } -core.List buildUnnamed4614() => [ +core.List buildUnnamed4627() => [ buildEnumValuePair(), buildEnumValuePair(), ]; -void checkUnnamed4614(core.List o) { +void checkUnnamed4627(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnumValuePair(o[0]); checkEnumValuePair(o[1]); @@ -894,7 +894,7 @@ api.EnumPropertyOptions buildEnumPropertyOptions() { if (buildCounterEnumPropertyOptions < 3) { o.operatorOptions = buildEnumOperatorOptions(); o.orderedRanking = 'foo'; - o.possibleValues = buildUnnamed4614(); + o.possibleValues = buildUnnamed4627(); } buildCounterEnumPropertyOptions--; return o; @@ -908,7 +908,7 @@ void checkEnumPropertyOptions(api.EnumPropertyOptions o) { o.orderedRanking!, unittest.equals('foo'), ); - checkUnnamed4614(o.possibleValues!); + checkUnnamed4627(o.possibleValues!); } buildCounterEnumPropertyOptions--; } @@ -940,12 +940,12 @@ void checkEnumValuePair(api.EnumValuePair o) { buildCounterEnumValuePair--; } -core.List buildUnnamed4615() => [ +core.List buildUnnamed4628() => [ 'foo', 'foo', ]; -void checkUnnamed4615(core.List o) { +void checkUnnamed4628(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -962,7 +962,7 @@ api.EnumValues buildEnumValues() { final o = api.EnumValues(); buildCounterEnumValues++; if (buildCounterEnumValues < 3) { - o.values = buildUnnamed4615(); + o.values = buildUnnamed4628(); } buildCounterEnumValues--; return o; @@ -971,17 +971,17 @@ api.EnumValues buildEnumValues() { void checkEnumValues(api.EnumValues o) { buildCounterEnumValues++; if (buildCounterEnumValues < 3) { - checkUnnamed4615(o.values!); + checkUnnamed4628(o.values!); } buildCounterEnumValues--; } -core.List buildUnnamed4616() => [ +core.List buildUnnamed4629() => [ buildErrorMessage(), buildErrorMessage(), ]; -void checkUnnamed4616(core.List o) { +void checkUnnamed4629(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorMessage(o[0]); checkErrorMessage(o[1]); @@ -992,7 +992,7 @@ api.ErrorInfo buildErrorInfo() { final o = api.ErrorInfo(); buildCounterErrorInfo++; if (buildCounterErrorInfo < 3) { - o.errorMessages = buildUnnamed4616(); + o.errorMessages = buildUnnamed4629(); } buildCounterErrorInfo--; return o; @@ -1001,7 +1001,7 @@ api.ErrorInfo buildErrorInfo() { void checkErrorInfo(api.ErrorInfo o) { buildCounterErrorInfo++; if (buildCounterErrorInfo < 3) { - checkUnnamed4616(o.errorMessages!); + checkUnnamed4629(o.errorMessages!); } buildCounterErrorInfo--; } @@ -1096,12 +1096,12 @@ void checkFacetOptions(api.FacetOptions o) { buildCounterFacetOptions--; } -core.List buildUnnamed4617() => [ +core.List buildUnnamed4630() => [ buildFacetBucket(), buildFacetBucket(), ]; -void checkUnnamed4617(core.List o) { +void checkUnnamed4630(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFacetBucket(o[0]); checkFacetBucket(o[1]); @@ -1112,7 +1112,7 @@ api.FacetResult buildFacetResult() { final o = api.FacetResult(); buildCounterFacetResult++; if (buildCounterFacetResult < 3) { - o.buckets = buildUnnamed4617(); + o.buckets = buildUnnamed4630(); o.objectType = 'foo'; o.operatorName = 'foo'; o.sourceName = 'foo'; @@ -1124,7 +1124,7 @@ api.FacetResult buildFacetResult() { void checkFacetResult(api.FacetResult o) { buildCounterFacetResult++; if (buildCounterFacetResult < 3) { - checkUnnamed4617(o.buckets!); + checkUnnamed4630(o.buckets!); unittest.expect( o.objectType!, unittest.equals('foo'), @@ -1269,12 +1269,12 @@ void checkGSuitePrincipal(api.GSuitePrincipal o) { buildCounterGSuitePrincipal--; } -core.List buildUnnamed4618() => [ +core.List buildUnnamed4631() => [ buildCustomerIndexStats(), buildCustomerIndexStats(), ]; -void checkUnnamed4618(core.List o) { +void checkUnnamed4631(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomerIndexStats(o[0]); checkCustomerIndexStats(o[1]); @@ -1285,7 +1285,7 @@ api.GetCustomerIndexStatsResponse buildGetCustomerIndexStatsResponse() { final o = api.GetCustomerIndexStatsResponse(); buildCounterGetCustomerIndexStatsResponse++; if (buildCounterGetCustomerIndexStatsResponse < 3) { - o.stats = buildUnnamed4618(); + o.stats = buildUnnamed4631(); } buildCounterGetCustomerIndexStatsResponse--; return o; @@ -1294,17 +1294,17 @@ api.GetCustomerIndexStatsResponse buildGetCustomerIndexStatsResponse() { void checkGetCustomerIndexStatsResponse(api.GetCustomerIndexStatsResponse o) { buildCounterGetCustomerIndexStatsResponse++; if (buildCounterGetCustomerIndexStatsResponse < 3) { - checkUnnamed4618(o.stats!); + checkUnnamed4631(o.stats!); } buildCounterGetCustomerIndexStatsResponse--; } -core.List buildUnnamed4619() => [ +core.List buildUnnamed4632() => [ buildCustomerQueryStats(), buildCustomerQueryStats(), ]; -void checkUnnamed4619(core.List o) { +void checkUnnamed4632(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomerQueryStats(o[0]); checkCustomerQueryStats(o[1]); @@ -1315,7 +1315,7 @@ api.GetCustomerQueryStatsResponse buildGetCustomerQueryStatsResponse() { final o = api.GetCustomerQueryStatsResponse(); buildCounterGetCustomerQueryStatsResponse++; if (buildCounterGetCustomerQueryStatsResponse < 3) { - o.stats = buildUnnamed4619(); + o.stats = buildUnnamed4632(); } buildCounterGetCustomerQueryStatsResponse--; return o; @@ -1324,17 +1324,17 @@ api.GetCustomerQueryStatsResponse buildGetCustomerQueryStatsResponse() { void checkGetCustomerQueryStatsResponse(api.GetCustomerQueryStatsResponse o) { buildCounterGetCustomerQueryStatsResponse++; if (buildCounterGetCustomerQueryStatsResponse < 3) { - checkUnnamed4619(o.stats!); + checkUnnamed4632(o.stats!); } buildCounterGetCustomerQueryStatsResponse--; } -core.List buildUnnamed4620() => [ +core.List buildUnnamed4633() => [ buildCustomerSessionStats(), buildCustomerSessionStats(), ]; -void checkUnnamed4620(core.List o) { +void checkUnnamed4633(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomerSessionStats(o[0]); checkCustomerSessionStats(o[1]); @@ -1345,7 +1345,7 @@ api.GetCustomerSessionStatsResponse buildGetCustomerSessionStatsResponse() { final o = api.GetCustomerSessionStatsResponse(); buildCounterGetCustomerSessionStatsResponse++; if (buildCounterGetCustomerSessionStatsResponse < 3) { - o.stats = buildUnnamed4620(); + o.stats = buildUnnamed4633(); } buildCounterGetCustomerSessionStatsResponse--; return o; @@ -1355,17 +1355,17 @@ void checkGetCustomerSessionStatsResponse( api.GetCustomerSessionStatsResponse o) { buildCounterGetCustomerSessionStatsResponse++; if (buildCounterGetCustomerSessionStatsResponse < 3) { - checkUnnamed4620(o.stats!); + checkUnnamed4633(o.stats!); } buildCounterGetCustomerSessionStatsResponse--; } -core.List buildUnnamed4621() => [ +core.List buildUnnamed4634() => [ buildCustomerUserStats(), buildCustomerUserStats(), ]; -void checkUnnamed4621(core.List o) { +void checkUnnamed4634(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomerUserStats(o[0]); checkCustomerUserStats(o[1]); @@ -1376,7 +1376,7 @@ api.GetCustomerUserStatsResponse buildGetCustomerUserStatsResponse() { final o = api.GetCustomerUserStatsResponse(); buildCounterGetCustomerUserStatsResponse++; if (buildCounterGetCustomerUserStatsResponse < 3) { - o.stats = buildUnnamed4621(); + o.stats = buildUnnamed4634(); } buildCounterGetCustomerUserStatsResponse--; return o; @@ -1385,17 +1385,17 @@ api.GetCustomerUserStatsResponse buildGetCustomerUserStatsResponse() { void checkGetCustomerUserStatsResponse(api.GetCustomerUserStatsResponse o) { buildCounterGetCustomerUserStatsResponse++; if (buildCounterGetCustomerUserStatsResponse < 3) { - checkUnnamed4621(o.stats!); + checkUnnamed4634(o.stats!); } buildCounterGetCustomerUserStatsResponse--; } -core.List buildUnnamed4622() => [ +core.List buildUnnamed4635() => [ buildDataSourceIndexStats(), buildDataSourceIndexStats(), ]; -void checkUnnamed4622(core.List o) { +void checkUnnamed4635(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceIndexStats(o[0]); checkDataSourceIndexStats(o[1]); @@ -1406,7 +1406,7 @@ api.GetDataSourceIndexStatsResponse buildGetDataSourceIndexStatsResponse() { final o = api.GetDataSourceIndexStatsResponse(); buildCounterGetDataSourceIndexStatsResponse++; if (buildCounterGetDataSourceIndexStatsResponse < 3) { - o.stats = buildUnnamed4622(); + o.stats = buildUnnamed4635(); } buildCounterGetDataSourceIndexStatsResponse--; return o; @@ -1416,17 +1416,17 @@ void checkGetDataSourceIndexStatsResponse( api.GetDataSourceIndexStatsResponse o) { buildCounterGetDataSourceIndexStatsResponse++; if (buildCounterGetDataSourceIndexStatsResponse < 3) { - checkUnnamed4622(o.stats!); + checkUnnamed4635(o.stats!); } buildCounterGetDataSourceIndexStatsResponse--; } -core.List buildUnnamed4623() => [ +core.List buildUnnamed4636() => [ buildSearchApplicationQueryStats(), buildSearchApplicationQueryStats(), ]; -void checkUnnamed4623(core.List o) { +void checkUnnamed4636(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchApplicationQueryStats(o[0]); checkSearchApplicationQueryStats(o[1]); @@ -1438,7 +1438,7 @@ api.GetSearchApplicationQueryStatsResponse final o = api.GetSearchApplicationQueryStatsResponse(); buildCounterGetSearchApplicationQueryStatsResponse++; if (buildCounterGetSearchApplicationQueryStatsResponse < 3) { - o.stats = buildUnnamed4623(); + o.stats = buildUnnamed4636(); } buildCounterGetSearchApplicationQueryStatsResponse--; return o; @@ -1448,17 +1448,17 @@ void checkGetSearchApplicationQueryStatsResponse( api.GetSearchApplicationQueryStatsResponse o) { buildCounterGetSearchApplicationQueryStatsResponse++; if (buildCounterGetSearchApplicationQueryStatsResponse < 3) { - checkUnnamed4623(o.stats!); + checkUnnamed4636(o.stats!); } buildCounterGetSearchApplicationQueryStatsResponse--; } -core.List buildUnnamed4624() => [ +core.List buildUnnamed4637() => [ buildSearchApplicationSessionStats(), buildSearchApplicationSessionStats(), ]; -void checkUnnamed4624(core.List o) { +void checkUnnamed4637(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchApplicationSessionStats(o[0]); checkSearchApplicationSessionStats(o[1]); @@ -1470,7 +1470,7 @@ api.GetSearchApplicationSessionStatsResponse final o = api.GetSearchApplicationSessionStatsResponse(); buildCounterGetSearchApplicationSessionStatsResponse++; if (buildCounterGetSearchApplicationSessionStatsResponse < 3) { - o.stats = buildUnnamed4624(); + o.stats = buildUnnamed4637(); } buildCounterGetSearchApplicationSessionStatsResponse--; return o; @@ -1480,17 +1480,17 @@ void checkGetSearchApplicationSessionStatsResponse( api.GetSearchApplicationSessionStatsResponse o) { buildCounterGetSearchApplicationSessionStatsResponse++; if (buildCounterGetSearchApplicationSessionStatsResponse < 3) { - checkUnnamed4624(o.stats!); + checkUnnamed4637(o.stats!); } buildCounterGetSearchApplicationSessionStatsResponse--; } -core.List buildUnnamed4625() => [ +core.List buildUnnamed4638() => [ buildSearchApplicationUserStats(), buildSearchApplicationUserStats(), ]; -void checkUnnamed4625(core.List o) { +void checkUnnamed4638(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchApplicationUserStats(o[0]); checkSearchApplicationUserStats(o[1]); @@ -1502,7 +1502,7 @@ api.GetSearchApplicationUserStatsResponse final o = api.GetSearchApplicationUserStatsResponse(); buildCounterGetSearchApplicationUserStatsResponse++; if (buildCounterGetSearchApplicationUserStatsResponse < 3) { - o.stats = buildUnnamed4625(); + o.stats = buildUnnamed4638(); } buildCounterGetSearchApplicationUserStatsResponse--; return o; @@ -1512,7 +1512,7 @@ void checkGetSearchApplicationUserStatsResponse( api.GetSearchApplicationUserStatsResponse o) { buildCounterGetSearchApplicationUserStatsResponse++; if (buildCounterGetSearchApplicationUserStatsResponse < 3) { - checkUnnamed4625(o.stats!); + checkUnnamed4638(o.stats!); } buildCounterGetSearchApplicationUserStatsResponse--; } @@ -1560,12 +1560,12 @@ void checkHtmlPropertyOptions(api.HtmlPropertyOptions o) { buildCounterHtmlPropertyOptions--; } -core.List buildUnnamed4626() => [ +core.List buildUnnamed4639() => [ 'foo', 'foo', ]; -void checkUnnamed4626(core.List o) { +void checkUnnamed4639(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1582,7 +1582,7 @@ api.HtmlValues buildHtmlValues() { final o = api.HtmlValues(); buildCounterHtmlValues++; if (buildCounterHtmlValues < 3) { - o.values = buildUnnamed4626(); + o.values = buildUnnamed4639(); } buildCounterHtmlValues--; return o; @@ -1591,7 +1591,7 @@ api.HtmlValues buildHtmlValues() { void checkHtmlValues(api.HtmlValues o) { buildCounterHtmlValues++; if (buildCounterHtmlValues < 3) { - checkUnnamed4626(o.values!); + checkUnnamed4639(o.values!); } buildCounterHtmlValues--; } @@ -1714,12 +1714,12 @@ void checkIntegerPropertyOptions(api.IntegerPropertyOptions o) { buildCounterIntegerPropertyOptions--; } -core.List buildUnnamed4627() => [ +core.List buildUnnamed4640() => [ 'foo', 'foo', ]; -void checkUnnamed4627(core.List o) { +void checkUnnamed4640(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1736,7 +1736,7 @@ api.IntegerValues buildIntegerValues() { final o = api.IntegerValues(); buildCounterIntegerValues++; if (buildCounterIntegerValues < 3) { - o.values = buildUnnamed4627(); + o.values = buildUnnamed4640(); } buildCounterIntegerValues--; return o; @@ -1745,7 +1745,7 @@ api.IntegerValues buildIntegerValues() { void checkIntegerValues(api.IntegerValues o) { buildCounterIntegerValues++; if (buildCounterIntegerValues < 3) { - checkUnnamed4627(o.values!); + checkUnnamed4640(o.values!); } buildCounterIntegerValues--; } @@ -1831,34 +1831,34 @@ void checkItem(api.Item o) { buildCounterItem--; } -core.List buildUnnamed4628() => [ +core.List buildUnnamed4641() => [ buildPrincipal(), buildPrincipal(), ]; -void checkUnnamed4628(core.List o) { +void checkUnnamed4641(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrincipal(o[0]); checkPrincipal(o[1]); } -core.List buildUnnamed4629() => [ +core.List buildUnnamed4642() => [ buildPrincipal(), buildPrincipal(), ]; -void checkUnnamed4629(core.List o) { +void checkUnnamed4642(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrincipal(o[0]); checkPrincipal(o[1]); } -core.List buildUnnamed4630() => [ +core.List buildUnnamed4643() => [ buildPrincipal(), buildPrincipal(), ]; -void checkUnnamed4630(core.List o) { +void checkUnnamed4643(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrincipal(o[0]); checkPrincipal(o[1]); @@ -1870,10 +1870,10 @@ api.ItemAcl buildItemAcl() { buildCounterItemAcl++; if (buildCounterItemAcl < 3) { o.aclInheritanceType = 'foo'; - o.deniedReaders = buildUnnamed4628(); + o.deniedReaders = buildUnnamed4641(); o.inheritAclFrom = 'foo'; - o.owners = buildUnnamed4629(); - o.readers = buildUnnamed4630(); + o.owners = buildUnnamed4642(); + o.readers = buildUnnamed4643(); } buildCounterItemAcl--; return o; @@ -1886,13 +1886,13 @@ void checkItemAcl(api.ItemAcl o) { o.aclInheritanceType!, unittest.equals('foo'), ); - checkUnnamed4628(o.deniedReaders!); + checkUnnamed4641(o.deniedReaders!); unittest.expect( o.inheritAclFrom!, unittest.equals('foo'), ); - checkUnnamed4629(o.owners!); - checkUnnamed4630(o.readers!); + checkUnnamed4642(o.owners!); + checkUnnamed4643(o.readers!); } buildCounterItemAcl--; } @@ -1958,34 +1958,34 @@ void checkItemCountByStatus(api.ItemCountByStatus o) { buildCounterItemCountByStatus--; } -core.List buildUnnamed4631() => [ +core.List buildUnnamed4644() => [ buildContextAttribute(), buildContextAttribute(), ]; -void checkUnnamed4631(core.List o) { +void checkUnnamed4644(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextAttribute(o[0]); checkContextAttribute(o[1]); } -core.List buildUnnamed4632() => [ +core.List buildUnnamed4645() => [ buildInteraction(), buildInteraction(), ]; -void checkUnnamed4632(core.List o) { +void checkUnnamed4645(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInteraction(o[0]); checkInteraction(o[1]); } -core.List buildUnnamed4633() => [ +core.List buildUnnamed4646() => [ 'foo', 'foo', ]; -void checkUnnamed4633(core.List o) { +void checkUnnamed4646(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2004,11 +2004,11 @@ api.ItemMetadata buildItemMetadata() { if (buildCounterItemMetadata < 3) { o.containerName = 'foo'; o.contentLanguage = 'foo'; - o.contextAttributes = buildUnnamed4631(); + o.contextAttributes = buildUnnamed4644(); o.createTime = 'foo'; o.hash = 'foo'; - o.interactions = buildUnnamed4632(); - o.keywords = buildUnnamed4633(); + o.interactions = buildUnnamed4645(); + o.keywords = buildUnnamed4646(); o.mimeType = 'foo'; o.objectType = 'foo'; o.searchQualityMetadata = buildSearchQualityMetadata(); @@ -2031,7 +2031,7 @@ void checkItemMetadata(api.ItemMetadata o) { o.contentLanguage!, unittest.equals('foo'), ); - checkUnnamed4631(o.contextAttributes!); + checkUnnamed4644(o.contextAttributes!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2040,8 +2040,8 @@ void checkItemMetadata(api.ItemMetadata o) { o.hash!, unittest.equals('foo'), ); - checkUnnamed4632(o.interactions!); - checkUnnamed4633(o.keywords!); + checkUnnamed4645(o.interactions!); + checkUnnamed4646(o.keywords!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -2067,23 +2067,23 @@ void checkItemMetadata(api.ItemMetadata o) { buildCounterItemMetadata--; } -core.List buildUnnamed4634() => [ +core.List buildUnnamed4647() => [ buildProcessingError(), buildProcessingError(), ]; -void checkUnnamed4634(core.List o) { +void checkUnnamed4647(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProcessingError(o[0]); checkProcessingError(o[1]); } -core.List buildUnnamed4635() => [ +core.List buildUnnamed4648() => [ buildRepositoryError(), buildRepositoryError(), ]; -void checkUnnamed4635(core.List o) { +void checkUnnamed4648(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepositoryError(o[0]); checkRepositoryError(o[1]); @@ -2095,8 +2095,8 @@ api.ItemStatus buildItemStatus() { buildCounterItemStatus++; if (buildCounterItemStatus < 3) { o.code = 'foo'; - o.processingErrors = buildUnnamed4634(); - o.repositoryErrors = buildUnnamed4635(); + o.processingErrors = buildUnnamed4647(); + o.repositoryErrors = buildUnnamed4648(); } buildCounterItemStatus--; return o; @@ -2109,8 +2109,8 @@ void checkItemStatus(api.ItemStatus o) { o.code!, unittest.equals('foo'), ); - checkUnnamed4634(o.processingErrors!); - checkUnnamed4635(o.repositoryErrors!); + checkUnnamed4647(o.processingErrors!); + checkUnnamed4648(o.repositoryErrors!); } buildCounterItemStatus--; } @@ -2139,12 +2139,12 @@ void checkItemStructuredData(api.ItemStructuredData o) { buildCounterItemStructuredData--; } -core.List buildUnnamed4636() => [ +core.List buildUnnamed4649() => [ buildDataSource(), buildDataSource(), ]; -void checkUnnamed4636(core.List o) { +void checkUnnamed4649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSource(o[0]); checkDataSource(o[1]); @@ -2156,7 +2156,7 @@ api.ListDataSourceResponse buildListDataSourceResponse() { buildCounterListDataSourceResponse++; if (buildCounterListDataSourceResponse < 3) { o.nextPageToken = 'foo'; - o.sources = buildUnnamed4636(); + o.sources = buildUnnamed4649(); } buildCounterListDataSourceResponse--; return o; @@ -2169,17 +2169,17 @@ void checkListDataSourceResponse(api.ListDataSourceResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4636(o.sources!); + checkUnnamed4649(o.sources!); } buildCounterListDataSourceResponse--; } -core.List buildUnnamed4637() => [ +core.List buildUnnamed4650() => [ 'foo', 'foo', ]; -void checkUnnamed4637(core.List o) { +void checkUnnamed4650(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2197,7 +2197,7 @@ api.ListItemNamesForUnmappedIdentityResponse final o = api.ListItemNamesForUnmappedIdentityResponse(); buildCounterListItemNamesForUnmappedIdentityResponse++; if (buildCounterListItemNamesForUnmappedIdentityResponse < 3) { - o.itemNames = buildUnnamed4637(); + o.itemNames = buildUnnamed4650(); o.nextPageToken = 'foo'; } buildCounterListItemNamesForUnmappedIdentityResponse--; @@ -2208,7 +2208,7 @@ void checkListItemNamesForUnmappedIdentityResponse( api.ListItemNamesForUnmappedIdentityResponse o) { buildCounterListItemNamesForUnmappedIdentityResponse++; if (buildCounterListItemNamesForUnmappedIdentityResponse < 3) { - checkUnnamed4637(o.itemNames!); + checkUnnamed4650(o.itemNames!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2217,12 +2217,12 @@ void checkListItemNamesForUnmappedIdentityResponse( buildCounterListItemNamesForUnmappedIdentityResponse--; } -core.List buildUnnamed4638() => [ +core.List buildUnnamed4651() => [ buildItem(), buildItem(), ]; -void checkUnnamed4638(core.List o) { +void checkUnnamed4651(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkItem(o[0]); checkItem(o[1]); @@ -2233,7 +2233,7 @@ api.ListItemsResponse buildListItemsResponse() { final o = api.ListItemsResponse(); buildCounterListItemsResponse++; if (buildCounterListItemsResponse < 3) { - o.items = buildUnnamed4638(); + o.items = buildUnnamed4651(); o.nextPageToken = 'foo'; } buildCounterListItemsResponse--; @@ -2243,7 +2243,7 @@ api.ListItemsResponse buildListItemsResponse() { void checkListItemsResponse(api.ListItemsResponse o) { buildCounterListItemsResponse++; if (buildCounterListItemsResponse < 3) { - checkUnnamed4638(o.items!); + checkUnnamed4651(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2252,12 +2252,12 @@ void checkListItemsResponse(api.ListItemsResponse o) { buildCounterListItemsResponse--; } -core.List buildUnnamed4639() => [ +core.List buildUnnamed4652() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4639(core.List o) { +void checkUnnamed4652(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2269,7 +2269,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4639(); + o.operations = buildUnnamed4652(); } buildCounterListOperationsResponse--; return o; @@ -2282,17 +2282,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4639(o.operations!); + checkUnnamed4652(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed4640() => [ +core.List buildUnnamed4653() => [ buildQuerySource(), buildQuerySource(), ]; -void checkUnnamed4640(core.List o) { +void checkUnnamed4653(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuerySource(o[0]); checkQuerySource(o[1]); @@ -2304,7 +2304,7 @@ api.ListQuerySourcesResponse buildListQuerySourcesResponse() { buildCounterListQuerySourcesResponse++; if (buildCounterListQuerySourcesResponse < 3) { o.nextPageToken = 'foo'; - o.sources = buildUnnamed4640(); + o.sources = buildUnnamed4653(); } buildCounterListQuerySourcesResponse--; return o; @@ -2317,17 +2317,17 @@ void checkListQuerySourcesResponse(api.ListQuerySourcesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4640(o.sources!); + checkUnnamed4653(o.sources!); } buildCounterListQuerySourcesResponse--; } -core.List buildUnnamed4641() => [ +core.List buildUnnamed4654() => [ buildSearchApplication(), buildSearchApplication(), ]; -void checkUnnamed4641(core.List o) { +void checkUnnamed4654(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchApplication(o[0]); checkSearchApplication(o[1]); @@ -2339,7 +2339,7 @@ api.ListSearchApplicationsResponse buildListSearchApplicationsResponse() { buildCounterListSearchApplicationsResponse++; if (buildCounterListSearchApplicationsResponse < 3) { o.nextPageToken = 'foo'; - o.searchApplications = buildUnnamed4641(); + o.searchApplications = buildUnnamed4654(); } buildCounterListSearchApplicationsResponse--; return o; @@ -2352,17 +2352,17 @@ void checkListSearchApplicationsResponse(api.ListSearchApplicationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4641(o.searchApplications!); + checkUnnamed4654(o.searchApplications!); } buildCounterListSearchApplicationsResponse--; } -core.List buildUnnamed4642() => [ +core.List buildUnnamed4655() => [ buildUnmappedIdentity(), buildUnmappedIdentity(), ]; -void checkUnnamed4642(core.List o) { +void checkUnnamed4655(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUnmappedIdentity(o[0]); checkUnmappedIdentity(o[1]); @@ -2374,7 +2374,7 @@ api.ListUnmappedIdentitiesResponse buildListUnmappedIdentitiesResponse() { buildCounterListUnmappedIdentitiesResponse++; if (buildCounterListUnmappedIdentitiesResponse < 3) { o.nextPageToken = 'foo'; - o.unmappedIdentities = buildUnnamed4642(); + o.unmappedIdentities = buildUnnamed4655(); } buildCounterListUnmappedIdentitiesResponse--; return o; @@ -2387,7 +2387,7 @@ void checkListUnmappedIdentitiesResponse(api.ListUnmappedIdentitiesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4642(o.unmappedIdentities!); + checkUnnamed4655(o.unmappedIdentities!); } buildCounterListUnmappedIdentitiesResponse--; } @@ -2441,12 +2441,12 @@ void checkMedia(api.Media o) { buildCounterMedia--; } -core.List buildUnnamed4643() => [ +core.List buildUnnamed4656() => [ buildNamedProperty(), buildNamedProperty(), ]; -void checkUnnamed4643(core.List o) { +void checkUnnamed4656(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedProperty(o[0]); checkNamedProperty(o[1]); @@ -2459,7 +2459,7 @@ api.Metadata buildMetadata() { if (buildCounterMetadata < 3) { o.createTime = 'foo'; o.displayOptions = buildResultDisplayMetadata(); - o.fields = buildUnnamed4643(); + o.fields = buildUnnamed4656(); o.mimeType = 'foo'; o.objectType = 'foo'; o.owner = buildPerson(); @@ -2478,7 +2478,7 @@ void checkMetadata(api.Metadata o) { unittest.equals('foo'), ); checkResultDisplayMetadata(o.displayOptions!); - checkUnnamed4643(o.fields!); + checkUnnamed4656(o.fields!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -2497,12 +2497,12 @@ void checkMetadata(api.Metadata o) { buildCounterMetadata--; } -core.List buildUnnamed4644() => [ +core.List buildUnnamed4657() => [ buildDisplayedProperty(), buildDisplayedProperty(), ]; -void checkUnnamed4644(core.List o) { +void checkUnnamed4657(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisplayedProperty(o[0]); checkDisplayedProperty(o[1]); @@ -2513,7 +2513,7 @@ api.Metaline buildMetaline() { final o = api.Metaline(); buildCounterMetaline++; if (buildCounterMetaline < 3) { - o.properties = buildUnnamed4644(); + o.properties = buildUnnamed4657(); } buildCounterMetaline--; return o; @@ -2522,7 +2522,7 @@ api.Metaline buildMetaline() { void checkMetaline(api.Metaline o) { buildCounterMetaline++; if (buildCounterMetaline < 3) { - checkUnnamed4644(o.properties!); + checkUnnamed4657(o.properties!); } buildCounterMetaline--; } @@ -2589,12 +2589,12 @@ void checkNamedProperty(api.NamedProperty o) { buildCounterNamedProperty--; } -core.List buildUnnamed4645() => [ +core.List buildUnnamed4658() => [ buildPropertyDefinition(), buildPropertyDefinition(), ]; -void checkUnnamed4645(core.List o) { +void checkUnnamed4658(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyDefinition(o[0]); checkPropertyDefinition(o[1]); @@ -2607,7 +2607,7 @@ api.ObjectDefinition buildObjectDefinition() { if (buildCounterObjectDefinition < 3) { o.name = 'foo'; o.options = buildObjectOptions(); - o.propertyDefinitions = buildUnnamed4645(); + o.propertyDefinitions = buildUnnamed4658(); } buildCounterObjectDefinition--; return o; @@ -2621,17 +2621,17 @@ void checkObjectDefinition(api.ObjectDefinition o) { unittest.equals('foo'), ); checkObjectOptions(o.options!); - checkUnnamed4645(o.propertyDefinitions!); + checkUnnamed4658(o.propertyDefinitions!); } buildCounterObjectDefinition--; } -core.List buildUnnamed4646() => [ +core.List buildUnnamed4659() => [ buildMetaline(), buildMetaline(), ]; -void checkUnnamed4646(core.List o) { +void checkUnnamed4659(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetaline(o[0]); checkMetaline(o[1]); @@ -2642,7 +2642,7 @@ api.ObjectDisplayOptions buildObjectDisplayOptions() { final o = api.ObjectDisplayOptions(); buildCounterObjectDisplayOptions++; if (buildCounterObjectDisplayOptions < 3) { - o.metalines = buildUnnamed4646(); + o.metalines = buildUnnamed4659(); o.objectDisplayLabel = 'foo'; } buildCounterObjectDisplayOptions--; @@ -2652,7 +2652,7 @@ api.ObjectDisplayOptions buildObjectDisplayOptions() { void checkObjectDisplayOptions(api.ObjectDisplayOptions o) { buildCounterObjectDisplayOptions++; if (buildCounterObjectDisplayOptions < 3) { - checkUnnamed4646(o.metalines!); + checkUnnamed4659(o.metalines!); unittest.expect( o.objectDisplayLabel!, unittest.equals('foo'), @@ -2682,12 +2682,12 @@ void checkObjectOptions(api.ObjectOptions o) { buildCounterObjectOptions--; } -core.List buildUnnamed4647() => [ +core.List buildUnnamed4660() => [ buildPropertyDefinition(), buildPropertyDefinition(), ]; -void checkUnnamed4647(core.List o) { +void checkUnnamed4660(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyDefinition(o[0]); checkPropertyDefinition(o[1]); @@ -2698,7 +2698,7 @@ api.ObjectPropertyOptions buildObjectPropertyOptions() { final o = api.ObjectPropertyOptions(); buildCounterObjectPropertyOptions++; if (buildCounterObjectPropertyOptions < 3) { - o.subobjectProperties = buildUnnamed4647(); + o.subobjectProperties = buildUnnamed4660(); } buildCounterObjectPropertyOptions--; return o; @@ -2707,17 +2707,17 @@ api.ObjectPropertyOptions buildObjectPropertyOptions() { void checkObjectPropertyOptions(api.ObjectPropertyOptions o) { buildCounterObjectPropertyOptions++; if (buildCounterObjectPropertyOptions < 3) { - checkUnnamed4647(o.subobjectProperties!); + checkUnnamed4660(o.subobjectProperties!); } buildCounterObjectPropertyOptions--; } -core.List buildUnnamed4648() => [ +core.List buildUnnamed4661() => [ buildStructuredDataObject(), buildStructuredDataObject(), ]; -void checkUnnamed4648(core.List o) { +void checkUnnamed4661(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuredDataObject(o[0]); checkStructuredDataObject(o[1]); @@ -2728,7 +2728,7 @@ api.ObjectValues buildObjectValues() { final o = api.ObjectValues(); buildCounterObjectValues++; if (buildCounterObjectValues < 3) { - o.values = buildUnnamed4648(); + o.values = buildUnnamed4661(); } buildCounterObjectValues--; return o; @@ -2737,12 +2737,12 @@ api.ObjectValues buildObjectValues() { void checkObjectValues(api.ObjectValues o) { buildCounterObjectValues++; if (buildCounterObjectValues < 3) { - checkUnnamed4648(o.values!); + checkUnnamed4661(o.values!); } buildCounterObjectValues--; } -core.Map buildUnnamed4649() => { +core.Map buildUnnamed4662() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2755,7 +2755,7 @@ core.Map buildUnnamed4649() => { }, }; -void checkUnnamed4649(core.Map o) { +void checkUnnamed4662(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2787,7 +2787,7 @@ void checkUnnamed4649(core.Map o) { ); } -core.Map buildUnnamed4650() => { +core.Map buildUnnamed4663() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2800,7 +2800,7 @@ core.Map buildUnnamed4650() => { }, }; -void checkUnnamed4650(core.Map o) { +void checkUnnamed4663(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2839,9 +2839,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4649(); + o.metadata = buildUnnamed4662(); o.name = 'foo'; - o.response = buildUnnamed4650(); + o.response = buildUnnamed4663(); } buildCounterOperation--; return o; @@ -2852,12 +2852,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4649(o.metadata!); + checkUnnamed4662(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4650(o.response!); + checkUnnamed4663(o.response!); } buildCounterOperation--; } @@ -2881,34 +2881,34 @@ void checkPeopleSuggestion(api.PeopleSuggestion o) { buildCounterPeopleSuggestion--; } -core.List buildUnnamed4651() => [ +core.List buildUnnamed4664() => [ buildEmailAddress(), buildEmailAddress(), ]; -void checkUnnamed4651(core.List o) { +void checkUnnamed4664(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEmailAddress(o[0]); checkEmailAddress(o[1]); } -core.List buildUnnamed4652() => [ +core.List buildUnnamed4665() => [ buildName(), buildName(), ]; -void checkUnnamed4652(core.List o) { +void checkUnnamed4665(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkName(o[0]); checkName(o[1]); } -core.List buildUnnamed4653() => [ +core.List buildUnnamed4666() => [ buildPhoto(), buildPhoto(), ]; -void checkUnnamed4653(core.List o) { +void checkUnnamed4666(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhoto(o[0]); checkPhoto(o[1]); @@ -2919,11 +2919,11 @@ api.Person buildPerson() { final o = api.Person(); buildCounterPerson++; if (buildCounterPerson < 3) { - o.emailAddresses = buildUnnamed4651(); + o.emailAddresses = buildUnnamed4664(); o.name = 'foo'; o.obfuscatedId = 'foo'; - o.personNames = buildUnnamed4652(); - o.photos = buildUnnamed4653(); + o.personNames = buildUnnamed4665(); + o.photos = buildUnnamed4666(); } buildCounterPerson--; return o; @@ -2932,7 +2932,7 @@ api.Person buildPerson() { void checkPerson(api.Person o) { buildCounterPerson++; if (buildCounterPerson < 3) { - checkUnnamed4651(o.emailAddresses!); + checkUnnamed4664(o.emailAddresses!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2941,8 +2941,8 @@ void checkPerson(api.Person o) { o.obfuscatedId!, unittest.equals('foo'), ); - checkUnnamed4652(o.personNames!); - checkUnnamed4653(o.photos!); + checkUnnamed4665(o.personNames!); + checkUnnamed4666(o.photos!); } buildCounterPerson--; } @@ -2969,12 +2969,12 @@ void checkPhoto(api.Photo o) { buildCounterPhoto--; } -core.List buildUnnamed4654() => [ +core.List buildUnnamed4667() => [ 'foo', 'foo', ]; -void checkUnnamed4654(core.List o) { +void checkUnnamed4667(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2995,7 +2995,7 @@ api.PollItemsRequest buildPollItemsRequest() { o.debugOptions = buildDebugOptions(); o.limit = 42; o.queue = 'foo'; - o.statusCodes = buildUnnamed4654(); + o.statusCodes = buildUnnamed4667(); } buildCounterPollItemsRequest--; return o; @@ -3017,17 +3017,17 @@ void checkPollItemsRequest(api.PollItemsRequest o) { o.queue!, unittest.equals('foo'), ); - checkUnnamed4654(o.statusCodes!); + checkUnnamed4667(o.statusCodes!); } buildCounterPollItemsRequest--; } -core.List buildUnnamed4655() => [ +core.List buildUnnamed4668() => [ buildItem(), buildItem(), ]; -void checkUnnamed4655(core.List o) { +void checkUnnamed4668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkItem(o[0]); checkItem(o[1]); @@ -3038,7 +3038,7 @@ api.PollItemsResponse buildPollItemsResponse() { final o = api.PollItemsResponse(); buildCounterPollItemsResponse++; if (buildCounterPollItemsResponse < 3) { - o.items = buildUnnamed4655(); + o.items = buildUnnamed4668(); } buildCounterPollItemsResponse--; return o; @@ -3047,7 +3047,7 @@ api.PollItemsResponse buildPollItemsResponse() { void checkPollItemsResponse(api.PollItemsResponse o) { buildCounterPollItemsResponse++; if (buildCounterPollItemsResponse < 3) { - checkUnnamed4655(o.items!); + checkUnnamed4668(o.items!); } buildCounterPollItemsResponse--; } @@ -3081,12 +3081,12 @@ void checkPrincipal(api.Principal o) { buildCounterPrincipal--; } -core.List buildUnnamed4656() => [ +core.List buildUnnamed4669() => [ buildFieldViolation(), buildFieldViolation(), ]; -void checkUnnamed4656(core.List o) { +void checkUnnamed4669(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFieldViolation(o[0]); checkFieldViolation(o[1]); @@ -3099,7 +3099,7 @@ api.ProcessingError buildProcessingError() { if (buildCounterProcessingError < 3) { o.code = 'foo'; o.errorMessage = 'foo'; - o.fieldViolations = buildUnnamed4656(); + o.fieldViolations = buildUnnamed4669(); } buildCounterProcessingError--; return o; @@ -3116,7 +3116,7 @@ void checkProcessingError(api.ProcessingError o) { o.errorMessage!, unittest.equals('foo'), ); - checkUnnamed4656(o.fieldViolations!); + checkUnnamed4669(o.fieldViolations!); } buildCounterProcessingError--; } @@ -3394,12 +3394,12 @@ void checkQueryItem(api.QueryItem o) { buildCounterQueryItem--; } -core.List buildUnnamed4657() => [ +core.List buildUnnamed4670() => [ 'foo', 'foo', ]; -void checkUnnamed4657(core.List o) { +void checkUnnamed4670(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3417,7 +3417,7 @@ api.QueryOperator buildQueryOperator() { buildCounterQueryOperator++; if (buildCounterQueryOperator < 3) { o.displayName = 'foo'; - o.enumValues = buildUnnamed4657(); + o.enumValues = buildUnnamed4670(); o.greaterThanOperatorName = 'foo'; o.isFacetable = true; o.isRepeatable = true; @@ -3440,7 +3440,7 @@ void checkQueryOperator(api.QueryOperator o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4657(o.enumValues!); + checkUnnamed4670(o.enumValues!); unittest.expect( o.greaterThanOperatorName!, unittest.equals('foo'), @@ -3470,12 +3470,12 @@ void checkQueryOperator(api.QueryOperator o) { buildCounterQueryOperator--; } -core.List buildUnnamed4658() => [ +core.List buildUnnamed4671() => [ buildQueryOperator(), buildQueryOperator(), ]; -void checkUnnamed4658(core.List o) { +void checkUnnamed4671(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryOperator(o[0]); checkQueryOperator(o[1]); @@ -3487,7 +3487,7 @@ api.QuerySource buildQuerySource() { buildCounterQuerySource++; if (buildCounterQuerySource < 3) { o.displayName = 'foo'; - o.operators = buildUnnamed4658(); + o.operators = buildUnnamed4671(); o.shortName = 'foo'; o.source = buildSource(); } @@ -3502,7 +3502,7 @@ void checkQuerySource(api.QuerySource o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4658(o.operators!); + checkUnnamed4671(o.operators!); unittest.expect( o.shortName!, unittest.equals('foo'), @@ -3664,12 +3664,12 @@ void checkRestrictItem(api.RestrictItem o) { buildCounterRestrictItem--; } -core.List buildUnnamed4659() => [ +core.List buildUnnamed4672() => [ buildSourceResultCount(), buildSourceResultCount(), ]; -void checkUnnamed4659(core.List o) { +void checkUnnamed4672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceResultCount(o[0]); checkSourceResultCount(o[1]); @@ -3680,7 +3680,7 @@ api.ResultCounts buildResultCounts() { final o = api.ResultCounts(); buildCounterResultCounts++; if (buildCounterResultCounts < 3) { - o.sourceResultCounts = buildUnnamed4659(); + o.sourceResultCounts = buildUnnamed4672(); } buildCounterResultCounts--; return o; @@ -3689,7 +3689,7 @@ api.ResultCounts buildResultCounts() { void checkResultCounts(api.ResultCounts o) { buildCounterResultCounts++; if (buildCounterResultCounts < 3) { - checkUnnamed4659(o.sourceResultCounts!); + checkUnnamed4672(o.sourceResultCounts!); } buildCounterResultCounts--; } @@ -3745,12 +3745,12 @@ void checkResultDisplayField(api.ResultDisplayField o) { buildCounterResultDisplayField--; } -core.List buildUnnamed4660() => [ +core.List buildUnnamed4673() => [ buildResultDisplayField(), buildResultDisplayField(), ]; -void checkUnnamed4660(core.List o) { +void checkUnnamed4673(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResultDisplayField(o[0]); checkResultDisplayField(o[1]); @@ -3761,7 +3761,7 @@ api.ResultDisplayLine buildResultDisplayLine() { final o = api.ResultDisplayLine(); buildCounterResultDisplayLine++; if (buildCounterResultDisplayLine < 3) { - o.fields = buildUnnamed4660(); + o.fields = buildUnnamed4673(); } buildCounterResultDisplayLine--; return o; @@ -3770,17 +3770,17 @@ api.ResultDisplayLine buildResultDisplayLine() { void checkResultDisplayLine(api.ResultDisplayLine o) { buildCounterResultDisplayLine++; if (buildCounterResultDisplayLine < 3) { - checkUnnamed4660(o.fields!); + checkUnnamed4673(o.fields!); } buildCounterResultDisplayLine--; } -core.List buildUnnamed4661() => [ +core.List buildUnnamed4674() => [ buildResultDisplayLine(), buildResultDisplayLine(), ]; -void checkUnnamed4661(core.List o) { +void checkUnnamed4674(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResultDisplayLine(o[0]); checkResultDisplayLine(o[1]); @@ -3791,7 +3791,7 @@ api.ResultDisplayMetadata buildResultDisplayMetadata() { final o = api.ResultDisplayMetadata(); buildCounterResultDisplayMetadata++; if (buildCounterResultDisplayMetadata < 3) { - o.metalines = buildUnnamed4661(); + o.metalines = buildUnnamed4674(); o.objectTypeLabel = 'foo'; } buildCounterResultDisplayMetadata--; @@ -3801,7 +3801,7 @@ api.ResultDisplayMetadata buildResultDisplayMetadata() { void checkResultDisplayMetadata(api.ResultDisplayMetadata o) { buildCounterResultDisplayMetadata++; if (buildCounterResultDisplayMetadata < 3) { - checkUnnamed4661(o.metalines!); + checkUnnamed4674(o.metalines!); unittest.expect( o.objectTypeLabel!, unittest.equals('foo'), @@ -3832,23 +3832,23 @@ void checkRetrievalImportance(api.RetrievalImportance o) { buildCounterRetrievalImportance--; } -core.List buildUnnamed4662() => [ +core.List buildUnnamed4675() => [ buildObjectDefinition(), buildObjectDefinition(), ]; -void checkUnnamed4662(core.List o) { +void checkUnnamed4675(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectDefinition(o[0]); checkObjectDefinition(o[1]); } -core.List buildUnnamed4663() => [ +core.List buildUnnamed4676() => [ 'foo', 'foo', ]; -void checkUnnamed4663(core.List o) { +void checkUnnamed4676(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3865,8 +3865,8 @@ api.Schema buildSchema() { final o = api.Schema(); buildCounterSchema++; if (buildCounterSchema < 3) { - o.objectDefinitions = buildUnnamed4662(); - o.operationIds = buildUnnamed4663(); + o.objectDefinitions = buildUnnamed4675(); + o.operationIds = buildUnnamed4676(); } buildCounterSchema--; return o; @@ -3875,8 +3875,8 @@ api.Schema buildSchema() { void checkSchema(api.Schema o) { buildCounterSchema++; if (buildCounterSchema < 3) { - checkUnnamed4662(o.objectDefinitions!); - checkUnnamed4663(o.operationIds!); + checkUnnamed4675(o.objectDefinitions!); + checkUnnamed4676(o.operationIds!); } buildCounterSchema--; } @@ -3902,34 +3902,34 @@ void checkScoringConfig(api.ScoringConfig o) { buildCounterScoringConfig--; } -core.List buildUnnamed4664() => [ +core.List buildUnnamed4677() => [ buildDataSourceRestriction(), buildDataSourceRestriction(), ]; -void checkUnnamed4664(core.List o) { +void checkUnnamed4677(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceRestriction(o[0]); checkDataSourceRestriction(o[1]); } -core.List buildUnnamed4665() => [ +core.List buildUnnamed4678() => [ buildFacetOptions(), buildFacetOptions(), ]; -void checkUnnamed4665(core.List o) { +void checkUnnamed4678(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFacetOptions(o[0]); checkFacetOptions(o[1]); } -core.List buildUnnamed4666() => [ +core.List buildUnnamed4679() => [ 'foo', 'foo', ]; -void checkUnnamed4666(core.List o) { +void checkUnnamed4679(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3941,12 +3941,12 @@ void checkUnnamed4666(core.List o) { ); } -core.List buildUnnamed4667() => [ +core.List buildUnnamed4680() => [ buildSourceConfig(), buildSourceConfig(), ]; -void checkUnnamed4667(core.List o) { +void checkUnnamed4680(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceConfig(o[0]); checkSourceConfig(o[1]); @@ -3957,16 +3957,16 @@ api.SearchApplication buildSearchApplication() { final o = api.SearchApplication(); buildCounterSearchApplication++; if (buildCounterSearchApplication < 3) { - o.dataSourceRestrictions = buildUnnamed4664(); - o.defaultFacetOptions = buildUnnamed4665(); + o.dataSourceRestrictions = buildUnnamed4677(); + o.defaultFacetOptions = buildUnnamed4678(); o.defaultSortOptions = buildSortOptions(); o.displayName = 'foo'; o.enableAuditLog = true; o.name = 'foo'; - o.operationIds = buildUnnamed4666(); + o.operationIds = buildUnnamed4679(); o.queryInterpretationConfig = buildQueryInterpretationConfig(); o.scoringConfig = buildScoringConfig(); - o.sourceConfig = buildUnnamed4667(); + o.sourceConfig = buildUnnamed4680(); } buildCounterSearchApplication--; return o; @@ -3975,8 +3975,8 @@ api.SearchApplication buildSearchApplication() { void checkSearchApplication(api.SearchApplication o) { buildCounterSearchApplication++; if (buildCounterSearchApplication < 3) { - checkUnnamed4664(o.dataSourceRestrictions!); - checkUnnamed4665(o.defaultFacetOptions!); + checkUnnamed4677(o.dataSourceRestrictions!); + checkUnnamed4678(o.defaultFacetOptions!); checkSortOptions(o.defaultSortOptions!); unittest.expect( o.displayName!, @@ -3987,20 +3987,20 @@ void checkSearchApplication(api.SearchApplication o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4666(o.operationIds!); + checkUnnamed4679(o.operationIds!); checkQueryInterpretationConfig(o.queryInterpretationConfig!); checkScoringConfig(o.scoringConfig!); - checkUnnamed4667(o.sourceConfig!); + checkUnnamed4680(o.sourceConfig!); } buildCounterSearchApplication--; } -core.List buildUnnamed4668() => [ +core.List buildUnnamed4681() => [ buildQueryCountByStatus(), buildQueryCountByStatus(), ]; -void checkUnnamed4668(core.List o) { +void checkUnnamed4681(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryCountByStatus(o[0]); checkQueryCountByStatus(o[1]); @@ -4012,7 +4012,7 @@ api.SearchApplicationQueryStats buildSearchApplicationQueryStats() { buildCounterSearchApplicationQueryStats++; if (buildCounterSearchApplicationQueryStats < 3) { o.date = buildDate(); - o.queryCountByStatus = buildUnnamed4668(); + o.queryCountByStatus = buildUnnamed4681(); } buildCounterSearchApplicationQueryStats--; return o; @@ -4022,7 +4022,7 @@ void checkSearchApplicationQueryStats(api.SearchApplicationQueryStats o) { buildCounterSearchApplicationQueryStats++; if (buildCounterSearchApplicationQueryStats < 3) { checkDate(o.date!); - checkUnnamed4668(o.queryCountByStatus!); + checkUnnamed4681(o.queryCountByStatus!); } buildCounterSearchApplicationQueryStats--; } @@ -4114,12 +4114,12 @@ void checkSearchItemsByViewUrlRequest(api.SearchItemsByViewUrlRequest o) { buildCounterSearchItemsByViewUrlRequest--; } -core.List buildUnnamed4669() => [ +core.List buildUnnamed4682() => [ buildItem(), buildItem(), ]; -void checkUnnamed4669(core.List o) { +void checkUnnamed4682(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkItem(o[0]); checkItem(o[1]); @@ -4130,7 +4130,7 @@ api.SearchItemsByViewUrlResponse buildSearchItemsByViewUrlResponse() { final o = api.SearchItemsByViewUrlResponse(); buildCounterSearchItemsByViewUrlResponse++; if (buildCounterSearchItemsByViewUrlResponse < 3) { - o.items = buildUnnamed4669(); + o.items = buildUnnamed4682(); o.nextPageToken = 'foo'; } buildCounterSearchItemsByViewUrlResponse--; @@ -4140,7 +4140,7 @@ api.SearchItemsByViewUrlResponse buildSearchItemsByViewUrlResponse() { void checkSearchItemsByViewUrlResponse(api.SearchItemsByViewUrlResponse o) { buildCounterSearchItemsByViewUrlResponse++; if (buildCounterSearchItemsByViewUrlResponse < 3) { - checkUnnamed4669(o.items!); + checkUnnamed4682(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4171,34 +4171,34 @@ void checkSearchQualityMetadata(api.SearchQualityMetadata o) { buildCounterSearchQualityMetadata--; } -core.List buildUnnamed4670() => [ +core.List buildUnnamed4683() => [ buildContextAttribute(), buildContextAttribute(), ]; -void checkUnnamed4670(core.List o) { +void checkUnnamed4683(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextAttribute(o[0]); checkContextAttribute(o[1]); } -core.List buildUnnamed4671() => [ +core.List buildUnnamed4684() => [ buildDataSourceRestriction(), buildDataSourceRestriction(), ]; -void checkUnnamed4671(core.List o) { +void checkUnnamed4684(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceRestriction(o[0]); checkDataSourceRestriction(o[1]); } -core.List buildUnnamed4672() => [ +core.List buildUnnamed4685() => [ buildFacetOptions(), buildFacetOptions(), ]; -void checkUnnamed4672(core.List o) { +void checkUnnamed4685(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFacetOptions(o[0]); checkFacetOptions(o[1]); @@ -4209,9 +4209,9 @@ api.SearchRequest buildSearchRequest() { final o = api.SearchRequest(); buildCounterSearchRequest++; if (buildCounterSearchRequest < 3) { - o.contextAttributes = buildUnnamed4670(); - o.dataSourceRestrictions = buildUnnamed4671(); - o.facetOptions = buildUnnamed4672(); + o.contextAttributes = buildUnnamed4683(); + o.dataSourceRestrictions = buildUnnamed4684(); + o.facetOptions = buildUnnamed4685(); o.pageSize = 42; o.query = 'foo'; o.queryInterpretationOptions = buildQueryInterpretationOptions(); @@ -4226,9 +4226,9 @@ api.SearchRequest buildSearchRequest() { void checkSearchRequest(api.SearchRequest o) { buildCounterSearchRequest++; if (buildCounterSearchRequest < 3) { - checkUnnamed4670(o.contextAttributes!); - checkUnnamed4671(o.dataSourceRestrictions!); - checkUnnamed4672(o.facetOptions!); + checkUnnamed4683(o.contextAttributes!); + checkUnnamed4684(o.dataSourceRestrictions!); + checkUnnamed4685(o.facetOptions!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -4248,45 +4248,45 @@ void checkSearchRequest(api.SearchRequest o) { buildCounterSearchRequest--; } -core.List buildUnnamed4673() => [ +core.List buildUnnamed4686() => [ buildFacetResult(), buildFacetResult(), ]; -void checkUnnamed4673(core.List o) { +void checkUnnamed4686(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFacetResult(o[0]); checkFacetResult(o[1]); } -core.List buildUnnamed4674() => [ +core.List buildUnnamed4687() => [ buildSearchResult(), buildSearchResult(), ]; -void checkUnnamed4674(core.List o) { +void checkUnnamed4687(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchResult(o[0]); checkSearchResult(o[1]); } -core.List buildUnnamed4675() => [ +core.List buildUnnamed4688() => [ buildSpellResult(), buildSpellResult(), ]; -void checkUnnamed4675(core.List o) { +void checkUnnamed4688(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpellResult(o[0]); checkSpellResult(o[1]); } -core.List buildUnnamed4676() => [ +core.List buildUnnamed4689() => [ buildStructuredResult(), buildStructuredResult(), ]; -void checkUnnamed4676(core.List o) { +void checkUnnamed4689(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuredResult(o[0]); checkStructuredResult(o[1]); @@ -4299,15 +4299,15 @@ api.SearchResponse buildSearchResponse() { if (buildCounterSearchResponse < 3) { o.debugInfo = buildResponseDebugInfo(); o.errorInfo = buildErrorInfo(); - o.facetResults = buildUnnamed4673(); + o.facetResults = buildUnnamed4686(); o.hasMoreResults = true; o.queryInterpretation = buildQueryInterpretation(); o.resultCountEstimate = 'foo'; o.resultCountExact = 'foo'; o.resultCounts = buildResultCounts(); - o.results = buildUnnamed4674(); - o.spellResults = buildUnnamed4675(); - o.structuredResults = buildUnnamed4676(); + o.results = buildUnnamed4687(); + o.spellResults = buildUnnamed4688(); + o.structuredResults = buildUnnamed4689(); } buildCounterSearchResponse--; return o; @@ -4318,7 +4318,7 @@ void checkSearchResponse(api.SearchResponse o) { if (buildCounterSearchResponse < 3) { checkResponseDebugInfo(o.debugInfo!); checkErrorInfo(o.errorInfo!); - checkUnnamed4673(o.facetResults!); + checkUnnamed4686(o.facetResults!); unittest.expect(o.hasMoreResults!, unittest.isTrue); checkQueryInterpretation(o.queryInterpretation!); unittest.expect( @@ -4330,19 +4330,19 @@ void checkSearchResponse(api.SearchResponse o) { unittest.equals('foo'), ); checkResultCounts(o.resultCounts!); - checkUnnamed4674(o.results!); - checkUnnamed4675(o.spellResults!); - checkUnnamed4676(o.structuredResults!); + checkUnnamed4687(o.results!); + checkUnnamed4688(o.spellResults!); + checkUnnamed4689(o.structuredResults!); } buildCounterSearchResponse--; } -core.List buildUnnamed4677() => [ +core.List buildUnnamed4690() => [ buildSearchResult(), buildSearchResult(), ]; -void checkUnnamed4677(core.List o) { +void checkUnnamed4690(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchResult(o[0]); checkSearchResult(o[1]); @@ -4353,7 +4353,7 @@ api.SearchResult buildSearchResult() { final o = api.SearchResult(); buildCounterSearchResult++; if (buildCounterSearchResult < 3) { - o.clusteredResults = buildUnnamed4677(); + o.clusteredResults = buildUnnamed4690(); o.debugInfo = buildResultDebugInfo(); o.metadata = buildMetadata(); o.snippet = buildSnippet(); @@ -4367,7 +4367,7 @@ api.SearchResult buildSearchResult() { void checkSearchResult(api.SearchResult o) { buildCounterSearchResult++; if (buildCounterSearchResult < 3) { - checkUnnamed4677(o.clusteredResults!); + checkUnnamed4690(o.clusteredResults!); checkResultDebugInfo(o.debugInfo!); checkMetadata(o.metadata!); checkSnippet(o.snippet!); @@ -4383,12 +4383,12 @@ void checkSearchResult(api.SearchResult o) { buildCounterSearchResult--; } -core.List buildUnnamed4678() => [ +core.List buildUnnamed4691() => [ buildMatchRange(), buildMatchRange(), ]; -void checkUnnamed4678(core.List o) { +void checkUnnamed4691(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatchRange(o[0]); checkMatchRange(o[1]); @@ -4399,7 +4399,7 @@ api.Snippet buildSnippet() { final o = api.Snippet(); buildCounterSnippet++; if (buildCounterSnippet < 3) { - o.matchRanges = buildUnnamed4678(); + o.matchRanges = buildUnnamed4691(); o.snippet = 'foo'; } buildCounterSnippet--; @@ -4409,7 +4409,7 @@ api.Snippet buildSnippet() { void checkSnippet(api.Snippet o) { buildCounterSnippet++; if (buildCounterSnippet < 3) { - checkUnnamed4678(o.matchRanges!); + checkUnnamed4691(o.matchRanges!); unittest.expect( o.snippet!, unittest.equals('foo'), @@ -4621,7 +4621,7 @@ void checkStartUploadItemRequest(api.StartUploadItemRequest o) { buildCounterStartUploadItemRequest--; } -core.Map buildUnnamed4679() => { +core.Map buildUnnamed4692() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4634,7 +4634,7 @@ core.Map buildUnnamed4679() => { }, }; -void checkUnnamed4679(core.Map o) { +void checkUnnamed4692(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -4666,15 +4666,15 @@ void checkUnnamed4679(core.Map o) { ); } -core.List> buildUnnamed4680() => [ - buildUnnamed4679(), - buildUnnamed4679(), +core.List> buildUnnamed4693() => [ + buildUnnamed4692(), + buildUnnamed4692(), ]; -void checkUnnamed4680(core.List> o) { +void checkUnnamed4693(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4679(o[0]); - checkUnnamed4679(o[1]); + checkUnnamed4692(o[0]); + checkUnnamed4692(o[1]); } core.int buildCounterStatus = 0; @@ -4683,7 +4683,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4680(); + o.details = buildUnnamed4693(); o.message = 'foo'; } buildCounterStatus--; @@ -4697,7 +4697,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4680(o.details!); + checkUnnamed4693(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4706,12 +4706,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed4681() => [ +core.List buildUnnamed4694() => [ buildNamedProperty(), buildNamedProperty(), ]; -void checkUnnamed4681(core.List o) { +void checkUnnamed4694(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedProperty(o[0]); checkNamedProperty(o[1]); @@ -4722,7 +4722,7 @@ api.StructuredDataObject buildStructuredDataObject() { final o = api.StructuredDataObject(); buildCounterStructuredDataObject++; if (buildCounterStructuredDataObject < 3) { - o.properties = buildUnnamed4681(); + o.properties = buildUnnamed4694(); } buildCounterStructuredDataObject--; return o; @@ -4731,7 +4731,7 @@ api.StructuredDataObject buildStructuredDataObject() { void checkStructuredDataObject(api.StructuredDataObject o) { buildCounterStructuredDataObject++; if (buildCounterStructuredDataObject < 3) { - checkUnnamed4681(o.properties!); + checkUnnamed4694(o.properties!); } buildCounterStructuredDataObject--; } @@ -4755,12 +4755,12 @@ void checkStructuredResult(api.StructuredResult o) { buildCounterStructuredResult--; } -core.List buildUnnamed4682() => [ +core.List buildUnnamed4695() => [ buildDataSourceRestriction(), buildDataSourceRestriction(), ]; -void checkUnnamed4682(core.List o) { +void checkUnnamed4695(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceRestriction(o[0]); checkDataSourceRestriction(o[1]); @@ -4771,7 +4771,7 @@ api.SuggestRequest buildSuggestRequest() { final o = api.SuggestRequest(); buildCounterSuggestRequest++; if (buildCounterSuggestRequest < 3) { - o.dataSourceRestrictions = buildUnnamed4682(); + o.dataSourceRestrictions = buildUnnamed4695(); o.query = 'foo'; o.requestOptions = buildRequestOptions(); } @@ -4782,7 +4782,7 @@ api.SuggestRequest buildSuggestRequest() { void checkSuggestRequest(api.SuggestRequest o) { buildCounterSuggestRequest++; if (buildCounterSuggestRequest < 3) { - checkUnnamed4682(o.dataSourceRestrictions!); + checkUnnamed4695(o.dataSourceRestrictions!); unittest.expect( o.query!, unittest.equals('foo'), @@ -4792,12 +4792,12 @@ void checkSuggestRequest(api.SuggestRequest o) { buildCounterSuggestRequest--; } -core.List buildUnnamed4683() => [ +core.List buildUnnamed4696() => [ buildSuggestResult(), buildSuggestResult(), ]; -void checkUnnamed4683(core.List o) { +void checkUnnamed4696(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestResult(o[0]); checkSuggestResult(o[1]); @@ -4808,7 +4808,7 @@ api.SuggestResponse buildSuggestResponse() { final o = api.SuggestResponse(); buildCounterSuggestResponse++; if (buildCounterSuggestResponse < 3) { - o.suggestResults = buildUnnamed4683(); + o.suggestResults = buildUnnamed4696(); } buildCounterSuggestResponse--; return o; @@ -4817,7 +4817,7 @@ api.SuggestResponse buildSuggestResponse() { void checkSuggestResponse(api.SuggestResponse o) { buildCounterSuggestResponse++; if (buildCounterSuggestResponse < 3) { - checkUnnamed4683(o.suggestResults!); + checkUnnamed4696(o.suggestResults!); } buildCounterSuggestResponse--; } @@ -4895,12 +4895,12 @@ void checkTextPropertyOptions(api.TextPropertyOptions o) { buildCounterTextPropertyOptions--; } -core.List buildUnnamed4684() => [ +core.List buildUnnamed4697() => [ 'foo', 'foo', ]; -void checkUnnamed4684(core.List o) { +void checkUnnamed4697(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4917,7 +4917,7 @@ api.TextValues buildTextValues() { final o = api.TextValues(); buildCounterTextValues++; if (buildCounterTextValues < 3) { - o.values = buildUnnamed4684(); + o.values = buildUnnamed4697(); } buildCounterTextValues--; return o; @@ -4926,7 +4926,7 @@ api.TextValues buildTextValues() { void checkTextValues(api.TextValues o) { buildCounterTextValues++; if (buildCounterTextValues < 3) { - checkUnnamed4684(o.values!); + checkUnnamed4697(o.values!); } buildCounterTextValues--; } @@ -4982,12 +4982,12 @@ void checkTimestampPropertyOptions(api.TimestampPropertyOptions o) { buildCounterTimestampPropertyOptions--; } -core.List buildUnnamed4685() => [ +core.List buildUnnamed4698() => [ 'foo', 'foo', ]; -void checkUnnamed4685(core.List o) { +void checkUnnamed4698(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5004,7 +5004,7 @@ api.TimestampValues buildTimestampValues() { final o = api.TimestampValues(); buildCounterTimestampValues++; if (buildCounterTimestampValues < 3) { - o.values = buildUnnamed4685(); + o.values = buildUnnamed4698(); } buildCounterTimestampValues--; return o; @@ -5013,7 +5013,7 @@ api.TimestampValues buildTimestampValues() { void checkTimestampValues(api.TimestampValues o) { buildCounterTimestampValues++; if (buildCounterTimestampValues < 3) { - checkUnnamed4685(o.values!); + checkUnnamed4698(o.values!); } buildCounterTimestampValues--; } diff --git a/generated/googleapis/test/cloudshell/v1_test.dart b/generated/googleapis/test/cloudshell/v1_test.dart index 4ce0f81d0..876776eef 100644 --- a/generated/googleapis/test/cloudshell/v1_test.dart +++ b/generated/googleapis/test/cloudshell/v1_test.dart @@ -207,12 +207,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed2428() => [ +core.List buildUnnamed2415() => [ 'foo', 'foo', ]; -void checkUnnamed2428(core.List o) { +void checkUnnamed2415(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -232,7 +232,7 @@ api.Environment buildEnvironment() { o.dockerImage = 'foo'; o.id = 'foo'; o.name = 'foo'; - o.publicKeys = buildUnnamed2428(); + o.publicKeys = buildUnnamed2415(); o.sshHost = 'foo'; o.sshPort = 42; o.sshUsername = 'foo'; @@ -258,7 +258,7 @@ void checkEnvironment(api.Environment o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2428(o.publicKeys!); + checkUnnamed2415(o.publicKeys!); unittest.expect( o.sshHost!, unittest.equals('foo'), @@ -283,12 +283,12 @@ void checkEnvironment(api.Environment o) { buildCounterEnvironment--; } -core.List buildUnnamed2429() => [ +core.List buildUnnamed2416() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2429(core.List o) { +void checkUnnamed2416(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -300,7 +300,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2429(); + o.operations = buildUnnamed2416(); } buildCounterListOperationsResponse--; return o; @@ -313,12 +313,12 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2429(o.operations!); + checkUnnamed2416(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed2430() => { +core.Map buildUnnamed2417() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -331,7 +331,7 @@ core.Map buildUnnamed2430() => { }, }; -void checkUnnamed2430(core.Map o) { +void checkUnnamed2417(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -363,7 +363,7 @@ void checkUnnamed2430(core.Map o) { ); } -core.Map buildUnnamed2431() => { +core.Map buildUnnamed2418() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -376,7 +376,7 @@ core.Map buildUnnamed2431() => { }, }; -void checkUnnamed2431(core.Map o) { +void checkUnnamed2418(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -415,9 +415,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2430(); + o.metadata = buildUnnamed2417(); o.name = 'foo'; - o.response = buildUnnamed2431(); + o.response = buildUnnamed2418(); } buildCounterOperation--; return o; @@ -428,12 +428,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2430(o.metadata!); + checkUnnamed2417(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2431(o.response!); + checkUnnamed2418(o.response!); } buildCounterOperation--; } @@ -512,12 +512,12 @@ void checkStartEnvironmentMetadata(api.StartEnvironmentMetadata o) { buildCounterStartEnvironmentMetadata--; } -core.List buildUnnamed2432() => [ +core.List buildUnnamed2419() => [ 'foo', 'foo', ]; -void checkUnnamed2432(core.List o) { +void checkUnnamed2419(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -535,7 +535,7 @@ api.StartEnvironmentRequest buildStartEnvironmentRequest() { buildCounterStartEnvironmentRequest++; if (buildCounterStartEnvironmentRequest < 3) { o.accessToken = 'foo'; - o.publicKeys = buildUnnamed2432(); + o.publicKeys = buildUnnamed2419(); } buildCounterStartEnvironmentRequest--; return o; @@ -548,7 +548,7 @@ void checkStartEnvironmentRequest(api.StartEnvironmentRequest o) { o.accessToken!, unittest.equals('foo'), ); - checkUnnamed2432(o.publicKeys!); + checkUnnamed2419(o.publicKeys!); } buildCounterStartEnvironmentRequest--; } @@ -572,7 +572,7 @@ void checkStartEnvironmentResponse(api.StartEnvironmentResponse o) { buildCounterStartEnvironmentResponse--; } -core.Map buildUnnamed2433() => { +core.Map buildUnnamed2420() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -585,7 +585,7 @@ core.Map buildUnnamed2433() => { }, }; -void checkUnnamed2433(core.Map o) { +void checkUnnamed2420(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -617,15 +617,15 @@ void checkUnnamed2433(core.Map o) { ); } -core.List> buildUnnamed2434() => [ - buildUnnamed2433(), - buildUnnamed2433(), +core.List> buildUnnamed2421() => [ + buildUnnamed2420(), + buildUnnamed2420(), ]; -void checkUnnamed2434(core.List> o) { +void checkUnnamed2421(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2433(o[0]); - checkUnnamed2433(o[1]); + checkUnnamed2420(o[0]); + checkUnnamed2420(o[1]); } core.int buildCounterStatus = 0; @@ -634,7 +634,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2434(); + o.details = buildUnnamed2421(); o.message = 'foo'; } buildCounterStatus--; @@ -648,7 +648,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2434(o.details!); + checkUnnamed2421(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/cloudtasks/v2_test.dart b/generated/googleapis/test/cloudtasks/v2_test.dart index 850ada27d..772077a93 100644 --- a/generated/googleapis/test/cloudtasks/v2_test.dart +++ b/generated/googleapis/test/cloudtasks/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed6916() => { +core.Map buildUnnamed6992() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6916(core.Map o) { +void checkUnnamed6992(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -50,7 +50,7 @@ api.AppEngineHttpRequest buildAppEngineHttpRequest() { if (buildCounterAppEngineHttpRequest < 3) { o.appEngineRouting = buildAppEngineRouting(); o.body = 'foo'; - o.headers = buildUnnamed6916(); + o.headers = buildUnnamed6992(); o.httpMethod = 'foo'; o.relativeUri = 'foo'; } @@ -66,7 +66,7 @@ void checkAppEngineHttpRequest(api.AppEngineHttpRequest o) { o.body!, unittest.equals('foo'), ); - checkUnnamed6916(o.headers!); + checkUnnamed6992(o.headers!); unittest.expect( o.httpMethod!, unittest.equals('foo'), @@ -150,12 +150,12 @@ void checkAttempt(api.Attempt o) { buildCounterAttempt--; } -core.List buildUnnamed6917() => [ +core.List buildUnnamed6993() => [ 'foo', 'foo', ]; -void checkUnnamed6917(core.List o) { +void checkUnnamed6993(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -173,7 +173,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed6917(); + o.members = buildUnnamed6993(); o.role = 'foo'; } buildCounterBinding--; @@ -184,7 +184,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed6917(o.members!); + checkUnnamed6993(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -310,12 +310,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.Map buildUnnamed6918() => { +core.Map buildUnnamed6994() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6918(core.Map o) { +void checkUnnamed6994(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -333,7 +333,7 @@ api.HttpRequest buildHttpRequest() { buildCounterHttpRequest++; if (buildCounterHttpRequest < 3) { o.body = 'foo'; - o.headers = buildUnnamed6918(); + o.headers = buildUnnamed6994(); o.httpMethod = 'foo'; o.oauthToken = buildOAuthToken(); o.oidcToken = buildOidcToken(); @@ -350,7 +350,7 @@ void checkHttpRequest(api.HttpRequest o) { o.body!, unittest.equals('foo'), ); - checkUnnamed6918(o.headers!); + checkUnnamed6994(o.headers!); unittest.expect( o.httpMethod!, unittest.equals('foo'), @@ -365,12 +365,12 @@ void checkHttpRequest(api.HttpRequest o) { buildCounterHttpRequest--; } -core.List buildUnnamed6919() => [ +core.List buildUnnamed6995() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed6919(core.List o) { +void checkUnnamed6995(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -381,7 +381,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed6919(); + o.locations = buildUnnamed6995(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -391,7 +391,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed6919(o.locations!); + checkUnnamed6995(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -400,12 +400,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed6920() => [ +core.List buildUnnamed6996() => [ buildQueue(), buildQueue(), ]; -void checkUnnamed6920(core.List o) { +void checkUnnamed6996(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueue(o[0]); checkQueue(o[1]); @@ -417,7 +417,7 @@ api.ListQueuesResponse buildListQueuesResponse() { buildCounterListQueuesResponse++; if (buildCounterListQueuesResponse < 3) { o.nextPageToken = 'foo'; - o.queues = buildUnnamed6920(); + o.queues = buildUnnamed6996(); } buildCounterListQueuesResponse--; return o; @@ -430,17 +430,17 @@ void checkListQueuesResponse(api.ListQueuesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6920(o.queues!); + checkUnnamed6996(o.queues!); } buildCounterListQueuesResponse--; } -core.List buildUnnamed6921() => [ +core.List buildUnnamed6997() => [ buildTask(), buildTask(), ]; -void checkUnnamed6921(core.List o) { +void checkUnnamed6997(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTask(o[0]); checkTask(o[1]); @@ -452,7 +452,7 @@ api.ListTasksResponse buildListTasksResponse() { buildCounterListTasksResponse++; if (buildCounterListTasksResponse < 3) { o.nextPageToken = 'foo'; - o.tasks = buildUnnamed6921(); + o.tasks = buildUnnamed6997(); } buildCounterListTasksResponse--; return o; @@ -465,17 +465,17 @@ void checkListTasksResponse(api.ListTasksResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6921(o.tasks!); + checkUnnamed6997(o.tasks!); } buildCounterListTasksResponse--; } -core.Map buildUnnamed6922() => { +core.Map buildUnnamed6998() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6922(core.Map o) { +void checkUnnamed6998(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -487,7 +487,7 @@ void checkUnnamed6922(core.Map o) { ); } -core.Map buildUnnamed6923() => { +core.Map buildUnnamed6999() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -500,7 +500,7 @@ core.Map buildUnnamed6923() => { }, }; -void checkUnnamed6923(core.Map o) { +void checkUnnamed6999(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -538,9 +538,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed6922(); + o.labels = buildUnnamed6998(); o.locationId = 'foo'; - o.metadata = buildUnnamed6923(); + o.metadata = buildUnnamed6999(); o.name = 'foo'; } buildCounterLocation--; @@ -554,12 +554,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6922(o.labels!); + checkUnnamed6998(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed6923(o.metadata!); + checkUnnamed6999(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -637,12 +637,12 @@ void checkPauseQueueRequest(api.PauseQueueRequest o) { buildCounterPauseQueueRequest--; } -core.List buildUnnamed6924() => [ +core.List buildUnnamed7000() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed6924(core.List o) { +void checkUnnamed7000(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -653,7 +653,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed6924(); + o.bindings = buildUnnamed7000(); o.etag = 'foo'; o.version = 42; } @@ -664,7 +664,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed6924(o.bindings!); + checkUnnamed7000(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -884,7 +884,7 @@ void checkStackdriverLoggingConfig(api.StackdriverLoggingConfig o) { buildCounterStackdriverLoggingConfig--; } -core.Map buildUnnamed6925() => { +core.Map buildUnnamed7001() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -897,7 +897,7 @@ core.Map buildUnnamed6925() => { }, }; -void checkUnnamed6925(core.Map o) { +void checkUnnamed7001(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -929,15 +929,15 @@ void checkUnnamed6925(core.Map o) { ); } -core.List> buildUnnamed6926() => [ - buildUnnamed6925(), - buildUnnamed6925(), +core.List> buildUnnamed7002() => [ + buildUnnamed7001(), + buildUnnamed7001(), ]; -void checkUnnamed6926(core.List> o) { +void checkUnnamed7002(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6925(o[0]); - checkUnnamed6925(o[1]); + checkUnnamed7001(o[0]); + checkUnnamed7001(o[1]); } core.int buildCounterStatus = 0; @@ -946,7 +946,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6926(); + o.details = buildUnnamed7002(); o.message = 'foo'; } buildCounterStatus--; @@ -960,7 +960,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6926(o.details!); + checkUnnamed7002(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1029,12 +1029,12 @@ void checkTask(api.Task o) { buildCounterTask--; } -core.List buildUnnamed6927() => [ +core.List buildUnnamed7003() => [ 'foo', 'foo', ]; -void checkUnnamed6927(core.List o) { +void checkUnnamed7003(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1051,7 +1051,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed6927(); + o.permissions = buildUnnamed7003(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1060,17 +1060,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed6927(o.permissions!); + checkUnnamed7003(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed6928() => [ +core.List buildUnnamed7004() => [ 'foo', 'foo', ]; -void checkUnnamed6928(core.List o) { +void checkUnnamed7004(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1087,7 +1087,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed6928(); + o.permissions = buildUnnamed7004(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1096,7 +1096,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed6928(o.permissions!); + checkUnnamed7004(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/cloudtrace/v2_test.dart b/generated/googleapis/test/cloudtrace/v2_test.dart index eac39051f..b5ac40e7b 100644 --- a/generated/googleapis/test/cloudtrace/v2_test.dart +++ b/generated/googleapis/test/cloudtrace/v2_test.dart @@ -73,12 +73,12 @@ void checkAttributeValue(api.AttributeValue o) { buildCounterAttributeValue--; } -core.Map buildUnnamed1636() => { +core.Map buildUnnamed1666() => { 'x': buildAttributeValue(), 'y': buildAttributeValue(), }; -void checkUnnamed1636(core.Map o) { +void checkUnnamed1666(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAttributeValue(o['x']!); checkAttributeValue(o['y']!); @@ -89,7 +89,7 @@ api.Attributes buildAttributes() { final o = api.Attributes(); buildCounterAttributes++; if (buildCounterAttributes < 3) { - o.attributeMap = buildUnnamed1636(); + o.attributeMap = buildUnnamed1666(); o.droppedAttributesCount = 42; } buildCounterAttributes--; @@ -99,7 +99,7 @@ api.Attributes buildAttributes() { void checkAttributes(api.Attributes o) { buildCounterAttributes++; if (buildCounterAttributes < 3) { - checkUnnamed1636(o.attributeMap!); + checkUnnamed1666(o.attributeMap!); unittest.expect( o.droppedAttributesCount!, unittest.equals(42), @@ -108,12 +108,12 @@ void checkAttributes(api.Attributes o) { buildCounterAttributes--; } -core.List buildUnnamed1637() => [ +core.List buildUnnamed1667() => [ buildSpan(), buildSpan(), ]; -void checkUnnamed1637(core.List o) { +void checkUnnamed1667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpan(o[0]); checkSpan(o[1]); @@ -124,7 +124,7 @@ api.BatchWriteSpansRequest buildBatchWriteSpansRequest() { final o = api.BatchWriteSpansRequest(); buildCounterBatchWriteSpansRequest++; if (buildCounterBatchWriteSpansRequest < 3) { - o.spans = buildUnnamed1637(); + o.spans = buildUnnamed1667(); } buildCounterBatchWriteSpansRequest--; return o; @@ -133,7 +133,7 @@ api.BatchWriteSpansRequest buildBatchWriteSpansRequest() { void checkBatchWriteSpansRequest(api.BatchWriteSpansRequest o) { buildCounterBatchWriteSpansRequest++; if (buildCounterBatchWriteSpansRequest < 3) { - checkUnnamed1637(o.spans!); + checkUnnamed1667(o.spans!); } buildCounterBatchWriteSpansRequest--; } @@ -187,12 +187,12 @@ void checkLink(api.Link o) { buildCounterLink--; } -core.List buildUnnamed1638() => [ +core.List buildUnnamed1668() => [ buildLink(), buildLink(), ]; -void checkUnnamed1638(core.List o) { +void checkUnnamed1668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLink(o[0]); checkLink(o[1]); @@ -204,7 +204,7 @@ api.Links buildLinks() { buildCounterLinks++; if (buildCounterLinks < 3) { o.droppedLinksCount = 42; - o.link = buildUnnamed1638(); + o.link = buildUnnamed1668(); } buildCounterLinks--; return o; @@ -217,7 +217,7 @@ void checkLinks(api.Links o) { o.droppedLinksCount!, unittest.equals(42), ); - checkUnnamed1638(o.link!); + checkUnnamed1668(o.link!); } buildCounterLinks--; } @@ -383,12 +383,12 @@ void checkStackFrame(api.StackFrame o) { buildCounterStackFrame--; } -core.List buildUnnamed1639() => [ +core.List buildUnnamed1669() => [ buildStackFrame(), buildStackFrame(), ]; -void checkUnnamed1639(core.List o) { +void checkUnnamed1669(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStackFrame(o[0]); checkStackFrame(o[1]); @@ -400,7 +400,7 @@ api.StackFrames buildStackFrames() { buildCounterStackFrames++; if (buildCounterStackFrames < 3) { o.droppedFramesCount = 42; - o.frame = buildUnnamed1639(); + o.frame = buildUnnamed1669(); } buildCounterStackFrames--; return o; @@ -413,7 +413,7 @@ void checkStackFrames(api.StackFrames o) { o.droppedFramesCount!, unittest.equals(42), ); - checkUnnamed1639(o.frame!); + checkUnnamed1669(o.frame!); } buildCounterStackFrames--; } @@ -442,7 +442,7 @@ void checkStackTrace(api.StackTrace o) { buildCounterStackTrace--; } -core.Map buildUnnamed1640() => { +core.Map buildUnnamed1670() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -455,7 +455,7 @@ core.Map buildUnnamed1640() => { }, }; -void checkUnnamed1640(core.Map o) { +void checkUnnamed1670(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -487,15 +487,15 @@ void checkUnnamed1640(core.Map o) { ); } -core.List> buildUnnamed1641() => [ - buildUnnamed1640(), - buildUnnamed1640(), +core.List> buildUnnamed1671() => [ + buildUnnamed1670(), + buildUnnamed1670(), ]; -void checkUnnamed1641(core.List> o) { +void checkUnnamed1671(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1640(o[0]); - checkUnnamed1640(o[1]); + checkUnnamed1670(o[0]); + checkUnnamed1670(o[1]); } core.int buildCounterStatus = 0; @@ -504,7 +504,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1641(); + o.details = buildUnnamed1671(); o.message = 'foo'; } buildCounterStatus--; @@ -518,7 +518,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1641(o.details!); + checkUnnamed1671(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -553,12 +553,12 @@ void checkTimeEvent(api.TimeEvent o) { buildCounterTimeEvent--; } -core.List buildUnnamed1642() => [ +core.List buildUnnamed1672() => [ buildTimeEvent(), buildTimeEvent(), ]; -void checkUnnamed1642(core.List o) { +void checkUnnamed1672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimeEvent(o[0]); checkTimeEvent(o[1]); @@ -571,7 +571,7 @@ api.TimeEvents buildTimeEvents() { if (buildCounterTimeEvents < 3) { o.droppedAnnotationsCount = 42; o.droppedMessageEventsCount = 42; - o.timeEvent = buildUnnamed1642(); + o.timeEvent = buildUnnamed1672(); } buildCounterTimeEvents--; return o; @@ -588,7 +588,7 @@ void checkTimeEvents(api.TimeEvents o) { o.droppedMessageEventsCount!, unittest.equals(42), ); - checkUnnamed1642(o.timeEvent!); + checkUnnamed1672(o.timeEvent!); } buildCounterTimeEvents--; } diff --git a/generated/googleapis/test/composer/v1_test.dart b/generated/googleapis/test/composer/v1_test.dart index 1599d31b2..b2b82f5fa 100644 --- a/generated/googleapis/test/composer/v1_test.dart +++ b/generated/googleapis/test/composer/v1_test.dart @@ -53,12 +53,12 @@ void checkAllowedIpRange(api.AllowedIpRange o) { buildCounterAllowedIpRange--; } -core.Map buildUnnamed2478() => { +core.Map buildUnnamed2468() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2478(core.Map o) { +void checkUnnamed2468(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -79,7 +79,7 @@ api.CheckUpgradeResponse buildCheckUpgradeResponse() { o.containsPypiModulesConflict = 'foo'; o.imageVersion = 'foo'; o.pypiConflictBuildLogExtract = 'foo'; - o.pypiDependencies = buildUnnamed2478(); + o.pypiDependencies = buildUnnamed2468(); } buildCounterCheckUpgradeResponse--; return o; @@ -104,7 +104,7 @@ void checkCheckUpgradeResponse(api.CheckUpgradeResponse o) { o.pypiConflictBuildLogExtract!, unittest.equals('foo'), ); - checkUnnamed2478(o.pypiDependencies!); + checkUnnamed2468(o.pypiDependencies!); } buildCounterCheckUpgradeResponse--; } @@ -200,12 +200,12 @@ void checkEncryptionConfig(api.EncryptionConfig o) { buildCounterEncryptionConfig--; } -core.Map buildUnnamed2479() => { +core.Map buildUnnamed2469() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2479(core.Map o) { +void checkUnnamed2469(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -224,7 +224,7 @@ api.Environment buildEnvironment() { if (buildCounterEnvironment < 3) { o.config = buildEnvironmentConfig(); o.createTime = 'foo'; - o.labels = buildUnnamed2479(); + o.labels = buildUnnamed2469(); o.name = 'foo'; o.state = 'foo'; o.updateTime = 'foo'; @@ -242,7 +242,7 @@ void checkEnvironment(api.Environment o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed2479(o.labels!); + checkUnnamed2469(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -353,12 +353,12 @@ void checkIPAllocationPolicy(api.IPAllocationPolicy o) { buildCounterIPAllocationPolicy--; } -core.List buildUnnamed2480() => [ +core.List buildUnnamed2470() => [ 'foo', 'foo', ]; -void checkUnnamed2480(core.List o) { +void checkUnnamed2470(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -379,7 +379,7 @@ api.ImageVersion buildImageVersion() { o.imageVersionId = 'foo'; o.isDefault = true; o.releaseDate = buildDate(); - o.supportedPythonVersions = buildUnnamed2480(); + o.supportedPythonVersions = buildUnnamed2470(); o.upgradeDisabled = true; } buildCounterImageVersion--; @@ -396,18 +396,18 @@ void checkImageVersion(api.ImageVersion o) { ); unittest.expect(o.isDefault!, unittest.isTrue); checkDate(o.releaseDate!); - checkUnnamed2480(o.supportedPythonVersions!); + checkUnnamed2470(o.supportedPythonVersions!); unittest.expect(o.upgradeDisabled!, unittest.isTrue); } buildCounterImageVersion--; } -core.List buildUnnamed2481() => [ +core.List buildUnnamed2471() => [ buildEnvironment(), buildEnvironment(), ]; -void checkUnnamed2481(core.List o) { +void checkUnnamed2471(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironment(o[0]); checkEnvironment(o[1]); @@ -418,7 +418,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { final o = api.ListEnvironmentsResponse(); buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - o.environments = buildUnnamed2481(); + o.environments = buildUnnamed2471(); o.nextPageToken = 'foo'; } buildCounterListEnvironmentsResponse--; @@ -428,7 +428,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - checkUnnamed2481(o.environments!); + checkUnnamed2471(o.environments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -437,12 +437,12 @@ void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse--; } -core.List buildUnnamed2482() => [ +core.List buildUnnamed2472() => [ buildImageVersion(), buildImageVersion(), ]; -void checkUnnamed2482(core.List o) { +void checkUnnamed2472(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImageVersion(o[0]); checkImageVersion(o[1]); @@ -453,7 +453,7 @@ api.ListImageVersionsResponse buildListImageVersionsResponse() { final o = api.ListImageVersionsResponse(); buildCounterListImageVersionsResponse++; if (buildCounterListImageVersionsResponse < 3) { - o.imageVersions = buildUnnamed2482(); + o.imageVersions = buildUnnamed2472(); o.nextPageToken = 'foo'; } buildCounterListImageVersionsResponse--; @@ -463,7 +463,7 @@ api.ListImageVersionsResponse buildListImageVersionsResponse() { void checkListImageVersionsResponse(api.ListImageVersionsResponse o) { buildCounterListImageVersionsResponse++; if (buildCounterListImageVersionsResponse < 3) { - checkUnnamed2482(o.imageVersions!); + checkUnnamed2472(o.imageVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -472,12 +472,12 @@ void checkListImageVersionsResponse(api.ListImageVersionsResponse o) { buildCounterListImageVersionsResponse--; } -core.List buildUnnamed2483() => [ +core.List buildUnnamed2473() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2483(core.List o) { +void checkUnnamed2473(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -489,7 +489,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2483(); + o.operations = buildUnnamed2473(); } buildCounterListOperationsResponse--; return o; @@ -502,17 +502,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2483(o.operations!); + checkUnnamed2473(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed2484() => [ +core.List buildUnnamed2474() => [ 'foo', 'foo', ]; -void checkUnnamed2484(core.List o) { +void checkUnnamed2474(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -524,12 +524,12 @@ void checkUnnamed2484(core.List o) { ); } -core.List buildUnnamed2485() => [ +core.List buildUnnamed2475() => [ 'foo', 'foo', ]; -void checkUnnamed2485(core.List o) { +void checkUnnamed2475(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -551,10 +551,10 @@ api.NodeConfig buildNodeConfig() { o.location = 'foo'; o.machineType = 'foo'; o.network = 'foo'; - o.oauthScopes = buildUnnamed2484(); + o.oauthScopes = buildUnnamed2474(); o.serviceAccount = 'foo'; o.subnetwork = 'foo'; - o.tags = buildUnnamed2485(); + o.tags = buildUnnamed2475(); } buildCounterNodeConfig--; return o; @@ -580,7 +580,7 @@ void checkNodeConfig(api.NodeConfig o) { o.network!, unittest.equals('foo'), ); - checkUnnamed2484(o.oauthScopes!); + checkUnnamed2474(o.oauthScopes!); unittest.expect( o.serviceAccount!, unittest.equals('foo'), @@ -589,12 +589,12 @@ void checkNodeConfig(api.NodeConfig o) { o.subnetwork!, unittest.equals('foo'), ); - checkUnnamed2485(o.tags!); + checkUnnamed2475(o.tags!); } buildCounterNodeConfig--; } -core.Map buildUnnamed2486() => { +core.Map buildUnnamed2476() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -607,7 +607,7 @@ core.Map buildUnnamed2486() => { }, }; -void checkUnnamed2486(core.Map o) { +void checkUnnamed2476(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -639,7 +639,7 @@ void checkUnnamed2486(core.Map o) { ); } -core.Map buildUnnamed2487() => { +core.Map buildUnnamed2477() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -652,7 +652,7 @@ core.Map buildUnnamed2487() => { }, }; -void checkUnnamed2487(core.Map o) { +void checkUnnamed2477(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -691,9 +691,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2486(); + o.metadata = buildUnnamed2476(); o.name = 'foo'; - o.response = buildUnnamed2487(); + o.response = buildUnnamed2477(); } buildCounterOperation--; return o; @@ -704,12 +704,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2486(o.metadata!); + checkUnnamed2476(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2487(o.response!); + checkUnnamed2477(o.response!); } buildCounterOperation--; } @@ -826,12 +826,12 @@ void checkPrivateEnvironmentConfig(api.PrivateEnvironmentConfig o) { buildCounterPrivateEnvironmentConfig--; } -core.Map buildUnnamed2488() => { +core.Map buildUnnamed2478() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2488(core.Map o) { +void checkUnnamed2478(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -843,12 +843,12 @@ void checkUnnamed2488(core.Map o) { ); } -core.Map buildUnnamed2489() => { +core.Map buildUnnamed2479() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2489(core.Map o) { +void checkUnnamed2479(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -860,12 +860,12 @@ void checkUnnamed2489(core.Map o) { ); } -core.Map buildUnnamed2490() => { +core.Map buildUnnamed2480() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2490(core.Map o) { +void checkUnnamed2480(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -882,10 +882,10 @@ api.SoftwareConfig buildSoftwareConfig() { final o = api.SoftwareConfig(); buildCounterSoftwareConfig++; if (buildCounterSoftwareConfig < 3) { - o.airflowConfigOverrides = buildUnnamed2488(); - o.envVariables = buildUnnamed2489(); + o.airflowConfigOverrides = buildUnnamed2478(); + o.envVariables = buildUnnamed2479(); o.imageVersion = 'foo'; - o.pypiPackages = buildUnnamed2490(); + o.pypiPackages = buildUnnamed2480(); o.pythonVersion = 'foo'; } buildCounterSoftwareConfig--; @@ -895,13 +895,13 @@ api.SoftwareConfig buildSoftwareConfig() { void checkSoftwareConfig(api.SoftwareConfig o) { buildCounterSoftwareConfig++; if (buildCounterSoftwareConfig < 3) { - checkUnnamed2488(o.airflowConfigOverrides!); - checkUnnamed2489(o.envVariables!); + checkUnnamed2478(o.airflowConfigOverrides!); + checkUnnamed2479(o.envVariables!); unittest.expect( o.imageVersion!, unittest.equals('foo'), ); - checkUnnamed2490(o.pypiPackages!); + checkUnnamed2480(o.pypiPackages!); unittest.expect( o.pythonVersion!, unittest.equals('foo'), @@ -910,7 +910,7 @@ void checkSoftwareConfig(api.SoftwareConfig o) { buildCounterSoftwareConfig--; } -core.Map buildUnnamed2491() => { +core.Map buildUnnamed2481() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -923,7 +923,7 @@ core.Map buildUnnamed2491() => { }, }; -void checkUnnamed2491(core.Map o) { +void checkUnnamed2481(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -955,15 +955,15 @@ void checkUnnamed2491(core.Map o) { ); } -core.List> buildUnnamed2492() => [ - buildUnnamed2491(), - buildUnnamed2491(), +core.List> buildUnnamed2482() => [ + buildUnnamed2481(), + buildUnnamed2481(), ]; -void checkUnnamed2492(core.List> o) { +void checkUnnamed2482(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2491(o[0]); - checkUnnamed2491(o[1]); + checkUnnamed2481(o[0]); + checkUnnamed2481(o[1]); } core.int buildCounterStatus = 0; @@ -972,7 +972,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2492(); + o.details = buildUnnamed2482(); o.message = 'foo'; } buildCounterStatus--; @@ -986,7 +986,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2492(o.details!); + checkUnnamed2482(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1017,12 +1017,12 @@ void checkWebServerConfig(api.WebServerConfig o) { buildCounterWebServerConfig--; } -core.List buildUnnamed2493() => [ +core.List buildUnnamed2483() => [ buildAllowedIpRange(), buildAllowedIpRange(), ]; -void checkUnnamed2493(core.List o) { +void checkUnnamed2483(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAllowedIpRange(o[0]); checkAllowedIpRange(o[1]); @@ -1033,7 +1033,7 @@ api.WebServerNetworkAccessControl buildWebServerNetworkAccessControl() { final o = api.WebServerNetworkAccessControl(); buildCounterWebServerNetworkAccessControl++; if (buildCounterWebServerNetworkAccessControl < 3) { - o.allowedIpRanges = buildUnnamed2493(); + o.allowedIpRanges = buildUnnamed2483(); } buildCounterWebServerNetworkAccessControl--; return o; @@ -1042,7 +1042,7 @@ api.WebServerNetworkAccessControl buildWebServerNetworkAccessControl() { void checkWebServerNetworkAccessControl(api.WebServerNetworkAccessControl o) { buildCounterWebServerNetworkAccessControl++; if (buildCounterWebServerNetworkAccessControl < 3) { - checkUnnamed2493(o.allowedIpRanges!); + checkUnnamed2483(o.allowedIpRanges!); } buildCounterWebServerNetworkAccessControl--; } diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart index 3ac7338a5..81b721df0 100644 --- a/generated/googleapis/test/compute/v1_test.dart +++ b/generated/googleapis/test/compute/v1_test.dart @@ -112,23 +112,23 @@ void checkAcceleratorType(api.AcceleratorType o) { buildCounterAcceleratorType--; } -core.Map buildUnnamed776() => { +core.Map buildUnnamed801() => { 'x': buildAcceleratorTypesScopedList(), 'y': buildAcceleratorTypesScopedList(), }; -void checkUnnamed776(core.Map o) { +void checkUnnamed801(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorTypesScopedList(o['x']!); checkAcceleratorTypesScopedList(o['y']!); } -core.List buildUnnamed777() => [ +core.List buildUnnamed802() => [ 'foo', 'foo', ]; -void checkUnnamed777(core.List o) { +void checkUnnamed802(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -169,12 +169,12 @@ void checkAcceleratorTypeAggregatedListWarningData( buildCounterAcceleratorTypeAggregatedListWarningData--; } -core.List buildUnnamed778() => [ +core.List buildUnnamed803() => [ buildAcceleratorTypeAggregatedListWarningData(), buildAcceleratorTypeAggregatedListWarningData(), ]; -void checkUnnamed778( +void checkUnnamed803( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorTypeAggregatedListWarningData(o[0]); @@ -188,7 +188,7 @@ api.AcceleratorTypeAggregatedListWarning buildCounterAcceleratorTypeAggregatedListWarning++; if (buildCounterAcceleratorTypeAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed778(); + o.data = buildUnnamed803(); o.message = 'foo'; } buildCounterAcceleratorTypeAggregatedListWarning--; @@ -203,7 +203,7 @@ void checkAcceleratorTypeAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed778(o.data!); + checkUnnamed803(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -218,11 +218,11 @@ api.AcceleratorTypeAggregatedList buildAcceleratorTypeAggregatedList() { buildCounterAcceleratorTypeAggregatedList++; if (buildCounterAcceleratorTypeAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed776(); + o.items = buildUnnamed801(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed777(); + o.unreachables = buildUnnamed802(); o.warning = buildAcceleratorTypeAggregatedListWarning(); } buildCounterAcceleratorTypeAggregatedList--; @@ -236,7 +236,7 @@ void checkAcceleratorTypeAggregatedList(api.AcceleratorTypeAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed776(o.items!); + checkUnnamed801(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -249,18 +249,18 @@ void checkAcceleratorTypeAggregatedList(api.AcceleratorTypeAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed777(o.unreachables!); + checkUnnamed802(o.unreachables!); checkAcceleratorTypeAggregatedListWarning(o.warning!); } buildCounterAcceleratorTypeAggregatedList--; } -core.List buildUnnamed779() => [ +core.List buildUnnamed804() => [ buildAcceleratorType(), buildAcceleratorType(), ]; -void checkUnnamed779(core.List o) { +void checkUnnamed804(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorType(o[0]); checkAcceleratorType(o[1]); @@ -293,12 +293,12 @@ void checkAcceleratorTypeListWarningData(api.AcceleratorTypeListWarningData o) { buildCounterAcceleratorTypeListWarningData--; } -core.List buildUnnamed780() => [ +core.List buildUnnamed805() => [ buildAcceleratorTypeListWarningData(), buildAcceleratorTypeListWarningData(), ]; -void checkUnnamed780(core.List o) { +void checkUnnamed805(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorTypeListWarningData(o[0]); checkAcceleratorTypeListWarningData(o[1]); @@ -310,7 +310,7 @@ api.AcceleratorTypeListWarning buildAcceleratorTypeListWarning() { buildCounterAcceleratorTypeListWarning++; if (buildCounterAcceleratorTypeListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed780(); + o.data = buildUnnamed805(); o.message = 'foo'; } buildCounterAcceleratorTypeListWarning--; @@ -324,7 +324,7 @@ void checkAcceleratorTypeListWarning(api.AcceleratorTypeListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed780(o.data!); + checkUnnamed805(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -339,7 +339,7 @@ api.AcceleratorTypeList buildAcceleratorTypeList() { buildCounterAcceleratorTypeList++; if (buildCounterAcceleratorTypeList < 3) { o.id = 'foo'; - o.items = buildUnnamed779(); + o.items = buildUnnamed804(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -356,7 +356,7 @@ void checkAcceleratorTypeList(api.AcceleratorTypeList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed779(o.items!); + checkUnnamed804(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -374,12 +374,12 @@ void checkAcceleratorTypeList(api.AcceleratorTypeList o) { buildCounterAcceleratorTypeList--; } -core.List buildUnnamed781() => [ +core.List buildUnnamed806() => [ buildAcceleratorType(), buildAcceleratorType(), ]; -void checkUnnamed781(core.List o) { +void checkUnnamed806(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorType(o[0]); checkAcceleratorType(o[1]); @@ -414,12 +414,12 @@ void checkAcceleratorTypesScopedListWarningData( buildCounterAcceleratorTypesScopedListWarningData--; } -core.List buildUnnamed782() => [ +core.List buildUnnamed807() => [ buildAcceleratorTypesScopedListWarningData(), buildAcceleratorTypesScopedListWarningData(), ]; -void checkUnnamed782(core.List o) { +void checkUnnamed807(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorTypesScopedListWarningData(o[0]); checkAcceleratorTypesScopedListWarningData(o[1]); @@ -431,7 +431,7 @@ api.AcceleratorTypesScopedListWarning buildAcceleratorTypesScopedListWarning() { buildCounterAcceleratorTypesScopedListWarning++; if (buildCounterAcceleratorTypesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed782(); + o.data = buildUnnamed807(); o.message = 'foo'; } buildCounterAcceleratorTypesScopedListWarning--; @@ -446,7 +446,7 @@ void checkAcceleratorTypesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed782(o.data!); + checkUnnamed807(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -460,7 +460,7 @@ api.AcceleratorTypesScopedList buildAcceleratorTypesScopedList() { final o = api.AcceleratorTypesScopedList(); buildCounterAcceleratorTypesScopedList++; if (buildCounterAcceleratorTypesScopedList < 3) { - o.acceleratorTypes = buildUnnamed781(); + o.acceleratorTypes = buildUnnamed806(); o.warning = buildAcceleratorTypesScopedListWarning(); } buildCounterAcceleratorTypesScopedList--; @@ -470,7 +470,7 @@ api.AcceleratorTypesScopedList buildAcceleratorTypesScopedList() { void checkAcceleratorTypesScopedList(api.AcceleratorTypesScopedList o) { buildCounterAcceleratorTypesScopedList++; if (buildCounterAcceleratorTypesScopedList < 3) { - checkUnnamed781(o.acceleratorTypes!); + checkUnnamed806(o.acceleratorTypes!); checkAcceleratorTypesScopedListWarning(o.warning!); } buildCounterAcceleratorTypesScopedList--; @@ -535,12 +535,12 @@ void checkAccessConfig(api.AccessConfig o) { buildCounterAccessConfig--; } -core.List buildUnnamed783() => [ +core.List buildUnnamed808() => [ 'foo', 'foo', ]; -void checkUnnamed783(core.List o) { +void checkUnnamed808(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -573,7 +573,7 @@ api.Address buildAddress() { o.selfLink = 'foo'; o.status = 'foo'; o.subnetwork = 'foo'; - o.users = buildUnnamed783(); + o.users = buildUnnamed808(); } buildCounterAddress--; return o; @@ -646,28 +646,28 @@ void checkAddress(api.Address o) { o.subnetwork!, unittest.equals('foo'), ); - checkUnnamed783(o.users!); + checkUnnamed808(o.users!); } buildCounterAddress--; } -core.Map buildUnnamed784() => { +core.Map buildUnnamed809() => { 'x': buildAddressesScopedList(), 'y': buildAddressesScopedList(), }; -void checkUnnamed784(core.Map o) { +void checkUnnamed809(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAddressesScopedList(o['x']!); checkAddressesScopedList(o['y']!); } -core.List buildUnnamed785() => [ +core.List buildUnnamed810() => [ 'foo', 'foo', ]; -void checkUnnamed785(core.List o) { +void checkUnnamed810(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -707,12 +707,12 @@ void checkAddressAggregatedListWarningData( buildCounterAddressAggregatedListWarningData--; } -core.List buildUnnamed786() => [ +core.List buildUnnamed811() => [ buildAddressAggregatedListWarningData(), buildAddressAggregatedListWarningData(), ]; -void checkUnnamed786(core.List o) { +void checkUnnamed811(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddressAggregatedListWarningData(o[0]); checkAddressAggregatedListWarningData(o[1]); @@ -724,7 +724,7 @@ api.AddressAggregatedListWarning buildAddressAggregatedListWarning() { buildCounterAddressAggregatedListWarning++; if (buildCounterAddressAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed786(); + o.data = buildUnnamed811(); o.message = 'foo'; } buildCounterAddressAggregatedListWarning--; @@ -738,7 +738,7 @@ void checkAddressAggregatedListWarning(api.AddressAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed786(o.data!); + checkUnnamed811(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -753,11 +753,11 @@ api.AddressAggregatedList buildAddressAggregatedList() { buildCounterAddressAggregatedList++; if (buildCounterAddressAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed784(); + o.items = buildUnnamed809(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed785(); + o.unreachables = buildUnnamed810(); o.warning = buildAddressAggregatedListWarning(); } buildCounterAddressAggregatedList--; @@ -771,7 +771,7 @@ void checkAddressAggregatedList(api.AddressAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed784(o.items!); + checkUnnamed809(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -784,18 +784,18 @@ void checkAddressAggregatedList(api.AddressAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed785(o.unreachables!); + checkUnnamed810(o.unreachables!); checkAddressAggregatedListWarning(o.warning!); } buildCounterAddressAggregatedList--; } -core.List buildUnnamed787() => [ +core.List buildUnnamed812() => [ buildAddress(), buildAddress(), ]; -void checkUnnamed787(core.List o) { +void checkUnnamed812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddress(o[0]); checkAddress(o[1]); @@ -828,12 +828,12 @@ void checkAddressListWarningData(api.AddressListWarningData o) { buildCounterAddressListWarningData--; } -core.List buildUnnamed788() => [ +core.List buildUnnamed813() => [ buildAddressListWarningData(), buildAddressListWarningData(), ]; -void checkUnnamed788(core.List o) { +void checkUnnamed813(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddressListWarningData(o[0]); checkAddressListWarningData(o[1]); @@ -845,7 +845,7 @@ api.AddressListWarning buildAddressListWarning() { buildCounterAddressListWarning++; if (buildCounterAddressListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed788(); + o.data = buildUnnamed813(); o.message = 'foo'; } buildCounterAddressListWarning--; @@ -859,7 +859,7 @@ void checkAddressListWarning(api.AddressListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed788(o.data!); + checkUnnamed813(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -874,7 +874,7 @@ api.AddressList buildAddressList() { buildCounterAddressList++; if (buildCounterAddressList < 3) { o.id = 'foo'; - o.items = buildUnnamed787(); + o.items = buildUnnamed812(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -891,7 +891,7 @@ void checkAddressList(api.AddressList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed787(o.items!); + checkUnnamed812(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -909,12 +909,12 @@ void checkAddressList(api.AddressList o) { buildCounterAddressList--; } -core.List buildUnnamed789() => [ +core.List buildUnnamed814() => [ buildAddress(), buildAddress(), ]; -void checkUnnamed789(core.List o) { +void checkUnnamed814(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddress(o[0]); checkAddress(o[1]); @@ -947,12 +947,12 @@ void checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { buildCounterAddressesScopedListWarningData--; } -core.List buildUnnamed790() => [ +core.List buildUnnamed815() => [ buildAddressesScopedListWarningData(), buildAddressesScopedListWarningData(), ]; -void checkUnnamed790(core.List o) { +void checkUnnamed815(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddressesScopedListWarningData(o[0]); checkAddressesScopedListWarningData(o[1]); @@ -964,7 +964,7 @@ api.AddressesScopedListWarning buildAddressesScopedListWarning() { buildCounterAddressesScopedListWarning++; if (buildCounterAddressesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed790(); + o.data = buildUnnamed815(); o.message = 'foo'; } buildCounterAddressesScopedListWarning--; @@ -978,7 +978,7 @@ void checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed790(o.data!); + checkUnnamed815(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -992,7 +992,7 @@ api.AddressesScopedList buildAddressesScopedList() { final o = api.AddressesScopedList(); buildCounterAddressesScopedList++; if (buildCounterAddressesScopedList < 3) { - o.addresses = buildUnnamed789(); + o.addresses = buildUnnamed814(); o.warning = buildAddressesScopedListWarning(); } buildCounterAddressesScopedList--; @@ -1002,7 +1002,7 @@ api.AddressesScopedList buildAddressesScopedList() { void checkAddressesScopedList(api.AddressesScopedList o) { buildCounterAddressesScopedList++; if (buildCounterAddressesScopedList < 3) { - checkUnnamed789(o.addresses!); + checkUnnamed814(o.addresses!); checkAddressesScopedListWarning(o.warning!); } buildCounterAddressesScopedList--; @@ -1094,12 +1094,12 @@ void checkAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk buildCounterAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk--; } -core.List buildUnnamed791() => [ +core.List buildUnnamed816() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed791(core.List o) { +void checkUnnamed816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); @@ -1107,12 +1107,12 @@ void checkUnnamed791(core.List o) { core.List< api.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> - buildUnnamed792() => [ + buildUnnamed817() => [ buildAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk(), buildAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk(), ]; -void checkUnnamed792( +void checkUnnamed817( core.List< api.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> o) { @@ -1131,8 +1131,8 @@ api.AllocationSpecificSKUAllocationReservedInstanceProperties buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties++; if (buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties < 3) { - o.guestAccelerators = buildUnnamed791(); - o.localSsds = buildUnnamed792(); + o.guestAccelerators = buildUnnamed816(); + o.localSsds = buildUnnamed817(); o.locationHint = 'foo'; o.machineType = 'foo'; o.minCpuPlatform = 'foo'; @@ -1146,8 +1146,8 @@ void checkAllocationSpecificSKUAllocationReservedInstanceProperties( buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties++; if (buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties < 3) { - checkUnnamed791(o.guestAccelerators!); - checkUnnamed792(o.localSsds!); + checkUnnamed816(o.guestAccelerators!); + checkUnnamed817(o.localSsds!); unittest.expect( o.locationHint!, unittest.equals('foo'), @@ -1196,23 +1196,23 @@ void checkAllocationSpecificSKUReservation( buildCounterAllocationSpecificSKUReservation--; } -core.List buildUnnamed793() => [ +core.List buildUnnamed818() => [ buildGuestOsFeature(), buildGuestOsFeature(), ]; -void checkUnnamed793(core.List o) { +void checkUnnamed818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuestOsFeature(o[0]); checkGuestOsFeature(o[1]); } -core.List buildUnnamed794() => [ +core.List buildUnnamed819() => [ 'foo', 'foo', ]; -void checkUnnamed794(core.List o) { +void checkUnnamed819(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1234,12 +1234,12 @@ api.AttachedDisk buildAttachedDisk() { o.deviceName = 'foo'; o.diskEncryptionKey = buildCustomerEncryptionKey(); o.diskSizeGb = 'foo'; - o.guestOsFeatures = buildUnnamed793(); + o.guestOsFeatures = buildUnnamed818(); o.index = 42; o.initializeParams = buildAttachedDiskInitializeParams(); o.interface = 'foo'; o.kind = 'foo'; - o.licenses = buildUnnamed794(); + o.licenses = buildUnnamed819(); o.mode = 'foo'; o.shieldedInstanceInitialState = buildInitialStateConfig(); o.source = 'foo'; @@ -1263,7 +1263,7 @@ void checkAttachedDisk(api.AttachedDisk o) { o.diskSizeGb!, unittest.equals('foo'), ); - checkUnnamed793(o.guestOsFeatures!); + checkUnnamed818(o.guestOsFeatures!); unittest.expect( o.index!, unittest.equals(42), @@ -1277,7 +1277,7 @@ void checkAttachedDisk(api.AttachedDisk o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed794(o.licenses!); + checkUnnamed819(o.licenses!); unittest.expect( o.mode!, unittest.equals('foo'), @@ -1295,12 +1295,12 @@ void checkAttachedDisk(api.AttachedDisk o) { buildCounterAttachedDisk--; } -core.Map buildUnnamed795() => { +core.Map buildUnnamed820() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed795(core.Map o) { +void checkUnnamed820(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1312,12 +1312,12 @@ void checkUnnamed795(core.Map o) { ); } -core.List buildUnnamed796() => [ +core.List buildUnnamed821() => [ 'foo', 'foo', ]; -void checkUnnamed796(core.List o) { +void checkUnnamed821(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1338,10 +1338,10 @@ api.AttachedDiskInitializeParams buildAttachedDiskInitializeParams() { o.diskName = 'foo'; o.diskSizeGb = 'foo'; o.diskType = 'foo'; - o.labels = buildUnnamed795(); + o.labels = buildUnnamed820(); o.onUpdateAction = 'foo'; o.provisionedIops = 'foo'; - o.resourcePolicies = buildUnnamed796(); + o.resourcePolicies = buildUnnamed821(); o.sourceImage = 'foo'; o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); o.sourceSnapshot = 'foo'; @@ -1370,7 +1370,7 @@ void checkAttachedDiskInitializeParams(api.AttachedDiskInitializeParams o) { o.diskType!, unittest.equals('foo'), ); - checkUnnamed795(o.labels!); + checkUnnamed820(o.labels!); unittest.expect( o.onUpdateAction!, unittest.equals('foo'), @@ -1379,7 +1379,7 @@ void checkAttachedDiskInitializeParams(api.AttachedDiskInitializeParams o) { o.provisionedIops!, unittest.equals('foo'), ); - checkUnnamed796(o.resourcePolicies!); + checkUnnamed821(o.resourcePolicies!); unittest.expect( o.sourceImage!, unittest.equals('foo'), @@ -1394,23 +1394,23 @@ void checkAttachedDiskInitializeParams(api.AttachedDiskInitializeParams o) { buildCounterAttachedDiskInitializeParams--; } -core.List buildUnnamed797() => [ +core.List buildUnnamed822() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed797(core.List o) { +void checkUnnamed822(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); } -core.List buildUnnamed798() => [ +core.List buildUnnamed823() => [ 'foo', 'foo', ]; -void checkUnnamed798(core.List o) { +void checkUnnamed823(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1427,8 +1427,8 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed797(); - o.exemptedMembers = buildUnnamed798(); + o.auditLogConfigs = buildUnnamed822(); + o.exemptedMembers = buildUnnamed823(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -1438,8 +1438,8 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed797(o.auditLogConfigs!); - checkUnnamed798(o.exemptedMembers!); + checkUnnamed822(o.auditLogConfigs!); + checkUnnamed823(o.exemptedMembers!); unittest.expect( o.service!, unittest.equals('foo'), @@ -1448,12 +1448,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed799() => [ +core.List buildUnnamed824() => [ 'foo', 'foo', ]; -void checkUnnamed799(core.List o) { +void checkUnnamed824(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1470,7 +1470,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed799(); + o.exemptedMembers = buildUnnamed824(); o.ignoreChildExemptions = true; o.logType = 'foo'; } @@ -1481,7 +1481,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed799(o.exemptedMembers!); + checkUnnamed824(o.exemptedMembers!); unittest.expect(o.ignoreChildExemptions!, unittest.isTrue); unittest.expect( o.logType!, @@ -1513,23 +1513,23 @@ void checkAuthorizationLoggingOptions(api.AuthorizationLoggingOptions o) { buildCounterAuthorizationLoggingOptions--; } -core.Map buildUnnamed800() => { +core.Map buildUnnamed825() => { 'x': buildScalingScheduleStatus(), 'y': buildScalingScheduleStatus(), }; -void checkUnnamed800(core.Map o) { +void checkUnnamed825(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkScalingScheduleStatus(o['x']!); checkScalingScheduleStatus(o['y']!); } -core.List buildUnnamed801() => [ +core.List buildUnnamed826() => [ buildAutoscalerStatusDetails(), buildAutoscalerStatusDetails(), ]; -void checkUnnamed801(core.List o) { +void checkUnnamed826(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalerStatusDetails(o[0]); checkAutoscalerStatusDetails(o[1]); @@ -1548,10 +1548,10 @@ api.Autoscaler buildAutoscaler() { o.name = 'foo'; o.recommendedSize = 42; o.region = 'foo'; - o.scalingScheduleStatus = buildUnnamed800(); + o.scalingScheduleStatus = buildUnnamed825(); o.selfLink = 'foo'; o.status = 'foo'; - o.statusDetails = buildUnnamed801(); + o.statusDetails = buildUnnamed826(); o.target = 'foo'; o.zone = 'foo'; } @@ -1591,7 +1591,7 @@ void checkAutoscaler(api.Autoscaler o) { o.region!, unittest.equals('foo'), ); - checkUnnamed800(o.scalingScheduleStatus!); + checkUnnamed825(o.scalingScheduleStatus!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -1600,7 +1600,7 @@ void checkAutoscaler(api.Autoscaler o) { o.status!, unittest.equals('foo'), ); - checkUnnamed801(o.statusDetails!); + checkUnnamed826(o.statusDetails!); unittest.expect( o.target!, unittest.equals('foo'), @@ -1613,23 +1613,23 @@ void checkAutoscaler(api.Autoscaler o) { buildCounterAutoscaler--; } -core.Map buildUnnamed802() => { +core.Map buildUnnamed827() => { 'x': buildAutoscalersScopedList(), 'y': buildAutoscalersScopedList(), }; -void checkUnnamed802(core.Map o) { +void checkUnnamed827(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalersScopedList(o['x']!); checkAutoscalersScopedList(o['y']!); } -core.List buildUnnamed803() => [ +core.List buildUnnamed828() => [ 'foo', 'foo', ]; -void checkUnnamed803(core.List o) { +void checkUnnamed828(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1670,12 +1670,12 @@ void checkAutoscalerAggregatedListWarningData( buildCounterAutoscalerAggregatedListWarningData--; } -core.List buildUnnamed804() => [ +core.List buildUnnamed829() => [ buildAutoscalerAggregatedListWarningData(), buildAutoscalerAggregatedListWarningData(), ]; -void checkUnnamed804(core.List o) { +void checkUnnamed829(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalerAggregatedListWarningData(o[0]); checkAutoscalerAggregatedListWarningData(o[1]); @@ -1687,7 +1687,7 @@ api.AutoscalerAggregatedListWarning buildAutoscalerAggregatedListWarning() { buildCounterAutoscalerAggregatedListWarning++; if (buildCounterAutoscalerAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed804(); + o.data = buildUnnamed829(); o.message = 'foo'; } buildCounterAutoscalerAggregatedListWarning--; @@ -1702,7 +1702,7 @@ void checkAutoscalerAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed804(o.data!); + checkUnnamed829(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1717,11 +1717,11 @@ api.AutoscalerAggregatedList buildAutoscalerAggregatedList() { buildCounterAutoscalerAggregatedList++; if (buildCounterAutoscalerAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed802(); + o.items = buildUnnamed827(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed803(); + o.unreachables = buildUnnamed828(); o.warning = buildAutoscalerAggregatedListWarning(); } buildCounterAutoscalerAggregatedList--; @@ -1735,7 +1735,7 @@ void checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed802(o.items!); + checkUnnamed827(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1748,18 +1748,18 @@ void checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed803(o.unreachables!); + checkUnnamed828(o.unreachables!); checkAutoscalerAggregatedListWarning(o.warning!); } buildCounterAutoscalerAggregatedList--; } -core.List buildUnnamed805() => [ +core.List buildUnnamed830() => [ buildAutoscaler(), buildAutoscaler(), ]; -void checkUnnamed805(core.List o) { +void checkUnnamed830(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscaler(o[0]); checkAutoscaler(o[1]); @@ -1792,12 +1792,12 @@ void checkAutoscalerListWarningData(api.AutoscalerListWarningData o) { buildCounterAutoscalerListWarningData--; } -core.List buildUnnamed806() => [ +core.List buildUnnamed831() => [ buildAutoscalerListWarningData(), buildAutoscalerListWarningData(), ]; -void checkUnnamed806(core.List o) { +void checkUnnamed831(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalerListWarningData(o[0]); checkAutoscalerListWarningData(o[1]); @@ -1809,7 +1809,7 @@ api.AutoscalerListWarning buildAutoscalerListWarning() { buildCounterAutoscalerListWarning++; if (buildCounterAutoscalerListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed806(); + o.data = buildUnnamed831(); o.message = 'foo'; } buildCounterAutoscalerListWarning--; @@ -1823,7 +1823,7 @@ void checkAutoscalerListWarning(api.AutoscalerListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed806(o.data!); + checkUnnamed831(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1838,7 +1838,7 @@ api.AutoscalerList buildAutoscalerList() { buildCounterAutoscalerList++; if (buildCounterAutoscalerList < 3) { o.id = 'foo'; - o.items = buildUnnamed805(); + o.items = buildUnnamed830(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -1855,7 +1855,7 @@ void checkAutoscalerList(api.AutoscalerList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed805(o.items!); + checkUnnamed830(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1900,12 +1900,12 @@ void checkAutoscalerStatusDetails(api.AutoscalerStatusDetails o) { buildCounterAutoscalerStatusDetails--; } -core.List buildUnnamed807() => [ +core.List buildUnnamed832() => [ buildAutoscaler(), buildAutoscaler(), ]; -void checkUnnamed807(core.List o) { +void checkUnnamed832(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscaler(o[0]); checkAutoscaler(o[1]); @@ -1939,12 +1939,12 @@ void checkAutoscalersScopedListWarningData( buildCounterAutoscalersScopedListWarningData--; } -core.List buildUnnamed808() => [ +core.List buildUnnamed833() => [ buildAutoscalersScopedListWarningData(), buildAutoscalersScopedListWarningData(), ]; -void checkUnnamed808(core.List o) { +void checkUnnamed833(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalersScopedListWarningData(o[0]); checkAutoscalersScopedListWarningData(o[1]); @@ -1956,7 +1956,7 @@ api.AutoscalersScopedListWarning buildAutoscalersScopedListWarning() { buildCounterAutoscalersScopedListWarning++; if (buildCounterAutoscalersScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed808(); + o.data = buildUnnamed833(); o.message = 'foo'; } buildCounterAutoscalersScopedListWarning--; @@ -1970,7 +1970,7 @@ void checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed808(o.data!); + checkUnnamed833(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1984,7 +1984,7 @@ api.AutoscalersScopedList buildAutoscalersScopedList() { final o = api.AutoscalersScopedList(); buildCounterAutoscalersScopedList++; if (buildCounterAutoscalersScopedList < 3) { - o.autoscalers = buildUnnamed807(); + o.autoscalers = buildUnnamed832(); o.warning = buildAutoscalersScopedListWarning(); } buildCounterAutoscalersScopedList--; @@ -1994,31 +1994,31 @@ api.AutoscalersScopedList buildAutoscalersScopedList() { void checkAutoscalersScopedList(api.AutoscalersScopedList o) { buildCounterAutoscalersScopedList++; if (buildCounterAutoscalersScopedList < 3) { - checkUnnamed807(o.autoscalers!); + checkUnnamed832(o.autoscalers!); checkAutoscalersScopedListWarning(o.warning!); } buildCounterAutoscalersScopedList--; } -core.List buildUnnamed809() => [ +core.List buildUnnamed834() => [ buildAutoscalingPolicyCustomMetricUtilization(), buildAutoscalingPolicyCustomMetricUtilization(), ]; -void checkUnnamed809( +void checkUnnamed834( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalingPolicyCustomMetricUtilization(o[0]); checkAutoscalingPolicyCustomMetricUtilization(o[1]); } -core.Map buildUnnamed810() => +core.Map buildUnnamed835() => { 'x': buildAutoscalingPolicyScalingSchedule(), 'y': buildAutoscalingPolicyScalingSchedule(), }; -void checkUnnamed810( +void checkUnnamed835( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalingPolicyScalingSchedule(o['x']!); @@ -2032,14 +2032,14 @@ api.AutoscalingPolicy buildAutoscalingPolicy() { if (buildCounterAutoscalingPolicy < 3) { o.coolDownPeriodSec = 42; o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); - o.customMetricUtilizations = buildUnnamed809(); + o.customMetricUtilizations = buildUnnamed834(); o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(); o.maxNumReplicas = 42; o.minNumReplicas = 42; o.mode = 'foo'; o.scaleInControl = buildAutoscalingPolicyScaleInControl(); - o.scalingSchedules = buildUnnamed810(); + o.scalingSchedules = buildUnnamed835(); } buildCounterAutoscalingPolicy--; return o; @@ -2053,7 +2053,7 @@ void checkAutoscalingPolicy(api.AutoscalingPolicy o) { unittest.equals(42), ); checkAutoscalingPolicyCpuUtilization(o.cpuUtilization!); - checkUnnamed809(o.customMetricUtilizations!); + checkUnnamed834(o.customMetricUtilizations!); checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization!); unittest.expect( o.maxNumReplicas!, @@ -2068,7 +2068,7 @@ void checkAutoscalingPolicy(api.AutoscalingPolicy o) { unittest.equals('foo'), ); checkAutoscalingPolicyScaleInControl(o.scaleInControl!); - checkUnnamed810(o.scalingSchedules!); + checkUnnamed835(o.scalingSchedules!); } buildCounterAutoscalingPolicy--; } @@ -2313,12 +2313,12 @@ void checkBackend(api.Backend o) { buildCounterBackend--; } -core.List buildUnnamed811() => [ +core.List buildUnnamed836() => [ 'foo', 'foo', ]; -void checkUnnamed811(core.List o) { +void checkUnnamed836(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2338,7 +2338,7 @@ api.BackendBucket buildBackendBucket() { o.bucketName = 'foo'; o.cdnPolicy = buildBackendBucketCdnPolicy(); o.creationTimestamp = 'foo'; - o.customResponseHeaders = buildUnnamed811(); + o.customResponseHeaders = buildUnnamed836(); o.description = 'foo'; o.enableCdn = true; o.id = 'foo'; @@ -2362,7 +2362,7 @@ void checkBackendBucket(api.BackendBucket o) { o.creationTimestamp!, unittest.equals('foo'), ); - checkUnnamed811(o.customResponseHeaders!); + checkUnnamed836(o.customResponseHeaders!); unittest.expect( o.description!, unittest.equals('foo'), @@ -2389,37 +2389,37 @@ void checkBackendBucket(api.BackendBucket o) { } core.List - buildUnnamed812() => [ + buildUnnamed837() => [ buildBackendBucketCdnPolicyBypassCacheOnRequestHeader(), buildBackendBucketCdnPolicyBypassCacheOnRequestHeader(), ]; -void checkUnnamed812( +void checkUnnamed837( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendBucketCdnPolicyBypassCacheOnRequestHeader(o[0]); checkBackendBucketCdnPolicyBypassCacheOnRequestHeader(o[1]); } -core.List buildUnnamed813() => +core.List buildUnnamed838() => [ buildBackendBucketCdnPolicyNegativeCachingPolicy(), buildBackendBucketCdnPolicyNegativeCachingPolicy(), ]; -void checkUnnamed813( +void checkUnnamed838( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendBucketCdnPolicyNegativeCachingPolicy(o[0]); checkBackendBucketCdnPolicyNegativeCachingPolicy(o[1]); } -core.List buildUnnamed814() => [ +core.List buildUnnamed839() => [ 'foo', 'foo', ]; -void checkUnnamed814(core.List o) { +void checkUnnamed839(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2436,17 +2436,17 @@ api.BackendBucketCdnPolicy buildBackendBucketCdnPolicy() { final o = api.BackendBucketCdnPolicy(); buildCounterBackendBucketCdnPolicy++; if (buildCounterBackendBucketCdnPolicy < 3) { - o.bypassCacheOnRequestHeaders = buildUnnamed812(); + o.bypassCacheOnRequestHeaders = buildUnnamed837(); o.cacheMode = 'foo'; o.clientTtl = 42; o.defaultTtl = 42; o.maxTtl = 42; o.negativeCaching = true; - o.negativeCachingPolicy = buildUnnamed813(); + o.negativeCachingPolicy = buildUnnamed838(); o.requestCoalescing = true; o.serveWhileStale = 42; o.signedUrlCacheMaxAgeSec = 'foo'; - o.signedUrlKeyNames = buildUnnamed814(); + o.signedUrlKeyNames = buildUnnamed839(); } buildCounterBackendBucketCdnPolicy--; return o; @@ -2455,7 +2455,7 @@ api.BackendBucketCdnPolicy buildBackendBucketCdnPolicy() { void checkBackendBucketCdnPolicy(api.BackendBucketCdnPolicy o) { buildCounterBackendBucketCdnPolicy++; if (buildCounterBackendBucketCdnPolicy < 3) { - checkUnnamed812(o.bypassCacheOnRequestHeaders!); + checkUnnamed837(o.bypassCacheOnRequestHeaders!); unittest.expect( o.cacheMode!, unittest.equals('foo'), @@ -2473,7 +2473,7 @@ void checkBackendBucketCdnPolicy(api.BackendBucketCdnPolicy o) { unittest.equals(42), ); unittest.expect(o.negativeCaching!, unittest.isTrue); - checkUnnamed813(o.negativeCachingPolicy!); + checkUnnamed838(o.negativeCachingPolicy!); unittest.expect(o.requestCoalescing!, unittest.isTrue); unittest.expect( o.serveWhileStale!, @@ -2483,7 +2483,7 @@ void checkBackendBucketCdnPolicy(api.BackendBucketCdnPolicy o) { o.signedUrlCacheMaxAgeSec!, unittest.equals('foo'), ); - checkUnnamed814(o.signedUrlKeyNames!); + checkUnnamed839(o.signedUrlKeyNames!); } buildCounterBackendBucketCdnPolicy--; } @@ -2541,12 +2541,12 @@ void checkBackendBucketCdnPolicyNegativeCachingPolicy( buildCounterBackendBucketCdnPolicyNegativeCachingPolicy--; } -core.List buildUnnamed815() => [ +core.List buildUnnamed840() => [ buildBackendBucket(), buildBackendBucket(), ]; -void checkUnnamed815(core.List o) { +void checkUnnamed840(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendBucket(o[0]); checkBackendBucket(o[1]); @@ -2579,12 +2579,12 @@ void checkBackendBucketListWarningData(api.BackendBucketListWarningData o) { buildCounterBackendBucketListWarningData--; } -core.List buildUnnamed816() => [ +core.List buildUnnamed841() => [ buildBackendBucketListWarningData(), buildBackendBucketListWarningData(), ]; -void checkUnnamed816(core.List o) { +void checkUnnamed841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendBucketListWarningData(o[0]); checkBackendBucketListWarningData(o[1]); @@ -2596,7 +2596,7 @@ api.BackendBucketListWarning buildBackendBucketListWarning() { buildCounterBackendBucketListWarning++; if (buildCounterBackendBucketListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed816(); + o.data = buildUnnamed841(); o.message = 'foo'; } buildCounterBackendBucketListWarning--; @@ -2610,7 +2610,7 @@ void checkBackendBucketListWarning(api.BackendBucketListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed816(o.data!); + checkUnnamed841(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2625,7 +2625,7 @@ api.BackendBucketList buildBackendBucketList() { buildCounterBackendBucketList++; if (buildCounterBackendBucketList < 3) { o.id = 'foo'; - o.items = buildUnnamed815(); + o.items = buildUnnamed840(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -2642,7 +2642,7 @@ void checkBackendBucketList(api.BackendBucketList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed815(o.items!); + checkUnnamed840(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2660,23 +2660,23 @@ void checkBackendBucketList(api.BackendBucketList o) { buildCounterBackendBucketList--; } -core.List buildUnnamed817() => [ +core.List buildUnnamed842() => [ buildBackend(), buildBackend(), ]; -void checkUnnamed817(core.List o) { +void checkUnnamed842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackend(o[0]); checkBackend(o[1]); } -core.List buildUnnamed818() => [ +core.List buildUnnamed843() => [ 'foo', 'foo', ]; -void checkUnnamed818(core.List o) { +void checkUnnamed843(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2688,12 +2688,12 @@ void checkUnnamed818(core.List o) { ); } -core.List buildUnnamed819() => [ +core.List buildUnnamed844() => [ 'foo', 'foo', ]; -void checkUnnamed819(core.List o) { +void checkUnnamed844(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2705,12 +2705,12 @@ void checkUnnamed819(core.List o) { ); } -core.List buildUnnamed820() => [ +core.List buildUnnamed845() => [ 'foo', 'foo', ]; -void checkUnnamed820(core.List o) { +void checkUnnamed845(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2728,19 +2728,19 @@ api.BackendService buildBackendService() { buildCounterBackendService++; if (buildCounterBackendService < 3) { o.affinityCookieTtlSec = 42; - o.backends = buildUnnamed817(); + o.backends = buildUnnamed842(); o.cdnPolicy = buildBackendServiceCdnPolicy(); o.circuitBreakers = buildCircuitBreakers(); o.connectionDraining = buildConnectionDraining(); o.consistentHash = buildConsistentHashLoadBalancerSettings(); o.creationTimestamp = 'foo'; - o.customRequestHeaders = buildUnnamed818(); - o.customResponseHeaders = buildUnnamed819(); + o.customRequestHeaders = buildUnnamed843(); + o.customResponseHeaders = buildUnnamed844(); o.description = 'foo'; o.enableCDN = true; o.failoverPolicy = buildBackendServiceFailoverPolicy(); o.fingerprint = 'foo'; - o.healthChecks = buildUnnamed820(); + o.healthChecks = buildUnnamed845(); o.iap = buildBackendServiceIAP(); o.id = 'foo'; o.kind = 'foo'; @@ -2772,7 +2772,7 @@ void checkBackendService(api.BackendService o) { o.affinityCookieTtlSec!, unittest.equals(42), ); - checkUnnamed817(o.backends!); + checkUnnamed842(o.backends!); checkBackendServiceCdnPolicy(o.cdnPolicy!); checkCircuitBreakers(o.circuitBreakers!); checkConnectionDraining(o.connectionDraining!); @@ -2781,8 +2781,8 @@ void checkBackendService(api.BackendService o) { o.creationTimestamp!, unittest.equals('foo'), ); - checkUnnamed818(o.customRequestHeaders!); - checkUnnamed819(o.customResponseHeaders!); + checkUnnamed843(o.customRequestHeaders!); + checkUnnamed844(o.customResponseHeaders!); unittest.expect( o.description!, unittest.equals('foo'), @@ -2793,7 +2793,7 @@ void checkBackendService(api.BackendService o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed820(o.healthChecks!); + checkUnnamed845(o.healthChecks!); checkBackendServiceIAP(o.iap!); unittest.expect( o.id!, @@ -2859,23 +2859,23 @@ void checkBackendService(api.BackendService o) { buildCounterBackendService--; } -core.Map buildUnnamed821() => { +core.Map buildUnnamed846() => { 'x': buildBackendServicesScopedList(), 'y': buildBackendServicesScopedList(), }; -void checkUnnamed821(core.Map o) { +void checkUnnamed846(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkBackendServicesScopedList(o['x']!); checkBackendServicesScopedList(o['y']!); } -core.List buildUnnamed822() => [ +core.List buildUnnamed847() => [ 'foo', 'foo', ]; -void checkUnnamed822(core.List o) { +void checkUnnamed847(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2916,12 +2916,12 @@ void checkBackendServiceAggregatedListWarningData( buildCounterBackendServiceAggregatedListWarningData--; } -core.List buildUnnamed823() => [ +core.List buildUnnamed848() => [ buildBackendServiceAggregatedListWarningData(), buildBackendServiceAggregatedListWarningData(), ]; -void checkUnnamed823(core.List o) { +void checkUnnamed848(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendServiceAggregatedListWarningData(o[0]); checkBackendServiceAggregatedListWarningData(o[1]); @@ -2934,7 +2934,7 @@ api.BackendServiceAggregatedListWarning buildCounterBackendServiceAggregatedListWarning++; if (buildCounterBackendServiceAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed823(); + o.data = buildUnnamed848(); o.message = 'foo'; } buildCounterBackendServiceAggregatedListWarning--; @@ -2949,7 +2949,7 @@ void checkBackendServiceAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed823(o.data!); + checkUnnamed848(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2964,11 +2964,11 @@ api.BackendServiceAggregatedList buildBackendServiceAggregatedList() { buildCounterBackendServiceAggregatedList++; if (buildCounterBackendServiceAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed821(); + o.items = buildUnnamed846(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed822(); + o.unreachables = buildUnnamed847(); o.warning = buildBackendServiceAggregatedListWarning(); } buildCounterBackendServiceAggregatedList--; @@ -2982,7 +2982,7 @@ void checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed821(o.items!); + checkUnnamed846(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2995,44 +2995,44 @@ void checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed822(o.unreachables!); + checkUnnamed847(o.unreachables!); checkBackendServiceAggregatedListWarning(o.warning!); } buildCounterBackendServiceAggregatedList--; } core.List - buildUnnamed824() => [ + buildUnnamed849() => [ buildBackendServiceCdnPolicyBypassCacheOnRequestHeader(), buildBackendServiceCdnPolicyBypassCacheOnRequestHeader(), ]; -void checkUnnamed824( +void checkUnnamed849( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendServiceCdnPolicyBypassCacheOnRequestHeader(o[0]); checkBackendServiceCdnPolicyBypassCacheOnRequestHeader(o[1]); } -core.List buildUnnamed825() => +core.List buildUnnamed850() => [ buildBackendServiceCdnPolicyNegativeCachingPolicy(), buildBackendServiceCdnPolicyNegativeCachingPolicy(), ]; -void checkUnnamed825( +void checkUnnamed850( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendServiceCdnPolicyNegativeCachingPolicy(o[0]); checkBackendServiceCdnPolicyNegativeCachingPolicy(o[1]); } -core.List buildUnnamed826() => [ +core.List buildUnnamed851() => [ 'foo', 'foo', ]; -void checkUnnamed826(core.List o) { +void checkUnnamed851(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3049,18 +3049,18 @@ api.BackendServiceCdnPolicy buildBackendServiceCdnPolicy() { final o = api.BackendServiceCdnPolicy(); buildCounterBackendServiceCdnPolicy++; if (buildCounterBackendServiceCdnPolicy < 3) { - o.bypassCacheOnRequestHeaders = buildUnnamed824(); + o.bypassCacheOnRequestHeaders = buildUnnamed849(); o.cacheKeyPolicy = buildCacheKeyPolicy(); o.cacheMode = 'foo'; o.clientTtl = 42; o.defaultTtl = 42; o.maxTtl = 42; o.negativeCaching = true; - o.negativeCachingPolicy = buildUnnamed825(); + o.negativeCachingPolicy = buildUnnamed850(); o.requestCoalescing = true; o.serveWhileStale = 42; o.signedUrlCacheMaxAgeSec = 'foo'; - o.signedUrlKeyNames = buildUnnamed826(); + o.signedUrlKeyNames = buildUnnamed851(); } buildCounterBackendServiceCdnPolicy--; return o; @@ -3069,7 +3069,7 @@ api.BackendServiceCdnPolicy buildBackendServiceCdnPolicy() { void checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) { buildCounterBackendServiceCdnPolicy++; if (buildCounterBackendServiceCdnPolicy < 3) { - checkUnnamed824(o.bypassCacheOnRequestHeaders!); + checkUnnamed849(o.bypassCacheOnRequestHeaders!); checkCacheKeyPolicy(o.cacheKeyPolicy!); unittest.expect( o.cacheMode!, @@ -3088,7 +3088,7 @@ void checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) { unittest.equals(42), ); unittest.expect(o.negativeCaching!, unittest.isTrue); - checkUnnamed825(o.negativeCachingPolicy!); + checkUnnamed850(o.negativeCachingPolicy!); unittest.expect(o.requestCoalescing!, unittest.isTrue); unittest.expect( o.serveWhileStale!, @@ -3098,7 +3098,7 @@ void checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) { o.signedUrlCacheMaxAgeSec!, unittest.equals('foo'), ); - checkUnnamed826(o.signedUrlKeyNames!); + checkUnnamed851(o.signedUrlKeyNames!); } buildCounterBackendServiceCdnPolicy--; } @@ -3182,12 +3182,12 @@ void checkBackendServiceFailoverPolicy(api.BackendServiceFailoverPolicy o) { buildCounterBackendServiceFailoverPolicy--; } -core.Map buildUnnamed827() => { +core.Map buildUnnamed852() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed827(core.Map o) { +void checkUnnamed852(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3199,12 +3199,12 @@ void checkUnnamed827(core.Map o) { ); } -core.List buildUnnamed828() => [ +core.List buildUnnamed853() => [ buildHealthStatus(), buildHealthStatus(), ]; -void checkUnnamed828(core.List o) { +void checkUnnamed853(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthStatus(o[0]); checkHealthStatus(o[1]); @@ -3215,8 +3215,8 @@ api.BackendServiceGroupHealth buildBackendServiceGroupHealth() { final o = api.BackendServiceGroupHealth(); buildCounterBackendServiceGroupHealth++; if (buildCounterBackendServiceGroupHealth < 3) { - o.annotations = buildUnnamed827(); - o.healthStatus = buildUnnamed828(); + o.annotations = buildUnnamed852(); + o.healthStatus = buildUnnamed853(); o.kind = 'foo'; } buildCounterBackendServiceGroupHealth--; @@ -3226,8 +3226,8 @@ api.BackendServiceGroupHealth buildBackendServiceGroupHealth() { void checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { buildCounterBackendServiceGroupHealth++; if (buildCounterBackendServiceGroupHealth < 3) { - checkUnnamed827(o.annotations!); - checkUnnamed828(o.healthStatus!); + checkUnnamed852(o.annotations!); + checkUnnamed853(o.healthStatus!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3270,12 +3270,12 @@ void checkBackendServiceIAP(api.BackendServiceIAP o) { buildCounterBackendServiceIAP--; } -core.List buildUnnamed829() => [ +core.List buildUnnamed854() => [ buildBackendService(), buildBackendService(), ]; -void checkUnnamed829(core.List o) { +void checkUnnamed854(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendService(o[0]); checkBackendService(o[1]); @@ -3308,12 +3308,12 @@ void checkBackendServiceListWarningData(api.BackendServiceListWarningData o) { buildCounterBackendServiceListWarningData--; } -core.List buildUnnamed830() => [ +core.List buildUnnamed855() => [ buildBackendServiceListWarningData(), buildBackendServiceListWarningData(), ]; -void checkUnnamed830(core.List o) { +void checkUnnamed855(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendServiceListWarningData(o[0]); checkBackendServiceListWarningData(o[1]); @@ -3325,7 +3325,7 @@ api.BackendServiceListWarning buildBackendServiceListWarning() { buildCounterBackendServiceListWarning++; if (buildCounterBackendServiceListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed830(); + o.data = buildUnnamed855(); o.message = 'foo'; } buildCounterBackendServiceListWarning--; @@ -3339,7 +3339,7 @@ void checkBackendServiceListWarning(api.BackendServiceListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed830(o.data!); + checkUnnamed855(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3354,7 +3354,7 @@ api.BackendServiceList buildBackendServiceList() { buildCounterBackendServiceList++; if (buildCounterBackendServiceList < 3) { o.id = 'foo'; - o.items = buildUnnamed829(); + o.items = buildUnnamed854(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -3371,7 +3371,7 @@ void checkBackendServiceList(api.BackendServiceList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed829(o.items!); + checkUnnamed854(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3435,12 +3435,12 @@ void checkBackendServiceReference(api.BackendServiceReference o) { buildCounterBackendServiceReference--; } -core.List buildUnnamed831() => [ +core.List buildUnnamed856() => [ buildBackendService(), buildBackendService(), ]; -void checkUnnamed831(core.List o) { +void checkUnnamed856(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendService(o[0]); checkBackendService(o[1]); @@ -3475,12 +3475,12 @@ void checkBackendServicesScopedListWarningData( buildCounterBackendServicesScopedListWarningData--; } -core.List buildUnnamed832() => [ +core.List buildUnnamed857() => [ buildBackendServicesScopedListWarningData(), buildBackendServicesScopedListWarningData(), ]; -void checkUnnamed832(core.List o) { +void checkUnnamed857(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendServicesScopedListWarningData(o[0]); checkBackendServicesScopedListWarningData(o[1]); @@ -3492,7 +3492,7 @@ api.BackendServicesScopedListWarning buildBackendServicesScopedListWarning() { buildCounterBackendServicesScopedListWarning++; if (buildCounterBackendServicesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed832(); + o.data = buildUnnamed857(); o.message = 'foo'; } buildCounterBackendServicesScopedListWarning--; @@ -3507,7 +3507,7 @@ void checkBackendServicesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed832(o.data!); + checkUnnamed857(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3521,7 +3521,7 @@ api.BackendServicesScopedList buildBackendServicesScopedList() { final o = api.BackendServicesScopedList(); buildCounterBackendServicesScopedList++; if (buildCounterBackendServicesScopedList < 3) { - o.backendServices = buildUnnamed831(); + o.backendServices = buildUnnamed856(); o.warning = buildBackendServicesScopedListWarning(); } buildCounterBackendServicesScopedList--; @@ -3531,18 +3531,18 @@ api.BackendServicesScopedList buildBackendServicesScopedList() { void checkBackendServicesScopedList(api.BackendServicesScopedList o) { buildCounterBackendServicesScopedList++; if (buildCounterBackendServicesScopedList < 3) { - checkUnnamed831(o.backendServices!); + checkUnnamed856(o.backendServices!); checkBackendServicesScopedListWarning(o.warning!); } buildCounterBackendServicesScopedList--; } -core.List buildUnnamed833() => [ +core.List buildUnnamed858() => [ 'foo', 'foo', ]; -void checkUnnamed833(core.List o) { +void checkUnnamed858(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3561,7 +3561,7 @@ api.Binding buildBinding() { if (buildCounterBinding < 3) { o.bindingId = 'foo'; o.condition = buildExpr(); - o.members = buildUnnamed833(); + o.members = buildUnnamed858(); o.role = 'foo'; } buildCounterBinding--; @@ -3576,7 +3576,7 @@ void checkBinding(api.Binding o) { unittest.equals('foo'), ); checkExpr(o.condition!); - checkUnnamed833(o.members!); + checkUnnamed858(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -3586,12 +3586,12 @@ void checkBinding(api.Binding o) { } core.Map - buildUnnamed834() => { + buildUnnamed859() => { 'x': buildBulkInsertInstanceResourcePerInstanceProperties(), 'y': buildBulkInsertInstanceResourcePerInstanceProperties(), }; -void checkUnnamed834( +void checkUnnamed859( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -3609,7 +3609,7 @@ api.BulkInsertInstanceResource buildBulkInsertInstanceResource() { o.locationPolicy = buildLocationPolicy(); o.minCount = 'foo'; o.namePattern = 'foo'; - o.perInstanceProperties = buildUnnamed834(); + o.perInstanceProperties = buildUnnamed859(); o.sourceInstanceTemplate = 'foo'; } buildCounterBulkInsertInstanceResource--; @@ -3633,7 +3633,7 @@ void checkBulkInsertInstanceResource(api.BulkInsertInstanceResource o) { o.namePattern!, unittest.equals('foo'), ); - checkUnnamed834(o.perInstanceProperties!); + checkUnnamed859(o.perInstanceProperties!); unittest.expect( o.sourceInstanceTemplate!, unittest.equals('foo'), @@ -3693,12 +3693,12 @@ void checkCacheInvalidationRule(api.CacheInvalidationRule o) { buildCounterCacheInvalidationRule--; } -core.List buildUnnamed835() => [ +core.List buildUnnamed860() => [ 'foo', 'foo', ]; -void checkUnnamed835(core.List o) { +void checkUnnamed860(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3710,12 +3710,12 @@ void checkUnnamed835(core.List o) { ); } -core.List buildUnnamed836() => [ +core.List buildUnnamed861() => [ 'foo', 'foo', ]; -void checkUnnamed836(core.List o) { +void checkUnnamed861(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3735,8 +3735,8 @@ api.CacheKeyPolicy buildCacheKeyPolicy() { o.includeHost = true; o.includeProtocol = true; o.includeQueryString = true; - o.queryStringBlacklist = buildUnnamed835(); - o.queryStringWhitelist = buildUnnamed836(); + o.queryStringBlacklist = buildUnnamed860(); + o.queryStringWhitelist = buildUnnamed861(); } buildCounterCacheKeyPolicy--; return o; @@ -3748,8 +3748,8 @@ void checkCacheKeyPolicy(api.CacheKeyPolicy o) { unittest.expect(o.includeHost!, unittest.isTrue); unittest.expect(o.includeProtocol!, unittest.isTrue); unittest.expect(o.includeQueryString!, unittest.isTrue); - checkUnnamed835(o.queryStringBlacklist!); - checkUnnamed836(o.queryStringWhitelist!); + checkUnnamed860(o.queryStringBlacklist!); + checkUnnamed861(o.queryStringWhitelist!); } buildCounterCacheKeyPolicy--; } @@ -3796,23 +3796,23 @@ void checkCircuitBreakers(api.CircuitBreakers o) { buildCounterCircuitBreakers--; } -core.List buildUnnamed837() => [ +core.List buildUnnamed862() => [ buildReservation(), buildReservation(), ]; -void checkUnnamed837(core.List o) { +void checkUnnamed862(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservation(o[0]); checkReservation(o[1]); } -core.List buildUnnamed838() => [ +core.List buildUnnamed863() => [ buildResourceCommitment(), buildResourceCommitment(), ]; -void checkUnnamed838(core.List o) { +void checkUnnamed863(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceCommitment(o[0]); checkResourceCommitment(o[1]); @@ -3833,12 +3833,13 @@ api.Commitment buildCommitment() { o.name = 'foo'; o.plan = 'foo'; o.region = 'foo'; - o.reservations = buildUnnamed837(); - o.resources = buildUnnamed838(); + o.reservations = buildUnnamed862(); + o.resources = buildUnnamed863(); o.selfLink = 'foo'; o.startTimestamp = 'foo'; o.status = 'foo'; o.statusMessage = 'foo'; + o.type = 'foo'; } buildCounterCommitment--; return o; @@ -3884,8 +3885,8 @@ void checkCommitment(api.Commitment o) { o.region!, unittest.equals('foo'), ); - checkUnnamed837(o.reservations!); - checkUnnamed838(o.resources!); + checkUnnamed862(o.reservations!); + checkUnnamed863(o.resources!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -3902,27 +3903,31 @@ void checkCommitment(api.Commitment o) { o.statusMessage!, unittest.equals('foo'), ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); } buildCounterCommitment--; } -core.Map buildUnnamed839() => { +core.Map buildUnnamed864() => { 'x': buildCommitmentsScopedList(), 'y': buildCommitmentsScopedList(), }; -void checkUnnamed839(core.Map o) { +void checkUnnamed864(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkCommitmentsScopedList(o['x']!); checkCommitmentsScopedList(o['y']!); } -core.List buildUnnamed840() => [ +core.List buildUnnamed865() => [ 'foo', 'foo', ]; -void checkUnnamed840(core.List o) { +void checkUnnamed865(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3963,12 +3968,12 @@ void checkCommitmentAggregatedListWarningData( buildCounterCommitmentAggregatedListWarningData--; } -core.List buildUnnamed841() => [ +core.List buildUnnamed866() => [ buildCommitmentAggregatedListWarningData(), buildCommitmentAggregatedListWarningData(), ]; -void checkUnnamed841(core.List o) { +void checkUnnamed866(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommitmentAggregatedListWarningData(o[0]); checkCommitmentAggregatedListWarningData(o[1]); @@ -3980,7 +3985,7 @@ api.CommitmentAggregatedListWarning buildCommitmentAggregatedListWarning() { buildCounterCommitmentAggregatedListWarning++; if (buildCounterCommitmentAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed841(); + o.data = buildUnnamed866(); o.message = 'foo'; } buildCounterCommitmentAggregatedListWarning--; @@ -3995,7 +4000,7 @@ void checkCommitmentAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed841(o.data!); + checkUnnamed866(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4010,11 +4015,11 @@ api.CommitmentAggregatedList buildCommitmentAggregatedList() { buildCounterCommitmentAggregatedList++; if (buildCounterCommitmentAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed839(); + o.items = buildUnnamed864(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed840(); + o.unreachables = buildUnnamed865(); o.warning = buildCommitmentAggregatedListWarning(); } buildCounterCommitmentAggregatedList--; @@ -4028,7 +4033,7 @@ void checkCommitmentAggregatedList(api.CommitmentAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed839(o.items!); + checkUnnamed864(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4041,18 +4046,18 @@ void checkCommitmentAggregatedList(api.CommitmentAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed840(o.unreachables!); + checkUnnamed865(o.unreachables!); checkCommitmentAggregatedListWarning(o.warning!); } buildCounterCommitmentAggregatedList--; } -core.List buildUnnamed842() => [ +core.List buildUnnamed867() => [ buildCommitment(), buildCommitment(), ]; -void checkUnnamed842(core.List o) { +void checkUnnamed867(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommitment(o[0]); checkCommitment(o[1]); @@ -4085,12 +4090,12 @@ void checkCommitmentListWarningData(api.CommitmentListWarningData o) { buildCounterCommitmentListWarningData--; } -core.List buildUnnamed843() => [ +core.List buildUnnamed868() => [ buildCommitmentListWarningData(), buildCommitmentListWarningData(), ]; -void checkUnnamed843(core.List o) { +void checkUnnamed868(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommitmentListWarningData(o[0]); checkCommitmentListWarningData(o[1]); @@ -4102,7 +4107,7 @@ api.CommitmentListWarning buildCommitmentListWarning() { buildCounterCommitmentListWarning++; if (buildCounterCommitmentListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed843(); + o.data = buildUnnamed868(); o.message = 'foo'; } buildCounterCommitmentListWarning--; @@ -4116,7 +4121,7 @@ void checkCommitmentListWarning(api.CommitmentListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed843(o.data!); + checkUnnamed868(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4131,7 +4136,7 @@ api.CommitmentList buildCommitmentList() { buildCounterCommitmentList++; if (buildCounterCommitmentList < 3) { o.id = 'foo'; - o.items = buildUnnamed842(); + o.items = buildUnnamed867(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -4148,7 +4153,7 @@ void checkCommitmentList(api.CommitmentList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed842(o.items!); + checkUnnamed867(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4166,12 +4171,12 @@ void checkCommitmentList(api.CommitmentList o) { buildCounterCommitmentList--; } -core.List buildUnnamed844() => [ +core.List buildUnnamed869() => [ buildCommitment(), buildCommitment(), ]; -void checkUnnamed844(core.List o) { +void checkUnnamed869(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommitment(o[0]); checkCommitment(o[1]); @@ -4205,12 +4210,12 @@ void checkCommitmentsScopedListWarningData( buildCounterCommitmentsScopedListWarningData--; } -core.List buildUnnamed845() => [ +core.List buildUnnamed870() => [ buildCommitmentsScopedListWarningData(), buildCommitmentsScopedListWarningData(), ]; -void checkUnnamed845(core.List o) { +void checkUnnamed870(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommitmentsScopedListWarningData(o[0]); checkCommitmentsScopedListWarningData(o[1]); @@ -4222,7 +4227,7 @@ api.CommitmentsScopedListWarning buildCommitmentsScopedListWarning() { buildCounterCommitmentsScopedListWarning++; if (buildCounterCommitmentsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed845(); + o.data = buildUnnamed870(); o.message = 'foo'; } buildCounterCommitmentsScopedListWarning--; @@ -4236,7 +4241,7 @@ void checkCommitmentsScopedListWarning(api.CommitmentsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed845(o.data!); + checkUnnamed870(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4250,7 +4255,7 @@ api.CommitmentsScopedList buildCommitmentsScopedList() { final o = api.CommitmentsScopedList(); buildCounterCommitmentsScopedList++; if (buildCounterCommitmentsScopedList < 3) { - o.commitments = buildUnnamed844(); + o.commitments = buildUnnamed869(); o.warning = buildCommitmentsScopedListWarning(); } buildCounterCommitmentsScopedList--; @@ -4260,18 +4265,18 @@ api.CommitmentsScopedList buildCommitmentsScopedList() { void checkCommitmentsScopedList(api.CommitmentsScopedList o) { buildCounterCommitmentsScopedList++; if (buildCounterCommitmentsScopedList < 3) { - checkUnnamed844(o.commitments!); + checkUnnamed869(o.commitments!); checkCommitmentsScopedListWarning(o.warning!); } buildCounterCommitmentsScopedList--; } -core.List buildUnnamed846() => [ +core.List buildUnnamed871() => [ 'foo', 'foo', ]; -void checkUnnamed846(core.List o) { +void checkUnnamed871(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4292,7 +4297,7 @@ api.Condition buildCondition() { o.op = 'foo'; o.svc = 'foo'; o.sys = 'foo'; - o.values = buildUnnamed846(); + o.values = buildUnnamed871(); } buildCounterCondition--; return o; @@ -4317,7 +4322,7 @@ void checkCondition(api.Condition o) { o.sys!, unittest.equals('foo'), ); - checkUnnamed846(o.values!); + checkUnnamed871(o.values!); } buildCounterCondition--; } @@ -4425,12 +4430,12 @@ void checkConsistentHashLoadBalancerSettingsHttpCookie( buildCounterConsistentHashLoadBalancerSettingsHttpCookie--; } -core.List buildUnnamed847() => [ +core.List buildUnnamed872() => [ 'foo', 'foo', ]; -void checkUnnamed847(core.List o) { +void checkUnnamed872(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4442,12 +4447,12 @@ void checkUnnamed847(core.List o) { ); } -core.List buildUnnamed848() => [ +core.List buildUnnamed873() => [ 'foo', 'foo', ]; -void checkUnnamed848(core.List o) { +void checkUnnamed873(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4459,12 +4464,12 @@ void checkUnnamed848(core.List o) { ); } -core.List buildUnnamed849() => [ +core.List buildUnnamed874() => [ 'foo', 'foo', ]; -void checkUnnamed849(core.List o) { +void checkUnnamed874(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4476,12 +4481,12 @@ void checkUnnamed849(core.List o) { ); } -core.List buildUnnamed850() => [ +core.List buildUnnamed875() => [ 'foo', 'foo', ]; -void checkUnnamed850(core.List o) { +void checkUnnamed875(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4493,12 +4498,12 @@ void checkUnnamed850(core.List o) { ); } -core.List buildUnnamed851() => [ +core.List buildUnnamed876() => [ 'foo', 'foo', ]; -void checkUnnamed851(core.List o) { +void checkUnnamed876(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4516,12 +4521,12 @@ api.CorsPolicy buildCorsPolicy() { buildCounterCorsPolicy++; if (buildCounterCorsPolicy < 3) { o.allowCredentials = true; - o.allowHeaders = buildUnnamed847(); - o.allowMethods = buildUnnamed848(); - o.allowOriginRegexes = buildUnnamed849(); - o.allowOrigins = buildUnnamed850(); + o.allowHeaders = buildUnnamed872(); + o.allowMethods = buildUnnamed873(); + o.allowOriginRegexes = buildUnnamed874(); + o.allowOrigins = buildUnnamed875(); o.disabled = true; - o.exposeHeaders = buildUnnamed851(); + o.exposeHeaders = buildUnnamed876(); o.maxAge = 42; } buildCounterCorsPolicy--; @@ -4532,12 +4537,12 @@ void checkCorsPolicy(api.CorsPolicy o) { buildCounterCorsPolicy++; if (buildCounterCorsPolicy < 3) { unittest.expect(o.allowCredentials!, unittest.isTrue); - checkUnnamed847(o.allowHeaders!); - checkUnnamed848(o.allowMethods!); - checkUnnamed849(o.allowOriginRegexes!); - checkUnnamed850(o.allowOrigins!); + checkUnnamed872(o.allowHeaders!); + checkUnnamed873(o.allowMethods!); + checkUnnamed874(o.allowOriginRegexes!); + checkUnnamed875(o.allowOrigins!); unittest.expect(o.disabled!, unittest.isTrue); - checkUnnamed851(o.exposeHeaders!); + checkUnnamed876(o.exposeHeaders!); unittest.expect( o.maxAge!, unittest.equals(42), @@ -4554,6 +4559,7 @@ api.CustomerEncryptionKey buildCustomerEncryptionKey() { o.kmsKeyName = 'foo'; o.kmsKeyServiceAccount = 'foo'; o.rawKey = 'foo'; + o.rsaEncryptedKey = 'foo'; o.sha256 = 'foo'; } buildCounterCustomerEncryptionKey--; @@ -4575,6 +4581,10 @@ void checkCustomerEncryptionKey(api.CustomerEncryptionKey o) { o.rawKey!, unittest.equals('foo'), ); + unittest.expect( + o.rsaEncryptedKey!, + unittest.equals('foo'), + ); unittest.expect( o.sha256!, unittest.equals('foo'), @@ -4651,23 +4661,23 @@ void checkDeprecationStatus(api.DeprecationStatus o) { buildCounterDeprecationStatus--; } -core.List buildUnnamed852() => [ +core.List buildUnnamed877() => [ buildGuestOsFeature(), buildGuestOsFeature(), ]; -void checkUnnamed852(core.List o) { +void checkUnnamed877(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuestOsFeature(o[0]); checkGuestOsFeature(o[1]); } -core.Map buildUnnamed853() => { +core.Map buildUnnamed878() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed853(core.Map o) { +void checkUnnamed878(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4679,12 +4689,12 @@ void checkUnnamed853(core.Map o) { ); } -core.List buildUnnamed854() => [ +core.List buildUnnamed879() => [ 'foo', 'foo', ]; -void checkUnnamed854(core.List o) { +void checkUnnamed879(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4696,12 +4706,12 @@ void checkUnnamed854(core.List o) { ); } -core.List buildUnnamed855() => [ +core.List buildUnnamed880() => [ 'foo', 'foo', ]; -void checkUnnamed855(core.List o) { +void checkUnnamed880(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4713,12 +4723,12 @@ void checkUnnamed855(core.List o) { ); } -core.List buildUnnamed856() => [ +core.List buildUnnamed881() => [ 'foo', 'foo', ]; -void checkUnnamed856(core.List o) { +void checkUnnamed881(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4730,12 +4740,12 @@ void checkUnnamed856(core.List o) { ); } -core.List buildUnnamed857() => [ +core.List buildUnnamed882() => [ 'foo', 'foo', ]; -void checkUnnamed857(core.List o) { +void checkUnnamed882(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4747,12 +4757,12 @@ void checkUnnamed857(core.List o) { ); } -core.List buildUnnamed858() => [ +core.List buildUnnamed883() => [ 'foo', 'foo', ]; -void checkUnnamed858(core.List o) { +void checkUnnamed883(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4772,23 +4782,23 @@ api.Disk buildDisk() { o.creationTimestamp = 'foo'; o.description = 'foo'; o.diskEncryptionKey = buildCustomerEncryptionKey(); - o.guestOsFeatures = buildUnnamed852(); + o.guestOsFeatures = buildUnnamed877(); o.id = 'foo'; o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed853(); + o.labels = buildUnnamed878(); o.lastAttachTimestamp = 'foo'; o.lastDetachTimestamp = 'foo'; - o.licenseCodes = buildUnnamed854(); - o.licenses = buildUnnamed855(); + o.licenseCodes = buildUnnamed879(); + o.licenses = buildUnnamed880(); o.locationHint = 'foo'; o.name = 'foo'; o.options = 'foo'; o.physicalBlockSizeBytes = 'foo'; o.provisionedIops = 'foo'; o.region = 'foo'; - o.replicaZones = buildUnnamed856(); - o.resourcePolicies = buildUnnamed857(); + o.replicaZones = buildUnnamed881(); + o.resourcePolicies = buildUnnamed882(); o.satisfiesPzs = true; o.selfLink = 'foo'; o.sizeGb = 'foo'; @@ -4803,7 +4813,7 @@ api.Disk buildDisk() { o.sourceStorageObject = 'foo'; o.status = 'foo'; o.type = 'foo'; - o.users = buildUnnamed858(); + o.users = buildUnnamed883(); o.zone = 'foo'; } buildCounterDisk--; @@ -4822,7 +4832,7 @@ void checkDisk(api.Disk o) { unittest.equals('foo'), ); checkCustomerEncryptionKey(o.diskEncryptionKey!); - checkUnnamed852(o.guestOsFeatures!); + checkUnnamed877(o.guestOsFeatures!); unittest.expect( o.id!, unittest.equals('foo'), @@ -4835,7 +4845,7 @@ void checkDisk(api.Disk o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed853(o.labels!); + checkUnnamed878(o.labels!); unittest.expect( o.lastAttachTimestamp!, unittest.equals('foo'), @@ -4844,8 +4854,8 @@ void checkDisk(api.Disk o) { o.lastDetachTimestamp!, unittest.equals('foo'), ); - checkUnnamed854(o.licenseCodes!); - checkUnnamed855(o.licenses!); + checkUnnamed879(o.licenseCodes!); + checkUnnamed880(o.licenses!); unittest.expect( o.locationHint!, unittest.equals('foo'), @@ -4870,8 +4880,8 @@ void checkDisk(api.Disk o) { o.region!, unittest.equals('foo'), ); - checkUnnamed856(o.replicaZones!); - checkUnnamed857(o.resourcePolicies!); + checkUnnamed881(o.replicaZones!); + checkUnnamed882(o.resourcePolicies!); unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.selfLink!, @@ -4919,7 +4929,7 @@ void checkDisk(api.Disk o) { o.type!, unittest.equals('foo'), ); - checkUnnamed858(o.users!); + checkUnnamed883(o.users!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -4928,23 +4938,23 @@ void checkDisk(api.Disk o) { buildCounterDisk--; } -core.Map buildUnnamed859() => { +core.Map buildUnnamed884() => { 'x': buildDisksScopedList(), 'y': buildDisksScopedList(), }; -void checkUnnamed859(core.Map o) { +void checkUnnamed884(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkDisksScopedList(o['x']!); checkDisksScopedList(o['y']!); } -core.List buildUnnamed860() => [ +core.List buildUnnamed885() => [ 'foo', 'foo', ]; -void checkUnnamed860(core.List o) { +void checkUnnamed885(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4983,12 +4993,12 @@ void checkDiskAggregatedListWarningData(api.DiskAggregatedListWarningData o) { buildCounterDiskAggregatedListWarningData--; } -core.List buildUnnamed861() => [ +core.List buildUnnamed886() => [ buildDiskAggregatedListWarningData(), buildDiskAggregatedListWarningData(), ]; -void checkUnnamed861(core.List o) { +void checkUnnamed886(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskAggregatedListWarningData(o[0]); checkDiskAggregatedListWarningData(o[1]); @@ -5000,7 +5010,7 @@ api.DiskAggregatedListWarning buildDiskAggregatedListWarning() { buildCounterDiskAggregatedListWarning++; if (buildCounterDiskAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed861(); + o.data = buildUnnamed886(); o.message = 'foo'; } buildCounterDiskAggregatedListWarning--; @@ -5014,7 +5024,7 @@ void checkDiskAggregatedListWarning(api.DiskAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed861(o.data!); + checkUnnamed886(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5029,11 +5039,11 @@ api.DiskAggregatedList buildDiskAggregatedList() { buildCounterDiskAggregatedList++; if (buildCounterDiskAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed859(); + o.items = buildUnnamed884(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed860(); + o.unreachables = buildUnnamed885(); o.warning = buildDiskAggregatedListWarning(); } buildCounterDiskAggregatedList--; @@ -5047,7 +5057,7 @@ void checkDiskAggregatedList(api.DiskAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed859(o.items!); + checkUnnamed884(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5060,7 +5070,7 @@ void checkDiskAggregatedList(api.DiskAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed860(o.unreachables!); + checkUnnamed885(o.unreachables!); checkDiskAggregatedListWarning(o.warning!); } buildCounterDiskAggregatedList--; @@ -5100,12 +5110,12 @@ void checkDiskInstantiationConfig(api.DiskInstantiationConfig o) { buildCounterDiskInstantiationConfig--; } -core.List buildUnnamed862() => [ +core.List buildUnnamed887() => [ buildDisk(), buildDisk(), ]; -void checkUnnamed862(core.List o) { +void checkUnnamed887(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); @@ -5138,12 +5148,12 @@ void checkDiskListWarningData(api.DiskListWarningData o) { buildCounterDiskListWarningData--; } -core.List buildUnnamed863() => [ +core.List buildUnnamed888() => [ buildDiskListWarningData(), buildDiskListWarningData(), ]; -void checkUnnamed863(core.List o) { +void checkUnnamed888(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskListWarningData(o[0]); checkDiskListWarningData(o[1]); @@ -5155,7 +5165,7 @@ api.DiskListWarning buildDiskListWarning() { buildCounterDiskListWarning++; if (buildCounterDiskListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed863(); + o.data = buildUnnamed888(); o.message = 'foo'; } buildCounterDiskListWarning--; @@ -5169,7 +5179,7 @@ void checkDiskListWarning(api.DiskListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed863(o.data!); + checkUnnamed888(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5184,7 +5194,7 @@ api.DiskList buildDiskList() { buildCounterDiskList++; if (buildCounterDiskList < 3) { o.id = 'foo'; - o.items = buildUnnamed862(); + o.items = buildUnnamed887(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -5201,7 +5211,7 @@ void checkDiskList(api.DiskList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed862(o.items!); + checkUnnamed887(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5315,23 +5325,23 @@ void checkDiskType(api.DiskType o) { buildCounterDiskType--; } -core.Map buildUnnamed864() => { +core.Map buildUnnamed889() => { 'x': buildDiskTypesScopedList(), 'y': buildDiskTypesScopedList(), }; -void checkUnnamed864(core.Map o) { +void checkUnnamed889(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkDiskTypesScopedList(o['x']!); checkDiskTypesScopedList(o['y']!); } -core.List buildUnnamed865() => [ +core.List buildUnnamed890() => [ 'foo', 'foo', ]; -void checkUnnamed865(core.List o) { +void checkUnnamed890(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5371,12 +5381,12 @@ void checkDiskTypeAggregatedListWarningData( buildCounterDiskTypeAggregatedListWarningData--; } -core.List buildUnnamed866() => [ +core.List buildUnnamed891() => [ buildDiskTypeAggregatedListWarningData(), buildDiskTypeAggregatedListWarningData(), ]; -void checkUnnamed866(core.List o) { +void checkUnnamed891(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskTypeAggregatedListWarningData(o[0]); checkDiskTypeAggregatedListWarningData(o[1]); @@ -5388,7 +5398,7 @@ api.DiskTypeAggregatedListWarning buildDiskTypeAggregatedListWarning() { buildCounterDiskTypeAggregatedListWarning++; if (buildCounterDiskTypeAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed866(); + o.data = buildUnnamed891(); o.message = 'foo'; } buildCounterDiskTypeAggregatedListWarning--; @@ -5402,7 +5412,7 @@ void checkDiskTypeAggregatedListWarning(api.DiskTypeAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed866(o.data!); + checkUnnamed891(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5417,11 +5427,11 @@ api.DiskTypeAggregatedList buildDiskTypeAggregatedList() { buildCounterDiskTypeAggregatedList++; if (buildCounterDiskTypeAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed864(); + o.items = buildUnnamed889(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed865(); + o.unreachables = buildUnnamed890(); o.warning = buildDiskTypeAggregatedListWarning(); } buildCounterDiskTypeAggregatedList--; @@ -5435,7 +5445,7 @@ void checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed864(o.items!); + checkUnnamed889(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5448,18 +5458,18 @@ void checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed865(o.unreachables!); + checkUnnamed890(o.unreachables!); checkDiskTypeAggregatedListWarning(o.warning!); } buildCounterDiskTypeAggregatedList--; } -core.List buildUnnamed867() => [ +core.List buildUnnamed892() => [ buildDiskType(), buildDiskType(), ]; -void checkUnnamed867(core.List o) { +void checkUnnamed892(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskType(o[0]); checkDiskType(o[1]); @@ -5492,12 +5502,12 @@ void checkDiskTypeListWarningData(api.DiskTypeListWarningData o) { buildCounterDiskTypeListWarningData--; } -core.List buildUnnamed868() => [ +core.List buildUnnamed893() => [ buildDiskTypeListWarningData(), buildDiskTypeListWarningData(), ]; -void checkUnnamed868(core.List o) { +void checkUnnamed893(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskTypeListWarningData(o[0]); checkDiskTypeListWarningData(o[1]); @@ -5509,7 +5519,7 @@ api.DiskTypeListWarning buildDiskTypeListWarning() { buildCounterDiskTypeListWarning++; if (buildCounterDiskTypeListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed868(); + o.data = buildUnnamed893(); o.message = 'foo'; } buildCounterDiskTypeListWarning--; @@ -5523,7 +5533,7 @@ void checkDiskTypeListWarning(api.DiskTypeListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed868(o.data!); + checkUnnamed893(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5538,7 +5548,7 @@ api.DiskTypeList buildDiskTypeList() { buildCounterDiskTypeList++; if (buildCounterDiskTypeList < 3) { o.id = 'foo'; - o.items = buildUnnamed867(); + o.items = buildUnnamed892(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -5555,7 +5565,7 @@ void checkDiskTypeList(api.DiskTypeList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed867(o.items!); + checkUnnamed892(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5573,12 +5583,12 @@ void checkDiskTypeList(api.DiskTypeList o) { buildCounterDiskTypeList--; } -core.List buildUnnamed869() => [ +core.List buildUnnamed894() => [ buildDiskType(), buildDiskType(), ]; -void checkUnnamed869(core.List o) { +void checkUnnamed894(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskType(o[0]); checkDiskType(o[1]); @@ -5611,12 +5621,12 @@ void checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { buildCounterDiskTypesScopedListWarningData--; } -core.List buildUnnamed870() => [ +core.List buildUnnamed895() => [ buildDiskTypesScopedListWarningData(), buildDiskTypesScopedListWarningData(), ]; -void checkUnnamed870(core.List o) { +void checkUnnamed895(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskTypesScopedListWarningData(o[0]); checkDiskTypesScopedListWarningData(o[1]); @@ -5628,7 +5638,7 @@ api.DiskTypesScopedListWarning buildDiskTypesScopedListWarning() { buildCounterDiskTypesScopedListWarning++; if (buildCounterDiskTypesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed870(); + o.data = buildUnnamed895(); o.message = 'foo'; } buildCounterDiskTypesScopedListWarning--; @@ -5642,7 +5652,7 @@ void checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed870(o.data!); + checkUnnamed895(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5656,7 +5666,7 @@ api.DiskTypesScopedList buildDiskTypesScopedList() { final o = api.DiskTypesScopedList(); buildCounterDiskTypesScopedList++; if (buildCounterDiskTypesScopedList < 3) { - o.diskTypes = buildUnnamed869(); + o.diskTypes = buildUnnamed894(); o.warning = buildDiskTypesScopedListWarning(); } buildCounterDiskTypesScopedList--; @@ -5666,18 +5676,18 @@ api.DiskTypesScopedList buildDiskTypesScopedList() { void checkDiskTypesScopedList(api.DiskTypesScopedList o) { buildCounterDiskTypesScopedList++; if (buildCounterDiskTypesScopedList < 3) { - checkUnnamed869(o.diskTypes!); + checkUnnamed894(o.diskTypes!); checkDiskTypesScopedListWarning(o.warning!); } buildCounterDiskTypesScopedList--; } -core.List buildUnnamed871() => [ +core.List buildUnnamed896() => [ 'foo', 'foo', ]; -void checkUnnamed871(core.List o) { +void checkUnnamed896(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5694,7 +5704,7 @@ api.DisksAddResourcePoliciesRequest buildDisksAddResourcePoliciesRequest() { final o = api.DisksAddResourcePoliciesRequest(); buildCounterDisksAddResourcePoliciesRequest++; if (buildCounterDisksAddResourcePoliciesRequest < 3) { - o.resourcePolicies = buildUnnamed871(); + o.resourcePolicies = buildUnnamed896(); } buildCounterDisksAddResourcePoliciesRequest--; return o; @@ -5704,17 +5714,17 @@ void checkDisksAddResourcePoliciesRequest( api.DisksAddResourcePoliciesRequest o) { buildCounterDisksAddResourcePoliciesRequest++; if (buildCounterDisksAddResourcePoliciesRequest < 3) { - checkUnnamed871(o.resourcePolicies!); + checkUnnamed896(o.resourcePolicies!); } buildCounterDisksAddResourcePoliciesRequest--; } -core.List buildUnnamed872() => [ +core.List buildUnnamed897() => [ 'foo', 'foo', ]; -void checkUnnamed872(core.List o) { +void checkUnnamed897(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5732,7 +5742,7 @@ api.DisksRemoveResourcePoliciesRequest final o = api.DisksRemoveResourcePoliciesRequest(); buildCounterDisksRemoveResourcePoliciesRequest++; if (buildCounterDisksRemoveResourcePoliciesRequest < 3) { - o.resourcePolicies = buildUnnamed872(); + o.resourcePolicies = buildUnnamed897(); } buildCounterDisksRemoveResourcePoliciesRequest--; return o; @@ -5742,7 +5752,7 @@ void checkDisksRemoveResourcePoliciesRequest( api.DisksRemoveResourcePoliciesRequest o) { buildCounterDisksRemoveResourcePoliciesRequest++; if (buildCounterDisksRemoveResourcePoliciesRequest < 3) { - checkUnnamed872(o.resourcePolicies!); + checkUnnamed897(o.resourcePolicies!); } buildCounterDisksRemoveResourcePoliciesRequest--; } @@ -5769,12 +5779,12 @@ void checkDisksResizeRequest(api.DisksResizeRequest o) { buildCounterDisksResizeRequest--; } -core.List buildUnnamed873() => [ +core.List buildUnnamed898() => [ buildDisk(), buildDisk(), ]; -void checkUnnamed873(core.List o) { +void checkUnnamed898(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); @@ -5807,12 +5817,12 @@ void checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { buildCounterDisksScopedListWarningData--; } -core.List buildUnnamed874() => [ +core.List buildUnnamed899() => [ buildDisksScopedListWarningData(), buildDisksScopedListWarningData(), ]; -void checkUnnamed874(core.List o) { +void checkUnnamed899(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisksScopedListWarningData(o[0]); checkDisksScopedListWarningData(o[1]); @@ -5824,7 +5834,7 @@ api.DisksScopedListWarning buildDisksScopedListWarning() { buildCounterDisksScopedListWarning++; if (buildCounterDisksScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed874(); + o.data = buildUnnamed899(); o.message = 'foo'; } buildCounterDisksScopedListWarning--; @@ -5838,7 +5848,7 @@ void checkDisksScopedListWarning(api.DisksScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed874(o.data!); + checkUnnamed899(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5852,7 +5862,7 @@ api.DisksScopedList buildDisksScopedList() { final o = api.DisksScopedList(); buildCounterDisksScopedList++; if (buildCounterDisksScopedList < 3) { - o.disks = buildUnnamed873(); + o.disks = buildUnnamed898(); o.warning = buildDisksScopedListWarning(); } buildCounterDisksScopedList--; @@ -5862,7 +5872,7 @@ api.DisksScopedList buildDisksScopedList() { void checkDisksScopedList(api.DisksScopedList o) { buildCounterDisksScopedList++; if (buildCounterDisksScopedList < 3) { - checkUnnamed873(o.disks!); + checkUnnamed898(o.disks!); checkDisksScopedListWarning(o.warning!); } buildCounterDisksScopedList--; @@ -5887,12 +5897,12 @@ void checkDisplayDevice(api.DisplayDevice o) { buildCounterDisplayDevice--; } -core.List buildUnnamed875() => [ +core.List buildUnnamed900() => [ buildDistributionPolicyZoneConfiguration(), buildDistributionPolicyZoneConfiguration(), ]; -void checkUnnamed875(core.List o) { +void checkUnnamed900(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDistributionPolicyZoneConfiguration(o[0]); checkDistributionPolicyZoneConfiguration(o[1]); @@ -5904,7 +5914,7 @@ api.DistributionPolicy buildDistributionPolicy() { buildCounterDistributionPolicy++; if (buildCounterDistributionPolicy < 3) { o.targetShape = 'foo'; - o.zones = buildUnnamed875(); + o.zones = buildUnnamed900(); } buildCounterDistributionPolicy--; return o; @@ -5917,7 +5927,7 @@ void checkDistributionPolicy(api.DistributionPolicy o) { o.targetShape!, unittest.equals('foo'), ); - checkUnnamed875(o.zones!); + checkUnnamed900(o.zones!); } buildCounterDistributionPolicy--; } @@ -6012,12 +6022,12 @@ void checkExchangedPeeringRoute(api.ExchangedPeeringRoute o) { buildCounterExchangedPeeringRoute--; } -core.List buildUnnamed876() => [ +core.List buildUnnamed901() => [ buildExchangedPeeringRoute(), buildExchangedPeeringRoute(), ]; -void checkUnnamed876(core.List o) { +void checkUnnamed901(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExchangedPeeringRoute(o[0]); checkExchangedPeeringRoute(o[1]); @@ -6052,12 +6062,12 @@ void checkExchangedPeeringRoutesListWarningData( buildCounterExchangedPeeringRoutesListWarningData--; } -core.List buildUnnamed877() => [ +core.List buildUnnamed902() => [ buildExchangedPeeringRoutesListWarningData(), buildExchangedPeeringRoutesListWarningData(), ]; -void checkUnnamed877(core.List o) { +void checkUnnamed902(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExchangedPeeringRoutesListWarningData(o[0]); checkExchangedPeeringRoutesListWarningData(o[1]); @@ -6069,7 +6079,7 @@ api.ExchangedPeeringRoutesListWarning buildExchangedPeeringRoutesListWarning() { buildCounterExchangedPeeringRoutesListWarning++; if (buildCounterExchangedPeeringRoutesListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed877(); + o.data = buildUnnamed902(); o.message = 'foo'; } buildCounterExchangedPeeringRoutesListWarning--; @@ -6084,7 +6094,7 @@ void checkExchangedPeeringRoutesListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed877(o.data!); + checkUnnamed902(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -6099,7 +6109,7 @@ api.ExchangedPeeringRoutesList buildExchangedPeeringRoutesList() { buildCounterExchangedPeeringRoutesList++; if (buildCounterExchangedPeeringRoutesList < 3) { o.id = 'foo'; - o.items = buildUnnamed876(); + o.items = buildUnnamed901(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -6116,7 +6126,7 @@ void checkExchangedPeeringRoutesList(api.ExchangedPeeringRoutesList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed876(o.items!); + checkUnnamed901(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6171,23 +6181,23 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed878() => [ +core.List buildUnnamed903() => [ buildExternalVpnGatewayInterface(), buildExternalVpnGatewayInterface(), ]; -void checkUnnamed878(core.List o) { +void checkUnnamed903(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExternalVpnGatewayInterface(o[0]); checkExternalVpnGatewayInterface(o[1]); } -core.Map buildUnnamed879() => { +core.Map buildUnnamed904() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed879(core.Map o) { +void checkUnnamed904(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6207,10 +6217,10 @@ api.ExternalVpnGateway buildExternalVpnGateway() { o.creationTimestamp = 'foo'; o.description = 'foo'; o.id = 'foo'; - o.interfaces = buildUnnamed878(); + o.interfaces = buildUnnamed903(); o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed879(); + o.labels = buildUnnamed904(); o.name = 'foo'; o.redundancyType = 'foo'; o.selfLink = 'foo'; @@ -6234,7 +6244,7 @@ void checkExternalVpnGateway(api.ExternalVpnGateway o) { o.id!, unittest.equals('foo'), ); - checkUnnamed878(o.interfaces!); + checkUnnamed903(o.interfaces!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6243,7 +6253,7 @@ void checkExternalVpnGateway(api.ExternalVpnGateway o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed879(o.labels!); + checkUnnamed904(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6287,12 +6297,12 @@ void checkExternalVpnGatewayInterface(api.ExternalVpnGatewayInterface o) { buildCounterExternalVpnGatewayInterface--; } -core.List buildUnnamed880() => [ +core.List buildUnnamed905() => [ buildExternalVpnGateway(), buildExternalVpnGateway(), ]; -void checkUnnamed880(core.List o) { +void checkUnnamed905(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExternalVpnGateway(o[0]); checkExternalVpnGateway(o[1]); @@ -6326,12 +6336,12 @@ void checkExternalVpnGatewayListWarningData( buildCounterExternalVpnGatewayListWarningData--; } -core.List buildUnnamed881() => [ +core.List buildUnnamed906() => [ buildExternalVpnGatewayListWarningData(), buildExternalVpnGatewayListWarningData(), ]; -void checkUnnamed881(core.List o) { +void checkUnnamed906(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExternalVpnGatewayListWarningData(o[0]); checkExternalVpnGatewayListWarningData(o[1]); @@ -6343,7 +6353,7 @@ api.ExternalVpnGatewayListWarning buildExternalVpnGatewayListWarning() { buildCounterExternalVpnGatewayListWarning++; if (buildCounterExternalVpnGatewayListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed881(); + o.data = buildUnnamed906(); o.message = 'foo'; } buildCounterExternalVpnGatewayListWarning--; @@ -6357,7 +6367,7 @@ void checkExternalVpnGatewayListWarning(api.ExternalVpnGatewayListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed881(o.data!); + checkUnnamed906(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -6373,7 +6383,7 @@ api.ExternalVpnGatewayList buildExternalVpnGatewayList() { if (buildCounterExternalVpnGatewayList < 3) { o.etag = 'foo'; o.id = 'foo'; - o.items = buildUnnamed880(); + o.items = buildUnnamed905(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -6394,7 +6404,7 @@ void checkExternalVpnGatewayList(api.ExternalVpnGatewayList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed880(o.items!); + checkUnnamed905(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6439,12 +6449,12 @@ void checkFileContentBuffer(api.FileContentBuffer o) { buildCounterFileContentBuffer--; } -core.List buildUnnamed882() => [ +core.List buildUnnamed907() => [ 'foo', 'foo', ]; -void checkUnnamed882(core.List o) { +void checkUnnamed907(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6462,7 +6472,7 @@ api.FirewallAllowed buildFirewallAllowed() { buildCounterFirewallAllowed++; if (buildCounterFirewallAllowed < 3) { o.IPProtocol = 'foo'; - o.ports = buildUnnamed882(); + o.ports = buildUnnamed907(); } buildCounterFirewallAllowed--; return o; @@ -6475,28 +6485,28 @@ void checkFirewallAllowed(api.FirewallAllowed o) { o.IPProtocol!, unittest.equals('foo'), ); - checkUnnamed882(o.ports!); + checkUnnamed907(o.ports!); } buildCounterFirewallAllowed--; } -core.List buildUnnamed883() => [ +core.List buildUnnamed908() => [ buildFirewallAllowed(), buildFirewallAllowed(), ]; -void checkUnnamed883(core.List o) { +void checkUnnamed908(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallAllowed(o[0]); checkFirewallAllowed(o[1]); } -core.List buildUnnamed884() => [ +core.List buildUnnamed909() => [ 'foo', 'foo', ]; -void checkUnnamed884(core.List o) { +void checkUnnamed909(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6514,7 +6524,7 @@ api.FirewallDenied buildFirewallDenied() { buildCounterFirewallDenied++; if (buildCounterFirewallDenied < 3) { o.IPProtocol = 'foo'; - o.ports = buildUnnamed884(); + o.ports = buildUnnamed909(); } buildCounterFirewallDenied--; return o; @@ -6527,28 +6537,28 @@ void checkFirewallDenied(api.FirewallDenied o) { o.IPProtocol!, unittest.equals('foo'), ); - checkUnnamed884(o.ports!); + checkUnnamed909(o.ports!); } buildCounterFirewallDenied--; } -core.List buildUnnamed885() => [ +core.List buildUnnamed910() => [ buildFirewallDenied(), buildFirewallDenied(), ]; -void checkUnnamed885(core.List o) { +void checkUnnamed910(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallDenied(o[0]); checkFirewallDenied(o[1]); } -core.List buildUnnamed886() => [ +core.List buildUnnamed911() => [ 'foo', 'foo', ]; -void checkUnnamed886(core.List o) { +void checkUnnamed911(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6560,12 +6570,12 @@ void checkUnnamed886(core.List o) { ); } -core.List buildUnnamed887() => [ +core.List buildUnnamed912() => [ 'foo', 'foo', ]; -void checkUnnamed887(core.List o) { +void checkUnnamed912(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6577,12 +6587,12 @@ void checkUnnamed887(core.List o) { ); } -core.List buildUnnamed888() => [ +core.List buildUnnamed913() => [ 'foo', 'foo', ]; -void checkUnnamed888(core.List o) { +void checkUnnamed913(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6594,12 +6604,12 @@ void checkUnnamed888(core.List o) { ); } -core.List buildUnnamed889() => [ +core.List buildUnnamed914() => [ 'foo', 'foo', ]; -void checkUnnamed889(core.List o) { +void checkUnnamed914(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6611,12 +6621,12 @@ void checkUnnamed889(core.List o) { ); } -core.List buildUnnamed890() => [ +core.List buildUnnamed915() => [ 'foo', 'foo', ]; -void checkUnnamed890(core.List o) { +void checkUnnamed915(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6628,12 +6638,12 @@ void checkUnnamed890(core.List o) { ); } -core.List buildUnnamed891() => [ +core.List buildUnnamed916() => [ 'foo', 'foo', ]; -void checkUnnamed891(core.List o) { +void checkUnnamed916(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6650,11 +6660,11 @@ api.Firewall buildFirewall() { final o = api.Firewall(); buildCounterFirewall++; if (buildCounterFirewall < 3) { - o.allowed = buildUnnamed883(); + o.allowed = buildUnnamed908(); o.creationTimestamp = 'foo'; - o.denied = buildUnnamed885(); + o.denied = buildUnnamed910(); o.description = 'foo'; - o.destinationRanges = buildUnnamed886(); + o.destinationRanges = buildUnnamed911(); o.direction = 'foo'; o.disabled = true; o.id = 'foo'; @@ -6664,11 +6674,11 @@ api.Firewall buildFirewall() { o.network = 'foo'; o.priority = 42; o.selfLink = 'foo'; - o.sourceRanges = buildUnnamed887(); - o.sourceServiceAccounts = buildUnnamed888(); - o.sourceTags = buildUnnamed889(); - o.targetServiceAccounts = buildUnnamed890(); - o.targetTags = buildUnnamed891(); + o.sourceRanges = buildUnnamed912(); + o.sourceServiceAccounts = buildUnnamed913(); + o.sourceTags = buildUnnamed914(); + o.targetServiceAccounts = buildUnnamed915(); + o.targetTags = buildUnnamed916(); } buildCounterFirewall--; return o; @@ -6677,17 +6687,17 @@ api.Firewall buildFirewall() { void checkFirewall(api.Firewall o) { buildCounterFirewall++; if (buildCounterFirewall < 3) { - checkUnnamed883(o.allowed!); + checkUnnamed908(o.allowed!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), ); - checkUnnamed885(o.denied!); + checkUnnamed910(o.denied!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed886(o.destinationRanges!); + checkUnnamed911(o.destinationRanges!); unittest.expect( o.direction!, unittest.equals('foo'), @@ -6718,21 +6728,21 @@ void checkFirewall(api.Firewall o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed887(o.sourceRanges!); - checkUnnamed888(o.sourceServiceAccounts!); - checkUnnamed889(o.sourceTags!); - checkUnnamed890(o.targetServiceAccounts!); - checkUnnamed891(o.targetTags!); + checkUnnamed912(o.sourceRanges!); + checkUnnamed913(o.sourceServiceAccounts!); + checkUnnamed914(o.sourceTags!); + checkUnnamed915(o.targetServiceAccounts!); + checkUnnamed916(o.targetTags!); } buildCounterFirewall--; } -core.List buildUnnamed892() => [ +core.List buildUnnamed917() => [ buildFirewall(), buildFirewall(), ]; -void checkUnnamed892(core.List o) { +void checkUnnamed917(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewall(o[0]); checkFirewall(o[1]); @@ -6765,12 +6775,12 @@ void checkFirewallListWarningData(api.FirewallListWarningData o) { buildCounterFirewallListWarningData--; } -core.List buildUnnamed893() => [ +core.List buildUnnamed918() => [ buildFirewallListWarningData(), buildFirewallListWarningData(), ]; -void checkUnnamed893(core.List o) { +void checkUnnamed918(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallListWarningData(o[0]); checkFirewallListWarningData(o[1]); @@ -6782,7 +6792,7 @@ api.FirewallListWarning buildFirewallListWarning() { buildCounterFirewallListWarning++; if (buildCounterFirewallListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed893(); + o.data = buildUnnamed918(); o.message = 'foo'; } buildCounterFirewallListWarning--; @@ -6796,7 +6806,7 @@ void checkFirewallListWarning(api.FirewallListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed893(o.data!); + checkUnnamed918(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -6811,7 +6821,7 @@ api.FirewallList buildFirewallList() { buildCounterFirewallList++; if (buildCounterFirewallList < 3) { o.id = 'foo'; - o.items = buildUnnamed892(); + o.items = buildUnnamed917(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -6828,7 +6838,7 @@ void checkFirewallList(api.FirewallList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed892(o.items!); + checkUnnamed917(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6870,12 +6880,12 @@ void checkFirewallLogConfig(api.FirewallLogConfig o) { buildCounterFirewallLogConfig--; } -core.List buildUnnamed894() => [ +core.List buildUnnamed919() => [ buildFirewallPolicyAssociation(), buildFirewallPolicyAssociation(), ]; -void checkUnnamed894(core.List o) { +void checkUnnamed919(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyAssociation(o[0]); checkFirewallPolicyAssociation(o[1]); @@ -6887,7 +6897,7 @@ api.FirewallPoliciesListAssociationsResponse final o = api.FirewallPoliciesListAssociationsResponse(); buildCounterFirewallPoliciesListAssociationsResponse++; if (buildCounterFirewallPoliciesListAssociationsResponse < 3) { - o.associations = buildUnnamed894(); + o.associations = buildUnnamed919(); o.kind = 'foo'; } buildCounterFirewallPoliciesListAssociationsResponse--; @@ -6898,7 +6908,7 @@ void checkFirewallPoliciesListAssociationsResponse( api.FirewallPoliciesListAssociationsResponse o) { buildCounterFirewallPoliciesListAssociationsResponse++; if (buildCounterFirewallPoliciesListAssociationsResponse < 3) { - checkUnnamed894(o.associations!); + checkUnnamed919(o.associations!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6907,23 +6917,23 @@ void checkFirewallPoliciesListAssociationsResponse( buildCounterFirewallPoliciesListAssociationsResponse--; } -core.List buildUnnamed895() => [ +core.List buildUnnamed920() => [ buildFirewallPolicyAssociation(), buildFirewallPolicyAssociation(), ]; -void checkUnnamed895(core.List o) { +void checkUnnamed920(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyAssociation(o[0]); checkFirewallPolicyAssociation(o[1]); } -core.List buildUnnamed896() => [ +core.List buildUnnamed921() => [ buildFirewallPolicyRule(), buildFirewallPolicyRule(), ]; -void checkUnnamed896(core.List o) { +void checkUnnamed921(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyRule(o[0]); checkFirewallPolicyRule(o[1]); @@ -6934,7 +6944,7 @@ api.FirewallPolicy buildFirewallPolicy() { final o = api.FirewallPolicy(); buildCounterFirewallPolicy++; if (buildCounterFirewallPolicy < 3) { - o.associations = buildUnnamed895(); + o.associations = buildUnnamed920(); o.creationTimestamp = 'foo'; o.description = 'foo'; o.displayName = 'foo'; @@ -6944,7 +6954,7 @@ api.FirewallPolicy buildFirewallPolicy() { o.name = 'foo'; o.parent = 'foo'; o.ruleTupleCount = 42; - o.rules = buildUnnamed896(); + o.rules = buildUnnamed921(); o.selfLink = 'foo'; o.selfLinkWithId = 'foo'; o.shortName = 'foo'; @@ -6956,7 +6966,7 @@ api.FirewallPolicy buildFirewallPolicy() { void checkFirewallPolicy(api.FirewallPolicy o) { buildCounterFirewallPolicy++; if (buildCounterFirewallPolicy < 3) { - checkUnnamed895(o.associations!); + checkUnnamed920(o.associations!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), @@ -6993,7 +7003,7 @@ void checkFirewallPolicy(api.FirewallPolicy o) { o.ruleTupleCount!, unittest.equals(42), ); - checkUnnamed896(o.rules!); + checkUnnamed921(o.rules!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -7052,12 +7062,12 @@ void checkFirewallPolicyAssociation(api.FirewallPolicyAssociation o) { buildCounterFirewallPolicyAssociation--; } -core.List buildUnnamed897() => [ +core.List buildUnnamed922() => [ buildFirewallPolicy(), buildFirewallPolicy(), ]; -void checkUnnamed897(core.List o) { +void checkUnnamed922(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicy(o[0]); checkFirewallPolicy(o[1]); @@ -7090,12 +7100,12 @@ void checkFirewallPolicyListWarningData(api.FirewallPolicyListWarningData o) { buildCounterFirewallPolicyListWarningData--; } -core.List buildUnnamed898() => [ +core.List buildUnnamed923() => [ buildFirewallPolicyListWarningData(), buildFirewallPolicyListWarningData(), ]; -void checkUnnamed898(core.List o) { +void checkUnnamed923(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyListWarningData(o[0]); checkFirewallPolicyListWarningData(o[1]); @@ -7107,7 +7117,7 @@ api.FirewallPolicyListWarning buildFirewallPolicyListWarning() { buildCounterFirewallPolicyListWarning++; if (buildCounterFirewallPolicyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed898(); + o.data = buildUnnamed923(); o.message = 'foo'; } buildCounterFirewallPolicyListWarning--; @@ -7121,7 +7131,7 @@ void checkFirewallPolicyListWarning(api.FirewallPolicyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed898(o.data!); + checkUnnamed923(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -7136,7 +7146,7 @@ api.FirewallPolicyList buildFirewallPolicyList() { buildCounterFirewallPolicyList++; if (buildCounterFirewallPolicyList < 3) { o.id = 'foo'; - o.items = buildUnnamed897(); + o.items = buildUnnamed922(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.warning = buildFirewallPolicyListWarning(); @@ -7152,7 +7162,7 @@ void checkFirewallPolicyList(api.FirewallPolicyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed897(o.items!); + checkUnnamed922(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7166,12 +7176,12 @@ void checkFirewallPolicyList(api.FirewallPolicyList o) { buildCounterFirewallPolicyList--; } -core.List buildUnnamed899() => [ +core.List buildUnnamed924() => [ 'foo', 'foo', ]; -void checkUnnamed899(core.List o) { +void checkUnnamed924(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7183,12 +7193,12 @@ void checkUnnamed899(core.List o) { ); } -core.List buildUnnamed900() => [ +core.List buildUnnamed925() => [ 'foo', 'foo', ]; -void checkUnnamed900(core.List o) { +void checkUnnamed925(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7214,8 +7224,8 @@ api.FirewallPolicyRule buildFirewallPolicyRule() { o.match = buildFirewallPolicyRuleMatcher(); o.priority = 42; o.ruleTupleCount = 42; - o.targetResources = buildUnnamed899(); - o.targetServiceAccounts = buildUnnamed900(); + o.targetResources = buildUnnamed924(); + o.targetServiceAccounts = buildUnnamed925(); } buildCounterFirewallPolicyRule--; return o; @@ -7251,18 +7261,18 @@ void checkFirewallPolicyRule(api.FirewallPolicyRule o) { o.ruleTupleCount!, unittest.equals(42), ); - checkUnnamed899(o.targetResources!); - checkUnnamed900(o.targetServiceAccounts!); + checkUnnamed924(o.targetResources!); + checkUnnamed925(o.targetServiceAccounts!); } buildCounterFirewallPolicyRule--; } -core.List buildUnnamed901() => [ +core.List buildUnnamed926() => [ 'foo', 'foo', ]; -void checkUnnamed901(core.List o) { +void checkUnnamed926(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7274,23 +7284,23 @@ void checkUnnamed901(core.List o) { ); } -core.List buildUnnamed902() => [ +core.List buildUnnamed927() => [ buildFirewallPolicyRuleMatcherLayer4Config(), buildFirewallPolicyRuleMatcherLayer4Config(), ]; -void checkUnnamed902(core.List o) { +void checkUnnamed927(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyRuleMatcherLayer4Config(o[0]); checkFirewallPolicyRuleMatcherLayer4Config(o[1]); } -core.List buildUnnamed903() => [ +core.List buildUnnamed928() => [ 'foo', 'foo', ]; -void checkUnnamed903(core.List o) { +void checkUnnamed928(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7307,9 +7317,9 @@ api.FirewallPolicyRuleMatcher buildFirewallPolicyRuleMatcher() { final o = api.FirewallPolicyRuleMatcher(); buildCounterFirewallPolicyRuleMatcher++; if (buildCounterFirewallPolicyRuleMatcher < 3) { - o.destIpRanges = buildUnnamed901(); - o.layer4Configs = buildUnnamed902(); - o.srcIpRanges = buildUnnamed903(); + o.destIpRanges = buildUnnamed926(); + o.layer4Configs = buildUnnamed927(); + o.srcIpRanges = buildUnnamed928(); } buildCounterFirewallPolicyRuleMatcher--; return o; @@ -7318,19 +7328,19 @@ api.FirewallPolicyRuleMatcher buildFirewallPolicyRuleMatcher() { void checkFirewallPolicyRuleMatcher(api.FirewallPolicyRuleMatcher o) { buildCounterFirewallPolicyRuleMatcher++; if (buildCounterFirewallPolicyRuleMatcher < 3) { - checkUnnamed901(o.destIpRanges!); - checkUnnamed902(o.layer4Configs!); - checkUnnamed903(o.srcIpRanges!); + checkUnnamed926(o.destIpRanges!); + checkUnnamed927(o.layer4Configs!); + checkUnnamed928(o.srcIpRanges!); } buildCounterFirewallPolicyRuleMatcher--; } -core.List buildUnnamed904() => [ +core.List buildUnnamed929() => [ 'foo', 'foo', ]; -void checkUnnamed904(core.List o) { +void checkUnnamed929(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7349,7 +7359,7 @@ api.FirewallPolicyRuleMatcherLayer4Config buildCounterFirewallPolicyRuleMatcherLayer4Config++; if (buildCounterFirewallPolicyRuleMatcherLayer4Config < 3) { o.ipProtocol = 'foo'; - o.ports = buildUnnamed904(); + o.ports = buildUnnamed929(); } buildCounterFirewallPolicyRuleMatcherLayer4Config--; return o; @@ -7363,7 +7373,7 @@ void checkFirewallPolicyRuleMatcherLayer4Config( o.ipProtocol!, unittest.equals('foo'), ); - checkUnnamed904(o.ports!); + checkUnnamed929(o.ports!); } buildCounterFirewallPolicyRuleMatcherLayer4Config--; } @@ -7400,12 +7410,12 @@ void checkFixedOrPercent(api.FixedOrPercent o) { buildCounterFixedOrPercent--; } -core.Map buildUnnamed905() => { +core.Map buildUnnamed930() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed905(core.Map o) { +void checkUnnamed930(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7417,23 +7427,23 @@ void checkUnnamed905(core.Map o) { ); } -core.List buildUnnamed906() => [ +core.List buildUnnamed931() => [ buildMetadataFilter(), buildMetadataFilter(), ]; -void checkUnnamed906(core.List o) { +void checkUnnamed931(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataFilter(o[0]); checkMetadataFilter(o[1]); } -core.List buildUnnamed907() => [ +core.List buildUnnamed932() => [ 'foo', 'foo', ]; -void checkUnnamed907(core.List o) { +void checkUnnamed932(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7445,12 +7455,12 @@ void checkUnnamed907(core.List o) { ); } -core.List buildUnnamed908() => [ +core.List buildUnnamed933() => [ buildForwardingRuleServiceDirectoryRegistration(), buildForwardingRuleServiceDirectoryRegistration(), ]; -void checkUnnamed908( +void checkUnnamed933( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRuleServiceDirectoryRegistration(o[0]); @@ -7475,19 +7485,19 @@ api.ForwardingRule buildForwardingRule() { o.isMirroringCollector = true; o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed905(); + o.labels = buildUnnamed930(); o.loadBalancingScheme = 'foo'; - o.metadataFilters = buildUnnamed906(); + o.metadataFilters = buildUnnamed931(); o.name = 'foo'; o.network = 'foo'; o.networkTier = 'foo'; o.portRange = 'foo'; - o.ports = buildUnnamed907(); + o.ports = buildUnnamed932(); o.pscConnectionId = 'foo'; o.pscConnectionStatus = 'foo'; o.region = 'foo'; o.selfLink = 'foo'; - o.serviceDirectoryRegistrations = buildUnnamed908(); + o.serviceDirectoryRegistrations = buildUnnamed933(); o.serviceLabel = 'foo'; o.serviceName = 'foo'; o.subnetwork = 'foo'; @@ -7543,12 +7553,12 @@ void checkForwardingRule(api.ForwardingRule o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed905(o.labels!); + checkUnnamed930(o.labels!); unittest.expect( o.loadBalancingScheme!, unittest.equals('foo'), ); - checkUnnamed906(o.metadataFilters!); + checkUnnamed931(o.metadataFilters!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7565,7 +7575,7 @@ void checkForwardingRule(api.ForwardingRule o) { o.portRange!, unittest.equals('foo'), ); - checkUnnamed907(o.ports!); + checkUnnamed932(o.ports!); unittest.expect( o.pscConnectionId!, unittest.equals('foo'), @@ -7582,7 +7592,7 @@ void checkForwardingRule(api.ForwardingRule o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed908(o.serviceDirectoryRegistrations!); + checkUnnamed933(o.serviceDirectoryRegistrations!); unittest.expect( o.serviceLabel!, unittest.equals('foo'), @@ -7603,23 +7613,23 @@ void checkForwardingRule(api.ForwardingRule o) { buildCounterForwardingRule--; } -core.Map buildUnnamed909() => { +core.Map buildUnnamed934() => { 'x': buildForwardingRulesScopedList(), 'y': buildForwardingRulesScopedList(), }; -void checkUnnamed909(core.Map o) { +void checkUnnamed934(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRulesScopedList(o['x']!); checkForwardingRulesScopedList(o['y']!); } -core.List buildUnnamed910() => [ +core.List buildUnnamed935() => [ 'foo', 'foo', ]; -void checkUnnamed910(core.List o) { +void checkUnnamed935(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7660,12 +7670,12 @@ void checkForwardingRuleAggregatedListWarningData( buildCounterForwardingRuleAggregatedListWarningData--; } -core.List buildUnnamed911() => [ +core.List buildUnnamed936() => [ buildForwardingRuleAggregatedListWarningData(), buildForwardingRuleAggregatedListWarningData(), ]; -void checkUnnamed911(core.List o) { +void checkUnnamed936(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRuleAggregatedListWarningData(o[0]); checkForwardingRuleAggregatedListWarningData(o[1]); @@ -7678,7 +7688,7 @@ api.ForwardingRuleAggregatedListWarning buildCounterForwardingRuleAggregatedListWarning++; if (buildCounterForwardingRuleAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed911(); + o.data = buildUnnamed936(); o.message = 'foo'; } buildCounterForwardingRuleAggregatedListWarning--; @@ -7693,7 +7703,7 @@ void checkForwardingRuleAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed911(o.data!); + checkUnnamed936(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -7708,11 +7718,11 @@ api.ForwardingRuleAggregatedList buildForwardingRuleAggregatedList() { buildCounterForwardingRuleAggregatedList++; if (buildCounterForwardingRuleAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed909(); + o.items = buildUnnamed934(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed910(); + o.unreachables = buildUnnamed935(); o.warning = buildForwardingRuleAggregatedListWarning(); } buildCounterForwardingRuleAggregatedList--; @@ -7726,7 +7736,7 @@ void checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed909(o.items!); + checkUnnamed934(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7739,18 +7749,18 @@ void checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed910(o.unreachables!); + checkUnnamed935(o.unreachables!); checkForwardingRuleAggregatedListWarning(o.warning!); } buildCounterForwardingRuleAggregatedList--; } -core.List buildUnnamed912() => [ +core.List buildUnnamed937() => [ buildForwardingRule(), buildForwardingRule(), ]; -void checkUnnamed912(core.List o) { +void checkUnnamed937(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRule(o[0]); checkForwardingRule(o[1]); @@ -7783,12 +7793,12 @@ void checkForwardingRuleListWarningData(api.ForwardingRuleListWarningData o) { buildCounterForwardingRuleListWarningData--; } -core.List buildUnnamed913() => [ +core.List buildUnnamed938() => [ buildForwardingRuleListWarningData(), buildForwardingRuleListWarningData(), ]; -void checkUnnamed913(core.List o) { +void checkUnnamed938(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRuleListWarningData(o[0]); checkForwardingRuleListWarningData(o[1]); @@ -7800,7 +7810,7 @@ api.ForwardingRuleListWarning buildForwardingRuleListWarning() { buildCounterForwardingRuleListWarning++; if (buildCounterForwardingRuleListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed913(); + o.data = buildUnnamed938(); o.message = 'foo'; } buildCounterForwardingRuleListWarning--; @@ -7814,7 +7824,7 @@ void checkForwardingRuleListWarning(api.ForwardingRuleListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed913(o.data!); + checkUnnamed938(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -7829,7 +7839,7 @@ api.ForwardingRuleList buildForwardingRuleList() { buildCounterForwardingRuleList++; if (buildCounterForwardingRuleList < 3) { o.id = 'foo'; - o.items = buildUnnamed912(); + o.items = buildUnnamed937(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -7846,7 +7856,7 @@ void checkForwardingRuleList(api.ForwardingRuleList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed912(o.items!); + checkUnnamed937(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7920,12 +7930,12 @@ void checkForwardingRuleServiceDirectoryRegistration( buildCounterForwardingRuleServiceDirectoryRegistration--; } -core.List buildUnnamed914() => [ +core.List buildUnnamed939() => [ buildForwardingRule(), buildForwardingRule(), ]; -void checkUnnamed914(core.List o) { +void checkUnnamed939(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRule(o[0]); checkForwardingRule(o[1]); @@ -7960,12 +7970,12 @@ void checkForwardingRulesScopedListWarningData( buildCounterForwardingRulesScopedListWarningData--; } -core.List buildUnnamed915() => [ +core.List buildUnnamed940() => [ buildForwardingRulesScopedListWarningData(), buildForwardingRulesScopedListWarningData(), ]; -void checkUnnamed915(core.List o) { +void checkUnnamed940(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingRulesScopedListWarningData(o[0]); checkForwardingRulesScopedListWarningData(o[1]); @@ -7977,7 +7987,7 @@ api.ForwardingRulesScopedListWarning buildForwardingRulesScopedListWarning() { buildCounterForwardingRulesScopedListWarning++; if (buildCounterForwardingRulesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed915(); + o.data = buildUnnamed940(); o.message = 'foo'; } buildCounterForwardingRulesScopedListWarning--; @@ -7992,7 +8002,7 @@ void checkForwardingRulesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed915(o.data!); + checkUnnamed940(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -8006,7 +8016,7 @@ api.ForwardingRulesScopedList buildForwardingRulesScopedList() { final o = api.ForwardingRulesScopedList(); buildCounterForwardingRulesScopedList++; if (buildCounterForwardingRulesScopedList < 3) { - o.forwardingRules = buildUnnamed914(); + o.forwardingRules = buildUnnamed939(); o.warning = buildForwardingRulesScopedListWarning(); } buildCounterForwardingRulesScopedList--; @@ -8016,7 +8026,7 @@ api.ForwardingRulesScopedList buildForwardingRulesScopedList() { void checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { buildCounterForwardingRulesScopedList++; if (buildCounterForwardingRulesScopedList < 3) { - checkUnnamed914(o.forwardingRules!); + checkUnnamed939(o.forwardingRules!); checkForwardingRulesScopedListWarning(o.warning!); } buildCounterForwardingRulesScopedList--; @@ -8059,12 +8069,12 @@ void checkGRPCHealthCheck(api.GRPCHealthCheck o) { buildCounterGRPCHealthCheck--; } -core.List buildUnnamed916() => [ +core.List buildUnnamed941() => [ buildNetworkEndpoint(), buildNetworkEndpoint(), ]; -void checkUnnamed916(core.List o) { +void checkUnnamed941(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpoint(o[0]); checkNetworkEndpoint(o[1]); @@ -8076,7 +8086,7 @@ api.GlobalNetworkEndpointGroupsAttachEndpointsRequest final o = api.GlobalNetworkEndpointGroupsAttachEndpointsRequest(); buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest++; if (buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest < 3) { - o.networkEndpoints = buildUnnamed916(); + o.networkEndpoints = buildUnnamed941(); } buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest--; return o; @@ -8086,17 +8096,17 @@ void checkGlobalNetworkEndpointGroupsAttachEndpointsRequest( api.GlobalNetworkEndpointGroupsAttachEndpointsRequest o) { buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest++; if (buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest < 3) { - checkUnnamed916(o.networkEndpoints!); + checkUnnamed941(o.networkEndpoints!); } buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest--; } -core.List buildUnnamed917() => [ +core.List buildUnnamed942() => [ buildNetworkEndpoint(), buildNetworkEndpoint(), ]; -void checkUnnamed917(core.List o) { +void checkUnnamed942(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpoint(o[0]); checkNetworkEndpoint(o[1]); @@ -8108,7 +8118,7 @@ api.GlobalNetworkEndpointGroupsDetachEndpointsRequest final o = api.GlobalNetworkEndpointGroupsDetachEndpointsRequest(); buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest++; if (buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest < 3) { - o.networkEndpoints = buildUnnamed917(); + o.networkEndpoints = buildUnnamed942(); } buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest--; return o; @@ -8118,17 +8128,17 @@ void checkGlobalNetworkEndpointGroupsDetachEndpointsRequest( api.GlobalNetworkEndpointGroupsDetachEndpointsRequest o) { buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest++; if (buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest < 3) { - checkUnnamed917(o.networkEndpoints!); + checkUnnamed942(o.networkEndpoints!); } buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest--; } -core.List buildUnnamed918() => [ +core.List buildUnnamed943() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed918(core.List o) { +void checkUnnamed943(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -8140,7 +8150,7 @@ api.GlobalOrganizationSetPolicyRequest final o = api.GlobalOrganizationSetPolicyRequest(); buildCounterGlobalOrganizationSetPolicyRequest++; if (buildCounterGlobalOrganizationSetPolicyRequest < 3) { - o.bindings = buildUnnamed918(); + o.bindings = buildUnnamed943(); o.etag = 'foo'; o.policy = buildPolicy(); } @@ -8152,7 +8162,7 @@ void checkGlobalOrganizationSetPolicyRequest( api.GlobalOrganizationSetPolicyRequest o) { buildCounterGlobalOrganizationSetPolicyRequest++; if (buildCounterGlobalOrganizationSetPolicyRequest < 3) { - checkUnnamed918(o.bindings!); + checkUnnamed943(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -8162,12 +8172,12 @@ void checkGlobalOrganizationSetPolicyRequest( buildCounterGlobalOrganizationSetPolicyRequest--; } -core.Map buildUnnamed919() => { +core.Map buildUnnamed944() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed919(core.Map o) { +void checkUnnamed944(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -8185,7 +8195,7 @@ api.GlobalSetLabelsRequest buildGlobalSetLabelsRequest() { buildCounterGlobalSetLabelsRequest++; if (buildCounterGlobalSetLabelsRequest < 3) { o.labelFingerprint = 'foo'; - o.labels = buildUnnamed919(); + o.labels = buildUnnamed944(); } buildCounterGlobalSetLabelsRequest--; return o; @@ -8198,17 +8208,17 @@ void checkGlobalSetLabelsRequest(api.GlobalSetLabelsRequest o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed919(o.labels!); + checkUnnamed944(o.labels!); } buildCounterGlobalSetLabelsRequest--; } -core.List buildUnnamed920() => [ +core.List buildUnnamed945() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed920(core.List o) { +void checkUnnamed945(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -8219,7 +8229,7 @@ api.GlobalSetPolicyRequest buildGlobalSetPolicyRequest() { final o = api.GlobalSetPolicyRequest(); buildCounterGlobalSetPolicyRequest++; if (buildCounterGlobalSetPolicyRequest < 3) { - o.bindings = buildUnnamed920(); + o.bindings = buildUnnamed945(); o.etag = 'foo'; o.policy = buildPolicy(); } @@ -8230,7 +8240,7 @@ api.GlobalSetPolicyRequest buildGlobalSetPolicyRequest() { void checkGlobalSetPolicyRequest(api.GlobalSetPolicyRequest o) { buildCounterGlobalSetPolicyRequest++; if (buildCounterGlobalSetPolicyRequest < 3) { - checkUnnamed920(o.bindings!); + checkUnnamed945(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -8316,12 +8326,12 @@ void checkGuestAttributesEntry(api.GuestAttributesEntry o) { buildCounterGuestAttributesEntry--; } -core.List buildUnnamed921() => [ +core.List buildUnnamed946() => [ buildGuestAttributesEntry(), buildGuestAttributesEntry(), ]; -void checkUnnamed921(core.List o) { +void checkUnnamed946(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuestAttributesEntry(o[0]); checkGuestAttributesEntry(o[1]); @@ -8332,7 +8342,7 @@ api.GuestAttributesValue buildGuestAttributesValue() { final o = api.GuestAttributesValue(); buildCounterGuestAttributesValue++; if (buildCounterGuestAttributesValue < 3) { - o.items = buildUnnamed921(); + o.items = buildUnnamed946(); } buildCounterGuestAttributesValue--; return o; @@ -8341,7 +8351,7 @@ api.GuestAttributesValue buildGuestAttributesValue() { void checkGuestAttributesValue(api.GuestAttributesValue o) { buildCounterGuestAttributesValue++; if (buildCounterGuestAttributesValue < 3) { - checkUnnamed921(o.items!); + checkUnnamed946(o.items!); } buildCounterGuestAttributesValue--; } @@ -8615,12 +8625,12 @@ void checkHealthCheck(api.HealthCheck o) { buildCounterHealthCheck--; } -core.List buildUnnamed922() => [ +core.List buildUnnamed947() => [ buildHealthCheck(), buildHealthCheck(), ]; -void checkUnnamed922(core.List o) { +void checkUnnamed947(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheck(o[0]); checkHealthCheck(o[1]); @@ -8653,12 +8663,12 @@ void checkHealthCheckListWarningData(api.HealthCheckListWarningData o) { buildCounterHealthCheckListWarningData--; } -core.List buildUnnamed923() => [ +core.List buildUnnamed948() => [ buildHealthCheckListWarningData(), buildHealthCheckListWarningData(), ]; -void checkUnnamed923(core.List o) { +void checkUnnamed948(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckListWarningData(o[0]); checkHealthCheckListWarningData(o[1]); @@ -8670,7 +8680,7 @@ api.HealthCheckListWarning buildHealthCheckListWarning() { buildCounterHealthCheckListWarning++; if (buildCounterHealthCheckListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed923(); + o.data = buildUnnamed948(); o.message = 'foo'; } buildCounterHealthCheckListWarning--; @@ -8684,7 +8694,7 @@ void checkHealthCheckListWarning(api.HealthCheckListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed923(o.data!); + checkUnnamed948(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -8699,7 +8709,7 @@ api.HealthCheckList buildHealthCheckList() { buildCounterHealthCheckList++; if (buildCounterHealthCheckList < 3) { o.id = 'foo'; - o.items = buildUnnamed922(); + o.items = buildUnnamed947(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -8716,7 +8726,7 @@ void checkHealthCheckList(api.HealthCheckList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed922(o.items!); + checkUnnamed947(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -8775,12 +8785,12 @@ void checkHealthCheckReference(api.HealthCheckReference o) { buildCounterHealthCheckReference--; } -core.List buildUnnamed924() => [ +core.List buildUnnamed949() => [ 'foo', 'foo', ]; -void checkUnnamed924(core.List o) { +void checkUnnamed949(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8792,12 +8802,12 @@ void checkUnnamed924(core.List o) { ); } -core.List buildUnnamed925() => [ +core.List buildUnnamed950() => [ 'foo', 'foo', ]; -void checkUnnamed925(core.List o) { +void checkUnnamed950(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8809,12 +8819,12 @@ void checkUnnamed925(core.List o) { ); } -core.List buildUnnamed926() => [ +core.List buildUnnamed951() => [ 'foo', 'foo', ]; -void checkUnnamed926(core.List o) { +void checkUnnamed951(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8834,13 +8844,13 @@ api.HealthCheckService buildHealthCheckService() { o.creationTimestamp = 'foo'; o.description = 'foo'; o.fingerprint = 'foo'; - o.healthChecks = buildUnnamed924(); + o.healthChecks = buildUnnamed949(); o.healthStatusAggregationPolicy = 'foo'; o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.networkEndpointGroups = buildUnnamed925(); - o.notificationEndpoints = buildUnnamed926(); + o.networkEndpointGroups = buildUnnamed950(); + o.notificationEndpoints = buildUnnamed951(); o.region = 'foo'; o.selfLink = 'foo'; } @@ -8863,7 +8873,7 @@ void checkHealthCheckService(api.HealthCheckService o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed924(o.healthChecks!); + checkUnnamed949(o.healthChecks!); unittest.expect( o.healthStatusAggregationPolicy!, unittest.equals('foo'), @@ -8880,8 +8890,8 @@ void checkHealthCheckService(api.HealthCheckService o) { o.name!, unittest.equals('foo'), ); - checkUnnamed925(o.networkEndpointGroups!); - checkUnnamed926(o.notificationEndpoints!); + checkUnnamed950(o.networkEndpointGroups!); + checkUnnamed951(o.notificationEndpoints!); unittest.expect( o.region!, unittest.equals('foo'), @@ -8916,12 +8926,12 @@ void checkHealthCheckServiceReference(api.HealthCheckServiceReference o) { buildCounterHealthCheckServiceReference--; } -core.List buildUnnamed927() => [ +core.List buildUnnamed952() => [ buildHealthCheckService(), buildHealthCheckService(), ]; -void checkUnnamed927(core.List o) { +void checkUnnamed952(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckService(o[0]); checkHealthCheckService(o[1]); @@ -8956,12 +8966,12 @@ void checkHealthCheckServicesListWarningData( buildCounterHealthCheckServicesListWarningData--; } -core.List buildUnnamed928() => [ +core.List buildUnnamed953() => [ buildHealthCheckServicesListWarningData(), buildHealthCheckServicesListWarningData(), ]; -void checkUnnamed928(core.List o) { +void checkUnnamed953(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckServicesListWarningData(o[0]); checkHealthCheckServicesListWarningData(o[1]); @@ -8973,7 +8983,7 @@ api.HealthCheckServicesListWarning buildHealthCheckServicesListWarning() { buildCounterHealthCheckServicesListWarning++; if (buildCounterHealthCheckServicesListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed928(); + o.data = buildUnnamed953(); o.message = 'foo'; } buildCounterHealthCheckServicesListWarning--; @@ -8987,7 +8997,7 @@ void checkHealthCheckServicesListWarning(api.HealthCheckServicesListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed928(o.data!); + checkUnnamed953(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -9002,7 +9012,7 @@ api.HealthCheckServicesList buildHealthCheckServicesList() { buildCounterHealthCheckServicesList++; if (buildCounterHealthCheckServicesList < 3) { o.id = 'foo'; - o.items = buildUnnamed927(); + o.items = buildUnnamed952(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -9019,7 +9029,7 @@ void checkHealthCheckServicesList(api.HealthCheckServicesList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed927(o.items!); + checkUnnamed952(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -9037,23 +9047,23 @@ void checkHealthCheckServicesList(api.HealthCheckServicesList o) { buildCounterHealthCheckServicesList--; } -core.Map buildUnnamed929() => { +core.Map buildUnnamed954() => { 'x': buildHealthChecksScopedList(), 'y': buildHealthChecksScopedList(), }; -void checkUnnamed929(core.Map o) { +void checkUnnamed954(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkHealthChecksScopedList(o['x']!); checkHealthChecksScopedList(o['y']!); } -core.List buildUnnamed930() => [ +core.List buildUnnamed955() => [ 'foo', 'foo', ]; -void checkUnnamed930(core.List o) { +void checkUnnamed955(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9094,12 +9104,12 @@ void checkHealthChecksAggregatedListWarningData( buildCounterHealthChecksAggregatedListWarningData--; } -core.List buildUnnamed931() => [ +core.List buildUnnamed956() => [ buildHealthChecksAggregatedListWarningData(), buildHealthChecksAggregatedListWarningData(), ]; -void checkUnnamed931(core.List o) { +void checkUnnamed956(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthChecksAggregatedListWarningData(o[0]); checkHealthChecksAggregatedListWarningData(o[1]); @@ -9111,7 +9121,7 @@ api.HealthChecksAggregatedListWarning buildHealthChecksAggregatedListWarning() { buildCounterHealthChecksAggregatedListWarning++; if (buildCounterHealthChecksAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed931(); + o.data = buildUnnamed956(); o.message = 'foo'; } buildCounterHealthChecksAggregatedListWarning--; @@ -9126,7 +9136,7 @@ void checkHealthChecksAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed931(o.data!); + checkUnnamed956(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -9141,11 +9151,11 @@ api.HealthChecksAggregatedList buildHealthChecksAggregatedList() { buildCounterHealthChecksAggregatedList++; if (buildCounterHealthChecksAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed929(); + o.items = buildUnnamed954(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed930(); + o.unreachables = buildUnnamed955(); o.warning = buildHealthChecksAggregatedListWarning(); } buildCounterHealthChecksAggregatedList--; @@ -9159,7 +9169,7 @@ void checkHealthChecksAggregatedList(api.HealthChecksAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed929(o.items!); + checkUnnamed954(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -9172,18 +9182,18 @@ void checkHealthChecksAggregatedList(api.HealthChecksAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed930(o.unreachables!); + checkUnnamed955(o.unreachables!); checkHealthChecksAggregatedListWarning(o.warning!); } buildCounterHealthChecksAggregatedList--; } -core.List buildUnnamed932() => [ +core.List buildUnnamed957() => [ buildHealthCheck(), buildHealthCheck(), ]; -void checkUnnamed932(core.List o) { +void checkUnnamed957(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheck(o[0]); checkHealthCheck(o[1]); @@ -9217,12 +9227,12 @@ void checkHealthChecksScopedListWarningData( buildCounterHealthChecksScopedListWarningData--; } -core.List buildUnnamed933() => [ +core.List buildUnnamed958() => [ buildHealthChecksScopedListWarningData(), buildHealthChecksScopedListWarningData(), ]; -void checkUnnamed933(core.List o) { +void checkUnnamed958(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthChecksScopedListWarningData(o[0]); checkHealthChecksScopedListWarningData(o[1]); @@ -9234,7 +9244,7 @@ api.HealthChecksScopedListWarning buildHealthChecksScopedListWarning() { buildCounterHealthChecksScopedListWarning++; if (buildCounterHealthChecksScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed933(); + o.data = buildUnnamed958(); o.message = 'foo'; } buildCounterHealthChecksScopedListWarning--; @@ -9248,7 +9258,7 @@ void checkHealthChecksScopedListWarning(api.HealthChecksScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed933(o.data!); + checkUnnamed958(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -9262,7 +9272,7 @@ api.HealthChecksScopedList buildHealthChecksScopedList() { final o = api.HealthChecksScopedList(); buildCounterHealthChecksScopedList++; if (buildCounterHealthChecksScopedList < 3) { - o.healthChecks = buildUnnamed932(); + o.healthChecks = buildUnnamed957(); o.warning = buildHealthChecksScopedListWarning(); } buildCounterHealthChecksScopedList--; @@ -9272,18 +9282,18 @@ api.HealthChecksScopedList buildHealthChecksScopedList() { void checkHealthChecksScopedList(api.HealthChecksScopedList o) { buildCounterHealthChecksScopedList++; if (buildCounterHealthChecksScopedList < 3) { - checkUnnamed932(o.healthChecks!); + checkUnnamed957(o.healthChecks!); checkHealthChecksScopedListWarning(o.warning!); } buildCounterHealthChecksScopedList--; } -core.Map buildUnnamed934() => { +core.Map buildUnnamed959() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed934(core.Map o) { +void checkUnnamed959(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9300,7 +9310,7 @@ api.HealthStatus buildHealthStatus() { final o = api.HealthStatus(); buildCounterHealthStatus++; if (buildCounterHealthStatus < 3) { - o.annotations = buildUnnamed934(); + o.annotations = buildUnnamed959(); o.forwardingRule = 'foo'; o.forwardingRuleIp = 'foo'; o.healthState = 'foo'; @@ -9317,7 +9327,7 @@ api.HealthStatus buildHealthStatus() { void checkHealthStatus(api.HealthStatus o) { buildCounterHealthStatus++; if (buildCounterHealthStatus < 3) { - checkUnnamed934(o.annotations!); + checkUnnamed959(o.annotations!); unittest.expect( o.forwardingRule!, unittest.equals('foo'), @@ -9384,12 +9394,12 @@ void checkHealthStatusForNetworkEndpoint(api.HealthStatusForNetworkEndpoint o) { buildCounterHealthStatusForNetworkEndpoint--; } -core.List buildUnnamed935() => [ +core.List buildUnnamed960() => [ 'foo', 'foo', ]; -void checkUnnamed935(core.List o) { +void checkUnnamed960(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9407,7 +9417,7 @@ api.HostRule buildHostRule() { buildCounterHostRule++; if (buildCounterHostRule < 3) { o.description = 'foo'; - o.hosts = buildUnnamed935(); + o.hosts = buildUnnamed960(); o.pathMatcher = 'foo'; } buildCounterHostRule--; @@ -9421,7 +9431,7 @@ void checkHostRule(api.HostRule o) { o.description!, unittest.equals('foo'), ); - checkUnnamed935(o.hosts!); + checkUnnamed960(o.hosts!); unittest.expect( o.pathMatcher!, unittest.equals('foo'), @@ -9502,23 +9512,23 @@ void checkHttpFaultInjection(api.HttpFaultInjection o) { buildCounterHttpFaultInjection--; } -core.List buildUnnamed936() => [ +core.List buildUnnamed961() => [ buildHttpHeaderOption(), buildHttpHeaderOption(), ]; -void checkUnnamed936(core.List o) { +void checkUnnamed961(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpHeaderOption(o[0]); checkHttpHeaderOption(o[1]); } -core.List buildUnnamed937() => [ +core.List buildUnnamed962() => [ 'foo', 'foo', ]; -void checkUnnamed937(core.List o) { +void checkUnnamed962(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9530,23 +9540,23 @@ void checkUnnamed937(core.List o) { ); } -core.List buildUnnamed938() => [ +core.List buildUnnamed963() => [ buildHttpHeaderOption(), buildHttpHeaderOption(), ]; -void checkUnnamed938(core.List o) { +void checkUnnamed963(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpHeaderOption(o[0]); checkHttpHeaderOption(o[1]); } -core.List buildUnnamed939() => [ +core.List buildUnnamed964() => [ 'foo', 'foo', ]; -void checkUnnamed939(core.List o) { +void checkUnnamed964(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9563,10 +9573,10 @@ api.HttpHeaderAction buildHttpHeaderAction() { final o = api.HttpHeaderAction(); buildCounterHttpHeaderAction++; if (buildCounterHttpHeaderAction < 3) { - o.requestHeadersToAdd = buildUnnamed936(); - o.requestHeadersToRemove = buildUnnamed937(); - o.responseHeadersToAdd = buildUnnamed938(); - o.responseHeadersToRemove = buildUnnamed939(); + o.requestHeadersToAdd = buildUnnamed961(); + o.requestHeadersToRemove = buildUnnamed962(); + o.responseHeadersToAdd = buildUnnamed963(); + o.responseHeadersToRemove = buildUnnamed964(); } buildCounterHttpHeaderAction--; return o; @@ -9575,10 +9585,10 @@ api.HttpHeaderAction buildHttpHeaderAction() { void checkHttpHeaderAction(api.HttpHeaderAction o) { buildCounterHttpHeaderAction++; if (buildCounterHttpHeaderAction < 3) { - checkUnnamed936(o.requestHeadersToAdd!); - checkUnnamed937(o.requestHeadersToRemove!); - checkUnnamed938(o.responseHeadersToAdd!); - checkUnnamed939(o.responseHeadersToRemove!); + checkUnnamed961(o.requestHeadersToAdd!); + checkUnnamed962(o.requestHeadersToRemove!); + checkUnnamed963(o.responseHeadersToAdd!); + checkUnnamed964(o.responseHeadersToRemove!); } buildCounterHttpHeaderAction--; } @@ -9742,12 +9752,12 @@ void checkHttpHealthCheck(api.HttpHealthCheck o) { buildCounterHttpHealthCheck--; } -core.List buildUnnamed940() => [ +core.List buildUnnamed965() => [ buildHttpHealthCheck(), buildHttpHealthCheck(), ]; -void checkUnnamed940(core.List o) { +void checkUnnamed965(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpHealthCheck(o[0]); checkHttpHealthCheck(o[1]); @@ -9780,12 +9790,12 @@ void checkHttpHealthCheckListWarningData(api.HttpHealthCheckListWarningData o) { buildCounterHttpHealthCheckListWarningData--; } -core.List buildUnnamed941() => [ +core.List buildUnnamed966() => [ buildHttpHealthCheckListWarningData(), buildHttpHealthCheckListWarningData(), ]; -void checkUnnamed941(core.List o) { +void checkUnnamed966(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpHealthCheckListWarningData(o[0]); checkHttpHealthCheckListWarningData(o[1]); @@ -9797,7 +9807,7 @@ api.HttpHealthCheckListWarning buildHttpHealthCheckListWarning() { buildCounterHttpHealthCheckListWarning++; if (buildCounterHttpHealthCheckListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed941(); + o.data = buildUnnamed966(); o.message = 'foo'; } buildCounterHttpHealthCheckListWarning--; @@ -9811,7 +9821,7 @@ void checkHttpHealthCheckListWarning(api.HttpHealthCheckListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed941(o.data!); + checkUnnamed966(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -9826,7 +9836,7 @@ api.HttpHealthCheckList buildHttpHealthCheckList() { buildCounterHttpHealthCheckList++; if (buildCounterHttpHealthCheckList < 3) { o.id = 'foo'; - o.items = buildUnnamed940(); + o.items = buildUnnamed965(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -9843,7 +9853,7 @@ void checkHttpHealthCheckList(api.HttpHealthCheckList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed940(o.items!); + checkUnnamed965(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -9936,12 +9946,12 @@ void checkHttpRedirectAction(api.HttpRedirectAction o) { buildCounterHttpRedirectAction--; } -core.List buildUnnamed942() => [ +core.List buildUnnamed967() => [ 'foo', 'foo', ]; -void checkUnnamed942(core.List o) { +void checkUnnamed967(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9960,7 +9970,7 @@ api.HttpRetryPolicy buildHttpRetryPolicy() { if (buildCounterHttpRetryPolicy < 3) { o.numRetries = 42; o.perTryTimeout = buildDuration(); - o.retryConditions = buildUnnamed942(); + o.retryConditions = buildUnnamed967(); } buildCounterHttpRetryPolicy--; return o; @@ -9974,17 +9984,17 @@ void checkHttpRetryPolicy(api.HttpRetryPolicy o) { unittest.equals(42), ); checkDuration(o.perTryTimeout!); - checkUnnamed942(o.retryConditions!); + checkUnnamed967(o.retryConditions!); } buildCounterHttpRetryPolicy--; } -core.List buildUnnamed943() => [ +core.List buildUnnamed968() => [ buildWeightedBackendService(), buildWeightedBackendService(), ]; -void checkUnnamed943(core.List o) { +void checkUnnamed968(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWeightedBackendService(o[0]); checkWeightedBackendService(o[1]); @@ -10002,7 +10012,7 @@ api.HttpRouteAction buildHttpRouteAction() { o.retryPolicy = buildHttpRetryPolicy(); o.timeout = buildDuration(); o.urlRewrite = buildUrlRewrite(); - o.weightedBackendServices = buildUnnamed943(); + o.weightedBackendServices = buildUnnamed968(); } buildCounterHttpRouteAction--; return o; @@ -10018,17 +10028,17 @@ void checkHttpRouteAction(api.HttpRouteAction o) { checkHttpRetryPolicy(o.retryPolicy!); checkDuration(o.timeout!); checkUrlRewrite(o.urlRewrite!); - checkUnnamed943(o.weightedBackendServices!); + checkUnnamed968(o.weightedBackendServices!); } buildCounterHttpRouteAction--; } -core.List buildUnnamed944() => [ +core.List buildUnnamed969() => [ buildHttpRouteRuleMatch(), buildHttpRouteRuleMatch(), ]; -void checkUnnamed944(core.List o) { +void checkUnnamed969(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRouteRuleMatch(o[0]); checkHttpRouteRuleMatch(o[1]); @@ -10041,7 +10051,7 @@ api.HttpRouteRule buildHttpRouteRule() { if (buildCounterHttpRouteRule < 3) { o.description = 'foo'; o.headerAction = buildHttpHeaderAction(); - o.matchRules = buildUnnamed944(); + o.matchRules = buildUnnamed969(); o.priority = 42; o.routeAction = buildHttpRouteAction(); o.service = 'foo'; @@ -10059,7 +10069,7 @@ void checkHttpRouteRule(api.HttpRouteRule o) { unittest.equals('foo'), ); checkHttpHeaderAction(o.headerAction!); - checkUnnamed944(o.matchRules!); + checkUnnamed969(o.matchRules!); unittest.expect( o.priority!, unittest.equals(42), @@ -10074,34 +10084,34 @@ void checkHttpRouteRule(api.HttpRouteRule o) { buildCounterHttpRouteRule--; } -core.List buildUnnamed945() => [ +core.List buildUnnamed970() => [ buildHttpHeaderMatch(), buildHttpHeaderMatch(), ]; -void checkUnnamed945(core.List o) { +void checkUnnamed970(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpHeaderMatch(o[0]); checkHttpHeaderMatch(o[1]); } -core.List buildUnnamed946() => [ +core.List buildUnnamed971() => [ buildMetadataFilter(), buildMetadataFilter(), ]; -void checkUnnamed946(core.List o) { +void checkUnnamed971(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataFilter(o[0]); checkMetadataFilter(o[1]); } -core.List buildUnnamed947() => [ +core.List buildUnnamed972() => [ buildHttpQueryParameterMatch(), buildHttpQueryParameterMatch(), ]; -void checkUnnamed947(core.List o) { +void checkUnnamed972(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpQueryParameterMatch(o[0]); checkHttpQueryParameterMatch(o[1]); @@ -10113,11 +10123,11 @@ api.HttpRouteRuleMatch buildHttpRouteRuleMatch() { buildCounterHttpRouteRuleMatch++; if (buildCounterHttpRouteRuleMatch < 3) { o.fullPathMatch = 'foo'; - o.headerMatches = buildUnnamed945(); + o.headerMatches = buildUnnamed970(); o.ignoreCase = true; - o.metadataFilters = buildUnnamed946(); + o.metadataFilters = buildUnnamed971(); o.prefixMatch = 'foo'; - o.queryParameterMatches = buildUnnamed947(); + o.queryParameterMatches = buildUnnamed972(); o.regexMatch = 'foo'; } buildCounterHttpRouteRuleMatch--; @@ -10131,14 +10141,14 @@ void checkHttpRouteRuleMatch(api.HttpRouteRuleMatch o) { o.fullPathMatch!, unittest.equals('foo'), ); - checkUnnamed945(o.headerMatches!); + checkUnnamed970(o.headerMatches!); unittest.expect(o.ignoreCase!, unittest.isTrue); - checkUnnamed946(o.metadataFilters!); + checkUnnamed971(o.metadataFilters!); unittest.expect( o.prefixMatch!, unittest.equals('foo'), ); - checkUnnamed947(o.queryParameterMatches!); + checkUnnamed972(o.queryParameterMatches!); unittest.expect( o.regexMatch!, unittest.equals('foo'), @@ -10229,12 +10239,12 @@ void checkHttpsHealthCheck(api.HttpsHealthCheck o) { buildCounterHttpsHealthCheck--; } -core.List buildUnnamed948() => [ +core.List buildUnnamed973() => [ buildHttpsHealthCheck(), buildHttpsHealthCheck(), ]; -void checkUnnamed948(core.List o) { +void checkUnnamed973(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpsHealthCheck(o[0]); checkHttpsHealthCheck(o[1]); @@ -10268,12 +10278,12 @@ void checkHttpsHealthCheckListWarningData( buildCounterHttpsHealthCheckListWarningData--; } -core.List buildUnnamed949() => [ +core.List buildUnnamed974() => [ buildHttpsHealthCheckListWarningData(), buildHttpsHealthCheckListWarningData(), ]; -void checkUnnamed949(core.List o) { +void checkUnnamed974(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpsHealthCheckListWarningData(o[0]); checkHttpsHealthCheckListWarningData(o[1]); @@ -10285,7 +10295,7 @@ api.HttpsHealthCheckListWarning buildHttpsHealthCheckListWarning() { buildCounterHttpsHealthCheckListWarning++; if (buildCounterHttpsHealthCheckListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed949(); + o.data = buildUnnamed974(); o.message = 'foo'; } buildCounterHttpsHealthCheckListWarning--; @@ -10299,7 +10309,7 @@ void checkHttpsHealthCheckListWarning(api.HttpsHealthCheckListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed949(o.data!); + checkUnnamed974(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -10314,7 +10324,7 @@ api.HttpsHealthCheckList buildHttpsHealthCheckList() { buildCounterHttpsHealthCheckList++; if (buildCounterHttpsHealthCheckList < 3) { o.id = 'foo'; - o.items = buildUnnamed948(); + o.items = buildUnnamed973(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -10331,7 +10341,7 @@ void checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed948(o.items!); + checkUnnamed973(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10349,23 +10359,23 @@ void checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { buildCounterHttpsHealthCheckList--; } -core.List buildUnnamed950() => [ +core.List buildUnnamed975() => [ buildGuestOsFeature(), buildGuestOsFeature(), ]; -void checkUnnamed950(core.List o) { +void checkUnnamed975(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuestOsFeature(o[0]); checkGuestOsFeature(o[1]); } -core.Map buildUnnamed951() => { +core.Map buildUnnamed976() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed951(core.Map o) { +void checkUnnamed976(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -10377,12 +10387,12 @@ void checkUnnamed951(core.Map o) { ); } -core.List buildUnnamed952() => [ +core.List buildUnnamed977() => [ 'foo', 'foo', ]; -void checkUnnamed952(core.List o) { +void checkUnnamed977(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10394,12 +10404,12 @@ void checkUnnamed952(core.List o) { ); } -core.List buildUnnamed953() => [ +core.List buildUnnamed978() => [ 'foo', 'foo', ]; -void checkUnnamed953(core.List o) { +void checkUnnamed978(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10443,12 +10453,12 @@ void checkImageRawDisk(api.ImageRawDisk o) { buildCounterImageRawDisk--; } -core.List buildUnnamed954() => [ +core.List buildUnnamed979() => [ 'foo', 'foo', ]; -void checkUnnamed954(core.List o) { +void checkUnnamed979(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10471,14 +10481,14 @@ api.Image buildImage() { o.description = 'foo'; o.diskSizeGb = 'foo'; o.family = 'foo'; - o.guestOsFeatures = buildUnnamed950(); + o.guestOsFeatures = buildUnnamed975(); o.id = 'foo'; o.imageEncryptionKey = buildCustomerEncryptionKey(); o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed951(); - o.licenseCodes = buildUnnamed952(); - o.licenses = buildUnnamed953(); + o.labels = buildUnnamed976(); + o.licenseCodes = buildUnnamed977(); + o.licenses = buildUnnamed978(); o.name = 'foo'; o.rawDisk = buildImageRawDisk(); o.satisfiesPzs = true; @@ -10495,7 +10505,7 @@ api.Image buildImage() { o.sourceSnapshotId = 'foo'; o.sourceType = 'foo'; o.status = 'foo'; - o.storageLocations = buildUnnamed954(); + o.storageLocations = buildUnnamed979(); } buildCounterImage--; return o; @@ -10525,7 +10535,7 @@ void checkImage(api.Image o) { o.family!, unittest.equals('foo'), ); - checkUnnamed950(o.guestOsFeatures!); + checkUnnamed975(o.guestOsFeatures!); unittest.expect( o.id!, unittest.equals('foo'), @@ -10539,9 +10549,9 @@ void checkImage(api.Image o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed951(o.labels!); - checkUnnamed952(o.licenseCodes!); - checkUnnamed953(o.licenses!); + checkUnnamed976(o.labels!); + checkUnnamed977(o.licenseCodes!); + checkUnnamed978(o.licenses!); unittest.expect( o.name!, unittest.equals('foo'), @@ -10588,17 +10598,36 @@ void checkImage(api.Image o) { o.status!, unittest.equals('foo'), ); - checkUnnamed954(o.storageLocations!); + checkUnnamed979(o.storageLocations!); } buildCounterImage--; } -core.List buildUnnamed955() => [ +core.int buildCounterImageFamilyView = 0; +api.ImageFamilyView buildImageFamilyView() { + final o = api.ImageFamilyView(); + buildCounterImageFamilyView++; + if (buildCounterImageFamilyView < 3) { + o.image = buildImage(); + } + buildCounterImageFamilyView--; + return o; +} + +void checkImageFamilyView(api.ImageFamilyView o) { + buildCounterImageFamilyView++; + if (buildCounterImageFamilyView < 3) { + checkImage(o.image!); + } + buildCounterImageFamilyView--; +} + +core.List buildUnnamed980() => [ buildImage(), buildImage(), ]; -void checkUnnamed955(core.List o) { +void checkUnnamed980(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); @@ -10631,12 +10660,12 @@ void checkImageListWarningData(api.ImageListWarningData o) { buildCounterImageListWarningData--; } -core.List buildUnnamed956() => [ +core.List buildUnnamed981() => [ buildImageListWarningData(), buildImageListWarningData(), ]; -void checkUnnamed956(core.List o) { +void checkUnnamed981(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImageListWarningData(o[0]); checkImageListWarningData(o[1]); @@ -10648,7 +10677,7 @@ api.ImageListWarning buildImageListWarning() { buildCounterImageListWarning++; if (buildCounterImageListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed956(); + o.data = buildUnnamed981(); o.message = 'foo'; } buildCounterImageListWarning--; @@ -10662,7 +10691,7 @@ void checkImageListWarning(api.ImageListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed956(o.data!); + checkUnnamed981(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -10677,7 +10706,7 @@ api.ImageList buildImageList() { buildCounterImageList++; if (buildCounterImageList < 3) { o.id = 'foo'; - o.items = buildUnnamed955(); + o.items = buildUnnamed980(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -10694,7 +10723,7 @@ void checkImageList(api.ImageList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed955(o.items!); + checkUnnamed980(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10712,34 +10741,34 @@ void checkImageList(api.ImageList o) { buildCounterImageList--; } -core.List buildUnnamed957() => [ +core.List buildUnnamed982() => [ buildFileContentBuffer(), buildFileContentBuffer(), ]; -void checkUnnamed957(core.List o) { +void checkUnnamed982(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileContentBuffer(o[0]); checkFileContentBuffer(o[1]); } -core.List buildUnnamed958() => [ +core.List buildUnnamed983() => [ buildFileContentBuffer(), buildFileContentBuffer(), ]; -void checkUnnamed958(core.List o) { +void checkUnnamed983(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileContentBuffer(o[0]); checkFileContentBuffer(o[1]); } -core.List buildUnnamed959() => [ +core.List buildUnnamed984() => [ buildFileContentBuffer(), buildFileContentBuffer(), ]; -void checkUnnamed959(core.List o) { +void checkUnnamed984(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileContentBuffer(o[0]); checkFileContentBuffer(o[1]); @@ -10750,9 +10779,9 @@ api.InitialStateConfig buildInitialStateConfig() { final o = api.InitialStateConfig(); buildCounterInitialStateConfig++; if (buildCounterInitialStateConfig < 3) { - o.dbs = buildUnnamed957(); - o.dbxs = buildUnnamed958(); - o.keks = buildUnnamed959(); + o.dbs = buildUnnamed982(); + o.dbxs = buildUnnamed983(); + o.keks = buildUnnamed984(); o.pk = buildFileContentBuffer(); } buildCounterInitialStateConfig--; @@ -10762,42 +10791,42 @@ api.InitialStateConfig buildInitialStateConfig() { void checkInitialStateConfig(api.InitialStateConfig o) { buildCounterInitialStateConfig++; if (buildCounterInitialStateConfig < 3) { - checkUnnamed957(o.dbs!); - checkUnnamed958(o.dbxs!); - checkUnnamed959(o.keks!); + checkUnnamed982(o.dbs!); + checkUnnamed983(o.dbxs!); + checkUnnamed984(o.keks!); checkFileContentBuffer(o.pk!); } buildCounterInitialStateConfig--; } -core.List buildUnnamed960() => [ +core.List buildUnnamed985() => [ buildAttachedDisk(), buildAttachedDisk(), ]; -void checkUnnamed960(core.List o) { +void checkUnnamed985(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachedDisk(o[0]); checkAttachedDisk(o[1]); } -core.List buildUnnamed961() => [ +core.List buildUnnamed986() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed961(core.List o) { +void checkUnnamed986(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.Map buildUnnamed962() => { +core.Map buildUnnamed987() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed962(core.Map o) { +void checkUnnamed987(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -10809,23 +10838,23 @@ void checkUnnamed962(core.Map o) { ); } -core.List buildUnnamed963() => [ +core.List buildUnnamed988() => [ buildNetworkInterface(), buildNetworkInterface(), ]; -void checkUnnamed963(core.List o) { +void checkUnnamed988(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkInterface(o[0]); checkNetworkInterface(o[1]); } -core.List buildUnnamed964() => [ +core.List buildUnnamed989() => [ 'foo', 'foo', ]; -void checkUnnamed964(core.List o) { +void checkUnnamed989(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10837,12 +10866,12 @@ void checkUnnamed964(core.List o) { ); } -core.List buildUnnamed965() => [ +core.List buildUnnamed990() => [ buildServiceAccount(), buildServiceAccount(), ]; -void checkUnnamed965(core.List o) { +void checkUnnamed990(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccount(o[0]); checkServiceAccount(o[1]); @@ -10860,15 +10889,15 @@ api.Instance buildInstance() { o.creationTimestamp = 'foo'; o.deletionProtection = true; o.description = 'foo'; - o.disks = buildUnnamed960(); + o.disks = buildUnnamed985(); o.displayDevice = buildDisplayDevice(); o.fingerprint = 'foo'; - o.guestAccelerators = buildUnnamed961(); + o.guestAccelerators = buildUnnamed986(); o.hostname = 'foo'; o.id = 'foo'; o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed962(); + o.labels = buildUnnamed987(); o.lastStartTimestamp = 'foo'; o.lastStopTimestamp = 'foo'; o.lastSuspendedTimestamp = 'foo'; @@ -10876,14 +10905,14 @@ api.Instance buildInstance() { o.metadata = buildMetadata(); o.minCpuPlatform = 'foo'; o.name = 'foo'; - o.networkInterfaces = buildUnnamed963(); + o.networkInterfaces = buildUnnamed988(); o.privateIpv6GoogleAccess = 'foo'; o.reservationAffinity = buildReservationAffinity(); - o.resourcePolicies = buildUnnamed964(); + o.resourcePolicies = buildUnnamed989(); o.satisfiesPzs = true; o.scheduling = buildScheduling(); o.selfLink = 'foo'; - o.serviceAccounts = buildUnnamed965(); + o.serviceAccounts = buildUnnamed990(); o.shieldedInstanceConfig = buildShieldedInstanceConfig(); o.shieldedInstanceIntegrityPolicy = buildShieldedInstanceIntegrityPolicy(); o.startRestricted = true; @@ -10915,13 +10944,13 @@ void checkInstance(api.Instance o) { o.description!, unittest.equals('foo'), ); - checkUnnamed960(o.disks!); + checkUnnamed985(o.disks!); checkDisplayDevice(o.displayDevice!); unittest.expect( o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed961(o.guestAccelerators!); + checkUnnamed986(o.guestAccelerators!); unittest.expect( o.hostname!, unittest.equals('foo'), @@ -10938,7 +10967,7 @@ void checkInstance(api.Instance o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed962(o.labels!); + checkUnnamed987(o.labels!); unittest.expect( o.lastStartTimestamp!, unittest.equals('foo'), @@ -10964,20 +10993,20 @@ void checkInstance(api.Instance o) { o.name!, unittest.equals('foo'), ); - checkUnnamed963(o.networkInterfaces!); + checkUnnamed988(o.networkInterfaces!); unittest.expect( o.privateIpv6GoogleAccess!, unittest.equals('foo'), ); checkReservationAffinity(o.reservationAffinity!); - checkUnnamed964(o.resourcePolicies!); + checkUnnamed989(o.resourcePolicies!); unittest.expect(o.satisfiesPzs!, unittest.isTrue); checkScheduling(o.scheduling!); unittest.expect( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed965(o.serviceAccounts!); + checkUnnamed990(o.serviceAccounts!); checkShieldedInstanceConfig(o.shieldedInstanceConfig!); checkShieldedInstanceIntegrityPolicy(o.shieldedInstanceIntegrityPolicy!); unittest.expect(o.startRestricted!, unittest.isTrue); @@ -10998,23 +11027,23 @@ void checkInstance(api.Instance o) { buildCounterInstance--; } -core.Map buildUnnamed966() => { +core.Map buildUnnamed991() => { 'x': buildInstancesScopedList(), 'y': buildInstancesScopedList(), }; -void checkUnnamed966(core.Map o) { +void checkUnnamed991(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInstancesScopedList(o['x']!); checkInstancesScopedList(o['y']!); } -core.List buildUnnamed967() => [ +core.List buildUnnamed992() => [ 'foo', 'foo', ]; -void checkUnnamed967(core.List o) { +void checkUnnamed992(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11054,12 +11083,12 @@ void checkInstanceAggregatedListWarningData( buildCounterInstanceAggregatedListWarningData--; } -core.List buildUnnamed968() => [ +core.List buildUnnamed993() => [ buildInstanceAggregatedListWarningData(), buildInstanceAggregatedListWarningData(), ]; -void checkUnnamed968(core.List o) { +void checkUnnamed993(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceAggregatedListWarningData(o[0]); checkInstanceAggregatedListWarningData(o[1]); @@ -11071,7 +11100,7 @@ api.InstanceAggregatedListWarning buildInstanceAggregatedListWarning() { buildCounterInstanceAggregatedListWarning++; if (buildCounterInstanceAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed968(); + o.data = buildUnnamed993(); o.message = 'foo'; } buildCounterInstanceAggregatedListWarning--; @@ -11085,7 +11114,7 @@ void checkInstanceAggregatedListWarning(api.InstanceAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed968(o.data!); + checkUnnamed993(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -11100,11 +11129,11 @@ api.InstanceAggregatedList buildInstanceAggregatedList() { buildCounterInstanceAggregatedList++; if (buildCounterInstanceAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed966(); + o.items = buildUnnamed991(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed967(); + o.unreachables = buildUnnamed992(); o.warning = buildInstanceAggregatedListWarning(); } buildCounterInstanceAggregatedList--; @@ -11118,7 +11147,7 @@ void checkInstanceAggregatedList(api.InstanceAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed966(o.items!); + checkUnnamed991(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11131,18 +11160,18 @@ void checkInstanceAggregatedList(api.InstanceAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed967(o.unreachables!); + checkUnnamed992(o.unreachables!); checkInstanceAggregatedListWarning(o.warning!); } buildCounterInstanceAggregatedList--; } -core.List buildUnnamed969() => [ +core.List buildUnnamed994() => [ buildNamedPort(), buildNamedPort(), ]; -void checkUnnamed969(core.List o) { +void checkUnnamed994(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedPort(o[0]); checkNamedPort(o[1]); @@ -11159,7 +11188,7 @@ api.InstanceGroup buildInstanceGroup() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.namedPorts = buildUnnamed969(); + o.namedPorts = buildUnnamed994(); o.network = 'foo'; o.region = 'foo'; o.selfLink = 'foo'; @@ -11198,7 +11227,7 @@ void checkInstanceGroup(api.InstanceGroup o) { o.name!, unittest.equals('foo'), ); - checkUnnamed969(o.namedPorts!); + checkUnnamed994(o.namedPorts!); unittest.expect( o.network!, unittest.equals('foo'), @@ -11227,23 +11256,23 @@ void checkInstanceGroup(api.InstanceGroup o) { buildCounterInstanceGroup--; } -core.Map buildUnnamed970() => { +core.Map buildUnnamed995() => { 'x': buildInstanceGroupsScopedList(), 'y': buildInstanceGroupsScopedList(), }; -void checkUnnamed970(core.Map o) { +void checkUnnamed995(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupsScopedList(o['x']!); checkInstanceGroupsScopedList(o['y']!); } -core.List buildUnnamed971() => [ +core.List buildUnnamed996() => [ 'foo', 'foo', ]; -void checkUnnamed971(core.List o) { +void checkUnnamed996(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11284,12 +11313,12 @@ void checkInstanceGroupAggregatedListWarningData( buildCounterInstanceGroupAggregatedListWarningData--; } -core.List buildUnnamed972() => [ +core.List buildUnnamed997() => [ buildInstanceGroupAggregatedListWarningData(), buildInstanceGroupAggregatedListWarningData(), ]; -void checkUnnamed972(core.List o) { +void checkUnnamed997(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupAggregatedListWarningData(o[0]); checkInstanceGroupAggregatedListWarningData(o[1]); @@ -11302,7 +11331,7 @@ api.InstanceGroupAggregatedListWarning buildCounterInstanceGroupAggregatedListWarning++; if (buildCounterInstanceGroupAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed972(); + o.data = buildUnnamed997(); o.message = 'foo'; } buildCounterInstanceGroupAggregatedListWarning--; @@ -11317,7 +11346,7 @@ void checkInstanceGroupAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed972(o.data!); + checkUnnamed997(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -11332,11 +11361,11 @@ api.InstanceGroupAggregatedList buildInstanceGroupAggregatedList() { buildCounterInstanceGroupAggregatedList++; if (buildCounterInstanceGroupAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed970(); + o.items = buildUnnamed995(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed971(); + o.unreachables = buildUnnamed996(); o.warning = buildInstanceGroupAggregatedListWarning(); } buildCounterInstanceGroupAggregatedList--; @@ -11350,7 +11379,7 @@ void checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed970(o.items!); + checkUnnamed995(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11363,18 +11392,18 @@ void checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed971(o.unreachables!); + checkUnnamed996(o.unreachables!); checkInstanceGroupAggregatedListWarning(o.warning!); } buildCounterInstanceGroupAggregatedList--; } -core.List buildUnnamed973() => [ +core.List buildUnnamed998() => [ buildInstanceGroup(), buildInstanceGroup(), ]; -void checkUnnamed973(core.List o) { +void checkUnnamed998(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroup(o[0]); checkInstanceGroup(o[1]); @@ -11407,12 +11436,12 @@ void checkInstanceGroupListWarningData(api.InstanceGroupListWarningData o) { buildCounterInstanceGroupListWarningData--; } -core.List buildUnnamed974() => [ +core.List buildUnnamed999() => [ buildInstanceGroupListWarningData(), buildInstanceGroupListWarningData(), ]; -void checkUnnamed974(core.List o) { +void checkUnnamed999(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupListWarningData(o[0]); checkInstanceGroupListWarningData(o[1]); @@ -11424,7 +11453,7 @@ api.InstanceGroupListWarning buildInstanceGroupListWarning() { buildCounterInstanceGroupListWarning++; if (buildCounterInstanceGroupListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed974(); + o.data = buildUnnamed999(); o.message = 'foo'; } buildCounterInstanceGroupListWarning--; @@ -11438,7 +11467,7 @@ void checkInstanceGroupListWarning(api.InstanceGroupListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed974(o.data!); + checkUnnamed999(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -11453,7 +11482,7 @@ api.InstanceGroupList buildInstanceGroupList() { buildCounterInstanceGroupList++; if (buildCounterInstanceGroupList < 3) { o.id = 'foo'; - o.items = buildUnnamed973(); + o.items = buildUnnamed998(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -11470,7 +11499,7 @@ void checkInstanceGroupList(api.InstanceGroupList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed973(o.items!); + checkUnnamed998(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11488,34 +11517,34 @@ void checkInstanceGroupList(api.InstanceGroupList o) { buildCounterInstanceGroupList--; } -core.List buildUnnamed975() => [ +core.List buildUnnamed1000() => [ buildInstanceGroupManagerAutoHealingPolicy(), buildInstanceGroupManagerAutoHealingPolicy(), ]; -void checkUnnamed975(core.List o) { +void checkUnnamed1000(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManagerAutoHealingPolicy(o[0]); checkInstanceGroupManagerAutoHealingPolicy(o[1]); } -core.List buildUnnamed976() => [ +core.List buildUnnamed1001() => [ buildNamedPort(), buildNamedPort(), ]; -void checkUnnamed976(core.List o) { +void checkUnnamed1001(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedPort(o[0]); checkNamedPort(o[1]); } -core.List buildUnnamed977() => [ +core.List buildUnnamed1002() => [ 'foo', 'foo', ]; -void checkUnnamed977(core.List o) { +void checkUnnamed1002(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11527,12 +11556,12 @@ void checkUnnamed977(core.List o) { ); } -core.List buildUnnamed978() => [ +core.List buildUnnamed1003() => [ buildInstanceGroupManagerVersion(), buildInstanceGroupManagerVersion(), ]; -void checkUnnamed978(core.List o) { +void checkUnnamed1003(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManagerVersion(o[0]); checkInstanceGroupManagerVersion(o[1]); @@ -11543,7 +11572,7 @@ api.InstanceGroupManager buildInstanceGroupManager() { final o = api.InstanceGroupManager(); buildCounterInstanceGroupManager++; if (buildCounterInstanceGroupManager < 3) { - o.autoHealingPolicies = buildUnnamed975(); + o.autoHealingPolicies = buildUnnamed1000(); o.baseInstanceName = 'foo'; o.creationTimestamp = 'foo'; o.currentActions = buildInstanceGroupManagerActionsSummary(); @@ -11555,15 +11584,15 @@ api.InstanceGroupManager buildInstanceGroupManager() { o.instanceTemplate = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.namedPorts = buildUnnamed976(); + o.namedPorts = buildUnnamed1001(); o.region = 'foo'; o.selfLink = 'foo'; o.statefulPolicy = buildStatefulPolicy(); o.status = buildInstanceGroupManagerStatus(); - o.targetPools = buildUnnamed977(); + o.targetPools = buildUnnamed1002(); o.targetSize = 42; o.updatePolicy = buildInstanceGroupManagerUpdatePolicy(); - o.versions = buildUnnamed978(); + o.versions = buildUnnamed1003(); o.zone = 'foo'; } buildCounterInstanceGroupManager--; @@ -11573,7 +11602,7 @@ api.InstanceGroupManager buildInstanceGroupManager() { void checkInstanceGroupManager(api.InstanceGroupManager o) { buildCounterInstanceGroupManager++; if (buildCounterInstanceGroupManager < 3) { - checkUnnamed975(o.autoHealingPolicies!); + checkUnnamed1000(o.autoHealingPolicies!); unittest.expect( o.baseInstanceName!, unittest.equals('foo'), @@ -11612,7 +11641,7 @@ void checkInstanceGroupManager(api.InstanceGroupManager o) { o.name!, unittest.equals('foo'), ); - checkUnnamed976(o.namedPorts!); + checkUnnamed1001(o.namedPorts!); unittest.expect( o.region!, unittest.equals('foo'), @@ -11623,13 +11652,13 @@ void checkInstanceGroupManager(api.InstanceGroupManager o) { ); checkStatefulPolicy(o.statefulPolicy!); checkInstanceGroupManagerStatus(o.status!); - checkUnnamed977(o.targetPools!); + checkUnnamed1002(o.targetPools!); unittest.expect( o.targetSize!, unittest.equals(42), ); checkInstanceGroupManagerUpdatePolicy(o.updatePolicy!); - checkUnnamed978(o.versions!); + checkUnnamed1003(o.versions!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -11702,25 +11731,25 @@ void checkInstanceGroupManagerActionsSummary( buildCounterInstanceGroupManagerActionsSummary--; } -core.Map buildUnnamed979() => +core.Map buildUnnamed1004() => { 'x': buildInstanceGroupManagersScopedList(), 'y': buildInstanceGroupManagersScopedList(), }; -void checkUnnamed979( +void checkUnnamed1004( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManagersScopedList(o['x']!); checkInstanceGroupManagersScopedList(o['y']!); } -core.List buildUnnamed980() => [ +core.List buildUnnamed1005() => [ 'foo', 'foo', ]; -void checkUnnamed980(core.List o) { +void checkUnnamed1005(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11762,12 +11791,12 @@ void checkInstanceGroupManagerAggregatedListWarningData( } core.List - buildUnnamed981() => [ + buildUnnamed1006() => [ buildInstanceGroupManagerAggregatedListWarningData(), buildInstanceGroupManagerAggregatedListWarningData(), ]; -void checkUnnamed981( +void checkUnnamed1006( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManagerAggregatedListWarningData(o[0]); @@ -11781,7 +11810,7 @@ api.InstanceGroupManagerAggregatedListWarning buildCounterInstanceGroupManagerAggregatedListWarning++; if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed981(); + o.data = buildUnnamed1006(); o.message = 'foo'; } buildCounterInstanceGroupManagerAggregatedListWarning--; @@ -11796,7 +11825,7 @@ void checkInstanceGroupManagerAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed981(o.data!); + checkUnnamed1006(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -11812,11 +11841,11 @@ api.InstanceGroupManagerAggregatedList buildCounterInstanceGroupManagerAggregatedList++; if (buildCounterInstanceGroupManagerAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed979(); + o.items = buildUnnamed1004(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed980(); + o.unreachables = buildUnnamed1005(); o.warning = buildInstanceGroupManagerAggregatedListWarning(); } buildCounterInstanceGroupManagerAggregatedList--; @@ -11831,7 +11860,7 @@ void checkInstanceGroupManagerAggregatedList( o.id!, unittest.equals('foo'), ); - checkUnnamed979(o.items!); + checkUnnamed1004(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11844,7 +11873,7 @@ void checkInstanceGroupManagerAggregatedList( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed980(o.unreachables!); + checkUnnamed1005(o.unreachables!); checkInstanceGroupManagerAggregatedListWarning(o.warning!); } buildCounterInstanceGroupManagerAggregatedList--; @@ -11879,12 +11908,12 @@ void checkInstanceGroupManagerAutoHealingPolicy( buildCounterInstanceGroupManagerAutoHealingPolicy--; } -core.List buildUnnamed982() => [ +core.List buildUnnamed1007() => [ buildInstanceGroupManager(), buildInstanceGroupManager(), ]; -void checkUnnamed982(core.List o) { +void checkUnnamed1007(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManager(o[0]); checkInstanceGroupManager(o[1]); @@ -11919,12 +11948,12 @@ void checkInstanceGroupManagerListWarningData( buildCounterInstanceGroupManagerListWarningData--; } -core.List buildUnnamed983() => [ +core.List buildUnnamed1008() => [ buildInstanceGroupManagerListWarningData(), buildInstanceGroupManagerListWarningData(), ]; -void checkUnnamed983(core.List o) { +void checkUnnamed1008(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManagerListWarningData(o[0]); checkInstanceGroupManagerListWarningData(o[1]); @@ -11936,7 +11965,7 @@ api.InstanceGroupManagerListWarning buildInstanceGroupManagerListWarning() { buildCounterInstanceGroupManagerListWarning++; if (buildCounterInstanceGroupManagerListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed983(); + o.data = buildUnnamed1008(); o.message = 'foo'; } buildCounterInstanceGroupManagerListWarning--; @@ -11951,7 +11980,7 @@ void checkInstanceGroupManagerListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed983(o.data!); + checkUnnamed1008(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -11966,7 +11995,7 @@ api.InstanceGroupManagerList buildInstanceGroupManagerList() { buildCounterInstanceGroupManagerList++; if (buildCounterInstanceGroupManagerList < 3) { o.id = 'foo'; - o.items = buildUnnamed982(); + o.items = buildUnnamed1007(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -11983,7 +12012,7 @@ void checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed982(o.items!); + checkUnnamed1007(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -12167,12 +12196,12 @@ void checkInstanceGroupManagerVersion(api.InstanceGroupManagerVersion o) { buildCounterInstanceGroupManagerVersion--; } -core.List buildUnnamed984() => [ +core.List buildUnnamed1009() => [ 'foo', 'foo', ]; -void checkUnnamed984(core.List o) { +void checkUnnamed1009(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12190,7 +12219,7 @@ api.InstanceGroupManagersAbandonInstancesRequest final o = api.InstanceGroupManagersAbandonInstancesRequest(); buildCounterInstanceGroupManagersAbandonInstancesRequest++; if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { - o.instances = buildUnnamed984(); + o.instances = buildUnnamed1009(); } buildCounterInstanceGroupManagersAbandonInstancesRequest--; return o; @@ -12200,17 +12229,17 @@ void checkInstanceGroupManagersAbandonInstancesRequest( api.InstanceGroupManagersAbandonInstancesRequest o) { buildCounterInstanceGroupManagersAbandonInstancesRequest++; if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { - checkUnnamed984(o.instances!); + checkUnnamed1009(o.instances!); } buildCounterInstanceGroupManagersAbandonInstancesRequest--; } -core.List buildUnnamed985() => [ +core.List buildUnnamed1010() => [ 'foo', 'foo', ]; -void checkUnnamed985(core.List o) { +void checkUnnamed1010(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12229,7 +12258,7 @@ api.InstanceGroupManagersApplyUpdatesRequest buildCounterInstanceGroupManagersApplyUpdatesRequest++; if (buildCounterInstanceGroupManagersApplyUpdatesRequest < 3) { o.allInstances = true; - o.instances = buildUnnamed985(); + o.instances = buildUnnamed1010(); o.minimalAction = 'foo'; o.mostDisruptiveAllowedAction = 'foo'; } @@ -12242,7 +12271,7 @@ void checkInstanceGroupManagersApplyUpdatesRequest( buildCounterInstanceGroupManagersApplyUpdatesRequest++; if (buildCounterInstanceGroupManagersApplyUpdatesRequest < 3) { unittest.expect(o.allInstances!, unittest.isTrue); - checkUnnamed985(o.instances!); + checkUnnamed1010(o.instances!); unittest.expect( o.minimalAction!, unittest.equals('foo'), @@ -12255,12 +12284,12 @@ void checkInstanceGroupManagersApplyUpdatesRequest( buildCounterInstanceGroupManagersApplyUpdatesRequest--; } -core.List buildUnnamed986() => [ +core.List buildUnnamed1011() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed986(core.List o) { +void checkUnnamed1011(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -12272,7 +12301,7 @@ api.InstanceGroupManagersCreateInstancesRequest final o = api.InstanceGroupManagersCreateInstancesRequest(); buildCounterInstanceGroupManagersCreateInstancesRequest++; if (buildCounterInstanceGroupManagersCreateInstancesRequest < 3) { - o.instances = buildUnnamed986(); + o.instances = buildUnnamed1011(); } buildCounterInstanceGroupManagersCreateInstancesRequest--; return o; @@ -12282,17 +12311,17 @@ void checkInstanceGroupManagersCreateInstancesRequest( api.InstanceGroupManagersCreateInstancesRequest o) { buildCounterInstanceGroupManagersCreateInstancesRequest++; if (buildCounterInstanceGroupManagersCreateInstancesRequest < 3) { - checkUnnamed986(o.instances!); + checkUnnamed1011(o.instances!); } buildCounterInstanceGroupManagersCreateInstancesRequest--; } -core.List buildUnnamed987() => [ +core.List buildUnnamed1012() => [ 'foo', 'foo', ]; -void checkUnnamed987(core.List o) { +void checkUnnamed1012(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12310,7 +12339,8 @@ api.InstanceGroupManagersDeleteInstancesRequest final o = api.InstanceGroupManagersDeleteInstancesRequest(); buildCounterInstanceGroupManagersDeleteInstancesRequest++; if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { - o.instances = buildUnnamed987(); + o.instances = buildUnnamed1012(); + o.skipInstancesOnValidationError = true; } buildCounterInstanceGroupManagersDeleteInstancesRequest--; return o; @@ -12320,17 +12350,18 @@ void checkInstanceGroupManagersDeleteInstancesRequest( api.InstanceGroupManagersDeleteInstancesRequest o) { buildCounterInstanceGroupManagersDeleteInstancesRequest++; if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { - checkUnnamed987(o.instances!); + checkUnnamed1012(o.instances!); + unittest.expect(o.skipInstancesOnValidationError!, unittest.isTrue); } buildCounterInstanceGroupManagersDeleteInstancesRequest--; } -core.List buildUnnamed988() => [ +core.List buildUnnamed1013() => [ 'foo', 'foo', ]; -void checkUnnamed988(core.List o) { +void checkUnnamed1013(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12348,7 +12379,7 @@ api.InstanceGroupManagersDeletePerInstanceConfigsReq final o = api.InstanceGroupManagersDeletePerInstanceConfigsReq(); buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq++; if (buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq < 3) { - o.names = buildUnnamed988(); + o.names = buildUnnamed1013(); } buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq--; return o; @@ -12358,17 +12389,17 @@ void checkInstanceGroupManagersDeletePerInstanceConfigsReq( api.InstanceGroupManagersDeletePerInstanceConfigsReq o) { buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq++; if (buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq < 3) { - checkUnnamed988(o.names!); + checkUnnamed1013(o.names!); } buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq--; } -core.List buildUnnamed989() => [ +core.List buildUnnamed1014() => [ buildInstanceManagedByIgmError(), buildInstanceManagedByIgmError(), ]; -void checkUnnamed989(core.List o) { +void checkUnnamed1014(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceManagedByIgmError(o[0]); checkInstanceManagedByIgmError(o[1]); @@ -12380,7 +12411,7 @@ api.InstanceGroupManagersListErrorsResponse final o = api.InstanceGroupManagersListErrorsResponse(); buildCounterInstanceGroupManagersListErrorsResponse++; if (buildCounterInstanceGroupManagersListErrorsResponse < 3) { - o.items = buildUnnamed989(); + o.items = buildUnnamed1014(); o.nextPageToken = 'foo'; } buildCounterInstanceGroupManagersListErrorsResponse--; @@ -12391,7 +12422,7 @@ void checkInstanceGroupManagersListErrorsResponse( api.InstanceGroupManagersListErrorsResponse o) { buildCounterInstanceGroupManagersListErrorsResponse++; if (buildCounterInstanceGroupManagersListErrorsResponse < 3) { - checkUnnamed989(o.items!); + checkUnnamed1014(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -12400,12 +12431,12 @@ void checkInstanceGroupManagersListErrorsResponse( buildCounterInstanceGroupManagersListErrorsResponse--; } -core.List buildUnnamed990() => [ +core.List buildUnnamed1015() => [ buildManagedInstance(), buildManagedInstance(), ]; -void checkUnnamed990(core.List o) { +void checkUnnamed1015(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedInstance(o[0]); checkManagedInstance(o[1]); @@ -12417,7 +12448,7 @@ api.InstanceGroupManagersListManagedInstancesResponse final o = api.InstanceGroupManagersListManagedInstancesResponse(); buildCounterInstanceGroupManagersListManagedInstancesResponse++; if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { - o.managedInstances = buildUnnamed990(); + o.managedInstances = buildUnnamed1015(); o.nextPageToken = 'foo'; } buildCounterInstanceGroupManagersListManagedInstancesResponse--; @@ -12428,7 +12459,7 @@ void checkInstanceGroupManagersListManagedInstancesResponse( api.InstanceGroupManagersListManagedInstancesResponse o) { buildCounterInstanceGroupManagersListManagedInstancesResponse++; if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { - checkUnnamed990(o.managedInstances!); + checkUnnamed1015(o.managedInstances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -12437,12 +12468,12 @@ void checkInstanceGroupManagersListManagedInstancesResponse( buildCounterInstanceGroupManagersListManagedInstancesResponse--; } -core.List buildUnnamed991() => [ +core.List buildUnnamed1016() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed991(core.List o) { +void checkUnnamed1016(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -12481,12 +12512,12 @@ void checkInstanceGroupManagersListPerInstanceConfigsRespWarningData( } core.List - buildUnnamed992() => [ + buildUnnamed1017() => [ buildInstanceGroupManagersListPerInstanceConfigsRespWarningData(), buildInstanceGroupManagersListPerInstanceConfigsRespWarningData(), ]; -void checkUnnamed992( +void checkUnnamed1017( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -12501,7 +12532,7 @@ api.InstanceGroupManagersListPerInstanceConfigsRespWarning buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning++; if (buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed992(); + o.data = buildUnnamed1017(); o.message = 'foo'; } buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning--; @@ -12516,7 +12547,7 @@ void checkInstanceGroupManagersListPerInstanceConfigsRespWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed992(o.data!); + checkUnnamed1017(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -12531,7 +12562,7 @@ api.InstanceGroupManagersListPerInstanceConfigsResp final o = api.InstanceGroupManagersListPerInstanceConfigsResp(); buildCounterInstanceGroupManagersListPerInstanceConfigsResp++; if (buildCounterInstanceGroupManagersListPerInstanceConfigsResp < 3) { - o.items = buildUnnamed991(); + o.items = buildUnnamed1016(); o.nextPageToken = 'foo'; o.warning = buildInstanceGroupManagersListPerInstanceConfigsRespWarning(); } @@ -12543,7 +12574,7 @@ void checkInstanceGroupManagersListPerInstanceConfigsResp( api.InstanceGroupManagersListPerInstanceConfigsResp o) { buildCounterInstanceGroupManagersListPerInstanceConfigsResp++; if (buildCounterInstanceGroupManagersListPerInstanceConfigsResp < 3) { - checkUnnamed991(o.items!); + checkUnnamed1016(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -12553,12 +12584,12 @@ void checkInstanceGroupManagersListPerInstanceConfigsResp( buildCounterInstanceGroupManagersListPerInstanceConfigsResp--; } -core.List buildUnnamed993() => [ +core.List buildUnnamed1018() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed993(core.List o) { +void checkUnnamed1018(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -12570,7 +12601,7 @@ api.InstanceGroupManagersPatchPerInstanceConfigsReq final o = api.InstanceGroupManagersPatchPerInstanceConfigsReq(); buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq++; if (buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq < 3) { - o.perInstanceConfigs = buildUnnamed993(); + o.perInstanceConfigs = buildUnnamed1018(); } buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq--; return o; @@ -12580,17 +12611,17 @@ void checkInstanceGroupManagersPatchPerInstanceConfigsReq( api.InstanceGroupManagersPatchPerInstanceConfigsReq o) { buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq++; if (buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq < 3) { - checkUnnamed993(o.perInstanceConfigs!); + checkUnnamed1018(o.perInstanceConfigs!); } buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq--; } -core.List buildUnnamed994() => [ +core.List buildUnnamed1019() => [ 'foo', 'foo', ]; -void checkUnnamed994(core.List o) { +void checkUnnamed1019(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12608,7 +12639,7 @@ api.InstanceGroupManagersRecreateInstancesRequest final o = api.InstanceGroupManagersRecreateInstancesRequest(); buildCounterInstanceGroupManagersRecreateInstancesRequest++; if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { - o.instances = buildUnnamed994(); + o.instances = buildUnnamed1019(); } buildCounterInstanceGroupManagersRecreateInstancesRequest--; return o; @@ -12618,17 +12649,17 @@ void checkInstanceGroupManagersRecreateInstancesRequest( api.InstanceGroupManagersRecreateInstancesRequest o) { buildCounterInstanceGroupManagersRecreateInstancesRequest++; if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { - checkUnnamed994(o.instances!); + checkUnnamed1019(o.instances!); } buildCounterInstanceGroupManagersRecreateInstancesRequest--; } -core.List buildUnnamed995() => [ +core.List buildUnnamed1020() => [ buildInstanceGroupManager(), buildInstanceGroupManager(), ]; -void checkUnnamed995(core.List o) { +void checkUnnamed1020(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManager(o[0]); checkInstanceGroupManager(o[1]); @@ -12663,12 +12694,13 @@ void checkInstanceGroupManagersScopedListWarningData( buildCounterInstanceGroupManagersScopedListWarningData--; } -core.List buildUnnamed996() => [ +core.List buildUnnamed1021() => + [ buildInstanceGroupManagersScopedListWarningData(), buildInstanceGroupManagersScopedListWarningData(), ]; -void checkUnnamed996( +void checkUnnamed1021( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManagersScopedListWarningData(o[0]); @@ -12682,7 +12714,7 @@ api.InstanceGroupManagersScopedListWarning buildCounterInstanceGroupManagersScopedListWarning++; if (buildCounterInstanceGroupManagersScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed996(); + o.data = buildUnnamed1021(); o.message = 'foo'; } buildCounterInstanceGroupManagersScopedListWarning--; @@ -12697,7 +12729,7 @@ void checkInstanceGroupManagersScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed996(o.data!); + checkUnnamed1021(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -12711,7 +12743,7 @@ api.InstanceGroupManagersScopedList buildInstanceGroupManagersScopedList() { final o = api.InstanceGroupManagersScopedList(); buildCounterInstanceGroupManagersScopedList++; if (buildCounterInstanceGroupManagersScopedList < 3) { - o.instanceGroupManagers = buildUnnamed995(); + o.instanceGroupManagers = buildUnnamed1020(); o.warning = buildInstanceGroupManagersScopedListWarning(); } buildCounterInstanceGroupManagersScopedList--; @@ -12722,7 +12754,7 @@ void checkInstanceGroupManagersScopedList( api.InstanceGroupManagersScopedList o) { buildCounterInstanceGroupManagersScopedList++; if (buildCounterInstanceGroupManagersScopedList < 3) { - checkUnnamed995(o.instanceGroupManagers!); + checkUnnamed1020(o.instanceGroupManagers!); checkInstanceGroupManagersScopedListWarning(o.warning!); } buildCounterInstanceGroupManagersScopedList--; @@ -12752,12 +12784,12 @@ void checkInstanceGroupManagersSetInstanceTemplateRequest( buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; } -core.List buildUnnamed997() => [ +core.List buildUnnamed1022() => [ 'foo', 'foo', ]; -void checkUnnamed997(core.List o) { +void checkUnnamed1022(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12776,7 +12808,7 @@ api.InstanceGroupManagersSetTargetPoolsRequest buildCounterInstanceGroupManagersSetTargetPoolsRequest++; if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { o.fingerprint = 'foo'; - o.targetPools = buildUnnamed997(); + o.targetPools = buildUnnamed1022(); } buildCounterInstanceGroupManagersSetTargetPoolsRequest--; return o; @@ -12790,17 +12822,17 @@ void checkInstanceGroupManagersSetTargetPoolsRequest( o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed997(o.targetPools!); + checkUnnamed1022(o.targetPools!); } buildCounterInstanceGroupManagersSetTargetPoolsRequest--; } -core.List buildUnnamed998() => [ +core.List buildUnnamed1023() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed998(core.List o) { +void checkUnnamed1023(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -12812,7 +12844,7 @@ api.InstanceGroupManagersUpdatePerInstanceConfigsReq final o = api.InstanceGroupManagersUpdatePerInstanceConfigsReq(); buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq++; if (buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq < 3) { - o.perInstanceConfigs = buildUnnamed998(); + o.perInstanceConfigs = buildUnnamed1023(); } buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq--; return o; @@ -12822,17 +12854,17 @@ void checkInstanceGroupManagersUpdatePerInstanceConfigsReq( api.InstanceGroupManagersUpdatePerInstanceConfigsReq o) { buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq++; if (buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq < 3) { - checkUnnamed998(o.perInstanceConfigs!); + checkUnnamed1023(o.perInstanceConfigs!); } buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq--; } -core.List buildUnnamed999() => [ +core.List buildUnnamed1024() => [ buildInstanceReference(), buildInstanceReference(), ]; -void checkUnnamed999(core.List o) { +void checkUnnamed1024(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -12843,7 +12875,7 @@ api.InstanceGroupsAddInstancesRequest buildInstanceGroupsAddInstancesRequest() { final o = api.InstanceGroupsAddInstancesRequest(); buildCounterInstanceGroupsAddInstancesRequest++; if (buildCounterInstanceGroupsAddInstancesRequest < 3) { - o.instances = buildUnnamed999(); + o.instances = buildUnnamed1024(); } buildCounterInstanceGroupsAddInstancesRequest--; return o; @@ -12853,17 +12885,17 @@ void checkInstanceGroupsAddInstancesRequest( api.InstanceGroupsAddInstancesRequest o) { buildCounterInstanceGroupsAddInstancesRequest++; if (buildCounterInstanceGroupsAddInstancesRequest < 3) { - checkUnnamed999(o.instances!); + checkUnnamed1024(o.instances!); } buildCounterInstanceGroupsAddInstancesRequest--; } -core.List buildUnnamed1000() => [ +core.List buildUnnamed1025() => [ buildInstanceWithNamedPorts(), buildInstanceWithNamedPorts(), ]; -void checkUnnamed1000(core.List o) { +void checkUnnamed1025(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceWithNamedPorts(o[0]); checkInstanceWithNamedPorts(o[1]); @@ -12898,12 +12930,12 @@ void checkInstanceGroupsListInstancesWarningData( buildCounterInstanceGroupsListInstancesWarningData--; } -core.List buildUnnamed1001() => [ +core.List buildUnnamed1026() => [ buildInstanceGroupsListInstancesWarningData(), buildInstanceGroupsListInstancesWarningData(), ]; -void checkUnnamed1001(core.List o) { +void checkUnnamed1026(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupsListInstancesWarningData(o[0]); checkInstanceGroupsListInstancesWarningData(o[1]); @@ -12916,7 +12948,7 @@ api.InstanceGroupsListInstancesWarning buildCounterInstanceGroupsListInstancesWarning++; if (buildCounterInstanceGroupsListInstancesWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1001(); + o.data = buildUnnamed1026(); o.message = 'foo'; } buildCounterInstanceGroupsListInstancesWarning--; @@ -12931,7 +12963,7 @@ void checkInstanceGroupsListInstancesWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1001(o.data!); + checkUnnamed1026(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -12946,7 +12978,7 @@ api.InstanceGroupsListInstances buildInstanceGroupsListInstances() { buildCounterInstanceGroupsListInstances++; if (buildCounterInstanceGroupsListInstances < 3) { o.id = 'foo'; - o.items = buildUnnamed1000(); + o.items = buildUnnamed1025(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -12963,7 +12995,7 @@ void checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1000(o.items!); + checkUnnamed1025(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13005,12 +13037,12 @@ void checkInstanceGroupsListInstancesRequest( buildCounterInstanceGroupsListInstancesRequest--; } -core.List buildUnnamed1002() => [ +core.List buildUnnamed1027() => [ buildInstanceReference(), buildInstanceReference(), ]; -void checkUnnamed1002(core.List o) { +void checkUnnamed1027(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -13022,7 +13054,7 @@ api.InstanceGroupsRemoveInstancesRequest final o = api.InstanceGroupsRemoveInstancesRequest(); buildCounterInstanceGroupsRemoveInstancesRequest++; if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { - o.instances = buildUnnamed1002(); + o.instances = buildUnnamed1027(); } buildCounterInstanceGroupsRemoveInstancesRequest--; return o; @@ -13032,17 +13064,17 @@ void checkInstanceGroupsRemoveInstancesRequest( api.InstanceGroupsRemoveInstancesRequest o) { buildCounterInstanceGroupsRemoveInstancesRequest++; if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { - checkUnnamed1002(o.instances!); + checkUnnamed1027(o.instances!); } buildCounterInstanceGroupsRemoveInstancesRequest--; } -core.List buildUnnamed1003() => [ +core.List buildUnnamed1028() => [ buildInstanceGroup(), buildInstanceGroup(), ]; -void checkUnnamed1003(core.List o) { +void checkUnnamed1028(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroup(o[0]); checkInstanceGroup(o[1]); @@ -13077,12 +13109,12 @@ void checkInstanceGroupsScopedListWarningData( buildCounterInstanceGroupsScopedListWarningData--; } -core.List buildUnnamed1004() => [ +core.List buildUnnamed1029() => [ buildInstanceGroupsScopedListWarningData(), buildInstanceGroupsScopedListWarningData(), ]; -void checkUnnamed1004(core.List o) { +void checkUnnamed1029(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupsScopedListWarningData(o[0]); checkInstanceGroupsScopedListWarningData(o[1]); @@ -13094,7 +13126,7 @@ api.InstanceGroupsScopedListWarning buildInstanceGroupsScopedListWarning() { buildCounterInstanceGroupsScopedListWarning++; if (buildCounterInstanceGroupsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1004(); + o.data = buildUnnamed1029(); o.message = 'foo'; } buildCounterInstanceGroupsScopedListWarning--; @@ -13109,7 +13141,7 @@ void checkInstanceGroupsScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1004(o.data!); + checkUnnamed1029(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -13123,7 +13155,7 @@ api.InstanceGroupsScopedList buildInstanceGroupsScopedList() { final o = api.InstanceGroupsScopedList(); buildCounterInstanceGroupsScopedList++; if (buildCounterInstanceGroupsScopedList < 3) { - o.instanceGroups = buildUnnamed1003(); + o.instanceGroups = buildUnnamed1028(); o.warning = buildInstanceGroupsScopedListWarning(); } buildCounterInstanceGroupsScopedList--; @@ -13133,18 +13165,18 @@ api.InstanceGroupsScopedList buildInstanceGroupsScopedList() { void checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { buildCounterInstanceGroupsScopedList++; if (buildCounterInstanceGroupsScopedList < 3) { - checkUnnamed1003(o.instanceGroups!); + checkUnnamed1028(o.instanceGroups!); checkInstanceGroupsScopedListWarning(o.warning!); } buildCounterInstanceGroupsScopedList--; } -core.List buildUnnamed1005() => [ +core.List buildUnnamed1030() => [ buildNamedPort(), buildNamedPort(), ]; -void checkUnnamed1005(core.List o) { +void checkUnnamed1030(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedPort(o[0]); checkNamedPort(o[1]); @@ -13157,7 +13189,7 @@ api.InstanceGroupsSetNamedPortsRequest buildCounterInstanceGroupsSetNamedPortsRequest++; if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { o.fingerprint = 'foo'; - o.namedPorts = buildUnnamed1005(); + o.namedPorts = buildUnnamed1030(); } buildCounterInstanceGroupsSetNamedPortsRequest--; return o; @@ -13171,17 +13203,17 @@ void checkInstanceGroupsSetNamedPortsRequest( o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed1005(o.namedPorts!); + checkUnnamed1030(o.namedPorts!); } buildCounterInstanceGroupsSetNamedPortsRequest--; } -core.List buildUnnamed1006() => [ +core.List buildUnnamed1031() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed1006(core.List o) { +void checkUnnamed1031(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -13214,12 +13246,12 @@ void checkInstanceListWarningData(api.InstanceListWarningData o) { buildCounterInstanceListWarningData--; } -core.List buildUnnamed1007() => [ +core.List buildUnnamed1032() => [ buildInstanceListWarningData(), buildInstanceListWarningData(), ]; -void checkUnnamed1007(core.List o) { +void checkUnnamed1032(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceListWarningData(o[0]); checkInstanceListWarningData(o[1]); @@ -13231,7 +13263,7 @@ api.InstanceListWarning buildInstanceListWarning() { buildCounterInstanceListWarning++; if (buildCounterInstanceListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1007(); + o.data = buildUnnamed1032(); o.message = 'foo'; } buildCounterInstanceListWarning--; @@ -13245,7 +13277,7 @@ void checkInstanceListWarning(api.InstanceListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1007(o.data!); + checkUnnamed1032(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -13260,7 +13292,7 @@ api.InstanceList buildInstanceList() { buildCounterInstanceList++; if (buildCounterInstanceList < 3) { o.id = 'foo'; - o.items = buildUnnamed1006(); + o.items = buildUnnamed1031(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -13277,7 +13309,7 @@ void checkInstanceList(api.InstanceList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1006(o.items!); + checkUnnamed1031(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13295,12 +13327,12 @@ void checkInstanceList(api.InstanceList o) { buildCounterInstanceList--; } -core.List buildUnnamed1008() => [ +core.List buildUnnamed1033() => [ buildReference(), buildReference(), ]; -void checkUnnamed1008(core.List o) { +void checkUnnamed1033(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReference(o[0]); checkReference(o[1]); @@ -13334,12 +13366,12 @@ void checkInstanceListReferrersWarningData( buildCounterInstanceListReferrersWarningData--; } -core.List buildUnnamed1009() => [ +core.List buildUnnamed1034() => [ buildInstanceListReferrersWarningData(), buildInstanceListReferrersWarningData(), ]; -void checkUnnamed1009(core.List o) { +void checkUnnamed1034(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceListReferrersWarningData(o[0]); checkInstanceListReferrersWarningData(o[1]); @@ -13351,7 +13383,7 @@ api.InstanceListReferrersWarning buildInstanceListReferrersWarning() { buildCounterInstanceListReferrersWarning++; if (buildCounterInstanceListReferrersWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1009(); + o.data = buildUnnamed1034(); o.message = 'foo'; } buildCounterInstanceListReferrersWarning--; @@ -13365,7 +13397,7 @@ void checkInstanceListReferrersWarning(api.InstanceListReferrersWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1009(o.data!); + checkUnnamed1034(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -13380,7 +13412,7 @@ api.InstanceListReferrers buildInstanceListReferrers() { buildCounterInstanceListReferrers++; if (buildCounterInstanceListReferrers < 3) { o.id = 'foo'; - o.items = buildUnnamed1008(); + o.items = buildUnnamed1033(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -13397,7 +13429,7 @@ void checkInstanceListReferrers(api.InstanceListReferrers o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1008(o.items!); + checkUnnamed1033(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13530,34 +13562,34 @@ void checkInstanceMoveRequest(api.InstanceMoveRequest o) { buildCounterInstanceMoveRequest--; } -core.List buildUnnamed1010() => [ +core.List buildUnnamed1035() => [ buildAttachedDisk(), buildAttachedDisk(), ]; -void checkUnnamed1010(core.List o) { +void checkUnnamed1035(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachedDisk(o[0]); checkAttachedDisk(o[1]); } -core.List buildUnnamed1011() => [ +core.List buildUnnamed1036() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed1011(core.List o) { +void checkUnnamed1036(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.Map buildUnnamed1012() => { +core.Map buildUnnamed1037() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1012(core.Map o) { +void checkUnnamed1037(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -13569,23 +13601,23 @@ void checkUnnamed1012(core.Map o) { ); } -core.List buildUnnamed1013() => [ +core.List buildUnnamed1038() => [ buildNetworkInterface(), buildNetworkInterface(), ]; -void checkUnnamed1013(core.List o) { +void checkUnnamed1038(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkInterface(o[0]); checkNetworkInterface(o[1]); } -core.List buildUnnamed1014() => [ +core.List buildUnnamed1039() => [ 'foo', 'foo', ]; -void checkUnnamed1014(core.List o) { +void checkUnnamed1039(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13597,12 +13629,12 @@ void checkUnnamed1014(core.List o) { ); } -core.List buildUnnamed1015() => [ +core.List buildUnnamed1040() => [ buildServiceAccount(), buildServiceAccount(), ]; -void checkUnnamed1015(core.List o) { +void checkUnnamed1040(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccount(o[0]); checkServiceAccount(o[1]); @@ -13617,18 +13649,18 @@ api.InstanceProperties buildInstanceProperties() { o.canIpForward = true; o.confidentialInstanceConfig = buildConfidentialInstanceConfig(); o.description = 'foo'; - o.disks = buildUnnamed1010(); - o.guestAccelerators = buildUnnamed1011(); - o.labels = buildUnnamed1012(); + o.disks = buildUnnamed1035(); + o.guestAccelerators = buildUnnamed1036(); + o.labels = buildUnnamed1037(); o.machineType = 'foo'; o.metadata = buildMetadata(); o.minCpuPlatform = 'foo'; - o.networkInterfaces = buildUnnamed1013(); + o.networkInterfaces = buildUnnamed1038(); o.privateIpv6GoogleAccess = 'foo'; o.reservationAffinity = buildReservationAffinity(); - o.resourcePolicies = buildUnnamed1014(); + o.resourcePolicies = buildUnnamed1039(); o.scheduling = buildScheduling(); - o.serviceAccounts = buildUnnamed1015(); + o.serviceAccounts = buildUnnamed1040(); o.shieldedInstanceConfig = buildShieldedInstanceConfig(); o.tags = buildTags(); } @@ -13646,9 +13678,9 @@ void checkInstanceProperties(api.InstanceProperties o) { o.description!, unittest.equals('foo'), ); - checkUnnamed1010(o.disks!); - checkUnnamed1011(o.guestAccelerators!); - checkUnnamed1012(o.labels!); + checkUnnamed1035(o.disks!); + checkUnnamed1036(o.guestAccelerators!); + checkUnnamed1037(o.labels!); unittest.expect( o.machineType!, unittest.equals('foo'), @@ -13658,15 +13690,15 @@ void checkInstanceProperties(api.InstanceProperties o) { o.minCpuPlatform!, unittest.equals('foo'), ); - checkUnnamed1013(o.networkInterfaces!); + checkUnnamed1038(o.networkInterfaces!); unittest.expect( o.privateIpv6GoogleAccess!, unittest.equals('foo'), ); checkReservationAffinity(o.reservationAffinity!); - checkUnnamed1014(o.resourcePolicies!); + checkUnnamed1039(o.resourcePolicies!); checkScheduling(o.scheduling!); - checkUnnamed1015(o.serviceAccounts!); + checkUnnamed1040(o.serviceAccounts!); checkShieldedInstanceConfig(o.shieldedInstanceConfig!); checkTags(o.tags!); } @@ -13751,12 +13783,12 @@ void checkInstanceTemplate(api.InstanceTemplate o) { buildCounterInstanceTemplate--; } -core.List buildUnnamed1016() => [ +core.List buildUnnamed1041() => [ buildInstanceTemplate(), buildInstanceTemplate(), ]; -void checkUnnamed1016(core.List o) { +void checkUnnamed1041(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceTemplate(o[0]); checkInstanceTemplate(o[1]); @@ -13790,12 +13822,12 @@ void checkInstanceTemplateListWarningData( buildCounterInstanceTemplateListWarningData--; } -core.List buildUnnamed1017() => [ +core.List buildUnnamed1042() => [ buildInstanceTemplateListWarningData(), buildInstanceTemplateListWarningData(), ]; -void checkUnnamed1017(core.List o) { +void checkUnnamed1042(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceTemplateListWarningData(o[0]); checkInstanceTemplateListWarningData(o[1]); @@ -13807,7 +13839,7 @@ api.InstanceTemplateListWarning buildInstanceTemplateListWarning() { buildCounterInstanceTemplateListWarning++; if (buildCounterInstanceTemplateListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1017(); + o.data = buildUnnamed1042(); o.message = 'foo'; } buildCounterInstanceTemplateListWarning--; @@ -13821,7 +13853,7 @@ void checkInstanceTemplateListWarning(api.InstanceTemplateListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1017(o.data!); + checkUnnamed1042(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -13836,7 +13868,7 @@ api.InstanceTemplateList buildInstanceTemplateList() { buildCounterInstanceTemplateList++; if (buildCounterInstanceTemplateList < 3) { o.id = 'foo'; - o.items = buildUnnamed1016(); + o.items = buildUnnamed1041(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -13853,7 +13885,7 @@ void checkInstanceTemplateList(api.InstanceTemplateList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1016(o.items!); + checkUnnamed1041(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13871,12 +13903,12 @@ void checkInstanceTemplateList(api.InstanceTemplateList o) { buildCounterInstanceTemplateList--; } -core.List buildUnnamed1018() => [ +core.List buildUnnamed1043() => [ buildNamedPort(), buildNamedPort(), ]; -void checkUnnamed1018(core.List o) { +void checkUnnamed1043(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedPort(o[0]); checkNamedPort(o[1]); @@ -13888,7 +13920,7 @@ api.InstanceWithNamedPorts buildInstanceWithNamedPorts() { buildCounterInstanceWithNamedPorts++; if (buildCounterInstanceWithNamedPorts < 3) { o.instance = 'foo'; - o.namedPorts = buildUnnamed1018(); + o.namedPorts = buildUnnamed1043(); o.status = 'foo'; } buildCounterInstanceWithNamedPorts--; @@ -13902,7 +13934,7 @@ void checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { o.instance!, unittest.equals('foo'), ); - checkUnnamed1018(o.namedPorts!); + checkUnnamed1043(o.namedPorts!); unittest.expect( o.status!, unittest.equals('foo'), @@ -13911,12 +13943,12 @@ void checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { buildCounterInstanceWithNamedPorts--; } -core.List buildUnnamed1019() => [ +core.List buildUnnamed1044() => [ 'foo', 'foo', ]; -void checkUnnamed1019(core.List o) { +void checkUnnamed1044(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13934,7 +13966,7 @@ api.InstancesAddResourcePoliciesRequest final o = api.InstancesAddResourcePoliciesRequest(); buildCounterInstancesAddResourcePoliciesRequest++; if (buildCounterInstancesAddResourcePoliciesRequest < 3) { - o.resourcePolicies = buildUnnamed1019(); + o.resourcePolicies = buildUnnamed1044(); } buildCounterInstancesAddResourcePoliciesRequest--; return o; @@ -13944,18 +13976,18 @@ void checkInstancesAddResourcePoliciesRequest( api.InstancesAddResourcePoliciesRequest o) { buildCounterInstancesAddResourcePoliciesRequest++; if (buildCounterInstancesAddResourcePoliciesRequest < 3) { - checkUnnamed1019(o.resourcePolicies!); + checkUnnamed1044(o.resourcePolicies!); } buildCounterInstancesAddResourcePoliciesRequest--; } core.List - buildUnnamed1020() => [ + buildUnnamed1045() => [ buildInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy(), buildInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy(), ]; -void checkUnnamed1020( +void checkUnnamed1045( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -13963,12 +13995,12 @@ void checkUnnamed1020( checkInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy(o[1]); } -core.List buildUnnamed1021() => [ +core.List buildUnnamed1046() => [ buildFirewall(), buildFirewall(), ]; -void checkUnnamed1021(core.List o) { +void checkUnnamed1046(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewall(o[0]); checkFirewall(o[1]); @@ -13980,8 +14012,8 @@ api.InstancesGetEffectiveFirewallsResponse final o = api.InstancesGetEffectiveFirewallsResponse(); buildCounterInstancesGetEffectiveFirewallsResponse++; if (buildCounterInstancesGetEffectiveFirewallsResponse < 3) { - o.firewallPolicys = buildUnnamed1020(); - o.firewalls = buildUnnamed1021(); + o.firewallPolicys = buildUnnamed1045(); + o.firewalls = buildUnnamed1046(); } buildCounterInstancesGetEffectiveFirewallsResponse--; return o; @@ -13991,18 +14023,18 @@ void checkInstancesGetEffectiveFirewallsResponse( api.InstancesGetEffectiveFirewallsResponse o) { buildCounterInstancesGetEffectiveFirewallsResponse++; if (buildCounterInstancesGetEffectiveFirewallsResponse < 3) { - checkUnnamed1020(o.firewallPolicys!); - checkUnnamed1021(o.firewalls!); + checkUnnamed1045(o.firewallPolicys!); + checkUnnamed1046(o.firewalls!); } buildCounterInstancesGetEffectiveFirewallsResponse--; } -core.List buildUnnamed1022() => [ +core.List buildUnnamed1047() => [ buildFirewallPolicyRule(), buildFirewallPolicyRule(), ]; -void checkUnnamed1022(core.List o) { +void checkUnnamed1047(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyRule(o[0]); checkFirewallPolicyRule(o[1]); @@ -14019,7 +14051,7 @@ api.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy 3) { o.displayName = 'foo'; o.name = 'foo'; - o.rules = buildUnnamed1022(); + o.rules = buildUnnamed1047(); o.shortName = 'foo'; o.type = 'foo'; } @@ -14040,7 +14072,7 @@ void checkInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( o.name!, unittest.equals('foo'), ); - checkUnnamed1022(o.rules!); + checkUnnamed1047(o.rules!); unittest.expect( o.shortName!, unittest.equals('foo'), @@ -14053,12 +14085,12 @@ void checkInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( buildCounterInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy--; } -core.List buildUnnamed1023() => [ +core.List buildUnnamed1048() => [ 'foo', 'foo', ]; -void checkUnnamed1023(core.List o) { +void checkUnnamed1048(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14076,7 +14108,7 @@ api.InstancesRemoveResourcePoliciesRequest final o = api.InstancesRemoveResourcePoliciesRequest(); buildCounterInstancesRemoveResourcePoliciesRequest++; if (buildCounterInstancesRemoveResourcePoliciesRequest < 3) { - o.resourcePolicies = buildUnnamed1023(); + o.resourcePolicies = buildUnnamed1048(); } buildCounterInstancesRemoveResourcePoliciesRequest--; return o; @@ -14086,17 +14118,17 @@ void checkInstancesRemoveResourcePoliciesRequest( api.InstancesRemoveResourcePoliciesRequest o) { buildCounterInstancesRemoveResourcePoliciesRequest++; if (buildCounterInstancesRemoveResourcePoliciesRequest < 3) { - checkUnnamed1023(o.resourcePolicies!); + checkUnnamed1048(o.resourcePolicies!); } buildCounterInstancesRemoveResourcePoliciesRequest--; } -core.List buildUnnamed1024() => [ +core.List buildUnnamed1049() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed1024(core.List o) { +void checkUnnamed1049(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -14129,12 +14161,12 @@ void checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { buildCounterInstancesScopedListWarningData--; } -core.List buildUnnamed1025() => [ +core.List buildUnnamed1050() => [ buildInstancesScopedListWarningData(), buildInstancesScopedListWarningData(), ]; -void checkUnnamed1025(core.List o) { +void checkUnnamed1050(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstancesScopedListWarningData(o[0]); checkInstancesScopedListWarningData(o[1]); @@ -14146,7 +14178,7 @@ api.InstancesScopedListWarning buildInstancesScopedListWarning() { buildCounterInstancesScopedListWarning++; if (buildCounterInstancesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1025(); + o.data = buildUnnamed1050(); o.message = 'foo'; } buildCounterInstancesScopedListWarning--; @@ -14160,7 +14192,7 @@ void checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1025(o.data!); + checkUnnamed1050(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -14174,7 +14206,7 @@ api.InstancesScopedList buildInstancesScopedList() { final o = api.InstancesScopedList(); buildCounterInstancesScopedList++; if (buildCounterInstancesScopedList < 3) { - o.instances = buildUnnamed1024(); + o.instances = buildUnnamed1049(); o.warning = buildInstancesScopedListWarning(); } buildCounterInstancesScopedList--; @@ -14184,18 +14216,18 @@ api.InstancesScopedList buildInstancesScopedList() { void checkInstancesScopedList(api.InstancesScopedList o) { buildCounterInstancesScopedList++; if (buildCounterInstancesScopedList < 3) { - checkUnnamed1024(o.instances!); + checkUnnamed1049(o.instances!); checkInstancesScopedListWarning(o.warning!); } buildCounterInstancesScopedList--; } -core.Map buildUnnamed1026() => { +core.Map buildUnnamed1051() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1026(core.Map o) { +void checkUnnamed1051(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -14213,7 +14245,7 @@ api.InstancesSetLabelsRequest buildInstancesSetLabelsRequest() { buildCounterInstancesSetLabelsRequest++; if (buildCounterInstancesSetLabelsRequest < 3) { o.labelFingerprint = 'foo'; - o.labels = buildUnnamed1026(); + o.labels = buildUnnamed1051(); } buildCounterInstancesSetLabelsRequest--; return o; @@ -14226,17 +14258,17 @@ void checkInstancesSetLabelsRequest(api.InstancesSetLabelsRequest o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed1026(o.labels!); + checkUnnamed1051(o.labels!); } buildCounterInstancesSetLabelsRequest--; } -core.List buildUnnamed1027() => [ +core.List buildUnnamed1052() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed1027(core.List o) { +void checkUnnamed1052(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); @@ -14248,7 +14280,7 @@ api.InstancesSetMachineResourcesRequest final o = api.InstancesSetMachineResourcesRequest(); buildCounterInstancesSetMachineResourcesRequest++; if (buildCounterInstancesSetMachineResourcesRequest < 3) { - o.guestAccelerators = buildUnnamed1027(); + o.guestAccelerators = buildUnnamed1052(); } buildCounterInstancesSetMachineResourcesRequest--; return o; @@ -14258,7 +14290,7 @@ void checkInstancesSetMachineResourcesRequest( api.InstancesSetMachineResourcesRequest o) { buildCounterInstancesSetMachineResourcesRequest++; if (buildCounterInstancesSetMachineResourcesRequest < 3) { - checkUnnamed1027(o.guestAccelerators!); + checkUnnamed1052(o.guestAccelerators!); } buildCounterInstancesSetMachineResourcesRequest--; } @@ -14308,12 +14340,12 @@ void checkInstancesSetMinCpuPlatformRequest( buildCounterInstancesSetMinCpuPlatformRequest--; } -core.List buildUnnamed1028() => [ +core.List buildUnnamed1053() => [ 'foo', 'foo', ]; -void checkUnnamed1028(core.List o) { +void checkUnnamed1053(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14331,7 +14363,7 @@ api.InstancesSetServiceAccountRequest buildInstancesSetServiceAccountRequest() { buildCounterInstancesSetServiceAccountRequest++; if (buildCounterInstancesSetServiceAccountRequest < 3) { o.email = 'foo'; - o.scopes = buildUnnamed1028(); + o.scopes = buildUnnamed1053(); } buildCounterInstancesSetServiceAccountRequest--; return o; @@ -14345,17 +14377,17 @@ void checkInstancesSetServiceAccountRequest( o.email!, unittest.equals('foo'), ); - checkUnnamed1028(o.scopes!); + checkUnnamed1053(o.scopes!); } buildCounterInstancesSetServiceAccountRequest--; } -core.List buildUnnamed1029() => [ +core.List buildUnnamed1054() => [ buildCustomerEncryptionKeyProtectedDisk(), buildCustomerEncryptionKeyProtectedDisk(), ]; -void checkUnnamed1029(core.List o) { +void checkUnnamed1054(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomerEncryptionKeyProtectedDisk(o[0]); checkCustomerEncryptionKeyProtectedDisk(o[1]); @@ -14367,7 +14399,7 @@ api.InstancesStartWithEncryptionKeyRequest final o = api.InstancesStartWithEncryptionKeyRequest(); buildCounterInstancesStartWithEncryptionKeyRequest++; if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { - o.disks = buildUnnamed1029(); + o.disks = buildUnnamed1054(); } buildCounterInstancesStartWithEncryptionKeyRequest--; return o; @@ -14377,7 +14409,7 @@ void checkInstancesStartWithEncryptionKeyRequest( api.InstancesStartWithEncryptionKeyRequest o) { buildCounterInstancesStartWithEncryptionKeyRequest++; if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { - checkUnnamed1029(o.disks!); + checkUnnamed1054(o.disks!); } buildCounterInstancesStartWithEncryptionKeyRequest--; } @@ -14409,34 +14441,34 @@ void checkInt64RangeMatch(api.Int64RangeMatch o) { buildCounterInt64RangeMatch--; } -core.List buildUnnamed1030() => [ +core.List buildUnnamed1055() => [ buildInterconnectCircuitInfo(), buildInterconnectCircuitInfo(), ]; -void checkUnnamed1030(core.List o) { +void checkUnnamed1055(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectCircuitInfo(o[0]); checkInterconnectCircuitInfo(o[1]); } -core.List buildUnnamed1031() => [ +core.List buildUnnamed1056() => [ buildInterconnectOutageNotification(), buildInterconnectOutageNotification(), ]; -void checkUnnamed1031(core.List o) { +void checkUnnamed1056(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectOutageNotification(o[0]); checkInterconnectOutageNotification(o[1]); } -core.List buildUnnamed1032() => [ +core.List buildUnnamed1057() => [ 'foo', 'foo', ]; -void checkUnnamed1032(core.List o) { +void checkUnnamed1057(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14454,15 +14486,15 @@ api.Interconnect buildInterconnect() { buildCounterInterconnect++; if (buildCounterInterconnect < 3) { o.adminEnabled = true; - o.circuitInfos = buildUnnamed1030(); + o.circuitInfos = buildUnnamed1055(); o.creationTimestamp = 'foo'; o.customerName = 'foo'; o.description = 'foo'; - o.expectedOutages = buildUnnamed1031(); + o.expectedOutages = buildUnnamed1056(); o.googleIpAddress = 'foo'; o.googleReferenceId = 'foo'; o.id = 'foo'; - o.interconnectAttachments = buildUnnamed1032(); + o.interconnectAttachments = buildUnnamed1057(); o.interconnectType = 'foo'; o.kind = 'foo'; o.linkType = 'foo'; @@ -14484,7 +14516,7 @@ void checkInterconnect(api.Interconnect o) { buildCounterInterconnect++; if (buildCounterInterconnect < 3) { unittest.expect(o.adminEnabled!, unittest.isTrue); - checkUnnamed1030(o.circuitInfos!); + checkUnnamed1055(o.circuitInfos!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), @@ -14497,7 +14529,7 @@ void checkInterconnect(api.Interconnect o) { o.description!, unittest.equals('foo'), ); - checkUnnamed1031(o.expectedOutages!); + checkUnnamed1056(o.expectedOutages!); unittest.expect( o.googleIpAddress!, unittest.equals('foo'), @@ -14510,7 +14542,7 @@ void checkInterconnect(api.Interconnect o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1032(o.interconnectAttachments!); + checkUnnamed1057(o.interconnectAttachments!); unittest.expect( o.interconnectType!, unittest.equals('foo'), @@ -14563,12 +14595,12 @@ void checkInterconnect(api.Interconnect o) { buildCounterInterconnect--; } -core.List buildUnnamed1033() => [ +core.List buildUnnamed1058() => [ 'foo', 'foo', ]; -void checkUnnamed1033(core.List o) { +void checkUnnamed1058(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14580,12 +14612,12 @@ void checkUnnamed1033(core.List o) { ); } -core.List buildUnnamed1034() => [ +core.List buildUnnamed1059() => [ 'foo', 'foo', ]; -void checkUnnamed1034(core.List o) { +void checkUnnamed1059(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14604,7 +14636,7 @@ api.InterconnectAttachment buildInterconnectAttachment() { if (buildCounterInterconnectAttachment < 3) { o.adminEnabled = true; o.bandwidth = 'foo'; - o.candidateSubnets = buildUnnamed1033(); + o.candidateSubnets = buildUnnamed1058(); o.cloudRouterIpAddress = 'foo'; o.creationTimestamp = 'foo'; o.customerRouterIpAddress = 'foo'; @@ -14615,7 +14647,7 @@ api.InterconnectAttachment buildInterconnectAttachment() { o.googleReferenceId = 'foo'; o.id = 'foo'; o.interconnect = 'foo'; - o.ipsecInternalAddresses = buildUnnamed1034(); + o.ipsecInternalAddresses = buildUnnamed1059(); o.kind = 'foo'; o.mtu = 42; o.name = 'foo'; @@ -14643,7 +14675,7 @@ void checkInterconnectAttachment(api.InterconnectAttachment o) { o.bandwidth!, unittest.equals('foo'), ); - checkUnnamed1033(o.candidateSubnets!); + checkUnnamed1058(o.candidateSubnets!); unittest.expect( o.cloudRouterIpAddress!, unittest.equals('foo'), @@ -14684,7 +14716,7 @@ void checkInterconnectAttachment(api.InterconnectAttachment o) { o.interconnect!, unittest.equals('foo'), ); - checkUnnamed1034(o.ipsecInternalAddresses!); + checkUnnamed1059(o.ipsecInternalAddresses!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14740,24 +14772,24 @@ void checkInterconnectAttachment(api.InterconnectAttachment o) { } core.Map - buildUnnamed1035() => { + buildUnnamed1060() => { 'x': buildInterconnectAttachmentsScopedList(), 'y': buildInterconnectAttachmentsScopedList(), }; -void checkUnnamed1035( +void checkUnnamed1060( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectAttachmentsScopedList(o['x']!); checkInterconnectAttachmentsScopedList(o['y']!); } -core.List buildUnnamed1036() => [ +core.List buildUnnamed1061() => [ 'foo', 'foo', ]; -void checkUnnamed1036(core.List o) { +void checkUnnamed1061(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14799,12 +14831,12 @@ void checkInterconnectAttachmentAggregatedListWarningData( } core.List - buildUnnamed1037() => [ + buildUnnamed1062() => [ buildInterconnectAttachmentAggregatedListWarningData(), buildInterconnectAttachmentAggregatedListWarningData(), ]; -void checkUnnamed1037( +void checkUnnamed1062( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectAttachmentAggregatedListWarningData(o[0]); @@ -14818,7 +14850,7 @@ api.InterconnectAttachmentAggregatedListWarning buildCounterInterconnectAttachmentAggregatedListWarning++; if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1037(); + o.data = buildUnnamed1062(); o.message = 'foo'; } buildCounterInterconnectAttachmentAggregatedListWarning--; @@ -14833,7 +14865,7 @@ void checkInterconnectAttachmentAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1037(o.data!); + checkUnnamed1062(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -14849,11 +14881,11 @@ api.InterconnectAttachmentAggregatedList buildCounterInterconnectAttachmentAggregatedList++; if (buildCounterInterconnectAttachmentAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1035(); + o.items = buildUnnamed1060(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1036(); + o.unreachables = buildUnnamed1061(); o.warning = buildInterconnectAttachmentAggregatedListWarning(); } buildCounterInterconnectAttachmentAggregatedList--; @@ -14868,7 +14900,7 @@ void checkInterconnectAttachmentAggregatedList( o.id!, unittest.equals('foo'), ); - checkUnnamed1035(o.items!); + checkUnnamed1060(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14881,18 +14913,18 @@ void checkInterconnectAttachmentAggregatedList( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1036(o.unreachables!); + checkUnnamed1061(o.unreachables!); checkInterconnectAttachmentAggregatedListWarning(o.warning!); } buildCounterInterconnectAttachmentAggregatedList--; } -core.List buildUnnamed1038() => [ +core.List buildUnnamed1063() => [ buildInterconnectAttachment(), buildInterconnectAttachment(), ]; -void checkUnnamed1038(core.List o) { +void checkUnnamed1063(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectAttachment(o[0]); checkInterconnectAttachment(o[1]); @@ -14927,12 +14959,12 @@ void checkInterconnectAttachmentListWarningData( buildCounterInterconnectAttachmentListWarningData--; } -core.List buildUnnamed1039() => [ +core.List buildUnnamed1064() => [ buildInterconnectAttachmentListWarningData(), buildInterconnectAttachmentListWarningData(), ]; -void checkUnnamed1039(core.List o) { +void checkUnnamed1064(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectAttachmentListWarningData(o[0]); checkInterconnectAttachmentListWarningData(o[1]); @@ -14944,7 +14976,7 @@ api.InterconnectAttachmentListWarning buildInterconnectAttachmentListWarning() { buildCounterInterconnectAttachmentListWarning++; if (buildCounterInterconnectAttachmentListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1039(); + o.data = buildUnnamed1064(); o.message = 'foo'; } buildCounterInterconnectAttachmentListWarning--; @@ -14959,7 +14991,7 @@ void checkInterconnectAttachmentListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1039(o.data!); + checkUnnamed1064(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -14974,7 +15006,7 @@ api.InterconnectAttachmentList buildInterconnectAttachmentList() { buildCounterInterconnectAttachmentList++; if (buildCounterInterconnectAttachmentList < 3) { o.id = 'foo'; - o.items = buildUnnamed1038(); + o.items = buildUnnamed1063(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -14991,7 +15023,7 @@ void checkInterconnectAttachmentList(api.InterconnectAttachmentList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1038(o.items!); + checkUnnamed1063(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -15066,12 +15098,12 @@ void checkInterconnectAttachmentPrivateInfo( buildCounterInterconnectAttachmentPrivateInfo--; } -core.List buildUnnamed1040() => [ +core.List buildUnnamed1065() => [ buildInterconnectAttachment(), buildInterconnectAttachment(), ]; -void checkUnnamed1040(core.List o) { +void checkUnnamed1065(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectAttachment(o[0]); checkInterconnectAttachment(o[1]); @@ -15107,12 +15139,12 @@ void checkInterconnectAttachmentsScopedListWarningData( } core.List - buildUnnamed1041() => [ + buildUnnamed1066() => [ buildInterconnectAttachmentsScopedListWarningData(), buildInterconnectAttachmentsScopedListWarningData(), ]; -void checkUnnamed1041( +void checkUnnamed1066( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectAttachmentsScopedListWarningData(o[0]); @@ -15126,7 +15158,7 @@ api.InterconnectAttachmentsScopedListWarning buildCounterInterconnectAttachmentsScopedListWarning++; if (buildCounterInterconnectAttachmentsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1041(); + o.data = buildUnnamed1066(); o.message = 'foo'; } buildCounterInterconnectAttachmentsScopedListWarning--; @@ -15141,7 +15173,7 @@ void checkInterconnectAttachmentsScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1041(o.data!); + checkUnnamed1066(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -15155,7 +15187,7 @@ api.InterconnectAttachmentsScopedList buildInterconnectAttachmentsScopedList() { final o = api.InterconnectAttachmentsScopedList(); buildCounterInterconnectAttachmentsScopedList++; if (buildCounterInterconnectAttachmentsScopedList < 3) { - o.interconnectAttachments = buildUnnamed1040(); + o.interconnectAttachments = buildUnnamed1065(); o.warning = buildInterconnectAttachmentsScopedListWarning(); } buildCounterInterconnectAttachmentsScopedList--; @@ -15166,7 +15198,7 @@ void checkInterconnectAttachmentsScopedList( api.InterconnectAttachmentsScopedList o) { buildCounterInterconnectAttachmentsScopedList++; if (buildCounterInterconnectAttachmentsScopedList < 3) { - checkUnnamed1040(o.interconnectAttachments!); + checkUnnamed1065(o.interconnectAttachments!); checkInterconnectAttachmentsScopedListWarning(o.warning!); } buildCounterInterconnectAttachmentsScopedList--; @@ -15204,23 +15236,23 @@ void checkInterconnectCircuitInfo(api.InterconnectCircuitInfo o) { buildCounterInterconnectCircuitInfo--; } -core.List buildUnnamed1042() => [ +core.List buildUnnamed1067() => [ buildInterconnectDiagnosticsARPEntry(), buildInterconnectDiagnosticsARPEntry(), ]; -void checkUnnamed1042(core.List o) { +void checkUnnamed1067(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectDiagnosticsARPEntry(o[0]); checkInterconnectDiagnosticsARPEntry(o[1]); } -core.List buildUnnamed1043() => [ +core.List buildUnnamed1068() => [ buildInterconnectDiagnosticsLinkStatus(), buildInterconnectDiagnosticsLinkStatus(), ]; -void checkUnnamed1043(core.List o) { +void checkUnnamed1068(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectDiagnosticsLinkStatus(o[0]); checkInterconnectDiagnosticsLinkStatus(o[1]); @@ -15231,8 +15263,8 @@ api.InterconnectDiagnostics buildInterconnectDiagnostics() { final o = api.InterconnectDiagnostics(); buildCounterInterconnectDiagnostics++; if (buildCounterInterconnectDiagnostics < 3) { - o.arpCaches = buildUnnamed1042(); - o.links = buildUnnamed1043(); + o.arpCaches = buildUnnamed1067(); + o.links = buildUnnamed1068(); o.macAddress = 'foo'; } buildCounterInterconnectDiagnostics--; @@ -15242,8 +15274,8 @@ api.InterconnectDiagnostics buildInterconnectDiagnostics() { void checkInterconnectDiagnostics(api.InterconnectDiagnostics o) { buildCounterInterconnectDiagnostics++; if (buildCounterInterconnectDiagnostics < 3) { - checkUnnamed1042(o.arpCaches!); - checkUnnamed1043(o.links!); + checkUnnamed1067(o.arpCaches!); + checkUnnamed1068(o.links!); unittest.expect( o.macAddress!, unittest.equals('foo'), @@ -15343,12 +15375,12 @@ void checkInterconnectDiagnosticsLinkOpticalPower( buildCounterInterconnectDiagnosticsLinkOpticalPower--; } -core.List buildUnnamed1044() => [ +core.List buildUnnamed1069() => [ buildInterconnectDiagnosticsARPEntry(), buildInterconnectDiagnosticsARPEntry(), ]; -void checkUnnamed1044(core.List o) { +void checkUnnamed1069(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectDiagnosticsARPEntry(o[0]); checkInterconnectDiagnosticsARPEntry(o[1]); @@ -15359,7 +15391,7 @@ api.InterconnectDiagnosticsLinkStatus buildInterconnectDiagnosticsLinkStatus() { final o = api.InterconnectDiagnosticsLinkStatus(); buildCounterInterconnectDiagnosticsLinkStatus++; if (buildCounterInterconnectDiagnosticsLinkStatus < 3) { - o.arpCaches = buildUnnamed1044(); + o.arpCaches = buildUnnamed1069(); o.circuitId = 'foo'; o.googleDemarc = 'foo'; o.lacpStatus = buildInterconnectDiagnosticsLinkLACPStatus(); @@ -15374,7 +15406,7 @@ void checkInterconnectDiagnosticsLinkStatus( api.InterconnectDiagnosticsLinkStatus o) { buildCounterInterconnectDiagnosticsLinkStatus++; if (buildCounterInterconnectDiagnosticsLinkStatus < 3) { - checkUnnamed1044(o.arpCaches!); + checkUnnamed1069(o.arpCaches!); unittest.expect( o.circuitId!, unittest.equals('foo'), @@ -15390,12 +15422,12 @@ void checkInterconnectDiagnosticsLinkStatus( buildCounterInterconnectDiagnosticsLinkStatus--; } -core.List buildUnnamed1045() => [ +core.List buildUnnamed1070() => [ buildInterconnect(), buildInterconnect(), ]; -void checkUnnamed1045(core.List o) { +void checkUnnamed1070(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnect(o[0]); checkInterconnect(o[1]); @@ -15428,12 +15460,12 @@ void checkInterconnectListWarningData(api.InterconnectListWarningData o) { buildCounterInterconnectListWarningData--; } -core.List buildUnnamed1046() => [ +core.List buildUnnamed1071() => [ buildInterconnectListWarningData(), buildInterconnectListWarningData(), ]; -void checkUnnamed1046(core.List o) { +void checkUnnamed1071(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectListWarningData(o[0]); checkInterconnectListWarningData(o[1]); @@ -15445,7 +15477,7 @@ api.InterconnectListWarning buildInterconnectListWarning() { buildCounterInterconnectListWarning++; if (buildCounterInterconnectListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1046(); + o.data = buildUnnamed1071(); o.message = 'foo'; } buildCounterInterconnectListWarning--; @@ -15459,7 +15491,7 @@ void checkInterconnectListWarning(api.InterconnectListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1046(o.data!); + checkUnnamed1071(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -15474,7 +15506,7 @@ api.InterconnectList buildInterconnectList() { buildCounterInterconnectList++; if (buildCounterInterconnectList < 3) { o.id = 'foo'; - o.items = buildUnnamed1045(); + o.items = buildUnnamed1070(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -15491,7 +15523,7 @@ void checkInterconnectList(api.InterconnectList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1045(o.items!); + checkUnnamed1070(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -15509,12 +15541,12 @@ void checkInterconnectList(api.InterconnectList o) { buildCounterInterconnectList--; } -core.List buildUnnamed1047() => [ +core.List buildUnnamed1072() => [ buildInterconnectLocationRegionInfo(), buildInterconnectLocationRegionInfo(), ]; -void checkUnnamed1047(core.List o) { +void checkUnnamed1072(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectLocationRegionInfo(o[0]); checkInterconnectLocationRegionInfo(o[1]); @@ -15537,7 +15569,7 @@ api.InterconnectLocation buildInterconnectLocation() { o.kind = 'foo'; o.name = 'foo'; o.peeringdbFacilityId = 'foo'; - o.regionInfos = buildUnnamed1047(); + o.regionInfos = buildUnnamed1072(); o.selfLink = 'foo'; o.status = 'foo'; } @@ -15596,7 +15628,7 @@ void checkInterconnectLocation(api.InterconnectLocation o) { o.peeringdbFacilityId!, unittest.equals('foo'), ); - checkUnnamed1047(o.regionInfos!); + checkUnnamed1072(o.regionInfos!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -15609,12 +15641,12 @@ void checkInterconnectLocation(api.InterconnectLocation o) { buildCounterInterconnectLocation--; } -core.List buildUnnamed1048() => [ +core.List buildUnnamed1073() => [ buildInterconnectLocation(), buildInterconnectLocation(), ]; -void checkUnnamed1048(core.List o) { +void checkUnnamed1073(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectLocation(o[0]); checkInterconnectLocation(o[1]); @@ -15649,12 +15681,12 @@ void checkInterconnectLocationListWarningData( buildCounterInterconnectLocationListWarningData--; } -core.List buildUnnamed1049() => [ +core.List buildUnnamed1074() => [ buildInterconnectLocationListWarningData(), buildInterconnectLocationListWarningData(), ]; -void checkUnnamed1049(core.List o) { +void checkUnnamed1074(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterconnectLocationListWarningData(o[0]); checkInterconnectLocationListWarningData(o[1]); @@ -15666,7 +15698,7 @@ api.InterconnectLocationListWarning buildInterconnectLocationListWarning() { buildCounterInterconnectLocationListWarning++; if (buildCounterInterconnectLocationListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1049(); + o.data = buildUnnamed1074(); o.message = 'foo'; } buildCounterInterconnectLocationListWarning--; @@ -15681,7 +15713,7 @@ void checkInterconnectLocationListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1049(o.data!); + checkUnnamed1074(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -15696,7 +15728,7 @@ api.InterconnectLocationList buildInterconnectLocationList() { buildCounterInterconnectLocationList++; if (buildCounterInterconnectLocationList < 3) { o.id = 'foo'; - o.items = buildUnnamed1048(); + o.items = buildUnnamed1073(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -15713,7 +15745,7 @@ void checkInterconnectLocationList(api.InterconnectLocationList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1048(o.items!); + checkUnnamed1073(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -15763,12 +15795,12 @@ void checkInterconnectLocationRegionInfo(api.InterconnectLocationRegionInfo o) { buildCounterInterconnectLocationRegionInfo--; } -core.List buildUnnamed1050() => [ +core.List buildUnnamed1075() => [ 'foo', 'foo', ]; -void checkUnnamed1050(core.List o) { +void checkUnnamed1075(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15785,7 +15817,7 @@ api.InterconnectOutageNotification buildInterconnectOutageNotification() { final o = api.InterconnectOutageNotification(); buildCounterInterconnectOutageNotification++; if (buildCounterInterconnectOutageNotification < 3) { - o.affectedCircuits = buildUnnamed1050(); + o.affectedCircuits = buildUnnamed1075(); o.description = 'foo'; o.endTime = 'foo'; o.issueType = 'foo'; @@ -15801,7 +15833,7 @@ api.InterconnectOutageNotification buildInterconnectOutageNotification() { void checkInterconnectOutageNotification(api.InterconnectOutageNotification o) { buildCounterInterconnectOutageNotification++; if (buildCounterInterconnectOutageNotification < 3) { - checkUnnamed1050(o.affectedCircuits!); + checkUnnamed1075(o.affectedCircuits!); unittest.expect( o.description!, unittest.equals('foo'), @@ -15913,12 +15945,12 @@ void checkLicense(api.License o) { buildCounterLicense--; } -core.List buildUnnamed1051() => [ +core.List buildUnnamed1076() => [ buildLicenseCodeLicenseAlias(), buildLicenseCodeLicenseAlias(), ]; -void checkUnnamed1051(core.List o) { +void checkUnnamed1076(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLicenseCodeLicenseAlias(o[0]); checkLicenseCodeLicenseAlias(o[1]); @@ -15933,7 +15965,7 @@ api.LicenseCode buildLicenseCode() { o.description = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.licenseAlias = buildUnnamed1051(); + o.licenseAlias = buildUnnamed1076(); o.name = 'foo'; o.selfLink = 'foo'; o.state = 'foo'; @@ -15962,7 +15994,7 @@ void checkLicenseCode(api.LicenseCode o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1051(o.licenseAlias!); + checkUnnamed1076(o.licenseAlias!); unittest.expect( o.name!, unittest.equals('foo'), @@ -16066,12 +16098,12 @@ void checkLicenseResourceRequirements(api.LicenseResourceRequirements o) { buildCounterLicenseResourceRequirements--; } -core.List buildUnnamed1052() => [ +core.List buildUnnamed1077() => [ buildLicense(), buildLicense(), ]; -void checkUnnamed1052(core.List o) { +void checkUnnamed1077(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLicense(o[0]); checkLicense(o[1]); @@ -16105,12 +16137,12 @@ void checkLicensesListResponseWarningData( buildCounterLicensesListResponseWarningData--; } -core.List buildUnnamed1053() => [ +core.List buildUnnamed1078() => [ buildLicensesListResponseWarningData(), buildLicensesListResponseWarningData(), ]; -void checkUnnamed1053(core.List o) { +void checkUnnamed1078(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLicensesListResponseWarningData(o[0]); checkLicensesListResponseWarningData(o[1]); @@ -16122,7 +16154,7 @@ api.LicensesListResponseWarning buildLicensesListResponseWarning() { buildCounterLicensesListResponseWarning++; if (buildCounterLicensesListResponseWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1053(); + o.data = buildUnnamed1078(); o.message = 'foo'; } buildCounterLicensesListResponseWarning--; @@ -16136,7 +16168,7 @@ void checkLicensesListResponseWarning(api.LicensesListResponseWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1053(o.data!); + checkUnnamed1078(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -16151,7 +16183,7 @@ api.LicensesListResponse buildLicensesListResponse() { buildCounterLicensesListResponse++; if (buildCounterLicensesListResponse < 3) { o.id = 'foo'; - o.items = buildUnnamed1052(); + o.items = buildUnnamed1077(); o.nextPageToken = 'foo'; o.selfLink = 'foo'; o.warning = buildLicensesListResponseWarning(); @@ -16167,7 +16199,7 @@ void checkLicensesListResponse(api.LicensesListResponse o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1052(o.items!); + checkUnnamed1077(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -16213,12 +16245,12 @@ void checkLocalDisk(api.LocalDisk o) { buildCounterLocalDisk--; } -core.Map buildUnnamed1054() => { +core.Map buildUnnamed1079() => { 'x': buildLocationPolicyLocation(), 'y': buildLocationPolicyLocation(), }; -void checkUnnamed1054(core.Map o) { +void checkUnnamed1079(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkLocationPolicyLocation(o['x']!); checkLocationPolicyLocation(o['y']!); @@ -16229,7 +16261,7 @@ api.LocationPolicy buildLocationPolicy() { final o = api.LocationPolicy(); buildCounterLocationPolicy++; if (buildCounterLocationPolicy < 3) { - o.locations = buildUnnamed1054(); + o.locations = buildUnnamed1079(); } buildCounterLocationPolicy--; return o; @@ -16238,7 +16270,7 @@ api.LocationPolicy buildLocationPolicy() { void checkLocationPolicy(api.LocationPolicy o) { buildCounterLocationPolicy++; if (buildCounterLocationPolicy < 3) { - checkUnnamed1054(o.locations!); + checkUnnamed1079(o.locations!); } buildCounterLocationPolicy--; } @@ -16312,12 +16344,12 @@ void checkLogConfigCloudAuditOptions(api.LogConfigCloudAuditOptions o) { buildCounterLogConfigCloudAuditOptions--; } -core.List buildUnnamed1055() => [ +core.List buildUnnamed1080() => [ buildLogConfigCounterOptionsCustomField(), buildLogConfigCounterOptionsCustomField(), ]; -void checkUnnamed1055(core.List o) { +void checkUnnamed1080(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogConfigCounterOptionsCustomField(o[0]); checkLogConfigCounterOptionsCustomField(o[1]); @@ -16328,7 +16360,7 @@ api.LogConfigCounterOptions buildLogConfigCounterOptions() { final o = api.LogConfigCounterOptions(); buildCounterLogConfigCounterOptions++; if (buildCounterLogConfigCounterOptions < 3) { - o.customFields = buildUnnamed1055(); + o.customFields = buildUnnamed1080(); o.field = 'foo'; o.metric = 'foo'; } @@ -16339,7 +16371,7 @@ api.LogConfigCounterOptions buildLogConfigCounterOptions() { void checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { buildCounterLogConfigCounterOptions++; if (buildCounterLogConfigCounterOptions < 3) { - checkUnnamed1055(o.customFields!); + checkUnnamed1080(o.customFields!); unittest.expect( o.field!, unittest.equals('foo'), @@ -16430,12 +16462,12 @@ void checkMachineTypeAccelerators(api.MachineTypeAccelerators o) { buildCounterMachineTypeAccelerators--; } -core.List buildUnnamed1056() => [ +core.List buildUnnamed1081() => [ buildMachineTypeAccelerators(), buildMachineTypeAccelerators(), ]; -void checkUnnamed1056(core.List o) { +void checkUnnamed1081(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypeAccelerators(o[0]); checkMachineTypeAccelerators(o[1]); @@ -16463,12 +16495,12 @@ void checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { buildCounterMachineTypeScratchDisks--; } -core.List buildUnnamed1057() => [ +core.List buildUnnamed1082() => [ buildMachineTypeScratchDisks(), buildMachineTypeScratchDisks(), ]; -void checkUnnamed1057(core.List o) { +void checkUnnamed1082(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypeScratchDisks(o[0]); checkMachineTypeScratchDisks(o[1]); @@ -16479,7 +16511,7 @@ api.MachineType buildMachineType() { final o = api.MachineType(); buildCounterMachineType++; if (buildCounterMachineType < 3) { - o.accelerators = buildUnnamed1056(); + o.accelerators = buildUnnamed1081(); o.creationTimestamp = 'foo'; o.deprecated = buildDeprecationStatus(); o.description = 'foo'; @@ -16492,7 +16524,7 @@ api.MachineType buildMachineType() { o.maximumPersistentDisksSizeGb = 'foo'; o.memoryMb = 42; o.name = 'foo'; - o.scratchDisks = buildUnnamed1057(); + o.scratchDisks = buildUnnamed1082(); o.selfLink = 'foo'; o.zone = 'foo'; } @@ -16503,7 +16535,7 @@ api.MachineType buildMachineType() { void checkMachineType(api.MachineType o) { buildCounterMachineType++; if (buildCounterMachineType < 3) { - checkUnnamed1056(o.accelerators!); + checkUnnamed1081(o.accelerators!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), @@ -16546,7 +16578,7 @@ void checkMachineType(api.MachineType o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1057(o.scratchDisks!); + checkUnnamed1082(o.scratchDisks!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -16559,23 +16591,23 @@ void checkMachineType(api.MachineType o) { buildCounterMachineType--; } -core.Map buildUnnamed1058() => { +core.Map buildUnnamed1083() => { 'x': buildMachineTypesScopedList(), 'y': buildMachineTypesScopedList(), }; -void checkUnnamed1058(core.Map o) { +void checkUnnamed1083(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypesScopedList(o['x']!); checkMachineTypesScopedList(o['y']!); } -core.List buildUnnamed1059() => [ +core.List buildUnnamed1084() => [ 'foo', 'foo', ]; -void checkUnnamed1059(core.List o) { +void checkUnnamed1084(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16616,12 +16648,12 @@ void checkMachineTypeAggregatedListWarningData( buildCounterMachineTypeAggregatedListWarningData--; } -core.List buildUnnamed1060() => [ +core.List buildUnnamed1085() => [ buildMachineTypeAggregatedListWarningData(), buildMachineTypeAggregatedListWarningData(), ]; -void checkUnnamed1060(core.List o) { +void checkUnnamed1085(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypeAggregatedListWarningData(o[0]); checkMachineTypeAggregatedListWarningData(o[1]); @@ -16633,7 +16665,7 @@ api.MachineTypeAggregatedListWarning buildMachineTypeAggregatedListWarning() { buildCounterMachineTypeAggregatedListWarning++; if (buildCounterMachineTypeAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1060(); + o.data = buildUnnamed1085(); o.message = 'foo'; } buildCounterMachineTypeAggregatedListWarning--; @@ -16648,7 +16680,7 @@ void checkMachineTypeAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1060(o.data!); + checkUnnamed1085(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -16663,11 +16695,11 @@ api.MachineTypeAggregatedList buildMachineTypeAggregatedList() { buildCounterMachineTypeAggregatedList++; if (buildCounterMachineTypeAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1058(); + o.items = buildUnnamed1083(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1059(); + o.unreachables = buildUnnamed1084(); o.warning = buildMachineTypeAggregatedListWarning(); } buildCounterMachineTypeAggregatedList--; @@ -16681,7 +16713,7 @@ void checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1058(o.items!); + checkUnnamed1083(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -16694,18 +16726,18 @@ void checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1059(o.unreachables!); + checkUnnamed1084(o.unreachables!); checkMachineTypeAggregatedListWarning(o.warning!); } buildCounterMachineTypeAggregatedList--; } -core.List buildUnnamed1061() => [ +core.List buildUnnamed1086() => [ buildMachineType(), buildMachineType(), ]; -void checkUnnamed1061(core.List o) { +void checkUnnamed1086(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineType(o[0]); checkMachineType(o[1]); @@ -16738,12 +16770,12 @@ void checkMachineTypeListWarningData(api.MachineTypeListWarningData o) { buildCounterMachineTypeListWarningData--; } -core.List buildUnnamed1062() => [ +core.List buildUnnamed1087() => [ buildMachineTypeListWarningData(), buildMachineTypeListWarningData(), ]; -void checkUnnamed1062(core.List o) { +void checkUnnamed1087(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypeListWarningData(o[0]); checkMachineTypeListWarningData(o[1]); @@ -16755,7 +16787,7 @@ api.MachineTypeListWarning buildMachineTypeListWarning() { buildCounterMachineTypeListWarning++; if (buildCounterMachineTypeListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1062(); + o.data = buildUnnamed1087(); o.message = 'foo'; } buildCounterMachineTypeListWarning--; @@ -16769,7 +16801,7 @@ void checkMachineTypeListWarning(api.MachineTypeListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1062(o.data!); + checkUnnamed1087(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -16784,7 +16816,7 @@ api.MachineTypeList buildMachineTypeList() { buildCounterMachineTypeList++; if (buildCounterMachineTypeList < 3) { o.id = 'foo'; - o.items = buildUnnamed1061(); + o.items = buildUnnamed1086(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -16801,7 +16833,7 @@ void checkMachineTypeList(api.MachineTypeList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1061(o.items!); + checkUnnamed1086(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -16819,12 +16851,12 @@ void checkMachineTypeList(api.MachineTypeList o) { buildCounterMachineTypeList--; } -core.List buildUnnamed1063() => [ +core.List buildUnnamed1088() => [ buildMachineType(), buildMachineType(), ]; -void checkUnnamed1063(core.List o) { +void checkUnnamed1088(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineType(o[0]); checkMachineType(o[1]); @@ -16858,12 +16890,12 @@ void checkMachineTypesScopedListWarningData( buildCounterMachineTypesScopedListWarningData--; } -core.List buildUnnamed1064() => [ +core.List buildUnnamed1089() => [ buildMachineTypesScopedListWarningData(), buildMachineTypesScopedListWarningData(), ]; -void checkUnnamed1064(core.List o) { +void checkUnnamed1089(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMachineTypesScopedListWarningData(o[0]); checkMachineTypesScopedListWarningData(o[1]); @@ -16875,7 +16907,7 @@ api.MachineTypesScopedListWarning buildMachineTypesScopedListWarning() { buildCounterMachineTypesScopedListWarning++; if (buildCounterMachineTypesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1064(); + o.data = buildUnnamed1089(); o.message = 'foo'; } buildCounterMachineTypesScopedListWarning--; @@ -16889,7 +16921,7 @@ void checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1064(o.data!); + checkUnnamed1089(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -16903,7 +16935,7 @@ api.MachineTypesScopedList buildMachineTypesScopedList() { final o = api.MachineTypesScopedList(); buildCounterMachineTypesScopedList++; if (buildCounterMachineTypesScopedList < 3) { - o.machineTypes = buildUnnamed1063(); + o.machineTypes = buildUnnamed1088(); o.warning = buildMachineTypesScopedListWarning(); } buildCounterMachineTypesScopedList--; @@ -16913,18 +16945,18 @@ api.MachineTypesScopedList buildMachineTypesScopedList() { void checkMachineTypesScopedList(api.MachineTypesScopedList o) { buildCounterMachineTypesScopedList++; if (buildCounterMachineTypesScopedList < 3) { - checkUnnamed1063(o.machineTypes!); + checkUnnamed1088(o.machineTypes!); checkMachineTypesScopedListWarning(o.warning!); } buildCounterMachineTypesScopedList--; } -core.List buildUnnamed1065() => [ +core.List buildUnnamed1090() => [ buildManagedInstanceInstanceHealth(), buildManagedInstanceInstanceHealth(), ]; -void checkUnnamed1065(core.List o) { +void checkUnnamed1090(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedInstanceInstanceHealth(o[0]); checkManagedInstanceInstanceHealth(o[1]); @@ -16938,7 +16970,7 @@ api.ManagedInstance buildManagedInstance() { o.currentAction = 'foo'; o.id = 'foo'; o.instance = 'foo'; - o.instanceHealth = buildUnnamed1065(); + o.instanceHealth = buildUnnamed1090(); o.instanceStatus = 'foo'; o.lastAttempt = buildManagedInstanceLastAttempt(); o.preservedStateFromConfig = buildPreservedState(); @@ -16964,7 +16996,7 @@ void checkManagedInstance(api.ManagedInstance o) { o.instance!, unittest.equals('foo'), ); - checkUnnamed1065(o.instanceHealth!); + checkUnnamed1090(o.instanceHealth!); unittest.expect( o.instanceStatus!, unittest.equals('foo'), @@ -17038,12 +17070,12 @@ void checkManagedInstanceLastAttemptErrorsErrors( buildCounterManagedInstanceLastAttemptErrorsErrors--; } -core.List buildUnnamed1066() => [ +core.List buildUnnamed1091() => [ buildManagedInstanceLastAttemptErrorsErrors(), buildManagedInstanceLastAttemptErrorsErrors(), ]; -void checkUnnamed1066(core.List o) { +void checkUnnamed1091(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedInstanceLastAttemptErrorsErrors(o[0]); checkManagedInstanceLastAttemptErrorsErrors(o[1]); @@ -17054,7 +17086,7 @@ api.ManagedInstanceLastAttemptErrors buildManagedInstanceLastAttemptErrors() { final o = api.ManagedInstanceLastAttemptErrors(); buildCounterManagedInstanceLastAttemptErrors++; if (buildCounterManagedInstanceLastAttemptErrors < 3) { - o.errors = buildUnnamed1066(); + o.errors = buildUnnamed1091(); } buildCounterManagedInstanceLastAttemptErrors--; return o; @@ -17064,7 +17096,7 @@ void checkManagedInstanceLastAttemptErrors( api.ManagedInstanceLastAttemptErrors o) { buildCounterManagedInstanceLastAttemptErrors++; if (buildCounterManagedInstanceLastAttemptErrors < 3) { - checkUnnamed1066(o.errors!); + checkUnnamed1091(o.errors!); } buildCounterManagedInstanceLastAttemptErrors--; } @@ -17142,12 +17174,12 @@ void checkMetadataItems(api.MetadataItems o) { buildCounterMetadataItems--; } -core.List buildUnnamed1067() => [ +core.List buildUnnamed1092() => [ buildMetadataItems(), buildMetadataItems(), ]; -void checkUnnamed1067(core.List o) { +void checkUnnamed1092(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataItems(o[0]); checkMetadataItems(o[1]); @@ -17159,7 +17191,7 @@ api.Metadata buildMetadata() { buildCounterMetadata++; if (buildCounterMetadata < 3) { o.fingerprint = 'foo'; - o.items = buildUnnamed1067(); + o.items = buildUnnamed1092(); o.kind = 'foo'; } buildCounterMetadata--; @@ -17173,7 +17205,7 @@ void checkMetadata(api.Metadata o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed1067(o.items!); + checkUnnamed1092(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -17182,12 +17214,12 @@ void checkMetadata(api.Metadata o) { buildCounterMetadata--; } -core.List buildUnnamed1068() => [ +core.List buildUnnamed1093() => [ buildMetadataFilterLabelMatch(), buildMetadataFilterLabelMatch(), ]; -void checkUnnamed1068(core.List o) { +void checkUnnamed1093(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataFilterLabelMatch(o[0]); checkMetadataFilterLabelMatch(o[1]); @@ -17198,7 +17230,7 @@ api.MetadataFilter buildMetadataFilter() { final o = api.MetadataFilter(); buildCounterMetadataFilter++; if (buildCounterMetadataFilter < 3) { - o.filterLabels = buildUnnamed1068(); + o.filterLabels = buildUnnamed1093(); o.filterMatchCriteria = 'foo'; } buildCounterMetadataFilter--; @@ -17208,7 +17240,7 @@ api.MetadataFilter buildMetadataFilter() { void checkMetadataFilter(api.MetadataFilter o) { buildCounterMetadataFilter++; if (buildCounterMetadataFilter < 3) { - checkUnnamed1068(o.filterLabels!); + checkUnnamed1093(o.filterLabels!); unittest.expect( o.filterMatchCriteria!, unittest.equals('foo'), @@ -17271,23 +17303,23 @@ void checkNamedPort(api.NamedPort o) { buildCounterNamedPort--; } -core.List buildUnnamed1069() => [ +core.List buildUnnamed1094() => [ buildNetworkPeering(), buildNetworkPeering(), ]; -void checkUnnamed1069(core.List o) { +void checkUnnamed1094(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkPeering(o[0]); checkNetworkPeering(o[1]); } -core.List buildUnnamed1070() => [ +core.List buildUnnamed1095() => [ 'foo', 'foo', ]; -void checkUnnamed1070(core.List o) { +void checkUnnamed1095(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17313,10 +17345,10 @@ api.Network buildNetwork() { o.kind = 'foo'; o.mtu = 42; o.name = 'foo'; - o.peerings = buildUnnamed1069(); + o.peerings = buildUnnamed1094(); o.routingConfig = buildNetworkRoutingConfig(); o.selfLink = 'foo'; - o.subnetworks = buildUnnamed1070(); + o.subnetworks = buildUnnamed1095(); } buildCounterNetwork--; return o; @@ -17358,23 +17390,23 @@ void checkNetwork(api.Network o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1069(o.peerings!); + checkUnnamed1094(o.peerings!); checkNetworkRoutingConfig(o.routingConfig!); unittest.expect( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1070(o.subnetworks!); + checkUnnamed1095(o.subnetworks!); } buildCounterNetwork--; } -core.Map buildUnnamed1071() => { +core.Map buildUnnamed1096() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1071(core.Map o) { +void checkUnnamed1096(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -17391,7 +17423,7 @@ api.NetworkEndpoint buildNetworkEndpoint() { final o = api.NetworkEndpoint(); buildCounterNetworkEndpoint++; if (buildCounterNetworkEndpoint < 3) { - o.annotations = buildUnnamed1071(); + o.annotations = buildUnnamed1096(); o.fqdn = 'foo'; o.instance = 'foo'; o.ipAddress = 'foo'; @@ -17404,7 +17436,7 @@ api.NetworkEndpoint buildNetworkEndpoint() { void checkNetworkEndpoint(api.NetworkEndpoint o) { buildCounterNetworkEndpoint++; if (buildCounterNetworkEndpoint < 3) { - checkUnnamed1071(o.annotations!); + checkUnnamed1096(o.annotations!); unittest.expect( o.fqdn!, unittest.equals('foo'), @@ -17425,12 +17457,12 @@ void checkNetworkEndpoint(api.NetworkEndpoint o) { buildCounterNetworkEndpoint--; } -core.Map buildUnnamed1072() => { +core.Map buildUnnamed1097() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1072(core.Map o) { +void checkUnnamed1097(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -17447,7 +17479,7 @@ api.NetworkEndpointGroup buildNetworkEndpointGroup() { final o = api.NetworkEndpointGroup(); buildCounterNetworkEndpointGroup++; if (buildCounterNetworkEndpointGroup < 3) { - o.annotations = buildUnnamed1072(); + o.annotations = buildUnnamed1097(); o.appEngine = buildNetworkEndpointGroupAppEngine(); o.cloudFunction = buildNetworkEndpointGroupCloudFunction(); o.cloudRun = buildNetworkEndpointGroupCloudRun(); @@ -17472,7 +17504,7 @@ api.NetworkEndpointGroup buildNetworkEndpointGroup() { void checkNetworkEndpointGroup(api.NetworkEndpointGroup o) { buildCounterNetworkEndpointGroup++; if (buildCounterNetworkEndpointGroup < 3) { - checkUnnamed1072(o.annotations!); + checkUnnamed1097(o.annotations!); checkNetworkEndpointGroupAppEngine(o.appEngine!); checkNetworkEndpointGroupCloudFunction(o.cloudFunction!); checkNetworkEndpointGroupCloudRun(o.cloudRun!); @@ -17532,25 +17564,25 @@ void checkNetworkEndpointGroup(api.NetworkEndpointGroup o) { buildCounterNetworkEndpointGroup--; } -core.Map buildUnnamed1073() => +core.Map buildUnnamed1098() => { 'x': buildNetworkEndpointGroupsScopedList(), 'y': buildNetworkEndpointGroupsScopedList(), }; -void checkUnnamed1073( +void checkUnnamed1098( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroupsScopedList(o['x']!); checkNetworkEndpointGroupsScopedList(o['y']!); } -core.List buildUnnamed1074() => [ +core.List buildUnnamed1099() => [ 'foo', 'foo', ]; -void checkUnnamed1074(core.List o) { +void checkUnnamed1099(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17592,12 +17624,12 @@ void checkNetworkEndpointGroupAggregatedListWarningData( } core.List - buildUnnamed1075() => [ + buildUnnamed1100() => [ buildNetworkEndpointGroupAggregatedListWarningData(), buildNetworkEndpointGroupAggregatedListWarningData(), ]; -void checkUnnamed1075( +void checkUnnamed1100( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroupAggregatedListWarningData(o[0]); @@ -17611,7 +17643,7 @@ api.NetworkEndpointGroupAggregatedListWarning buildCounterNetworkEndpointGroupAggregatedListWarning++; if (buildCounterNetworkEndpointGroupAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1075(); + o.data = buildUnnamed1100(); o.message = 'foo'; } buildCounterNetworkEndpointGroupAggregatedListWarning--; @@ -17626,7 +17658,7 @@ void checkNetworkEndpointGroupAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1075(o.data!); + checkUnnamed1100(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -17642,11 +17674,11 @@ api.NetworkEndpointGroupAggregatedList buildCounterNetworkEndpointGroupAggregatedList++; if (buildCounterNetworkEndpointGroupAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1073(); + o.items = buildUnnamed1098(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1074(); + o.unreachables = buildUnnamed1099(); o.warning = buildNetworkEndpointGroupAggregatedListWarning(); } buildCounterNetworkEndpointGroupAggregatedList--; @@ -17661,7 +17693,7 @@ void checkNetworkEndpointGroupAggregatedList( o.id!, unittest.equals('foo'), ); - checkUnnamed1073(o.items!); + checkUnnamed1098(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -17674,7 +17706,7 @@ void checkNetworkEndpointGroupAggregatedList( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1074(o.unreachables!); + checkUnnamed1099(o.unreachables!); checkNetworkEndpointGroupAggregatedListWarning(o.warning!); } buildCounterNetworkEndpointGroupAggregatedList--; @@ -17772,12 +17804,12 @@ void checkNetworkEndpointGroupCloudRun(api.NetworkEndpointGroupCloudRun o) { buildCounterNetworkEndpointGroupCloudRun--; } -core.List buildUnnamed1076() => [ +core.List buildUnnamed1101() => [ buildNetworkEndpointGroup(), buildNetworkEndpointGroup(), ]; -void checkUnnamed1076(core.List o) { +void checkUnnamed1101(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroup(o[0]); checkNetworkEndpointGroup(o[1]); @@ -17812,12 +17844,12 @@ void checkNetworkEndpointGroupListWarningData( buildCounterNetworkEndpointGroupListWarningData--; } -core.List buildUnnamed1077() => [ +core.List buildUnnamed1102() => [ buildNetworkEndpointGroupListWarningData(), buildNetworkEndpointGroupListWarningData(), ]; -void checkUnnamed1077(core.List o) { +void checkUnnamed1102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroupListWarningData(o[0]); checkNetworkEndpointGroupListWarningData(o[1]); @@ -17829,7 +17861,7 @@ api.NetworkEndpointGroupListWarning buildNetworkEndpointGroupListWarning() { buildCounterNetworkEndpointGroupListWarning++; if (buildCounterNetworkEndpointGroupListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1077(); + o.data = buildUnnamed1102(); o.message = 'foo'; } buildCounterNetworkEndpointGroupListWarning--; @@ -17844,7 +17876,7 @@ void checkNetworkEndpointGroupListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1077(o.data!); + checkUnnamed1102(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -17859,7 +17891,7 @@ api.NetworkEndpointGroupList buildNetworkEndpointGroupList() { buildCounterNetworkEndpointGroupList++; if (buildCounterNetworkEndpointGroupList < 3) { o.id = 'foo'; - o.items = buildUnnamed1076(); + o.items = buildUnnamed1101(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -17876,7 +17908,7 @@ void checkNetworkEndpointGroupList(api.NetworkEndpointGroupList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1076(o.items!); + checkUnnamed1101(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -17894,12 +17926,12 @@ void checkNetworkEndpointGroupList(api.NetworkEndpointGroupList o) { buildCounterNetworkEndpointGroupList--; } -core.List buildUnnamed1078() => [ +core.List buildUnnamed1103() => [ buildNetworkEndpoint(), buildNetworkEndpoint(), ]; -void checkUnnamed1078(core.List o) { +void checkUnnamed1103(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpoint(o[0]); checkNetworkEndpoint(o[1]); @@ -17911,7 +17943,7 @@ api.NetworkEndpointGroupsAttachEndpointsRequest final o = api.NetworkEndpointGroupsAttachEndpointsRequest(); buildCounterNetworkEndpointGroupsAttachEndpointsRequest++; if (buildCounterNetworkEndpointGroupsAttachEndpointsRequest < 3) { - o.networkEndpoints = buildUnnamed1078(); + o.networkEndpoints = buildUnnamed1103(); } buildCounterNetworkEndpointGroupsAttachEndpointsRequest--; return o; @@ -17921,17 +17953,17 @@ void checkNetworkEndpointGroupsAttachEndpointsRequest( api.NetworkEndpointGroupsAttachEndpointsRequest o) { buildCounterNetworkEndpointGroupsAttachEndpointsRequest++; if (buildCounterNetworkEndpointGroupsAttachEndpointsRequest < 3) { - checkUnnamed1078(o.networkEndpoints!); + checkUnnamed1103(o.networkEndpoints!); } buildCounterNetworkEndpointGroupsAttachEndpointsRequest--; } -core.List buildUnnamed1079() => [ +core.List buildUnnamed1104() => [ buildNetworkEndpoint(), buildNetworkEndpoint(), ]; -void checkUnnamed1079(core.List o) { +void checkUnnamed1104(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpoint(o[0]); checkNetworkEndpoint(o[1]); @@ -17943,7 +17975,7 @@ api.NetworkEndpointGroupsDetachEndpointsRequest final o = api.NetworkEndpointGroupsDetachEndpointsRequest(); buildCounterNetworkEndpointGroupsDetachEndpointsRequest++; if (buildCounterNetworkEndpointGroupsDetachEndpointsRequest < 3) { - o.networkEndpoints = buildUnnamed1079(); + o.networkEndpoints = buildUnnamed1104(); } buildCounterNetworkEndpointGroupsDetachEndpointsRequest--; return o; @@ -17953,7 +17985,7 @@ void checkNetworkEndpointGroupsDetachEndpointsRequest( api.NetworkEndpointGroupsDetachEndpointsRequest o) { buildCounterNetworkEndpointGroupsDetachEndpointsRequest++; if (buildCounterNetworkEndpointGroupsDetachEndpointsRequest < 3) { - checkUnnamed1079(o.networkEndpoints!); + checkUnnamed1104(o.networkEndpoints!); } buildCounterNetworkEndpointGroupsDetachEndpointsRequest--; } @@ -17982,12 +18014,12 @@ void checkNetworkEndpointGroupsListEndpointsRequest( buildCounterNetworkEndpointGroupsListEndpointsRequest--; } -core.List buildUnnamed1080() => [ +core.List buildUnnamed1105() => [ buildNetworkEndpointWithHealthStatus(), buildNetworkEndpointWithHealthStatus(), ]; -void checkUnnamed1080(core.List o) { +void checkUnnamed1105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointWithHealthStatus(o[0]); checkNetworkEndpointWithHealthStatus(o[1]); @@ -18023,12 +18055,12 @@ void checkNetworkEndpointGroupsListNetworkEndpointsWarningData( } core.List - buildUnnamed1081() => [ + buildUnnamed1106() => [ buildNetworkEndpointGroupsListNetworkEndpointsWarningData(), buildNetworkEndpointGroupsListNetworkEndpointsWarningData(), ]; -void checkUnnamed1081( +void checkUnnamed1106( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroupsListNetworkEndpointsWarningData(o[0]); @@ -18042,7 +18074,7 @@ api.NetworkEndpointGroupsListNetworkEndpointsWarning buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning++; if (buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1081(); + o.data = buildUnnamed1106(); o.message = 'foo'; } buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning--; @@ -18057,7 +18089,7 @@ void checkNetworkEndpointGroupsListNetworkEndpointsWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1081(o.data!); + checkUnnamed1106(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -18073,7 +18105,7 @@ api.NetworkEndpointGroupsListNetworkEndpoints buildCounterNetworkEndpointGroupsListNetworkEndpoints++; if (buildCounterNetworkEndpointGroupsListNetworkEndpoints < 3) { o.id = 'foo'; - o.items = buildUnnamed1080(); + o.items = buildUnnamed1105(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.warning = buildNetworkEndpointGroupsListNetworkEndpointsWarning(); @@ -18090,7 +18122,7 @@ void checkNetworkEndpointGroupsListNetworkEndpoints( o.id!, unittest.equals('foo'), ); - checkUnnamed1080(o.items!); + checkUnnamed1105(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -18104,12 +18136,12 @@ void checkNetworkEndpointGroupsListNetworkEndpoints( buildCounterNetworkEndpointGroupsListNetworkEndpoints--; } -core.List buildUnnamed1082() => [ +core.List buildUnnamed1107() => [ buildNetworkEndpointGroup(), buildNetworkEndpointGroup(), ]; -void checkUnnamed1082(core.List o) { +void checkUnnamed1107(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroup(o[0]); checkNetworkEndpointGroup(o[1]); @@ -18144,13 +18176,13 @@ void checkNetworkEndpointGroupsScopedListWarningData( buildCounterNetworkEndpointGroupsScopedListWarningData--; } -core.List buildUnnamed1083() => +core.List buildUnnamed1108() => [ buildNetworkEndpointGroupsScopedListWarningData(), buildNetworkEndpointGroupsScopedListWarningData(), ]; -void checkUnnamed1083( +void checkUnnamed1108( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpointGroupsScopedListWarningData(o[0]); @@ -18164,7 +18196,7 @@ api.NetworkEndpointGroupsScopedListWarning buildCounterNetworkEndpointGroupsScopedListWarning++; if (buildCounterNetworkEndpointGroupsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1083(); + o.data = buildUnnamed1108(); o.message = 'foo'; } buildCounterNetworkEndpointGroupsScopedListWarning--; @@ -18179,7 +18211,7 @@ void checkNetworkEndpointGroupsScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1083(o.data!); + checkUnnamed1108(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -18193,7 +18225,7 @@ api.NetworkEndpointGroupsScopedList buildNetworkEndpointGroupsScopedList() { final o = api.NetworkEndpointGroupsScopedList(); buildCounterNetworkEndpointGroupsScopedList++; if (buildCounterNetworkEndpointGroupsScopedList < 3) { - o.networkEndpointGroups = buildUnnamed1082(); + o.networkEndpointGroups = buildUnnamed1107(); o.warning = buildNetworkEndpointGroupsScopedListWarning(); } buildCounterNetworkEndpointGroupsScopedList--; @@ -18204,18 +18236,18 @@ void checkNetworkEndpointGroupsScopedList( api.NetworkEndpointGroupsScopedList o) { buildCounterNetworkEndpointGroupsScopedList++; if (buildCounterNetworkEndpointGroupsScopedList < 3) { - checkUnnamed1082(o.networkEndpointGroups!); + checkUnnamed1107(o.networkEndpointGroups!); checkNetworkEndpointGroupsScopedListWarning(o.warning!); } buildCounterNetworkEndpointGroupsScopedList--; } -core.List buildUnnamed1084() => [ +core.List buildUnnamed1109() => [ buildHealthStatusForNetworkEndpoint(), buildHealthStatusForNetworkEndpoint(), ]; -void checkUnnamed1084(core.List o) { +void checkUnnamed1109(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthStatusForNetworkEndpoint(o[0]); checkHealthStatusForNetworkEndpoint(o[1]); @@ -18226,7 +18258,7 @@ api.NetworkEndpointWithHealthStatus buildNetworkEndpointWithHealthStatus() { final o = api.NetworkEndpointWithHealthStatus(); buildCounterNetworkEndpointWithHealthStatus++; if (buildCounterNetworkEndpointWithHealthStatus < 3) { - o.healths = buildUnnamed1084(); + o.healths = buildUnnamed1109(); o.networkEndpoint = buildNetworkEndpoint(); } buildCounterNetworkEndpointWithHealthStatus--; @@ -18237,40 +18269,40 @@ void checkNetworkEndpointWithHealthStatus( api.NetworkEndpointWithHealthStatus o) { buildCounterNetworkEndpointWithHealthStatus++; if (buildCounterNetworkEndpointWithHealthStatus < 3) { - checkUnnamed1084(o.healths!); + checkUnnamed1109(o.healths!); checkNetworkEndpoint(o.networkEndpoint!); } buildCounterNetworkEndpointWithHealthStatus--; } -core.List buildUnnamed1085() => [ +core.List buildUnnamed1110() => [ buildAccessConfig(), buildAccessConfig(), ]; -void checkUnnamed1085(core.List o) { +void checkUnnamed1110(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccessConfig(o[0]); checkAccessConfig(o[1]); } -core.List buildUnnamed1086() => [ +core.List buildUnnamed1111() => [ buildAliasIpRange(), buildAliasIpRange(), ]; -void checkUnnamed1086(core.List o) { +void checkUnnamed1111(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAliasIpRange(o[0]); checkAliasIpRange(o[1]); } -core.List buildUnnamed1087() => [ +core.List buildUnnamed1112() => [ buildAccessConfig(), buildAccessConfig(), ]; -void checkUnnamed1087(core.List o) { +void checkUnnamed1112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccessConfig(o[0]); checkAccessConfig(o[1]); @@ -18281,10 +18313,10 @@ api.NetworkInterface buildNetworkInterface() { final o = api.NetworkInterface(); buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - o.accessConfigs = buildUnnamed1085(); - o.aliasIpRanges = buildUnnamed1086(); + o.accessConfigs = buildUnnamed1110(); + o.aliasIpRanges = buildUnnamed1111(); o.fingerprint = 'foo'; - o.ipv6AccessConfigs = buildUnnamed1087(); + o.ipv6AccessConfigs = buildUnnamed1112(); o.ipv6AccessType = 'foo'; o.ipv6Address = 'foo'; o.kind = 'foo'; @@ -18303,13 +18335,13 @@ api.NetworkInterface buildNetworkInterface() { void checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { - checkUnnamed1085(o.accessConfigs!); - checkUnnamed1086(o.aliasIpRanges!); + checkUnnamed1110(o.accessConfigs!); + checkUnnamed1111(o.aliasIpRanges!); unittest.expect( o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed1087(o.ipv6AccessConfigs!); + checkUnnamed1112(o.ipv6AccessConfigs!); unittest.expect( o.ipv6AccessType!, unittest.equals('foo'), @@ -18354,12 +18386,12 @@ void checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface--; } -core.List buildUnnamed1088() => [ +core.List buildUnnamed1113() => [ buildNetwork(), buildNetwork(), ]; -void checkUnnamed1088(core.List o) { +void checkUnnamed1113(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetwork(o[0]); checkNetwork(o[1]); @@ -18392,12 +18424,12 @@ void checkNetworkListWarningData(api.NetworkListWarningData o) { buildCounterNetworkListWarningData--; } -core.List buildUnnamed1089() => [ +core.List buildUnnamed1114() => [ buildNetworkListWarningData(), buildNetworkListWarningData(), ]; -void checkUnnamed1089(core.List o) { +void checkUnnamed1114(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkListWarningData(o[0]); checkNetworkListWarningData(o[1]); @@ -18409,7 +18441,7 @@ api.NetworkListWarning buildNetworkListWarning() { buildCounterNetworkListWarning++; if (buildCounterNetworkListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1089(); + o.data = buildUnnamed1114(); o.message = 'foo'; } buildCounterNetworkListWarning--; @@ -18423,7 +18455,7 @@ void checkNetworkListWarning(api.NetworkListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1089(o.data!); + checkUnnamed1114(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -18438,7 +18470,7 @@ api.NetworkList buildNetworkList() { buildCounterNetworkList++; if (buildCounterNetworkList < 3) { o.id = 'foo'; - o.items = buildUnnamed1088(); + o.items = buildUnnamed1113(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -18455,7 +18487,7 @@ void checkNetworkList(api.NetworkList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1088(o.items!); + checkUnnamed1113(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -18581,12 +18613,12 @@ void checkNetworksAddPeeringRequest(api.NetworksAddPeeringRequest o) { } core.List - buildUnnamed1090() => [ + buildUnnamed1115() => [ buildNetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy(), buildNetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy(), ]; -void checkUnnamed1090( +void checkUnnamed1115( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -18594,12 +18626,12 @@ void checkUnnamed1090( checkNetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy(o[1]); } -core.List buildUnnamed1091() => [ +core.List buildUnnamed1116() => [ buildFirewall(), buildFirewall(), ]; -void checkUnnamed1091(core.List o) { +void checkUnnamed1116(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewall(o[0]); checkFirewall(o[1]); @@ -18611,8 +18643,8 @@ api.NetworksGetEffectiveFirewallsResponse final o = api.NetworksGetEffectiveFirewallsResponse(); buildCounterNetworksGetEffectiveFirewallsResponse++; if (buildCounterNetworksGetEffectiveFirewallsResponse < 3) { - o.firewallPolicys = buildUnnamed1090(); - o.firewalls = buildUnnamed1091(); + o.firewallPolicys = buildUnnamed1115(); + o.firewalls = buildUnnamed1116(); } buildCounterNetworksGetEffectiveFirewallsResponse--; return o; @@ -18622,18 +18654,18 @@ void checkNetworksGetEffectiveFirewallsResponse( api.NetworksGetEffectiveFirewallsResponse o) { buildCounterNetworksGetEffectiveFirewallsResponse++; if (buildCounterNetworksGetEffectiveFirewallsResponse < 3) { - checkUnnamed1090(o.firewallPolicys!); - checkUnnamed1091(o.firewalls!); + checkUnnamed1115(o.firewallPolicys!); + checkUnnamed1116(o.firewalls!); } buildCounterNetworksGetEffectiveFirewallsResponse--; } -core.List buildUnnamed1092() => [ +core.List buildUnnamed1117() => [ buildFirewallPolicyRule(), buildFirewallPolicyRule(), ]; -void checkUnnamed1092(core.List o) { +void checkUnnamed1117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirewallPolicyRule(o[0]); checkFirewallPolicyRule(o[1]); @@ -18650,7 +18682,7 @@ api.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy 3) { o.displayName = 'foo'; o.name = 'foo'; - o.rules = buildUnnamed1092(); + o.rules = buildUnnamed1117(); o.shortName = 'foo'; o.type = 'foo'; } @@ -18671,7 +18703,7 @@ void checkNetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy( o.name!, unittest.equals('foo'), ); - checkUnnamed1092(o.rules!); + checkUnnamed1117(o.rules!); unittest.expect( o.shortName!, unittest.equals('foo'), @@ -18811,23 +18843,23 @@ void checkNodeGroup(api.NodeGroup o) { buildCounterNodeGroup--; } -core.Map buildUnnamed1093() => { +core.Map buildUnnamed1118() => { 'x': buildNodeGroupsScopedList(), 'y': buildNodeGroupsScopedList(), }; -void checkUnnamed1093(core.Map o) { +void checkUnnamed1118(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroupsScopedList(o['x']!); checkNodeGroupsScopedList(o['y']!); } -core.List buildUnnamed1094() => [ +core.List buildUnnamed1119() => [ 'foo', 'foo', ]; -void checkUnnamed1094(core.List o) { +void checkUnnamed1119(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18868,12 +18900,12 @@ void checkNodeGroupAggregatedListWarningData( buildCounterNodeGroupAggregatedListWarningData--; } -core.List buildUnnamed1095() => [ +core.List buildUnnamed1120() => [ buildNodeGroupAggregatedListWarningData(), buildNodeGroupAggregatedListWarningData(), ]; -void checkUnnamed1095(core.List o) { +void checkUnnamed1120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroupAggregatedListWarningData(o[0]); checkNodeGroupAggregatedListWarningData(o[1]); @@ -18885,7 +18917,7 @@ api.NodeGroupAggregatedListWarning buildNodeGroupAggregatedListWarning() { buildCounterNodeGroupAggregatedListWarning++; if (buildCounterNodeGroupAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1095(); + o.data = buildUnnamed1120(); o.message = 'foo'; } buildCounterNodeGroupAggregatedListWarning--; @@ -18899,7 +18931,7 @@ void checkNodeGroupAggregatedListWarning(api.NodeGroupAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1095(o.data!); + checkUnnamed1120(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -18914,11 +18946,11 @@ api.NodeGroupAggregatedList buildNodeGroupAggregatedList() { buildCounterNodeGroupAggregatedList++; if (buildCounterNodeGroupAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1093(); + o.items = buildUnnamed1118(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1094(); + o.unreachables = buildUnnamed1119(); o.warning = buildNodeGroupAggregatedListWarning(); } buildCounterNodeGroupAggregatedList--; @@ -18932,7 +18964,7 @@ void checkNodeGroupAggregatedList(api.NodeGroupAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1093(o.items!); + checkUnnamed1118(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -18945,7 +18977,7 @@ void checkNodeGroupAggregatedList(api.NodeGroupAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1094(o.unreachables!); + checkUnnamed1119(o.unreachables!); checkNodeGroupAggregatedListWarning(o.warning!); } buildCounterNodeGroupAggregatedList--; @@ -18983,12 +19015,12 @@ void checkNodeGroupAutoscalingPolicy(api.NodeGroupAutoscalingPolicy o) { buildCounterNodeGroupAutoscalingPolicy--; } -core.List buildUnnamed1096() => [ +core.List buildUnnamed1121() => [ buildNodeGroup(), buildNodeGroup(), ]; -void checkUnnamed1096(core.List o) { +void checkUnnamed1121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroup(o[0]); checkNodeGroup(o[1]); @@ -19021,12 +19053,12 @@ void checkNodeGroupListWarningData(api.NodeGroupListWarningData o) { buildCounterNodeGroupListWarningData--; } -core.List buildUnnamed1097() => [ +core.List buildUnnamed1122() => [ buildNodeGroupListWarningData(), buildNodeGroupListWarningData(), ]; -void checkUnnamed1097(core.List o) { +void checkUnnamed1122(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroupListWarningData(o[0]); checkNodeGroupListWarningData(o[1]); @@ -19038,7 +19070,7 @@ api.NodeGroupListWarning buildNodeGroupListWarning() { buildCounterNodeGroupListWarning++; if (buildCounterNodeGroupListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1097(); + o.data = buildUnnamed1122(); o.message = 'foo'; } buildCounterNodeGroupListWarning--; @@ -19052,7 +19084,7 @@ void checkNodeGroupListWarning(api.NodeGroupListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1097(o.data!); + checkUnnamed1122(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -19067,7 +19099,7 @@ api.NodeGroupList buildNodeGroupList() { buildCounterNodeGroupList++; if (buildCounterNodeGroupList < 3) { o.id = 'foo'; - o.items = buildUnnamed1096(); + o.items = buildUnnamed1121(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -19084,7 +19116,7 @@ void checkNodeGroupList(api.NodeGroupList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1096(o.items!); + checkUnnamed1121(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -19126,34 +19158,34 @@ void checkNodeGroupMaintenanceWindow(api.NodeGroupMaintenanceWindow o) { buildCounterNodeGroupMaintenanceWindow--; } -core.List buildUnnamed1098() => [ +core.List buildUnnamed1123() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed1098(core.List o) { +void checkUnnamed1123(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.List buildUnnamed1099() => [ +core.List buildUnnamed1124() => [ buildLocalDisk(), buildLocalDisk(), ]; -void checkUnnamed1099(core.List o) { +void checkUnnamed1124(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalDisk(o[0]); checkLocalDisk(o[1]); } -core.List buildUnnamed1100() => [ +core.List buildUnnamed1125() => [ 'foo', 'foo', ]; -void checkUnnamed1100(core.List o) { +void checkUnnamed1125(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19170,10 +19202,10 @@ api.NodeGroupNode buildNodeGroupNode() { final o = api.NodeGroupNode(); buildCounterNodeGroupNode++; if (buildCounterNodeGroupNode < 3) { - o.accelerators = buildUnnamed1098(); + o.accelerators = buildUnnamed1123(); o.cpuOvercommitType = 'foo'; - o.disks = buildUnnamed1099(); - o.instances = buildUnnamed1100(); + o.disks = buildUnnamed1124(); + o.instances = buildUnnamed1125(); o.name = 'foo'; o.nodeType = 'foo'; o.satisfiesPzs = true; @@ -19188,13 +19220,13 @@ api.NodeGroupNode buildNodeGroupNode() { void checkNodeGroupNode(api.NodeGroupNode o) { buildCounterNodeGroupNode++; if (buildCounterNodeGroupNode < 3) { - checkUnnamed1098(o.accelerators!); + checkUnnamed1123(o.accelerators!); unittest.expect( o.cpuOvercommitType!, unittest.equals('foo'), ); - checkUnnamed1099(o.disks!); - checkUnnamed1100(o.instances!); + checkUnnamed1124(o.disks!); + checkUnnamed1125(o.instances!); unittest.expect( o.name!, unittest.equals('foo'), @@ -19239,12 +19271,12 @@ void checkNodeGroupsAddNodesRequest(api.NodeGroupsAddNodesRequest o) { buildCounterNodeGroupsAddNodesRequest--; } -core.List buildUnnamed1101() => [ +core.List buildUnnamed1126() => [ 'foo', 'foo', ]; -void checkUnnamed1101(core.List o) { +void checkUnnamed1126(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19261,7 +19293,7 @@ api.NodeGroupsDeleteNodesRequest buildNodeGroupsDeleteNodesRequest() { final o = api.NodeGroupsDeleteNodesRequest(); buildCounterNodeGroupsDeleteNodesRequest++; if (buildCounterNodeGroupsDeleteNodesRequest < 3) { - o.nodes = buildUnnamed1101(); + o.nodes = buildUnnamed1126(); } buildCounterNodeGroupsDeleteNodesRequest--; return o; @@ -19270,17 +19302,17 @@ api.NodeGroupsDeleteNodesRequest buildNodeGroupsDeleteNodesRequest() { void checkNodeGroupsDeleteNodesRequest(api.NodeGroupsDeleteNodesRequest o) { buildCounterNodeGroupsDeleteNodesRequest++; if (buildCounterNodeGroupsDeleteNodesRequest < 3) { - checkUnnamed1101(o.nodes!); + checkUnnamed1126(o.nodes!); } buildCounterNodeGroupsDeleteNodesRequest--; } -core.List buildUnnamed1102() => [ +core.List buildUnnamed1127() => [ buildNodeGroupNode(), buildNodeGroupNode(), ]; -void checkUnnamed1102(core.List o) { +void checkUnnamed1127(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroupNode(o[0]); checkNodeGroupNode(o[1]); @@ -19313,12 +19345,12 @@ void checkNodeGroupsListNodesWarningData(api.NodeGroupsListNodesWarningData o) { buildCounterNodeGroupsListNodesWarningData--; } -core.List buildUnnamed1103() => [ +core.List buildUnnamed1128() => [ buildNodeGroupsListNodesWarningData(), buildNodeGroupsListNodesWarningData(), ]; -void checkUnnamed1103(core.List o) { +void checkUnnamed1128(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroupsListNodesWarningData(o[0]); checkNodeGroupsListNodesWarningData(o[1]); @@ -19330,7 +19362,7 @@ api.NodeGroupsListNodesWarning buildNodeGroupsListNodesWarning() { buildCounterNodeGroupsListNodesWarning++; if (buildCounterNodeGroupsListNodesWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1103(); + o.data = buildUnnamed1128(); o.message = 'foo'; } buildCounterNodeGroupsListNodesWarning--; @@ -19344,7 +19376,7 @@ void checkNodeGroupsListNodesWarning(api.NodeGroupsListNodesWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1103(o.data!); + checkUnnamed1128(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -19359,7 +19391,7 @@ api.NodeGroupsListNodes buildNodeGroupsListNodes() { buildCounterNodeGroupsListNodes++; if (buildCounterNodeGroupsListNodes < 3) { o.id = 'foo'; - o.items = buildUnnamed1102(); + o.items = buildUnnamed1127(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -19376,7 +19408,7 @@ void checkNodeGroupsListNodes(api.NodeGroupsListNodes o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1102(o.items!); + checkUnnamed1127(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -19394,12 +19426,12 @@ void checkNodeGroupsListNodes(api.NodeGroupsListNodes o) { buildCounterNodeGroupsListNodes--; } -core.List buildUnnamed1104() => [ +core.List buildUnnamed1129() => [ buildNodeGroup(), buildNodeGroup(), ]; -void checkUnnamed1104(core.List o) { +void checkUnnamed1129(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroup(o[0]); checkNodeGroup(o[1]); @@ -19433,12 +19465,12 @@ void checkNodeGroupsScopedListWarningData( buildCounterNodeGroupsScopedListWarningData--; } -core.List buildUnnamed1105() => [ +core.List buildUnnamed1130() => [ buildNodeGroupsScopedListWarningData(), buildNodeGroupsScopedListWarningData(), ]; -void checkUnnamed1105(core.List o) { +void checkUnnamed1130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeGroupsScopedListWarningData(o[0]); checkNodeGroupsScopedListWarningData(o[1]); @@ -19450,7 +19482,7 @@ api.NodeGroupsScopedListWarning buildNodeGroupsScopedListWarning() { buildCounterNodeGroupsScopedListWarning++; if (buildCounterNodeGroupsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1105(); + o.data = buildUnnamed1130(); o.message = 'foo'; } buildCounterNodeGroupsScopedListWarning--; @@ -19464,7 +19496,7 @@ void checkNodeGroupsScopedListWarning(api.NodeGroupsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1105(o.data!); + checkUnnamed1130(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -19478,7 +19510,7 @@ api.NodeGroupsScopedList buildNodeGroupsScopedList() { final o = api.NodeGroupsScopedList(); buildCounterNodeGroupsScopedList++; if (buildCounterNodeGroupsScopedList < 3) { - o.nodeGroups = buildUnnamed1104(); + o.nodeGroups = buildUnnamed1129(); o.warning = buildNodeGroupsScopedListWarning(); } buildCounterNodeGroupsScopedList--; @@ -19488,7 +19520,7 @@ api.NodeGroupsScopedList buildNodeGroupsScopedList() { void checkNodeGroupsScopedList(api.NodeGroupsScopedList o) { buildCounterNodeGroupsScopedList++; if (buildCounterNodeGroupsScopedList < 3) { - checkUnnamed1104(o.nodeGroups!); + checkUnnamed1129(o.nodeGroups!); checkNodeGroupsScopedListWarning(o.warning!); } buildCounterNodeGroupsScopedList--; @@ -19517,34 +19549,34 @@ void checkNodeGroupsSetNodeTemplateRequest( buildCounterNodeGroupsSetNodeTemplateRequest--; } -core.List buildUnnamed1106() => [ +core.List buildUnnamed1131() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed1106(core.List o) { +void checkUnnamed1131(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.List buildUnnamed1107() => [ +core.List buildUnnamed1132() => [ buildLocalDisk(), buildLocalDisk(), ]; -void checkUnnamed1107(core.List o) { +void checkUnnamed1132(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalDisk(o[0]); checkLocalDisk(o[1]); } -core.Map buildUnnamed1108() => { +core.Map buildUnnamed1133() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1108(core.Map o) { +void checkUnnamed1133(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -19561,15 +19593,15 @@ api.NodeTemplate buildNodeTemplate() { final o = api.NodeTemplate(); buildCounterNodeTemplate++; if (buildCounterNodeTemplate < 3) { - o.accelerators = buildUnnamed1106(); + o.accelerators = buildUnnamed1131(); o.cpuOvercommitType = 'foo'; o.creationTimestamp = 'foo'; o.description = 'foo'; - o.disks = buildUnnamed1107(); + o.disks = buildUnnamed1132(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.nodeAffinityLabels = buildUnnamed1108(); + o.nodeAffinityLabels = buildUnnamed1133(); o.nodeType = 'foo'; o.nodeTypeFlexibility = buildNodeTemplateNodeTypeFlexibility(); o.region = 'foo'; @@ -19585,7 +19617,7 @@ api.NodeTemplate buildNodeTemplate() { void checkNodeTemplate(api.NodeTemplate o) { buildCounterNodeTemplate++; if (buildCounterNodeTemplate < 3) { - checkUnnamed1106(o.accelerators!); + checkUnnamed1131(o.accelerators!); unittest.expect( o.cpuOvercommitType!, unittest.equals('foo'), @@ -19598,7 +19630,7 @@ void checkNodeTemplate(api.NodeTemplate o) { o.description!, unittest.equals('foo'), ); - checkUnnamed1107(o.disks!); + checkUnnamed1132(o.disks!); unittest.expect( o.id!, unittest.equals('foo'), @@ -19611,7 +19643,7 @@ void checkNodeTemplate(api.NodeTemplate o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1108(o.nodeAffinityLabels!); + checkUnnamed1133(o.nodeAffinityLabels!); unittest.expect( o.nodeType!, unittest.equals('foo'), @@ -19638,23 +19670,23 @@ void checkNodeTemplate(api.NodeTemplate o) { buildCounterNodeTemplate--; } -core.Map buildUnnamed1109() => { +core.Map buildUnnamed1134() => { 'x': buildNodeTemplatesScopedList(), 'y': buildNodeTemplatesScopedList(), }; -void checkUnnamed1109(core.Map o) { +void checkUnnamed1134(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTemplatesScopedList(o['x']!); checkNodeTemplatesScopedList(o['y']!); } -core.List buildUnnamed1110() => [ +core.List buildUnnamed1135() => [ 'foo', 'foo', ]; -void checkUnnamed1110(core.List o) { +void checkUnnamed1135(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19695,12 +19727,12 @@ void checkNodeTemplateAggregatedListWarningData( buildCounterNodeTemplateAggregatedListWarningData--; } -core.List buildUnnamed1111() => [ +core.List buildUnnamed1136() => [ buildNodeTemplateAggregatedListWarningData(), buildNodeTemplateAggregatedListWarningData(), ]; -void checkUnnamed1111(core.List o) { +void checkUnnamed1136(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTemplateAggregatedListWarningData(o[0]); checkNodeTemplateAggregatedListWarningData(o[1]); @@ -19712,7 +19744,7 @@ api.NodeTemplateAggregatedListWarning buildNodeTemplateAggregatedListWarning() { buildCounterNodeTemplateAggregatedListWarning++; if (buildCounterNodeTemplateAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1111(); + o.data = buildUnnamed1136(); o.message = 'foo'; } buildCounterNodeTemplateAggregatedListWarning--; @@ -19727,7 +19759,7 @@ void checkNodeTemplateAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1111(o.data!); + checkUnnamed1136(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -19742,11 +19774,11 @@ api.NodeTemplateAggregatedList buildNodeTemplateAggregatedList() { buildCounterNodeTemplateAggregatedList++; if (buildCounterNodeTemplateAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1109(); + o.items = buildUnnamed1134(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1110(); + o.unreachables = buildUnnamed1135(); o.warning = buildNodeTemplateAggregatedListWarning(); } buildCounterNodeTemplateAggregatedList--; @@ -19760,7 +19792,7 @@ void checkNodeTemplateAggregatedList(api.NodeTemplateAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1109(o.items!); + checkUnnamed1134(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -19773,18 +19805,18 @@ void checkNodeTemplateAggregatedList(api.NodeTemplateAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1110(o.unreachables!); + checkUnnamed1135(o.unreachables!); checkNodeTemplateAggregatedListWarning(o.warning!); } buildCounterNodeTemplateAggregatedList--; } -core.List buildUnnamed1112() => [ +core.List buildUnnamed1137() => [ buildNodeTemplate(), buildNodeTemplate(), ]; -void checkUnnamed1112(core.List o) { +void checkUnnamed1137(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTemplate(o[0]); checkNodeTemplate(o[1]); @@ -19817,12 +19849,12 @@ void checkNodeTemplateListWarningData(api.NodeTemplateListWarningData o) { buildCounterNodeTemplateListWarningData--; } -core.List buildUnnamed1113() => [ +core.List buildUnnamed1138() => [ buildNodeTemplateListWarningData(), buildNodeTemplateListWarningData(), ]; -void checkUnnamed1113(core.List o) { +void checkUnnamed1138(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTemplateListWarningData(o[0]); checkNodeTemplateListWarningData(o[1]); @@ -19834,7 +19866,7 @@ api.NodeTemplateListWarning buildNodeTemplateListWarning() { buildCounterNodeTemplateListWarning++; if (buildCounterNodeTemplateListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1113(); + o.data = buildUnnamed1138(); o.message = 'foo'; } buildCounterNodeTemplateListWarning--; @@ -19848,7 +19880,7 @@ void checkNodeTemplateListWarning(api.NodeTemplateListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1113(o.data!); + checkUnnamed1138(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -19863,7 +19895,7 @@ api.NodeTemplateList buildNodeTemplateList() { buildCounterNodeTemplateList++; if (buildCounterNodeTemplateList < 3) { o.id = 'foo'; - o.items = buildUnnamed1112(); + o.items = buildUnnamed1137(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -19880,7 +19912,7 @@ void checkNodeTemplateList(api.NodeTemplateList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1112(o.items!); + checkUnnamed1137(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -19931,12 +19963,12 @@ void checkNodeTemplateNodeTypeFlexibility( buildCounterNodeTemplateNodeTypeFlexibility--; } -core.List buildUnnamed1114() => [ +core.List buildUnnamed1139() => [ buildNodeTemplate(), buildNodeTemplate(), ]; -void checkUnnamed1114(core.List o) { +void checkUnnamed1139(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTemplate(o[0]); checkNodeTemplate(o[1]); @@ -19971,12 +20003,12 @@ void checkNodeTemplatesScopedListWarningData( buildCounterNodeTemplatesScopedListWarningData--; } -core.List buildUnnamed1115() => [ +core.List buildUnnamed1140() => [ buildNodeTemplatesScopedListWarningData(), buildNodeTemplatesScopedListWarningData(), ]; -void checkUnnamed1115(core.List o) { +void checkUnnamed1140(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTemplatesScopedListWarningData(o[0]); checkNodeTemplatesScopedListWarningData(o[1]); @@ -19988,7 +20020,7 @@ api.NodeTemplatesScopedListWarning buildNodeTemplatesScopedListWarning() { buildCounterNodeTemplatesScopedListWarning++; if (buildCounterNodeTemplatesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1115(); + o.data = buildUnnamed1140(); o.message = 'foo'; } buildCounterNodeTemplatesScopedListWarning--; @@ -20002,7 +20034,7 @@ void checkNodeTemplatesScopedListWarning(api.NodeTemplatesScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1115(o.data!); + checkUnnamed1140(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20016,7 +20048,7 @@ api.NodeTemplatesScopedList buildNodeTemplatesScopedList() { final o = api.NodeTemplatesScopedList(); buildCounterNodeTemplatesScopedList++; if (buildCounterNodeTemplatesScopedList < 3) { - o.nodeTemplates = buildUnnamed1114(); + o.nodeTemplates = buildUnnamed1139(); o.warning = buildNodeTemplatesScopedListWarning(); } buildCounterNodeTemplatesScopedList--; @@ -20026,7 +20058,7 @@ api.NodeTemplatesScopedList buildNodeTemplatesScopedList() { void checkNodeTemplatesScopedList(api.NodeTemplatesScopedList o) { buildCounterNodeTemplatesScopedList++; if (buildCounterNodeTemplatesScopedList < 3) { - checkUnnamed1114(o.nodeTemplates!); + checkUnnamed1139(o.nodeTemplates!); checkNodeTemplatesScopedListWarning(o.warning!); } buildCounterNodeTemplatesScopedList--; @@ -20106,23 +20138,23 @@ void checkNodeType(api.NodeType o) { buildCounterNodeType--; } -core.Map buildUnnamed1116() => { +core.Map buildUnnamed1141() => { 'x': buildNodeTypesScopedList(), 'y': buildNodeTypesScopedList(), }; -void checkUnnamed1116(core.Map o) { +void checkUnnamed1141(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTypesScopedList(o['x']!); checkNodeTypesScopedList(o['y']!); } -core.List buildUnnamed1117() => [ +core.List buildUnnamed1142() => [ 'foo', 'foo', ]; -void checkUnnamed1117(core.List o) { +void checkUnnamed1142(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20162,12 +20194,12 @@ void checkNodeTypeAggregatedListWarningData( buildCounterNodeTypeAggregatedListWarningData--; } -core.List buildUnnamed1118() => [ +core.List buildUnnamed1143() => [ buildNodeTypeAggregatedListWarningData(), buildNodeTypeAggregatedListWarningData(), ]; -void checkUnnamed1118(core.List o) { +void checkUnnamed1143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTypeAggregatedListWarningData(o[0]); checkNodeTypeAggregatedListWarningData(o[1]); @@ -20179,7 +20211,7 @@ api.NodeTypeAggregatedListWarning buildNodeTypeAggregatedListWarning() { buildCounterNodeTypeAggregatedListWarning++; if (buildCounterNodeTypeAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1118(); + o.data = buildUnnamed1143(); o.message = 'foo'; } buildCounterNodeTypeAggregatedListWarning--; @@ -20193,7 +20225,7 @@ void checkNodeTypeAggregatedListWarning(api.NodeTypeAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1118(o.data!); + checkUnnamed1143(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20208,11 +20240,11 @@ api.NodeTypeAggregatedList buildNodeTypeAggregatedList() { buildCounterNodeTypeAggregatedList++; if (buildCounterNodeTypeAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1116(); + o.items = buildUnnamed1141(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1117(); + o.unreachables = buildUnnamed1142(); o.warning = buildNodeTypeAggregatedListWarning(); } buildCounterNodeTypeAggregatedList--; @@ -20226,7 +20258,7 @@ void checkNodeTypeAggregatedList(api.NodeTypeAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1116(o.items!); + checkUnnamed1141(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -20239,18 +20271,18 @@ void checkNodeTypeAggregatedList(api.NodeTypeAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1117(o.unreachables!); + checkUnnamed1142(o.unreachables!); checkNodeTypeAggregatedListWarning(o.warning!); } buildCounterNodeTypeAggregatedList--; } -core.List buildUnnamed1119() => [ +core.List buildUnnamed1144() => [ buildNodeType(), buildNodeType(), ]; -void checkUnnamed1119(core.List o) { +void checkUnnamed1144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeType(o[0]); checkNodeType(o[1]); @@ -20283,12 +20315,12 @@ void checkNodeTypeListWarningData(api.NodeTypeListWarningData o) { buildCounterNodeTypeListWarningData--; } -core.List buildUnnamed1120() => [ +core.List buildUnnamed1145() => [ buildNodeTypeListWarningData(), buildNodeTypeListWarningData(), ]; -void checkUnnamed1120(core.List o) { +void checkUnnamed1145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTypeListWarningData(o[0]); checkNodeTypeListWarningData(o[1]); @@ -20300,7 +20332,7 @@ api.NodeTypeListWarning buildNodeTypeListWarning() { buildCounterNodeTypeListWarning++; if (buildCounterNodeTypeListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1120(); + o.data = buildUnnamed1145(); o.message = 'foo'; } buildCounterNodeTypeListWarning--; @@ -20314,7 +20346,7 @@ void checkNodeTypeListWarning(api.NodeTypeListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1120(o.data!); + checkUnnamed1145(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20329,7 +20361,7 @@ api.NodeTypeList buildNodeTypeList() { buildCounterNodeTypeList++; if (buildCounterNodeTypeList < 3) { o.id = 'foo'; - o.items = buildUnnamed1119(); + o.items = buildUnnamed1144(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -20346,7 +20378,7 @@ void checkNodeTypeList(api.NodeTypeList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1119(o.items!); + checkUnnamed1144(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -20364,12 +20396,12 @@ void checkNodeTypeList(api.NodeTypeList o) { buildCounterNodeTypeList--; } -core.List buildUnnamed1121() => [ +core.List buildUnnamed1146() => [ buildNodeType(), buildNodeType(), ]; -void checkUnnamed1121(core.List o) { +void checkUnnamed1146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeType(o[0]); checkNodeType(o[1]); @@ -20402,12 +20434,12 @@ void checkNodeTypesScopedListWarningData(api.NodeTypesScopedListWarningData o) { buildCounterNodeTypesScopedListWarningData--; } -core.List buildUnnamed1122() => [ +core.List buildUnnamed1147() => [ buildNodeTypesScopedListWarningData(), buildNodeTypesScopedListWarningData(), ]; -void checkUnnamed1122(core.List o) { +void checkUnnamed1147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTypesScopedListWarningData(o[0]); checkNodeTypesScopedListWarningData(o[1]); @@ -20419,7 +20451,7 @@ api.NodeTypesScopedListWarning buildNodeTypesScopedListWarning() { buildCounterNodeTypesScopedListWarning++; if (buildCounterNodeTypesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1122(); + o.data = buildUnnamed1147(); o.message = 'foo'; } buildCounterNodeTypesScopedListWarning--; @@ -20433,7 +20465,7 @@ void checkNodeTypesScopedListWarning(api.NodeTypesScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1122(o.data!); + checkUnnamed1147(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20447,7 +20479,7 @@ api.NodeTypesScopedList buildNodeTypesScopedList() { final o = api.NodeTypesScopedList(); buildCounterNodeTypesScopedList++; if (buildCounterNodeTypesScopedList < 3) { - o.nodeTypes = buildUnnamed1121(); + o.nodeTypes = buildUnnamed1146(); o.warning = buildNodeTypesScopedListWarning(); } buildCounterNodeTypesScopedList--; @@ -20457,7 +20489,7 @@ api.NodeTypesScopedList buildNodeTypesScopedList() { void checkNodeTypesScopedList(api.NodeTypesScopedList o) { buildCounterNodeTypesScopedList++; if (buildCounterNodeTypesScopedList < 3) { - checkUnnamed1121(o.nodeTypes!); + checkUnnamed1146(o.nodeTypes!); checkNodeTypesScopedListWarning(o.warning!); } buildCounterNodeTypesScopedList--; @@ -20557,12 +20589,12 @@ void checkNotificationEndpointGrpcSettings( buildCounterNotificationEndpointGrpcSettings--; } -core.List buildUnnamed1123() => [ +core.List buildUnnamed1148() => [ buildNotificationEndpoint(), buildNotificationEndpoint(), ]; -void checkUnnamed1123(core.List o) { +void checkUnnamed1148(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotificationEndpoint(o[0]); checkNotificationEndpoint(o[1]); @@ -20597,12 +20629,12 @@ void checkNotificationEndpointListWarningData( buildCounterNotificationEndpointListWarningData--; } -core.List buildUnnamed1124() => [ +core.List buildUnnamed1149() => [ buildNotificationEndpointListWarningData(), buildNotificationEndpointListWarningData(), ]; -void checkUnnamed1124(core.List o) { +void checkUnnamed1149(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotificationEndpointListWarningData(o[0]); checkNotificationEndpointListWarningData(o[1]); @@ -20614,7 +20646,7 @@ api.NotificationEndpointListWarning buildNotificationEndpointListWarning() { buildCounterNotificationEndpointListWarning++; if (buildCounterNotificationEndpointListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1124(); + o.data = buildUnnamed1149(); o.message = 'foo'; } buildCounterNotificationEndpointListWarning--; @@ -20629,7 +20661,7 @@ void checkNotificationEndpointListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1124(o.data!); + checkUnnamed1149(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20644,7 +20676,7 @@ api.NotificationEndpointList buildNotificationEndpointList() { buildCounterNotificationEndpointList++; if (buildCounterNotificationEndpointList < 3) { o.id = 'foo'; - o.items = buildUnnamed1123(); + o.items = buildUnnamed1148(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -20661,7 +20693,7 @@ void checkNotificationEndpointList(api.NotificationEndpointList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1123(o.items!); + checkUnnamed1148(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -20711,12 +20743,12 @@ void checkOperationErrorErrors(api.OperationErrorErrors o) { buildCounterOperationErrorErrors--; } -core.List buildUnnamed1125() => [ +core.List buildUnnamed1150() => [ buildOperationErrorErrors(), buildOperationErrorErrors(), ]; -void checkUnnamed1125(core.List o) { +void checkUnnamed1150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationErrorErrors(o[0]); checkOperationErrorErrors(o[1]); @@ -20727,7 +20759,7 @@ api.OperationError buildOperationError() { final o = api.OperationError(); buildCounterOperationError++; if (buildCounterOperationError < 3) { - o.errors = buildUnnamed1125(); + o.errors = buildUnnamed1150(); } buildCounterOperationError--; return o; @@ -20736,7 +20768,7 @@ api.OperationError buildOperationError() { void checkOperationError(api.OperationError o) { buildCounterOperationError++; if (buildCounterOperationError < 3) { - checkUnnamed1125(o.errors!); + checkUnnamed1150(o.errors!); } buildCounterOperationError--; } @@ -20768,12 +20800,12 @@ void checkOperationWarningsData(api.OperationWarningsData o) { buildCounterOperationWarningsData--; } -core.List buildUnnamed1126() => [ +core.List buildUnnamed1151() => [ buildOperationWarningsData(), buildOperationWarningsData(), ]; -void checkUnnamed1126(core.List o) { +void checkUnnamed1151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarningsData(o[0]); checkOperationWarningsData(o[1]); @@ -20785,7 +20817,7 @@ api.OperationWarnings buildOperationWarnings() { buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed1126(); + o.data = buildUnnamed1151(); o.message = 'foo'; } buildCounterOperationWarnings--; @@ -20799,7 +20831,7 @@ void checkOperationWarnings(api.OperationWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1126(o.data!); + checkUnnamed1151(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20808,12 +20840,12 @@ void checkOperationWarnings(api.OperationWarnings o) { buildCounterOperationWarnings--; } -core.List buildUnnamed1127() => [ +core.List buildUnnamed1152() => [ buildOperationWarnings(), buildOperationWarnings(), ]; -void checkUnnamed1127(core.List o) { +void checkUnnamed1152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarnings(o[0]); checkOperationWarnings(o[1]); @@ -20846,7 +20878,7 @@ api.Operation buildOperation() { o.targetId = 'foo'; o.targetLink = 'foo'; o.user = 'foo'; - o.warnings = buildUnnamed1127(); + o.warnings = buildUnnamed1152(); o.zone = 'foo'; } buildCounterOperation--; @@ -20941,7 +20973,7 @@ void checkOperation(api.Operation o) { o.user!, unittest.equals('foo'), ); - checkUnnamed1127(o.warnings!); + checkUnnamed1152(o.warnings!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -20950,23 +20982,23 @@ void checkOperation(api.Operation o) { buildCounterOperation--; } -core.Map buildUnnamed1128() => { +core.Map buildUnnamed1153() => { 'x': buildOperationsScopedList(), 'y': buildOperationsScopedList(), }; -void checkUnnamed1128(core.Map o) { +void checkUnnamed1153(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkOperationsScopedList(o['x']!); checkOperationsScopedList(o['y']!); } -core.List buildUnnamed1129() => [ +core.List buildUnnamed1154() => [ 'foo', 'foo', ]; -void checkUnnamed1129(core.List o) { +void checkUnnamed1154(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21007,12 +21039,12 @@ void checkOperationAggregatedListWarningData( buildCounterOperationAggregatedListWarningData--; } -core.List buildUnnamed1130() => [ +core.List buildUnnamed1155() => [ buildOperationAggregatedListWarningData(), buildOperationAggregatedListWarningData(), ]; -void checkUnnamed1130(core.List o) { +void checkUnnamed1155(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationAggregatedListWarningData(o[0]); checkOperationAggregatedListWarningData(o[1]); @@ -21024,7 +21056,7 @@ api.OperationAggregatedListWarning buildOperationAggregatedListWarning() { buildCounterOperationAggregatedListWarning++; if (buildCounterOperationAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1130(); + o.data = buildUnnamed1155(); o.message = 'foo'; } buildCounterOperationAggregatedListWarning--; @@ -21038,7 +21070,7 @@ void checkOperationAggregatedListWarning(api.OperationAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1130(o.data!); + checkUnnamed1155(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -21053,11 +21085,11 @@ api.OperationAggregatedList buildOperationAggregatedList() { buildCounterOperationAggregatedList++; if (buildCounterOperationAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1128(); + o.items = buildUnnamed1153(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1129(); + o.unreachables = buildUnnamed1154(); o.warning = buildOperationAggregatedListWarning(); } buildCounterOperationAggregatedList--; @@ -21071,7 +21103,7 @@ void checkOperationAggregatedList(api.OperationAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1128(o.items!); + checkUnnamed1153(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -21084,18 +21116,18 @@ void checkOperationAggregatedList(api.OperationAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1129(o.unreachables!); + checkUnnamed1154(o.unreachables!); checkOperationAggregatedListWarning(o.warning!); } buildCounterOperationAggregatedList--; } -core.List buildUnnamed1131() => [ +core.List buildUnnamed1156() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1131(core.List o) { +void checkUnnamed1156(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -21128,12 +21160,12 @@ void checkOperationListWarningData(api.OperationListWarningData o) { buildCounterOperationListWarningData--; } -core.List buildUnnamed1132() => [ +core.List buildUnnamed1157() => [ buildOperationListWarningData(), buildOperationListWarningData(), ]; -void checkUnnamed1132(core.List o) { +void checkUnnamed1157(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationListWarningData(o[0]); checkOperationListWarningData(o[1]); @@ -21145,7 +21177,7 @@ api.OperationListWarning buildOperationListWarning() { buildCounterOperationListWarning++; if (buildCounterOperationListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1132(); + o.data = buildUnnamed1157(); o.message = 'foo'; } buildCounterOperationListWarning--; @@ -21159,7 +21191,7 @@ void checkOperationListWarning(api.OperationListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1132(o.data!); + checkUnnamed1157(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -21174,7 +21206,7 @@ api.OperationList buildOperationList() { buildCounterOperationList++; if (buildCounterOperationList < 3) { o.id = 'foo'; - o.items = buildUnnamed1131(); + o.items = buildUnnamed1156(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -21191,7 +21223,7 @@ void checkOperationList(api.OperationList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1131(o.items!); + checkUnnamed1156(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -21209,12 +21241,12 @@ void checkOperationList(api.OperationList o) { buildCounterOperationList--; } -core.List buildUnnamed1133() => [ +core.List buildUnnamed1158() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1133(core.List o) { +void checkUnnamed1158(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -21248,12 +21280,12 @@ void checkOperationsScopedListWarningData( buildCounterOperationsScopedListWarningData--; } -core.List buildUnnamed1134() => [ +core.List buildUnnamed1159() => [ buildOperationsScopedListWarningData(), buildOperationsScopedListWarningData(), ]; -void checkUnnamed1134(core.List o) { +void checkUnnamed1159(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationsScopedListWarningData(o[0]); checkOperationsScopedListWarningData(o[1]); @@ -21265,7 +21297,7 @@ api.OperationsScopedListWarning buildOperationsScopedListWarning() { buildCounterOperationsScopedListWarning++; if (buildCounterOperationsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1134(); + o.data = buildUnnamed1159(); o.message = 'foo'; } buildCounterOperationsScopedListWarning--; @@ -21279,7 +21311,7 @@ void checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1134(o.data!); + checkUnnamed1159(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -21293,7 +21325,7 @@ api.OperationsScopedList buildOperationsScopedList() { final o = api.OperationsScopedList(); buildCounterOperationsScopedList++; if (buildCounterOperationsScopedList < 3) { - o.operations = buildUnnamed1133(); + o.operations = buildUnnamed1158(); o.warning = buildOperationsScopedListWarning(); } buildCounterOperationsScopedList--; @@ -21303,7 +21335,7 @@ api.OperationsScopedList buildOperationsScopedList() { void checkOperationsScopedList(api.OperationsScopedList o) { buildCounterOperationsScopedList++; if (buildCounterOperationsScopedList < 3) { - checkUnnamed1133(o.operations!); + checkUnnamed1158(o.operations!); checkOperationsScopedListWarning(o.warning!); } buildCounterOperationsScopedList--; @@ -21445,23 +21477,23 @@ void checkPacketMirroring(api.PacketMirroring o) { buildCounterPacketMirroring--; } -core.Map buildUnnamed1135() => { +core.Map buildUnnamed1160() => { 'x': buildPacketMirroringsScopedList(), 'y': buildPacketMirroringsScopedList(), }; -void checkUnnamed1135(core.Map o) { +void checkUnnamed1160(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroringsScopedList(o['x']!); checkPacketMirroringsScopedList(o['y']!); } -core.List buildUnnamed1136() => [ +core.List buildUnnamed1161() => [ 'foo', 'foo', ]; -void checkUnnamed1136(core.List o) { +void checkUnnamed1161(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21502,12 +21534,12 @@ void checkPacketMirroringAggregatedListWarningData( buildCounterPacketMirroringAggregatedListWarningData--; } -core.List buildUnnamed1137() => [ +core.List buildUnnamed1162() => [ buildPacketMirroringAggregatedListWarningData(), buildPacketMirroringAggregatedListWarningData(), ]; -void checkUnnamed1137( +void checkUnnamed1162( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroringAggregatedListWarningData(o[0]); @@ -21521,7 +21553,7 @@ api.PacketMirroringAggregatedListWarning buildCounterPacketMirroringAggregatedListWarning++; if (buildCounterPacketMirroringAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1137(); + o.data = buildUnnamed1162(); o.message = 'foo'; } buildCounterPacketMirroringAggregatedListWarning--; @@ -21536,7 +21568,7 @@ void checkPacketMirroringAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1137(o.data!); + checkUnnamed1162(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -21551,11 +21583,11 @@ api.PacketMirroringAggregatedList buildPacketMirroringAggregatedList() { buildCounterPacketMirroringAggregatedList++; if (buildCounterPacketMirroringAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1135(); + o.items = buildUnnamed1160(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1136(); + o.unreachables = buildUnnamed1161(); o.warning = buildPacketMirroringAggregatedListWarning(); } buildCounterPacketMirroringAggregatedList--; @@ -21569,7 +21601,7 @@ void checkPacketMirroringAggregatedList(api.PacketMirroringAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1135(o.items!); + checkUnnamed1160(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -21582,18 +21614,18 @@ void checkPacketMirroringAggregatedList(api.PacketMirroringAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1136(o.unreachables!); + checkUnnamed1161(o.unreachables!); checkPacketMirroringAggregatedListWarning(o.warning!); } buildCounterPacketMirroringAggregatedList--; } -core.List buildUnnamed1138() => [ +core.List buildUnnamed1163() => [ 'foo', 'foo', ]; -void checkUnnamed1138(core.List o) { +void checkUnnamed1163(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21605,12 +21637,12 @@ void checkUnnamed1138(core.List o) { ); } -core.List buildUnnamed1139() => [ +core.List buildUnnamed1164() => [ 'foo', 'foo', ]; -void checkUnnamed1139(core.List o) { +void checkUnnamed1164(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21627,8 +21659,8 @@ api.PacketMirroringFilter buildPacketMirroringFilter() { final o = api.PacketMirroringFilter(); buildCounterPacketMirroringFilter++; if (buildCounterPacketMirroringFilter < 3) { - o.IPProtocols = buildUnnamed1138(); - o.cidrRanges = buildUnnamed1139(); + o.IPProtocols = buildUnnamed1163(); + o.cidrRanges = buildUnnamed1164(); o.direction = 'foo'; } buildCounterPacketMirroringFilter--; @@ -21638,8 +21670,8 @@ api.PacketMirroringFilter buildPacketMirroringFilter() { void checkPacketMirroringFilter(api.PacketMirroringFilter o) { buildCounterPacketMirroringFilter++; if (buildCounterPacketMirroringFilter < 3) { - checkUnnamed1138(o.IPProtocols!); - checkUnnamed1139(o.cidrRanges!); + checkUnnamed1163(o.IPProtocols!); + checkUnnamed1164(o.cidrRanges!); unittest.expect( o.direction!, unittest.equals('foo'), @@ -21676,12 +21708,12 @@ void checkPacketMirroringForwardingRuleInfo( buildCounterPacketMirroringForwardingRuleInfo--; } -core.List buildUnnamed1140() => [ +core.List buildUnnamed1165() => [ buildPacketMirroring(), buildPacketMirroring(), ]; -void checkUnnamed1140(core.List o) { +void checkUnnamed1165(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroring(o[0]); checkPacketMirroring(o[1]); @@ -21714,12 +21746,12 @@ void checkPacketMirroringListWarningData(api.PacketMirroringListWarningData o) { buildCounterPacketMirroringListWarningData--; } -core.List buildUnnamed1141() => [ +core.List buildUnnamed1166() => [ buildPacketMirroringListWarningData(), buildPacketMirroringListWarningData(), ]; -void checkUnnamed1141(core.List o) { +void checkUnnamed1166(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroringListWarningData(o[0]); checkPacketMirroringListWarningData(o[1]); @@ -21731,7 +21763,7 @@ api.PacketMirroringListWarning buildPacketMirroringListWarning() { buildCounterPacketMirroringListWarning++; if (buildCounterPacketMirroringListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1141(); + o.data = buildUnnamed1166(); o.message = 'foo'; } buildCounterPacketMirroringListWarning--; @@ -21745,7 +21777,7 @@ void checkPacketMirroringListWarning(api.PacketMirroringListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1141(o.data!); + checkUnnamed1166(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -21760,7 +21792,7 @@ api.PacketMirroringList buildPacketMirroringList() { buildCounterPacketMirroringList++; if (buildCounterPacketMirroringList < 3) { o.id = 'foo'; - o.items = buildUnnamed1140(); + o.items = buildUnnamed1165(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -21777,7 +21809,7 @@ void checkPacketMirroringList(api.PacketMirroringList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1140(o.items!); + checkUnnamed1165(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -21796,12 +21828,12 @@ void checkPacketMirroringList(api.PacketMirroringList o) { } core.List - buildUnnamed1142() => [ + buildUnnamed1167() => [ buildPacketMirroringMirroredResourceInfoInstanceInfo(), buildPacketMirroringMirroredResourceInfoInstanceInfo(), ]; -void checkUnnamed1142( +void checkUnnamed1167( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroringMirroredResourceInfoInstanceInfo(o[0]); @@ -21809,24 +21841,24 @@ void checkUnnamed1142( } core.List - buildUnnamed1143() => [ + buildUnnamed1168() => [ buildPacketMirroringMirroredResourceInfoSubnetInfo(), buildPacketMirroringMirroredResourceInfoSubnetInfo(), ]; -void checkUnnamed1143( +void checkUnnamed1168( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroringMirroredResourceInfoSubnetInfo(o[0]); checkPacketMirroringMirroredResourceInfoSubnetInfo(o[1]); } -core.List buildUnnamed1144() => [ +core.List buildUnnamed1169() => [ 'foo', 'foo', ]; -void checkUnnamed1144(core.List o) { +void checkUnnamed1169(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21844,9 +21876,9 @@ api.PacketMirroringMirroredResourceInfo final o = api.PacketMirroringMirroredResourceInfo(); buildCounterPacketMirroringMirroredResourceInfo++; if (buildCounterPacketMirroringMirroredResourceInfo < 3) { - o.instances = buildUnnamed1142(); - o.subnetworks = buildUnnamed1143(); - o.tags = buildUnnamed1144(); + o.instances = buildUnnamed1167(); + o.subnetworks = buildUnnamed1168(); + o.tags = buildUnnamed1169(); } buildCounterPacketMirroringMirroredResourceInfo--; return o; @@ -21856,9 +21888,9 @@ void checkPacketMirroringMirroredResourceInfo( api.PacketMirroringMirroredResourceInfo o) { buildCounterPacketMirroringMirroredResourceInfo++; if (buildCounterPacketMirroringMirroredResourceInfo < 3) { - checkUnnamed1142(o.instances!); - checkUnnamed1143(o.subnetworks!); - checkUnnamed1144(o.tags!); + checkUnnamed1167(o.instances!); + checkUnnamed1168(o.subnetworks!); + checkUnnamed1169(o.tags!); } buildCounterPacketMirroringMirroredResourceInfo--; } @@ -21948,12 +21980,12 @@ void checkPacketMirroringNetworkInfo(api.PacketMirroringNetworkInfo o) { buildCounterPacketMirroringNetworkInfo--; } -core.List buildUnnamed1145() => [ +core.List buildUnnamed1170() => [ buildPacketMirroring(), buildPacketMirroring(), ]; -void checkUnnamed1145(core.List o) { +void checkUnnamed1170(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroring(o[0]); checkPacketMirroring(o[1]); @@ -21988,12 +22020,12 @@ void checkPacketMirroringsScopedListWarningData( buildCounterPacketMirroringsScopedListWarningData--; } -core.List buildUnnamed1146() => [ +core.List buildUnnamed1171() => [ buildPacketMirroringsScopedListWarningData(), buildPacketMirroringsScopedListWarningData(), ]; -void checkUnnamed1146(core.List o) { +void checkUnnamed1171(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPacketMirroringsScopedListWarningData(o[0]); checkPacketMirroringsScopedListWarningData(o[1]); @@ -22005,7 +22037,7 @@ api.PacketMirroringsScopedListWarning buildPacketMirroringsScopedListWarning() { buildCounterPacketMirroringsScopedListWarning++; if (buildCounterPacketMirroringsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1146(); + o.data = buildUnnamed1171(); o.message = 'foo'; } buildCounterPacketMirroringsScopedListWarning--; @@ -22020,7 +22052,7 @@ void checkPacketMirroringsScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1146(o.data!); + checkUnnamed1171(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -22034,7 +22066,7 @@ api.PacketMirroringsScopedList buildPacketMirroringsScopedList() { final o = api.PacketMirroringsScopedList(); buildCounterPacketMirroringsScopedList++; if (buildCounterPacketMirroringsScopedList < 3) { - o.packetMirrorings = buildUnnamed1145(); + o.packetMirrorings = buildUnnamed1170(); o.warning = buildPacketMirroringsScopedListWarning(); } buildCounterPacketMirroringsScopedList--; @@ -22044,29 +22076,29 @@ api.PacketMirroringsScopedList buildPacketMirroringsScopedList() { void checkPacketMirroringsScopedList(api.PacketMirroringsScopedList o) { buildCounterPacketMirroringsScopedList++; if (buildCounterPacketMirroringsScopedList < 3) { - checkUnnamed1145(o.packetMirrorings!); + checkUnnamed1170(o.packetMirrorings!); checkPacketMirroringsScopedListWarning(o.warning!); } buildCounterPacketMirroringsScopedList--; } -core.List buildUnnamed1147() => [ +core.List buildUnnamed1172() => [ buildPathRule(), buildPathRule(), ]; -void checkUnnamed1147(core.List o) { +void checkUnnamed1172(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathRule(o[0]); checkPathRule(o[1]); } -core.List buildUnnamed1148() => [ +core.List buildUnnamed1173() => [ buildHttpRouteRule(), buildHttpRouteRule(), ]; -void checkUnnamed1148(core.List o) { +void checkUnnamed1173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRouteRule(o[0]); checkHttpRouteRule(o[1]); @@ -22083,8 +22115,8 @@ api.PathMatcher buildPathMatcher() { o.description = 'foo'; o.headerAction = buildHttpHeaderAction(); o.name = 'foo'; - o.pathRules = buildUnnamed1147(); - o.routeRules = buildUnnamed1148(); + o.pathRules = buildUnnamed1172(); + o.routeRules = buildUnnamed1173(); } buildCounterPathMatcher--; return o; @@ -22108,18 +22140,18 @@ void checkPathMatcher(api.PathMatcher o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1147(o.pathRules!); - checkUnnamed1148(o.routeRules!); + checkUnnamed1172(o.pathRules!); + checkUnnamed1173(o.routeRules!); } buildCounterPathMatcher--; } -core.List buildUnnamed1149() => [ +core.List buildUnnamed1174() => [ 'foo', 'foo', ]; -void checkUnnamed1149(core.List o) { +void checkUnnamed1174(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -22136,7 +22168,7 @@ api.PathRule buildPathRule() { final o = api.PathRule(); buildCounterPathRule++; if (buildCounterPathRule < 3) { - o.paths = buildUnnamed1149(); + o.paths = buildUnnamed1174(); o.routeAction = buildHttpRouteAction(); o.service = 'foo'; o.urlRedirect = buildHttpRedirectAction(); @@ -22148,7 +22180,7 @@ api.PathRule buildPathRule() { void checkPathRule(api.PathRule o) { buildCounterPathRule++; if (buildCounterPathRule < 3) { - checkUnnamed1149(o.paths!); + checkUnnamed1174(o.paths!); checkHttpRouteAction(o.routeAction!); unittest.expect( o.service!, @@ -22193,34 +22225,34 @@ void checkPerInstanceConfig(api.PerInstanceConfig o) { buildCounterPerInstanceConfig--; } -core.List buildUnnamed1150() => [ +core.List buildUnnamed1175() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1150(core.List o) { +void checkUnnamed1175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1151() => [ +core.List buildUnnamed1176() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1151(core.List o) { +void checkUnnamed1176(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); } -core.List buildUnnamed1152() => [ +core.List buildUnnamed1177() => [ buildRule(), buildRule(), ]; -void checkUnnamed1152(core.List o) { +void checkUnnamed1177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -22231,11 +22263,11 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1150(); - o.bindings = buildUnnamed1151(); + o.auditConfigs = buildUnnamed1175(); + o.bindings = buildUnnamed1176(); o.etag = 'foo'; o.iamOwned = true; - o.rules = buildUnnamed1152(); + o.rules = buildUnnamed1177(); o.version = 42; } buildCounterPolicy--; @@ -22245,14 +22277,14 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1150(o.auditConfigs!); - checkUnnamed1151(o.bindings!); + checkUnnamed1175(o.auditConfigs!); + checkUnnamed1176(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), ); unittest.expect(o.iamOwned!, unittest.isTrue); - checkUnnamed1152(o.rules!); + checkUnnamed1177(o.rules!); unittest.expect( o.version!, unittest.equals(42), @@ -22261,12 +22293,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed1153() => [ +core.List buildUnnamed1178() => [ buildWafExpressionSet(), buildWafExpressionSet(), ]; -void checkUnnamed1153(core.List o) { +void checkUnnamed1178(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWafExpressionSet(o[0]); checkWafExpressionSet(o[1]); @@ -22277,7 +22309,7 @@ api.PreconfiguredWafSet buildPreconfiguredWafSet() { final o = api.PreconfiguredWafSet(); buildCounterPreconfiguredWafSet++; if (buildCounterPreconfiguredWafSet < 3) { - o.expressionSets = buildUnnamed1153(); + o.expressionSets = buildUnnamed1178(); } buildCounterPreconfiguredWafSet--; return o; @@ -22286,29 +22318,29 @@ api.PreconfiguredWafSet buildPreconfiguredWafSet() { void checkPreconfiguredWafSet(api.PreconfiguredWafSet o) { buildCounterPreconfiguredWafSet++; if (buildCounterPreconfiguredWafSet < 3) { - checkUnnamed1153(o.expressionSets!); + checkUnnamed1178(o.expressionSets!); } buildCounterPreconfiguredWafSet--; } -core.Map buildUnnamed1154() => { +core.Map buildUnnamed1179() => { 'x': buildPreservedStatePreservedDisk(), 'y': buildPreservedStatePreservedDisk(), }; -void checkUnnamed1154( +void checkUnnamed1179( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPreservedStatePreservedDisk(o['x']!); checkPreservedStatePreservedDisk(o['y']!); } -core.Map buildUnnamed1155() => { +core.Map buildUnnamed1180() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1155(core.Map o) { +void checkUnnamed1180(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22325,8 +22357,8 @@ api.PreservedState buildPreservedState() { final o = api.PreservedState(); buildCounterPreservedState++; if (buildCounterPreservedState < 3) { - o.disks = buildUnnamed1154(); - o.metadata = buildUnnamed1155(); + o.disks = buildUnnamed1179(); + o.metadata = buildUnnamed1180(); } buildCounterPreservedState--; return o; @@ -22335,8 +22367,8 @@ api.PreservedState buildPreservedState() { void checkPreservedState(api.PreservedState o) { buildCounterPreservedState++; if (buildCounterPreservedState < 3) { - checkUnnamed1154(o.disks!); - checkUnnamed1155(o.metadata!); + checkUnnamed1179(o.disks!); + checkUnnamed1180(o.metadata!); } buildCounterPreservedState--; } @@ -22373,12 +22405,12 @@ void checkPreservedStatePreservedDisk(api.PreservedStatePreservedDisk o) { buildCounterPreservedStatePreservedDisk--; } -core.List buildUnnamed1156() => [ +core.List buildUnnamed1181() => [ 'foo', 'foo', ]; -void checkUnnamed1156(core.List o) { +void checkUnnamed1181(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -22390,12 +22422,12 @@ void checkUnnamed1156(core.List o) { ); } -core.List buildUnnamed1157() => [ +core.List buildUnnamed1182() => [ buildQuota(), buildQuota(), ]; -void checkUnnamed1157(core.List o) { +void checkUnnamed1182(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuota(o[0]); checkQuota(o[1]); @@ -22411,11 +22443,11 @@ api.Project buildProject() { o.defaultNetworkTier = 'foo'; o.defaultServiceAccount = 'foo'; o.description = 'foo'; - o.enabledFeatures = buildUnnamed1156(); + o.enabledFeatures = buildUnnamed1181(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.quotas = buildUnnamed1157(); + o.quotas = buildUnnamed1182(); o.selfLink = 'foo'; o.usageExportLocation = buildUsageExportLocation(); o.xpnProjectStatus = 'foo'; @@ -22444,7 +22476,7 @@ void checkProject(api.Project o) { o.description!, unittest.equals('foo'), ); - checkUnnamed1156(o.enabledFeatures!); + checkUnnamed1181(o.enabledFeatures!); unittest.expect( o.id!, unittest.equals('foo'), @@ -22457,7 +22489,7 @@ void checkProject(api.Project o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1157(o.quotas!); + checkUnnamed1182(o.quotas!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -22511,12 +22543,12 @@ void checkProjectsEnableXpnResourceRequest( buildCounterProjectsEnableXpnResourceRequest--; } -core.List buildUnnamed1158() => [ +core.List buildUnnamed1183() => [ buildXpnResourceId(), buildXpnResourceId(), ]; -void checkUnnamed1158(core.List o) { +void checkUnnamed1183(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkXpnResourceId(o[0]); checkXpnResourceId(o[1]); @@ -22529,7 +22561,7 @@ api.ProjectsGetXpnResources buildProjectsGetXpnResources() { if (buildCounterProjectsGetXpnResources < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed1158(); + o.resources = buildUnnamed1183(); } buildCounterProjectsGetXpnResources--; return o; @@ -22546,7 +22578,7 @@ void checkProjectsGetXpnResources(api.ProjectsGetXpnResources o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1158(o.resources!); + checkUnnamed1183(o.resources!); } buildCounterProjectsGetXpnResources--; } @@ -22597,13 +22629,13 @@ void checkProjectsSetDefaultNetworkTierRequest( buildCounterProjectsSetDefaultNetworkTierRequest--; } -core.List buildUnnamed1159() => +core.List buildUnnamed1184() => [ buildPublicAdvertisedPrefixPublicDelegatedPrefix(), buildPublicAdvertisedPrefixPublicDelegatedPrefix(), ]; -void checkUnnamed1159( +void checkUnnamed1184( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicAdvertisedPrefixPublicDelegatedPrefix(o[0]); @@ -22623,7 +22655,7 @@ api.PublicAdvertisedPrefix buildPublicAdvertisedPrefix() { o.ipCidrRange = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.publicDelegatedPrefixs = buildUnnamed1159(); + o.publicDelegatedPrefixs = buildUnnamed1184(); o.selfLink = 'foo'; o.sharedSecret = 'foo'; o.status = 'foo'; @@ -22667,7 +22699,7 @@ void checkPublicAdvertisedPrefix(api.PublicAdvertisedPrefix o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1159(o.publicDelegatedPrefixs!); + checkUnnamed1184(o.publicDelegatedPrefixs!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -22684,12 +22716,12 @@ void checkPublicAdvertisedPrefix(api.PublicAdvertisedPrefix o) { buildCounterPublicAdvertisedPrefix--; } -core.List buildUnnamed1160() => [ +core.List buildUnnamed1185() => [ buildPublicAdvertisedPrefix(), buildPublicAdvertisedPrefix(), ]; -void checkUnnamed1160(core.List o) { +void checkUnnamed1185(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicAdvertisedPrefix(o[0]); checkPublicAdvertisedPrefix(o[1]); @@ -22724,12 +22756,12 @@ void checkPublicAdvertisedPrefixListWarningData( buildCounterPublicAdvertisedPrefixListWarningData--; } -core.List buildUnnamed1161() => [ +core.List buildUnnamed1186() => [ buildPublicAdvertisedPrefixListWarningData(), buildPublicAdvertisedPrefixListWarningData(), ]; -void checkUnnamed1161(core.List o) { +void checkUnnamed1186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicAdvertisedPrefixListWarningData(o[0]); checkPublicAdvertisedPrefixListWarningData(o[1]); @@ -22741,7 +22773,7 @@ api.PublicAdvertisedPrefixListWarning buildPublicAdvertisedPrefixListWarning() { buildCounterPublicAdvertisedPrefixListWarning++; if (buildCounterPublicAdvertisedPrefixListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1161(); + o.data = buildUnnamed1186(); o.message = 'foo'; } buildCounterPublicAdvertisedPrefixListWarning--; @@ -22756,7 +22788,7 @@ void checkPublicAdvertisedPrefixListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1161(o.data!); + checkUnnamed1186(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -22771,7 +22803,7 @@ api.PublicAdvertisedPrefixList buildPublicAdvertisedPrefixList() { buildCounterPublicAdvertisedPrefixList++; if (buildCounterPublicAdvertisedPrefixList < 3) { o.id = 'foo'; - o.items = buildUnnamed1160(); + o.items = buildUnnamed1185(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -22788,7 +22820,7 @@ void checkPublicAdvertisedPrefixList(api.PublicAdvertisedPrefixList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1160(o.items!); + checkUnnamed1185(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -22851,12 +22883,12 @@ void checkPublicAdvertisedPrefixPublicDelegatedPrefix( } core.List - buildUnnamed1162() => [ + buildUnnamed1187() => [ buildPublicDelegatedPrefixPublicDelegatedSubPrefix(), buildPublicDelegatedPrefixPublicDelegatedSubPrefix(), ]; -void checkUnnamed1162( +void checkUnnamed1187( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefixPublicDelegatedSubPrefix(o[0]); @@ -22877,7 +22909,7 @@ api.PublicDelegatedPrefix buildPublicDelegatedPrefix() { o.kind = 'foo'; o.name = 'foo'; o.parentPrefix = 'foo'; - o.publicDelegatedSubPrefixs = buildUnnamed1162(); + o.publicDelegatedSubPrefixs = buildUnnamed1187(); o.region = 'foo'; o.selfLink = 'foo'; o.status = 'foo'; @@ -22922,7 +22954,7 @@ void checkPublicDelegatedPrefix(api.PublicDelegatedPrefix o) { o.parentPrefix!, unittest.equals('foo'), ); - checkUnnamed1162(o.publicDelegatedSubPrefixs!); + checkUnnamed1187(o.publicDelegatedSubPrefixs!); unittest.expect( o.region!, unittest.equals('foo'), @@ -22940,24 +22972,24 @@ void checkPublicDelegatedPrefix(api.PublicDelegatedPrefix o) { } core.Map - buildUnnamed1163() => { + buildUnnamed1188() => { 'x': buildPublicDelegatedPrefixesScopedList(), 'y': buildPublicDelegatedPrefixesScopedList(), }; -void checkUnnamed1163( +void checkUnnamed1188( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefixesScopedList(o['x']!); checkPublicDelegatedPrefixesScopedList(o['y']!); } -core.List buildUnnamed1164() => [ +core.List buildUnnamed1189() => [ 'foo', 'foo', ]; -void checkUnnamed1164(core.List o) { +void checkUnnamed1189(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -22999,12 +23031,12 @@ void checkPublicDelegatedPrefixAggregatedListWarningData( } core.List - buildUnnamed1165() => [ + buildUnnamed1190() => [ buildPublicDelegatedPrefixAggregatedListWarningData(), buildPublicDelegatedPrefixAggregatedListWarningData(), ]; -void checkUnnamed1165( +void checkUnnamed1190( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefixAggregatedListWarningData(o[0]); @@ -23018,7 +23050,7 @@ api.PublicDelegatedPrefixAggregatedListWarning buildCounterPublicDelegatedPrefixAggregatedListWarning++; if (buildCounterPublicDelegatedPrefixAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1165(); + o.data = buildUnnamed1190(); o.message = 'foo'; } buildCounterPublicDelegatedPrefixAggregatedListWarning--; @@ -23033,7 +23065,7 @@ void checkPublicDelegatedPrefixAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1165(o.data!); + checkUnnamed1190(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23049,11 +23081,11 @@ api.PublicDelegatedPrefixAggregatedList buildCounterPublicDelegatedPrefixAggregatedList++; if (buildCounterPublicDelegatedPrefixAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1163(); + o.items = buildUnnamed1188(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1164(); + o.unreachables = buildUnnamed1189(); o.warning = buildPublicDelegatedPrefixAggregatedListWarning(); } buildCounterPublicDelegatedPrefixAggregatedList--; @@ -23068,7 +23100,7 @@ void checkPublicDelegatedPrefixAggregatedList( o.id!, unittest.equals('foo'), ); - checkUnnamed1163(o.items!); + checkUnnamed1188(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -23081,18 +23113,18 @@ void checkPublicDelegatedPrefixAggregatedList( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1164(o.unreachables!); + checkUnnamed1189(o.unreachables!); checkPublicDelegatedPrefixAggregatedListWarning(o.warning!); } buildCounterPublicDelegatedPrefixAggregatedList--; } -core.List buildUnnamed1166() => [ +core.List buildUnnamed1191() => [ buildPublicDelegatedPrefix(), buildPublicDelegatedPrefix(), ]; -void checkUnnamed1166(core.List o) { +void checkUnnamed1191(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefix(o[0]); checkPublicDelegatedPrefix(o[1]); @@ -23127,12 +23159,12 @@ void checkPublicDelegatedPrefixListWarningData( buildCounterPublicDelegatedPrefixListWarningData--; } -core.List buildUnnamed1167() => [ +core.List buildUnnamed1192() => [ buildPublicDelegatedPrefixListWarningData(), buildPublicDelegatedPrefixListWarningData(), ]; -void checkUnnamed1167(core.List o) { +void checkUnnamed1192(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefixListWarningData(o[0]); checkPublicDelegatedPrefixListWarningData(o[1]); @@ -23144,7 +23176,7 @@ api.PublicDelegatedPrefixListWarning buildPublicDelegatedPrefixListWarning() { buildCounterPublicDelegatedPrefixListWarning++; if (buildCounterPublicDelegatedPrefixListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1167(); + o.data = buildUnnamed1192(); o.message = 'foo'; } buildCounterPublicDelegatedPrefixListWarning--; @@ -23159,7 +23191,7 @@ void checkPublicDelegatedPrefixListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1167(o.data!); + checkUnnamed1192(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23174,7 +23206,7 @@ api.PublicDelegatedPrefixList buildPublicDelegatedPrefixList() { buildCounterPublicDelegatedPrefixList++; if (buildCounterPublicDelegatedPrefixList < 3) { o.id = 'foo'; - o.items = buildUnnamed1166(); + o.items = buildUnnamed1191(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -23191,7 +23223,7 @@ void checkPublicDelegatedPrefixList(api.PublicDelegatedPrefixList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1166(o.items!); + checkUnnamed1191(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -23260,12 +23292,12 @@ void checkPublicDelegatedPrefixPublicDelegatedSubPrefix( buildCounterPublicDelegatedPrefixPublicDelegatedSubPrefix--; } -core.List buildUnnamed1168() => [ +core.List buildUnnamed1193() => [ buildPublicDelegatedPrefix(), buildPublicDelegatedPrefix(), ]; -void checkUnnamed1168(core.List o) { +void checkUnnamed1193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefix(o[0]); checkPublicDelegatedPrefix(o[1]); @@ -23301,12 +23333,12 @@ void checkPublicDelegatedPrefixesScopedListWarningData( } core.List - buildUnnamed1169() => [ + buildUnnamed1194() => [ buildPublicDelegatedPrefixesScopedListWarningData(), buildPublicDelegatedPrefixesScopedListWarningData(), ]; -void checkUnnamed1169( +void checkUnnamed1194( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublicDelegatedPrefixesScopedListWarningData(o[0]); @@ -23320,7 +23352,7 @@ api.PublicDelegatedPrefixesScopedListWarning buildCounterPublicDelegatedPrefixesScopedListWarning++; if (buildCounterPublicDelegatedPrefixesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1169(); + o.data = buildUnnamed1194(); o.message = 'foo'; } buildCounterPublicDelegatedPrefixesScopedListWarning--; @@ -23335,7 +23367,7 @@ void checkPublicDelegatedPrefixesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1169(o.data!); + checkUnnamed1194(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23349,7 +23381,7 @@ api.PublicDelegatedPrefixesScopedList buildPublicDelegatedPrefixesScopedList() { final o = api.PublicDelegatedPrefixesScopedList(); buildCounterPublicDelegatedPrefixesScopedList++; if (buildCounterPublicDelegatedPrefixesScopedList < 3) { - o.publicDelegatedPrefixes = buildUnnamed1168(); + o.publicDelegatedPrefixes = buildUnnamed1193(); o.warning = buildPublicDelegatedPrefixesScopedListWarning(); } buildCounterPublicDelegatedPrefixesScopedList--; @@ -23360,7 +23392,7 @@ void checkPublicDelegatedPrefixesScopedList( api.PublicDelegatedPrefixesScopedList o) { buildCounterPublicDelegatedPrefixesScopedList++; if (buildCounterPublicDelegatedPrefixesScopedList < 3) { - checkUnnamed1168(o.publicDelegatedPrefixes!); + checkUnnamed1193(o.publicDelegatedPrefixes!); checkPublicDelegatedPrefixesScopedListWarning(o.warning!); } buildCounterPublicDelegatedPrefixesScopedList--; @@ -23440,23 +23472,23 @@ void checkReference(api.Reference o) { buildCounterReference--; } -core.List buildUnnamed1170() => [ +core.List buildUnnamed1195() => [ buildQuota(), buildQuota(), ]; -void checkUnnamed1170(core.List o) { +void checkUnnamed1195(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuota(o[0]); checkQuota(o[1]); } -core.List buildUnnamed1171() => [ +core.List buildUnnamed1196() => [ 'foo', 'foo', ]; -void checkUnnamed1171(core.List o) { +void checkUnnamed1196(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23479,11 +23511,11 @@ api.Region buildRegion() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.quotas = buildUnnamed1170(); + o.quotas = buildUnnamed1195(); o.selfLink = 'foo'; o.status = 'foo'; o.supportsPzs = true; - o.zones = buildUnnamed1171(); + o.zones = buildUnnamed1196(); } buildCounterRegion--; return o; @@ -23513,7 +23545,7 @@ void checkRegion(api.Region o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1170(o.quotas!); + checkUnnamed1195(o.quotas!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -23523,17 +23555,17 @@ void checkRegion(api.Region o) { unittest.equals('foo'), ); unittest.expect(o.supportsPzs!, unittest.isTrue); - checkUnnamed1171(o.zones!); + checkUnnamed1196(o.zones!); } buildCounterRegion--; } -core.List buildUnnamed1172() => [ +core.List buildUnnamed1197() => [ buildAutoscaler(), buildAutoscaler(), ]; -void checkUnnamed1172(core.List o) { +void checkUnnamed1197(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscaler(o[0]); checkAutoscaler(o[1]); @@ -23567,12 +23599,12 @@ void checkRegionAutoscalerListWarningData( buildCounterRegionAutoscalerListWarningData--; } -core.List buildUnnamed1173() => [ +core.List buildUnnamed1198() => [ buildRegionAutoscalerListWarningData(), buildRegionAutoscalerListWarningData(), ]; -void checkUnnamed1173(core.List o) { +void checkUnnamed1198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionAutoscalerListWarningData(o[0]); checkRegionAutoscalerListWarningData(o[1]); @@ -23584,7 +23616,7 @@ api.RegionAutoscalerListWarning buildRegionAutoscalerListWarning() { buildCounterRegionAutoscalerListWarning++; if (buildCounterRegionAutoscalerListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1173(); + o.data = buildUnnamed1198(); o.message = 'foo'; } buildCounterRegionAutoscalerListWarning--; @@ -23598,7 +23630,7 @@ void checkRegionAutoscalerListWarning(api.RegionAutoscalerListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1173(o.data!); + checkUnnamed1198(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23613,7 +23645,7 @@ api.RegionAutoscalerList buildRegionAutoscalerList() { buildCounterRegionAutoscalerList++; if (buildCounterRegionAutoscalerList < 3) { o.id = 'foo'; - o.items = buildUnnamed1172(); + o.items = buildUnnamed1197(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -23630,7 +23662,7 @@ void checkRegionAutoscalerList(api.RegionAutoscalerList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1172(o.items!); + checkUnnamed1197(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -23648,12 +23680,12 @@ void checkRegionAutoscalerList(api.RegionAutoscalerList o) { buildCounterRegionAutoscalerList--; } -core.List buildUnnamed1174() => [ +core.List buildUnnamed1199() => [ buildDiskType(), buildDiskType(), ]; -void checkUnnamed1174(core.List o) { +void checkUnnamed1199(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskType(o[0]); checkDiskType(o[1]); @@ -23686,12 +23718,12 @@ void checkRegionDiskTypeListWarningData(api.RegionDiskTypeListWarningData o) { buildCounterRegionDiskTypeListWarningData--; } -core.List buildUnnamed1175() => [ +core.List buildUnnamed1200() => [ buildRegionDiskTypeListWarningData(), buildRegionDiskTypeListWarningData(), ]; -void checkUnnamed1175(core.List o) { +void checkUnnamed1200(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionDiskTypeListWarningData(o[0]); checkRegionDiskTypeListWarningData(o[1]); @@ -23703,7 +23735,7 @@ api.RegionDiskTypeListWarning buildRegionDiskTypeListWarning() { buildCounterRegionDiskTypeListWarning++; if (buildCounterRegionDiskTypeListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1175(); + o.data = buildUnnamed1200(); o.message = 'foo'; } buildCounterRegionDiskTypeListWarning--; @@ -23717,7 +23749,7 @@ void checkRegionDiskTypeListWarning(api.RegionDiskTypeListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1175(o.data!); + checkUnnamed1200(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23732,7 +23764,7 @@ api.RegionDiskTypeList buildRegionDiskTypeList() { buildCounterRegionDiskTypeList++; if (buildCounterRegionDiskTypeList < 3) { o.id = 'foo'; - o.items = buildUnnamed1174(); + o.items = buildUnnamed1199(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -23749,7 +23781,7 @@ void checkRegionDiskTypeList(api.RegionDiskTypeList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1174(o.items!); + checkUnnamed1199(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -23767,12 +23799,12 @@ void checkRegionDiskTypeList(api.RegionDiskTypeList o) { buildCounterRegionDiskTypeList--; } -core.List buildUnnamed1176() => [ +core.List buildUnnamed1201() => [ 'foo', 'foo', ]; -void checkUnnamed1176(core.List o) { +void checkUnnamed1201(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23790,7 +23822,7 @@ api.RegionDisksAddResourcePoliciesRequest final o = api.RegionDisksAddResourcePoliciesRequest(); buildCounterRegionDisksAddResourcePoliciesRequest++; if (buildCounterRegionDisksAddResourcePoliciesRequest < 3) { - o.resourcePolicies = buildUnnamed1176(); + o.resourcePolicies = buildUnnamed1201(); } buildCounterRegionDisksAddResourcePoliciesRequest--; return o; @@ -23800,17 +23832,17 @@ void checkRegionDisksAddResourcePoliciesRequest( api.RegionDisksAddResourcePoliciesRequest o) { buildCounterRegionDisksAddResourcePoliciesRequest++; if (buildCounterRegionDisksAddResourcePoliciesRequest < 3) { - checkUnnamed1176(o.resourcePolicies!); + checkUnnamed1201(o.resourcePolicies!); } buildCounterRegionDisksAddResourcePoliciesRequest--; } -core.List buildUnnamed1177() => [ +core.List buildUnnamed1202() => [ 'foo', 'foo', ]; -void checkUnnamed1177(core.List o) { +void checkUnnamed1202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23828,7 +23860,7 @@ api.RegionDisksRemoveResourcePoliciesRequest final o = api.RegionDisksRemoveResourcePoliciesRequest(); buildCounterRegionDisksRemoveResourcePoliciesRequest++; if (buildCounterRegionDisksRemoveResourcePoliciesRequest < 3) { - o.resourcePolicies = buildUnnamed1177(); + o.resourcePolicies = buildUnnamed1202(); } buildCounterRegionDisksRemoveResourcePoliciesRequest--; return o; @@ -23838,7 +23870,7 @@ void checkRegionDisksRemoveResourcePoliciesRequest( api.RegionDisksRemoveResourcePoliciesRequest o) { buildCounterRegionDisksRemoveResourcePoliciesRequest++; if (buildCounterRegionDisksRemoveResourcePoliciesRequest < 3) { - checkUnnamed1177(o.resourcePolicies!); + checkUnnamed1202(o.resourcePolicies!); } buildCounterRegionDisksRemoveResourcePoliciesRequest--; } @@ -23865,12 +23897,12 @@ void checkRegionDisksResizeRequest(api.RegionDisksResizeRequest o) { buildCounterRegionDisksResizeRequest--; } -core.List buildUnnamed1178() => [ +core.List buildUnnamed1203() => [ buildInstanceGroup(), buildInstanceGroup(), ]; -void checkUnnamed1178(core.List o) { +void checkUnnamed1203(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroup(o[0]); checkInstanceGroup(o[1]); @@ -23905,12 +23937,12 @@ void checkRegionInstanceGroupListWarningData( buildCounterRegionInstanceGroupListWarningData--; } -core.List buildUnnamed1179() => [ +core.List buildUnnamed1204() => [ buildRegionInstanceGroupListWarningData(), buildRegionInstanceGroupListWarningData(), ]; -void checkUnnamed1179(core.List o) { +void checkUnnamed1204(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionInstanceGroupListWarningData(o[0]); checkRegionInstanceGroupListWarningData(o[1]); @@ -23922,7 +23954,7 @@ api.RegionInstanceGroupListWarning buildRegionInstanceGroupListWarning() { buildCounterRegionInstanceGroupListWarning++; if (buildCounterRegionInstanceGroupListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1179(); + o.data = buildUnnamed1204(); o.message = 'foo'; } buildCounterRegionInstanceGroupListWarning--; @@ -23936,7 +23968,7 @@ void checkRegionInstanceGroupListWarning(api.RegionInstanceGroupListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1179(o.data!); + checkUnnamed1204(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23951,7 +23983,7 @@ api.RegionInstanceGroupList buildRegionInstanceGroupList() { buildCounterRegionInstanceGroupList++; if (buildCounterRegionInstanceGroupList < 3) { o.id = 'foo'; - o.items = buildUnnamed1178(); + o.items = buildUnnamed1203(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -23968,7 +24000,7 @@ void checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1178(o.items!); + checkUnnamed1203(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -23986,12 +24018,12 @@ void checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { buildCounterRegionInstanceGroupList--; } -core.List buildUnnamed1180() => [ +core.List buildUnnamed1205() => [ 'foo', 'foo', ]; -void checkUnnamed1180(core.List o) { +void checkUnnamed1205(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24009,7 +24041,7 @@ api.RegionInstanceGroupManagerDeleteInstanceConfigReq final o = api.RegionInstanceGroupManagerDeleteInstanceConfigReq(); buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq++; if (buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq < 3) { - o.names = buildUnnamed1180(); + o.names = buildUnnamed1205(); } buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq--; return o; @@ -24019,17 +24051,17 @@ void checkRegionInstanceGroupManagerDeleteInstanceConfigReq( api.RegionInstanceGroupManagerDeleteInstanceConfigReq o) { buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq++; if (buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq < 3) { - checkUnnamed1180(o.names!); + checkUnnamed1205(o.names!); } buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq--; } -core.List buildUnnamed1181() => [ +core.List buildUnnamed1206() => [ buildInstanceGroupManager(), buildInstanceGroupManager(), ]; -void checkUnnamed1181(core.List o) { +void checkUnnamed1206(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceGroupManager(o[0]); checkInstanceGroupManager(o[1]); @@ -24064,12 +24096,12 @@ void checkRegionInstanceGroupManagerListWarningData( buildCounterRegionInstanceGroupManagerListWarningData--; } -core.List buildUnnamed1182() => [ +core.List buildUnnamed1207() => [ buildRegionInstanceGroupManagerListWarningData(), buildRegionInstanceGroupManagerListWarningData(), ]; -void checkUnnamed1182( +void checkUnnamed1207( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionInstanceGroupManagerListWarningData(o[0]); @@ -24083,7 +24115,7 @@ api.RegionInstanceGroupManagerListWarning buildCounterRegionInstanceGroupManagerListWarning++; if (buildCounterRegionInstanceGroupManagerListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1182(); + o.data = buildUnnamed1207(); o.message = 'foo'; } buildCounterRegionInstanceGroupManagerListWarning--; @@ -24098,7 +24130,7 @@ void checkRegionInstanceGroupManagerListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1182(o.data!); + checkUnnamed1207(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -24113,7 +24145,7 @@ api.RegionInstanceGroupManagerList buildRegionInstanceGroupManagerList() { buildCounterRegionInstanceGroupManagerList++; if (buildCounterRegionInstanceGroupManagerList < 3) { o.id = 'foo'; - o.items = buildUnnamed1181(); + o.items = buildUnnamed1206(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -24130,7 +24162,7 @@ void checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1181(o.items!); + checkUnnamed1206(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -24148,12 +24180,12 @@ void checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { buildCounterRegionInstanceGroupManagerList--; } -core.List buildUnnamed1183() => [ +core.List buildUnnamed1208() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed1183(core.List o) { +void checkUnnamed1208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -24165,7 +24197,7 @@ api.RegionInstanceGroupManagerPatchInstanceConfigReq final o = api.RegionInstanceGroupManagerPatchInstanceConfigReq(); buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq++; if (buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq < 3) { - o.perInstanceConfigs = buildUnnamed1183(); + o.perInstanceConfigs = buildUnnamed1208(); } buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq--; return o; @@ -24175,17 +24207,17 @@ void checkRegionInstanceGroupManagerPatchInstanceConfigReq( api.RegionInstanceGroupManagerPatchInstanceConfigReq o) { buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq++; if (buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq < 3) { - checkUnnamed1183(o.perInstanceConfigs!); + checkUnnamed1208(o.perInstanceConfigs!); } buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq--; } -core.List buildUnnamed1184() => [ +core.List buildUnnamed1209() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed1184(core.List o) { +void checkUnnamed1209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -24197,7 +24229,7 @@ api.RegionInstanceGroupManagerUpdateInstanceConfigReq final o = api.RegionInstanceGroupManagerUpdateInstanceConfigReq(); buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq++; if (buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq < 3) { - o.perInstanceConfigs = buildUnnamed1184(); + o.perInstanceConfigs = buildUnnamed1209(); } buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq--; return o; @@ -24207,17 +24239,17 @@ void checkRegionInstanceGroupManagerUpdateInstanceConfigReq( api.RegionInstanceGroupManagerUpdateInstanceConfigReq o) { buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq++; if (buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq < 3) { - checkUnnamed1184(o.perInstanceConfigs!); + checkUnnamed1209(o.perInstanceConfigs!); } buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq--; } -core.List buildUnnamed1185() => [ +core.List buildUnnamed1210() => [ 'foo', 'foo', ]; -void checkUnnamed1185(core.List o) { +void checkUnnamed1210(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24235,7 +24267,7 @@ api.RegionInstanceGroupManagersAbandonInstancesRequest final o = api.RegionInstanceGroupManagersAbandonInstancesRequest(); buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { - o.instances = buildUnnamed1185(); + o.instances = buildUnnamed1210(); } buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; return o; @@ -24245,17 +24277,17 @@ void checkRegionInstanceGroupManagersAbandonInstancesRequest( api.RegionInstanceGroupManagersAbandonInstancesRequest o) { buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { - checkUnnamed1185(o.instances!); + checkUnnamed1210(o.instances!); } buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; } -core.List buildUnnamed1186() => [ +core.List buildUnnamed1211() => [ 'foo', 'foo', ]; -void checkUnnamed1186(core.List o) { +void checkUnnamed1211(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24274,7 +24306,7 @@ api.RegionInstanceGroupManagersApplyUpdatesRequest buildCounterRegionInstanceGroupManagersApplyUpdatesRequest++; if (buildCounterRegionInstanceGroupManagersApplyUpdatesRequest < 3) { o.allInstances = true; - o.instances = buildUnnamed1186(); + o.instances = buildUnnamed1211(); o.minimalAction = 'foo'; o.mostDisruptiveAllowedAction = 'foo'; } @@ -24287,7 +24319,7 @@ void checkRegionInstanceGroupManagersApplyUpdatesRequest( buildCounterRegionInstanceGroupManagersApplyUpdatesRequest++; if (buildCounterRegionInstanceGroupManagersApplyUpdatesRequest < 3) { unittest.expect(o.allInstances!, unittest.isTrue); - checkUnnamed1186(o.instances!); + checkUnnamed1211(o.instances!); unittest.expect( o.minimalAction!, unittest.equals('foo'), @@ -24300,12 +24332,12 @@ void checkRegionInstanceGroupManagersApplyUpdatesRequest( buildCounterRegionInstanceGroupManagersApplyUpdatesRequest--; } -core.List buildUnnamed1187() => [ +core.List buildUnnamed1212() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed1187(core.List o) { +void checkUnnamed1212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -24317,7 +24349,7 @@ api.RegionInstanceGroupManagersCreateInstancesRequest final o = api.RegionInstanceGroupManagersCreateInstancesRequest(); buildCounterRegionInstanceGroupManagersCreateInstancesRequest++; if (buildCounterRegionInstanceGroupManagersCreateInstancesRequest < 3) { - o.instances = buildUnnamed1187(); + o.instances = buildUnnamed1212(); } buildCounterRegionInstanceGroupManagersCreateInstancesRequest--; return o; @@ -24327,17 +24359,17 @@ void checkRegionInstanceGroupManagersCreateInstancesRequest( api.RegionInstanceGroupManagersCreateInstancesRequest o) { buildCounterRegionInstanceGroupManagersCreateInstancesRequest++; if (buildCounterRegionInstanceGroupManagersCreateInstancesRequest < 3) { - checkUnnamed1187(o.instances!); + checkUnnamed1212(o.instances!); } buildCounterRegionInstanceGroupManagersCreateInstancesRequest--; } -core.List buildUnnamed1188() => [ +core.List buildUnnamed1213() => [ 'foo', 'foo', ]; -void checkUnnamed1188(core.List o) { +void checkUnnamed1213(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24355,7 +24387,8 @@ api.RegionInstanceGroupManagersDeleteInstancesRequest final o = api.RegionInstanceGroupManagersDeleteInstancesRequest(); buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { - o.instances = buildUnnamed1188(); + o.instances = buildUnnamed1213(); + o.skipInstancesOnValidationError = true; } buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; return o; @@ -24365,17 +24398,18 @@ void checkRegionInstanceGroupManagersDeleteInstancesRequest( api.RegionInstanceGroupManagersDeleteInstancesRequest o) { buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { - checkUnnamed1188(o.instances!); + checkUnnamed1213(o.instances!); + unittest.expect(o.skipInstancesOnValidationError!, unittest.isTrue); } buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; } -core.List buildUnnamed1189() => [ +core.List buildUnnamed1214() => [ buildInstanceManagedByIgmError(), buildInstanceManagedByIgmError(), ]; -void checkUnnamed1189(core.List o) { +void checkUnnamed1214(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceManagedByIgmError(o[0]); checkInstanceManagedByIgmError(o[1]); @@ -24387,7 +24421,7 @@ api.RegionInstanceGroupManagersListErrorsResponse final o = api.RegionInstanceGroupManagersListErrorsResponse(); buildCounterRegionInstanceGroupManagersListErrorsResponse++; if (buildCounterRegionInstanceGroupManagersListErrorsResponse < 3) { - o.items = buildUnnamed1189(); + o.items = buildUnnamed1214(); o.nextPageToken = 'foo'; } buildCounterRegionInstanceGroupManagersListErrorsResponse--; @@ -24398,7 +24432,7 @@ void checkRegionInstanceGroupManagersListErrorsResponse( api.RegionInstanceGroupManagersListErrorsResponse o) { buildCounterRegionInstanceGroupManagersListErrorsResponse++; if (buildCounterRegionInstanceGroupManagersListErrorsResponse < 3) { - checkUnnamed1189(o.items!); + checkUnnamed1214(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -24407,12 +24441,12 @@ void checkRegionInstanceGroupManagersListErrorsResponse( buildCounterRegionInstanceGroupManagersListErrorsResponse--; } -core.List buildUnnamed1190() => [ +core.List buildUnnamed1215() => [ buildPerInstanceConfig(), buildPerInstanceConfig(), ]; -void checkUnnamed1190(core.List o) { +void checkUnnamed1215(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerInstanceConfig(o[0]); checkPerInstanceConfig(o[1]); @@ -24452,12 +24486,12 @@ void checkRegionInstanceGroupManagersListInstanceConfigsRespWarningData( } core.List - buildUnnamed1191() => [ + buildUnnamed1216() => [ buildRegionInstanceGroupManagersListInstanceConfigsRespWarningData(), buildRegionInstanceGroupManagersListInstanceConfigsRespWarningData(), ]; -void checkUnnamed1191( +void checkUnnamed1216( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -24474,7 +24508,7 @@ api.RegionInstanceGroupManagersListInstanceConfigsRespWarning if (buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1191(); + o.data = buildUnnamed1216(); o.message = 'foo'; } buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarning--; @@ -24490,7 +24524,7 @@ void checkRegionInstanceGroupManagersListInstanceConfigsRespWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1191(o.data!); + checkUnnamed1216(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -24505,7 +24539,7 @@ api.RegionInstanceGroupManagersListInstanceConfigsResp final o = api.RegionInstanceGroupManagersListInstanceConfigsResp(); buildCounterRegionInstanceGroupManagersListInstanceConfigsResp++; if (buildCounterRegionInstanceGroupManagersListInstanceConfigsResp < 3) { - o.items = buildUnnamed1190(); + o.items = buildUnnamed1215(); o.nextPageToken = 'foo'; o.warning = buildRegionInstanceGroupManagersListInstanceConfigsRespWarning(); @@ -24518,7 +24552,7 @@ void checkRegionInstanceGroupManagersListInstanceConfigsResp( api.RegionInstanceGroupManagersListInstanceConfigsResp o) { buildCounterRegionInstanceGroupManagersListInstanceConfigsResp++; if (buildCounterRegionInstanceGroupManagersListInstanceConfigsResp < 3) { - checkUnnamed1190(o.items!); + checkUnnamed1215(o.items!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -24528,12 +24562,12 @@ void checkRegionInstanceGroupManagersListInstanceConfigsResp( buildCounterRegionInstanceGroupManagersListInstanceConfigsResp--; } -core.List buildUnnamed1192() => [ +core.List buildUnnamed1217() => [ buildManagedInstance(), buildManagedInstance(), ]; -void checkUnnamed1192(core.List o) { +void checkUnnamed1217(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedInstance(o[0]); checkManagedInstance(o[1]); @@ -24545,7 +24579,7 @@ api.RegionInstanceGroupManagersListInstancesResponse final o = api.RegionInstanceGroupManagersListInstancesResponse(); buildCounterRegionInstanceGroupManagersListInstancesResponse++; if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { - o.managedInstances = buildUnnamed1192(); + o.managedInstances = buildUnnamed1217(); o.nextPageToken = 'foo'; } buildCounterRegionInstanceGroupManagersListInstancesResponse--; @@ -24556,7 +24590,7 @@ void checkRegionInstanceGroupManagersListInstancesResponse( api.RegionInstanceGroupManagersListInstancesResponse o) { buildCounterRegionInstanceGroupManagersListInstancesResponse++; if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { - checkUnnamed1192(o.managedInstances!); + checkUnnamed1217(o.managedInstances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -24565,12 +24599,12 @@ void checkRegionInstanceGroupManagersListInstancesResponse( buildCounterRegionInstanceGroupManagersListInstancesResponse--; } -core.List buildUnnamed1193() => [ +core.List buildUnnamed1218() => [ 'foo', 'foo', ]; -void checkUnnamed1193(core.List o) { +void checkUnnamed1218(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24588,7 +24622,7 @@ api.RegionInstanceGroupManagersRecreateRequest final o = api.RegionInstanceGroupManagersRecreateRequest(); buildCounterRegionInstanceGroupManagersRecreateRequest++; if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { - o.instances = buildUnnamed1193(); + o.instances = buildUnnamed1218(); } buildCounterRegionInstanceGroupManagersRecreateRequest--; return o; @@ -24598,17 +24632,17 @@ void checkRegionInstanceGroupManagersRecreateRequest( api.RegionInstanceGroupManagersRecreateRequest o) { buildCounterRegionInstanceGroupManagersRecreateRequest++; if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { - checkUnnamed1193(o.instances!); + checkUnnamed1218(o.instances!); } buildCounterRegionInstanceGroupManagersRecreateRequest--; } -core.List buildUnnamed1194() => [ +core.List buildUnnamed1219() => [ 'foo', 'foo', ]; -void checkUnnamed1194(core.List o) { +void checkUnnamed1219(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24627,7 +24661,7 @@ api.RegionInstanceGroupManagersSetTargetPoolsRequest buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { o.fingerprint = 'foo'; - o.targetPools = buildUnnamed1194(); + o.targetPools = buildUnnamed1219(); } buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; return o; @@ -24641,7 +24675,7 @@ void checkRegionInstanceGroupManagersSetTargetPoolsRequest( o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed1194(o.targetPools!); + checkUnnamed1219(o.targetPools!); } buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; } @@ -24670,12 +24704,12 @@ void checkRegionInstanceGroupManagersSetTemplateRequest( buildCounterRegionInstanceGroupManagersSetTemplateRequest--; } -core.List buildUnnamed1195() => [ +core.List buildUnnamed1220() => [ buildInstanceWithNamedPorts(), buildInstanceWithNamedPorts(), ]; -void checkUnnamed1195(core.List o) { +void checkUnnamed1220(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceWithNamedPorts(o[0]); checkInstanceWithNamedPorts(o[1]); @@ -24711,12 +24745,12 @@ void checkRegionInstanceGroupsListInstancesWarningData( } core.List - buildUnnamed1196() => [ + buildUnnamed1221() => [ buildRegionInstanceGroupsListInstancesWarningData(), buildRegionInstanceGroupsListInstancesWarningData(), ]; -void checkUnnamed1196( +void checkUnnamed1221( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionInstanceGroupsListInstancesWarningData(o[0]); @@ -24730,7 +24764,7 @@ api.RegionInstanceGroupsListInstancesWarning buildCounterRegionInstanceGroupsListInstancesWarning++; if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1196(); + o.data = buildUnnamed1221(); o.message = 'foo'; } buildCounterRegionInstanceGroupsListInstancesWarning--; @@ -24745,7 +24779,7 @@ void checkRegionInstanceGroupsListInstancesWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1196(o.data!); + checkUnnamed1221(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -24760,7 +24794,7 @@ api.RegionInstanceGroupsListInstances buildRegionInstanceGroupsListInstances() { buildCounterRegionInstanceGroupsListInstances++; if (buildCounterRegionInstanceGroupsListInstances < 3) { o.id = 'foo'; - o.items = buildUnnamed1195(); + o.items = buildUnnamed1220(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -24778,7 +24812,7 @@ void checkRegionInstanceGroupsListInstances( o.id!, unittest.equals('foo'), ); - checkUnnamed1195(o.items!); + checkUnnamed1220(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -24825,12 +24859,12 @@ void checkRegionInstanceGroupsListInstancesRequest( buildCounterRegionInstanceGroupsListInstancesRequest--; } -core.List buildUnnamed1197() => [ +core.List buildUnnamed1222() => [ buildNamedPort(), buildNamedPort(), ]; -void checkUnnamed1197(core.List o) { +void checkUnnamed1222(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedPort(o[0]); checkNamedPort(o[1]); @@ -24843,7 +24877,7 @@ api.RegionInstanceGroupsSetNamedPortsRequest buildCounterRegionInstanceGroupsSetNamedPortsRequest++; if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { o.fingerprint = 'foo'; - o.namedPorts = buildUnnamed1197(); + o.namedPorts = buildUnnamed1222(); } buildCounterRegionInstanceGroupsSetNamedPortsRequest--; return o; @@ -24857,17 +24891,17 @@ void checkRegionInstanceGroupsSetNamedPortsRequest( o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed1197(o.namedPorts!); + checkUnnamed1222(o.namedPorts!); } buildCounterRegionInstanceGroupsSetNamedPortsRequest--; } -core.List buildUnnamed1198() => [ +core.List buildUnnamed1223() => [ buildRegion(), buildRegion(), ]; -void checkUnnamed1198(core.List o) { +void checkUnnamed1223(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -24900,12 +24934,12 @@ void checkRegionListWarningData(api.RegionListWarningData o) { buildCounterRegionListWarningData--; } -core.List buildUnnamed1199() => [ +core.List buildUnnamed1224() => [ buildRegionListWarningData(), buildRegionListWarningData(), ]; -void checkUnnamed1199(core.List o) { +void checkUnnamed1224(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionListWarningData(o[0]); checkRegionListWarningData(o[1]); @@ -24917,7 +24951,7 @@ api.RegionListWarning buildRegionListWarning() { buildCounterRegionListWarning++; if (buildCounterRegionListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1199(); + o.data = buildUnnamed1224(); o.message = 'foo'; } buildCounterRegionListWarning--; @@ -24931,7 +24965,7 @@ void checkRegionListWarning(api.RegionListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1199(o.data!); + checkUnnamed1224(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -24946,7 +24980,7 @@ api.RegionList buildRegionList() { buildCounterRegionList++; if (buildCounterRegionList < 3) { o.id = 'foo'; - o.items = buildUnnamed1198(); + o.items = buildUnnamed1223(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -24963,7 +24997,7 @@ void checkRegionList(api.RegionList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1198(o.items!); + checkUnnamed1223(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -24981,12 +25015,12 @@ void checkRegionList(api.RegionList o) { buildCounterRegionList--; } -core.Map buildUnnamed1200() => { +core.Map buildUnnamed1225() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1200(core.Map o) { +void checkUnnamed1225(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -25004,7 +25038,7 @@ api.RegionSetLabelsRequest buildRegionSetLabelsRequest() { buildCounterRegionSetLabelsRequest++; if (buildCounterRegionSetLabelsRequest < 3) { o.labelFingerprint = 'foo'; - o.labels = buildUnnamed1200(); + o.labels = buildUnnamed1225(); } buildCounterRegionSetLabelsRequest--; return o; @@ -25017,17 +25051,17 @@ void checkRegionSetLabelsRequest(api.RegionSetLabelsRequest o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed1200(o.labels!); + checkUnnamed1225(o.labels!); } buildCounterRegionSetLabelsRequest--; } -core.List buildUnnamed1201() => [ +core.List buildUnnamed1226() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1201(core.List o) { +void checkUnnamed1226(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -25038,7 +25072,7 @@ api.RegionSetPolicyRequest buildRegionSetPolicyRequest() { final o = api.RegionSetPolicyRequest(); buildCounterRegionSetPolicyRequest++; if (buildCounterRegionSetPolicyRequest < 3) { - o.bindings = buildUnnamed1201(); + o.bindings = buildUnnamed1226(); o.etag = 'foo'; o.policy = buildPolicy(); } @@ -25049,7 +25083,7 @@ api.RegionSetPolicyRequest buildRegionSetPolicyRequest() { void checkRegionSetPolicyRequest(api.RegionSetPolicyRequest o) { buildCounterRegionSetPolicyRequest++; if (buildCounterRegionSetPolicyRequest < 3) { - checkUnnamed1201(o.bindings!); + checkUnnamed1226(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -25059,12 +25093,12 @@ void checkRegionSetPolicyRequest(api.RegionSetPolicyRequest o) { buildCounterRegionSetPolicyRequest--; } -core.List buildUnnamed1202() => [ +core.List buildUnnamed1227() => [ 'foo', 'foo', ]; -void checkUnnamed1202(core.List o) { +void checkUnnamed1227(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25082,7 +25116,7 @@ api.RegionTargetHttpsProxiesSetSslCertificatesRequest final o = api.RegionTargetHttpsProxiesSetSslCertificatesRequest(); buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest++; if (buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest < 3) { - o.sslCertificates = buildUnnamed1202(); + o.sslCertificates = buildUnnamed1227(); } buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest--; return o; @@ -25092,7 +25126,7 @@ void checkRegionTargetHttpsProxiesSetSslCertificatesRequest( api.RegionTargetHttpsProxiesSetSslCertificatesRequest o) { buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest++; if (buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest < 3) { - checkUnnamed1202(o.sslCertificates!); + checkUnnamed1227(o.sslCertificates!); } buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest--; } @@ -25206,12 +25240,12 @@ void checkReservation(api.Reservation o) { buildCounterReservation--; } -core.List buildUnnamed1203() => [ +core.List buildUnnamed1228() => [ 'foo', 'foo', ]; -void checkUnnamed1203(core.List o) { +void checkUnnamed1228(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25230,7 +25264,7 @@ api.ReservationAffinity buildReservationAffinity() { if (buildCounterReservationAffinity < 3) { o.consumeReservationType = 'foo'; o.key = 'foo'; - o.values = buildUnnamed1203(); + o.values = buildUnnamed1228(); } buildCounterReservationAffinity--; return o; @@ -25247,28 +25281,28 @@ void checkReservationAffinity(api.ReservationAffinity o) { o.key!, unittest.equals('foo'), ); - checkUnnamed1203(o.values!); + checkUnnamed1228(o.values!); } buildCounterReservationAffinity--; } -core.Map buildUnnamed1204() => { +core.Map buildUnnamed1229() => { 'x': buildReservationsScopedList(), 'y': buildReservationsScopedList(), }; -void checkUnnamed1204(core.Map o) { +void checkUnnamed1229(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkReservationsScopedList(o['x']!); checkReservationsScopedList(o['y']!); } -core.List buildUnnamed1205() => [ +core.List buildUnnamed1230() => [ 'foo', 'foo', ]; -void checkUnnamed1205(core.List o) { +void checkUnnamed1230(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25309,12 +25343,12 @@ void checkReservationAggregatedListWarningData( buildCounterReservationAggregatedListWarningData--; } -core.List buildUnnamed1206() => [ +core.List buildUnnamed1231() => [ buildReservationAggregatedListWarningData(), buildReservationAggregatedListWarningData(), ]; -void checkUnnamed1206(core.List o) { +void checkUnnamed1231(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservationAggregatedListWarningData(o[0]); checkReservationAggregatedListWarningData(o[1]); @@ -25326,7 +25360,7 @@ api.ReservationAggregatedListWarning buildReservationAggregatedListWarning() { buildCounterReservationAggregatedListWarning++; if (buildCounterReservationAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1206(); + o.data = buildUnnamed1231(); o.message = 'foo'; } buildCounterReservationAggregatedListWarning--; @@ -25341,7 +25375,7 @@ void checkReservationAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1206(o.data!); + checkUnnamed1231(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -25356,11 +25390,11 @@ api.ReservationAggregatedList buildReservationAggregatedList() { buildCounterReservationAggregatedList++; if (buildCounterReservationAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1204(); + o.items = buildUnnamed1229(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1205(); + o.unreachables = buildUnnamed1230(); o.warning = buildReservationAggregatedListWarning(); } buildCounterReservationAggregatedList--; @@ -25374,7 +25408,7 @@ void checkReservationAggregatedList(api.ReservationAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1204(o.items!); + checkUnnamed1229(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -25387,18 +25421,18 @@ void checkReservationAggregatedList(api.ReservationAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1205(o.unreachables!); + checkUnnamed1230(o.unreachables!); checkReservationAggregatedListWarning(o.warning!); } buildCounterReservationAggregatedList--; } -core.List buildUnnamed1207() => [ +core.List buildUnnamed1232() => [ buildReservation(), buildReservation(), ]; -void checkUnnamed1207(core.List o) { +void checkUnnamed1232(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservation(o[0]); checkReservation(o[1]); @@ -25431,12 +25465,12 @@ void checkReservationListWarningData(api.ReservationListWarningData o) { buildCounterReservationListWarningData--; } -core.List buildUnnamed1208() => [ +core.List buildUnnamed1233() => [ buildReservationListWarningData(), buildReservationListWarningData(), ]; -void checkUnnamed1208(core.List o) { +void checkUnnamed1233(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservationListWarningData(o[0]); checkReservationListWarningData(o[1]); @@ -25448,7 +25482,7 @@ api.ReservationListWarning buildReservationListWarning() { buildCounterReservationListWarning++; if (buildCounterReservationListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1208(); + o.data = buildUnnamed1233(); o.message = 'foo'; } buildCounterReservationListWarning--; @@ -25462,7 +25496,7 @@ void checkReservationListWarning(api.ReservationListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1208(o.data!); + checkUnnamed1233(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -25477,7 +25511,7 @@ api.ReservationList buildReservationList() { buildCounterReservationList++; if (buildCounterReservationList < 3) { o.id = 'foo'; - o.items = buildUnnamed1207(); + o.items = buildUnnamed1232(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -25494,7 +25528,7 @@ void checkReservationList(api.ReservationList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1207(o.items!); + checkUnnamed1232(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -25534,12 +25568,12 @@ void checkReservationsResizeRequest(api.ReservationsResizeRequest o) { buildCounterReservationsResizeRequest--; } -core.List buildUnnamed1209() => [ +core.List buildUnnamed1234() => [ buildReservation(), buildReservation(), ]; -void checkUnnamed1209(core.List o) { +void checkUnnamed1234(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservation(o[0]); checkReservation(o[1]); @@ -25573,12 +25607,12 @@ void checkReservationsScopedListWarningData( buildCounterReservationsScopedListWarningData--; } -core.List buildUnnamed1210() => [ +core.List buildUnnamed1235() => [ buildReservationsScopedListWarningData(), buildReservationsScopedListWarningData(), ]; -void checkUnnamed1210(core.List o) { +void checkUnnamed1235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReservationsScopedListWarningData(o[0]); checkReservationsScopedListWarningData(o[1]); @@ -25590,7 +25624,7 @@ api.ReservationsScopedListWarning buildReservationsScopedListWarning() { buildCounterReservationsScopedListWarning++; if (buildCounterReservationsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1210(); + o.data = buildUnnamed1235(); o.message = 'foo'; } buildCounterReservationsScopedListWarning--; @@ -25604,7 +25638,7 @@ void checkReservationsScopedListWarning(api.ReservationsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1210(o.data!); + checkUnnamed1235(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -25618,7 +25652,7 @@ api.ReservationsScopedList buildReservationsScopedList() { final o = api.ReservationsScopedList(); buildCounterReservationsScopedList++; if (buildCounterReservationsScopedList < 3) { - o.reservations = buildUnnamed1209(); + o.reservations = buildUnnamed1234(); o.warning = buildReservationsScopedListWarning(); } buildCounterReservationsScopedList--; @@ -25628,7 +25662,7 @@ api.ReservationsScopedList buildReservationsScopedList() { void checkReservationsScopedList(api.ReservationsScopedList o) { buildCounterReservationsScopedList++; if (buildCounterReservationsScopedList < 3) { - checkUnnamed1209(o.reservations!); + checkUnnamed1234(o.reservations!); checkReservationsScopedListWarning(o.warning!); } buildCounterReservationsScopedList--; @@ -25688,12 +25722,12 @@ void checkResourceGroupReference(api.ResourceGroupReference o) { buildCounterResourceGroupReference--; } -core.List buildUnnamed1211() => [ +core.List buildUnnamed1236() => [ buildResourcePolicy(), buildResourcePolicy(), ]; -void checkUnnamed1211(core.List o) { +void checkUnnamed1236(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePolicy(o[0]); checkResourcePolicy(o[1]); @@ -25728,12 +25762,12 @@ void checkResourcePoliciesScopedListWarningData( buildCounterResourcePoliciesScopedListWarningData--; } -core.List buildUnnamed1212() => [ +core.List buildUnnamed1237() => [ buildResourcePoliciesScopedListWarningData(), buildResourcePoliciesScopedListWarningData(), ]; -void checkUnnamed1212(core.List o) { +void checkUnnamed1237(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePoliciesScopedListWarningData(o[0]); checkResourcePoliciesScopedListWarningData(o[1]); @@ -25745,7 +25779,7 @@ api.ResourcePoliciesScopedListWarning buildResourcePoliciesScopedListWarning() { buildCounterResourcePoliciesScopedListWarning++; if (buildCounterResourcePoliciesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1212(); + o.data = buildUnnamed1237(); o.message = 'foo'; } buildCounterResourcePoliciesScopedListWarning--; @@ -25760,7 +25794,7 @@ void checkResourcePoliciesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1212(o.data!); + checkUnnamed1237(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -25774,7 +25808,7 @@ api.ResourcePoliciesScopedList buildResourcePoliciesScopedList() { final o = api.ResourcePoliciesScopedList(); buildCounterResourcePoliciesScopedList++; if (buildCounterResourcePoliciesScopedList < 3) { - o.resourcePolicies = buildUnnamed1211(); + o.resourcePolicies = buildUnnamed1236(); o.warning = buildResourcePoliciesScopedListWarning(); } buildCounterResourcePoliciesScopedList--; @@ -25784,7 +25818,7 @@ api.ResourcePoliciesScopedList buildResourcePoliciesScopedList() { void checkResourcePoliciesScopedList(api.ResourcePoliciesScopedList o) { buildCounterResourcePoliciesScopedList++; if (buildCounterResourcePoliciesScopedList < 3) { - checkUnnamed1211(o.resourcePolicies!); + checkUnnamed1236(o.resourcePolicies!); checkResourcePoliciesScopedListWarning(o.warning!); } buildCounterResourcePoliciesScopedList--; @@ -25855,23 +25889,23 @@ void checkResourcePolicy(api.ResourcePolicy o) { buildCounterResourcePolicy--; } -core.Map buildUnnamed1213() => { +core.Map buildUnnamed1238() => { 'x': buildResourcePoliciesScopedList(), 'y': buildResourcePoliciesScopedList(), }; -void checkUnnamed1213(core.Map o) { +void checkUnnamed1238(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePoliciesScopedList(o['x']!); checkResourcePoliciesScopedList(o['y']!); } -core.List buildUnnamed1214() => [ +core.List buildUnnamed1239() => [ 'foo', 'foo', ]; -void checkUnnamed1214(core.List o) { +void checkUnnamed1239(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -25912,12 +25946,12 @@ void checkResourcePolicyAggregatedListWarningData( buildCounterResourcePolicyAggregatedListWarningData--; } -core.List buildUnnamed1215() => [ +core.List buildUnnamed1240() => [ buildResourcePolicyAggregatedListWarningData(), buildResourcePolicyAggregatedListWarningData(), ]; -void checkUnnamed1215( +void checkUnnamed1240( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePolicyAggregatedListWarningData(o[0]); @@ -25931,7 +25965,7 @@ api.ResourcePolicyAggregatedListWarning buildCounterResourcePolicyAggregatedListWarning++; if (buildCounterResourcePolicyAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1215(); + o.data = buildUnnamed1240(); o.message = 'foo'; } buildCounterResourcePolicyAggregatedListWarning--; @@ -25946,7 +25980,7 @@ void checkResourcePolicyAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1215(o.data!); + checkUnnamed1240(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -25962,11 +25996,11 @@ api.ResourcePolicyAggregatedList buildResourcePolicyAggregatedList() { if (buildCounterResourcePolicyAggregatedList < 3) { o.etag = 'foo'; o.id = 'foo'; - o.items = buildUnnamed1213(); + o.items = buildUnnamed1238(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1214(); + o.unreachables = buildUnnamed1239(); o.warning = buildResourcePolicyAggregatedListWarning(); } buildCounterResourcePolicyAggregatedList--; @@ -25984,7 +26018,7 @@ void checkResourcePolicyAggregatedList(api.ResourcePolicyAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1213(o.items!); + checkUnnamed1238(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -25997,7 +26031,7 @@ void checkResourcePolicyAggregatedList(api.ResourcePolicyAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1214(o.unreachables!); + checkUnnamed1239(o.unreachables!); checkResourcePolicyAggregatedListWarning(o.warning!); } buildCounterResourcePolicyAggregatedList--; @@ -26163,12 +26197,12 @@ void checkResourcePolicyInstanceSchedulePolicySchedule( buildCounterResourcePolicyInstanceSchedulePolicySchedule--; } -core.List buildUnnamed1216() => [ +core.List buildUnnamed1241() => [ buildResourcePolicy(), buildResourcePolicy(), ]; -void checkUnnamed1216(core.List o) { +void checkUnnamed1241(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePolicy(o[0]); checkResourcePolicy(o[1]); @@ -26201,12 +26235,12 @@ void checkResourcePolicyListWarningData(api.ResourcePolicyListWarningData o) { buildCounterResourcePolicyListWarningData--; } -core.List buildUnnamed1217() => [ +core.List buildUnnamed1242() => [ buildResourcePolicyListWarningData(), buildResourcePolicyListWarningData(), ]; -void checkUnnamed1217(core.List o) { +void checkUnnamed1242(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePolicyListWarningData(o[0]); checkResourcePolicyListWarningData(o[1]); @@ -26218,7 +26252,7 @@ api.ResourcePolicyListWarning buildResourcePolicyListWarning() { buildCounterResourcePolicyListWarning++; if (buildCounterResourcePolicyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1217(); + o.data = buildUnnamed1242(); o.message = 'foo'; } buildCounterResourcePolicyListWarning--; @@ -26232,7 +26266,7 @@ void checkResourcePolicyListWarning(api.ResourcePolicyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1217(o.data!); + checkUnnamed1242(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -26248,7 +26282,7 @@ api.ResourcePolicyList buildResourcePolicyList() { if (buildCounterResourcePolicyList < 3) { o.etag = 'foo'; o.id = 'foo'; - o.items = buildUnnamed1216(); + o.items = buildUnnamed1241(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -26269,7 +26303,7 @@ void checkResourcePolicyList(api.ResourcePolicyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1216(o.items!); + checkUnnamed1241(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -26423,12 +26457,12 @@ void checkResourcePolicySnapshotSchedulePolicySchedule( buildCounterResourcePolicySnapshotSchedulePolicySchedule--; } -core.Map buildUnnamed1218() => { +core.Map buildUnnamed1243() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1218(core.Map o) { +void checkUnnamed1243(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -26440,12 +26474,12 @@ void checkUnnamed1218(core.Map o) { ); } -core.List buildUnnamed1219() => [ +core.List buildUnnamed1244() => [ 'foo', 'foo', ]; -void checkUnnamed1219(core.List o) { +void checkUnnamed1244(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26465,8 +26499,8 @@ api.ResourcePolicySnapshotSchedulePolicySnapshotProperties if (buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties < 3) { o.chainName = 'foo'; o.guestFlush = true; - o.labels = buildUnnamed1218(); - o.storageLocations = buildUnnamed1219(); + o.labels = buildUnnamed1243(); + o.storageLocations = buildUnnamed1244(); } buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties--; return o; @@ -26481,18 +26515,18 @@ void checkResourcePolicySnapshotSchedulePolicySnapshotProperties( unittest.equals('foo'), ); unittest.expect(o.guestFlush!, unittest.isTrue); - checkUnnamed1218(o.labels!); - checkUnnamed1219(o.storageLocations!); + checkUnnamed1243(o.labels!); + checkUnnamed1244(o.storageLocations!); } buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties--; } -core.List buildUnnamed1220() => [ +core.List buildUnnamed1245() => [ buildResourcePolicyWeeklyCycleDayOfWeek(), buildResourcePolicyWeeklyCycleDayOfWeek(), ]; -void checkUnnamed1220(core.List o) { +void checkUnnamed1245(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourcePolicyWeeklyCycleDayOfWeek(o[0]); checkResourcePolicyWeeklyCycleDayOfWeek(o[1]); @@ -26503,7 +26537,7 @@ api.ResourcePolicyWeeklyCycle buildResourcePolicyWeeklyCycle() { final o = api.ResourcePolicyWeeklyCycle(); buildCounterResourcePolicyWeeklyCycle++; if (buildCounterResourcePolicyWeeklyCycle < 3) { - o.dayOfWeeks = buildUnnamed1220(); + o.dayOfWeeks = buildUnnamed1245(); } buildCounterResourcePolicyWeeklyCycle--; return o; @@ -26512,7 +26546,7 @@ api.ResourcePolicyWeeklyCycle buildResourcePolicyWeeklyCycle() { void checkResourcePolicyWeeklyCycle(api.ResourcePolicyWeeklyCycle o) { buildCounterResourcePolicyWeeklyCycle++; if (buildCounterResourcePolicyWeeklyCycle < 3) { - checkUnnamed1220(o.dayOfWeeks!); + checkUnnamed1245(o.dayOfWeeks!); } buildCounterResourcePolicyWeeklyCycle--; } @@ -26551,12 +26585,12 @@ void checkResourcePolicyWeeklyCycleDayOfWeek( buildCounterResourcePolicyWeeklyCycleDayOfWeek--; } -core.List buildUnnamed1221() => [ +core.List buildUnnamed1246() => [ 'foo', 'foo', ]; -void checkUnnamed1221(core.List o) { +void checkUnnamed1246(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26595,12 +26629,12 @@ void checkRouteWarningsData(api.RouteWarningsData o) { buildCounterRouteWarningsData--; } -core.List buildUnnamed1222() => [ +core.List buildUnnamed1247() => [ buildRouteWarningsData(), buildRouteWarningsData(), ]; -void checkUnnamed1222(core.List o) { +void checkUnnamed1247(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouteWarningsData(o[0]); checkRouteWarningsData(o[1]); @@ -26612,7 +26646,7 @@ api.RouteWarnings buildRouteWarnings() { buildCounterRouteWarnings++; if (buildCounterRouteWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed1222(); + o.data = buildUnnamed1247(); o.message = 'foo'; } buildCounterRouteWarnings--; @@ -26626,7 +26660,7 @@ void checkRouteWarnings(api.RouteWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1222(o.data!); + checkUnnamed1247(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -26635,12 +26669,12 @@ void checkRouteWarnings(api.RouteWarnings o) { buildCounterRouteWarnings--; } -core.List buildUnnamed1223() => [ +core.List buildUnnamed1248() => [ buildRouteWarnings(), buildRouteWarnings(), ]; -void checkUnnamed1223(core.List o) { +void checkUnnamed1248(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouteWarnings(o[0]); checkRouteWarnings(o[1]); @@ -26667,8 +26701,8 @@ api.Route buildRoute() { o.nextHopVpnTunnel = 'foo'; o.priority = 42; o.selfLink = 'foo'; - o.tags = buildUnnamed1221(); - o.warnings = buildUnnamed1223(); + o.tags = buildUnnamed1246(); + o.warnings = buildUnnamed1248(); } buildCounterRoute--; return o; @@ -26741,18 +26775,18 @@ void checkRoute(api.Route o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1221(o.tags!); - checkUnnamed1223(o.warnings!); + checkUnnamed1246(o.tags!); + checkUnnamed1248(o.warnings!); } buildCounterRoute--; } -core.List buildUnnamed1224() => [ +core.List buildUnnamed1249() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed1224(core.List o) { +void checkUnnamed1249(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); @@ -26785,12 +26819,12 @@ void checkRouteListWarningData(api.RouteListWarningData o) { buildCounterRouteListWarningData--; } -core.List buildUnnamed1225() => [ +core.List buildUnnamed1250() => [ buildRouteListWarningData(), buildRouteListWarningData(), ]; -void checkUnnamed1225(core.List o) { +void checkUnnamed1250(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouteListWarningData(o[0]); checkRouteListWarningData(o[1]); @@ -26802,7 +26836,7 @@ api.RouteListWarning buildRouteListWarning() { buildCounterRouteListWarning++; if (buildCounterRouteListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1225(); + o.data = buildUnnamed1250(); o.message = 'foo'; } buildCounterRouteListWarning--; @@ -26816,7 +26850,7 @@ void checkRouteListWarning(api.RouteListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1225(o.data!); + checkUnnamed1250(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -26831,7 +26865,7 @@ api.RouteList buildRouteList() { buildCounterRouteList++; if (buildCounterRouteList < 3) { o.id = 'foo'; - o.items = buildUnnamed1224(); + o.items = buildUnnamed1249(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -26848,7 +26882,7 @@ void checkRouteList(api.RouteList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1224(o.items!); + checkUnnamed1249(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -26866,34 +26900,34 @@ void checkRouteList(api.RouteList o) { buildCounterRouteList--; } -core.List buildUnnamed1226() => [ +core.List buildUnnamed1251() => [ buildRouterBgpPeer(), buildRouterBgpPeer(), ]; -void checkUnnamed1226(core.List o) { +void checkUnnamed1251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterBgpPeer(o[0]); checkRouterBgpPeer(o[1]); } -core.List buildUnnamed1227() => [ +core.List buildUnnamed1252() => [ buildRouterInterface(), buildRouterInterface(), ]; -void checkUnnamed1227(core.List o) { +void checkUnnamed1252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterInterface(o[0]); checkRouterInterface(o[1]); } -core.List buildUnnamed1228() => [ +core.List buildUnnamed1253() => [ buildRouterNat(), buildRouterNat(), ]; -void checkUnnamed1228(core.List o) { +void checkUnnamed1253(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterNat(o[0]); checkRouterNat(o[1]); @@ -26905,15 +26939,15 @@ api.Router buildRouter() { buildCounterRouter++; if (buildCounterRouter < 3) { o.bgp = buildRouterBgp(); - o.bgpPeers = buildUnnamed1226(); + o.bgpPeers = buildUnnamed1251(); o.creationTimestamp = 'foo'; o.description = 'foo'; o.encryptedInterconnectRouter = true; o.id = 'foo'; - o.interfaces = buildUnnamed1227(); + o.interfaces = buildUnnamed1252(); o.kind = 'foo'; o.name = 'foo'; - o.nats = buildUnnamed1228(); + o.nats = buildUnnamed1253(); o.network = 'foo'; o.region = 'foo'; o.selfLink = 'foo'; @@ -26926,7 +26960,7 @@ void checkRouter(api.Router o) { buildCounterRouter++; if (buildCounterRouter < 3) { checkRouterBgp(o.bgp!); - checkUnnamed1226(o.bgpPeers!); + checkUnnamed1251(o.bgpPeers!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), @@ -26940,7 +26974,7 @@ void checkRouter(api.Router o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1227(o.interfaces!); + checkUnnamed1252(o.interfaces!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -26949,7 +26983,7 @@ void checkRouter(api.Router o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1228(o.nats!); + checkUnnamed1253(o.nats!); unittest.expect( o.network!, unittest.equals('foo'), @@ -26993,23 +27027,23 @@ void checkRouterAdvertisedIpRange(api.RouterAdvertisedIpRange o) { buildCounterRouterAdvertisedIpRange--; } -core.Map buildUnnamed1229() => { +core.Map buildUnnamed1254() => { 'x': buildRoutersScopedList(), 'y': buildRoutersScopedList(), }; -void checkUnnamed1229(core.Map o) { +void checkUnnamed1254(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRoutersScopedList(o['x']!); checkRoutersScopedList(o['y']!); } -core.List buildUnnamed1230() => [ +core.List buildUnnamed1255() => [ 'foo', 'foo', ]; -void checkUnnamed1230(core.List o) { +void checkUnnamed1255(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27049,12 +27083,12 @@ void checkRouterAggregatedListWarningData( buildCounterRouterAggregatedListWarningData--; } -core.List buildUnnamed1231() => [ +core.List buildUnnamed1256() => [ buildRouterAggregatedListWarningData(), buildRouterAggregatedListWarningData(), ]; -void checkUnnamed1231(core.List o) { +void checkUnnamed1256(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterAggregatedListWarningData(o[0]); checkRouterAggregatedListWarningData(o[1]); @@ -27066,7 +27100,7 @@ api.RouterAggregatedListWarning buildRouterAggregatedListWarning() { buildCounterRouterAggregatedListWarning++; if (buildCounterRouterAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1231(); + o.data = buildUnnamed1256(); o.message = 'foo'; } buildCounterRouterAggregatedListWarning--; @@ -27080,7 +27114,7 @@ void checkRouterAggregatedListWarning(api.RouterAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1231(o.data!); + checkUnnamed1256(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -27095,11 +27129,11 @@ api.RouterAggregatedList buildRouterAggregatedList() { buildCounterRouterAggregatedList++; if (buildCounterRouterAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1229(); + o.items = buildUnnamed1254(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1230(); + o.unreachables = buildUnnamed1255(); o.warning = buildRouterAggregatedListWarning(); } buildCounterRouterAggregatedList--; @@ -27113,7 +27147,7 @@ void checkRouterAggregatedList(api.RouterAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1229(o.items!); + checkUnnamed1254(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -27126,18 +27160,18 @@ void checkRouterAggregatedList(api.RouterAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1230(o.unreachables!); + checkUnnamed1255(o.unreachables!); checkRouterAggregatedListWarning(o.warning!); } buildCounterRouterAggregatedList--; } -core.List buildUnnamed1232() => [ +core.List buildUnnamed1257() => [ 'foo', 'foo', ]; -void checkUnnamed1232(core.List o) { +void checkUnnamed1257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27149,12 +27183,12 @@ void checkUnnamed1232(core.List o) { ); } -core.List buildUnnamed1233() => [ +core.List buildUnnamed1258() => [ buildRouterAdvertisedIpRange(), buildRouterAdvertisedIpRange(), ]; -void checkUnnamed1233(core.List o) { +void checkUnnamed1258(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterAdvertisedIpRange(o[0]); checkRouterAdvertisedIpRange(o[1]); @@ -27166,8 +27200,8 @@ api.RouterBgp buildRouterBgp() { buildCounterRouterBgp++; if (buildCounterRouterBgp < 3) { o.advertiseMode = 'foo'; - o.advertisedGroups = buildUnnamed1232(); - o.advertisedIpRanges = buildUnnamed1233(); + o.advertisedGroups = buildUnnamed1257(); + o.advertisedIpRanges = buildUnnamed1258(); o.asn = 42; o.keepaliveInterval = 42; } @@ -27182,8 +27216,8 @@ void checkRouterBgp(api.RouterBgp o) { o.advertiseMode!, unittest.equals('foo'), ); - checkUnnamed1232(o.advertisedGroups!); - checkUnnamed1233(o.advertisedIpRanges!); + checkUnnamed1257(o.advertisedGroups!); + checkUnnamed1258(o.advertisedIpRanges!); unittest.expect( o.asn!, unittest.equals(42), @@ -27196,12 +27230,12 @@ void checkRouterBgp(api.RouterBgp o) { buildCounterRouterBgp--; } -core.List buildUnnamed1234() => [ +core.List buildUnnamed1259() => [ 'foo', 'foo', ]; -void checkUnnamed1234(core.List o) { +void checkUnnamed1259(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27213,12 +27247,12 @@ void checkUnnamed1234(core.List o) { ); } -core.List buildUnnamed1235() => [ +core.List buildUnnamed1260() => [ buildRouterAdvertisedIpRange(), buildRouterAdvertisedIpRange(), ]; -void checkUnnamed1235(core.List o) { +void checkUnnamed1260(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterAdvertisedIpRange(o[0]); checkRouterAdvertisedIpRange(o[1]); @@ -27230,8 +27264,8 @@ api.RouterBgpPeer buildRouterBgpPeer() { buildCounterRouterBgpPeer++; if (buildCounterRouterBgpPeer < 3) { o.advertiseMode = 'foo'; - o.advertisedGroups = buildUnnamed1234(); - o.advertisedIpRanges = buildUnnamed1235(); + o.advertisedGroups = buildUnnamed1259(); + o.advertisedIpRanges = buildUnnamed1260(); o.advertisedRoutePriority = 42; o.enable = 'foo'; o.interfaceName = 'foo'; @@ -27252,8 +27286,8 @@ void checkRouterBgpPeer(api.RouterBgpPeer o) { o.advertiseMode!, unittest.equals('foo'), ); - checkUnnamed1234(o.advertisedGroups!); - checkUnnamed1235(o.advertisedIpRanges!); + checkUnnamed1259(o.advertisedGroups!); + checkUnnamed1260(o.advertisedIpRanges!); unittest.expect( o.advertisedRoutePriority!, unittest.equals(42), @@ -27332,12 +27366,12 @@ void checkRouterInterface(api.RouterInterface o) { buildCounterRouterInterface--; } -core.List buildUnnamed1236() => [ +core.List buildUnnamed1261() => [ buildRouter(), buildRouter(), ]; -void checkUnnamed1236(core.List o) { +void checkUnnamed1261(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouter(o[0]); checkRouter(o[1]); @@ -27370,12 +27404,12 @@ void checkRouterListWarningData(api.RouterListWarningData o) { buildCounterRouterListWarningData--; } -core.List buildUnnamed1237() => [ +core.List buildUnnamed1262() => [ buildRouterListWarningData(), buildRouterListWarningData(), ]; -void checkUnnamed1237(core.List o) { +void checkUnnamed1262(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterListWarningData(o[0]); checkRouterListWarningData(o[1]); @@ -27387,7 +27421,7 @@ api.RouterListWarning buildRouterListWarning() { buildCounterRouterListWarning++; if (buildCounterRouterListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1237(); + o.data = buildUnnamed1262(); o.message = 'foo'; } buildCounterRouterListWarning--; @@ -27401,7 +27435,7 @@ void checkRouterListWarning(api.RouterListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1237(o.data!); + checkUnnamed1262(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -27416,7 +27450,7 @@ api.RouterList buildRouterList() { buildCounterRouterList++; if (buildCounterRouterList < 3) { o.id = 'foo'; - o.items = buildUnnamed1236(); + o.items = buildUnnamed1261(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -27433,7 +27467,7 @@ void checkRouterList(api.RouterList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1236(o.items!); + checkUnnamed1261(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -27451,12 +27485,12 @@ void checkRouterList(api.RouterList o) { buildCounterRouterList--; } -core.List buildUnnamed1238() => [ +core.List buildUnnamed1263() => [ 'foo', 'foo', ]; -void checkUnnamed1238(core.List o) { +void checkUnnamed1263(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27468,12 +27502,12 @@ void checkUnnamed1238(core.List o) { ); } -core.List buildUnnamed1239() => [ +core.List buildUnnamed1264() => [ 'foo', 'foo', ]; -void checkUnnamed1239(core.List o) { +void checkUnnamed1264(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27485,12 +27519,12 @@ void checkUnnamed1239(core.List o) { ); } -core.List buildUnnamed1240() => [ +core.List buildUnnamed1265() => [ buildRouterNatSubnetworkToNat(), buildRouterNatSubnetworkToNat(), ]; -void checkUnnamed1240(core.List o) { +void checkUnnamed1265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterNatSubnetworkToNat(o[0]); checkRouterNatSubnetworkToNat(o[1]); @@ -27501,16 +27535,16 @@ api.RouterNat buildRouterNat() { final o = api.RouterNat(); buildCounterRouterNat++; if (buildCounterRouterNat < 3) { - o.drainNatIps = buildUnnamed1238(); + o.drainNatIps = buildUnnamed1263(); o.enableEndpointIndependentMapping = true; o.icmpIdleTimeoutSec = 42; o.logConfig = buildRouterNatLogConfig(); o.minPortsPerVm = 42; o.name = 'foo'; o.natIpAllocateOption = 'foo'; - o.natIps = buildUnnamed1239(); + o.natIps = buildUnnamed1264(); o.sourceSubnetworkIpRangesToNat = 'foo'; - o.subnetworks = buildUnnamed1240(); + o.subnetworks = buildUnnamed1265(); o.tcpEstablishedIdleTimeoutSec = 42; o.tcpTransitoryIdleTimeoutSec = 42; o.udpIdleTimeoutSec = 42; @@ -27522,7 +27556,7 @@ api.RouterNat buildRouterNat() { void checkRouterNat(api.RouterNat o) { buildCounterRouterNat++; if (buildCounterRouterNat < 3) { - checkUnnamed1238(o.drainNatIps!); + checkUnnamed1263(o.drainNatIps!); unittest.expect(o.enableEndpointIndependentMapping!, unittest.isTrue); unittest.expect( o.icmpIdleTimeoutSec!, @@ -27541,12 +27575,12 @@ void checkRouterNat(api.RouterNat o) { o.natIpAllocateOption!, unittest.equals('foo'), ); - checkUnnamed1239(o.natIps!); + checkUnnamed1264(o.natIps!); unittest.expect( o.sourceSubnetworkIpRangesToNat!, unittest.equals('foo'), ); - checkUnnamed1240(o.subnetworks!); + checkUnnamed1265(o.subnetworks!); unittest.expect( o.tcpEstablishedIdleTimeoutSec!, unittest.equals(42), @@ -27587,12 +27621,12 @@ void checkRouterNatLogConfig(api.RouterNatLogConfig o) { buildCounterRouterNatLogConfig--; } -core.List buildUnnamed1241() => [ +core.List buildUnnamed1266() => [ 'foo', 'foo', ]; -void checkUnnamed1241(core.List o) { +void checkUnnamed1266(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27604,12 +27638,12 @@ void checkUnnamed1241(core.List o) { ); } -core.List buildUnnamed1242() => [ +core.List buildUnnamed1267() => [ 'foo', 'foo', ]; -void checkUnnamed1242(core.List o) { +void checkUnnamed1267(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27627,8 +27661,8 @@ api.RouterNatSubnetworkToNat buildRouterNatSubnetworkToNat() { buildCounterRouterNatSubnetworkToNat++; if (buildCounterRouterNatSubnetworkToNat < 3) { o.name = 'foo'; - o.secondaryIpRangeNames = buildUnnamed1241(); - o.sourceIpRangesToNat = buildUnnamed1242(); + o.secondaryIpRangeNames = buildUnnamed1266(); + o.sourceIpRangesToNat = buildUnnamed1267(); } buildCounterRouterNatSubnetworkToNat--; return o; @@ -27641,51 +27675,51 @@ void checkRouterNatSubnetworkToNat(api.RouterNatSubnetworkToNat o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1241(o.secondaryIpRangeNames!); - checkUnnamed1242(o.sourceIpRangesToNat!); + checkUnnamed1266(o.secondaryIpRangeNames!); + checkUnnamed1267(o.sourceIpRangesToNat!); } buildCounterRouterNatSubnetworkToNat--; } -core.List buildUnnamed1243() => [ +core.List buildUnnamed1268() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed1243(core.List o) { +void checkUnnamed1268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); } -core.List buildUnnamed1244() => [ +core.List buildUnnamed1269() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed1244(core.List o) { +void checkUnnamed1269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); } -core.List buildUnnamed1245() => [ +core.List buildUnnamed1270() => [ buildRouterStatusBgpPeerStatus(), buildRouterStatusBgpPeerStatus(), ]; -void checkUnnamed1245(core.List o) { +void checkUnnamed1270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterStatusBgpPeerStatus(o[0]); checkRouterStatusBgpPeerStatus(o[1]); } -core.List buildUnnamed1246() => [ +core.List buildUnnamed1271() => [ buildRouterStatusNatStatus(), buildRouterStatusNatStatus(), ]; -void checkUnnamed1246(core.List o) { +void checkUnnamed1271(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterStatusNatStatus(o[0]); checkRouterStatusNatStatus(o[1]); @@ -27696,10 +27730,10 @@ api.RouterStatus buildRouterStatus() { final o = api.RouterStatus(); buildCounterRouterStatus++; if (buildCounterRouterStatus < 3) { - o.bestRoutes = buildUnnamed1243(); - o.bestRoutesForRouter = buildUnnamed1244(); - o.bgpPeerStatus = buildUnnamed1245(); - o.natStatus = buildUnnamed1246(); + o.bestRoutes = buildUnnamed1268(); + o.bestRoutesForRouter = buildUnnamed1269(); + o.bgpPeerStatus = buildUnnamed1270(); + o.natStatus = buildUnnamed1271(); o.network = 'foo'; } buildCounterRouterStatus--; @@ -27709,10 +27743,10 @@ api.RouterStatus buildRouterStatus() { void checkRouterStatus(api.RouterStatus o) { buildCounterRouterStatus++; if (buildCounterRouterStatus < 3) { - checkUnnamed1243(o.bestRoutes!); - checkUnnamed1244(o.bestRoutesForRouter!); - checkUnnamed1245(o.bgpPeerStatus!); - checkUnnamed1246(o.natStatus!); + checkUnnamed1268(o.bestRoutes!); + checkUnnamed1269(o.bestRoutesForRouter!); + checkUnnamed1270(o.bgpPeerStatus!); + checkUnnamed1271(o.natStatus!); unittest.expect( o.network!, unittest.equals('foo'), @@ -27721,12 +27755,12 @@ void checkRouterStatus(api.RouterStatus o) { buildCounterRouterStatus--; } -core.List buildUnnamed1247() => [ +core.List buildUnnamed1272() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed1247(core.List o) { +void checkUnnamed1272(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); @@ -27737,7 +27771,7 @@ api.RouterStatusBgpPeerStatus buildRouterStatusBgpPeerStatus() { final o = api.RouterStatusBgpPeerStatus(); buildCounterRouterStatusBgpPeerStatus++; if (buildCounterRouterStatusBgpPeerStatus < 3) { - o.advertisedRoutes = buildUnnamed1247(); + o.advertisedRoutes = buildUnnamed1272(); o.ipAddress = 'foo'; o.linkedVpnTunnel = 'foo'; o.name = 'foo'; @@ -27755,7 +27789,7 @@ api.RouterStatusBgpPeerStatus buildRouterStatusBgpPeerStatus() { void checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { buildCounterRouterStatusBgpPeerStatus++; if (buildCounterRouterStatusBgpPeerStatus < 3) { - checkUnnamed1247(o.advertisedRoutes!); + checkUnnamed1272(o.advertisedRoutes!); unittest.expect( o.ipAddress!, unittest.equals('foo'), @@ -27796,12 +27830,12 @@ void checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { buildCounterRouterStatusBgpPeerStatus--; } -core.List buildUnnamed1248() => [ +core.List buildUnnamed1273() => [ 'foo', 'foo', ]; -void checkUnnamed1248(core.List o) { +void checkUnnamed1273(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27813,12 +27847,12 @@ void checkUnnamed1248(core.List o) { ); } -core.List buildUnnamed1249() => [ +core.List buildUnnamed1274() => [ 'foo', 'foo', ]; -void checkUnnamed1249(core.List o) { +void checkUnnamed1274(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27830,12 +27864,12 @@ void checkUnnamed1249(core.List o) { ); } -core.List buildUnnamed1250() => [ +core.List buildUnnamed1275() => [ 'foo', 'foo', ]; -void checkUnnamed1250(core.List o) { +void checkUnnamed1275(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27847,12 +27881,12 @@ void checkUnnamed1250(core.List o) { ); } -core.List buildUnnamed1251() => [ +core.List buildUnnamed1276() => [ 'foo', 'foo', ]; -void checkUnnamed1251(core.List o) { +void checkUnnamed1276(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27864,12 +27898,12 @@ void checkUnnamed1251(core.List o) { ); } -core.List buildUnnamed1252() => [ +core.List buildUnnamed1277() => [ 'foo', 'foo', ]; -void checkUnnamed1252(core.List o) { +void checkUnnamed1277(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -27886,14 +27920,14 @@ api.RouterStatusNatStatus buildRouterStatusNatStatus() { final o = api.RouterStatusNatStatus(); buildCounterRouterStatusNatStatus++; if (buildCounterRouterStatusNatStatus < 3) { - o.autoAllocatedNatIps = buildUnnamed1248(); - o.drainAutoAllocatedNatIps = buildUnnamed1249(); - o.drainUserAllocatedNatIps = buildUnnamed1250(); + o.autoAllocatedNatIps = buildUnnamed1273(); + o.drainAutoAllocatedNatIps = buildUnnamed1274(); + o.drainUserAllocatedNatIps = buildUnnamed1275(); o.minExtraNatIpsNeeded = 42; o.name = 'foo'; o.numVmEndpointsWithNatMappings = 42; - o.userAllocatedNatIpResources = buildUnnamed1251(); - o.userAllocatedNatIps = buildUnnamed1252(); + o.userAllocatedNatIpResources = buildUnnamed1276(); + o.userAllocatedNatIps = buildUnnamed1277(); } buildCounterRouterStatusNatStatus--; return o; @@ -27902,9 +27936,9 @@ api.RouterStatusNatStatus buildRouterStatusNatStatus() { void checkRouterStatusNatStatus(api.RouterStatusNatStatus o) { buildCounterRouterStatusNatStatus++; if (buildCounterRouterStatusNatStatus < 3) { - checkUnnamed1248(o.autoAllocatedNatIps!); - checkUnnamed1249(o.drainAutoAllocatedNatIps!); - checkUnnamed1250(o.drainUserAllocatedNatIps!); + checkUnnamed1273(o.autoAllocatedNatIps!); + checkUnnamed1274(o.drainAutoAllocatedNatIps!); + checkUnnamed1275(o.drainUserAllocatedNatIps!); unittest.expect( o.minExtraNatIpsNeeded!, unittest.equals(42), @@ -27917,8 +27951,8 @@ void checkRouterStatusNatStatus(api.RouterStatusNatStatus o) { o.numVmEndpointsWithNatMappings!, unittest.equals(42), ); - checkUnnamed1251(o.userAllocatedNatIpResources!); - checkUnnamed1252(o.userAllocatedNatIps!); + checkUnnamed1276(o.userAllocatedNatIpResources!); + checkUnnamed1277(o.userAllocatedNatIps!); } buildCounterRouterStatusNatStatus--; } @@ -27966,12 +28000,12 @@ void checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { buildCounterRoutersPreviewResponse--; } -core.List buildUnnamed1253() => [ +core.List buildUnnamed1278() => [ buildRouter(), buildRouter(), ]; -void checkUnnamed1253(core.List o) { +void checkUnnamed1278(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouter(o[0]); checkRouter(o[1]); @@ -28004,12 +28038,12 @@ void checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { buildCounterRoutersScopedListWarningData--; } -core.List buildUnnamed1254() => [ +core.List buildUnnamed1279() => [ buildRoutersScopedListWarningData(), buildRoutersScopedListWarningData(), ]; -void checkUnnamed1254(core.List o) { +void checkUnnamed1279(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutersScopedListWarningData(o[0]); checkRoutersScopedListWarningData(o[1]); @@ -28021,7 +28055,7 @@ api.RoutersScopedListWarning buildRoutersScopedListWarning() { buildCounterRoutersScopedListWarning++; if (buildCounterRoutersScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1254(); + o.data = buildUnnamed1279(); o.message = 'foo'; } buildCounterRoutersScopedListWarning--; @@ -28035,7 +28069,7 @@ void checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1254(o.data!); + checkUnnamed1279(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -28049,7 +28083,7 @@ api.RoutersScopedList buildRoutersScopedList() { final o = api.RoutersScopedList(); buildCounterRoutersScopedList++; if (buildCounterRoutersScopedList < 3) { - o.routers = buildUnnamed1253(); + o.routers = buildUnnamed1278(); o.warning = buildRoutersScopedListWarning(); } buildCounterRoutersScopedList--; @@ -28059,29 +28093,29 @@ api.RoutersScopedList buildRoutersScopedList() { void checkRoutersScopedList(api.RoutersScopedList o) { buildCounterRoutersScopedList++; if (buildCounterRoutersScopedList < 3) { - checkUnnamed1253(o.routers!); + checkUnnamed1278(o.routers!); checkRoutersScopedListWarning(o.warning!); } buildCounterRoutersScopedList--; } -core.List buildUnnamed1255() => [ +core.List buildUnnamed1280() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed1255(core.List o) { +void checkUnnamed1280(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed1256() => [ +core.List buildUnnamed1281() => [ 'foo', 'foo', ]; -void checkUnnamed1256(core.List o) { +void checkUnnamed1281(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28093,23 +28127,23 @@ void checkUnnamed1256(core.List o) { ); } -core.List buildUnnamed1257() => [ +core.List buildUnnamed1282() => [ buildLogConfig(), buildLogConfig(), ]; -void checkUnnamed1257(core.List o) { +void checkUnnamed1282(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogConfig(o[0]); checkLogConfig(o[1]); } -core.List buildUnnamed1258() => [ +core.List buildUnnamed1283() => [ 'foo', 'foo', ]; -void checkUnnamed1258(core.List o) { +void checkUnnamed1283(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28121,12 +28155,12 @@ void checkUnnamed1258(core.List o) { ); } -core.List buildUnnamed1259() => [ +core.List buildUnnamed1284() => [ 'foo', 'foo', ]; -void checkUnnamed1259(core.List o) { +void checkUnnamed1284(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28144,12 +28178,12 @@ api.Rule buildRule() { buildCounterRule++; if (buildCounterRule < 3) { o.action = 'foo'; - o.conditions = buildUnnamed1255(); + o.conditions = buildUnnamed1280(); o.description = 'foo'; - o.ins = buildUnnamed1256(); - o.logConfigs = buildUnnamed1257(); - o.notIns = buildUnnamed1258(); - o.permissions = buildUnnamed1259(); + o.ins = buildUnnamed1281(); + o.logConfigs = buildUnnamed1282(); + o.notIns = buildUnnamed1283(); + o.permissions = buildUnnamed1284(); } buildCounterRule--; return o; @@ -28162,15 +28196,15 @@ void checkRule(api.Rule o) { o.action!, unittest.equals('foo'), ); - checkUnnamed1255(o.conditions!); + checkUnnamed1280(o.conditions!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed1256(o.ins!); - checkUnnamed1257(o.logConfigs!); - checkUnnamed1258(o.notIns!); - checkUnnamed1259(o.permissions!); + checkUnnamed1281(o.ins!); + checkUnnamed1282(o.logConfigs!); + checkUnnamed1283(o.notIns!); + checkUnnamed1284(o.permissions!); } buildCounterRule--; } @@ -28254,12 +28288,12 @@ void checkScalingScheduleStatus(api.ScalingScheduleStatus o) { buildCounterScalingScheduleStatus--; } -core.List buildUnnamed1260() => [ +core.List buildUnnamed1285() => [ buildSchedulingNodeAffinity(), buildSchedulingNodeAffinity(), ]; -void checkUnnamed1260(core.List o) { +void checkUnnamed1285(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchedulingNodeAffinity(o[0]); checkSchedulingNodeAffinity(o[1]); @@ -28273,7 +28307,7 @@ api.Scheduling buildScheduling() { o.automaticRestart = true; o.locationHint = 'foo'; o.minNodeCpus = 42; - o.nodeAffinities = buildUnnamed1260(); + o.nodeAffinities = buildUnnamed1285(); o.onHostMaintenance = 'foo'; o.preemptible = true; } @@ -28293,7 +28327,7 @@ void checkScheduling(api.Scheduling o) { o.minNodeCpus!, unittest.equals(42), ); - checkUnnamed1260(o.nodeAffinities!); + checkUnnamed1285(o.nodeAffinities!); unittest.expect( o.onHostMaintenance!, unittest.equals('foo'), @@ -28303,12 +28337,12 @@ void checkScheduling(api.Scheduling o) { buildCounterScheduling--; } -core.List buildUnnamed1261() => [ +core.List buildUnnamed1286() => [ 'foo', 'foo', ]; -void checkUnnamed1261(core.List o) { +void checkUnnamed1286(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28327,7 +28361,7 @@ api.SchedulingNodeAffinity buildSchedulingNodeAffinity() { if (buildCounterSchedulingNodeAffinity < 3) { o.key = 'foo'; o.operator = 'foo'; - o.values = buildUnnamed1261(); + o.values = buildUnnamed1286(); } buildCounterSchedulingNodeAffinity--; return o; @@ -28344,7 +28378,7 @@ void checkSchedulingNodeAffinity(api.SchedulingNodeAffinity o) { o.operator!, unittest.equals('foo'), ); - checkUnnamed1261(o.values!); + checkUnnamed1286(o.values!); } buildCounterSchedulingNodeAffinity--; } @@ -28417,12 +28451,12 @@ void checkSecurityPoliciesWafConfig(api.SecurityPoliciesWafConfig o) { buildCounterSecurityPoliciesWafConfig--; } -core.List buildUnnamed1262() => [ +core.List buildUnnamed1287() => [ buildSecurityPolicyRule(), buildSecurityPolicyRule(), ]; -void checkUnnamed1262(core.List o) { +void checkUnnamed1287(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecurityPolicyRule(o[0]); checkSecurityPolicyRule(o[1]); @@ -28441,7 +28475,7 @@ api.SecurityPolicy buildSecurityPolicy() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.rules = buildUnnamed1262(); + o.rules = buildUnnamed1287(); o.selfLink = 'foo'; } buildCounterSecurityPolicy--; @@ -28477,7 +28511,7 @@ void checkSecurityPolicy(api.SecurityPolicy o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1262(o.rules!); + checkUnnamed1287(o.rules!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -28568,12 +28602,12 @@ void checkSecurityPolicyAdvancedOptionsConfig( buildCounterSecurityPolicyAdvancedOptionsConfig--; } -core.List buildUnnamed1263() => [ +core.List buildUnnamed1288() => [ buildSecurityPolicy(), buildSecurityPolicy(), ]; -void checkUnnamed1263(core.List o) { +void checkUnnamed1288(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecurityPolicy(o[0]); checkSecurityPolicy(o[1]); @@ -28606,12 +28640,12 @@ void checkSecurityPolicyListWarningData(api.SecurityPolicyListWarningData o) { buildCounterSecurityPolicyListWarningData--; } -core.List buildUnnamed1264() => [ +core.List buildUnnamed1289() => [ buildSecurityPolicyListWarningData(), buildSecurityPolicyListWarningData(), ]; -void checkUnnamed1264(core.List o) { +void checkUnnamed1289(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecurityPolicyListWarningData(o[0]); checkSecurityPolicyListWarningData(o[1]); @@ -28623,7 +28657,7 @@ api.SecurityPolicyListWarning buildSecurityPolicyListWarning() { buildCounterSecurityPolicyListWarning++; if (buildCounterSecurityPolicyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1264(); + o.data = buildUnnamed1289(); o.message = 'foo'; } buildCounterSecurityPolicyListWarning--; @@ -28637,7 +28671,7 @@ void checkSecurityPolicyListWarning(api.SecurityPolicyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1264(o.data!); + checkUnnamed1289(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -28652,7 +28686,7 @@ api.SecurityPolicyList buildSecurityPolicyList() { buildCounterSecurityPolicyList++; if (buildCounterSecurityPolicyList < 3) { o.id = 'foo'; - o.items = buildUnnamed1263(); + o.items = buildUnnamed1288(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.warning = buildSecurityPolicyListWarning(); @@ -28668,7 +28702,7 @@ void checkSecurityPolicyList(api.SecurityPolicyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1263(o.items!); + checkUnnamed1288(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -28771,12 +28805,12 @@ void checkSecurityPolicyRuleMatcher(api.SecurityPolicyRuleMatcher o) { buildCounterSecurityPolicyRuleMatcher--; } -core.List buildUnnamed1265() => [ +core.List buildUnnamed1290() => [ 'foo', 'foo', ]; -void checkUnnamed1265(core.List o) { +void checkUnnamed1290(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28793,7 +28827,7 @@ api.SecurityPolicyRuleMatcherConfig buildSecurityPolicyRuleMatcherConfig() { final o = api.SecurityPolicyRuleMatcherConfig(); buildCounterSecurityPolicyRuleMatcherConfig++; if (buildCounterSecurityPolicyRuleMatcherConfig < 3) { - o.srcIpRanges = buildUnnamed1265(); + o.srcIpRanges = buildUnnamed1290(); } buildCounterSecurityPolicyRuleMatcherConfig--; return o; @@ -28803,17 +28837,17 @@ void checkSecurityPolicyRuleMatcherConfig( api.SecurityPolicyRuleMatcherConfig o) { buildCounterSecurityPolicyRuleMatcherConfig++; if (buildCounterSecurityPolicyRuleMatcherConfig < 3) { - checkUnnamed1265(o.srcIpRanges!); + checkUnnamed1290(o.srcIpRanges!); } buildCounterSecurityPolicyRuleMatcherConfig--; } -core.List buildUnnamed1266() => [ +core.List buildUnnamed1291() => [ 'foo', 'foo', ]; -void checkUnnamed1266(core.List o) { +void checkUnnamed1291(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28831,7 +28865,7 @@ api.SecuritySettings buildSecuritySettings() { buildCounterSecuritySettings++; if (buildCounterSecuritySettings < 3) { o.clientTlsPolicy = 'foo'; - o.subjectAltNames = buildUnnamed1266(); + o.subjectAltNames = buildUnnamed1291(); } buildCounterSecuritySettings--; return o; @@ -28844,7 +28878,7 @@ void checkSecuritySettings(api.SecuritySettings o) { o.clientTlsPolicy!, unittest.equals('foo'), ); - checkUnnamed1266(o.subjectAltNames!); + checkUnnamed1291(o.subjectAltNames!); } buildCounterSecuritySettings--; } @@ -28913,12 +28947,12 @@ void checkServerBinding(api.ServerBinding o) { buildCounterServerBinding--; } -core.List buildUnnamed1267() => [ +core.List buildUnnamed1292() => [ 'foo', 'foo', ]; -void checkUnnamed1267(core.List o) { +void checkUnnamed1292(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28936,7 +28970,7 @@ api.ServiceAccount buildServiceAccount() { buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { o.email = 'foo'; - o.scopes = buildUnnamed1267(); + o.scopes = buildUnnamed1292(); } buildCounterServiceAccount--; return o; @@ -28949,39 +28983,39 @@ void checkServiceAccount(api.ServiceAccount o) { o.email!, unittest.equals('foo'), ); - checkUnnamed1267(o.scopes!); + checkUnnamed1292(o.scopes!); } buildCounterServiceAccount--; } -core.List buildUnnamed1268() => [ +core.List buildUnnamed1293() => [ buildServiceAttachmentConnectedEndpoint(), buildServiceAttachmentConnectedEndpoint(), ]; -void checkUnnamed1268(core.List o) { +void checkUnnamed1293(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachmentConnectedEndpoint(o[0]); checkServiceAttachmentConnectedEndpoint(o[1]); } -core.List buildUnnamed1269() => [ +core.List buildUnnamed1294() => [ buildServiceAttachmentConsumerProjectLimit(), buildServiceAttachmentConsumerProjectLimit(), ]; -void checkUnnamed1269(core.List o) { +void checkUnnamed1294(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachmentConsumerProjectLimit(o[0]); checkServiceAttachmentConsumerProjectLimit(o[1]); } -core.List buildUnnamed1270() => [ +core.List buildUnnamed1295() => [ 'foo', 'foo', ]; -void checkUnnamed1270(core.List o) { +void checkUnnamed1295(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -28993,12 +29027,12 @@ void checkUnnamed1270(core.List o) { ); } -core.List buildUnnamed1271() => [ +core.List buildUnnamed1296() => [ 'foo', 'foo', ]; -void checkUnnamed1271(core.List o) { +void checkUnnamed1296(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -29015,10 +29049,10 @@ api.ServiceAttachment buildServiceAttachment() { final o = api.ServiceAttachment(); buildCounterServiceAttachment++; if (buildCounterServiceAttachment < 3) { - o.connectedEndpoints = buildUnnamed1268(); + o.connectedEndpoints = buildUnnamed1293(); o.connectionPreference = 'foo'; - o.consumerAcceptLists = buildUnnamed1269(); - o.consumerRejectLists = buildUnnamed1270(); + o.consumerAcceptLists = buildUnnamed1294(); + o.consumerRejectLists = buildUnnamed1295(); o.creationTimestamp = 'foo'; o.description = 'foo'; o.enableProxyProtocol = true; @@ -29026,7 +29060,7 @@ api.ServiceAttachment buildServiceAttachment() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.natSubnets = buildUnnamed1271(); + o.natSubnets = buildUnnamed1296(); o.producerForwardingRule = 'foo'; o.pscServiceAttachmentId = buildUint128(); o.region = 'foo'; @@ -29040,13 +29074,13 @@ api.ServiceAttachment buildServiceAttachment() { void checkServiceAttachment(api.ServiceAttachment o) { buildCounterServiceAttachment++; if (buildCounterServiceAttachment < 3) { - checkUnnamed1268(o.connectedEndpoints!); + checkUnnamed1293(o.connectedEndpoints!); unittest.expect( o.connectionPreference!, unittest.equals('foo'), ); - checkUnnamed1269(o.consumerAcceptLists!); - checkUnnamed1270(o.consumerRejectLists!); + checkUnnamed1294(o.consumerAcceptLists!); + checkUnnamed1295(o.consumerRejectLists!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), @@ -29072,7 +29106,7 @@ void checkServiceAttachment(api.ServiceAttachment o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1271(o.natSubnets!); + checkUnnamed1296(o.natSubnets!); unittest.expect( o.producerForwardingRule!, unittest.equals('foo'), @@ -29094,24 +29128,24 @@ void checkServiceAttachment(api.ServiceAttachment o) { buildCounterServiceAttachment--; } -core.Map buildUnnamed1272() => { +core.Map buildUnnamed1297() => { 'x': buildServiceAttachmentsScopedList(), 'y': buildServiceAttachmentsScopedList(), }; -void checkUnnamed1272( +void checkUnnamed1297( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachmentsScopedList(o['x']!); checkServiceAttachmentsScopedList(o['y']!); } -core.List buildUnnamed1273() => [ +core.List buildUnnamed1298() => [ 'foo', 'foo', ]; -void checkUnnamed1273(core.List o) { +void checkUnnamed1298(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -29152,13 +29186,13 @@ void checkServiceAttachmentAggregatedListWarningData( buildCounterServiceAttachmentAggregatedListWarningData--; } -core.List buildUnnamed1274() => +core.List buildUnnamed1299() => [ buildServiceAttachmentAggregatedListWarningData(), buildServiceAttachmentAggregatedListWarningData(), ]; -void checkUnnamed1274( +void checkUnnamed1299( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachmentAggregatedListWarningData(o[0]); @@ -29172,7 +29206,7 @@ api.ServiceAttachmentAggregatedListWarning buildCounterServiceAttachmentAggregatedListWarning++; if (buildCounterServiceAttachmentAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1274(); + o.data = buildUnnamed1299(); o.message = 'foo'; } buildCounterServiceAttachmentAggregatedListWarning--; @@ -29187,7 +29221,7 @@ void checkServiceAttachmentAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1274(o.data!); + checkUnnamed1299(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -29202,11 +29236,11 @@ api.ServiceAttachmentAggregatedList buildServiceAttachmentAggregatedList() { buildCounterServiceAttachmentAggregatedList++; if (buildCounterServiceAttachmentAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1272(); + o.items = buildUnnamed1297(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1273(); + o.unreachables = buildUnnamed1298(); o.warning = buildServiceAttachmentAggregatedListWarning(); } buildCounterServiceAttachmentAggregatedList--; @@ -29221,7 +29255,7 @@ void checkServiceAttachmentAggregatedList( o.id!, unittest.equals('foo'), ); - checkUnnamed1272(o.items!); + checkUnnamed1297(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -29234,7 +29268,7 @@ void checkServiceAttachmentAggregatedList( o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1273(o.unreachables!); + checkUnnamed1298(o.unreachables!); checkServiceAttachmentAggregatedListWarning(o.warning!); } buildCounterServiceAttachmentAggregatedList--; @@ -29303,12 +29337,12 @@ void checkServiceAttachmentConsumerProjectLimit( buildCounterServiceAttachmentConsumerProjectLimit--; } -core.List buildUnnamed1275() => [ +core.List buildUnnamed1300() => [ buildServiceAttachment(), buildServiceAttachment(), ]; -void checkUnnamed1275(core.List o) { +void checkUnnamed1300(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachment(o[0]); checkServiceAttachment(o[1]); @@ -29342,12 +29376,12 @@ void checkServiceAttachmentListWarningData( buildCounterServiceAttachmentListWarningData--; } -core.List buildUnnamed1276() => [ +core.List buildUnnamed1301() => [ buildServiceAttachmentListWarningData(), buildServiceAttachmentListWarningData(), ]; -void checkUnnamed1276(core.List o) { +void checkUnnamed1301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachmentListWarningData(o[0]); checkServiceAttachmentListWarningData(o[1]); @@ -29359,7 +29393,7 @@ api.ServiceAttachmentListWarning buildServiceAttachmentListWarning() { buildCounterServiceAttachmentListWarning++; if (buildCounterServiceAttachmentListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1276(); + o.data = buildUnnamed1301(); o.message = 'foo'; } buildCounterServiceAttachmentListWarning--; @@ -29373,7 +29407,7 @@ void checkServiceAttachmentListWarning(api.ServiceAttachmentListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1276(o.data!); + checkUnnamed1301(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -29388,7 +29422,7 @@ api.ServiceAttachmentList buildServiceAttachmentList() { buildCounterServiceAttachmentList++; if (buildCounterServiceAttachmentList < 3) { o.id = 'foo'; - o.items = buildUnnamed1275(); + o.items = buildUnnamed1300(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -29405,7 +29439,7 @@ void checkServiceAttachmentList(api.ServiceAttachmentList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1275(o.items!); + checkUnnamed1300(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -29423,12 +29457,12 @@ void checkServiceAttachmentList(api.ServiceAttachmentList o) { buildCounterServiceAttachmentList--; } -core.List buildUnnamed1277() => [ +core.List buildUnnamed1302() => [ buildServiceAttachment(), buildServiceAttachment(), ]; -void checkUnnamed1277(core.List o) { +void checkUnnamed1302(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachment(o[0]); checkServiceAttachment(o[1]); @@ -29463,12 +29497,12 @@ void checkServiceAttachmentsScopedListWarningData( buildCounterServiceAttachmentsScopedListWarningData--; } -core.List buildUnnamed1278() => [ +core.List buildUnnamed1303() => [ buildServiceAttachmentsScopedListWarningData(), buildServiceAttachmentsScopedListWarningData(), ]; -void checkUnnamed1278( +void checkUnnamed1303( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAttachmentsScopedListWarningData(o[0]); @@ -29482,7 +29516,7 @@ api.ServiceAttachmentsScopedListWarning buildCounterServiceAttachmentsScopedListWarning++; if (buildCounterServiceAttachmentsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1278(); + o.data = buildUnnamed1303(); o.message = 'foo'; } buildCounterServiceAttachmentsScopedListWarning--; @@ -29497,7 +29531,7 @@ void checkServiceAttachmentsScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1278(o.data!); + checkUnnamed1303(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -29511,7 +29545,7 @@ api.ServiceAttachmentsScopedList buildServiceAttachmentsScopedList() { final o = api.ServiceAttachmentsScopedList(); buildCounterServiceAttachmentsScopedList++; if (buildCounterServiceAttachmentsScopedList < 3) { - o.serviceAttachments = buildUnnamed1277(); + o.serviceAttachments = buildUnnamed1302(); o.warning = buildServiceAttachmentsScopedListWarning(); } buildCounterServiceAttachmentsScopedList--; @@ -29521,7 +29555,7 @@ api.ServiceAttachmentsScopedList buildServiceAttachmentsScopedList() { void checkServiceAttachmentsScopedList(api.ServiceAttachmentsScopedList o) { buildCounterServiceAttachmentsScopedList++; if (buildCounterServiceAttachmentsScopedList < 3) { - checkUnnamed1277(o.serviceAttachments!); + checkUnnamed1302(o.serviceAttachments!); checkServiceAttachmentsScopedListWarning(o.warning!); } buildCounterServiceAttachmentsScopedList--; @@ -29650,12 +29684,12 @@ void checkSignedUrlKey(api.SignedUrlKey o) { buildCounterSignedUrlKey--; } -core.Map buildUnnamed1279() => { +core.Map buildUnnamed1304() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1279(core.Map o) { +void checkUnnamed1304(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -29667,12 +29701,12 @@ void checkUnnamed1279(core.Map o) { ); } -core.List buildUnnamed1280() => [ +core.List buildUnnamed1305() => [ 'foo', 'foo', ]; -void checkUnnamed1280(core.List o) { +void checkUnnamed1305(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -29684,12 +29718,12 @@ void checkUnnamed1280(core.List o) { ); } -core.List buildUnnamed1281() => [ +core.List buildUnnamed1306() => [ 'foo', 'foo', ]; -void checkUnnamed1281(core.List o) { +void checkUnnamed1306(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -29701,12 +29735,12 @@ void checkUnnamed1281(core.List o) { ); } -core.List buildUnnamed1282() => [ +core.List buildUnnamed1307() => [ 'foo', 'foo', ]; -void checkUnnamed1282(core.List o) { +void checkUnnamed1307(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -29732,9 +29766,9 @@ api.Snapshot buildSnapshot() { o.id = 'foo'; o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed1279(); - o.licenseCodes = buildUnnamed1280(); - o.licenses = buildUnnamed1281(); + o.labels = buildUnnamed1304(); + o.licenseCodes = buildUnnamed1305(); + o.licenses = buildUnnamed1306(); o.locationHint = 'foo'; o.name = 'foo'; o.satisfiesPzs = true; @@ -29746,7 +29780,7 @@ api.Snapshot buildSnapshot() { o.status = 'foo'; o.storageBytes = 'foo'; o.storageBytesStatus = 'foo'; - o.storageLocations = buildUnnamed1282(); + o.storageLocations = buildUnnamed1307(); } buildCounterSnapshot--; return o; @@ -29788,9 +29822,9 @@ void checkSnapshot(api.Snapshot o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed1279(o.labels!); - checkUnnamed1280(o.licenseCodes!); - checkUnnamed1281(o.licenses!); + checkUnnamed1304(o.labels!); + checkUnnamed1305(o.licenseCodes!); + checkUnnamed1306(o.licenses!); unittest.expect( o.locationHint!, unittest.equals('foo'), @@ -29826,17 +29860,17 @@ void checkSnapshot(api.Snapshot o) { o.storageBytesStatus!, unittest.equals('foo'), ); - checkUnnamed1282(o.storageLocations!); + checkUnnamed1307(o.storageLocations!); } buildCounterSnapshot--; } -core.List buildUnnamed1283() => [ +core.List buildUnnamed1308() => [ buildSnapshot(), buildSnapshot(), ]; -void checkUnnamed1283(core.List o) { +void checkUnnamed1308(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -29869,12 +29903,12 @@ void checkSnapshotListWarningData(api.SnapshotListWarningData o) { buildCounterSnapshotListWarningData--; } -core.List buildUnnamed1284() => [ +core.List buildUnnamed1309() => [ buildSnapshotListWarningData(), buildSnapshotListWarningData(), ]; -void checkUnnamed1284(core.List o) { +void checkUnnamed1309(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshotListWarningData(o[0]); checkSnapshotListWarningData(o[1]); @@ -29886,7 +29920,7 @@ api.SnapshotListWarning buildSnapshotListWarning() { buildCounterSnapshotListWarning++; if (buildCounterSnapshotListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1284(); + o.data = buildUnnamed1309(); o.message = 'foo'; } buildCounterSnapshotListWarning--; @@ -29900,7 +29934,7 @@ void checkSnapshotListWarning(api.SnapshotListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1284(o.data!); + checkUnnamed1309(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -29915,7 +29949,7 @@ api.SnapshotList buildSnapshotList() { buildCounterSnapshotList++; if (buildCounterSnapshotList < 3) { o.id = 'foo'; - o.items = buildUnnamed1283(); + o.items = buildUnnamed1308(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -29932,7 +29966,7 @@ void checkSnapshotList(api.SnapshotList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1283(o.items!); + checkUnnamed1308(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -29950,12 +29984,12 @@ void checkSnapshotList(api.SnapshotList o) { buildCounterSnapshotList--; } -core.List buildUnnamed1285() => [ +core.List buildUnnamed1310() => [ buildDiskInstantiationConfig(), buildDiskInstantiationConfig(), ]; -void checkUnnamed1285(core.List o) { +void checkUnnamed1310(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiskInstantiationConfig(o[0]); checkDiskInstantiationConfig(o[1]); @@ -29966,7 +30000,7 @@ api.SourceInstanceParams buildSourceInstanceParams() { final o = api.SourceInstanceParams(); buildCounterSourceInstanceParams++; if (buildCounterSourceInstanceParams < 3) { - o.diskConfigs = buildUnnamed1285(); + o.diskConfigs = buildUnnamed1310(); } buildCounterSourceInstanceParams--; return o; @@ -29975,17 +30009,17 @@ api.SourceInstanceParams buildSourceInstanceParams() { void checkSourceInstanceParams(api.SourceInstanceParams o) { buildCounterSourceInstanceParams++; if (buildCounterSourceInstanceParams < 3) { - checkUnnamed1285(o.diskConfigs!); + checkUnnamed1310(o.diskConfigs!); } buildCounterSourceInstanceParams--; } -core.List buildUnnamed1286() => [ +core.List buildUnnamed1311() => [ 'foo', 'foo', ]; -void checkUnnamed1286(core.List o) { +void checkUnnamed1311(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -30014,7 +30048,7 @@ api.SslCertificate buildSslCertificate() { o.region = 'foo'; o.selfLink = 'foo'; o.selfManaged = buildSslCertificateSelfManagedSslCertificate(); - o.subjectAlternativeNames = buildUnnamed1286(); + o.subjectAlternativeNames = buildUnnamed1311(); o.type = 'foo'; } buildCounterSslCertificate--; @@ -30066,7 +30100,7 @@ void checkSslCertificate(api.SslCertificate o) { unittest.equals('foo'), ); checkSslCertificateSelfManagedSslCertificate(o.selfManaged!); - checkUnnamed1286(o.subjectAlternativeNames!); + checkUnnamed1311(o.subjectAlternativeNames!); unittest.expect( o.type!, unittest.equals('foo'), @@ -30075,23 +30109,23 @@ void checkSslCertificate(api.SslCertificate o) { buildCounterSslCertificate--; } -core.Map buildUnnamed1287() => { +core.Map buildUnnamed1312() => { 'x': buildSslCertificatesScopedList(), 'y': buildSslCertificatesScopedList(), }; -void checkUnnamed1287(core.Map o) { +void checkUnnamed1312(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSslCertificatesScopedList(o['x']!); checkSslCertificatesScopedList(o['y']!); } -core.List buildUnnamed1288() => [ +core.List buildUnnamed1313() => [ 'foo', 'foo', ]; -void checkUnnamed1288(core.List o) { +void checkUnnamed1313(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -30132,12 +30166,12 @@ void checkSslCertificateAggregatedListWarningData( buildCounterSslCertificateAggregatedListWarningData--; } -core.List buildUnnamed1289() => [ +core.List buildUnnamed1314() => [ buildSslCertificateAggregatedListWarningData(), buildSslCertificateAggregatedListWarningData(), ]; -void checkUnnamed1289( +void checkUnnamed1314( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCertificateAggregatedListWarningData(o[0]); @@ -30151,7 +30185,7 @@ api.SslCertificateAggregatedListWarning buildCounterSslCertificateAggregatedListWarning++; if (buildCounterSslCertificateAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1289(); + o.data = buildUnnamed1314(); o.message = 'foo'; } buildCounterSslCertificateAggregatedListWarning--; @@ -30166,7 +30200,7 @@ void checkSslCertificateAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1289(o.data!); + checkUnnamed1314(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -30181,11 +30215,11 @@ api.SslCertificateAggregatedList buildSslCertificateAggregatedList() { buildCounterSslCertificateAggregatedList++; if (buildCounterSslCertificateAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1287(); + o.items = buildUnnamed1312(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1288(); + o.unreachables = buildUnnamed1313(); o.warning = buildSslCertificateAggregatedListWarning(); } buildCounterSslCertificateAggregatedList--; @@ -30199,7 +30233,7 @@ void checkSslCertificateAggregatedList(api.SslCertificateAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1287(o.items!); + checkUnnamed1312(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -30212,18 +30246,18 @@ void checkSslCertificateAggregatedList(api.SslCertificateAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1288(o.unreachables!); + checkUnnamed1313(o.unreachables!); checkSslCertificateAggregatedListWarning(o.warning!); } buildCounterSslCertificateAggregatedList--; } -core.List buildUnnamed1290() => [ +core.List buildUnnamed1315() => [ buildSslCertificate(), buildSslCertificate(), ]; -void checkUnnamed1290(core.List o) { +void checkUnnamed1315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCertificate(o[0]); checkSslCertificate(o[1]); @@ -30256,12 +30290,12 @@ void checkSslCertificateListWarningData(api.SslCertificateListWarningData o) { buildCounterSslCertificateListWarningData--; } -core.List buildUnnamed1291() => [ +core.List buildUnnamed1316() => [ buildSslCertificateListWarningData(), buildSslCertificateListWarningData(), ]; -void checkUnnamed1291(core.List o) { +void checkUnnamed1316(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCertificateListWarningData(o[0]); checkSslCertificateListWarningData(o[1]); @@ -30273,7 +30307,7 @@ api.SslCertificateListWarning buildSslCertificateListWarning() { buildCounterSslCertificateListWarning++; if (buildCounterSslCertificateListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1291(); + o.data = buildUnnamed1316(); o.message = 'foo'; } buildCounterSslCertificateListWarning--; @@ -30287,7 +30321,7 @@ void checkSslCertificateListWarning(api.SslCertificateListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1291(o.data!); + checkUnnamed1316(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -30302,7 +30336,7 @@ api.SslCertificateList buildSslCertificateList() { buildCounterSslCertificateList++; if (buildCounterSslCertificateList < 3) { o.id = 'foo'; - o.items = buildUnnamed1290(); + o.items = buildUnnamed1315(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -30319,7 +30353,7 @@ void checkSslCertificateList(api.SslCertificateList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1290(o.items!); + checkUnnamed1315(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -30337,12 +30371,12 @@ void checkSslCertificateList(api.SslCertificateList o) { buildCounterSslCertificateList--; } -core.Map buildUnnamed1292() => { +core.Map buildUnnamed1317() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1292(core.Map o) { +void checkUnnamed1317(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -30354,12 +30388,12 @@ void checkUnnamed1292(core.Map o) { ); } -core.List buildUnnamed1293() => [ +core.List buildUnnamed1318() => [ 'foo', 'foo', ]; -void checkUnnamed1293(core.List o) { +void checkUnnamed1318(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -30377,8 +30411,8 @@ api.SslCertificateManagedSslCertificate final o = api.SslCertificateManagedSslCertificate(); buildCounterSslCertificateManagedSslCertificate++; if (buildCounterSslCertificateManagedSslCertificate < 3) { - o.domainStatus = buildUnnamed1292(); - o.domains = buildUnnamed1293(); + o.domainStatus = buildUnnamed1317(); + o.domains = buildUnnamed1318(); o.status = 'foo'; } buildCounterSslCertificateManagedSslCertificate--; @@ -30389,8 +30423,8 @@ void checkSslCertificateManagedSslCertificate( api.SslCertificateManagedSslCertificate o) { buildCounterSslCertificateManagedSslCertificate++; if (buildCounterSslCertificateManagedSslCertificate < 3) { - checkUnnamed1292(o.domainStatus!); - checkUnnamed1293(o.domains!); + checkUnnamed1317(o.domainStatus!); + checkUnnamed1318(o.domains!); unittest.expect( o.status!, unittest.equals('foo'), @@ -30428,12 +30462,12 @@ void checkSslCertificateSelfManagedSslCertificate( buildCounterSslCertificateSelfManagedSslCertificate--; } -core.List buildUnnamed1294() => [ +core.List buildUnnamed1319() => [ buildSslCertificate(), buildSslCertificate(), ]; -void checkUnnamed1294(core.List o) { +void checkUnnamed1319(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCertificate(o[0]); checkSslCertificate(o[1]); @@ -30468,12 +30502,12 @@ void checkSslCertificatesScopedListWarningData( buildCounterSslCertificatesScopedListWarningData--; } -core.List buildUnnamed1295() => [ +core.List buildUnnamed1320() => [ buildSslCertificatesScopedListWarningData(), buildSslCertificatesScopedListWarningData(), ]; -void checkUnnamed1295(core.List o) { +void checkUnnamed1320(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCertificatesScopedListWarningData(o[0]); checkSslCertificatesScopedListWarningData(o[1]); @@ -30485,7 +30519,7 @@ api.SslCertificatesScopedListWarning buildSslCertificatesScopedListWarning() { buildCounterSslCertificatesScopedListWarning++; if (buildCounterSslCertificatesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1295(); + o.data = buildUnnamed1320(); o.message = 'foo'; } buildCounterSslCertificatesScopedListWarning--; @@ -30500,7 +30534,7 @@ void checkSslCertificatesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1295(o.data!); + checkUnnamed1320(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -30514,7 +30548,7 @@ api.SslCertificatesScopedList buildSslCertificatesScopedList() { final o = api.SslCertificatesScopedList(); buildCounterSslCertificatesScopedList++; if (buildCounterSslCertificatesScopedList < 3) { - o.sslCertificates = buildUnnamed1294(); + o.sslCertificates = buildUnnamed1319(); o.warning = buildSslCertificatesScopedListWarning(); } buildCounterSslCertificatesScopedList--; @@ -30524,18 +30558,18 @@ api.SslCertificatesScopedList buildSslCertificatesScopedList() { void checkSslCertificatesScopedList(api.SslCertificatesScopedList o) { buildCounterSslCertificatesScopedList++; if (buildCounterSslCertificatesScopedList < 3) { - checkUnnamed1294(o.sslCertificates!); + checkUnnamed1319(o.sslCertificates!); checkSslCertificatesScopedListWarning(o.warning!); } buildCounterSslCertificatesScopedList--; } -core.List buildUnnamed1296() => [ +core.List buildUnnamed1321() => [ buildSslPolicy(), buildSslPolicy(), ]; -void checkUnnamed1296(core.List o) { +void checkUnnamed1321(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslPolicy(o[0]); checkSslPolicy(o[1]); @@ -30568,12 +30602,12 @@ void checkSslPoliciesListWarningData(api.SslPoliciesListWarningData o) { buildCounterSslPoliciesListWarningData--; } -core.List buildUnnamed1297() => [ +core.List buildUnnamed1322() => [ buildSslPoliciesListWarningData(), buildSslPoliciesListWarningData(), ]; -void checkUnnamed1297(core.List o) { +void checkUnnamed1322(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslPoliciesListWarningData(o[0]); checkSslPoliciesListWarningData(o[1]); @@ -30585,7 +30619,7 @@ api.SslPoliciesListWarning buildSslPoliciesListWarning() { buildCounterSslPoliciesListWarning++; if (buildCounterSslPoliciesListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1297(); + o.data = buildUnnamed1322(); o.message = 'foo'; } buildCounterSslPoliciesListWarning--; @@ -30599,7 +30633,7 @@ void checkSslPoliciesListWarning(api.SslPoliciesListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1297(o.data!); + checkUnnamed1322(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -30614,7 +30648,7 @@ api.SslPoliciesList buildSslPoliciesList() { buildCounterSslPoliciesList++; if (buildCounterSslPoliciesList < 3) { o.id = 'foo'; - o.items = buildUnnamed1296(); + o.items = buildUnnamed1321(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -30631,7 +30665,7 @@ void checkSslPoliciesList(api.SslPoliciesList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1296(o.items!); + checkUnnamed1321(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -30649,12 +30683,12 @@ void checkSslPoliciesList(api.SslPoliciesList o) { buildCounterSslPoliciesList--; } -core.List buildUnnamed1298() => [ +core.List buildUnnamed1323() => [ 'foo', 'foo', ]; -void checkUnnamed1298(core.List o) { +void checkUnnamed1323(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -30672,7 +30706,7 @@ api.SslPoliciesListAvailableFeaturesResponse final o = api.SslPoliciesListAvailableFeaturesResponse(); buildCounterSslPoliciesListAvailableFeaturesResponse++; if (buildCounterSslPoliciesListAvailableFeaturesResponse < 3) { - o.features = buildUnnamed1298(); + o.features = buildUnnamed1323(); } buildCounterSslPoliciesListAvailableFeaturesResponse--; return o; @@ -30682,17 +30716,17 @@ void checkSslPoliciesListAvailableFeaturesResponse( api.SslPoliciesListAvailableFeaturesResponse o) { buildCounterSslPoliciesListAvailableFeaturesResponse++; if (buildCounterSslPoliciesListAvailableFeaturesResponse < 3) { - checkUnnamed1298(o.features!); + checkUnnamed1323(o.features!); } buildCounterSslPoliciesListAvailableFeaturesResponse--; } -core.List buildUnnamed1299() => [ +core.List buildUnnamed1324() => [ 'foo', 'foo', ]; -void checkUnnamed1299(core.List o) { +void checkUnnamed1324(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -30704,12 +30738,12 @@ void checkUnnamed1299(core.List o) { ); } -core.List buildUnnamed1300() => [ +core.List buildUnnamed1325() => [ 'foo', 'foo', ]; -void checkUnnamed1300(core.List o) { +void checkUnnamed1325(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -30748,12 +30782,12 @@ void checkSslPolicyWarningsData(api.SslPolicyWarningsData o) { buildCounterSslPolicyWarningsData--; } -core.List buildUnnamed1301() => [ +core.List buildUnnamed1326() => [ buildSslPolicyWarningsData(), buildSslPolicyWarningsData(), ]; -void checkUnnamed1301(core.List o) { +void checkUnnamed1326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslPolicyWarningsData(o[0]); checkSslPolicyWarningsData(o[1]); @@ -30765,7 +30799,7 @@ api.SslPolicyWarnings buildSslPolicyWarnings() { buildCounterSslPolicyWarnings++; if (buildCounterSslPolicyWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed1301(); + o.data = buildUnnamed1326(); o.message = 'foo'; } buildCounterSslPolicyWarnings--; @@ -30779,7 +30813,7 @@ void checkSslPolicyWarnings(api.SslPolicyWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1301(o.data!); + checkUnnamed1326(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -30788,12 +30822,12 @@ void checkSslPolicyWarnings(api.SslPolicyWarnings o) { buildCounterSslPolicyWarnings--; } -core.List buildUnnamed1302() => [ +core.List buildUnnamed1327() => [ buildSslPolicyWarnings(), buildSslPolicyWarnings(), ]; -void checkUnnamed1302(core.List o) { +void checkUnnamed1327(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslPolicyWarnings(o[0]); checkSslPolicyWarnings(o[1]); @@ -30805,9 +30839,9 @@ api.SslPolicy buildSslPolicy() { buildCounterSslPolicy++; if (buildCounterSslPolicy < 3) { o.creationTimestamp = 'foo'; - o.customFeatures = buildUnnamed1299(); + o.customFeatures = buildUnnamed1324(); o.description = 'foo'; - o.enabledFeatures = buildUnnamed1300(); + o.enabledFeatures = buildUnnamed1325(); o.fingerprint = 'foo'; o.id = 'foo'; o.kind = 'foo'; @@ -30815,7 +30849,7 @@ api.SslPolicy buildSslPolicy() { o.name = 'foo'; o.profile = 'foo'; o.selfLink = 'foo'; - o.warnings = buildUnnamed1302(); + o.warnings = buildUnnamed1327(); } buildCounterSslPolicy--; return o; @@ -30828,12 +30862,12 @@ void checkSslPolicy(api.SslPolicy o) { o.creationTimestamp!, unittest.equals('foo'), ); - checkUnnamed1299(o.customFeatures!); + checkUnnamed1324(o.customFeatures!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed1300(o.enabledFeatures!); + checkUnnamed1325(o.enabledFeatures!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -30862,7 +30896,7 @@ void checkSslPolicy(api.SslPolicy o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1302(o.warnings!); + checkUnnamed1327(o.warnings!); } buildCounterSslPolicy--; } @@ -30909,12 +30943,12 @@ void checkStatefulPolicy(api.StatefulPolicy o) { } core.Map - buildUnnamed1303() => { + buildUnnamed1328() => { 'x': buildStatefulPolicyPreservedStateDiskDevice(), 'y': buildStatefulPolicyPreservedStateDiskDevice(), }; -void checkUnnamed1303( +void checkUnnamed1328( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkStatefulPolicyPreservedStateDiskDevice(o['x']!); @@ -30926,7 +30960,7 @@ api.StatefulPolicyPreservedState buildStatefulPolicyPreservedState() { final o = api.StatefulPolicyPreservedState(); buildCounterStatefulPolicyPreservedState++; if (buildCounterStatefulPolicyPreservedState < 3) { - o.disks = buildUnnamed1303(); + o.disks = buildUnnamed1328(); } buildCounterStatefulPolicyPreservedState--; return o; @@ -30935,7 +30969,7 @@ api.StatefulPolicyPreservedState buildStatefulPolicyPreservedState() { void checkStatefulPolicyPreservedState(api.StatefulPolicyPreservedState o) { buildCounterStatefulPolicyPreservedState++; if (buildCounterStatefulPolicyPreservedState < 3) { - checkUnnamed1303(o.disks!); + checkUnnamed1328(o.disks!); } buildCounterStatefulPolicyPreservedState--; } @@ -30964,12 +30998,12 @@ void checkStatefulPolicyPreservedStateDiskDevice( buildCounterStatefulPolicyPreservedStateDiskDevice--; } -core.List buildUnnamed1304() => [ +core.List buildUnnamed1329() => [ buildSubnetworkSecondaryRange(), buildSubnetworkSecondaryRange(), ]; -void checkUnnamed1304(core.List o) { +void checkUnnamed1329(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetworkSecondaryRange(o[0]); checkSubnetworkSecondaryRange(o[1]); @@ -30999,7 +31033,7 @@ api.Subnetwork buildSubnetwork() { o.purpose = 'foo'; o.region = 'foo'; o.role = 'foo'; - o.secondaryIpRanges = buildUnnamed1304(); + o.secondaryIpRanges = buildUnnamed1329(); o.selfLink = 'foo'; o.stackType = 'foo'; o.state = 'foo'; @@ -31078,7 +31112,7 @@ void checkSubnetwork(api.Subnetwork o) { o.role!, unittest.equals('foo'), ); - checkUnnamed1304(o.secondaryIpRanges!); + checkUnnamed1329(o.secondaryIpRanges!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -31095,23 +31129,23 @@ void checkSubnetwork(api.Subnetwork o) { buildCounterSubnetwork--; } -core.Map buildUnnamed1305() => { +core.Map buildUnnamed1330() => { 'x': buildSubnetworksScopedList(), 'y': buildSubnetworksScopedList(), }; -void checkUnnamed1305(core.Map o) { +void checkUnnamed1330(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetworksScopedList(o['x']!); checkSubnetworksScopedList(o['y']!); } -core.List buildUnnamed1306() => [ +core.List buildUnnamed1331() => [ 'foo', 'foo', ]; -void checkUnnamed1306(core.List o) { +void checkUnnamed1331(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -31152,12 +31186,12 @@ void checkSubnetworkAggregatedListWarningData( buildCounterSubnetworkAggregatedListWarningData--; } -core.List buildUnnamed1307() => [ +core.List buildUnnamed1332() => [ buildSubnetworkAggregatedListWarningData(), buildSubnetworkAggregatedListWarningData(), ]; -void checkUnnamed1307(core.List o) { +void checkUnnamed1332(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetworkAggregatedListWarningData(o[0]); checkSubnetworkAggregatedListWarningData(o[1]); @@ -31169,7 +31203,7 @@ api.SubnetworkAggregatedListWarning buildSubnetworkAggregatedListWarning() { buildCounterSubnetworkAggregatedListWarning++; if (buildCounterSubnetworkAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1307(); + o.data = buildUnnamed1332(); o.message = 'foo'; } buildCounterSubnetworkAggregatedListWarning--; @@ -31184,7 +31218,7 @@ void checkSubnetworkAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1307(o.data!); + checkUnnamed1332(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -31199,11 +31233,11 @@ api.SubnetworkAggregatedList buildSubnetworkAggregatedList() { buildCounterSubnetworkAggregatedList++; if (buildCounterSubnetworkAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1305(); + o.items = buildUnnamed1330(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1306(); + o.unreachables = buildUnnamed1331(); o.warning = buildSubnetworkAggregatedListWarning(); } buildCounterSubnetworkAggregatedList--; @@ -31217,7 +31251,7 @@ void checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1305(o.items!); + checkUnnamed1330(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -31230,18 +31264,18 @@ void checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1306(o.unreachables!); + checkUnnamed1331(o.unreachables!); checkSubnetworkAggregatedListWarning(o.warning!); } buildCounterSubnetworkAggregatedList--; } -core.List buildUnnamed1308() => [ +core.List buildUnnamed1333() => [ buildSubnetwork(), buildSubnetwork(), ]; -void checkUnnamed1308(core.List o) { +void checkUnnamed1333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetwork(o[0]); checkSubnetwork(o[1]); @@ -31274,12 +31308,12 @@ void checkSubnetworkListWarningData(api.SubnetworkListWarningData o) { buildCounterSubnetworkListWarningData--; } -core.List buildUnnamed1309() => [ +core.List buildUnnamed1334() => [ buildSubnetworkListWarningData(), buildSubnetworkListWarningData(), ]; -void checkUnnamed1309(core.List o) { +void checkUnnamed1334(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetworkListWarningData(o[0]); checkSubnetworkListWarningData(o[1]); @@ -31291,7 +31325,7 @@ api.SubnetworkListWarning buildSubnetworkListWarning() { buildCounterSubnetworkListWarning++; if (buildCounterSubnetworkListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1309(); + o.data = buildUnnamed1334(); o.message = 'foo'; } buildCounterSubnetworkListWarning--; @@ -31305,7 +31339,7 @@ void checkSubnetworkListWarning(api.SubnetworkListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1309(o.data!); + checkUnnamed1334(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -31320,7 +31354,7 @@ api.SubnetworkList buildSubnetworkList() { buildCounterSubnetworkList++; if (buildCounterSubnetworkList < 3) { o.id = 'foo'; - o.items = buildUnnamed1308(); + o.items = buildUnnamed1333(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -31337,7 +31371,7 @@ void checkSubnetworkList(api.SubnetworkList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1308(o.items!); + checkUnnamed1333(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -31355,12 +31389,12 @@ void checkSubnetworkList(api.SubnetworkList o) { buildCounterSubnetworkList--; } -core.List buildUnnamed1310() => [ +core.List buildUnnamed1335() => [ 'foo', 'foo', ]; -void checkUnnamed1310(core.List o) { +void checkUnnamed1335(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -31382,7 +31416,7 @@ api.SubnetworkLogConfig buildSubnetworkLogConfig() { o.filterExpr = 'foo'; o.flowSampling = 42.0; o.metadata = 'foo'; - o.metadataFields = buildUnnamed1310(); + o.metadataFields = buildUnnamed1335(); } buildCounterSubnetworkLogConfig--; return o; @@ -31408,7 +31442,7 @@ void checkSubnetworkLogConfig(api.SubnetworkLogConfig o) { o.metadata!, unittest.equals('foo'), ); - checkUnnamed1310(o.metadataFields!); + checkUnnamed1335(o.metadataFields!); } buildCounterSubnetworkLogConfig--; } @@ -31464,12 +31498,12 @@ void checkSubnetworksExpandIpCidrRangeRequest( buildCounterSubnetworksExpandIpCidrRangeRequest--; } -core.List buildUnnamed1311() => [ +core.List buildUnnamed1336() => [ buildSubnetwork(), buildSubnetwork(), ]; -void checkUnnamed1311(core.List o) { +void checkUnnamed1336(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetwork(o[0]); checkSubnetwork(o[1]); @@ -31503,12 +31537,12 @@ void checkSubnetworksScopedListWarningData( buildCounterSubnetworksScopedListWarningData--; } -core.List buildUnnamed1312() => [ +core.List buildUnnamed1337() => [ buildSubnetworksScopedListWarningData(), buildSubnetworksScopedListWarningData(), ]; -void checkUnnamed1312(core.List o) { +void checkUnnamed1337(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetworksScopedListWarningData(o[0]); checkSubnetworksScopedListWarningData(o[1]); @@ -31520,7 +31554,7 @@ api.SubnetworksScopedListWarning buildSubnetworksScopedListWarning() { buildCounterSubnetworksScopedListWarning++; if (buildCounterSubnetworksScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1312(); + o.data = buildUnnamed1337(); o.message = 'foo'; } buildCounterSubnetworksScopedListWarning--; @@ -31534,7 +31568,7 @@ void checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1312(o.data!); + checkUnnamed1337(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -31548,7 +31582,7 @@ api.SubnetworksScopedList buildSubnetworksScopedList() { final o = api.SubnetworksScopedList(); buildCounterSubnetworksScopedList++; if (buildCounterSubnetworksScopedList < 3) { - o.subnetworks = buildUnnamed1311(); + o.subnetworks = buildUnnamed1336(); o.warning = buildSubnetworksScopedListWarning(); } buildCounterSubnetworksScopedList--; @@ -31558,7 +31592,7 @@ api.SubnetworksScopedList buildSubnetworksScopedList() { void checkSubnetworksScopedList(api.SubnetworksScopedList o) { buildCounterSubnetworksScopedList++; if (buildCounterSubnetworksScopedList < 3) { - checkUnnamed1311(o.subnetworks!); + checkUnnamed1336(o.subnetworks!); checkSubnetworksScopedListWarning(o.warning!); } buildCounterSubnetworksScopedList--; @@ -31632,12 +31666,12 @@ void checkTCPHealthCheck(api.TCPHealthCheck o) { buildCounterTCPHealthCheck--; } -core.List buildUnnamed1313() => [ +core.List buildUnnamed1338() => [ 'foo', 'foo', ]; -void checkUnnamed1313(core.List o) { +void checkUnnamed1338(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -31655,7 +31689,7 @@ api.Tags buildTags() { buildCounterTags++; if (buildCounterTags < 3) { o.fingerprint = 'foo'; - o.items = buildUnnamed1313(); + o.items = buildUnnamed1338(); } buildCounterTags--; return o; @@ -31668,7 +31702,7 @@ void checkTags(api.Tags o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed1313(o.items!); + checkUnnamed1338(o.items!); } buildCounterTags--; } @@ -31737,12 +31771,12 @@ void checkTargetGrpcProxy(api.TargetGrpcProxy o) { buildCounterTargetGrpcProxy--; } -core.List buildUnnamed1314() => [ +core.List buildUnnamed1339() => [ buildTargetGrpcProxy(), buildTargetGrpcProxy(), ]; -void checkUnnamed1314(core.List o) { +void checkUnnamed1339(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetGrpcProxy(o[0]); checkTargetGrpcProxy(o[1]); @@ -31775,12 +31809,12 @@ void checkTargetGrpcProxyListWarningData(api.TargetGrpcProxyListWarningData o) { buildCounterTargetGrpcProxyListWarningData--; } -core.List buildUnnamed1315() => [ +core.List buildUnnamed1340() => [ buildTargetGrpcProxyListWarningData(), buildTargetGrpcProxyListWarningData(), ]; -void checkUnnamed1315(core.List o) { +void checkUnnamed1340(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetGrpcProxyListWarningData(o[0]); checkTargetGrpcProxyListWarningData(o[1]); @@ -31792,7 +31826,7 @@ api.TargetGrpcProxyListWarning buildTargetGrpcProxyListWarning() { buildCounterTargetGrpcProxyListWarning++; if (buildCounterTargetGrpcProxyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1315(); + o.data = buildUnnamed1340(); o.message = 'foo'; } buildCounterTargetGrpcProxyListWarning--; @@ -31806,7 +31840,7 @@ void checkTargetGrpcProxyListWarning(api.TargetGrpcProxyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1315(o.data!); + checkUnnamed1340(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -31821,7 +31855,7 @@ api.TargetGrpcProxyList buildTargetGrpcProxyList() { buildCounterTargetGrpcProxyList++; if (buildCounterTargetGrpcProxyList < 3) { o.id = 'foo'; - o.items = buildUnnamed1314(); + o.items = buildUnnamed1339(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -31838,7 +31872,7 @@ void checkTargetGrpcProxyList(api.TargetGrpcProxyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1314(o.items!); + checkUnnamed1339(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -31856,12 +31890,12 @@ void checkTargetGrpcProxyList(api.TargetGrpcProxyList o) { buildCounterTargetGrpcProxyList--; } -core.List buildUnnamed1316() => [ +core.List buildUnnamed1341() => [ buildTargetHttpProxy(), buildTargetHttpProxy(), ]; -void checkUnnamed1316(core.List o) { +void checkUnnamed1341(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpProxy(o[0]); checkTargetHttpProxy(o[1]); @@ -31896,12 +31930,12 @@ void checkTargetHttpProxiesScopedListWarningData( buildCounterTargetHttpProxiesScopedListWarningData--; } -core.List buildUnnamed1317() => [ +core.List buildUnnamed1342() => [ buildTargetHttpProxiesScopedListWarningData(), buildTargetHttpProxiesScopedListWarningData(), ]; -void checkUnnamed1317(core.List o) { +void checkUnnamed1342(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpProxiesScopedListWarningData(o[0]); checkTargetHttpProxiesScopedListWarningData(o[1]); @@ -31914,7 +31948,7 @@ api.TargetHttpProxiesScopedListWarning buildCounterTargetHttpProxiesScopedListWarning++; if (buildCounterTargetHttpProxiesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1317(); + o.data = buildUnnamed1342(); o.message = 'foo'; } buildCounterTargetHttpProxiesScopedListWarning--; @@ -31929,7 +31963,7 @@ void checkTargetHttpProxiesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1317(o.data!); + checkUnnamed1342(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -31943,7 +31977,7 @@ api.TargetHttpProxiesScopedList buildTargetHttpProxiesScopedList() { final o = api.TargetHttpProxiesScopedList(); buildCounterTargetHttpProxiesScopedList++; if (buildCounterTargetHttpProxiesScopedList < 3) { - o.targetHttpProxies = buildUnnamed1316(); + o.targetHttpProxies = buildUnnamed1341(); o.warning = buildTargetHttpProxiesScopedListWarning(); } buildCounterTargetHttpProxiesScopedList--; @@ -31953,7 +31987,7 @@ api.TargetHttpProxiesScopedList buildTargetHttpProxiesScopedList() { void checkTargetHttpProxiesScopedList(api.TargetHttpProxiesScopedList o) { buildCounterTargetHttpProxiesScopedList++; if (buildCounterTargetHttpProxiesScopedList < 3) { - checkUnnamed1316(o.targetHttpProxies!); + checkUnnamed1341(o.targetHttpProxies!); checkTargetHttpProxiesScopedListWarning(o.warning!); } buildCounterTargetHttpProxiesScopedList--; @@ -32023,24 +32057,24 @@ void checkTargetHttpProxy(api.TargetHttpProxy o) { buildCounterTargetHttpProxy--; } -core.Map buildUnnamed1318() => { +core.Map buildUnnamed1343() => { 'x': buildTargetHttpProxiesScopedList(), 'y': buildTargetHttpProxiesScopedList(), }; -void checkUnnamed1318( +void checkUnnamed1343( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpProxiesScopedList(o['x']!); checkTargetHttpProxiesScopedList(o['y']!); } -core.List buildUnnamed1319() => [ +core.List buildUnnamed1344() => [ 'foo', 'foo', ]; -void checkUnnamed1319(core.List o) { +void checkUnnamed1344(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32058,11 +32092,11 @@ api.TargetHttpProxyAggregatedList buildTargetHttpProxyAggregatedList() { buildCounterTargetHttpProxyAggregatedList++; if (buildCounterTargetHttpProxyAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1318(); + o.items = buildUnnamed1343(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1319(); + o.unreachables = buildUnnamed1344(); } buildCounterTargetHttpProxyAggregatedList--; return o; @@ -32075,7 +32109,7 @@ void checkTargetHttpProxyAggregatedList(api.TargetHttpProxyAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1318(o.items!); + checkUnnamed1343(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -32088,17 +32122,17 @@ void checkTargetHttpProxyAggregatedList(api.TargetHttpProxyAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1319(o.unreachables!); + checkUnnamed1344(o.unreachables!); } buildCounterTargetHttpProxyAggregatedList--; } -core.List buildUnnamed1320() => [ +core.List buildUnnamed1345() => [ buildTargetHttpProxy(), buildTargetHttpProxy(), ]; -void checkUnnamed1320(core.List o) { +void checkUnnamed1345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpProxy(o[0]); checkTargetHttpProxy(o[1]); @@ -32131,12 +32165,12 @@ void checkTargetHttpProxyListWarningData(api.TargetHttpProxyListWarningData o) { buildCounterTargetHttpProxyListWarningData--; } -core.List buildUnnamed1321() => [ +core.List buildUnnamed1346() => [ buildTargetHttpProxyListWarningData(), buildTargetHttpProxyListWarningData(), ]; -void checkUnnamed1321(core.List o) { +void checkUnnamed1346(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpProxyListWarningData(o[0]); checkTargetHttpProxyListWarningData(o[1]); @@ -32148,7 +32182,7 @@ api.TargetHttpProxyListWarning buildTargetHttpProxyListWarning() { buildCounterTargetHttpProxyListWarning++; if (buildCounterTargetHttpProxyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1321(); + o.data = buildUnnamed1346(); o.message = 'foo'; } buildCounterTargetHttpProxyListWarning--; @@ -32162,7 +32196,7 @@ void checkTargetHttpProxyListWarning(api.TargetHttpProxyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1321(o.data!); + checkUnnamed1346(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -32177,7 +32211,7 @@ api.TargetHttpProxyList buildTargetHttpProxyList() { buildCounterTargetHttpProxyList++; if (buildCounterTargetHttpProxyList < 3) { o.id = 'foo'; - o.items = buildUnnamed1320(); + o.items = buildUnnamed1345(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -32194,7 +32228,7 @@ void checkTargetHttpProxyList(api.TargetHttpProxyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1320(o.items!); + checkUnnamed1345(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -32212,12 +32246,12 @@ void checkTargetHttpProxyList(api.TargetHttpProxyList o) { buildCounterTargetHttpProxyList--; } -core.List buildUnnamed1322() => [ +core.List buildUnnamed1347() => [ buildTargetHttpsProxy(), buildTargetHttpsProxy(), ]; -void checkUnnamed1322(core.List o) { +void checkUnnamed1347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpsProxy(o[0]); checkTargetHttpsProxy(o[1]); @@ -32252,12 +32286,12 @@ void checkTargetHttpsProxiesScopedListWarningData( buildCounterTargetHttpsProxiesScopedListWarningData--; } -core.List buildUnnamed1323() => [ +core.List buildUnnamed1348() => [ buildTargetHttpsProxiesScopedListWarningData(), buildTargetHttpsProxiesScopedListWarningData(), ]; -void checkUnnamed1323( +void checkUnnamed1348( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpsProxiesScopedListWarningData(o[0]); @@ -32271,7 +32305,7 @@ api.TargetHttpsProxiesScopedListWarning buildCounterTargetHttpsProxiesScopedListWarning++; if (buildCounterTargetHttpsProxiesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1323(); + o.data = buildUnnamed1348(); o.message = 'foo'; } buildCounterTargetHttpsProxiesScopedListWarning--; @@ -32286,7 +32320,7 @@ void checkTargetHttpsProxiesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1323(o.data!); + checkUnnamed1348(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -32300,7 +32334,7 @@ api.TargetHttpsProxiesScopedList buildTargetHttpsProxiesScopedList() { final o = api.TargetHttpsProxiesScopedList(); buildCounterTargetHttpsProxiesScopedList++; if (buildCounterTargetHttpsProxiesScopedList < 3) { - o.targetHttpsProxies = buildUnnamed1322(); + o.targetHttpsProxies = buildUnnamed1347(); o.warning = buildTargetHttpsProxiesScopedListWarning(); } buildCounterTargetHttpsProxiesScopedList--; @@ -32310,7 +32344,7 @@ api.TargetHttpsProxiesScopedList buildTargetHttpsProxiesScopedList() { void checkTargetHttpsProxiesScopedList(api.TargetHttpsProxiesScopedList o) { buildCounterTargetHttpsProxiesScopedList++; if (buildCounterTargetHttpsProxiesScopedList < 3) { - checkUnnamed1322(o.targetHttpsProxies!); + checkUnnamed1347(o.targetHttpsProxies!); checkTargetHttpsProxiesScopedListWarning(o.warning!); } buildCounterTargetHttpsProxiesScopedList--; @@ -32340,12 +32374,12 @@ void checkTargetHttpsProxiesSetQuicOverrideRequest( buildCounterTargetHttpsProxiesSetQuicOverrideRequest--; } -core.List buildUnnamed1324() => [ +core.List buildUnnamed1349() => [ 'foo', 'foo', ]; -void checkUnnamed1324(core.List o) { +void checkUnnamed1349(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32363,7 +32397,7 @@ api.TargetHttpsProxiesSetSslCertificatesRequest final o = api.TargetHttpsProxiesSetSslCertificatesRequest(); buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { - o.sslCertificates = buildUnnamed1324(); + o.sslCertificates = buildUnnamed1349(); } buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; return o; @@ -32373,17 +32407,17 @@ void checkTargetHttpsProxiesSetSslCertificatesRequest( api.TargetHttpsProxiesSetSslCertificatesRequest o) { buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { - checkUnnamed1324(o.sslCertificates!); + checkUnnamed1349(o.sslCertificates!); } buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; } -core.List buildUnnamed1325() => [ +core.List buildUnnamed1350() => [ 'foo', 'foo', ]; -void checkUnnamed1325(core.List o) { +void checkUnnamed1350(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32412,7 +32446,7 @@ api.TargetHttpsProxy buildTargetHttpsProxy() { o.region = 'foo'; o.selfLink = 'foo'; o.serverTlsPolicy = 'foo'; - o.sslCertificates = buildUnnamed1325(); + o.sslCertificates = buildUnnamed1350(); o.sslPolicy = 'foo'; o.urlMap = 'foo'; } @@ -32468,7 +32502,7 @@ void checkTargetHttpsProxy(api.TargetHttpsProxy o) { o.serverTlsPolicy!, unittest.equals('foo'), ); - checkUnnamed1325(o.sslCertificates!); + checkUnnamed1350(o.sslCertificates!); unittest.expect( o.sslPolicy!, unittest.equals('foo'), @@ -32481,24 +32515,24 @@ void checkTargetHttpsProxy(api.TargetHttpsProxy o) { buildCounterTargetHttpsProxy--; } -core.Map buildUnnamed1326() => { +core.Map buildUnnamed1351() => { 'x': buildTargetHttpsProxiesScopedList(), 'y': buildTargetHttpsProxiesScopedList(), }; -void checkUnnamed1326( +void checkUnnamed1351( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpsProxiesScopedList(o['x']!); checkTargetHttpsProxiesScopedList(o['y']!); } -core.List buildUnnamed1327() => [ +core.List buildUnnamed1352() => [ 'foo', 'foo', ]; -void checkUnnamed1327(core.List o) { +void checkUnnamed1352(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32539,12 +32573,12 @@ void checkTargetHttpsProxyAggregatedListWarningData( buildCounterTargetHttpsProxyAggregatedListWarningData--; } -core.List buildUnnamed1328() => [ +core.List buildUnnamed1353() => [ buildTargetHttpsProxyAggregatedListWarningData(), buildTargetHttpsProxyAggregatedListWarningData(), ]; -void checkUnnamed1328( +void checkUnnamed1353( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpsProxyAggregatedListWarningData(o[0]); @@ -32558,7 +32592,7 @@ api.TargetHttpsProxyAggregatedListWarning buildCounterTargetHttpsProxyAggregatedListWarning++; if (buildCounterTargetHttpsProxyAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1328(); + o.data = buildUnnamed1353(); o.message = 'foo'; } buildCounterTargetHttpsProxyAggregatedListWarning--; @@ -32573,7 +32607,7 @@ void checkTargetHttpsProxyAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1328(o.data!); + checkUnnamed1353(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -32588,11 +32622,11 @@ api.TargetHttpsProxyAggregatedList buildTargetHttpsProxyAggregatedList() { buildCounterTargetHttpsProxyAggregatedList++; if (buildCounterTargetHttpsProxyAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1326(); + o.items = buildUnnamed1351(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1327(); + o.unreachables = buildUnnamed1352(); o.warning = buildTargetHttpsProxyAggregatedListWarning(); } buildCounterTargetHttpsProxyAggregatedList--; @@ -32606,7 +32640,7 @@ void checkTargetHttpsProxyAggregatedList(api.TargetHttpsProxyAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1326(o.items!); + checkUnnamed1351(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -32619,18 +32653,18 @@ void checkTargetHttpsProxyAggregatedList(api.TargetHttpsProxyAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1327(o.unreachables!); + checkUnnamed1352(o.unreachables!); checkTargetHttpsProxyAggregatedListWarning(o.warning!); } buildCounterTargetHttpsProxyAggregatedList--; } -core.List buildUnnamed1329() => [ +core.List buildUnnamed1354() => [ buildTargetHttpsProxy(), buildTargetHttpsProxy(), ]; -void checkUnnamed1329(core.List o) { +void checkUnnamed1354(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpsProxy(o[0]); checkTargetHttpsProxy(o[1]); @@ -32664,12 +32698,12 @@ void checkTargetHttpsProxyListWarningData( buildCounterTargetHttpsProxyListWarningData--; } -core.List buildUnnamed1330() => [ +core.List buildUnnamed1355() => [ buildTargetHttpsProxyListWarningData(), buildTargetHttpsProxyListWarningData(), ]; -void checkUnnamed1330(core.List o) { +void checkUnnamed1355(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetHttpsProxyListWarningData(o[0]); checkTargetHttpsProxyListWarningData(o[1]); @@ -32681,7 +32715,7 @@ api.TargetHttpsProxyListWarning buildTargetHttpsProxyListWarning() { buildCounterTargetHttpsProxyListWarning++; if (buildCounterTargetHttpsProxyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1330(); + o.data = buildUnnamed1355(); o.message = 'foo'; } buildCounterTargetHttpsProxyListWarning--; @@ -32695,7 +32729,7 @@ void checkTargetHttpsProxyListWarning(api.TargetHttpsProxyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1330(o.data!); + checkUnnamed1355(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -32710,7 +32744,7 @@ api.TargetHttpsProxyList buildTargetHttpsProxyList() { buildCounterTargetHttpsProxyList++; if (buildCounterTargetHttpsProxyList < 3) { o.id = 'foo'; - o.items = buildUnnamed1329(); + o.items = buildUnnamed1354(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -32727,7 +32761,7 @@ void checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1329(o.items!); + checkUnnamed1354(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -32807,23 +32841,23 @@ void checkTargetInstance(api.TargetInstance o) { buildCounterTargetInstance--; } -core.Map buildUnnamed1331() => { +core.Map buildUnnamed1356() => { 'x': buildTargetInstancesScopedList(), 'y': buildTargetInstancesScopedList(), }; -void checkUnnamed1331(core.Map o) { +void checkUnnamed1356(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstancesScopedList(o['x']!); checkTargetInstancesScopedList(o['y']!); } -core.List buildUnnamed1332() => [ +core.List buildUnnamed1357() => [ 'foo', 'foo', ]; -void checkUnnamed1332(core.List o) { +void checkUnnamed1357(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -32864,12 +32898,12 @@ void checkTargetInstanceAggregatedListWarningData( buildCounterTargetInstanceAggregatedListWarningData--; } -core.List buildUnnamed1333() => [ +core.List buildUnnamed1358() => [ buildTargetInstanceAggregatedListWarningData(), buildTargetInstanceAggregatedListWarningData(), ]; -void checkUnnamed1333( +void checkUnnamed1358( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstanceAggregatedListWarningData(o[0]); @@ -32883,7 +32917,7 @@ api.TargetInstanceAggregatedListWarning buildCounterTargetInstanceAggregatedListWarning++; if (buildCounterTargetInstanceAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1333(); + o.data = buildUnnamed1358(); o.message = 'foo'; } buildCounterTargetInstanceAggregatedListWarning--; @@ -32898,7 +32932,7 @@ void checkTargetInstanceAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1333(o.data!); + checkUnnamed1358(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -32913,11 +32947,11 @@ api.TargetInstanceAggregatedList buildTargetInstanceAggregatedList() { buildCounterTargetInstanceAggregatedList++; if (buildCounterTargetInstanceAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1331(); + o.items = buildUnnamed1356(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1332(); + o.unreachables = buildUnnamed1357(); o.warning = buildTargetInstanceAggregatedListWarning(); } buildCounterTargetInstanceAggregatedList--; @@ -32931,7 +32965,7 @@ void checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1331(o.items!); + checkUnnamed1356(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -32944,18 +32978,18 @@ void checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1332(o.unreachables!); + checkUnnamed1357(o.unreachables!); checkTargetInstanceAggregatedListWarning(o.warning!); } buildCounterTargetInstanceAggregatedList--; } -core.List buildUnnamed1334() => [ +core.List buildUnnamed1359() => [ buildTargetInstance(), buildTargetInstance(), ]; -void checkUnnamed1334(core.List o) { +void checkUnnamed1359(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstance(o[0]); checkTargetInstance(o[1]); @@ -32988,12 +33022,12 @@ void checkTargetInstanceListWarningData(api.TargetInstanceListWarningData o) { buildCounterTargetInstanceListWarningData--; } -core.List buildUnnamed1335() => [ +core.List buildUnnamed1360() => [ buildTargetInstanceListWarningData(), buildTargetInstanceListWarningData(), ]; -void checkUnnamed1335(core.List o) { +void checkUnnamed1360(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstanceListWarningData(o[0]); checkTargetInstanceListWarningData(o[1]); @@ -33005,7 +33039,7 @@ api.TargetInstanceListWarning buildTargetInstanceListWarning() { buildCounterTargetInstanceListWarning++; if (buildCounterTargetInstanceListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1335(); + o.data = buildUnnamed1360(); o.message = 'foo'; } buildCounterTargetInstanceListWarning--; @@ -33019,7 +33053,7 @@ void checkTargetInstanceListWarning(api.TargetInstanceListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1335(o.data!); + checkUnnamed1360(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -33034,7 +33068,7 @@ api.TargetInstanceList buildTargetInstanceList() { buildCounterTargetInstanceList++; if (buildCounterTargetInstanceList < 3) { o.id = 'foo'; - o.items = buildUnnamed1334(); + o.items = buildUnnamed1359(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -33051,7 +33085,7 @@ void checkTargetInstanceList(api.TargetInstanceList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1334(o.items!); + checkUnnamed1359(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -33069,12 +33103,12 @@ void checkTargetInstanceList(api.TargetInstanceList o) { buildCounterTargetInstanceList--; } -core.List buildUnnamed1336() => [ +core.List buildUnnamed1361() => [ buildTargetInstance(), buildTargetInstance(), ]; -void checkUnnamed1336(core.List o) { +void checkUnnamed1361(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstance(o[0]); checkTargetInstance(o[1]); @@ -33109,12 +33143,12 @@ void checkTargetInstancesScopedListWarningData( buildCounterTargetInstancesScopedListWarningData--; } -core.List buildUnnamed1337() => [ +core.List buildUnnamed1362() => [ buildTargetInstancesScopedListWarningData(), buildTargetInstancesScopedListWarningData(), ]; -void checkUnnamed1337(core.List o) { +void checkUnnamed1362(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetInstancesScopedListWarningData(o[0]); checkTargetInstancesScopedListWarningData(o[1]); @@ -33126,7 +33160,7 @@ api.TargetInstancesScopedListWarning buildTargetInstancesScopedListWarning() { buildCounterTargetInstancesScopedListWarning++; if (buildCounterTargetInstancesScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1337(); + o.data = buildUnnamed1362(); o.message = 'foo'; } buildCounterTargetInstancesScopedListWarning--; @@ -33141,7 +33175,7 @@ void checkTargetInstancesScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1337(o.data!); + checkUnnamed1362(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -33155,7 +33189,7 @@ api.TargetInstancesScopedList buildTargetInstancesScopedList() { final o = api.TargetInstancesScopedList(); buildCounterTargetInstancesScopedList++; if (buildCounterTargetInstancesScopedList < 3) { - o.targetInstances = buildUnnamed1336(); + o.targetInstances = buildUnnamed1361(); o.warning = buildTargetInstancesScopedListWarning(); } buildCounterTargetInstancesScopedList--; @@ -33165,18 +33199,18 @@ api.TargetInstancesScopedList buildTargetInstancesScopedList() { void checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { buildCounterTargetInstancesScopedList++; if (buildCounterTargetInstancesScopedList < 3) { - checkUnnamed1336(o.targetInstances!); + checkUnnamed1361(o.targetInstances!); checkTargetInstancesScopedListWarning(o.warning!); } buildCounterTargetInstancesScopedList--; } -core.List buildUnnamed1338() => [ +core.List buildUnnamed1363() => [ 'foo', 'foo', ]; -void checkUnnamed1338(core.List o) { +void checkUnnamed1363(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -33188,12 +33222,12 @@ void checkUnnamed1338(core.List o) { ); } -core.List buildUnnamed1339() => [ +core.List buildUnnamed1364() => [ 'foo', 'foo', ]; -void checkUnnamed1339(core.List o) { +void checkUnnamed1364(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -33214,9 +33248,9 @@ api.TargetPool buildTargetPool() { o.creationTimestamp = 'foo'; o.description = 'foo'; o.failoverRatio = 42.0; - o.healthChecks = buildUnnamed1338(); + o.healthChecks = buildUnnamed1363(); o.id = 'foo'; - o.instances = buildUnnamed1339(); + o.instances = buildUnnamed1364(); o.kind = 'foo'; o.name = 'foo'; o.region = 'foo'; @@ -33246,12 +33280,12 @@ void checkTargetPool(api.TargetPool o) { o.failoverRatio!, unittest.equals(42.0), ); - checkUnnamed1338(o.healthChecks!); + checkUnnamed1363(o.healthChecks!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed1339(o.instances!); + checkUnnamed1364(o.instances!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -33276,23 +33310,23 @@ void checkTargetPool(api.TargetPool o) { buildCounterTargetPool--; } -core.Map buildUnnamed1340() => { +core.Map buildUnnamed1365() => { 'x': buildTargetPoolsScopedList(), 'y': buildTargetPoolsScopedList(), }; -void checkUnnamed1340(core.Map o) { +void checkUnnamed1365(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPoolsScopedList(o['x']!); checkTargetPoolsScopedList(o['y']!); } -core.List buildUnnamed1341() => [ +core.List buildUnnamed1366() => [ 'foo', 'foo', ]; -void checkUnnamed1341(core.List o) { +void checkUnnamed1366(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -33333,12 +33367,12 @@ void checkTargetPoolAggregatedListWarningData( buildCounterTargetPoolAggregatedListWarningData--; } -core.List buildUnnamed1342() => [ +core.List buildUnnamed1367() => [ buildTargetPoolAggregatedListWarningData(), buildTargetPoolAggregatedListWarningData(), ]; -void checkUnnamed1342(core.List o) { +void checkUnnamed1367(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPoolAggregatedListWarningData(o[0]); checkTargetPoolAggregatedListWarningData(o[1]); @@ -33350,7 +33384,7 @@ api.TargetPoolAggregatedListWarning buildTargetPoolAggregatedListWarning() { buildCounterTargetPoolAggregatedListWarning++; if (buildCounterTargetPoolAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1342(); + o.data = buildUnnamed1367(); o.message = 'foo'; } buildCounterTargetPoolAggregatedListWarning--; @@ -33365,7 +33399,7 @@ void checkTargetPoolAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1342(o.data!); + checkUnnamed1367(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -33380,11 +33414,11 @@ api.TargetPoolAggregatedList buildTargetPoolAggregatedList() { buildCounterTargetPoolAggregatedList++; if (buildCounterTargetPoolAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1340(); + o.items = buildUnnamed1365(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1341(); + o.unreachables = buildUnnamed1366(); o.warning = buildTargetPoolAggregatedListWarning(); } buildCounterTargetPoolAggregatedList--; @@ -33398,7 +33432,7 @@ void checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1340(o.items!); + checkUnnamed1365(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -33411,18 +33445,18 @@ void checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1341(o.unreachables!); + checkUnnamed1366(o.unreachables!); checkTargetPoolAggregatedListWarning(o.warning!); } buildCounterTargetPoolAggregatedList--; } -core.List buildUnnamed1343() => [ +core.List buildUnnamed1368() => [ buildHealthStatus(), buildHealthStatus(), ]; -void checkUnnamed1343(core.List o) { +void checkUnnamed1368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthStatus(o[0]); checkHealthStatus(o[1]); @@ -33433,7 +33467,7 @@ api.TargetPoolInstanceHealth buildTargetPoolInstanceHealth() { final o = api.TargetPoolInstanceHealth(); buildCounterTargetPoolInstanceHealth++; if (buildCounterTargetPoolInstanceHealth < 3) { - o.healthStatus = buildUnnamed1343(); + o.healthStatus = buildUnnamed1368(); o.kind = 'foo'; } buildCounterTargetPoolInstanceHealth--; @@ -33443,7 +33477,7 @@ api.TargetPoolInstanceHealth buildTargetPoolInstanceHealth() { void checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { buildCounterTargetPoolInstanceHealth++; if (buildCounterTargetPoolInstanceHealth < 3) { - checkUnnamed1343(o.healthStatus!); + checkUnnamed1368(o.healthStatus!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -33452,12 +33486,12 @@ void checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { buildCounterTargetPoolInstanceHealth--; } -core.List buildUnnamed1344() => [ +core.List buildUnnamed1369() => [ buildTargetPool(), buildTargetPool(), ]; -void checkUnnamed1344(core.List o) { +void checkUnnamed1369(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPool(o[0]); checkTargetPool(o[1]); @@ -33490,12 +33524,12 @@ void checkTargetPoolListWarningData(api.TargetPoolListWarningData o) { buildCounterTargetPoolListWarningData--; } -core.List buildUnnamed1345() => [ +core.List buildUnnamed1370() => [ buildTargetPoolListWarningData(), buildTargetPoolListWarningData(), ]; -void checkUnnamed1345(core.List o) { +void checkUnnamed1370(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPoolListWarningData(o[0]); checkTargetPoolListWarningData(o[1]); @@ -33507,7 +33541,7 @@ api.TargetPoolListWarning buildTargetPoolListWarning() { buildCounterTargetPoolListWarning++; if (buildCounterTargetPoolListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1345(); + o.data = buildUnnamed1370(); o.message = 'foo'; } buildCounterTargetPoolListWarning--; @@ -33521,7 +33555,7 @@ void checkTargetPoolListWarning(api.TargetPoolListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1345(o.data!); + checkUnnamed1370(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -33536,7 +33570,7 @@ api.TargetPoolList buildTargetPoolList() { buildCounterTargetPoolList++; if (buildCounterTargetPoolList < 3) { o.id = 'foo'; - o.items = buildUnnamed1344(); + o.items = buildUnnamed1369(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -33553,7 +33587,7 @@ void checkTargetPoolList(api.TargetPoolList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1344(o.items!); + checkUnnamed1369(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -33571,12 +33605,12 @@ void checkTargetPoolList(api.TargetPoolList o) { buildCounterTargetPoolList--; } -core.List buildUnnamed1346() => [ +core.List buildUnnamed1371() => [ buildHealthCheckReference(), buildHealthCheckReference(), ]; -void checkUnnamed1346(core.List o) { +void checkUnnamed1371(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckReference(o[0]); checkHealthCheckReference(o[1]); @@ -33587,7 +33621,7 @@ api.TargetPoolsAddHealthCheckRequest buildTargetPoolsAddHealthCheckRequest() { final o = api.TargetPoolsAddHealthCheckRequest(); buildCounterTargetPoolsAddHealthCheckRequest++; if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { - o.healthChecks = buildUnnamed1346(); + o.healthChecks = buildUnnamed1371(); } buildCounterTargetPoolsAddHealthCheckRequest--; return o; @@ -33597,17 +33631,17 @@ void checkTargetPoolsAddHealthCheckRequest( api.TargetPoolsAddHealthCheckRequest o) { buildCounterTargetPoolsAddHealthCheckRequest++; if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { - checkUnnamed1346(o.healthChecks!); + checkUnnamed1371(o.healthChecks!); } buildCounterTargetPoolsAddHealthCheckRequest--; } -core.List buildUnnamed1347() => [ +core.List buildUnnamed1372() => [ buildInstanceReference(), buildInstanceReference(), ]; -void checkUnnamed1347(core.List o) { +void checkUnnamed1372(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -33618,7 +33652,7 @@ api.TargetPoolsAddInstanceRequest buildTargetPoolsAddInstanceRequest() { final o = api.TargetPoolsAddInstanceRequest(); buildCounterTargetPoolsAddInstanceRequest++; if (buildCounterTargetPoolsAddInstanceRequest < 3) { - o.instances = buildUnnamed1347(); + o.instances = buildUnnamed1372(); } buildCounterTargetPoolsAddInstanceRequest--; return o; @@ -33627,17 +33661,17 @@ api.TargetPoolsAddInstanceRequest buildTargetPoolsAddInstanceRequest() { void checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { buildCounterTargetPoolsAddInstanceRequest++; if (buildCounterTargetPoolsAddInstanceRequest < 3) { - checkUnnamed1347(o.instances!); + checkUnnamed1372(o.instances!); } buildCounterTargetPoolsAddInstanceRequest--; } -core.List buildUnnamed1348() => [ +core.List buildUnnamed1373() => [ buildHealthCheckReference(), buildHealthCheckReference(), ]; -void checkUnnamed1348(core.List o) { +void checkUnnamed1373(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHealthCheckReference(o[0]); checkHealthCheckReference(o[1]); @@ -33649,7 +33683,7 @@ api.TargetPoolsRemoveHealthCheckRequest final o = api.TargetPoolsRemoveHealthCheckRequest(); buildCounterTargetPoolsRemoveHealthCheckRequest++; if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { - o.healthChecks = buildUnnamed1348(); + o.healthChecks = buildUnnamed1373(); } buildCounterTargetPoolsRemoveHealthCheckRequest--; return o; @@ -33659,17 +33693,17 @@ void checkTargetPoolsRemoveHealthCheckRequest( api.TargetPoolsRemoveHealthCheckRequest o) { buildCounterTargetPoolsRemoveHealthCheckRequest++; if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { - checkUnnamed1348(o.healthChecks!); + checkUnnamed1373(o.healthChecks!); } buildCounterTargetPoolsRemoveHealthCheckRequest--; } -core.List buildUnnamed1349() => [ +core.List buildUnnamed1374() => [ buildInstanceReference(), buildInstanceReference(), ]; -void checkUnnamed1349(core.List o) { +void checkUnnamed1374(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -33680,7 +33714,7 @@ api.TargetPoolsRemoveInstanceRequest buildTargetPoolsRemoveInstanceRequest() { final o = api.TargetPoolsRemoveInstanceRequest(); buildCounterTargetPoolsRemoveInstanceRequest++; if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { - o.instances = buildUnnamed1349(); + o.instances = buildUnnamed1374(); } buildCounterTargetPoolsRemoveInstanceRequest--; return o; @@ -33690,17 +33724,17 @@ void checkTargetPoolsRemoveInstanceRequest( api.TargetPoolsRemoveInstanceRequest o) { buildCounterTargetPoolsRemoveInstanceRequest++; if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { - checkUnnamed1349(o.instances!); + checkUnnamed1374(o.instances!); } buildCounterTargetPoolsRemoveInstanceRequest--; } -core.List buildUnnamed1350() => [ +core.List buildUnnamed1375() => [ buildTargetPool(), buildTargetPool(), ]; -void checkUnnamed1350(core.List o) { +void checkUnnamed1375(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPool(o[0]); checkTargetPool(o[1]); @@ -33734,12 +33768,12 @@ void checkTargetPoolsScopedListWarningData( buildCounterTargetPoolsScopedListWarningData--; } -core.List buildUnnamed1351() => [ +core.List buildUnnamed1376() => [ buildTargetPoolsScopedListWarningData(), buildTargetPoolsScopedListWarningData(), ]; -void checkUnnamed1351(core.List o) { +void checkUnnamed1376(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetPoolsScopedListWarningData(o[0]); checkTargetPoolsScopedListWarningData(o[1]); @@ -33751,7 +33785,7 @@ api.TargetPoolsScopedListWarning buildTargetPoolsScopedListWarning() { buildCounterTargetPoolsScopedListWarning++; if (buildCounterTargetPoolsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1351(); + o.data = buildUnnamed1376(); o.message = 'foo'; } buildCounterTargetPoolsScopedListWarning--; @@ -33765,7 +33799,7 @@ void checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1351(o.data!); + checkUnnamed1376(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -33779,7 +33813,7 @@ api.TargetPoolsScopedList buildTargetPoolsScopedList() { final o = api.TargetPoolsScopedList(); buildCounterTargetPoolsScopedList++; if (buildCounterTargetPoolsScopedList < 3) { - o.targetPools = buildUnnamed1350(); + o.targetPools = buildUnnamed1375(); o.warning = buildTargetPoolsScopedListWarning(); } buildCounterTargetPoolsScopedList--; @@ -33789,7 +33823,7 @@ api.TargetPoolsScopedList buildTargetPoolsScopedList() { void checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { buildCounterTargetPoolsScopedList++; if (buildCounterTargetPoolsScopedList < 3) { - checkUnnamed1350(o.targetPools!); + checkUnnamed1375(o.targetPools!); checkTargetPoolsScopedListWarning(o.warning!); } buildCounterTargetPoolsScopedList--; @@ -33865,12 +33899,12 @@ void checkTargetSslProxiesSetProxyHeaderRequest( buildCounterTargetSslProxiesSetProxyHeaderRequest--; } -core.List buildUnnamed1352() => [ +core.List buildUnnamed1377() => [ 'foo', 'foo', ]; -void checkUnnamed1352(core.List o) { +void checkUnnamed1377(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -33888,7 +33922,7 @@ api.TargetSslProxiesSetSslCertificatesRequest final o = api.TargetSslProxiesSetSslCertificatesRequest(); buildCounterTargetSslProxiesSetSslCertificatesRequest++; if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { - o.sslCertificates = buildUnnamed1352(); + o.sslCertificates = buildUnnamed1377(); } buildCounterTargetSslProxiesSetSslCertificatesRequest--; return o; @@ -33898,17 +33932,17 @@ void checkTargetSslProxiesSetSslCertificatesRequest( api.TargetSslProxiesSetSslCertificatesRequest o) { buildCounterTargetSslProxiesSetSslCertificatesRequest++; if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { - checkUnnamed1352(o.sslCertificates!); + checkUnnamed1377(o.sslCertificates!); } buildCounterTargetSslProxiesSetSslCertificatesRequest--; } -core.List buildUnnamed1353() => [ +core.List buildUnnamed1378() => [ 'foo', 'foo', ]; -void checkUnnamed1353(core.List o) { +void checkUnnamed1378(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -33933,7 +33967,7 @@ api.TargetSslProxy buildTargetSslProxy() { o.proxyHeader = 'foo'; o.selfLink = 'foo'; o.service = 'foo'; - o.sslCertificates = buildUnnamed1353(); + o.sslCertificates = buildUnnamed1378(); o.sslPolicy = 'foo'; } buildCounterTargetSslProxy--; @@ -33975,7 +34009,7 @@ void checkTargetSslProxy(api.TargetSslProxy o) { o.service!, unittest.equals('foo'), ); - checkUnnamed1353(o.sslCertificates!); + checkUnnamed1378(o.sslCertificates!); unittest.expect( o.sslPolicy!, unittest.equals('foo'), @@ -33984,12 +34018,12 @@ void checkTargetSslProxy(api.TargetSslProxy o) { buildCounterTargetSslProxy--; } -core.List buildUnnamed1354() => [ +core.List buildUnnamed1379() => [ buildTargetSslProxy(), buildTargetSslProxy(), ]; -void checkUnnamed1354(core.List o) { +void checkUnnamed1379(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetSslProxy(o[0]); checkTargetSslProxy(o[1]); @@ -34022,12 +34056,12 @@ void checkTargetSslProxyListWarningData(api.TargetSslProxyListWarningData o) { buildCounterTargetSslProxyListWarningData--; } -core.List buildUnnamed1355() => [ +core.List buildUnnamed1380() => [ buildTargetSslProxyListWarningData(), buildTargetSslProxyListWarningData(), ]; -void checkUnnamed1355(core.List o) { +void checkUnnamed1380(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetSslProxyListWarningData(o[0]); checkTargetSslProxyListWarningData(o[1]); @@ -34039,7 +34073,7 @@ api.TargetSslProxyListWarning buildTargetSslProxyListWarning() { buildCounterTargetSslProxyListWarning++; if (buildCounterTargetSslProxyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1355(); + o.data = buildUnnamed1380(); o.message = 'foo'; } buildCounterTargetSslProxyListWarning--; @@ -34053,7 +34087,7 @@ void checkTargetSslProxyListWarning(api.TargetSslProxyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1355(o.data!); + checkUnnamed1380(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -34068,7 +34102,7 @@ api.TargetSslProxyList buildTargetSslProxyList() { buildCounterTargetSslProxyList++; if (buildCounterTargetSslProxyList < 3) { o.id = 'foo'; - o.items = buildUnnamed1354(); + o.items = buildUnnamed1379(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -34085,7 +34119,7 @@ void checkTargetSslProxyList(api.TargetSslProxyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1354(o.items!); + checkUnnamed1379(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -34210,12 +34244,12 @@ void checkTargetTcpProxy(api.TargetTcpProxy o) { buildCounterTargetTcpProxy--; } -core.List buildUnnamed1356() => [ +core.List buildUnnamed1381() => [ buildTargetTcpProxy(), buildTargetTcpProxy(), ]; -void checkUnnamed1356(core.List o) { +void checkUnnamed1381(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetTcpProxy(o[0]); checkTargetTcpProxy(o[1]); @@ -34248,12 +34282,12 @@ void checkTargetTcpProxyListWarningData(api.TargetTcpProxyListWarningData o) { buildCounterTargetTcpProxyListWarningData--; } -core.List buildUnnamed1357() => [ +core.List buildUnnamed1382() => [ buildTargetTcpProxyListWarningData(), buildTargetTcpProxyListWarningData(), ]; -void checkUnnamed1357(core.List o) { +void checkUnnamed1382(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetTcpProxyListWarningData(o[0]); checkTargetTcpProxyListWarningData(o[1]); @@ -34265,7 +34299,7 @@ api.TargetTcpProxyListWarning buildTargetTcpProxyListWarning() { buildCounterTargetTcpProxyListWarning++; if (buildCounterTargetTcpProxyListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1357(); + o.data = buildUnnamed1382(); o.message = 'foo'; } buildCounterTargetTcpProxyListWarning--; @@ -34279,7 +34313,7 @@ void checkTargetTcpProxyListWarning(api.TargetTcpProxyListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1357(o.data!); + checkUnnamed1382(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -34294,7 +34328,7 @@ api.TargetTcpProxyList buildTargetTcpProxyList() { buildCounterTargetTcpProxyList++; if (buildCounterTargetTcpProxyList < 3) { o.id = 'foo'; - o.items = buildUnnamed1356(); + o.items = buildUnnamed1381(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -34311,7 +34345,7 @@ void checkTargetTcpProxyList(api.TargetTcpProxyList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1356(o.items!); + checkUnnamed1381(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -34329,12 +34363,12 @@ void checkTargetTcpProxyList(api.TargetTcpProxyList o) { buildCounterTargetTcpProxyList--; } -core.List buildUnnamed1358() => [ +core.List buildUnnamed1383() => [ 'foo', 'foo', ]; -void checkUnnamed1358(core.List o) { +void checkUnnamed1383(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -34346,12 +34380,12 @@ void checkUnnamed1358(core.List o) { ); } -core.List buildUnnamed1359() => [ +core.List buildUnnamed1384() => [ 'foo', 'foo', ]; -void checkUnnamed1359(core.List o) { +void checkUnnamed1384(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -34370,7 +34404,7 @@ api.TargetVpnGateway buildTargetVpnGateway() { if (buildCounterTargetVpnGateway < 3) { o.creationTimestamp = 'foo'; o.description = 'foo'; - o.forwardingRules = buildUnnamed1358(); + o.forwardingRules = buildUnnamed1383(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; @@ -34378,7 +34412,7 @@ api.TargetVpnGateway buildTargetVpnGateway() { o.region = 'foo'; o.selfLink = 'foo'; o.status = 'foo'; - o.tunnels = buildUnnamed1359(); + o.tunnels = buildUnnamed1384(); } buildCounterTargetVpnGateway--; return o; @@ -34395,7 +34429,7 @@ void checkTargetVpnGateway(api.TargetVpnGateway o) { o.description!, unittest.equals('foo'), ); - checkUnnamed1358(o.forwardingRules!); + checkUnnamed1383(o.forwardingRules!); unittest.expect( o.id!, unittest.equals('foo'), @@ -34424,29 +34458,29 @@ void checkTargetVpnGateway(api.TargetVpnGateway o) { o.status!, unittest.equals('foo'), ); - checkUnnamed1359(o.tunnels!); + checkUnnamed1384(o.tunnels!); } buildCounterTargetVpnGateway--; } -core.Map buildUnnamed1360() => { +core.Map buildUnnamed1385() => { 'x': buildTargetVpnGatewaysScopedList(), 'y': buildTargetVpnGatewaysScopedList(), }; -void checkUnnamed1360( +void checkUnnamed1385( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTargetVpnGatewaysScopedList(o['x']!); checkTargetVpnGatewaysScopedList(o['y']!); } -core.List buildUnnamed1361() => [ +core.List buildUnnamed1386() => [ 'foo', 'foo', ]; -void checkUnnamed1361(core.List o) { +void checkUnnamed1386(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -34487,12 +34521,12 @@ void checkTargetVpnGatewayAggregatedListWarningData( buildCounterTargetVpnGatewayAggregatedListWarningData--; } -core.List buildUnnamed1362() => [ +core.List buildUnnamed1387() => [ buildTargetVpnGatewayAggregatedListWarningData(), buildTargetVpnGatewayAggregatedListWarningData(), ]; -void checkUnnamed1362( +void checkUnnamed1387( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetVpnGatewayAggregatedListWarningData(o[0]); @@ -34506,7 +34540,7 @@ api.TargetVpnGatewayAggregatedListWarning buildCounterTargetVpnGatewayAggregatedListWarning++; if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1362(); + o.data = buildUnnamed1387(); o.message = 'foo'; } buildCounterTargetVpnGatewayAggregatedListWarning--; @@ -34521,7 +34555,7 @@ void checkTargetVpnGatewayAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1362(o.data!); + checkUnnamed1387(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -34536,11 +34570,11 @@ api.TargetVpnGatewayAggregatedList buildTargetVpnGatewayAggregatedList() { buildCounterTargetVpnGatewayAggregatedList++; if (buildCounterTargetVpnGatewayAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1360(); + o.items = buildUnnamed1385(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1361(); + o.unreachables = buildUnnamed1386(); o.warning = buildTargetVpnGatewayAggregatedListWarning(); } buildCounterTargetVpnGatewayAggregatedList--; @@ -34554,7 +34588,7 @@ void checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1360(o.items!); + checkUnnamed1385(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -34567,18 +34601,18 @@ void checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1361(o.unreachables!); + checkUnnamed1386(o.unreachables!); checkTargetVpnGatewayAggregatedListWarning(o.warning!); } buildCounterTargetVpnGatewayAggregatedList--; } -core.List buildUnnamed1363() => [ +core.List buildUnnamed1388() => [ buildTargetVpnGateway(), buildTargetVpnGateway(), ]; -void checkUnnamed1363(core.List o) { +void checkUnnamed1388(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetVpnGateway(o[0]); checkTargetVpnGateway(o[1]); @@ -34612,12 +34646,12 @@ void checkTargetVpnGatewayListWarningData( buildCounterTargetVpnGatewayListWarningData--; } -core.List buildUnnamed1364() => [ +core.List buildUnnamed1389() => [ buildTargetVpnGatewayListWarningData(), buildTargetVpnGatewayListWarningData(), ]; -void checkUnnamed1364(core.List o) { +void checkUnnamed1389(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetVpnGatewayListWarningData(o[0]); checkTargetVpnGatewayListWarningData(o[1]); @@ -34629,7 +34663,7 @@ api.TargetVpnGatewayListWarning buildTargetVpnGatewayListWarning() { buildCounterTargetVpnGatewayListWarning++; if (buildCounterTargetVpnGatewayListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1364(); + o.data = buildUnnamed1389(); o.message = 'foo'; } buildCounterTargetVpnGatewayListWarning--; @@ -34643,7 +34677,7 @@ void checkTargetVpnGatewayListWarning(api.TargetVpnGatewayListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1364(o.data!); + checkUnnamed1389(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -34658,7 +34692,7 @@ api.TargetVpnGatewayList buildTargetVpnGatewayList() { buildCounterTargetVpnGatewayList++; if (buildCounterTargetVpnGatewayList < 3) { o.id = 'foo'; - o.items = buildUnnamed1363(); + o.items = buildUnnamed1388(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -34675,7 +34709,7 @@ void checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1363(o.items!); + checkUnnamed1388(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -34693,12 +34727,12 @@ void checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { buildCounterTargetVpnGatewayList--; } -core.List buildUnnamed1365() => [ +core.List buildUnnamed1390() => [ buildTargetVpnGateway(), buildTargetVpnGateway(), ]; -void checkUnnamed1365(core.List o) { +void checkUnnamed1390(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetVpnGateway(o[0]); checkTargetVpnGateway(o[1]); @@ -34733,12 +34767,12 @@ void checkTargetVpnGatewaysScopedListWarningData( buildCounterTargetVpnGatewaysScopedListWarningData--; } -core.List buildUnnamed1366() => [ +core.List buildUnnamed1391() => [ buildTargetVpnGatewaysScopedListWarningData(), buildTargetVpnGatewaysScopedListWarningData(), ]; -void checkUnnamed1366(core.List o) { +void checkUnnamed1391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetVpnGatewaysScopedListWarningData(o[0]); checkTargetVpnGatewaysScopedListWarningData(o[1]); @@ -34751,7 +34785,7 @@ api.TargetVpnGatewaysScopedListWarning buildCounterTargetVpnGatewaysScopedListWarning++; if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1366(); + o.data = buildUnnamed1391(); o.message = 'foo'; } buildCounterTargetVpnGatewaysScopedListWarning--; @@ -34766,7 +34800,7 @@ void checkTargetVpnGatewaysScopedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1366(o.data!); + checkUnnamed1391(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -34780,7 +34814,7 @@ api.TargetVpnGatewaysScopedList buildTargetVpnGatewaysScopedList() { final o = api.TargetVpnGatewaysScopedList(); buildCounterTargetVpnGatewaysScopedList++; if (buildCounterTargetVpnGatewaysScopedList < 3) { - o.targetVpnGateways = buildUnnamed1365(); + o.targetVpnGateways = buildUnnamed1390(); o.warning = buildTargetVpnGatewaysScopedListWarning(); } buildCounterTargetVpnGatewaysScopedList--; @@ -34790,18 +34824,18 @@ api.TargetVpnGatewaysScopedList buildTargetVpnGatewaysScopedList() { void checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { buildCounterTargetVpnGatewaysScopedList++; if (buildCounterTargetVpnGatewaysScopedList < 3) { - checkUnnamed1365(o.targetVpnGateways!); + checkUnnamed1390(o.targetVpnGateways!); checkTargetVpnGatewaysScopedListWarning(o.warning!); } buildCounterTargetVpnGatewaysScopedList--; } -core.List buildUnnamed1367() => [ +core.List buildUnnamed1392() => [ buildUrlMapTestHeader(), buildUrlMapTestHeader(), ]; -void checkUnnamed1367(core.List o) { +void checkUnnamed1392(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapTestHeader(o[0]); checkUrlMapTestHeader(o[1]); @@ -34818,7 +34852,7 @@ api.TestFailure buildTestFailure() { o.expectedOutputUrl = 'foo'; o.expectedRedirectResponseCode = 42; o.expectedService = 'foo'; - o.headers = buildUnnamed1367(); + o.headers = buildUnnamed1392(); o.host = 'foo'; o.path = 'foo'; } @@ -34853,7 +34887,7 @@ void checkTestFailure(api.TestFailure o) { o.expectedService!, unittest.equals('foo'), ); - checkUnnamed1367(o.headers!); + checkUnnamed1392(o.headers!); unittest.expect( o.host!, unittest.equals('foo'), @@ -34866,12 +34900,12 @@ void checkTestFailure(api.TestFailure o) { buildCounterTestFailure--; } -core.List buildUnnamed1368() => [ +core.List buildUnnamed1393() => [ 'foo', 'foo', ]; -void checkUnnamed1368(core.List o) { +void checkUnnamed1393(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -34888,7 +34922,7 @@ api.TestPermissionsRequest buildTestPermissionsRequest() { final o = api.TestPermissionsRequest(); buildCounterTestPermissionsRequest++; if (buildCounterTestPermissionsRequest < 3) { - o.permissions = buildUnnamed1368(); + o.permissions = buildUnnamed1393(); } buildCounterTestPermissionsRequest--; return o; @@ -34897,17 +34931,17 @@ api.TestPermissionsRequest buildTestPermissionsRequest() { void checkTestPermissionsRequest(api.TestPermissionsRequest o) { buildCounterTestPermissionsRequest++; if (buildCounterTestPermissionsRequest < 3) { - checkUnnamed1368(o.permissions!); + checkUnnamed1393(o.permissions!); } buildCounterTestPermissionsRequest--; } -core.List buildUnnamed1369() => [ +core.List buildUnnamed1394() => [ 'foo', 'foo', ]; -void checkUnnamed1369(core.List o) { +void checkUnnamed1394(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -34924,7 +34958,7 @@ api.TestPermissionsResponse buildTestPermissionsResponse() { final o = api.TestPermissionsResponse(); buildCounterTestPermissionsResponse++; if (buildCounterTestPermissionsResponse < 3) { - o.permissions = buildUnnamed1369(); + o.permissions = buildUnnamed1394(); } buildCounterTestPermissionsResponse--; return o; @@ -34933,7 +34967,7 @@ api.TestPermissionsResponse buildTestPermissionsResponse() { void checkTestPermissionsResponse(api.TestPermissionsResponse o) { buildCounterTestPermissionsResponse++; if (buildCounterTestPermissionsResponse < 3) { - checkUnnamed1369(o.permissions!); + checkUnnamed1394(o.permissions!); } buildCounterTestPermissionsResponse--; } @@ -34965,34 +34999,34 @@ void checkUint128(api.Uint128 o) { buildCounterUint128--; } -core.List buildUnnamed1370() => [ +core.List buildUnnamed1395() => [ buildHostRule(), buildHostRule(), ]; -void checkUnnamed1370(core.List o) { +void checkUnnamed1395(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHostRule(o[0]); checkHostRule(o[1]); } -core.List buildUnnamed1371() => [ +core.List buildUnnamed1396() => [ buildPathMatcher(), buildPathMatcher(), ]; -void checkUnnamed1371(core.List o) { +void checkUnnamed1396(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathMatcher(o[0]); checkPathMatcher(o[1]); } -core.List buildUnnamed1372() => [ +core.List buildUnnamed1397() => [ buildUrlMapTest(), buildUrlMapTest(), ]; -void checkUnnamed1372(core.List o) { +void checkUnnamed1397(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapTest(o[0]); checkUrlMapTest(o[1]); @@ -35010,14 +35044,14 @@ api.UrlMap buildUrlMap() { o.description = 'foo'; o.fingerprint = 'foo'; o.headerAction = buildHttpHeaderAction(); - o.hostRules = buildUnnamed1370(); + o.hostRules = buildUnnamed1395(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.pathMatchers = buildUnnamed1371(); + o.pathMatchers = buildUnnamed1396(); o.region = 'foo'; o.selfLink = 'foo'; - o.tests = buildUnnamed1372(); + o.tests = buildUnnamed1397(); } buildCounterUrlMap--; return o; @@ -35045,7 +35079,7 @@ void checkUrlMap(api.UrlMap o) { unittest.equals('foo'), ); checkHttpHeaderAction(o.headerAction!); - checkUnnamed1370(o.hostRules!); + checkUnnamed1395(o.hostRules!); unittest.expect( o.id!, unittest.equals('foo'), @@ -35058,7 +35092,7 @@ void checkUrlMap(api.UrlMap o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1371(o.pathMatchers!); + checkUnnamed1396(o.pathMatchers!); unittest.expect( o.region!, unittest.equals('foo'), @@ -35067,17 +35101,17 @@ void checkUrlMap(api.UrlMap o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1372(o.tests!); + checkUnnamed1397(o.tests!); } buildCounterUrlMap--; } -core.List buildUnnamed1373() => [ +core.List buildUnnamed1398() => [ buildUrlMap(), buildUrlMap(), ]; -void checkUnnamed1373(core.List o) { +void checkUnnamed1398(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMap(o[0]); checkUrlMap(o[1]); @@ -35110,12 +35144,12 @@ void checkUrlMapListWarningData(api.UrlMapListWarningData o) { buildCounterUrlMapListWarningData--; } -core.List buildUnnamed1374() => [ +core.List buildUnnamed1399() => [ buildUrlMapListWarningData(), buildUrlMapListWarningData(), ]; -void checkUnnamed1374(core.List o) { +void checkUnnamed1399(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapListWarningData(o[0]); checkUrlMapListWarningData(o[1]); @@ -35127,7 +35161,7 @@ api.UrlMapListWarning buildUrlMapListWarning() { buildCounterUrlMapListWarning++; if (buildCounterUrlMapListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1374(); + o.data = buildUnnamed1399(); o.message = 'foo'; } buildCounterUrlMapListWarning--; @@ -35141,7 +35175,7 @@ void checkUrlMapListWarning(api.UrlMapListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1374(o.data!); + checkUnnamed1399(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -35156,7 +35190,7 @@ api.UrlMapList buildUrlMapList() { buildCounterUrlMapList++; if (buildCounterUrlMapList < 3) { o.id = 'foo'; - o.items = buildUnnamed1373(); + o.items = buildUnnamed1398(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -35173,7 +35207,7 @@ void checkUrlMapList(api.UrlMapList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1373(o.items!); + checkUnnamed1398(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -35213,12 +35247,12 @@ void checkUrlMapReference(api.UrlMapReference o) { buildCounterUrlMapReference--; } -core.List buildUnnamed1375() => [ +core.List buildUnnamed1400() => [ buildUrlMapTestHeader(), buildUrlMapTestHeader(), ]; -void checkUnnamed1375(core.List o) { +void checkUnnamed1400(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapTestHeader(o[0]); checkUrlMapTestHeader(o[1]); @@ -35232,7 +35266,7 @@ api.UrlMapTest buildUrlMapTest() { o.description = 'foo'; o.expectedOutputUrl = 'foo'; o.expectedRedirectResponseCode = 42; - o.headers = buildUnnamed1375(); + o.headers = buildUnnamed1400(); o.host = 'foo'; o.path = 'foo'; o.service = 'foo'; @@ -35256,7 +35290,7 @@ void checkUrlMapTest(api.UrlMapTest o) { o.expectedRedirectResponseCode!, unittest.equals(42), ); - checkUnnamed1375(o.headers!); + checkUnnamed1400(o.headers!); unittest.expect( o.host!, unittest.equals('foo'), @@ -35300,12 +35334,12 @@ void checkUrlMapTestHeader(api.UrlMapTestHeader o) { buildCounterUrlMapTestHeader--; } -core.List buildUnnamed1376() => [ +core.List buildUnnamed1401() => [ 'foo', 'foo', ]; -void checkUnnamed1376(core.List o) { +void checkUnnamed1401(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -35317,12 +35351,12 @@ void checkUnnamed1376(core.List o) { ); } -core.List buildUnnamed1377() => [ +core.List buildUnnamed1402() => [ buildTestFailure(), buildTestFailure(), ]; -void checkUnnamed1377(core.List o) { +void checkUnnamed1402(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestFailure(o[0]); checkTestFailure(o[1]); @@ -35333,9 +35367,9 @@ api.UrlMapValidationResult buildUrlMapValidationResult() { final o = api.UrlMapValidationResult(); buildCounterUrlMapValidationResult++; if (buildCounterUrlMapValidationResult < 3) { - o.loadErrors = buildUnnamed1376(); + o.loadErrors = buildUnnamed1401(); o.loadSucceeded = true; - o.testFailures = buildUnnamed1377(); + o.testFailures = buildUnnamed1402(); o.testPassed = true; } buildCounterUrlMapValidationResult--; @@ -35345,31 +35379,31 @@ api.UrlMapValidationResult buildUrlMapValidationResult() { void checkUrlMapValidationResult(api.UrlMapValidationResult o) { buildCounterUrlMapValidationResult++; if (buildCounterUrlMapValidationResult < 3) { - checkUnnamed1376(o.loadErrors!); + checkUnnamed1401(o.loadErrors!); unittest.expect(o.loadSucceeded!, unittest.isTrue); - checkUnnamed1377(o.testFailures!); + checkUnnamed1402(o.testFailures!); unittest.expect(o.testPassed!, unittest.isTrue); } buildCounterUrlMapValidationResult--; } -core.Map buildUnnamed1378() => { +core.Map buildUnnamed1403() => { 'x': buildUrlMapsScopedList(), 'y': buildUrlMapsScopedList(), }; -void checkUnnamed1378(core.Map o) { +void checkUnnamed1403(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapsScopedList(o['x']!); checkUrlMapsScopedList(o['y']!); } -core.List buildUnnamed1379() => [ +core.List buildUnnamed1404() => [ 'foo', 'foo', ]; -void checkUnnamed1379(core.List o) { +void checkUnnamed1404(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -35409,12 +35443,12 @@ void checkUrlMapsAggregatedListWarningData( buildCounterUrlMapsAggregatedListWarningData--; } -core.List buildUnnamed1380() => [ +core.List buildUnnamed1405() => [ buildUrlMapsAggregatedListWarningData(), buildUrlMapsAggregatedListWarningData(), ]; -void checkUnnamed1380(core.List o) { +void checkUnnamed1405(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapsAggregatedListWarningData(o[0]); checkUrlMapsAggregatedListWarningData(o[1]); @@ -35426,7 +35460,7 @@ api.UrlMapsAggregatedListWarning buildUrlMapsAggregatedListWarning() { buildCounterUrlMapsAggregatedListWarning++; if (buildCounterUrlMapsAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1380(); + o.data = buildUnnamed1405(); o.message = 'foo'; } buildCounterUrlMapsAggregatedListWarning--; @@ -35440,7 +35474,7 @@ void checkUrlMapsAggregatedListWarning(api.UrlMapsAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1380(o.data!); + checkUnnamed1405(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -35455,11 +35489,11 @@ api.UrlMapsAggregatedList buildUrlMapsAggregatedList() { buildCounterUrlMapsAggregatedList++; if (buildCounterUrlMapsAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1378(); + o.items = buildUnnamed1403(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1379(); + o.unreachables = buildUnnamed1404(); o.warning = buildUrlMapsAggregatedListWarning(); } buildCounterUrlMapsAggregatedList--; @@ -35473,7 +35507,7 @@ void checkUrlMapsAggregatedList(api.UrlMapsAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1378(o.items!); + checkUnnamed1403(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -35486,18 +35520,18 @@ void checkUrlMapsAggregatedList(api.UrlMapsAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1379(o.unreachables!); + checkUnnamed1404(o.unreachables!); checkUrlMapsAggregatedListWarning(o.warning!); } buildCounterUrlMapsAggregatedList--; } -core.List buildUnnamed1381() => [ +core.List buildUnnamed1406() => [ buildUrlMap(), buildUrlMap(), ]; -void checkUnnamed1381(core.List o) { +void checkUnnamed1406(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMap(o[0]); checkUrlMap(o[1]); @@ -35530,12 +35564,12 @@ void checkUrlMapsScopedListWarningData(api.UrlMapsScopedListWarningData o) { buildCounterUrlMapsScopedListWarningData--; } -core.List buildUnnamed1382() => [ +core.List buildUnnamed1407() => [ buildUrlMapsScopedListWarningData(), buildUrlMapsScopedListWarningData(), ]; -void checkUnnamed1382(core.List o) { +void checkUnnamed1407(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlMapsScopedListWarningData(o[0]); checkUrlMapsScopedListWarningData(o[1]); @@ -35547,7 +35581,7 @@ api.UrlMapsScopedListWarning buildUrlMapsScopedListWarning() { buildCounterUrlMapsScopedListWarning++; if (buildCounterUrlMapsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1382(); + o.data = buildUnnamed1407(); o.message = 'foo'; } buildCounterUrlMapsScopedListWarning--; @@ -35561,7 +35595,7 @@ void checkUrlMapsScopedListWarning(api.UrlMapsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1382(o.data!); + checkUnnamed1407(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -35575,7 +35609,7 @@ api.UrlMapsScopedList buildUrlMapsScopedList() { final o = api.UrlMapsScopedList(); buildCounterUrlMapsScopedList++; if (buildCounterUrlMapsScopedList < 3) { - o.urlMaps = buildUnnamed1381(); + o.urlMaps = buildUnnamed1406(); o.warning = buildUrlMapsScopedListWarning(); } buildCounterUrlMapsScopedList--; @@ -35585,7 +35619,7 @@ api.UrlMapsScopedList buildUrlMapsScopedList() { void checkUrlMapsScopedList(api.UrlMapsScopedList o) { buildCounterUrlMapsScopedList++; if (buildCounterUrlMapsScopedList < 3) { - checkUnnamed1381(o.urlMaps!); + checkUnnamed1406(o.urlMaps!); checkUrlMapsScopedListWarning(o.warning!); } buildCounterUrlMapsScopedList--; @@ -35656,12 +35690,12 @@ void checkUrlRewrite(api.UrlRewrite o) { buildCounterUrlRewrite--; } -core.List buildUnnamed1383() => [ +core.List buildUnnamed1408() => [ buildUsableSubnetworkSecondaryRange(), buildUsableSubnetworkSecondaryRange(), ]; -void checkUnnamed1383(core.List o) { +void checkUnnamed1408(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsableSubnetworkSecondaryRange(o[0]); checkUsableSubnetworkSecondaryRange(o[1]); @@ -35674,7 +35708,7 @@ api.UsableSubnetwork buildUsableSubnetwork() { if (buildCounterUsableSubnetwork < 3) { o.ipCidrRange = 'foo'; o.network = 'foo'; - o.secondaryIpRanges = buildUnnamed1383(); + o.secondaryIpRanges = buildUnnamed1408(); o.subnetwork = 'foo'; } buildCounterUsableSubnetwork--; @@ -35692,7 +35726,7 @@ void checkUsableSubnetwork(api.UsableSubnetwork o) { o.network!, unittest.equals('foo'), ); - checkUnnamed1383(o.secondaryIpRanges!); + checkUnnamed1408(o.secondaryIpRanges!); unittest.expect( o.subnetwork!, unittest.equals('foo'), @@ -35728,12 +35762,12 @@ void checkUsableSubnetworkSecondaryRange(api.UsableSubnetworkSecondaryRange o) { buildCounterUsableSubnetworkSecondaryRange--; } -core.List buildUnnamed1384() => [ +core.List buildUnnamed1409() => [ buildUsableSubnetwork(), buildUsableSubnetwork(), ]; -void checkUnnamed1384(core.List o) { +void checkUnnamed1409(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsableSubnetwork(o[0]); checkUsableSubnetwork(o[1]); @@ -35768,13 +35802,13 @@ void checkUsableSubnetworksAggregatedListWarningData( buildCounterUsableSubnetworksAggregatedListWarningData--; } -core.List buildUnnamed1385() => +core.List buildUnnamed1410() => [ buildUsableSubnetworksAggregatedListWarningData(), buildUsableSubnetworksAggregatedListWarningData(), ]; -void checkUnnamed1385( +void checkUnnamed1410( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsableSubnetworksAggregatedListWarningData(o[0]); @@ -35788,7 +35822,7 @@ api.UsableSubnetworksAggregatedListWarning buildCounterUsableSubnetworksAggregatedListWarning++; if (buildCounterUsableSubnetworksAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1385(); + o.data = buildUnnamed1410(); o.message = 'foo'; } buildCounterUsableSubnetworksAggregatedListWarning--; @@ -35803,7 +35837,7 @@ void checkUsableSubnetworksAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1385(o.data!); + checkUnnamed1410(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -35818,7 +35852,7 @@ api.UsableSubnetworksAggregatedList buildUsableSubnetworksAggregatedList() { buildCounterUsableSubnetworksAggregatedList++; if (buildCounterUsableSubnetworksAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1384(); + o.items = buildUnnamed1409(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -35836,7 +35870,7 @@ void checkUsableSubnetworksAggregatedList( o.id!, unittest.equals('foo'), ); - checkUnnamed1384(o.items!); + checkUnnamed1409(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -35881,12 +35915,12 @@ void checkUsageExportLocation(api.UsageExportLocation o) { buildCounterUsageExportLocation--; } -core.List buildUnnamed1386() => [ +core.List buildUnnamed1411() => [ buildVmEndpointNatMappingsInterfaceNatMappings(), buildVmEndpointNatMappingsInterfaceNatMappings(), ]; -void checkUnnamed1386( +void checkUnnamed1411( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVmEndpointNatMappingsInterfaceNatMappings(o[0]); @@ -35899,7 +35933,7 @@ api.VmEndpointNatMappings buildVmEndpointNatMappings() { buildCounterVmEndpointNatMappings++; if (buildCounterVmEndpointNatMappings < 3) { o.instanceName = 'foo'; - o.interfaceNatMappings = buildUnnamed1386(); + o.interfaceNatMappings = buildUnnamed1411(); } buildCounterVmEndpointNatMappings--; return o; @@ -35912,17 +35946,17 @@ void checkVmEndpointNatMappings(api.VmEndpointNatMappings o) { o.instanceName!, unittest.equals('foo'), ); - checkUnnamed1386(o.interfaceNatMappings!); + checkUnnamed1411(o.interfaceNatMappings!); } buildCounterVmEndpointNatMappings--; } -core.List buildUnnamed1387() => [ +core.List buildUnnamed1412() => [ 'foo', 'foo', ]; -void checkUnnamed1387(core.List o) { +void checkUnnamed1412(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -35934,12 +35968,12 @@ void checkUnnamed1387(core.List o) { ); } -core.List buildUnnamed1388() => [ +core.List buildUnnamed1413() => [ 'foo', 'foo', ]; -void checkUnnamed1388(core.List o) { +void checkUnnamed1413(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -35957,8 +35991,8 @@ api.VmEndpointNatMappingsInterfaceNatMappings final o = api.VmEndpointNatMappingsInterfaceNatMappings(); buildCounterVmEndpointNatMappingsInterfaceNatMappings++; if (buildCounterVmEndpointNatMappingsInterfaceNatMappings < 3) { - o.drainNatIpPortRanges = buildUnnamed1387(); - o.natIpPortRanges = buildUnnamed1388(); + o.drainNatIpPortRanges = buildUnnamed1412(); + o.natIpPortRanges = buildUnnamed1413(); o.numTotalDrainNatPorts = 42; o.numTotalNatPorts = 42; o.sourceAliasIpRange = 'foo'; @@ -35972,8 +36006,8 @@ void checkVmEndpointNatMappingsInterfaceNatMappings( api.VmEndpointNatMappingsInterfaceNatMappings o) { buildCounterVmEndpointNatMappingsInterfaceNatMappings++; if (buildCounterVmEndpointNatMappingsInterfaceNatMappings < 3) { - checkUnnamed1387(o.drainNatIpPortRanges!); - checkUnnamed1388(o.natIpPortRanges!); + checkUnnamed1412(o.drainNatIpPortRanges!); + checkUnnamed1413(o.natIpPortRanges!); unittest.expect( o.numTotalDrainNatPorts!, unittest.equals(42), @@ -35994,12 +36028,12 @@ void checkVmEndpointNatMappingsInterfaceNatMappings( buildCounterVmEndpointNatMappingsInterfaceNatMappings--; } -core.List buildUnnamed1389() => [ +core.List buildUnnamed1414() => [ buildVmEndpointNatMappings(), buildVmEndpointNatMappings(), ]; -void checkUnnamed1389(core.List o) { +void checkUnnamed1414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVmEndpointNatMappings(o[0]); checkVmEndpointNatMappings(o[1]); @@ -36034,12 +36068,12 @@ void checkVmEndpointNatMappingsListWarningData( buildCounterVmEndpointNatMappingsListWarningData--; } -core.List buildUnnamed1390() => [ +core.List buildUnnamed1415() => [ buildVmEndpointNatMappingsListWarningData(), buildVmEndpointNatMappingsListWarningData(), ]; -void checkUnnamed1390(core.List o) { +void checkUnnamed1415(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVmEndpointNatMappingsListWarningData(o[0]); checkVmEndpointNatMappingsListWarningData(o[1]); @@ -36051,7 +36085,7 @@ api.VmEndpointNatMappingsListWarning buildVmEndpointNatMappingsListWarning() { buildCounterVmEndpointNatMappingsListWarning++; if (buildCounterVmEndpointNatMappingsListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1390(); + o.data = buildUnnamed1415(); o.message = 'foo'; } buildCounterVmEndpointNatMappingsListWarning--; @@ -36066,7 +36100,7 @@ void checkVmEndpointNatMappingsListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1390(o.data!); + checkUnnamed1415(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -36083,7 +36117,7 @@ api.VmEndpointNatMappingsList buildVmEndpointNatMappingsList() { o.id = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.result = buildUnnamed1389(); + o.result = buildUnnamed1414(); o.selfLink = 'foo'; o.warning = buildVmEndpointNatMappingsListWarning(); } @@ -36106,7 +36140,7 @@ void checkVmEndpointNatMappingsList(api.VmEndpointNatMappingsList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1389(o.result!); + checkUnnamed1414(o.result!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -36116,12 +36150,12 @@ void checkVmEndpointNatMappingsList(api.VmEndpointNatMappingsList o) { buildCounterVmEndpointNatMappingsList--; } -core.Map buildUnnamed1391() => { +core.Map buildUnnamed1416() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1391(core.Map o) { +void checkUnnamed1416(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -36133,12 +36167,12 @@ void checkUnnamed1391(core.Map o) { ); } -core.List buildUnnamed1392() => [ +core.List buildUnnamed1417() => [ buildVpnGatewayVpnGatewayInterface(), buildVpnGatewayVpnGatewayInterface(), ]; -void checkUnnamed1392(core.List o) { +void checkUnnamed1417(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewayVpnGatewayInterface(o[0]); checkVpnGatewayVpnGatewayInterface(o[1]); @@ -36154,12 +36188,12 @@ api.VpnGateway buildVpnGateway() { o.id = 'foo'; o.kind = 'foo'; o.labelFingerprint = 'foo'; - o.labels = buildUnnamed1391(); + o.labels = buildUnnamed1416(); o.name = 'foo'; o.network = 'foo'; o.region = 'foo'; o.selfLink = 'foo'; - o.vpnInterfaces = buildUnnamed1392(); + o.vpnInterfaces = buildUnnamed1417(); } buildCounterVpnGateway--; return o; @@ -36188,7 +36222,7 @@ void checkVpnGateway(api.VpnGateway o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed1391(o.labels!); + checkUnnamed1416(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -36205,28 +36239,28 @@ void checkVpnGateway(api.VpnGateway o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1392(o.vpnInterfaces!); + checkUnnamed1417(o.vpnInterfaces!); } buildCounterVpnGateway--; } -core.Map buildUnnamed1393() => { +core.Map buildUnnamed1418() => { 'x': buildVpnGatewaysScopedList(), 'y': buildVpnGatewaysScopedList(), }; -void checkUnnamed1393(core.Map o) { +void checkUnnamed1418(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewaysScopedList(o['x']!); checkVpnGatewaysScopedList(o['y']!); } -core.List buildUnnamed1394() => [ +core.List buildUnnamed1419() => [ 'foo', 'foo', ]; -void checkUnnamed1394(core.List o) { +void checkUnnamed1419(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -36267,12 +36301,12 @@ void checkVpnGatewayAggregatedListWarningData( buildCounterVpnGatewayAggregatedListWarningData--; } -core.List buildUnnamed1395() => [ +core.List buildUnnamed1420() => [ buildVpnGatewayAggregatedListWarningData(), buildVpnGatewayAggregatedListWarningData(), ]; -void checkUnnamed1395(core.List o) { +void checkUnnamed1420(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewayAggregatedListWarningData(o[0]); checkVpnGatewayAggregatedListWarningData(o[1]); @@ -36284,7 +36318,7 @@ api.VpnGatewayAggregatedListWarning buildVpnGatewayAggregatedListWarning() { buildCounterVpnGatewayAggregatedListWarning++; if (buildCounterVpnGatewayAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1395(); + o.data = buildUnnamed1420(); o.message = 'foo'; } buildCounterVpnGatewayAggregatedListWarning--; @@ -36299,7 +36333,7 @@ void checkVpnGatewayAggregatedListWarning( o.code!, unittest.equals('foo'), ); - checkUnnamed1395(o.data!); + checkUnnamed1420(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -36314,11 +36348,11 @@ api.VpnGatewayAggregatedList buildVpnGatewayAggregatedList() { buildCounterVpnGatewayAggregatedList++; if (buildCounterVpnGatewayAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1393(); + o.items = buildUnnamed1418(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1394(); + o.unreachables = buildUnnamed1419(); o.warning = buildVpnGatewayAggregatedListWarning(); } buildCounterVpnGatewayAggregatedList--; @@ -36332,7 +36366,7 @@ void checkVpnGatewayAggregatedList(api.VpnGatewayAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1393(o.items!); + checkUnnamed1418(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -36345,18 +36379,18 @@ void checkVpnGatewayAggregatedList(api.VpnGatewayAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1394(o.unreachables!); + checkUnnamed1419(o.unreachables!); checkVpnGatewayAggregatedListWarning(o.warning!); } buildCounterVpnGatewayAggregatedList--; } -core.List buildUnnamed1396() => [ +core.List buildUnnamed1421() => [ buildVpnGateway(), buildVpnGateway(), ]; -void checkUnnamed1396(core.List o) { +void checkUnnamed1421(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGateway(o[0]); checkVpnGateway(o[1]); @@ -36389,12 +36423,12 @@ void checkVpnGatewayListWarningData(api.VpnGatewayListWarningData o) { buildCounterVpnGatewayListWarningData--; } -core.List buildUnnamed1397() => [ +core.List buildUnnamed1422() => [ buildVpnGatewayListWarningData(), buildVpnGatewayListWarningData(), ]; -void checkUnnamed1397(core.List o) { +void checkUnnamed1422(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewayListWarningData(o[0]); checkVpnGatewayListWarningData(o[1]); @@ -36406,7 +36440,7 @@ api.VpnGatewayListWarning buildVpnGatewayListWarning() { buildCounterVpnGatewayListWarning++; if (buildCounterVpnGatewayListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1397(); + o.data = buildUnnamed1422(); o.message = 'foo'; } buildCounterVpnGatewayListWarning--; @@ -36420,7 +36454,7 @@ void checkVpnGatewayListWarning(api.VpnGatewayListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1397(o.data!); + checkUnnamed1422(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -36435,7 +36469,7 @@ api.VpnGatewayList buildVpnGatewayList() { buildCounterVpnGatewayList++; if (buildCounterVpnGatewayList < 3) { o.id = 'foo'; - o.items = buildUnnamed1396(); + o.items = buildUnnamed1421(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -36452,7 +36486,7 @@ void checkVpnGatewayList(api.VpnGatewayList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1396(o.items!); + checkUnnamed1421(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -36470,12 +36504,12 @@ void checkVpnGatewayList(api.VpnGatewayList o) { buildCounterVpnGatewayList--; } -core.List buildUnnamed1398() => [ +core.List buildUnnamed1423() => [ buildVpnGatewayStatusVpnConnection(), buildVpnGatewayStatusVpnConnection(), ]; -void checkUnnamed1398(core.List o) { +void checkUnnamed1423(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewayStatusVpnConnection(o[0]); checkVpnGatewayStatusVpnConnection(o[1]); @@ -36486,7 +36520,7 @@ api.VpnGatewayStatus buildVpnGatewayStatus() { final o = api.VpnGatewayStatus(); buildCounterVpnGatewayStatus++; if (buildCounterVpnGatewayStatus < 3) { - o.vpnConnections = buildUnnamed1398(); + o.vpnConnections = buildUnnamed1423(); } buildCounterVpnGatewayStatus--; return o; @@ -36495,7 +36529,7 @@ api.VpnGatewayStatus buildVpnGatewayStatus() { void checkVpnGatewayStatus(api.VpnGatewayStatus o) { buildCounterVpnGatewayStatus++; if (buildCounterVpnGatewayStatus < 3) { - checkUnnamed1398(o.vpnConnections!); + checkUnnamed1423(o.vpnConnections!); } buildCounterVpnGatewayStatus--; } @@ -36561,12 +36595,12 @@ void checkVpnGatewayStatusTunnel(api.VpnGatewayStatusTunnel o) { buildCounterVpnGatewayStatusTunnel--; } -core.List buildUnnamed1399() => [ +core.List buildUnnamed1424() => [ buildVpnGatewayStatusTunnel(), buildVpnGatewayStatusTunnel(), ]; -void checkUnnamed1399(core.List o) { +void checkUnnamed1424(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewayStatusTunnel(o[0]); checkVpnGatewayStatusTunnel(o[1]); @@ -36580,7 +36614,7 @@ api.VpnGatewayStatusVpnConnection buildVpnGatewayStatusVpnConnection() { o.peerExternalGateway = 'foo'; o.peerGcpGateway = 'foo'; o.state = buildVpnGatewayStatusHighAvailabilityRequirementState(); - o.tunnels = buildUnnamed1399(); + o.tunnels = buildUnnamed1424(); } buildCounterVpnGatewayStatusVpnConnection--; return o; @@ -36598,7 +36632,7 @@ void checkVpnGatewayStatusVpnConnection(api.VpnGatewayStatusVpnConnection o) { unittest.equals('foo'), ); checkVpnGatewayStatusHighAvailabilityRequirementState(o.state!); - checkUnnamed1399(o.tunnels!); + checkUnnamed1424(o.tunnels!); } buildCounterVpnGatewayStatusVpnConnection--; } @@ -36654,12 +36688,12 @@ void checkVpnGatewaysGetStatusResponse(api.VpnGatewaysGetStatusResponse o) { buildCounterVpnGatewaysGetStatusResponse--; } -core.List buildUnnamed1400() => [ +core.List buildUnnamed1425() => [ buildVpnGateway(), buildVpnGateway(), ]; -void checkUnnamed1400(core.List o) { +void checkUnnamed1425(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGateway(o[0]); checkVpnGateway(o[1]); @@ -36693,12 +36727,12 @@ void checkVpnGatewaysScopedListWarningData( buildCounterVpnGatewaysScopedListWarningData--; } -core.List buildUnnamed1401() => [ +core.List buildUnnamed1426() => [ buildVpnGatewaysScopedListWarningData(), buildVpnGatewaysScopedListWarningData(), ]; -void checkUnnamed1401(core.List o) { +void checkUnnamed1426(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnGatewaysScopedListWarningData(o[0]); checkVpnGatewaysScopedListWarningData(o[1]); @@ -36710,7 +36744,7 @@ api.VpnGatewaysScopedListWarning buildVpnGatewaysScopedListWarning() { buildCounterVpnGatewaysScopedListWarning++; if (buildCounterVpnGatewaysScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1401(); + o.data = buildUnnamed1426(); o.message = 'foo'; } buildCounterVpnGatewaysScopedListWarning--; @@ -36724,7 +36758,7 @@ void checkVpnGatewaysScopedListWarning(api.VpnGatewaysScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1401(o.data!); + checkUnnamed1426(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -36738,7 +36772,7 @@ api.VpnGatewaysScopedList buildVpnGatewaysScopedList() { final o = api.VpnGatewaysScopedList(); buildCounterVpnGatewaysScopedList++; if (buildCounterVpnGatewaysScopedList < 3) { - o.vpnGateways = buildUnnamed1400(); + o.vpnGateways = buildUnnamed1425(); o.warning = buildVpnGatewaysScopedListWarning(); } buildCounterVpnGatewaysScopedList--; @@ -36748,18 +36782,18 @@ api.VpnGatewaysScopedList buildVpnGatewaysScopedList() { void checkVpnGatewaysScopedList(api.VpnGatewaysScopedList o) { buildCounterVpnGatewaysScopedList++; if (buildCounterVpnGatewaysScopedList < 3) { - checkUnnamed1400(o.vpnGateways!); + checkUnnamed1425(o.vpnGateways!); checkVpnGatewaysScopedListWarning(o.warning!); } buildCounterVpnGatewaysScopedList--; } -core.List buildUnnamed1402() => [ +core.List buildUnnamed1427() => [ 'foo', 'foo', ]; -void checkUnnamed1402(core.List o) { +void checkUnnamed1427(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -36771,12 +36805,12 @@ void checkUnnamed1402(core.List o) { ); } -core.List buildUnnamed1403() => [ +core.List buildUnnamed1428() => [ 'foo', 'foo', ]; -void checkUnnamed1403(core.List o) { +void checkUnnamed1428(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -36799,14 +36833,14 @@ api.VpnTunnel buildVpnTunnel() { o.id = 'foo'; o.ikeVersion = 42; o.kind = 'foo'; - o.localTrafficSelector = buildUnnamed1402(); + o.localTrafficSelector = buildUnnamed1427(); o.name = 'foo'; o.peerExternalGateway = 'foo'; o.peerExternalGatewayInterface = 42; o.peerGcpGateway = 'foo'; o.peerIp = 'foo'; o.region = 'foo'; - o.remoteTrafficSelector = buildUnnamed1403(); + o.remoteTrafficSelector = buildUnnamed1428(); o.router = 'foo'; o.selfLink = 'foo'; o.sharedSecret = 'foo'; @@ -36847,7 +36881,7 @@ void checkVpnTunnel(api.VpnTunnel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed1402(o.localTrafficSelector!); + checkUnnamed1427(o.localTrafficSelector!); unittest.expect( o.name!, unittest.equals('foo'), @@ -36872,7 +36906,7 @@ void checkVpnTunnel(api.VpnTunnel o) { o.region!, unittest.equals('foo'), ); - checkUnnamed1403(o.remoteTrafficSelector!); + checkUnnamed1428(o.remoteTrafficSelector!); unittest.expect( o.router!, unittest.equals('foo'), @@ -36909,23 +36943,23 @@ void checkVpnTunnel(api.VpnTunnel o) { buildCounterVpnTunnel--; } -core.Map buildUnnamed1404() => { +core.Map buildUnnamed1429() => { 'x': buildVpnTunnelsScopedList(), 'y': buildVpnTunnelsScopedList(), }; -void checkUnnamed1404(core.Map o) { +void checkUnnamed1429(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkVpnTunnelsScopedList(o['x']!); checkVpnTunnelsScopedList(o['y']!); } -core.List buildUnnamed1405() => [ +core.List buildUnnamed1430() => [ 'foo', 'foo', ]; -void checkUnnamed1405(core.List o) { +void checkUnnamed1430(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -36966,12 +37000,12 @@ void checkVpnTunnelAggregatedListWarningData( buildCounterVpnTunnelAggregatedListWarningData--; } -core.List buildUnnamed1406() => [ +core.List buildUnnamed1431() => [ buildVpnTunnelAggregatedListWarningData(), buildVpnTunnelAggregatedListWarningData(), ]; -void checkUnnamed1406(core.List o) { +void checkUnnamed1431(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnTunnelAggregatedListWarningData(o[0]); checkVpnTunnelAggregatedListWarningData(o[1]); @@ -36983,7 +37017,7 @@ api.VpnTunnelAggregatedListWarning buildVpnTunnelAggregatedListWarning() { buildCounterVpnTunnelAggregatedListWarning++; if (buildCounterVpnTunnelAggregatedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1406(); + o.data = buildUnnamed1431(); o.message = 'foo'; } buildCounterVpnTunnelAggregatedListWarning--; @@ -36997,7 +37031,7 @@ void checkVpnTunnelAggregatedListWarning(api.VpnTunnelAggregatedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1406(o.data!); + checkUnnamed1431(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -37012,11 +37046,11 @@ api.VpnTunnelAggregatedList buildVpnTunnelAggregatedList() { buildCounterVpnTunnelAggregatedList++; if (buildCounterVpnTunnelAggregatedList < 3) { o.id = 'foo'; - o.items = buildUnnamed1404(); + o.items = buildUnnamed1429(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; - o.unreachables = buildUnnamed1405(); + o.unreachables = buildUnnamed1430(); o.warning = buildVpnTunnelAggregatedListWarning(); } buildCounterVpnTunnelAggregatedList--; @@ -37030,7 +37064,7 @@ void checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1404(o.items!); + checkUnnamed1429(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -37043,18 +37077,18 @@ void checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed1405(o.unreachables!); + checkUnnamed1430(o.unreachables!); checkVpnTunnelAggregatedListWarning(o.warning!); } buildCounterVpnTunnelAggregatedList--; } -core.List buildUnnamed1407() => [ +core.List buildUnnamed1432() => [ buildVpnTunnel(), buildVpnTunnel(), ]; -void checkUnnamed1407(core.List o) { +void checkUnnamed1432(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnTunnel(o[0]); checkVpnTunnel(o[1]); @@ -37087,12 +37121,12 @@ void checkVpnTunnelListWarningData(api.VpnTunnelListWarningData o) { buildCounterVpnTunnelListWarningData--; } -core.List buildUnnamed1408() => [ +core.List buildUnnamed1433() => [ buildVpnTunnelListWarningData(), buildVpnTunnelListWarningData(), ]; -void checkUnnamed1408(core.List o) { +void checkUnnamed1433(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnTunnelListWarningData(o[0]); checkVpnTunnelListWarningData(o[1]); @@ -37104,7 +37138,7 @@ api.VpnTunnelListWarning buildVpnTunnelListWarning() { buildCounterVpnTunnelListWarning++; if (buildCounterVpnTunnelListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1408(); + o.data = buildUnnamed1433(); o.message = 'foo'; } buildCounterVpnTunnelListWarning--; @@ -37118,7 +37152,7 @@ void checkVpnTunnelListWarning(api.VpnTunnelListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1408(o.data!); + checkUnnamed1433(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -37133,7 +37167,7 @@ api.VpnTunnelList buildVpnTunnelList() { buildCounterVpnTunnelList++; if (buildCounterVpnTunnelList < 3) { o.id = 'foo'; - o.items = buildUnnamed1407(); + o.items = buildUnnamed1432(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -37150,7 +37184,7 @@ void checkVpnTunnelList(api.VpnTunnelList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1407(o.items!); + checkUnnamed1432(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -37168,12 +37202,12 @@ void checkVpnTunnelList(api.VpnTunnelList o) { buildCounterVpnTunnelList--; } -core.List buildUnnamed1409() => [ +core.List buildUnnamed1434() => [ buildVpnTunnel(), buildVpnTunnel(), ]; -void checkUnnamed1409(core.List o) { +void checkUnnamed1434(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnTunnel(o[0]); checkVpnTunnel(o[1]); @@ -37207,12 +37241,12 @@ void checkVpnTunnelsScopedListWarningData( buildCounterVpnTunnelsScopedListWarningData--; } -core.List buildUnnamed1410() => [ +core.List buildUnnamed1435() => [ buildVpnTunnelsScopedListWarningData(), buildVpnTunnelsScopedListWarningData(), ]; -void checkUnnamed1410(core.List o) { +void checkUnnamed1435(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVpnTunnelsScopedListWarningData(o[0]); checkVpnTunnelsScopedListWarningData(o[1]); @@ -37224,7 +37258,7 @@ api.VpnTunnelsScopedListWarning buildVpnTunnelsScopedListWarning() { buildCounterVpnTunnelsScopedListWarning++; if (buildCounterVpnTunnelsScopedListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1410(); + o.data = buildUnnamed1435(); o.message = 'foo'; } buildCounterVpnTunnelsScopedListWarning--; @@ -37238,7 +37272,7 @@ void checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1410(o.data!); + checkUnnamed1435(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -37252,7 +37286,7 @@ api.VpnTunnelsScopedList buildVpnTunnelsScopedList() { final o = api.VpnTunnelsScopedList(); buildCounterVpnTunnelsScopedList++; if (buildCounterVpnTunnelsScopedList < 3) { - o.vpnTunnels = buildUnnamed1409(); + o.vpnTunnels = buildUnnamed1434(); o.warning = buildVpnTunnelsScopedListWarning(); } buildCounterVpnTunnelsScopedList--; @@ -37262,18 +37296,18 @@ api.VpnTunnelsScopedList buildVpnTunnelsScopedList() { void checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { buildCounterVpnTunnelsScopedList++; if (buildCounterVpnTunnelsScopedList < 3) { - checkUnnamed1409(o.vpnTunnels!); + checkUnnamed1434(o.vpnTunnels!); checkVpnTunnelsScopedListWarning(o.warning!); } buildCounterVpnTunnelsScopedList--; } -core.List buildUnnamed1411() => [ +core.List buildUnnamed1436() => [ 'foo', 'foo', ]; -void checkUnnamed1411(core.List o) { +void checkUnnamed1436(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -37285,12 +37319,12 @@ void checkUnnamed1411(core.List o) { ); } -core.List buildUnnamed1412() => [ +core.List buildUnnamed1437() => [ buildWafExpressionSetExpression(), buildWafExpressionSetExpression(), ]; -void checkUnnamed1412(core.List o) { +void checkUnnamed1437(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWafExpressionSetExpression(o[0]); checkWafExpressionSetExpression(o[1]); @@ -37301,8 +37335,8 @@ api.WafExpressionSet buildWafExpressionSet() { final o = api.WafExpressionSet(); buildCounterWafExpressionSet++; if (buildCounterWafExpressionSet < 3) { - o.aliases = buildUnnamed1411(); - o.expressions = buildUnnamed1412(); + o.aliases = buildUnnamed1436(); + o.expressions = buildUnnamed1437(); o.id = 'foo'; } buildCounterWafExpressionSet--; @@ -37312,8 +37346,8 @@ api.WafExpressionSet buildWafExpressionSet() { void checkWafExpressionSet(api.WafExpressionSet o) { buildCounterWafExpressionSet++; if (buildCounterWafExpressionSet < 3) { - checkUnnamed1411(o.aliases!); - checkUnnamed1412(o.expressions!); + checkUnnamed1436(o.aliases!); + checkUnnamed1437(o.expressions!); unittest.expect( o.id!, unittest.equals('foo'), @@ -37373,12 +37407,12 @@ void checkWeightedBackendService(api.WeightedBackendService o) { buildCounterWeightedBackendService--; } -core.List buildUnnamed1413() => [ +core.List buildUnnamed1438() => [ buildProject(), buildProject(), ]; -void checkUnnamed1413(core.List o) { +void checkUnnamed1438(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -37411,12 +37445,12 @@ void checkXpnHostListWarningData(api.XpnHostListWarningData o) { buildCounterXpnHostListWarningData--; } -core.List buildUnnamed1414() => [ +core.List buildUnnamed1439() => [ buildXpnHostListWarningData(), buildXpnHostListWarningData(), ]; -void checkUnnamed1414(core.List o) { +void checkUnnamed1439(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkXpnHostListWarningData(o[0]); checkXpnHostListWarningData(o[1]); @@ -37428,7 +37462,7 @@ api.XpnHostListWarning buildXpnHostListWarning() { buildCounterXpnHostListWarning++; if (buildCounterXpnHostListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1414(); + o.data = buildUnnamed1439(); o.message = 'foo'; } buildCounterXpnHostListWarning--; @@ -37442,7 +37476,7 @@ void checkXpnHostListWarning(api.XpnHostListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1414(o.data!); + checkUnnamed1439(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -37457,7 +37491,7 @@ api.XpnHostList buildXpnHostList() { buildCounterXpnHostList++; if (buildCounterXpnHostList < 3) { o.id = 'foo'; - o.items = buildUnnamed1413(); + o.items = buildUnnamed1438(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -37474,7 +37508,7 @@ void checkXpnHostList(api.XpnHostList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1413(o.items!); + checkUnnamed1438(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -37519,12 +37553,12 @@ void checkXpnResourceId(api.XpnResourceId o) { buildCounterXpnResourceId--; } -core.List buildUnnamed1415() => [ +core.List buildUnnamed1440() => [ 'foo', 'foo', ]; -void checkUnnamed1415(core.List o) { +void checkUnnamed1440(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -37541,7 +37575,7 @@ api.Zone buildZone() { final o = api.Zone(); buildCounterZone++; if (buildCounterZone < 3) { - o.availableCpuPlatforms = buildUnnamed1415(); + o.availableCpuPlatforms = buildUnnamed1440(); o.creationTimestamp = 'foo'; o.deprecated = buildDeprecationStatus(); o.description = 'foo'; @@ -37560,7 +37594,7 @@ api.Zone buildZone() { void checkZone(api.Zone o) { buildCounterZone++; if (buildCounterZone < 3) { - checkUnnamed1415(o.availableCpuPlatforms!); + checkUnnamed1440(o.availableCpuPlatforms!); unittest.expect( o.creationTimestamp!, unittest.equals('foo'), @@ -37599,12 +37633,12 @@ void checkZone(api.Zone o) { buildCounterZone--; } -core.List buildUnnamed1416() => [ +core.List buildUnnamed1441() => [ buildZone(), buildZone(), ]; -void checkUnnamed1416(core.List o) { +void checkUnnamed1441(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkZone(o[0]); checkZone(o[1]); @@ -37637,12 +37671,12 @@ void checkZoneListWarningData(api.ZoneListWarningData o) { buildCounterZoneListWarningData--; } -core.List buildUnnamed1417() => [ +core.List buildUnnamed1442() => [ buildZoneListWarningData(), buildZoneListWarningData(), ]; -void checkUnnamed1417(core.List o) { +void checkUnnamed1442(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkZoneListWarningData(o[0]); checkZoneListWarningData(o[1]); @@ -37654,7 +37688,7 @@ api.ZoneListWarning buildZoneListWarning() { buildCounterZoneListWarning++; if (buildCounterZoneListWarning < 3) { o.code = 'foo'; - o.data = buildUnnamed1417(); + o.data = buildUnnamed1442(); o.message = 'foo'; } buildCounterZoneListWarning--; @@ -37668,7 +37702,7 @@ void checkZoneListWarning(api.ZoneListWarning o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1417(o.data!); + checkUnnamed1442(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -37683,7 +37717,7 @@ api.ZoneList buildZoneList() { buildCounterZoneList++; if (buildCounterZoneList < 3) { o.id = 'foo'; - o.items = buildUnnamed1416(); + o.items = buildUnnamed1441(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -37700,7 +37734,7 @@ void checkZoneList(api.ZoneList o) { o.id!, unittest.equals('foo'), ); - checkUnnamed1416(o.items!); + checkUnnamed1441(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -37718,12 +37752,12 @@ void checkZoneList(api.ZoneList o) { buildCounterZoneList--; } -core.Map buildUnnamed1418() => { +core.Map buildUnnamed1443() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1418(core.Map o) { +void checkUnnamed1443(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -37741,7 +37775,7 @@ api.ZoneSetLabelsRequest buildZoneSetLabelsRequest() { buildCounterZoneSetLabelsRequest++; if (buildCounterZoneSetLabelsRequest < 3) { o.labelFingerprint = 'foo'; - o.labels = buildUnnamed1418(); + o.labels = buildUnnamed1443(); } buildCounterZoneSetLabelsRequest--; return o; @@ -37754,17 +37788,17 @@ void checkZoneSetLabelsRequest(api.ZoneSetLabelsRequest o) { o.labelFingerprint!, unittest.equals('foo'), ); - checkUnnamed1418(o.labels!); + checkUnnamed1443(o.labels!); } buildCounterZoneSetLabelsRequest--; } -core.List buildUnnamed1419() => [ +core.List buildUnnamed1444() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1419(core.List o) { +void checkUnnamed1444(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -37775,7 +37809,7 @@ api.ZoneSetPolicyRequest buildZoneSetPolicyRequest() { final o = api.ZoneSetPolicyRequest(); buildCounterZoneSetPolicyRequest++; if (buildCounterZoneSetPolicyRequest < 3) { - o.bindings = buildUnnamed1419(); + o.bindings = buildUnnamed1444(); o.etag = 'foo'; o.policy = buildPolicy(); } @@ -37786,7 +37820,7 @@ api.ZoneSetPolicyRequest buildZoneSetPolicyRequest() { void checkZoneSetPolicyRequest(api.ZoneSetPolicyRequest o) { buildCounterZoneSetPolicyRequest++; if (buildCounterZoneSetPolicyRequest < 3) { - checkUnnamed1419(o.bindings!); + checkUnnamed1444(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -40050,6 +40084,16 @@ void main() { }); }); + unittest.group('obj-schema-ImageFamilyView', () { + unittest.test('to-json--from-json', () async { + final o = buildImageFamilyView(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ImageFamilyView.fromJson( + oJson as core.Map); + checkImageFamilyView(od); + }); + }); + unittest.group('obj-schema-ImageListWarningData', () { unittest.test('to-json--from-json', () async { final o = buildImageListWarningData(); @@ -59180,6 +59224,101 @@ void main() { }); }); + unittest.group('resource-ImageFamilyViewsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ComputeApi(mock).imageFamilyViews; + final arg_project = 'foo'; + final arg_zone = 'foo'; + final arg_family = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 11), + unittest.equals('compute/v1/'), + ); + pathOffset += 11; + unittest.expect( + path.substring(pathOffset, pathOffset + 9), + unittest.equals('projects/'), + ); + pathOffset += 9; + index = path.indexOf('/zones/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_project'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('/zones/'), + ); + pathOffset += 7; + index = path.indexOf('/imageFamilyViews/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_zone'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 18), + unittest.equals('/imageFamilyViews/'), + ); + pathOffset += 18; + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); + pathOffset = path.length; + unittest.expect( + subPart, + unittest.equals('$arg_family'), + ); + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildImageFamilyView()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_project, arg_zone, arg_family, + $fields: arg_$fields); + checkImageFamilyView(response as api.ImageFamilyView); + }); + }); + unittest.group('resource-ImagesResource', () { unittest.test('method--delete', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/contactcenterinsights/v1_test.dart b/generated/googleapis/test/contactcenterinsights/v1_test.dart new file mode 100644 index 000000000..efef2607e --- /dev/null +++ b/generated/googleapis/test/contactcenterinsights/v1_test.dart @@ -0,0 +1,6890 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/contactcenterinsights/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterGoogleCloudContactcenterinsightsV1Analysis = 0; +api.GoogleCloudContactcenterinsightsV1Analysis + buildGoogleCloudContactcenterinsightsV1Analysis() { + final o = api.GoogleCloudContactcenterinsightsV1Analysis(); + buildCounterGoogleCloudContactcenterinsightsV1Analysis++; + if (buildCounterGoogleCloudContactcenterinsightsV1Analysis < 3) { + o.analysisResult = buildGoogleCloudContactcenterinsightsV1AnalysisResult(); + o.createTime = 'foo'; + o.name = 'foo'; + o.requestTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1Analysis--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1Analysis( + api.GoogleCloudContactcenterinsightsV1Analysis o) { + buildCounterGoogleCloudContactcenterinsightsV1Analysis++; + if (buildCounterGoogleCloudContactcenterinsightsV1Analysis < 3) { + checkGoogleCloudContactcenterinsightsV1AnalysisResult(o.analysisResult!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1Analysis--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult = 0; +api.GoogleCloudContactcenterinsightsV1AnalysisResult + buildGoogleCloudContactcenterinsightsV1AnalysisResult() { + final o = api.GoogleCloudContactcenterinsightsV1AnalysisResult(); + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult < 3) { + o.callAnalysisMetadata = + buildGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata(); + o.endTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1AnalysisResult( + api.GoogleCloudContactcenterinsightsV1AnalysisResult o) { + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult < 3) { + checkGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata( + o.callAnalysisMetadata!); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResult--; +} + +core.List + buildUnnamed3625() => [ + buildGoogleCloudContactcenterinsightsV1CallAnnotation(), + buildGoogleCloudContactcenterinsightsV1CallAnnotation(), + ]; + +void checkUnnamed3625( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1CallAnnotation(o[0]); + checkGoogleCloudContactcenterinsightsV1CallAnnotation(o[1]); +} + +core.Map + buildUnnamed3626() => { + 'x': buildGoogleCloudContactcenterinsightsV1Entity(), + 'y': buildGoogleCloudContactcenterinsightsV1Entity(), + }; + +void checkUnnamed3626( + core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1Entity(o['x']!); + checkGoogleCloudContactcenterinsightsV1Entity(o['y']!); +} + +core.Map + buildUnnamed3627() => { + 'x': buildGoogleCloudContactcenterinsightsV1Intent(), + 'y': buildGoogleCloudContactcenterinsightsV1Intent(), + }; + +void checkUnnamed3627( + core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1Intent(o['x']!); + checkGoogleCloudContactcenterinsightsV1Intent(o['y']!); +} + +core.Map + buildUnnamed3628() => { + 'x': buildGoogleCloudContactcenterinsightsV1PhraseMatchData(), + 'y': buildGoogleCloudContactcenterinsightsV1PhraseMatchData(), + }; + +void checkUnnamed3628( + core.Map + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1PhraseMatchData(o['x']!); + checkGoogleCloudContactcenterinsightsV1PhraseMatchData(o['y']!); +} + +core.List + buildUnnamed3629() => [ + buildGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(), + buildGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(), + ]; + +void checkUnnamed3629( + core.List + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(o[0]); + checkGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata + buildGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata() { + final o = api + .GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata < + 3) { + o.annotations = buildUnnamed3625(); + o.entities = buildUnnamed3626(); + o.intents = buildUnnamed3627(); + o.issueModelResult = + buildGoogleCloudContactcenterinsightsV1IssueModelResult(); + o.phraseMatchers = buildUnnamed3628(); + o.sentiments = buildUnnamed3629(); + } + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata( + api.GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata + o) { + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata < + 3) { + checkUnnamed3625(o.annotations!); + checkUnnamed3626(o.entities!); + checkUnnamed3627(o.intents!); + checkGoogleCloudContactcenterinsightsV1IssueModelResult( + o.issueModelResult!); + checkUnnamed3628(o.phraseMatchers!); + checkUnnamed3629(o.sentiments!); + } + buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary = 0; +api.GoogleCloudContactcenterinsightsV1AnnotationBoundary + buildGoogleCloudContactcenterinsightsV1AnnotationBoundary() { + final o = api.GoogleCloudContactcenterinsightsV1AnnotationBoundary(); + buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary < 3) { + o.transcriptIndex = 42; + o.wordIndex = 42; + } + buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1AnnotationBoundary( + api.GoogleCloudContactcenterinsightsV1AnnotationBoundary o) { + buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary < 3) { + unittest.expect( + o.transcriptIndex!, + unittest.equals(42), + ); + unittest.expect( + o.wordIndex!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback = 0; +api.GoogleCloudContactcenterinsightsV1AnswerFeedback + buildGoogleCloudContactcenterinsightsV1AnswerFeedback() { + final o = api.GoogleCloudContactcenterinsightsV1AnswerFeedback(); + buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback < 3) { + o.clicked = true; + o.correctnessLevel = 'foo'; + o.displayed = true; + } + buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1AnswerFeedback( + api.GoogleCloudContactcenterinsightsV1AnswerFeedback o) { + buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback++; + if (buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback < 3) { + unittest.expect(o.clicked!, unittest.isTrue); + unittest.expect( + o.correctnessLevel!, + unittest.equals('foo'), + ); + unittest.expect(o.displayed!, unittest.isTrue); + } + buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback--; +} + +core.Map buildUnnamed3630() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3630(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData = + 0; +api.GoogleCloudContactcenterinsightsV1ArticleSuggestionData + buildGoogleCloudContactcenterinsightsV1ArticleSuggestionData() { + final o = api.GoogleCloudContactcenterinsightsV1ArticleSuggestionData(); + buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData < 3) { + o.confidenceScore = 42.0; + o.metadata = buildUnnamed3630(); + o.queryRecord = 'foo'; + o.source = 'foo'; + o.title = 'foo'; + o.uri = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ArticleSuggestionData( + api.GoogleCloudContactcenterinsightsV1ArticleSuggestionData o) { + buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData < 3) { + unittest.expect( + o.confidenceScore!, + unittest.equals(42.0), + ); + checkUnnamed3630(o.metadata!); + unittest.expect( + o.queryRecord!, + unittest.equals('foo'), + ); + unittest.expect( + o.source!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse = + 0; +api.GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse + buildGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse() { + final o = + api.GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse(); + buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse < + 3) { + o.currentStats = + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStats(); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse( + api.GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse < + 3) { + checkGoogleCloudContactcenterinsightsV1IssueModelLabelStats( + o.currentStats!); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse--; +} + +core.Map buildUnnamed3631() => { + 'x': 42, + 'y': 42, + }; + +void checkUnnamed3631(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals(42), + ); + unittest.expect( + o['y']!, + unittest.equals(42), + ); +} + +core.Map buildUnnamed3632() => { + 'x': 42, + 'y': 42, + }; + +void checkUnnamed3632(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals(42), + ); + unittest.expect( + o['y']!, + unittest.equals(42), + ); +} + +core.Map buildUnnamed3633() => { + 'x': 42, + 'y': 42, + }; + +void checkUnnamed3633(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals(42), + ); + unittest.expect( + o['y']!, + unittest.equals(42), + ); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse = + 0; +api.GoogleCloudContactcenterinsightsV1CalculateStatsResponse + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponse() { + final o = api.GoogleCloudContactcenterinsightsV1CalculateStatsResponse(); + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse < + 3) { + o.averageDuration = 'foo'; + o.averageTurnCount = 42; + o.conversationCount = 42; + o.conversationCountTimeSeries = + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries(); + o.customHighlighterMatches = buildUnnamed3631(); + o.issueMatches = buildUnnamed3632(); + o.smartHighlighterMatches = buildUnnamed3633(); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CalculateStatsResponse( + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse < + 3) { + unittest.expect( + o.averageDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.averageTurnCount!, + unittest.equals(42), + ); + unittest.expect( + o.conversationCount!, + unittest.equals(42), + ); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( + o.conversationCountTimeSeries!); + checkUnnamed3631(o.customHighlighterMatches!); + checkUnnamed3632(o.issueMatches!); + checkUnnamed3633(o.smartHighlighterMatches!); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse--; +} + +core.List< + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval> + buildUnnamed3634() => [ + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval(), + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval(), + ]; + +void checkUnnamed3634( + core.List< + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval( + o[0]); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval( + o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries = + 0; +api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries() { + final o = + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries(); + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries < + 3) { + o.intervalDuration = 'foo'; + o.points = buildUnnamed3634(); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries o) { + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries < + 3) { + unittest.expect( + o.intervalDuration!, + unittest.equals('foo'), + ); + checkUnnamed3634(o.points!); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval = + 0; +api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval() { + final o = api + .GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval(); + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval < + 3) { + o.conversationCount = 42; + o.startTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval( + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval + o) { + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval++; + if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval < + 3) { + unittest.expect( + o.conversationCount!, + unittest.equals(42), + ); + unittest.expect( + o.startTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation = 0; +api.GoogleCloudContactcenterinsightsV1CallAnnotation + buildGoogleCloudContactcenterinsightsV1CallAnnotation() { + final o = api.GoogleCloudContactcenterinsightsV1CallAnnotation(); + buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation++; + if (buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation < 3) { + o.annotationEndBoundary = + buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); + o.annotationStartBoundary = + buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); + o.channelTag = 42; + o.entityMentionData = + buildGoogleCloudContactcenterinsightsV1EntityMentionData(); + o.holdData = buildGoogleCloudContactcenterinsightsV1HoldData(); + o.intentMatchData = + buildGoogleCloudContactcenterinsightsV1IntentMatchData(); + o.interruptionData = + buildGoogleCloudContactcenterinsightsV1InterruptionData(); + o.phraseMatchData = + buildGoogleCloudContactcenterinsightsV1PhraseMatchData(); + o.sentimentData = buildGoogleCloudContactcenterinsightsV1SentimentData(); + o.silenceData = buildGoogleCloudContactcenterinsightsV1SilenceData(); + } + buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CallAnnotation( + api.GoogleCloudContactcenterinsightsV1CallAnnotation o) { + buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation++; + if (buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation < 3) { + checkGoogleCloudContactcenterinsightsV1AnnotationBoundary( + o.annotationEndBoundary!); + checkGoogleCloudContactcenterinsightsV1AnnotationBoundary( + o.annotationStartBoundary!); + unittest.expect( + o.channelTag!, + unittest.equals(42), + ); + checkGoogleCloudContactcenterinsightsV1EntityMentionData( + o.entityMentionData!); + checkGoogleCloudContactcenterinsightsV1HoldData(o.holdData!); + checkGoogleCloudContactcenterinsightsV1IntentMatchData(o.intentMatchData!); + checkGoogleCloudContactcenterinsightsV1InterruptionData( + o.interruptionData!); + checkGoogleCloudContactcenterinsightsV1PhraseMatchData(o.phraseMatchData!); + checkGoogleCloudContactcenterinsightsV1SentimentData(o.sentimentData!); + checkGoogleCloudContactcenterinsightsV1SilenceData(o.silenceData!); + } + buildCounterGoogleCloudContactcenterinsightsV1CallAnnotation--; +} + +core.Map + buildUnnamed3635() => { + 'x': buildGoogleCloudContactcenterinsightsV1DialogflowIntent(), + 'y': buildGoogleCloudContactcenterinsightsV1DialogflowIntent(), + }; + +void checkUnnamed3635( + core.Map + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1DialogflowIntent(o['x']!); + checkGoogleCloudContactcenterinsightsV1DialogflowIntent(o['y']!); +} + +core.Map buildUnnamed3636() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3636(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.List + buildUnnamed3637() => [ + buildGoogleCloudContactcenterinsightsV1RuntimeAnnotation(), + buildGoogleCloudContactcenterinsightsV1RuntimeAnnotation(), + ]; + +void checkUnnamed3637( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1RuntimeAnnotation(o[0]); + checkGoogleCloudContactcenterinsightsV1RuntimeAnnotation(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1Conversation = 0; +api.GoogleCloudContactcenterinsightsV1Conversation + buildGoogleCloudContactcenterinsightsV1Conversation() { + final o = api.GoogleCloudContactcenterinsightsV1Conversation(); + buildCounterGoogleCloudContactcenterinsightsV1Conversation++; + if (buildCounterGoogleCloudContactcenterinsightsV1Conversation < 3) { + o.agentId = 'foo'; + o.callMetadata = + buildGoogleCloudContactcenterinsightsV1ConversationCallMetadata(); + o.createTime = 'foo'; + o.dataSource = + buildGoogleCloudContactcenterinsightsV1ConversationDataSource(); + o.dialogflowIntents = buildUnnamed3635(); + o.duration = 'foo'; + o.expireTime = 'foo'; + o.labels = buildUnnamed3636(); + o.languageCode = 'foo'; + o.latestAnalysis = buildGoogleCloudContactcenterinsightsV1Analysis(); + o.medium = 'foo'; + o.name = 'foo'; + o.runtimeAnnotations = buildUnnamed3637(); + o.startTime = 'foo'; + o.transcript = + buildGoogleCloudContactcenterinsightsV1ConversationTranscript(); + o.ttl = 'foo'; + o.turnCount = 42; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1Conversation--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1Conversation( + api.GoogleCloudContactcenterinsightsV1Conversation o) { + buildCounterGoogleCloudContactcenterinsightsV1Conversation++; + if (buildCounterGoogleCloudContactcenterinsightsV1Conversation < 3) { + unittest.expect( + o.agentId!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1ConversationCallMetadata( + o.callMetadata!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1ConversationDataSource( + o.dataSource!); + checkUnnamed3635(o.dialogflowIntents!); + unittest.expect( + o.duration!, + unittest.equals('foo'), + ); + unittest.expect( + o.expireTime!, + unittest.equals('foo'), + ); + checkUnnamed3636(o.labels!); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1Analysis(o.latestAnalysis!); + unittest.expect( + o.medium!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed3637(o.runtimeAnnotations!); + unittest.expect( + o.startTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1ConversationTranscript( + o.transcript!); + unittest.expect( + o.ttl!, + unittest.equals('foo'), + ); + unittest.expect( + o.turnCount!, + unittest.equals(42), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1Conversation--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata = 0; +api.GoogleCloudContactcenterinsightsV1ConversationCallMetadata + buildGoogleCloudContactcenterinsightsV1ConversationCallMetadata() { + final o = api.GoogleCloudContactcenterinsightsV1ConversationCallMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata < + 3) { + o.agentChannel = 42; + o.customerChannel = 42; + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationCallMetadata( + api.GoogleCloudContactcenterinsightsV1ConversationCallMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata < + 3) { + unittest.expect( + o.agentChannel!, + unittest.equals(42), + ); + unittest.expect( + o.customerChannel!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationCallMetadata--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource = + 0; +api.GoogleCloudContactcenterinsightsV1ConversationDataSource + buildGoogleCloudContactcenterinsightsV1ConversationDataSource() { + final o = api.GoogleCloudContactcenterinsightsV1ConversationDataSource(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource < + 3) { + o.dialogflowSource = + buildGoogleCloudContactcenterinsightsV1DialogflowSource(); + o.gcsSource = buildGoogleCloudContactcenterinsightsV1GcsSource(); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationDataSource( + api.GoogleCloudContactcenterinsightsV1ConversationDataSource o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource < + 3) { + checkGoogleCloudContactcenterinsightsV1DialogflowSource( + o.dialogflowSource!); + checkGoogleCloudContactcenterinsightsV1GcsSource(o.gcsSource!); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationDataSource--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment = + 0; +api.GoogleCloudContactcenterinsightsV1ConversationLevelSentiment + buildGoogleCloudContactcenterinsightsV1ConversationLevelSentiment() { + final o = api.GoogleCloudContactcenterinsightsV1ConversationLevelSentiment(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment < + 3) { + o.channelTag = 42; + o.sentimentData = buildGoogleCloudContactcenterinsightsV1SentimentData(); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationLevelSentiment( + api.GoogleCloudContactcenterinsightsV1ConversationLevelSentiment o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment < + 3) { + unittest.expect( + o.channelTag!, + unittest.equals(42), + ); + checkGoogleCloudContactcenterinsightsV1SentimentData(o.sentimentData!); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationLevelSentiment--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant = + 0; +api.GoogleCloudContactcenterinsightsV1ConversationParticipant + buildGoogleCloudContactcenterinsightsV1ConversationParticipant() { + final o = api.GoogleCloudContactcenterinsightsV1ConversationParticipant(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant < + 3) { + o.dialogflowParticipant = 'foo'; + o.dialogflowParticipantName = 'foo'; + o.role = 'foo'; + o.userId = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationParticipant( + api.GoogleCloudContactcenterinsightsV1ConversationParticipant o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant < + 3) { + unittest.expect( + o.dialogflowParticipant!, + unittest.equals('foo'), + ); + unittest.expect( + o.dialogflowParticipantName!, + unittest.equals('foo'), + ); + unittest.expect( + o.role!, + unittest.equals('foo'), + ); + unittest.expect( + o.userId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationParticipant--; +} + +core.List< + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment> + buildUnnamed3638() => [ + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment(), + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment(), + ]; + +void checkUnnamed3638( + core.List< + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment( + o[0]); + checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment( + o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript = + 0; +api.GoogleCloudContactcenterinsightsV1ConversationTranscript + buildGoogleCloudContactcenterinsightsV1ConversationTranscript() { + final o = api.GoogleCloudContactcenterinsightsV1ConversationTranscript(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript < + 3) { + o.transcriptSegments = buildUnnamed3638(); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationTranscript( + api.GoogleCloudContactcenterinsightsV1ConversationTranscript o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript < + 3) { + checkUnnamed3638(o.transcriptSegments!); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript--; +} + +core.List< + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo> + buildUnnamed3639() => [ + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo(), + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo(), + ]; + +void checkUnnamed3639( + core.List< + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo( + o[0]); + checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo( + o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment = + 0; +api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment() { + final o = api + .GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment < + 3) { + o.channelTag = 42; + o.confidence = 42.0; + o.languageCode = 'foo'; + o.segmentParticipant = + buildGoogleCloudContactcenterinsightsV1ConversationParticipant(); + o.text = 'foo'; + o.words = buildUnnamed3639(); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment( + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment + o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment < + 3) { + unittest.expect( + o.channelTag!, + unittest.equals(42), + ); + unittest.expect( + o.confidence!, + unittest.equals(42.0), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1ConversationParticipant( + o.segmentParticipant!); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + checkUnnamed3639(o.words!); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo = + 0; +api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo() { + final o = api + .GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo(); + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo < + 3) { + o.confidence = 42.0; + o.endOffset = 'foo'; + o.startOffset = 'foo'; + o.word = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo( + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo + o) { + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo++; + if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo < + 3) { + unittest.expect( + o.confidence!, + unittest.equals(42.0), + ); + unittest.expect( + o.endOffset!, + unittest.equals('foo'), + ); + unittest.expect( + o.startOffset!, + unittest.equals('foo'), + ); + unittest.expect( + o.word!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata + buildGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata() { + final o = + api.GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata < + 3) { + o.conversation = 'foo'; + o.createTime = 'foo'; + o.endTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata( + api.GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata < + 3) { + unittest.expect( + o.conversation!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata = 0; +api.GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata() { + final o = api.GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1CreateIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1CreateIssueModelRequest(o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1CreateIssueModelRequest + buildGoogleCloudContactcenterinsightsV1CreateIssueModelRequest() { + final o = api.GoogleCloudContactcenterinsightsV1CreateIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest < + 3) { + o.issueModel = buildGoogleCloudContactcenterinsightsV1IssueModel(); + o.parent = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1CreateIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1CreateIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest < + 3) { + checkGoogleCloudContactcenterinsightsV1IssueModel(o.issueModel!); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1CreateIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata = 0; +api.GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata() { + final o = api.GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest(o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest + buildGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest() { + final o = api.GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest < + 3) { + o.name = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest < + 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata = 0; +api.GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata() { + final o = api.GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1DeployIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1DeployIssueModelRequest(o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1DeployIssueModelRequest + buildGoogleCloudContactcenterinsightsV1DeployIssueModelRequest() { + final o = api.GoogleCloudContactcenterinsightsV1DeployIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest < + 3) { + o.name = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DeployIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1DeployIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest < + 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse = 0; +api.GoogleCloudContactcenterinsightsV1DeployIssueModelResponse + buildGoogleCloudContactcenterinsightsV1DeployIssueModelResponse() { + final o = api.GoogleCloudContactcenterinsightsV1DeployIssueModelResponse(); + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DeployIssueModelResponse( + api.GoogleCloudContactcenterinsightsV1DeployIssueModelResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1DeployIssueModelResponse--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent = 0; +api.GoogleCloudContactcenterinsightsV1DialogflowIntent + buildGoogleCloudContactcenterinsightsV1DialogflowIntent() { + final o = api.GoogleCloudContactcenterinsightsV1DialogflowIntent(); + buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent++; + if (buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent < 3) { + o.displayName = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DialogflowIntent( + api.GoogleCloudContactcenterinsightsV1DialogflowIntent o) { + buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent++; + if (buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1DialogflowIntent--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData = 0; +api.GoogleCloudContactcenterinsightsV1DialogflowInteractionData + buildGoogleCloudContactcenterinsightsV1DialogflowInteractionData() { + final o = api.GoogleCloudContactcenterinsightsV1DialogflowInteractionData(); + buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData < + 3) { + o.confidence = 42.0; + o.dialogflowIntentId = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DialogflowInteractionData( + api.GoogleCloudContactcenterinsightsV1DialogflowInteractionData o) { + buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData < + 3) { + unittest.expect( + o.confidence!, + unittest.equals(42.0), + ); + unittest.expect( + o.dialogflowIntentId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1DialogflowInteractionData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource = 0; +api.GoogleCloudContactcenterinsightsV1DialogflowSource + buildGoogleCloudContactcenterinsightsV1DialogflowSource() { + final o = api.GoogleCloudContactcenterinsightsV1DialogflowSource(); + buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource++; + if (buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource < 3) { + o.audioUri = 'foo'; + o.dialogflowConversation = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1DialogflowSource( + api.GoogleCloudContactcenterinsightsV1DialogflowSource o) { + buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource++; + if (buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource < 3) { + unittest.expect( + o.audioUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.dialogflowConversation!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource--; +} + +core.Map buildUnnamed3640() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3640(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1Entity = 0; +api.GoogleCloudContactcenterinsightsV1Entity + buildGoogleCloudContactcenterinsightsV1Entity() { + final o = api.GoogleCloudContactcenterinsightsV1Entity(); + buildCounterGoogleCloudContactcenterinsightsV1Entity++; + if (buildCounterGoogleCloudContactcenterinsightsV1Entity < 3) { + o.displayName = 'foo'; + o.metadata = buildUnnamed3640(); + o.salience = 42.0; + o.sentiment = buildGoogleCloudContactcenterinsightsV1SentimentData(); + o.type = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1Entity--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1Entity( + api.GoogleCloudContactcenterinsightsV1Entity o) { + buildCounterGoogleCloudContactcenterinsightsV1Entity++; + if (buildCounterGoogleCloudContactcenterinsightsV1Entity < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed3640(o.metadata!); + unittest.expect( + o.salience!, + unittest.equals(42.0), + ); + checkGoogleCloudContactcenterinsightsV1SentimentData(o.sentiment!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1Entity--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData = 0; +api.GoogleCloudContactcenterinsightsV1EntityMentionData + buildGoogleCloudContactcenterinsightsV1EntityMentionData() { + final o = api.GoogleCloudContactcenterinsightsV1EntityMentionData(); + buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData < 3) { + o.entityUniqueId = 'foo'; + o.sentiment = buildGoogleCloudContactcenterinsightsV1SentimentData(); + o.type = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1EntityMentionData( + api.GoogleCloudContactcenterinsightsV1EntityMentionData o) { + buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData < 3) { + unittest.expect( + o.entityUniqueId!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1SentimentData(o.sentiment!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1EntityMentionData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig = 0; +api.GoogleCloudContactcenterinsightsV1ExactMatchConfig + buildGoogleCloudContactcenterinsightsV1ExactMatchConfig() { + final o = api.GoogleCloudContactcenterinsightsV1ExactMatchConfig(); + buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig < 3) { + o.caseSensitive = true; + } + buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ExactMatchConfig( + api.GoogleCloudContactcenterinsightsV1ExactMatchConfig o) { + buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig < 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + } + buildCounterGoogleCloudContactcenterinsightsV1ExactMatchConfig--; +} + +core.List buildUnnamed3641() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3641(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata() { + final o = api.GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.partialErrors = buildUnnamed3641(); + o.request = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata( + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkUnnamed3641(o.partialErrors!); + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest = 0; +api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest() { + final o = api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest(); + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest < + 3) { + o.bigQueryDestination = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination(); + o.filter = 'foo'; + o.kmsKey = 'foo'; + o.parent = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest < + 3) { + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination( + o.bigQueryDestination!); + unittest.expect( + o.filter!, + unittest.equals('foo'), + ); + unittest.expect( + o.kmsKey!, + unittest.equals('foo'), + ); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination = + 0; +api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination() { + final o = api + .GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination(); + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination < + 3) { + o.dataset = 'foo'; + o.projectId = 'foo'; + o.table = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination( + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination + o) { + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination < + 3) { + unittest.expect( + o.dataset!, + unittest.equals('foo'), + ); + unittest.expect( + o.projectId!, + unittest.equals('foo'), + ); + unittest.expect( + o.table!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse = + 0; +api.GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse() { + final o = api.GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse(); + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse( + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse--; +} + +core.Map buildUnnamed3642() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3642(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData = 0; +api.GoogleCloudContactcenterinsightsV1FaqAnswerData + buildGoogleCloudContactcenterinsightsV1FaqAnswerData() { + final o = api.GoogleCloudContactcenterinsightsV1FaqAnswerData(); + buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData++; + if (buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData < 3) { + o.answer = 'foo'; + o.confidenceScore = 42.0; + o.metadata = buildUnnamed3642(); + o.queryRecord = 'foo'; + o.question = 'foo'; + o.source = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1FaqAnswerData( + api.GoogleCloudContactcenterinsightsV1FaqAnswerData o) { + buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData++; + if (buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData < 3) { + unittest.expect( + o.answer!, + unittest.equals('foo'), + ); + unittest.expect( + o.confidenceScore!, + unittest.equals(42.0), + ); + checkUnnamed3642(o.metadata!); + unittest.expect( + o.queryRecord!, + unittest.equals('foo'), + ); + unittest.expect( + o.question!, + unittest.equals('foo'), + ); + unittest.expect( + o.source!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1GcsSource = 0; +api.GoogleCloudContactcenterinsightsV1GcsSource + buildGoogleCloudContactcenterinsightsV1GcsSource() { + final o = api.GoogleCloudContactcenterinsightsV1GcsSource(); + buildCounterGoogleCloudContactcenterinsightsV1GcsSource++; + if (buildCounterGoogleCloudContactcenterinsightsV1GcsSource < 3) { + o.audioUri = 'foo'; + o.transcriptUri = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1GcsSource--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1GcsSource( + api.GoogleCloudContactcenterinsightsV1GcsSource o) { + buildCounterGoogleCloudContactcenterinsightsV1GcsSource++; + if (buildCounterGoogleCloudContactcenterinsightsV1GcsSource < 3) { + unittest.expect( + o.audioUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.transcriptUri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1GcsSource--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1HoldData = 0; +api.GoogleCloudContactcenterinsightsV1HoldData + buildGoogleCloudContactcenterinsightsV1HoldData() { + final o = api.GoogleCloudContactcenterinsightsV1HoldData(); + buildCounterGoogleCloudContactcenterinsightsV1HoldData++; + if (buildCounterGoogleCloudContactcenterinsightsV1HoldData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1HoldData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1HoldData( + api.GoogleCloudContactcenterinsightsV1HoldData o) { + buildCounterGoogleCloudContactcenterinsightsV1HoldData++; + if (buildCounterGoogleCloudContactcenterinsightsV1HoldData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1HoldData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1Intent = 0; +api.GoogleCloudContactcenterinsightsV1Intent + buildGoogleCloudContactcenterinsightsV1Intent() { + final o = api.GoogleCloudContactcenterinsightsV1Intent(); + buildCounterGoogleCloudContactcenterinsightsV1Intent++; + if (buildCounterGoogleCloudContactcenterinsightsV1Intent < 3) { + o.displayName = 'foo'; + o.id = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1Intent--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1Intent( + api.GoogleCloudContactcenterinsightsV1Intent o) { + buildCounterGoogleCloudContactcenterinsightsV1Intent++; + if (buildCounterGoogleCloudContactcenterinsightsV1Intent < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1Intent--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData = 0; +api.GoogleCloudContactcenterinsightsV1IntentMatchData + buildGoogleCloudContactcenterinsightsV1IntentMatchData() { + final o = api.GoogleCloudContactcenterinsightsV1IntentMatchData(); + buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData++; + if (buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData < 3) { + o.intentUniqueId = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IntentMatchData( + api.GoogleCloudContactcenterinsightsV1IntentMatchData o) { + buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData++; + if (buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData < 3) { + unittest.expect( + o.intentUniqueId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1IntentMatchData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1InterruptionData = 0; +api.GoogleCloudContactcenterinsightsV1InterruptionData + buildGoogleCloudContactcenterinsightsV1InterruptionData() { + final o = api.GoogleCloudContactcenterinsightsV1InterruptionData(); + buildCounterGoogleCloudContactcenterinsightsV1InterruptionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1InterruptionData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1InterruptionData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1InterruptionData( + api.GoogleCloudContactcenterinsightsV1InterruptionData o) { + buildCounterGoogleCloudContactcenterinsightsV1InterruptionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1InterruptionData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1InterruptionData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1Issue = 0; +api.GoogleCloudContactcenterinsightsV1Issue + buildGoogleCloudContactcenterinsightsV1Issue() { + final o = api.GoogleCloudContactcenterinsightsV1Issue(); + buildCounterGoogleCloudContactcenterinsightsV1Issue++; + if (buildCounterGoogleCloudContactcenterinsightsV1Issue < 3) { + o.createTime = 'foo'; + o.displayName = 'foo'; + o.name = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1Issue--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1Issue( + api.GoogleCloudContactcenterinsightsV1Issue o) { + buildCounterGoogleCloudContactcenterinsightsV1Issue++; + if (buildCounterGoogleCloudContactcenterinsightsV1Issue < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1Issue--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment = 0; +api.GoogleCloudContactcenterinsightsV1IssueAssignment + buildGoogleCloudContactcenterinsightsV1IssueAssignment() { + final o = api.GoogleCloudContactcenterinsightsV1IssueAssignment(); + buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment < 3) { + o.displayName = 'foo'; + o.issue = 'foo'; + o.score = 42.0; + } + buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IssueAssignment( + api.GoogleCloudContactcenterinsightsV1IssueAssignment o) { + buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.issue!, + unittest.equals('foo'), + ); + unittest.expect( + o.score!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueAssignment--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1IssueModel = 0; +api.GoogleCloudContactcenterinsightsV1IssueModel + buildGoogleCloudContactcenterinsightsV1IssueModel() { + final o = api.GoogleCloudContactcenterinsightsV1IssueModel(); + buildCounterGoogleCloudContactcenterinsightsV1IssueModel++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModel < 3) { + o.createTime = 'foo'; + o.displayName = 'foo'; + o.inputDataConfig = + buildGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig(); + o.name = 'foo'; + o.state = 'foo'; + o.trainingStats = + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStats(); + o.updateTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModel--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IssueModel( + api.GoogleCloudContactcenterinsightsV1IssueModel o) { + buildCounterGoogleCloudContactcenterinsightsV1IssueModel++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModel < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig( + o.inputDataConfig!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1IssueModelLabelStats( + o.trainingStats!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModel--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig = 0; +api.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig + buildGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig() { + final o = api.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig(); + buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig < + 3) { + o.medium = 'foo'; + o.trainingConversationsCount = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig( + api.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig o) { + buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig < + 3) { + unittest.expect( + o.medium!, + unittest.equals('foo'), + ); + unittest.expect( + o.trainingConversationsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig--; +} + +core.Map + buildUnnamed3643() => { + 'x': + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(), + 'y': + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(), + }; + +void checkUnnamed3643( + core.Map + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats( + o['x']!); + checkGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats( + o['y']!); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats = 0; +api.GoogleCloudContactcenterinsightsV1IssueModelLabelStats + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStats() { + final o = api.GoogleCloudContactcenterinsightsV1IssueModelLabelStats(); + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats < 3) { + o.analyzedConversationsCount = 'foo'; + o.issueStats = buildUnnamed3643(); + o.unclassifiedConversationsCount = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IssueModelLabelStats( + api.GoogleCloudContactcenterinsightsV1IssueModelLabelStats o) { + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats < 3) { + unittest.expect( + o.analyzedConversationsCount!, + unittest.equals('foo'), + ); + checkUnnamed3643(o.issueStats!); + unittest.expect( + o.unclassifiedConversationsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats = + 0; +api.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats() { + final o = + api.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(); + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats < + 3) { + o.issue = 'foo'; + o.labeledConversationsCount = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats( + api.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats o) { + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats < + 3) { + unittest.expect( + o.issue!, + unittest.equals('foo'), + ); + unittest.expect( + o.labeledConversationsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats--; +} + +core.List + buildUnnamed3644() => [ + buildGoogleCloudContactcenterinsightsV1IssueAssignment(), + buildGoogleCloudContactcenterinsightsV1IssueAssignment(), + ]; + +void checkUnnamed3644( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1IssueAssignment(o[0]); + checkGoogleCloudContactcenterinsightsV1IssueAssignment(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult = 0; +api.GoogleCloudContactcenterinsightsV1IssueModelResult + buildGoogleCloudContactcenterinsightsV1IssueModelResult() { + final o = api.GoogleCloudContactcenterinsightsV1IssueModelResult(); + buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult < 3) { + o.issueModel = 'foo'; + o.issues = buildUnnamed3644(); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1IssueModelResult( + api.GoogleCloudContactcenterinsightsV1IssueModelResult o) { + buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult++; + if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult < 3) { + unittest.expect( + o.issueModel!, + unittest.equals('foo'), + ); + checkUnnamed3644(o.issues!); + } + buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult--; +} + +core.List buildUnnamed3645() => + [ + buildGoogleCloudContactcenterinsightsV1Analysis(), + buildGoogleCloudContactcenterinsightsV1Analysis(), + ]; + +void checkUnnamed3645( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1Analysis(o[0]); + checkGoogleCloudContactcenterinsightsV1Analysis(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse = 0; +api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse + buildGoogleCloudContactcenterinsightsV1ListAnalysesResponse() { + final o = api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse(); + buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse < 3) { + o.analyses = buildUnnamed3645(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ListAnalysesResponse( + api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse < 3) { + checkUnnamed3645(o.analyses!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse--; +} + +core.List + buildUnnamed3646() => [ + buildGoogleCloudContactcenterinsightsV1Conversation(), + buildGoogleCloudContactcenterinsightsV1Conversation(), + ]; + +void checkUnnamed3646( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1Conversation(o[0]); + checkGoogleCloudContactcenterinsightsV1Conversation(o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse = 0; +api.GoogleCloudContactcenterinsightsV1ListConversationsResponse + buildGoogleCloudContactcenterinsightsV1ListConversationsResponse() { + final o = api.GoogleCloudContactcenterinsightsV1ListConversationsResponse(); + buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse < + 3) { + o.conversations = buildUnnamed3646(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ListConversationsResponse( + api.GoogleCloudContactcenterinsightsV1ListConversationsResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse < + 3) { + checkUnnamed3646(o.conversations!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse--; +} + +core.List + buildUnnamed3647() => [ + buildGoogleCloudContactcenterinsightsV1IssueModel(), + buildGoogleCloudContactcenterinsightsV1IssueModel(), + ]; + +void checkUnnamed3647( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1IssueModel(o[0]); + checkGoogleCloudContactcenterinsightsV1IssueModel(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse = + 0; +api.GoogleCloudContactcenterinsightsV1ListIssueModelsResponse + buildGoogleCloudContactcenterinsightsV1ListIssueModelsResponse() { + final o = api.GoogleCloudContactcenterinsightsV1ListIssueModelsResponse(); + buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse < + 3) { + o.issueModels = buildUnnamed3647(); + } + buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ListIssueModelsResponse( + api.GoogleCloudContactcenterinsightsV1ListIssueModelsResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse < + 3) { + checkUnnamed3647(o.issueModels!); + } + buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse--; +} + +core.List buildUnnamed3648() => [ + buildGoogleCloudContactcenterinsightsV1Issue(), + buildGoogleCloudContactcenterinsightsV1Issue(), + ]; + +void checkUnnamed3648( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1Issue(o[0]); + checkGoogleCloudContactcenterinsightsV1Issue(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse = 0; +api.GoogleCloudContactcenterinsightsV1ListIssuesResponse + buildGoogleCloudContactcenterinsightsV1ListIssuesResponse() { + final o = api.GoogleCloudContactcenterinsightsV1ListIssuesResponse(); + buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse < 3) { + o.issues = buildUnnamed3648(); + } + buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ListIssuesResponse( + api.GoogleCloudContactcenterinsightsV1ListIssuesResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse < 3) { + checkUnnamed3648(o.issues!); + } + buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse--; +} + +core.List + buildUnnamed3649() => [ + buildGoogleCloudContactcenterinsightsV1PhraseMatcher(), + buildGoogleCloudContactcenterinsightsV1PhraseMatcher(), + ]; + +void checkUnnamed3649( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1PhraseMatcher(o[0]); + checkGoogleCloudContactcenterinsightsV1PhraseMatcher(o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse = + 0; +api.GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse + buildGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse() { + final o = api.GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse(); + buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse < + 3) { + o.nextPageToken = 'foo'; + o.phraseMatchers = buildUnnamed3649(); + } + buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse( + api.GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse < + 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed3649(o.phraseMatchers!); + } + buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData = 0; +api.GoogleCloudContactcenterinsightsV1PhraseMatchData + buildGoogleCloudContactcenterinsightsV1PhraseMatchData() { + final o = api.GoogleCloudContactcenterinsightsV1PhraseMatchData(); + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData < 3) { + o.displayName = 'foo'; + o.phraseMatcher = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1PhraseMatchData( + api.GoogleCloudContactcenterinsightsV1PhraseMatchData o) { + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.phraseMatcher!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchData--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule = 0; +api.GoogleCloudContactcenterinsightsV1PhraseMatchRule + buildGoogleCloudContactcenterinsightsV1PhraseMatchRule() { + final o = api.GoogleCloudContactcenterinsightsV1PhraseMatchRule(); + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule < 3) { + o.config = buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig(); + o.negated = true; + o.query = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1PhraseMatchRule( + api.GoogleCloudContactcenterinsightsV1PhraseMatchRule o) { + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule < 3) { + checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig(o.config!); + unittest.expect(o.negated!, unittest.isTrue); + unittest.expect( + o.query!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRule--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig = + 0; +api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig + buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig() { + final o = api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig(); + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig < 3) { + o.exactMatchConfig = + buildGoogleCloudContactcenterinsightsV1ExactMatchConfig(); + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig( + api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig o) { + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig < 3) { + checkGoogleCloudContactcenterinsightsV1ExactMatchConfig( + o.exactMatchConfig!); + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig--; +} + +core.List + buildUnnamed3650() => [ + buildGoogleCloudContactcenterinsightsV1PhraseMatchRule(), + buildGoogleCloudContactcenterinsightsV1PhraseMatchRule(), + ]; + +void checkUnnamed3650( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRule(o[0]); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRule(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup = 0; +api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup + buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup() { + final o = api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(); + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup < 3) { + o.phraseMatchRules = buildUnnamed3650(); + o.type = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup( + api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup o) { + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup < 3) { + checkUnnamed3650(o.phraseMatchRules!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup--; +} + +core.List + buildUnnamed3651() => [ + buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(), + buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(), + ]; + +void checkUnnamed3651( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(o[0]); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(o[1]); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher = 0; +api.GoogleCloudContactcenterinsightsV1PhraseMatcher + buildGoogleCloudContactcenterinsightsV1PhraseMatcher() { + final o = api.GoogleCloudContactcenterinsightsV1PhraseMatcher(); + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher < 3) { + o.activationUpdateTime = 'foo'; + o.active = true; + o.displayName = 'foo'; + o.name = 'foo'; + o.phraseMatchRuleGroups = buildUnnamed3651(); + o.revisionCreateTime = 'foo'; + o.revisionId = 'foo'; + o.roleMatch = 'foo'; + o.type = 'foo'; + o.versionTag = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1PhraseMatcher( + api.GoogleCloudContactcenterinsightsV1PhraseMatcher o) { + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher++; + if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher < 3) { + unittest.expect( + o.activationUpdateTime!, + unittest.equals('foo'), + ); + unittest.expect(o.active!, unittest.isTrue); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed3651(o.phraseMatchRuleGroups!); + unittest.expect( + o.revisionCreateTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.revisionId!, + unittest.equals('foo'), + ); + unittest.expect( + o.roleMatch!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + unittest.expect( + o.versionTag!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1PhraseMatcher--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation = 0; +api.GoogleCloudContactcenterinsightsV1RuntimeAnnotation + buildGoogleCloudContactcenterinsightsV1RuntimeAnnotation() { + final o = api.GoogleCloudContactcenterinsightsV1RuntimeAnnotation(); + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation++; + if (buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation < 3) { + o.annotationId = 'foo'; + o.answerFeedback = buildGoogleCloudContactcenterinsightsV1AnswerFeedback(); + o.articleSuggestion = + buildGoogleCloudContactcenterinsightsV1ArticleSuggestionData(); + o.createTime = 'foo'; + o.dialogflowInteraction = + buildGoogleCloudContactcenterinsightsV1DialogflowInteractionData(); + o.endBoundary = buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); + o.faqAnswer = buildGoogleCloudContactcenterinsightsV1FaqAnswerData(); + o.smartComposeSuggestion = + buildGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData(); + o.smartReply = buildGoogleCloudContactcenterinsightsV1SmartReplyData(); + o.startBoundary = + buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); + } + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1RuntimeAnnotation( + api.GoogleCloudContactcenterinsightsV1RuntimeAnnotation o) { + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation++; + if (buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation < 3) { + unittest.expect( + o.annotationId!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1AnswerFeedback(o.answerFeedback!); + checkGoogleCloudContactcenterinsightsV1ArticleSuggestionData( + o.articleSuggestion!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1DialogflowInteractionData( + o.dialogflowInteraction!); + checkGoogleCloudContactcenterinsightsV1AnnotationBoundary(o.endBoundary!); + checkGoogleCloudContactcenterinsightsV1FaqAnswerData(o.faqAnswer!); + checkGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( + o.smartComposeSuggestion!); + checkGoogleCloudContactcenterinsightsV1SmartReplyData(o.smartReply!); + checkGoogleCloudContactcenterinsightsV1AnnotationBoundary(o.startBoundary!); + } + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1SentimentData = 0; +api.GoogleCloudContactcenterinsightsV1SentimentData + buildGoogleCloudContactcenterinsightsV1SentimentData() { + final o = api.GoogleCloudContactcenterinsightsV1SentimentData(); + buildCounterGoogleCloudContactcenterinsightsV1SentimentData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SentimentData < 3) { + o.magnitude = 42.0; + o.score = 42.0; + } + buildCounterGoogleCloudContactcenterinsightsV1SentimentData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1SentimentData( + api.GoogleCloudContactcenterinsightsV1SentimentData o) { + buildCounterGoogleCloudContactcenterinsightsV1SentimentData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SentimentData < 3) { + unittest.expect( + o.magnitude!, + unittest.equals(42.0), + ); + unittest.expect( + o.score!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1SentimentData--; +} + +core.Map buildUnnamed3652() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3652(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1Settings = 0; +api.GoogleCloudContactcenterinsightsV1Settings + buildGoogleCloudContactcenterinsightsV1Settings() { + final o = api.GoogleCloudContactcenterinsightsV1Settings(); + buildCounterGoogleCloudContactcenterinsightsV1Settings++; + if (buildCounterGoogleCloudContactcenterinsightsV1Settings < 3) { + o.analysisConfig = + buildGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig(); + o.conversationTtl = 'foo'; + o.createTime = 'foo'; + o.languageCode = 'foo'; + o.name = 'foo'; + o.pubsubNotificationSettings = buildUnnamed3652(); + o.updateTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1Settings--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1Settings( + api.GoogleCloudContactcenterinsightsV1Settings o) { + buildCounterGoogleCloudContactcenterinsightsV1Settings++; + if (buildCounterGoogleCloudContactcenterinsightsV1Settings < 3) { + checkGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig( + o.analysisConfig!); + unittest.expect( + o.conversationTtl!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed3652(o.pubsubNotificationSettings!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1Settings--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig = + 0; +api.GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig + buildGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig() { + final o = api.GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig(); + buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig < + 3) { + o.runtimeIntegrationAnalysisPercentage = 42.0; + } + buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig( + api.GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig o) { + buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig < + 3) { + unittest.expect( + o.runtimeIntegrationAnalysisPercentage!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1SilenceData = 0; +api.GoogleCloudContactcenterinsightsV1SilenceData + buildGoogleCloudContactcenterinsightsV1SilenceData() { + final o = api.GoogleCloudContactcenterinsightsV1SilenceData(); + buildCounterGoogleCloudContactcenterinsightsV1SilenceData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SilenceData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1SilenceData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1SilenceData( + api.GoogleCloudContactcenterinsightsV1SilenceData o) { + buildCounterGoogleCloudContactcenterinsightsV1SilenceData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SilenceData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1SilenceData--; +} + +core.Map buildUnnamed3653() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3653(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData = + 0; +api.GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData + buildGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData() { + final o = api.GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData(); + buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData < + 3) { + o.confidenceScore = 42.0; + o.metadata = buildUnnamed3653(); + o.queryRecord = 'foo'; + o.suggestion = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( + api.GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData o) { + buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData < + 3) { + unittest.expect( + o.confidenceScore!, + unittest.equals(42.0), + ); + checkUnnamed3653(o.metadata!); + unittest.expect( + o.queryRecord!, + unittest.equals('foo'), + ); + unittest.expect( + o.suggestion!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData--; +} + +core.Map buildUnnamed3654() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3654(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData = 0; +api.GoogleCloudContactcenterinsightsV1SmartReplyData + buildGoogleCloudContactcenterinsightsV1SmartReplyData() { + final o = api.GoogleCloudContactcenterinsightsV1SmartReplyData(); + buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData < 3) { + o.confidenceScore = 42.0; + o.metadata = buildUnnamed3654(); + o.queryRecord = 'foo'; + o.reply = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1SmartReplyData( + api.GoogleCloudContactcenterinsightsV1SmartReplyData o) { + buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData++; + if (buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData < 3) { + unittest.expect( + o.confidenceScore!, + unittest.equals(42.0), + ); + checkUnnamed3654(o.metadata!); + unittest.expect( + o.queryRecord!, + unittest.equals('foo'), + ); + unittest.expect( + o.reply!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata() { + final o = api.GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest = 0; +api.GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest() { + final o = api.GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest < + 3) { + o.name = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest < + 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse = + 0; +api.GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse() { + final o = api.GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse(); + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse( + api.GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata + buildGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata() { + final o = api + .GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata < + 3) { + o.conversation = 'foo'; + o.createTime = 'foo'; + o.endTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata( + api.GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata + o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata < + 3) { + unittest.expect( + o.conversation!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest + buildGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest < + 3) { + o.issueModel = buildGoogleCloudContactcenterinsightsV1alpha1IssueModel(); + o.parent = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest < + 3) { + checkGoogleCloudContactcenterinsightsV1alpha1IssueModel(o.issueModel!); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest + buildGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest < + 3) { + o.name = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest < + 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest < + 3) { + o.name = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest < + 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse( + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse--; +} + +core.List buildUnnamed3655() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3655(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.partialErrors = buildUnnamed3655(); + o.request = + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata( + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkUnnamed3655(o.partialErrors!); + checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest < + 3) { + o.bigQueryDestination = + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination(); + o.filter = 'foo'; + o.kmsKey = 'foo'; + o.parent = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest < + 3) { + checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination( + o.bigQueryDestination!); + unittest.expect( + o.filter!, + unittest.equals('foo'), + ); + unittest.expect( + o.kmsKey!, + unittest.equals('foo'), + ); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination() { + final o = api + .GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination < + 3) { + o.dataset = 'foo'; + o.projectId = 'foo'; + o.table = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination( + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination + o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination < + 3) { + unittest.expect( + o.dataset!, + unittest.equals('foo'), + ); + unittest.expect( + o.projectId!, + unittest.equals('foo'), + ); + unittest.expect( + o.table!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse( + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse--; +} + +core.int buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel = 0; +api.GoogleCloudContactcenterinsightsV1alpha1IssueModel + buildGoogleCloudContactcenterinsightsV1alpha1IssueModel() { + final o = api.GoogleCloudContactcenterinsightsV1alpha1IssueModel(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel < 3) { + o.createTime = 'foo'; + o.displayName = 'foo'; + o.inputDataConfig = + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig(); + o.name = 'foo'; + o.state = 'foo'; + o.trainingStats = + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats(); + o.updateTime = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1IssueModel( + api.GoogleCloudContactcenterinsightsV1alpha1IssueModel o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig( + o.inputDataConfig!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats( + o.trainingStats!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModel--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig < + 3) { + o.medium = 'foo'; + o.trainingConversationsCount = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig( + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig < + 3) { + unittest.expect( + o.medium!, + unittest.equals('foo'), + ); + unittest.expect( + o.trainingConversationsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig--; +} + +core.Map + buildUnnamed3656() => { + 'x': + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats(), + 'y': + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats(), + }; + +void checkUnnamed3656( + core.Map + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats( + o['x']!); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats( + o['y']!); +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats() { + final o = api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats < + 3) { + o.analyzedConversationsCount = 'foo'; + o.issueStats = buildUnnamed3656(); + o.unclassifiedConversationsCount = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats( + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats < + 3) { + unittest.expect( + o.analyzedConversationsCount!, + unittest.equals('foo'), + ); + checkUnnamed3656(o.issueStats!); + unittest.expect( + o.unclassifiedConversationsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats() { + final o = api + .GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats < + 3) { + o.issue = 'foo'; + o.labeledConversationsCount = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats( + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats + o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats < + 3) { + unittest.expect( + o.issue!, + unittest.equals('foo'), + ); + unittest.expect( + o.labeledConversationsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata < + 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.request = + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest(); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata( + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata < + 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest( + o.request!); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest < + 3) { + o.name = 'foo'; + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest < + 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest--; +} + +core.int + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse = + 0; +api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse() { + final o = + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse(); + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse--; + return o; +} + +void checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse( + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse o) { + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse++; + if (buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse < + 3) {} + buildCounterGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse--; +} + +core.List buildUnnamed3657() => [ + buildGoogleLongrunningOperation(), + buildGoogleLongrunningOperation(), + ]; + +void checkUnnamed3657(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleLongrunningOperation(o[0]); + checkGoogleLongrunningOperation(o[1]); +} + +core.int buildCounterGoogleLongrunningListOperationsResponse = 0; +api.GoogleLongrunningListOperationsResponse + buildGoogleLongrunningListOperationsResponse() { + final o = api.GoogleLongrunningListOperationsResponse(); + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed3657(); + } + buildCounterGoogleLongrunningListOperationsResponse--; + return o; +} + +void checkGoogleLongrunningListOperationsResponse( + api.GoogleLongrunningListOperationsResponse o) { + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed3657(o.operations!); + } + buildCounterGoogleLongrunningListOperationsResponse--; +} + +core.Map buildUnnamed3658() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3658(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed3659() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3659(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted3 = (o['x']!) as core.Map; + unittest.expect(casted3, unittest.hasLength(3)); + unittest.expect( + casted3['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted3['bool'], + unittest.equals(true), + ); + unittest.expect( + casted3['string'], + unittest.equals('foo'), + ); + var casted4 = (o['y']!) as core.Map; + unittest.expect(casted4, unittest.hasLength(3)); + unittest.expect( + casted4['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted4['bool'], + unittest.equals(true), + ); + unittest.expect( + casted4['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleLongrunningOperation = 0; +api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { + final o = api.GoogleLongrunningOperation(); + buildCounterGoogleLongrunningOperation++; + if (buildCounterGoogleLongrunningOperation < 3) { + o.done = true; + o.error = buildGoogleRpcStatus(); + o.metadata = buildUnnamed3658(); + o.name = 'foo'; + o.response = buildUnnamed3659(); + } + buildCounterGoogleLongrunningOperation--; + return o; +} + +void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { + buildCounterGoogleLongrunningOperation++; + if (buildCounterGoogleLongrunningOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkGoogleRpcStatus(o.error!); + checkUnnamed3658(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed3659(o.response!); + } + buildCounterGoogleLongrunningOperation--; +} + +core.int buildCounterGoogleProtobufEmpty = 0; +api.GoogleProtobufEmpty buildGoogleProtobufEmpty() { + final o = api.GoogleProtobufEmpty(); + buildCounterGoogleProtobufEmpty++; + if (buildCounterGoogleProtobufEmpty < 3) {} + buildCounterGoogleProtobufEmpty--; + return o; +} + +void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { + buildCounterGoogleProtobufEmpty++; + if (buildCounterGoogleProtobufEmpty < 3) {} + buildCounterGoogleProtobufEmpty--; +} + +core.Map buildUnnamed3660() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3660(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed3661() => [ + buildUnnamed3660(), + buildUnnamed3660(), + ]; + +void checkUnnamed3661(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed3660(o[0]); + checkUnnamed3660(o[1]); +} + +core.int buildCounterGoogleRpcStatus = 0; +api.GoogleRpcStatus buildGoogleRpcStatus() { + final o = api.GoogleRpcStatus(); + buildCounterGoogleRpcStatus++; + if (buildCounterGoogleRpcStatus < 3) { + o.code = 42; + o.details = buildUnnamed3661(); + o.message = 'foo'; + } + buildCounterGoogleRpcStatus--; + return o; +} + +void checkGoogleRpcStatus(api.GoogleRpcStatus o) { + buildCounterGoogleRpcStatus++; + if (buildCounterGoogleRpcStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed3661(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterGoogleRpcStatus--; +} + +void main() { + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Analysis', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1Analysis(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1Analysis.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1Analysis(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1AnalysisResult', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1AnalysisResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1AnalysisResult.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1AnalysisResult(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1AnnotationBoundary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1AnnotationBoundary(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1AnswerFeedback', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1AnswerFeedback(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1AnswerFeedback.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1AnswerFeedback(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ArticleSuggestionData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1ArticleSuggestionData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ArticleSuggestionData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ArticleSuggestionData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CalculateStatsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1CalculateStatsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval( + od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1CallAnnotation', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1CallAnnotation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1CallAnnotation.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CallAnnotation(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Conversation', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1Conversation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1Conversation.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1Conversation(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationCallMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ConversationCallMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1ConversationCallMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationCallMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationDataSource', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1ConversationDataSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ConversationDataSource.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationDataSource(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationLevelSentiment', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ConversationLevelSentiment + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationParticipant', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ConversationParticipant(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1ConversationParticipant + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationParticipant(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationTranscript', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1ConversationTranscript(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ConversationTranscript.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationTranscript(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CreateIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1CreateIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1CreateIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1CreateIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1CreateIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DeleteIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DeployIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DeployIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1DeployIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1DeployIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DeployIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DeployIssueModelResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1DeployIssueModelResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1DeployIssueModelResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DeployIssueModelResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DialogflowIntent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1DialogflowIntent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1DialogflowIntent.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DialogflowIntent(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DialogflowInteractionData', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1DialogflowInteractionData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1DialogflowInteractionData + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DialogflowInteractionData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1DialogflowSource', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1DialogflowSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1DialogflowSource.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1DialogflowSource(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Entity', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1Entity(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1Entity.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1Entity(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1EntityMentionData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1EntityMentionData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1EntityMentionData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1EntityMentionData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ExactMatchConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1ExactMatchConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ExactMatchConfig.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ExactMatchConfig(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1FaqAnswerData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1FaqAnswerData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1FaqAnswerData(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1GcsSource', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1GcsSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1GcsSource.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1GcsSource(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1HoldData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1HoldData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1HoldData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1HoldData(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Intent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1Intent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1Intent.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1Intent(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1IntentMatchData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1IntentMatchData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1IntentMatchData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IntentMatchData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1InterruptionData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1InterruptionData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1InterruptionData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1InterruptionData(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Issue', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1Issue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1Issue.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1Issue(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1IssueAssignment', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1IssueAssignment(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1IssueAssignment.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueAssignment(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1IssueModel', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1IssueModel(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModel(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1IssueModelLabelStats', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1IssueModelLabelStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1IssueModelLabelStats.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModelLabelStats(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1IssueModelResult', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1IssueModelResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1IssueModelResult.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModelResult(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ListAnalysesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1ListAnalysesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ListAnalysesResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ListConversationsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ListConversationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1ListConversationsResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ListConversationsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ListIssueModelsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ListIssueModelsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1ListIssueModelsResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ListIssueModelsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ListIssuesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1ListIssuesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ListIssuesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ListIssuesResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1PhraseMatchData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1PhraseMatchData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1PhraseMatchData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1PhraseMatchData(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1PhraseMatchRule', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1PhraseMatchRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1PhraseMatchRule.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRule(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1PhraseMatcher', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1PhraseMatcher(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1PhraseMatcher(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1RuntimeAnnotation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1RuntimeAnnotation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1RuntimeAnnotation.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1RuntimeAnnotation(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1SentimentData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1SentimentData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1SentimentData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1SentimentData(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Settings', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1Settings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1Settings.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1Settings(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1SettingsAnalysisConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1SilenceData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1SilenceData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1SilenceData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1SilenceData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1SmartReplyData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1SmartReplyData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1SmartReplyData.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1SmartReplyData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1UndeployIssueModelResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1IssueModel', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudContactcenterinsightsV1alpha1IssueModel(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1IssueModel.fromJson( + oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModel(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse + .fromJson(oJson as core.Map); + checkGoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse( + od); + }); + }); + + unittest.group('obj-schema-GoogleLongrunningListOperationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleLongrunningListOperationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleLongrunningListOperationsResponse.fromJson( + oJson as core.Map); + checkGoogleLongrunningListOperationsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleLongrunningOperation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleLongrunningOperation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleLongrunningOperation.fromJson( + oJson as core.Map); + checkGoogleLongrunningOperation(od); + }); + }); + + unittest.group('obj-schema-GoogleProtobufEmpty', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleProtobufEmpty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleProtobufEmpty.fromJson( + oJson as core.Map); + checkGoogleProtobufEmpty(od); + }); + }); + + unittest.group('obj-schema-GoogleRpcStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleRpcStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleRpcStatus.fromJson( + oJson as core.Map); + checkGoogleRpcStatus(od); + }); + }); + + unittest.group('resource-ProjectsLocationsResource', () { + unittest.test('method--getSettings', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1Settings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getSettings(arg_name, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Settings( + response as api.GoogleCloudContactcenterinsightsV1Settings); + }); + + unittest.test('method--updateSettings', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock).projects.locations; + final arg_request = buildGoogleCloudContactcenterinsightsV1Settings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1Settings.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1Settings(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1Settings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateSettings(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Settings( + response as api.GoogleCloudContactcenterinsightsV1Settings); + }); + }); + + unittest.group('resource-ProjectsLocationsConversationsResource', () { + unittest.test('method--calculateStats', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.conversations; + final arg_location = 'foo'; + final arg_filter = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1CalculateStatsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.calculateStats(arg_location, + filter: arg_filter, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1CalculateStatsResponse(response + as api.GoogleCloudContactcenterinsightsV1CalculateStatsResponse); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.conversations; + final arg_request = buildGoogleCloudContactcenterinsightsV1Conversation(); + final arg_parent = 'foo'; + final arg_conversationId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1Conversation.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1Conversation(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['conversationId']!.first, + unittest.equals(arg_conversationId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1Conversation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + conversationId: arg_conversationId, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Conversation( + response as api.GoogleCloudContactcenterinsightsV1Conversation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.conversations; + final arg_name = 'foo'; + final arg_force = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['force']!.first, + unittest.equals('$arg_force'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.delete(arg_name, force: arg_force, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.conversations; + final arg_name = 'foo'; + final arg_view = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['view']!.first, + unittest.equals(arg_view), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1Conversation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.get(arg_name, view: arg_view, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Conversation( + response as api.GoogleCloudContactcenterinsightsV1Conversation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.conversations; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_view = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['view']!.first, + unittest.equals(arg_view), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1ListConversationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + view: arg_view, + $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1ListConversationsResponse(response + as api.GoogleCloudContactcenterinsightsV1ListConversationsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.conversations; + final arg_request = buildGoogleCloudContactcenterinsightsV1Conversation(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1Conversation.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1Conversation(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1Conversation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Conversation( + response as api.GoogleCloudContactcenterinsightsV1Conversation); + }); + }); + + unittest.group('resource-ProjectsLocationsConversationsAnalysesResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .conversations + .analyses; + final arg_request = buildGoogleCloudContactcenterinsightsV1Analysis(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1Analysis.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1Analysis(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .conversations + .analyses; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .conversations + .analyses; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1Analysis()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Analysis( + response as api.GoogleCloudContactcenterinsightsV1Analysis); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .conversations + .analyses; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1ListAnalysesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1ListAnalysesResponse(response + as api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsInsightsdataResource', () { + unittest.test('method--export', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.insightsdata; + final arg_request = + buildGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest + .fromJson(json as core.Map); + checkGoogleCloudContactcenterinsightsV1ExportInsightsDataRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.export(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + }); + + unittest.group('resource-ProjectsLocationsIssueModelsResource', () { + unittest.test('method--calculateIssueModelStats', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_issueModel = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.calculateIssueModelStats(arg_issueModel, + $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse( + response as api + .GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_request = buildGoogleCloudContactcenterinsightsV1IssueModel(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModel(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + + unittest.test('method--deploy', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_request = + buildGoogleCloudContactcenterinsightsV1DeployIssueModelRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudContactcenterinsightsV1DeployIssueModelRequest + .fromJson(json as core.Map); + checkGoogleCloudContactcenterinsightsV1DeployIssueModelRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.deploy(arg_request, arg_name, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1IssueModel()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1IssueModel( + response as api.GoogleCloudContactcenterinsightsV1IssueModel); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1ListIssueModelsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1ListIssueModelsResponse(response + as api.GoogleCloudContactcenterinsightsV1ListIssueModelsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_request = buildGoogleCloudContactcenterinsightsV1IssueModel(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1IssueModel.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1IssueModel(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1IssueModel()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1IssueModel( + response as api.GoogleCloudContactcenterinsightsV1IssueModel); + }); + + unittest.test('method--undeploy', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.issueModels; + final arg_request = + buildGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest + .fromJson(json as core.Map); + checkGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.undeploy(arg_request, arg_name, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + }); + + unittest.group('resource-ProjectsLocationsIssueModelsIssuesResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .issueModels + .issues; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudContactcenterinsightsV1Issue()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Issue( + response as api.GoogleCloudContactcenterinsightsV1Issue); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .issueModels + .issues; + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1ListIssuesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1ListIssuesResponse( + response as api.GoogleCloudContactcenterinsightsV1ListIssuesResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.ContactcenterinsightsApi(mock) + .projects + .locations + .issueModels + .issues; + final arg_request = buildGoogleCloudContactcenterinsightsV1Issue(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudContactcenterinsightsV1Issue.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1Issue(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudContactcenterinsightsV1Issue()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1Issue( + response as api.GoogleCloudContactcenterinsightsV1Issue); + }); + }); + + unittest.group('resource-ProjectsLocationsOperationsResource', () { + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.cancel(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleLongrunningListOperationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleLongrunningListOperationsResponse( + response as api.GoogleLongrunningListOperationsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsPhraseMatchersResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.phraseMatchers; + final arg_request = + buildGoogleCloudContactcenterinsightsV1PhraseMatcher(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson( + json as core.Map); + checkGoogleCloudContactcenterinsightsV1PhraseMatcher(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1PhraseMatcher()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1PhraseMatcher( + response as api.GoogleCloudContactcenterinsightsV1PhraseMatcher); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.phraseMatchers; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.phraseMatchers; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudContactcenterinsightsV1PhraseMatcher()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1PhraseMatcher( + response as api.GoogleCloudContactcenterinsightsV1PhraseMatcher); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.ContactcenterinsightsApi(mock).projects.locations.phraseMatchers; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse(response + as api.GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse); + }); + }); +} diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart index 465d57e51..be61719c7 100644 --- a/generated/googleapis/test/container/v1_test.dart +++ b/generated/googleapis/test/container/v1_test.dart @@ -33,6 +33,7 @@ api.AcceleratorConfig buildAcceleratorConfig() { if (buildCounterAcceleratorConfig < 3) { o.acceleratorCount = 'foo'; o.acceleratorType = 'foo'; + o.gpuPartitionSize = 'foo'; } buildCounterAcceleratorConfig--; return o; @@ -49,6 +50,10 @@ void checkAcceleratorConfig(api.AcceleratorConfig o) { o.acceleratorType!, unittest.equals('foo'), ); + unittest.expect( + o.gpuPartitionSize!, + unittest.equals('foo'), + ); } buildCounterAcceleratorConfig--; } @@ -63,6 +68,7 @@ api.AddonsConfig buildAddonsConfig() { o.dnsCacheConfig = buildDnsCacheConfig(); o.gcePersistentDiskCsiDriverConfig = buildGcePersistentDiskCsiDriverConfig(); + o.gcpFilestoreCsiDriverConfig = buildGcpFilestoreCsiDriverConfig(); o.horizontalPodAutoscaling = buildHorizontalPodAutoscaling(); o.httpLoadBalancing = buildHttpLoadBalancing(); o.kubernetesDashboard = buildKubernetesDashboard(); @@ -79,6 +85,7 @@ void checkAddonsConfig(api.AddonsConfig o) { checkConfigConnectorConfig(o.configConnectorConfig!); checkDnsCacheConfig(o.dnsCacheConfig!); checkGcePersistentDiskCsiDriverConfig(o.gcePersistentDiskCsiDriverConfig!); + checkGcpFilestoreCsiDriverConfig(o.gcpFilestoreCsiDriverConfig!); checkHorizontalPodAutoscaling(o.horizontalPodAutoscaling!); checkHttpLoadBalancing(o.httpLoadBalancing!); checkKubernetesDashboard(o.kubernetesDashboard!); @@ -157,12 +164,12 @@ void checkAutopilot(api.Autopilot o) { buildCounterAutopilot--; } -core.List buildUnnamed2204() => [ +core.List buildUnnamed2189() => [ 'foo', 'foo', ]; -void checkUnnamed2204(core.List o) { +void checkUnnamed2189(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -185,7 +192,7 @@ api.AutoprovisioningNodePoolDefaults buildAutoprovisioningNodePoolDefaults() { o.imageType = 'foo'; o.management = buildNodeManagement(); o.minCpuPlatform = 'foo'; - o.oauthScopes = buildUnnamed2204(); + o.oauthScopes = buildUnnamed2189(); o.serviceAccount = 'foo'; o.shieldedInstanceConfig = buildShieldedInstanceConfig(); o.upgradeSettings = buildUpgradeSettings(); @@ -219,7 +226,7 @@ void checkAutoprovisioningNodePoolDefaults( o.minCpuPlatform!, unittest.equals('foo'), ); - checkUnnamed2204(o.oauthScopes!); + checkUnnamed2189(o.oauthScopes!); unittest.expect( o.serviceAccount!, unittest.equals('foo'), @@ -378,23 +385,23 @@ void checkCloudRunConfig(api.CloudRunConfig o) { buildCounterCloudRunConfig--; } -core.List buildUnnamed2205() => [ +core.List buildUnnamed2190() => [ buildStatusCondition(), buildStatusCondition(), ]; -void checkUnnamed2205(core.List o) { +void checkUnnamed2190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatusCondition(o[0]); checkStatusCondition(o[1]); } -core.List buildUnnamed2206() => [ +core.List buildUnnamed2191() => [ 'foo', 'foo', ]; -void checkUnnamed2206(core.List o) { +void checkUnnamed2191(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -406,12 +413,12 @@ void checkUnnamed2206(core.List o) { ); } -core.List buildUnnamed2207() => [ +core.List buildUnnamed2192() => [ 'foo', 'foo', ]; -void checkUnnamed2207(core.List o) { +void checkUnnamed2192(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -423,23 +430,23 @@ void checkUnnamed2207(core.List o) { ); } -core.List buildUnnamed2208() => [ +core.List buildUnnamed2193() => [ buildNodePool(), buildNodePool(), ]; -void checkUnnamed2208(core.List o) { +void checkUnnamed2193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodePool(o[0]); checkNodePool(o[1]); } -core.Map buildUnnamed2209() => { +core.Map buildUnnamed2194() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2209(core.Map o) { +void checkUnnamed2194(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -462,7 +469,7 @@ api.Cluster buildCluster() { o.autoscaling = buildClusterAutoscaling(); o.binaryAuthorization = buildBinaryAuthorization(); o.clusterIpv4Cidr = 'foo'; - o.conditions = buildUnnamed2205(); + o.conditions = buildUnnamed2190(); o.confidentialNodes = buildConfidentialNodes(); o.createTime = 'foo'; o.currentMasterVersion = 'foo'; @@ -478,16 +485,18 @@ api.Cluster buildCluster() { o.id = 'foo'; o.initialClusterVersion = 'foo'; o.initialNodeCount = 42; - o.instanceGroupUrls = buildUnnamed2206(); + o.instanceGroupUrls = buildUnnamed2191(); o.ipAllocationPolicy = buildIPAllocationPolicy(); o.labelFingerprint = 'foo'; o.legacyAbac = buildLegacyAbac(); o.location = 'foo'; - o.locations = buildUnnamed2207(); + o.locations = buildUnnamed2192(); + o.loggingConfig = buildLoggingConfig(); o.loggingService = 'foo'; o.maintenancePolicy = buildMaintenancePolicy(); o.masterAuth = buildMasterAuth(); o.masterAuthorizedNetworksConfig = buildMasterAuthorizedNetworksConfig(); + o.monitoringConfig = buildMonitoringConfig(); o.monitoringService = 'foo'; o.name = 'foo'; o.network = 'foo'; @@ -495,11 +504,11 @@ api.Cluster buildCluster() { o.networkPolicy = buildNetworkPolicy(); o.nodeConfig = buildNodeConfig(); o.nodeIpv4CidrSize = 42; - o.nodePools = buildUnnamed2208(); + o.nodePools = buildUnnamed2193(); o.notificationConfig = buildNotificationConfig(); o.privateClusterConfig = buildPrivateClusterConfig(); o.releaseChannel = buildReleaseChannel(); - o.resourceLabels = buildUnnamed2209(); + o.resourceLabels = buildUnnamed2194(); o.resourceUsageExportConfig = buildResourceUsageExportConfig(); o.selfLink = 'foo'; o.servicesIpv4Cidr = 'foo'; @@ -528,7 +537,7 @@ void checkCluster(api.Cluster o) { o.clusterIpv4Cidr!, unittest.equals('foo'), ); - checkUnnamed2205(o.conditions!); + checkUnnamed2190(o.conditions!); checkConfidentialNodes(o.confidentialNodes!); unittest.expect( o.createTime!, @@ -574,7 +583,7 @@ void checkCluster(api.Cluster o) { o.initialNodeCount!, unittest.equals(42), ); - checkUnnamed2206(o.instanceGroupUrls!); + checkUnnamed2191(o.instanceGroupUrls!); checkIPAllocationPolicy(o.ipAllocationPolicy!); unittest.expect( o.labelFingerprint!, @@ -585,7 +594,8 @@ void checkCluster(api.Cluster o) { o.location!, unittest.equals('foo'), ); - checkUnnamed2207(o.locations!); + checkUnnamed2192(o.locations!); + checkLoggingConfig(o.loggingConfig!); unittest.expect( o.loggingService!, unittest.equals('foo'), @@ -593,6 +603,7 @@ void checkCluster(api.Cluster o) { checkMaintenancePolicy(o.maintenancePolicy!); checkMasterAuth(o.masterAuth!); checkMasterAuthorizedNetworksConfig(o.masterAuthorizedNetworksConfig!); + checkMonitoringConfig(o.monitoringConfig!); unittest.expect( o.monitoringService!, unittest.equals('foo'), @@ -612,11 +623,11 @@ void checkCluster(api.Cluster o) { o.nodeIpv4CidrSize!, unittest.equals(42), ); - checkUnnamed2208(o.nodePools!); + checkUnnamed2193(o.nodePools!); checkNotificationConfig(o.notificationConfig!); checkPrivateClusterConfig(o.privateClusterConfig!); checkReleaseChannel(o.releaseChannel!); - checkUnnamed2209(o.resourceLabels!); + checkUnnamed2194(o.resourceLabels!); checkResourceUsageExportConfig(o.resourceUsageExportConfig!); unittest.expect( o.selfLink!, @@ -653,12 +664,12 @@ void checkCluster(api.Cluster o) { buildCounterCluster--; } -core.List buildUnnamed2210() => [ +core.List buildUnnamed2195() => [ 'foo', 'foo', ]; -void checkUnnamed2210(core.List o) { +void checkUnnamed2195(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -670,12 +681,12 @@ void checkUnnamed2210(core.List o) { ); } -core.List buildUnnamed2211() => [ +core.List buildUnnamed2196() => [ buildResourceLimit(), buildResourceLimit(), ]; -void checkUnnamed2211(core.List o) { +void checkUnnamed2196(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceLimit(o[0]); checkResourceLimit(o[1]); @@ -686,11 +697,12 @@ api.ClusterAutoscaling buildClusterAutoscaling() { final o = api.ClusterAutoscaling(); buildCounterClusterAutoscaling++; if (buildCounterClusterAutoscaling < 3) { - o.autoprovisioningLocations = buildUnnamed2210(); + o.autoprovisioningLocations = buildUnnamed2195(); o.autoprovisioningNodePoolDefaults = buildAutoprovisioningNodePoolDefaults(); + o.autoscalingProfile = 'foo'; o.enableNodeAutoprovisioning = true; - o.resourceLimits = buildUnnamed2211(); + o.resourceLimits = buildUnnamed2196(); } buildCounterClusterAutoscaling--; return o; @@ -699,20 +711,24 @@ api.ClusterAutoscaling buildClusterAutoscaling() { void checkClusterAutoscaling(api.ClusterAutoscaling o) { buildCounterClusterAutoscaling++; if (buildCounterClusterAutoscaling < 3) { - checkUnnamed2210(o.autoprovisioningLocations!); + checkUnnamed2195(o.autoprovisioningLocations!); checkAutoprovisioningNodePoolDefaults(o.autoprovisioningNodePoolDefaults!); + unittest.expect( + o.autoscalingProfile!, + unittest.equals('foo'), + ); unittest.expect(o.enableNodeAutoprovisioning!, unittest.isTrue); - checkUnnamed2211(o.resourceLimits!); + checkUnnamed2196(o.resourceLimits!); } buildCounterClusterAutoscaling--; } -core.List buildUnnamed2212() => [ +core.List buildUnnamed2197() => [ 'foo', 'foo', ]; -void checkUnnamed2212(core.List o) { +void checkUnnamed2197(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -740,11 +756,13 @@ api.ClusterUpdate buildClusterUpdate() { o.desiredImageType = 'foo'; o.desiredIntraNodeVisibilityConfig = buildIntraNodeVisibilityConfig(); o.desiredL4ilbSubsettingConfig = buildILBSubsettingConfig(); - o.desiredLocations = buildUnnamed2212(); + o.desiredLocations = buildUnnamed2197(); + o.desiredLoggingConfig = buildLoggingConfig(); o.desiredLoggingService = 'foo'; o.desiredMasterAuthorizedNetworksConfig = buildMasterAuthorizedNetworksConfig(); o.desiredMasterVersion = 'foo'; + o.desiredMonitoringConfig = buildMonitoringConfig(); o.desiredMonitoringService = 'foo'; o.desiredNodePoolAutoscaling = buildNodePoolAutoscaling(); o.desiredNodePoolId = 'foo'; @@ -782,7 +800,8 @@ void checkClusterUpdate(api.ClusterUpdate o) { ); checkIntraNodeVisibilityConfig(o.desiredIntraNodeVisibilityConfig!); checkILBSubsettingConfig(o.desiredL4ilbSubsettingConfig!); - checkUnnamed2212(o.desiredLocations!); + checkUnnamed2197(o.desiredLocations!); + checkLoggingConfig(o.desiredLoggingConfig!); unittest.expect( o.desiredLoggingService!, unittest.equals('foo'), @@ -793,6 +812,7 @@ void checkClusterUpdate(api.ClusterUpdate o) { o.desiredMasterVersion!, unittest.equals('foo'), ); + checkMonitoringConfig(o.desiredMonitoringConfig!); unittest.expect( o.desiredMonitoringService!, unittest.equals('foo'), @@ -1115,12 +1135,31 @@ void checkGcePersistentDiskCsiDriverConfig( buildCounterGcePersistentDiskCsiDriverConfig--; } -core.List buildUnnamed2213() => [ +core.int buildCounterGcpFilestoreCsiDriverConfig = 0; +api.GcpFilestoreCsiDriverConfig buildGcpFilestoreCsiDriverConfig() { + final o = api.GcpFilestoreCsiDriverConfig(); + buildCounterGcpFilestoreCsiDriverConfig++; + if (buildCounterGcpFilestoreCsiDriverConfig < 3) { + o.enabled = true; + } + buildCounterGcpFilestoreCsiDriverConfig--; + return o; +} + +void checkGcpFilestoreCsiDriverConfig(api.GcpFilestoreCsiDriverConfig o) { + buildCounterGcpFilestoreCsiDriverConfig++; + if (buildCounterGcpFilestoreCsiDriverConfig < 3) { + unittest.expect(o.enabled!, unittest.isTrue); + } + buildCounterGcpFilestoreCsiDriverConfig--; +} + +core.List buildUnnamed2198() => [ buildJwk(), buildJwk(), ]; -void checkUnnamed2213(core.List o) { +void checkUnnamed2198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwk(o[0]); checkJwk(o[1]); @@ -1132,7 +1171,7 @@ api.GetJSONWebKeysResponse buildGetJSONWebKeysResponse() { buildCounterGetJSONWebKeysResponse++; if (buildCounterGetJSONWebKeysResponse < 3) { o.cacheHeader = buildHttpCacheControlResponseHeader(); - o.keys = buildUnnamed2213(); + o.keys = buildUnnamed2198(); } buildCounterGetJSONWebKeysResponse--; return o; @@ -1142,17 +1181,17 @@ void checkGetJSONWebKeysResponse(api.GetJSONWebKeysResponse o) { buildCounterGetJSONWebKeysResponse++; if (buildCounterGetJSONWebKeysResponse < 3) { checkHttpCacheControlResponseHeader(o.cacheHeader!); - checkUnnamed2213(o.keys!); + checkUnnamed2198(o.keys!); } buildCounterGetJSONWebKeysResponse--; } -core.List buildUnnamed2214() => [ +core.List buildUnnamed2199() => [ 'foo', 'foo', ]; -void checkUnnamed2214(core.List o) { +void checkUnnamed2199(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1164,12 +1203,12 @@ void checkUnnamed2214(core.List o) { ); } -core.List buildUnnamed2215() => [ +core.List buildUnnamed2200() => [ 'foo', 'foo', ]; -void checkUnnamed2215(core.List o) { +void checkUnnamed2200(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1181,12 +1220,12 @@ void checkUnnamed2215(core.List o) { ); } -core.List buildUnnamed2216() => [ +core.List buildUnnamed2201() => [ 'foo', 'foo', ]; -void checkUnnamed2216(core.List o) { +void checkUnnamed2201(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1198,12 +1237,12 @@ void checkUnnamed2216(core.List o) { ); } -core.List buildUnnamed2217() => [ +core.List buildUnnamed2202() => [ 'foo', 'foo', ]; -void checkUnnamed2217(core.List o) { +void checkUnnamed2202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1215,12 +1254,12 @@ void checkUnnamed2217(core.List o) { ); } -core.List buildUnnamed2218() => [ +core.List buildUnnamed2203() => [ 'foo', 'foo', ]; -void checkUnnamed2218(core.List o) { +void checkUnnamed2203(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1238,13 +1277,13 @@ api.GetOpenIDConfigResponse buildGetOpenIDConfigResponse() { buildCounterGetOpenIDConfigResponse++; if (buildCounterGetOpenIDConfigResponse < 3) { o.cacheHeader = buildHttpCacheControlResponseHeader(); - o.claimsSupported = buildUnnamed2214(); - o.grantTypes = buildUnnamed2215(); - o.idTokenSigningAlgValuesSupported = buildUnnamed2216(); + o.claimsSupported = buildUnnamed2199(); + o.grantTypes = buildUnnamed2200(); + o.idTokenSigningAlgValuesSupported = buildUnnamed2201(); o.issuer = 'foo'; o.jwksUri = 'foo'; - o.responseTypesSupported = buildUnnamed2217(); - o.subjectTypesSupported = buildUnnamed2218(); + o.responseTypesSupported = buildUnnamed2202(); + o.subjectTypesSupported = buildUnnamed2203(); } buildCounterGetOpenIDConfigResponse--; return o; @@ -1254,9 +1293,9 @@ void checkGetOpenIDConfigResponse(api.GetOpenIDConfigResponse o) { buildCounterGetOpenIDConfigResponse++; if (buildCounterGetOpenIDConfigResponse < 3) { checkHttpCacheControlResponseHeader(o.cacheHeader!); - checkUnnamed2214(o.claimsSupported!); - checkUnnamed2215(o.grantTypes!); - checkUnnamed2216(o.idTokenSigningAlgValuesSupported!); + checkUnnamed2199(o.claimsSupported!); + checkUnnamed2200(o.grantTypes!); + checkUnnamed2201(o.idTokenSigningAlgValuesSupported!); unittest.expect( o.issuer!, unittest.equals('foo'), @@ -1265,8 +1304,8 @@ void checkGetOpenIDConfigResponse(api.GetOpenIDConfigResponse o) { o.jwksUri!, unittest.equals('foo'), ); - checkUnnamed2217(o.responseTypesSupported!); - checkUnnamed2218(o.subjectTypesSupported!); + checkUnnamed2202(o.responseTypesSupported!); + checkUnnamed2203(o.subjectTypesSupported!); } buildCounterGetOpenIDConfigResponse--; } @@ -1552,12 +1591,12 @@ void checkLegacyAbac(api.LegacyAbac o) { buildCounterLegacyAbac--; } -core.Map buildUnnamed2219() => { +core.Map buildUnnamed2204() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2219(core.Map o) { +void checkUnnamed2204(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1574,7 +1613,7 @@ api.LinuxNodeConfig buildLinuxNodeConfig() { final o = api.LinuxNodeConfig(); buildCounterLinuxNodeConfig++; if (buildCounterLinuxNodeConfig < 3) { - o.sysctls = buildUnnamed2219(); + o.sysctls = buildUnnamed2204(); } buildCounterLinuxNodeConfig--; return o; @@ -1583,28 +1622,28 @@ api.LinuxNodeConfig buildLinuxNodeConfig() { void checkLinuxNodeConfig(api.LinuxNodeConfig o) { buildCounterLinuxNodeConfig++; if (buildCounterLinuxNodeConfig < 3) { - checkUnnamed2219(o.sysctls!); + checkUnnamed2204(o.sysctls!); } buildCounterLinuxNodeConfig--; } -core.List buildUnnamed2220() => [ +core.List buildUnnamed2205() => [ buildCluster(), buildCluster(), ]; -void checkUnnamed2220(core.List o) { +void checkUnnamed2205(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCluster(o[0]); checkCluster(o[1]); } -core.List buildUnnamed2221() => [ +core.List buildUnnamed2206() => [ 'foo', 'foo', ]; -void checkUnnamed2221(core.List o) { +void checkUnnamed2206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1621,8 +1660,8 @@ api.ListClustersResponse buildListClustersResponse() { final o = api.ListClustersResponse(); buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - o.clusters = buildUnnamed2220(); - o.missingZones = buildUnnamed2221(); + o.clusters = buildUnnamed2205(); + o.missingZones = buildUnnamed2206(); } buildCounterListClustersResponse--; return o; @@ -1631,18 +1670,18 @@ api.ListClustersResponse buildListClustersResponse() { void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - checkUnnamed2220(o.clusters!); - checkUnnamed2221(o.missingZones!); + checkUnnamed2205(o.clusters!); + checkUnnamed2206(o.missingZones!); } buildCounterListClustersResponse--; } -core.List buildUnnamed2222() => [ +core.List buildUnnamed2207() => [ buildNodePool(), buildNodePool(), ]; -void checkUnnamed2222(core.List o) { +void checkUnnamed2207(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodePool(o[0]); checkNodePool(o[1]); @@ -1653,7 +1692,7 @@ api.ListNodePoolsResponse buildListNodePoolsResponse() { final o = api.ListNodePoolsResponse(); buildCounterListNodePoolsResponse++; if (buildCounterListNodePoolsResponse < 3) { - o.nodePools = buildUnnamed2222(); + o.nodePools = buildUnnamed2207(); } buildCounterListNodePoolsResponse--; return o; @@ -1662,17 +1701,17 @@ api.ListNodePoolsResponse buildListNodePoolsResponse() { void checkListNodePoolsResponse(api.ListNodePoolsResponse o) { buildCounterListNodePoolsResponse++; if (buildCounterListNodePoolsResponse < 3) { - checkUnnamed2222(o.nodePools!); + checkUnnamed2207(o.nodePools!); } buildCounterListNodePoolsResponse--; } -core.List buildUnnamed2223() => [ +core.List buildUnnamed2208() => [ 'foo', 'foo', ]; -void checkUnnamed2223(core.List o) { +void checkUnnamed2208(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1684,12 +1723,12 @@ void checkUnnamed2223(core.List o) { ); } -core.List buildUnnamed2224() => [ +core.List buildUnnamed2209() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2224(core.List o) { +void checkUnnamed2209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1700,8 +1739,8 @@ api.ListOperationsResponse buildListOperationsResponse() { final o = api.ListOperationsResponse(); buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { - o.missingZones = buildUnnamed2223(); - o.operations = buildUnnamed2224(); + o.missingZones = buildUnnamed2208(); + o.operations = buildUnnamed2209(); } buildCounterListOperationsResponse--; return o; @@ -1710,18 +1749,18 @@ api.ListOperationsResponse buildListOperationsResponse() { void checkListOperationsResponse(api.ListOperationsResponse o) { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { - checkUnnamed2223(o.missingZones!); - checkUnnamed2224(o.operations!); + checkUnnamed2208(o.missingZones!); + checkUnnamed2209(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed2225() => [ +core.List buildUnnamed2210() => [ buildUsableSubnetwork(), buildUsableSubnetwork(), ]; -void checkUnnamed2225(core.List o) { +void checkUnnamed2210(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsableSubnetwork(o[0]); checkUsableSubnetwork(o[1]); @@ -1733,7 +1772,7 @@ api.ListUsableSubnetworksResponse buildListUsableSubnetworksResponse() { buildCounterListUsableSubnetworksResponse++; if (buildCounterListUsableSubnetworksResponse < 3) { o.nextPageToken = 'foo'; - o.subnetworks = buildUnnamed2225(); + o.subnetworks = buildUnnamed2210(); } buildCounterListUsableSubnetworksResponse--; return o; @@ -1746,11 +1785,66 @@ void checkListUsableSubnetworksResponse(api.ListUsableSubnetworksResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2225(o.subnetworks!); + checkUnnamed2210(o.subnetworks!); } buildCounterListUsableSubnetworksResponse--; } +core.List buildUnnamed2211() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2211(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterLoggingComponentConfig = 0; +api.LoggingComponentConfig buildLoggingComponentConfig() { + final o = api.LoggingComponentConfig(); + buildCounterLoggingComponentConfig++; + if (buildCounterLoggingComponentConfig < 3) { + o.enableComponents = buildUnnamed2211(); + } + buildCounterLoggingComponentConfig--; + return o; +} + +void checkLoggingComponentConfig(api.LoggingComponentConfig o) { + buildCounterLoggingComponentConfig++; + if (buildCounterLoggingComponentConfig < 3) { + checkUnnamed2211(o.enableComponents!); + } + buildCounterLoggingComponentConfig--; +} + +core.int buildCounterLoggingConfig = 0; +api.LoggingConfig buildLoggingConfig() { + final o = api.LoggingConfig(); + buildCounterLoggingConfig++; + if (buildCounterLoggingConfig < 3) { + o.componentConfig = buildLoggingComponentConfig(); + } + buildCounterLoggingConfig--; + return o; +} + +void checkLoggingConfig(api.LoggingConfig o) { + buildCounterLoggingConfig++; + if (buildCounterLoggingConfig < 3) { + checkLoggingComponentConfig(o.componentConfig!); + } + buildCounterLoggingConfig--; +} + core.int buildCounterMaintenancePolicy = 0; api.MaintenancePolicy buildMaintenancePolicy() { final o = api.MaintenancePolicy(); @@ -1775,12 +1869,12 @@ void checkMaintenancePolicy(api.MaintenancePolicy o) { buildCounterMaintenancePolicy--; } -core.Map buildUnnamed2226() => { +core.Map buildUnnamed2212() => { 'x': buildTimeWindow(), 'y': buildTimeWindow(), }; -void checkUnnamed2226(core.Map o) { +void checkUnnamed2212(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTimeWindow(o['x']!); checkTimeWindow(o['y']!); @@ -1792,7 +1886,7 @@ api.MaintenanceWindow buildMaintenanceWindow() { buildCounterMaintenanceWindow++; if (buildCounterMaintenanceWindow < 3) { o.dailyMaintenanceWindow = buildDailyMaintenanceWindow(); - o.maintenanceExclusions = buildUnnamed2226(); + o.maintenanceExclusions = buildUnnamed2212(); o.recurringWindow = buildRecurringTimeWindow(); } buildCounterMaintenanceWindow--; @@ -1803,7 +1897,7 @@ void checkMaintenanceWindow(api.MaintenanceWindow o) { buildCounterMaintenanceWindow++; if (buildCounterMaintenanceWindow < 3) { checkDailyMaintenanceWindow(o.dailyMaintenanceWindow!); - checkUnnamed2226(o.maintenanceExclusions!); + checkUnnamed2212(o.maintenanceExclusions!); checkRecurringTimeWindow(o.recurringWindow!); } buildCounterMaintenanceWindow--; @@ -1853,12 +1947,12 @@ void checkMasterAuth(api.MasterAuth o) { buildCounterMasterAuth--; } -core.List buildUnnamed2227() => [ +core.List buildUnnamed2213() => [ buildCidrBlock(), buildCidrBlock(), ]; -void checkUnnamed2227(core.List o) { +void checkUnnamed2213(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCidrBlock(o[0]); checkCidrBlock(o[1]); @@ -1869,7 +1963,7 @@ api.MasterAuthorizedNetworksConfig buildMasterAuthorizedNetworksConfig() { final o = api.MasterAuthorizedNetworksConfig(); buildCounterMasterAuthorizedNetworksConfig++; if (buildCounterMasterAuthorizedNetworksConfig < 3) { - o.cidrBlocks = buildUnnamed2227(); + o.cidrBlocks = buildUnnamed2213(); o.enabled = true; } buildCounterMasterAuthorizedNetworksConfig--; @@ -1879,7 +1973,7 @@ api.MasterAuthorizedNetworksConfig buildMasterAuthorizedNetworksConfig() { void checkMasterAuthorizedNetworksConfig(api.MasterAuthorizedNetworksConfig o) { buildCounterMasterAuthorizedNetworksConfig++; if (buildCounterMasterAuthorizedNetworksConfig < 3) { - checkUnnamed2227(o.cidrBlocks!); + checkUnnamed2213(o.cidrBlocks!); unittest.expect(o.enabled!, unittest.isTrue); } buildCounterMasterAuthorizedNetworksConfig--; @@ -1944,6 +2038,61 @@ void checkMetric(api.Metric o) { buildCounterMetric--; } +core.List buildUnnamed2214() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2214(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterMonitoringComponentConfig = 0; +api.MonitoringComponentConfig buildMonitoringComponentConfig() { + final o = api.MonitoringComponentConfig(); + buildCounterMonitoringComponentConfig++; + if (buildCounterMonitoringComponentConfig < 3) { + o.enableComponents = buildUnnamed2214(); + } + buildCounterMonitoringComponentConfig--; + return o; +} + +void checkMonitoringComponentConfig(api.MonitoringComponentConfig o) { + buildCounterMonitoringComponentConfig++; + if (buildCounterMonitoringComponentConfig < 3) { + checkUnnamed2214(o.enableComponents!); + } + buildCounterMonitoringComponentConfig--; +} + +core.int buildCounterMonitoringConfig = 0; +api.MonitoringConfig buildMonitoringConfig() { + final o = api.MonitoringConfig(); + buildCounterMonitoringConfig++; + if (buildCounterMonitoringConfig < 3) { + o.componentConfig = buildMonitoringComponentConfig(); + } + buildCounterMonitoringConfig--; + return o; +} + +void checkMonitoringConfig(api.MonitoringConfig o) { + buildCounterMonitoringConfig++; + if (buildCounterMonitoringConfig < 3) { + checkMonitoringComponentConfig(o.componentConfig!); + } + buildCounterMonitoringConfig--; +} + core.int buildCounterNetworkConfig = 0; api.NetworkConfig buildNetworkConfig() { final o = api.NetworkConfig(); @@ -2030,23 +2179,23 @@ void checkNetworkPolicyConfig(api.NetworkPolicyConfig o) { buildCounterNetworkPolicyConfig--; } -core.List buildUnnamed2228() => [ +core.List buildUnnamed2215() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed2228(core.List o) { +void checkUnnamed2215(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.Map buildUnnamed2229() => { +core.Map buildUnnamed2216() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2229(core.Map o) { +void checkUnnamed2216(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2058,12 +2207,12 @@ void checkUnnamed2229(core.Map o) { ); } -core.Map buildUnnamed2230() => { +core.Map buildUnnamed2217() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2230(core.Map o) { +void checkUnnamed2217(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2075,12 +2224,12 @@ void checkUnnamed2230(core.Map o) { ); } -core.List buildUnnamed2231() => [ +core.List buildUnnamed2218() => [ 'foo', 'foo', ]; -void checkUnnamed2231(core.List o) { +void checkUnnamed2218(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2092,12 +2241,12 @@ void checkUnnamed2231(core.List o) { ); } -core.List buildUnnamed2232() => [ +core.List buildUnnamed2219() => [ 'foo', 'foo', ]; -void checkUnnamed2232(core.List o) { +void checkUnnamed2219(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2109,12 +2258,12 @@ void checkUnnamed2232(core.List o) { ); } -core.List buildUnnamed2233() => [ +core.List buildUnnamed2220() => [ buildNodeTaint(), buildNodeTaint(), ]; -void checkUnnamed2233(core.List o) { +void checkUnnamed2220(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeTaint(o[0]); checkNodeTaint(o[1]); @@ -2125,27 +2274,28 @@ api.NodeConfig buildNodeConfig() { final o = api.NodeConfig(); buildCounterNodeConfig++; if (buildCounterNodeConfig < 3) { - o.accelerators = buildUnnamed2228(); + o.accelerators = buildUnnamed2215(); o.bootDiskKmsKey = 'foo'; o.diskSizeGb = 42; o.diskType = 'foo'; + o.gvnic = buildVirtualNIC(); o.imageType = 'foo'; o.kubeletConfig = buildNodeKubeletConfig(); - o.labels = buildUnnamed2229(); + o.labels = buildUnnamed2216(); o.linuxNodeConfig = buildLinuxNodeConfig(); o.localSsdCount = 42; o.machineType = 'foo'; - o.metadata = buildUnnamed2230(); + o.metadata = buildUnnamed2217(); o.minCpuPlatform = 'foo'; o.nodeGroup = 'foo'; - o.oauthScopes = buildUnnamed2231(); + o.oauthScopes = buildUnnamed2218(); o.preemptible = true; o.reservationAffinity = buildReservationAffinity(); o.sandboxConfig = buildSandboxConfig(); o.serviceAccount = 'foo'; o.shieldedInstanceConfig = buildShieldedInstanceConfig(); - o.tags = buildUnnamed2232(); - o.taints = buildUnnamed2233(); + o.tags = buildUnnamed2219(); + o.taints = buildUnnamed2220(); o.workloadMetadataConfig = buildWorkloadMetadataConfig(); } buildCounterNodeConfig--; @@ -2155,7 +2305,7 @@ api.NodeConfig buildNodeConfig() { void checkNodeConfig(api.NodeConfig o) { buildCounterNodeConfig++; if (buildCounterNodeConfig < 3) { - checkUnnamed2228(o.accelerators!); + checkUnnamed2215(o.accelerators!); unittest.expect( o.bootDiskKmsKey!, unittest.equals('foo'), @@ -2168,12 +2318,13 @@ void checkNodeConfig(api.NodeConfig o) { o.diskType!, unittest.equals('foo'), ); + checkVirtualNIC(o.gvnic!); unittest.expect( o.imageType!, unittest.equals('foo'), ); checkNodeKubeletConfig(o.kubeletConfig!); - checkUnnamed2229(o.labels!); + checkUnnamed2216(o.labels!); checkLinuxNodeConfig(o.linuxNodeConfig!); unittest.expect( o.localSsdCount!, @@ -2183,7 +2334,7 @@ void checkNodeConfig(api.NodeConfig o) { o.machineType!, unittest.equals('foo'), ); - checkUnnamed2230(o.metadata!); + checkUnnamed2217(o.metadata!); unittest.expect( o.minCpuPlatform!, unittest.equals('foo'), @@ -2192,7 +2343,7 @@ void checkNodeConfig(api.NodeConfig o) { o.nodeGroup!, unittest.equals('foo'), ); - checkUnnamed2231(o.oauthScopes!); + checkUnnamed2218(o.oauthScopes!); unittest.expect(o.preemptible!, unittest.isTrue); checkReservationAffinity(o.reservationAffinity!); checkSandboxConfig(o.sandboxConfig!); @@ -2201,8 +2352,8 @@ void checkNodeConfig(api.NodeConfig o) { unittest.equals('foo'), ); checkShieldedInstanceConfig(o.shieldedInstanceConfig!); - checkUnnamed2232(o.tags!); - checkUnnamed2233(o.taints!); + checkUnnamed2219(o.tags!); + checkUnnamed2220(o.taints!); checkWorkloadMetadataConfig(o.workloadMetadataConfig!); } buildCounterNodeConfig--; @@ -2260,23 +2411,52 @@ void checkNodeManagement(api.NodeManagement o) { buildCounterNodeManagement--; } -core.List buildUnnamed2234() => [ +core.int buildCounterNodeNetworkConfig = 0; +api.NodeNetworkConfig buildNodeNetworkConfig() { + final o = api.NodeNetworkConfig(); + buildCounterNodeNetworkConfig++; + if (buildCounterNodeNetworkConfig < 3) { + o.createPodRange = true; + o.podIpv4CidrBlock = 'foo'; + o.podRange = 'foo'; + } + buildCounterNodeNetworkConfig--; + return o; +} + +void checkNodeNetworkConfig(api.NodeNetworkConfig o) { + buildCounterNodeNetworkConfig++; + if (buildCounterNodeNetworkConfig < 3) { + unittest.expect(o.createPodRange!, unittest.isTrue); + unittest.expect( + o.podIpv4CidrBlock!, + unittest.equals('foo'), + ); + unittest.expect( + o.podRange!, + unittest.equals('foo'), + ); + } + buildCounterNodeNetworkConfig--; +} + +core.List buildUnnamed2221() => [ buildStatusCondition(), buildStatusCondition(), ]; -void checkUnnamed2234(core.List o) { +void checkUnnamed2221(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatusCondition(o[0]); checkStatusCondition(o[1]); } -core.List buildUnnamed2235() => [ +core.List buildUnnamed2222() => [ 'foo', 'foo', ]; -void checkUnnamed2235(core.List o) { +void checkUnnamed2222(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2288,12 +2468,12 @@ void checkUnnamed2235(core.List o) { ); } -core.List buildUnnamed2236() => [ +core.List buildUnnamed2223() => [ 'foo', 'foo', ]; -void checkUnnamed2236(core.List o) { +void checkUnnamed2223(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2311,14 +2491,15 @@ api.NodePool buildNodePool() { buildCounterNodePool++; if (buildCounterNodePool < 3) { o.autoscaling = buildNodePoolAutoscaling(); - o.conditions = buildUnnamed2234(); + o.conditions = buildUnnamed2221(); o.config = buildNodeConfig(); o.initialNodeCount = 42; - o.instanceGroupUrls = buildUnnamed2235(); - o.locations = buildUnnamed2236(); + o.instanceGroupUrls = buildUnnamed2222(); + o.locations = buildUnnamed2223(); o.management = buildNodeManagement(); o.maxPodsConstraint = buildMaxPodsConstraint(); o.name = 'foo'; + o.networkConfig = buildNodeNetworkConfig(); o.podIpv4CidrSize = 42; o.selfLink = 'foo'; o.status = 'foo'; @@ -2334,20 +2515,21 @@ void checkNodePool(api.NodePool o) { buildCounterNodePool++; if (buildCounterNodePool < 3) { checkNodePoolAutoscaling(o.autoscaling!); - checkUnnamed2234(o.conditions!); + checkUnnamed2221(o.conditions!); checkNodeConfig(o.config!); unittest.expect( o.initialNodeCount!, unittest.equals(42), ); - checkUnnamed2235(o.instanceGroupUrls!); - checkUnnamed2236(o.locations!); + checkUnnamed2222(o.instanceGroupUrls!); + checkUnnamed2223(o.locations!); checkNodeManagement(o.management!); checkMaxPodsConstraint(o.maxPodsConstraint!); unittest.expect( o.name!, unittest.equals('foo'), ); + checkNodeNetworkConfig(o.networkConfig!); unittest.expect( o.podIpv4CidrSize!, unittest.equals(42), @@ -2455,23 +2637,23 @@ void checkNotificationConfig(api.NotificationConfig o) { buildCounterNotificationConfig--; } -core.List buildUnnamed2237() => [ +core.List buildUnnamed2224() => [ buildStatusCondition(), buildStatusCondition(), ]; -void checkUnnamed2237(core.List o) { +void checkUnnamed2224(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatusCondition(o[0]); checkStatusCondition(o[1]); } -core.List buildUnnamed2238() => [ +core.List buildUnnamed2225() => [ buildStatusCondition(), buildStatusCondition(), ]; -void checkUnnamed2238(core.List o) { +void checkUnnamed2225(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatusCondition(o[0]); checkStatusCondition(o[1]); @@ -2482,13 +2664,13 @@ api.Operation buildOperation() { final o = api.Operation(); buildCounterOperation++; if (buildCounterOperation < 3) { - o.clusterConditions = buildUnnamed2237(); + o.clusterConditions = buildUnnamed2224(); o.detail = 'foo'; o.endTime = 'foo'; o.error = buildStatus(); o.location = 'foo'; o.name = 'foo'; - o.nodepoolConditions = buildUnnamed2238(); + o.nodepoolConditions = buildUnnamed2225(); o.operationType = 'foo'; o.progress = buildOperationProgress(); o.selfLink = 'foo'; @@ -2505,7 +2687,7 @@ api.Operation buildOperation() { void checkOperation(api.Operation o) { buildCounterOperation++; if (buildCounterOperation < 3) { - checkUnnamed2237(o.clusterConditions!); + checkUnnamed2224(o.clusterConditions!); unittest.expect( o.detail!, unittest.equals('foo'), @@ -2523,7 +2705,7 @@ void checkOperation(api.Operation o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2238(o.nodepoolConditions!); + checkUnnamed2225(o.nodepoolConditions!); unittest.expect( o.operationType!, unittest.equals('foo'), @@ -2557,23 +2739,23 @@ void checkOperation(api.Operation o) { buildCounterOperation--; } -core.List buildUnnamed2239() => [ +core.List buildUnnamed2226() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed2239(core.List o) { +void checkUnnamed2226(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed2240() => [ +core.List buildUnnamed2227() => [ buildOperationProgress(), buildOperationProgress(), ]; -void checkUnnamed2240(core.List o) { +void checkUnnamed2227(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationProgress(o[0]); checkOperationProgress(o[1]); @@ -2584,9 +2766,9 @@ api.OperationProgress buildOperationProgress() { final o = api.OperationProgress(); buildCounterOperationProgress++; if (buildCounterOperationProgress < 3) { - o.metrics = buildUnnamed2239(); + o.metrics = buildUnnamed2226(); o.name = 'foo'; - o.stages = buildUnnamed2240(); + o.stages = buildUnnamed2227(); o.status = 'foo'; } buildCounterOperationProgress--; @@ -2596,12 +2778,12 @@ api.OperationProgress buildOperationProgress() { void checkOperationProgress(api.OperationProgress o) { buildCounterOperationProgress++; if (buildCounterOperationProgress < 3) { - checkUnnamed2239(o.metrics!); + checkUnnamed2226(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2240(o.stages!); + checkUnnamed2227(o.stages!); unittest.expect( o.status!, unittest.equals('foo'), @@ -2744,12 +2926,12 @@ void checkReleaseChannel(api.ReleaseChannel o) { buildCounterReleaseChannel--; } -core.List buildUnnamed2241() => [ +core.List buildUnnamed2228() => [ 'foo', 'foo', ]; -void checkUnnamed2241(core.List o) { +void checkUnnamed2228(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2768,7 +2950,7 @@ api.ReleaseChannelConfig buildReleaseChannelConfig() { if (buildCounterReleaseChannelConfig < 3) { o.channel = 'foo'; o.defaultVersion = 'foo'; - o.validVersions = buildUnnamed2241(); + o.validVersions = buildUnnamed2228(); } buildCounterReleaseChannelConfig--; return o; @@ -2785,17 +2967,17 @@ void checkReleaseChannelConfig(api.ReleaseChannelConfig o) { o.defaultVersion!, unittest.equals('foo'), ); - checkUnnamed2241(o.validVersions!); + checkUnnamed2228(o.validVersions!); } buildCounterReleaseChannelConfig--; } -core.List buildUnnamed2242() => [ +core.List buildUnnamed2229() => [ 'foo', 'foo', ]; -void checkUnnamed2242(core.List o) { +void checkUnnamed2229(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2814,7 +2996,7 @@ api.ReservationAffinity buildReservationAffinity() { if (buildCounterReservationAffinity < 3) { o.consumeReservationType = 'foo'; o.key = 'foo'; - o.values = buildUnnamed2242(); + o.values = buildUnnamed2229(); } buildCounterReservationAffinity--; return o; @@ -2831,7 +3013,7 @@ void checkReservationAffinity(api.ReservationAffinity o) { o.key!, unittest.equals('foo'), ); - checkUnnamed2242(o.values!); + checkUnnamed2229(o.values!); } buildCounterReservationAffinity--; } @@ -2955,23 +3137,23 @@ void checkSandboxConfig(api.SandboxConfig o) { buildCounterSandboxConfig--; } -core.List buildUnnamed2243() => [ +core.List buildUnnamed2230() => [ buildReleaseChannelConfig(), buildReleaseChannelConfig(), ]; -void checkUnnamed2243(core.List o) { +void checkUnnamed2230(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReleaseChannelConfig(o[0]); checkReleaseChannelConfig(o[1]); } -core.List buildUnnamed2244() => [ +core.List buildUnnamed2231() => [ 'foo', 'foo', ]; -void checkUnnamed2244(core.List o) { +void checkUnnamed2231(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2983,12 +3165,12 @@ void checkUnnamed2244(core.List o) { ); } -core.List buildUnnamed2245() => [ +core.List buildUnnamed2232() => [ 'foo', 'foo', ]; -void checkUnnamed2245(core.List o) { +void checkUnnamed2232(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3000,12 +3182,12 @@ void checkUnnamed2245(core.List o) { ); } -core.List buildUnnamed2246() => [ +core.List buildUnnamed2233() => [ 'foo', 'foo', ]; -void checkUnnamed2246(core.List o) { +void checkUnnamed2233(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3022,12 +3204,12 @@ api.ServerConfig buildServerConfig() { final o = api.ServerConfig(); buildCounterServerConfig++; if (buildCounterServerConfig < 3) { - o.channels = buildUnnamed2243(); + o.channels = buildUnnamed2230(); o.defaultClusterVersion = 'foo'; o.defaultImageType = 'foo'; - o.validImageTypes = buildUnnamed2244(); - o.validMasterVersions = buildUnnamed2245(); - o.validNodeVersions = buildUnnamed2246(); + o.validImageTypes = buildUnnamed2231(); + o.validMasterVersions = buildUnnamed2232(); + o.validNodeVersions = buildUnnamed2233(); } buildCounterServerConfig--; return o; @@ -3036,7 +3218,7 @@ api.ServerConfig buildServerConfig() { void checkServerConfig(api.ServerConfig o) { buildCounterServerConfig++; if (buildCounterServerConfig < 3) { - checkUnnamed2243(o.channels!); + checkUnnamed2230(o.channels!); unittest.expect( o.defaultClusterVersion!, unittest.equals('foo'), @@ -3045,9 +3227,9 @@ void checkServerConfig(api.ServerConfig o) { o.defaultImageType!, unittest.equals('foo'), ); - checkUnnamed2244(o.validImageTypes!); - checkUnnamed2245(o.validMasterVersions!); - checkUnnamed2246(o.validNodeVersions!); + checkUnnamed2231(o.validImageTypes!); + checkUnnamed2232(o.validMasterVersions!); + checkUnnamed2233(o.validNodeVersions!); } buildCounterServerConfig--; } @@ -3091,12 +3273,12 @@ void checkSetAddonsConfigRequest(api.SetAddonsConfigRequest o) { buildCounterSetAddonsConfigRequest--; } -core.Map buildUnnamed2247() => { +core.Map buildUnnamed2234() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2247(core.Map o) { +void checkUnnamed2234(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3117,7 +3299,7 @@ api.SetLabelsRequest buildSetLabelsRequest() { o.labelFingerprint = 'foo'; o.name = 'foo'; o.projectId = 'foo'; - o.resourceLabels = buildUnnamed2247(); + o.resourceLabels = buildUnnamed2234(); o.zone = 'foo'; } buildCounterSetLabelsRequest--; @@ -3143,7 +3325,7 @@ void checkSetLabelsRequest(api.SetLabelsRequest o) { o.projectId!, unittest.equals('foo'), ); - checkUnnamed2247(o.resourceLabels!); + checkUnnamed2234(o.resourceLabels!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -3191,12 +3373,12 @@ void checkSetLegacyAbacRequest(api.SetLegacyAbacRequest o) { buildCounterSetLegacyAbacRequest--; } -core.List buildUnnamed2248() => [ +core.List buildUnnamed2235() => [ 'foo', 'foo', ]; -void checkUnnamed2248(core.List o) { +void checkUnnamed2235(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3214,7 +3396,7 @@ api.SetLocationsRequest buildSetLocationsRequest() { buildCounterSetLocationsRequest++; if (buildCounterSetLocationsRequest < 3) { o.clusterId = 'foo'; - o.locations = buildUnnamed2248(); + o.locations = buildUnnamed2235(); o.name = 'foo'; o.projectId = 'foo'; o.zone = 'foo'; @@ -3230,7 +3412,7 @@ void checkSetLocationsRequest(api.SetLocationsRequest o) { o.clusterId!, unittest.equals('foo'), ); - checkUnnamed2248(o.locations!); + checkUnnamed2235(o.locations!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3667,7 +3849,7 @@ void checkStartIPRotationRequest(api.StartIPRotationRequest o) { buildCounterStartIPRotationRequest--; } -core.Map buildUnnamed2249() => { +core.Map buildUnnamed2236() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3680,7 +3862,7 @@ core.Map buildUnnamed2249() => { }, }; -void checkUnnamed2249(core.Map o) { +void checkUnnamed2236(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -3712,15 +3894,15 @@ void checkUnnamed2249(core.Map o) { ); } -core.List> buildUnnamed2250() => [ - buildUnnamed2249(), - buildUnnamed2249(), +core.List> buildUnnamed2237() => [ + buildUnnamed2236(), + buildUnnamed2236(), ]; -void checkUnnamed2250(core.List> o) { +void checkUnnamed2237(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2249(o[0]); - checkUnnamed2249(o[1]); + checkUnnamed2236(o[0]); + checkUnnamed2236(o[1]); } core.int buildCounterStatus = 0; @@ -3729,7 +3911,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2250(); + o.details = buildUnnamed2237(); o.message = 'foo'; } buildCounterStatus--; @@ -3743,7 +3925,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2250(o.details!); + checkUnnamed2237(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3892,12 +4074,12 @@ void checkUpdateMasterRequest(api.UpdateMasterRequest o) { buildCounterUpdateMasterRequest--; } -core.List buildUnnamed2251() => [ +core.List buildUnnamed2238() => [ 'foo', 'foo', ]; -void checkUnnamed2251(core.List o) { +void checkUnnamed2238(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3915,10 +4097,11 @@ api.UpdateNodePoolRequest buildUpdateNodePoolRequest() { buildCounterUpdateNodePoolRequest++; if (buildCounterUpdateNodePoolRequest < 3) { o.clusterId = 'foo'; + o.gvnic = buildVirtualNIC(); o.imageType = 'foo'; o.kubeletConfig = buildNodeKubeletConfig(); o.linuxNodeConfig = buildLinuxNodeConfig(); - o.locations = buildUnnamed2251(); + o.locations = buildUnnamed2238(); o.name = 'foo'; o.nodePoolId = 'foo'; o.nodeVersion = 'foo'; @@ -3938,13 +4121,14 @@ void checkUpdateNodePoolRequest(api.UpdateNodePoolRequest o) { o.clusterId!, unittest.equals('foo'), ); + checkVirtualNIC(o.gvnic!); unittest.expect( o.imageType!, unittest.equals('foo'), ); checkNodeKubeletConfig(o.kubeletConfig!); checkLinuxNodeConfig(o.linuxNodeConfig!); - checkUnnamed2251(o.locations!); + checkUnnamed2238(o.locations!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4079,12 +4263,12 @@ void checkUpgradeSettings(api.UpgradeSettings o) { buildCounterUpgradeSettings--; } -core.List buildUnnamed2252() => [ +core.List buildUnnamed2239() => [ buildUsableSubnetworkSecondaryRange(), buildUsableSubnetworkSecondaryRange(), ]; -void checkUnnamed2252(core.List o) { +void checkUnnamed2239(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsableSubnetworkSecondaryRange(o[0]); checkUsableSubnetworkSecondaryRange(o[1]); @@ -4097,7 +4281,7 @@ api.UsableSubnetwork buildUsableSubnetwork() { if (buildCounterUsableSubnetwork < 3) { o.ipCidrRange = 'foo'; o.network = 'foo'; - o.secondaryIpRanges = buildUnnamed2252(); + o.secondaryIpRanges = buildUnnamed2239(); o.statusMessage = 'foo'; o.subnetwork = 'foo'; } @@ -4116,7 +4300,7 @@ void checkUsableSubnetwork(api.UsableSubnetwork o) { o.network!, unittest.equals('foo'), ); - checkUnnamed2252(o.secondaryIpRanges!); + checkUnnamed2239(o.secondaryIpRanges!); unittest.expect( o.statusMessage!, unittest.equals('foo'), @@ -4180,6 +4364,25 @@ void checkVerticalPodAutoscaling(api.VerticalPodAutoscaling o) { buildCounterVerticalPodAutoscaling--; } +core.int buildCounterVirtualNIC = 0; +api.VirtualNIC buildVirtualNIC() { + final o = api.VirtualNIC(); + buildCounterVirtualNIC++; + if (buildCounterVirtualNIC < 3) { + o.enabled = true; + } + buildCounterVirtualNIC--; + return o; +} + +void checkVirtualNIC(api.VirtualNIC o) { + buildCounterVirtualNIC++; + if (buildCounterVirtualNIC < 3) { + unittest.expect(o.enabled!, unittest.isTrue); + } + buildCounterVirtualNIC--; +} + core.int buildCounterWorkloadIdentityConfig = 0; api.WorkloadIdentityConfig buildWorkloadIdentityConfig() { final o = api.WorkloadIdentityConfig(); @@ -4495,6 +4698,16 @@ void main() { }); }); + unittest.group('obj-schema-GcpFilestoreCsiDriverConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGcpFilestoreCsiDriverConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GcpFilestoreCsiDriverConfig.fromJson( + oJson as core.Map); + checkGcpFilestoreCsiDriverConfig(od); + }); + }); + unittest.group('obj-schema-GetJSONWebKeysResponse', () { unittest.test('to-json--from-json', () async { final o = buildGetJSONWebKeysResponse(); @@ -4654,6 +4867,26 @@ void main() { }); }); + unittest.group('obj-schema-LoggingComponentConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildLoggingComponentConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LoggingComponentConfig.fromJson( + oJson as core.Map); + checkLoggingComponentConfig(od); + }); + }); + + unittest.group('obj-schema-LoggingConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildLoggingConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LoggingConfig.fromJson( + oJson as core.Map); + checkLoggingConfig(od); + }); + }); + unittest.group('obj-schema-MaintenancePolicy', () { unittest.test('to-json--from-json', () async { final o = buildMaintenancePolicy(); @@ -4714,6 +4947,26 @@ void main() { }); }); + unittest.group('obj-schema-MonitoringComponentConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildMonitoringComponentConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MonitoringComponentConfig.fromJson( + oJson as core.Map); + checkMonitoringComponentConfig(od); + }); + }); + + unittest.group('obj-schema-MonitoringConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildMonitoringConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MonitoringConfig.fromJson( + oJson as core.Map); + checkMonitoringConfig(od); + }); + }); + unittest.group('obj-schema-NetworkConfig', () { unittest.test('to-json--from-json', () async { final o = buildNetworkConfig(); @@ -4774,6 +5027,16 @@ void main() { }); }); + unittest.group('obj-schema-NodeNetworkConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildNodeNetworkConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.NodeNetworkConfig.fromJson( + oJson as core.Map); + checkNodeNetworkConfig(od); + }); + }); + unittest.group('obj-schema-NodePool', () { unittest.test('to-json--from-json', () async { final o = buildNodePool(); @@ -5224,6 +5487,16 @@ void main() { }); }); + unittest.group('obj-schema-VirtualNIC', () { + unittest.test('to-json--from-json', () async { + final o = buildVirtualNIC(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.VirtualNIC.fromJson(oJson as core.Map); + checkVirtualNIC(od); + }); + }); + unittest.group('obj-schema-WorkloadIdentityConfig', () { unittest.test('to-json--from-json', () async { final o = buildWorkloadIdentityConfig(); diff --git a/generated/googleapis/test/content/v2_1_test.dart b/generated/googleapis/test/content/v2_1_test.dart index 9c3bd9441..e6a8b5f06 100644 --- a/generated/googleapis/test/content/v2_1_test.dart +++ b/generated/googleapis/test/content/v2_1_test.dart @@ -26,23 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5034() => [ +core.List buildUnnamed5078() => [ buildAccountAdsLink(), buildAccountAdsLink(), ]; -void checkUnnamed5034(core.List o) { +void checkUnnamed5078(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountAdsLink(o[0]); checkAccountAdsLink(o[1]); } -core.List buildUnnamed5035() => [ +core.List buildUnnamed5079() => [ 'foo', 'foo', ]; -void checkUnnamed5035(core.List o) { +void checkUnnamed5079(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -54,12 +54,12 @@ void checkUnnamed5035(core.List o) { ); } -core.List buildUnnamed5036() => [ +core.List buildUnnamed5080() => [ 'foo', 'foo', ]; -void checkUnnamed5036(core.List o) { +void checkUnnamed5080(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -71,23 +71,23 @@ void checkUnnamed5036(core.List o) { ); } -core.List buildUnnamed5037() => [ +core.List buildUnnamed5081() => [ buildAccountUser(), buildAccountUser(), ]; -void checkUnnamed5037(core.List o) { +void checkUnnamed5081(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountUser(o[0]); checkAccountUser(o[1]); } -core.List buildUnnamed5038() => [ +core.List buildUnnamed5082() => [ buildAccountYouTubeChannelLink(), buildAccountYouTubeChannelLink(), ]; -void checkUnnamed5038(core.List o) { +void checkUnnamed5082(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountYouTubeChannelLink(o[0]); checkAccountYouTubeChannelLink(o[1]); @@ -99,20 +99,20 @@ api.Account buildAccount() { buildCounterAccount++; if (buildCounterAccount < 3) { o.accountManagement = 'foo'; - o.adsLinks = buildUnnamed5034(); + o.adsLinks = buildUnnamed5078(); o.adultContent = true; - o.automaticLabelIds = buildUnnamed5035(); + o.automaticLabelIds = buildUnnamed5079(); o.businessInformation = buildAccountBusinessInformation(); o.cssId = 'foo'; o.googleMyBusinessLink = buildAccountGoogleMyBusinessLink(); o.id = 'foo'; o.kind = 'foo'; - o.labelIds = buildUnnamed5036(); + o.labelIds = buildUnnamed5080(); o.name = 'foo'; o.sellerId = 'foo'; - o.users = buildUnnamed5037(); + o.users = buildUnnamed5081(); o.websiteUrl = 'foo'; - o.youtubeChannelLinks = buildUnnamed5038(); + o.youtubeChannelLinks = buildUnnamed5082(); } buildCounterAccount--; return o; @@ -125,9 +125,9 @@ void checkAccount(api.Account o) { o.accountManagement!, unittest.equals('foo'), ); - checkUnnamed5034(o.adsLinks!); + checkUnnamed5078(o.adsLinks!); unittest.expect(o.adultContent!, unittest.isTrue); - checkUnnamed5035(o.automaticLabelIds!); + checkUnnamed5079(o.automaticLabelIds!); checkAccountBusinessInformation(o.businessInformation!); unittest.expect( o.cssId!, @@ -142,7 +142,7 @@ void checkAccount(api.Account o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5036(o.labelIds!); + checkUnnamed5080(o.labelIds!); unittest.expect( o.name!, unittest.equals('foo'), @@ -151,12 +151,12 @@ void checkAccount(api.Account o) { o.sellerId!, unittest.equals('foo'), ); - checkUnnamed5037(o.users!); + checkUnnamed5081(o.users!); unittest.expect( o.websiteUrl!, unittest.equals('foo'), ); - checkUnnamed5038(o.youtubeChannelLinks!); + checkUnnamed5082(o.youtubeChannelLinks!); } buildCounterAccount--; } @@ -458,23 +458,23 @@ void checkAccountReturnCarrier(api.AccountReturnCarrier o) { buildCounterAccountReturnCarrier--; } -core.List buildUnnamed5039() => [ +core.List buildUnnamed5083() => [ buildAccountStatusAccountLevelIssue(), buildAccountStatusAccountLevelIssue(), ]; -void checkUnnamed5039(core.List o) { +void checkUnnamed5083(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatusAccountLevelIssue(o[0]); checkAccountStatusAccountLevelIssue(o[1]); } -core.List buildUnnamed5040() => [ +core.List buildUnnamed5084() => [ buildAccountStatusProducts(), buildAccountStatusProducts(), ]; -void checkUnnamed5040(core.List o) { +void checkUnnamed5084(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatusProducts(o[0]); checkAccountStatusProducts(o[1]); @@ -486,10 +486,10 @@ api.AccountStatus buildAccountStatus() { buildCounterAccountStatus++; if (buildCounterAccountStatus < 3) { o.accountId = 'foo'; - o.accountLevelIssues = buildUnnamed5039(); + o.accountLevelIssues = buildUnnamed5083(); o.accountManagement = 'foo'; o.kind = 'foo'; - o.products = buildUnnamed5040(); + o.products = buildUnnamed5084(); o.websiteClaimed = true; } buildCounterAccountStatus--; @@ -503,7 +503,7 @@ void checkAccountStatus(api.AccountStatus o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5039(o.accountLevelIssues!); + checkUnnamed5083(o.accountLevelIssues!); unittest.expect( o.accountManagement!, unittest.equals('foo'), @@ -512,7 +512,7 @@ void checkAccountStatus(api.AccountStatus o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5040(o.products!); + checkUnnamed5084(o.products!); unittest.expect(o.websiteClaimed!, unittest.isTrue); } buildCounterAccountStatus--; @@ -627,12 +627,12 @@ void checkAccountStatusItemLevelIssue(api.AccountStatusItemLevelIssue o) { buildCounterAccountStatusItemLevelIssue--; } -core.List buildUnnamed5041() => [ +core.List buildUnnamed5085() => [ buildAccountStatusItemLevelIssue(), buildAccountStatusItemLevelIssue(), ]; -void checkUnnamed5041(core.List o) { +void checkUnnamed5085(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatusItemLevelIssue(o[0]); checkAccountStatusItemLevelIssue(o[1]); @@ -646,7 +646,7 @@ api.AccountStatusProducts buildAccountStatusProducts() { o.channel = 'foo'; o.country = 'foo'; o.destination = 'foo'; - o.itemLevelIssues = buildUnnamed5041(); + o.itemLevelIssues = buildUnnamed5085(); o.statistics = buildAccountStatusStatistics(); } buildCounterAccountStatusProducts--; @@ -668,7 +668,7 @@ void checkAccountStatusProducts(api.AccountStatusProducts o) { o.destination!, unittest.equals('foo'), ); - checkUnnamed5041(o.itemLevelIssues!); + checkUnnamed5085(o.itemLevelIssues!); checkAccountStatusStatistics(o.statistics!); } buildCounterAccountStatusProducts--; @@ -711,12 +711,12 @@ void checkAccountStatusStatistics(api.AccountStatusStatistics o) { buildCounterAccountStatusStatistics--; } -core.List buildUnnamed5042() => [ +core.List buildUnnamed5086() => [ buildAccountTaxTaxRule(), buildAccountTaxTaxRule(), ]; -void checkUnnamed5042(core.List o) { +void checkUnnamed5086(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountTaxTaxRule(o[0]); checkAccountTaxTaxRule(o[1]); @@ -729,7 +729,7 @@ api.AccountTax buildAccountTax() { if (buildCounterAccountTax < 3) { o.accountId = 'foo'; o.kind = 'foo'; - o.rules = buildUnnamed5042(); + o.rules = buildUnnamed5086(); } buildCounterAccountTax--; return o; @@ -746,7 +746,7 @@ void checkAccountTax(api.AccountTax o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5042(o.rules!); + checkUnnamed5086(o.rules!); } buildCounterAccountTax--; } @@ -844,12 +844,12 @@ void checkAccountYouTubeChannelLink(api.AccountYouTubeChannelLink o) { buildCounterAccountYouTubeChannelLink--; } -core.List buildUnnamed5043() => [ +core.List buildUnnamed5087() => [ buildAccountIdentifier(), buildAccountIdentifier(), ]; -void checkUnnamed5043(core.List o) { +void checkUnnamed5087(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountIdentifier(o[0]); checkAccountIdentifier(o[1]); @@ -860,7 +860,7 @@ api.AccountsAuthInfoResponse buildAccountsAuthInfoResponse() { final o = api.AccountsAuthInfoResponse(); buildCounterAccountsAuthInfoResponse++; if (buildCounterAccountsAuthInfoResponse < 3) { - o.accountIdentifiers = buildUnnamed5043(); + o.accountIdentifiers = buildUnnamed5087(); o.kind = 'foo'; } buildCounterAccountsAuthInfoResponse--; @@ -870,7 +870,7 @@ api.AccountsAuthInfoResponse buildAccountsAuthInfoResponse() { void checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { buildCounterAccountsAuthInfoResponse++; if (buildCounterAccountsAuthInfoResponse < 3) { - checkUnnamed5043(o.accountIdentifiers!); + checkUnnamed5087(o.accountIdentifiers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -901,12 +901,12 @@ void checkAccountsClaimWebsiteResponse(api.AccountsClaimWebsiteResponse o) { buildCounterAccountsClaimWebsiteResponse--; } -core.List buildUnnamed5044() => [ +core.List buildUnnamed5088() => [ buildAccountsCustomBatchRequestEntry(), buildAccountsCustomBatchRequestEntry(), ]; -void checkUnnamed5044(core.List o) { +void checkUnnamed5088(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountsCustomBatchRequestEntry(o[0]); checkAccountsCustomBatchRequestEntry(o[1]); @@ -917,7 +917,7 @@ api.AccountsCustomBatchRequest buildAccountsCustomBatchRequest() { final o = api.AccountsCustomBatchRequest(); buildCounterAccountsCustomBatchRequest++; if (buildCounterAccountsCustomBatchRequest < 3) { - o.entries = buildUnnamed5044(); + o.entries = buildUnnamed5088(); } buildCounterAccountsCustomBatchRequest--; return o; @@ -926,17 +926,17 @@ api.AccountsCustomBatchRequest buildAccountsCustomBatchRequest() { void checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { buildCounterAccountsCustomBatchRequest++; if (buildCounterAccountsCustomBatchRequest < 3) { - checkUnnamed5044(o.entries!); + checkUnnamed5088(o.entries!); } buildCounterAccountsCustomBatchRequest--; } -core.List buildUnnamed5045() => [ +core.List buildUnnamed5089() => [ 'foo', 'foo', ]; -void checkUnnamed5045(core.List o) { +void checkUnnamed5089(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -957,7 +957,7 @@ api.AccountsCustomBatchRequestEntry buildAccountsCustomBatchRequestEntry() { o.accountId = 'foo'; o.batchId = 42; o.force = true; - o.labelIds = buildUnnamed5045(); + o.labelIds = buildUnnamed5089(); o.linkRequest = buildAccountsCustomBatchRequestEntryLinkRequest(); o.merchantId = 'foo'; o.method = 'foo'; @@ -982,7 +982,7 @@ void checkAccountsCustomBatchRequestEntry( unittest.equals(42), ); unittest.expect(o.force!, unittest.isTrue); - checkUnnamed5045(o.labelIds!); + checkUnnamed5089(o.labelIds!); checkAccountsCustomBatchRequestEntryLinkRequest(o.linkRequest!); unittest.expect( o.merchantId!, @@ -1001,12 +1001,12 @@ void checkAccountsCustomBatchRequestEntry( buildCounterAccountsCustomBatchRequestEntry--; } -core.List buildUnnamed5046() => [ +core.List buildUnnamed5090() => [ 'foo', 'foo', ]; -void checkUnnamed5046(core.List o) { +void checkUnnamed5090(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1027,7 +1027,7 @@ api.AccountsCustomBatchRequestEntryLinkRequest o.action = 'foo'; o.linkType = 'foo'; o.linkedAccountId = 'foo'; - o.services = buildUnnamed5046(); + o.services = buildUnnamed5090(); } buildCounterAccountsCustomBatchRequestEntryLinkRequest--; return o; @@ -1049,17 +1049,17 @@ void checkAccountsCustomBatchRequestEntryLinkRequest( o.linkedAccountId!, unittest.equals('foo'), ); - checkUnnamed5046(o.services!); + checkUnnamed5090(o.services!); } buildCounterAccountsCustomBatchRequestEntryLinkRequest--; } -core.List buildUnnamed5047() => [ +core.List buildUnnamed5091() => [ buildAccountsCustomBatchResponseEntry(), buildAccountsCustomBatchResponseEntry(), ]; -void checkUnnamed5047(core.List o) { +void checkUnnamed5091(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountsCustomBatchResponseEntry(o[0]); checkAccountsCustomBatchResponseEntry(o[1]); @@ -1070,7 +1070,7 @@ api.AccountsCustomBatchResponse buildAccountsCustomBatchResponse() { final o = api.AccountsCustomBatchResponse(); buildCounterAccountsCustomBatchResponse++; if (buildCounterAccountsCustomBatchResponse < 3) { - o.entries = buildUnnamed5047(); + o.entries = buildUnnamed5091(); o.kind = 'foo'; } buildCounterAccountsCustomBatchResponse--; @@ -1080,7 +1080,7 @@ api.AccountsCustomBatchResponse buildAccountsCustomBatchResponse() { void checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { buildCounterAccountsCustomBatchResponse++; if (buildCounterAccountsCustomBatchResponse < 3) { - checkUnnamed5047(o.entries!); + checkUnnamed5091(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1121,12 +1121,12 @@ void checkAccountsCustomBatchResponseEntry( buildCounterAccountsCustomBatchResponseEntry--; } -core.List buildUnnamed5048() => [ +core.List buildUnnamed5092() => [ 'foo', 'foo', ]; -void checkUnnamed5048(core.List o) { +void checkUnnamed5092(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1147,7 +1147,7 @@ api.AccountsLinkRequest buildAccountsLinkRequest() { o.linkType = 'foo'; o.linkedAccountId = 'foo'; o.paymentServiceProviderLinkInfo = buildPaymentServiceProviderLinkInfo(); - o.services = buildUnnamed5048(); + o.services = buildUnnamed5092(); } buildCounterAccountsLinkRequest--; return o; @@ -1169,7 +1169,7 @@ void checkAccountsLinkRequest(api.AccountsLinkRequest o) { unittest.equals('foo'), ); checkPaymentServiceProviderLinkInfo(o.paymentServiceProviderLinkInfo!); - checkUnnamed5048(o.services!); + checkUnnamed5092(o.services!); } buildCounterAccountsLinkRequest--; } @@ -1196,12 +1196,12 @@ void checkAccountsLinkResponse(api.AccountsLinkResponse o) { buildCounterAccountsLinkResponse--; } -core.List buildUnnamed5049() => [ +core.List buildUnnamed5093() => [ buildLinkedAccount(), buildLinkedAccount(), ]; -void checkUnnamed5049(core.List o) { +void checkUnnamed5093(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLinkedAccount(o[0]); checkLinkedAccount(o[1]); @@ -1213,7 +1213,7 @@ api.AccountsListLinksResponse buildAccountsListLinksResponse() { buildCounterAccountsListLinksResponse++; if (buildCounterAccountsListLinksResponse < 3) { o.kind = 'foo'; - o.links = buildUnnamed5049(); + o.links = buildUnnamed5093(); o.nextPageToken = 'foo'; } buildCounterAccountsListLinksResponse--; @@ -1227,7 +1227,7 @@ void checkAccountsListLinksResponse(api.AccountsListLinksResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5049(o.links!); + checkUnnamed5093(o.links!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1236,12 +1236,12 @@ void checkAccountsListLinksResponse(api.AccountsListLinksResponse o) { buildCounterAccountsListLinksResponse--; } -core.List buildUnnamed5050() => [ +core.List buildUnnamed5094() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed5050(core.List o) { +void checkUnnamed5094(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -1254,7 +1254,7 @@ api.AccountsListResponse buildAccountsListResponse() { if (buildCounterAccountsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5050(); + o.resources = buildUnnamed5094(); } buildCounterAccountsListResponse--; return o; @@ -1271,17 +1271,17 @@ void checkAccountsListResponse(api.AccountsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5050(o.resources!); + checkUnnamed5094(o.resources!); } buildCounterAccountsListResponse--; } -core.List buildUnnamed5051() => [ +core.List buildUnnamed5095() => [ 'foo', 'foo', ]; -void checkUnnamed5051(core.List o) { +void checkUnnamed5095(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1298,7 +1298,7 @@ api.AccountsUpdateLabelsRequest buildAccountsUpdateLabelsRequest() { final o = api.AccountsUpdateLabelsRequest(); buildCounterAccountsUpdateLabelsRequest++; if (buildCounterAccountsUpdateLabelsRequest < 3) { - o.labelIds = buildUnnamed5051(); + o.labelIds = buildUnnamed5095(); } buildCounterAccountsUpdateLabelsRequest--; return o; @@ -1307,7 +1307,7 @@ api.AccountsUpdateLabelsRequest buildAccountsUpdateLabelsRequest() { void checkAccountsUpdateLabelsRequest(api.AccountsUpdateLabelsRequest o) { buildCounterAccountsUpdateLabelsRequest++; if (buildCounterAccountsUpdateLabelsRequest < 3) { - checkUnnamed5051(o.labelIds!); + checkUnnamed5095(o.labelIds!); } buildCounterAccountsUpdateLabelsRequest--; } @@ -1334,12 +1334,12 @@ void checkAccountsUpdateLabelsResponse(api.AccountsUpdateLabelsResponse o) { buildCounterAccountsUpdateLabelsResponse--; } -core.List buildUnnamed5052() => [ +core.List buildUnnamed5096() => [ buildAccountstatusesCustomBatchRequestEntry(), buildAccountstatusesCustomBatchRequestEntry(), ]; -void checkUnnamed5052(core.List o) { +void checkUnnamed5096(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountstatusesCustomBatchRequestEntry(o[0]); checkAccountstatusesCustomBatchRequestEntry(o[1]); @@ -1350,7 +1350,7 @@ api.AccountstatusesCustomBatchRequest buildAccountstatusesCustomBatchRequest() { final o = api.AccountstatusesCustomBatchRequest(); buildCounterAccountstatusesCustomBatchRequest++; if (buildCounterAccountstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed5052(); + o.entries = buildUnnamed5096(); } buildCounterAccountstatusesCustomBatchRequest--; return o; @@ -1360,17 +1360,17 @@ void checkAccountstatusesCustomBatchRequest( api.AccountstatusesCustomBatchRequest o) { buildCounterAccountstatusesCustomBatchRequest++; if (buildCounterAccountstatusesCustomBatchRequest < 3) { - checkUnnamed5052(o.entries!); + checkUnnamed5096(o.entries!); } buildCounterAccountstatusesCustomBatchRequest--; } -core.List buildUnnamed5053() => [ +core.List buildUnnamed5097() => [ 'foo', 'foo', ]; -void checkUnnamed5053(core.List o) { +void checkUnnamed5097(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1390,7 +1390,7 @@ api.AccountstatusesCustomBatchRequestEntry if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { o.accountId = 'foo'; o.batchId = 42; - o.destinations = buildUnnamed5053(); + o.destinations = buildUnnamed5097(); o.merchantId = 'foo'; o.method = 'foo'; } @@ -1410,7 +1410,7 @@ void checkAccountstatusesCustomBatchRequestEntry( o.batchId!, unittest.equals(42), ); - checkUnnamed5053(o.destinations!); + checkUnnamed5097(o.destinations!); unittest.expect( o.merchantId!, unittest.equals('foo'), @@ -1423,12 +1423,12 @@ void checkAccountstatusesCustomBatchRequestEntry( buildCounterAccountstatusesCustomBatchRequestEntry--; } -core.List buildUnnamed5054() => [ +core.List buildUnnamed5098() => [ buildAccountstatusesCustomBatchResponseEntry(), buildAccountstatusesCustomBatchResponseEntry(), ]; -void checkUnnamed5054( +void checkUnnamed5098( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountstatusesCustomBatchResponseEntry(o[0]); @@ -1441,7 +1441,7 @@ api.AccountstatusesCustomBatchResponse final o = api.AccountstatusesCustomBatchResponse(); buildCounterAccountstatusesCustomBatchResponse++; if (buildCounterAccountstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed5054(); + o.entries = buildUnnamed5098(); o.kind = 'foo'; } buildCounterAccountstatusesCustomBatchResponse--; @@ -1452,7 +1452,7 @@ void checkAccountstatusesCustomBatchResponse( api.AccountstatusesCustomBatchResponse o) { buildCounterAccountstatusesCustomBatchResponse++; if (buildCounterAccountstatusesCustomBatchResponse < 3) { - checkUnnamed5054(o.entries!); + checkUnnamed5098(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1489,12 +1489,12 @@ void checkAccountstatusesCustomBatchResponseEntry( buildCounterAccountstatusesCustomBatchResponseEntry--; } -core.List buildUnnamed5055() => [ +core.List buildUnnamed5099() => [ buildAccountStatus(), buildAccountStatus(), ]; -void checkUnnamed5055(core.List o) { +void checkUnnamed5099(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountStatus(o[0]); checkAccountStatus(o[1]); @@ -1507,7 +1507,7 @@ api.AccountstatusesListResponse buildAccountstatusesListResponse() { if (buildCounterAccountstatusesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5055(); + o.resources = buildUnnamed5099(); } buildCounterAccountstatusesListResponse--; return o; @@ -1524,17 +1524,17 @@ void checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5055(o.resources!); + checkUnnamed5099(o.resources!); } buildCounterAccountstatusesListResponse--; } -core.List buildUnnamed5056() => [ +core.List buildUnnamed5100() => [ buildAccounttaxCustomBatchRequestEntry(), buildAccounttaxCustomBatchRequestEntry(), ]; -void checkUnnamed5056(core.List o) { +void checkUnnamed5100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccounttaxCustomBatchRequestEntry(o[0]); checkAccounttaxCustomBatchRequestEntry(o[1]); @@ -1545,7 +1545,7 @@ api.AccounttaxCustomBatchRequest buildAccounttaxCustomBatchRequest() { final o = api.AccounttaxCustomBatchRequest(); buildCounterAccounttaxCustomBatchRequest++; if (buildCounterAccounttaxCustomBatchRequest < 3) { - o.entries = buildUnnamed5056(); + o.entries = buildUnnamed5100(); } buildCounterAccounttaxCustomBatchRequest--; return o; @@ -1554,7 +1554,7 @@ api.AccounttaxCustomBatchRequest buildAccounttaxCustomBatchRequest() { void checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { buildCounterAccounttaxCustomBatchRequest++; if (buildCounterAccounttaxCustomBatchRequest < 3) { - checkUnnamed5056(o.entries!); + checkUnnamed5100(o.entries!); } buildCounterAccounttaxCustomBatchRequest--; } @@ -1599,12 +1599,12 @@ void checkAccounttaxCustomBatchRequestEntry( buildCounterAccounttaxCustomBatchRequestEntry--; } -core.List buildUnnamed5057() => [ +core.List buildUnnamed5101() => [ buildAccounttaxCustomBatchResponseEntry(), buildAccounttaxCustomBatchResponseEntry(), ]; -void checkUnnamed5057(core.List o) { +void checkUnnamed5101(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccounttaxCustomBatchResponseEntry(o[0]); checkAccounttaxCustomBatchResponseEntry(o[1]); @@ -1615,7 +1615,7 @@ api.AccounttaxCustomBatchResponse buildAccounttaxCustomBatchResponse() { final o = api.AccounttaxCustomBatchResponse(); buildCounterAccounttaxCustomBatchResponse++; if (buildCounterAccounttaxCustomBatchResponse < 3) { - o.entries = buildUnnamed5057(); + o.entries = buildUnnamed5101(); o.kind = 'foo'; } buildCounterAccounttaxCustomBatchResponse--; @@ -1625,7 +1625,7 @@ api.AccounttaxCustomBatchResponse buildAccounttaxCustomBatchResponse() { void checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { buildCounterAccounttaxCustomBatchResponse++; if (buildCounterAccounttaxCustomBatchResponse < 3) { - checkUnnamed5057(o.entries!); + checkUnnamed5101(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1667,12 +1667,12 @@ void checkAccounttaxCustomBatchResponseEntry( buildCounterAccounttaxCustomBatchResponseEntry--; } -core.List buildUnnamed5058() => [ +core.List buildUnnamed5102() => [ buildAccountTax(), buildAccountTax(), ]; -void checkUnnamed5058(core.List o) { +void checkUnnamed5102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountTax(o[0]); checkAccountTax(o[1]); @@ -1685,7 +1685,7 @@ api.AccounttaxListResponse buildAccounttaxListResponse() { if (buildCounterAccounttaxListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5058(); + o.resources = buildUnnamed5102(); } buildCounterAccounttaxListResponse--; return o; @@ -1702,7 +1702,7 @@ void checkAccounttaxListResponse(api.AccounttaxListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5058(o.resources!); + checkUnnamed5102(o.resources!); } buildCounterAccounttaxListResponse--; } @@ -1744,12 +1744,12 @@ void checkAmount(api.Amount o) { buildCounterAmount--; } -core.List buildUnnamed5059() => [ +core.List buildUnnamed5103() => [ 'foo', 'foo', ]; -void checkUnnamed5059(core.List o) { +void checkUnnamed5103(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1766,7 +1766,7 @@ api.BusinessDayConfig buildBusinessDayConfig() { final o = api.BusinessDayConfig(); buildCounterBusinessDayConfig++; if (buildCounterBusinessDayConfig < 3) { - o.businessDays = buildUnnamed5059(); + o.businessDays = buildUnnamed5103(); } buildCounterBusinessDayConfig--; return o; @@ -1775,7 +1775,7 @@ api.BusinessDayConfig buildBusinessDayConfig() { void checkBusinessDayConfig(api.BusinessDayConfig o) { buildCounterBusinessDayConfig++; if (buildCounterBusinessDayConfig < 3) { - checkUnnamed5059(o.businessDays!); + checkUnnamed5103(o.businessDays!); } buildCounterBusinessDayConfig--; } @@ -1812,6 +1812,43 @@ void checkBuyOnGoogleProgramStatus(api.BuyOnGoogleProgramStatus o) { buildCounterBuyOnGoogleProgramStatus--; } +core.int buildCounterCaptureOrderRequest = 0; +api.CaptureOrderRequest buildCaptureOrderRequest() { + final o = api.CaptureOrderRequest(); + buildCounterCaptureOrderRequest++; + if (buildCounterCaptureOrderRequest < 3) {} + buildCounterCaptureOrderRequest--; + return o; +} + +void checkCaptureOrderRequest(api.CaptureOrderRequest o) { + buildCounterCaptureOrderRequest++; + if (buildCounterCaptureOrderRequest < 3) {} + buildCounterCaptureOrderRequest--; +} + +core.int buildCounterCaptureOrderResponse = 0; +api.CaptureOrderResponse buildCaptureOrderResponse() { + final o = api.CaptureOrderResponse(); + buildCounterCaptureOrderResponse++; + if (buildCounterCaptureOrderResponse < 3) { + o.executionStatus = 'foo'; + } + buildCounterCaptureOrderResponse--; + return o; +} + +void checkCaptureOrderResponse(api.CaptureOrderResponse o) { + buildCounterCaptureOrderResponse++; + if (buildCounterCaptureOrderResponse < 3) { + unittest.expect( + o.executionStatus!, + unittest.equals('foo'), + ); + } + buildCounterCaptureOrderResponse--; +} + core.int buildCounterCarrierRate = 0; api.CarrierRate buildCarrierRate() { final o = api.CarrierRate(); @@ -1856,12 +1893,12 @@ void checkCarrierRate(api.CarrierRate o) { buildCounterCarrierRate--; } -core.List buildUnnamed5060() => [ +core.List buildUnnamed5104() => [ 'foo', 'foo', ]; -void checkUnnamed5060(core.List o) { +void checkUnnamed5104(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1873,12 +1910,12 @@ void checkUnnamed5060(core.List o) { ); } -core.List buildUnnamed5061() => [ +core.List buildUnnamed5105() => [ 'foo', 'foo', ]; -void checkUnnamed5061(core.List o) { +void checkUnnamed5105(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1896,9 +1933,9 @@ api.CarriersCarrier buildCarriersCarrier() { buildCounterCarriersCarrier++; if (buildCounterCarriersCarrier < 3) { o.country = 'foo'; - o.eddServices = buildUnnamed5060(); + o.eddServices = buildUnnamed5104(); o.name = 'foo'; - o.services = buildUnnamed5061(); + o.services = buildUnnamed5105(); } buildCounterCarriersCarrier--; return o; @@ -1911,33 +1948,33 @@ void checkCarriersCarrier(api.CarriersCarrier o) { o.country!, unittest.equals('foo'), ); - checkUnnamed5060(o.eddServices!); + checkUnnamed5104(o.eddServices!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5061(o.services!); + checkUnnamed5105(o.services!); } buildCounterCarriersCarrier--; } -core.List buildUnnamed5062() => [ +core.List buildUnnamed5106() => [ buildCollectionFeaturedProduct(), buildCollectionFeaturedProduct(), ]; -void checkUnnamed5062(core.List o) { +void checkUnnamed5106(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectionFeaturedProduct(o[0]); checkCollectionFeaturedProduct(o[1]); } -core.List buildUnnamed5063() => [ +core.List buildUnnamed5107() => [ 'foo', 'foo', ]; -void checkUnnamed5063(core.List o) { +void checkUnnamed5107(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1949,12 +1986,12 @@ void checkUnnamed5063(core.List o) { ); } -core.List buildUnnamed5064() => [ +core.List buildUnnamed5108() => [ 'foo', 'foo', ]; -void checkUnnamed5064(core.List o) { +void checkUnnamed5108(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1976,10 +2013,10 @@ api.Collection buildCollection() { o.customLabel2 = 'foo'; o.customLabel3 = 'foo'; o.customLabel4 = 'foo'; - o.featuredProduct = buildUnnamed5062(); - o.headline = buildUnnamed5063(); + o.featuredProduct = buildUnnamed5106(); + o.headline = buildUnnamed5107(); o.id = 'foo'; - o.imageLink = buildUnnamed5064(); + o.imageLink = buildUnnamed5108(); o.language = 'foo'; o.link = 'foo'; o.mobileLink = 'foo'; @@ -2012,13 +2049,13 @@ void checkCollection(api.Collection o) { o.customLabel4!, unittest.equals('foo'), ); - checkUnnamed5062(o.featuredProduct!); - checkUnnamed5063(o.headline!); + checkUnnamed5106(o.featuredProduct!); + checkUnnamed5107(o.headline!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed5064(o.imageLink!); + checkUnnamed5108(o.imageLink!); unittest.expect( o.language!, unittest.equals('foo'), @@ -2071,23 +2108,23 @@ void checkCollectionFeaturedProduct(api.CollectionFeaturedProduct o) { buildCounterCollectionFeaturedProduct--; } -core.List buildUnnamed5065() => [ +core.List buildUnnamed5109() => [ buildCollectionStatusItemLevelIssue(), buildCollectionStatusItemLevelIssue(), ]; -void checkUnnamed5065(core.List o) { +void checkUnnamed5109(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectionStatusItemLevelIssue(o[0]); checkCollectionStatusItemLevelIssue(o[1]); } -core.List buildUnnamed5066() => [ +core.List buildUnnamed5110() => [ buildCollectionStatusDestinationStatus(), buildCollectionStatusDestinationStatus(), ]; -void checkUnnamed5066(core.List o) { +void checkUnnamed5110(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectionStatusDestinationStatus(o[0]); checkCollectionStatusDestinationStatus(o[1]); @@ -2098,9 +2135,9 @@ api.CollectionStatus buildCollectionStatus() { final o = api.CollectionStatus(); buildCounterCollectionStatus++; if (buildCounterCollectionStatus < 3) { - o.collectionLevelIssuses = buildUnnamed5065(); + o.collectionLevelIssuses = buildUnnamed5109(); o.creationDate = 'foo'; - o.destinationStatuses = buildUnnamed5066(); + o.destinationStatuses = buildUnnamed5110(); o.id = 'foo'; o.lastUpdateDate = 'foo'; } @@ -2111,12 +2148,12 @@ api.CollectionStatus buildCollectionStatus() { void checkCollectionStatus(api.CollectionStatus o) { buildCounterCollectionStatus++; if (buildCounterCollectionStatus < 3) { - checkUnnamed5065(o.collectionLevelIssuses!); + checkUnnamed5109(o.collectionLevelIssuses!); unittest.expect( o.creationDate!, unittest.equals('foo'), ); - checkUnnamed5066(o.destinationStatuses!); + checkUnnamed5110(o.destinationStatuses!); unittest.expect( o.id!, unittest.equals('foo'), @@ -2214,12 +2251,12 @@ void checkCollectionStatusItemLevelIssue(api.CollectionStatusItemLevelIssue o) { buildCounterCollectionStatusItemLevelIssue--; } -core.List buildUnnamed5067() => [ +core.List buildUnnamed5111() => [ 'foo', 'foo', ]; -void checkUnnamed5067(core.List o) { +void checkUnnamed5111(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2241,7 +2278,7 @@ api.Css buildCss() { o.displayName = 'foo'; o.fullName = 'foo'; o.homepageUri = 'foo'; - o.labelIds = buildUnnamed5067(); + o.labelIds = buildUnnamed5111(); } buildCounterCss--; return o; @@ -2270,17 +2307,17 @@ void checkCss(api.Css o) { o.homepageUri!, unittest.equals('foo'), ); - checkUnnamed5067(o.labelIds!); + checkUnnamed5111(o.labelIds!); } buildCounterCss--; } -core.List buildUnnamed5068() => [ +core.List buildUnnamed5112() => [ buildCustomAttribute(), buildCustomAttribute(), ]; -void checkUnnamed5068(core.List o) { +void checkUnnamed5112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttribute(o[0]); checkCustomAttribute(o[1]); @@ -2291,7 +2328,7 @@ api.CustomAttribute buildCustomAttribute() { final o = api.CustomAttribute(); buildCounterCustomAttribute++; if (buildCounterCustomAttribute < 3) { - o.groupValues = buildUnnamed5068(); + o.groupValues = buildUnnamed5112(); o.name = 'foo'; o.value = 'foo'; } @@ -2302,7 +2339,7 @@ api.CustomAttribute buildCustomAttribute() { void checkCustomAttribute(api.CustomAttribute o) { buildCounterCustomAttribute++; if (buildCounterCustomAttribute < 3) { - checkUnnamed5068(o.groupValues!); + checkUnnamed5112(o.groupValues!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2374,12 +2411,12 @@ void checkCutoffTime(api.CutoffTime o) { buildCounterCutoffTime--; } -core.List buildUnnamed5069() => [ +core.List buildUnnamed5113() => [ buildDatafeedTarget(), buildDatafeedTarget(), ]; -void checkUnnamed5069(core.List o) { +void checkUnnamed5113(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedTarget(o[0]); checkDatafeedTarget(o[1]); @@ -2398,7 +2435,7 @@ api.Datafeed buildDatafeed() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.targets = buildUnnamed5069(); + o.targets = buildUnnamed5113(); } buildCounterDatafeed--; return o; @@ -2433,7 +2470,7 @@ void checkDatafeed(api.Datafeed o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5069(o.targets!); + checkUnnamed5113(o.targets!); } buildCounterDatafeed--; } @@ -2529,23 +2566,23 @@ void checkDatafeedFormat(api.DatafeedFormat o) { buildCounterDatafeedFormat--; } -core.List buildUnnamed5070() => [ +core.List buildUnnamed5114() => [ buildDatafeedStatusError(), buildDatafeedStatusError(), ]; -void checkUnnamed5070(core.List o) { +void checkUnnamed5114(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatusError(o[0]); checkDatafeedStatusError(o[1]); } -core.List buildUnnamed5071() => [ +core.List buildUnnamed5115() => [ buildDatafeedStatusError(), buildDatafeedStatusError(), ]; -void checkUnnamed5071(core.List o) { +void checkUnnamed5115(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatusError(o[0]); checkDatafeedStatusError(o[1]); @@ -2558,14 +2595,14 @@ api.DatafeedStatus buildDatafeedStatus() { if (buildCounterDatafeedStatus < 3) { o.country = 'foo'; o.datafeedId = 'foo'; - o.errors = buildUnnamed5070(); + o.errors = buildUnnamed5114(); o.itemsTotal = 'foo'; o.itemsValid = 'foo'; o.kind = 'foo'; o.language = 'foo'; o.lastUploadDate = 'foo'; o.processingStatus = 'foo'; - o.warnings = buildUnnamed5071(); + o.warnings = buildUnnamed5115(); } buildCounterDatafeedStatus--; return o; @@ -2582,7 +2619,7 @@ void checkDatafeedStatus(api.DatafeedStatus o) { o.datafeedId!, unittest.equals('foo'), ); - checkUnnamed5070(o.errors!); + checkUnnamed5114(o.errors!); unittest.expect( o.itemsTotal!, unittest.equals('foo'), @@ -2607,17 +2644,17 @@ void checkDatafeedStatus(api.DatafeedStatus o) { o.processingStatus!, unittest.equals('foo'), ); - checkUnnamed5071(o.warnings!); + checkUnnamed5115(o.warnings!); } buildCounterDatafeedStatus--; } -core.List buildUnnamed5072() => [ +core.List buildUnnamed5116() => [ buildDatafeedStatusExample(), buildDatafeedStatusExample(), ]; -void checkUnnamed5072(core.List o) { +void checkUnnamed5116(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatusExample(o[0]); checkDatafeedStatusExample(o[1]); @@ -2630,7 +2667,7 @@ api.DatafeedStatusError buildDatafeedStatusError() { if (buildCounterDatafeedStatusError < 3) { o.code = 'foo'; o.count = 'foo'; - o.examples = buildUnnamed5072(); + o.examples = buildUnnamed5116(); o.message = 'foo'; } buildCounterDatafeedStatusError--; @@ -2648,7 +2685,7 @@ void checkDatafeedStatusError(api.DatafeedStatusError o) { o.count!, unittest.equals('foo'), ); - checkUnnamed5072(o.examples!); + checkUnnamed5116(o.examples!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2689,12 +2726,12 @@ void checkDatafeedStatusExample(api.DatafeedStatusExample o) { buildCounterDatafeedStatusExample--; } -core.List buildUnnamed5073() => [ +core.List buildUnnamed5117() => [ 'foo', 'foo', ]; -void checkUnnamed5073(core.List o) { +void checkUnnamed5117(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2706,12 +2743,12 @@ void checkUnnamed5073(core.List o) { ); } -core.List buildUnnamed5074() => [ +core.List buildUnnamed5118() => [ 'foo', 'foo', ]; -void checkUnnamed5074(core.List o) { +void checkUnnamed5118(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2729,8 +2766,8 @@ api.DatafeedTarget buildDatafeedTarget() { buildCounterDatafeedTarget++; if (buildCounterDatafeedTarget < 3) { o.country = 'foo'; - o.excludedDestinations = buildUnnamed5073(); - o.includedDestinations = buildUnnamed5074(); + o.excludedDestinations = buildUnnamed5117(); + o.includedDestinations = buildUnnamed5118(); o.language = 'foo'; } buildCounterDatafeedTarget--; @@ -2744,8 +2781,8 @@ void checkDatafeedTarget(api.DatafeedTarget o) { o.country!, unittest.equals('foo'), ); - checkUnnamed5073(o.excludedDestinations!); - checkUnnamed5074(o.includedDestinations!); + checkUnnamed5117(o.excludedDestinations!); + checkUnnamed5118(o.includedDestinations!); unittest.expect( o.language!, unittest.equals('foo'), @@ -2754,12 +2791,12 @@ void checkDatafeedTarget(api.DatafeedTarget o) { buildCounterDatafeedTarget--; } -core.List buildUnnamed5075() => [ +core.List buildUnnamed5119() => [ buildDatafeedsCustomBatchRequestEntry(), buildDatafeedsCustomBatchRequestEntry(), ]; -void checkUnnamed5075(core.List o) { +void checkUnnamed5119(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedsCustomBatchRequestEntry(o[0]); checkDatafeedsCustomBatchRequestEntry(o[1]); @@ -2770,7 +2807,7 @@ api.DatafeedsCustomBatchRequest buildDatafeedsCustomBatchRequest() { final o = api.DatafeedsCustomBatchRequest(); buildCounterDatafeedsCustomBatchRequest++; if (buildCounterDatafeedsCustomBatchRequest < 3) { - o.entries = buildUnnamed5075(); + o.entries = buildUnnamed5119(); } buildCounterDatafeedsCustomBatchRequest--; return o; @@ -2779,7 +2816,7 @@ api.DatafeedsCustomBatchRequest buildDatafeedsCustomBatchRequest() { void checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { buildCounterDatafeedsCustomBatchRequest++; if (buildCounterDatafeedsCustomBatchRequest < 3) { - checkUnnamed5075(o.entries!); + checkUnnamed5119(o.entries!); } buildCounterDatafeedsCustomBatchRequest--; } @@ -2824,12 +2861,12 @@ void checkDatafeedsCustomBatchRequestEntry( buildCounterDatafeedsCustomBatchRequestEntry--; } -core.List buildUnnamed5076() => [ +core.List buildUnnamed5120() => [ buildDatafeedsCustomBatchResponseEntry(), buildDatafeedsCustomBatchResponseEntry(), ]; -void checkUnnamed5076(core.List o) { +void checkUnnamed5120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedsCustomBatchResponseEntry(o[0]); checkDatafeedsCustomBatchResponseEntry(o[1]); @@ -2840,7 +2877,7 @@ api.DatafeedsCustomBatchResponse buildDatafeedsCustomBatchResponse() { final o = api.DatafeedsCustomBatchResponse(); buildCounterDatafeedsCustomBatchResponse++; if (buildCounterDatafeedsCustomBatchResponse < 3) { - o.entries = buildUnnamed5076(); + o.entries = buildUnnamed5120(); o.kind = 'foo'; } buildCounterDatafeedsCustomBatchResponse--; @@ -2850,7 +2887,7 @@ api.DatafeedsCustomBatchResponse buildDatafeedsCustomBatchResponse() { void checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { buildCounterDatafeedsCustomBatchResponse++; if (buildCounterDatafeedsCustomBatchResponse < 3) { - checkUnnamed5076(o.entries!); + checkUnnamed5120(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2908,12 +2945,12 @@ void checkDatafeedsFetchNowResponse(api.DatafeedsFetchNowResponse o) { buildCounterDatafeedsFetchNowResponse--; } -core.List buildUnnamed5077() => [ +core.List buildUnnamed5121() => [ buildDatafeed(), buildDatafeed(), ]; -void checkUnnamed5077(core.List o) { +void checkUnnamed5121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeed(o[0]); checkDatafeed(o[1]); @@ -2926,7 +2963,7 @@ api.DatafeedsListResponse buildDatafeedsListResponse() { if (buildCounterDatafeedsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5077(); + o.resources = buildUnnamed5121(); } buildCounterDatafeedsListResponse--; return o; @@ -2943,17 +2980,17 @@ void checkDatafeedsListResponse(api.DatafeedsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5077(o.resources!); + checkUnnamed5121(o.resources!); } buildCounterDatafeedsListResponse--; } -core.List buildUnnamed5078() => [ +core.List buildUnnamed5122() => [ buildDatafeedstatusesCustomBatchRequestEntry(), buildDatafeedstatusesCustomBatchRequestEntry(), ]; -void checkUnnamed5078( +void checkUnnamed5122( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedstatusesCustomBatchRequestEntry(o[0]); @@ -2966,7 +3003,7 @@ api.DatafeedstatusesCustomBatchRequest final o = api.DatafeedstatusesCustomBatchRequest(); buildCounterDatafeedstatusesCustomBatchRequest++; if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed5078(); + o.entries = buildUnnamed5122(); } buildCounterDatafeedstatusesCustomBatchRequest--; return o; @@ -2976,7 +3013,7 @@ void checkDatafeedstatusesCustomBatchRequest( api.DatafeedstatusesCustomBatchRequest o) { buildCounterDatafeedstatusesCustomBatchRequest++; if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { - checkUnnamed5078(o.entries!); + checkUnnamed5122(o.entries!); } buildCounterDatafeedstatusesCustomBatchRequest--; } @@ -3030,12 +3067,12 @@ void checkDatafeedstatusesCustomBatchRequestEntry( buildCounterDatafeedstatusesCustomBatchRequestEntry--; } -core.List buildUnnamed5079() => [ +core.List buildUnnamed5123() => [ buildDatafeedstatusesCustomBatchResponseEntry(), buildDatafeedstatusesCustomBatchResponseEntry(), ]; -void checkUnnamed5079( +void checkUnnamed5123( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedstatusesCustomBatchResponseEntry(o[0]); @@ -3048,7 +3085,7 @@ api.DatafeedstatusesCustomBatchResponse final o = api.DatafeedstatusesCustomBatchResponse(); buildCounterDatafeedstatusesCustomBatchResponse++; if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed5079(); + o.entries = buildUnnamed5123(); o.kind = 'foo'; } buildCounterDatafeedstatusesCustomBatchResponse--; @@ -3059,7 +3096,7 @@ void checkDatafeedstatusesCustomBatchResponse( api.DatafeedstatusesCustomBatchResponse o) { buildCounterDatafeedstatusesCustomBatchResponse++; if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { - checkUnnamed5079(o.entries!); + checkUnnamed5123(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3096,12 +3133,12 @@ void checkDatafeedstatusesCustomBatchResponseEntry( buildCounterDatafeedstatusesCustomBatchResponseEntry--; } -core.List buildUnnamed5080() => [ +core.List buildUnnamed5124() => [ buildDatafeedStatus(), buildDatafeedStatus(), ]; -void checkUnnamed5080(core.List o) { +void checkUnnamed5124(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatafeedStatus(o[0]); checkDatafeedStatus(o[1]); @@ -3114,7 +3151,7 @@ api.DatafeedstatusesListResponse buildDatafeedstatusesListResponse() { if (buildCounterDatafeedstatusesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5080(); + o.resources = buildUnnamed5124(); } buildCounterDatafeedstatusesListResponse--; return o; @@ -3131,7 +3168,7 @@ void checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5080(o.resources!); + checkUnnamed5124(o.resources!); } buildCounterDatafeedstatusesListResponse--; } @@ -3227,23 +3264,23 @@ void checkDateTime(api.DateTime o) { buildCounterDateTime--; } -core.List buildUnnamed5081() => [ +core.List buildUnnamed5125() => [ buildHolidayCutoff(), buildHolidayCutoff(), ]; -void checkUnnamed5081(core.List o) { +void checkUnnamed5125(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHolidayCutoff(o[0]); checkHolidayCutoff(o[1]); } -core.List buildUnnamed5082() => [ +core.List buildUnnamed5126() => [ buildWarehouseBasedDeliveryTime(), buildWarehouseBasedDeliveryTime(), ]; -void checkUnnamed5082(core.List o) { +void checkUnnamed5126(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWarehouseBasedDeliveryTime(o[0]); checkWarehouseBasedDeliveryTime(o[1]); @@ -3256,14 +3293,14 @@ api.DeliveryTime buildDeliveryTime() { if (buildCounterDeliveryTime < 3) { o.cutoffTime = buildCutoffTime(); o.handlingBusinessDayConfig = buildBusinessDayConfig(); - o.holidayCutoffs = buildUnnamed5081(); + o.holidayCutoffs = buildUnnamed5125(); o.maxHandlingTimeInDays = 42; o.maxTransitTimeInDays = 42; o.minHandlingTimeInDays = 42; o.minTransitTimeInDays = 42; o.transitBusinessDayConfig = buildBusinessDayConfig(); o.transitTimeTable = buildTransitTable(); - o.warehouseBasedDeliveryTimes = buildUnnamed5082(); + o.warehouseBasedDeliveryTimes = buildUnnamed5126(); } buildCounterDeliveryTime--; return o; @@ -3274,7 +3311,7 @@ void checkDeliveryTime(api.DeliveryTime o) { if (buildCounterDeliveryTime < 3) { checkCutoffTime(o.cutoffTime!); checkBusinessDayConfig(o.handlingBusinessDayConfig!); - checkUnnamed5081(o.holidayCutoffs!); + checkUnnamed5125(o.holidayCutoffs!); unittest.expect( o.maxHandlingTimeInDays!, unittest.equals(42), @@ -3293,7 +3330,7 @@ void checkDeliveryTime(api.DeliveryTime o) { ); checkBusinessDayConfig(o.transitBusinessDayConfig!); checkTransitTable(o.transitTimeTable!); - checkUnnamed5082(o.warehouseBasedDeliveryTimes!); + checkUnnamed5126(o.warehouseBasedDeliveryTimes!); } buildCounterDeliveryTime--; } @@ -3330,12 +3367,12 @@ void checkError(api.Error o) { buildCounterError--; } -core.List buildUnnamed5083() => [ +core.List buildUnnamed5127() => [ buildError(), buildError(), ]; -void checkUnnamed5083(core.List o) { +void checkUnnamed5127(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -3347,7 +3384,7 @@ api.Errors buildErrors() { buildCounterErrors++; if (buildCounterErrors < 3) { o.code = 42; - o.errors = buildUnnamed5083(); + o.errors = buildUnnamed5127(); o.message = 'foo'; } buildCounterErrors--; @@ -3361,7 +3398,7 @@ void checkErrors(api.Errors o) { o.code!, unittest.equals(42), ); - checkUnnamed5083(o.errors!); + checkUnnamed5127(o.errors!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3370,12 +3407,129 @@ void checkErrors(api.Errors o) { buildCounterErrors--; } -core.List buildUnnamed5084() => [ +core.List buildUnnamed5128() => [ + buildFreeListingsProgramStatusRegionStatus(), + buildFreeListingsProgramStatusRegionStatus(), + ]; + +void checkUnnamed5128(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkFreeListingsProgramStatusRegionStatus(o[0]); + checkFreeListingsProgramStatusRegionStatus(o[1]); +} + +core.int buildCounterFreeListingsProgramStatus = 0; +api.FreeListingsProgramStatus buildFreeListingsProgramStatus() { + final o = api.FreeListingsProgramStatus(); + buildCounterFreeListingsProgramStatus++; + if (buildCounterFreeListingsProgramStatus < 3) { + o.regionStatuses = buildUnnamed5128(); + o.state = 'foo'; + } + buildCounterFreeListingsProgramStatus--; + return o; +} + +void checkFreeListingsProgramStatus(api.FreeListingsProgramStatus o) { + buildCounterFreeListingsProgramStatus++; + if (buildCounterFreeListingsProgramStatus < 3) { + checkUnnamed5128(o.regionStatuses!); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + } + buildCounterFreeListingsProgramStatus--; +} + +core.List buildUnnamed5129() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5129(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed5130() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5130(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterFreeListingsProgramStatusRegionStatus = 0; +api.FreeListingsProgramStatusRegionStatus + buildFreeListingsProgramStatusRegionStatus() { + final o = api.FreeListingsProgramStatusRegionStatus(); + buildCounterFreeListingsProgramStatusRegionStatus++; + if (buildCounterFreeListingsProgramStatusRegionStatus < 3) { + o.disapprovalDate = 'foo'; + o.eligibilityStatus = 'foo'; + o.enhancedEligibilityStatus = 'foo'; + o.ineligibilityReason = 'foo'; + o.regionCodes = buildUnnamed5129(); + o.reviewEligibilityStatus = 'foo'; + o.reviewIssues = buildUnnamed5130(); + } + buildCounterFreeListingsProgramStatusRegionStatus--; + return o; +} + +void checkFreeListingsProgramStatusRegionStatus( + api.FreeListingsProgramStatusRegionStatus o) { + buildCounterFreeListingsProgramStatusRegionStatus++; + if (buildCounterFreeListingsProgramStatusRegionStatus < 3) { + unittest.expect( + o.disapprovalDate!, + unittest.equals('foo'), + ); + unittest.expect( + o.eligibilityStatus!, + unittest.equals('foo'), + ); + unittest.expect( + o.enhancedEligibilityStatus!, + unittest.equals('foo'), + ); + unittest.expect( + o.ineligibilityReason!, + unittest.equals('foo'), + ); + checkUnnamed5129(o.regionCodes!); + unittest.expect( + o.reviewEligibilityStatus!, + unittest.equals('foo'), + ); + checkUnnamed5130(o.reviewIssues!); + } + buildCounterFreeListingsProgramStatusRegionStatus--; +} + +core.List buildUnnamed5131() => [ buildGmbAccountsGmbAccount(), buildGmbAccountsGmbAccount(), ]; -void checkUnnamed5084(core.List o) { +void checkUnnamed5131(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGmbAccountsGmbAccount(o[0]); checkGmbAccountsGmbAccount(o[1]); @@ -3387,7 +3541,7 @@ api.GmbAccounts buildGmbAccounts() { buildCounterGmbAccounts++; if (buildCounterGmbAccounts < 3) { o.accountId = 'foo'; - o.gmbAccounts = buildUnnamed5084(); + o.gmbAccounts = buildUnnamed5131(); } buildCounterGmbAccounts--; return o; @@ -3400,7 +3554,7 @@ void checkGmbAccounts(api.GmbAccounts o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5084(o.gmbAccounts!); + checkUnnamed5131(o.gmbAccounts!); } buildCounterGmbAccounts--; } @@ -3442,23 +3596,23 @@ void checkGmbAccountsGmbAccount(api.GmbAccountsGmbAccount o) { buildCounterGmbAccountsGmbAccount--; } -core.List buildUnnamed5085() => [ +core.List buildUnnamed5132() => [ buildLocationIdSet(), buildLocationIdSet(), ]; -void checkUnnamed5085(core.List o) { +void checkUnnamed5132(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocationIdSet(o[0]); checkLocationIdSet(o[1]); } -core.List buildUnnamed5086() => [ +core.List buildUnnamed5133() => [ 'foo', 'foo', ]; -void checkUnnamed5086(core.List o) { +void checkUnnamed5133(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3470,12 +3624,12 @@ void checkUnnamed5086(core.List o) { ); } -core.List buildUnnamed5087() => [ +core.List buildUnnamed5134() => [ 'foo', 'foo', ]; -void checkUnnamed5087(core.List o) { +void checkUnnamed5134(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3487,23 +3641,23 @@ void checkUnnamed5087(core.List o) { ); } -core.List buildUnnamed5088() => [ +core.List buildUnnamed5135() => [ buildPrice(), buildPrice(), ]; -void checkUnnamed5088(core.List o) { +void checkUnnamed5135(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrice(o[0]); checkPrice(o[1]); } -core.List buildUnnamed5089() => [ +core.List buildUnnamed5136() => [ buildWeight(), buildWeight(), ]; -void checkUnnamed5089(core.List o) { +void checkUnnamed5136(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWeight(o[0]); checkWeight(o[1]); @@ -3514,11 +3668,11 @@ api.Headers buildHeaders() { final o = api.Headers(); buildCounterHeaders++; if (buildCounterHeaders < 3) { - o.locations = buildUnnamed5085(); - o.numberOfItems = buildUnnamed5086(); - o.postalCodeGroupNames = buildUnnamed5087(); - o.prices = buildUnnamed5088(); - o.weights = buildUnnamed5089(); + o.locations = buildUnnamed5132(); + o.numberOfItems = buildUnnamed5133(); + o.postalCodeGroupNames = buildUnnamed5134(); + o.prices = buildUnnamed5135(); + o.weights = buildUnnamed5136(); } buildCounterHeaders--; return o; @@ -3527,11 +3681,11 @@ api.Headers buildHeaders() { void checkHeaders(api.Headers o) { buildCounterHeaders++; if (buildCounterHeaders < 3) { - checkUnnamed5085(o.locations!); - checkUnnamed5086(o.numberOfItems!); - checkUnnamed5087(o.postalCodeGroupNames!); - checkUnnamed5088(o.prices!); - checkUnnamed5089(o.weights!); + checkUnnamed5132(o.locations!); + checkUnnamed5133(o.numberOfItems!); + checkUnnamed5134(o.postalCodeGroupNames!); + checkUnnamed5135(o.prices!); + checkUnnamed5136(o.weights!); } buildCounterHeaders--; } @@ -3676,12 +3830,12 @@ void checkInstallment(api.Installment o) { buildCounterInstallment--; } -core.List buildUnnamed5090() => [ +core.List buildUnnamed5137() => [ buildInvoiceSummaryAdditionalChargeSummary(), buildInvoiceSummaryAdditionalChargeSummary(), ]; -void checkUnnamed5090(core.List o) { +void checkUnnamed5137(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInvoiceSummaryAdditionalChargeSummary(o[0]); checkInvoiceSummaryAdditionalChargeSummary(o[1]); @@ -3692,7 +3846,7 @@ api.InvoiceSummary buildInvoiceSummary() { final o = api.InvoiceSummary(); buildCounterInvoiceSummary++; if (buildCounterInvoiceSummary < 3) { - o.additionalChargeSummaries = buildUnnamed5090(); + o.additionalChargeSummaries = buildUnnamed5137(); o.productTotal = buildAmount(); } buildCounterInvoiceSummary--; @@ -3702,7 +3856,7 @@ api.InvoiceSummary buildInvoiceSummary() { void checkInvoiceSummary(api.InvoiceSummary o) { buildCounterInvoiceSummary++; if (buildCounterInvoiceSummary < 3) { - checkUnnamed5090(o.additionalChargeSummaries!); + checkUnnamed5137(o.additionalChargeSummaries!); checkAmount(o.productTotal!); } buildCounterInvoiceSummary--; @@ -3734,12 +3888,12 @@ void checkInvoiceSummaryAdditionalChargeSummary( buildCounterInvoiceSummaryAdditionalChargeSummary--; } -core.List buildUnnamed5091() => [ +core.List buildUnnamed5138() => [ 'foo', 'foo', ]; -void checkUnnamed5091(core.List o) { +void checkUnnamed5138(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3756,7 +3910,7 @@ api.LabelIds buildLabelIds() { final o = api.LabelIds(); buildCounterLabelIds++; if (buildCounterLabelIds < 3) { - o.labelIds = buildUnnamed5091(); + o.labelIds = buildUnnamed5138(); } buildCounterLabelIds--; return o; @@ -3765,7 +3919,7 @@ api.LabelIds buildLabelIds() { void checkLabelIds(api.LabelIds o) { buildCounterLabelIds++; if (buildCounterLabelIds < 3) { - checkUnnamed5091(o.labelIds!); + checkUnnamed5138(o.labelIds!); } buildCounterLabelIds--; } @@ -3922,12 +4076,12 @@ void checkLiaPosDataProvider(api.LiaPosDataProvider o) { buildCounterLiaPosDataProvider--; } -core.List buildUnnamed5092() => [ +core.List buildUnnamed5139() => [ buildLiaCountrySettings(), buildLiaCountrySettings(), ]; -void checkUnnamed5092(core.List o) { +void checkUnnamed5139(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiaCountrySettings(o[0]); checkLiaCountrySettings(o[1]); @@ -3939,7 +4093,7 @@ api.LiaSettings buildLiaSettings() { buildCounterLiaSettings++; if (buildCounterLiaSettings < 3) { o.accountId = 'foo'; - o.countrySettings = buildUnnamed5092(); + o.countrySettings = buildUnnamed5139(); o.kind = 'foo'; } buildCounterLiaSettings--; @@ -3953,7 +4107,7 @@ void checkLiaSettings(api.LiaSettings o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5092(o.countrySettings!); + checkUnnamed5139(o.countrySettings!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3962,12 +4116,12 @@ void checkLiaSettings(api.LiaSettings o) { buildCounterLiaSettings--; } -core.List buildUnnamed5093() => [ +core.List buildUnnamed5140() => [ buildLiasettingsCustomBatchRequestEntry(), buildLiasettingsCustomBatchRequestEntry(), ]; -void checkUnnamed5093(core.List o) { +void checkUnnamed5140(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiasettingsCustomBatchRequestEntry(o[0]); checkLiasettingsCustomBatchRequestEntry(o[1]); @@ -3978,7 +4132,7 @@ api.LiasettingsCustomBatchRequest buildLiasettingsCustomBatchRequest() { final o = api.LiasettingsCustomBatchRequest(); buildCounterLiasettingsCustomBatchRequest++; if (buildCounterLiasettingsCustomBatchRequest < 3) { - o.entries = buildUnnamed5093(); + o.entries = buildUnnamed5140(); } buildCounterLiasettingsCustomBatchRequest--; return o; @@ -3987,7 +4141,7 @@ api.LiasettingsCustomBatchRequest buildLiasettingsCustomBatchRequest() { void checkLiasettingsCustomBatchRequest(api.LiasettingsCustomBatchRequest o) { buildCounterLiasettingsCustomBatchRequest++; if (buildCounterLiasettingsCustomBatchRequest < 3) { - checkUnnamed5093(o.entries!); + checkUnnamed5140(o.entries!); } buildCounterLiasettingsCustomBatchRequest--; } @@ -4063,12 +4217,12 @@ void checkLiasettingsCustomBatchRequestEntry( buildCounterLiasettingsCustomBatchRequestEntry--; } -core.List buildUnnamed5094() => [ +core.List buildUnnamed5141() => [ buildLiasettingsCustomBatchResponseEntry(), buildLiasettingsCustomBatchResponseEntry(), ]; -void checkUnnamed5094(core.List o) { +void checkUnnamed5141(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiasettingsCustomBatchResponseEntry(o[0]); checkLiasettingsCustomBatchResponseEntry(o[1]); @@ -4079,7 +4233,7 @@ api.LiasettingsCustomBatchResponse buildLiasettingsCustomBatchResponse() { final o = api.LiasettingsCustomBatchResponse(); buildCounterLiasettingsCustomBatchResponse++; if (buildCounterLiasettingsCustomBatchResponse < 3) { - o.entries = buildUnnamed5094(); + o.entries = buildUnnamed5141(); o.kind = 'foo'; } buildCounterLiasettingsCustomBatchResponse--; @@ -4089,7 +4243,7 @@ api.LiasettingsCustomBatchResponse buildLiasettingsCustomBatchResponse() { void checkLiasettingsCustomBatchResponse(api.LiasettingsCustomBatchResponse o) { buildCounterLiasettingsCustomBatchResponse++; if (buildCounterLiasettingsCustomBatchResponse < 3) { - checkUnnamed5094(o.entries!); + checkUnnamed5141(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4098,12 +4252,12 @@ void checkLiasettingsCustomBatchResponse(api.LiasettingsCustomBatchResponse o) { buildCounterLiasettingsCustomBatchResponse--; } -core.List buildUnnamed5095() => [ +core.List buildUnnamed5142() => [ buildPosDataProviders(), buildPosDataProviders(), ]; -void checkUnnamed5095(core.List o) { +void checkUnnamed5142(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosDataProviders(o[0]); checkPosDataProviders(o[1]); @@ -4120,7 +4274,7 @@ api.LiasettingsCustomBatchResponseEntry o.gmbAccounts = buildGmbAccounts(); o.kind = 'foo'; o.liaSettings = buildLiaSettings(); - o.posDataProviders = buildUnnamed5095(); + o.posDataProviders = buildUnnamed5142(); } buildCounterLiasettingsCustomBatchResponseEntry--; return o; @@ -4141,17 +4295,17 @@ void checkLiasettingsCustomBatchResponseEntry( unittest.equals('foo'), ); checkLiaSettings(o.liaSettings!); - checkUnnamed5095(o.posDataProviders!); + checkUnnamed5142(o.posDataProviders!); } buildCounterLiasettingsCustomBatchResponseEntry--; } -core.List buildUnnamed5096() => [ +core.List buildUnnamed5143() => [ buildGmbAccountsGmbAccount(), buildGmbAccountsGmbAccount(), ]; -void checkUnnamed5096(core.List o) { +void checkUnnamed5143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGmbAccountsGmbAccount(o[0]); checkGmbAccountsGmbAccount(o[1]); @@ -4164,7 +4318,7 @@ api.LiasettingsGetAccessibleGmbAccountsResponse buildCounterLiasettingsGetAccessibleGmbAccountsResponse++; if (buildCounterLiasettingsGetAccessibleGmbAccountsResponse < 3) { o.accountId = 'foo'; - o.gmbAccounts = buildUnnamed5096(); + o.gmbAccounts = buildUnnamed5143(); o.kind = 'foo'; } buildCounterLiasettingsGetAccessibleGmbAccountsResponse--; @@ -4179,7 +4333,7 @@ void checkLiasettingsGetAccessibleGmbAccountsResponse( o.accountId!, unittest.equals('foo'), ); - checkUnnamed5096(o.gmbAccounts!); + checkUnnamed5143(o.gmbAccounts!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4188,12 +4342,12 @@ void checkLiasettingsGetAccessibleGmbAccountsResponse( buildCounterLiasettingsGetAccessibleGmbAccountsResponse--; } -core.List buildUnnamed5097() => [ +core.List buildUnnamed5144() => [ buildPosDataProviders(), buildPosDataProviders(), ]; -void checkUnnamed5097(core.List o) { +void checkUnnamed5144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosDataProviders(o[0]); checkPosDataProviders(o[1]); @@ -4206,7 +4360,7 @@ api.LiasettingsListPosDataProvidersResponse buildCounterLiasettingsListPosDataProvidersResponse++; if (buildCounterLiasettingsListPosDataProvidersResponse < 3) { o.kind = 'foo'; - o.posDataProviders = buildUnnamed5097(); + o.posDataProviders = buildUnnamed5144(); } buildCounterLiasettingsListPosDataProvidersResponse--; return o; @@ -4220,17 +4374,17 @@ void checkLiasettingsListPosDataProvidersResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5097(o.posDataProviders!); + checkUnnamed5144(o.posDataProviders!); } buildCounterLiasettingsListPosDataProvidersResponse--; } -core.List buildUnnamed5098() => [ +core.List buildUnnamed5145() => [ buildLiaSettings(), buildLiaSettings(), ]; -void checkUnnamed5098(core.List o) { +void checkUnnamed5145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiaSettings(o[0]); checkLiaSettings(o[1]); @@ -4243,7 +4397,7 @@ api.LiasettingsListResponse buildLiasettingsListResponse() { if (buildCounterLiasettingsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5098(); + o.resources = buildUnnamed5145(); } buildCounterLiasettingsListResponse--; return o; @@ -4260,7 +4414,7 @@ void checkLiasettingsListResponse(api.LiasettingsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5098(o.resources!); + checkUnnamed5145(o.resources!); } buildCounterLiasettingsListResponse--; } @@ -4388,12 +4542,12 @@ void checkLinkService(api.LinkService o) { buildCounterLinkService--; } -core.List buildUnnamed5099() => [ +core.List buildUnnamed5146() => [ buildLinkService(), buildLinkService(), ]; -void checkUnnamed5099(core.List o) { +void checkUnnamed5146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLinkService(o[0]); checkLinkService(o[1]); @@ -4405,7 +4559,7 @@ api.LinkedAccount buildLinkedAccount() { buildCounterLinkedAccount++; if (buildCounterLinkedAccount < 3) { o.linkedAccountId = 'foo'; - o.services = buildUnnamed5099(); + o.services = buildUnnamed5146(); } buildCounterLinkedAccount--; return o; @@ -4418,17 +4572,17 @@ void checkLinkedAccount(api.LinkedAccount o) { o.linkedAccountId!, unittest.equals('foo'), ); - checkUnnamed5099(o.services!); + checkUnnamed5146(o.services!); } buildCounterLinkedAccount--; } -core.List buildUnnamed5100() => [ +core.List buildUnnamed5147() => [ buildAccountLabel(), buildAccountLabel(), ]; -void checkUnnamed5100(core.List o) { +void checkUnnamed5147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountLabel(o[0]); checkAccountLabel(o[1]); @@ -4439,7 +4593,7 @@ api.ListAccountLabelsResponse buildListAccountLabelsResponse() { final o = api.ListAccountLabelsResponse(); buildCounterListAccountLabelsResponse++; if (buildCounterListAccountLabelsResponse < 3) { - o.accountLabels = buildUnnamed5100(); + o.accountLabels = buildUnnamed5147(); o.nextPageToken = 'foo'; } buildCounterListAccountLabelsResponse--; @@ -4449,7 +4603,7 @@ api.ListAccountLabelsResponse buildListAccountLabelsResponse() { void checkListAccountLabelsResponse(api.ListAccountLabelsResponse o) { buildCounterListAccountLabelsResponse++; if (buildCounterListAccountLabelsResponse < 3) { - checkUnnamed5100(o.accountLabels!); + checkUnnamed5147(o.accountLabels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4458,12 +4612,12 @@ void checkListAccountLabelsResponse(api.ListAccountLabelsResponse o) { buildCounterListAccountLabelsResponse--; } -core.List buildUnnamed5101() => [ +core.List buildUnnamed5148() => [ buildAccountReturnCarrier(), buildAccountReturnCarrier(), ]; -void checkUnnamed5101(core.List o) { +void checkUnnamed5148(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountReturnCarrier(o[0]); checkAccountReturnCarrier(o[1]); @@ -4474,7 +4628,7 @@ api.ListAccountReturnCarrierResponse buildListAccountReturnCarrierResponse() { final o = api.ListAccountReturnCarrierResponse(); buildCounterListAccountReturnCarrierResponse++; if (buildCounterListAccountReturnCarrierResponse < 3) { - o.accountReturnCarriers = buildUnnamed5101(); + o.accountReturnCarriers = buildUnnamed5148(); } buildCounterListAccountReturnCarrierResponse--; return o; @@ -4484,17 +4638,17 @@ void checkListAccountReturnCarrierResponse( api.ListAccountReturnCarrierResponse o) { buildCounterListAccountReturnCarrierResponse++; if (buildCounterListAccountReturnCarrierResponse < 3) { - checkUnnamed5101(o.accountReturnCarriers!); + checkUnnamed5148(o.accountReturnCarriers!); } buildCounterListAccountReturnCarrierResponse--; } -core.List buildUnnamed5102() => [ +core.List buildUnnamed5149() => [ buildCollectionStatus(), buildCollectionStatus(), ]; -void checkUnnamed5102(core.List o) { +void checkUnnamed5149(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectionStatus(o[0]); checkCollectionStatus(o[1]); @@ -4506,7 +4660,7 @@ api.ListCollectionStatusesResponse buildListCollectionStatusesResponse() { buildCounterListCollectionStatusesResponse++; if (buildCounterListCollectionStatusesResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed5102(); + o.resources = buildUnnamed5149(); } buildCounterListCollectionStatusesResponse--; return o; @@ -4519,17 +4673,17 @@ void checkListCollectionStatusesResponse(api.ListCollectionStatusesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5102(o.resources!); + checkUnnamed5149(o.resources!); } buildCounterListCollectionStatusesResponse--; } -core.List buildUnnamed5103() => [ +core.List buildUnnamed5150() => [ buildCollection(), buildCollection(), ]; -void checkUnnamed5103(core.List o) { +void checkUnnamed5150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollection(o[0]); checkCollection(o[1]); @@ -4541,7 +4695,7 @@ api.ListCollectionsResponse buildListCollectionsResponse() { buildCounterListCollectionsResponse++; if (buildCounterListCollectionsResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed5103(); + o.resources = buildUnnamed5150(); } buildCounterListCollectionsResponse--; return o; @@ -4554,17 +4708,17 @@ void checkListCollectionsResponse(api.ListCollectionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5103(o.resources!); + checkUnnamed5150(o.resources!); } buildCounterListCollectionsResponse--; } -core.List buildUnnamed5104() => [ +core.List buildUnnamed5151() => [ buildCss(), buildCss(), ]; -void checkUnnamed5104(core.List o) { +void checkUnnamed5151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCss(o[0]); checkCss(o[1]); @@ -4575,7 +4729,7 @@ api.ListCssesResponse buildListCssesResponse() { final o = api.ListCssesResponse(); buildCounterListCssesResponse++; if (buildCounterListCssesResponse < 3) { - o.csses = buildUnnamed5104(); + o.csses = buildUnnamed5151(); o.nextPageToken = 'foo'; } buildCounterListCssesResponse--; @@ -4585,7 +4739,7 @@ api.ListCssesResponse buildListCssesResponse() { void checkListCssesResponse(api.ListCssesResponse o) { buildCounterListCssesResponse++; if (buildCounterListCssesResponse < 3) { - checkUnnamed5104(o.csses!); + checkUnnamed5151(o.csses!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4594,12 +4748,12 @@ void checkListCssesResponse(api.ListCssesResponse o) { buildCounterListCssesResponse--; } -core.List buildUnnamed5105() => [ +core.List buildUnnamed5152() => [ buildRegion(), buildRegion(), ]; -void checkUnnamed5105(core.List o) { +void checkUnnamed5152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -4611,7 +4765,7 @@ api.ListRegionsResponse buildListRegionsResponse() { buildCounterListRegionsResponse++; if (buildCounterListRegionsResponse < 3) { o.nextPageToken = 'foo'; - o.regions = buildUnnamed5105(); + o.regions = buildUnnamed5152(); } buildCounterListRegionsResponse--; return o; @@ -4624,17 +4778,17 @@ void checkListRegionsResponse(api.ListRegionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5105(o.regions!); + checkUnnamed5152(o.regions!); } buildCounterListRegionsResponse--; } -core.List buildUnnamed5106() => [ +core.List buildUnnamed5153() => [ buildRepricingProductReport(), buildRepricingProductReport(), ]; -void checkUnnamed5106(core.List o) { +void checkUnnamed5153(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepricingProductReport(o[0]); checkRepricingProductReport(o[1]); @@ -4647,7 +4801,7 @@ api.ListRepricingProductReportsResponse buildCounterListRepricingProductReportsResponse++; if (buildCounterListRepricingProductReportsResponse < 3) { o.nextPageToken = 'foo'; - o.repricingProductReports = buildUnnamed5106(); + o.repricingProductReports = buildUnnamed5153(); } buildCounterListRepricingProductReportsResponse--; return o; @@ -4661,17 +4815,17 @@ void checkListRepricingProductReportsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5106(o.repricingProductReports!); + checkUnnamed5153(o.repricingProductReports!); } buildCounterListRepricingProductReportsResponse--; } -core.List buildUnnamed5107() => [ +core.List buildUnnamed5154() => [ buildRepricingRuleReport(), buildRepricingRuleReport(), ]; -void checkUnnamed5107(core.List o) { +void checkUnnamed5154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepricingRuleReport(o[0]); checkRepricingRuleReport(o[1]); @@ -4683,7 +4837,7 @@ api.ListRepricingRuleReportsResponse buildListRepricingRuleReportsResponse() { buildCounterListRepricingRuleReportsResponse++; if (buildCounterListRepricingRuleReportsResponse < 3) { o.nextPageToken = 'foo'; - o.repricingRuleReports = buildUnnamed5107(); + o.repricingRuleReports = buildUnnamed5154(); } buildCounterListRepricingRuleReportsResponse--; return o; @@ -4697,17 +4851,17 @@ void checkListRepricingRuleReportsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5107(o.repricingRuleReports!); + checkUnnamed5154(o.repricingRuleReports!); } buildCounterListRepricingRuleReportsResponse--; } -core.List buildUnnamed5108() => [ +core.List buildUnnamed5155() => [ buildRepricingRule(), buildRepricingRule(), ]; -void checkUnnamed5108(core.List o) { +void checkUnnamed5155(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepricingRule(o[0]); checkRepricingRule(o[1]); @@ -4719,7 +4873,7 @@ api.ListRepricingRulesResponse buildListRepricingRulesResponse() { buildCounterListRepricingRulesResponse++; if (buildCounterListRepricingRulesResponse < 3) { o.nextPageToken = 'foo'; - o.repricingRules = buildUnnamed5108(); + o.repricingRules = buildUnnamed5155(); } buildCounterListRepricingRulesResponse--; return o; @@ -4732,17 +4886,17 @@ void checkListRepricingRulesResponse(api.ListRepricingRulesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5108(o.repricingRules!); + checkUnnamed5155(o.repricingRules!); } buildCounterListRepricingRulesResponse--; } -core.List buildUnnamed5109() => [ +core.List buildUnnamed5156() => [ buildReturnPolicyOnline(), buildReturnPolicyOnline(), ]; -void checkUnnamed5109(core.List o) { +void checkUnnamed5156(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicyOnline(o[0]); checkReturnPolicyOnline(o[1]); @@ -4753,7 +4907,7 @@ api.ListReturnPolicyOnlineResponse buildListReturnPolicyOnlineResponse() { final o = api.ListReturnPolicyOnlineResponse(); buildCounterListReturnPolicyOnlineResponse++; if (buildCounterListReturnPolicyOnlineResponse < 3) { - o.returnPolicies = buildUnnamed5109(); + o.returnPolicies = buildUnnamed5156(); } buildCounterListReturnPolicyOnlineResponse--; return o; @@ -4762,7 +4916,7 @@ api.ListReturnPolicyOnlineResponse buildListReturnPolicyOnlineResponse() { void checkListReturnPolicyOnlineResponse(api.ListReturnPolicyOnlineResponse o) { buildCounterListReturnPolicyOnlineResponse++; if (buildCounterListReturnPolicyOnlineResponse < 3) { - checkUnnamed5109(o.returnPolicies!); + checkUnnamed5156(o.returnPolicies!); } buildCounterListReturnPolicyOnlineResponse--; } @@ -4828,12 +4982,12 @@ void checkLocalInventory(api.LocalInventory o) { buildCounterLocalInventory--; } -core.List buildUnnamed5110() => [ +core.List buildUnnamed5157() => [ buildLocalinventoryCustomBatchRequestEntry(), buildLocalinventoryCustomBatchRequestEntry(), ]; -void checkUnnamed5110(core.List o) { +void checkUnnamed5157(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalinventoryCustomBatchRequestEntry(o[0]); checkLocalinventoryCustomBatchRequestEntry(o[1]); @@ -4844,7 +4998,7 @@ api.LocalinventoryCustomBatchRequest buildLocalinventoryCustomBatchRequest() { final o = api.LocalinventoryCustomBatchRequest(); buildCounterLocalinventoryCustomBatchRequest++; if (buildCounterLocalinventoryCustomBatchRequest < 3) { - o.entries = buildUnnamed5110(); + o.entries = buildUnnamed5157(); } buildCounterLocalinventoryCustomBatchRequest--; return o; @@ -4854,7 +5008,7 @@ void checkLocalinventoryCustomBatchRequest( api.LocalinventoryCustomBatchRequest o) { buildCounterLocalinventoryCustomBatchRequest++; if (buildCounterLocalinventoryCustomBatchRequest < 3) { - checkUnnamed5110(o.entries!); + checkUnnamed5157(o.entries!); } buildCounterLocalinventoryCustomBatchRequest--; } @@ -4900,12 +5054,12 @@ void checkLocalinventoryCustomBatchRequestEntry( buildCounterLocalinventoryCustomBatchRequestEntry--; } -core.List buildUnnamed5111() => [ +core.List buildUnnamed5158() => [ buildLocalinventoryCustomBatchResponseEntry(), buildLocalinventoryCustomBatchResponseEntry(), ]; -void checkUnnamed5111(core.List o) { +void checkUnnamed5158(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalinventoryCustomBatchResponseEntry(o[0]); checkLocalinventoryCustomBatchResponseEntry(o[1]); @@ -4916,7 +5070,7 @@ api.LocalinventoryCustomBatchResponse buildLocalinventoryCustomBatchResponse() { final o = api.LocalinventoryCustomBatchResponse(); buildCounterLocalinventoryCustomBatchResponse++; if (buildCounterLocalinventoryCustomBatchResponse < 3) { - o.entries = buildUnnamed5111(); + o.entries = buildUnnamed5158(); o.kind = 'foo'; } buildCounterLocalinventoryCustomBatchResponse--; @@ -4927,7 +5081,7 @@ void checkLocalinventoryCustomBatchResponse( api.LocalinventoryCustomBatchResponse o) { buildCounterLocalinventoryCustomBatchResponse++; if (buildCounterLocalinventoryCustomBatchResponse < 3) { - checkUnnamed5111(o.entries!); + checkUnnamed5158(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4967,12 +5121,12 @@ void checkLocalinventoryCustomBatchResponseEntry( buildCounterLocalinventoryCustomBatchResponseEntry--; } -core.List buildUnnamed5112() => [ +core.List buildUnnamed5159() => [ 'foo', 'foo', ]; -void checkUnnamed5112(core.List o) { +void checkUnnamed5159(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4989,7 +5143,7 @@ api.LocationIdSet buildLocationIdSet() { final o = api.LocationIdSet(); buildCounterLocationIdSet++; if (buildCounterLocationIdSet < 3) { - o.locationIds = buildUnnamed5112(); + o.locationIds = buildUnnamed5159(); } buildCounterLocationIdSet--; return o; @@ -4998,7 +5152,7 @@ api.LocationIdSet buildLocationIdSet() { void checkLocationIdSet(api.LocationIdSet o) { buildCounterLocationIdSet++; if (buildCounterLocationIdSet < 3) { - checkUnnamed5112(o.locationIds!); + checkUnnamed5159(o.locationIds!); } buildCounterLocationIdSet--; } @@ -5035,23 +5189,23 @@ void checkLoyaltyPoints(api.LoyaltyPoints o) { buildCounterLoyaltyPoints--; } -core.List buildUnnamed5113() => [ +core.List buildUnnamed5160() => [ buildMerchantOrderReturnItem(), buildMerchantOrderReturnItem(), ]; -void checkUnnamed5113(core.List o) { +void checkUnnamed5160(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMerchantOrderReturnItem(o[0]); checkMerchantOrderReturnItem(o[1]); } -core.List buildUnnamed5114() => [ +core.List buildUnnamed5161() => [ buildReturnShipment(), buildReturnShipment(), ]; -void checkUnnamed5114(core.List o) { +void checkUnnamed5161(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnShipment(o[0]); checkReturnShipment(o[1]); @@ -5066,9 +5220,9 @@ api.MerchantOrderReturn buildMerchantOrderReturn() { o.merchantOrderId = 'foo'; o.orderId = 'foo'; o.orderReturnId = 'foo'; - o.returnItems = buildUnnamed5113(); + o.returnItems = buildUnnamed5160(); o.returnPricingInfo = buildReturnPricingInfo(); - o.returnShipments = buildUnnamed5114(); + o.returnShipments = buildUnnamed5161(); } buildCounterMerchantOrderReturn--; return o; @@ -5093,19 +5247,19 @@ void checkMerchantOrderReturn(api.MerchantOrderReturn o) { o.orderReturnId!, unittest.equals('foo'), ); - checkUnnamed5113(o.returnItems!); + checkUnnamed5160(o.returnItems!); checkReturnPricingInfo(o.returnPricingInfo!); - checkUnnamed5114(o.returnShipments!); + checkUnnamed5161(o.returnShipments!); } buildCounterMerchantOrderReturn--; } -core.List buildUnnamed5115() => [ +core.List buildUnnamed5162() => [ 'foo', 'foo', ]; -void checkUnnamed5115(core.List o) { +void checkUnnamed5162(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5129,7 +5283,7 @@ api.MerchantOrderReturnItem buildMerchantOrderReturnItem() { o.product = buildOrderLineItemProduct(); o.refundableAmount = buildMonetaryAmount(); o.returnItemId = 'foo'; - o.returnShipmentIds = buildUnnamed5115(); + o.returnShipmentIds = buildUnnamed5162(); o.shipmentGroupId = 'foo'; o.shipmentUnitId = 'foo'; o.state = 'foo'; @@ -5154,7 +5308,7 @@ void checkMerchantOrderReturnItem(api.MerchantOrderReturnItem o) { o.returnItemId!, unittest.equals('foo'), ); - checkUnnamed5115(o.returnShipmentIds!); + checkUnnamed5162(o.returnShipmentIds!); unittest.expect( o.shipmentGroupId!, unittest.equals('foo'), @@ -5315,12 +5469,12 @@ void checkMetrics(api.Metrics o) { buildCounterMetrics--; } -core.List buildUnnamed5116() => [ +core.List buildUnnamed5163() => [ buildMinimumOrderValueTableStoreCodeSetWithMov(), buildMinimumOrderValueTableStoreCodeSetWithMov(), ]; -void checkUnnamed5116( +void checkUnnamed5163( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMinimumOrderValueTableStoreCodeSetWithMov(o[0]); @@ -5332,7 +5486,7 @@ api.MinimumOrderValueTable buildMinimumOrderValueTable() { final o = api.MinimumOrderValueTable(); buildCounterMinimumOrderValueTable++; if (buildCounterMinimumOrderValueTable < 3) { - o.storeCodeSetWithMovs = buildUnnamed5116(); + o.storeCodeSetWithMovs = buildUnnamed5163(); } buildCounterMinimumOrderValueTable--; return o; @@ -5341,17 +5495,17 @@ api.MinimumOrderValueTable buildMinimumOrderValueTable() { void checkMinimumOrderValueTable(api.MinimumOrderValueTable o) { buildCounterMinimumOrderValueTable++; if (buildCounterMinimumOrderValueTable < 3) { - checkUnnamed5116(o.storeCodeSetWithMovs!); + checkUnnamed5163(o.storeCodeSetWithMovs!); } buildCounterMinimumOrderValueTable--; } -core.List buildUnnamed5117() => [ +core.List buildUnnamed5164() => [ 'foo', 'foo', ]; -void checkUnnamed5117(core.List o) { +void checkUnnamed5164(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5369,7 +5523,7 @@ api.MinimumOrderValueTableStoreCodeSetWithMov final o = api.MinimumOrderValueTableStoreCodeSetWithMov(); buildCounterMinimumOrderValueTableStoreCodeSetWithMov++; if (buildCounterMinimumOrderValueTableStoreCodeSetWithMov < 3) { - o.storeCodes = buildUnnamed5117(); + o.storeCodes = buildUnnamed5164(); o.value = buildPrice(); } buildCounterMinimumOrderValueTableStoreCodeSetWithMov--; @@ -5380,7 +5534,7 @@ void checkMinimumOrderValueTableStoreCodeSetWithMov( api.MinimumOrderValueTableStoreCodeSetWithMov o) { buildCounterMinimumOrderValueTableStoreCodeSetWithMov++; if (buildCounterMinimumOrderValueTableStoreCodeSetWithMov < 3) { - checkUnnamed5117(o.storeCodes!); + checkUnnamed5164(o.storeCodes!); checkPrice(o.value!); } buildCounterMinimumOrderValueTableStoreCodeSetWithMov--; @@ -5430,56 +5584,56 @@ void checkOnboardBuyOnGoogleProgramRequest( buildCounterOnboardBuyOnGoogleProgramRequest--; } -core.List buildUnnamed5118() => [ +core.List buildUnnamed5165() => [ buildOrderOrderAnnotation(), buildOrderOrderAnnotation(), ]; -void checkUnnamed5118(core.List o) { +void checkUnnamed5165(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderOrderAnnotation(o[0]); checkOrderOrderAnnotation(o[1]); } -core.List buildUnnamed5119() => [ +core.List buildUnnamed5166() => [ buildOrderLineItem(), buildOrderLineItem(), ]; -void checkUnnamed5119(core.List o) { +void checkUnnamed5166(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItem(o[0]); checkOrderLineItem(o[1]); } -core.List buildUnnamed5120() => [ +core.List buildUnnamed5167() => [ buildOrderPromotion(), buildOrderPromotion(), ]; -void checkUnnamed5120(core.List o) { +void checkUnnamed5167(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderPromotion(o[0]); checkOrderPromotion(o[1]); } -core.List buildUnnamed5121() => [ +core.List buildUnnamed5168() => [ buildOrderRefund(), buildOrderRefund(), ]; -void checkUnnamed5121(core.List o) { +void checkUnnamed5168(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderRefund(o[0]); checkOrderRefund(o[1]); } -core.List buildUnnamed5122() => [ +core.List buildUnnamed5169() => [ buildOrderShipment(), buildOrderShipment(), ]; -void checkUnnamed5122(core.List o) { +void checkUnnamed5169(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderShipment(o[0]); checkOrderShipment(o[1]); @@ -5491,13 +5645,13 @@ api.Order buildOrder() { buildCounterOrder++; if (buildCounterOrder < 3) { o.acknowledged = true; - o.annotations = buildUnnamed5118(); + o.annotations = buildUnnamed5165(); o.billingAddress = buildOrderAddress(); o.customer = buildOrderCustomer(); o.deliveryDetails = buildOrderDeliveryDetails(); o.id = 'foo'; o.kind = 'foo'; - o.lineItems = buildUnnamed5119(); + o.lineItems = buildUnnamed5166(); o.merchantId = 'foo'; o.merchantOrderId = 'foo'; o.netPriceAmount = buildPrice(); @@ -5505,9 +5659,9 @@ api.Order buildOrder() { o.paymentStatus = 'foo'; o.pickupDetails = buildOrderPickupDetails(); o.placedDate = 'foo'; - o.promotions = buildUnnamed5120(); - o.refunds = buildUnnamed5121(); - o.shipments = buildUnnamed5122(); + o.promotions = buildUnnamed5167(); + o.refunds = buildUnnamed5168(); + o.shipments = buildUnnamed5169(); o.shippingCost = buildPrice(); o.shippingCostTax = buildPrice(); o.status = 'foo'; @@ -5521,7 +5675,7 @@ void checkOrder(api.Order o) { buildCounterOrder++; if (buildCounterOrder < 3) { unittest.expect(o.acknowledged!, unittest.isTrue); - checkUnnamed5118(o.annotations!); + checkUnnamed5165(o.annotations!); checkOrderAddress(o.billingAddress!); checkOrderCustomer(o.customer!); checkOrderDeliveryDetails(o.deliveryDetails!); @@ -5533,7 +5687,7 @@ void checkOrder(api.Order o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5119(o.lineItems!); + checkUnnamed5166(o.lineItems!); unittest.expect( o.merchantId!, unittest.equals('foo'), @@ -5553,9 +5707,9 @@ void checkOrder(api.Order o) { o.placedDate!, unittest.equals('foo'), ); - checkUnnamed5120(o.promotions!); - checkUnnamed5121(o.refunds!); - checkUnnamed5122(o.shipments!); + checkUnnamed5167(o.promotions!); + checkUnnamed5168(o.refunds!); + checkUnnamed5169(o.shipments!); checkPrice(o.shippingCost!); checkPrice(o.shippingCostTax!); unittest.expect( @@ -5570,12 +5724,12 @@ void checkOrder(api.Order o) { buildCounterOrder--; } -core.List buildUnnamed5123() => [ +core.List buildUnnamed5170() => [ 'foo', 'foo', ]; -void checkUnnamed5123(core.List o) { +void checkUnnamed5170(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5587,12 +5741,12 @@ void checkUnnamed5123(core.List o) { ); } -core.List buildUnnamed5124() => [ +core.List buildUnnamed5171() => [ 'foo', 'foo', ]; -void checkUnnamed5124(core.List o) { +void checkUnnamed5171(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5610,13 +5764,13 @@ api.OrderAddress buildOrderAddress() { buildCounterOrderAddress++; if (buildCounterOrderAddress < 3) { o.country = 'foo'; - o.fullAddress = buildUnnamed5123(); + o.fullAddress = buildUnnamed5170(); o.isPostOfficeBox = true; o.locality = 'foo'; o.postalCode = 'foo'; o.recipientName = 'foo'; o.region = 'foo'; - o.streetAddress = buildUnnamed5124(); + o.streetAddress = buildUnnamed5171(); } buildCounterOrderAddress--; return o; @@ -5629,7 +5783,7 @@ void checkOrderAddress(api.OrderAddress o) { o.country!, unittest.equals('foo'), ); - checkUnnamed5123(o.fullAddress!); + checkUnnamed5170(o.fullAddress!); unittest.expect(o.isPostOfficeBox!, unittest.isTrue); unittest.expect( o.locality!, @@ -5647,7 +5801,7 @@ void checkOrderAddress(api.OrderAddress o) { o.region!, unittest.equals('foo'), ); - checkUnnamed5124(o.streetAddress!); + checkUnnamed5171(o.streetAddress!); } buildCounterOrderAddress--; } @@ -5809,45 +5963,45 @@ void checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { buildCounterOrderDeliveryDetails--; } -core.List buildUnnamed5125() => [ +core.List buildUnnamed5172() => [ buildOrderLineItemAdjustment(), buildOrderLineItemAdjustment(), ]; -void checkUnnamed5125(core.List o) { +void checkUnnamed5172(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemAdjustment(o[0]); checkOrderLineItemAdjustment(o[1]); } -core.List buildUnnamed5126() => [ +core.List buildUnnamed5173() => [ buildOrderMerchantProvidedAnnotation(), buildOrderMerchantProvidedAnnotation(), ]; -void checkUnnamed5126(core.List o) { +void checkUnnamed5173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderMerchantProvidedAnnotation(o[0]); checkOrderMerchantProvidedAnnotation(o[1]); } -core.List buildUnnamed5127() => [ +core.List buildUnnamed5174() => [ buildOrderCancellation(), buildOrderCancellation(), ]; -void checkUnnamed5127(core.List o) { +void checkUnnamed5174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderCancellation(o[0]); checkOrderCancellation(o[1]); } -core.List buildUnnamed5128() => [ +core.List buildUnnamed5175() => [ buildOrderReturn(), buildOrderReturn(), ]; -void checkUnnamed5128(core.List o) { +void checkUnnamed5175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderReturn(o[0]); checkOrderReturn(o[1]); @@ -5858,9 +6012,9 @@ api.OrderLineItem buildOrderLineItem() { final o = api.OrderLineItem(); buildCounterOrderLineItem++; if (buildCounterOrderLineItem < 3) { - o.adjustments = buildUnnamed5125(); - o.annotations = buildUnnamed5126(); - o.cancellations = buildUnnamed5127(); + o.adjustments = buildUnnamed5172(); + o.annotations = buildUnnamed5173(); + o.cancellations = buildUnnamed5174(); o.id = 'foo'; o.price = buildPrice(); o.product = buildOrderLineItemProduct(); @@ -5873,7 +6027,7 @@ api.OrderLineItem buildOrderLineItem() { o.quantityShipped = 42; o.quantityUndeliverable = 42; o.returnInfo = buildOrderLineItemReturnInfo(); - o.returns = buildUnnamed5128(); + o.returns = buildUnnamed5175(); o.shippingDetails = buildOrderLineItemShippingDetails(); o.tax = buildPrice(); } @@ -5884,9 +6038,9 @@ api.OrderLineItem buildOrderLineItem() { void checkOrderLineItem(api.OrderLineItem o) { buildCounterOrderLineItem++; if (buildCounterOrderLineItem < 3) { - checkUnnamed5125(o.adjustments!); - checkUnnamed5126(o.annotations!); - checkUnnamed5127(o.cancellations!); + checkUnnamed5172(o.adjustments!); + checkUnnamed5173(o.annotations!); + checkUnnamed5174(o.cancellations!); unittest.expect( o.id!, unittest.equals('foo'), @@ -5926,7 +6080,7 @@ void checkOrderLineItem(api.OrderLineItem o) { unittest.equals(42), ); checkOrderLineItemReturnInfo(o.returnInfo!); - checkUnnamed5128(o.returns!); + checkUnnamed5175(o.returns!); checkOrderLineItemShippingDetails(o.shippingDetails!); checkPrice(o.tax!); } @@ -5959,23 +6113,23 @@ void checkOrderLineItemAdjustment(api.OrderLineItemAdjustment o) { buildCounterOrderLineItemAdjustment--; } -core.List buildUnnamed5129() => [ +core.List buildUnnamed5176() => [ buildOrderLineItemProductFee(), buildOrderLineItemProductFee(), ]; -void checkUnnamed5129(core.List o) { +void checkUnnamed5176(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemProductFee(o[0]); checkOrderLineItemProductFee(o[1]); } -core.List buildUnnamed5130() => [ +core.List buildUnnamed5177() => [ buildOrderLineItemProductVariantAttribute(), buildOrderLineItemProductVariantAttribute(), ]; -void checkUnnamed5130(core.List o) { +void checkUnnamed5177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemProductVariantAttribute(o[0]); checkOrderLineItemProductVariantAttribute(o[1]); @@ -5989,7 +6143,7 @@ api.OrderLineItemProduct buildOrderLineItemProduct() { o.brand = 'foo'; o.condition = 'foo'; o.contentLanguage = 'foo'; - o.fees = buildUnnamed5129(); + o.fees = buildUnnamed5176(); o.gtin = 'foo'; o.id = 'foo'; o.imageLink = 'foo'; @@ -6000,7 +6154,7 @@ api.OrderLineItemProduct buildOrderLineItemProduct() { o.shownImage = 'foo'; o.targetCountry = 'foo'; o.title = 'foo'; - o.variantAttributes = buildUnnamed5130(); + o.variantAttributes = buildUnnamed5177(); } buildCounterOrderLineItemProduct--; return o; @@ -6021,7 +6175,7 @@ void checkOrderLineItemProduct(api.OrderLineItemProduct o) { o.contentLanguage!, unittest.equals('foo'), ); - checkUnnamed5129(o.fees!); + checkUnnamed5176(o.fees!); unittest.expect( o.gtin!, unittest.equals('foo'), @@ -6059,7 +6213,7 @@ void checkOrderLineItemProduct(api.OrderLineItemProduct o) { o.title!, unittest.equals('foo'), ); - checkUnnamed5130(o.variantAttributes!); + checkUnnamed5177(o.variantAttributes!); } buildCounterOrderLineItemProduct--; } @@ -6279,12 +6433,12 @@ void checkOrderOrderAnnotation(api.OrderOrderAnnotation o) { buildCounterOrderOrderAnnotation--; } -core.List buildUnnamed5131() => [ +core.List buildUnnamed5178() => [ buildOrderPickupDetailsCollector(), buildOrderPickupDetailsCollector(), ]; -void checkUnnamed5131(core.List o) { +void checkUnnamed5178(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderPickupDetailsCollector(o[0]); checkOrderPickupDetailsCollector(o[1]); @@ -6296,7 +6450,7 @@ api.OrderPickupDetails buildOrderPickupDetails() { buildCounterOrderPickupDetails++; if (buildCounterOrderPickupDetails < 3) { o.address = buildOrderAddress(); - o.collectors = buildUnnamed5131(); + o.collectors = buildUnnamed5178(); o.locationId = 'foo'; o.pickupType = 'foo'; } @@ -6308,7 +6462,7 @@ void checkOrderPickupDetails(api.OrderPickupDetails o) { buildCounterOrderPickupDetails++; if (buildCounterOrderPickupDetails < 3) { checkOrderAddress(o.address!); - checkUnnamed5131(o.collectors!); + checkUnnamed5178(o.collectors!); unittest.expect( o.locationId!, unittest.equals('foo'), @@ -6348,23 +6502,23 @@ void checkOrderPickupDetailsCollector(api.OrderPickupDetailsCollector o) { buildCounterOrderPickupDetailsCollector--; } -core.List buildUnnamed5132() => [ +core.List buildUnnamed5179() => [ buildOrderPromotionItem(), buildOrderPromotionItem(), ]; -void checkUnnamed5132(core.List o) { +void checkUnnamed5179(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderPromotionItem(o[0]); checkOrderPromotionItem(o[1]); } -core.List buildUnnamed5133() => [ +core.List buildUnnamed5180() => [ buildOrderPromotionItem(), buildOrderPromotionItem(), ]; -void checkUnnamed5133(core.List o) { +void checkUnnamed5180(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderPromotionItem(o[0]); checkOrderPromotionItem(o[1]); @@ -6375,8 +6529,8 @@ api.OrderPromotion buildOrderPromotion() { final o = api.OrderPromotion(); buildCounterOrderPromotion++; if (buildCounterOrderPromotion < 3) { - o.applicableItems = buildUnnamed5132(); - o.appliedItems = buildUnnamed5133(); + o.applicableItems = buildUnnamed5179(); + o.appliedItems = buildUnnamed5180(); o.endTime = 'foo'; o.funder = 'foo'; o.merchantPromotionId = 'foo'; @@ -6395,8 +6549,8 @@ api.OrderPromotion buildOrderPromotion() { void checkOrderPromotion(api.OrderPromotion o) { buildCounterOrderPromotion++; if (buildCounterOrderPromotion < 3) { - checkUnnamed5132(o.applicableItems!); - checkUnnamed5133(o.appliedItems!); + checkUnnamed5179(o.applicableItems!); + checkUnnamed5180(o.appliedItems!); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -6648,12 +6802,12 @@ void checkOrderReturn(api.OrderReturn o) { buildCounterOrderReturn--; } -core.List buildUnnamed5134() => [ +core.List buildUnnamed5181() => [ buildOrderShipmentLineItemShipment(), buildOrderShipmentLineItemShipment(), ]; -void checkUnnamed5134(core.List o) { +void checkUnnamed5181(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderShipmentLineItemShipment(o[0]); checkOrderShipmentLineItemShipment(o[1]); @@ -6668,7 +6822,7 @@ api.OrderShipment buildOrderShipment() { o.creationDate = 'foo'; o.deliveryDate = 'foo'; o.id = 'foo'; - o.lineItems = buildUnnamed5134(); + o.lineItems = buildUnnamed5181(); o.scheduledDeliveryDetails = buildOrderShipmentScheduledDeliveryDetails(); o.shipmentGroupId = 'foo'; o.status = 'foo'; @@ -6697,7 +6851,7 @@ void checkOrderShipment(api.OrderShipment o) { o.id!, unittest.equals('foo'), ); - checkUnnamed5134(o.lineItems!); + checkUnnamed5181(o.lineItems!); checkOrderShipmentScheduledDeliveryDetails(o.scheduledDeliveryDetails!); unittest.expect( o.shipmentGroupId!, @@ -6776,36 +6930,36 @@ void checkOrderShipmentScheduledDeliveryDetails( buildCounterOrderShipmentScheduledDeliveryDetails--; } -core.List buildUnnamed5135() => [ +core.List buildUnnamed5182() => [ buildOrderTrackingSignalLineItemDetails(), buildOrderTrackingSignalLineItemDetails(), ]; -void checkUnnamed5135(core.List o) { +void checkUnnamed5182(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderTrackingSignalLineItemDetails(o[0]); checkOrderTrackingSignalLineItemDetails(o[1]); } -core.List buildUnnamed5136() => +core.List buildUnnamed5183() => [ buildOrderTrackingSignalShipmentLineItemMapping(), buildOrderTrackingSignalShipmentLineItemMapping(), ]; -void checkUnnamed5136( +void checkUnnamed5183( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderTrackingSignalShipmentLineItemMapping(o[0]); checkOrderTrackingSignalShipmentLineItemMapping(o[1]); } -core.List buildUnnamed5137() => [ +core.List buildUnnamed5184() => [ buildOrderTrackingSignalShippingInfo(), buildOrderTrackingSignalShippingInfo(), ]; -void checkUnnamed5137(core.List o) { +void checkUnnamed5184(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderTrackingSignalShippingInfo(o[0]); checkOrderTrackingSignalShippingInfo(o[1]); @@ -6819,13 +6973,13 @@ api.OrderTrackingSignal buildOrderTrackingSignal() { o.customerShippingFee = buildPriceAmount(); o.deliveryPostalCode = 'foo'; o.deliveryRegionCode = 'foo'; - o.lineItems = buildUnnamed5135(); + o.lineItems = buildUnnamed5182(); o.merchantId = 'foo'; o.orderCreatedTime = buildDateTime(); o.orderId = 'foo'; o.orderTrackingSignalId = 'foo'; - o.shipmentLineItemMapping = buildUnnamed5136(); - o.shippingInfo = buildUnnamed5137(); + o.shipmentLineItemMapping = buildUnnamed5183(); + o.shippingInfo = buildUnnamed5184(); } buildCounterOrderTrackingSignal--; return o; @@ -6843,7 +6997,7 @@ void checkOrderTrackingSignal(api.OrderTrackingSignal o) { o.deliveryRegionCode!, unittest.equals('foo'), ); - checkUnnamed5135(o.lineItems!); + checkUnnamed5182(o.lineItems!); unittest.expect( o.merchantId!, unittest.equals('foo'), @@ -6857,8 +7011,8 @@ void checkOrderTrackingSignal(api.OrderTrackingSignal o) { o.orderTrackingSignalId!, unittest.equals('foo'), ); - checkUnnamed5136(o.shipmentLineItemMapping!); - checkUnnamed5137(o.shippingInfo!); + checkUnnamed5183(o.shipmentLineItemMapping!); + checkUnnamed5184(o.shippingInfo!); } buildCounterOrderTrackingSignal--; } @@ -7002,12 +7156,12 @@ void checkOrderTrackingSignalShippingInfo( buildCounterOrderTrackingSignalShippingInfo--; } -core.List buildUnnamed5138() => [ +core.List buildUnnamed5185() => [ buildShipmentInvoiceLineItemInvoice(), buildShipmentInvoiceLineItemInvoice(), ]; -void checkUnnamed5138(core.List o) { +void checkUnnamed5185(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShipmentInvoiceLineItemInvoice(o[0]); checkShipmentInvoiceLineItemInvoice(o[1]); @@ -7021,7 +7175,7 @@ api.OrderinvoicesCreateChargeInvoiceRequest if (buildCounterOrderinvoicesCreateChargeInvoiceRequest < 3) { o.invoiceId = 'foo'; o.invoiceSummary = buildInvoiceSummary(); - o.lineItemInvoices = buildUnnamed5138(); + o.lineItemInvoices = buildUnnamed5185(); o.operationId = 'foo'; o.shipmentGroupId = 'foo'; } @@ -7038,7 +7192,7 @@ void checkOrderinvoicesCreateChargeInvoiceRequest( unittest.equals('foo'), ); checkInvoiceSummary(o.invoiceSummary!); - checkUnnamed5138(o.lineItemInvoices!); + checkUnnamed5185(o.lineItemInvoices!); unittest.expect( o.operationId!, unittest.equals('foo'), @@ -7080,12 +7234,12 @@ void checkOrderinvoicesCreateChargeInvoiceResponse( buildCounterOrderinvoicesCreateChargeInvoiceResponse--; } -core.List buildUnnamed5139() => [ +core.List buildUnnamed5186() => [ buildShipmentInvoice(), buildShipmentInvoice(), ]; -void checkUnnamed5139(core.List o) { +void checkUnnamed5186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShipmentInvoice(o[0]); checkShipmentInvoice(o[1]); @@ -7103,7 +7257,7 @@ api.OrderinvoicesCreateRefundInvoiceRequest buildOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption(); o.returnOption = buildOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption(); - o.shipmentInvoices = buildUnnamed5139(); + o.shipmentInvoices = buildUnnamed5186(); } buildCounterOrderinvoicesCreateRefundInvoiceRequest--; return o; @@ -7125,7 +7279,7 @@ void checkOrderinvoicesCreateRefundInvoiceRequest( o.refundOnlyOption!); checkOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption( o.returnOption!); - checkUnnamed5139(o.shipmentInvoices!); + checkUnnamed5186(o.shipmentInvoices!); } buildCounterOrderinvoicesCreateRefundInvoiceRequest--; } @@ -7227,12 +7381,12 @@ void checkOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption( buildCounterOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption--; } -core.List buildUnnamed5140() => [ +core.List buildUnnamed5187() => [ buildOrderReportDisbursement(), buildOrderReportDisbursement(), ]; -void checkUnnamed5140(core.List o) { +void checkUnnamed5187(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderReportDisbursement(o[0]); checkOrderReportDisbursement(o[1]); @@ -7244,7 +7398,7 @@ api.OrderreportsListDisbursementsResponse final o = api.OrderreportsListDisbursementsResponse(); buildCounterOrderreportsListDisbursementsResponse++; if (buildCounterOrderreportsListDisbursementsResponse < 3) { - o.disbursements = buildUnnamed5140(); + o.disbursements = buildUnnamed5187(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -7256,7 +7410,7 @@ void checkOrderreportsListDisbursementsResponse( api.OrderreportsListDisbursementsResponse o) { buildCounterOrderreportsListDisbursementsResponse++; if (buildCounterOrderreportsListDisbursementsResponse < 3) { - checkUnnamed5140(o.disbursements!); + checkUnnamed5187(o.disbursements!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7269,12 +7423,12 @@ void checkOrderreportsListDisbursementsResponse( buildCounterOrderreportsListDisbursementsResponse--; } -core.List buildUnnamed5141() => [ +core.List buildUnnamed5188() => [ buildOrderReportTransaction(), buildOrderReportTransaction(), ]; -void checkUnnamed5141(core.List o) { +void checkUnnamed5188(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderReportTransaction(o[0]); checkOrderReportTransaction(o[1]); @@ -7288,7 +7442,7 @@ api.OrderreportsListTransactionsResponse if (buildCounterOrderreportsListTransactionsResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.transactions = buildUnnamed5141(); + o.transactions = buildUnnamed5188(); } buildCounterOrderreportsListTransactionsResponse--; return o; @@ -7306,7 +7460,7 @@ void checkOrderreportsListTransactionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5141(o.transactions!); + checkUnnamed5188(o.transactions!); } buildCounterOrderreportsListTransactionsResponse--; } @@ -7361,12 +7515,12 @@ void checkOrderreturnsAcknowledgeResponse( buildCounterOrderreturnsAcknowledgeResponse--; } -core.List buildUnnamed5142() => [ +core.List buildUnnamed5189() => [ buildOrderreturnsLineItem(), buildOrderreturnsLineItem(), ]; -void checkUnnamed5142(core.List o) { +void checkUnnamed5189(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderreturnsLineItem(o[0]); checkOrderreturnsLineItem(o[1]); @@ -7378,7 +7532,7 @@ api.OrderreturnsCreateOrderReturnRequest final o = api.OrderreturnsCreateOrderReturnRequest(); buildCounterOrderreturnsCreateOrderReturnRequest++; if (buildCounterOrderreturnsCreateOrderReturnRequest < 3) { - o.lineItems = buildUnnamed5142(); + o.lineItems = buildUnnamed5189(); o.operationId = 'foo'; o.orderId = 'foo'; o.returnMethodType = 'foo'; @@ -7391,7 +7545,7 @@ void checkOrderreturnsCreateOrderReturnRequest( api.OrderreturnsCreateOrderReturnRequest o) { buildCounterOrderreturnsCreateOrderReturnRequest++; if (buildCounterOrderreturnsCreateOrderReturnRequest < 3) { - checkUnnamed5142(o.lineItems!); + checkUnnamed5189(o.lineItems!); unittest.expect( o.operationId!, unittest.equals('foo'), @@ -7471,12 +7625,12 @@ void checkOrderreturnsLineItem(api.OrderreturnsLineItem o) { buildCounterOrderreturnsLineItem--; } -core.List buildUnnamed5143() => [ +core.List buildUnnamed5190() => [ buildMerchantOrderReturn(), buildMerchantOrderReturn(), ]; -void checkUnnamed5143(core.List o) { +void checkUnnamed5190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMerchantOrderReturn(o[0]); checkMerchantOrderReturn(o[1]); @@ -7489,7 +7643,7 @@ api.OrderreturnsListResponse buildOrderreturnsListResponse() { if (buildCounterOrderreturnsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5143(); + o.resources = buildUnnamed5190(); } buildCounterOrderreturnsListResponse--; return o; @@ -7506,7 +7660,7 @@ void checkOrderreturnsListResponse(api.OrderreturnsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5143(o.resources!); + checkUnnamed5190(o.resources!); } buildCounterOrderreturnsListResponse--; } @@ -7532,12 +7686,12 @@ void checkOrderreturnsPartialRefund(api.OrderreturnsPartialRefund o) { buildCounterOrderreturnsPartialRefund--; } -core.List buildUnnamed5144() => [ +core.List buildUnnamed5191() => [ buildOrderreturnsReturnItem(), buildOrderreturnsReturnItem(), ]; -void checkUnnamed5144(core.List o) { +void checkUnnamed5191(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderreturnsReturnItem(o[0]); checkOrderreturnsReturnItem(o[1]); @@ -7551,7 +7705,7 @@ api.OrderreturnsProcessRequest buildOrderreturnsProcessRequest() { o.fullChargeReturnShippingCost = true; o.operationId = 'foo'; o.refundShippingFee = buildOrderreturnsRefundOperation(); - o.returnItems = buildUnnamed5144(); + o.returnItems = buildUnnamed5191(); } buildCounterOrderreturnsProcessRequest--; return o; @@ -7566,7 +7720,7 @@ void checkOrderreturnsProcessRequest(api.OrderreturnsProcessRequest o) { unittest.equals('foo'), ); checkOrderreturnsRefundOperation(o.refundShippingFee!); - checkUnnamed5144(o.returnItems!); + checkUnnamed5191(o.returnItems!); } buildCounterOrderreturnsProcessRequest--; } @@ -7996,12 +8150,12 @@ void checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { } core.List - buildUnnamed5145() => [ + buildUnnamed5192() => [ buildOrdersCustomBatchRequestEntryCreateTestReturnReturnItem(), buildOrdersCustomBatchRequestEntryCreateTestReturnReturnItem(), ]; -void checkUnnamed5145( +void checkUnnamed5192( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrdersCustomBatchRequestEntryCreateTestReturnReturnItem(o[0]); @@ -8013,7 +8167,7 @@ api.OrdersCreateTestReturnRequest buildOrdersCreateTestReturnRequest() { final o = api.OrdersCreateTestReturnRequest(); buildCounterOrdersCreateTestReturnRequest++; if (buildCounterOrdersCreateTestReturnRequest < 3) { - o.items = buildUnnamed5145(); + o.items = buildUnnamed5192(); } buildCounterOrdersCreateTestReturnRequest--; return o; @@ -8022,7 +8176,7 @@ api.OrdersCreateTestReturnRequest buildOrdersCreateTestReturnRequest() { void checkOrdersCreateTestReturnRequest(api.OrdersCreateTestReturnRequest o) { buildCounterOrdersCreateTestReturnRequest++; if (buildCounterOrdersCreateTestReturnRequest < 3) { - checkUnnamed5145(o.items!); + checkUnnamed5192(o.items!); } buildCounterOrdersCreateTestReturnRequest--; } @@ -8347,12 +8501,12 @@ void checkOrdersInStoreRefundLineItemResponse( buildCounterOrdersInStoreRefundLineItemResponse--; } -core.List buildUnnamed5146() => [ +core.List buildUnnamed5193() => [ buildOrder(), buildOrder(), ]; -void checkUnnamed5146(core.List o) { +void checkUnnamed5193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrder(o[0]); checkOrder(o[1]); @@ -8365,7 +8519,7 @@ api.OrdersListResponse buildOrdersListResponse() { if (buildCounterOrdersListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5146(); + o.resources = buildUnnamed5193(); } buildCounterOrdersListResponse--; return o; @@ -8382,18 +8536,18 @@ void checkOrdersListResponse(api.OrdersListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5146(o.resources!); + checkUnnamed5193(o.resources!); } buildCounterOrdersListResponse--; } -core.List buildUnnamed5147() => +core.List buildUnnamed5194() => [ buildOrdersCustomBatchRequestEntryRefundItemItem(), buildOrdersCustomBatchRequestEntryRefundItemItem(), ]; -void checkUnnamed5147( +void checkUnnamed5194( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrdersCustomBatchRequestEntryRefundItemItem(o[0]); @@ -8405,7 +8559,7 @@ api.OrdersRefundItemRequest buildOrdersRefundItemRequest() { final o = api.OrdersRefundItemRequest(); buildCounterOrdersRefundItemRequest++; if (buildCounterOrdersRefundItemRequest < 3) { - o.items = buildUnnamed5147(); + o.items = buildUnnamed5194(); o.operationId = 'foo'; o.reason = 'foo'; o.reasonText = 'foo'; @@ -8418,7 +8572,7 @@ api.OrdersRefundItemRequest buildOrdersRefundItemRequest() { void checkOrdersRefundItemRequest(api.OrdersRefundItemRequest o) { buildCounterOrdersRefundItemRequest++; if (buildCounterOrdersRefundItemRequest < 3) { - checkUnnamed5147(o.items!); + checkUnnamed5194(o.items!); unittest.expect( o.operationId!, unittest.equals('foo'), @@ -8684,12 +8838,12 @@ void checkOrdersReturnRefundLineItemResponse( buildCounterOrdersReturnRefundLineItemResponse--; } -core.List buildUnnamed5148() => [ +core.List buildUnnamed5195() => [ buildOrderMerchantProvidedAnnotation(), buildOrderMerchantProvidedAnnotation(), ]; -void checkUnnamed5148(core.List o) { +void checkUnnamed5195(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderMerchantProvidedAnnotation(o[0]); checkOrderMerchantProvidedAnnotation(o[1]); @@ -8700,7 +8854,7 @@ api.OrdersSetLineItemMetadataRequest buildOrdersSetLineItemMetadataRequest() { final o = api.OrdersSetLineItemMetadataRequest(); buildCounterOrdersSetLineItemMetadataRequest++; if (buildCounterOrdersSetLineItemMetadataRequest < 3) { - o.annotations = buildUnnamed5148(); + o.annotations = buildUnnamed5195(); o.lineItemId = 'foo'; o.operationId = 'foo'; o.productId = 'foo'; @@ -8713,7 +8867,7 @@ void checkOrdersSetLineItemMetadataRequest( api.OrdersSetLineItemMetadataRequest o) { buildCounterOrdersSetLineItemMetadataRequest++; if (buildCounterOrdersSetLineItemMetadataRequest < 3) { - checkUnnamed5148(o.annotations!); + checkUnnamed5195(o.annotations!); unittest.expect( o.lineItemId!, unittest.equals('foo'), @@ -8758,24 +8912,24 @@ void checkOrdersSetLineItemMetadataResponse( buildCounterOrdersSetLineItemMetadataResponse--; } -core.List buildUnnamed5149() => [ +core.List buildUnnamed5196() => [ buildOrderShipmentLineItemShipment(), buildOrderShipmentLineItemShipment(), ]; -void checkUnnamed5149(core.List o) { +void checkUnnamed5196(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderShipmentLineItemShipment(o[0]); checkOrderShipmentLineItemShipment(o[1]); } core.List - buildUnnamed5150() => [ + buildUnnamed5197() => [ buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(), buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(), ]; -void checkUnnamed5150( +void checkUnnamed5197( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]); @@ -8787,10 +8941,10 @@ api.OrdersShipLineItemsRequest buildOrdersShipLineItemsRequest() { final o = api.OrdersShipLineItemsRequest(); buildCounterOrdersShipLineItemsRequest++; if (buildCounterOrdersShipLineItemsRequest < 3) { - o.lineItems = buildUnnamed5149(); + o.lineItems = buildUnnamed5196(); o.operationId = 'foo'; o.shipmentGroupId = 'foo'; - o.shipmentInfos = buildUnnamed5150(); + o.shipmentInfos = buildUnnamed5197(); } buildCounterOrdersShipLineItemsRequest--; return o; @@ -8799,7 +8953,7 @@ api.OrdersShipLineItemsRequest buildOrdersShipLineItemsRequest() { void checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { buildCounterOrdersShipLineItemsRequest++; if (buildCounterOrdersShipLineItemsRequest < 3) { - checkUnnamed5149(o.lineItems!); + checkUnnamed5196(o.lineItems!); unittest.expect( o.operationId!, unittest.equals('foo'), @@ -8808,7 +8962,7 @@ void checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { o.shipmentGroupId!, unittest.equals('foo'), ); - checkUnnamed5150(o.shipmentInfos!); + checkUnnamed5197(o.shipmentInfos!); } buildCounterOrdersShipLineItemsRequest--; } @@ -9165,12 +9319,12 @@ void checkPickupServicesPickupService(api.PickupServicesPickupService o) { buildCounterPickupServicesPickupService--; } -core.List buildUnnamed5151() => [ +core.List buildUnnamed5198() => [ buildPosCustomBatchRequestEntry(), buildPosCustomBatchRequestEntry(), ]; -void checkUnnamed5151(core.List o) { +void checkUnnamed5198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosCustomBatchRequestEntry(o[0]); checkPosCustomBatchRequestEntry(o[1]); @@ -9181,7 +9335,7 @@ api.PosCustomBatchRequest buildPosCustomBatchRequest() { final o = api.PosCustomBatchRequest(); buildCounterPosCustomBatchRequest++; if (buildCounterPosCustomBatchRequest < 3) { - o.entries = buildUnnamed5151(); + o.entries = buildUnnamed5198(); } buildCounterPosCustomBatchRequest--; return o; @@ -9190,7 +9344,7 @@ api.PosCustomBatchRequest buildPosCustomBatchRequest() { void checkPosCustomBatchRequest(api.PosCustomBatchRequest o) { buildCounterPosCustomBatchRequest++; if (buildCounterPosCustomBatchRequest < 3) { - checkUnnamed5151(o.entries!); + checkUnnamed5198(o.entries!); } buildCounterPosCustomBatchRequest--; } @@ -9243,12 +9397,12 @@ void checkPosCustomBatchRequestEntry(api.PosCustomBatchRequestEntry o) { buildCounterPosCustomBatchRequestEntry--; } -core.List buildUnnamed5152() => [ +core.List buildUnnamed5199() => [ buildPosCustomBatchResponseEntry(), buildPosCustomBatchResponseEntry(), ]; -void checkUnnamed5152(core.List o) { +void checkUnnamed5199(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosCustomBatchResponseEntry(o[0]); checkPosCustomBatchResponseEntry(o[1]); @@ -9259,7 +9413,7 @@ api.PosCustomBatchResponse buildPosCustomBatchResponse() { final o = api.PosCustomBatchResponse(); buildCounterPosCustomBatchResponse++; if (buildCounterPosCustomBatchResponse < 3) { - o.entries = buildUnnamed5152(); + o.entries = buildUnnamed5199(); o.kind = 'foo'; } buildCounterPosCustomBatchResponse--; @@ -9269,7 +9423,7 @@ api.PosCustomBatchResponse buildPosCustomBatchResponse() { void checkPosCustomBatchResponse(api.PosCustomBatchResponse o) { buildCounterPosCustomBatchResponse++; if (buildCounterPosCustomBatchResponse < 3) { - checkUnnamed5152(o.entries!); + checkUnnamed5199(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -9313,12 +9467,12 @@ void checkPosCustomBatchResponseEntry(api.PosCustomBatchResponseEntry o) { buildCounterPosCustomBatchResponseEntry--; } -core.List buildUnnamed5153() => [ +core.List buildUnnamed5200() => [ buildPosDataProvidersPosDataProvider(), buildPosDataProvidersPosDataProvider(), ]; -void checkUnnamed5153(core.List o) { +void checkUnnamed5200(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosDataProvidersPosDataProvider(o[0]); checkPosDataProvidersPosDataProvider(o[1]); @@ -9330,7 +9484,7 @@ api.PosDataProviders buildPosDataProviders() { buildCounterPosDataProviders++; if (buildCounterPosDataProviders < 3) { o.country = 'foo'; - o.posDataProviders = buildUnnamed5153(); + o.posDataProviders = buildUnnamed5200(); } buildCounterPosDataProviders--; return o; @@ -9343,7 +9497,7 @@ void checkPosDataProviders(api.PosDataProviders o) { o.country!, unittest.equals('foo'), ); - checkUnnamed5153(o.posDataProviders!); + checkUnnamed5200(o.posDataProviders!); } buildCounterPosDataProviders--; } @@ -9553,12 +9707,12 @@ void checkPosInventoryResponse(api.PosInventoryResponse o) { buildCounterPosInventoryResponse--; } -core.List buildUnnamed5154() => [ +core.List buildUnnamed5201() => [ buildPosStore(), buildPosStore(), ]; -void checkUnnamed5154(core.List o) { +void checkUnnamed5201(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosStore(o[0]); checkPosStore(o[1]); @@ -9570,7 +9724,7 @@ api.PosListResponse buildPosListResponse() { buildCounterPosListResponse++; if (buildCounterPosListResponse < 3) { o.kind = 'foo'; - o.resources = buildUnnamed5154(); + o.resources = buildUnnamed5201(); } buildCounterPosListResponse--; return o; @@ -9583,7 +9737,7 @@ void checkPosListResponse(api.PosListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5154(o.resources!); + checkUnnamed5201(o.resources!); } buildCounterPosListResponse--; } @@ -9807,12 +9961,12 @@ void checkPosStore(api.PosStore o) { buildCounterPosStore--; } -core.List buildUnnamed5155() => [ +core.List buildUnnamed5202() => [ buildPostalCodeRange(), buildPostalCodeRange(), ]; -void checkUnnamed5155(core.List o) { +void checkUnnamed5202(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCodeRange(o[0]); checkPostalCodeRange(o[1]); @@ -9825,7 +9979,7 @@ api.PostalCodeGroup buildPostalCodeGroup() { if (buildCounterPostalCodeGroup < 3) { o.country = 'foo'; o.name = 'foo'; - o.postalCodeRanges = buildUnnamed5155(); + o.postalCodeRanges = buildUnnamed5202(); } buildCounterPostalCodeGroup--; return o; @@ -9842,7 +9996,7 @@ void checkPostalCodeGroup(api.PostalCodeGroup o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5155(o.postalCodeRanges!); + checkUnnamed5202(o.postalCodeRanges!); } buildCounterPostalCodeGroup--; } @@ -9928,12 +10082,12 @@ void checkPriceAmount(api.PriceAmount o) { buildCounterPriceAmount--; } -core.List buildUnnamed5156() => [ +core.List buildUnnamed5203() => [ 'foo', 'foo', ]; -void checkUnnamed5156(core.List o) { +void checkUnnamed5203(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9945,12 +10099,12 @@ void checkUnnamed5156(core.List o) { ); } -core.List buildUnnamed5157() => [ +core.List buildUnnamed5204() => [ 'foo', 'foo', ]; -void checkUnnamed5157(core.List o) { +void checkUnnamed5204(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9962,23 +10116,23 @@ void checkUnnamed5157(core.List o) { ); } -core.List buildUnnamed5158() => [ +core.List buildUnnamed5205() => [ buildCustomAttribute(), buildCustomAttribute(), ]; -void checkUnnamed5158(core.List o) { +void checkUnnamed5205(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttribute(o[0]); checkCustomAttribute(o[1]); } -core.List buildUnnamed5159() => [ +core.List buildUnnamed5206() => [ 'foo', 'foo', ]; -void checkUnnamed5159(core.List o) { +void checkUnnamed5206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9990,12 +10144,12 @@ void checkUnnamed5159(core.List o) { ); } -core.List buildUnnamed5160() => [ +core.List buildUnnamed5207() => [ 'foo', 'foo', ]; -void checkUnnamed5160(core.List o) { +void checkUnnamed5207(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10007,12 +10161,12 @@ void checkUnnamed5160(core.List o) { ); } -core.List buildUnnamed5161() => [ +core.List buildUnnamed5208() => [ 'foo', 'foo', ]; -void checkUnnamed5161(core.List o) { +void checkUnnamed5208(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10024,23 +10178,23 @@ void checkUnnamed5161(core.List o) { ); } -core.List buildUnnamed5162() => [ +core.List buildUnnamed5209() => [ buildProductProductDetail(), buildProductProductDetail(), ]; -void checkUnnamed5162(core.List o) { +void checkUnnamed5209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductProductDetail(o[0]); checkProductProductDetail(o[1]); } -core.List buildUnnamed5163() => [ +core.List buildUnnamed5210() => [ 'foo', 'foo', ]; -void checkUnnamed5163(core.List o) { +void checkUnnamed5210(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10052,12 +10206,12 @@ void checkUnnamed5163(core.List o) { ); } -core.List buildUnnamed5164() => [ +core.List buildUnnamed5211() => [ 'foo', 'foo', ]; -void checkUnnamed5164(core.List o) { +void checkUnnamed5211(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10069,12 +10223,12 @@ void checkUnnamed5164(core.List o) { ); } -core.List buildUnnamed5165() => [ +core.List buildUnnamed5212() => [ 'foo', 'foo', ]; -void checkUnnamed5165(core.List o) { +void checkUnnamed5212(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10086,23 +10240,23 @@ void checkUnnamed5165(core.List o) { ); } -core.List buildUnnamed5166() => [ +core.List buildUnnamed5213() => [ buildProductShipping(), buildProductShipping(), ]; -void checkUnnamed5166(core.List o) { +void checkUnnamed5213(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductShipping(o[0]); checkProductShipping(o[1]); } -core.List buildUnnamed5167() => [ +core.List buildUnnamed5214() => [ 'foo', 'foo', ]; -void checkUnnamed5167(core.List o) { +void checkUnnamed5214(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10114,12 +10268,12 @@ void checkUnnamed5167(core.List o) { ); } -core.List buildUnnamed5168() => [ +core.List buildUnnamed5215() => [ 'foo', 'foo', ]; -void checkUnnamed5168(core.List o) { +void checkUnnamed5215(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10131,12 +10285,12 @@ void checkUnnamed5168(core.List o) { ); } -core.List buildUnnamed5169() => [ +core.List buildUnnamed5216() => [ buildProductTax(), buildProductTax(), ]; -void checkUnnamed5169(core.List o) { +void checkUnnamed5216(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductTax(o[0]); checkProductTax(o[1]); @@ -10147,10 +10301,10 @@ api.Product buildProduct() { final o = api.Product(); buildCounterProduct++; if (buildCounterProduct < 3) { - o.additionalImageLinks = buildUnnamed5156(); + o.additionalImageLinks = buildUnnamed5203(); o.additionalSizeType = 'foo'; o.adsGrouping = 'foo'; - o.adsLabels = buildUnnamed5157(); + o.adsLabels = buildUnnamed5204(); o.adsRedirect = 'foo'; o.adult = true; o.ageGroup = 'foo'; @@ -10163,7 +10317,7 @@ api.Product buildProduct() { o.condition = 'foo'; o.contentLanguage = 'foo'; o.costOfGoodsSold = buildPrice(); - o.customAttributes = buildUnnamed5158(); + o.customAttributes = buildUnnamed5205(); o.customLabel0 = 'foo'; o.customLabel1 = 'foo'; o.customLabel2 = 'foo'; @@ -10172,11 +10326,11 @@ api.Product buildProduct() { o.description = 'foo'; o.displayAdsId = 'foo'; o.displayAdsLink = 'foo'; - o.displayAdsSimilarIds = buildUnnamed5159(); + o.displayAdsSimilarIds = buildUnnamed5206(); o.displayAdsTitle = 'foo'; o.displayAdsValue = 42.0; o.energyEfficiencyClass = 'foo'; - o.excludedDestinations = buildUnnamed5160(); + o.excludedDestinations = buildUnnamed5207(); o.expirationDate = 'foo'; o.gender = 'foo'; o.googleProductCategory = 'foo'; @@ -10184,7 +10338,7 @@ api.Product buildProduct() { o.id = 'foo'; o.identifierExists = true; o.imageLink = 'foo'; - o.includedDestinations = buildUnnamed5161(); + o.includedDestinations = buildUnnamed5208(); o.installment = buildInstallment(); o.isBundle = true; o.itemGroupId = 'foo'; @@ -10206,28 +10360,32 @@ api.Product buildProduct() { o.pickupMethod = 'foo'; o.pickupSla = 'foo'; o.price = buildPrice(); - o.productDetails = buildUnnamed5162(); - o.productHighlights = buildUnnamed5163(); - o.productTypes = buildUnnamed5164(); - o.promotionIds = buildUnnamed5165(); + o.productDetails = buildUnnamed5209(); + o.productHeight = buildProductDimension(); + o.productHighlights = buildUnnamed5210(); + o.productLength = buildProductDimension(); + o.productTypes = buildUnnamed5211(); + o.productWeight = buildProductWeight(); + o.productWidth = buildProductDimension(); + o.promotionIds = buildUnnamed5212(); o.salePrice = buildPrice(); o.salePriceEffectiveDate = 'foo'; o.sellOnGoogleQuantity = 'foo'; - o.shipping = buildUnnamed5166(); + o.shipping = buildUnnamed5213(); o.shippingHeight = buildProductShippingDimension(); o.shippingLabel = 'foo'; o.shippingLength = buildProductShippingDimension(); o.shippingWeight = buildProductShippingWeight(); o.shippingWidth = buildProductShippingDimension(); - o.shoppingAdsExcludedCountries = buildUnnamed5167(); + o.shoppingAdsExcludedCountries = buildUnnamed5214(); o.sizeSystem = 'foo'; o.sizeType = 'foo'; - o.sizes = buildUnnamed5168(); + o.sizes = buildUnnamed5215(); o.source = 'foo'; o.subscriptionCost = buildProductSubscriptionCost(); o.targetCountry = 'foo'; o.taxCategory = 'foo'; - o.taxes = buildUnnamed5169(); + o.taxes = buildUnnamed5216(); o.title = 'foo'; o.transitTimeLabel = 'foo'; o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); @@ -10240,7 +10398,7 @@ api.Product buildProduct() { void checkProduct(api.Product o) { buildCounterProduct++; if (buildCounterProduct < 3) { - checkUnnamed5156(o.additionalImageLinks!); + checkUnnamed5203(o.additionalImageLinks!); unittest.expect( o.additionalSizeType!, unittest.equals('foo'), @@ -10249,7 +10407,7 @@ void checkProduct(api.Product o) { o.adsGrouping!, unittest.equals('foo'), ); - checkUnnamed5157(o.adsLabels!); + checkUnnamed5204(o.adsLabels!); unittest.expect( o.adsRedirect!, unittest.equals('foo'), @@ -10292,7 +10450,7 @@ void checkProduct(api.Product o) { unittest.equals('foo'), ); checkPrice(o.costOfGoodsSold!); - checkUnnamed5158(o.customAttributes!); + checkUnnamed5205(o.customAttributes!); unittest.expect( o.customLabel0!, unittest.equals('foo'), @@ -10325,7 +10483,7 @@ void checkProduct(api.Product o) { o.displayAdsLink!, unittest.equals('foo'), ); - checkUnnamed5159(o.displayAdsSimilarIds!); + checkUnnamed5206(o.displayAdsSimilarIds!); unittest.expect( o.displayAdsTitle!, unittest.equals('foo'), @@ -10338,7 +10496,7 @@ void checkProduct(api.Product o) { o.energyEfficiencyClass!, unittest.equals('foo'), ); - checkUnnamed5160(o.excludedDestinations!); + checkUnnamed5207(o.excludedDestinations!); unittest.expect( o.expirationDate!, unittest.equals('foo'), @@ -10364,7 +10522,7 @@ void checkProduct(api.Product o) { o.imageLink!, unittest.equals('foo'), ); - checkUnnamed5161(o.includedDestinations!); + checkUnnamed5208(o.includedDestinations!); checkInstallment(o.installment!); unittest.expect(o.isBundle!, unittest.isTrue); unittest.expect( @@ -10437,10 +10595,14 @@ void checkProduct(api.Product o) { unittest.equals('foo'), ); checkPrice(o.price!); - checkUnnamed5162(o.productDetails!); - checkUnnamed5163(o.productHighlights!); - checkUnnamed5164(o.productTypes!); - checkUnnamed5165(o.promotionIds!); + checkUnnamed5209(o.productDetails!); + checkProductDimension(o.productHeight!); + checkUnnamed5210(o.productHighlights!); + checkProductDimension(o.productLength!); + checkUnnamed5211(o.productTypes!); + checkProductWeight(o.productWeight!); + checkProductDimension(o.productWidth!); + checkUnnamed5212(o.promotionIds!); checkPrice(o.salePrice!); unittest.expect( o.salePriceEffectiveDate!, @@ -10450,7 +10612,7 @@ void checkProduct(api.Product o) { o.sellOnGoogleQuantity!, unittest.equals('foo'), ); - checkUnnamed5166(o.shipping!); + checkUnnamed5213(o.shipping!); checkProductShippingDimension(o.shippingHeight!); unittest.expect( o.shippingLabel!, @@ -10459,7 +10621,7 @@ void checkProduct(api.Product o) { checkProductShippingDimension(o.shippingLength!); checkProductShippingWeight(o.shippingWeight!); checkProductShippingDimension(o.shippingWidth!); - checkUnnamed5167(o.shoppingAdsExcludedCountries!); + checkUnnamed5214(o.shoppingAdsExcludedCountries!); unittest.expect( o.sizeSystem!, unittest.equals('foo'), @@ -10468,7 +10630,7 @@ void checkProduct(api.Product o) { o.sizeType!, unittest.equals('foo'), ); - checkUnnamed5168(o.sizes!); + checkUnnamed5215(o.sizes!); unittest.expect( o.source!, unittest.equals('foo'), @@ -10482,7 +10644,7 @@ void checkProduct(api.Product o) { o.taxCategory!, unittest.equals('foo'), ); - checkUnnamed5169(o.taxes!); + checkUnnamed5216(o.taxes!); unittest.expect( o.title!, unittest.equals('foo'), @@ -10520,6 +10682,33 @@ void checkProductAmount(api.ProductAmount o) { buildCounterProductAmount--; } +core.int buildCounterProductDimension = 0; +api.ProductDimension buildProductDimension() { + final o = api.ProductDimension(); + buildCounterProductDimension++; + if (buildCounterProductDimension < 3) { + o.unit = 'foo'; + o.value = 42.0; + } + buildCounterProductDimension--; + return o; +} + +void checkProductDimension(api.ProductDimension o) { + buildCounterProductDimension++; + if (buildCounterProductDimension < 3) { + unittest.expect( + o.unit!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals(42.0), + ); + } + buildCounterProductDimension--; +} + core.int buildCounterProductProductDetail = 0; api.ProductProductDetail buildProductProductDetail() { final o = api.ProductProductDetail(); @@ -10675,23 +10864,23 @@ void checkProductShippingWeight(api.ProductShippingWeight o) { buildCounterProductShippingWeight--; } -core.List buildUnnamed5170() => [ +core.List buildUnnamed5217() => [ buildProductStatusDestinationStatus(), buildProductStatusDestinationStatus(), ]; -void checkUnnamed5170(core.List o) { +void checkUnnamed5217(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatusDestinationStatus(o[0]); checkProductStatusDestinationStatus(o[1]); } -core.List buildUnnamed5171() => [ +core.List buildUnnamed5218() => [ buildProductStatusItemLevelIssue(), buildProductStatusItemLevelIssue(), ]; -void checkUnnamed5171(core.List o) { +void checkUnnamed5218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatusItemLevelIssue(o[0]); checkProductStatusItemLevelIssue(o[1]); @@ -10703,9 +10892,9 @@ api.ProductStatus buildProductStatus() { buildCounterProductStatus++; if (buildCounterProductStatus < 3) { o.creationDate = 'foo'; - o.destinationStatuses = buildUnnamed5170(); + o.destinationStatuses = buildUnnamed5217(); o.googleExpirationDate = 'foo'; - o.itemLevelIssues = buildUnnamed5171(); + o.itemLevelIssues = buildUnnamed5218(); o.kind = 'foo'; o.lastUpdateDate = 'foo'; o.link = 'foo'; @@ -10723,12 +10912,12 @@ void checkProductStatus(api.ProductStatus o) { o.creationDate!, unittest.equals('foo'), ); - checkUnnamed5170(o.destinationStatuses!); + checkUnnamed5217(o.destinationStatuses!); unittest.expect( o.googleExpirationDate!, unittest.equals('foo'), ); - checkUnnamed5171(o.itemLevelIssues!); + checkUnnamed5218(o.itemLevelIssues!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10753,12 +10942,12 @@ void checkProductStatus(api.ProductStatus o) { buildCounterProductStatus--; } -core.List buildUnnamed5172() => [ +core.List buildUnnamed5219() => [ 'foo', 'foo', ]; -void checkUnnamed5172(core.List o) { +void checkUnnamed5219(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10770,12 +10959,12 @@ void checkUnnamed5172(core.List o) { ); } -core.List buildUnnamed5173() => [ +core.List buildUnnamed5220() => [ 'foo', 'foo', ]; -void checkUnnamed5173(core.List o) { +void checkUnnamed5220(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10787,12 +10976,12 @@ void checkUnnamed5173(core.List o) { ); } -core.List buildUnnamed5174() => [ +core.List buildUnnamed5221() => [ 'foo', 'foo', ]; -void checkUnnamed5174(core.List o) { +void checkUnnamed5221(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10809,10 +10998,10 @@ api.ProductStatusDestinationStatus buildProductStatusDestinationStatus() { final o = api.ProductStatusDestinationStatus(); buildCounterProductStatusDestinationStatus++; if (buildCounterProductStatusDestinationStatus < 3) { - o.approvedCountries = buildUnnamed5172(); + o.approvedCountries = buildUnnamed5219(); o.destination = 'foo'; - o.disapprovedCountries = buildUnnamed5173(); - o.pendingCountries = buildUnnamed5174(); + o.disapprovedCountries = buildUnnamed5220(); + o.pendingCountries = buildUnnamed5221(); o.status = 'foo'; } buildCounterProductStatusDestinationStatus--; @@ -10822,13 +11011,13 @@ api.ProductStatusDestinationStatus buildProductStatusDestinationStatus() { void checkProductStatusDestinationStatus(api.ProductStatusDestinationStatus o) { buildCounterProductStatusDestinationStatus++; if (buildCounterProductStatusDestinationStatus < 3) { - checkUnnamed5172(o.approvedCountries!); + checkUnnamed5219(o.approvedCountries!); unittest.expect( o.destination!, unittest.equals('foo'), ); - checkUnnamed5173(o.disapprovedCountries!); - checkUnnamed5174(o.pendingCountries!); + checkUnnamed5220(o.disapprovedCountries!); + checkUnnamed5221(o.pendingCountries!); unittest.expect( o.status!, unittest.equals('foo'), @@ -10837,12 +11026,12 @@ void checkProductStatusDestinationStatus(api.ProductStatusDestinationStatus o) { buildCounterProductStatusDestinationStatus--; } -core.List buildUnnamed5175() => [ +core.List buildUnnamed5222() => [ 'foo', 'foo', ]; -void checkUnnamed5175(core.List o) { +void checkUnnamed5222(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10859,7 +11048,7 @@ api.ProductStatusItemLevelIssue buildProductStatusItemLevelIssue() { final o = api.ProductStatusItemLevelIssue(); buildCounterProductStatusItemLevelIssue++; if (buildCounterProductStatusItemLevelIssue < 3) { - o.applicableCountries = buildUnnamed5175(); + o.applicableCountries = buildUnnamed5222(); o.attributeName = 'foo'; o.code = 'foo'; o.description = 'foo'; @@ -10876,7 +11065,7 @@ api.ProductStatusItemLevelIssue buildProductStatusItemLevelIssue() { void checkProductStatusItemLevelIssue(api.ProductStatusItemLevelIssue o) { buildCounterProductStatusItemLevelIssue++; if (buildCounterProductStatusItemLevelIssue < 3) { - checkUnnamed5175(o.applicableCountries!); + checkUnnamed5222(o.applicableCountries!); unittest.expect( o.attributeName!, unittest.equals('foo'), @@ -11040,12 +11229,39 @@ void checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { buildCounterProductUnitPricingMeasure--; } -core.List buildUnnamed5176() => [ +core.int buildCounterProductWeight = 0; +api.ProductWeight buildProductWeight() { + final o = api.ProductWeight(); + buildCounterProductWeight++; + if (buildCounterProductWeight < 3) { + o.unit = 'foo'; + o.value = 42.0; + } + buildCounterProductWeight--; + return o; +} + +void checkProductWeight(api.ProductWeight o) { + buildCounterProductWeight++; + if (buildCounterProductWeight < 3) { + unittest.expect( + o.unit!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals(42.0), + ); + } + buildCounterProductWeight--; +} + +core.List buildUnnamed5223() => [ buildProductsCustomBatchRequestEntry(), buildProductsCustomBatchRequestEntry(), ]; -void checkUnnamed5176(core.List o) { +void checkUnnamed5223(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductsCustomBatchRequestEntry(o[0]); checkProductsCustomBatchRequestEntry(o[1]); @@ -11056,7 +11272,7 @@ api.ProductsCustomBatchRequest buildProductsCustomBatchRequest() { final o = api.ProductsCustomBatchRequest(); buildCounterProductsCustomBatchRequest++; if (buildCounterProductsCustomBatchRequest < 3) { - o.entries = buildUnnamed5176(); + o.entries = buildUnnamed5223(); } buildCounterProductsCustomBatchRequest--; return o; @@ -11065,7 +11281,7 @@ api.ProductsCustomBatchRequest buildProductsCustomBatchRequest() { void checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { buildCounterProductsCustomBatchRequest++; if (buildCounterProductsCustomBatchRequest < 3) { - checkUnnamed5176(o.entries!); + checkUnnamed5223(o.entries!); } buildCounterProductsCustomBatchRequest--; } @@ -11120,12 +11336,12 @@ void checkProductsCustomBatchRequestEntry( buildCounterProductsCustomBatchRequestEntry--; } -core.List buildUnnamed5177() => [ +core.List buildUnnamed5224() => [ buildProductsCustomBatchResponseEntry(), buildProductsCustomBatchResponseEntry(), ]; -void checkUnnamed5177(core.List o) { +void checkUnnamed5224(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductsCustomBatchResponseEntry(o[0]); checkProductsCustomBatchResponseEntry(o[1]); @@ -11136,7 +11352,7 @@ api.ProductsCustomBatchResponse buildProductsCustomBatchResponse() { final o = api.ProductsCustomBatchResponse(); buildCounterProductsCustomBatchResponse++; if (buildCounterProductsCustomBatchResponse < 3) { - o.entries = buildUnnamed5177(); + o.entries = buildUnnamed5224(); o.kind = 'foo'; } buildCounterProductsCustomBatchResponse--; @@ -11146,7 +11362,7 @@ api.ProductsCustomBatchResponse buildProductsCustomBatchResponse() { void checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { buildCounterProductsCustomBatchResponse++; if (buildCounterProductsCustomBatchResponse < 3) { - checkUnnamed5177(o.entries!); + checkUnnamed5224(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11187,12 +11403,12 @@ void checkProductsCustomBatchResponseEntry( buildCounterProductsCustomBatchResponseEntry--; } -core.List buildUnnamed5178() => [ +core.List buildUnnamed5225() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed5178(core.List o) { +void checkUnnamed5225(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -11205,7 +11421,7 @@ api.ProductsListResponse buildProductsListResponse() { if (buildCounterProductsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5178(); + o.resources = buildUnnamed5225(); } buildCounterProductsListResponse--; return o; @@ -11222,17 +11438,17 @@ void checkProductsListResponse(api.ProductsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5178(o.resources!); + checkUnnamed5225(o.resources!); } buildCounterProductsListResponse--; } -core.List buildUnnamed5179() => [ +core.List buildUnnamed5226() => [ buildProductstatusesCustomBatchRequestEntry(), buildProductstatusesCustomBatchRequestEntry(), ]; -void checkUnnamed5179(core.List o) { +void checkUnnamed5226(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductstatusesCustomBatchRequestEntry(o[0]); checkProductstatusesCustomBatchRequestEntry(o[1]); @@ -11243,7 +11459,7 @@ api.ProductstatusesCustomBatchRequest buildProductstatusesCustomBatchRequest() { final o = api.ProductstatusesCustomBatchRequest(); buildCounterProductstatusesCustomBatchRequest++; if (buildCounterProductstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed5179(); + o.entries = buildUnnamed5226(); } buildCounterProductstatusesCustomBatchRequest--; return o; @@ -11253,17 +11469,17 @@ void checkProductstatusesCustomBatchRequest( api.ProductstatusesCustomBatchRequest o) { buildCounterProductstatusesCustomBatchRequest++; if (buildCounterProductstatusesCustomBatchRequest < 3) { - checkUnnamed5179(o.entries!); + checkUnnamed5226(o.entries!); } buildCounterProductstatusesCustomBatchRequest--; } -core.List buildUnnamed5180() => [ +core.List buildUnnamed5227() => [ 'foo', 'foo', ]; -void checkUnnamed5180(core.List o) { +void checkUnnamed5227(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11282,7 +11498,7 @@ api.ProductstatusesCustomBatchRequestEntry buildCounterProductstatusesCustomBatchRequestEntry++; if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { o.batchId = 42; - o.destinations = buildUnnamed5180(); + o.destinations = buildUnnamed5227(); o.includeAttributes = true; o.merchantId = 'foo'; o.method = 'foo'; @@ -11300,7 +11516,7 @@ void checkProductstatusesCustomBatchRequestEntry( o.batchId!, unittest.equals(42), ); - checkUnnamed5180(o.destinations!); + checkUnnamed5227(o.destinations!); unittest.expect(o.includeAttributes!, unittest.isTrue); unittest.expect( o.merchantId!, @@ -11318,12 +11534,12 @@ void checkProductstatusesCustomBatchRequestEntry( buildCounterProductstatusesCustomBatchRequestEntry--; } -core.List buildUnnamed5181() => [ +core.List buildUnnamed5228() => [ buildProductstatusesCustomBatchResponseEntry(), buildProductstatusesCustomBatchResponseEntry(), ]; -void checkUnnamed5181( +void checkUnnamed5228( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductstatusesCustomBatchResponseEntry(o[0]); @@ -11336,7 +11552,7 @@ api.ProductstatusesCustomBatchResponse final o = api.ProductstatusesCustomBatchResponse(); buildCounterProductstatusesCustomBatchResponse++; if (buildCounterProductstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed5181(); + o.entries = buildUnnamed5228(); o.kind = 'foo'; } buildCounterProductstatusesCustomBatchResponse--; @@ -11347,7 +11563,7 @@ void checkProductstatusesCustomBatchResponse( api.ProductstatusesCustomBatchResponse o) { buildCounterProductstatusesCustomBatchResponse++; if (buildCounterProductstatusesCustomBatchResponse < 3) { - checkUnnamed5181(o.entries!); + checkUnnamed5228(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11389,12 +11605,12 @@ void checkProductstatusesCustomBatchResponseEntry( buildCounterProductstatusesCustomBatchResponseEntry--; } -core.List buildUnnamed5182() => [ +core.List buildUnnamed5229() => [ buildProductStatus(), buildProductStatus(), ]; -void checkUnnamed5182(core.List o) { +void checkUnnamed5229(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatus(o[0]); checkProductStatus(o[1]); @@ -11407,7 +11623,7 @@ api.ProductstatusesListResponse buildProductstatusesListResponse() { if (buildCounterProductstatusesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5182(); + o.resources = buildUnnamed5229(); } buildCounterProductstatusesListResponse--; return o; @@ -11424,17 +11640,17 @@ void checkProductstatusesListResponse(api.ProductstatusesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5182(o.resources!); + checkUnnamed5229(o.resources!); } buildCounterProductstatusesListResponse--; } -core.List buildUnnamed5183() => [ +core.List buildUnnamed5230() => [ 'foo', 'foo', ]; -void checkUnnamed5183(core.List o) { +void checkUnnamed5230(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11446,41 +11662,29 @@ void checkUnnamed5183(core.List o) { ); } -core.int buildCounterPubsubNotificationSettings = 0; -api.PubsubNotificationSettings buildPubsubNotificationSettings() { - final o = api.PubsubNotificationSettings(); - buildCounterPubsubNotificationSettings++; - if (buildCounterPubsubNotificationSettings < 3) { - o.cloudTopicName = 'foo'; - o.kind = 'foo'; - o.registeredEvents = buildUnnamed5183(); - } - buildCounterPubsubNotificationSettings--; - return o; -} +core.List buildUnnamed5231() => [ + 'foo', + 'foo', + ]; -void checkPubsubNotificationSettings(api.PubsubNotificationSettings o) { - buildCounterPubsubNotificationSettings++; - if (buildCounterPubsubNotificationSettings < 3) { - unittest.expect( - o.cloudTopicName!, - unittest.equals('foo'), - ); - unittest.expect( - o.kind!, - unittest.equals('foo'), - ); - checkUnnamed5183(o.registeredEvents!); - } - buildCounterPubsubNotificationSettings--; +void checkUnnamed5231(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.List buildUnnamed5184() => [ +core.List buildUnnamed5232() => [ 'foo', 'foo', ]; -void checkUnnamed5184(core.List o) { +void checkUnnamed5232(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11492,66 +11696,366 @@ void checkUnnamed5184(core.List o) { ); } -core.List buildUnnamed5185() => [ - buildCarrierRate(), - buildCarrierRate(), +core.List buildUnnamed5233() => [ + 'foo', + 'foo', ]; -void checkUnnamed5185(core.List o) { +void checkUnnamed5233(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkCarrierRate(o[0]); - checkCarrierRate(o[1]); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.List buildUnnamed5186() => [ - buildTable(), - buildTable(), +core.List buildUnnamed5234() => [ + 'foo', + 'foo', ]; -void checkUnnamed5186(core.List o) { +void checkUnnamed5234(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkTable(o[0]); - checkTable(o[1]); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterRateGroup = 0; -api.RateGroup buildRateGroup() { - final o = api.RateGroup(); - buildCounterRateGroup++; - if (buildCounterRateGroup < 3) { - o.applicableShippingLabels = buildUnnamed5184(); - o.carrierRates = buildUnnamed5185(); - o.mainTable = buildTable(); - o.name = 'foo'; - o.singleValue = buildValue(); - o.subtables = buildUnnamed5186(); - } - buildCounterRateGroup--; - return o; -} +core.List buildUnnamed5235() => [ + 'foo', + 'foo', + ]; -void checkRateGroup(api.RateGroup o) { - buildCounterRateGroup++; - if (buildCounterRateGroup < 3) { - checkUnnamed5184(o.applicableShippingLabels!); - checkUnnamed5185(o.carrierRates!); - checkTable(o.mainTable!); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - checkValue(o.singleValue!); - checkUnnamed5186(o.subtables!); - } - buildCounterRateGroup--; +void checkUnnamed5235(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterRefundReason = 0; -api.RefundReason buildRefundReason() { - final o = api.RefundReason(); - buildCounterRefundReason++; - if (buildCounterRefundReason < 3) { - o.description = 'foo'; +core.List buildUnnamed5236() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5236(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed5237() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5237(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed5238() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5238(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPromotion = 0; +api.Promotion buildPromotion() { + final o = api.Promotion(); + buildCounterPromotion++; + if (buildCounterPromotion < 3) { + o.brand = buildUnnamed5230(); + o.brandExclusion = buildUnnamed5231(); + o.contentLanguage = 'foo'; + o.couponValueType = 'foo'; + o.freeGiftDescription = 'foo'; + o.freeGiftItemId = 'foo'; + o.freeGiftValue = buildPriceAmount(); + o.genericRedemptionCode = 'foo'; + o.getThisQuantityDiscounted = 42; + o.id = 'foo'; + o.itemGroupId = buildUnnamed5232(); + o.itemGroupIdExclusion = buildUnnamed5233(); + o.itemId = buildUnnamed5234(); + o.itemIdExclusion = buildUnnamed5235(); + o.limitQuantity = 42; + o.limitValue = buildPriceAmount(); + o.longTitle = 'foo'; + o.minimumPurchaseAmount = buildPriceAmount(); + o.minimumPurchaseQuantity = 42; + o.moneyBudget = buildPriceAmount(); + o.moneyOffAmount = buildPriceAmount(); + o.offerType = 'foo'; + o.orderLimit = 42; + o.percentOff = 42; + o.productApplicability = 'foo'; + o.promotionDestinationIds = buildUnnamed5236(); + o.promotionDisplayDates = 'foo'; + o.promotionEffectiveDates = 'foo'; + o.promotionId = 'foo'; + o.redemptionChannel = buildUnnamed5237(); + o.shippingServiceNames = buildUnnamed5238(); + o.targetCountry = 'foo'; + } + buildCounterPromotion--; + return o; +} + +void checkPromotion(api.Promotion o) { + buildCounterPromotion++; + if (buildCounterPromotion < 3) { + checkUnnamed5230(o.brand!); + checkUnnamed5231(o.brandExclusion!); + unittest.expect( + o.contentLanguage!, + unittest.equals('foo'), + ); + unittest.expect( + o.couponValueType!, + unittest.equals('foo'), + ); + unittest.expect( + o.freeGiftDescription!, + unittest.equals('foo'), + ); + unittest.expect( + o.freeGiftItemId!, + unittest.equals('foo'), + ); + checkPriceAmount(o.freeGiftValue!); + unittest.expect( + o.genericRedemptionCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.getThisQuantityDiscounted!, + unittest.equals(42), + ); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + checkUnnamed5232(o.itemGroupId!); + checkUnnamed5233(o.itemGroupIdExclusion!); + checkUnnamed5234(o.itemId!); + checkUnnamed5235(o.itemIdExclusion!); + unittest.expect( + o.limitQuantity!, + unittest.equals(42), + ); + checkPriceAmount(o.limitValue!); + unittest.expect( + o.longTitle!, + unittest.equals('foo'), + ); + checkPriceAmount(o.minimumPurchaseAmount!); + unittest.expect( + o.minimumPurchaseQuantity!, + unittest.equals(42), + ); + checkPriceAmount(o.moneyBudget!); + checkPriceAmount(o.moneyOffAmount!); + unittest.expect( + o.offerType!, + unittest.equals('foo'), + ); + unittest.expect( + o.orderLimit!, + unittest.equals(42), + ); + unittest.expect( + o.percentOff!, + unittest.equals(42), + ); + unittest.expect( + o.productApplicability!, + unittest.equals('foo'), + ); + checkUnnamed5236(o.promotionDestinationIds!); + unittest.expect( + o.promotionDisplayDates!, + unittest.equals('foo'), + ); + unittest.expect( + o.promotionEffectiveDates!, + unittest.equals('foo'), + ); + unittest.expect( + o.promotionId!, + unittest.equals('foo'), + ); + checkUnnamed5237(o.redemptionChannel!); + checkUnnamed5238(o.shippingServiceNames!); + unittest.expect( + o.targetCountry!, + unittest.equals('foo'), + ); + } + buildCounterPromotion--; +} + +core.List buildUnnamed5239() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5239(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPubsubNotificationSettings = 0; +api.PubsubNotificationSettings buildPubsubNotificationSettings() { + final o = api.PubsubNotificationSettings(); + buildCounterPubsubNotificationSettings++; + if (buildCounterPubsubNotificationSettings < 3) { + o.cloudTopicName = 'foo'; + o.kind = 'foo'; + o.registeredEvents = buildUnnamed5239(); + } + buildCounterPubsubNotificationSettings--; + return o; +} + +void checkPubsubNotificationSettings(api.PubsubNotificationSettings o) { + buildCounterPubsubNotificationSettings++; + if (buildCounterPubsubNotificationSettings < 3) { + unittest.expect( + o.cloudTopicName!, + unittest.equals('foo'), + ); + unittest.expect( + o.kind!, + unittest.equals('foo'), + ); + checkUnnamed5239(o.registeredEvents!); + } + buildCounterPubsubNotificationSettings--; +} + +core.List buildUnnamed5240() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5240(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed5241() => [ + buildCarrierRate(), + buildCarrierRate(), + ]; + +void checkUnnamed5241(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCarrierRate(o[0]); + checkCarrierRate(o[1]); +} + +core.List buildUnnamed5242() => [ + buildTable(), + buildTable(), + ]; + +void checkUnnamed5242(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkTable(o[0]); + checkTable(o[1]); +} + +core.int buildCounterRateGroup = 0; +api.RateGroup buildRateGroup() { + final o = api.RateGroup(); + buildCounterRateGroup++; + if (buildCounterRateGroup < 3) { + o.applicableShippingLabels = buildUnnamed5240(); + o.carrierRates = buildUnnamed5241(); + o.mainTable = buildTable(); + o.name = 'foo'; + o.singleValue = buildValue(); + o.subtables = buildUnnamed5242(); + } + buildCounterRateGroup--; + return o; +} + +void checkRateGroup(api.RateGroup o) { + buildCounterRateGroup++; + if (buildCounterRateGroup < 3) { + checkUnnamed5240(o.applicableShippingLabels!); + checkUnnamed5241(o.carrierRates!); + checkTable(o.mainTable!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkValue(o.singleValue!); + checkUnnamed5242(o.subtables!); + } + buildCounterRateGroup--; +} + +core.int buildCounterRefundReason = 0; +api.RefundReason buildRefundReason() { + final o = api.RefundReason(); + buildCounterRefundReason++; + if (buildCounterRefundReason < 3) { + o.description = 'foo'; o.reasonCode = 'foo'; } buildCounterRefundReason--; @@ -11613,12 +12117,12 @@ void checkRegion(api.Region o) { buildCounterRegion--; } -core.List buildUnnamed5187() => [ +core.List buildUnnamed5243() => [ 'foo', 'foo', ]; -void checkUnnamed5187(core.List o) { +void checkUnnamed5243(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11635,7 +12139,7 @@ api.RegionGeoTargetArea buildRegionGeoTargetArea() { final o = api.RegionGeoTargetArea(); buildCounterRegionGeoTargetArea++; if (buildCounterRegionGeoTargetArea < 3) { - o.geotargetCriteriaIds = buildUnnamed5187(); + o.geotargetCriteriaIds = buildUnnamed5243(); } buildCounterRegionGeoTargetArea--; return o; @@ -11644,17 +12148,17 @@ api.RegionGeoTargetArea buildRegionGeoTargetArea() { void checkRegionGeoTargetArea(api.RegionGeoTargetArea o) { buildCounterRegionGeoTargetArea++; if (buildCounterRegionGeoTargetArea < 3) { - checkUnnamed5187(o.geotargetCriteriaIds!); + checkUnnamed5243(o.geotargetCriteriaIds!); } buildCounterRegionGeoTargetArea--; } -core.List buildUnnamed5188() => [ +core.List buildUnnamed5244() => [ buildRegionPostalCodeAreaPostalCodeRange(), buildRegionPostalCodeAreaPostalCodeRange(), ]; -void checkUnnamed5188(core.List o) { +void checkUnnamed5244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionPostalCodeAreaPostalCodeRange(o[0]); checkRegionPostalCodeAreaPostalCodeRange(o[1]); @@ -11665,7 +12169,7 @@ api.RegionPostalCodeArea buildRegionPostalCodeArea() { final o = api.RegionPostalCodeArea(); buildCounterRegionPostalCodeArea++; if (buildCounterRegionPostalCodeArea < 3) { - o.postalCodes = buildUnnamed5188(); + o.postalCodes = buildUnnamed5244(); o.regionCode = 'foo'; } buildCounterRegionPostalCodeArea--; @@ -11675,7 +12179,7 @@ api.RegionPostalCodeArea buildRegionPostalCodeArea() { void checkRegionPostalCodeArea(api.RegionPostalCodeArea o) { buildCounterRegionPostalCodeArea++; if (buildCounterRegionPostalCodeArea < 3) { - checkUnnamed5188(o.postalCodes!); + checkUnnamed5244(o.postalCodes!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -11713,12 +12217,12 @@ void checkRegionPostalCodeAreaPostalCodeRange( buildCounterRegionPostalCodeAreaPostalCodeRange--; } -core.List buildUnnamed5189() => [ +core.List buildUnnamed5245() => [ buildCustomAttribute(), buildCustomAttribute(), ]; -void checkUnnamed5189(core.List o) { +void checkUnnamed5245(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttribute(o[0]); checkCustomAttribute(o[1]); @@ -11730,7 +12234,7 @@ api.RegionalInventory buildRegionalInventory() { buildCounterRegionalInventory++; if (buildCounterRegionalInventory < 3) { o.availability = 'foo'; - o.customAttributes = buildUnnamed5189(); + o.customAttributes = buildUnnamed5245(); o.kind = 'foo'; o.price = buildPrice(); o.regionId = 'foo'; @@ -11748,7 +12252,7 @@ void checkRegionalInventory(api.RegionalInventory o) { o.availability!, unittest.equals('foo'), ); - checkUnnamed5189(o.customAttributes!); + checkUnnamed5245(o.customAttributes!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11767,12 +12271,12 @@ void checkRegionalInventory(api.RegionalInventory o) { buildCounterRegionalInventory--; } -core.List buildUnnamed5190() => [ +core.List buildUnnamed5246() => [ buildRegionalinventoryCustomBatchRequestEntry(), buildRegionalinventoryCustomBatchRequestEntry(), ]; -void checkUnnamed5190( +void checkUnnamed5246( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalinventoryCustomBatchRequestEntry(o[0]); @@ -11785,7 +12289,7 @@ api.RegionalinventoryCustomBatchRequest final o = api.RegionalinventoryCustomBatchRequest(); buildCounterRegionalinventoryCustomBatchRequest++; if (buildCounterRegionalinventoryCustomBatchRequest < 3) { - o.entries = buildUnnamed5190(); + o.entries = buildUnnamed5246(); } buildCounterRegionalinventoryCustomBatchRequest--; return o; @@ -11795,7 +12299,7 @@ void checkRegionalinventoryCustomBatchRequest( api.RegionalinventoryCustomBatchRequest o) { buildCounterRegionalinventoryCustomBatchRequest++; if (buildCounterRegionalinventoryCustomBatchRequest < 3) { - checkUnnamed5190(o.entries!); + checkUnnamed5246(o.entries!); } buildCounterRegionalinventoryCustomBatchRequest--; } @@ -11841,12 +12345,12 @@ void checkRegionalinventoryCustomBatchRequestEntry( buildCounterRegionalinventoryCustomBatchRequestEntry--; } -core.List buildUnnamed5191() => [ +core.List buildUnnamed5247() => [ buildRegionalinventoryCustomBatchResponseEntry(), buildRegionalinventoryCustomBatchResponseEntry(), ]; -void checkUnnamed5191( +void checkUnnamed5247( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalinventoryCustomBatchResponseEntry(o[0]); @@ -11859,7 +12363,7 @@ api.RegionalinventoryCustomBatchResponse final o = api.RegionalinventoryCustomBatchResponse(); buildCounterRegionalinventoryCustomBatchResponse++; if (buildCounterRegionalinventoryCustomBatchResponse < 3) { - o.entries = buildUnnamed5191(); + o.entries = buildUnnamed5247(); o.kind = 'foo'; } buildCounterRegionalinventoryCustomBatchResponse--; @@ -11870,7 +12374,7 @@ void checkRegionalinventoryCustomBatchResponse( api.RegionalinventoryCustomBatchResponse o) { buildCounterRegionalinventoryCustomBatchResponse++; if (buildCounterRegionalinventoryCustomBatchResponse < 3) { - checkUnnamed5191(o.entries!); + checkUnnamed5247(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11933,23 +12437,23 @@ void checkReportRow(api.ReportRow o) { buildCounterReportRow--; } -core.List buildUnnamed5192() => [ +core.List buildUnnamed5248() => [ buildInapplicabilityDetails(), buildInapplicabilityDetails(), ]; -void checkUnnamed5192(core.List o) { +void checkUnnamed5248(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInapplicabilityDetails(o[0]); checkInapplicabilityDetails(o[1]); } -core.List buildUnnamed5193() => [ +core.List buildUnnamed5249() => [ 'foo', 'foo', ]; -void checkUnnamed5193(core.List o) { +void checkUnnamed5249(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11971,10 +12475,10 @@ api.RepricingProductReport buildRepricingProductReport() { buildRepricingProductReportBuyboxWinningProductStats(); o.date = buildDate(); o.highWatermark = buildPriceAmount(); - o.inapplicabilityDetails = buildUnnamed5192(); + o.inapplicabilityDetails = buildUnnamed5248(); o.lowWatermark = buildPriceAmount(); o.orderItemCount = 42; - o.ruleIds = buildUnnamed5193(); + o.ruleIds = buildUnnamed5249(); o.totalGmv = buildPriceAmount(); o.type = 'foo'; } @@ -11993,13 +12497,13 @@ void checkRepricingProductReport(api.RepricingProductReport o) { o.buyboxWinningProductStats!); checkDate(o.date!); checkPriceAmount(o.highWatermark!); - checkUnnamed5192(o.inapplicabilityDetails!); + checkUnnamed5248(o.inapplicabilityDetails!); checkPriceAmount(o.lowWatermark!); unittest.expect( o.orderItemCount!, unittest.equals(42), ); - checkUnnamed5193(o.ruleIds!); + checkUnnamed5249(o.ruleIds!); checkPriceAmount(o.totalGmv!); unittest.expect( o.type!, @@ -12120,12 +12624,12 @@ void checkRepricingRuleCostOfGoodsSaleRule( buildCounterRepricingRuleCostOfGoodsSaleRule--; } -core.List buildUnnamed5194() => [ +core.List buildUnnamed5250() => [ buildRepricingRuleEffectiveTimeFixedTimePeriod(), buildRepricingRuleEffectiveTimeFixedTimePeriod(), ]; -void checkUnnamed5194( +void checkUnnamed5250( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepricingRuleEffectiveTimeFixedTimePeriod(o[0]); @@ -12137,7 +12641,7 @@ api.RepricingRuleEffectiveTime buildRepricingRuleEffectiveTime() { final o = api.RepricingRuleEffectiveTime(); buildCounterRepricingRuleEffectiveTime++; if (buildCounterRepricingRuleEffectiveTime < 3) { - o.fixedTimePeriods = buildUnnamed5194(); + o.fixedTimePeriods = buildUnnamed5250(); } buildCounterRepricingRuleEffectiveTime--; return o; @@ -12146,7 +12650,7 @@ api.RepricingRuleEffectiveTime buildRepricingRuleEffectiveTime() { void checkRepricingRuleEffectiveTime(api.RepricingRuleEffectiveTime o) { buildCounterRepricingRuleEffectiveTime++; if (buildCounterRepricingRuleEffectiveTime < 3) { - checkUnnamed5194(o.fixedTimePeriods!); + checkUnnamed5250(o.fixedTimePeriods!); } buildCounterRepricingRuleEffectiveTime--; } @@ -12212,12 +12716,12 @@ void checkRepricingRuleEligibleOfferMatcher( buildCounterRepricingRuleEligibleOfferMatcher--; } -core.List buildUnnamed5195() => [ +core.List buildUnnamed5251() => [ 'foo', 'foo', ]; -void checkUnnamed5195(core.List o) { +void checkUnnamed5251(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12235,7 +12739,7 @@ api.RepricingRuleEligibleOfferMatcherStringMatcher final o = api.RepricingRuleEligibleOfferMatcherStringMatcher(); buildCounterRepricingRuleEligibleOfferMatcherStringMatcher++; if (buildCounterRepricingRuleEligibleOfferMatcherStringMatcher < 3) { - o.strAttributes = buildUnnamed5195(); + o.strAttributes = buildUnnamed5251(); } buildCounterRepricingRuleEligibleOfferMatcherStringMatcher--; return o; @@ -12245,17 +12749,17 @@ void checkRepricingRuleEligibleOfferMatcherStringMatcher( api.RepricingRuleEligibleOfferMatcherStringMatcher o) { buildCounterRepricingRuleEligibleOfferMatcherStringMatcher++; if (buildCounterRepricingRuleEligibleOfferMatcherStringMatcher < 3) { - checkUnnamed5195(o.strAttributes!); + checkUnnamed5251(o.strAttributes!); } buildCounterRepricingRuleEligibleOfferMatcherStringMatcher--; } -core.List buildUnnamed5196() => [ +core.List buildUnnamed5252() => [ 'foo', 'foo', ]; -void checkUnnamed5196(core.List o) { +void checkUnnamed5252(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12267,23 +12771,23 @@ void checkUnnamed5196(core.List o) { ); } -core.List buildUnnamed5197() => [ +core.List buildUnnamed5253() => [ buildInapplicabilityDetails(), buildInapplicabilityDetails(), ]; -void checkUnnamed5197(core.List o) { +void checkUnnamed5253(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInapplicabilityDetails(o[0]); checkInapplicabilityDetails(o[1]); } -core.List buildUnnamed5198() => [ +core.List buildUnnamed5254() => [ 'foo', 'foo', ]; -void checkUnnamed5198(core.List o) { +void checkUnnamed5254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12302,9 +12806,9 @@ api.RepricingRuleReport buildRepricingRuleReport() { if (buildCounterRepricingRuleReport < 3) { o.buyboxWinningRuleStats = buildRepricingRuleReportBuyboxWinningRuleStats(); o.date = buildDate(); - o.impactedProducts = buildUnnamed5196(); - o.inapplicabilityDetails = buildUnnamed5197(); - o.inapplicableProducts = buildUnnamed5198(); + o.impactedProducts = buildUnnamed5252(); + o.inapplicabilityDetails = buildUnnamed5253(); + o.inapplicableProducts = buildUnnamed5254(); o.orderItemCount = 42; o.ruleId = 'foo'; o.totalGmv = buildPriceAmount(); @@ -12319,9 +12823,9 @@ void checkRepricingRuleReport(api.RepricingRuleReport o) { if (buildCounterRepricingRuleReport < 3) { checkRepricingRuleReportBuyboxWinningRuleStats(o.buyboxWinningRuleStats!); checkDate(o.date!); - checkUnnamed5196(o.impactedProducts!); - checkUnnamed5197(o.inapplicabilityDetails!); - checkUnnamed5198(o.inapplicableProducts!); + checkUnnamed5252(o.impactedProducts!); + checkUnnamed5253(o.inapplicabilityDetails!); + checkUnnamed5254(o.inapplicableProducts!); unittest.expect( o.orderItemCount!, unittest.equals(42), @@ -12439,6 +12943,67 @@ void checkRepricingRuleStatsBasedRule(api.RepricingRuleStatsBasedRule o) { buildCounterRepricingRuleStatsBasedRule--; } +core.int buildCounterRequestPhoneVerificationRequest = 0; +api.RequestPhoneVerificationRequest buildRequestPhoneVerificationRequest() { + final o = api.RequestPhoneVerificationRequest(); + buildCounterRequestPhoneVerificationRequest++; + if (buildCounterRequestPhoneVerificationRequest < 3) { + o.languageCode = 'foo'; + o.phoneNumber = 'foo'; + o.phoneRegionCode = 'foo'; + o.phoneVerificationMethod = 'foo'; + } + buildCounterRequestPhoneVerificationRequest--; + return o; +} + +void checkRequestPhoneVerificationRequest( + api.RequestPhoneVerificationRequest o) { + buildCounterRequestPhoneVerificationRequest++; + if (buildCounterRequestPhoneVerificationRequest < 3) { + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.phoneNumber!, + unittest.equals('foo'), + ); + unittest.expect( + o.phoneRegionCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.phoneVerificationMethod!, + unittest.equals('foo'), + ); + } + buildCounterRequestPhoneVerificationRequest--; +} + +core.int buildCounterRequestPhoneVerificationResponse = 0; +api.RequestPhoneVerificationResponse buildRequestPhoneVerificationResponse() { + final o = api.RequestPhoneVerificationResponse(); + buildCounterRequestPhoneVerificationResponse++; + if (buildCounterRequestPhoneVerificationResponse < 3) { + o.verificationId = 'foo'; + } + buildCounterRequestPhoneVerificationResponse--; + return o; +} + +void checkRequestPhoneVerificationResponse( + api.RequestPhoneVerificationResponse o) { + buildCounterRequestPhoneVerificationResponse++; + if (buildCounterRequestPhoneVerificationResponse < 3) { + unittest.expect( + o.verificationId!, + unittest.equals('foo'), + ); + } + buildCounterRequestPhoneVerificationResponse--; +} + core.int buildCounterRequestReviewBuyOnGoogleProgramRequest = 0; api.RequestReviewBuyOnGoogleProgramRequest buildRequestReviewBuyOnGoogleProgramRequest() { @@ -12456,6 +13021,52 @@ void checkRequestReviewBuyOnGoogleProgramRequest( buildCounterRequestReviewBuyOnGoogleProgramRequest--; } +core.int buildCounterRequestReviewFreeListingsRequest = 0; +api.RequestReviewFreeListingsRequest buildRequestReviewFreeListingsRequest() { + final o = api.RequestReviewFreeListingsRequest(); + buildCounterRequestReviewFreeListingsRequest++; + if (buildCounterRequestReviewFreeListingsRequest < 3) { + o.regionCode = 'foo'; + } + buildCounterRequestReviewFreeListingsRequest--; + return o; +} + +void checkRequestReviewFreeListingsRequest( + api.RequestReviewFreeListingsRequest o) { + buildCounterRequestReviewFreeListingsRequest++; + if (buildCounterRequestReviewFreeListingsRequest < 3) { + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterRequestReviewFreeListingsRequest--; +} + +core.int buildCounterRequestReviewShoppingAdsRequest = 0; +api.RequestReviewShoppingAdsRequest buildRequestReviewShoppingAdsRequest() { + final o = api.RequestReviewShoppingAdsRequest(); + buildCounterRequestReviewShoppingAdsRequest++; + if (buildCounterRequestReviewShoppingAdsRequest < 3) { + o.regionCode = 'foo'; + } + buildCounterRequestReviewShoppingAdsRequest--; + return o; +} + +void checkRequestReviewShoppingAdsRequest( + api.RequestReviewShoppingAdsRequest o) { + buildCounterRequestReviewShoppingAdsRequest++; + if (buildCounterRequestReviewShoppingAdsRequest < 3) { + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterRequestReviewShoppingAdsRequest--; +} + core.int buildCounterReturnAddress = 0; api.ReturnAddress buildReturnAddress() { final o = api.ReturnAddress(); @@ -12500,12 +13111,12 @@ void checkReturnAddress(api.ReturnAddress o) { buildCounterReturnAddress--; } -core.List buildUnnamed5199() => [ +core.List buildUnnamed5255() => [ 'foo', 'foo', ]; -void checkUnnamed5199(core.List o) { +void checkUnnamed5255(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12527,7 +13138,7 @@ api.ReturnAddressAddress buildReturnAddressAddress() { o.postalCode = 'foo'; o.recipientName = 'foo'; o.region = 'foo'; - o.streetAddress = buildUnnamed5199(); + o.streetAddress = buildUnnamed5255(); } buildCounterReturnAddressAddress--; return o; @@ -12556,17 +13167,17 @@ void checkReturnAddressAddress(api.ReturnAddressAddress o) { o.region!, unittest.equals('foo'), ); - checkUnnamed5199(o.streetAddress!); + checkUnnamed5255(o.streetAddress!); } buildCounterReturnAddressAddress--; } -core.List buildUnnamed5200() => [ +core.List buildUnnamed5256() => [ 'foo', 'foo', ]; -void checkUnnamed5200(core.List o) { +void checkUnnamed5256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12578,12 +13189,12 @@ void checkUnnamed5200(core.List o) { ); } -core.List buildUnnamed5201() => [ +core.List buildUnnamed5257() => [ buildReturnPolicySeasonalOverride(), buildReturnPolicySeasonalOverride(), ]; -void checkUnnamed5201(core.List o) { +void checkUnnamed5257(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicySeasonalOverride(o[0]); checkReturnPolicySeasonalOverride(o[1]); @@ -12598,11 +13209,11 @@ api.ReturnPolicy buildReturnPolicy() { o.kind = 'foo'; o.label = 'foo'; o.name = 'foo'; - o.nonFreeReturnReasons = buildUnnamed5200(); + o.nonFreeReturnReasons = buildUnnamed5256(); o.policy = buildReturnPolicyPolicy(); o.returnPolicyId = 'foo'; o.returnShippingFee = buildPrice(); - o.seasonalOverrides = buildUnnamed5201(); + o.seasonalOverrides = buildUnnamed5257(); } buildCounterReturnPolicy--; return o; @@ -12627,24 +13238,24 @@ void checkReturnPolicy(api.ReturnPolicy o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5200(o.nonFreeReturnReasons!); + checkUnnamed5256(o.nonFreeReturnReasons!); checkReturnPolicyPolicy(o.policy!); unittest.expect( o.returnPolicyId!, unittest.equals('foo'), ); checkPrice(o.returnShippingFee!); - checkUnnamed5201(o.seasonalOverrides!); + checkUnnamed5257(o.seasonalOverrides!); } buildCounterReturnPolicy--; } -core.List buildUnnamed5202() => [ +core.List buildUnnamed5258() => [ 'foo', 'foo', ]; -void checkUnnamed5202(core.List o) { +void checkUnnamed5258(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12656,12 +13267,12 @@ void checkUnnamed5202(core.List o) { ); } -core.List buildUnnamed5203() => [ +core.List buildUnnamed5259() => [ 'foo', 'foo', ]; -void checkUnnamed5203(core.List o) { +void checkUnnamed5259(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12673,12 +13284,12 @@ void checkUnnamed5203(core.List o) { ); } -core.List buildUnnamed5204() => [ +core.List buildUnnamed5260() => [ 'foo', 'foo', ]; -void checkUnnamed5204(core.List o) { +void checkUnnamed5260(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12690,13 +13301,13 @@ void checkUnnamed5204(core.List o) { ); } -core.List buildUnnamed5205() => +core.List buildUnnamed5261() => [ buildReturnPolicyOnlineReturnReasonCategoryInfo(), buildReturnPolicyOnlineReturnReasonCategoryInfo(), ]; -void checkUnnamed5205( +void checkUnnamed5261( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicyOnlineReturnReasonCategoryInfo(o[0]); @@ -12708,16 +13319,16 @@ api.ReturnPolicyOnline buildReturnPolicyOnline() { final o = api.ReturnPolicyOnline(); buildCounterReturnPolicyOnline++; if (buildCounterReturnPolicyOnline < 3) { - o.countries = buildUnnamed5202(); - o.itemConditions = buildUnnamed5203(); + o.countries = buildUnnamed5258(); + o.itemConditions = buildUnnamed5259(); o.label = 'foo'; o.name = 'foo'; o.policy = buildReturnPolicyOnlinePolicy(); o.restockingFee = buildReturnPolicyOnlineRestockingFee(); - o.returnMethods = buildUnnamed5204(); + o.returnMethods = buildUnnamed5260(); o.returnPolicyId = 'foo'; o.returnPolicyUri = 'foo'; - o.returnReasonCategoryInfo = buildUnnamed5205(); + o.returnReasonCategoryInfo = buildUnnamed5261(); } buildCounterReturnPolicyOnline--; return o; @@ -12726,8 +13337,8 @@ api.ReturnPolicyOnline buildReturnPolicyOnline() { void checkReturnPolicyOnline(api.ReturnPolicyOnline o) { buildCounterReturnPolicyOnline++; if (buildCounterReturnPolicyOnline < 3) { - checkUnnamed5202(o.countries!); - checkUnnamed5203(o.itemConditions!); + checkUnnamed5258(o.countries!); + checkUnnamed5259(o.itemConditions!); unittest.expect( o.label!, unittest.equals('foo'), @@ -12738,7 +13349,7 @@ void checkReturnPolicyOnline(api.ReturnPolicyOnline o) { ); checkReturnPolicyOnlinePolicy(o.policy!); checkReturnPolicyOnlineRestockingFee(o.restockingFee!); - checkUnnamed5204(o.returnMethods!); + checkUnnamed5260(o.returnMethods!); unittest.expect( o.returnPolicyId!, unittest.equals('foo'), @@ -12747,7 +13358,7 @@ void checkReturnPolicyOnline(api.ReturnPolicyOnline o) { o.returnPolicyUri!, unittest.equals('foo'), ); - checkUnnamed5205(o.returnReasonCategoryInfo!); + checkUnnamed5261(o.returnReasonCategoryInfo!); } buildCounterReturnPolicyOnline--; } @@ -12954,12 +13565,12 @@ void checkReturnPricingInfo(api.ReturnPricingInfo o) { buildCounterReturnPricingInfo--; } -core.List buildUnnamed5206() => [ +core.List buildUnnamed5262() => [ buildShipmentTrackingInfo(), buildShipmentTrackingInfo(), ]; -void checkUnnamed5206(core.List o) { +void checkUnnamed5262(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShipmentTrackingInfo(o[0]); checkShipmentTrackingInfo(o[1]); @@ -12974,7 +13585,7 @@ api.ReturnShipment buildReturnShipment() { o.deliveryDate = 'foo'; o.returnMethodType = 'foo'; o.shipmentId = 'foo'; - o.shipmentTrackingInfos = buildUnnamed5206(); + o.shipmentTrackingInfos = buildUnnamed5262(); o.shippingDate = 'foo'; o.state = 'foo'; } @@ -13001,7 +13612,7 @@ void checkReturnShipment(api.ReturnShipment o) { o.shipmentId!, unittest.equals('foo'), ); - checkUnnamed5206(o.shipmentTrackingInfos!); + checkUnnamed5262(o.shipmentTrackingInfos!); unittest.expect( o.shippingDate!, unittest.equals('foo'), @@ -13046,12 +13657,12 @@ void checkReturnShippingLabel(api.ReturnShippingLabel o) { buildCounterReturnShippingLabel--; } -core.List buildUnnamed5207() => [ +core.List buildUnnamed5263() => [ buildReturnaddressCustomBatchRequestEntry(), buildReturnaddressCustomBatchRequestEntry(), ]; -void checkUnnamed5207(core.List o) { +void checkUnnamed5263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnaddressCustomBatchRequestEntry(o[0]); checkReturnaddressCustomBatchRequestEntry(o[1]); @@ -13062,7 +13673,7 @@ api.ReturnaddressCustomBatchRequest buildReturnaddressCustomBatchRequest() { final o = api.ReturnaddressCustomBatchRequest(); buildCounterReturnaddressCustomBatchRequest++; if (buildCounterReturnaddressCustomBatchRequest < 3) { - o.entries = buildUnnamed5207(); + o.entries = buildUnnamed5263(); } buildCounterReturnaddressCustomBatchRequest--; return o; @@ -13072,7 +13683,7 @@ void checkReturnaddressCustomBatchRequest( api.ReturnaddressCustomBatchRequest o) { buildCounterReturnaddressCustomBatchRequest++; if (buildCounterReturnaddressCustomBatchRequest < 3) { - checkUnnamed5207(o.entries!); + checkUnnamed5263(o.entries!); } buildCounterReturnaddressCustomBatchRequest--; } @@ -13118,12 +13729,12 @@ void checkReturnaddressCustomBatchRequestEntry( buildCounterReturnaddressCustomBatchRequestEntry--; } -core.List buildUnnamed5208() => [ +core.List buildUnnamed5264() => [ buildReturnaddressCustomBatchResponseEntry(), buildReturnaddressCustomBatchResponseEntry(), ]; -void checkUnnamed5208(core.List o) { +void checkUnnamed5264(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnaddressCustomBatchResponseEntry(o[0]); checkReturnaddressCustomBatchResponseEntry(o[1]); @@ -13134,7 +13745,7 @@ api.ReturnaddressCustomBatchResponse buildReturnaddressCustomBatchResponse() { final o = api.ReturnaddressCustomBatchResponse(); buildCounterReturnaddressCustomBatchResponse++; if (buildCounterReturnaddressCustomBatchResponse < 3) { - o.entries = buildUnnamed5208(); + o.entries = buildUnnamed5264(); o.kind = 'foo'; } buildCounterReturnaddressCustomBatchResponse--; @@ -13145,7 +13756,7 @@ void checkReturnaddressCustomBatchResponse( api.ReturnaddressCustomBatchResponse o) { buildCounterReturnaddressCustomBatchResponse++; if (buildCounterReturnaddressCustomBatchResponse < 3) { - checkUnnamed5208(o.entries!); + checkUnnamed5264(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13187,12 +13798,12 @@ void checkReturnaddressCustomBatchResponseEntry( buildCounterReturnaddressCustomBatchResponseEntry--; } -core.List buildUnnamed5209() => [ +core.List buildUnnamed5265() => [ buildReturnAddress(), buildReturnAddress(), ]; -void checkUnnamed5209(core.List o) { +void checkUnnamed5265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnAddress(o[0]); checkReturnAddress(o[1]); @@ -13205,7 +13816,7 @@ api.ReturnaddressListResponse buildReturnaddressListResponse() { if (buildCounterReturnaddressListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5209(); + o.resources = buildUnnamed5265(); } buildCounterReturnaddressListResponse--; return o; @@ -13222,17 +13833,17 @@ void checkReturnaddressListResponse(api.ReturnaddressListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5209(o.resources!); + checkUnnamed5265(o.resources!); } buildCounterReturnaddressListResponse--; } -core.List buildUnnamed5210() => [ +core.List buildUnnamed5266() => [ buildReturnpolicyCustomBatchRequestEntry(), buildReturnpolicyCustomBatchRequestEntry(), ]; -void checkUnnamed5210(core.List o) { +void checkUnnamed5266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnpolicyCustomBatchRequestEntry(o[0]); checkReturnpolicyCustomBatchRequestEntry(o[1]); @@ -13243,7 +13854,7 @@ api.ReturnpolicyCustomBatchRequest buildReturnpolicyCustomBatchRequest() { final o = api.ReturnpolicyCustomBatchRequest(); buildCounterReturnpolicyCustomBatchRequest++; if (buildCounterReturnpolicyCustomBatchRequest < 3) { - o.entries = buildUnnamed5210(); + o.entries = buildUnnamed5266(); } buildCounterReturnpolicyCustomBatchRequest--; return o; @@ -13252,7 +13863,7 @@ api.ReturnpolicyCustomBatchRequest buildReturnpolicyCustomBatchRequest() { void checkReturnpolicyCustomBatchRequest(api.ReturnpolicyCustomBatchRequest o) { buildCounterReturnpolicyCustomBatchRequest++; if (buildCounterReturnpolicyCustomBatchRequest < 3) { - checkUnnamed5210(o.entries!); + checkUnnamed5266(o.entries!); } buildCounterReturnpolicyCustomBatchRequest--; } @@ -13298,12 +13909,12 @@ void checkReturnpolicyCustomBatchRequestEntry( buildCounterReturnpolicyCustomBatchRequestEntry--; } -core.List buildUnnamed5211() => [ +core.List buildUnnamed5267() => [ buildReturnpolicyCustomBatchResponseEntry(), buildReturnpolicyCustomBatchResponseEntry(), ]; -void checkUnnamed5211(core.List o) { +void checkUnnamed5267(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnpolicyCustomBatchResponseEntry(o[0]); checkReturnpolicyCustomBatchResponseEntry(o[1]); @@ -13314,7 +13925,7 @@ api.ReturnpolicyCustomBatchResponse buildReturnpolicyCustomBatchResponse() { final o = api.ReturnpolicyCustomBatchResponse(); buildCounterReturnpolicyCustomBatchResponse++; if (buildCounterReturnpolicyCustomBatchResponse < 3) { - o.entries = buildUnnamed5211(); + o.entries = buildUnnamed5267(); o.kind = 'foo'; } buildCounterReturnpolicyCustomBatchResponse--; @@ -13325,7 +13936,7 @@ void checkReturnpolicyCustomBatchResponse( api.ReturnpolicyCustomBatchResponse o) { buildCounterReturnpolicyCustomBatchResponse++; if (buildCounterReturnpolicyCustomBatchResponse < 3) { - checkUnnamed5211(o.entries!); + checkUnnamed5267(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13367,12 +13978,12 @@ void checkReturnpolicyCustomBatchResponseEntry( buildCounterReturnpolicyCustomBatchResponseEntry--; } -core.List buildUnnamed5212() => [ +core.List buildUnnamed5268() => [ buildReturnPolicy(), buildReturnPolicy(), ]; -void checkUnnamed5212(core.List o) { +void checkUnnamed5268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicy(o[0]); checkReturnPolicy(o[1]); @@ -13384,7 +13995,7 @@ api.ReturnpolicyListResponse buildReturnpolicyListResponse() { buildCounterReturnpolicyListResponse++; if (buildCounterReturnpolicyListResponse < 3) { o.kind = 'foo'; - o.resources = buildUnnamed5212(); + o.resources = buildUnnamed5268(); } buildCounterReturnpolicyListResponse--; return o; @@ -13397,17 +14008,17 @@ void checkReturnpolicyListResponse(api.ReturnpolicyListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5212(o.resources!); + checkUnnamed5268(o.resources!); } buildCounterReturnpolicyListResponse--; } -core.List buildUnnamed5213() => [ +core.List buildUnnamed5269() => [ buildValue(), buildValue(), ]; -void checkUnnamed5213(core.List o) { +void checkUnnamed5269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -13418,7 +14029,7 @@ api.Row buildRow() { final o = api.Row(); buildCounterRow++; if (buildCounterRow < 3) { - o.cells = buildUnnamed5213(); + o.cells = buildUnnamed5269(); } buildCounterRow--; return o; @@ -13427,7 +14038,7 @@ api.Row buildRow() { void checkRow(api.Row o) { buildCounterRow++; if (buildCounterRow < 3) { - checkUnnamed5213(o.cells!); + checkUnnamed5269(o.cells!); } buildCounterRow--; } @@ -13464,12 +14075,12 @@ void checkSearchRequest(api.SearchRequest o) { buildCounterSearchRequest--; } -core.List buildUnnamed5214() => [ +core.List buildUnnamed5270() => [ buildReportRow(), buildReportRow(), ]; -void checkUnnamed5214(core.List o) { +void checkUnnamed5270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRow(o[0]); checkReportRow(o[1]); @@ -13481,7 +14092,7 @@ api.SearchResponse buildSearchResponse() { buildCounterSearchResponse++; if (buildCounterSearchResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed5214(); + o.results = buildUnnamed5270(); } buildCounterSearchResponse--; return o; @@ -13494,7 +14105,7 @@ void checkSearchResponse(api.SearchResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5214(o.results!); + checkUnnamed5270(o.results!); } buildCounterSearchResponse--; } @@ -13620,12 +14231,12 @@ void checkSegments(api.Segments o) { buildCounterSegments--; } -core.List buildUnnamed5215() => [ +core.List buildUnnamed5271() => [ buildRateGroup(), buildRateGroup(), ]; -void checkUnnamed5215(core.List o) { +void checkUnnamed5271(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRateGroup(o[0]); checkRateGroup(o[1]); @@ -13645,7 +14256,7 @@ api.Service buildService() { o.minimumOrderValueTable = buildMinimumOrderValueTable(); o.name = 'foo'; o.pickupService = buildPickupCarrierService(); - o.rateGroups = buildUnnamed5215(); + o.rateGroups = buildUnnamed5271(); o.shipmentType = 'foo'; } buildCounterService--; @@ -13676,7 +14287,7 @@ void checkService(api.Service o) { unittest.equals('foo'), ); checkPickupCarrierService(o.pickupService!); - checkUnnamed5215(o.rateGroups!); + checkUnnamed5271(o.rateGroups!); unittest.expect( o.shipmentType!, unittest.equals('foo'), @@ -13685,12 +14296,12 @@ void checkService(api.Service o) { buildCounterService--; } -core.List buildUnnamed5216() => [ +core.List buildUnnamed5272() => [ 'foo', 'foo', ]; -void checkUnnamed5216(core.List o) { +void checkUnnamed5272(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13714,7 +14325,7 @@ api.SettlementReport buildSettlementReport() { o.startDate = 'foo'; o.transferAmount = buildPrice(); o.transferDate = 'foo'; - o.transferIds = buildUnnamed5216(); + o.transferIds = buildUnnamed5272(); } buildCounterSettlementReport--; return o; @@ -13745,7 +14356,7 @@ void checkSettlementReport(api.SettlementReport o) { o.transferDate!, unittest.equals('foo'), ); - checkUnnamed5216(o.transferIds!); + checkUnnamed5272(o.transferIds!); } buildCounterSettlementReport--; } @@ -13838,12 +14449,12 @@ void checkSettlementTransactionAmountCommission( buildCounterSettlementTransactionAmountCommission--; } -core.List buildUnnamed5217() => [ +core.List buildUnnamed5273() => [ 'foo', 'foo', ]; -void checkUnnamed5217(core.List o) { +void checkUnnamed5273(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13864,7 +14475,7 @@ api.SettlementTransactionIdentifiers buildSettlementTransactionIdentifiers() { o.merchantOrderId = 'foo'; o.orderItemId = 'foo'; o.settlementEntryId = 'foo'; - o.shipmentIds = buildUnnamed5217(); + o.shipmentIds = buildUnnamed5273(); o.transactionId = 'foo'; } buildCounterSettlementTransactionIdentifiers--; @@ -13891,7 +14502,7 @@ void checkSettlementTransactionIdentifiers( o.settlementEntryId!, unittest.equals('foo'), ); - checkUnnamed5217(o.shipmentIds!); + checkUnnamed5273(o.shipmentIds!); unittest.expect( o.transactionId!, unittest.equals('foo'), @@ -13928,12 +14539,12 @@ void checkSettlementTransactionTransaction( buildCounterSettlementTransactionTransaction--; } -core.List buildUnnamed5218() => [ +core.List buildUnnamed5274() => [ buildSettlementReport(), buildSettlementReport(), ]; -void checkUnnamed5218(core.List o) { +void checkUnnamed5274(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSettlementReport(o[0]); checkSettlementReport(o[1]); @@ -13946,7 +14557,7 @@ api.SettlementreportsListResponse buildSettlementreportsListResponse() { if (buildCounterSettlementreportsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5218(); + o.resources = buildUnnamed5274(); } buildCounterSettlementreportsListResponse--; return o; @@ -13963,17 +14574,17 @@ void checkSettlementreportsListResponse(api.SettlementreportsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5218(o.resources!); + checkUnnamed5274(o.resources!); } buildCounterSettlementreportsListResponse--; } -core.List buildUnnamed5219() => [ +core.List buildUnnamed5275() => [ buildSettlementTransaction(), buildSettlementTransaction(), ]; -void checkUnnamed5219(core.List o) { +void checkUnnamed5275(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSettlementTransaction(o[0]); checkSettlementTransaction(o[1]); @@ -13987,7 +14598,7 @@ api.SettlementtransactionsListResponse if (buildCounterSettlementtransactionsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5219(); + o.resources = buildUnnamed5275(); } buildCounterSettlementtransactionsListResponse--; return o; @@ -14005,17 +14616,17 @@ void checkSettlementtransactionsListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5219(o.resources!); + checkUnnamed5275(o.resources!); } buildCounterSettlementtransactionsListResponse--; } -core.List buildUnnamed5220() => [ +core.List buildUnnamed5276() => [ buildShipmentInvoiceLineItemInvoice(), buildShipmentInvoiceLineItemInvoice(), ]; -void checkUnnamed5220(core.List o) { +void checkUnnamed5276(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShipmentInvoiceLineItemInvoice(o[0]); checkShipmentInvoiceLineItemInvoice(o[1]); @@ -14027,7 +14638,7 @@ api.ShipmentInvoice buildShipmentInvoice() { buildCounterShipmentInvoice++; if (buildCounterShipmentInvoice < 3) { o.invoiceSummary = buildInvoiceSummary(); - o.lineItemInvoices = buildUnnamed5220(); + o.lineItemInvoices = buildUnnamed5276(); o.shipmentGroupId = 'foo'; } buildCounterShipmentInvoice--; @@ -14038,7 +14649,7 @@ void checkShipmentInvoice(api.ShipmentInvoice o) { buildCounterShipmentInvoice++; if (buildCounterShipmentInvoice < 3) { checkInvoiceSummary(o.invoiceSummary!); - checkUnnamed5220(o.lineItemInvoices!); + checkUnnamed5276(o.lineItemInvoices!); unittest.expect( o.shipmentGroupId!, unittest.equals('foo'), @@ -14047,12 +14658,12 @@ void checkShipmentInvoice(api.ShipmentInvoice o) { buildCounterShipmentInvoice--; } -core.List buildUnnamed5221() => [ +core.List buildUnnamed5277() => [ 'foo', 'foo', ]; -void checkUnnamed5221(core.List o) { +void checkUnnamed5277(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14071,7 +14682,7 @@ api.ShipmentInvoiceLineItemInvoice buildShipmentInvoiceLineItemInvoice() { if (buildCounterShipmentInvoiceLineItemInvoice < 3) { o.lineItemId = 'foo'; o.productId = 'foo'; - o.shipmentUnitIds = buildUnnamed5221(); + o.shipmentUnitIds = buildUnnamed5277(); o.unitInvoice = buildUnitInvoice(); } buildCounterShipmentInvoiceLineItemInvoice--; @@ -14089,7 +14700,7 @@ void checkShipmentInvoiceLineItemInvoice(api.ShipmentInvoiceLineItemInvoice o) { o.productId!, unittest.equals('foo'), ); - checkUnnamed5221(o.shipmentUnitIds!); + checkUnnamed5277(o.shipmentUnitIds!); checkUnitInvoice(o.unitInvoice!); } buildCounterShipmentInvoiceLineItemInvoice--; @@ -14122,23 +14733,23 @@ void checkShipmentTrackingInfo(api.ShipmentTrackingInfo o) { buildCounterShipmentTrackingInfo--; } -core.List buildUnnamed5222() => [ +core.List buildUnnamed5278() => [ buildPostalCodeGroup(), buildPostalCodeGroup(), ]; -void checkUnnamed5222(core.List o) { +void checkUnnamed5278(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCodeGroup(o[0]); checkPostalCodeGroup(o[1]); } -core.List buildUnnamed5223() => [ +core.List buildUnnamed5279() => [ buildService(), buildService(), ]; -void checkUnnamed5223(core.List o) { +void checkUnnamed5279(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); @@ -14150,8 +14761,8 @@ api.ShippingSettings buildShippingSettings() { buildCounterShippingSettings++; if (buildCounterShippingSettings < 3) { o.accountId = 'foo'; - o.postalCodeGroups = buildUnnamed5222(); - o.services = buildUnnamed5223(); + o.postalCodeGroups = buildUnnamed5278(); + o.services = buildUnnamed5279(); } buildCounterShippingSettings--; return o; @@ -14164,18 +14775,18 @@ void checkShippingSettings(api.ShippingSettings o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5222(o.postalCodeGroups!); - checkUnnamed5223(o.services!); + checkUnnamed5278(o.postalCodeGroups!); + checkUnnamed5279(o.services!); } buildCounterShippingSettings--; } -core.List buildUnnamed5224() => [ +core.List buildUnnamed5280() => [ buildShippingsettingsCustomBatchRequestEntry(), buildShippingsettingsCustomBatchRequestEntry(), ]; -void checkUnnamed5224( +void checkUnnamed5280( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShippingsettingsCustomBatchRequestEntry(o[0]); @@ -14188,7 +14799,7 @@ api.ShippingsettingsCustomBatchRequest final o = api.ShippingsettingsCustomBatchRequest(); buildCounterShippingsettingsCustomBatchRequest++; if (buildCounterShippingsettingsCustomBatchRequest < 3) { - o.entries = buildUnnamed5224(); + o.entries = buildUnnamed5280(); } buildCounterShippingsettingsCustomBatchRequest--; return o; @@ -14198,7 +14809,7 @@ void checkShippingsettingsCustomBatchRequest( api.ShippingsettingsCustomBatchRequest o) { buildCounterShippingsettingsCustomBatchRequest++; if (buildCounterShippingsettingsCustomBatchRequest < 3) { - checkUnnamed5224(o.entries!); + checkUnnamed5280(o.entries!); } buildCounterShippingsettingsCustomBatchRequest--; } @@ -14244,12 +14855,12 @@ void checkShippingsettingsCustomBatchRequestEntry( buildCounterShippingsettingsCustomBatchRequestEntry--; } -core.List buildUnnamed5225() => [ +core.List buildUnnamed5281() => [ buildShippingsettingsCustomBatchResponseEntry(), buildShippingsettingsCustomBatchResponseEntry(), ]; -void checkUnnamed5225( +void checkUnnamed5281( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShippingsettingsCustomBatchResponseEntry(o[0]); @@ -14262,7 +14873,7 @@ api.ShippingsettingsCustomBatchResponse final o = api.ShippingsettingsCustomBatchResponse(); buildCounterShippingsettingsCustomBatchResponse++; if (buildCounterShippingsettingsCustomBatchResponse < 3) { - o.entries = buildUnnamed5225(); + o.entries = buildUnnamed5281(); o.kind = 'foo'; } buildCounterShippingsettingsCustomBatchResponse--; @@ -14273,7 +14884,7 @@ void checkShippingsettingsCustomBatchResponse( api.ShippingsettingsCustomBatchResponse o) { buildCounterShippingsettingsCustomBatchResponse++; if (buildCounterShippingsettingsCustomBatchResponse < 3) { - checkUnnamed5225(o.entries!); + checkUnnamed5281(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14315,12 +14926,12 @@ void checkShippingsettingsCustomBatchResponseEntry( buildCounterShippingsettingsCustomBatchResponseEntry--; } -core.List buildUnnamed5226() => [ +core.List buildUnnamed5282() => [ buildCarriersCarrier(), buildCarriersCarrier(), ]; -void checkUnnamed5226(core.List o) { +void checkUnnamed5282(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCarriersCarrier(o[0]); checkCarriersCarrier(o[1]); @@ -14332,7 +14943,7 @@ api.ShippingsettingsGetSupportedCarriersResponse final o = api.ShippingsettingsGetSupportedCarriersResponse(); buildCounterShippingsettingsGetSupportedCarriersResponse++; if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { - o.carriers = buildUnnamed5226(); + o.carriers = buildUnnamed5282(); o.kind = 'foo'; } buildCounterShippingsettingsGetSupportedCarriersResponse--; @@ -14343,7 +14954,7 @@ void checkShippingsettingsGetSupportedCarriersResponse( api.ShippingsettingsGetSupportedCarriersResponse o) { buildCounterShippingsettingsGetSupportedCarriersResponse++; if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { - checkUnnamed5226(o.carriers!); + checkUnnamed5282(o.carriers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14352,12 +14963,12 @@ void checkShippingsettingsGetSupportedCarriersResponse( buildCounterShippingsettingsGetSupportedCarriersResponse--; } -core.List buildUnnamed5227() => [ +core.List buildUnnamed5283() => [ buildHolidaysHoliday(), buildHolidaysHoliday(), ]; -void checkUnnamed5227(core.List o) { +void checkUnnamed5283(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHolidaysHoliday(o[0]); checkHolidaysHoliday(o[1]); @@ -14369,7 +14980,7 @@ api.ShippingsettingsGetSupportedHolidaysResponse final o = api.ShippingsettingsGetSupportedHolidaysResponse(); buildCounterShippingsettingsGetSupportedHolidaysResponse++; if (buildCounterShippingsettingsGetSupportedHolidaysResponse < 3) { - o.holidays = buildUnnamed5227(); + o.holidays = buildUnnamed5283(); o.kind = 'foo'; } buildCounterShippingsettingsGetSupportedHolidaysResponse--; @@ -14380,7 +14991,7 @@ void checkShippingsettingsGetSupportedHolidaysResponse( api.ShippingsettingsGetSupportedHolidaysResponse o) { buildCounterShippingsettingsGetSupportedHolidaysResponse++; if (buildCounterShippingsettingsGetSupportedHolidaysResponse < 3) { - checkUnnamed5227(o.holidays!); + checkUnnamed5283(o.holidays!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14389,12 +15000,12 @@ void checkShippingsettingsGetSupportedHolidaysResponse( buildCounterShippingsettingsGetSupportedHolidaysResponse--; } -core.List buildUnnamed5228() => [ +core.List buildUnnamed5284() => [ buildPickupServicesPickupService(), buildPickupServicesPickupService(), ]; -void checkUnnamed5228(core.List o) { +void checkUnnamed5284(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPickupServicesPickupService(o[0]); checkPickupServicesPickupService(o[1]); @@ -14407,7 +15018,7 @@ api.ShippingsettingsGetSupportedPickupServicesResponse buildCounterShippingsettingsGetSupportedPickupServicesResponse++; if (buildCounterShippingsettingsGetSupportedPickupServicesResponse < 3) { o.kind = 'foo'; - o.pickupServices = buildUnnamed5228(); + o.pickupServices = buildUnnamed5284(); } buildCounterShippingsettingsGetSupportedPickupServicesResponse--; return o; @@ -14421,17 +15032,17 @@ void checkShippingsettingsGetSupportedPickupServicesResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5228(o.pickupServices!); + checkUnnamed5284(o.pickupServices!); } buildCounterShippingsettingsGetSupportedPickupServicesResponse--; } -core.List buildUnnamed5229() => [ +core.List buildUnnamed5285() => [ buildShippingSettings(), buildShippingSettings(), ]; -void checkUnnamed5229(core.List o) { +void checkUnnamed5285(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShippingSettings(o[0]); checkShippingSettings(o[1]); @@ -14444,7 +15055,7 @@ api.ShippingsettingsListResponse buildShippingsettingsListResponse() { if (buildCounterShippingsettingsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed5229(); + o.resources = buildUnnamed5285(); } buildCounterShippingsettingsListResponse--; return o; @@ -14461,17 +15072,129 @@ void checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5229(o.resources!); + checkUnnamed5285(o.resources!); } buildCounterShippingsettingsListResponse--; } -core.List buildUnnamed5230() => [ +core.List buildUnnamed5286() => [ + buildShoppingAdsProgramStatusRegionStatus(), + buildShoppingAdsProgramStatusRegionStatus(), + ]; + +void checkUnnamed5286(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkShoppingAdsProgramStatusRegionStatus(o[0]); + checkShoppingAdsProgramStatusRegionStatus(o[1]); +} + +core.int buildCounterShoppingAdsProgramStatus = 0; +api.ShoppingAdsProgramStatus buildShoppingAdsProgramStatus() { + final o = api.ShoppingAdsProgramStatus(); + buildCounterShoppingAdsProgramStatus++; + if (buildCounterShoppingAdsProgramStatus < 3) { + o.regionStatuses = buildUnnamed5286(); + o.state = 'foo'; + } + buildCounterShoppingAdsProgramStatus--; + return o; +} + +void checkShoppingAdsProgramStatus(api.ShoppingAdsProgramStatus o) { + buildCounterShoppingAdsProgramStatus++; + if (buildCounterShoppingAdsProgramStatus < 3) { + checkUnnamed5286(o.regionStatuses!); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + } + buildCounterShoppingAdsProgramStatus--; +} + +core.List buildUnnamed5287() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5287(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed5288() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5288(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterShoppingAdsProgramStatusRegionStatus = 0; +api.ShoppingAdsProgramStatusRegionStatus + buildShoppingAdsProgramStatusRegionStatus() { + final o = api.ShoppingAdsProgramStatusRegionStatus(); + buildCounterShoppingAdsProgramStatusRegionStatus++; + if (buildCounterShoppingAdsProgramStatusRegionStatus < 3) { + o.disapprovalDate = 'foo'; + o.eligibilityStatus = 'foo'; + o.ineligibilityReason = 'foo'; + o.regionCodes = buildUnnamed5287(); + o.reviewEligibilityStatus = 'foo'; + o.reviewIssues = buildUnnamed5288(); + } + buildCounterShoppingAdsProgramStatusRegionStatus--; + return o; +} + +void checkShoppingAdsProgramStatusRegionStatus( + api.ShoppingAdsProgramStatusRegionStatus o) { + buildCounterShoppingAdsProgramStatusRegionStatus++; + if (buildCounterShoppingAdsProgramStatusRegionStatus < 3) { + unittest.expect( + o.disapprovalDate!, + unittest.equals('foo'), + ); + unittest.expect( + o.eligibilityStatus!, + unittest.equals('foo'), + ); + unittest.expect( + o.ineligibilityReason!, + unittest.equals('foo'), + ); + checkUnnamed5287(o.regionCodes!); + unittest.expect( + o.reviewEligibilityStatus!, + unittest.equals('foo'), + ); + checkUnnamed5288(o.reviewIssues!); + } + buildCounterShoppingAdsProgramStatusRegionStatus--; +} + +core.List buildUnnamed5289() => [ buildRow(), buildRow(), ]; -void checkUnnamed5230(core.List o) { +void checkUnnamed5289(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -14485,7 +15208,7 @@ api.Table buildTable() { o.columnHeaders = buildHeaders(); o.name = 'foo'; o.rowHeaders = buildHeaders(); - o.rows = buildUnnamed5230(); + o.rows = buildUnnamed5289(); } buildCounterTable--; return o; @@ -14500,28 +15223,28 @@ void checkTable(api.Table o) { unittest.equals('foo'), ); checkHeaders(o.rowHeaders!); - checkUnnamed5230(o.rows!); + checkUnnamed5289(o.rows!); } buildCounterTable--; } -core.List buildUnnamed5231() => [ +core.List buildUnnamed5290() => [ buildTestOrderLineItem(), buildTestOrderLineItem(), ]; -void checkUnnamed5231(core.List o) { +void checkUnnamed5290(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestOrderLineItem(o[0]); checkTestOrderLineItem(o[1]); } -core.List buildUnnamed5232() => [ +core.List buildUnnamed5291() => [ buildOrderPromotion(), buildOrderPromotion(), ]; -void checkUnnamed5232(core.List o) { +void checkUnnamed5291(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderPromotion(o[0]); checkOrderPromotion(o[1]); @@ -14535,14 +15258,14 @@ api.TestOrder buildTestOrder() { o.deliveryDetails = buildTestOrderDeliveryDetails(); o.enableOrderinvoices = true; o.kind = 'foo'; - o.lineItems = buildUnnamed5231(); + o.lineItems = buildUnnamed5290(); o.notificationMode = 'foo'; o.pickupDetails = buildTestOrderPickupDetails(); o.predefinedBillingAddress = 'foo'; o.predefinedDeliveryAddress = 'foo'; o.predefinedEmail = 'foo'; o.predefinedPickupDetails = 'foo'; - o.promotions = buildUnnamed5232(); + o.promotions = buildUnnamed5291(); o.shippingCost = buildPrice(); o.shippingOption = 'foo'; } @@ -14559,7 +15282,7 @@ void checkTestOrder(api.TestOrder o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5231(o.lineItems!); + checkUnnamed5290(o.lineItems!); unittest.expect( o.notificationMode!, unittest.equals('foo'), @@ -14581,7 +15304,7 @@ void checkTestOrder(api.TestOrder o) { o.predefinedPickupDetails!, unittest.equals('foo'), ); - checkUnnamed5232(o.promotions!); + checkUnnamed5291(o.promotions!); checkPrice(o.shippingCost!); unittest.expect( o.shippingOption!, @@ -14591,12 +15314,12 @@ void checkTestOrder(api.TestOrder o) { buildCounterTestOrder--; } -core.List buildUnnamed5233() => [ +core.List buildUnnamed5292() => [ 'foo', 'foo', ]; -void checkUnnamed5233(core.List o) { +void checkUnnamed5292(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14608,12 +15331,12 @@ void checkUnnamed5233(core.List o) { ); } -core.List buildUnnamed5234() => [ +core.List buildUnnamed5293() => [ 'foo', 'foo', ]; -void checkUnnamed5234(core.List o) { +void checkUnnamed5293(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14631,13 +15354,13 @@ api.TestOrderAddress buildTestOrderAddress() { buildCounterTestOrderAddress++; if (buildCounterTestOrderAddress < 3) { o.country = 'foo'; - o.fullAddress = buildUnnamed5233(); + o.fullAddress = buildUnnamed5292(); o.isPostOfficeBox = true; o.locality = 'foo'; o.postalCode = 'foo'; o.recipientName = 'foo'; o.region = 'foo'; - o.streetAddress = buildUnnamed5234(); + o.streetAddress = buildUnnamed5293(); } buildCounterTestOrderAddress--; return o; @@ -14650,7 +15373,7 @@ void checkTestOrderAddress(api.TestOrderAddress o) { o.country!, unittest.equals('foo'), ); - checkUnnamed5233(o.fullAddress!); + checkUnnamed5292(o.fullAddress!); unittest.expect(o.isPostOfficeBox!, unittest.isTrue); unittest.expect( o.locality!, @@ -14668,7 +15391,7 @@ void checkTestOrderAddress(api.TestOrderAddress o) { o.region!, unittest.equals('foo'), ); - checkUnnamed5234(o.streetAddress!); + checkUnnamed5293(o.streetAddress!); } buildCounterTestOrderAddress--; } @@ -14727,23 +15450,23 @@ void checkTestOrderLineItem(api.TestOrderLineItem o) { buildCounterTestOrderLineItem--; } -core.List buildUnnamed5235() => [ +core.List buildUnnamed5294() => [ buildOrderLineItemProductFee(), buildOrderLineItemProductFee(), ]; -void checkUnnamed5235(core.List o) { +void checkUnnamed5294(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemProductFee(o[0]); checkOrderLineItemProductFee(o[1]); } -core.List buildUnnamed5236() => [ +core.List buildUnnamed5295() => [ buildOrderLineItemProductVariantAttribute(), buildOrderLineItemProductVariantAttribute(), ]; -void checkUnnamed5236(core.List o) { +void checkUnnamed5295(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemProductVariantAttribute(o[0]); checkOrderLineItemProductVariantAttribute(o[1]); @@ -14757,7 +15480,7 @@ api.TestOrderLineItemProduct buildTestOrderLineItemProduct() { o.brand = 'foo'; o.condition = 'foo'; o.contentLanguage = 'foo'; - o.fees = buildUnnamed5235(); + o.fees = buildUnnamed5294(); o.gtin = 'foo'; o.imageLink = 'foo'; o.itemGroupId = 'foo'; @@ -14766,7 +15489,7 @@ api.TestOrderLineItemProduct buildTestOrderLineItemProduct() { o.price = buildPrice(); o.targetCountry = 'foo'; o.title = 'foo'; - o.variantAttributes = buildUnnamed5236(); + o.variantAttributes = buildUnnamed5295(); } buildCounterTestOrderLineItemProduct--; return o; @@ -14787,7 +15510,7 @@ void checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { o.contentLanguage!, unittest.equals('foo'), ); - checkUnnamed5235(o.fees!); + checkUnnamed5294(o.fees!); unittest.expect( o.gtin!, unittest.equals('foo'), @@ -14817,17 +15540,17 @@ void checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { o.title!, unittest.equals('foo'), ); - checkUnnamed5236(o.variantAttributes!); + checkUnnamed5295(o.variantAttributes!); } buildCounterTestOrderLineItemProduct--; } -core.List buildUnnamed5237() => [ +core.List buildUnnamed5296() => [ buildTestOrderPickupDetailsPickupPerson(), buildTestOrderPickupDetailsPickupPerson(), ]; -void checkUnnamed5237(core.List o) { +void checkUnnamed5296(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestOrderPickupDetailsPickupPerson(o[0]); checkTestOrderPickupDetailsPickupPerson(o[1]); @@ -14841,7 +15564,7 @@ api.TestOrderPickupDetails buildTestOrderPickupDetails() { o.locationCode = 'foo'; o.pickupLocationAddress = buildTestOrderAddress(); o.pickupLocationType = 'foo'; - o.pickupPersons = buildUnnamed5237(); + o.pickupPersons = buildUnnamed5296(); } buildCounterTestOrderPickupDetails--; return o; @@ -14859,7 +15582,7 @@ void checkTestOrderPickupDetails(api.TestOrderPickupDetails o) { o.pickupLocationType!, unittest.equals('foo'), ); - checkUnnamed5237(o.pickupPersons!); + checkUnnamed5296(o.pickupPersons!); } buildCounterTestOrderPickupDetails--; } @@ -14920,12 +15643,12 @@ void checkTimeZone(api.TimeZone o) { buildCounterTimeZone--; } -core.List buildUnnamed5238() => [ +core.List buildUnnamed5297() => [ 'foo', 'foo', ]; -void checkUnnamed5238(core.List o) { +void checkUnnamed5297(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14937,23 +15660,23 @@ void checkUnnamed5238(core.List o) { ); } -core.List buildUnnamed5239() => [ +core.List buildUnnamed5298() => [ buildTransitTableTransitTimeRow(), buildTransitTableTransitTimeRow(), ]; -void checkUnnamed5239(core.List o) { +void checkUnnamed5298(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransitTableTransitTimeRow(o[0]); checkTransitTableTransitTimeRow(o[1]); } -core.List buildUnnamed5240() => [ +core.List buildUnnamed5299() => [ 'foo', 'foo', ]; -void checkUnnamed5240(core.List o) { +void checkUnnamed5299(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14970,9 +15693,9 @@ api.TransitTable buildTransitTable() { final o = api.TransitTable(); buildCounterTransitTable++; if (buildCounterTransitTable < 3) { - o.postalCodeGroupNames = buildUnnamed5238(); - o.rows = buildUnnamed5239(); - o.transitTimeLabels = buildUnnamed5240(); + o.postalCodeGroupNames = buildUnnamed5297(); + o.rows = buildUnnamed5298(); + o.transitTimeLabels = buildUnnamed5299(); } buildCounterTransitTable--; return o; @@ -14981,20 +15704,20 @@ api.TransitTable buildTransitTable() { void checkTransitTable(api.TransitTable o) { buildCounterTransitTable++; if (buildCounterTransitTable < 3) { - checkUnnamed5238(o.postalCodeGroupNames!); - checkUnnamed5239(o.rows!); - checkUnnamed5240(o.transitTimeLabels!); + checkUnnamed5297(o.postalCodeGroupNames!); + checkUnnamed5298(o.rows!); + checkUnnamed5299(o.transitTimeLabels!); } buildCounterTransitTable--; } -core.List buildUnnamed5241() => +core.List buildUnnamed5300() => [ buildTransitTableTransitTimeRowTransitTimeValue(), buildTransitTableTransitTimeRowTransitTimeValue(), ]; -void checkUnnamed5241( +void checkUnnamed5300( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransitTableTransitTimeRowTransitTimeValue(o[0]); @@ -15006,7 +15729,7 @@ api.TransitTableTransitTimeRow buildTransitTableTransitTimeRow() { final o = api.TransitTableTransitTimeRow(); buildCounterTransitTableTransitTimeRow++; if (buildCounterTransitTableTransitTimeRow < 3) { - o.values = buildUnnamed5241(); + o.values = buildUnnamed5300(); } buildCounterTransitTableTransitTimeRow--; return o; @@ -15015,7 +15738,7 @@ api.TransitTableTransitTimeRow buildTransitTableTransitTimeRow() { void checkTransitTableTransitTimeRow(api.TransitTableTransitTimeRow o) { buildCounterTransitTableTransitTimeRow++; if (buildCounterTransitTableTransitTimeRow < 3) { - checkUnnamed5241(o.values!); + checkUnnamed5300(o.values!); } buildCounterTransitTableTransitTimeRow--; } @@ -15049,23 +15772,23 @@ void checkTransitTableTransitTimeRowTransitTimeValue( buildCounterTransitTableTransitTimeRowTransitTimeValue--; } -core.List buildUnnamed5242() => [ +core.List buildUnnamed5301() => [ buildUnitInvoiceAdditionalCharge(), buildUnitInvoiceAdditionalCharge(), ]; -void checkUnnamed5242(core.List o) { +void checkUnnamed5301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUnitInvoiceAdditionalCharge(o[0]); checkUnitInvoiceAdditionalCharge(o[1]); } -core.List buildUnnamed5243() => [ +core.List buildUnnamed5302() => [ buildUnitInvoiceTaxLine(), buildUnitInvoiceTaxLine(), ]; -void checkUnnamed5243(core.List o) { +void checkUnnamed5302(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUnitInvoiceTaxLine(o[0]); checkUnitInvoiceTaxLine(o[1]); @@ -15076,9 +15799,9 @@ api.UnitInvoice buildUnitInvoice() { final o = api.UnitInvoice(); buildCounterUnitInvoice++; if (buildCounterUnitInvoice < 3) { - o.additionalCharges = buildUnnamed5242(); + o.additionalCharges = buildUnnamed5301(); o.unitPrice = buildPrice(); - o.unitPriceTaxes = buildUnnamed5243(); + o.unitPriceTaxes = buildUnnamed5302(); } buildCounterUnitInvoice--; return o; @@ -15087,9 +15810,9 @@ api.UnitInvoice buildUnitInvoice() { void checkUnitInvoice(api.UnitInvoice o) { buildCounterUnitInvoice++; if (buildCounterUnitInvoice < 3) { - checkUnnamed5242(o.additionalCharges!); + checkUnnamed5301(o.additionalCharges!); checkPrice(o.unitPrice!); - checkUnnamed5243(o.unitPriceTaxes!); + checkUnnamed5302(o.unitPriceTaxes!); } buildCounterUnitInvoice--; } @@ -15183,6 +15906,60 @@ void checkValue(api.Value o) { buildCounterValue--; } +core.int buildCounterVerifyPhoneNumberRequest = 0; +api.VerifyPhoneNumberRequest buildVerifyPhoneNumberRequest() { + final o = api.VerifyPhoneNumberRequest(); + buildCounterVerifyPhoneNumberRequest++; + if (buildCounterVerifyPhoneNumberRequest < 3) { + o.phoneVerificationMethod = 'foo'; + o.verificationCode = 'foo'; + o.verificationId = 'foo'; + } + buildCounterVerifyPhoneNumberRequest--; + return o; +} + +void checkVerifyPhoneNumberRequest(api.VerifyPhoneNumberRequest o) { + buildCounterVerifyPhoneNumberRequest++; + if (buildCounterVerifyPhoneNumberRequest < 3) { + unittest.expect( + o.phoneVerificationMethod!, + unittest.equals('foo'), + ); + unittest.expect( + o.verificationCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.verificationId!, + unittest.equals('foo'), + ); + } + buildCounterVerifyPhoneNumberRequest--; +} + +core.int buildCounterVerifyPhoneNumberResponse = 0; +api.VerifyPhoneNumberResponse buildVerifyPhoneNumberResponse() { + final o = api.VerifyPhoneNumberResponse(); + buildCounterVerifyPhoneNumberResponse++; + if (buildCounterVerifyPhoneNumberResponse < 3) { + o.verifiedPhoneNumber = 'foo'; + } + buildCounterVerifyPhoneNumberResponse--; + return o; +} + +void checkVerifyPhoneNumberResponse(api.VerifyPhoneNumberResponse o) { + buildCounterVerifyPhoneNumberResponse++; + if (buildCounterVerifyPhoneNumberResponse < 3) { + unittest.expect( + o.verifiedPhoneNumber!, + unittest.equals('foo'), + ); + } + buildCounterVerifyPhoneNumberResponse--; +} + core.int buildCounterWarehouseBasedDeliveryTime = 0; api.WarehouseBasedDeliveryTime buildWarehouseBasedDeliveryTime() { final o = api.WarehouseBasedDeliveryTime(); @@ -15262,12 +16039,12 @@ void checkWeight(api.Weight o) { buildCounterWeight--; } -core.List buildUnnamed5244() => [ +core.List buildUnnamed5303() => [ 'foo', 'foo', ]; -void checkUnnamed5244(core.List o) { +void checkUnnamed5303(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15279,12 +16056,12 @@ void checkUnnamed5244(core.List o) { ); } -core.List buildUnnamed5245() => [ +core.List buildUnnamed5304() => [ 'foo', 'foo', ]; -void checkUnnamed5245(core.List o) { +void checkUnnamed5304(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15296,12 +16073,12 @@ void checkUnnamed5245(core.List o) { ); } -core.List buildUnnamed5246() => [ +core.List buildUnnamed5305() => [ 'foo', 'foo', ]; -void checkUnnamed5246(core.List o) { +void checkUnnamed5305(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15313,12 +16090,12 @@ void checkUnnamed5246(core.List o) { ); } -core.List buildUnnamed5247() => [ +core.List buildUnnamed5306() => [ 'foo', 'foo', ]; -void checkUnnamed5247(core.List o) { +void checkUnnamed5306(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15330,12 +16107,12 @@ void checkUnnamed5247(core.List o) { ); } -core.List buildUnnamed5248() => [ +core.List buildUnnamed5307() => [ 'foo', 'foo', ]; -void checkUnnamed5248(core.List o) { +void checkUnnamed5307(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15347,12 +16124,12 @@ void checkUnnamed5248(core.List o) { ); } -core.List buildUnnamed5249() => [ +core.List buildUnnamed5308() => [ 'foo', 'foo', ]; -void checkUnnamed5249(core.List o) { +void checkUnnamed5308(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15364,12 +16141,12 @@ void checkUnnamed5249(core.List o) { ); } -core.List buildUnnamed5250() => [ +core.List buildUnnamed5309() => [ 'foo', 'foo', ]; -void checkUnnamed5250(core.List o) { +void checkUnnamed5309(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15381,12 +16158,12 @@ void checkUnnamed5250(core.List o) { ); } -core.List buildUnnamed5251() => [ +core.List buildUnnamed5310() => [ 'foo', 'foo', ]; -void checkUnnamed5251(core.List o) { +void checkUnnamed5310(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15398,12 +16175,12 @@ void checkUnnamed5251(core.List o) { ); } -core.List buildUnnamed5252() => [ +core.List buildUnnamed5311() => [ 'foo', 'foo', ]; -void checkUnnamed5252(core.List o) { +void checkUnnamed5311(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15415,12 +16192,12 @@ void checkUnnamed5252(core.List o) { ); } -core.List buildUnnamed5253() => [ +core.List buildUnnamed5312() => [ 'foo', 'foo', ]; -void checkUnnamed5253(core.List o) { +void checkUnnamed5312(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15432,12 +16209,12 @@ void checkUnnamed5253(core.List o) { ); } -core.List buildUnnamed5254() => [ +core.List buildUnnamed5313() => [ 'foo', 'foo', ]; -void checkUnnamed5254(core.List o) { +void checkUnnamed5313(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15910,6 +16687,26 @@ void main() { }); }); + unittest.group('obj-schema-CaptureOrderRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCaptureOrderRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CaptureOrderRequest.fromJson( + oJson as core.Map); + checkCaptureOrderRequest(od); + }); + }); + + unittest.group('obj-schema-CaptureOrderResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildCaptureOrderResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CaptureOrderResponse.fromJson( + oJson as core.Map); + checkCaptureOrderResponse(od); + }); + }); + unittest.group('obj-schema-CarrierRate', () { unittest.test('to-json--from-json', () async { final o = buildCarrierRate(); @@ -16249,6 +17046,26 @@ void main() { }); }); + unittest.group('obj-schema-FreeListingsProgramStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildFreeListingsProgramStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FreeListingsProgramStatus.fromJson( + oJson as core.Map); + checkFreeListingsProgramStatus(od); + }); + }); + + unittest.group('obj-schema-FreeListingsProgramStatusRegionStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildFreeListingsProgramStatusRegionStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FreeListingsProgramStatusRegionStatus.fromJson( + oJson as core.Map); + checkFreeListingsProgramStatusRegionStatus(od); + }); + }); + unittest.group('obj-schema-GmbAccounts', () { unittest.test('to-json--from-json', () async { final o = buildGmbAccounts(); @@ -17982,6 +18799,16 @@ void main() { }); }); + unittest.group('obj-schema-ProductDimension', () { + unittest.test('to-json--from-json', () async { + final o = buildProductDimension(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ProductDimension.fromJson( + oJson as core.Map); + checkProductDimension(od); + }); + }); + unittest.group('obj-schema-ProductProductDetail', () { unittest.test('to-json--from-json', () async { final o = buildProductProductDetail(); @@ -18092,6 +18919,16 @@ void main() { }); }); + unittest.group('obj-schema-ProductWeight', () { + unittest.test('to-json--from-json', () async { + final o = buildProductWeight(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ProductWeight.fromJson( + oJson as core.Map); + checkProductWeight(od); + }); + }); + unittest.group('obj-schema-ProductsCustomBatchRequest', () { unittest.test('to-json--from-json', () async { final o = buildProductsCustomBatchRequest(); @@ -18192,6 +19029,16 @@ void main() { }); }); + unittest.group('obj-schema-Promotion', () { + unittest.test('to-json--from-json', () async { + final o = buildPromotion(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Promotion.fromJson(oJson as core.Map); + checkPromotion(od); + }); + }); + unittest.group('obj-schema-PubsubNotificationSettings', () { unittest.test('to-json--from-json', () async { final o = buildPubsubNotificationSettings(); @@ -18420,47 +19267,87 @@ void main() { final oJson = convert.jsonDecode(convert.jsonEncode(o)); final od = api.RepricingRuleReportBuyboxWinningRuleStats.fromJson( oJson as core.Map); - checkRepricingRuleReportBuyboxWinningRuleStats(od); + checkRepricingRuleReportBuyboxWinningRuleStats(od); + }); + }); + + unittest.group('obj-schema-RepricingRuleRestriction', () { + unittest.test('to-json--from-json', () async { + final o = buildRepricingRuleRestriction(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RepricingRuleRestriction.fromJson( + oJson as core.Map); + checkRepricingRuleRestriction(od); + }); + }); + + unittest.group('obj-schema-RepricingRuleRestrictionBoundary', () { + unittest.test('to-json--from-json', () async { + final o = buildRepricingRuleRestrictionBoundary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RepricingRuleRestrictionBoundary.fromJson( + oJson as core.Map); + checkRepricingRuleRestrictionBoundary(od); + }); + }); + + unittest.group('obj-schema-RepricingRuleStatsBasedRule', () { + unittest.test('to-json--from-json', () async { + final o = buildRepricingRuleStatsBasedRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RepricingRuleStatsBasedRule.fromJson( + oJson as core.Map); + checkRepricingRuleStatsBasedRule(od); + }); + }); + + unittest.group('obj-schema-RequestPhoneVerificationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildRequestPhoneVerificationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RequestPhoneVerificationRequest.fromJson( + oJson as core.Map); + checkRequestPhoneVerificationRequest(od); }); }); - unittest.group('obj-schema-RepricingRuleRestriction', () { + unittest.group('obj-schema-RequestPhoneVerificationResponse', () { unittest.test('to-json--from-json', () async { - final o = buildRepricingRuleRestriction(); + final o = buildRequestPhoneVerificationResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.RepricingRuleRestriction.fromJson( + final od = api.RequestPhoneVerificationResponse.fromJson( oJson as core.Map); - checkRepricingRuleRestriction(od); + checkRequestPhoneVerificationResponse(od); }); }); - unittest.group('obj-schema-RepricingRuleRestrictionBoundary', () { + unittest.group('obj-schema-RequestReviewBuyOnGoogleProgramRequest', () { unittest.test('to-json--from-json', () async { - final o = buildRepricingRuleRestrictionBoundary(); + final o = buildRequestReviewBuyOnGoogleProgramRequest(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.RepricingRuleRestrictionBoundary.fromJson( + final od = api.RequestReviewBuyOnGoogleProgramRequest.fromJson( oJson as core.Map); - checkRepricingRuleRestrictionBoundary(od); + checkRequestReviewBuyOnGoogleProgramRequest(od); }); }); - unittest.group('obj-schema-RepricingRuleStatsBasedRule', () { + unittest.group('obj-schema-RequestReviewFreeListingsRequest', () { unittest.test('to-json--from-json', () async { - final o = buildRepricingRuleStatsBasedRule(); + final o = buildRequestReviewFreeListingsRequest(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.RepricingRuleStatsBasedRule.fromJson( + final od = api.RequestReviewFreeListingsRequest.fromJson( oJson as core.Map); - checkRepricingRuleStatsBasedRule(od); + checkRequestReviewFreeListingsRequest(od); }); }); - unittest.group('obj-schema-RequestReviewBuyOnGoogleProgramRequest', () { + unittest.group('obj-schema-RequestReviewShoppingAdsRequest', () { unittest.test('to-json--from-json', () async { - final o = buildRequestReviewBuyOnGoogleProgramRequest(); + final o = buildRequestReviewShoppingAdsRequest(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.RequestReviewBuyOnGoogleProgramRequest.fromJson( + final od = api.RequestReviewShoppingAdsRequest.fromJson( oJson as core.Map); - checkRequestReviewBuyOnGoogleProgramRequest(od); + checkRequestReviewShoppingAdsRequest(od); }); }); @@ -18945,6 +19832,26 @@ void main() { }); }); + unittest.group('obj-schema-ShoppingAdsProgramStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildShoppingAdsProgramStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ShoppingAdsProgramStatus.fromJson( + oJson as core.Map); + checkShoppingAdsProgramStatus(od); + }); + }); + + unittest.group('obj-schema-ShoppingAdsProgramStatusRegionStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildShoppingAdsProgramStatusRegionStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ShoppingAdsProgramStatusRegionStatus.fromJson( + oJson as core.Map); + checkShoppingAdsProgramStatusRegionStatus(od); + }); + }); + unittest.group('obj-schema-Table', () { unittest.test('to-json--from-json', () async { final o = buildTable(); @@ -19105,6 +20012,26 @@ void main() { }); }); + unittest.group('obj-schema-VerifyPhoneNumberRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildVerifyPhoneNumberRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VerifyPhoneNumberRequest.fromJson( + oJson as core.Map); + checkVerifyPhoneNumberRequest(od); + }); + }); + + unittest.group('obj-schema-VerifyPhoneNumberResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildVerifyPhoneNumberResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VerifyPhoneNumberResponse.fromJson( + oJson as core.Map); + checkVerifyPhoneNumberResponse(od); + }); + }); + unittest.group('obj-schema-WarehouseBasedDeliveryTime', () { unittest.test('to-json--from-json', () async { final o = buildWarehouseBasedDeliveryTime(); @@ -19644,6 +20571,62 @@ void main() { checkAccountsListLinksResponse(response as api.AccountsListLinksResponse); }); + unittest.test('method--requestphoneverification', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).accounts; + final arg_request = buildRequestPhoneVerificationRequest(); + final arg_merchantId = 'foo'; + final arg_accountId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RequestPhoneVerificationRequest.fromJson( + json as core.Map); + checkRequestPhoneVerificationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildRequestPhoneVerificationResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.requestphoneverification( + arg_request, arg_merchantId, arg_accountId, + $fields: arg_$fields); + checkRequestPhoneVerificationResponse( + response as api.RequestPhoneVerificationResponse); + }); + unittest.test('method--update', () async { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).accounts; @@ -19752,6 +20735,60 @@ void main() { checkAccountsUpdateLabelsResponse( response as api.AccountsUpdateLabelsResponse); }); + + unittest.test('method--verifyphonenumber', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).accounts; + final arg_request = buildVerifyPhoneNumberRequest(); + final arg_merchantId = 'foo'; + final arg_accountId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.VerifyPhoneNumberRequest.fromJson( + json as core.Map); + checkVerifyPhoneNumberRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildVerifyPhoneNumberResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.verifyphonenumber( + arg_request, arg_merchantId, arg_accountId, + $fields: arg_$fields); + checkVerifyPhoneNumberResponse(response as api.VerifyPhoneNumberResponse); + }); }); unittest.group('resource-AccountsCredentialsResource', () { @@ -20531,7 +21568,7 @@ void main() { final res = api.ShoppingContentApi(mock).accountstatuses; final arg_merchantId = 'foo'; final arg_accountId = 'foo'; - final arg_destinations = buildUnnamed5244(); + final arg_destinations = buildUnnamed5303(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -20583,7 +21620,7 @@ void main() { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).accountstatuses; final arg_merchantId = 'foo'; - final arg_destinations = buildUnnamed5245(); + final arg_destinations = buildUnnamed5304(); final arg_maxResults = 42; final arg_name = 'foo'; final arg_pageToken = 'foo'; @@ -22004,16 +23041,124 @@ void main() { unittest.equals('/'), ); pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('content/v2.1/'), - ); - pathOffset += 13; - unittest.expect( - path.substring(pathOffset, pathOffset + 22), - unittest.equals('datafeedstatuses/batch'), - ); - pathOffset += 22; + unittest.expect( + path.substring(pathOffset, pathOffset + 13), + unittest.equals('content/v2.1/'), + ); + pathOffset += 13; + unittest.expect( + path.substring(pathOffset, pathOffset + 22), + unittest.equals('datafeedstatuses/batch'), + ); + pathOffset += 22; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildDatafeedstatusesCustomBatchResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.custombatch(arg_request, $fields: arg_$fields); + checkDatafeedstatusesCustomBatchResponse( + response as api.DatafeedstatusesCustomBatchResponse); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).datafeedstatuses; + final arg_merchantId = 'foo'; + final arg_datafeedId = 'foo'; + final arg_country = 'foo'; + final arg_language = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['country']!.first, + unittest.equals(arg_country), + ); + unittest.expect( + queryMap['language']!.first, + unittest.equals(arg_language), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildDatafeedStatus()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_merchantId, arg_datafeedId, + country: arg_country, language: arg_language, $fields: arg_$fields); + checkDatafeedStatus(response as api.DatafeedStatus); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).datafeedstatuses; + final arg_merchantId = 'foo'; + final arg_maxResults = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; final query = (req.url).query; var queryOffset = 0; @@ -22030,6 +23175,14 @@ void main() { ); } } + unittest.expect( + core.int.parse(queryMap['maxResults']!.first), + unittest.equals(arg_maxResults), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -22038,22 +23191,23 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = - convert.json.encode(buildDatafeedstatusesCustomBatchResponse()); + final resp = convert.json.encode(buildDatafeedstatusesListResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.custombatch(arg_request, $fields: arg_$fields); - checkDatafeedstatusesCustomBatchResponse( - response as api.DatafeedstatusesCustomBatchResponse); + final response = await res.list(arg_merchantId, + maxResults: arg_maxResults, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkDatafeedstatusesListResponse( + response as api.DatafeedstatusesListResponse); }); + }); + unittest.group('resource-FreelistingsprogramResource', () { unittest.test('method--get', () async { final mock = HttpServerMock(); - final res = api.ShoppingContentApi(mock).datafeedstatuses; + final res = api.ShoppingContentApi(mock).freelistingsprogram; final arg_merchantId = 'foo'; - final arg_datafeedId = 'foo'; - final arg_country = 'foo'; - final arg_language = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -22081,14 +23235,6 @@ void main() { ); } } - unittest.expect( - queryMap['country']!.first, - unittest.equals(arg_country), - ); - unittest.expect( - queryMap['language']!.first, - unittest.equals(arg_language), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -22097,22 +23243,24 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildDatafeedStatus()); + final resp = convert.json.encode(buildFreeListingsProgramStatus()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.get(arg_merchantId, arg_datafeedId, - country: arg_country, language: arg_language, $fields: arg_$fields); - checkDatafeedStatus(response as api.DatafeedStatus); + final response = await res.get(arg_merchantId, $fields: arg_$fields); + checkFreeListingsProgramStatus(response as api.FreeListingsProgramStatus); }); - unittest.test('method--list', () async { + unittest.test('method--requestreview', () async { final mock = HttpServerMock(); - final res = api.ShoppingContentApi(mock).datafeedstatuses; + final res = api.ShoppingContentApi(mock).freelistingsprogram; + final arg_request = buildRequestReviewFreeListingsRequest(); final arg_merchantId = 'foo'; - final arg_maxResults = 42; - final arg_pageToken = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RequestReviewFreeListingsRequest.fromJson( + json as core.Map); + checkRequestReviewFreeListingsRequest(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -22138,14 +23286,6 @@ void main() { ); } } - unittest.expect( - core.int.parse(queryMap['maxResults']!.first), - unittest.equals(arg_maxResults), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -22154,15 +23294,11 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildDatafeedstatusesListResponse()); + final resp = ''; return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.list(arg_merchantId, - maxResults: arg_maxResults, - pageToken: arg_pageToken, + await res.requestreview(arg_request, arg_merchantId, $fields: arg_$fields); - checkDatafeedstatusesListResponse( - response as api.DatafeedstatusesListResponse); }); }); @@ -23298,14 +24434,14 @@ void main() { final arg_acknowledged = true; final arg_createdEndDate = 'foo'; final arg_createdStartDate = 'foo'; - final arg_googleOrderIds = buildUnnamed5246(); + final arg_googleOrderIds = buildUnnamed5305(); final arg_maxResults = 42; final arg_orderBy = 'foo'; final arg_pageToken = 'foo'; - final arg_shipmentStates = buildUnnamed5247(); - final arg_shipmentStatus = buildUnnamed5248(); - final arg_shipmentTrackingNumbers = buildUnnamed5249(); - final arg_shipmentTypes = buildUnnamed5250(); + final arg_shipmentStates = buildUnnamed5306(); + final arg_shipmentStatus = buildUnnamed5307(); + final arg_shipmentTrackingNumbers = buildUnnamed5308(); + final arg_shipmentTypes = buildUnnamed5309(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -23785,6 +24921,60 @@ void main() { response as api.OrdersCancelTestOrderByCustomerResponse); }); + unittest.test('method--captureOrder', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).orders; + final arg_request = buildCaptureOrderRequest(); + final arg_merchantId = 'foo'; + final arg_orderId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CaptureOrderRequest.fromJson( + json as core.Map); + checkCaptureOrderRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildCaptureOrderResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.captureOrder( + arg_request, arg_merchantId, arg_orderId, + $fields: arg_$fields); + checkCaptureOrderResponse(response as api.CaptureOrderResponse); + }); + unittest.test('method--createtestorder', () async { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).orders; @@ -24114,7 +25304,7 @@ void main() { final arg_pageToken = 'foo'; final arg_placedDateEnd = 'foo'; final arg_placedDateStart = 'foo'; - final arg_statuses = buildUnnamed5251(); + final arg_statuses = buildUnnamed5310(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -25522,7 +26712,7 @@ void main() { final res = api.ShoppingContentApi(mock).productstatuses; final arg_merchantId = 'foo'; final arg_productId = 'foo'; - final arg_destinations = buildUnnamed5252(); + final arg_destinations = buildUnnamed5311(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -25574,7 +26764,7 @@ void main() { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).productstatuses; final arg_merchantId = 'foo'; - final arg_destinations = buildUnnamed5253(); + final arg_destinations = buildUnnamed5312(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -25719,6 +26909,60 @@ void main() { }); }); + unittest.group('resource-PromotionsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).promotions; + final arg_request = buildPromotion(); + final arg_merchantId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Promotion.fromJson(json as core.Map); + checkPromotion(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPromotion()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_merchantId, $fields: arg_$fields); + checkPromotion(response as api.Promotion); + }); + }); + unittest.group('resource-PubsubnotificationsettingsResource', () { unittest.test('method--get', () async { final mock = HttpServerMock(); @@ -27531,7 +28775,7 @@ void main() { final arg_settlementId = 'foo'; final arg_maxResults = 42; final arg_pageToken = 'foo'; - final arg_transactionIds = buildUnnamed5254(); + final arg_transactionIds = buildUnnamed5313(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -27965,4 +29209,103 @@ void main() { checkShippingSettings(response as api.ShippingSettings); }); }); + + unittest.group('resource-ShoppingadsprogramResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).shoppingadsprogram; + final arg_merchantId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildShoppingAdsProgramStatus()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_merchantId, $fields: arg_$fields); + checkShoppingAdsProgramStatus(response as api.ShoppingAdsProgramStatus); + }); + + unittest.test('method--requestreview', () async { + final mock = HttpServerMock(); + final res = api.ShoppingContentApi(mock).shoppingadsprogram; + final arg_request = buildRequestReviewShoppingAdsRequest(); + final arg_merchantId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RequestReviewShoppingAdsRequest.fromJson( + json as core.Map); + checkRequestReviewShoppingAdsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = ''; + return async.Future.value(stringResponse(200, h, resp)); + }), true); + await res.requestreview(arg_request, arg_merchantId, + $fields: arg_$fields); + }); + }); } diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart index 9b8c1df19..c2bf6f165 100644 --- a/generated/googleapis/test/customsearch/v1_test.dart +++ b/generated/googleapis/test/customsearch/v1_test.dart @@ -63,12 +63,12 @@ void checkPromotionBodyLines(api.PromotionBodyLines o) { buildCounterPromotionBodyLines--; } -core.List buildUnnamed5349() => [ +core.List buildUnnamed5410() => [ buildPromotionBodyLines(), buildPromotionBodyLines(), ]; -void checkUnnamed5349(core.List o) { +void checkUnnamed5410(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPromotionBodyLines(o[0]); checkPromotionBodyLines(o[1]); @@ -111,7 +111,7 @@ api.Promotion buildPromotion() { final o = api.Promotion(); buildCounterPromotion++; if (buildCounterPromotion < 3) { - o.bodyLines = buildUnnamed5349(); + o.bodyLines = buildUnnamed5410(); o.displayLink = 'foo'; o.htmlTitle = 'foo'; o.image = buildPromotionImage(); @@ -125,7 +125,7 @@ api.Promotion buildPromotion() { void checkPromotion(api.Promotion o) { buildCounterPromotion++; if (buildCounterPromotion < 3) { - checkUnnamed5349(o.bodyLines!); + checkUnnamed5410(o.bodyLines!); unittest.expect( o.displayLink!, unittest.equals('foo'), @@ -231,18 +231,18 @@ void checkResultLabels(api.ResultLabels o) { buildCounterResultLabels--; } -core.List buildUnnamed5350() => [ +core.List buildUnnamed5411() => [ buildResultLabels(), buildResultLabels(), ]; -void checkUnnamed5350(core.List o) { +void checkUnnamed5411(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResultLabels(o[0]); checkResultLabels(o[1]); } -core.Map buildUnnamed5351() => { +core.Map buildUnnamed5412() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -255,7 +255,7 @@ core.Map buildUnnamed5351() => { }, }; -void checkUnnamed5351(core.Map o) { +void checkUnnamed5412(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -301,10 +301,10 @@ api.Result buildResult() { o.htmlTitle = 'foo'; o.image = buildResultImage(); o.kind = 'foo'; - o.labels = buildUnnamed5350(); + o.labels = buildUnnamed5411(); o.link = 'foo'; o.mime = 'foo'; - o.pagemap = buildUnnamed5351(); + o.pagemap = buildUnnamed5412(); o.snippet = 'foo'; o.title = 'foo'; } @@ -348,7 +348,7 @@ void checkResult(api.Result o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5350(o.labels!); + checkUnnamed5411(o.labels!); unittest.expect( o.link!, unittest.equals('foo'), @@ -357,7 +357,7 @@ void checkResult(api.Result o) { o.mime!, unittest.equals('foo'), ); - checkUnnamed5351(o.pagemap!); + checkUnnamed5412(o.pagemap!); unittest.expect( o.snippet!, unittest.equals('foo'), @@ -370,7 +370,7 @@ void checkResult(api.Result o) { buildCounterResult--; } -core.Map buildUnnamed5352() => { +core.Map buildUnnamed5413() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -383,7 +383,7 @@ core.Map buildUnnamed5352() => { }, }; -void checkUnnamed5352(core.Map o) { +void checkUnnamed5413(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -415,23 +415,23 @@ void checkUnnamed5352(core.Map o) { ); } -core.List buildUnnamed5353() => [ +core.List buildUnnamed5414() => [ buildResult(), buildResult(), ]; -void checkUnnamed5353(core.List o) { +void checkUnnamed5414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResult(o[0]); checkResult(o[1]); } -core.List buildUnnamed5354() => [ +core.List buildUnnamed5415() => [ buildPromotion(), buildPromotion(), ]; -void checkUnnamed5354(core.List o) { +void checkUnnamed5415(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPromotion(o[0]); checkPromotion(o[1]); @@ -634,12 +634,12 @@ void checkSearchQueriesNextPage(api.SearchQueriesNextPage o) { buildCounterSearchQueriesNextPage--; } -core.List buildUnnamed5355() => [ +core.List buildUnnamed5416() => [ buildSearchQueriesNextPage(), buildSearchQueriesNextPage(), ]; -void checkUnnamed5355(core.List o) { +void checkUnnamed5416(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchQueriesNextPage(o[0]); checkSearchQueriesNextPage(o[1]); @@ -842,12 +842,12 @@ void checkSearchQueriesPreviousPage(api.SearchQueriesPreviousPage o) { buildCounterSearchQueriesPreviousPage--; } -core.List buildUnnamed5356() => [ +core.List buildUnnamed5417() => [ buildSearchQueriesPreviousPage(), buildSearchQueriesPreviousPage(), ]; -void checkUnnamed5356(core.List o) { +void checkUnnamed5417(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchQueriesPreviousPage(o[0]); checkSearchQueriesPreviousPage(o[1]); @@ -1050,12 +1050,12 @@ void checkSearchQueriesRequest(api.SearchQueriesRequest o) { buildCounterSearchQueriesRequest--; } -core.List buildUnnamed5357() => [ +core.List buildUnnamed5418() => [ buildSearchQueriesRequest(), buildSearchQueriesRequest(), ]; -void checkUnnamed5357(core.List o) { +void checkUnnamed5418(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchQueriesRequest(o[0]); checkSearchQueriesRequest(o[1]); @@ -1066,9 +1066,9 @@ api.SearchQueries buildSearchQueries() { final o = api.SearchQueries(); buildCounterSearchQueries++; if (buildCounterSearchQueries < 3) { - o.nextPage = buildUnnamed5355(); - o.previousPage = buildUnnamed5356(); - o.request = buildUnnamed5357(); + o.nextPage = buildUnnamed5416(); + o.previousPage = buildUnnamed5417(); + o.request = buildUnnamed5418(); } buildCounterSearchQueries--; return o; @@ -1077,9 +1077,9 @@ api.SearchQueries buildSearchQueries() { void checkSearchQueries(api.SearchQueries o) { buildCounterSearchQueries++; if (buildCounterSearchQueries < 3) { - checkUnnamed5355(o.nextPage!); - checkUnnamed5356(o.previousPage!); - checkUnnamed5357(o.request!); + checkUnnamed5416(o.nextPage!); + checkUnnamed5417(o.previousPage!); + checkUnnamed5418(o.request!); } buildCounterSearchQueries--; } @@ -1180,10 +1180,10 @@ api.Search buildSearch() { final o = api.Search(); buildCounterSearch++; if (buildCounterSearch < 3) { - o.context = buildUnnamed5352(); - o.items = buildUnnamed5353(); + o.context = buildUnnamed5413(); + o.items = buildUnnamed5414(); o.kind = 'foo'; - o.promotions = buildUnnamed5354(); + o.promotions = buildUnnamed5415(); o.queries = buildSearchQueries(); o.searchInformation = buildSearchSearchInformation(); o.spelling = buildSearchSpelling(); @@ -1196,13 +1196,13 @@ api.Search buildSearch() { void checkSearch(api.Search o) { buildCounterSearch++; if (buildCounterSearch < 3) { - checkUnnamed5352(o.context!); - checkUnnamed5353(o.items!); + checkUnnamed5413(o.context!); + checkUnnamed5414(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5354(o.promotions!); + checkUnnamed5415(o.promotions!); checkSearchQueries(o.queries!); checkSearchSearchInformation(o.searchInformation!); checkSearchSpelling(o.spelling!); diff --git a/generated/googleapis/test/datacatalog/v1_test.dart b/generated/googleapis/test/datacatalog/v1_test.dart index e09f5f408..092430d7e 100644 --- a/generated/googleapis/test/datacatalog/v1_test.dart +++ b/generated/googleapis/test/datacatalog/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed4176() => [ +core.List buildUnnamed4160() => [ 'foo', 'foo', ]; -void checkUnnamed4176(core.List o) { +void checkUnnamed4160(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed4176(); + o.members = buildUnnamed4160(); o.role = 'foo'; } buildCounterBinding--; @@ -60,7 +60,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed4176(o.members!); + checkUnnamed4160(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -224,12 +224,12 @@ void checkGoogleCloudDatacatalogV1BigQueryDateShardedSpec( buildCounterGoogleCloudDatacatalogV1BigQueryDateShardedSpec--; } -core.List buildUnnamed4177() => [ +core.List buildUnnamed4161() => [ 'foo', 'foo', ]; -void checkUnnamed4177(core.List o) { +void checkUnnamed4161(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -247,7 +247,7 @@ api.GoogleCloudDatacatalogV1BigQueryRoutineSpec final o = api.GoogleCloudDatacatalogV1BigQueryRoutineSpec(); buildCounterGoogleCloudDatacatalogV1BigQueryRoutineSpec++; if (buildCounterGoogleCloudDatacatalogV1BigQueryRoutineSpec < 3) { - o.importedLibraries = buildUnnamed4177(); + o.importedLibraries = buildUnnamed4161(); } buildCounterGoogleCloudDatacatalogV1BigQueryRoutineSpec--; return o; @@ -257,7 +257,7 @@ void checkGoogleCloudDatacatalogV1BigQueryRoutineSpec( api.GoogleCloudDatacatalogV1BigQueryRoutineSpec o) { buildCounterGoogleCloudDatacatalogV1BigQueryRoutineSpec++; if (buildCounterGoogleCloudDatacatalogV1BigQueryRoutineSpec < 3) { - checkUnnamed4177(o.importedLibraries!); + checkUnnamed4161(o.importedLibraries!); } buildCounterGoogleCloudDatacatalogV1BigQueryRoutineSpec--; } @@ -324,12 +324,12 @@ void checkGoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec( buildCounterGoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec--; } -core.List buildUnnamed4178() => [ +core.List buildUnnamed4162() => [ buildGoogleCloudDatacatalogV1ColumnSchema(), buildGoogleCloudDatacatalogV1ColumnSchema(), ]; -void checkUnnamed4178(core.List o) { +void checkUnnamed4162(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1ColumnSchema(o[0]); checkGoogleCloudDatacatalogV1ColumnSchema(o[1]); @@ -344,7 +344,7 @@ api.GoogleCloudDatacatalogV1ColumnSchema o.column = 'foo'; o.description = 'foo'; o.mode = 'foo'; - o.subcolumns = buildUnnamed4178(); + o.subcolumns = buildUnnamed4162(); o.type = 'foo'; } buildCounterGoogleCloudDatacatalogV1ColumnSchema--; @@ -367,7 +367,7 @@ void checkGoogleCloudDatacatalogV1ColumnSchema( o.mode!, unittest.equals('foo'), ); - checkUnnamed4178(o.subcolumns!); + checkUnnamed4162(o.subcolumns!); unittest.expect( o.type!, unittest.equals('foo'), @@ -476,12 +476,12 @@ void checkGoogleCloudDatacatalogV1DatabaseTableSpec( buildCounterGoogleCloudDatacatalogV1DatabaseTableSpec--; } -core.Map buildUnnamed4179() => { +core.Map buildUnnamed4163() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4179(core.Map o) { +void checkUnnamed4163(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -510,7 +510,7 @@ api.GoogleCloudDatacatalogV1Entry buildGoogleCloudDatacatalogV1Entry() { o.fullyQualifiedName = 'foo'; o.gcsFilesetSpec = buildGoogleCloudDatacatalogV1GcsFilesetSpec(); o.integratedSystem = 'foo'; - o.labels = buildUnnamed4179(); + o.labels = buildUnnamed4163(); o.linkedResource = 'foo'; o.name = 'foo'; o.routineSpec = buildGoogleCloudDatacatalogV1RoutineSpec(); @@ -552,7 +552,7 @@ void checkGoogleCloudDatacatalogV1Entry(api.GoogleCloudDatacatalogV1Entry o) { o.integratedSystem!, unittest.equals('foo'), ); - checkUnnamed4179(o.labels!); + checkUnnamed4163(o.labels!); unittest.expect( o.linkedResource!, unittest.equals('foo'), @@ -617,13 +617,13 @@ void checkGoogleCloudDatacatalogV1EntryGroup( buildCounterGoogleCloudDatacatalogV1EntryGroup--; } -core.List buildUnnamed4180() => +core.List buildUnnamed4164() => [ buildGoogleCloudDatacatalogV1SerializedTaxonomy(), buildGoogleCloudDatacatalogV1SerializedTaxonomy(), ]; -void checkUnnamed4180( +void checkUnnamed4164( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1SerializedTaxonomy(o[0]); @@ -636,7 +636,7 @@ api.GoogleCloudDatacatalogV1ExportTaxonomiesResponse final o = api.GoogleCloudDatacatalogV1ExportTaxonomiesResponse(); buildCounterGoogleCloudDatacatalogV1ExportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1ExportTaxonomiesResponse < 3) { - o.taxonomies = buildUnnamed4180(); + o.taxonomies = buildUnnamed4164(); } buildCounterGoogleCloudDatacatalogV1ExportTaxonomiesResponse--; return o; @@ -646,7 +646,7 @@ void checkGoogleCloudDatacatalogV1ExportTaxonomiesResponse( api.GoogleCloudDatacatalogV1ExportTaxonomiesResponse o) { buildCounterGoogleCloudDatacatalogV1ExportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1ExportTaxonomiesResponse < 3) { - checkUnnamed4180(o.taxonomies!); + checkUnnamed4164(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1ExportTaxonomiesResponse--; } @@ -677,12 +677,12 @@ void checkGoogleCloudDatacatalogV1FieldType( } core.List - buildUnnamed4181() => [ + buildUnnamed4165() => [ buildGoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue(), buildGoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue(), ]; -void checkUnnamed4181( +void checkUnnamed4165( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue(o[0]); @@ -695,7 +695,7 @@ api.GoogleCloudDatacatalogV1FieldTypeEnumType final o = api.GoogleCloudDatacatalogV1FieldTypeEnumType(); buildCounterGoogleCloudDatacatalogV1FieldTypeEnumType++; if (buildCounterGoogleCloudDatacatalogV1FieldTypeEnumType < 3) { - o.allowedValues = buildUnnamed4181(); + o.allowedValues = buildUnnamed4165(); } buildCounterGoogleCloudDatacatalogV1FieldTypeEnumType--; return o; @@ -705,7 +705,7 @@ void checkGoogleCloudDatacatalogV1FieldTypeEnumType( api.GoogleCloudDatacatalogV1FieldTypeEnumType o) { buildCounterGoogleCloudDatacatalogV1FieldTypeEnumType++; if (buildCounterGoogleCloudDatacatalogV1FieldTypeEnumType < 3) { - checkUnnamed4181(o.allowedValues!); + checkUnnamed4165(o.allowedValues!); } buildCounterGoogleCloudDatacatalogV1FieldTypeEnumType--; } @@ -765,12 +765,12 @@ void checkGoogleCloudDatacatalogV1GcsFileSpec( buildCounterGoogleCloudDatacatalogV1GcsFileSpec--; } -core.List buildUnnamed4182() => [ +core.List buildUnnamed4166() => [ 'foo', 'foo', ]; -void checkUnnamed4182(core.List o) { +void checkUnnamed4166(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -782,12 +782,12 @@ void checkUnnamed4182(core.List o) { ); } -core.List buildUnnamed4183() => [ +core.List buildUnnamed4167() => [ buildGoogleCloudDatacatalogV1GcsFileSpec(), buildGoogleCloudDatacatalogV1GcsFileSpec(), ]; -void checkUnnamed4183(core.List o) { +void checkUnnamed4167(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1GcsFileSpec(o[0]); checkGoogleCloudDatacatalogV1GcsFileSpec(o[1]); @@ -799,8 +799,8 @@ api.GoogleCloudDatacatalogV1GcsFilesetSpec final o = api.GoogleCloudDatacatalogV1GcsFilesetSpec(); buildCounterGoogleCloudDatacatalogV1GcsFilesetSpec++; if (buildCounterGoogleCloudDatacatalogV1GcsFilesetSpec < 3) { - o.filePatterns = buildUnnamed4182(); - o.sampleGcsFileSpecs = buildUnnamed4183(); + o.filePatterns = buildUnnamed4166(); + o.sampleGcsFileSpecs = buildUnnamed4167(); } buildCounterGoogleCloudDatacatalogV1GcsFilesetSpec--; return o; @@ -810,8 +810,8 @@ void checkGoogleCloudDatacatalogV1GcsFilesetSpec( api.GoogleCloudDatacatalogV1GcsFilesetSpec o) { buildCounterGoogleCloudDatacatalogV1GcsFilesetSpec++; if (buildCounterGoogleCloudDatacatalogV1GcsFilesetSpec < 3) { - checkUnnamed4182(o.filePatterns!); - checkUnnamed4183(o.sampleGcsFileSpecs!); + checkUnnamed4166(o.filePatterns!); + checkUnnamed4167(o.sampleGcsFileSpecs!); } buildCounterGoogleCloudDatacatalogV1GcsFilesetSpec--; } @@ -839,12 +839,12 @@ void checkGoogleCloudDatacatalogV1ImportTaxonomiesRequest( buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesRequest--; } -core.List buildUnnamed4184() => [ +core.List buildUnnamed4168() => [ buildGoogleCloudDatacatalogV1Taxonomy(), buildGoogleCloudDatacatalogV1Taxonomy(), ]; -void checkUnnamed4184(core.List o) { +void checkUnnamed4168(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1Taxonomy(o[0]); checkGoogleCloudDatacatalogV1Taxonomy(o[1]); @@ -856,7 +856,7 @@ api.GoogleCloudDatacatalogV1ImportTaxonomiesResponse final o = api.GoogleCloudDatacatalogV1ImportTaxonomiesResponse(); buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesResponse < 3) { - o.taxonomies = buildUnnamed4184(); + o.taxonomies = buildUnnamed4168(); } buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesResponse--; return o; @@ -866,18 +866,18 @@ void checkGoogleCloudDatacatalogV1ImportTaxonomiesResponse( api.GoogleCloudDatacatalogV1ImportTaxonomiesResponse o) { buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesResponse < 3) { - checkUnnamed4184(o.taxonomies!); + checkUnnamed4168(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1ImportTaxonomiesResponse--; } -core.List buildUnnamed4185() => +core.List buildUnnamed4169() => [ buildGoogleCloudDatacatalogV1SerializedTaxonomy(), buildGoogleCloudDatacatalogV1SerializedTaxonomy(), ]; -void checkUnnamed4185( +void checkUnnamed4169( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1SerializedTaxonomy(o[0]); @@ -890,7 +890,7 @@ api.GoogleCloudDatacatalogV1InlineSource final o = api.GoogleCloudDatacatalogV1InlineSource(); buildCounterGoogleCloudDatacatalogV1InlineSource++; if (buildCounterGoogleCloudDatacatalogV1InlineSource < 3) { - o.taxonomies = buildUnnamed4185(); + o.taxonomies = buildUnnamed4169(); } buildCounterGoogleCloudDatacatalogV1InlineSource--; return o; @@ -900,17 +900,17 @@ void checkGoogleCloudDatacatalogV1InlineSource( api.GoogleCloudDatacatalogV1InlineSource o) { buildCounterGoogleCloudDatacatalogV1InlineSource++; if (buildCounterGoogleCloudDatacatalogV1InlineSource < 3) { - checkUnnamed4185(o.taxonomies!); + checkUnnamed4169(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1InlineSource--; } -core.List buildUnnamed4186() => [ +core.List buildUnnamed4170() => [ buildGoogleCloudDatacatalogV1Entry(), buildGoogleCloudDatacatalogV1Entry(), ]; -void checkUnnamed4186(core.List o) { +void checkUnnamed4170(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1Entry(o[0]); checkGoogleCloudDatacatalogV1Entry(o[1]); @@ -922,7 +922,7 @@ api.GoogleCloudDatacatalogV1ListEntriesResponse final o = api.GoogleCloudDatacatalogV1ListEntriesResponse(); buildCounterGoogleCloudDatacatalogV1ListEntriesResponse++; if (buildCounterGoogleCloudDatacatalogV1ListEntriesResponse < 3) { - o.entries = buildUnnamed4186(); + o.entries = buildUnnamed4170(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatacatalogV1ListEntriesResponse--; @@ -933,7 +933,7 @@ void checkGoogleCloudDatacatalogV1ListEntriesResponse( api.GoogleCloudDatacatalogV1ListEntriesResponse o) { buildCounterGoogleCloudDatacatalogV1ListEntriesResponse++; if (buildCounterGoogleCloudDatacatalogV1ListEntriesResponse < 3) { - checkUnnamed4186(o.entries!); + checkUnnamed4170(o.entries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -942,12 +942,12 @@ void checkGoogleCloudDatacatalogV1ListEntriesResponse( buildCounterGoogleCloudDatacatalogV1ListEntriesResponse--; } -core.List buildUnnamed4187() => [ +core.List buildUnnamed4171() => [ buildGoogleCloudDatacatalogV1EntryGroup(), buildGoogleCloudDatacatalogV1EntryGroup(), ]; -void checkUnnamed4187(core.List o) { +void checkUnnamed4171(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1EntryGroup(o[0]); checkGoogleCloudDatacatalogV1EntryGroup(o[1]); @@ -959,7 +959,7 @@ api.GoogleCloudDatacatalogV1ListEntryGroupsResponse final o = api.GoogleCloudDatacatalogV1ListEntryGroupsResponse(); buildCounterGoogleCloudDatacatalogV1ListEntryGroupsResponse++; if (buildCounterGoogleCloudDatacatalogV1ListEntryGroupsResponse < 3) { - o.entryGroups = buildUnnamed4187(); + o.entryGroups = buildUnnamed4171(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatacatalogV1ListEntryGroupsResponse--; @@ -970,7 +970,7 @@ void checkGoogleCloudDatacatalogV1ListEntryGroupsResponse( api.GoogleCloudDatacatalogV1ListEntryGroupsResponse o) { buildCounterGoogleCloudDatacatalogV1ListEntryGroupsResponse++; if (buildCounterGoogleCloudDatacatalogV1ListEntryGroupsResponse < 3) { - checkUnnamed4187(o.entryGroups!); + checkUnnamed4171(o.entryGroups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -979,12 +979,12 @@ void checkGoogleCloudDatacatalogV1ListEntryGroupsResponse( buildCounterGoogleCloudDatacatalogV1ListEntryGroupsResponse--; } -core.List buildUnnamed4188() => [ +core.List buildUnnamed4172() => [ buildGoogleCloudDatacatalogV1PolicyTag(), buildGoogleCloudDatacatalogV1PolicyTag(), ]; -void checkUnnamed4188(core.List o) { +void checkUnnamed4172(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1PolicyTag(o[0]); checkGoogleCloudDatacatalogV1PolicyTag(o[1]); @@ -997,7 +997,7 @@ api.GoogleCloudDatacatalogV1ListPolicyTagsResponse buildCounterGoogleCloudDatacatalogV1ListPolicyTagsResponse++; if (buildCounterGoogleCloudDatacatalogV1ListPolicyTagsResponse < 3) { o.nextPageToken = 'foo'; - o.policyTags = buildUnnamed4188(); + o.policyTags = buildUnnamed4172(); } buildCounterGoogleCloudDatacatalogV1ListPolicyTagsResponse--; return o; @@ -1011,17 +1011,17 @@ void checkGoogleCloudDatacatalogV1ListPolicyTagsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4188(o.policyTags!); + checkUnnamed4172(o.policyTags!); } buildCounterGoogleCloudDatacatalogV1ListPolicyTagsResponse--; } -core.List buildUnnamed4189() => [ +core.List buildUnnamed4173() => [ buildGoogleCloudDatacatalogV1Tag(), buildGoogleCloudDatacatalogV1Tag(), ]; -void checkUnnamed4189(core.List o) { +void checkUnnamed4173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1Tag(o[0]); checkGoogleCloudDatacatalogV1Tag(o[1]); @@ -1034,7 +1034,7 @@ api.GoogleCloudDatacatalogV1ListTagsResponse buildCounterGoogleCloudDatacatalogV1ListTagsResponse++; if (buildCounterGoogleCloudDatacatalogV1ListTagsResponse < 3) { o.nextPageToken = 'foo'; - o.tags = buildUnnamed4189(); + o.tags = buildUnnamed4173(); } buildCounterGoogleCloudDatacatalogV1ListTagsResponse--; return o; @@ -1048,17 +1048,17 @@ void checkGoogleCloudDatacatalogV1ListTagsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4189(o.tags!); + checkUnnamed4173(o.tags!); } buildCounterGoogleCloudDatacatalogV1ListTagsResponse--; } -core.List buildUnnamed4190() => [ +core.List buildUnnamed4174() => [ buildGoogleCloudDatacatalogV1Taxonomy(), buildGoogleCloudDatacatalogV1Taxonomy(), ]; -void checkUnnamed4190(core.List o) { +void checkUnnamed4174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1Taxonomy(o[0]); checkGoogleCloudDatacatalogV1Taxonomy(o[1]); @@ -1071,7 +1071,7 @@ api.GoogleCloudDatacatalogV1ListTaxonomiesResponse buildCounterGoogleCloudDatacatalogV1ListTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1ListTaxonomiesResponse < 3) { o.nextPageToken = 'foo'; - o.taxonomies = buildUnnamed4190(); + o.taxonomies = buildUnnamed4174(); } buildCounterGoogleCloudDatacatalogV1ListTaxonomiesResponse--; return o; @@ -1085,17 +1085,17 @@ void checkGoogleCloudDatacatalogV1ListTaxonomiesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4190(o.taxonomies!); + checkUnnamed4174(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1ListTaxonomiesResponse--; } -core.List buildUnnamed4191() => [ +core.List buildUnnamed4175() => [ 'foo', 'foo', ]; -void checkUnnamed4191(core.List o) { +void checkUnnamed4175(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1112,7 +1112,7 @@ api.GoogleCloudDatacatalogV1PolicyTag buildGoogleCloudDatacatalogV1PolicyTag() { final o = api.GoogleCloudDatacatalogV1PolicyTag(); buildCounterGoogleCloudDatacatalogV1PolicyTag++; if (buildCounterGoogleCloudDatacatalogV1PolicyTag < 3) { - o.childPolicyTags = buildUnnamed4191(); + o.childPolicyTags = buildUnnamed4175(); o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; @@ -1126,7 +1126,7 @@ void checkGoogleCloudDatacatalogV1PolicyTag( api.GoogleCloudDatacatalogV1PolicyTag o) { buildCounterGoogleCloudDatacatalogV1PolicyTag++; if (buildCounterGoogleCloudDatacatalogV1PolicyTag < 3) { - checkUnnamed4191(o.childPolicyTags!); + checkUnnamed4175(o.childPolicyTags!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1221,13 +1221,13 @@ void checkGoogleCloudDatacatalogV1ReplaceTaxonomyRequest( buildCounterGoogleCloudDatacatalogV1ReplaceTaxonomyRequest--; } -core.List buildUnnamed4192() => +core.List buildUnnamed4176() => [ buildGoogleCloudDatacatalogV1RoutineSpecArgument(), buildGoogleCloudDatacatalogV1RoutineSpecArgument(), ]; -void checkUnnamed4192( +void checkUnnamed4176( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1RoutineSpecArgument(o[0]); @@ -1244,7 +1244,7 @@ api.GoogleCloudDatacatalogV1RoutineSpec o.definitionBody = 'foo'; o.language = 'foo'; o.returnType = 'foo'; - o.routineArguments = buildUnnamed4192(); + o.routineArguments = buildUnnamed4176(); o.routineType = 'foo'; } buildCounterGoogleCloudDatacatalogV1RoutineSpec--; @@ -1268,7 +1268,7 @@ void checkGoogleCloudDatacatalogV1RoutineSpec( o.returnType!, unittest.equals('foo'), ); - checkUnnamed4192(o.routineArguments!); + checkUnnamed4176(o.routineArguments!); unittest.expect( o.routineType!, unittest.equals('foo'), @@ -1311,12 +1311,12 @@ void checkGoogleCloudDatacatalogV1RoutineSpecArgument( buildCounterGoogleCloudDatacatalogV1RoutineSpecArgument--; } -core.List buildUnnamed4193() => [ +core.List buildUnnamed4177() => [ buildGoogleCloudDatacatalogV1ColumnSchema(), buildGoogleCloudDatacatalogV1ColumnSchema(), ]; -void checkUnnamed4193(core.List o) { +void checkUnnamed4177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1ColumnSchema(o[0]); checkGoogleCloudDatacatalogV1ColumnSchema(o[1]); @@ -1327,7 +1327,7 @@ api.GoogleCloudDatacatalogV1Schema buildGoogleCloudDatacatalogV1Schema() { final o = api.GoogleCloudDatacatalogV1Schema(); buildCounterGoogleCloudDatacatalogV1Schema++; if (buildCounterGoogleCloudDatacatalogV1Schema < 3) { - o.columns = buildUnnamed4193(); + o.columns = buildUnnamed4177(); } buildCounterGoogleCloudDatacatalogV1Schema--; return o; @@ -1336,7 +1336,7 @@ api.GoogleCloudDatacatalogV1Schema buildGoogleCloudDatacatalogV1Schema() { void checkGoogleCloudDatacatalogV1Schema(api.GoogleCloudDatacatalogV1Schema o) { buildCounterGoogleCloudDatacatalogV1Schema++; if (buildCounterGoogleCloudDatacatalogV1Schema < 3) { - checkUnnamed4193(o.columns!); + checkUnnamed4177(o.columns!); } buildCounterGoogleCloudDatacatalogV1Schema--; } @@ -1382,12 +1382,12 @@ void checkGoogleCloudDatacatalogV1SearchCatalogRequest( buildCounterGoogleCloudDatacatalogV1SearchCatalogRequest--; } -core.List buildUnnamed4194() => [ +core.List buildUnnamed4178() => [ 'foo', 'foo', ]; -void checkUnnamed4194(core.List o) { +void checkUnnamed4178(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1399,12 +1399,12 @@ void checkUnnamed4194(core.List o) { ); } -core.List buildUnnamed4195() => [ +core.List buildUnnamed4179() => [ 'foo', 'foo', ]; -void checkUnnamed4195(core.List o) { +void checkUnnamed4179(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1416,12 +1416,12 @@ void checkUnnamed4195(core.List o) { ); } -core.List buildUnnamed4196() => [ +core.List buildUnnamed4180() => [ 'foo', 'foo', ]; -void checkUnnamed4196(core.List o) { +void checkUnnamed4180(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1440,10 +1440,10 @@ api.GoogleCloudDatacatalogV1SearchCatalogRequestScope buildCounterGoogleCloudDatacatalogV1SearchCatalogRequestScope++; if (buildCounterGoogleCloudDatacatalogV1SearchCatalogRequestScope < 3) { o.includeGcpPublicDatasets = true; - o.includeOrgIds = buildUnnamed4194(); - o.includeProjectIds = buildUnnamed4195(); + o.includeOrgIds = buildUnnamed4178(); + o.includeProjectIds = buildUnnamed4179(); o.includePublicTagTemplates = true; - o.restrictedLocations = buildUnnamed4196(); + o.restrictedLocations = buildUnnamed4180(); } buildCounterGoogleCloudDatacatalogV1SearchCatalogRequestScope--; return o; @@ -1454,33 +1454,33 @@ void checkGoogleCloudDatacatalogV1SearchCatalogRequestScope( buildCounterGoogleCloudDatacatalogV1SearchCatalogRequestScope++; if (buildCounterGoogleCloudDatacatalogV1SearchCatalogRequestScope < 3) { unittest.expect(o.includeGcpPublicDatasets!, unittest.isTrue); - checkUnnamed4194(o.includeOrgIds!); - checkUnnamed4195(o.includeProjectIds!); + checkUnnamed4178(o.includeOrgIds!); + checkUnnamed4179(o.includeProjectIds!); unittest.expect(o.includePublicTagTemplates!, unittest.isTrue); - checkUnnamed4196(o.restrictedLocations!); + checkUnnamed4180(o.restrictedLocations!); } buildCounterGoogleCloudDatacatalogV1SearchCatalogRequestScope--; } -core.List buildUnnamed4197() => +core.List buildUnnamed4181() => [ buildGoogleCloudDatacatalogV1SearchCatalogResult(), buildGoogleCloudDatacatalogV1SearchCatalogResult(), ]; -void checkUnnamed4197( +void checkUnnamed4181( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1SearchCatalogResult(o[0]); checkGoogleCloudDatacatalogV1SearchCatalogResult(o[1]); } -core.List buildUnnamed4198() => [ +core.List buildUnnamed4182() => [ 'foo', 'foo', ]; -void checkUnnamed4198(core.List o) { +void checkUnnamed4182(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1499,8 +1499,8 @@ api.GoogleCloudDatacatalogV1SearchCatalogResponse buildCounterGoogleCloudDatacatalogV1SearchCatalogResponse++; if (buildCounterGoogleCloudDatacatalogV1SearchCatalogResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed4197(); - o.unreachable = buildUnnamed4198(); + o.results = buildUnnamed4181(); + o.unreachable = buildUnnamed4182(); } buildCounterGoogleCloudDatacatalogV1SearchCatalogResponse--; return o; @@ -1514,8 +1514,8 @@ void checkGoogleCloudDatacatalogV1SearchCatalogResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4197(o.results!); - checkUnnamed4198(o.unreachable!); + checkUnnamed4181(o.results!); + checkUnnamed4182(o.unreachable!); } buildCounterGoogleCloudDatacatalogV1SearchCatalogResponse--; } @@ -1579,13 +1579,13 @@ void checkGoogleCloudDatacatalogV1SearchCatalogResult( buildCounterGoogleCloudDatacatalogV1SearchCatalogResult--; } -core.List buildUnnamed4199() => +core.List buildUnnamed4183() => [ buildGoogleCloudDatacatalogV1SerializedPolicyTag(), buildGoogleCloudDatacatalogV1SerializedPolicyTag(), ]; -void checkUnnamed4199( +void checkUnnamed4183( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1SerializedPolicyTag(o[0]); @@ -1598,7 +1598,7 @@ api.GoogleCloudDatacatalogV1SerializedPolicyTag final o = api.GoogleCloudDatacatalogV1SerializedPolicyTag(); buildCounterGoogleCloudDatacatalogV1SerializedPolicyTag++; if (buildCounterGoogleCloudDatacatalogV1SerializedPolicyTag < 3) { - o.childPolicyTags = buildUnnamed4199(); + o.childPolicyTags = buildUnnamed4183(); o.description = 'foo'; o.displayName = 'foo'; o.policyTag = 'foo'; @@ -1611,7 +1611,7 @@ void checkGoogleCloudDatacatalogV1SerializedPolicyTag( api.GoogleCloudDatacatalogV1SerializedPolicyTag o) { buildCounterGoogleCloudDatacatalogV1SerializedPolicyTag++; if (buildCounterGoogleCloudDatacatalogV1SerializedPolicyTag < 3) { - checkUnnamed4199(o.childPolicyTags!); + checkUnnamed4183(o.childPolicyTags!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1628,12 +1628,12 @@ void checkGoogleCloudDatacatalogV1SerializedPolicyTag( buildCounterGoogleCloudDatacatalogV1SerializedPolicyTag--; } -core.List buildUnnamed4200() => [ +core.List buildUnnamed4184() => [ 'foo', 'foo', ]; -void checkUnnamed4200(core.List o) { +void checkUnnamed4184(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1645,13 +1645,13 @@ void checkUnnamed4200(core.List o) { ); } -core.List buildUnnamed4201() => +core.List buildUnnamed4185() => [ buildGoogleCloudDatacatalogV1SerializedPolicyTag(), buildGoogleCloudDatacatalogV1SerializedPolicyTag(), ]; -void checkUnnamed4201( +void checkUnnamed4185( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1SerializedPolicyTag(o[0]); @@ -1664,10 +1664,10 @@ api.GoogleCloudDatacatalogV1SerializedTaxonomy final o = api.GoogleCloudDatacatalogV1SerializedTaxonomy(); buildCounterGoogleCloudDatacatalogV1SerializedTaxonomy++; if (buildCounterGoogleCloudDatacatalogV1SerializedTaxonomy < 3) { - o.activatedPolicyTypes = buildUnnamed4200(); + o.activatedPolicyTypes = buildUnnamed4184(); o.description = 'foo'; o.displayName = 'foo'; - o.policyTags = buildUnnamed4201(); + o.policyTags = buildUnnamed4185(); } buildCounterGoogleCloudDatacatalogV1SerializedTaxonomy--; return o; @@ -1677,7 +1677,7 @@ void checkGoogleCloudDatacatalogV1SerializedTaxonomy( api.GoogleCloudDatacatalogV1SerializedTaxonomy o) { buildCounterGoogleCloudDatacatalogV1SerializedTaxonomy++; if (buildCounterGoogleCloudDatacatalogV1SerializedTaxonomy < 3) { - checkUnnamed4200(o.activatedPolicyTypes!); + checkUnnamed4184(o.activatedPolicyTypes!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1686,7 +1686,7 @@ void checkGoogleCloudDatacatalogV1SerializedTaxonomy( o.displayName!, unittest.equals('foo'), ); - checkUnnamed4201(o.policyTags!); + checkUnnamed4185(o.policyTags!); } buildCounterGoogleCloudDatacatalogV1SerializedTaxonomy--; } @@ -1749,12 +1749,12 @@ void checkGoogleCloudDatacatalogV1TableSpec( } core.Map - buildUnnamed4202() => { + buildUnnamed4186() => { 'x': buildGoogleCloudDatacatalogV1TagField(), 'y': buildGoogleCloudDatacatalogV1TagField(), }; -void checkUnnamed4202( +void checkUnnamed4186( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1TagField(o['x']!); @@ -1767,7 +1767,7 @@ api.GoogleCloudDatacatalogV1Tag buildGoogleCloudDatacatalogV1Tag() { buildCounterGoogleCloudDatacatalogV1Tag++; if (buildCounterGoogleCloudDatacatalogV1Tag < 3) { o.column = 'foo'; - o.fields = buildUnnamed4202(); + o.fields = buildUnnamed4186(); o.name = 'foo'; o.template = 'foo'; o.templateDisplayName = 'foo'; @@ -1783,7 +1783,7 @@ void checkGoogleCloudDatacatalogV1Tag(api.GoogleCloudDatacatalogV1Tag o) { o.column!, unittest.equals('foo'), ); - checkUnnamed4202(o.fields!); + checkUnnamed4186(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1877,12 +1877,12 @@ void checkGoogleCloudDatacatalogV1TagFieldEnumValue( } core.Map - buildUnnamed4203() => { + buildUnnamed4187() => { 'x': buildGoogleCloudDatacatalogV1TagTemplateField(), 'y': buildGoogleCloudDatacatalogV1TagTemplateField(), }; -void checkUnnamed4203( +void checkUnnamed4187( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1TagTemplateField(o['x']!); @@ -1896,7 +1896,7 @@ api.GoogleCloudDatacatalogV1TagTemplate buildCounterGoogleCloudDatacatalogV1TagTemplate++; if (buildCounterGoogleCloudDatacatalogV1TagTemplate < 3) { o.displayName = 'foo'; - o.fields = buildUnnamed4203(); + o.fields = buildUnnamed4187(); o.isPubliclyReadable = true; o.name = 'foo'; } @@ -1912,7 +1912,7 @@ void checkGoogleCloudDatacatalogV1TagTemplate( o.displayName!, unittest.equals('foo'), ); - checkUnnamed4203(o.fields!); + checkUnnamed4187(o.fields!); unittest.expect(o.isPubliclyReadable!, unittest.isTrue); unittest.expect( o.name!, @@ -1965,12 +1965,12 @@ void checkGoogleCloudDatacatalogV1TagTemplateField( buildCounterGoogleCloudDatacatalogV1TagTemplateField--; } -core.List buildUnnamed4204() => [ +core.List buildUnnamed4188() => [ 'foo', 'foo', ]; -void checkUnnamed4204(core.List o) { +void checkUnnamed4188(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1987,7 +1987,7 @@ api.GoogleCloudDatacatalogV1Taxonomy buildGoogleCloudDatacatalogV1Taxonomy() { final o = api.GoogleCloudDatacatalogV1Taxonomy(); buildCounterGoogleCloudDatacatalogV1Taxonomy++; if (buildCounterGoogleCloudDatacatalogV1Taxonomy < 3) { - o.activatedPolicyTypes = buildUnnamed4204(); + o.activatedPolicyTypes = buildUnnamed4188(); o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; @@ -2002,7 +2002,7 @@ void checkGoogleCloudDatacatalogV1Taxonomy( api.GoogleCloudDatacatalogV1Taxonomy o) { buildCounterGoogleCloudDatacatalogV1Taxonomy++; if (buildCounterGoogleCloudDatacatalogV1Taxonomy < 3) { - checkUnnamed4204(o.activatedPolicyTypes!); + checkUnnamed4188(o.activatedPolicyTypes!); unittest.expect( o.description!, unittest.equals('foo'), @@ -2025,12 +2025,12 @@ void checkGoogleCloudDatacatalogV1Taxonomy( } core.Map - buildUnnamed4205() => { + buildUnnamed4189() => { 'x': buildGoogleCloudDatacatalogV1UsageStats(), 'y': buildGoogleCloudDatacatalogV1UsageStats(), }; -void checkUnnamed4205( +void checkUnnamed4189( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1UsageStats(o['x']!); @@ -2044,7 +2044,7 @@ api.GoogleCloudDatacatalogV1UsageSignal buildCounterGoogleCloudDatacatalogV1UsageSignal++; if (buildCounterGoogleCloudDatacatalogV1UsageSignal < 3) { o.updateTime = 'foo'; - o.usageWithinTimeRange = buildUnnamed4205(); + o.usageWithinTimeRange = buildUnnamed4189(); } buildCounterGoogleCloudDatacatalogV1UsageSignal--; return o; @@ -2058,7 +2058,7 @@ void checkGoogleCloudDatacatalogV1UsageSignal( o.updateTime!, unittest.equals('foo'), ); - checkUnnamed4205(o.usageWithinTimeRange!); + checkUnnamed4189(o.usageWithinTimeRange!); } buildCounterGoogleCloudDatacatalogV1UsageSignal--; } @@ -2125,12 +2125,12 @@ void checkGoogleCloudDatacatalogV1ViewSpec( buildCounterGoogleCloudDatacatalogV1ViewSpec--; } -core.List buildUnnamed4206() => [ +core.List buildUnnamed4190() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed4206(core.List o) { +void checkUnnamed4190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2141,7 +2141,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed4206(); + o.bindings = buildUnnamed4190(); o.etag = 'foo'; o.version = 42; } @@ -2152,7 +2152,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed4206(o.bindings!); + checkUnnamed4190(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2184,12 +2184,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed4207() => [ +core.List buildUnnamed4191() => [ 'foo', 'foo', ]; -void checkUnnamed4207(core.List o) { +void checkUnnamed4191(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2206,7 +2206,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed4207(); + o.permissions = buildUnnamed4191(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2215,17 +2215,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed4207(o.permissions!); + checkUnnamed4191(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed4208() => [ +core.List buildUnnamed4192() => [ 'foo', 'foo', ]; -void checkUnnamed4208(core.List o) { +void checkUnnamed4192(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2242,7 +2242,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed4208(); + o.permissions = buildUnnamed4192(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2251,17 +2251,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed4208(o.permissions!); + checkUnnamed4192(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed4209() => [ +core.List buildUnnamed4193() => [ 'foo', 'foo', ]; -void checkUnnamed4209(core.List o) { +void checkUnnamed4193(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5298,7 +5298,7 @@ void main() { final res = api.DataCatalogApi(mock).projects.locations.taxonomies; final arg_parent = 'foo'; final arg_serializedTaxonomies = true; - final arg_taxonomies = buildUnnamed4209(); + final arg_taxonomies = buildUnnamed4193(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/datafusion/v1_test.dart b/generated/googleapis/test/datafusion/v1_test.dart index e99ecae10..fe997050b 100644 --- a/generated/googleapis/test/datafusion/v1_test.dart +++ b/generated/googleapis/test/datafusion/v1_test.dart @@ -53,12 +53,12 @@ void checkAccelerator(api.Accelerator o) { buildCounterAccelerator--; } -core.List buildUnnamed4579() => [ +core.List buildUnnamed4592() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed4579(core.List o) { +void checkUnnamed4592(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -69,7 +69,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed4579(); + o.auditLogConfigs = buildUnnamed4592(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -79,7 +79,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed4579(o.auditLogConfigs!); + checkUnnamed4592(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -88,12 +88,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed4580() => [ +core.List buildUnnamed4593() => [ 'foo', 'foo', ]; -void checkUnnamed4580(core.List o) { +void checkUnnamed4593(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -110,7 +110,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed4580(); + o.exemptedMembers = buildUnnamed4593(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -120,7 +120,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed4580(o.exemptedMembers!); + checkUnnamed4593(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -129,12 +129,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed4581() => [ +core.List buildUnnamed4594() => [ 'foo', 'foo', ]; -void checkUnnamed4581(core.List o) { +void checkUnnamed4594(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -152,7 +152,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed4581(); + o.members = buildUnnamed4594(); o.role = 'foo'; } buildCounterBinding--; @@ -163,7 +163,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed4581(o.members!); + checkUnnamed4594(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -261,34 +261,34 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed4582() => [ +core.List buildUnnamed4595() => [ buildAccelerator(), buildAccelerator(), ]; -void checkUnnamed4582(core.List o) { +void checkUnnamed4595(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccelerator(o[0]); checkAccelerator(o[1]); } -core.List buildUnnamed4583() => [ +core.List buildUnnamed4596() => [ buildVersion(), buildVersion(), ]; -void checkUnnamed4583(core.List o) { +void checkUnnamed4596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersion(o[0]); checkVersion(o[1]); } -core.Map buildUnnamed4584() => { +core.Map buildUnnamed4597() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4584(core.Map o) { +void checkUnnamed4597(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -300,12 +300,12 @@ void checkUnnamed4584(core.Map o) { ); } -core.Map buildUnnamed4585() => { +core.Map buildUnnamed4598() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4585(core.Map o) { +void checkUnnamed4598(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -322,9 +322,9 @@ api.Instance buildInstance() { final o = api.Instance(); buildCounterInstance++; if (buildCounterInstance < 3) { - o.accelerators = buildUnnamed4582(); + o.accelerators = buildUnnamed4595(); o.apiEndpoint = 'foo'; - o.availableVersion = buildUnnamed4583(); + o.availableVersion = buildUnnamed4596(); o.createTime = 'foo'; o.cryptoKeyConfig = buildCryptoKeyConfig(); o.dataprocServiceAccount = 'foo'; @@ -334,10 +334,10 @@ api.Instance buildInstance() { o.enableStackdriverLogging = true; o.enableStackdriverMonitoring = true; o.gcsBucket = 'foo'; - o.labels = buildUnnamed4584(); + o.labels = buildUnnamed4597(); o.name = 'foo'; o.networkConfig = buildNetworkConfig(); - o.options = buildUnnamed4585(); + o.options = buildUnnamed4598(); o.p4ServiceAccount = 'foo'; o.privateInstance = true; o.serviceAccount = 'foo'; @@ -357,12 +357,12 @@ api.Instance buildInstance() { void checkInstance(api.Instance o) { buildCounterInstance++; if (buildCounterInstance < 3) { - checkUnnamed4582(o.accelerators!); + checkUnnamed4595(o.accelerators!); unittest.expect( o.apiEndpoint!, unittest.equals('foo'), ); - checkUnnamed4583(o.availableVersion!); + checkUnnamed4596(o.availableVersion!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -387,13 +387,13 @@ void checkInstance(api.Instance o) { o.gcsBucket!, unittest.equals('foo'), ); - checkUnnamed4584(o.labels!); + checkUnnamed4597(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); checkNetworkConfig(o.networkConfig!); - checkUnnamed4585(o.options!); + checkUnnamed4598(o.options!); unittest.expect( o.p4ServiceAccount!, unittest.equals('foo'), @@ -439,12 +439,12 @@ void checkInstance(api.Instance o) { buildCounterInstance--; } -core.List buildUnnamed4586() => [ +core.List buildUnnamed4599() => [ buildVersion(), buildVersion(), ]; -void checkUnnamed4586(core.List o) { +void checkUnnamed4599(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersion(o[0]); checkVersion(o[1]); @@ -455,7 +455,7 @@ api.ListAvailableVersionsResponse buildListAvailableVersionsResponse() { final o = api.ListAvailableVersionsResponse(); buildCounterListAvailableVersionsResponse++; if (buildCounterListAvailableVersionsResponse < 3) { - o.availableVersions = buildUnnamed4586(); + o.availableVersions = buildUnnamed4599(); o.nextPageToken = 'foo'; } buildCounterListAvailableVersionsResponse--; @@ -465,7 +465,7 @@ api.ListAvailableVersionsResponse buildListAvailableVersionsResponse() { void checkListAvailableVersionsResponse(api.ListAvailableVersionsResponse o) { buildCounterListAvailableVersionsResponse++; if (buildCounterListAvailableVersionsResponse < 3) { - checkUnnamed4586(o.availableVersions!); + checkUnnamed4599(o.availableVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -474,23 +474,23 @@ void checkListAvailableVersionsResponse(api.ListAvailableVersionsResponse o) { buildCounterListAvailableVersionsResponse--; } -core.List buildUnnamed4587() => [ +core.List buildUnnamed4600() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed4587(core.List o) { +void checkUnnamed4600(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); } -core.List buildUnnamed4588() => [ +core.List buildUnnamed4601() => [ 'foo', 'foo', ]; -void checkUnnamed4588(core.List o) { +void checkUnnamed4601(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -507,9 +507,9 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed4587(); + o.instances = buildUnnamed4600(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed4588(); + o.unreachable = buildUnnamed4601(); } buildCounterListInstancesResponse--; return o; @@ -518,22 +518,22 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed4587(o.instances!); + checkUnnamed4600(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4588(o.unreachable!); + checkUnnamed4601(o.unreachable!); } buildCounterListInstancesResponse--; } -core.List buildUnnamed4589() => [ +core.List buildUnnamed4602() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed4589(core.List o) { +void checkUnnamed4602(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -544,7 +544,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed4589(); + o.locations = buildUnnamed4602(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -554,7 +554,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed4589(o.locations!); + checkUnnamed4602(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -563,12 +563,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed4590() => [ +core.List buildUnnamed4603() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4590(core.List o) { +void checkUnnamed4603(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -580,7 +580,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4590(); + o.operations = buildUnnamed4603(); } buildCounterListOperationsResponse--; return o; @@ -593,17 +593,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4590(o.operations!); + checkUnnamed4603(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed4591() => { +core.Map buildUnnamed4604() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4591(core.Map o) { +void checkUnnamed4604(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -615,7 +615,7 @@ void checkUnnamed4591(core.Map o) { ); } -core.Map buildUnnamed4592() => { +core.Map buildUnnamed4605() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -628,7 +628,7 @@ core.Map buildUnnamed4592() => { }, }; -void checkUnnamed4592(core.Map o) { +void checkUnnamed4605(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -666,9 +666,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed4591(); + o.labels = buildUnnamed4604(); o.locationId = 'foo'; - o.metadata = buildUnnamed4592(); + o.metadata = buildUnnamed4605(); o.name = 'foo'; } buildCounterLocation--; @@ -682,12 +682,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4591(o.labels!); + checkUnnamed4604(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed4592(o.metadata!); + checkUnnamed4605(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -723,7 +723,7 @@ void checkNetworkConfig(api.NetworkConfig o) { buildCounterNetworkConfig--; } -core.Map buildUnnamed4593() => { +core.Map buildUnnamed4606() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -736,7 +736,7 @@ core.Map buildUnnamed4593() => { }, }; -void checkUnnamed4593(core.Map o) { +void checkUnnamed4606(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -768,7 +768,7 @@ void checkUnnamed4593(core.Map o) { ); } -core.Map buildUnnamed4594() => { +core.Map buildUnnamed4607() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -781,7 +781,7 @@ core.Map buildUnnamed4594() => { }, }; -void checkUnnamed4594(core.Map o) { +void checkUnnamed4607(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -820,9 +820,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4593(); + o.metadata = buildUnnamed4606(); o.name = 'foo'; - o.response = buildUnnamed4594(); + o.response = buildUnnamed4607(); } buildCounterOperation--; return o; @@ -833,22 +833,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4593(o.metadata!); + checkUnnamed4606(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4594(o.response!); + checkUnnamed4607(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed4595() => { +core.Map buildUnnamed4608() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4595(core.Map o) { +void checkUnnamed4608(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -865,7 +865,7 @@ api.OperationMetadata buildOperationMetadata() { final o = api.OperationMetadata(); buildCounterOperationMetadata++; if (buildCounterOperationMetadata < 3) { - o.additionalStatus = buildUnnamed4595(); + o.additionalStatus = buildUnnamed4608(); o.apiVersion = 'foo'; o.createTime = 'foo'; o.endTime = 'foo'; @@ -881,7 +881,7 @@ api.OperationMetadata buildOperationMetadata() { void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata++; if (buildCounterOperationMetadata < 3) { - checkUnnamed4595(o.additionalStatus!); + checkUnnamed4608(o.additionalStatus!); unittest.expect( o.apiVersion!, unittest.equals('foo'), @@ -911,23 +911,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed4596() => [ +core.List buildUnnamed4609() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed4596(core.List o) { +void checkUnnamed4609(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed4597() => [ +core.List buildUnnamed4610() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed4597(core.List o) { +void checkUnnamed4610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -938,8 +938,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed4596(); - o.bindings = buildUnnamed4597(); + o.auditConfigs = buildUnnamed4609(); + o.bindings = buildUnnamed4610(); o.etag = 'foo'; o.version = 42; } @@ -950,8 +950,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed4596(o.auditConfigs!); - checkUnnamed4597(o.bindings!); + checkUnnamed4609(o.auditConfigs!); + checkUnnamed4610(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1003,7 +1003,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed4598() => { +core.Map buildUnnamed4611() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1016,7 +1016,7 @@ core.Map buildUnnamed4598() => { }, }; -void checkUnnamed4598(core.Map o) { +void checkUnnamed4611(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1048,15 +1048,15 @@ void checkUnnamed4598(core.Map o) { ); } -core.List> buildUnnamed4599() => [ - buildUnnamed4598(), - buildUnnamed4598(), +core.List> buildUnnamed4612() => [ + buildUnnamed4611(), + buildUnnamed4611(), ]; -void checkUnnamed4599(core.List> o) { +void checkUnnamed4612(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4598(o[0]); - checkUnnamed4598(o[1]); + checkUnnamed4611(o[0]); + checkUnnamed4611(o[1]); } core.int buildCounterStatus = 0; @@ -1065,7 +1065,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4599(); + o.details = buildUnnamed4612(); o.message = 'foo'; } buildCounterStatus--; @@ -1079,7 +1079,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4599(o.details!); + checkUnnamed4612(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1088,12 +1088,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed4600() => [ +core.List buildUnnamed4613() => [ 'foo', 'foo', ]; -void checkUnnamed4600(core.List o) { +void checkUnnamed4613(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1110,7 +1110,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed4600(); + o.permissions = buildUnnamed4613(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1119,17 +1119,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed4600(o.permissions!); + checkUnnamed4613(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed4601() => [ +core.List buildUnnamed4614() => [ 'foo', 'foo', ]; -void checkUnnamed4601(core.List o) { +void checkUnnamed4614(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1146,7 +1146,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed4601(); + o.permissions = buildUnnamed4614(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1155,17 +1155,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed4601(o.permissions!); + checkUnnamed4614(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed4602() => [ +core.List buildUnnamed4615() => [ 'foo', 'foo', ]; -void checkUnnamed4602(core.List o) { +void checkUnnamed4615(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1182,7 +1182,7 @@ api.Version buildVersion() { final o = api.Version(); buildCounterVersion++; if (buildCounterVersion < 3) { - o.availableFeatures = buildUnnamed4602(); + o.availableFeatures = buildUnnamed4615(); o.defaultVersion = true; o.versionNumber = 'foo'; } @@ -1193,7 +1193,7 @@ api.Version buildVersion() { void checkVersion(api.Version o) { buildCounterVersion++; if (buildCounterVersion < 3) { - checkUnnamed4602(o.availableFeatures!); + checkUnnamed4615(o.availableFeatures!); unittest.expect(o.defaultVersion!, unittest.isTrue); unittest.expect( o.versionNumber!, diff --git a/generated/googleapis/test/datamigration/v1_test.dart b/generated/googleapis/test/datamigration/v1_test.dart index 64aacf37e..47f289b83 100644 --- a/generated/googleapis/test/datamigration/v1_test.dart +++ b/generated/googleapis/test/datamigration/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2395() => [ +core.List buildUnnamed2382() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed2395(core.List o) { +void checkUnnamed2382(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed2395(); + o.auditLogConfigs = buildUnnamed2382(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed2395(o.auditLogConfigs!); + checkUnnamed2382(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed2396() => [ +core.List buildUnnamed2383() => [ 'foo', 'foo', ]; -void checkUnnamed2396(core.List o) { +void checkUnnamed2383(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed2396(); + o.exemptedMembers = buildUnnamed2383(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed2396(o.exemptedMembers!); + checkUnnamed2383(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed2397() => [ +core.List buildUnnamed2384() => [ 'foo', 'foo', ]; -void checkUnnamed2397(core.List o) { +void checkUnnamed2384(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed2397(); + o.members = buildUnnamed2384(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed2397(o.members!); + checkUnnamed2384(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -194,12 +194,12 @@ void checkCloudSqlConnectionProfile(api.CloudSqlConnectionProfile o) { buildCounterCloudSqlConnectionProfile--; } -core.Map buildUnnamed2398() => { +core.Map buildUnnamed2385() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2398(core.Map o) { +void checkUnnamed2385(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -211,12 +211,12 @@ void checkUnnamed2398(core.Map o) { ); } -core.Map buildUnnamed2399() => { +core.Map buildUnnamed2386() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2399(core.Map o) { +void checkUnnamed2386(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -238,7 +238,7 @@ api.CloudSqlSettings buildCloudSqlSettings() { o.collation = 'foo'; o.dataDiskSizeGb = 'foo'; o.dataDiskType = 'foo'; - o.databaseFlags = buildUnnamed2398(); + o.databaseFlags = buildUnnamed2385(); o.databaseVersion = 'foo'; o.ipConfig = buildSqlIpConfig(); o.rootPassword = 'foo'; @@ -246,7 +246,7 @@ api.CloudSqlSettings buildCloudSqlSettings() { o.sourceId = 'foo'; o.storageAutoResizeLimit = 'foo'; o.tier = 'foo'; - o.userLabels = buildUnnamed2399(); + o.userLabels = buildUnnamed2386(); o.zone = 'foo'; } buildCounterCloudSqlSettings--; @@ -273,7 +273,7 @@ void checkCloudSqlSettings(api.CloudSqlSettings o) { o.dataDiskType!, unittest.equals('foo'), ); - checkUnnamed2398(o.databaseFlags!); + checkUnnamed2385(o.databaseFlags!); unittest.expect( o.databaseVersion!, unittest.equals('foo'), @@ -296,7 +296,7 @@ void checkCloudSqlSettings(api.CloudSqlSettings o) { o.tier!, unittest.equals('foo'), ); - checkUnnamed2399(o.userLabels!); + checkUnnamed2386(o.userLabels!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -305,12 +305,12 @@ void checkCloudSqlSettings(api.CloudSqlSettings o) { buildCounterCloudSqlSettings--; } -core.Map buildUnnamed2400() => { +core.Map buildUnnamed2387() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2400(core.Map o) { +void checkUnnamed2387(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -331,7 +331,7 @@ api.ConnectionProfile buildConnectionProfile() { o.createTime = 'foo'; o.displayName = 'foo'; o.error = buildStatus(); - o.labels = buildUnnamed2400(); + o.labels = buildUnnamed2387(); o.mysql = buildMySqlConnectionProfile(); o.name = 'foo'; o.postgresql = buildPostgreSqlConnectionProfile(); @@ -356,7 +356,7 @@ void checkConnectionProfile(api.ConnectionProfile o) { unittest.equals('foo'), ); checkStatus(o.error!); - checkUnnamed2400(o.labels!); + checkUnnamed2387(o.labels!); checkMySqlConnectionProfile(o.mysql!); unittest.expect( o.name!, @@ -540,23 +540,23 @@ void checkGoogleCloudClouddmsV1OperationMetadata( buildCounterGoogleCloudClouddmsV1OperationMetadata--; } -core.List buildUnnamed2401() => [ +core.List buildUnnamed2388() => [ buildConnectionProfile(), buildConnectionProfile(), ]; -void checkUnnamed2401(core.List o) { +void checkUnnamed2388(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionProfile(o[0]); checkConnectionProfile(o[1]); } -core.List buildUnnamed2402() => [ +core.List buildUnnamed2389() => [ 'foo', 'foo', ]; -void checkUnnamed2402(core.List o) { +void checkUnnamed2389(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -573,9 +573,9 @@ api.ListConnectionProfilesResponse buildListConnectionProfilesResponse() { final o = api.ListConnectionProfilesResponse(); buildCounterListConnectionProfilesResponse++; if (buildCounterListConnectionProfilesResponse < 3) { - o.connectionProfiles = buildUnnamed2401(); + o.connectionProfiles = buildUnnamed2388(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed2402(); + o.unreachable = buildUnnamed2389(); } buildCounterListConnectionProfilesResponse--; return o; @@ -584,22 +584,22 @@ api.ListConnectionProfilesResponse buildListConnectionProfilesResponse() { void checkListConnectionProfilesResponse(api.ListConnectionProfilesResponse o) { buildCounterListConnectionProfilesResponse++; if (buildCounterListConnectionProfilesResponse < 3) { - checkUnnamed2401(o.connectionProfiles!); + checkUnnamed2388(o.connectionProfiles!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2402(o.unreachable!); + checkUnnamed2389(o.unreachable!); } buildCounterListConnectionProfilesResponse--; } -core.List buildUnnamed2403() => [ +core.List buildUnnamed2390() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed2403(core.List o) { +void checkUnnamed2390(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -610,7 +610,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed2403(); + o.locations = buildUnnamed2390(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -620,7 +620,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed2403(o.locations!); + checkUnnamed2390(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -629,23 +629,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed2404() => [ +core.List buildUnnamed2391() => [ buildMigrationJob(), buildMigrationJob(), ]; -void checkUnnamed2404(core.List o) { +void checkUnnamed2391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMigrationJob(o[0]); checkMigrationJob(o[1]); } -core.List buildUnnamed2405() => [ +core.List buildUnnamed2392() => [ 'foo', 'foo', ]; -void checkUnnamed2405(core.List o) { +void checkUnnamed2392(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -662,9 +662,9 @@ api.ListMigrationJobsResponse buildListMigrationJobsResponse() { final o = api.ListMigrationJobsResponse(); buildCounterListMigrationJobsResponse++; if (buildCounterListMigrationJobsResponse < 3) { - o.migrationJobs = buildUnnamed2404(); + o.migrationJobs = buildUnnamed2391(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed2405(); + o.unreachable = buildUnnamed2392(); } buildCounterListMigrationJobsResponse--; return o; @@ -673,22 +673,22 @@ api.ListMigrationJobsResponse buildListMigrationJobsResponse() { void checkListMigrationJobsResponse(api.ListMigrationJobsResponse o) { buildCounterListMigrationJobsResponse++; if (buildCounterListMigrationJobsResponse < 3) { - checkUnnamed2404(o.migrationJobs!); + checkUnnamed2391(o.migrationJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2405(o.unreachable!); + checkUnnamed2392(o.unreachable!); } buildCounterListMigrationJobsResponse--; } -core.List buildUnnamed2406() => [ +core.List buildUnnamed2393() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2406(core.List o) { +void checkUnnamed2393(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -700,7 +700,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2406(); + o.operations = buildUnnamed2393(); } buildCounterListOperationsResponse--; return o; @@ -713,17 +713,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2406(o.operations!); + checkUnnamed2393(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed2407() => { +core.Map buildUnnamed2394() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2407(core.Map o) { +void checkUnnamed2394(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -735,7 +735,7 @@ void checkUnnamed2407(core.Map o) { ); } -core.Map buildUnnamed2408() => { +core.Map buildUnnamed2395() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -748,7 +748,7 @@ core.Map buildUnnamed2408() => { }, }; -void checkUnnamed2408(core.Map o) { +void checkUnnamed2395(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -786,9 +786,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed2407(); + o.labels = buildUnnamed2394(); o.locationId = 'foo'; - o.metadata = buildUnnamed2408(); + o.metadata = buildUnnamed2395(); o.name = 'foo'; } buildCounterLocation--; @@ -802,12 +802,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2407(o.labels!); + checkUnnamed2394(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed2408(o.metadata!); + checkUnnamed2395(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -816,12 +816,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed2409() => { +core.Map buildUnnamed2396() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2409(core.Map o) { +void checkUnnamed2396(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -846,7 +846,7 @@ api.MigrationJob buildMigrationJob() { o.duration = 'foo'; o.endTime = 'foo'; o.error = buildStatus(); - o.labels = buildUnnamed2409(); + o.labels = buildUnnamed2396(); o.name = 'foo'; o.phase = 'foo'; o.reverseSshConnectivity = buildReverseSshConnectivity(); @@ -891,7 +891,7 @@ void checkMigrationJob(api.MigrationJob o) { unittest.equals('foo'), ); checkStatus(o.error!); - checkUnnamed2409(o.labels!); + checkUnnamed2396(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1002,7 +1002,7 @@ void checkMySqlConnectionProfile(api.MySqlConnectionProfile o) { buildCounterMySqlConnectionProfile--; } -core.Map buildUnnamed2410() => { +core.Map buildUnnamed2397() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1015,7 +1015,7 @@ core.Map buildUnnamed2410() => { }, }; -void checkUnnamed2410(core.Map o) { +void checkUnnamed2397(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1047,7 +1047,7 @@ void checkUnnamed2410(core.Map o) { ); } -core.Map buildUnnamed2411() => { +core.Map buildUnnamed2398() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1060,7 +1060,7 @@ core.Map buildUnnamed2411() => { }, }; -void checkUnnamed2411(core.Map o) { +void checkUnnamed2398(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1099,9 +1099,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2410(); + o.metadata = buildUnnamed2397(); o.name = 'foo'; - o.response = buildUnnamed2411(); + o.response = buildUnnamed2398(); } buildCounterOperation--; return o; @@ -1112,33 +1112,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2410(o.metadata!); + checkUnnamed2397(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2411(o.response!); + checkUnnamed2398(o.response!); } buildCounterOperation--; } -core.List buildUnnamed2412() => [ +core.List buildUnnamed2399() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed2412(core.List o) { +void checkUnnamed2399(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed2413() => [ +core.List buildUnnamed2400() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed2413(core.List o) { +void checkUnnamed2400(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1149,8 +1149,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed2412(); - o.bindings = buildUnnamed2413(); + o.auditConfigs = buildUnnamed2399(); + o.bindings = buildUnnamed2400(); o.etag = 'foo'; o.version = 42; } @@ -1161,8 +1161,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed2412(o.auditConfigs!); - checkUnnamed2413(o.bindings!); + checkUnnamed2399(o.auditConfigs!); + checkUnnamed2400(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1364,12 +1364,12 @@ void checkSqlAclEntry(api.SqlAclEntry o) { buildCounterSqlAclEntry--; } -core.List buildUnnamed2414() => [ +core.List buildUnnamed2401() => [ buildSqlAclEntry(), buildSqlAclEntry(), ]; -void checkUnnamed2414(core.List o) { +void checkUnnamed2401(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlAclEntry(o[0]); checkSqlAclEntry(o[1]); @@ -1380,7 +1380,7 @@ api.SqlIpConfig buildSqlIpConfig() { final o = api.SqlIpConfig(); buildCounterSqlIpConfig++; if (buildCounterSqlIpConfig < 3) { - o.authorizedNetworks = buildUnnamed2414(); + o.authorizedNetworks = buildUnnamed2401(); o.enableIpv4 = true; o.privateNetwork = 'foo'; o.requireSsl = true; @@ -1392,7 +1392,7 @@ api.SqlIpConfig buildSqlIpConfig() { void checkSqlIpConfig(api.SqlIpConfig o) { buildCounterSqlIpConfig++; if (buildCounterSqlIpConfig < 3) { - checkUnnamed2414(o.authorizedNetworks!); + checkUnnamed2401(o.authorizedNetworks!); unittest.expect(o.enableIpv4!, unittest.isTrue); unittest.expect( o.privateNetwork!, @@ -1492,7 +1492,7 @@ void checkStaticIpConnectivity(api.StaticIpConnectivity o) { buildCounterStaticIpConnectivity--; } -core.Map buildUnnamed2415() => { +core.Map buildUnnamed2402() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1505,7 +1505,7 @@ core.Map buildUnnamed2415() => { }, }; -void checkUnnamed2415(core.Map o) { +void checkUnnamed2402(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1537,15 +1537,15 @@ void checkUnnamed2415(core.Map o) { ); } -core.List> buildUnnamed2416() => [ - buildUnnamed2415(), - buildUnnamed2415(), +core.List> buildUnnamed2403() => [ + buildUnnamed2402(), + buildUnnamed2402(), ]; -void checkUnnamed2416(core.List> o) { +void checkUnnamed2403(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2415(o[0]); - checkUnnamed2415(o[1]); + checkUnnamed2402(o[0]); + checkUnnamed2402(o[1]); } core.int buildCounterStatus = 0; @@ -1554,7 +1554,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2416(); + o.details = buildUnnamed2403(); o.message = 'foo'; } buildCounterStatus--; @@ -1568,7 +1568,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2416(o.details!); + checkUnnamed2403(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1592,12 +1592,12 @@ void checkStopMigrationJobRequest(api.StopMigrationJobRequest o) { buildCounterStopMigrationJobRequest--; } -core.List buildUnnamed2417() => [ +core.List buildUnnamed2404() => [ 'foo', 'foo', ]; -void checkUnnamed2417(core.List o) { +void checkUnnamed2404(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1614,7 +1614,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed2417(); + o.permissions = buildUnnamed2404(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1623,17 +1623,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed2417(o.permissions!); + checkUnnamed2404(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed2418() => [ +core.List buildUnnamed2405() => [ 'foo', 'foo', ]; -void checkUnnamed2418(core.List o) { +void checkUnnamed2405(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1650,7 +1650,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed2418(); + o.permissions = buildUnnamed2405(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1659,7 +1659,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed2418(o.permissions!); + checkUnnamed2405(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart index bfbc796d9..a5e28c113 100644 --- a/generated/googleapis/test/dataproc/v1_test.dart +++ b/generated/googleapis/test/dataproc/v1_test.dart @@ -174,12 +174,12 @@ void checkBasicYarnAutoscalingConfig(api.BasicYarnAutoscalingConfig o) { buildCounterBasicYarnAutoscalingConfig--; } -core.Map buildUnnamed3291() => { +core.Map buildUnnamed3188() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3291(core.Map o) { +void checkUnnamed3188(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -191,12 +191,12 @@ void checkUnnamed3291(core.Map o) { ); } -core.List buildUnnamed3292() => [ +core.List buildUnnamed3189() => [ 'foo', 'foo', ]; -void checkUnnamed3292(core.List o) { +void checkUnnamed3189(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -218,9 +218,9 @@ api.BatchOperationMetadata buildBatchOperationMetadata() { o.createTime = 'foo'; o.description = 'foo'; o.doneTime = 'foo'; - o.labels = buildUnnamed3291(); + o.labels = buildUnnamed3188(); o.operationType = 'foo'; - o.warnings = buildUnnamed3292(); + o.warnings = buildUnnamed3189(); } buildCounterBatchOperationMetadata--; return o; @@ -249,22 +249,22 @@ void checkBatchOperationMetadata(api.BatchOperationMetadata o) { o.doneTime!, unittest.equals('foo'), ); - checkUnnamed3291(o.labels!); + checkUnnamed3188(o.labels!); unittest.expect( o.operationType!, unittest.equals('foo'), ); - checkUnnamed3292(o.warnings!); + checkUnnamed3189(o.warnings!); } buildCounterBatchOperationMetadata--; } -core.List buildUnnamed3293() => [ +core.List buildUnnamed3190() => [ 'foo', 'foo', ]; -void checkUnnamed3293(core.List o) { +void checkUnnamed3190(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -282,7 +282,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3293(); + o.members = buildUnnamed3190(); o.role = 'foo'; } buildCounterBinding--; @@ -293,7 +293,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3293(o.members!); + checkUnnamed3190(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -317,12 +317,12 @@ void checkCancelJobRequest(api.CancelJobRequest o) { buildCounterCancelJobRequest--; } -core.Map buildUnnamed3294() => { +core.Map buildUnnamed3191() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3294(core.Map o) { +void checkUnnamed3191(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -334,12 +334,12 @@ void checkUnnamed3294(core.Map o) { ); } -core.List buildUnnamed3295() => [ +core.List buildUnnamed3192() => [ buildClusterStatus(), buildClusterStatus(), ]; -void checkUnnamed3295(core.List o) { +void checkUnnamed3192(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClusterStatus(o[0]); checkClusterStatus(o[1]); @@ -353,11 +353,11 @@ api.Cluster buildCluster() { o.clusterName = 'foo'; o.clusterUuid = 'foo'; o.config = buildClusterConfig(); - o.labels = buildUnnamed3294(); + o.labels = buildUnnamed3191(); o.metrics = buildClusterMetrics(); o.projectId = 'foo'; o.status = buildClusterStatus(); - o.statusHistory = buildUnnamed3295(); + o.statusHistory = buildUnnamed3192(); } buildCounterCluster--; return o; @@ -375,24 +375,24 @@ void checkCluster(api.Cluster o) { unittest.equals('foo'), ); checkClusterConfig(o.config!); - checkUnnamed3294(o.labels!); + checkUnnamed3191(o.labels!); checkClusterMetrics(o.metrics!); unittest.expect( o.projectId!, unittest.equals('foo'), ); checkClusterStatus(o.status!); - checkUnnamed3295(o.statusHistory!); + checkUnnamed3192(o.statusHistory!); } buildCounterCluster--; } -core.List buildUnnamed3296() => [ +core.List buildUnnamed3193() => [ buildNodeInitializationAction(), buildNodeInitializationAction(), ]; -void checkUnnamed3296(core.List o) { +void checkUnnamed3193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeInitializationAction(o[0]); checkNodeInitializationAction(o[1]); @@ -409,7 +409,7 @@ api.ClusterConfig buildClusterConfig() { o.endpointConfig = buildEndpointConfig(); o.gceClusterConfig = buildGceClusterConfig(); o.gkeClusterConfig = buildGkeClusterConfig(); - o.initializationActions = buildUnnamed3296(); + o.initializationActions = buildUnnamed3193(); o.lifecycleConfig = buildLifecycleConfig(); o.masterConfig = buildInstanceGroupConfig(); o.metastoreConfig = buildMetastoreConfig(); @@ -435,7 +435,7 @@ void checkClusterConfig(api.ClusterConfig o) { checkEndpointConfig(o.endpointConfig!); checkGceClusterConfig(o.gceClusterConfig!); checkGkeClusterConfig(o.gkeClusterConfig!); - checkUnnamed3296(o.initializationActions!); + checkUnnamed3193(o.initializationActions!); checkLifecycleConfig(o.lifecycleConfig!); checkInstanceGroupConfig(o.masterConfig!); checkMetastoreConfig(o.metastoreConfig!); @@ -451,12 +451,12 @@ void checkClusterConfig(api.ClusterConfig o) { buildCounterClusterConfig--; } -core.Map buildUnnamed3297() => { +core.Map buildUnnamed3194() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3297(core.Map o) { +void checkUnnamed3194(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -468,12 +468,12 @@ void checkUnnamed3297(core.Map o) { ); } -core.Map buildUnnamed3298() => { +core.Map buildUnnamed3195() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3298(core.Map o) { +void checkUnnamed3195(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -490,8 +490,8 @@ api.ClusterMetrics buildClusterMetrics() { final o = api.ClusterMetrics(); buildCounterClusterMetrics++; if (buildCounterClusterMetrics < 3) { - o.hdfsMetrics = buildUnnamed3297(); - o.yarnMetrics = buildUnnamed3298(); + o.hdfsMetrics = buildUnnamed3194(); + o.yarnMetrics = buildUnnamed3195(); } buildCounterClusterMetrics--; return o; @@ -500,8 +500,8 @@ api.ClusterMetrics buildClusterMetrics() { void checkClusterMetrics(api.ClusterMetrics o) { buildCounterClusterMetrics++; if (buildCounterClusterMetrics < 3) { - checkUnnamed3297(o.hdfsMetrics!); - checkUnnamed3298(o.yarnMetrics!); + checkUnnamed3194(o.hdfsMetrics!); + checkUnnamed3195(o.yarnMetrics!); } buildCounterClusterMetrics--; } @@ -535,12 +535,12 @@ void checkClusterOperation(api.ClusterOperation o) { buildCounterClusterOperation--; } -core.Map buildUnnamed3299() => { +core.Map buildUnnamed3196() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3299(core.Map o) { +void checkUnnamed3196(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -552,23 +552,23 @@ void checkUnnamed3299(core.Map o) { ); } -core.List buildUnnamed3300() => [ +core.List buildUnnamed3197() => [ buildClusterOperationStatus(), buildClusterOperationStatus(), ]; -void checkUnnamed3300(core.List o) { +void checkUnnamed3197(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClusterOperationStatus(o[0]); checkClusterOperationStatus(o[1]); } -core.List buildUnnamed3301() => [ +core.List buildUnnamed3198() => [ 'foo', 'foo', ]; -void checkUnnamed3301(core.List o) { +void checkUnnamed3198(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -588,11 +588,11 @@ api.ClusterOperationMetadata buildClusterOperationMetadata() { o.clusterName = 'foo'; o.clusterUuid = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed3299(); + o.labels = buildUnnamed3196(); o.operationType = 'foo'; o.status = buildClusterOperationStatus(); - o.statusHistory = buildUnnamed3300(); - o.warnings = buildUnnamed3301(); + o.statusHistory = buildUnnamed3197(); + o.warnings = buildUnnamed3198(); } buildCounterClusterOperationMetadata--; return o; @@ -613,14 +613,14 @@ void checkClusterOperationMetadata(api.ClusterOperationMetadata o) { o.description!, unittest.equals('foo'), ); - checkUnnamed3299(o.labels!); + checkUnnamed3196(o.labels!); unittest.expect( o.operationType!, unittest.equals('foo'), ); checkClusterOperationStatus(o.status!); - checkUnnamed3300(o.statusHistory!); - checkUnnamed3301(o.warnings!); + checkUnnamed3197(o.statusHistory!); + checkUnnamed3198(o.warnings!); } buildCounterClusterOperationMetadata--; } @@ -662,12 +662,12 @@ void checkClusterOperationStatus(api.ClusterOperationStatus o) { buildCounterClusterOperationStatus--; } -core.Map buildUnnamed3302() => { +core.Map buildUnnamed3199() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3302(core.Map o) { +void checkUnnamed3199(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -684,7 +684,7 @@ api.ClusterSelector buildClusterSelector() { final o = api.ClusterSelector(); buildCounterClusterSelector++; if (buildCounterClusterSelector < 3) { - o.clusterLabels = buildUnnamed3302(); + o.clusterLabels = buildUnnamed3199(); o.zone = 'foo'; } buildCounterClusterSelector--; @@ -694,7 +694,7 @@ api.ClusterSelector buildClusterSelector() { void checkClusterSelector(api.ClusterSelector o) { buildCounterClusterSelector++; if (buildCounterClusterSelector < 3) { - checkUnnamed3302(o.clusterLabels!); + checkUnnamed3199(o.clusterLabels!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -865,12 +865,12 @@ void checkEncryptionConfig(api.EncryptionConfig o) { buildCounterEncryptionConfig--; } -core.Map buildUnnamed3303() => { +core.Map buildUnnamed3200() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3303(core.Map o) { +void checkUnnamed3200(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -888,7 +888,7 @@ api.EndpointConfig buildEndpointConfig() { buildCounterEndpointConfig++; if (buildCounterEndpointConfig < 3) { o.enableHttpPortAccess = true; - o.httpPorts = buildUnnamed3303(); + o.httpPorts = buildUnnamed3200(); } buildCounterEndpointConfig--; return o; @@ -898,7 +898,7 @@ void checkEndpointConfig(api.EndpointConfig o) { buildCounterEndpointConfig++; if (buildCounterEndpointConfig < 3) { unittest.expect(o.enableHttpPortAccess!, unittest.isTrue); - checkUnnamed3303(o.httpPorts!); + checkUnnamed3200(o.httpPorts!); } buildCounterEndpointConfig--; } @@ -940,12 +940,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.Map buildUnnamed3304() => { +core.Map buildUnnamed3201() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3304(core.Map o) { +void checkUnnamed3201(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -957,12 +957,12 @@ void checkUnnamed3304(core.Map o) { ); } -core.List buildUnnamed3305() => [ +core.List buildUnnamed3202() => [ 'foo', 'foo', ]; -void checkUnnamed3305(core.List o) { +void checkUnnamed3202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -974,12 +974,12 @@ void checkUnnamed3305(core.List o) { ); } -core.List buildUnnamed3306() => [ +core.List buildUnnamed3203() => [ 'foo', 'foo', ]; -void checkUnnamed3306(core.List o) { +void checkUnnamed3203(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -998,16 +998,16 @@ api.GceClusterConfig buildGceClusterConfig() { if (buildCounterGceClusterConfig < 3) { o.confidentialInstanceConfig = buildConfidentialInstanceConfig(); o.internalIpOnly = true; - o.metadata = buildUnnamed3304(); + o.metadata = buildUnnamed3201(); o.networkUri = 'foo'; o.nodeGroupAffinity = buildNodeGroupAffinity(); o.privateIpv6GoogleAccess = 'foo'; o.reservationAffinity = buildReservationAffinity(); o.serviceAccount = 'foo'; - o.serviceAccountScopes = buildUnnamed3305(); + o.serviceAccountScopes = buildUnnamed3202(); o.shieldedInstanceConfig = buildShieldedInstanceConfig(); o.subnetworkUri = 'foo'; - o.tags = buildUnnamed3306(); + o.tags = buildUnnamed3203(); o.zoneUri = 'foo'; } buildCounterGceClusterConfig--; @@ -1019,7 +1019,7 @@ void checkGceClusterConfig(api.GceClusterConfig o) { if (buildCounterGceClusterConfig < 3) { checkConfidentialInstanceConfig(o.confidentialInstanceConfig!); unittest.expect(o.internalIpOnly!, unittest.isTrue); - checkUnnamed3304(o.metadata!); + checkUnnamed3201(o.metadata!); unittest.expect( o.networkUri!, unittest.equals('foo'), @@ -1034,13 +1034,13 @@ void checkGceClusterConfig(api.GceClusterConfig o) { o.serviceAccount!, unittest.equals('foo'), ); - checkUnnamed3305(o.serviceAccountScopes!); + checkUnnamed3202(o.serviceAccountScopes!); checkShieldedInstanceConfig(o.shieldedInstanceConfig!); unittest.expect( o.subnetworkUri!, unittest.equals('foo'), ); - checkUnnamed3306(o.tags!); + checkUnnamed3203(o.tags!); unittest.expect( o.zoneUri!, unittest.equals('foo'), @@ -1109,12 +1109,12 @@ void checkGkeClusterConfig(api.GkeClusterConfig o) { buildCounterGkeClusterConfig--; } -core.List buildUnnamed3307() => [ +core.List buildUnnamed3204() => [ 'foo', 'foo', ]; -void checkUnnamed3307(core.List o) { +void checkUnnamed3204(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1126,12 +1126,12 @@ void checkUnnamed3307(core.List o) { ); } -core.List buildUnnamed3308() => [ +core.List buildUnnamed3205() => [ 'foo', 'foo', ]; -void checkUnnamed3308(core.List o) { +void checkUnnamed3205(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1143,12 +1143,12 @@ void checkUnnamed3308(core.List o) { ); } -core.List buildUnnamed3309() => [ +core.List buildUnnamed3206() => [ 'foo', 'foo', ]; -void checkUnnamed3309(core.List o) { +void checkUnnamed3206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1160,12 +1160,12 @@ void checkUnnamed3309(core.List o) { ); } -core.List buildUnnamed3310() => [ +core.List buildUnnamed3207() => [ 'foo', 'foo', ]; -void checkUnnamed3310(core.List o) { +void checkUnnamed3207(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1177,12 +1177,12 @@ void checkUnnamed3310(core.List o) { ); } -core.Map buildUnnamed3311() => { +core.Map buildUnnamed3208() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3311(core.Map o) { +void checkUnnamed3208(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1199,14 +1199,14 @@ api.HadoopJob buildHadoopJob() { final o = api.HadoopJob(); buildCounterHadoopJob++; if (buildCounterHadoopJob < 3) { - o.archiveUris = buildUnnamed3307(); - o.args = buildUnnamed3308(); - o.fileUris = buildUnnamed3309(); - o.jarFileUris = buildUnnamed3310(); + o.archiveUris = buildUnnamed3204(); + o.args = buildUnnamed3205(); + o.fileUris = buildUnnamed3206(); + o.jarFileUris = buildUnnamed3207(); o.loggingConfig = buildLoggingConfig(); o.mainClass = 'foo'; o.mainJarFileUri = 'foo'; - o.properties = buildUnnamed3311(); + o.properties = buildUnnamed3208(); } buildCounterHadoopJob--; return o; @@ -1215,10 +1215,10 @@ api.HadoopJob buildHadoopJob() { void checkHadoopJob(api.HadoopJob o) { buildCounterHadoopJob++; if (buildCounterHadoopJob < 3) { - checkUnnamed3307(o.archiveUris!); - checkUnnamed3308(o.args!); - checkUnnamed3309(o.fileUris!); - checkUnnamed3310(o.jarFileUris!); + checkUnnamed3204(o.archiveUris!); + checkUnnamed3205(o.args!); + checkUnnamed3206(o.fileUris!); + checkUnnamed3207(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainClass!, @@ -1228,17 +1228,17 @@ void checkHadoopJob(api.HadoopJob o) { o.mainJarFileUri!, unittest.equals('foo'), ); - checkUnnamed3311(o.properties!); + checkUnnamed3208(o.properties!); } buildCounterHadoopJob--; } -core.List buildUnnamed3312() => [ +core.List buildUnnamed3209() => [ 'foo', 'foo', ]; -void checkUnnamed3312(core.List o) { +void checkUnnamed3209(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1250,12 +1250,12 @@ void checkUnnamed3312(core.List o) { ); } -core.Map buildUnnamed3313() => { +core.Map buildUnnamed3210() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3313(core.Map o) { +void checkUnnamed3210(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1267,12 +1267,12 @@ void checkUnnamed3313(core.Map o) { ); } -core.Map buildUnnamed3314() => { +core.Map buildUnnamed3211() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3314(core.Map o) { +void checkUnnamed3211(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1290,11 +1290,11 @@ api.HiveJob buildHiveJob() { buildCounterHiveJob++; if (buildCounterHiveJob < 3) { o.continueOnFailure = true; - o.jarFileUris = buildUnnamed3312(); - o.properties = buildUnnamed3313(); + o.jarFileUris = buildUnnamed3209(); + o.properties = buildUnnamed3210(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); - o.scriptVariables = buildUnnamed3314(); + o.scriptVariables = buildUnnamed3211(); } buildCounterHiveJob--; return o; @@ -1304,24 +1304,24 @@ void checkHiveJob(api.HiveJob o) { buildCounterHiveJob++; if (buildCounterHiveJob < 3) { unittest.expect(o.continueOnFailure!, unittest.isTrue); - checkUnnamed3312(o.jarFileUris!); - checkUnnamed3313(o.properties!); + checkUnnamed3209(o.jarFileUris!); + checkUnnamed3210(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); checkQueryList(o.queryList!); - checkUnnamed3314(o.scriptVariables!); + checkUnnamed3211(o.scriptVariables!); } buildCounterHiveJob--; } -core.Map buildUnnamed3315() => { +core.Map buildUnnamed3212() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3315(core.Map o) { +void checkUnnamed3212(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1338,7 +1338,7 @@ api.IdentityConfig buildIdentityConfig() { final o = api.IdentityConfig(); buildCounterIdentityConfig++; if (buildCounterIdentityConfig < 3) { - o.userServiceAccountMapping = buildUnnamed3315(); + o.userServiceAccountMapping = buildUnnamed3212(); } buildCounterIdentityConfig--; return o; @@ -1347,7 +1347,7 @@ api.IdentityConfig buildIdentityConfig() { void checkIdentityConfig(api.IdentityConfig o) { buildCounterIdentityConfig++; if (buildCounterIdentityConfig < 3) { - checkUnnamed3315(o.userServiceAccountMapping!); + checkUnnamed3212(o.userServiceAccountMapping!); } buildCounterIdentityConfig--; } @@ -1413,23 +1413,23 @@ void checkInstanceGroupAutoscalingPolicyConfig( buildCounterInstanceGroupAutoscalingPolicyConfig--; } -core.List buildUnnamed3316() => [ +core.List buildUnnamed3213() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed3316(core.List o) { +void checkUnnamed3213(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.List buildUnnamed3317() => [ +core.List buildUnnamed3214() => [ 'foo', 'foo', ]; -void checkUnnamed3317(core.List o) { +void checkUnnamed3214(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1441,12 +1441,12 @@ void checkUnnamed3317(core.List o) { ); } -core.List buildUnnamed3318() => [ +core.List buildUnnamed3215() => [ buildInstanceReference(), buildInstanceReference(), ]; -void checkUnnamed3318(core.List o) { +void checkUnnamed3215(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -1457,11 +1457,11 @@ api.InstanceGroupConfig buildInstanceGroupConfig() { final o = api.InstanceGroupConfig(); buildCounterInstanceGroupConfig++; if (buildCounterInstanceGroupConfig < 3) { - o.accelerators = buildUnnamed3316(); + o.accelerators = buildUnnamed3213(); o.diskConfig = buildDiskConfig(); o.imageUri = 'foo'; - o.instanceNames = buildUnnamed3317(); - o.instanceReferences = buildUnnamed3318(); + o.instanceNames = buildUnnamed3214(); + o.instanceReferences = buildUnnamed3215(); o.isPreemptible = true; o.machineTypeUri = 'foo'; o.managedGroupConfig = buildManagedGroupConfig(); @@ -1476,14 +1476,14 @@ api.InstanceGroupConfig buildInstanceGroupConfig() { void checkInstanceGroupConfig(api.InstanceGroupConfig o) { buildCounterInstanceGroupConfig++; if (buildCounterInstanceGroupConfig < 3) { - checkUnnamed3316(o.accelerators!); + checkUnnamed3213(o.accelerators!); checkDiskConfig(o.diskConfig!); unittest.expect( o.imageUri!, unittest.equals('foo'), ); - checkUnnamed3317(o.instanceNames!); - checkUnnamed3318(o.instanceReferences!); + checkUnnamed3214(o.instanceNames!); + checkUnnamed3215(o.instanceReferences!); unittest.expect(o.isPreemptible!, unittest.isTrue); unittest.expect( o.machineTypeUri!, @@ -1543,12 +1543,12 @@ void checkInstanceReference(api.InstanceReference o) { buildCounterInstanceReference--; } -core.Map buildUnnamed3319() => { +core.Map buildUnnamed3216() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3319(core.Map o) { +void checkUnnamed3216(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1566,7 +1566,7 @@ api.InstantiateWorkflowTemplateRequest final o = api.InstantiateWorkflowTemplateRequest(); buildCounterInstantiateWorkflowTemplateRequest++; if (buildCounterInstantiateWorkflowTemplateRequest < 3) { - o.parameters = buildUnnamed3319(); + o.parameters = buildUnnamed3216(); o.requestId = 'foo'; o.version = 42; } @@ -1578,7 +1578,7 @@ void checkInstantiateWorkflowTemplateRequest( api.InstantiateWorkflowTemplateRequest o) { buildCounterInstantiateWorkflowTemplateRequest++; if (buildCounterInstantiateWorkflowTemplateRequest < 3) { - checkUnnamed3319(o.parameters!); + checkUnnamed3216(o.parameters!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -1591,12 +1591,12 @@ void checkInstantiateWorkflowTemplateRequest( buildCounterInstantiateWorkflowTemplateRequest--; } -core.Map buildUnnamed3320() => { +core.Map buildUnnamed3217() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3320(core.Map o) { +void checkUnnamed3217(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1608,23 +1608,23 @@ void checkUnnamed3320(core.Map o) { ); } -core.List buildUnnamed3321() => [ +core.List buildUnnamed3218() => [ buildJobStatus(), buildJobStatus(), ]; -void checkUnnamed3321(core.List o) { +void checkUnnamed3218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobStatus(o[0]); checkJobStatus(o[1]); } -core.List buildUnnamed3322() => [ +core.List buildUnnamed3219() => [ buildYarnApplication(), buildYarnApplication(), ]; -void checkUnnamed3322(core.List o) { +void checkUnnamed3219(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkYarnApplication(o[0]); checkYarnApplication(o[1]); @@ -1641,7 +1641,7 @@ api.Job buildJob() { o.hadoopJob = buildHadoopJob(); o.hiveJob = buildHiveJob(); o.jobUuid = 'foo'; - o.labels = buildUnnamed3320(); + o.labels = buildUnnamed3217(); o.pigJob = buildPigJob(); o.placement = buildJobPlacement(); o.prestoJob = buildPrestoJob(); @@ -1652,8 +1652,8 @@ api.Job buildJob() { o.sparkRJob = buildSparkRJob(); o.sparkSqlJob = buildSparkSqlJob(); o.status = buildJobStatus(); - o.statusHistory = buildUnnamed3321(); - o.yarnApplications = buildUnnamed3322(); + o.statusHistory = buildUnnamed3218(); + o.yarnApplications = buildUnnamed3219(); } buildCounterJob--; return o; @@ -1677,7 +1677,7 @@ void checkJob(api.Job o) { o.jobUuid!, unittest.equals('foo'), ); - checkUnnamed3320(o.labels!); + checkUnnamed3217(o.labels!); checkPigJob(o.pigJob!); checkJobPlacement(o.placement!); checkPrestoJob(o.prestoJob!); @@ -1688,8 +1688,8 @@ void checkJob(api.Job o) { checkSparkRJob(o.sparkRJob!); checkSparkSqlJob(o.sparkSqlJob!); checkJobStatus(o.status!); - checkUnnamed3321(o.statusHistory!); - checkUnnamed3322(o.yarnApplications!); + checkUnnamed3218(o.statusHistory!); + checkUnnamed3219(o.yarnApplications!); } buildCounterJob--; } @@ -1728,12 +1728,12 @@ void checkJobMetadata(api.JobMetadata o) { buildCounterJobMetadata--; } -core.Map buildUnnamed3323() => { +core.Map buildUnnamed3220() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3323(core.Map o) { +void checkUnnamed3220(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1750,7 +1750,7 @@ api.JobPlacement buildJobPlacement() { final o = api.JobPlacement(); buildCounterJobPlacement++; if (buildCounterJobPlacement < 3) { - o.clusterLabels = buildUnnamed3323(); + o.clusterLabels = buildUnnamed3220(); o.clusterName = 'foo'; o.clusterUuid = 'foo'; } @@ -1761,7 +1761,7 @@ api.JobPlacement buildJobPlacement() { void checkJobPlacement(api.JobPlacement o) { buildCounterJobPlacement++; if (buildCounterJobPlacement < 3) { - checkUnnamed3323(o.clusterLabels!); + checkUnnamed3220(o.clusterLabels!); unittest.expect( o.clusterName!, unittest.equals('foo'), @@ -1991,12 +1991,12 @@ void checkLifecycleConfig(api.LifecycleConfig o) { buildCounterLifecycleConfig--; } -core.List buildUnnamed3324() => [ +core.List buildUnnamed3221() => [ buildAutoscalingPolicy(), buildAutoscalingPolicy(), ]; -void checkUnnamed3324(core.List o) { +void checkUnnamed3221(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalingPolicy(o[0]); checkAutoscalingPolicy(o[1]); @@ -2008,7 +2008,7 @@ api.ListAutoscalingPoliciesResponse buildListAutoscalingPoliciesResponse() { buildCounterListAutoscalingPoliciesResponse++; if (buildCounterListAutoscalingPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.policies = buildUnnamed3324(); + o.policies = buildUnnamed3221(); } buildCounterListAutoscalingPoliciesResponse--; return o; @@ -2022,17 +2022,17 @@ void checkListAutoscalingPoliciesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3324(o.policies!); + checkUnnamed3221(o.policies!); } buildCounterListAutoscalingPoliciesResponse--; } -core.List buildUnnamed3325() => [ +core.List buildUnnamed3222() => [ buildCluster(), buildCluster(), ]; -void checkUnnamed3325(core.List o) { +void checkUnnamed3222(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCluster(o[0]); checkCluster(o[1]); @@ -2043,7 +2043,7 @@ api.ListClustersResponse buildListClustersResponse() { final o = api.ListClustersResponse(); buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - o.clusters = buildUnnamed3325(); + o.clusters = buildUnnamed3222(); o.nextPageToken = 'foo'; } buildCounterListClustersResponse--; @@ -2053,7 +2053,7 @@ api.ListClustersResponse buildListClustersResponse() { void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - checkUnnamed3325(o.clusters!); + checkUnnamed3222(o.clusters!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2062,12 +2062,12 @@ void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse--; } -core.List buildUnnamed3326() => [ +core.List buildUnnamed3223() => [ buildJob(), buildJob(), ]; -void checkUnnamed3326(core.List o) { +void checkUnnamed3223(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -2078,7 +2078,7 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed3326(); + o.jobs = buildUnnamed3223(); o.nextPageToken = 'foo'; } buildCounterListJobsResponse--; @@ -2088,7 +2088,7 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed3326(o.jobs!); + checkUnnamed3223(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2097,12 +2097,12 @@ void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse--; } -core.List buildUnnamed3327() => [ +core.List buildUnnamed3224() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed3327(core.List o) { +void checkUnnamed3224(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2114,7 +2114,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed3327(); + o.operations = buildUnnamed3224(); } buildCounterListOperationsResponse--; return o; @@ -2127,17 +2127,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3327(o.operations!); + checkUnnamed3224(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed3328() => [ +core.List buildUnnamed3225() => [ buildWorkflowTemplate(), buildWorkflowTemplate(), ]; -void checkUnnamed3328(core.List o) { +void checkUnnamed3225(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkflowTemplate(o[0]); checkWorkflowTemplate(o[1]); @@ -2149,7 +2149,7 @@ api.ListWorkflowTemplatesResponse buildListWorkflowTemplatesResponse() { buildCounterListWorkflowTemplatesResponse++; if (buildCounterListWorkflowTemplatesResponse < 3) { o.nextPageToken = 'foo'; - o.templates = buildUnnamed3328(); + o.templates = buildUnnamed3225(); } buildCounterListWorkflowTemplatesResponse--; return o; @@ -2162,17 +2162,17 @@ void checkListWorkflowTemplatesResponse(api.ListWorkflowTemplatesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3328(o.templates!); + checkUnnamed3225(o.templates!); } buildCounterListWorkflowTemplatesResponse--; } -core.Map buildUnnamed3329() => { +core.Map buildUnnamed3226() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3329(core.Map o) { +void checkUnnamed3226(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2189,7 +2189,7 @@ api.LoggingConfig buildLoggingConfig() { final o = api.LoggingConfig(); buildCounterLoggingConfig++; if (buildCounterLoggingConfig < 3) { - o.driverLogLevels = buildUnnamed3329(); + o.driverLogLevels = buildUnnamed3226(); } buildCounterLoggingConfig--; return o; @@ -2198,17 +2198,17 @@ api.LoggingConfig buildLoggingConfig() { void checkLoggingConfig(api.LoggingConfig o) { buildCounterLoggingConfig++; if (buildCounterLoggingConfig < 3) { - checkUnnamed3329(o.driverLogLevels!); + checkUnnamed3226(o.driverLogLevels!); } buildCounterLoggingConfig--; } -core.Map buildUnnamed3330() => { +core.Map buildUnnamed3227() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3330(core.Map o) { +void checkUnnamed3227(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2227,7 +2227,7 @@ api.ManagedCluster buildManagedCluster() { if (buildCounterManagedCluster < 3) { o.clusterName = 'foo'; o.config = buildClusterConfig(); - o.labels = buildUnnamed3330(); + o.labels = buildUnnamed3227(); } buildCounterManagedCluster--; return o; @@ -2241,7 +2241,7 @@ void checkManagedCluster(api.ManagedCluster o) { unittest.equals('foo'), ); checkClusterConfig(o.config!); - checkUnnamed3330(o.labels!); + checkUnnamed3227(o.labels!); } buildCounterManagedCluster--; } @@ -2371,7 +2371,7 @@ void checkNodeInitializationAction(api.NodeInitializationAction o) { buildCounterNodeInitializationAction--; } -core.Map buildUnnamed3331() => { +core.Map buildUnnamed3228() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2384,7 +2384,7 @@ core.Map buildUnnamed3331() => { }, }; -void checkUnnamed3331(core.Map o) { +void checkUnnamed3228(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2416,7 +2416,7 @@ void checkUnnamed3331(core.Map o) { ); } -core.Map buildUnnamed3332() => { +core.Map buildUnnamed3229() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2429,7 +2429,7 @@ core.Map buildUnnamed3332() => { }, }; -void checkUnnamed3332(core.Map o) { +void checkUnnamed3229(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2468,9 +2468,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed3331(); + o.metadata = buildUnnamed3228(); o.name = 'foo'; - o.response = buildUnnamed3332(); + o.response = buildUnnamed3229(); } buildCounterOperation--; return o; @@ -2481,22 +2481,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed3331(o.metadata!); + checkUnnamed3228(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3332(o.response!); + checkUnnamed3229(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed3333() => { +core.Map buildUnnamed3230() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3333(core.Map o) { +void checkUnnamed3230(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2508,12 +2508,12 @@ void checkUnnamed3333(core.Map o) { ); } -core.List buildUnnamed3334() => [ +core.List buildUnnamed3231() => [ 'foo', 'foo', ]; -void checkUnnamed3334(core.List o) { +void checkUnnamed3231(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2532,9 +2532,9 @@ api.OrderedJob buildOrderedJob() { if (buildCounterOrderedJob < 3) { o.hadoopJob = buildHadoopJob(); o.hiveJob = buildHiveJob(); - o.labels = buildUnnamed3333(); + o.labels = buildUnnamed3230(); o.pigJob = buildPigJob(); - o.prerequisiteStepIds = buildUnnamed3334(); + o.prerequisiteStepIds = buildUnnamed3231(); o.prestoJob = buildPrestoJob(); o.pysparkJob = buildPySparkJob(); o.scheduling = buildJobScheduling(); @@ -2552,9 +2552,9 @@ void checkOrderedJob(api.OrderedJob o) { if (buildCounterOrderedJob < 3) { checkHadoopJob(o.hadoopJob!); checkHiveJob(o.hiveJob!); - checkUnnamed3333(o.labels!); + checkUnnamed3230(o.labels!); checkPigJob(o.pigJob!); - checkUnnamed3334(o.prerequisiteStepIds!); + checkUnnamed3231(o.prerequisiteStepIds!); checkPrestoJob(o.prestoJob!); checkPySparkJob(o.pysparkJob!); checkJobScheduling(o.scheduling!); @@ -2590,12 +2590,12 @@ void checkParameterValidation(api.ParameterValidation o) { buildCounterParameterValidation--; } -core.List buildUnnamed3335() => [ +core.List buildUnnamed3232() => [ 'foo', 'foo', ]; -void checkUnnamed3335(core.List o) { +void checkUnnamed3232(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2607,12 +2607,12 @@ void checkUnnamed3335(core.List o) { ); } -core.Map buildUnnamed3336() => { +core.Map buildUnnamed3233() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3336(core.Map o) { +void checkUnnamed3233(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2624,12 +2624,12 @@ void checkUnnamed3336(core.Map o) { ); } -core.Map buildUnnamed3337() => { +core.Map buildUnnamed3234() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3337(core.Map o) { +void checkUnnamed3234(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2647,12 +2647,12 @@ api.PigJob buildPigJob() { buildCounterPigJob++; if (buildCounterPigJob < 3) { o.continueOnFailure = true; - o.jarFileUris = buildUnnamed3335(); + o.jarFileUris = buildUnnamed3232(); o.loggingConfig = buildLoggingConfig(); - o.properties = buildUnnamed3336(); + o.properties = buildUnnamed3233(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); - o.scriptVariables = buildUnnamed3337(); + o.scriptVariables = buildUnnamed3234(); } buildCounterPigJob--; return o; @@ -2662,25 +2662,25 @@ void checkPigJob(api.PigJob o) { buildCounterPigJob++; if (buildCounterPigJob < 3) { unittest.expect(o.continueOnFailure!, unittest.isTrue); - checkUnnamed3335(o.jarFileUris!); + checkUnnamed3232(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); - checkUnnamed3336(o.properties!); + checkUnnamed3233(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); checkQueryList(o.queryList!); - checkUnnamed3337(o.scriptVariables!); + checkUnnamed3234(o.scriptVariables!); } buildCounterPigJob--; } -core.List buildUnnamed3338() => [ +core.List buildUnnamed3235() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3338(core.List o) { +void checkUnnamed3235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2691,7 +2691,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed3338(); + o.bindings = buildUnnamed3235(); o.etag = 'foo'; o.version = 42; } @@ -2702,7 +2702,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3338(o.bindings!); + checkUnnamed3235(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2715,12 +2715,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed3339() => [ +core.List buildUnnamed3236() => [ 'foo', 'foo', ]; -void checkUnnamed3339(core.List o) { +void checkUnnamed3236(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2732,12 +2732,12 @@ void checkUnnamed3339(core.List o) { ); } -core.Map buildUnnamed3340() => { +core.Map buildUnnamed3237() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3340(core.Map o) { +void checkUnnamed3237(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2754,11 +2754,11 @@ api.PrestoJob buildPrestoJob() { final o = api.PrestoJob(); buildCounterPrestoJob++; if (buildCounterPrestoJob < 3) { - o.clientTags = buildUnnamed3339(); + o.clientTags = buildUnnamed3236(); o.continueOnFailure = true; o.loggingConfig = buildLoggingConfig(); o.outputFormat = 'foo'; - o.properties = buildUnnamed3340(); + o.properties = buildUnnamed3237(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); } @@ -2769,14 +2769,14 @@ api.PrestoJob buildPrestoJob() { void checkPrestoJob(api.PrestoJob o) { buildCounterPrestoJob++; if (buildCounterPrestoJob < 3) { - checkUnnamed3339(o.clientTags!); + checkUnnamed3236(o.clientTags!); unittest.expect(o.continueOnFailure!, unittest.isTrue); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.outputFormat!, unittest.equals('foo'), ); - checkUnnamed3340(o.properties!); + checkUnnamed3237(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), @@ -2786,12 +2786,12 @@ void checkPrestoJob(api.PrestoJob o) { buildCounterPrestoJob--; } -core.List buildUnnamed3341() => [ +core.List buildUnnamed3238() => [ 'foo', 'foo', ]; -void checkUnnamed3341(core.List o) { +void checkUnnamed3238(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2803,12 +2803,12 @@ void checkUnnamed3341(core.List o) { ); } -core.List buildUnnamed3342() => [ +core.List buildUnnamed3239() => [ 'foo', 'foo', ]; -void checkUnnamed3342(core.List o) { +void checkUnnamed3239(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2820,12 +2820,12 @@ void checkUnnamed3342(core.List o) { ); } -core.List buildUnnamed3343() => [ +core.List buildUnnamed3240() => [ 'foo', 'foo', ]; -void checkUnnamed3343(core.List o) { +void checkUnnamed3240(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2837,12 +2837,12 @@ void checkUnnamed3343(core.List o) { ); } -core.List buildUnnamed3344() => [ +core.List buildUnnamed3241() => [ 'foo', 'foo', ]; -void checkUnnamed3344(core.List o) { +void checkUnnamed3241(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2854,12 +2854,12 @@ void checkUnnamed3344(core.List o) { ); } -core.Map buildUnnamed3345() => { +core.Map buildUnnamed3242() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3345(core.Map o) { +void checkUnnamed3242(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2871,12 +2871,12 @@ void checkUnnamed3345(core.Map o) { ); } -core.List buildUnnamed3346() => [ +core.List buildUnnamed3243() => [ 'foo', 'foo', ]; -void checkUnnamed3346(core.List o) { +void checkUnnamed3243(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2893,14 +2893,14 @@ api.PySparkJob buildPySparkJob() { final o = api.PySparkJob(); buildCounterPySparkJob++; if (buildCounterPySparkJob < 3) { - o.archiveUris = buildUnnamed3341(); - o.args = buildUnnamed3342(); - o.fileUris = buildUnnamed3343(); - o.jarFileUris = buildUnnamed3344(); + o.archiveUris = buildUnnamed3238(); + o.args = buildUnnamed3239(); + o.fileUris = buildUnnamed3240(); + o.jarFileUris = buildUnnamed3241(); o.loggingConfig = buildLoggingConfig(); o.mainPythonFileUri = 'foo'; - o.properties = buildUnnamed3345(); - o.pythonFileUris = buildUnnamed3346(); + o.properties = buildUnnamed3242(); + o.pythonFileUris = buildUnnamed3243(); } buildCounterPySparkJob--; return o; @@ -2909,27 +2909,27 @@ api.PySparkJob buildPySparkJob() { void checkPySparkJob(api.PySparkJob o) { buildCounterPySparkJob++; if (buildCounterPySparkJob < 3) { - checkUnnamed3341(o.archiveUris!); - checkUnnamed3342(o.args!); - checkUnnamed3343(o.fileUris!); - checkUnnamed3344(o.jarFileUris!); + checkUnnamed3238(o.archiveUris!); + checkUnnamed3239(o.args!); + checkUnnamed3240(o.fileUris!); + checkUnnamed3241(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainPythonFileUri!, unittest.equals('foo'), ); - checkUnnamed3345(o.properties!); - checkUnnamed3346(o.pythonFileUris!); + checkUnnamed3242(o.properties!); + checkUnnamed3243(o.pythonFileUris!); } buildCounterPySparkJob--; } -core.List buildUnnamed3347() => [ +core.List buildUnnamed3244() => [ 'foo', 'foo', ]; -void checkUnnamed3347(core.List o) { +void checkUnnamed3244(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2946,7 +2946,7 @@ api.QueryList buildQueryList() { final o = api.QueryList(); buildCounterQueryList++; if (buildCounterQueryList < 3) { - o.queries = buildUnnamed3347(); + o.queries = buildUnnamed3244(); } buildCounterQueryList--; return o; @@ -2955,17 +2955,17 @@ api.QueryList buildQueryList() { void checkQueryList(api.QueryList o) { buildCounterQueryList++; if (buildCounterQueryList < 3) { - checkUnnamed3347(o.queries!); + checkUnnamed3244(o.queries!); } buildCounterQueryList--; } -core.List buildUnnamed3348() => [ +core.List buildUnnamed3245() => [ 'foo', 'foo', ]; -void checkUnnamed3348(core.List o) { +void checkUnnamed3245(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2982,7 +2982,7 @@ api.RegexValidation buildRegexValidation() { final o = api.RegexValidation(); buildCounterRegexValidation++; if (buildCounterRegexValidation < 3) { - o.regexes = buildUnnamed3348(); + o.regexes = buildUnnamed3245(); } buildCounterRegexValidation--; return o; @@ -2991,7 +2991,7 @@ api.RegexValidation buildRegexValidation() { void checkRegexValidation(api.RegexValidation o) { buildCounterRegexValidation++; if (buildCounterRegexValidation < 3) { - checkUnnamed3348(o.regexes!); + checkUnnamed3245(o.regexes!); } buildCounterRegexValidation--; } @@ -3023,12 +3023,12 @@ void checkRepairClusterRequest(api.RepairClusterRequest o) { buildCounterRepairClusterRequest--; } -core.List buildUnnamed3349() => [ +core.List buildUnnamed3246() => [ 'foo', 'foo', ]; -void checkUnnamed3349(core.List o) { +void checkUnnamed3246(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3047,7 +3047,7 @@ api.ReservationAffinity buildReservationAffinity() { if (buildCounterReservationAffinity < 3) { o.consumeReservationType = 'foo'; o.key = 'foo'; - o.values = buildUnnamed3349(); + o.values = buildUnnamed3246(); } buildCounterReservationAffinity--; return o; @@ -3064,7 +3064,7 @@ void checkReservationAffinity(api.ReservationAffinity o) { o.key!, unittest.equals('foo'), ); - checkUnnamed3349(o.values!); + checkUnnamed3246(o.values!); } buildCounterReservationAffinity--; } @@ -3132,12 +3132,12 @@ void checkShieldedInstanceConfig(api.ShieldedInstanceConfig o) { buildCounterShieldedInstanceConfig--; } -core.List buildUnnamed3350() => [ +core.List buildUnnamed3247() => [ 'foo', 'foo', ]; -void checkUnnamed3350(core.List o) { +void checkUnnamed3247(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3149,12 +3149,12 @@ void checkUnnamed3350(core.List o) { ); } -core.Map buildUnnamed3351() => { +core.Map buildUnnamed3248() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3351(core.Map o) { +void checkUnnamed3248(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3172,8 +3172,8 @@ api.SoftwareConfig buildSoftwareConfig() { buildCounterSoftwareConfig++; if (buildCounterSoftwareConfig < 3) { o.imageVersion = 'foo'; - o.optionalComponents = buildUnnamed3350(); - o.properties = buildUnnamed3351(); + o.optionalComponents = buildUnnamed3247(); + o.properties = buildUnnamed3248(); } buildCounterSoftwareConfig--; return o; @@ -3186,18 +3186,18 @@ void checkSoftwareConfig(api.SoftwareConfig o) { o.imageVersion!, unittest.equals('foo'), ); - checkUnnamed3350(o.optionalComponents!); - checkUnnamed3351(o.properties!); + checkUnnamed3247(o.optionalComponents!); + checkUnnamed3248(o.properties!); } buildCounterSoftwareConfig--; } -core.List buildUnnamed3352() => [ +core.List buildUnnamed3249() => [ 'foo', 'foo', ]; -void checkUnnamed3352(core.List o) { +void checkUnnamed3249(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3209,12 +3209,12 @@ void checkUnnamed3352(core.List o) { ); } -core.List buildUnnamed3353() => [ +core.List buildUnnamed3250() => [ 'foo', 'foo', ]; -void checkUnnamed3353(core.List o) { +void checkUnnamed3250(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3226,12 +3226,12 @@ void checkUnnamed3353(core.List o) { ); } -core.List buildUnnamed3354() => [ +core.List buildUnnamed3251() => [ 'foo', 'foo', ]; -void checkUnnamed3354(core.List o) { +void checkUnnamed3251(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3243,12 +3243,12 @@ void checkUnnamed3354(core.List o) { ); } -core.List buildUnnamed3355() => [ +core.List buildUnnamed3252() => [ 'foo', 'foo', ]; -void checkUnnamed3355(core.List o) { +void checkUnnamed3252(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3260,12 +3260,12 @@ void checkUnnamed3355(core.List o) { ); } -core.Map buildUnnamed3356() => { +core.Map buildUnnamed3253() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3356(core.Map o) { +void checkUnnamed3253(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3282,14 +3282,14 @@ api.SparkJob buildSparkJob() { final o = api.SparkJob(); buildCounterSparkJob++; if (buildCounterSparkJob < 3) { - o.archiveUris = buildUnnamed3352(); - o.args = buildUnnamed3353(); - o.fileUris = buildUnnamed3354(); - o.jarFileUris = buildUnnamed3355(); + o.archiveUris = buildUnnamed3249(); + o.args = buildUnnamed3250(); + o.fileUris = buildUnnamed3251(); + o.jarFileUris = buildUnnamed3252(); o.loggingConfig = buildLoggingConfig(); o.mainClass = 'foo'; o.mainJarFileUri = 'foo'; - o.properties = buildUnnamed3356(); + o.properties = buildUnnamed3253(); } buildCounterSparkJob--; return o; @@ -3298,10 +3298,10 @@ api.SparkJob buildSparkJob() { void checkSparkJob(api.SparkJob o) { buildCounterSparkJob++; if (buildCounterSparkJob < 3) { - checkUnnamed3352(o.archiveUris!); - checkUnnamed3353(o.args!); - checkUnnamed3354(o.fileUris!); - checkUnnamed3355(o.jarFileUris!); + checkUnnamed3249(o.archiveUris!); + checkUnnamed3250(o.args!); + checkUnnamed3251(o.fileUris!); + checkUnnamed3252(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainClass!, @@ -3311,17 +3311,17 @@ void checkSparkJob(api.SparkJob o) { o.mainJarFileUri!, unittest.equals('foo'), ); - checkUnnamed3356(o.properties!); + checkUnnamed3253(o.properties!); } buildCounterSparkJob--; } -core.List buildUnnamed3357() => [ +core.List buildUnnamed3254() => [ 'foo', 'foo', ]; -void checkUnnamed3357(core.List o) { +void checkUnnamed3254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3333,12 +3333,12 @@ void checkUnnamed3357(core.List o) { ); } -core.List buildUnnamed3358() => [ +core.List buildUnnamed3255() => [ 'foo', 'foo', ]; -void checkUnnamed3358(core.List o) { +void checkUnnamed3255(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3350,12 +3350,12 @@ void checkUnnamed3358(core.List o) { ); } -core.List buildUnnamed3359() => [ +core.List buildUnnamed3256() => [ 'foo', 'foo', ]; -void checkUnnamed3359(core.List o) { +void checkUnnamed3256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3367,12 +3367,12 @@ void checkUnnamed3359(core.List o) { ); } -core.Map buildUnnamed3360() => { +core.Map buildUnnamed3257() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3360(core.Map o) { +void checkUnnamed3257(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3389,12 +3389,12 @@ api.SparkRJob buildSparkRJob() { final o = api.SparkRJob(); buildCounterSparkRJob++; if (buildCounterSparkRJob < 3) { - o.archiveUris = buildUnnamed3357(); - o.args = buildUnnamed3358(); - o.fileUris = buildUnnamed3359(); + o.archiveUris = buildUnnamed3254(); + o.args = buildUnnamed3255(); + o.fileUris = buildUnnamed3256(); o.loggingConfig = buildLoggingConfig(); o.mainRFileUri = 'foo'; - o.properties = buildUnnamed3360(); + o.properties = buildUnnamed3257(); } buildCounterSparkRJob--; return o; @@ -3403,25 +3403,25 @@ api.SparkRJob buildSparkRJob() { void checkSparkRJob(api.SparkRJob o) { buildCounterSparkRJob++; if (buildCounterSparkRJob < 3) { - checkUnnamed3357(o.archiveUris!); - checkUnnamed3358(o.args!); - checkUnnamed3359(o.fileUris!); + checkUnnamed3254(o.archiveUris!); + checkUnnamed3255(o.args!); + checkUnnamed3256(o.fileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainRFileUri!, unittest.equals('foo'), ); - checkUnnamed3360(o.properties!); + checkUnnamed3257(o.properties!); } buildCounterSparkRJob--; } -core.List buildUnnamed3361() => [ +core.List buildUnnamed3258() => [ 'foo', 'foo', ]; -void checkUnnamed3361(core.List o) { +void checkUnnamed3258(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3433,12 +3433,12 @@ void checkUnnamed3361(core.List o) { ); } -core.Map buildUnnamed3362() => { +core.Map buildUnnamed3259() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3362(core.Map o) { +void checkUnnamed3259(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3450,12 +3450,12 @@ void checkUnnamed3362(core.Map o) { ); } -core.Map buildUnnamed3363() => { +core.Map buildUnnamed3260() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3363(core.Map o) { +void checkUnnamed3260(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3472,12 +3472,12 @@ api.SparkSqlJob buildSparkSqlJob() { final o = api.SparkSqlJob(); buildCounterSparkSqlJob++; if (buildCounterSparkSqlJob < 3) { - o.jarFileUris = buildUnnamed3361(); + o.jarFileUris = buildUnnamed3258(); o.loggingConfig = buildLoggingConfig(); - o.properties = buildUnnamed3362(); + o.properties = buildUnnamed3259(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); - o.scriptVariables = buildUnnamed3363(); + o.scriptVariables = buildUnnamed3260(); } buildCounterSparkSqlJob--; return o; @@ -3486,15 +3486,15 @@ api.SparkSqlJob buildSparkSqlJob() { void checkSparkSqlJob(api.SparkSqlJob o) { buildCounterSparkSqlJob++; if (buildCounterSparkSqlJob < 3) { - checkUnnamed3361(o.jarFileUris!); + checkUnnamed3258(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); - checkUnnamed3362(o.properties!); + checkUnnamed3259(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); checkQueryList(o.queryList!); - checkUnnamed3363(o.scriptVariables!); + checkUnnamed3260(o.scriptVariables!); } buildCounterSparkSqlJob--; } @@ -3526,7 +3526,7 @@ void checkStartClusterRequest(api.StartClusterRequest o) { buildCounterStartClusterRequest--; } -core.Map buildUnnamed3364() => { +core.Map buildUnnamed3261() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3539,7 +3539,7 @@ core.Map buildUnnamed3364() => { }, }; -void checkUnnamed3364(core.Map o) { +void checkUnnamed3261(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -3571,15 +3571,15 @@ void checkUnnamed3364(core.Map o) { ); } -core.List> buildUnnamed3365() => [ - buildUnnamed3364(), - buildUnnamed3364(), +core.List> buildUnnamed3262() => [ + buildUnnamed3261(), + buildUnnamed3261(), ]; -void checkUnnamed3365(core.List> o) { +void checkUnnamed3262(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3364(o[0]); - checkUnnamed3364(o[1]); + checkUnnamed3261(o[0]); + checkUnnamed3261(o[1]); } core.int buildCounterStatus = 0; @@ -3588,7 +3588,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3365(); + o.details = buildUnnamed3262(); o.message = 'foo'; } buildCounterStatus--; @@ -3602,7 +3602,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3365(o.details!); + checkUnnamed3262(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3662,12 +3662,12 @@ void checkSubmitJobRequest(api.SubmitJobRequest o) { buildCounterSubmitJobRequest--; } -core.List buildUnnamed3366() => [ +core.List buildUnnamed3263() => [ 'foo', 'foo', ]; -void checkUnnamed3366(core.List o) { +void checkUnnamed3263(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3685,7 +3685,7 @@ api.TemplateParameter buildTemplateParameter() { buildCounterTemplateParameter++; if (buildCounterTemplateParameter < 3) { o.description = 'foo'; - o.fields = buildUnnamed3366(); + o.fields = buildUnnamed3263(); o.name = 'foo'; o.validation = buildParameterValidation(); } @@ -3700,7 +3700,7 @@ void checkTemplateParameter(api.TemplateParameter o) { o.description!, unittest.equals('foo'), ); - checkUnnamed3366(o.fields!); + checkUnnamed3263(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3710,12 +3710,12 @@ void checkTemplateParameter(api.TemplateParameter o) { buildCounterTemplateParameter--; } -core.List buildUnnamed3367() => [ +core.List buildUnnamed3264() => [ 'foo', 'foo', ]; -void checkUnnamed3367(core.List o) { +void checkUnnamed3264(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3732,7 +3732,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3367(); + o.permissions = buildUnnamed3264(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3741,17 +3741,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3367(o.permissions!); + checkUnnamed3264(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3368() => [ +core.List buildUnnamed3265() => [ 'foo', 'foo', ]; -void checkUnnamed3368(core.List o) { +void checkUnnamed3265(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3768,7 +3768,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3368(); + o.permissions = buildUnnamed3265(); } buildCounterTestIamPermissionsResponse--; return o; @@ -3777,17 +3777,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3368(o.permissions!); + checkUnnamed3265(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed3369() => [ +core.List buildUnnamed3266() => [ 'foo', 'foo', ]; -void checkUnnamed3369(core.List o) { +void checkUnnamed3266(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3804,7 +3804,7 @@ api.ValueValidation buildValueValidation() { final o = api.ValueValidation(); buildCounterValueValidation++; if (buildCounterValueValidation < 3) { - o.values = buildUnnamed3369(); + o.values = buildUnnamed3266(); } buildCounterValueValidation--; return o; @@ -3813,17 +3813,17 @@ api.ValueValidation buildValueValidation() { void checkValueValidation(api.ValueValidation o) { buildCounterValueValidation++; if (buildCounterValueValidation < 3) { - checkUnnamed3369(o.values!); + checkUnnamed3266(o.values!); } buildCounterValueValidation--; } -core.List buildUnnamed3370() => [ +core.List buildUnnamed3267() => [ buildWorkflowNode(), buildWorkflowNode(), ]; -void checkUnnamed3370(core.List o) { +void checkUnnamed3267(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkflowNode(o[0]); checkWorkflowNode(o[1]); @@ -3834,7 +3834,7 @@ api.WorkflowGraph buildWorkflowGraph() { final o = api.WorkflowGraph(); buildCounterWorkflowGraph++; if (buildCounterWorkflowGraph < 3) { - o.nodes = buildUnnamed3370(); + o.nodes = buildUnnamed3267(); } buildCounterWorkflowGraph--; return o; @@ -3843,17 +3843,17 @@ api.WorkflowGraph buildWorkflowGraph() { void checkWorkflowGraph(api.WorkflowGraph o) { buildCounterWorkflowGraph++; if (buildCounterWorkflowGraph < 3) { - checkUnnamed3370(o.nodes!); + checkUnnamed3267(o.nodes!); } buildCounterWorkflowGraph--; } -core.Map buildUnnamed3371() => { +core.Map buildUnnamed3268() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3371(core.Map o) { +void checkUnnamed3268(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3879,7 +3879,7 @@ api.WorkflowMetadata buildWorkflowMetadata() { o.deleteCluster = buildClusterOperation(); o.endTime = 'foo'; o.graph = buildWorkflowGraph(); - o.parameters = buildUnnamed3371(); + o.parameters = buildUnnamed3268(); o.startTime = 'foo'; o.state = 'foo'; o.template = 'foo'; @@ -3919,7 +3919,7 @@ void checkWorkflowMetadata(api.WorkflowMetadata o) { unittest.equals('foo'), ); checkWorkflowGraph(o.graph!); - checkUnnamed3371(o.parameters!); + checkUnnamed3268(o.parameters!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -3940,12 +3940,12 @@ void checkWorkflowMetadata(api.WorkflowMetadata o) { buildCounterWorkflowMetadata--; } -core.List buildUnnamed3372() => [ +core.List buildUnnamed3269() => [ 'foo', 'foo', ]; -void checkUnnamed3372(core.List o) { +void checkUnnamed3269(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3964,7 +3964,7 @@ api.WorkflowNode buildWorkflowNode() { if (buildCounterWorkflowNode < 3) { o.error = 'foo'; o.jobId = 'foo'; - o.prerequisiteStepIds = buildUnnamed3372(); + o.prerequisiteStepIds = buildUnnamed3269(); o.state = 'foo'; o.stepId = 'foo'; } @@ -3983,7 +3983,7 @@ void checkWorkflowNode(api.WorkflowNode o) { o.jobId!, unittest.equals('foo'), ); - checkUnnamed3372(o.prerequisiteStepIds!); + checkUnnamed3269(o.prerequisiteStepIds!); unittest.expect( o.state!, unittest.equals('foo'), @@ -3996,23 +3996,23 @@ void checkWorkflowNode(api.WorkflowNode o) { buildCounterWorkflowNode--; } -core.List buildUnnamed3373() => [ +core.List buildUnnamed3270() => [ buildOrderedJob(), buildOrderedJob(), ]; -void checkUnnamed3373(core.List o) { +void checkUnnamed3270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderedJob(o[0]); checkOrderedJob(o[1]); } -core.Map buildUnnamed3374() => { +core.Map buildUnnamed3271() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3374(core.Map o) { +void checkUnnamed3271(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4024,12 +4024,12 @@ void checkUnnamed3374(core.Map o) { ); } -core.List buildUnnamed3375() => [ +core.List buildUnnamed3272() => [ buildTemplateParameter(), buildTemplateParameter(), ]; -void checkUnnamed3375(core.List o) { +void checkUnnamed3272(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTemplateParameter(o[0]); checkTemplateParameter(o[1]); @@ -4043,10 +4043,10 @@ api.WorkflowTemplate buildWorkflowTemplate() { o.createTime = 'foo'; o.dagTimeout = 'foo'; o.id = 'foo'; - o.jobs = buildUnnamed3373(); - o.labels = buildUnnamed3374(); + o.jobs = buildUnnamed3270(); + o.labels = buildUnnamed3271(); o.name = 'foo'; - o.parameters = buildUnnamed3375(); + o.parameters = buildUnnamed3272(); o.placement = buildWorkflowTemplatePlacement(); o.updateTime = 'foo'; o.version = 42; @@ -4070,13 +4070,13 @@ void checkWorkflowTemplate(api.WorkflowTemplate o) { o.id!, unittest.equals('foo'), ); - checkUnnamed3373(o.jobs!); - checkUnnamed3374(o.labels!); + checkUnnamed3270(o.jobs!); + checkUnnamed3271(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3375(o.parameters!); + checkUnnamed3272(o.parameters!); checkWorkflowTemplatePlacement(o.placement!); unittest.expect( o.updateTime!, @@ -6559,6 +6559,7 @@ void main() { final arg_request = buildCluster(); final arg_projectId = 'foo'; final arg_region = 'foo'; + final arg_actionOnFailedPrimaryWorkers = 'foo'; final arg_requestId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -6624,6 +6625,10 @@ void main() { ); } } + unittest.expect( + queryMap['actionOnFailedPrimaryWorkers']!.first, + unittest.equals(arg_actionOnFailedPrimaryWorkers), + ); unittest.expect( queryMap['requestId']!.first, unittest.equals(arg_requestId), @@ -6640,7 +6645,9 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.create(arg_request, arg_projectId, arg_region, - requestId: arg_requestId, $fields: arg_$fields); + actionOnFailedPrimaryWorkers: arg_actionOnFailedPrimaryWorkers, + requestId: arg_requestId, + $fields: arg_$fields); checkOperation(response as api.Operation); }); diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart index c1f9487ca..79ce496bf 100644 --- a/generated/googleapis/test/deploymentmanager/v2_test.dart +++ b/generated/googleapis/test/deploymentmanager/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5324() => [ +core.List buildUnnamed5385() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed5324(core.List o) { +void checkUnnamed5385(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed5324(); + o.auditLogConfigs = buildUnnamed5385(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed5324(o.auditLogConfigs!); + checkUnnamed5385(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed5325() => [ +core.List buildUnnamed5386() => [ 'foo', 'foo', ]; -void checkUnnamed5325(core.List o) { +void checkUnnamed5386(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed5325(); + o.exemptedMembers = buildUnnamed5386(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed5325(o.exemptedMembers!); + checkUnnamed5386(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed5326() => [ +core.List buildUnnamed5387() => [ 'foo', 'foo', ]; -void checkUnnamed5326(core.List o) { +void checkUnnamed5387(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed5326(); + o.members = buildUnnamed5387(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed5326(o.members!); + checkUnnamed5387(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -167,12 +167,12 @@ void checkConfigFile(api.ConfigFile o) { buildCounterConfigFile--; } -core.List buildUnnamed5327() => [ +core.List buildUnnamed5388() => [ buildDeploymentLabelEntry(), buildDeploymentLabelEntry(), ]; -void checkUnnamed5327(core.List o) { +void checkUnnamed5388(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeploymentLabelEntry(o[0]); checkDeploymentLabelEntry(o[1]); @@ -187,7 +187,7 @@ api.Deployment buildDeployment() { o.fingerprint = 'foo'; o.id = 'foo'; o.insertTime = 'foo'; - o.labels = buildUnnamed5327(); + o.labels = buildUnnamed5388(); o.manifest = 'foo'; o.name = 'foo'; o.operation = buildOperation(); @@ -219,7 +219,7 @@ void checkDeployment(api.Deployment o) { o.insertTime!, unittest.equals('foo'), ); - checkUnnamed5327(o.labels!); + checkUnnamed5388(o.labels!); unittest.expect( o.manifest!, unittest.equals('foo'), @@ -270,12 +270,12 @@ void checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { buildCounterDeploymentLabelEntry--; } -core.List buildUnnamed5328() => [ +core.List buildUnnamed5389() => [ buildDeploymentUpdateLabelEntry(), buildDeploymentUpdateLabelEntry(), ]; -void checkUnnamed5328(core.List o) { +void checkUnnamed5389(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeploymentUpdateLabelEntry(o[0]); checkDeploymentUpdateLabelEntry(o[1]); @@ -287,7 +287,7 @@ api.DeploymentUpdate buildDeploymentUpdate() { buildCounterDeploymentUpdate++; if (buildCounterDeploymentUpdate < 3) { o.description = 'foo'; - o.labels = buildUnnamed5328(); + o.labels = buildUnnamed5389(); o.manifest = 'foo'; } buildCounterDeploymentUpdate--; @@ -301,7 +301,7 @@ void checkDeploymentUpdate(api.DeploymentUpdate o) { o.description!, unittest.equals('foo'), ); - checkUnnamed5328(o.labels!); + checkUnnamed5389(o.labels!); unittest.expect( o.manifest!, unittest.equals('foo'), @@ -360,12 +360,12 @@ void checkDeploymentsCancelPreviewRequest( buildCounterDeploymentsCancelPreviewRequest--; } -core.List buildUnnamed5329() => [ +core.List buildUnnamed5390() => [ buildDeployment(), buildDeployment(), ]; -void checkUnnamed5329(core.List o) { +void checkUnnamed5390(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeployment(o[0]); checkDeployment(o[1]); @@ -376,7 +376,7 @@ api.DeploymentsListResponse buildDeploymentsListResponse() { final o = api.DeploymentsListResponse(); buildCounterDeploymentsListResponse++; if (buildCounterDeploymentsListResponse < 3) { - o.deployments = buildUnnamed5329(); + o.deployments = buildUnnamed5390(); o.nextPageToken = 'foo'; } buildCounterDeploymentsListResponse--; @@ -386,7 +386,7 @@ api.DeploymentsListResponse buildDeploymentsListResponse() { void checkDeploymentsListResponse(api.DeploymentsListResponse o) { buildCounterDeploymentsListResponse++; if (buildCounterDeploymentsListResponse < 3) { - checkUnnamed5329(o.deployments!); + checkUnnamed5390(o.deployments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -454,12 +454,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed5330() => [ +core.List buildUnnamed5391() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed5330(core.List o) { +void checkUnnamed5391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -470,7 +470,7 @@ api.GlobalSetPolicyRequest buildGlobalSetPolicyRequest() { final o = api.GlobalSetPolicyRequest(); buildCounterGlobalSetPolicyRequest++; if (buildCounterGlobalSetPolicyRequest < 3) { - o.bindings = buildUnnamed5330(); + o.bindings = buildUnnamed5391(); o.etag = 'foo'; o.policy = buildPolicy(); } @@ -481,7 +481,7 @@ api.GlobalSetPolicyRequest buildGlobalSetPolicyRequest() { void checkGlobalSetPolicyRequest(api.GlobalSetPolicyRequest o) { buildCounterGlobalSetPolicyRequest++; if (buildCounterGlobalSetPolicyRequest < 3) { - checkUnnamed5330(o.bindings!); + checkUnnamed5391(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -518,12 +518,12 @@ void checkImportFile(api.ImportFile o) { buildCounterImportFile--; } -core.List buildUnnamed5331() => [ +core.List buildUnnamed5392() => [ buildImportFile(), buildImportFile(), ]; -void checkUnnamed5331(core.List o) { +void checkUnnamed5392(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImportFile(o[0]); checkImportFile(o[1]); @@ -537,7 +537,7 @@ api.Manifest buildManifest() { o.config = buildConfigFile(); o.expandedConfig = 'foo'; o.id = 'foo'; - o.imports = buildUnnamed5331(); + o.imports = buildUnnamed5392(); o.insertTime = 'foo'; o.layout = 'foo'; o.manifestSizeBytes = 'foo'; @@ -561,7 +561,7 @@ void checkManifest(api.Manifest o) { o.id!, unittest.equals('foo'), ); - checkUnnamed5331(o.imports!); + checkUnnamed5392(o.imports!); unittest.expect( o.insertTime!, unittest.equals('foo'), @@ -590,12 +590,12 @@ void checkManifest(api.Manifest o) { buildCounterManifest--; } -core.List buildUnnamed5332() => [ +core.List buildUnnamed5393() => [ buildManifest(), buildManifest(), ]; -void checkUnnamed5332(core.List o) { +void checkUnnamed5393(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManifest(o[0]); checkManifest(o[1]); @@ -606,7 +606,7 @@ api.ManifestsListResponse buildManifestsListResponse() { final o = api.ManifestsListResponse(); buildCounterManifestsListResponse++; if (buildCounterManifestsListResponse < 3) { - o.manifests = buildUnnamed5332(); + o.manifests = buildUnnamed5393(); o.nextPageToken = 'foo'; } buildCounterManifestsListResponse--; @@ -616,7 +616,7 @@ api.ManifestsListResponse buildManifestsListResponse() { void checkManifestsListResponse(api.ManifestsListResponse o) { buildCounterManifestsListResponse++; if (buildCounterManifestsListResponse < 3) { - checkUnnamed5332(o.manifests!); + checkUnnamed5393(o.manifests!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -657,12 +657,12 @@ void checkOperationErrorErrors(api.OperationErrorErrors o) { buildCounterOperationErrorErrors--; } -core.List buildUnnamed5333() => [ +core.List buildUnnamed5394() => [ buildOperationErrorErrors(), buildOperationErrorErrors(), ]; -void checkUnnamed5333(core.List o) { +void checkUnnamed5394(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationErrorErrors(o[0]); checkOperationErrorErrors(o[1]); @@ -673,7 +673,7 @@ api.OperationError buildOperationError() { final o = api.OperationError(); buildCounterOperationError++; if (buildCounterOperationError < 3) { - o.errors = buildUnnamed5333(); + o.errors = buildUnnamed5394(); } buildCounterOperationError--; return o; @@ -682,7 +682,7 @@ api.OperationError buildOperationError() { void checkOperationError(api.OperationError o) { buildCounterOperationError++; if (buildCounterOperationError < 3) { - checkUnnamed5333(o.errors!); + checkUnnamed5394(o.errors!); } buildCounterOperationError--; } @@ -714,12 +714,12 @@ void checkOperationWarningsData(api.OperationWarningsData o) { buildCounterOperationWarningsData--; } -core.List buildUnnamed5334() => [ +core.List buildUnnamed5395() => [ buildOperationWarningsData(), buildOperationWarningsData(), ]; -void checkUnnamed5334(core.List o) { +void checkUnnamed5395(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarningsData(o[0]); checkOperationWarningsData(o[1]); @@ -731,7 +731,7 @@ api.OperationWarnings buildOperationWarnings() { buildCounterOperationWarnings++; if (buildCounterOperationWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed5334(); + o.data = buildUnnamed5395(); o.message = 'foo'; } buildCounterOperationWarnings--; @@ -745,7 +745,7 @@ void checkOperationWarnings(api.OperationWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed5334(o.data!); + checkUnnamed5395(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -754,12 +754,12 @@ void checkOperationWarnings(api.OperationWarnings o) { buildCounterOperationWarnings--; } -core.List buildUnnamed5335() => [ +core.List buildUnnamed5396() => [ buildOperationWarnings(), buildOperationWarnings(), ]; -void checkUnnamed5335(core.List o) { +void checkUnnamed5396(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationWarnings(o[0]); checkOperationWarnings(o[1]); @@ -792,7 +792,7 @@ api.Operation buildOperation() { o.targetId = 'foo'; o.targetLink = 'foo'; o.user = 'foo'; - o.warnings = buildUnnamed5335(); + o.warnings = buildUnnamed5396(); o.zone = 'foo'; } buildCounterOperation--; @@ -887,7 +887,7 @@ void checkOperation(api.Operation o) { o.user!, unittest.equals('foo'), ); - checkUnnamed5335(o.warnings!); + checkUnnamed5396(o.warnings!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -896,12 +896,12 @@ void checkOperation(api.Operation o) { buildCounterOperation--; } -core.List buildUnnamed5336() => [ +core.List buildUnnamed5397() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed5336(core.List o) { +void checkUnnamed5397(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -913,7 +913,7 @@ api.OperationsListResponse buildOperationsListResponse() { buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed5336(); + o.operations = buildUnnamed5397(); } buildCounterOperationsListResponse--; return o; @@ -926,28 +926,28 @@ void checkOperationsListResponse(api.OperationsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5336(o.operations!); + checkUnnamed5397(o.operations!); } buildCounterOperationsListResponse--; } -core.List buildUnnamed5337() => [ +core.List buildUnnamed5398() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed5337(core.List o) { +void checkUnnamed5398(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed5338() => [ +core.List buildUnnamed5399() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed5338(core.List o) { +void checkUnnamed5399(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -958,8 +958,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed5337(); - o.bindings = buildUnnamed5338(); + o.auditConfigs = buildUnnamed5398(); + o.bindings = buildUnnamed5399(); o.etag = 'foo'; o.version = 42; } @@ -970,8 +970,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed5337(o.auditConfigs!); - checkUnnamed5338(o.bindings!); + checkUnnamed5398(o.auditConfigs!); + checkUnnamed5399(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1011,12 +1011,12 @@ void checkResourceWarningsData(api.ResourceWarningsData o) { buildCounterResourceWarningsData--; } -core.List buildUnnamed5339() => [ +core.List buildUnnamed5400() => [ buildResourceWarningsData(), buildResourceWarningsData(), ]; -void checkUnnamed5339(core.List o) { +void checkUnnamed5400(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceWarningsData(o[0]); checkResourceWarningsData(o[1]); @@ -1028,7 +1028,7 @@ api.ResourceWarnings buildResourceWarnings() { buildCounterResourceWarnings++; if (buildCounterResourceWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed5339(); + o.data = buildUnnamed5400(); o.message = 'foo'; } buildCounterResourceWarnings--; @@ -1042,7 +1042,7 @@ void checkResourceWarnings(api.ResourceWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed5339(o.data!); + checkUnnamed5400(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1051,12 +1051,12 @@ void checkResourceWarnings(api.ResourceWarnings o) { buildCounterResourceWarnings--; } -core.List buildUnnamed5340() => [ +core.List buildUnnamed5401() => [ buildResourceWarnings(), buildResourceWarnings(), ]; -void checkUnnamed5340(core.List o) { +void checkUnnamed5401(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceWarnings(o[0]); checkResourceWarnings(o[1]); @@ -1078,7 +1078,7 @@ api.Resource buildResource() { o.update = buildResourceUpdate(); o.updateTime = 'foo'; o.url = 'foo'; - o.warnings = buildUnnamed5340(); + o.warnings = buildUnnamed5401(); } buildCounterResource--; return o; @@ -1125,7 +1125,7 @@ void checkResource(api.Resource o) { o.url!, unittest.equals('foo'), ); - checkUnnamed5340(o.warnings!); + checkUnnamed5401(o.warnings!); } buildCounterResource--; } @@ -1184,12 +1184,12 @@ void checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { buildCounterResourceUpdateErrorErrors--; } -core.List buildUnnamed5341() => [ +core.List buildUnnamed5402() => [ buildResourceUpdateErrorErrors(), buildResourceUpdateErrorErrors(), ]; -void checkUnnamed5341(core.List o) { +void checkUnnamed5402(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceUpdateErrorErrors(o[0]); checkResourceUpdateErrorErrors(o[1]); @@ -1200,7 +1200,7 @@ api.ResourceUpdateError buildResourceUpdateError() { final o = api.ResourceUpdateError(); buildCounterResourceUpdateError++; if (buildCounterResourceUpdateError < 3) { - o.errors = buildUnnamed5341(); + o.errors = buildUnnamed5402(); } buildCounterResourceUpdateError--; return o; @@ -1209,7 +1209,7 @@ api.ResourceUpdateError buildResourceUpdateError() { void checkResourceUpdateError(api.ResourceUpdateError o) { buildCounterResourceUpdateError++; if (buildCounterResourceUpdateError < 3) { - checkUnnamed5341(o.errors!); + checkUnnamed5402(o.errors!); } buildCounterResourceUpdateError--; } @@ -1241,12 +1241,12 @@ void checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { buildCounterResourceUpdateWarningsData--; } -core.List buildUnnamed5342() => [ +core.List buildUnnamed5403() => [ buildResourceUpdateWarningsData(), buildResourceUpdateWarningsData(), ]; -void checkUnnamed5342(core.List o) { +void checkUnnamed5403(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceUpdateWarningsData(o[0]); checkResourceUpdateWarningsData(o[1]); @@ -1258,7 +1258,7 @@ api.ResourceUpdateWarnings buildResourceUpdateWarnings() { buildCounterResourceUpdateWarnings++; if (buildCounterResourceUpdateWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed5342(); + o.data = buildUnnamed5403(); o.message = 'foo'; } buildCounterResourceUpdateWarnings--; @@ -1272,7 +1272,7 @@ void checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed5342(o.data!); + checkUnnamed5403(o.data!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1281,12 +1281,12 @@ void checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { buildCounterResourceUpdateWarnings--; } -core.List buildUnnamed5343() => [ +core.List buildUnnamed5404() => [ buildResourceUpdateWarnings(), buildResourceUpdateWarnings(), ]; -void checkUnnamed5343(core.List o) { +void checkUnnamed5404(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceUpdateWarnings(o[0]); checkResourceUpdateWarnings(o[1]); @@ -1304,7 +1304,7 @@ api.ResourceUpdate buildResourceUpdate() { o.manifest = 'foo'; o.properties = 'foo'; o.state = 'foo'; - o.warnings = buildUnnamed5343(); + o.warnings = buildUnnamed5404(); } buildCounterResourceUpdate--; return o; @@ -1335,17 +1335,17 @@ void checkResourceUpdate(api.ResourceUpdate o) { o.state!, unittest.equals('foo'), ); - checkUnnamed5343(o.warnings!); + checkUnnamed5404(o.warnings!); } buildCounterResourceUpdate--; } -core.List buildUnnamed5344() => [ +core.List buildUnnamed5405() => [ buildResource(), buildResource(), ]; -void checkUnnamed5344(core.List o) { +void checkUnnamed5405(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResource(o[0]); checkResource(o[1]); @@ -1357,7 +1357,7 @@ api.ResourcesListResponse buildResourcesListResponse() { buildCounterResourcesListResponse++; if (buildCounterResourcesListResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed5344(); + o.resources = buildUnnamed5405(); } buildCounterResourcesListResponse--; return o; @@ -1370,17 +1370,17 @@ void checkResourcesListResponse(api.ResourcesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5344(o.resources!); + checkUnnamed5405(o.resources!); } buildCounterResourcesListResponse--; } -core.List buildUnnamed5345() => [ +core.List buildUnnamed5406() => [ buildImportFile(), buildImportFile(), ]; -void checkUnnamed5345(core.List o) { +void checkUnnamed5406(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImportFile(o[0]); checkImportFile(o[1]); @@ -1392,7 +1392,7 @@ api.TargetConfiguration buildTargetConfiguration() { buildCounterTargetConfiguration++; if (buildCounterTargetConfiguration < 3) { o.config = buildConfigFile(); - o.imports = buildUnnamed5345(); + o.imports = buildUnnamed5406(); } buildCounterTargetConfiguration--; return o; @@ -1402,17 +1402,17 @@ void checkTargetConfiguration(api.TargetConfiguration o) { buildCounterTargetConfiguration++; if (buildCounterTargetConfiguration < 3) { checkConfigFile(o.config!); - checkUnnamed5345(o.imports!); + checkUnnamed5406(o.imports!); } buildCounterTargetConfiguration--; } -core.List buildUnnamed5346() => [ +core.List buildUnnamed5407() => [ 'foo', 'foo', ]; -void checkUnnamed5346(core.List o) { +void checkUnnamed5407(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1429,7 +1429,7 @@ api.TestPermissionsRequest buildTestPermissionsRequest() { final o = api.TestPermissionsRequest(); buildCounterTestPermissionsRequest++; if (buildCounterTestPermissionsRequest < 3) { - o.permissions = buildUnnamed5346(); + o.permissions = buildUnnamed5407(); } buildCounterTestPermissionsRequest--; return o; @@ -1438,17 +1438,17 @@ api.TestPermissionsRequest buildTestPermissionsRequest() { void checkTestPermissionsRequest(api.TestPermissionsRequest o) { buildCounterTestPermissionsRequest++; if (buildCounterTestPermissionsRequest < 3) { - checkUnnamed5346(o.permissions!); + checkUnnamed5407(o.permissions!); } buildCounterTestPermissionsRequest--; } -core.List buildUnnamed5347() => [ +core.List buildUnnamed5408() => [ 'foo', 'foo', ]; -void checkUnnamed5347(core.List o) { +void checkUnnamed5408(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1465,7 +1465,7 @@ api.TestPermissionsResponse buildTestPermissionsResponse() { final o = api.TestPermissionsResponse(); buildCounterTestPermissionsResponse++; if (buildCounterTestPermissionsResponse < 3) { - o.permissions = buildUnnamed5347(); + o.permissions = buildUnnamed5408(); } buildCounterTestPermissionsResponse--; return o; @@ -1474,7 +1474,7 @@ api.TestPermissionsResponse buildTestPermissionsResponse() { void checkTestPermissionsResponse(api.TestPermissionsResponse o) { buildCounterTestPermissionsResponse++; if (buildCounterTestPermissionsResponse < 3) { - checkUnnamed5347(o.permissions!); + checkUnnamed5408(o.permissions!); } buildCounterTestPermissionsResponse--; } @@ -1518,12 +1518,12 @@ void checkType(api.Type o) { buildCounterType--; } -core.List buildUnnamed5348() => [ +core.List buildUnnamed5409() => [ buildType(), buildType(), ]; -void checkUnnamed5348(core.List o) { +void checkUnnamed5409(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); @@ -1535,7 +1535,7 @@ api.TypesListResponse buildTypesListResponse() { buildCounterTypesListResponse++; if (buildCounterTypesListResponse < 3) { o.nextPageToken = 'foo'; - o.types = buildUnnamed5348(); + o.types = buildUnnamed5409(); } buildCounterTypesListResponse--; return o; @@ -1548,7 +1548,7 @@ void checkTypesListResponse(api.TypesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5348(o.types!); + checkUnnamed5409(o.types!); } buildCounterTypesListResponse--; } diff --git a/generated/googleapis/test/dfareporting/v3_4_test.dart b/generated/googleapis/test/dfareporting/v3_4_test.dart index 20e80f37f..192374b62 100644 --- a/generated/googleapis/test/dfareporting/v3_4_test.dart +++ b/generated/googleapis/test/dfareporting/v3_4_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5386() => [ +core.List buildUnnamed5451() => [ 'foo', 'foo', ]; -void checkUnnamed5386(core.List o) { +void checkUnnamed5451(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed5386(core.List o) { ); } -core.List buildUnnamed5387() => [ +core.List buildUnnamed5452() => [ 'foo', 'foo', ]; -void checkUnnamed5387(core.List o) { +void checkUnnamed5452(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,12 +65,12 @@ api.Account buildAccount() { final o = api.Account(); buildCounterAccount++; if (buildCounterAccount < 3) { - o.accountPermissionIds = buildUnnamed5386(); + o.accountPermissionIds = buildUnnamed5451(); o.accountProfile = 'foo'; o.active = true; o.activeAdsLimitTier = 'foo'; o.activeViewOptOut = true; - o.availablePermissionIds = buildUnnamed5387(); + o.availablePermissionIds = buildUnnamed5452(); o.countryId = 'foo'; o.currencyId = 'foo'; o.defaultCreativeSizeId = 'foo'; @@ -92,7 +92,7 @@ api.Account buildAccount() { void checkAccount(api.Account o) { buildCounterAccount++; if (buildCounterAccount < 3) { - checkUnnamed5386(o.accountPermissionIds!); + checkUnnamed5451(o.accountPermissionIds!); unittest.expect( o.accountProfile!, unittest.equals('foo'), @@ -103,7 +103,7 @@ void checkAccount(api.Account o) { unittest.equals('foo'), ); unittest.expect(o.activeViewOptOut!, unittest.isTrue); - checkUnnamed5387(o.availablePermissionIds!); + checkUnnamed5452(o.availablePermissionIds!); unittest.expect( o.countryId!, unittest.equals('foo'), @@ -193,12 +193,12 @@ void checkAccountActiveAdSummary(api.AccountActiveAdSummary o) { buildCounterAccountActiveAdSummary--; } -core.List buildUnnamed5388() => [ +core.List buildUnnamed5453() => [ 'foo', 'foo', ]; -void checkUnnamed5388(core.List o) { +void checkUnnamed5453(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -215,7 +215,7 @@ api.AccountPermission buildAccountPermission() { final o = api.AccountPermission(); buildCounterAccountPermission++; if (buildCounterAccountPermission < 3) { - o.accountProfiles = buildUnnamed5388(); + o.accountProfiles = buildUnnamed5453(); o.id = 'foo'; o.kind = 'foo'; o.level = 'foo'; @@ -229,7 +229,7 @@ api.AccountPermission buildAccountPermission() { void checkAccountPermission(api.AccountPermission o) { buildCounterAccountPermission++; if (buildCounterAccountPermission < 3) { - checkUnnamed5388(o.accountProfiles!); + checkUnnamed5453(o.accountProfiles!); unittest.expect( o.id!, unittest.equals('foo'), @@ -286,12 +286,12 @@ void checkAccountPermissionGroup(api.AccountPermissionGroup o) { buildCounterAccountPermissionGroup--; } -core.List buildUnnamed5389() => [ +core.List buildUnnamed5454() => [ buildAccountPermissionGroup(), buildAccountPermissionGroup(), ]; -void checkUnnamed5389(core.List o) { +void checkUnnamed5454(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountPermissionGroup(o[0]); checkAccountPermissionGroup(o[1]); @@ -303,7 +303,7 @@ api.AccountPermissionGroupsListResponse final o = api.AccountPermissionGroupsListResponse(); buildCounterAccountPermissionGroupsListResponse++; if (buildCounterAccountPermissionGroupsListResponse < 3) { - o.accountPermissionGroups = buildUnnamed5389(); + o.accountPermissionGroups = buildUnnamed5454(); o.kind = 'foo'; } buildCounterAccountPermissionGroupsListResponse--; @@ -314,7 +314,7 @@ void checkAccountPermissionGroupsListResponse( api.AccountPermissionGroupsListResponse o) { buildCounterAccountPermissionGroupsListResponse++; if (buildCounterAccountPermissionGroupsListResponse < 3) { - checkUnnamed5389(o.accountPermissionGroups!); + checkUnnamed5454(o.accountPermissionGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -323,12 +323,12 @@ void checkAccountPermissionGroupsListResponse( buildCounterAccountPermissionGroupsListResponse--; } -core.List buildUnnamed5390() => [ +core.List buildUnnamed5455() => [ buildAccountPermission(), buildAccountPermission(), ]; -void checkUnnamed5390(core.List o) { +void checkUnnamed5455(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountPermission(o[0]); checkAccountPermission(o[1]); @@ -339,7 +339,7 @@ api.AccountPermissionsListResponse buildAccountPermissionsListResponse() { final o = api.AccountPermissionsListResponse(); buildCounterAccountPermissionsListResponse++; if (buildCounterAccountPermissionsListResponse < 3) { - o.accountPermissions = buildUnnamed5390(); + o.accountPermissions = buildUnnamed5455(); o.kind = 'foo'; } buildCounterAccountPermissionsListResponse--; @@ -349,7 +349,7 @@ api.AccountPermissionsListResponse buildAccountPermissionsListResponse() { void checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) { buildCounterAccountPermissionsListResponse++; if (buildCounterAccountPermissionsListResponse < 3) { - checkUnnamed5390(o.accountPermissions!); + checkUnnamed5455(o.accountPermissions!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -440,12 +440,12 @@ void checkAccountUserProfile(api.AccountUserProfile o) { buildCounterAccountUserProfile--; } -core.List buildUnnamed5391() => [ +core.List buildUnnamed5456() => [ buildAccountUserProfile(), buildAccountUserProfile(), ]; -void checkUnnamed5391(core.List o) { +void checkUnnamed5456(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountUserProfile(o[0]); checkAccountUserProfile(o[1]); @@ -456,7 +456,7 @@ api.AccountUserProfilesListResponse buildAccountUserProfilesListResponse() { final o = api.AccountUserProfilesListResponse(); buildCounterAccountUserProfilesListResponse++; if (buildCounterAccountUserProfilesListResponse < 3) { - o.accountUserProfiles = buildUnnamed5391(); + o.accountUserProfiles = buildUnnamed5456(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -468,7 +468,7 @@ void checkAccountUserProfilesListResponse( api.AccountUserProfilesListResponse o) { buildCounterAccountUserProfilesListResponse++; if (buildCounterAccountUserProfilesListResponse < 3) { - checkUnnamed5391(o.accountUserProfiles!); + checkUnnamed5456(o.accountUserProfiles!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -481,12 +481,12 @@ void checkAccountUserProfilesListResponse( buildCounterAccountUserProfilesListResponse--; } -core.List buildUnnamed5392() => [ +core.List buildUnnamed5457() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed5392(core.List o) { +void checkUnnamed5457(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -497,7 +497,7 @@ api.AccountsListResponse buildAccountsListResponse() { final o = api.AccountsListResponse(); buildCounterAccountsListResponse++; if (buildCounterAccountsListResponse < 3) { - o.accounts = buildUnnamed5392(); + o.accounts = buildUnnamed5457(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -508,7 +508,7 @@ api.AccountsListResponse buildAccountsListResponse() { void checkAccountsListResponse(api.AccountsListResponse o) { buildCounterAccountsListResponse++; if (buildCounterAccountsListResponse < 3) { - checkUnnamed5392(o.accounts!); + checkUnnamed5457(o.accounts!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -521,23 +521,23 @@ void checkAccountsListResponse(api.AccountsListResponse o) { buildCounterAccountsListResponse--; } -core.List buildUnnamed5393() => [ +core.List buildUnnamed5458() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5393(core.List o) { +void checkUnnamed5458(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5394() => [ +core.List buildUnnamed5459() => [ 'foo', 'foo', ]; -void checkUnnamed5394(core.List o) { +void checkUnnamed5459(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -554,9 +554,9 @@ api.Activities buildActivities() { final o = api.Activities(); buildCounterActivities++; if (buildCounterActivities < 3) { - o.filters = buildUnnamed5393(); + o.filters = buildUnnamed5458(); o.kind = 'foo'; - o.metricNames = buildUnnamed5394(); + o.metricNames = buildUnnamed5459(); } buildCounterActivities--; return o; @@ -565,44 +565,44 @@ api.Activities buildActivities() { void checkActivities(api.Activities o) { buildCounterActivities++; if (buildCounterActivities < 3) { - checkUnnamed5393(o.filters!); + checkUnnamed5458(o.filters!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5394(o.metricNames!); + checkUnnamed5459(o.metricNames!); } buildCounterActivities--; } -core.List buildUnnamed5395() => [ +core.List buildUnnamed5460() => [ buildCreativeGroupAssignment(), buildCreativeGroupAssignment(), ]; -void checkUnnamed5395(core.List o) { +void checkUnnamed5460(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeGroupAssignment(o[0]); checkCreativeGroupAssignment(o[1]); } -core.List buildUnnamed5396() => [ +core.List buildUnnamed5461() => [ buildEventTagOverride(), buildEventTagOverride(), ]; -void checkUnnamed5396(core.List o) { +void checkUnnamed5461(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventTagOverride(o[0]); checkEventTagOverride(o[1]); } -core.List buildUnnamed5397() => [ +core.List buildUnnamed5462() => [ buildPlacementAssignment(), buildPlacementAssignment(), ]; -void checkUnnamed5397(core.List o) { +void checkUnnamed5462(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementAssignment(o[0]); checkPlacementAssignment(o[1]); @@ -626,7 +626,7 @@ api.Ad buildAd() { o.comments = 'foo'; o.compatibility = 'foo'; o.createInfo = buildLastModifiedInfo(); - o.creativeGroupAssignments = buildUnnamed5395(); + o.creativeGroupAssignments = buildUnnamed5460(); o.creativeRotation = buildCreativeRotation(); o.dayPartTargeting = buildDayPartTargeting(); o.defaultClickThroughEventTagProperties = @@ -634,7 +634,7 @@ api.Ad buildAd() { o.deliverySchedule = buildDeliverySchedule(); o.dynamicClickTracker = true; o.endTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.eventTagOverrides = buildUnnamed5396(); + o.eventTagOverrides = buildUnnamed5461(); o.geoTargeting = buildGeoTargeting(); o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); @@ -643,7 +643,7 @@ api.Ad buildAd() { o.languageTargeting = buildLanguageTargeting(); o.lastModifiedInfo = buildLastModifiedInfo(); o.name = 'foo'; - o.placementAssignments = buildUnnamed5397(); + o.placementAssignments = buildUnnamed5462(); o.remarketingListExpression = buildListTargetingExpression(); o.size = buildSize(); o.sslCompliant = true; @@ -692,7 +692,7 @@ void checkAd(api.Ad o) { unittest.equals('foo'), ); checkLastModifiedInfo(o.createInfo!); - checkUnnamed5395(o.creativeGroupAssignments!); + checkUnnamed5460(o.creativeGroupAssignments!); checkCreativeRotation(o.creativeRotation!); checkDayPartTargeting(o.dayPartTargeting!); checkDefaultClickThroughEventTagProperties( @@ -703,7 +703,7 @@ void checkAd(api.Ad o) { o.endTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed5396(o.eventTagOverrides!); + checkUnnamed5461(o.eventTagOverrides!); checkGeoTargeting(o.geoTargeting!); unittest.expect( o.id!, @@ -721,7 +721,7 @@ void checkAd(api.Ad o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5397(o.placementAssignments!); + checkUnnamed5462(o.placementAssignments!); checkListTargetingExpression(o.remarketingListExpression!); checkSize(o.size!); unittest.expect(o.sslCompliant!, unittest.isTrue); @@ -832,12 +832,12 @@ void checkAdSlot(api.AdSlot o) { buildCounterAdSlot--; } -core.List buildUnnamed5398() => [ +core.List buildUnnamed5463() => [ buildAd(), buildAd(), ]; -void checkUnnamed5398(core.List o) { +void checkUnnamed5463(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAd(o[0]); checkAd(o[1]); @@ -848,7 +848,7 @@ api.AdsListResponse buildAdsListResponse() { final o = api.AdsListResponse(); buildCounterAdsListResponse++; if (buildCounterAdsListResponse < 3) { - o.ads = buildUnnamed5398(); + o.ads = buildUnnamed5463(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -859,7 +859,7 @@ api.AdsListResponse buildAdsListResponse() { void checkAdsListResponse(api.AdsListResponse o) { buildCounterAdsListResponse++; if (buildCounterAdsListResponse < 3) { - checkUnnamed5398(o.ads!); + checkUnnamed5463(o.ads!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -992,12 +992,12 @@ void checkAdvertiserGroup(api.AdvertiserGroup o) { buildCounterAdvertiserGroup--; } -core.List buildUnnamed5399() => [ +core.List buildUnnamed5464() => [ buildAdvertiserGroup(), buildAdvertiserGroup(), ]; -void checkUnnamed5399(core.List o) { +void checkUnnamed5464(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvertiserGroup(o[0]); checkAdvertiserGroup(o[1]); @@ -1008,7 +1008,7 @@ api.AdvertiserGroupsListResponse buildAdvertiserGroupsListResponse() { final o = api.AdvertiserGroupsListResponse(); buildCounterAdvertiserGroupsListResponse++; if (buildCounterAdvertiserGroupsListResponse < 3) { - o.advertiserGroups = buildUnnamed5399(); + o.advertiserGroups = buildUnnamed5464(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1019,7 +1019,7 @@ api.AdvertiserGroupsListResponse buildAdvertiserGroupsListResponse() { void checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { buildCounterAdvertiserGroupsListResponse++; if (buildCounterAdvertiserGroupsListResponse < 3) { - checkUnnamed5399(o.advertiserGroups!); + checkUnnamed5464(o.advertiserGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1032,12 +1032,12 @@ void checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { buildCounterAdvertiserGroupsListResponse--; } -core.List buildUnnamed5400() => [ +core.List buildUnnamed5465() => [ buildLandingPage(), buildLandingPage(), ]; -void checkUnnamed5400(core.List o) { +void checkUnnamed5465(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLandingPage(o[0]); checkLandingPage(o[1]); @@ -1050,7 +1050,7 @@ api.AdvertiserLandingPagesListResponse buildCounterAdvertiserLandingPagesListResponse++; if (buildCounterAdvertiserLandingPagesListResponse < 3) { o.kind = 'foo'; - o.landingPages = buildUnnamed5400(); + o.landingPages = buildUnnamed5465(); o.nextPageToken = 'foo'; } buildCounterAdvertiserLandingPagesListResponse--; @@ -1065,7 +1065,7 @@ void checkAdvertiserLandingPagesListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5400(o.landingPages!); + checkUnnamed5465(o.landingPages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1074,12 +1074,12 @@ void checkAdvertiserLandingPagesListResponse( buildCounterAdvertiserLandingPagesListResponse--; } -core.List buildUnnamed5401() => [ +core.List buildUnnamed5466() => [ buildAdvertiser(), buildAdvertiser(), ]; -void checkUnnamed5401(core.List o) { +void checkUnnamed5466(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvertiser(o[0]); checkAdvertiser(o[1]); @@ -1090,7 +1090,7 @@ api.AdvertisersListResponse buildAdvertisersListResponse() { final o = api.AdvertisersListResponse(); buildCounterAdvertisersListResponse++; if (buildCounterAdvertisersListResponse < 3) { - o.advertisers = buildUnnamed5401(); + o.advertisers = buildUnnamed5466(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1101,7 +1101,7 @@ api.AdvertisersListResponse buildAdvertisersListResponse() { void checkAdvertisersListResponse(api.AdvertisersListResponse o) { buildCounterAdvertisersListResponse++; if (buildCounterAdvertisersListResponse < 3) { - checkUnnamed5401(o.advertisers!); + checkUnnamed5466(o.advertisers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1146,12 +1146,12 @@ void checkAudienceSegment(api.AudienceSegment o) { buildCounterAudienceSegment--; } -core.List buildUnnamed5402() => [ +core.List buildUnnamed5467() => [ buildAudienceSegment(), buildAudienceSegment(), ]; -void checkUnnamed5402(core.List o) { +void checkUnnamed5467(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudienceSegment(o[0]); checkAudienceSegment(o[1]); @@ -1162,7 +1162,7 @@ api.AudienceSegmentGroup buildAudienceSegmentGroup() { final o = api.AudienceSegmentGroup(); buildCounterAudienceSegmentGroup++; if (buildCounterAudienceSegmentGroup < 3) { - o.audienceSegments = buildUnnamed5402(); + o.audienceSegments = buildUnnamed5467(); o.id = 'foo'; o.name = 'foo'; } @@ -1173,7 +1173,7 @@ api.AudienceSegmentGroup buildAudienceSegmentGroup() { void checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { buildCounterAudienceSegmentGroup++; if (buildCounterAudienceSegmentGroup < 3) { - checkUnnamed5402(o.audienceSegments!); + checkUnnamed5467(o.audienceSegments!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1233,12 +1233,12 @@ void checkBrowser(api.Browser o) { buildCounterBrowser--; } -core.List buildUnnamed5403() => [ +core.List buildUnnamed5468() => [ buildBrowser(), buildBrowser(), ]; -void checkUnnamed5403(core.List o) { +void checkUnnamed5468(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBrowser(o[0]); checkBrowser(o[1]); @@ -1249,7 +1249,7 @@ api.BrowsersListResponse buildBrowsersListResponse() { final o = api.BrowsersListResponse(); buildCounterBrowsersListResponse++; if (buildCounterBrowsersListResponse < 3) { - o.browsers = buildUnnamed5403(); + o.browsers = buildUnnamed5468(); o.kind = 'foo'; } buildCounterBrowsersListResponse--; @@ -1259,7 +1259,7 @@ api.BrowsersListResponse buildBrowsersListResponse() { void checkBrowsersListResponse(api.BrowsersListResponse o) { buildCounterBrowsersListResponse++; if (buildCounterBrowsersListResponse < 3) { - checkUnnamed5403(o.browsers!); + checkUnnamed5468(o.browsers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1268,34 +1268,34 @@ void checkBrowsersListResponse(api.BrowsersListResponse o) { buildCounterBrowsersListResponse--; } -core.List buildUnnamed5404() => [ +core.List buildUnnamed5469() => [ buildCreativeOptimizationConfiguration(), buildCreativeOptimizationConfiguration(), ]; -void checkUnnamed5404(core.List o) { +void checkUnnamed5469(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeOptimizationConfiguration(o[0]); checkCreativeOptimizationConfiguration(o[1]); } -core.List buildUnnamed5405() => [ +core.List buildUnnamed5470() => [ buildAudienceSegmentGroup(), buildAudienceSegmentGroup(), ]; -void checkUnnamed5405(core.List o) { +void checkUnnamed5470(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudienceSegmentGroup(o[0]); checkAudienceSegmentGroup(o[1]); } -core.List buildUnnamed5406() => [ +core.List buildUnnamed5471() => [ 'foo', 'foo', ]; -void checkUnnamed5406(core.List o) { +void checkUnnamed5471(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1307,23 +1307,23 @@ void checkUnnamed5406(core.List o) { ); } -core.List buildUnnamed5407() => [ +core.List buildUnnamed5472() => [ buildEventTagOverride(), buildEventTagOverride(), ]; -void checkUnnamed5407(core.List o) { +void checkUnnamed5472(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventTagOverride(o[0]); checkEventTagOverride(o[1]); } -core.List buildUnnamed5408() => [ +core.List buildUnnamed5473() => [ 'foo', 'foo', ]; -void checkUnnamed5408(core.List o) { +void checkUnnamed5473(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1342,24 +1342,24 @@ api.Campaign buildCampaign() { if (buildCounterCampaign < 3) { o.accountId = 'foo'; o.adBlockingConfiguration = buildAdBlockingConfiguration(); - o.additionalCreativeOptimizationConfigurations = buildUnnamed5404(); + o.additionalCreativeOptimizationConfigurations = buildUnnamed5469(); o.advertiserGroupId = 'foo'; o.advertiserId = 'foo'; o.advertiserIdDimensionValue = buildDimensionValue(); o.archived = true; - o.audienceSegmentGroups = buildUnnamed5405(); + o.audienceSegmentGroups = buildUnnamed5470(); o.billingInvoiceCode = 'foo'; o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); o.comment = 'foo'; o.createInfo = buildLastModifiedInfo(); - o.creativeGroupIds = buildUnnamed5406(); + o.creativeGroupIds = buildUnnamed5471(); o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration(); o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties(); o.defaultLandingPageId = 'foo'; o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); - o.eventTagOverrides = buildUnnamed5407(); + o.eventTagOverrides = buildUnnamed5472(); o.externalId = 'foo'; o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); @@ -1369,7 +1369,7 @@ api.Campaign buildCampaign() { o.nielsenOcrEnabled = true; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.subaccountId = 'foo'; - o.traffickerEmails = buildUnnamed5408(); + o.traffickerEmails = buildUnnamed5473(); } buildCounterCampaign--; return o; @@ -1383,7 +1383,7 @@ void checkCampaign(api.Campaign o) { unittest.equals('foo'), ); checkAdBlockingConfiguration(o.adBlockingConfiguration!); - checkUnnamed5404(o.additionalCreativeOptimizationConfigurations!); + checkUnnamed5469(o.additionalCreativeOptimizationConfigurations!); unittest.expect( o.advertiserGroupId!, unittest.equals('foo'), @@ -1394,7 +1394,7 @@ void checkCampaign(api.Campaign o) { ); checkDimensionValue(o.advertiserIdDimensionValue!); unittest.expect(o.archived!, unittest.isTrue); - checkUnnamed5405(o.audienceSegmentGroups!); + checkUnnamed5470(o.audienceSegmentGroups!); unittest.expect( o.billingInvoiceCode!, unittest.equals('foo'), @@ -1405,7 +1405,7 @@ void checkCampaign(api.Campaign o) { unittest.equals('foo'), ); checkLastModifiedInfo(o.createInfo!); - checkUnnamed5406(o.creativeGroupIds!); + checkUnnamed5471(o.creativeGroupIds!); checkCreativeOptimizationConfiguration( o.creativeOptimizationConfiguration!); checkDefaultClickThroughEventTagProperties( @@ -1418,7 +1418,7 @@ void checkCampaign(api.Campaign o) { o.endDate!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), ); - checkUnnamed5407(o.eventTagOverrides!); + checkUnnamed5472(o.eventTagOverrides!); unittest.expect( o.externalId!, unittest.equals('foo'), @@ -1446,7 +1446,7 @@ void checkCampaign(api.Campaign o) { o.subaccountId!, unittest.equals('foo'), ); - checkUnnamed5408(o.traffickerEmails!); + checkUnnamed5473(o.traffickerEmails!); } buildCounterCampaign--; } @@ -1478,12 +1478,12 @@ void checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { buildCounterCampaignCreativeAssociation--; } -core.List buildUnnamed5409() => [ +core.List buildUnnamed5474() => [ buildCampaignCreativeAssociation(), buildCampaignCreativeAssociation(), ]; -void checkUnnamed5409(core.List o) { +void checkUnnamed5474(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCampaignCreativeAssociation(o[0]); checkCampaignCreativeAssociation(o[1]); @@ -1495,7 +1495,7 @@ api.CampaignCreativeAssociationsListResponse final o = api.CampaignCreativeAssociationsListResponse(); buildCounterCampaignCreativeAssociationsListResponse++; if (buildCounterCampaignCreativeAssociationsListResponse < 3) { - o.campaignCreativeAssociations = buildUnnamed5409(); + o.campaignCreativeAssociations = buildUnnamed5474(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1507,7 +1507,7 @@ void checkCampaignCreativeAssociationsListResponse( api.CampaignCreativeAssociationsListResponse o) { buildCounterCampaignCreativeAssociationsListResponse++; if (buildCounterCampaignCreativeAssociationsListResponse < 3) { - checkUnnamed5409(o.campaignCreativeAssociations!); + checkUnnamed5474(o.campaignCreativeAssociations!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1567,12 +1567,12 @@ void checkCampaignManagerIds(api.CampaignManagerIds o) { buildCounterCampaignManagerIds--; } -core.List buildUnnamed5410() => [ +core.List buildUnnamed5475() => [ buildCampaign(), buildCampaign(), ]; -void checkUnnamed5410(core.List o) { +void checkUnnamed5475(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCampaign(o[0]); checkCampaign(o[1]); @@ -1583,7 +1583,7 @@ api.CampaignsListResponse buildCampaignsListResponse() { final o = api.CampaignsListResponse(); buildCounterCampaignsListResponse++; if (buildCounterCampaignsListResponse < 3) { - o.campaigns = buildUnnamed5410(); + o.campaigns = buildUnnamed5475(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1594,7 +1594,7 @@ api.CampaignsListResponse buildCampaignsListResponse() { void checkCampaignsListResponse(api.CampaignsListResponse o) { buildCounterCampaignsListResponse++; if (buildCounterCampaignsListResponse < 3) { - checkUnnamed5410(o.campaigns!); + checkUnnamed5475(o.campaigns!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1694,12 +1694,12 @@ void checkChangeLog(api.ChangeLog o) { buildCounterChangeLog--; } -core.List buildUnnamed5411() => [ +core.List buildUnnamed5476() => [ buildChangeLog(), buildChangeLog(), ]; -void checkUnnamed5411(core.List o) { +void checkUnnamed5476(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChangeLog(o[0]); checkChangeLog(o[1]); @@ -1710,7 +1710,7 @@ api.ChangeLogsListResponse buildChangeLogsListResponse() { final o = api.ChangeLogsListResponse(); buildCounterChangeLogsListResponse++; if (buildCounterChangeLogsListResponse < 3) { - o.changeLogs = buildUnnamed5411(); + o.changeLogs = buildUnnamed5476(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1721,7 +1721,7 @@ api.ChangeLogsListResponse buildChangeLogsListResponse() { void checkChangeLogsListResponse(api.ChangeLogsListResponse o) { buildCounterChangeLogsListResponse++; if (buildCounterChangeLogsListResponse < 3) { - checkUnnamed5411(o.changeLogs!); + checkUnnamed5476(o.changeLogs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1734,12 +1734,12 @@ void checkChangeLogsListResponse(api.ChangeLogsListResponse o) { buildCounterChangeLogsListResponse--; } -core.List buildUnnamed5412() => [ +core.List buildUnnamed5477() => [ buildChannelGroupingRule(), buildChannelGroupingRule(), ]; -void checkUnnamed5412(core.List o) { +void checkUnnamed5477(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannelGroupingRule(o[0]); checkChannelGroupingRule(o[1]); @@ -1753,7 +1753,7 @@ api.ChannelGrouping buildChannelGrouping() { o.fallbackName = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.rules = buildUnnamed5412(); + o.rules = buildUnnamed5477(); } buildCounterChannelGrouping--; return o; @@ -1774,17 +1774,17 @@ void checkChannelGrouping(api.ChannelGrouping o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5412(o.rules!); + checkUnnamed5477(o.rules!); } buildCounterChannelGrouping--; } -core.List buildUnnamed5413() => [ +core.List buildUnnamed5478() => [ buildDisjunctiveMatchStatement(), buildDisjunctiveMatchStatement(), ]; -void checkUnnamed5413(core.List o) { +void checkUnnamed5478(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisjunctiveMatchStatement(o[0]); checkDisjunctiveMatchStatement(o[1]); @@ -1795,7 +1795,7 @@ api.ChannelGroupingRule buildChannelGroupingRule() { final o = api.ChannelGroupingRule(); buildCounterChannelGroupingRule++; if (buildCounterChannelGroupingRule < 3) { - o.disjunctiveMatchStatements = buildUnnamed5413(); + o.disjunctiveMatchStatements = buildUnnamed5478(); o.kind = 'foo'; o.name = 'foo'; } @@ -1806,7 +1806,7 @@ api.ChannelGroupingRule buildChannelGroupingRule() { void checkChannelGroupingRule(api.ChannelGroupingRule o) { buildCounterChannelGroupingRule++; if (buildCounterChannelGroupingRule < 3) { - checkUnnamed5413(o.disjunctiveMatchStatements!); + checkUnnamed5478(o.disjunctiveMatchStatements!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1819,12 +1819,12 @@ void checkChannelGroupingRule(api.ChannelGroupingRule o) { buildCounterChannelGroupingRule--; } -core.List buildUnnamed5414() => [ +core.List buildUnnamed5479() => [ buildCity(), buildCity(), ]; -void checkUnnamed5414(core.List o) { +void checkUnnamed5479(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCity(o[0]); checkCity(o[1]); @@ -1835,7 +1835,7 @@ api.CitiesListResponse buildCitiesListResponse() { final o = api.CitiesListResponse(); buildCounterCitiesListResponse++; if (buildCounterCitiesListResponse < 3) { - o.cities = buildUnnamed5414(); + o.cities = buildUnnamed5479(); o.kind = 'foo'; } buildCounterCitiesListResponse--; @@ -1845,7 +1845,7 @@ api.CitiesListResponse buildCitiesListResponse() { void checkCitiesListResponse(api.CitiesListResponse o) { buildCounterCitiesListResponse++; if (buildCounterCitiesListResponse < 3) { - checkUnnamed5414(o.cities!); + checkUnnamed5479(o.cities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2028,12 +2028,12 @@ void checkCompanionClickThroughOverride(api.CompanionClickThroughOverride o) { buildCounterCompanionClickThroughOverride--; } -core.List buildUnnamed5415() => [ +core.List buildUnnamed5480() => [ buildSize(), buildSize(), ]; -void checkUnnamed5415(core.List o) { +void checkUnnamed5480(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -2045,7 +2045,7 @@ api.CompanionSetting buildCompanionSetting() { buildCounterCompanionSetting++; if (buildCounterCompanionSetting < 3) { o.companionsDisabled = true; - o.enabledSizes = buildUnnamed5415(); + o.enabledSizes = buildUnnamed5480(); o.imageOnly = true; o.kind = 'foo'; } @@ -2057,7 +2057,7 @@ void checkCompanionSetting(api.CompanionSetting o) { buildCounterCompanionSetting++; if (buildCounterCompanionSetting < 3) { unittest.expect(o.companionsDisabled!, unittest.isTrue); - checkUnnamed5415(o.enabledSizes!); + checkUnnamed5480(o.enabledSizes!); unittest.expect(o.imageOnly!, unittest.isTrue); unittest.expect( o.kind!, @@ -2140,12 +2140,12 @@ void checkConnectionType(api.ConnectionType o) { buildCounterConnectionType--; } -core.List buildUnnamed5416() => [ +core.List buildUnnamed5481() => [ buildConnectionType(), buildConnectionType(), ]; -void checkUnnamed5416(core.List o) { +void checkUnnamed5481(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionType(o[0]); checkConnectionType(o[1]); @@ -2156,7 +2156,7 @@ api.ConnectionTypesListResponse buildConnectionTypesListResponse() { final o = api.ConnectionTypesListResponse(); buildCounterConnectionTypesListResponse++; if (buildCounterConnectionTypesListResponse < 3) { - o.connectionTypes = buildUnnamed5416(); + o.connectionTypes = buildUnnamed5481(); o.kind = 'foo'; } buildCounterConnectionTypesListResponse--; @@ -2166,7 +2166,7 @@ api.ConnectionTypesListResponse buildConnectionTypesListResponse() { void checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { buildCounterConnectionTypesListResponse++; if (buildCounterConnectionTypesListResponse < 3) { - checkUnnamed5416(o.connectionTypes!); + checkUnnamed5481(o.connectionTypes!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2175,12 +2175,12 @@ void checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { buildCounterConnectionTypesListResponse--; } -core.List buildUnnamed5417() => [ +core.List buildUnnamed5482() => [ buildContentCategory(), buildContentCategory(), ]; -void checkUnnamed5417(core.List o) { +void checkUnnamed5482(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContentCategory(o[0]); checkContentCategory(o[1]); @@ -2191,7 +2191,7 @@ api.ContentCategoriesListResponse buildContentCategoriesListResponse() { final o = api.ContentCategoriesListResponse(); buildCounterContentCategoriesListResponse++; if (buildCounterContentCategoriesListResponse < 3) { - o.contentCategories = buildUnnamed5417(); + o.contentCategories = buildUnnamed5482(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2202,7 +2202,7 @@ api.ContentCategoriesListResponse buildContentCategoriesListResponse() { void checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { buildCounterContentCategoriesListResponse++; if (buildCounterContentCategoriesListResponse < 3) { - checkUnnamed5417(o.contentCategories!); + checkUnnamed5482(o.contentCategories!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2252,23 +2252,23 @@ void checkContentCategory(api.ContentCategory o) { buildCounterContentCategory--; } -core.List buildUnnamed5418() => [ +core.List buildUnnamed5483() => [ buildCustomFloodlightVariable(), buildCustomFloodlightVariable(), ]; -void checkUnnamed5418(core.List o) { +void checkUnnamed5483(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomFloodlightVariable(o[0]); checkCustomFloodlightVariable(o[1]); } -core.List buildUnnamed5419() => [ +core.List buildUnnamed5484() => [ 'foo', 'foo', ]; -void checkUnnamed5419(core.List o) { +void checkUnnamed5484(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2286,10 +2286,10 @@ api.Conversion buildConversion() { buildCounterConversion++; if (buildCounterConversion < 3) { o.childDirectedTreatment = true; - o.customVariables = buildUnnamed5418(); + o.customVariables = buildUnnamed5483(); o.dclid = 'foo'; o.encryptedUserId = 'foo'; - o.encryptedUserIdCandidates = buildUnnamed5419(); + o.encryptedUserIdCandidates = buildUnnamed5484(); o.floodlightActivityId = 'foo'; o.floodlightConfigurationId = 'foo'; o.gclid = 'foo'; @@ -2312,7 +2312,7 @@ void checkConversion(api.Conversion o) { buildCounterConversion++; if (buildCounterConversion < 3) { unittest.expect(o.childDirectedTreatment!, unittest.isTrue); - checkUnnamed5418(o.customVariables!); + checkUnnamed5483(o.customVariables!); unittest.expect( o.dclid!, unittest.equals('foo'), @@ -2321,7 +2321,7 @@ void checkConversion(api.Conversion o) { o.encryptedUserId!, unittest.equals('foo'), ); - checkUnnamed5419(o.encryptedUserIdCandidates!); + checkUnnamed5484(o.encryptedUserIdCandidates!); unittest.expect( o.floodlightActivityId!, unittest.equals('foo'), @@ -2401,12 +2401,12 @@ void checkConversionError(api.ConversionError o) { buildCounterConversionError--; } -core.List buildUnnamed5420() => [ +core.List buildUnnamed5485() => [ buildConversionError(), buildConversionError(), ]; -void checkUnnamed5420(core.List o) { +void checkUnnamed5485(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversionError(o[0]); checkConversionError(o[1]); @@ -2418,7 +2418,7 @@ api.ConversionStatus buildConversionStatus() { buildCounterConversionStatus++; if (buildCounterConversionStatus < 3) { o.conversion = buildConversion(); - o.errors = buildUnnamed5420(); + o.errors = buildUnnamed5485(); o.kind = 'foo'; } buildCounterConversionStatus--; @@ -2429,7 +2429,7 @@ void checkConversionStatus(api.ConversionStatus o) { buildCounterConversionStatus++; if (buildCounterConversionStatus < 3) { checkConversion(o.conversion!); - checkUnnamed5420(o.errors!); + checkUnnamed5485(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2438,12 +2438,12 @@ void checkConversionStatus(api.ConversionStatus o) { buildCounterConversionStatus--; } -core.List buildUnnamed5421() => [ +core.List buildUnnamed5486() => [ buildConversion(), buildConversion(), ]; -void checkUnnamed5421(core.List o) { +void checkUnnamed5486(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversion(o[0]); checkConversion(o[1]); @@ -2454,7 +2454,7 @@ api.ConversionsBatchInsertRequest buildConversionsBatchInsertRequest() { final o = api.ConversionsBatchInsertRequest(); buildCounterConversionsBatchInsertRequest++; if (buildCounterConversionsBatchInsertRequest < 3) { - o.conversions = buildUnnamed5421(); + o.conversions = buildUnnamed5486(); o.encryptionInfo = buildEncryptionInfo(); o.kind = 'foo'; } @@ -2465,7 +2465,7 @@ api.ConversionsBatchInsertRequest buildConversionsBatchInsertRequest() { void checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { buildCounterConversionsBatchInsertRequest++; if (buildCounterConversionsBatchInsertRequest < 3) { - checkUnnamed5421(o.conversions!); + checkUnnamed5486(o.conversions!); checkEncryptionInfo(o.encryptionInfo!); unittest.expect( o.kind!, @@ -2475,12 +2475,12 @@ void checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { buildCounterConversionsBatchInsertRequest--; } -core.List buildUnnamed5422() => [ +core.List buildUnnamed5487() => [ buildConversionStatus(), buildConversionStatus(), ]; -void checkUnnamed5422(core.List o) { +void checkUnnamed5487(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversionStatus(o[0]); checkConversionStatus(o[1]); @@ -2493,7 +2493,7 @@ api.ConversionsBatchInsertResponse buildConversionsBatchInsertResponse() { if (buildCounterConversionsBatchInsertResponse < 3) { o.hasFailures = true; o.kind = 'foo'; - o.status = buildUnnamed5422(); + o.status = buildUnnamed5487(); } buildCounterConversionsBatchInsertResponse--; return o; @@ -2507,17 +2507,17 @@ void checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5422(o.status!); + checkUnnamed5487(o.status!); } buildCounterConversionsBatchInsertResponse--; } -core.List buildUnnamed5423() => [ +core.List buildUnnamed5488() => [ buildConversion(), buildConversion(), ]; -void checkUnnamed5423(core.List o) { +void checkUnnamed5488(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversion(o[0]); checkConversion(o[1]); @@ -2528,7 +2528,7 @@ api.ConversionsBatchUpdateRequest buildConversionsBatchUpdateRequest() { final o = api.ConversionsBatchUpdateRequest(); buildCounterConversionsBatchUpdateRequest++; if (buildCounterConversionsBatchUpdateRequest < 3) { - o.conversions = buildUnnamed5423(); + o.conversions = buildUnnamed5488(); o.encryptionInfo = buildEncryptionInfo(); o.kind = 'foo'; } @@ -2539,7 +2539,7 @@ api.ConversionsBatchUpdateRequest buildConversionsBatchUpdateRequest() { void checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) { buildCounterConversionsBatchUpdateRequest++; if (buildCounterConversionsBatchUpdateRequest < 3) { - checkUnnamed5423(o.conversions!); + checkUnnamed5488(o.conversions!); checkEncryptionInfo(o.encryptionInfo!); unittest.expect( o.kind!, @@ -2549,12 +2549,12 @@ void checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) { buildCounterConversionsBatchUpdateRequest--; } -core.List buildUnnamed5424() => [ +core.List buildUnnamed5489() => [ buildConversionStatus(), buildConversionStatus(), ]; -void checkUnnamed5424(core.List o) { +void checkUnnamed5489(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversionStatus(o[0]); checkConversionStatus(o[1]); @@ -2567,7 +2567,7 @@ api.ConversionsBatchUpdateResponse buildConversionsBatchUpdateResponse() { if (buildCounterConversionsBatchUpdateResponse < 3) { o.hasFailures = true; o.kind = 'foo'; - o.status = buildUnnamed5424(); + o.status = buildUnnamed5489(); } buildCounterConversionsBatchUpdateResponse--; return o; @@ -2581,17 +2581,17 @@ void checkConversionsBatchUpdateResponse(api.ConversionsBatchUpdateResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5424(o.status!); + checkUnnamed5489(o.status!); } buildCounterConversionsBatchUpdateResponse--; } -core.List buildUnnamed5425() => [ +core.List buildUnnamed5490() => [ buildCountry(), buildCountry(), ]; -void checkUnnamed5425(core.List o) { +void checkUnnamed5490(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCountry(o[0]); checkCountry(o[1]); @@ -2602,7 +2602,7 @@ api.CountriesListResponse buildCountriesListResponse() { final o = api.CountriesListResponse(); buildCounterCountriesListResponse++; if (buildCounterCountriesListResponse < 3) { - o.countries = buildUnnamed5425(); + o.countries = buildUnnamed5490(); o.kind = 'foo'; } buildCounterCountriesListResponse--; @@ -2612,7 +2612,7 @@ api.CountriesListResponse buildCountriesListResponse() { void checkCountriesListResponse(api.CountriesListResponse o) { buildCounterCountriesListResponse++; if (buildCounterCountriesListResponse < 3) { - checkUnnamed5425(o.countries!); + checkUnnamed5490(o.countries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2660,12 +2660,12 @@ void checkCountry(api.Country o) { buildCounterCountry--; } -core.List buildUnnamed5426() => [ +core.List buildUnnamed5491() => [ 'foo', 'foo', ]; -void checkUnnamed5426(core.List o) { +void checkUnnamed5491(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2677,23 +2677,23 @@ void checkUnnamed5426(core.List o) { ); } -core.List buildUnnamed5427() => [ +core.List buildUnnamed5492() => [ buildSize(), buildSize(), ]; -void checkUnnamed5427(core.List o) { +void checkUnnamed5492(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); } -core.List buildUnnamed5428() => [ +core.List buildUnnamed5493() => [ 'foo', 'foo', ]; -void checkUnnamed5428(core.List o) { +void checkUnnamed5493(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2705,23 +2705,23 @@ void checkUnnamed5428(core.List o) { ); } -core.List buildUnnamed5429() => [ +core.List buildUnnamed5494() => [ buildClickTag(), buildClickTag(), ]; -void checkUnnamed5429(core.List o) { +void checkUnnamed5494(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClickTag(o[0]); checkClickTag(o[1]); } -core.List buildUnnamed5430() => [ +core.List buildUnnamed5495() => [ 'foo', 'foo', ]; -void checkUnnamed5430(core.List o) { +void checkUnnamed5495(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2733,12 +2733,12 @@ void checkUnnamed5430(core.List o) { ); } -core.List buildUnnamed5431() => [ +core.List buildUnnamed5496() => [ 'foo', 'foo', ]; -void checkUnnamed5431(core.List o) { +void checkUnnamed5496(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2750,45 +2750,45 @@ void checkUnnamed5431(core.List o) { ); } -core.List buildUnnamed5432() => [ +core.List buildUnnamed5497() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed5432(core.List o) { +void checkUnnamed5497(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed5433() => [ +core.List buildUnnamed5498() => [ buildCreativeAsset(), buildCreativeAsset(), ]; -void checkUnnamed5433(core.List o) { +void checkUnnamed5498(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeAsset(o[0]); checkCreativeAsset(o[1]); } -core.List buildUnnamed5434() => [ +core.List buildUnnamed5499() => [ buildCreativeFieldAssignment(), buildCreativeFieldAssignment(), ]; -void checkUnnamed5434(core.List o) { +void checkUnnamed5499(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeFieldAssignment(o[0]); checkCreativeFieldAssignment(o[1]); } -core.List buildUnnamed5435() => [ +core.List buildUnnamed5500() => [ 'foo', 'foo', ]; -void checkUnnamed5435(core.List o) { +void checkUnnamed5500(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2800,34 +2800,34 @@ void checkUnnamed5435(core.List o) { ); } -core.List buildUnnamed5436() => [ +core.List buildUnnamed5501() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed5436(core.List o) { +void checkUnnamed5501(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed5437() => [ +core.List buildUnnamed5502() => [ buildThirdPartyTrackingUrl(), buildThirdPartyTrackingUrl(), ]; -void checkUnnamed5437(core.List o) { +void checkUnnamed5502(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThirdPartyTrackingUrl(o[0]); checkThirdPartyTrackingUrl(o[1]); } -core.List buildUnnamed5438() => [ +core.List buildUnnamed5503() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed5438(core.List o) { +void checkUnnamed5503(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); @@ -2841,8 +2841,8 @@ api.Creative buildCreative() { o.accountId = 'foo'; o.active = true; o.adParameters = 'foo'; - o.adTagKeys = buildUnnamed5426(); - o.additionalSizes = buildUnnamed5427(); + o.adTagKeys = buildUnnamed5491(); + o.additionalSizes = buildUnnamed5492(); o.advertiserId = 'foo'; o.allowScriptAccess = true; o.archived = true; @@ -2852,21 +2852,21 @@ api.Creative buildCreative() { o.autoAdvanceImages = true; o.backgroundColor = 'foo'; o.backupImageClickThroughUrl = buildCreativeClickThroughUrl(); - o.backupImageFeatures = buildUnnamed5428(); + o.backupImageFeatures = buildUnnamed5493(); o.backupImageReportingLabel = 'foo'; o.backupImageTargetWindow = buildTargetWindow(); - o.clickTags = buildUnnamed5429(); + o.clickTags = buildUnnamed5494(); o.commercialId = 'foo'; - o.companionCreatives = buildUnnamed5430(); - o.compatibility = buildUnnamed5431(); + o.companionCreatives = buildUnnamed5495(); + o.compatibility = buildUnnamed5496(); o.convertFlashToHtml5 = true; - o.counterCustomEvents = buildUnnamed5432(); + o.counterCustomEvents = buildUnnamed5497(); o.creativeAssetSelection = buildCreativeAssetSelection(); - o.creativeAssets = buildUnnamed5433(); - o.creativeFieldAssignments = buildUnnamed5434(); - o.customKeyValues = buildUnnamed5435(); + o.creativeAssets = buildUnnamed5498(); + o.creativeFieldAssignments = buildUnnamed5499(); + o.customKeyValues = buildUnnamed5500(); o.dynamicAssetSelection = true; - o.exitCustomEvents = buildUnnamed5436(); + o.exitCustomEvents = buildUnnamed5501(); o.fsCommand = buildFsCommand(); o.htmlCode = 'foo'; o.htmlCodeLocked = true; @@ -2897,8 +2897,8 @@ api.Creative buildCreative() { o.subaccountId = 'foo'; o.thirdPartyBackupImageImpressionsUrl = 'foo'; o.thirdPartyRichMediaImpressionsUrl = 'foo'; - o.thirdPartyUrls = buildUnnamed5437(); - o.timerCustomEvents = buildUnnamed5438(); + o.thirdPartyUrls = buildUnnamed5502(); + o.timerCustomEvents = buildUnnamed5503(); o.totalFileSize = 'foo'; o.type = 'foo'; o.universalAdId = buildUniversalAdId(); @@ -2920,8 +2920,8 @@ void checkCreative(api.Creative o) { o.adParameters!, unittest.equals('foo'), ); - checkUnnamed5426(o.adTagKeys!); - checkUnnamed5427(o.additionalSizes!); + checkUnnamed5491(o.adTagKeys!); + checkUnnamed5492(o.additionalSizes!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -2946,27 +2946,27 @@ void checkCreative(api.Creative o) { unittest.equals('foo'), ); checkCreativeClickThroughUrl(o.backupImageClickThroughUrl!); - checkUnnamed5428(o.backupImageFeatures!); + checkUnnamed5493(o.backupImageFeatures!); unittest.expect( o.backupImageReportingLabel!, unittest.equals('foo'), ); checkTargetWindow(o.backupImageTargetWindow!); - checkUnnamed5429(o.clickTags!); + checkUnnamed5494(o.clickTags!); unittest.expect( o.commercialId!, unittest.equals('foo'), ); - checkUnnamed5430(o.companionCreatives!); - checkUnnamed5431(o.compatibility!); + checkUnnamed5495(o.companionCreatives!); + checkUnnamed5496(o.compatibility!); unittest.expect(o.convertFlashToHtml5!, unittest.isTrue); - checkUnnamed5432(o.counterCustomEvents!); + checkUnnamed5497(o.counterCustomEvents!); checkCreativeAssetSelection(o.creativeAssetSelection!); - checkUnnamed5433(o.creativeAssets!); - checkUnnamed5434(o.creativeFieldAssignments!); - checkUnnamed5435(o.customKeyValues!); + checkUnnamed5498(o.creativeAssets!); + checkUnnamed5499(o.creativeFieldAssignments!); + checkUnnamed5500(o.customKeyValues!); unittest.expect(o.dynamicAssetSelection!, unittest.isTrue); - checkUnnamed5436(o.exitCustomEvents!); + checkUnnamed5501(o.exitCustomEvents!); checkFsCommand(o.fsCommand!); unittest.expect( o.htmlCode!, @@ -3051,8 +3051,8 @@ void checkCreative(api.Creative o) { o.thirdPartyRichMediaImpressionsUrl!, unittest.equals('foo'), ); - checkUnnamed5437(o.thirdPartyUrls!); - checkUnnamed5438(o.timerCustomEvents!); + checkUnnamed5502(o.thirdPartyUrls!); + checkUnnamed5503(o.timerCustomEvents!); unittest.expect( o.totalFileSize!, unittest.equals('foo'), @@ -3070,23 +3070,23 @@ void checkCreative(api.Creative o) { buildCounterCreative--; } -core.List buildUnnamed5439() => [ +core.List buildUnnamed5504() => [ buildSize(), buildSize(), ]; -void checkUnnamed5439(core.List o) { +void checkUnnamed5504(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); } -core.List buildUnnamed5440() => [ +core.List buildUnnamed5505() => [ 'foo', 'foo', ]; -void checkUnnamed5440(core.List o) { +void checkUnnamed5505(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3098,12 +3098,12 @@ void checkUnnamed5440(core.List o) { ); } -core.List buildUnnamed5441() => [ +core.List buildUnnamed5506() => [ 'foo', 'foo', ]; -void checkUnnamed5441(core.List o) { +void checkUnnamed5506(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3122,7 +3122,7 @@ api.CreativeAsset buildCreativeAsset() { if (buildCounterCreativeAsset < 3) { o.actionScript3 = true; o.active = true; - o.additionalSizes = buildUnnamed5439(); + o.additionalSizes = buildUnnamed5504(); o.alignment = 'foo'; o.artworkType = 'foo'; o.assetIdentifier = buildCreativeAssetId(); @@ -3132,9 +3132,9 @@ api.CreativeAsset buildCreativeAsset() { o.bitRate = 42; o.childAssetType = 'foo'; o.collapsedSize = buildSize(); - o.companionCreativeIds = buildUnnamed5440(); + o.companionCreativeIds = buildUnnamed5505(); o.customStartTimeValue = 42; - o.detectedFeatures = buildUnnamed5441(); + o.detectedFeatures = buildUnnamed5506(); o.displayType = 'foo'; o.duration = 42; o.durationType = 'foo'; @@ -3180,7 +3180,7 @@ void checkCreativeAsset(api.CreativeAsset o) { if (buildCounterCreativeAsset < 3) { unittest.expect(o.actionScript3!, unittest.isTrue); unittest.expect(o.active!, unittest.isTrue); - checkUnnamed5439(o.additionalSizes!); + checkUnnamed5504(o.additionalSizes!); unittest.expect( o.alignment!, unittest.equals('foo'), @@ -3208,12 +3208,12 @@ void checkCreativeAsset(api.CreativeAsset o) { unittest.equals('foo'), ); checkSize(o.collapsedSize!); - checkUnnamed5440(o.companionCreativeIds!); + checkUnnamed5505(o.companionCreativeIds!); unittest.expect( o.customStartTimeValue!, unittest.equals(42), ); - checkUnnamed5441(o.detectedFeatures!); + checkUnnamed5506(o.detectedFeatures!); unittest.expect( o.displayType!, unittest.equals('foo'), @@ -3343,34 +3343,34 @@ void checkCreativeAssetId(api.CreativeAssetId o) { buildCounterCreativeAssetId--; } -core.List buildUnnamed5442() => [ +core.List buildUnnamed5507() => [ buildClickTag(), buildClickTag(), ]; -void checkUnnamed5442(core.List o) { +void checkUnnamed5507(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClickTag(o[0]); checkClickTag(o[1]); } -core.List buildUnnamed5443() => [ +core.List buildUnnamed5508() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed5443(core.List o) { +void checkUnnamed5508(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed5444() => [ +core.List buildUnnamed5509() => [ 'foo', 'foo', ]; -void checkUnnamed5444(core.List o) { +void checkUnnamed5509(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3382,34 +3382,34 @@ void checkUnnamed5444(core.List o) { ); } -core.List buildUnnamed5445() => [ +core.List buildUnnamed5510() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed5445(core.List o) { +void checkUnnamed5510(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed5446() => [ +core.List buildUnnamed5511() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed5446(core.List o) { +void checkUnnamed5511(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed5447() => [ +core.List buildUnnamed5512() => [ 'foo', 'foo', ]; -void checkUnnamed5447(core.List o) { +void checkUnnamed5512(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3427,16 +3427,16 @@ api.CreativeAssetMetadata buildCreativeAssetMetadata() { buildCounterCreativeAssetMetadata++; if (buildCounterCreativeAssetMetadata < 3) { o.assetIdentifier = buildCreativeAssetId(); - o.clickTags = buildUnnamed5442(); - o.counterCustomEvents = buildUnnamed5443(); - o.detectedFeatures = buildUnnamed5444(); - o.exitCustomEvents = buildUnnamed5445(); + o.clickTags = buildUnnamed5507(); + o.counterCustomEvents = buildUnnamed5508(); + o.detectedFeatures = buildUnnamed5509(); + o.exitCustomEvents = buildUnnamed5510(); o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); o.kind = 'foo'; o.richMedia = true; - o.timerCustomEvents = buildUnnamed5446(); - o.warnedValidationRules = buildUnnamed5447(); + o.timerCustomEvents = buildUnnamed5511(); + o.warnedValidationRules = buildUnnamed5512(); } buildCounterCreativeAssetMetadata--; return o; @@ -3446,10 +3446,10 @@ void checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { buildCounterCreativeAssetMetadata++; if (buildCounterCreativeAssetMetadata < 3) { checkCreativeAssetId(o.assetIdentifier!); - checkUnnamed5442(o.clickTags!); - checkUnnamed5443(o.counterCustomEvents!); - checkUnnamed5444(o.detectedFeatures!); - checkUnnamed5445(o.exitCustomEvents!); + checkUnnamed5507(o.clickTags!); + checkUnnamed5508(o.counterCustomEvents!); + checkUnnamed5509(o.detectedFeatures!); + checkUnnamed5510(o.exitCustomEvents!); unittest.expect( o.id!, unittest.equals('foo'), @@ -3460,18 +3460,18 @@ void checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { unittest.equals('foo'), ); unittest.expect(o.richMedia!, unittest.isTrue); - checkUnnamed5446(o.timerCustomEvents!); - checkUnnamed5447(o.warnedValidationRules!); + checkUnnamed5511(o.timerCustomEvents!); + checkUnnamed5512(o.warnedValidationRules!); } buildCounterCreativeAssetMetadata--; } -core.List buildUnnamed5448() => [ +core.List buildUnnamed5513() => [ buildRule(), buildRule(), ]; -void checkUnnamed5448(core.List o) { +void checkUnnamed5513(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -3483,7 +3483,7 @@ api.CreativeAssetSelection buildCreativeAssetSelection() { buildCounterCreativeAssetSelection++; if (buildCounterCreativeAssetSelection < 3) { o.defaultAssetId = 'foo'; - o.rules = buildUnnamed5448(); + o.rules = buildUnnamed5513(); } buildCounterCreativeAssetSelection--; return o; @@ -3496,39 +3496,39 @@ void checkCreativeAssetSelection(api.CreativeAssetSelection o) { o.defaultAssetId!, unittest.equals('foo'), ); - checkUnnamed5448(o.rules!); + checkUnnamed5513(o.rules!); } buildCounterCreativeAssetSelection--; } -core.List buildUnnamed5449() => [ +core.List buildUnnamed5514() => [ buildCompanionClickThroughOverride(), buildCompanionClickThroughOverride(), ]; -void checkUnnamed5449(core.List o) { +void checkUnnamed5514(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompanionClickThroughOverride(o[0]); checkCompanionClickThroughOverride(o[1]); } -core.List buildUnnamed5450() => [ +core.List buildUnnamed5515() => [ buildCreativeGroupAssignment(), buildCreativeGroupAssignment(), ]; -void checkUnnamed5450(core.List o) { +void checkUnnamed5515(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeGroupAssignment(o[0]); checkCreativeGroupAssignment(o[1]); } -core.List buildUnnamed5451() => [ +core.List buildUnnamed5516() => [ buildRichMediaExitOverride(), buildRichMediaExitOverride(), ]; -void checkUnnamed5451(core.List o) { +void checkUnnamed5516(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRichMediaExitOverride(o[0]); checkRichMediaExitOverride(o[1]); @@ -3542,12 +3542,12 @@ api.CreativeAssignment buildCreativeAssignment() { o.active = true; o.applyEventTags = true; o.clickThroughUrl = buildClickThroughUrl(); - o.companionCreativeOverrides = buildUnnamed5449(); - o.creativeGroupAssignments = buildUnnamed5450(); + o.companionCreativeOverrides = buildUnnamed5514(); + o.creativeGroupAssignments = buildUnnamed5515(); o.creativeId = 'foo'; o.creativeIdDimensionValue = buildDimensionValue(); o.endTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.richMediaExitOverrides = buildUnnamed5451(); + o.richMediaExitOverrides = buildUnnamed5516(); o.sequence = 42; o.sslCompliant = true; o.startTime = core.DateTime.parse('2002-02-27T14:01:02'); @@ -3563,8 +3563,8 @@ void checkCreativeAssignment(api.CreativeAssignment o) { unittest.expect(o.active!, unittest.isTrue); unittest.expect(o.applyEventTags!, unittest.isTrue); checkClickThroughUrl(o.clickThroughUrl!); - checkUnnamed5449(o.companionCreativeOverrides!); - checkUnnamed5450(o.creativeGroupAssignments!); + checkUnnamed5514(o.companionCreativeOverrides!); + checkUnnamed5515(o.creativeGroupAssignments!); unittest.expect( o.creativeId!, unittest.equals('foo'), @@ -3574,7 +3574,7 @@ void checkCreativeAssignment(api.CreativeAssignment o) { o.endTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed5451(o.richMediaExitOverrides!); + checkUnnamed5516(o.richMediaExitOverrides!); unittest.expect( o.sequence!, unittest.equals(42), @@ -3793,12 +3793,12 @@ void checkCreativeFieldValue(api.CreativeFieldValue o) { buildCounterCreativeFieldValue--; } -core.List buildUnnamed5452() => [ +core.List buildUnnamed5517() => [ buildCreativeFieldValue(), buildCreativeFieldValue(), ]; -void checkUnnamed5452(core.List o) { +void checkUnnamed5517(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeFieldValue(o[0]); checkCreativeFieldValue(o[1]); @@ -3809,7 +3809,7 @@ api.CreativeFieldValuesListResponse buildCreativeFieldValuesListResponse() { final o = api.CreativeFieldValuesListResponse(); buildCounterCreativeFieldValuesListResponse++; if (buildCounterCreativeFieldValuesListResponse < 3) { - o.creativeFieldValues = buildUnnamed5452(); + o.creativeFieldValues = buildUnnamed5517(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3821,7 +3821,7 @@ void checkCreativeFieldValuesListResponse( api.CreativeFieldValuesListResponse o) { buildCounterCreativeFieldValuesListResponse++; if (buildCounterCreativeFieldValuesListResponse < 3) { - checkUnnamed5452(o.creativeFieldValues!); + checkUnnamed5517(o.creativeFieldValues!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3834,12 +3834,12 @@ void checkCreativeFieldValuesListResponse( buildCounterCreativeFieldValuesListResponse--; } -core.List buildUnnamed5453() => [ +core.List buildUnnamed5518() => [ buildCreativeField(), buildCreativeField(), ]; -void checkUnnamed5453(core.List o) { +void checkUnnamed5518(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeField(o[0]); checkCreativeField(o[1]); @@ -3850,7 +3850,7 @@ api.CreativeFieldsListResponse buildCreativeFieldsListResponse() { final o = api.CreativeFieldsListResponse(); buildCounterCreativeFieldsListResponse++; if (buildCounterCreativeFieldsListResponse < 3) { - o.creativeFields = buildUnnamed5453(); + o.creativeFields = buildUnnamed5518(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3861,7 +3861,7 @@ api.CreativeFieldsListResponse buildCreativeFieldsListResponse() { void checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { buildCounterCreativeFieldsListResponse++; if (buildCounterCreativeFieldsListResponse < 3) { - checkUnnamed5453(o.creativeFields!); + checkUnnamed5518(o.creativeFields!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3955,12 +3955,12 @@ void checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { buildCounterCreativeGroupAssignment--; } -core.List buildUnnamed5454() => [ +core.List buildUnnamed5519() => [ buildCreativeGroup(), buildCreativeGroup(), ]; -void checkUnnamed5454(core.List o) { +void checkUnnamed5519(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeGroup(o[0]); checkCreativeGroup(o[1]); @@ -3971,7 +3971,7 @@ api.CreativeGroupsListResponse buildCreativeGroupsListResponse() { final o = api.CreativeGroupsListResponse(); buildCounterCreativeGroupsListResponse++; if (buildCounterCreativeGroupsListResponse < 3) { - o.creativeGroups = buildUnnamed5454(); + o.creativeGroups = buildUnnamed5519(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3982,7 +3982,7 @@ api.CreativeGroupsListResponse buildCreativeGroupsListResponse() { void checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { buildCounterCreativeGroupsListResponse++; if (buildCounterCreativeGroupsListResponse < 3) { - checkUnnamed5454(o.creativeGroups!); + checkUnnamed5519(o.creativeGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3995,12 +3995,12 @@ void checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { buildCounterCreativeGroupsListResponse--; } -core.List buildUnnamed5455() => [ +core.List buildUnnamed5520() => [ buildOptimizationActivity(), buildOptimizationActivity(), ]; -void checkUnnamed5455(core.List o) { +void checkUnnamed5520(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOptimizationActivity(o[0]); checkOptimizationActivity(o[1]); @@ -4013,7 +4013,7 @@ api.CreativeOptimizationConfiguration buildCreativeOptimizationConfiguration() { if (buildCounterCreativeOptimizationConfiguration < 3) { o.id = 'foo'; o.name = 'foo'; - o.optimizationActivitys = buildUnnamed5455(); + o.optimizationActivitys = buildUnnamed5520(); o.optimizationModel = 'foo'; } buildCounterCreativeOptimizationConfiguration--; @@ -4032,7 +4032,7 @@ void checkCreativeOptimizationConfiguration( o.name!, unittest.equals('foo'), ); - checkUnnamed5455(o.optimizationActivitys!); + checkUnnamed5520(o.optimizationActivitys!); unittest.expect( o.optimizationModel!, unittest.equals('foo'), @@ -4041,12 +4041,12 @@ void checkCreativeOptimizationConfiguration( buildCounterCreativeOptimizationConfiguration--; } -core.List buildUnnamed5456() => [ +core.List buildUnnamed5521() => [ buildCreativeAssignment(), buildCreativeAssignment(), ]; -void checkUnnamed5456(core.List o) { +void checkUnnamed5521(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeAssignment(o[0]); checkCreativeAssignment(o[1]); @@ -4057,7 +4057,7 @@ api.CreativeRotation buildCreativeRotation() { final o = api.CreativeRotation(); buildCounterCreativeRotation++; if (buildCounterCreativeRotation < 3) { - o.creativeAssignments = buildUnnamed5456(); + o.creativeAssignments = buildUnnamed5521(); o.creativeOptimizationConfigurationId = 'foo'; o.type = 'foo'; o.weightCalculationStrategy = 'foo'; @@ -4069,7 +4069,7 @@ api.CreativeRotation buildCreativeRotation() { void checkCreativeRotation(api.CreativeRotation o) { buildCounterCreativeRotation++; if (buildCounterCreativeRotation < 3) { - checkUnnamed5456(o.creativeAssignments!); + checkUnnamed5521(o.creativeAssignments!); unittest.expect( o.creativeOptimizationConfigurationId!, unittest.equals('foo'), @@ -4086,12 +4086,12 @@ void checkCreativeRotation(api.CreativeRotation o) { buildCounterCreativeRotation--; } -core.List buildUnnamed5457() => [ +core.List buildUnnamed5522() => [ buildCreative(), buildCreative(), ]; -void checkUnnamed5457(core.List o) { +void checkUnnamed5522(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreative(o[0]); checkCreative(o[1]); @@ -4102,7 +4102,7 @@ api.CreativesListResponse buildCreativesListResponse() { final o = api.CreativesListResponse(); buildCounterCreativesListResponse++; if (buildCounterCreativesListResponse < 3) { - o.creatives = buildUnnamed5457(); + o.creatives = buildUnnamed5522(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -4113,7 +4113,7 @@ api.CreativesListResponse buildCreativesListResponse() { void checkCreativesListResponse(api.CreativesListResponse o) { buildCounterCreativesListResponse++; if (buildCounterCreativesListResponse < 3) { - checkUnnamed5457(o.creatives!); + checkUnnamed5522(o.creatives!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4126,45 +4126,45 @@ void checkCreativesListResponse(api.CreativesListResponse o) { buildCounterCreativesListResponse--; } -core.List buildUnnamed5458() => [ +core.List buildUnnamed5523() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5458(core.List o) { +void checkUnnamed5523(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5459() => [ +core.List buildUnnamed5524() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5459(core.List o) { +void checkUnnamed5524(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5460() => [ +core.List buildUnnamed5525() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5460(core.List o) { +void checkUnnamed5525(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed5461() => [ +core.List buildUnnamed5526() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5461(core.List o) { +void checkUnnamed5526(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -4176,11 +4176,11 @@ api.CrossDimensionReachReportCompatibleFields final o = api.CrossDimensionReachReportCompatibleFields(); buildCounterCrossDimensionReachReportCompatibleFields++; if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { - o.breakdown = buildUnnamed5458(); - o.dimensionFilters = buildUnnamed5459(); + o.breakdown = buildUnnamed5523(); + o.dimensionFilters = buildUnnamed5524(); o.kind = 'foo'; - o.metrics = buildUnnamed5460(); - o.overlapMetrics = buildUnnamed5461(); + o.metrics = buildUnnamed5525(); + o.overlapMetrics = buildUnnamed5526(); } buildCounterCrossDimensionReachReportCompatibleFields--; return o; @@ -4190,24 +4190,24 @@ void checkCrossDimensionReachReportCompatibleFields( api.CrossDimensionReachReportCompatibleFields o) { buildCounterCrossDimensionReachReportCompatibleFields++; if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { - checkUnnamed5458(o.breakdown!); - checkUnnamed5459(o.dimensionFilters!); + checkUnnamed5523(o.breakdown!); + checkUnnamed5524(o.dimensionFilters!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5460(o.metrics!); - checkUnnamed5461(o.overlapMetrics!); + checkUnnamed5525(o.metrics!); + checkUnnamed5526(o.overlapMetrics!); } buildCounterCrossDimensionReachReportCompatibleFields--; } -core.List buildUnnamed5462() => [ +core.List buildUnnamed5527() => [ buildCustomVariable(), buildCustomVariable(), ]; -void checkUnnamed5462(core.List o) { +void checkUnnamed5527(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomVariable(o[0]); checkCustomVariable(o[1]); @@ -4220,7 +4220,7 @@ api.CustomEvent buildCustomEvent() { if (buildCounterCustomEvent < 3) { o.annotateClickEvent = buildCustomEventClickAnnotation(); o.annotateImpressionEvent = buildCustomEventImpressionAnnotation(); - o.customVariables = buildUnnamed5462(); + o.customVariables = buildUnnamed5527(); o.eventType = 'foo'; o.floodlightConfigurationId = 'foo'; o.insertEvent = buildCustomEventInsert(); @@ -4237,7 +4237,7 @@ void checkCustomEvent(api.CustomEvent o) { if (buildCounterCustomEvent < 3) { checkCustomEventClickAnnotation(o.annotateClickEvent!); checkCustomEventImpressionAnnotation(o.annotateImpressionEvent!); - checkUnnamed5462(o.customVariables!); + checkUnnamed5527(o.customVariables!); unittest.expect( o.eventType!, unittest.equals('foo'), @@ -4391,12 +4391,12 @@ void checkCustomEventInsert(api.CustomEventInsert o) { buildCounterCustomEventInsert--; } -core.List buildUnnamed5463() => [ +core.List buildUnnamed5528() => [ buildCustomEventError(), buildCustomEventError(), ]; -void checkUnnamed5463(core.List o) { +void checkUnnamed5528(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomEventError(o[0]); checkCustomEventError(o[1]); @@ -4408,7 +4408,7 @@ api.CustomEventStatus buildCustomEventStatus() { buildCounterCustomEventStatus++; if (buildCounterCustomEventStatus < 3) { o.customEvent = buildCustomEvent(); - o.errors = buildUnnamed5463(); + o.errors = buildUnnamed5528(); o.kind = 'foo'; } buildCounterCustomEventStatus--; @@ -4419,7 +4419,7 @@ void checkCustomEventStatus(api.CustomEventStatus o) { buildCounterCustomEventStatus++; if (buildCounterCustomEventStatus < 3) { checkCustomEvent(o.customEvent!); - checkUnnamed5463(o.errors!); + checkUnnamed5528(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4428,12 +4428,12 @@ void checkCustomEventStatus(api.CustomEventStatus o) { buildCounterCustomEventStatus--; } -core.List buildUnnamed5464() => [ +core.List buildUnnamed5529() => [ buildCustomEvent(), buildCustomEvent(), ]; -void checkUnnamed5464(core.List o) { +void checkUnnamed5529(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomEvent(o[0]); checkCustomEvent(o[1]); @@ -4444,7 +4444,7 @@ api.CustomEventsBatchInsertRequest buildCustomEventsBatchInsertRequest() { final o = api.CustomEventsBatchInsertRequest(); buildCounterCustomEventsBatchInsertRequest++; if (buildCounterCustomEventsBatchInsertRequest < 3) { - o.customEvents = buildUnnamed5464(); + o.customEvents = buildUnnamed5529(); o.kind = 'foo'; } buildCounterCustomEventsBatchInsertRequest--; @@ -4454,7 +4454,7 @@ api.CustomEventsBatchInsertRequest buildCustomEventsBatchInsertRequest() { void checkCustomEventsBatchInsertRequest(api.CustomEventsBatchInsertRequest o) { buildCounterCustomEventsBatchInsertRequest++; if (buildCounterCustomEventsBatchInsertRequest < 3) { - checkUnnamed5464(o.customEvents!); + checkUnnamed5529(o.customEvents!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4463,12 +4463,12 @@ void checkCustomEventsBatchInsertRequest(api.CustomEventsBatchInsertRequest o) { buildCounterCustomEventsBatchInsertRequest--; } -core.List buildUnnamed5465() => [ +core.List buildUnnamed5530() => [ buildCustomEventStatus(), buildCustomEventStatus(), ]; -void checkUnnamed5465(core.List o) { +void checkUnnamed5530(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomEventStatus(o[0]); checkCustomEventStatus(o[1]); @@ -4481,7 +4481,7 @@ api.CustomEventsBatchInsertResponse buildCustomEventsBatchInsertResponse() { if (buildCounterCustomEventsBatchInsertResponse < 3) { o.hasFailures = true; o.kind = 'foo'; - o.status = buildUnnamed5465(); + o.status = buildUnnamed5530(); } buildCounterCustomEventsBatchInsertResponse--; return o; @@ -4496,7 +4496,7 @@ void checkCustomEventsBatchInsertResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5465(o.status!); + checkUnnamed5530(o.status!); } buildCounterCustomEventsBatchInsertResponse--; } @@ -4533,12 +4533,12 @@ void checkCustomFloodlightVariable(api.CustomFloodlightVariable o) { buildCounterCustomFloodlightVariable--; } -core.List buildUnnamed5466() => [ +core.List buildUnnamed5531() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5466(core.List o) { +void checkUnnamed5531(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -4549,7 +4549,7 @@ api.CustomRichMediaEvents buildCustomRichMediaEvents() { final o = api.CustomRichMediaEvents(); buildCounterCustomRichMediaEvents++; if (buildCounterCustomRichMediaEvents < 3) { - o.filteredEventIds = buildUnnamed5466(); + o.filteredEventIds = buildUnnamed5531(); o.kind = 'foo'; } buildCounterCustomRichMediaEvents--; @@ -4559,7 +4559,7 @@ api.CustomRichMediaEvents buildCustomRichMediaEvents() { void checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { buildCounterCustomRichMediaEvents++; if (buildCounterCustomRichMediaEvents < 3) { - checkUnnamed5466(o.filteredEventIds!); + checkUnnamed5531(o.filteredEventIds!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4749,12 +4749,12 @@ void checkDateRange(api.DateRange o) { buildCounterDateRange--; } -core.List buildUnnamed5467() => [ +core.List buildUnnamed5532() => [ 'foo', 'foo', ]; -void checkUnnamed5467(core.List o) { +void checkUnnamed5532(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4766,12 +4766,12 @@ void checkUnnamed5467(core.List o) { ); } -core.List buildUnnamed5468() => [ +core.List buildUnnamed5533() => [ 42, 42, ]; -void checkUnnamed5468(core.List o) { +void checkUnnamed5533(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4788,8 +4788,8 @@ api.DayPartTargeting buildDayPartTargeting() { final o = api.DayPartTargeting(); buildCounterDayPartTargeting++; if (buildCounterDayPartTargeting < 3) { - o.daysOfWeek = buildUnnamed5467(); - o.hoursOfDay = buildUnnamed5468(); + o.daysOfWeek = buildUnnamed5532(); + o.hoursOfDay = buildUnnamed5533(); o.userLocalTime = true; } buildCounterDayPartTargeting--; @@ -4799,19 +4799,19 @@ api.DayPartTargeting buildDayPartTargeting() { void checkDayPartTargeting(api.DayPartTargeting o) { buildCounterDayPartTargeting++; if (buildCounterDayPartTargeting < 3) { - checkUnnamed5467(o.daysOfWeek!); - checkUnnamed5468(o.hoursOfDay!); + checkUnnamed5532(o.daysOfWeek!); + checkUnnamed5533(o.hoursOfDay!); unittest.expect(o.userLocalTime!, unittest.isTrue); } buildCounterDayPartTargeting--; } -core.List buildUnnamed5469() => [ +core.List buildUnnamed5534() => [ 'foo', 'foo', ]; -void checkUnnamed5469(core.List o) { +void checkUnnamed5534(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4832,7 +4832,7 @@ api.DeepLink buildDeepLink() { o.fallbackUrl = 'foo'; o.kind = 'foo'; o.mobileApp = buildMobileApp(); - o.remarketingListIds = buildUnnamed5469(); + o.remarketingListIds = buildUnnamed5534(); } buildCounterDeepLink--; return o; @@ -4854,7 +4854,7 @@ void checkDeepLink(api.DeepLink o) { unittest.equals('foo'), ); checkMobileApp(o.mobileApp!); - checkUnnamed5469(o.remarketingListIds!); + checkUnnamed5534(o.remarketingListIds!); } buildCounterDeepLink--; } @@ -5055,12 +5055,12 @@ void checkDimensionValue(api.DimensionValue o) { buildCounterDimensionValue--; } -core.List buildUnnamed5470() => [ +core.List buildUnnamed5535() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5470(core.List o) { +void checkUnnamed5535(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -5072,7 +5072,7 @@ api.DimensionValueList buildDimensionValueList() { buildCounterDimensionValueList++; if (buildCounterDimensionValueList < 3) { o.etag = 'foo'; - o.items = buildUnnamed5470(); + o.items = buildUnnamed5535(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5087,7 +5087,7 @@ void checkDimensionValueList(api.DimensionValueList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5470(o.items!); + checkUnnamed5535(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5100,12 +5100,12 @@ void checkDimensionValueList(api.DimensionValueList o) { buildCounterDimensionValueList--; } -core.List buildUnnamed5471() => [ +core.List buildUnnamed5536() => [ buildDimensionFilter(), buildDimensionFilter(), ]; -void checkUnnamed5471(core.List o) { +void checkUnnamed5536(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionFilter(o[0]); checkDimensionFilter(o[1]); @@ -5118,7 +5118,7 @@ api.DimensionValueRequest buildDimensionValueRequest() { if (buildCounterDimensionValueRequest < 3) { o.dimensionName = 'foo'; o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); - o.filters = buildUnnamed5471(); + o.filters = buildUnnamed5536(); o.kind = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); } @@ -5137,7 +5137,7 @@ void checkDimensionValueRequest(api.DimensionValueRequest o) { o.endDate!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), ); - checkUnnamed5471(o.filters!); + checkUnnamed5536(o.filters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5150,12 +5150,12 @@ void checkDimensionValueRequest(api.DimensionValueRequest o) { buildCounterDimensionValueRequest--; } -core.List buildUnnamed5472() => [ +core.List buildUnnamed5537() => [ 'foo', 'foo', ]; -void checkUnnamed5472(core.List o) { +void checkUnnamed5537(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5167,12 +5167,12 @@ void checkUnnamed5472(core.List o) { ); } -core.List buildUnnamed5473() => [ +core.List buildUnnamed5538() => [ 'foo', 'foo', ]; -void checkUnnamed5473(core.List o) { +void checkUnnamed5538(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5191,8 +5191,8 @@ api.DirectorySite buildDirectorySite() { if (buildCounterDirectorySite < 3) { o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); - o.inpageTagFormats = buildUnnamed5472(); - o.interstitialTagFormats = buildUnnamed5473(); + o.inpageTagFormats = buildUnnamed5537(); + o.interstitialTagFormats = buildUnnamed5538(); o.kind = 'foo'; o.name = 'foo'; o.settings = buildDirectorySiteSettings(); @@ -5210,8 +5210,8 @@ void checkDirectorySite(api.DirectorySite o) { unittest.equals('foo'), ); checkDimensionValue(o.idDimensionValue!); - checkUnnamed5472(o.inpageTagFormats!); - checkUnnamed5473(o.interstitialTagFormats!); + checkUnnamed5537(o.inpageTagFormats!); + checkUnnamed5538(o.interstitialTagFormats!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5254,12 +5254,12 @@ void checkDirectorySiteSettings(api.DirectorySiteSettings o) { buildCounterDirectorySiteSettings--; } -core.List buildUnnamed5474() => [ +core.List buildUnnamed5539() => [ buildDirectorySite(), buildDirectorySite(), ]; -void checkUnnamed5474(core.List o) { +void checkUnnamed5539(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDirectorySite(o[0]); checkDirectorySite(o[1]); @@ -5270,7 +5270,7 @@ api.DirectorySitesListResponse buildDirectorySitesListResponse() { final o = api.DirectorySitesListResponse(); buildCounterDirectorySitesListResponse++; if (buildCounterDirectorySitesListResponse < 3) { - o.directorySites = buildUnnamed5474(); + o.directorySites = buildUnnamed5539(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5281,7 +5281,7 @@ api.DirectorySitesListResponse buildDirectorySitesListResponse() { void checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { buildCounterDirectorySitesListResponse++; if (buildCounterDirectorySitesListResponse < 3) { - checkUnnamed5474(o.directorySites!); + checkUnnamed5539(o.directorySites!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5294,12 +5294,12 @@ void checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { buildCounterDirectorySitesListResponse--; } -core.List buildUnnamed5475() => [ +core.List buildUnnamed5540() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed5475(core.List o) { +void checkUnnamed5540(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); @@ -5310,7 +5310,7 @@ api.DisjunctiveMatchStatement buildDisjunctiveMatchStatement() { final o = api.DisjunctiveMatchStatement(); buildCounterDisjunctiveMatchStatement++; if (buildCounterDisjunctiveMatchStatement < 3) { - o.eventFilters = buildUnnamed5475(); + o.eventFilters = buildUnnamed5540(); o.kind = 'foo'; } buildCounterDisjunctiveMatchStatement--; @@ -5320,7 +5320,7 @@ api.DisjunctiveMatchStatement buildDisjunctiveMatchStatement() { void checkDisjunctiveMatchStatement(api.DisjunctiveMatchStatement o) { buildCounterDisjunctiveMatchStatement++; if (buildCounterDisjunctiveMatchStatement < 3) { - checkUnnamed5475(o.eventFilters!); + checkUnnamed5540(o.eventFilters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5366,12 +5366,12 @@ void checkDynamicTargetingKey(api.DynamicTargetingKey o) { buildCounterDynamicTargetingKey--; } -core.List buildUnnamed5476() => [ +core.List buildUnnamed5541() => [ buildDynamicTargetingKey(), buildDynamicTargetingKey(), ]; -void checkUnnamed5476(core.List o) { +void checkUnnamed5541(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicTargetingKey(o[0]); checkDynamicTargetingKey(o[1]); @@ -5382,7 +5382,7 @@ api.DynamicTargetingKeysListResponse buildDynamicTargetingKeysListResponse() { final o = api.DynamicTargetingKeysListResponse(); buildCounterDynamicTargetingKeysListResponse++; if (buildCounterDynamicTargetingKeysListResponse < 3) { - o.dynamicTargetingKeys = buildUnnamed5476(); + o.dynamicTargetingKeys = buildUnnamed5541(); o.kind = 'foo'; } buildCounterDynamicTargetingKeysListResponse--; @@ -5393,7 +5393,7 @@ void checkDynamicTargetingKeysListResponse( api.DynamicTargetingKeysListResponse o) { buildCounterDynamicTargetingKeysListResponse++; if (buildCounterDynamicTargetingKeysListResponse < 3) { - checkUnnamed5476(o.dynamicTargetingKeys!); + checkUnnamed5541(o.dynamicTargetingKeys!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5463,12 +5463,12 @@ void checkEventFilter(api.EventFilter o) { buildCounterEventFilter--; } -core.List buildUnnamed5477() => [ +core.List buildUnnamed5542() => [ 'foo', 'foo', ]; -void checkUnnamed5477(core.List o) { +void checkUnnamed5542(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5496,7 +5496,7 @@ api.EventTag buildEventTag() { o.kind = 'foo'; o.name = 'foo'; o.siteFilterType = 'foo'; - o.siteIds = buildUnnamed5477(); + o.siteIds = buildUnnamed5542(); o.sslCompliant = true; o.status = 'foo'; o.subaccountId = 'foo'; @@ -5543,7 +5543,7 @@ void checkEventTag(api.EventTag o) { o.siteFilterType!, unittest.equals('foo'), ); - checkUnnamed5477(o.siteIds!); + checkUnnamed5542(o.siteIds!); unittest.expect(o.sslCompliant!, unittest.isTrue); unittest.expect( o.status!, @@ -5593,12 +5593,12 @@ void checkEventTagOverride(api.EventTagOverride o) { buildCounterEventTagOverride--; } -core.List buildUnnamed5478() => [ +core.List buildUnnamed5543() => [ buildEventTag(), buildEventTag(), ]; -void checkUnnamed5478(core.List o) { +void checkUnnamed5543(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventTag(o[0]); checkEventTag(o[1]); @@ -5609,7 +5609,7 @@ api.EventTagsListResponse buildEventTagsListResponse() { final o = api.EventTagsListResponse(); buildCounterEventTagsListResponse++; if (buildCounterEventTagsListResponse < 3) { - o.eventTags = buildUnnamed5478(); + o.eventTags = buildUnnamed5543(); o.kind = 'foo'; } buildCounterEventTagsListResponse--; @@ -5619,7 +5619,7 @@ api.EventTagsListResponse buildEventTagsListResponse() { void checkEventTagsListResponse(api.EventTagsListResponse o) { buildCounterEventTagsListResponse++; if (buildCounterEventTagsListResponse < 3) { - checkUnnamed5478(o.eventTags!); + checkUnnamed5543(o.eventTags!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5716,12 +5716,12 @@ void checkFile(api.File o) { buildCounterFile--; } -core.List buildUnnamed5479() => [ +core.List buildUnnamed5544() => [ buildFile(), buildFile(), ]; -void checkUnnamed5479(core.List o) { +void checkUnnamed5544(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -5733,7 +5733,7 @@ api.FileList buildFileList() { buildCounterFileList++; if (buildCounterFileList < 3) { o.etag = 'foo'; - o.items = buildUnnamed5479(); + o.items = buildUnnamed5544(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5748,7 +5748,7 @@ void checkFileList(api.FileList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5479(o.items!); + checkUnnamed5544(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5832,12 +5832,12 @@ void checkFloodlightActivitiesGenerateTagResponse( buildCounterFloodlightActivitiesGenerateTagResponse--; } -core.List buildUnnamed5480() => [ +core.List buildUnnamed5545() => [ buildFloodlightActivity(), buildFloodlightActivity(), ]; -void checkUnnamed5480(core.List o) { +void checkUnnamed5545(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivity(o[0]); checkFloodlightActivity(o[1]); @@ -5848,7 +5848,7 @@ api.FloodlightActivitiesListResponse buildFloodlightActivitiesListResponse() { final o = api.FloodlightActivitiesListResponse(); buildCounterFloodlightActivitiesListResponse++; if (buildCounterFloodlightActivitiesListResponse < 3) { - o.floodlightActivities = buildUnnamed5480(); + o.floodlightActivities = buildUnnamed5545(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5860,7 +5860,7 @@ void checkFloodlightActivitiesListResponse( api.FloodlightActivitiesListResponse o) { buildCounterFloodlightActivitiesListResponse++; if (buildCounterFloodlightActivitiesListResponse < 3) { - checkUnnamed5480(o.floodlightActivities!); + checkUnnamed5545(o.floodlightActivities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5873,34 +5873,34 @@ void checkFloodlightActivitiesListResponse( buildCounterFloodlightActivitiesListResponse--; } -core.List buildUnnamed5481() => [ +core.List buildUnnamed5546() => [ buildFloodlightActivityDynamicTag(), buildFloodlightActivityDynamicTag(), ]; -void checkUnnamed5481(core.List o) { +void checkUnnamed5546(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivityDynamicTag(o[0]); checkFloodlightActivityDynamicTag(o[1]); } -core.List buildUnnamed5482() => [ +core.List buildUnnamed5547() => [ buildFloodlightActivityPublisherDynamicTag(), buildFloodlightActivityPublisherDynamicTag(), ]; -void checkUnnamed5482(core.List o) { +void checkUnnamed5547(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivityPublisherDynamicTag(o[0]); checkFloodlightActivityPublisherDynamicTag(o[1]); } -core.List buildUnnamed5483() => [ +core.List buildUnnamed5548() => [ 'foo', 'foo', ]; -void checkUnnamed5483(core.List o) { +void checkUnnamed5548(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5923,7 +5923,7 @@ api.FloodlightActivity buildFloodlightActivity() { o.attributionEnabled = true; o.cacheBustingType = 'foo'; o.countingMethod = 'foo'; - o.defaultTags = buildUnnamed5481(); + o.defaultTags = buildUnnamed5546(); o.expectedUrl = 'foo'; o.floodlightActivityGroupId = 'foo'; o.floodlightActivityGroupName = 'foo'; @@ -5937,7 +5937,7 @@ api.FloodlightActivity buildFloodlightActivity() { o.kind = 'foo'; o.name = 'foo'; o.notes = 'foo'; - o.publisherTags = buildUnnamed5482(); + o.publisherTags = buildUnnamed5547(); o.secure = true; o.sslCompliant = true; o.sslRequired = true; @@ -5945,7 +5945,7 @@ api.FloodlightActivity buildFloodlightActivity() { o.subaccountId = 'foo'; o.tagFormat = 'foo'; o.tagString = 'foo'; - o.userDefinedVariableTypes = buildUnnamed5483(); + o.userDefinedVariableTypes = buildUnnamed5548(); } buildCounterFloodlightActivity--; return o; @@ -5972,7 +5972,7 @@ void checkFloodlightActivity(api.FloodlightActivity o) { o.countingMethod!, unittest.equals('foo'), ); - checkUnnamed5481(o.defaultTags!); + checkUnnamed5546(o.defaultTags!); unittest.expect( o.expectedUrl!, unittest.equals('foo'), @@ -6019,7 +6019,7 @@ void checkFloodlightActivity(api.FloodlightActivity o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed5482(o.publisherTags!); + checkUnnamed5547(o.publisherTags!); unittest.expect(o.secure!, unittest.isTrue); unittest.expect(o.sslCompliant!, unittest.isTrue); unittest.expect(o.sslRequired!, unittest.isTrue); @@ -6039,7 +6039,7 @@ void checkFloodlightActivity(api.FloodlightActivity o) { o.tagString!, unittest.equals('foo'), ); - checkUnnamed5483(o.userDefinedVariableTypes!); + checkUnnamed5548(o.userDefinedVariableTypes!); } buildCounterFloodlightActivity--; } @@ -6144,12 +6144,12 @@ void checkFloodlightActivityGroup(api.FloodlightActivityGroup o) { buildCounterFloodlightActivityGroup--; } -core.List buildUnnamed5484() => [ +core.List buildUnnamed5549() => [ buildFloodlightActivityGroup(), buildFloodlightActivityGroup(), ]; -void checkUnnamed5484(core.List o) { +void checkUnnamed5549(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivityGroup(o[0]); checkFloodlightActivityGroup(o[1]); @@ -6161,7 +6161,7 @@ api.FloodlightActivityGroupsListResponse final o = api.FloodlightActivityGroupsListResponse(); buildCounterFloodlightActivityGroupsListResponse++; if (buildCounterFloodlightActivityGroupsListResponse < 3) { - o.floodlightActivityGroups = buildUnnamed5484(); + o.floodlightActivityGroups = buildUnnamed5549(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -6173,7 +6173,7 @@ void checkFloodlightActivityGroupsListResponse( api.FloodlightActivityGroupsListResponse o) { buildCounterFloodlightActivityGroupsListResponse++; if (buildCounterFloodlightActivityGroupsListResponse < 3) { - checkUnnamed5484(o.floodlightActivityGroups!); + checkUnnamed5549(o.floodlightActivityGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6223,23 +6223,23 @@ void checkFloodlightActivityPublisherDynamicTag( buildCounterFloodlightActivityPublisherDynamicTag--; } -core.List buildUnnamed5485() => [ +core.List buildUnnamed5550() => [ buildThirdPartyAuthenticationToken(), buildThirdPartyAuthenticationToken(), ]; -void checkUnnamed5485(core.List o) { +void checkUnnamed5550(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThirdPartyAuthenticationToken(o[0]); checkThirdPartyAuthenticationToken(o[1]); } -core.List buildUnnamed5486() => [ +core.List buildUnnamed5551() => [ buildUserDefinedVariableConfiguration(), buildUserDefinedVariableConfiguration(), ]; -void checkUnnamed5486(core.List o) { +void checkUnnamed5551(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefinedVariableConfiguration(o[0]); checkUserDefinedVariableConfiguration(o[1]); @@ -6266,8 +6266,8 @@ api.FloodlightConfiguration buildFloodlightConfiguration() { o.omnitureSettings = buildOmnitureSettings(); o.subaccountId = 'foo'; o.tagSettings = buildTagSettings(); - o.thirdPartyAuthenticationTokens = buildUnnamed5485(); - o.userDefinedVariableConfigurations = buildUnnamed5486(); + o.thirdPartyAuthenticationTokens = buildUnnamed5550(); + o.userDefinedVariableConfigurations = buildUnnamed5551(); } buildCounterFloodlightConfiguration--; return o; @@ -6313,18 +6313,18 @@ void checkFloodlightConfiguration(api.FloodlightConfiguration o) { unittest.equals('foo'), ); checkTagSettings(o.tagSettings!); - checkUnnamed5485(o.thirdPartyAuthenticationTokens!); - checkUnnamed5486(o.userDefinedVariableConfigurations!); + checkUnnamed5550(o.thirdPartyAuthenticationTokens!); + checkUnnamed5551(o.userDefinedVariableConfigurations!); } buildCounterFloodlightConfiguration--; } -core.List buildUnnamed5487() => [ +core.List buildUnnamed5552() => [ buildFloodlightConfiguration(), buildFloodlightConfiguration(), ]; -void checkUnnamed5487(core.List o) { +void checkUnnamed5552(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightConfiguration(o[0]); checkFloodlightConfiguration(o[1]); @@ -6336,7 +6336,7 @@ api.FloodlightConfigurationsListResponse final o = api.FloodlightConfigurationsListResponse(); buildCounterFloodlightConfigurationsListResponse++; if (buildCounterFloodlightConfigurationsListResponse < 3) { - o.floodlightConfigurations = buildUnnamed5487(); + o.floodlightConfigurations = buildUnnamed5552(); o.kind = 'foo'; } buildCounterFloodlightConfigurationsListResponse--; @@ -6347,7 +6347,7 @@ void checkFloodlightConfigurationsListResponse( api.FloodlightConfigurationsListResponse o) { buildCounterFloodlightConfigurationsListResponse++; if (buildCounterFloodlightConfigurationsListResponse < 3) { - checkUnnamed5487(o.floodlightConfigurations!); + checkUnnamed5552(o.floodlightConfigurations!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6356,34 +6356,34 @@ void checkFloodlightConfigurationsListResponse( buildCounterFloodlightConfigurationsListResponse--; } -core.List buildUnnamed5488() => [ +core.List buildUnnamed5553() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5488(core.List o) { +void checkUnnamed5553(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5489() => [ +core.List buildUnnamed5554() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5489(core.List o) { +void checkUnnamed5554(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5490() => [ +core.List buildUnnamed5555() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5490(core.List o) { +void checkUnnamed5555(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -6394,10 +6394,10 @@ api.FloodlightReportCompatibleFields buildFloodlightReportCompatibleFields() { final o = api.FloodlightReportCompatibleFields(); buildCounterFloodlightReportCompatibleFields++; if (buildCounterFloodlightReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed5488(); - o.dimensions = buildUnnamed5489(); + o.dimensionFilters = buildUnnamed5553(); + o.dimensions = buildUnnamed5554(); o.kind = 'foo'; - o.metrics = buildUnnamed5490(); + o.metrics = buildUnnamed5555(); } buildCounterFloodlightReportCompatibleFields--; return o; @@ -6407,13 +6407,13 @@ void checkFloodlightReportCompatibleFields( api.FloodlightReportCompatibleFields o) { buildCounterFloodlightReportCompatibleFields++; if (buildCounterFloodlightReportCompatibleFields < 3) { - checkUnnamed5488(o.dimensionFilters!); - checkUnnamed5489(o.dimensions!); + checkUnnamed5553(o.dimensionFilters!); + checkUnnamed5554(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5490(o.metrics!); + checkUnnamed5555(o.metrics!); } buildCounterFloodlightReportCompatibleFields--; } @@ -6487,56 +6487,56 @@ void checkFsCommand(api.FsCommand o) { buildCounterFsCommand--; } -core.List buildUnnamed5491() => [ +core.List buildUnnamed5556() => [ buildCity(), buildCity(), ]; -void checkUnnamed5491(core.List o) { +void checkUnnamed5556(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCity(o[0]); checkCity(o[1]); } -core.List buildUnnamed5492() => [ +core.List buildUnnamed5557() => [ buildCountry(), buildCountry(), ]; -void checkUnnamed5492(core.List o) { +void checkUnnamed5557(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCountry(o[0]); checkCountry(o[1]); } -core.List buildUnnamed5493() => [ +core.List buildUnnamed5558() => [ buildMetro(), buildMetro(), ]; -void checkUnnamed5493(core.List o) { +void checkUnnamed5558(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetro(o[0]); checkMetro(o[1]); } -core.List buildUnnamed5494() => [ +core.List buildUnnamed5559() => [ buildPostalCode(), buildPostalCode(), ]; -void checkUnnamed5494(core.List o) { +void checkUnnamed5559(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCode(o[0]); checkPostalCode(o[1]); } -core.List buildUnnamed5495() => [ +core.List buildUnnamed5560() => [ buildRegion(), buildRegion(), ]; -void checkUnnamed5495(core.List o) { +void checkUnnamed5560(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -6547,12 +6547,12 @@ api.GeoTargeting buildGeoTargeting() { final o = api.GeoTargeting(); buildCounterGeoTargeting++; if (buildCounterGeoTargeting < 3) { - o.cities = buildUnnamed5491(); - o.countries = buildUnnamed5492(); + o.cities = buildUnnamed5556(); + o.countries = buildUnnamed5557(); o.excludeCountries = true; - o.metros = buildUnnamed5493(); - o.postalCodes = buildUnnamed5494(); - o.regions = buildUnnamed5495(); + o.metros = buildUnnamed5558(); + o.postalCodes = buildUnnamed5559(); + o.regions = buildUnnamed5560(); } buildCounterGeoTargeting--; return o; @@ -6561,22 +6561,22 @@ api.GeoTargeting buildGeoTargeting() { void checkGeoTargeting(api.GeoTargeting o) { buildCounterGeoTargeting++; if (buildCounterGeoTargeting < 3) { - checkUnnamed5491(o.cities!); - checkUnnamed5492(o.countries!); + checkUnnamed5556(o.cities!); + checkUnnamed5557(o.countries!); unittest.expect(o.excludeCountries!, unittest.isTrue); - checkUnnamed5493(o.metros!); - checkUnnamed5494(o.postalCodes!); - checkUnnamed5495(o.regions!); + checkUnnamed5558(o.metros!); + checkUnnamed5559(o.postalCodes!); + checkUnnamed5560(o.regions!); } buildCounterGeoTargeting--; } -core.List buildUnnamed5496() => [ +core.List buildUnnamed5561() => [ buildAdSlot(), buildAdSlot(), ]; -void checkUnnamed5496(core.List o) { +void checkUnnamed5561(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdSlot(o[0]); checkAdSlot(o[1]); @@ -6588,7 +6588,7 @@ api.InventoryItem buildInventoryItem() { buildCounterInventoryItem++; if (buildCounterInventoryItem < 3) { o.accountId = 'foo'; - o.adSlots = buildUnnamed5496(); + o.adSlots = buildUnnamed5561(); o.advertiserId = 'foo'; o.contentCategoryId = 'foo'; o.estimatedClickThroughRate = 'foo'; @@ -6619,7 +6619,7 @@ void checkInventoryItem(api.InventoryItem o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5496(o.adSlots!); + checkUnnamed5561(o.adSlots!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -6687,12 +6687,12 @@ void checkInventoryItem(api.InventoryItem o) { buildCounterInventoryItem--; } -core.List buildUnnamed5497() => [ +core.List buildUnnamed5562() => [ buildInventoryItem(), buildInventoryItem(), ]; -void checkUnnamed5497(core.List o) { +void checkUnnamed5562(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryItem(o[0]); checkInventoryItem(o[1]); @@ -6703,7 +6703,7 @@ api.InventoryItemsListResponse buildInventoryItemsListResponse() { final o = api.InventoryItemsListResponse(); buildCounterInventoryItemsListResponse++; if (buildCounterInventoryItemsListResponse < 3) { - o.inventoryItems = buildUnnamed5497(); + o.inventoryItems = buildUnnamed5562(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -6714,7 +6714,7 @@ api.InventoryItemsListResponse buildInventoryItemsListResponse() { void checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { buildCounterInventoryItemsListResponse++; if (buildCounterInventoryItemsListResponse < 3) { - checkUnnamed5497(o.inventoryItems!); + checkUnnamed5562(o.inventoryItems!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6749,12 +6749,12 @@ void checkKeyValueTargetingExpression(api.KeyValueTargetingExpression o) { buildCounterKeyValueTargetingExpression--; } -core.List buildUnnamed5498() => [ +core.List buildUnnamed5563() => [ buildDeepLink(), buildDeepLink(), ]; -void checkUnnamed5498(core.List o) { +void checkUnnamed5563(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeepLink(o[0]); checkDeepLink(o[1]); @@ -6767,7 +6767,7 @@ api.LandingPage buildLandingPage() { if (buildCounterLandingPage < 3) { o.advertiserId = 'foo'; o.archived = true; - o.deepLinks = buildUnnamed5498(); + o.deepLinks = buildUnnamed5563(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; @@ -6785,7 +6785,7 @@ void checkLandingPage(api.LandingPage o) { unittest.equals('foo'), ); unittest.expect(o.archived!, unittest.isTrue); - checkUnnamed5498(o.deepLinks!); + checkUnnamed5563(o.deepLinks!); unittest.expect( o.id!, unittest.equals('foo'), @@ -6843,12 +6843,12 @@ void checkLanguage(api.Language o) { buildCounterLanguage--; } -core.List buildUnnamed5499() => [ +core.List buildUnnamed5564() => [ buildLanguage(), buildLanguage(), ]; -void checkUnnamed5499(core.List o) { +void checkUnnamed5564(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLanguage(o[0]); checkLanguage(o[1]); @@ -6859,7 +6859,7 @@ api.LanguageTargeting buildLanguageTargeting() { final o = api.LanguageTargeting(); buildCounterLanguageTargeting++; if (buildCounterLanguageTargeting < 3) { - o.languages = buildUnnamed5499(); + o.languages = buildUnnamed5564(); } buildCounterLanguageTargeting--; return o; @@ -6868,17 +6868,17 @@ api.LanguageTargeting buildLanguageTargeting() { void checkLanguageTargeting(api.LanguageTargeting o) { buildCounterLanguageTargeting++; if (buildCounterLanguageTargeting < 3) { - checkUnnamed5499(o.languages!); + checkUnnamed5564(o.languages!); } buildCounterLanguageTargeting--; } -core.List buildUnnamed5500() => [ +core.List buildUnnamed5565() => [ buildLanguage(), buildLanguage(), ]; -void checkUnnamed5500(core.List o) { +void checkUnnamed5565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLanguage(o[0]); checkLanguage(o[1]); @@ -6890,7 +6890,7 @@ api.LanguagesListResponse buildLanguagesListResponse() { buildCounterLanguagesListResponse++; if (buildCounterLanguagesListResponse < 3) { o.kind = 'foo'; - o.languages = buildUnnamed5500(); + o.languages = buildUnnamed5565(); } buildCounterLanguagesListResponse--; return o; @@ -6903,7 +6903,7 @@ void checkLanguagesListResponse(api.LanguagesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5500(o.languages!); + checkUnnamed5565(o.languages!); } buildCounterLanguagesListResponse--; } @@ -6930,12 +6930,12 @@ void checkLastModifiedInfo(api.LastModifiedInfo o) { buildCounterLastModifiedInfo--; } -core.List buildUnnamed5501() => [ +core.List buildUnnamed5566() => [ buildListPopulationTerm(), buildListPopulationTerm(), ]; -void checkUnnamed5501(core.List o) { +void checkUnnamed5566(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListPopulationTerm(o[0]); checkListPopulationTerm(o[1]); @@ -6946,7 +6946,7 @@ api.ListPopulationClause buildListPopulationClause() { final o = api.ListPopulationClause(); buildCounterListPopulationClause++; if (buildCounterListPopulationClause < 3) { - o.terms = buildUnnamed5501(); + o.terms = buildUnnamed5566(); } buildCounterListPopulationClause--; return o; @@ -6955,17 +6955,17 @@ api.ListPopulationClause buildListPopulationClause() { void checkListPopulationClause(api.ListPopulationClause o) { buildCounterListPopulationClause++; if (buildCounterListPopulationClause < 3) { - checkUnnamed5501(o.terms!); + checkUnnamed5566(o.terms!); } buildCounterListPopulationClause--; } -core.List buildUnnamed5502() => [ +core.List buildUnnamed5567() => [ buildListPopulationClause(), buildListPopulationClause(), ]; -void checkUnnamed5502(core.List o) { +void checkUnnamed5567(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListPopulationClause(o[0]); checkListPopulationClause(o[1]); @@ -6978,7 +6978,7 @@ api.ListPopulationRule buildListPopulationRule() { if (buildCounterListPopulationRule < 3) { o.floodlightActivityId = 'foo'; o.floodlightActivityName = 'foo'; - o.listPopulationClauses = buildUnnamed5502(); + o.listPopulationClauses = buildUnnamed5567(); } buildCounterListPopulationRule--; return o; @@ -6995,7 +6995,7 @@ void checkListPopulationRule(api.ListPopulationRule o) { o.floodlightActivityName!, unittest.equals('foo'), ); - checkUnnamed5502(o.listPopulationClauses!); + checkUnnamed5567(o.listPopulationClauses!); } buildCounterListPopulationRule--; } @@ -7179,12 +7179,12 @@ void checkMetro(api.Metro o) { buildCounterMetro--; } -core.List buildUnnamed5503() => [ +core.List buildUnnamed5568() => [ buildMetro(), buildMetro(), ]; -void checkUnnamed5503(core.List o) { +void checkUnnamed5568(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetro(o[0]); checkMetro(o[1]); @@ -7196,7 +7196,7 @@ api.MetrosListResponse buildMetrosListResponse() { buildCounterMetrosListResponse++; if (buildCounterMetrosListResponse < 3) { o.kind = 'foo'; - o.metros = buildUnnamed5503(); + o.metros = buildUnnamed5568(); } buildCounterMetrosListResponse--; return o; @@ -7209,7 +7209,7 @@ void checkMetrosListResponse(api.MetrosListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5503(o.metros!); + checkUnnamed5568(o.metros!); } buildCounterMetrosListResponse--; } @@ -7256,12 +7256,12 @@ void checkMobileApp(api.MobileApp o) { buildCounterMobileApp--; } -core.List buildUnnamed5504() => [ +core.List buildUnnamed5569() => [ buildMobileApp(), buildMobileApp(), ]; -void checkUnnamed5504(core.List o) { +void checkUnnamed5569(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileApp(o[0]); checkMobileApp(o[1]); @@ -7273,7 +7273,7 @@ api.MobileAppsListResponse buildMobileAppsListResponse() { buildCounterMobileAppsListResponse++; if (buildCounterMobileAppsListResponse < 3) { o.kind = 'foo'; - o.mobileApps = buildUnnamed5504(); + o.mobileApps = buildUnnamed5569(); o.nextPageToken = 'foo'; } buildCounterMobileAppsListResponse--; @@ -7287,7 +7287,7 @@ void checkMobileAppsListResponse(api.MobileAppsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5504(o.mobileApps!); + checkUnnamed5569(o.mobileApps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -7338,12 +7338,12 @@ void checkMobileCarrier(api.MobileCarrier o) { buildCounterMobileCarrier--; } -core.List buildUnnamed5505() => [ +core.List buildUnnamed5570() => [ buildMobileCarrier(), buildMobileCarrier(), ]; -void checkUnnamed5505(core.List o) { +void checkUnnamed5570(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileCarrier(o[0]); checkMobileCarrier(o[1]); @@ -7355,7 +7355,7 @@ api.MobileCarriersListResponse buildMobileCarriersListResponse() { buildCounterMobileCarriersListResponse++; if (buildCounterMobileCarriersListResponse < 3) { o.kind = 'foo'; - o.mobileCarriers = buildUnnamed5505(); + o.mobileCarriers = buildUnnamed5570(); } buildCounterMobileCarriersListResponse--; return o; @@ -7368,7 +7368,7 @@ void checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5505(o.mobileCarriers!); + checkUnnamed5570(o.mobileCarriers!); } buildCounterMobileCarriersListResponse--; } @@ -7427,12 +7427,12 @@ void checkObaIcon(api.ObaIcon o) { buildCounterObaIcon--; } -core.List buildUnnamed5506() => [ +core.List buildUnnamed5571() => [ 'foo', 'foo', ]; -void checkUnnamed5506(core.List o) { +void checkUnnamed5571(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7450,7 +7450,7 @@ api.ObjectFilter buildObjectFilter() { buildCounterObjectFilter++; if (buildCounterObjectFilter < 3) { o.kind = 'foo'; - o.objectIds = buildUnnamed5506(); + o.objectIds = buildUnnamed5571(); o.status = 'foo'; } buildCounterObjectFilter--; @@ -7464,7 +7464,7 @@ void checkObjectFilter(api.ObjectFilter o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5506(o.objectIds!); + checkUnnamed5571(o.objectIds!); unittest.expect( o.status!, unittest.equals('foo'), @@ -7601,12 +7601,12 @@ void checkOperatingSystemVersion(api.OperatingSystemVersion o) { buildCounterOperatingSystemVersion--; } -core.List buildUnnamed5507() => [ +core.List buildUnnamed5572() => [ buildOperatingSystemVersion(), buildOperatingSystemVersion(), ]; -void checkUnnamed5507(core.List o) { +void checkUnnamed5572(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystemVersion(o[0]); checkOperatingSystemVersion(o[1]); @@ -7619,7 +7619,7 @@ api.OperatingSystemVersionsListResponse buildCounterOperatingSystemVersionsListResponse++; if (buildCounterOperatingSystemVersionsListResponse < 3) { o.kind = 'foo'; - o.operatingSystemVersions = buildUnnamed5507(); + o.operatingSystemVersions = buildUnnamed5572(); } buildCounterOperatingSystemVersionsListResponse--; return o; @@ -7633,17 +7633,17 @@ void checkOperatingSystemVersionsListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5507(o.operatingSystemVersions!); + checkUnnamed5572(o.operatingSystemVersions!); } buildCounterOperatingSystemVersionsListResponse--; } -core.List buildUnnamed5508() => [ +core.List buildUnnamed5573() => [ buildOperatingSystem(), buildOperatingSystem(), ]; -void checkUnnamed5508(core.List o) { +void checkUnnamed5573(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystem(o[0]); checkOperatingSystem(o[1]); @@ -7655,7 +7655,7 @@ api.OperatingSystemsListResponse buildOperatingSystemsListResponse() { buildCounterOperatingSystemsListResponse++; if (buildCounterOperatingSystemsListResponse < 3) { o.kind = 'foo'; - o.operatingSystems = buildUnnamed5508(); + o.operatingSystems = buildUnnamed5573(); } buildCounterOperatingSystemsListResponse--; return o; @@ -7668,7 +7668,7 @@ void checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5508(o.operatingSystems!); + checkUnnamed5573(o.operatingSystems!); } buildCounterOperatingSystemsListResponse--; } @@ -7702,12 +7702,12 @@ void checkOptimizationActivity(api.OptimizationActivity o) { buildCounterOptimizationActivity--; } -core.List buildUnnamed5509() => [ +core.List buildUnnamed5574() => [ 'foo', 'foo', ]; -void checkUnnamed5509(core.List o) { +void checkUnnamed5574(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7719,23 +7719,23 @@ void checkUnnamed5509(core.List o) { ); } -core.List buildUnnamed5510() => [ +core.List buildUnnamed5575() => [ buildOrderContact(), buildOrderContact(), ]; -void checkUnnamed5510(core.List o) { +void checkUnnamed5575(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderContact(o[0]); checkOrderContact(o[1]); } -core.List buildUnnamed5511() => [ +core.List buildUnnamed5576() => [ 'foo', 'foo', ]; -void checkUnnamed5511(core.List o) { +void checkUnnamed5576(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7747,12 +7747,12 @@ void checkUnnamed5511(core.List o) { ); } -core.List buildUnnamed5512() => [ +core.List buildUnnamed5577() => [ 'foo', 'foo', ]; -void checkUnnamed5512(core.List o) { +void checkUnnamed5577(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7771,11 +7771,11 @@ api.Order buildOrder() { if (buildCounterOrder < 3) { o.accountId = 'foo'; o.advertiserId = 'foo'; - o.approverUserProfileIds = buildUnnamed5509(); + o.approverUserProfileIds = buildUnnamed5574(); o.buyerInvoiceId = 'foo'; o.buyerOrganizationName = 'foo'; o.comments = 'foo'; - o.contacts = buildUnnamed5510(); + o.contacts = buildUnnamed5575(); o.id = 'foo'; o.kind = 'foo'; o.lastModifiedInfo = buildLastModifiedInfo(); @@ -7785,8 +7785,8 @@ api.Order buildOrder() { o.projectId = 'foo'; o.sellerOrderId = 'foo'; o.sellerOrganizationName = 'foo'; - o.siteId = buildUnnamed5511(); - o.siteNames = buildUnnamed5512(); + o.siteId = buildUnnamed5576(); + o.siteNames = buildUnnamed5577(); o.subaccountId = 'foo'; o.termsAndConditions = 'foo'; } @@ -7805,7 +7805,7 @@ void checkOrder(api.Order o) { o.advertiserId!, unittest.equals('foo'), ); - checkUnnamed5509(o.approverUserProfileIds!); + checkUnnamed5574(o.approverUserProfileIds!); unittest.expect( o.buyerInvoiceId!, unittest.equals('foo'), @@ -7818,7 +7818,7 @@ void checkOrder(api.Order o) { o.comments!, unittest.equals('foo'), ); - checkUnnamed5510(o.contacts!); + checkUnnamed5575(o.contacts!); unittest.expect( o.id!, unittest.equals('foo'), @@ -7852,8 +7852,8 @@ void checkOrder(api.Order o) { o.sellerOrganizationName!, unittest.equals('foo'), ); - checkUnnamed5511(o.siteId!); - checkUnnamed5512(o.siteNames!); + checkUnnamed5576(o.siteId!); + checkUnnamed5577(o.siteNames!); unittest.expect( o.subaccountId!, unittest.equals('foo'), @@ -7908,12 +7908,12 @@ void checkOrderContact(api.OrderContact o) { buildCounterOrderContact--; } -core.List buildUnnamed5513() => [ +core.List buildUnnamed5578() => [ 'foo', 'foo', ]; -void checkUnnamed5513(core.List o) { +void checkUnnamed5578(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7925,12 +7925,12 @@ void checkUnnamed5513(core.List o) { ); } -core.List buildUnnamed5514() => [ +core.List buildUnnamed5579() => [ 'foo', 'foo', ]; -void checkUnnamed5514(core.List o) { +void checkUnnamed5579(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7950,13 +7950,13 @@ api.OrderDocument buildOrderDocument() { o.accountId = 'foo'; o.advertiserId = 'foo'; o.amendedOrderDocumentId = 'foo'; - o.approvedByUserProfileIds = buildUnnamed5513(); + o.approvedByUserProfileIds = buildUnnamed5578(); o.cancelled = true; o.createdInfo = buildLastModifiedInfo(); o.effectiveDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.id = 'foo'; o.kind = 'foo'; - o.lastSentRecipients = buildUnnamed5514(); + o.lastSentRecipients = buildUnnamed5579(); o.lastSentTime = core.DateTime.parse('2002-02-27T14:01:02'); o.orderId = 'foo'; o.projectId = 'foo'; @@ -7984,7 +7984,7 @@ void checkOrderDocument(api.OrderDocument o) { o.amendedOrderDocumentId!, unittest.equals('foo'), ); - checkUnnamed5513(o.approvedByUserProfileIds!); + checkUnnamed5578(o.approvedByUserProfileIds!); unittest.expect(o.cancelled!, unittest.isTrue); checkLastModifiedInfo(o.createdInfo!); unittest.expect( @@ -7999,7 +7999,7 @@ void checkOrderDocument(api.OrderDocument o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5514(o.lastSentRecipients!); + checkUnnamed5579(o.lastSentRecipients!); unittest.expect( o.lastSentTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -8029,12 +8029,12 @@ void checkOrderDocument(api.OrderDocument o) { buildCounterOrderDocument--; } -core.List buildUnnamed5515() => [ +core.List buildUnnamed5580() => [ buildOrderDocument(), buildOrderDocument(), ]; -void checkUnnamed5515(core.List o) { +void checkUnnamed5580(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderDocument(o[0]); checkOrderDocument(o[1]); @@ -8047,7 +8047,7 @@ api.OrderDocumentsListResponse buildOrderDocumentsListResponse() { if (buildCounterOrderDocumentsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.orderDocuments = buildUnnamed5515(); + o.orderDocuments = buildUnnamed5580(); } buildCounterOrderDocumentsListResponse--; return o; @@ -8064,17 +8064,17 @@ void checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5515(o.orderDocuments!); + checkUnnamed5580(o.orderDocuments!); } buildCounterOrderDocumentsListResponse--; } -core.List buildUnnamed5516() => [ +core.List buildUnnamed5581() => [ buildOrder(), buildOrder(), ]; -void checkUnnamed5516(core.List o) { +void checkUnnamed5581(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrder(o[0]); checkOrder(o[1]); @@ -8087,7 +8087,7 @@ api.OrdersListResponse buildOrdersListResponse() { if (buildCounterOrdersListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.orders = buildUnnamed5516(); + o.orders = buildUnnamed5581(); } buildCounterOrdersListResponse--; return o; @@ -8104,17 +8104,17 @@ void checkOrdersListResponse(api.OrdersListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5516(o.orders!); + checkUnnamed5581(o.orders!); } buildCounterOrdersListResponse--; } -core.List buildUnnamed5517() => [ +core.List buildUnnamed5582() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed5517(core.List o) { +void checkUnnamed5582(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); @@ -8125,7 +8125,7 @@ api.PathFilter buildPathFilter() { final o = api.PathFilter(); buildCounterPathFilter++; if (buildCounterPathFilter < 3) { - o.eventFilters = buildUnnamed5517(); + o.eventFilters = buildUnnamed5582(); o.kind = 'foo'; o.pathMatchPosition = 'foo'; } @@ -8136,7 +8136,7 @@ api.PathFilter buildPathFilter() { void checkPathFilter(api.PathFilter o) { buildCounterPathFilter++; if (buildCounterPathFilter < 3) { - checkUnnamed5517(o.eventFilters!); + checkUnnamed5582(o.eventFilters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -8149,45 +8149,45 @@ void checkPathFilter(api.PathFilter o) { buildCounterPathFilter--; } -core.List buildUnnamed5518() => [ +core.List buildUnnamed5583() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5518(core.List o) { +void checkUnnamed5583(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5519() => [ +core.List buildUnnamed5584() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5519(core.List o) { +void checkUnnamed5584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5520() => [ +core.List buildUnnamed5585() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5520(core.List o) { +void checkUnnamed5585(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed5521() => [ +core.List buildUnnamed5586() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5521(core.List o) { +void checkUnnamed5586(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); @@ -8198,11 +8198,11 @@ api.PathReportCompatibleFields buildPathReportCompatibleFields() { final o = api.PathReportCompatibleFields(); buildCounterPathReportCompatibleFields++; if (buildCounterPathReportCompatibleFields < 3) { - o.channelGroupings = buildUnnamed5518(); - o.dimensions = buildUnnamed5519(); + o.channelGroupings = buildUnnamed5583(); + o.dimensions = buildUnnamed5584(); o.kind = 'foo'; - o.metrics = buildUnnamed5520(); - o.pathFilters = buildUnnamed5521(); + o.metrics = buildUnnamed5585(); + o.pathFilters = buildUnnamed5586(); } buildCounterPathReportCompatibleFields--; return o; @@ -8211,24 +8211,24 @@ api.PathReportCompatibleFields buildPathReportCompatibleFields() { void checkPathReportCompatibleFields(api.PathReportCompatibleFields o) { buildCounterPathReportCompatibleFields++; if (buildCounterPathReportCompatibleFields < 3) { - checkUnnamed5518(o.channelGroupings!); - checkUnnamed5519(o.dimensions!); + checkUnnamed5583(o.channelGroupings!); + checkUnnamed5584(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5520(o.metrics!); - checkUnnamed5521(o.pathFilters!); + checkUnnamed5585(o.metrics!); + checkUnnamed5586(o.pathFilters!); } buildCounterPathReportCompatibleFields--; } -core.List buildUnnamed5522() => [ +core.List buildUnnamed5587() => [ 'foo', 'foo', ]; -void checkUnnamed5522(core.List o) { +void checkUnnamed5587(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8240,12 +8240,12 @@ void checkUnnamed5522(core.List o) { ); } -core.List buildUnnamed5523() => [ +core.List buildUnnamed5588() => [ 'foo', 'foo', ]; -void checkUnnamed5523(core.List o) { +void checkUnnamed5588(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8263,10 +8263,10 @@ api.PathReportDimensionValue buildPathReportDimensionValue() { buildCounterPathReportDimensionValue++; if (buildCounterPathReportDimensionValue < 3) { o.dimensionName = 'foo'; - o.ids = buildUnnamed5522(); + o.ids = buildUnnamed5587(); o.kind = 'foo'; o.matchType = 'foo'; - o.values = buildUnnamed5523(); + o.values = buildUnnamed5588(); } buildCounterPathReportDimensionValue--; return o; @@ -8279,7 +8279,7 @@ void checkPathReportDimensionValue(api.PathReportDimensionValue o) { o.dimensionName!, unittest.equals('foo'), ); - checkUnnamed5522(o.ids!); + checkUnnamed5587(o.ids!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -8288,50 +8288,50 @@ void checkPathReportDimensionValue(api.PathReportDimensionValue o) { o.matchType!, unittest.equals('foo'), ); - checkUnnamed5523(o.values!); + checkUnnamed5588(o.values!); } buildCounterPathReportDimensionValue--; } -core.List buildUnnamed5524() => [ +core.List buildUnnamed5589() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5524(core.List o) { +void checkUnnamed5589(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5525() => [ +core.List buildUnnamed5590() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5525(core.List o) { +void checkUnnamed5590(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5526() => [ +core.List buildUnnamed5591() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5526(core.List o) { +void checkUnnamed5591(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed5527() => [ +core.List buildUnnamed5592() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5527(core.List o) { +void checkUnnamed5592(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); @@ -8343,11 +8343,11 @@ api.PathToConversionReportCompatibleFields final o = api.PathToConversionReportCompatibleFields(); buildCounterPathToConversionReportCompatibleFields++; if (buildCounterPathToConversionReportCompatibleFields < 3) { - o.conversionDimensions = buildUnnamed5524(); - o.customFloodlightVariables = buildUnnamed5525(); + o.conversionDimensions = buildUnnamed5589(); + o.customFloodlightVariables = buildUnnamed5590(); o.kind = 'foo'; - o.metrics = buildUnnamed5526(); - o.perInteractionDimensions = buildUnnamed5527(); + o.metrics = buildUnnamed5591(); + o.perInteractionDimensions = buildUnnamed5592(); } buildCounterPathToConversionReportCompatibleFields--; return o; @@ -8357,35 +8357,35 @@ void checkPathToConversionReportCompatibleFields( api.PathToConversionReportCompatibleFields o) { buildCounterPathToConversionReportCompatibleFields++; if (buildCounterPathToConversionReportCompatibleFields < 3) { - checkUnnamed5524(o.conversionDimensions!); - checkUnnamed5525(o.customFloodlightVariables!); + checkUnnamed5589(o.conversionDimensions!); + checkUnnamed5590(o.customFloodlightVariables!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5526(o.metrics!); - checkUnnamed5527(o.perInteractionDimensions!); + checkUnnamed5591(o.metrics!); + checkUnnamed5592(o.perInteractionDimensions!); } buildCounterPathToConversionReportCompatibleFields--; } -core.List buildUnnamed5528() => [ +core.List buildUnnamed5593() => [ buildSize(), buildSize(), ]; -void checkUnnamed5528(core.List o) { +void checkUnnamed5593(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); } -core.List buildUnnamed5529() => [ +core.List buildUnnamed5594() => [ 'foo', 'foo', ]; -void checkUnnamed5529(core.List o) { +void checkUnnamed5594(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8404,7 +8404,7 @@ api.Placement buildPlacement() { if (buildCounterPlacement < 3) { o.accountId = 'foo'; o.adBlockingOptOut = true; - o.additionalSizes = buildUnnamed5528(); + o.additionalSizes = buildUnnamed5593(); o.advertiserId = 'foo'; o.advertiserIdDimensionValue = buildDimensionValue(); o.archived = true; @@ -8438,7 +8438,7 @@ api.Placement buildPlacement() { o.sslRequired = true; o.status = 'foo'; o.subaccountId = 'foo'; - o.tagFormats = buildUnnamed5529(); + o.tagFormats = buildUnnamed5594(); o.tagSetting = buildTagSetting(); o.videoActiveViewOptOut = true; o.videoSettings = buildVideoSettings(); @@ -8456,7 +8456,7 @@ void checkPlacement(api.Placement o) { unittest.equals('foo'), ); unittest.expect(o.adBlockingOptOut!, unittest.isTrue); - checkUnnamed5528(o.additionalSizes!); + checkUnnamed5593(o.additionalSizes!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -8541,7 +8541,7 @@ void checkPlacement(api.Placement o) { o.subaccountId!, unittest.equals('foo'), ); - checkUnnamed5529(o.tagFormats!); + checkUnnamed5594(o.tagFormats!); checkTagSetting(o.tagSetting!); unittest.expect(o.videoActiveViewOptOut!, unittest.isTrue); checkVideoSettings(o.videoSettings!); @@ -8581,12 +8581,12 @@ void checkPlacementAssignment(api.PlacementAssignment o) { buildCounterPlacementAssignment--; } -core.List buildUnnamed5530() => [ +core.List buildUnnamed5595() => [ 'foo', 'foo', ]; -void checkUnnamed5530(core.List o) { +void checkUnnamed5595(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8609,7 +8609,7 @@ api.PlacementGroup buildPlacementGroup() { o.archived = true; o.campaignId = 'foo'; o.campaignIdDimensionValue = buildDimensionValue(); - o.childPlacementIds = buildUnnamed5530(); + o.childPlacementIds = buildUnnamed5595(); o.comment = 'foo'; o.contentCategoryId = 'foo'; o.createInfo = buildLastModifiedInfo(); @@ -8652,7 +8652,7 @@ void checkPlacementGroup(api.PlacementGroup o) { unittest.equals('foo'), ); checkDimensionValue(o.campaignIdDimensionValue!); - checkUnnamed5530(o.childPlacementIds!); + checkUnnamed5595(o.childPlacementIds!); unittest.expect( o.comment!, unittest.equals('foo'), @@ -8712,12 +8712,12 @@ void checkPlacementGroup(api.PlacementGroup o) { buildCounterPlacementGroup--; } -core.List buildUnnamed5531() => [ +core.List buildUnnamed5596() => [ buildPlacementGroup(), buildPlacementGroup(), ]; -void checkUnnamed5531(core.List o) { +void checkUnnamed5596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementGroup(o[0]); checkPlacementGroup(o[1]); @@ -8730,7 +8730,7 @@ api.PlacementGroupsListResponse buildPlacementGroupsListResponse() { if (buildCounterPlacementGroupsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.placementGroups = buildUnnamed5531(); + o.placementGroups = buildUnnamed5596(); } buildCounterPlacementGroupsListResponse--; return o; @@ -8747,17 +8747,17 @@ void checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5531(o.placementGroups!); + checkUnnamed5596(o.placementGroups!); } buildCounterPlacementGroupsListResponse--; } -core.List buildUnnamed5532() => [ +core.List buildUnnamed5597() => [ buildPlacementStrategy(), buildPlacementStrategy(), ]; -void checkUnnamed5532(core.List o) { +void checkUnnamed5597(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementStrategy(o[0]); checkPlacementStrategy(o[1]); @@ -8770,7 +8770,7 @@ api.PlacementStrategiesListResponse buildPlacementStrategiesListResponse() { if (buildCounterPlacementStrategiesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.placementStrategies = buildUnnamed5532(); + o.placementStrategies = buildUnnamed5597(); } buildCounterPlacementStrategiesListResponse--; return o; @@ -8788,7 +8788,7 @@ void checkPlacementStrategiesListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5532(o.placementStrategies!); + checkUnnamed5597(o.placementStrategies!); } buildCounterPlacementStrategiesListResponse--; } @@ -8830,12 +8830,12 @@ void checkPlacementStrategy(api.PlacementStrategy o) { buildCounterPlacementStrategy--; } -core.List buildUnnamed5533() => [ +core.List buildUnnamed5598() => [ buildTagData(), buildTagData(), ]; -void checkUnnamed5533(core.List o) { +void checkUnnamed5598(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTagData(o[0]); checkTagData(o[1]); @@ -8847,7 +8847,7 @@ api.PlacementTag buildPlacementTag() { buildCounterPlacementTag++; if (buildCounterPlacementTag < 3) { o.placementId = 'foo'; - o.tagDatas = buildUnnamed5533(); + o.tagDatas = buildUnnamed5598(); } buildCounterPlacementTag--; return o; @@ -8860,17 +8860,17 @@ void checkPlacementTag(api.PlacementTag o) { o.placementId!, unittest.equals('foo'), ); - checkUnnamed5533(o.tagDatas!); + checkUnnamed5598(o.tagDatas!); } buildCounterPlacementTag--; } -core.List buildUnnamed5534() => [ +core.List buildUnnamed5599() => [ buildPlacementTag(), buildPlacementTag(), ]; -void checkUnnamed5534(core.List o) { +void checkUnnamed5599(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementTag(o[0]); checkPlacementTag(o[1]); @@ -8882,7 +8882,7 @@ api.PlacementsGenerateTagsResponse buildPlacementsGenerateTagsResponse() { buildCounterPlacementsGenerateTagsResponse++; if (buildCounterPlacementsGenerateTagsResponse < 3) { o.kind = 'foo'; - o.placementTags = buildUnnamed5534(); + o.placementTags = buildUnnamed5599(); } buildCounterPlacementsGenerateTagsResponse--; return o; @@ -8895,17 +8895,17 @@ void checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5534(o.placementTags!); + checkUnnamed5599(o.placementTags!); } buildCounterPlacementsGenerateTagsResponse--; } -core.List buildUnnamed5535() => [ +core.List buildUnnamed5600() => [ buildPlacement(), buildPlacement(), ]; -void checkUnnamed5535(core.List o) { +void checkUnnamed5600(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacement(o[0]); checkPlacement(o[1]); @@ -8918,7 +8918,7 @@ api.PlacementsListResponse buildPlacementsListResponse() { if (buildCounterPlacementsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.placements = buildUnnamed5535(); + o.placements = buildUnnamed5600(); } buildCounterPlacementsListResponse--; return o; @@ -8935,7 +8935,7 @@ void checkPlacementsListResponse(api.PlacementsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5535(o.placements!); + checkUnnamed5600(o.placements!); } buildCounterPlacementsListResponse--; } @@ -8972,12 +8972,12 @@ void checkPlatformType(api.PlatformType o) { buildCounterPlatformType--; } -core.List buildUnnamed5536() => [ +core.List buildUnnamed5601() => [ buildPlatformType(), buildPlatformType(), ]; -void checkUnnamed5536(core.List o) { +void checkUnnamed5601(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlatformType(o[0]); checkPlatformType(o[1]); @@ -8989,7 +8989,7 @@ api.PlatformTypesListResponse buildPlatformTypesListResponse() { buildCounterPlatformTypesListResponse++; if (buildCounterPlatformTypesListResponse < 3) { o.kind = 'foo'; - o.platformTypes = buildUnnamed5536(); + o.platformTypes = buildUnnamed5601(); } buildCounterPlatformTypesListResponse--; return o; @@ -9002,7 +9002,7 @@ void checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5536(o.platformTypes!); + checkUnnamed5601(o.platformTypes!); } buildCounterPlatformTypesListResponse--; } @@ -9090,12 +9090,12 @@ void checkPostalCode(api.PostalCode o) { buildCounterPostalCode--; } -core.List buildUnnamed5537() => [ +core.List buildUnnamed5602() => [ buildPostalCode(), buildPostalCode(), ]; -void checkUnnamed5537(core.List o) { +void checkUnnamed5602(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCode(o[0]); checkPostalCode(o[1]); @@ -9107,7 +9107,7 @@ api.PostalCodesListResponse buildPostalCodesListResponse() { buildCounterPostalCodesListResponse++; if (buildCounterPostalCodesListResponse < 3) { o.kind = 'foo'; - o.postalCodes = buildUnnamed5537(); + o.postalCodes = buildUnnamed5602(); } buildCounterPostalCodesListResponse--; return o; @@ -9120,17 +9120,17 @@ void checkPostalCodesListResponse(api.PostalCodesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5537(o.postalCodes!); + checkUnnamed5602(o.postalCodes!); } buildCounterPostalCodesListResponse--; } -core.List buildUnnamed5538() => [ +core.List buildUnnamed5603() => [ buildFlight(), buildFlight(), ]; -void checkUnnamed5538(core.List o) { +void checkUnnamed5603(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFlight(o[0]); checkFlight(o[1]); @@ -9143,7 +9143,7 @@ api.Pricing buildPricing() { if (buildCounterPricing < 3) { o.capCostType = 'foo'; o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); - o.flights = buildUnnamed5538(); + o.flights = buildUnnamed5603(); o.groupType = 'foo'; o.pricingType = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); @@ -9163,7 +9163,7 @@ void checkPricing(api.Pricing o) { o.endDate!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), ); - checkUnnamed5538(o.flights!); + checkUnnamed5603(o.flights!); unittest.expect( o.groupType!, unittest.equals('foo'), @@ -9180,12 +9180,12 @@ void checkPricing(api.Pricing o) { buildCounterPricing--; } -core.List buildUnnamed5539() => [ +core.List buildUnnamed5604() => [ buildPricingSchedulePricingPeriod(), buildPricingSchedulePricingPeriod(), ]; -void checkUnnamed5539(core.List o) { +void checkUnnamed5604(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPricingSchedulePricingPeriod(o[0]); checkPricingSchedulePricingPeriod(o[1]); @@ -9200,7 +9200,7 @@ api.PricingSchedule buildPricingSchedule() { o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.flighted = true; o.floodlightActivityId = 'foo'; - o.pricingPeriods = buildUnnamed5539(); + o.pricingPeriods = buildUnnamed5604(); o.pricingType = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.testingStartDate = core.DateTime.parse('2002-02-27T14:01:02Z'); @@ -9225,7 +9225,7 @@ void checkPricingSchedule(api.PricingSchedule o) { o.floodlightActivityId!, unittest.equals('foo'), ); - checkUnnamed5539(o.pricingPeriods!); + checkUnnamed5604(o.pricingPeriods!); unittest.expect( o.pricingType!, unittest.equals('foo'), @@ -9408,12 +9408,12 @@ void checkProject(api.Project o) { buildCounterProject--; } -core.List buildUnnamed5540() => [ +core.List buildUnnamed5605() => [ buildProject(), buildProject(), ]; -void checkUnnamed5540(core.List o) { +void checkUnnamed5605(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -9426,7 +9426,7 @@ api.ProjectsListResponse buildProjectsListResponse() { if (buildCounterProjectsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.projects = buildUnnamed5540(); + o.projects = buildUnnamed5605(); } buildCounterProjectsListResponse--; return o; @@ -9443,61 +9443,61 @@ void checkProjectsListResponse(api.ProjectsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5540(o.projects!); + checkUnnamed5605(o.projects!); } buildCounterProjectsListResponse--; } -core.List buildUnnamed5541() => [ +core.List buildUnnamed5606() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5541(core.List o) { +void checkUnnamed5606(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5542() => [ +core.List buildUnnamed5607() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5542(core.List o) { +void checkUnnamed5607(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5543() => [ +core.List buildUnnamed5608() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5543(core.List o) { +void checkUnnamed5608(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed5544() => [ +core.List buildUnnamed5609() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5544(core.List o) { +void checkUnnamed5609(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed5545() => [ +core.List buildUnnamed5610() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5545(core.List o) { +void checkUnnamed5610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -9508,12 +9508,12 @@ api.ReachReportCompatibleFields buildReachReportCompatibleFields() { final o = api.ReachReportCompatibleFields(); buildCounterReachReportCompatibleFields++; if (buildCounterReachReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed5541(); - o.dimensions = buildUnnamed5542(); + o.dimensionFilters = buildUnnamed5606(); + o.dimensions = buildUnnamed5607(); o.kind = 'foo'; - o.metrics = buildUnnamed5543(); - o.pivotedActivityMetrics = buildUnnamed5544(); - o.reachByFrequencyMetrics = buildUnnamed5545(); + o.metrics = buildUnnamed5608(); + o.pivotedActivityMetrics = buildUnnamed5609(); + o.reachByFrequencyMetrics = buildUnnamed5610(); } buildCounterReachReportCompatibleFields--; return o; @@ -9522,15 +9522,15 @@ api.ReachReportCompatibleFields buildReachReportCompatibleFields() { void checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { buildCounterReachReportCompatibleFields++; if (buildCounterReachReportCompatibleFields < 3) { - checkUnnamed5541(o.dimensionFilters!); - checkUnnamed5542(o.dimensions!); + checkUnnamed5606(o.dimensionFilters!); + checkUnnamed5607(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5543(o.metrics!); - checkUnnamed5544(o.pivotedActivityMetrics!); - checkUnnamed5545(o.reachByFrequencyMetrics!); + checkUnnamed5608(o.metrics!); + checkUnnamed5609(o.pivotedActivityMetrics!); + checkUnnamed5610(o.reachByFrequencyMetrics!); } buildCounterReachReportCompatibleFields--; } @@ -9614,12 +9614,12 @@ void checkRegion(api.Region o) { buildCounterRegion--; } -core.List buildUnnamed5546() => [ +core.List buildUnnamed5611() => [ buildRegion(), buildRegion(), ]; -void checkUnnamed5546(core.List o) { +void checkUnnamed5611(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -9631,7 +9631,7 @@ api.RegionsListResponse buildRegionsListResponse() { buildCounterRegionsListResponse++; if (buildCounterRegionsListResponse < 3) { o.kind = 'foo'; - o.regions = buildUnnamed5546(); + o.regions = buildUnnamed5611(); } buildCounterRegionsListResponse--; return o; @@ -9644,7 +9644,7 @@ void checkRegionsListResponse(api.RegionsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5546(o.regions!); + checkUnnamed5611(o.regions!); } buildCounterRegionsListResponse--; } @@ -9722,12 +9722,12 @@ void checkRemarketingList(api.RemarketingList o) { buildCounterRemarketingList--; } -core.List buildUnnamed5547() => [ +core.List buildUnnamed5612() => [ 'foo', 'foo', ]; -void checkUnnamed5547(core.List o) { +void checkUnnamed5612(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9739,12 +9739,12 @@ void checkUnnamed5547(core.List o) { ); } -core.List buildUnnamed5548() => [ +core.List buildUnnamed5613() => [ 'foo', 'foo', ]; -void checkUnnamed5548(core.List o) { +void checkUnnamed5613(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9763,8 +9763,8 @@ api.RemarketingListShare buildRemarketingListShare() { if (buildCounterRemarketingListShare < 3) { o.kind = 'foo'; o.remarketingListId = 'foo'; - o.sharedAccountIds = buildUnnamed5547(); - o.sharedAdvertiserIds = buildUnnamed5548(); + o.sharedAccountIds = buildUnnamed5612(); + o.sharedAdvertiserIds = buildUnnamed5613(); } buildCounterRemarketingListShare--; return o; @@ -9781,18 +9781,18 @@ void checkRemarketingListShare(api.RemarketingListShare o) { o.remarketingListId!, unittest.equals('foo'), ); - checkUnnamed5547(o.sharedAccountIds!); - checkUnnamed5548(o.sharedAdvertiserIds!); + checkUnnamed5612(o.sharedAccountIds!); + checkUnnamed5613(o.sharedAdvertiserIds!); } buildCounterRemarketingListShare--; } -core.List buildUnnamed5549() => [ +core.List buildUnnamed5614() => [ buildRemarketingList(), buildRemarketingList(), ]; -void checkUnnamed5549(core.List o) { +void checkUnnamed5614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRemarketingList(o[0]); checkRemarketingList(o[1]); @@ -9805,7 +9805,7 @@ api.RemarketingListsListResponse buildRemarketingListsListResponse() { if (buildCounterRemarketingListsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.remarketingLists = buildUnnamed5549(); + o.remarketingLists = buildUnnamed5614(); } buildCounterRemarketingListsListResponse--; return o; @@ -9822,39 +9822,39 @@ void checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5549(o.remarketingLists!); + checkUnnamed5614(o.remarketingLists!); } buildCounterRemarketingListsListResponse--; } -core.List buildUnnamed5550() => [ +core.List buildUnnamed5615() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5550(core.List o) { +void checkUnnamed5615(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5551() => [ +core.List buildUnnamed5616() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5551(core.List o) { +void checkUnnamed5616(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5552() => [ +core.List buildUnnamed5617() => [ 'foo', 'foo', ]; -void checkUnnamed5552(core.List o) { +void checkUnnamed5617(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9874,9 +9874,9 @@ api.ReportCriteria buildReportCriteria() { o.activities = buildActivities(); o.customRichMediaEvents = buildCustomRichMediaEvents(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed5550(); - o.dimensions = buildUnnamed5551(); - o.metricNames = buildUnnamed5552(); + o.dimensionFilters = buildUnnamed5615(); + o.dimensions = buildUnnamed5616(); + o.metricNames = buildUnnamed5617(); } buildCounterReportCriteria--; return o; @@ -9888,41 +9888,41 @@ void checkReportCriteria(api.ReportCriteria o) { checkActivities(o.activities!); checkCustomRichMediaEvents(o.customRichMediaEvents!); checkDateRange(o.dateRange!); - checkUnnamed5550(o.dimensionFilters!); - checkUnnamed5551(o.dimensions!); - checkUnnamed5552(o.metricNames!); + checkUnnamed5615(o.dimensionFilters!); + checkUnnamed5616(o.dimensions!); + checkUnnamed5617(o.metricNames!); } buildCounterReportCriteria--; } -core.List buildUnnamed5553() => [ +core.List buildUnnamed5618() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5553(core.List o) { +void checkUnnamed5618(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5554() => [ +core.List buildUnnamed5619() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5554(core.List o) { +void checkUnnamed5619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5555() => [ +core.List buildUnnamed5620() => [ 'foo', 'foo', ]; -void checkUnnamed5555(core.List o) { +void checkUnnamed5620(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9934,12 +9934,12 @@ void checkUnnamed5555(core.List o) { ); } -core.List buildUnnamed5556() => [ +core.List buildUnnamed5621() => [ 'foo', 'foo', ]; -void checkUnnamed5556(core.List o) { +void checkUnnamed5621(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9956,12 +9956,12 @@ api.ReportCrossDimensionReachCriteria buildReportCrossDimensionReachCriteria() { final o = api.ReportCrossDimensionReachCriteria(); buildCounterReportCrossDimensionReachCriteria++; if (buildCounterReportCrossDimensionReachCriteria < 3) { - o.breakdown = buildUnnamed5553(); + o.breakdown = buildUnnamed5618(); o.dateRange = buildDateRange(); o.dimension = 'foo'; - o.dimensionFilters = buildUnnamed5554(); - o.metricNames = buildUnnamed5555(); - o.overlapMetricNames = buildUnnamed5556(); + o.dimensionFilters = buildUnnamed5619(); + o.metricNames = buildUnnamed5620(); + o.overlapMetricNames = buildUnnamed5621(); o.pivoted = true; } buildCounterReportCrossDimensionReachCriteria--; @@ -9972,26 +9972,26 @@ void checkReportCrossDimensionReachCriteria( api.ReportCrossDimensionReachCriteria o) { buildCounterReportCrossDimensionReachCriteria++; if (buildCounterReportCrossDimensionReachCriteria < 3) { - checkUnnamed5553(o.breakdown!); + checkUnnamed5618(o.breakdown!); checkDateRange(o.dateRange!); unittest.expect( o.dimension!, unittest.equals('foo'), ); - checkUnnamed5554(o.dimensionFilters!); - checkUnnamed5555(o.metricNames!); - checkUnnamed5556(o.overlapMetricNames!); + checkUnnamed5619(o.dimensionFilters!); + checkUnnamed5620(o.metricNames!); + checkUnnamed5621(o.overlapMetricNames!); unittest.expect(o.pivoted!, unittest.isTrue); } buildCounterReportCrossDimensionReachCriteria--; } -core.List buildUnnamed5557() => [ +core.List buildUnnamed5622() => [ buildRecipient(), buildRecipient(), ]; -void checkUnnamed5557(core.List o) { +void checkUnnamed5622(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRecipient(o[0]); checkRecipient(o[1]); @@ -10005,7 +10005,7 @@ api.ReportDelivery buildReportDelivery() { o.emailOwner = true; o.emailOwnerDeliveryType = 'foo'; o.message = 'foo'; - o.recipients = buildUnnamed5557(); + o.recipients = buildUnnamed5622(); } buildCounterReportDelivery--; return o; @@ -10023,50 +10023,50 @@ void checkReportDelivery(api.ReportDelivery o) { o.message!, unittest.equals('foo'), ); - checkUnnamed5557(o.recipients!); + checkUnnamed5622(o.recipients!); } buildCounterReportDelivery--; } -core.List buildUnnamed5558() => [ +core.List buildUnnamed5623() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5558(core.List o) { +void checkUnnamed5623(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5559() => [ +core.List buildUnnamed5624() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5559(core.List o) { +void checkUnnamed5624(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5560() => [ +core.List buildUnnamed5625() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5560(core.List o) { +void checkUnnamed5625(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5561() => [ +core.List buildUnnamed5626() => [ 'foo', 'foo', ]; -void checkUnnamed5561(core.List o) { +void checkUnnamed5626(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10108,12 +10108,12 @@ api.ReportFloodlightCriteria buildReportFloodlightCriteria() { final o = api.ReportFloodlightCriteria(); buildCounterReportFloodlightCriteria++; if (buildCounterReportFloodlightCriteria < 3) { - o.customRichMediaEvents = buildUnnamed5558(); + o.customRichMediaEvents = buildUnnamed5623(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed5559(); - o.dimensions = buildUnnamed5560(); + o.dimensionFilters = buildUnnamed5624(); + o.dimensions = buildUnnamed5625(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed5561(); + o.metricNames = buildUnnamed5626(); o.reportProperties = buildReportFloodlightCriteriaReportProperties(); } buildCounterReportFloodlightCriteria--; @@ -10123,45 +10123,45 @@ api.ReportFloodlightCriteria buildReportFloodlightCriteria() { void checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { buildCounterReportFloodlightCriteria++; if (buildCounterReportFloodlightCriteria < 3) { - checkUnnamed5558(o.customRichMediaEvents!); + checkUnnamed5623(o.customRichMediaEvents!); checkDateRange(o.dateRange!); - checkUnnamed5559(o.dimensionFilters!); - checkUnnamed5560(o.dimensions!); + checkUnnamed5624(o.dimensionFilters!); + checkUnnamed5625(o.dimensions!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed5561(o.metricNames!); + checkUnnamed5626(o.metricNames!); checkReportFloodlightCriteriaReportProperties(o.reportProperties!); } buildCounterReportFloodlightCriteria--; } -core.List buildUnnamed5562() => [ +core.List buildUnnamed5627() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5562(core.List o) { +void checkUnnamed5627(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5563() => [ +core.List buildUnnamed5628() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5563(core.List o) { +void checkUnnamed5628(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5564() => [ +core.List buildUnnamed5629() => [ 'foo', 'foo', ]; -void checkUnnamed5564(core.List o) { +void checkUnnamed5629(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10173,12 +10173,12 @@ void checkUnnamed5564(core.List o) { ); } -core.List buildUnnamed5565() => [ +core.List buildUnnamed5630() => [ buildPathFilter(), buildPathFilter(), ]; -void checkUnnamed5565(core.List o) { +void checkUnnamed5630(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathFilter(o[0]); checkPathFilter(o[1]); @@ -10189,13 +10189,13 @@ api.ReportPathAttributionCriteria buildReportPathAttributionCriteria() { final o = api.ReportPathAttributionCriteria(); buildCounterReportPathAttributionCriteria++; if (buildCounterReportPathAttributionCriteria < 3) { - o.activityFilters = buildUnnamed5562(); + o.activityFilters = buildUnnamed5627(); o.customChannelGrouping = buildChannelGrouping(); o.dateRange = buildDateRange(); - o.dimensions = buildUnnamed5563(); + o.dimensions = buildUnnamed5628(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed5564(); - o.pathFilters = buildUnnamed5565(); + o.metricNames = buildUnnamed5629(); + o.pathFilters = buildUnnamed5630(); } buildCounterReportPathAttributionCriteria--; return o; @@ -10204,45 +10204,45 @@ api.ReportPathAttributionCriteria buildReportPathAttributionCriteria() { void checkReportPathAttributionCriteria(api.ReportPathAttributionCriteria o) { buildCounterReportPathAttributionCriteria++; if (buildCounterReportPathAttributionCriteria < 3) { - checkUnnamed5562(o.activityFilters!); + checkUnnamed5627(o.activityFilters!); checkChannelGrouping(o.customChannelGrouping!); checkDateRange(o.dateRange!); - checkUnnamed5563(o.dimensions!); + checkUnnamed5628(o.dimensions!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed5564(o.metricNames!); - checkUnnamed5565(o.pathFilters!); + checkUnnamed5629(o.metricNames!); + checkUnnamed5630(o.pathFilters!); } buildCounterReportPathAttributionCriteria--; } -core.List buildUnnamed5566() => [ +core.List buildUnnamed5631() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5566(core.List o) { +void checkUnnamed5631(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5567() => [ +core.List buildUnnamed5632() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5567(core.List o) { +void checkUnnamed5632(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5568() => [ +core.List buildUnnamed5633() => [ 'foo', 'foo', ]; -void checkUnnamed5568(core.List o) { +void checkUnnamed5633(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10254,12 +10254,12 @@ void checkUnnamed5568(core.List o) { ); } -core.List buildUnnamed5569() => [ +core.List buildUnnamed5634() => [ buildPathFilter(), buildPathFilter(), ]; -void checkUnnamed5569(core.List o) { +void checkUnnamed5634(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathFilter(o[0]); checkPathFilter(o[1]); @@ -10270,13 +10270,13 @@ api.ReportPathCriteria buildReportPathCriteria() { final o = api.ReportPathCriteria(); buildCounterReportPathCriteria++; if (buildCounterReportPathCriteria < 3) { - o.activityFilters = buildUnnamed5566(); + o.activityFilters = buildUnnamed5631(); o.customChannelGrouping = buildChannelGrouping(); o.dateRange = buildDateRange(); - o.dimensions = buildUnnamed5567(); + o.dimensions = buildUnnamed5632(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed5568(); - o.pathFilters = buildUnnamed5569(); + o.metricNames = buildUnnamed5633(); + o.pathFilters = buildUnnamed5634(); } buildCounterReportPathCriteria--; return o; @@ -10285,67 +10285,67 @@ api.ReportPathCriteria buildReportPathCriteria() { void checkReportPathCriteria(api.ReportPathCriteria o) { buildCounterReportPathCriteria++; if (buildCounterReportPathCriteria < 3) { - checkUnnamed5566(o.activityFilters!); + checkUnnamed5631(o.activityFilters!); checkChannelGrouping(o.customChannelGrouping!); checkDateRange(o.dateRange!); - checkUnnamed5567(o.dimensions!); + checkUnnamed5632(o.dimensions!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed5568(o.metricNames!); - checkUnnamed5569(o.pathFilters!); + checkUnnamed5633(o.metricNames!); + checkUnnamed5634(o.pathFilters!); } buildCounterReportPathCriteria--; } -core.List buildUnnamed5570() => [ +core.List buildUnnamed5635() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5570(core.List o) { +void checkUnnamed5635(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5571() => [ +core.List buildUnnamed5636() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5571(core.List o) { +void checkUnnamed5636(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5572() => [ +core.List buildUnnamed5637() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5572(core.List o) { +void checkUnnamed5637(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5573() => [ +core.List buildUnnamed5638() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5573(core.List o) { +void checkUnnamed5638(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5574() => [ +core.List buildUnnamed5639() => [ 'foo', 'foo', ]; -void checkUnnamed5574(core.List o) { +void checkUnnamed5639(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10357,12 +10357,12 @@ void checkUnnamed5574(core.List o) { ); } -core.List buildUnnamed5575() => [ +core.List buildUnnamed5640() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5575(core.List o) { +void checkUnnamed5640(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); @@ -10425,14 +10425,14 @@ api.ReportPathToConversionCriteria buildReportPathToConversionCriteria() { final o = api.ReportPathToConversionCriteria(); buildCounterReportPathToConversionCriteria++; if (buildCounterReportPathToConversionCriteria < 3) { - o.activityFilters = buildUnnamed5570(); - o.conversionDimensions = buildUnnamed5571(); - o.customFloodlightVariables = buildUnnamed5572(); - o.customRichMediaEvents = buildUnnamed5573(); + o.activityFilters = buildUnnamed5635(); + o.conversionDimensions = buildUnnamed5636(); + o.customFloodlightVariables = buildUnnamed5637(); + o.customRichMediaEvents = buildUnnamed5638(); o.dateRange = buildDateRange(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed5574(); - o.perInteractionDimensions = buildUnnamed5575(); + o.metricNames = buildUnnamed5639(); + o.perInteractionDimensions = buildUnnamed5640(); o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); } buildCounterReportPathToConversionCriteria--; @@ -10442,47 +10442,47 @@ api.ReportPathToConversionCriteria buildReportPathToConversionCriteria() { void checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { buildCounterReportPathToConversionCriteria++; if (buildCounterReportPathToConversionCriteria < 3) { - checkUnnamed5570(o.activityFilters!); - checkUnnamed5571(o.conversionDimensions!); - checkUnnamed5572(o.customFloodlightVariables!); - checkUnnamed5573(o.customRichMediaEvents!); + checkUnnamed5635(o.activityFilters!); + checkUnnamed5636(o.conversionDimensions!); + checkUnnamed5637(o.customFloodlightVariables!); + checkUnnamed5638(o.customRichMediaEvents!); checkDateRange(o.dateRange!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed5574(o.metricNames!); - checkUnnamed5575(o.perInteractionDimensions!); + checkUnnamed5639(o.metricNames!); + checkUnnamed5640(o.perInteractionDimensions!); checkReportPathToConversionCriteriaReportProperties(o.reportProperties!); } buildCounterReportPathToConversionCriteria--; } -core.List buildUnnamed5576() => [ +core.List buildUnnamed5641() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed5576(core.List o) { +void checkUnnamed5641(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed5577() => [ +core.List buildUnnamed5642() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed5577(core.List o) { +void checkUnnamed5642(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed5578() => [ +core.List buildUnnamed5643() => [ 'foo', 'foo', ]; -void checkUnnamed5578(core.List o) { +void checkUnnamed5643(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10494,12 +10494,12 @@ void checkUnnamed5578(core.List o) { ); } -core.List buildUnnamed5579() => [ +core.List buildUnnamed5644() => [ 'foo', 'foo', ]; -void checkUnnamed5579(core.List o) { +void checkUnnamed5644(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10519,11 +10519,11 @@ api.ReportReachCriteria buildReportReachCriteria() { o.activities = buildActivities(); o.customRichMediaEvents = buildCustomRichMediaEvents(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed5576(); - o.dimensions = buildUnnamed5577(); + o.dimensionFilters = buildUnnamed5641(); + o.dimensions = buildUnnamed5642(); o.enableAllDimensionCombinations = true; - o.metricNames = buildUnnamed5578(); - o.reachByFrequencyMetricNames = buildUnnamed5579(); + o.metricNames = buildUnnamed5643(); + o.reachByFrequencyMetricNames = buildUnnamed5644(); } buildCounterReportReachCriteria--; return o; @@ -10535,21 +10535,21 @@ void checkReportReachCriteria(api.ReportReachCriteria o) { checkActivities(o.activities!); checkCustomRichMediaEvents(o.customRichMediaEvents!); checkDateRange(o.dateRange!); - checkUnnamed5576(o.dimensionFilters!); - checkUnnamed5577(o.dimensions!); + checkUnnamed5641(o.dimensionFilters!); + checkUnnamed5642(o.dimensions!); unittest.expect(o.enableAllDimensionCombinations!, unittest.isTrue); - checkUnnamed5578(o.metricNames!); - checkUnnamed5579(o.reachByFrequencyMetricNames!); + checkUnnamed5643(o.metricNames!); + checkUnnamed5644(o.reachByFrequencyMetricNames!); } buildCounterReportReachCriteria--; } -core.List buildUnnamed5580() => [ +core.List buildUnnamed5645() => [ 'foo', 'foo', ]; -void checkUnnamed5580(core.List o) { +void checkUnnamed5645(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10570,7 +10570,7 @@ api.ReportSchedule buildReportSchedule() { o.every = 42; o.expirationDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.repeats = 'foo'; - o.repeatsOnWeekDays = buildUnnamed5580(); + o.repeatsOnWeekDays = buildUnnamed5645(); o.runsOnDayOfMonth = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); } @@ -10594,7 +10594,7 @@ void checkReportSchedule(api.ReportSchedule o) { o.repeats!, unittest.equals('foo'), ); - checkUnnamed5580(o.repeatsOnWeekDays!); + checkUnnamed5645(o.repeatsOnWeekDays!); unittest.expect( o.runsOnDayOfMonth!, unittest.equals('foo'), @@ -10697,45 +10697,45 @@ void checkReport(api.Report o) { buildCounterReport--; } -core.List buildUnnamed5581() => [ +core.List buildUnnamed5646() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5581(core.List o) { +void checkUnnamed5646(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5582() => [ +core.List buildUnnamed5647() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed5582(core.List o) { +void checkUnnamed5647(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed5583() => [ +core.List buildUnnamed5648() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5583(core.List o) { +void checkUnnamed5648(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed5584() => [ +core.List buildUnnamed5649() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed5584(core.List o) { +void checkUnnamed5649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -10746,11 +10746,11 @@ api.ReportCompatibleFields buildReportCompatibleFields() { final o = api.ReportCompatibleFields(); buildCounterReportCompatibleFields++; if (buildCounterReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed5581(); - o.dimensions = buildUnnamed5582(); + o.dimensionFilters = buildUnnamed5646(); + o.dimensions = buildUnnamed5647(); o.kind = 'foo'; - o.metrics = buildUnnamed5583(); - o.pivotedActivityMetrics = buildUnnamed5584(); + o.metrics = buildUnnamed5648(); + o.pivotedActivityMetrics = buildUnnamed5649(); } buildCounterReportCompatibleFields--; return o; @@ -10759,24 +10759,24 @@ api.ReportCompatibleFields buildReportCompatibleFields() { void checkReportCompatibleFields(api.ReportCompatibleFields o) { buildCounterReportCompatibleFields++; if (buildCounterReportCompatibleFields < 3) { - checkUnnamed5581(o.dimensionFilters!); - checkUnnamed5582(o.dimensions!); + checkUnnamed5646(o.dimensionFilters!); + checkUnnamed5647(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed5583(o.metrics!); - checkUnnamed5584(o.pivotedActivityMetrics!); + checkUnnamed5648(o.metrics!); + checkUnnamed5649(o.pivotedActivityMetrics!); } buildCounterReportCompatibleFields--; } -core.List buildUnnamed5585() => [ +core.List buildUnnamed5650() => [ buildReport(), buildReport(), ]; -void checkUnnamed5585(core.List o) { +void checkUnnamed5650(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -10788,7 +10788,7 @@ api.ReportList buildReportList() { buildCounterReportList++; if (buildCounterReportList < 3) { o.etag = 'foo'; - o.items = buildUnnamed5585(); + o.items = buildUnnamed5650(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -10803,7 +10803,7 @@ void checkReportList(api.ReportList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5585(o.items!); + checkUnnamed5650(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10900,12 +10900,12 @@ void checkRule(api.Rule o) { buildCounterRule--; } -core.List buildUnnamed5586() => [ +core.List buildUnnamed5651() => [ buildSiteContact(), buildSiteContact(), ]; -void checkUnnamed5586(core.List o) { +void checkUnnamed5651(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSiteContact(o[0]); checkSiteContact(o[1]); @@ -10925,7 +10925,7 @@ api.Site buildSite() { o.keyName = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.siteContacts = buildUnnamed5586(); + o.siteContacts = buildUnnamed5651(); o.siteSettings = buildSiteSettings(); o.subaccountId = 'foo'; o.videoSettings = buildSiteVideoSettings(); @@ -10964,7 +10964,7 @@ void checkSite(api.Site o) { o.name!, unittest.equals('foo'), ); - checkUnnamed5586(o.siteContacts!); + checkUnnamed5651(o.siteContacts!); checkSiteSettings(o.siteSettings!); unittest.expect( o.subaccountId!, @@ -10975,12 +10975,12 @@ void checkSite(api.Site o) { buildCounterSite--; } -core.List buildUnnamed5587() => [ +core.List buildUnnamed5652() => [ buildSize(), buildSize(), ]; -void checkUnnamed5587(core.List o) { +void checkUnnamed5652(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -10992,7 +10992,7 @@ api.SiteCompanionSetting buildSiteCompanionSetting() { buildCounterSiteCompanionSetting++; if (buildCounterSiteCompanionSetting < 3) { o.companionsDisabled = true; - o.enabledSizes = buildUnnamed5587(); + o.enabledSizes = buildUnnamed5652(); o.imageOnly = true; o.kind = 'foo'; } @@ -11004,7 +11004,7 @@ void checkSiteCompanionSetting(api.SiteCompanionSetting o) { buildCounterSiteCompanionSetting++; if (buildCounterSiteCompanionSetting < 3) { unittest.expect(o.companionsDisabled!, unittest.isTrue); - checkUnnamed5587(o.enabledSizes!); + checkUnnamed5652(o.enabledSizes!); unittest.expect(o.imageOnly!, unittest.isTrue); unittest.expect( o.kind!, @@ -11131,12 +11131,12 @@ void checkSiteSkippableSetting(api.SiteSkippableSetting o) { buildCounterSiteSkippableSetting--; } -core.List buildUnnamed5588() => [ +core.List buildUnnamed5653() => [ 42, 42, ]; -void checkUnnamed5588(core.List o) { +void checkUnnamed5653(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11153,7 +11153,7 @@ api.SiteTranscodeSetting buildSiteTranscodeSetting() { final o = api.SiteTranscodeSetting(); buildCounterSiteTranscodeSetting++; if (buildCounterSiteTranscodeSetting < 3) { - o.enabledVideoFormats = buildUnnamed5588(); + o.enabledVideoFormats = buildUnnamed5653(); o.kind = 'foo'; } buildCounterSiteTranscodeSetting--; @@ -11163,7 +11163,7 @@ api.SiteTranscodeSetting buildSiteTranscodeSetting() { void checkSiteTranscodeSetting(api.SiteTranscodeSetting o) { buildCounterSiteTranscodeSetting++; if (buildCounterSiteTranscodeSetting < 3) { - checkUnnamed5588(o.enabledVideoFormats!); + checkUnnamed5653(o.enabledVideoFormats!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11209,12 +11209,12 @@ void checkSiteVideoSettings(api.SiteVideoSettings o) { buildCounterSiteVideoSettings--; } -core.List buildUnnamed5589() => [ +core.List buildUnnamed5654() => [ buildSite(), buildSite(), ]; -void checkUnnamed5589(core.List o) { +void checkUnnamed5654(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -11227,7 +11227,7 @@ api.SitesListResponse buildSitesListResponse() { if (buildCounterSitesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.sites = buildUnnamed5589(); + o.sites = buildUnnamed5654(); } buildCounterSitesListResponse--; return o; @@ -11244,7 +11244,7 @@ void checkSitesListResponse(api.SitesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5589(o.sites!); + checkUnnamed5654(o.sites!); } buildCounterSitesListResponse--; } @@ -11288,12 +11288,12 @@ void checkSize(api.Size o) { buildCounterSize--; } -core.List buildUnnamed5590() => [ +core.List buildUnnamed5655() => [ buildSize(), buildSize(), ]; -void checkUnnamed5590(core.List o) { +void checkUnnamed5655(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -11305,7 +11305,7 @@ api.SizesListResponse buildSizesListResponse() { buildCounterSizesListResponse++; if (buildCounterSizesListResponse < 3) { o.kind = 'foo'; - o.sizes = buildUnnamed5590(); + o.sizes = buildUnnamed5655(); } buildCounterSizesListResponse--; return o; @@ -11318,7 +11318,7 @@ void checkSizesListResponse(api.SizesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5590(o.sizes!); + checkUnnamed5655(o.sizes!); } buildCounterSizesListResponse--; } @@ -11383,12 +11383,12 @@ void checkSortedDimension(api.SortedDimension o) { buildCounterSortedDimension--; } -core.List buildUnnamed5591() => [ +core.List buildUnnamed5656() => [ 'foo', 'foo', ]; -void checkUnnamed5591(core.List o) { +void checkUnnamed5656(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11406,7 +11406,7 @@ api.Subaccount buildSubaccount() { buildCounterSubaccount++; if (buildCounterSubaccount < 3) { o.accountId = 'foo'; - o.availablePermissionIds = buildUnnamed5591(); + o.availablePermissionIds = buildUnnamed5656(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; @@ -11422,7 +11422,7 @@ void checkSubaccount(api.Subaccount o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5591(o.availablePermissionIds!); + checkUnnamed5656(o.availablePermissionIds!); unittest.expect( o.id!, unittest.equals('foo'), @@ -11439,12 +11439,12 @@ void checkSubaccount(api.Subaccount o) { buildCounterSubaccount--; } -core.List buildUnnamed5592() => [ +core.List buildUnnamed5657() => [ buildSubaccount(), buildSubaccount(), ]; -void checkUnnamed5592(core.List o) { +void checkUnnamed5657(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubaccount(o[0]); checkSubaccount(o[1]); @@ -11457,7 +11457,7 @@ api.SubaccountsListResponse buildSubaccountsListResponse() { if (buildCounterSubaccountsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.subaccounts = buildUnnamed5592(); + o.subaccounts = buildUnnamed5657(); } buildCounterSubaccountsListResponse--; return o; @@ -11474,7 +11474,7 @@ void checkSubaccountsListResponse(api.SubaccountsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5592(o.subaccounts!); + checkUnnamed5657(o.subaccounts!); } buildCounterSubaccountsListResponse--; } @@ -11671,12 +11671,12 @@ void checkTargetableRemarketingList(api.TargetableRemarketingList o) { buildCounterTargetableRemarketingList--; } -core.List buildUnnamed5593() => [ +core.List buildUnnamed5658() => [ buildTargetableRemarketingList(), buildTargetableRemarketingList(), ]; -void checkUnnamed5593(core.List o) { +void checkUnnamed5658(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetableRemarketingList(o[0]); checkTargetableRemarketingList(o[1]); @@ -11690,7 +11690,7 @@ api.TargetableRemarketingListsListResponse if (buildCounterTargetableRemarketingListsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.targetableRemarketingLists = buildUnnamed5593(); + o.targetableRemarketingLists = buildUnnamed5658(); } buildCounterTargetableRemarketingListsListResponse--; return o; @@ -11708,7 +11708,7 @@ void checkTargetableRemarketingListsListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5593(o.targetableRemarketingLists!); + checkUnnamed5658(o.targetableRemarketingLists!); } buildCounterTargetableRemarketingListsListResponse--; } @@ -11774,12 +11774,12 @@ void checkTargetingTemplate(api.TargetingTemplate o) { buildCounterTargetingTemplate--; } -core.List buildUnnamed5594() => [ +core.List buildUnnamed5659() => [ buildTargetingTemplate(), buildTargetingTemplate(), ]; -void checkUnnamed5594(core.List o) { +void checkUnnamed5659(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingTemplate(o[0]); checkTargetingTemplate(o[1]); @@ -11792,7 +11792,7 @@ api.TargetingTemplatesListResponse buildTargetingTemplatesListResponse() { if (buildCounterTargetingTemplatesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.targetingTemplates = buildUnnamed5594(); + o.targetingTemplates = buildUnnamed5659(); } buildCounterTargetingTemplatesListResponse--; return o; @@ -11809,72 +11809,72 @@ void checkTargetingTemplatesListResponse(api.TargetingTemplatesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5594(o.targetingTemplates!); + checkUnnamed5659(o.targetingTemplates!); } buildCounterTargetingTemplatesListResponse--; } -core.List buildUnnamed5595() => [ +core.List buildUnnamed5660() => [ buildBrowser(), buildBrowser(), ]; -void checkUnnamed5595(core.List o) { +void checkUnnamed5660(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBrowser(o[0]); checkBrowser(o[1]); } -core.List buildUnnamed5596() => [ +core.List buildUnnamed5661() => [ buildConnectionType(), buildConnectionType(), ]; -void checkUnnamed5596(core.List o) { +void checkUnnamed5661(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionType(o[0]); checkConnectionType(o[1]); } -core.List buildUnnamed5597() => [ +core.List buildUnnamed5662() => [ buildMobileCarrier(), buildMobileCarrier(), ]; -void checkUnnamed5597(core.List o) { +void checkUnnamed5662(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileCarrier(o[0]); checkMobileCarrier(o[1]); } -core.List buildUnnamed5598() => [ +core.List buildUnnamed5663() => [ buildOperatingSystemVersion(), buildOperatingSystemVersion(), ]; -void checkUnnamed5598(core.List o) { +void checkUnnamed5663(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystemVersion(o[0]); checkOperatingSystemVersion(o[1]); } -core.List buildUnnamed5599() => [ +core.List buildUnnamed5664() => [ buildOperatingSystem(), buildOperatingSystem(), ]; -void checkUnnamed5599(core.List o) { +void checkUnnamed5664(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystem(o[0]); checkOperatingSystem(o[1]); } -core.List buildUnnamed5600() => [ +core.List buildUnnamed5665() => [ buildPlatformType(), buildPlatformType(), ]; -void checkUnnamed5600(core.List o) { +void checkUnnamed5665(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlatformType(o[0]); checkPlatformType(o[1]); @@ -11885,12 +11885,12 @@ api.TechnologyTargeting buildTechnologyTargeting() { final o = api.TechnologyTargeting(); buildCounterTechnologyTargeting++; if (buildCounterTechnologyTargeting < 3) { - o.browsers = buildUnnamed5595(); - o.connectionTypes = buildUnnamed5596(); - o.mobileCarriers = buildUnnamed5597(); - o.operatingSystemVersions = buildUnnamed5598(); - o.operatingSystems = buildUnnamed5599(); - o.platformTypes = buildUnnamed5600(); + o.browsers = buildUnnamed5660(); + o.connectionTypes = buildUnnamed5661(); + o.mobileCarriers = buildUnnamed5662(); + o.operatingSystemVersions = buildUnnamed5663(); + o.operatingSystems = buildUnnamed5664(); + o.platformTypes = buildUnnamed5665(); } buildCounterTechnologyTargeting--; return o; @@ -11899,12 +11899,12 @@ api.TechnologyTargeting buildTechnologyTargeting() { void checkTechnologyTargeting(api.TechnologyTargeting o) { buildCounterTechnologyTargeting++; if (buildCounterTechnologyTargeting < 3) { - checkUnnamed5595(o.browsers!); - checkUnnamed5596(o.connectionTypes!); - checkUnnamed5597(o.mobileCarriers!); - checkUnnamed5598(o.operatingSystemVersions!); - checkUnnamed5599(o.operatingSystems!); - checkUnnamed5600(o.platformTypes!); + checkUnnamed5660(o.browsers!); + checkUnnamed5661(o.connectionTypes!); + checkUnnamed5662(o.mobileCarriers!); + checkUnnamed5663(o.operatingSystemVersions!); + checkUnnamed5664(o.operatingSystems!); + checkUnnamed5665(o.platformTypes!); } buildCounterTechnologyTargeting--; } @@ -11963,12 +11963,12 @@ void checkThirdPartyTrackingUrl(api.ThirdPartyTrackingUrl o) { buildCounterThirdPartyTrackingUrl--; } -core.List buildUnnamed5601() => [ +core.List buildUnnamed5666() => [ 42, 42, ]; -void checkUnnamed5601(core.List o) { +void checkUnnamed5666(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11985,7 +11985,7 @@ api.TranscodeSetting buildTranscodeSetting() { final o = api.TranscodeSetting(); buildCounterTranscodeSetting++; if (buildCounterTranscodeSetting < 3) { - o.enabledVideoFormats = buildUnnamed5601(); + o.enabledVideoFormats = buildUnnamed5666(); o.kind = 'foo'; } buildCounterTranscodeSetting--; @@ -11995,7 +11995,7 @@ api.TranscodeSetting buildTranscodeSetting() { void checkTranscodeSetting(api.TranscodeSetting o) { buildCounterTranscodeSetting++; if (buildCounterTranscodeSetting < 3) { - checkUnnamed5601(o.enabledVideoFormats!); + checkUnnamed5666(o.enabledVideoFormats!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -12121,12 +12121,12 @@ void checkUserProfile(api.UserProfile o) { buildCounterUserProfile--; } -core.List buildUnnamed5602() => [ +core.List buildUnnamed5667() => [ buildUserProfile(), buildUserProfile(), ]; -void checkUnnamed5602(core.List o) { +void checkUnnamed5667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserProfile(o[0]); checkUserProfile(o[1]); @@ -12138,7 +12138,7 @@ api.UserProfileList buildUserProfileList() { buildCounterUserProfileList++; if (buildCounterUserProfileList < 3) { o.etag = 'foo'; - o.items = buildUnnamed5602(); + o.items = buildUnnamed5667(); o.kind = 'foo'; } buildCounterUserProfileList--; @@ -12152,7 +12152,7 @@ void checkUserProfileList(api.UserProfileList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed5602(o.items!); + checkUnnamed5667(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -12161,12 +12161,12 @@ void checkUserProfileList(api.UserProfileList o) { buildCounterUserProfileList--; } -core.List buildUnnamed5603() => [ +core.List buildUnnamed5668() => [ buildUserRolePermission(), buildUserRolePermission(), ]; -void checkUnnamed5603(core.List o) { +void checkUnnamed5668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRolePermission(o[0]); checkUserRolePermission(o[1]); @@ -12183,7 +12183,7 @@ api.UserRole buildUserRole() { o.kind = 'foo'; o.name = 'foo'; o.parentUserRoleId = 'foo'; - o.permissions = buildUnnamed5603(); + o.permissions = buildUnnamed5668(); o.subaccountId = 'foo'; } buildCounterUserRole--; @@ -12214,7 +12214,7 @@ void checkUserRole(api.UserRole o) { o.parentUserRoleId!, unittest.equals('foo'), ); - checkUnnamed5603(o.permissions!); + checkUnnamed5668(o.permissions!); unittest.expect( o.subaccountId!, unittest.equals('foo'), @@ -12297,12 +12297,12 @@ void checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { buildCounterUserRolePermissionGroup--; } -core.List buildUnnamed5604() => [ +core.List buildUnnamed5669() => [ buildUserRolePermissionGroup(), buildUserRolePermissionGroup(), ]; -void checkUnnamed5604(core.List o) { +void checkUnnamed5669(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRolePermissionGroup(o[0]); checkUserRolePermissionGroup(o[1]); @@ -12315,7 +12315,7 @@ api.UserRolePermissionGroupsListResponse buildCounterUserRolePermissionGroupsListResponse++; if (buildCounterUserRolePermissionGroupsListResponse < 3) { o.kind = 'foo'; - o.userRolePermissionGroups = buildUnnamed5604(); + o.userRolePermissionGroups = buildUnnamed5669(); } buildCounterUserRolePermissionGroupsListResponse--; return o; @@ -12329,17 +12329,17 @@ void checkUserRolePermissionGroupsListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5604(o.userRolePermissionGroups!); + checkUnnamed5669(o.userRolePermissionGroups!); } buildCounterUserRolePermissionGroupsListResponse--; } -core.List buildUnnamed5605() => [ +core.List buildUnnamed5670() => [ buildUserRolePermission(), buildUserRolePermission(), ]; -void checkUnnamed5605(core.List o) { +void checkUnnamed5670(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRolePermission(o[0]); checkUserRolePermission(o[1]); @@ -12351,7 +12351,7 @@ api.UserRolePermissionsListResponse buildUserRolePermissionsListResponse() { buildCounterUserRolePermissionsListResponse++; if (buildCounterUserRolePermissionsListResponse < 3) { o.kind = 'foo'; - o.userRolePermissions = buildUnnamed5605(); + o.userRolePermissions = buildUnnamed5670(); } buildCounterUserRolePermissionsListResponse--; return o; @@ -12365,17 +12365,17 @@ void checkUserRolePermissionsListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed5605(o.userRolePermissions!); + checkUnnamed5670(o.userRolePermissions!); } buildCounterUserRolePermissionsListResponse--; } -core.List buildUnnamed5606() => [ +core.List buildUnnamed5671() => [ buildUserRole(), buildUserRole(), ]; -void checkUnnamed5606(core.List o) { +void checkUnnamed5671(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRole(o[0]); checkUserRole(o[1]); @@ -12388,7 +12388,7 @@ api.UserRolesListResponse buildUserRolesListResponse() { if (buildCounterUserRolesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.userRoles = buildUnnamed5606(); + o.userRoles = buildUnnamed5671(); } buildCounterUserRolesListResponse--; return o; @@ -12405,7 +12405,7 @@ void checkUserRolesListResponse(api.UserRolesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5606(o.userRoles!); + checkUnnamed5671(o.userRoles!); } buildCounterUserRolesListResponse--; } @@ -12449,12 +12449,12 @@ void checkVideoFormat(api.VideoFormat o) { buildCounterVideoFormat--; } -core.List buildUnnamed5607() => [ +core.List buildUnnamed5672() => [ buildVideoFormat(), buildVideoFormat(), ]; -void checkUnnamed5607(core.List o) { +void checkUnnamed5672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoFormat(o[0]); checkVideoFormat(o[1]); @@ -12466,7 +12466,7 @@ api.VideoFormatsListResponse buildVideoFormatsListResponse() { buildCounterVideoFormatsListResponse++; if (buildCounterVideoFormatsListResponse < 3) { o.kind = 'foo'; - o.videoFormats = buildUnnamed5607(); + o.videoFormats = buildUnnamed5672(); } buildCounterVideoFormatsListResponse--; return o; @@ -12479,7 +12479,7 @@ void checkVideoFormatsListResponse(api.VideoFormatsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5607(o.videoFormats!); + checkUnnamed5672(o.videoFormats!); } buildCounterVideoFormatsListResponse--; } @@ -12548,12 +12548,12 @@ void checkVideoSettings(api.VideoSettings o) { buildCounterVideoSettings--; } -core.List buildUnnamed5608() => [ +core.List buildUnnamed5673() => [ 'foo', 'foo', ]; -void checkUnnamed5608(core.List o) { +void checkUnnamed5673(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12565,12 +12565,12 @@ void checkUnnamed5608(core.List o) { ); } -core.List buildUnnamed5609() => [ +core.List buildUnnamed5674() => [ 'foo', 'foo', ]; -void checkUnnamed5609(core.List o) { +void checkUnnamed5674(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12582,12 +12582,12 @@ void checkUnnamed5609(core.List o) { ); } -core.List buildUnnamed5610() => [ +core.List buildUnnamed5675() => [ 'foo', 'foo', ]; -void checkUnnamed5610(core.List o) { +void checkUnnamed5675(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12599,12 +12599,12 @@ void checkUnnamed5610(core.List o) { ); } -core.List buildUnnamed5611() => [ +core.List buildUnnamed5676() => [ 'foo', 'foo', ]; -void checkUnnamed5611(core.List o) { +void checkUnnamed5676(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12616,12 +12616,12 @@ void checkUnnamed5611(core.List o) { ); } -core.List buildUnnamed5612() => [ +core.List buildUnnamed5677() => [ 'foo', 'foo', ]; -void checkUnnamed5612(core.List o) { +void checkUnnamed5677(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12633,12 +12633,12 @@ void checkUnnamed5612(core.List o) { ); } -core.List buildUnnamed5613() => [ +core.List buildUnnamed5678() => [ 'foo', 'foo', ]; -void checkUnnamed5613(core.List o) { +void checkUnnamed5678(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12650,12 +12650,12 @@ void checkUnnamed5613(core.List o) { ); } -core.List buildUnnamed5614() => [ +core.List buildUnnamed5679() => [ 'foo', 'foo', ]; -void checkUnnamed5614(core.List o) { +void checkUnnamed5679(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12667,12 +12667,12 @@ void checkUnnamed5614(core.List o) { ); } -core.List buildUnnamed5615() => [ +core.List buildUnnamed5680() => [ 'foo', 'foo', ]; -void checkUnnamed5615(core.List o) { +void checkUnnamed5680(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12684,12 +12684,12 @@ void checkUnnamed5615(core.List o) { ); } -core.List buildUnnamed5616() => [ +core.List buildUnnamed5681() => [ 'foo', 'foo', ]; -void checkUnnamed5616(core.List o) { +void checkUnnamed5681(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12701,12 +12701,12 @@ void checkUnnamed5616(core.List o) { ); } -core.List buildUnnamed5617() => [ +core.List buildUnnamed5682() => [ 'foo', 'foo', ]; -void checkUnnamed5617(core.List o) { +void checkUnnamed5682(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12718,12 +12718,12 @@ void checkUnnamed5617(core.List o) { ); } -core.List buildUnnamed5618() => [ +core.List buildUnnamed5683() => [ 'foo', 'foo', ]; -void checkUnnamed5618(core.List o) { +void checkUnnamed5683(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12735,12 +12735,12 @@ void checkUnnamed5618(core.List o) { ); } -core.List buildUnnamed5619() => [ +core.List buildUnnamed5684() => [ 'foo', 'foo', ]; -void checkUnnamed5619(core.List o) { +void checkUnnamed5684(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12752,12 +12752,12 @@ void checkUnnamed5619(core.List o) { ); } -core.List buildUnnamed5620() => [ +core.List buildUnnamed5685() => [ 'foo', 'foo', ]; -void checkUnnamed5620(core.List o) { +void checkUnnamed5685(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12769,12 +12769,12 @@ void checkUnnamed5620(core.List o) { ); } -core.List buildUnnamed5621() => [ +core.List buildUnnamed5686() => [ 'foo', 'foo', ]; -void checkUnnamed5621(core.List o) { +void checkUnnamed5686(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12786,12 +12786,12 @@ void checkUnnamed5621(core.List o) { ); } -core.List buildUnnamed5622() => [ +core.List buildUnnamed5687() => [ 'foo', 'foo', ]; -void checkUnnamed5622(core.List o) { +void checkUnnamed5687(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12803,12 +12803,12 @@ void checkUnnamed5622(core.List o) { ); } -core.List buildUnnamed5623() => [ +core.List buildUnnamed5688() => [ 'foo', 'foo', ]; -void checkUnnamed5623(core.List o) { +void checkUnnamed5688(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12820,12 +12820,12 @@ void checkUnnamed5623(core.List o) { ); } -core.List buildUnnamed5624() => [ +core.List buildUnnamed5689() => [ 'foo', 'foo', ]; -void checkUnnamed5624(core.List o) { +void checkUnnamed5689(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12837,12 +12837,12 @@ void checkUnnamed5624(core.List o) { ); } -core.List buildUnnamed5625() => [ +core.List buildUnnamed5690() => [ 'foo', 'foo', ]; -void checkUnnamed5625(core.List o) { +void checkUnnamed5690(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12854,12 +12854,12 @@ void checkUnnamed5625(core.List o) { ); } -core.List buildUnnamed5626() => [ +core.List buildUnnamed5691() => [ 'foo', 'foo', ]; -void checkUnnamed5626(core.List o) { +void checkUnnamed5691(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12871,12 +12871,12 @@ void checkUnnamed5626(core.List o) { ); } -core.List buildUnnamed5627() => [ +core.List buildUnnamed5692() => [ 'foo', 'foo', ]; -void checkUnnamed5627(core.List o) { +void checkUnnamed5692(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12888,12 +12888,12 @@ void checkUnnamed5627(core.List o) { ); } -core.List buildUnnamed5628() => [ +core.List buildUnnamed5693() => [ 'foo', 'foo', ]; -void checkUnnamed5628(core.List o) { +void checkUnnamed5693(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12905,12 +12905,12 @@ void checkUnnamed5628(core.List o) { ); } -core.List buildUnnamed5629() => [ +core.List buildUnnamed5694() => [ 'foo', 'foo', ]; -void checkUnnamed5629(core.List o) { +void checkUnnamed5694(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12922,12 +12922,12 @@ void checkUnnamed5629(core.List o) { ); } -core.List buildUnnamed5630() => [ +core.List buildUnnamed5695() => [ 'foo', 'foo', ]; -void checkUnnamed5630(core.List o) { +void checkUnnamed5695(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12939,12 +12939,12 @@ void checkUnnamed5630(core.List o) { ); } -core.List buildUnnamed5631() => [ +core.List buildUnnamed5696() => [ 'foo', 'foo', ]; -void checkUnnamed5631(core.List o) { +void checkUnnamed5696(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12956,12 +12956,12 @@ void checkUnnamed5631(core.List o) { ); } -core.List buildUnnamed5632() => [ +core.List buildUnnamed5697() => [ 'foo', 'foo', ]; -void checkUnnamed5632(core.List o) { +void checkUnnamed5697(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12973,12 +12973,12 @@ void checkUnnamed5632(core.List o) { ); } -core.List buildUnnamed5633() => [ +core.List buildUnnamed5698() => [ 'foo', 'foo', ]; -void checkUnnamed5633(core.List o) { +void checkUnnamed5698(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12990,12 +12990,12 @@ void checkUnnamed5633(core.List o) { ); } -core.List buildUnnamed5634() => [ +core.List buildUnnamed5699() => [ 'foo', 'foo', ]; -void checkUnnamed5634(core.List o) { +void checkUnnamed5699(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13007,12 +13007,12 @@ void checkUnnamed5634(core.List o) { ); } -core.List buildUnnamed5635() => [ +core.List buildUnnamed5700() => [ 'foo', 'foo', ]; -void checkUnnamed5635(core.List o) { +void checkUnnamed5700(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13024,12 +13024,12 @@ void checkUnnamed5635(core.List o) { ); } -core.List buildUnnamed5636() => [ +core.List buildUnnamed5701() => [ 'foo', 'foo', ]; -void checkUnnamed5636(core.List o) { +void checkUnnamed5701(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13041,12 +13041,12 @@ void checkUnnamed5636(core.List o) { ); } -core.List buildUnnamed5637() => [ +core.List buildUnnamed5702() => [ 'foo', 'foo', ]; -void checkUnnamed5637(core.List o) { +void checkUnnamed5702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13058,12 +13058,12 @@ void checkUnnamed5637(core.List o) { ); } -core.List buildUnnamed5638() => [ +core.List buildUnnamed5703() => [ 'foo', 'foo', ]; -void checkUnnamed5638(core.List o) { +void checkUnnamed5703(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13075,12 +13075,12 @@ void checkUnnamed5638(core.List o) { ); } -core.List buildUnnamed5639() => [ +core.List buildUnnamed5704() => [ 'foo', 'foo', ]; -void checkUnnamed5639(core.List o) { +void checkUnnamed5704(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13092,12 +13092,12 @@ void checkUnnamed5639(core.List o) { ); } -core.List buildUnnamed5640() => [ +core.List buildUnnamed5705() => [ 'foo', 'foo', ]; -void checkUnnamed5640(core.List o) { +void checkUnnamed5705(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13109,12 +13109,12 @@ void checkUnnamed5640(core.List o) { ); } -core.List buildUnnamed5641() => [ +core.List buildUnnamed5706() => [ 'foo', 'foo', ]; -void checkUnnamed5641(core.List o) { +void checkUnnamed5706(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13126,12 +13126,12 @@ void checkUnnamed5641(core.List o) { ); } -core.List buildUnnamed5642() => [ +core.List buildUnnamed5707() => [ 'foo', 'foo', ]; -void checkUnnamed5642(core.List o) { +void checkUnnamed5707(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13143,12 +13143,12 @@ void checkUnnamed5642(core.List o) { ); } -core.List buildUnnamed5643() => [ +core.List buildUnnamed5708() => [ 'foo', 'foo', ]; -void checkUnnamed5643(core.List o) { +void checkUnnamed5708(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13160,12 +13160,12 @@ void checkUnnamed5643(core.List o) { ); } -core.List buildUnnamed5644() => [ +core.List buildUnnamed5709() => [ 'foo', 'foo', ]; -void checkUnnamed5644(core.List o) { +void checkUnnamed5709(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13177,12 +13177,12 @@ void checkUnnamed5644(core.List o) { ); } -core.List buildUnnamed5645() => [ +core.List buildUnnamed5710() => [ 'foo', 'foo', ]; -void checkUnnamed5645(core.List o) { +void checkUnnamed5710(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13194,12 +13194,12 @@ void checkUnnamed5645(core.List o) { ); } -core.List buildUnnamed5646() => [ +core.List buildUnnamed5711() => [ 'foo', 'foo', ]; -void checkUnnamed5646(core.List o) { +void checkUnnamed5711(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13211,12 +13211,12 @@ void checkUnnamed5646(core.List o) { ); } -core.List buildUnnamed5647() => [ +core.List buildUnnamed5712() => [ 'foo', 'foo', ]; -void checkUnnamed5647(core.List o) { +void checkUnnamed5712(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13228,12 +13228,12 @@ void checkUnnamed5647(core.List o) { ); } -core.List buildUnnamed5648() => [ +core.List buildUnnamed5713() => [ 'foo', 'foo', ]; -void checkUnnamed5648(core.List o) { +void checkUnnamed5713(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13245,12 +13245,12 @@ void checkUnnamed5648(core.List o) { ); } -core.List buildUnnamed5649() => [ +core.List buildUnnamed5714() => [ 'foo', 'foo', ]; -void checkUnnamed5649(core.List o) { +void checkUnnamed5714(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13262,12 +13262,12 @@ void checkUnnamed5649(core.List o) { ); } -core.List buildUnnamed5650() => [ +core.List buildUnnamed5715() => [ 'foo', 'foo', ]; -void checkUnnamed5650(core.List o) { +void checkUnnamed5715(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13279,12 +13279,12 @@ void checkUnnamed5650(core.List o) { ); } -core.List buildUnnamed5651() => [ +core.List buildUnnamed5716() => [ 'foo', 'foo', ]; -void checkUnnamed5651(core.List o) { +void checkUnnamed5716(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13296,12 +13296,12 @@ void checkUnnamed5651(core.List o) { ); } -core.List buildUnnamed5652() => [ +core.List buildUnnamed5717() => [ 'foo', 'foo', ]; -void checkUnnamed5652(core.List o) { +void checkUnnamed5717(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13313,12 +13313,12 @@ void checkUnnamed5652(core.List o) { ); } -core.List buildUnnamed5653() => [ +core.List buildUnnamed5718() => [ 'foo', 'foo', ]; -void checkUnnamed5653(core.List o) { +void checkUnnamed5718(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13330,12 +13330,12 @@ void checkUnnamed5653(core.List o) { ); } -core.List buildUnnamed5654() => [ +core.List buildUnnamed5719() => [ 'foo', 'foo', ]; -void checkUnnamed5654(core.List o) { +void checkUnnamed5719(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13347,12 +13347,12 @@ void checkUnnamed5654(core.List o) { ); } -core.List buildUnnamed5655() => [ +core.List buildUnnamed5720() => [ 'foo', 'foo', ]; -void checkUnnamed5655(core.List o) { +void checkUnnamed5720(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13364,12 +13364,12 @@ void checkUnnamed5655(core.List o) { ); } -core.List buildUnnamed5656() => [ +core.List buildUnnamed5721() => [ 'foo', 'foo', ]; -void checkUnnamed5656(core.List o) { +void checkUnnamed5721(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13381,12 +13381,12 @@ void checkUnnamed5656(core.List o) { ); } -core.List buildUnnamed5657() => [ +core.List buildUnnamed5722() => [ 'foo', 'foo', ]; -void checkUnnamed5657(core.List o) { +void checkUnnamed5722(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13398,12 +13398,12 @@ void checkUnnamed5657(core.List o) { ); } -core.List buildUnnamed5658() => [ +core.List buildUnnamed5723() => [ 'foo', 'foo', ]; -void checkUnnamed5658(core.List o) { +void checkUnnamed5723(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13415,12 +13415,12 @@ void checkUnnamed5658(core.List o) { ); } -core.List buildUnnamed5659() => [ +core.List buildUnnamed5724() => [ 'foo', 'foo', ]; -void checkUnnamed5659(core.List o) { +void checkUnnamed5724(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13432,12 +13432,12 @@ void checkUnnamed5659(core.List o) { ); } -core.List buildUnnamed5660() => [ +core.List buildUnnamed5725() => [ 'foo', 'foo', ]; -void checkUnnamed5660(core.List o) { +void checkUnnamed5725(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13449,12 +13449,12 @@ void checkUnnamed5660(core.List o) { ); } -core.List buildUnnamed5661() => [ +core.List buildUnnamed5726() => [ 'foo', 'foo', ]; -void checkUnnamed5661(core.List o) { +void checkUnnamed5726(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13466,12 +13466,12 @@ void checkUnnamed5661(core.List o) { ); } -core.List buildUnnamed5662() => [ +core.List buildUnnamed5727() => [ 'foo', 'foo', ]; -void checkUnnamed5662(core.List o) { +void checkUnnamed5727(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13483,12 +13483,12 @@ void checkUnnamed5662(core.List o) { ); } -core.List buildUnnamed5663() => [ +core.List buildUnnamed5728() => [ 'foo', 'foo', ]; -void checkUnnamed5663(core.List o) { +void checkUnnamed5728(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13500,12 +13500,12 @@ void checkUnnamed5663(core.List o) { ); } -core.List buildUnnamed5664() => [ +core.List buildUnnamed5729() => [ 'foo', 'foo', ]; -void checkUnnamed5664(core.List o) { +void checkUnnamed5729(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13517,12 +13517,12 @@ void checkUnnamed5664(core.List o) { ); } -core.List buildUnnamed5665() => [ +core.List buildUnnamed5730() => [ 'foo', 'foo', ]; -void checkUnnamed5665(core.List o) { +void checkUnnamed5730(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13534,12 +13534,12 @@ void checkUnnamed5665(core.List o) { ); } -core.List buildUnnamed5666() => [ +core.List buildUnnamed5731() => [ 'foo', 'foo', ]; -void checkUnnamed5666(core.List o) { +void checkUnnamed5731(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13551,12 +13551,12 @@ void checkUnnamed5666(core.List o) { ); } -core.List buildUnnamed5667() => [ +core.List buildUnnamed5732() => [ 'foo', 'foo', ]; -void checkUnnamed5667(core.List o) { +void checkUnnamed5732(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13568,12 +13568,12 @@ void checkUnnamed5667(core.List o) { ); } -core.List buildUnnamed5668() => [ +core.List buildUnnamed5733() => [ 'foo', 'foo', ]; -void checkUnnamed5668(core.List o) { +void checkUnnamed5733(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13585,12 +13585,12 @@ void checkUnnamed5668(core.List o) { ); } -core.List buildUnnamed5669() => [ +core.List buildUnnamed5734() => [ 'foo', 'foo', ]; -void checkUnnamed5669(core.List o) { +void checkUnnamed5734(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13602,12 +13602,12 @@ void checkUnnamed5669(core.List o) { ); } -core.List buildUnnamed5670() => [ +core.List buildUnnamed5735() => [ 'foo', 'foo', ]; -void checkUnnamed5670(core.List o) { +void checkUnnamed5735(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13619,12 +13619,12 @@ void checkUnnamed5670(core.List o) { ); } -core.List buildUnnamed5671() => [ +core.List buildUnnamed5736() => [ 'foo', 'foo', ]; -void checkUnnamed5671(core.List o) { +void checkUnnamed5736(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13636,12 +13636,12 @@ void checkUnnamed5671(core.List o) { ); } -core.List buildUnnamed5672() => [ +core.List buildUnnamed5737() => [ 'foo', 'foo', ]; -void checkUnnamed5672(core.List o) { +void checkUnnamed5737(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13653,12 +13653,12 @@ void checkUnnamed5672(core.List o) { ); } -core.List buildUnnamed5673() => [ +core.List buildUnnamed5738() => [ 'foo', 'foo', ]; -void checkUnnamed5673(core.List o) { +void checkUnnamed5738(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13670,12 +13670,12 @@ void checkUnnamed5673(core.List o) { ); } -core.List buildUnnamed5674() => [ +core.List buildUnnamed5739() => [ 'foo', 'foo', ]; -void checkUnnamed5674(core.List o) { +void checkUnnamed5739(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13687,12 +13687,12 @@ void checkUnnamed5674(core.List o) { ); } -core.List buildUnnamed5675() => [ +core.List buildUnnamed5740() => [ 'foo', 'foo', ]; -void checkUnnamed5675(core.List o) { +void checkUnnamed5740(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13704,12 +13704,12 @@ void checkUnnamed5675(core.List o) { ); } -core.List buildUnnamed5676() => [ +core.List buildUnnamed5741() => [ 'foo', 'foo', ]; -void checkUnnamed5676(core.List o) { +void checkUnnamed5741(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13721,12 +13721,12 @@ void checkUnnamed5676(core.List o) { ); } -core.List buildUnnamed5677() => [ +core.List buildUnnamed5742() => [ 'foo', 'foo', ]; -void checkUnnamed5677(core.List o) { +void checkUnnamed5742(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13738,12 +13738,12 @@ void checkUnnamed5677(core.List o) { ); } -core.List buildUnnamed5678() => [ +core.List buildUnnamed5743() => [ 'foo', 'foo', ]; -void checkUnnamed5678(core.List o) { +void checkUnnamed5743(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13755,12 +13755,12 @@ void checkUnnamed5678(core.List o) { ); } -core.List buildUnnamed5679() => [ +core.List buildUnnamed5744() => [ 'foo', 'foo', ]; -void checkUnnamed5679(core.List o) { +void checkUnnamed5744(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13772,12 +13772,12 @@ void checkUnnamed5679(core.List o) { ); } -core.List buildUnnamed5680() => [ +core.List buildUnnamed5745() => [ 'foo', 'foo', ]; -void checkUnnamed5680(core.List o) { +void checkUnnamed5745(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13789,12 +13789,12 @@ void checkUnnamed5680(core.List o) { ); } -core.List buildUnnamed5681() => [ +core.List buildUnnamed5746() => [ 'foo', 'foo', ]; -void checkUnnamed5681(core.List o) { +void checkUnnamed5746(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13806,12 +13806,12 @@ void checkUnnamed5681(core.List o) { ); } -core.List buildUnnamed5682() => [ +core.List buildUnnamed5747() => [ 'foo', 'foo', ]; -void checkUnnamed5682(core.List o) { +void checkUnnamed5747(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13823,12 +13823,12 @@ void checkUnnamed5682(core.List o) { ); } -core.List buildUnnamed5683() => [ +core.List buildUnnamed5748() => [ 'foo', 'foo', ]; -void checkUnnamed5683(core.List o) { +void checkUnnamed5748(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13840,12 +13840,12 @@ void checkUnnamed5683(core.List o) { ); } -core.List buildUnnamed5684() => [ +core.List buildUnnamed5749() => [ 'foo', 'foo', ]; -void checkUnnamed5684(core.List o) { +void checkUnnamed5749(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13857,12 +13857,12 @@ void checkUnnamed5684(core.List o) { ); } -core.List buildUnnamed5685() => [ +core.List buildUnnamed5750() => [ 'foo', 'foo', ]; -void checkUnnamed5685(core.List o) { +void checkUnnamed5750(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13874,12 +13874,12 @@ void checkUnnamed5685(core.List o) { ); } -core.List buildUnnamed5686() => [ +core.List buildUnnamed5751() => [ 'foo', 'foo', ]; -void checkUnnamed5686(core.List o) { +void checkUnnamed5751(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13891,12 +13891,12 @@ void checkUnnamed5686(core.List o) { ); } -core.List buildUnnamed5687() => [ +core.List buildUnnamed5752() => [ 'foo', 'foo', ]; -void checkUnnamed5687(core.List o) { +void checkUnnamed5752(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13908,12 +13908,12 @@ void checkUnnamed5687(core.List o) { ); } -core.List buildUnnamed5688() => [ +core.List buildUnnamed5753() => [ 'foo', 'foo', ]; -void checkUnnamed5688(core.List o) { +void checkUnnamed5753(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13925,12 +13925,12 @@ void checkUnnamed5688(core.List o) { ); } -core.List buildUnnamed5689() => [ +core.List buildUnnamed5754() => [ 'foo', 'foo', ]; -void checkUnnamed5689(core.List o) { +void checkUnnamed5754(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13942,12 +13942,12 @@ void checkUnnamed5689(core.List o) { ); } -core.List buildUnnamed5690() => [ +core.List buildUnnamed5755() => [ 'foo', 'foo', ]; -void checkUnnamed5690(core.List o) { +void checkUnnamed5755(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13959,12 +13959,12 @@ void checkUnnamed5690(core.List o) { ); } -core.List buildUnnamed5691() => [ +core.List buildUnnamed5756() => [ 'foo', 'foo', ]; -void checkUnnamed5691(core.List o) { +void checkUnnamed5756(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13976,12 +13976,12 @@ void checkUnnamed5691(core.List o) { ); } -core.List buildUnnamed5692() => [ +core.List buildUnnamed5757() => [ 'foo', 'foo', ]; -void checkUnnamed5692(core.List o) { +void checkUnnamed5757(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13993,12 +13993,12 @@ void checkUnnamed5692(core.List o) { ); } -core.List buildUnnamed5693() => [ +core.List buildUnnamed5758() => [ 'foo', 'foo', ]; -void checkUnnamed5693(core.List o) { +void checkUnnamed5758(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14010,12 +14010,12 @@ void checkUnnamed5693(core.List o) { ); } -core.List buildUnnamed5694() => [ +core.List buildUnnamed5759() => [ 'foo', 'foo', ]; -void checkUnnamed5694(core.List o) { +void checkUnnamed5759(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14027,12 +14027,12 @@ void checkUnnamed5694(core.List o) { ); } -core.List buildUnnamed5695() => [ +core.List buildUnnamed5760() => [ 'foo', 'foo', ]; -void checkUnnamed5695(core.List o) { +void checkUnnamed5760(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14044,12 +14044,12 @@ void checkUnnamed5695(core.List o) { ); } -core.List buildUnnamed5696() => [ +core.List buildUnnamed5761() => [ 'foo', 'foo', ]; -void checkUnnamed5696(core.List o) { +void checkUnnamed5761(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14061,12 +14061,12 @@ void checkUnnamed5696(core.List o) { ); } -core.List buildUnnamed5697() => [ +core.List buildUnnamed5762() => [ 'foo', 'foo', ]; -void checkUnnamed5697(core.List o) { +void checkUnnamed5762(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14078,12 +14078,12 @@ void checkUnnamed5697(core.List o) { ); } -core.List buildUnnamed5698() => [ +core.List buildUnnamed5763() => [ 'foo', 'foo', ]; -void checkUnnamed5698(core.List o) { +void checkUnnamed5763(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17109,7 +17109,7 @@ void main() { final res = api.DfareportingApi(mock).accountUserProfiles; final arg_profileId = 'foo'; final arg_active = true; - final arg_ids = buildUnnamed5608(); + final arg_ids = buildUnnamed5673(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -17473,7 +17473,7 @@ void main() { final res = api.DfareportingApi(mock).accounts; final arg_profileId = 'foo'; final arg_active = true; - final arg_ids = buildUnnamed5609(); + final arg_ids = buildUnnamed5674(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -17901,26 +17901,26 @@ void main() { final arg_active = true; final arg_advertiserId = 'foo'; final arg_archived = true; - final arg_audienceSegmentIds = buildUnnamed5610(); - final arg_campaignIds = buildUnnamed5611(); + final arg_audienceSegmentIds = buildUnnamed5675(); + final arg_campaignIds = buildUnnamed5676(); final arg_compatibility = 'foo'; - final arg_creativeIds = buildUnnamed5612(); - final arg_creativeOptimizationConfigurationIds = buildUnnamed5613(); + final arg_creativeIds = buildUnnamed5677(); + final arg_creativeOptimizationConfigurationIds = buildUnnamed5678(); final arg_dynamicClickTracker = true; - final arg_ids = buildUnnamed5614(); - final arg_landingPageIds = buildUnnamed5615(); + final arg_ids = buildUnnamed5679(); + final arg_landingPageIds = buildUnnamed5680(); final arg_maxResults = 42; final arg_overriddenEventTagId = 'foo'; final arg_pageToken = 'foo'; - final arg_placementIds = buildUnnamed5616(); - final arg_remarketingListIds = buildUnnamed5617(); + final arg_placementIds = buildUnnamed5681(); + final arg_remarketingListIds = buildUnnamed5682(); final arg_searchString = 'foo'; - final arg_sizeIds = buildUnnamed5618(); + final arg_sizeIds = buildUnnamed5683(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_sslCompliant = true; final arg_sslRequired = true; - final arg_type = buildUnnamed5619(); + final arg_type = buildUnnamed5684(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -18497,7 +18497,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).advertiserGroups; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed5620(); + final arg_ids = buildUnnamed5685(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -18918,10 +18918,10 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).advertiserLandingPages; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed5621(); + final arg_advertiserIds = buildUnnamed5686(); final arg_archived = true; - final arg_campaignIds = buildUnnamed5622(); - final arg_ids = buildUnnamed5623(); + final arg_campaignIds = buildUnnamed5687(); + final arg_ids = buildUnnamed5688(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -19364,9 +19364,9 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).advertisers; final arg_profileId = 'foo'; - final arg_advertiserGroupIds = buildUnnamed5624(); - final arg_floodlightConfigurationIds = buildUnnamed5625(); - final arg_ids = buildUnnamed5626(); + final arg_advertiserGroupIds = buildUnnamed5689(); + final arg_floodlightConfigurationIds = buildUnnamed5690(); + final arg_ids = buildUnnamed5691(); final arg_includeAdvertisersWithoutGroupsOnly = true; final arg_maxResults = 42; final arg_onlyParent = true; @@ -20094,12 +20094,12 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).campaigns; final arg_profileId = 'foo'; - final arg_advertiserGroupIds = buildUnnamed5627(); - final arg_advertiserIds = buildUnnamed5628(); + final arg_advertiserGroupIds = buildUnnamed5692(); + final arg_advertiserIds = buildUnnamed5693(); final arg_archived = true; final arg_atLeastOneOptimizationActivity = true; - final arg_excludedIds = buildUnnamed5629(); - final arg_ids = buildUnnamed5630(); + final arg_excludedIds = buildUnnamed5694(); + final arg_ids = buildUnnamed5695(); final arg_maxResults = 42; final arg_overriddenEventTagId = 'foo'; final arg_pageToken = 'foo'; @@ -20481,15 +20481,15 @@ void main() { final res = api.DfareportingApi(mock).changeLogs; final arg_profileId = 'foo'; final arg_action = 'foo'; - final arg_ids = buildUnnamed5631(); + final arg_ids = buildUnnamed5696(); final arg_maxChangeTime = 'foo'; final arg_maxResults = 42; final arg_minChangeTime = 'foo'; - final arg_objectIds = buildUnnamed5632(); + final arg_objectIds = buildUnnamed5697(); final arg_objectType = 'foo'; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; - final arg_userProfileIds = buildUnnamed5633(); + final arg_userProfileIds = buildUnnamed5698(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -20613,10 +20613,10 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).cities; final arg_profileId = 'foo'; - final arg_countryDartIds = buildUnnamed5634(); - final arg_dartIds = buildUnnamed5635(); + final arg_countryDartIds = buildUnnamed5699(); + final arg_dartIds = buildUnnamed5700(); final arg_namePrefix = 'foo'; - final arg_regionDartIds = buildUnnamed5636(); + final arg_regionDartIds = buildUnnamed5701(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -21091,7 +21091,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).contentCategories; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed5637(); + final arg_ids = buildUnnamed5702(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -22039,7 +22039,7 @@ void main() { final res = api.DfareportingApi(mock).creativeFieldValues; final arg_profileId = 'foo'; final arg_creativeFieldId = 'foo'; - final arg_ids = buildUnnamed5638(); + final arg_ids = buildUnnamed5703(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -22583,8 +22583,8 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).creativeFields; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed5639(); - final arg_ids = buildUnnamed5640(); + final arg_advertiserIds = buildUnnamed5704(); + final arg_ids = buildUnnamed5705(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -23010,9 +23010,9 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).creativeGroups; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed5641(); + final arg_advertiserIds = buildUnnamed5706(); final arg_groupNumber = 42; - final arg_ids = buildUnnamed5642(); + final arg_ids = buildUnnamed5707(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -23447,18 +23447,18 @@ void main() { final arg_advertiserId = 'foo'; final arg_archived = true; final arg_campaignId = 'foo'; - final arg_companionCreativeIds = buildUnnamed5643(); - final arg_creativeFieldIds = buildUnnamed5644(); - final arg_ids = buildUnnamed5645(); + final arg_companionCreativeIds = buildUnnamed5708(); + final arg_creativeFieldIds = buildUnnamed5709(); + final arg_ids = buildUnnamed5710(); final arg_maxResults = 42; final arg_pageToken = 'foo'; - final arg_renderingIds = buildUnnamed5646(); + final arg_renderingIds = buildUnnamed5711(); final arg_searchString = 'foo'; - final arg_sizeIds = buildUnnamed5647(); + final arg_sizeIds = buildUnnamed5712(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_studioCreativeId = 'foo'; - final arg_types = buildUnnamed5648(); + final arg_types = buildUnnamed5713(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -24098,7 +24098,7 @@ void main() { final arg_acceptsPublisherPaidPlacements = true; final arg_active = true; final arg_dfpNetworkCode = 'foo'; - final arg_ids = buildUnnamed5649(); + final arg_ids = buildUnnamed5714(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -24397,7 +24397,7 @@ void main() { final res = api.DfareportingApi(mock).dynamicTargetingKeys; final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; - final arg_names = buildUnnamed5650(); + final arg_names = buildUnnamed5715(); final arg_objectId = 'foo'; final arg_objectType = 'foo'; final arg_$fields = 'foo'; @@ -24730,8 +24730,8 @@ void main() { final arg_campaignId = 'foo'; final arg_definitionsOnly = true; final arg_enabled = true; - final arg_eventTagTypes = buildUnnamed5651(); - final arg_ids = buildUnnamed5652(); + final arg_eventTagTypes = buildUnnamed5716(); + final arg_ids = buildUnnamed5717(); final arg_searchString = 'foo'; final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; @@ -25508,12 +25508,12 @@ void main() { final res = api.DfareportingApi(mock).floodlightActivities; final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; - final arg_floodlightActivityGroupIds = buildUnnamed5653(); + final arg_floodlightActivityGroupIds = buildUnnamed5718(); final arg_floodlightActivityGroupName = 'foo'; final arg_floodlightActivityGroupTagString = 'foo'; final arg_floodlightActivityGroupType = 'foo'; final arg_floodlightConfigurationId = 'foo'; - final arg_ids = buildUnnamed5654(); + final arg_ids = buildUnnamed5719(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -25974,7 +25974,7 @@ void main() { final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; final arg_floodlightConfigurationId = 'foo'; - final arg_ids = buildUnnamed5655(); + final arg_ids = buildUnnamed5720(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -26336,7 +26336,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).floodlightConfigurations; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed5656(); + final arg_ids = buildUnnamed5721(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -26667,12 +26667,12 @@ void main() { final res = api.DfareportingApi(mock).inventoryItems; final arg_profileId = 'foo'; final arg_projectId = 'foo'; - final arg_ids = buildUnnamed5657(); + final arg_ids = buildUnnamed5722(); final arg_inPlan = true; final arg_maxResults = 42; - final arg_orderId = buildUnnamed5658(); + final arg_orderId = buildUnnamed5723(); final arg_pageToken = 'foo'; - final arg_siteId = buildUnnamed5659(); + final arg_siteId = buildUnnamed5724(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_type = 'foo'; @@ -27031,8 +27031,8 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).mobileApps; final arg_profileId = 'foo'; - final arg_directories = buildUnnamed5660(); - final arg_ids = buildUnnamed5661(); + final arg_directories = buildUnnamed5725(); + final arg_ids = buildUnnamed5726(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -27683,12 +27683,12 @@ void main() { final arg_profileId = 'foo'; final arg_projectId = 'foo'; final arg_approved = true; - final arg_ids = buildUnnamed5662(); + final arg_ids = buildUnnamed5727(); final arg_maxResults = 42; - final arg_orderId = buildUnnamed5663(); + final arg_orderId = buildUnnamed5728(); final arg_pageToken = 'foo'; final arg_searchString = 'foo'; - final arg_siteId = buildUnnamed5664(); + final arg_siteId = buildUnnamed5729(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -27918,11 +27918,11 @@ void main() { final res = api.DfareportingApi(mock).orders; final arg_profileId = 'foo'; final arg_projectId = 'foo'; - final arg_ids = buildUnnamed5665(); + final arg_ids = buildUnnamed5730(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; - final arg_siteId = buildUnnamed5666(); + final arg_siteId = buildUnnamed5731(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -28201,12 +28201,12 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).placementGroups; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed5667(); + final arg_advertiserIds = buildUnnamed5732(); final arg_archived = true; - final arg_campaignIds = buildUnnamed5668(); - final arg_contentCategoryIds = buildUnnamed5669(); - final arg_directorySiteIds = buildUnnamed5670(); - final arg_ids = buildUnnamed5671(); + final arg_campaignIds = buildUnnamed5733(); + final arg_contentCategoryIds = buildUnnamed5734(); + final arg_directorySiteIds = buildUnnamed5735(); + final arg_ids = buildUnnamed5736(); final arg_maxEndDate = 'foo'; final arg_maxResults = 42; final arg_maxStartDate = 'foo'; @@ -28214,10 +28214,10 @@ void main() { final arg_minStartDate = 'foo'; final arg_pageToken = 'foo'; final arg_placementGroupType = 'foo'; - final arg_placementStrategyIds = buildUnnamed5672(); - final arg_pricingTypes = buildUnnamed5673(); + final arg_placementStrategyIds = buildUnnamed5737(); + final arg_pricingTypes = buildUnnamed5738(); final arg_searchString = 'foo'; - final arg_siteIds = buildUnnamed5674(); + final arg_siteIds = buildUnnamed5739(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -28776,7 +28776,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).placementStrategies; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed5675(); + final arg_ids = buildUnnamed5740(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -29045,8 +29045,8 @@ void main() { final res = api.DfareportingApi(mock).placements; final arg_profileId = 'foo'; final arg_campaignId = 'foo'; - final arg_placementIds = buildUnnamed5676(); - final arg_tagFormats = buildUnnamed5677(); + final arg_placementIds = buildUnnamed5741(); + final arg_tagFormats = buildUnnamed5742(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -29288,14 +29288,14 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).placements; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed5678(); + final arg_advertiserIds = buildUnnamed5743(); final arg_archived = true; - final arg_campaignIds = buildUnnamed5679(); - final arg_compatibilities = buildUnnamed5680(); - final arg_contentCategoryIds = buildUnnamed5681(); - final arg_directorySiteIds = buildUnnamed5682(); - final arg_groupIds = buildUnnamed5683(); - final arg_ids = buildUnnamed5684(); + final arg_campaignIds = buildUnnamed5744(); + final arg_compatibilities = buildUnnamed5745(); + final arg_contentCategoryIds = buildUnnamed5746(); + final arg_directorySiteIds = buildUnnamed5747(); + final arg_groupIds = buildUnnamed5748(); + final arg_ids = buildUnnamed5749(); final arg_maxEndDate = 'foo'; final arg_maxResults = 42; final arg_maxStartDate = 'foo'; @@ -29303,11 +29303,11 @@ void main() { final arg_minStartDate = 'foo'; final arg_pageToken = 'foo'; final arg_paymentSource = 'foo'; - final arg_placementStrategyIds = buildUnnamed5685(); - final arg_pricingTypes = buildUnnamed5686(); + final arg_placementStrategyIds = buildUnnamed5750(); + final arg_pricingTypes = buildUnnamed5751(); final arg_searchString = 'foo'; - final arg_siteIds = buildUnnamed5687(); - final arg_sizeIds = buildUnnamed5688(); + final arg_siteIds = buildUnnamed5752(); + final arg_sizeIds = buildUnnamed5753(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -30028,8 +30028,8 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).projects; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed5689(); - final arg_ids = buildUnnamed5690(); + final arg_advertiserIds = buildUnnamed5754(); + final arg_ids = buildUnnamed5755(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -31920,9 +31920,9 @@ void main() { final arg_acceptsPublisherPaidPlacements = true; final arg_adWordsSite = true; final arg_approved = true; - final arg_campaignIds = buildUnnamed5691(); - final arg_directorySiteIds = buildUnnamed5692(); - final arg_ids = buildUnnamed5693(); + final arg_campaignIds = buildUnnamed5756(); + final arg_directorySiteIds = buildUnnamed5757(); + final arg_ids = buildUnnamed5758(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -32391,7 +32391,7 @@ void main() { final arg_profileId = 'foo'; final arg_height = 42; final arg_iabStandard = true; - final arg_ids = buildUnnamed5694(); + final arg_ids = buildUnnamed5759(); final arg_width = 42; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -32640,7 +32640,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).subaccounts; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed5695(); + final arg_ids = buildUnnamed5760(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -33255,7 +33255,7 @@ void main() { final res = api.DfareportingApi(mock).targetingTemplates; final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; - final arg_ids = buildUnnamed5696(); + final arg_ids = buildUnnamed5761(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -33876,7 +33876,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).userRolePermissions; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed5697(); + final arg_ids = buildUnnamed5762(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -34187,7 +34187,7 @@ void main() { final res = api.DfareportingApi(mock).userRoles; final arg_profileId = 'foo'; final arg_accountUserRoleOnly = true; - final arg_ids = buildUnnamed5698(); + final arg_ids = buildUnnamed5763(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; diff --git a/generated/googleapis/test/dfareporting/v3_5_test.dart b/generated/googleapis/test/dfareporting/v3_5_test.dart index 314ece361..51eb10c49 100644 --- a/generated/googleapis/test/dfareporting/v3_5_test.dart +++ b/generated/googleapis/test/dfareporting/v3_5_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3765() => [ +core.List buildUnnamed3746() => [ 'foo', 'foo', ]; -void checkUnnamed3765(core.List o) { +void checkUnnamed3746(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed3765(core.List o) { ); } -core.List buildUnnamed3766() => [ +core.List buildUnnamed3747() => [ 'foo', 'foo', ]; -void checkUnnamed3766(core.List o) { +void checkUnnamed3747(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,12 +65,12 @@ api.Account buildAccount() { final o = api.Account(); buildCounterAccount++; if (buildCounterAccount < 3) { - o.accountPermissionIds = buildUnnamed3765(); + o.accountPermissionIds = buildUnnamed3746(); o.accountProfile = 'foo'; o.active = true; o.activeAdsLimitTier = 'foo'; o.activeViewOptOut = true; - o.availablePermissionIds = buildUnnamed3766(); + o.availablePermissionIds = buildUnnamed3747(); o.countryId = 'foo'; o.currencyId = 'foo'; o.defaultCreativeSizeId = 'foo'; @@ -92,7 +92,7 @@ api.Account buildAccount() { void checkAccount(api.Account o) { buildCounterAccount++; if (buildCounterAccount < 3) { - checkUnnamed3765(o.accountPermissionIds!); + checkUnnamed3746(o.accountPermissionIds!); unittest.expect( o.accountProfile!, unittest.equals('foo'), @@ -103,7 +103,7 @@ void checkAccount(api.Account o) { unittest.equals('foo'), ); unittest.expect(o.activeViewOptOut!, unittest.isTrue); - checkUnnamed3766(o.availablePermissionIds!); + checkUnnamed3747(o.availablePermissionIds!); unittest.expect( o.countryId!, unittest.equals('foo'), @@ -193,12 +193,12 @@ void checkAccountActiveAdSummary(api.AccountActiveAdSummary o) { buildCounterAccountActiveAdSummary--; } -core.List buildUnnamed3767() => [ +core.List buildUnnamed3748() => [ 'foo', 'foo', ]; -void checkUnnamed3767(core.List o) { +void checkUnnamed3748(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -215,7 +215,7 @@ api.AccountPermission buildAccountPermission() { final o = api.AccountPermission(); buildCounterAccountPermission++; if (buildCounterAccountPermission < 3) { - o.accountProfiles = buildUnnamed3767(); + o.accountProfiles = buildUnnamed3748(); o.id = 'foo'; o.kind = 'foo'; o.level = 'foo'; @@ -229,7 +229,7 @@ api.AccountPermission buildAccountPermission() { void checkAccountPermission(api.AccountPermission o) { buildCounterAccountPermission++; if (buildCounterAccountPermission < 3) { - checkUnnamed3767(o.accountProfiles!); + checkUnnamed3748(o.accountProfiles!); unittest.expect( o.id!, unittest.equals('foo'), @@ -286,12 +286,12 @@ void checkAccountPermissionGroup(api.AccountPermissionGroup o) { buildCounterAccountPermissionGroup--; } -core.List buildUnnamed3768() => [ +core.List buildUnnamed3749() => [ buildAccountPermissionGroup(), buildAccountPermissionGroup(), ]; -void checkUnnamed3768(core.List o) { +void checkUnnamed3749(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountPermissionGroup(o[0]); checkAccountPermissionGroup(o[1]); @@ -303,7 +303,7 @@ api.AccountPermissionGroupsListResponse final o = api.AccountPermissionGroupsListResponse(); buildCounterAccountPermissionGroupsListResponse++; if (buildCounterAccountPermissionGroupsListResponse < 3) { - o.accountPermissionGroups = buildUnnamed3768(); + o.accountPermissionGroups = buildUnnamed3749(); o.kind = 'foo'; } buildCounterAccountPermissionGroupsListResponse--; @@ -314,7 +314,7 @@ void checkAccountPermissionGroupsListResponse( api.AccountPermissionGroupsListResponse o) { buildCounterAccountPermissionGroupsListResponse++; if (buildCounterAccountPermissionGroupsListResponse < 3) { - checkUnnamed3768(o.accountPermissionGroups!); + checkUnnamed3749(o.accountPermissionGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -323,12 +323,12 @@ void checkAccountPermissionGroupsListResponse( buildCounterAccountPermissionGroupsListResponse--; } -core.List buildUnnamed3769() => [ +core.List buildUnnamed3750() => [ buildAccountPermission(), buildAccountPermission(), ]; -void checkUnnamed3769(core.List o) { +void checkUnnamed3750(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountPermission(o[0]); checkAccountPermission(o[1]); @@ -339,7 +339,7 @@ api.AccountPermissionsListResponse buildAccountPermissionsListResponse() { final o = api.AccountPermissionsListResponse(); buildCounterAccountPermissionsListResponse++; if (buildCounterAccountPermissionsListResponse < 3) { - o.accountPermissions = buildUnnamed3769(); + o.accountPermissions = buildUnnamed3750(); o.kind = 'foo'; } buildCounterAccountPermissionsListResponse--; @@ -349,7 +349,7 @@ api.AccountPermissionsListResponse buildAccountPermissionsListResponse() { void checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) { buildCounterAccountPermissionsListResponse++; if (buildCounterAccountPermissionsListResponse < 3) { - checkUnnamed3769(o.accountPermissions!); + checkUnnamed3750(o.accountPermissions!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -440,12 +440,12 @@ void checkAccountUserProfile(api.AccountUserProfile o) { buildCounterAccountUserProfile--; } -core.List buildUnnamed3770() => [ +core.List buildUnnamed3751() => [ buildAccountUserProfile(), buildAccountUserProfile(), ]; -void checkUnnamed3770(core.List o) { +void checkUnnamed3751(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountUserProfile(o[0]); checkAccountUserProfile(o[1]); @@ -456,7 +456,7 @@ api.AccountUserProfilesListResponse buildAccountUserProfilesListResponse() { final o = api.AccountUserProfilesListResponse(); buildCounterAccountUserProfilesListResponse++; if (buildCounterAccountUserProfilesListResponse < 3) { - o.accountUserProfiles = buildUnnamed3770(); + o.accountUserProfiles = buildUnnamed3751(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -468,7 +468,7 @@ void checkAccountUserProfilesListResponse( api.AccountUserProfilesListResponse o) { buildCounterAccountUserProfilesListResponse++; if (buildCounterAccountUserProfilesListResponse < 3) { - checkUnnamed3770(o.accountUserProfiles!); + checkUnnamed3751(o.accountUserProfiles!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -481,12 +481,12 @@ void checkAccountUserProfilesListResponse( buildCounterAccountUserProfilesListResponse--; } -core.List buildUnnamed3771() => [ +core.List buildUnnamed3752() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed3771(core.List o) { +void checkUnnamed3752(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -497,7 +497,7 @@ api.AccountsListResponse buildAccountsListResponse() { final o = api.AccountsListResponse(); buildCounterAccountsListResponse++; if (buildCounterAccountsListResponse < 3) { - o.accounts = buildUnnamed3771(); + o.accounts = buildUnnamed3752(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -508,7 +508,7 @@ api.AccountsListResponse buildAccountsListResponse() { void checkAccountsListResponse(api.AccountsListResponse o) { buildCounterAccountsListResponse++; if (buildCounterAccountsListResponse < 3) { - checkUnnamed3771(o.accounts!); + checkUnnamed3752(o.accounts!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -521,23 +521,23 @@ void checkAccountsListResponse(api.AccountsListResponse o) { buildCounterAccountsListResponse--; } -core.List buildUnnamed3772() => [ +core.List buildUnnamed3753() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3772(core.List o) { +void checkUnnamed3753(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3773() => [ +core.List buildUnnamed3754() => [ 'foo', 'foo', ]; -void checkUnnamed3773(core.List o) { +void checkUnnamed3754(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -554,9 +554,9 @@ api.Activities buildActivities() { final o = api.Activities(); buildCounterActivities++; if (buildCounterActivities < 3) { - o.filters = buildUnnamed3772(); + o.filters = buildUnnamed3753(); o.kind = 'foo'; - o.metricNames = buildUnnamed3773(); + o.metricNames = buildUnnamed3754(); } buildCounterActivities--; return o; @@ -565,44 +565,44 @@ api.Activities buildActivities() { void checkActivities(api.Activities o) { buildCounterActivities++; if (buildCounterActivities < 3) { - checkUnnamed3772(o.filters!); + checkUnnamed3753(o.filters!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3773(o.metricNames!); + checkUnnamed3754(o.metricNames!); } buildCounterActivities--; } -core.List buildUnnamed3774() => [ +core.List buildUnnamed3755() => [ buildCreativeGroupAssignment(), buildCreativeGroupAssignment(), ]; -void checkUnnamed3774(core.List o) { +void checkUnnamed3755(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeGroupAssignment(o[0]); checkCreativeGroupAssignment(o[1]); } -core.List buildUnnamed3775() => [ +core.List buildUnnamed3756() => [ buildEventTagOverride(), buildEventTagOverride(), ]; -void checkUnnamed3775(core.List o) { +void checkUnnamed3756(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventTagOverride(o[0]); checkEventTagOverride(o[1]); } -core.List buildUnnamed3776() => [ +core.List buildUnnamed3757() => [ buildPlacementAssignment(), buildPlacementAssignment(), ]; -void checkUnnamed3776(core.List o) { +void checkUnnamed3757(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementAssignment(o[0]); checkPlacementAssignment(o[1]); @@ -626,7 +626,7 @@ api.Ad buildAd() { o.comments = 'foo'; o.compatibility = 'foo'; o.createInfo = buildLastModifiedInfo(); - o.creativeGroupAssignments = buildUnnamed3774(); + o.creativeGroupAssignments = buildUnnamed3755(); o.creativeRotation = buildCreativeRotation(); o.dayPartTargeting = buildDayPartTargeting(); o.defaultClickThroughEventTagProperties = @@ -634,7 +634,7 @@ api.Ad buildAd() { o.deliverySchedule = buildDeliverySchedule(); o.dynamicClickTracker = true; o.endTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.eventTagOverrides = buildUnnamed3775(); + o.eventTagOverrides = buildUnnamed3756(); o.geoTargeting = buildGeoTargeting(); o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); @@ -643,7 +643,7 @@ api.Ad buildAd() { o.languageTargeting = buildLanguageTargeting(); o.lastModifiedInfo = buildLastModifiedInfo(); o.name = 'foo'; - o.placementAssignments = buildUnnamed3776(); + o.placementAssignments = buildUnnamed3757(); o.remarketingListExpression = buildListTargetingExpression(); o.size = buildSize(); o.sslCompliant = true; @@ -692,7 +692,7 @@ void checkAd(api.Ad o) { unittest.equals('foo'), ); checkLastModifiedInfo(o.createInfo!); - checkUnnamed3774(o.creativeGroupAssignments!); + checkUnnamed3755(o.creativeGroupAssignments!); checkCreativeRotation(o.creativeRotation!); checkDayPartTargeting(o.dayPartTargeting!); checkDefaultClickThroughEventTagProperties( @@ -703,7 +703,7 @@ void checkAd(api.Ad o) { o.endTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed3775(o.eventTagOverrides!); + checkUnnamed3756(o.eventTagOverrides!); checkGeoTargeting(o.geoTargeting!); unittest.expect( o.id!, @@ -721,7 +721,7 @@ void checkAd(api.Ad o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3776(o.placementAssignments!); + checkUnnamed3757(o.placementAssignments!); checkListTargetingExpression(o.remarketingListExpression!); checkSize(o.size!); unittest.expect(o.sslCompliant!, unittest.isTrue); @@ -820,12 +820,12 @@ void checkAdSlot(api.AdSlot o) { buildCounterAdSlot--; } -core.List buildUnnamed3777() => [ +core.List buildUnnamed3758() => [ buildAd(), buildAd(), ]; -void checkUnnamed3777(core.List o) { +void checkUnnamed3758(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAd(o[0]); checkAd(o[1]); @@ -836,7 +836,7 @@ api.AdsListResponse buildAdsListResponse() { final o = api.AdsListResponse(); buildCounterAdsListResponse++; if (buildCounterAdsListResponse < 3) { - o.ads = buildUnnamed3777(); + o.ads = buildUnnamed3758(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -847,7 +847,7 @@ api.AdsListResponse buildAdsListResponse() { void checkAdsListResponse(api.AdsListResponse o) { buildCounterAdsListResponse++; if (buildCounterAdsListResponse < 3) { - checkUnnamed3777(o.ads!); + checkUnnamed3758(o.ads!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -982,12 +982,12 @@ void checkAdvertiserGroup(api.AdvertiserGroup o) { buildCounterAdvertiserGroup--; } -core.List buildUnnamed3778() => [ +core.List buildUnnamed3759() => [ buildAdvertiserGroup(), buildAdvertiserGroup(), ]; -void checkUnnamed3778(core.List o) { +void checkUnnamed3759(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvertiserGroup(o[0]); checkAdvertiserGroup(o[1]); @@ -998,7 +998,7 @@ api.AdvertiserGroupsListResponse buildAdvertiserGroupsListResponse() { final o = api.AdvertiserGroupsListResponse(); buildCounterAdvertiserGroupsListResponse++; if (buildCounterAdvertiserGroupsListResponse < 3) { - o.advertiserGroups = buildUnnamed3778(); + o.advertiserGroups = buildUnnamed3759(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1009,7 +1009,7 @@ api.AdvertiserGroupsListResponse buildAdvertiserGroupsListResponse() { void checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { buildCounterAdvertiserGroupsListResponse++; if (buildCounterAdvertiserGroupsListResponse < 3) { - checkUnnamed3778(o.advertiserGroups!); + checkUnnamed3759(o.advertiserGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1022,12 +1022,12 @@ void checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { buildCounterAdvertiserGroupsListResponse--; } -core.List buildUnnamed3779() => [ +core.List buildUnnamed3760() => [ buildLandingPage(), buildLandingPage(), ]; -void checkUnnamed3779(core.List o) { +void checkUnnamed3760(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLandingPage(o[0]); checkLandingPage(o[1]); @@ -1040,7 +1040,7 @@ api.AdvertiserLandingPagesListResponse buildCounterAdvertiserLandingPagesListResponse++; if (buildCounterAdvertiserLandingPagesListResponse < 3) { o.kind = 'foo'; - o.landingPages = buildUnnamed3779(); + o.landingPages = buildUnnamed3760(); o.nextPageToken = 'foo'; } buildCounterAdvertiserLandingPagesListResponse--; @@ -1055,7 +1055,7 @@ void checkAdvertiserLandingPagesListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed3779(o.landingPages!); + checkUnnamed3760(o.landingPages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1064,12 +1064,12 @@ void checkAdvertiserLandingPagesListResponse( buildCounterAdvertiserLandingPagesListResponse--; } -core.List buildUnnamed3780() => [ +core.List buildUnnamed3761() => [ buildAdvertiser(), buildAdvertiser(), ]; -void checkUnnamed3780(core.List o) { +void checkUnnamed3761(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvertiser(o[0]); checkAdvertiser(o[1]); @@ -1080,7 +1080,7 @@ api.AdvertisersListResponse buildAdvertisersListResponse() { final o = api.AdvertisersListResponse(); buildCounterAdvertisersListResponse++; if (buildCounterAdvertisersListResponse < 3) { - o.advertisers = buildUnnamed3780(); + o.advertisers = buildUnnamed3761(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1091,7 +1091,7 @@ api.AdvertisersListResponse buildAdvertisersListResponse() { void checkAdvertisersListResponse(api.AdvertisersListResponse o) { buildCounterAdvertisersListResponse++; if (buildCounterAdvertisersListResponse < 3) { - checkUnnamed3780(o.advertisers!); + checkUnnamed3761(o.advertisers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1136,12 +1136,12 @@ void checkAudienceSegment(api.AudienceSegment o) { buildCounterAudienceSegment--; } -core.List buildUnnamed3781() => [ +core.List buildUnnamed3762() => [ buildAudienceSegment(), buildAudienceSegment(), ]; -void checkUnnamed3781(core.List o) { +void checkUnnamed3762(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudienceSegment(o[0]); checkAudienceSegment(o[1]); @@ -1152,7 +1152,7 @@ api.AudienceSegmentGroup buildAudienceSegmentGroup() { final o = api.AudienceSegmentGroup(); buildCounterAudienceSegmentGroup++; if (buildCounterAudienceSegmentGroup < 3) { - o.audienceSegments = buildUnnamed3781(); + o.audienceSegments = buildUnnamed3762(); o.id = 'foo'; o.name = 'foo'; } @@ -1163,7 +1163,7 @@ api.AudienceSegmentGroup buildAudienceSegmentGroup() { void checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { buildCounterAudienceSegmentGroup++; if (buildCounterAudienceSegmentGroup < 3) { - checkUnnamed3781(o.audienceSegments!); + checkUnnamed3762(o.audienceSegments!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1223,12 +1223,12 @@ void checkBrowser(api.Browser o) { buildCounterBrowser--; } -core.List buildUnnamed3782() => [ +core.List buildUnnamed3763() => [ buildBrowser(), buildBrowser(), ]; -void checkUnnamed3782(core.List o) { +void checkUnnamed3763(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBrowser(o[0]); checkBrowser(o[1]); @@ -1239,7 +1239,7 @@ api.BrowsersListResponse buildBrowsersListResponse() { final o = api.BrowsersListResponse(); buildCounterBrowsersListResponse++; if (buildCounterBrowsersListResponse < 3) { - o.browsers = buildUnnamed3782(); + o.browsers = buildUnnamed3763(); o.kind = 'foo'; } buildCounterBrowsersListResponse--; @@ -1249,7 +1249,7 @@ api.BrowsersListResponse buildBrowsersListResponse() { void checkBrowsersListResponse(api.BrowsersListResponse o) { buildCounterBrowsersListResponse++; if (buildCounterBrowsersListResponse < 3) { - checkUnnamed3782(o.browsers!); + checkUnnamed3763(o.browsers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1258,34 +1258,34 @@ void checkBrowsersListResponse(api.BrowsersListResponse o) { buildCounterBrowsersListResponse--; } -core.List buildUnnamed3783() => [ +core.List buildUnnamed3764() => [ buildCreativeOptimizationConfiguration(), buildCreativeOptimizationConfiguration(), ]; -void checkUnnamed3783(core.List o) { +void checkUnnamed3764(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeOptimizationConfiguration(o[0]); checkCreativeOptimizationConfiguration(o[1]); } -core.List buildUnnamed3784() => [ +core.List buildUnnamed3765() => [ buildAudienceSegmentGroup(), buildAudienceSegmentGroup(), ]; -void checkUnnamed3784(core.List o) { +void checkUnnamed3765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudienceSegmentGroup(o[0]); checkAudienceSegmentGroup(o[1]); } -core.List buildUnnamed3785() => [ +core.List buildUnnamed3766() => [ 'foo', 'foo', ]; -void checkUnnamed3785(core.List o) { +void checkUnnamed3766(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1297,23 +1297,23 @@ void checkUnnamed3785(core.List o) { ); } -core.List buildUnnamed3786() => [ +core.List buildUnnamed3767() => [ buildEventTagOverride(), buildEventTagOverride(), ]; -void checkUnnamed3786(core.List o) { +void checkUnnamed3767(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventTagOverride(o[0]); checkEventTagOverride(o[1]); } -core.List buildUnnamed3787() => [ +core.List buildUnnamed3768() => [ 'foo', 'foo', ]; -void checkUnnamed3787(core.List o) { +void checkUnnamed3768(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1332,24 +1332,24 @@ api.Campaign buildCampaign() { if (buildCounterCampaign < 3) { o.accountId = 'foo'; o.adBlockingConfiguration = buildAdBlockingConfiguration(); - o.additionalCreativeOptimizationConfigurations = buildUnnamed3783(); + o.additionalCreativeOptimizationConfigurations = buildUnnamed3764(); o.advertiserGroupId = 'foo'; o.advertiserId = 'foo'; o.advertiserIdDimensionValue = buildDimensionValue(); o.archived = true; - o.audienceSegmentGroups = buildUnnamed3784(); + o.audienceSegmentGroups = buildUnnamed3765(); o.billingInvoiceCode = 'foo'; o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); o.comment = 'foo'; o.createInfo = buildLastModifiedInfo(); - o.creativeGroupIds = buildUnnamed3785(); + o.creativeGroupIds = buildUnnamed3766(); o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration(); o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties(); o.defaultLandingPageId = 'foo'; o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); - o.eventTagOverrides = buildUnnamed3786(); + o.eventTagOverrides = buildUnnamed3767(); o.externalId = 'foo'; o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); @@ -1360,7 +1360,7 @@ api.Campaign buildCampaign() { o.nielsenOcrEnabled = true; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.subaccountId = 'foo'; - o.traffickerEmails = buildUnnamed3787(); + o.traffickerEmails = buildUnnamed3768(); } buildCounterCampaign--; return o; @@ -1374,7 +1374,7 @@ void checkCampaign(api.Campaign o) { unittest.equals('foo'), ); checkAdBlockingConfiguration(o.adBlockingConfiguration!); - checkUnnamed3783(o.additionalCreativeOptimizationConfigurations!); + checkUnnamed3764(o.additionalCreativeOptimizationConfigurations!); unittest.expect( o.advertiserGroupId!, unittest.equals('foo'), @@ -1385,7 +1385,7 @@ void checkCampaign(api.Campaign o) { ); checkDimensionValue(o.advertiserIdDimensionValue!); unittest.expect(o.archived!, unittest.isTrue); - checkUnnamed3784(o.audienceSegmentGroups!); + checkUnnamed3765(o.audienceSegmentGroups!); unittest.expect( o.billingInvoiceCode!, unittest.equals('foo'), @@ -1396,7 +1396,7 @@ void checkCampaign(api.Campaign o) { unittest.equals('foo'), ); checkLastModifiedInfo(o.createInfo!); - checkUnnamed3785(o.creativeGroupIds!); + checkUnnamed3766(o.creativeGroupIds!); checkCreativeOptimizationConfiguration( o.creativeOptimizationConfiguration!); checkDefaultClickThroughEventTagProperties( @@ -1409,7 +1409,7 @@ void checkCampaign(api.Campaign o) { o.endDate!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), ); - checkUnnamed3786(o.eventTagOverrides!); + checkUnnamed3767(o.eventTagOverrides!); unittest.expect( o.externalId!, unittest.equals('foo'), @@ -1438,7 +1438,7 @@ void checkCampaign(api.Campaign o) { o.subaccountId!, unittest.equals('foo'), ); - checkUnnamed3787(o.traffickerEmails!); + checkUnnamed3768(o.traffickerEmails!); } buildCounterCampaign--; } @@ -1470,12 +1470,12 @@ void checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { buildCounterCampaignCreativeAssociation--; } -core.List buildUnnamed3788() => [ +core.List buildUnnamed3769() => [ buildCampaignCreativeAssociation(), buildCampaignCreativeAssociation(), ]; -void checkUnnamed3788(core.List o) { +void checkUnnamed3769(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCampaignCreativeAssociation(o[0]); checkCampaignCreativeAssociation(o[1]); @@ -1487,7 +1487,7 @@ api.CampaignCreativeAssociationsListResponse final o = api.CampaignCreativeAssociationsListResponse(); buildCounterCampaignCreativeAssociationsListResponse++; if (buildCounterCampaignCreativeAssociationsListResponse < 3) { - o.campaignCreativeAssociations = buildUnnamed3788(); + o.campaignCreativeAssociations = buildUnnamed3769(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1499,7 +1499,7 @@ void checkCampaignCreativeAssociationsListResponse( api.CampaignCreativeAssociationsListResponse o) { buildCounterCampaignCreativeAssociationsListResponse++; if (buildCounterCampaignCreativeAssociationsListResponse < 3) { - checkUnnamed3788(o.campaignCreativeAssociations!); + checkUnnamed3769(o.campaignCreativeAssociations!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1512,12 +1512,12 @@ void checkCampaignCreativeAssociationsListResponse( buildCounterCampaignCreativeAssociationsListResponse--; } -core.List buildUnnamed3789() => [ +core.List buildUnnamed3770() => [ buildCampaign(), buildCampaign(), ]; -void checkUnnamed3789(core.List o) { +void checkUnnamed3770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCampaign(o[0]); checkCampaign(o[1]); @@ -1528,7 +1528,7 @@ api.CampaignsListResponse buildCampaignsListResponse() { final o = api.CampaignsListResponse(); buildCounterCampaignsListResponse++; if (buildCounterCampaignsListResponse < 3) { - o.campaigns = buildUnnamed3789(); + o.campaigns = buildUnnamed3770(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1539,7 +1539,7 @@ api.CampaignsListResponse buildCampaignsListResponse() { void checkCampaignsListResponse(api.CampaignsListResponse o) { buildCounterCampaignsListResponse++; if (buildCounterCampaignsListResponse < 3) { - checkUnnamed3789(o.campaigns!); + checkUnnamed3770(o.campaigns!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1639,12 +1639,12 @@ void checkChangeLog(api.ChangeLog o) { buildCounterChangeLog--; } -core.List buildUnnamed3790() => [ +core.List buildUnnamed3771() => [ buildChangeLog(), buildChangeLog(), ]; -void checkUnnamed3790(core.List o) { +void checkUnnamed3771(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChangeLog(o[0]); checkChangeLog(o[1]); @@ -1655,7 +1655,7 @@ api.ChangeLogsListResponse buildChangeLogsListResponse() { final o = api.ChangeLogsListResponse(); buildCounterChangeLogsListResponse++; if (buildCounterChangeLogsListResponse < 3) { - o.changeLogs = buildUnnamed3790(); + o.changeLogs = buildUnnamed3771(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1666,7 +1666,7 @@ api.ChangeLogsListResponse buildChangeLogsListResponse() { void checkChangeLogsListResponse(api.ChangeLogsListResponse o) { buildCounterChangeLogsListResponse++; if (buildCounterChangeLogsListResponse < 3) { - checkUnnamed3790(o.changeLogs!); + checkUnnamed3771(o.changeLogs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1679,12 +1679,12 @@ void checkChangeLogsListResponse(api.ChangeLogsListResponse o) { buildCounterChangeLogsListResponse--; } -core.List buildUnnamed3791() => [ +core.List buildUnnamed3772() => [ buildChannelGroupingRule(), buildChannelGroupingRule(), ]; -void checkUnnamed3791(core.List o) { +void checkUnnamed3772(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannelGroupingRule(o[0]); checkChannelGroupingRule(o[1]); @@ -1698,7 +1698,7 @@ api.ChannelGrouping buildChannelGrouping() { o.fallbackName = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.rules = buildUnnamed3791(); + o.rules = buildUnnamed3772(); } buildCounterChannelGrouping--; return o; @@ -1719,17 +1719,17 @@ void checkChannelGrouping(api.ChannelGrouping o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3791(o.rules!); + checkUnnamed3772(o.rules!); } buildCounterChannelGrouping--; } -core.List buildUnnamed3792() => [ +core.List buildUnnamed3773() => [ buildDisjunctiveMatchStatement(), buildDisjunctiveMatchStatement(), ]; -void checkUnnamed3792(core.List o) { +void checkUnnamed3773(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisjunctiveMatchStatement(o[0]); checkDisjunctiveMatchStatement(o[1]); @@ -1740,7 +1740,7 @@ api.ChannelGroupingRule buildChannelGroupingRule() { final o = api.ChannelGroupingRule(); buildCounterChannelGroupingRule++; if (buildCounterChannelGroupingRule < 3) { - o.disjunctiveMatchStatements = buildUnnamed3792(); + o.disjunctiveMatchStatements = buildUnnamed3773(); o.kind = 'foo'; o.name = 'foo'; } @@ -1751,7 +1751,7 @@ api.ChannelGroupingRule buildChannelGroupingRule() { void checkChannelGroupingRule(api.ChannelGroupingRule o) { buildCounterChannelGroupingRule++; if (buildCounterChannelGroupingRule < 3) { - checkUnnamed3792(o.disjunctiveMatchStatements!); + checkUnnamed3773(o.disjunctiveMatchStatements!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1764,12 +1764,12 @@ void checkChannelGroupingRule(api.ChannelGroupingRule o) { buildCounterChannelGroupingRule--; } -core.List buildUnnamed3793() => [ +core.List buildUnnamed3774() => [ buildCity(), buildCity(), ]; -void checkUnnamed3793(core.List o) { +void checkUnnamed3774(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCity(o[0]); checkCity(o[1]); @@ -1780,7 +1780,7 @@ api.CitiesListResponse buildCitiesListResponse() { final o = api.CitiesListResponse(); buildCounterCitiesListResponse++; if (buildCounterCitiesListResponse < 3) { - o.cities = buildUnnamed3793(); + o.cities = buildUnnamed3774(); o.kind = 'foo'; } buildCounterCitiesListResponse--; @@ -1790,7 +1790,7 @@ api.CitiesListResponse buildCitiesListResponse() { void checkCitiesListResponse(api.CitiesListResponse o) { buildCounterCitiesListResponse++; if (buildCounterCitiesListResponse < 3) { - checkUnnamed3793(o.cities!); + checkUnnamed3774(o.cities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1973,12 +1973,12 @@ void checkCompanionClickThroughOverride(api.CompanionClickThroughOverride o) { buildCounterCompanionClickThroughOverride--; } -core.List buildUnnamed3794() => [ +core.List buildUnnamed3775() => [ buildSize(), buildSize(), ]; -void checkUnnamed3794(core.List o) { +void checkUnnamed3775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -1990,7 +1990,7 @@ api.CompanionSetting buildCompanionSetting() { buildCounterCompanionSetting++; if (buildCounterCompanionSetting < 3) { o.companionsDisabled = true; - o.enabledSizes = buildUnnamed3794(); + o.enabledSizes = buildUnnamed3775(); o.imageOnly = true; o.kind = 'foo'; } @@ -2002,7 +2002,7 @@ void checkCompanionSetting(api.CompanionSetting o) { buildCounterCompanionSetting++; if (buildCounterCompanionSetting < 3) { unittest.expect(o.companionsDisabled!, unittest.isTrue); - checkUnnamed3794(o.enabledSizes!); + checkUnnamed3775(o.enabledSizes!); unittest.expect(o.imageOnly!, unittest.isTrue); unittest.expect( o.kind!, @@ -2085,12 +2085,12 @@ void checkConnectionType(api.ConnectionType o) { buildCounterConnectionType--; } -core.List buildUnnamed3795() => [ +core.List buildUnnamed3776() => [ buildConnectionType(), buildConnectionType(), ]; -void checkUnnamed3795(core.List o) { +void checkUnnamed3776(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionType(o[0]); checkConnectionType(o[1]); @@ -2101,7 +2101,7 @@ api.ConnectionTypesListResponse buildConnectionTypesListResponse() { final o = api.ConnectionTypesListResponse(); buildCounterConnectionTypesListResponse++; if (buildCounterConnectionTypesListResponse < 3) { - o.connectionTypes = buildUnnamed3795(); + o.connectionTypes = buildUnnamed3776(); o.kind = 'foo'; } buildCounterConnectionTypesListResponse--; @@ -2111,7 +2111,7 @@ api.ConnectionTypesListResponse buildConnectionTypesListResponse() { void checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { buildCounterConnectionTypesListResponse++; if (buildCounterConnectionTypesListResponse < 3) { - checkUnnamed3795(o.connectionTypes!); + checkUnnamed3776(o.connectionTypes!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2120,12 +2120,12 @@ void checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { buildCounterConnectionTypesListResponse--; } -core.List buildUnnamed3796() => [ +core.List buildUnnamed3777() => [ buildContentCategory(), buildContentCategory(), ]; -void checkUnnamed3796(core.List o) { +void checkUnnamed3777(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContentCategory(o[0]); checkContentCategory(o[1]); @@ -2136,7 +2136,7 @@ api.ContentCategoriesListResponse buildContentCategoriesListResponse() { final o = api.ContentCategoriesListResponse(); buildCounterContentCategoriesListResponse++; if (buildCounterContentCategoriesListResponse < 3) { - o.contentCategories = buildUnnamed3796(); + o.contentCategories = buildUnnamed3777(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2147,7 +2147,7 @@ api.ContentCategoriesListResponse buildContentCategoriesListResponse() { void checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { buildCounterContentCategoriesListResponse++; if (buildCounterContentCategoriesListResponse < 3) { - checkUnnamed3796(o.contentCategories!); + checkUnnamed3777(o.contentCategories!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2197,23 +2197,23 @@ void checkContentCategory(api.ContentCategory o) { buildCounterContentCategory--; } -core.List buildUnnamed3797() => [ +core.List buildUnnamed3778() => [ buildCustomFloodlightVariable(), buildCustomFloodlightVariable(), ]; -void checkUnnamed3797(core.List o) { +void checkUnnamed3778(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomFloodlightVariable(o[0]); checkCustomFloodlightVariable(o[1]); } -core.List buildUnnamed3798() => [ +core.List buildUnnamed3779() => [ 'foo', 'foo', ]; -void checkUnnamed3798(core.List o) { +void checkUnnamed3779(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2231,10 +2231,10 @@ api.Conversion buildConversion() { buildCounterConversion++; if (buildCounterConversion < 3) { o.childDirectedTreatment = true; - o.customVariables = buildUnnamed3797(); + o.customVariables = buildUnnamed3778(); o.dclid = 'foo'; o.encryptedUserId = 'foo'; - o.encryptedUserIdCandidates = buildUnnamed3798(); + o.encryptedUserIdCandidates = buildUnnamed3779(); o.floodlightActivityId = 'foo'; o.floodlightConfigurationId = 'foo'; o.gclid = 'foo'; @@ -2257,7 +2257,7 @@ void checkConversion(api.Conversion o) { buildCounterConversion++; if (buildCounterConversion < 3) { unittest.expect(o.childDirectedTreatment!, unittest.isTrue); - checkUnnamed3797(o.customVariables!); + checkUnnamed3778(o.customVariables!); unittest.expect( o.dclid!, unittest.equals('foo'), @@ -2266,7 +2266,7 @@ void checkConversion(api.Conversion o) { o.encryptedUserId!, unittest.equals('foo'), ); - checkUnnamed3798(o.encryptedUserIdCandidates!); + checkUnnamed3779(o.encryptedUserIdCandidates!); unittest.expect( o.floodlightActivityId!, unittest.equals('foo'), @@ -2346,12 +2346,12 @@ void checkConversionError(api.ConversionError o) { buildCounterConversionError--; } -core.List buildUnnamed3799() => [ +core.List buildUnnamed3780() => [ buildConversionError(), buildConversionError(), ]; -void checkUnnamed3799(core.List o) { +void checkUnnamed3780(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversionError(o[0]); checkConversionError(o[1]); @@ -2363,7 +2363,7 @@ api.ConversionStatus buildConversionStatus() { buildCounterConversionStatus++; if (buildCounterConversionStatus < 3) { o.conversion = buildConversion(); - o.errors = buildUnnamed3799(); + o.errors = buildUnnamed3780(); o.kind = 'foo'; } buildCounterConversionStatus--; @@ -2374,7 +2374,7 @@ void checkConversionStatus(api.ConversionStatus o) { buildCounterConversionStatus++; if (buildCounterConversionStatus < 3) { checkConversion(o.conversion!); - checkUnnamed3799(o.errors!); + checkUnnamed3780(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2383,12 +2383,12 @@ void checkConversionStatus(api.ConversionStatus o) { buildCounterConversionStatus--; } -core.List buildUnnamed3800() => [ +core.List buildUnnamed3781() => [ buildConversion(), buildConversion(), ]; -void checkUnnamed3800(core.List o) { +void checkUnnamed3781(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversion(o[0]); checkConversion(o[1]); @@ -2399,7 +2399,7 @@ api.ConversionsBatchInsertRequest buildConversionsBatchInsertRequest() { final o = api.ConversionsBatchInsertRequest(); buildCounterConversionsBatchInsertRequest++; if (buildCounterConversionsBatchInsertRequest < 3) { - o.conversions = buildUnnamed3800(); + o.conversions = buildUnnamed3781(); o.encryptionInfo = buildEncryptionInfo(); o.kind = 'foo'; } @@ -2410,7 +2410,7 @@ api.ConversionsBatchInsertRequest buildConversionsBatchInsertRequest() { void checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { buildCounterConversionsBatchInsertRequest++; if (buildCounterConversionsBatchInsertRequest < 3) { - checkUnnamed3800(o.conversions!); + checkUnnamed3781(o.conversions!); checkEncryptionInfo(o.encryptionInfo!); unittest.expect( o.kind!, @@ -2420,12 +2420,12 @@ void checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { buildCounterConversionsBatchInsertRequest--; } -core.List buildUnnamed3801() => [ +core.List buildUnnamed3782() => [ buildConversionStatus(), buildConversionStatus(), ]; -void checkUnnamed3801(core.List o) { +void checkUnnamed3782(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversionStatus(o[0]); checkConversionStatus(o[1]); @@ -2438,7 +2438,7 @@ api.ConversionsBatchInsertResponse buildConversionsBatchInsertResponse() { if (buildCounterConversionsBatchInsertResponse < 3) { o.hasFailures = true; o.kind = 'foo'; - o.status = buildUnnamed3801(); + o.status = buildUnnamed3782(); } buildCounterConversionsBatchInsertResponse--; return o; @@ -2452,17 +2452,17 @@ void checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3801(o.status!); + checkUnnamed3782(o.status!); } buildCounterConversionsBatchInsertResponse--; } -core.List buildUnnamed3802() => [ +core.List buildUnnamed3783() => [ buildConversion(), buildConversion(), ]; -void checkUnnamed3802(core.List o) { +void checkUnnamed3783(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversion(o[0]); checkConversion(o[1]); @@ -2473,7 +2473,7 @@ api.ConversionsBatchUpdateRequest buildConversionsBatchUpdateRequest() { final o = api.ConversionsBatchUpdateRequest(); buildCounterConversionsBatchUpdateRequest++; if (buildCounterConversionsBatchUpdateRequest < 3) { - o.conversions = buildUnnamed3802(); + o.conversions = buildUnnamed3783(); o.encryptionInfo = buildEncryptionInfo(); o.kind = 'foo'; } @@ -2484,7 +2484,7 @@ api.ConversionsBatchUpdateRequest buildConversionsBatchUpdateRequest() { void checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) { buildCounterConversionsBatchUpdateRequest++; if (buildCounterConversionsBatchUpdateRequest < 3) { - checkUnnamed3802(o.conversions!); + checkUnnamed3783(o.conversions!); checkEncryptionInfo(o.encryptionInfo!); unittest.expect( o.kind!, @@ -2494,12 +2494,12 @@ void checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) { buildCounterConversionsBatchUpdateRequest--; } -core.List buildUnnamed3803() => [ +core.List buildUnnamed3784() => [ buildConversionStatus(), buildConversionStatus(), ]; -void checkUnnamed3803(core.List o) { +void checkUnnamed3784(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversionStatus(o[0]); checkConversionStatus(o[1]); @@ -2512,7 +2512,7 @@ api.ConversionsBatchUpdateResponse buildConversionsBatchUpdateResponse() { if (buildCounterConversionsBatchUpdateResponse < 3) { o.hasFailures = true; o.kind = 'foo'; - o.status = buildUnnamed3803(); + o.status = buildUnnamed3784(); } buildCounterConversionsBatchUpdateResponse--; return o; @@ -2526,17 +2526,17 @@ void checkConversionsBatchUpdateResponse(api.ConversionsBatchUpdateResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3803(o.status!); + checkUnnamed3784(o.status!); } buildCounterConversionsBatchUpdateResponse--; } -core.List buildUnnamed3804() => [ +core.List buildUnnamed3785() => [ buildCountry(), buildCountry(), ]; -void checkUnnamed3804(core.List o) { +void checkUnnamed3785(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCountry(o[0]); checkCountry(o[1]); @@ -2547,7 +2547,7 @@ api.CountriesListResponse buildCountriesListResponse() { final o = api.CountriesListResponse(); buildCounterCountriesListResponse++; if (buildCounterCountriesListResponse < 3) { - o.countries = buildUnnamed3804(); + o.countries = buildUnnamed3785(); o.kind = 'foo'; } buildCounterCountriesListResponse--; @@ -2557,7 +2557,7 @@ api.CountriesListResponse buildCountriesListResponse() { void checkCountriesListResponse(api.CountriesListResponse o) { buildCounterCountriesListResponse++; if (buildCounterCountriesListResponse < 3) { - checkUnnamed3804(o.countries!); + checkUnnamed3785(o.countries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2605,12 +2605,12 @@ void checkCountry(api.Country o) { buildCounterCountry--; } -core.List buildUnnamed3805() => [ +core.List buildUnnamed3786() => [ 'foo', 'foo', ]; -void checkUnnamed3805(core.List o) { +void checkUnnamed3786(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2622,23 +2622,23 @@ void checkUnnamed3805(core.List o) { ); } -core.List buildUnnamed3806() => [ +core.List buildUnnamed3787() => [ buildSize(), buildSize(), ]; -void checkUnnamed3806(core.List o) { +void checkUnnamed3787(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); } -core.List buildUnnamed3807() => [ +core.List buildUnnamed3788() => [ 'foo', 'foo', ]; -void checkUnnamed3807(core.List o) { +void checkUnnamed3788(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2650,23 +2650,23 @@ void checkUnnamed3807(core.List o) { ); } -core.List buildUnnamed3808() => [ +core.List buildUnnamed3789() => [ buildClickTag(), buildClickTag(), ]; -void checkUnnamed3808(core.List o) { +void checkUnnamed3789(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClickTag(o[0]); checkClickTag(o[1]); } -core.List buildUnnamed3809() => [ +core.List buildUnnamed3790() => [ 'foo', 'foo', ]; -void checkUnnamed3809(core.List o) { +void checkUnnamed3790(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2678,12 +2678,12 @@ void checkUnnamed3809(core.List o) { ); } -core.List buildUnnamed3810() => [ +core.List buildUnnamed3791() => [ 'foo', 'foo', ]; -void checkUnnamed3810(core.List o) { +void checkUnnamed3791(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2695,45 +2695,45 @@ void checkUnnamed3810(core.List o) { ); } -core.List buildUnnamed3811() => [ +core.List buildUnnamed3792() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed3811(core.List o) { +void checkUnnamed3792(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed3812() => [ +core.List buildUnnamed3793() => [ buildCreativeAsset(), buildCreativeAsset(), ]; -void checkUnnamed3812(core.List o) { +void checkUnnamed3793(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeAsset(o[0]); checkCreativeAsset(o[1]); } -core.List buildUnnamed3813() => [ +core.List buildUnnamed3794() => [ buildCreativeFieldAssignment(), buildCreativeFieldAssignment(), ]; -void checkUnnamed3813(core.List o) { +void checkUnnamed3794(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeFieldAssignment(o[0]); checkCreativeFieldAssignment(o[1]); } -core.List buildUnnamed3814() => [ +core.List buildUnnamed3795() => [ 'foo', 'foo', ]; -void checkUnnamed3814(core.List o) { +void checkUnnamed3795(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2745,34 +2745,34 @@ void checkUnnamed3814(core.List o) { ); } -core.List buildUnnamed3815() => [ +core.List buildUnnamed3796() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed3815(core.List o) { +void checkUnnamed3796(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed3816() => [ +core.List buildUnnamed3797() => [ buildThirdPartyTrackingUrl(), buildThirdPartyTrackingUrl(), ]; -void checkUnnamed3816(core.List o) { +void checkUnnamed3797(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThirdPartyTrackingUrl(o[0]); checkThirdPartyTrackingUrl(o[1]); } -core.List buildUnnamed3817() => [ +core.List buildUnnamed3798() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed3817(core.List o) { +void checkUnnamed3798(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); @@ -2786,8 +2786,8 @@ api.Creative buildCreative() { o.accountId = 'foo'; o.active = true; o.adParameters = 'foo'; - o.adTagKeys = buildUnnamed3805(); - o.additionalSizes = buildUnnamed3806(); + o.adTagKeys = buildUnnamed3786(); + o.additionalSizes = buildUnnamed3787(); o.advertiserId = 'foo'; o.allowScriptAccess = true; o.archived = true; @@ -2797,21 +2797,21 @@ api.Creative buildCreative() { o.autoAdvanceImages = true; o.backgroundColor = 'foo'; o.backupImageClickThroughUrl = buildCreativeClickThroughUrl(); - o.backupImageFeatures = buildUnnamed3807(); + o.backupImageFeatures = buildUnnamed3788(); o.backupImageReportingLabel = 'foo'; o.backupImageTargetWindow = buildTargetWindow(); - o.clickTags = buildUnnamed3808(); + o.clickTags = buildUnnamed3789(); o.commercialId = 'foo'; - o.companionCreatives = buildUnnamed3809(); - o.compatibility = buildUnnamed3810(); + o.companionCreatives = buildUnnamed3790(); + o.compatibility = buildUnnamed3791(); o.convertFlashToHtml5 = true; - o.counterCustomEvents = buildUnnamed3811(); + o.counterCustomEvents = buildUnnamed3792(); o.creativeAssetSelection = buildCreativeAssetSelection(); - o.creativeAssets = buildUnnamed3812(); - o.creativeFieldAssignments = buildUnnamed3813(); - o.customKeyValues = buildUnnamed3814(); + o.creativeAssets = buildUnnamed3793(); + o.creativeFieldAssignments = buildUnnamed3794(); + o.customKeyValues = buildUnnamed3795(); o.dynamicAssetSelection = true; - o.exitCustomEvents = buildUnnamed3815(); + o.exitCustomEvents = buildUnnamed3796(); o.fsCommand = buildFsCommand(); o.htmlCode = 'foo'; o.htmlCodeLocked = true; @@ -2842,8 +2842,8 @@ api.Creative buildCreative() { o.subaccountId = 'foo'; o.thirdPartyBackupImageImpressionsUrl = 'foo'; o.thirdPartyRichMediaImpressionsUrl = 'foo'; - o.thirdPartyUrls = buildUnnamed3816(); - o.timerCustomEvents = buildUnnamed3817(); + o.thirdPartyUrls = buildUnnamed3797(); + o.timerCustomEvents = buildUnnamed3798(); o.totalFileSize = 'foo'; o.type = 'foo'; o.universalAdId = buildUniversalAdId(); @@ -2865,8 +2865,8 @@ void checkCreative(api.Creative o) { o.adParameters!, unittest.equals('foo'), ); - checkUnnamed3805(o.adTagKeys!); - checkUnnamed3806(o.additionalSizes!); + checkUnnamed3786(o.adTagKeys!); + checkUnnamed3787(o.additionalSizes!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -2891,27 +2891,27 @@ void checkCreative(api.Creative o) { unittest.equals('foo'), ); checkCreativeClickThroughUrl(o.backupImageClickThroughUrl!); - checkUnnamed3807(o.backupImageFeatures!); + checkUnnamed3788(o.backupImageFeatures!); unittest.expect( o.backupImageReportingLabel!, unittest.equals('foo'), ); checkTargetWindow(o.backupImageTargetWindow!); - checkUnnamed3808(o.clickTags!); + checkUnnamed3789(o.clickTags!); unittest.expect( o.commercialId!, unittest.equals('foo'), ); - checkUnnamed3809(o.companionCreatives!); - checkUnnamed3810(o.compatibility!); + checkUnnamed3790(o.companionCreatives!); + checkUnnamed3791(o.compatibility!); unittest.expect(o.convertFlashToHtml5!, unittest.isTrue); - checkUnnamed3811(o.counterCustomEvents!); + checkUnnamed3792(o.counterCustomEvents!); checkCreativeAssetSelection(o.creativeAssetSelection!); - checkUnnamed3812(o.creativeAssets!); - checkUnnamed3813(o.creativeFieldAssignments!); - checkUnnamed3814(o.customKeyValues!); + checkUnnamed3793(o.creativeAssets!); + checkUnnamed3794(o.creativeFieldAssignments!); + checkUnnamed3795(o.customKeyValues!); unittest.expect(o.dynamicAssetSelection!, unittest.isTrue); - checkUnnamed3815(o.exitCustomEvents!); + checkUnnamed3796(o.exitCustomEvents!); checkFsCommand(o.fsCommand!); unittest.expect( o.htmlCode!, @@ -2996,8 +2996,8 @@ void checkCreative(api.Creative o) { o.thirdPartyRichMediaImpressionsUrl!, unittest.equals('foo'), ); - checkUnnamed3816(o.thirdPartyUrls!); - checkUnnamed3817(o.timerCustomEvents!); + checkUnnamed3797(o.thirdPartyUrls!); + checkUnnamed3798(o.timerCustomEvents!); unittest.expect( o.totalFileSize!, unittest.equals('foo'), @@ -3015,23 +3015,23 @@ void checkCreative(api.Creative o) { buildCounterCreative--; } -core.List buildUnnamed3818() => [ +core.List buildUnnamed3799() => [ buildSize(), buildSize(), ]; -void checkUnnamed3818(core.List o) { +void checkUnnamed3799(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); } -core.List buildUnnamed3819() => [ +core.List buildUnnamed3800() => [ 'foo', 'foo', ]; -void checkUnnamed3819(core.List o) { +void checkUnnamed3800(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3043,12 +3043,12 @@ void checkUnnamed3819(core.List o) { ); } -core.List buildUnnamed3820() => [ +core.List buildUnnamed3801() => [ 'foo', 'foo', ]; -void checkUnnamed3820(core.List o) { +void checkUnnamed3801(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3067,7 +3067,7 @@ api.CreativeAsset buildCreativeAsset() { if (buildCounterCreativeAsset < 3) { o.actionScript3 = true; o.active = true; - o.additionalSizes = buildUnnamed3818(); + o.additionalSizes = buildUnnamed3799(); o.alignment = 'foo'; o.artworkType = 'foo'; o.assetIdentifier = buildCreativeAssetId(); @@ -3077,9 +3077,9 @@ api.CreativeAsset buildCreativeAsset() { o.bitRate = 42; o.childAssetType = 'foo'; o.collapsedSize = buildSize(); - o.companionCreativeIds = buildUnnamed3819(); + o.companionCreativeIds = buildUnnamed3800(); o.customStartTimeValue = 42; - o.detectedFeatures = buildUnnamed3820(); + o.detectedFeatures = buildUnnamed3801(); o.displayType = 'foo'; o.duration = 42; o.durationType = 'foo'; @@ -3125,7 +3125,7 @@ void checkCreativeAsset(api.CreativeAsset o) { if (buildCounterCreativeAsset < 3) { unittest.expect(o.actionScript3!, unittest.isTrue); unittest.expect(o.active!, unittest.isTrue); - checkUnnamed3818(o.additionalSizes!); + checkUnnamed3799(o.additionalSizes!); unittest.expect( o.alignment!, unittest.equals('foo'), @@ -3153,12 +3153,12 @@ void checkCreativeAsset(api.CreativeAsset o) { unittest.equals('foo'), ); checkSize(o.collapsedSize!); - checkUnnamed3819(o.companionCreativeIds!); + checkUnnamed3800(o.companionCreativeIds!); unittest.expect( o.customStartTimeValue!, unittest.equals(42), ); - checkUnnamed3820(o.detectedFeatures!); + checkUnnamed3801(o.detectedFeatures!); unittest.expect( o.displayType!, unittest.equals('foo'), @@ -3288,34 +3288,34 @@ void checkCreativeAssetId(api.CreativeAssetId o) { buildCounterCreativeAssetId--; } -core.List buildUnnamed3821() => [ +core.List buildUnnamed3802() => [ buildClickTag(), buildClickTag(), ]; -void checkUnnamed3821(core.List o) { +void checkUnnamed3802(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClickTag(o[0]); checkClickTag(o[1]); } -core.List buildUnnamed3822() => [ +core.List buildUnnamed3803() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed3822(core.List o) { +void checkUnnamed3803(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed3823() => [ +core.List buildUnnamed3804() => [ 'foo', 'foo', ]; -void checkUnnamed3823(core.List o) { +void checkUnnamed3804(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3327,34 +3327,34 @@ void checkUnnamed3823(core.List o) { ); } -core.List buildUnnamed3824() => [ +core.List buildUnnamed3805() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed3824(core.List o) { +void checkUnnamed3805(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed3825() => [ +core.List buildUnnamed3806() => [ buildCreativeCustomEvent(), buildCreativeCustomEvent(), ]; -void checkUnnamed3825(core.List o) { +void checkUnnamed3806(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeCustomEvent(o[0]); checkCreativeCustomEvent(o[1]); } -core.List buildUnnamed3826() => [ +core.List buildUnnamed3807() => [ 'foo', 'foo', ]; -void checkUnnamed3826(core.List o) { +void checkUnnamed3807(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3372,16 +3372,16 @@ api.CreativeAssetMetadata buildCreativeAssetMetadata() { buildCounterCreativeAssetMetadata++; if (buildCounterCreativeAssetMetadata < 3) { o.assetIdentifier = buildCreativeAssetId(); - o.clickTags = buildUnnamed3821(); - o.counterCustomEvents = buildUnnamed3822(); - o.detectedFeatures = buildUnnamed3823(); - o.exitCustomEvents = buildUnnamed3824(); + o.clickTags = buildUnnamed3802(); + o.counterCustomEvents = buildUnnamed3803(); + o.detectedFeatures = buildUnnamed3804(); + o.exitCustomEvents = buildUnnamed3805(); o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); o.kind = 'foo'; o.richMedia = true; - o.timerCustomEvents = buildUnnamed3825(); - o.warnedValidationRules = buildUnnamed3826(); + o.timerCustomEvents = buildUnnamed3806(); + o.warnedValidationRules = buildUnnamed3807(); } buildCounterCreativeAssetMetadata--; return o; @@ -3391,10 +3391,10 @@ void checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { buildCounterCreativeAssetMetadata++; if (buildCounterCreativeAssetMetadata < 3) { checkCreativeAssetId(o.assetIdentifier!); - checkUnnamed3821(o.clickTags!); - checkUnnamed3822(o.counterCustomEvents!); - checkUnnamed3823(o.detectedFeatures!); - checkUnnamed3824(o.exitCustomEvents!); + checkUnnamed3802(o.clickTags!); + checkUnnamed3803(o.counterCustomEvents!); + checkUnnamed3804(o.detectedFeatures!); + checkUnnamed3805(o.exitCustomEvents!); unittest.expect( o.id!, unittest.equals('foo'), @@ -3405,18 +3405,18 @@ void checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { unittest.equals('foo'), ); unittest.expect(o.richMedia!, unittest.isTrue); - checkUnnamed3825(o.timerCustomEvents!); - checkUnnamed3826(o.warnedValidationRules!); + checkUnnamed3806(o.timerCustomEvents!); + checkUnnamed3807(o.warnedValidationRules!); } buildCounterCreativeAssetMetadata--; } -core.List buildUnnamed3827() => [ +core.List buildUnnamed3808() => [ buildRule(), buildRule(), ]; -void checkUnnamed3827(core.List o) { +void checkUnnamed3808(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -3428,7 +3428,7 @@ api.CreativeAssetSelection buildCreativeAssetSelection() { buildCounterCreativeAssetSelection++; if (buildCounterCreativeAssetSelection < 3) { o.defaultAssetId = 'foo'; - o.rules = buildUnnamed3827(); + o.rules = buildUnnamed3808(); } buildCounterCreativeAssetSelection--; return o; @@ -3441,39 +3441,39 @@ void checkCreativeAssetSelection(api.CreativeAssetSelection o) { o.defaultAssetId!, unittest.equals('foo'), ); - checkUnnamed3827(o.rules!); + checkUnnamed3808(o.rules!); } buildCounterCreativeAssetSelection--; } -core.List buildUnnamed3828() => [ +core.List buildUnnamed3809() => [ buildCompanionClickThroughOverride(), buildCompanionClickThroughOverride(), ]; -void checkUnnamed3828(core.List o) { +void checkUnnamed3809(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompanionClickThroughOverride(o[0]); checkCompanionClickThroughOverride(o[1]); } -core.List buildUnnamed3829() => [ +core.List buildUnnamed3810() => [ buildCreativeGroupAssignment(), buildCreativeGroupAssignment(), ]; -void checkUnnamed3829(core.List o) { +void checkUnnamed3810(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeGroupAssignment(o[0]); checkCreativeGroupAssignment(o[1]); } -core.List buildUnnamed3830() => [ +core.List buildUnnamed3811() => [ buildRichMediaExitOverride(), buildRichMediaExitOverride(), ]; -void checkUnnamed3830(core.List o) { +void checkUnnamed3811(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRichMediaExitOverride(o[0]); checkRichMediaExitOverride(o[1]); @@ -3487,12 +3487,12 @@ api.CreativeAssignment buildCreativeAssignment() { o.active = true; o.applyEventTags = true; o.clickThroughUrl = buildClickThroughUrl(); - o.companionCreativeOverrides = buildUnnamed3828(); - o.creativeGroupAssignments = buildUnnamed3829(); + o.companionCreativeOverrides = buildUnnamed3809(); + o.creativeGroupAssignments = buildUnnamed3810(); o.creativeId = 'foo'; o.creativeIdDimensionValue = buildDimensionValue(); o.endTime = core.DateTime.parse('2002-02-27T14:01:02'); - o.richMediaExitOverrides = buildUnnamed3830(); + o.richMediaExitOverrides = buildUnnamed3811(); o.sequence = 42; o.sslCompliant = true; o.startTime = core.DateTime.parse('2002-02-27T14:01:02'); @@ -3508,8 +3508,8 @@ void checkCreativeAssignment(api.CreativeAssignment o) { unittest.expect(o.active!, unittest.isTrue); unittest.expect(o.applyEventTags!, unittest.isTrue); checkClickThroughUrl(o.clickThroughUrl!); - checkUnnamed3828(o.companionCreativeOverrides!); - checkUnnamed3829(o.creativeGroupAssignments!); + checkUnnamed3809(o.companionCreativeOverrides!); + checkUnnamed3810(o.creativeGroupAssignments!); unittest.expect( o.creativeId!, unittest.equals('foo'), @@ -3519,7 +3519,7 @@ void checkCreativeAssignment(api.CreativeAssignment o) { o.endTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed3830(o.richMediaExitOverrides!); + checkUnnamed3811(o.richMediaExitOverrides!); unittest.expect( o.sequence!, unittest.equals(42), @@ -3738,12 +3738,12 @@ void checkCreativeFieldValue(api.CreativeFieldValue o) { buildCounterCreativeFieldValue--; } -core.List buildUnnamed3831() => [ +core.List buildUnnamed3812() => [ buildCreativeFieldValue(), buildCreativeFieldValue(), ]; -void checkUnnamed3831(core.List o) { +void checkUnnamed3812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeFieldValue(o[0]); checkCreativeFieldValue(o[1]); @@ -3754,7 +3754,7 @@ api.CreativeFieldValuesListResponse buildCreativeFieldValuesListResponse() { final o = api.CreativeFieldValuesListResponse(); buildCounterCreativeFieldValuesListResponse++; if (buildCounterCreativeFieldValuesListResponse < 3) { - o.creativeFieldValues = buildUnnamed3831(); + o.creativeFieldValues = buildUnnamed3812(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3766,7 +3766,7 @@ void checkCreativeFieldValuesListResponse( api.CreativeFieldValuesListResponse o) { buildCounterCreativeFieldValuesListResponse++; if (buildCounterCreativeFieldValuesListResponse < 3) { - checkUnnamed3831(o.creativeFieldValues!); + checkUnnamed3812(o.creativeFieldValues!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3779,12 +3779,12 @@ void checkCreativeFieldValuesListResponse( buildCounterCreativeFieldValuesListResponse--; } -core.List buildUnnamed3832() => [ +core.List buildUnnamed3813() => [ buildCreativeField(), buildCreativeField(), ]; -void checkUnnamed3832(core.List o) { +void checkUnnamed3813(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeField(o[0]); checkCreativeField(o[1]); @@ -3795,7 +3795,7 @@ api.CreativeFieldsListResponse buildCreativeFieldsListResponse() { final o = api.CreativeFieldsListResponse(); buildCounterCreativeFieldsListResponse++; if (buildCounterCreativeFieldsListResponse < 3) { - o.creativeFields = buildUnnamed3832(); + o.creativeFields = buildUnnamed3813(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3806,7 +3806,7 @@ api.CreativeFieldsListResponse buildCreativeFieldsListResponse() { void checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { buildCounterCreativeFieldsListResponse++; if (buildCounterCreativeFieldsListResponse < 3) { - checkUnnamed3832(o.creativeFields!); + checkUnnamed3813(o.creativeFields!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3900,12 +3900,12 @@ void checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { buildCounterCreativeGroupAssignment--; } -core.List buildUnnamed3833() => [ +core.List buildUnnamed3814() => [ buildCreativeGroup(), buildCreativeGroup(), ]; -void checkUnnamed3833(core.List o) { +void checkUnnamed3814(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeGroup(o[0]); checkCreativeGroup(o[1]); @@ -3916,7 +3916,7 @@ api.CreativeGroupsListResponse buildCreativeGroupsListResponse() { final o = api.CreativeGroupsListResponse(); buildCounterCreativeGroupsListResponse++; if (buildCounterCreativeGroupsListResponse < 3) { - o.creativeGroups = buildUnnamed3833(); + o.creativeGroups = buildUnnamed3814(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3927,7 +3927,7 @@ api.CreativeGroupsListResponse buildCreativeGroupsListResponse() { void checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { buildCounterCreativeGroupsListResponse++; if (buildCounterCreativeGroupsListResponse < 3) { - checkUnnamed3833(o.creativeGroups!); + checkUnnamed3814(o.creativeGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3940,12 +3940,12 @@ void checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { buildCounterCreativeGroupsListResponse--; } -core.List buildUnnamed3834() => [ +core.List buildUnnamed3815() => [ buildOptimizationActivity(), buildOptimizationActivity(), ]; -void checkUnnamed3834(core.List o) { +void checkUnnamed3815(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOptimizationActivity(o[0]); checkOptimizationActivity(o[1]); @@ -3958,7 +3958,7 @@ api.CreativeOptimizationConfiguration buildCreativeOptimizationConfiguration() { if (buildCounterCreativeOptimizationConfiguration < 3) { o.id = 'foo'; o.name = 'foo'; - o.optimizationActivitys = buildUnnamed3834(); + o.optimizationActivitys = buildUnnamed3815(); o.optimizationModel = 'foo'; } buildCounterCreativeOptimizationConfiguration--; @@ -3977,7 +3977,7 @@ void checkCreativeOptimizationConfiguration( o.name!, unittest.equals('foo'), ); - checkUnnamed3834(o.optimizationActivitys!); + checkUnnamed3815(o.optimizationActivitys!); unittest.expect( o.optimizationModel!, unittest.equals('foo'), @@ -3986,12 +3986,12 @@ void checkCreativeOptimizationConfiguration( buildCounterCreativeOptimizationConfiguration--; } -core.List buildUnnamed3835() => [ +core.List buildUnnamed3816() => [ buildCreativeAssignment(), buildCreativeAssignment(), ]; -void checkUnnamed3835(core.List o) { +void checkUnnamed3816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeAssignment(o[0]); checkCreativeAssignment(o[1]); @@ -4002,7 +4002,7 @@ api.CreativeRotation buildCreativeRotation() { final o = api.CreativeRotation(); buildCounterCreativeRotation++; if (buildCounterCreativeRotation < 3) { - o.creativeAssignments = buildUnnamed3835(); + o.creativeAssignments = buildUnnamed3816(); o.creativeOptimizationConfigurationId = 'foo'; o.type = 'foo'; o.weightCalculationStrategy = 'foo'; @@ -4014,7 +4014,7 @@ api.CreativeRotation buildCreativeRotation() { void checkCreativeRotation(api.CreativeRotation o) { buildCounterCreativeRotation++; if (buildCounterCreativeRotation < 3) { - checkUnnamed3835(o.creativeAssignments!); + checkUnnamed3816(o.creativeAssignments!); unittest.expect( o.creativeOptimizationConfigurationId!, unittest.equals('foo'), @@ -4031,12 +4031,12 @@ void checkCreativeRotation(api.CreativeRotation o) { buildCounterCreativeRotation--; } -core.List buildUnnamed3836() => [ +core.List buildUnnamed3817() => [ buildCreative(), buildCreative(), ]; -void checkUnnamed3836(core.List o) { +void checkUnnamed3817(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreative(o[0]); checkCreative(o[1]); @@ -4047,7 +4047,7 @@ api.CreativesListResponse buildCreativesListResponse() { final o = api.CreativesListResponse(); buildCounterCreativesListResponse++; if (buildCounterCreativesListResponse < 3) { - o.creatives = buildUnnamed3836(); + o.creatives = buildUnnamed3817(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -4058,7 +4058,7 @@ api.CreativesListResponse buildCreativesListResponse() { void checkCreativesListResponse(api.CreativesListResponse o) { buildCounterCreativesListResponse++; if (buildCounterCreativesListResponse < 3) { - checkUnnamed3836(o.creatives!); + checkUnnamed3817(o.creatives!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4071,45 +4071,45 @@ void checkCreativesListResponse(api.CreativesListResponse o) { buildCounterCreativesListResponse--; } -core.List buildUnnamed3837() => [ +core.List buildUnnamed3818() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3837(core.List o) { +void checkUnnamed3818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3838() => [ +core.List buildUnnamed3819() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3838(core.List o) { +void checkUnnamed3819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3839() => [ +core.List buildUnnamed3820() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3839(core.List o) { +void checkUnnamed3820(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed3840() => [ +core.List buildUnnamed3821() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3840(core.List o) { +void checkUnnamed3821(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -4121,11 +4121,11 @@ api.CrossDimensionReachReportCompatibleFields final o = api.CrossDimensionReachReportCompatibleFields(); buildCounterCrossDimensionReachReportCompatibleFields++; if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { - o.breakdown = buildUnnamed3837(); - o.dimensionFilters = buildUnnamed3838(); + o.breakdown = buildUnnamed3818(); + o.dimensionFilters = buildUnnamed3819(); o.kind = 'foo'; - o.metrics = buildUnnamed3839(); - o.overlapMetrics = buildUnnamed3840(); + o.metrics = buildUnnamed3820(); + o.overlapMetrics = buildUnnamed3821(); } buildCounterCrossDimensionReachReportCompatibleFields--; return o; @@ -4135,14 +4135,14 @@ void checkCrossDimensionReachReportCompatibleFields( api.CrossDimensionReachReportCompatibleFields o) { buildCounterCrossDimensionReachReportCompatibleFields++; if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { - checkUnnamed3837(o.breakdown!); - checkUnnamed3838(o.dimensionFilters!); + checkUnnamed3818(o.breakdown!); + checkUnnamed3819(o.dimensionFilters!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3839(o.metrics!); - checkUnnamed3840(o.overlapMetrics!); + checkUnnamed3820(o.metrics!); + checkUnnamed3821(o.overlapMetrics!); } buildCounterCrossDimensionReachReportCompatibleFields--; } @@ -4179,12 +4179,12 @@ void checkCustomFloodlightVariable(api.CustomFloodlightVariable o) { buildCounterCustomFloodlightVariable--; } -core.List buildUnnamed3841() => [ +core.List buildUnnamed3822() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3841(core.List o) { +void checkUnnamed3822(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -4195,7 +4195,7 @@ api.CustomRichMediaEvents buildCustomRichMediaEvents() { final o = api.CustomRichMediaEvents(); buildCounterCustomRichMediaEvents++; if (buildCounterCustomRichMediaEvents < 3) { - o.filteredEventIds = buildUnnamed3841(); + o.filteredEventIds = buildUnnamed3822(); o.kind = 'foo'; } buildCounterCustomRichMediaEvents--; @@ -4205,7 +4205,7 @@ api.CustomRichMediaEvents buildCustomRichMediaEvents() { void checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { buildCounterCustomRichMediaEvents++; if (buildCounterCustomRichMediaEvents < 3) { - checkUnnamed3841(o.filteredEventIds!); + checkUnnamed3822(o.filteredEventIds!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4316,12 +4316,12 @@ void checkDateRange(api.DateRange o) { buildCounterDateRange--; } -core.List buildUnnamed3842() => [ +core.List buildUnnamed3823() => [ 'foo', 'foo', ]; -void checkUnnamed3842(core.List o) { +void checkUnnamed3823(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4333,12 +4333,12 @@ void checkUnnamed3842(core.List o) { ); } -core.List buildUnnamed3843() => [ +core.List buildUnnamed3824() => [ 42, 42, ]; -void checkUnnamed3843(core.List o) { +void checkUnnamed3824(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4355,8 +4355,8 @@ api.DayPartTargeting buildDayPartTargeting() { final o = api.DayPartTargeting(); buildCounterDayPartTargeting++; if (buildCounterDayPartTargeting < 3) { - o.daysOfWeek = buildUnnamed3842(); - o.hoursOfDay = buildUnnamed3843(); + o.daysOfWeek = buildUnnamed3823(); + o.hoursOfDay = buildUnnamed3824(); o.userLocalTime = true; } buildCounterDayPartTargeting--; @@ -4366,19 +4366,19 @@ api.DayPartTargeting buildDayPartTargeting() { void checkDayPartTargeting(api.DayPartTargeting o) { buildCounterDayPartTargeting++; if (buildCounterDayPartTargeting < 3) { - checkUnnamed3842(o.daysOfWeek!); - checkUnnamed3843(o.hoursOfDay!); + checkUnnamed3823(o.daysOfWeek!); + checkUnnamed3824(o.hoursOfDay!); unittest.expect(o.userLocalTime!, unittest.isTrue); } buildCounterDayPartTargeting--; } -core.List buildUnnamed3844() => [ +core.List buildUnnamed3825() => [ 'foo', 'foo', ]; -void checkUnnamed3844(core.List o) { +void checkUnnamed3825(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4399,7 +4399,7 @@ api.DeepLink buildDeepLink() { o.fallbackUrl = 'foo'; o.kind = 'foo'; o.mobileApp = buildMobileApp(); - o.remarketingListIds = buildUnnamed3844(); + o.remarketingListIds = buildUnnamed3825(); } buildCounterDeepLink--; return o; @@ -4421,7 +4421,7 @@ void checkDeepLink(api.DeepLink o) { unittest.equals('foo'), ); checkMobileApp(o.mobileApp!); - checkUnnamed3844(o.remarketingListIds!); + checkUnnamed3825(o.remarketingListIds!); } buildCounterDeepLink--; } @@ -4622,12 +4622,12 @@ void checkDimensionValue(api.DimensionValue o) { buildCounterDimensionValue--; } -core.List buildUnnamed3845() => [ +core.List buildUnnamed3826() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3845(core.List o) { +void checkUnnamed3826(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -4639,7 +4639,7 @@ api.DimensionValueList buildDimensionValueList() { buildCounterDimensionValueList++; if (buildCounterDimensionValueList < 3) { o.etag = 'foo'; - o.items = buildUnnamed3845(); + o.items = buildUnnamed3826(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -4654,7 +4654,7 @@ void checkDimensionValueList(api.DimensionValueList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed3845(o.items!); + checkUnnamed3826(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4667,12 +4667,12 @@ void checkDimensionValueList(api.DimensionValueList o) { buildCounterDimensionValueList--; } -core.List buildUnnamed3846() => [ +core.List buildUnnamed3827() => [ buildDimensionFilter(), buildDimensionFilter(), ]; -void checkUnnamed3846(core.List o) { +void checkUnnamed3827(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionFilter(o[0]); checkDimensionFilter(o[1]); @@ -4685,7 +4685,7 @@ api.DimensionValueRequest buildDimensionValueRequest() { if (buildCounterDimensionValueRequest < 3) { o.dimensionName = 'foo'; o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); - o.filters = buildUnnamed3846(); + o.filters = buildUnnamed3827(); o.kind = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); } @@ -4704,7 +4704,7 @@ void checkDimensionValueRequest(api.DimensionValueRequest o) { o.endDate!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), ); - checkUnnamed3846(o.filters!); + checkUnnamed3827(o.filters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4717,12 +4717,12 @@ void checkDimensionValueRequest(api.DimensionValueRequest o) { buildCounterDimensionValueRequest--; } -core.List buildUnnamed3847() => [ +core.List buildUnnamed3828() => [ 'foo', 'foo', ]; -void checkUnnamed3847(core.List o) { +void checkUnnamed3828(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4734,12 +4734,12 @@ void checkUnnamed3847(core.List o) { ); } -core.List buildUnnamed3848() => [ +core.List buildUnnamed3829() => [ 'foo', 'foo', ]; -void checkUnnamed3848(core.List o) { +void checkUnnamed3829(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4758,8 +4758,8 @@ api.DirectorySite buildDirectorySite() { if (buildCounterDirectorySite < 3) { o.id = 'foo'; o.idDimensionValue = buildDimensionValue(); - o.inpageTagFormats = buildUnnamed3847(); - o.interstitialTagFormats = buildUnnamed3848(); + o.inpageTagFormats = buildUnnamed3828(); + o.interstitialTagFormats = buildUnnamed3829(); o.kind = 'foo'; o.name = 'foo'; o.settings = buildDirectorySiteSettings(); @@ -4777,8 +4777,8 @@ void checkDirectorySite(api.DirectorySite o) { unittest.equals('foo'), ); checkDimensionValue(o.idDimensionValue!); - checkUnnamed3847(o.inpageTagFormats!); - checkUnnamed3848(o.interstitialTagFormats!); + checkUnnamed3828(o.inpageTagFormats!); + checkUnnamed3829(o.interstitialTagFormats!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4821,12 +4821,12 @@ void checkDirectorySiteSettings(api.DirectorySiteSettings o) { buildCounterDirectorySiteSettings--; } -core.List buildUnnamed3849() => [ +core.List buildUnnamed3830() => [ buildDirectorySite(), buildDirectorySite(), ]; -void checkUnnamed3849(core.List o) { +void checkUnnamed3830(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDirectorySite(o[0]); checkDirectorySite(o[1]); @@ -4837,7 +4837,7 @@ api.DirectorySitesListResponse buildDirectorySitesListResponse() { final o = api.DirectorySitesListResponse(); buildCounterDirectorySitesListResponse++; if (buildCounterDirectorySitesListResponse < 3) { - o.directorySites = buildUnnamed3849(); + o.directorySites = buildUnnamed3830(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -4848,7 +4848,7 @@ api.DirectorySitesListResponse buildDirectorySitesListResponse() { void checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { buildCounterDirectorySitesListResponse++; if (buildCounterDirectorySitesListResponse < 3) { - checkUnnamed3849(o.directorySites!); + checkUnnamed3830(o.directorySites!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4861,12 +4861,12 @@ void checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { buildCounterDirectorySitesListResponse--; } -core.List buildUnnamed3850() => [ +core.List buildUnnamed3831() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed3850(core.List o) { +void checkUnnamed3831(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); @@ -4877,7 +4877,7 @@ api.DisjunctiveMatchStatement buildDisjunctiveMatchStatement() { final o = api.DisjunctiveMatchStatement(); buildCounterDisjunctiveMatchStatement++; if (buildCounterDisjunctiveMatchStatement < 3) { - o.eventFilters = buildUnnamed3850(); + o.eventFilters = buildUnnamed3831(); o.kind = 'foo'; } buildCounterDisjunctiveMatchStatement--; @@ -4887,7 +4887,7 @@ api.DisjunctiveMatchStatement buildDisjunctiveMatchStatement() { void checkDisjunctiveMatchStatement(api.DisjunctiveMatchStatement o) { buildCounterDisjunctiveMatchStatement++; if (buildCounterDisjunctiveMatchStatement < 3) { - checkUnnamed3850(o.eventFilters!); + checkUnnamed3831(o.eventFilters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4933,12 +4933,12 @@ void checkDynamicTargetingKey(api.DynamicTargetingKey o) { buildCounterDynamicTargetingKey--; } -core.List buildUnnamed3851() => [ +core.List buildUnnamed3832() => [ buildDynamicTargetingKey(), buildDynamicTargetingKey(), ]; -void checkUnnamed3851(core.List o) { +void checkUnnamed3832(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicTargetingKey(o[0]); checkDynamicTargetingKey(o[1]); @@ -4949,7 +4949,7 @@ api.DynamicTargetingKeysListResponse buildDynamicTargetingKeysListResponse() { final o = api.DynamicTargetingKeysListResponse(); buildCounterDynamicTargetingKeysListResponse++; if (buildCounterDynamicTargetingKeysListResponse < 3) { - o.dynamicTargetingKeys = buildUnnamed3851(); + o.dynamicTargetingKeys = buildUnnamed3832(); o.kind = 'foo'; } buildCounterDynamicTargetingKeysListResponse--; @@ -4960,7 +4960,7 @@ void checkDynamicTargetingKeysListResponse( api.DynamicTargetingKeysListResponse o) { buildCounterDynamicTargetingKeysListResponse++; if (buildCounterDynamicTargetingKeysListResponse < 3) { - checkUnnamed3851(o.dynamicTargetingKeys!); + checkUnnamed3832(o.dynamicTargetingKeys!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5030,12 +5030,12 @@ void checkEventFilter(api.EventFilter o) { buildCounterEventFilter--; } -core.List buildUnnamed3852() => [ +core.List buildUnnamed3833() => [ 'foo', 'foo', ]; -void checkUnnamed3852(core.List o) { +void checkUnnamed3833(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5063,7 +5063,7 @@ api.EventTag buildEventTag() { o.kind = 'foo'; o.name = 'foo'; o.siteFilterType = 'foo'; - o.siteIds = buildUnnamed3852(); + o.siteIds = buildUnnamed3833(); o.sslCompliant = true; o.status = 'foo'; o.subaccountId = 'foo'; @@ -5110,7 +5110,7 @@ void checkEventTag(api.EventTag o) { o.siteFilterType!, unittest.equals('foo'), ); - checkUnnamed3852(o.siteIds!); + checkUnnamed3833(o.siteIds!); unittest.expect(o.sslCompliant!, unittest.isTrue); unittest.expect( o.status!, @@ -5160,12 +5160,12 @@ void checkEventTagOverride(api.EventTagOverride o) { buildCounterEventTagOverride--; } -core.List buildUnnamed3853() => [ +core.List buildUnnamed3834() => [ buildEventTag(), buildEventTag(), ]; -void checkUnnamed3853(core.List o) { +void checkUnnamed3834(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventTag(o[0]); checkEventTag(o[1]); @@ -5176,7 +5176,7 @@ api.EventTagsListResponse buildEventTagsListResponse() { final o = api.EventTagsListResponse(); buildCounterEventTagsListResponse++; if (buildCounterEventTagsListResponse < 3) { - o.eventTags = buildUnnamed3853(); + o.eventTags = buildUnnamed3834(); o.kind = 'foo'; } buildCounterEventTagsListResponse--; @@ -5186,7 +5186,7 @@ api.EventTagsListResponse buildEventTagsListResponse() { void checkEventTagsListResponse(api.EventTagsListResponse o) { buildCounterEventTagsListResponse++; if (buildCounterEventTagsListResponse < 3) { - checkUnnamed3853(o.eventTags!); + checkUnnamed3834(o.eventTags!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5283,12 +5283,12 @@ void checkFile(api.File o) { buildCounterFile--; } -core.List buildUnnamed3854() => [ +core.List buildUnnamed3835() => [ buildFile(), buildFile(), ]; -void checkUnnamed3854(core.List o) { +void checkUnnamed3835(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -5300,7 +5300,7 @@ api.FileList buildFileList() { buildCounterFileList++; if (buildCounterFileList < 3) { o.etag = 'foo'; - o.items = buildUnnamed3854(); + o.items = buildUnnamed3835(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5315,7 +5315,7 @@ void checkFileList(api.FileList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed3854(o.items!); + checkUnnamed3835(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5399,12 +5399,12 @@ void checkFloodlightActivitiesGenerateTagResponse( buildCounterFloodlightActivitiesGenerateTagResponse--; } -core.List buildUnnamed3855() => [ +core.List buildUnnamed3836() => [ buildFloodlightActivity(), buildFloodlightActivity(), ]; -void checkUnnamed3855(core.List o) { +void checkUnnamed3836(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivity(o[0]); checkFloodlightActivity(o[1]); @@ -5415,7 +5415,7 @@ api.FloodlightActivitiesListResponse buildFloodlightActivitiesListResponse() { final o = api.FloodlightActivitiesListResponse(); buildCounterFloodlightActivitiesListResponse++; if (buildCounterFloodlightActivitiesListResponse < 3) { - o.floodlightActivities = buildUnnamed3855(); + o.floodlightActivities = buildUnnamed3836(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5427,7 +5427,7 @@ void checkFloodlightActivitiesListResponse( api.FloodlightActivitiesListResponse o) { buildCounterFloodlightActivitiesListResponse++; if (buildCounterFloodlightActivitiesListResponse < 3) { - checkUnnamed3855(o.floodlightActivities!); + checkUnnamed3836(o.floodlightActivities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5440,34 +5440,34 @@ void checkFloodlightActivitiesListResponse( buildCounterFloodlightActivitiesListResponse--; } -core.List buildUnnamed3856() => [ +core.List buildUnnamed3837() => [ buildFloodlightActivityDynamicTag(), buildFloodlightActivityDynamicTag(), ]; -void checkUnnamed3856(core.List o) { +void checkUnnamed3837(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivityDynamicTag(o[0]); checkFloodlightActivityDynamicTag(o[1]); } -core.List buildUnnamed3857() => [ +core.List buildUnnamed3838() => [ buildFloodlightActivityPublisherDynamicTag(), buildFloodlightActivityPublisherDynamicTag(), ]; -void checkUnnamed3857(core.List o) { +void checkUnnamed3838(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivityPublisherDynamicTag(o[0]); checkFloodlightActivityPublisherDynamicTag(o[1]); } -core.List buildUnnamed3858() => [ +core.List buildUnnamed3839() => [ 'foo', 'foo', ]; -void checkUnnamed3858(core.List o) { +void checkUnnamed3839(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5490,7 +5490,7 @@ api.FloodlightActivity buildFloodlightActivity() { o.attributionEnabled = true; o.cacheBustingType = 'foo'; o.countingMethod = 'foo'; - o.defaultTags = buildUnnamed3856(); + o.defaultTags = buildUnnamed3837(); o.expectedUrl = 'foo'; o.floodlightActivityGroupId = 'foo'; o.floodlightActivityGroupName = 'foo'; @@ -5504,7 +5504,7 @@ api.FloodlightActivity buildFloodlightActivity() { o.kind = 'foo'; o.name = 'foo'; o.notes = 'foo'; - o.publisherTags = buildUnnamed3857(); + o.publisherTags = buildUnnamed3838(); o.secure = true; o.sslCompliant = true; o.sslRequired = true; @@ -5512,7 +5512,7 @@ api.FloodlightActivity buildFloodlightActivity() { o.subaccountId = 'foo'; o.tagFormat = 'foo'; o.tagString = 'foo'; - o.userDefinedVariableTypes = buildUnnamed3858(); + o.userDefinedVariableTypes = buildUnnamed3839(); } buildCounterFloodlightActivity--; return o; @@ -5539,7 +5539,7 @@ void checkFloodlightActivity(api.FloodlightActivity o) { o.countingMethod!, unittest.equals('foo'), ); - checkUnnamed3856(o.defaultTags!); + checkUnnamed3837(o.defaultTags!); unittest.expect( o.expectedUrl!, unittest.equals('foo'), @@ -5586,7 +5586,7 @@ void checkFloodlightActivity(api.FloodlightActivity o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed3857(o.publisherTags!); + checkUnnamed3838(o.publisherTags!); unittest.expect(o.secure!, unittest.isTrue); unittest.expect(o.sslCompliant!, unittest.isTrue); unittest.expect(o.sslRequired!, unittest.isTrue); @@ -5606,7 +5606,7 @@ void checkFloodlightActivity(api.FloodlightActivity o) { o.tagString!, unittest.equals('foo'), ); - checkUnnamed3858(o.userDefinedVariableTypes!); + checkUnnamed3839(o.userDefinedVariableTypes!); } buildCounterFloodlightActivity--; } @@ -5711,12 +5711,12 @@ void checkFloodlightActivityGroup(api.FloodlightActivityGroup o) { buildCounterFloodlightActivityGroup--; } -core.List buildUnnamed3859() => [ +core.List buildUnnamed3840() => [ buildFloodlightActivityGroup(), buildFloodlightActivityGroup(), ]; -void checkUnnamed3859(core.List o) { +void checkUnnamed3840(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightActivityGroup(o[0]); checkFloodlightActivityGroup(o[1]); @@ -5728,7 +5728,7 @@ api.FloodlightActivityGroupsListResponse final o = api.FloodlightActivityGroupsListResponse(); buildCounterFloodlightActivityGroupsListResponse++; if (buildCounterFloodlightActivityGroupsListResponse < 3) { - o.floodlightActivityGroups = buildUnnamed3859(); + o.floodlightActivityGroups = buildUnnamed3840(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -5740,7 +5740,7 @@ void checkFloodlightActivityGroupsListResponse( api.FloodlightActivityGroupsListResponse o) { buildCounterFloodlightActivityGroupsListResponse++; if (buildCounterFloodlightActivityGroupsListResponse < 3) { - checkUnnamed3859(o.floodlightActivityGroups!); + checkUnnamed3840(o.floodlightActivityGroups!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5790,23 +5790,23 @@ void checkFloodlightActivityPublisherDynamicTag( buildCounterFloodlightActivityPublisherDynamicTag--; } -core.List buildUnnamed3860() => [ +core.List buildUnnamed3841() => [ buildThirdPartyAuthenticationToken(), buildThirdPartyAuthenticationToken(), ]; -void checkUnnamed3860(core.List o) { +void checkUnnamed3841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThirdPartyAuthenticationToken(o[0]); checkThirdPartyAuthenticationToken(o[1]); } -core.List buildUnnamed3861() => [ +core.List buildUnnamed3842() => [ buildUserDefinedVariableConfiguration(), buildUserDefinedVariableConfiguration(), ]; -void checkUnnamed3861(core.List o) { +void checkUnnamed3842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefinedVariableConfiguration(o[0]); checkUserDefinedVariableConfiguration(o[1]); @@ -5833,8 +5833,8 @@ api.FloodlightConfiguration buildFloodlightConfiguration() { o.omnitureSettings = buildOmnitureSettings(); o.subaccountId = 'foo'; o.tagSettings = buildTagSettings(); - o.thirdPartyAuthenticationTokens = buildUnnamed3860(); - o.userDefinedVariableConfigurations = buildUnnamed3861(); + o.thirdPartyAuthenticationTokens = buildUnnamed3841(); + o.userDefinedVariableConfigurations = buildUnnamed3842(); } buildCounterFloodlightConfiguration--; return o; @@ -5880,18 +5880,18 @@ void checkFloodlightConfiguration(api.FloodlightConfiguration o) { unittest.equals('foo'), ); checkTagSettings(o.tagSettings!); - checkUnnamed3860(o.thirdPartyAuthenticationTokens!); - checkUnnamed3861(o.userDefinedVariableConfigurations!); + checkUnnamed3841(o.thirdPartyAuthenticationTokens!); + checkUnnamed3842(o.userDefinedVariableConfigurations!); } buildCounterFloodlightConfiguration--; } -core.List buildUnnamed3862() => [ +core.List buildUnnamed3843() => [ buildFloodlightConfiguration(), buildFloodlightConfiguration(), ]; -void checkUnnamed3862(core.List o) { +void checkUnnamed3843(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFloodlightConfiguration(o[0]); checkFloodlightConfiguration(o[1]); @@ -5903,7 +5903,7 @@ api.FloodlightConfigurationsListResponse final o = api.FloodlightConfigurationsListResponse(); buildCounterFloodlightConfigurationsListResponse++; if (buildCounterFloodlightConfigurationsListResponse < 3) { - o.floodlightConfigurations = buildUnnamed3862(); + o.floodlightConfigurations = buildUnnamed3843(); o.kind = 'foo'; } buildCounterFloodlightConfigurationsListResponse--; @@ -5914,7 +5914,7 @@ void checkFloodlightConfigurationsListResponse( api.FloodlightConfigurationsListResponse o) { buildCounterFloodlightConfigurationsListResponse++; if (buildCounterFloodlightConfigurationsListResponse < 3) { - checkUnnamed3862(o.floodlightConfigurations!); + checkUnnamed3843(o.floodlightConfigurations!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5923,34 +5923,34 @@ void checkFloodlightConfigurationsListResponse( buildCounterFloodlightConfigurationsListResponse--; } -core.List buildUnnamed3863() => [ +core.List buildUnnamed3844() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3863(core.List o) { +void checkUnnamed3844(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3864() => [ +core.List buildUnnamed3845() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3864(core.List o) { +void checkUnnamed3845(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3865() => [ +core.List buildUnnamed3846() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3865(core.List o) { +void checkUnnamed3846(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -5961,10 +5961,10 @@ api.FloodlightReportCompatibleFields buildFloodlightReportCompatibleFields() { final o = api.FloodlightReportCompatibleFields(); buildCounterFloodlightReportCompatibleFields++; if (buildCounterFloodlightReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed3863(); - o.dimensions = buildUnnamed3864(); + o.dimensionFilters = buildUnnamed3844(); + o.dimensions = buildUnnamed3845(); o.kind = 'foo'; - o.metrics = buildUnnamed3865(); + o.metrics = buildUnnamed3846(); } buildCounterFloodlightReportCompatibleFields--; return o; @@ -5974,13 +5974,13 @@ void checkFloodlightReportCompatibleFields( api.FloodlightReportCompatibleFields o) { buildCounterFloodlightReportCompatibleFields++; if (buildCounterFloodlightReportCompatibleFields < 3) { - checkUnnamed3863(o.dimensionFilters!); - checkUnnamed3864(o.dimensions!); + checkUnnamed3844(o.dimensionFilters!); + checkUnnamed3845(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3865(o.metrics!); + checkUnnamed3846(o.metrics!); } buildCounterFloodlightReportCompatibleFields--; } @@ -6054,56 +6054,56 @@ void checkFsCommand(api.FsCommand o) { buildCounterFsCommand--; } -core.List buildUnnamed3866() => [ +core.List buildUnnamed3847() => [ buildCity(), buildCity(), ]; -void checkUnnamed3866(core.List o) { +void checkUnnamed3847(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCity(o[0]); checkCity(o[1]); } -core.List buildUnnamed3867() => [ +core.List buildUnnamed3848() => [ buildCountry(), buildCountry(), ]; -void checkUnnamed3867(core.List o) { +void checkUnnamed3848(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCountry(o[0]); checkCountry(o[1]); } -core.List buildUnnamed3868() => [ +core.List buildUnnamed3849() => [ buildMetro(), buildMetro(), ]; -void checkUnnamed3868(core.List o) { +void checkUnnamed3849(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetro(o[0]); checkMetro(o[1]); } -core.List buildUnnamed3869() => [ +core.List buildUnnamed3850() => [ buildPostalCode(), buildPostalCode(), ]; -void checkUnnamed3869(core.List o) { +void checkUnnamed3850(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCode(o[0]); checkPostalCode(o[1]); } -core.List buildUnnamed3870() => [ +core.List buildUnnamed3851() => [ buildRegion(), buildRegion(), ]; -void checkUnnamed3870(core.List o) { +void checkUnnamed3851(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -6114,12 +6114,12 @@ api.GeoTargeting buildGeoTargeting() { final o = api.GeoTargeting(); buildCounterGeoTargeting++; if (buildCounterGeoTargeting < 3) { - o.cities = buildUnnamed3866(); - o.countries = buildUnnamed3867(); + o.cities = buildUnnamed3847(); + o.countries = buildUnnamed3848(); o.excludeCountries = true; - o.metros = buildUnnamed3868(); - o.postalCodes = buildUnnamed3869(); - o.regions = buildUnnamed3870(); + o.metros = buildUnnamed3849(); + o.postalCodes = buildUnnamed3850(); + o.regions = buildUnnamed3851(); } buildCounterGeoTargeting--; return o; @@ -6128,22 +6128,22 @@ api.GeoTargeting buildGeoTargeting() { void checkGeoTargeting(api.GeoTargeting o) { buildCounterGeoTargeting++; if (buildCounterGeoTargeting < 3) { - checkUnnamed3866(o.cities!); - checkUnnamed3867(o.countries!); + checkUnnamed3847(o.cities!); + checkUnnamed3848(o.countries!); unittest.expect(o.excludeCountries!, unittest.isTrue); - checkUnnamed3868(o.metros!); - checkUnnamed3869(o.postalCodes!); - checkUnnamed3870(o.regions!); + checkUnnamed3849(o.metros!); + checkUnnamed3850(o.postalCodes!); + checkUnnamed3851(o.regions!); } buildCounterGeoTargeting--; } -core.List buildUnnamed3871() => [ +core.List buildUnnamed3852() => [ buildAdSlot(), buildAdSlot(), ]; -void checkUnnamed3871(core.List o) { +void checkUnnamed3852(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdSlot(o[0]); checkAdSlot(o[1]); @@ -6155,7 +6155,7 @@ api.InventoryItem buildInventoryItem() { buildCounterInventoryItem++; if (buildCounterInventoryItem < 3) { o.accountId = 'foo'; - o.adSlots = buildUnnamed3871(); + o.adSlots = buildUnnamed3852(); o.advertiserId = 'foo'; o.contentCategoryId = 'foo'; o.estimatedClickThroughRate = 'foo'; @@ -6186,7 +6186,7 @@ void checkInventoryItem(api.InventoryItem o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed3871(o.adSlots!); + checkUnnamed3852(o.adSlots!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -6254,12 +6254,12 @@ void checkInventoryItem(api.InventoryItem o) { buildCounterInventoryItem--; } -core.List buildUnnamed3872() => [ +core.List buildUnnamed3853() => [ buildInventoryItem(), buildInventoryItem(), ]; -void checkUnnamed3872(core.List o) { +void checkUnnamed3853(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryItem(o[0]); checkInventoryItem(o[1]); @@ -6270,7 +6270,7 @@ api.InventoryItemsListResponse buildInventoryItemsListResponse() { final o = api.InventoryItemsListResponse(); buildCounterInventoryItemsListResponse++; if (buildCounterInventoryItemsListResponse < 3) { - o.inventoryItems = buildUnnamed3872(); + o.inventoryItems = buildUnnamed3853(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -6281,7 +6281,7 @@ api.InventoryItemsListResponse buildInventoryItemsListResponse() { void checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { buildCounterInventoryItemsListResponse++; if (buildCounterInventoryItemsListResponse < 3) { - checkUnnamed3872(o.inventoryItems!); + checkUnnamed3853(o.inventoryItems!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6316,12 +6316,12 @@ void checkKeyValueTargetingExpression(api.KeyValueTargetingExpression o) { buildCounterKeyValueTargetingExpression--; } -core.List buildUnnamed3873() => [ +core.List buildUnnamed3854() => [ buildDeepLink(), buildDeepLink(), ]; -void checkUnnamed3873(core.List o) { +void checkUnnamed3854(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeepLink(o[0]); checkDeepLink(o[1]); @@ -6334,7 +6334,7 @@ api.LandingPage buildLandingPage() { if (buildCounterLandingPage < 3) { o.advertiserId = 'foo'; o.archived = true; - o.deepLinks = buildUnnamed3873(); + o.deepLinks = buildUnnamed3854(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; @@ -6352,7 +6352,7 @@ void checkLandingPage(api.LandingPage o) { unittest.equals('foo'), ); unittest.expect(o.archived!, unittest.isTrue); - checkUnnamed3873(o.deepLinks!); + checkUnnamed3854(o.deepLinks!); unittest.expect( o.id!, unittest.equals('foo'), @@ -6410,12 +6410,12 @@ void checkLanguage(api.Language o) { buildCounterLanguage--; } -core.List buildUnnamed3874() => [ +core.List buildUnnamed3855() => [ buildLanguage(), buildLanguage(), ]; -void checkUnnamed3874(core.List o) { +void checkUnnamed3855(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLanguage(o[0]); checkLanguage(o[1]); @@ -6426,7 +6426,7 @@ api.LanguageTargeting buildLanguageTargeting() { final o = api.LanguageTargeting(); buildCounterLanguageTargeting++; if (buildCounterLanguageTargeting < 3) { - o.languages = buildUnnamed3874(); + o.languages = buildUnnamed3855(); } buildCounterLanguageTargeting--; return o; @@ -6435,17 +6435,17 @@ api.LanguageTargeting buildLanguageTargeting() { void checkLanguageTargeting(api.LanguageTargeting o) { buildCounterLanguageTargeting++; if (buildCounterLanguageTargeting < 3) { - checkUnnamed3874(o.languages!); + checkUnnamed3855(o.languages!); } buildCounterLanguageTargeting--; } -core.List buildUnnamed3875() => [ +core.List buildUnnamed3856() => [ buildLanguage(), buildLanguage(), ]; -void checkUnnamed3875(core.List o) { +void checkUnnamed3856(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLanguage(o[0]); checkLanguage(o[1]); @@ -6457,7 +6457,7 @@ api.LanguagesListResponse buildLanguagesListResponse() { buildCounterLanguagesListResponse++; if (buildCounterLanguagesListResponse < 3) { o.kind = 'foo'; - o.languages = buildUnnamed3875(); + o.languages = buildUnnamed3856(); } buildCounterLanguagesListResponse--; return o; @@ -6470,7 +6470,7 @@ void checkLanguagesListResponse(api.LanguagesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3875(o.languages!); + checkUnnamed3856(o.languages!); } buildCounterLanguagesListResponse--; } @@ -6497,12 +6497,12 @@ void checkLastModifiedInfo(api.LastModifiedInfo o) { buildCounterLastModifiedInfo--; } -core.List buildUnnamed3876() => [ +core.List buildUnnamed3857() => [ buildListPopulationTerm(), buildListPopulationTerm(), ]; -void checkUnnamed3876(core.List o) { +void checkUnnamed3857(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListPopulationTerm(o[0]); checkListPopulationTerm(o[1]); @@ -6513,7 +6513,7 @@ api.ListPopulationClause buildListPopulationClause() { final o = api.ListPopulationClause(); buildCounterListPopulationClause++; if (buildCounterListPopulationClause < 3) { - o.terms = buildUnnamed3876(); + o.terms = buildUnnamed3857(); } buildCounterListPopulationClause--; return o; @@ -6522,17 +6522,17 @@ api.ListPopulationClause buildListPopulationClause() { void checkListPopulationClause(api.ListPopulationClause o) { buildCounterListPopulationClause++; if (buildCounterListPopulationClause < 3) { - checkUnnamed3876(o.terms!); + checkUnnamed3857(o.terms!); } buildCounterListPopulationClause--; } -core.List buildUnnamed3877() => [ +core.List buildUnnamed3858() => [ buildListPopulationClause(), buildListPopulationClause(), ]; -void checkUnnamed3877(core.List o) { +void checkUnnamed3858(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListPopulationClause(o[0]); checkListPopulationClause(o[1]); @@ -6545,7 +6545,7 @@ api.ListPopulationRule buildListPopulationRule() { if (buildCounterListPopulationRule < 3) { o.floodlightActivityId = 'foo'; o.floodlightActivityName = 'foo'; - o.listPopulationClauses = buildUnnamed3877(); + o.listPopulationClauses = buildUnnamed3858(); } buildCounterListPopulationRule--; return o; @@ -6562,7 +6562,7 @@ void checkListPopulationRule(api.ListPopulationRule o) { o.floodlightActivityName!, unittest.equals('foo'), ); - checkUnnamed3877(o.listPopulationClauses!); + checkUnnamed3858(o.listPopulationClauses!); } buildCounterListPopulationRule--; } @@ -6848,12 +6848,12 @@ void checkMetro(api.Metro o) { buildCounterMetro--; } -core.List buildUnnamed3878() => [ +core.List buildUnnamed3859() => [ buildMetro(), buildMetro(), ]; -void checkUnnamed3878(core.List o) { +void checkUnnamed3859(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetro(o[0]); checkMetro(o[1]); @@ -6865,7 +6865,7 @@ api.MetrosListResponse buildMetrosListResponse() { buildCounterMetrosListResponse++; if (buildCounterMetrosListResponse < 3) { o.kind = 'foo'; - o.metros = buildUnnamed3878(); + o.metros = buildUnnamed3859(); } buildCounterMetrosListResponse--; return o; @@ -6878,7 +6878,7 @@ void checkMetrosListResponse(api.MetrosListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3878(o.metros!); + checkUnnamed3859(o.metros!); } buildCounterMetrosListResponse--; } @@ -6925,12 +6925,12 @@ void checkMobileApp(api.MobileApp o) { buildCounterMobileApp--; } -core.List buildUnnamed3879() => [ +core.List buildUnnamed3860() => [ buildMobileApp(), buildMobileApp(), ]; -void checkUnnamed3879(core.List o) { +void checkUnnamed3860(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileApp(o[0]); checkMobileApp(o[1]); @@ -6942,7 +6942,7 @@ api.MobileAppsListResponse buildMobileAppsListResponse() { buildCounterMobileAppsListResponse++; if (buildCounterMobileAppsListResponse < 3) { o.kind = 'foo'; - o.mobileApps = buildUnnamed3879(); + o.mobileApps = buildUnnamed3860(); o.nextPageToken = 'foo'; } buildCounterMobileAppsListResponse--; @@ -6956,7 +6956,7 @@ void checkMobileAppsListResponse(api.MobileAppsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3879(o.mobileApps!); + checkUnnamed3860(o.mobileApps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -7007,12 +7007,12 @@ void checkMobileCarrier(api.MobileCarrier o) { buildCounterMobileCarrier--; } -core.List buildUnnamed3880() => [ +core.List buildUnnamed3861() => [ buildMobileCarrier(), buildMobileCarrier(), ]; -void checkUnnamed3880(core.List o) { +void checkUnnamed3861(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileCarrier(o[0]); checkMobileCarrier(o[1]); @@ -7024,7 +7024,7 @@ api.MobileCarriersListResponse buildMobileCarriersListResponse() { buildCounterMobileCarriersListResponse++; if (buildCounterMobileCarriersListResponse < 3) { o.kind = 'foo'; - o.mobileCarriers = buildUnnamed3880(); + o.mobileCarriers = buildUnnamed3861(); } buildCounterMobileCarriersListResponse--; return o; @@ -7037,7 +7037,7 @@ void checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3880(o.mobileCarriers!); + checkUnnamed3861(o.mobileCarriers!); } buildCounterMobileCarriersListResponse--; } @@ -7096,12 +7096,12 @@ void checkObaIcon(api.ObaIcon o) { buildCounterObaIcon--; } -core.List buildUnnamed3881() => [ +core.List buildUnnamed3862() => [ 'foo', 'foo', ]; -void checkUnnamed3881(core.List o) { +void checkUnnamed3862(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7119,7 +7119,7 @@ api.ObjectFilter buildObjectFilter() { buildCounterObjectFilter++; if (buildCounterObjectFilter < 3) { o.kind = 'foo'; - o.objectIds = buildUnnamed3881(); + o.objectIds = buildUnnamed3862(); o.status = 'foo'; } buildCounterObjectFilter--; @@ -7133,7 +7133,7 @@ void checkObjectFilter(api.ObjectFilter o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3881(o.objectIds!); + checkUnnamed3862(o.objectIds!); unittest.expect( o.status!, unittest.equals('foo'), @@ -7270,12 +7270,12 @@ void checkOperatingSystemVersion(api.OperatingSystemVersion o) { buildCounterOperatingSystemVersion--; } -core.List buildUnnamed3882() => [ +core.List buildUnnamed3863() => [ buildOperatingSystemVersion(), buildOperatingSystemVersion(), ]; -void checkUnnamed3882(core.List o) { +void checkUnnamed3863(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystemVersion(o[0]); checkOperatingSystemVersion(o[1]); @@ -7288,7 +7288,7 @@ api.OperatingSystemVersionsListResponse buildCounterOperatingSystemVersionsListResponse++; if (buildCounterOperatingSystemVersionsListResponse < 3) { o.kind = 'foo'; - o.operatingSystemVersions = buildUnnamed3882(); + o.operatingSystemVersions = buildUnnamed3863(); } buildCounterOperatingSystemVersionsListResponse--; return o; @@ -7302,17 +7302,17 @@ void checkOperatingSystemVersionsListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed3882(o.operatingSystemVersions!); + checkUnnamed3863(o.operatingSystemVersions!); } buildCounterOperatingSystemVersionsListResponse--; } -core.List buildUnnamed3883() => [ +core.List buildUnnamed3864() => [ buildOperatingSystem(), buildOperatingSystem(), ]; -void checkUnnamed3883(core.List o) { +void checkUnnamed3864(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystem(o[0]); checkOperatingSystem(o[1]); @@ -7324,7 +7324,7 @@ api.OperatingSystemsListResponse buildOperatingSystemsListResponse() { buildCounterOperatingSystemsListResponse++; if (buildCounterOperatingSystemsListResponse < 3) { o.kind = 'foo'; - o.operatingSystems = buildUnnamed3883(); + o.operatingSystems = buildUnnamed3864(); } buildCounterOperatingSystemsListResponse--; return o; @@ -7337,7 +7337,7 @@ void checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3883(o.operatingSystems!); + checkUnnamed3864(o.operatingSystems!); } buildCounterOperatingSystemsListResponse--; } @@ -7371,12 +7371,12 @@ void checkOptimizationActivity(api.OptimizationActivity o) { buildCounterOptimizationActivity--; } -core.List buildUnnamed3884() => [ +core.List buildUnnamed3865() => [ 'foo', 'foo', ]; -void checkUnnamed3884(core.List o) { +void checkUnnamed3865(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7388,23 +7388,23 @@ void checkUnnamed3884(core.List o) { ); } -core.List buildUnnamed3885() => [ +core.List buildUnnamed3866() => [ buildOrderContact(), buildOrderContact(), ]; -void checkUnnamed3885(core.List o) { +void checkUnnamed3866(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderContact(o[0]); checkOrderContact(o[1]); } -core.List buildUnnamed3886() => [ +core.List buildUnnamed3867() => [ 'foo', 'foo', ]; -void checkUnnamed3886(core.List o) { +void checkUnnamed3867(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7416,12 +7416,12 @@ void checkUnnamed3886(core.List o) { ); } -core.List buildUnnamed3887() => [ +core.List buildUnnamed3868() => [ 'foo', 'foo', ]; -void checkUnnamed3887(core.List o) { +void checkUnnamed3868(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7440,11 +7440,11 @@ api.Order buildOrder() { if (buildCounterOrder < 3) { o.accountId = 'foo'; o.advertiserId = 'foo'; - o.approverUserProfileIds = buildUnnamed3884(); + o.approverUserProfileIds = buildUnnamed3865(); o.buyerInvoiceId = 'foo'; o.buyerOrganizationName = 'foo'; o.comments = 'foo'; - o.contacts = buildUnnamed3885(); + o.contacts = buildUnnamed3866(); o.id = 'foo'; o.kind = 'foo'; o.lastModifiedInfo = buildLastModifiedInfo(); @@ -7454,8 +7454,8 @@ api.Order buildOrder() { o.projectId = 'foo'; o.sellerOrderId = 'foo'; o.sellerOrganizationName = 'foo'; - o.siteId = buildUnnamed3886(); - o.siteNames = buildUnnamed3887(); + o.siteId = buildUnnamed3867(); + o.siteNames = buildUnnamed3868(); o.subaccountId = 'foo'; o.termsAndConditions = 'foo'; } @@ -7474,7 +7474,7 @@ void checkOrder(api.Order o) { o.advertiserId!, unittest.equals('foo'), ); - checkUnnamed3884(o.approverUserProfileIds!); + checkUnnamed3865(o.approverUserProfileIds!); unittest.expect( o.buyerInvoiceId!, unittest.equals('foo'), @@ -7487,7 +7487,7 @@ void checkOrder(api.Order o) { o.comments!, unittest.equals('foo'), ); - checkUnnamed3885(o.contacts!); + checkUnnamed3866(o.contacts!); unittest.expect( o.id!, unittest.equals('foo'), @@ -7521,8 +7521,8 @@ void checkOrder(api.Order o) { o.sellerOrganizationName!, unittest.equals('foo'), ); - checkUnnamed3886(o.siteId!); - checkUnnamed3887(o.siteNames!); + checkUnnamed3867(o.siteId!); + checkUnnamed3868(o.siteNames!); unittest.expect( o.subaccountId!, unittest.equals('foo'), @@ -7577,12 +7577,12 @@ void checkOrderContact(api.OrderContact o) { buildCounterOrderContact--; } -core.List buildUnnamed3888() => [ +core.List buildUnnamed3869() => [ 'foo', 'foo', ]; -void checkUnnamed3888(core.List o) { +void checkUnnamed3869(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7594,12 +7594,12 @@ void checkUnnamed3888(core.List o) { ); } -core.List buildUnnamed3889() => [ +core.List buildUnnamed3870() => [ 'foo', 'foo', ]; -void checkUnnamed3889(core.List o) { +void checkUnnamed3870(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7619,13 +7619,13 @@ api.OrderDocument buildOrderDocument() { o.accountId = 'foo'; o.advertiserId = 'foo'; o.amendedOrderDocumentId = 'foo'; - o.approvedByUserProfileIds = buildUnnamed3888(); + o.approvedByUserProfileIds = buildUnnamed3869(); o.cancelled = true; o.createdInfo = buildLastModifiedInfo(); o.effectiveDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.id = 'foo'; o.kind = 'foo'; - o.lastSentRecipients = buildUnnamed3889(); + o.lastSentRecipients = buildUnnamed3870(); o.lastSentTime = core.DateTime.parse('2002-02-27T14:01:02'); o.orderId = 'foo'; o.projectId = 'foo'; @@ -7653,7 +7653,7 @@ void checkOrderDocument(api.OrderDocument o) { o.amendedOrderDocumentId!, unittest.equals('foo'), ); - checkUnnamed3888(o.approvedByUserProfileIds!); + checkUnnamed3869(o.approvedByUserProfileIds!); unittest.expect(o.cancelled!, unittest.isTrue); checkLastModifiedInfo(o.createdInfo!); unittest.expect( @@ -7668,7 +7668,7 @@ void checkOrderDocument(api.OrderDocument o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3889(o.lastSentRecipients!); + checkUnnamed3870(o.lastSentRecipients!); unittest.expect( o.lastSentTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -7698,12 +7698,12 @@ void checkOrderDocument(api.OrderDocument o) { buildCounterOrderDocument--; } -core.List buildUnnamed3890() => [ +core.List buildUnnamed3871() => [ buildOrderDocument(), buildOrderDocument(), ]; -void checkUnnamed3890(core.List o) { +void checkUnnamed3871(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderDocument(o[0]); checkOrderDocument(o[1]); @@ -7716,7 +7716,7 @@ api.OrderDocumentsListResponse buildOrderDocumentsListResponse() { if (buildCounterOrderDocumentsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.orderDocuments = buildUnnamed3890(); + o.orderDocuments = buildUnnamed3871(); } buildCounterOrderDocumentsListResponse--; return o; @@ -7733,17 +7733,17 @@ void checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3890(o.orderDocuments!); + checkUnnamed3871(o.orderDocuments!); } buildCounterOrderDocumentsListResponse--; } -core.List buildUnnamed3891() => [ +core.List buildUnnamed3872() => [ buildOrder(), buildOrder(), ]; -void checkUnnamed3891(core.List o) { +void checkUnnamed3872(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrder(o[0]); checkOrder(o[1]); @@ -7756,7 +7756,7 @@ api.OrdersListResponse buildOrdersListResponse() { if (buildCounterOrdersListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.orders = buildUnnamed3891(); + o.orders = buildUnnamed3872(); } buildCounterOrdersListResponse--; return o; @@ -7773,17 +7773,17 @@ void checkOrdersListResponse(api.OrdersListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3891(o.orders!); + checkUnnamed3872(o.orders!); } buildCounterOrdersListResponse--; } -core.List buildUnnamed3892() => [ +core.List buildUnnamed3873() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed3892(core.List o) { +void checkUnnamed3873(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); @@ -7794,7 +7794,7 @@ api.PathFilter buildPathFilter() { final o = api.PathFilter(); buildCounterPathFilter++; if (buildCounterPathFilter < 3) { - o.eventFilters = buildUnnamed3892(); + o.eventFilters = buildUnnamed3873(); o.kind = 'foo'; o.pathMatchPosition = 'foo'; } @@ -7805,7 +7805,7 @@ api.PathFilter buildPathFilter() { void checkPathFilter(api.PathFilter o) { buildCounterPathFilter++; if (buildCounterPathFilter < 3) { - checkUnnamed3892(o.eventFilters!); + checkUnnamed3873(o.eventFilters!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7818,45 +7818,45 @@ void checkPathFilter(api.PathFilter o) { buildCounterPathFilter--; } -core.List buildUnnamed3893() => [ +core.List buildUnnamed3874() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3893(core.List o) { +void checkUnnamed3874(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3894() => [ +core.List buildUnnamed3875() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3894(core.List o) { +void checkUnnamed3875(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3895() => [ +core.List buildUnnamed3876() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3895(core.List o) { +void checkUnnamed3876(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed3896() => [ +core.List buildUnnamed3877() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3896(core.List o) { +void checkUnnamed3877(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); @@ -7867,11 +7867,11 @@ api.PathReportCompatibleFields buildPathReportCompatibleFields() { final o = api.PathReportCompatibleFields(); buildCounterPathReportCompatibleFields++; if (buildCounterPathReportCompatibleFields < 3) { - o.channelGroupings = buildUnnamed3893(); - o.dimensions = buildUnnamed3894(); + o.channelGroupings = buildUnnamed3874(); + o.dimensions = buildUnnamed3875(); o.kind = 'foo'; - o.metrics = buildUnnamed3895(); - o.pathFilters = buildUnnamed3896(); + o.metrics = buildUnnamed3876(); + o.pathFilters = buildUnnamed3877(); } buildCounterPathReportCompatibleFields--; return o; @@ -7880,24 +7880,24 @@ api.PathReportCompatibleFields buildPathReportCompatibleFields() { void checkPathReportCompatibleFields(api.PathReportCompatibleFields o) { buildCounterPathReportCompatibleFields++; if (buildCounterPathReportCompatibleFields < 3) { - checkUnnamed3893(o.channelGroupings!); - checkUnnamed3894(o.dimensions!); + checkUnnamed3874(o.channelGroupings!); + checkUnnamed3875(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3895(o.metrics!); - checkUnnamed3896(o.pathFilters!); + checkUnnamed3876(o.metrics!); + checkUnnamed3877(o.pathFilters!); } buildCounterPathReportCompatibleFields--; } -core.List buildUnnamed3897() => [ +core.List buildUnnamed3878() => [ 'foo', 'foo', ]; -void checkUnnamed3897(core.List o) { +void checkUnnamed3878(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7909,12 +7909,12 @@ void checkUnnamed3897(core.List o) { ); } -core.List buildUnnamed3898() => [ +core.List buildUnnamed3879() => [ 'foo', 'foo', ]; -void checkUnnamed3898(core.List o) { +void checkUnnamed3879(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7932,10 +7932,10 @@ api.PathReportDimensionValue buildPathReportDimensionValue() { buildCounterPathReportDimensionValue++; if (buildCounterPathReportDimensionValue < 3) { o.dimensionName = 'foo'; - o.ids = buildUnnamed3897(); + o.ids = buildUnnamed3878(); o.kind = 'foo'; o.matchType = 'foo'; - o.values = buildUnnamed3898(); + o.values = buildUnnamed3879(); } buildCounterPathReportDimensionValue--; return o; @@ -7948,7 +7948,7 @@ void checkPathReportDimensionValue(api.PathReportDimensionValue o) { o.dimensionName!, unittest.equals('foo'), ); - checkUnnamed3897(o.ids!); + checkUnnamed3878(o.ids!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7957,50 +7957,50 @@ void checkPathReportDimensionValue(api.PathReportDimensionValue o) { o.matchType!, unittest.equals('foo'), ); - checkUnnamed3898(o.values!); + checkUnnamed3879(o.values!); } buildCounterPathReportDimensionValue--; } -core.List buildUnnamed3899() => [ +core.List buildUnnamed3880() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3899(core.List o) { +void checkUnnamed3880(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3900() => [ +core.List buildUnnamed3881() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3900(core.List o) { +void checkUnnamed3881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3901() => [ +core.List buildUnnamed3882() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3901(core.List o) { +void checkUnnamed3882(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed3902() => [ +core.List buildUnnamed3883() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3902(core.List o) { +void checkUnnamed3883(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); @@ -8012,11 +8012,11 @@ api.PathToConversionReportCompatibleFields final o = api.PathToConversionReportCompatibleFields(); buildCounterPathToConversionReportCompatibleFields++; if (buildCounterPathToConversionReportCompatibleFields < 3) { - o.conversionDimensions = buildUnnamed3899(); - o.customFloodlightVariables = buildUnnamed3900(); + o.conversionDimensions = buildUnnamed3880(); + o.customFloodlightVariables = buildUnnamed3881(); o.kind = 'foo'; - o.metrics = buildUnnamed3901(); - o.perInteractionDimensions = buildUnnamed3902(); + o.metrics = buildUnnamed3882(); + o.perInteractionDimensions = buildUnnamed3883(); } buildCounterPathToConversionReportCompatibleFields--; return o; @@ -8026,35 +8026,35 @@ void checkPathToConversionReportCompatibleFields( api.PathToConversionReportCompatibleFields o) { buildCounterPathToConversionReportCompatibleFields++; if (buildCounterPathToConversionReportCompatibleFields < 3) { - checkUnnamed3899(o.conversionDimensions!); - checkUnnamed3900(o.customFloodlightVariables!); + checkUnnamed3880(o.conversionDimensions!); + checkUnnamed3881(o.customFloodlightVariables!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3901(o.metrics!); - checkUnnamed3902(o.perInteractionDimensions!); + checkUnnamed3882(o.metrics!); + checkUnnamed3883(o.perInteractionDimensions!); } buildCounterPathToConversionReportCompatibleFields--; } -core.List buildUnnamed3903() => [ +core.List buildUnnamed3884() => [ buildSize(), buildSize(), ]; -void checkUnnamed3903(core.List o) { +void checkUnnamed3884(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); } -core.List buildUnnamed3904() => [ +core.List buildUnnamed3885() => [ 'foo', 'foo', ]; -void checkUnnamed3904(core.List o) { +void checkUnnamed3885(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8073,7 +8073,7 @@ api.Placement buildPlacement() { if (buildCounterPlacement < 3) { o.accountId = 'foo'; o.adBlockingOptOut = true; - o.additionalSizes = buildUnnamed3903(); + o.additionalSizes = buildUnnamed3884(); o.advertiserId = 'foo'; o.advertiserIdDimensionValue = buildDimensionValue(); o.archived = true; @@ -8108,7 +8108,7 @@ api.Placement buildPlacement() { o.sslRequired = true; o.status = 'foo'; o.subaccountId = 'foo'; - o.tagFormats = buildUnnamed3904(); + o.tagFormats = buildUnnamed3885(); o.tagSetting = buildTagSetting(); o.videoActiveViewOptOut = true; o.videoSettings = buildVideoSettings(); @@ -8127,7 +8127,7 @@ void checkPlacement(api.Placement o) { unittest.equals('foo'), ); unittest.expect(o.adBlockingOptOut!, unittest.isTrue); - checkUnnamed3903(o.additionalSizes!); + checkUnnamed3884(o.additionalSizes!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -8213,7 +8213,7 @@ void checkPlacement(api.Placement o) { o.subaccountId!, unittest.equals('foo'), ); - checkUnnamed3904(o.tagFormats!); + checkUnnamed3885(o.tagFormats!); checkTagSetting(o.tagSetting!); unittest.expect(o.videoActiveViewOptOut!, unittest.isTrue); checkVideoSettings(o.videoSettings!); @@ -8254,12 +8254,12 @@ void checkPlacementAssignment(api.PlacementAssignment o) { buildCounterPlacementAssignment--; } -core.List buildUnnamed3905() => [ +core.List buildUnnamed3886() => [ 'foo', 'foo', ]; -void checkUnnamed3905(core.List o) { +void checkUnnamed3886(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8282,7 +8282,7 @@ api.PlacementGroup buildPlacementGroup() { o.archived = true; o.campaignId = 'foo'; o.campaignIdDimensionValue = buildDimensionValue(); - o.childPlacementIds = buildUnnamed3905(); + o.childPlacementIds = buildUnnamed3886(); o.comment = 'foo'; o.contentCategoryId = 'foo'; o.createInfo = buildLastModifiedInfo(); @@ -8325,7 +8325,7 @@ void checkPlacementGroup(api.PlacementGroup o) { unittest.equals('foo'), ); checkDimensionValue(o.campaignIdDimensionValue!); - checkUnnamed3905(o.childPlacementIds!); + checkUnnamed3886(o.childPlacementIds!); unittest.expect( o.comment!, unittest.equals('foo'), @@ -8385,12 +8385,12 @@ void checkPlacementGroup(api.PlacementGroup o) { buildCounterPlacementGroup--; } -core.List buildUnnamed3906() => [ +core.List buildUnnamed3887() => [ buildPlacementGroup(), buildPlacementGroup(), ]; -void checkUnnamed3906(core.List o) { +void checkUnnamed3887(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementGroup(o[0]); checkPlacementGroup(o[1]); @@ -8403,7 +8403,7 @@ api.PlacementGroupsListResponse buildPlacementGroupsListResponse() { if (buildCounterPlacementGroupsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.placementGroups = buildUnnamed3906(); + o.placementGroups = buildUnnamed3887(); } buildCounterPlacementGroupsListResponse--; return o; @@ -8420,17 +8420,17 @@ void checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3906(o.placementGroups!); + checkUnnamed3887(o.placementGroups!); } buildCounterPlacementGroupsListResponse--; } -core.List buildUnnamed3907() => [ +core.List buildUnnamed3888() => [ buildPlacementStrategy(), buildPlacementStrategy(), ]; -void checkUnnamed3907(core.List o) { +void checkUnnamed3888(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementStrategy(o[0]); checkPlacementStrategy(o[1]); @@ -8443,7 +8443,7 @@ api.PlacementStrategiesListResponse buildPlacementStrategiesListResponse() { if (buildCounterPlacementStrategiesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.placementStrategies = buildUnnamed3907(); + o.placementStrategies = buildUnnamed3888(); } buildCounterPlacementStrategiesListResponse--; return o; @@ -8461,7 +8461,7 @@ void checkPlacementStrategiesListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3907(o.placementStrategies!); + checkUnnamed3888(o.placementStrategies!); } buildCounterPlacementStrategiesListResponse--; } @@ -8503,12 +8503,12 @@ void checkPlacementStrategy(api.PlacementStrategy o) { buildCounterPlacementStrategy--; } -core.List buildUnnamed3908() => [ +core.List buildUnnamed3889() => [ buildTagData(), buildTagData(), ]; -void checkUnnamed3908(core.List o) { +void checkUnnamed3889(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTagData(o[0]); checkTagData(o[1]); @@ -8520,7 +8520,7 @@ api.PlacementTag buildPlacementTag() { buildCounterPlacementTag++; if (buildCounterPlacementTag < 3) { o.placementId = 'foo'; - o.tagDatas = buildUnnamed3908(); + o.tagDatas = buildUnnamed3889(); } buildCounterPlacementTag--; return o; @@ -8533,17 +8533,17 @@ void checkPlacementTag(api.PlacementTag o) { o.placementId!, unittest.equals('foo'), ); - checkUnnamed3908(o.tagDatas!); + checkUnnamed3889(o.tagDatas!); } buildCounterPlacementTag--; } -core.List buildUnnamed3909() => [ +core.List buildUnnamed3890() => [ buildPlacementTag(), buildPlacementTag(), ]; -void checkUnnamed3909(core.List o) { +void checkUnnamed3890(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacementTag(o[0]); checkPlacementTag(o[1]); @@ -8555,7 +8555,7 @@ api.PlacementsGenerateTagsResponse buildPlacementsGenerateTagsResponse() { buildCounterPlacementsGenerateTagsResponse++; if (buildCounterPlacementsGenerateTagsResponse < 3) { o.kind = 'foo'; - o.placementTags = buildUnnamed3909(); + o.placementTags = buildUnnamed3890(); } buildCounterPlacementsGenerateTagsResponse--; return o; @@ -8568,17 +8568,17 @@ void checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3909(o.placementTags!); + checkUnnamed3890(o.placementTags!); } buildCounterPlacementsGenerateTagsResponse--; } -core.List buildUnnamed3910() => [ +core.List buildUnnamed3891() => [ buildPlacement(), buildPlacement(), ]; -void checkUnnamed3910(core.List o) { +void checkUnnamed3891(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlacement(o[0]); checkPlacement(o[1]); @@ -8591,7 +8591,7 @@ api.PlacementsListResponse buildPlacementsListResponse() { if (buildCounterPlacementsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.placements = buildUnnamed3910(); + o.placements = buildUnnamed3891(); } buildCounterPlacementsListResponse--; return o; @@ -8608,7 +8608,7 @@ void checkPlacementsListResponse(api.PlacementsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3910(o.placements!); + checkUnnamed3891(o.placements!); } buildCounterPlacementsListResponse--; } @@ -8645,12 +8645,12 @@ void checkPlatformType(api.PlatformType o) { buildCounterPlatformType--; } -core.List buildUnnamed3911() => [ +core.List buildUnnamed3892() => [ buildPlatformType(), buildPlatformType(), ]; -void checkUnnamed3911(core.List o) { +void checkUnnamed3892(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlatformType(o[0]); checkPlatformType(o[1]); @@ -8662,7 +8662,7 @@ api.PlatformTypesListResponse buildPlatformTypesListResponse() { buildCounterPlatformTypesListResponse++; if (buildCounterPlatformTypesListResponse < 3) { o.kind = 'foo'; - o.platformTypes = buildUnnamed3911(); + o.platformTypes = buildUnnamed3892(); } buildCounterPlatformTypesListResponse--; return o; @@ -8675,7 +8675,7 @@ void checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3911(o.platformTypes!); + checkUnnamed3892(o.platformTypes!); } buildCounterPlatformTypesListResponse--; } @@ -8763,12 +8763,12 @@ void checkPostalCode(api.PostalCode o) { buildCounterPostalCode--; } -core.List buildUnnamed3912() => [ +core.List buildUnnamed3893() => [ buildPostalCode(), buildPostalCode(), ]; -void checkUnnamed3912(core.List o) { +void checkUnnamed3893(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCode(o[0]); checkPostalCode(o[1]); @@ -8780,7 +8780,7 @@ api.PostalCodesListResponse buildPostalCodesListResponse() { buildCounterPostalCodesListResponse++; if (buildCounterPostalCodesListResponse < 3) { o.kind = 'foo'; - o.postalCodes = buildUnnamed3912(); + o.postalCodes = buildUnnamed3893(); } buildCounterPostalCodesListResponse--; return o; @@ -8793,17 +8793,17 @@ void checkPostalCodesListResponse(api.PostalCodesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3912(o.postalCodes!); + checkUnnamed3893(o.postalCodes!); } buildCounterPostalCodesListResponse--; } -core.List buildUnnamed3913() => [ +core.List buildUnnamed3894() => [ buildFlight(), buildFlight(), ]; -void checkUnnamed3913(core.List o) { +void checkUnnamed3894(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFlight(o[0]); checkFlight(o[1]); @@ -8816,7 +8816,7 @@ api.Pricing buildPricing() { if (buildCounterPricing < 3) { o.capCostType = 'foo'; o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); - o.flights = buildUnnamed3913(); + o.flights = buildUnnamed3894(); o.groupType = 'foo'; o.pricingType = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); @@ -8836,7 +8836,7 @@ void checkPricing(api.Pricing o) { o.endDate!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), ); - checkUnnamed3913(o.flights!); + checkUnnamed3894(o.flights!); unittest.expect( o.groupType!, unittest.equals('foo'), @@ -8853,12 +8853,12 @@ void checkPricing(api.Pricing o) { buildCounterPricing--; } -core.List buildUnnamed3914() => [ +core.List buildUnnamed3895() => [ buildPricingSchedulePricingPeriod(), buildPricingSchedulePricingPeriod(), ]; -void checkUnnamed3914(core.List o) { +void checkUnnamed3895(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPricingSchedulePricingPeriod(o[0]); checkPricingSchedulePricingPeriod(o[1]); @@ -8873,7 +8873,7 @@ api.PricingSchedule buildPricingSchedule() { o.endDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.flighted = true; o.floodlightActivityId = 'foo'; - o.pricingPeriods = buildUnnamed3914(); + o.pricingPeriods = buildUnnamed3895(); o.pricingType = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.testingStartDate = core.DateTime.parse('2002-02-27T14:01:02Z'); @@ -8898,7 +8898,7 @@ void checkPricingSchedule(api.PricingSchedule o) { o.floodlightActivityId!, unittest.equals('foo'), ); - checkUnnamed3914(o.pricingPeriods!); + checkUnnamed3895(o.pricingPeriods!); unittest.expect( o.pricingType!, unittest.equals('foo'), @@ -9081,12 +9081,12 @@ void checkProject(api.Project o) { buildCounterProject--; } -core.List buildUnnamed3915() => [ +core.List buildUnnamed3896() => [ buildProject(), buildProject(), ]; -void checkUnnamed3915(core.List o) { +void checkUnnamed3896(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProject(o[0]); checkProject(o[1]); @@ -9099,7 +9099,7 @@ api.ProjectsListResponse buildProjectsListResponse() { if (buildCounterProjectsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.projects = buildUnnamed3915(); + o.projects = buildUnnamed3896(); } buildCounterProjectsListResponse--; return o; @@ -9116,61 +9116,61 @@ void checkProjectsListResponse(api.ProjectsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3915(o.projects!); + checkUnnamed3896(o.projects!); } buildCounterProjectsListResponse--; } -core.List buildUnnamed3916() => [ +core.List buildUnnamed3897() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3916(core.List o) { +void checkUnnamed3897(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3917() => [ +core.List buildUnnamed3898() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3917(core.List o) { +void checkUnnamed3898(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3918() => [ +core.List buildUnnamed3899() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3918(core.List o) { +void checkUnnamed3899(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed3919() => [ +core.List buildUnnamed3900() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3919(core.List o) { +void checkUnnamed3900(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed3920() => [ +core.List buildUnnamed3901() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3920(core.List o) { +void checkUnnamed3901(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -9181,12 +9181,12 @@ api.ReachReportCompatibleFields buildReachReportCompatibleFields() { final o = api.ReachReportCompatibleFields(); buildCounterReachReportCompatibleFields++; if (buildCounterReachReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed3916(); - o.dimensions = buildUnnamed3917(); + o.dimensionFilters = buildUnnamed3897(); + o.dimensions = buildUnnamed3898(); o.kind = 'foo'; - o.metrics = buildUnnamed3918(); - o.pivotedActivityMetrics = buildUnnamed3919(); - o.reachByFrequencyMetrics = buildUnnamed3920(); + o.metrics = buildUnnamed3899(); + o.pivotedActivityMetrics = buildUnnamed3900(); + o.reachByFrequencyMetrics = buildUnnamed3901(); } buildCounterReachReportCompatibleFields--; return o; @@ -9195,15 +9195,15 @@ api.ReachReportCompatibleFields buildReachReportCompatibleFields() { void checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { buildCounterReachReportCompatibleFields++; if (buildCounterReachReportCompatibleFields < 3) { - checkUnnamed3916(o.dimensionFilters!); - checkUnnamed3917(o.dimensions!); + checkUnnamed3897(o.dimensionFilters!); + checkUnnamed3898(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3918(o.metrics!); - checkUnnamed3919(o.pivotedActivityMetrics!); - checkUnnamed3920(o.reachByFrequencyMetrics!); + checkUnnamed3899(o.metrics!); + checkUnnamed3900(o.pivotedActivityMetrics!); + checkUnnamed3901(o.reachByFrequencyMetrics!); } buildCounterReachReportCompatibleFields--; } @@ -9287,12 +9287,12 @@ void checkRegion(api.Region o) { buildCounterRegion--; } -core.List buildUnnamed3921() => [ +core.List buildUnnamed3902() => [ buildRegion(), buildRegion(), ]; -void checkUnnamed3921(core.List o) { +void checkUnnamed3902(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegion(o[0]); checkRegion(o[1]); @@ -9304,7 +9304,7 @@ api.RegionsListResponse buildRegionsListResponse() { buildCounterRegionsListResponse++; if (buildCounterRegionsListResponse < 3) { o.kind = 'foo'; - o.regions = buildUnnamed3921(); + o.regions = buildUnnamed3902(); } buildCounterRegionsListResponse--; return o; @@ -9317,7 +9317,7 @@ void checkRegionsListResponse(api.RegionsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3921(o.regions!); + checkUnnamed3902(o.regions!); } buildCounterRegionsListResponse--; } @@ -9395,12 +9395,12 @@ void checkRemarketingList(api.RemarketingList o) { buildCounterRemarketingList--; } -core.List buildUnnamed3922() => [ +core.List buildUnnamed3903() => [ 'foo', 'foo', ]; -void checkUnnamed3922(core.List o) { +void checkUnnamed3903(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9412,12 +9412,12 @@ void checkUnnamed3922(core.List o) { ); } -core.List buildUnnamed3923() => [ +core.List buildUnnamed3904() => [ 'foo', 'foo', ]; -void checkUnnamed3923(core.List o) { +void checkUnnamed3904(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9436,8 +9436,8 @@ api.RemarketingListShare buildRemarketingListShare() { if (buildCounterRemarketingListShare < 3) { o.kind = 'foo'; o.remarketingListId = 'foo'; - o.sharedAccountIds = buildUnnamed3922(); - o.sharedAdvertiserIds = buildUnnamed3923(); + o.sharedAccountIds = buildUnnamed3903(); + o.sharedAdvertiserIds = buildUnnamed3904(); } buildCounterRemarketingListShare--; return o; @@ -9454,18 +9454,18 @@ void checkRemarketingListShare(api.RemarketingListShare o) { o.remarketingListId!, unittest.equals('foo'), ); - checkUnnamed3922(o.sharedAccountIds!); - checkUnnamed3923(o.sharedAdvertiserIds!); + checkUnnamed3903(o.sharedAccountIds!); + checkUnnamed3904(o.sharedAdvertiserIds!); } buildCounterRemarketingListShare--; } -core.List buildUnnamed3924() => [ +core.List buildUnnamed3905() => [ buildRemarketingList(), buildRemarketingList(), ]; -void checkUnnamed3924(core.List o) { +void checkUnnamed3905(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRemarketingList(o[0]); checkRemarketingList(o[1]); @@ -9478,7 +9478,7 @@ api.RemarketingListsListResponse buildRemarketingListsListResponse() { if (buildCounterRemarketingListsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.remarketingLists = buildUnnamed3924(); + o.remarketingLists = buildUnnamed3905(); } buildCounterRemarketingListsListResponse--; return o; @@ -9495,39 +9495,39 @@ void checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3924(o.remarketingLists!); + checkUnnamed3905(o.remarketingLists!); } buildCounterRemarketingListsListResponse--; } -core.List buildUnnamed3925() => [ +core.List buildUnnamed3906() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3925(core.List o) { +void checkUnnamed3906(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3926() => [ +core.List buildUnnamed3907() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3926(core.List o) { +void checkUnnamed3907(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3927() => [ +core.List buildUnnamed3908() => [ 'foo', 'foo', ]; -void checkUnnamed3927(core.List o) { +void checkUnnamed3908(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9547,9 +9547,9 @@ api.ReportCriteria buildReportCriteria() { o.activities = buildActivities(); o.customRichMediaEvents = buildCustomRichMediaEvents(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed3925(); - o.dimensions = buildUnnamed3926(); - o.metricNames = buildUnnamed3927(); + o.dimensionFilters = buildUnnamed3906(); + o.dimensions = buildUnnamed3907(); + o.metricNames = buildUnnamed3908(); } buildCounterReportCriteria--; return o; @@ -9561,41 +9561,41 @@ void checkReportCriteria(api.ReportCriteria o) { checkActivities(o.activities!); checkCustomRichMediaEvents(o.customRichMediaEvents!); checkDateRange(o.dateRange!); - checkUnnamed3925(o.dimensionFilters!); - checkUnnamed3926(o.dimensions!); - checkUnnamed3927(o.metricNames!); + checkUnnamed3906(o.dimensionFilters!); + checkUnnamed3907(o.dimensions!); + checkUnnamed3908(o.metricNames!); } buildCounterReportCriteria--; } -core.List buildUnnamed3928() => [ +core.List buildUnnamed3909() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3928(core.List o) { +void checkUnnamed3909(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3929() => [ +core.List buildUnnamed3910() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3929(core.List o) { +void checkUnnamed3910(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3930() => [ +core.List buildUnnamed3911() => [ 'foo', 'foo', ]; -void checkUnnamed3930(core.List o) { +void checkUnnamed3911(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9607,12 +9607,12 @@ void checkUnnamed3930(core.List o) { ); } -core.List buildUnnamed3931() => [ +core.List buildUnnamed3912() => [ 'foo', 'foo', ]; -void checkUnnamed3931(core.List o) { +void checkUnnamed3912(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9629,12 +9629,12 @@ api.ReportCrossDimensionReachCriteria buildReportCrossDimensionReachCriteria() { final o = api.ReportCrossDimensionReachCriteria(); buildCounterReportCrossDimensionReachCriteria++; if (buildCounterReportCrossDimensionReachCriteria < 3) { - o.breakdown = buildUnnamed3928(); + o.breakdown = buildUnnamed3909(); o.dateRange = buildDateRange(); o.dimension = 'foo'; - o.dimensionFilters = buildUnnamed3929(); - o.metricNames = buildUnnamed3930(); - o.overlapMetricNames = buildUnnamed3931(); + o.dimensionFilters = buildUnnamed3910(); + o.metricNames = buildUnnamed3911(); + o.overlapMetricNames = buildUnnamed3912(); o.pivoted = true; } buildCounterReportCrossDimensionReachCriteria--; @@ -9645,26 +9645,26 @@ void checkReportCrossDimensionReachCriteria( api.ReportCrossDimensionReachCriteria o) { buildCounterReportCrossDimensionReachCriteria++; if (buildCounterReportCrossDimensionReachCriteria < 3) { - checkUnnamed3928(o.breakdown!); + checkUnnamed3909(o.breakdown!); checkDateRange(o.dateRange!); unittest.expect( o.dimension!, unittest.equals('foo'), ); - checkUnnamed3929(o.dimensionFilters!); - checkUnnamed3930(o.metricNames!); - checkUnnamed3931(o.overlapMetricNames!); + checkUnnamed3910(o.dimensionFilters!); + checkUnnamed3911(o.metricNames!); + checkUnnamed3912(o.overlapMetricNames!); unittest.expect(o.pivoted!, unittest.isTrue); } buildCounterReportCrossDimensionReachCriteria--; } -core.List buildUnnamed3932() => [ +core.List buildUnnamed3913() => [ buildRecipient(), buildRecipient(), ]; -void checkUnnamed3932(core.List o) { +void checkUnnamed3913(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRecipient(o[0]); checkRecipient(o[1]); @@ -9678,7 +9678,7 @@ api.ReportDelivery buildReportDelivery() { o.emailOwner = true; o.emailOwnerDeliveryType = 'foo'; o.message = 'foo'; - o.recipients = buildUnnamed3932(); + o.recipients = buildUnnamed3913(); } buildCounterReportDelivery--; return o; @@ -9696,50 +9696,50 @@ void checkReportDelivery(api.ReportDelivery o) { o.message!, unittest.equals('foo'), ); - checkUnnamed3932(o.recipients!); + checkUnnamed3913(o.recipients!); } buildCounterReportDelivery--; } -core.List buildUnnamed3933() => [ +core.List buildUnnamed3914() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3933(core.List o) { +void checkUnnamed3914(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3934() => [ +core.List buildUnnamed3915() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3934(core.List o) { +void checkUnnamed3915(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3935() => [ +core.List buildUnnamed3916() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3935(core.List o) { +void checkUnnamed3916(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3936() => [ +core.List buildUnnamed3917() => [ 'foo', 'foo', ]; -void checkUnnamed3936(core.List o) { +void checkUnnamed3917(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9781,12 +9781,12 @@ api.ReportFloodlightCriteria buildReportFloodlightCriteria() { final o = api.ReportFloodlightCriteria(); buildCounterReportFloodlightCriteria++; if (buildCounterReportFloodlightCriteria < 3) { - o.customRichMediaEvents = buildUnnamed3933(); + o.customRichMediaEvents = buildUnnamed3914(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed3934(); - o.dimensions = buildUnnamed3935(); + o.dimensionFilters = buildUnnamed3915(); + o.dimensions = buildUnnamed3916(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed3936(); + o.metricNames = buildUnnamed3917(); o.reportProperties = buildReportFloodlightCriteriaReportProperties(); } buildCounterReportFloodlightCriteria--; @@ -9796,45 +9796,45 @@ api.ReportFloodlightCriteria buildReportFloodlightCriteria() { void checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { buildCounterReportFloodlightCriteria++; if (buildCounterReportFloodlightCriteria < 3) { - checkUnnamed3933(o.customRichMediaEvents!); + checkUnnamed3914(o.customRichMediaEvents!); checkDateRange(o.dateRange!); - checkUnnamed3934(o.dimensionFilters!); - checkUnnamed3935(o.dimensions!); + checkUnnamed3915(o.dimensionFilters!); + checkUnnamed3916(o.dimensions!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed3936(o.metricNames!); + checkUnnamed3917(o.metricNames!); checkReportFloodlightCriteriaReportProperties(o.reportProperties!); } buildCounterReportFloodlightCriteria--; } -core.List buildUnnamed3937() => [ +core.List buildUnnamed3918() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3937(core.List o) { +void checkUnnamed3918(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3938() => [ +core.List buildUnnamed3919() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3938(core.List o) { +void checkUnnamed3919(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3939() => [ +core.List buildUnnamed3920() => [ 'foo', 'foo', ]; -void checkUnnamed3939(core.List o) { +void checkUnnamed3920(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9846,12 +9846,12 @@ void checkUnnamed3939(core.List o) { ); } -core.List buildUnnamed3940() => [ +core.List buildUnnamed3921() => [ buildPathFilter(), buildPathFilter(), ]; -void checkUnnamed3940(core.List o) { +void checkUnnamed3921(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathFilter(o[0]); checkPathFilter(o[1]); @@ -9862,13 +9862,13 @@ api.ReportPathAttributionCriteria buildReportPathAttributionCriteria() { final o = api.ReportPathAttributionCriteria(); buildCounterReportPathAttributionCriteria++; if (buildCounterReportPathAttributionCriteria < 3) { - o.activityFilters = buildUnnamed3937(); + o.activityFilters = buildUnnamed3918(); o.customChannelGrouping = buildChannelGrouping(); o.dateRange = buildDateRange(); - o.dimensions = buildUnnamed3938(); + o.dimensions = buildUnnamed3919(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed3939(); - o.pathFilters = buildUnnamed3940(); + o.metricNames = buildUnnamed3920(); + o.pathFilters = buildUnnamed3921(); } buildCounterReportPathAttributionCriteria--; return o; @@ -9877,45 +9877,45 @@ api.ReportPathAttributionCriteria buildReportPathAttributionCriteria() { void checkReportPathAttributionCriteria(api.ReportPathAttributionCriteria o) { buildCounterReportPathAttributionCriteria++; if (buildCounterReportPathAttributionCriteria < 3) { - checkUnnamed3937(o.activityFilters!); + checkUnnamed3918(o.activityFilters!); checkChannelGrouping(o.customChannelGrouping!); checkDateRange(o.dateRange!); - checkUnnamed3938(o.dimensions!); + checkUnnamed3919(o.dimensions!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed3939(o.metricNames!); - checkUnnamed3940(o.pathFilters!); + checkUnnamed3920(o.metricNames!); + checkUnnamed3921(o.pathFilters!); } buildCounterReportPathAttributionCriteria--; } -core.List buildUnnamed3941() => [ +core.List buildUnnamed3922() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3941(core.List o) { +void checkUnnamed3922(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3942() => [ +core.List buildUnnamed3923() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3942(core.List o) { +void checkUnnamed3923(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3943() => [ +core.List buildUnnamed3924() => [ 'foo', 'foo', ]; -void checkUnnamed3943(core.List o) { +void checkUnnamed3924(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9927,12 +9927,12 @@ void checkUnnamed3943(core.List o) { ); } -core.List buildUnnamed3944() => [ +core.List buildUnnamed3925() => [ buildPathFilter(), buildPathFilter(), ]; -void checkUnnamed3944(core.List o) { +void checkUnnamed3925(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathFilter(o[0]); checkPathFilter(o[1]); @@ -9943,13 +9943,13 @@ api.ReportPathCriteria buildReportPathCriteria() { final o = api.ReportPathCriteria(); buildCounterReportPathCriteria++; if (buildCounterReportPathCriteria < 3) { - o.activityFilters = buildUnnamed3941(); + o.activityFilters = buildUnnamed3922(); o.customChannelGrouping = buildChannelGrouping(); o.dateRange = buildDateRange(); - o.dimensions = buildUnnamed3942(); + o.dimensions = buildUnnamed3923(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed3943(); - o.pathFilters = buildUnnamed3944(); + o.metricNames = buildUnnamed3924(); + o.pathFilters = buildUnnamed3925(); } buildCounterReportPathCriteria--; return o; @@ -9958,67 +9958,67 @@ api.ReportPathCriteria buildReportPathCriteria() { void checkReportPathCriteria(api.ReportPathCriteria o) { buildCounterReportPathCriteria++; if (buildCounterReportPathCriteria < 3) { - checkUnnamed3941(o.activityFilters!); + checkUnnamed3922(o.activityFilters!); checkChannelGrouping(o.customChannelGrouping!); checkDateRange(o.dateRange!); - checkUnnamed3942(o.dimensions!); + checkUnnamed3923(o.dimensions!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed3943(o.metricNames!); - checkUnnamed3944(o.pathFilters!); + checkUnnamed3924(o.metricNames!); + checkUnnamed3925(o.pathFilters!); } buildCounterReportPathCriteria--; } -core.List buildUnnamed3945() => [ +core.List buildUnnamed3926() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3945(core.List o) { +void checkUnnamed3926(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3946() => [ +core.List buildUnnamed3927() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3946(core.List o) { +void checkUnnamed3927(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3947() => [ +core.List buildUnnamed3928() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3947(core.List o) { +void checkUnnamed3928(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3948() => [ +core.List buildUnnamed3929() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3948(core.List o) { +void checkUnnamed3929(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3949() => [ +core.List buildUnnamed3930() => [ 'foo', 'foo', ]; -void checkUnnamed3949(core.List o) { +void checkUnnamed3930(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10030,12 +10030,12 @@ void checkUnnamed3949(core.List o) { ); } -core.List buildUnnamed3950() => [ +core.List buildUnnamed3931() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3950(core.List o) { +void checkUnnamed3931(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); @@ -10098,14 +10098,14 @@ api.ReportPathToConversionCriteria buildReportPathToConversionCriteria() { final o = api.ReportPathToConversionCriteria(); buildCounterReportPathToConversionCriteria++; if (buildCounterReportPathToConversionCriteria < 3) { - o.activityFilters = buildUnnamed3945(); - o.conversionDimensions = buildUnnamed3946(); - o.customFloodlightVariables = buildUnnamed3947(); - o.customRichMediaEvents = buildUnnamed3948(); + o.activityFilters = buildUnnamed3926(); + o.conversionDimensions = buildUnnamed3927(); + o.customFloodlightVariables = buildUnnamed3928(); + o.customRichMediaEvents = buildUnnamed3929(); o.dateRange = buildDateRange(); o.floodlightConfigId = buildDimensionValue(); - o.metricNames = buildUnnamed3949(); - o.perInteractionDimensions = buildUnnamed3950(); + o.metricNames = buildUnnamed3930(); + o.perInteractionDimensions = buildUnnamed3931(); o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); } buildCounterReportPathToConversionCriteria--; @@ -10115,47 +10115,47 @@ api.ReportPathToConversionCriteria buildReportPathToConversionCriteria() { void checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { buildCounterReportPathToConversionCriteria++; if (buildCounterReportPathToConversionCriteria < 3) { - checkUnnamed3945(o.activityFilters!); - checkUnnamed3946(o.conversionDimensions!); - checkUnnamed3947(o.customFloodlightVariables!); - checkUnnamed3948(o.customRichMediaEvents!); + checkUnnamed3926(o.activityFilters!); + checkUnnamed3927(o.conversionDimensions!); + checkUnnamed3928(o.customFloodlightVariables!); + checkUnnamed3929(o.customRichMediaEvents!); checkDateRange(o.dateRange!); checkDimensionValue(o.floodlightConfigId!); - checkUnnamed3949(o.metricNames!); - checkUnnamed3950(o.perInteractionDimensions!); + checkUnnamed3930(o.metricNames!); + checkUnnamed3931(o.perInteractionDimensions!); checkReportPathToConversionCriteriaReportProperties(o.reportProperties!); } buildCounterReportPathToConversionCriteria--; } -core.List buildUnnamed3951() => [ +core.List buildUnnamed3932() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed3951(core.List o) { +void checkUnnamed3932(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed3952() => [ +core.List buildUnnamed3933() => [ buildSortedDimension(), buildSortedDimension(), ]; -void checkUnnamed3952(core.List o) { +void checkUnnamed3933(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortedDimension(o[0]); checkSortedDimension(o[1]); } -core.List buildUnnamed3953() => [ +core.List buildUnnamed3934() => [ 'foo', 'foo', ]; -void checkUnnamed3953(core.List o) { +void checkUnnamed3934(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10167,12 +10167,12 @@ void checkUnnamed3953(core.List o) { ); } -core.List buildUnnamed3954() => [ +core.List buildUnnamed3935() => [ 'foo', 'foo', ]; -void checkUnnamed3954(core.List o) { +void checkUnnamed3935(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10192,11 +10192,11 @@ api.ReportReachCriteria buildReportReachCriteria() { o.activities = buildActivities(); o.customRichMediaEvents = buildCustomRichMediaEvents(); o.dateRange = buildDateRange(); - o.dimensionFilters = buildUnnamed3951(); - o.dimensions = buildUnnamed3952(); + o.dimensionFilters = buildUnnamed3932(); + o.dimensions = buildUnnamed3933(); o.enableAllDimensionCombinations = true; - o.metricNames = buildUnnamed3953(); - o.reachByFrequencyMetricNames = buildUnnamed3954(); + o.metricNames = buildUnnamed3934(); + o.reachByFrequencyMetricNames = buildUnnamed3935(); } buildCounterReportReachCriteria--; return o; @@ -10208,21 +10208,21 @@ void checkReportReachCriteria(api.ReportReachCriteria o) { checkActivities(o.activities!); checkCustomRichMediaEvents(o.customRichMediaEvents!); checkDateRange(o.dateRange!); - checkUnnamed3951(o.dimensionFilters!); - checkUnnamed3952(o.dimensions!); + checkUnnamed3932(o.dimensionFilters!); + checkUnnamed3933(o.dimensions!); unittest.expect(o.enableAllDimensionCombinations!, unittest.isTrue); - checkUnnamed3953(o.metricNames!); - checkUnnamed3954(o.reachByFrequencyMetricNames!); + checkUnnamed3934(o.metricNames!); + checkUnnamed3935(o.reachByFrequencyMetricNames!); } buildCounterReportReachCriteria--; } -core.List buildUnnamed3955() => [ +core.List buildUnnamed3936() => [ 'foo', 'foo', ]; -void checkUnnamed3955(core.List o) { +void checkUnnamed3936(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10243,7 +10243,7 @@ api.ReportSchedule buildReportSchedule() { o.every = 42; o.expirationDate = core.DateTime.parse('2002-02-27T14:01:02Z'); o.repeats = 'foo'; - o.repeatsOnWeekDays = buildUnnamed3955(); + o.repeatsOnWeekDays = buildUnnamed3936(); o.runsOnDayOfMonth = 'foo'; o.startDate = core.DateTime.parse('2002-02-27T14:01:02Z'); } @@ -10267,7 +10267,7 @@ void checkReportSchedule(api.ReportSchedule o) { o.repeats!, unittest.equals('foo'), ); - checkUnnamed3955(o.repeatsOnWeekDays!); + checkUnnamed3936(o.repeatsOnWeekDays!); unittest.expect( o.runsOnDayOfMonth!, unittest.equals('foo'), @@ -10370,45 +10370,45 @@ void checkReport(api.Report o) { buildCounterReport--; } -core.List buildUnnamed3956() => [ +core.List buildUnnamed3937() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3956(core.List o) { +void checkUnnamed3937(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3957() => [ +core.List buildUnnamed3938() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed3957(core.List o) { +void checkUnnamed3938(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed3958() => [ +core.List buildUnnamed3939() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3958(core.List o) { +void checkUnnamed3939(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed3959() => [ +core.List buildUnnamed3940() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed3959(core.List o) { +void checkUnnamed3940(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -10419,11 +10419,11 @@ api.ReportCompatibleFields buildReportCompatibleFields() { final o = api.ReportCompatibleFields(); buildCounterReportCompatibleFields++; if (buildCounterReportCompatibleFields < 3) { - o.dimensionFilters = buildUnnamed3956(); - o.dimensions = buildUnnamed3957(); + o.dimensionFilters = buildUnnamed3937(); + o.dimensions = buildUnnamed3938(); o.kind = 'foo'; - o.metrics = buildUnnamed3958(); - o.pivotedActivityMetrics = buildUnnamed3959(); + o.metrics = buildUnnamed3939(); + o.pivotedActivityMetrics = buildUnnamed3940(); } buildCounterReportCompatibleFields--; return o; @@ -10432,24 +10432,24 @@ api.ReportCompatibleFields buildReportCompatibleFields() { void checkReportCompatibleFields(api.ReportCompatibleFields o) { buildCounterReportCompatibleFields++; if (buildCounterReportCompatibleFields < 3) { - checkUnnamed3956(o.dimensionFilters!); - checkUnnamed3957(o.dimensions!); + checkUnnamed3937(o.dimensionFilters!); + checkUnnamed3938(o.dimensions!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3958(o.metrics!); - checkUnnamed3959(o.pivotedActivityMetrics!); + checkUnnamed3939(o.metrics!); + checkUnnamed3940(o.pivotedActivityMetrics!); } buildCounterReportCompatibleFields--; } -core.List buildUnnamed3960() => [ +core.List buildUnnamed3941() => [ buildReport(), buildReport(), ]; -void checkUnnamed3960(core.List o) { +void checkUnnamed3941(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -10461,7 +10461,7 @@ api.ReportList buildReportList() { buildCounterReportList++; if (buildCounterReportList < 3) { o.etag = 'foo'; - o.items = buildUnnamed3960(); + o.items = buildUnnamed3941(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -10476,7 +10476,7 @@ void checkReportList(api.ReportList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed3960(o.items!); + checkUnnamed3941(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10573,12 +10573,12 @@ void checkRule(api.Rule o) { buildCounterRule--; } -core.List buildUnnamed3961() => [ +core.List buildUnnamed3942() => [ buildSiteContact(), buildSiteContact(), ]; -void checkUnnamed3961(core.List o) { +void checkUnnamed3942(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSiteContact(o[0]); checkSiteContact(o[1]); @@ -10598,7 +10598,7 @@ api.Site buildSite() { o.keyName = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.siteContacts = buildUnnamed3961(); + o.siteContacts = buildUnnamed3942(); o.siteSettings = buildSiteSettings(); o.subaccountId = 'foo'; o.videoSettings = buildSiteVideoSettings(); @@ -10637,7 +10637,7 @@ void checkSite(api.Site o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3961(o.siteContacts!); + checkUnnamed3942(o.siteContacts!); checkSiteSettings(o.siteSettings!); unittest.expect( o.subaccountId!, @@ -10648,12 +10648,12 @@ void checkSite(api.Site o) { buildCounterSite--; } -core.List buildUnnamed3962() => [ +core.List buildUnnamed3943() => [ buildSize(), buildSize(), ]; -void checkUnnamed3962(core.List o) { +void checkUnnamed3943(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -10665,7 +10665,7 @@ api.SiteCompanionSetting buildSiteCompanionSetting() { buildCounterSiteCompanionSetting++; if (buildCounterSiteCompanionSetting < 3) { o.companionsDisabled = true; - o.enabledSizes = buildUnnamed3962(); + o.enabledSizes = buildUnnamed3943(); o.imageOnly = true; o.kind = 'foo'; } @@ -10677,7 +10677,7 @@ void checkSiteCompanionSetting(api.SiteCompanionSetting o) { buildCounterSiteCompanionSetting++; if (buildCounterSiteCompanionSetting < 3) { unittest.expect(o.companionsDisabled!, unittest.isTrue); - checkUnnamed3962(o.enabledSizes!); + checkUnnamed3943(o.enabledSizes!); unittest.expect(o.imageOnly!, unittest.isTrue); unittest.expect( o.kind!, @@ -10804,12 +10804,12 @@ void checkSiteSkippableSetting(api.SiteSkippableSetting o) { buildCounterSiteSkippableSetting--; } -core.List buildUnnamed3963() => [ +core.List buildUnnamed3944() => [ 42, 42, ]; -void checkUnnamed3963(core.List o) { +void checkUnnamed3944(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10826,7 +10826,7 @@ api.SiteTranscodeSetting buildSiteTranscodeSetting() { final o = api.SiteTranscodeSetting(); buildCounterSiteTranscodeSetting++; if (buildCounterSiteTranscodeSetting < 3) { - o.enabledVideoFormats = buildUnnamed3963(); + o.enabledVideoFormats = buildUnnamed3944(); o.kind = 'foo'; } buildCounterSiteTranscodeSetting--; @@ -10836,7 +10836,7 @@ api.SiteTranscodeSetting buildSiteTranscodeSetting() { void checkSiteTranscodeSetting(api.SiteTranscodeSetting o) { buildCounterSiteTranscodeSetting++; if (buildCounterSiteTranscodeSetting < 3) { - checkUnnamed3963(o.enabledVideoFormats!); + checkUnnamed3944(o.enabledVideoFormats!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10882,12 +10882,12 @@ void checkSiteVideoSettings(api.SiteVideoSettings o) { buildCounterSiteVideoSettings--; } -core.List buildUnnamed3964() => [ +core.List buildUnnamed3945() => [ buildSite(), buildSite(), ]; -void checkUnnamed3964(core.List o) { +void checkUnnamed3945(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -10900,7 +10900,7 @@ api.SitesListResponse buildSitesListResponse() { if (buildCounterSitesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.sites = buildUnnamed3964(); + o.sites = buildUnnamed3945(); } buildCounterSitesListResponse--; return o; @@ -10917,7 +10917,7 @@ void checkSitesListResponse(api.SitesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3964(o.sites!); + checkUnnamed3945(o.sites!); } buildCounterSitesListResponse--; } @@ -10961,12 +10961,12 @@ void checkSize(api.Size o) { buildCounterSize--; } -core.List buildUnnamed3965() => [ +core.List buildUnnamed3946() => [ buildSize(), buildSize(), ]; -void checkUnnamed3965(core.List o) { +void checkUnnamed3946(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -10978,7 +10978,7 @@ api.SizesListResponse buildSizesListResponse() { buildCounterSizesListResponse++; if (buildCounterSizesListResponse < 3) { o.kind = 'foo'; - o.sizes = buildUnnamed3965(); + o.sizes = buildUnnamed3946(); } buildCounterSizesListResponse--; return o; @@ -10991,7 +10991,7 @@ void checkSizesListResponse(api.SizesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3965(o.sizes!); + checkUnnamed3946(o.sizes!); } buildCounterSizesListResponse--; } @@ -11056,12 +11056,12 @@ void checkSortedDimension(api.SortedDimension o) { buildCounterSortedDimension--; } -core.List buildUnnamed3966() => [ +core.List buildUnnamed3947() => [ 'foo', 'foo', ]; -void checkUnnamed3966(core.List o) { +void checkUnnamed3947(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11079,7 +11079,7 @@ api.Subaccount buildSubaccount() { buildCounterSubaccount++; if (buildCounterSubaccount < 3) { o.accountId = 'foo'; - o.availablePermissionIds = buildUnnamed3966(); + o.availablePermissionIds = buildUnnamed3947(); o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; @@ -11095,7 +11095,7 @@ void checkSubaccount(api.Subaccount o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed3966(o.availablePermissionIds!); + checkUnnamed3947(o.availablePermissionIds!); unittest.expect( o.id!, unittest.equals('foo'), @@ -11112,12 +11112,12 @@ void checkSubaccount(api.Subaccount o) { buildCounterSubaccount--; } -core.List buildUnnamed3967() => [ +core.List buildUnnamed3948() => [ buildSubaccount(), buildSubaccount(), ]; -void checkUnnamed3967(core.List o) { +void checkUnnamed3948(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubaccount(o[0]); checkSubaccount(o[1]); @@ -11130,7 +11130,7 @@ api.SubaccountsListResponse buildSubaccountsListResponse() { if (buildCounterSubaccountsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.subaccounts = buildUnnamed3967(); + o.subaccounts = buildUnnamed3948(); } buildCounterSubaccountsListResponse--; return o; @@ -11147,7 +11147,7 @@ void checkSubaccountsListResponse(api.SubaccountsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3967(o.subaccounts!); + checkUnnamed3948(o.subaccounts!); } buildCounterSubaccountsListResponse--; } @@ -11344,12 +11344,12 @@ void checkTargetableRemarketingList(api.TargetableRemarketingList o) { buildCounterTargetableRemarketingList--; } -core.List buildUnnamed3968() => [ +core.List buildUnnamed3949() => [ buildTargetableRemarketingList(), buildTargetableRemarketingList(), ]; -void checkUnnamed3968(core.List o) { +void checkUnnamed3949(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetableRemarketingList(o[0]); checkTargetableRemarketingList(o[1]); @@ -11363,7 +11363,7 @@ api.TargetableRemarketingListsListResponse if (buildCounterTargetableRemarketingListsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.targetableRemarketingLists = buildUnnamed3968(); + o.targetableRemarketingLists = buildUnnamed3949(); } buildCounterTargetableRemarketingListsListResponse--; return o; @@ -11381,7 +11381,7 @@ void checkTargetableRemarketingListsListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3968(o.targetableRemarketingLists!); + checkUnnamed3949(o.targetableRemarketingLists!); } buildCounterTargetableRemarketingListsListResponse--; } @@ -11447,12 +11447,12 @@ void checkTargetingTemplate(api.TargetingTemplate o) { buildCounterTargetingTemplate--; } -core.List buildUnnamed3969() => [ +core.List buildUnnamed3950() => [ buildTargetingTemplate(), buildTargetingTemplate(), ]; -void checkUnnamed3969(core.List o) { +void checkUnnamed3950(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingTemplate(o[0]); checkTargetingTemplate(o[1]); @@ -11465,7 +11465,7 @@ api.TargetingTemplatesListResponse buildTargetingTemplatesListResponse() { if (buildCounterTargetingTemplatesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.targetingTemplates = buildUnnamed3969(); + o.targetingTemplates = buildUnnamed3950(); } buildCounterTargetingTemplatesListResponse--; return o; @@ -11482,72 +11482,72 @@ void checkTargetingTemplatesListResponse(api.TargetingTemplatesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3969(o.targetingTemplates!); + checkUnnamed3950(o.targetingTemplates!); } buildCounterTargetingTemplatesListResponse--; } -core.List buildUnnamed3970() => [ +core.List buildUnnamed3951() => [ buildBrowser(), buildBrowser(), ]; -void checkUnnamed3970(core.List o) { +void checkUnnamed3951(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBrowser(o[0]); checkBrowser(o[1]); } -core.List buildUnnamed3971() => [ +core.List buildUnnamed3952() => [ buildConnectionType(), buildConnectionType(), ]; -void checkUnnamed3971(core.List o) { +void checkUnnamed3952(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionType(o[0]); checkConnectionType(o[1]); } -core.List buildUnnamed3972() => [ +core.List buildUnnamed3953() => [ buildMobileCarrier(), buildMobileCarrier(), ]; -void checkUnnamed3972(core.List o) { +void checkUnnamed3953(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileCarrier(o[0]); checkMobileCarrier(o[1]); } -core.List buildUnnamed3973() => [ +core.List buildUnnamed3954() => [ buildOperatingSystemVersion(), buildOperatingSystemVersion(), ]; -void checkUnnamed3973(core.List o) { +void checkUnnamed3954(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystemVersion(o[0]); checkOperatingSystemVersion(o[1]); } -core.List buildUnnamed3974() => [ +core.List buildUnnamed3955() => [ buildOperatingSystem(), buildOperatingSystem(), ]; -void checkUnnamed3974(core.List o) { +void checkUnnamed3955(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperatingSystem(o[0]); checkOperatingSystem(o[1]); } -core.List buildUnnamed3975() => [ +core.List buildUnnamed3956() => [ buildPlatformType(), buildPlatformType(), ]; -void checkUnnamed3975(core.List o) { +void checkUnnamed3956(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlatformType(o[0]); checkPlatformType(o[1]); @@ -11558,12 +11558,12 @@ api.TechnologyTargeting buildTechnologyTargeting() { final o = api.TechnologyTargeting(); buildCounterTechnologyTargeting++; if (buildCounterTechnologyTargeting < 3) { - o.browsers = buildUnnamed3970(); - o.connectionTypes = buildUnnamed3971(); - o.mobileCarriers = buildUnnamed3972(); - o.operatingSystemVersions = buildUnnamed3973(); - o.operatingSystems = buildUnnamed3974(); - o.platformTypes = buildUnnamed3975(); + o.browsers = buildUnnamed3951(); + o.connectionTypes = buildUnnamed3952(); + o.mobileCarriers = buildUnnamed3953(); + o.operatingSystemVersions = buildUnnamed3954(); + o.operatingSystems = buildUnnamed3955(); + o.platformTypes = buildUnnamed3956(); } buildCounterTechnologyTargeting--; return o; @@ -11572,12 +11572,12 @@ api.TechnologyTargeting buildTechnologyTargeting() { void checkTechnologyTargeting(api.TechnologyTargeting o) { buildCounterTechnologyTargeting++; if (buildCounterTechnologyTargeting < 3) { - checkUnnamed3970(o.browsers!); - checkUnnamed3971(o.connectionTypes!); - checkUnnamed3972(o.mobileCarriers!); - checkUnnamed3973(o.operatingSystemVersions!); - checkUnnamed3974(o.operatingSystems!); - checkUnnamed3975(o.platformTypes!); + checkUnnamed3951(o.browsers!); + checkUnnamed3952(o.connectionTypes!); + checkUnnamed3953(o.mobileCarriers!); + checkUnnamed3954(o.operatingSystemVersions!); + checkUnnamed3955(o.operatingSystems!); + checkUnnamed3956(o.platformTypes!); } buildCounterTechnologyTargeting--; } @@ -11636,12 +11636,12 @@ void checkThirdPartyTrackingUrl(api.ThirdPartyTrackingUrl o) { buildCounterThirdPartyTrackingUrl--; } -core.List buildUnnamed3976() => [ +core.List buildUnnamed3957() => [ 42, 42, ]; -void checkUnnamed3976(core.List o) { +void checkUnnamed3957(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11658,7 +11658,7 @@ api.TranscodeSetting buildTranscodeSetting() { final o = api.TranscodeSetting(); buildCounterTranscodeSetting++; if (buildCounterTranscodeSetting < 3) { - o.enabledVideoFormats = buildUnnamed3976(); + o.enabledVideoFormats = buildUnnamed3957(); o.kind = 'foo'; } buildCounterTranscodeSetting--; @@ -11668,7 +11668,7 @@ api.TranscodeSetting buildTranscodeSetting() { void checkTranscodeSetting(api.TranscodeSetting o) { buildCounterTranscodeSetting++; if (buildCounterTranscodeSetting < 3) { - checkUnnamed3976(o.enabledVideoFormats!); + checkUnnamed3957(o.enabledVideoFormats!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11794,12 +11794,12 @@ void checkUserProfile(api.UserProfile o) { buildCounterUserProfile--; } -core.List buildUnnamed3977() => [ +core.List buildUnnamed3958() => [ buildUserProfile(), buildUserProfile(), ]; -void checkUnnamed3977(core.List o) { +void checkUnnamed3958(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserProfile(o[0]); checkUserProfile(o[1]); @@ -11811,7 +11811,7 @@ api.UserProfileList buildUserProfileList() { buildCounterUserProfileList++; if (buildCounterUserProfileList < 3) { o.etag = 'foo'; - o.items = buildUnnamed3977(); + o.items = buildUnnamed3958(); o.kind = 'foo'; } buildCounterUserProfileList--; @@ -11825,7 +11825,7 @@ void checkUserProfileList(api.UserProfileList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed3977(o.items!); + checkUnnamed3958(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -11834,12 +11834,12 @@ void checkUserProfileList(api.UserProfileList o) { buildCounterUserProfileList--; } -core.List buildUnnamed3978() => [ +core.List buildUnnamed3959() => [ buildUserRolePermission(), buildUserRolePermission(), ]; -void checkUnnamed3978(core.List o) { +void checkUnnamed3959(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRolePermission(o[0]); checkUserRolePermission(o[1]); @@ -11856,7 +11856,7 @@ api.UserRole buildUserRole() { o.kind = 'foo'; o.name = 'foo'; o.parentUserRoleId = 'foo'; - o.permissions = buildUnnamed3978(); + o.permissions = buildUnnamed3959(); o.subaccountId = 'foo'; } buildCounterUserRole--; @@ -11887,7 +11887,7 @@ void checkUserRole(api.UserRole o) { o.parentUserRoleId!, unittest.equals('foo'), ); - checkUnnamed3978(o.permissions!); + checkUnnamed3959(o.permissions!); unittest.expect( o.subaccountId!, unittest.equals('foo'), @@ -11970,12 +11970,12 @@ void checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { buildCounterUserRolePermissionGroup--; } -core.List buildUnnamed3979() => [ +core.List buildUnnamed3960() => [ buildUserRolePermissionGroup(), buildUserRolePermissionGroup(), ]; -void checkUnnamed3979(core.List o) { +void checkUnnamed3960(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRolePermissionGroup(o[0]); checkUserRolePermissionGroup(o[1]); @@ -11988,7 +11988,7 @@ api.UserRolePermissionGroupsListResponse buildCounterUserRolePermissionGroupsListResponse++; if (buildCounterUserRolePermissionGroupsListResponse < 3) { o.kind = 'foo'; - o.userRolePermissionGroups = buildUnnamed3979(); + o.userRolePermissionGroups = buildUnnamed3960(); } buildCounterUserRolePermissionGroupsListResponse--; return o; @@ -12002,17 +12002,17 @@ void checkUserRolePermissionGroupsListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed3979(o.userRolePermissionGroups!); + checkUnnamed3960(o.userRolePermissionGroups!); } buildCounterUserRolePermissionGroupsListResponse--; } -core.List buildUnnamed3980() => [ +core.List buildUnnamed3961() => [ buildUserRolePermission(), buildUserRolePermission(), ]; -void checkUnnamed3980(core.List o) { +void checkUnnamed3961(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRolePermission(o[0]); checkUserRolePermission(o[1]); @@ -12024,7 +12024,7 @@ api.UserRolePermissionsListResponse buildUserRolePermissionsListResponse() { buildCounterUserRolePermissionsListResponse++; if (buildCounterUserRolePermissionsListResponse < 3) { o.kind = 'foo'; - o.userRolePermissions = buildUnnamed3980(); + o.userRolePermissions = buildUnnamed3961(); } buildCounterUserRolePermissionsListResponse--; return o; @@ -12038,17 +12038,17 @@ void checkUserRolePermissionsListResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed3980(o.userRolePermissions!); + checkUnnamed3961(o.userRolePermissions!); } buildCounterUserRolePermissionsListResponse--; } -core.List buildUnnamed3981() => [ +core.List buildUnnamed3962() => [ buildUserRole(), buildUserRole(), ]; -void checkUnnamed3981(core.List o) { +void checkUnnamed3962(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserRole(o[0]); checkUserRole(o[1]); @@ -12061,7 +12061,7 @@ api.UserRolesListResponse buildUserRolesListResponse() { if (buildCounterUserRolesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.userRoles = buildUnnamed3981(); + o.userRoles = buildUnnamed3962(); } buildCounterUserRolesListResponse--; return o; @@ -12078,7 +12078,7 @@ void checkUserRolesListResponse(api.UserRolesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3981(o.userRoles!); + checkUnnamed3962(o.userRoles!); } buildCounterUserRolesListResponse--; } @@ -12122,12 +12122,12 @@ void checkVideoFormat(api.VideoFormat o) { buildCounterVideoFormat--; } -core.List buildUnnamed3982() => [ +core.List buildUnnamed3963() => [ buildVideoFormat(), buildVideoFormat(), ]; -void checkUnnamed3982(core.List o) { +void checkUnnamed3963(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoFormat(o[0]); checkVideoFormat(o[1]); @@ -12139,7 +12139,7 @@ api.VideoFormatsListResponse buildVideoFormatsListResponse() { buildCounterVideoFormatsListResponse++; if (buildCounterVideoFormatsListResponse < 3) { o.kind = 'foo'; - o.videoFormats = buildUnnamed3982(); + o.videoFormats = buildUnnamed3963(); } buildCounterVideoFormatsListResponse--; return o; @@ -12152,7 +12152,7 @@ void checkVideoFormatsListResponse(api.VideoFormatsListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3982(o.videoFormats!); + checkUnnamed3963(o.videoFormats!); } buildCounterVideoFormatsListResponse--; } @@ -12226,12 +12226,12 @@ void checkVideoSettings(api.VideoSettings o) { buildCounterVideoSettings--; } -core.List buildUnnamed3983() => [ +core.List buildUnnamed3964() => [ 'foo', 'foo', ]; -void checkUnnamed3983(core.List o) { +void checkUnnamed3964(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12243,12 +12243,12 @@ void checkUnnamed3983(core.List o) { ); } -core.List buildUnnamed3984() => [ +core.List buildUnnamed3965() => [ 'foo', 'foo', ]; -void checkUnnamed3984(core.List o) { +void checkUnnamed3965(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12260,12 +12260,12 @@ void checkUnnamed3984(core.List o) { ); } -core.List buildUnnamed3985() => [ +core.List buildUnnamed3966() => [ 'foo', 'foo', ]; -void checkUnnamed3985(core.List o) { +void checkUnnamed3966(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12277,12 +12277,12 @@ void checkUnnamed3985(core.List o) { ); } -core.List buildUnnamed3986() => [ +core.List buildUnnamed3967() => [ 'foo', 'foo', ]; -void checkUnnamed3986(core.List o) { +void checkUnnamed3967(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12294,12 +12294,12 @@ void checkUnnamed3986(core.List o) { ); } -core.List buildUnnamed3987() => [ +core.List buildUnnamed3968() => [ 'foo', 'foo', ]; -void checkUnnamed3987(core.List o) { +void checkUnnamed3968(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12311,12 +12311,12 @@ void checkUnnamed3987(core.List o) { ); } -core.List buildUnnamed3988() => [ +core.List buildUnnamed3969() => [ 'foo', 'foo', ]; -void checkUnnamed3988(core.List o) { +void checkUnnamed3969(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12328,12 +12328,12 @@ void checkUnnamed3988(core.List o) { ); } -core.List buildUnnamed3989() => [ +core.List buildUnnamed3970() => [ 'foo', 'foo', ]; -void checkUnnamed3989(core.List o) { +void checkUnnamed3970(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12345,12 +12345,12 @@ void checkUnnamed3989(core.List o) { ); } -core.List buildUnnamed3990() => [ +core.List buildUnnamed3971() => [ 'foo', 'foo', ]; -void checkUnnamed3990(core.List o) { +void checkUnnamed3971(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12362,12 +12362,12 @@ void checkUnnamed3990(core.List o) { ); } -core.List buildUnnamed3991() => [ +core.List buildUnnamed3972() => [ 'foo', 'foo', ]; -void checkUnnamed3991(core.List o) { +void checkUnnamed3972(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12379,12 +12379,12 @@ void checkUnnamed3991(core.List o) { ); } -core.List buildUnnamed3992() => [ +core.List buildUnnamed3973() => [ 'foo', 'foo', ]; -void checkUnnamed3992(core.List o) { +void checkUnnamed3973(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12396,12 +12396,12 @@ void checkUnnamed3992(core.List o) { ); } -core.List buildUnnamed3993() => [ +core.List buildUnnamed3974() => [ 'foo', 'foo', ]; -void checkUnnamed3993(core.List o) { +void checkUnnamed3974(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12413,12 +12413,12 @@ void checkUnnamed3993(core.List o) { ); } -core.List buildUnnamed3994() => [ +core.List buildUnnamed3975() => [ 'foo', 'foo', ]; -void checkUnnamed3994(core.List o) { +void checkUnnamed3975(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12430,12 +12430,12 @@ void checkUnnamed3994(core.List o) { ); } -core.List buildUnnamed3995() => [ +core.List buildUnnamed3976() => [ 'foo', 'foo', ]; -void checkUnnamed3995(core.List o) { +void checkUnnamed3976(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12447,12 +12447,12 @@ void checkUnnamed3995(core.List o) { ); } -core.List buildUnnamed3996() => [ +core.List buildUnnamed3977() => [ 'foo', 'foo', ]; -void checkUnnamed3996(core.List o) { +void checkUnnamed3977(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12464,12 +12464,12 @@ void checkUnnamed3996(core.List o) { ); } -core.List buildUnnamed3997() => [ +core.List buildUnnamed3978() => [ 'foo', 'foo', ]; -void checkUnnamed3997(core.List o) { +void checkUnnamed3978(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12481,12 +12481,12 @@ void checkUnnamed3997(core.List o) { ); } -core.List buildUnnamed3998() => [ +core.List buildUnnamed3979() => [ 'foo', 'foo', ]; -void checkUnnamed3998(core.List o) { +void checkUnnamed3979(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12498,12 +12498,12 @@ void checkUnnamed3998(core.List o) { ); } -core.List buildUnnamed3999() => [ +core.List buildUnnamed3980() => [ 'foo', 'foo', ]; -void checkUnnamed3999(core.List o) { +void checkUnnamed3980(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12515,12 +12515,12 @@ void checkUnnamed3999(core.List o) { ); } -core.List buildUnnamed4000() => [ +core.List buildUnnamed3981() => [ 'foo', 'foo', ]; -void checkUnnamed4000(core.List o) { +void checkUnnamed3981(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12532,12 +12532,12 @@ void checkUnnamed4000(core.List o) { ); } -core.List buildUnnamed4001() => [ +core.List buildUnnamed3982() => [ 'foo', 'foo', ]; -void checkUnnamed4001(core.List o) { +void checkUnnamed3982(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12549,12 +12549,12 @@ void checkUnnamed4001(core.List o) { ); } -core.List buildUnnamed4002() => [ +core.List buildUnnamed3983() => [ 'foo', 'foo', ]; -void checkUnnamed4002(core.List o) { +void checkUnnamed3983(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12566,12 +12566,12 @@ void checkUnnamed4002(core.List o) { ); } -core.List buildUnnamed4003() => [ +core.List buildUnnamed3984() => [ 'foo', 'foo', ]; -void checkUnnamed4003(core.List o) { +void checkUnnamed3984(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12583,12 +12583,12 @@ void checkUnnamed4003(core.List o) { ); } -core.List buildUnnamed4004() => [ +core.List buildUnnamed3985() => [ 'foo', 'foo', ]; -void checkUnnamed4004(core.List o) { +void checkUnnamed3985(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12600,12 +12600,12 @@ void checkUnnamed4004(core.List o) { ); } -core.List buildUnnamed4005() => [ +core.List buildUnnamed3986() => [ 'foo', 'foo', ]; -void checkUnnamed4005(core.List o) { +void checkUnnamed3986(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12617,12 +12617,12 @@ void checkUnnamed4005(core.List o) { ); } -core.List buildUnnamed4006() => [ +core.List buildUnnamed3987() => [ 'foo', 'foo', ]; -void checkUnnamed4006(core.List o) { +void checkUnnamed3987(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12634,12 +12634,12 @@ void checkUnnamed4006(core.List o) { ); } -core.List buildUnnamed4007() => [ +core.List buildUnnamed3988() => [ 'foo', 'foo', ]; -void checkUnnamed4007(core.List o) { +void checkUnnamed3988(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12651,12 +12651,12 @@ void checkUnnamed4007(core.List o) { ); } -core.List buildUnnamed4008() => [ +core.List buildUnnamed3989() => [ 'foo', 'foo', ]; -void checkUnnamed4008(core.List o) { +void checkUnnamed3989(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12668,12 +12668,12 @@ void checkUnnamed4008(core.List o) { ); } -core.List buildUnnamed4009() => [ +core.List buildUnnamed3990() => [ 'foo', 'foo', ]; -void checkUnnamed4009(core.List o) { +void checkUnnamed3990(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12685,12 +12685,12 @@ void checkUnnamed4009(core.List o) { ); } -core.List buildUnnamed4010() => [ +core.List buildUnnamed3991() => [ 'foo', 'foo', ]; -void checkUnnamed4010(core.List o) { +void checkUnnamed3991(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12702,12 +12702,12 @@ void checkUnnamed4010(core.List o) { ); } -core.List buildUnnamed4011() => [ +core.List buildUnnamed3992() => [ 'foo', 'foo', ]; -void checkUnnamed4011(core.List o) { +void checkUnnamed3992(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12719,12 +12719,12 @@ void checkUnnamed4011(core.List o) { ); } -core.List buildUnnamed4012() => [ +core.List buildUnnamed3993() => [ 'foo', 'foo', ]; -void checkUnnamed4012(core.List o) { +void checkUnnamed3993(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12736,12 +12736,12 @@ void checkUnnamed4012(core.List o) { ); } -core.List buildUnnamed4013() => [ +core.List buildUnnamed3994() => [ 'foo', 'foo', ]; -void checkUnnamed4013(core.List o) { +void checkUnnamed3994(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12753,12 +12753,12 @@ void checkUnnamed4013(core.List o) { ); } -core.List buildUnnamed4014() => [ +core.List buildUnnamed3995() => [ 'foo', 'foo', ]; -void checkUnnamed4014(core.List o) { +void checkUnnamed3995(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12770,12 +12770,12 @@ void checkUnnamed4014(core.List o) { ); } -core.List buildUnnamed4015() => [ +core.List buildUnnamed3996() => [ 'foo', 'foo', ]; -void checkUnnamed4015(core.List o) { +void checkUnnamed3996(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12787,12 +12787,12 @@ void checkUnnamed4015(core.List o) { ); } -core.List buildUnnamed4016() => [ +core.List buildUnnamed3997() => [ 'foo', 'foo', ]; -void checkUnnamed4016(core.List o) { +void checkUnnamed3997(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12804,12 +12804,12 @@ void checkUnnamed4016(core.List o) { ); } -core.List buildUnnamed4017() => [ +core.List buildUnnamed3998() => [ 'foo', 'foo', ]; -void checkUnnamed4017(core.List o) { +void checkUnnamed3998(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12821,12 +12821,12 @@ void checkUnnamed4017(core.List o) { ); } -core.List buildUnnamed4018() => [ +core.List buildUnnamed3999() => [ 'foo', 'foo', ]; -void checkUnnamed4018(core.List o) { +void checkUnnamed3999(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12838,12 +12838,12 @@ void checkUnnamed4018(core.List o) { ); } -core.List buildUnnamed4019() => [ +core.List buildUnnamed4000() => [ 'foo', 'foo', ]; -void checkUnnamed4019(core.List o) { +void checkUnnamed4000(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12855,12 +12855,12 @@ void checkUnnamed4019(core.List o) { ); } -core.List buildUnnamed4020() => [ +core.List buildUnnamed4001() => [ 'foo', 'foo', ]; -void checkUnnamed4020(core.List o) { +void checkUnnamed4001(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12872,12 +12872,12 @@ void checkUnnamed4020(core.List o) { ); } -core.List buildUnnamed4021() => [ +core.List buildUnnamed4002() => [ 'foo', 'foo', ]; -void checkUnnamed4021(core.List o) { +void checkUnnamed4002(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12889,12 +12889,12 @@ void checkUnnamed4021(core.List o) { ); } -core.List buildUnnamed4022() => [ +core.List buildUnnamed4003() => [ 'foo', 'foo', ]; -void checkUnnamed4022(core.List o) { +void checkUnnamed4003(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12906,12 +12906,12 @@ void checkUnnamed4022(core.List o) { ); } -core.List buildUnnamed4023() => [ +core.List buildUnnamed4004() => [ 'foo', 'foo', ]; -void checkUnnamed4023(core.List o) { +void checkUnnamed4004(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12923,12 +12923,12 @@ void checkUnnamed4023(core.List o) { ); } -core.List buildUnnamed4024() => [ +core.List buildUnnamed4005() => [ 'foo', 'foo', ]; -void checkUnnamed4024(core.List o) { +void checkUnnamed4005(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12940,12 +12940,12 @@ void checkUnnamed4024(core.List o) { ); } -core.List buildUnnamed4025() => [ +core.List buildUnnamed4006() => [ 'foo', 'foo', ]; -void checkUnnamed4025(core.List o) { +void checkUnnamed4006(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12957,12 +12957,12 @@ void checkUnnamed4025(core.List o) { ); } -core.List buildUnnamed4026() => [ +core.List buildUnnamed4007() => [ 'foo', 'foo', ]; -void checkUnnamed4026(core.List o) { +void checkUnnamed4007(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12974,12 +12974,12 @@ void checkUnnamed4026(core.List o) { ); } -core.List buildUnnamed4027() => [ +core.List buildUnnamed4008() => [ 'foo', 'foo', ]; -void checkUnnamed4027(core.List o) { +void checkUnnamed4008(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12991,12 +12991,12 @@ void checkUnnamed4027(core.List o) { ); } -core.List buildUnnamed4028() => [ +core.List buildUnnamed4009() => [ 'foo', 'foo', ]; -void checkUnnamed4028(core.List o) { +void checkUnnamed4009(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13008,12 +13008,12 @@ void checkUnnamed4028(core.List o) { ); } -core.List buildUnnamed4029() => [ +core.List buildUnnamed4010() => [ 'foo', 'foo', ]; -void checkUnnamed4029(core.List o) { +void checkUnnamed4010(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13025,12 +13025,12 @@ void checkUnnamed4029(core.List o) { ); } -core.List buildUnnamed4030() => [ +core.List buildUnnamed4011() => [ 'foo', 'foo', ]; -void checkUnnamed4030(core.List o) { +void checkUnnamed4011(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13042,12 +13042,12 @@ void checkUnnamed4030(core.List o) { ); } -core.List buildUnnamed4031() => [ +core.List buildUnnamed4012() => [ 'foo', 'foo', ]; -void checkUnnamed4031(core.List o) { +void checkUnnamed4012(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13059,12 +13059,12 @@ void checkUnnamed4031(core.List o) { ); } -core.List buildUnnamed4032() => [ +core.List buildUnnamed4013() => [ 'foo', 'foo', ]; -void checkUnnamed4032(core.List o) { +void checkUnnamed4013(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13076,12 +13076,12 @@ void checkUnnamed4032(core.List o) { ); } -core.List buildUnnamed4033() => [ +core.List buildUnnamed4014() => [ 'foo', 'foo', ]; -void checkUnnamed4033(core.List o) { +void checkUnnamed4014(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13093,12 +13093,12 @@ void checkUnnamed4033(core.List o) { ); } -core.List buildUnnamed4034() => [ +core.List buildUnnamed4015() => [ 'foo', 'foo', ]; -void checkUnnamed4034(core.List o) { +void checkUnnamed4015(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13110,12 +13110,12 @@ void checkUnnamed4034(core.List o) { ); } -core.List buildUnnamed4035() => [ +core.List buildUnnamed4016() => [ 'foo', 'foo', ]; -void checkUnnamed4035(core.List o) { +void checkUnnamed4016(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13127,12 +13127,12 @@ void checkUnnamed4035(core.List o) { ); } -core.List buildUnnamed4036() => [ +core.List buildUnnamed4017() => [ 'foo', 'foo', ]; -void checkUnnamed4036(core.List o) { +void checkUnnamed4017(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13144,12 +13144,12 @@ void checkUnnamed4036(core.List o) { ); } -core.List buildUnnamed4037() => [ +core.List buildUnnamed4018() => [ 'foo', 'foo', ]; -void checkUnnamed4037(core.List o) { +void checkUnnamed4018(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13161,12 +13161,12 @@ void checkUnnamed4037(core.List o) { ); } -core.List buildUnnamed4038() => [ +core.List buildUnnamed4019() => [ 'foo', 'foo', ]; -void checkUnnamed4038(core.List o) { +void checkUnnamed4019(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13178,12 +13178,12 @@ void checkUnnamed4038(core.List o) { ); } -core.List buildUnnamed4039() => [ +core.List buildUnnamed4020() => [ 'foo', 'foo', ]; -void checkUnnamed4039(core.List o) { +void checkUnnamed4020(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13195,12 +13195,12 @@ void checkUnnamed4039(core.List o) { ); } -core.List buildUnnamed4040() => [ +core.List buildUnnamed4021() => [ 'foo', 'foo', ]; -void checkUnnamed4040(core.List o) { +void checkUnnamed4021(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13212,12 +13212,12 @@ void checkUnnamed4040(core.List o) { ); } -core.List buildUnnamed4041() => [ +core.List buildUnnamed4022() => [ 'foo', 'foo', ]; -void checkUnnamed4041(core.List o) { +void checkUnnamed4022(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13229,12 +13229,12 @@ void checkUnnamed4041(core.List o) { ); } -core.List buildUnnamed4042() => [ +core.List buildUnnamed4023() => [ 'foo', 'foo', ]; -void checkUnnamed4042(core.List o) { +void checkUnnamed4023(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13246,12 +13246,12 @@ void checkUnnamed4042(core.List o) { ); } -core.List buildUnnamed4043() => [ +core.List buildUnnamed4024() => [ 'foo', 'foo', ]; -void checkUnnamed4043(core.List o) { +void checkUnnamed4024(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13263,12 +13263,12 @@ void checkUnnamed4043(core.List o) { ); } -core.List buildUnnamed4044() => [ +core.List buildUnnamed4025() => [ 'foo', 'foo', ]; -void checkUnnamed4044(core.List o) { +void checkUnnamed4025(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13280,12 +13280,12 @@ void checkUnnamed4044(core.List o) { ); } -core.List buildUnnamed4045() => [ +core.List buildUnnamed4026() => [ 'foo', 'foo', ]; -void checkUnnamed4045(core.List o) { +void checkUnnamed4026(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13297,12 +13297,12 @@ void checkUnnamed4045(core.List o) { ); } -core.List buildUnnamed4046() => [ +core.List buildUnnamed4027() => [ 'foo', 'foo', ]; -void checkUnnamed4046(core.List o) { +void checkUnnamed4027(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13314,12 +13314,12 @@ void checkUnnamed4046(core.List o) { ); } -core.List buildUnnamed4047() => [ +core.List buildUnnamed4028() => [ 'foo', 'foo', ]; -void checkUnnamed4047(core.List o) { +void checkUnnamed4028(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13331,12 +13331,12 @@ void checkUnnamed4047(core.List o) { ); } -core.List buildUnnamed4048() => [ +core.List buildUnnamed4029() => [ 'foo', 'foo', ]; -void checkUnnamed4048(core.List o) { +void checkUnnamed4029(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13348,12 +13348,12 @@ void checkUnnamed4048(core.List o) { ); } -core.List buildUnnamed4049() => [ +core.List buildUnnamed4030() => [ 'foo', 'foo', ]; -void checkUnnamed4049(core.List o) { +void checkUnnamed4030(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13365,12 +13365,12 @@ void checkUnnamed4049(core.List o) { ); } -core.List buildUnnamed4050() => [ +core.List buildUnnamed4031() => [ 'foo', 'foo', ]; -void checkUnnamed4050(core.List o) { +void checkUnnamed4031(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13382,12 +13382,12 @@ void checkUnnamed4050(core.List o) { ); } -core.List buildUnnamed4051() => [ +core.List buildUnnamed4032() => [ 'foo', 'foo', ]; -void checkUnnamed4051(core.List o) { +void checkUnnamed4032(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13399,12 +13399,12 @@ void checkUnnamed4051(core.List o) { ); } -core.List buildUnnamed4052() => [ +core.List buildUnnamed4033() => [ 'foo', 'foo', ]; -void checkUnnamed4052(core.List o) { +void checkUnnamed4033(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13416,12 +13416,12 @@ void checkUnnamed4052(core.List o) { ); } -core.List buildUnnamed4053() => [ +core.List buildUnnamed4034() => [ 'foo', 'foo', ]; -void checkUnnamed4053(core.List o) { +void checkUnnamed4034(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13433,12 +13433,12 @@ void checkUnnamed4053(core.List o) { ); } -core.List buildUnnamed4054() => [ +core.List buildUnnamed4035() => [ 'foo', 'foo', ]; -void checkUnnamed4054(core.List o) { +void checkUnnamed4035(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13450,12 +13450,12 @@ void checkUnnamed4054(core.List o) { ); } -core.List buildUnnamed4055() => [ +core.List buildUnnamed4036() => [ 'foo', 'foo', ]; -void checkUnnamed4055(core.List o) { +void checkUnnamed4036(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13467,12 +13467,12 @@ void checkUnnamed4055(core.List o) { ); } -core.List buildUnnamed4056() => [ +core.List buildUnnamed4037() => [ 'foo', 'foo', ]; -void checkUnnamed4056(core.List o) { +void checkUnnamed4037(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13484,12 +13484,12 @@ void checkUnnamed4056(core.List o) { ); } -core.List buildUnnamed4057() => [ +core.List buildUnnamed4038() => [ 'foo', 'foo', ]; -void checkUnnamed4057(core.List o) { +void checkUnnamed4038(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13501,12 +13501,12 @@ void checkUnnamed4057(core.List o) { ); } -core.List buildUnnamed4058() => [ +core.List buildUnnamed4039() => [ 'foo', 'foo', ]; -void checkUnnamed4058(core.List o) { +void checkUnnamed4039(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13518,12 +13518,12 @@ void checkUnnamed4058(core.List o) { ); } -core.List buildUnnamed4059() => [ +core.List buildUnnamed4040() => [ 'foo', 'foo', ]; -void checkUnnamed4059(core.List o) { +void checkUnnamed4040(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13535,12 +13535,12 @@ void checkUnnamed4059(core.List o) { ); } -core.List buildUnnamed4060() => [ +core.List buildUnnamed4041() => [ 'foo', 'foo', ]; -void checkUnnamed4060(core.List o) { +void checkUnnamed4041(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13552,12 +13552,12 @@ void checkUnnamed4060(core.List o) { ); } -core.List buildUnnamed4061() => [ +core.List buildUnnamed4042() => [ 'foo', 'foo', ]; -void checkUnnamed4061(core.List o) { +void checkUnnamed4042(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13569,12 +13569,12 @@ void checkUnnamed4061(core.List o) { ); } -core.List buildUnnamed4062() => [ +core.List buildUnnamed4043() => [ 'foo', 'foo', ]; -void checkUnnamed4062(core.List o) { +void checkUnnamed4043(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13586,12 +13586,12 @@ void checkUnnamed4062(core.List o) { ); } -core.List buildUnnamed4063() => [ +core.List buildUnnamed4044() => [ 'foo', 'foo', ]; -void checkUnnamed4063(core.List o) { +void checkUnnamed4044(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13603,12 +13603,12 @@ void checkUnnamed4063(core.List o) { ); } -core.List buildUnnamed4064() => [ +core.List buildUnnamed4045() => [ 'foo', 'foo', ]; -void checkUnnamed4064(core.List o) { +void checkUnnamed4045(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13620,12 +13620,12 @@ void checkUnnamed4064(core.List o) { ); } -core.List buildUnnamed4065() => [ +core.List buildUnnamed4046() => [ 'foo', 'foo', ]; -void checkUnnamed4065(core.List o) { +void checkUnnamed4046(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13637,12 +13637,12 @@ void checkUnnamed4065(core.List o) { ); } -core.List buildUnnamed4066() => [ +core.List buildUnnamed4047() => [ 'foo', 'foo', ]; -void checkUnnamed4066(core.List o) { +void checkUnnamed4047(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13654,12 +13654,12 @@ void checkUnnamed4066(core.List o) { ); } -core.List buildUnnamed4067() => [ +core.List buildUnnamed4048() => [ 'foo', 'foo', ]; -void checkUnnamed4067(core.List o) { +void checkUnnamed4048(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13671,12 +13671,12 @@ void checkUnnamed4067(core.List o) { ); } -core.List buildUnnamed4068() => [ +core.List buildUnnamed4049() => [ 'foo', 'foo', ]; -void checkUnnamed4068(core.List o) { +void checkUnnamed4049(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13688,12 +13688,12 @@ void checkUnnamed4068(core.List o) { ); } -core.List buildUnnamed4069() => [ +core.List buildUnnamed4050() => [ 'foo', 'foo', ]; -void checkUnnamed4069(core.List o) { +void checkUnnamed4050(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13705,12 +13705,12 @@ void checkUnnamed4069(core.List o) { ); } -core.List buildUnnamed4070() => [ +core.List buildUnnamed4051() => [ 'foo', 'foo', ]; -void checkUnnamed4070(core.List o) { +void checkUnnamed4051(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13722,12 +13722,12 @@ void checkUnnamed4070(core.List o) { ); } -core.List buildUnnamed4071() => [ +core.List buildUnnamed4052() => [ 'foo', 'foo', ]; -void checkUnnamed4071(core.List o) { +void checkUnnamed4052(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13739,12 +13739,12 @@ void checkUnnamed4071(core.List o) { ); } -core.List buildUnnamed4072() => [ +core.List buildUnnamed4053() => [ 'foo', 'foo', ]; -void checkUnnamed4072(core.List o) { +void checkUnnamed4053(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13756,12 +13756,12 @@ void checkUnnamed4072(core.List o) { ); } -core.List buildUnnamed4073() => [ +core.List buildUnnamed4054() => [ 'foo', 'foo', ]; -void checkUnnamed4073(core.List o) { +void checkUnnamed4054(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16672,7 +16672,7 @@ void main() { final res = api.DfareportingApi(mock).accountUserProfiles; final arg_profileId = 'foo'; final arg_active = true; - final arg_ids = buildUnnamed3983(); + final arg_ids = buildUnnamed3964(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -17016,7 +17016,7 @@ void main() { final res = api.DfareportingApi(mock).accounts; final arg_profileId = 'foo'; final arg_active = true; - final arg_ids = buildUnnamed3984(); + final arg_ids = buildUnnamed3965(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -17419,26 +17419,26 @@ void main() { final arg_active = true; final arg_advertiserId = 'foo'; final arg_archived = true; - final arg_audienceSegmentIds = buildUnnamed3985(); - final arg_campaignIds = buildUnnamed3986(); + final arg_audienceSegmentIds = buildUnnamed3966(); + final arg_campaignIds = buildUnnamed3967(); final arg_compatibility = 'foo'; - final arg_creativeIds = buildUnnamed3987(); - final arg_creativeOptimizationConfigurationIds = buildUnnamed3988(); + final arg_creativeIds = buildUnnamed3968(); + final arg_creativeOptimizationConfigurationIds = buildUnnamed3969(); final arg_dynamicClickTracker = true; - final arg_ids = buildUnnamed3989(); - final arg_landingPageIds = buildUnnamed3990(); + final arg_ids = buildUnnamed3970(); + final arg_landingPageIds = buildUnnamed3971(); final arg_maxResults = 42; final arg_overriddenEventTagId = 'foo'; final arg_pageToken = 'foo'; - final arg_placementIds = buildUnnamed3991(); - final arg_remarketingListIds = buildUnnamed3992(); + final arg_placementIds = buildUnnamed3972(); + final arg_remarketingListIds = buildUnnamed3973(); final arg_searchString = 'foo'; - final arg_sizeIds = buildUnnamed3993(); + final arg_sizeIds = buildUnnamed3974(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_sslCompliant = true; final arg_sslRequired = true; - final arg_type = buildUnnamed3994(); + final arg_type = buildUnnamed3975(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -17985,7 +17985,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).advertiserGroups; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed3995(); + final arg_ids = buildUnnamed3976(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -18381,10 +18381,10 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).advertiserLandingPages; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed3996(); + final arg_advertiserIds = buildUnnamed3977(); final arg_archived = true; - final arg_campaignIds = buildUnnamed3997(); - final arg_ids = buildUnnamed3998(); + final arg_campaignIds = buildUnnamed3978(); + final arg_ids = buildUnnamed3979(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -18802,9 +18802,9 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).advertisers; final arg_profileId = 'foo'; - final arg_advertiserGroupIds = buildUnnamed3999(); - final arg_floodlightConfigurationIds = buildUnnamed4000(); - final arg_ids = buildUnnamed4001(); + final arg_advertiserGroupIds = buildUnnamed3980(); + final arg_floodlightConfigurationIds = buildUnnamed3981(); + final arg_ids = buildUnnamed3982(); final arg_includeAdvertisersWithoutGroupsOnly = true; final arg_maxResults = 42; final arg_onlyParent = true; @@ -19492,12 +19492,12 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).campaigns; final arg_profileId = 'foo'; - final arg_advertiserGroupIds = buildUnnamed4002(); - final arg_advertiserIds = buildUnnamed4003(); + final arg_advertiserGroupIds = buildUnnamed3983(); + final arg_advertiserIds = buildUnnamed3984(); final arg_archived = true; final arg_atLeastOneOptimizationActivity = true; - final arg_excludedIds = buildUnnamed4004(); - final arg_ids = buildUnnamed4005(); + final arg_excludedIds = buildUnnamed3985(); + final arg_ids = buildUnnamed3986(); final arg_maxResults = 42; final arg_overriddenEventTagId = 'foo'; final arg_pageToken = 'foo'; @@ -19859,15 +19859,15 @@ void main() { final res = api.DfareportingApi(mock).changeLogs; final arg_profileId = 'foo'; final arg_action = 'foo'; - final arg_ids = buildUnnamed4006(); + final arg_ids = buildUnnamed3987(); final arg_maxChangeTime = 'foo'; final arg_maxResults = 42; final arg_minChangeTime = 'foo'; - final arg_objectIds = buildUnnamed4007(); + final arg_objectIds = buildUnnamed3988(); final arg_objectType = 'foo'; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; - final arg_userProfileIds = buildUnnamed4008(); + final arg_userProfileIds = buildUnnamed3989(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -19986,10 +19986,10 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).cities; final arg_profileId = 'foo'; - final arg_countryDartIds = buildUnnamed4009(); - final arg_dartIds = buildUnnamed4010(); + final arg_countryDartIds = buildUnnamed3990(); + final arg_dartIds = buildUnnamed3991(); final arg_namePrefix = 'foo'; - final arg_regionDartIds = buildUnnamed4011(); + final arg_regionDartIds = buildUnnamed3992(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -20434,7 +20434,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).contentCategories; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed4012(); + final arg_ids = buildUnnamed3993(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -21327,7 +21327,7 @@ void main() { final res = api.DfareportingApi(mock).creativeFieldValues; final arg_profileId = 'foo'; final arg_creativeFieldId = 'foo'; - final arg_ids = buildUnnamed4013(); + final arg_ids = buildUnnamed3994(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -21841,8 +21841,8 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).creativeFields; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed4014(); - final arg_ids = buildUnnamed4015(); + final arg_advertiserIds = buildUnnamed3995(); + final arg_ids = buildUnnamed3996(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -22243,9 +22243,9 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).creativeGroups; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed4016(); + final arg_advertiserIds = buildUnnamed3997(); final arg_groupNumber = 42; - final arg_ids = buildUnnamed4017(); + final arg_ids = buildUnnamed3998(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -22655,18 +22655,18 @@ void main() { final arg_advertiserId = 'foo'; final arg_archived = true; final arg_campaignId = 'foo'; - final arg_companionCreativeIds = buildUnnamed4018(); - final arg_creativeFieldIds = buildUnnamed4019(); - final arg_ids = buildUnnamed4020(); + final arg_companionCreativeIds = buildUnnamed3999(); + final arg_creativeFieldIds = buildUnnamed4000(); + final arg_ids = buildUnnamed4001(); final arg_maxResults = 42; final arg_pageToken = 'foo'; - final arg_renderingIds = buildUnnamed4021(); + final arg_renderingIds = buildUnnamed4002(); final arg_searchString = 'foo'; - final arg_sizeIds = buildUnnamed4022(); + final arg_sizeIds = buildUnnamed4003(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_studioCreativeId = 'foo'; - final arg_types = buildUnnamed4023(); + final arg_types = buildUnnamed4004(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -23196,7 +23196,7 @@ void main() { final arg_acceptsPublisherPaidPlacements = true; final arg_active = true; final arg_dfpNetworkCode = 'foo'; - final arg_ids = buildUnnamed4024(); + final arg_ids = buildUnnamed4005(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -23480,7 +23480,7 @@ void main() { final res = api.DfareportingApi(mock).dynamicTargetingKeys; final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; - final arg_names = buildUnnamed4025(); + final arg_names = buildUnnamed4006(); final arg_objectId = 'foo'; final arg_objectType = 'foo'; final arg_$fields = 'foo'; @@ -23793,8 +23793,8 @@ void main() { final arg_campaignId = 'foo'; final arg_definitionsOnly = true; final arg_enabled = true; - final arg_eventTagTypes = buildUnnamed4026(); - final arg_ids = buildUnnamed4027(); + final arg_eventTagTypes = buildUnnamed4007(); + final arg_ids = buildUnnamed4008(); final arg_searchString = 'foo'; final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; @@ -24526,12 +24526,12 @@ void main() { final res = api.DfareportingApi(mock).floodlightActivities; final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; - final arg_floodlightActivityGroupIds = buildUnnamed4028(); + final arg_floodlightActivityGroupIds = buildUnnamed4009(); final arg_floodlightActivityGroupName = 'foo'; final arg_floodlightActivityGroupTagString = 'foo'; final arg_floodlightActivityGroupType = 'foo'; final arg_floodlightConfigurationId = 'foo'; - final arg_ids = buildUnnamed4029(); + final arg_ids = buildUnnamed4010(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -24967,7 +24967,7 @@ void main() { final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; final arg_floodlightConfigurationId = 'foo'; - final arg_ids = buildUnnamed4030(); + final arg_ids = buildUnnamed4011(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -25309,7 +25309,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).floodlightConfigurations; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed4031(); + final arg_ids = buildUnnamed4012(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -25620,12 +25620,12 @@ void main() { final res = api.DfareportingApi(mock).inventoryItems; final arg_profileId = 'foo'; final arg_projectId = 'foo'; - final arg_ids = buildUnnamed4032(); + final arg_ids = buildUnnamed4013(); final arg_inPlan = true; final arg_maxResults = 42; - final arg_orderId = buildUnnamed4033(); + final arg_orderId = buildUnnamed4014(); final arg_pageToken = 'foo'; - final arg_siteId = buildUnnamed4034(); + final arg_siteId = buildUnnamed4015(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_type = 'foo'; @@ -25964,8 +25964,8 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).mobileApps; final arg_profileId = 'foo'; - final arg_directories = buildUnnamed4035(); - final arg_ids = buildUnnamed4036(); + final arg_directories = buildUnnamed4016(); + final arg_ids = buildUnnamed4017(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -26576,12 +26576,12 @@ void main() { final arg_profileId = 'foo'; final arg_projectId = 'foo'; final arg_approved = true; - final arg_ids = buildUnnamed4037(); + final arg_ids = buildUnnamed4018(); final arg_maxResults = 42; - final arg_orderId = buildUnnamed4038(); + final arg_orderId = buildUnnamed4019(); final arg_pageToken = 'foo'; final arg_searchString = 'foo'; - final arg_siteId = buildUnnamed4039(); + final arg_siteId = buildUnnamed4020(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -26801,11 +26801,11 @@ void main() { final res = api.DfareportingApi(mock).orders; final arg_profileId = 'foo'; final arg_projectId = 'foo'; - final arg_ids = buildUnnamed4040(); + final arg_ids = buildUnnamed4021(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; - final arg_siteId = buildUnnamed4041(); + final arg_siteId = buildUnnamed4022(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -27069,12 +27069,12 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).placementGroups; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed4042(); + final arg_advertiserIds = buildUnnamed4023(); final arg_archived = true; - final arg_campaignIds = buildUnnamed4043(); - final arg_contentCategoryIds = buildUnnamed4044(); - final arg_directorySiteIds = buildUnnamed4045(); - final arg_ids = buildUnnamed4046(); + final arg_campaignIds = buildUnnamed4024(); + final arg_contentCategoryIds = buildUnnamed4025(); + final arg_directorySiteIds = buildUnnamed4026(); + final arg_ids = buildUnnamed4027(); final arg_maxEndDate = 'foo'; final arg_maxResults = 42; final arg_maxStartDate = 'foo'; @@ -27082,10 +27082,10 @@ void main() { final arg_minStartDate = 'foo'; final arg_pageToken = 'foo'; final arg_placementGroupType = 'foo'; - final arg_placementStrategyIds = buildUnnamed4047(); - final arg_pricingTypes = buildUnnamed4048(); + final arg_placementStrategyIds = buildUnnamed4028(); + final arg_pricingTypes = buildUnnamed4029(); final arg_searchString = 'foo'; - final arg_siteIds = buildUnnamed4049(); + final arg_siteIds = buildUnnamed4030(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -27614,7 +27614,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).placementStrategies; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed4050(); + final arg_ids = buildUnnamed4031(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -27868,8 +27868,8 @@ void main() { final res = api.DfareportingApi(mock).placements; final arg_profileId = 'foo'; final arg_campaignId = 'foo'; - final arg_placementIds = buildUnnamed4051(); - final arg_tagFormats = buildUnnamed4052(); + final arg_placementIds = buildUnnamed4032(); + final arg_tagFormats = buildUnnamed4033(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -28096,14 +28096,14 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).placements; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed4053(); + final arg_advertiserIds = buildUnnamed4034(); final arg_archived = true; - final arg_campaignIds = buildUnnamed4054(); - final arg_compatibilities = buildUnnamed4055(); - final arg_contentCategoryIds = buildUnnamed4056(); - final arg_directorySiteIds = buildUnnamed4057(); - final arg_groupIds = buildUnnamed4058(); - final arg_ids = buildUnnamed4059(); + final arg_campaignIds = buildUnnamed4035(); + final arg_compatibilities = buildUnnamed4036(); + final arg_contentCategoryIds = buildUnnamed4037(); + final arg_directorySiteIds = buildUnnamed4038(); + final arg_groupIds = buildUnnamed4039(); + final arg_ids = buildUnnamed4040(); final arg_maxEndDate = 'foo'; final arg_maxResults = 42; final arg_maxStartDate = 'foo'; @@ -28111,11 +28111,11 @@ void main() { final arg_minStartDate = 'foo'; final arg_pageToken = 'foo'; final arg_paymentSource = 'foo'; - final arg_placementStrategyIds = buildUnnamed4060(); - final arg_pricingTypes = buildUnnamed4061(); + final arg_placementStrategyIds = buildUnnamed4041(); + final arg_pricingTypes = buildUnnamed4042(); final arg_searchString = 'foo'; - final arg_siteIds = buildUnnamed4062(); - final arg_sizeIds = buildUnnamed4063(); + final arg_siteIds = buildUnnamed4043(); + final arg_sizeIds = buildUnnamed4044(); final arg_sortField = 'foo'; final arg_sortOrder = 'foo'; final arg_$fields = 'foo'; @@ -28796,8 +28796,8 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).projects; final arg_profileId = 'foo'; - final arg_advertiserIds = buildUnnamed4064(); - final arg_ids = buildUnnamed4065(); + final arg_advertiserIds = buildUnnamed4045(); + final arg_ids = buildUnnamed4046(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -30578,9 +30578,9 @@ void main() { final arg_acceptsPublisherPaidPlacements = true; final arg_adWordsSite = true; final arg_approved = true; - final arg_campaignIds = buildUnnamed4066(); - final arg_directorySiteIds = buildUnnamed4067(); - final arg_ids = buildUnnamed4068(); + final arg_campaignIds = buildUnnamed4047(); + final arg_directorySiteIds = buildUnnamed4048(); + final arg_ids = buildUnnamed4049(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -31024,7 +31024,7 @@ void main() { final arg_profileId = 'foo'; final arg_height = 42; final arg_iabStandard = true; - final arg_ids = buildUnnamed4069(); + final arg_ids = buildUnnamed4050(); final arg_width = 42; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -31258,7 +31258,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).subaccounts; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed4070(); + final arg_ids = buildUnnamed4051(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -31838,7 +31838,7 @@ void main() { final res = api.DfareportingApi(mock).targetingTemplates; final arg_profileId = 'foo'; final arg_advertiserId = 'foo'; - final arg_ids = buildUnnamed4071(); + final arg_ids = buildUnnamed4052(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; @@ -32419,7 +32419,7 @@ void main() { final mock = HttpServerMock(); final res = api.DfareportingApi(mock).userRolePermissions; final arg_profileId = 'foo'; - final arg_ids = buildUnnamed4072(); + final arg_ids = buildUnnamed4053(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -32710,7 +32710,7 @@ void main() { final res = api.DfareportingApi(mock).userRoles; final arg_profileId = 'foo'; final arg_accountUserRoleOnly = true; - final arg_ids = buildUnnamed4073(); + final arg_ids = buildUnnamed4054(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_searchString = 'foo'; diff --git a/generated/googleapis/test/dialogflow/v2_test.dart b/generated/googleapis/test/dialogflow/v2_test.dart index 48085a195..676d7ef2f 100644 --- a/generated/googleapis/test/dialogflow/v2_test.dart +++ b/generated/googleapis/test/dialogflow/v2_test.dart @@ -52,12 +52,12 @@ void checkGoogleCloudDialogflowCxV3AudioInput( buildCounterGoogleCloudDialogflowCxV3AudioInput--; } -core.List buildUnnamed7012() => [ +core.List buildUnnamed7089() => [ buildGoogleCloudDialogflowCxV3TestError(), buildGoogleCloudDialogflowCxV3TestError(), ]; -void checkUnnamed7012(core.List o) { +void checkUnnamed7089(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestError(o[0]); checkGoogleCloudDialogflowCxV3TestError(o[1]); @@ -69,7 +69,7 @@ api.GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata < 3) { - o.errors = buildUnnamed7012(); + o.errors = buildUnnamed7089(); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata--; return o; @@ -79,17 +79,17 @@ void checkGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata( api.GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata < 3) { - checkUnnamed7012(o.errors!); + checkUnnamed7089(o.errors!); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata--; } -core.List buildUnnamed7013() => [ +core.List buildUnnamed7090() => [ buildGoogleCloudDialogflowCxV3TestCaseResult(), buildGoogleCloudDialogflowCxV3TestCaseResult(), ]; -void checkUnnamed7013( +void checkUnnamed7090( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestCaseResult(o[0]); @@ -102,7 +102,7 @@ api.GoogleCloudDialogflowCxV3BatchRunTestCasesResponse final o = api.GoogleCloudDialogflowCxV3BatchRunTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse < 3) { - o.results = buildUnnamed7013(); + o.results = buildUnnamed7090(); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse--; return o; @@ -112,17 +112,17 @@ void checkGoogleCloudDialogflowCxV3BatchRunTestCasesResponse( api.GoogleCloudDialogflowCxV3BatchRunTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse < 3) { - checkUnnamed7013(o.results!); + checkUnnamed7090(o.results!); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse--; } -core.List buildUnnamed7014() => [ +core.List buildUnnamed7091() => [ 'foo', 'foo', ]; -void checkUnnamed7014(core.List o) { +void checkUnnamed7091(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -143,7 +143,7 @@ api.GoogleCloudDialogflowCxV3ContinuousTestResult o.name = 'foo'; o.result = 'foo'; o.runTime = 'foo'; - o.testCaseResults = buildUnnamed7014(); + o.testCaseResults = buildUnnamed7091(); } buildCounterGoogleCloudDialogflowCxV3ContinuousTestResult--; return o; @@ -165,7 +165,7 @@ void checkGoogleCloudDialogflowCxV3ContinuousTestResult( o.runTime!, unittest.equals('foo'), ); - checkUnnamed7014(o.testCaseResults!); + checkUnnamed7091(o.testCaseResults!); } buildCounterGoogleCloudDialogflowCxV3ContinuousTestResult--; } @@ -195,7 +195,7 @@ void checkGoogleCloudDialogflowCxV3ConversationTurn( buildCounterGoogleCloudDialogflowCxV3ConversationTurn--; } -core.Map buildUnnamed7015() => { +core.Map buildUnnamed7092() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -208,7 +208,7 @@ core.Map buildUnnamed7015() => { }, }; -void checkUnnamed7015(core.Map o) { +void checkUnnamed7092(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -247,7 +247,7 @@ api.GoogleCloudDialogflowCxV3ConversationTurnUserInput buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput < 3) { o.enableSentimentAnalysis = true; - o.injectedParameters = buildUnnamed7015(); + o.injectedParameters = buildUnnamed7092(); o.input = buildGoogleCloudDialogflowCxV3QueryInput(); o.isWebhookEnabled = true; } @@ -260,14 +260,14 @@ void checkGoogleCloudDialogflowCxV3ConversationTurnUserInput( buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput < 3) { unittest.expect(o.enableSentimentAnalysis!, unittest.isTrue); - checkUnnamed7015(o.injectedParameters!); + checkUnnamed7092(o.injectedParameters!); checkGoogleCloudDialogflowCxV3QueryInput(o.input!); unittest.expect(o.isWebhookEnabled!, unittest.isTrue); } buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput--; } -core.Map buildUnnamed7016() => { +core.Map buildUnnamed7093() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -280,7 +280,7 @@ core.Map buildUnnamed7016() => { }, }; -void checkUnnamed7016(core.Map o) { +void checkUnnamed7093(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -312,20 +312,20 @@ void checkUnnamed7016(core.Map o) { ); } -core.List buildUnnamed7017() => +core.List buildUnnamed7094() => [ buildGoogleCloudDialogflowCxV3TestRunDifference(), buildGoogleCloudDialogflowCxV3TestRunDifference(), ]; -void checkUnnamed7017( +void checkUnnamed7094( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestRunDifference(o[0]); checkGoogleCloudDialogflowCxV3TestRunDifference(o[1]); } -core.Map buildUnnamed7018() => { +core.Map buildUnnamed7095() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -338,7 +338,7 @@ core.Map buildUnnamed7018() => { }, }; -void checkUnnamed7018(core.Map o) { +void checkUnnamed7095(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -371,12 +371,12 @@ void checkUnnamed7018(core.Map o) { } core.List - buildUnnamed7019() => [ + buildUnnamed7096() => [ buildGoogleCloudDialogflowCxV3ResponseMessageText(), buildGoogleCloudDialogflowCxV3ResponseMessageText(), ]; -void checkUnnamed7019( +void checkUnnamed7096( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessageText(o[0]); @@ -392,11 +392,11 @@ api.GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput < 3) { o.currentPage = buildGoogleCloudDialogflowCxV3Page(); - o.diagnosticInfo = buildUnnamed7016(); - o.differences = buildUnnamed7017(); - o.sessionParameters = buildUnnamed7018(); + o.diagnosticInfo = buildUnnamed7093(); + o.differences = buildUnnamed7094(); + o.sessionParameters = buildUnnamed7095(); o.status = buildGoogleRpcStatus(); - o.textResponses = buildUnnamed7019(); + o.textResponses = buildUnnamed7096(); o.triggeredIntent = buildGoogleCloudDialogflowCxV3Intent(); } buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput--; @@ -409,11 +409,11 @@ void checkGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput < 3) { checkGoogleCloudDialogflowCxV3Page(o.currentPage!); - checkUnnamed7016(o.diagnosticInfo!); - checkUnnamed7017(o.differences!); - checkUnnamed7018(o.sessionParameters!); + checkUnnamed7093(o.diagnosticInfo!); + checkUnnamed7094(o.differences!); + checkUnnamed7095(o.sessionParameters!); checkGoogleRpcStatus(o.status!); - checkUnnamed7019(o.textResponses!); + checkUnnamed7096(o.textResponses!); checkGoogleCloudDialogflowCxV3Intent(o.triggeredIntent!); } buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput--; @@ -694,12 +694,12 @@ void checkGoogleCloudDialogflowCxV3ExportTestCasesResponse( buildCounterGoogleCloudDialogflowCxV3ExportTestCasesResponse--; } -core.List buildUnnamed7020() => [ +core.List buildUnnamed7097() => [ buildGoogleCloudDialogflowCxV3FormParameter(), buildGoogleCloudDialogflowCxV3FormParameter(), ]; -void checkUnnamed7020(core.List o) { +void checkUnnamed7097(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FormParameter(o[0]); checkGoogleCloudDialogflowCxV3FormParameter(o[1]); @@ -710,7 +710,7 @@ api.GoogleCloudDialogflowCxV3Form buildGoogleCloudDialogflowCxV3Form() { final o = api.GoogleCloudDialogflowCxV3Form(); buildCounterGoogleCloudDialogflowCxV3Form++; if (buildCounterGoogleCloudDialogflowCxV3Form < 3) { - o.parameters = buildUnnamed7020(); + o.parameters = buildUnnamed7097(); } buildCounterGoogleCloudDialogflowCxV3Form--; return o; @@ -719,7 +719,7 @@ api.GoogleCloudDialogflowCxV3Form buildGoogleCloudDialogflowCxV3Form() { void checkGoogleCloudDialogflowCxV3Form(api.GoogleCloudDialogflowCxV3Form o) { buildCounterGoogleCloudDialogflowCxV3Form++; if (buildCounterGoogleCloudDialogflowCxV3Form < 3) { - checkUnnamed7020(o.parameters!); + checkUnnamed7097(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3Form--; } @@ -780,12 +780,12 @@ void checkGoogleCloudDialogflowCxV3FormParameter( buildCounterGoogleCloudDialogflowCxV3FormParameter--; } -core.List buildUnnamed7021() => [ +core.List buildUnnamed7098() => [ buildGoogleCloudDialogflowCxV3EventHandler(), buildGoogleCloudDialogflowCxV3EventHandler(), ]; -void checkUnnamed7021(core.List o) { +void checkUnnamed7098(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EventHandler(o[0]); checkGoogleCloudDialogflowCxV3EventHandler(o[1]); @@ -798,7 +798,7 @@ api.GoogleCloudDialogflowCxV3FormParameterFillBehavior buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior++; if (buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior < 3) { o.initialPromptFulfillment = buildGoogleCloudDialogflowCxV3Fulfillment(); - o.repromptEventHandlers = buildUnnamed7021(); + o.repromptEventHandlers = buildUnnamed7098(); } buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior--; return o; @@ -809,30 +809,30 @@ void checkGoogleCloudDialogflowCxV3FormParameterFillBehavior( buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior++; if (buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior < 3) { checkGoogleCloudDialogflowCxV3Fulfillment(o.initialPromptFulfillment!); - checkUnnamed7021(o.repromptEventHandlers!); + checkUnnamed7098(o.repromptEventHandlers!); } buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior--; } core.List - buildUnnamed7022() => [ + buildUnnamed7099() => [ buildGoogleCloudDialogflowCxV3FulfillmentConditionalCases(), buildGoogleCloudDialogflowCxV3FulfillmentConditionalCases(), ]; -void checkUnnamed7022( +void checkUnnamed7099( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FulfillmentConditionalCases(o[0]); checkGoogleCloudDialogflowCxV3FulfillmentConditionalCases(o[1]); } -core.List buildUnnamed7023() => [ +core.List buildUnnamed7100() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed7023( +void checkUnnamed7100( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); @@ -840,12 +840,12 @@ void checkUnnamed7023( } core.List - buildUnnamed7024() => [ + buildUnnamed7101() => [ buildGoogleCloudDialogflowCxV3FulfillmentSetParameterAction(), buildGoogleCloudDialogflowCxV3FulfillmentSetParameterAction(), ]; -void checkUnnamed7024( +void checkUnnamed7101( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FulfillmentSetParameterAction(o[0]); @@ -858,10 +858,10 @@ api.GoogleCloudDialogflowCxV3Fulfillment final o = api.GoogleCloudDialogflowCxV3Fulfillment(); buildCounterGoogleCloudDialogflowCxV3Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3Fulfillment < 3) { - o.conditionalCases = buildUnnamed7022(); - o.messages = buildUnnamed7023(); + o.conditionalCases = buildUnnamed7099(); + o.messages = buildUnnamed7100(); o.returnPartialResponses = true; - o.setParameterActions = buildUnnamed7024(); + o.setParameterActions = buildUnnamed7101(); o.tag = 'foo'; o.webhook = 'foo'; } @@ -873,10 +873,10 @@ void checkGoogleCloudDialogflowCxV3Fulfillment( api.GoogleCloudDialogflowCxV3Fulfillment o) { buildCounterGoogleCloudDialogflowCxV3Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3Fulfillment < 3) { - checkUnnamed7022(o.conditionalCases!); - checkUnnamed7023(o.messages!); + checkUnnamed7099(o.conditionalCases!); + checkUnnamed7100(o.messages!); unittest.expect(o.returnPartialResponses!, unittest.isTrue); - checkUnnamed7024(o.setParameterActions!); + checkUnnamed7101(o.setParameterActions!); unittest.expect( o.tag!, unittest.equals('foo'), @@ -890,12 +890,12 @@ void checkGoogleCloudDialogflowCxV3Fulfillment( } core.List - buildUnnamed7025() => [ + buildUnnamed7102() => [ buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase(), buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase(), ]; -void checkUnnamed7025( +void checkUnnamed7102( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase(o[0]); @@ -908,7 +908,7 @@ api.GoogleCloudDialogflowCxV3FulfillmentConditionalCases final o = api.GoogleCloudDialogflowCxV3FulfillmentConditionalCases(); buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases < 3) { - o.cases = buildUnnamed7025(); + o.cases = buildUnnamed7102(); } buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases--; return o; @@ -918,19 +918,19 @@ void checkGoogleCloudDialogflowCxV3FulfillmentConditionalCases( api.GoogleCloudDialogflowCxV3FulfillmentConditionalCases o) { buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases < 3) { - checkUnnamed7025(o.cases!); + checkUnnamed7102(o.cases!); } buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases--; } core.List< api.GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent> - buildUnnamed7026() => [ + buildUnnamed7103() => [ buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent(), buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent(), ]; -void checkUnnamed7026( +void checkUnnamed7103( core.List< api.GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent> o) { @@ -949,7 +949,7 @@ api.GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase < 3) { - o.caseContent = buildUnnamed7026(); + o.caseContent = buildUnnamed7103(); o.condition = 'foo'; } buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase--; @@ -961,7 +961,7 @@ void checkGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase < 3) { - checkUnnamed7026(o.caseContent!); + checkUnnamed7103(o.caseContent!); unittest.expect( o.condition!, unittest.equals('foo'), @@ -1096,12 +1096,12 @@ void checkGoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata( buildCounterGoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata--; } -core.List buildUnnamed7027() => [ +core.List buildUnnamed7104() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed7027(core.List o) { +void checkUnnamed7104(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -1113,7 +1113,7 @@ api.GoogleCloudDialogflowCxV3ImportDocumentsResponse final o = api.GoogleCloudDialogflowCxV3ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed7027(); + o.warnings = buildUnnamed7104(); } buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse--; return o; @@ -1123,7 +1123,7 @@ void checkGoogleCloudDialogflowCxV3ImportDocumentsResponse( api.GoogleCloudDialogflowCxV3ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse < 3) { - checkUnnamed7027(o.warnings!); + checkUnnamed7104(o.warnings!); } buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse--; } @@ -1152,12 +1152,12 @@ void checkGoogleCloudDialogflowCxV3ImportFlowResponse( buildCounterGoogleCloudDialogflowCxV3ImportFlowResponse--; } -core.List buildUnnamed7028() => [ +core.List buildUnnamed7105() => [ buildGoogleCloudDialogflowCxV3TestCaseError(), buildGoogleCloudDialogflowCxV3TestCaseError(), ]; -void checkUnnamed7028(core.List o) { +void checkUnnamed7105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestCaseError(o[0]); checkGoogleCloudDialogflowCxV3TestCaseError(o[1]); @@ -1169,7 +1169,7 @@ api.GoogleCloudDialogflowCxV3ImportTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3ImportTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata < 3) { - o.errors = buildUnnamed7028(); + o.errors = buildUnnamed7105(); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata--; return o; @@ -1179,17 +1179,17 @@ void checkGoogleCloudDialogflowCxV3ImportTestCasesMetadata( api.GoogleCloudDialogflowCxV3ImportTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata < 3) { - checkUnnamed7028(o.errors!); + checkUnnamed7105(o.errors!); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata--; } -core.List buildUnnamed7029() => [ +core.List buildUnnamed7106() => [ 'foo', 'foo', ]; -void checkUnnamed7029(core.List o) { +void checkUnnamed7106(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1207,7 +1207,7 @@ api.GoogleCloudDialogflowCxV3ImportTestCasesResponse final o = api.GoogleCloudDialogflowCxV3ImportTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse < 3) { - o.names = buildUnnamed7029(); + o.names = buildUnnamed7106(); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse--; return o; @@ -1217,17 +1217,17 @@ void checkGoogleCloudDialogflowCxV3ImportTestCasesResponse( api.GoogleCloudDialogflowCxV3ImportTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse < 3) { - checkUnnamed7029(o.names!); + checkUnnamed7106(o.names!); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse--; } -core.List buildUnnamed7030() => [ +core.List buildUnnamed7107() => [ 'foo', 'foo', ]; -void checkUnnamed7030(core.List o) { +void checkUnnamed7107(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1249,7 +1249,7 @@ api.GoogleCloudDialogflowCxV3InputAudioConfig o.enableWordInfo = true; o.model = 'foo'; o.modelVariant = 'foo'; - o.phraseHints = buildUnnamed7030(); + o.phraseHints = buildUnnamed7107(); o.sampleRateHertz = 42; o.singleUtterance = true; } @@ -1274,7 +1274,7 @@ void checkGoogleCloudDialogflowCxV3InputAudioConfig( o.modelVariant!, unittest.equals('foo'), ); - checkUnnamed7030(o.phraseHints!); + checkUnnamed7107(o.phraseHints!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), @@ -1284,12 +1284,12 @@ void checkGoogleCloudDialogflowCxV3InputAudioConfig( buildCounterGoogleCloudDialogflowCxV3InputAudioConfig--; } -core.Map buildUnnamed7031() => { +core.Map buildUnnamed7108() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7031(core.Map o) { +void checkUnnamed7108(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1301,12 +1301,12 @@ void checkUnnamed7031(core.Map o) { ); } -core.List buildUnnamed7032() => [ +core.List buildUnnamed7109() => [ buildGoogleCloudDialogflowCxV3IntentParameter(), buildGoogleCloudDialogflowCxV3IntentParameter(), ]; -void checkUnnamed7032( +void checkUnnamed7109( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentParameter(o[0]); @@ -1314,12 +1314,12 @@ void checkUnnamed7032( } core.List - buildUnnamed7033() => [ + buildUnnamed7110() => [ buildGoogleCloudDialogflowCxV3IntentTrainingPhrase(), buildGoogleCloudDialogflowCxV3IntentTrainingPhrase(), ]; -void checkUnnamed7033( +void checkUnnamed7110( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentTrainingPhrase(o[0]); @@ -1334,11 +1334,11 @@ api.GoogleCloudDialogflowCxV3Intent buildGoogleCloudDialogflowCxV3Intent() { o.description = 'foo'; o.displayName = 'foo'; o.isFallback = true; - o.labels = buildUnnamed7031(); + o.labels = buildUnnamed7108(); o.name = 'foo'; - o.parameters = buildUnnamed7032(); + o.parameters = buildUnnamed7109(); o.priority = 42; - o.trainingPhrases = buildUnnamed7033(); + o.trainingPhrases = buildUnnamed7110(); } buildCounterGoogleCloudDialogflowCxV3Intent--; return o; @@ -1357,17 +1357,17 @@ void checkGoogleCloudDialogflowCxV3Intent( unittest.equals('foo'), ); unittest.expect(o.isFallback!, unittest.isTrue); - checkUnnamed7031(o.labels!); + checkUnnamed7108(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7032(o.parameters!); + checkUnnamed7109(o.parameters!); unittest.expect( o.priority!, unittest.equals(42), ); - checkUnnamed7033(o.trainingPhrases!); + checkUnnamed7110(o.trainingPhrases!); } buildCounterGoogleCloudDialogflowCxV3Intent--; } @@ -1430,12 +1430,12 @@ void checkGoogleCloudDialogflowCxV3IntentParameter( } core.List - buildUnnamed7034() => [ + buildUnnamed7111() => [ buildGoogleCloudDialogflowCxV3IntentTrainingPhrasePart(), buildGoogleCloudDialogflowCxV3IntentTrainingPhrasePart(), ]; -void checkUnnamed7034( +void checkUnnamed7111( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentTrainingPhrasePart(o[0]); @@ -1449,7 +1449,7 @@ api.GoogleCloudDialogflowCxV3IntentTrainingPhrase buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrase < 3) { o.id = 'foo'; - o.parts = buildUnnamed7034(); + o.parts = buildUnnamed7111(); o.repeatCount = 42; } buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrase--; @@ -1464,7 +1464,7 @@ void checkGoogleCloudDialogflowCxV3IntentTrainingPhrase( o.id!, unittest.equals('foo'), ); - checkUnnamed7034(o.parts!); + checkUnnamed7111(o.parts!); unittest.expect( o.repeatCount!, unittest.equals(42), @@ -1502,23 +1502,23 @@ void checkGoogleCloudDialogflowCxV3IntentTrainingPhrasePart( buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrasePart--; } -core.List buildUnnamed7035() => [ +core.List buildUnnamed7112() => [ buildGoogleCloudDialogflowCxV3EventHandler(), buildGoogleCloudDialogflowCxV3EventHandler(), ]; -void checkUnnamed7035(core.List o) { +void checkUnnamed7112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EventHandler(o[0]); checkGoogleCloudDialogflowCxV3EventHandler(o[1]); } -core.List buildUnnamed7036() => [ +core.List buildUnnamed7113() => [ 'foo', 'foo', ]; -void checkUnnamed7036(core.List o) { +void checkUnnamed7113(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1530,12 +1530,12 @@ void checkUnnamed7036(core.List o) { ); } -core.List buildUnnamed7037() => [ +core.List buildUnnamed7114() => [ buildGoogleCloudDialogflowCxV3TransitionRoute(), buildGoogleCloudDialogflowCxV3TransitionRoute(), ]; -void checkUnnamed7037( +void checkUnnamed7114( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TransitionRoute(o[0]); @@ -1549,11 +1549,11 @@ api.GoogleCloudDialogflowCxV3Page buildGoogleCloudDialogflowCxV3Page() { if (buildCounterGoogleCloudDialogflowCxV3Page < 3) { o.displayName = 'foo'; o.entryFulfillment = buildGoogleCloudDialogflowCxV3Fulfillment(); - o.eventHandlers = buildUnnamed7035(); + o.eventHandlers = buildUnnamed7112(); o.form = buildGoogleCloudDialogflowCxV3Form(); o.name = 'foo'; - o.transitionRouteGroups = buildUnnamed7036(); - o.transitionRoutes = buildUnnamed7037(); + o.transitionRouteGroups = buildUnnamed7113(); + o.transitionRoutes = buildUnnamed7114(); } buildCounterGoogleCloudDialogflowCxV3Page--; return o; @@ -1567,14 +1567,14 @@ void checkGoogleCloudDialogflowCxV3Page(api.GoogleCloudDialogflowCxV3Page o) { unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3Fulfillment(o.entryFulfillment!); - checkUnnamed7035(o.eventHandlers!); + checkUnnamed7112(o.eventHandlers!); checkGoogleCloudDialogflowCxV3Form(o.form!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7036(o.transitionRouteGroups!); - checkUnnamed7037(o.transitionRoutes!); + checkUnnamed7113(o.transitionRouteGroups!); + checkUnnamed7114(o.transitionRoutes!); } buildCounterGoogleCloudDialogflowCxV3Page--; } @@ -1605,12 +1605,12 @@ void checkGoogleCloudDialogflowCxV3PageInfo( } core.List - buildUnnamed7038() => [ + buildUnnamed7115() => [ buildGoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo(), buildGoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo(), ]; -void checkUnnamed7038( +void checkUnnamed7115( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo(o[0]); @@ -1623,7 +1623,7 @@ api.GoogleCloudDialogflowCxV3PageInfoFormInfo final o = api.GoogleCloudDialogflowCxV3PageInfoFormInfo(); buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo < 3) { - o.parameterInfo = buildUnnamed7038(); + o.parameterInfo = buildUnnamed7115(); } buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo--; return o; @@ -1633,7 +1633,7 @@ void checkGoogleCloudDialogflowCxV3PageInfoFormInfo( api.GoogleCloudDialogflowCxV3PageInfoFormInfo o) { buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo < 3) { - checkUnnamed7038(o.parameterInfo!); + checkUnnamed7115(o.parameterInfo!); } buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo--; } @@ -1750,7 +1750,7 @@ void checkGoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata( buildCounterGoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata--; } -core.Map buildUnnamed7039() => { +core.Map buildUnnamed7116() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1763,7 +1763,7 @@ core.Map buildUnnamed7039() => { }, }; -void checkUnnamed7039(core.Map o) { +void checkUnnamed7116(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted10 = (o['x']!) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); @@ -1810,7 +1810,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessage o.mixedAudio = buildGoogleCloudDialogflowCxV3ResponseMessageMixedAudio(); o.outputAudioText = buildGoogleCloudDialogflowCxV3ResponseMessageOutputAudioText(); - o.payload = buildUnnamed7039(); + o.payload = buildUnnamed7116(); o.playAudio = buildGoogleCloudDialogflowCxV3ResponseMessagePlayAudio(); o.text = buildGoogleCloudDialogflowCxV3ResponseMessageText(); } @@ -1831,14 +1831,14 @@ void checkGoogleCloudDialogflowCxV3ResponseMessage( checkGoogleCloudDialogflowCxV3ResponseMessageMixedAudio(o.mixedAudio!); checkGoogleCloudDialogflowCxV3ResponseMessageOutputAudioText( o.outputAudioText!); - checkUnnamed7039(o.payload!); + checkUnnamed7116(o.payload!); checkGoogleCloudDialogflowCxV3ResponseMessagePlayAudio(o.playAudio!); checkGoogleCloudDialogflowCxV3ResponseMessageText(o.text!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessage--; } -core.Map buildUnnamed7040() => { +core.Map buildUnnamed7117() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1851,7 +1851,7 @@ core.Map buildUnnamed7040() => { }, }; -void checkUnnamed7040(core.Map o) { +void checkUnnamed7117(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted12 = (o['x']!) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); @@ -1891,7 +1891,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess < 3) { - o.metadata = buildUnnamed7040(); + o.metadata = buildUnnamed7117(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess--; return o; @@ -1902,7 +1902,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess < 3) { - checkUnnamed7040(o.metadata!); + checkUnnamed7117(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess--; } @@ -1924,7 +1924,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageEndInteraction( buildCounterGoogleCloudDialogflowCxV3ResponseMessageEndInteraction--; } -core.Map buildUnnamed7041() => { +core.Map buildUnnamed7118() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1937,7 +1937,7 @@ core.Map buildUnnamed7041() => { }, }; -void checkUnnamed7041(core.Map o) { +void checkUnnamed7118(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted14 = (o['x']!) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); @@ -1977,7 +1977,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff < 3) { - o.metadata = buildUnnamed7041(); + o.metadata = buildUnnamed7118(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff--; return o; @@ -1988,18 +1988,18 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff( buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff < 3) { - checkUnnamed7041(o.metadata!); + checkUnnamed7118(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff--; } core.List - buildUnnamed7042() => [ + buildUnnamed7119() => [ buildGoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment(), buildGoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment(), ]; -void checkUnnamed7042( +void checkUnnamed7119( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -2013,7 +2013,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageMixedAudio final o = api.GoogleCloudDialogflowCxV3ResponseMessageMixedAudio(); buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio < 3) { - o.segments = buildUnnamed7042(); + o.segments = buildUnnamed7119(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio--; return o; @@ -2023,7 +2023,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageMixedAudio( api.GoogleCloudDialogflowCxV3ResponseMessageMixedAudio o) { buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio < 3) { - checkUnnamed7042(o.segments!); + checkUnnamed7119(o.segments!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio--; } @@ -2120,12 +2120,12 @@ void checkGoogleCloudDialogflowCxV3ResponseMessagePlayAudio( buildCounterGoogleCloudDialogflowCxV3ResponseMessagePlayAudio--; } -core.List buildUnnamed7043() => [ +core.List buildUnnamed7120() => [ 'foo', 'foo', ]; -void checkUnnamed7043(core.List o) { +void checkUnnamed7120(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2144,7 +2144,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageText buildCounterGoogleCloudDialogflowCxV3ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageText < 3) { o.allowPlaybackInterruption = true; - o.text = buildUnnamed7043(); + o.text = buildUnnamed7120(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageText--; return o; @@ -2155,17 +2155,17 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageText( buildCounterGoogleCloudDialogflowCxV3ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageText < 3) { unittest.expect(o.allowPlaybackInterruption!, unittest.isTrue); - checkUnnamed7043(o.text!); + checkUnnamed7120(o.text!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageText--; } -core.List buildUnnamed7044() => [ +core.List buildUnnamed7121() => [ buildGoogleCloudDialogflowCxV3TestError(), buildGoogleCloudDialogflowCxV3TestError(), ]; -void checkUnnamed7044(core.List o) { +void checkUnnamed7121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestError(o[0]); checkGoogleCloudDialogflowCxV3TestError(o[1]); @@ -2177,7 +2177,7 @@ api.GoogleCloudDialogflowCxV3RunContinuousTestMetadata final o = api.GoogleCloudDialogflowCxV3RunContinuousTestMetadata(); buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata < 3) { - o.errors = buildUnnamed7044(); + o.errors = buildUnnamed7121(); } buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata--; return o; @@ -2187,7 +2187,7 @@ void checkGoogleCloudDialogflowCxV3RunContinuousTestMetadata( api.GoogleCloudDialogflowCxV3RunContinuousTestMetadata o) { buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata < 3) { - checkUnnamed7044(o.errors!); + checkUnnamed7121(o.errors!); } buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata--; } @@ -2252,7 +2252,7 @@ void checkGoogleCloudDialogflowCxV3RunTestCaseResponse( buildCounterGoogleCloudDialogflowCxV3RunTestCaseResponse--; } -core.Map buildUnnamed7045() => { +core.Map buildUnnamed7122() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2265,7 +2265,7 @@ core.Map buildUnnamed7045() => { }, }; -void checkUnnamed7045(core.Map o) { +void checkUnnamed7122(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted16 = (o['x']!) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); @@ -2303,7 +2303,7 @@ api.GoogleCloudDialogflowCxV3SessionInfo final o = api.GoogleCloudDialogflowCxV3SessionInfo(); buildCounterGoogleCloudDialogflowCxV3SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3SessionInfo < 3) { - o.parameters = buildUnnamed7045(); + o.parameters = buildUnnamed7122(); o.session = 'foo'; } buildCounterGoogleCloudDialogflowCxV3SessionInfo--; @@ -2314,7 +2314,7 @@ void checkGoogleCloudDialogflowCxV3SessionInfo( api.GoogleCloudDialogflowCxV3SessionInfo o) { buildCounterGoogleCloudDialogflowCxV3SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3SessionInfo < 3) { - checkUnnamed7045(o.parameters!); + checkUnnamed7122(o.parameters!); unittest.expect( o.session!, unittest.equals('foo'), @@ -2323,12 +2323,12 @@ void checkGoogleCloudDialogflowCxV3SessionInfo( buildCounterGoogleCloudDialogflowCxV3SessionInfo--; } -core.List buildUnnamed7046() => [ +core.List buildUnnamed7123() => [ 'foo', 'foo', ]; -void checkUnnamed7046(core.List o) { +void checkUnnamed7123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2340,12 +2340,12 @@ void checkUnnamed7046(core.List o) { ); } -core.List buildUnnamed7047() => [ +core.List buildUnnamed7124() => [ buildGoogleCloudDialogflowCxV3ConversationTurn(), buildGoogleCloudDialogflowCxV3ConversationTurn(), ]; -void checkUnnamed7047( +void checkUnnamed7124( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ConversationTurn(o[0]); @@ -2362,8 +2362,8 @@ api.GoogleCloudDialogflowCxV3TestCase buildGoogleCloudDialogflowCxV3TestCase() { o.lastTestResult = buildGoogleCloudDialogflowCxV3TestCaseResult(); o.name = 'foo'; o.notes = 'foo'; - o.tags = buildUnnamed7046(); - o.testCaseConversationTurns = buildUnnamed7047(); + o.tags = buildUnnamed7123(); + o.testCaseConversationTurns = buildUnnamed7124(); o.testConfig = buildGoogleCloudDialogflowCxV3TestConfig(); } buildCounterGoogleCloudDialogflowCxV3TestCase--; @@ -2391,8 +2391,8 @@ void checkGoogleCloudDialogflowCxV3TestCase( o.notes!, unittest.equals('foo'), ); - checkUnnamed7046(o.tags!); - checkUnnamed7047(o.testCaseConversationTurns!); + checkUnnamed7123(o.tags!); + checkUnnamed7124(o.testCaseConversationTurns!); checkGoogleCloudDialogflowCxV3TestConfig(o.testConfig!); } buildCounterGoogleCloudDialogflowCxV3TestCase--; @@ -2421,12 +2421,12 @@ void checkGoogleCloudDialogflowCxV3TestCaseError( buildCounterGoogleCloudDialogflowCxV3TestCaseError--; } -core.List buildUnnamed7048() => [ +core.List buildUnnamed7125() => [ buildGoogleCloudDialogflowCxV3ConversationTurn(), buildGoogleCloudDialogflowCxV3ConversationTurn(), ]; -void checkUnnamed7048( +void checkUnnamed7125( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ConversationTurn(o[0]); @@ -2439,7 +2439,7 @@ api.GoogleCloudDialogflowCxV3TestCaseResult final o = api.GoogleCloudDialogflowCxV3TestCaseResult(); buildCounterGoogleCloudDialogflowCxV3TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3TestCaseResult < 3) { - o.conversationTurns = buildUnnamed7048(); + o.conversationTurns = buildUnnamed7125(); o.environment = 'foo'; o.name = 'foo'; o.testResult = 'foo'; @@ -2453,7 +2453,7 @@ void checkGoogleCloudDialogflowCxV3TestCaseResult( api.GoogleCloudDialogflowCxV3TestCaseResult o) { buildCounterGoogleCloudDialogflowCxV3TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3TestCaseResult < 3) { - checkUnnamed7048(o.conversationTurns!); + checkUnnamed7125(o.conversationTurns!); unittest.expect( o.environment!, unittest.equals('foo'), @@ -2474,12 +2474,12 @@ void checkGoogleCloudDialogflowCxV3TestCaseResult( buildCounterGoogleCloudDialogflowCxV3TestCaseResult--; } -core.List buildUnnamed7049() => [ +core.List buildUnnamed7126() => [ 'foo', 'foo', ]; -void checkUnnamed7049(core.List o) { +void checkUnnamed7126(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2498,7 +2498,7 @@ api.GoogleCloudDialogflowCxV3TestConfig buildCounterGoogleCloudDialogflowCxV3TestConfig++; if (buildCounterGoogleCloudDialogflowCxV3TestConfig < 3) { o.flow = 'foo'; - o.trackingParameters = buildUnnamed7049(); + o.trackingParameters = buildUnnamed7126(); } buildCounterGoogleCloudDialogflowCxV3TestConfig--; return o; @@ -2512,7 +2512,7 @@ void checkGoogleCloudDialogflowCxV3TestConfig( o.flow!, unittest.equals('foo'), ); - checkUnnamed7049(o.trackingParameters!); + checkUnnamed7126(o.trackingParameters!); } buildCounterGoogleCloudDialogflowCxV3TestConfig--; } @@ -2673,19 +2673,19 @@ void checkGoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata( buildCounterGoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata--; } -core.List buildUnnamed7050() => [ +core.List buildUnnamed7127() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed7050( +void checkUnnamed7127( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); checkGoogleCloudDialogflowCxV3ResponseMessage(o[1]); } -core.Map buildUnnamed7051() => { +core.Map buildUnnamed7128() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2698,7 +2698,7 @@ core.Map buildUnnamed7051() => { }, }; -void checkUnnamed7051(core.Map o) { +void checkUnnamed7128(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted18 = (o['x']!) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); @@ -2741,9 +2741,9 @@ api.GoogleCloudDialogflowCxV3WebhookRequest buildGoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo(); o.intentInfo = buildGoogleCloudDialogflowCxV3WebhookRequestIntentInfo(); o.languageCode = 'foo'; - o.messages = buildUnnamed7050(); + o.messages = buildUnnamed7127(); o.pageInfo = buildGoogleCloudDialogflowCxV3PageInfo(); - o.payload = buildUnnamed7051(); + o.payload = buildUnnamed7128(); o.sentimentAnalysisResult = buildGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult(); o.sessionInfo = buildGoogleCloudDialogflowCxV3SessionInfo(); @@ -2771,9 +2771,9 @@ void checkGoogleCloudDialogflowCxV3WebhookRequest( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed7050(o.messages!); + checkUnnamed7127(o.messages!); checkGoogleCloudDialogflowCxV3PageInfo(o.pageInfo!); - checkUnnamed7051(o.payload!); + checkUnnamed7128(o.payload!); checkGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( o.sentimentAnalysisResult!); checkGoogleCloudDialogflowCxV3SessionInfo(o.sessionInfo!); @@ -2823,14 +2823,14 @@ void checkGoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo( core.Map - buildUnnamed7052() => { + buildUnnamed7129() => { 'x': buildGoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue(), 'y': buildGoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue(), }; -void checkUnnamed7052( +void checkUnnamed7129( core.Map o) { @@ -2850,7 +2850,7 @@ api.GoogleCloudDialogflowCxV3WebhookRequestIntentInfo o.confidence = 42.0; o.displayName = 'foo'; o.lastMatchedIntent = 'foo'; - o.parameters = buildUnnamed7052(); + o.parameters = buildUnnamed7129(); } buildCounterGoogleCloudDialogflowCxV3WebhookRequestIntentInfo--; return o; @@ -2872,7 +2872,7 @@ void checkGoogleCloudDialogflowCxV3WebhookRequestIntentInfo( o.lastMatchedIntent!, unittest.equals('foo'), ); - checkUnnamed7052(o.parameters!); + checkUnnamed7129(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3WebhookRequestIntentInfo--; } @@ -2960,7 +2960,7 @@ void checkGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( buildCounterGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult--; } -core.Map buildUnnamed7053() => { +core.Map buildUnnamed7130() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2973,7 +2973,7 @@ core.Map buildUnnamed7053() => { }, }; -void checkUnnamed7053(core.Map o) { +void checkUnnamed7130(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted21 = (o['x']!) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); @@ -3014,7 +3014,7 @@ api.GoogleCloudDialogflowCxV3WebhookResponse o.fulfillmentResponse = buildGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse(); o.pageInfo = buildGoogleCloudDialogflowCxV3PageInfo(); - o.payload = buildUnnamed7053(); + o.payload = buildUnnamed7130(); o.sessionInfo = buildGoogleCloudDialogflowCxV3SessionInfo(); o.targetFlow = 'foo'; o.targetPage = 'foo'; @@ -3030,7 +3030,7 @@ void checkGoogleCloudDialogflowCxV3WebhookResponse( checkGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( o.fulfillmentResponse!); checkGoogleCloudDialogflowCxV3PageInfo(o.pageInfo!); - checkUnnamed7053(o.payload!); + checkUnnamed7130(o.payload!); checkGoogleCloudDialogflowCxV3SessionInfo(o.sessionInfo!); unittest.expect( o.targetFlow!, @@ -3044,12 +3044,12 @@ void checkGoogleCloudDialogflowCxV3WebhookResponse( buildCounterGoogleCloudDialogflowCxV3WebhookResponse--; } -core.List buildUnnamed7054() => [ +core.List buildUnnamed7131() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed7054( +void checkUnnamed7131( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); @@ -3065,7 +3065,7 @@ api.GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse if (buildCounterGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse < 3) { o.mergeBehavior = 'foo'; - o.messages = buildUnnamed7054(); + o.messages = buildUnnamed7131(); } buildCounterGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse--; return o; @@ -3080,7 +3080,7 @@ void checkGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( o.mergeBehavior!, unittest.equals('foo'), ); - checkUnnamed7054(o.messages!); + checkUnnamed7131(o.messages!); } buildCounterGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse--; } @@ -3111,12 +3111,12 @@ void checkGoogleCloudDialogflowCxV3beta1AudioInput( buildCounterGoogleCloudDialogflowCxV3beta1AudioInput--; } -core.List buildUnnamed7055() => [ +core.List buildUnnamed7132() => [ buildGoogleCloudDialogflowCxV3beta1TestError(), buildGoogleCloudDialogflowCxV3beta1TestError(), ]; -void checkUnnamed7055( +void checkUnnamed7132( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestError(o[0]); @@ -3130,7 +3130,7 @@ api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata < 3) { - o.errors = buildUnnamed7055(); + o.errors = buildUnnamed7132(); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata--; return o; @@ -3140,18 +3140,18 @@ void checkGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata( api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata < 3) { - checkUnnamed7055(o.errors!); + checkUnnamed7132(o.errors!); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata--; } core.List - buildUnnamed7056() => [ + buildUnnamed7133() => [ buildGoogleCloudDialogflowCxV3beta1TestCaseResult(), buildGoogleCloudDialogflowCxV3beta1TestCaseResult(), ]; -void checkUnnamed7056( +void checkUnnamed7133( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestCaseResult(o[0]); @@ -3165,7 +3165,7 @@ api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse final o = api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse < 3) { - o.results = buildUnnamed7056(); + o.results = buildUnnamed7133(); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse--; return o; @@ -3175,17 +3175,17 @@ void checkGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse( api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse < 3) { - checkUnnamed7056(o.results!); + checkUnnamed7133(o.results!); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse--; } -core.List buildUnnamed7057() => [ +core.List buildUnnamed7134() => [ 'foo', 'foo', ]; -void checkUnnamed7057(core.List o) { +void checkUnnamed7134(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3206,7 +3206,7 @@ api.GoogleCloudDialogflowCxV3beta1ContinuousTestResult o.name = 'foo'; o.result = 'foo'; o.runTime = 'foo'; - o.testCaseResults = buildUnnamed7057(); + o.testCaseResults = buildUnnamed7134(); } buildCounterGoogleCloudDialogflowCxV3beta1ContinuousTestResult--; return o; @@ -3228,7 +3228,7 @@ void checkGoogleCloudDialogflowCxV3beta1ContinuousTestResult( o.runTime!, unittest.equals('foo'), ); - checkUnnamed7057(o.testCaseResults!); + checkUnnamed7134(o.testCaseResults!); } buildCounterGoogleCloudDialogflowCxV3beta1ContinuousTestResult--; } @@ -3259,7 +3259,7 @@ void checkGoogleCloudDialogflowCxV3beta1ConversationTurn( buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurn--; } -core.Map buildUnnamed7058() => { +core.Map buildUnnamed7135() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3272,7 +3272,7 @@ core.Map buildUnnamed7058() => { }, }; -void checkUnnamed7058(core.Map o) { +void checkUnnamed7135(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted23 = (o['x']!) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); @@ -3312,7 +3312,7 @@ api.GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput < 3) { o.enableSentimentAnalysis = true; - o.injectedParameters = buildUnnamed7058(); + o.injectedParameters = buildUnnamed7135(); o.input = buildGoogleCloudDialogflowCxV3beta1QueryInput(); o.isWebhookEnabled = true; } @@ -3325,14 +3325,14 @@ void checkGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput < 3) { unittest.expect(o.enableSentimentAnalysis!, unittest.isTrue); - checkUnnamed7058(o.injectedParameters!); + checkUnnamed7135(o.injectedParameters!); checkGoogleCloudDialogflowCxV3beta1QueryInput(o.input!); unittest.expect(o.isWebhookEnabled!, unittest.isTrue); } buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput--; } -core.Map buildUnnamed7059() => { +core.Map buildUnnamed7136() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3345,7 +3345,7 @@ core.Map buildUnnamed7059() => { }, }; -void checkUnnamed7059(core.Map o) { +void checkUnnamed7136(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted25 = (o['x']!) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); @@ -3378,19 +3378,19 @@ void checkUnnamed7059(core.Map o) { } core.List - buildUnnamed7060() => [ + buildUnnamed7137() => [ buildGoogleCloudDialogflowCxV3beta1TestRunDifference(), buildGoogleCloudDialogflowCxV3beta1TestRunDifference(), ]; -void checkUnnamed7060( +void checkUnnamed7137( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestRunDifference(o[0]); checkGoogleCloudDialogflowCxV3beta1TestRunDifference(o[1]); } -core.Map buildUnnamed7061() => { +core.Map buildUnnamed7138() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3403,7 +3403,7 @@ core.Map buildUnnamed7061() => { }, }; -void checkUnnamed7061(core.Map o) { +void checkUnnamed7138(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted27 = (o['x']!) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); @@ -3436,12 +3436,12 @@ void checkUnnamed7061(core.Map o) { } core.List - buildUnnamed7062() => [ + buildUnnamed7139() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessageText(), buildGoogleCloudDialogflowCxV3beta1ResponseMessageText(), ]; -void checkUnnamed7062( +void checkUnnamed7139( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessageText(o[0]); @@ -3459,11 +3459,11 @@ api.GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput < 3) { o.currentPage = buildGoogleCloudDialogflowCxV3beta1Page(); - o.diagnosticInfo = buildUnnamed7059(); - o.differences = buildUnnamed7060(); - o.sessionParameters = buildUnnamed7061(); + o.diagnosticInfo = buildUnnamed7136(); + o.differences = buildUnnamed7137(); + o.sessionParameters = buildUnnamed7138(); o.status = buildGoogleRpcStatus(); - o.textResponses = buildUnnamed7062(); + o.textResponses = buildUnnamed7139(); o.triggeredIntent = buildGoogleCloudDialogflowCxV3beta1Intent(); } buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput--; @@ -3476,11 +3476,11 @@ void checkGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput < 3) { checkGoogleCloudDialogflowCxV3beta1Page(o.currentPage!); - checkUnnamed7059(o.diagnosticInfo!); - checkUnnamed7060(o.differences!); - checkUnnamed7061(o.sessionParameters!); + checkUnnamed7136(o.diagnosticInfo!); + checkUnnamed7137(o.differences!); + checkUnnamed7138(o.sessionParameters!); checkGoogleRpcStatus(o.status!); - checkUnnamed7062(o.textResponses!); + checkUnnamed7139(o.textResponses!); checkGoogleCloudDialogflowCxV3beta1Intent(o.triggeredIntent!); } buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput--; @@ -3766,13 +3766,13 @@ void checkGoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( buildCounterGoogleCloudDialogflowCxV3beta1ExportTestCasesResponse--; } -core.List buildUnnamed7063() => +core.List buildUnnamed7140() => [ buildGoogleCloudDialogflowCxV3beta1FormParameter(), buildGoogleCloudDialogflowCxV3beta1FormParameter(), ]; -void checkUnnamed7063( +void checkUnnamed7140( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1FormParameter(o[0]); @@ -3785,7 +3785,7 @@ api.GoogleCloudDialogflowCxV3beta1Form final o = api.GoogleCloudDialogflowCxV3beta1Form(); buildCounterGoogleCloudDialogflowCxV3beta1Form++; if (buildCounterGoogleCloudDialogflowCxV3beta1Form < 3) { - o.parameters = buildUnnamed7063(); + o.parameters = buildUnnamed7140(); } buildCounterGoogleCloudDialogflowCxV3beta1Form--; return o; @@ -3795,7 +3795,7 @@ void checkGoogleCloudDialogflowCxV3beta1Form( api.GoogleCloudDialogflowCxV3beta1Form o) { buildCounterGoogleCloudDialogflowCxV3beta1Form++; if (buildCounterGoogleCloudDialogflowCxV3beta1Form < 3) { - checkUnnamed7063(o.parameters!); + checkUnnamed7140(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3beta1Form--; } @@ -3858,13 +3858,13 @@ void checkGoogleCloudDialogflowCxV3beta1FormParameter( buildCounterGoogleCloudDialogflowCxV3beta1FormParameter--; } -core.List buildUnnamed7064() => +core.List buildUnnamed7141() => [ buildGoogleCloudDialogflowCxV3beta1EventHandler(), buildGoogleCloudDialogflowCxV3beta1EventHandler(), ]; -void checkUnnamed7064( +void checkUnnamed7141( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1EventHandler(o[0]); @@ -3880,7 +3880,7 @@ api.GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior if (buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior < 3) { o.initialPromptFulfillment = buildGoogleCloudDialogflowCxV3beta1Fulfillment(); - o.repromptEventHandlers = buildUnnamed7064(); + o.repromptEventHandlers = buildUnnamed7141(); } buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior--; return o; @@ -3891,18 +3891,18 @@ void checkGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior( buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior++; if (buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior < 3) { checkGoogleCloudDialogflowCxV3beta1Fulfillment(o.initialPromptFulfillment!); - checkUnnamed7064(o.repromptEventHandlers!); + checkUnnamed7141(o.repromptEventHandlers!); } buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior--; } core.List - buildUnnamed7065() => [ + buildUnnamed7142() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases(), buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases(), ]; -void checkUnnamed7065( +void checkUnnamed7142( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3911,12 +3911,12 @@ void checkUnnamed7065( } core.List - buildUnnamed7066() => [ + buildUnnamed7143() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), ]; -void checkUnnamed7066( +void checkUnnamed7143( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]); @@ -3924,12 +3924,12 @@ void checkUnnamed7066( } core.List - buildUnnamed7067() => [ + buildUnnamed7144() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction(), buildGoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction(), ]; -void checkUnnamed7067( +void checkUnnamed7144( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3943,10 +3943,10 @@ api.GoogleCloudDialogflowCxV3beta1Fulfillment final o = api.GoogleCloudDialogflowCxV3beta1Fulfillment(); buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment < 3) { - o.conditionalCases = buildUnnamed7065(); - o.messages = buildUnnamed7066(); + o.conditionalCases = buildUnnamed7142(); + o.messages = buildUnnamed7143(); o.returnPartialResponses = true; - o.setParameterActions = buildUnnamed7067(); + o.setParameterActions = buildUnnamed7144(); o.tag = 'foo'; o.webhook = 'foo'; } @@ -3958,10 +3958,10 @@ void checkGoogleCloudDialogflowCxV3beta1Fulfillment( api.GoogleCloudDialogflowCxV3beta1Fulfillment o) { buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment < 3) { - checkUnnamed7065(o.conditionalCases!); - checkUnnamed7066(o.messages!); + checkUnnamed7142(o.conditionalCases!); + checkUnnamed7143(o.messages!); unittest.expect(o.returnPartialResponses!, unittest.isTrue); - checkUnnamed7067(o.setParameterActions!); + checkUnnamed7144(o.setParameterActions!); unittest.expect( o.tag!, unittest.equals('foo'), @@ -3975,12 +3975,12 @@ void checkGoogleCloudDialogflowCxV3beta1Fulfillment( } core.List - buildUnnamed7068() => [ + buildUnnamed7145() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase(), buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase(), ]; -void checkUnnamed7068( +void checkUnnamed7145( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3996,7 +3996,7 @@ api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases < 3) { - o.cases = buildUnnamed7068(); + o.cases = buildUnnamed7145(); } buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases--; return o; @@ -4007,19 +4007,19 @@ void checkGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases( buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases < 3) { - checkUnnamed7068(o.cases!); + checkUnnamed7145(o.cases!); } buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases--; } core.List< api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent> - buildUnnamed7069() => [ + buildUnnamed7146() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent(), buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent(), ]; -void checkUnnamed7069( +void checkUnnamed7146( core.List< api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent> o) { @@ -4039,7 +4039,7 @@ api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase < 3) { - o.caseContent = buildUnnamed7069(); + o.caseContent = buildUnnamed7146(); o.condition = 'foo'; } buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase--; @@ -4051,7 +4051,7 @@ void checkGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase < 3) { - checkUnnamed7069(o.caseContent!); + checkUnnamed7146(o.caseContent!); unittest.expect( o.condition!, unittest.equals('foo'), @@ -4194,12 +4194,12 @@ void checkGoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata( buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata--; } -core.List buildUnnamed7070() => [ +core.List buildUnnamed7147() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed7070(core.List o) { +void checkUnnamed7147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -4211,7 +4211,7 @@ api.GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse final o = api.GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed7070(); + o.warnings = buildUnnamed7147(); } buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse--; return o; @@ -4221,7 +4221,7 @@ void checkGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse( api.GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse < 3) { - checkUnnamed7070(o.warnings!); + checkUnnamed7147(o.warnings!); } buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse--; } @@ -4250,13 +4250,13 @@ void checkGoogleCloudDialogflowCxV3beta1ImportFlowResponse( buildCounterGoogleCloudDialogflowCxV3beta1ImportFlowResponse--; } -core.List buildUnnamed7071() => +core.List buildUnnamed7148() => [ buildGoogleCloudDialogflowCxV3beta1TestCaseError(), buildGoogleCloudDialogflowCxV3beta1TestCaseError(), ]; -void checkUnnamed7071( +void checkUnnamed7148( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestCaseError(o[0]); @@ -4269,7 +4269,7 @@ api.GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata < 3) { - o.errors = buildUnnamed7071(); + o.errors = buildUnnamed7148(); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata--; return o; @@ -4279,17 +4279,17 @@ void checkGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata( api.GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata < 3) { - checkUnnamed7071(o.errors!); + checkUnnamed7148(o.errors!); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata--; } -core.List buildUnnamed7072() => [ +core.List buildUnnamed7149() => [ 'foo', 'foo', ]; -void checkUnnamed7072(core.List o) { +void checkUnnamed7149(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4307,7 +4307,7 @@ api.GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse final o = api.GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse < 3) { - o.names = buildUnnamed7072(); + o.names = buildUnnamed7149(); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse--; return o; @@ -4317,17 +4317,17 @@ void checkGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse( api.GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse < 3) { - checkUnnamed7072(o.names!); + checkUnnamed7149(o.names!); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse--; } -core.List buildUnnamed7073() => [ +core.List buildUnnamed7150() => [ 'foo', 'foo', ]; -void checkUnnamed7073(core.List o) { +void checkUnnamed7150(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4349,7 +4349,7 @@ api.GoogleCloudDialogflowCxV3beta1InputAudioConfig o.enableWordInfo = true; o.model = 'foo'; o.modelVariant = 'foo'; - o.phraseHints = buildUnnamed7073(); + o.phraseHints = buildUnnamed7150(); o.sampleRateHertz = 42; o.singleUtterance = true; } @@ -4374,7 +4374,7 @@ void checkGoogleCloudDialogflowCxV3beta1InputAudioConfig( o.modelVariant!, unittest.equals('foo'), ); - checkUnnamed7073(o.phraseHints!); + checkUnnamed7150(o.phraseHints!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), @@ -4384,12 +4384,12 @@ void checkGoogleCloudDialogflowCxV3beta1InputAudioConfig( buildCounterGoogleCloudDialogflowCxV3beta1InputAudioConfig--; } -core.Map buildUnnamed7074() => { +core.Map buildUnnamed7151() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7074(core.Map o) { +void checkUnnamed7151(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4402,12 +4402,12 @@ void checkUnnamed7074(core.Map o) { } core.List - buildUnnamed7075() => [ + buildUnnamed7152() => [ buildGoogleCloudDialogflowCxV3beta1IntentParameter(), buildGoogleCloudDialogflowCxV3beta1IntentParameter(), ]; -void checkUnnamed7075( +void checkUnnamed7152( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1IntentParameter(o[0]); @@ -4415,12 +4415,12 @@ void checkUnnamed7075( } core.List - buildUnnamed7076() => [ + buildUnnamed7153() => [ buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(), buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(), ]; -void checkUnnamed7076( +void checkUnnamed7153( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(o[0]); @@ -4436,11 +4436,11 @@ api.GoogleCloudDialogflowCxV3beta1Intent o.description = 'foo'; o.displayName = 'foo'; o.isFallback = true; - o.labels = buildUnnamed7074(); + o.labels = buildUnnamed7151(); o.name = 'foo'; - o.parameters = buildUnnamed7075(); + o.parameters = buildUnnamed7152(); o.priority = 42; - o.trainingPhrases = buildUnnamed7076(); + o.trainingPhrases = buildUnnamed7153(); } buildCounterGoogleCloudDialogflowCxV3beta1Intent--; return o; @@ -4459,17 +4459,17 @@ void checkGoogleCloudDialogflowCxV3beta1Intent( unittest.equals('foo'), ); unittest.expect(o.isFallback!, unittest.isTrue); - checkUnnamed7074(o.labels!); + checkUnnamed7151(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7075(o.parameters!); + checkUnnamed7152(o.parameters!); unittest.expect( o.priority!, unittest.equals(42), ); - checkUnnamed7076(o.trainingPhrases!); + checkUnnamed7153(o.trainingPhrases!); } buildCounterGoogleCloudDialogflowCxV3beta1Intent--; } @@ -4532,12 +4532,12 @@ void checkGoogleCloudDialogflowCxV3beta1IntentParameter( } core.List - buildUnnamed7077() => [ + buildUnnamed7154() => [ buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart(), buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart(), ]; -void checkUnnamed7077( +void checkUnnamed7154( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart(o[0]); @@ -4551,7 +4551,7 @@ api.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase < 3) { o.id = 'foo'; - o.parts = buildUnnamed7077(); + o.parts = buildUnnamed7154(); o.repeatCount = 42; } buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase--; @@ -4566,7 +4566,7 @@ void checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase( o.id!, unittest.equals('foo'), ); - checkUnnamed7077(o.parts!); + checkUnnamed7154(o.parts!); unittest.expect( o.repeatCount!, unittest.equals(42), @@ -4604,25 +4604,25 @@ void checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart( buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart--; } -core.List buildUnnamed7078() => +core.List buildUnnamed7155() => [ buildGoogleCloudDialogflowCxV3beta1EventHandler(), buildGoogleCloudDialogflowCxV3beta1EventHandler(), ]; -void checkUnnamed7078( +void checkUnnamed7155( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1EventHandler(o[0]); checkGoogleCloudDialogflowCxV3beta1EventHandler(o[1]); } -core.List buildUnnamed7079() => [ +core.List buildUnnamed7156() => [ 'foo', 'foo', ]; -void checkUnnamed7079(core.List o) { +void checkUnnamed7156(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4635,12 +4635,12 @@ void checkUnnamed7079(core.List o) { } core.List - buildUnnamed7080() => [ + buildUnnamed7157() => [ buildGoogleCloudDialogflowCxV3beta1TransitionRoute(), buildGoogleCloudDialogflowCxV3beta1TransitionRoute(), ]; -void checkUnnamed7080( +void checkUnnamed7157( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TransitionRoute(o[0]); @@ -4655,11 +4655,11 @@ api.GoogleCloudDialogflowCxV3beta1Page if (buildCounterGoogleCloudDialogflowCxV3beta1Page < 3) { o.displayName = 'foo'; o.entryFulfillment = buildGoogleCloudDialogflowCxV3beta1Fulfillment(); - o.eventHandlers = buildUnnamed7078(); + o.eventHandlers = buildUnnamed7155(); o.form = buildGoogleCloudDialogflowCxV3beta1Form(); o.name = 'foo'; - o.transitionRouteGroups = buildUnnamed7079(); - o.transitionRoutes = buildUnnamed7080(); + o.transitionRouteGroups = buildUnnamed7156(); + o.transitionRoutes = buildUnnamed7157(); } buildCounterGoogleCloudDialogflowCxV3beta1Page--; return o; @@ -4674,14 +4674,14 @@ void checkGoogleCloudDialogflowCxV3beta1Page( unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3beta1Fulfillment(o.entryFulfillment!); - checkUnnamed7078(o.eventHandlers!); + checkUnnamed7155(o.eventHandlers!); checkGoogleCloudDialogflowCxV3beta1Form(o.form!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7079(o.transitionRouteGroups!); - checkUnnamed7080(o.transitionRoutes!); + checkUnnamed7156(o.transitionRouteGroups!); + checkUnnamed7157(o.transitionRoutes!); } buildCounterGoogleCloudDialogflowCxV3beta1Page--; } @@ -4713,12 +4713,12 @@ void checkGoogleCloudDialogflowCxV3beta1PageInfo( } core.List - buildUnnamed7081() => [ + buildUnnamed7158() => [ buildGoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo(), buildGoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo(), ]; -void checkUnnamed7081( +void checkUnnamed7158( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4732,7 +4732,7 @@ api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo final o = api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo(); buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo < 3) { - o.parameterInfo = buildUnnamed7081(); + o.parameterInfo = buildUnnamed7158(); } buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo--; return o; @@ -4742,7 +4742,7 @@ void checkGoogleCloudDialogflowCxV3beta1PageInfoFormInfo( api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo o) { buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo < 3) { - checkUnnamed7081(o.parameterInfo!); + checkUnnamed7158(o.parameterInfo!); } buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo--; } @@ -4863,7 +4863,7 @@ void checkGoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata( buildCounterGoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata--; } -core.Map buildUnnamed7082() => { +core.Map buildUnnamed7159() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4876,7 +4876,7 @@ core.Map buildUnnamed7082() => { }, }; -void checkUnnamed7082(core.Map o) { +void checkUnnamed7159(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted32 = (o['x']!) as core.Map; unittest.expect(casted32, unittest.hasLength(3)); @@ -4924,7 +4924,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessage buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(); o.outputAudioText = buildGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText(); - o.payload = buildUnnamed7082(); + o.payload = buildUnnamed7159(); o.playAudio = buildGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio(); o.text = buildGoogleCloudDialogflowCxV3beta1ResponseMessageText(); } @@ -4945,14 +4945,14 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessage( checkGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(o.mixedAudio!); checkGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( o.outputAudioText!); - checkUnnamed7082(o.payload!); + checkUnnamed7159(o.payload!); checkGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio(o.playAudio!); checkGoogleCloudDialogflowCxV3beta1ResponseMessageText(o.text!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessage--; } -core.Map buildUnnamed7083() => { +core.Map buildUnnamed7160() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4965,7 +4965,7 @@ core.Map buildUnnamed7083() => { }, }; -void checkUnnamed7083(core.Map o) { +void checkUnnamed7160(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted34 = (o['x']!) as core.Map; unittest.expect(casted34, unittest.hasLength(3)); @@ -5007,7 +5007,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess < 3) { - o.metadata = buildUnnamed7083(); + o.metadata = buildUnnamed7160(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess--; return o; @@ -5018,7 +5018,7 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess < 3) { - checkUnnamed7083(o.metadata!); + checkUnnamed7160(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess--; } @@ -5043,7 +5043,7 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction--; } -core.Map buildUnnamed7084() => { +core.Map buildUnnamed7161() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5056,7 +5056,7 @@ core.Map buildUnnamed7084() => { }, }; -void checkUnnamed7084(core.Map o) { +void checkUnnamed7161(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted36 = (o['x']!) as core.Map; unittest.expect(casted36, unittest.hasLength(3)); @@ -5097,7 +5097,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff < 3) { - o.metadata = buildUnnamed7084(); + o.metadata = buildUnnamed7161(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff--; return o; @@ -5108,18 +5108,18 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff < 3) { - checkUnnamed7084(o.metadata!); + checkUnnamed7161(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff--; } core.List - buildUnnamed7085() => [ + buildUnnamed7162() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment(), buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment(), ]; -void checkUnnamed7085( +void checkUnnamed7162( core.List< api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment> o) { @@ -5135,7 +5135,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio final o = api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(); buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio < 3) { - o.segments = buildUnnamed7085(); + o.segments = buildUnnamed7162(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio--; return o; @@ -5145,7 +5145,7 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio( api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio o) { buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio < 3) { - checkUnnamed7085(o.segments!); + checkUnnamed7162(o.segments!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio--; } @@ -5247,12 +5247,12 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio--; } -core.List buildUnnamed7086() => [ +core.List buildUnnamed7163() => [ 'foo', 'foo', ]; -void checkUnnamed7086(core.List o) { +void checkUnnamed7163(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5271,7 +5271,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageText buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText < 3) { o.allowPlaybackInterruption = true; - o.text = buildUnnamed7086(); + o.text = buildUnnamed7163(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText--; return o; @@ -5282,17 +5282,17 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageText( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText < 3) { unittest.expect(o.allowPlaybackInterruption!, unittest.isTrue); - checkUnnamed7086(o.text!); + checkUnnamed7163(o.text!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText--; } -core.List buildUnnamed7087() => [ +core.List buildUnnamed7164() => [ buildGoogleCloudDialogflowCxV3beta1TestError(), buildGoogleCloudDialogflowCxV3beta1TestError(), ]; -void checkUnnamed7087( +void checkUnnamed7164( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestError(o[0]); @@ -5306,7 +5306,7 @@ api.GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata final o = api.GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata(); buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata < 3) { - o.errors = buildUnnamed7087(); + o.errors = buildUnnamed7164(); } buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata--; return o; @@ -5316,7 +5316,7 @@ void checkGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata( api.GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata o) { buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata < 3) { - checkUnnamed7087(o.errors!); + checkUnnamed7164(o.errors!); } buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata--; } @@ -5383,7 +5383,7 @@ void checkGoogleCloudDialogflowCxV3beta1RunTestCaseResponse( buildCounterGoogleCloudDialogflowCxV3beta1RunTestCaseResponse--; } -core.Map buildUnnamed7088() => { +core.Map buildUnnamed7165() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5396,7 +5396,7 @@ core.Map buildUnnamed7088() => { }, }; -void checkUnnamed7088(core.Map o) { +void checkUnnamed7165(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted38 = (o['x']!) as core.Map; unittest.expect(casted38, unittest.hasLength(3)); @@ -5434,7 +5434,7 @@ api.GoogleCloudDialogflowCxV3beta1SessionInfo final o = api.GoogleCloudDialogflowCxV3beta1SessionInfo(); buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo < 3) { - o.parameters = buildUnnamed7088(); + o.parameters = buildUnnamed7165(); o.session = 'foo'; } buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo--; @@ -5445,7 +5445,7 @@ void checkGoogleCloudDialogflowCxV3beta1SessionInfo( api.GoogleCloudDialogflowCxV3beta1SessionInfo o) { buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo < 3) { - checkUnnamed7088(o.parameters!); + checkUnnamed7165(o.parameters!); unittest.expect( o.session!, unittest.equals('foo'), @@ -5454,12 +5454,12 @@ void checkGoogleCloudDialogflowCxV3beta1SessionInfo( buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo--; } -core.List buildUnnamed7089() => [ +core.List buildUnnamed7166() => [ 'foo', 'foo', ]; -void checkUnnamed7089(core.List o) { +void checkUnnamed7166(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5472,12 +5472,12 @@ void checkUnnamed7089(core.List o) { } core.List - buildUnnamed7090() => [ + buildUnnamed7167() => [ buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), ]; -void checkUnnamed7090( +void checkUnnamed7167( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ConversationTurn(o[0]); @@ -5495,8 +5495,8 @@ api.GoogleCloudDialogflowCxV3beta1TestCase o.lastTestResult = buildGoogleCloudDialogflowCxV3beta1TestCaseResult(); o.name = 'foo'; o.notes = 'foo'; - o.tags = buildUnnamed7089(); - o.testCaseConversationTurns = buildUnnamed7090(); + o.tags = buildUnnamed7166(); + o.testCaseConversationTurns = buildUnnamed7167(); o.testConfig = buildGoogleCloudDialogflowCxV3beta1TestConfig(); } buildCounterGoogleCloudDialogflowCxV3beta1TestCase--; @@ -5524,8 +5524,8 @@ void checkGoogleCloudDialogflowCxV3beta1TestCase( o.notes!, unittest.equals('foo'), ); - checkUnnamed7089(o.tags!); - checkUnnamed7090(o.testCaseConversationTurns!); + checkUnnamed7166(o.tags!); + checkUnnamed7167(o.testCaseConversationTurns!); checkGoogleCloudDialogflowCxV3beta1TestConfig(o.testConfig!); } buildCounterGoogleCloudDialogflowCxV3beta1TestCase--; @@ -5555,12 +5555,12 @@ void checkGoogleCloudDialogflowCxV3beta1TestCaseError( } core.List - buildUnnamed7091() => [ + buildUnnamed7168() => [ buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), ]; -void checkUnnamed7091( +void checkUnnamed7168( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ConversationTurn(o[0]); @@ -5573,7 +5573,7 @@ api.GoogleCloudDialogflowCxV3beta1TestCaseResult final o = api.GoogleCloudDialogflowCxV3beta1TestCaseResult(); buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult < 3) { - o.conversationTurns = buildUnnamed7091(); + o.conversationTurns = buildUnnamed7168(); o.environment = 'foo'; o.name = 'foo'; o.testResult = 'foo'; @@ -5587,7 +5587,7 @@ void checkGoogleCloudDialogflowCxV3beta1TestCaseResult( api.GoogleCloudDialogflowCxV3beta1TestCaseResult o) { buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult < 3) { - checkUnnamed7091(o.conversationTurns!); + checkUnnamed7168(o.conversationTurns!); unittest.expect( o.environment!, unittest.equals('foo'), @@ -5608,12 +5608,12 @@ void checkGoogleCloudDialogflowCxV3beta1TestCaseResult( buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult--; } -core.List buildUnnamed7092() => [ +core.List buildUnnamed7169() => [ 'foo', 'foo', ]; -void checkUnnamed7092(core.List o) { +void checkUnnamed7169(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5632,7 +5632,7 @@ api.GoogleCloudDialogflowCxV3beta1TestConfig buildCounterGoogleCloudDialogflowCxV3beta1TestConfig++; if (buildCounterGoogleCloudDialogflowCxV3beta1TestConfig < 3) { o.flow = 'foo'; - o.trackingParameters = buildUnnamed7092(); + o.trackingParameters = buildUnnamed7169(); } buildCounterGoogleCloudDialogflowCxV3beta1TestConfig--; return o; @@ -5646,7 +5646,7 @@ void checkGoogleCloudDialogflowCxV3beta1TestConfig( o.flow!, unittest.equals('foo'), ); - checkUnnamed7092(o.trackingParameters!); + checkUnnamed7169(o.trackingParameters!); } buildCounterGoogleCloudDialogflowCxV3beta1TestConfig--; } @@ -5809,19 +5809,19 @@ void checkGoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata( } core.List - buildUnnamed7093() => [ + buildUnnamed7170() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), ]; -void checkUnnamed7093( +void checkUnnamed7170( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[1]); } -core.Map buildUnnamed7094() => { +core.Map buildUnnamed7171() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5834,7 +5834,7 @@ core.Map buildUnnamed7094() => { }, }; -void checkUnnamed7094(core.Map o) { +void checkUnnamed7171(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted40 = (o['x']!) as core.Map; unittest.expect(casted40, unittest.hasLength(3)); @@ -5878,9 +5878,9 @@ api.GoogleCloudDialogflowCxV3beta1WebhookRequest o.intentInfo = buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo(); o.languageCode = 'foo'; - o.messages = buildUnnamed7093(); + o.messages = buildUnnamed7170(); o.pageInfo = buildGoogleCloudDialogflowCxV3beta1PageInfo(); - o.payload = buildUnnamed7094(); + o.payload = buildUnnamed7171(); o.sentimentAnalysisResult = buildGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult(); o.sessionInfo = buildGoogleCloudDialogflowCxV3beta1SessionInfo(); @@ -5908,9 +5908,9 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequest( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed7093(o.messages!); + checkUnnamed7170(o.messages!); checkGoogleCloudDialogflowCxV3beta1PageInfo(o.pageInfo!); - checkUnnamed7094(o.payload!); + checkUnnamed7171(o.payload!); checkGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( o.sentimentAnalysisResult!); checkGoogleCloudDialogflowCxV3beta1SessionInfo(o.sessionInfo!); @@ -5963,14 +5963,14 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo( core.Map - buildUnnamed7095() => { + buildUnnamed7172() => { 'x': buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue(), 'y': buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue(), }; -void checkUnnamed7095( +void checkUnnamed7172( core.Map o) { @@ -5990,7 +5990,7 @@ api.GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo o.confidence = 42.0; o.displayName = 'foo'; o.lastMatchedIntent = 'foo'; - o.parameters = buildUnnamed7095(); + o.parameters = buildUnnamed7172(); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo--; return o; @@ -6012,7 +6012,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( o.lastMatchedIntent!, unittest.equals('foo'), ); - checkUnnamed7095(o.parameters!); + checkUnnamed7172(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo--; } @@ -6100,7 +6100,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult--; } -core.Map buildUnnamed7096() => { +core.Map buildUnnamed7173() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6113,7 +6113,7 @@ core.Map buildUnnamed7096() => { }, }; -void checkUnnamed7096(core.Map o) { +void checkUnnamed7173(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted43 = (o['x']!) as core.Map; unittest.expect(casted43, unittest.hasLength(3)); @@ -6154,7 +6154,7 @@ api.GoogleCloudDialogflowCxV3beta1WebhookResponse o.fulfillmentResponse = buildGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse(); o.pageInfo = buildGoogleCloudDialogflowCxV3beta1PageInfo(); - o.payload = buildUnnamed7096(); + o.payload = buildUnnamed7173(); o.sessionInfo = buildGoogleCloudDialogflowCxV3beta1SessionInfo(); o.targetFlow = 'foo'; o.targetPage = 'foo'; @@ -6170,7 +6170,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookResponse( checkGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( o.fulfillmentResponse!); checkGoogleCloudDialogflowCxV3beta1PageInfo(o.pageInfo!); - checkUnnamed7096(o.payload!); + checkUnnamed7173(o.payload!); checkGoogleCloudDialogflowCxV3beta1SessionInfo(o.sessionInfo!); unittest.expect( o.targetFlow!, @@ -6185,12 +6185,12 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookResponse( } core.List - buildUnnamed7097() => [ + buildUnnamed7174() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), ]; -void checkUnnamed7097( +void checkUnnamed7174( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]); @@ -6208,7 +6208,7 @@ api.GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse if (buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse < 3) { o.mergeBehavior = 'foo'; - o.messages = buildUnnamed7097(); + o.messages = buildUnnamed7174(); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse--; return o; @@ -6223,17 +6223,17 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( o.mergeBehavior!, unittest.equals('foo'), ); - checkUnnamed7097(o.messages!); + checkUnnamed7174(o.messages!); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse--; } -core.List buildUnnamed7098() => [ +core.List buildUnnamed7175() => [ 'foo', 'foo', ]; -void checkUnnamed7098(core.List o) { +void checkUnnamed7175(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6259,7 +6259,7 @@ api.GoogleCloudDialogflowV2Agent buildGoogleCloudDialogflowV2Agent() { o.enableLogging = true; o.matchMode = 'foo'; o.parent = 'foo'; - o.supportedLanguageCodes = buildUnnamed7098(); + o.supportedLanguageCodes = buildUnnamed7175(); o.tier = 'foo'; o.timeZone = 'foo'; } @@ -6303,7 +6303,7 @@ void checkGoogleCloudDialogflowV2Agent(api.GoogleCloudDialogflowV2Agent o) { o.parent!, unittest.equals('foo'), ); - checkUnnamed7098(o.supportedLanguageCodes!); + checkUnnamed7175(o.supportedLanguageCodes!); unittest.expect( o.tier!, unittest.equals('foo'), @@ -6405,24 +6405,24 @@ void checkGoogleCloudDialogflowV2AnalyzeContentRequest( buildCounterGoogleCloudDialogflowV2AnalyzeContentRequest--; } -core.List buildUnnamed7099() => [ +core.List buildUnnamed7176() => [ buildGoogleCloudDialogflowV2SuggestionResult(), buildGoogleCloudDialogflowV2SuggestionResult(), ]; -void checkUnnamed7099( +void checkUnnamed7176( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SuggestionResult(o[0]); checkGoogleCloudDialogflowV2SuggestionResult(o[1]); } -core.List buildUnnamed7100() => [ +core.List buildUnnamed7177() => [ buildGoogleCloudDialogflowV2SuggestionResult(), buildGoogleCloudDialogflowV2SuggestionResult(), ]; -void checkUnnamed7100( +void checkUnnamed7177( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SuggestionResult(o[0]); @@ -6437,8 +6437,8 @@ api.GoogleCloudDialogflowV2AnalyzeContentResponse if (buildCounterGoogleCloudDialogflowV2AnalyzeContentResponse < 3) { o.automatedAgentReply = buildGoogleCloudDialogflowV2AutomatedAgentReply(); o.dtmfParameters = buildGoogleCloudDialogflowV2DtmfParameters(); - o.endUserSuggestionResults = buildUnnamed7099(); - o.humanAgentSuggestionResults = buildUnnamed7100(); + o.endUserSuggestionResults = buildUnnamed7176(); + o.humanAgentSuggestionResults = buildUnnamed7177(); o.message = buildGoogleCloudDialogflowV2Message(); o.replyAudio = buildGoogleCloudDialogflowV2OutputAudio(); o.replyText = 'foo'; @@ -6453,8 +6453,8 @@ void checkGoogleCloudDialogflowV2AnalyzeContentResponse( if (buildCounterGoogleCloudDialogflowV2AnalyzeContentResponse < 3) { checkGoogleCloudDialogflowV2AutomatedAgentReply(o.automatedAgentReply!); checkGoogleCloudDialogflowV2DtmfParameters(o.dtmfParameters!); - checkUnnamed7099(o.endUserSuggestionResults!); - checkUnnamed7100(o.humanAgentSuggestionResults!); + checkUnnamed7176(o.endUserSuggestionResults!); + checkUnnamed7177(o.humanAgentSuggestionResults!); checkGoogleCloudDialogflowV2Message(o.message!); checkGoogleCloudDialogflowV2OutputAudio(o.replyAudio!); unittest.expect( @@ -6583,12 +6583,12 @@ void checkGoogleCloudDialogflowV2AnswerRecord( buildCounterGoogleCloudDialogflowV2AnswerRecord--; } -core.Map buildUnnamed7101() => { +core.Map buildUnnamed7178() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7101(core.Map o) { +void checkUnnamed7178(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6600,12 +6600,12 @@ void checkUnnamed7101(core.Map o) { ); } -core.List buildUnnamed7102() => [ +core.List buildUnnamed7179() => [ 'foo', 'foo', ]; -void checkUnnamed7102(core.List o) { +void checkUnnamed7179(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6625,8 +6625,8 @@ api.GoogleCloudDialogflowV2ArticleAnswer if (buildCounterGoogleCloudDialogflowV2ArticleAnswer < 3) { o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed7101(); - o.snippets = buildUnnamed7102(); + o.metadata = buildUnnamed7178(); + o.snippets = buildUnnamed7179(); o.title = 'foo'; o.uri = 'foo'; } @@ -6646,8 +6646,8 @@ void checkGoogleCloudDialogflowV2ArticleAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed7101(o.metadata!); - checkUnnamed7102(o.snippets!); + checkUnnamed7178(o.metadata!); + checkUnnamed7179(o.snippets!); unittest.expect( o.title!, unittest.equals('foo'), @@ -6712,12 +6712,12 @@ void checkGoogleCloudDialogflowV2AutomatedAgentReply( buildCounterGoogleCloudDialogflowV2AutomatedAgentReply--; } -core.List buildUnnamed7103() => [ +core.List buildUnnamed7180() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed7103( +void checkUnnamed7180( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); @@ -6730,7 +6730,7 @@ api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest final o = api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest(); buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) { - o.entities = buildUnnamed7103(); + o.entities = buildUnnamed7180(); o.languageCode = 'foo'; } buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--; @@ -6741,7 +6741,7 @@ void checkGoogleCloudDialogflowV2BatchCreateEntitiesRequest( api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest o) { buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) { - checkUnnamed7103(o.entities!); + checkUnnamed7180(o.entities!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -6750,12 +6750,12 @@ void checkGoogleCloudDialogflowV2BatchCreateEntitiesRequest( buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--; } -core.List buildUnnamed7104() => [ +core.List buildUnnamed7181() => [ 'foo', 'foo', ]; -void checkUnnamed7104(core.List o) { +void checkUnnamed7181(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6773,7 +6773,7 @@ api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest final o = api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest(); buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) { - o.entityValues = buildUnnamed7104(); + o.entityValues = buildUnnamed7181(); o.languageCode = 'foo'; } buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--; @@ -6784,7 +6784,7 @@ void checkGoogleCloudDialogflowV2BatchDeleteEntitiesRequest( api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest o) { buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) { - checkUnnamed7104(o.entityValues!); + checkUnnamed7181(o.entityValues!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -6793,12 +6793,12 @@ void checkGoogleCloudDialogflowV2BatchDeleteEntitiesRequest( buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--; } -core.List buildUnnamed7105() => [ +core.List buildUnnamed7182() => [ 'foo', 'foo', ]; -void checkUnnamed7105(core.List o) { +void checkUnnamed7182(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6816,7 +6816,7 @@ api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest final o = api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest(); buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) { - o.entityTypeNames = buildUnnamed7105(); + o.entityTypeNames = buildUnnamed7182(); } buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--; return o; @@ -6826,17 +6826,17 @@ void checkGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest( api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest o) { buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) { - checkUnnamed7105(o.entityTypeNames!); + checkUnnamed7182(o.entityTypeNames!); } buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--; } -core.List buildUnnamed7106() => [ +core.List buildUnnamed7183() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed7106(core.List o) { +void checkUnnamed7183(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -6848,7 +6848,7 @@ api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest final o = api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest(); buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) { - o.intents = buildUnnamed7106(); + o.intents = buildUnnamed7183(); } buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--; return o; @@ -6858,17 +6858,17 @@ void checkGoogleCloudDialogflowV2BatchDeleteIntentsRequest( api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest o) { buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) { - checkUnnamed7106(o.intents!); + checkUnnamed7183(o.intents!); } buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--; } -core.List buildUnnamed7107() => [ +core.List buildUnnamed7184() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed7107( +void checkUnnamed7184( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); @@ -6881,7 +6881,7 @@ api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest final o = api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest(); buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest < 3) { - o.entities = buildUnnamed7107(); + o.entities = buildUnnamed7184(); o.languageCode = 'foo'; o.updateMask = 'foo'; } @@ -6893,7 +6893,7 @@ void checkGoogleCloudDialogflowV2BatchUpdateEntitiesRequest( api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest o) { buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest < 3) { - checkUnnamed7107(o.entities!); + checkUnnamed7184(o.entities!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -6942,12 +6942,12 @@ void checkGoogleCloudDialogflowV2BatchUpdateEntityTypesRequest( buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesRequest--; } -core.List buildUnnamed7108() => [ +core.List buildUnnamed7185() => [ buildGoogleCloudDialogflowV2EntityType(), buildGoogleCloudDialogflowV2EntityType(), ]; -void checkUnnamed7108(core.List o) { +void checkUnnamed7185(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityType(o[0]); checkGoogleCloudDialogflowV2EntityType(o[1]); @@ -6959,7 +6959,7 @@ api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse final o = api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse(); buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed7108(); + o.entityTypes = buildUnnamed7185(); } buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse--; return o; @@ -6969,7 +6969,7 @@ void checkGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse( api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse o) { buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse < 3) { - checkUnnamed7108(o.entityTypes!); + checkUnnamed7185(o.entityTypes!); } buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse--; } @@ -7015,12 +7015,12 @@ void checkGoogleCloudDialogflowV2BatchUpdateIntentsRequest( buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsRequest--; } -core.List buildUnnamed7109() => [ +core.List buildUnnamed7186() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed7109(core.List o) { +void checkUnnamed7186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -7032,7 +7032,7 @@ api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse final o = api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse(); buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse < 3) { - o.intents = buildUnnamed7109(); + o.intents = buildUnnamed7186(); } buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse--; return o; @@ -7042,7 +7042,7 @@ void checkGoogleCloudDialogflowV2BatchUpdateIntentsResponse( api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse o) { buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse < 3) { - checkUnnamed7109(o.intents!); + checkUnnamed7186(o.intents!); } buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse--; } @@ -7064,7 +7064,7 @@ void checkGoogleCloudDialogflowV2CompleteConversationRequest( buildCounterGoogleCloudDialogflowV2CompleteConversationRequest--; } -core.Map buildUnnamed7110() => { +core.Map buildUnnamed7187() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7077,7 +7077,7 @@ core.Map buildUnnamed7110() => { }, }; -void checkUnnamed7110(core.Map o) { +void checkUnnamed7187(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted46 = (o['x']!) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); @@ -7116,7 +7116,7 @@ api.GoogleCloudDialogflowV2Context buildGoogleCloudDialogflowV2Context() { if (buildCounterGoogleCloudDialogflowV2Context < 3) { o.lifespanCount = 42; o.name = 'foo'; - o.parameters = buildUnnamed7110(); + o.parameters = buildUnnamed7187(); } buildCounterGoogleCloudDialogflowV2Context--; return o; @@ -7133,7 +7133,7 @@ void checkGoogleCloudDialogflowV2Context(api.GoogleCloudDialogflowV2Context o) { o.name!, unittest.equals('foo'), ); - checkUnnamed7110(o.parameters!); + checkUnnamed7187(o.parameters!); } buildCounterGoogleCloudDialogflowV2Context--; } @@ -7380,12 +7380,12 @@ void checkGoogleCloudDialogflowV2DetectIntentResponse( buildCounterGoogleCloudDialogflowV2DetectIntentResponse--; } -core.List buildUnnamed7111() => [ +core.List buildUnnamed7188() => [ 'foo', 'foo', ]; -void checkUnnamed7111(core.List o) { +void checkUnnamed7188(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7397,12 +7397,12 @@ void checkUnnamed7111(core.List o) { ); } -core.Map buildUnnamed7112() => { +core.Map buildUnnamed7189() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7112(core.Map o) { +void checkUnnamed7189(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7422,9 +7422,9 @@ api.GoogleCloudDialogflowV2Document buildGoogleCloudDialogflowV2Document() { o.contentUri = 'foo'; o.displayName = 'foo'; o.enableAutoReload = true; - o.knowledgeTypes = buildUnnamed7111(); + o.knowledgeTypes = buildUnnamed7188(); o.latestReloadStatus = buildGoogleCloudDialogflowV2DocumentReloadStatus(); - o.metadata = buildUnnamed7112(); + o.metadata = buildUnnamed7189(); o.mimeType = 'foo'; o.name = 'foo'; o.rawContent = 'foo'; @@ -7446,9 +7446,9 @@ void checkGoogleCloudDialogflowV2Document( unittest.equals('foo'), ); unittest.expect(o.enableAutoReload!, unittest.isTrue); - checkUnnamed7111(o.knowledgeTypes!); + checkUnnamed7188(o.knowledgeTypes!); checkGoogleCloudDialogflowV2DocumentReloadStatus(o.latestReloadStatus!); - checkUnnamed7112(o.metadata!); + checkUnnamed7189(o.metadata!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -7512,12 +7512,12 @@ void checkGoogleCloudDialogflowV2DtmfParameters( buildCounterGoogleCloudDialogflowV2DtmfParameters--; } -core.List buildUnnamed7113() => [ +core.List buildUnnamed7190() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed7113( +void checkUnnamed7190( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); @@ -7532,7 +7532,7 @@ api.GoogleCloudDialogflowV2EntityType buildGoogleCloudDialogflowV2EntityType() { o.autoExpansionMode = 'foo'; o.displayName = 'foo'; o.enableFuzzyExtraction = true; - o.entities = buildUnnamed7113(); + o.entities = buildUnnamed7190(); o.kind = 'foo'; o.name = 'foo'; } @@ -7553,7 +7553,7 @@ void checkGoogleCloudDialogflowV2EntityType( unittest.equals('foo'), ); unittest.expect(o.enableFuzzyExtraction!, unittest.isTrue); - checkUnnamed7113(o.entities!); + checkUnnamed7190(o.entities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7566,12 +7566,12 @@ void checkGoogleCloudDialogflowV2EntityType( buildCounterGoogleCloudDialogflowV2EntityType--; } -core.List buildUnnamed7114() => [ +core.List buildUnnamed7191() => [ buildGoogleCloudDialogflowV2EntityType(), buildGoogleCloudDialogflowV2EntityType(), ]; -void checkUnnamed7114(core.List o) { +void checkUnnamed7191(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityType(o[0]); checkGoogleCloudDialogflowV2EntityType(o[1]); @@ -7583,7 +7583,7 @@ api.GoogleCloudDialogflowV2EntityTypeBatch final o = api.GoogleCloudDialogflowV2EntityTypeBatch(); buildCounterGoogleCloudDialogflowV2EntityTypeBatch++; if (buildCounterGoogleCloudDialogflowV2EntityTypeBatch < 3) { - o.entityTypes = buildUnnamed7114(); + o.entityTypes = buildUnnamed7191(); } buildCounterGoogleCloudDialogflowV2EntityTypeBatch--; return o; @@ -7593,17 +7593,17 @@ void checkGoogleCloudDialogflowV2EntityTypeBatch( api.GoogleCloudDialogflowV2EntityTypeBatch o) { buildCounterGoogleCloudDialogflowV2EntityTypeBatch++; if (buildCounterGoogleCloudDialogflowV2EntityTypeBatch < 3) { - checkUnnamed7114(o.entityTypes!); + checkUnnamed7191(o.entityTypes!); } buildCounterGoogleCloudDialogflowV2EntityTypeBatch--; } -core.List buildUnnamed7115() => [ +core.List buildUnnamed7192() => [ 'foo', 'foo', ]; -void checkUnnamed7115(core.List o) { +void checkUnnamed7192(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7621,7 +7621,7 @@ api.GoogleCloudDialogflowV2EntityTypeEntity final o = api.GoogleCloudDialogflowV2EntityTypeEntity(); buildCounterGoogleCloudDialogflowV2EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) { - o.synonyms = buildUnnamed7115(); + o.synonyms = buildUnnamed7192(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2EntityTypeEntity--; @@ -7632,7 +7632,7 @@ void checkGoogleCloudDialogflowV2EntityTypeEntity( api.GoogleCloudDialogflowV2EntityTypeEntity o) { buildCounterGoogleCloudDialogflowV2EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) { - checkUnnamed7115(o.synonyms!); + checkUnnamed7192(o.synonyms!); unittest.expect( o.value!, unittest.equals('foo'), @@ -7690,12 +7690,12 @@ void checkGoogleCloudDialogflowV2Environment( } core.List - buildUnnamed7116() => [ + buildUnnamed7193() => [ buildGoogleCloudDialogflowV2EnvironmentHistoryEntry(), buildGoogleCloudDialogflowV2EnvironmentHistoryEntry(), ]; -void checkUnnamed7116( +void checkUnnamed7193( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EnvironmentHistoryEntry(o[0]); @@ -7708,7 +7708,7 @@ api.GoogleCloudDialogflowV2EnvironmentHistory final o = api.GoogleCloudDialogflowV2EnvironmentHistory(); buildCounterGoogleCloudDialogflowV2EnvironmentHistory++; if (buildCounterGoogleCloudDialogflowV2EnvironmentHistory < 3) { - o.entries = buildUnnamed7116(); + o.entries = buildUnnamed7193(); o.nextPageToken = 'foo'; o.parent = 'foo'; } @@ -7720,7 +7720,7 @@ void checkGoogleCloudDialogflowV2EnvironmentHistory( api.GoogleCloudDialogflowV2EnvironmentHistory o) { buildCounterGoogleCloudDialogflowV2EnvironmentHistory++; if (buildCounterGoogleCloudDialogflowV2EnvironmentHistory < 3) { - checkUnnamed7116(o.entries!); + checkUnnamed7193(o.entries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -7767,7 +7767,7 @@ void checkGoogleCloudDialogflowV2EnvironmentHistoryEntry( buildCounterGoogleCloudDialogflowV2EnvironmentHistoryEntry--; } -core.Map buildUnnamed7117() => { +core.Map buildUnnamed7194() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7780,7 +7780,7 @@ core.Map buildUnnamed7117() => { }, }; -void checkUnnamed7117(core.Map o) { +void checkUnnamed7194(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted48 = (o['x']!) as core.Map; unittest.expect(casted48, unittest.hasLength(3)); @@ -7819,7 +7819,7 @@ api.GoogleCloudDialogflowV2EventInput buildGoogleCloudDialogflowV2EventInput() { if (buildCounterGoogleCloudDialogflowV2EventInput < 3) { o.languageCode = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed7117(); + o.parameters = buildUnnamed7194(); } buildCounterGoogleCloudDialogflowV2EventInput--; return o; @@ -7837,7 +7837,7 @@ void checkGoogleCloudDialogflowV2EventInput( o.name!, unittest.equals('foo'), ); - checkUnnamed7117(o.parameters!); + checkUnnamed7194(o.parameters!); } buildCounterGoogleCloudDialogflowV2EventInput--; } @@ -7895,12 +7895,12 @@ void checkGoogleCloudDialogflowV2ExportAgentResponse( buildCounterGoogleCloudDialogflowV2ExportAgentResponse--; } -core.Map buildUnnamed7118() => { +core.Map buildUnnamed7195() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7118(core.Map o) { +void checkUnnamed7195(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7920,7 +7920,7 @@ api.GoogleCloudDialogflowV2FaqAnswer buildGoogleCloudDialogflowV2FaqAnswer() { o.answer = 'foo'; o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed7118(); + o.metadata = buildUnnamed7195(); o.question = 'foo'; o.source = 'foo'; } @@ -7944,7 +7944,7 @@ void checkGoogleCloudDialogflowV2FaqAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed7118(o.metadata!); + checkUnnamed7195(o.metadata!); unittest.expect( o.question!, unittest.equals('foo'), @@ -7957,12 +7957,12 @@ void checkGoogleCloudDialogflowV2FaqAnswer( buildCounterGoogleCloudDialogflowV2FaqAnswer--; } -core.List buildUnnamed7119() => [ +core.List buildUnnamed7196() => [ buildGoogleCloudDialogflowV2FulfillmentFeature(), buildGoogleCloudDialogflowV2FulfillmentFeature(), ]; -void checkUnnamed7119( +void checkUnnamed7196( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2FulfillmentFeature(o[0]); @@ -7977,7 +7977,7 @@ api.GoogleCloudDialogflowV2Fulfillment if (buildCounterGoogleCloudDialogflowV2Fulfillment < 3) { o.displayName = 'foo'; o.enabled = true; - o.features = buildUnnamed7119(); + o.features = buildUnnamed7196(); o.genericWebService = buildGoogleCloudDialogflowV2FulfillmentGenericWebService(); o.name = 'foo'; @@ -7995,7 +7995,7 @@ void checkGoogleCloudDialogflowV2Fulfillment( unittest.equals('foo'), ); unittest.expect(o.enabled!, unittest.isTrue); - checkUnnamed7119(o.features!); + checkUnnamed7196(o.features!); checkGoogleCloudDialogflowV2FulfillmentGenericWebService( o.genericWebService!); unittest.expect( @@ -8030,12 +8030,12 @@ void checkGoogleCloudDialogflowV2FulfillmentFeature( buildCounterGoogleCloudDialogflowV2FulfillmentFeature--; } -core.Map buildUnnamed7120() => { +core.Map buildUnnamed7197() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7120(core.Map o) { +void checkUnnamed7197(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -8055,7 +8055,7 @@ api.GoogleCloudDialogflowV2FulfillmentGenericWebService if (buildCounterGoogleCloudDialogflowV2FulfillmentGenericWebService < 3) { o.isCloudFunction = true; o.password = 'foo'; - o.requestHeaders = buildUnnamed7120(); + o.requestHeaders = buildUnnamed7197(); o.uri = 'foo'; o.username = 'foo'; } @@ -8072,7 +8072,7 @@ void checkGoogleCloudDialogflowV2FulfillmentGenericWebService( o.password!, unittest.equals('foo'), ); - checkUnnamed7120(o.requestHeaders!); + checkUnnamed7197(o.requestHeaders!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -8179,12 +8179,12 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig( core.List< api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig> - buildUnnamed7121() => [ + buildUnnamed7198() => [ buildGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig(), buildGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig(), ]; -void checkUnnamed7121( +void checkUnnamed7198( core.List< api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig> o) { @@ -8205,7 +8205,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig < 3) { - o.featureConfigs = buildUnnamed7121(); + o.featureConfigs = buildUnnamed7198(); o.groupSuggestionResponses = true; } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig--; @@ -8217,7 +8217,7 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig( buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig < 3) { - checkUnnamed7121(o.featureConfigs!); + checkUnnamed7198(o.featureConfigs!); unittest.expect(o.groupSuggestionResponses!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig--; @@ -8376,12 +8376,12 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigD buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource--; } -core.List buildUnnamed7122() => [ +core.List buildUnnamed7199() => [ 'foo', 'foo', ]; -void checkUnnamed7122(core.List o) { +void checkUnnamed7199(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8403,7 +8403,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumen buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource < 3) { - o.documents = buildUnnamed7122(); + o.documents = buildUnnamed7199(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource--; return o; @@ -8415,17 +8415,17 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigD buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource < 3) { - checkUnnamed7122(o.documents!); + checkUnnamed7199(o.documents!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource--; } -core.List buildUnnamed7123() => [ +core.List buildUnnamed7200() => [ 'foo', 'foo', ]; -void checkUnnamed7123(core.List o) { +void checkUnnamed7200(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8447,7 +8447,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowled buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource < 3) { - o.knowledgeBases = buildUnnamed7123(); + o.knowledgeBases = buildUnnamed7200(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource--; return o; @@ -8459,7 +8459,7 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigK buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource < 3) { - checkUnnamed7123(o.knowledgeBases!); + checkUnnamed7200(o.knowledgeBases!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource--; } @@ -8493,12 +8493,12 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSetti buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings--; } -core.List buildUnnamed7124() => [ +core.List buildUnnamed7201() => [ buildGoogleCloudDialogflowV2SuggestionResult(), buildGoogleCloudDialogflowV2SuggestionResult(), ]; -void checkUnnamed7124( +void checkUnnamed7201( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SuggestionResult(o[0]); @@ -8513,7 +8513,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantEvent if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantEvent < 3) { o.conversation = 'foo'; o.participant = 'foo'; - o.suggestionResults = buildUnnamed7124(); + o.suggestionResults = buildUnnamed7201(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantEvent--; return o; @@ -8531,7 +8531,7 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantEvent( o.participant!, unittest.equals('foo'), ); - checkUnnamed7124(o.suggestionResults!); + checkUnnamed7201(o.suggestionResults!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantEvent--; } @@ -8666,12 +8666,12 @@ void checkGoogleCloudDialogflowV2ImportAgentRequest( buildCounterGoogleCloudDialogflowV2ImportAgentRequest--; } -core.List buildUnnamed7125() => [ +core.List buildUnnamed7202() => [ 'foo', 'foo', ]; -void checkUnnamed7125(core.List o) { +void checkUnnamed7202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8683,12 +8683,12 @@ void checkUnnamed7125(core.List o) { ); } -core.List buildUnnamed7126() => [ +core.List buildUnnamed7203() => [ buildGoogleCloudDialogflowV2SpeechContext(), buildGoogleCloudDialogflowV2SpeechContext(), ]; -void checkUnnamed7126(core.List o) { +void checkUnnamed7203(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SpeechContext(o[0]); checkGoogleCloudDialogflowV2SpeechContext(o[1]); @@ -8706,10 +8706,10 @@ api.GoogleCloudDialogflowV2InputAudioConfig o.languageCode = 'foo'; o.model = 'foo'; o.modelVariant = 'foo'; - o.phraseHints = buildUnnamed7125(); + o.phraseHints = buildUnnamed7202(); o.sampleRateHertz = 42; o.singleUtterance = true; - o.speechContexts = buildUnnamed7126(); + o.speechContexts = buildUnnamed7203(); } buildCounterGoogleCloudDialogflowV2InputAudioConfig--; return o; @@ -8737,23 +8737,23 @@ void checkGoogleCloudDialogflowV2InputAudioConfig( o.modelVariant!, unittest.equals('foo'), ); - checkUnnamed7125(o.phraseHints!); + checkUnnamed7202(o.phraseHints!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), ); unittest.expect(o.singleUtterance!, unittest.isTrue); - checkUnnamed7126(o.speechContexts!); + checkUnnamed7203(o.speechContexts!); } buildCounterGoogleCloudDialogflowV2InputAudioConfig--; } -core.List buildUnnamed7127() => [ +core.List buildUnnamed7204() => [ 'foo', 'foo', ]; -void checkUnnamed7127(core.List o) { +void checkUnnamed7204(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8765,12 +8765,12 @@ void checkUnnamed7127(core.List o) { ); } -core.List buildUnnamed7128() => [ +core.List buildUnnamed7205() => [ 'foo', 'foo', ]; -void checkUnnamed7128(core.List o) { +void checkUnnamed7205(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8783,24 +8783,24 @@ void checkUnnamed7128(core.List o) { } core.List - buildUnnamed7129() => [ + buildUnnamed7206() => [ buildGoogleCloudDialogflowV2IntentFollowupIntentInfo(), buildGoogleCloudDialogflowV2IntentFollowupIntentInfo(), ]; -void checkUnnamed7129( +void checkUnnamed7206( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[0]); checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[1]); } -core.List buildUnnamed7130() => [ +core.List buildUnnamed7207() => [ 'foo', 'foo', ]; -void checkUnnamed7130(core.List o) { +void checkUnnamed7207(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8812,46 +8812,46 @@ void checkUnnamed7130(core.List o) { ); } -core.List buildUnnamed7131() => [ +core.List buildUnnamed7208() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed7131(core.List o) { +void checkUnnamed7208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed7132() => [ +core.List buildUnnamed7209() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed7132(core.List o) { +void checkUnnamed7209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.List buildUnnamed7133() => [ +core.List buildUnnamed7210() => [ buildGoogleCloudDialogflowV2IntentParameter(), buildGoogleCloudDialogflowV2IntentParameter(), ]; -void checkUnnamed7133(core.List o) { +void checkUnnamed7210(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentParameter(o[0]); checkGoogleCloudDialogflowV2IntentParameter(o[1]); } -core.List buildUnnamed7134() => +core.List buildUnnamed7211() => [ buildGoogleCloudDialogflowV2IntentTrainingPhrase(), buildGoogleCloudDialogflowV2IntentTrainingPhrase(), ]; -void checkUnnamed7134( +void checkUnnamed7211( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentTrainingPhrase(o[0]); @@ -8864,24 +8864,24 @@ api.GoogleCloudDialogflowV2Intent buildGoogleCloudDialogflowV2Intent() { buildCounterGoogleCloudDialogflowV2Intent++; if (buildCounterGoogleCloudDialogflowV2Intent < 3) { o.action = 'foo'; - o.defaultResponsePlatforms = buildUnnamed7127(); + o.defaultResponsePlatforms = buildUnnamed7204(); o.displayName = 'foo'; o.endInteraction = true; - o.events = buildUnnamed7128(); - o.followupIntentInfo = buildUnnamed7129(); - o.inputContextNames = buildUnnamed7130(); + o.events = buildUnnamed7205(); + o.followupIntentInfo = buildUnnamed7206(); + o.inputContextNames = buildUnnamed7207(); o.isFallback = true; o.liveAgentHandoff = true; - o.messages = buildUnnamed7131(); + o.messages = buildUnnamed7208(); o.mlDisabled = true; o.name = 'foo'; - o.outputContexts = buildUnnamed7132(); - o.parameters = buildUnnamed7133(); + o.outputContexts = buildUnnamed7209(); + o.parameters = buildUnnamed7210(); o.parentFollowupIntentName = 'foo'; o.priority = 42; o.resetContexts = true; o.rootFollowupIntentName = 'foo'; - o.trainingPhrases = buildUnnamed7134(); + o.trainingPhrases = buildUnnamed7211(); o.webhookState = 'foo'; } buildCounterGoogleCloudDialogflowV2Intent--; @@ -8895,25 +8895,25 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { o.action!, unittest.equals('foo'), ); - checkUnnamed7127(o.defaultResponsePlatforms!); + checkUnnamed7204(o.defaultResponsePlatforms!); unittest.expect( o.displayName!, unittest.equals('foo'), ); unittest.expect(o.endInteraction!, unittest.isTrue); - checkUnnamed7128(o.events!); - checkUnnamed7129(o.followupIntentInfo!); - checkUnnamed7130(o.inputContextNames!); + checkUnnamed7205(o.events!); + checkUnnamed7206(o.followupIntentInfo!); + checkUnnamed7207(o.inputContextNames!); unittest.expect(o.isFallback!, unittest.isTrue); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed7131(o.messages!); + checkUnnamed7208(o.messages!); unittest.expect(o.mlDisabled!, unittest.isTrue); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7132(o.outputContexts!); - checkUnnamed7133(o.parameters!); + checkUnnamed7209(o.outputContexts!); + checkUnnamed7210(o.parameters!); unittest.expect( o.parentFollowupIntentName!, unittest.equals('foo'), @@ -8927,7 +8927,7 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { o.rootFollowupIntentName!, unittest.equals('foo'), ); - checkUnnamed7134(o.trainingPhrases!); + checkUnnamed7211(o.trainingPhrases!); unittest.expect( o.webhookState!, unittest.equals('foo'), @@ -8936,12 +8936,12 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { buildCounterGoogleCloudDialogflowV2Intent--; } -core.List buildUnnamed7135() => [ +core.List buildUnnamed7212() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed7135(core.List o) { +void checkUnnamed7212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -8953,7 +8953,7 @@ api.GoogleCloudDialogflowV2IntentBatch final o = api.GoogleCloudDialogflowV2IntentBatch(); buildCounterGoogleCloudDialogflowV2IntentBatch++; if (buildCounterGoogleCloudDialogflowV2IntentBatch < 3) { - o.intents = buildUnnamed7135(); + o.intents = buildUnnamed7212(); } buildCounterGoogleCloudDialogflowV2IntentBatch--; return o; @@ -8963,7 +8963,7 @@ void checkGoogleCloudDialogflowV2IntentBatch( api.GoogleCloudDialogflowV2IntentBatch o) { buildCounterGoogleCloudDialogflowV2IntentBatch++; if (buildCounterGoogleCloudDialogflowV2IntentBatch < 3) { - checkUnnamed7135(o.intents!); + checkUnnamed7212(o.intents!); } buildCounterGoogleCloudDialogflowV2IntentBatch--; } @@ -8997,7 +8997,7 @@ void checkGoogleCloudDialogflowV2IntentFollowupIntentInfo( buildCounterGoogleCloudDialogflowV2IntentFollowupIntentInfo--; } -core.Map buildUnnamed7136() => { +core.Map buildUnnamed7213() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9010,7 +9010,7 @@ core.Map buildUnnamed7136() => { }, }; -void checkUnnamed7136(core.Map o) { +void checkUnnamed7213(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted50 = (o['x']!) as core.Map; unittest.expect(casted50, unittest.hasLength(3)); @@ -9059,7 +9059,7 @@ api.GoogleCloudDialogflowV2IntentMessage buildGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion(); o.listSelect = buildGoogleCloudDialogflowV2IntentMessageListSelect(); o.mediaContent = buildGoogleCloudDialogflowV2IntentMessageMediaContent(); - o.payload = buildUnnamed7136(); + o.payload = buildUnnamed7213(); o.platform = 'foo'; o.quickReplies = buildGoogleCloudDialogflowV2IntentMessageQuickReplies(); o.simpleResponses = @@ -9086,7 +9086,7 @@ void checkGoogleCloudDialogflowV2IntentMessage( o.linkOutSuggestion!); checkGoogleCloudDialogflowV2IntentMessageListSelect(o.listSelect!); checkGoogleCloudDialogflowV2IntentMessageMediaContent(o.mediaContent!); - checkUnnamed7136(o.payload!); + checkUnnamed7213(o.payload!); unittest.expect( o.platform!, unittest.equals('foo'), @@ -9102,12 +9102,12 @@ void checkGoogleCloudDialogflowV2IntentMessage( } core.List - buildUnnamed7137() => [ + buildUnnamed7214() => [ buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), ]; -void checkUnnamed7137( +void checkUnnamed7214( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]); @@ -9120,7 +9120,7 @@ api.GoogleCloudDialogflowV2IntentMessageBasicCard final o = api.GoogleCloudDialogflowV2IntentMessageBasicCard(); buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) { - o.buttons = buildUnnamed7137(); + o.buttons = buildUnnamed7214(); o.formattedText = 'foo'; o.image = buildGoogleCloudDialogflowV2IntentMessageImage(); o.subtitle = 'foo'; @@ -9134,7 +9134,7 @@ void checkGoogleCloudDialogflowV2IntentMessageBasicCard( api.GoogleCloudDialogflowV2IntentMessageBasicCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) { - checkUnnamed7137(o.buttons!); + checkUnnamed7214(o.buttons!); unittest.expect( o.formattedText!, unittest.equals('foo'), @@ -9211,12 +9211,12 @@ void checkGoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( core.List< api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem> - buildUnnamed7138() => [ + buildUnnamed7215() => [ buildGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), buildGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), ]; -void checkUnnamed7138( +void checkUnnamed7215( core.List< api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem> o) { @@ -9234,7 +9234,7 @@ api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard < 3) { o.imageDisplayOptions = 'foo'; - o.items = buildUnnamed7138(); + o.items = buildUnnamed7215(); } buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--; return o; @@ -9248,7 +9248,7 @@ void checkGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( o.imageDisplayOptions!, unittest.equals('foo'), ); - checkUnnamed7138(o.items!); + checkUnnamed7215(o.items!); } buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--; } @@ -9335,12 +9335,12 @@ void checkGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa } core.List - buildUnnamed7139() => [ + buildUnnamed7216() => [ buildGoogleCloudDialogflowV2IntentMessageCardButton(), buildGoogleCloudDialogflowV2IntentMessageCardButton(), ]; -void checkUnnamed7139( +void checkUnnamed7216( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageCardButton(o[0]); @@ -9353,7 +9353,7 @@ api.GoogleCloudDialogflowV2IntentMessageCard final o = api.GoogleCloudDialogflowV2IntentMessageCard(); buildCounterGoogleCloudDialogflowV2IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) { - o.buttons = buildUnnamed7139(); + o.buttons = buildUnnamed7216(); o.imageUri = 'foo'; o.subtitle = 'foo'; o.title = 'foo'; @@ -9366,7 +9366,7 @@ void checkGoogleCloudDialogflowV2IntentMessageCard( api.GoogleCloudDialogflowV2IntentMessageCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) { - checkUnnamed7139(o.buttons!); + checkUnnamed7216(o.buttons!); unittest.expect( o.imageUri!, unittest.equals('foo'), @@ -9413,12 +9413,12 @@ void checkGoogleCloudDialogflowV2IntentMessageCardButton( } core.List - buildUnnamed7140() => [ + buildUnnamed7217() => [ buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(), buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(), ]; -void checkUnnamed7140( +void checkUnnamed7217( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(o[0]); @@ -9431,7 +9431,7 @@ api.GoogleCloudDialogflowV2IntentMessageCarouselSelect final o = api.GoogleCloudDialogflowV2IntentMessageCarouselSelect(); buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) { - o.items = buildUnnamed7140(); + o.items = buildUnnamed7217(); } buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--; return o; @@ -9441,7 +9441,7 @@ void checkGoogleCloudDialogflowV2IntentMessageCarouselSelect( api.GoogleCloudDialogflowV2IntentMessageCarouselSelect o) { buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) { - checkUnnamed7140(o.items!); + checkUnnamed7217(o.items!); } buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--; } @@ -9567,12 +9567,12 @@ void checkGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( } core.List - buildUnnamed7141() => [ + buildUnnamed7218() => [ buildGoogleCloudDialogflowV2IntentMessageListSelectItem(), buildGoogleCloudDialogflowV2IntentMessageListSelectItem(), ]; -void checkUnnamed7141( +void checkUnnamed7218( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageListSelectItem(o[0]); @@ -9585,7 +9585,7 @@ api.GoogleCloudDialogflowV2IntentMessageListSelect final o = api.GoogleCloudDialogflowV2IntentMessageListSelect(); buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) { - o.items = buildUnnamed7141(); + o.items = buildUnnamed7218(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -9597,7 +9597,7 @@ void checkGoogleCloudDialogflowV2IntentMessageListSelect( api.GoogleCloudDialogflowV2IntentMessageListSelect o) { buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) { - checkUnnamed7141(o.items!); + checkUnnamed7218(o.items!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -9645,12 +9645,12 @@ void checkGoogleCloudDialogflowV2IntentMessageListSelectItem( core.List< api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject> - buildUnnamed7142() => [ + buildUnnamed7219() => [ buildGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject(), buildGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject(), ]; -void checkUnnamed7142( +void checkUnnamed7219( core.List< api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject> o) { @@ -9667,7 +9667,7 @@ api.GoogleCloudDialogflowV2IntentMessageMediaContent final o = api.GoogleCloudDialogflowV2IntentMessageMediaContent(); buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) { - o.mediaObjects = buildUnnamed7142(); + o.mediaObjects = buildUnnamed7219(); o.mediaType = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent--; @@ -9678,7 +9678,7 @@ void checkGoogleCloudDialogflowV2IntentMessageMediaContent( api.GoogleCloudDialogflowV2IntentMessageMediaContent o) { buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) { - checkUnnamed7142(o.mediaObjects!); + checkUnnamed7219(o.mediaObjects!); unittest.expect( o.mediaType!, unittest.equals('foo'), @@ -9730,12 +9730,12 @@ void checkGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( buildCounterGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject--; } -core.List buildUnnamed7143() => [ +core.List buildUnnamed7220() => [ 'foo', 'foo', ]; -void checkUnnamed7143(core.List o) { +void checkUnnamed7220(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9753,7 +9753,7 @@ api.GoogleCloudDialogflowV2IntentMessageQuickReplies final o = api.GoogleCloudDialogflowV2IntentMessageQuickReplies(); buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) { - o.quickReplies = buildUnnamed7143(); + o.quickReplies = buildUnnamed7220(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--; @@ -9764,7 +9764,7 @@ void checkGoogleCloudDialogflowV2IntentMessageQuickReplies( api.GoogleCloudDialogflowV2IntentMessageQuickReplies o) { buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) { - checkUnnamed7143(o.quickReplies!); + checkUnnamed7220(o.quickReplies!); unittest.expect( o.title!, unittest.equals('foo'), @@ -9773,12 +9773,12 @@ void checkGoogleCloudDialogflowV2IntentMessageQuickReplies( buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--; } -core.List buildUnnamed7144() => [ +core.List buildUnnamed7221() => [ 'foo', 'foo', ]; -void checkUnnamed7144(core.List o) { +void checkUnnamed7221(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9797,7 +9797,7 @@ api.GoogleCloudDialogflowV2IntentMessageSelectItemInfo buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo < 3) { o.key = 'foo'; - o.synonyms = buildUnnamed7144(); + o.synonyms = buildUnnamed7221(); } buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--; return o; @@ -9811,7 +9811,7 @@ void checkGoogleCloudDialogflowV2IntentMessageSelectItemInfo( o.key!, unittest.equals('foo'), ); - checkUnnamed7144(o.synonyms!); + checkUnnamed7221(o.synonyms!); } buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--; } @@ -9851,12 +9851,12 @@ void checkGoogleCloudDialogflowV2IntentMessageSimpleResponse( } core.List - buildUnnamed7145() => [ + buildUnnamed7222() => [ buildGoogleCloudDialogflowV2IntentMessageSimpleResponse(), buildGoogleCloudDialogflowV2IntentMessageSimpleResponse(), ]; -void checkUnnamed7145( +void checkUnnamed7222( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageSimpleResponse(o[0]); @@ -9869,7 +9869,7 @@ api.GoogleCloudDialogflowV2IntentMessageSimpleResponses final o = api.GoogleCloudDialogflowV2IntentMessageSimpleResponses(); buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) { - o.simpleResponses = buildUnnamed7145(); + o.simpleResponses = buildUnnamed7222(); } buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--; return o; @@ -9879,7 +9879,7 @@ void checkGoogleCloudDialogflowV2IntentMessageSimpleResponses( api.GoogleCloudDialogflowV2IntentMessageSimpleResponses o) { buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) { - checkUnnamed7145(o.simpleResponses!); + checkUnnamed7222(o.simpleResponses!); } buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--; } @@ -9909,12 +9909,12 @@ void checkGoogleCloudDialogflowV2IntentMessageSuggestion( } core.List - buildUnnamed7146() => [ + buildUnnamed7223() => [ buildGoogleCloudDialogflowV2IntentMessageSuggestion(), buildGoogleCloudDialogflowV2IntentMessageSuggestion(), ]; -void checkUnnamed7146( +void checkUnnamed7223( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageSuggestion(o[0]); @@ -9927,7 +9927,7 @@ api.GoogleCloudDialogflowV2IntentMessageSuggestions final o = api.GoogleCloudDialogflowV2IntentMessageSuggestions(); buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) { - o.suggestions = buildUnnamed7146(); + o.suggestions = buildUnnamed7223(); } buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--; return o; @@ -9937,18 +9937,18 @@ void checkGoogleCloudDialogflowV2IntentMessageSuggestions( api.GoogleCloudDialogflowV2IntentMessageSuggestions o) { buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) { - checkUnnamed7146(o.suggestions!); + checkUnnamed7223(o.suggestions!); } buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--; } core.List - buildUnnamed7147() => [ + buildUnnamed7224() => [ buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), ]; -void checkUnnamed7147( +void checkUnnamed7224( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]); @@ -9956,12 +9956,12 @@ void checkUnnamed7147( } core.List - buildUnnamed7148() => [ + buildUnnamed7225() => [ buildGoogleCloudDialogflowV2IntentMessageColumnProperties(), buildGoogleCloudDialogflowV2IntentMessageColumnProperties(), ]; -void checkUnnamed7148( +void checkUnnamed7225( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageColumnProperties(o[0]); @@ -9969,12 +9969,12 @@ void checkUnnamed7148( } core.List - buildUnnamed7149() => [ + buildUnnamed7226() => [ buildGoogleCloudDialogflowV2IntentMessageTableCardRow(), buildGoogleCloudDialogflowV2IntentMessageTableCardRow(), ]; -void checkUnnamed7149( +void checkUnnamed7226( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageTableCardRow(o[0]); @@ -9987,10 +9987,10 @@ api.GoogleCloudDialogflowV2IntentMessageTableCard final o = api.GoogleCloudDialogflowV2IntentMessageTableCard(); buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) { - o.buttons = buildUnnamed7147(); - o.columnProperties = buildUnnamed7148(); + o.buttons = buildUnnamed7224(); + o.columnProperties = buildUnnamed7225(); o.image = buildGoogleCloudDialogflowV2IntentMessageImage(); - o.rows = buildUnnamed7149(); + o.rows = buildUnnamed7226(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -10002,10 +10002,10 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCard( api.GoogleCloudDialogflowV2IntentMessageTableCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) { - checkUnnamed7147(o.buttons!); - checkUnnamed7148(o.columnProperties!); + checkUnnamed7224(o.buttons!); + checkUnnamed7225(o.columnProperties!); checkGoogleCloudDialogflowV2IntentMessageImage(o.image!); - checkUnnamed7149(o.rows!); + checkUnnamed7226(o.rows!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -10043,12 +10043,12 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCardCell( } core.List - buildUnnamed7150() => [ + buildUnnamed7227() => [ buildGoogleCloudDialogflowV2IntentMessageTableCardCell(), buildGoogleCloudDialogflowV2IntentMessageTableCardCell(), ]; -void checkUnnamed7150( +void checkUnnamed7227( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageTableCardCell(o[0]); @@ -10061,7 +10061,7 @@ api.GoogleCloudDialogflowV2IntentMessageTableCardRow final o = api.GoogleCloudDialogflowV2IntentMessageTableCardRow(); buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) { - o.cells = buildUnnamed7150(); + o.cells = buildUnnamed7227(); o.dividerAfter = true; } buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--; @@ -10072,18 +10072,18 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCardRow( api.GoogleCloudDialogflowV2IntentMessageTableCardRow o) { buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) { - checkUnnamed7150(o.cells!); + checkUnnamed7227(o.cells!); unittest.expect(o.dividerAfter!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--; } -core.List buildUnnamed7151() => [ +core.List buildUnnamed7228() => [ 'foo', 'foo', ]; -void checkUnnamed7151(core.List o) { +void checkUnnamed7228(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10101,7 +10101,7 @@ api.GoogleCloudDialogflowV2IntentMessageText final o = api.GoogleCloudDialogflowV2IntentMessageText(); buildCounterGoogleCloudDialogflowV2IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) { - o.text = buildUnnamed7151(); + o.text = buildUnnamed7228(); } buildCounterGoogleCloudDialogflowV2IntentMessageText--; return o; @@ -10111,17 +10111,17 @@ void checkGoogleCloudDialogflowV2IntentMessageText( api.GoogleCloudDialogflowV2IntentMessageText o) { buildCounterGoogleCloudDialogflowV2IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) { - checkUnnamed7151(o.text!); + checkUnnamed7228(o.text!); } buildCounterGoogleCloudDialogflowV2IntentMessageText--; } -core.List buildUnnamed7152() => [ +core.List buildUnnamed7229() => [ 'foo', 'foo', ]; -void checkUnnamed7152(core.List o) { +void checkUnnamed7229(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10145,7 +10145,7 @@ api.GoogleCloudDialogflowV2IntentParameter o.isList = true; o.mandatory = true; o.name = 'foo'; - o.prompts = buildUnnamed7152(); + o.prompts = buildUnnamed7229(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentParameter--; @@ -10174,7 +10174,7 @@ void checkGoogleCloudDialogflowV2IntentParameter( o.name!, unittest.equals('foo'), ); - checkUnnamed7152(o.prompts!); + checkUnnamed7229(o.prompts!); unittest.expect( o.value!, unittest.equals('foo'), @@ -10184,12 +10184,12 @@ void checkGoogleCloudDialogflowV2IntentParameter( } core.List - buildUnnamed7153() => [ + buildUnnamed7230() => [ buildGoogleCloudDialogflowV2IntentTrainingPhrasePart(), buildGoogleCloudDialogflowV2IntentTrainingPhrasePart(), ]; -void checkUnnamed7153( +void checkUnnamed7230( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentTrainingPhrasePart(o[0]); @@ -10203,7 +10203,7 @@ api.GoogleCloudDialogflowV2IntentTrainingPhrase buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase < 3) { o.name = 'foo'; - o.parts = buildUnnamed7153(); + o.parts = buildUnnamed7230(); o.timesAddedCount = 42; o.type = 'foo'; } @@ -10219,7 +10219,7 @@ void checkGoogleCloudDialogflowV2IntentTrainingPhrase( o.name!, unittest.equals('foo'), ); - checkUnnamed7153(o.parts!); + checkUnnamed7230(o.parts!); unittest.expect( o.timesAddedCount!, unittest.equals(42), @@ -10326,12 +10326,12 @@ void checkGoogleCloudDialogflowV2KnowledgeOperationMetadata( buildCounterGoogleCloudDialogflowV2KnowledgeOperationMetadata--; } -core.List buildUnnamed7154() => [ +core.List buildUnnamed7231() => [ buildGoogleCloudDialogflowV2AnswerRecord(), buildGoogleCloudDialogflowV2AnswerRecord(), ]; -void checkUnnamed7154(core.List o) { +void checkUnnamed7231(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2AnswerRecord(o[0]); checkGoogleCloudDialogflowV2AnswerRecord(o[1]); @@ -10343,7 +10343,7 @@ api.GoogleCloudDialogflowV2ListAnswerRecordsResponse final o = api.GoogleCloudDialogflowV2ListAnswerRecordsResponse(); buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse++; if (buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse < 3) { - o.answerRecords = buildUnnamed7154(); + o.answerRecords = buildUnnamed7231(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse--; @@ -10354,7 +10354,7 @@ void checkGoogleCloudDialogflowV2ListAnswerRecordsResponse( api.GoogleCloudDialogflowV2ListAnswerRecordsResponse o) { buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse++; if (buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse < 3) { - checkUnnamed7154(o.answerRecords!); + checkUnnamed7231(o.answerRecords!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10363,12 +10363,12 @@ void checkGoogleCloudDialogflowV2ListAnswerRecordsResponse( buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse--; } -core.List buildUnnamed7155() => [ +core.List buildUnnamed7232() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed7155(core.List o) { +void checkUnnamed7232(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); @@ -10380,7 +10380,7 @@ api.GoogleCloudDialogflowV2ListContextsResponse final o = api.GoogleCloudDialogflowV2ListContextsResponse(); buildCounterGoogleCloudDialogflowV2ListContextsResponse++; if (buildCounterGoogleCloudDialogflowV2ListContextsResponse < 3) { - o.contexts = buildUnnamed7155(); + o.contexts = buildUnnamed7232(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListContextsResponse--; @@ -10391,7 +10391,7 @@ void checkGoogleCloudDialogflowV2ListContextsResponse( api.GoogleCloudDialogflowV2ListContextsResponse o) { buildCounterGoogleCloudDialogflowV2ListContextsResponse++; if (buildCounterGoogleCloudDialogflowV2ListContextsResponse < 3) { - checkUnnamed7155(o.contexts!); + checkUnnamed7232(o.contexts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10400,13 +10400,13 @@ void checkGoogleCloudDialogflowV2ListContextsResponse( buildCounterGoogleCloudDialogflowV2ListContextsResponse--; } -core.List buildUnnamed7156() => +core.List buildUnnamed7233() => [ buildGoogleCloudDialogflowV2ConversationProfile(), buildGoogleCloudDialogflowV2ConversationProfile(), ]; -void checkUnnamed7156( +void checkUnnamed7233( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ConversationProfile(o[0]); @@ -10420,7 +10420,7 @@ api.GoogleCloudDialogflowV2ListConversationProfilesResponse final o = api.GoogleCloudDialogflowV2ListConversationProfilesResponse(); buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse < 3) { - o.conversationProfiles = buildUnnamed7156(); + o.conversationProfiles = buildUnnamed7233(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse--; @@ -10431,7 +10431,7 @@ void checkGoogleCloudDialogflowV2ListConversationProfilesResponse( api.GoogleCloudDialogflowV2ListConversationProfilesResponse o) { buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse < 3) { - checkUnnamed7156(o.conversationProfiles!); + checkUnnamed7233(o.conversationProfiles!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10440,12 +10440,12 @@ void checkGoogleCloudDialogflowV2ListConversationProfilesResponse( buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse--; } -core.List buildUnnamed7157() => [ +core.List buildUnnamed7234() => [ buildGoogleCloudDialogflowV2Conversation(), buildGoogleCloudDialogflowV2Conversation(), ]; -void checkUnnamed7157(core.List o) { +void checkUnnamed7234(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Conversation(o[0]); checkGoogleCloudDialogflowV2Conversation(o[1]); @@ -10457,7 +10457,7 @@ api.GoogleCloudDialogflowV2ListConversationsResponse final o = api.GoogleCloudDialogflowV2ListConversationsResponse(); buildCounterGoogleCloudDialogflowV2ListConversationsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationsResponse < 3) { - o.conversations = buildUnnamed7157(); + o.conversations = buildUnnamed7234(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationsResponse--; @@ -10468,7 +10468,7 @@ void checkGoogleCloudDialogflowV2ListConversationsResponse( api.GoogleCloudDialogflowV2ListConversationsResponse o) { buildCounterGoogleCloudDialogflowV2ListConversationsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationsResponse < 3) { - checkUnnamed7157(o.conversations!); + checkUnnamed7234(o.conversations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10477,12 +10477,12 @@ void checkGoogleCloudDialogflowV2ListConversationsResponse( buildCounterGoogleCloudDialogflowV2ListConversationsResponse--; } -core.List buildUnnamed7158() => [ +core.List buildUnnamed7235() => [ buildGoogleCloudDialogflowV2Document(), buildGoogleCloudDialogflowV2Document(), ]; -void checkUnnamed7158(core.List o) { +void checkUnnamed7235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Document(o[0]); checkGoogleCloudDialogflowV2Document(o[1]); @@ -10494,7 +10494,7 @@ api.GoogleCloudDialogflowV2ListDocumentsResponse final o = api.GoogleCloudDialogflowV2ListDocumentsResponse(); buildCounterGoogleCloudDialogflowV2ListDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListDocumentsResponse < 3) { - o.documents = buildUnnamed7158(); + o.documents = buildUnnamed7235(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListDocumentsResponse--; @@ -10505,7 +10505,7 @@ void checkGoogleCloudDialogflowV2ListDocumentsResponse( api.GoogleCloudDialogflowV2ListDocumentsResponse o) { buildCounterGoogleCloudDialogflowV2ListDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListDocumentsResponse < 3) { - checkUnnamed7158(o.documents!); + checkUnnamed7235(o.documents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10514,12 +10514,12 @@ void checkGoogleCloudDialogflowV2ListDocumentsResponse( buildCounterGoogleCloudDialogflowV2ListDocumentsResponse--; } -core.List buildUnnamed7159() => [ +core.List buildUnnamed7236() => [ buildGoogleCloudDialogflowV2EntityType(), buildGoogleCloudDialogflowV2EntityType(), ]; -void checkUnnamed7159(core.List o) { +void checkUnnamed7236(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityType(o[0]); checkGoogleCloudDialogflowV2EntityType(o[1]); @@ -10531,7 +10531,7 @@ api.GoogleCloudDialogflowV2ListEntityTypesResponse final o = api.GoogleCloudDialogflowV2ListEntityTypesResponse(); buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed7159(); + o.entityTypes = buildUnnamed7236(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse--; @@ -10542,7 +10542,7 @@ void checkGoogleCloudDialogflowV2ListEntityTypesResponse( api.GoogleCloudDialogflowV2ListEntityTypesResponse o) { buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse < 3) { - checkUnnamed7159(o.entityTypes!); + checkUnnamed7236(o.entityTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10551,12 +10551,12 @@ void checkGoogleCloudDialogflowV2ListEntityTypesResponse( buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse--; } -core.List buildUnnamed7160() => [ +core.List buildUnnamed7237() => [ buildGoogleCloudDialogflowV2Environment(), buildGoogleCloudDialogflowV2Environment(), ]; -void checkUnnamed7160(core.List o) { +void checkUnnamed7237(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Environment(o[0]); checkGoogleCloudDialogflowV2Environment(o[1]); @@ -10568,7 +10568,7 @@ api.GoogleCloudDialogflowV2ListEnvironmentsResponse final o = api.GoogleCloudDialogflowV2ListEnvironmentsResponse(); buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse < 3) { - o.environments = buildUnnamed7160(); + o.environments = buildUnnamed7237(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse--; @@ -10579,7 +10579,7 @@ void checkGoogleCloudDialogflowV2ListEnvironmentsResponse( api.GoogleCloudDialogflowV2ListEnvironmentsResponse o) { buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse < 3) { - checkUnnamed7160(o.environments!); + checkUnnamed7237(o.environments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10588,12 +10588,12 @@ void checkGoogleCloudDialogflowV2ListEnvironmentsResponse( buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse--; } -core.List buildUnnamed7161() => [ +core.List buildUnnamed7238() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed7161(core.List o) { +void checkUnnamed7238(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -10605,7 +10605,7 @@ api.GoogleCloudDialogflowV2ListIntentsResponse final o = api.GoogleCloudDialogflowV2ListIntentsResponse(); buildCounterGoogleCloudDialogflowV2ListIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListIntentsResponse < 3) { - o.intents = buildUnnamed7161(); + o.intents = buildUnnamed7238(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListIntentsResponse--; @@ -10616,7 +10616,7 @@ void checkGoogleCloudDialogflowV2ListIntentsResponse( api.GoogleCloudDialogflowV2ListIntentsResponse o) { buildCounterGoogleCloudDialogflowV2ListIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListIntentsResponse < 3) { - checkUnnamed7161(o.intents!); + checkUnnamed7238(o.intents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10625,12 +10625,12 @@ void checkGoogleCloudDialogflowV2ListIntentsResponse( buildCounterGoogleCloudDialogflowV2ListIntentsResponse--; } -core.List buildUnnamed7162() => [ +core.List buildUnnamed7239() => [ buildGoogleCloudDialogflowV2KnowledgeBase(), buildGoogleCloudDialogflowV2KnowledgeBase(), ]; -void checkUnnamed7162(core.List o) { +void checkUnnamed7239(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2KnowledgeBase(o[0]); checkGoogleCloudDialogflowV2KnowledgeBase(o[1]); @@ -10642,7 +10642,7 @@ api.GoogleCloudDialogflowV2ListKnowledgeBasesResponse final o = api.GoogleCloudDialogflowV2ListKnowledgeBasesResponse(); buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse++; if (buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse < 3) { - o.knowledgeBases = buildUnnamed7162(); + o.knowledgeBases = buildUnnamed7239(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse--; @@ -10653,7 +10653,7 @@ void checkGoogleCloudDialogflowV2ListKnowledgeBasesResponse( api.GoogleCloudDialogflowV2ListKnowledgeBasesResponse o) { buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse++; if (buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse < 3) { - checkUnnamed7162(o.knowledgeBases!); + checkUnnamed7239(o.knowledgeBases!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10662,12 +10662,12 @@ void checkGoogleCloudDialogflowV2ListKnowledgeBasesResponse( buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse--; } -core.List buildUnnamed7163() => [ +core.List buildUnnamed7240() => [ buildGoogleCloudDialogflowV2Message(), buildGoogleCloudDialogflowV2Message(), ]; -void checkUnnamed7163(core.List o) { +void checkUnnamed7240(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Message(o[0]); checkGoogleCloudDialogflowV2Message(o[1]); @@ -10679,7 +10679,7 @@ api.GoogleCloudDialogflowV2ListMessagesResponse final o = api.GoogleCloudDialogflowV2ListMessagesResponse(); buildCounterGoogleCloudDialogflowV2ListMessagesResponse++; if (buildCounterGoogleCloudDialogflowV2ListMessagesResponse < 3) { - o.messages = buildUnnamed7163(); + o.messages = buildUnnamed7240(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListMessagesResponse--; @@ -10690,7 +10690,7 @@ void checkGoogleCloudDialogflowV2ListMessagesResponse( api.GoogleCloudDialogflowV2ListMessagesResponse o) { buildCounterGoogleCloudDialogflowV2ListMessagesResponse++; if (buildCounterGoogleCloudDialogflowV2ListMessagesResponse < 3) { - checkUnnamed7163(o.messages!); + checkUnnamed7240(o.messages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10699,12 +10699,12 @@ void checkGoogleCloudDialogflowV2ListMessagesResponse( buildCounterGoogleCloudDialogflowV2ListMessagesResponse--; } -core.List buildUnnamed7164() => [ +core.List buildUnnamed7241() => [ buildGoogleCloudDialogflowV2Participant(), buildGoogleCloudDialogflowV2Participant(), ]; -void checkUnnamed7164(core.List o) { +void checkUnnamed7241(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Participant(o[0]); checkGoogleCloudDialogflowV2Participant(o[1]); @@ -10717,7 +10717,7 @@ api.GoogleCloudDialogflowV2ListParticipantsResponse buildCounterGoogleCloudDialogflowV2ListParticipantsResponse++; if (buildCounterGoogleCloudDialogflowV2ListParticipantsResponse < 3) { o.nextPageToken = 'foo'; - o.participants = buildUnnamed7164(); + o.participants = buildUnnamed7241(); } buildCounterGoogleCloudDialogflowV2ListParticipantsResponse--; return o; @@ -10731,17 +10731,17 @@ void checkGoogleCloudDialogflowV2ListParticipantsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7164(o.participants!); + checkUnnamed7241(o.participants!); } buildCounterGoogleCloudDialogflowV2ListParticipantsResponse--; } -core.List buildUnnamed7165() => [ +core.List buildUnnamed7242() => [ buildGoogleCloudDialogflowV2SessionEntityType(), buildGoogleCloudDialogflowV2SessionEntityType(), ]; -void checkUnnamed7165( +void checkUnnamed7242( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SessionEntityType(o[0]); @@ -10755,7 +10755,7 @@ api.GoogleCloudDialogflowV2ListSessionEntityTypesResponse buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse < 3) { o.nextPageToken = 'foo'; - o.sessionEntityTypes = buildUnnamed7165(); + o.sessionEntityTypes = buildUnnamed7242(); } buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse--; return o; @@ -10769,17 +10769,17 @@ void checkGoogleCloudDialogflowV2ListSessionEntityTypesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7165(o.sessionEntityTypes!); + checkUnnamed7242(o.sessionEntityTypes!); } buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse--; } -core.List buildUnnamed7166() => [ +core.List buildUnnamed7243() => [ buildGoogleCloudDialogflowV2Version(), buildGoogleCloudDialogflowV2Version(), ]; -void checkUnnamed7166(core.List o) { +void checkUnnamed7243(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Version(o[0]); checkGoogleCloudDialogflowV2Version(o[1]); @@ -10792,7 +10792,7 @@ api.GoogleCloudDialogflowV2ListVersionsResponse buildCounterGoogleCloudDialogflowV2ListVersionsResponse++; if (buildCounterGoogleCloudDialogflowV2ListVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.versions = buildUnnamed7166(); + o.versions = buildUnnamed7243(); } buildCounterGoogleCloudDialogflowV2ListVersionsResponse--; return o; @@ -10806,7 +10806,7 @@ void checkGoogleCloudDialogflowV2ListVersionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7166(o.versions!); + checkUnnamed7243(o.versions!); } buildCounterGoogleCloudDialogflowV2ListVersionsResponse--; } @@ -10881,13 +10881,13 @@ void checkGoogleCloudDialogflowV2Message(api.GoogleCloudDialogflowV2Message o) { buildCounterGoogleCloudDialogflowV2Message--; } -core.List buildUnnamed7167() => +core.List buildUnnamed7244() => [ buildGoogleCloudDialogflowV2AnnotatedMessagePart(), buildGoogleCloudDialogflowV2AnnotatedMessagePart(), ]; -void checkUnnamed7167( +void checkUnnamed7244( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2AnnotatedMessagePart(o[0]); @@ -10901,7 +10901,7 @@ api.GoogleCloudDialogflowV2MessageAnnotation buildCounterGoogleCloudDialogflowV2MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) { o.containEntities = true; - o.parts = buildUnnamed7167(); + o.parts = buildUnnamed7244(); } buildCounterGoogleCloudDialogflowV2MessageAnnotation--; return o; @@ -10912,7 +10912,7 @@ void checkGoogleCloudDialogflowV2MessageAnnotation( buildCounterGoogleCloudDialogflowV2MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) { unittest.expect(o.containEntities!, unittest.isTrue); - checkUnnamed7167(o.parts!); + checkUnnamed7244(o.parts!); } buildCounterGoogleCloudDialogflowV2MessageAnnotation--; } @@ -10946,7 +10946,7 @@ void checkGoogleCloudDialogflowV2NotificationConfig( buildCounterGoogleCloudDialogflowV2NotificationConfig--; } -core.Map buildUnnamed7168() => { +core.Map buildUnnamed7245() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -10959,7 +10959,7 @@ core.Map buildUnnamed7168() => { }, }; -void checkUnnamed7168(core.Map o) { +void checkUnnamed7245(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted52 = (o['x']!) as core.Map; unittest.expect(casted52, unittest.hasLength(3)); @@ -10997,7 +10997,7 @@ api.GoogleCloudDialogflowV2OriginalDetectIntentRequest final o = api.GoogleCloudDialogflowV2OriginalDetectIntentRequest(); buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest < 3) { - o.payload = buildUnnamed7168(); + o.payload = buildUnnamed7245(); o.source = 'foo'; o.version = 'foo'; } @@ -11009,7 +11009,7 @@ void checkGoogleCloudDialogflowV2OriginalDetectIntentRequest( api.GoogleCloudDialogflowV2OriginalDetectIntentRequest o) { buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest < 3) { - checkUnnamed7168(o.payload!); + checkUnnamed7245(o.payload!); unittest.expect( o.source!, unittest.equals('foo'), @@ -11139,18 +11139,18 @@ void checkGoogleCloudDialogflowV2QueryInput( buildCounterGoogleCloudDialogflowV2QueryInput--; } -core.List buildUnnamed7169() => [ +core.List buildUnnamed7246() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed7169(core.List o) { +void checkUnnamed7246(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed7170() => { +core.Map buildUnnamed7247() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -11163,7 +11163,7 @@ core.Map buildUnnamed7170() => { }, }; -void checkUnnamed7170(core.Map o) { +void checkUnnamed7247(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted54 = (o['x']!) as core.Map; unittest.expect(casted54, unittest.hasLength(3)); @@ -11195,24 +11195,24 @@ void checkUnnamed7170(core.Map o) { ); } -core.List buildUnnamed7171() => [ +core.List buildUnnamed7248() => [ buildGoogleCloudDialogflowV2SessionEntityType(), buildGoogleCloudDialogflowV2SessionEntityType(), ]; -void checkUnnamed7171( +void checkUnnamed7248( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SessionEntityType(o[0]); checkGoogleCloudDialogflowV2SessionEntityType(o[1]); } -core.Map buildUnnamed7172() => { +core.Map buildUnnamed7249() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7172(core.Map o) { +void checkUnnamed7249(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -11230,15 +11230,15 @@ api.GoogleCloudDialogflowV2QueryParameters final o = api.GoogleCloudDialogflowV2QueryParameters(); buildCounterGoogleCloudDialogflowV2QueryParameters++; if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) { - o.contexts = buildUnnamed7169(); + o.contexts = buildUnnamed7246(); o.geoLocation = buildGoogleTypeLatLng(); - o.payload = buildUnnamed7170(); + o.payload = buildUnnamed7247(); o.resetContexts = true; o.sentimentAnalysisRequestConfig = buildGoogleCloudDialogflowV2SentimentAnalysisRequestConfig(); - o.sessionEntityTypes = buildUnnamed7171(); + o.sessionEntityTypes = buildUnnamed7248(); o.timeZone = 'foo'; - o.webhookHeaders = buildUnnamed7172(); + o.webhookHeaders = buildUnnamed7249(); } buildCounterGoogleCloudDialogflowV2QueryParameters--; return o; @@ -11248,23 +11248,23 @@ void checkGoogleCloudDialogflowV2QueryParameters( api.GoogleCloudDialogflowV2QueryParameters o) { buildCounterGoogleCloudDialogflowV2QueryParameters++; if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) { - checkUnnamed7169(o.contexts!); + checkUnnamed7246(o.contexts!); checkGoogleTypeLatLng(o.geoLocation!); - checkUnnamed7170(o.payload!); + checkUnnamed7247(o.payload!); unittest.expect(o.resetContexts!, unittest.isTrue); checkGoogleCloudDialogflowV2SentimentAnalysisRequestConfig( o.sentimentAnalysisRequestConfig!); - checkUnnamed7171(o.sessionEntityTypes!); + checkUnnamed7248(o.sessionEntityTypes!); unittest.expect( o.timeZone!, unittest.equals('foo'), ); - checkUnnamed7172(o.webhookHeaders!); + checkUnnamed7249(o.webhookHeaders!); } buildCounterGoogleCloudDialogflowV2QueryParameters--; } -core.Map buildUnnamed7173() => { +core.Map buildUnnamed7250() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -11277,7 +11277,7 @@ core.Map buildUnnamed7173() => { }, }; -void checkUnnamed7173(core.Map o) { +void checkUnnamed7250(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted56 = (o['x']!) as core.Map; unittest.expect(casted56, unittest.hasLength(3)); @@ -11309,29 +11309,29 @@ void checkUnnamed7173(core.Map o) { ); } -core.List buildUnnamed7174() => [ +core.List buildUnnamed7251() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed7174(core.List o) { +void checkUnnamed7251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed7175() => [ +core.List buildUnnamed7252() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed7175(core.List o) { +void checkUnnamed7252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed7176() => { +core.Map buildUnnamed7253() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -11344,7 +11344,7 @@ core.Map buildUnnamed7176() => { }, }; -void checkUnnamed7176(core.Map o) { +void checkUnnamed7253(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted58 = (o['x']!) as core.Map; unittest.expect(casted58, unittest.hasLength(3)); @@ -11376,7 +11376,7 @@ void checkUnnamed7176(core.Map o) { ); } -core.Map buildUnnamed7177() => { +core.Map buildUnnamed7254() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -11389,7 +11389,7 @@ core.Map buildUnnamed7177() => { }, }; -void checkUnnamed7177(core.Map o) { +void checkUnnamed7254(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted60 = (o['x']!) as core.Map; unittest.expect(casted60, unittest.hasLength(3)); @@ -11430,19 +11430,19 @@ api.GoogleCloudDialogflowV2QueryResult o.action = 'foo'; o.allRequiredParamsPresent = true; o.cancelsSlotFilling = true; - o.diagnosticInfo = buildUnnamed7173(); - o.fulfillmentMessages = buildUnnamed7174(); + o.diagnosticInfo = buildUnnamed7250(); + o.fulfillmentMessages = buildUnnamed7251(); o.fulfillmentText = 'foo'; o.intent = buildGoogleCloudDialogflowV2Intent(); o.intentDetectionConfidence = 42.0; o.languageCode = 'foo'; - o.outputContexts = buildUnnamed7175(); - o.parameters = buildUnnamed7176(); + o.outputContexts = buildUnnamed7252(); + o.parameters = buildUnnamed7253(); o.queryText = 'foo'; o.sentimentAnalysisResult = buildGoogleCloudDialogflowV2SentimentAnalysisResult(); o.speechRecognitionConfidence = 42.0; - o.webhookPayload = buildUnnamed7177(); + o.webhookPayload = buildUnnamed7254(); o.webhookSource = 'foo'; } buildCounterGoogleCloudDialogflowV2QueryResult--; @@ -11459,8 +11459,8 @@ void checkGoogleCloudDialogflowV2QueryResult( ); unittest.expect(o.allRequiredParamsPresent!, unittest.isTrue); unittest.expect(o.cancelsSlotFilling!, unittest.isTrue); - checkUnnamed7173(o.diagnosticInfo!); - checkUnnamed7174(o.fulfillmentMessages!); + checkUnnamed7250(o.diagnosticInfo!); + checkUnnamed7251(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), @@ -11474,8 +11474,8 @@ void checkGoogleCloudDialogflowV2QueryResult( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed7175(o.outputContexts!); - checkUnnamed7176(o.parameters!); + checkUnnamed7252(o.outputContexts!); + checkUnnamed7253(o.parameters!); unittest.expect( o.queryText!, unittest.equals('foo'), @@ -11486,7 +11486,7 @@ void checkGoogleCloudDialogflowV2QueryResult( o.speechRecognitionConfidence!, unittest.equals(42.0), ); - checkUnnamed7177(o.webhookPayload!); + checkUnnamed7254(o.webhookPayload!); unittest.expect( o.webhookSource!, unittest.equals('foo'), @@ -11548,12 +11548,12 @@ void checkGoogleCloudDialogflowV2RestoreAgentRequest( buildCounterGoogleCloudDialogflowV2RestoreAgentRequest--; } -core.List buildUnnamed7178() => [ +core.List buildUnnamed7255() => [ buildGoogleCloudDialogflowV2Agent(), buildGoogleCloudDialogflowV2Agent(), ]; -void checkUnnamed7178(core.List o) { +void checkUnnamed7255(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Agent(o[0]); checkGoogleCloudDialogflowV2Agent(o[1]); @@ -11565,7 +11565,7 @@ api.GoogleCloudDialogflowV2SearchAgentsResponse final o = api.GoogleCloudDialogflowV2SearchAgentsResponse(); buildCounterGoogleCloudDialogflowV2SearchAgentsResponse++; if (buildCounterGoogleCloudDialogflowV2SearchAgentsResponse < 3) { - o.agents = buildUnnamed7178(); + o.agents = buildUnnamed7255(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2SearchAgentsResponse--; @@ -11576,7 +11576,7 @@ void checkGoogleCloudDialogflowV2SearchAgentsResponse( api.GoogleCloudDialogflowV2SearchAgentsResponse o) { buildCounterGoogleCloudDialogflowV2SearchAgentsResponse++; if (buildCounterGoogleCloudDialogflowV2SearchAgentsResponse < 3) { - checkUnnamed7178(o.agents!); + checkUnnamed7255(o.agents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11655,12 +11655,12 @@ void checkGoogleCloudDialogflowV2SentimentAnalysisResult( buildCounterGoogleCloudDialogflowV2SentimentAnalysisResult--; } -core.List buildUnnamed7179() => [ +core.List buildUnnamed7256() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed7179( +void checkUnnamed7256( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); @@ -11673,7 +11673,7 @@ api.GoogleCloudDialogflowV2SessionEntityType final o = api.GoogleCloudDialogflowV2SessionEntityType(); buildCounterGoogleCloudDialogflowV2SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) { - o.entities = buildUnnamed7179(); + o.entities = buildUnnamed7256(); o.entityOverrideMode = 'foo'; o.name = 'foo'; } @@ -11685,7 +11685,7 @@ void checkGoogleCloudDialogflowV2SessionEntityType( api.GoogleCloudDialogflowV2SessionEntityType o) { buildCounterGoogleCloudDialogflowV2SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) { - checkUnnamed7179(o.entities!); + checkUnnamed7256(o.entities!); unittest.expect( o.entityOverrideMode!, unittest.equals('foo'), @@ -11698,12 +11698,12 @@ void checkGoogleCloudDialogflowV2SessionEntityType( buildCounterGoogleCloudDialogflowV2SessionEntityType--; } -core.List buildUnnamed7180() => [ +core.List buildUnnamed7257() => [ 'foo', 'foo', ]; -void checkUnnamed7180(core.List o) { +void checkUnnamed7257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11722,7 +11722,7 @@ api.GoogleCloudDialogflowV2SpeechContext buildCounterGoogleCloudDialogflowV2SpeechContext++; if (buildCounterGoogleCloudDialogflowV2SpeechContext < 3) { o.boost = 42.0; - o.phrases = buildUnnamed7180(); + o.phrases = buildUnnamed7257(); } buildCounterGoogleCloudDialogflowV2SpeechContext--; return o; @@ -11736,7 +11736,7 @@ void checkGoogleCloudDialogflowV2SpeechContext( o.boost!, unittest.equals(42.0), ); - checkUnnamed7180(o.phrases!); + checkUnnamed7257(o.phrases!); } buildCounterGoogleCloudDialogflowV2SpeechContext--; } @@ -11794,12 +11794,12 @@ void checkGoogleCloudDialogflowV2SuggestArticlesRequest( buildCounterGoogleCloudDialogflowV2SuggestArticlesRequest--; } -core.List buildUnnamed7181() => [ +core.List buildUnnamed7258() => [ buildGoogleCloudDialogflowV2ArticleAnswer(), buildGoogleCloudDialogflowV2ArticleAnswer(), ]; -void checkUnnamed7181(core.List o) { +void checkUnnamed7258(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ArticleAnswer(o[0]); checkGoogleCloudDialogflowV2ArticleAnswer(o[1]); @@ -11811,7 +11811,7 @@ api.GoogleCloudDialogflowV2SuggestArticlesResponse final o = api.GoogleCloudDialogflowV2SuggestArticlesResponse(); buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse < 3) { - o.articleAnswers = buildUnnamed7181(); + o.articleAnswers = buildUnnamed7258(); o.contextSize = 42; o.latestMessage = 'foo'; } @@ -11823,7 +11823,7 @@ void checkGoogleCloudDialogflowV2SuggestArticlesResponse( api.GoogleCloudDialogflowV2SuggestArticlesResponse o) { buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse < 3) { - checkUnnamed7181(o.articleAnswers!); + checkUnnamed7258(o.articleAnswers!); unittest.expect( o.contextSize!, unittest.equals(42), @@ -11865,12 +11865,12 @@ void checkGoogleCloudDialogflowV2SuggestFaqAnswersRequest( buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersRequest--; } -core.List buildUnnamed7182() => [ +core.List buildUnnamed7259() => [ buildGoogleCloudDialogflowV2FaqAnswer(), buildGoogleCloudDialogflowV2FaqAnswer(), ]; -void checkUnnamed7182(core.List o) { +void checkUnnamed7259(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2FaqAnswer(o[0]); checkGoogleCloudDialogflowV2FaqAnswer(o[1]); @@ -11883,7 +11883,7 @@ api.GoogleCloudDialogflowV2SuggestFaqAnswersResponse buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse < 3) { o.contextSize = 42; - o.faqAnswers = buildUnnamed7182(); + o.faqAnswers = buildUnnamed7259(); o.latestMessage = 'foo'; } buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse--; @@ -11898,7 +11898,7 @@ void checkGoogleCloudDialogflowV2SuggestFaqAnswersResponse( o.contextSize!, unittest.equals(42), ); - checkUnnamed7182(o.faqAnswers!); + checkUnnamed7259(o.faqAnswers!); unittest.expect( o.latestMessage!, unittest.equals('foo'), @@ -11960,12 +11960,12 @@ void checkGoogleCloudDialogflowV2SuggestionResult( buildCounterGoogleCloudDialogflowV2SuggestionResult--; } -core.List buildUnnamed7183() => [ +core.List buildUnnamed7260() => [ 'foo', 'foo', ]; -void checkUnnamed7183(core.List o) { +void checkUnnamed7260(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11983,7 +11983,7 @@ api.GoogleCloudDialogflowV2SynthesizeSpeechConfig final o = api.GoogleCloudDialogflowV2SynthesizeSpeechConfig(); buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++; if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) { - o.effectsProfileId = buildUnnamed7183(); + o.effectsProfileId = buildUnnamed7260(); o.pitch = 42.0; o.speakingRate = 42.0; o.voice = buildGoogleCloudDialogflowV2VoiceSelectionParams(); @@ -11997,7 +11997,7 @@ void checkGoogleCloudDialogflowV2SynthesizeSpeechConfig( api.GoogleCloudDialogflowV2SynthesizeSpeechConfig o) { buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++; if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) { - checkUnnamed7183(o.effectsProfileId!); + checkUnnamed7260(o.effectsProfileId!); unittest.expect( o.pitch!, unittest.equals(42.0), @@ -12044,12 +12044,12 @@ void checkGoogleCloudDialogflowV2TextInput( } core.Map - buildUnnamed7184() => { + buildUnnamed7261() => { 'x': buildGoogleCloudDialogflowV2SynthesizeSpeechConfig(), 'y': buildGoogleCloudDialogflowV2SynthesizeSpeechConfig(), }; -void checkUnnamed7184( +void checkUnnamed7261( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -12066,7 +12066,7 @@ api.GoogleCloudDialogflowV2TextToSpeechSettings o.enableTextToSpeech = true; o.outputAudioEncoding = 'foo'; o.sampleRateHertz = 42; - o.synthesizeSpeechConfigs = buildUnnamed7184(); + o.synthesizeSpeechConfigs = buildUnnamed7261(); } buildCounterGoogleCloudDialogflowV2TextToSpeechSettings--; return o; @@ -12085,7 +12085,7 @@ void checkGoogleCloudDialogflowV2TextToSpeechSettings( o.sampleRateHertz!, unittest.equals(42), ); - checkUnnamed7184(o.synthesizeSpeechConfigs!); + checkUnnamed7261(o.synthesizeSpeechConfigs!); } buildCounterGoogleCloudDialogflowV2TextToSpeechSettings--; } @@ -12107,12 +12107,12 @@ void checkGoogleCloudDialogflowV2TrainAgentRequest( buildCounterGoogleCloudDialogflowV2TrainAgentRequest--; } -core.List buildUnnamed7185() => [ +core.List buildUnnamed7262() => [ 'foo', 'foo', ]; -void checkUnnamed7185(core.List o) { +void checkUnnamed7262(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12130,7 +12130,7 @@ api.GoogleCloudDialogflowV2ValidationError final o = api.GoogleCloudDialogflowV2ValidationError(); buildCounterGoogleCloudDialogflowV2ValidationError++; if (buildCounterGoogleCloudDialogflowV2ValidationError < 3) { - o.entries = buildUnnamed7185(); + o.entries = buildUnnamed7262(); o.errorMessage = 'foo'; o.severity = 'foo'; } @@ -12142,7 +12142,7 @@ void checkGoogleCloudDialogflowV2ValidationError( api.GoogleCloudDialogflowV2ValidationError o) { buildCounterGoogleCloudDialogflowV2ValidationError++; if (buildCounterGoogleCloudDialogflowV2ValidationError < 3) { - checkUnnamed7185(o.entries!); + checkUnnamed7262(o.entries!); unittest.expect( o.errorMessage!, unittest.equals('foo'), @@ -12155,12 +12155,12 @@ void checkGoogleCloudDialogflowV2ValidationError( buildCounterGoogleCloudDialogflowV2ValidationError--; } -core.List buildUnnamed7186() => [ +core.List buildUnnamed7263() => [ buildGoogleCloudDialogflowV2ValidationError(), buildGoogleCloudDialogflowV2ValidationError(), ]; -void checkUnnamed7186(core.List o) { +void checkUnnamed7263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ValidationError(o[0]); checkGoogleCloudDialogflowV2ValidationError(o[1]); @@ -12172,7 +12172,7 @@ api.GoogleCloudDialogflowV2ValidationResult final o = api.GoogleCloudDialogflowV2ValidationResult(); buildCounterGoogleCloudDialogflowV2ValidationResult++; if (buildCounterGoogleCloudDialogflowV2ValidationResult < 3) { - o.validationErrors = buildUnnamed7186(); + o.validationErrors = buildUnnamed7263(); } buildCounterGoogleCloudDialogflowV2ValidationResult--; return o; @@ -12182,7 +12182,7 @@ void checkGoogleCloudDialogflowV2ValidationResult( api.GoogleCloudDialogflowV2ValidationResult o) { buildCounterGoogleCloudDialogflowV2ValidationResult++; if (buildCounterGoogleCloudDialogflowV2ValidationResult < 3) { - checkUnnamed7186(o.validationErrors!); + checkUnnamed7263(o.validationErrors!); } buildCounterGoogleCloudDialogflowV2ValidationResult--; } @@ -12293,29 +12293,29 @@ void checkGoogleCloudDialogflowV2WebhookRequest( buildCounterGoogleCloudDialogflowV2WebhookRequest--; } -core.List buildUnnamed7187() => [ +core.List buildUnnamed7264() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed7187(core.List o) { +void checkUnnamed7264(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed7188() => [ +core.List buildUnnamed7265() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed7188(core.List o) { +void checkUnnamed7265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed7189() => { +core.Map buildUnnamed7266() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12328,7 +12328,7 @@ core.Map buildUnnamed7189() => { }, }; -void checkUnnamed7189(core.Map o) { +void checkUnnamed7266(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted62 = (o['x']!) as core.Map; unittest.expect(casted62, unittest.hasLength(3)); @@ -12360,12 +12360,12 @@ void checkUnnamed7189(core.Map o) { ); } -core.List buildUnnamed7190() => [ +core.List buildUnnamed7267() => [ buildGoogleCloudDialogflowV2SessionEntityType(), buildGoogleCloudDialogflowV2SessionEntityType(), ]; -void checkUnnamed7190( +void checkUnnamed7267( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SessionEntityType(o[0]); @@ -12379,11 +12379,11 @@ api.GoogleCloudDialogflowV2WebhookResponse buildCounterGoogleCloudDialogflowV2WebhookResponse++; if (buildCounterGoogleCloudDialogflowV2WebhookResponse < 3) { o.followupEventInput = buildGoogleCloudDialogflowV2EventInput(); - o.fulfillmentMessages = buildUnnamed7187(); + o.fulfillmentMessages = buildUnnamed7264(); o.fulfillmentText = 'foo'; - o.outputContexts = buildUnnamed7188(); - o.payload = buildUnnamed7189(); - o.sessionEntityTypes = buildUnnamed7190(); + o.outputContexts = buildUnnamed7265(); + o.payload = buildUnnamed7266(); + o.sessionEntityTypes = buildUnnamed7267(); o.source = 'foo'; } buildCounterGoogleCloudDialogflowV2WebhookResponse--; @@ -12395,14 +12395,14 @@ void checkGoogleCloudDialogflowV2WebhookResponse( buildCounterGoogleCloudDialogflowV2WebhookResponse++; if (buildCounterGoogleCloudDialogflowV2WebhookResponse < 3) { checkGoogleCloudDialogflowV2EventInput(o.followupEventInput!); - checkUnnamed7187(o.fulfillmentMessages!); + checkUnnamed7264(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), ); - checkUnnamed7188(o.outputContexts!); - checkUnnamed7189(o.payload!); - checkUnnamed7190(o.sessionEntityTypes!); + checkUnnamed7265(o.outputContexts!); + checkUnnamed7266(o.payload!); + checkUnnamed7267(o.sessionEntityTypes!); unittest.expect( o.source!, unittest.equals('foo'), @@ -12459,12 +12459,12 @@ void checkGoogleCloudDialogflowV2beta1AnnotatedMessagePart( buildCounterGoogleCloudDialogflowV2beta1AnnotatedMessagePart--; } -core.Map buildUnnamed7191() => { +core.Map buildUnnamed7268() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7191(core.Map o) { +void checkUnnamed7268(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -12476,12 +12476,12 @@ void checkUnnamed7191(core.Map o) { ); } -core.List buildUnnamed7192() => [ +core.List buildUnnamed7269() => [ 'foo', 'foo', ]; -void checkUnnamed7192(core.List o) { +void checkUnnamed7269(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12500,8 +12500,8 @@ api.GoogleCloudDialogflowV2beta1ArticleAnswer buildCounterGoogleCloudDialogflowV2beta1ArticleAnswer++; if (buildCounterGoogleCloudDialogflowV2beta1ArticleAnswer < 3) { o.answerRecord = 'foo'; - o.metadata = buildUnnamed7191(); - o.snippets = buildUnnamed7192(); + o.metadata = buildUnnamed7268(); + o.snippets = buildUnnamed7269(); o.title = 'foo'; o.uri = 'foo'; } @@ -12517,8 +12517,8 @@ void checkGoogleCloudDialogflowV2beta1ArticleAnswer( o.answerRecord!, unittest.equals('foo'), ); - checkUnnamed7191(o.metadata!); - checkUnnamed7192(o.snippets!); + checkUnnamed7268(o.metadata!); + checkUnnamed7269(o.snippets!); unittest.expect( o.title!, unittest.equals('foo'), @@ -12531,12 +12531,12 @@ void checkGoogleCloudDialogflowV2beta1ArticleAnswer( buildCounterGoogleCloudDialogflowV2beta1ArticleAnswer--; } -core.List buildUnnamed7193() => [ +core.List buildUnnamed7270() => [ buildGoogleCloudDialogflowV2beta1EntityType(), buildGoogleCloudDialogflowV2beta1EntityType(), ]; -void checkUnnamed7193(core.List o) { +void checkUnnamed7270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1EntityType(o[0]); checkGoogleCloudDialogflowV2beta1EntityType(o[1]); @@ -12550,7 +12550,7 @@ api.GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed7193(); + o.entityTypes = buildUnnamed7270(); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse--; return o; @@ -12561,17 +12561,17 @@ void checkGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse( buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse < 3) { - checkUnnamed7193(o.entityTypes!); + checkUnnamed7270(o.entityTypes!); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse--; } -core.List buildUnnamed7194() => [ +core.List buildUnnamed7271() => [ buildGoogleCloudDialogflowV2beta1Intent(), buildGoogleCloudDialogflowV2beta1Intent(), ]; -void checkUnnamed7194(core.List o) { +void checkUnnamed7271(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Intent(o[0]); checkGoogleCloudDialogflowV2beta1Intent(o[1]); @@ -12583,7 +12583,7 @@ api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse final o = api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse(); buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse < 3) { - o.intents = buildUnnamed7194(); + o.intents = buildUnnamed7271(); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse--; return o; @@ -12593,12 +12593,12 @@ void checkGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse( api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse o) { buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse < 3) { - checkUnnamed7194(o.intents!); + checkUnnamed7271(o.intents!); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse--; } -core.Map buildUnnamed7195() => { +core.Map buildUnnamed7272() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12611,7 +12611,7 @@ core.Map buildUnnamed7195() => { }, }; -void checkUnnamed7195(core.Map o) { +void checkUnnamed7272(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted65 = (o['x']!) as core.Map; unittest.expect(casted65, unittest.hasLength(3)); @@ -12651,7 +12651,7 @@ api.GoogleCloudDialogflowV2beta1Context if (buildCounterGoogleCloudDialogflowV2beta1Context < 3) { o.lifespanCount = 42; o.name = 'foo'; - o.parameters = buildUnnamed7195(); + o.parameters = buildUnnamed7272(); } buildCounterGoogleCloudDialogflowV2beta1Context--; return o; @@ -12669,7 +12669,7 @@ void checkGoogleCloudDialogflowV2beta1Context( o.name!, unittest.equals('foo'), ); - checkUnnamed7195(o.parameters!); + checkUnnamed7272(o.parameters!); } buildCounterGoogleCloudDialogflowV2beta1Context--; } @@ -12708,12 +12708,12 @@ void checkGoogleCloudDialogflowV2beta1ConversationEvent( } core.List - buildUnnamed7196() => [ + buildUnnamed7273() => [ buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), ]; -void checkUnnamed7196( +void checkUnnamed7273( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1EntityTypeEntity(o[0]); @@ -12729,7 +12729,7 @@ api.GoogleCloudDialogflowV2beta1EntityType o.autoExpansionMode = 'foo'; o.displayName = 'foo'; o.enableFuzzyExtraction = true; - o.entities = buildUnnamed7196(); + o.entities = buildUnnamed7273(); o.kind = 'foo'; o.name = 'foo'; } @@ -12750,7 +12750,7 @@ void checkGoogleCloudDialogflowV2beta1EntityType( unittest.equals('foo'), ); unittest.expect(o.enableFuzzyExtraction!, unittest.isTrue); - checkUnnamed7196(o.entities!); + checkUnnamed7273(o.entities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -12763,12 +12763,12 @@ void checkGoogleCloudDialogflowV2beta1EntityType( buildCounterGoogleCloudDialogflowV2beta1EntityType--; } -core.List buildUnnamed7197() => [ +core.List buildUnnamed7274() => [ 'foo', 'foo', ]; -void checkUnnamed7197(core.List o) { +void checkUnnamed7274(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12786,7 +12786,7 @@ api.GoogleCloudDialogflowV2beta1EntityTypeEntity final o = api.GoogleCloudDialogflowV2beta1EntityTypeEntity(); buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity < 3) { - o.synonyms = buildUnnamed7197(); + o.synonyms = buildUnnamed7274(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity--; @@ -12797,7 +12797,7 @@ void checkGoogleCloudDialogflowV2beta1EntityTypeEntity( api.GoogleCloudDialogflowV2beta1EntityTypeEntity o) { buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity < 3) { - checkUnnamed7197(o.synonyms!); + checkUnnamed7274(o.synonyms!); unittest.expect( o.value!, unittest.equals('foo'), @@ -12806,7 +12806,7 @@ void checkGoogleCloudDialogflowV2beta1EntityTypeEntity( buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity--; } -core.Map buildUnnamed7198() => { +core.Map buildUnnamed7275() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12819,7 +12819,7 @@ core.Map buildUnnamed7198() => { }, }; -void checkUnnamed7198(core.Map o) { +void checkUnnamed7275(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted67 = (o['x']!) as core.Map; unittest.expect(casted67, unittest.hasLength(3)); @@ -12859,7 +12859,7 @@ api.GoogleCloudDialogflowV2beta1EventInput if (buildCounterGoogleCloudDialogflowV2beta1EventInput < 3) { o.languageCode = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed7198(); + o.parameters = buildUnnamed7275(); } buildCounterGoogleCloudDialogflowV2beta1EventInput--; return o; @@ -12877,7 +12877,7 @@ void checkGoogleCloudDialogflowV2beta1EventInput( o.name!, unittest.equals('foo'), ); - checkUnnamed7198(o.parameters!); + checkUnnamed7275(o.parameters!); } buildCounterGoogleCloudDialogflowV2beta1EventInput--; } @@ -12911,12 +12911,12 @@ void checkGoogleCloudDialogflowV2beta1ExportAgentResponse( buildCounterGoogleCloudDialogflowV2beta1ExportAgentResponse--; } -core.Map buildUnnamed7199() => { +core.Map buildUnnamed7276() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7199(core.Map o) { +void checkUnnamed7276(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -12937,7 +12937,7 @@ api.GoogleCloudDialogflowV2beta1FaqAnswer o.answer = 'foo'; o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed7199(); + o.metadata = buildUnnamed7276(); o.question = 'foo'; o.source = 'foo'; } @@ -12961,7 +12961,7 @@ void checkGoogleCloudDialogflowV2beta1FaqAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed7199(o.metadata!); + checkUnnamed7276(o.metadata!); unittest.expect( o.question!, unittest.equals('foo'), @@ -12975,12 +12975,12 @@ void checkGoogleCloudDialogflowV2beta1FaqAnswer( } core.List - buildUnnamed7200() => [ + buildUnnamed7277() => [ buildGoogleCloudDialogflowV2beta1SuggestionResult(), buildGoogleCloudDialogflowV2beta1SuggestionResult(), ]; -void checkUnnamed7200( +void checkUnnamed7277( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1SuggestionResult(o[0]); @@ -12995,7 +12995,7 @@ api.GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent if (buildCounterGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent < 3) { o.conversation = 'foo'; o.participant = 'foo'; - o.suggestionResults = buildUnnamed7200(); + o.suggestionResults = buildUnnamed7277(); } buildCounterGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent--; return o; @@ -13013,17 +13013,17 @@ void checkGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( o.participant!, unittest.equals('foo'), ); - checkUnnamed7200(o.suggestionResults!); + checkUnnamed7277(o.suggestionResults!); } buildCounterGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent--; } -core.List buildUnnamed7201() => [ +core.List buildUnnamed7278() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed7201(core.List o) { +void checkUnnamed7278(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -13035,7 +13035,7 @@ api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse final o = api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed7201(); + o.warnings = buildUnnamed7278(); } buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse--; return o; @@ -13045,17 +13045,17 @@ void checkGoogleCloudDialogflowV2beta1ImportDocumentsResponse( api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse < 3) { - checkUnnamed7201(o.warnings!); + checkUnnamed7278(o.warnings!); } buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse--; } -core.List buildUnnamed7202() => [ +core.List buildUnnamed7279() => [ 'foo', 'foo', ]; -void checkUnnamed7202(core.List o) { +void checkUnnamed7279(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13067,12 +13067,12 @@ void checkUnnamed7202(core.List o) { ); } -core.List buildUnnamed7203() => [ +core.List buildUnnamed7280() => [ 'foo', 'foo', ]; -void checkUnnamed7203(core.List o) { +void checkUnnamed7280(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13085,24 +13085,24 @@ void checkUnnamed7203(core.List o) { } core.List - buildUnnamed7204() => [ + buildUnnamed7281() => [ buildGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(), buildGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(), ]; -void checkUnnamed7204( +void checkUnnamed7281( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(o[0]); checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(o[1]); } -core.List buildUnnamed7205() => [ +core.List buildUnnamed7282() => [ 'foo', 'foo', ]; -void checkUnnamed7205(core.List o) { +void checkUnnamed7282(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13114,36 +13114,36 @@ void checkUnnamed7205(core.List o) { ); } -core.List buildUnnamed7206() => [ +core.List buildUnnamed7283() => [ buildGoogleCloudDialogflowV2beta1IntentMessage(), buildGoogleCloudDialogflowV2beta1IntentMessage(), ]; -void checkUnnamed7206( +void checkUnnamed7283( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]); checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]); } -core.List buildUnnamed7207() => [ +core.List buildUnnamed7284() => [ buildGoogleCloudDialogflowV2beta1Context(), buildGoogleCloudDialogflowV2beta1Context(), ]; -void checkUnnamed7207(core.List o) { +void checkUnnamed7284(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Context(o[0]); checkGoogleCloudDialogflowV2beta1Context(o[1]); } -core.List buildUnnamed7208() => +core.List buildUnnamed7285() => [ buildGoogleCloudDialogflowV2beta1IntentParameter(), buildGoogleCloudDialogflowV2beta1IntentParameter(), ]; -void checkUnnamed7208( +void checkUnnamed7285( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentParameter(o[0]); @@ -13151,12 +13151,12 @@ void checkUnnamed7208( } core.List - buildUnnamed7209() => [ + buildUnnamed7286() => [ buildGoogleCloudDialogflowV2beta1IntentTrainingPhrase(), buildGoogleCloudDialogflowV2beta1IntentTrainingPhrase(), ]; -void checkUnnamed7209( +void checkUnnamed7286( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentTrainingPhrase(o[0]); @@ -13170,25 +13170,25 @@ api.GoogleCloudDialogflowV2beta1Intent buildCounterGoogleCloudDialogflowV2beta1Intent++; if (buildCounterGoogleCloudDialogflowV2beta1Intent < 3) { o.action = 'foo'; - o.defaultResponsePlatforms = buildUnnamed7202(); + o.defaultResponsePlatforms = buildUnnamed7279(); o.displayName = 'foo'; o.endInteraction = true; - o.events = buildUnnamed7203(); - o.followupIntentInfo = buildUnnamed7204(); - o.inputContextNames = buildUnnamed7205(); + o.events = buildUnnamed7280(); + o.followupIntentInfo = buildUnnamed7281(); + o.inputContextNames = buildUnnamed7282(); o.isFallback = true; o.liveAgentHandoff = true; - o.messages = buildUnnamed7206(); + o.messages = buildUnnamed7283(); o.mlDisabled = true; o.mlEnabled = true; o.name = 'foo'; - o.outputContexts = buildUnnamed7207(); - o.parameters = buildUnnamed7208(); + o.outputContexts = buildUnnamed7284(); + o.parameters = buildUnnamed7285(); o.parentFollowupIntentName = 'foo'; o.priority = 42; o.resetContexts = true; o.rootFollowupIntentName = 'foo'; - o.trainingPhrases = buildUnnamed7209(); + o.trainingPhrases = buildUnnamed7286(); o.webhookState = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1Intent--; @@ -13203,26 +13203,26 @@ void checkGoogleCloudDialogflowV2beta1Intent( o.action!, unittest.equals('foo'), ); - checkUnnamed7202(o.defaultResponsePlatforms!); + checkUnnamed7279(o.defaultResponsePlatforms!); unittest.expect( o.displayName!, unittest.equals('foo'), ); unittest.expect(o.endInteraction!, unittest.isTrue); - checkUnnamed7203(o.events!); - checkUnnamed7204(o.followupIntentInfo!); - checkUnnamed7205(o.inputContextNames!); + checkUnnamed7280(o.events!); + checkUnnamed7281(o.followupIntentInfo!); + checkUnnamed7282(o.inputContextNames!); unittest.expect(o.isFallback!, unittest.isTrue); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed7206(o.messages!); + checkUnnamed7283(o.messages!); unittest.expect(o.mlDisabled!, unittest.isTrue); unittest.expect(o.mlEnabled!, unittest.isTrue); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7207(o.outputContexts!); - checkUnnamed7208(o.parameters!); + checkUnnamed7284(o.outputContexts!); + checkUnnamed7285(o.parameters!); unittest.expect( o.parentFollowupIntentName!, unittest.equals('foo'), @@ -13236,7 +13236,7 @@ void checkGoogleCloudDialogflowV2beta1Intent( o.rootFollowupIntentName!, unittest.equals('foo'), ); - checkUnnamed7209(o.trainingPhrases!); + checkUnnamed7286(o.trainingPhrases!); unittest.expect( o.webhookState!, unittest.equals('foo'), @@ -13274,7 +13274,7 @@ void checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo( buildCounterGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo--; } -core.Map buildUnnamed7210() => { +core.Map buildUnnamed7287() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -13287,7 +13287,7 @@ core.Map buildUnnamed7210() => { }, }; -void checkUnnamed7210(core.Map o) { +void checkUnnamed7287(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted69 = (o['x']!) as core.Map; unittest.expect(casted69, unittest.hasLength(3)); @@ -13337,7 +13337,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessage o.listSelect = buildGoogleCloudDialogflowV2beta1IntentMessageListSelect(); o.mediaContent = buildGoogleCloudDialogflowV2beta1IntentMessageMediaContent(); - o.payload = buildUnnamed7210(); + o.payload = buildUnnamed7287(); o.platform = 'foo'; o.quickReplies = buildGoogleCloudDialogflowV2beta1IntentMessageQuickReplies(); @@ -13377,7 +13377,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessage( o.linkOutSuggestion!); checkGoogleCloudDialogflowV2beta1IntentMessageListSelect(o.listSelect!); checkGoogleCloudDialogflowV2beta1IntentMessageMediaContent(o.mediaContent!); - checkUnnamed7210(o.payload!); + checkUnnamed7287(o.payload!); unittest.expect( o.platform!, unittest.equals('foo'), @@ -13404,12 +13404,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessage( } core.List - buildUnnamed7211() => [ + buildUnnamed7288() => [ buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), ]; -void checkUnnamed7211( +void checkUnnamed7288( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[0]); @@ -13422,7 +13422,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard final o = api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard < 3) { - o.buttons = buildUnnamed7211(); + o.buttons = buildUnnamed7288(); o.formattedText = 'foo'; o.image = buildGoogleCloudDialogflowV2beta1IntentMessageImage(); o.subtitle = 'foo'; @@ -13436,7 +13436,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBasicCard( api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard < 3) { - checkUnnamed7211(o.buttons!); + checkUnnamed7288(o.buttons!); unittest.expect( o.formattedText!, unittest.equals('foo'), @@ -13517,12 +13517,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem> - buildUnnamed7212() => [ + buildUnnamed7289() => [ buildGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), buildGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), ]; -void checkUnnamed7212( +void checkUnnamed7289( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem> o) { @@ -13542,7 +13542,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard < 3) { o.imageDisplayOptions = 'foo'; - o.items = buildUnnamed7212(); + o.items = buildUnnamed7289(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard--; return o; @@ -13557,7 +13557,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( o.imageDisplayOptions!, unittest.equals('foo'), ); - checkUnnamed7212(o.items!); + checkUnnamed7289(o.items!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard--; } @@ -13644,12 +13644,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou } core.List - buildUnnamed7213() => [ + buildUnnamed7290() => [ buildGoogleCloudDialogflowV2beta1IntentMessageCardButton(), buildGoogleCloudDialogflowV2beta1IntentMessageCardButton(), ]; -void checkUnnamed7213( +void checkUnnamed7290( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageCardButton(o[0]); @@ -13662,7 +13662,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageCard final o = api.GoogleCloudDialogflowV2beta1IntentMessageCard(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard < 3) { - o.buttons = buildUnnamed7213(); + o.buttons = buildUnnamed7290(); o.imageUri = 'foo'; o.subtitle = 'foo'; o.title = 'foo'; @@ -13675,7 +13675,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageCard( api.GoogleCloudDialogflowV2beta1IntentMessageCard o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard < 3) { - checkUnnamed7213(o.buttons!); + checkUnnamed7290(o.buttons!); unittest.expect( o.imageUri!, unittest.equals('foo'), @@ -13722,12 +13722,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageCardButton( } core.List - buildUnnamed7214() => [ + buildUnnamed7291() => [ buildGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem(), buildGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem(), ]; -void checkUnnamed7214( +void checkUnnamed7291( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -13742,7 +13742,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect final o = api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect < 3) { - o.items = buildUnnamed7214(); + o.items = buildUnnamed7291(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect--; return o; @@ -13752,7 +13752,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect( api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect < 3) { - checkUnnamed7214(o.items!); + checkUnnamed7291(o.items!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect--; } @@ -13887,12 +13887,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion( } core.List - buildUnnamed7215() => [ + buildUnnamed7292() => [ buildGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(), buildGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(), ]; -void checkUnnamed7215( +void checkUnnamed7292( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(o[0]); @@ -13905,7 +13905,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageListSelect final o = api.GoogleCloudDialogflowV2beta1IntentMessageListSelect(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect < 3) { - o.items = buildUnnamed7215(); + o.items = buildUnnamed7292(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -13917,7 +13917,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageListSelect( api.GoogleCloudDialogflowV2beta1IntentMessageListSelect o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect < 3) { - checkUnnamed7215(o.items!); + checkUnnamed7292(o.items!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -13966,12 +13966,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageListSelectItem( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject> - buildUnnamed7216() => [ + buildUnnamed7293() => [ buildGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject(), buildGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject(), ]; -void checkUnnamed7216( +void checkUnnamed7293( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject> o) { @@ -13988,7 +13988,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent final o = api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent < 3) { - o.mediaObjects = buildUnnamed7216(); + o.mediaObjects = buildUnnamed7293(); o.mediaType = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent--; @@ -13999,7 +13999,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageMediaContent( api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent < 3) { - checkUnnamed7216(o.mediaObjects!); + checkUnnamed7293(o.mediaObjects!); unittest.expect( o.mediaType!, unittest.equals('foo'), @@ -14052,12 +14052,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject--; } -core.List buildUnnamed7217() => [ +core.List buildUnnamed7294() => [ 'foo', 'foo', ]; -void checkUnnamed7217(core.List o) { +void checkUnnamed7294(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14075,7 +14075,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies final o = api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies < 3) { - o.quickReplies = buildUnnamed7217(); + o.quickReplies = buildUnnamed7294(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies--; @@ -14086,7 +14086,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageQuickReplies( api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies < 3) { - checkUnnamed7217(o.quickReplies!); + checkUnnamed7294(o.quickReplies!); unittest.expect( o.title!, unittest.equals('foo'), @@ -14096,12 +14096,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageQuickReplies( } core.List - buildUnnamed7218() => [ + buildUnnamed7295() => [ buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), ]; -void checkUnnamed7218( +void checkUnnamed7295( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(o[0]); @@ -14118,7 +14118,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent o.description = 'foo'; o.media = buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia(); - o.suggestions = buildUnnamed7218(); + o.suggestions = buildUnnamed7295(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent--; @@ -14135,7 +14135,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( ); checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( o.media!); - checkUnnamed7218(o.suggestions!); + checkUnnamed7295(o.suggestions!); unittest.expect( o.title!, unittest.equals('foo'), @@ -14184,12 +14184,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( } core.List - buildUnnamed7219() => [ + buildUnnamed7296() => [ buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(), buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(), ]; -void checkUnnamed7219( +void checkUnnamed7296( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(o[0]); @@ -14204,7 +14204,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard < 3) { - o.cardContents = buildUnnamed7219(); + o.cardContents = buildUnnamed7296(); o.cardWidth = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard--; @@ -14216,7 +14216,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard( buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard < 3) { - checkUnnamed7219(o.cardContents!); + checkUnnamed7296(o.cardContents!); unittest.expect( o.cardWidth!, unittest.equals('foo'), @@ -14445,12 +14445,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion( } core.List - buildUnnamed7220() => [ + buildUnnamed7297() => [ buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), ]; -void checkUnnamed7220( +void checkUnnamed7297( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(o[0]); @@ -14463,7 +14463,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageRbmText final o = api.GoogleCloudDialogflowV2beta1IntentMessageRbmText(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText < 3) { - o.rbmSuggestion = buildUnnamed7220(); + o.rbmSuggestion = buildUnnamed7297(); o.text = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText--; @@ -14474,7 +14474,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmText( api.GoogleCloudDialogflowV2beta1IntentMessageRbmText o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText < 3) { - checkUnnamed7220(o.rbmSuggestion!); + checkUnnamed7297(o.rbmSuggestion!); unittest.expect( o.text!, unittest.equals('foo'), @@ -14483,12 +14483,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmText( buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText--; } -core.List buildUnnamed7221() => [ +core.List buildUnnamed7298() => [ 'foo', 'foo', ]; -void checkUnnamed7221(core.List o) { +void checkUnnamed7298(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14508,7 +14508,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo < 3) { o.key = 'foo'; - o.synonyms = buildUnnamed7221(); + o.synonyms = buildUnnamed7298(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo--; return o; @@ -14522,7 +14522,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo( o.key!, unittest.equals('foo'), ); - checkUnnamed7221(o.synonyms!); + checkUnnamed7298(o.synonyms!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo--; } @@ -14563,12 +14563,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( } core.List - buildUnnamed7222() => [ + buildUnnamed7299() => [ buildGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(), buildGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(), ]; -void checkUnnamed7222( +void checkUnnamed7299( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(o[0]); @@ -14583,7 +14583,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses < 3) { - o.simpleResponses = buildUnnamed7222(); + o.simpleResponses = buildUnnamed7299(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses--; return o; @@ -14594,7 +14594,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses( buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses < 3) { - checkUnnamed7222(o.simpleResponses!); + checkUnnamed7299(o.simpleResponses!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses--; } @@ -14624,12 +14624,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSuggestion( } core.List - buildUnnamed7223() => [ + buildUnnamed7300() => [ buildGoogleCloudDialogflowV2beta1IntentMessageSuggestion(), buildGoogleCloudDialogflowV2beta1IntentMessageSuggestion(), ]; -void checkUnnamed7223( +void checkUnnamed7300( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageSuggestion(o[0]); @@ -14642,7 +14642,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions final o = api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions < 3) { - o.suggestions = buildUnnamed7223(); + o.suggestions = buildUnnamed7300(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions--; return o; @@ -14652,18 +14652,18 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSuggestions( api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions < 3) { - checkUnnamed7223(o.suggestions!); + checkUnnamed7300(o.suggestions!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions--; } core.List - buildUnnamed7224() => [ + buildUnnamed7301() => [ buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), ]; -void checkUnnamed7224( +void checkUnnamed7301( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[0]); @@ -14671,12 +14671,12 @@ void checkUnnamed7224( } core.List - buildUnnamed7225() => [ + buildUnnamed7302() => [ buildGoogleCloudDialogflowV2beta1IntentMessageColumnProperties(), buildGoogleCloudDialogflowV2beta1IntentMessageColumnProperties(), ]; -void checkUnnamed7225( +void checkUnnamed7302( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -14685,12 +14685,12 @@ void checkUnnamed7225( } core.List - buildUnnamed7226() => [ + buildUnnamed7303() => [ buildGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(), buildGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(), ]; -void checkUnnamed7226( +void checkUnnamed7303( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(o[0]); @@ -14703,10 +14703,10 @@ api.GoogleCloudDialogflowV2beta1IntentMessageTableCard final o = api.GoogleCloudDialogflowV2beta1IntentMessageTableCard(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard < 3) { - o.buttons = buildUnnamed7224(); - o.columnProperties = buildUnnamed7225(); + o.buttons = buildUnnamed7301(); + o.columnProperties = buildUnnamed7302(); o.image = buildGoogleCloudDialogflowV2beta1IntentMessageImage(); - o.rows = buildUnnamed7226(); + o.rows = buildUnnamed7303(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -14718,10 +14718,10 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTableCard( api.GoogleCloudDialogflowV2beta1IntentMessageTableCard o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard < 3) { - checkUnnamed7224(o.buttons!); - checkUnnamed7225(o.columnProperties!); + checkUnnamed7301(o.buttons!); + checkUnnamed7302(o.columnProperties!); checkGoogleCloudDialogflowV2beta1IntentMessageImage(o.image!); - checkUnnamed7226(o.rows!); + checkUnnamed7303(o.rows!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -14759,12 +14759,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTableCardCell( } core.List - buildUnnamed7227() => [ + buildUnnamed7304() => [ buildGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(), buildGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(), ]; -void checkUnnamed7227( +void checkUnnamed7304( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(o[0]); @@ -14777,7 +14777,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow final o = api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow < 3) { - o.cells = buildUnnamed7227(); + o.cells = buildUnnamed7304(); o.dividerAfter = true; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow--; @@ -14788,7 +14788,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTableCardRow( api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow < 3) { - checkUnnamed7227(o.cells!); + checkUnnamed7304(o.cells!); unittest.expect(o.dividerAfter!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow--; @@ -14884,12 +14884,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall( buildCounterGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall--; } -core.List buildUnnamed7228() => [ +core.List buildUnnamed7305() => [ 'foo', 'foo', ]; -void checkUnnamed7228(core.List o) { +void checkUnnamed7305(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14907,7 +14907,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageText final o = api.GoogleCloudDialogflowV2beta1IntentMessageText(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageText < 3) { - o.text = buildUnnamed7228(); + o.text = buildUnnamed7305(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageText--; return o; @@ -14917,17 +14917,17 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageText( api.GoogleCloudDialogflowV2beta1IntentMessageText o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageText < 3) { - checkUnnamed7228(o.text!); + checkUnnamed7305(o.text!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageText--; } -core.List buildUnnamed7229() => [ +core.List buildUnnamed7306() => [ 'foo', 'foo', ]; -void checkUnnamed7229(core.List o) { +void checkUnnamed7306(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14951,7 +14951,7 @@ api.GoogleCloudDialogflowV2beta1IntentParameter o.isList = true; o.mandatory = true; o.name = 'foo'; - o.prompts = buildUnnamed7229(); + o.prompts = buildUnnamed7306(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentParameter--; @@ -14980,7 +14980,7 @@ void checkGoogleCloudDialogflowV2beta1IntentParameter( o.name!, unittest.equals('foo'), ); - checkUnnamed7229(o.prompts!); + checkUnnamed7306(o.prompts!); unittest.expect( o.value!, unittest.equals('foo'), @@ -14990,12 +14990,12 @@ void checkGoogleCloudDialogflowV2beta1IntentParameter( } core.List - buildUnnamed7230() => [ + buildUnnamed7307() => [ buildGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(), buildGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(), ]; -void checkUnnamed7230( +void checkUnnamed7307( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(o[0]); @@ -15009,7 +15009,7 @@ api.GoogleCloudDialogflowV2beta1IntentTrainingPhrase buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase < 3) { o.name = 'foo'; - o.parts = buildUnnamed7230(); + o.parts = buildUnnamed7307(); o.timesAddedCount = 42; o.type = 'foo'; } @@ -15025,7 +15025,7 @@ void checkGoogleCloudDialogflowV2beta1IntentTrainingPhrase( o.name!, unittest.equals('foo'), ); - checkUnnamed7230(o.parts!); + checkUnnamed7307(o.parts!); unittest.expect( o.timesAddedCount!, unittest.equals(42), @@ -15075,12 +15075,12 @@ void checkGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( } core.List - buildUnnamed7231() => [ + buildUnnamed7308() => [ buildGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(), buildGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(), ]; -void checkUnnamed7231( +void checkUnnamed7308( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(o[0]); @@ -15093,7 +15093,7 @@ api.GoogleCloudDialogflowV2beta1KnowledgeAnswers final o = api.GoogleCloudDialogflowV2beta1KnowledgeAnswers(); buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers++; if (buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers < 3) { - o.answers = buildUnnamed7231(); + o.answers = buildUnnamed7308(); } buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers--; return o; @@ -15103,7 +15103,7 @@ void checkGoogleCloudDialogflowV2beta1KnowledgeAnswers( api.GoogleCloudDialogflowV2beta1KnowledgeAnswers o) { buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers++; if (buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers < 3) { - checkUnnamed7231(o.answers!); + checkUnnamed7308(o.answers!); } buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers--; } @@ -15237,12 +15237,12 @@ void checkGoogleCloudDialogflowV2beta1Message( } core.List - buildUnnamed7232() => [ + buildUnnamed7309() => [ buildGoogleCloudDialogflowV2beta1AnnotatedMessagePart(), buildGoogleCloudDialogflowV2beta1AnnotatedMessagePart(), ]; -void checkUnnamed7232( +void checkUnnamed7309( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1AnnotatedMessagePart(o[0]); @@ -15256,7 +15256,7 @@ api.GoogleCloudDialogflowV2beta1MessageAnnotation buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation < 3) { o.containEntities = true; - o.parts = buildUnnamed7232(); + o.parts = buildUnnamed7309(); } buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation--; return o; @@ -15267,12 +15267,12 @@ void checkGoogleCloudDialogflowV2beta1MessageAnnotation( buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation < 3) { unittest.expect(o.containEntities!, unittest.isTrue); - checkUnnamed7232(o.parts!); + checkUnnamed7309(o.parts!); } buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation--; } -core.Map buildUnnamed7233() => { +core.Map buildUnnamed7310() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15285,7 +15285,7 @@ core.Map buildUnnamed7233() => { }, }; -void checkUnnamed7233(core.Map o) { +void checkUnnamed7310(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted71 = (o['x']!) as core.Map; unittest.expect(casted71, unittest.hasLength(3)); @@ -15324,7 +15324,7 @@ api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest final o = api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest(); buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest < 3) { - o.payload = buildUnnamed7233(); + o.payload = buildUnnamed7310(); o.source = 'foo'; o.version = 'foo'; } @@ -15336,7 +15336,7 @@ void checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest o) { buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest < 3) { - checkUnnamed7233(o.payload!); + checkUnnamed7310(o.payload!); unittest.expect( o.source!, unittest.equals('foo'), @@ -15349,7 +15349,7 @@ void checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest--; } -core.Map buildUnnamed7234() => { +core.Map buildUnnamed7311() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15362,7 +15362,7 @@ core.Map buildUnnamed7234() => { }, }; -void checkUnnamed7234(core.Map o) { +void checkUnnamed7311(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted73 = (o['x']!) as core.Map; unittest.expect(casted73, unittest.hasLength(3)); @@ -15394,30 +15394,30 @@ void checkUnnamed7234(core.Map o) { ); } -core.List buildUnnamed7235() => [ +core.List buildUnnamed7312() => [ buildGoogleCloudDialogflowV2beta1IntentMessage(), buildGoogleCloudDialogflowV2beta1IntentMessage(), ]; -void checkUnnamed7235( +void checkUnnamed7312( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]); checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]); } -core.List buildUnnamed7236() => [ +core.List buildUnnamed7313() => [ buildGoogleCloudDialogflowV2beta1Context(), buildGoogleCloudDialogflowV2beta1Context(), ]; -void checkUnnamed7236(core.List o) { +void checkUnnamed7313(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Context(o[0]); checkGoogleCloudDialogflowV2beta1Context(o[1]); } -core.Map buildUnnamed7237() => { +core.Map buildUnnamed7314() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15430,7 +15430,7 @@ core.Map buildUnnamed7237() => { }, }; -void checkUnnamed7237(core.Map o) { +void checkUnnamed7314(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted75 = (o['x']!) as core.Map; unittest.expect(casted75, unittest.hasLength(3)); @@ -15462,7 +15462,7 @@ void checkUnnamed7237(core.Map o) { ); } -core.Map buildUnnamed7238() => { +core.Map buildUnnamed7315() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15475,7 +15475,7 @@ core.Map buildUnnamed7238() => { }, }; -void checkUnnamed7238(core.Map o) { +void checkUnnamed7315(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted77 = (o['x']!) as core.Map; unittest.expect(casted77, unittest.hasLength(3)); @@ -15516,20 +15516,20 @@ api.GoogleCloudDialogflowV2beta1QueryResult o.action = 'foo'; o.allRequiredParamsPresent = true; o.cancelsSlotFilling = true; - o.diagnosticInfo = buildUnnamed7234(); - o.fulfillmentMessages = buildUnnamed7235(); + o.diagnosticInfo = buildUnnamed7311(); + o.fulfillmentMessages = buildUnnamed7312(); o.fulfillmentText = 'foo'; o.intent = buildGoogleCloudDialogflowV2beta1Intent(); o.intentDetectionConfidence = 42.0; o.knowledgeAnswers = buildGoogleCloudDialogflowV2beta1KnowledgeAnswers(); o.languageCode = 'foo'; - o.outputContexts = buildUnnamed7236(); - o.parameters = buildUnnamed7237(); + o.outputContexts = buildUnnamed7313(); + o.parameters = buildUnnamed7314(); o.queryText = 'foo'; o.sentimentAnalysisResult = buildGoogleCloudDialogflowV2beta1SentimentAnalysisResult(); o.speechRecognitionConfidence = 42.0; - o.webhookPayload = buildUnnamed7238(); + o.webhookPayload = buildUnnamed7315(); o.webhookSource = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1QueryResult--; @@ -15546,8 +15546,8 @@ void checkGoogleCloudDialogflowV2beta1QueryResult( ); unittest.expect(o.allRequiredParamsPresent!, unittest.isTrue); unittest.expect(o.cancelsSlotFilling!, unittest.isTrue); - checkUnnamed7234(o.diagnosticInfo!); - checkUnnamed7235(o.fulfillmentMessages!); + checkUnnamed7311(o.diagnosticInfo!); + checkUnnamed7312(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), @@ -15562,8 +15562,8 @@ void checkGoogleCloudDialogflowV2beta1QueryResult( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed7236(o.outputContexts!); - checkUnnamed7237(o.parameters!); + checkUnnamed7313(o.outputContexts!); + checkUnnamed7314(o.parameters!); unittest.expect( o.queryText!, unittest.equals('foo'), @@ -15574,7 +15574,7 @@ void checkGoogleCloudDialogflowV2beta1QueryResult( o.speechRecognitionConfidence!, unittest.equals(42.0), ); - checkUnnamed7238(o.webhookPayload!); + checkUnnamed7315(o.webhookPayload!); unittest.expect( o.webhookSource!, unittest.equals('foo'), @@ -15634,12 +15634,12 @@ void checkGoogleCloudDialogflowV2beta1SentimentAnalysisResult( } core.List - buildUnnamed7239() => [ + buildUnnamed7316() => [ buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), ]; -void checkUnnamed7239( +void checkUnnamed7316( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1EntityTypeEntity(o[0]); @@ -15652,7 +15652,7 @@ api.GoogleCloudDialogflowV2beta1SessionEntityType final o = api.GoogleCloudDialogflowV2beta1SessionEntityType(); buildCounterGoogleCloudDialogflowV2beta1SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2beta1SessionEntityType < 3) { - o.entities = buildUnnamed7239(); + o.entities = buildUnnamed7316(); o.entityOverrideMode = 'foo'; o.name = 'foo'; } @@ -15664,7 +15664,7 @@ void checkGoogleCloudDialogflowV2beta1SessionEntityType( api.GoogleCloudDialogflowV2beta1SessionEntityType o) { buildCounterGoogleCloudDialogflowV2beta1SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2beta1SessionEntityType < 3) { - checkUnnamed7239(o.entities!); + checkUnnamed7316(o.entities!); unittest.expect( o.entityOverrideMode!, unittest.equals('foo'), @@ -15711,12 +15711,12 @@ void checkGoogleCloudDialogflowV2beta1SmartReplyAnswer( buildCounterGoogleCloudDialogflowV2beta1SmartReplyAnswer--; } -core.List buildUnnamed7240() => [ +core.List buildUnnamed7317() => [ buildGoogleCloudDialogflowV2beta1ArticleAnswer(), buildGoogleCloudDialogflowV2beta1ArticleAnswer(), ]; -void checkUnnamed7240( +void checkUnnamed7317( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1ArticleAnswer(o[0]); @@ -15729,7 +15729,7 @@ api.GoogleCloudDialogflowV2beta1SuggestArticlesResponse final o = api.GoogleCloudDialogflowV2beta1SuggestArticlesResponse(); buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse < 3) { - o.articleAnswers = buildUnnamed7240(); + o.articleAnswers = buildUnnamed7317(); o.contextSize = 42; o.latestMessage = 'foo'; } @@ -15741,7 +15741,7 @@ void checkGoogleCloudDialogflowV2beta1SuggestArticlesResponse( api.GoogleCloudDialogflowV2beta1SuggestArticlesResponse o) { buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse < 3) { - checkUnnamed7240(o.articleAnswers!); + checkUnnamed7317(o.articleAnswers!); unittest.expect( o.contextSize!, unittest.equals(42), @@ -15754,12 +15754,12 @@ void checkGoogleCloudDialogflowV2beta1SuggestArticlesResponse( buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse--; } -core.List buildUnnamed7241() => [ +core.List buildUnnamed7318() => [ buildGoogleCloudDialogflowV2beta1FaqAnswer(), buildGoogleCloudDialogflowV2beta1FaqAnswer(), ]; -void checkUnnamed7241(core.List o) { +void checkUnnamed7318(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1FaqAnswer(o[0]); checkGoogleCloudDialogflowV2beta1FaqAnswer(o[1]); @@ -15772,7 +15772,7 @@ api.GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse buildCounterGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse++; if (buildCounterGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse < 3) { o.contextSize = 42; - o.faqAnswers = buildUnnamed7241(); + o.faqAnswers = buildUnnamed7318(); o.latestMessage = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse--; @@ -15787,7 +15787,7 @@ void checkGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( o.contextSize!, unittest.equals(42), ); - checkUnnamed7241(o.faqAnswers!); + checkUnnamed7318(o.faqAnswers!); unittest.expect( o.latestMessage!, unittest.equals('foo'), @@ -15797,12 +15797,12 @@ void checkGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( } core.List - buildUnnamed7242() => [ + buildUnnamed7319() => [ buildGoogleCloudDialogflowV2beta1SmartReplyAnswer(), buildGoogleCloudDialogflowV2beta1SmartReplyAnswer(), ]; -void checkUnnamed7242( +void checkUnnamed7319( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1SmartReplyAnswer(o[0]); @@ -15818,7 +15818,7 @@ api.GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse if (buildCounterGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse < 3) { o.contextSize = 42; o.latestMessage = 'foo'; - o.smartReplyAnswers = buildUnnamed7242(); + o.smartReplyAnswers = buildUnnamed7319(); } buildCounterGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse--; return o; @@ -15836,7 +15836,7 @@ void checkGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse( o.latestMessage!, unittest.equals('foo'), ); - checkUnnamed7242(o.smartReplyAnswers!); + checkUnnamed7319(o.smartReplyAnswers!); } buildCounterGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse--; } @@ -15874,12 +15874,12 @@ void checkGoogleCloudDialogflowV2beta1SuggestionResult( buildCounterGoogleCloudDialogflowV2beta1SuggestionResult--; } -core.List buildUnnamed7243() => [ +core.List buildUnnamed7320() => [ buildGoogleCloudDialogflowV2beta1QueryResult(), buildGoogleCloudDialogflowV2beta1QueryResult(), ]; -void checkUnnamed7243( +void checkUnnamed7320( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1QueryResult(o[0]); @@ -15892,7 +15892,7 @@ api.GoogleCloudDialogflowV2beta1WebhookRequest final o = api.GoogleCloudDialogflowV2beta1WebhookRequest(); buildCounterGoogleCloudDialogflowV2beta1WebhookRequest++; if (buildCounterGoogleCloudDialogflowV2beta1WebhookRequest < 3) { - o.alternativeQueryResults = buildUnnamed7243(); + o.alternativeQueryResults = buildUnnamed7320(); o.originalDetectIntentRequest = buildGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest(); o.queryResult = buildGoogleCloudDialogflowV2beta1QueryResult(); @@ -15907,7 +15907,7 @@ void checkGoogleCloudDialogflowV2beta1WebhookRequest( api.GoogleCloudDialogflowV2beta1WebhookRequest o) { buildCounterGoogleCloudDialogflowV2beta1WebhookRequest++; if (buildCounterGoogleCloudDialogflowV2beta1WebhookRequest < 3) { - checkUnnamed7243(o.alternativeQueryResults!); + checkUnnamed7320(o.alternativeQueryResults!); checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( o.originalDetectIntentRequest!); checkGoogleCloudDialogflowV2beta1QueryResult(o.queryResult!); @@ -15923,30 +15923,30 @@ void checkGoogleCloudDialogflowV2beta1WebhookRequest( buildCounterGoogleCloudDialogflowV2beta1WebhookRequest--; } -core.List buildUnnamed7244() => [ +core.List buildUnnamed7321() => [ buildGoogleCloudDialogflowV2beta1IntentMessage(), buildGoogleCloudDialogflowV2beta1IntentMessage(), ]; -void checkUnnamed7244( +void checkUnnamed7321( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]); checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]); } -core.List buildUnnamed7245() => [ +core.List buildUnnamed7322() => [ buildGoogleCloudDialogflowV2beta1Context(), buildGoogleCloudDialogflowV2beta1Context(), ]; -void checkUnnamed7245(core.List o) { +void checkUnnamed7322(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Context(o[0]); checkGoogleCloudDialogflowV2beta1Context(o[1]); } -core.Map buildUnnamed7246() => { +core.Map buildUnnamed7323() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15959,7 +15959,7 @@ core.Map buildUnnamed7246() => { }, }; -void checkUnnamed7246(core.Map o) { +void checkUnnamed7323(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted79 = (o['x']!) as core.Map; unittest.expect(casted79, unittest.hasLength(3)); @@ -15992,12 +15992,12 @@ void checkUnnamed7246(core.Map o) { } core.List - buildUnnamed7247() => [ + buildUnnamed7324() => [ buildGoogleCloudDialogflowV2beta1SessionEntityType(), buildGoogleCloudDialogflowV2beta1SessionEntityType(), ]; -void checkUnnamed7247( +void checkUnnamed7324( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1SessionEntityType(o[0]); @@ -16012,12 +16012,12 @@ api.GoogleCloudDialogflowV2beta1WebhookResponse if (buildCounterGoogleCloudDialogflowV2beta1WebhookResponse < 3) { o.endInteraction = true; o.followupEventInput = buildGoogleCloudDialogflowV2beta1EventInput(); - o.fulfillmentMessages = buildUnnamed7244(); + o.fulfillmentMessages = buildUnnamed7321(); o.fulfillmentText = 'foo'; o.liveAgentHandoff = true; - o.outputContexts = buildUnnamed7245(); - o.payload = buildUnnamed7246(); - o.sessionEntityTypes = buildUnnamed7247(); + o.outputContexts = buildUnnamed7322(); + o.payload = buildUnnamed7323(); + o.sessionEntityTypes = buildUnnamed7324(); o.source = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1WebhookResponse--; @@ -16030,15 +16030,15 @@ void checkGoogleCloudDialogflowV2beta1WebhookResponse( if (buildCounterGoogleCloudDialogflowV2beta1WebhookResponse < 3) { unittest.expect(o.endInteraction!, unittest.isTrue); checkGoogleCloudDialogflowV2beta1EventInput(o.followupEventInput!); - checkUnnamed7244(o.fulfillmentMessages!); + checkUnnamed7321(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), ); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed7245(o.outputContexts!); - checkUnnamed7246(o.payload!); - checkUnnamed7247(o.sessionEntityTypes!); + checkUnnamed7322(o.outputContexts!); + checkUnnamed7323(o.payload!); + checkUnnamed7324(o.sessionEntityTypes!); unittest.expect( o.source!, unittest.equals('foo'), @@ -16157,12 +16157,12 @@ void checkGoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata( buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata--; } -core.List buildUnnamed7248() => [ +core.List buildUnnamed7325() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed7248(core.List o) { +void checkUnnamed7325(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -16174,7 +16174,7 @@ api.GoogleCloudDialogflowV3alpha1ImportDocumentsResponse final o = api.GoogleCloudDialogflowV3alpha1ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed7248(); + o.warnings = buildUnnamed7325(); } buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse--; return o; @@ -16184,7 +16184,7 @@ void checkGoogleCloudDialogflowV3alpha1ImportDocumentsResponse( api.GoogleCloudDialogflowV3alpha1ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse < 3) { - checkUnnamed7248(o.warnings!); + checkUnnamed7325(o.warnings!); } buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse--; } @@ -16243,44 +16243,61 @@ void checkGoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata( buildCounterGoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata--; } -core.List buildUnnamed7249() => [ - buildGoogleLongrunningOperation(), - buildGoogleLongrunningOperation(), +core.List buildUnnamed7326() => [ + buildGoogleCloudLocationLocation(), + buildGoogleCloudLocationLocation(), ]; -void checkUnnamed7249(core.List o) { +void checkUnnamed7326(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleLongrunningOperation(o[0]); - checkGoogleLongrunningOperation(o[1]); + checkGoogleCloudLocationLocation(o[0]); + checkGoogleCloudLocationLocation(o[1]); } -core.int buildCounterGoogleLongrunningListOperationsResponse = 0; -api.GoogleLongrunningListOperationsResponse - buildGoogleLongrunningListOperationsResponse() { - final o = api.GoogleLongrunningListOperationsResponse(); - buildCounterGoogleLongrunningListOperationsResponse++; - if (buildCounterGoogleLongrunningListOperationsResponse < 3) { +core.int buildCounterGoogleCloudLocationListLocationsResponse = 0; +api.GoogleCloudLocationListLocationsResponse + buildGoogleCloudLocationListLocationsResponse() { + final o = api.GoogleCloudLocationListLocationsResponse(); + buildCounterGoogleCloudLocationListLocationsResponse++; + if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { + o.locations = buildUnnamed7326(); o.nextPageToken = 'foo'; - o.operations = buildUnnamed7249(); } - buildCounterGoogleLongrunningListOperationsResponse--; + buildCounterGoogleCloudLocationListLocationsResponse--; return o; } -void checkGoogleLongrunningListOperationsResponse( - api.GoogleLongrunningListOperationsResponse o) { - buildCounterGoogleLongrunningListOperationsResponse++; - if (buildCounterGoogleLongrunningListOperationsResponse < 3) { +void checkGoogleCloudLocationListLocationsResponse( + api.GoogleCloudLocationListLocationsResponse o) { + buildCounterGoogleCloudLocationListLocationsResponse++; + if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { + checkUnnamed7326(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7249(o.operations!); } - buildCounterGoogleLongrunningListOperationsResponse--; + buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed7250() => { +core.Map buildUnnamed7327() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed7327(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed7328() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16293,7 +16310,7 @@ core.Map buildUnnamed7250() => { }, }; -void checkUnnamed7250(core.Map o) { +void checkUnnamed7328(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted81 = (o['x']!) as core.Map; unittest.expect(casted81, unittest.hasLength(3)); @@ -16325,7 +16342,80 @@ void checkUnnamed7250(core.Map o) { ); } -core.Map buildUnnamed7251() => { +core.int buildCounterGoogleCloudLocationLocation = 0; +api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { + final o = api.GoogleCloudLocationLocation(); + buildCounterGoogleCloudLocationLocation++; + if (buildCounterGoogleCloudLocationLocation < 3) { + o.displayName = 'foo'; + o.labels = buildUnnamed7327(); + o.locationId = 'foo'; + o.metadata = buildUnnamed7328(); + o.name = 'foo'; + } + buildCounterGoogleCloudLocationLocation--; + return o; +} + +void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { + buildCounterGoogleCloudLocationLocation++; + if (buildCounterGoogleCloudLocationLocation < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed7327(o.labels!); + unittest.expect( + o.locationId!, + unittest.equals('foo'), + ); + checkUnnamed7328(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudLocationLocation--; +} + +core.List buildUnnamed7329() => [ + buildGoogleLongrunningOperation(), + buildGoogleLongrunningOperation(), + ]; + +void checkUnnamed7329(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleLongrunningOperation(o[0]); + checkGoogleLongrunningOperation(o[1]); +} + +core.int buildCounterGoogleLongrunningListOperationsResponse = 0; +api.GoogleLongrunningListOperationsResponse + buildGoogleLongrunningListOperationsResponse() { + final o = api.GoogleLongrunningListOperationsResponse(); + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed7329(); + } + buildCounterGoogleLongrunningListOperationsResponse--; + return o; +} + +void checkGoogleLongrunningListOperationsResponse( + api.GoogleLongrunningListOperationsResponse o) { + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed7329(o.operations!); + } + buildCounterGoogleLongrunningListOperationsResponse--; +} + +core.Map buildUnnamed7330() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16338,7 +16428,7 @@ core.Map buildUnnamed7251() => { }, }; -void checkUnnamed7251(core.Map o) { +void checkUnnamed7330(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted83 = (o['x']!) as core.Map; unittest.expect(casted83, unittest.hasLength(3)); @@ -16370,6 +16460,51 @@ void checkUnnamed7251(core.Map o) { ); } +core.Map buildUnnamed7331() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed7331(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted85 = (o['x']!) as core.Map; + unittest.expect(casted85, unittest.hasLength(3)); + unittest.expect( + casted85['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted85['bool'], + unittest.equals(true), + ); + unittest.expect( + casted85['string'], + unittest.equals('foo'), + ); + var casted86 = (o['y']!) as core.Map; + unittest.expect(casted86, unittest.hasLength(3)); + unittest.expect( + casted86['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted86['bool'], + unittest.equals(true), + ); + unittest.expect( + casted86['string'], + unittest.equals('foo'), + ); +} + core.int buildCounterGoogleLongrunningOperation = 0; api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { final o = api.GoogleLongrunningOperation(); @@ -16377,9 +16512,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed7250(); + o.metadata = buildUnnamed7330(); o.name = 'foo'; - o.response = buildUnnamed7251(); + o.response = buildUnnamed7331(); } buildCounterGoogleLongrunningOperation--; return o; @@ -16390,12 +16525,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed7250(o.metadata!); + checkUnnamed7330(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7251(o.response!); + checkUnnamed7331(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -16415,7 +16550,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed7252() => { +core.Map buildUnnamed7332() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16428,47 +16563,47 @@ core.Map buildUnnamed7252() => { }, }; -void checkUnnamed7252(core.Map o) { +void checkUnnamed7332(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted85 = (o['x']!) as core.Map; - unittest.expect(casted85, unittest.hasLength(3)); + var casted87 = (o['x']!) as core.Map; + unittest.expect(casted87, unittest.hasLength(3)); unittest.expect( - casted85['list'], + casted87['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted85['bool'], + casted87['bool'], unittest.equals(true), ); unittest.expect( - casted85['string'], + casted87['string'], unittest.equals('foo'), ); - var casted86 = (o['y']!) as core.Map; - unittest.expect(casted86, unittest.hasLength(3)); + var casted88 = (o['y']!) as core.Map; + unittest.expect(casted88, unittest.hasLength(3)); unittest.expect( - casted86['list'], + casted88['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted86['bool'], + casted88['bool'], unittest.equals(true), ); unittest.expect( - casted86['string'], + casted88['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed7253() => [ - buildUnnamed7252(), - buildUnnamed7252(), +core.List> buildUnnamed7333() => [ + buildUnnamed7332(), + buildUnnamed7332(), ]; -void checkUnnamed7253(core.List> o) { +void checkUnnamed7333(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7252(o[0]); - checkUnnamed7252(o[1]); + checkUnnamed7332(o[0]); + checkUnnamed7332(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -16477,7 +16612,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed7253(); + o.details = buildUnnamed7333(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -16491,7 +16626,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed7253(o.details!); + checkUnnamed7333(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -20839,6 +20974,26 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudLocationListLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudLocationListLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudLocationListLocationsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudLocationListLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudLocationLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudLocationLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudLocationLocation.fromJson( + oJson as core.Map); + checkGoogleCloudLocationLocation(od); + }); + }); + unittest.group('obj-schema-GoogleLongrunningListOperationsResponse', () { unittest.test('to-json--from-json', () async { final o = buildGoogleLongrunningListOperationsResponse(); @@ -27489,6 +27644,59 @@ void main() { checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudLocationLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudLocationLocation( + response as api.GoogleCloudLocationLocation); + }); + unittest.test('method--getAgent', () async { final mock = HttpServerMock(); final res = api.DialogflowApi(mock).projects.locations; @@ -27542,6 +27750,79 @@ void main() { response as api.GoogleCloudDialogflowV2Agent); }); + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudLocationListLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudLocationListLocationsResponse( + response as api.GoogleCloudLocationListLocationsResponse); + }); + unittest.test('method--setAgent', () async { final mock = HttpServerMock(); final res = api.DialogflowApi(mock).projects.locations; diff --git a/generated/googleapis/test/dialogflow/v3_test.dart b/generated/googleapis/test/dialogflow/v3_test.dart index 416a029ff..6b9327ef6 100644 --- a/generated/googleapis/test/dialogflow/v3_test.dart +++ b/generated/googleapis/test/dialogflow/v3_test.dart @@ -26,12 +26,61 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6652() => [ +core.int buildCounterGoogleCloudDialogflowCxV3AdvancedSettings = 0; +api.GoogleCloudDialogflowCxV3AdvancedSettings + buildGoogleCloudDialogflowCxV3AdvancedSettings() { + final o = api.GoogleCloudDialogflowCxV3AdvancedSettings(); + buildCounterGoogleCloudDialogflowCxV3AdvancedSettings++; + if (buildCounterGoogleCloudDialogflowCxV3AdvancedSettings < 3) { + o.loggingSettings = + buildGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings(); + } + buildCounterGoogleCloudDialogflowCxV3AdvancedSettings--; + return o; +} + +void checkGoogleCloudDialogflowCxV3AdvancedSettings( + api.GoogleCloudDialogflowCxV3AdvancedSettings o) { + buildCounterGoogleCloudDialogflowCxV3AdvancedSettings++; + if (buildCounterGoogleCloudDialogflowCxV3AdvancedSettings < 3) { + checkGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( + o.loggingSettings!); + } + buildCounterGoogleCloudDialogflowCxV3AdvancedSettings--; +} + +core.int buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings = + 0; +api.GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings + buildGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings() { + final o = api.GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings(); + buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings++; + if (buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings < + 3) { + o.enableInteractionLogging = true; + o.enableStackdriverLogging = true; + } + buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings--; + return o; +} + +void checkGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings( + api.GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings o) { + buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings++; + if (buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings < + 3) { + unittest.expect(o.enableInteractionLogging!, unittest.isTrue); + unittest.expect(o.enableStackdriverLogging!, unittest.isTrue); + } + buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings--; +} + +core.List buildUnnamed6723() => [ 'foo', 'foo', ]; -void checkUnnamed6652(core.List o) { +void checkUnnamed6723(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,6 +97,7 @@ api.GoogleCloudDialogflowCxV3Agent buildGoogleCloudDialogflowCxV3Agent() { final o = api.GoogleCloudDialogflowCxV3Agent(); buildCounterGoogleCloudDialogflowCxV3Agent++; if (buildCounterGoogleCloudDialogflowCxV3Agent < 3) { + o.advancedSettings = buildGoogleCloudDialogflowCxV3AdvancedSettings(); o.avatarUri = 'foo'; o.defaultLanguageCode = 'foo'; o.description = 'foo'; @@ -59,7 +109,7 @@ api.GoogleCloudDialogflowCxV3Agent buildGoogleCloudDialogflowCxV3Agent() { o.speechToTextSettings = buildGoogleCloudDialogflowCxV3SpeechToTextSettings(); o.startFlow = 'foo'; - o.supportedLanguageCodes = buildUnnamed6652(); + o.supportedLanguageCodes = buildUnnamed6723(); o.timeZone = 'foo'; } buildCounterGoogleCloudDialogflowCxV3Agent--; @@ -69,6 +119,7 @@ api.GoogleCloudDialogflowCxV3Agent buildGoogleCloudDialogflowCxV3Agent() { void checkGoogleCloudDialogflowCxV3Agent(api.GoogleCloudDialogflowCxV3Agent o) { buildCounterGoogleCloudDialogflowCxV3Agent++; if (buildCounterGoogleCloudDialogflowCxV3Agent < 3) { + checkGoogleCloudDialogflowCxV3AdvancedSettings(o.advancedSettings!); unittest.expect( o.avatarUri!, unittest.equals('foo'), @@ -100,7 +151,7 @@ void checkGoogleCloudDialogflowCxV3Agent(api.GoogleCloudDialogflowCxV3Agent o) { o.startFlow!, unittest.equals('foo'), ); - checkUnnamed6652(o.supportedLanguageCodes!); + checkUnnamed6723(o.supportedLanguageCodes!); unittest.expect( o.timeZone!, unittest.equals('foo'), @@ -110,12 +161,12 @@ void checkGoogleCloudDialogflowCxV3Agent(api.GoogleCloudDialogflowCxV3Agent o) { } core.List - buildUnnamed6653() => [ + buildUnnamed6724() => [ buildGoogleCloudDialogflowCxV3FlowValidationResult(), buildGoogleCloudDialogflowCxV3FlowValidationResult(), ]; -void checkUnnamed6653( +void checkUnnamed6724( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FlowValidationResult(o[0]); @@ -128,7 +179,7 @@ api.GoogleCloudDialogflowCxV3AgentValidationResult final o = api.GoogleCloudDialogflowCxV3AgentValidationResult(); buildCounterGoogleCloudDialogflowCxV3AgentValidationResult++; if (buildCounterGoogleCloudDialogflowCxV3AgentValidationResult < 3) { - o.flowValidationResults = buildUnnamed6653(); + o.flowValidationResults = buildUnnamed6724(); o.name = 'foo'; } buildCounterGoogleCloudDialogflowCxV3AgentValidationResult--; @@ -139,7 +190,7 @@ void checkGoogleCloudDialogflowCxV3AgentValidationResult( api.GoogleCloudDialogflowCxV3AgentValidationResult o) { buildCounterGoogleCloudDialogflowCxV3AgentValidationResult++; if (buildCounterGoogleCloudDialogflowCxV3AgentValidationResult < 3) { - checkUnnamed6653(o.flowValidationResults!); + checkUnnamed6724(o.flowValidationResults!); unittest.expect( o.name!, unittest.equals('foo'), @@ -174,12 +225,12 @@ void checkGoogleCloudDialogflowCxV3AudioInput( buildCounterGoogleCloudDialogflowCxV3AudioInput--; } -core.List buildUnnamed6654() => [ +core.List buildUnnamed6725() => [ 'foo', 'foo', ]; -void checkUnnamed6654(core.List o) { +void checkUnnamed6725(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -197,7 +248,7 @@ api.GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest final o = api.GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest(); buildCounterGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest++; if (buildCounterGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest < 3) { - o.names = buildUnnamed6654(); + o.names = buildUnnamed6725(); } buildCounterGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest--; return o; @@ -207,17 +258,17 @@ void checkGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest( api.GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest o) { buildCounterGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest++; if (buildCounterGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest < 3) { - checkUnnamed6654(o.names!); + checkUnnamed6725(o.names!); } buildCounterGoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest--; } -core.List buildUnnamed6655() => [ +core.List buildUnnamed6726() => [ buildGoogleCloudDialogflowCxV3TestError(), buildGoogleCloudDialogflowCxV3TestError(), ]; -void checkUnnamed6655(core.List o) { +void checkUnnamed6726(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestError(o[0]); checkGoogleCloudDialogflowCxV3TestError(o[1]); @@ -229,7 +280,7 @@ api.GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata < 3) { - o.errors = buildUnnamed6655(); + o.errors = buildUnnamed6726(); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata--; return o; @@ -239,17 +290,17 @@ void checkGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata( api.GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata < 3) { - checkUnnamed6655(o.errors!); + checkUnnamed6726(o.errors!); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesMetadata--; } -core.List buildUnnamed6656() => [ +core.List buildUnnamed6727() => [ 'foo', 'foo', ]; -void checkUnnamed6656(core.List o) { +void checkUnnamed6727(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -268,7 +319,7 @@ api.GoogleCloudDialogflowCxV3BatchRunTestCasesRequest buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesRequest++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesRequest < 3) { o.environment = 'foo'; - o.testCases = buildUnnamed6656(); + o.testCases = buildUnnamed6727(); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesRequest--; return o; @@ -282,17 +333,17 @@ void checkGoogleCloudDialogflowCxV3BatchRunTestCasesRequest( o.environment!, unittest.equals('foo'), ); - checkUnnamed6656(o.testCases!); + checkUnnamed6727(o.testCases!); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesRequest--; } -core.List buildUnnamed6657() => [ +core.List buildUnnamed6728() => [ buildGoogleCloudDialogflowCxV3TestCaseResult(), buildGoogleCloudDialogflowCxV3TestCaseResult(), ]; -void checkUnnamed6657( +void checkUnnamed6728( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestCaseResult(o[0]); @@ -305,7 +356,7 @@ api.GoogleCloudDialogflowCxV3BatchRunTestCasesResponse final o = api.GoogleCloudDialogflowCxV3BatchRunTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse < 3) { - o.results = buildUnnamed6657(); + o.results = buildUnnamed6728(); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse--; return o; @@ -315,7 +366,7 @@ void checkGoogleCloudDialogflowCxV3BatchRunTestCasesResponse( api.GoogleCloudDialogflowCxV3BatchRunTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse < 3) { - checkUnnamed6657(o.results!); + checkUnnamed6728(o.results!); } buildCounterGoogleCloudDialogflowCxV3BatchRunTestCasesResponse--; } @@ -352,12 +403,12 @@ void checkGoogleCloudDialogflowCxV3CalculateCoverageResponse( buildCounterGoogleCloudDialogflowCxV3CalculateCoverageResponse--; } -core.List buildUnnamed6658() => [ +core.List buildUnnamed6729() => [ 'foo', 'foo', ]; -void checkUnnamed6658(core.List o) { +void checkUnnamed6729(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -378,7 +429,7 @@ api.GoogleCloudDialogflowCxV3ContinuousTestResult o.name = 'foo'; o.result = 'foo'; o.runTime = 'foo'; - o.testCaseResults = buildUnnamed6658(); + o.testCaseResults = buildUnnamed6729(); } buildCounterGoogleCloudDialogflowCxV3ContinuousTestResult--; return o; @@ -400,7 +451,7 @@ void checkGoogleCloudDialogflowCxV3ContinuousTestResult( o.runTime!, unittest.equals('foo'), ); - checkUnnamed6658(o.testCaseResults!); + checkUnnamed6729(o.testCaseResults!); } buildCounterGoogleCloudDialogflowCxV3ContinuousTestResult--; } @@ -430,7 +481,7 @@ void checkGoogleCloudDialogflowCxV3ConversationTurn( buildCounterGoogleCloudDialogflowCxV3ConversationTurn--; } -core.Map buildUnnamed6659() => { +core.Map buildUnnamed6730() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -443,7 +494,7 @@ core.Map buildUnnamed6659() => { }, }; -void checkUnnamed6659(core.Map o) { +void checkUnnamed6730(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -482,7 +533,7 @@ api.GoogleCloudDialogflowCxV3ConversationTurnUserInput buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput < 3) { o.enableSentimentAnalysis = true; - o.injectedParameters = buildUnnamed6659(); + o.injectedParameters = buildUnnamed6730(); o.input = buildGoogleCloudDialogflowCxV3QueryInput(); o.isWebhookEnabled = true; } @@ -495,14 +546,14 @@ void checkGoogleCloudDialogflowCxV3ConversationTurnUserInput( buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput < 3) { unittest.expect(o.enableSentimentAnalysis!, unittest.isTrue); - checkUnnamed6659(o.injectedParameters!); + checkUnnamed6730(o.injectedParameters!); checkGoogleCloudDialogflowCxV3QueryInput(o.input!); unittest.expect(o.isWebhookEnabled!, unittest.isTrue); } buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput--; } -core.Map buildUnnamed6660() => { +core.Map buildUnnamed6731() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -515,7 +566,7 @@ core.Map buildUnnamed6660() => { }, }; -void checkUnnamed6660(core.Map o) { +void checkUnnamed6731(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -547,20 +598,20 @@ void checkUnnamed6660(core.Map o) { ); } -core.List buildUnnamed6661() => +core.List buildUnnamed6732() => [ buildGoogleCloudDialogflowCxV3TestRunDifference(), buildGoogleCloudDialogflowCxV3TestRunDifference(), ]; -void checkUnnamed6661( +void checkUnnamed6732( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestRunDifference(o[0]); checkGoogleCloudDialogflowCxV3TestRunDifference(o[1]); } -core.Map buildUnnamed6662() => { +core.Map buildUnnamed6733() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -573,7 +624,7 @@ core.Map buildUnnamed6662() => { }, }; -void checkUnnamed6662(core.Map o) { +void checkUnnamed6733(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -606,12 +657,12 @@ void checkUnnamed6662(core.Map o) { } core.List - buildUnnamed6663() => [ + buildUnnamed6734() => [ buildGoogleCloudDialogflowCxV3ResponseMessageText(), buildGoogleCloudDialogflowCxV3ResponseMessageText(), ]; -void checkUnnamed6663( +void checkUnnamed6734( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessageText(o[0]); @@ -627,11 +678,11 @@ api.GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput < 3) { o.currentPage = buildGoogleCloudDialogflowCxV3Page(); - o.diagnosticInfo = buildUnnamed6660(); - o.differences = buildUnnamed6661(); - o.sessionParameters = buildUnnamed6662(); + o.diagnosticInfo = buildUnnamed6731(); + o.differences = buildUnnamed6732(); + o.sessionParameters = buildUnnamed6733(); o.status = buildGoogleRpcStatus(); - o.textResponses = buildUnnamed6663(); + o.textResponses = buildUnnamed6734(); o.triggeredIntent = buildGoogleCloudDialogflowCxV3Intent(); } buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput--; @@ -644,11 +695,11 @@ void checkGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput( if (buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput < 3) { checkGoogleCloudDialogflowCxV3Page(o.currentPage!); - checkUnnamed6660(o.diagnosticInfo!); - checkUnnamed6661(o.differences!); - checkUnnamed6662(o.sessionParameters!); + checkUnnamed6731(o.diagnosticInfo!); + checkUnnamed6732(o.differences!); + checkUnnamed6733(o.sessionParameters!); checkGoogleRpcStatus(o.status!); - checkUnnamed6663(o.textResponses!); + checkUnnamed6734(o.textResponses!); checkGoogleCloudDialogflowCxV3Intent(o.triggeredIntent!); } buildCounterGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput--; @@ -825,12 +876,12 @@ void checkGoogleCloudDialogflowCxV3DtmfInput( buildCounterGoogleCloudDialogflowCxV3DtmfInput--; } -core.List buildUnnamed6664() => [ +core.List buildUnnamed6735() => [ buildGoogleCloudDialogflowCxV3EntityTypeEntity(), buildGoogleCloudDialogflowCxV3EntityTypeEntity(), ]; -void checkUnnamed6664( +void checkUnnamed6735( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EntityTypeEntity(o[0]); @@ -838,12 +889,12 @@ void checkUnnamed6664( } core.List - buildUnnamed6665() => [ + buildUnnamed6736() => [ buildGoogleCloudDialogflowCxV3EntityTypeExcludedPhrase(), buildGoogleCloudDialogflowCxV3EntityTypeExcludedPhrase(), ]; -void checkUnnamed6665( +void checkUnnamed6736( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EntityTypeExcludedPhrase(o[0]); @@ -859,8 +910,8 @@ api.GoogleCloudDialogflowCxV3EntityType o.autoExpansionMode = 'foo'; o.displayName = 'foo'; o.enableFuzzyExtraction = true; - o.entities = buildUnnamed6664(); - o.excludedPhrases = buildUnnamed6665(); + o.entities = buildUnnamed6735(); + o.excludedPhrases = buildUnnamed6736(); o.kind = 'foo'; o.name = 'foo'; o.redact = true; @@ -882,8 +933,8 @@ void checkGoogleCloudDialogflowCxV3EntityType( unittest.equals('foo'), ); unittest.expect(o.enableFuzzyExtraction!, unittest.isTrue); - checkUnnamed6664(o.entities!); - checkUnnamed6665(o.excludedPhrases!); + checkUnnamed6735(o.entities!); + checkUnnamed6736(o.excludedPhrases!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -897,12 +948,12 @@ void checkGoogleCloudDialogflowCxV3EntityType( buildCounterGoogleCloudDialogflowCxV3EntityType--; } -core.List buildUnnamed6666() => [ +core.List buildUnnamed6737() => [ 'foo', 'foo', ]; -void checkUnnamed6666(core.List o) { +void checkUnnamed6737(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -920,7 +971,7 @@ api.GoogleCloudDialogflowCxV3EntityTypeEntity final o = api.GoogleCloudDialogflowCxV3EntityTypeEntity(); buildCounterGoogleCloudDialogflowCxV3EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowCxV3EntityTypeEntity < 3) { - o.synonyms = buildUnnamed6666(); + o.synonyms = buildUnnamed6737(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowCxV3EntityTypeEntity--; @@ -931,7 +982,7 @@ void checkGoogleCloudDialogflowCxV3EntityTypeEntity( api.GoogleCloudDialogflowCxV3EntityTypeEntity o) { buildCounterGoogleCloudDialogflowCxV3EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowCxV3EntityTypeEntity < 3) { - checkUnnamed6666(o.synonyms!); + checkUnnamed6737(o.synonyms!); unittest.expect( o.value!, unittest.equals('foo'), @@ -965,12 +1016,12 @@ void checkGoogleCloudDialogflowCxV3EntityTypeExcludedPhrase( } core.List - buildUnnamed6667() => [ + buildUnnamed6738() => [ buildGoogleCloudDialogflowCxV3EnvironmentVersionConfig(), buildGoogleCloudDialogflowCxV3EnvironmentVersionConfig(), ]; -void checkUnnamed6667( +void checkUnnamed6738( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EnvironmentVersionConfig(o[0]); @@ -987,7 +1038,7 @@ api.GoogleCloudDialogflowCxV3Environment o.displayName = 'foo'; o.name = 'foo'; o.updateTime = 'foo'; - o.versionConfigs = buildUnnamed6667(); + o.versionConfigs = buildUnnamed6738(); } buildCounterGoogleCloudDialogflowCxV3Environment--; return o; @@ -1013,7 +1064,7 @@ void checkGoogleCloudDialogflowCxV3Environment( o.updateTime!, unittest.equals('foo'), ); - checkUnnamed6667(o.versionConfigs!); + checkUnnamed6738(o.versionConfigs!); } buildCounterGoogleCloudDialogflowCxV3Environment--; } @@ -1107,12 +1158,12 @@ void checkGoogleCloudDialogflowCxV3EventInput( buildCounterGoogleCloudDialogflowCxV3EventInput--; } -core.List buildUnnamed6668() => [ +core.List buildUnnamed6739() => [ buildGoogleCloudDialogflowCxV3VariantsHistory(), buildGoogleCloudDialogflowCxV3VariantsHistory(), ]; -void checkUnnamed6668( +void checkUnnamed6739( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3VariantsHistory(o[0]); @@ -1134,9 +1185,12 @@ api.GoogleCloudDialogflowCxV3Experiment o.lastUpdateTime = 'foo'; o.name = 'foo'; o.result = buildGoogleCloudDialogflowCxV3ExperimentResult(); + o.rolloutConfig = buildGoogleCloudDialogflowCxV3RolloutConfig(); + o.rolloutFailureReason = 'foo'; + o.rolloutState = buildGoogleCloudDialogflowCxV3RolloutState(); o.startTime = 'foo'; o.state = 'foo'; - o.variantsHistory = buildUnnamed6668(); + o.variantsHistory = buildUnnamed6739(); } buildCounterGoogleCloudDialogflowCxV3Experiment--; return o; @@ -1176,6 +1230,12 @@ void checkGoogleCloudDialogflowCxV3Experiment( unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3ExperimentResult(o.result!); + checkGoogleCloudDialogflowCxV3RolloutConfig(o.rolloutConfig!); + unittest.expect( + o.rolloutFailureReason!, + unittest.equals('foo'), + ); + checkGoogleCloudDialogflowCxV3RolloutState(o.rolloutState!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -1184,7 +1244,7 @@ void checkGoogleCloudDialogflowCxV3Experiment( o.state!, unittest.equals('foo'), ); - checkUnnamed6668(o.variantsHistory!); + checkUnnamed6739(o.variantsHistory!); } buildCounterGoogleCloudDialogflowCxV3Experiment--; } @@ -1216,12 +1276,12 @@ void checkGoogleCloudDialogflowCxV3ExperimentDefinition( } core.List - buildUnnamed6669() => [ + buildUnnamed6740() => [ buildGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics(), buildGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics(), ]; -void checkUnnamed6669( +void checkUnnamed6740( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics(o[0]); @@ -1235,7 +1295,7 @@ api.GoogleCloudDialogflowCxV3ExperimentResult buildCounterGoogleCloudDialogflowCxV3ExperimentResult++; if (buildCounterGoogleCloudDialogflowCxV3ExperimentResult < 3) { o.lastUpdateTime = 'foo'; - o.versionMetrics = buildUnnamed6669(); + o.versionMetrics = buildUnnamed6740(); } buildCounterGoogleCloudDialogflowCxV3ExperimentResult--; return o; @@ -1249,7 +1309,7 @@ void checkGoogleCloudDialogflowCxV3ExperimentResult( o.lastUpdateTime!, unittest.equals('foo'), ); - checkUnnamed6669(o.versionMetrics!); + checkUnnamed6740(o.versionMetrics!); } buildCounterGoogleCloudDialogflowCxV3ExperimentResult--; } @@ -1340,12 +1400,12 @@ void checkGoogleCloudDialogflowCxV3ExperimentResultMetric( } core.List - buildUnnamed6670() => [ + buildUnnamed6741() => [ buildGoogleCloudDialogflowCxV3ExperimentResultMetric(), buildGoogleCloudDialogflowCxV3ExperimentResultMetric(), ]; -void checkUnnamed6670( +void checkUnnamed6741( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ExperimentResultMetric(o[0]); @@ -1359,7 +1419,7 @@ api.GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics final o = api.GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics(); buildCounterGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics++; if (buildCounterGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics < 3) { - o.metrics = buildUnnamed6670(); + o.metrics = buildUnnamed6741(); o.sessionCount = 42; o.version = 'foo'; } @@ -1371,7 +1431,7 @@ void checkGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics( api.GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics o) { buildCounterGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics++; if (buildCounterGoogleCloudDialogflowCxV3ExperimentResultVersionMetrics < 3) { - checkUnnamed6670(o.metrics!); + checkUnnamed6741(o.metrics!); unittest.expect( o.sessionCount!, unittest.equals(42), @@ -1577,23 +1637,23 @@ void checkGoogleCloudDialogflowCxV3ExportTestCasesResponse( buildCounterGoogleCloudDialogflowCxV3ExportTestCasesResponse--; } -core.List buildUnnamed6671() => [ +core.List buildUnnamed6742() => [ buildGoogleCloudDialogflowCxV3EventHandler(), buildGoogleCloudDialogflowCxV3EventHandler(), ]; -void checkUnnamed6671(core.List o) { +void checkUnnamed6742(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EventHandler(o[0]); checkGoogleCloudDialogflowCxV3EventHandler(o[1]); } -core.List buildUnnamed6672() => [ +core.List buildUnnamed6743() => [ 'foo', 'foo', ]; -void checkUnnamed6672(core.List o) { +void checkUnnamed6743(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1605,12 +1665,12 @@ void checkUnnamed6672(core.List o) { ); } -core.List buildUnnamed6673() => [ +core.List buildUnnamed6744() => [ buildGoogleCloudDialogflowCxV3TransitionRoute(), buildGoogleCloudDialogflowCxV3TransitionRoute(), ]; -void checkUnnamed6673( +void checkUnnamed6744( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TransitionRoute(o[0]); @@ -1624,11 +1684,11 @@ api.GoogleCloudDialogflowCxV3Flow buildGoogleCloudDialogflowCxV3Flow() { if (buildCounterGoogleCloudDialogflowCxV3Flow < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.eventHandlers = buildUnnamed6671(); + o.eventHandlers = buildUnnamed6742(); o.name = 'foo'; o.nluSettings = buildGoogleCloudDialogflowCxV3NluSettings(); - o.transitionRouteGroups = buildUnnamed6672(); - o.transitionRoutes = buildUnnamed6673(); + o.transitionRouteGroups = buildUnnamed6743(); + o.transitionRoutes = buildUnnamed6744(); } buildCounterGoogleCloudDialogflowCxV3Flow--; return o; @@ -1645,25 +1705,25 @@ void checkGoogleCloudDialogflowCxV3Flow(api.GoogleCloudDialogflowCxV3Flow o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6671(o.eventHandlers!); + checkUnnamed6742(o.eventHandlers!); unittest.expect( o.name!, unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3NluSettings(o.nluSettings!); - checkUnnamed6672(o.transitionRouteGroups!); - checkUnnamed6673(o.transitionRoutes!); + checkUnnamed6743(o.transitionRouteGroups!); + checkUnnamed6744(o.transitionRoutes!); } buildCounterGoogleCloudDialogflowCxV3Flow--; } -core.List buildUnnamed6674() => +core.List buildUnnamed6745() => [ buildGoogleCloudDialogflowCxV3ValidationMessage(), buildGoogleCloudDialogflowCxV3ValidationMessage(), ]; -void checkUnnamed6674( +void checkUnnamed6745( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ValidationMessage(o[0]); @@ -1678,7 +1738,7 @@ api.GoogleCloudDialogflowCxV3FlowValidationResult if (buildCounterGoogleCloudDialogflowCxV3FlowValidationResult < 3) { o.name = 'foo'; o.updateTime = 'foo'; - o.validationMessages = buildUnnamed6674(); + o.validationMessages = buildUnnamed6745(); } buildCounterGoogleCloudDialogflowCxV3FlowValidationResult--; return o; @@ -1696,17 +1756,17 @@ void checkGoogleCloudDialogflowCxV3FlowValidationResult( o.updateTime!, unittest.equals('foo'), ); - checkUnnamed6674(o.validationMessages!); + checkUnnamed6745(o.validationMessages!); } buildCounterGoogleCloudDialogflowCxV3FlowValidationResult--; } -core.List buildUnnamed6675() => [ +core.List buildUnnamed6746() => [ buildGoogleCloudDialogflowCxV3FormParameter(), buildGoogleCloudDialogflowCxV3FormParameter(), ]; -void checkUnnamed6675(core.List o) { +void checkUnnamed6746(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FormParameter(o[0]); checkGoogleCloudDialogflowCxV3FormParameter(o[1]); @@ -1717,7 +1777,7 @@ api.GoogleCloudDialogflowCxV3Form buildGoogleCloudDialogflowCxV3Form() { final o = api.GoogleCloudDialogflowCxV3Form(); buildCounterGoogleCloudDialogflowCxV3Form++; if (buildCounterGoogleCloudDialogflowCxV3Form < 3) { - o.parameters = buildUnnamed6675(); + o.parameters = buildUnnamed6746(); } buildCounterGoogleCloudDialogflowCxV3Form--; return o; @@ -1726,7 +1786,7 @@ api.GoogleCloudDialogflowCxV3Form buildGoogleCloudDialogflowCxV3Form() { void checkGoogleCloudDialogflowCxV3Form(api.GoogleCloudDialogflowCxV3Form o) { buildCounterGoogleCloudDialogflowCxV3Form++; if (buildCounterGoogleCloudDialogflowCxV3Form < 3) { - checkUnnamed6675(o.parameters!); + checkUnnamed6746(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3Form--; } @@ -1787,12 +1847,12 @@ void checkGoogleCloudDialogflowCxV3FormParameter( buildCounterGoogleCloudDialogflowCxV3FormParameter--; } -core.List buildUnnamed6676() => [ +core.List buildUnnamed6747() => [ buildGoogleCloudDialogflowCxV3EventHandler(), buildGoogleCloudDialogflowCxV3EventHandler(), ]; -void checkUnnamed6676(core.List o) { +void checkUnnamed6747(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EventHandler(o[0]); checkGoogleCloudDialogflowCxV3EventHandler(o[1]); @@ -1805,7 +1865,7 @@ api.GoogleCloudDialogflowCxV3FormParameterFillBehavior buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior++; if (buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior < 3) { o.initialPromptFulfillment = buildGoogleCloudDialogflowCxV3Fulfillment(); - o.repromptEventHandlers = buildUnnamed6676(); + o.repromptEventHandlers = buildUnnamed6747(); } buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior--; return o; @@ -1816,7 +1876,7 @@ void checkGoogleCloudDialogflowCxV3FormParameterFillBehavior( buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior++; if (buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior < 3) { checkGoogleCloudDialogflowCxV3Fulfillment(o.initialPromptFulfillment!); - checkUnnamed6676(o.repromptEventHandlers!); + checkUnnamed6747(o.repromptEventHandlers!); } buildCounterGoogleCloudDialogflowCxV3FormParameterFillBehavior--; } @@ -1880,24 +1940,24 @@ void checkGoogleCloudDialogflowCxV3FulfillIntentResponse( } core.List - buildUnnamed6677() => [ + buildUnnamed6748() => [ buildGoogleCloudDialogflowCxV3FulfillmentConditionalCases(), buildGoogleCloudDialogflowCxV3FulfillmentConditionalCases(), ]; -void checkUnnamed6677( +void checkUnnamed6748( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FulfillmentConditionalCases(o[0]); checkGoogleCloudDialogflowCxV3FulfillmentConditionalCases(o[1]); } -core.List buildUnnamed6678() => [ +core.List buildUnnamed6749() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed6678( +void checkUnnamed6749( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); @@ -1905,12 +1965,12 @@ void checkUnnamed6678( } core.List - buildUnnamed6679() => [ + buildUnnamed6750() => [ buildGoogleCloudDialogflowCxV3FulfillmentSetParameterAction(), buildGoogleCloudDialogflowCxV3FulfillmentSetParameterAction(), ]; -void checkUnnamed6679( +void checkUnnamed6750( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FulfillmentSetParameterAction(o[0]); @@ -1923,10 +1983,10 @@ api.GoogleCloudDialogflowCxV3Fulfillment final o = api.GoogleCloudDialogflowCxV3Fulfillment(); buildCounterGoogleCloudDialogflowCxV3Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3Fulfillment < 3) { - o.conditionalCases = buildUnnamed6677(); - o.messages = buildUnnamed6678(); + o.conditionalCases = buildUnnamed6748(); + o.messages = buildUnnamed6749(); o.returnPartialResponses = true; - o.setParameterActions = buildUnnamed6679(); + o.setParameterActions = buildUnnamed6750(); o.tag = 'foo'; o.webhook = 'foo'; } @@ -1938,10 +1998,10 @@ void checkGoogleCloudDialogflowCxV3Fulfillment( api.GoogleCloudDialogflowCxV3Fulfillment o) { buildCounterGoogleCloudDialogflowCxV3Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3Fulfillment < 3) { - checkUnnamed6677(o.conditionalCases!); - checkUnnamed6678(o.messages!); + checkUnnamed6748(o.conditionalCases!); + checkUnnamed6749(o.messages!); unittest.expect(o.returnPartialResponses!, unittest.isTrue); - checkUnnamed6679(o.setParameterActions!); + checkUnnamed6750(o.setParameterActions!); unittest.expect( o.tag!, unittest.equals('foo'), @@ -1955,12 +2015,12 @@ void checkGoogleCloudDialogflowCxV3Fulfillment( } core.List - buildUnnamed6680() => [ + buildUnnamed6751() => [ buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase(), buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase(), ]; -void checkUnnamed6680( +void checkUnnamed6751( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase(o[0]); @@ -1973,7 +2033,7 @@ api.GoogleCloudDialogflowCxV3FulfillmentConditionalCases final o = api.GoogleCloudDialogflowCxV3FulfillmentConditionalCases(); buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases < 3) { - o.cases = buildUnnamed6680(); + o.cases = buildUnnamed6751(); } buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases--; return o; @@ -1983,19 +2043,19 @@ void checkGoogleCloudDialogflowCxV3FulfillmentConditionalCases( api.GoogleCloudDialogflowCxV3FulfillmentConditionalCases o) { buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases < 3) { - checkUnnamed6680(o.cases!); + checkUnnamed6751(o.cases!); } buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCases--; } core.List< api.GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent> - buildUnnamed6681() => [ + buildUnnamed6752() => [ buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent(), buildGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent(), ]; -void checkUnnamed6681( +void checkUnnamed6752( core.List< api.GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent> o) { @@ -2014,7 +2074,7 @@ api.GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase < 3) { - o.caseContent = buildUnnamed6681(); + o.caseContent = buildUnnamed6752(); o.condition = 'foo'; } buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase--; @@ -2026,7 +2086,7 @@ void checkGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase( buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase < 3) { - checkUnnamed6681(o.caseContent!); + checkUnnamed6752(o.caseContent!); unittest.expect( o.condition!, unittest.equals('foo'), @@ -2161,12 +2221,12 @@ void checkGoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata( buildCounterGoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata--; } -core.List buildUnnamed6682() => [ +core.List buildUnnamed6753() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed6682(core.List o) { +void checkUnnamed6753(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -2178,7 +2238,7 @@ api.GoogleCloudDialogflowCxV3ImportDocumentsResponse final o = api.GoogleCloudDialogflowCxV3ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed6682(); + o.warnings = buildUnnamed6753(); } buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse--; return o; @@ -2188,7 +2248,7 @@ void checkGoogleCloudDialogflowCxV3ImportDocumentsResponse( api.GoogleCloudDialogflowCxV3ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse < 3) { - checkUnnamed6682(o.warnings!); + checkUnnamed6753(o.warnings!); } buildCounterGoogleCloudDialogflowCxV3ImportDocumentsResponse--; } @@ -2251,12 +2311,12 @@ void checkGoogleCloudDialogflowCxV3ImportFlowResponse( buildCounterGoogleCloudDialogflowCxV3ImportFlowResponse--; } -core.List buildUnnamed6683() => [ +core.List buildUnnamed6754() => [ buildGoogleCloudDialogflowCxV3TestCaseError(), buildGoogleCloudDialogflowCxV3TestCaseError(), ]; -void checkUnnamed6683(core.List o) { +void checkUnnamed6754(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestCaseError(o[0]); checkGoogleCloudDialogflowCxV3TestCaseError(o[1]); @@ -2268,7 +2328,7 @@ api.GoogleCloudDialogflowCxV3ImportTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3ImportTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata < 3) { - o.errors = buildUnnamed6683(); + o.errors = buildUnnamed6754(); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata--; return o; @@ -2278,7 +2338,7 @@ void checkGoogleCloudDialogflowCxV3ImportTestCasesMetadata( api.GoogleCloudDialogflowCxV3ImportTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata < 3) { - checkUnnamed6683(o.errors!); + checkUnnamed6754(o.errors!); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesMetadata--; } @@ -2312,12 +2372,12 @@ void checkGoogleCloudDialogflowCxV3ImportTestCasesRequest( buildCounterGoogleCloudDialogflowCxV3ImportTestCasesRequest--; } -core.List buildUnnamed6684() => [ +core.List buildUnnamed6755() => [ 'foo', 'foo', ]; -void checkUnnamed6684(core.List o) { +void checkUnnamed6755(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2335,7 +2395,7 @@ api.GoogleCloudDialogflowCxV3ImportTestCasesResponse final o = api.GoogleCloudDialogflowCxV3ImportTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse < 3) { - o.names = buildUnnamed6684(); + o.names = buildUnnamed6755(); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse--; return o; @@ -2345,17 +2405,17 @@ void checkGoogleCloudDialogflowCxV3ImportTestCasesResponse( api.GoogleCloudDialogflowCxV3ImportTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse < 3) { - checkUnnamed6684(o.names!); + checkUnnamed6755(o.names!); } buildCounterGoogleCloudDialogflowCxV3ImportTestCasesResponse--; } -core.List buildUnnamed6685() => [ +core.List buildUnnamed6756() => [ 'foo', 'foo', ]; -void checkUnnamed6685(core.List o) { +void checkUnnamed6756(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2377,7 +2437,7 @@ api.GoogleCloudDialogflowCxV3InputAudioConfig o.enableWordInfo = true; o.model = 'foo'; o.modelVariant = 'foo'; - o.phraseHints = buildUnnamed6685(); + o.phraseHints = buildUnnamed6756(); o.sampleRateHertz = 42; o.singleUtterance = true; } @@ -2402,7 +2462,7 @@ void checkGoogleCloudDialogflowCxV3InputAudioConfig( o.modelVariant!, unittest.equals('foo'), ); - checkUnnamed6685(o.phraseHints!); + checkUnnamed6756(o.phraseHints!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), @@ -2412,12 +2472,12 @@ void checkGoogleCloudDialogflowCxV3InputAudioConfig( buildCounterGoogleCloudDialogflowCxV3InputAudioConfig--; } -core.Map buildUnnamed6686() => { +core.Map buildUnnamed6757() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6686(core.Map o) { +void checkUnnamed6757(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2429,12 +2489,12 @@ void checkUnnamed6686(core.Map o) { ); } -core.List buildUnnamed6687() => [ +core.List buildUnnamed6758() => [ buildGoogleCloudDialogflowCxV3IntentParameter(), buildGoogleCloudDialogflowCxV3IntentParameter(), ]; -void checkUnnamed6687( +void checkUnnamed6758( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentParameter(o[0]); @@ -2442,12 +2502,12 @@ void checkUnnamed6687( } core.List - buildUnnamed6688() => [ + buildUnnamed6759() => [ buildGoogleCloudDialogflowCxV3IntentTrainingPhrase(), buildGoogleCloudDialogflowCxV3IntentTrainingPhrase(), ]; -void checkUnnamed6688( +void checkUnnamed6759( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentTrainingPhrase(o[0]); @@ -2462,11 +2522,11 @@ api.GoogleCloudDialogflowCxV3Intent buildGoogleCloudDialogflowCxV3Intent() { o.description = 'foo'; o.displayName = 'foo'; o.isFallback = true; - o.labels = buildUnnamed6686(); + o.labels = buildUnnamed6757(); o.name = 'foo'; - o.parameters = buildUnnamed6687(); + o.parameters = buildUnnamed6758(); o.priority = 42; - o.trainingPhrases = buildUnnamed6688(); + o.trainingPhrases = buildUnnamed6759(); } buildCounterGoogleCloudDialogflowCxV3Intent--; return o; @@ -2485,28 +2545,28 @@ void checkGoogleCloudDialogflowCxV3Intent( unittest.equals('foo'), ); unittest.expect(o.isFallback!, unittest.isTrue); - checkUnnamed6686(o.labels!); + checkUnnamed6757(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6687(o.parameters!); + checkUnnamed6758(o.parameters!); unittest.expect( o.priority!, unittest.equals(42), ); - checkUnnamed6688(o.trainingPhrases!); + checkUnnamed6759(o.trainingPhrases!); } buildCounterGoogleCloudDialogflowCxV3Intent--; } core.List - buildUnnamed6689() => [ + buildUnnamed6760() => [ buildGoogleCloudDialogflowCxV3IntentCoverageIntent(), buildGoogleCloudDialogflowCxV3IntentCoverageIntent(), ]; -void checkUnnamed6689( +void checkUnnamed6760( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentCoverageIntent(o[0]); @@ -2520,7 +2580,7 @@ api.GoogleCloudDialogflowCxV3IntentCoverage buildCounterGoogleCloudDialogflowCxV3IntentCoverage++; if (buildCounterGoogleCloudDialogflowCxV3IntentCoverage < 3) { o.coverageScore = 42.0; - o.intents = buildUnnamed6689(); + o.intents = buildUnnamed6760(); } buildCounterGoogleCloudDialogflowCxV3IntentCoverage--; return o; @@ -2534,7 +2594,7 @@ void checkGoogleCloudDialogflowCxV3IntentCoverage( o.coverageScore!, unittest.equals(42.0), ); - checkUnnamed6689(o.intents!); + checkUnnamed6760(o.intents!); } buildCounterGoogleCloudDialogflowCxV3IntentCoverage--; } @@ -2623,12 +2683,12 @@ void checkGoogleCloudDialogflowCxV3IntentParameter( } core.List - buildUnnamed6690() => [ + buildUnnamed6761() => [ buildGoogleCloudDialogflowCxV3IntentTrainingPhrasePart(), buildGoogleCloudDialogflowCxV3IntentTrainingPhrasePart(), ]; -void checkUnnamed6690( +void checkUnnamed6761( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3IntentTrainingPhrasePart(o[0]); @@ -2642,7 +2702,7 @@ api.GoogleCloudDialogflowCxV3IntentTrainingPhrase buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrase < 3) { o.id = 'foo'; - o.parts = buildUnnamed6690(); + o.parts = buildUnnamed6761(); o.repeatCount = 42; } buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrase--; @@ -2657,7 +2717,7 @@ void checkGoogleCloudDialogflowCxV3IntentTrainingPhrase( o.id!, unittest.equals('foo'), ); - checkUnnamed6690(o.parts!); + checkUnnamed6761(o.parts!); unittest.expect( o.repeatCount!, unittest.equals(42), @@ -2695,12 +2755,12 @@ void checkGoogleCloudDialogflowCxV3IntentTrainingPhrasePart( buildCounterGoogleCloudDialogflowCxV3IntentTrainingPhrasePart--; } -core.List buildUnnamed6691() => [ +core.List buildUnnamed6762() => [ buildGoogleCloudDialogflowCxV3Agent(), buildGoogleCloudDialogflowCxV3Agent(), ]; -void checkUnnamed6691(core.List o) { +void checkUnnamed6762(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Agent(o[0]); checkGoogleCloudDialogflowCxV3Agent(o[1]); @@ -2712,7 +2772,7 @@ api.GoogleCloudDialogflowCxV3ListAgentsResponse final o = api.GoogleCloudDialogflowCxV3ListAgentsResponse(); buildCounterGoogleCloudDialogflowCxV3ListAgentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListAgentsResponse < 3) { - o.agents = buildUnnamed6691(); + o.agents = buildUnnamed6762(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListAgentsResponse--; @@ -2723,7 +2783,7 @@ void checkGoogleCloudDialogflowCxV3ListAgentsResponse( api.GoogleCloudDialogflowCxV3ListAgentsResponse o) { buildCounterGoogleCloudDialogflowCxV3ListAgentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListAgentsResponse < 3) { - checkUnnamed6691(o.agents!); + checkUnnamed6762(o.agents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2733,12 +2793,12 @@ void checkGoogleCloudDialogflowCxV3ListAgentsResponse( } core.List - buildUnnamed6692() => [ + buildUnnamed6763() => [ buildGoogleCloudDialogflowCxV3ContinuousTestResult(), buildGoogleCloudDialogflowCxV3ContinuousTestResult(), ]; -void checkUnnamed6692( +void checkUnnamed6763( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ContinuousTestResult(o[0]); @@ -2753,7 +2813,7 @@ api.GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse buildCounterGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse < 3) { - o.continuousTestResults = buildUnnamed6692(); + o.continuousTestResults = buildUnnamed6763(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse--; @@ -2765,7 +2825,7 @@ void checkGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse( buildCounterGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse < 3) { - checkUnnamed6692(o.continuousTestResults!); + checkUnnamed6763(o.continuousTestResults!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2774,12 +2834,12 @@ void checkGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse( buildCounterGoogleCloudDialogflowCxV3ListContinuousTestResultsResponse--; } -core.List buildUnnamed6693() => [ +core.List buildUnnamed6764() => [ buildGoogleCloudDialogflowCxV3EntityType(), buildGoogleCloudDialogflowCxV3EntityType(), ]; -void checkUnnamed6693(core.List o) { +void checkUnnamed6764(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EntityType(o[0]); checkGoogleCloudDialogflowCxV3EntityType(o[1]); @@ -2791,7 +2851,7 @@ api.GoogleCloudDialogflowCxV3ListEntityTypesResponse final o = api.GoogleCloudDialogflowCxV3ListEntityTypesResponse(); buildCounterGoogleCloudDialogflowCxV3ListEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed6693(); + o.entityTypes = buildUnnamed6764(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListEntityTypesResponse--; @@ -2802,7 +2862,7 @@ void checkGoogleCloudDialogflowCxV3ListEntityTypesResponse( api.GoogleCloudDialogflowCxV3ListEntityTypesResponse o) { buildCounterGoogleCloudDialogflowCxV3ListEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListEntityTypesResponse < 3) { - checkUnnamed6693(o.entityTypes!); + checkUnnamed6764(o.entityTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2811,12 +2871,12 @@ void checkGoogleCloudDialogflowCxV3ListEntityTypesResponse( buildCounterGoogleCloudDialogflowCxV3ListEntityTypesResponse--; } -core.List buildUnnamed6694() => [ +core.List buildUnnamed6765() => [ buildGoogleCloudDialogflowCxV3Environment(), buildGoogleCloudDialogflowCxV3Environment(), ]; -void checkUnnamed6694(core.List o) { +void checkUnnamed6765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Environment(o[0]); checkGoogleCloudDialogflowCxV3Environment(o[1]); @@ -2828,7 +2888,7 @@ api.GoogleCloudDialogflowCxV3ListEnvironmentsResponse final o = api.GoogleCloudDialogflowCxV3ListEnvironmentsResponse(); buildCounterGoogleCloudDialogflowCxV3ListEnvironmentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListEnvironmentsResponse < 3) { - o.environments = buildUnnamed6694(); + o.environments = buildUnnamed6765(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListEnvironmentsResponse--; @@ -2839,7 +2899,7 @@ void checkGoogleCloudDialogflowCxV3ListEnvironmentsResponse( api.GoogleCloudDialogflowCxV3ListEnvironmentsResponse o) { buildCounterGoogleCloudDialogflowCxV3ListEnvironmentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListEnvironmentsResponse < 3) { - checkUnnamed6694(o.environments!); + checkUnnamed6765(o.environments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2848,12 +2908,12 @@ void checkGoogleCloudDialogflowCxV3ListEnvironmentsResponse( buildCounterGoogleCloudDialogflowCxV3ListEnvironmentsResponse--; } -core.List buildUnnamed6695() => [ +core.List buildUnnamed6766() => [ buildGoogleCloudDialogflowCxV3Experiment(), buildGoogleCloudDialogflowCxV3Experiment(), ]; -void checkUnnamed6695(core.List o) { +void checkUnnamed6766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Experiment(o[0]); checkGoogleCloudDialogflowCxV3Experiment(o[1]); @@ -2865,7 +2925,7 @@ api.GoogleCloudDialogflowCxV3ListExperimentsResponse final o = api.GoogleCloudDialogflowCxV3ListExperimentsResponse(); buildCounterGoogleCloudDialogflowCxV3ListExperimentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListExperimentsResponse < 3) { - o.experiments = buildUnnamed6695(); + o.experiments = buildUnnamed6766(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListExperimentsResponse--; @@ -2876,7 +2936,7 @@ void checkGoogleCloudDialogflowCxV3ListExperimentsResponse( api.GoogleCloudDialogflowCxV3ListExperimentsResponse o) { buildCounterGoogleCloudDialogflowCxV3ListExperimentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListExperimentsResponse < 3) { - checkUnnamed6695(o.experiments!); + checkUnnamed6766(o.experiments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2885,12 +2945,12 @@ void checkGoogleCloudDialogflowCxV3ListExperimentsResponse( buildCounterGoogleCloudDialogflowCxV3ListExperimentsResponse--; } -core.List buildUnnamed6696() => [ +core.List buildUnnamed6767() => [ buildGoogleCloudDialogflowCxV3Flow(), buildGoogleCloudDialogflowCxV3Flow(), ]; -void checkUnnamed6696(core.List o) { +void checkUnnamed6767(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Flow(o[0]); checkGoogleCloudDialogflowCxV3Flow(o[1]); @@ -2902,7 +2962,7 @@ api.GoogleCloudDialogflowCxV3ListFlowsResponse final o = api.GoogleCloudDialogflowCxV3ListFlowsResponse(); buildCounterGoogleCloudDialogflowCxV3ListFlowsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListFlowsResponse < 3) { - o.flows = buildUnnamed6696(); + o.flows = buildUnnamed6767(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListFlowsResponse--; @@ -2913,7 +2973,7 @@ void checkGoogleCloudDialogflowCxV3ListFlowsResponse( api.GoogleCloudDialogflowCxV3ListFlowsResponse o) { buildCounterGoogleCloudDialogflowCxV3ListFlowsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListFlowsResponse < 3) { - checkUnnamed6696(o.flows!); + checkUnnamed6767(o.flows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2922,12 +2982,12 @@ void checkGoogleCloudDialogflowCxV3ListFlowsResponse( buildCounterGoogleCloudDialogflowCxV3ListFlowsResponse--; } -core.List buildUnnamed6697() => [ +core.List buildUnnamed6768() => [ buildGoogleCloudDialogflowCxV3Intent(), buildGoogleCloudDialogflowCxV3Intent(), ]; -void checkUnnamed6697(core.List o) { +void checkUnnamed6768(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Intent(o[0]); checkGoogleCloudDialogflowCxV3Intent(o[1]); @@ -2939,7 +2999,7 @@ api.GoogleCloudDialogflowCxV3ListIntentsResponse final o = api.GoogleCloudDialogflowCxV3ListIntentsResponse(); buildCounterGoogleCloudDialogflowCxV3ListIntentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListIntentsResponse < 3) { - o.intents = buildUnnamed6697(); + o.intents = buildUnnamed6768(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ListIntentsResponse--; @@ -2950,7 +3010,7 @@ void checkGoogleCloudDialogflowCxV3ListIntentsResponse( api.GoogleCloudDialogflowCxV3ListIntentsResponse o) { buildCounterGoogleCloudDialogflowCxV3ListIntentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListIntentsResponse < 3) { - checkUnnamed6697(o.intents!); + checkUnnamed6768(o.intents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2959,12 +3019,12 @@ void checkGoogleCloudDialogflowCxV3ListIntentsResponse( buildCounterGoogleCloudDialogflowCxV3ListIntentsResponse--; } -core.List buildUnnamed6698() => [ +core.List buildUnnamed6769() => [ buildGoogleCloudDialogflowCxV3Page(), buildGoogleCloudDialogflowCxV3Page(), ]; -void checkUnnamed6698(core.List o) { +void checkUnnamed6769(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Page(o[0]); checkGoogleCloudDialogflowCxV3Page(o[1]); @@ -2977,7 +3037,7 @@ api.GoogleCloudDialogflowCxV3ListPagesResponse buildCounterGoogleCloudDialogflowCxV3ListPagesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListPagesResponse < 3) { o.nextPageToken = 'foo'; - o.pages = buildUnnamed6698(); + o.pages = buildUnnamed6769(); } buildCounterGoogleCloudDialogflowCxV3ListPagesResponse--; return o; @@ -2991,17 +3051,17 @@ void checkGoogleCloudDialogflowCxV3ListPagesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6698(o.pages!); + checkUnnamed6769(o.pages!); } buildCounterGoogleCloudDialogflowCxV3ListPagesResponse--; } -core.List buildUnnamed6699() => [ +core.List buildUnnamed6770() => [ buildGoogleCloudDialogflowCxV3SecuritySettings(), buildGoogleCloudDialogflowCxV3SecuritySettings(), ]; -void checkUnnamed6699( +void checkUnnamed6770( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3SecuritySettings(o[0]); @@ -3015,7 +3075,7 @@ api.GoogleCloudDialogflowCxV3ListSecuritySettingsResponse buildCounterGoogleCloudDialogflowCxV3ListSecuritySettingsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListSecuritySettingsResponse < 3) { o.nextPageToken = 'foo'; - o.securitySettings = buildUnnamed6699(); + o.securitySettings = buildUnnamed6770(); } buildCounterGoogleCloudDialogflowCxV3ListSecuritySettingsResponse--; return o; @@ -3029,18 +3089,18 @@ void checkGoogleCloudDialogflowCxV3ListSecuritySettingsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6699(o.securitySettings!); + checkUnnamed6770(o.securitySettings!); } buildCounterGoogleCloudDialogflowCxV3ListSecuritySettingsResponse--; } -core.List buildUnnamed6700() => +core.List buildUnnamed6771() => [ buildGoogleCloudDialogflowCxV3SessionEntityType(), buildGoogleCloudDialogflowCxV3SessionEntityType(), ]; -void checkUnnamed6700( +void checkUnnamed6771( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3SessionEntityType(o[0]); @@ -3055,7 +3115,7 @@ api.GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse buildCounterGoogleCloudDialogflowCxV3ListSessionEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListSessionEntityTypesResponse < 3) { o.nextPageToken = 'foo'; - o.sessionEntityTypes = buildUnnamed6700(); + o.sessionEntityTypes = buildUnnamed6771(); } buildCounterGoogleCloudDialogflowCxV3ListSessionEntityTypesResponse--; return o; @@ -3069,17 +3129,17 @@ void checkGoogleCloudDialogflowCxV3ListSessionEntityTypesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6700(o.sessionEntityTypes!); + checkUnnamed6771(o.sessionEntityTypes!); } buildCounterGoogleCloudDialogflowCxV3ListSessionEntityTypesResponse--; } -core.List buildUnnamed6701() => [ +core.List buildUnnamed6772() => [ buildGoogleCloudDialogflowCxV3TestCaseResult(), buildGoogleCloudDialogflowCxV3TestCaseResult(), ]; -void checkUnnamed6701( +void checkUnnamed6772( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestCaseResult(o[0]); @@ -3093,7 +3153,7 @@ api.GoogleCloudDialogflowCxV3ListTestCaseResultsResponse buildCounterGoogleCloudDialogflowCxV3ListTestCaseResultsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListTestCaseResultsResponse < 3) { o.nextPageToken = 'foo'; - o.testCaseResults = buildUnnamed6701(); + o.testCaseResults = buildUnnamed6772(); } buildCounterGoogleCloudDialogflowCxV3ListTestCaseResultsResponse--; return o; @@ -3107,17 +3167,17 @@ void checkGoogleCloudDialogflowCxV3ListTestCaseResultsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6701(o.testCaseResults!); + checkUnnamed6772(o.testCaseResults!); } buildCounterGoogleCloudDialogflowCxV3ListTestCaseResultsResponse--; } -core.List buildUnnamed6702() => [ +core.List buildUnnamed6773() => [ buildGoogleCloudDialogflowCxV3TestCase(), buildGoogleCloudDialogflowCxV3TestCase(), ]; -void checkUnnamed6702(core.List o) { +void checkUnnamed6773(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestCase(o[0]); checkGoogleCloudDialogflowCxV3TestCase(o[1]); @@ -3130,7 +3190,7 @@ api.GoogleCloudDialogflowCxV3ListTestCasesResponse buildCounterGoogleCloudDialogflowCxV3ListTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListTestCasesResponse < 3) { o.nextPageToken = 'foo'; - o.testCases = buildUnnamed6702(); + o.testCases = buildUnnamed6773(); } buildCounterGoogleCloudDialogflowCxV3ListTestCasesResponse--; return o; @@ -3144,18 +3204,18 @@ void checkGoogleCloudDialogflowCxV3ListTestCasesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6702(o.testCases!); + checkUnnamed6773(o.testCases!); } buildCounterGoogleCloudDialogflowCxV3ListTestCasesResponse--; } core.List - buildUnnamed6703() => [ + buildUnnamed6774() => [ buildGoogleCloudDialogflowCxV3TransitionRouteGroup(), buildGoogleCloudDialogflowCxV3TransitionRouteGroup(), ]; -void checkUnnamed6703( +void checkUnnamed6774( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TransitionRouteGroup(o[0]); @@ -3171,7 +3231,7 @@ api.GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse if (buildCounterGoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse < 3) { o.nextPageToken = 'foo'; - o.transitionRouteGroups = buildUnnamed6703(); + o.transitionRouteGroups = buildUnnamed6774(); } buildCounterGoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse--; return o; @@ -3186,17 +3246,17 @@ void checkGoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6703(o.transitionRouteGroups!); + checkUnnamed6774(o.transitionRouteGroups!); } buildCounterGoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse--; } -core.List buildUnnamed6704() => [ +core.List buildUnnamed6775() => [ buildGoogleCloudDialogflowCxV3Version(), buildGoogleCloudDialogflowCxV3Version(), ]; -void checkUnnamed6704(core.List o) { +void checkUnnamed6775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Version(o[0]); checkGoogleCloudDialogflowCxV3Version(o[1]); @@ -3209,7 +3269,7 @@ api.GoogleCloudDialogflowCxV3ListVersionsResponse buildCounterGoogleCloudDialogflowCxV3ListVersionsResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.versions = buildUnnamed6704(); + o.versions = buildUnnamed6775(); } buildCounterGoogleCloudDialogflowCxV3ListVersionsResponse--; return o; @@ -3223,17 +3283,17 @@ void checkGoogleCloudDialogflowCxV3ListVersionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6704(o.versions!); + checkUnnamed6775(o.versions!); } buildCounterGoogleCloudDialogflowCxV3ListVersionsResponse--; } -core.List buildUnnamed6705() => [ +core.List buildUnnamed6776() => [ buildGoogleCloudDialogflowCxV3Webhook(), buildGoogleCloudDialogflowCxV3Webhook(), ]; -void checkUnnamed6705(core.List o) { +void checkUnnamed6776(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Webhook(o[0]); checkGoogleCloudDialogflowCxV3Webhook(o[1]); @@ -3246,7 +3306,7 @@ api.GoogleCloudDialogflowCxV3ListWebhooksResponse buildCounterGoogleCloudDialogflowCxV3ListWebhooksResponse++; if (buildCounterGoogleCloudDialogflowCxV3ListWebhooksResponse < 3) { o.nextPageToken = 'foo'; - o.webhooks = buildUnnamed6705(); + o.webhooks = buildUnnamed6776(); } buildCounterGoogleCloudDialogflowCxV3ListWebhooksResponse--; return o; @@ -3260,7 +3320,7 @@ void checkGoogleCloudDialogflowCxV3ListWebhooksResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6705(o.webhooks!); + checkUnnamed6776(o.webhooks!); } buildCounterGoogleCloudDialogflowCxV3ListWebhooksResponse--; } @@ -3286,12 +3346,12 @@ void checkGoogleCloudDialogflowCxV3LoadVersionRequest( buildCounterGoogleCloudDialogflowCxV3LoadVersionRequest--; } -core.List buildUnnamed6706() => [ +core.List buildUnnamed6777() => [ buildGoogleCloudDialogflowCxV3Environment(), buildGoogleCloudDialogflowCxV3Environment(), ]; -void checkUnnamed6706(core.List o) { +void checkUnnamed6777(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Environment(o[0]); checkGoogleCloudDialogflowCxV3Environment(o[1]); @@ -3305,7 +3365,7 @@ api.GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse buildCounterGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse++; if (buildCounterGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse < 3) { - o.environments = buildUnnamed6706(); + o.environments = buildUnnamed6777(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse--; @@ -3317,7 +3377,7 @@ void checkGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse( buildCounterGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse++; if (buildCounterGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse < 3) { - checkUnnamed6706(o.environments!); + checkUnnamed6777(o.environments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3326,7 +3386,7 @@ void checkGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse( buildCounterGoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse--; } -core.Map buildUnnamed6707() => { +core.Map buildUnnamed6778() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3339,7 +3399,7 @@ core.Map buildUnnamed6707() => { }, }; -void checkUnnamed6707(core.Map o) { +void checkUnnamed6778(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3380,7 +3440,7 @@ api.GoogleCloudDialogflowCxV3Match buildGoogleCloudDialogflowCxV3Match() { o.event = 'foo'; o.intent = buildGoogleCloudDialogflowCxV3Intent(); o.matchType = 'foo'; - o.parameters = buildUnnamed6707(); + o.parameters = buildUnnamed6778(); o.resolvedInput = 'foo'; } buildCounterGoogleCloudDialogflowCxV3Match--; @@ -3403,7 +3463,7 @@ void checkGoogleCloudDialogflowCxV3Match(api.GoogleCloudDialogflowCxV3Match o) { o.matchType!, unittest.equals('foo'), ); - checkUnnamed6707(o.parameters!); + checkUnnamed6778(o.parameters!); unittest.expect( o.resolvedInput!, unittest.equals('foo'), @@ -3435,12 +3495,12 @@ void checkGoogleCloudDialogflowCxV3MatchIntentRequest( buildCounterGoogleCloudDialogflowCxV3MatchIntentRequest--; } -core.List buildUnnamed6708() => [ +core.List buildUnnamed6779() => [ buildGoogleCloudDialogflowCxV3Match(), buildGoogleCloudDialogflowCxV3Match(), ]; -void checkUnnamed6708(core.List o) { +void checkUnnamed6779(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3Match(o[0]); checkGoogleCloudDialogflowCxV3Match(o[1]); @@ -3453,7 +3513,7 @@ api.GoogleCloudDialogflowCxV3MatchIntentResponse buildCounterGoogleCloudDialogflowCxV3MatchIntentResponse++; if (buildCounterGoogleCloudDialogflowCxV3MatchIntentResponse < 3) { o.currentPage = buildGoogleCloudDialogflowCxV3Page(); - o.matches = buildUnnamed6708(); + o.matches = buildUnnamed6779(); o.text = 'foo'; o.transcript = 'foo'; o.triggerEvent = 'foo'; @@ -3468,7 +3528,7 @@ void checkGoogleCloudDialogflowCxV3MatchIntentResponse( buildCounterGoogleCloudDialogflowCxV3MatchIntentResponse++; if (buildCounterGoogleCloudDialogflowCxV3MatchIntentResponse < 3) { checkGoogleCloudDialogflowCxV3Page(o.currentPage!); - checkUnnamed6708(o.matches!); + checkUnnamed6779(o.matches!); unittest.expect( o.text!, unittest.equals('foo'), @@ -3556,23 +3616,23 @@ void checkGoogleCloudDialogflowCxV3OutputAudioConfig( buildCounterGoogleCloudDialogflowCxV3OutputAudioConfig--; } -core.List buildUnnamed6709() => [ +core.List buildUnnamed6780() => [ buildGoogleCloudDialogflowCxV3EventHandler(), buildGoogleCloudDialogflowCxV3EventHandler(), ]; -void checkUnnamed6709(core.List o) { +void checkUnnamed6780(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EventHandler(o[0]); checkGoogleCloudDialogflowCxV3EventHandler(o[1]); } -core.List buildUnnamed6710() => [ +core.List buildUnnamed6781() => [ 'foo', 'foo', ]; -void checkUnnamed6710(core.List o) { +void checkUnnamed6781(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3584,12 +3644,12 @@ void checkUnnamed6710(core.List o) { ); } -core.List buildUnnamed6711() => [ +core.List buildUnnamed6782() => [ buildGoogleCloudDialogflowCxV3TransitionRoute(), buildGoogleCloudDialogflowCxV3TransitionRoute(), ]; -void checkUnnamed6711( +void checkUnnamed6782( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TransitionRoute(o[0]); @@ -3603,11 +3663,11 @@ api.GoogleCloudDialogflowCxV3Page buildGoogleCloudDialogflowCxV3Page() { if (buildCounterGoogleCloudDialogflowCxV3Page < 3) { o.displayName = 'foo'; o.entryFulfillment = buildGoogleCloudDialogflowCxV3Fulfillment(); - o.eventHandlers = buildUnnamed6709(); + o.eventHandlers = buildUnnamed6780(); o.form = buildGoogleCloudDialogflowCxV3Form(); o.name = 'foo'; - o.transitionRouteGroups = buildUnnamed6710(); - o.transitionRoutes = buildUnnamed6711(); + o.transitionRouteGroups = buildUnnamed6781(); + o.transitionRoutes = buildUnnamed6782(); } buildCounterGoogleCloudDialogflowCxV3Page--; return o; @@ -3621,14 +3681,14 @@ void checkGoogleCloudDialogflowCxV3Page(api.GoogleCloudDialogflowCxV3Page o) { unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3Fulfillment(o.entryFulfillment!); - checkUnnamed6709(o.eventHandlers!); + checkUnnamed6780(o.eventHandlers!); checkGoogleCloudDialogflowCxV3Form(o.form!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6710(o.transitionRouteGroups!); - checkUnnamed6711(o.transitionRoutes!); + checkUnnamed6781(o.transitionRouteGroups!); + checkUnnamed6782(o.transitionRoutes!); } buildCounterGoogleCloudDialogflowCxV3Page--; } @@ -3659,12 +3719,12 @@ void checkGoogleCloudDialogflowCxV3PageInfo( } core.List - buildUnnamed6712() => [ + buildUnnamed6783() => [ buildGoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo(), buildGoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo(), ]; -void checkUnnamed6712( +void checkUnnamed6783( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo(o[0]); @@ -3677,7 +3737,7 @@ api.GoogleCloudDialogflowCxV3PageInfoFormInfo final o = api.GoogleCloudDialogflowCxV3PageInfoFormInfo(); buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo < 3) { - o.parameterInfo = buildUnnamed6712(); + o.parameterInfo = buildUnnamed6783(); } buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo--; return o; @@ -3687,7 +3747,7 @@ void checkGoogleCloudDialogflowCxV3PageInfoFormInfo( api.GoogleCloudDialogflowCxV3PageInfoFormInfo o) { buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo < 3) { - checkUnnamed6712(o.parameterInfo!); + checkUnnamed6783(o.parameterInfo!); } buildCounterGoogleCloudDialogflowCxV3PageInfoFormInfo--; } @@ -3778,7 +3838,24 @@ void checkGoogleCloudDialogflowCxV3QueryInput( buildCounterGoogleCloudDialogflowCxV3QueryInput--; } -core.Map buildUnnamed6713() => { +core.List buildUnnamed6784() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed6784(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed6785() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3791,7 +3868,7 @@ core.Map buildUnnamed6713() => { }, }; -void checkUnnamed6713(core.Map o) { +void checkUnnamed6785(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted12 = (o['x']!) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); @@ -3823,7 +3900,7 @@ void checkUnnamed6713(core.Map o) { ); } -core.Map buildUnnamed6714() => { +core.Map buildUnnamed6786() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3836,7 +3913,7 @@ core.Map buildUnnamed6714() => { }, }; -void checkUnnamed6714(core.Map o) { +void checkUnnamed6786(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted14 = (o['x']!) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); @@ -3868,25 +3945,25 @@ void checkUnnamed6714(core.Map o) { ); } -core.List buildUnnamed6715() => +core.List buildUnnamed6787() => [ buildGoogleCloudDialogflowCxV3SessionEntityType(), buildGoogleCloudDialogflowCxV3SessionEntityType(), ]; -void checkUnnamed6715( +void checkUnnamed6787( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3SessionEntityType(o[0]); checkGoogleCloudDialogflowCxV3SessionEntityType(o[1]); } -core.Map buildUnnamed6716() => { +core.Map buildUnnamed6788() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6716(core.Map o) { +void checkUnnamed6788(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3907,12 +3984,13 @@ api.GoogleCloudDialogflowCxV3QueryParameters o.analyzeQueryTextSentiment = true; o.currentPage = 'foo'; o.disableWebhook = true; + o.flowVersions = buildUnnamed6784(); o.geoLocation = buildGoogleTypeLatLng(); - o.parameters = buildUnnamed6713(); - o.payload = buildUnnamed6714(); - o.sessionEntityTypes = buildUnnamed6715(); + o.parameters = buildUnnamed6785(); + o.payload = buildUnnamed6786(); + o.sessionEntityTypes = buildUnnamed6787(); o.timeZone = 'foo'; - o.webhookHeaders = buildUnnamed6716(); + o.webhookHeaders = buildUnnamed6788(); } buildCounterGoogleCloudDialogflowCxV3QueryParameters--; return o; @@ -3928,20 +4006,21 @@ void checkGoogleCloudDialogflowCxV3QueryParameters( unittest.equals('foo'), ); unittest.expect(o.disableWebhook!, unittest.isTrue); + checkUnnamed6784(o.flowVersions!); checkGoogleTypeLatLng(o.geoLocation!); - checkUnnamed6713(o.parameters!); - checkUnnamed6714(o.payload!); - checkUnnamed6715(o.sessionEntityTypes!); + checkUnnamed6785(o.parameters!); + checkUnnamed6786(o.payload!); + checkUnnamed6787(o.sessionEntityTypes!); unittest.expect( o.timeZone!, unittest.equals('foo'), ); - checkUnnamed6716(o.webhookHeaders!); + checkUnnamed6788(o.webhookHeaders!); } buildCounterGoogleCloudDialogflowCxV3QueryParameters--; } -core.Map buildUnnamed6717() => { +core.Map buildUnnamed6789() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3954,7 +4033,7 @@ core.Map buildUnnamed6717() => { }, }; -void checkUnnamed6717(core.Map o) { +void checkUnnamed6789(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted16 = (o['x']!) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); @@ -3986,7 +4065,7 @@ void checkUnnamed6717(core.Map o) { ); } -core.Map buildUnnamed6718() => { +core.Map buildUnnamed6790() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3999,7 +4078,7 @@ core.Map buildUnnamed6718() => { }, }; -void checkUnnamed6718(core.Map o) { +void checkUnnamed6790(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted18 = (o['x']!) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); @@ -4031,19 +4110,19 @@ void checkUnnamed6718(core.Map o) { ); } -core.List buildUnnamed6719() => [ +core.List buildUnnamed6791() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed6719( +void checkUnnamed6791( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); checkGoogleCloudDialogflowCxV3ResponseMessage(o[1]); } -core.Map buildUnnamed6720() => { +core.Map buildUnnamed6792() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4056,7 +4135,7 @@ core.Map buildUnnamed6720() => { }, }; -void checkUnnamed6720(core.Map o) { +void checkUnnamed6792(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted20 = (o['x']!) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); @@ -4088,23 +4167,23 @@ void checkUnnamed6720(core.Map o) { ); } -core.List> buildUnnamed6721() => [ - buildUnnamed6720(), - buildUnnamed6720(), +core.List> buildUnnamed6793() => [ + buildUnnamed6792(), + buildUnnamed6792(), ]; -void checkUnnamed6721(core.List> o) { +void checkUnnamed6793(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6720(o[0]); - checkUnnamed6720(o[1]); + checkUnnamed6792(o[0]); + checkUnnamed6792(o[1]); } -core.List buildUnnamed6722() => [ +core.List buildUnnamed6794() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed6722(core.List o) { +void checkUnnamed6794(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -4117,21 +4196,21 @@ api.GoogleCloudDialogflowCxV3QueryResult buildCounterGoogleCloudDialogflowCxV3QueryResult++; if (buildCounterGoogleCloudDialogflowCxV3QueryResult < 3) { o.currentPage = buildGoogleCloudDialogflowCxV3Page(); - o.diagnosticInfo = buildUnnamed6717(); + o.diagnosticInfo = buildUnnamed6789(); o.intent = buildGoogleCloudDialogflowCxV3Intent(); o.intentDetectionConfidence = 42.0; o.languageCode = 'foo'; o.match = buildGoogleCloudDialogflowCxV3Match(); - o.parameters = buildUnnamed6718(); - o.responseMessages = buildUnnamed6719(); + o.parameters = buildUnnamed6790(); + o.responseMessages = buildUnnamed6791(); o.sentimentAnalysisResult = buildGoogleCloudDialogflowCxV3SentimentAnalysisResult(); o.text = 'foo'; o.transcript = 'foo'; o.triggerEvent = 'foo'; o.triggerIntent = 'foo'; - o.webhookPayloads = buildUnnamed6721(); - o.webhookStatuses = buildUnnamed6722(); + o.webhookPayloads = buildUnnamed6793(); + o.webhookStatuses = buildUnnamed6794(); } buildCounterGoogleCloudDialogflowCxV3QueryResult--; return o; @@ -4142,7 +4221,7 @@ void checkGoogleCloudDialogflowCxV3QueryResult( buildCounterGoogleCloudDialogflowCxV3QueryResult++; if (buildCounterGoogleCloudDialogflowCxV3QueryResult < 3) { checkGoogleCloudDialogflowCxV3Page(o.currentPage!); - checkUnnamed6717(o.diagnosticInfo!); + checkUnnamed6789(o.diagnosticInfo!); checkGoogleCloudDialogflowCxV3Intent(o.intent!); unittest.expect( o.intentDetectionConfidence!, @@ -4153,8 +4232,8 @@ void checkGoogleCloudDialogflowCxV3QueryResult( unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3Match(o.match!); - checkUnnamed6718(o.parameters!); - checkUnnamed6719(o.responseMessages!); + checkUnnamed6790(o.parameters!); + checkUnnamed6791(o.responseMessages!); checkGoogleCloudDialogflowCxV3SentimentAnalysisResult( o.sentimentAnalysisResult!); unittest.expect( @@ -4173,8 +4252,8 @@ void checkGoogleCloudDialogflowCxV3QueryResult( o.triggerIntent!, unittest.equals('foo'), ); - checkUnnamed6721(o.webhookPayloads!); - checkUnnamed6722(o.webhookStatuses!); + checkUnnamed6793(o.webhookPayloads!); + checkUnnamed6794(o.webhookStatuses!); } buildCounterGoogleCloudDialogflowCxV3QueryResult--; } @@ -4234,7 +4313,7 @@ void checkGoogleCloudDialogflowCxV3ResourceName( buildCounterGoogleCloudDialogflowCxV3ResourceName--; } -core.Map buildUnnamed6723() => { +core.Map buildUnnamed6795() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4247,7 +4326,7 @@ core.Map buildUnnamed6723() => { }, }; -void checkUnnamed6723(core.Map o) { +void checkUnnamed6795(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted22 = (o['x']!) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); @@ -4294,7 +4373,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessage o.mixedAudio = buildGoogleCloudDialogflowCxV3ResponseMessageMixedAudio(); o.outputAudioText = buildGoogleCloudDialogflowCxV3ResponseMessageOutputAudioText(); - o.payload = buildUnnamed6723(); + o.payload = buildUnnamed6795(); o.playAudio = buildGoogleCloudDialogflowCxV3ResponseMessagePlayAudio(); o.text = buildGoogleCloudDialogflowCxV3ResponseMessageText(); } @@ -4315,14 +4394,14 @@ void checkGoogleCloudDialogflowCxV3ResponseMessage( checkGoogleCloudDialogflowCxV3ResponseMessageMixedAudio(o.mixedAudio!); checkGoogleCloudDialogflowCxV3ResponseMessageOutputAudioText( o.outputAudioText!); - checkUnnamed6723(o.payload!); + checkUnnamed6795(o.payload!); checkGoogleCloudDialogflowCxV3ResponseMessagePlayAudio(o.playAudio!); checkGoogleCloudDialogflowCxV3ResponseMessageText(o.text!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessage--; } -core.Map buildUnnamed6724() => { +core.Map buildUnnamed6796() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4335,7 +4414,7 @@ core.Map buildUnnamed6724() => { }, }; -void checkUnnamed6724(core.Map o) { +void checkUnnamed6796(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted24 = (o['x']!) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); @@ -4375,7 +4454,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess < 3) { - o.metadata = buildUnnamed6724(); + o.metadata = buildUnnamed6796(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess--; return o; @@ -4386,7 +4465,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess( buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess < 3) { - checkUnnamed6724(o.metadata!); + checkUnnamed6796(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess--; } @@ -4408,7 +4487,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageEndInteraction( buildCounterGoogleCloudDialogflowCxV3ResponseMessageEndInteraction--; } -core.Map buildUnnamed6725() => { +core.Map buildUnnamed6797() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4421,7 +4500,7 @@ core.Map buildUnnamed6725() => { }, }; -void checkUnnamed6725(core.Map o) { +void checkUnnamed6797(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted26 = (o['x']!) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); @@ -4461,7 +4540,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff < 3) { - o.metadata = buildUnnamed6725(); + o.metadata = buildUnnamed6797(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff--; return o; @@ -4472,18 +4551,18 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff( buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff < 3) { - checkUnnamed6725(o.metadata!); + checkUnnamed6797(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff--; } core.List - buildUnnamed6726() => [ + buildUnnamed6798() => [ buildGoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment(), buildGoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment(), ]; -void checkUnnamed6726( +void checkUnnamed6798( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4497,7 +4576,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageMixedAudio final o = api.GoogleCloudDialogflowCxV3ResponseMessageMixedAudio(); buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio < 3) { - o.segments = buildUnnamed6726(); + o.segments = buildUnnamed6798(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio--; return o; @@ -4507,7 +4586,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageMixedAudio( api.GoogleCloudDialogflowCxV3ResponseMessageMixedAudio o) { buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio < 3) { - checkUnnamed6726(o.segments!); + checkUnnamed6798(o.segments!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageMixedAudio--; } @@ -4604,12 +4683,12 @@ void checkGoogleCloudDialogflowCxV3ResponseMessagePlayAudio( buildCounterGoogleCloudDialogflowCxV3ResponseMessagePlayAudio--; } -core.List buildUnnamed6727() => [ +core.List buildUnnamed6799() => [ 'foo', 'foo', ]; -void checkUnnamed6727(core.List o) { +void checkUnnamed6799(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4628,7 +4707,7 @@ api.GoogleCloudDialogflowCxV3ResponseMessageText buildCounterGoogleCloudDialogflowCxV3ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageText < 3) { o.allowPlaybackInterruption = true; - o.text = buildUnnamed6727(); + o.text = buildUnnamed6799(); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageText--; return o; @@ -4639,7 +4718,7 @@ void checkGoogleCloudDialogflowCxV3ResponseMessageText( buildCounterGoogleCloudDialogflowCxV3ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3ResponseMessageText < 3) { unittest.expect(o.allowPlaybackInterruption!, unittest.isTrue); - checkUnnamed6727(o.text!); + checkUnnamed6799(o.text!); } buildCounterGoogleCloudDialogflowCxV3ResponseMessageText--; } @@ -4678,12 +4757,124 @@ void checkGoogleCloudDialogflowCxV3RestoreAgentRequest( buildCounterGoogleCloudDialogflowCxV3RestoreAgentRequest--; } -core.List buildUnnamed6728() => [ +core.List + buildUnnamed6800() => [ + buildGoogleCloudDialogflowCxV3RolloutConfigRolloutStep(), + buildGoogleCloudDialogflowCxV3RolloutConfigRolloutStep(), + ]; + +void checkUnnamed6800( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowCxV3RolloutConfigRolloutStep(o[0]); + checkGoogleCloudDialogflowCxV3RolloutConfigRolloutStep(o[1]); +} + +core.int buildCounterGoogleCloudDialogflowCxV3RolloutConfig = 0; +api.GoogleCloudDialogflowCxV3RolloutConfig + buildGoogleCloudDialogflowCxV3RolloutConfig() { + final o = api.GoogleCloudDialogflowCxV3RolloutConfig(); + buildCounterGoogleCloudDialogflowCxV3RolloutConfig++; + if (buildCounterGoogleCloudDialogflowCxV3RolloutConfig < 3) { + o.failureCondition = 'foo'; + o.rolloutCondition = 'foo'; + o.rolloutSteps = buildUnnamed6800(); + } + buildCounterGoogleCloudDialogflowCxV3RolloutConfig--; + return o; +} + +void checkGoogleCloudDialogflowCxV3RolloutConfig( + api.GoogleCloudDialogflowCxV3RolloutConfig o) { + buildCounterGoogleCloudDialogflowCxV3RolloutConfig++; + if (buildCounterGoogleCloudDialogflowCxV3RolloutConfig < 3) { + unittest.expect( + o.failureCondition!, + unittest.equals('foo'), + ); + unittest.expect( + o.rolloutCondition!, + unittest.equals('foo'), + ); + checkUnnamed6800(o.rolloutSteps!); + } + buildCounterGoogleCloudDialogflowCxV3RolloutConfig--; +} + +core.int buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep = 0; +api.GoogleCloudDialogflowCxV3RolloutConfigRolloutStep + buildGoogleCloudDialogflowCxV3RolloutConfigRolloutStep() { + final o = api.GoogleCloudDialogflowCxV3RolloutConfigRolloutStep(); + buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep++; + if (buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep < 3) { + o.displayName = 'foo'; + o.minDuration = 'foo'; + o.trafficPercent = 42; + } + buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep--; + return o; +} + +void checkGoogleCloudDialogflowCxV3RolloutConfigRolloutStep( + api.GoogleCloudDialogflowCxV3RolloutConfigRolloutStep o) { + buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep++; + if (buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.minDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.trafficPercent!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudDialogflowCxV3RolloutConfigRolloutStep--; +} + +core.int buildCounterGoogleCloudDialogflowCxV3RolloutState = 0; +api.GoogleCloudDialogflowCxV3RolloutState + buildGoogleCloudDialogflowCxV3RolloutState() { + final o = api.GoogleCloudDialogflowCxV3RolloutState(); + buildCounterGoogleCloudDialogflowCxV3RolloutState++; + if (buildCounterGoogleCloudDialogflowCxV3RolloutState < 3) { + o.startTime = 'foo'; + o.step = 'foo'; + o.stepIndex = 42; + } + buildCounterGoogleCloudDialogflowCxV3RolloutState--; + return o; +} + +void checkGoogleCloudDialogflowCxV3RolloutState( + api.GoogleCloudDialogflowCxV3RolloutState o) { + buildCounterGoogleCloudDialogflowCxV3RolloutState++; + if (buildCounterGoogleCloudDialogflowCxV3RolloutState < 3) { + unittest.expect( + o.startTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.step!, + unittest.equals('foo'), + ); + unittest.expect( + o.stepIndex!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudDialogflowCxV3RolloutState--; +} + +core.List buildUnnamed6801() => [ buildGoogleCloudDialogflowCxV3TestError(), buildGoogleCloudDialogflowCxV3TestError(), ]; -void checkUnnamed6728(core.List o) { +void checkUnnamed6801(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TestError(o[0]); checkGoogleCloudDialogflowCxV3TestError(o[1]); @@ -4695,7 +4886,7 @@ api.GoogleCloudDialogflowCxV3RunContinuousTestMetadata final o = api.GoogleCloudDialogflowCxV3RunContinuousTestMetadata(); buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata < 3) { - o.errors = buildUnnamed6728(); + o.errors = buildUnnamed6801(); } buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata--; return o; @@ -4705,7 +4896,7 @@ void checkGoogleCloudDialogflowCxV3RunContinuousTestMetadata( api.GoogleCloudDialogflowCxV3RunContinuousTestMetadata o) { buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata < 3) { - checkUnnamed6728(o.errors!); + checkUnnamed6801(o.errors!); } buildCounterGoogleCloudDialogflowCxV3RunContinuousTestMetadata--; } @@ -4811,12 +5002,12 @@ void checkGoogleCloudDialogflowCxV3RunTestCaseResponse( buildCounterGoogleCloudDialogflowCxV3RunTestCaseResponse--; } -core.List buildUnnamed6729() => [ +core.List buildUnnamed6802() => [ 'foo', 'foo', ]; -void checkUnnamed6729(core.List o) { +void checkUnnamed6802(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4834,10 +5025,13 @@ api.GoogleCloudDialogflowCxV3SecuritySettings final o = api.GoogleCloudDialogflowCxV3SecuritySettings(); buildCounterGoogleCloudDialogflowCxV3SecuritySettings++; if (buildCounterGoogleCloudDialogflowCxV3SecuritySettings < 3) { + o.deidentifyTemplate = 'foo'; o.displayName = 'foo'; + o.insightsExportSettings = + buildGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings(); o.inspectTemplate = 'foo'; o.name = 'foo'; - o.purgeDataTypes = buildUnnamed6729(); + o.purgeDataTypes = buildUnnamed6802(); o.redactionScope = 'foo'; o.redactionStrategy = 'foo'; o.retentionWindowDays = 42; @@ -4850,10 +5044,16 @@ void checkGoogleCloudDialogflowCxV3SecuritySettings( api.GoogleCloudDialogflowCxV3SecuritySettings o) { buildCounterGoogleCloudDialogflowCxV3SecuritySettings++; if (buildCounterGoogleCloudDialogflowCxV3SecuritySettings < 3) { + unittest.expect( + o.deidentifyTemplate!, + unittest.equals('foo'), + ); unittest.expect( o.displayName!, unittest.equals('foo'), ); + checkGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings( + o.insightsExportSettings!); unittest.expect( o.inspectTemplate!, unittest.equals('foo'), @@ -4862,7 +5062,7 @@ void checkGoogleCloudDialogflowCxV3SecuritySettings( o.name!, unittest.equals('foo'), ); - checkUnnamed6729(o.purgeDataTypes!); + checkUnnamed6802(o.purgeDataTypes!); unittest.expect( o.redactionScope!, unittest.equals('foo'), @@ -4879,6 +5079,32 @@ void checkGoogleCloudDialogflowCxV3SecuritySettings( buildCounterGoogleCloudDialogflowCxV3SecuritySettings--; } +core.int + buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings = + 0; +api.GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings + buildGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings() { + final o = + api.GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings(); + buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings++; + if (buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings < + 3) { + o.enableInsightsExport = true; + } + buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings--; + return o; +} + +void checkGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings( + api.GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings o) { + buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings++; + if (buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings < + 3) { + unittest.expect(o.enableInsightsExport!, unittest.isTrue); + } + buildCounterGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings--; +} + core.int buildCounterGoogleCloudDialogflowCxV3SentimentAnalysisResult = 0; api.GoogleCloudDialogflowCxV3SentimentAnalysisResult buildGoogleCloudDialogflowCxV3SentimentAnalysisResult() { @@ -4908,12 +5134,12 @@ void checkGoogleCloudDialogflowCxV3SentimentAnalysisResult( buildCounterGoogleCloudDialogflowCxV3SentimentAnalysisResult--; } -core.List buildUnnamed6730() => [ +core.List buildUnnamed6803() => [ buildGoogleCloudDialogflowCxV3EntityTypeEntity(), buildGoogleCloudDialogflowCxV3EntityTypeEntity(), ]; -void checkUnnamed6730( +void checkUnnamed6803( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3EntityTypeEntity(o[0]); @@ -4926,7 +5152,7 @@ api.GoogleCloudDialogflowCxV3SessionEntityType final o = api.GoogleCloudDialogflowCxV3SessionEntityType(); buildCounterGoogleCloudDialogflowCxV3SessionEntityType++; if (buildCounterGoogleCloudDialogflowCxV3SessionEntityType < 3) { - o.entities = buildUnnamed6730(); + o.entities = buildUnnamed6803(); o.entityOverrideMode = 'foo'; o.name = 'foo'; } @@ -4938,7 +5164,7 @@ void checkGoogleCloudDialogflowCxV3SessionEntityType( api.GoogleCloudDialogflowCxV3SessionEntityType o) { buildCounterGoogleCloudDialogflowCxV3SessionEntityType++; if (buildCounterGoogleCloudDialogflowCxV3SessionEntityType < 3) { - checkUnnamed6730(o.entities!); + checkUnnamed6803(o.entities!); unittest.expect( o.entityOverrideMode!, unittest.equals('foo'), @@ -4951,7 +5177,7 @@ void checkGoogleCloudDialogflowCxV3SessionEntityType( buildCounterGoogleCloudDialogflowCxV3SessionEntityType--; } -core.Map buildUnnamed6731() => { +core.Map buildUnnamed6804() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4964,7 +5190,7 @@ core.Map buildUnnamed6731() => { }, }; -void checkUnnamed6731(core.Map o) { +void checkUnnamed6804(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted28 = (o['x']!) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); @@ -5002,7 +5228,7 @@ api.GoogleCloudDialogflowCxV3SessionInfo final o = api.GoogleCloudDialogflowCxV3SessionInfo(); buildCounterGoogleCloudDialogflowCxV3SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3SessionInfo < 3) { - o.parameters = buildUnnamed6731(); + o.parameters = buildUnnamed6804(); o.session = 'foo'; } buildCounterGoogleCloudDialogflowCxV3SessionInfo--; @@ -5013,7 +5239,7 @@ void checkGoogleCloudDialogflowCxV3SessionInfo( api.GoogleCloudDialogflowCxV3SessionInfo o) { buildCounterGoogleCloudDialogflowCxV3SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3SessionInfo < 3) { - checkUnnamed6731(o.parameters!); + checkUnnamed6804(o.parameters!); unittest.expect( o.session!, unittest.equals('foo'), @@ -5077,12 +5303,12 @@ void checkGoogleCloudDialogflowCxV3StopExperimentRequest( buildCounterGoogleCloudDialogflowCxV3StopExperimentRequest--; } -core.List buildUnnamed6732() => [ +core.List buildUnnamed6805() => [ 'foo', 'foo', ]; -void checkUnnamed6732(core.List o) { +void checkUnnamed6805(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5100,7 +5326,7 @@ api.GoogleCloudDialogflowCxV3SynthesizeSpeechConfig final o = api.GoogleCloudDialogflowCxV3SynthesizeSpeechConfig(); buildCounterGoogleCloudDialogflowCxV3SynthesizeSpeechConfig++; if (buildCounterGoogleCloudDialogflowCxV3SynthesizeSpeechConfig < 3) { - o.effectsProfileId = buildUnnamed6732(); + o.effectsProfileId = buildUnnamed6805(); o.pitch = 42.0; o.speakingRate = 42.0; o.voice = buildGoogleCloudDialogflowCxV3VoiceSelectionParams(); @@ -5114,7 +5340,7 @@ void checkGoogleCloudDialogflowCxV3SynthesizeSpeechConfig( api.GoogleCloudDialogflowCxV3SynthesizeSpeechConfig o) { buildCounterGoogleCloudDialogflowCxV3SynthesizeSpeechConfig++; if (buildCounterGoogleCloudDialogflowCxV3SynthesizeSpeechConfig < 3) { - checkUnnamed6732(o.effectsProfileId!); + checkUnnamed6805(o.effectsProfileId!); unittest.expect( o.pitch!, unittest.equals(42.0), @@ -5132,12 +5358,12 @@ void checkGoogleCloudDialogflowCxV3SynthesizeSpeechConfig( buildCounterGoogleCloudDialogflowCxV3SynthesizeSpeechConfig--; } -core.List buildUnnamed6733() => [ +core.List buildUnnamed6806() => [ 'foo', 'foo', ]; -void checkUnnamed6733(core.List o) { +void checkUnnamed6806(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5149,12 +5375,12 @@ void checkUnnamed6733(core.List o) { ); } -core.List buildUnnamed6734() => [ +core.List buildUnnamed6807() => [ buildGoogleCloudDialogflowCxV3ConversationTurn(), buildGoogleCloudDialogflowCxV3ConversationTurn(), ]; -void checkUnnamed6734( +void checkUnnamed6807( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ConversationTurn(o[0]); @@ -5171,8 +5397,8 @@ api.GoogleCloudDialogflowCxV3TestCase buildGoogleCloudDialogflowCxV3TestCase() { o.lastTestResult = buildGoogleCloudDialogflowCxV3TestCaseResult(); o.name = 'foo'; o.notes = 'foo'; - o.tags = buildUnnamed6733(); - o.testCaseConversationTurns = buildUnnamed6734(); + o.tags = buildUnnamed6806(); + o.testCaseConversationTurns = buildUnnamed6807(); o.testConfig = buildGoogleCloudDialogflowCxV3TestConfig(); } buildCounterGoogleCloudDialogflowCxV3TestCase--; @@ -5200,8 +5426,8 @@ void checkGoogleCloudDialogflowCxV3TestCase( o.notes!, unittest.equals('foo'), ); - checkUnnamed6733(o.tags!); - checkUnnamed6734(o.testCaseConversationTurns!); + checkUnnamed6806(o.tags!); + checkUnnamed6807(o.testCaseConversationTurns!); checkGoogleCloudDialogflowCxV3TestConfig(o.testConfig!); } buildCounterGoogleCloudDialogflowCxV3TestCase--; @@ -5230,12 +5456,12 @@ void checkGoogleCloudDialogflowCxV3TestCaseError( buildCounterGoogleCloudDialogflowCxV3TestCaseError--; } -core.List buildUnnamed6735() => [ +core.List buildUnnamed6808() => [ buildGoogleCloudDialogflowCxV3ConversationTurn(), buildGoogleCloudDialogflowCxV3ConversationTurn(), ]; -void checkUnnamed6735( +void checkUnnamed6808( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ConversationTurn(o[0]); @@ -5248,7 +5474,7 @@ api.GoogleCloudDialogflowCxV3TestCaseResult final o = api.GoogleCloudDialogflowCxV3TestCaseResult(); buildCounterGoogleCloudDialogflowCxV3TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3TestCaseResult < 3) { - o.conversationTurns = buildUnnamed6735(); + o.conversationTurns = buildUnnamed6808(); o.environment = 'foo'; o.name = 'foo'; o.testResult = 'foo'; @@ -5262,7 +5488,7 @@ void checkGoogleCloudDialogflowCxV3TestCaseResult( api.GoogleCloudDialogflowCxV3TestCaseResult o) { buildCounterGoogleCloudDialogflowCxV3TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3TestCaseResult < 3) { - checkUnnamed6735(o.conversationTurns!); + checkUnnamed6808(o.conversationTurns!); unittest.expect( o.environment!, unittest.equals('foo'), @@ -5283,12 +5509,12 @@ void checkGoogleCloudDialogflowCxV3TestCaseResult( buildCounterGoogleCloudDialogflowCxV3TestCaseResult--; } -core.List buildUnnamed6736() => [ +core.List buildUnnamed6809() => [ 'foo', 'foo', ]; -void checkUnnamed6736(core.List o) { +void checkUnnamed6809(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5307,7 +5533,7 @@ api.GoogleCloudDialogflowCxV3TestConfig buildCounterGoogleCloudDialogflowCxV3TestConfig++; if (buildCounterGoogleCloudDialogflowCxV3TestConfig < 3) { o.flow = 'foo'; - o.trackingParameters = buildUnnamed6736(); + o.trackingParameters = buildUnnamed6809(); } buildCounterGoogleCloudDialogflowCxV3TestConfig--; return o; @@ -5321,7 +5547,7 @@ void checkGoogleCloudDialogflowCxV3TestConfig( o.flow!, unittest.equals('foo'), ); - checkUnnamed6736(o.trackingParameters!); + checkUnnamed6809(o.trackingParameters!); } buildCounterGoogleCloudDialogflowCxV3TestConfig--; } @@ -5428,12 +5654,12 @@ void checkGoogleCloudDialogflowCxV3TrainFlowRequest( } core.List - buildUnnamed6737() => [ + buildUnnamed6810() => [ buildGoogleCloudDialogflowCxV3TransitionCoverageTransition(), buildGoogleCloudDialogflowCxV3TransitionCoverageTransition(), ]; -void checkUnnamed6737( +void checkUnnamed6810( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TransitionCoverageTransition(o[0]); @@ -5447,7 +5673,7 @@ api.GoogleCloudDialogflowCxV3TransitionCoverage buildCounterGoogleCloudDialogflowCxV3TransitionCoverage++; if (buildCounterGoogleCloudDialogflowCxV3TransitionCoverage < 3) { o.coverageScore = 42.0; - o.transitions = buildUnnamed6737(); + o.transitions = buildUnnamed6810(); } buildCounterGoogleCloudDialogflowCxV3TransitionCoverage--; return o; @@ -5461,7 +5687,7 @@ void checkGoogleCloudDialogflowCxV3TransitionCoverage( o.coverageScore!, unittest.equals(42.0), ); - checkUnnamed6737(o.transitions!); + checkUnnamed6810(o.transitions!); } buildCounterGoogleCloudDialogflowCxV3TransitionCoverage--; } @@ -5572,12 +5798,12 @@ void checkGoogleCloudDialogflowCxV3TransitionRoute( buildCounterGoogleCloudDialogflowCxV3TransitionRoute--; } -core.List buildUnnamed6738() => [ +core.List buildUnnamed6811() => [ buildGoogleCloudDialogflowCxV3TransitionRoute(), buildGoogleCloudDialogflowCxV3TransitionRoute(), ]; -void checkUnnamed6738( +void checkUnnamed6811( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3TransitionRoute(o[0]); @@ -5592,7 +5818,7 @@ api.GoogleCloudDialogflowCxV3TransitionRouteGroup if (buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroup < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.transitionRoutes = buildUnnamed6738(); + o.transitionRoutes = buildUnnamed6811(); } buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroup--; return o; @@ -5610,18 +5836,18 @@ void checkGoogleCloudDialogflowCxV3TransitionRouteGroup( o.name!, unittest.equals('foo'), ); - checkUnnamed6738(o.transitionRoutes!); + checkUnnamed6811(o.transitionRoutes!); } buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroup--; } core.List - buildUnnamed6739() => [ + buildUnnamed6812() => [ buildGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage(), buildGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage(), ]; -void checkUnnamed6739( +void checkUnnamed6812( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -5636,7 +5862,7 @@ api.GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroupCoverage++; if (buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroupCoverage < 3) { o.coverageScore = 42.0; - o.coverages = buildUnnamed6739(); + o.coverages = buildUnnamed6812(); } buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroupCoverage--; return o; @@ -5650,19 +5876,19 @@ void checkGoogleCloudDialogflowCxV3TransitionRouteGroupCoverage( o.coverageScore!, unittest.equals(42.0), ); - checkUnnamed6739(o.coverages!); + checkUnnamed6812(o.coverages!); } buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroupCoverage--; } core.List< api.GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition> - buildUnnamed6740() => [ + buildUnnamed6813() => [ buildGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition(), buildGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition(), ]; -void checkUnnamed6740( +void checkUnnamed6813( core.List< api.GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition> o) { @@ -5684,7 +5910,7 @@ api.GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage 3) { o.coverageScore = 42.0; o.routeGroup = buildGoogleCloudDialogflowCxV3TransitionRouteGroup(); - o.transitions = buildUnnamed6740(); + o.transitions = buildUnnamed6813(); } buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage--; return o; @@ -5700,7 +5926,7 @@ void checkGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage( unittest.equals(42.0), ); checkGoogleCloudDialogflowCxV3TransitionRouteGroup(o.routeGroup!); - checkUnnamed6740(o.transitions!); + checkUnnamed6813(o.transitions!); } buildCounterGoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage--; } @@ -5808,23 +6034,23 @@ void checkGoogleCloudDialogflowCxV3ValidateFlowRequest( buildCounterGoogleCloudDialogflowCxV3ValidateFlowRequest--; } -core.List buildUnnamed6741() => [ +core.List buildUnnamed6814() => [ buildGoogleCloudDialogflowCxV3ResourceName(), buildGoogleCloudDialogflowCxV3ResourceName(), ]; -void checkUnnamed6741(core.List o) { +void checkUnnamed6814(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResourceName(o[0]); checkGoogleCloudDialogflowCxV3ResourceName(o[1]); } -core.List buildUnnamed6742() => [ +core.List buildUnnamed6815() => [ 'foo', 'foo', ]; -void checkUnnamed6742(core.List o) { +void checkUnnamed6815(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5843,9 +6069,9 @@ api.GoogleCloudDialogflowCxV3ValidationMessage buildCounterGoogleCloudDialogflowCxV3ValidationMessage++; if (buildCounterGoogleCloudDialogflowCxV3ValidationMessage < 3) { o.detail = 'foo'; - o.resourceNames = buildUnnamed6741(); + o.resourceNames = buildUnnamed6814(); o.resourceType = 'foo'; - o.resources = buildUnnamed6742(); + o.resources = buildUnnamed6815(); o.severity = 'foo'; } buildCounterGoogleCloudDialogflowCxV3ValidationMessage--; @@ -5860,12 +6086,12 @@ void checkGoogleCloudDialogflowCxV3ValidationMessage( o.detail!, unittest.equals('foo'), ); - checkUnnamed6741(o.resourceNames!); + checkUnnamed6814(o.resourceNames!); unittest.expect( o.resourceType!, unittest.equals('foo'), ); - checkUnnamed6742(o.resources!); + checkUnnamed6815(o.resources!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -5946,12 +6172,12 @@ void checkGoogleCloudDialogflowCxV3Version( } core.List - buildUnnamed6743() => [ + buildUnnamed6816() => [ buildGoogleCloudDialogflowCxV3VersionVariantsVariant(), buildGoogleCloudDialogflowCxV3VersionVariantsVariant(), ]; -void checkUnnamed6743( +void checkUnnamed6816( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3VersionVariantsVariant(o[0]); @@ -5964,7 +6190,7 @@ api.GoogleCloudDialogflowCxV3VersionVariants final o = api.GoogleCloudDialogflowCxV3VersionVariants(); buildCounterGoogleCloudDialogflowCxV3VersionVariants++; if (buildCounterGoogleCloudDialogflowCxV3VersionVariants < 3) { - o.variants = buildUnnamed6743(); + o.variants = buildUnnamed6816(); } buildCounterGoogleCloudDialogflowCxV3VersionVariants--; return o; @@ -5974,7 +6200,7 @@ void checkGoogleCloudDialogflowCxV3VersionVariants( api.GoogleCloudDialogflowCxV3VersionVariants o) { buildCounterGoogleCloudDialogflowCxV3VersionVariants++; if (buildCounterGoogleCloudDialogflowCxV3VersionVariants < 3) { - checkUnnamed6743(o.variants!); + checkUnnamed6816(o.variants!); } buildCounterGoogleCloudDialogflowCxV3VersionVariants--; } @@ -6082,12 +6308,12 @@ void checkGoogleCloudDialogflowCxV3Webhook( buildCounterGoogleCloudDialogflowCxV3Webhook--; } -core.Map buildUnnamed6744() => { +core.Map buildUnnamed6817() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6744(core.Map o) { +void checkUnnamed6817(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6106,7 +6332,7 @@ api.GoogleCloudDialogflowCxV3WebhookGenericWebService buildCounterGoogleCloudDialogflowCxV3WebhookGenericWebService++; if (buildCounterGoogleCloudDialogflowCxV3WebhookGenericWebService < 3) { o.password = 'foo'; - o.requestHeaders = buildUnnamed6744(); + o.requestHeaders = buildUnnamed6817(); o.uri = 'foo'; o.username = 'foo'; } @@ -6122,7 +6348,7 @@ void checkGoogleCloudDialogflowCxV3WebhookGenericWebService( o.password!, unittest.equals('foo'), ); - checkUnnamed6744(o.requestHeaders!); + checkUnnamed6817(o.requestHeaders!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -6135,19 +6361,19 @@ void checkGoogleCloudDialogflowCxV3WebhookGenericWebService( buildCounterGoogleCloudDialogflowCxV3WebhookGenericWebService--; } -core.List buildUnnamed6745() => [ +core.List buildUnnamed6818() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed6745( +void checkUnnamed6818( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); checkGoogleCloudDialogflowCxV3ResponseMessage(o[1]); } -core.Map buildUnnamed6746() => { +core.Map buildUnnamed6819() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6160,7 +6386,7 @@ core.Map buildUnnamed6746() => { }, }; -void checkUnnamed6746(core.Map o) { +void checkUnnamed6819(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted30 = (o['x']!) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); @@ -6203,9 +6429,9 @@ api.GoogleCloudDialogflowCxV3WebhookRequest buildGoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo(); o.intentInfo = buildGoogleCloudDialogflowCxV3WebhookRequestIntentInfo(); o.languageCode = 'foo'; - o.messages = buildUnnamed6745(); + o.messages = buildUnnamed6818(); o.pageInfo = buildGoogleCloudDialogflowCxV3PageInfo(); - o.payload = buildUnnamed6746(); + o.payload = buildUnnamed6819(); o.sentimentAnalysisResult = buildGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult(); o.sessionInfo = buildGoogleCloudDialogflowCxV3SessionInfo(); @@ -6233,9 +6459,9 @@ void checkGoogleCloudDialogflowCxV3WebhookRequest( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed6745(o.messages!); + checkUnnamed6818(o.messages!); checkGoogleCloudDialogflowCxV3PageInfo(o.pageInfo!); - checkUnnamed6746(o.payload!); + checkUnnamed6819(o.payload!); checkGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( o.sentimentAnalysisResult!); checkGoogleCloudDialogflowCxV3SessionInfo(o.sessionInfo!); @@ -6285,14 +6511,14 @@ void checkGoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo( core.Map - buildUnnamed6747() => { + buildUnnamed6820() => { 'x': buildGoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue(), 'y': buildGoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue(), }; -void checkUnnamed6747( +void checkUnnamed6820( core.Map o) { @@ -6312,7 +6538,7 @@ api.GoogleCloudDialogflowCxV3WebhookRequestIntentInfo o.confidence = 42.0; o.displayName = 'foo'; o.lastMatchedIntent = 'foo'; - o.parameters = buildUnnamed6747(); + o.parameters = buildUnnamed6820(); } buildCounterGoogleCloudDialogflowCxV3WebhookRequestIntentInfo--; return o; @@ -6334,7 +6560,7 @@ void checkGoogleCloudDialogflowCxV3WebhookRequestIntentInfo( o.lastMatchedIntent!, unittest.equals('foo'), ); - checkUnnamed6747(o.parameters!); + checkUnnamed6820(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3WebhookRequestIntentInfo--; } @@ -6422,7 +6648,7 @@ void checkGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult( buildCounterGoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult--; } -core.Map buildUnnamed6748() => { +core.Map buildUnnamed6821() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6435,7 +6661,7 @@ core.Map buildUnnamed6748() => { }, }; -void checkUnnamed6748(core.Map o) { +void checkUnnamed6821(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted33 = (o['x']!) as core.Map; unittest.expect(casted33, unittest.hasLength(3)); @@ -6476,7 +6702,7 @@ api.GoogleCloudDialogflowCxV3WebhookResponse o.fulfillmentResponse = buildGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse(); o.pageInfo = buildGoogleCloudDialogflowCxV3PageInfo(); - o.payload = buildUnnamed6748(); + o.payload = buildUnnamed6821(); o.sessionInfo = buildGoogleCloudDialogflowCxV3SessionInfo(); o.targetFlow = 'foo'; o.targetPage = 'foo'; @@ -6492,7 +6718,7 @@ void checkGoogleCloudDialogflowCxV3WebhookResponse( checkGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( o.fulfillmentResponse!); checkGoogleCloudDialogflowCxV3PageInfo(o.pageInfo!); - checkUnnamed6748(o.payload!); + checkUnnamed6821(o.payload!); checkGoogleCloudDialogflowCxV3SessionInfo(o.sessionInfo!); unittest.expect( o.targetFlow!, @@ -6506,12 +6732,12 @@ void checkGoogleCloudDialogflowCxV3WebhookResponse( buildCounterGoogleCloudDialogflowCxV3WebhookResponse--; } -core.List buildUnnamed6749() => [ +core.List buildUnnamed6822() => [ buildGoogleCloudDialogflowCxV3ResponseMessage(), buildGoogleCloudDialogflowCxV3ResponseMessage(), ]; -void checkUnnamed6749( +void checkUnnamed6822( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3ResponseMessage(o[0]); @@ -6527,7 +6753,7 @@ api.GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse if (buildCounterGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse < 3) { o.mergeBehavior = 'foo'; - o.messages = buildUnnamed6749(); + o.messages = buildUnnamed6822(); } buildCounterGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse--; return o; @@ -6542,7 +6768,7 @@ void checkGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse( o.mergeBehavior!, unittest.equals('foo'), ); - checkUnnamed6749(o.messages!); + checkUnnamed6822(o.messages!); } buildCounterGoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse--; } @@ -6601,12 +6827,12 @@ void checkGoogleCloudDialogflowCxV3beta1AudioInput( buildCounterGoogleCloudDialogflowCxV3beta1AudioInput--; } -core.List buildUnnamed6750() => [ +core.List buildUnnamed6823() => [ buildGoogleCloudDialogflowCxV3beta1TestError(), buildGoogleCloudDialogflowCxV3beta1TestError(), ]; -void checkUnnamed6750( +void checkUnnamed6823( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestError(o[0]); @@ -6620,7 +6846,7 @@ api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata < 3) { - o.errors = buildUnnamed6750(); + o.errors = buildUnnamed6823(); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata--; return o; @@ -6630,18 +6856,18 @@ void checkGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata( api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata < 3) { - checkUnnamed6750(o.errors!); + checkUnnamed6823(o.errors!); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata--; } core.List - buildUnnamed6751() => [ + buildUnnamed6824() => [ buildGoogleCloudDialogflowCxV3beta1TestCaseResult(), buildGoogleCloudDialogflowCxV3beta1TestCaseResult(), ]; -void checkUnnamed6751( +void checkUnnamed6824( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestCaseResult(o[0]); @@ -6655,7 +6881,7 @@ api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse final o = api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse < 3) { - o.results = buildUnnamed6751(); + o.results = buildUnnamed6824(); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse--; return o; @@ -6665,17 +6891,17 @@ void checkGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse( api.GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse < 3) { - checkUnnamed6751(o.results!); + checkUnnamed6824(o.results!); } buildCounterGoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse--; } -core.List buildUnnamed6752() => [ +core.List buildUnnamed6825() => [ 'foo', 'foo', ]; -void checkUnnamed6752(core.List o) { +void checkUnnamed6825(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6696,7 +6922,7 @@ api.GoogleCloudDialogflowCxV3beta1ContinuousTestResult o.name = 'foo'; o.result = 'foo'; o.runTime = 'foo'; - o.testCaseResults = buildUnnamed6752(); + o.testCaseResults = buildUnnamed6825(); } buildCounterGoogleCloudDialogflowCxV3beta1ContinuousTestResult--; return o; @@ -6718,7 +6944,7 @@ void checkGoogleCloudDialogflowCxV3beta1ContinuousTestResult( o.runTime!, unittest.equals('foo'), ); - checkUnnamed6752(o.testCaseResults!); + checkUnnamed6825(o.testCaseResults!); } buildCounterGoogleCloudDialogflowCxV3beta1ContinuousTestResult--; } @@ -6749,7 +6975,7 @@ void checkGoogleCloudDialogflowCxV3beta1ConversationTurn( buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurn--; } -core.Map buildUnnamed6753() => { +core.Map buildUnnamed6826() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6762,7 +6988,7 @@ core.Map buildUnnamed6753() => { }, }; -void checkUnnamed6753(core.Map o) { +void checkUnnamed6826(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted35 = (o['x']!) as core.Map; unittest.expect(casted35, unittest.hasLength(3)); @@ -6802,7 +7028,7 @@ api.GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput < 3) { o.enableSentimentAnalysis = true; - o.injectedParameters = buildUnnamed6753(); + o.injectedParameters = buildUnnamed6826(); o.input = buildGoogleCloudDialogflowCxV3beta1QueryInput(); o.isWebhookEnabled = true; } @@ -6815,14 +7041,14 @@ void checkGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput( buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput++; if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput < 3) { unittest.expect(o.enableSentimentAnalysis!, unittest.isTrue); - checkUnnamed6753(o.injectedParameters!); + checkUnnamed6826(o.injectedParameters!); checkGoogleCloudDialogflowCxV3beta1QueryInput(o.input!); unittest.expect(o.isWebhookEnabled!, unittest.isTrue); } buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnUserInput--; } -core.Map buildUnnamed6754() => { +core.Map buildUnnamed6827() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6835,7 +7061,7 @@ core.Map buildUnnamed6754() => { }, }; -void checkUnnamed6754(core.Map o) { +void checkUnnamed6827(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted37 = (o['x']!) as core.Map; unittest.expect(casted37, unittest.hasLength(3)); @@ -6868,19 +7094,19 @@ void checkUnnamed6754(core.Map o) { } core.List - buildUnnamed6755() => [ + buildUnnamed6828() => [ buildGoogleCloudDialogflowCxV3beta1TestRunDifference(), buildGoogleCloudDialogflowCxV3beta1TestRunDifference(), ]; -void checkUnnamed6755( +void checkUnnamed6828( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestRunDifference(o[0]); checkGoogleCloudDialogflowCxV3beta1TestRunDifference(o[1]); } -core.Map buildUnnamed6756() => { +core.Map buildUnnamed6829() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6893,7 +7119,7 @@ core.Map buildUnnamed6756() => { }, }; -void checkUnnamed6756(core.Map o) { +void checkUnnamed6829(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted39 = (o['x']!) as core.Map; unittest.expect(casted39, unittest.hasLength(3)); @@ -6926,12 +7152,12 @@ void checkUnnamed6756(core.Map o) { } core.List - buildUnnamed6757() => [ + buildUnnamed6830() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessageText(), buildGoogleCloudDialogflowCxV3beta1ResponseMessageText(), ]; -void checkUnnamed6757( +void checkUnnamed6830( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessageText(o[0]); @@ -6949,11 +7175,11 @@ api.GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput < 3) { o.currentPage = buildGoogleCloudDialogflowCxV3beta1Page(); - o.diagnosticInfo = buildUnnamed6754(); - o.differences = buildUnnamed6755(); - o.sessionParameters = buildUnnamed6756(); + o.diagnosticInfo = buildUnnamed6827(); + o.differences = buildUnnamed6828(); + o.sessionParameters = buildUnnamed6829(); o.status = buildGoogleRpcStatus(); - o.textResponses = buildUnnamed6757(); + o.textResponses = buildUnnamed6830(); o.triggeredIntent = buildGoogleCloudDialogflowCxV3beta1Intent(); } buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput--; @@ -6966,11 +7192,11 @@ void checkGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput( if (buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput < 3) { checkGoogleCloudDialogflowCxV3beta1Page(o.currentPage!); - checkUnnamed6754(o.diagnosticInfo!); - checkUnnamed6755(o.differences!); - checkUnnamed6756(o.sessionParameters!); + checkUnnamed6827(o.diagnosticInfo!); + checkUnnamed6828(o.differences!); + checkUnnamed6829(o.sessionParameters!); checkGoogleRpcStatus(o.status!); - checkUnnamed6757(o.textResponses!); + checkUnnamed6830(o.textResponses!); checkGoogleCloudDialogflowCxV3beta1Intent(o.triggeredIntent!); } buildCounterGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput--; @@ -7256,13 +7482,13 @@ void checkGoogleCloudDialogflowCxV3beta1ExportTestCasesResponse( buildCounterGoogleCloudDialogflowCxV3beta1ExportTestCasesResponse--; } -core.List buildUnnamed6758() => +core.List buildUnnamed6831() => [ buildGoogleCloudDialogflowCxV3beta1FormParameter(), buildGoogleCloudDialogflowCxV3beta1FormParameter(), ]; -void checkUnnamed6758( +void checkUnnamed6831( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1FormParameter(o[0]); @@ -7275,7 +7501,7 @@ api.GoogleCloudDialogflowCxV3beta1Form final o = api.GoogleCloudDialogflowCxV3beta1Form(); buildCounterGoogleCloudDialogflowCxV3beta1Form++; if (buildCounterGoogleCloudDialogflowCxV3beta1Form < 3) { - o.parameters = buildUnnamed6758(); + o.parameters = buildUnnamed6831(); } buildCounterGoogleCloudDialogflowCxV3beta1Form--; return o; @@ -7285,7 +7511,7 @@ void checkGoogleCloudDialogflowCxV3beta1Form( api.GoogleCloudDialogflowCxV3beta1Form o) { buildCounterGoogleCloudDialogflowCxV3beta1Form++; if (buildCounterGoogleCloudDialogflowCxV3beta1Form < 3) { - checkUnnamed6758(o.parameters!); + checkUnnamed6831(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3beta1Form--; } @@ -7348,13 +7574,13 @@ void checkGoogleCloudDialogflowCxV3beta1FormParameter( buildCounterGoogleCloudDialogflowCxV3beta1FormParameter--; } -core.List buildUnnamed6759() => +core.List buildUnnamed6832() => [ buildGoogleCloudDialogflowCxV3beta1EventHandler(), buildGoogleCloudDialogflowCxV3beta1EventHandler(), ]; -void checkUnnamed6759( +void checkUnnamed6832( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1EventHandler(o[0]); @@ -7370,7 +7596,7 @@ api.GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior if (buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior < 3) { o.initialPromptFulfillment = buildGoogleCloudDialogflowCxV3beta1Fulfillment(); - o.repromptEventHandlers = buildUnnamed6759(); + o.repromptEventHandlers = buildUnnamed6832(); } buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior--; return o; @@ -7381,18 +7607,18 @@ void checkGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior( buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior++; if (buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior < 3) { checkGoogleCloudDialogflowCxV3beta1Fulfillment(o.initialPromptFulfillment!); - checkUnnamed6759(o.repromptEventHandlers!); + checkUnnamed6832(o.repromptEventHandlers!); } buildCounterGoogleCloudDialogflowCxV3beta1FormParameterFillBehavior--; } core.List - buildUnnamed6760() => [ + buildUnnamed6833() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases(), buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases(), ]; -void checkUnnamed6760( +void checkUnnamed6833( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -7401,12 +7627,12 @@ void checkUnnamed6760( } core.List - buildUnnamed6761() => [ + buildUnnamed6834() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), ]; -void checkUnnamed6761( +void checkUnnamed6834( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]); @@ -7414,12 +7640,12 @@ void checkUnnamed6761( } core.List - buildUnnamed6762() => [ + buildUnnamed6835() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction(), buildGoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction(), ]; -void checkUnnamed6762( +void checkUnnamed6835( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -7433,10 +7659,10 @@ api.GoogleCloudDialogflowCxV3beta1Fulfillment final o = api.GoogleCloudDialogflowCxV3beta1Fulfillment(); buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment < 3) { - o.conditionalCases = buildUnnamed6760(); - o.messages = buildUnnamed6761(); + o.conditionalCases = buildUnnamed6833(); + o.messages = buildUnnamed6834(); o.returnPartialResponses = true; - o.setParameterActions = buildUnnamed6762(); + o.setParameterActions = buildUnnamed6835(); o.tag = 'foo'; o.webhook = 'foo'; } @@ -7448,10 +7674,10 @@ void checkGoogleCloudDialogflowCxV3beta1Fulfillment( api.GoogleCloudDialogflowCxV3beta1Fulfillment o) { buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment++; if (buildCounterGoogleCloudDialogflowCxV3beta1Fulfillment < 3) { - checkUnnamed6760(o.conditionalCases!); - checkUnnamed6761(o.messages!); + checkUnnamed6833(o.conditionalCases!); + checkUnnamed6834(o.messages!); unittest.expect(o.returnPartialResponses!, unittest.isTrue); - checkUnnamed6762(o.setParameterActions!); + checkUnnamed6835(o.setParameterActions!); unittest.expect( o.tag!, unittest.equals('foo'), @@ -7465,12 +7691,12 @@ void checkGoogleCloudDialogflowCxV3beta1Fulfillment( } core.List - buildUnnamed6763() => [ + buildUnnamed6836() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase(), buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase(), ]; -void checkUnnamed6763( +void checkUnnamed6836( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -7486,7 +7712,7 @@ api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases < 3) { - o.cases = buildUnnamed6763(); + o.cases = buildUnnamed6836(); } buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases--; return o; @@ -7497,19 +7723,19 @@ void checkGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases( buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases < 3) { - checkUnnamed6763(o.cases!); + checkUnnamed6836(o.cases!); } buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases--; } core.List< api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent> - buildUnnamed6764() => [ + buildUnnamed6837() => [ buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent(), buildGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent(), ]; -void checkUnnamed6764( +void checkUnnamed6837( core.List< api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent> o) { @@ -7529,7 +7755,7 @@ api.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase < 3) { - o.caseContent = buildUnnamed6764(); + o.caseContent = buildUnnamed6837(); o.condition = 'foo'; } buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase--; @@ -7541,7 +7767,7 @@ void checkGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase( buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase++; if (buildCounterGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase < 3) { - checkUnnamed6764(o.caseContent!); + checkUnnamed6837(o.caseContent!); unittest.expect( o.condition!, unittest.equals('foo'), @@ -7684,12 +7910,12 @@ void checkGoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata( buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata--; } -core.List buildUnnamed6765() => [ +core.List buildUnnamed6838() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed6765(core.List o) { +void checkUnnamed6838(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -7701,7 +7927,7 @@ api.GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse final o = api.GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed6765(); + o.warnings = buildUnnamed6838(); } buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse--; return o; @@ -7711,7 +7937,7 @@ void checkGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse( api.GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse < 3) { - checkUnnamed6765(o.warnings!); + checkUnnamed6838(o.warnings!); } buildCounterGoogleCloudDialogflowCxV3beta1ImportDocumentsResponse--; } @@ -7740,13 +7966,13 @@ void checkGoogleCloudDialogflowCxV3beta1ImportFlowResponse( buildCounterGoogleCloudDialogflowCxV3beta1ImportFlowResponse--; } -core.List buildUnnamed6766() => +core.List buildUnnamed6839() => [ buildGoogleCloudDialogflowCxV3beta1TestCaseError(), buildGoogleCloudDialogflowCxV3beta1TestCaseError(), ]; -void checkUnnamed6766( +void checkUnnamed6839( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestCaseError(o[0]); @@ -7759,7 +7985,7 @@ api.GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata final o = api.GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata(); buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata < 3) { - o.errors = buildUnnamed6766(); + o.errors = buildUnnamed6839(); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata--; return o; @@ -7769,17 +7995,17 @@ void checkGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata( api.GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata o) { buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata < 3) { - checkUnnamed6766(o.errors!); + checkUnnamed6839(o.errors!); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata--; } -core.List buildUnnamed6767() => [ +core.List buildUnnamed6840() => [ 'foo', 'foo', ]; -void checkUnnamed6767(core.List o) { +void checkUnnamed6840(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7797,7 +8023,7 @@ api.GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse final o = api.GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse(); buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse < 3) { - o.names = buildUnnamed6767(); + o.names = buildUnnamed6840(); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse--; return o; @@ -7807,17 +8033,17 @@ void checkGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse( api.GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse o) { buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse++; if (buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse < 3) { - checkUnnamed6767(o.names!); + checkUnnamed6840(o.names!); } buildCounterGoogleCloudDialogflowCxV3beta1ImportTestCasesResponse--; } -core.List buildUnnamed6768() => [ +core.List buildUnnamed6841() => [ 'foo', 'foo', ]; -void checkUnnamed6768(core.List o) { +void checkUnnamed6841(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7839,7 +8065,7 @@ api.GoogleCloudDialogflowCxV3beta1InputAudioConfig o.enableWordInfo = true; o.model = 'foo'; o.modelVariant = 'foo'; - o.phraseHints = buildUnnamed6768(); + o.phraseHints = buildUnnamed6841(); o.sampleRateHertz = 42; o.singleUtterance = true; } @@ -7864,7 +8090,7 @@ void checkGoogleCloudDialogflowCxV3beta1InputAudioConfig( o.modelVariant!, unittest.equals('foo'), ); - checkUnnamed6768(o.phraseHints!); + checkUnnamed6841(o.phraseHints!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), @@ -7874,12 +8100,12 @@ void checkGoogleCloudDialogflowCxV3beta1InputAudioConfig( buildCounterGoogleCloudDialogflowCxV3beta1InputAudioConfig--; } -core.Map buildUnnamed6769() => { +core.Map buildUnnamed6842() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6769(core.Map o) { +void checkUnnamed6842(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7892,12 +8118,12 @@ void checkUnnamed6769(core.Map o) { } core.List - buildUnnamed6770() => [ + buildUnnamed6843() => [ buildGoogleCloudDialogflowCxV3beta1IntentParameter(), buildGoogleCloudDialogflowCxV3beta1IntentParameter(), ]; -void checkUnnamed6770( +void checkUnnamed6843( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1IntentParameter(o[0]); @@ -7905,12 +8131,12 @@ void checkUnnamed6770( } core.List - buildUnnamed6771() => [ + buildUnnamed6844() => [ buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(), buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(), ]; -void checkUnnamed6771( +void checkUnnamed6844( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase(o[0]); @@ -7926,11 +8152,11 @@ api.GoogleCloudDialogflowCxV3beta1Intent o.description = 'foo'; o.displayName = 'foo'; o.isFallback = true; - o.labels = buildUnnamed6769(); + o.labels = buildUnnamed6842(); o.name = 'foo'; - o.parameters = buildUnnamed6770(); + o.parameters = buildUnnamed6843(); o.priority = 42; - o.trainingPhrases = buildUnnamed6771(); + o.trainingPhrases = buildUnnamed6844(); } buildCounterGoogleCloudDialogflowCxV3beta1Intent--; return o; @@ -7949,17 +8175,17 @@ void checkGoogleCloudDialogflowCxV3beta1Intent( unittest.equals('foo'), ); unittest.expect(o.isFallback!, unittest.isTrue); - checkUnnamed6769(o.labels!); + checkUnnamed6842(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6770(o.parameters!); + checkUnnamed6843(o.parameters!); unittest.expect( o.priority!, unittest.equals(42), ); - checkUnnamed6771(o.trainingPhrases!); + checkUnnamed6844(o.trainingPhrases!); } buildCounterGoogleCloudDialogflowCxV3beta1Intent--; } @@ -8022,12 +8248,12 @@ void checkGoogleCloudDialogflowCxV3beta1IntentParameter( } core.List - buildUnnamed6772() => [ + buildUnnamed6845() => [ buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart(), buildGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart(), ]; -void checkUnnamed6772( +void checkUnnamed6845( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart(o[0]); @@ -8041,7 +8267,7 @@ api.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase < 3) { o.id = 'foo'; - o.parts = buildUnnamed6772(); + o.parts = buildUnnamed6845(); o.repeatCount = 42; } buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase--; @@ -8056,7 +8282,7 @@ void checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrase( o.id!, unittest.equals('foo'), ); - checkUnnamed6772(o.parts!); + checkUnnamed6845(o.parts!); unittest.expect( o.repeatCount!, unittest.equals(42), @@ -8094,25 +8320,25 @@ void checkGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart( buildCounterGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart--; } -core.List buildUnnamed6773() => +core.List buildUnnamed6846() => [ buildGoogleCloudDialogflowCxV3beta1EventHandler(), buildGoogleCloudDialogflowCxV3beta1EventHandler(), ]; -void checkUnnamed6773( +void checkUnnamed6846( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1EventHandler(o[0]); checkGoogleCloudDialogflowCxV3beta1EventHandler(o[1]); } -core.List buildUnnamed6774() => [ +core.List buildUnnamed6847() => [ 'foo', 'foo', ]; -void checkUnnamed6774(core.List o) { +void checkUnnamed6847(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8125,12 +8351,12 @@ void checkUnnamed6774(core.List o) { } core.List - buildUnnamed6775() => [ + buildUnnamed6848() => [ buildGoogleCloudDialogflowCxV3beta1TransitionRoute(), buildGoogleCloudDialogflowCxV3beta1TransitionRoute(), ]; -void checkUnnamed6775( +void checkUnnamed6848( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TransitionRoute(o[0]); @@ -8145,11 +8371,11 @@ api.GoogleCloudDialogflowCxV3beta1Page if (buildCounterGoogleCloudDialogflowCxV3beta1Page < 3) { o.displayName = 'foo'; o.entryFulfillment = buildGoogleCloudDialogflowCxV3beta1Fulfillment(); - o.eventHandlers = buildUnnamed6773(); + o.eventHandlers = buildUnnamed6846(); o.form = buildGoogleCloudDialogflowCxV3beta1Form(); o.name = 'foo'; - o.transitionRouteGroups = buildUnnamed6774(); - o.transitionRoutes = buildUnnamed6775(); + o.transitionRouteGroups = buildUnnamed6847(); + o.transitionRoutes = buildUnnamed6848(); } buildCounterGoogleCloudDialogflowCxV3beta1Page--; return o; @@ -8164,14 +8390,14 @@ void checkGoogleCloudDialogflowCxV3beta1Page( unittest.equals('foo'), ); checkGoogleCloudDialogflowCxV3beta1Fulfillment(o.entryFulfillment!); - checkUnnamed6773(o.eventHandlers!); + checkUnnamed6846(o.eventHandlers!); checkGoogleCloudDialogflowCxV3beta1Form(o.form!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6774(o.transitionRouteGroups!); - checkUnnamed6775(o.transitionRoutes!); + checkUnnamed6847(o.transitionRouteGroups!); + checkUnnamed6848(o.transitionRoutes!); } buildCounterGoogleCloudDialogflowCxV3beta1Page--; } @@ -8203,12 +8429,12 @@ void checkGoogleCloudDialogflowCxV3beta1PageInfo( } core.List - buildUnnamed6776() => [ + buildUnnamed6849() => [ buildGoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo(), buildGoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo(), ]; -void checkUnnamed6776( +void checkUnnamed6849( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -8222,7 +8448,7 @@ api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo final o = api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo(); buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo < 3) { - o.parameterInfo = buildUnnamed6776(); + o.parameterInfo = buildUnnamed6849(); } buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo--; return o; @@ -8232,7 +8458,7 @@ void checkGoogleCloudDialogflowCxV3beta1PageInfoFormInfo( api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo o) { buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo < 3) { - checkUnnamed6776(o.parameterInfo!); + checkUnnamed6849(o.parameterInfo!); } buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo--; } @@ -8353,7 +8579,7 @@ void checkGoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata( buildCounterGoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata--; } -core.Map buildUnnamed6777() => { +core.Map buildUnnamed6850() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8366,7 +8592,7 @@ core.Map buildUnnamed6777() => { }, }; -void checkUnnamed6777(core.Map o) { +void checkUnnamed6850(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted44 = (o['x']!) as core.Map; unittest.expect(casted44, unittest.hasLength(3)); @@ -8414,7 +8640,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessage buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(); o.outputAudioText = buildGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText(); - o.payload = buildUnnamed6777(); + o.payload = buildUnnamed6850(); o.playAudio = buildGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio(); o.text = buildGoogleCloudDialogflowCxV3beta1ResponseMessageText(); } @@ -8435,14 +8661,14 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessage( checkGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(o.mixedAudio!); checkGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText( o.outputAudioText!); - checkUnnamed6777(o.payload!); + checkUnnamed6850(o.payload!); checkGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio(o.playAudio!); checkGoogleCloudDialogflowCxV3beta1ResponseMessageText(o.text!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessage--; } -core.Map buildUnnamed6778() => { +core.Map buildUnnamed6851() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8455,7 +8681,7 @@ core.Map buildUnnamed6778() => { }, }; -void checkUnnamed6778(core.Map o) { +void checkUnnamed6851(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted46 = (o['x']!) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); @@ -8497,7 +8723,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess < 3) { - o.metadata = buildUnnamed6778(); + o.metadata = buildUnnamed6851(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess--; return o; @@ -8508,7 +8734,7 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess < 3) { - checkUnnamed6778(o.metadata!); + checkUnnamed6851(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess--; } @@ -8533,7 +8759,7 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction--; } -core.Map buildUnnamed6779() => { +core.Map buildUnnamed6852() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8546,7 +8772,7 @@ core.Map buildUnnamed6779() => { }, }; -void checkUnnamed6779(core.Map o) { +void checkUnnamed6852(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted48 = (o['x']!) as core.Map; unittest.expect(casted48, unittest.hasLength(3)); @@ -8587,7 +8813,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff < 3) { - o.metadata = buildUnnamed6779(); + o.metadata = buildUnnamed6852(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff--; return o; @@ -8598,18 +8824,18 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff < 3) { - checkUnnamed6779(o.metadata!); + checkUnnamed6852(o.metadata!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff--; } core.List - buildUnnamed6780() => [ + buildUnnamed6853() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment(), buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment(), ]; -void checkUnnamed6780( +void checkUnnamed6853( core.List< api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment> o) { @@ -8625,7 +8851,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio final o = api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(); buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio < 3) { - o.segments = buildUnnamed6780(); + o.segments = buildUnnamed6853(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio--; return o; @@ -8635,7 +8861,7 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio( api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio o) { buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio < 3) { - checkUnnamed6780(o.segments!); + checkUnnamed6853(o.segments!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio--; } @@ -8737,12 +8963,12 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio--; } -core.List buildUnnamed6781() => [ +core.List buildUnnamed6854() => [ 'foo', 'foo', ]; -void checkUnnamed6781(core.List o) { +void checkUnnamed6854(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8761,7 +8987,7 @@ api.GoogleCloudDialogflowCxV3beta1ResponseMessageText buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText < 3) { o.allowPlaybackInterruption = true; - o.text = buildUnnamed6781(); + o.text = buildUnnamed6854(); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText--; return o; @@ -8772,17 +8998,17 @@ void checkGoogleCloudDialogflowCxV3beta1ResponseMessageText( buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText++; if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText < 3) { unittest.expect(o.allowPlaybackInterruption!, unittest.isTrue); - checkUnnamed6781(o.text!); + checkUnnamed6854(o.text!); } buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText--; } -core.List buildUnnamed6782() => [ +core.List buildUnnamed6855() => [ buildGoogleCloudDialogflowCxV3beta1TestError(), buildGoogleCloudDialogflowCxV3beta1TestError(), ]; -void checkUnnamed6782( +void checkUnnamed6855( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1TestError(o[0]); @@ -8796,7 +9022,7 @@ api.GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata final o = api.GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata(); buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata < 3) { - o.errors = buildUnnamed6782(); + o.errors = buildUnnamed6855(); } buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata--; return o; @@ -8806,7 +9032,7 @@ void checkGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata( api.GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata o) { buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata++; if (buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata < 3) { - checkUnnamed6782(o.errors!); + checkUnnamed6855(o.errors!); } buildCounterGoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata--; } @@ -8873,7 +9099,7 @@ void checkGoogleCloudDialogflowCxV3beta1RunTestCaseResponse( buildCounterGoogleCloudDialogflowCxV3beta1RunTestCaseResponse--; } -core.Map buildUnnamed6783() => { +core.Map buildUnnamed6856() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8886,7 +9112,7 @@ core.Map buildUnnamed6783() => { }, }; -void checkUnnamed6783(core.Map o) { +void checkUnnamed6856(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted50 = (o['x']!) as core.Map; unittest.expect(casted50, unittest.hasLength(3)); @@ -8924,7 +9150,7 @@ api.GoogleCloudDialogflowCxV3beta1SessionInfo final o = api.GoogleCloudDialogflowCxV3beta1SessionInfo(); buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo < 3) { - o.parameters = buildUnnamed6783(); + o.parameters = buildUnnamed6856(); o.session = 'foo'; } buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo--; @@ -8935,7 +9161,7 @@ void checkGoogleCloudDialogflowCxV3beta1SessionInfo( api.GoogleCloudDialogflowCxV3beta1SessionInfo o) { buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo++; if (buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo < 3) { - checkUnnamed6783(o.parameters!); + checkUnnamed6856(o.parameters!); unittest.expect( o.session!, unittest.equals('foo'), @@ -8944,12 +9170,12 @@ void checkGoogleCloudDialogflowCxV3beta1SessionInfo( buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo--; } -core.List buildUnnamed6784() => [ +core.List buildUnnamed6857() => [ 'foo', 'foo', ]; -void checkUnnamed6784(core.List o) { +void checkUnnamed6857(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8962,12 +9188,12 @@ void checkUnnamed6784(core.List o) { } core.List - buildUnnamed6785() => [ + buildUnnamed6858() => [ buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), ]; -void checkUnnamed6785( +void checkUnnamed6858( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ConversationTurn(o[0]); @@ -8985,8 +9211,8 @@ api.GoogleCloudDialogflowCxV3beta1TestCase o.lastTestResult = buildGoogleCloudDialogflowCxV3beta1TestCaseResult(); o.name = 'foo'; o.notes = 'foo'; - o.tags = buildUnnamed6784(); - o.testCaseConversationTurns = buildUnnamed6785(); + o.tags = buildUnnamed6857(); + o.testCaseConversationTurns = buildUnnamed6858(); o.testConfig = buildGoogleCloudDialogflowCxV3beta1TestConfig(); } buildCounterGoogleCloudDialogflowCxV3beta1TestCase--; @@ -9014,8 +9240,8 @@ void checkGoogleCloudDialogflowCxV3beta1TestCase( o.notes!, unittest.equals('foo'), ); - checkUnnamed6784(o.tags!); - checkUnnamed6785(o.testCaseConversationTurns!); + checkUnnamed6857(o.tags!); + checkUnnamed6858(o.testCaseConversationTurns!); checkGoogleCloudDialogflowCxV3beta1TestConfig(o.testConfig!); } buildCounterGoogleCloudDialogflowCxV3beta1TestCase--; @@ -9045,12 +9271,12 @@ void checkGoogleCloudDialogflowCxV3beta1TestCaseError( } core.List - buildUnnamed6786() => [ + buildUnnamed6859() => [ buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), buildGoogleCloudDialogflowCxV3beta1ConversationTurn(), ]; -void checkUnnamed6786( +void checkUnnamed6859( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ConversationTurn(o[0]); @@ -9063,7 +9289,7 @@ api.GoogleCloudDialogflowCxV3beta1TestCaseResult final o = api.GoogleCloudDialogflowCxV3beta1TestCaseResult(); buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult < 3) { - o.conversationTurns = buildUnnamed6786(); + o.conversationTurns = buildUnnamed6859(); o.environment = 'foo'; o.name = 'foo'; o.testResult = 'foo'; @@ -9077,7 +9303,7 @@ void checkGoogleCloudDialogflowCxV3beta1TestCaseResult( api.GoogleCloudDialogflowCxV3beta1TestCaseResult o) { buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult++; if (buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult < 3) { - checkUnnamed6786(o.conversationTurns!); + checkUnnamed6859(o.conversationTurns!); unittest.expect( o.environment!, unittest.equals('foo'), @@ -9098,12 +9324,12 @@ void checkGoogleCloudDialogflowCxV3beta1TestCaseResult( buildCounterGoogleCloudDialogflowCxV3beta1TestCaseResult--; } -core.List buildUnnamed6787() => [ +core.List buildUnnamed6860() => [ 'foo', 'foo', ]; -void checkUnnamed6787(core.List o) { +void checkUnnamed6860(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9122,7 +9348,7 @@ api.GoogleCloudDialogflowCxV3beta1TestConfig buildCounterGoogleCloudDialogflowCxV3beta1TestConfig++; if (buildCounterGoogleCloudDialogflowCxV3beta1TestConfig < 3) { o.flow = 'foo'; - o.trackingParameters = buildUnnamed6787(); + o.trackingParameters = buildUnnamed6860(); } buildCounterGoogleCloudDialogflowCxV3beta1TestConfig--; return o; @@ -9136,7 +9362,7 @@ void checkGoogleCloudDialogflowCxV3beta1TestConfig( o.flow!, unittest.equals('foo'), ); - checkUnnamed6787(o.trackingParameters!); + checkUnnamed6860(o.trackingParameters!); } buildCounterGoogleCloudDialogflowCxV3beta1TestConfig--; } @@ -9299,19 +9525,19 @@ void checkGoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata( } core.List - buildUnnamed6788() => [ + buildUnnamed6861() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), ]; -void checkUnnamed6788( +void checkUnnamed6861( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[1]); } -core.Map buildUnnamed6789() => { +core.Map buildUnnamed6862() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9324,7 +9550,7 @@ core.Map buildUnnamed6789() => { }, }; -void checkUnnamed6789(core.Map o) { +void checkUnnamed6862(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted52 = (o['x']!) as core.Map; unittest.expect(casted52, unittest.hasLength(3)); @@ -9368,9 +9594,9 @@ api.GoogleCloudDialogflowCxV3beta1WebhookRequest o.intentInfo = buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo(); o.languageCode = 'foo'; - o.messages = buildUnnamed6788(); + o.messages = buildUnnamed6861(); o.pageInfo = buildGoogleCloudDialogflowCxV3beta1PageInfo(); - o.payload = buildUnnamed6789(); + o.payload = buildUnnamed6862(); o.sentimentAnalysisResult = buildGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult(); o.sessionInfo = buildGoogleCloudDialogflowCxV3beta1SessionInfo(); @@ -9398,9 +9624,9 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequest( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed6788(o.messages!); + checkUnnamed6861(o.messages!); checkGoogleCloudDialogflowCxV3beta1PageInfo(o.pageInfo!); - checkUnnamed6789(o.payload!); + checkUnnamed6862(o.payload!); checkGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( o.sentimentAnalysisResult!); checkGoogleCloudDialogflowCxV3beta1SessionInfo(o.sessionInfo!); @@ -9453,14 +9679,14 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo( core.Map - buildUnnamed6790() => { + buildUnnamed6863() => { 'x': buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue(), 'y': buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue(), }; -void checkUnnamed6790( +void checkUnnamed6863( core.Map o) { @@ -9480,7 +9706,7 @@ api.GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo o.confidence = 42.0; o.displayName = 'foo'; o.lastMatchedIntent = 'foo'; - o.parameters = buildUnnamed6790(); + o.parameters = buildUnnamed6863(); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo--; return o; @@ -9502,7 +9728,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo( o.lastMatchedIntent!, unittest.equals('foo'), ); - checkUnnamed6790(o.parameters!); + checkUnnamed6863(o.parameters!); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo--; } @@ -9590,7 +9816,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult( buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult--; } -core.Map buildUnnamed6791() => { +core.Map buildUnnamed6864() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9603,7 +9829,7 @@ core.Map buildUnnamed6791() => { }, }; -void checkUnnamed6791(core.Map o) { +void checkUnnamed6864(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted55 = (o['x']!) as core.Map; unittest.expect(casted55, unittest.hasLength(3)); @@ -9644,7 +9870,7 @@ api.GoogleCloudDialogflowCxV3beta1WebhookResponse o.fulfillmentResponse = buildGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse(); o.pageInfo = buildGoogleCloudDialogflowCxV3beta1PageInfo(); - o.payload = buildUnnamed6791(); + o.payload = buildUnnamed6864(); o.sessionInfo = buildGoogleCloudDialogflowCxV3beta1SessionInfo(); o.targetFlow = 'foo'; o.targetPage = 'foo'; @@ -9660,7 +9886,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookResponse( checkGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( o.fulfillmentResponse!); checkGoogleCloudDialogflowCxV3beta1PageInfo(o.pageInfo!); - checkUnnamed6791(o.payload!); + checkUnnamed6864(o.payload!); checkGoogleCloudDialogflowCxV3beta1SessionInfo(o.sessionInfo!); unittest.expect( o.targetFlow!, @@ -9675,12 +9901,12 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookResponse( } core.List - buildUnnamed6792() => [ + buildUnnamed6865() => [ buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), buildGoogleCloudDialogflowCxV3beta1ResponseMessage(), ]; -void checkUnnamed6792( +void checkUnnamed6865( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]); @@ -9698,7 +9924,7 @@ api.GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse if (buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse < 3) { o.mergeBehavior = 'foo'; - o.messages = buildUnnamed6792(); + o.messages = buildUnnamed6865(); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse--; return o; @@ -9713,7 +9939,7 @@ void checkGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse( o.mergeBehavior!, unittest.equals('foo'), ); - checkUnnamed6792(o.messages!); + checkUnnamed6865(o.messages!); } buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse--; } @@ -9766,12 +9992,12 @@ void checkGoogleCloudDialogflowV2AnnotatedMessagePart( buildCounterGoogleCloudDialogflowV2AnnotatedMessagePart--; } -core.Map buildUnnamed6793() => { +core.Map buildUnnamed6866() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6793(core.Map o) { +void checkUnnamed6866(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9783,12 +10009,12 @@ void checkUnnamed6793(core.Map o) { ); } -core.List buildUnnamed6794() => [ +core.List buildUnnamed6867() => [ 'foo', 'foo', ]; -void checkUnnamed6794(core.List o) { +void checkUnnamed6867(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9808,8 +10034,8 @@ api.GoogleCloudDialogflowV2ArticleAnswer if (buildCounterGoogleCloudDialogflowV2ArticleAnswer < 3) { o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed6793(); - o.snippets = buildUnnamed6794(); + o.metadata = buildUnnamed6866(); + o.snippets = buildUnnamed6867(); o.title = 'foo'; o.uri = 'foo'; } @@ -9829,8 +10055,8 @@ void checkGoogleCloudDialogflowV2ArticleAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed6793(o.metadata!); - checkUnnamed6794(o.snippets!); + checkUnnamed6866(o.metadata!); + checkUnnamed6867(o.snippets!); unittest.expect( o.title!, unittest.equals('foo'), @@ -9843,12 +10069,12 @@ void checkGoogleCloudDialogflowV2ArticleAnswer( buildCounterGoogleCloudDialogflowV2ArticleAnswer--; } -core.List buildUnnamed6795() => [ +core.List buildUnnamed6868() => [ buildGoogleCloudDialogflowV2EntityType(), buildGoogleCloudDialogflowV2EntityType(), ]; -void checkUnnamed6795(core.List o) { +void checkUnnamed6868(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityType(o[0]); checkGoogleCloudDialogflowV2EntityType(o[1]); @@ -9860,7 +10086,7 @@ api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse final o = api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse(); buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed6795(); + o.entityTypes = buildUnnamed6868(); } buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse--; return o; @@ -9870,17 +10096,17 @@ void checkGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse( api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse o) { buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse < 3) { - checkUnnamed6795(o.entityTypes!); + checkUnnamed6868(o.entityTypes!); } buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse--; } -core.List buildUnnamed6796() => [ +core.List buildUnnamed6869() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed6796(core.List o) { +void checkUnnamed6869(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -9892,7 +10118,7 @@ api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse final o = api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse(); buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse < 3) { - o.intents = buildUnnamed6796(); + o.intents = buildUnnamed6869(); } buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse--; return o; @@ -9902,12 +10128,12 @@ void checkGoogleCloudDialogflowV2BatchUpdateIntentsResponse( api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse o) { buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse < 3) { - checkUnnamed6796(o.intents!); + checkUnnamed6869(o.intents!); } buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse--; } -core.Map buildUnnamed6797() => { +core.Map buildUnnamed6870() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9920,7 +10146,7 @@ core.Map buildUnnamed6797() => { }, }; -void checkUnnamed6797(core.Map o) { +void checkUnnamed6870(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted58 = (o['x']!) as core.Map; unittest.expect(casted58, unittest.hasLength(3)); @@ -9959,7 +10185,7 @@ api.GoogleCloudDialogflowV2Context buildGoogleCloudDialogflowV2Context() { if (buildCounterGoogleCloudDialogflowV2Context < 3) { o.lifespanCount = 42; o.name = 'foo'; - o.parameters = buildUnnamed6797(); + o.parameters = buildUnnamed6870(); } buildCounterGoogleCloudDialogflowV2Context--; return o; @@ -9976,7 +10202,7 @@ void checkGoogleCloudDialogflowV2Context(api.GoogleCloudDialogflowV2Context o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6797(o.parameters!); + checkUnnamed6870(o.parameters!); } buildCounterGoogleCloudDialogflowV2Context--; } @@ -10014,12 +10240,12 @@ void checkGoogleCloudDialogflowV2ConversationEvent( buildCounterGoogleCloudDialogflowV2ConversationEvent--; } -core.List buildUnnamed6798() => [ +core.List buildUnnamed6871() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed6798( +void checkUnnamed6871( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); @@ -10034,7 +10260,7 @@ api.GoogleCloudDialogflowV2EntityType buildGoogleCloudDialogflowV2EntityType() { o.autoExpansionMode = 'foo'; o.displayName = 'foo'; o.enableFuzzyExtraction = true; - o.entities = buildUnnamed6798(); + o.entities = buildUnnamed6871(); o.kind = 'foo'; o.name = 'foo'; } @@ -10055,7 +10281,7 @@ void checkGoogleCloudDialogflowV2EntityType( unittest.equals('foo'), ); unittest.expect(o.enableFuzzyExtraction!, unittest.isTrue); - checkUnnamed6798(o.entities!); + checkUnnamed6871(o.entities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -10068,12 +10294,12 @@ void checkGoogleCloudDialogflowV2EntityType( buildCounterGoogleCloudDialogflowV2EntityType--; } -core.List buildUnnamed6799() => [ +core.List buildUnnamed6872() => [ 'foo', 'foo', ]; -void checkUnnamed6799(core.List o) { +void checkUnnamed6872(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10091,7 +10317,7 @@ api.GoogleCloudDialogflowV2EntityTypeEntity final o = api.GoogleCloudDialogflowV2EntityTypeEntity(); buildCounterGoogleCloudDialogflowV2EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) { - o.synonyms = buildUnnamed6799(); + o.synonyms = buildUnnamed6872(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2EntityTypeEntity--; @@ -10102,7 +10328,7 @@ void checkGoogleCloudDialogflowV2EntityTypeEntity( api.GoogleCloudDialogflowV2EntityTypeEntity o) { buildCounterGoogleCloudDialogflowV2EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) { - checkUnnamed6799(o.synonyms!); + checkUnnamed6872(o.synonyms!); unittest.expect( o.value!, unittest.equals('foo'), @@ -10111,7 +10337,7 @@ void checkGoogleCloudDialogflowV2EntityTypeEntity( buildCounterGoogleCloudDialogflowV2EntityTypeEntity--; } -core.Map buildUnnamed6800() => { +core.Map buildUnnamed6873() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -10124,7 +10350,7 @@ core.Map buildUnnamed6800() => { }, }; -void checkUnnamed6800(core.Map o) { +void checkUnnamed6873(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted60 = (o['x']!) as core.Map; unittest.expect(casted60, unittest.hasLength(3)); @@ -10163,7 +10389,7 @@ api.GoogleCloudDialogflowV2EventInput buildGoogleCloudDialogflowV2EventInput() { if (buildCounterGoogleCloudDialogflowV2EventInput < 3) { o.languageCode = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed6800(); + o.parameters = buildUnnamed6873(); } buildCounterGoogleCloudDialogflowV2EventInput--; return o; @@ -10181,7 +10407,7 @@ void checkGoogleCloudDialogflowV2EventInput( o.name!, unittest.equals('foo'), ); - checkUnnamed6800(o.parameters!); + checkUnnamed6873(o.parameters!); } buildCounterGoogleCloudDialogflowV2EventInput--; } @@ -10215,12 +10441,12 @@ void checkGoogleCloudDialogflowV2ExportAgentResponse( buildCounterGoogleCloudDialogflowV2ExportAgentResponse--; } -core.Map buildUnnamed6801() => { +core.Map buildUnnamed6874() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6801(core.Map o) { +void checkUnnamed6874(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -10240,7 +10466,7 @@ api.GoogleCloudDialogflowV2FaqAnswer buildGoogleCloudDialogflowV2FaqAnswer() { o.answer = 'foo'; o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed6801(); + o.metadata = buildUnnamed6874(); o.question = 'foo'; o.source = 'foo'; } @@ -10264,7 +10490,7 @@ void checkGoogleCloudDialogflowV2FaqAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed6801(o.metadata!); + checkUnnamed6874(o.metadata!); unittest.expect( o.question!, unittest.equals('foo'), @@ -10277,12 +10503,12 @@ void checkGoogleCloudDialogflowV2FaqAnswer( buildCounterGoogleCloudDialogflowV2FaqAnswer--; } -core.List buildUnnamed6802() => [ +core.List buildUnnamed6875() => [ buildGoogleCloudDialogflowV2SuggestionResult(), buildGoogleCloudDialogflowV2SuggestionResult(), ]; -void checkUnnamed6802( +void checkUnnamed6875( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SuggestionResult(o[0]); @@ -10297,7 +10523,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantEvent if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantEvent < 3) { o.conversation = 'foo'; o.participant = 'foo'; - o.suggestionResults = buildUnnamed6802(); + o.suggestionResults = buildUnnamed6875(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantEvent--; return o; @@ -10315,17 +10541,17 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantEvent( o.participant!, unittest.equals('foo'), ); - checkUnnamed6802(o.suggestionResults!); + checkUnnamed6875(o.suggestionResults!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantEvent--; } -core.List buildUnnamed6803() => [ +core.List buildUnnamed6876() => [ 'foo', 'foo', ]; -void checkUnnamed6803(core.List o) { +void checkUnnamed6876(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10337,12 +10563,12 @@ void checkUnnamed6803(core.List o) { ); } -core.List buildUnnamed6804() => [ +core.List buildUnnamed6877() => [ 'foo', 'foo', ]; -void checkUnnamed6804(core.List o) { +void checkUnnamed6877(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10355,24 +10581,24 @@ void checkUnnamed6804(core.List o) { } core.List - buildUnnamed6805() => [ + buildUnnamed6878() => [ buildGoogleCloudDialogflowV2IntentFollowupIntentInfo(), buildGoogleCloudDialogflowV2IntentFollowupIntentInfo(), ]; -void checkUnnamed6805( +void checkUnnamed6878( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[0]); checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[1]); } -core.List buildUnnamed6806() => [ +core.List buildUnnamed6879() => [ 'foo', 'foo', ]; -void checkUnnamed6806(core.List o) { +void checkUnnamed6879(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10384,46 +10610,46 @@ void checkUnnamed6806(core.List o) { ); } -core.List buildUnnamed6807() => [ +core.List buildUnnamed6880() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed6807(core.List o) { +void checkUnnamed6880(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed6808() => [ +core.List buildUnnamed6881() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed6808(core.List o) { +void checkUnnamed6881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.List buildUnnamed6809() => [ +core.List buildUnnamed6882() => [ buildGoogleCloudDialogflowV2IntentParameter(), buildGoogleCloudDialogflowV2IntentParameter(), ]; -void checkUnnamed6809(core.List o) { +void checkUnnamed6882(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentParameter(o[0]); checkGoogleCloudDialogflowV2IntentParameter(o[1]); } -core.List buildUnnamed6810() => +core.List buildUnnamed6883() => [ buildGoogleCloudDialogflowV2IntentTrainingPhrase(), buildGoogleCloudDialogflowV2IntentTrainingPhrase(), ]; -void checkUnnamed6810( +void checkUnnamed6883( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentTrainingPhrase(o[0]); @@ -10436,24 +10662,24 @@ api.GoogleCloudDialogflowV2Intent buildGoogleCloudDialogflowV2Intent() { buildCounterGoogleCloudDialogflowV2Intent++; if (buildCounterGoogleCloudDialogflowV2Intent < 3) { o.action = 'foo'; - o.defaultResponsePlatforms = buildUnnamed6803(); + o.defaultResponsePlatforms = buildUnnamed6876(); o.displayName = 'foo'; o.endInteraction = true; - o.events = buildUnnamed6804(); - o.followupIntentInfo = buildUnnamed6805(); - o.inputContextNames = buildUnnamed6806(); + o.events = buildUnnamed6877(); + o.followupIntentInfo = buildUnnamed6878(); + o.inputContextNames = buildUnnamed6879(); o.isFallback = true; o.liveAgentHandoff = true; - o.messages = buildUnnamed6807(); + o.messages = buildUnnamed6880(); o.mlDisabled = true; o.name = 'foo'; - o.outputContexts = buildUnnamed6808(); - o.parameters = buildUnnamed6809(); + o.outputContexts = buildUnnamed6881(); + o.parameters = buildUnnamed6882(); o.parentFollowupIntentName = 'foo'; o.priority = 42; o.resetContexts = true; o.rootFollowupIntentName = 'foo'; - o.trainingPhrases = buildUnnamed6810(); + o.trainingPhrases = buildUnnamed6883(); o.webhookState = 'foo'; } buildCounterGoogleCloudDialogflowV2Intent--; @@ -10467,25 +10693,25 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { o.action!, unittest.equals('foo'), ); - checkUnnamed6803(o.defaultResponsePlatforms!); + checkUnnamed6876(o.defaultResponsePlatforms!); unittest.expect( o.displayName!, unittest.equals('foo'), ); unittest.expect(o.endInteraction!, unittest.isTrue); - checkUnnamed6804(o.events!); - checkUnnamed6805(o.followupIntentInfo!); - checkUnnamed6806(o.inputContextNames!); + checkUnnamed6877(o.events!); + checkUnnamed6878(o.followupIntentInfo!); + checkUnnamed6879(o.inputContextNames!); unittest.expect(o.isFallback!, unittest.isTrue); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed6807(o.messages!); + checkUnnamed6880(o.messages!); unittest.expect(o.mlDisabled!, unittest.isTrue); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6808(o.outputContexts!); - checkUnnamed6809(o.parameters!); + checkUnnamed6881(o.outputContexts!); + checkUnnamed6882(o.parameters!); unittest.expect( o.parentFollowupIntentName!, unittest.equals('foo'), @@ -10499,7 +10725,7 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { o.rootFollowupIntentName!, unittest.equals('foo'), ); - checkUnnamed6810(o.trainingPhrases!); + checkUnnamed6883(o.trainingPhrases!); unittest.expect( o.webhookState!, unittest.equals('foo'), @@ -10537,7 +10763,7 @@ void checkGoogleCloudDialogflowV2IntentFollowupIntentInfo( buildCounterGoogleCloudDialogflowV2IntentFollowupIntentInfo--; } -core.Map buildUnnamed6811() => { +core.Map buildUnnamed6884() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -10550,7 +10776,7 @@ core.Map buildUnnamed6811() => { }, }; -void checkUnnamed6811(core.Map o) { +void checkUnnamed6884(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted62 = (o['x']!) as core.Map; unittest.expect(casted62, unittest.hasLength(3)); @@ -10599,7 +10825,7 @@ api.GoogleCloudDialogflowV2IntentMessage buildGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion(); o.listSelect = buildGoogleCloudDialogflowV2IntentMessageListSelect(); o.mediaContent = buildGoogleCloudDialogflowV2IntentMessageMediaContent(); - o.payload = buildUnnamed6811(); + o.payload = buildUnnamed6884(); o.platform = 'foo'; o.quickReplies = buildGoogleCloudDialogflowV2IntentMessageQuickReplies(); o.simpleResponses = @@ -10626,7 +10852,7 @@ void checkGoogleCloudDialogflowV2IntentMessage( o.linkOutSuggestion!); checkGoogleCloudDialogflowV2IntentMessageListSelect(o.listSelect!); checkGoogleCloudDialogflowV2IntentMessageMediaContent(o.mediaContent!); - checkUnnamed6811(o.payload!); + checkUnnamed6884(o.payload!); unittest.expect( o.platform!, unittest.equals('foo'), @@ -10642,12 +10868,12 @@ void checkGoogleCloudDialogflowV2IntentMessage( } core.List - buildUnnamed6812() => [ + buildUnnamed6885() => [ buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), ]; -void checkUnnamed6812( +void checkUnnamed6885( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]); @@ -10660,7 +10886,7 @@ api.GoogleCloudDialogflowV2IntentMessageBasicCard final o = api.GoogleCloudDialogflowV2IntentMessageBasicCard(); buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) { - o.buttons = buildUnnamed6812(); + o.buttons = buildUnnamed6885(); o.formattedText = 'foo'; o.image = buildGoogleCloudDialogflowV2IntentMessageImage(); o.subtitle = 'foo'; @@ -10674,7 +10900,7 @@ void checkGoogleCloudDialogflowV2IntentMessageBasicCard( api.GoogleCloudDialogflowV2IntentMessageBasicCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) { - checkUnnamed6812(o.buttons!); + checkUnnamed6885(o.buttons!); unittest.expect( o.formattedText!, unittest.equals('foo'), @@ -10751,12 +10977,12 @@ void checkGoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( core.List< api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem> - buildUnnamed6813() => [ + buildUnnamed6886() => [ buildGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), buildGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), ]; -void checkUnnamed6813( +void checkUnnamed6886( core.List< api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem> o) { @@ -10774,7 +11000,7 @@ api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard < 3) { o.imageDisplayOptions = 'foo'; - o.items = buildUnnamed6813(); + o.items = buildUnnamed6886(); } buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--; return o; @@ -10788,7 +11014,7 @@ void checkGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( o.imageDisplayOptions!, unittest.equals('foo'), ); - checkUnnamed6813(o.items!); + checkUnnamed6886(o.items!); } buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--; } @@ -10875,12 +11101,12 @@ void checkGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa } core.List - buildUnnamed6814() => [ + buildUnnamed6887() => [ buildGoogleCloudDialogflowV2IntentMessageCardButton(), buildGoogleCloudDialogflowV2IntentMessageCardButton(), ]; -void checkUnnamed6814( +void checkUnnamed6887( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageCardButton(o[0]); @@ -10893,7 +11119,7 @@ api.GoogleCloudDialogflowV2IntentMessageCard final o = api.GoogleCloudDialogflowV2IntentMessageCard(); buildCounterGoogleCloudDialogflowV2IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) { - o.buttons = buildUnnamed6814(); + o.buttons = buildUnnamed6887(); o.imageUri = 'foo'; o.subtitle = 'foo'; o.title = 'foo'; @@ -10906,7 +11132,7 @@ void checkGoogleCloudDialogflowV2IntentMessageCard( api.GoogleCloudDialogflowV2IntentMessageCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) { - checkUnnamed6814(o.buttons!); + checkUnnamed6887(o.buttons!); unittest.expect( o.imageUri!, unittest.equals('foo'), @@ -10953,12 +11179,12 @@ void checkGoogleCloudDialogflowV2IntentMessageCardButton( } core.List - buildUnnamed6815() => [ + buildUnnamed6888() => [ buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(), buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(), ]; -void checkUnnamed6815( +void checkUnnamed6888( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(o[0]); @@ -10971,7 +11197,7 @@ api.GoogleCloudDialogflowV2IntentMessageCarouselSelect final o = api.GoogleCloudDialogflowV2IntentMessageCarouselSelect(); buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) { - o.items = buildUnnamed6815(); + o.items = buildUnnamed6888(); } buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--; return o; @@ -10981,7 +11207,7 @@ void checkGoogleCloudDialogflowV2IntentMessageCarouselSelect( api.GoogleCloudDialogflowV2IntentMessageCarouselSelect o) { buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) { - checkUnnamed6815(o.items!); + checkUnnamed6888(o.items!); } buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--; } @@ -11107,12 +11333,12 @@ void checkGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( } core.List - buildUnnamed6816() => [ + buildUnnamed6889() => [ buildGoogleCloudDialogflowV2IntentMessageListSelectItem(), buildGoogleCloudDialogflowV2IntentMessageListSelectItem(), ]; -void checkUnnamed6816( +void checkUnnamed6889( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageListSelectItem(o[0]); @@ -11125,7 +11351,7 @@ api.GoogleCloudDialogflowV2IntentMessageListSelect final o = api.GoogleCloudDialogflowV2IntentMessageListSelect(); buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) { - o.items = buildUnnamed6816(); + o.items = buildUnnamed6889(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -11137,7 +11363,7 @@ void checkGoogleCloudDialogflowV2IntentMessageListSelect( api.GoogleCloudDialogflowV2IntentMessageListSelect o) { buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) { - checkUnnamed6816(o.items!); + checkUnnamed6889(o.items!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -11185,12 +11411,12 @@ void checkGoogleCloudDialogflowV2IntentMessageListSelectItem( core.List< api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject> - buildUnnamed6817() => [ + buildUnnamed6890() => [ buildGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject(), buildGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject(), ]; -void checkUnnamed6817( +void checkUnnamed6890( core.List< api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject> o) { @@ -11207,7 +11433,7 @@ api.GoogleCloudDialogflowV2IntentMessageMediaContent final o = api.GoogleCloudDialogflowV2IntentMessageMediaContent(); buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) { - o.mediaObjects = buildUnnamed6817(); + o.mediaObjects = buildUnnamed6890(); o.mediaType = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent--; @@ -11218,7 +11444,7 @@ void checkGoogleCloudDialogflowV2IntentMessageMediaContent( api.GoogleCloudDialogflowV2IntentMessageMediaContent o) { buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) { - checkUnnamed6817(o.mediaObjects!); + checkUnnamed6890(o.mediaObjects!); unittest.expect( o.mediaType!, unittest.equals('foo'), @@ -11270,12 +11496,12 @@ void checkGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( buildCounterGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject--; } -core.List buildUnnamed6818() => [ +core.List buildUnnamed6891() => [ 'foo', 'foo', ]; -void checkUnnamed6818(core.List o) { +void checkUnnamed6891(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11293,7 +11519,7 @@ api.GoogleCloudDialogflowV2IntentMessageQuickReplies final o = api.GoogleCloudDialogflowV2IntentMessageQuickReplies(); buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) { - o.quickReplies = buildUnnamed6818(); + o.quickReplies = buildUnnamed6891(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--; @@ -11304,7 +11530,7 @@ void checkGoogleCloudDialogflowV2IntentMessageQuickReplies( api.GoogleCloudDialogflowV2IntentMessageQuickReplies o) { buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) { - checkUnnamed6818(o.quickReplies!); + checkUnnamed6891(o.quickReplies!); unittest.expect( o.title!, unittest.equals('foo'), @@ -11313,12 +11539,12 @@ void checkGoogleCloudDialogflowV2IntentMessageQuickReplies( buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--; } -core.List buildUnnamed6819() => [ +core.List buildUnnamed6892() => [ 'foo', 'foo', ]; -void checkUnnamed6819(core.List o) { +void checkUnnamed6892(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11337,7 +11563,7 @@ api.GoogleCloudDialogflowV2IntentMessageSelectItemInfo buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo < 3) { o.key = 'foo'; - o.synonyms = buildUnnamed6819(); + o.synonyms = buildUnnamed6892(); } buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--; return o; @@ -11351,7 +11577,7 @@ void checkGoogleCloudDialogflowV2IntentMessageSelectItemInfo( o.key!, unittest.equals('foo'), ); - checkUnnamed6819(o.synonyms!); + checkUnnamed6892(o.synonyms!); } buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--; } @@ -11391,12 +11617,12 @@ void checkGoogleCloudDialogflowV2IntentMessageSimpleResponse( } core.List - buildUnnamed6820() => [ + buildUnnamed6893() => [ buildGoogleCloudDialogflowV2IntentMessageSimpleResponse(), buildGoogleCloudDialogflowV2IntentMessageSimpleResponse(), ]; -void checkUnnamed6820( +void checkUnnamed6893( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageSimpleResponse(o[0]); @@ -11409,7 +11635,7 @@ api.GoogleCloudDialogflowV2IntentMessageSimpleResponses final o = api.GoogleCloudDialogflowV2IntentMessageSimpleResponses(); buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) { - o.simpleResponses = buildUnnamed6820(); + o.simpleResponses = buildUnnamed6893(); } buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--; return o; @@ -11419,7 +11645,7 @@ void checkGoogleCloudDialogflowV2IntentMessageSimpleResponses( api.GoogleCloudDialogflowV2IntentMessageSimpleResponses o) { buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) { - checkUnnamed6820(o.simpleResponses!); + checkUnnamed6893(o.simpleResponses!); } buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--; } @@ -11449,12 +11675,12 @@ void checkGoogleCloudDialogflowV2IntentMessageSuggestion( } core.List - buildUnnamed6821() => [ + buildUnnamed6894() => [ buildGoogleCloudDialogflowV2IntentMessageSuggestion(), buildGoogleCloudDialogflowV2IntentMessageSuggestion(), ]; -void checkUnnamed6821( +void checkUnnamed6894( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageSuggestion(o[0]); @@ -11467,7 +11693,7 @@ api.GoogleCloudDialogflowV2IntentMessageSuggestions final o = api.GoogleCloudDialogflowV2IntentMessageSuggestions(); buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) { - o.suggestions = buildUnnamed6821(); + o.suggestions = buildUnnamed6894(); } buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--; return o; @@ -11477,18 +11703,18 @@ void checkGoogleCloudDialogflowV2IntentMessageSuggestions( api.GoogleCloudDialogflowV2IntentMessageSuggestions o) { buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) { - checkUnnamed6821(o.suggestions!); + checkUnnamed6894(o.suggestions!); } buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--; } core.List - buildUnnamed6822() => [ + buildUnnamed6895() => [ buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), ]; -void checkUnnamed6822( +void checkUnnamed6895( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]); @@ -11496,12 +11722,12 @@ void checkUnnamed6822( } core.List - buildUnnamed6823() => [ + buildUnnamed6896() => [ buildGoogleCloudDialogflowV2IntentMessageColumnProperties(), buildGoogleCloudDialogflowV2IntentMessageColumnProperties(), ]; -void checkUnnamed6823( +void checkUnnamed6896( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageColumnProperties(o[0]); @@ -11509,12 +11735,12 @@ void checkUnnamed6823( } core.List - buildUnnamed6824() => [ + buildUnnamed6897() => [ buildGoogleCloudDialogflowV2IntentMessageTableCardRow(), buildGoogleCloudDialogflowV2IntentMessageTableCardRow(), ]; -void checkUnnamed6824( +void checkUnnamed6897( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageTableCardRow(o[0]); @@ -11527,10 +11753,10 @@ api.GoogleCloudDialogflowV2IntentMessageTableCard final o = api.GoogleCloudDialogflowV2IntentMessageTableCard(); buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) { - o.buttons = buildUnnamed6822(); - o.columnProperties = buildUnnamed6823(); + o.buttons = buildUnnamed6895(); + o.columnProperties = buildUnnamed6896(); o.image = buildGoogleCloudDialogflowV2IntentMessageImage(); - o.rows = buildUnnamed6824(); + o.rows = buildUnnamed6897(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -11542,10 +11768,10 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCard( api.GoogleCloudDialogflowV2IntentMessageTableCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) { - checkUnnamed6822(o.buttons!); - checkUnnamed6823(o.columnProperties!); + checkUnnamed6895(o.buttons!); + checkUnnamed6896(o.columnProperties!); checkGoogleCloudDialogflowV2IntentMessageImage(o.image!); - checkUnnamed6824(o.rows!); + checkUnnamed6897(o.rows!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -11583,12 +11809,12 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCardCell( } core.List - buildUnnamed6825() => [ + buildUnnamed6898() => [ buildGoogleCloudDialogflowV2IntentMessageTableCardCell(), buildGoogleCloudDialogflowV2IntentMessageTableCardCell(), ]; -void checkUnnamed6825( +void checkUnnamed6898( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageTableCardCell(o[0]); @@ -11601,7 +11827,7 @@ api.GoogleCloudDialogflowV2IntentMessageTableCardRow final o = api.GoogleCloudDialogflowV2IntentMessageTableCardRow(); buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) { - o.cells = buildUnnamed6825(); + o.cells = buildUnnamed6898(); o.dividerAfter = true; } buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--; @@ -11612,18 +11838,18 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCardRow( api.GoogleCloudDialogflowV2IntentMessageTableCardRow o) { buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) { - checkUnnamed6825(o.cells!); + checkUnnamed6898(o.cells!); unittest.expect(o.dividerAfter!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--; } -core.List buildUnnamed6826() => [ +core.List buildUnnamed6899() => [ 'foo', 'foo', ]; -void checkUnnamed6826(core.List o) { +void checkUnnamed6899(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11641,7 +11867,7 @@ api.GoogleCloudDialogflowV2IntentMessageText final o = api.GoogleCloudDialogflowV2IntentMessageText(); buildCounterGoogleCloudDialogflowV2IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) { - o.text = buildUnnamed6826(); + o.text = buildUnnamed6899(); } buildCounterGoogleCloudDialogflowV2IntentMessageText--; return o; @@ -11651,17 +11877,17 @@ void checkGoogleCloudDialogflowV2IntentMessageText( api.GoogleCloudDialogflowV2IntentMessageText o) { buildCounterGoogleCloudDialogflowV2IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) { - checkUnnamed6826(o.text!); + checkUnnamed6899(o.text!); } buildCounterGoogleCloudDialogflowV2IntentMessageText--; } -core.List buildUnnamed6827() => [ +core.List buildUnnamed6900() => [ 'foo', 'foo', ]; -void checkUnnamed6827(core.List o) { +void checkUnnamed6900(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -11685,7 +11911,7 @@ api.GoogleCloudDialogflowV2IntentParameter o.isList = true; o.mandatory = true; o.name = 'foo'; - o.prompts = buildUnnamed6827(); + o.prompts = buildUnnamed6900(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentParameter--; @@ -11714,7 +11940,7 @@ void checkGoogleCloudDialogflowV2IntentParameter( o.name!, unittest.equals('foo'), ); - checkUnnamed6827(o.prompts!); + checkUnnamed6900(o.prompts!); unittest.expect( o.value!, unittest.equals('foo'), @@ -11724,12 +11950,12 @@ void checkGoogleCloudDialogflowV2IntentParameter( } core.List - buildUnnamed6828() => [ + buildUnnamed6901() => [ buildGoogleCloudDialogflowV2IntentTrainingPhrasePart(), buildGoogleCloudDialogflowV2IntentTrainingPhrasePart(), ]; -void checkUnnamed6828( +void checkUnnamed6901( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentTrainingPhrasePart(o[0]); @@ -11743,7 +11969,7 @@ api.GoogleCloudDialogflowV2IntentTrainingPhrase buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase < 3) { o.name = 'foo'; - o.parts = buildUnnamed6828(); + o.parts = buildUnnamed6901(); o.timesAddedCount = 42; o.type = 'foo'; } @@ -11759,7 +11985,7 @@ void checkGoogleCloudDialogflowV2IntentTrainingPhrase( o.name!, unittest.equals('foo'), ); - checkUnnamed6828(o.parts!); + checkUnnamed6901(o.parts!); unittest.expect( o.timesAddedCount!, unittest.equals(42), @@ -11881,13 +12107,13 @@ void checkGoogleCloudDialogflowV2Message(api.GoogleCloudDialogflowV2Message o) { buildCounterGoogleCloudDialogflowV2Message--; } -core.List buildUnnamed6829() => +core.List buildUnnamed6902() => [ buildGoogleCloudDialogflowV2AnnotatedMessagePart(), buildGoogleCloudDialogflowV2AnnotatedMessagePart(), ]; -void checkUnnamed6829( +void checkUnnamed6902( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2AnnotatedMessagePart(o[0]); @@ -11901,7 +12127,7 @@ api.GoogleCloudDialogflowV2MessageAnnotation buildCounterGoogleCloudDialogflowV2MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) { o.containEntities = true; - o.parts = buildUnnamed6829(); + o.parts = buildUnnamed6902(); } buildCounterGoogleCloudDialogflowV2MessageAnnotation--; return o; @@ -11912,12 +12138,12 @@ void checkGoogleCloudDialogflowV2MessageAnnotation( buildCounterGoogleCloudDialogflowV2MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) { unittest.expect(o.containEntities!, unittest.isTrue); - checkUnnamed6829(o.parts!); + checkUnnamed6902(o.parts!); } buildCounterGoogleCloudDialogflowV2MessageAnnotation--; } -core.Map buildUnnamed6830() => { +core.Map buildUnnamed6903() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -11930,7 +12156,7 @@ core.Map buildUnnamed6830() => { }, }; -void checkUnnamed6830(core.Map o) { +void checkUnnamed6903(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted64 = (o['x']!) as core.Map; unittest.expect(casted64, unittest.hasLength(3)); @@ -11968,7 +12194,7 @@ api.GoogleCloudDialogflowV2OriginalDetectIntentRequest final o = api.GoogleCloudDialogflowV2OriginalDetectIntentRequest(); buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest < 3) { - o.payload = buildUnnamed6830(); + o.payload = buildUnnamed6903(); o.source = 'foo'; o.version = 'foo'; } @@ -11980,7 +12206,7 @@ void checkGoogleCloudDialogflowV2OriginalDetectIntentRequest( api.GoogleCloudDialogflowV2OriginalDetectIntentRequest o) { buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest < 3) { - checkUnnamed6830(o.payload!); + checkUnnamed6903(o.payload!); unittest.expect( o.source!, unittest.equals('foo'), @@ -11993,7 +12219,7 @@ void checkGoogleCloudDialogflowV2OriginalDetectIntentRequest( buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest--; } -core.Map buildUnnamed6831() => { +core.Map buildUnnamed6904() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12006,7 +12232,7 @@ core.Map buildUnnamed6831() => { }, }; -void checkUnnamed6831(core.Map o) { +void checkUnnamed6904(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted66 = (o['x']!) as core.Map; unittest.expect(casted66, unittest.hasLength(3)); @@ -12038,29 +12264,29 @@ void checkUnnamed6831(core.Map o) { ); } -core.List buildUnnamed6832() => [ +core.List buildUnnamed6905() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed6832(core.List o) { +void checkUnnamed6905(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed6833() => [ +core.List buildUnnamed6906() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed6833(core.List o) { +void checkUnnamed6906(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed6834() => { +core.Map buildUnnamed6907() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12073,7 +12299,7 @@ core.Map buildUnnamed6834() => { }, }; -void checkUnnamed6834(core.Map o) { +void checkUnnamed6907(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted68 = (o['x']!) as core.Map; unittest.expect(casted68, unittest.hasLength(3)); @@ -12105,7 +12331,7 @@ void checkUnnamed6834(core.Map o) { ); } -core.Map buildUnnamed6835() => { +core.Map buildUnnamed6908() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12118,7 +12344,7 @@ core.Map buildUnnamed6835() => { }, }; -void checkUnnamed6835(core.Map o) { +void checkUnnamed6908(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted70 = (o['x']!) as core.Map; unittest.expect(casted70, unittest.hasLength(3)); @@ -12159,19 +12385,19 @@ api.GoogleCloudDialogflowV2QueryResult o.action = 'foo'; o.allRequiredParamsPresent = true; o.cancelsSlotFilling = true; - o.diagnosticInfo = buildUnnamed6831(); - o.fulfillmentMessages = buildUnnamed6832(); + o.diagnosticInfo = buildUnnamed6904(); + o.fulfillmentMessages = buildUnnamed6905(); o.fulfillmentText = 'foo'; o.intent = buildGoogleCloudDialogflowV2Intent(); o.intentDetectionConfidence = 42.0; o.languageCode = 'foo'; - o.outputContexts = buildUnnamed6833(); - o.parameters = buildUnnamed6834(); + o.outputContexts = buildUnnamed6906(); + o.parameters = buildUnnamed6907(); o.queryText = 'foo'; o.sentimentAnalysisResult = buildGoogleCloudDialogflowV2SentimentAnalysisResult(); o.speechRecognitionConfidence = 42.0; - o.webhookPayload = buildUnnamed6835(); + o.webhookPayload = buildUnnamed6908(); o.webhookSource = 'foo'; } buildCounterGoogleCloudDialogflowV2QueryResult--; @@ -12188,8 +12414,8 @@ void checkGoogleCloudDialogflowV2QueryResult( ); unittest.expect(o.allRequiredParamsPresent!, unittest.isTrue); unittest.expect(o.cancelsSlotFilling!, unittest.isTrue); - checkUnnamed6831(o.diagnosticInfo!); - checkUnnamed6832(o.fulfillmentMessages!); + checkUnnamed6904(o.diagnosticInfo!); + checkUnnamed6905(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), @@ -12203,8 +12429,8 @@ void checkGoogleCloudDialogflowV2QueryResult( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed6833(o.outputContexts!); - checkUnnamed6834(o.parameters!); + checkUnnamed6906(o.outputContexts!); + checkUnnamed6907(o.parameters!); unittest.expect( o.queryText!, unittest.equals('foo'), @@ -12215,7 +12441,7 @@ void checkGoogleCloudDialogflowV2QueryResult( o.speechRecognitionConfidence!, unittest.equals(42.0), ); - checkUnnamed6835(o.webhookPayload!); + checkUnnamed6908(o.webhookPayload!); unittest.expect( o.webhookSource!, unittest.equals('foo'), @@ -12273,12 +12499,12 @@ void checkGoogleCloudDialogflowV2SentimentAnalysisResult( buildCounterGoogleCloudDialogflowV2SentimentAnalysisResult--; } -core.List buildUnnamed6836() => [ +core.List buildUnnamed6909() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed6836( +void checkUnnamed6909( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); @@ -12291,7 +12517,7 @@ api.GoogleCloudDialogflowV2SessionEntityType final o = api.GoogleCloudDialogflowV2SessionEntityType(); buildCounterGoogleCloudDialogflowV2SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) { - o.entities = buildUnnamed6836(); + o.entities = buildUnnamed6909(); o.entityOverrideMode = 'foo'; o.name = 'foo'; } @@ -12303,7 +12529,7 @@ void checkGoogleCloudDialogflowV2SessionEntityType( api.GoogleCloudDialogflowV2SessionEntityType o) { buildCounterGoogleCloudDialogflowV2SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) { - checkUnnamed6836(o.entities!); + checkUnnamed6909(o.entities!); unittest.expect( o.entityOverrideMode!, unittest.equals('foo'), @@ -12316,12 +12542,12 @@ void checkGoogleCloudDialogflowV2SessionEntityType( buildCounterGoogleCloudDialogflowV2SessionEntityType--; } -core.List buildUnnamed6837() => [ +core.List buildUnnamed6910() => [ buildGoogleCloudDialogflowV2ArticleAnswer(), buildGoogleCloudDialogflowV2ArticleAnswer(), ]; -void checkUnnamed6837(core.List o) { +void checkUnnamed6910(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ArticleAnswer(o[0]); checkGoogleCloudDialogflowV2ArticleAnswer(o[1]); @@ -12333,7 +12559,7 @@ api.GoogleCloudDialogflowV2SuggestArticlesResponse final o = api.GoogleCloudDialogflowV2SuggestArticlesResponse(); buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse < 3) { - o.articleAnswers = buildUnnamed6837(); + o.articleAnswers = buildUnnamed6910(); o.contextSize = 42; o.latestMessage = 'foo'; } @@ -12345,7 +12571,7 @@ void checkGoogleCloudDialogflowV2SuggestArticlesResponse( api.GoogleCloudDialogflowV2SuggestArticlesResponse o) { buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse < 3) { - checkUnnamed6837(o.articleAnswers!); + checkUnnamed6910(o.articleAnswers!); unittest.expect( o.contextSize!, unittest.equals(42), @@ -12358,12 +12584,12 @@ void checkGoogleCloudDialogflowV2SuggestArticlesResponse( buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse--; } -core.List buildUnnamed6838() => [ +core.List buildUnnamed6911() => [ buildGoogleCloudDialogflowV2FaqAnswer(), buildGoogleCloudDialogflowV2FaqAnswer(), ]; -void checkUnnamed6838(core.List o) { +void checkUnnamed6911(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2FaqAnswer(o[0]); checkGoogleCloudDialogflowV2FaqAnswer(o[1]); @@ -12376,7 +12602,7 @@ api.GoogleCloudDialogflowV2SuggestFaqAnswersResponse buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse < 3) { o.contextSize = 42; - o.faqAnswers = buildUnnamed6838(); + o.faqAnswers = buildUnnamed6911(); o.latestMessage = 'foo'; } buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse--; @@ -12391,7 +12617,7 @@ void checkGoogleCloudDialogflowV2SuggestFaqAnswersResponse( o.contextSize!, unittest.equals(42), ); - checkUnnamed6838(o.faqAnswers!); + checkUnnamed6911(o.faqAnswers!); unittest.expect( o.latestMessage!, unittest.equals('foo'), @@ -12464,29 +12690,29 @@ void checkGoogleCloudDialogflowV2WebhookRequest( buildCounterGoogleCloudDialogflowV2WebhookRequest--; } -core.List buildUnnamed6839() => [ +core.List buildUnnamed6912() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed6839(core.List o) { +void checkUnnamed6912(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed6840() => [ +core.List buildUnnamed6913() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed6840(core.List o) { +void checkUnnamed6913(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed6841() => { +core.Map buildUnnamed6914() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12499,7 +12725,7 @@ core.Map buildUnnamed6841() => { }, }; -void checkUnnamed6841(core.Map o) { +void checkUnnamed6914(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted72 = (o['x']!) as core.Map; unittest.expect(casted72, unittest.hasLength(3)); @@ -12531,12 +12757,12 @@ void checkUnnamed6841(core.Map o) { ); } -core.List buildUnnamed6842() => [ +core.List buildUnnamed6915() => [ buildGoogleCloudDialogflowV2SessionEntityType(), buildGoogleCloudDialogflowV2SessionEntityType(), ]; -void checkUnnamed6842( +void checkUnnamed6915( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SessionEntityType(o[0]); @@ -12550,11 +12776,11 @@ api.GoogleCloudDialogflowV2WebhookResponse buildCounterGoogleCloudDialogflowV2WebhookResponse++; if (buildCounterGoogleCloudDialogflowV2WebhookResponse < 3) { o.followupEventInput = buildGoogleCloudDialogflowV2EventInput(); - o.fulfillmentMessages = buildUnnamed6839(); + o.fulfillmentMessages = buildUnnamed6912(); o.fulfillmentText = 'foo'; - o.outputContexts = buildUnnamed6840(); - o.payload = buildUnnamed6841(); - o.sessionEntityTypes = buildUnnamed6842(); + o.outputContexts = buildUnnamed6913(); + o.payload = buildUnnamed6914(); + o.sessionEntityTypes = buildUnnamed6915(); o.source = 'foo'; } buildCounterGoogleCloudDialogflowV2WebhookResponse--; @@ -12566,14 +12792,14 @@ void checkGoogleCloudDialogflowV2WebhookResponse( buildCounterGoogleCloudDialogflowV2WebhookResponse++; if (buildCounterGoogleCloudDialogflowV2WebhookResponse < 3) { checkGoogleCloudDialogflowV2EventInput(o.followupEventInput!); - checkUnnamed6839(o.fulfillmentMessages!); + checkUnnamed6912(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), ); - checkUnnamed6840(o.outputContexts!); - checkUnnamed6841(o.payload!); - checkUnnamed6842(o.sessionEntityTypes!); + checkUnnamed6913(o.outputContexts!); + checkUnnamed6914(o.payload!); + checkUnnamed6915(o.sessionEntityTypes!); unittest.expect( o.source!, unittest.equals('foo'), @@ -12630,12 +12856,12 @@ void checkGoogleCloudDialogflowV2beta1AnnotatedMessagePart( buildCounterGoogleCloudDialogflowV2beta1AnnotatedMessagePart--; } -core.Map buildUnnamed6843() => { +core.Map buildUnnamed6916() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6843(core.Map o) { +void checkUnnamed6916(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -12647,12 +12873,12 @@ void checkUnnamed6843(core.Map o) { ); } -core.List buildUnnamed6844() => [ +core.List buildUnnamed6917() => [ 'foo', 'foo', ]; -void checkUnnamed6844(core.List o) { +void checkUnnamed6917(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12671,8 +12897,8 @@ api.GoogleCloudDialogflowV2beta1ArticleAnswer buildCounterGoogleCloudDialogflowV2beta1ArticleAnswer++; if (buildCounterGoogleCloudDialogflowV2beta1ArticleAnswer < 3) { o.answerRecord = 'foo'; - o.metadata = buildUnnamed6843(); - o.snippets = buildUnnamed6844(); + o.metadata = buildUnnamed6916(); + o.snippets = buildUnnamed6917(); o.title = 'foo'; o.uri = 'foo'; } @@ -12688,8 +12914,8 @@ void checkGoogleCloudDialogflowV2beta1ArticleAnswer( o.answerRecord!, unittest.equals('foo'), ); - checkUnnamed6843(o.metadata!); - checkUnnamed6844(o.snippets!); + checkUnnamed6916(o.metadata!); + checkUnnamed6917(o.snippets!); unittest.expect( o.title!, unittest.equals('foo'), @@ -12702,12 +12928,12 @@ void checkGoogleCloudDialogflowV2beta1ArticleAnswer( buildCounterGoogleCloudDialogflowV2beta1ArticleAnswer--; } -core.List buildUnnamed6845() => [ +core.List buildUnnamed6918() => [ buildGoogleCloudDialogflowV2beta1EntityType(), buildGoogleCloudDialogflowV2beta1EntityType(), ]; -void checkUnnamed6845(core.List o) { +void checkUnnamed6918(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1EntityType(o[0]); checkGoogleCloudDialogflowV2beta1EntityType(o[1]); @@ -12721,7 +12947,7 @@ api.GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed6845(); + o.entityTypes = buildUnnamed6918(); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse--; return o; @@ -12732,17 +12958,17 @@ void checkGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse( buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse < 3) { - checkUnnamed6845(o.entityTypes!); + checkUnnamed6918(o.entityTypes!); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse--; } -core.List buildUnnamed6846() => [ +core.List buildUnnamed6919() => [ buildGoogleCloudDialogflowV2beta1Intent(), buildGoogleCloudDialogflowV2beta1Intent(), ]; -void checkUnnamed6846(core.List o) { +void checkUnnamed6919(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Intent(o[0]); checkGoogleCloudDialogflowV2beta1Intent(o[1]); @@ -12754,7 +12980,7 @@ api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse final o = api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse(); buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse < 3) { - o.intents = buildUnnamed6846(); + o.intents = buildUnnamed6919(); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse--; return o; @@ -12764,12 +12990,12 @@ void checkGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse( api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse o) { buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse < 3) { - checkUnnamed6846(o.intents!); + checkUnnamed6919(o.intents!); } buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse--; } -core.Map buildUnnamed6847() => { +core.Map buildUnnamed6920() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12782,7 +13008,7 @@ core.Map buildUnnamed6847() => { }, }; -void checkUnnamed6847(core.Map o) { +void checkUnnamed6920(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted75 = (o['x']!) as core.Map; unittest.expect(casted75, unittest.hasLength(3)); @@ -12822,7 +13048,7 @@ api.GoogleCloudDialogflowV2beta1Context if (buildCounterGoogleCloudDialogflowV2beta1Context < 3) { o.lifespanCount = 42; o.name = 'foo'; - o.parameters = buildUnnamed6847(); + o.parameters = buildUnnamed6920(); } buildCounterGoogleCloudDialogflowV2beta1Context--; return o; @@ -12840,7 +13066,7 @@ void checkGoogleCloudDialogflowV2beta1Context( o.name!, unittest.equals('foo'), ); - checkUnnamed6847(o.parameters!); + checkUnnamed6920(o.parameters!); } buildCounterGoogleCloudDialogflowV2beta1Context--; } @@ -12879,12 +13105,12 @@ void checkGoogleCloudDialogflowV2beta1ConversationEvent( } core.List - buildUnnamed6848() => [ + buildUnnamed6921() => [ buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), ]; -void checkUnnamed6848( +void checkUnnamed6921( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1EntityTypeEntity(o[0]); @@ -12900,7 +13126,7 @@ api.GoogleCloudDialogflowV2beta1EntityType o.autoExpansionMode = 'foo'; o.displayName = 'foo'; o.enableFuzzyExtraction = true; - o.entities = buildUnnamed6848(); + o.entities = buildUnnamed6921(); o.kind = 'foo'; o.name = 'foo'; } @@ -12921,7 +13147,7 @@ void checkGoogleCloudDialogflowV2beta1EntityType( unittest.equals('foo'), ); unittest.expect(o.enableFuzzyExtraction!, unittest.isTrue); - checkUnnamed6848(o.entities!); + checkUnnamed6921(o.entities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -12934,12 +13160,12 @@ void checkGoogleCloudDialogflowV2beta1EntityType( buildCounterGoogleCloudDialogflowV2beta1EntityType--; } -core.List buildUnnamed6849() => [ +core.List buildUnnamed6922() => [ 'foo', 'foo', ]; -void checkUnnamed6849(core.List o) { +void checkUnnamed6922(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12957,7 +13183,7 @@ api.GoogleCloudDialogflowV2beta1EntityTypeEntity final o = api.GoogleCloudDialogflowV2beta1EntityTypeEntity(); buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity < 3) { - o.synonyms = buildUnnamed6849(); + o.synonyms = buildUnnamed6922(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity--; @@ -12968,7 +13194,7 @@ void checkGoogleCloudDialogflowV2beta1EntityTypeEntity( api.GoogleCloudDialogflowV2beta1EntityTypeEntity o) { buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity < 3) { - checkUnnamed6849(o.synonyms!); + checkUnnamed6922(o.synonyms!); unittest.expect( o.value!, unittest.equals('foo'), @@ -12977,7 +13203,7 @@ void checkGoogleCloudDialogflowV2beta1EntityTypeEntity( buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity--; } -core.Map buildUnnamed6850() => { +core.Map buildUnnamed6923() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -12990,7 +13216,7 @@ core.Map buildUnnamed6850() => { }, }; -void checkUnnamed6850(core.Map o) { +void checkUnnamed6923(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted77 = (o['x']!) as core.Map; unittest.expect(casted77, unittest.hasLength(3)); @@ -13030,7 +13256,7 @@ api.GoogleCloudDialogflowV2beta1EventInput if (buildCounterGoogleCloudDialogflowV2beta1EventInput < 3) { o.languageCode = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed6850(); + o.parameters = buildUnnamed6923(); } buildCounterGoogleCloudDialogflowV2beta1EventInput--; return o; @@ -13048,7 +13274,7 @@ void checkGoogleCloudDialogflowV2beta1EventInput( o.name!, unittest.equals('foo'), ); - checkUnnamed6850(o.parameters!); + checkUnnamed6923(o.parameters!); } buildCounterGoogleCloudDialogflowV2beta1EventInput--; } @@ -13082,12 +13308,12 @@ void checkGoogleCloudDialogflowV2beta1ExportAgentResponse( buildCounterGoogleCloudDialogflowV2beta1ExportAgentResponse--; } -core.Map buildUnnamed6851() => { +core.Map buildUnnamed6924() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6851(core.Map o) { +void checkUnnamed6924(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -13108,7 +13334,7 @@ api.GoogleCloudDialogflowV2beta1FaqAnswer o.answer = 'foo'; o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed6851(); + o.metadata = buildUnnamed6924(); o.question = 'foo'; o.source = 'foo'; } @@ -13132,7 +13358,7 @@ void checkGoogleCloudDialogflowV2beta1FaqAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed6851(o.metadata!); + checkUnnamed6924(o.metadata!); unittest.expect( o.question!, unittest.equals('foo'), @@ -13146,12 +13372,12 @@ void checkGoogleCloudDialogflowV2beta1FaqAnswer( } core.List - buildUnnamed6852() => [ + buildUnnamed6925() => [ buildGoogleCloudDialogflowV2beta1SuggestionResult(), buildGoogleCloudDialogflowV2beta1SuggestionResult(), ]; -void checkUnnamed6852( +void checkUnnamed6925( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1SuggestionResult(o[0]); @@ -13166,7 +13392,7 @@ api.GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent if (buildCounterGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent < 3) { o.conversation = 'foo'; o.participant = 'foo'; - o.suggestionResults = buildUnnamed6852(); + o.suggestionResults = buildUnnamed6925(); } buildCounterGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent--; return o; @@ -13184,17 +13410,17 @@ void checkGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent( o.participant!, unittest.equals('foo'), ); - checkUnnamed6852(o.suggestionResults!); + checkUnnamed6925(o.suggestionResults!); } buildCounterGoogleCloudDialogflowV2beta1HumanAgentAssistantEvent--; } -core.List buildUnnamed6853() => [ +core.List buildUnnamed6926() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed6853(core.List o) { +void checkUnnamed6926(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -13206,7 +13432,7 @@ api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse final o = api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed6853(); + o.warnings = buildUnnamed6926(); } buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse--; return o; @@ -13216,17 +13442,17 @@ void checkGoogleCloudDialogflowV2beta1ImportDocumentsResponse( api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse < 3) { - checkUnnamed6853(o.warnings!); + checkUnnamed6926(o.warnings!); } buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse--; } -core.List buildUnnamed6854() => [ +core.List buildUnnamed6927() => [ 'foo', 'foo', ]; -void checkUnnamed6854(core.List o) { +void checkUnnamed6927(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13238,12 +13464,12 @@ void checkUnnamed6854(core.List o) { ); } -core.List buildUnnamed6855() => [ +core.List buildUnnamed6928() => [ 'foo', 'foo', ]; -void checkUnnamed6855(core.List o) { +void checkUnnamed6928(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13256,24 +13482,24 @@ void checkUnnamed6855(core.List o) { } core.List - buildUnnamed6856() => [ + buildUnnamed6929() => [ buildGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(), buildGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(), ]; -void checkUnnamed6856( +void checkUnnamed6929( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(o[0]); checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(o[1]); } -core.List buildUnnamed6857() => [ +core.List buildUnnamed6930() => [ 'foo', 'foo', ]; -void checkUnnamed6857(core.List o) { +void checkUnnamed6930(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13285,36 +13511,36 @@ void checkUnnamed6857(core.List o) { ); } -core.List buildUnnamed6858() => [ +core.List buildUnnamed6931() => [ buildGoogleCloudDialogflowV2beta1IntentMessage(), buildGoogleCloudDialogflowV2beta1IntentMessage(), ]; -void checkUnnamed6858( +void checkUnnamed6931( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]); checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]); } -core.List buildUnnamed6859() => [ +core.List buildUnnamed6932() => [ buildGoogleCloudDialogflowV2beta1Context(), buildGoogleCloudDialogflowV2beta1Context(), ]; -void checkUnnamed6859(core.List o) { +void checkUnnamed6932(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Context(o[0]); checkGoogleCloudDialogflowV2beta1Context(o[1]); } -core.List buildUnnamed6860() => +core.List buildUnnamed6933() => [ buildGoogleCloudDialogflowV2beta1IntentParameter(), buildGoogleCloudDialogflowV2beta1IntentParameter(), ]; -void checkUnnamed6860( +void checkUnnamed6933( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentParameter(o[0]); @@ -13322,12 +13548,12 @@ void checkUnnamed6860( } core.List - buildUnnamed6861() => [ + buildUnnamed6934() => [ buildGoogleCloudDialogflowV2beta1IntentTrainingPhrase(), buildGoogleCloudDialogflowV2beta1IntentTrainingPhrase(), ]; -void checkUnnamed6861( +void checkUnnamed6934( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentTrainingPhrase(o[0]); @@ -13341,25 +13567,25 @@ api.GoogleCloudDialogflowV2beta1Intent buildCounterGoogleCloudDialogflowV2beta1Intent++; if (buildCounterGoogleCloudDialogflowV2beta1Intent < 3) { o.action = 'foo'; - o.defaultResponsePlatforms = buildUnnamed6854(); + o.defaultResponsePlatforms = buildUnnamed6927(); o.displayName = 'foo'; o.endInteraction = true; - o.events = buildUnnamed6855(); - o.followupIntentInfo = buildUnnamed6856(); - o.inputContextNames = buildUnnamed6857(); + o.events = buildUnnamed6928(); + o.followupIntentInfo = buildUnnamed6929(); + o.inputContextNames = buildUnnamed6930(); o.isFallback = true; o.liveAgentHandoff = true; - o.messages = buildUnnamed6858(); + o.messages = buildUnnamed6931(); o.mlDisabled = true; o.mlEnabled = true; o.name = 'foo'; - o.outputContexts = buildUnnamed6859(); - o.parameters = buildUnnamed6860(); + o.outputContexts = buildUnnamed6932(); + o.parameters = buildUnnamed6933(); o.parentFollowupIntentName = 'foo'; o.priority = 42; o.resetContexts = true; o.rootFollowupIntentName = 'foo'; - o.trainingPhrases = buildUnnamed6861(); + o.trainingPhrases = buildUnnamed6934(); o.webhookState = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1Intent--; @@ -13374,26 +13600,26 @@ void checkGoogleCloudDialogflowV2beta1Intent( o.action!, unittest.equals('foo'), ); - checkUnnamed6854(o.defaultResponsePlatforms!); + checkUnnamed6927(o.defaultResponsePlatforms!); unittest.expect( o.displayName!, unittest.equals('foo'), ); unittest.expect(o.endInteraction!, unittest.isTrue); - checkUnnamed6855(o.events!); - checkUnnamed6856(o.followupIntentInfo!); - checkUnnamed6857(o.inputContextNames!); + checkUnnamed6928(o.events!); + checkUnnamed6929(o.followupIntentInfo!); + checkUnnamed6930(o.inputContextNames!); unittest.expect(o.isFallback!, unittest.isTrue); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed6858(o.messages!); + checkUnnamed6931(o.messages!); unittest.expect(o.mlDisabled!, unittest.isTrue); unittest.expect(o.mlEnabled!, unittest.isTrue); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6859(o.outputContexts!); - checkUnnamed6860(o.parameters!); + checkUnnamed6932(o.outputContexts!); + checkUnnamed6933(o.parameters!); unittest.expect( o.parentFollowupIntentName!, unittest.equals('foo'), @@ -13407,7 +13633,7 @@ void checkGoogleCloudDialogflowV2beta1Intent( o.rootFollowupIntentName!, unittest.equals('foo'), ); - checkUnnamed6861(o.trainingPhrases!); + checkUnnamed6934(o.trainingPhrases!); unittest.expect( o.webhookState!, unittest.equals('foo'), @@ -13445,7 +13671,7 @@ void checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo( buildCounterGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo--; } -core.Map buildUnnamed6862() => { +core.Map buildUnnamed6935() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -13458,7 +13684,7 @@ core.Map buildUnnamed6862() => { }, }; -void checkUnnamed6862(core.Map o) { +void checkUnnamed6935(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted79 = (o['x']!) as core.Map; unittest.expect(casted79, unittest.hasLength(3)); @@ -13508,7 +13734,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessage o.listSelect = buildGoogleCloudDialogflowV2beta1IntentMessageListSelect(); o.mediaContent = buildGoogleCloudDialogflowV2beta1IntentMessageMediaContent(); - o.payload = buildUnnamed6862(); + o.payload = buildUnnamed6935(); o.platform = 'foo'; o.quickReplies = buildGoogleCloudDialogflowV2beta1IntentMessageQuickReplies(); @@ -13548,7 +13774,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessage( o.linkOutSuggestion!); checkGoogleCloudDialogflowV2beta1IntentMessageListSelect(o.listSelect!); checkGoogleCloudDialogflowV2beta1IntentMessageMediaContent(o.mediaContent!); - checkUnnamed6862(o.payload!); + checkUnnamed6935(o.payload!); unittest.expect( o.platform!, unittest.equals('foo'), @@ -13575,12 +13801,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessage( } core.List - buildUnnamed6863() => [ + buildUnnamed6936() => [ buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), ]; -void checkUnnamed6863( +void checkUnnamed6936( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[0]); @@ -13593,7 +13819,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard final o = api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard < 3) { - o.buttons = buildUnnamed6863(); + o.buttons = buildUnnamed6936(); o.formattedText = 'foo'; o.image = buildGoogleCloudDialogflowV2beta1IntentMessageImage(); o.subtitle = 'foo'; @@ -13607,7 +13833,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBasicCard( api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard < 3) { - checkUnnamed6863(o.buttons!); + checkUnnamed6936(o.buttons!); unittest.expect( o.formattedText!, unittest.equals('foo'), @@ -13688,12 +13914,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem> - buildUnnamed6864() => [ + buildUnnamed6937() => [ buildGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), buildGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), ]; -void checkUnnamed6864( +void checkUnnamed6937( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem> o) { @@ -13713,7 +13939,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard < 3) { o.imageDisplayOptions = 'foo'; - o.items = buildUnnamed6864(); + o.items = buildUnnamed6937(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard--; return o; @@ -13728,7 +13954,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard( o.imageDisplayOptions!, unittest.equals('foo'), ); - checkUnnamed6864(o.items!); + checkUnnamed6937(o.items!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard--; } @@ -13815,12 +14041,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou } core.List - buildUnnamed6865() => [ + buildUnnamed6938() => [ buildGoogleCloudDialogflowV2beta1IntentMessageCardButton(), buildGoogleCloudDialogflowV2beta1IntentMessageCardButton(), ]; -void checkUnnamed6865( +void checkUnnamed6938( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageCardButton(o[0]); @@ -13833,7 +14059,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageCard final o = api.GoogleCloudDialogflowV2beta1IntentMessageCard(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard < 3) { - o.buttons = buildUnnamed6865(); + o.buttons = buildUnnamed6938(); o.imageUri = 'foo'; o.subtitle = 'foo'; o.title = 'foo'; @@ -13846,7 +14072,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageCard( api.GoogleCloudDialogflowV2beta1IntentMessageCard o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard < 3) { - checkUnnamed6865(o.buttons!); + checkUnnamed6938(o.buttons!); unittest.expect( o.imageUri!, unittest.equals('foo'), @@ -13893,12 +14119,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageCardButton( } core.List - buildUnnamed6866() => [ + buildUnnamed6939() => [ buildGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem(), buildGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem(), ]; -void checkUnnamed6866( +void checkUnnamed6939( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -13913,7 +14139,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect final o = api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect < 3) { - o.items = buildUnnamed6866(); + o.items = buildUnnamed6939(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect--; return o; @@ -13923,7 +14149,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect( api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect < 3) { - checkUnnamed6866(o.items!); + checkUnnamed6939(o.items!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect--; } @@ -14058,12 +14284,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion( } core.List - buildUnnamed6867() => [ + buildUnnamed6940() => [ buildGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(), buildGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(), ]; -void checkUnnamed6867( +void checkUnnamed6940( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(o[0]); @@ -14076,7 +14302,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageListSelect final o = api.GoogleCloudDialogflowV2beta1IntentMessageListSelect(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect < 3) { - o.items = buildUnnamed6867(); + o.items = buildUnnamed6940(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -14088,7 +14314,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageListSelect( api.GoogleCloudDialogflowV2beta1IntentMessageListSelect o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect < 3) { - checkUnnamed6867(o.items!); + checkUnnamed6940(o.items!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -14137,12 +14363,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageListSelectItem( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject> - buildUnnamed6868() => [ + buildUnnamed6941() => [ buildGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject(), buildGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject(), ]; -void checkUnnamed6868( +void checkUnnamed6941( core.List< api.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject> o) { @@ -14159,7 +14385,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent final o = api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent < 3) { - o.mediaObjects = buildUnnamed6868(); + o.mediaObjects = buildUnnamed6941(); o.mediaType = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent--; @@ -14170,7 +14396,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageMediaContent( api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent < 3) { - checkUnnamed6868(o.mediaObjects!); + checkUnnamed6941(o.mediaObjects!); unittest.expect( o.mediaType!, unittest.equals('foo'), @@ -14223,12 +14449,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject--; } -core.List buildUnnamed6869() => [ +core.List buildUnnamed6942() => [ 'foo', 'foo', ]; -void checkUnnamed6869(core.List o) { +void checkUnnamed6942(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14246,7 +14472,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies final o = api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies < 3) { - o.quickReplies = buildUnnamed6869(); + o.quickReplies = buildUnnamed6942(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies--; @@ -14257,7 +14483,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageQuickReplies( api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies < 3) { - checkUnnamed6869(o.quickReplies!); + checkUnnamed6942(o.quickReplies!); unittest.expect( o.title!, unittest.equals('foo'), @@ -14267,12 +14493,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageQuickReplies( } core.List - buildUnnamed6870() => [ + buildUnnamed6943() => [ buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), ]; -void checkUnnamed6870( +void checkUnnamed6943( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(o[0]); @@ -14289,7 +14515,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent o.description = 'foo'; o.media = buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia(); - o.suggestions = buildUnnamed6870(); + o.suggestions = buildUnnamed6943(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent--; @@ -14306,7 +14532,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent( ); checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( o.media!); - checkUnnamed6870(o.suggestions!); + checkUnnamed6943(o.suggestions!); unittest.expect( o.title!, unittest.equals('foo'), @@ -14355,12 +14581,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia( } core.List - buildUnnamed6871() => [ + buildUnnamed6944() => [ buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(), buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(), ]; -void checkUnnamed6871( +void checkUnnamed6944( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(o[0]); @@ -14375,7 +14601,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard < 3) { - o.cardContents = buildUnnamed6871(); + o.cardContents = buildUnnamed6944(); o.cardWidth = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard--; @@ -14387,7 +14613,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard( buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard < 3) { - checkUnnamed6871(o.cardContents!); + checkUnnamed6944(o.cardContents!); unittest.expect( o.cardWidth!, unittest.equals('foo'), @@ -14616,12 +14842,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion( } core.List - buildUnnamed6872() => [ + buildUnnamed6945() => [ buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(), ]; -void checkUnnamed6872( +void checkUnnamed6945( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(o[0]); @@ -14634,7 +14860,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageRbmText final o = api.GoogleCloudDialogflowV2beta1IntentMessageRbmText(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText < 3) { - o.rbmSuggestion = buildUnnamed6872(); + o.rbmSuggestion = buildUnnamed6945(); o.text = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText--; @@ -14645,7 +14871,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmText( api.GoogleCloudDialogflowV2beta1IntentMessageRbmText o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText < 3) { - checkUnnamed6872(o.rbmSuggestion!); + checkUnnamed6945(o.rbmSuggestion!); unittest.expect( o.text!, unittest.equals('foo'), @@ -14654,12 +14880,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageRbmText( buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText--; } -core.List buildUnnamed6873() => [ +core.List buildUnnamed6946() => [ 'foo', 'foo', ]; -void checkUnnamed6873(core.List o) { +void checkUnnamed6946(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14679,7 +14905,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo < 3) { o.key = 'foo'; - o.synonyms = buildUnnamed6873(); + o.synonyms = buildUnnamed6946(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo--; return o; @@ -14693,7 +14919,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo( o.key!, unittest.equals('foo'), ); - checkUnnamed6873(o.synonyms!); + checkUnnamed6946(o.synonyms!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo--; } @@ -14734,12 +14960,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse( } core.List - buildUnnamed6874() => [ + buildUnnamed6947() => [ buildGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(), buildGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(), ]; -void checkUnnamed6874( +void checkUnnamed6947( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(o[0]); @@ -14754,7 +14980,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses < 3) { - o.simpleResponses = buildUnnamed6874(); + o.simpleResponses = buildUnnamed6947(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses--; return o; @@ -14765,7 +14991,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses( buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses < 3) { - checkUnnamed6874(o.simpleResponses!); + checkUnnamed6947(o.simpleResponses!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses--; } @@ -14795,12 +15021,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSuggestion( } core.List - buildUnnamed6875() => [ + buildUnnamed6948() => [ buildGoogleCloudDialogflowV2beta1IntentMessageSuggestion(), buildGoogleCloudDialogflowV2beta1IntentMessageSuggestion(), ]; -void checkUnnamed6875( +void checkUnnamed6948( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageSuggestion(o[0]); @@ -14813,7 +15039,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions final o = api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions < 3) { - o.suggestions = buildUnnamed6875(); + o.suggestions = buildUnnamed6948(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions--; return o; @@ -14823,18 +15049,18 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageSuggestions( api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions < 3) { - checkUnnamed6875(o.suggestions!); + checkUnnamed6948(o.suggestions!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions--; } core.List - buildUnnamed6876() => [ + buildUnnamed6949() => [ buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(), ]; -void checkUnnamed6876( +void checkUnnamed6949( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[0]); @@ -14842,12 +15068,12 @@ void checkUnnamed6876( } core.List - buildUnnamed6877() => [ + buildUnnamed6950() => [ buildGoogleCloudDialogflowV2beta1IntentMessageColumnProperties(), buildGoogleCloudDialogflowV2beta1IntentMessageColumnProperties(), ]; -void checkUnnamed6877( +void checkUnnamed6950( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -14856,12 +15082,12 @@ void checkUnnamed6877( } core.List - buildUnnamed6878() => [ + buildUnnamed6951() => [ buildGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(), buildGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(), ]; -void checkUnnamed6878( +void checkUnnamed6951( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(o[0]); @@ -14874,10 +15100,10 @@ api.GoogleCloudDialogflowV2beta1IntentMessageTableCard final o = api.GoogleCloudDialogflowV2beta1IntentMessageTableCard(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard < 3) { - o.buttons = buildUnnamed6876(); - o.columnProperties = buildUnnamed6877(); + o.buttons = buildUnnamed6949(); + o.columnProperties = buildUnnamed6950(); o.image = buildGoogleCloudDialogflowV2beta1IntentMessageImage(); - o.rows = buildUnnamed6878(); + o.rows = buildUnnamed6951(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -14889,10 +15115,10 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTableCard( api.GoogleCloudDialogflowV2beta1IntentMessageTableCard o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard < 3) { - checkUnnamed6876(o.buttons!); - checkUnnamed6877(o.columnProperties!); + checkUnnamed6949(o.buttons!); + checkUnnamed6950(o.columnProperties!); checkGoogleCloudDialogflowV2beta1IntentMessageImage(o.image!); - checkUnnamed6878(o.rows!); + checkUnnamed6951(o.rows!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -14930,12 +15156,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTableCardCell( } core.List - buildUnnamed6879() => [ + buildUnnamed6952() => [ buildGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(), buildGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(), ]; -void checkUnnamed6879( +void checkUnnamed6952( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(o[0]); @@ -14948,7 +15174,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow final o = api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow < 3) { - o.cells = buildUnnamed6879(); + o.cells = buildUnnamed6952(); o.dividerAfter = true; } buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow--; @@ -14959,7 +15185,7 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTableCardRow( api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow < 3) { - checkUnnamed6879(o.cells!); + checkUnnamed6952(o.cells!); unittest.expect(o.dividerAfter!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow--; @@ -15055,12 +15281,12 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall( buildCounterGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall--; } -core.List buildUnnamed6880() => [ +core.List buildUnnamed6953() => [ 'foo', 'foo', ]; -void checkUnnamed6880(core.List o) { +void checkUnnamed6953(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15078,7 +15304,7 @@ api.GoogleCloudDialogflowV2beta1IntentMessageText final o = api.GoogleCloudDialogflowV2beta1IntentMessageText(); buildCounterGoogleCloudDialogflowV2beta1IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageText < 3) { - o.text = buildUnnamed6880(); + o.text = buildUnnamed6953(); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageText--; return o; @@ -15088,17 +15314,17 @@ void checkGoogleCloudDialogflowV2beta1IntentMessageText( api.GoogleCloudDialogflowV2beta1IntentMessageText o) { buildCounterGoogleCloudDialogflowV2beta1IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageText < 3) { - checkUnnamed6880(o.text!); + checkUnnamed6953(o.text!); } buildCounterGoogleCloudDialogflowV2beta1IntentMessageText--; } -core.List buildUnnamed6881() => [ +core.List buildUnnamed6954() => [ 'foo', 'foo', ]; -void checkUnnamed6881(core.List o) { +void checkUnnamed6954(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15122,7 +15348,7 @@ api.GoogleCloudDialogflowV2beta1IntentParameter o.isList = true; o.mandatory = true; o.name = 'foo'; - o.prompts = buildUnnamed6881(); + o.prompts = buildUnnamed6954(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1IntentParameter--; @@ -15151,7 +15377,7 @@ void checkGoogleCloudDialogflowV2beta1IntentParameter( o.name!, unittest.equals('foo'), ); - checkUnnamed6881(o.prompts!); + checkUnnamed6954(o.prompts!); unittest.expect( o.value!, unittest.equals('foo'), @@ -15161,12 +15387,12 @@ void checkGoogleCloudDialogflowV2beta1IntentParameter( } core.List - buildUnnamed6882() => [ + buildUnnamed6955() => [ buildGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(), buildGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(), ]; -void checkUnnamed6882( +void checkUnnamed6955( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(o[0]); @@ -15180,7 +15406,7 @@ api.GoogleCloudDialogflowV2beta1IntentTrainingPhrase buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase < 3) { o.name = 'foo'; - o.parts = buildUnnamed6882(); + o.parts = buildUnnamed6955(); o.timesAddedCount = 42; o.type = 'foo'; } @@ -15196,7 +15422,7 @@ void checkGoogleCloudDialogflowV2beta1IntentTrainingPhrase( o.name!, unittest.equals('foo'), ); - checkUnnamed6882(o.parts!); + checkUnnamed6955(o.parts!); unittest.expect( o.timesAddedCount!, unittest.equals(42), @@ -15246,12 +15472,12 @@ void checkGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart( } core.List - buildUnnamed6883() => [ + buildUnnamed6956() => [ buildGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(), buildGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(), ]; -void checkUnnamed6883( +void checkUnnamed6956( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(o[0]); @@ -15264,7 +15490,7 @@ api.GoogleCloudDialogflowV2beta1KnowledgeAnswers final o = api.GoogleCloudDialogflowV2beta1KnowledgeAnswers(); buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers++; if (buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers < 3) { - o.answers = buildUnnamed6883(); + o.answers = buildUnnamed6956(); } buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers--; return o; @@ -15274,7 +15500,7 @@ void checkGoogleCloudDialogflowV2beta1KnowledgeAnswers( api.GoogleCloudDialogflowV2beta1KnowledgeAnswers o) { buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers++; if (buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers < 3) { - checkUnnamed6883(o.answers!); + checkUnnamed6956(o.answers!); } buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers--; } @@ -15408,12 +15634,12 @@ void checkGoogleCloudDialogflowV2beta1Message( } core.List - buildUnnamed6884() => [ + buildUnnamed6957() => [ buildGoogleCloudDialogflowV2beta1AnnotatedMessagePart(), buildGoogleCloudDialogflowV2beta1AnnotatedMessagePart(), ]; -void checkUnnamed6884( +void checkUnnamed6957( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1AnnotatedMessagePart(o[0]); @@ -15427,7 +15653,7 @@ api.GoogleCloudDialogflowV2beta1MessageAnnotation buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation < 3) { o.containEntities = true; - o.parts = buildUnnamed6884(); + o.parts = buildUnnamed6957(); } buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation--; return o; @@ -15438,12 +15664,12 @@ void checkGoogleCloudDialogflowV2beta1MessageAnnotation( buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation < 3) { unittest.expect(o.containEntities!, unittest.isTrue); - checkUnnamed6884(o.parts!); + checkUnnamed6957(o.parts!); } buildCounterGoogleCloudDialogflowV2beta1MessageAnnotation--; } -core.Map buildUnnamed6885() => { +core.Map buildUnnamed6958() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15456,7 +15682,7 @@ core.Map buildUnnamed6885() => { }, }; -void checkUnnamed6885(core.Map o) { +void checkUnnamed6958(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted81 = (o['x']!) as core.Map; unittest.expect(casted81, unittest.hasLength(3)); @@ -15495,7 +15721,7 @@ api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest final o = api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest(); buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest < 3) { - o.payload = buildUnnamed6885(); + o.payload = buildUnnamed6958(); o.source = 'foo'; o.version = 'foo'; } @@ -15507,7 +15733,7 @@ void checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest o) { buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest++; if (buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest < 3) { - checkUnnamed6885(o.payload!); + checkUnnamed6958(o.payload!); unittest.expect( o.source!, unittest.equals('foo'), @@ -15520,7 +15746,7 @@ void checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest--; } -core.Map buildUnnamed6886() => { +core.Map buildUnnamed6959() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15533,7 +15759,7 @@ core.Map buildUnnamed6886() => { }, }; -void checkUnnamed6886(core.Map o) { +void checkUnnamed6959(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted83 = (o['x']!) as core.Map; unittest.expect(casted83, unittest.hasLength(3)); @@ -15565,30 +15791,30 @@ void checkUnnamed6886(core.Map o) { ); } -core.List buildUnnamed6887() => [ +core.List buildUnnamed6960() => [ buildGoogleCloudDialogflowV2beta1IntentMessage(), buildGoogleCloudDialogflowV2beta1IntentMessage(), ]; -void checkUnnamed6887( +void checkUnnamed6960( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]); checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]); } -core.List buildUnnamed6888() => [ +core.List buildUnnamed6961() => [ buildGoogleCloudDialogflowV2beta1Context(), buildGoogleCloudDialogflowV2beta1Context(), ]; -void checkUnnamed6888(core.List o) { +void checkUnnamed6961(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Context(o[0]); checkGoogleCloudDialogflowV2beta1Context(o[1]); } -core.Map buildUnnamed6889() => { +core.Map buildUnnamed6962() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15601,7 +15827,7 @@ core.Map buildUnnamed6889() => { }, }; -void checkUnnamed6889(core.Map o) { +void checkUnnamed6962(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted85 = (o['x']!) as core.Map; unittest.expect(casted85, unittest.hasLength(3)); @@ -15633,7 +15859,7 @@ void checkUnnamed6889(core.Map o) { ); } -core.Map buildUnnamed6890() => { +core.Map buildUnnamed6963() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15646,7 +15872,7 @@ core.Map buildUnnamed6890() => { }, }; -void checkUnnamed6890(core.Map o) { +void checkUnnamed6963(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted87 = (o['x']!) as core.Map; unittest.expect(casted87, unittest.hasLength(3)); @@ -15687,20 +15913,20 @@ api.GoogleCloudDialogflowV2beta1QueryResult o.action = 'foo'; o.allRequiredParamsPresent = true; o.cancelsSlotFilling = true; - o.diagnosticInfo = buildUnnamed6886(); - o.fulfillmentMessages = buildUnnamed6887(); + o.diagnosticInfo = buildUnnamed6959(); + o.fulfillmentMessages = buildUnnamed6960(); o.fulfillmentText = 'foo'; o.intent = buildGoogleCloudDialogflowV2beta1Intent(); o.intentDetectionConfidence = 42.0; o.knowledgeAnswers = buildGoogleCloudDialogflowV2beta1KnowledgeAnswers(); o.languageCode = 'foo'; - o.outputContexts = buildUnnamed6888(); - o.parameters = buildUnnamed6889(); + o.outputContexts = buildUnnamed6961(); + o.parameters = buildUnnamed6962(); o.queryText = 'foo'; o.sentimentAnalysisResult = buildGoogleCloudDialogflowV2beta1SentimentAnalysisResult(); o.speechRecognitionConfidence = 42.0; - o.webhookPayload = buildUnnamed6890(); + o.webhookPayload = buildUnnamed6963(); o.webhookSource = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1QueryResult--; @@ -15717,8 +15943,8 @@ void checkGoogleCloudDialogflowV2beta1QueryResult( ); unittest.expect(o.allRequiredParamsPresent!, unittest.isTrue); unittest.expect(o.cancelsSlotFilling!, unittest.isTrue); - checkUnnamed6886(o.diagnosticInfo!); - checkUnnamed6887(o.fulfillmentMessages!); + checkUnnamed6959(o.diagnosticInfo!); + checkUnnamed6960(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), @@ -15733,8 +15959,8 @@ void checkGoogleCloudDialogflowV2beta1QueryResult( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed6888(o.outputContexts!); - checkUnnamed6889(o.parameters!); + checkUnnamed6961(o.outputContexts!); + checkUnnamed6962(o.parameters!); unittest.expect( o.queryText!, unittest.equals('foo'), @@ -15745,7 +15971,7 @@ void checkGoogleCloudDialogflowV2beta1QueryResult( o.speechRecognitionConfidence!, unittest.equals(42.0), ); - checkUnnamed6890(o.webhookPayload!); + checkUnnamed6963(o.webhookPayload!); unittest.expect( o.webhookSource!, unittest.equals('foo'), @@ -15805,12 +16031,12 @@ void checkGoogleCloudDialogflowV2beta1SentimentAnalysisResult( } core.List - buildUnnamed6891() => [ + buildUnnamed6964() => [ buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), buildGoogleCloudDialogflowV2beta1EntityTypeEntity(), ]; -void checkUnnamed6891( +void checkUnnamed6964( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1EntityTypeEntity(o[0]); @@ -15823,7 +16049,7 @@ api.GoogleCloudDialogflowV2beta1SessionEntityType final o = api.GoogleCloudDialogflowV2beta1SessionEntityType(); buildCounterGoogleCloudDialogflowV2beta1SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2beta1SessionEntityType < 3) { - o.entities = buildUnnamed6891(); + o.entities = buildUnnamed6964(); o.entityOverrideMode = 'foo'; o.name = 'foo'; } @@ -15835,7 +16061,7 @@ void checkGoogleCloudDialogflowV2beta1SessionEntityType( api.GoogleCloudDialogflowV2beta1SessionEntityType o) { buildCounterGoogleCloudDialogflowV2beta1SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2beta1SessionEntityType < 3) { - checkUnnamed6891(o.entities!); + checkUnnamed6964(o.entities!); unittest.expect( o.entityOverrideMode!, unittest.equals('foo'), @@ -15882,12 +16108,12 @@ void checkGoogleCloudDialogflowV2beta1SmartReplyAnswer( buildCounterGoogleCloudDialogflowV2beta1SmartReplyAnswer--; } -core.List buildUnnamed6892() => [ +core.List buildUnnamed6965() => [ buildGoogleCloudDialogflowV2beta1ArticleAnswer(), buildGoogleCloudDialogflowV2beta1ArticleAnswer(), ]; -void checkUnnamed6892( +void checkUnnamed6965( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1ArticleAnswer(o[0]); @@ -15900,7 +16126,7 @@ api.GoogleCloudDialogflowV2beta1SuggestArticlesResponse final o = api.GoogleCloudDialogflowV2beta1SuggestArticlesResponse(); buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse < 3) { - o.articleAnswers = buildUnnamed6892(); + o.articleAnswers = buildUnnamed6965(); o.contextSize = 42; o.latestMessage = 'foo'; } @@ -15912,7 +16138,7 @@ void checkGoogleCloudDialogflowV2beta1SuggestArticlesResponse( api.GoogleCloudDialogflowV2beta1SuggestArticlesResponse o) { buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse < 3) { - checkUnnamed6892(o.articleAnswers!); + checkUnnamed6965(o.articleAnswers!); unittest.expect( o.contextSize!, unittest.equals(42), @@ -15925,12 +16151,12 @@ void checkGoogleCloudDialogflowV2beta1SuggestArticlesResponse( buildCounterGoogleCloudDialogflowV2beta1SuggestArticlesResponse--; } -core.List buildUnnamed6893() => [ +core.List buildUnnamed6966() => [ buildGoogleCloudDialogflowV2beta1FaqAnswer(), buildGoogleCloudDialogflowV2beta1FaqAnswer(), ]; -void checkUnnamed6893(core.List o) { +void checkUnnamed6966(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1FaqAnswer(o[0]); checkGoogleCloudDialogflowV2beta1FaqAnswer(o[1]); @@ -15943,7 +16169,7 @@ api.GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse buildCounterGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse++; if (buildCounterGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse < 3) { o.contextSize = 42; - o.faqAnswers = buildUnnamed6893(); + o.faqAnswers = buildUnnamed6966(); o.latestMessage = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse--; @@ -15958,7 +16184,7 @@ void checkGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( o.contextSize!, unittest.equals(42), ); - checkUnnamed6893(o.faqAnswers!); + checkUnnamed6966(o.faqAnswers!); unittest.expect( o.latestMessage!, unittest.equals('foo'), @@ -15968,12 +16194,12 @@ void checkGoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse( } core.List - buildUnnamed6894() => [ + buildUnnamed6967() => [ buildGoogleCloudDialogflowV2beta1SmartReplyAnswer(), buildGoogleCloudDialogflowV2beta1SmartReplyAnswer(), ]; -void checkUnnamed6894( +void checkUnnamed6967( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1SmartReplyAnswer(o[0]); @@ -15989,7 +16215,7 @@ api.GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse if (buildCounterGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse < 3) { o.contextSize = 42; o.latestMessage = 'foo'; - o.smartReplyAnswers = buildUnnamed6894(); + o.smartReplyAnswers = buildUnnamed6967(); } buildCounterGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse--; return o; @@ -16007,7 +16233,7 @@ void checkGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse( o.latestMessage!, unittest.equals('foo'), ); - checkUnnamed6894(o.smartReplyAnswers!); + checkUnnamed6967(o.smartReplyAnswers!); } buildCounterGoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse--; } @@ -16045,12 +16271,12 @@ void checkGoogleCloudDialogflowV2beta1SuggestionResult( buildCounterGoogleCloudDialogflowV2beta1SuggestionResult--; } -core.List buildUnnamed6895() => [ +core.List buildUnnamed6968() => [ buildGoogleCloudDialogflowV2beta1QueryResult(), buildGoogleCloudDialogflowV2beta1QueryResult(), ]; -void checkUnnamed6895( +void checkUnnamed6968( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1QueryResult(o[0]); @@ -16063,7 +16289,7 @@ api.GoogleCloudDialogflowV2beta1WebhookRequest final o = api.GoogleCloudDialogflowV2beta1WebhookRequest(); buildCounterGoogleCloudDialogflowV2beta1WebhookRequest++; if (buildCounterGoogleCloudDialogflowV2beta1WebhookRequest < 3) { - o.alternativeQueryResults = buildUnnamed6895(); + o.alternativeQueryResults = buildUnnamed6968(); o.originalDetectIntentRequest = buildGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest(); o.queryResult = buildGoogleCloudDialogflowV2beta1QueryResult(); @@ -16078,7 +16304,7 @@ void checkGoogleCloudDialogflowV2beta1WebhookRequest( api.GoogleCloudDialogflowV2beta1WebhookRequest o) { buildCounterGoogleCloudDialogflowV2beta1WebhookRequest++; if (buildCounterGoogleCloudDialogflowV2beta1WebhookRequest < 3) { - checkUnnamed6895(o.alternativeQueryResults!); + checkUnnamed6968(o.alternativeQueryResults!); checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest( o.originalDetectIntentRequest!); checkGoogleCloudDialogflowV2beta1QueryResult(o.queryResult!); @@ -16094,30 +16320,30 @@ void checkGoogleCloudDialogflowV2beta1WebhookRequest( buildCounterGoogleCloudDialogflowV2beta1WebhookRequest--; } -core.List buildUnnamed6896() => [ +core.List buildUnnamed6969() => [ buildGoogleCloudDialogflowV2beta1IntentMessage(), buildGoogleCloudDialogflowV2beta1IntentMessage(), ]; -void checkUnnamed6896( +void checkUnnamed6969( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]); checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]); } -core.List buildUnnamed6897() => [ +core.List buildUnnamed6970() => [ buildGoogleCloudDialogflowV2beta1Context(), buildGoogleCloudDialogflowV2beta1Context(), ]; -void checkUnnamed6897(core.List o) { +void checkUnnamed6970(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1Context(o[0]); checkGoogleCloudDialogflowV2beta1Context(o[1]); } -core.Map buildUnnamed6898() => { +core.Map buildUnnamed6971() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16130,7 +16356,7 @@ core.Map buildUnnamed6898() => { }, }; -void checkUnnamed6898(core.Map o) { +void checkUnnamed6971(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted89 = (o['x']!) as core.Map; unittest.expect(casted89, unittest.hasLength(3)); @@ -16163,12 +16389,12 @@ void checkUnnamed6898(core.Map o) { } core.List - buildUnnamed6899() => [ + buildUnnamed6972() => [ buildGoogleCloudDialogflowV2beta1SessionEntityType(), buildGoogleCloudDialogflowV2beta1SessionEntityType(), ]; -void checkUnnamed6899( +void checkUnnamed6972( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2beta1SessionEntityType(o[0]); @@ -16183,12 +16409,12 @@ api.GoogleCloudDialogflowV2beta1WebhookResponse if (buildCounterGoogleCloudDialogflowV2beta1WebhookResponse < 3) { o.endInteraction = true; o.followupEventInput = buildGoogleCloudDialogflowV2beta1EventInput(); - o.fulfillmentMessages = buildUnnamed6896(); + o.fulfillmentMessages = buildUnnamed6969(); o.fulfillmentText = 'foo'; o.liveAgentHandoff = true; - o.outputContexts = buildUnnamed6897(); - o.payload = buildUnnamed6898(); - o.sessionEntityTypes = buildUnnamed6899(); + o.outputContexts = buildUnnamed6970(); + o.payload = buildUnnamed6971(); + o.sessionEntityTypes = buildUnnamed6972(); o.source = 'foo'; } buildCounterGoogleCloudDialogflowV2beta1WebhookResponse--; @@ -16201,15 +16427,15 @@ void checkGoogleCloudDialogflowV2beta1WebhookResponse( if (buildCounterGoogleCloudDialogflowV2beta1WebhookResponse < 3) { unittest.expect(o.endInteraction!, unittest.isTrue); checkGoogleCloudDialogflowV2beta1EventInput(o.followupEventInput!); - checkUnnamed6896(o.fulfillmentMessages!); + checkUnnamed6969(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), ); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed6897(o.outputContexts!); - checkUnnamed6898(o.payload!); - checkUnnamed6899(o.sessionEntityTypes!); + checkUnnamed6970(o.outputContexts!); + checkUnnamed6971(o.payload!); + checkUnnamed6972(o.sessionEntityTypes!); unittest.expect( o.source!, unittest.equals('foo'), @@ -16328,12 +16554,12 @@ void checkGoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata( buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata--; } -core.List buildUnnamed6900() => [ +core.List buildUnnamed6973() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed6900(core.List o) { +void checkUnnamed6973(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -16345,7 +16571,7 @@ api.GoogleCloudDialogflowV3alpha1ImportDocumentsResponse final o = api.GoogleCloudDialogflowV3alpha1ImportDocumentsResponse(); buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse < 3) { - o.warnings = buildUnnamed6900(); + o.warnings = buildUnnamed6973(); } buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse--; return o; @@ -16355,7 +16581,7 @@ void checkGoogleCloudDialogflowV3alpha1ImportDocumentsResponse( api.GoogleCloudDialogflowV3alpha1ImportDocumentsResponse o) { buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse < 3) { - checkUnnamed6900(o.warnings!); + checkUnnamed6973(o.warnings!); } buildCounterGoogleCloudDialogflowV3alpha1ImportDocumentsResponse--; } @@ -16414,44 +16640,61 @@ void checkGoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata( buildCounterGoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata--; } -core.List buildUnnamed6901() => [ - buildGoogleLongrunningOperation(), - buildGoogleLongrunningOperation(), +core.List buildUnnamed6974() => [ + buildGoogleCloudLocationLocation(), + buildGoogleCloudLocationLocation(), ]; -void checkUnnamed6901(core.List o) { +void checkUnnamed6974(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleLongrunningOperation(o[0]); - checkGoogleLongrunningOperation(o[1]); + checkGoogleCloudLocationLocation(o[0]); + checkGoogleCloudLocationLocation(o[1]); } -core.int buildCounterGoogleLongrunningListOperationsResponse = 0; -api.GoogleLongrunningListOperationsResponse - buildGoogleLongrunningListOperationsResponse() { - final o = api.GoogleLongrunningListOperationsResponse(); - buildCounterGoogleLongrunningListOperationsResponse++; - if (buildCounterGoogleLongrunningListOperationsResponse < 3) { +core.int buildCounterGoogleCloudLocationListLocationsResponse = 0; +api.GoogleCloudLocationListLocationsResponse + buildGoogleCloudLocationListLocationsResponse() { + final o = api.GoogleCloudLocationListLocationsResponse(); + buildCounterGoogleCloudLocationListLocationsResponse++; + if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { + o.locations = buildUnnamed6974(); o.nextPageToken = 'foo'; - o.operations = buildUnnamed6901(); } - buildCounterGoogleLongrunningListOperationsResponse--; + buildCounterGoogleCloudLocationListLocationsResponse--; return o; } -void checkGoogleLongrunningListOperationsResponse( - api.GoogleLongrunningListOperationsResponse o) { - buildCounterGoogleLongrunningListOperationsResponse++; - if (buildCounterGoogleLongrunningListOperationsResponse < 3) { +void checkGoogleCloudLocationListLocationsResponse( + api.GoogleCloudLocationListLocationsResponse o) { + buildCounterGoogleCloudLocationListLocationsResponse++; + if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { + checkUnnamed6974(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6901(o.operations!); } - buildCounterGoogleLongrunningListOperationsResponse--; + buildCounterGoogleCloudLocationListLocationsResponse--; +} + +core.Map buildUnnamed6975() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed6975(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); } -core.Map buildUnnamed6902() => { +core.Map buildUnnamed6976() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16464,7 +16707,7 @@ core.Map buildUnnamed6902() => { }, }; -void checkUnnamed6902(core.Map o) { +void checkUnnamed6976(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted91 = (o['x']!) as core.Map; unittest.expect(casted91, unittest.hasLength(3)); @@ -16496,7 +16739,80 @@ void checkUnnamed6902(core.Map o) { ); } -core.Map buildUnnamed6903() => { +core.int buildCounterGoogleCloudLocationLocation = 0; +api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { + final o = api.GoogleCloudLocationLocation(); + buildCounterGoogleCloudLocationLocation++; + if (buildCounterGoogleCloudLocationLocation < 3) { + o.displayName = 'foo'; + o.labels = buildUnnamed6975(); + o.locationId = 'foo'; + o.metadata = buildUnnamed6976(); + o.name = 'foo'; + } + buildCounterGoogleCloudLocationLocation--; + return o; +} + +void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { + buildCounterGoogleCloudLocationLocation++; + if (buildCounterGoogleCloudLocationLocation < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed6975(o.labels!); + unittest.expect( + o.locationId!, + unittest.equals('foo'), + ); + checkUnnamed6976(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudLocationLocation--; +} + +core.List buildUnnamed6977() => [ + buildGoogleLongrunningOperation(), + buildGoogleLongrunningOperation(), + ]; + +void checkUnnamed6977(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleLongrunningOperation(o[0]); + checkGoogleLongrunningOperation(o[1]); +} + +core.int buildCounterGoogleLongrunningListOperationsResponse = 0; +api.GoogleLongrunningListOperationsResponse + buildGoogleLongrunningListOperationsResponse() { + final o = api.GoogleLongrunningListOperationsResponse(); + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed6977(); + } + buildCounterGoogleLongrunningListOperationsResponse--; + return o; +} + +void checkGoogleLongrunningListOperationsResponse( + api.GoogleLongrunningListOperationsResponse o) { + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed6977(o.operations!); + } + buildCounterGoogleLongrunningListOperationsResponse--; +} + +core.Map buildUnnamed6978() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16509,7 +16825,7 @@ core.Map buildUnnamed6903() => { }, }; -void checkUnnamed6903(core.Map o) { +void checkUnnamed6978(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted93 = (o['x']!) as core.Map; unittest.expect(casted93, unittest.hasLength(3)); @@ -16541,6 +16857,51 @@ void checkUnnamed6903(core.Map o) { ); } +core.Map buildUnnamed6979() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed6979(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted95 = (o['x']!) as core.Map; + unittest.expect(casted95, unittest.hasLength(3)); + unittest.expect( + casted95['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted95['bool'], + unittest.equals(true), + ); + unittest.expect( + casted95['string'], + unittest.equals('foo'), + ); + var casted96 = (o['y']!) as core.Map; + unittest.expect(casted96, unittest.hasLength(3)); + unittest.expect( + casted96['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted96['bool'], + unittest.equals(true), + ); + unittest.expect( + casted96['string'], + unittest.equals('foo'), + ); +} + core.int buildCounterGoogleLongrunningOperation = 0; api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { final o = api.GoogleLongrunningOperation(); @@ -16548,9 +16909,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed6902(); + o.metadata = buildUnnamed6978(); o.name = 'foo'; - o.response = buildUnnamed6903(); + o.response = buildUnnamed6979(); } buildCounterGoogleLongrunningOperation--; return o; @@ -16561,12 +16922,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed6902(o.metadata!); + checkUnnamed6978(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6903(o.response!); + checkUnnamed6979(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -16586,7 +16947,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed6904() => { +core.Map buildUnnamed6980() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -16599,47 +16960,47 @@ core.Map buildUnnamed6904() => { }, }; -void checkUnnamed6904(core.Map o) { +void checkUnnamed6980(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted95 = (o['x']!) as core.Map; - unittest.expect(casted95, unittest.hasLength(3)); + var casted97 = (o['x']!) as core.Map; + unittest.expect(casted97, unittest.hasLength(3)); unittest.expect( - casted95['list'], + casted97['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted95['bool'], + casted97['bool'], unittest.equals(true), ); unittest.expect( - casted95['string'], + casted97['string'], unittest.equals('foo'), ); - var casted96 = (o['y']!) as core.Map; - unittest.expect(casted96, unittest.hasLength(3)); + var casted98 = (o['y']!) as core.Map; + unittest.expect(casted98, unittest.hasLength(3)); unittest.expect( - casted96['list'], + casted98['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted96['bool'], + casted98['bool'], unittest.equals(true), ); unittest.expect( - casted96['string'], + casted98['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed6905() => [ - buildUnnamed6904(), - buildUnnamed6904(), +core.List> buildUnnamed6981() => [ + buildUnnamed6980(), + buildUnnamed6980(), ]; -void checkUnnamed6905(core.List> o) { +void checkUnnamed6981(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6904(o[0]); - checkUnnamed6904(o[1]); + checkUnnamed6980(o[0]); + checkUnnamed6980(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -16648,7 +17009,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed6905(); + o.details = buildUnnamed6981(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -16662,7 +17023,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed6905(o.details!); + checkUnnamed6981(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -16699,6 +17060,29 @@ void checkGoogleTypeLatLng(api.GoogleTypeLatLng o) { } void main() { + unittest.group('obj-schema-GoogleCloudDialogflowCxV3AdvancedSettings', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowCxV3AdvancedSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowCxV3AdvancedSettings.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowCxV3AdvancedSettings(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowCxV3Agent', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowCxV3Agent(); @@ -17878,6 +18262,37 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowCxV3RolloutConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowCxV3RolloutConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowCxV3RolloutConfig.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowCxV3RolloutConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowCxV3RolloutConfigRolloutStep', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowCxV3RolloutConfigRolloutStep(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowCxV3RolloutConfigRolloutStep.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowCxV3RolloutConfigRolloutStep(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowCxV3RolloutState', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowCxV3RolloutState(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowCxV3RolloutState.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowCxV3RolloutState(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDialogflowCxV3RunContinuousTestMetadata', () { unittest.test('to-json--from-json', () async { @@ -17953,6 +18368,20 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowCxV3SentimentAnalysisResult', () { unittest.test('to-json--from-json', () async { @@ -20940,6 +21369,26 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudLocationListLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudLocationListLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudLocationListLocationsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudLocationListLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudLocationLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudLocationLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudLocationLocation.fromJson( + oJson as core.Map); + checkGoogleCloudLocationLocation(od); + }); + }); + unittest.group('obj-schema-GoogleLongrunningListOperationsResponse', () { unittest.test('to-json--from-json', () async { final o = buildGoogleLongrunningListOperationsResponse(); @@ -20990,6 +21439,134 @@ void main() { }); }); + unittest.group('resource-ProjectsLocationsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v3/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudLocationLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudLocationLocation( + response as api.GoogleCloudLocationLocation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v3/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudLocationListLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudLocationListLocationsResponse( + response as api.GoogleCloudLocationListLocationsResponse); + }); + }); + unittest.group('resource-ProjectsLocationsAgentsResource', () { unittest.test('method--create', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/digitalassetlinks/v1_test.dart b/generated/googleapis/test/digitalassetlinks/v1_test.dart index 1ba2bde26..0c3e90365 100644 --- a/generated/googleapis/test/digitalassetlinks/v1_test.dart +++ b/generated/googleapis/test/digitalassetlinks/v1_test.dart @@ -93,12 +93,12 @@ void checkCertificateInfo(api.CertificateInfo o) { buildCounterCertificateInfo--; } -core.List buildUnnamed3667() => [ +core.List buildUnnamed3611() => [ 'foo', 'foo', ]; -void checkUnnamed3667(core.List o) { +void checkUnnamed3611(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -116,7 +116,7 @@ api.CheckResponse buildCheckResponse() { buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { o.debugString = 'foo'; - o.errorCode = buildUnnamed3667(); + o.errorCode = buildUnnamed3611(); o.linked = true; o.maxAge = 'foo'; } @@ -131,7 +131,7 @@ void checkCheckResponse(api.CheckResponse o) { o.debugString!, unittest.equals('foo'), ); - checkUnnamed3667(o.errorCode!); + checkUnnamed3611(o.errorCode!); unittest.expect(o.linked!, unittest.isTrue); unittest.expect( o.maxAge!, @@ -141,12 +141,12 @@ void checkCheckResponse(api.CheckResponse o) { buildCounterCheckResponse--; } -core.List buildUnnamed3668() => [ +core.List buildUnnamed3612() => [ 'foo', 'foo', ]; -void checkUnnamed3668(core.List o) { +void checkUnnamed3612(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -158,12 +158,12 @@ void checkUnnamed3668(core.List o) { ); } -core.List buildUnnamed3669() => [ +core.List buildUnnamed3613() => [ buildStatement(), buildStatement(), ]; -void checkUnnamed3669(core.List o) { +void checkUnnamed3613(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatement(o[0]); checkStatement(o[1]); @@ -175,9 +175,9 @@ api.ListResponse buildListResponse() { buildCounterListResponse++; if (buildCounterListResponse < 3) { o.debugString = 'foo'; - o.errorCode = buildUnnamed3668(); + o.errorCode = buildUnnamed3612(); o.maxAge = 'foo'; - o.statements = buildUnnamed3669(); + o.statements = buildUnnamed3613(); } buildCounterListResponse--; return o; @@ -190,12 +190,12 @@ void checkListResponse(api.ListResponse o) { o.debugString!, unittest.equals('foo'), ); - checkUnnamed3668(o.errorCode!); + checkUnnamed3612(o.errorCode!); unittest.expect( o.maxAge!, unittest.equals('foo'), ); - checkUnnamed3669(o.statements!); + checkUnnamed3613(o.statements!); } buildCounterListResponse--; } diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart index 483313954..a7a54814a 100644 --- a/generated/googleapis/test/discovery/v1_test.dart +++ b/generated/googleapis/test/discovery/v1_test.dart @@ -53,12 +53,12 @@ void checkDirectoryListItemsIcons(api.DirectoryListItemsIcons o) { buildCounterDirectoryListItemsIcons--; } -core.List buildUnnamed748() => [ +core.List buildUnnamed773() => [ 'foo', 'foo', ]; -void checkUnnamed748(core.List o) { +void checkUnnamed773(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -82,7 +82,7 @@ api.DirectoryListItems buildDirectoryListItems() { o.icons = buildDirectoryListItemsIcons(); o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed748(); + o.labels = buildUnnamed773(); o.name = 'foo'; o.preferred = true; o.title = 'foo'; @@ -120,7 +120,7 @@ void checkDirectoryListItems(api.DirectoryListItems o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed748(o.labels!); + checkUnnamed773(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -138,12 +138,12 @@ void checkDirectoryListItems(api.DirectoryListItems o) { buildCounterDirectoryListItems--; } -core.List buildUnnamed749() => [ +core.List buildUnnamed774() => [ buildDirectoryListItems(), buildDirectoryListItems(), ]; -void checkUnnamed749(core.List o) { +void checkUnnamed774(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDirectoryListItems(o[0]); checkDirectoryListItems(o[1]); @@ -155,7 +155,7 @@ api.DirectoryList buildDirectoryList() { buildCounterDirectoryList++; if (buildCounterDirectoryList < 3) { o.discoveryVersion = 'foo'; - o.items = buildUnnamed749(); + o.items = buildUnnamed774(); o.kind = 'foo'; } buildCounterDirectoryList--; @@ -169,7 +169,7 @@ void checkDirectoryList(api.DirectoryList o) { o.discoveryVersion!, unittest.equals('foo'), ); - checkUnnamed749(o.items!); + checkUnnamed774(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -178,12 +178,12 @@ void checkDirectoryList(api.DirectoryList o) { buildCounterDirectoryList--; } -core.List buildUnnamed750() => [ +core.List buildUnnamed775() => [ 'foo', 'foo', ]; -void checkUnnamed750(core.List o) { +void checkUnnamed775(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -200,7 +200,7 @@ api.JsonSchemaAnnotations buildJsonSchemaAnnotations() { final o = api.JsonSchemaAnnotations(); buildCounterJsonSchemaAnnotations++; if (buildCounterJsonSchemaAnnotations < 3) { - o.required = buildUnnamed750(); + o.required = buildUnnamed775(); } buildCounterJsonSchemaAnnotations--; return o; @@ -209,17 +209,17 @@ api.JsonSchemaAnnotations buildJsonSchemaAnnotations() { void checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) { buildCounterJsonSchemaAnnotations++; if (buildCounterJsonSchemaAnnotations < 3) { - checkUnnamed750(o.required!); + checkUnnamed775(o.required!); } buildCounterJsonSchemaAnnotations--; } -core.List buildUnnamed751() => [ +core.List buildUnnamed776() => [ 'foo', 'foo', ]; -void checkUnnamed751(core.List o) { +void checkUnnamed776(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -231,12 +231,12 @@ void checkUnnamed751(core.List o) { ); } -core.List buildUnnamed752() => [ +core.List buildUnnamed777() => [ 'foo', 'foo', ]; -void checkUnnamed752(core.List o) { +void checkUnnamed777(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -248,12 +248,12 @@ void checkUnnamed752(core.List o) { ); } -core.Map buildUnnamed753() => { +core.Map buildUnnamed778() => { 'x': buildJsonSchema(), 'y': buildJsonSchema(), }; -void checkUnnamed753(core.Map o) { +void checkUnnamed778(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o['x']!); checkJsonSchema(o['y']!); @@ -286,12 +286,12 @@ void checkJsonSchemaVariantMap(api.JsonSchemaVariantMap o) { buildCounterJsonSchemaVariantMap--; } -core.List buildUnnamed754() => [ +core.List buildUnnamed779() => [ buildJsonSchemaVariantMap(), buildJsonSchemaVariantMap(), ]; -void checkUnnamed754(core.List o) { +void checkUnnamed779(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchemaVariantMap(o[0]); checkJsonSchemaVariantMap(o[1]); @@ -303,7 +303,7 @@ api.JsonSchemaVariant buildJsonSchemaVariant() { buildCounterJsonSchemaVariant++; if (buildCounterJsonSchemaVariant < 3) { o.discriminant = 'foo'; - o.map = buildUnnamed754(); + o.map = buildUnnamed779(); } buildCounterJsonSchemaVariant--; return o; @@ -316,7 +316,7 @@ void checkJsonSchemaVariant(api.JsonSchemaVariant o) { o.discriminant!, unittest.equals('foo'), ); - checkUnnamed754(o.map!); + checkUnnamed779(o.map!); } buildCounterJsonSchemaVariant--; } @@ -331,8 +331,8 @@ api.JsonSchema buildJsonSchema() { o.annotations = buildJsonSchemaAnnotations(); o.default_ = 'foo'; o.description = 'foo'; - o.enum_ = buildUnnamed751(); - o.enumDescriptions = buildUnnamed752(); + o.enum_ = buildUnnamed776(); + o.enumDescriptions = buildUnnamed777(); o.format = 'foo'; o.id = 'foo'; o.items = buildJsonSchema(); @@ -340,7 +340,7 @@ api.JsonSchema buildJsonSchema() { o.maximum = 'foo'; o.minimum = 'foo'; o.pattern = 'foo'; - o.properties = buildUnnamed753(); + o.properties = buildUnnamed778(); o.readOnly = true; o.repeated = true; o.required = true; @@ -368,8 +368,8 @@ void checkJsonSchema(api.JsonSchema o) { o.description!, unittest.equals('foo'), ); - checkUnnamed751(o.enum_!); - checkUnnamed752(o.enumDescriptions!); + checkUnnamed776(o.enum_!); + checkUnnamed777(o.enumDescriptions!); unittest.expect( o.format!, unittest.equals('foo'), @@ -395,7 +395,7 @@ void checkJsonSchema(api.JsonSchema o) { o.pattern!, unittest.equals('foo'), ); - checkUnnamed753(o.properties!); + checkUnnamed778(o.properties!); unittest.expect(o.readOnly!, unittest.isTrue); unittest.expect(o.repeated!, unittest.isTrue); unittest.expect(o.required!, unittest.isTrue); @@ -433,12 +433,12 @@ void checkRestDescriptionAuthOauth2ScopesValue( } core.Map - buildUnnamed755() => { + buildUnnamed780() => { 'x': buildRestDescriptionAuthOauth2ScopesValue(), 'y': buildRestDescriptionAuthOauth2ScopesValue(), }; -void checkUnnamed755( +void checkUnnamed780( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRestDescriptionAuthOauth2ScopesValue(o['x']!); @@ -450,7 +450,7 @@ api.RestDescriptionAuthOauth2 buildRestDescriptionAuthOauth2() { final o = api.RestDescriptionAuthOauth2(); buildCounterRestDescriptionAuthOauth2++; if (buildCounterRestDescriptionAuthOauth2 < 3) { - o.scopes = buildUnnamed755(); + o.scopes = buildUnnamed780(); } buildCounterRestDescriptionAuthOauth2--; return o; @@ -459,7 +459,7 @@ api.RestDescriptionAuthOauth2 buildRestDescriptionAuthOauth2() { void checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) { buildCounterRestDescriptionAuthOauth2++; if (buildCounterRestDescriptionAuthOauth2 < 3) { - checkUnnamed755(o.scopes!); + checkUnnamed780(o.scopes!); } buildCounterRestDescriptionAuthOauth2--; } @@ -483,12 +483,12 @@ void checkRestDescriptionAuth(api.RestDescriptionAuth o) { buildCounterRestDescriptionAuth--; } -core.List buildUnnamed756() => [ +core.List buildUnnamed781() => [ 'foo', 'foo', ]; -void checkUnnamed756(core.List o) { +void checkUnnamed781(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -527,12 +527,12 @@ void checkRestDescriptionIcons(api.RestDescriptionIcons o) { buildCounterRestDescriptionIcons--; } -core.List buildUnnamed757() => [ +core.List buildUnnamed782() => [ 'foo', 'foo', ]; -void checkUnnamed757(core.List o) { +void checkUnnamed782(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -544,45 +544,45 @@ void checkUnnamed757(core.List o) { ); } -core.Map buildUnnamed758() => { +core.Map buildUnnamed783() => { 'x': buildRestMethod(), 'y': buildRestMethod(), }; -void checkUnnamed758(core.Map o) { +void checkUnnamed783(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRestMethod(o['x']!); checkRestMethod(o['y']!); } -core.Map buildUnnamed759() => { +core.Map buildUnnamed784() => { 'x': buildJsonSchema(), 'y': buildJsonSchema(), }; -void checkUnnamed759(core.Map o) { +void checkUnnamed784(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o['x']!); checkJsonSchema(o['y']!); } -core.Map buildUnnamed760() => { +core.Map buildUnnamed785() => { 'x': buildRestResource(), 'y': buildRestResource(), }; -void checkUnnamed760(core.Map o) { +void checkUnnamed785(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRestResource(o['x']!); checkRestResource(o['y']!); } -core.Map buildUnnamed761() => { +core.Map buildUnnamed786() => { 'x': buildJsonSchema(), 'y': buildJsonSchema(), }; -void checkUnnamed761(core.Map o) { +void checkUnnamed786(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o['x']!); checkJsonSchema(o['y']!); @@ -603,22 +603,22 @@ api.RestDescription buildRestDescription() { o.documentationLink = 'foo'; o.etag = 'foo'; o.exponentialBackoffDefault = true; - o.features = buildUnnamed756(); + o.features = buildUnnamed781(); o.icons = buildRestDescriptionIcons(); o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed757(); - o.methods = buildUnnamed758(); + o.labels = buildUnnamed782(); + o.methods = buildUnnamed783(); o.name = 'foo'; o.ownerDomain = 'foo'; o.ownerName = 'foo'; o.packagePath = 'foo'; - o.parameters = buildUnnamed759(); + o.parameters = buildUnnamed784(); o.protocol = 'foo'; - o.resources = buildUnnamed760(); + o.resources = buildUnnamed785(); o.revision = 'foo'; o.rootUrl = 'foo'; - o.schemas = buildUnnamed761(); + o.schemas = buildUnnamed786(); o.servicePath = 'foo'; o.title = 'foo'; o.version = 'foo'; @@ -665,7 +665,7 @@ void checkRestDescription(api.RestDescription o) { unittest.equals('foo'), ); unittest.expect(o.exponentialBackoffDefault!, unittest.isTrue); - checkUnnamed756(o.features!); + checkUnnamed781(o.features!); checkRestDescriptionIcons(o.icons!); unittest.expect( o.id!, @@ -675,8 +675,8 @@ void checkRestDescription(api.RestDescription o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed757(o.labels!); - checkUnnamed758(o.methods!); + checkUnnamed782(o.labels!); + checkUnnamed783(o.methods!); unittest.expect( o.name!, unittest.equals('foo'), @@ -693,12 +693,12 @@ void checkRestDescription(api.RestDescription o) { o.packagePath!, unittest.equals('foo'), ); - checkUnnamed759(o.parameters!); + checkUnnamed784(o.parameters!); unittest.expect( o.protocol!, unittest.equals('foo'), ); - checkUnnamed760(o.resources!); + checkUnnamed785(o.resources!); unittest.expect( o.revision!, unittest.equals('foo'), @@ -707,7 +707,7 @@ void checkRestDescription(api.RestDescription o) { o.rootUrl!, unittest.equals('foo'), ); - checkUnnamed761(o.schemas!); + checkUnnamed786(o.schemas!); unittest.expect( o.servicePath!, unittest.equals('foo'), @@ -725,12 +725,12 @@ void checkRestDescription(api.RestDescription o) { buildCounterRestDescription--; } -core.List buildUnnamed762() => [ +core.List buildUnnamed787() => [ 'foo', 'foo', ]; -void checkUnnamed762(core.List o) { +void checkUnnamed787(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -820,7 +820,7 @@ api.RestMethodMediaUpload buildRestMethodMediaUpload() { final o = api.RestMethodMediaUpload(); buildCounterRestMethodMediaUpload++; if (buildCounterRestMethodMediaUpload < 3) { - o.accept = buildUnnamed762(); + o.accept = buildUnnamed787(); o.maxSize = 'foo'; o.protocols = buildRestMethodMediaUploadProtocols(); } @@ -831,7 +831,7 @@ api.RestMethodMediaUpload buildRestMethodMediaUpload() { void checkRestMethodMediaUpload(api.RestMethodMediaUpload o) { buildCounterRestMethodMediaUpload++; if (buildCounterRestMethodMediaUpload < 3) { - checkUnnamed762(o.accept!); + checkUnnamed787(o.accept!); unittest.expect( o.maxSize!, unittest.equals('foo'), @@ -841,12 +841,12 @@ void checkRestMethodMediaUpload(api.RestMethodMediaUpload o) { buildCounterRestMethodMediaUpload--; } -core.List buildUnnamed763() => [ +core.List buildUnnamed788() => [ 'foo', 'foo', ]; -void checkUnnamed763(core.List o) { +void checkUnnamed788(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -858,12 +858,12 @@ void checkUnnamed763(core.List o) { ); } -core.Map buildUnnamed764() => { +core.Map buildUnnamed789() => { 'x': buildJsonSchema(), 'y': buildJsonSchema(), }; -void checkUnnamed764(core.Map o) { +void checkUnnamed789(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o['x']!); checkJsonSchema(o['y']!); @@ -918,12 +918,12 @@ void checkRestMethodResponse(api.RestMethodResponse o) { buildCounterRestMethodResponse--; } -core.List buildUnnamed765() => [ +core.List buildUnnamed790() => [ 'foo', 'foo', ]; -void checkUnnamed765(core.List o) { +void checkUnnamed790(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -946,12 +946,12 @@ api.RestMethod buildRestMethod() { o.httpMethod = 'foo'; o.id = 'foo'; o.mediaUpload = buildRestMethodMediaUpload(); - o.parameterOrder = buildUnnamed763(); - o.parameters = buildUnnamed764(); + o.parameterOrder = buildUnnamed788(); + o.parameters = buildUnnamed789(); o.path = 'foo'; o.request = buildRestMethodRequest(); o.response = buildRestMethodResponse(); - o.scopes = buildUnnamed765(); + o.scopes = buildUnnamed790(); o.supportsMediaDownload = true; o.supportsMediaUpload = true; o.supportsSubscription = true; @@ -982,15 +982,15 @@ void checkRestMethod(api.RestMethod o) { unittest.equals('foo'), ); checkRestMethodMediaUpload(o.mediaUpload!); - checkUnnamed763(o.parameterOrder!); - checkUnnamed764(o.parameters!); + checkUnnamed788(o.parameterOrder!); + checkUnnamed789(o.parameters!); unittest.expect( o.path!, unittest.equals('foo'), ); checkRestMethodRequest(o.request!); checkRestMethodResponse(o.response!); - checkUnnamed765(o.scopes!); + checkUnnamed790(o.scopes!); unittest.expect(o.supportsMediaDownload!, unittest.isTrue); unittest.expect(o.supportsMediaUpload!, unittest.isTrue); unittest.expect(o.supportsSubscription!, unittest.isTrue); @@ -999,23 +999,23 @@ void checkRestMethod(api.RestMethod o) { buildCounterRestMethod--; } -core.Map buildUnnamed766() => { +core.Map buildUnnamed791() => { 'x': buildRestMethod(), 'y': buildRestMethod(), }; -void checkUnnamed766(core.Map o) { +void checkUnnamed791(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRestMethod(o['x']!); checkRestMethod(o['y']!); } -core.Map buildUnnamed767() => { +core.Map buildUnnamed792() => { 'x': buildRestResource(), 'y': buildRestResource(), }; -void checkUnnamed767(core.Map o) { +void checkUnnamed792(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRestResource(o['x']!); checkRestResource(o['y']!); @@ -1026,8 +1026,8 @@ api.RestResource buildRestResource() { final o = api.RestResource(); buildCounterRestResource++; if (buildCounterRestResource < 3) { - o.methods = buildUnnamed766(); - o.resources = buildUnnamed767(); + o.methods = buildUnnamed791(); + o.resources = buildUnnamed792(); } buildCounterRestResource--; return o; @@ -1036,8 +1036,8 @@ api.RestResource buildRestResource() { void checkRestResource(api.RestResource o) { buildCounterRestResource++; if (buildCounterRestResource < 3) { - checkUnnamed766(o.methods!); - checkUnnamed767(o.resources!); + checkUnnamed791(o.methods!); + checkUnnamed792(o.resources!); } buildCounterRestResource--; } diff --git a/generated/googleapis/test/displayvideo/v1_test.dart b/generated/googleapis/test/displayvideo/v1_test.dart index 8ab1e1174..79cfee6e4 100644 --- a/generated/googleapis/test/displayvideo/v1_test.dart +++ b/generated/googleapis/test/displayvideo/v1_test.dart @@ -85,12 +85,12 @@ void checkActiveViewVideoViewabilityMetricConfig( buildCounterActiveViewVideoViewabilityMetricConfig--; } -core.List buildUnnamed5913() => [ +core.List buildUnnamed5979() => [ 'foo', 'foo', ]; -void checkUnnamed5913(core.List o) { +void checkUnnamed5979(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -107,7 +107,7 @@ api.Adloox buildAdloox() { final o = api.Adloox(); buildCounterAdloox++; if (buildCounterAdloox < 3) { - o.excludedAdlooxCategories = buildUnnamed5913(); + o.excludedAdlooxCategories = buildUnnamed5979(); } buildCounterAdloox--; return o; @@ -116,7 +116,7 @@ api.Adloox buildAdloox() { void checkAdloox(api.Adloox o) { buildCounterAdloox++; if (buildCounterAdloox < 3) { - checkUnnamed5913(o.excludedAdlooxCategories!); + checkUnnamed5979(o.excludedAdlooxCategories!); } buildCounterAdloox--; } @@ -590,6 +590,7 @@ api.AssignedTargetingOption buildAssignedTargetingOption() { o.authorizedSellerStatusDetails = buildAuthorizedSellerStatusAssignedTargetingOptionDetails(); o.browserDetails = buildBrowserAssignedTargetingOptionDetails(); + o.businessChainDetails = buildBusinessChainAssignedTargetingOptionDetails(); o.carrierAndIspDetails = buildCarrierAndIspAssignedTargetingOptionDetails(); o.categoryDetails = buildCategoryAssignedTargetingOptionDetails(); o.channelDetails = buildChannelAssignedTargetingOptionDetails(); @@ -621,12 +622,14 @@ api.AssignedTargetingOption buildAssignedTargetingOption() { buildNativeContentPositionAssignedTargetingOptionDetails(); o.negativeKeywordListDetails = buildNegativeKeywordListAssignedTargetingOptionDetails(); + o.omidDetails = buildOmidAssignedTargetingOptionDetails(); o.onScreenPositionDetails = buildOnScreenPositionAssignedTargetingOptionDetails(); o.operatingSystemDetails = buildOperatingSystemAssignedTargetingOptionDetails(); o.parentalStatusDetails = buildParentalStatusAssignedTargetingOptionDetails(); + o.poiDetails = buildPoiAssignedTargetingOptionDetails(); o.proximityLocationListDetails = buildProximityLocationListAssignedTargetingOptionDetails(); o.regionalLocationListDetails = @@ -662,6 +665,7 @@ void checkAssignedTargetingOption(api.AssignedTargetingOption o) { checkAuthorizedSellerStatusAssignedTargetingOptionDetails( o.authorizedSellerStatusDetails!); checkBrowserAssignedTargetingOptionDetails(o.browserDetails!); + checkBusinessChainAssignedTargetingOptionDetails(o.businessChainDetails!); checkCarrierAndIspAssignedTargetingOptionDetails(o.carrierAndIspDetails!); checkCategoryAssignedTargetingOptionDetails(o.categoryDetails!); checkChannelAssignedTargetingOptionDetails(o.channelDetails!); @@ -699,11 +703,13 @@ void checkAssignedTargetingOption(api.AssignedTargetingOption o) { o.nativeContentPositionDetails!); checkNegativeKeywordListAssignedTargetingOptionDetails( o.negativeKeywordListDetails!); + checkOmidAssignedTargetingOptionDetails(o.omidDetails!); checkOnScreenPositionAssignedTargetingOptionDetails( o.onScreenPositionDetails!); checkOperatingSystemAssignedTargetingOptionDetails( o.operatingSystemDetails!); checkParentalStatusAssignedTargetingOptionDetails(o.parentalStatusDetails!); + checkPoiAssignedTargetingOptionDetails(o.poiDetails!); checkProximityLocationListAssignedTargetingOptionDetails( o.proximityLocationListDetails!); checkRegionalLocationListAssignedTargetingOptionDetails( @@ -764,12 +770,12 @@ void checkAssignedUserRole(api.AssignedUserRole o) { buildCounterAssignedUserRole--; } -core.List buildUnnamed5914() => [ +core.List buildUnnamed5980() => [ buildFirstAndThirdPartyAudienceGroup(), buildFirstAndThirdPartyAudienceGroup(), ]; -void checkUnnamed5914(core.List o) { +void checkUnnamed5980(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirstAndThirdPartyAudienceGroup(o[0]); checkFirstAndThirdPartyAudienceGroup(o[1]); @@ -786,7 +792,7 @@ api.AudienceGroupAssignedTargetingOptionDetails o.excludedGoogleAudienceGroup = buildGoogleAudienceGroup(); o.includedCombinedAudienceGroup = buildCombinedAudienceGroup(); o.includedCustomListGroup = buildCustomListGroup(); - o.includedFirstAndThirdPartyAudienceGroups = buildUnnamed5914(); + o.includedFirstAndThirdPartyAudienceGroups = buildUnnamed5980(); o.includedGoogleAudienceGroup = buildGoogleAudienceGroup(); } buildCounterAudienceGroupAssignedTargetingOptionDetails--; @@ -802,7 +808,7 @@ void checkAudienceGroupAssignedTargetingOptionDetails( checkGoogleAudienceGroup(o.excludedGoogleAudienceGroup!); checkCombinedAudienceGroup(o.includedCombinedAudienceGroup!); checkCustomListGroup(o.includedCustomListGroup!); - checkUnnamed5914(o.includedFirstAndThirdPartyAudienceGroups!); + checkUnnamed5980(o.includedFirstAndThirdPartyAudienceGroups!); checkGoogleAudienceGroup(o.includedGoogleAudienceGroup!); } buildCounterAudienceGroupAssignedTargetingOptionDetails--; @@ -1060,23 +1066,23 @@ void checkBudgetSummary(api.BudgetSummary o) { buildCounterBudgetSummary--; } -core.List buildUnnamed5915() => [ +core.List buildUnnamed5981() => [ buildCreateAssignedTargetingOptionsRequest(), buildCreateAssignedTargetingOptionsRequest(), ]; -void checkUnnamed5915(core.List o) { +void checkUnnamed5981(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreateAssignedTargetingOptionsRequest(o[0]); checkCreateAssignedTargetingOptionsRequest(o[1]); } -core.List buildUnnamed5916() => [ +core.List buildUnnamed5982() => [ buildDeleteAssignedTargetingOptionsRequest(), buildDeleteAssignedTargetingOptionsRequest(), ]; -void checkUnnamed5916(core.List o) { +void checkUnnamed5982(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeleteAssignedTargetingOptionsRequest(o[0]); checkDeleteAssignedTargetingOptionsRequest(o[1]); @@ -1088,8 +1094,8 @@ api.BulkEditAdvertiserAssignedTargetingOptionsRequest final o = api.BulkEditAdvertiserAssignedTargetingOptionsRequest(); buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest++; if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest < 3) { - o.createRequests = buildUnnamed5915(); - o.deleteRequests = buildUnnamed5916(); + o.createRequests = buildUnnamed5981(); + o.deleteRequests = buildUnnamed5982(); } buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest--; return o; @@ -1099,18 +1105,18 @@ void checkBulkEditAdvertiserAssignedTargetingOptionsRequest( api.BulkEditAdvertiserAssignedTargetingOptionsRequest o) { buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest++; if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest < 3) { - checkUnnamed5915(o.createRequests!); - checkUnnamed5916(o.deleteRequests!); + checkUnnamed5981(o.createRequests!); + checkUnnamed5982(o.deleteRequests!); } buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest--; } -core.List buildUnnamed5917() => [ +core.List buildUnnamed5983() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5917(core.List o) { +void checkUnnamed5983(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1122,7 +1128,7 @@ api.BulkEditAdvertiserAssignedTargetingOptionsResponse final o = api.BulkEditAdvertiserAssignedTargetingOptionsResponse(); buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse++; if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse < 3) { - o.createdAssignedTargetingOptions = buildUnnamed5917(); + o.createdAssignedTargetingOptions = buildUnnamed5983(); } buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse--; return o; @@ -1132,28 +1138,28 @@ void checkBulkEditAdvertiserAssignedTargetingOptionsResponse( api.BulkEditAdvertiserAssignedTargetingOptionsResponse o) { buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse++; if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse < 3) { - checkUnnamed5917(o.createdAssignedTargetingOptions!); + checkUnnamed5983(o.createdAssignedTargetingOptions!); } buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5918() => [ +core.List buildUnnamed5984() => [ buildAssignedInventorySource(), buildAssignedInventorySource(), ]; -void checkUnnamed5918(core.List o) { +void checkUnnamed5984(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedInventorySource(o[0]); checkAssignedInventorySource(o[1]); } -core.List buildUnnamed5919() => [ +core.List buildUnnamed5985() => [ 'foo', 'foo', ]; -void checkUnnamed5919(core.List o) { +void checkUnnamed5985(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1172,8 +1178,8 @@ api.BulkEditAssignedInventorySourcesRequest buildCounterBulkEditAssignedInventorySourcesRequest++; if (buildCounterBulkEditAssignedInventorySourcesRequest < 3) { o.advertiserId = 'foo'; - o.createdAssignedInventorySources = buildUnnamed5918(); - o.deletedAssignedInventorySources = buildUnnamed5919(); + o.createdAssignedInventorySources = buildUnnamed5984(); + o.deletedAssignedInventorySources = buildUnnamed5985(); o.partnerId = 'foo'; } buildCounterBulkEditAssignedInventorySourcesRequest--; @@ -1188,8 +1194,8 @@ void checkBulkEditAssignedInventorySourcesRequest( o.advertiserId!, unittest.equals('foo'), ); - checkUnnamed5918(o.createdAssignedInventorySources!); - checkUnnamed5919(o.deletedAssignedInventorySources!); + checkUnnamed5984(o.createdAssignedInventorySources!); + checkUnnamed5985(o.deletedAssignedInventorySources!); unittest.expect( o.partnerId!, unittest.equals('foo'), @@ -1198,12 +1204,12 @@ void checkBulkEditAssignedInventorySourcesRequest( buildCounterBulkEditAssignedInventorySourcesRequest--; } -core.List buildUnnamed5920() => [ +core.List buildUnnamed5986() => [ buildAssignedInventorySource(), buildAssignedInventorySource(), ]; -void checkUnnamed5920(core.List o) { +void checkUnnamed5986(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedInventorySource(o[0]); checkAssignedInventorySource(o[1]); @@ -1215,7 +1221,7 @@ api.BulkEditAssignedInventorySourcesResponse final o = api.BulkEditAssignedInventorySourcesResponse(); buildCounterBulkEditAssignedInventorySourcesResponse++; if (buildCounterBulkEditAssignedInventorySourcesResponse < 3) { - o.assignedInventorySources = buildUnnamed5920(); + o.assignedInventorySources = buildUnnamed5986(); } buildCounterBulkEditAssignedInventorySourcesResponse--; return o; @@ -1225,28 +1231,28 @@ void checkBulkEditAssignedInventorySourcesResponse( api.BulkEditAssignedInventorySourcesResponse o) { buildCounterBulkEditAssignedInventorySourcesResponse++; if (buildCounterBulkEditAssignedInventorySourcesResponse < 3) { - checkUnnamed5920(o.assignedInventorySources!); + checkUnnamed5986(o.assignedInventorySources!); } buildCounterBulkEditAssignedInventorySourcesResponse--; } -core.List buildUnnamed5921() => [ +core.List buildUnnamed5987() => [ buildAssignedLocation(), buildAssignedLocation(), ]; -void checkUnnamed5921(core.List o) { +void checkUnnamed5987(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedLocation(o[0]); checkAssignedLocation(o[1]); } -core.List buildUnnamed5922() => [ +core.List buildUnnamed5988() => [ 'foo', 'foo', ]; -void checkUnnamed5922(core.List o) { +void checkUnnamed5988(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1263,8 +1269,8 @@ api.BulkEditAssignedLocationsRequest buildBulkEditAssignedLocationsRequest() { final o = api.BulkEditAssignedLocationsRequest(); buildCounterBulkEditAssignedLocationsRequest++; if (buildCounterBulkEditAssignedLocationsRequest < 3) { - o.createdAssignedLocations = buildUnnamed5921(); - o.deletedAssignedLocations = buildUnnamed5922(); + o.createdAssignedLocations = buildUnnamed5987(); + o.deletedAssignedLocations = buildUnnamed5988(); } buildCounterBulkEditAssignedLocationsRequest--; return o; @@ -1274,18 +1280,18 @@ void checkBulkEditAssignedLocationsRequest( api.BulkEditAssignedLocationsRequest o) { buildCounterBulkEditAssignedLocationsRequest++; if (buildCounterBulkEditAssignedLocationsRequest < 3) { - checkUnnamed5921(o.createdAssignedLocations!); - checkUnnamed5922(o.deletedAssignedLocations!); + checkUnnamed5987(o.createdAssignedLocations!); + checkUnnamed5988(o.deletedAssignedLocations!); } buildCounterBulkEditAssignedLocationsRequest--; } -core.List buildUnnamed5923() => [ +core.List buildUnnamed5989() => [ buildAssignedLocation(), buildAssignedLocation(), ]; -void checkUnnamed5923(core.List o) { +void checkUnnamed5989(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedLocation(o[0]); checkAssignedLocation(o[1]); @@ -1296,7 +1302,7 @@ api.BulkEditAssignedLocationsResponse buildBulkEditAssignedLocationsResponse() { final o = api.BulkEditAssignedLocationsResponse(); buildCounterBulkEditAssignedLocationsResponse++; if (buildCounterBulkEditAssignedLocationsResponse < 3) { - o.assignedLocations = buildUnnamed5923(); + o.assignedLocations = buildUnnamed5989(); } buildCounterBulkEditAssignedLocationsResponse--; return o; @@ -1306,28 +1312,28 @@ void checkBulkEditAssignedLocationsResponse( api.BulkEditAssignedLocationsResponse o) { buildCounterBulkEditAssignedLocationsResponse++; if (buildCounterBulkEditAssignedLocationsResponse < 3) { - checkUnnamed5923(o.assignedLocations!); + checkUnnamed5989(o.assignedLocations!); } buildCounterBulkEditAssignedLocationsResponse--; } -core.List buildUnnamed5924() => [ +core.List buildUnnamed5990() => [ buildAssignedUserRole(), buildAssignedUserRole(), ]; -void checkUnnamed5924(core.List o) { +void checkUnnamed5990(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedUserRole(o[0]); checkAssignedUserRole(o[1]); } -core.List buildUnnamed5925() => [ +core.List buildUnnamed5991() => [ 'foo', 'foo', ]; -void checkUnnamed5925(core.List o) { +void checkUnnamed5991(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1344,8 +1350,8 @@ api.BulkEditAssignedUserRolesRequest buildBulkEditAssignedUserRolesRequest() { final o = api.BulkEditAssignedUserRolesRequest(); buildCounterBulkEditAssignedUserRolesRequest++; if (buildCounterBulkEditAssignedUserRolesRequest < 3) { - o.createdAssignedUserRoles = buildUnnamed5924(); - o.deletedAssignedUserRoles = buildUnnamed5925(); + o.createdAssignedUserRoles = buildUnnamed5990(); + o.deletedAssignedUserRoles = buildUnnamed5991(); } buildCounterBulkEditAssignedUserRolesRequest--; return o; @@ -1355,18 +1361,18 @@ void checkBulkEditAssignedUserRolesRequest( api.BulkEditAssignedUserRolesRequest o) { buildCounterBulkEditAssignedUserRolesRequest++; if (buildCounterBulkEditAssignedUserRolesRequest < 3) { - checkUnnamed5924(o.createdAssignedUserRoles!); - checkUnnamed5925(o.deletedAssignedUserRoles!); + checkUnnamed5990(o.createdAssignedUserRoles!); + checkUnnamed5991(o.deletedAssignedUserRoles!); } buildCounterBulkEditAssignedUserRolesRequest--; } -core.List buildUnnamed5926() => [ +core.List buildUnnamed5992() => [ buildAssignedUserRole(), buildAssignedUserRole(), ]; -void checkUnnamed5926(core.List o) { +void checkUnnamed5992(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedUserRole(o[0]); checkAssignedUserRole(o[1]); @@ -1377,7 +1383,7 @@ api.BulkEditAssignedUserRolesResponse buildBulkEditAssignedUserRolesResponse() { final o = api.BulkEditAssignedUserRolesResponse(); buildCounterBulkEditAssignedUserRolesResponse++; if (buildCounterBulkEditAssignedUserRolesResponse < 3) { - o.createdAssignedUserRoles = buildUnnamed5926(); + o.createdAssignedUserRoles = buildUnnamed5992(); } buildCounterBulkEditAssignedUserRolesResponse--; return o; @@ -1387,28 +1393,28 @@ void checkBulkEditAssignedUserRolesResponse( api.BulkEditAssignedUserRolesResponse o) { buildCounterBulkEditAssignedUserRolesResponse++; if (buildCounterBulkEditAssignedUserRolesResponse < 3) { - checkUnnamed5926(o.createdAssignedUserRoles!); + checkUnnamed5992(o.createdAssignedUserRoles!); } buildCounterBulkEditAssignedUserRolesResponse--; } -core.List buildUnnamed5927() => [ +core.List buildUnnamed5993() => [ buildCreateAssignedTargetingOptionsRequest(), buildCreateAssignedTargetingOptionsRequest(), ]; -void checkUnnamed5927(core.List o) { +void checkUnnamed5993(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreateAssignedTargetingOptionsRequest(o[0]); checkCreateAssignedTargetingOptionsRequest(o[1]); } -core.List buildUnnamed5928() => [ +core.List buildUnnamed5994() => [ buildDeleteAssignedTargetingOptionsRequest(), buildDeleteAssignedTargetingOptionsRequest(), ]; -void checkUnnamed5928(core.List o) { +void checkUnnamed5994(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeleteAssignedTargetingOptionsRequest(o[0]); checkDeleteAssignedTargetingOptionsRequest(o[1]); @@ -1420,8 +1426,8 @@ api.BulkEditLineItemAssignedTargetingOptionsRequest final o = api.BulkEditLineItemAssignedTargetingOptionsRequest(); buildCounterBulkEditLineItemAssignedTargetingOptionsRequest++; if (buildCounterBulkEditLineItemAssignedTargetingOptionsRequest < 3) { - o.createRequests = buildUnnamed5927(); - o.deleteRequests = buildUnnamed5928(); + o.createRequests = buildUnnamed5993(); + o.deleteRequests = buildUnnamed5994(); } buildCounterBulkEditLineItemAssignedTargetingOptionsRequest--; return o; @@ -1431,18 +1437,18 @@ void checkBulkEditLineItemAssignedTargetingOptionsRequest( api.BulkEditLineItemAssignedTargetingOptionsRequest o) { buildCounterBulkEditLineItemAssignedTargetingOptionsRequest++; if (buildCounterBulkEditLineItemAssignedTargetingOptionsRequest < 3) { - checkUnnamed5927(o.createRequests!); - checkUnnamed5928(o.deleteRequests!); + checkUnnamed5993(o.createRequests!); + checkUnnamed5994(o.deleteRequests!); } buildCounterBulkEditLineItemAssignedTargetingOptionsRequest--; } -core.List buildUnnamed5929() => [ +core.List buildUnnamed5995() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5929(core.List o) { +void checkUnnamed5995(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1454,7 +1460,7 @@ api.BulkEditLineItemAssignedTargetingOptionsResponse final o = api.BulkEditLineItemAssignedTargetingOptionsResponse(); buildCounterBulkEditLineItemAssignedTargetingOptionsResponse++; if (buildCounterBulkEditLineItemAssignedTargetingOptionsResponse < 3) { - o.createdAssignedTargetingOptions = buildUnnamed5929(); + o.createdAssignedTargetingOptions = buildUnnamed5995(); } buildCounterBulkEditLineItemAssignedTargetingOptionsResponse--; return o; @@ -1464,28 +1470,28 @@ void checkBulkEditLineItemAssignedTargetingOptionsResponse( api.BulkEditLineItemAssignedTargetingOptionsResponse o) { buildCounterBulkEditLineItemAssignedTargetingOptionsResponse++; if (buildCounterBulkEditLineItemAssignedTargetingOptionsResponse < 3) { - checkUnnamed5929(o.createdAssignedTargetingOptions!); + checkUnnamed5995(o.createdAssignedTargetingOptions!); } buildCounterBulkEditLineItemAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5930() => [ +core.List buildUnnamed5996() => [ buildNegativeKeyword(), buildNegativeKeyword(), ]; -void checkUnnamed5930(core.List o) { +void checkUnnamed5996(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNegativeKeyword(o[0]); checkNegativeKeyword(o[1]); } -core.List buildUnnamed5931() => [ +core.List buildUnnamed5997() => [ 'foo', 'foo', ]; -void checkUnnamed5931(core.List o) { +void checkUnnamed5997(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1502,8 +1508,8 @@ api.BulkEditNegativeKeywordsRequest buildBulkEditNegativeKeywordsRequest() { final o = api.BulkEditNegativeKeywordsRequest(); buildCounterBulkEditNegativeKeywordsRequest++; if (buildCounterBulkEditNegativeKeywordsRequest < 3) { - o.createdNegativeKeywords = buildUnnamed5930(); - o.deletedNegativeKeywords = buildUnnamed5931(); + o.createdNegativeKeywords = buildUnnamed5996(); + o.deletedNegativeKeywords = buildUnnamed5997(); } buildCounterBulkEditNegativeKeywordsRequest--; return o; @@ -1513,18 +1519,18 @@ void checkBulkEditNegativeKeywordsRequest( api.BulkEditNegativeKeywordsRequest o) { buildCounterBulkEditNegativeKeywordsRequest++; if (buildCounterBulkEditNegativeKeywordsRequest < 3) { - checkUnnamed5930(o.createdNegativeKeywords!); - checkUnnamed5931(o.deletedNegativeKeywords!); + checkUnnamed5996(o.createdNegativeKeywords!); + checkUnnamed5997(o.deletedNegativeKeywords!); } buildCounterBulkEditNegativeKeywordsRequest--; } -core.List buildUnnamed5932() => [ +core.List buildUnnamed5998() => [ buildNegativeKeyword(), buildNegativeKeyword(), ]; -void checkUnnamed5932(core.List o) { +void checkUnnamed5998(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNegativeKeyword(o[0]); checkNegativeKeyword(o[1]); @@ -1535,7 +1541,7 @@ api.BulkEditNegativeKeywordsResponse buildBulkEditNegativeKeywordsResponse() { final o = api.BulkEditNegativeKeywordsResponse(); buildCounterBulkEditNegativeKeywordsResponse++; if (buildCounterBulkEditNegativeKeywordsResponse < 3) { - o.negativeKeywords = buildUnnamed5932(); + o.negativeKeywords = buildUnnamed5998(); } buildCounterBulkEditNegativeKeywordsResponse--; return o; @@ -1545,28 +1551,28 @@ void checkBulkEditNegativeKeywordsResponse( api.BulkEditNegativeKeywordsResponse o) { buildCounterBulkEditNegativeKeywordsResponse++; if (buildCounterBulkEditNegativeKeywordsResponse < 3) { - checkUnnamed5932(o.negativeKeywords!); + checkUnnamed5998(o.negativeKeywords!); } buildCounterBulkEditNegativeKeywordsResponse--; } -core.List buildUnnamed5933() => [ +core.List buildUnnamed5999() => [ buildCreateAssignedTargetingOptionsRequest(), buildCreateAssignedTargetingOptionsRequest(), ]; -void checkUnnamed5933(core.List o) { +void checkUnnamed5999(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreateAssignedTargetingOptionsRequest(o[0]); checkCreateAssignedTargetingOptionsRequest(o[1]); } -core.List buildUnnamed5934() => [ +core.List buildUnnamed6000() => [ buildDeleteAssignedTargetingOptionsRequest(), buildDeleteAssignedTargetingOptionsRequest(), ]; -void checkUnnamed5934(core.List o) { +void checkUnnamed6000(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeleteAssignedTargetingOptionsRequest(o[0]); checkDeleteAssignedTargetingOptionsRequest(o[1]); @@ -1578,8 +1584,8 @@ api.BulkEditPartnerAssignedTargetingOptionsRequest final o = api.BulkEditPartnerAssignedTargetingOptionsRequest(); buildCounterBulkEditPartnerAssignedTargetingOptionsRequest++; if (buildCounterBulkEditPartnerAssignedTargetingOptionsRequest < 3) { - o.createRequests = buildUnnamed5933(); - o.deleteRequests = buildUnnamed5934(); + o.createRequests = buildUnnamed5999(); + o.deleteRequests = buildUnnamed6000(); } buildCounterBulkEditPartnerAssignedTargetingOptionsRequest--; return o; @@ -1589,18 +1595,18 @@ void checkBulkEditPartnerAssignedTargetingOptionsRequest( api.BulkEditPartnerAssignedTargetingOptionsRequest o) { buildCounterBulkEditPartnerAssignedTargetingOptionsRequest++; if (buildCounterBulkEditPartnerAssignedTargetingOptionsRequest < 3) { - checkUnnamed5933(o.createRequests!); - checkUnnamed5934(o.deleteRequests!); + checkUnnamed5999(o.createRequests!); + checkUnnamed6000(o.deleteRequests!); } buildCounterBulkEditPartnerAssignedTargetingOptionsRequest--; } -core.List buildUnnamed5935() => [ +core.List buildUnnamed6001() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5935(core.List o) { +void checkUnnamed6001(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1612,7 +1618,7 @@ api.BulkEditPartnerAssignedTargetingOptionsResponse final o = api.BulkEditPartnerAssignedTargetingOptionsResponse(); buildCounterBulkEditPartnerAssignedTargetingOptionsResponse++; if (buildCounterBulkEditPartnerAssignedTargetingOptionsResponse < 3) { - o.createdAssignedTargetingOptions = buildUnnamed5935(); + o.createdAssignedTargetingOptions = buildUnnamed6001(); } buildCounterBulkEditPartnerAssignedTargetingOptionsResponse--; return o; @@ -1622,28 +1628,28 @@ void checkBulkEditPartnerAssignedTargetingOptionsResponse( api.BulkEditPartnerAssignedTargetingOptionsResponse o) { buildCounterBulkEditPartnerAssignedTargetingOptionsResponse++; if (buildCounterBulkEditPartnerAssignedTargetingOptionsResponse < 3) { - checkUnnamed5935(o.createdAssignedTargetingOptions!); + checkUnnamed6001(o.createdAssignedTargetingOptions!); } buildCounterBulkEditPartnerAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5936() => [ +core.List buildUnnamed6002() => [ buildSite(), buildSite(), ]; -void checkUnnamed5936(core.List o) { +void checkUnnamed6002(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); } -core.List buildUnnamed5937() => [ +core.List buildUnnamed6003() => [ 'foo', 'foo', ]; -void checkUnnamed5937(core.List o) { +void checkUnnamed6003(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1661,8 +1667,8 @@ api.BulkEditSitesRequest buildBulkEditSitesRequest() { buildCounterBulkEditSitesRequest++; if (buildCounterBulkEditSitesRequest < 3) { o.advertiserId = 'foo'; - o.createdSites = buildUnnamed5936(); - o.deletedSites = buildUnnamed5937(); + o.createdSites = buildUnnamed6002(); + o.deletedSites = buildUnnamed6003(); o.partnerId = 'foo'; } buildCounterBulkEditSitesRequest--; @@ -1676,8 +1682,8 @@ void checkBulkEditSitesRequest(api.BulkEditSitesRequest o) { o.advertiserId!, unittest.equals('foo'), ); - checkUnnamed5936(o.createdSites!); - checkUnnamed5937(o.deletedSites!); + checkUnnamed6002(o.createdSites!); + checkUnnamed6003(o.deletedSites!); unittest.expect( o.partnerId!, unittest.equals('foo'), @@ -1686,12 +1692,12 @@ void checkBulkEditSitesRequest(api.BulkEditSitesRequest o) { buildCounterBulkEditSitesRequest--; } -core.List buildUnnamed5938() => [ +core.List buildUnnamed6004() => [ buildSite(), buildSite(), ]; -void checkUnnamed5938(core.List o) { +void checkUnnamed6004(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -1702,7 +1708,7 @@ api.BulkEditSitesResponse buildBulkEditSitesResponse() { final o = api.BulkEditSitesResponse(); buildCounterBulkEditSitesResponse++; if (buildCounterBulkEditSitesResponse < 3) { - o.sites = buildUnnamed5938(); + o.sites = buildUnnamed6004(); } buildCounterBulkEditSitesResponse--; return o; @@ -1711,17 +1717,17 @@ api.BulkEditSitesResponse buildBulkEditSitesResponse() { void checkBulkEditSitesResponse(api.BulkEditSitesResponse o) { buildCounterBulkEditSitesResponse++; if (buildCounterBulkEditSitesResponse < 3) { - checkUnnamed5938(o.sites!); + checkUnnamed6004(o.sites!); } buildCounterBulkEditSitesResponse--; } -core.List buildUnnamed5939() => [ +core.List buildUnnamed6005() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5939(core.List o) { +void checkUnnamed6005(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1733,7 +1739,7 @@ api.BulkListAdvertiserAssignedTargetingOptionsResponse final o = api.BulkListAdvertiserAssignedTargetingOptionsResponse(); buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse++; if (buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5939(); + o.assignedTargetingOptions = buildUnnamed6005(); o.nextPageToken = 'foo'; } buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse--; @@ -1744,7 +1750,7 @@ void checkBulkListAdvertiserAssignedTargetingOptionsResponse( api.BulkListAdvertiserAssignedTargetingOptionsResponse o) { buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse++; if (buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse < 3) { - checkUnnamed5939(o.assignedTargetingOptions!); + checkUnnamed6005(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1753,12 +1759,12 @@ void checkBulkListAdvertiserAssignedTargetingOptionsResponse( buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5940() => [ +core.List buildUnnamed6006() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5940(core.List o) { +void checkUnnamed6006(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1770,7 +1776,7 @@ api.BulkListCampaignAssignedTargetingOptionsResponse final o = api.BulkListCampaignAssignedTargetingOptionsResponse(); buildCounterBulkListCampaignAssignedTargetingOptionsResponse++; if (buildCounterBulkListCampaignAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5940(); + o.assignedTargetingOptions = buildUnnamed6006(); o.nextPageToken = 'foo'; } buildCounterBulkListCampaignAssignedTargetingOptionsResponse--; @@ -1781,7 +1787,7 @@ void checkBulkListCampaignAssignedTargetingOptionsResponse( api.BulkListCampaignAssignedTargetingOptionsResponse o) { buildCounterBulkListCampaignAssignedTargetingOptionsResponse++; if (buildCounterBulkListCampaignAssignedTargetingOptionsResponse < 3) { - checkUnnamed5940(o.assignedTargetingOptions!); + checkUnnamed6006(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1790,12 +1796,12 @@ void checkBulkListCampaignAssignedTargetingOptionsResponse( buildCounterBulkListCampaignAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5941() => [ +core.List buildUnnamed6007() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5941(core.List o) { +void checkUnnamed6007(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1807,7 +1813,7 @@ api.BulkListInsertionOrderAssignedTargetingOptionsResponse final o = api.BulkListInsertionOrderAssignedTargetingOptionsResponse(); buildCounterBulkListInsertionOrderAssignedTargetingOptionsResponse++; if (buildCounterBulkListInsertionOrderAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5941(); + o.assignedTargetingOptions = buildUnnamed6007(); o.nextPageToken = 'foo'; } buildCounterBulkListInsertionOrderAssignedTargetingOptionsResponse--; @@ -1818,7 +1824,7 @@ void checkBulkListInsertionOrderAssignedTargetingOptionsResponse( api.BulkListInsertionOrderAssignedTargetingOptionsResponse o) { buildCounterBulkListInsertionOrderAssignedTargetingOptionsResponse++; if (buildCounterBulkListInsertionOrderAssignedTargetingOptionsResponse < 3) { - checkUnnamed5941(o.assignedTargetingOptions!); + checkUnnamed6007(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1827,12 +1833,12 @@ void checkBulkListInsertionOrderAssignedTargetingOptionsResponse( buildCounterBulkListInsertionOrderAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5942() => [ +core.List buildUnnamed6008() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5942(core.List o) { +void checkUnnamed6008(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -1844,7 +1850,7 @@ api.BulkListLineItemAssignedTargetingOptionsResponse final o = api.BulkListLineItemAssignedTargetingOptionsResponse(); buildCounterBulkListLineItemAssignedTargetingOptionsResponse++; if (buildCounterBulkListLineItemAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5942(); + o.assignedTargetingOptions = buildUnnamed6008(); o.nextPageToken = 'foo'; } buildCounterBulkListLineItemAssignedTargetingOptionsResponse--; @@ -1855,7 +1861,7 @@ void checkBulkListLineItemAssignedTargetingOptionsResponse( api.BulkListLineItemAssignedTargetingOptionsResponse o) { buildCounterBulkListLineItemAssignedTargetingOptionsResponse++; if (buildCounterBulkListLineItemAssignedTargetingOptionsResponse < 3) { - checkUnnamed5942(o.assignedTargetingOptions!); + checkUnnamed6008(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1864,12 +1870,112 @@ void checkBulkListLineItemAssignedTargetingOptionsResponse( buildCounterBulkListLineItemAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5943() => [ +core.int buildCounterBusinessChainAssignedTargetingOptionDetails = 0; +api.BusinessChainAssignedTargetingOptionDetails + buildBusinessChainAssignedTargetingOptionDetails() { + final o = api.BusinessChainAssignedTargetingOptionDetails(); + buildCounterBusinessChainAssignedTargetingOptionDetails++; + if (buildCounterBusinessChainAssignedTargetingOptionDetails < 3) { + o.displayName = 'foo'; + o.proximityRadiusAmount = 42.0; + o.proximityRadiusUnit = 'foo'; + o.targetingOptionId = 'foo'; + } + buildCounterBusinessChainAssignedTargetingOptionDetails--; + return o; +} + +void checkBusinessChainAssignedTargetingOptionDetails( + api.BusinessChainAssignedTargetingOptionDetails o) { + buildCounterBusinessChainAssignedTargetingOptionDetails++; + if (buildCounterBusinessChainAssignedTargetingOptionDetails < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.proximityRadiusAmount!, + unittest.equals(42.0), + ); + unittest.expect( + o.proximityRadiusUnit!, + unittest.equals('foo'), + ); + unittest.expect( + o.targetingOptionId!, + unittest.equals('foo'), + ); + } + buildCounterBusinessChainAssignedTargetingOptionDetails--; +} + +core.int buildCounterBusinessChainSearchTerms = 0; +api.BusinessChainSearchTerms buildBusinessChainSearchTerms() { + final o = api.BusinessChainSearchTerms(); + buildCounterBusinessChainSearchTerms++; + if (buildCounterBusinessChainSearchTerms < 3) { + o.businessChain = 'foo'; + o.region = 'foo'; + } + buildCounterBusinessChainSearchTerms--; + return o; +} + +void checkBusinessChainSearchTerms(api.BusinessChainSearchTerms o) { + buildCounterBusinessChainSearchTerms++; + if (buildCounterBusinessChainSearchTerms < 3) { + unittest.expect( + o.businessChain!, + unittest.equals('foo'), + ); + unittest.expect( + o.region!, + unittest.equals('foo'), + ); + } + buildCounterBusinessChainSearchTerms--; +} + +core.int buildCounterBusinessChainTargetingOptionDetails = 0; +api.BusinessChainTargetingOptionDetails + buildBusinessChainTargetingOptionDetails() { + final o = api.BusinessChainTargetingOptionDetails(); + buildCounterBusinessChainTargetingOptionDetails++; + if (buildCounterBusinessChainTargetingOptionDetails < 3) { + o.businessChain = 'foo'; + o.geoRegion = 'foo'; + o.geoRegionType = 'foo'; + } + buildCounterBusinessChainTargetingOptionDetails--; + return o; +} + +void checkBusinessChainTargetingOptionDetails( + api.BusinessChainTargetingOptionDetails o) { + buildCounterBusinessChainTargetingOptionDetails++; + if (buildCounterBusinessChainTargetingOptionDetails < 3) { + unittest.expect( + o.businessChain!, + unittest.equals('foo'), + ); + unittest.expect( + o.geoRegion!, + unittest.equals('foo'), + ); + unittest.expect( + o.geoRegionType!, + unittest.equals('foo'), + ); + } + buildCounterBusinessChainTargetingOptionDetails--; +} + +core.List buildUnnamed6009() => [ buildCampaignBudget(), buildCampaignBudget(), ]; -void checkUnnamed5943(core.List o) { +void checkUnnamed6009(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCampaignBudget(o[0]); checkCampaignBudget(o[1]); @@ -1881,7 +1987,7 @@ api.Campaign buildCampaign() { buildCounterCampaign++; if (buildCounterCampaign < 3) { o.advertiserId = 'foo'; - o.campaignBudgets = buildUnnamed5943(); + o.campaignBudgets = buildUnnamed6009(); o.campaignFlight = buildCampaignFlight(); o.campaignGoal = buildCampaignGoal(); o.campaignId = 'foo'; @@ -1902,7 +2008,7 @@ void checkCampaign(api.Campaign o) { o.advertiserId!, unittest.equals('foo'), ); - checkUnnamed5943(o.campaignBudgets!); + checkUnnamed6009(o.campaignBudgets!); checkCampaignFlight(o.campaignFlight!); checkCampaignGoal(o.campaignGoal!); unittest.expect( @@ -2225,12 +2331,12 @@ void checkChannelAssignedTargetingOptionDetails( buildCounterChannelAssignedTargetingOptionDetails--; } -core.List buildUnnamed5944() => [ +core.List buildUnnamed6010() => [ 'foo', 'foo', ]; -void checkUnnamed5944(core.List o) { +void checkUnnamed6010(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2250,7 +2356,7 @@ api.CmHybridConfig buildCmHybridConfig() { o.cmAccountId = 'foo'; o.cmFloodlightConfigId = 'foo'; o.cmFloodlightLinkingAuthorized = true; - o.cmSyncableSiteIds = buildUnnamed5944(); + o.cmSyncableSiteIds = buildUnnamed6010(); o.dv360ToCmCostReportingEnabled = true; o.dv360ToCmDataSharingEnabled = true; } @@ -2270,7 +2376,7 @@ void checkCmHybridConfig(api.CmHybridConfig o) { unittest.equals('foo'), ); unittest.expect(o.cmFloodlightLinkingAuthorized!, unittest.isTrue); - checkUnnamed5944(o.cmSyncableSiteIds!); + checkUnnamed6010(o.cmSyncableSiteIds!); unittest.expect(o.dv360ToCmCostReportingEnabled!, unittest.isTrue); unittest.expect(o.dv360ToCmDataSharingEnabled!, unittest.isTrue); } @@ -2341,12 +2447,12 @@ void checkCombinedAudience(api.CombinedAudience o) { buildCounterCombinedAudience--; } -core.List buildUnnamed5945() => [ +core.List buildUnnamed6011() => [ buildCombinedAudienceTargetingSetting(), buildCombinedAudienceTargetingSetting(), ]; -void checkUnnamed5945(core.List o) { +void checkUnnamed6011(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCombinedAudienceTargetingSetting(o[0]); checkCombinedAudienceTargetingSetting(o[1]); @@ -2357,7 +2463,7 @@ api.CombinedAudienceGroup buildCombinedAudienceGroup() { final o = api.CombinedAudienceGroup(); buildCounterCombinedAudienceGroup++; if (buildCounterCombinedAudienceGroup < 3) { - o.settings = buildUnnamed5945(); + o.settings = buildUnnamed6011(); } buildCounterCombinedAudienceGroup--; return o; @@ -2366,7 +2472,7 @@ api.CombinedAudienceGroup buildCombinedAudienceGroup() { void checkCombinedAudienceGroup(api.CombinedAudienceGroup o) { buildCounterCombinedAudienceGroup++; if (buildCounterCombinedAudienceGroup < 3) { - checkUnnamed5945(o.settings!); + checkUnnamed6011(o.settings!); } buildCounterCombinedAudienceGroup--; } @@ -2510,12 +2616,12 @@ void checkContentOutstreamPositionTargetingOptionDetails( buildCounterContentOutstreamPositionTargetingOptionDetails--; } -core.List buildUnnamed5946() => [ +core.List buildUnnamed6012() => [ buildTrackingFloodlightActivityConfig(), buildTrackingFloodlightActivityConfig(), ]; -void checkUnnamed5946(core.List o) { +void checkUnnamed6012(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrackingFloodlightActivityConfig(o[0]); checkTrackingFloodlightActivityConfig(o[1]); @@ -2526,7 +2632,7 @@ api.ConversionCountingConfig buildConversionCountingConfig() { final o = api.ConversionCountingConfig(); buildCounterConversionCountingConfig++; if (buildCounterConversionCountingConfig < 3) { - o.floodlightActivityConfigs = buildUnnamed5946(); + o.floodlightActivityConfigs = buildUnnamed6012(); o.postViewCountPercentageMillis = 'foo'; } buildCounterConversionCountingConfig--; @@ -2536,7 +2642,7 @@ api.ConversionCountingConfig buildConversionCountingConfig() { void checkConversionCountingConfig(api.ConversionCountingConfig o) { buildCounterConversionCountingConfig++; if (buildCounterConversionCountingConfig < 3) { - checkUnnamed5946(o.floodlightActivityConfigs!); + checkUnnamed6012(o.floodlightActivityConfigs!); unittest.expect( o.postViewCountPercentageMillis!, unittest.equals('foo'), @@ -2613,12 +2719,12 @@ void checkCreateAssetResponse(api.CreateAssetResponse o) { buildCounterCreateAssetResponse--; } -core.List buildUnnamed5947() => [ +core.List buildUnnamed6013() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5947(core.List o) { +void checkUnnamed6013(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -2630,7 +2736,7 @@ api.CreateAssignedTargetingOptionsRequest final o = api.CreateAssignedTargetingOptionsRequest(); buildCounterCreateAssignedTargetingOptionsRequest++; if (buildCounterCreateAssignedTargetingOptionsRequest < 3) { - o.assignedTargetingOptions = buildUnnamed5947(); + o.assignedTargetingOptions = buildUnnamed6013(); o.targetingType = 'foo'; } buildCounterCreateAssignedTargetingOptionsRequest--; @@ -2641,7 +2747,7 @@ void checkCreateAssignedTargetingOptionsRequest( api.CreateAssignedTargetingOptionsRequest o) { buildCounterCreateAssignedTargetingOptionsRequest++; if (buildCounterCreateAssignedTargetingOptionsRequest < 3) { - checkUnnamed5947(o.assignedTargetingOptions!); + checkUnnamed6013(o.assignedTargetingOptions!); unittest.expect( o.targetingType!, unittest.equals('foo'), @@ -2688,34 +2794,34 @@ void checkCreateSdfDownloadTaskRequest(api.CreateSdfDownloadTaskRequest o) { buildCounterCreateSdfDownloadTaskRequest--; } -core.List buildUnnamed5948() => [ +core.List buildUnnamed6014() => [ buildDimensions(), buildDimensions(), ]; -void checkUnnamed5948(core.List o) { +void checkUnnamed6014(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensions(o[0]); checkDimensions(o[1]); } -core.List buildUnnamed5949() => [ +core.List buildUnnamed6015() => [ buildAssetAssociation(), buildAssetAssociation(), ]; -void checkUnnamed5949(core.List o) { +void checkUnnamed6015(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssetAssociation(o[0]); checkAssetAssociation(o[1]); } -core.List buildUnnamed5950() => [ +core.List buildUnnamed6016() => [ 'foo', 'foo', ]; -void checkUnnamed5950(core.List o) { +void checkUnnamed6016(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2727,23 +2833,23 @@ void checkUnnamed5950(core.List o) { ); } -core.List buildUnnamed5951() => [ +core.List buildUnnamed6017() => [ buildCounterEvent(), buildCounterEvent(), ]; -void checkUnnamed5951(core.List o) { +void checkUnnamed6017(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCounterEvent(o[0]); checkCounterEvent(o[1]); } -core.List buildUnnamed5952() => [ +core.List buildUnnamed6018() => [ 'foo', 'foo', ]; -void checkUnnamed5952(core.List o) { +void checkUnnamed6018(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2755,23 +2861,23 @@ void checkUnnamed5952(core.List o) { ); } -core.List buildUnnamed5953() => [ +core.List buildUnnamed6019() => [ buildExitEvent(), buildExitEvent(), ]; -void checkUnnamed5953(core.List o) { +void checkUnnamed6019(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExitEvent(o[0]); checkExitEvent(o[1]); } -core.List buildUnnamed5954() => [ +core.List buildUnnamed6020() => [ 'foo', 'foo', ]; -void checkUnnamed5954(core.List o) { +void checkUnnamed6020(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2783,34 +2889,34 @@ void checkUnnamed5954(core.List o) { ); } -core.List buildUnnamed5955() => [ +core.List buildUnnamed6021() => [ buildThirdPartyUrl(), buildThirdPartyUrl(), ]; -void checkUnnamed5955(core.List o) { +void checkUnnamed6021(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThirdPartyUrl(o[0]); checkThirdPartyUrl(o[1]); } -core.List buildUnnamed5956() => [ +core.List buildUnnamed6022() => [ buildTimerEvent(), buildTimerEvent(), ]; -void checkUnnamed5956(core.List o) { +void checkUnnamed6022(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimerEvent(o[0]); checkTimerEvent(o[1]); } -core.List buildUnnamed5957() => [ +core.List buildUnnamed6023() => [ 'foo', 'foo', ]; -void checkUnnamed5957(core.List o) { +void checkUnnamed6023(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2822,12 +2928,12 @@ void checkUnnamed5957(core.List o) { ); } -core.List buildUnnamed5958() => [ +core.List buildUnnamed6024() => [ buildTranscode(), buildTranscode(), ]; -void checkUnnamed5958(core.List o) { +void checkUnnamed6024(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTranscode(o[0]); checkTranscode(o[1]); @@ -2838,23 +2944,23 @@ api.Creative buildCreative() { final o = api.Creative(); buildCounterCreative++; if (buildCounterCreative < 3) { - o.additionalDimensions = buildUnnamed5948(); + o.additionalDimensions = buildUnnamed6014(); o.advertiserId = 'foo'; o.appendedTag = 'foo'; - o.assets = buildUnnamed5949(); + o.assets = buildUnnamed6015(); o.cmPlacementId = 'foo'; o.cmTrackingAd = buildCmTrackingAd(); - o.companionCreativeIds = buildUnnamed5950(); - o.counterEvents = buildUnnamed5951(); + o.companionCreativeIds = buildUnnamed6016(); + o.counterEvents = buildUnnamed6017(); o.createTime = 'foo'; - o.creativeAttributes = buildUnnamed5952(); + o.creativeAttributes = buildUnnamed6018(); o.creativeId = 'foo'; o.creativeType = 'foo'; o.dimensions = buildDimensions(); o.displayName = 'foo'; o.dynamic = true; o.entityStatus = 'foo'; - o.exitEvents = buildUnnamed5953(); + o.exitEvents = buildUnnamed6019(); o.expandOnHover = true; o.expandingDirection = 'foo'; o.hostingSource = 'foo'; @@ -2862,7 +2968,7 @@ api.Creative buildCreative() { o.iasCampaignMonitoring = true; o.integrationCode = 'foo'; o.jsTrackerUrl = 'foo'; - o.lineItemIds = buildUnnamed5954(); + o.lineItemIds = buildUnnamed6020(); o.mediaDuration = 'foo'; o.mp3Audio = true; o.name = 'foo'; @@ -2877,10 +2983,10 @@ api.Creative buildCreative() { o.skipOffset = buildAudioVideoOffset(); o.skippable = true; o.thirdPartyTag = 'foo'; - o.thirdPartyUrls = buildUnnamed5955(); - o.timerEvents = buildUnnamed5956(); - o.trackerUrls = buildUnnamed5957(); - o.transcodes = buildUnnamed5958(); + o.thirdPartyUrls = buildUnnamed6021(); + o.timerEvents = buildUnnamed6022(); + o.trackerUrls = buildUnnamed6023(); + o.transcodes = buildUnnamed6024(); o.universalAdId = buildUniversalAdId(); o.updateTime = 'foo'; o.vastTagUrl = 'foo'; @@ -2893,7 +2999,7 @@ api.Creative buildCreative() { void checkCreative(api.Creative o) { buildCounterCreative++; if (buildCounterCreative < 3) { - checkUnnamed5948(o.additionalDimensions!); + checkUnnamed6014(o.additionalDimensions!); unittest.expect( o.advertiserId!, unittest.equals('foo'), @@ -2902,19 +3008,19 @@ void checkCreative(api.Creative o) { o.appendedTag!, unittest.equals('foo'), ); - checkUnnamed5949(o.assets!); + checkUnnamed6015(o.assets!); unittest.expect( o.cmPlacementId!, unittest.equals('foo'), ); checkCmTrackingAd(o.cmTrackingAd!); - checkUnnamed5950(o.companionCreativeIds!); - checkUnnamed5951(o.counterEvents!); + checkUnnamed6016(o.companionCreativeIds!); + checkUnnamed6017(o.counterEvents!); unittest.expect( o.createTime!, unittest.equals('foo'), ); - checkUnnamed5952(o.creativeAttributes!); + checkUnnamed6018(o.creativeAttributes!); unittest.expect( o.creativeId!, unittest.equals('foo'), @@ -2933,7 +3039,7 @@ void checkCreative(api.Creative o) { o.entityStatus!, unittest.equals('foo'), ); - checkUnnamed5953(o.exitEvents!); + checkUnnamed6019(o.exitEvents!); unittest.expect(o.expandOnHover!, unittest.isTrue); unittest.expect( o.expandingDirection!, @@ -2953,7 +3059,7 @@ void checkCreative(api.Creative o) { o.jsTrackerUrl!, unittest.equals('foo'), ); - checkUnnamed5954(o.lineItemIds!); + checkUnnamed6020(o.lineItemIds!); unittest.expect( o.mediaDuration!, unittest.equals('foo'), @@ -2980,10 +3086,10 @@ void checkCreative(api.Creative o) { o.thirdPartyTag!, unittest.equals('foo'), ); - checkUnnamed5955(o.thirdPartyUrls!); - checkUnnamed5956(o.timerEvents!); - checkUnnamed5957(o.trackerUrls!); - checkUnnamed5958(o.transcodes!); + checkUnnamed6021(o.thirdPartyUrls!); + checkUnnamed6022(o.timerEvents!); + checkUnnamed6023(o.trackerUrls!); + checkUnnamed6024(o.transcodes!); checkUniversalAdId(o.universalAdId!); unittest.expect( o.updateTime!, @@ -3024,6 +3130,23 @@ void checkCreativeConfig(api.CreativeConfig o) { buildCounterCreativeConfig--; } +core.List buildUnnamed6025() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed6025(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterCustomBiddingAlgorithm = 0; api.CustomBiddingAlgorithm buildCustomBiddingAlgorithm() { final o = api.CustomBiddingAlgorithm(); @@ -3031,11 +3154,13 @@ api.CustomBiddingAlgorithm buildCustomBiddingAlgorithm() { if (buildCounterCustomBiddingAlgorithm < 3) { o.advertiserId = 'foo'; o.customBiddingAlgorithmId = 'foo'; + o.customBiddingAlgorithmState = 'foo'; o.customBiddingAlgorithmType = 'foo'; o.displayName = 'foo'; o.entityStatus = 'foo'; o.name = 'foo'; o.partnerId = 'foo'; + o.sharedAdvertiserIds = buildUnnamed6025(); } buildCounterCustomBiddingAlgorithm--; return o; @@ -3052,6 +3177,10 @@ void checkCustomBiddingAlgorithm(api.CustomBiddingAlgorithm o) { o.customBiddingAlgorithmId!, unittest.equals('foo'), ); + unittest.expect( + o.customBiddingAlgorithmState!, + unittest.equals('foo'), + ); unittest.expect( o.customBiddingAlgorithmType!, unittest.equals('foo'), @@ -3072,6 +3201,7 @@ void checkCustomBiddingAlgorithm(api.CustomBiddingAlgorithm o) { o.partnerId!, unittest.equals('foo'), ); + checkUnnamed6025(o.sharedAdvertiserIds!); } buildCounterCustomBiddingAlgorithm--; } @@ -3108,12 +3238,12 @@ void checkCustomList(api.CustomList o) { buildCounterCustomList--; } -core.List buildUnnamed5959() => [ +core.List buildUnnamed6026() => [ buildCustomListTargetingSetting(), buildCustomListTargetingSetting(), ]; -void checkUnnamed5959(core.List o) { +void checkUnnamed6026(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomListTargetingSetting(o[0]); checkCustomListTargetingSetting(o[1]); @@ -3124,7 +3254,7 @@ api.CustomListGroup buildCustomListGroup() { final o = api.CustomListGroup(); buildCounterCustomListGroup++; if (buildCounterCustomListGroup < 3) { - o.settings = buildUnnamed5959(); + o.settings = buildUnnamed6026(); } buildCounterCustomListGroup--; return o; @@ -3133,7 +3263,7 @@ api.CustomListGroup buildCustomListGroup() { void checkCustomListGroup(api.CustomListGroup o) { buildCounterCustomListGroup++; if (buildCounterCustomListGroup < 3) { - checkUnnamed5959(o.settings!); + checkUnnamed6026(o.settings!); } buildCounterCustomListGroup--; } @@ -3267,12 +3397,12 @@ void checkDeactivateManualTriggerRequest(api.DeactivateManualTriggerRequest o) { buildCounterDeactivateManualTriggerRequest--; } -core.List buildUnnamed5960() => [ +core.List buildUnnamed6027() => [ 'foo', 'foo', ]; -void checkUnnamed5960(core.List o) { +void checkUnnamed6027(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3290,7 +3420,7 @@ api.DeleteAssignedTargetingOptionsRequest final o = api.DeleteAssignedTargetingOptionsRequest(); buildCounterDeleteAssignedTargetingOptionsRequest++; if (buildCounterDeleteAssignedTargetingOptionsRequest < 3) { - o.assignedTargetingOptionIds = buildUnnamed5960(); + o.assignedTargetingOptionIds = buildUnnamed6027(); o.targetingType = 'foo'; } buildCounterDeleteAssignedTargetingOptionsRequest--; @@ -3301,7 +3431,7 @@ void checkDeleteAssignedTargetingOptionsRequest( api.DeleteAssignedTargetingOptionsRequest o) { buildCounterDeleteAssignedTargetingOptionsRequest++; if (buildCounterDeleteAssignedTargetingOptionsRequest < 3) { - checkUnnamed5960(o.assignedTargetingOptionIds!); + checkUnnamed6027(o.assignedTargetingOptionIds!); unittest.expect( o.targetingType!, unittest.equals('foo'), @@ -3497,12 +3627,12 @@ void checkDimensions(api.Dimensions o) { buildCounterDimensions--; } -core.List buildUnnamed5961() => [ +core.List buildUnnamed6028() => [ 'foo', 'foo', ]; -void checkUnnamed5961(core.List o) { +void checkUnnamed6028(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3520,7 +3650,7 @@ api.DoubleVerify buildDoubleVerify() { buildCounterDoubleVerify++; if (buildCounterDoubleVerify < 3) { o.appStarRating = buildDoubleVerifyAppStarRating(); - o.avoidedAgeRatings = buildUnnamed5961(); + o.avoidedAgeRatings = buildUnnamed6028(); o.brandSafetyCategories = buildDoubleVerifyBrandSafetyCategories(); o.customSegmentId = 'foo'; o.displayViewability = buildDoubleVerifyDisplayViewability(); @@ -3535,7 +3665,7 @@ void checkDoubleVerify(api.DoubleVerify o) { buildCounterDoubleVerify++; if (buildCounterDoubleVerify < 3) { checkDoubleVerifyAppStarRating(o.appStarRating!); - checkUnnamed5961(o.avoidedAgeRatings!); + checkUnnamed6028(o.avoidedAgeRatings!); checkDoubleVerifyBrandSafetyCategories(o.brandSafetyCategories!); unittest.expect( o.customSegmentId!, @@ -3572,12 +3702,12 @@ void checkDoubleVerifyAppStarRating(api.DoubleVerifyAppStarRating o) { buildCounterDoubleVerifyAppStarRating--; } -core.List buildUnnamed5962() => [ +core.List buildUnnamed6029() => [ 'foo', 'foo', ]; -void checkUnnamed5962(core.List o) { +void checkUnnamed6029(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3589,12 +3719,12 @@ void checkUnnamed5962(core.List o) { ); } -core.List buildUnnamed5963() => [ +core.List buildUnnamed6030() => [ 'foo', 'foo', ]; -void checkUnnamed5963(core.List o) { +void checkUnnamed6030(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3612,8 +3742,8 @@ api.DoubleVerifyBrandSafetyCategories buildDoubleVerifyBrandSafetyCategories() { buildCounterDoubleVerifyBrandSafetyCategories++; if (buildCounterDoubleVerifyBrandSafetyCategories < 3) { o.avoidUnknownBrandSafetyCategory = true; - o.avoidedHighSeverityCategories = buildUnnamed5962(); - o.avoidedMediumSeverityCategories = buildUnnamed5963(); + o.avoidedHighSeverityCategories = buildUnnamed6029(); + o.avoidedMediumSeverityCategories = buildUnnamed6030(); } buildCounterDoubleVerifyBrandSafetyCategories--; return o; @@ -3624,8 +3754,8 @@ void checkDoubleVerifyBrandSafetyCategories( buildCounterDoubleVerifyBrandSafetyCategories++; if (buildCounterDoubleVerifyBrandSafetyCategories < 3) { unittest.expect(o.avoidUnknownBrandSafetyCategory!, unittest.isTrue); - checkUnnamed5962(o.avoidedHighSeverityCategories!); - checkUnnamed5963(o.avoidedMediumSeverityCategories!); + checkUnnamed6029(o.avoidedHighSeverityCategories!); + checkUnnamed6030(o.avoidedMediumSeverityCategories!); } buildCounterDoubleVerifyBrandSafetyCategories--; } @@ -3805,12 +3935,12 @@ void checkExchangeAssignedTargetingOptionDetails( buildCounterExchangeAssignedTargetingOptionDetails--; } -core.List buildUnnamed5964() => [ +core.List buildUnnamed6031() => [ buildExchangeConfigEnabledExchange(), buildExchangeConfigEnabledExchange(), ]; -void checkUnnamed5964(core.List o) { +void checkUnnamed6031(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExchangeConfigEnabledExchange(o[0]); checkExchangeConfigEnabledExchange(o[1]); @@ -3821,7 +3951,7 @@ api.ExchangeConfig buildExchangeConfig() { final o = api.ExchangeConfig(); buildCounterExchangeConfig++; if (buildCounterExchangeConfig < 3) { - o.enabledExchanges = buildUnnamed5964(); + o.enabledExchanges = buildUnnamed6031(); } buildCounterExchangeConfig--; return o; @@ -3830,7 +3960,7 @@ api.ExchangeConfig buildExchangeConfig() { void checkExchangeConfig(api.ExchangeConfig o) { buildCounterExchangeConfig++; if (buildCounterExchangeConfig < 3) { - checkUnnamed5964(o.enabledExchanges!); + checkUnnamed6031(o.enabledExchanges!); } buildCounterExchangeConfig--; } @@ -4050,13 +4180,13 @@ void checkFirstAndThirdPartyAudience(api.FirstAndThirdPartyAudience o) { buildCounterFirstAndThirdPartyAudience--; } -core.List buildUnnamed5965() => +core.List buildUnnamed6032() => [ buildFirstAndThirdPartyAudienceTargetingSetting(), buildFirstAndThirdPartyAudienceTargetingSetting(), ]; -void checkUnnamed5965( +void checkUnnamed6032( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirstAndThirdPartyAudienceTargetingSetting(o[0]); @@ -4068,7 +4198,7 @@ api.FirstAndThirdPartyAudienceGroup buildFirstAndThirdPartyAudienceGroup() { final o = api.FirstAndThirdPartyAudienceGroup(); buildCounterFirstAndThirdPartyAudienceGroup++; if (buildCounterFirstAndThirdPartyAudienceGroup < 3) { - o.settings = buildUnnamed5965(); + o.settings = buildUnnamed6032(); } buildCounterFirstAndThirdPartyAudienceGroup--; return o; @@ -4078,7 +4208,7 @@ void checkFirstAndThirdPartyAudienceGroup( api.FirstAndThirdPartyAudienceGroup o) { buildCounterFirstAndThirdPartyAudienceGroup++; if (buildCounterFirstAndThirdPartyAudienceGroup < 3) { - checkUnnamed5965(o.settings!); + checkUnnamed6032(o.settings!); } buildCounterFirstAndThirdPartyAudienceGroup--; } @@ -4134,7 +4264,7 @@ void checkFixedBidStrategy(api.FixedBidStrategy o) { buildCounterFixedBidStrategy--; } -core.Map buildUnnamed5966() => { +core.Map buildUnnamed6033() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4147,7 +4277,7 @@ core.Map buildUnnamed5966() => { }, }; -void checkUnnamed5966(core.Map o) { +void checkUnnamed6033(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -4185,7 +4315,7 @@ api.FloodlightGroup buildFloodlightGroup() { buildCounterFloodlightGroup++; if (buildCounterFloodlightGroup < 3) { o.activeViewConfig = buildActiveViewVideoViewabilityMetricConfig(); - o.customVariables = buildUnnamed5966(); + o.customVariables = buildUnnamed6033(); o.displayName = 'foo'; o.floodlightGroupId = 'foo'; o.lookbackWindow = buildLookbackWindow(); @@ -4200,7 +4330,7 @@ void checkFloodlightGroup(api.FloodlightGroup o) { buildCounterFloodlightGroup++; if (buildCounterFloodlightGroup < 3) { checkActiveViewVideoViewabilityMetricConfig(o.activeViewConfig!); - checkUnnamed5966(o.customVariables!); + checkUnnamed6033(o.customVariables!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -4464,12 +4594,12 @@ void checkGoogleAudience(api.GoogleAudience o) { buildCounterGoogleAudience--; } -core.List buildUnnamed5967() => [ +core.List buildUnnamed6034() => [ buildGoogleAudienceTargetingSetting(), buildGoogleAudienceTargetingSetting(), ]; -void checkUnnamed5967(core.List o) { +void checkUnnamed6034(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAudienceTargetingSetting(o[0]); checkGoogleAudienceTargetingSetting(o[1]); @@ -4480,7 +4610,7 @@ api.GoogleAudienceGroup buildGoogleAudienceGroup() { final o = api.GoogleAudienceGroup(); buildCounterGoogleAudienceGroup++; if (buildCounterGoogleAudienceGroup < 3) { - o.settings = buildUnnamed5967(); + o.settings = buildUnnamed6034(); } buildCounterGoogleAudienceGroup--; return o; @@ -4489,7 +4619,7 @@ api.GoogleAudienceGroup buildGoogleAudienceGroup() { void checkGoogleAudienceGroup(api.GoogleAudienceGroup o) { buildCounterGoogleAudienceGroup++; if (buildCounterGoogleAudienceGroup < 3) { - checkUnnamed5967(o.settings!); + checkUnnamed6034(o.settings!); } buildCounterGoogleAudienceGroup--; } @@ -4591,12 +4721,12 @@ void checkHouseholdIncomeTargetingOptionDetails( buildCounterHouseholdIncomeTargetingOptionDetails--; } -core.List buildUnnamed5968() => [ +core.List buildUnnamed6035() => [ 'foo', 'foo', ]; -void checkUnnamed5968(core.List o) { +void checkUnnamed6035(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4608,12 +4738,12 @@ void checkUnnamed5968(core.List o) { ); } -core.List buildUnnamed5969() => [ +core.List buildUnnamed6036() => [ 'foo', 'foo', ]; -void checkUnnamed5969(core.List o) { +void checkUnnamed6036(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4625,12 +4755,12 @@ void checkUnnamed5969(core.List o) { ); } -core.List buildUnnamed5970() => [ +core.List buildUnnamed6037() => [ 'foo', 'foo', ]; -void checkUnnamed5970(core.List o) { +void checkUnnamed6037(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4642,12 +4772,12 @@ void checkUnnamed5970(core.List o) { ); } -core.List buildUnnamed5971() => [ +core.List buildUnnamed6038() => [ 'foo', 'foo', ]; -void checkUnnamed5971(core.List o) { +void checkUnnamed6038(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4659,12 +4789,12 @@ void checkUnnamed5971(core.List o) { ); } -core.List buildUnnamed5972() => [ +core.List buildUnnamed6039() => [ 'foo', 'foo', ]; -void checkUnnamed5972(core.List o) { +void checkUnnamed6039(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4676,12 +4806,12 @@ void checkUnnamed5972(core.List o) { ); } -core.List buildUnnamed5973() => [ +core.List buildUnnamed6040() => [ 'foo', 'foo', ]; -void checkUnnamed5973(core.List o) { +void checkUnnamed6040(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4698,12 +4828,12 @@ api.IdFilter buildIdFilter() { final o = api.IdFilter(); buildCounterIdFilter++; if (buildCounterIdFilter < 3) { - o.adGroupAdIds = buildUnnamed5968(); - o.adGroupIds = buildUnnamed5969(); - o.campaignIds = buildUnnamed5970(); - o.insertionOrderIds = buildUnnamed5971(); - o.lineItemIds = buildUnnamed5972(); - o.mediaProductIds = buildUnnamed5973(); + o.adGroupAdIds = buildUnnamed6035(); + o.adGroupIds = buildUnnamed6036(); + o.campaignIds = buildUnnamed6037(); + o.insertionOrderIds = buildUnnamed6038(); + o.lineItemIds = buildUnnamed6039(); + o.mediaProductIds = buildUnnamed6040(); } buildCounterIdFilter--; return o; @@ -4712,22 +4842,22 @@ api.IdFilter buildIdFilter() { void checkIdFilter(api.IdFilter o) { buildCounterIdFilter++; if (buildCounterIdFilter < 3) { - checkUnnamed5968(o.adGroupAdIds!); - checkUnnamed5969(o.adGroupIds!); - checkUnnamed5970(o.campaignIds!); - checkUnnamed5971(o.insertionOrderIds!); - checkUnnamed5972(o.lineItemIds!); - checkUnnamed5973(o.mediaProductIds!); + checkUnnamed6035(o.adGroupAdIds!); + checkUnnamed6036(o.adGroupIds!); + checkUnnamed6037(o.campaignIds!); + checkUnnamed6038(o.insertionOrderIds!); + checkUnnamed6039(o.lineItemIds!); + checkUnnamed6040(o.mediaProductIds!); } buildCounterIdFilter--; } -core.List buildUnnamed5974() => [ +core.List buildUnnamed6041() => [ buildPartnerCost(), buildPartnerCost(), ]; -void checkUnnamed5974(core.List o) { +void checkUnnamed6041(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartnerCost(o[0]); checkPartnerCost(o[1]); @@ -4750,7 +4880,7 @@ api.InsertionOrder buildInsertionOrder() { o.integrationDetails = buildIntegrationDetails(); o.name = 'foo'; o.pacing = buildPacing(); - o.partnerCosts = buildUnnamed5974(); + o.partnerCosts = buildUnnamed6041(); o.performanceGoal = buildPerformanceGoal(); o.updateTime = 'foo'; } @@ -4794,7 +4924,7 @@ void checkInsertionOrder(api.InsertionOrder o) { unittest.equals('foo'), ); checkPacing(o.pacing!); - checkUnnamed5974(o.partnerCosts!); + checkUnnamed6041(o.partnerCosts!); checkPerformanceGoal(o.performanceGoal!); unittest.expect( o.updateTime!, @@ -4804,12 +4934,12 @@ void checkInsertionOrder(api.InsertionOrder o) { buildCounterInsertionOrder--; } -core.List buildUnnamed5975() => [ +core.List buildUnnamed6042() => [ buildInsertionOrderBudgetSegment(), buildInsertionOrderBudgetSegment(), ]; -void checkUnnamed5975(core.List o) { +void checkUnnamed6042(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInsertionOrderBudgetSegment(o[0]); checkInsertionOrderBudgetSegment(o[1]); @@ -4821,7 +4951,7 @@ api.InsertionOrderBudget buildInsertionOrderBudget() { buildCounterInsertionOrderBudget++; if (buildCounterInsertionOrderBudget < 3) { o.automationType = 'foo'; - o.budgetSegments = buildUnnamed5975(); + o.budgetSegments = buildUnnamed6042(); o.budgetUnit = 'foo'; } buildCounterInsertionOrderBudget--; @@ -4835,7 +4965,7 @@ void checkInsertionOrderBudget(api.InsertionOrderBudget o) { o.automationType!, unittest.equals('foo'), ); - checkUnnamed5975(o.budgetSegments!); + checkUnnamed6042(o.budgetSegments!); unittest.expect( o.budgetUnit!, unittest.equals('foo'), @@ -4878,12 +5008,12 @@ void checkInsertionOrderBudgetSegment(api.InsertionOrderBudgetSegment o) { buildCounterInsertionOrderBudgetSegment--; } -core.List buildUnnamed5976() => [ +core.List buildUnnamed6043() => [ 'foo', 'foo', ]; -void checkUnnamed5976(core.List o) { +void checkUnnamed6043(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4900,7 +5030,7 @@ api.IntegralAdScience buildIntegralAdScience() { final o = api.IntegralAdScience(); buildCounterIntegralAdScience++; if (buildCounterIntegralAdScience < 3) { - o.customSegmentId = buildUnnamed5976(); + o.customSegmentId = buildUnnamed6043(); o.displayViewability = 'foo'; o.excludeUnrateable = true; o.excludedAdFraudRisk = 'foo'; @@ -4922,7 +5052,7 @@ api.IntegralAdScience buildIntegralAdScience() { void checkIntegralAdScience(api.IntegralAdScience o) { buildCounterIntegralAdScience++; if (buildCounterIntegralAdScience < 3) { - checkUnnamed5976(o.customSegmentId!); + checkUnnamed6043(o.customSegmentId!); unittest.expect( o.displayViewability!, unittest.equals('foo'), @@ -5003,12 +5133,12 @@ void checkIntegrationDetails(api.IntegrationDetails o) { buildCounterIntegrationDetails--; } -core.List buildUnnamed5977() => [ +core.List buildUnnamed6044() => [ buildCreativeConfig(), buildCreativeConfig(), ]; -void checkUnnamed5977(core.List o) { +void checkUnnamed6044(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeConfig(o[0]); checkCreativeConfig(o[1]); @@ -5020,7 +5150,7 @@ api.InventorySource buildInventorySource() { buildCounterInventorySource++; if (buildCounterInventorySource < 3) { o.commitment = 'foo'; - o.creativeConfigs = buildUnnamed5977(); + o.creativeConfigs = buildUnnamed6044(); o.dealId = 'foo'; o.deliveryMethod = 'foo'; o.displayName = 'foo'; @@ -5045,7 +5175,7 @@ void checkInventorySource(api.InventorySource o) { o.commitment!, unittest.equals('foo'), ); - checkUnnamed5977(o.creativeConfigs!); + checkUnnamed6044(o.creativeConfigs!); unittest.expect( o.dealId!, unittest.equals('foo'), @@ -5134,12 +5264,12 @@ void checkInventorySourceDisplayCreativeConfig( buildCounterInventorySourceDisplayCreativeConfig--; } -core.List buildUnnamed5978() => [ +core.List buildUnnamed6045() => [ 'foo', 'foo', ]; -void checkUnnamed5978(core.List o) { +void checkUnnamed6045(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5156,7 +5286,7 @@ api.InventorySourceFilter buildInventorySourceFilter() { final o = api.InventorySourceFilter(); buildCounterInventorySourceFilter++; if (buildCounterInventorySourceFilter < 3) { - o.inventorySourceIds = buildUnnamed5978(); + o.inventorySourceIds = buildUnnamed6045(); } buildCounterInventorySourceFilter--; return o; @@ -5165,7 +5295,7 @@ api.InventorySourceFilter buildInventorySourceFilter() { void checkInventorySourceFilter(api.InventorySourceFilter o) { buildCounterInventorySourceFilter++; if (buildCounterInventorySourceFilter < 3) { - checkUnnamed5978(o.inventorySourceIds!); + checkUnnamed6045(o.inventorySourceIds!); } buildCounterInventorySourceFilter--; } @@ -5292,23 +5422,23 @@ void checkInventorySourceVideoCreativeConfig( buildCounterInventorySourceVideoCreativeConfig--; } -core.List buildUnnamed5979() => [ +core.List buildUnnamed6046() => [ buildBudgetSummary(), buildBudgetSummary(), ]; -void checkUnnamed5979(core.List o) { +void checkUnnamed6046(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBudgetSummary(o[0]); checkBudgetSummary(o[1]); } -core.List buildUnnamed5980() => [ +core.List buildUnnamed6047() => [ 'foo', 'foo', ]; -void checkUnnamed5980(core.List o) { +void checkUnnamed6047(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5326,7 +5456,7 @@ api.Invoice buildInvoice() { buildCounterInvoice++; if (buildCounterInvoice < 3) { o.budgetInvoiceGroupingId = 'foo'; - o.budgetSummaries = buildUnnamed5979(); + o.budgetSummaries = buildUnnamed6046(); o.correctedInvoiceId = 'foo'; o.currencyCode = 'foo'; o.displayName = 'foo'; @@ -5340,7 +5470,7 @@ api.Invoice buildInvoice() { o.paymentsProfileId = 'foo'; o.pdfUrl = 'foo'; o.purchaseOrderNumber = 'foo'; - o.replacedInvoiceIds = buildUnnamed5980(); + o.replacedInvoiceIds = buildUnnamed6047(); o.serviceDateRange = buildDateRange(); o.subtotalAmountMicros = 'foo'; o.totalAmountMicros = 'foo'; @@ -5357,7 +5487,7 @@ void checkInvoice(api.Invoice o) { o.budgetInvoiceGroupingId!, unittest.equals('foo'), ); - checkUnnamed5979(o.budgetSummaries!); + checkUnnamed6046(o.budgetSummaries!); unittest.expect( o.correctedInvoiceId!, unittest.equals('foo'), @@ -5404,7 +5534,7 @@ void checkInvoice(api.Invoice o) { o.purchaseOrderNumber!, unittest.equals('foo'), ); - checkUnnamed5980(o.replacedInvoiceIds!); + checkUnnamed6047(o.replacedInvoiceIds!); checkDateRange(o.serviceDateRange!); unittest.expect( o.subtotalAmountMicros!, @@ -5501,12 +5631,12 @@ void checkLanguageTargetingOptionDetails(api.LanguageTargetingOptionDetails o) { buildCounterLanguageTargetingOptionDetails--; } -core.List buildUnnamed5981() => [ +core.List buildUnnamed6048() => [ 'foo', 'foo', ]; -void checkUnnamed5981(core.List o) { +void checkUnnamed6048(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5518,12 +5648,12 @@ void checkUnnamed5981(core.List o) { ); } -core.List buildUnnamed5982() => [ +core.List buildUnnamed6049() => [ 'foo', 'foo', ]; -void checkUnnamed5982(core.List o) { +void checkUnnamed6049(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5535,23 +5665,23 @@ void checkUnnamed5982(core.List o) { ); } -core.List buildUnnamed5983() => [ +core.List buildUnnamed6050() => [ buildPartnerCost(), buildPartnerCost(), ]; -void checkUnnamed5983(core.List o) { +void checkUnnamed6050(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartnerCost(o[0]); checkPartnerCost(o[1]); } -core.List buildUnnamed5984() => [ +core.List buildUnnamed6051() => [ 'foo', 'foo', ]; -void checkUnnamed5984(core.List o) { +void checkUnnamed6051(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5573,24 +5703,24 @@ api.LineItem buildLineItem() { o.budget = buildLineItemBudget(); o.campaignId = 'foo'; o.conversionCounting = buildConversionCountingConfig(); - o.creativeIds = buildUnnamed5981(); + o.creativeIds = buildUnnamed6048(); o.displayName = 'foo'; o.entityStatus = 'foo'; o.flight = buildLineItemFlight(); o.frequencyCap = buildFrequencyCap(); o.insertionOrderId = 'foo'; o.integrationDetails = buildIntegrationDetails(); - o.inventorySourceIds = buildUnnamed5982(); + o.inventorySourceIds = buildUnnamed6049(); o.lineItemId = 'foo'; o.lineItemType = 'foo'; o.mobileApp = buildMobileApp(); o.name = 'foo'; o.pacing = buildPacing(); - o.partnerCosts = buildUnnamed5983(); + o.partnerCosts = buildUnnamed6050(); o.partnerRevenueModel = buildPartnerRevenueModel(); o.targetingExpansion = buildTargetingExpansionConfig(); o.updateTime = 'foo'; - o.warningMessages = buildUnnamed5984(); + o.warningMessages = buildUnnamed6051(); } buildCounterLineItem--; return o; @@ -5610,7 +5740,7 @@ void checkLineItem(api.LineItem o) { unittest.equals('foo'), ); checkConversionCountingConfig(o.conversionCounting!); - checkUnnamed5981(o.creativeIds!); + checkUnnamed6048(o.creativeIds!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -5626,7 +5756,7 @@ void checkLineItem(api.LineItem o) { unittest.equals('foo'), ); checkIntegrationDetails(o.integrationDetails!); - checkUnnamed5982(o.inventorySourceIds!); + checkUnnamed6049(o.inventorySourceIds!); unittest.expect( o.lineItemId!, unittest.equals('foo'), @@ -5641,14 +5771,14 @@ void checkLineItem(api.LineItem o) { unittest.equals('foo'), ); checkPacing(o.pacing!); - checkUnnamed5983(o.partnerCosts!); + checkUnnamed6050(o.partnerCosts!); checkPartnerRevenueModel(o.partnerRevenueModel!); checkTargetingExpansionConfig(o.targetingExpansion!); unittest.expect( o.updateTime!, unittest.equals('foo'), ); - checkUnnamed5984(o.warningMessages!); + checkUnnamed6051(o.warningMessages!); } buildCounterLineItem--; } @@ -5714,12 +5844,12 @@ void checkLineItemFlight(api.LineItemFlight o) { buildCounterLineItemFlight--; } -core.List buildUnnamed5985() => [ +core.List buildUnnamed6052() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5985(core.List o) { +void checkUnnamed6052(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -5731,7 +5861,7 @@ api.ListAdvertiserAssignedTargetingOptionsResponse final o = api.ListAdvertiserAssignedTargetingOptionsResponse(); buildCounterListAdvertiserAssignedTargetingOptionsResponse++; if (buildCounterListAdvertiserAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5985(); + o.assignedTargetingOptions = buildUnnamed6052(); o.nextPageToken = 'foo'; } buildCounterListAdvertiserAssignedTargetingOptionsResponse--; @@ -5742,7 +5872,7 @@ void checkListAdvertiserAssignedTargetingOptionsResponse( api.ListAdvertiserAssignedTargetingOptionsResponse o) { buildCounterListAdvertiserAssignedTargetingOptionsResponse++; if (buildCounterListAdvertiserAssignedTargetingOptionsResponse < 3) { - checkUnnamed5985(o.assignedTargetingOptions!); + checkUnnamed6052(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5751,12 +5881,12 @@ void checkListAdvertiserAssignedTargetingOptionsResponse( buildCounterListAdvertiserAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5986() => [ +core.List buildUnnamed6053() => [ buildAdvertiser(), buildAdvertiser(), ]; -void checkUnnamed5986(core.List o) { +void checkUnnamed6053(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvertiser(o[0]); checkAdvertiser(o[1]); @@ -5767,7 +5897,7 @@ api.ListAdvertisersResponse buildListAdvertisersResponse() { final o = api.ListAdvertisersResponse(); buildCounterListAdvertisersResponse++; if (buildCounterListAdvertisersResponse < 3) { - o.advertisers = buildUnnamed5986(); + o.advertisers = buildUnnamed6053(); o.nextPageToken = 'foo'; } buildCounterListAdvertisersResponse--; @@ -5777,7 +5907,7 @@ api.ListAdvertisersResponse buildListAdvertisersResponse() { void checkListAdvertisersResponse(api.ListAdvertisersResponse o) { buildCounterListAdvertisersResponse++; if (buildCounterListAdvertisersResponse < 3) { - checkUnnamed5986(o.advertisers!); + checkUnnamed6053(o.advertisers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5786,12 +5916,12 @@ void checkListAdvertisersResponse(api.ListAdvertisersResponse o) { buildCounterListAdvertisersResponse--; } -core.List buildUnnamed5987() => [ +core.List buildUnnamed6054() => [ buildAssignedInventorySource(), buildAssignedInventorySource(), ]; -void checkUnnamed5987(core.List o) { +void checkUnnamed6054(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedInventorySource(o[0]); checkAssignedInventorySource(o[1]); @@ -5803,7 +5933,7 @@ api.ListAssignedInventorySourcesResponse final o = api.ListAssignedInventorySourcesResponse(); buildCounterListAssignedInventorySourcesResponse++; if (buildCounterListAssignedInventorySourcesResponse < 3) { - o.assignedInventorySources = buildUnnamed5987(); + o.assignedInventorySources = buildUnnamed6054(); o.nextPageToken = 'foo'; } buildCounterListAssignedInventorySourcesResponse--; @@ -5814,7 +5944,7 @@ void checkListAssignedInventorySourcesResponse( api.ListAssignedInventorySourcesResponse o) { buildCounterListAssignedInventorySourcesResponse++; if (buildCounterListAssignedInventorySourcesResponse < 3) { - checkUnnamed5987(o.assignedInventorySources!); + checkUnnamed6054(o.assignedInventorySources!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5823,12 +5953,12 @@ void checkListAssignedInventorySourcesResponse( buildCounterListAssignedInventorySourcesResponse--; } -core.List buildUnnamed5988() => [ +core.List buildUnnamed6055() => [ buildAssignedLocation(), buildAssignedLocation(), ]; -void checkUnnamed5988(core.List o) { +void checkUnnamed6055(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedLocation(o[0]); checkAssignedLocation(o[1]); @@ -5839,7 +5969,7 @@ api.ListAssignedLocationsResponse buildListAssignedLocationsResponse() { final o = api.ListAssignedLocationsResponse(); buildCounterListAssignedLocationsResponse++; if (buildCounterListAssignedLocationsResponse < 3) { - o.assignedLocations = buildUnnamed5988(); + o.assignedLocations = buildUnnamed6055(); o.nextPageToken = 'foo'; } buildCounterListAssignedLocationsResponse--; @@ -5849,7 +5979,7 @@ api.ListAssignedLocationsResponse buildListAssignedLocationsResponse() { void checkListAssignedLocationsResponse(api.ListAssignedLocationsResponse o) { buildCounterListAssignedLocationsResponse++; if (buildCounterListAssignedLocationsResponse < 3) { - checkUnnamed5988(o.assignedLocations!); + checkUnnamed6055(o.assignedLocations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5858,12 +5988,12 @@ void checkListAssignedLocationsResponse(api.ListAssignedLocationsResponse o) { buildCounterListAssignedLocationsResponse--; } -core.List buildUnnamed5989() => [ +core.List buildUnnamed6056() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5989(core.List o) { +void checkUnnamed6056(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -5875,7 +6005,7 @@ api.ListCampaignAssignedTargetingOptionsResponse final o = api.ListCampaignAssignedTargetingOptionsResponse(); buildCounterListCampaignAssignedTargetingOptionsResponse++; if (buildCounterListCampaignAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5989(); + o.assignedTargetingOptions = buildUnnamed6056(); o.nextPageToken = 'foo'; } buildCounterListCampaignAssignedTargetingOptionsResponse--; @@ -5886,7 +6016,7 @@ void checkListCampaignAssignedTargetingOptionsResponse( api.ListCampaignAssignedTargetingOptionsResponse o) { buildCounterListCampaignAssignedTargetingOptionsResponse++; if (buildCounterListCampaignAssignedTargetingOptionsResponse < 3) { - checkUnnamed5989(o.assignedTargetingOptions!); + checkUnnamed6056(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5895,12 +6025,12 @@ void checkListCampaignAssignedTargetingOptionsResponse( buildCounterListCampaignAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5990() => [ +core.List buildUnnamed6057() => [ buildCampaign(), buildCampaign(), ]; -void checkUnnamed5990(core.List o) { +void checkUnnamed6057(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCampaign(o[0]); checkCampaign(o[1]); @@ -5911,7 +6041,7 @@ api.ListCampaignsResponse buildListCampaignsResponse() { final o = api.ListCampaignsResponse(); buildCounterListCampaignsResponse++; if (buildCounterListCampaignsResponse < 3) { - o.campaigns = buildUnnamed5990(); + o.campaigns = buildUnnamed6057(); o.nextPageToken = 'foo'; } buildCounterListCampaignsResponse--; @@ -5921,7 +6051,7 @@ api.ListCampaignsResponse buildListCampaignsResponse() { void checkListCampaignsResponse(api.ListCampaignsResponse o) { buildCounterListCampaignsResponse++; if (buildCounterListCampaignsResponse < 3) { - checkUnnamed5990(o.campaigns!); + checkUnnamed6057(o.campaigns!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5930,12 +6060,12 @@ void checkListCampaignsResponse(api.ListCampaignsResponse o) { buildCounterListCampaignsResponse--; } -core.List buildUnnamed5991() => [ +core.List buildUnnamed6058() => [ buildChannel(), buildChannel(), ]; -void checkUnnamed5991(core.List o) { +void checkUnnamed6058(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -5946,7 +6076,7 @@ api.ListChannelsResponse buildListChannelsResponse() { final o = api.ListChannelsResponse(); buildCounterListChannelsResponse++; if (buildCounterListChannelsResponse < 3) { - o.channels = buildUnnamed5991(); + o.channels = buildUnnamed6058(); o.nextPageToken = 'foo'; } buildCounterListChannelsResponse--; @@ -5956,7 +6086,7 @@ api.ListChannelsResponse buildListChannelsResponse() { void checkListChannelsResponse(api.ListChannelsResponse o) { buildCounterListChannelsResponse++; if (buildCounterListChannelsResponse < 3) { - checkUnnamed5991(o.channels!); + checkUnnamed6058(o.channels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5965,12 +6095,12 @@ void checkListChannelsResponse(api.ListChannelsResponse o) { buildCounterListChannelsResponse--; } -core.List buildUnnamed5992() => [ +core.List buildUnnamed6059() => [ buildCombinedAudience(), buildCombinedAudience(), ]; -void checkUnnamed5992(core.List o) { +void checkUnnamed6059(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCombinedAudience(o[0]); checkCombinedAudience(o[1]); @@ -5981,7 +6111,7 @@ api.ListCombinedAudiencesResponse buildListCombinedAudiencesResponse() { final o = api.ListCombinedAudiencesResponse(); buildCounterListCombinedAudiencesResponse++; if (buildCounterListCombinedAudiencesResponse < 3) { - o.combinedAudiences = buildUnnamed5992(); + o.combinedAudiences = buildUnnamed6059(); o.nextPageToken = 'foo'; } buildCounterListCombinedAudiencesResponse--; @@ -5991,7 +6121,7 @@ api.ListCombinedAudiencesResponse buildListCombinedAudiencesResponse() { void checkListCombinedAudiencesResponse(api.ListCombinedAudiencesResponse o) { buildCounterListCombinedAudiencesResponse++; if (buildCounterListCombinedAudiencesResponse < 3) { - checkUnnamed5992(o.combinedAudiences!); + checkUnnamed6059(o.combinedAudiences!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6000,12 +6130,12 @@ void checkListCombinedAudiencesResponse(api.ListCombinedAudiencesResponse o) { buildCounterListCombinedAudiencesResponse--; } -core.List buildUnnamed5993() => [ +core.List buildUnnamed6060() => [ buildCreative(), buildCreative(), ]; -void checkUnnamed5993(core.List o) { +void checkUnnamed6060(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreative(o[0]); checkCreative(o[1]); @@ -6016,7 +6146,7 @@ api.ListCreativesResponse buildListCreativesResponse() { final o = api.ListCreativesResponse(); buildCounterListCreativesResponse++; if (buildCounterListCreativesResponse < 3) { - o.creatives = buildUnnamed5993(); + o.creatives = buildUnnamed6060(); o.nextPageToken = 'foo'; } buildCounterListCreativesResponse--; @@ -6026,7 +6156,7 @@ api.ListCreativesResponse buildListCreativesResponse() { void checkListCreativesResponse(api.ListCreativesResponse o) { buildCounterListCreativesResponse++; if (buildCounterListCreativesResponse < 3) { - checkUnnamed5993(o.creatives!); + checkUnnamed6060(o.creatives!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6035,12 +6165,12 @@ void checkListCreativesResponse(api.ListCreativesResponse o) { buildCounterListCreativesResponse--; } -core.List buildUnnamed5994() => [ +core.List buildUnnamed6061() => [ buildCustomBiddingAlgorithm(), buildCustomBiddingAlgorithm(), ]; -void checkUnnamed5994(core.List o) { +void checkUnnamed6061(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomBiddingAlgorithm(o[0]); checkCustomBiddingAlgorithm(o[1]); @@ -6052,7 +6182,7 @@ api.ListCustomBiddingAlgorithmsResponse final o = api.ListCustomBiddingAlgorithmsResponse(); buildCounterListCustomBiddingAlgorithmsResponse++; if (buildCounterListCustomBiddingAlgorithmsResponse < 3) { - o.customBiddingAlgorithms = buildUnnamed5994(); + o.customBiddingAlgorithms = buildUnnamed6061(); o.nextPageToken = 'foo'; } buildCounterListCustomBiddingAlgorithmsResponse--; @@ -6063,7 +6193,7 @@ void checkListCustomBiddingAlgorithmsResponse( api.ListCustomBiddingAlgorithmsResponse o) { buildCounterListCustomBiddingAlgorithmsResponse++; if (buildCounterListCustomBiddingAlgorithmsResponse < 3) { - checkUnnamed5994(o.customBiddingAlgorithms!); + checkUnnamed6061(o.customBiddingAlgorithms!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6072,12 +6202,12 @@ void checkListCustomBiddingAlgorithmsResponse( buildCounterListCustomBiddingAlgorithmsResponse--; } -core.List buildUnnamed5995() => [ +core.List buildUnnamed6062() => [ buildCustomList(), buildCustomList(), ]; -void checkUnnamed5995(core.List o) { +void checkUnnamed6062(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomList(o[0]); checkCustomList(o[1]); @@ -6088,7 +6218,7 @@ api.ListCustomListsResponse buildListCustomListsResponse() { final o = api.ListCustomListsResponse(); buildCounterListCustomListsResponse++; if (buildCounterListCustomListsResponse < 3) { - o.customLists = buildUnnamed5995(); + o.customLists = buildUnnamed6062(); o.nextPageToken = 'foo'; } buildCounterListCustomListsResponse--; @@ -6098,7 +6228,7 @@ api.ListCustomListsResponse buildListCustomListsResponse() { void checkListCustomListsResponse(api.ListCustomListsResponse o) { buildCounterListCustomListsResponse++; if (buildCounterListCustomListsResponse < 3) { - checkUnnamed5995(o.customLists!); + checkUnnamed6062(o.customLists!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6107,12 +6237,12 @@ void checkListCustomListsResponse(api.ListCustomListsResponse o) { buildCounterListCustomListsResponse--; } -core.List buildUnnamed5996() => [ +core.List buildUnnamed6063() => [ buildFirstAndThirdPartyAudience(), buildFirstAndThirdPartyAudience(), ]; -void checkUnnamed5996(core.List o) { +void checkUnnamed6063(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirstAndThirdPartyAudience(o[0]); checkFirstAndThirdPartyAudience(o[1]); @@ -6124,7 +6254,7 @@ api.ListFirstAndThirdPartyAudiencesResponse final o = api.ListFirstAndThirdPartyAudiencesResponse(); buildCounterListFirstAndThirdPartyAudiencesResponse++; if (buildCounterListFirstAndThirdPartyAudiencesResponse < 3) { - o.firstAndThirdPartyAudiences = buildUnnamed5996(); + o.firstAndThirdPartyAudiences = buildUnnamed6063(); o.nextPageToken = 'foo'; } buildCounterListFirstAndThirdPartyAudiencesResponse--; @@ -6135,7 +6265,7 @@ void checkListFirstAndThirdPartyAudiencesResponse( api.ListFirstAndThirdPartyAudiencesResponse o) { buildCounterListFirstAndThirdPartyAudiencesResponse++; if (buildCounterListFirstAndThirdPartyAudiencesResponse < 3) { - checkUnnamed5996(o.firstAndThirdPartyAudiences!); + checkUnnamed6063(o.firstAndThirdPartyAudiences!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6144,12 +6274,12 @@ void checkListFirstAndThirdPartyAudiencesResponse( buildCounterListFirstAndThirdPartyAudiencesResponse--; } -core.List buildUnnamed5997() => [ +core.List buildUnnamed6064() => [ buildGoogleAudience(), buildGoogleAudience(), ]; -void checkUnnamed5997(core.List o) { +void checkUnnamed6064(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAudience(o[0]); checkGoogleAudience(o[1]); @@ -6160,7 +6290,7 @@ api.ListGoogleAudiencesResponse buildListGoogleAudiencesResponse() { final o = api.ListGoogleAudiencesResponse(); buildCounterListGoogleAudiencesResponse++; if (buildCounterListGoogleAudiencesResponse < 3) { - o.googleAudiences = buildUnnamed5997(); + o.googleAudiences = buildUnnamed6064(); o.nextPageToken = 'foo'; } buildCounterListGoogleAudiencesResponse--; @@ -6170,7 +6300,7 @@ api.ListGoogleAudiencesResponse buildListGoogleAudiencesResponse() { void checkListGoogleAudiencesResponse(api.ListGoogleAudiencesResponse o) { buildCounterListGoogleAudiencesResponse++; if (buildCounterListGoogleAudiencesResponse < 3) { - checkUnnamed5997(o.googleAudiences!); + checkUnnamed6064(o.googleAudiences!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6179,12 +6309,12 @@ void checkListGoogleAudiencesResponse(api.ListGoogleAudiencesResponse o) { buildCounterListGoogleAudiencesResponse--; } -core.List buildUnnamed5998() => [ +core.List buildUnnamed6065() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed5998(core.List o) { +void checkUnnamed6065(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -6196,7 +6326,7 @@ api.ListInsertionOrderAssignedTargetingOptionsResponse final o = api.ListInsertionOrderAssignedTargetingOptionsResponse(); buildCounterListInsertionOrderAssignedTargetingOptionsResponse++; if (buildCounterListInsertionOrderAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed5998(); + o.assignedTargetingOptions = buildUnnamed6065(); o.nextPageToken = 'foo'; } buildCounterListInsertionOrderAssignedTargetingOptionsResponse--; @@ -6207,7 +6337,7 @@ void checkListInsertionOrderAssignedTargetingOptionsResponse( api.ListInsertionOrderAssignedTargetingOptionsResponse o) { buildCounterListInsertionOrderAssignedTargetingOptionsResponse++; if (buildCounterListInsertionOrderAssignedTargetingOptionsResponse < 3) { - checkUnnamed5998(o.assignedTargetingOptions!); + checkUnnamed6065(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6216,12 +6346,12 @@ void checkListInsertionOrderAssignedTargetingOptionsResponse( buildCounterListInsertionOrderAssignedTargetingOptionsResponse--; } -core.List buildUnnamed5999() => [ +core.List buildUnnamed6066() => [ buildInsertionOrder(), buildInsertionOrder(), ]; -void checkUnnamed5999(core.List o) { +void checkUnnamed6066(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInsertionOrder(o[0]); checkInsertionOrder(o[1]); @@ -6232,7 +6362,7 @@ api.ListInsertionOrdersResponse buildListInsertionOrdersResponse() { final o = api.ListInsertionOrdersResponse(); buildCounterListInsertionOrdersResponse++; if (buildCounterListInsertionOrdersResponse < 3) { - o.insertionOrders = buildUnnamed5999(); + o.insertionOrders = buildUnnamed6066(); o.nextPageToken = 'foo'; } buildCounterListInsertionOrdersResponse--; @@ -6242,7 +6372,7 @@ api.ListInsertionOrdersResponse buildListInsertionOrdersResponse() { void checkListInsertionOrdersResponse(api.ListInsertionOrdersResponse o) { buildCounterListInsertionOrdersResponse++; if (buildCounterListInsertionOrdersResponse < 3) { - checkUnnamed5999(o.insertionOrders!); + checkUnnamed6066(o.insertionOrders!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6251,12 +6381,12 @@ void checkListInsertionOrdersResponse(api.ListInsertionOrdersResponse o) { buildCounterListInsertionOrdersResponse--; } -core.List buildUnnamed6000() => [ +core.List buildUnnamed6067() => [ buildInventorySourceGroup(), buildInventorySourceGroup(), ]; -void checkUnnamed6000(core.List o) { +void checkUnnamed6067(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventorySourceGroup(o[0]); checkInventorySourceGroup(o[1]); @@ -6267,7 +6397,7 @@ api.ListInventorySourceGroupsResponse buildListInventorySourceGroupsResponse() { final o = api.ListInventorySourceGroupsResponse(); buildCounterListInventorySourceGroupsResponse++; if (buildCounterListInventorySourceGroupsResponse < 3) { - o.inventorySourceGroups = buildUnnamed6000(); + o.inventorySourceGroups = buildUnnamed6067(); o.nextPageToken = 'foo'; } buildCounterListInventorySourceGroupsResponse--; @@ -6278,7 +6408,7 @@ void checkListInventorySourceGroupsResponse( api.ListInventorySourceGroupsResponse o) { buildCounterListInventorySourceGroupsResponse++; if (buildCounterListInventorySourceGroupsResponse < 3) { - checkUnnamed6000(o.inventorySourceGroups!); + checkUnnamed6067(o.inventorySourceGroups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6287,12 +6417,12 @@ void checkListInventorySourceGroupsResponse( buildCounterListInventorySourceGroupsResponse--; } -core.List buildUnnamed6001() => [ +core.List buildUnnamed6068() => [ buildInventorySource(), buildInventorySource(), ]; -void checkUnnamed6001(core.List o) { +void checkUnnamed6068(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventorySource(o[0]); checkInventorySource(o[1]); @@ -6303,7 +6433,7 @@ api.ListInventorySourcesResponse buildListInventorySourcesResponse() { final o = api.ListInventorySourcesResponse(); buildCounterListInventorySourcesResponse++; if (buildCounterListInventorySourcesResponse < 3) { - o.inventorySources = buildUnnamed6001(); + o.inventorySources = buildUnnamed6068(); o.nextPageToken = 'foo'; } buildCounterListInventorySourcesResponse--; @@ -6313,7 +6443,7 @@ api.ListInventorySourcesResponse buildListInventorySourcesResponse() { void checkListInventorySourcesResponse(api.ListInventorySourcesResponse o) { buildCounterListInventorySourcesResponse++; if (buildCounterListInventorySourcesResponse < 3) { - checkUnnamed6001(o.inventorySources!); + checkUnnamed6068(o.inventorySources!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6322,12 +6452,12 @@ void checkListInventorySourcesResponse(api.ListInventorySourcesResponse o) { buildCounterListInventorySourcesResponse--; } -core.List buildUnnamed6002() => [ +core.List buildUnnamed6069() => [ buildInvoice(), buildInvoice(), ]; -void checkUnnamed6002(core.List o) { +void checkUnnamed6069(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInvoice(o[0]); checkInvoice(o[1]); @@ -6338,7 +6468,7 @@ api.ListInvoicesResponse buildListInvoicesResponse() { final o = api.ListInvoicesResponse(); buildCounterListInvoicesResponse++; if (buildCounterListInvoicesResponse < 3) { - o.invoices = buildUnnamed6002(); + o.invoices = buildUnnamed6069(); o.nextPageToken = 'foo'; } buildCounterListInvoicesResponse--; @@ -6348,7 +6478,7 @@ api.ListInvoicesResponse buildListInvoicesResponse() { void checkListInvoicesResponse(api.ListInvoicesResponse o) { buildCounterListInvoicesResponse++; if (buildCounterListInvoicesResponse < 3) { - checkUnnamed6002(o.invoices!); + checkUnnamed6069(o.invoices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6357,12 +6487,12 @@ void checkListInvoicesResponse(api.ListInvoicesResponse o) { buildCounterListInvoicesResponse--; } -core.List buildUnnamed6003() => [ +core.List buildUnnamed6070() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed6003(core.List o) { +void checkUnnamed6070(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -6374,7 +6504,7 @@ api.ListLineItemAssignedTargetingOptionsResponse final o = api.ListLineItemAssignedTargetingOptionsResponse(); buildCounterListLineItemAssignedTargetingOptionsResponse++; if (buildCounterListLineItemAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed6003(); + o.assignedTargetingOptions = buildUnnamed6070(); o.nextPageToken = 'foo'; } buildCounterListLineItemAssignedTargetingOptionsResponse--; @@ -6385,7 +6515,7 @@ void checkListLineItemAssignedTargetingOptionsResponse( api.ListLineItemAssignedTargetingOptionsResponse o) { buildCounterListLineItemAssignedTargetingOptionsResponse++; if (buildCounterListLineItemAssignedTargetingOptionsResponse < 3) { - checkUnnamed6003(o.assignedTargetingOptions!); + checkUnnamed6070(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6394,12 +6524,12 @@ void checkListLineItemAssignedTargetingOptionsResponse( buildCounterListLineItemAssignedTargetingOptionsResponse--; } -core.List buildUnnamed6004() => [ +core.List buildUnnamed6071() => [ buildLineItem(), buildLineItem(), ]; -void checkUnnamed6004(core.List o) { +void checkUnnamed6071(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLineItem(o[0]); checkLineItem(o[1]); @@ -6410,7 +6540,7 @@ api.ListLineItemsResponse buildListLineItemsResponse() { final o = api.ListLineItemsResponse(); buildCounterListLineItemsResponse++; if (buildCounterListLineItemsResponse < 3) { - o.lineItems = buildUnnamed6004(); + o.lineItems = buildUnnamed6071(); o.nextPageToken = 'foo'; } buildCounterListLineItemsResponse--; @@ -6420,7 +6550,7 @@ api.ListLineItemsResponse buildListLineItemsResponse() { void checkListLineItemsResponse(api.ListLineItemsResponse o) { buildCounterListLineItemsResponse++; if (buildCounterListLineItemsResponse < 3) { - checkUnnamed6004(o.lineItems!); + checkUnnamed6071(o.lineItems!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6429,12 +6559,12 @@ void checkListLineItemsResponse(api.ListLineItemsResponse o) { buildCounterListLineItemsResponse--; } -core.List buildUnnamed6005() => [ +core.List buildUnnamed6072() => [ buildLocationList(), buildLocationList(), ]; -void checkUnnamed6005(core.List o) { +void checkUnnamed6072(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocationList(o[0]); checkLocationList(o[1]); @@ -6445,7 +6575,7 @@ api.ListLocationListsResponse buildListLocationListsResponse() { final o = api.ListLocationListsResponse(); buildCounterListLocationListsResponse++; if (buildCounterListLocationListsResponse < 3) { - o.locationLists = buildUnnamed6005(); + o.locationLists = buildUnnamed6072(); o.nextPageToken = 'foo'; } buildCounterListLocationListsResponse--; @@ -6455,7 +6585,7 @@ api.ListLocationListsResponse buildListLocationListsResponse() { void checkListLocationListsResponse(api.ListLocationListsResponse o) { buildCounterListLocationListsResponse++; if (buildCounterListLocationListsResponse < 3) { - checkUnnamed6005(o.locationLists!); + checkUnnamed6072(o.locationLists!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6464,12 +6594,12 @@ void checkListLocationListsResponse(api.ListLocationListsResponse o) { buildCounterListLocationListsResponse--; } -core.List buildUnnamed6006() => [ +core.List buildUnnamed6073() => [ buildManualTrigger(), buildManualTrigger(), ]; -void checkUnnamed6006(core.List o) { +void checkUnnamed6073(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManualTrigger(o[0]); checkManualTrigger(o[1]); @@ -6480,7 +6610,7 @@ api.ListManualTriggersResponse buildListManualTriggersResponse() { final o = api.ListManualTriggersResponse(); buildCounterListManualTriggersResponse++; if (buildCounterListManualTriggersResponse < 3) { - o.manualTriggers = buildUnnamed6006(); + o.manualTriggers = buildUnnamed6073(); o.nextPageToken = 'foo'; } buildCounterListManualTriggersResponse--; @@ -6490,7 +6620,7 @@ api.ListManualTriggersResponse buildListManualTriggersResponse() { void checkListManualTriggersResponse(api.ListManualTriggersResponse o) { buildCounterListManualTriggersResponse++; if (buildCounterListManualTriggersResponse < 3) { - checkUnnamed6006(o.manualTriggers!); + checkUnnamed6073(o.manualTriggers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6499,12 +6629,12 @@ void checkListManualTriggersResponse(api.ListManualTriggersResponse o) { buildCounterListManualTriggersResponse--; } -core.List buildUnnamed6007() => [ +core.List buildUnnamed6074() => [ buildNegativeKeywordList(), buildNegativeKeywordList(), ]; -void checkUnnamed6007(core.List o) { +void checkUnnamed6074(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNegativeKeywordList(o[0]); checkNegativeKeywordList(o[1]); @@ -6515,7 +6645,7 @@ api.ListNegativeKeywordListsResponse buildListNegativeKeywordListsResponse() { final o = api.ListNegativeKeywordListsResponse(); buildCounterListNegativeKeywordListsResponse++; if (buildCounterListNegativeKeywordListsResponse < 3) { - o.negativeKeywordLists = buildUnnamed6007(); + o.negativeKeywordLists = buildUnnamed6074(); o.nextPageToken = 'foo'; } buildCounterListNegativeKeywordListsResponse--; @@ -6526,7 +6656,7 @@ void checkListNegativeKeywordListsResponse( api.ListNegativeKeywordListsResponse o) { buildCounterListNegativeKeywordListsResponse++; if (buildCounterListNegativeKeywordListsResponse < 3) { - checkUnnamed6007(o.negativeKeywordLists!); + checkUnnamed6074(o.negativeKeywordLists!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6535,12 +6665,12 @@ void checkListNegativeKeywordListsResponse( buildCounterListNegativeKeywordListsResponse--; } -core.List buildUnnamed6008() => [ +core.List buildUnnamed6075() => [ buildNegativeKeyword(), buildNegativeKeyword(), ]; -void checkUnnamed6008(core.List o) { +void checkUnnamed6075(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNegativeKeyword(o[0]); checkNegativeKeyword(o[1]); @@ -6551,7 +6681,7 @@ api.ListNegativeKeywordsResponse buildListNegativeKeywordsResponse() { final o = api.ListNegativeKeywordsResponse(); buildCounterListNegativeKeywordsResponse++; if (buildCounterListNegativeKeywordsResponse < 3) { - o.negativeKeywords = buildUnnamed6008(); + o.negativeKeywords = buildUnnamed6075(); o.nextPageToken = 'foo'; } buildCounterListNegativeKeywordsResponse--; @@ -6561,7 +6691,7 @@ api.ListNegativeKeywordsResponse buildListNegativeKeywordsResponse() { void checkListNegativeKeywordsResponse(api.ListNegativeKeywordsResponse o) { buildCounterListNegativeKeywordsResponse++; if (buildCounterListNegativeKeywordsResponse < 3) { - checkUnnamed6008(o.negativeKeywords!); + checkUnnamed6075(o.negativeKeywords!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6570,12 +6700,12 @@ void checkListNegativeKeywordsResponse(api.ListNegativeKeywordsResponse o) { buildCounterListNegativeKeywordsResponse--; } -core.List buildUnnamed6009() => [ +core.List buildUnnamed6076() => [ buildAssignedTargetingOption(), buildAssignedTargetingOption(), ]; -void checkUnnamed6009(core.List o) { +void checkUnnamed6076(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedTargetingOption(o[0]); checkAssignedTargetingOption(o[1]); @@ -6587,7 +6717,7 @@ api.ListPartnerAssignedTargetingOptionsResponse final o = api.ListPartnerAssignedTargetingOptionsResponse(); buildCounterListPartnerAssignedTargetingOptionsResponse++; if (buildCounterListPartnerAssignedTargetingOptionsResponse < 3) { - o.assignedTargetingOptions = buildUnnamed6009(); + o.assignedTargetingOptions = buildUnnamed6076(); o.nextPageToken = 'foo'; } buildCounterListPartnerAssignedTargetingOptionsResponse--; @@ -6598,7 +6728,7 @@ void checkListPartnerAssignedTargetingOptionsResponse( api.ListPartnerAssignedTargetingOptionsResponse o) { buildCounterListPartnerAssignedTargetingOptionsResponse++; if (buildCounterListPartnerAssignedTargetingOptionsResponse < 3) { - checkUnnamed6009(o.assignedTargetingOptions!); + checkUnnamed6076(o.assignedTargetingOptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6607,12 +6737,12 @@ void checkListPartnerAssignedTargetingOptionsResponse( buildCounterListPartnerAssignedTargetingOptionsResponse--; } -core.List buildUnnamed6010() => [ +core.List buildUnnamed6077() => [ buildPartner(), buildPartner(), ]; -void checkUnnamed6010(core.List o) { +void checkUnnamed6077(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartner(o[0]); checkPartner(o[1]); @@ -6624,7 +6754,7 @@ api.ListPartnersResponse buildListPartnersResponse() { buildCounterListPartnersResponse++; if (buildCounterListPartnersResponse < 3) { o.nextPageToken = 'foo'; - o.partners = buildUnnamed6010(); + o.partners = buildUnnamed6077(); } buildCounterListPartnersResponse--; return o; @@ -6637,17 +6767,17 @@ void checkListPartnersResponse(api.ListPartnersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6010(o.partners!); + checkUnnamed6077(o.partners!); } buildCounterListPartnersResponse--; } -core.List buildUnnamed6011() => [ +core.List buildUnnamed6078() => [ buildSite(), buildSite(), ]; -void checkUnnamed6011(core.List o) { +void checkUnnamed6078(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -6659,7 +6789,7 @@ api.ListSitesResponse buildListSitesResponse() { buildCounterListSitesResponse++; if (buildCounterListSitesResponse < 3) { o.nextPageToken = 'foo'; - o.sites = buildUnnamed6011(); + o.sites = buildUnnamed6078(); } buildCounterListSitesResponse--; return o; @@ -6672,17 +6802,17 @@ void checkListSitesResponse(api.ListSitesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6011(o.sites!); + checkUnnamed6078(o.sites!); } buildCounterListSitesResponse--; } -core.List buildUnnamed6012() => [ +core.List buildUnnamed6079() => [ buildTargetingOption(), buildTargetingOption(), ]; -void checkUnnamed6012(core.List o) { +void checkUnnamed6079(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingOption(o[0]); checkTargetingOption(o[1]); @@ -6694,7 +6824,7 @@ api.ListTargetingOptionsResponse buildListTargetingOptionsResponse() { buildCounterListTargetingOptionsResponse++; if (buildCounterListTargetingOptionsResponse < 3) { o.nextPageToken = 'foo'; - o.targetingOptions = buildUnnamed6012(); + o.targetingOptions = buildUnnamed6079(); } buildCounterListTargetingOptionsResponse--; return o; @@ -6707,17 +6837,17 @@ void checkListTargetingOptionsResponse(api.ListTargetingOptionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6012(o.targetingOptions!); + checkUnnamed6079(o.targetingOptions!); } buildCounterListTargetingOptionsResponse--; } -core.List buildUnnamed6013() => [ +core.List buildUnnamed6080() => [ buildUser(), buildUser(), ]; -void checkUnnamed6013(core.List o) { +void checkUnnamed6080(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -6729,7 +6859,7 @@ api.ListUsersResponse buildListUsersResponse() { buildCounterListUsersResponse++; if (buildCounterListUsersResponse < 3) { o.nextPageToken = 'foo'; - o.users = buildUnnamed6013(); + o.users = buildUnnamed6080(); } buildCounterListUsersResponse--; return o; @@ -6742,7 +6872,7 @@ void checkListUsersResponse(api.ListUsersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6013(o.users!); + checkUnnamed6080(o.users!); } buildCounterListUsersResponse--; } @@ -7212,6 +7342,57 @@ void checkObaIcon(api.ObaIcon o) { buildCounterObaIcon--; } +core.int buildCounterOmidAssignedTargetingOptionDetails = 0; +api.OmidAssignedTargetingOptionDetails + buildOmidAssignedTargetingOptionDetails() { + final o = api.OmidAssignedTargetingOptionDetails(); + buildCounterOmidAssignedTargetingOptionDetails++; + if (buildCounterOmidAssignedTargetingOptionDetails < 3) { + o.omid = 'foo'; + o.targetingOptionId = 'foo'; + } + buildCounterOmidAssignedTargetingOptionDetails--; + return o; +} + +void checkOmidAssignedTargetingOptionDetails( + api.OmidAssignedTargetingOptionDetails o) { + buildCounterOmidAssignedTargetingOptionDetails++; + if (buildCounterOmidAssignedTargetingOptionDetails < 3) { + unittest.expect( + o.omid!, + unittest.equals('foo'), + ); + unittest.expect( + o.targetingOptionId!, + unittest.equals('foo'), + ); + } + buildCounterOmidAssignedTargetingOptionDetails--; +} + +core.int buildCounterOmidTargetingOptionDetails = 0; +api.OmidTargetingOptionDetails buildOmidTargetingOptionDetails() { + final o = api.OmidTargetingOptionDetails(); + buildCounterOmidTargetingOptionDetails++; + if (buildCounterOmidTargetingOptionDetails < 3) { + o.omid = 'foo'; + } + buildCounterOmidTargetingOptionDetails--; + return o; +} + +void checkOmidTargetingOptionDetails(api.OmidTargetingOptionDetails o) { + buildCounterOmidTargetingOptionDetails++; + if (buildCounterOmidTargetingOptionDetails < 3) { + unittest.expect( + o.omid!, + unittest.equals('foo'), + ); + } + buildCounterOmidTargetingOptionDetails--; +} + core.int buildCounterOnScreenPositionAssignedTargetingOptionDetails = 0; api.OnScreenPositionAssignedTargetingOptionDetails buildOnScreenPositionAssignedTargetingOptionDetails() { @@ -7325,7 +7506,7 @@ void checkOperatingSystemTargetingOptionDetails( buildCounterOperatingSystemTargetingOptionDetails--; } -core.Map buildUnnamed6014() => { +core.Map buildUnnamed6081() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7338,7 +7519,7 @@ core.Map buildUnnamed6014() => { }, }; -void checkUnnamed6014(core.Map o) { +void checkUnnamed6081(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -7370,7 +7551,7 @@ void checkUnnamed6014(core.Map o) { ); } -core.Map buildUnnamed6015() => { +core.Map buildUnnamed6082() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7383,7 +7564,7 @@ core.Map buildUnnamed6015() => { }, }; -void checkUnnamed6015(core.Map o) { +void checkUnnamed6082(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -7422,9 +7603,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6014(); + o.metadata = buildUnnamed6081(); o.name = 'foo'; - o.response = buildUnnamed6015(); + o.response = buildUnnamed6082(); } buildCounterOperation--; return o; @@ -7435,12 +7616,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6014(o.metadata!); + checkUnnamed6081(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6015(o.response!); + checkUnnamed6082(o.response!); } buildCounterOperation--; } @@ -7482,12 +7663,12 @@ void checkPacing(api.Pacing o) { buildCounterPacing--; } -core.List buildUnnamed6016() => [ +core.List buildUnnamed6083() => [ 'foo', 'foo', ]; -void checkUnnamed6016(core.List o) { +void checkUnnamed6083(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7499,12 +7680,12 @@ void checkUnnamed6016(core.List o) { ); } -core.List buildUnnamed6017() => [ +core.List buildUnnamed6084() => [ 'foo', 'foo', ]; -void checkUnnamed6017(core.List o) { +void checkUnnamed6084(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7521,8 +7702,8 @@ api.ParentEntityFilter buildParentEntityFilter() { final o = api.ParentEntityFilter(); buildCounterParentEntityFilter++; if (buildCounterParentEntityFilter < 3) { - o.fileType = buildUnnamed6016(); - o.filterIds = buildUnnamed6017(); + o.fileType = buildUnnamed6083(); + o.filterIds = buildUnnamed6084(); o.filterType = 'foo'; } buildCounterParentEntityFilter--; @@ -7532,8 +7713,8 @@ api.ParentEntityFilter buildParentEntityFilter() { void checkParentEntityFilter(api.ParentEntityFilter o) { buildCounterParentEntityFilter++; if (buildCounterParentEntityFilter < 3) { - checkUnnamed6016(o.fileType!); - checkUnnamed6017(o.filterIds!); + checkUnnamed6083(o.fileType!); + checkUnnamed6084(o.filterIds!); unittest.expect( o.filterType!, unittest.equals('foo'), @@ -7853,6 +8034,108 @@ void checkPerformanceGoalBidStrategy(api.PerformanceGoalBidStrategy o) { buildCounterPerformanceGoalBidStrategy--; } +core.int buildCounterPoiAssignedTargetingOptionDetails = 0; +api.PoiAssignedTargetingOptionDetails buildPoiAssignedTargetingOptionDetails() { + final o = api.PoiAssignedTargetingOptionDetails(); + buildCounterPoiAssignedTargetingOptionDetails++; + if (buildCounterPoiAssignedTargetingOptionDetails < 3) { + o.displayName = 'foo'; + o.latitude = 42.0; + o.longitude = 42.0; + o.proximityRadiusAmount = 42.0; + o.proximityRadiusUnit = 'foo'; + o.targetingOptionId = 'foo'; + } + buildCounterPoiAssignedTargetingOptionDetails--; + return o; +} + +void checkPoiAssignedTargetingOptionDetails( + api.PoiAssignedTargetingOptionDetails o) { + buildCounterPoiAssignedTargetingOptionDetails++; + if (buildCounterPoiAssignedTargetingOptionDetails < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.latitude!, + unittest.equals(42.0), + ); + unittest.expect( + o.longitude!, + unittest.equals(42.0), + ); + unittest.expect( + o.proximityRadiusAmount!, + unittest.equals(42.0), + ); + unittest.expect( + o.proximityRadiusUnit!, + unittest.equals('foo'), + ); + unittest.expect( + o.targetingOptionId!, + unittest.equals('foo'), + ); + } + buildCounterPoiAssignedTargetingOptionDetails--; +} + +core.int buildCounterPoiSearchTerms = 0; +api.PoiSearchTerms buildPoiSearchTerms() { + final o = api.PoiSearchTerms(); + buildCounterPoiSearchTerms++; + if (buildCounterPoiSearchTerms < 3) { + o.poiQuery = 'foo'; + } + buildCounterPoiSearchTerms--; + return o; +} + +void checkPoiSearchTerms(api.PoiSearchTerms o) { + buildCounterPoiSearchTerms++; + if (buildCounterPoiSearchTerms < 3) { + unittest.expect( + o.poiQuery!, + unittest.equals('foo'), + ); + } + buildCounterPoiSearchTerms--; +} + +core.int buildCounterPoiTargetingOptionDetails = 0; +api.PoiTargetingOptionDetails buildPoiTargetingOptionDetails() { + final o = api.PoiTargetingOptionDetails(); + buildCounterPoiTargetingOptionDetails++; + if (buildCounterPoiTargetingOptionDetails < 3) { + o.displayName = 'foo'; + o.latitude = 42.0; + o.longitude = 42.0; + } + buildCounterPoiTargetingOptionDetails--; + return o; +} + +void checkPoiTargetingOptionDetails(api.PoiTargetingOptionDetails o) { + buildCounterPoiTargetingOptionDetails++; + if (buildCounterPoiTargetingOptionDetails < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.latitude!, + unittest.equals(42.0), + ); + unittest.expect( + o.longitude!, + unittest.equals(42.0), + ); + } + buildCounterPoiTargetingOptionDetails--; +} + core.int buildCounterPrismaConfig = 0; api.PrismaConfig buildPrismaConfig() { final o = api.PrismaConfig(); @@ -8027,12 +8310,12 @@ void checkRegionalLocationListAssignedTargetingOptionDetails( buildCounterRegionalLocationListAssignedTargetingOptionDetails--; } -core.List buildUnnamed6018() => [ +core.List buildUnnamed6085() => [ buildNegativeKeyword(), buildNegativeKeyword(), ]; -void checkUnnamed6018(core.List o) { +void checkUnnamed6085(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNegativeKeyword(o[0]); checkNegativeKeyword(o[1]); @@ -8043,7 +8326,7 @@ api.ReplaceNegativeKeywordsRequest buildReplaceNegativeKeywordsRequest() { final o = api.ReplaceNegativeKeywordsRequest(); buildCounterReplaceNegativeKeywordsRequest++; if (buildCounterReplaceNegativeKeywordsRequest < 3) { - o.newNegativeKeywords = buildUnnamed6018(); + o.newNegativeKeywords = buildUnnamed6085(); } buildCounterReplaceNegativeKeywordsRequest--; return o; @@ -8052,17 +8335,17 @@ api.ReplaceNegativeKeywordsRequest buildReplaceNegativeKeywordsRequest() { void checkReplaceNegativeKeywordsRequest(api.ReplaceNegativeKeywordsRequest o) { buildCounterReplaceNegativeKeywordsRequest++; if (buildCounterReplaceNegativeKeywordsRequest < 3) { - checkUnnamed6018(o.newNegativeKeywords!); + checkUnnamed6085(o.newNegativeKeywords!); } buildCounterReplaceNegativeKeywordsRequest--; } -core.List buildUnnamed6019() => [ +core.List buildUnnamed6086() => [ buildNegativeKeyword(), buildNegativeKeyword(), ]; -void checkUnnamed6019(core.List o) { +void checkUnnamed6086(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNegativeKeyword(o[0]); checkNegativeKeyword(o[1]); @@ -8073,7 +8356,7 @@ api.ReplaceNegativeKeywordsResponse buildReplaceNegativeKeywordsResponse() { final o = api.ReplaceNegativeKeywordsResponse(); buildCounterReplaceNegativeKeywordsResponse++; if (buildCounterReplaceNegativeKeywordsResponse < 3) { - o.negativeKeywords = buildUnnamed6019(); + o.negativeKeywords = buildUnnamed6086(); } buildCounterReplaceNegativeKeywordsResponse--; return o; @@ -8083,17 +8366,17 @@ void checkReplaceNegativeKeywordsResponse( api.ReplaceNegativeKeywordsResponse o) { buildCounterReplaceNegativeKeywordsResponse++; if (buildCounterReplaceNegativeKeywordsResponse < 3) { - checkUnnamed6019(o.negativeKeywords!); + checkUnnamed6086(o.negativeKeywords!); } buildCounterReplaceNegativeKeywordsResponse--; } -core.List buildUnnamed6020() => [ +core.List buildUnnamed6087() => [ buildSite(), buildSite(), ]; -void checkUnnamed6020(core.List o) { +void checkUnnamed6087(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -8105,7 +8388,7 @@ api.ReplaceSitesRequest buildReplaceSitesRequest() { buildCounterReplaceSitesRequest++; if (buildCounterReplaceSitesRequest < 3) { o.advertiserId = 'foo'; - o.newSites = buildUnnamed6020(); + o.newSites = buildUnnamed6087(); o.partnerId = 'foo'; } buildCounterReplaceSitesRequest--; @@ -8119,7 +8402,7 @@ void checkReplaceSitesRequest(api.ReplaceSitesRequest o) { o.advertiserId!, unittest.equals('foo'), ); - checkUnnamed6020(o.newSites!); + checkUnnamed6087(o.newSites!); unittest.expect( o.partnerId!, unittest.equals('foo'), @@ -8128,12 +8411,12 @@ void checkReplaceSitesRequest(api.ReplaceSitesRequest o) { buildCounterReplaceSitesRequest--; } -core.List buildUnnamed6021() => [ +core.List buildUnnamed6088() => [ buildSite(), buildSite(), ]; -void checkUnnamed6021(core.List o) { +void checkUnnamed6088(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSite(o[0]); checkSite(o[1]); @@ -8144,7 +8427,7 @@ api.ReplaceSitesResponse buildReplaceSitesResponse() { final o = api.ReplaceSitesResponse(); buildCounterReplaceSitesResponse++; if (buildCounterReplaceSitesResponse < 3) { - o.sites = buildUnnamed6021(); + o.sites = buildUnnamed6088(); } buildCounterReplaceSitesResponse--; return o; @@ -8153,28 +8436,28 @@ api.ReplaceSitesResponse buildReplaceSitesResponse() { void checkReplaceSitesResponse(api.ReplaceSitesResponse o) { buildCounterReplaceSitesResponse++; if (buildCounterReplaceSitesResponse < 3) { - checkUnnamed6021(o.sites!); + checkUnnamed6088(o.sites!); } buildCounterReplaceSitesResponse--; } -core.List buildUnnamed6022() => [ +core.List buildUnnamed6089() => [ buildExchangeReviewStatus(), buildExchangeReviewStatus(), ]; -void checkUnnamed6022(core.List o) { +void checkUnnamed6089(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExchangeReviewStatus(o[0]); checkExchangeReviewStatus(o[1]); } -core.List buildUnnamed6023() => [ +core.List buildUnnamed6090() => [ buildPublisherReviewStatus(), buildPublisherReviewStatus(), ]; -void checkUnnamed6023(core.List o) { +void checkUnnamed6090(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublisherReviewStatus(o[0]); checkPublisherReviewStatus(o[1]); @@ -8188,8 +8471,8 @@ api.ReviewStatusInfo buildReviewStatusInfo() { o.approvalStatus = 'foo'; o.contentAndPolicyReviewStatus = 'foo'; o.creativeAndLandingPageReviewStatus = 'foo'; - o.exchangeReviewStatuses = buildUnnamed6022(); - o.publisherReviewStatuses = buildUnnamed6023(); + o.exchangeReviewStatuses = buildUnnamed6089(); + o.publisherReviewStatuses = buildUnnamed6090(); } buildCounterReviewStatusInfo--; return o; @@ -8210,8 +8493,8 @@ void checkReviewStatusInfo(api.ReviewStatusInfo o) { o.creativeAndLandingPageReviewStatus!, unittest.equals('foo'), ); - checkUnnamed6022(o.exchangeReviewStatuses!); - checkUnnamed6023(o.publisherReviewStatuses!); + checkUnnamed6089(o.exchangeReviewStatuses!); + checkUnnamed6090(o.publisherReviewStatuses!); } buildCounterReviewStatusInfo--; } @@ -8303,9 +8586,11 @@ api.SearchTargetingOptionsRequest buildSearchTargetingOptionsRequest() { buildCounterSearchTargetingOptionsRequest++; if (buildCounterSearchTargetingOptionsRequest < 3) { o.advertiserId = 'foo'; + o.businessChainSearchTerms = buildBusinessChainSearchTerms(); o.geoRegionSearchTerms = buildGeoRegionSearchTerms(); o.pageSize = 42; o.pageToken = 'foo'; + o.poiSearchTerms = buildPoiSearchTerms(); } buildCounterSearchTargetingOptionsRequest--; return o; @@ -8318,6 +8603,7 @@ void checkSearchTargetingOptionsRequest(api.SearchTargetingOptionsRequest o) { o.advertiserId!, unittest.equals('foo'), ); + checkBusinessChainSearchTerms(o.businessChainSearchTerms!); checkGeoRegionSearchTerms(o.geoRegionSearchTerms!); unittest.expect( o.pageSize!, @@ -8327,16 +8613,17 @@ void checkSearchTargetingOptionsRequest(api.SearchTargetingOptionsRequest o) { o.pageToken!, unittest.equals('foo'), ); + checkPoiSearchTerms(o.poiSearchTerms!); } buildCounterSearchTargetingOptionsRequest--; } -core.List buildUnnamed6024() => [ +core.List buildUnnamed6091() => [ buildTargetingOption(), buildTargetingOption(), ]; -void checkUnnamed6024(core.List o) { +void checkUnnamed6091(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingOption(o[0]); checkTargetingOption(o[1]); @@ -8348,7 +8635,7 @@ api.SearchTargetingOptionsResponse buildSearchTargetingOptionsResponse() { buildCounterSearchTargetingOptionsResponse++; if (buildCounterSearchTargetingOptionsResponse < 3) { o.nextPageToken = 'foo'; - o.targetingOptions = buildUnnamed6024(); + o.targetingOptions = buildUnnamed6091(); } buildCounterSearchTargetingOptionsResponse--; return o; @@ -8361,7 +8648,7 @@ void checkSearchTargetingOptionsResponse(api.SearchTargetingOptionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6024(o.targetingOptions!); + checkUnnamed6091(o.targetingOptions!); } buildCounterSearchTargetingOptionsResponse--; } @@ -8446,7 +8733,7 @@ void checkSite(api.Site o) { buildCounterSite--; } -core.Map buildUnnamed6025() => { +core.Map buildUnnamed6092() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8459,7 +8746,7 @@ core.Map buildUnnamed6025() => { }, }; -void checkUnnamed6025(core.Map o) { +void checkUnnamed6092(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -8491,15 +8778,15 @@ void checkUnnamed6025(core.Map o) { ); } -core.List> buildUnnamed6026() => [ - buildUnnamed6025(), - buildUnnamed6025(), +core.List> buildUnnamed6093() => [ + buildUnnamed6092(), + buildUnnamed6092(), ]; -void checkUnnamed6026(core.List> o) { +void checkUnnamed6093(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6025(o[0]); - checkUnnamed6025(o[1]); + checkUnnamed6092(o[0]); + checkUnnamed6092(o[1]); } core.int buildCounterStatus = 0; @@ -8508,7 +8795,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6026(); + o.details = buildUnnamed6093(); o.message = 'foo'; } buildCounterStatus--; @@ -8522,7 +8809,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6026(o.details!); + checkUnnamed6093(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -8612,6 +8899,7 @@ api.TargetingOption buildTargetingOption() { o.authorizedSellerStatusDetails = buildAuthorizedSellerStatusTargetingOptionDetails(); o.browserDetails = buildBrowserTargetingOptionDetails(); + o.businessChainDetails = buildBusinessChainTargetingOptionDetails(); o.carrierAndIspDetails = buildCarrierAndIspTargetingOptionDetails(); o.categoryDetails = buildCategoryTargetingOptionDetails(); o.contentInstreamPositionDetails = @@ -8631,9 +8919,11 @@ api.TargetingOption buildTargetingOption() { o.name = 'foo'; o.nativeContentPositionDetails = buildNativeContentPositionTargetingOptionDetails(); + o.omidDetails = buildOmidTargetingOptionDetails(); o.onScreenPositionDetails = buildOnScreenPositionTargetingOptionDetails(); o.operatingSystemDetails = buildOperatingSystemTargetingOptionDetails(); o.parentalStatusDetails = buildParentalStatusTargetingOptionDetails(); + o.poiDetails = buildPoiTargetingOptionDetails(); o.sensitiveCategoryDetails = buildSensitiveCategoryTargetingOptionDetails(); o.subExchangeDetails = buildSubExchangeTargetingOptionDetails(); o.targetingOptionId = 'foo'; @@ -8655,6 +8945,7 @@ void checkTargetingOption(api.TargetingOption o) { checkAuthorizedSellerStatusTargetingOptionDetails( o.authorizedSellerStatusDetails!); checkBrowserTargetingOptionDetails(o.browserDetails!); + checkBusinessChainTargetingOptionDetails(o.businessChainDetails!); checkCarrierAndIspTargetingOptionDetails(o.carrierAndIspDetails!); checkCategoryTargetingOptionDetails(o.categoryDetails!); checkContentInstreamPositionTargetingOptionDetails( @@ -8677,9 +8968,11 @@ void checkTargetingOption(api.TargetingOption o) { ); checkNativeContentPositionTargetingOptionDetails( o.nativeContentPositionDetails!); + checkOmidTargetingOptionDetails(o.omidDetails!); checkOnScreenPositionTargetingOptionDetails(o.onScreenPositionDetails!); checkOperatingSystemTargetingOptionDetails(o.operatingSystemDetails!); checkParentalStatusTargetingOptionDetails(o.parentalStatusDetails!); + checkPoiTargetingOptionDetails(o.poiDetails!); checkSensitiveCategoryTargetingOptionDetails(o.sensitiveCategoryDetails!); checkSubExchangeTargetingOptionDetails(o.subExchangeDetails!); unittest.expect( @@ -8964,12 +9257,12 @@ void checkUrlAssignedTargetingOptionDetails( buildCounterUrlAssignedTargetingOptionDetails--; } -core.List buildUnnamed6027() => [ +core.List buildUnnamed6094() => [ buildAssignedUserRole(), buildAssignedUserRole(), ]; -void checkUnnamed6027(core.List o) { +void checkUnnamed6094(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssignedUserRole(o[0]); checkAssignedUserRole(o[1]); @@ -8980,7 +9273,7 @@ api.User buildUser() { final o = api.User(); buildCounterUser++; if (buildCounterUser < 3) { - o.assignedUserRoles = buildUnnamed6027(); + o.assignedUserRoles = buildUnnamed6094(); o.displayName = 'foo'; o.email = 'foo'; o.name = 'foo'; @@ -8993,7 +9286,7 @@ api.User buildUser() { void checkUser(api.User o) { buildCounterUser++; if (buildCounterUser < 3) { - checkUnnamed6027(o.assignedUserRoles!); + checkUnnamed6094(o.assignedUserRoles!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -9688,6 +9981,36 @@ void main() { }); }); + unittest.group('obj-schema-BusinessChainAssignedTargetingOptionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildBusinessChainAssignedTargetingOptionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BusinessChainAssignedTargetingOptionDetails.fromJson( + oJson as core.Map); + checkBusinessChainAssignedTargetingOptionDetails(od); + }); + }); + + unittest.group('obj-schema-BusinessChainSearchTerms', () { + unittest.test('to-json--from-json', () async { + final o = buildBusinessChainSearchTerms(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BusinessChainSearchTerms.fromJson( + oJson as core.Map); + checkBusinessChainSearchTerms(od); + }); + }); + + unittest.group('obj-schema-BusinessChainTargetingOptionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildBusinessChainTargetingOptionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BusinessChainTargetingOptionDetails.fromJson( + oJson as core.Map); + checkBusinessChainTargetingOptionDetails(od); + }); + }); + unittest.group('obj-schema-Campaign', () { unittest.test('to-json--from-json', () async { final o = buildCampaign(); @@ -11106,6 +11429,26 @@ void main() { }); }); + unittest.group('obj-schema-OmidAssignedTargetingOptionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildOmidAssignedTargetingOptionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OmidAssignedTargetingOptionDetails.fromJson( + oJson as core.Map); + checkOmidAssignedTargetingOptionDetails(od); + }); + }); + + unittest.group('obj-schema-OmidTargetingOptionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildOmidTargetingOptionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OmidTargetingOptionDetails.fromJson( + oJson as core.Map); + checkOmidTargetingOptionDetails(od); + }); + }); + unittest.group('obj-schema-OnScreenPositionAssignedTargetingOptionDetails', () { unittest.test('to-json--from-json', () async { @@ -11278,6 +11621,36 @@ void main() { }); }); + unittest.group('obj-schema-PoiAssignedTargetingOptionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildPoiAssignedTargetingOptionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PoiAssignedTargetingOptionDetails.fromJson( + oJson as core.Map); + checkPoiAssignedTargetingOptionDetails(od); + }); + }); + + unittest.group('obj-schema-PoiSearchTerms', () { + unittest.test('to-json--from-json', () async { + final o = buildPoiSearchTerms(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PoiSearchTerms.fromJson( + oJson as core.Map); + checkPoiSearchTerms(od); + }); + }); + + unittest.group('obj-schema-PoiTargetingOptionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildPoiTargetingOptionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PoiTargetingOptionDetails.fromJson( + oJson as core.Map); + checkPoiTargetingOptionDetails(od); + }); + }); + unittest.group('obj-schema-PrismaConfig', () { unittest.test('to-json--from-json', () async { final o = buildPrismaConfig(); @@ -17360,6 +17733,61 @@ void main() { }); unittest.group('resource-CustomBiddingAlgorithmsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.DisplayVideoApi(mock).customBiddingAlgorithms; + final arg_request = buildCustomBiddingAlgorithm(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CustomBiddingAlgorithm.fromJson( + json as core.Map); + checkCustomBiddingAlgorithm(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 26), + unittest.equals('v1/customBiddingAlgorithms'), + ); + pathOffset += 26; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildCustomBiddingAlgorithm()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, $fields: arg_$fields); + checkCustomBiddingAlgorithm(response as api.CustomBiddingAlgorithm); + }); + unittest.test('method--get', () async { final mock = HttpServerMock(); final res = api.DisplayVideoApi(mock).customBiddingAlgorithms; @@ -17513,6 +17941,70 @@ void main() { checkListCustomBiddingAlgorithmsResponse( response as api.ListCustomBiddingAlgorithmsResponse); }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.DisplayVideoApi(mock).customBiddingAlgorithms; + final arg_request = buildCustomBiddingAlgorithm(); + final arg_customBiddingAlgorithmId = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CustomBiddingAlgorithm.fromJson( + json as core.Map); + checkCustomBiddingAlgorithm(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 27), + unittest.equals('v1/customBiddingAlgorithms/'), + ); + pathOffset += 27; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildCustomBiddingAlgorithm()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch( + arg_request, arg_customBiddingAlgorithmId, + updateMask: arg_updateMask, $fields: arg_$fields); + checkCustomBiddingAlgorithm(response as api.CustomBiddingAlgorithm); + }); }); unittest.group('resource-CustomListsResource', () { diff --git a/generated/googleapis/test/dlp/v2_test.dart b/generated/googleapis/test/dlp/v2_test.dart index c2619fbbd..20f526153 100644 --- a/generated/googleapis/test/dlp/v2_test.dart +++ b/generated/googleapis/test/dlp/v2_test.dart @@ -113,12 +113,12 @@ void checkGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails( buildCounterGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails--; } -core.List buildUnnamed4075() => [ +core.List buildUnnamed4056() => [ buildGooglePrivacyDlpV2QuasiIdField(), buildGooglePrivacyDlpV2QuasiIdField(), ]; -void checkUnnamed4075(core.List o) { +void checkUnnamed4056(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2QuasiIdField(o[0]); checkGooglePrivacyDlpV2QuasiIdField(o[1]); @@ -129,7 +129,7 @@ api.GooglePrivacyDlpV2AuxiliaryTable buildGooglePrivacyDlpV2AuxiliaryTable() { final o = api.GooglePrivacyDlpV2AuxiliaryTable(); buildCounterGooglePrivacyDlpV2AuxiliaryTable++; if (buildCounterGooglePrivacyDlpV2AuxiliaryTable < 3) { - o.quasiIds = buildUnnamed4075(); + o.quasiIds = buildUnnamed4056(); o.relativeFrequency = buildGooglePrivacyDlpV2FieldId(); o.table = buildGooglePrivacyDlpV2BigQueryTable(); } @@ -141,7 +141,7 @@ void checkGooglePrivacyDlpV2AuxiliaryTable( api.GooglePrivacyDlpV2AuxiliaryTable o) { buildCounterGooglePrivacyDlpV2AuxiliaryTable++; if (buildCounterGooglePrivacyDlpV2AuxiliaryTable < 3) { - checkUnnamed4075(o.quasiIds!); + checkUnnamed4056(o.quasiIds!); checkGooglePrivacyDlpV2FieldId(o.relativeFrequency!); checkGooglePrivacyDlpV2BigQueryTable(o.table!); } @@ -194,23 +194,23 @@ void checkGooglePrivacyDlpV2BigQueryKey(api.GooglePrivacyDlpV2BigQueryKey o) { buildCounterGooglePrivacyDlpV2BigQueryKey--; } -core.List buildUnnamed4076() => [ +core.List buildUnnamed4057() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4076(core.List o) { +void checkUnnamed4057(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); } -core.List buildUnnamed4077() => [ +core.List buildUnnamed4058() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4077(core.List o) { +void checkUnnamed4058(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); @@ -221,8 +221,8 @@ api.GooglePrivacyDlpV2BigQueryOptions buildGooglePrivacyDlpV2BigQueryOptions() { final o = api.GooglePrivacyDlpV2BigQueryOptions(); buildCounterGooglePrivacyDlpV2BigQueryOptions++; if (buildCounterGooglePrivacyDlpV2BigQueryOptions < 3) { - o.excludedFields = buildUnnamed4076(); - o.identifyingFields = buildUnnamed4077(); + o.excludedFields = buildUnnamed4057(); + o.identifyingFields = buildUnnamed4058(); o.rowsLimit = 'foo'; o.rowsLimitPercent = 42; o.sampleMethod = 'foo'; @@ -236,8 +236,8 @@ void checkGooglePrivacyDlpV2BigQueryOptions( api.GooglePrivacyDlpV2BigQueryOptions o) { buildCounterGooglePrivacyDlpV2BigQueryOptions++; if (buildCounterGooglePrivacyDlpV2BigQueryOptions < 3) { - checkUnnamed4076(o.excludedFields!); - checkUnnamed4077(o.identifyingFields!); + checkUnnamed4057(o.excludedFields!); + checkUnnamed4058(o.identifyingFields!); unittest.expect( o.rowsLimit!, unittest.equals('foo'), @@ -348,12 +348,12 @@ void checkGooglePrivacyDlpV2Bucket(api.GooglePrivacyDlpV2Bucket o) { buildCounterGooglePrivacyDlpV2Bucket--; } -core.List buildUnnamed4078() => [ +core.List buildUnnamed4059() => [ buildGooglePrivacyDlpV2Bucket(), buildGooglePrivacyDlpV2Bucket(), ]; -void checkUnnamed4078(core.List o) { +void checkUnnamed4059(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Bucket(o[0]); checkGooglePrivacyDlpV2Bucket(o[1]); @@ -364,7 +364,7 @@ api.GooglePrivacyDlpV2BucketingConfig buildGooglePrivacyDlpV2BucketingConfig() { final o = api.GooglePrivacyDlpV2BucketingConfig(); buildCounterGooglePrivacyDlpV2BucketingConfig++; if (buildCounterGooglePrivacyDlpV2BucketingConfig < 3) { - o.buckets = buildUnnamed4078(); + o.buckets = buildUnnamed4059(); } buildCounterGooglePrivacyDlpV2BucketingConfig--; return o; @@ -374,7 +374,7 @@ void checkGooglePrivacyDlpV2BucketingConfig( api.GooglePrivacyDlpV2BucketingConfig o) { buildCounterGooglePrivacyDlpV2BucketingConfig++; if (buildCounterGooglePrivacyDlpV2BucketingConfig < 3) { - checkUnnamed4078(o.buckets!); + checkUnnamed4059(o.buckets!); } buildCounterGooglePrivacyDlpV2BucketingConfig--; } @@ -445,12 +445,12 @@ void checkGooglePrivacyDlpV2CategoricalStatsConfig( buildCounterGooglePrivacyDlpV2CategoricalStatsConfig--; } -core.List buildUnnamed4079() => [ +core.List buildUnnamed4060() => [ buildGooglePrivacyDlpV2ValueFrequency(), buildGooglePrivacyDlpV2ValueFrequency(), ]; -void checkUnnamed4079(core.List o) { +void checkUnnamed4060(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2ValueFrequency(o[0]); checkGooglePrivacyDlpV2ValueFrequency(o[1]); @@ -464,7 +464,7 @@ api.GooglePrivacyDlpV2CategoricalStatsHistogramBucket if (buildCounterGooglePrivacyDlpV2CategoricalStatsHistogramBucket < 3) { o.bucketSize = 'foo'; o.bucketValueCount = 'foo'; - o.bucketValues = buildUnnamed4079(); + o.bucketValues = buildUnnamed4060(); o.valueFrequencyLowerBound = 'foo'; o.valueFrequencyUpperBound = 'foo'; } @@ -484,7 +484,7 @@ void checkGooglePrivacyDlpV2CategoricalStatsHistogramBucket( o.bucketValueCount!, unittest.equals('foo'), ); - checkUnnamed4079(o.bucketValues!); + checkUnnamed4060(o.bucketValues!); unittest.expect( o.valueFrequencyLowerBound!, unittest.equals('foo'), @@ -498,12 +498,12 @@ void checkGooglePrivacyDlpV2CategoricalStatsHistogramBucket( } core.List - buildUnnamed4080() => [ + buildUnnamed4061() => [ buildGooglePrivacyDlpV2CategoricalStatsHistogramBucket(), buildGooglePrivacyDlpV2CategoricalStatsHistogramBucket(), ]; -void checkUnnamed4080( +void checkUnnamed4061( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2CategoricalStatsHistogramBucket(o[0]); @@ -516,7 +516,7 @@ api.GooglePrivacyDlpV2CategoricalStatsResult final o = api.GooglePrivacyDlpV2CategoricalStatsResult(); buildCounterGooglePrivacyDlpV2CategoricalStatsResult++; if (buildCounterGooglePrivacyDlpV2CategoricalStatsResult < 3) { - o.valueFrequencyHistogramBuckets = buildUnnamed4080(); + o.valueFrequencyHistogramBuckets = buildUnnamed4061(); } buildCounterGooglePrivacyDlpV2CategoricalStatsResult--; return o; @@ -526,17 +526,17 @@ void checkGooglePrivacyDlpV2CategoricalStatsResult( api.GooglePrivacyDlpV2CategoricalStatsResult o) { buildCounterGooglePrivacyDlpV2CategoricalStatsResult++; if (buildCounterGooglePrivacyDlpV2CategoricalStatsResult < 3) { - checkUnnamed4080(o.valueFrequencyHistogramBuckets!); + checkUnnamed4061(o.valueFrequencyHistogramBuckets!); } buildCounterGooglePrivacyDlpV2CategoricalStatsResult--; } -core.List buildUnnamed4081() => [ +core.List buildUnnamed4062() => [ buildGooglePrivacyDlpV2CharsToIgnore(), buildGooglePrivacyDlpV2CharsToIgnore(), ]; -void checkUnnamed4081(core.List o) { +void checkUnnamed4062(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2CharsToIgnore(o[0]); checkGooglePrivacyDlpV2CharsToIgnore(o[1]); @@ -548,7 +548,7 @@ api.GooglePrivacyDlpV2CharacterMaskConfig final o = api.GooglePrivacyDlpV2CharacterMaskConfig(); buildCounterGooglePrivacyDlpV2CharacterMaskConfig++; if (buildCounterGooglePrivacyDlpV2CharacterMaskConfig < 3) { - o.charactersToIgnore = buildUnnamed4081(); + o.charactersToIgnore = buildUnnamed4062(); o.maskingCharacter = 'foo'; o.numberToMask = 42; o.reverseOrder = true; @@ -561,7 +561,7 @@ void checkGooglePrivacyDlpV2CharacterMaskConfig( api.GooglePrivacyDlpV2CharacterMaskConfig o) { buildCounterGooglePrivacyDlpV2CharacterMaskConfig++; if (buildCounterGooglePrivacyDlpV2CharacterMaskConfig < 3) { - checkUnnamed4081(o.charactersToIgnore!); + checkUnnamed4062(o.charactersToIgnore!); unittest.expect( o.maskingCharacter!, unittest.equals('foo'), @@ -627,12 +627,12 @@ void checkGooglePrivacyDlpV2CloudStorageFileSet( buildCounterGooglePrivacyDlpV2CloudStorageFileSet--; } -core.List buildUnnamed4082() => [ +core.List buildUnnamed4063() => [ 'foo', 'foo', ]; -void checkUnnamed4082(core.List o) { +void checkUnnamed4063(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -653,7 +653,7 @@ api.GooglePrivacyDlpV2CloudStorageOptions o.bytesLimitPerFile = 'foo'; o.bytesLimitPerFilePercent = 42; o.fileSet = buildGooglePrivacyDlpV2FileSet(); - o.fileTypes = buildUnnamed4082(); + o.fileTypes = buildUnnamed4063(); o.filesLimitPercent = 42; o.sampleMethod = 'foo'; } @@ -674,7 +674,7 @@ void checkGooglePrivacyDlpV2CloudStorageOptions( unittest.equals(42), ); checkGooglePrivacyDlpV2FileSet(o.fileSet!); - checkUnnamed4082(o.fileTypes!); + checkUnnamed4063(o.fileTypes!); unittest.expect( o.filesLimitPercent!, unittest.equals(42), @@ -711,12 +711,12 @@ void checkGooglePrivacyDlpV2CloudStoragePath( buildCounterGooglePrivacyDlpV2CloudStoragePath--; } -core.List buildUnnamed4083() => [ +core.List buildUnnamed4064() => [ 'foo', 'foo', ]; -void checkUnnamed4083(core.List o) { +void checkUnnamed4064(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -728,12 +728,12 @@ void checkUnnamed4083(core.List o) { ); } -core.List buildUnnamed4084() => [ +core.List buildUnnamed4065() => [ 'foo', 'foo', ]; -void checkUnnamed4084(core.List o) { +void checkUnnamed4065(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -752,8 +752,8 @@ api.GooglePrivacyDlpV2CloudStorageRegexFileSet buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet++; if (buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet < 3) { o.bucketName = 'foo'; - o.excludeRegex = buildUnnamed4083(); - o.includeRegex = buildUnnamed4084(); + o.excludeRegex = buildUnnamed4064(); + o.includeRegex = buildUnnamed4065(); } buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet--; return o; @@ -767,8 +767,8 @@ void checkGooglePrivacyDlpV2CloudStorageRegexFileSet( o.bucketName!, unittest.equals('foo'), ); - checkUnnamed4083(o.excludeRegex!); - checkUnnamed4084(o.includeRegex!); + checkUnnamed4064(o.excludeRegex!); + checkUnnamed4065(o.includeRegex!); } buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet--; } @@ -831,12 +831,12 @@ void checkGooglePrivacyDlpV2Condition(api.GooglePrivacyDlpV2Condition o) { buildCounterGooglePrivacyDlpV2Condition--; } -core.List buildUnnamed4085() => [ +core.List buildUnnamed4066() => [ buildGooglePrivacyDlpV2Condition(), buildGooglePrivacyDlpV2Condition(), ]; -void checkUnnamed4085(core.List o) { +void checkUnnamed4066(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Condition(o[0]); checkGooglePrivacyDlpV2Condition(o[1]); @@ -847,7 +847,7 @@ api.GooglePrivacyDlpV2Conditions buildGooglePrivacyDlpV2Conditions() { final o = api.GooglePrivacyDlpV2Conditions(); buildCounterGooglePrivacyDlpV2Conditions++; if (buildCounterGooglePrivacyDlpV2Conditions < 3) { - o.conditions = buildUnnamed4085(); + o.conditions = buildUnnamed4066(); } buildCounterGooglePrivacyDlpV2Conditions--; return o; @@ -856,7 +856,7 @@ api.GooglePrivacyDlpV2Conditions buildGooglePrivacyDlpV2Conditions() { void checkGooglePrivacyDlpV2Conditions(api.GooglePrivacyDlpV2Conditions o) { buildCounterGooglePrivacyDlpV2Conditions++; if (buildCounterGooglePrivacyDlpV2Conditions < 3) { - checkUnnamed4085(o.conditions!); + checkUnnamed4066(o.conditions!); } buildCounterGooglePrivacyDlpV2Conditions--; } @@ -1246,12 +1246,12 @@ void checkGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig( buildCounterGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig--; } -core.List buildUnnamed4086() => [ +core.List buildUnnamed4067() => [ buildGooglePrivacyDlpV2DetectionRule(), buildGooglePrivacyDlpV2DetectionRule(), ]; -void checkUnnamed4086(core.List o) { +void checkUnnamed4067(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2DetectionRule(o[0]); checkGooglePrivacyDlpV2DetectionRule(o[1]); @@ -1262,7 +1262,7 @@ api.GooglePrivacyDlpV2CustomInfoType buildGooglePrivacyDlpV2CustomInfoType() { final o = api.GooglePrivacyDlpV2CustomInfoType(); buildCounterGooglePrivacyDlpV2CustomInfoType++; if (buildCounterGooglePrivacyDlpV2CustomInfoType < 3) { - o.detectionRules = buildUnnamed4086(); + o.detectionRules = buildUnnamed4067(); o.dictionary = buildGooglePrivacyDlpV2Dictionary(); o.exclusionType = 'foo'; o.infoType = buildGooglePrivacyDlpV2InfoType(); @@ -1279,7 +1279,7 @@ void checkGooglePrivacyDlpV2CustomInfoType( api.GooglePrivacyDlpV2CustomInfoType o) { buildCounterGooglePrivacyDlpV2CustomInfoType++; if (buildCounterGooglePrivacyDlpV2CustomInfoType < 3) { - checkUnnamed4086(o.detectionRules!); + checkUnnamed4067(o.detectionRules!); checkGooglePrivacyDlpV2Dictionary(o.dictionary!); unittest.expect( o.exclusionType!, @@ -1536,23 +1536,23 @@ void checkGooglePrivacyDlpV2DeidentifyTemplate( buildCounterGooglePrivacyDlpV2DeidentifyTemplate--; } -core.List buildUnnamed4087() => [ +core.List buildUnnamed4068() => [ buildGooglePrivacyDlpV2StatisticalTable(), buildGooglePrivacyDlpV2StatisticalTable(), ]; -void checkUnnamed4087(core.List o) { +void checkUnnamed4068(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2StatisticalTable(o[0]); checkGooglePrivacyDlpV2StatisticalTable(o[1]); } -core.List buildUnnamed4088() => [ +core.List buildUnnamed4069() => [ buildGooglePrivacyDlpV2QuasiId(), buildGooglePrivacyDlpV2QuasiId(), ]; -void checkUnnamed4088(core.List o) { +void checkUnnamed4069(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2QuasiId(o[0]); checkGooglePrivacyDlpV2QuasiId(o[1]); @@ -1564,8 +1564,8 @@ api.GooglePrivacyDlpV2DeltaPresenceEstimationConfig final o = api.GooglePrivacyDlpV2DeltaPresenceEstimationConfig(); buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig++; if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig < 3) { - o.auxiliaryTables = buildUnnamed4087(); - o.quasiIds = buildUnnamed4088(); + o.auxiliaryTables = buildUnnamed4068(); + o.quasiIds = buildUnnamed4069(); o.regionCode = 'foo'; } buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig--; @@ -1576,8 +1576,8 @@ void checkGooglePrivacyDlpV2DeltaPresenceEstimationConfig( api.GooglePrivacyDlpV2DeltaPresenceEstimationConfig o) { buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig++; if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig < 3) { - checkUnnamed4087(o.auxiliaryTables!); - checkUnnamed4088(o.quasiIds!); + checkUnnamed4068(o.auxiliaryTables!); + checkUnnamed4069(o.quasiIds!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -1587,12 +1587,12 @@ void checkGooglePrivacyDlpV2DeltaPresenceEstimationConfig( } core.List - buildUnnamed4089() => [ + buildUnnamed4070() => [ buildGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues(), buildGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues(), ]; -void checkUnnamed4089( +void checkUnnamed4070( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues(o[0]); @@ -1609,7 +1609,7 @@ api.GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket 3) { o.bucketSize = 'foo'; o.bucketValueCount = 'foo'; - o.bucketValues = buildUnnamed4089(); + o.bucketValues = buildUnnamed4070(); o.maxProbability = 42.0; o.minProbability = 42.0; } @@ -1630,7 +1630,7 @@ void checkGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket( o.bucketValueCount!, unittest.equals('foo'), ); - checkUnnamed4089(o.bucketValues!); + checkUnnamed4070(o.bucketValues!); unittest.expect( o.maxProbability!, unittest.equals(42.0), @@ -1643,12 +1643,12 @@ void checkGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket( buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket--; } -core.List buildUnnamed4090() => [ +core.List buildUnnamed4071() => [ buildGooglePrivacyDlpV2Value(), buildGooglePrivacyDlpV2Value(), ]; -void checkUnnamed4090(core.List o) { +void checkUnnamed4071(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Value(o[0]); checkGooglePrivacyDlpV2Value(o[1]); @@ -1661,7 +1661,7 @@ api.GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues++; if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues < 3) { o.estimatedProbability = 42.0; - o.quasiIdsValues = buildUnnamed4090(); + o.quasiIdsValues = buildUnnamed4071(); } buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues--; return o; @@ -1675,18 +1675,18 @@ void checkGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues( o.estimatedProbability!, unittest.equals(42.0), ); - checkUnnamed4090(o.quasiIdsValues!); + checkUnnamed4071(o.quasiIdsValues!); } buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues--; } core.List - buildUnnamed4091() => [ + buildUnnamed4072() => [ buildGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket(), buildGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket(), ]; -void checkUnnamed4091( +void checkUnnamed4072( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket(o[0]); @@ -1699,7 +1699,7 @@ api.GooglePrivacyDlpV2DeltaPresenceEstimationResult final o = api.GooglePrivacyDlpV2DeltaPresenceEstimationResult(); buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult++; if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult < 3) { - o.deltaPresenceEstimationHistogram = buildUnnamed4091(); + o.deltaPresenceEstimationHistogram = buildUnnamed4072(); } buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult--; return o; @@ -1709,7 +1709,7 @@ void checkGooglePrivacyDlpV2DeltaPresenceEstimationResult( api.GooglePrivacyDlpV2DeltaPresenceEstimationResult o) { buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult++; if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult < 3) { - checkUnnamed4091(o.deltaPresenceEstimationHistogram!); + checkUnnamed4072(o.deltaPresenceEstimationHistogram!); } buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult--; } @@ -1755,12 +1755,12 @@ void checkGooglePrivacyDlpV2Dictionary(api.GooglePrivacyDlpV2Dictionary o) { buildCounterGooglePrivacyDlpV2Dictionary--; } -core.List buildUnnamed4092() => [ +core.List buildUnnamed4073() => [ buildGooglePrivacyDlpV2Error(), buildGooglePrivacyDlpV2Error(), ]; -void checkUnnamed4092(core.List o) { +void checkUnnamed4073(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Error(o[0]); checkGooglePrivacyDlpV2Error(o[1]); @@ -1773,7 +1773,7 @@ api.GooglePrivacyDlpV2DlpJob buildGooglePrivacyDlpV2DlpJob() { if (buildCounterGooglePrivacyDlpV2DlpJob < 3) { o.createTime = 'foo'; o.endTime = 'foo'; - o.errors = buildUnnamed4092(); + o.errors = buildUnnamed4073(); o.inspectDetails = buildGooglePrivacyDlpV2InspectDataSourceDetails(); o.jobTriggerName = 'foo'; o.name = 'foo'; @@ -1797,7 +1797,7 @@ void checkGooglePrivacyDlpV2DlpJob(api.GooglePrivacyDlpV2DlpJob o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed4092(o.errors!); + checkUnnamed4073(o.errors!); checkGooglePrivacyDlpV2InspectDataSourceDetails(o.inspectDetails!); unittest.expect( o.jobTriggerName!, @@ -1867,12 +1867,12 @@ void checkGooglePrivacyDlpV2EntityId(api.GooglePrivacyDlpV2EntityId o) { buildCounterGooglePrivacyDlpV2EntityId--; } -core.List buildUnnamed4093() => [ +core.List buildUnnamed4074() => [ 'foo', 'foo', ]; -void checkUnnamed4093(core.List o) { +void checkUnnamed4074(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1890,7 +1890,7 @@ api.GooglePrivacyDlpV2Error buildGooglePrivacyDlpV2Error() { buildCounterGooglePrivacyDlpV2Error++; if (buildCounterGooglePrivacyDlpV2Error < 3) { o.details = buildGoogleRpcStatus(); - o.timestamps = buildUnnamed4093(); + o.timestamps = buildUnnamed4074(); } buildCounterGooglePrivacyDlpV2Error--; return o; @@ -1900,17 +1900,17 @@ void checkGooglePrivacyDlpV2Error(api.GooglePrivacyDlpV2Error o) { buildCounterGooglePrivacyDlpV2Error++; if (buildCounterGooglePrivacyDlpV2Error < 3) { checkGoogleRpcStatus(o.details!); - checkUnnamed4093(o.timestamps!); + checkUnnamed4074(o.timestamps!); } buildCounterGooglePrivacyDlpV2Error--; } -core.List buildUnnamed4094() => [ +core.List buildUnnamed4075() => [ buildGooglePrivacyDlpV2InfoType(), buildGooglePrivacyDlpV2InfoType(), ]; -void checkUnnamed4094(core.List o) { +void checkUnnamed4075(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoType(o[0]); checkGooglePrivacyDlpV2InfoType(o[1]); @@ -1922,7 +1922,7 @@ api.GooglePrivacyDlpV2ExcludeInfoTypes final o = api.GooglePrivacyDlpV2ExcludeInfoTypes(); buildCounterGooglePrivacyDlpV2ExcludeInfoTypes++; if (buildCounterGooglePrivacyDlpV2ExcludeInfoTypes < 3) { - o.infoTypes = buildUnnamed4094(); + o.infoTypes = buildUnnamed4075(); } buildCounterGooglePrivacyDlpV2ExcludeInfoTypes--; return o; @@ -1932,7 +1932,7 @@ void checkGooglePrivacyDlpV2ExcludeInfoTypes( api.GooglePrivacyDlpV2ExcludeInfoTypes o) { buildCounterGooglePrivacyDlpV2ExcludeInfoTypes++; if (buildCounterGooglePrivacyDlpV2ExcludeInfoTypes < 3) { - checkUnnamed4094(o.infoTypes!); + checkUnnamed4075(o.infoTypes!); } buildCounterGooglePrivacyDlpV2ExcludeInfoTypes--; } @@ -2012,12 +2012,12 @@ void checkGooglePrivacyDlpV2FieldId(api.GooglePrivacyDlpV2FieldId o) { buildCounterGooglePrivacyDlpV2FieldId--; } -core.List buildUnnamed4095() => [ +core.List buildUnnamed4076() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4095(core.List o) { +void checkUnnamed4076(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); @@ -2030,7 +2030,7 @@ api.GooglePrivacyDlpV2FieldTransformation buildCounterGooglePrivacyDlpV2FieldTransformation++; if (buildCounterGooglePrivacyDlpV2FieldTransformation < 3) { o.condition = buildGooglePrivacyDlpV2RecordCondition(); - o.fields = buildUnnamed4095(); + o.fields = buildUnnamed4076(); o.infoTypeTransformations = buildGooglePrivacyDlpV2InfoTypeTransformations(); o.primitiveTransformation = @@ -2045,7 +2045,7 @@ void checkGooglePrivacyDlpV2FieldTransformation( buildCounterGooglePrivacyDlpV2FieldTransformation++; if (buildCounterGooglePrivacyDlpV2FieldTransformation < 3) { checkGooglePrivacyDlpV2RecordCondition(o.condition!); - checkUnnamed4095(o.fields!); + checkUnnamed4076(o.fields!); checkGooglePrivacyDlpV2InfoTypeTransformations(o.infoTypeTransformations!); checkGooglePrivacyDlpV2PrimitiveTransformation(o.primitiveTransformation!); } @@ -2076,12 +2076,12 @@ void checkGooglePrivacyDlpV2FileSet(api.GooglePrivacyDlpV2FileSet o) { buildCounterGooglePrivacyDlpV2FileSet--; } -core.Map buildUnnamed4096() => { +core.Map buildUnnamed4077() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4096(core.Map o) { +void checkUnnamed4077(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2103,7 +2103,7 @@ api.GooglePrivacyDlpV2Finding buildGooglePrivacyDlpV2Finding() { o.infoType = buildGooglePrivacyDlpV2InfoType(); o.jobCreateTime = 'foo'; o.jobName = 'foo'; - o.labels = buildUnnamed4096(); + o.labels = buildUnnamed4077(); o.likelihood = 'foo'; o.location = buildGooglePrivacyDlpV2Location(); o.name = 'foo'; @@ -2136,7 +2136,7 @@ void checkGooglePrivacyDlpV2Finding(api.GooglePrivacyDlpV2Finding o) { o.jobName!, unittest.equals('foo'), ); - checkUnnamed4096(o.labels!); + checkUnnamed4077(o.labels!); unittest.expect( o.likelihood!, unittest.equals('foo'), @@ -2163,12 +2163,12 @@ void checkGooglePrivacyDlpV2Finding(api.GooglePrivacyDlpV2Finding o) { buildCounterGooglePrivacyDlpV2Finding--; } -core.List buildUnnamed4097() => [ +core.List buildUnnamed4078() => [ buildGooglePrivacyDlpV2InfoTypeLimit(), buildGooglePrivacyDlpV2InfoTypeLimit(), ]; -void checkUnnamed4097(core.List o) { +void checkUnnamed4078(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoTypeLimit(o[0]); checkGooglePrivacyDlpV2InfoTypeLimit(o[1]); @@ -2179,7 +2179,7 @@ api.GooglePrivacyDlpV2FindingLimits buildGooglePrivacyDlpV2FindingLimits() { final o = api.GooglePrivacyDlpV2FindingLimits(); buildCounterGooglePrivacyDlpV2FindingLimits++; if (buildCounterGooglePrivacyDlpV2FindingLimits < 3) { - o.maxFindingsPerInfoType = buildUnnamed4097(); + o.maxFindingsPerInfoType = buildUnnamed4078(); o.maxFindingsPerItem = 42; o.maxFindingsPerRequest = 42; } @@ -2191,7 +2191,7 @@ void checkGooglePrivacyDlpV2FindingLimits( api.GooglePrivacyDlpV2FindingLimits o) { buildCounterGooglePrivacyDlpV2FindingLimits++; if (buildCounterGooglePrivacyDlpV2FindingLimits < 3) { - checkUnnamed4097(o.maxFindingsPerInfoType!); + checkUnnamed4078(o.maxFindingsPerInfoType!); unittest.expect( o.maxFindingsPerItem!, unittest.equals(42), @@ -2295,12 +2295,12 @@ void checkGooglePrivacyDlpV2HybridContentItem( buildCounterGooglePrivacyDlpV2HybridContentItem--; } -core.Map buildUnnamed4098() => { +core.Map buildUnnamed4079() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4098(core.Map o) { +void checkUnnamed4079(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2320,7 +2320,7 @@ api.GooglePrivacyDlpV2HybridFindingDetails if (buildCounterGooglePrivacyDlpV2HybridFindingDetails < 3) { o.containerDetails = buildGooglePrivacyDlpV2Container(); o.fileOffset = 'foo'; - o.labels = buildUnnamed4098(); + o.labels = buildUnnamed4079(); o.rowOffset = 'foo'; o.tableOptions = buildGooglePrivacyDlpV2TableOptions(); } @@ -2337,7 +2337,7 @@ void checkGooglePrivacyDlpV2HybridFindingDetails( o.fileOffset!, unittest.equals('foo'), ); - checkUnnamed4098(o.labels!); + checkUnnamed4079(o.labels!); unittest.expect( o.rowOffset!, unittest.equals('foo'), @@ -2440,12 +2440,12 @@ void checkGooglePrivacyDlpV2HybridInspectStatistics( buildCounterGooglePrivacyDlpV2HybridInspectStatistics--; } -core.Map buildUnnamed4099() => { +core.Map buildUnnamed4080() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4099(core.Map o) { +void checkUnnamed4080(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2457,12 +2457,12 @@ void checkUnnamed4099(core.Map o) { ); } -core.List buildUnnamed4100() => [ +core.List buildUnnamed4081() => [ 'foo', 'foo', ]; -void checkUnnamed4100(core.List o) { +void checkUnnamed4081(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2480,8 +2480,8 @@ api.GooglePrivacyDlpV2HybridOptions buildGooglePrivacyDlpV2HybridOptions() { buildCounterGooglePrivacyDlpV2HybridOptions++; if (buildCounterGooglePrivacyDlpV2HybridOptions < 3) { o.description = 'foo'; - o.labels = buildUnnamed4099(); - o.requiredFindingLabelKeys = buildUnnamed4100(); + o.labels = buildUnnamed4080(); + o.requiredFindingLabelKeys = buildUnnamed4081(); o.tableOptions = buildGooglePrivacyDlpV2TableOptions(); } buildCounterGooglePrivacyDlpV2HybridOptions--; @@ -2496,19 +2496,19 @@ void checkGooglePrivacyDlpV2HybridOptions( o.description!, unittest.equals('foo'), ); - checkUnnamed4099(o.labels!); - checkUnnamed4100(o.requiredFindingLabelKeys!); + checkUnnamed4080(o.labels!); + checkUnnamed4081(o.requiredFindingLabelKeys!); checkGooglePrivacyDlpV2TableOptions(o.tableOptions!); } buildCounterGooglePrivacyDlpV2HybridOptions--; } -core.List buildUnnamed4101() => [ +core.List buildUnnamed4082() => [ buildGooglePrivacyDlpV2BoundingBox(), buildGooglePrivacyDlpV2BoundingBox(), ]; -void checkUnnamed4101(core.List o) { +void checkUnnamed4082(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2BoundingBox(o[0]); checkGooglePrivacyDlpV2BoundingBox(o[1]); @@ -2519,7 +2519,7 @@ api.GooglePrivacyDlpV2ImageLocation buildGooglePrivacyDlpV2ImageLocation() { final o = api.GooglePrivacyDlpV2ImageLocation(); buildCounterGooglePrivacyDlpV2ImageLocation++; if (buildCounterGooglePrivacyDlpV2ImageLocation < 3) { - o.boundingBoxes = buildUnnamed4101(); + o.boundingBoxes = buildUnnamed4082(); } buildCounterGooglePrivacyDlpV2ImageLocation--; return o; @@ -2529,7 +2529,7 @@ void checkGooglePrivacyDlpV2ImageLocation( api.GooglePrivacyDlpV2ImageLocation o) { buildCounterGooglePrivacyDlpV2ImageLocation++; if (buildCounterGooglePrivacyDlpV2ImageLocation < 3) { - checkUnnamed4101(o.boundingBoxes!); + checkUnnamed4082(o.boundingBoxes!); } buildCounterGooglePrivacyDlpV2ImageLocation--; } @@ -2581,12 +2581,12 @@ void checkGooglePrivacyDlpV2InfoType(api.GooglePrivacyDlpV2InfoType o) { buildCounterGooglePrivacyDlpV2InfoType--; } -core.List buildUnnamed4102() => [ +core.List buildUnnamed4083() => [ 'foo', 'foo', ]; -void checkUnnamed4102(core.List o) { +void checkUnnamed4083(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2607,7 +2607,7 @@ api.GooglePrivacyDlpV2InfoTypeDescription o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; - o.supportedBy = buildUnnamed4102(); + o.supportedBy = buildUnnamed4083(); } buildCounterGooglePrivacyDlpV2InfoTypeDescription--; return o; @@ -2629,7 +2629,7 @@ void checkGooglePrivacyDlpV2InfoTypeDescription( o.name!, unittest.equals('foo'), ); - checkUnnamed4102(o.supportedBy!); + checkUnnamed4083(o.supportedBy!); } buildCounterGooglePrivacyDlpV2InfoTypeDescription--; } @@ -2684,12 +2684,12 @@ void checkGooglePrivacyDlpV2InfoTypeStats( buildCounterGooglePrivacyDlpV2InfoTypeStats--; } -core.List buildUnnamed4103() => [ +core.List buildUnnamed4084() => [ buildGooglePrivacyDlpV2InfoType(), buildGooglePrivacyDlpV2InfoType(), ]; -void checkUnnamed4103(core.List o) { +void checkUnnamed4084(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoType(o[0]); checkGooglePrivacyDlpV2InfoType(o[1]); @@ -2701,7 +2701,7 @@ api.GooglePrivacyDlpV2InfoTypeTransformation final o = api.GooglePrivacyDlpV2InfoTypeTransformation(); buildCounterGooglePrivacyDlpV2InfoTypeTransformation++; if (buildCounterGooglePrivacyDlpV2InfoTypeTransformation < 3) { - o.infoTypes = buildUnnamed4103(); + o.infoTypes = buildUnnamed4084(); o.primitiveTransformation = buildGooglePrivacyDlpV2PrimitiveTransformation(); } @@ -2713,18 +2713,18 @@ void checkGooglePrivacyDlpV2InfoTypeTransformation( api.GooglePrivacyDlpV2InfoTypeTransformation o) { buildCounterGooglePrivacyDlpV2InfoTypeTransformation++; if (buildCounterGooglePrivacyDlpV2InfoTypeTransformation < 3) { - checkUnnamed4103(o.infoTypes!); + checkUnnamed4084(o.infoTypes!); checkGooglePrivacyDlpV2PrimitiveTransformation(o.primitiveTransformation!); } buildCounterGooglePrivacyDlpV2InfoTypeTransformation--; } -core.List buildUnnamed4104() => [ +core.List buildUnnamed4085() => [ buildGooglePrivacyDlpV2InfoTypeTransformation(), buildGooglePrivacyDlpV2InfoTypeTransformation(), ]; -void checkUnnamed4104( +void checkUnnamed4085( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoTypeTransformation(o[0]); @@ -2737,7 +2737,7 @@ api.GooglePrivacyDlpV2InfoTypeTransformations final o = api.GooglePrivacyDlpV2InfoTypeTransformations(); buildCounterGooglePrivacyDlpV2InfoTypeTransformations++; if (buildCounterGooglePrivacyDlpV2InfoTypeTransformations < 3) { - o.transformations = buildUnnamed4104(); + o.transformations = buildUnnamed4085(); } buildCounterGooglePrivacyDlpV2InfoTypeTransformations--; return o; @@ -2747,17 +2747,17 @@ void checkGooglePrivacyDlpV2InfoTypeTransformations( api.GooglePrivacyDlpV2InfoTypeTransformations o) { buildCounterGooglePrivacyDlpV2InfoTypeTransformations++; if (buildCounterGooglePrivacyDlpV2InfoTypeTransformations < 3) { - checkUnnamed4104(o.transformations!); + checkUnnamed4085(o.transformations!); } buildCounterGooglePrivacyDlpV2InfoTypeTransformations--; } -core.List buildUnnamed4105() => [ +core.List buildUnnamed4086() => [ 'foo', 'foo', ]; -void checkUnnamed4105(core.List o) { +void checkUnnamed4086(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2769,34 +2769,34 @@ void checkUnnamed4105(core.List o) { ); } -core.List buildUnnamed4106() => [ +core.List buildUnnamed4087() => [ buildGooglePrivacyDlpV2CustomInfoType(), buildGooglePrivacyDlpV2CustomInfoType(), ]; -void checkUnnamed4106(core.List o) { +void checkUnnamed4087(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2CustomInfoType(o[0]); checkGooglePrivacyDlpV2CustomInfoType(o[1]); } -core.List buildUnnamed4107() => [ +core.List buildUnnamed4088() => [ buildGooglePrivacyDlpV2InfoType(), buildGooglePrivacyDlpV2InfoType(), ]; -void checkUnnamed4107(core.List o) { +void checkUnnamed4088(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoType(o[0]); checkGooglePrivacyDlpV2InfoType(o[1]); } -core.List buildUnnamed4108() => [ +core.List buildUnnamed4089() => [ buildGooglePrivacyDlpV2InspectionRuleSet(), buildGooglePrivacyDlpV2InspectionRuleSet(), ]; -void checkUnnamed4108(core.List o) { +void checkUnnamed4089(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InspectionRuleSet(o[0]); checkGooglePrivacyDlpV2InspectionRuleSet(o[1]); @@ -2807,14 +2807,14 @@ api.GooglePrivacyDlpV2InspectConfig buildGooglePrivacyDlpV2InspectConfig() { final o = api.GooglePrivacyDlpV2InspectConfig(); buildCounterGooglePrivacyDlpV2InspectConfig++; if (buildCounterGooglePrivacyDlpV2InspectConfig < 3) { - o.contentOptions = buildUnnamed4105(); - o.customInfoTypes = buildUnnamed4106(); + o.contentOptions = buildUnnamed4086(); + o.customInfoTypes = buildUnnamed4087(); o.excludeInfoTypes = true; o.includeQuote = true; - o.infoTypes = buildUnnamed4107(); + o.infoTypes = buildUnnamed4088(); o.limits = buildGooglePrivacyDlpV2FindingLimits(); o.minLikelihood = 'foo'; - o.ruleSet = buildUnnamed4108(); + o.ruleSet = buildUnnamed4089(); } buildCounterGooglePrivacyDlpV2InspectConfig--; return o; @@ -2824,17 +2824,17 @@ void checkGooglePrivacyDlpV2InspectConfig( api.GooglePrivacyDlpV2InspectConfig o) { buildCounterGooglePrivacyDlpV2InspectConfig++; if (buildCounterGooglePrivacyDlpV2InspectConfig < 3) { - checkUnnamed4105(o.contentOptions!); - checkUnnamed4106(o.customInfoTypes!); + checkUnnamed4086(o.contentOptions!); + checkUnnamed4087(o.customInfoTypes!); unittest.expect(o.excludeInfoTypes!, unittest.isTrue); unittest.expect(o.includeQuote!, unittest.isTrue); - checkUnnamed4107(o.infoTypes!); + checkUnnamed4088(o.infoTypes!); checkGooglePrivacyDlpV2FindingLimits(o.limits!); unittest.expect( o.minLikelihood!, unittest.equals('foo'), ); - checkUnnamed4108(o.ruleSet!); + checkUnnamed4089(o.ruleSet!); } buildCounterGooglePrivacyDlpV2InspectConfig--; } @@ -2916,12 +2916,12 @@ void checkGooglePrivacyDlpV2InspectDataSourceDetails( buildCounterGooglePrivacyDlpV2InspectDataSourceDetails--; } -core.List buildUnnamed4109() => [ +core.List buildUnnamed4090() => [ buildGooglePrivacyDlpV2Action(), buildGooglePrivacyDlpV2Action(), ]; -void checkUnnamed4109(core.List o) { +void checkUnnamed4090(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Action(o[0]); checkGooglePrivacyDlpV2Action(o[1]); @@ -2933,7 +2933,7 @@ api.GooglePrivacyDlpV2InspectJobConfig final o = api.GooglePrivacyDlpV2InspectJobConfig(); buildCounterGooglePrivacyDlpV2InspectJobConfig++; if (buildCounterGooglePrivacyDlpV2InspectJobConfig < 3) { - o.actions = buildUnnamed4109(); + o.actions = buildUnnamed4090(); o.inspectConfig = buildGooglePrivacyDlpV2InspectConfig(); o.inspectTemplateName = 'foo'; o.storageConfig = buildGooglePrivacyDlpV2StorageConfig(); @@ -2946,7 +2946,7 @@ void checkGooglePrivacyDlpV2InspectJobConfig( api.GooglePrivacyDlpV2InspectJobConfig o) { buildCounterGooglePrivacyDlpV2InspectJobConfig++; if (buildCounterGooglePrivacyDlpV2InspectJobConfig < 3) { - checkUnnamed4109(o.actions!); + checkUnnamed4090(o.actions!); checkGooglePrivacyDlpV2InspectConfig(o.inspectConfig!); unittest.expect( o.inspectTemplateName!, @@ -2957,12 +2957,12 @@ void checkGooglePrivacyDlpV2InspectJobConfig( buildCounterGooglePrivacyDlpV2InspectJobConfig--; } -core.List buildUnnamed4110() => [ +core.List buildUnnamed4091() => [ buildGooglePrivacyDlpV2Finding(), buildGooglePrivacyDlpV2Finding(), ]; -void checkUnnamed4110(core.List o) { +void checkUnnamed4091(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Finding(o[0]); checkGooglePrivacyDlpV2Finding(o[1]); @@ -2973,7 +2973,7 @@ api.GooglePrivacyDlpV2InspectResult buildGooglePrivacyDlpV2InspectResult() { final o = api.GooglePrivacyDlpV2InspectResult(); buildCounterGooglePrivacyDlpV2InspectResult++; if (buildCounterGooglePrivacyDlpV2InspectResult < 3) { - o.findings = buildUnnamed4110(); + o.findings = buildUnnamed4091(); o.findingsTruncated = true; } buildCounterGooglePrivacyDlpV2InspectResult--; @@ -2984,7 +2984,7 @@ void checkGooglePrivacyDlpV2InspectResult( api.GooglePrivacyDlpV2InspectResult o) { buildCounterGooglePrivacyDlpV2InspectResult++; if (buildCounterGooglePrivacyDlpV2InspectResult < 3) { - checkUnnamed4110(o.findings!); + checkUnnamed4091(o.findings!); unittest.expect(o.findingsTruncated!, unittest.isTrue); } buildCounterGooglePrivacyDlpV2InspectResult--; @@ -3057,23 +3057,23 @@ void checkGooglePrivacyDlpV2InspectionRule( buildCounterGooglePrivacyDlpV2InspectionRule--; } -core.List buildUnnamed4111() => [ +core.List buildUnnamed4092() => [ buildGooglePrivacyDlpV2InfoType(), buildGooglePrivacyDlpV2InfoType(), ]; -void checkUnnamed4111(core.List o) { +void checkUnnamed4092(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoType(o[0]); checkGooglePrivacyDlpV2InfoType(o[1]); } -core.List buildUnnamed4112() => [ +core.List buildUnnamed4093() => [ buildGooglePrivacyDlpV2InspectionRule(), buildGooglePrivacyDlpV2InspectionRule(), ]; -void checkUnnamed4112(core.List o) { +void checkUnnamed4093(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InspectionRule(o[0]); checkGooglePrivacyDlpV2InspectionRule(o[1]); @@ -3085,8 +3085,8 @@ api.GooglePrivacyDlpV2InspectionRuleSet final o = api.GooglePrivacyDlpV2InspectionRuleSet(); buildCounterGooglePrivacyDlpV2InspectionRuleSet++; if (buildCounterGooglePrivacyDlpV2InspectionRuleSet < 3) { - o.infoTypes = buildUnnamed4111(); - o.rules = buildUnnamed4112(); + o.infoTypes = buildUnnamed4092(); + o.rules = buildUnnamed4093(); } buildCounterGooglePrivacyDlpV2InspectionRuleSet--; return o; @@ -3096,8 +3096,8 @@ void checkGooglePrivacyDlpV2InspectionRuleSet( api.GooglePrivacyDlpV2InspectionRuleSet o) { buildCounterGooglePrivacyDlpV2InspectionRuleSet++; if (buildCounterGooglePrivacyDlpV2InspectionRuleSet < 3) { - checkUnnamed4111(o.infoTypes!); - checkUnnamed4112(o.rules!); + checkUnnamed4092(o.infoTypes!); + checkUnnamed4093(o.rules!); } buildCounterGooglePrivacyDlpV2InspectionRuleSet--; } @@ -3119,23 +3119,23 @@ void checkGooglePrivacyDlpV2JobNotificationEmails( buildCounterGooglePrivacyDlpV2JobNotificationEmails--; } -core.List buildUnnamed4113() => [ +core.List buildUnnamed4094() => [ buildGooglePrivacyDlpV2Error(), buildGooglePrivacyDlpV2Error(), ]; -void checkUnnamed4113(core.List o) { +void checkUnnamed4094(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Error(o[0]); checkGooglePrivacyDlpV2Error(o[1]); } -core.List buildUnnamed4114() => [ +core.List buildUnnamed4095() => [ buildGooglePrivacyDlpV2Trigger(), buildGooglePrivacyDlpV2Trigger(), ]; -void checkUnnamed4114(core.List o) { +void checkUnnamed4095(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Trigger(o[0]); checkGooglePrivacyDlpV2Trigger(o[1]); @@ -3149,12 +3149,12 @@ api.GooglePrivacyDlpV2JobTrigger buildGooglePrivacyDlpV2JobTrigger() { o.createTime = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.errors = buildUnnamed4113(); + o.errors = buildUnnamed4094(); o.inspectJob = buildGooglePrivacyDlpV2InspectJobConfig(); o.lastRunTime = 'foo'; o.name = 'foo'; o.status = 'foo'; - o.triggers = buildUnnamed4114(); + o.triggers = buildUnnamed4095(); o.updateTime = 'foo'; } buildCounterGooglePrivacyDlpV2JobTrigger--; @@ -3176,7 +3176,7 @@ void checkGooglePrivacyDlpV2JobTrigger(api.GooglePrivacyDlpV2JobTrigger o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4113(o.errors!); + checkUnnamed4094(o.errors!); checkGooglePrivacyDlpV2InspectJobConfig(o.inspectJob!); unittest.expect( o.lastRunTime!, @@ -3190,7 +3190,7 @@ void checkGooglePrivacyDlpV2JobTrigger(api.GooglePrivacyDlpV2JobTrigger o) { o.status!, unittest.equals('foo'), ); - checkUnnamed4114(o.triggers!); + checkUnnamed4095(o.triggers!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -3199,12 +3199,12 @@ void checkGooglePrivacyDlpV2JobTrigger(api.GooglePrivacyDlpV2JobTrigger o) { buildCounterGooglePrivacyDlpV2JobTrigger--; } -core.List buildUnnamed4115() => [ +core.List buildUnnamed4096() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4115(core.List o) { +void checkUnnamed4096(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); @@ -3217,7 +3217,7 @@ api.GooglePrivacyDlpV2KAnonymityConfig buildCounterGooglePrivacyDlpV2KAnonymityConfig++; if (buildCounterGooglePrivacyDlpV2KAnonymityConfig < 3) { o.entityId = buildGooglePrivacyDlpV2EntityId(); - o.quasiIds = buildUnnamed4115(); + o.quasiIds = buildUnnamed4096(); } buildCounterGooglePrivacyDlpV2KAnonymityConfig--; return o; @@ -3228,17 +3228,17 @@ void checkGooglePrivacyDlpV2KAnonymityConfig( buildCounterGooglePrivacyDlpV2KAnonymityConfig++; if (buildCounterGooglePrivacyDlpV2KAnonymityConfig < 3) { checkGooglePrivacyDlpV2EntityId(o.entityId!); - checkUnnamed4115(o.quasiIds!); + checkUnnamed4096(o.quasiIds!); } buildCounterGooglePrivacyDlpV2KAnonymityConfig--; } -core.List buildUnnamed4116() => [ +core.List buildUnnamed4097() => [ buildGooglePrivacyDlpV2Value(), buildGooglePrivacyDlpV2Value(), ]; -void checkUnnamed4116(core.List o) { +void checkUnnamed4097(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Value(o[0]); checkGooglePrivacyDlpV2Value(o[1]); @@ -3251,7 +3251,7 @@ api.GooglePrivacyDlpV2KAnonymityEquivalenceClass buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass++; if (buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass < 3) { o.equivalenceClassSize = 'foo'; - o.quasiIdsValues = buildUnnamed4116(); + o.quasiIdsValues = buildUnnamed4097(); } buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass--; return o; @@ -3265,18 +3265,18 @@ void checkGooglePrivacyDlpV2KAnonymityEquivalenceClass( o.equivalenceClassSize!, unittest.equals('foo'), ); - checkUnnamed4116(o.quasiIdsValues!); + checkUnnamed4097(o.quasiIdsValues!); } buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass--; } core.List - buildUnnamed4117() => [ + buildUnnamed4098() => [ buildGooglePrivacyDlpV2KAnonymityEquivalenceClass(), buildGooglePrivacyDlpV2KAnonymityEquivalenceClass(), ]; -void checkUnnamed4117( +void checkUnnamed4098( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2KAnonymityEquivalenceClass(o[0]); @@ -3291,7 +3291,7 @@ api.GooglePrivacyDlpV2KAnonymityHistogramBucket if (buildCounterGooglePrivacyDlpV2KAnonymityHistogramBucket < 3) { o.bucketSize = 'foo'; o.bucketValueCount = 'foo'; - o.bucketValues = buildUnnamed4117(); + o.bucketValues = buildUnnamed4098(); o.equivalenceClassSizeLowerBound = 'foo'; o.equivalenceClassSizeUpperBound = 'foo'; } @@ -3311,7 +3311,7 @@ void checkGooglePrivacyDlpV2KAnonymityHistogramBucket( o.bucketValueCount!, unittest.equals('foo'), ); - checkUnnamed4117(o.bucketValues!); + checkUnnamed4098(o.bucketValues!); unittest.expect( o.equivalenceClassSizeLowerBound!, unittest.equals('foo'), @@ -3324,13 +3324,13 @@ void checkGooglePrivacyDlpV2KAnonymityHistogramBucket( buildCounterGooglePrivacyDlpV2KAnonymityHistogramBucket--; } -core.List buildUnnamed4118() => +core.List buildUnnamed4099() => [ buildGooglePrivacyDlpV2KAnonymityHistogramBucket(), buildGooglePrivacyDlpV2KAnonymityHistogramBucket(), ]; -void checkUnnamed4118( +void checkUnnamed4099( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2KAnonymityHistogramBucket(o[0]); @@ -3343,7 +3343,7 @@ api.GooglePrivacyDlpV2KAnonymityResult final o = api.GooglePrivacyDlpV2KAnonymityResult(); buildCounterGooglePrivacyDlpV2KAnonymityResult++; if (buildCounterGooglePrivacyDlpV2KAnonymityResult < 3) { - o.equivalenceClassHistogramBuckets = buildUnnamed4118(); + o.equivalenceClassHistogramBuckets = buildUnnamed4099(); } buildCounterGooglePrivacyDlpV2KAnonymityResult--; return o; @@ -3353,28 +3353,28 @@ void checkGooglePrivacyDlpV2KAnonymityResult( api.GooglePrivacyDlpV2KAnonymityResult o) { buildCounterGooglePrivacyDlpV2KAnonymityResult++; if (buildCounterGooglePrivacyDlpV2KAnonymityResult < 3) { - checkUnnamed4118(o.equivalenceClassHistogramBuckets!); + checkUnnamed4099(o.equivalenceClassHistogramBuckets!); } buildCounterGooglePrivacyDlpV2KAnonymityResult--; } -core.List buildUnnamed4119() => [ +core.List buildUnnamed4100() => [ buildGooglePrivacyDlpV2AuxiliaryTable(), buildGooglePrivacyDlpV2AuxiliaryTable(), ]; -void checkUnnamed4119(core.List o) { +void checkUnnamed4100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2AuxiliaryTable(o[0]); checkGooglePrivacyDlpV2AuxiliaryTable(o[1]); } -core.List buildUnnamed4120() => [ +core.List buildUnnamed4101() => [ buildGooglePrivacyDlpV2TaggedField(), buildGooglePrivacyDlpV2TaggedField(), ]; -void checkUnnamed4120(core.List o) { +void checkUnnamed4101(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2TaggedField(o[0]); checkGooglePrivacyDlpV2TaggedField(o[1]); @@ -3386,8 +3386,8 @@ api.GooglePrivacyDlpV2KMapEstimationConfig final o = api.GooglePrivacyDlpV2KMapEstimationConfig(); buildCounterGooglePrivacyDlpV2KMapEstimationConfig++; if (buildCounterGooglePrivacyDlpV2KMapEstimationConfig < 3) { - o.auxiliaryTables = buildUnnamed4119(); - o.quasiIds = buildUnnamed4120(); + o.auxiliaryTables = buildUnnamed4100(); + o.quasiIds = buildUnnamed4101(); o.regionCode = 'foo'; } buildCounterGooglePrivacyDlpV2KMapEstimationConfig--; @@ -3398,8 +3398,8 @@ void checkGooglePrivacyDlpV2KMapEstimationConfig( api.GooglePrivacyDlpV2KMapEstimationConfig o) { buildCounterGooglePrivacyDlpV2KMapEstimationConfig++; if (buildCounterGooglePrivacyDlpV2KMapEstimationConfig < 3) { - checkUnnamed4119(o.auxiliaryTables!); - checkUnnamed4120(o.quasiIds!); + checkUnnamed4100(o.auxiliaryTables!); + checkUnnamed4101(o.quasiIds!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -3409,12 +3409,12 @@ void checkGooglePrivacyDlpV2KMapEstimationConfig( } core.List - buildUnnamed4121() => [ + buildUnnamed4102() => [ buildGooglePrivacyDlpV2KMapEstimationQuasiIdValues(), buildGooglePrivacyDlpV2KMapEstimationQuasiIdValues(), ]; -void checkUnnamed4121( +void checkUnnamed4102( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2KMapEstimationQuasiIdValues(o[0]); @@ -3429,7 +3429,7 @@ api.GooglePrivacyDlpV2KMapEstimationHistogramBucket if (buildCounterGooglePrivacyDlpV2KMapEstimationHistogramBucket < 3) { o.bucketSize = 'foo'; o.bucketValueCount = 'foo'; - o.bucketValues = buildUnnamed4121(); + o.bucketValues = buildUnnamed4102(); o.maxAnonymity = 'foo'; o.minAnonymity = 'foo'; } @@ -3449,7 +3449,7 @@ void checkGooglePrivacyDlpV2KMapEstimationHistogramBucket( o.bucketValueCount!, unittest.equals('foo'), ); - checkUnnamed4121(o.bucketValues!); + checkUnnamed4102(o.bucketValues!); unittest.expect( o.maxAnonymity!, unittest.equals('foo'), @@ -3462,12 +3462,12 @@ void checkGooglePrivacyDlpV2KMapEstimationHistogramBucket( buildCounterGooglePrivacyDlpV2KMapEstimationHistogramBucket--; } -core.List buildUnnamed4122() => [ +core.List buildUnnamed4103() => [ buildGooglePrivacyDlpV2Value(), buildGooglePrivacyDlpV2Value(), ]; -void checkUnnamed4122(core.List o) { +void checkUnnamed4103(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Value(o[0]); checkGooglePrivacyDlpV2Value(o[1]); @@ -3480,7 +3480,7 @@ api.GooglePrivacyDlpV2KMapEstimationQuasiIdValues buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues++; if (buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues < 3) { o.estimatedAnonymity = 'foo'; - o.quasiIdsValues = buildUnnamed4122(); + o.quasiIdsValues = buildUnnamed4103(); } buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues--; return o; @@ -3494,18 +3494,18 @@ void checkGooglePrivacyDlpV2KMapEstimationQuasiIdValues( o.estimatedAnonymity!, unittest.equals('foo'), ); - checkUnnamed4122(o.quasiIdsValues!); + checkUnnamed4103(o.quasiIdsValues!); } buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues--; } core.List - buildUnnamed4123() => [ + buildUnnamed4104() => [ buildGooglePrivacyDlpV2KMapEstimationHistogramBucket(), buildGooglePrivacyDlpV2KMapEstimationHistogramBucket(), ]; -void checkUnnamed4123( +void checkUnnamed4104( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2KMapEstimationHistogramBucket(o[0]); @@ -3518,7 +3518,7 @@ api.GooglePrivacyDlpV2KMapEstimationResult final o = api.GooglePrivacyDlpV2KMapEstimationResult(); buildCounterGooglePrivacyDlpV2KMapEstimationResult++; if (buildCounterGooglePrivacyDlpV2KMapEstimationResult < 3) { - o.kMapEstimationHistogram = buildUnnamed4123(); + o.kMapEstimationHistogram = buildUnnamed4104(); } buildCounterGooglePrivacyDlpV2KMapEstimationResult--; return o; @@ -3528,17 +3528,17 @@ void checkGooglePrivacyDlpV2KMapEstimationResult( api.GooglePrivacyDlpV2KMapEstimationResult o) { buildCounterGooglePrivacyDlpV2KMapEstimationResult++; if (buildCounterGooglePrivacyDlpV2KMapEstimationResult < 3) { - checkUnnamed4123(o.kMapEstimationHistogram!); + checkUnnamed4104(o.kMapEstimationHistogram!); } buildCounterGooglePrivacyDlpV2KMapEstimationResult--; } -core.List buildUnnamed4124() => [ +core.List buildUnnamed4105() => [ buildGooglePrivacyDlpV2PathElement(), buildGooglePrivacyDlpV2PathElement(), ]; -void checkUnnamed4124(core.List o) { +void checkUnnamed4105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2PathElement(o[0]); checkGooglePrivacyDlpV2PathElement(o[1]); @@ -3550,7 +3550,7 @@ api.GooglePrivacyDlpV2Key buildGooglePrivacyDlpV2Key() { buildCounterGooglePrivacyDlpV2Key++; if (buildCounterGooglePrivacyDlpV2Key < 3) { o.partitionId = buildGooglePrivacyDlpV2PartitionId(); - o.path = buildUnnamed4124(); + o.path = buildUnnamed4105(); } buildCounterGooglePrivacyDlpV2Key--; return o; @@ -3560,7 +3560,7 @@ void checkGooglePrivacyDlpV2Key(api.GooglePrivacyDlpV2Key o) { buildCounterGooglePrivacyDlpV2Key++; if (buildCounterGooglePrivacyDlpV2Key < 3) { checkGooglePrivacyDlpV2PartitionId(o.partitionId!); - checkUnnamed4124(o.path!); + checkUnnamed4105(o.path!); } buildCounterGooglePrivacyDlpV2Key--; } @@ -3617,12 +3617,12 @@ void checkGooglePrivacyDlpV2KmsWrappedCryptoKey( buildCounterGooglePrivacyDlpV2KmsWrappedCryptoKey--; } -core.List buildUnnamed4125() => [ +core.List buildUnnamed4106() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4125(core.List o) { +void checkUnnamed4106(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); @@ -3634,7 +3634,7 @@ api.GooglePrivacyDlpV2LDiversityConfig final o = api.GooglePrivacyDlpV2LDiversityConfig(); buildCounterGooglePrivacyDlpV2LDiversityConfig++; if (buildCounterGooglePrivacyDlpV2LDiversityConfig < 3) { - o.quasiIds = buildUnnamed4125(); + o.quasiIds = buildUnnamed4106(); o.sensitiveAttribute = buildGooglePrivacyDlpV2FieldId(); } buildCounterGooglePrivacyDlpV2LDiversityConfig--; @@ -3645,29 +3645,29 @@ void checkGooglePrivacyDlpV2LDiversityConfig( api.GooglePrivacyDlpV2LDiversityConfig o) { buildCounterGooglePrivacyDlpV2LDiversityConfig++; if (buildCounterGooglePrivacyDlpV2LDiversityConfig < 3) { - checkUnnamed4125(o.quasiIds!); + checkUnnamed4106(o.quasiIds!); checkGooglePrivacyDlpV2FieldId(o.sensitiveAttribute!); } buildCounterGooglePrivacyDlpV2LDiversityConfig--; } -core.List buildUnnamed4126() => [ +core.List buildUnnamed4107() => [ buildGooglePrivacyDlpV2Value(), buildGooglePrivacyDlpV2Value(), ]; -void checkUnnamed4126(core.List o) { +void checkUnnamed4107(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Value(o[0]); checkGooglePrivacyDlpV2Value(o[1]); } -core.List buildUnnamed4127() => [ +core.List buildUnnamed4108() => [ buildGooglePrivacyDlpV2ValueFrequency(), buildGooglePrivacyDlpV2ValueFrequency(), ]; -void checkUnnamed4127(core.List o) { +void checkUnnamed4108(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2ValueFrequency(o[0]); checkGooglePrivacyDlpV2ValueFrequency(o[1]); @@ -3681,8 +3681,8 @@ api.GooglePrivacyDlpV2LDiversityEquivalenceClass if (buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass < 3) { o.equivalenceClassSize = 'foo'; o.numDistinctSensitiveValues = 'foo'; - o.quasiIdsValues = buildUnnamed4126(); - o.topSensitiveValues = buildUnnamed4127(); + o.quasiIdsValues = buildUnnamed4107(); + o.topSensitiveValues = buildUnnamed4108(); } buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass--; return o; @@ -3700,19 +3700,19 @@ void checkGooglePrivacyDlpV2LDiversityEquivalenceClass( o.numDistinctSensitiveValues!, unittest.equals('foo'), ); - checkUnnamed4126(o.quasiIdsValues!); - checkUnnamed4127(o.topSensitiveValues!); + checkUnnamed4107(o.quasiIdsValues!); + checkUnnamed4108(o.topSensitiveValues!); } buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass--; } core.List - buildUnnamed4128() => [ + buildUnnamed4109() => [ buildGooglePrivacyDlpV2LDiversityEquivalenceClass(), buildGooglePrivacyDlpV2LDiversityEquivalenceClass(), ]; -void checkUnnamed4128( +void checkUnnamed4109( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2LDiversityEquivalenceClass(o[0]); @@ -3727,7 +3727,7 @@ api.GooglePrivacyDlpV2LDiversityHistogramBucket if (buildCounterGooglePrivacyDlpV2LDiversityHistogramBucket < 3) { o.bucketSize = 'foo'; o.bucketValueCount = 'foo'; - o.bucketValues = buildUnnamed4128(); + o.bucketValues = buildUnnamed4109(); o.sensitiveValueFrequencyLowerBound = 'foo'; o.sensitiveValueFrequencyUpperBound = 'foo'; } @@ -3747,7 +3747,7 @@ void checkGooglePrivacyDlpV2LDiversityHistogramBucket( o.bucketValueCount!, unittest.equals('foo'), ); - checkUnnamed4128(o.bucketValues!); + checkUnnamed4109(o.bucketValues!); unittest.expect( o.sensitiveValueFrequencyLowerBound!, unittest.equals('foo'), @@ -3760,13 +3760,13 @@ void checkGooglePrivacyDlpV2LDiversityHistogramBucket( buildCounterGooglePrivacyDlpV2LDiversityHistogramBucket--; } -core.List buildUnnamed4129() => +core.List buildUnnamed4110() => [ buildGooglePrivacyDlpV2LDiversityHistogramBucket(), buildGooglePrivacyDlpV2LDiversityHistogramBucket(), ]; -void checkUnnamed4129( +void checkUnnamed4110( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2LDiversityHistogramBucket(o[0]); @@ -3779,7 +3779,7 @@ api.GooglePrivacyDlpV2LDiversityResult final o = api.GooglePrivacyDlpV2LDiversityResult(); buildCounterGooglePrivacyDlpV2LDiversityResult++; if (buildCounterGooglePrivacyDlpV2LDiversityResult < 3) { - o.sensitiveValueFrequencyHistogramBuckets = buildUnnamed4129(); + o.sensitiveValueFrequencyHistogramBuckets = buildUnnamed4110(); } buildCounterGooglePrivacyDlpV2LDiversityResult--; return o; @@ -3789,7 +3789,7 @@ void checkGooglePrivacyDlpV2LDiversityResult( api.GooglePrivacyDlpV2LDiversityResult o) { buildCounterGooglePrivacyDlpV2LDiversityResult++; if (buildCounterGooglePrivacyDlpV2LDiversityResult < 3) { - checkUnnamed4129(o.sensitiveValueFrequencyHistogramBuckets!); + checkUnnamed4110(o.sensitiveValueFrequencyHistogramBuckets!); } buildCounterGooglePrivacyDlpV2LDiversityResult--; } @@ -3889,12 +3889,12 @@ void checkGooglePrivacyDlpV2LikelihoodAdjustment( buildCounterGooglePrivacyDlpV2LikelihoodAdjustment--; } -core.List buildUnnamed4130() => [ +core.List buildUnnamed4111() => [ buildGooglePrivacyDlpV2DeidentifyTemplate(), buildGooglePrivacyDlpV2DeidentifyTemplate(), ]; -void checkUnnamed4130(core.List o) { +void checkUnnamed4111(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2DeidentifyTemplate(o[0]); checkGooglePrivacyDlpV2DeidentifyTemplate(o[1]); @@ -3906,7 +3906,7 @@ api.GooglePrivacyDlpV2ListDeidentifyTemplatesResponse final o = api.GooglePrivacyDlpV2ListDeidentifyTemplatesResponse(); buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse++; if (buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse < 3) { - o.deidentifyTemplates = buildUnnamed4130(); + o.deidentifyTemplates = buildUnnamed4111(); o.nextPageToken = 'foo'; } buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse--; @@ -3917,7 +3917,7 @@ void checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse( api.GooglePrivacyDlpV2ListDeidentifyTemplatesResponse o) { buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse++; if (buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse < 3) { - checkUnnamed4130(o.deidentifyTemplates!); + checkUnnamed4111(o.deidentifyTemplates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3926,12 +3926,12 @@ void checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse( buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse--; } -core.List buildUnnamed4131() => [ +core.List buildUnnamed4112() => [ buildGooglePrivacyDlpV2DlpJob(), buildGooglePrivacyDlpV2DlpJob(), ]; -void checkUnnamed4131(core.List o) { +void checkUnnamed4112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2DlpJob(o[0]); checkGooglePrivacyDlpV2DlpJob(o[1]); @@ -3943,7 +3943,7 @@ api.GooglePrivacyDlpV2ListDlpJobsResponse final o = api.GooglePrivacyDlpV2ListDlpJobsResponse(); buildCounterGooglePrivacyDlpV2ListDlpJobsResponse++; if (buildCounterGooglePrivacyDlpV2ListDlpJobsResponse < 3) { - o.jobs = buildUnnamed4131(); + o.jobs = buildUnnamed4112(); o.nextPageToken = 'foo'; } buildCounterGooglePrivacyDlpV2ListDlpJobsResponse--; @@ -3954,7 +3954,7 @@ void checkGooglePrivacyDlpV2ListDlpJobsResponse( api.GooglePrivacyDlpV2ListDlpJobsResponse o) { buildCounterGooglePrivacyDlpV2ListDlpJobsResponse++; if (buildCounterGooglePrivacyDlpV2ListDlpJobsResponse < 3) { - checkUnnamed4131(o.jobs!); + checkUnnamed4112(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3963,12 +3963,12 @@ void checkGooglePrivacyDlpV2ListDlpJobsResponse( buildCounterGooglePrivacyDlpV2ListDlpJobsResponse--; } -core.List buildUnnamed4132() => [ +core.List buildUnnamed4113() => [ buildGooglePrivacyDlpV2InfoTypeDescription(), buildGooglePrivacyDlpV2InfoTypeDescription(), ]; -void checkUnnamed4132(core.List o) { +void checkUnnamed4113(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoTypeDescription(o[0]); checkGooglePrivacyDlpV2InfoTypeDescription(o[1]); @@ -3980,7 +3980,7 @@ api.GooglePrivacyDlpV2ListInfoTypesResponse final o = api.GooglePrivacyDlpV2ListInfoTypesResponse(); buildCounterGooglePrivacyDlpV2ListInfoTypesResponse++; if (buildCounterGooglePrivacyDlpV2ListInfoTypesResponse < 3) { - o.infoTypes = buildUnnamed4132(); + o.infoTypes = buildUnnamed4113(); } buildCounterGooglePrivacyDlpV2ListInfoTypesResponse--; return o; @@ -3990,17 +3990,17 @@ void checkGooglePrivacyDlpV2ListInfoTypesResponse( api.GooglePrivacyDlpV2ListInfoTypesResponse o) { buildCounterGooglePrivacyDlpV2ListInfoTypesResponse++; if (buildCounterGooglePrivacyDlpV2ListInfoTypesResponse < 3) { - checkUnnamed4132(o.infoTypes!); + checkUnnamed4113(o.infoTypes!); } buildCounterGooglePrivacyDlpV2ListInfoTypesResponse--; } -core.List buildUnnamed4133() => [ +core.List buildUnnamed4114() => [ buildGooglePrivacyDlpV2InspectTemplate(), buildGooglePrivacyDlpV2InspectTemplate(), ]; -void checkUnnamed4133(core.List o) { +void checkUnnamed4114(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InspectTemplate(o[0]); checkGooglePrivacyDlpV2InspectTemplate(o[1]); @@ -4012,7 +4012,7 @@ api.GooglePrivacyDlpV2ListInspectTemplatesResponse final o = api.GooglePrivacyDlpV2ListInspectTemplatesResponse(); buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse++; if (buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse < 3) { - o.inspectTemplates = buildUnnamed4133(); + o.inspectTemplates = buildUnnamed4114(); o.nextPageToken = 'foo'; } buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse--; @@ -4023,7 +4023,7 @@ void checkGooglePrivacyDlpV2ListInspectTemplatesResponse( api.GooglePrivacyDlpV2ListInspectTemplatesResponse o) { buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse++; if (buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse < 3) { - checkUnnamed4133(o.inspectTemplates!); + checkUnnamed4114(o.inspectTemplates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4032,12 +4032,12 @@ void checkGooglePrivacyDlpV2ListInspectTemplatesResponse( buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse--; } -core.List buildUnnamed4134() => [ +core.List buildUnnamed4115() => [ buildGooglePrivacyDlpV2JobTrigger(), buildGooglePrivacyDlpV2JobTrigger(), ]; -void checkUnnamed4134(core.List o) { +void checkUnnamed4115(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2JobTrigger(o[0]); checkGooglePrivacyDlpV2JobTrigger(o[1]); @@ -4049,7 +4049,7 @@ api.GooglePrivacyDlpV2ListJobTriggersResponse final o = api.GooglePrivacyDlpV2ListJobTriggersResponse(); buildCounterGooglePrivacyDlpV2ListJobTriggersResponse++; if (buildCounterGooglePrivacyDlpV2ListJobTriggersResponse < 3) { - o.jobTriggers = buildUnnamed4134(); + o.jobTriggers = buildUnnamed4115(); o.nextPageToken = 'foo'; } buildCounterGooglePrivacyDlpV2ListJobTriggersResponse--; @@ -4060,7 +4060,7 @@ void checkGooglePrivacyDlpV2ListJobTriggersResponse( api.GooglePrivacyDlpV2ListJobTriggersResponse o) { buildCounterGooglePrivacyDlpV2ListJobTriggersResponse++; if (buildCounterGooglePrivacyDlpV2ListJobTriggersResponse < 3) { - checkUnnamed4134(o.jobTriggers!); + checkUnnamed4115(o.jobTriggers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4069,12 +4069,12 @@ void checkGooglePrivacyDlpV2ListJobTriggersResponse( buildCounterGooglePrivacyDlpV2ListJobTriggersResponse--; } -core.List buildUnnamed4135() => [ +core.List buildUnnamed4116() => [ buildGooglePrivacyDlpV2StoredInfoType(), buildGooglePrivacyDlpV2StoredInfoType(), ]; -void checkUnnamed4135(core.List o) { +void checkUnnamed4116(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2StoredInfoType(o[0]); checkGooglePrivacyDlpV2StoredInfoType(o[1]); @@ -4087,7 +4087,7 @@ api.GooglePrivacyDlpV2ListStoredInfoTypesResponse buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse++; if (buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse < 3) { o.nextPageToken = 'foo'; - o.storedInfoTypes = buildUnnamed4135(); + o.storedInfoTypes = buildUnnamed4116(); } buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse--; return o; @@ -4101,17 +4101,17 @@ void checkGooglePrivacyDlpV2ListStoredInfoTypesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4135(o.storedInfoTypes!); + checkUnnamed4116(o.storedInfoTypes!); } buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse--; } -core.List buildUnnamed4136() => [ +core.List buildUnnamed4117() => [ buildGooglePrivacyDlpV2ContentLocation(), buildGooglePrivacyDlpV2ContentLocation(), ]; -void checkUnnamed4136(core.List o) { +void checkUnnamed4117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2ContentLocation(o[0]); checkGooglePrivacyDlpV2ContentLocation(o[1]); @@ -4125,7 +4125,7 @@ api.GooglePrivacyDlpV2Location buildGooglePrivacyDlpV2Location() { o.byteRange = buildGooglePrivacyDlpV2Range(); o.codepointRange = buildGooglePrivacyDlpV2Range(); o.container = buildGooglePrivacyDlpV2Container(); - o.contentLocations = buildUnnamed4136(); + o.contentLocations = buildUnnamed4117(); } buildCounterGooglePrivacyDlpV2Location--; return o; @@ -4137,7 +4137,7 @@ void checkGooglePrivacyDlpV2Location(api.GooglePrivacyDlpV2Location o) { checkGooglePrivacyDlpV2Range(o.byteRange!); checkGooglePrivacyDlpV2Range(o.codepointRange!); checkGooglePrivacyDlpV2Container(o.container!); - checkUnnamed4136(o.contentLocations!); + checkUnnamed4117(o.contentLocations!); } buildCounterGooglePrivacyDlpV2Location--; } @@ -4204,12 +4204,12 @@ void checkGooglePrivacyDlpV2NumericalStatsConfig( buildCounterGooglePrivacyDlpV2NumericalStatsConfig--; } -core.List buildUnnamed4137() => [ +core.List buildUnnamed4118() => [ buildGooglePrivacyDlpV2Value(), buildGooglePrivacyDlpV2Value(), ]; -void checkUnnamed4137(core.List o) { +void checkUnnamed4118(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Value(o[0]); checkGooglePrivacyDlpV2Value(o[1]); @@ -4223,7 +4223,7 @@ api.GooglePrivacyDlpV2NumericalStatsResult if (buildCounterGooglePrivacyDlpV2NumericalStatsResult < 3) { o.maxValue = buildGooglePrivacyDlpV2Value(); o.minValue = buildGooglePrivacyDlpV2Value(); - o.quantileValues = buildUnnamed4137(); + o.quantileValues = buildUnnamed4118(); } buildCounterGooglePrivacyDlpV2NumericalStatsResult--; return o; @@ -4235,7 +4235,7 @@ void checkGooglePrivacyDlpV2NumericalStatsResult( if (buildCounterGooglePrivacyDlpV2NumericalStatsResult < 3) { checkGooglePrivacyDlpV2Value(o.maxValue!); checkGooglePrivacyDlpV2Value(o.minValue!); - checkUnnamed4137(o.quantileValues!); + checkUnnamed4118(o.quantileValues!); } buildCounterGooglePrivacyDlpV2NumericalStatsResult--; } @@ -4651,12 +4651,12 @@ void checkGooglePrivacyDlpV2RecordCondition( buildCounterGooglePrivacyDlpV2RecordCondition--; } -core.List buildUnnamed4138() => [ +core.List buildUnnamed4119() => [ 'foo', 'foo', ]; -void checkUnnamed4138(core.List o) { +void checkUnnamed4119(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4675,7 +4675,7 @@ api.GooglePrivacyDlpV2RecordKey buildGooglePrivacyDlpV2RecordKey() { if (buildCounterGooglePrivacyDlpV2RecordKey < 3) { o.bigQueryKey = buildGooglePrivacyDlpV2BigQueryKey(); o.datastoreKey = buildGooglePrivacyDlpV2DatastoreKey(); - o.idValues = buildUnnamed4138(); + o.idValues = buildUnnamed4119(); } buildCounterGooglePrivacyDlpV2RecordKey--; return o; @@ -4686,7 +4686,7 @@ void checkGooglePrivacyDlpV2RecordKey(api.GooglePrivacyDlpV2RecordKey o) { if (buildCounterGooglePrivacyDlpV2RecordKey < 3) { checkGooglePrivacyDlpV2BigQueryKey(o.bigQueryKey!); checkGooglePrivacyDlpV2DatastoreKey(o.datastoreKey!); - checkUnnamed4138(o.idValues!); + checkUnnamed4119(o.idValues!); } buildCounterGooglePrivacyDlpV2RecordKey--; } @@ -4736,23 +4736,23 @@ void checkGooglePrivacyDlpV2RecordSuppression( buildCounterGooglePrivacyDlpV2RecordSuppression--; } -core.List buildUnnamed4139() => [ +core.List buildUnnamed4120() => [ buildGooglePrivacyDlpV2FieldTransformation(), buildGooglePrivacyDlpV2FieldTransformation(), ]; -void checkUnnamed4139(core.List o) { +void checkUnnamed4120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldTransformation(o[0]); checkGooglePrivacyDlpV2FieldTransformation(o[1]); } -core.List buildUnnamed4140() => [ +core.List buildUnnamed4121() => [ buildGooglePrivacyDlpV2RecordSuppression(), buildGooglePrivacyDlpV2RecordSuppression(), ]; -void checkUnnamed4140(core.List o) { +void checkUnnamed4121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2RecordSuppression(o[0]); checkGooglePrivacyDlpV2RecordSuppression(o[1]); @@ -4764,8 +4764,8 @@ api.GooglePrivacyDlpV2RecordTransformations final o = api.GooglePrivacyDlpV2RecordTransformations(); buildCounterGooglePrivacyDlpV2RecordTransformations++; if (buildCounterGooglePrivacyDlpV2RecordTransformations < 3) { - o.fieldTransformations = buildUnnamed4139(); - o.recordSuppressions = buildUnnamed4140(); + o.fieldTransformations = buildUnnamed4120(); + o.recordSuppressions = buildUnnamed4121(); } buildCounterGooglePrivacyDlpV2RecordTransformations--; return o; @@ -4775,8 +4775,8 @@ void checkGooglePrivacyDlpV2RecordTransformations( api.GooglePrivacyDlpV2RecordTransformations o) { buildCounterGooglePrivacyDlpV2RecordTransformations++; if (buildCounterGooglePrivacyDlpV2RecordTransformations < 3) { - checkUnnamed4139(o.fieldTransformations!); - checkUnnamed4140(o.recordSuppressions!); + checkUnnamed4120(o.fieldTransformations!); + checkUnnamed4121(o.recordSuppressions!); } buildCounterGooglePrivacyDlpV2RecordTransformations--; } @@ -4796,12 +4796,12 @@ void checkGooglePrivacyDlpV2RedactConfig(api.GooglePrivacyDlpV2RedactConfig o) { buildCounterGooglePrivacyDlpV2RedactConfig--; } -core.List buildUnnamed4141() => [ +core.List buildUnnamed4122() => [ buildGooglePrivacyDlpV2ImageRedactionConfig(), buildGooglePrivacyDlpV2ImageRedactionConfig(), ]; -void checkUnnamed4141(core.List o) { +void checkUnnamed4122(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2ImageRedactionConfig(o[0]); checkGooglePrivacyDlpV2ImageRedactionConfig(o[1]); @@ -4814,7 +4814,7 @@ api.GooglePrivacyDlpV2RedactImageRequest buildCounterGooglePrivacyDlpV2RedactImageRequest++; if (buildCounterGooglePrivacyDlpV2RedactImageRequest < 3) { o.byteItem = buildGooglePrivacyDlpV2ByteContentItem(); - o.imageRedactionConfigs = buildUnnamed4141(); + o.imageRedactionConfigs = buildUnnamed4122(); o.includeFindings = true; o.inspectConfig = buildGooglePrivacyDlpV2InspectConfig(); o.locationId = 'foo'; @@ -4828,7 +4828,7 @@ void checkGooglePrivacyDlpV2RedactImageRequest( buildCounterGooglePrivacyDlpV2RedactImageRequest++; if (buildCounterGooglePrivacyDlpV2RedactImageRequest < 3) { checkGooglePrivacyDlpV2ByteContentItem(o.byteItem!); - checkUnnamed4141(o.imageRedactionConfigs!); + checkUnnamed4122(o.imageRedactionConfigs!); unittest.expect(o.includeFindings!, unittest.isTrue); checkGooglePrivacyDlpV2InspectConfig(o.inspectConfig!); unittest.expect( @@ -4870,12 +4870,12 @@ void checkGooglePrivacyDlpV2RedactImageResponse( buildCounterGooglePrivacyDlpV2RedactImageResponse--; } -core.List buildUnnamed4142() => [ +core.List buildUnnamed4123() => [ 42, 42, ]; -void checkUnnamed4142(core.List o) { +void checkUnnamed4123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4892,7 +4892,7 @@ api.GooglePrivacyDlpV2Regex buildGooglePrivacyDlpV2Regex() { final o = api.GooglePrivacyDlpV2Regex(); buildCounterGooglePrivacyDlpV2Regex++; if (buildCounterGooglePrivacyDlpV2Regex < 3) { - o.groupIndexes = buildUnnamed4142(); + o.groupIndexes = buildUnnamed4123(); o.pattern = 'foo'; } buildCounterGooglePrivacyDlpV2Regex--; @@ -4902,7 +4902,7 @@ api.GooglePrivacyDlpV2Regex buildGooglePrivacyDlpV2Regex() { void checkGooglePrivacyDlpV2Regex(api.GooglePrivacyDlpV2Regex o) { buildCounterGooglePrivacyDlpV2Regex++; if (buildCounterGooglePrivacyDlpV2Regex < 3) { - checkUnnamed4142(o.groupIndexes!); + checkUnnamed4123(o.groupIndexes!); unittest.expect( o.pattern!, unittest.equals('foo'), @@ -5056,12 +5056,12 @@ void checkGooglePrivacyDlpV2RequestedRiskAnalysisOptions( buildCounterGooglePrivacyDlpV2RequestedRiskAnalysisOptions--; } -core.List buildUnnamed4143() => [ +core.List buildUnnamed4124() => [ buildGooglePrivacyDlpV2InfoTypeStats(), buildGooglePrivacyDlpV2InfoTypeStats(), ]; -void checkUnnamed4143(core.List o) { +void checkUnnamed4124(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2InfoTypeStats(o[0]); checkGooglePrivacyDlpV2InfoTypeStats(o[1]); @@ -5073,7 +5073,7 @@ api.GooglePrivacyDlpV2Result buildGooglePrivacyDlpV2Result() { buildCounterGooglePrivacyDlpV2Result++; if (buildCounterGooglePrivacyDlpV2Result < 3) { o.hybridStats = buildGooglePrivacyDlpV2HybridInspectStatistics(); - o.infoTypeStats = buildUnnamed4143(); + o.infoTypeStats = buildUnnamed4124(); o.processedBytes = 'foo'; o.totalEstimatedBytes = 'foo'; } @@ -5085,7 +5085,7 @@ void checkGooglePrivacyDlpV2Result(api.GooglePrivacyDlpV2Result o) { buildCounterGooglePrivacyDlpV2Result++; if (buildCounterGooglePrivacyDlpV2Result < 3) { checkGooglePrivacyDlpV2HybridInspectStatistics(o.hybridStats!); - checkUnnamed4143(o.infoTypeStats!); + checkUnnamed4124(o.infoTypeStats!); unittest.expect( o.processedBytes!, unittest.equals('foo'), @@ -5098,12 +5098,12 @@ void checkGooglePrivacyDlpV2Result(api.GooglePrivacyDlpV2Result o) { buildCounterGooglePrivacyDlpV2Result--; } -core.List buildUnnamed4144() => [ +core.List buildUnnamed4125() => [ buildGooglePrivacyDlpV2Action(), buildGooglePrivacyDlpV2Action(), ]; -void checkUnnamed4144(core.List o) { +void checkUnnamed4125(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Action(o[0]); checkGooglePrivacyDlpV2Action(o[1]); @@ -5115,7 +5115,7 @@ api.GooglePrivacyDlpV2RiskAnalysisJobConfig final o = api.GooglePrivacyDlpV2RiskAnalysisJobConfig(); buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig++; if (buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig < 3) { - o.actions = buildUnnamed4144(); + o.actions = buildUnnamed4125(); o.privacyMetric = buildGooglePrivacyDlpV2PrivacyMetric(); o.sourceTable = buildGooglePrivacyDlpV2BigQueryTable(); } @@ -5127,19 +5127,19 @@ void checkGooglePrivacyDlpV2RiskAnalysisJobConfig( api.GooglePrivacyDlpV2RiskAnalysisJobConfig o) { buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig++; if (buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig < 3) { - checkUnnamed4144(o.actions!); + checkUnnamed4125(o.actions!); checkGooglePrivacyDlpV2PrivacyMetric(o.privacyMetric!); checkGooglePrivacyDlpV2BigQueryTable(o.sourceTable!); } buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig--; } -core.List buildUnnamed4145() => [ +core.List buildUnnamed4126() => [ buildGooglePrivacyDlpV2Value(), buildGooglePrivacyDlpV2Value(), ]; -void checkUnnamed4145(core.List o) { +void checkUnnamed4126(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Value(o[0]); checkGooglePrivacyDlpV2Value(o[1]); @@ -5150,7 +5150,7 @@ api.GooglePrivacyDlpV2Row buildGooglePrivacyDlpV2Row() { final o = api.GooglePrivacyDlpV2Row(); buildCounterGooglePrivacyDlpV2Row++; if (buildCounterGooglePrivacyDlpV2Row < 3) { - o.values = buildUnnamed4145(); + o.values = buildUnnamed4126(); } buildCounterGooglePrivacyDlpV2Row--; return o; @@ -5159,7 +5159,7 @@ api.GooglePrivacyDlpV2Row buildGooglePrivacyDlpV2Row() { void checkGooglePrivacyDlpV2Row(api.GooglePrivacyDlpV2Row o) { buildCounterGooglePrivacyDlpV2Row++; if (buildCounterGooglePrivacyDlpV2Row < 3) { - checkUnnamed4145(o.values!); + checkUnnamed4126(o.values!); } buildCounterGooglePrivacyDlpV2Row--; } @@ -5205,12 +5205,12 @@ void checkGooglePrivacyDlpV2Schedule(api.GooglePrivacyDlpV2Schedule o) { buildCounterGooglePrivacyDlpV2Schedule--; } -core.List buildUnnamed4146() => [ +core.List buildUnnamed4127() => [ buildGooglePrivacyDlpV2QuasiIdentifierField(), buildGooglePrivacyDlpV2QuasiIdentifierField(), ]; -void checkUnnamed4146(core.List o) { +void checkUnnamed4127(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2QuasiIdentifierField(o[0]); checkGooglePrivacyDlpV2QuasiIdentifierField(o[1]); @@ -5222,7 +5222,7 @@ api.GooglePrivacyDlpV2StatisticalTable final o = api.GooglePrivacyDlpV2StatisticalTable(); buildCounterGooglePrivacyDlpV2StatisticalTable++; if (buildCounterGooglePrivacyDlpV2StatisticalTable < 3) { - o.quasiIds = buildUnnamed4146(); + o.quasiIds = buildUnnamed4127(); o.relativeFrequency = buildGooglePrivacyDlpV2FieldId(); o.table = buildGooglePrivacyDlpV2BigQueryTable(); } @@ -5234,7 +5234,7 @@ void checkGooglePrivacyDlpV2StatisticalTable( api.GooglePrivacyDlpV2StatisticalTable o) { buildCounterGooglePrivacyDlpV2StatisticalTable++; if (buildCounterGooglePrivacyDlpV2StatisticalTable < 3) { - checkUnnamed4146(o.quasiIds!); + checkUnnamed4127(o.quasiIds!); checkGooglePrivacyDlpV2FieldId(o.relativeFrequency!); checkGooglePrivacyDlpV2BigQueryTable(o.table!); } @@ -5293,12 +5293,12 @@ void checkGooglePrivacyDlpV2StorageMetadataLabel( buildCounterGooglePrivacyDlpV2StorageMetadataLabel--; } -core.List buildUnnamed4147() => [ +core.List buildUnnamed4128() => [ buildGooglePrivacyDlpV2StoredInfoTypeVersion(), buildGooglePrivacyDlpV2StoredInfoTypeVersion(), ]; -void checkUnnamed4147( +void checkUnnamed4128( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2StoredInfoTypeVersion(o[0]); @@ -5312,7 +5312,7 @@ api.GooglePrivacyDlpV2StoredInfoType buildGooglePrivacyDlpV2StoredInfoType() { if (buildCounterGooglePrivacyDlpV2StoredInfoType < 3) { o.currentVersion = buildGooglePrivacyDlpV2StoredInfoTypeVersion(); o.name = 'foo'; - o.pendingVersions = buildUnnamed4147(); + o.pendingVersions = buildUnnamed4128(); } buildCounterGooglePrivacyDlpV2StoredInfoType--; return o; @@ -5327,7 +5327,7 @@ void checkGooglePrivacyDlpV2StoredInfoType( o.name!, unittest.equals('foo'), ); - checkUnnamed4147(o.pendingVersions!); + checkUnnamed4128(o.pendingVersions!); } buildCounterGooglePrivacyDlpV2StoredInfoType--; } @@ -5391,12 +5391,12 @@ void checkGooglePrivacyDlpV2StoredInfoTypeStats( buildCounterGooglePrivacyDlpV2StoredInfoTypeStats--; } -core.List buildUnnamed4148() => [ +core.List buildUnnamed4129() => [ buildGooglePrivacyDlpV2Error(), buildGooglePrivacyDlpV2Error(), ]; -void checkUnnamed4148(core.List o) { +void checkUnnamed4129(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Error(o[0]); checkGooglePrivacyDlpV2Error(o[1]); @@ -5410,7 +5410,7 @@ api.GooglePrivacyDlpV2StoredInfoTypeVersion if (buildCounterGooglePrivacyDlpV2StoredInfoTypeVersion < 3) { o.config = buildGooglePrivacyDlpV2StoredInfoTypeConfig(); o.createTime = 'foo'; - o.errors = buildUnnamed4148(); + o.errors = buildUnnamed4129(); o.state = 'foo'; o.stats = buildGooglePrivacyDlpV2StoredInfoTypeStats(); } @@ -5427,7 +5427,7 @@ void checkGooglePrivacyDlpV2StoredInfoTypeVersion( o.createTime!, unittest.equals('foo'), ); - checkUnnamed4148(o.errors!); + checkUnnamed4129(o.errors!); unittest.expect( o.state!, unittest.equals('foo'), @@ -5513,23 +5513,23 @@ void checkGooglePrivacyDlpV2SurrogateType( buildCounterGooglePrivacyDlpV2SurrogateType--; } -core.List buildUnnamed4149() => [ +core.List buildUnnamed4130() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4149(core.List o) { +void checkUnnamed4130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); } -core.List buildUnnamed4150() => [ +core.List buildUnnamed4131() => [ buildGooglePrivacyDlpV2Row(), buildGooglePrivacyDlpV2Row(), ]; -void checkUnnamed4150(core.List o) { +void checkUnnamed4131(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2Row(o[0]); checkGooglePrivacyDlpV2Row(o[1]); @@ -5540,8 +5540,8 @@ api.GooglePrivacyDlpV2Table buildGooglePrivacyDlpV2Table() { final o = api.GooglePrivacyDlpV2Table(); buildCounterGooglePrivacyDlpV2Table++; if (buildCounterGooglePrivacyDlpV2Table < 3) { - o.headers = buildUnnamed4149(); - o.rows = buildUnnamed4150(); + o.headers = buildUnnamed4130(); + o.rows = buildUnnamed4131(); } buildCounterGooglePrivacyDlpV2Table--; return o; @@ -5550,8 +5550,8 @@ api.GooglePrivacyDlpV2Table buildGooglePrivacyDlpV2Table() { void checkGooglePrivacyDlpV2Table(api.GooglePrivacyDlpV2Table o) { buildCounterGooglePrivacyDlpV2Table++; if (buildCounterGooglePrivacyDlpV2Table < 3) { - checkUnnamed4149(o.headers!); - checkUnnamed4150(o.rows!); + checkUnnamed4130(o.headers!); + checkUnnamed4131(o.rows!); } buildCounterGooglePrivacyDlpV2Table--; } @@ -5579,12 +5579,12 @@ void checkGooglePrivacyDlpV2TableLocation( buildCounterGooglePrivacyDlpV2TableLocation--; } -core.List buildUnnamed4151() => [ +core.List buildUnnamed4132() => [ buildGooglePrivacyDlpV2FieldId(), buildGooglePrivacyDlpV2FieldId(), ]; -void checkUnnamed4151(core.List o) { +void checkUnnamed4132(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldId(o[0]); checkGooglePrivacyDlpV2FieldId(o[1]); @@ -5595,7 +5595,7 @@ api.GooglePrivacyDlpV2TableOptions buildGooglePrivacyDlpV2TableOptions() { final o = api.GooglePrivacyDlpV2TableOptions(); buildCounterGooglePrivacyDlpV2TableOptions++; if (buildCounterGooglePrivacyDlpV2TableOptions < 3) { - o.identifyingFields = buildUnnamed4151(); + o.identifyingFields = buildUnnamed4132(); } buildCounterGooglePrivacyDlpV2TableOptions--; return o; @@ -5604,7 +5604,7 @@ api.GooglePrivacyDlpV2TableOptions buildGooglePrivacyDlpV2TableOptions() { void checkGooglePrivacyDlpV2TableOptions(api.GooglePrivacyDlpV2TableOptions o) { buildCounterGooglePrivacyDlpV2TableOptions++; if (buildCounterGooglePrivacyDlpV2TableOptions < 3) { - checkUnnamed4151(o.identifyingFields!); + checkUnnamed4132(o.identifyingFields!); } buildCounterGooglePrivacyDlpV2TableOptions--; } @@ -5752,12 +5752,12 @@ void checkGooglePrivacyDlpV2TransformationErrorHandling( buildCounterGooglePrivacyDlpV2TransformationErrorHandling--; } -core.List buildUnnamed4152() => [ +core.List buildUnnamed4133() => [ buildGooglePrivacyDlpV2TransformationSummary(), buildGooglePrivacyDlpV2TransformationSummary(), ]; -void checkUnnamed4152( +void checkUnnamed4133( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2TransformationSummary(o[0]); @@ -5770,7 +5770,7 @@ api.GooglePrivacyDlpV2TransformationOverview final o = api.GooglePrivacyDlpV2TransformationOverview(); buildCounterGooglePrivacyDlpV2TransformationOverview++; if (buildCounterGooglePrivacyDlpV2TransformationOverview < 3) { - o.transformationSummaries = buildUnnamed4152(); + o.transformationSummaries = buildUnnamed4133(); o.transformedBytes = 'foo'; } buildCounterGooglePrivacyDlpV2TransformationOverview--; @@ -5781,7 +5781,7 @@ void checkGooglePrivacyDlpV2TransformationOverview( api.GooglePrivacyDlpV2TransformationOverview o) { buildCounterGooglePrivacyDlpV2TransformationOverview++; if (buildCounterGooglePrivacyDlpV2TransformationOverview < 3) { - checkUnnamed4152(o.transformationSummaries!); + checkUnnamed4133(o.transformationSummaries!); unittest.expect( o.transformedBytes!, unittest.equals('foo'), @@ -5790,23 +5790,23 @@ void checkGooglePrivacyDlpV2TransformationOverview( buildCounterGooglePrivacyDlpV2TransformationOverview--; } -core.List buildUnnamed4153() => [ +core.List buildUnnamed4134() => [ buildGooglePrivacyDlpV2FieldTransformation(), buildGooglePrivacyDlpV2FieldTransformation(), ]; -void checkUnnamed4153(core.List o) { +void checkUnnamed4134(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2FieldTransformation(o[0]); checkGooglePrivacyDlpV2FieldTransformation(o[1]); } -core.List buildUnnamed4154() => [ +core.List buildUnnamed4135() => [ buildGooglePrivacyDlpV2SummaryResult(), buildGooglePrivacyDlpV2SummaryResult(), ]; -void checkUnnamed4154(core.List o) { +void checkUnnamed4135(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGooglePrivacyDlpV2SummaryResult(o[0]); checkGooglePrivacyDlpV2SummaryResult(o[1]); @@ -5819,10 +5819,10 @@ api.GooglePrivacyDlpV2TransformationSummary buildCounterGooglePrivacyDlpV2TransformationSummary++; if (buildCounterGooglePrivacyDlpV2TransformationSummary < 3) { o.field = buildGooglePrivacyDlpV2FieldId(); - o.fieldTransformations = buildUnnamed4153(); + o.fieldTransformations = buildUnnamed4134(); o.infoType = buildGooglePrivacyDlpV2InfoType(); o.recordSuppress = buildGooglePrivacyDlpV2RecordSuppression(); - o.results = buildUnnamed4154(); + o.results = buildUnnamed4135(); o.transformation = buildGooglePrivacyDlpV2PrimitiveTransformation(); o.transformedBytes = 'foo'; } @@ -5835,10 +5835,10 @@ void checkGooglePrivacyDlpV2TransformationSummary( buildCounterGooglePrivacyDlpV2TransformationSummary++; if (buildCounterGooglePrivacyDlpV2TransformationSummary < 3) { checkGooglePrivacyDlpV2FieldId(o.field!); - checkUnnamed4153(o.fieldTransformations!); + checkUnnamed4134(o.fieldTransformations!); checkGooglePrivacyDlpV2InfoType(o.infoType!); checkGooglePrivacyDlpV2RecordSuppression(o.recordSuppress!); - checkUnnamed4154(o.results!); + checkUnnamed4135(o.results!); checkGooglePrivacyDlpV2PrimitiveTransformation(o.transformation!); unittest.expect( o.transformedBytes!, @@ -6094,12 +6094,12 @@ void checkGooglePrivacyDlpV2ValueFrequency( buildCounterGooglePrivacyDlpV2ValueFrequency--; } -core.List buildUnnamed4155() => [ +core.List buildUnnamed4136() => [ 'foo', 'foo', ]; -void checkUnnamed4155(core.List o) { +void checkUnnamed4136(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6116,7 +6116,7 @@ api.GooglePrivacyDlpV2WordList buildGooglePrivacyDlpV2WordList() { final o = api.GooglePrivacyDlpV2WordList(); buildCounterGooglePrivacyDlpV2WordList++; if (buildCounterGooglePrivacyDlpV2WordList < 3) { - o.words = buildUnnamed4155(); + o.words = buildUnnamed4136(); } buildCounterGooglePrivacyDlpV2WordList--; return o; @@ -6125,7 +6125,7 @@ api.GooglePrivacyDlpV2WordList buildGooglePrivacyDlpV2WordList() { void checkGooglePrivacyDlpV2WordList(api.GooglePrivacyDlpV2WordList o) { buildCounterGooglePrivacyDlpV2WordList++; if (buildCounterGooglePrivacyDlpV2WordList < 3) { - checkUnnamed4155(o.words!); + checkUnnamed4136(o.words!); } buildCounterGooglePrivacyDlpV2WordList--; } @@ -6145,7 +6145,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed4156() => { +core.Map buildUnnamed4137() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6158,7 +6158,7 @@ core.Map buildUnnamed4156() => { }, }; -void checkUnnamed4156(core.Map o) { +void checkUnnamed4137(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -6190,15 +6190,15 @@ void checkUnnamed4156(core.Map o) { ); } -core.List> buildUnnamed4157() => [ - buildUnnamed4156(), - buildUnnamed4156(), +core.List> buildUnnamed4138() => [ + buildUnnamed4137(), + buildUnnamed4137(), ]; -void checkUnnamed4157(core.List> o) { +void checkUnnamed4138(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4156(o[0]); - checkUnnamed4156(o[1]); + checkUnnamed4137(o[0]); + checkUnnamed4137(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -6207,7 +6207,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed4157(); + o.details = buildUnnamed4138(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -6221,7 +6221,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed4157(o.details!); + checkUnnamed4138(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart index c5fd9f89e..853958c29 100644 --- a/generated/googleapis/test/dns/v1_test.dart +++ b/generated/googleapis/test/dns/v1_test.dart @@ -26,23 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2253() => [ +core.List buildUnnamed2240() => [ buildResourceRecordSet(), buildResourceRecordSet(), ]; -void checkUnnamed2253(core.List o) { +void checkUnnamed2240(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecordSet(o[0]); checkResourceRecordSet(o[1]); } -core.List buildUnnamed2254() => [ +core.List buildUnnamed2241() => [ buildResourceRecordSet(), buildResourceRecordSet(), ]; -void checkUnnamed2254(core.List o) { +void checkUnnamed2241(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecordSet(o[0]); checkResourceRecordSet(o[1]); @@ -53,8 +53,8 @@ api.Change buildChange() { final o = api.Change(); buildCounterChange++; if (buildCounterChange < 3) { - o.additions = buildUnnamed2253(); - o.deletions = buildUnnamed2254(); + o.additions = buildUnnamed2240(); + o.deletions = buildUnnamed2241(); o.id = 'foo'; o.isServing = true; o.kind = 'foo'; @@ -68,8 +68,8 @@ api.Change buildChange() { void checkChange(api.Change o) { buildCounterChange++; if (buildCounterChange < 3) { - checkUnnamed2253(o.additions!); - checkUnnamed2254(o.deletions!); + checkUnnamed2240(o.additions!); + checkUnnamed2241(o.deletions!); unittest.expect( o.id!, unittest.equals('foo'), @@ -91,12 +91,12 @@ void checkChange(api.Change o) { buildCounterChange--; } -core.List buildUnnamed2255() => [ +core.List buildUnnamed2242() => [ buildChange(), buildChange(), ]; -void checkUnnamed2255(core.List o) { +void checkUnnamed2242(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChange(o[0]); checkChange(o[1]); @@ -107,7 +107,7 @@ api.ChangesListResponse buildChangesListResponse() { final o = api.ChangesListResponse(); buildCounterChangesListResponse++; if (buildCounterChangesListResponse < 3) { - o.changes = buildUnnamed2255(); + o.changes = buildUnnamed2242(); o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -119,7 +119,7 @@ api.ChangesListResponse buildChangesListResponse() { void checkChangesListResponse(api.ChangesListResponse o) { buildCounterChangesListResponse++; if (buildCounterChangesListResponse < 3) { - checkUnnamed2255(o.changes!); + checkUnnamed2242(o.changes!); checkResponseHeader(o.header!); unittest.expect( o.kind!, @@ -133,12 +133,12 @@ void checkChangesListResponse(api.ChangesListResponse o) { buildCounterChangesListResponse--; } -core.List buildUnnamed2256() => [ +core.List buildUnnamed2243() => [ buildDnsKeyDigest(), buildDnsKeyDigest(), ]; -void checkUnnamed2256(core.List o) { +void checkUnnamed2243(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDnsKeyDigest(o[0]); checkDnsKeyDigest(o[1]); @@ -152,7 +152,7 @@ api.DnsKey buildDnsKey() { o.algorithm = 'foo'; o.creationTime = 'foo'; o.description = 'foo'; - o.digests = buildUnnamed2256(); + o.digests = buildUnnamed2243(); o.id = 'foo'; o.isActive = true; o.keyLength = 42; @@ -180,7 +180,7 @@ void checkDnsKey(api.DnsKey o) { o.description!, unittest.equals('foo'), ); - checkUnnamed2256(o.digests!); + checkUnnamed2243(o.digests!); unittest.expect( o.id!, unittest.equals('foo'), @@ -274,12 +274,12 @@ void checkDnsKeySpec(api.DnsKeySpec o) { buildCounterDnsKeySpec--; } -core.List buildUnnamed2257() => [ +core.List buildUnnamed2244() => [ buildDnsKey(), buildDnsKey(), ]; -void checkUnnamed2257(core.List o) { +void checkUnnamed2244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDnsKey(o[0]); checkDnsKey(o[1]); @@ -290,7 +290,7 @@ api.DnsKeysListResponse buildDnsKeysListResponse() { final o = api.DnsKeysListResponse(); buildCounterDnsKeysListResponse++; if (buildCounterDnsKeysListResponse < 3) { - o.dnsKeys = buildUnnamed2257(); + o.dnsKeys = buildUnnamed2244(); o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -302,7 +302,7 @@ api.DnsKeysListResponse buildDnsKeysListResponse() { void checkDnsKeysListResponse(api.DnsKeysListResponse o) { buildCounterDnsKeysListResponse++; if (buildCounterDnsKeysListResponse < 3) { - checkUnnamed2257(o.dnsKeys!); + checkUnnamed2244(o.dnsKeys!); checkResponseHeader(o.header!); unittest.expect( o.kind!, @@ -316,12 +316,12 @@ void checkDnsKeysListResponse(api.DnsKeysListResponse o) { buildCounterDnsKeysListResponse--; } -core.Map buildUnnamed2258() => { +core.Map buildUnnamed2245() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2258(core.Map o) { +void checkUnnamed2245(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -333,12 +333,12 @@ void checkUnnamed2258(core.Map o) { ); } -core.List buildUnnamed2259() => [ +core.List buildUnnamed2246() => [ 'foo', 'foo', ]; -void checkUnnamed2259(core.List o) { +void checkUnnamed2246(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -362,10 +362,10 @@ api.ManagedZone buildManagedZone() { o.forwardingConfig = buildManagedZoneForwardingConfig(); o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed2258(); + o.labels = buildUnnamed2245(); o.name = 'foo'; o.nameServerSet = 'foo'; - o.nameServers = buildUnnamed2259(); + o.nameServers = buildUnnamed2246(); o.peeringConfig = buildManagedZonePeeringConfig(); o.privateVisibilityConfig = buildManagedZonePrivateVisibilityConfig(); o.reverseLookupConfig = buildManagedZoneReverseLookupConfig(); @@ -401,7 +401,7 @@ void checkManagedZone(api.ManagedZone o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2258(o.labels!); + checkUnnamed2245(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -410,7 +410,7 @@ void checkManagedZone(api.ManagedZone o) { o.nameServerSet!, unittest.equals('foo'), ); - checkUnnamed2259(o.nameServers!); + checkUnnamed2246(o.nameServers!); checkManagedZonePeeringConfig(o.peeringConfig!); checkManagedZonePrivateVisibilityConfig(o.privateVisibilityConfig!); checkManagedZoneReverseLookupConfig(o.reverseLookupConfig!); @@ -423,12 +423,12 @@ void checkManagedZone(api.ManagedZone o) { buildCounterManagedZone--; } -core.List buildUnnamed2260() => [ +core.List buildUnnamed2247() => [ buildDnsKeySpec(), buildDnsKeySpec(), ]; -void checkUnnamed2260(core.List o) { +void checkUnnamed2247(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDnsKeySpec(o[0]); checkDnsKeySpec(o[1]); @@ -439,7 +439,7 @@ api.ManagedZoneDnsSecConfig buildManagedZoneDnsSecConfig() { final o = api.ManagedZoneDnsSecConfig(); buildCounterManagedZoneDnsSecConfig++; if (buildCounterManagedZoneDnsSecConfig < 3) { - o.defaultKeySpecs = buildUnnamed2260(); + o.defaultKeySpecs = buildUnnamed2247(); o.kind = 'foo'; o.nonExistence = 'foo'; o.state = 'foo'; @@ -451,7 +451,7 @@ api.ManagedZoneDnsSecConfig buildManagedZoneDnsSecConfig() { void checkManagedZoneDnsSecConfig(api.ManagedZoneDnsSecConfig o) { buildCounterManagedZoneDnsSecConfig++; if (buildCounterManagedZoneDnsSecConfig < 3) { - checkUnnamed2260(o.defaultKeySpecs!); + checkUnnamed2247(o.defaultKeySpecs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -468,13 +468,13 @@ void checkManagedZoneDnsSecConfig(api.ManagedZoneDnsSecConfig o) { buildCounterManagedZoneDnsSecConfig--; } -core.List buildUnnamed2261() => +core.List buildUnnamed2248() => [ buildManagedZoneForwardingConfigNameServerTarget(), buildManagedZoneForwardingConfigNameServerTarget(), ]; -void checkUnnamed2261( +void checkUnnamed2248( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedZoneForwardingConfigNameServerTarget(o[0]); @@ -487,7 +487,7 @@ api.ManagedZoneForwardingConfig buildManagedZoneForwardingConfig() { buildCounterManagedZoneForwardingConfig++; if (buildCounterManagedZoneForwardingConfig < 3) { o.kind = 'foo'; - o.targetNameServers = buildUnnamed2261(); + o.targetNameServers = buildUnnamed2248(); } buildCounterManagedZoneForwardingConfig--; return o; @@ -500,7 +500,7 @@ void checkManagedZoneForwardingConfig(api.ManagedZoneForwardingConfig o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2261(o.targetNameServers!); + checkUnnamed2248(o.targetNameServers!); } buildCounterManagedZoneForwardingConfig--; } @@ -539,12 +539,12 @@ void checkManagedZoneForwardingConfigNameServerTarget( buildCounterManagedZoneForwardingConfigNameServerTarget--; } -core.List buildUnnamed2262() => [ +core.List buildUnnamed2249() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2262(core.List o) { +void checkUnnamed2249(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -558,7 +558,7 @@ api.ManagedZoneOperationsListResponse buildManagedZoneOperationsListResponse() { o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.operations = buildUnnamed2262(); + o.operations = buildUnnamed2249(); } buildCounterManagedZoneOperationsListResponse--; return o; @@ -577,7 +577,7 @@ void checkManagedZoneOperationsListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2262(o.operations!); + checkUnnamed2249(o.operations!); } buildCounterManagedZoneOperationsListResponse--; } @@ -640,12 +640,12 @@ void checkManagedZonePeeringConfigTargetNetwork( buildCounterManagedZonePeeringConfigTargetNetwork--; } -core.List buildUnnamed2263() => [ +core.List buildUnnamed2250() => [ buildManagedZonePrivateVisibilityConfigNetwork(), buildManagedZonePrivateVisibilityConfigNetwork(), ]; -void checkUnnamed2263( +void checkUnnamed2250( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedZonePrivateVisibilityConfigNetwork(o[0]); @@ -659,7 +659,7 @@ api.ManagedZonePrivateVisibilityConfig buildCounterManagedZonePrivateVisibilityConfig++; if (buildCounterManagedZonePrivateVisibilityConfig < 3) { o.kind = 'foo'; - o.networks = buildUnnamed2263(); + o.networks = buildUnnamed2250(); } buildCounterManagedZonePrivateVisibilityConfig--; return o; @@ -673,7 +673,7 @@ void checkManagedZonePrivateVisibilityConfig( o.kind!, unittest.equals('foo'), ); - checkUnnamed2263(o.networks!); + checkUnnamed2250(o.networks!); } buildCounterManagedZonePrivateVisibilityConfig--; } @@ -788,12 +788,12 @@ void checkManagedZoneServiceDirectoryConfigNamespace( buildCounterManagedZoneServiceDirectoryConfigNamespace--; } -core.List buildUnnamed2264() => [ +core.List buildUnnamed2251() => [ buildManagedZone(), buildManagedZone(), ]; -void checkUnnamed2264(core.List o) { +void checkUnnamed2251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedZone(o[0]); checkManagedZone(o[1]); @@ -806,7 +806,7 @@ api.ManagedZonesListResponse buildManagedZonesListResponse() { if (buildCounterManagedZonesListResponse < 3) { o.header = buildResponseHeader(); o.kind = 'foo'; - o.managedZones = buildUnnamed2264(); + o.managedZones = buildUnnamed2251(); o.nextPageToken = 'foo'; } buildCounterManagedZonesListResponse--; @@ -821,7 +821,7 @@ void checkManagedZonesListResponse(api.ManagedZonesListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2264(o.managedZones!); + checkUnnamed2251(o.managedZones!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -923,12 +923,12 @@ void checkOperationManagedZoneContext(api.OperationManagedZoneContext o) { buildCounterOperationManagedZoneContext--; } -core.List buildUnnamed2265() => [ +core.List buildUnnamed2252() => [ buildPolicy(), buildPolicy(), ]; -void checkUnnamed2265(core.List o) { +void checkUnnamed2252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicy(o[0]); checkPolicy(o[1]); @@ -942,7 +942,7 @@ api.PoliciesListResponse buildPoliciesListResponse() { o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.policies = buildUnnamed2265(); + o.policies = buildUnnamed2252(); } buildCounterPoliciesListResponse--; return o; @@ -960,7 +960,7 @@ void checkPoliciesListResponse(api.PoliciesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2265(o.policies!); + checkUnnamed2252(o.policies!); } buildCounterPoliciesListResponse--; } @@ -1007,12 +1007,12 @@ void checkPoliciesUpdateResponse(api.PoliciesUpdateResponse o) { buildCounterPoliciesUpdateResponse--; } -core.List buildUnnamed2266() => [ +core.List buildUnnamed2253() => [ buildPolicyNetwork(), buildPolicyNetwork(), ]; -void checkUnnamed2266(core.List o) { +void checkUnnamed2253(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyNetwork(o[0]); checkPolicyNetwork(o[1]); @@ -1030,7 +1030,7 @@ api.Policy buildPolicy() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.networks = buildUnnamed2266(); + o.networks = buildUnnamed2253(); } buildCounterPolicy--; return o; @@ -1058,18 +1058,18 @@ void checkPolicy(api.Policy o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2266(o.networks!); + checkUnnamed2253(o.networks!); } buildCounterPolicy--; } core.List - buildUnnamed2267() => [ + buildUnnamed2254() => [ buildPolicyAlternativeNameServerConfigTargetNameServer(), buildPolicyAlternativeNameServerConfigTargetNameServer(), ]; -void checkUnnamed2267( +void checkUnnamed2254( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyAlternativeNameServerConfigTargetNameServer(o[0]); @@ -1082,7 +1082,7 @@ api.PolicyAlternativeNameServerConfig buildPolicyAlternativeNameServerConfig() { buildCounterPolicyAlternativeNameServerConfig++; if (buildCounterPolicyAlternativeNameServerConfig < 3) { o.kind = 'foo'; - o.targetNameServers = buildUnnamed2267(); + o.targetNameServers = buildUnnamed2254(); } buildCounterPolicyAlternativeNameServerConfig--; return o; @@ -1096,7 +1096,7 @@ void checkPolicyAlternativeNameServerConfig( o.kind!, unittest.equals('foo'), ); - checkUnnamed2267(o.targetNameServers!); + checkUnnamed2254(o.targetNameServers!); } buildCounterPolicyAlternativeNameServerConfig--; } @@ -1196,12 +1196,12 @@ void checkProject(api.Project o) { buildCounterProject--; } -core.List buildUnnamed2268() => [ +core.List buildUnnamed2255() => [ buildDnsKeySpec(), buildDnsKeySpec(), ]; -void checkUnnamed2268(core.List o) { +void checkUnnamed2255(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDnsKeySpec(o[0]); checkDnsKeySpec(o[1]); @@ -1226,7 +1226,7 @@ api.Quota buildQuota() { o.targetNameServersPerManagedZone = 42; o.targetNameServersPerPolicy = 42; o.totalRrdataSizePerChange = 42; - o.whitelistedKeySpecs = buildUnnamed2268(); + o.whitelistedKeySpecs = buildUnnamed2255(); } buildCounterQuota--; return o; @@ -1291,17 +1291,17 @@ void checkQuota(api.Quota o) { o.totalRrdataSizePerChange!, unittest.equals(42), ); - checkUnnamed2268(o.whitelistedKeySpecs!); + checkUnnamed2255(o.whitelistedKeySpecs!); } buildCounterQuota--; } -core.List buildUnnamed2269() => [ +core.List buildUnnamed2256() => [ 'foo', 'foo', ]; -void checkUnnamed2269(core.List o) { +void checkUnnamed2256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1313,12 +1313,12 @@ void checkUnnamed2269(core.List o) { ); } -core.List buildUnnamed2270() => [ +core.List buildUnnamed2257() => [ 'foo', 'foo', ]; -void checkUnnamed2270(core.List o) { +void checkUnnamed2257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1337,8 +1337,8 @@ api.ResourceRecordSet buildResourceRecordSet() { if (buildCounterResourceRecordSet < 3) { o.kind = 'foo'; o.name = 'foo'; - o.rrdatas = buildUnnamed2269(); - o.signatureRrdatas = buildUnnamed2270(); + o.rrdatas = buildUnnamed2256(); + o.signatureRrdatas = buildUnnamed2257(); o.ttl = 42; o.type = 'foo'; } @@ -1357,8 +1357,8 @@ void checkResourceRecordSet(api.ResourceRecordSet o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2269(o.rrdatas!); - checkUnnamed2270(o.signatureRrdatas!); + checkUnnamed2256(o.rrdatas!); + checkUnnamed2257(o.signatureRrdatas!); unittest.expect( o.ttl!, unittest.equals(42), @@ -1387,12 +1387,12 @@ void checkResourceRecordSetsDeleteResponse( buildCounterResourceRecordSetsDeleteResponse--; } -core.List buildUnnamed2271() => [ +core.List buildUnnamed2258() => [ buildResourceRecordSet(), buildResourceRecordSet(), ]; -void checkUnnamed2271(core.List o) { +void checkUnnamed2258(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecordSet(o[0]); checkResourceRecordSet(o[1]); @@ -1406,7 +1406,7 @@ api.ResourceRecordSetsListResponse buildResourceRecordSetsListResponse() { o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.rrsets = buildUnnamed2271(); + o.rrsets = buildUnnamed2258(); } buildCounterResourceRecordSetsListResponse--; return o; @@ -1424,7 +1424,7 @@ void checkResourceRecordSetsListResponse(api.ResourceRecordSetsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2271(o.rrsets!); + checkUnnamed2258(o.rrsets!); } buildCounterResourceRecordSetsListResponse--; } diff --git a/generated/googleapis/test/docs/v1_test.dart b/generated/googleapis/test/docs/v1_test.dart index cbaee5f3e..5399f8d75 100644 --- a/generated/googleapis/test/docs/v1_test.dart +++ b/generated/googleapis/test/docs/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7283() => [ +core.List buildUnnamed7363() => [ 'foo', 'foo', ]; -void checkUnnamed7283(core.List o) { +void checkUnnamed7363(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed7283(core.List o) { ); } -core.List buildUnnamed7284() => [ +core.List buildUnnamed7364() => [ 'foo', 'foo', ]; -void checkUnnamed7284(core.List o) { +void checkUnnamed7364(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -60,12 +60,12 @@ void checkUnnamed7284(core.List o) { ); } -core.Map buildUnnamed7285() => { +core.Map buildUnnamed7365() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7285(core.Map o) { +void checkUnnamed7365(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -76,9 +76,9 @@ api.AutoText buildAutoText() { final o = api.AutoText(); buildCounterAutoText++; if (buildCounterAutoText < 3) { - o.suggestedDeletionIds = buildUnnamed7283(); - o.suggestedInsertionIds = buildUnnamed7284(); - o.suggestedTextStyleChanges = buildUnnamed7285(); + o.suggestedDeletionIds = buildUnnamed7363(); + o.suggestedInsertionIds = buildUnnamed7364(); + o.suggestedTextStyleChanges = buildUnnamed7365(); o.textStyle = buildTextStyle(); o.type = 'foo'; } @@ -89,9 +89,9 @@ api.AutoText buildAutoText() { void checkAutoText(api.AutoText o) { buildCounterAutoText++; if (buildCounterAutoText < 3) { - checkUnnamed7283(o.suggestedDeletionIds!); - checkUnnamed7284(o.suggestedInsertionIds!); - checkUnnamed7285(o.suggestedTextStyleChanges!); + checkUnnamed7363(o.suggestedDeletionIds!); + checkUnnamed7364(o.suggestedInsertionIds!); + checkUnnamed7365(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); unittest.expect( o.type!, @@ -139,12 +139,12 @@ void checkBackgroundSuggestionState(api.BackgroundSuggestionState o) { buildCounterBackgroundSuggestionState--; } -core.List buildUnnamed7286() => [ +core.List buildUnnamed7366() => [ buildRequest(), buildRequest(), ]; -void checkUnnamed7286(core.List o) { +void checkUnnamed7366(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRequest(o[0]); checkRequest(o[1]); @@ -155,7 +155,7 @@ api.BatchUpdateDocumentRequest buildBatchUpdateDocumentRequest() { final o = api.BatchUpdateDocumentRequest(); buildCounterBatchUpdateDocumentRequest++; if (buildCounterBatchUpdateDocumentRequest < 3) { - o.requests = buildUnnamed7286(); + o.requests = buildUnnamed7366(); o.writeControl = buildWriteControl(); } buildCounterBatchUpdateDocumentRequest--; @@ -165,18 +165,18 @@ api.BatchUpdateDocumentRequest buildBatchUpdateDocumentRequest() { void checkBatchUpdateDocumentRequest(api.BatchUpdateDocumentRequest o) { buildCounterBatchUpdateDocumentRequest++; if (buildCounterBatchUpdateDocumentRequest < 3) { - checkUnnamed7286(o.requests!); + checkUnnamed7366(o.requests!); checkWriteControl(o.writeControl!); } buildCounterBatchUpdateDocumentRequest--; } -core.List buildUnnamed7287() => [ +core.List buildUnnamed7367() => [ buildResponse(), buildResponse(), ]; -void checkUnnamed7287(core.List o) { +void checkUnnamed7367(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResponse(o[0]); checkResponse(o[1]); @@ -188,7 +188,7 @@ api.BatchUpdateDocumentResponse buildBatchUpdateDocumentResponse() { buildCounterBatchUpdateDocumentResponse++; if (buildCounterBatchUpdateDocumentResponse < 3) { o.documentId = 'foo'; - o.replies = buildUnnamed7287(); + o.replies = buildUnnamed7367(); o.writeControl = buildWriteControl(); } buildCounterBatchUpdateDocumentResponse--; @@ -202,18 +202,18 @@ void checkBatchUpdateDocumentResponse(api.BatchUpdateDocumentResponse o) { o.documentId!, unittest.equals('foo'), ); - checkUnnamed7287(o.replies!); + checkUnnamed7367(o.replies!); checkWriteControl(o.writeControl!); } buildCounterBatchUpdateDocumentResponse--; } -core.List buildUnnamed7288() => [ +core.List buildUnnamed7368() => [ buildStructuralElement(), buildStructuralElement(), ]; -void checkUnnamed7288(core.List o) { +void checkUnnamed7368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuralElement(o[0]); checkStructuralElement(o[1]); @@ -224,7 +224,7 @@ api.Body buildBody() { final o = api.Body(); buildCounterBody++; if (buildCounterBody < 3) { - o.content = buildUnnamed7288(); + o.content = buildUnnamed7368(); } buildCounterBody--; return o; @@ -233,7 +233,7 @@ api.Body buildBody() { void checkBody(api.Body o) { buildCounterBody++; if (buildCounterBody < 3) { - checkUnnamed7288(o.content!); + checkUnnamed7368(o.content!); } buildCounterBody--; } @@ -309,12 +309,12 @@ void checkColor(api.Color o) { buildCounterColor--; } -core.List buildUnnamed7289() => [ +core.List buildUnnamed7369() => [ 'foo', 'foo', ]; -void checkUnnamed7289(core.List o) { +void checkUnnamed7369(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -326,12 +326,12 @@ void checkUnnamed7289(core.List o) { ); } -core.List buildUnnamed7290() => [ +core.List buildUnnamed7370() => [ 'foo', 'foo', ]; -void checkUnnamed7290(core.List o) { +void checkUnnamed7370(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -343,12 +343,12 @@ void checkUnnamed7290(core.List o) { ); } -core.Map buildUnnamed7291() => { +core.Map buildUnnamed7371() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7291(core.Map o) { +void checkUnnamed7371(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -359,9 +359,9 @@ api.ColumnBreak buildColumnBreak() { final o = api.ColumnBreak(); buildCounterColumnBreak++; if (buildCounterColumnBreak < 3) { - o.suggestedDeletionIds = buildUnnamed7289(); - o.suggestedInsertionIds = buildUnnamed7290(); - o.suggestedTextStyleChanges = buildUnnamed7291(); + o.suggestedDeletionIds = buildUnnamed7369(); + o.suggestedInsertionIds = buildUnnamed7370(); + o.suggestedTextStyleChanges = buildUnnamed7371(); o.textStyle = buildTextStyle(); } buildCounterColumnBreak--; @@ -371,9 +371,9 @@ api.ColumnBreak buildColumnBreak() { void checkColumnBreak(api.ColumnBreak o) { buildCounterColumnBreak++; if (buildCounterColumnBreak < 3) { - checkUnnamed7289(o.suggestedDeletionIds!); - checkUnnamed7290(o.suggestedInsertionIds!); - checkUnnamed7291(o.suggestedTextStyleChanges!); + checkUnnamed7369(o.suggestedDeletionIds!); + checkUnnamed7370(o.suggestedInsertionIds!); + checkUnnamed7371(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterColumnBreak--; @@ -849,100 +849,100 @@ void checkDimension(api.Dimension o) { buildCounterDimension--; } -core.Map buildUnnamed7292() => { +core.Map buildUnnamed7372() => { 'x': buildFooter(), 'y': buildFooter(), }; -void checkUnnamed7292(core.Map o) { +void checkUnnamed7372(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFooter(o['x']!); checkFooter(o['y']!); } -core.Map buildUnnamed7293() => { +core.Map buildUnnamed7373() => { 'x': buildFootnote(), 'y': buildFootnote(), }; -void checkUnnamed7293(core.Map o) { +void checkUnnamed7373(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFootnote(o['x']!); checkFootnote(o['y']!); } -core.Map buildUnnamed7294() => { +core.Map buildUnnamed7374() => { 'x': buildHeader(), 'y': buildHeader(), }; -void checkUnnamed7294(core.Map o) { +void checkUnnamed7374(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkHeader(o['x']!); checkHeader(o['y']!); } -core.Map buildUnnamed7295() => { +core.Map buildUnnamed7375() => { 'x': buildInlineObject(), 'y': buildInlineObject(), }; -void checkUnnamed7295(core.Map o) { +void checkUnnamed7375(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInlineObject(o['x']!); checkInlineObject(o['y']!); } -core.Map buildUnnamed7296() => { +core.Map buildUnnamed7376() => { 'x': buildList(), 'y': buildList(), }; -void checkUnnamed7296(core.Map o) { +void checkUnnamed7376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkList(o['x']!); checkList(o['y']!); } -core.Map buildUnnamed7297() => { +core.Map buildUnnamed7377() => { 'x': buildNamedRanges(), 'y': buildNamedRanges(), }; -void checkUnnamed7297(core.Map o) { +void checkUnnamed7377(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNamedRanges(o['x']!); checkNamedRanges(o['y']!); } -core.Map buildUnnamed7298() => { +core.Map buildUnnamed7378() => { 'x': buildPositionedObject(), 'y': buildPositionedObject(), }; -void checkUnnamed7298(core.Map o) { +void checkUnnamed7378(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPositionedObject(o['x']!); checkPositionedObject(o['y']!); } -core.Map buildUnnamed7299() => { +core.Map buildUnnamed7379() => { 'x': buildSuggestedDocumentStyle(), 'y': buildSuggestedDocumentStyle(), }; -void checkUnnamed7299(core.Map o) { +void checkUnnamed7379(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedDocumentStyle(o['x']!); checkSuggestedDocumentStyle(o['y']!); } -core.Map buildUnnamed7300() => { +core.Map buildUnnamed7380() => { 'x': buildSuggestedNamedStyles(), 'y': buildSuggestedNamedStyles(), }; -void checkUnnamed7300(core.Map o) { +void checkUnnamed7380(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedNamedStyles(o['x']!); checkSuggestedNamedStyles(o['y']!); @@ -956,17 +956,17 @@ api.Document buildDocument() { o.body = buildBody(); o.documentId = 'foo'; o.documentStyle = buildDocumentStyle(); - o.footers = buildUnnamed7292(); - o.footnotes = buildUnnamed7293(); - o.headers = buildUnnamed7294(); - o.inlineObjects = buildUnnamed7295(); - o.lists = buildUnnamed7296(); - o.namedRanges = buildUnnamed7297(); + o.footers = buildUnnamed7372(); + o.footnotes = buildUnnamed7373(); + o.headers = buildUnnamed7374(); + o.inlineObjects = buildUnnamed7375(); + o.lists = buildUnnamed7376(); + o.namedRanges = buildUnnamed7377(); o.namedStyles = buildNamedStyles(); - o.positionedObjects = buildUnnamed7298(); + o.positionedObjects = buildUnnamed7378(); o.revisionId = 'foo'; - o.suggestedDocumentStyleChanges = buildUnnamed7299(); - o.suggestedNamedStylesChanges = buildUnnamed7300(); + o.suggestedDocumentStyleChanges = buildUnnamed7379(); + o.suggestedNamedStylesChanges = buildUnnamed7380(); o.suggestionsViewMode = 'foo'; o.title = 'foo'; } @@ -983,20 +983,20 @@ void checkDocument(api.Document o) { unittest.equals('foo'), ); checkDocumentStyle(o.documentStyle!); - checkUnnamed7292(o.footers!); - checkUnnamed7293(o.footnotes!); - checkUnnamed7294(o.headers!); - checkUnnamed7295(o.inlineObjects!); - checkUnnamed7296(o.lists!); - checkUnnamed7297(o.namedRanges!); + checkUnnamed7372(o.footers!); + checkUnnamed7373(o.footnotes!); + checkUnnamed7374(o.headers!); + checkUnnamed7375(o.inlineObjects!); + checkUnnamed7376(o.lists!); + checkUnnamed7377(o.namedRanges!); checkNamedStyles(o.namedStyles!); - checkUnnamed7298(o.positionedObjects!); + checkUnnamed7378(o.positionedObjects!); unittest.expect( o.revisionId!, unittest.equals('foo'), ); - checkUnnamed7299(o.suggestedDocumentStyleChanges!); - checkUnnamed7300(o.suggestedNamedStylesChanges!); + checkUnnamed7379(o.suggestedDocumentStyleChanges!); + checkUnnamed7380(o.suggestedNamedStylesChanges!); unittest.expect( o.suggestionsViewMode!, unittest.equals('foo'), @@ -1338,12 +1338,12 @@ void checkEndOfSegmentLocation(api.EndOfSegmentLocation o) { buildCounterEndOfSegmentLocation--; } -core.List buildUnnamed7301() => [ +core.List buildUnnamed7381() => [ 'foo', 'foo', ]; -void checkUnnamed7301(core.List o) { +void checkUnnamed7381(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1355,12 +1355,12 @@ void checkUnnamed7301(core.List o) { ); } -core.List buildUnnamed7302() => [ +core.List buildUnnamed7382() => [ 'foo', 'foo', ]; -void checkUnnamed7302(core.List o) { +void checkUnnamed7382(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1377,8 +1377,8 @@ api.Equation buildEquation() { final o = api.Equation(); buildCounterEquation++; if (buildCounterEquation < 3) { - o.suggestedDeletionIds = buildUnnamed7301(); - o.suggestedInsertionIds = buildUnnamed7302(); + o.suggestedDeletionIds = buildUnnamed7381(); + o.suggestedInsertionIds = buildUnnamed7382(); } buildCounterEquation--; return o; @@ -1387,18 +1387,18 @@ api.Equation buildEquation() { void checkEquation(api.Equation o) { buildCounterEquation++; if (buildCounterEquation < 3) { - checkUnnamed7301(o.suggestedDeletionIds!); - checkUnnamed7302(o.suggestedInsertionIds!); + checkUnnamed7381(o.suggestedDeletionIds!); + checkUnnamed7382(o.suggestedInsertionIds!); } buildCounterEquation--; } -core.List buildUnnamed7303() => [ +core.List buildUnnamed7383() => [ buildStructuralElement(), buildStructuralElement(), ]; -void checkUnnamed7303(core.List o) { +void checkUnnamed7383(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuralElement(o[0]); checkStructuralElement(o[1]); @@ -1409,7 +1409,7 @@ api.Footer buildFooter() { final o = api.Footer(); buildCounterFooter++; if (buildCounterFooter < 3) { - o.content = buildUnnamed7303(); + o.content = buildUnnamed7383(); o.footerId = 'foo'; } buildCounterFooter--; @@ -1419,7 +1419,7 @@ api.Footer buildFooter() { void checkFooter(api.Footer o) { buildCounterFooter++; if (buildCounterFooter < 3) { - checkUnnamed7303(o.content!); + checkUnnamed7383(o.content!); unittest.expect( o.footerId!, unittest.equals('foo'), @@ -1428,12 +1428,12 @@ void checkFooter(api.Footer o) { buildCounterFooter--; } -core.List buildUnnamed7304() => [ +core.List buildUnnamed7384() => [ buildStructuralElement(), buildStructuralElement(), ]; -void checkUnnamed7304(core.List o) { +void checkUnnamed7384(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuralElement(o[0]); checkStructuralElement(o[1]); @@ -1444,7 +1444,7 @@ api.Footnote buildFootnote() { final o = api.Footnote(); buildCounterFootnote++; if (buildCounterFootnote < 3) { - o.content = buildUnnamed7304(); + o.content = buildUnnamed7384(); o.footnoteId = 'foo'; } buildCounterFootnote--; @@ -1454,7 +1454,7 @@ api.Footnote buildFootnote() { void checkFootnote(api.Footnote o) { buildCounterFootnote++; if (buildCounterFootnote < 3) { - checkUnnamed7304(o.content!); + checkUnnamed7384(o.content!); unittest.expect( o.footnoteId!, unittest.equals('foo'), @@ -1463,12 +1463,12 @@ void checkFootnote(api.Footnote o) { buildCounterFootnote--; } -core.List buildUnnamed7305() => [ +core.List buildUnnamed7385() => [ 'foo', 'foo', ]; -void checkUnnamed7305(core.List o) { +void checkUnnamed7385(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1480,12 +1480,12 @@ void checkUnnamed7305(core.List o) { ); } -core.List buildUnnamed7306() => [ +core.List buildUnnamed7386() => [ 'foo', 'foo', ]; -void checkUnnamed7306(core.List o) { +void checkUnnamed7386(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1497,12 +1497,12 @@ void checkUnnamed7306(core.List o) { ); } -core.Map buildUnnamed7307() => { +core.Map buildUnnamed7387() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7307(core.Map o) { +void checkUnnamed7387(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -1515,9 +1515,9 @@ api.FootnoteReference buildFootnoteReference() { if (buildCounterFootnoteReference < 3) { o.footnoteId = 'foo'; o.footnoteNumber = 'foo'; - o.suggestedDeletionIds = buildUnnamed7305(); - o.suggestedInsertionIds = buildUnnamed7306(); - o.suggestedTextStyleChanges = buildUnnamed7307(); + o.suggestedDeletionIds = buildUnnamed7385(); + o.suggestedInsertionIds = buildUnnamed7386(); + o.suggestedTextStyleChanges = buildUnnamed7387(); o.textStyle = buildTextStyle(); } buildCounterFootnoteReference--; @@ -1535,20 +1535,20 @@ void checkFootnoteReference(api.FootnoteReference o) { o.footnoteNumber!, unittest.equals('foo'), ); - checkUnnamed7305(o.suggestedDeletionIds!); - checkUnnamed7306(o.suggestedInsertionIds!); - checkUnnamed7307(o.suggestedTextStyleChanges!); + checkUnnamed7385(o.suggestedDeletionIds!); + checkUnnamed7386(o.suggestedInsertionIds!); + checkUnnamed7387(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterFootnoteReference--; } -core.List buildUnnamed7308() => [ +core.List buildUnnamed7388() => [ buildStructuralElement(), buildStructuralElement(), ]; -void checkUnnamed7308(core.List o) { +void checkUnnamed7388(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuralElement(o[0]); checkStructuralElement(o[1]); @@ -1559,7 +1559,7 @@ api.Header buildHeader() { final o = api.Header(); buildCounterHeader++; if (buildCounterHeader < 3) { - o.content = buildUnnamed7308(); + o.content = buildUnnamed7388(); o.headerId = 'foo'; } buildCounterHeader--; @@ -1569,7 +1569,7 @@ api.Header buildHeader() { void checkHeader(api.Header o) { buildCounterHeader++; if (buildCounterHeader < 3) { - checkUnnamed7308(o.content!); + checkUnnamed7388(o.content!); unittest.expect( o.headerId!, unittest.equals('foo'), @@ -1578,12 +1578,12 @@ void checkHeader(api.Header o) { buildCounterHeader--; } -core.List buildUnnamed7309() => [ +core.List buildUnnamed7389() => [ 'foo', 'foo', ]; -void checkUnnamed7309(core.List o) { +void checkUnnamed7389(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1595,12 +1595,12 @@ void checkUnnamed7309(core.List o) { ); } -core.List buildUnnamed7310() => [ +core.List buildUnnamed7390() => [ 'foo', 'foo', ]; -void checkUnnamed7310(core.List o) { +void checkUnnamed7390(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1612,12 +1612,12 @@ void checkUnnamed7310(core.List o) { ); } -core.Map buildUnnamed7311() => { +core.Map buildUnnamed7391() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7311(core.Map o) { +void checkUnnamed7391(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -1628,9 +1628,9 @@ api.HorizontalRule buildHorizontalRule() { final o = api.HorizontalRule(); buildCounterHorizontalRule++; if (buildCounterHorizontalRule < 3) { - o.suggestedDeletionIds = buildUnnamed7309(); - o.suggestedInsertionIds = buildUnnamed7310(); - o.suggestedTextStyleChanges = buildUnnamed7311(); + o.suggestedDeletionIds = buildUnnamed7389(); + o.suggestedInsertionIds = buildUnnamed7390(); + o.suggestedTextStyleChanges = buildUnnamed7391(); o.textStyle = buildTextStyle(); } buildCounterHorizontalRule--; @@ -1640,9 +1640,9 @@ api.HorizontalRule buildHorizontalRule() { void checkHorizontalRule(api.HorizontalRule o) { buildCounterHorizontalRule++; if (buildCounterHorizontalRule < 3) { - checkUnnamed7309(o.suggestedDeletionIds!); - checkUnnamed7310(o.suggestedInsertionIds!); - checkUnnamed7311(o.suggestedTextStyleChanges!); + checkUnnamed7389(o.suggestedDeletionIds!); + checkUnnamed7390(o.suggestedInsertionIds!); + checkUnnamed7391(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterHorizontalRule--; @@ -1728,12 +1728,12 @@ void checkImagePropertiesSuggestionState(api.ImagePropertiesSuggestionState o) { buildCounterImagePropertiesSuggestionState--; } -core.List buildUnnamed7312() => [ +core.List buildUnnamed7392() => [ 'foo', 'foo', ]; -void checkUnnamed7312(core.List o) { +void checkUnnamed7392(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1745,13 +1745,13 @@ void checkUnnamed7312(core.List o) { ); } -core.Map buildUnnamed7313() => +core.Map buildUnnamed7393() => { 'x': buildSuggestedInlineObjectProperties(), 'y': buildSuggestedInlineObjectProperties(), }; -void checkUnnamed7313( +void checkUnnamed7393( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedInlineObjectProperties(o['x']!); @@ -1765,8 +1765,8 @@ api.InlineObject buildInlineObject() { if (buildCounterInlineObject < 3) { o.inlineObjectProperties = buildInlineObjectProperties(); o.objectId = 'foo'; - o.suggestedDeletionIds = buildUnnamed7312(); - o.suggestedInlineObjectPropertiesChanges = buildUnnamed7313(); + o.suggestedDeletionIds = buildUnnamed7392(); + o.suggestedInlineObjectPropertiesChanges = buildUnnamed7393(); o.suggestedInsertionId = 'foo'; } buildCounterInlineObject--; @@ -1781,8 +1781,8 @@ void checkInlineObject(api.InlineObject o) { o.objectId!, unittest.equals('foo'), ); - checkUnnamed7312(o.suggestedDeletionIds!); - checkUnnamed7313(o.suggestedInlineObjectPropertiesChanges!); + checkUnnamed7392(o.suggestedDeletionIds!); + checkUnnamed7393(o.suggestedInlineObjectPropertiesChanges!); unittest.expect( o.suggestedInsertionId!, unittest.equals('foo'), @@ -1791,12 +1791,12 @@ void checkInlineObject(api.InlineObject o) { buildCounterInlineObject--; } -core.List buildUnnamed7314() => [ +core.List buildUnnamed7394() => [ 'foo', 'foo', ]; -void checkUnnamed7314(core.List o) { +void checkUnnamed7394(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1808,12 +1808,12 @@ void checkUnnamed7314(core.List o) { ); } -core.List buildUnnamed7315() => [ +core.List buildUnnamed7395() => [ 'foo', 'foo', ]; -void checkUnnamed7315(core.List o) { +void checkUnnamed7395(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1825,12 +1825,12 @@ void checkUnnamed7315(core.List o) { ); } -core.Map buildUnnamed7316() => { +core.Map buildUnnamed7396() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7316(core.Map o) { +void checkUnnamed7396(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -1842,9 +1842,9 @@ api.InlineObjectElement buildInlineObjectElement() { buildCounterInlineObjectElement++; if (buildCounterInlineObjectElement < 3) { o.inlineObjectId = 'foo'; - o.suggestedDeletionIds = buildUnnamed7314(); - o.suggestedInsertionIds = buildUnnamed7315(); - o.suggestedTextStyleChanges = buildUnnamed7316(); + o.suggestedDeletionIds = buildUnnamed7394(); + o.suggestedInsertionIds = buildUnnamed7395(); + o.suggestedTextStyleChanges = buildUnnamed7396(); o.textStyle = buildTextStyle(); } buildCounterInlineObjectElement--; @@ -1858,9 +1858,9 @@ void checkInlineObjectElement(api.InlineObjectElement o) { o.inlineObjectId!, unittest.equals('foo'), ); - checkUnnamed7314(o.suggestedDeletionIds!); - checkUnnamed7315(o.suggestedInsertionIds!); - checkUnnamed7316(o.suggestedTextStyleChanges!); + checkUnnamed7394(o.suggestedDeletionIds!); + checkUnnamed7395(o.suggestedInsertionIds!); + checkUnnamed7396(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterInlineObjectElement--; @@ -2199,12 +2199,12 @@ void checkLinkedContentReferenceSuggestionState( buildCounterLinkedContentReferenceSuggestionState--; } -core.List buildUnnamed7317() => [ +core.List buildUnnamed7397() => [ 'foo', 'foo', ]; -void checkUnnamed7317(core.List o) { +void checkUnnamed7397(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2216,12 +2216,12 @@ void checkUnnamed7317(core.List o) { ); } -core.Map buildUnnamed7318() => { +core.Map buildUnnamed7398() => { 'x': buildSuggestedListProperties(), 'y': buildSuggestedListProperties(), }; -void checkUnnamed7318(core.Map o) { +void checkUnnamed7398(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedListProperties(o['x']!); checkSuggestedListProperties(o['y']!); @@ -2233,9 +2233,9 @@ api.List buildList() { buildCounterList++; if (buildCounterList < 3) { o.listProperties = buildListProperties(); - o.suggestedDeletionIds = buildUnnamed7317(); + o.suggestedDeletionIds = buildUnnamed7397(); o.suggestedInsertionId = 'foo'; - o.suggestedListPropertiesChanges = buildUnnamed7318(); + o.suggestedListPropertiesChanges = buildUnnamed7398(); } buildCounterList--; return o; @@ -2245,22 +2245,22 @@ void checkList(api.List o) { buildCounterList++; if (buildCounterList < 3) { checkListProperties(o.listProperties!); - checkUnnamed7317(o.suggestedDeletionIds!); + checkUnnamed7397(o.suggestedDeletionIds!); unittest.expect( o.suggestedInsertionId!, unittest.equals('foo'), ); - checkUnnamed7318(o.suggestedListPropertiesChanges!); + checkUnnamed7398(o.suggestedListPropertiesChanges!); } buildCounterList--; } -core.List buildUnnamed7319() => [ +core.List buildUnnamed7399() => [ buildNestingLevel(), buildNestingLevel(), ]; -void checkUnnamed7319(core.List o) { +void checkUnnamed7399(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNestingLevel(o[0]); checkNestingLevel(o[1]); @@ -2271,7 +2271,7 @@ api.ListProperties buildListProperties() { final o = api.ListProperties(); buildCounterListProperties++; if (buildCounterListProperties < 3) { - o.nestingLevels = buildUnnamed7319(); + o.nestingLevels = buildUnnamed7399(); } buildCounterListProperties--; return o; @@ -2280,17 +2280,17 @@ api.ListProperties buildListProperties() { void checkListProperties(api.ListProperties o) { buildCounterListProperties++; if (buildCounterListProperties < 3) { - checkUnnamed7319(o.nestingLevels!); + checkUnnamed7399(o.nestingLevels!); } buildCounterListProperties--; } -core.List buildUnnamed7320() => [ +core.List buildUnnamed7400() => [ buildNestingLevelSuggestionState(), buildNestingLevelSuggestionState(), ]; -void checkUnnamed7320(core.List o) { +void checkUnnamed7400(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNestingLevelSuggestionState(o[0]); checkNestingLevelSuggestionState(o[1]); @@ -2301,7 +2301,7 @@ api.ListPropertiesSuggestionState buildListPropertiesSuggestionState() { final o = api.ListPropertiesSuggestionState(); buildCounterListPropertiesSuggestionState++; if (buildCounterListPropertiesSuggestionState < 3) { - o.nestingLevelsSuggestionStates = buildUnnamed7320(); + o.nestingLevelsSuggestionStates = buildUnnamed7400(); } buildCounterListPropertiesSuggestionState--; return o; @@ -2310,7 +2310,7 @@ api.ListPropertiesSuggestionState buildListPropertiesSuggestionState() { void checkListPropertiesSuggestionState(api.ListPropertiesSuggestionState o) { buildCounterListPropertiesSuggestionState++; if (buildCounterListPropertiesSuggestionState < 3) { - checkUnnamed7320(o.nestingLevelsSuggestionStates!); + checkUnnamed7400(o.nestingLevelsSuggestionStates!); } buildCounterListPropertiesSuggestionState--; } @@ -2361,12 +2361,12 @@ void checkMergeTableCellsRequest(api.MergeTableCellsRequest o) { buildCounterMergeTableCellsRequest--; } -core.List buildUnnamed7321() => [ +core.List buildUnnamed7401() => [ buildRange(), buildRange(), ]; -void checkUnnamed7321(core.List o) { +void checkUnnamed7401(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRange(o[0]); checkRange(o[1]); @@ -2379,7 +2379,7 @@ api.NamedRange buildNamedRange() { if (buildCounterNamedRange < 3) { o.name = 'foo'; o.namedRangeId = 'foo'; - o.ranges = buildUnnamed7321(); + o.ranges = buildUnnamed7401(); } buildCounterNamedRange--; return o; @@ -2396,17 +2396,17 @@ void checkNamedRange(api.NamedRange o) { o.namedRangeId!, unittest.equals('foo'), ); - checkUnnamed7321(o.ranges!); + checkUnnamed7401(o.ranges!); } buildCounterNamedRange--; } -core.List buildUnnamed7322() => [ +core.List buildUnnamed7402() => [ buildNamedRange(), buildNamedRange(), ]; -void checkUnnamed7322(core.List o) { +void checkUnnamed7402(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedRange(o[0]); checkNamedRange(o[1]); @@ -2418,7 +2418,7 @@ api.NamedRanges buildNamedRanges() { buildCounterNamedRanges++; if (buildCounterNamedRanges < 3) { o.name = 'foo'; - o.namedRanges = buildUnnamed7322(); + o.namedRanges = buildUnnamed7402(); } buildCounterNamedRanges--; return o; @@ -2431,7 +2431,7 @@ void checkNamedRanges(api.NamedRanges o) { o.name!, unittest.equals('foo'), ); - checkUnnamed7322(o.namedRanges!); + checkUnnamed7402(o.namedRanges!); } buildCounterNamedRanges--; } @@ -2488,12 +2488,12 @@ void checkNamedStyleSuggestionState(api.NamedStyleSuggestionState o) { buildCounterNamedStyleSuggestionState--; } -core.List buildUnnamed7323() => [ +core.List buildUnnamed7403() => [ buildNamedStyle(), buildNamedStyle(), ]; -void checkUnnamed7323(core.List o) { +void checkUnnamed7403(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedStyle(o[0]); checkNamedStyle(o[1]); @@ -2504,7 +2504,7 @@ api.NamedStyles buildNamedStyles() { final o = api.NamedStyles(); buildCounterNamedStyles++; if (buildCounterNamedStyles < 3) { - o.styles = buildUnnamed7323(); + o.styles = buildUnnamed7403(); } buildCounterNamedStyles--; return o; @@ -2513,17 +2513,17 @@ api.NamedStyles buildNamedStyles() { void checkNamedStyles(api.NamedStyles o) { buildCounterNamedStyles++; if (buildCounterNamedStyles < 3) { - checkUnnamed7323(o.styles!); + checkUnnamed7403(o.styles!); } buildCounterNamedStyles--; } -core.List buildUnnamed7324() => [ +core.List buildUnnamed7404() => [ buildNamedStyleSuggestionState(), buildNamedStyleSuggestionState(), ]; -void checkUnnamed7324(core.List o) { +void checkUnnamed7404(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedStyleSuggestionState(o[0]); checkNamedStyleSuggestionState(o[1]); @@ -2534,7 +2534,7 @@ api.NamedStylesSuggestionState buildNamedStylesSuggestionState() { final o = api.NamedStylesSuggestionState(); buildCounterNamedStylesSuggestionState++; if (buildCounterNamedStylesSuggestionState < 3) { - o.stylesSuggestionStates = buildUnnamed7324(); + o.stylesSuggestionStates = buildUnnamed7404(); } buildCounterNamedStylesSuggestionState--; return o; @@ -2543,7 +2543,7 @@ api.NamedStylesSuggestionState buildNamedStylesSuggestionState() { void checkNamedStylesSuggestionState(api.NamedStylesSuggestionState o) { buildCounterNamedStylesSuggestionState++; if (buildCounterNamedStylesSuggestionState < 3) { - checkUnnamed7324(o.stylesSuggestionStates!); + checkUnnamed7404(o.stylesSuggestionStates!); } buildCounterNamedStylesSuggestionState--; } @@ -2629,12 +2629,12 @@ void checkNestingLevelSuggestionState(api.NestingLevelSuggestionState o) { buildCounterNestingLevelSuggestionState--; } -core.List buildUnnamed7325() => [ +core.List buildUnnamed7405() => [ 'foo', 'foo', ]; -void checkUnnamed7325(core.List o) { +void checkUnnamed7405(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2651,7 +2651,7 @@ api.ObjectReferences buildObjectReferences() { final o = api.ObjectReferences(); buildCounterObjectReferences++; if (buildCounterObjectReferences < 3) { - o.objectIds = buildUnnamed7325(); + o.objectIds = buildUnnamed7405(); } buildCounterObjectReferences--; return o; @@ -2660,7 +2660,7 @@ api.ObjectReferences buildObjectReferences() { void checkObjectReferences(api.ObjectReferences o) { buildCounterObjectReferences++; if (buildCounterObjectReferences < 3) { - checkUnnamed7325(o.objectIds!); + checkUnnamed7405(o.objectIds!); } buildCounterObjectReferences--; } @@ -2684,12 +2684,12 @@ void checkOptionalColor(api.OptionalColor o) { buildCounterOptionalColor--; } -core.List buildUnnamed7326() => [ +core.List buildUnnamed7406() => [ 'foo', 'foo', ]; -void checkUnnamed7326(core.List o) { +void checkUnnamed7406(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2701,12 +2701,12 @@ void checkUnnamed7326(core.List o) { ); } -core.List buildUnnamed7327() => [ +core.List buildUnnamed7407() => [ 'foo', 'foo', ]; -void checkUnnamed7327(core.List o) { +void checkUnnamed7407(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2718,12 +2718,12 @@ void checkUnnamed7327(core.List o) { ); } -core.Map buildUnnamed7328() => { +core.Map buildUnnamed7408() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7328(core.Map o) { +void checkUnnamed7408(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -2734,9 +2734,9 @@ api.PageBreak buildPageBreak() { final o = api.PageBreak(); buildCounterPageBreak++; if (buildCounterPageBreak < 3) { - o.suggestedDeletionIds = buildUnnamed7326(); - o.suggestedInsertionIds = buildUnnamed7327(); - o.suggestedTextStyleChanges = buildUnnamed7328(); + o.suggestedDeletionIds = buildUnnamed7406(); + o.suggestedInsertionIds = buildUnnamed7407(); + o.suggestedTextStyleChanges = buildUnnamed7408(); o.textStyle = buildTextStyle(); } buildCounterPageBreak--; @@ -2746,31 +2746,31 @@ api.PageBreak buildPageBreak() { void checkPageBreak(api.PageBreak o) { buildCounterPageBreak++; if (buildCounterPageBreak < 3) { - checkUnnamed7326(o.suggestedDeletionIds!); - checkUnnamed7327(o.suggestedInsertionIds!); - checkUnnamed7328(o.suggestedTextStyleChanges!); + checkUnnamed7406(o.suggestedDeletionIds!); + checkUnnamed7407(o.suggestedInsertionIds!); + checkUnnamed7408(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterPageBreak--; } -core.List buildUnnamed7329() => [ +core.List buildUnnamed7409() => [ buildParagraphElement(), buildParagraphElement(), ]; -void checkUnnamed7329(core.List o) { +void checkUnnamed7409(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParagraphElement(o[0]); checkParagraphElement(o[1]); } -core.List buildUnnamed7330() => [ +core.List buildUnnamed7410() => [ 'foo', 'foo', ]; -void checkUnnamed7330(core.List o) { +void checkUnnamed7410(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2782,34 +2782,34 @@ void checkUnnamed7330(core.List o) { ); } -core.Map buildUnnamed7331() => { +core.Map buildUnnamed7411() => { 'x': buildSuggestedBullet(), 'y': buildSuggestedBullet(), }; -void checkUnnamed7331(core.Map o) { +void checkUnnamed7411(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedBullet(o['x']!); checkSuggestedBullet(o['y']!); } -core.Map buildUnnamed7332() => { +core.Map buildUnnamed7412() => { 'x': buildSuggestedParagraphStyle(), 'y': buildSuggestedParagraphStyle(), }; -void checkUnnamed7332(core.Map o) { +void checkUnnamed7412(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedParagraphStyle(o['x']!); checkSuggestedParagraphStyle(o['y']!); } -core.Map buildUnnamed7333() => { +core.Map buildUnnamed7413() => { 'x': buildObjectReferences(), 'y': buildObjectReferences(), }; -void checkUnnamed7333(core.Map o) { +void checkUnnamed7413(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkObjectReferences(o['x']!); checkObjectReferences(o['y']!); @@ -2821,12 +2821,12 @@ api.Paragraph buildParagraph() { buildCounterParagraph++; if (buildCounterParagraph < 3) { o.bullet = buildBullet(); - o.elements = buildUnnamed7329(); + o.elements = buildUnnamed7409(); o.paragraphStyle = buildParagraphStyle(); - o.positionedObjectIds = buildUnnamed7330(); - o.suggestedBulletChanges = buildUnnamed7331(); - o.suggestedParagraphStyleChanges = buildUnnamed7332(); - o.suggestedPositionedObjectIds = buildUnnamed7333(); + o.positionedObjectIds = buildUnnamed7410(); + o.suggestedBulletChanges = buildUnnamed7411(); + o.suggestedParagraphStyleChanges = buildUnnamed7412(); + o.suggestedPositionedObjectIds = buildUnnamed7413(); } buildCounterParagraph--; return o; @@ -2836,12 +2836,12 @@ void checkParagraph(api.Paragraph o) { buildCounterParagraph++; if (buildCounterParagraph < 3) { checkBullet(o.bullet!); - checkUnnamed7329(o.elements!); + checkUnnamed7409(o.elements!); checkParagraphStyle(o.paragraphStyle!); - checkUnnamed7330(o.positionedObjectIds!); - checkUnnamed7331(o.suggestedBulletChanges!); - checkUnnamed7332(o.suggestedParagraphStyleChanges!); - checkUnnamed7333(o.suggestedPositionedObjectIds!); + checkUnnamed7410(o.positionedObjectIds!); + checkUnnamed7411(o.suggestedBulletChanges!); + checkUnnamed7412(o.suggestedParagraphStyleChanges!); + checkUnnamed7413(o.suggestedPositionedObjectIds!); } buildCounterParagraph--; } @@ -2921,12 +2921,12 @@ void checkParagraphElement(api.ParagraphElement o) { buildCounterParagraphElement--; } -core.List buildUnnamed7334() => [ +core.List buildUnnamed7414() => [ buildTabStop(), buildTabStop(), ]; -void checkUnnamed7334(core.List o) { +void checkUnnamed7414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTabStop(o[0]); checkTabStop(o[1]); @@ -2957,7 +2957,7 @@ api.ParagraphStyle buildParagraphStyle() { o.spaceAbove = buildDimension(); o.spaceBelow = buildDimension(); o.spacingMode = 'foo'; - o.tabStops = buildUnnamed7334(); + o.tabStops = buildUnnamed7414(); } buildCounterParagraphStyle--; return o; @@ -3004,7 +3004,7 @@ void checkParagraphStyle(api.ParagraphStyle o) { o.spacingMode!, unittest.equals('foo'), ); - checkUnnamed7334(o.tabStops!); + checkUnnamed7414(o.tabStops!); } buildCounterParagraphStyle--; } @@ -3066,12 +3066,12 @@ void checkParagraphStyleSuggestionState(api.ParagraphStyleSuggestionState o) { buildCounterParagraphStyleSuggestionState--; } -core.List buildUnnamed7335() => [ +core.List buildUnnamed7415() => [ 'foo', 'foo', ]; -void checkUnnamed7335(core.List o) { +void checkUnnamed7415(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3083,12 +3083,12 @@ void checkUnnamed7335(core.List o) { ); } -core.List buildUnnamed7336() => [ +core.List buildUnnamed7416() => [ 'foo', 'foo', ]; -void checkUnnamed7336(core.List o) { +void checkUnnamed7416(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3100,12 +3100,12 @@ void checkUnnamed7336(core.List o) { ); } -core.Map buildUnnamed7337() => { +core.Map buildUnnamed7417() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7337(core.Map o) { +void checkUnnamed7417(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -3118,9 +3118,9 @@ api.Person buildPerson() { if (buildCounterPerson < 3) { o.personId = 'foo'; o.personProperties = buildPersonProperties(); - o.suggestedDeletionIds = buildUnnamed7335(); - o.suggestedInsertionIds = buildUnnamed7336(); - o.suggestedTextStyleChanges = buildUnnamed7337(); + o.suggestedDeletionIds = buildUnnamed7415(); + o.suggestedInsertionIds = buildUnnamed7416(); + o.suggestedTextStyleChanges = buildUnnamed7417(); o.textStyle = buildTextStyle(); } buildCounterPerson--; @@ -3135,9 +3135,9 @@ void checkPerson(api.Person o) { unittest.equals('foo'), ); checkPersonProperties(o.personProperties!); - checkUnnamed7335(o.suggestedDeletionIds!); - checkUnnamed7336(o.suggestedInsertionIds!); - checkUnnamed7337(o.suggestedTextStyleChanges!); + checkUnnamed7415(o.suggestedDeletionIds!); + checkUnnamed7416(o.suggestedInsertionIds!); + checkUnnamed7417(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterPerson--; @@ -3170,12 +3170,12 @@ void checkPersonProperties(api.PersonProperties o) { buildCounterPersonProperties--; } -core.List buildUnnamed7338() => [ +core.List buildUnnamed7418() => [ 'foo', 'foo', ]; -void checkUnnamed7338(core.List o) { +void checkUnnamed7418(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3188,12 +3188,12 @@ void checkUnnamed7338(core.List o) { } core.Map - buildUnnamed7339() => { + buildUnnamed7419() => { 'x': buildSuggestedPositionedObjectProperties(), 'y': buildSuggestedPositionedObjectProperties(), }; -void checkUnnamed7339( +void checkUnnamed7419( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedPositionedObjectProperties(o['x']!); @@ -3207,9 +3207,9 @@ api.PositionedObject buildPositionedObject() { if (buildCounterPositionedObject < 3) { o.objectId = 'foo'; o.positionedObjectProperties = buildPositionedObjectProperties(); - o.suggestedDeletionIds = buildUnnamed7338(); + o.suggestedDeletionIds = buildUnnamed7418(); o.suggestedInsertionId = 'foo'; - o.suggestedPositionedObjectPropertiesChanges = buildUnnamed7339(); + o.suggestedPositionedObjectPropertiesChanges = buildUnnamed7419(); } buildCounterPositionedObject--; return o; @@ -3223,12 +3223,12 @@ void checkPositionedObject(api.PositionedObject o) { unittest.equals('foo'), ); checkPositionedObjectProperties(o.positionedObjectProperties!); - checkUnnamed7338(o.suggestedDeletionIds!); + checkUnnamed7418(o.suggestedDeletionIds!); unittest.expect( o.suggestedInsertionId!, unittest.equals('foo'), ); - checkUnnamed7339(o.suggestedPositionedObjectPropertiesChanges!); + checkUnnamed7419(o.suggestedPositionedObjectPropertiesChanges!); } buildCounterPositionedObject--; } @@ -3617,12 +3617,12 @@ void checkRgbColor(api.RgbColor o) { buildCounterRgbColor--; } -core.List buildUnnamed7340() => [ +core.List buildUnnamed7420() => [ 'foo', 'foo', ]; -void checkUnnamed7340(core.List o) { +void checkUnnamed7420(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3634,12 +3634,12 @@ void checkUnnamed7340(core.List o) { ); } -core.List buildUnnamed7341() => [ +core.List buildUnnamed7421() => [ 'foo', 'foo', ]; -void checkUnnamed7341(core.List o) { +void checkUnnamed7421(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3651,12 +3651,12 @@ void checkUnnamed7341(core.List o) { ); } -core.Map buildUnnamed7342() => { +core.Map buildUnnamed7422() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7342(core.Map o) { +void checkUnnamed7422(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -3669,9 +3669,9 @@ api.RichLink buildRichLink() { if (buildCounterRichLink < 3) { o.richLinkId = 'foo'; o.richLinkProperties = buildRichLinkProperties(); - o.suggestedDeletionIds = buildUnnamed7340(); - o.suggestedInsertionIds = buildUnnamed7341(); - o.suggestedTextStyleChanges = buildUnnamed7342(); + o.suggestedDeletionIds = buildUnnamed7420(); + o.suggestedInsertionIds = buildUnnamed7421(); + o.suggestedTextStyleChanges = buildUnnamed7422(); o.textStyle = buildTextStyle(); } buildCounterRichLink--; @@ -3686,9 +3686,9 @@ void checkRichLink(api.RichLink o) { unittest.equals('foo'), ); checkRichLinkProperties(o.richLinkProperties!); - checkUnnamed7340(o.suggestedDeletionIds!); - checkUnnamed7341(o.suggestedInsertionIds!); - checkUnnamed7342(o.suggestedTextStyleChanges!); + checkUnnamed7420(o.suggestedDeletionIds!); + checkUnnamed7421(o.suggestedInsertionIds!); + checkUnnamed7422(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterRichLink--; @@ -3726,12 +3726,12 @@ void checkRichLinkProperties(api.RichLinkProperties o) { buildCounterRichLinkProperties--; } -core.List buildUnnamed7343() => [ +core.List buildUnnamed7423() => [ 'foo', 'foo', ]; -void checkUnnamed7343(core.List o) { +void checkUnnamed7423(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3743,12 +3743,12 @@ void checkUnnamed7343(core.List o) { ); } -core.List buildUnnamed7344() => [ +core.List buildUnnamed7424() => [ 'foo', 'foo', ]; -void checkUnnamed7344(core.List o) { +void checkUnnamed7424(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3766,8 +3766,8 @@ api.SectionBreak buildSectionBreak() { buildCounterSectionBreak++; if (buildCounterSectionBreak < 3) { o.sectionStyle = buildSectionStyle(); - o.suggestedDeletionIds = buildUnnamed7343(); - o.suggestedInsertionIds = buildUnnamed7344(); + o.suggestedDeletionIds = buildUnnamed7423(); + o.suggestedInsertionIds = buildUnnamed7424(); } buildCounterSectionBreak--; return o; @@ -3777,8 +3777,8 @@ void checkSectionBreak(api.SectionBreak o) { buildCounterSectionBreak++; if (buildCounterSectionBreak < 3) { checkSectionStyle(o.sectionStyle!); - checkUnnamed7343(o.suggestedDeletionIds!); - checkUnnamed7344(o.suggestedInsertionIds!); + checkUnnamed7423(o.suggestedDeletionIds!); + checkUnnamed7424(o.suggestedInsertionIds!); } buildCounterSectionBreak--; } @@ -3804,12 +3804,12 @@ void checkSectionColumnProperties(api.SectionColumnProperties o) { buildCounterSectionColumnProperties--; } -core.List buildUnnamed7345() => [ +core.List buildUnnamed7425() => [ buildSectionColumnProperties(), buildSectionColumnProperties(), ]; -void checkUnnamed7345(core.List o) { +void checkUnnamed7425(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSectionColumnProperties(o[0]); checkSectionColumnProperties(o[1]); @@ -3820,7 +3820,7 @@ api.SectionStyle buildSectionStyle() { final o = api.SectionStyle(); buildCounterSectionStyle++; if (buildCounterSectionStyle < 3) { - o.columnProperties = buildUnnamed7345(); + o.columnProperties = buildUnnamed7425(); o.columnSeparatorStyle = 'foo'; o.contentDirection = 'foo'; o.defaultFooterId = 'foo'; @@ -3846,7 +3846,7 @@ api.SectionStyle buildSectionStyle() { void checkSectionStyle(api.SectionStyle o) { buildCounterSectionStyle++; if (buildCounterSectionStyle < 3) { - checkUnnamed7345(o.columnProperties!); + checkUnnamed7425(o.columnProperties!); unittest.expect( o.columnSeparatorStyle!, unittest.equals('foo'), @@ -4328,12 +4328,12 @@ void checkTabStop(api.TabStop o) { buildCounterTabStop--; } -core.List buildUnnamed7346() => [ +core.List buildUnnamed7426() => [ 'foo', 'foo', ]; -void checkUnnamed7346(core.List o) { +void checkUnnamed7426(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4345,12 +4345,12 @@ void checkUnnamed7346(core.List o) { ); } -core.List buildUnnamed7347() => [ +core.List buildUnnamed7427() => [ 'foo', 'foo', ]; -void checkUnnamed7347(core.List o) { +void checkUnnamed7427(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4362,12 +4362,12 @@ void checkUnnamed7347(core.List o) { ); } -core.List buildUnnamed7348() => [ +core.List buildUnnamed7428() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed7348(core.List o) { +void checkUnnamed7428(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -4380,9 +4380,9 @@ api.Table buildTable() { if (buildCounterTable < 3) { o.columns = 42; o.rows = 42; - o.suggestedDeletionIds = buildUnnamed7346(); - o.suggestedInsertionIds = buildUnnamed7347(); - o.tableRows = buildUnnamed7348(); + o.suggestedDeletionIds = buildUnnamed7426(); + o.suggestedInsertionIds = buildUnnamed7427(); + o.tableRows = buildUnnamed7428(); o.tableStyle = buildTableStyle(); } buildCounterTable--; @@ -4400,31 +4400,31 @@ void checkTable(api.Table o) { o.rows!, unittest.equals(42), ); - checkUnnamed7346(o.suggestedDeletionIds!); - checkUnnamed7347(o.suggestedInsertionIds!); - checkUnnamed7348(o.tableRows!); + checkUnnamed7426(o.suggestedDeletionIds!); + checkUnnamed7427(o.suggestedInsertionIds!); + checkUnnamed7428(o.tableRows!); checkTableStyle(o.tableStyle!); } buildCounterTable--; } -core.List buildUnnamed7349() => [ +core.List buildUnnamed7429() => [ buildStructuralElement(), buildStructuralElement(), ]; -void checkUnnamed7349(core.List o) { +void checkUnnamed7429(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuralElement(o[0]); checkStructuralElement(o[1]); } -core.List buildUnnamed7350() => [ +core.List buildUnnamed7430() => [ 'foo', 'foo', ]; -void checkUnnamed7350(core.List o) { +void checkUnnamed7430(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4436,12 +4436,12 @@ void checkUnnamed7350(core.List o) { ); } -core.List buildUnnamed7351() => [ +core.List buildUnnamed7431() => [ 'foo', 'foo', ]; -void checkUnnamed7351(core.List o) { +void checkUnnamed7431(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4453,12 +4453,12 @@ void checkUnnamed7351(core.List o) { ); } -core.Map buildUnnamed7352() => { +core.Map buildUnnamed7432() => { 'x': buildSuggestedTableCellStyle(), 'y': buildSuggestedTableCellStyle(), }; -void checkUnnamed7352(core.Map o) { +void checkUnnamed7432(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTableCellStyle(o['x']!); checkSuggestedTableCellStyle(o['y']!); @@ -4469,12 +4469,12 @@ api.TableCell buildTableCell() { final o = api.TableCell(); buildCounterTableCell++; if (buildCounterTableCell < 3) { - o.content = buildUnnamed7349(); + o.content = buildUnnamed7429(); o.endIndex = 42; o.startIndex = 42; - o.suggestedDeletionIds = buildUnnamed7350(); - o.suggestedInsertionIds = buildUnnamed7351(); - o.suggestedTableCellStyleChanges = buildUnnamed7352(); + o.suggestedDeletionIds = buildUnnamed7430(); + o.suggestedInsertionIds = buildUnnamed7431(); + o.suggestedTableCellStyleChanges = buildUnnamed7432(); o.tableCellStyle = buildTableCellStyle(); } buildCounterTableCell--; @@ -4484,7 +4484,7 @@ api.TableCell buildTableCell() { void checkTableCell(api.TableCell o) { buildCounterTableCell++; if (buildCounterTableCell < 3) { - checkUnnamed7349(o.content!); + checkUnnamed7429(o.content!); unittest.expect( o.endIndex!, unittest.equals(42), @@ -4493,9 +4493,9 @@ void checkTableCell(api.TableCell o) { o.startIndex!, unittest.equals(42), ); - checkUnnamed7350(o.suggestedDeletionIds!); - checkUnnamed7351(o.suggestedInsertionIds!); - checkUnnamed7352(o.suggestedTableCellStyleChanges!); + checkUnnamed7430(o.suggestedDeletionIds!); + checkUnnamed7431(o.suggestedInsertionIds!); + checkUnnamed7432(o.suggestedTableCellStyleChanges!); checkTableCellStyle(o.tableCellStyle!); } buildCounterTableCell--; @@ -4671,23 +4671,23 @@ void checkTableColumnProperties(api.TableColumnProperties o) { buildCounterTableColumnProperties--; } -core.List buildUnnamed7353() => [ +core.List buildUnnamed7433() => [ buildStructuralElement(), buildStructuralElement(), ]; -void checkUnnamed7353(core.List o) { +void checkUnnamed7433(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructuralElement(o[0]); checkStructuralElement(o[1]); } -core.List buildUnnamed7354() => [ +core.List buildUnnamed7434() => [ 'foo', 'foo', ]; -void checkUnnamed7354(core.List o) { +void checkUnnamed7434(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4699,12 +4699,12 @@ void checkUnnamed7354(core.List o) { ); } -core.List buildUnnamed7355() => [ +core.List buildUnnamed7435() => [ 'foo', 'foo', ]; -void checkUnnamed7355(core.List o) { +void checkUnnamed7435(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4721,9 +4721,9 @@ api.TableOfContents buildTableOfContents() { final o = api.TableOfContents(); buildCounterTableOfContents++; if (buildCounterTableOfContents < 3) { - o.content = buildUnnamed7353(); - o.suggestedDeletionIds = buildUnnamed7354(); - o.suggestedInsertionIds = buildUnnamed7355(); + o.content = buildUnnamed7433(); + o.suggestedDeletionIds = buildUnnamed7434(); + o.suggestedInsertionIds = buildUnnamed7435(); } buildCounterTableOfContents--; return o; @@ -4732,9 +4732,9 @@ api.TableOfContents buildTableOfContents() { void checkTableOfContents(api.TableOfContents o) { buildCounterTableOfContents++; if (buildCounterTableOfContents < 3) { - checkUnnamed7353(o.content!); - checkUnnamed7354(o.suggestedDeletionIds!); - checkUnnamed7355(o.suggestedInsertionIds!); + checkUnnamed7433(o.content!); + checkUnnamed7434(o.suggestedDeletionIds!); + checkUnnamed7435(o.suggestedInsertionIds!); } buildCounterTableOfContents--; } @@ -4768,12 +4768,12 @@ void checkTableRange(api.TableRange o) { buildCounterTableRange--; } -core.List buildUnnamed7356() => [ +core.List buildUnnamed7436() => [ 'foo', 'foo', ]; -void checkUnnamed7356(core.List o) { +void checkUnnamed7436(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4785,12 +4785,12 @@ void checkUnnamed7356(core.List o) { ); } -core.List buildUnnamed7357() => [ +core.List buildUnnamed7437() => [ 'foo', 'foo', ]; -void checkUnnamed7357(core.List o) { +void checkUnnamed7437(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4802,23 +4802,23 @@ void checkUnnamed7357(core.List o) { ); } -core.Map buildUnnamed7358() => { +core.Map buildUnnamed7438() => { 'x': buildSuggestedTableRowStyle(), 'y': buildSuggestedTableRowStyle(), }; -void checkUnnamed7358(core.Map o) { +void checkUnnamed7438(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTableRowStyle(o['x']!); checkSuggestedTableRowStyle(o['y']!); } -core.List buildUnnamed7359() => [ +core.List buildUnnamed7439() => [ buildTableCell(), buildTableCell(), ]; -void checkUnnamed7359(core.List o) { +void checkUnnamed7439(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableCell(o[0]); checkTableCell(o[1]); @@ -4831,10 +4831,10 @@ api.TableRow buildTableRow() { if (buildCounterTableRow < 3) { o.endIndex = 42; o.startIndex = 42; - o.suggestedDeletionIds = buildUnnamed7356(); - o.suggestedInsertionIds = buildUnnamed7357(); - o.suggestedTableRowStyleChanges = buildUnnamed7358(); - o.tableCells = buildUnnamed7359(); + o.suggestedDeletionIds = buildUnnamed7436(); + o.suggestedInsertionIds = buildUnnamed7437(); + o.suggestedTableRowStyleChanges = buildUnnamed7438(); + o.tableCells = buildUnnamed7439(); o.tableRowStyle = buildTableRowStyle(); } buildCounterTableRow--; @@ -4852,10 +4852,10 @@ void checkTableRow(api.TableRow o) { o.startIndex!, unittest.equals(42), ); - checkUnnamed7356(o.suggestedDeletionIds!); - checkUnnamed7357(o.suggestedInsertionIds!); - checkUnnamed7358(o.suggestedTableRowStyleChanges!); - checkUnnamed7359(o.tableCells!); + checkUnnamed7436(o.suggestedDeletionIds!); + checkUnnamed7437(o.suggestedInsertionIds!); + checkUnnamed7438(o.suggestedTableRowStyleChanges!); + checkUnnamed7439(o.tableCells!); checkTableRowStyle(o.tableRowStyle!); } buildCounterTableRow--; @@ -4899,12 +4899,12 @@ void checkTableRowStyleSuggestionState(api.TableRowStyleSuggestionState o) { buildCounterTableRowStyleSuggestionState--; } -core.List buildUnnamed7360() => [ +core.List buildUnnamed7440() => [ buildTableColumnProperties(), buildTableColumnProperties(), ]; -void checkUnnamed7360(core.List o) { +void checkUnnamed7440(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableColumnProperties(o[0]); checkTableColumnProperties(o[1]); @@ -4915,7 +4915,7 @@ api.TableStyle buildTableStyle() { final o = api.TableStyle(); buildCounterTableStyle++; if (buildCounterTableStyle < 3) { - o.tableColumnProperties = buildUnnamed7360(); + o.tableColumnProperties = buildUnnamed7440(); } buildCounterTableStyle--; return o; @@ -4924,17 +4924,17 @@ api.TableStyle buildTableStyle() { void checkTableStyle(api.TableStyle o) { buildCounterTableStyle++; if (buildCounterTableStyle < 3) { - checkUnnamed7360(o.tableColumnProperties!); + checkUnnamed7440(o.tableColumnProperties!); } buildCounterTableStyle--; } -core.List buildUnnamed7361() => [ +core.List buildUnnamed7441() => [ 'foo', 'foo', ]; -void checkUnnamed7361(core.List o) { +void checkUnnamed7441(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4946,12 +4946,12 @@ void checkUnnamed7361(core.List o) { ); } -core.List buildUnnamed7362() => [ +core.List buildUnnamed7442() => [ 'foo', 'foo', ]; -void checkUnnamed7362(core.List o) { +void checkUnnamed7442(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4963,12 +4963,12 @@ void checkUnnamed7362(core.List o) { ); } -core.Map buildUnnamed7363() => { +core.Map buildUnnamed7443() => { 'x': buildSuggestedTextStyle(), 'y': buildSuggestedTextStyle(), }; -void checkUnnamed7363(core.Map o) { +void checkUnnamed7443(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestedTextStyle(o['x']!); checkSuggestedTextStyle(o['y']!); @@ -4980,9 +4980,9 @@ api.TextRun buildTextRun() { buildCounterTextRun++; if (buildCounterTextRun < 3) { o.content = 'foo'; - o.suggestedDeletionIds = buildUnnamed7361(); - o.suggestedInsertionIds = buildUnnamed7362(); - o.suggestedTextStyleChanges = buildUnnamed7363(); + o.suggestedDeletionIds = buildUnnamed7441(); + o.suggestedInsertionIds = buildUnnamed7442(); + o.suggestedTextStyleChanges = buildUnnamed7443(); o.textStyle = buildTextStyle(); } buildCounterTextRun--; @@ -4996,9 +4996,9 @@ void checkTextRun(api.TextRun o) { o.content!, unittest.equals('foo'), ); - checkUnnamed7361(o.suggestedDeletionIds!); - checkUnnamed7362(o.suggestedInsertionIds!); - checkUnnamed7363(o.suggestedTextStyleChanges!); + checkUnnamed7441(o.suggestedDeletionIds!); + checkUnnamed7442(o.suggestedInsertionIds!); + checkUnnamed7443(o.suggestedTextStyleChanges!); checkTextStyle(o.textStyle!); } buildCounterTextRun--; @@ -5208,12 +5208,12 @@ void checkUpdateTableCellStyleRequest(api.UpdateTableCellStyleRequest o) { buildCounterUpdateTableCellStyleRequest--; } -core.List buildUnnamed7364() => [ +core.List buildUnnamed7444() => [ 42, 42, ]; -void checkUnnamed7364(core.List o) { +void checkUnnamed7444(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5231,7 +5231,7 @@ api.UpdateTableColumnPropertiesRequest final o = api.UpdateTableColumnPropertiesRequest(); buildCounterUpdateTableColumnPropertiesRequest++; if (buildCounterUpdateTableColumnPropertiesRequest < 3) { - o.columnIndices = buildUnnamed7364(); + o.columnIndices = buildUnnamed7444(); o.fields = 'foo'; o.tableColumnProperties = buildTableColumnProperties(); o.tableStartLocation = buildLocation(); @@ -5244,7 +5244,7 @@ void checkUpdateTableColumnPropertiesRequest( api.UpdateTableColumnPropertiesRequest o) { buildCounterUpdateTableColumnPropertiesRequest++; if (buildCounterUpdateTableColumnPropertiesRequest < 3) { - checkUnnamed7364(o.columnIndices!); + checkUnnamed7444(o.columnIndices!); unittest.expect( o.fields!, unittest.equals('foo'), @@ -5255,12 +5255,12 @@ void checkUpdateTableColumnPropertiesRequest( buildCounterUpdateTableColumnPropertiesRequest--; } -core.List buildUnnamed7365() => [ +core.List buildUnnamed7445() => [ 42, 42, ]; -void checkUnnamed7365(core.List o) { +void checkUnnamed7445(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5278,7 +5278,7 @@ api.UpdateTableRowStyleRequest buildUpdateTableRowStyleRequest() { buildCounterUpdateTableRowStyleRequest++; if (buildCounterUpdateTableRowStyleRequest < 3) { o.fields = 'foo'; - o.rowIndices = buildUnnamed7365(); + o.rowIndices = buildUnnamed7445(); o.tableRowStyle = buildTableRowStyle(); o.tableStartLocation = buildLocation(); } @@ -5293,7 +5293,7 @@ void checkUpdateTableRowStyleRequest(api.UpdateTableRowStyleRequest o) { o.fields!, unittest.equals('foo'), ); - checkUnnamed7365(o.rowIndices!); + checkUnnamed7445(o.rowIndices!); checkTableRowStyle(o.tableRowStyle!); checkLocation(o.tableStartLocation!); } diff --git a/generated/googleapis/test/documentai/v1_test.dart b/generated/googleapis/test/documentai/v1_test.dart index f0fa6ee31..b8d85d319 100644 --- a/generated/googleapis/test/documentai/v1_test.dart +++ b/generated/googleapis/test/documentai/v1_test.dart @@ -26,6 +26,98 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.int + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata = 0; +api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata < + 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( + api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata < + 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata--; +} + +core.int + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse = 0; +api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse( + api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse--; +} + +core.int buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata = + 0; +api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata + buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata < + 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata < + 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata--; +} + +core.int buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse = + 0; +api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse + buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse( + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse--; +} + core.int buildCounterGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata = 0; api.GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata() { @@ -411,6 +503,46 @@ void checkGoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( buildCounterGoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse--; } +core.int buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata = 0; +api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata + buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata < 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata < 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata--; +} + +core.int buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse = 0; +api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse + buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse() { + final o = api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(); + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse < 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse( + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse o) { + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse < 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse--; +} + core.int buildCounterGoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata = 0; @@ -495,23 +627,23 @@ void checkGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata--; } -core.List buildUnnamed2272() => [ +core.List buildUnnamed2259() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed2272(core.List o) { +void checkUnnamed2259(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); } -core.List buildUnnamed2273() => [ +core.List buildUnnamed2260() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed2273(core.List o) { +void checkUnnamed2260(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -528,9 +660,9 @@ api.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation if (buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation < 3) { o.datasetErrorCount = 42; - o.datasetErrors = buildUnnamed2272(); + o.datasetErrors = buildUnnamed2259(); o.documentErrorCount = 42; - o.documentErrors = buildUnnamed2273(); + o.documentErrors = buildUnnamed2260(); } buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation--; return o; @@ -546,12 +678,12 @@ void checkGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetVali o.datasetErrorCount!, unittest.equals(42), ); - checkUnnamed2272(o.datasetErrors!); + checkUnnamed2259(o.datasetErrors!); unittest.expect( o.documentErrorCount!, unittest.equals(42), ); - checkUnnamed2273(o.documentErrors!); + checkUnnamed2260(o.documentErrors!); } buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation--; } @@ -633,6 +765,33 @@ void checkGoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse( buildCounterGoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse--; } +core.int + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata = + 0; +api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata + buildGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata < + 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata( + api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata < + 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata--; +} + core.int buildCounterGoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata = 0; @@ -713,12 +872,12 @@ void checkGoogleCloudDocumentaiV1BatchDocumentsInputConfig( core.List< api.GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus> - buildUnnamed2274() => [ + buildUnnamed2261() => [ buildGoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus(), buildGoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus(), ]; -void checkUnnamed2274( +void checkUnnamed2261( core.List< api.GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus> o) { @@ -734,7 +893,7 @@ api.GoogleCloudDocumentaiV1BatchProcessMetadata buildCounterGoogleCloudDocumentaiV1BatchProcessMetadata++; if (buildCounterGoogleCloudDocumentaiV1BatchProcessMetadata < 3) { o.createTime = 'foo'; - o.individualProcessStatuses = buildUnnamed2274(); + o.individualProcessStatuses = buildUnnamed2261(); o.state = 'foo'; o.stateMessage = 'foo'; o.updateTime = 'foo'; @@ -751,7 +910,7 @@ void checkGoogleCloudDocumentaiV1BatchProcessMetadata( o.createTime!, unittest.equals('foo'), ); - checkUnnamed2274(o.individualProcessStatuses!); + checkUnnamed2261(o.individualProcessStatuses!); unittest.expect( o.state!, unittest.equals('foo'), @@ -848,24 +1007,24 @@ void checkGoogleCloudDocumentaiV1BatchProcessResponse( buildCounterGoogleCloudDocumentaiV1BatchProcessResponse--; } -core.List buildUnnamed2275() => [ +core.List buildUnnamed2262() => [ buildGoogleCloudDocumentaiV1NormalizedVertex(), buildGoogleCloudDocumentaiV1NormalizedVertex(), ]; -void checkUnnamed2275( +void checkUnnamed2262( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1NormalizedVertex(o[0]); checkGoogleCloudDocumentaiV1NormalizedVertex(o[1]); } -core.List buildUnnamed2276() => [ +core.List buildUnnamed2263() => [ buildGoogleCloudDocumentaiV1Vertex(), buildGoogleCloudDocumentaiV1Vertex(), ]; -void checkUnnamed2276(core.List o) { +void checkUnnamed2263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1Vertex(o[0]); checkGoogleCloudDocumentaiV1Vertex(o[1]); @@ -877,8 +1036,8 @@ api.GoogleCloudDocumentaiV1BoundingPoly final o = api.GoogleCloudDocumentaiV1BoundingPoly(); buildCounterGoogleCloudDocumentaiV1BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed2275(); - o.vertices = buildUnnamed2276(); + o.normalizedVertices = buildUnnamed2262(); + o.vertices = buildUnnamed2263(); } buildCounterGoogleCloudDocumentaiV1BoundingPoly--; return o; @@ -888,8 +1047,8 @@ void checkGoogleCloudDocumentaiV1BoundingPoly( api.GoogleCloudDocumentaiV1BoundingPoly o) { buildCounterGoogleCloudDocumentaiV1BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1BoundingPoly < 3) { - checkUnnamed2275(o.normalizedVertices!); - checkUnnamed2276(o.vertices!); + checkUnnamed2262(o.normalizedVertices!); + checkUnnamed2263(o.vertices!); } buildCounterGoogleCloudDocumentaiV1BoundingPoly--; } @@ -933,71 +1092,71 @@ void checkGoogleCloudDocumentaiV1CommonOperationMetadata( buildCounterGoogleCloudDocumentaiV1CommonOperationMetadata--; } -core.List buildUnnamed2277() => [ +core.List buildUnnamed2264() => [ buildGoogleCloudDocumentaiV1DocumentEntity(), buildGoogleCloudDocumentaiV1DocumentEntity(), ]; -void checkUnnamed2277(core.List o) { +void checkUnnamed2264(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentEntity(o[0]); checkGoogleCloudDocumentaiV1DocumentEntity(o[1]); } core.List - buildUnnamed2278() => [ + buildUnnamed2265() => [ buildGoogleCloudDocumentaiV1DocumentEntityRelation(), buildGoogleCloudDocumentaiV1DocumentEntityRelation(), ]; -void checkUnnamed2278( +void checkUnnamed2265( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentEntityRelation(o[0]); checkGoogleCloudDocumentaiV1DocumentEntityRelation(o[1]); } -core.List buildUnnamed2279() => [ +core.List buildUnnamed2266() => [ buildGoogleCloudDocumentaiV1DocumentPage(), buildGoogleCloudDocumentaiV1DocumentPage(), ]; -void checkUnnamed2279(core.List o) { +void checkUnnamed2266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPage(o[0]); checkGoogleCloudDocumentaiV1DocumentPage(o[1]); } -core.List buildUnnamed2280() => [ +core.List buildUnnamed2267() => [ buildGoogleCloudDocumentaiV1DocumentRevision(), buildGoogleCloudDocumentaiV1DocumentRevision(), ]; -void checkUnnamed2280( +void checkUnnamed2267( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentRevision(o[0]); checkGoogleCloudDocumentaiV1DocumentRevision(o[1]); } -core.List buildUnnamed2281() => [ +core.List buildUnnamed2268() => [ buildGoogleCloudDocumentaiV1DocumentTextChange(), buildGoogleCloudDocumentaiV1DocumentTextChange(), ]; -void checkUnnamed2281( +void checkUnnamed2268( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentTextChange(o[0]); checkGoogleCloudDocumentaiV1DocumentTextChange(o[1]); } -core.List buildUnnamed2282() => [ +core.List buildUnnamed2269() => [ buildGoogleCloudDocumentaiV1DocumentStyle(), buildGoogleCloudDocumentaiV1DocumentStyle(), ]; -void checkUnnamed2282(core.List o) { +void checkUnnamed2269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentStyle(o[0]); checkGoogleCloudDocumentaiV1DocumentStyle(o[1]); @@ -1009,16 +1168,16 @@ api.GoogleCloudDocumentaiV1Document buildGoogleCloudDocumentaiV1Document() { buildCounterGoogleCloudDocumentaiV1Document++; if (buildCounterGoogleCloudDocumentaiV1Document < 3) { o.content = 'foo'; - o.entities = buildUnnamed2277(); - o.entityRelations = buildUnnamed2278(); + o.entities = buildUnnamed2264(); + o.entityRelations = buildUnnamed2265(); o.error = buildGoogleRpcStatus(); o.mimeType = 'foo'; - o.pages = buildUnnamed2279(); - o.revisions = buildUnnamed2280(); + o.pages = buildUnnamed2266(); + o.revisions = buildUnnamed2267(); o.shardInfo = buildGoogleCloudDocumentaiV1DocumentShardInfo(); o.text = 'foo'; - o.textChanges = buildUnnamed2281(); - o.textStyles = buildUnnamed2282(); + o.textChanges = buildUnnamed2268(); + o.textStyles = buildUnnamed2269(); o.uri = 'foo'; } buildCounterGoogleCloudDocumentaiV1Document--; @@ -1033,22 +1192,22 @@ void checkGoogleCloudDocumentaiV1Document( o.content!, unittest.equals('foo'), ); - checkUnnamed2277(o.entities!); - checkUnnamed2278(o.entityRelations!); + checkUnnamed2264(o.entities!); + checkUnnamed2265(o.entityRelations!); checkGoogleRpcStatus(o.error!); unittest.expect( o.mimeType!, unittest.equals('foo'), ); - checkUnnamed2279(o.pages!); - checkUnnamed2280(o.revisions!); + checkUnnamed2266(o.pages!); + checkUnnamed2267(o.revisions!); checkGoogleCloudDocumentaiV1DocumentShardInfo(o.shardInfo!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed2281(o.textChanges!); - checkUnnamed2282(o.textStyles!); + checkUnnamed2268(o.textChanges!); + checkUnnamed2269(o.textStyles!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -1057,12 +1216,12 @@ void checkGoogleCloudDocumentaiV1Document( buildCounterGoogleCloudDocumentaiV1Document--; } -core.List buildUnnamed2283() => [ +core.List buildUnnamed2270() => [ buildGoogleCloudDocumentaiV1DocumentEntity(), buildGoogleCloudDocumentaiV1DocumentEntity(), ]; -void checkUnnamed2283(core.List o) { +void checkUnnamed2270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentEntity(o[0]); checkGoogleCloudDocumentaiV1DocumentEntity(o[1]); @@ -1081,7 +1240,7 @@ api.GoogleCloudDocumentaiV1DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1DocumentPageAnchor(); - o.properties = buildUnnamed2283(); + o.properties = buildUnnamed2270(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1DocumentTextAnchor(); @@ -1114,7 +1273,7 @@ void checkGoogleCloudDocumentaiV1DocumentEntity( checkGoogleCloudDocumentaiV1DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1DocumentPageAnchor(o.pageAnchor!); - checkUnnamed2283(o.properties!); + checkUnnamed2270(o.properties!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1DocumentTextAnchor(o.textAnchor!); @@ -1136,6 +1295,8 @@ api.GoogleCloudDocumentaiV1DocumentEntityNormalizedValue o.booleanValue = true; o.dateValue = buildGoogleTypeDate(); o.datetimeValue = buildGoogleTypeDateTime(); + o.floatValue = 42.0; + o.integerValue = 42; o.moneyValue = buildGoogleTypeMoney(); o.text = 'foo'; } @@ -1151,6 +1312,14 @@ void checkGoogleCloudDocumentaiV1DocumentEntityNormalizedValue( unittest.expect(o.booleanValue!, unittest.isTrue); checkGoogleTypeDate(o.dateValue!); checkGoogleTypeDateTime(o.datetimeValue!); + unittest.expect( + o.floatValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.integerValue!, + unittest.equals(42), + ); checkGoogleTypeMoney(o.moneyValue!); unittest.expect( o.text!, @@ -1244,12 +1413,12 @@ void checkGoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig( buildCounterGoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig--; } -core.List buildUnnamed2284() => [ +core.List buildUnnamed2271() => [ buildGoogleCloudDocumentaiV1DocumentPageBlock(), buildGoogleCloudDocumentaiV1DocumentPageBlock(), ]; -void checkUnnamed2284( +void checkUnnamed2271( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageBlock(o[0]); @@ -1257,12 +1426,12 @@ void checkUnnamed2284( } core.List - buildUnnamed2285() => [ + buildUnnamed2272() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2285( +void checkUnnamed2272( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1270,24 +1439,24 @@ void checkUnnamed2285( } core.List - buildUnnamed2286() => [ + buildUnnamed2273() => [ buildGoogleCloudDocumentaiV1DocumentPageFormField(), buildGoogleCloudDocumentaiV1DocumentPageFormField(), ]; -void checkUnnamed2286( +void checkUnnamed2273( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageFormField(o[0]); checkGoogleCloudDocumentaiV1DocumentPageFormField(o[1]); } -core.List buildUnnamed2287() => [ +core.List buildUnnamed2274() => [ buildGoogleCloudDocumentaiV1DocumentPageLine(), buildGoogleCloudDocumentaiV1DocumentPageLine(), ]; -void checkUnnamed2287( +void checkUnnamed2274( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageLine(o[0]); @@ -1295,48 +1464,48 @@ void checkUnnamed2287( } core.List - buildUnnamed2288() => [ + buildUnnamed2275() => [ buildGoogleCloudDocumentaiV1DocumentPageParagraph(), buildGoogleCloudDocumentaiV1DocumentPageParagraph(), ]; -void checkUnnamed2288( +void checkUnnamed2275( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageParagraph(o[0]); checkGoogleCloudDocumentaiV1DocumentPageParagraph(o[1]); } -core.List buildUnnamed2289() => [ +core.List buildUnnamed2276() => [ buildGoogleCloudDocumentaiV1DocumentPageTable(), buildGoogleCloudDocumentaiV1DocumentPageTable(), ]; -void checkUnnamed2289( +void checkUnnamed2276( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTable(o[0]); checkGoogleCloudDocumentaiV1DocumentPageTable(o[1]); } -core.List buildUnnamed2290() => [ +core.List buildUnnamed2277() => [ buildGoogleCloudDocumentaiV1DocumentPageToken(), buildGoogleCloudDocumentaiV1DocumentPageToken(), ]; -void checkUnnamed2290( +void checkUnnamed2277( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageToken(o[0]); checkGoogleCloudDocumentaiV1DocumentPageToken(o[1]); } -core.List buildUnnamed2291() => [ +core.List buildUnnamed2278() => [ buildGoogleCloudDocumentaiV1DocumentPageMatrix(), buildGoogleCloudDocumentaiV1DocumentPageMatrix(), ]; -void checkUnnamed2291( +void checkUnnamed2278( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageMatrix(o[0]); @@ -1344,12 +1513,12 @@ void checkUnnamed2291( } core.List - buildUnnamed2292() => [ + buildUnnamed2279() => [ buildGoogleCloudDocumentaiV1DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1DocumentPageVisualElement(), ]; -void checkUnnamed2292( +void checkUnnamed2279( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageVisualElement(o[0]); @@ -1362,20 +1531,20 @@ api.GoogleCloudDocumentaiV1DocumentPage final o = api.GoogleCloudDocumentaiV1DocumentPage(); buildCounterGoogleCloudDocumentaiV1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1DocumentPage < 3) { - o.blocks = buildUnnamed2284(); - o.detectedLanguages = buildUnnamed2285(); + o.blocks = buildUnnamed2271(); + o.detectedLanguages = buildUnnamed2272(); o.dimension = buildGoogleCloudDocumentaiV1DocumentPageDimension(); - o.formFields = buildUnnamed2286(); + o.formFields = buildUnnamed2273(); o.image = buildGoogleCloudDocumentaiV1DocumentPageImage(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); - o.lines = buildUnnamed2287(); + o.lines = buildUnnamed2274(); o.pageNumber = 42; - o.paragraphs = buildUnnamed2288(); + o.paragraphs = buildUnnamed2275(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); - o.tables = buildUnnamed2289(); - o.tokens = buildUnnamed2290(); - o.transforms = buildUnnamed2291(); - o.visualElements = buildUnnamed2292(); + o.tables = buildUnnamed2276(); + o.tokens = buildUnnamed2277(); + o.transforms = buildUnnamed2278(); + o.visualElements = buildUnnamed2279(); } buildCounterGoogleCloudDocumentaiV1DocumentPage--; return o; @@ -1385,34 +1554,34 @@ void checkGoogleCloudDocumentaiV1DocumentPage( api.GoogleCloudDocumentaiV1DocumentPage o) { buildCounterGoogleCloudDocumentaiV1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1DocumentPage < 3) { - checkUnnamed2284(o.blocks!); - checkUnnamed2285(o.detectedLanguages!); + checkUnnamed2271(o.blocks!); + checkUnnamed2272(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageDimension(o.dimension!); - checkUnnamed2286(o.formFields!); + checkUnnamed2273(o.formFields!); checkGoogleCloudDocumentaiV1DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); - checkUnnamed2287(o.lines!); + checkUnnamed2274(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed2288(o.paragraphs!); + checkUnnamed2275(o.paragraphs!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); - checkUnnamed2289(o.tables!); - checkUnnamed2290(o.tokens!); - checkUnnamed2291(o.transforms!); - checkUnnamed2292(o.visualElements!); + checkUnnamed2276(o.tables!); + checkUnnamed2277(o.tokens!); + checkUnnamed2278(o.transforms!); + checkUnnamed2279(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1DocumentPage--; } core.List - buildUnnamed2293() => [ + buildUnnamed2280() => [ buildGoogleCloudDocumentaiV1DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1DocumentPageAnchorPageRef(), ]; -void checkUnnamed2293( +void checkUnnamed2280( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageAnchorPageRef(o[0]); @@ -1425,7 +1594,7 @@ api.GoogleCloudDocumentaiV1DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed2293(); + o.pageRefs = buildUnnamed2280(); } buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor--; return o; @@ -1435,7 +1604,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageAnchor( api.GoogleCloudDocumentaiV1DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor < 3) { - checkUnnamed2293(o.pageRefs!); + checkUnnamed2280(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor--; } @@ -1482,12 +1651,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageAnchorPageRef( } core.List - buildUnnamed2294() => [ + buildUnnamed2281() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2294( +void checkUnnamed2281( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1500,7 +1669,7 @@ api.GoogleCloudDocumentaiV1DocumentPageBlock final o = api.GoogleCloudDocumentaiV1DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed2294(); + o.detectedLanguages = buildUnnamed2281(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -1512,7 +1681,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageBlock( api.GoogleCloudDocumentaiV1DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageBlock < 3) { - checkUnnamed2294(o.detectedLanguages!); + checkUnnamed2281(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -1583,12 +1752,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageDimension( } core.List - buildUnnamed2295() => [ + buildUnnamed2282() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2295( +void checkUnnamed2282( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1596,12 +1765,12 @@ void checkUnnamed2295( } core.List - buildUnnamed2296() => [ + buildUnnamed2283() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2296( +void checkUnnamed2283( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1614,11 +1783,13 @@ api.GoogleCloudDocumentaiV1DocumentPageFormField final o = api.GoogleCloudDocumentaiV1DocumentPageFormField(); buildCounterGoogleCloudDocumentaiV1DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageFormField < 3) { + o.correctedKeyText = 'foo'; + o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed2295(); + o.nameDetectedLanguages = buildUnnamed2282(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed2296(); + o.valueDetectedLanguages = buildUnnamed2283(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1DocumentPageFormField--; @@ -1629,11 +1800,19 @@ void checkGoogleCloudDocumentaiV1DocumentPageFormField( api.GoogleCloudDocumentaiV1DocumentPageFormField o) { buildCounterGoogleCloudDocumentaiV1DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageFormField < 3) { + unittest.expect( + o.correctedKeyText!, + unittest.equals('foo'), + ); + unittest.expect( + o.correctedValueText!, + unittest.equals('foo'), + ); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.fieldValue!); - checkUnnamed2295(o.nameDetectedLanguages!); + checkUnnamed2282(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); - checkUnnamed2296(o.valueDetectedLanguages!); + checkUnnamed2283(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -1715,12 +1894,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageLayout( } core.List - buildUnnamed2297() => [ + buildUnnamed2284() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2297( +void checkUnnamed2284( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1733,7 +1912,7 @@ api.GoogleCloudDocumentaiV1DocumentPageLine final o = api.GoogleCloudDocumentaiV1DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed2297(); + o.detectedLanguages = buildUnnamed2284(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -1745,7 +1924,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageLine( api.GoogleCloudDocumentaiV1DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageLine < 3) { - checkUnnamed2297(o.detectedLanguages!); + checkUnnamed2284(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -1792,12 +1971,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageMatrix( } core.List - buildUnnamed2298() => [ + buildUnnamed2285() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2298( +void checkUnnamed2285( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1810,7 +1989,7 @@ api.GoogleCloudDocumentaiV1DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed2298(); + o.detectedLanguages = buildUnnamed2285(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -1822,7 +2001,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageParagraph( api.GoogleCloudDocumentaiV1DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph < 3) { - checkUnnamed2298(o.detectedLanguages!); + checkUnnamed2285(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -1830,12 +2009,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageParagraph( } core.List - buildUnnamed2299() => [ + buildUnnamed2286() => [ buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), ]; -void checkUnnamed2299( +void checkUnnamed2286( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTableTableRow(o[0]); @@ -1843,12 +2022,12 @@ void checkUnnamed2299( } core.List - buildUnnamed2300() => [ + buildUnnamed2287() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2300( +void checkUnnamed2287( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1856,12 +2035,12 @@ void checkUnnamed2300( } core.List - buildUnnamed2301() => [ + buildUnnamed2288() => [ buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), ]; -void checkUnnamed2301( +void checkUnnamed2288( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTableTableRow(o[0]); @@ -1874,9 +2053,9 @@ api.GoogleCloudDocumentaiV1DocumentPageTable final o = api.GoogleCloudDocumentaiV1DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTable < 3) { - o.bodyRows = buildUnnamed2299(); - o.detectedLanguages = buildUnnamed2300(); - o.headerRows = buildUnnamed2301(); + o.bodyRows = buildUnnamed2286(); + o.detectedLanguages = buildUnnamed2287(); + o.headerRows = buildUnnamed2288(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1DocumentPageTable--; @@ -1887,21 +2066,21 @@ void checkGoogleCloudDocumentaiV1DocumentPageTable( api.GoogleCloudDocumentaiV1DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTable < 3) { - checkUnnamed2299(o.bodyRows!); - checkUnnamed2300(o.detectedLanguages!); - checkUnnamed2301(o.headerRows!); + checkUnnamed2286(o.bodyRows!); + checkUnnamed2287(o.detectedLanguages!); + checkUnnamed2288(o.headerRows!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1DocumentPageTable--; } core.List - buildUnnamed2302() => [ + buildUnnamed2289() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2302( +void checkUnnamed2289( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1915,7 +2094,7 @@ api.GoogleCloudDocumentaiV1DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed2302(); + o.detectedLanguages = buildUnnamed2289(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.rowSpan = 42; } @@ -1931,7 +2110,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed2302(o.detectedLanguages!); + checkUnnamed2289(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -1942,12 +2121,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageTableTableCell( } core.List - buildUnnamed2303() => [ + buildUnnamed2290() => [ buildGoogleCloudDocumentaiV1DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1DocumentPageTableTableCell(), ]; -void checkUnnamed2303( +void checkUnnamed2290( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTableTableCell(o[0]); @@ -1960,7 +2139,7 @@ api.GoogleCloudDocumentaiV1DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed2303(); + o.cells = buildUnnamed2290(); } buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow--; return o; @@ -1970,18 +2149,18 @@ void checkGoogleCloudDocumentaiV1DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow < 3) { - checkUnnamed2303(o.cells!); + checkUnnamed2290(o.cells!); } buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow--; } core.List - buildUnnamed2304() => [ + buildUnnamed2291() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2304( +void checkUnnamed2291( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1996,7 +2175,7 @@ api.GoogleCloudDocumentaiV1DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed2304(); + o.detectedLanguages = buildUnnamed2291(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -2010,7 +2189,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed2304(o.detectedLanguages!); + checkUnnamed2291(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -2042,12 +2221,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak( } core.List - buildUnnamed2305() => [ + buildUnnamed2292() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2305( +void checkUnnamed2292( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -2060,7 +2239,7 @@ api.GoogleCloudDocumentaiV1DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed2305(); + o.detectedLanguages = buildUnnamed2292(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.type = 'foo'; } @@ -2072,7 +2251,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageVisualElement( api.GoogleCloudDocumentaiV1DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement < 3) { - checkUnnamed2305(o.detectedLanguages!); + checkUnnamed2292(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -2083,12 +2262,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageVisualElement( } core.List - buildUnnamed2306() => [ + buildUnnamed2293() => [ buildGoogleCloudDocumentaiV1DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1DocumentProvenanceParent(), ]; -void checkUnnamed2306( +void checkUnnamed2293( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentProvenanceParent(o[0]); @@ -2102,7 +2281,7 @@ api.GoogleCloudDocumentaiV1DocumentProvenance buildCounterGoogleCloudDocumentaiV1DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed2306(); + o.parents = buildUnnamed2293(); o.revision = 42; o.type = 'foo'; } @@ -2118,7 +2297,7 @@ void checkGoogleCloudDocumentaiV1DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed2306(o.parents!); + checkUnnamed2293(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -2165,12 +2344,12 @@ void checkGoogleCloudDocumentaiV1DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1DocumentProvenanceParent--; } -core.List buildUnnamed2307() => [ +core.List buildUnnamed2294() => [ 42, 42, ]; -void checkUnnamed2307(core.List o) { +void checkUnnamed2294(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2192,7 +2371,7 @@ api.GoogleCloudDocumentaiV1DocumentRevision o.createTime = 'foo'; o.humanReview = buildGoogleCloudDocumentaiV1DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed2307(); + o.parent = buildUnnamed2294(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1DocumentRevision--; @@ -2216,7 +2395,7 @@ void checkGoogleCloudDocumentaiV1DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed2307(o.parent!); + checkUnnamed2294(o.parent!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -2360,12 +2539,12 @@ void checkGoogleCloudDocumentaiV1DocumentStyleFontSize( } core.List - buildUnnamed2308() => [ + buildUnnamed2295() => [ buildGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment(), ]; -void checkUnnamed2308( +void checkUnnamed2295( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment(o[0]); @@ -2379,7 +2558,7 @@ api.GoogleCloudDocumentaiV1DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed2308(); + o.textSegments = buildUnnamed2295(); } buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor--; return o; @@ -2393,7 +2572,7 @@ void checkGoogleCloudDocumentaiV1DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed2308(o.textSegments!); + checkUnnamed2295(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor--; } @@ -2427,12 +2606,12 @@ void checkGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment( buildCounterGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment--; } -core.List buildUnnamed2309() => [ +core.List buildUnnamed2296() => [ buildGoogleCloudDocumentaiV1DocumentProvenance(), buildGoogleCloudDocumentaiV1DocumentProvenance(), ]; -void checkUnnamed2309( +void checkUnnamed2296( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentProvenance(o[0]); @@ -2446,7 +2625,7 @@ api.GoogleCloudDocumentaiV1DocumentTextChange buildCounterGoogleCloudDocumentaiV1DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed2309(); + o.provenance = buildUnnamed2296(); o.textAnchor = buildGoogleCloudDocumentaiV1DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1DocumentTextChange--; @@ -2461,7 +2640,7 @@ void checkGoogleCloudDocumentaiV1DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed2309(o.provenance!); + checkUnnamed2296(o.provenance!); checkGoogleCloudDocumentaiV1DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1DocumentTextChange--; @@ -2496,12 +2675,12 @@ void checkGoogleCloudDocumentaiV1GcsDocument( buildCounterGoogleCloudDocumentaiV1GcsDocument--; } -core.List buildUnnamed2310() => [ +core.List buildUnnamed2297() => [ buildGoogleCloudDocumentaiV1GcsDocument(), buildGoogleCloudDocumentaiV1GcsDocument(), ]; -void checkUnnamed2310(core.List o) { +void checkUnnamed2297(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1GcsDocument(o[0]); checkGoogleCloudDocumentaiV1GcsDocument(o[1]); @@ -2513,7 +2692,7 @@ api.GoogleCloudDocumentaiV1GcsDocuments final o = api.GoogleCloudDocumentaiV1GcsDocuments(); buildCounterGoogleCloudDocumentaiV1GcsDocuments++; if (buildCounterGoogleCloudDocumentaiV1GcsDocuments < 3) { - o.documents = buildUnnamed2310(); + o.documents = buildUnnamed2297(); } buildCounterGoogleCloudDocumentaiV1GcsDocuments--; return o; @@ -2523,7 +2702,7 @@ void checkGoogleCloudDocumentaiV1GcsDocuments( api.GoogleCloudDocumentaiV1GcsDocuments o) { buildCounterGoogleCloudDocumentaiV1GcsDocuments++; if (buildCounterGoogleCloudDocumentaiV1GcsDocuments < 3) { - checkUnnamed2310(o.documents!); + checkUnnamed2297(o.documents!); } buildCounterGoogleCloudDocumentaiV1GcsDocuments--; } @@ -2792,12 +2971,12 @@ void checkGoogleCloudDocumentaiV1Vertex(api.GoogleCloudDocumentaiV1Vertex o) { } core.List - buildUnnamed2311() => [ + buildUnnamed2298() => [ buildGoogleCloudDocumentaiV1beta1ProcessDocumentResponse(), buildGoogleCloudDocumentaiV1beta1ProcessDocumentResponse(), ]; -void checkUnnamed2311( +void checkUnnamed2298( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1ProcessDocumentResponse(o[0]); @@ -2812,7 +2991,7 @@ api.GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse < 3) { - o.responses = buildUnnamed2311(); + o.responses = buildUnnamed2298(); } buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse--; return o; @@ -2823,30 +3002,30 @@ void checkGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse( buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse < 3) { - checkUnnamed2311(o.responses!); + checkUnnamed2298(o.responses!); } buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse--; } core.List - buildUnnamed2312() => [ + buildUnnamed2299() => [ buildGoogleCloudDocumentaiV1beta1NormalizedVertex(), buildGoogleCloudDocumentaiV1beta1NormalizedVertex(), ]; -void checkUnnamed2312( +void checkUnnamed2299( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1NormalizedVertex(o[0]); checkGoogleCloudDocumentaiV1beta1NormalizedVertex(o[1]); } -core.List buildUnnamed2313() => [ +core.List buildUnnamed2300() => [ buildGoogleCloudDocumentaiV1beta1Vertex(), buildGoogleCloudDocumentaiV1beta1Vertex(), ]; -void checkUnnamed2313(core.List o) { +void checkUnnamed2300(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1Vertex(o[0]); checkGoogleCloudDocumentaiV1beta1Vertex(o[1]); @@ -2858,8 +3037,8 @@ api.GoogleCloudDocumentaiV1beta1BoundingPoly final o = api.GoogleCloudDocumentaiV1beta1BoundingPoly(); buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed2312(); - o.vertices = buildUnnamed2313(); + o.normalizedVertices = buildUnnamed2299(); + o.vertices = buildUnnamed2300(); } buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly--; return o; @@ -2869,19 +3048,19 @@ void checkGoogleCloudDocumentaiV1beta1BoundingPoly( api.GoogleCloudDocumentaiV1beta1BoundingPoly o) { buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly < 3) { - checkUnnamed2312(o.normalizedVertices!); - checkUnnamed2313(o.vertices!); + checkUnnamed2299(o.normalizedVertices!); + checkUnnamed2300(o.vertices!); } buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly--; } -core.List buildUnnamed2314() => +core.List buildUnnamed2301() => [ buildGoogleCloudDocumentaiV1beta1DocumentEntity(), buildGoogleCloudDocumentaiV1beta1DocumentEntity(), ]; -void checkUnnamed2314( +void checkUnnamed2301( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentEntity(o[0]); @@ -2889,24 +3068,24 @@ void checkUnnamed2314( } core.List - buildUnnamed2315() => [ + buildUnnamed2302() => [ buildGoogleCloudDocumentaiV1beta1DocumentEntityRelation(), buildGoogleCloudDocumentaiV1beta1DocumentEntityRelation(), ]; -void checkUnnamed2315( +void checkUnnamed2302( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentEntityRelation(o[0]); checkGoogleCloudDocumentaiV1beta1DocumentEntityRelation(o[1]); } -core.List buildUnnamed2316() => [ +core.List buildUnnamed2303() => [ buildGoogleCloudDocumentaiV1beta1DocumentPage(), buildGoogleCloudDocumentaiV1beta1DocumentPage(), ]; -void checkUnnamed2316( +void checkUnnamed2303( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPage(o[0]); @@ -2914,12 +3093,12 @@ void checkUnnamed2316( } core.List - buildUnnamed2317() => [ + buildUnnamed2304() => [ buildGoogleCloudDocumentaiV1beta1DocumentRevision(), buildGoogleCloudDocumentaiV1beta1DocumentRevision(), ]; -void checkUnnamed2317( +void checkUnnamed2304( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentRevision(o[0]); @@ -2927,24 +3106,24 @@ void checkUnnamed2317( } core.List - buildUnnamed2318() => [ + buildUnnamed2305() => [ buildGoogleCloudDocumentaiV1beta1DocumentTextChange(), buildGoogleCloudDocumentaiV1beta1DocumentTextChange(), ]; -void checkUnnamed2318( +void checkUnnamed2305( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentTextChange(o[0]); checkGoogleCloudDocumentaiV1beta1DocumentTextChange(o[1]); } -core.List buildUnnamed2319() => [ +core.List buildUnnamed2306() => [ buildGoogleCloudDocumentaiV1beta1DocumentStyle(), buildGoogleCloudDocumentaiV1beta1DocumentStyle(), ]; -void checkUnnamed2319( +void checkUnnamed2306( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentStyle(o[0]); @@ -2958,16 +3137,16 @@ api.GoogleCloudDocumentaiV1beta1Document buildCounterGoogleCloudDocumentaiV1beta1Document++; if (buildCounterGoogleCloudDocumentaiV1beta1Document < 3) { o.content = 'foo'; - o.entities = buildUnnamed2314(); - o.entityRelations = buildUnnamed2315(); + o.entities = buildUnnamed2301(); + o.entityRelations = buildUnnamed2302(); o.error = buildGoogleRpcStatus(); o.mimeType = 'foo'; - o.pages = buildUnnamed2316(); - o.revisions = buildUnnamed2317(); + o.pages = buildUnnamed2303(); + o.revisions = buildUnnamed2304(); o.shardInfo = buildGoogleCloudDocumentaiV1beta1DocumentShardInfo(); o.text = 'foo'; - o.textChanges = buildUnnamed2318(); - o.textStyles = buildUnnamed2319(); + o.textChanges = buildUnnamed2305(); + o.textStyles = buildUnnamed2306(); o.uri = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta1Document--; @@ -2982,22 +3161,22 @@ void checkGoogleCloudDocumentaiV1beta1Document( o.content!, unittest.equals('foo'), ); - checkUnnamed2314(o.entities!); - checkUnnamed2315(o.entityRelations!); + checkUnnamed2301(o.entities!); + checkUnnamed2302(o.entityRelations!); checkGoogleRpcStatus(o.error!); unittest.expect( o.mimeType!, unittest.equals('foo'), ); - checkUnnamed2316(o.pages!); - checkUnnamed2317(o.revisions!); + checkUnnamed2303(o.pages!); + checkUnnamed2304(o.revisions!); checkGoogleCloudDocumentaiV1beta1DocumentShardInfo(o.shardInfo!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed2318(o.textChanges!); - checkUnnamed2319(o.textStyles!); + checkUnnamed2305(o.textChanges!); + checkUnnamed2306(o.textStyles!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -3006,13 +3185,13 @@ void checkGoogleCloudDocumentaiV1beta1Document( buildCounterGoogleCloudDocumentaiV1beta1Document--; } -core.List buildUnnamed2320() => +core.List buildUnnamed2307() => [ buildGoogleCloudDocumentaiV1beta1DocumentEntity(), buildGoogleCloudDocumentaiV1beta1DocumentEntity(), ]; -void checkUnnamed2320( +void checkUnnamed2307( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentEntity(o[0]); @@ -3032,7 +3211,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1beta1DocumentPageAnchor(); - o.properties = buildUnnamed2320(); + o.properties = buildUnnamed2307(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1beta1DocumentTextAnchor(); @@ -3065,7 +3244,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentEntity( checkGoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1beta1DocumentPageAnchor(o.pageAnchor!); - checkUnnamed2320(o.properties!); + checkUnnamed2307(o.properties!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1beta1DocumentTextAnchor(o.textAnchor!); @@ -3089,6 +3268,8 @@ api.GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue o.booleanValue = true; o.dateValue = buildGoogleTypeDate(); o.datetimeValue = buildGoogleTypeDateTime(); + o.floatValue = 42.0; + o.integerValue = 42; o.moneyValue = buildGoogleTypeMoney(); o.text = 'foo'; } @@ -3105,6 +3286,14 @@ void checkGoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( unittest.expect(o.booleanValue!, unittest.isTrue); checkGoogleTypeDate(o.dateValue!); checkGoogleTypeDateTime(o.datetimeValue!); + unittest.expect( + o.floatValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.integerValue!, + unittest.equals(42), + ); checkGoogleTypeMoney(o.moneyValue!); unittest.expect( o.text!, @@ -3149,12 +3338,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentEntityRelation( } core.List - buildUnnamed2321() => [ + buildUnnamed2308() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageBlock(), buildGoogleCloudDocumentaiV1beta1DocumentPageBlock(), ]; -void checkUnnamed2321( +void checkUnnamed2308( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageBlock(o[0]); @@ -3162,12 +3351,12 @@ void checkUnnamed2321( } core.List - buildUnnamed2322() => [ + buildUnnamed2309() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2322( +void checkUnnamed2309( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3175,12 +3364,12 @@ void checkUnnamed2322( } core.List - buildUnnamed2323() => [ + buildUnnamed2310() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageFormField(), buildGoogleCloudDocumentaiV1beta1DocumentPageFormField(), ]; -void checkUnnamed2323( +void checkUnnamed2310( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageFormField(o[0]); @@ -3188,12 +3377,12 @@ void checkUnnamed2323( } core.List - buildUnnamed2324() => [ + buildUnnamed2311() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageLine(), buildGoogleCloudDocumentaiV1beta1DocumentPageLine(), ]; -void checkUnnamed2324( +void checkUnnamed2311( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageLine(o[0]); @@ -3201,12 +3390,12 @@ void checkUnnamed2324( } core.List - buildUnnamed2325() => [ + buildUnnamed2312() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageParagraph(), buildGoogleCloudDocumentaiV1beta1DocumentPageParagraph(), ]; -void checkUnnamed2325( +void checkUnnamed2312( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageParagraph(o[0]); @@ -3214,12 +3403,12 @@ void checkUnnamed2325( } core.List - buildUnnamed2326() => [ + buildUnnamed2313() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTable(), buildGoogleCloudDocumentaiV1beta1DocumentPageTable(), ]; -void checkUnnamed2326( +void checkUnnamed2313( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTable(o[0]); @@ -3227,12 +3416,12 @@ void checkUnnamed2326( } core.List - buildUnnamed2327() => [ + buildUnnamed2314() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageToken(), buildGoogleCloudDocumentaiV1beta1DocumentPageToken(), ]; -void checkUnnamed2327( +void checkUnnamed2314( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageToken(o[0]); @@ -3240,12 +3429,12 @@ void checkUnnamed2327( } core.List - buildUnnamed2328() => [ + buildUnnamed2315() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageMatrix(), buildGoogleCloudDocumentaiV1beta1DocumentPageMatrix(), ]; -void checkUnnamed2328( +void checkUnnamed2315( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageMatrix(o[0]); @@ -3253,12 +3442,12 @@ void checkUnnamed2328( } core.List - buildUnnamed2329() => [ + buildUnnamed2316() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1beta1DocumentPageVisualElement(), ]; -void checkUnnamed2329( +void checkUnnamed2316( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageVisualElement(o[0]); @@ -3271,20 +3460,20 @@ api.GoogleCloudDocumentaiV1beta1DocumentPage final o = api.GoogleCloudDocumentaiV1beta1DocumentPage(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPage < 3) { - o.blocks = buildUnnamed2321(); - o.detectedLanguages = buildUnnamed2322(); + o.blocks = buildUnnamed2308(); + o.detectedLanguages = buildUnnamed2309(); o.dimension = buildGoogleCloudDocumentaiV1beta1DocumentPageDimension(); - o.formFields = buildUnnamed2323(); + o.formFields = buildUnnamed2310(); o.image = buildGoogleCloudDocumentaiV1beta1DocumentPageImage(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); - o.lines = buildUnnamed2324(); + o.lines = buildUnnamed2311(); o.pageNumber = 42; - o.paragraphs = buildUnnamed2325(); + o.paragraphs = buildUnnamed2312(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); - o.tables = buildUnnamed2326(); - o.tokens = buildUnnamed2327(); - o.transforms = buildUnnamed2328(); - o.visualElements = buildUnnamed2329(); + o.tables = buildUnnamed2313(); + o.tokens = buildUnnamed2314(); + o.transforms = buildUnnamed2315(); + o.visualElements = buildUnnamed2316(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPage--; return o; @@ -3294,34 +3483,34 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPage( api.GoogleCloudDocumentaiV1beta1DocumentPage o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPage < 3) { - checkUnnamed2321(o.blocks!); - checkUnnamed2322(o.detectedLanguages!); + checkUnnamed2308(o.blocks!); + checkUnnamed2309(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageDimension(o.dimension!); - checkUnnamed2323(o.formFields!); + checkUnnamed2310(o.formFields!); checkGoogleCloudDocumentaiV1beta1DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); - checkUnnamed2324(o.lines!); + checkUnnamed2311(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed2325(o.paragraphs!); + checkUnnamed2312(o.paragraphs!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); - checkUnnamed2326(o.tables!); - checkUnnamed2327(o.tokens!); - checkUnnamed2328(o.transforms!); - checkUnnamed2329(o.visualElements!); + checkUnnamed2313(o.tables!); + checkUnnamed2314(o.tokens!); + checkUnnamed2315(o.transforms!); + checkUnnamed2316(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPage--; } core.List - buildUnnamed2330() => [ + buildUnnamed2317() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef(), ]; -void checkUnnamed2330( +void checkUnnamed2317( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef(o[0]); @@ -3334,7 +3523,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1beta1DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed2330(); + o.pageRefs = buildUnnamed2317(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor--; return o; @@ -3344,7 +3533,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageAnchor( api.GoogleCloudDocumentaiV1beta1DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor < 3) { - checkUnnamed2330(o.pageRefs!); + checkUnnamed2317(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor--; } @@ -3391,12 +3580,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef( } core.List - buildUnnamed2331() => [ + buildUnnamed2318() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2331( +void checkUnnamed2318( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3409,7 +3598,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageBlock final o = api.GoogleCloudDocumentaiV1beta1DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed2331(); + o.detectedLanguages = buildUnnamed2318(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -3421,7 +3610,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageBlock( api.GoogleCloudDocumentaiV1beta1DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock < 3) { - checkUnnamed2331(o.detectedLanguages!); + checkUnnamed2318(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -3495,12 +3684,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageDimension( } core.List - buildUnnamed2332() => [ + buildUnnamed2319() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2332( +void checkUnnamed2319( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3508,12 +3697,12 @@ void checkUnnamed2332( } core.List - buildUnnamed2333() => [ + buildUnnamed2320() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2333( +void checkUnnamed2320( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3526,11 +3715,13 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageFormField final o = api.GoogleCloudDocumentaiV1beta1DocumentPageFormField(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField < 3) { + o.correctedKeyText = 'foo'; + o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed2332(); + o.nameDetectedLanguages = buildUnnamed2319(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed2333(); + o.valueDetectedLanguages = buildUnnamed2320(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField--; @@ -3541,11 +3732,19 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageFormField( api.GoogleCloudDocumentaiV1beta1DocumentPageFormField o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField < 3) { + unittest.expect( + o.correctedKeyText!, + unittest.equals('foo'), + ); + unittest.expect( + o.correctedValueText!, + unittest.equals('foo'), + ); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.fieldValue!); - checkUnnamed2332(o.nameDetectedLanguages!); + checkUnnamed2319(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); - checkUnnamed2333(o.valueDetectedLanguages!); + checkUnnamed2320(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -3627,12 +3826,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageLayout( } core.List - buildUnnamed2334() => [ + buildUnnamed2321() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2334( +void checkUnnamed2321( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3645,7 +3844,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageLine final o = api.GoogleCloudDocumentaiV1beta1DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed2334(); + o.detectedLanguages = buildUnnamed2321(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -3657,7 +3856,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageLine( api.GoogleCloudDocumentaiV1beta1DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine < 3) { - checkUnnamed2334(o.detectedLanguages!); + checkUnnamed2321(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -3704,12 +3903,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageMatrix( } core.List - buildUnnamed2335() => [ + buildUnnamed2322() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2335( +void checkUnnamed2322( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3722,7 +3921,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1beta1DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed2335(); + o.detectedLanguages = buildUnnamed2322(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -3734,7 +3933,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageParagraph( api.GoogleCloudDocumentaiV1beta1DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph < 3) { - checkUnnamed2335(o.detectedLanguages!); + checkUnnamed2322(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -3742,12 +3941,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageParagraph( } core.List - buildUnnamed2336() => [ + buildUnnamed2323() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), ]; -void checkUnnamed2336( +void checkUnnamed2323( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(o[0]); @@ -3755,12 +3954,12 @@ void checkUnnamed2336( } core.List - buildUnnamed2337() => [ + buildUnnamed2324() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2337( +void checkUnnamed2324( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3768,12 +3967,12 @@ void checkUnnamed2337( } core.List - buildUnnamed2338() => [ + buildUnnamed2325() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), ]; -void checkUnnamed2338( +void checkUnnamed2325( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(o[0]); @@ -3786,9 +3985,9 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageTable final o = api.GoogleCloudDocumentaiV1beta1DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable < 3) { - o.bodyRows = buildUnnamed2336(); - o.detectedLanguages = buildUnnamed2337(); - o.headerRows = buildUnnamed2338(); + o.bodyRows = buildUnnamed2323(); + o.detectedLanguages = buildUnnamed2324(); + o.headerRows = buildUnnamed2325(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable--; @@ -3799,21 +3998,21 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTable( api.GoogleCloudDocumentaiV1beta1DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable < 3) { - checkUnnamed2336(o.bodyRows!); - checkUnnamed2337(o.detectedLanguages!); - checkUnnamed2338(o.headerRows!); + checkUnnamed2323(o.bodyRows!); + checkUnnamed2324(o.detectedLanguages!); + checkUnnamed2325(o.headerRows!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable--; } core.List - buildUnnamed2339() => [ + buildUnnamed2326() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2339( +void checkUnnamed2326( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3827,7 +4026,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed2339(); + o.detectedLanguages = buildUnnamed2326(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.rowSpan = 42; } @@ -3843,7 +4042,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed2339(o.detectedLanguages!); + checkUnnamed2326(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -3854,12 +4053,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( } core.List - buildUnnamed2340() => [ + buildUnnamed2327() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell(), ]; -void checkUnnamed2340( +void checkUnnamed2327( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell(o[0]); @@ -3872,7 +4071,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed2340(); + o.cells = buildUnnamed2327(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow--; return o; @@ -3882,18 +4081,18 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow < 3) { - checkUnnamed2340(o.cells!); + checkUnnamed2327(o.cells!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow--; } core.List - buildUnnamed2341() => [ + buildUnnamed2328() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2341( +void checkUnnamed2328( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3908,7 +4107,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed2341(); + o.detectedLanguages = buildUnnamed2328(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -3922,7 +4121,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed2341(o.detectedLanguages!); + checkUnnamed2328(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -3957,12 +4156,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( } core.List - buildUnnamed2342() => [ + buildUnnamed2329() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed2342( +void checkUnnamed2329( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -3975,7 +4174,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1beta1DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed2342(); + o.detectedLanguages = buildUnnamed2329(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.type = 'foo'; } @@ -3987,7 +4186,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageVisualElement( api.GoogleCloudDocumentaiV1beta1DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement < 3) { - checkUnnamed2342(o.detectedLanguages!); + checkUnnamed2329(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -3998,12 +4197,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageVisualElement( } core.List - buildUnnamed2343() => [ + buildUnnamed2330() => [ buildGoogleCloudDocumentaiV1beta1DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1beta1DocumentProvenanceParent(), ]; -void checkUnnamed2343( +void checkUnnamed2330( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentProvenanceParent(o[0]); @@ -4017,7 +4216,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentProvenance buildCounterGoogleCloudDocumentaiV1beta1DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed2343(); + o.parents = buildUnnamed2330(); o.revision = 42; o.type = 'foo'; } @@ -4033,7 +4232,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed2343(o.parents!); + checkUnnamed2330(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -4080,12 +4279,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1beta1DocumentProvenanceParent--; } -core.List buildUnnamed2344() => [ +core.List buildUnnamed2331() => [ 42, 42, ]; -void checkUnnamed2344(core.List o) { +void checkUnnamed2331(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4108,7 +4307,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentRevision o.humanReview = buildGoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed2344(); + o.parent = buildUnnamed2331(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta1DocumentRevision--; @@ -4133,7 +4332,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed2344(o.parent!); + checkUnnamed2331(o.parent!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -4278,12 +4477,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentStyleFontSize( } core.List - buildUnnamed2345() => [ + buildUnnamed2332() => [ buildGoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment(), ]; -void checkUnnamed2345( +void checkUnnamed2332( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4298,7 +4497,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed2345(); + o.textSegments = buildUnnamed2332(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor--; return o; @@ -4312,7 +4511,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed2345(o.textSegments!); + checkUnnamed2332(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor--; } @@ -4350,12 +4549,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment( } core.List - buildUnnamed2346() => [ + buildUnnamed2333() => [ buildGoogleCloudDocumentaiV1beta1DocumentProvenance(), buildGoogleCloudDocumentaiV1beta1DocumentProvenance(), ]; -void checkUnnamed2346( +void checkUnnamed2333( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o[0]); @@ -4369,7 +4568,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentTextChange buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed2346(); + o.provenance = buildUnnamed2333(); o.textAnchor = buildGoogleCloudDocumentaiV1beta1DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange--; @@ -4384,7 +4583,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed2346(o.provenance!); + checkUnnamed2333(o.provenance!); checkGoogleCloudDocumentaiV1beta1DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange--; @@ -4611,12 +4810,12 @@ void checkGoogleCloudDocumentaiV1beta1Vertex( } core.List - buildUnnamed2347() => [ + buildUnnamed2334() => [ buildGoogleCloudDocumentaiV1beta2ProcessDocumentResponse(), buildGoogleCloudDocumentaiV1beta2ProcessDocumentResponse(), ]; -void checkUnnamed2347( +void checkUnnamed2334( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2ProcessDocumentResponse(o[0]); @@ -4631,7 +4830,7 @@ api.GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse < 3) { - o.responses = buildUnnamed2347(); + o.responses = buildUnnamed2334(); } buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse--; return o; @@ -4642,30 +4841,30 @@ void checkGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse( buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse < 3) { - checkUnnamed2347(o.responses!); + checkUnnamed2334(o.responses!); } buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse--; } core.List - buildUnnamed2348() => [ + buildUnnamed2335() => [ buildGoogleCloudDocumentaiV1beta2NormalizedVertex(), buildGoogleCloudDocumentaiV1beta2NormalizedVertex(), ]; -void checkUnnamed2348( +void checkUnnamed2335( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2NormalizedVertex(o[0]); checkGoogleCloudDocumentaiV1beta2NormalizedVertex(o[1]); } -core.List buildUnnamed2349() => [ +core.List buildUnnamed2336() => [ buildGoogleCloudDocumentaiV1beta2Vertex(), buildGoogleCloudDocumentaiV1beta2Vertex(), ]; -void checkUnnamed2349(core.List o) { +void checkUnnamed2336(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2Vertex(o[0]); checkGoogleCloudDocumentaiV1beta2Vertex(o[1]); @@ -4677,8 +4876,8 @@ api.GoogleCloudDocumentaiV1beta2BoundingPoly final o = api.GoogleCloudDocumentaiV1beta2BoundingPoly(); buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed2348(); - o.vertices = buildUnnamed2349(); + o.normalizedVertices = buildUnnamed2335(); + o.vertices = buildUnnamed2336(); } buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly--; return o; @@ -4688,19 +4887,19 @@ void checkGoogleCloudDocumentaiV1beta2BoundingPoly( api.GoogleCloudDocumentaiV1beta2BoundingPoly o) { buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly < 3) { - checkUnnamed2348(o.normalizedVertices!); - checkUnnamed2349(o.vertices!); + checkUnnamed2335(o.normalizedVertices!); + checkUnnamed2336(o.vertices!); } buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly--; } -core.List buildUnnamed2350() => +core.List buildUnnamed2337() => [ buildGoogleCloudDocumentaiV1beta2DocumentEntity(), buildGoogleCloudDocumentaiV1beta2DocumentEntity(), ]; -void checkUnnamed2350( +void checkUnnamed2337( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentEntity(o[0]); @@ -4708,36 +4907,36 @@ void checkUnnamed2350( } core.List - buildUnnamed2351() => [ + buildUnnamed2338() => [ buildGoogleCloudDocumentaiV1beta2DocumentEntityRelation(), buildGoogleCloudDocumentaiV1beta2DocumentEntityRelation(), ]; -void checkUnnamed2351( +void checkUnnamed2338( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentEntityRelation(o[0]); checkGoogleCloudDocumentaiV1beta2DocumentEntityRelation(o[1]); } -core.List buildUnnamed2352() => [ +core.List buildUnnamed2339() => [ buildGoogleCloudDocumentaiV1beta2DocumentLabel(), buildGoogleCloudDocumentaiV1beta2DocumentLabel(), ]; -void checkUnnamed2352( +void checkUnnamed2339( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentLabel(o[0]); checkGoogleCloudDocumentaiV1beta2DocumentLabel(o[1]); } -core.List buildUnnamed2353() => [ +core.List buildUnnamed2340() => [ buildGoogleCloudDocumentaiV1beta2DocumentPage(), buildGoogleCloudDocumentaiV1beta2DocumentPage(), ]; -void checkUnnamed2353( +void checkUnnamed2340( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPage(o[0]); @@ -4745,12 +4944,12 @@ void checkUnnamed2353( } core.List - buildUnnamed2354() => [ + buildUnnamed2341() => [ buildGoogleCloudDocumentaiV1beta2DocumentRevision(), buildGoogleCloudDocumentaiV1beta2DocumentRevision(), ]; -void checkUnnamed2354( +void checkUnnamed2341( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentRevision(o[0]); @@ -4758,24 +4957,24 @@ void checkUnnamed2354( } core.List - buildUnnamed2355() => [ + buildUnnamed2342() => [ buildGoogleCloudDocumentaiV1beta2DocumentTextChange(), buildGoogleCloudDocumentaiV1beta2DocumentTextChange(), ]; -void checkUnnamed2355( +void checkUnnamed2342( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentTextChange(o[0]); checkGoogleCloudDocumentaiV1beta2DocumentTextChange(o[1]); } -core.List buildUnnamed2356() => [ +core.List buildUnnamed2343() => [ buildGoogleCloudDocumentaiV1beta2DocumentStyle(), buildGoogleCloudDocumentaiV1beta2DocumentStyle(), ]; -void checkUnnamed2356( +void checkUnnamed2343( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentStyle(o[0]); @@ -4789,17 +4988,17 @@ api.GoogleCloudDocumentaiV1beta2Document buildCounterGoogleCloudDocumentaiV1beta2Document++; if (buildCounterGoogleCloudDocumentaiV1beta2Document < 3) { o.content = 'foo'; - o.entities = buildUnnamed2350(); - o.entityRelations = buildUnnamed2351(); + o.entities = buildUnnamed2337(); + o.entityRelations = buildUnnamed2338(); o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed2352(); + o.labels = buildUnnamed2339(); o.mimeType = 'foo'; - o.pages = buildUnnamed2353(); - o.revisions = buildUnnamed2354(); + o.pages = buildUnnamed2340(); + o.revisions = buildUnnamed2341(); o.shardInfo = buildGoogleCloudDocumentaiV1beta2DocumentShardInfo(); o.text = 'foo'; - o.textChanges = buildUnnamed2355(); - o.textStyles = buildUnnamed2356(); + o.textChanges = buildUnnamed2342(); + o.textStyles = buildUnnamed2343(); o.uri = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta2Document--; @@ -4814,23 +5013,23 @@ void checkGoogleCloudDocumentaiV1beta2Document( o.content!, unittest.equals('foo'), ); - checkUnnamed2350(o.entities!); - checkUnnamed2351(o.entityRelations!); + checkUnnamed2337(o.entities!); + checkUnnamed2338(o.entityRelations!); checkGoogleRpcStatus(o.error!); - checkUnnamed2352(o.labels!); + checkUnnamed2339(o.labels!); unittest.expect( o.mimeType!, unittest.equals('foo'), ); - checkUnnamed2353(o.pages!); - checkUnnamed2354(o.revisions!); + checkUnnamed2340(o.pages!); + checkUnnamed2341(o.revisions!); checkGoogleCloudDocumentaiV1beta2DocumentShardInfo(o.shardInfo!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed2355(o.textChanges!); - checkUnnamed2356(o.textStyles!); + checkUnnamed2342(o.textChanges!); + checkUnnamed2343(o.textStyles!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -4839,13 +5038,13 @@ void checkGoogleCloudDocumentaiV1beta2Document( buildCounterGoogleCloudDocumentaiV1beta2Document--; } -core.List buildUnnamed2357() => +core.List buildUnnamed2344() => [ buildGoogleCloudDocumentaiV1beta2DocumentEntity(), buildGoogleCloudDocumentaiV1beta2DocumentEntity(), ]; -void checkUnnamed2357( +void checkUnnamed2344( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentEntity(o[0]); @@ -4865,7 +5064,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1beta2DocumentPageAnchor(); - o.properties = buildUnnamed2357(); + o.properties = buildUnnamed2344(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1beta2DocumentTextAnchor(); @@ -4898,7 +5097,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentEntity( checkGoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1beta2DocumentPageAnchor(o.pageAnchor!); - checkUnnamed2357(o.properties!); + checkUnnamed2344(o.properties!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1beta2DocumentTextAnchor(o.textAnchor!); @@ -4922,6 +5121,8 @@ api.GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue o.booleanValue = true; o.dateValue = buildGoogleTypeDate(); o.datetimeValue = buildGoogleTypeDateTime(); + o.floatValue = 42.0; + o.integerValue = 42; o.moneyValue = buildGoogleTypeMoney(); o.text = 'foo'; } @@ -4938,6 +5139,14 @@ void checkGoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( unittest.expect(o.booleanValue!, unittest.isTrue); checkGoogleTypeDate(o.dateValue!); checkGoogleTypeDateTime(o.datetimeValue!); + unittest.expect( + o.floatValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.integerValue!, + unittest.equals(42), + ); checkGoogleTypeMoney(o.moneyValue!); unittest.expect( o.text!, @@ -5016,12 +5225,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentLabel( } core.List - buildUnnamed2358() => [ + buildUnnamed2345() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageBlock(), buildGoogleCloudDocumentaiV1beta2DocumentPageBlock(), ]; -void checkUnnamed2358( +void checkUnnamed2345( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageBlock(o[0]); @@ -5029,12 +5238,12 @@ void checkUnnamed2358( } core.List - buildUnnamed2359() => [ + buildUnnamed2346() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2359( +void checkUnnamed2346( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5042,12 +5251,12 @@ void checkUnnamed2359( } core.List - buildUnnamed2360() => [ + buildUnnamed2347() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageFormField(), buildGoogleCloudDocumentaiV1beta2DocumentPageFormField(), ]; -void checkUnnamed2360( +void checkUnnamed2347( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageFormField(o[0]); @@ -5055,12 +5264,12 @@ void checkUnnamed2360( } core.List - buildUnnamed2361() => [ + buildUnnamed2348() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageLine(), buildGoogleCloudDocumentaiV1beta2DocumentPageLine(), ]; -void checkUnnamed2361( +void checkUnnamed2348( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageLine(o[0]); @@ -5068,12 +5277,12 @@ void checkUnnamed2361( } core.List - buildUnnamed2362() => [ + buildUnnamed2349() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageParagraph(), buildGoogleCloudDocumentaiV1beta2DocumentPageParagraph(), ]; -void checkUnnamed2362( +void checkUnnamed2349( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageParagraph(o[0]); @@ -5081,12 +5290,12 @@ void checkUnnamed2362( } core.List - buildUnnamed2363() => [ + buildUnnamed2350() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTable(), buildGoogleCloudDocumentaiV1beta2DocumentPageTable(), ]; -void checkUnnamed2363( +void checkUnnamed2350( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTable(o[0]); @@ -5094,12 +5303,12 @@ void checkUnnamed2363( } core.List - buildUnnamed2364() => [ + buildUnnamed2351() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageToken(), buildGoogleCloudDocumentaiV1beta2DocumentPageToken(), ]; -void checkUnnamed2364( +void checkUnnamed2351( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageToken(o[0]); @@ -5107,12 +5316,12 @@ void checkUnnamed2364( } core.List - buildUnnamed2365() => [ + buildUnnamed2352() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageMatrix(), buildGoogleCloudDocumentaiV1beta2DocumentPageMatrix(), ]; -void checkUnnamed2365( +void checkUnnamed2352( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageMatrix(o[0]); @@ -5120,12 +5329,12 @@ void checkUnnamed2365( } core.List - buildUnnamed2366() => [ + buildUnnamed2353() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1beta2DocumentPageVisualElement(), ]; -void checkUnnamed2366( +void checkUnnamed2353( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageVisualElement(o[0]); @@ -5138,20 +5347,20 @@ api.GoogleCloudDocumentaiV1beta2DocumentPage final o = api.GoogleCloudDocumentaiV1beta2DocumentPage(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPage < 3) { - o.blocks = buildUnnamed2358(); - o.detectedLanguages = buildUnnamed2359(); + o.blocks = buildUnnamed2345(); + o.detectedLanguages = buildUnnamed2346(); o.dimension = buildGoogleCloudDocumentaiV1beta2DocumentPageDimension(); - o.formFields = buildUnnamed2360(); + o.formFields = buildUnnamed2347(); o.image = buildGoogleCloudDocumentaiV1beta2DocumentPageImage(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); - o.lines = buildUnnamed2361(); + o.lines = buildUnnamed2348(); o.pageNumber = 42; - o.paragraphs = buildUnnamed2362(); + o.paragraphs = buildUnnamed2349(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); - o.tables = buildUnnamed2363(); - o.tokens = buildUnnamed2364(); - o.transforms = buildUnnamed2365(); - o.visualElements = buildUnnamed2366(); + o.tables = buildUnnamed2350(); + o.tokens = buildUnnamed2351(); + o.transforms = buildUnnamed2352(); + o.visualElements = buildUnnamed2353(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPage--; return o; @@ -5161,34 +5370,34 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPage( api.GoogleCloudDocumentaiV1beta2DocumentPage o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPage < 3) { - checkUnnamed2358(o.blocks!); - checkUnnamed2359(o.detectedLanguages!); + checkUnnamed2345(o.blocks!); + checkUnnamed2346(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageDimension(o.dimension!); - checkUnnamed2360(o.formFields!); + checkUnnamed2347(o.formFields!); checkGoogleCloudDocumentaiV1beta2DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); - checkUnnamed2361(o.lines!); + checkUnnamed2348(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed2362(o.paragraphs!); + checkUnnamed2349(o.paragraphs!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); - checkUnnamed2363(o.tables!); - checkUnnamed2364(o.tokens!); - checkUnnamed2365(o.transforms!); - checkUnnamed2366(o.visualElements!); + checkUnnamed2350(o.tables!); + checkUnnamed2351(o.tokens!); + checkUnnamed2352(o.transforms!); + checkUnnamed2353(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPage--; } core.List - buildUnnamed2367() => [ + buildUnnamed2354() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef(), ]; -void checkUnnamed2367( +void checkUnnamed2354( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef(o[0]); @@ -5201,7 +5410,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1beta2DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed2367(); + o.pageRefs = buildUnnamed2354(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor--; return o; @@ -5211,7 +5420,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageAnchor( api.GoogleCloudDocumentaiV1beta2DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor < 3) { - checkUnnamed2367(o.pageRefs!); + checkUnnamed2354(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor--; } @@ -5258,12 +5467,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef( } core.List - buildUnnamed2368() => [ + buildUnnamed2355() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2368( +void checkUnnamed2355( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5276,7 +5485,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageBlock final o = api.GoogleCloudDocumentaiV1beta2DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed2368(); + o.detectedLanguages = buildUnnamed2355(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -5288,7 +5497,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageBlock( api.GoogleCloudDocumentaiV1beta2DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock < 3) { - checkUnnamed2368(o.detectedLanguages!); + checkUnnamed2355(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -5362,12 +5571,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageDimension( } core.List - buildUnnamed2369() => [ + buildUnnamed2356() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2369( +void checkUnnamed2356( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5375,12 +5584,12 @@ void checkUnnamed2369( } core.List - buildUnnamed2370() => [ + buildUnnamed2357() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2370( +void checkUnnamed2357( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5393,11 +5602,13 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageFormField final o = api.GoogleCloudDocumentaiV1beta2DocumentPageFormField(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField < 3) { + o.correctedKeyText = 'foo'; + o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed2369(); + o.nameDetectedLanguages = buildUnnamed2356(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed2370(); + o.valueDetectedLanguages = buildUnnamed2357(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField--; @@ -5408,11 +5619,19 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageFormField( api.GoogleCloudDocumentaiV1beta2DocumentPageFormField o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField < 3) { + unittest.expect( + o.correctedKeyText!, + unittest.equals('foo'), + ); + unittest.expect( + o.correctedValueText!, + unittest.equals('foo'), + ); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.fieldValue!); - checkUnnamed2369(o.nameDetectedLanguages!); + checkUnnamed2356(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); - checkUnnamed2370(o.valueDetectedLanguages!); + checkUnnamed2357(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -5494,12 +5713,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageLayout( } core.List - buildUnnamed2371() => [ + buildUnnamed2358() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2371( +void checkUnnamed2358( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5512,7 +5731,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageLine final o = api.GoogleCloudDocumentaiV1beta2DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed2371(); + o.detectedLanguages = buildUnnamed2358(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -5524,7 +5743,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageLine( api.GoogleCloudDocumentaiV1beta2DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine < 3) { - checkUnnamed2371(o.detectedLanguages!); + checkUnnamed2358(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -5571,12 +5790,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageMatrix( } core.List - buildUnnamed2372() => [ + buildUnnamed2359() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2372( +void checkUnnamed2359( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5589,7 +5808,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1beta2DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed2372(); + o.detectedLanguages = buildUnnamed2359(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -5601,7 +5820,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageParagraph( api.GoogleCloudDocumentaiV1beta2DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph < 3) { - checkUnnamed2372(o.detectedLanguages!); + checkUnnamed2359(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -5609,12 +5828,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageParagraph( } core.List - buildUnnamed2373() => [ + buildUnnamed2360() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), ]; -void checkUnnamed2373( +void checkUnnamed2360( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(o[0]); @@ -5622,12 +5841,12 @@ void checkUnnamed2373( } core.List - buildUnnamed2374() => [ + buildUnnamed2361() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2374( +void checkUnnamed2361( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5635,12 +5854,12 @@ void checkUnnamed2374( } core.List - buildUnnamed2375() => [ + buildUnnamed2362() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), ]; -void checkUnnamed2375( +void checkUnnamed2362( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(o[0]); @@ -5653,9 +5872,9 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageTable final o = api.GoogleCloudDocumentaiV1beta2DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable < 3) { - o.bodyRows = buildUnnamed2373(); - o.detectedLanguages = buildUnnamed2374(); - o.headerRows = buildUnnamed2375(); + o.bodyRows = buildUnnamed2360(); + o.detectedLanguages = buildUnnamed2361(); + o.headerRows = buildUnnamed2362(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable--; @@ -5666,21 +5885,21 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTable( api.GoogleCloudDocumentaiV1beta2DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable < 3) { - checkUnnamed2373(o.bodyRows!); - checkUnnamed2374(o.detectedLanguages!); - checkUnnamed2375(o.headerRows!); + checkUnnamed2360(o.bodyRows!); + checkUnnamed2361(o.detectedLanguages!); + checkUnnamed2362(o.headerRows!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable--; } core.List - buildUnnamed2376() => [ + buildUnnamed2363() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2376( +void checkUnnamed2363( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5694,7 +5913,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed2376(); + o.detectedLanguages = buildUnnamed2363(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.rowSpan = 42; } @@ -5710,7 +5929,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed2376(o.detectedLanguages!); + checkUnnamed2363(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -5721,12 +5940,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( } core.List - buildUnnamed2377() => [ + buildUnnamed2364() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell(), ]; -void checkUnnamed2377( +void checkUnnamed2364( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell(o[0]); @@ -5739,7 +5958,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed2377(); + o.cells = buildUnnamed2364(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow--; return o; @@ -5749,18 +5968,18 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow < 3) { - checkUnnamed2377(o.cells!); + checkUnnamed2364(o.cells!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow--; } core.List - buildUnnamed2378() => [ + buildUnnamed2365() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2378( +void checkUnnamed2365( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5775,7 +5994,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed2378(); + o.detectedLanguages = buildUnnamed2365(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -5789,7 +6008,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed2378(o.detectedLanguages!); + checkUnnamed2365(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -5824,12 +6043,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( } core.List - buildUnnamed2379() => [ + buildUnnamed2366() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed2379( +void checkUnnamed2366( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -5842,7 +6061,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed2379(); + o.detectedLanguages = buildUnnamed2366(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.type = 'foo'; } @@ -5854,7 +6073,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageVisualElement( api.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement < 3) { - checkUnnamed2379(o.detectedLanguages!); + checkUnnamed2366(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -5865,12 +6084,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageVisualElement( } core.List - buildUnnamed2380() => [ + buildUnnamed2367() => [ buildGoogleCloudDocumentaiV1beta2DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1beta2DocumentProvenanceParent(), ]; -void checkUnnamed2380( +void checkUnnamed2367( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentProvenanceParent(o[0]); @@ -5884,7 +6103,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentProvenance buildCounterGoogleCloudDocumentaiV1beta2DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed2380(); + o.parents = buildUnnamed2367(); o.revision = 42; o.type = 'foo'; } @@ -5900,7 +6119,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed2380(o.parents!); + checkUnnamed2367(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -5947,12 +6166,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1beta2DocumentProvenanceParent--; } -core.List buildUnnamed2381() => [ +core.List buildUnnamed2368() => [ 42, 42, ]; -void checkUnnamed2381(core.List o) { +void checkUnnamed2368(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5975,7 +6194,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentRevision o.humanReview = buildGoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed2381(); + o.parent = buildUnnamed2368(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta2DocumentRevision--; @@ -6000,7 +6219,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed2381(o.parent!); + checkUnnamed2368(o.parent!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -6145,12 +6364,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentStyleFontSize( } core.List - buildUnnamed2382() => [ + buildUnnamed2369() => [ buildGoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment(), ]; -void checkUnnamed2382( +void checkUnnamed2369( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6165,7 +6384,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed2382(); + o.textSegments = buildUnnamed2369(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor--; return o; @@ -6179,7 +6398,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed2382(o.textSegments!); + checkUnnamed2369(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor--; } @@ -6217,12 +6436,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment( } core.List - buildUnnamed2383() => [ + buildUnnamed2370() => [ buildGoogleCloudDocumentaiV1beta2DocumentProvenance(), buildGoogleCloudDocumentaiV1beta2DocumentProvenance(), ]; -void checkUnnamed2383( +void checkUnnamed2370( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o[0]); @@ -6236,7 +6455,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentTextChange buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed2383(); + o.provenance = buildUnnamed2370(); o.textAnchor = buildGoogleCloudDocumentaiV1beta2DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange--; @@ -6251,7 +6470,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed2383(o.provenance!); + checkUnnamed2370(o.provenance!); checkGoogleCloudDocumentaiV1beta2DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange--; @@ -6484,12 +6703,12 @@ void checkGoogleCloudDocumentaiV1beta2Vertex( core.List< api.GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus> - buildUnnamed2384() => [ + buildUnnamed2371() => [ buildGoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus(), buildGoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus(), ]; -void checkUnnamed2384( +void checkUnnamed2371( core.List< api.GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus> o) { @@ -6507,7 +6726,7 @@ api.GoogleCloudDocumentaiV1beta3BatchProcessMetadata buildCounterGoogleCloudDocumentaiV1beta3BatchProcessMetadata++; if (buildCounterGoogleCloudDocumentaiV1beta3BatchProcessMetadata < 3) { o.createTime = 'foo'; - o.individualProcessStatuses = buildUnnamed2384(); + o.individualProcessStatuses = buildUnnamed2371(); o.state = 'foo'; o.stateMessage = 'foo'; o.updateTime = 'foo'; @@ -6524,7 +6743,7 @@ void checkGoogleCloudDocumentaiV1beta3BatchProcessMetadata( o.createTime!, unittest.equals('foo'), ); - checkUnnamed2384(o.individualProcessStatuses!); + checkUnnamed2371(o.individualProcessStatuses!); unittest.expect( o.state!, unittest.equals('foo'), @@ -6844,12 +7063,12 @@ void checkGoogleCloudDocumentaiV1beta3ReviewDocumentResponse( buildCounterGoogleCloudDocumentaiV1beta3ReviewDocumentResponse--; } -core.List buildUnnamed2385() => [ +core.List buildUnnamed2372() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed2385(core.List o) { +void checkUnnamed2372(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -6861,7 +7080,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed2385(); + o.locations = buildUnnamed2372(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -6872,7 +7091,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed2385(o.locations!); + checkUnnamed2372(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6881,12 +7100,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed2386() => { +core.Map buildUnnamed2373() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2386(core.Map o) { +void checkUnnamed2373(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6898,7 +7117,7 @@ void checkUnnamed2386(core.Map o) { ); } -core.Map buildUnnamed2387() => { +core.Map buildUnnamed2374() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6911,7 +7130,7 @@ core.Map buildUnnamed2387() => { }, }; -void checkUnnamed2387(core.Map o) { +void checkUnnamed2374(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -6949,9 +7168,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed2386(); + o.labels = buildUnnamed2373(); o.locationId = 'foo'; - o.metadata = buildUnnamed2387(); + o.metadata = buildUnnamed2374(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -6965,12 +7184,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2386(o.labels!); + checkUnnamed2373(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed2387(o.metadata!); + checkUnnamed2374(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6979,12 +7198,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed2388() => [ +core.List buildUnnamed2375() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed2388(core.List o) { +void checkUnnamed2375(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -6997,7 +7216,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2388(); + o.operations = buildUnnamed2375(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -7011,12 +7230,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2388(o.operations!); + checkUnnamed2375(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed2389() => { +core.Map buildUnnamed2376() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7029,7 +7248,7 @@ core.Map buildUnnamed2389() => { }, }; -void checkUnnamed2389(core.Map o) { +void checkUnnamed2376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -7061,7 +7280,7 @@ void checkUnnamed2389(core.Map o) { ); } -core.Map buildUnnamed2390() => { +core.Map buildUnnamed2377() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7074,7 +7293,7 @@ core.Map buildUnnamed2390() => { }, }; -void checkUnnamed2390(core.Map o) { +void checkUnnamed2377(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -7113,9 +7332,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed2389(); + o.metadata = buildUnnamed2376(); o.name = 'foo'; - o.response = buildUnnamed2390(); + o.response = buildUnnamed2377(); } buildCounterGoogleLongrunningOperation--; return o; @@ -7126,12 +7345,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed2389(o.metadata!); + checkUnnamed2376(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2390(o.response!); + checkUnnamed2377(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -7151,7 +7370,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed2391() => { +core.Map buildUnnamed2378() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7164,7 +7383,7 @@ core.Map buildUnnamed2391() => { }, }; -void checkUnnamed2391(core.Map o) { +void checkUnnamed2378(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -7196,15 +7415,15 @@ void checkUnnamed2391(core.Map o) { ); } -core.List> buildUnnamed2392() => [ - buildUnnamed2391(), - buildUnnamed2391(), +core.List> buildUnnamed2379() => [ + buildUnnamed2378(), + buildUnnamed2378(), ]; -void checkUnnamed2392(core.List> o) { +void checkUnnamed2379(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2391(o[0]); - checkUnnamed2391(o[1]); + checkUnnamed2378(o[0]); + checkUnnamed2378(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -7213,7 +7432,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed2392(); + o.details = buildUnnamed2379(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -7227,7 +7446,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed2392(o.details!); + checkUnnamed2379(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -7396,12 +7615,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed2393() => [ +core.List buildUnnamed2380() => [ 'foo', 'foo', ]; -void checkUnnamed2393(core.List o) { +void checkUnnamed2380(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7413,12 +7632,12 @@ void checkUnnamed2393(core.List o) { ); } -core.List buildUnnamed2394() => [ +core.List buildUnnamed2381() => [ 'foo', 'foo', ]; -void checkUnnamed2394(core.List o) { +void checkUnnamed2381(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7435,13 +7654,13 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { final o = api.GoogleTypePostalAddress(); buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - o.addressLines = buildUnnamed2393(); + o.addressLines = buildUnnamed2380(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed2394(); + o.recipients = buildUnnamed2381(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -7454,7 +7673,7 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - checkUnnamed2393(o.addressLines!); + checkUnnamed2380(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -7475,7 +7694,7 @@ void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed2394(o.recipients!); + checkUnnamed2381(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -7524,6 +7743,58 @@ void checkGoogleTypeTimeZone(api.GoogleTypeTimeZone o) { } void main() { + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata', () { unittest.test('to-json--from-json', () async { @@ -7722,6 +7993,30 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata', () { @@ -7819,6 +8114,20 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata', () { @@ -9798,7 +10107,7 @@ void main() { }); unittest.group('resource-ProjectsLocationsOperationsResource', () { - unittest.test('method--cancelOperation', () async { + unittest.test('method--cancel', () async { final mock = HttpServerMock(); final res = api.DocumentApi(mock).projects.locations.operations; final arg_name = 'foo'; @@ -9846,8 +10155,7 @@ void main() { final resp = convert.json.encode(buildGoogleProtobufEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = - await res.cancelOperation(arg_name, $fields: arg_$fields); + final response = await res.cancel(arg_name, $fields: arg_$fields); checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); @@ -10471,7 +10779,7 @@ void main() { }); unittest.group('resource-Uiv1beta3ProjectsLocationsOperationsResource', () { - unittest.test('method--cancelOperation', () async { + unittest.test('method--cancel', () async { final mock = HttpServerMock(); final res = api.DocumentApi(mock).uiv1beta3.projects.locations.operations; final arg_name = 'foo'; @@ -10519,8 +10827,7 @@ void main() { final resp = convert.json.encode(buildGoogleProtobufEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = - await res.cancelOperation(arg_name, $fields: arg_$fields); + final response = await res.cancel(arg_name, $fields: arg_$fields); checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); diff --git a/generated/googleapis/test/domainsrdap/v1_test.dart b/generated/googleapis/test/domainsrdap/v1_test.dart index d8b8b8f19..59ccabb0e 100644 --- a/generated/googleapis/test/domainsrdap/v1_test.dart +++ b/generated/googleapis/test/domainsrdap/v1_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed1887() => { +core.Map buildUnnamed1917() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.Map buildUnnamed1887() => { }, }; -void checkUnnamed1887(core.Map o) { +void checkUnnamed1917(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -71,15 +71,15 @@ void checkUnnamed1887(core.Map o) { ); } -core.List> buildUnnamed1888() => [ - buildUnnamed1887(), - buildUnnamed1887(), +core.List> buildUnnamed1918() => [ + buildUnnamed1917(), + buildUnnamed1917(), ]; -void checkUnnamed1888(core.List> o) { +void checkUnnamed1918(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1887(o[0]); - checkUnnamed1887(o[1]); + checkUnnamed1917(o[0]); + checkUnnamed1917(o[1]); } core.int buildCounterHttpBody = 0; @@ -89,7 +89,7 @@ api.HttpBody buildHttpBody() { if (buildCounterHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed1888(); + o.extensions = buildUnnamed1918(); } buildCounterHttpBody--; return o; @@ -106,7 +106,7 @@ void checkHttpBody(api.HttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed1888(o.extensions!); + checkUnnamed1918(o.extensions!); } buildCounterHttpBody--; } @@ -163,12 +163,12 @@ void checkLink(api.Link o) { buildCounterLink--; } -core.List buildUnnamed1889() => [ +core.List buildUnnamed1919() => [ 'foo', 'foo', ]; -void checkUnnamed1889(core.List o) { +void checkUnnamed1919(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -180,12 +180,12 @@ void checkUnnamed1889(core.List o) { ); } -core.List buildUnnamed1890() => [ +core.List buildUnnamed1920() => [ buildLink(), buildLink(), ]; -void checkUnnamed1890(core.List o) { +void checkUnnamed1920(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLink(o[0]); checkLink(o[1]); @@ -196,8 +196,8 @@ api.Notice buildNotice() { final o = api.Notice(); buildCounterNotice++; if (buildCounterNotice < 3) { - o.description = buildUnnamed1889(); - o.links = buildUnnamed1890(); + o.description = buildUnnamed1919(); + o.links = buildUnnamed1920(); o.title = 'foo'; o.type = 'foo'; } @@ -208,8 +208,8 @@ api.Notice buildNotice() { void checkNotice(api.Notice o) { buildCounterNotice++; if (buildCounterNotice < 3) { - checkUnnamed1889(o.description!); - checkUnnamed1890(o.links!); + checkUnnamed1919(o.description!); + checkUnnamed1920(o.links!); unittest.expect( o.title!, unittest.equals('foo'), @@ -222,12 +222,12 @@ void checkNotice(api.Notice o) { buildCounterNotice--; } -core.List buildUnnamed1891() => [ +core.List buildUnnamed1921() => [ 'foo', 'foo', ]; -void checkUnnamed1891(core.List o) { +void checkUnnamed1921(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -239,23 +239,23 @@ void checkUnnamed1891(core.List o) { ); } -core.List buildUnnamed1892() => [ +core.List buildUnnamed1922() => [ buildNotice(), buildNotice(), ]; -void checkUnnamed1892(core.List o) { +void checkUnnamed1922(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotice(o[0]); checkNotice(o[1]); } -core.List buildUnnamed1893() => [ +core.List buildUnnamed1923() => [ 'foo', 'foo', ]; -void checkUnnamed1893(core.List o) { +void checkUnnamed1923(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -272,12 +272,12 @@ api.RdapResponse buildRdapResponse() { final o = api.RdapResponse(); buildCounterRdapResponse++; if (buildCounterRdapResponse < 3) { - o.description = buildUnnamed1891(); + o.description = buildUnnamed1921(); o.errorCode = 42; o.jsonResponse = buildHttpBody(); o.lang = 'foo'; - o.notices = buildUnnamed1892(); - o.rdapConformance = buildUnnamed1893(); + o.notices = buildUnnamed1922(); + o.rdapConformance = buildUnnamed1923(); o.title = 'foo'; } buildCounterRdapResponse--; @@ -287,7 +287,7 @@ api.RdapResponse buildRdapResponse() { void checkRdapResponse(api.RdapResponse o) { buildCounterRdapResponse++; if (buildCounterRdapResponse < 3) { - checkUnnamed1891(o.description!); + checkUnnamed1921(o.description!); unittest.expect( o.errorCode!, unittest.equals(42), @@ -297,8 +297,8 @@ void checkRdapResponse(api.RdapResponse o) { o.lang!, unittest.equals('foo'), ); - checkUnnamed1892(o.notices!); - checkUnnamed1893(o.rdapConformance!); + checkUnnamed1922(o.notices!); + checkUnnamed1923(o.rdapConformance!); unittest.expect( o.title!, unittest.equals('foo'), diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart index 54ae17862..943ef6952 100644 --- a/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart +++ b/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6379() => [ +core.List buildUnnamed6446() => [ buildRule(), buildRule(), ]; -void checkUnnamed6379(core.List o) { +void checkUnnamed6446(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -44,7 +44,7 @@ api.ChannelGrouping buildChannelGrouping() { if (buildCounterChannelGrouping < 3) { o.fallbackName = 'foo'; o.name = 'foo'; - o.rules = buildUnnamed6379(); + o.rules = buildUnnamed6446(); } buildCounterChannelGrouping--; return o; @@ -61,17 +61,17 @@ void checkChannelGrouping(api.ChannelGrouping o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6379(o.rules!); + checkUnnamed6446(o.rules!); } buildCounterChannelGrouping--; } -core.List buildUnnamed6380() => [ +core.List buildUnnamed6447() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed6380(core.List o) { +void checkUnnamed6447(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); @@ -82,7 +82,7 @@ api.DisjunctiveMatchStatement buildDisjunctiveMatchStatement() { final o = api.DisjunctiveMatchStatement(); buildCounterDisjunctiveMatchStatement++; if (buildCounterDisjunctiveMatchStatement < 3) { - o.eventFilters = buildUnnamed6380(); + o.eventFilters = buildUnnamed6447(); } buildCounterDisjunctiveMatchStatement--; return o; @@ -91,7 +91,7 @@ api.DisjunctiveMatchStatement buildDisjunctiveMatchStatement() { void checkDisjunctiveMatchStatement(api.DisjunctiveMatchStatement o) { buildCounterDisjunctiveMatchStatement++; if (buildCounterDisjunctiveMatchStatement < 3) { - checkUnnamed6380(o.eventFilters!); + checkUnnamed6447(o.eventFilters!); } buildCounterDisjunctiveMatchStatement--; } @@ -142,12 +142,12 @@ void checkFilterPair(api.FilterPair o) { buildCounterFilterPair--; } -core.List buildUnnamed6381() => [ +core.List buildUnnamed6448() => [ buildQuery(), buildQuery(), ]; -void checkUnnamed6381(core.List o) { +void checkUnnamed6448(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuery(o[0]); checkQuery(o[1]); @@ -160,7 +160,7 @@ api.ListQueriesResponse buildListQueriesResponse() { if (buildCounterListQueriesResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.queries = buildUnnamed6381(); + o.queries = buildUnnamed6448(); } buildCounterListQueriesResponse--; return o; @@ -177,17 +177,17 @@ void checkListQueriesResponse(api.ListQueriesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6381(o.queries!); + checkUnnamed6448(o.queries!); } buildCounterListQueriesResponse--; } -core.List buildUnnamed6382() => [ +core.List buildUnnamed6449() => [ buildReport(), buildReport(), ]; -void checkUnnamed6382(core.List o) { +void checkUnnamed6449(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -200,7 +200,7 @@ api.ListReportsResponse buildListReportsResponse() { if (buildCounterListReportsResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.reports = buildUnnamed6382(); + o.reports = buildUnnamed6449(); } buildCounterListReportsResponse--; return o; @@ -217,7 +217,7 @@ void checkListReportsResponse(api.ListReportsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6382(o.reports!); + checkUnnamed6449(o.reports!); } buildCounterListReportsResponse--; } @@ -243,23 +243,23 @@ void checkOptions(api.Options o) { buildCounterOptions--; } -core.List buildUnnamed6383() => [ +core.List buildUnnamed6450() => [ buildFilterPair(), buildFilterPair(), ]; -void checkUnnamed6383(core.List o) { +void checkUnnamed6450(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterPair(o[0]); checkFilterPair(o[1]); } -core.List buildUnnamed6384() => [ +core.List buildUnnamed6451() => [ 'foo', 'foo', ]; -void checkUnnamed6384(core.List o) { +void checkUnnamed6451(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -271,12 +271,12 @@ void checkUnnamed6384(core.List o) { ); } -core.List buildUnnamed6385() => [ +core.List buildUnnamed6452() => [ 'foo', 'foo', ]; -void checkUnnamed6385(core.List o) { +void checkUnnamed6452(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -293,10 +293,10 @@ api.Parameters buildParameters() { final o = api.Parameters(); buildCounterParameters++; if (buildCounterParameters < 3) { - o.filters = buildUnnamed6383(); - o.groupBys = buildUnnamed6384(); + o.filters = buildUnnamed6450(); + o.groupBys = buildUnnamed6451(); o.includeInviteData = true; - o.metrics = buildUnnamed6385(); + o.metrics = buildUnnamed6452(); o.options = buildOptions(); o.type = 'foo'; } @@ -307,10 +307,10 @@ api.Parameters buildParameters() { void checkParameters(api.Parameters o) { buildCounterParameters++; if (buildCounterParameters < 3) { - checkUnnamed6383(o.filters!); - checkUnnamed6384(o.groupBys!); + checkUnnamed6450(o.filters!); + checkUnnamed6451(o.groupBys!); unittest.expect(o.includeInviteData!, unittest.isTrue); - checkUnnamed6385(o.metrics!); + checkUnnamed6452(o.metrics!); checkOptions(o.options!); unittest.expect( o.type!, @@ -320,12 +320,12 @@ void checkParameters(api.Parameters o) { buildCounterParameters--; } -core.List buildUnnamed6386() => [ +core.List buildUnnamed6453() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed6386(core.List o) { +void checkUnnamed6453(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); @@ -336,7 +336,7 @@ api.PathFilter buildPathFilter() { final o = api.PathFilter(); buildCounterPathFilter++; if (buildCounterPathFilter < 3) { - o.eventFilters = buildUnnamed6386(); + o.eventFilters = buildUnnamed6453(); o.pathMatchPosition = 'foo'; } buildCounterPathFilter--; @@ -346,7 +346,7 @@ api.PathFilter buildPathFilter() { void checkPathFilter(api.PathFilter o) { buildCounterPathFilter++; if (buildCounterPathFilter < 3) { - checkUnnamed6386(o.eventFilters!); + checkUnnamed6453(o.eventFilters!); unittest.expect( o.pathMatchPosition!, unittest.equals('foo'), @@ -355,12 +355,12 @@ void checkPathFilter(api.PathFilter o) { buildCounterPathFilter--; } -core.List buildUnnamed6387() => [ +core.List buildUnnamed6454() => [ buildPathFilter(), buildPathFilter(), ]; -void checkUnnamed6387(core.List o) { +void checkUnnamed6454(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathFilter(o[0]); checkPathFilter(o[1]); @@ -372,7 +372,7 @@ api.PathQueryOptions buildPathQueryOptions() { buildCounterPathQueryOptions++; if (buildCounterPathQueryOptions < 3) { o.channelGrouping = buildChannelGrouping(); - o.pathFilters = buildUnnamed6387(); + o.pathFilters = buildUnnamed6454(); } buildCounterPathQueryOptions--; return o; @@ -382,17 +382,17 @@ void checkPathQueryOptions(api.PathQueryOptions o) { buildCounterPathQueryOptions++; if (buildCounterPathQueryOptions < 3) { checkChannelGrouping(o.channelGrouping!); - checkUnnamed6387(o.pathFilters!); + checkUnnamed6454(o.pathFilters!); } buildCounterPathQueryOptions--; } -core.List buildUnnamed6388() => [ +core.List buildUnnamed6455() => [ 'foo', 'foo', ]; -void checkUnnamed6388(core.List o) { +void checkUnnamed6455(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -411,7 +411,7 @@ api.PathQueryOptionsFilter buildPathQueryOptionsFilter() { if (buildCounterPathQueryOptionsFilter < 3) { o.filter = 'foo'; o.match = 'foo'; - o.values = buildUnnamed6388(); + o.values = buildUnnamed6455(); } buildCounterPathQueryOptionsFilter--; return o; @@ -428,7 +428,7 @@ void checkPathQueryOptionsFilter(api.PathQueryOptionsFilter o) { o.match!, unittest.equals('foo'), ); - checkUnnamed6388(o.values!); + checkUnnamed6455(o.values!); } buildCounterPathQueryOptionsFilter--; } @@ -481,12 +481,12 @@ void checkQuery(api.Query o) { buildCounterQuery--; } -core.List buildUnnamed6389() => [ +core.List buildUnnamed6456() => [ 'foo', 'foo', ]; -void checkUnnamed6389(core.List o) { +void checkUnnamed6456(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -512,7 +512,7 @@ api.QueryMetadata buildQueryMetadata() { o.reportCount = 42; o.running = true; o.sendNotification = true; - o.shareEmailAddress = buildUnnamed6389(); + o.shareEmailAddress = buildUnnamed6456(); o.title = 'foo'; } buildCounterQueryMetadata--; @@ -552,7 +552,7 @@ void checkQueryMetadata(api.QueryMetadata o) { ); unittest.expect(o.running!, unittest.isTrue); unittest.expect(o.sendNotification!, unittest.isTrue); - checkUnnamed6389(o.shareEmailAddress!); + checkUnnamed6456(o.shareEmailAddress!); unittest.expect( o.title!, unittest.equals('foo'), @@ -743,12 +743,12 @@ void checkReportStatus(api.ReportStatus o) { buildCounterReportStatus--; } -core.List buildUnnamed6390() => [ +core.List buildUnnamed6457() => [ buildDisjunctiveMatchStatement(), buildDisjunctiveMatchStatement(), ]; -void checkUnnamed6390(core.List o) { +void checkUnnamed6457(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisjunctiveMatchStatement(o[0]); checkDisjunctiveMatchStatement(o[1]); @@ -759,7 +759,7 @@ api.Rule buildRule() { final o = api.Rule(); buildCounterRule++; if (buildCounterRule < 3) { - o.disjunctiveMatchStatements = buildUnnamed6390(); + o.disjunctiveMatchStatements = buildUnnamed6457(); o.name = 'foo'; } buildCounterRule--; @@ -769,7 +769,7 @@ api.Rule buildRule() { void checkRule(api.Rule o) { buildCounterRule++; if (buildCounterRule < 3) { - checkUnnamed6390(o.disjunctiveMatchStatements!); + checkUnnamed6457(o.disjunctiveMatchStatements!); unittest.expect( o.name!, unittest.equals('foo'), diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart index 9e80c1738..923d3133b 100644 --- a/generated/googleapis/test/doubleclicksearch/v2_test.dart +++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart @@ -73,23 +73,23 @@ void checkAvailability(api.Availability o) { buildCounterAvailability--; } -core.List buildUnnamed1789() => [ +core.List buildUnnamed1819() => [ buildCustomDimension(), buildCustomDimension(), ]; -void checkUnnamed1789(core.List o) { +void checkUnnamed1819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomDimension(o[0]); checkCustomDimension(o[1]); } -core.List buildUnnamed1790() => [ +core.List buildUnnamed1820() => [ buildCustomMetric(), buildCustomMetric(), ]; -void checkUnnamed1790(core.List o) { +void checkUnnamed1820(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomMetric(o[0]); checkCustomMetric(o[1]); @@ -114,8 +114,8 @@ api.Conversion buildConversion() { o.countMillis = 'foo'; o.criterionId = 'foo'; o.currencyCode = 'foo'; - o.customDimension = buildUnnamed1789(); - o.customMetric = buildUnnamed1790(); + o.customDimension = buildUnnamed1819(); + o.customMetric = buildUnnamed1820(); o.deviceType = 'foo'; o.dsConversionId = 'foo'; o.engineAccountId = 'foo'; @@ -197,8 +197,8 @@ void checkConversion(api.Conversion o) { o.currencyCode!, unittest.equals('foo'), ); - checkUnnamed1789(o.customDimension!); - checkUnnamed1790(o.customMetric!); + checkUnnamed1819(o.customDimension!); + checkUnnamed1820(o.customMetric!); unittest.expect( o.deviceType!, unittest.equals('foo'), @@ -271,12 +271,12 @@ void checkConversion(api.Conversion o) { buildCounterConversion--; } -core.List buildUnnamed1791() => [ +core.List buildUnnamed1821() => [ buildConversion(), buildConversion(), ]; -void checkUnnamed1791(core.List o) { +void checkUnnamed1821(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConversion(o[0]); checkConversion(o[1]); @@ -287,7 +287,7 @@ api.ConversionList buildConversionList() { final o = api.ConversionList(); buildCounterConversionList++; if (buildCounterConversionList < 3) { - o.conversion = buildUnnamed1791(); + o.conversion = buildUnnamed1821(); o.kind = 'foo'; } buildCounterConversionList--; @@ -297,7 +297,7 @@ api.ConversionList buildConversionList() { void checkConversionList(api.ConversionList o) { buildCounterConversionList++; if (buildCounterConversionList < 3) { - checkUnnamed1791(o.conversion!); + checkUnnamed1821(o.conversion!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -387,23 +387,23 @@ void checkReportFiles(api.ReportFiles o) { buildCounterReportFiles--; } -core.List buildUnnamed1792() => [ +core.List buildUnnamed1822() => [ buildReportFiles(), buildReportFiles(), ]; -void checkUnnamed1792(core.List o) { +void checkUnnamed1822(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportFiles(o[0]); checkReportFiles(o[1]); } -core.List buildUnnamed1793() => [ +core.List buildUnnamed1823() => [ buildReportRow(), buildReportRow(), ]; -void checkUnnamed1793(core.List o) { +void checkUnnamed1823(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRow(o[0]); checkReportRow(o[1]); @@ -414,13 +414,13 @@ api.Report buildReport() { final o = api.Report(); buildCounterReport++; if (buildCounterReport < 3) { - o.files = buildUnnamed1792(); + o.files = buildUnnamed1822(); o.id = 'foo'; o.isReportReady = true; o.kind = 'foo'; o.request = buildReportRequest(); o.rowCount = 42; - o.rows = buildUnnamed1793(); + o.rows = buildUnnamed1823(); o.statisticsCurrencyCode = 'foo'; o.statisticsTimeZone = 'foo'; } @@ -431,7 +431,7 @@ api.Report buildReport() { void checkReport(api.Report o) { buildCounterReport++; if (buildCounterReport < 3) { - checkUnnamed1792(o.files!); + checkUnnamed1822(o.files!); unittest.expect( o.id!, unittest.equals('foo'), @@ -446,7 +446,7 @@ void checkReport(api.Report o) { o.rowCount!, unittest.equals(42), ); - checkUnnamed1793(o.rows!); + checkUnnamed1823(o.rows!); unittest.expect( o.statisticsCurrencyCode!, unittest.equals('foo'), @@ -523,18 +523,18 @@ void checkReportApiColumnSpec(api.ReportApiColumnSpec o) { buildCounterReportApiColumnSpec--; } -core.List buildUnnamed1794() => [ +core.List buildUnnamed1824() => [ buildReportApiColumnSpec(), buildReportApiColumnSpec(), ]; -void checkUnnamed1794(core.List o) { +void checkUnnamed1824(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportApiColumnSpec(o[0]); checkReportApiColumnSpec(o[1]); } -core.List buildUnnamed1795() => [ +core.List buildUnnamed1825() => [ { 'list': [1, 2, 3], 'bool': true, @@ -547,7 +547,7 @@ core.List buildUnnamed1795() => [ }, ]; -void checkUnnamed1795(core.List o) { +void checkUnnamed1825(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -586,7 +586,7 @@ api.ReportRequestFilters buildReportRequestFilters() { if (buildCounterReportRequestFilters < 3) { o.column = buildReportApiColumnSpec(); o.operator = 'foo'; - o.values = buildUnnamed1795(); + o.values = buildUnnamed1825(); } buildCounterReportRequestFilters--; return o; @@ -600,17 +600,17 @@ void checkReportRequestFilters(api.ReportRequestFilters o) { o.operator!, unittest.equals('foo'), ); - checkUnnamed1795(o.values!); + checkUnnamed1825(o.values!); } buildCounterReportRequestFilters--; } -core.List buildUnnamed1796() => [ +core.List buildUnnamed1826() => [ buildReportRequestFilters(), buildReportRequestFilters(), ]; -void checkUnnamed1796(core.List o) { +void checkUnnamed1826(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRequestFilters(o[0]); checkReportRequestFilters(o[1]); @@ -640,12 +640,12 @@ void checkReportRequestOrderBy(api.ReportRequestOrderBy o) { buildCounterReportRequestOrderBy--; } -core.List buildUnnamed1797() => [ +core.List buildUnnamed1827() => [ buildReportRequestOrderBy(), buildReportRequestOrderBy(), ]; -void checkUnnamed1797(core.List o) { +void checkUnnamed1827(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRequestOrderBy(o[0]); checkReportRequestOrderBy(o[1]); @@ -745,13 +745,13 @@ api.ReportRequest buildReportRequest() { final o = api.ReportRequest(); buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - o.columns = buildUnnamed1794(); + o.columns = buildUnnamed1824(); o.downloadFormat = 'foo'; - o.filters = buildUnnamed1796(); + o.filters = buildUnnamed1826(); o.includeDeletedEntities = true; o.includeRemovedEntities = true; o.maxRowsPerFile = 42; - o.orderBy = buildUnnamed1797(); + o.orderBy = buildUnnamed1827(); o.reportScope = buildReportRequestReportScope(); o.reportType = 'foo'; o.rowCount = 42; @@ -767,19 +767,19 @@ api.ReportRequest buildReportRequest() { void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - checkUnnamed1794(o.columns!); + checkUnnamed1824(o.columns!); unittest.expect( o.downloadFormat!, unittest.equals('foo'), ); - checkUnnamed1796(o.filters!); + checkUnnamed1826(o.filters!); unittest.expect(o.includeDeletedEntities!, unittest.isTrue); unittest.expect(o.includeRemovedEntities!, unittest.isTrue); unittest.expect( o.maxRowsPerFile!, unittest.equals(42), ); - checkUnnamed1797(o.orderBy!); + checkUnnamed1827(o.orderBy!); checkReportRequestReportScope(o.reportScope!); unittest.expect( o.reportType!, @@ -882,12 +882,12 @@ void checkSavedColumn(api.SavedColumn o) { buildCounterSavedColumn--; } -core.List buildUnnamed1798() => [ +core.List buildUnnamed1828() => [ buildSavedColumn(), buildSavedColumn(), ]; -void checkUnnamed1798(core.List o) { +void checkUnnamed1828(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSavedColumn(o[0]); checkSavedColumn(o[1]); @@ -898,7 +898,7 @@ api.SavedColumnList buildSavedColumnList() { final o = api.SavedColumnList(); buildCounterSavedColumnList++; if (buildCounterSavedColumnList < 3) { - o.items = buildUnnamed1798(); + o.items = buildUnnamed1828(); o.kind = 'foo'; } buildCounterSavedColumnList--; @@ -908,7 +908,7 @@ api.SavedColumnList buildSavedColumnList() { void checkSavedColumnList(api.SavedColumnList o) { buildCounterSavedColumnList++; if (buildCounterSavedColumnList < 3) { - checkUnnamed1798(o.items!); + checkUnnamed1828(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -917,12 +917,12 @@ void checkSavedColumnList(api.SavedColumnList o) { buildCounterSavedColumnList--; } -core.List buildUnnamed1799() => [ +core.List buildUnnamed1829() => [ buildAvailability(), buildAvailability(), ]; -void checkUnnamed1799(core.List o) { +void checkUnnamed1829(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAvailability(o[0]); checkAvailability(o[1]); @@ -933,7 +933,7 @@ api.UpdateAvailabilityRequest buildUpdateAvailabilityRequest() { final o = api.UpdateAvailabilityRequest(); buildCounterUpdateAvailabilityRequest++; if (buildCounterUpdateAvailabilityRequest < 3) { - o.availabilities = buildUnnamed1799(); + o.availabilities = buildUnnamed1829(); } buildCounterUpdateAvailabilityRequest--; return o; @@ -942,17 +942,17 @@ api.UpdateAvailabilityRequest buildUpdateAvailabilityRequest() { void checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) { buildCounterUpdateAvailabilityRequest++; if (buildCounterUpdateAvailabilityRequest < 3) { - checkUnnamed1799(o.availabilities!); + checkUnnamed1829(o.availabilities!); } buildCounterUpdateAvailabilityRequest--; } -core.List buildUnnamed1800() => [ +core.List buildUnnamed1830() => [ buildAvailability(), buildAvailability(), ]; -void checkUnnamed1800(core.List o) { +void checkUnnamed1830(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAvailability(o[0]); checkAvailability(o[1]); @@ -963,7 +963,7 @@ api.UpdateAvailabilityResponse buildUpdateAvailabilityResponse() { final o = api.UpdateAvailabilityResponse(); buildCounterUpdateAvailabilityResponse++; if (buildCounterUpdateAvailabilityResponse < 3) { - o.availabilities = buildUnnamed1800(); + o.availabilities = buildUnnamed1830(); } buildCounterUpdateAvailabilityResponse--; return o; @@ -972,7 +972,7 @@ api.UpdateAvailabilityResponse buildUpdateAvailabilityResponse() { void checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) { buildCounterUpdateAvailabilityResponse++; if (buildCounterUpdateAvailabilityResponse < 3) { - checkUnnamed1800(o.availabilities!); + checkUnnamed1830(o.availabilities!); } buildCounterUpdateAvailabilityResponse--; } diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart index c3bfdc23c..57d28416a 100644 --- a/generated/googleapis/test/drive/v2_test.dart +++ b/generated/googleapis/test/drive/v2_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2877() => [ +core.List buildUnnamed2765() => [ 'foo', 'foo', ]; -void checkUnnamed2877(core.List o) { +void checkUnnamed2765(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.AboutAdditionalRoleInfoRoleSets buildAboutAdditionalRoleInfoRoleSets() { final o = api.AboutAdditionalRoleInfoRoleSets(); buildCounterAboutAdditionalRoleInfoRoleSets++; if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { - o.additionalRoles = buildUnnamed2877(); + o.additionalRoles = buildUnnamed2765(); o.primaryRole = 'foo'; } buildCounterAboutAdditionalRoleInfoRoleSets--; @@ -59,7 +59,7 @@ void checkAboutAdditionalRoleInfoRoleSets( api.AboutAdditionalRoleInfoRoleSets o) { buildCounterAboutAdditionalRoleInfoRoleSets++; if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { - checkUnnamed2877(o.additionalRoles!); + checkUnnamed2765(o.additionalRoles!); unittest.expect( o.primaryRole!, unittest.equals('foo'), @@ -68,12 +68,12 @@ void checkAboutAdditionalRoleInfoRoleSets( buildCounterAboutAdditionalRoleInfoRoleSets--; } -core.List buildUnnamed2878() => [ +core.List buildUnnamed2766() => [ buildAboutAdditionalRoleInfoRoleSets(), buildAboutAdditionalRoleInfoRoleSets(), ]; -void checkUnnamed2878(core.List o) { +void checkUnnamed2766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutAdditionalRoleInfoRoleSets(o[0]); checkAboutAdditionalRoleInfoRoleSets(o[1]); @@ -84,7 +84,7 @@ api.AboutAdditionalRoleInfo buildAboutAdditionalRoleInfo() { final o = api.AboutAdditionalRoleInfo(); buildCounterAboutAdditionalRoleInfo++; if (buildCounterAboutAdditionalRoleInfo < 3) { - o.roleSets = buildUnnamed2878(); + o.roleSets = buildUnnamed2766(); o.type = 'foo'; } buildCounterAboutAdditionalRoleInfo--; @@ -94,7 +94,7 @@ api.AboutAdditionalRoleInfo buildAboutAdditionalRoleInfo() { void checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { buildCounterAboutAdditionalRoleInfo++; if (buildCounterAboutAdditionalRoleInfo < 3) { - checkUnnamed2878(o.roleSets!); + checkUnnamed2766(o.roleSets!); unittest.expect( o.type!, unittest.equals('foo'), @@ -103,12 +103,12 @@ void checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { buildCounterAboutAdditionalRoleInfo--; } -core.List buildUnnamed2879() => [ +core.List buildUnnamed2767() => [ buildAboutAdditionalRoleInfo(), buildAboutAdditionalRoleInfo(), ]; -void checkUnnamed2879(core.List o) { +void checkUnnamed2767(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutAdditionalRoleInfo(o[0]); checkAboutAdditionalRoleInfo(o[1]); @@ -146,23 +146,23 @@ void checkAboutDriveThemes(api.AboutDriveThemes o) { buildCounterAboutDriveThemes--; } -core.List buildUnnamed2880() => [ +core.List buildUnnamed2768() => [ buildAboutDriveThemes(), buildAboutDriveThemes(), ]; -void checkUnnamed2880(core.List o) { +void checkUnnamed2768(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutDriveThemes(o[0]); checkAboutDriveThemes(o[1]); } -core.List buildUnnamed2881() => [ +core.List buildUnnamed2769() => [ 'foo', 'foo', ]; -void checkUnnamed2881(core.List o) { +void checkUnnamed2769(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -180,7 +180,7 @@ api.AboutExportFormats buildAboutExportFormats() { buildCounterAboutExportFormats++; if (buildCounterAboutExportFormats < 3) { o.source = 'foo'; - o.targets = buildUnnamed2881(); + o.targets = buildUnnamed2769(); } buildCounterAboutExportFormats--; return o; @@ -193,17 +193,17 @@ void checkAboutExportFormats(api.AboutExportFormats o) { o.source!, unittest.equals('foo'), ); - checkUnnamed2881(o.targets!); + checkUnnamed2769(o.targets!); } buildCounterAboutExportFormats--; } -core.List buildUnnamed2882() => [ +core.List buildUnnamed2770() => [ buildAboutExportFormats(), buildAboutExportFormats(), ]; -void checkUnnamed2882(core.List o) { +void checkUnnamed2770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutExportFormats(o[0]); checkAboutExportFormats(o[1]); @@ -236,23 +236,23 @@ void checkAboutFeatures(api.AboutFeatures o) { buildCounterAboutFeatures--; } -core.List buildUnnamed2883() => [ +core.List buildUnnamed2771() => [ buildAboutFeatures(), buildAboutFeatures(), ]; -void checkUnnamed2883(core.List o) { +void checkUnnamed2771(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutFeatures(o[0]); checkAboutFeatures(o[1]); } -core.List buildUnnamed2884() => [ +core.List buildUnnamed2772() => [ 'foo', 'foo', ]; -void checkUnnamed2884(core.List o) { +void checkUnnamed2772(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -264,12 +264,12 @@ void checkUnnamed2884(core.List o) { ); } -core.List buildUnnamed2885() => [ +core.List buildUnnamed2773() => [ 'foo', 'foo', ]; -void checkUnnamed2885(core.List o) { +void checkUnnamed2773(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -287,7 +287,7 @@ api.AboutImportFormats buildAboutImportFormats() { buildCounterAboutImportFormats++; if (buildCounterAboutImportFormats < 3) { o.source = 'foo'; - o.targets = buildUnnamed2885(); + o.targets = buildUnnamed2773(); } buildCounterAboutImportFormats--; return o; @@ -300,17 +300,17 @@ void checkAboutImportFormats(api.AboutImportFormats o) { o.source!, unittest.equals('foo'), ); - checkUnnamed2885(o.targets!); + checkUnnamed2773(o.targets!); } buildCounterAboutImportFormats--; } -core.List buildUnnamed2886() => [ +core.List buildUnnamed2774() => [ buildAboutImportFormats(), buildAboutImportFormats(), ]; -void checkUnnamed2886(core.List o) { +void checkUnnamed2774(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutImportFormats(o[0]); checkAboutImportFormats(o[1]); @@ -343,12 +343,12 @@ void checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { buildCounterAboutMaxUploadSizes--; } -core.List buildUnnamed2887() => [ +core.List buildUnnamed2775() => [ buildAboutMaxUploadSizes(), buildAboutMaxUploadSizes(), ]; -void checkUnnamed2887(core.List o) { +void checkUnnamed2775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutMaxUploadSizes(o[0]); checkAboutMaxUploadSizes(o[1]); @@ -381,12 +381,12 @@ void checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { buildCounterAboutQuotaBytesByService--; } -core.List buildUnnamed2888() => [ +core.List buildUnnamed2776() => [ buildAboutQuotaBytesByService(), buildAboutQuotaBytesByService(), ]; -void checkUnnamed2888(core.List o) { +void checkUnnamed2776(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutQuotaBytesByService(o[0]); checkAboutQuotaBytesByService(o[1]); @@ -424,12 +424,12 @@ void checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { buildCounterAboutTeamDriveThemes--; } -core.List buildUnnamed2889() => [ +core.List buildUnnamed2777() => [ buildAboutTeamDriveThemes(), buildAboutTeamDriveThemes(), ]; -void checkUnnamed2889(core.List o) { +void checkUnnamed2777(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutTeamDriveThemes(o[0]); checkAboutTeamDriveThemes(o[1]); @@ -440,24 +440,24 @@ api.About buildAbout() { final o = api.About(); buildCounterAbout++; if (buildCounterAbout < 3) { - o.additionalRoleInfo = buildUnnamed2879(); + o.additionalRoleInfo = buildUnnamed2767(); o.canCreateDrives = true; o.canCreateTeamDrives = true; o.domainSharingPolicy = 'foo'; - o.driveThemes = buildUnnamed2880(); + o.driveThemes = buildUnnamed2768(); o.etag = 'foo'; - o.exportFormats = buildUnnamed2882(); - o.features = buildUnnamed2883(); - o.folderColorPalette = buildUnnamed2884(); - o.importFormats = buildUnnamed2886(); + o.exportFormats = buildUnnamed2770(); + o.features = buildUnnamed2771(); + o.folderColorPalette = buildUnnamed2772(); + o.importFormats = buildUnnamed2774(); o.isCurrentAppInstalled = true; o.kind = 'foo'; o.languageCode = 'foo'; o.largestChangeId = 'foo'; - o.maxUploadSizes = buildUnnamed2887(); + o.maxUploadSizes = buildUnnamed2775(); o.name = 'foo'; o.permissionId = 'foo'; - o.quotaBytesByService = buildUnnamed2888(); + o.quotaBytesByService = buildUnnamed2776(); o.quotaBytesTotal = 'foo'; o.quotaBytesUsed = 'foo'; o.quotaBytesUsedAggregate = 'foo'; @@ -466,7 +466,7 @@ api.About buildAbout() { o.remainingChangeIds = 'foo'; o.rootFolderId = 'foo'; o.selfLink = 'foo'; - o.teamDriveThemes = buildUnnamed2889(); + o.teamDriveThemes = buildUnnamed2777(); o.user = buildUser(); } buildCounterAbout--; @@ -476,22 +476,22 @@ api.About buildAbout() { void checkAbout(api.About o) { buildCounterAbout++; if (buildCounterAbout < 3) { - checkUnnamed2879(o.additionalRoleInfo!); + checkUnnamed2767(o.additionalRoleInfo!); unittest.expect(o.canCreateDrives!, unittest.isTrue); unittest.expect(o.canCreateTeamDrives!, unittest.isTrue); unittest.expect( o.domainSharingPolicy!, unittest.equals('foo'), ); - checkUnnamed2880(o.driveThemes!); + checkUnnamed2768(o.driveThemes!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed2882(o.exportFormats!); - checkUnnamed2883(o.features!); - checkUnnamed2884(o.folderColorPalette!); - checkUnnamed2886(o.importFormats!); + checkUnnamed2770(o.exportFormats!); + checkUnnamed2771(o.features!); + checkUnnamed2772(o.folderColorPalette!); + checkUnnamed2774(o.importFormats!); unittest.expect(o.isCurrentAppInstalled!, unittest.isTrue); unittest.expect( o.kind!, @@ -505,7 +505,7 @@ void checkAbout(api.About o) { o.largestChangeId!, unittest.equals('foo'), ); - checkUnnamed2887(o.maxUploadSizes!); + checkUnnamed2775(o.maxUploadSizes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -514,7 +514,7 @@ void checkAbout(api.About o) { o.permissionId!, unittest.equals('foo'), ); - checkUnnamed2888(o.quotaBytesByService!); + checkUnnamed2776(o.quotaBytesByService!); unittest.expect( o.quotaBytesTotal!, unittest.equals('foo'), @@ -547,7 +547,7 @@ void checkAbout(api.About o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed2889(o.teamDriveThemes!); + checkUnnamed2777(o.teamDriveThemes!); checkUser(o.user!); } buildCounterAbout--; @@ -585,23 +585,23 @@ void checkAppIcons(api.AppIcons o) { buildCounterAppIcons--; } -core.List buildUnnamed2890() => [ +core.List buildUnnamed2778() => [ buildAppIcons(), buildAppIcons(), ]; -void checkUnnamed2890(core.List o) { +void checkUnnamed2778(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAppIcons(o[0]); checkAppIcons(o[1]); } -core.List buildUnnamed2891() => [ +core.List buildUnnamed2779() => [ 'foo', 'foo', ]; -void checkUnnamed2891(core.List o) { +void checkUnnamed2779(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -613,12 +613,12 @@ void checkUnnamed2891(core.List o) { ); } -core.List buildUnnamed2892() => [ +core.List buildUnnamed2780() => [ 'foo', 'foo', ]; -void checkUnnamed2892(core.List o) { +void checkUnnamed2780(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -630,12 +630,12 @@ void checkUnnamed2892(core.List o) { ); } -core.List buildUnnamed2893() => [ +core.List buildUnnamed2781() => [ 'foo', 'foo', ]; -void checkUnnamed2893(core.List o) { +void checkUnnamed2781(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -647,12 +647,12 @@ void checkUnnamed2893(core.List o) { ); } -core.List buildUnnamed2894() => [ +core.List buildUnnamed2782() => [ 'foo', 'foo', ]; -void checkUnnamed2894(core.List o) { +void checkUnnamed2782(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -673,7 +673,7 @@ api.App buildApp() { o.createInFolderTemplate = 'foo'; o.createUrl = 'foo'; o.hasDriveWideScope = true; - o.icons = buildUnnamed2890(); + o.icons = buildUnnamed2778(); o.id = 'foo'; o.installed = true; o.kind = 'foo'; @@ -681,12 +681,12 @@ api.App buildApp() { o.name = 'foo'; o.objectType = 'foo'; o.openUrlTemplate = 'foo'; - o.primaryFileExtensions = buildUnnamed2891(); - o.primaryMimeTypes = buildUnnamed2892(); + o.primaryFileExtensions = buildUnnamed2779(); + o.primaryMimeTypes = buildUnnamed2780(); o.productId = 'foo'; o.productUrl = 'foo'; - o.secondaryFileExtensions = buildUnnamed2893(); - o.secondaryMimeTypes = buildUnnamed2894(); + o.secondaryFileExtensions = buildUnnamed2781(); + o.secondaryMimeTypes = buildUnnamed2782(); o.shortDescription = 'foo'; o.supportsCreate = true; o.supportsImport = true; @@ -711,7 +711,7 @@ void checkApp(api.App o) { unittest.equals('foo'), ); unittest.expect(o.hasDriveWideScope!, unittest.isTrue); - checkUnnamed2890(o.icons!); + checkUnnamed2778(o.icons!); unittest.expect( o.id!, unittest.equals('foo'), @@ -737,8 +737,8 @@ void checkApp(api.App o) { o.openUrlTemplate!, unittest.equals('foo'), ); - checkUnnamed2891(o.primaryFileExtensions!); - checkUnnamed2892(o.primaryMimeTypes!); + checkUnnamed2779(o.primaryFileExtensions!); + checkUnnamed2780(o.primaryMimeTypes!); unittest.expect( o.productId!, unittest.equals('foo'), @@ -747,8 +747,8 @@ void checkApp(api.App o) { o.productUrl!, unittest.equals('foo'), ); - checkUnnamed2893(o.secondaryFileExtensions!); - checkUnnamed2894(o.secondaryMimeTypes!); + checkUnnamed2781(o.secondaryFileExtensions!); + checkUnnamed2782(o.secondaryMimeTypes!); unittest.expect( o.shortDescription!, unittest.equals('foo'), @@ -762,12 +762,12 @@ void checkApp(api.App o) { buildCounterApp--; } -core.List buildUnnamed2895() => [ +core.List buildUnnamed2783() => [ 'foo', 'foo', ]; -void checkUnnamed2895(core.List o) { +void checkUnnamed2783(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -779,12 +779,12 @@ void checkUnnamed2895(core.List o) { ); } -core.List buildUnnamed2896() => [ +core.List buildUnnamed2784() => [ buildApp(), buildApp(), ]; -void checkUnnamed2896(core.List o) { +void checkUnnamed2784(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApp(o[0]); checkApp(o[1]); @@ -795,9 +795,9 @@ api.AppList buildAppList() { final o = api.AppList(); buildCounterAppList++; if (buildCounterAppList < 3) { - o.defaultAppIds = buildUnnamed2895(); + o.defaultAppIds = buildUnnamed2783(); o.etag = 'foo'; - o.items = buildUnnamed2896(); + o.items = buildUnnamed2784(); o.kind = 'foo'; o.selfLink = 'foo'; } @@ -808,12 +808,12 @@ api.AppList buildAppList() { void checkAppList(api.AppList o) { buildCounterAppList++; if (buildCounterAppList < 3) { - checkUnnamed2895(o.defaultAppIds!); + checkUnnamed2783(o.defaultAppIds!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed2896(o.items!); + checkUnnamed2784(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -896,12 +896,12 @@ void checkChange(api.Change o) { buildCounterChange--; } -core.List buildUnnamed2897() => [ +core.List buildUnnamed2785() => [ buildChange(), buildChange(), ]; -void checkUnnamed2897(core.List o) { +void checkUnnamed2785(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChange(o[0]); checkChange(o[1]); @@ -913,7 +913,7 @@ api.ChangeList buildChangeList() { buildCounterChangeList++; if (buildCounterChangeList < 3) { o.etag = 'foo'; - o.items = buildUnnamed2897(); + o.items = buildUnnamed2785(); o.kind = 'foo'; o.largestChangeId = 'foo'; o.newStartPageToken = 'foo'; @@ -932,7 +932,7 @@ void checkChangeList(api.ChangeList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2897(o.items!); + checkUnnamed2785(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -961,12 +961,12 @@ void checkChangeList(api.ChangeList o) { buildCounterChangeList--; } -core.Map buildUnnamed2898() => { +core.Map buildUnnamed2786() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2898(core.Map o) { +void checkUnnamed2786(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -987,7 +987,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed2898(); + o.params = buildUnnamed2786(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -1017,7 +1017,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2898(o.params!); + checkUnnamed2786(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -1039,12 +1039,12 @@ void checkChannel(api.Channel o) { buildCounterChannel--; } -core.List buildUnnamed2899() => [ +core.List buildUnnamed2787() => [ buildChildReference(), buildChildReference(), ]; -void checkUnnamed2899(core.List o) { +void checkUnnamed2787(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChildReference(o[0]); checkChildReference(o[1]); @@ -1056,7 +1056,7 @@ api.ChildList buildChildList() { buildCounterChildList++; if (buildCounterChildList < 3) { o.etag = 'foo'; - o.items = buildUnnamed2899(); + o.items = buildUnnamed2787(); o.kind = 'foo'; o.nextLink = 'foo'; o.nextPageToken = 'foo'; @@ -1073,7 +1073,7 @@ void checkChildList(api.ChildList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2899(o.items!); + checkUnnamed2787(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1158,12 +1158,12 @@ void checkCommentContext(api.CommentContext o) { buildCounterCommentContext--; } -core.List buildUnnamed2900() => [ +core.List buildUnnamed2788() => [ buildCommentReply(), buildCommentReply(), ]; -void checkUnnamed2900(core.List o) { +void checkUnnamed2788(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommentReply(o[0]); checkCommentReply(o[1]); @@ -1186,7 +1186,7 @@ api.Comment buildComment() { o.htmlContent = 'foo'; o.kind = 'foo'; o.modifiedDate = core.DateTime.parse('2002-02-27T14:01:02'); - o.replies = buildUnnamed2900(); + o.replies = buildUnnamed2788(); o.selfLink = 'foo'; o.status = 'foo'; } @@ -1236,7 +1236,7 @@ void checkComment(api.Comment o) { o.modifiedDate!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed2900(o.replies!); + checkUnnamed2788(o.replies!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -1249,12 +1249,12 @@ void checkComment(api.Comment o) { buildCounterComment--; } -core.List buildUnnamed2901() => [ +core.List buildUnnamed2789() => [ buildComment(), buildComment(), ]; -void checkUnnamed2901(core.List o) { +void checkUnnamed2789(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -1265,7 +1265,7 @@ api.CommentList buildCommentList() { final o = api.CommentList(); buildCounterCommentList++; if (buildCounterCommentList < 3) { - o.items = buildUnnamed2901(); + o.items = buildUnnamed2789(); o.kind = 'foo'; o.nextLink = 'foo'; o.nextPageToken = 'foo'; @@ -1278,7 +1278,7 @@ api.CommentList buildCommentList() { void checkCommentList(api.CommentList o) { buildCounterCommentList++; if (buildCounterCommentList < 3) { - checkUnnamed2901(o.items!); + checkUnnamed2789(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1355,12 +1355,12 @@ void checkCommentReply(api.CommentReply o) { buildCounterCommentReply--; } -core.List buildUnnamed2902() => [ +core.List buildUnnamed2790() => [ buildCommentReply(), buildCommentReply(), ]; -void checkUnnamed2902(core.List o) { +void checkUnnamed2790(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommentReply(o[0]); checkCommentReply(o[1]); @@ -1371,7 +1371,7 @@ api.CommentReplyList buildCommentReplyList() { final o = api.CommentReplyList(); buildCounterCommentReplyList++; if (buildCounterCommentReplyList < 3) { - o.items = buildUnnamed2902(); + o.items = buildUnnamed2790(); o.kind = 'foo'; o.nextLink = 'foo'; o.nextPageToken = 'foo'; @@ -1384,7 +1384,7 @@ api.CommentReplyList buildCommentReplyList() { void checkCommentReplyList(api.CommentReplyList o) { buildCounterCommentReplyList++; if (buildCounterCommentReplyList < 3) { - checkUnnamed2902(o.items!); + checkUnnamed2790(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1617,12 +1617,12 @@ void checkDrive(api.Drive o) { buildCounterDrive--; } -core.List buildUnnamed2903() => [ +core.List buildUnnamed2791() => [ buildDrive(), buildDrive(), ]; -void checkUnnamed2903(core.List o) { +void checkUnnamed2791(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDrive(o[0]); checkDrive(o[1]); @@ -1633,7 +1633,7 @@ api.DriveList buildDriveList() { final o = api.DriveList(); buildCounterDriveList++; if (buildCounterDriveList < 3) { - o.items = buildUnnamed2903(); + o.items = buildUnnamed2791(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1644,7 +1644,7 @@ api.DriveList buildDriveList() { void checkDriveList(api.DriveList o) { buildCounterDriveList++; if (buildCounterDriveList < 3) { - checkUnnamed2903(o.items!); + checkUnnamed2791(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1744,23 +1744,23 @@ void checkFileCapabilities(api.FileCapabilities o) { buildCounterFileCapabilities--; } -core.List buildUnnamed2904() => [ +core.List buildUnnamed2792() => [ buildContentRestriction(), buildContentRestriction(), ]; -void checkUnnamed2904(core.List o) { +void checkUnnamed2792(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContentRestriction(o[0]); checkContentRestriction(o[1]); } -core.Map buildUnnamed2905() => { +core.Map buildUnnamed2793() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2905(core.Map o) { +void checkUnnamed2793(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1992,12 +1992,12 @@ void checkFileLinkShareMetadata(api.FileLinkShareMetadata o) { buildCounterFileLinkShareMetadata--; } -core.Map buildUnnamed2906() => { +core.Map buildUnnamed2794() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2906(core.Map o) { +void checkUnnamed2794(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2009,12 +2009,12 @@ void checkUnnamed2906(core.Map o) { ); } -core.List buildUnnamed2907() => [ +core.List buildUnnamed2795() => [ 'foo', 'foo', ]; -void checkUnnamed2907(core.List o) { +void checkUnnamed2795(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2026,34 +2026,34 @@ void checkUnnamed2907(core.List o) { ); } -core.List buildUnnamed2908() => [ +core.List buildUnnamed2796() => [ buildUser(), buildUser(), ]; -void checkUnnamed2908(core.List o) { +void checkUnnamed2796(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); } -core.List buildUnnamed2909() => [ +core.List buildUnnamed2797() => [ buildParentReference(), buildParentReference(), ]; -void checkUnnamed2909(core.List o) { +void checkUnnamed2797(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParentReference(o[0]); checkParentReference(o[1]); } -core.List buildUnnamed2910() => [ +core.List buildUnnamed2798() => [ 'foo', 'foo', ]; -void checkUnnamed2910(core.List o) { +void checkUnnamed2798(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2065,23 +2065,23 @@ void checkUnnamed2910(core.List o) { ); } -core.List buildUnnamed2911() => [ +core.List buildUnnamed2799() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed2911(core.List o) { +void checkUnnamed2799(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); } -core.List buildUnnamed2912() => [ +core.List buildUnnamed2800() => [ buildProperty(), buildProperty(), ]; -void checkUnnamed2912(core.List o) { +void checkUnnamed2800(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProperty(o[0]); checkProperty(o[1]); @@ -2119,12 +2119,12 @@ void checkFileShortcutDetails(api.FileShortcutDetails o) { buildCounterFileShortcutDetails--; } -core.List buildUnnamed2913() => [ +core.List buildUnnamed2801() => [ 'foo', 'foo', ]; -void checkUnnamed2913(core.List o) { +void checkUnnamed2801(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2205,7 +2205,7 @@ api.File buildFile() { o.canComment = true; o.canReadRevisions = true; o.capabilities = buildFileCapabilities(); - o.contentRestrictions = buildUnnamed2904(); + o.contentRestrictions = buildUnnamed2792(); o.copyRequiresWriterPermission = true; o.copyable = true; o.createdDate = core.DateTime.parse('2002-02-27T14:01:02'); @@ -2217,7 +2217,7 @@ api.File buildFile() { o.embedLink = 'foo'; o.etag = 'foo'; o.explicitlyTrashed = true; - o.exportLinks = buildUnnamed2905(); + o.exportLinks = buildUnnamed2793(); o.fileExtension = 'foo'; o.fileSize = 'foo'; o.folderColorRgb = 'foo'; @@ -2241,15 +2241,15 @@ api.File buildFile() { o.mimeType = 'foo'; o.modifiedByMeDate = core.DateTime.parse('2002-02-27T14:01:02'); o.modifiedDate = core.DateTime.parse('2002-02-27T14:01:02'); - o.openWithLinks = buildUnnamed2906(); + o.openWithLinks = buildUnnamed2794(); o.originalFilename = 'foo'; o.ownedByMe = true; - o.ownerNames = buildUnnamed2907(); - o.owners = buildUnnamed2908(); - o.parents = buildUnnamed2909(); - o.permissionIds = buildUnnamed2910(); - o.permissions = buildUnnamed2911(); - o.properties = buildUnnamed2912(); + o.ownerNames = buildUnnamed2795(); + o.owners = buildUnnamed2796(); + o.parents = buildUnnamed2797(); + o.permissionIds = buildUnnamed2798(); + o.permissions = buildUnnamed2799(); + o.properties = buildUnnamed2800(); o.quotaBytesUsed = 'foo'; o.resourceKey = 'foo'; o.selfLink = 'foo'; @@ -2258,7 +2258,7 @@ api.File buildFile() { o.sharedWithMeDate = core.DateTime.parse('2002-02-27T14:01:02'); o.sharingUser = buildUser(); o.shortcutDetails = buildFileShortcutDetails(); - o.spaces = buildUnnamed2913(); + o.spaces = buildUnnamed2801(); o.teamDriveId = 'foo'; o.thumbnail = buildFileThumbnail(); o.thumbnailLink = 'foo'; @@ -2288,7 +2288,7 @@ void checkFile(api.File o) { unittest.expect(o.canComment!, unittest.isTrue); unittest.expect(o.canReadRevisions!, unittest.isTrue); checkFileCapabilities(o.capabilities!); - checkUnnamed2904(o.contentRestrictions!); + checkUnnamed2792(o.contentRestrictions!); unittest.expect(o.copyRequiresWriterPermission!, unittest.isTrue); unittest.expect(o.copyable!, unittest.isTrue); unittest.expect( @@ -2321,7 +2321,7 @@ void checkFile(api.File o) { unittest.equals('foo'), ); unittest.expect(o.explicitlyTrashed!, unittest.isTrue); - checkUnnamed2905(o.exportLinks!); + checkUnnamed2793(o.exportLinks!); unittest.expect( o.fileExtension!, unittest.equals('foo'), @@ -2390,18 +2390,18 @@ void checkFile(api.File o) { o.modifiedDate!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed2906(o.openWithLinks!); + checkUnnamed2794(o.openWithLinks!); unittest.expect( o.originalFilename!, unittest.equals('foo'), ); unittest.expect(o.ownedByMe!, unittest.isTrue); - checkUnnamed2907(o.ownerNames!); - checkUnnamed2908(o.owners!); - checkUnnamed2909(o.parents!); - checkUnnamed2910(o.permissionIds!); - checkUnnamed2911(o.permissions!); - checkUnnamed2912(o.properties!); + checkUnnamed2795(o.ownerNames!); + checkUnnamed2796(o.owners!); + checkUnnamed2797(o.parents!); + checkUnnamed2798(o.permissionIds!); + checkUnnamed2799(o.permissions!); + checkUnnamed2800(o.properties!); unittest.expect( o.quotaBytesUsed!, unittest.equals('foo'), @@ -2422,7 +2422,7 @@ void checkFile(api.File o) { ); checkUser(o.sharingUser!); checkFileShortcutDetails(o.shortcutDetails!); - checkUnnamed2913(o.spaces!); + checkUnnamed2801(o.spaces!); unittest.expect( o.teamDriveId!, unittest.equals('foo'), @@ -2464,12 +2464,12 @@ void checkFile(api.File o) { buildCounterFile--; } -core.List buildUnnamed2914() => [ +core.List buildUnnamed2802() => [ buildFile(), buildFile(), ]; -void checkUnnamed2914(core.List o) { +void checkUnnamed2802(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -2482,7 +2482,7 @@ api.FileList buildFileList() { if (buildCounterFileList < 3) { o.etag = 'foo'; o.incompleteSearch = true; - o.items = buildUnnamed2914(); + o.items = buildUnnamed2802(); o.kind = 'foo'; o.nextLink = 'foo'; o.nextPageToken = 'foo'; @@ -2500,7 +2500,7 @@ void checkFileList(api.FileList o) { unittest.equals('foo'), ); unittest.expect(o.incompleteSearch!, unittest.isTrue); - checkUnnamed2914(o.items!); + checkUnnamed2802(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2521,12 +2521,12 @@ void checkFileList(api.FileList o) { buildCounterFileList--; } -core.List buildUnnamed2915() => [ +core.List buildUnnamed2803() => [ 'foo', 'foo', ]; -void checkUnnamed2915(core.List o) { +void checkUnnamed2803(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2543,7 +2543,7 @@ api.GeneratedIds buildGeneratedIds() { final o = api.GeneratedIds(); buildCounterGeneratedIds++; if (buildCounterGeneratedIds < 3) { - o.ids = buildUnnamed2915(); + o.ids = buildUnnamed2803(); o.kind = 'foo'; o.space = 'foo'; } @@ -2554,7 +2554,7 @@ api.GeneratedIds buildGeneratedIds() { void checkGeneratedIds(api.GeneratedIds o) { buildCounterGeneratedIds++; if (buildCounterGeneratedIds < 3) { - checkUnnamed2915(o.ids!); + checkUnnamed2803(o.ids!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2567,12 +2567,12 @@ void checkGeneratedIds(api.GeneratedIds o) { buildCounterGeneratedIds--; } -core.List buildUnnamed2916() => [ +core.List buildUnnamed2804() => [ buildParentReference(), buildParentReference(), ]; -void checkUnnamed2916(core.List o) { +void checkUnnamed2804(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParentReference(o[0]); checkParentReference(o[1]); @@ -2584,7 +2584,7 @@ api.ParentList buildParentList() { buildCounterParentList++; if (buildCounterParentList < 3) { o.etag = 'foo'; - o.items = buildUnnamed2916(); + o.items = buildUnnamed2804(); o.kind = 'foo'; o.selfLink = 'foo'; } @@ -2599,7 +2599,7 @@ void checkParentList(api.ParentList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2916(o.items!); + checkUnnamed2804(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2651,12 +2651,12 @@ void checkParentReference(api.ParentReference o) { buildCounterParentReference--; } -core.List buildUnnamed2917() => [ +core.List buildUnnamed2805() => [ 'foo', 'foo', ]; -void checkUnnamed2917(core.List o) { +void checkUnnamed2805(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2668,12 +2668,12 @@ void checkUnnamed2917(core.List o) { ); } -core.List buildUnnamed2918() => [ +core.List buildUnnamed2806() => [ 'foo', 'foo', ]; -void checkUnnamed2918(core.List o) { +void checkUnnamed2806(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2690,7 +2690,7 @@ api.PermissionPermissionDetails buildPermissionPermissionDetails() { final o = api.PermissionPermissionDetails(); buildCounterPermissionPermissionDetails++; if (buildCounterPermissionPermissionDetails < 3) { - o.additionalRoles = buildUnnamed2918(); + o.additionalRoles = buildUnnamed2806(); o.inherited = true; o.inheritedFrom = 'foo'; o.permissionType = 'foo'; @@ -2703,7 +2703,7 @@ api.PermissionPermissionDetails buildPermissionPermissionDetails() { void checkPermissionPermissionDetails(api.PermissionPermissionDetails o) { buildCounterPermissionPermissionDetails++; if (buildCounterPermissionPermissionDetails < 3) { - checkUnnamed2918(o.additionalRoles!); + checkUnnamed2806(o.additionalRoles!); unittest.expect(o.inherited!, unittest.isTrue); unittest.expect( o.inheritedFrom!, @@ -2721,23 +2721,23 @@ void checkPermissionPermissionDetails(api.PermissionPermissionDetails o) { buildCounterPermissionPermissionDetails--; } -core.List buildUnnamed2919() => [ +core.List buildUnnamed2807() => [ buildPermissionPermissionDetails(), buildPermissionPermissionDetails(), ]; -void checkUnnamed2919(core.List o) { +void checkUnnamed2807(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionPermissionDetails(o[0]); checkPermissionPermissionDetails(o[1]); } -core.List buildUnnamed2920() => [ +core.List buildUnnamed2808() => [ 'foo', 'foo', ]; -void checkUnnamed2920(core.List o) { +void checkUnnamed2808(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2755,7 +2755,7 @@ api.PermissionTeamDrivePermissionDetails final o = api.PermissionTeamDrivePermissionDetails(); buildCounterPermissionTeamDrivePermissionDetails++; if (buildCounterPermissionTeamDrivePermissionDetails < 3) { - o.additionalRoles = buildUnnamed2920(); + o.additionalRoles = buildUnnamed2808(); o.inherited = true; o.inheritedFrom = 'foo'; o.role = 'foo'; @@ -2769,7 +2769,7 @@ void checkPermissionTeamDrivePermissionDetails( api.PermissionTeamDrivePermissionDetails o) { buildCounterPermissionTeamDrivePermissionDetails++; if (buildCounterPermissionTeamDrivePermissionDetails < 3) { - checkUnnamed2920(o.additionalRoles!); + checkUnnamed2808(o.additionalRoles!); unittest.expect(o.inherited!, unittest.isTrue); unittest.expect( o.inheritedFrom!, @@ -2787,12 +2787,12 @@ void checkPermissionTeamDrivePermissionDetails( buildCounterPermissionTeamDrivePermissionDetails--; } -core.List buildUnnamed2921() => [ +core.List buildUnnamed2809() => [ buildPermissionTeamDrivePermissionDetails(), buildPermissionTeamDrivePermissionDetails(), ]; -void checkUnnamed2921(core.List o) { +void checkUnnamed2809(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionTeamDrivePermissionDetails(o[0]); checkPermissionTeamDrivePermissionDetails(o[1]); @@ -2803,7 +2803,7 @@ api.Permission buildPermission() { final o = api.Permission(); buildCounterPermission++; if (buildCounterPermission < 3) { - o.additionalRoles = buildUnnamed2917(); + o.additionalRoles = buildUnnamed2805(); o.authKey = 'foo'; o.deleted = true; o.domain = 'foo'; @@ -2813,11 +2813,11 @@ api.Permission buildPermission() { o.id = 'foo'; o.kind = 'foo'; o.name = 'foo'; - o.permissionDetails = buildUnnamed2919(); + o.permissionDetails = buildUnnamed2807(); o.photoLink = 'foo'; o.role = 'foo'; o.selfLink = 'foo'; - o.teamDrivePermissionDetails = buildUnnamed2921(); + o.teamDrivePermissionDetails = buildUnnamed2809(); o.type = 'foo'; o.value = 'foo'; o.view = 'foo'; @@ -2830,7 +2830,7 @@ api.Permission buildPermission() { void checkPermission(api.Permission o) { buildCounterPermission++; if (buildCounterPermission < 3) { - checkUnnamed2917(o.additionalRoles!); + checkUnnamed2805(o.additionalRoles!); unittest.expect( o.authKey!, unittest.equals('foo'), @@ -2864,7 +2864,7 @@ void checkPermission(api.Permission o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2919(o.permissionDetails!); + checkUnnamed2807(o.permissionDetails!); unittest.expect( o.photoLink!, unittest.equals('foo'), @@ -2877,7 +2877,7 @@ void checkPermission(api.Permission o) { o.selfLink!, unittest.equals('foo'), ); - checkUnnamed2921(o.teamDrivePermissionDetails!); + checkUnnamed2809(o.teamDrivePermissionDetails!); unittest.expect( o.type!, unittest.equals('foo'), @@ -2922,12 +2922,12 @@ void checkPermissionId(api.PermissionId o) { buildCounterPermissionId--; } -core.List buildUnnamed2922() => [ +core.List buildUnnamed2810() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed2922(core.List o) { +void checkUnnamed2810(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -2939,7 +2939,7 @@ api.PermissionList buildPermissionList() { buildCounterPermissionList++; if (buildCounterPermissionList < 3) { o.etag = 'foo'; - o.items = buildUnnamed2922(); + o.items = buildUnnamed2810(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -2955,7 +2955,7 @@ void checkPermissionList(api.PermissionList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2922(o.items!); + checkUnnamed2810(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3019,12 +3019,12 @@ void checkProperty(api.Property o) { buildCounterProperty--; } -core.List buildUnnamed2923() => [ +core.List buildUnnamed2811() => [ buildProperty(), buildProperty(), ]; -void checkUnnamed2923(core.List o) { +void checkUnnamed2811(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProperty(o[0]); checkProperty(o[1]); @@ -3036,7 +3036,7 @@ api.PropertyList buildPropertyList() { buildCounterPropertyList++; if (buildCounterPropertyList < 3) { o.etag = 'foo'; - o.items = buildUnnamed2923(); + o.items = buildUnnamed2811(); o.kind = 'foo'; o.selfLink = 'foo'; } @@ -3051,7 +3051,7 @@ void checkPropertyList(api.PropertyList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2923(o.items!); + checkUnnamed2811(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3064,12 +3064,12 @@ void checkPropertyList(api.PropertyList o) { buildCounterPropertyList--; } -core.Map buildUnnamed2924() => { +core.Map buildUnnamed2812() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2924(core.Map o) { +void checkUnnamed2812(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3088,7 +3088,7 @@ api.Revision buildRevision() { if (buildCounterRevision < 3) { o.downloadUrl = 'foo'; o.etag = 'foo'; - o.exportLinks = buildUnnamed2924(); + o.exportLinks = buildUnnamed2812(); o.fileSize = 'foo'; o.id = 'foo'; o.kind = 'foo'; @@ -3120,7 +3120,7 @@ void checkRevision(api.Revision o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2924(o.exportLinks!); + checkUnnamed2812(o.exportLinks!); unittest.expect( o.fileSize!, unittest.equals('foo'), @@ -3170,12 +3170,12 @@ void checkRevision(api.Revision o) { buildCounterRevision--; } -core.List buildUnnamed2925() => [ +core.List buildUnnamed2813() => [ buildRevision(), buildRevision(), ]; -void checkUnnamed2925(core.List o) { +void checkUnnamed2813(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRevision(o[0]); checkRevision(o[1]); @@ -3187,7 +3187,7 @@ api.RevisionList buildRevisionList() { buildCounterRevisionList++; if (buildCounterRevisionList < 3) { o.etag = 'foo'; - o.items = buildUnnamed2925(); + o.items = buildUnnamed2813(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.selfLink = 'foo'; @@ -3203,7 +3203,7 @@ void checkRevisionList(api.RevisionList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2925(o.items!); + checkUnnamed2813(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3423,12 +3423,12 @@ void checkTeamDrive(api.TeamDrive o) { buildCounterTeamDrive--; } -core.List buildUnnamed2926() => [ +core.List buildUnnamed2814() => [ buildTeamDrive(), buildTeamDrive(), ]; -void checkUnnamed2926(core.List o) { +void checkUnnamed2814(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTeamDrive(o[0]); checkTeamDrive(o[1]); @@ -3439,7 +3439,7 @@ api.TeamDriveList buildTeamDriveList() { final o = api.TeamDriveList(); buildCounterTeamDriveList++; if (buildCounterTeamDriveList < 3) { - o.items = buildUnnamed2926(); + o.items = buildUnnamed2814(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3450,7 +3450,7 @@ api.TeamDriveList buildTeamDriveList() { void checkTeamDriveList(api.TeamDriveList o) { buildCounterTeamDriveList++; if (buildCounterTeamDriveList < 3) { - checkUnnamed2926(o.items!); + checkUnnamed2814(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), diff --git a/generated/googleapis/test/drive/v3_test.dart b/generated/googleapis/test/drive/v3_test.dart index 245f07234..99f43c2c4 100644 --- a/generated/googleapis/test/drive/v3_test.dart +++ b/generated/googleapis/test/drive/v3_test.dart @@ -58,23 +58,23 @@ void checkAboutDriveThemes(api.AboutDriveThemes o) { buildCounterAboutDriveThemes--; } -core.List buildUnnamed3451() => [ +core.List buildUnnamed3348() => [ buildAboutDriveThemes(), buildAboutDriveThemes(), ]; -void checkUnnamed3451(core.List o) { +void checkUnnamed3348(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutDriveThemes(o[0]); checkAboutDriveThemes(o[1]); } -core.List buildUnnamed3452() => [ +core.List buildUnnamed3349() => [ 'foo', 'foo', ]; -void checkUnnamed3452(core.List o) { +void checkUnnamed3349(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -86,23 +86,23 @@ void checkUnnamed3452(core.List o) { ); } -core.Map> buildUnnamed3453() => { - 'x': buildUnnamed3452(), - 'y': buildUnnamed3452(), +core.Map> buildUnnamed3350() => { + 'x': buildUnnamed3349(), + 'y': buildUnnamed3349(), }; -void checkUnnamed3453(core.Map> o) { +void checkUnnamed3350(core.Map> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3452(o['x']!); - checkUnnamed3452(o['y']!); + checkUnnamed3349(o['x']!); + checkUnnamed3349(o['y']!); } -core.List buildUnnamed3454() => [ +core.List buildUnnamed3351() => [ 'foo', 'foo', ]; -void checkUnnamed3454(core.List o) { +void checkUnnamed3351(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -114,12 +114,12 @@ void checkUnnamed3454(core.List o) { ); } -core.List buildUnnamed3455() => [ +core.List buildUnnamed3352() => [ 'foo', 'foo', ]; -void checkUnnamed3455(core.List o) { +void checkUnnamed3352(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -131,23 +131,23 @@ void checkUnnamed3455(core.List o) { ); } -core.Map> buildUnnamed3456() => { - 'x': buildUnnamed3455(), - 'y': buildUnnamed3455(), +core.Map> buildUnnamed3353() => { + 'x': buildUnnamed3352(), + 'y': buildUnnamed3352(), }; -void checkUnnamed3456(core.Map> o) { +void checkUnnamed3353(core.Map> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3455(o['x']!); - checkUnnamed3455(o['y']!); + checkUnnamed3352(o['x']!); + checkUnnamed3352(o['y']!); } -core.Map buildUnnamed3457() => { +core.Map buildUnnamed3354() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3457(core.Map o) { +void checkUnnamed3354(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -228,12 +228,12 @@ void checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { buildCounterAboutTeamDriveThemes--; } -core.List buildUnnamed3458() => [ +core.List buildUnnamed3355() => [ buildAboutTeamDriveThemes(), buildAboutTeamDriveThemes(), ]; -void checkUnnamed3458(core.List o) { +void checkUnnamed3355(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAboutTeamDriveThemes(o[0]); checkAboutTeamDriveThemes(o[1]); @@ -247,15 +247,15 @@ api.About buildAbout() { o.appInstalled = true; o.canCreateDrives = true; o.canCreateTeamDrives = true; - o.driveThemes = buildUnnamed3451(); - o.exportFormats = buildUnnamed3453(); - o.folderColorPalette = buildUnnamed3454(); - o.importFormats = buildUnnamed3456(); + o.driveThemes = buildUnnamed3348(); + o.exportFormats = buildUnnamed3350(); + o.folderColorPalette = buildUnnamed3351(); + o.importFormats = buildUnnamed3353(); o.kind = 'foo'; - o.maxImportSizes = buildUnnamed3457(); + o.maxImportSizes = buildUnnamed3354(); o.maxUploadSize = 'foo'; o.storageQuota = buildAboutStorageQuota(); - o.teamDriveThemes = buildUnnamed3458(); + o.teamDriveThemes = buildUnnamed3355(); o.user = buildUser(); } buildCounterAbout--; @@ -268,21 +268,21 @@ void checkAbout(api.About o) { unittest.expect(o.appInstalled!, unittest.isTrue); unittest.expect(o.canCreateDrives!, unittest.isTrue); unittest.expect(o.canCreateTeamDrives!, unittest.isTrue); - checkUnnamed3451(o.driveThemes!); - checkUnnamed3453(o.exportFormats!); - checkUnnamed3454(o.folderColorPalette!); - checkUnnamed3456(o.importFormats!); + checkUnnamed3348(o.driveThemes!); + checkUnnamed3350(o.exportFormats!); + checkUnnamed3351(o.folderColorPalette!); + checkUnnamed3353(o.importFormats!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3457(o.maxImportSizes!); + checkUnnamed3354(o.maxImportSizes!); unittest.expect( o.maxUploadSize!, unittest.equals('foo'), ); checkAboutStorageQuota(o.storageQuota!); - checkUnnamed3458(o.teamDriveThemes!); + checkUnnamed3355(o.teamDriveThemes!); checkUser(o.user!); } buildCounterAbout--; @@ -348,12 +348,12 @@ void checkChange(api.Change o) { buildCounterChange--; } -core.List buildUnnamed3459() => [ +core.List buildUnnamed3356() => [ buildChange(), buildChange(), ]; -void checkUnnamed3459(core.List o) { +void checkUnnamed3356(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChange(o[0]); checkChange(o[1]); @@ -364,7 +364,7 @@ api.ChangeList buildChangeList() { final o = api.ChangeList(); buildCounterChangeList++; if (buildCounterChangeList < 3) { - o.changes = buildUnnamed3459(); + o.changes = buildUnnamed3356(); o.kind = 'foo'; o.newStartPageToken = 'foo'; o.nextPageToken = 'foo'; @@ -376,7 +376,7 @@ api.ChangeList buildChangeList() { void checkChangeList(api.ChangeList o) { buildCounterChangeList++; if (buildCounterChangeList < 3) { - checkUnnamed3459(o.changes!); + checkUnnamed3356(o.changes!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -393,12 +393,12 @@ void checkChangeList(api.ChangeList o) { buildCounterChangeList--; } -core.Map buildUnnamed3460() => { +core.Map buildUnnamed3357() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3460(core.Map o) { +void checkUnnamed3357(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -419,7 +419,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed3460(); + o.params = buildUnnamed3357(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -449,7 +449,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3460(o.params!); + checkUnnamed3357(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -498,12 +498,12 @@ void checkCommentQuotedFileContent(api.CommentQuotedFileContent o) { buildCounterCommentQuotedFileContent--; } -core.List buildUnnamed3461() => [ +core.List buildUnnamed3358() => [ buildReply(), buildReply(), ]; -void checkUnnamed3461(core.List o) { +void checkUnnamed3358(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReply(o[0]); checkReply(o[1]); @@ -524,7 +524,7 @@ api.Comment buildComment() { o.kind = 'foo'; o.modifiedTime = core.DateTime.parse('2002-02-27T14:01:02'); o.quotedFileContent = buildCommentQuotedFileContent(); - o.replies = buildUnnamed3461(); + o.replies = buildUnnamed3358(); o.resolved = true; } buildCounterComment--; @@ -565,18 +565,18 @@ void checkComment(api.Comment o) { unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); checkCommentQuotedFileContent(o.quotedFileContent!); - checkUnnamed3461(o.replies!); + checkUnnamed3358(o.replies!); unittest.expect(o.resolved!, unittest.isTrue); } buildCounterComment--; } -core.List buildUnnamed3462() => [ +core.List buildUnnamed3359() => [ buildComment(), buildComment(), ]; -void checkUnnamed3462(core.List o) { +void checkUnnamed3359(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -587,7 +587,7 @@ api.CommentList buildCommentList() { final o = api.CommentList(); buildCounterCommentList++; if (buildCounterCommentList < 3) { - o.comments = buildUnnamed3462(); + o.comments = buildUnnamed3359(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -598,7 +598,7 @@ api.CommentList buildCommentList() { void checkCommentList(api.CommentList o) { buildCounterCommentList++; if (buildCounterCommentList < 3) { - checkUnnamed3462(o.comments!); + checkUnnamed3359(o.comments!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -823,12 +823,12 @@ void checkDrive(api.Drive o) { buildCounterDrive--; } -core.List buildUnnamed3463() => [ +core.List buildUnnamed3360() => [ buildDrive(), buildDrive(), ]; -void checkUnnamed3463(core.List o) { +void checkUnnamed3360(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDrive(o[0]); checkDrive(o[1]); @@ -839,7 +839,7 @@ api.DriveList buildDriveList() { final o = api.DriveList(); buildCounterDriveList++; if (buildCounterDriveList < 3) { - o.drives = buildUnnamed3463(); + o.drives = buildUnnamed3360(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -850,7 +850,7 @@ api.DriveList buildDriveList() { void checkDriveList(api.DriveList o) { buildCounterDriveList++; if (buildCounterDriveList < 3) { - checkUnnamed3463(o.drives!); + checkUnnamed3360(o.drives!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -863,12 +863,12 @@ void checkDriveList(api.DriveList o) { buildCounterDriveList--; } -core.Map buildUnnamed3464() => { +core.Map buildUnnamed3361() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3464(core.Map o) { +void checkUnnamed3361(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1018,23 +1018,23 @@ void checkFileContentHints(api.FileContentHints o) { buildCounterFileContentHints--; } -core.List buildUnnamed3465() => [ +core.List buildUnnamed3362() => [ buildContentRestriction(), buildContentRestriction(), ]; -void checkUnnamed3465(core.List o) { +void checkUnnamed3362(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContentRestriction(o[0]); checkContentRestriction(o[1]); } -core.Map buildUnnamed3466() => { +core.Map buildUnnamed3363() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3466(core.Map o) { +void checkUnnamed3363(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1215,23 +1215,23 @@ void checkFileLinkShareMetadata(api.FileLinkShareMetadata o) { buildCounterFileLinkShareMetadata--; } -core.List buildUnnamed3467() => [ +core.List buildUnnamed3364() => [ buildUser(), buildUser(), ]; -void checkUnnamed3467(core.List o) { +void checkUnnamed3364(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); } -core.List buildUnnamed3468() => [ +core.List buildUnnamed3365() => [ 'foo', 'foo', ]; -void checkUnnamed3468(core.List o) { +void checkUnnamed3365(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1243,12 +1243,12 @@ void checkUnnamed3468(core.List o) { ); } -core.List buildUnnamed3469() => [ +core.List buildUnnamed3366() => [ 'foo', 'foo', ]; -void checkUnnamed3469(core.List o) { +void checkUnnamed3366(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1260,23 +1260,23 @@ void checkUnnamed3469(core.List o) { ); } -core.List buildUnnamed3470() => [ +core.List buildUnnamed3367() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed3470(core.List o) { +void checkUnnamed3367(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); } -core.Map buildUnnamed3471() => { +core.Map buildUnnamed3368() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3471(core.Map o) { +void checkUnnamed3368(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1320,12 +1320,12 @@ void checkFileShortcutDetails(api.FileShortcutDetails o) { buildCounterFileShortcutDetails--; } -core.List buildUnnamed3472() => [ +core.List buildUnnamed3369() => [ 'foo', 'foo', ]; -void checkUnnamed3472(core.List o) { +void checkUnnamed3369(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1374,16 +1374,16 @@ api.File buildFile() { final o = api.File(); buildCounterFile++; if (buildCounterFile < 3) { - o.appProperties = buildUnnamed3464(); + o.appProperties = buildUnnamed3361(); o.capabilities = buildFileCapabilities(); o.contentHints = buildFileContentHints(); - o.contentRestrictions = buildUnnamed3465(); + o.contentRestrictions = buildUnnamed3362(); o.copyRequiresWriterPermission = true; o.createdTime = core.DateTime.parse('2002-02-27T14:01:02'); o.description = 'foo'; o.driveId = 'foo'; o.explicitlyTrashed = true; - o.exportLinks = buildUnnamed3466(); + o.exportLinks = buildUnnamed3363(); o.fileExtension = 'foo'; o.folderColorRgb = 'foo'; o.fullFileExtension = 'foo'; @@ -1405,11 +1405,11 @@ api.File buildFile() { o.name = 'foo'; o.originalFilename = 'foo'; o.ownedByMe = true; - o.owners = buildUnnamed3467(); - o.parents = buildUnnamed3468(); - o.permissionIds = buildUnnamed3469(); - o.permissions = buildUnnamed3470(); - o.properties = buildUnnamed3471(); + o.owners = buildUnnamed3364(); + o.parents = buildUnnamed3365(); + o.permissionIds = buildUnnamed3366(); + o.permissions = buildUnnamed3367(); + o.properties = buildUnnamed3368(); o.quotaBytesUsed = 'foo'; o.resourceKey = 'foo'; o.shared = true; @@ -1417,7 +1417,7 @@ api.File buildFile() { o.sharingUser = buildUser(); o.shortcutDetails = buildFileShortcutDetails(); o.size = 'foo'; - o.spaces = buildUnnamed3472(); + o.spaces = buildUnnamed3369(); o.starred = true; o.teamDriveId = 'foo'; o.thumbnailLink = 'foo'; @@ -1441,10 +1441,10 @@ api.File buildFile() { void checkFile(api.File o) { buildCounterFile++; if (buildCounterFile < 3) { - checkUnnamed3464(o.appProperties!); + checkUnnamed3361(o.appProperties!); checkFileCapabilities(o.capabilities!); checkFileContentHints(o.contentHints!); - checkUnnamed3465(o.contentRestrictions!); + checkUnnamed3362(o.contentRestrictions!); unittest.expect(o.copyRequiresWriterPermission!, unittest.isTrue); unittest.expect( o.createdTime!, @@ -1459,7 +1459,7 @@ void checkFile(api.File o) { unittest.equals('foo'), ); unittest.expect(o.explicitlyTrashed!, unittest.isTrue); - checkUnnamed3466(o.exportLinks!); + checkUnnamed3363(o.exportLinks!); unittest.expect( o.fileExtension!, unittest.equals('foo'), @@ -1520,11 +1520,11 @@ void checkFile(api.File o) { unittest.equals('foo'), ); unittest.expect(o.ownedByMe!, unittest.isTrue); - checkUnnamed3467(o.owners!); - checkUnnamed3468(o.parents!); - checkUnnamed3469(o.permissionIds!); - checkUnnamed3470(o.permissions!); - checkUnnamed3471(o.properties!); + checkUnnamed3364(o.owners!); + checkUnnamed3365(o.parents!); + checkUnnamed3366(o.permissionIds!); + checkUnnamed3367(o.permissions!); + checkUnnamed3368(o.properties!); unittest.expect( o.quotaBytesUsed!, unittest.equals('foo'), @@ -1544,7 +1544,7 @@ void checkFile(api.File o) { o.size!, unittest.equals('foo'), ); - checkUnnamed3472(o.spaces!); + checkUnnamed3369(o.spaces!); unittest.expect(o.starred!, unittest.isTrue); unittest.expect( o.teamDriveId!, @@ -1588,12 +1588,12 @@ void checkFile(api.File o) { buildCounterFile--; } -core.List buildUnnamed3473() => [ +core.List buildUnnamed3370() => [ buildFile(), buildFile(), ]; -void checkUnnamed3473(core.List o) { +void checkUnnamed3370(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -1604,7 +1604,7 @@ api.FileList buildFileList() { final o = api.FileList(); buildCounterFileList++; if (buildCounterFileList < 3) { - o.files = buildUnnamed3473(); + o.files = buildUnnamed3370(); o.incompleteSearch = true; o.kind = 'foo'; o.nextPageToken = 'foo'; @@ -1616,7 +1616,7 @@ api.FileList buildFileList() { void checkFileList(api.FileList o) { buildCounterFileList++; if (buildCounterFileList < 3) { - checkUnnamed3473(o.files!); + checkUnnamed3370(o.files!); unittest.expect(o.incompleteSearch!, unittest.isTrue); unittest.expect( o.kind!, @@ -1630,12 +1630,12 @@ void checkFileList(api.FileList o) { buildCounterFileList--; } -core.List buildUnnamed3474() => [ +core.List buildUnnamed3371() => [ 'foo', 'foo', ]; -void checkUnnamed3474(core.List o) { +void checkUnnamed3371(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1652,7 +1652,7 @@ api.GeneratedIds buildGeneratedIds() { final o = api.GeneratedIds(); buildCounterGeneratedIds++; if (buildCounterGeneratedIds < 3) { - o.ids = buildUnnamed3474(); + o.ids = buildUnnamed3371(); o.kind = 'foo'; o.space = 'foo'; } @@ -1663,7 +1663,7 @@ api.GeneratedIds buildGeneratedIds() { void checkGeneratedIds(api.GeneratedIds o) { buildCounterGeneratedIds++; if (buildCounterGeneratedIds < 3) { - checkUnnamed3474(o.ids!); + checkUnnamed3371(o.ids!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1710,12 +1710,12 @@ void checkPermissionPermissionDetails(api.PermissionPermissionDetails o) { buildCounterPermissionPermissionDetails--; } -core.List buildUnnamed3475() => [ +core.List buildUnnamed3372() => [ buildPermissionPermissionDetails(), buildPermissionPermissionDetails(), ]; -void checkUnnamed3475(core.List o) { +void checkUnnamed3372(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionPermissionDetails(o[0]); checkPermissionPermissionDetails(o[1]); @@ -1757,12 +1757,12 @@ void checkPermissionTeamDrivePermissionDetails( buildCounterPermissionTeamDrivePermissionDetails--; } -core.List buildUnnamed3476() => [ +core.List buildUnnamed3373() => [ buildPermissionTeamDrivePermissionDetails(), buildPermissionTeamDrivePermissionDetails(), ]; -void checkUnnamed3476(core.List o) { +void checkUnnamed3373(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermissionTeamDrivePermissionDetails(o[0]); checkPermissionTeamDrivePermissionDetails(o[1]); @@ -1781,10 +1781,10 @@ api.Permission buildPermission() { o.expirationTime = core.DateTime.parse('2002-02-27T14:01:02'); o.id = 'foo'; o.kind = 'foo'; - o.permissionDetails = buildUnnamed3475(); + o.permissionDetails = buildUnnamed3372(); o.photoLink = 'foo'; o.role = 'foo'; - o.teamDrivePermissionDetails = buildUnnamed3476(); + o.teamDrivePermissionDetails = buildUnnamed3373(); o.type = 'foo'; o.view = 'foo'; } @@ -1821,7 +1821,7 @@ void checkPermission(api.Permission o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3475(o.permissionDetails!); + checkUnnamed3372(o.permissionDetails!); unittest.expect( o.photoLink!, unittest.equals('foo'), @@ -1830,7 +1830,7 @@ void checkPermission(api.Permission o) { o.role!, unittest.equals('foo'), ); - checkUnnamed3476(o.teamDrivePermissionDetails!); + checkUnnamed3373(o.teamDrivePermissionDetails!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1843,12 +1843,12 @@ void checkPermission(api.Permission o) { buildCounterPermission--; } -core.List buildUnnamed3477() => [ +core.List buildUnnamed3374() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed3477(core.List o) { +void checkUnnamed3374(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -1861,7 +1861,7 @@ api.PermissionList buildPermissionList() { if (buildCounterPermissionList < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.permissions = buildUnnamed3477(); + o.permissions = buildUnnamed3374(); } buildCounterPermissionList--; return o; @@ -1878,7 +1878,7 @@ void checkPermissionList(api.PermissionList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3477(o.permissions!); + checkUnnamed3374(o.permissions!); } buildCounterPermissionList--; } @@ -1939,12 +1939,12 @@ void checkReply(api.Reply o) { buildCounterReply--; } -core.List buildUnnamed3478() => [ +core.List buildUnnamed3375() => [ buildReply(), buildReply(), ]; -void checkUnnamed3478(core.List o) { +void checkUnnamed3375(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReply(o[0]); checkReply(o[1]); @@ -1957,7 +1957,7 @@ api.ReplyList buildReplyList() { if (buildCounterReplyList < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.replies = buildUnnamed3478(); + o.replies = buildUnnamed3375(); } buildCounterReplyList--; return o; @@ -1974,17 +1974,17 @@ void checkReplyList(api.ReplyList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3478(o.replies!); + checkUnnamed3375(o.replies!); } buildCounterReplyList--; } -core.Map buildUnnamed3479() => { +core.Map buildUnnamed3376() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3479(core.Map o) { +void checkUnnamed3376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2001,7 +2001,7 @@ api.Revision buildRevision() { final o = api.Revision(); buildCounterRevision++; if (buildCounterRevision < 3) { - o.exportLinks = buildUnnamed3479(); + o.exportLinks = buildUnnamed3376(); o.id = 'foo'; o.keepForever = true; o.kind = 'foo'; @@ -2023,7 +2023,7 @@ api.Revision buildRevision() { void checkRevision(api.Revision o) { buildCounterRevision++; if (buildCounterRevision < 3) { - checkUnnamed3479(o.exportLinks!); + checkUnnamed3376(o.exportLinks!); unittest.expect( o.id!, unittest.equals('foo'), @@ -2065,12 +2065,12 @@ void checkRevision(api.Revision o) { buildCounterRevision--; } -core.List buildUnnamed3480() => [ +core.List buildUnnamed3377() => [ buildRevision(), buildRevision(), ]; -void checkUnnamed3480(core.List o) { +void checkUnnamed3377(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRevision(o[0]); checkRevision(o[1]); @@ -2083,7 +2083,7 @@ api.RevisionList buildRevisionList() { if (buildCounterRevisionList < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.revisions = buildUnnamed3480(); + o.revisions = buildUnnamed3377(); } buildCounterRevisionList--; return o; @@ -2100,7 +2100,7 @@ void checkRevisionList(api.RevisionList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3480(o.revisions!); + checkUnnamed3377(o.revisions!); } buildCounterRevisionList--; } @@ -2308,12 +2308,12 @@ void checkTeamDrive(api.TeamDrive o) { buildCounterTeamDrive--; } -core.List buildUnnamed3481() => [ +core.List buildUnnamed3378() => [ buildTeamDrive(), buildTeamDrive(), ]; -void checkUnnamed3481(core.List o) { +void checkUnnamed3378(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTeamDrive(o[0]); checkTeamDrive(o[1]); @@ -2326,7 +2326,7 @@ api.TeamDriveList buildTeamDriveList() { if (buildCounterTeamDriveList < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.teamDrives = buildUnnamed3481(); + o.teamDrives = buildUnnamed3378(); } buildCounterTeamDriveList--; return o; @@ -2343,7 +2343,7 @@ void checkTeamDriveList(api.TeamDriveList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3481(o.teamDrives!); + checkUnnamed3378(o.teamDrives!); } buildCounterTeamDriveList--; } diff --git a/generated/googleapis/test/driveactivity/v2_test.dart b/generated/googleapis/test/driveactivity/v2_test.dart index 3254103f6..738a5e2ff 100644 --- a/generated/googleapis/test/driveactivity/v2_test.dart +++ b/generated/googleapis/test/driveactivity/v2_test.dart @@ -213,12 +213,12 @@ void checkAssignment(api.Assignment o) { buildCounterAssignment--; } -core.List buildUnnamed5274() => [ +core.List buildUnnamed5333() => [ buildUser(), buildUser(), ]; -void checkUnnamed5274(core.List o) { +void checkUnnamed5333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -230,7 +230,7 @@ api.Comment buildComment() { buildCounterComment++; if (buildCounterComment < 3) { o.assignment = buildAssignment(); - o.mentionedUsers = buildUnnamed5274(); + o.mentionedUsers = buildUnnamed5333(); o.post = buildPost(); o.suggestion = buildSuggestion(); } @@ -242,7 +242,7 @@ void checkComment(api.Comment o) { buildCounterComment++; if (buildCounterComment < 3) { checkAssignment(o.assignment!); - checkUnnamed5274(o.mentionedUsers!); + checkUnnamed5333(o.mentionedUsers!); checkPost(o.post!); checkSuggestion(o.suggestion!); } @@ -427,34 +427,34 @@ void checkDrive(api.Drive o) { buildCounterDrive--; } -core.List buildUnnamed5275() => [ +core.List buildUnnamed5334() => [ buildAction(), buildAction(), ]; -void checkUnnamed5275(core.List o) { +void checkUnnamed5334(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAction(o[0]); checkAction(o[1]); } -core.List buildUnnamed5276() => [ +core.List buildUnnamed5335() => [ buildActor(), buildActor(), ]; -void checkUnnamed5276(core.List o) { +void checkUnnamed5335(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActor(o[0]); checkActor(o[1]); } -core.List buildUnnamed5277() => [ +core.List buildUnnamed5336() => [ buildTarget(), buildTarget(), ]; -void checkUnnamed5277(core.List o) { +void checkUnnamed5336(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTarget(o[0]); checkTarget(o[1]); @@ -465,10 +465,10 @@ api.DriveActivity buildDriveActivity() { final o = api.DriveActivity(); buildCounterDriveActivity++; if (buildCounterDriveActivity < 3) { - o.actions = buildUnnamed5275(); - o.actors = buildUnnamed5276(); + o.actions = buildUnnamed5334(); + o.actors = buildUnnamed5335(); o.primaryActionDetail = buildActionDetail(); - o.targets = buildUnnamed5277(); + o.targets = buildUnnamed5336(); o.timeRange = buildTimeRange(); o.timestamp = 'foo'; } @@ -479,10 +479,10 @@ api.DriveActivity buildDriveActivity() { void checkDriveActivity(api.DriveActivity o) { buildCounterDriveActivity++; if (buildCounterDriveActivity < 3) { - checkUnnamed5275(o.actions!); - checkUnnamed5276(o.actors!); + checkUnnamed5334(o.actions!); + checkUnnamed5335(o.actors!); checkActionDetail(o.primaryActionDetail!); - checkUnnamed5277(o.targets!); + checkUnnamed5336(o.targets!); checkTimeRange(o.timeRange!); unittest.expect( o.timestamp!, @@ -804,23 +804,23 @@ void checkLegacy(api.Legacy o) { buildCounterLegacy--; } -core.List buildUnnamed5278() => [ +core.List buildUnnamed5337() => [ buildTargetReference(), buildTargetReference(), ]; -void checkUnnamed5278(core.List o) { +void checkUnnamed5337(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetReference(o[0]); checkTargetReference(o[1]); } -core.List buildUnnamed5279() => [ +core.List buildUnnamed5338() => [ buildTargetReference(), buildTargetReference(), ]; -void checkUnnamed5279(core.List o) { +void checkUnnamed5338(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetReference(o[0]); checkTargetReference(o[1]); @@ -831,8 +831,8 @@ api.Move buildMove() { final o = api.Move(); buildCounterMove++; if (buildCounterMove < 3) { - o.addedParents = buildUnnamed5278(); - o.removedParents = buildUnnamed5279(); + o.addedParents = buildUnnamed5337(); + o.removedParents = buildUnnamed5338(); } buildCounterMove--; return o; @@ -841,8 +841,8 @@ api.Move buildMove() { void checkMove(api.Move o) { buildCounterMove++; if (buildCounterMove < 3) { - checkUnnamed5278(o.addedParents!); - checkUnnamed5279(o.removedParents!); + checkUnnamed5337(o.addedParents!); + checkUnnamed5338(o.removedParents!); } buildCounterMove--; } @@ -934,23 +934,23 @@ void checkPermission(api.Permission o) { buildCounterPermission--; } -core.List buildUnnamed5280() => [ +core.List buildUnnamed5339() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed5280(core.List o) { +void checkUnnamed5339(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); } -core.List buildUnnamed5281() => [ +core.List buildUnnamed5340() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed5281(core.List o) { +void checkUnnamed5340(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -961,8 +961,8 @@ api.PermissionChange buildPermissionChange() { final o = api.PermissionChange(); buildCounterPermissionChange++; if (buildCounterPermissionChange < 3) { - o.addedPermissions = buildUnnamed5280(); - o.removedPermissions = buildUnnamed5281(); + o.addedPermissions = buildUnnamed5339(); + o.removedPermissions = buildUnnamed5340(); } buildCounterPermissionChange--; return o; @@ -971,8 +971,8 @@ api.PermissionChange buildPermissionChange() { void checkPermissionChange(api.PermissionChange o) { buildCounterPermissionChange++; if (buildCounterPermissionChange < 3) { - checkUnnamed5280(o.addedPermissions!); - checkUnnamed5281(o.removedPermissions!); + checkUnnamed5339(o.addedPermissions!); + checkUnnamed5340(o.removedPermissions!); } buildCounterPermissionChange--; } @@ -1043,12 +1043,12 @@ void checkQueryDriveActivityRequest(api.QueryDriveActivityRequest o) { buildCounterQueryDriveActivityRequest--; } -core.List buildUnnamed5282() => [ +core.List buildUnnamed5341() => [ buildDriveActivity(), buildDriveActivity(), ]; -void checkUnnamed5282(core.List o) { +void checkUnnamed5341(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDriveActivity(o[0]); checkDriveActivity(o[1]); @@ -1059,7 +1059,7 @@ api.QueryDriveActivityResponse buildQueryDriveActivityResponse() { final o = api.QueryDriveActivityResponse(); buildCounterQueryDriveActivityResponse++; if (buildCounterQueryDriveActivityResponse < 3) { - o.activities = buildUnnamed5282(); + o.activities = buildUnnamed5341(); o.nextPageToken = 'foo'; } buildCounterQueryDriveActivityResponse--; @@ -1069,7 +1069,7 @@ api.QueryDriveActivityResponse buildQueryDriveActivityResponse() { void checkQueryDriveActivityResponse(api.QueryDriveActivityResponse o) { buildCounterQueryDriveActivityResponse++; if (buildCounterQueryDriveActivityResponse < 3) { - checkUnnamed5282(o.activities!); + checkUnnamed5341(o.activities!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1154,12 +1154,12 @@ void checkRestrictionChange(api.RestrictionChange o) { buildCounterRestrictionChange--; } -core.List buildUnnamed5283() => [ +core.List buildUnnamed5342() => [ buildRestrictionChange(), buildRestrictionChange(), ]; -void checkUnnamed5283(core.List o) { +void checkUnnamed5342(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRestrictionChange(o[0]); checkRestrictionChange(o[1]); @@ -1170,7 +1170,7 @@ api.SettingsChange buildSettingsChange() { final o = api.SettingsChange(); buildCounterSettingsChange++; if (buildCounterSettingsChange < 3) { - o.restrictionChanges = buildUnnamed5283(); + o.restrictionChanges = buildUnnamed5342(); } buildCounterSettingsChange--; return o; @@ -1179,7 +1179,7 @@ api.SettingsChange buildSettingsChange() { void checkSettingsChange(api.SettingsChange o) { buildCounterSettingsChange++; if (buildCounterSettingsChange < 3) { - checkUnnamed5283(o.restrictionChanges!); + checkUnnamed5342(o.restrictionChanges!); } buildCounterSettingsChange--; } diff --git a/generated/googleapis/test/essentialcontacts/v1_test.dart b/generated/googleapis/test/essentialcontacts/v1_test.dart index 1ca9157b3..c35676ecb 100644 --- a/generated/googleapis/test/essentialcontacts/v1_test.dart +++ b/generated/googleapis/test/essentialcontacts/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed640() => [ +core.List buildUnnamed665() => [ buildGoogleCloudEssentialcontactsV1Contact(), buildGoogleCloudEssentialcontactsV1Contact(), ]; -void checkUnnamed640(core.List o) { +void checkUnnamed665(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudEssentialcontactsV1Contact(o[0]); checkGoogleCloudEssentialcontactsV1Contact(o[1]); @@ -43,7 +43,7 @@ api.GoogleCloudEssentialcontactsV1ComputeContactsResponse final o = api.GoogleCloudEssentialcontactsV1ComputeContactsResponse(); buildCounterGoogleCloudEssentialcontactsV1ComputeContactsResponse++; if (buildCounterGoogleCloudEssentialcontactsV1ComputeContactsResponse < 3) { - o.contacts = buildUnnamed640(); + o.contacts = buildUnnamed665(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudEssentialcontactsV1ComputeContactsResponse--; @@ -54,7 +54,7 @@ void checkGoogleCloudEssentialcontactsV1ComputeContactsResponse( api.GoogleCloudEssentialcontactsV1ComputeContactsResponse o) { buildCounterGoogleCloudEssentialcontactsV1ComputeContactsResponse++; if (buildCounterGoogleCloudEssentialcontactsV1ComputeContactsResponse < 3) { - checkUnnamed640(o.contacts!); + checkUnnamed665(o.contacts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -63,12 +63,12 @@ void checkGoogleCloudEssentialcontactsV1ComputeContactsResponse( buildCounterGoogleCloudEssentialcontactsV1ComputeContactsResponse--; } -core.List buildUnnamed641() => [ +core.List buildUnnamed666() => [ 'foo', 'foo', ]; -void checkUnnamed641(core.List o) { +void checkUnnamed666(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -89,7 +89,7 @@ api.GoogleCloudEssentialcontactsV1Contact o.email = 'foo'; o.languageTag = 'foo'; o.name = 'foo'; - o.notificationCategorySubscriptions = buildUnnamed641(); + o.notificationCategorySubscriptions = buildUnnamed666(); o.validateTime = 'foo'; o.validationState = 'foo'; } @@ -113,7 +113,7 @@ void checkGoogleCloudEssentialcontactsV1Contact( o.name!, unittest.equals('foo'), ); - checkUnnamed641(o.notificationCategorySubscriptions!); + checkUnnamed666(o.notificationCategorySubscriptions!); unittest.expect( o.validateTime!, unittest.equals('foo'), @@ -126,12 +126,12 @@ void checkGoogleCloudEssentialcontactsV1Contact( buildCounterGoogleCloudEssentialcontactsV1Contact--; } -core.List buildUnnamed642() => [ +core.List buildUnnamed667() => [ buildGoogleCloudEssentialcontactsV1Contact(), buildGoogleCloudEssentialcontactsV1Contact(), ]; -void checkUnnamed642(core.List o) { +void checkUnnamed667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudEssentialcontactsV1Contact(o[0]); checkGoogleCloudEssentialcontactsV1Contact(o[1]); @@ -143,7 +143,7 @@ api.GoogleCloudEssentialcontactsV1ListContactsResponse final o = api.GoogleCloudEssentialcontactsV1ListContactsResponse(); buildCounterGoogleCloudEssentialcontactsV1ListContactsResponse++; if (buildCounterGoogleCloudEssentialcontactsV1ListContactsResponse < 3) { - o.contacts = buildUnnamed642(); + o.contacts = buildUnnamed667(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudEssentialcontactsV1ListContactsResponse--; @@ -154,7 +154,7 @@ void checkGoogleCloudEssentialcontactsV1ListContactsResponse( api.GoogleCloudEssentialcontactsV1ListContactsResponse o) { buildCounterGoogleCloudEssentialcontactsV1ListContactsResponse++; if (buildCounterGoogleCloudEssentialcontactsV1ListContactsResponse < 3) { - checkUnnamed642(o.contacts!); + checkUnnamed667(o.contacts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -163,12 +163,12 @@ void checkGoogleCloudEssentialcontactsV1ListContactsResponse( buildCounterGoogleCloudEssentialcontactsV1ListContactsResponse--; } -core.List buildUnnamed643() => [ +core.List buildUnnamed668() => [ 'foo', 'foo', ]; -void checkUnnamed643(core.List o) { +void checkUnnamed668(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -186,7 +186,7 @@ api.GoogleCloudEssentialcontactsV1SendTestMessageRequest final o = api.GoogleCloudEssentialcontactsV1SendTestMessageRequest(); buildCounterGoogleCloudEssentialcontactsV1SendTestMessageRequest++; if (buildCounterGoogleCloudEssentialcontactsV1SendTestMessageRequest < 3) { - o.contacts = buildUnnamed643(); + o.contacts = buildUnnamed668(); o.notificationCategory = 'foo'; } buildCounterGoogleCloudEssentialcontactsV1SendTestMessageRequest--; @@ -197,7 +197,7 @@ void checkGoogleCloudEssentialcontactsV1SendTestMessageRequest( api.GoogleCloudEssentialcontactsV1SendTestMessageRequest o) { buildCounterGoogleCloudEssentialcontactsV1SendTestMessageRequest++; if (buildCounterGoogleCloudEssentialcontactsV1SendTestMessageRequest < 3) { - checkUnnamed643(o.contacts!); + checkUnnamed668(o.contacts!); unittest.expect( o.notificationCategory!, unittest.equals('foo'), @@ -221,12 +221,12 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed644() => [ +core.List buildUnnamed669() => [ 'foo', 'foo', ]; -void checkUnnamed644(core.List o) { +void checkUnnamed669(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -238,12 +238,12 @@ void checkUnnamed644(core.List o) { ); } -core.List buildUnnamed645() => [ +core.List buildUnnamed670() => [ 'foo', 'foo', ]; -void checkUnnamed645(core.List o) { +void checkUnnamed670(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -255,12 +255,12 @@ void checkUnnamed645(core.List o) { ); } -core.List buildUnnamed646() => [ +core.List buildUnnamed671() => [ 'foo', 'foo', ]; -void checkUnnamed646(core.List o) { +void checkUnnamed671(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -334,7 +334,7 @@ void main() { final mock = HttpServerMock(); final res = api.EssentialcontactsApi(mock).folders.contacts; final arg_parent = 'foo'; - final arg_notificationCategories = buildUnnamed644(); + final arg_notificationCategories = buildUnnamed669(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -767,7 +767,7 @@ void main() { final mock = HttpServerMock(); final res = api.EssentialcontactsApi(mock).organizations.contacts; final arg_parent = 'foo'; - final arg_notificationCategories = buildUnnamed645(); + final arg_notificationCategories = buildUnnamed670(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -1200,7 +1200,7 @@ void main() { final mock = HttpServerMock(); final res = api.EssentialcontactsApi(mock).projects.contacts; final arg_parent = 'foo'; - final arg_notificationCategories = buildUnnamed646(); + final arg_notificationCategories = buildUnnamed671(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/eventarc/v1_test.dart b/generated/googleapis/test/eventarc/v1_test.dart index 6adad886e..115b32a32 100644 --- a/generated/googleapis/test/eventarc/v1_test.dart +++ b/generated/googleapis/test/eventarc/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2971() => [ +core.List buildUnnamed2859() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed2971(core.List o) { +void checkUnnamed2859(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed2971(); + o.auditLogConfigs = buildUnnamed2859(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed2971(o.auditLogConfigs!); + checkUnnamed2859(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed2972() => [ +core.List buildUnnamed2860() => [ 'foo', 'foo', ]; -void checkUnnamed2972(core.List o) { +void checkUnnamed2860(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed2972(); + o.exemptedMembers = buildUnnamed2860(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed2972(o.exemptedMembers!); + checkUnnamed2860(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed2973() => [ +core.List buildUnnamed2861() => [ 'foo', 'foo', ]; -void checkUnnamed2973(core.List o) { +void checkUnnamed2861(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed2973(); + o.members = buildUnnamed2861(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed2973(o.members!); + checkUnnamed2861(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -292,12 +292,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed2974() => [ +core.List buildUnnamed2862() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed2974(core.List o) { +void checkUnnamed2862(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -310,7 +310,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2974(); + o.operations = buildUnnamed2862(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -324,12 +324,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2974(o.operations!); + checkUnnamed2862(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed2975() => { +core.Map buildUnnamed2863() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -342,7 +342,7 @@ core.Map buildUnnamed2975() => { }, }; -void checkUnnamed2975(core.Map o) { +void checkUnnamed2863(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -374,7 +374,7 @@ void checkUnnamed2975(core.Map o) { ); } -core.Map buildUnnamed2976() => { +core.Map buildUnnamed2864() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -387,7 +387,7 @@ core.Map buildUnnamed2976() => { }, }; -void checkUnnamed2976(core.Map o) { +void checkUnnamed2864(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -426,9 +426,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed2975(); + o.metadata = buildUnnamed2863(); o.name = 'foo'; - o.response = buildUnnamed2976(); + o.response = buildUnnamed2864(); } buildCounterGoogleLongrunningOperation--; return o; @@ -439,17 +439,17 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed2975(o.metadata!); + checkUnnamed2863(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2976(o.response!); + checkUnnamed2864(o.response!); } buildCounterGoogleLongrunningOperation--; } -core.Map buildUnnamed2977() => { +core.Map buildUnnamed2865() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -462,7 +462,7 @@ core.Map buildUnnamed2977() => { }, }; -void checkUnnamed2977(core.Map o) { +void checkUnnamed2865(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -494,15 +494,15 @@ void checkUnnamed2977(core.Map o) { ); } -core.List> buildUnnamed2978() => [ - buildUnnamed2977(), - buildUnnamed2977(), +core.List> buildUnnamed2866() => [ + buildUnnamed2865(), + buildUnnamed2865(), ]; -void checkUnnamed2978(core.List> o) { +void checkUnnamed2866(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2977(o[0]); - checkUnnamed2977(o[1]); + checkUnnamed2865(o[0]); + checkUnnamed2865(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -511,7 +511,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed2978(); + o.details = buildUnnamed2866(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -525,7 +525,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed2978(o.details!); + checkUnnamed2866(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -534,12 +534,12 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { buildCounterGoogleRpcStatus--; } -core.List buildUnnamed2979() => [ +core.List buildUnnamed2867() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed2979(core.List o) { +void checkUnnamed2867(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -550,7 +550,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed2979(); + o.locations = buildUnnamed2867(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -560,7 +560,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed2979(o.locations!); + checkUnnamed2867(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -569,23 +569,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed2980() => [ +core.List buildUnnamed2868() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed2980(core.List o) { +void checkUnnamed2868(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); } -core.List buildUnnamed2981() => [ +core.List buildUnnamed2869() => [ 'foo', 'foo', ]; -void checkUnnamed2981(core.List o) { +void checkUnnamed2869(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -603,8 +603,8 @@ api.ListTriggersResponse buildListTriggersResponse() { buildCounterListTriggersResponse++; if (buildCounterListTriggersResponse < 3) { o.nextPageToken = 'foo'; - o.triggers = buildUnnamed2980(); - o.unreachable = buildUnnamed2981(); + o.triggers = buildUnnamed2868(); + o.unreachable = buildUnnamed2869(); } buildCounterListTriggersResponse--; return o; @@ -617,18 +617,18 @@ void checkListTriggersResponse(api.ListTriggersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2980(o.triggers!); - checkUnnamed2981(o.unreachable!); + checkUnnamed2868(o.triggers!); + checkUnnamed2869(o.unreachable!); } buildCounterListTriggersResponse--; } -core.Map buildUnnamed2982() => { +core.Map buildUnnamed2870() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2982(core.Map o) { +void checkUnnamed2870(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -640,7 +640,7 @@ void checkUnnamed2982(core.Map o) { ); } -core.Map buildUnnamed2983() => { +core.Map buildUnnamed2871() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -653,7 +653,7 @@ core.Map buildUnnamed2983() => { }, }; -void checkUnnamed2983(core.Map o) { +void checkUnnamed2871(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -691,9 +691,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed2982(); + o.labels = buildUnnamed2870(); o.locationId = 'foo'; - o.metadata = buildUnnamed2983(); + o.metadata = buildUnnamed2871(); o.name = 'foo'; } buildCounterLocation--; @@ -707,12 +707,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2982(o.labels!); + checkUnnamed2870(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed2983(o.metadata!); + checkUnnamed2871(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -770,23 +770,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed2984() => [ +core.List buildUnnamed2872() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed2984(core.List o) { +void checkUnnamed2872(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed2985() => [ +core.List buildUnnamed2873() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed2985(core.List o) { +void checkUnnamed2873(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -797,8 +797,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed2984(); - o.bindings = buildUnnamed2985(); + o.auditConfigs = buildUnnamed2872(); + o.bindings = buildUnnamed2873(); o.etag = 'foo'; o.version = 42; } @@ -809,8 +809,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed2984(o.auditConfigs!); - checkUnnamed2985(o.bindings!); + checkUnnamed2872(o.auditConfigs!); + checkUnnamed2873(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -874,12 +874,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed2986() => [ +core.List buildUnnamed2874() => [ 'foo', 'foo', ]; -void checkUnnamed2986(core.List o) { +void checkUnnamed2874(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -896,7 +896,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed2986(); + o.permissions = buildUnnamed2874(); } buildCounterTestIamPermissionsRequest--; return o; @@ -905,17 +905,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed2986(o.permissions!); + checkUnnamed2874(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed2987() => [ +core.List buildUnnamed2875() => [ 'foo', 'foo', ]; -void checkUnnamed2987(core.List o) { +void checkUnnamed2875(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -932,7 +932,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed2987(); + o.permissions = buildUnnamed2875(); } buildCounterTestIamPermissionsResponse--; return o; @@ -941,7 +941,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed2987(o.permissions!); + checkUnnamed2875(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -965,23 +965,23 @@ void checkTransport(api.Transport o) { buildCounterTransport--; } -core.List buildUnnamed2988() => [ +core.List buildUnnamed2876() => [ buildEventFilter(), buildEventFilter(), ]; -void checkUnnamed2988(core.List o) { +void checkUnnamed2876(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventFilter(o[0]); checkEventFilter(o[1]); } -core.Map buildUnnamed2989() => { +core.Map buildUnnamed2877() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2989(core.Map o) { +void checkUnnamed2877(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1001,8 +1001,8 @@ api.Trigger buildTrigger() { o.createTime = 'foo'; o.destination = buildDestination(); o.etag = 'foo'; - o.eventFilters = buildUnnamed2988(); - o.labels = buildUnnamed2989(); + o.eventFilters = buildUnnamed2876(); + o.labels = buildUnnamed2877(); o.name = 'foo'; o.serviceAccount = 'foo'; o.transport = buildTransport(); @@ -1025,8 +1025,8 @@ void checkTrigger(api.Trigger o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2988(o.eventFilters!); - checkUnnamed2989(o.labels!); + checkUnnamed2876(o.eventFilters!); + checkUnnamed2877(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1404,6 +1404,184 @@ void main() { }); }); + unittest.group('resource-ProjectsLocationsChannelsResource', () { + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = api.EventarcApi(mock).projects.locations.channels; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = api.EventarcApi(mock).projects.locations.channels; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = api.EventarcApi(mock).projects.locations.channels; + final arg_request = buildTestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.TestIamPermissionsRequest.fromJson( + json as core.Map); + checkTestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildTestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkTestIamPermissionsResponse( + response as api.TestIamPermissionsResponse); + }); + }); + unittest.group('resource-ProjectsLocationsOperationsResource', () { unittest.test('method--cancel', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/fcm/v1_test.dart b/generated/googleapis/test/fcm/v1_test.dart index f74b9e51c..309990d25 100644 --- a/generated/googleapis/test/fcm/v1_test.dart +++ b/generated/googleapis/test/fcm/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed1599() => { +core.Map buildUnnamed1629() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1599(core.Map o) { +void checkUnnamed1629(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -49,7 +49,7 @@ api.AndroidConfig buildAndroidConfig() { buildCounterAndroidConfig++; if (buildCounterAndroidConfig < 3) { o.collapseKey = 'foo'; - o.data = buildUnnamed1599(); + o.data = buildUnnamed1629(); o.directBootOk = true; o.fcmOptions = buildAndroidFcmOptions(); o.notification = buildAndroidNotification(); @@ -68,7 +68,7 @@ void checkAndroidConfig(api.AndroidConfig o) { o.collapseKey!, unittest.equals('foo'), ); - checkUnnamed1599(o.data!); + checkUnnamed1629(o.data!); unittest.expect(o.directBootOk!, unittest.isTrue); checkAndroidFcmOptions(o.fcmOptions!); checkAndroidNotification(o.notification!); @@ -110,12 +110,12 @@ void checkAndroidFcmOptions(api.AndroidFcmOptions o) { buildCounterAndroidFcmOptions--; } -core.List buildUnnamed1600() => [ +core.List buildUnnamed1630() => [ 'foo', 'foo', ]; -void checkUnnamed1600(core.List o) { +void checkUnnamed1630(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -127,12 +127,12 @@ void checkUnnamed1600(core.List o) { ); } -core.List buildUnnamed1601() => [ +core.List buildUnnamed1631() => [ 'foo', 'foo', ]; -void checkUnnamed1601(core.List o) { +void checkUnnamed1631(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -144,12 +144,12 @@ void checkUnnamed1601(core.List o) { ); } -core.List buildUnnamed1602() => [ +core.List buildUnnamed1632() => [ 'foo', 'foo', ]; -void checkUnnamed1602(core.List o) { +void checkUnnamed1632(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -167,7 +167,7 @@ api.AndroidNotification buildAndroidNotification() { buildCounterAndroidNotification++; if (buildCounterAndroidNotification < 3) { o.body = 'foo'; - o.bodyLocArgs = buildUnnamed1600(); + o.bodyLocArgs = buildUnnamed1630(); o.bodyLocKey = 'foo'; o.channelId = 'foo'; o.clickAction = 'foo'; @@ -187,9 +187,9 @@ api.AndroidNotification buildAndroidNotification() { o.tag = 'foo'; o.ticker = 'foo'; o.title = 'foo'; - o.titleLocArgs = buildUnnamed1601(); + o.titleLocArgs = buildUnnamed1631(); o.titleLocKey = 'foo'; - o.vibrateTimings = buildUnnamed1602(); + o.vibrateTimings = buildUnnamed1632(); o.visibility = 'foo'; } buildCounterAndroidNotification--; @@ -203,7 +203,7 @@ void checkAndroidNotification(api.AndroidNotification o) { o.body!, unittest.equals('foo'), ); - checkUnnamed1600(o.bodyLocArgs!); + checkUnnamed1630(o.bodyLocArgs!); unittest.expect( o.bodyLocKey!, unittest.equals('foo'), @@ -262,12 +262,12 @@ void checkAndroidNotification(api.AndroidNotification o) { o.title!, unittest.equals('foo'), ); - checkUnnamed1601(o.titleLocArgs!); + checkUnnamed1631(o.titleLocArgs!); unittest.expect( o.titleLocKey!, unittest.equals('foo'), ); - checkUnnamed1602(o.vibrateTimings!); + checkUnnamed1632(o.vibrateTimings!); unittest.expect( o.visibility!, unittest.equals('foo'), @@ -276,12 +276,12 @@ void checkAndroidNotification(api.AndroidNotification o) { buildCounterAndroidNotification--; } -core.Map buildUnnamed1603() => { +core.Map buildUnnamed1633() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1603(core.Map o) { +void checkUnnamed1633(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -293,7 +293,7 @@ void checkUnnamed1603(core.Map o) { ); } -core.Map buildUnnamed1604() => { +core.Map buildUnnamed1634() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -306,7 +306,7 @@ core.Map buildUnnamed1604() => { }, }; -void checkUnnamed1604(core.Map o) { +void checkUnnamed1634(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -344,8 +344,8 @@ api.ApnsConfig buildApnsConfig() { buildCounterApnsConfig++; if (buildCounterApnsConfig < 3) { o.fcmOptions = buildApnsFcmOptions(); - o.headers = buildUnnamed1603(); - o.payload = buildUnnamed1604(); + o.headers = buildUnnamed1633(); + o.payload = buildUnnamed1634(); } buildCounterApnsConfig--; return o; @@ -355,8 +355,8 @@ void checkApnsConfig(api.ApnsConfig o) { buildCounterApnsConfig++; if (buildCounterApnsConfig < 3) { checkApnsFcmOptions(o.fcmOptions!); - checkUnnamed1603(o.headers!); - checkUnnamed1604(o.payload!); + checkUnnamed1633(o.headers!); + checkUnnamed1634(o.payload!); } buildCounterApnsConfig--; } @@ -476,12 +476,12 @@ void checkLightSettings(api.LightSettings o) { buildCounterLightSettings--; } -core.Map buildUnnamed1605() => { +core.Map buildUnnamed1635() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1605(core.Map o) { +void checkUnnamed1635(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -501,7 +501,7 @@ api.Message buildMessage() { o.android = buildAndroidConfig(); o.apns = buildApnsConfig(); o.condition = 'foo'; - o.data = buildUnnamed1605(); + o.data = buildUnnamed1635(); o.fcmOptions = buildFcmOptions(); o.name = 'foo'; o.notification = buildNotification(); @@ -522,7 +522,7 @@ void checkMessage(api.Message o) { o.condition!, unittest.equals('foo'), ); - checkUnnamed1605(o.data!); + checkUnnamed1635(o.data!); checkFcmOptions(o.fcmOptions!); unittest.expect( o.name!, @@ -595,12 +595,12 @@ void checkSendMessageRequest(api.SendMessageRequest o) { buildCounterSendMessageRequest--; } -core.Map buildUnnamed1606() => { +core.Map buildUnnamed1636() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1606(core.Map o) { +void checkUnnamed1636(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -612,12 +612,12 @@ void checkUnnamed1606(core.Map o) { ); } -core.Map buildUnnamed1607() => { +core.Map buildUnnamed1637() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1607(core.Map o) { +void checkUnnamed1637(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -629,7 +629,7 @@ void checkUnnamed1607(core.Map o) { ); } -core.Map buildUnnamed1608() => { +core.Map buildUnnamed1638() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -642,7 +642,7 @@ core.Map buildUnnamed1608() => { }, }; -void checkUnnamed1608(core.Map o) { +void checkUnnamed1638(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -679,10 +679,10 @@ api.WebpushConfig buildWebpushConfig() { final o = api.WebpushConfig(); buildCounterWebpushConfig++; if (buildCounterWebpushConfig < 3) { - o.data = buildUnnamed1606(); + o.data = buildUnnamed1636(); o.fcmOptions = buildWebpushFcmOptions(); - o.headers = buildUnnamed1607(); - o.notification = buildUnnamed1608(); + o.headers = buildUnnamed1637(); + o.notification = buildUnnamed1638(); } buildCounterWebpushConfig--; return o; @@ -691,10 +691,10 @@ api.WebpushConfig buildWebpushConfig() { void checkWebpushConfig(api.WebpushConfig o) { buildCounterWebpushConfig++; if (buildCounterWebpushConfig < 3) { - checkUnnamed1606(o.data!); + checkUnnamed1636(o.data!); checkWebpushFcmOptions(o.fcmOptions!); - checkUnnamed1607(o.headers!); - checkUnnamed1608(o.notification!); + checkUnnamed1637(o.headers!); + checkUnnamed1638(o.notification!); } buildCounterWebpushConfig--; } diff --git a/generated/googleapis/test/file/v1_test.dart b/generated/googleapis/test/file/v1_test.dart index b99c01658..7511c0c30 100644 --- a/generated/googleapis/test/file/v1_test.dart +++ b/generated/googleapis/test/file/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed7539() => { +core.Map buildUnnamed7619() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7539(core.Map o) { +void checkUnnamed7619(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -52,7 +52,7 @@ api.Backup buildBackup() { o.createTime = 'foo'; o.description = 'foo'; o.downloadBytes = 'foo'; - o.labels = buildUnnamed7539(); + o.labels = buildUnnamed7619(); o.name = 'foo'; o.satisfiesPzs = true; o.sourceFileShare = 'foo'; @@ -84,7 +84,7 @@ void checkBackup(api.Backup o) { o.downloadBytes!, unittest.equals('foo'), ); - checkUnnamed7539(o.labels!); + checkUnnamed7619(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -223,12 +223,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed7540() => [ +core.List buildUnnamed7620() => [ buildNfsExportOptions(), buildNfsExportOptions(), ]; -void checkUnnamed7540(core.List o) { +void checkUnnamed7620(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNfsExportOptions(o[0]); checkNfsExportOptions(o[1]); @@ -241,7 +241,7 @@ api.FileShareConfig buildFileShareConfig() { if (buildCounterFileShareConfig < 3) { o.capacityGb = 'foo'; o.name = 'foo'; - o.nfsExportOptions = buildUnnamed7540(); + o.nfsExportOptions = buildUnnamed7620(); o.sourceBackup = 'foo'; } buildCounterFileShareConfig--; @@ -259,7 +259,7 @@ void checkFileShareConfig(api.FileShareConfig o) { o.name!, unittest.equals('foo'), ); - checkUnnamed7540(o.nfsExportOptions!); + checkUnnamed7620(o.nfsExportOptions!); unittest.expect( o.sourceBackup!, unittest.equals('foo'), @@ -268,12 +268,12 @@ void checkFileShareConfig(api.FileShareConfig o) { buildCounterFileShareConfig--; } -core.Map buildUnnamed7541() => { +core.Map buildUnnamed7621() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7541(core.Map o) { +void checkUnnamed7621(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -285,12 +285,12 @@ void checkUnnamed7541(core.Map o) { ); } -core.Map buildUnnamed7542() => { +core.Map buildUnnamed7622() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7542(core.Map o) { +void checkUnnamed7622(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -304,14 +304,14 @@ void checkUnnamed7542(core.Map o) { core.Map - buildUnnamed7543() => { + buildUnnamed7623() => { 'x': buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(), 'y': buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(), }; -void checkUnnamed7543( +void checkUnnamed7623( core.Map o) { @@ -322,12 +322,12 @@ void checkUnnamed7543( o['y']!); } -core.Map buildUnnamed7544() => { +core.Map buildUnnamed7624() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7544(core.Map o) { +void checkUnnamed7624(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -341,12 +341,12 @@ void checkUnnamed7544(core.Map o) { core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource> - buildUnnamed7545() => [ + buildUnnamed7625() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(), buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(), ]; -void checkUnnamed7545( +void checkUnnamed7625( core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource> o) { @@ -355,12 +355,12 @@ void checkUnnamed7545( checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]); } -core.Map buildUnnamed7546() => { +core.Map buildUnnamed7626() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7546(core.Map o) { +void checkUnnamed7626(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -381,18 +381,18 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1Instance if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) { o.consumerDefinedName = 'foo'; o.createTime = 'foo'; - o.labels = buildUnnamed7541(); - o.maintenancePolicyNames = buildUnnamed7542(); - o.maintenanceSchedules = buildUnnamed7543(); + o.labels = buildUnnamed7621(); + o.maintenancePolicyNames = buildUnnamed7622(); + o.maintenanceSchedules = buildUnnamed7623(); o.maintenanceSettings = buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings(); o.name = 'foo'; - o.producerMetadata = buildUnnamed7544(); - o.provisionedResources = buildUnnamed7545(); + o.producerMetadata = buildUnnamed7624(); + o.provisionedResources = buildUnnamed7625(); o.slmInstanceTemplate = 'foo'; o.sloMetadata = buildGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata(); - o.softwareVersions = buildUnnamed7546(); + o.softwareVersions = buildUnnamed7626(); o.state = 'foo'; o.tenantProjectId = 'foo'; o.updateTime = 'foo'; @@ -413,24 +413,24 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1Instance( o.createTime!, unittest.equals('foo'), ); - checkUnnamed7541(o.labels!); - checkUnnamed7542(o.maintenancePolicyNames!); - checkUnnamed7543(o.maintenanceSchedules!); + checkUnnamed7621(o.labels!); + checkUnnamed7622(o.maintenancePolicyNames!); + checkUnnamed7623(o.maintenanceSchedules!); checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( o.maintenanceSettings!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7544(o.producerMetadata!); - checkUnnamed7545(o.provisionedResources!); + checkUnnamed7624(o.producerMetadata!); + checkUnnamed7625(o.provisionedResources!); unittest.expect( o.slmInstanceTemplate!, unittest.equals('foo'), ); checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( o.sloMetadata!); - checkUnnamed7546(o.softwareVersions!); + checkUnnamed7626(o.softwareVersions!); unittest.expect( o.state!, unittest.equals('foo'), @@ -493,12 +493,12 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule--; } -core.Map buildUnnamed7547() => { +core.Map buildUnnamed7627() => { 'x': buildMaintenancePolicy(), 'y': buildMaintenancePolicy(), }; -void checkUnnamed7547(core.Map o) { +void checkUnnamed7627(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMaintenancePolicy(o['x']!); checkMaintenancePolicy(o['y']!); @@ -516,7 +516,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings 3) { o.exclude = true; o.isRollback = true; - o.maintenancePolicies = buildUnnamed7547(); + o.maintenancePolicies = buildUnnamed7627(); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--; return o; @@ -529,25 +529,11 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( 3) { unittest.expect(o.exclude!, unittest.isTrue); unittest.expect(o.isRollback!, unittest.isTrue); - checkUnnamed7547(o.maintenancePolicies!); + checkUnnamed7627(o.maintenancePolicies!); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--; } -core.List - buildUnnamed7548() => [ - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - ]; - -void checkUnnamed7548( - core.List - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[0]); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[1]); -} - core.int buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata = 0; @@ -558,7 +544,6 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata < 3) { - o.exclusions = buildUnnamed7548(); o.location = 'foo'; o.nodeId = 'foo'; o.perSliEligibility = @@ -573,7 +558,6 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata < 3) { - checkUnnamed7548(o.exclusions!); unittest.expect( o.location!, unittest.equals('foo'), @@ -590,14 +574,14 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( core.Map - buildUnnamed7549() => { + buildUnnamed7628() => { 'x': buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(), 'y': buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(), }; -void checkUnnamed7549( +void checkUnnamed7628( core.Map o) { @@ -616,7 +600,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility < 3) { - o.eligibilities = buildUnnamed7549(); + o.eligibilities = buildUnnamed7628(); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility--; return o; @@ -627,7 +611,7 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility < 3) { - checkUnnamed7549(o.eligibilities!); + checkUnnamed7628(o.eligibilities!); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility--; } @@ -696,69 +680,13 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility--; } -core.int - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion = 0; -api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion() { - final o = api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(); - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion++; - if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion < - 3) { - o.duration = 'foo'; - o.reason = 'foo'; - o.sliName = 'foo'; - o.startTime = 'foo'; - } - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion--; - return o; -} - -void checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion( - api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion o) { - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion++; - if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion < - 3) { - unittest.expect( - o.duration!, - unittest.equals('foo'), - ); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - unittest.expect( - o.sliName!, - unittest.equals('foo'), - ); - unittest.expect( - o.startTime!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion--; -} - -core.List - buildUnnamed7550() => [ - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - ]; - -void checkUnnamed7550( - core.List - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[0]); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[1]); -} - core.List - buildUnnamed7551() => [ + buildUnnamed7629() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(), buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(), ]; -void checkUnnamed7551( +void checkUnnamed7629( core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata> o) { @@ -775,8 +703,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata < 3) { - o.exclusions = buildUnnamed7550(); - o.nodes = buildUnnamed7551(); + o.nodes = buildUnnamed7629(); o.perSliEligibility = buildGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility(); o.tier = 'foo'; @@ -790,8 +717,7 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata < 3) { - checkUnnamed7550(o.exclusions!); - checkUnnamed7551(o.nodes!); + checkUnnamed7629(o.nodes!); checkGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( o.perSliEligibility!); unittest.expect( @@ -802,23 +728,23 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata--; } -core.List buildUnnamed7552() => [ +core.List buildUnnamed7630() => [ buildFileShareConfig(), buildFileShareConfig(), ]; -void checkUnnamed7552(core.List o) { +void checkUnnamed7630(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileShareConfig(o[0]); checkFileShareConfig(o[1]); } -core.Map buildUnnamed7553() => { +core.Map buildUnnamed7631() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7553(core.Map o) { +void checkUnnamed7631(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -830,12 +756,12 @@ void checkUnnamed7553(core.Map o) { ); } -core.List buildUnnamed7554() => [ +core.List buildUnnamed7632() => [ buildNetworkConfig(), buildNetworkConfig(), ]; -void checkUnnamed7554(core.List o) { +void checkUnnamed7632(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkConfig(o[0]); checkNetworkConfig(o[1]); @@ -849,10 +775,10 @@ api.Instance buildInstance() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.fileShares = buildUnnamed7552(); - o.labels = buildUnnamed7553(); + o.fileShares = buildUnnamed7630(); + o.labels = buildUnnamed7631(); o.name = 'foo'; - o.networks = buildUnnamed7554(); + o.networks = buildUnnamed7632(); o.satisfiesPzs = true; o.state = 'foo'; o.statusMessage = 'foo'; @@ -877,13 +803,13 @@ void checkInstance(api.Instance o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed7552(o.fileShares!); - checkUnnamed7553(o.labels!); + checkUnnamed7630(o.fileShares!); + checkUnnamed7631(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7554(o.networks!); + checkUnnamed7632(o.networks!); unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.state!, @@ -901,23 +827,23 @@ void checkInstance(api.Instance o) { buildCounterInstance--; } -core.List buildUnnamed7555() => [ +core.List buildUnnamed7633() => [ buildBackup(), buildBackup(), ]; -void checkUnnamed7555(core.List o) { +void checkUnnamed7633(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackup(o[0]); checkBackup(o[1]); } -core.List buildUnnamed7556() => [ +core.List buildUnnamed7634() => [ 'foo', 'foo', ]; -void checkUnnamed7556(core.List o) { +void checkUnnamed7634(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -934,9 +860,9 @@ api.ListBackupsResponse buildListBackupsResponse() { final o = api.ListBackupsResponse(); buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - o.backups = buildUnnamed7555(); + o.backups = buildUnnamed7633(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed7556(); + o.unreachable = buildUnnamed7634(); } buildCounterListBackupsResponse--; return o; @@ -945,33 +871,33 @@ api.ListBackupsResponse buildListBackupsResponse() { void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - checkUnnamed7555(o.backups!); + checkUnnamed7633(o.backups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7556(o.unreachable!); + checkUnnamed7634(o.unreachable!); } buildCounterListBackupsResponse--; } -core.List buildUnnamed7557() => [ +core.List buildUnnamed7635() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed7557(core.List o) { +void checkUnnamed7635(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); } -core.List buildUnnamed7558() => [ +core.List buildUnnamed7636() => [ 'foo', 'foo', ]; -void checkUnnamed7558(core.List o) { +void checkUnnamed7636(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -988,9 +914,9 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed7557(); + o.instances = buildUnnamed7635(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed7558(); + o.unreachable = buildUnnamed7636(); } buildCounterListInstancesResponse--; return o; @@ -999,22 +925,22 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed7557(o.instances!); + checkUnnamed7635(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7558(o.unreachable!); + checkUnnamed7636(o.unreachable!); } buildCounterListInstancesResponse--; } -core.List buildUnnamed7559() => [ +core.List buildUnnamed7637() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed7559(core.List o) { +void checkUnnamed7637(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1025,7 +951,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed7559(); + o.locations = buildUnnamed7637(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1035,7 +961,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed7559(o.locations!); + checkUnnamed7637(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1044,12 +970,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed7560() => [ +core.List buildUnnamed7638() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed7560(core.List o) { +void checkUnnamed7638(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1061,7 +987,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed7560(); + o.operations = buildUnnamed7638(); } buildCounterListOperationsResponse--; return o; @@ -1074,17 +1000,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7560(o.operations!); + checkUnnamed7638(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed7561() => { +core.Map buildUnnamed7639() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7561(core.Map o) { +void checkUnnamed7639(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1096,7 +1022,7 @@ void checkUnnamed7561(core.Map o) { ); } -core.Map buildUnnamed7562() => { +core.Map buildUnnamed7640() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1109,7 +1035,7 @@ core.Map buildUnnamed7562() => { }, }; -void checkUnnamed7562(core.Map o) { +void checkUnnamed7640(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1147,9 +1073,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed7561(); + o.labels = buildUnnamed7639(); o.locationId = 'foo'; - o.metadata = buildUnnamed7562(); + o.metadata = buildUnnamed7640(); o.name = 'foo'; } buildCounterLocation--; @@ -1163,12 +1089,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed7561(o.labels!); + checkUnnamed7639(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed7562(o.metadata!); + checkUnnamed7640(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1177,12 +1103,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed7563() => { +core.Map buildUnnamed7641() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7563(core.Map o) { +void checkUnnamed7641(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1201,7 +1127,7 @@ api.MaintenancePolicy buildMaintenancePolicy() { if (buildCounterMaintenancePolicy < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed7563(); + o.labels = buildUnnamed7641(); o.name = 'foo'; o.state = 'foo'; o.updatePolicy = buildUpdatePolicy(); @@ -1222,7 +1148,7 @@ void checkMaintenancePolicy(api.MaintenancePolicy o) { o.description!, unittest.equals('foo'), ); - checkUnnamed7563(o.labels!); + checkUnnamed7641(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1261,12 +1187,12 @@ void checkMaintenanceWindow(api.MaintenanceWindow o) { buildCounterMaintenanceWindow--; } -core.List buildUnnamed7564() => [ +core.List buildUnnamed7642() => [ 'foo', 'foo', ]; -void checkUnnamed7564(core.List o) { +void checkUnnamed7642(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1278,12 +1204,12 @@ void checkUnnamed7564(core.List o) { ); } -core.List buildUnnamed7565() => [ +core.List buildUnnamed7643() => [ 'foo', 'foo', ]; -void checkUnnamed7565(core.List o) { +void checkUnnamed7643(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1300,8 +1226,8 @@ api.NetworkConfig buildNetworkConfig() { final o = api.NetworkConfig(); buildCounterNetworkConfig++; if (buildCounterNetworkConfig < 3) { - o.ipAddresses = buildUnnamed7564(); - o.modes = buildUnnamed7565(); + o.ipAddresses = buildUnnamed7642(); + o.modes = buildUnnamed7643(); o.network = 'foo'; o.reservedIpRange = 'foo'; } @@ -1312,8 +1238,8 @@ api.NetworkConfig buildNetworkConfig() { void checkNetworkConfig(api.NetworkConfig o) { buildCounterNetworkConfig++; if (buildCounterNetworkConfig < 3) { - checkUnnamed7564(o.ipAddresses!); - checkUnnamed7565(o.modes!); + checkUnnamed7642(o.ipAddresses!); + checkUnnamed7643(o.modes!); unittest.expect( o.network!, unittest.equals('foo'), @@ -1326,12 +1252,12 @@ void checkNetworkConfig(api.NetworkConfig o) { buildCounterNetworkConfig--; } -core.List buildUnnamed7566() => [ +core.List buildUnnamed7644() => [ 'foo', 'foo', ]; -void checkUnnamed7566(core.List o) { +void checkUnnamed7644(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1351,7 +1277,7 @@ api.NfsExportOptions buildNfsExportOptions() { o.accessMode = 'foo'; o.anonGid = 'foo'; o.anonUid = 'foo'; - o.ipRanges = buildUnnamed7566(); + o.ipRanges = buildUnnamed7644(); o.squashMode = 'foo'; } buildCounterNfsExportOptions--; @@ -1373,7 +1299,7 @@ void checkNfsExportOptions(api.NfsExportOptions o) { o.anonUid!, unittest.equals('foo'), ); - checkUnnamed7566(o.ipRanges!); + checkUnnamed7644(o.ipRanges!); unittest.expect( o.squashMode!, unittest.equals('foo'), @@ -1382,7 +1308,7 @@ void checkNfsExportOptions(api.NfsExportOptions o) { buildCounterNfsExportOptions--; } -core.Map buildUnnamed7567() => { +core.Map buildUnnamed7645() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1395,7 +1321,7 @@ core.Map buildUnnamed7567() => { }, }; -void checkUnnamed7567(core.Map o) { +void checkUnnamed7645(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1427,7 +1353,7 @@ void checkUnnamed7567(core.Map o) { ); } -core.Map buildUnnamed7568() => { +core.Map buildUnnamed7646() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1440,7 +1366,7 @@ core.Map buildUnnamed7568() => { }, }; -void checkUnnamed7568(core.Map o) { +void checkUnnamed7646(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1479,9 +1405,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7567(); + o.metadata = buildUnnamed7645(); o.name = 'foo'; - o.response = buildUnnamed7568(); + o.response = buildUnnamed7646(); } buildCounterOperation--; return o; @@ -1492,12 +1418,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7567(o.metadata!); + checkUnnamed7645(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7568(o.response!); + checkUnnamed7646(o.response!); } buildCounterOperation--; } @@ -1607,7 +1533,7 @@ void checkSchedule(api.Schedule o) { buildCounterSchedule--; } -core.Map buildUnnamed7569() => { +core.Map buildUnnamed7647() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1620,7 +1546,7 @@ core.Map buildUnnamed7569() => { }, }; -void checkUnnamed7569(core.Map o) { +void checkUnnamed7647(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1652,15 +1578,15 @@ void checkUnnamed7569(core.Map o) { ); } -core.List> buildUnnamed7570() => [ - buildUnnamed7569(), - buildUnnamed7569(), +core.List> buildUnnamed7648() => [ + buildUnnamed7647(), + buildUnnamed7647(), ]; -void checkUnnamed7570(core.List> o) { +void checkUnnamed7648(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7569(o[0]); - checkUnnamed7569(o[1]); + checkUnnamed7647(o[0]); + checkUnnamed7647(o[1]); } core.int buildCounterStatus = 0; @@ -1669,7 +1595,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7570(); + o.details = buildUnnamed7648(); o.message = 'foo'; } buildCounterStatus--; @@ -1683,7 +1609,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7570(o.details!); + checkUnnamed7648(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1729,12 +1655,12 @@ void checkTimeOfDay(api.TimeOfDay o) { buildCounterTimeOfDay--; } -core.List buildUnnamed7571() => [ +core.List buildUnnamed7649() => [ buildDenyMaintenancePeriod(), buildDenyMaintenancePeriod(), ]; -void checkUnnamed7571(core.List o) { +void checkUnnamed7649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDenyMaintenancePeriod(o[0]); checkDenyMaintenancePeriod(o[1]); @@ -1746,7 +1672,7 @@ api.UpdatePolicy buildUpdatePolicy() { buildCounterUpdatePolicy++; if (buildCounterUpdatePolicy < 3) { o.channel = 'foo'; - o.denyMaintenancePeriods = buildUnnamed7571(); + o.denyMaintenancePeriods = buildUnnamed7649(); o.window = buildMaintenanceWindow(); } buildCounterUpdatePolicy--; @@ -1760,18 +1686,18 @@ void checkUpdatePolicy(api.UpdatePolicy o) { o.channel!, unittest.equals('foo'), ); - checkUnnamed7571(o.denyMaintenancePeriods!); + checkUnnamed7649(o.denyMaintenancePeriods!); checkMaintenanceWindow(o.window!); } buildCounterUpdatePolicy--; } -core.List buildUnnamed7572() => [ +core.List buildUnnamed7650() => [ buildSchedule(), buildSchedule(), ]; -void checkUnnamed7572(core.List o) { +void checkUnnamed7650(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchedule(o[0]); checkSchedule(o[1]); @@ -1782,7 +1708,7 @@ api.WeeklyCycle buildWeeklyCycle() { final o = api.WeeklyCycle(); buildCounterWeeklyCycle++; if (buildCounterWeeklyCycle < 3) { - o.schedule = buildUnnamed7572(); + o.schedule = buildUnnamed7650(); } buildCounterWeeklyCycle--; return o; @@ -1791,7 +1717,7 @@ api.WeeklyCycle buildWeeklyCycle() { void checkWeeklyCycle(api.WeeklyCycle o) { buildCounterWeeklyCycle++; if (buildCounterWeeklyCycle < 3) { - checkUnnamed7572(o.schedule!); + checkUnnamed7650(o.schedule!); } buildCounterWeeklyCycle--; } @@ -1967,19 +1893,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - .fromJson(oJson as core.Map); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(od); - }); - }); - unittest.group( 'obj-schema-GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata', () { diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart index 6ba35a44c..1da5948cc 100644 --- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart +++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart @@ -120,12 +120,12 @@ void checkCreateManagedShortLinkRequest(api.CreateManagedShortLinkRequest o) { buildCounterCreateManagedShortLinkRequest--; } -core.List buildUnnamed3632() => [ +core.List buildUnnamed3576() => [ buildDynamicLinkWarning(), buildDynamicLinkWarning(), ]; -void checkUnnamed3632(core.List o) { +void checkUnnamed3576(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicLinkWarning(o[0]); checkDynamicLinkWarning(o[1]); @@ -138,7 +138,7 @@ api.CreateManagedShortLinkResponse buildCreateManagedShortLinkResponse() { if (buildCounterCreateManagedShortLinkResponse < 3) { o.managedShortLink = buildManagedShortLink(); o.previewLink = 'foo'; - o.warning = buildUnnamed3632(); + o.warning = buildUnnamed3576(); } buildCounterCreateManagedShortLinkResponse--; return o; @@ -152,7 +152,7 @@ void checkCreateManagedShortLinkResponse(api.CreateManagedShortLinkResponse o) { o.previewLink!, unittest.equals('foo'), ); - checkUnnamed3632(o.warning!); + checkUnnamed3576(o.warning!); } buildCounterCreateManagedShortLinkResponse--; } @@ -188,12 +188,12 @@ void checkCreateShortDynamicLinkRequest(api.CreateShortDynamicLinkRequest o) { buildCounterCreateShortDynamicLinkRequest--; } -core.List buildUnnamed3633() => [ +core.List buildUnnamed3577() => [ buildDynamicLinkWarning(), buildDynamicLinkWarning(), ]; -void checkUnnamed3633(core.List o) { +void checkUnnamed3577(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicLinkWarning(o[0]); checkDynamicLinkWarning(o[1]); @@ -206,7 +206,7 @@ api.CreateShortDynamicLinkResponse buildCreateShortDynamicLinkResponse() { if (buildCounterCreateShortDynamicLinkResponse < 3) { o.previewLink = 'foo'; o.shortLink = 'foo'; - o.warning = buildUnnamed3633(); + o.warning = buildUnnamed3577(); } buildCounterCreateShortDynamicLinkResponse--; return o; @@ -223,7 +223,7 @@ void checkCreateShortDynamicLinkResponse(api.CreateShortDynamicLinkResponse o) { o.shortLink!, unittest.equals('foo'), ); - checkUnnamed3633(o.warning!); + checkUnnamed3577(o.warning!); } buildCounterCreateShortDynamicLinkResponse--; } @@ -378,12 +378,12 @@ void checkDynamicLinkInfo(api.DynamicLinkInfo o) { buildCounterDynamicLinkInfo--; } -core.List buildUnnamed3634() => [ +core.List buildUnnamed3578() => [ buildDynamicLinkEventStat(), buildDynamicLinkEventStat(), ]; -void checkUnnamed3634(core.List o) { +void checkUnnamed3578(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicLinkEventStat(o[0]); checkDynamicLinkEventStat(o[1]); @@ -394,7 +394,7 @@ api.DynamicLinkStats buildDynamicLinkStats() { final o = api.DynamicLinkStats(); buildCounterDynamicLinkStats++; if (buildCounterDynamicLinkStats < 3) { - o.linkEventStats = buildUnnamed3634(); + o.linkEventStats = buildUnnamed3578(); } buildCounterDynamicLinkStats--; return o; @@ -403,7 +403,7 @@ api.DynamicLinkStats buildDynamicLinkStats() { void checkDynamicLinkStats(api.DynamicLinkStats o) { buildCounterDynamicLinkStats++; if (buildCounterDynamicLinkStats < 3) { - checkUnnamed3634(o.linkEventStats!); + checkUnnamed3578(o.linkEventStats!); } buildCounterDynamicLinkStats--; } @@ -823,12 +823,12 @@ void checkIosInfo(api.IosInfo o) { buildCounterIosInfo--; } -core.List buildUnnamed3635() => [ +core.List buildUnnamed3579() => [ 'foo', 'foo', ]; -void checkUnnamed3635(core.List o) { +void checkUnnamed3579(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -846,7 +846,7 @@ api.ManagedShortLink buildManagedShortLink() { buildCounterManagedShortLink++; if (buildCounterManagedShortLink < 3) { o.creationTime = 'foo'; - o.flaggedAttribute = buildUnnamed3635(); + o.flaggedAttribute = buildUnnamed3579(); o.info = buildDynamicLinkInfo(); o.link = 'foo'; o.linkName = 'foo'; @@ -863,7 +863,7 @@ void checkManagedShortLink(api.ManagedShortLink o) { o.creationTime!, unittest.equals('foo'), ); - checkUnnamed3635(o.flaggedAttribute!); + checkUnnamed3579(o.flaggedAttribute!); checkDynamicLinkInfo(o.info!); unittest.expect( o.link!, diff --git a/generated/googleapis/test/firebasehosting/v1_test.dart b/generated/googleapis/test/firebasehosting/v1_test.dart index dd89a8a1e..6be61af52 100644 --- a/generated/googleapis/test/firebasehosting/v1_test.dart +++ b/generated/googleapis/test/firebasehosting/v1_test.dart @@ -56,12 +56,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed7366() => [ +core.List buildUnnamed7446() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed7366(core.List o) { +void checkUnnamed7446(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -73,7 +73,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed7366(); + o.operations = buildUnnamed7446(); } buildCounterListOperationsResponse--; return o; @@ -86,12 +86,12 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7366(o.operations!); + checkUnnamed7446(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed7367() => { +core.Map buildUnnamed7447() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -104,7 +104,7 @@ core.Map buildUnnamed7367() => { }, }; -void checkUnnamed7367(core.Map o) { +void checkUnnamed7447(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -136,7 +136,7 @@ void checkUnnamed7367(core.Map o) { ); } -core.Map buildUnnamed7368() => { +core.Map buildUnnamed7448() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -149,7 +149,7 @@ core.Map buildUnnamed7368() => { }, }; -void checkUnnamed7368(core.Map o) { +void checkUnnamed7448(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -188,9 +188,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7367(); + o.metadata = buildUnnamed7447(); o.name = 'foo'; - o.response = buildUnnamed7368(); + o.response = buildUnnamed7448(); } buildCounterOperation--; return o; @@ -201,17 +201,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7367(o.metadata!); + checkUnnamed7447(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7368(o.response!); + checkUnnamed7448(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed7369() => { +core.Map buildUnnamed7449() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -224,7 +224,7 @@ core.Map buildUnnamed7369() => { }, }; -void checkUnnamed7369(core.Map o) { +void checkUnnamed7449(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -256,15 +256,15 @@ void checkUnnamed7369(core.Map o) { ); } -core.List> buildUnnamed7370() => [ - buildUnnamed7369(), - buildUnnamed7369(), +core.List> buildUnnamed7450() => [ + buildUnnamed7449(), + buildUnnamed7449(), ]; -void checkUnnamed7370(core.List> o) { +void checkUnnamed7450(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7369(o[0]); - checkUnnamed7369(o[1]); + checkUnnamed7449(o[0]); + checkUnnamed7449(o[1]); } core.int buildCounterStatus = 0; @@ -273,7 +273,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7370(); + o.details = buildUnnamed7450(); o.message = 'foo'; } buildCounterStatus--; @@ -287,7 +287,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7370(o.details!); + checkUnnamed7450(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/firebaseml/v1_test.dart b/generated/googleapis/test/firebaseml/v1_test.dart index b4c27efb0..d1ae530e7 100644 --- a/generated/googleapis/test/firebaseml/v1_test.dart +++ b/generated/googleapis/test/firebaseml/v1_test.dart @@ -56,12 +56,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed6906() => [ +core.List buildUnnamed6982() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6906(core.List o) { +void checkUnnamed6982(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -73,7 +73,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6906(); + o.operations = buildUnnamed6982(); } buildCounterListOperationsResponse--; return o; @@ -86,7 +86,7 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6906(o.operations!); + checkUnnamed6982(o.operations!); } buildCounterListOperationsResponse--; } @@ -118,7 +118,7 @@ void checkModelOperationMetadata(api.ModelOperationMetadata o) { buildCounterModelOperationMetadata--; } -core.Map buildUnnamed6907() => { +core.Map buildUnnamed6983() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -131,7 +131,7 @@ core.Map buildUnnamed6907() => { }, }; -void checkUnnamed6907(core.Map o) { +void checkUnnamed6983(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -163,7 +163,7 @@ void checkUnnamed6907(core.Map o) { ); } -core.Map buildUnnamed6908() => { +core.Map buildUnnamed6984() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -176,7 +176,7 @@ core.Map buildUnnamed6908() => { }, }; -void checkUnnamed6908(core.Map o) { +void checkUnnamed6984(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -215,9 +215,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6907(); + o.metadata = buildUnnamed6983(); o.name = 'foo'; - o.response = buildUnnamed6908(); + o.response = buildUnnamed6984(); } buildCounterOperation--; return o; @@ -228,17 +228,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6907(o.metadata!); + checkUnnamed6983(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6908(o.response!); + checkUnnamed6984(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed6909() => { +core.Map buildUnnamed6985() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -251,7 +251,7 @@ core.Map buildUnnamed6909() => { }, }; -void checkUnnamed6909(core.Map o) { +void checkUnnamed6985(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -283,15 +283,15 @@ void checkUnnamed6909(core.Map o) { ); } -core.List> buildUnnamed6910() => [ - buildUnnamed6909(), - buildUnnamed6909(), +core.List> buildUnnamed6986() => [ + buildUnnamed6985(), + buildUnnamed6985(), ]; -void checkUnnamed6910(core.List> o) { +void checkUnnamed6986(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6909(o[0]); - checkUnnamed6909(o[1]); + checkUnnamed6985(o[0]); + checkUnnamed6985(o[1]); } core.int buildCounterStatus = 0; @@ -300,7 +300,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6910(); + o.details = buildUnnamed6986(); o.message = 'foo'; } buildCounterStatus--; @@ -314,7 +314,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6910(o.details!); + checkUnnamed6986(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart index 743ea536b..a743d4811 100644 --- a/generated/googleapis/test/firebaserules/v1_test.dart +++ b/generated/googleapis/test/firebaserules/v1_test.dart @@ -79,23 +79,23 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed7523() => [ +core.List buildUnnamed7603() => [ buildExpressionReport(), buildExpressionReport(), ]; -void checkUnnamed7523(core.List o) { +void checkUnnamed7603(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExpressionReport(o[0]); checkExpressionReport(o[1]); } -core.List buildUnnamed7524() => [ +core.List buildUnnamed7604() => [ buildValueCount(), buildValueCount(), ]; -void checkUnnamed7524(core.List o) { +void checkUnnamed7604(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValueCount(o[0]); checkValueCount(o[1]); @@ -106,9 +106,9 @@ api.ExpressionReport buildExpressionReport() { final o = api.ExpressionReport(); buildCounterExpressionReport++; if (buildCounterExpressionReport < 3) { - o.children = buildUnnamed7523(); + o.children = buildUnnamed7603(); o.sourcePosition = buildSourcePosition(); - o.values = buildUnnamed7524(); + o.values = buildUnnamed7604(); } buildCounterExpressionReport--; return o; @@ -117,9 +117,9 @@ api.ExpressionReport buildExpressionReport() { void checkExpressionReport(api.ExpressionReport o) { buildCounterExpressionReport++; if (buildCounterExpressionReport < 3) { - checkUnnamed7523(o.children!); + checkUnnamed7603(o.children!); checkSourcePosition(o.sourcePosition!); - checkUnnamed7524(o.values!); + checkUnnamed7604(o.values!); } buildCounterExpressionReport--; } @@ -156,7 +156,7 @@ void checkFile(api.File o) { buildCounterFile--; } -core.List buildUnnamed7525() => [ +core.List buildUnnamed7605() => [ { 'list': [1, 2, 3], 'bool': true, @@ -169,7 +169,7 @@ core.List buildUnnamed7525() => [ }, ]; -void checkUnnamed7525(core.List o) { +void checkUnnamed7605(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted2 = (o[0]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); @@ -206,7 +206,7 @@ api.FunctionCall buildFunctionCall() { final o = api.FunctionCall(); buildCounterFunctionCall++; if (buildCounterFunctionCall < 3) { - o.args = buildUnnamed7525(); + o.args = buildUnnamed7605(); o.function = 'foo'; } buildCounterFunctionCall--; @@ -216,7 +216,7 @@ api.FunctionCall buildFunctionCall() { void checkFunctionCall(api.FunctionCall o) { buildCounterFunctionCall++; if (buildCounterFunctionCall < 3) { - checkUnnamed7525(o.args!); + checkUnnamed7605(o.args!); unittest.expect( o.function!, unittest.equals('foo'), @@ -225,12 +225,12 @@ void checkFunctionCall(api.FunctionCall o) { buildCounterFunctionCall--; } -core.List buildUnnamed7526() => [ +core.List buildUnnamed7606() => [ buildArg(), buildArg(), ]; -void checkUnnamed7526(core.List o) { +void checkUnnamed7606(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArg(o[0]); checkArg(o[1]); @@ -241,7 +241,7 @@ api.FunctionMock buildFunctionMock() { final o = api.FunctionMock(); buildCounterFunctionMock++; if (buildCounterFunctionMock < 3) { - o.args = buildUnnamed7526(); + o.args = buildUnnamed7606(); o.function = 'foo'; o.result = buildResult(); } @@ -252,7 +252,7 @@ api.FunctionMock buildFunctionMock() { void checkFunctionMock(api.FunctionMock o) { buildCounterFunctionMock++; if (buildCounterFunctionMock < 3) { - checkUnnamed7526(o.args!); + checkUnnamed7606(o.args!); unittest.expect( o.function!, unittest.equals('foo'), @@ -338,12 +338,12 @@ void checkIssue(api.Issue o) { buildCounterIssue--; } -core.List buildUnnamed7527() => [ +core.List buildUnnamed7607() => [ buildRelease(), buildRelease(), ]; -void checkUnnamed7527(core.List o) { +void checkUnnamed7607(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelease(o[0]); checkRelease(o[1]); @@ -355,7 +355,7 @@ api.ListReleasesResponse buildListReleasesResponse() { buildCounterListReleasesResponse++; if (buildCounterListReleasesResponse < 3) { o.nextPageToken = 'foo'; - o.releases = buildUnnamed7527(); + o.releases = buildUnnamed7607(); } buildCounterListReleasesResponse--; return o; @@ -368,17 +368,17 @@ void checkListReleasesResponse(api.ListReleasesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7527(o.releases!); + checkUnnamed7607(o.releases!); } buildCounterListReleasesResponse--; } -core.List buildUnnamed7528() => [ +core.List buildUnnamed7608() => [ buildRuleset(), buildRuleset(), ]; -void checkUnnamed7528(core.List o) { +void checkUnnamed7608(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuleset(o[0]); checkRuleset(o[1]); @@ -390,7 +390,7 @@ api.ListRulesetsResponse buildListRulesetsResponse() { buildCounterListRulesetsResponse++; if (buildCounterListRulesetsResponse < 3) { o.nextPageToken = 'foo'; - o.rulesets = buildUnnamed7528(); + o.rulesets = buildUnnamed7608(); } buildCounterListRulesetsResponse--; return o; @@ -403,17 +403,17 @@ void checkListRulesetsResponse(api.ListRulesetsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7528(o.rulesets!); + checkUnnamed7608(o.rulesets!); } buildCounterListRulesetsResponse--; } -core.List buildUnnamed7529() => [ +core.List buildUnnamed7609() => [ 'foo', 'foo', ]; -void checkUnnamed7529(core.List o) { +void checkUnnamed7609(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -430,7 +430,7 @@ api.Metadata buildMetadata() { final o = api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.services = buildUnnamed7529(); + o.services = buildUnnamed7609(); } buildCounterMetadata--; return o; @@ -439,7 +439,7 @@ api.Metadata buildMetadata() { void checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed7529(o.services!); + checkUnnamed7609(o.services!); } buildCounterMetadata--; } @@ -550,12 +550,12 @@ void checkRuleset(api.Ruleset o) { buildCounterRuleset--; } -core.List buildUnnamed7530() => [ +core.List buildUnnamed7610() => [ buildFile(), buildFile(), ]; -void checkUnnamed7530(core.List o) { +void checkUnnamed7610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -566,7 +566,7 @@ api.Source buildSource() { final o = api.Source(); buildCounterSource++; if (buildCounterSource < 3) { - o.files = buildUnnamed7530(); + o.files = buildUnnamed7610(); } buildCounterSource--; return o; @@ -575,7 +575,7 @@ api.Source buildSource() { void checkSource(api.Source o) { buildCounterSource++; if (buildCounterSource < 3) { - checkUnnamed7530(o.files!); + checkUnnamed7610(o.files!); } buildCounterSource--; } @@ -622,12 +622,12 @@ void checkSourcePosition(api.SourcePosition o) { buildCounterSourcePosition--; } -core.List buildUnnamed7531() => [ +core.List buildUnnamed7611() => [ buildFunctionMock(), buildFunctionMock(), ]; -void checkUnnamed7531(core.List o) { +void checkUnnamed7611(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFunctionMock(o[0]); checkFunctionMock(o[1]); @@ -640,7 +640,7 @@ api.TestCase buildTestCase() { if (buildCounterTestCase < 3) { o.expectation = 'foo'; o.expressionReportLevel = 'foo'; - o.functionMocks = buildUnnamed7531(); + o.functionMocks = buildUnnamed7611(); o.pathEncoding = 'foo'; o.request = { 'list': [1, 2, 3], @@ -668,7 +668,7 @@ void checkTestCase(api.TestCase o) { o.expressionReportLevel!, unittest.equals('foo'), ); - checkUnnamed7531(o.functionMocks!); + checkUnnamed7611(o.functionMocks!); unittest.expect( o.pathEncoding!, unittest.equals('foo'), @@ -705,12 +705,12 @@ void checkTestCase(api.TestCase o) { buildCounterTestCase--; } -core.List buildUnnamed7532() => [ +core.List buildUnnamed7612() => [ 'foo', 'foo', ]; -void checkUnnamed7532(core.List o) { +void checkUnnamed7612(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -722,34 +722,34 @@ void checkUnnamed7532(core.List o) { ); } -core.List buildUnnamed7533() => [ +core.List buildUnnamed7613() => [ buildExpressionReport(), buildExpressionReport(), ]; -void checkUnnamed7533(core.List o) { +void checkUnnamed7613(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExpressionReport(o[0]); checkExpressionReport(o[1]); } -core.List buildUnnamed7534() => [ +core.List buildUnnamed7614() => [ buildFunctionCall(), buildFunctionCall(), ]; -void checkUnnamed7534(core.List o) { +void checkUnnamed7614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFunctionCall(o[0]); checkFunctionCall(o[1]); } -core.List buildUnnamed7535() => [ +core.List buildUnnamed7615() => [ buildVisitedExpression(), buildVisitedExpression(), ]; -void checkUnnamed7535(core.List o) { +void checkUnnamed7615(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVisitedExpression(o[0]); checkVisitedExpression(o[1]); @@ -760,12 +760,12 @@ api.TestResult buildTestResult() { final o = api.TestResult(); buildCounterTestResult++; if (buildCounterTestResult < 3) { - o.debugMessages = buildUnnamed7532(); + o.debugMessages = buildUnnamed7612(); o.errorPosition = buildSourcePosition(); - o.expressionReports = buildUnnamed7533(); - o.functionCalls = buildUnnamed7534(); + o.expressionReports = buildUnnamed7613(); + o.functionCalls = buildUnnamed7614(); o.state = 'foo'; - o.visitedExpressions = buildUnnamed7535(); + o.visitedExpressions = buildUnnamed7615(); } buildCounterTestResult--; return o; @@ -774,15 +774,15 @@ api.TestResult buildTestResult() { void checkTestResult(api.TestResult o) { buildCounterTestResult++; if (buildCounterTestResult < 3) { - checkUnnamed7532(o.debugMessages!); + checkUnnamed7612(o.debugMessages!); checkSourcePosition(o.errorPosition!); - checkUnnamed7533(o.expressionReports!); - checkUnnamed7534(o.functionCalls!); + checkUnnamed7613(o.expressionReports!); + checkUnnamed7614(o.functionCalls!); unittest.expect( o.state!, unittest.equals('foo'), ); - checkUnnamed7535(o.visitedExpressions!); + checkUnnamed7615(o.visitedExpressions!); } buildCounterTestResult--; } @@ -808,23 +808,23 @@ void checkTestRulesetRequest(api.TestRulesetRequest o) { buildCounterTestRulesetRequest--; } -core.List buildUnnamed7536() => [ +core.List buildUnnamed7616() => [ buildIssue(), buildIssue(), ]; -void checkUnnamed7536(core.List o) { +void checkUnnamed7616(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIssue(o[0]); checkIssue(o[1]); } -core.List buildUnnamed7537() => [ +core.List buildUnnamed7617() => [ buildTestResult(), buildTestResult(), ]; -void checkUnnamed7537(core.List o) { +void checkUnnamed7617(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestResult(o[0]); checkTestResult(o[1]); @@ -835,8 +835,8 @@ api.TestRulesetResponse buildTestRulesetResponse() { final o = api.TestRulesetResponse(); buildCounterTestRulesetResponse++; if (buildCounterTestRulesetResponse < 3) { - o.issues = buildUnnamed7536(); - o.testResults = buildUnnamed7537(); + o.issues = buildUnnamed7616(); + o.testResults = buildUnnamed7617(); } buildCounterTestRulesetResponse--; return o; @@ -845,18 +845,18 @@ api.TestRulesetResponse buildTestRulesetResponse() { void checkTestRulesetResponse(api.TestRulesetResponse o) { buildCounterTestRulesetResponse++; if (buildCounterTestRulesetResponse < 3) { - checkUnnamed7536(o.issues!); - checkUnnamed7537(o.testResults!); + checkUnnamed7616(o.issues!); + checkUnnamed7617(o.testResults!); } buildCounterTestRulesetResponse--; } -core.List buildUnnamed7538() => [ +core.List buildUnnamed7618() => [ buildTestCase(), buildTestCase(), ]; -void checkUnnamed7538(core.List o) { +void checkUnnamed7618(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestCase(o[0]); checkTestCase(o[1]); @@ -867,7 +867,7 @@ api.TestSuite buildTestSuite() { final o = api.TestSuite(); buildCounterTestSuite++; if (buildCounterTestSuite < 3) { - o.testCases = buildUnnamed7538(); + o.testCases = buildUnnamed7618(); } buildCounterTestSuite--; return o; @@ -876,7 +876,7 @@ api.TestSuite buildTestSuite() { void checkTestSuite(api.TestSuite o) { buildCounterTestSuite++; if (buildCounterTestSuite < 3) { - checkUnnamed7538(o.testCases!); + checkUnnamed7618(o.testCases!); } buildCounterTestSuite--; } diff --git a/generated/googleapis/test/firestore/v1_test.dart b/generated/googleapis/test/firestore/v1_test.dart index 7ca9d7a9f..ded02cae4 100644 --- a/generated/googleapis/test/firestore/v1_test.dart +++ b/generated/googleapis/test/firestore/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed4525() => [ +core.List buildUnnamed4538() => [ buildValue(), buildValue(), ]; -void checkUnnamed4525(core.List o) { +void checkUnnamed4538(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -42,7 +42,7 @@ api.ArrayValue buildArrayValue() { final o = api.ArrayValue(); buildCounterArrayValue++; if (buildCounterArrayValue < 3) { - o.values = buildUnnamed4525(); + o.values = buildUnnamed4538(); } buildCounterArrayValue--; return o; @@ -51,17 +51,17 @@ api.ArrayValue buildArrayValue() { void checkArrayValue(api.ArrayValue o) { buildCounterArrayValue++; if (buildCounterArrayValue < 3) { - checkUnnamed4525(o.values!); + checkUnnamed4538(o.values!); } buildCounterArrayValue--; } -core.List buildUnnamed4526() => [ +core.List buildUnnamed4539() => [ 'foo', 'foo', ]; -void checkUnnamed4526(core.List o) { +void checkUnnamed4539(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -78,7 +78,7 @@ api.BatchGetDocumentsRequest buildBatchGetDocumentsRequest() { final o = api.BatchGetDocumentsRequest(); buildCounterBatchGetDocumentsRequest++; if (buildCounterBatchGetDocumentsRequest < 3) { - o.documents = buildUnnamed4526(); + o.documents = buildUnnamed4539(); o.mask = buildDocumentMask(); o.newTransaction = buildTransactionOptions(); o.readTime = 'foo'; @@ -91,7 +91,7 @@ api.BatchGetDocumentsRequest buildBatchGetDocumentsRequest() { void checkBatchGetDocumentsRequest(api.BatchGetDocumentsRequest o) { buildCounterBatchGetDocumentsRequest++; if (buildCounterBatchGetDocumentsRequest < 3) { - checkUnnamed4526(o.documents!); + checkUnnamed4539(o.documents!); checkDocumentMask(o.mask!); checkTransactionOptions(o.newTransaction!); unittest.expect( @@ -140,12 +140,12 @@ void checkBatchGetDocumentsResponse(api.BatchGetDocumentsResponse o) { buildCounterBatchGetDocumentsResponse--; } -core.Map buildUnnamed4527() => { +core.Map buildUnnamed4540() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4527(core.Map o) { +void checkUnnamed4540(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -157,12 +157,12 @@ void checkUnnamed4527(core.Map o) { ); } -core.List buildUnnamed4528() => [ +core.List buildUnnamed4541() => [ buildWrite(), buildWrite(), ]; -void checkUnnamed4528(core.List o) { +void checkUnnamed4541(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWrite(o[0]); checkWrite(o[1]); @@ -173,8 +173,8 @@ api.BatchWriteRequest buildBatchWriteRequest() { final o = api.BatchWriteRequest(); buildCounterBatchWriteRequest++; if (buildCounterBatchWriteRequest < 3) { - o.labels = buildUnnamed4527(); - o.writes = buildUnnamed4528(); + o.labels = buildUnnamed4540(); + o.writes = buildUnnamed4541(); } buildCounterBatchWriteRequest--; return o; @@ -183,29 +183,29 @@ api.BatchWriteRequest buildBatchWriteRequest() { void checkBatchWriteRequest(api.BatchWriteRequest o) { buildCounterBatchWriteRequest++; if (buildCounterBatchWriteRequest < 3) { - checkUnnamed4527(o.labels!); - checkUnnamed4528(o.writes!); + checkUnnamed4540(o.labels!); + checkUnnamed4541(o.writes!); } buildCounterBatchWriteRequest--; } -core.List buildUnnamed4529() => [ +core.List buildUnnamed4542() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed4529(core.List o) { +void checkUnnamed4542(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); } -core.List buildUnnamed4530() => [ +core.List buildUnnamed4543() => [ buildWriteResult(), buildWriteResult(), ]; -void checkUnnamed4530(core.List o) { +void checkUnnamed4543(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWriteResult(o[0]); checkWriteResult(o[1]); @@ -216,8 +216,8 @@ api.BatchWriteResponse buildBatchWriteResponse() { final o = api.BatchWriteResponse(); buildCounterBatchWriteResponse++; if (buildCounterBatchWriteResponse < 3) { - o.status = buildUnnamed4529(); - o.writeResults = buildUnnamed4530(); + o.status = buildUnnamed4542(); + o.writeResults = buildUnnamed4543(); } buildCounterBatchWriteResponse--; return o; @@ -226,8 +226,8 @@ api.BatchWriteResponse buildBatchWriteResponse() { void checkBatchWriteResponse(api.BatchWriteResponse o) { buildCounterBatchWriteResponse++; if (buildCounterBatchWriteResponse < 3) { - checkUnnamed4529(o.status!); - checkUnnamed4530(o.writeResults!); + checkUnnamed4542(o.status!); + checkUnnamed4543(o.writeResults!); } buildCounterBatchWriteResponse--; } @@ -297,12 +297,12 @@ void checkCollectionSelector(api.CollectionSelector o) { buildCounterCollectionSelector--; } -core.List buildUnnamed4531() => [ +core.List buildUnnamed4544() => [ buildWrite(), buildWrite(), ]; -void checkUnnamed4531(core.List o) { +void checkUnnamed4544(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWrite(o[0]); checkWrite(o[1]); @@ -314,7 +314,7 @@ api.CommitRequest buildCommitRequest() { buildCounterCommitRequest++; if (buildCounterCommitRequest < 3) { o.transaction = 'foo'; - o.writes = buildUnnamed4531(); + o.writes = buildUnnamed4544(); } buildCounterCommitRequest--; return o; @@ -327,17 +327,17 @@ void checkCommitRequest(api.CommitRequest o) { o.transaction!, unittest.equals('foo'), ); - checkUnnamed4531(o.writes!); + checkUnnamed4544(o.writes!); } buildCounterCommitRequest--; } -core.List buildUnnamed4532() => [ +core.List buildUnnamed4545() => [ buildWriteResult(), buildWriteResult(), ]; -void checkUnnamed4532(core.List o) { +void checkUnnamed4545(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWriteResult(o[0]); checkWriteResult(o[1]); @@ -349,7 +349,7 @@ api.CommitResponse buildCommitResponse() { buildCounterCommitResponse++; if (buildCounterCommitResponse < 3) { o.commitTime = 'foo'; - o.writeResults = buildUnnamed4532(); + o.writeResults = buildUnnamed4545(); } buildCounterCommitResponse--; return o; @@ -362,17 +362,17 @@ void checkCommitResponse(api.CommitResponse o) { o.commitTime!, unittest.equals('foo'), ); - checkUnnamed4532(o.writeResults!); + checkUnnamed4545(o.writeResults!); } buildCounterCommitResponse--; } -core.List buildUnnamed4533() => [ +core.List buildUnnamed4546() => [ buildFilter(), buildFilter(), ]; -void checkUnnamed4533(core.List o) { +void checkUnnamed4546(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilter(o[0]); checkFilter(o[1]); @@ -383,7 +383,7 @@ api.CompositeFilter buildCompositeFilter() { final o = api.CompositeFilter(); buildCounterCompositeFilter++; if (buildCounterCompositeFilter < 3) { - o.filters = buildUnnamed4533(); + o.filters = buildUnnamed4546(); o.op = 'foo'; } buildCounterCompositeFilter--; @@ -393,7 +393,7 @@ api.CompositeFilter buildCompositeFilter() { void checkCompositeFilter(api.CompositeFilter o) { buildCounterCompositeFilter++; if (buildCounterCompositeFilter < 3) { - checkUnnamed4533(o.filters!); + checkUnnamed4546(o.filters!); unittest.expect( o.op!, unittest.equals('foo'), @@ -402,12 +402,12 @@ void checkCompositeFilter(api.CompositeFilter o) { buildCounterCompositeFilter--; } -core.List buildUnnamed4534() => [ +core.List buildUnnamed4547() => [ buildValue(), buildValue(), ]; -void checkUnnamed4534(core.List o) { +void checkUnnamed4547(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -419,7 +419,7 @@ api.Cursor buildCursor() { buildCounterCursor++; if (buildCounterCursor < 3) { o.before = true; - o.values = buildUnnamed4534(); + o.values = buildUnnamed4547(); } buildCounterCursor--; return o; @@ -429,17 +429,17 @@ void checkCursor(api.Cursor o) { buildCounterCursor++; if (buildCounterCursor < 3) { unittest.expect(o.before!, unittest.isTrue); - checkUnnamed4534(o.values!); + checkUnnamed4547(o.values!); } buildCounterCursor--; } -core.Map buildUnnamed4535() => { +core.Map buildUnnamed4548() => { 'x': buildValue(), 'y': buildValue(), }; -void checkUnnamed4535(core.Map o) { +void checkUnnamed4548(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o['x']!); checkValue(o['y']!); @@ -451,7 +451,7 @@ api.Document buildDocument() { buildCounterDocument++; if (buildCounterDocument < 3) { o.createTime = 'foo'; - o.fields = buildUnnamed4535(); + o.fields = buildUnnamed4548(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -466,7 +466,7 @@ void checkDocument(api.Document o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed4535(o.fields!); + checkUnnamed4548(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -479,12 +479,12 @@ void checkDocument(api.Document o) { buildCounterDocument--; } -core.List buildUnnamed4536() => [ +core.List buildUnnamed4549() => [ 42, 42, ]; -void checkUnnamed4536(core.List o) { +void checkUnnamed4549(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -496,12 +496,12 @@ void checkUnnamed4536(core.List o) { ); } -core.List buildUnnamed4537() => [ +core.List buildUnnamed4550() => [ 42, 42, ]; -void checkUnnamed4537(core.List o) { +void checkUnnamed4550(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -519,8 +519,8 @@ api.DocumentChange buildDocumentChange() { buildCounterDocumentChange++; if (buildCounterDocumentChange < 3) { o.document = buildDocument(); - o.removedTargetIds = buildUnnamed4536(); - o.targetIds = buildUnnamed4537(); + o.removedTargetIds = buildUnnamed4549(); + o.targetIds = buildUnnamed4550(); } buildCounterDocumentChange--; return o; @@ -530,18 +530,18 @@ void checkDocumentChange(api.DocumentChange o) { buildCounterDocumentChange++; if (buildCounterDocumentChange < 3) { checkDocument(o.document!); - checkUnnamed4536(o.removedTargetIds!); - checkUnnamed4537(o.targetIds!); + checkUnnamed4549(o.removedTargetIds!); + checkUnnamed4550(o.targetIds!); } buildCounterDocumentChange--; } -core.List buildUnnamed4538() => [ +core.List buildUnnamed4551() => [ 42, 42, ]; -void checkUnnamed4538(core.List o) { +void checkUnnamed4551(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -560,7 +560,7 @@ api.DocumentDelete buildDocumentDelete() { if (buildCounterDocumentDelete < 3) { o.document = 'foo'; o.readTime = 'foo'; - o.removedTargetIds = buildUnnamed4538(); + o.removedTargetIds = buildUnnamed4551(); } buildCounterDocumentDelete--; return o; @@ -577,17 +577,17 @@ void checkDocumentDelete(api.DocumentDelete o) { o.readTime!, unittest.equals('foo'), ); - checkUnnamed4538(o.removedTargetIds!); + checkUnnamed4551(o.removedTargetIds!); } buildCounterDocumentDelete--; } -core.List buildUnnamed4539() => [ +core.List buildUnnamed4552() => [ 'foo', 'foo', ]; -void checkUnnamed4539(core.List o) { +void checkUnnamed4552(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -604,7 +604,7 @@ api.DocumentMask buildDocumentMask() { final o = api.DocumentMask(); buildCounterDocumentMask++; if (buildCounterDocumentMask < 3) { - o.fieldPaths = buildUnnamed4539(); + o.fieldPaths = buildUnnamed4552(); } buildCounterDocumentMask--; return o; @@ -613,17 +613,17 @@ api.DocumentMask buildDocumentMask() { void checkDocumentMask(api.DocumentMask o) { buildCounterDocumentMask++; if (buildCounterDocumentMask < 3) { - checkUnnamed4539(o.fieldPaths!); + checkUnnamed4552(o.fieldPaths!); } buildCounterDocumentMask--; } -core.List buildUnnamed4540() => [ +core.List buildUnnamed4553() => [ 42, 42, ]; -void checkUnnamed4540(core.List o) { +void checkUnnamed4553(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -642,7 +642,7 @@ api.DocumentRemove buildDocumentRemove() { if (buildCounterDocumentRemove < 3) { o.document = 'foo'; o.readTime = 'foo'; - o.removedTargetIds = buildUnnamed4540(); + o.removedTargetIds = buildUnnamed4553(); } buildCounterDocumentRemove--; return o; @@ -659,17 +659,17 @@ void checkDocumentRemove(api.DocumentRemove o) { o.readTime!, unittest.equals('foo'), ); - checkUnnamed4540(o.removedTargetIds!); + checkUnnamed4553(o.removedTargetIds!); } buildCounterDocumentRemove--; } -core.List buildUnnamed4541() => [ +core.List buildUnnamed4554() => [ buildFieldTransform(), buildFieldTransform(), ]; -void checkUnnamed4541(core.List o) { +void checkUnnamed4554(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFieldTransform(o[0]); checkFieldTransform(o[1]); @@ -681,7 +681,7 @@ api.DocumentTransform buildDocumentTransform() { buildCounterDocumentTransform++; if (buildCounterDocumentTransform < 3) { o.document = 'foo'; - o.fieldTransforms = buildUnnamed4541(); + o.fieldTransforms = buildUnnamed4554(); } buildCounterDocumentTransform--; return o; @@ -694,17 +694,17 @@ void checkDocumentTransform(api.DocumentTransform o) { o.document!, unittest.equals('foo'), ); - checkUnnamed4541(o.fieldTransforms!); + checkUnnamed4554(o.fieldTransforms!); } buildCounterDocumentTransform--; } -core.List buildUnnamed4542() => [ +core.List buildUnnamed4555() => [ 'foo', 'foo', ]; -void checkUnnamed4542(core.List o) { +void checkUnnamed4555(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -721,7 +721,7 @@ api.DocumentsTarget buildDocumentsTarget() { final o = api.DocumentsTarget(); buildCounterDocumentsTarget++; if (buildCounterDocumentsTarget < 3) { - o.documents = buildUnnamed4542(); + o.documents = buildUnnamed4555(); } buildCounterDocumentsTarget--; return o; @@ -730,7 +730,7 @@ api.DocumentsTarget buildDocumentsTarget() { void checkDocumentsTarget(api.DocumentsTarget o) { buildCounterDocumentsTarget++; if (buildCounterDocumentsTarget < 3) { - checkUnnamed4542(o.documents!); + checkUnnamed4555(o.documents!); } buildCounterDocumentsTarget--; } @@ -885,12 +885,12 @@ void checkFilter(api.Filter o) { buildCounterFilter--; } -core.List buildUnnamed4543() => [ +core.List buildUnnamed4556() => [ 'foo', 'foo', ]; -void checkUnnamed4543(core.List o) { +void checkUnnamed4556(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -908,7 +908,7 @@ api.GoogleFirestoreAdminV1ExportDocumentsMetadata final o = api.GoogleFirestoreAdminV1ExportDocumentsMetadata(); buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata++; if (buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata < 3) { - o.collectionIds = buildUnnamed4543(); + o.collectionIds = buildUnnamed4556(); o.endTime = 'foo'; o.operationState = 'foo'; o.outputUriPrefix = 'foo'; @@ -924,7 +924,7 @@ void checkGoogleFirestoreAdminV1ExportDocumentsMetadata( api.GoogleFirestoreAdminV1ExportDocumentsMetadata o) { buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata++; if (buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata < 3) { - checkUnnamed4543(o.collectionIds!); + checkUnnamed4556(o.collectionIds!); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -947,12 +947,12 @@ void checkGoogleFirestoreAdminV1ExportDocumentsMetadata( buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata--; } -core.List buildUnnamed4544() => [ +core.List buildUnnamed4557() => [ 'foo', 'foo', ]; -void checkUnnamed4544(core.List o) { +void checkUnnamed4557(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -970,7 +970,7 @@ api.GoogleFirestoreAdminV1ExportDocumentsRequest final o = api.GoogleFirestoreAdminV1ExportDocumentsRequest(); buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest++; if (buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest < 3) { - o.collectionIds = buildUnnamed4544(); + o.collectionIds = buildUnnamed4557(); o.outputUriPrefix = 'foo'; } buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest--; @@ -981,7 +981,7 @@ void checkGoogleFirestoreAdminV1ExportDocumentsRequest( api.GoogleFirestoreAdminV1ExportDocumentsRequest o) { buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest++; if (buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest < 3) { - checkUnnamed4544(o.collectionIds!); + checkUnnamed4557(o.collectionIds!); unittest.expect( o.outputUriPrefix!, unittest.equals('foo'), @@ -1038,12 +1038,12 @@ void checkGoogleFirestoreAdminV1Field(api.GoogleFirestoreAdminV1Field o) { buildCounterGoogleFirestoreAdminV1Field--; } -core.List buildUnnamed4545() => [ +core.List buildUnnamed4558() => [ buildGoogleFirestoreAdminV1IndexConfigDelta(), buildGoogleFirestoreAdminV1IndexConfigDelta(), ]; -void checkUnnamed4545(core.List o) { +void checkUnnamed4558(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirestoreAdminV1IndexConfigDelta(o[0]); checkGoogleFirestoreAdminV1IndexConfigDelta(o[1]); @@ -1057,7 +1057,7 @@ api.GoogleFirestoreAdminV1FieldOperationMetadata if (buildCounterGoogleFirestoreAdminV1FieldOperationMetadata < 3) { o.endTime = 'foo'; o.field = 'foo'; - o.indexConfigDeltas = buildUnnamed4545(); + o.indexConfigDeltas = buildUnnamed4558(); o.progressBytes = buildGoogleFirestoreAdminV1Progress(); o.progressDocuments = buildGoogleFirestoreAdminV1Progress(); o.startTime = 'foo'; @@ -1079,7 +1079,7 @@ void checkGoogleFirestoreAdminV1FieldOperationMetadata( o.field!, unittest.equals('foo'), ); - checkUnnamed4545(o.indexConfigDeltas!); + checkUnnamed4558(o.indexConfigDeltas!); checkGoogleFirestoreAdminV1Progress(o.progressBytes!); checkGoogleFirestoreAdminV1Progress(o.progressDocuments!); unittest.expect( @@ -1094,12 +1094,12 @@ void checkGoogleFirestoreAdminV1FieldOperationMetadata( buildCounterGoogleFirestoreAdminV1FieldOperationMetadata--; } -core.List buildUnnamed4546() => [ +core.List buildUnnamed4559() => [ 'foo', 'foo', ]; -void checkUnnamed4546(core.List o) { +void checkUnnamed4559(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1117,7 +1117,7 @@ api.GoogleFirestoreAdminV1ImportDocumentsMetadata final o = api.GoogleFirestoreAdminV1ImportDocumentsMetadata(); buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata++; if (buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata < 3) { - o.collectionIds = buildUnnamed4546(); + o.collectionIds = buildUnnamed4559(); o.endTime = 'foo'; o.inputUriPrefix = 'foo'; o.operationState = 'foo'; @@ -1133,7 +1133,7 @@ void checkGoogleFirestoreAdminV1ImportDocumentsMetadata( api.GoogleFirestoreAdminV1ImportDocumentsMetadata o) { buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata++; if (buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata < 3) { - checkUnnamed4546(o.collectionIds!); + checkUnnamed4559(o.collectionIds!); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -1156,12 +1156,12 @@ void checkGoogleFirestoreAdminV1ImportDocumentsMetadata( buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata--; } -core.List buildUnnamed4547() => [ +core.List buildUnnamed4560() => [ 'foo', 'foo', ]; -void checkUnnamed4547(core.List o) { +void checkUnnamed4560(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1179,7 +1179,7 @@ api.GoogleFirestoreAdminV1ImportDocumentsRequest final o = api.GoogleFirestoreAdminV1ImportDocumentsRequest(); buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest++; if (buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest < 3) { - o.collectionIds = buildUnnamed4547(); + o.collectionIds = buildUnnamed4560(); o.inputUriPrefix = 'foo'; } buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest--; @@ -1190,7 +1190,7 @@ void checkGoogleFirestoreAdminV1ImportDocumentsRequest( api.GoogleFirestoreAdminV1ImportDocumentsRequest o) { buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest++; if (buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest < 3) { - checkUnnamed4547(o.collectionIds!); + checkUnnamed4560(o.collectionIds!); unittest.expect( o.inputUriPrefix!, unittest.equals('foo'), @@ -1199,12 +1199,12 @@ void checkGoogleFirestoreAdminV1ImportDocumentsRequest( buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest--; } -core.List buildUnnamed4548() => [ +core.List buildUnnamed4561() => [ buildGoogleFirestoreAdminV1IndexField(), buildGoogleFirestoreAdminV1IndexField(), ]; -void checkUnnamed4548(core.List o) { +void checkUnnamed4561(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirestoreAdminV1IndexField(o[0]); checkGoogleFirestoreAdminV1IndexField(o[1]); @@ -1215,7 +1215,7 @@ api.GoogleFirestoreAdminV1Index buildGoogleFirestoreAdminV1Index() { final o = api.GoogleFirestoreAdminV1Index(); buildCounterGoogleFirestoreAdminV1Index++; if (buildCounterGoogleFirestoreAdminV1Index < 3) { - o.fields = buildUnnamed4548(); + o.fields = buildUnnamed4561(); o.name = 'foo'; o.queryScope = 'foo'; o.state = 'foo'; @@ -1227,7 +1227,7 @@ api.GoogleFirestoreAdminV1Index buildGoogleFirestoreAdminV1Index() { void checkGoogleFirestoreAdminV1Index(api.GoogleFirestoreAdminV1Index o) { buildCounterGoogleFirestoreAdminV1Index++; if (buildCounterGoogleFirestoreAdminV1Index < 3) { - checkUnnamed4548(o.fields!); + checkUnnamed4561(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1244,12 +1244,12 @@ void checkGoogleFirestoreAdminV1Index(api.GoogleFirestoreAdminV1Index o) { buildCounterGoogleFirestoreAdminV1Index--; } -core.List buildUnnamed4549() => [ +core.List buildUnnamed4562() => [ buildGoogleFirestoreAdminV1Index(), buildGoogleFirestoreAdminV1Index(), ]; -void checkUnnamed4549(core.List o) { +void checkUnnamed4562(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirestoreAdminV1Index(o[0]); checkGoogleFirestoreAdminV1Index(o[1]); @@ -1261,7 +1261,7 @@ api.GoogleFirestoreAdminV1IndexConfig buildGoogleFirestoreAdminV1IndexConfig() { buildCounterGoogleFirestoreAdminV1IndexConfig++; if (buildCounterGoogleFirestoreAdminV1IndexConfig < 3) { o.ancestorField = 'foo'; - o.indexes = buildUnnamed4549(); + o.indexes = buildUnnamed4562(); o.reverting = true; o.usesAncestorConfig = true; } @@ -1277,7 +1277,7 @@ void checkGoogleFirestoreAdminV1IndexConfig( o.ancestorField!, unittest.equals('foo'), ); - checkUnnamed4549(o.indexes!); + checkUnnamed4562(o.indexes!); unittest.expect(o.reverting!, unittest.isTrue); unittest.expect(o.usesAncestorConfig!, unittest.isTrue); } @@ -1386,12 +1386,12 @@ void checkGoogleFirestoreAdminV1IndexOperationMetadata( buildCounterGoogleFirestoreAdminV1IndexOperationMetadata--; } -core.List buildUnnamed4550() => [ +core.List buildUnnamed4563() => [ buildGoogleFirestoreAdminV1Field(), buildGoogleFirestoreAdminV1Field(), ]; -void checkUnnamed4550(core.List o) { +void checkUnnamed4563(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirestoreAdminV1Field(o[0]); checkGoogleFirestoreAdminV1Field(o[1]); @@ -1403,7 +1403,7 @@ api.GoogleFirestoreAdminV1ListFieldsResponse final o = api.GoogleFirestoreAdminV1ListFieldsResponse(); buildCounterGoogleFirestoreAdminV1ListFieldsResponse++; if (buildCounterGoogleFirestoreAdminV1ListFieldsResponse < 3) { - o.fields = buildUnnamed4550(); + o.fields = buildUnnamed4563(); o.nextPageToken = 'foo'; } buildCounterGoogleFirestoreAdminV1ListFieldsResponse--; @@ -1414,7 +1414,7 @@ void checkGoogleFirestoreAdminV1ListFieldsResponse( api.GoogleFirestoreAdminV1ListFieldsResponse o) { buildCounterGoogleFirestoreAdminV1ListFieldsResponse++; if (buildCounterGoogleFirestoreAdminV1ListFieldsResponse < 3) { - checkUnnamed4550(o.fields!); + checkUnnamed4563(o.fields!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1423,12 +1423,12 @@ void checkGoogleFirestoreAdminV1ListFieldsResponse( buildCounterGoogleFirestoreAdminV1ListFieldsResponse--; } -core.List buildUnnamed4551() => [ +core.List buildUnnamed4564() => [ buildGoogleFirestoreAdminV1Index(), buildGoogleFirestoreAdminV1Index(), ]; -void checkUnnamed4551(core.List o) { +void checkUnnamed4564(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirestoreAdminV1Index(o[0]); checkGoogleFirestoreAdminV1Index(o[1]); @@ -1440,7 +1440,7 @@ api.GoogleFirestoreAdminV1ListIndexesResponse final o = api.GoogleFirestoreAdminV1ListIndexesResponse(); buildCounterGoogleFirestoreAdminV1ListIndexesResponse++; if (buildCounterGoogleFirestoreAdminV1ListIndexesResponse < 3) { - o.indexes = buildUnnamed4551(); + o.indexes = buildUnnamed4564(); o.nextPageToken = 'foo'; } buildCounterGoogleFirestoreAdminV1ListIndexesResponse--; @@ -1451,7 +1451,7 @@ void checkGoogleFirestoreAdminV1ListIndexesResponse( api.GoogleFirestoreAdminV1ListIndexesResponse o) { buildCounterGoogleFirestoreAdminV1ListIndexesResponse++; if (buildCounterGoogleFirestoreAdminV1ListIndexesResponse < 3) { - checkUnnamed4551(o.indexes!); + checkUnnamed4564(o.indexes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1521,12 +1521,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed4552() => [ +core.List buildUnnamed4565() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed4552(core.List o) { +void checkUnnamed4565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -1539,7 +1539,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4552(); + o.operations = buildUnnamed4565(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -1553,12 +1553,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4552(o.operations!); + checkUnnamed4565(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed4553() => { +core.Map buildUnnamed4566() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1571,7 +1571,7 @@ core.Map buildUnnamed4553() => { }, }; -void checkUnnamed4553(core.Map o) { +void checkUnnamed4566(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1603,7 +1603,7 @@ void checkUnnamed4553(core.Map o) { ); } -core.Map buildUnnamed4554() => { +core.Map buildUnnamed4567() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1616,7 +1616,7 @@ core.Map buildUnnamed4554() => { }, }; -void checkUnnamed4554(core.Map o) { +void checkUnnamed4567(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1655,9 +1655,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4553(); + o.metadata = buildUnnamed4566(); o.name = 'foo'; - o.response = buildUnnamed4554(); + o.response = buildUnnamed4567(); } buildCounterGoogleLongrunningOperation--; return o; @@ -1668,12 +1668,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4553(o.metadata!); + checkUnnamed4566(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4554(o.response!); + checkUnnamed4567(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -1732,12 +1732,12 @@ void checkListCollectionIdsRequest(api.ListCollectionIdsRequest o) { buildCounterListCollectionIdsRequest--; } -core.List buildUnnamed4555() => [ +core.List buildUnnamed4568() => [ 'foo', 'foo', ]; -void checkUnnamed4555(core.List o) { +void checkUnnamed4568(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1754,7 +1754,7 @@ api.ListCollectionIdsResponse buildListCollectionIdsResponse() { final o = api.ListCollectionIdsResponse(); buildCounterListCollectionIdsResponse++; if (buildCounterListCollectionIdsResponse < 3) { - o.collectionIds = buildUnnamed4555(); + o.collectionIds = buildUnnamed4568(); o.nextPageToken = 'foo'; } buildCounterListCollectionIdsResponse--; @@ -1764,7 +1764,7 @@ api.ListCollectionIdsResponse buildListCollectionIdsResponse() { void checkListCollectionIdsResponse(api.ListCollectionIdsResponse o) { buildCounterListCollectionIdsResponse++; if (buildCounterListCollectionIdsResponse < 3) { - checkUnnamed4555(o.collectionIds!); + checkUnnamed4568(o.collectionIds!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1773,12 +1773,12 @@ void checkListCollectionIdsResponse(api.ListCollectionIdsResponse o) { buildCounterListCollectionIdsResponse--; } -core.List buildUnnamed4556() => [ +core.List buildUnnamed4569() => [ buildDocument(), buildDocument(), ]; -void checkUnnamed4556(core.List o) { +void checkUnnamed4569(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDocument(o[0]); checkDocument(o[1]); @@ -1789,7 +1789,7 @@ api.ListDocumentsResponse buildListDocumentsResponse() { final o = api.ListDocumentsResponse(); buildCounterListDocumentsResponse++; if (buildCounterListDocumentsResponse < 3) { - o.documents = buildUnnamed4556(); + o.documents = buildUnnamed4569(); o.nextPageToken = 'foo'; } buildCounterListDocumentsResponse--; @@ -1799,7 +1799,7 @@ api.ListDocumentsResponse buildListDocumentsResponse() { void checkListDocumentsResponse(api.ListDocumentsResponse o) { buildCounterListDocumentsResponse++; if (buildCounterListDocumentsResponse < 3) { - checkUnnamed4556(o.documents!); + checkUnnamed4569(o.documents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1808,12 +1808,12 @@ void checkListDocumentsResponse(api.ListDocumentsResponse o) { buildCounterListDocumentsResponse--; } -core.List buildUnnamed4557() => [ +core.List buildUnnamed4570() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed4557(core.List o) { +void checkUnnamed4570(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1824,7 +1824,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed4557(); + o.locations = buildUnnamed4570(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1834,7 +1834,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed4557(o.locations!); + checkUnnamed4570(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1843,12 +1843,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.Map buildUnnamed4558() => { +core.Map buildUnnamed4571() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4558(core.Map o) { +void checkUnnamed4571(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1866,7 +1866,7 @@ api.ListenRequest buildListenRequest() { buildCounterListenRequest++; if (buildCounterListenRequest < 3) { o.addTarget = buildTarget(); - o.labels = buildUnnamed4558(); + o.labels = buildUnnamed4571(); o.removeTarget = 42; } buildCounterListenRequest--; @@ -1877,7 +1877,7 @@ void checkListenRequest(api.ListenRequest o) { buildCounterListenRequest++; if (buildCounterListenRequest < 3) { checkTarget(o.addTarget!); - checkUnnamed4558(o.labels!); + checkUnnamed4571(o.labels!); unittest.expect( o.removeTarget!, unittest.equals(42), @@ -1913,12 +1913,12 @@ void checkListenResponse(api.ListenResponse o) { buildCounterListenResponse--; } -core.Map buildUnnamed4559() => { +core.Map buildUnnamed4572() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4559(core.Map o) { +void checkUnnamed4572(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1930,7 +1930,7 @@ void checkUnnamed4559(core.Map o) { ); } -core.Map buildUnnamed4560() => { +core.Map buildUnnamed4573() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1943,7 +1943,7 @@ core.Map buildUnnamed4560() => { }, }; -void checkUnnamed4560(core.Map o) { +void checkUnnamed4573(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1981,9 +1981,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed4559(); + o.labels = buildUnnamed4572(); o.locationId = 'foo'; - o.metadata = buildUnnamed4560(); + o.metadata = buildUnnamed4573(); o.name = 'foo'; } buildCounterLocation--; @@ -1997,12 +1997,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4559(o.labels!); + checkUnnamed4572(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed4560(o.metadata!); + checkUnnamed4573(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2011,12 +2011,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed4561() => { +core.Map buildUnnamed4574() => { 'x': buildValue(), 'y': buildValue(), }; -void checkUnnamed4561(core.Map o) { +void checkUnnamed4574(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o['x']!); checkValue(o['y']!); @@ -2027,7 +2027,7 @@ api.MapValue buildMapValue() { final o = api.MapValue(); buildCounterMapValue++; if (buildCounterMapValue < 3) { - o.fields = buildUnnamed4561(); + o.fields = buildUnnamed4574(); } buildCounterMapValue--; return o; @@ -2036,7 +2036,7 @@ api.MapValue buildMapValue() { void checkMapValue(api.MapValue o) { buildCounterMapValue++; if (buildCounterMapValue < 3) { - checkUnnamed4561(o.fields!); + checkUnnamed4574(o.fields!); } buildCounterMapValue--; } @@ -2099,12 +2099,12 @@ void checkPartitionQueryRequest(api.PartitionQueryRequest o) { buildCounterPartitionQueryRequest--; } -core.List buildUnnamed4562() => [ +core.List buildUnnamed4575() => [ buildCursor(), buildCursor(), ]; -void checkUnnamed4562(core.List o) { +void checkUnnamed4575(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCursor(o[0]); checkCursor(o[1]); @@ -2116,7 +2116,7 @@ api.PartitionQueryResponse buildPartitionQueryResponse() { buildCounterPartitionQueryResponse++; if (buildCounterPartitionQueryResponse < 3) { o.nextPageToken = 'foo'; - o.partitions = buildUnnamed4562(); + o.partitions = buildUnnamed4575(); } buildCounterPartitionQueryResponse--; return o; @@ -2129,7 +2129,7 @@ void checkPartitionQueryResponse(api.PartitionQueryResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4562(o.partitions!); + checkUnnamed4575(o.partitions!); } buildCounterPartitionQueryResponse--; } @@ -2158,12 +2158,12 @@ void checkPrecondition(api.Precondition o) { buildCounterPrecondition--; } -core.List buildUnnamed4563() => [ +core.List buildUnnamed4576() => [ buildFieldReference(), buildFieldReference(), ]; -void checkUnnamed4563(core.List o) { +void checkUnnamed4576(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFieldReference(o[0]); checkFieldReference(o[1]); @@ -2174,7 +2174,7 @@ api.Projection buildProjection() { final o = api.Projection(); buildCounterProjection++; if (buildCounterProjection < 3) { - o.fields = buildUnnamed4563(); + o.fields = buildUnnamed4576(); } buildCounterProjection--; return o; @@ -2183,7 +2183,7 @@ api.Projection buildProjection() { void checkProjection(api.Projection o) { buildCounterProjection++; if (buildCounterProjection < 3) { - checkUnnamed4563(o.fields!); + checkUnnamed4576(o.fields!); } buildCounterProjection--; } @@ -2343,7 +2343,7 @@ void checkRunQueryResponse(api.RunQueryResponse o) { buildCounterRunQueryResponse--; } -core.Map buildUnnamed4564() => { +core.Map buildUnnamed4577() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2356,7 +2356,7 @@ core.Map buildUnnamed4564() => { }, }; -void checkUnnamed4564(core.Map o) { +void checkUnnamed4577(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2388,15 +2388,15 @@ void checkUnnamed4564(core.Map o) { ); } -core.List> buildUnnamed4565() => [ - buildUnnamed4564(), - buildUnnamed4564(), +core.List> buildUnnamed4578() => [ + buildUnnamed4577(), + buildUnnamed4577(), ]; -void checkUnnamed4565(core.List> o) { +void checkUnnamed4578(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4564(o[0]); - checkUnnamed4564(o[1]); + checkUnnamed4577(o[0]); + checkUnnamed4577(o[1]); } core.int buildCounterStatus = 0; @@ -2405,7 +2405,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4565(); + o.details = buildUnnamed4578(); o.message = 'foo'; } buildCounterStatus--; @@ -2419,7 +2419,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4565(o.details!); + checkUnnamed4578(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2428,23 +2428,23 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed4566() => [ +core.List buildUnnamed4579() => [ buildCollectionSelector(), buildCollectionSelector(), ]; -void checkUnnamed4566(core.List o) { +void checkUnnamed4579(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectionSelector(o[0]); checkCollectionSelector(o[1]); } -core.List buildUnnamed4567() => [ +core.List buildUnnamed4580() => [ buildOrder(), buildOrder(), ]; -void checkUnnamed4567(core.List o) { +void checkUnnamed4580(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrder(o[0]); checkOrder(o[1]); @@ -2456,10 +2456,10 @@ api.StructuredQuery buildStructuredQuery() { buildCounterStructuredQuery++; if (buildCounterStructuredQuery < 3) { o.endAt = buildCursor(); - o.from = buildUnnamed4566(); + o.from = buildUnnamed4579(); o.limit = 42; o.offset = 42; - o.orderBy = buildUnnamed4567(); + o.orderBy = buildUnnamed4580(); o.select = buildProjection(); o.startAt = buildCursor(); o.where = buildFilter(); @@ -2472,7 +2472,7 @@ void checkStructuredQuery(api.StructuredQuery o) { buildCounterStructuredQuery++; if (buildCounterStructuredQuery < 3) { checkCursor(o.endAt!); - checkUnnamed4566(o.from!); + checkUnnamed4579(o.from!); unittest.expect( o.limit!, unittest.equals(42), @@ -2481,7 +2481,7 @@ void checkStructuredQuery(api.StructuredQuery o) { o.offset!, unittest.equals(42), ); - checkUnnamed4567(o.orderBy!); + checkUnnamed4580(o.orderBy!); checkProjection(o.select!); checkCursor(o.startAt!); checkFilter(o.where!); @@ -2527,12 +2527,12 @@ void checkTarget(api.Target o) { buildCounterTarget--; } -core.List buildUnnamed4568() => [ +core.List buildUnnamed4581() => [ 42, 42, ]; -void checkUnnamed4568(core.List o) { +void checkUnnamed4581(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2553,7 +2553,7 @@ api.TargetChange buildTargetChange() { o.readTime = 'foo'; o.resumeToken = 'foo'; o.targetChangeType = 'foo'; - o.targetIds = buildUnnamed4568(); + o.targetIds = buildUnnamed4581(); } buildCounterTargetChange--; return o; @@ -2575,7 +2575,7 @@ void checkTargetChange(api.TargetChange o) { o.targetChangeType!, unittest.equals('foo'), ); - checkUnnamed4568(o.targetIds!); + checkUnnamed4581(o.targetIds!); } buildCounterTargetChange--; } @@ -2685,12 +2685,12 @@ void checkValue(api.Value o) { buildCounterValue--; } -core.List buildUnnamed4569() => [ +core.List buildUnnamed4582() => [ buildFieldTransform(), buildFieldTransform(), ]; -void checkUnnamed4569(core.List o) { +void checkUnnamed4582(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFieldTransform(o[0]); checkFieldTransform(o[1]); @@ -2706,7 +2706,7 @@ api.Write buildWrite() { o.transform = buildDocumentTransform(); o.update = buildDocument(); o.updateMask = buildDocumentMask(); - o.updateTransforms = buildUnnamed4569(); + o.updateTransforms = buildUnnamed4582(); } buildCounterWrite--; return o; @@ -2723,17 +2723,17 @@ void checkWrite(api.Write o) { checkDocumentTransform(o.transform!); checkDocument(o.update!); checkDocumentMask(o.updateMask!); - checkUnnamed4569(o.updateTransforms!); + checkUnnamed4582(o.updateTransforms!); } buildCounterWrite--; } -core.Map buildUnnamed4570() => { +core.Map buildUnnamed4583() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4570(core.Map o) { +void checkUnnamed4583(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2745,12 +2745,12 @@ void checkUnnamed4570(core.Map o) { ); } -core.List buildUnnamed4571() => [ +core.List buildUnnamed4584() => [ buildWrite(), buildWrite(), ]; -void checkUnnamed4571(core.List o) { +void checkUnnamed4584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWrite(o[0]); checkWrite(o[1]); @@ -2761,10 +2761,10 @@ api.WriteRequest buildWriteRequest() { final o = api.WriteRequest(); buildCounterWriteRequest++; if (buildCounterWriteRequest < 3) { - o.labels = buildUnnamed4570(); + o.labels = buildUnnamed4583(); o.streamId = 'foo'; o.streamToken = 'foo'; - o.writes = buildUnnamed4571(); + o.writes = buildUnnamed4584(); } buildCounterWriteRequest--; return o; @@ -2773,7 +2773,7 @@ api.WriteRequest buildWriteRequest() { void checkWriteRequest(api.WriteRequest o) { buildCounterWriteRequest++; if (buildCounterWriteRequest < 3) { - checkUnnamed4570(o.labels!); + checkUnnamed4583(o.labels!); unittest.expect( o.streamId!, unittest.equals('foo'), @@ -2782,17 +2782,17 @@ void checkWriteRequest(api.WriteRequest o) { o.streamToken!, unittest.equals('foo'), ); - checkUnnamed4571(o.writes!); + checkUnnamed4584(o.writes!); } buildCounterWriteRequest--; } -core.List buildUnnamed4572() => [ +core.List buildUnnamed4585() => [ buildWriteResult(), buildWriteResult(), ]; -void checkUnnamed4572(core.List o) { +void checkUnnamed4585(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWriteResult(o[0]); checkWriteResult(o[1]); @@ -2806,7 +2806,7 @@ api.WriteResponse buildWriteResponse() { o.commitTime = 'foo'; o.streamId = 'foo'; o.streamToken = 'foo'; - o.writeResults = buildUnnamed4572(); + o.writeResults = buildUnnamed4585(); } buildCounterWriteResponse--; return o; @@ -2827,17 +2827,17 @@ void checkWriteResponse(api.WriteResponse o) { o.streamToken!, unittest.equals('foo'), ); - checkUnnamed4572(o.writeResults!); + checkUnnamed4585(o.writeResults!); } buildCounterWriteResponse--; } -core.List buildUnnamed4573() => [ +core.List buildUnnamed4586() => [ buildValue(), buildValue(), ]; -void checkUnnamed4573(core.List o) { +void checkUnnamed4586(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -2848,7 +2848,7 @@ api.WriteResult buildWriteResult() { final o = api.WriteResult(); buildCounterWriteResult++; if (buildCounterWriteResult < 3) { - o.transformResults = buildUnnamed4573(); + o.transformResults = buildUnnamed4586(); o.updateTime = 'foo'; } buildCounterWriteResult--; @@ -2858,7 +2858,7 @@ api.WriteResult buildWriteResult() { void checkWriteResult(api.WriteResult o) { buildCounterWriteResult++; if (buildCounterWriteResult < 3) { - checkUnnamed4573(o.transformResults!); + checkUnnamed4586(o.transformResults!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -2867,12 +2867,12 @@ void checkWriteResult(api.WriteResult o) { buildCounterWriteResult--; } -core.List buildUnnamed4574() => [ +core.List buildUnnamed4587() => [ 'foo', 'foo', ]; -void checkUnnamed4574(core.List o) { +void checkUnnamed4587(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2884,12 +2884,12 @@ void checkUnnamed4574(core.List o) { ); } -core.List buildUnnamed4575() => [ +core.List buildUnnamed4588() => [ 'foo', 'foo', ]; -void checkUnnamed4575(core.List o) { +void checkUnnamed4588(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2901,12 +2901,12 @@ void checkUnnamed4575(core.List o) { ); } -core.List buildUnnamed4576() => [ +core.List buildUnnamed4589() => [ 'foo', 'foo', ]; -void checkUnnamed4576(core.List o) { +void checkUnnamed4589(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2918,12 +2918,12 @@ void checkUnnamed4576(core.List o) { ); } -core.List buildUnnamed4577() => [ +core.List buildUnnamed4590() => [ 'foo', 'foo', ]; -void checkUnnamed4577(core.List o) { +void checkUnnamed4590(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2935,12 +2935,12 @@ void checkUnnamed4577(core.List o) { ); } -core.List buildUnnamed4578() => [ +core.List buildUnnamed4591() => [ 'foo', 'foo', ]; -void checkUnnamed4578(core.List o) { +void checkUnnamed4591(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4506,7 +4506,7 @@ void main() { final arg_parent = 'foo'; final arg_collectionId = 'foo'; final arg_documentId = 'foo'; - final arg_mask_fieldPaths = buildUnnamed4574(); + final arg_mask_fieldPaths = buildUnnamed4587(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = @@ -4640,7 +4640,7 @@ void main() { final mock = HttpServerMock(); final res = api.FirestoreApi(mock).projects.databases.documents; final arg_name = 'foo'; - final arg_mask_fieldPaths = buildUnnamed4575(); + final arg_mask_fieldPaths = buildUnnamed4588(); final arg_readTime = 'foo'; final arg_transaction = 'foo'; final arg_$fields = 'foo'; @@ -4712,7 +4712,7 @@ void main() { final res = api.FirestoreApi(mock).projects.databases.documents; final arg_parent = 'foo'; final arg_collectionId = 'foo'; - final arg_mask_fieldPaths = buildUnnamed4576(); + final arg_mask_fieldPaths = buildUnnamed4589(); final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; @@ -4984,8 +4984,8 @@ void main() { final arg_name = 'foo'; final arg_currentDocument_exists = true; final arg_currentDocument_updateTime = 'foo'; - final arg_mask_fieldPaths = buildUnnamed4577(); - final arg_updateMask_fieldPaths = buildUnnamed4578(); + final arg_mask_fieldPaths = buildUnnamed4590(); + final arg_updateMask_fieldPaths = buildUnnamed4591(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart index 5586affbe..8505e7d4e 100644 --- a/generated/googleapis/test/fitness/v1_test.dart +++ b/generated/googleapis/test/fitness/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1583() => [ +core.List buildUnnamed1613() => [ buildDataset(), buildDataset(), ]; -void checkUnnamed1583(core.List o) { +void checkUnnamed1613(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataset(o[0]); checkDataset(o[1]); @@ -43,7 +43,7 @@ api.AggregateBucket buildAggregateBucket() { buildCounterAggregateBucket++; if (buildCounterAggregateBucket < 3) { o.activity = 42; - o.dataset = buildUnnamed1583(); + o.dataset = buildUnnamed1613(); o.endTimeMillis = 'foo'; o.session = buildSession(); o.startTimeMillis = 'foo'; @@ -60,7 +60,7 @@ void checkAggregateBucket(api.AggregateBucket o) { o.activity!, unittest.equals(42), ); - checkUnnamed1583(o.dataset!); + checkUnnamed1613(o.dataset!); unittest.expect( o.endTimeMillis!, unittest.equals('foo'), @@ -105,23 +105,23 @@ void checkAggregateBy(api.AggregateBy o) { buildCounterAggregateBy--; } -core.List buildUnnamed1584() => [ +core.List buildUnnamed1614() => [ buildAggregateBy(), buildAggregateBy(), ]; -void checkUnnamed1584(core.List o) { +void checkUnnamed1614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAggregateBy(o[0]); checkAggregateBy(o[1]); } -core.List buildUnnamed1585() => [ +core.List buildUnnamed1615() => [ 'foo', 'foo', ]; -void checkUnnamed1585(core.List o) { +void checkUnnamed1615(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -138,13 +138,13 @@ api.AggregateRequest buildAggregateRequest() { final o = api.AggregateRequest(); buildCounterAggregateRequest++; if (buildCounterAggregateRequest < 3) { - o.aggregateBy = buildUnnamed1584(); + o.aggregateBy = buildUnnamed1614(); o.bucketByActivitySegment = buildBucketByActivity(); o.bucketByActivityType = buildBucketByActivity(); o.bucketBySession = buildBucketBySession(); o.bucketByTime = buildBucketByTime(); o.endTimeMillis = 'foo'; - o.filteredDataQualityStandard = buildUnnamed1585(); + o.filteredDataQualityStandard = buildUnnamed1615(); o.startTimeMillis = 'foo'; } buildCounterAggregateRequest--; @@ -154,7 +154,7 @@ api.AggregateRequest buildAggregateRequest() { void checkAggregateRequest(api.AggregateRequest o) { buildCounterAggregateRequest++; if (buildCounterAggregateRequest < 3) { - checkUnnamed1584(o.aggregateBy!); + checkUnnamed1614(o.aggregateBy!); checkBucketByActivity(o.bucketByActivitySegment!); checkBucketByActivity(o.bucketByActivityType!); checkBucketBySession(o.bucketBySession!); @@ -163,7 +163,7 @@ void checkAggregateRequest(api.AggregateRequest o) { o.endTimeMillis!, unittest.equals('foo'), ); - checkUnnamed1585(o.filteredDataQualityStandard!); + checkUnnamed1615(o.filteredDataQualityStandard!); unittest.expect( o.startTimeMillis!, unittest.equals('foo'), @@ -172,12 +172,12 @@ void checkAggregateRequest(api.AggregateRequest o) { buildCounterAggregateRequest--; } -core.List buildUnnamed1586() => [ +core.List buildUnnamed1616() => [ buildAggregateBucket(), buildAggregateBucket(), ]; -void checkUnnamed1586(core.List o) { +void checkUnnamed1616(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAggregateBucket(o[0]); checkAggregateBucket(o[1]); @@ -188,7 +188,7 @@ api.AggregateResponse buildAggregateResponse() { final o = api.AggregateResponse(); buildCounterAggregateResponse++; if (buildCounterAggregateResponse < 3) { - o.bucket = buildUnnamed1586(); + o.bucket = buildUnnamed1616(); } buildCounterAggregateResponse--; return o; @@ -197,7 +197,7 @@ api.AggregateResponse buildAggregateResponse() { void checkAggregateResponse(api.AggregateResponse o) { buildCounterAggregateResponse++; if (buildCounterAggregateResponse < 3) { - checkUnnamed1586(o.bucket!); + checkUnnamed1616(o.bucket!); } buildCounterAggregateResponse--; } @@ -344,12 +344,12 @@ void checkBucketByTimePeriod(api.BucketByTimePeriod o) { buildCounterBucketByTimePeriod--; } -core.List buildUnnamed1587() => [ +core.List buildUnnamed1617() => [ buildValue(), buildValue(), ]; -void checkUnnamed1587(core.List o) { +void checkUnnamed1617(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -367,7 +367,7 @@ api.DataPoint buildDataPoint() { o.originDataSourceId = 'foo'; o.rawTimestampNanos = 'foo'; o.startTimeNanos = 'foo'; - o.value = buildUnnamed1587(); + o.value = buildUnnamed1617(); } buildCounterDataPoint--; return o; @@ -404,17 +404,17 @@ void checkDataPoint(api.DataPoint o) { o.startTimeNanos!, unittest.equals('foo'), ); - checkUnnamed1587(o.value!); + checkUnnamed1617(o.value!); } buildCounterDataPoint--; } -core.List buildUnnamed1588() => [ +core.List buildUnnamed1618() => [ 'foo', 'foo', ]; -void checkUnnamed1588(core.List o) { +void checkUnnamed1618(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -432,7 +432,7 @@ api.DataSource buildDataSource() { buildCounterDataSource++; if (buildCounterDataSource < 3) { o.application = buildApplication(); - o.dataQualityStandard = buildUnnamed1588(); + o.dataQualityStandard = buildUnnamed1618(); o.dataStreamId = 'foo'; o.dataStreamName = 'foo'; o.dataType = buildDataType(); @@ -448,7 +448,7 @@ void checkDataSource(api.DataSource o) { buildCounterDataSource++; if (buildCounterDataSource < 3) { checkApplication(o.application!); - checkUnnamed1588(o.dataQualityStandard!); + checkUnnamed1618(o.dataQualityStandard!); unittest.expect( o.dataStreamId!, unittest.equals('foo'), @@ -471,12 +471,12 @@ void checkDataSource(api.DataSource o) { buildCounterDataSource--; } -core.List buildUnnamed1589() => [ +core.List buildUnnamed1619() => [ buildDataTypeField(), buildDataTypeField(), ]; -void checkUnnamed1589(core.List o) { +void checkUnnamed1619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataTypeField(o[0]); checkDataTypeField(o[1]); @@ -487,7 +487,7 @@ api.DataType buildDataType() { final o = api.DataType(); buildCounterDataType++; if (buildCounterDataType < 3) { - o.field = buildUnnamed1589(); + o.field = buildUnnamed1619(); o.name = 'foo'; } buildCounterDataType--; @@ -497,7 +497,7 @@ api.DataType buildDataType() { void checkDataType(api.DataType o) { buildCounterDataType++; if (buildCounterDataType < 3) { - checkUnnamed1589(o.field!); + checkUnnamed1619(o.field!); unittest.expect( o.name!, unittest.equals('foo'), @@ -535,12 +535,12 @@ void checkDataTypeField(api.DataTypeField o) { buildCounterDataTypeField--; } -core.List buildUnnamed1590() => [ +core.List buildUnnamed1620() => [ buildDataPoint(), buildDataPoint(), ]; -void checkUnnamed1590(core.List o) { +void checkUnnamed1620(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataPoint(o[0]); checkDataPoint(o[1]); @@ -555,7 +555,7 @@ api.Dataset buildDataset() { o.maxEndTimeNs = 'foo'; o.minStartTimeNs = 'foo'; o.nextPageToken = 'foo'; - o.point = buildUnnamed1590(); + o.point = buildUnnamed1620(); } buildCounterDataset--; return o; @@ -580,7 +580,7 @@ void checkDataset(api.Dataset o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1590(o.point!); + checkUnnamed1620(o.point!); } buildCounterDataset--; } @@ -627,23 +627,23 @@ void checkDevice(api.Device o) { buildCounterDevice--; } -core.List buildUnnamed1591() => [ +core.List buildUnnamed1621() => [ buildDataPoint(), buildDataPoint(), ]; -void checkUnnamed1591(core.List o) { +void checkUnnamed1621(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataPoint(o[0]); checkDataPoint(o[1]); } -core.List buildUnnamed1592() => [ +core.List buildUnnamed1622() => [ buildDataPoint(), buildDataPoint(), ]; -void checkUnnamed1592(core.List o) { +void checkUnnamed1622(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataPoint(o[0]); checkDataPoint(o[1]); @@ -655,8 +655,8 @@ api.ListDataPointChangesResponse buildListDataPointChangesResponse() { buildCounterListDataPointChangesResponse++; if (buildCounterListDataPointChangesResponse < 3) { o.dataSourceId = 'foo'; - o.deletedDataPoint = buildUnnamed1591(); - o.insertedDataPoint = buildUnnamed1592(); + o.deletedDataPoint = buildUnnamed1621(); + o.insertedDataPoint = buildUnnamed1622(); o.nextPageToken = 'foo'; } buildCounterListDataPointChangesResponse--; @@ -670,8 +670,8 @@ void checkListDataPointChangesResponse(api.ListDataPointChangesResponse o) { o.dataSourceId!, unittest.equals('foo'), ); - checkUnnamed1591(o.deletedDataPoint!); - checkUnnamed1592(o.insertedDataPoint!); + checkUnnamed1621(o.deletedDataPoint!); + checkUnnamed1622(o.insertedDataPoint!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -680,12 +680,12 @@ void checkListDataPointChangesResponse(api.ListDataPointChangesResponse o) { buildCounterListDataPointChangesResponse--; } -core.List buildUnnamed1593() => [ +core.List buildUnnamed1623() => [ buildDataSource(), buildDataSource(), ]; -void checkUnnamed1593(core.List o) { +void checkUnnamed1623(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSource(o[0]); checkDataSource(o[1]); @@ -696,7 +696,7 @@ api.ListDataSourcesResponse buildListDataSourcesResponse() { final o = api.ListDataSourcesResponse(); buildCounterListDataSourcesResponse++; if (buildCounterListDataSourcesResponse < 3) { - o.dataSource = buildUnnamed1593(); + o.dataSource = buildUnnamed1623(); } buildCounterListDataSourcesResponse--; return o; @@ -705,28 +705,28 @@ api.ListDataSourcesResponse buildListDataSourcesResponse() { void checkListDataSourcesResponse(api.ListDataSourcesResponse o) { buildCounterListDataSourcesResponse++; if (buildCounterListDataSourcesResponse < 3) { - checkUnnamed1593(o.dataSource!); + checkUnnamed1623(o.dataSource!); } buildCounterListDataSourcesResponse--; } -core.List buildUnnamed1594() => [ +core.List buildUnnamed1624() => [ buildSession(), buildSession(), ]; -void checkUnnamed1594(core.List o) { +void checkUnnamed1624(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSession(o[0]); checkSession(o[1]); } -core.List buildUnnamed1595() => [ +core.List buildUnnamed1625() => [ buildSession(), buildSession(), ]; -void checkUnnamed1595(core.List o) { +void checkUnnamed1625(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSession(o[0]); checkSession(o[1]); @@ -737,10 +737,10 @@ api.ListSessionsResponse buildListSessionsResponse() { final o = api.ListSessionsResponse(); buildCounterListSessionsResponse++; if (buildCounterListSessionsResponse < 3) { - o.deletedSession = buildUnnamed1594(); + o.deletedSession = buildUnnamed1624(); o.hasMoreData = true; o.nextPageToken = 'foo'; - o.session = buildUnnamed1595(); + o.session = buildUnnamed1625(); } buildCounterListSessionsResponse--; return o; @@ -749,13 +749,13 @@ api.ListSessionsResponse buildListSessionsResponse() { void checkListSessionsResponse(api.ListSessionsResponse o) { buildCounterListSessionsResponse++; if (buildCounterListSessionsResponse < 3) { - checkUnnamed1594(o.deletedSession!); + checkUnnamed1624(o.deletedSession!); unittest.expect(o.hasMoreData!, unittest.isTrue); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1595(o.session!); + checkUnnamed1625(o.session!); } buildCounterListSessionsResponse--; } @@ -841,12 +841,12 @@ void checkSession(api.Session o) { buildCounterSession--; } -core.List buildUnnamed1596() => [ +core.List buildUnnamed1626() => [ buildValueMapValEntry(), buildValueMapValEntry(), ]; -void checkUnnamed1596(core.List o) { +void checkUnnamed1626(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValueMapValEntry(o[0]); checkValueMapValEntry(o[1]); @@ -859,7 +859,7 @@ api.Value buildValue() { if (buildCounterValue < 3) { o.fpVal = 42.0; o.intVal = 42; - o.mapVal = buildUnnamed1596(); + o.mapVal = buildUnnamed1626(); o.stringVal = 'foo'; } buildCounterValue--; @@ -877,7 +877,7 @@ void checkValue(api.Value o) { o.intVal!, unittest.equals(42), ); - checkUnnamed1596(o.mapVal!); + checkUnnamed1626(o.mapVal!); unittest.expect( o.stringVal!, unittest.equals('foo'), @@ -910,12 +910,12 @@ void checkValueMapValEntry(api.ValueMapValEntry o) { buildCounterValueMapValEntry--; } -core.List buildUnnamed1597() => [ +core.List buildUnnamed1627() => [ 'foo', 'foo', ]; -void checkUnnamed1597(core.List o) { +void checkUnnamed1627(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -927,12 +927,12 @@ void checkUnnamed1597(core.List o) { ); } -core.List buildUnnamed1598() => [ +core.List buildUnnamed1628() => [ 42, 42, ]; -void checkUnnamed1598(core.List o) { +void checkUnnamed1628(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1318,7 +1318,7 @@ void main() { final mock = HttpServerMock(); final res = api.FitnessApi(mock).users.dataSources; final arg_userId = 'foo'; - final arg_dataTypeName = buildUnnamed1597(); + final arg_dataTypeName = buildUnnamed1627(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1752,7 +1752,7 @@ void main() { final mock = HttpServerMock(); final res = api.FitnessApi(mock).users.sessions; final arg_userId = 'foo'; - final arg_activityType = buildUnnamed1598(); + final arg_activityType = buildUnnamed1628(); final arg_endTime = 'foo'; final arg_includeDeleted = true; final arg_pageToken = 'foo'; diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart index 3874fd12e..4499b1036 100644 --- a/generated/googleapis/test/games/v1_test.dart +++ b/generated/googleapis/test/games/v1_test.dart @@ -102,12 +102,12 @@ void checkAchievementDefinition(api.AchievementDefinition o) { buildCounterAchievementDefinition--; } -core.List buildUnnamed3566() => [ +core.List buildUnnamed3471() => [ buildAchievementDefinition(), buildAchievementDefinition(), ]; -void checkUnnamed3566(core.List o) { +void checkUnnamed3471(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementDefinition(o[0]); checkAchievementDefinition(o[1]); @@ -119,7 +119,7 @@ api.AchievementDefinitionsListResponse final o = api.AchievementDefinitionsListResponse(); buildCounterAchievementDefinitionsListResponse++; if (buildCounterAchievementDefinitionsListResponse < 3) { - o.items = buildUnnamed3566(); + o.items = buildUnnamed3471(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -131,7 +131,7 @@ void checkAchievementDefinitionsListResponse( api.AchievementDefinitionsListResponse o) { buildCounterAchievementDefinitionsListResponse++; if (buildCounterAchievementDefinitionsListResponse < 3) { - checkUnnamed3566(o.items!); + checkUnnamed3471(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -255,12 +255,12 @@ void checkAchievementUnlockResponse(api.AchievementUnlockResponse o) { buildCounterAchievementUnlockResponse--; } -core.List buildUnnamed3567() => [ +core.List buildUnnamed3472() => [ buildAchievementUpdateRequest(), buildAchievementUpdateRequest(), ]; -void checkUnnamed3567(core.List o) { +void checkUnnamed3472(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementUpdateRequest(o[0]); checkAchievementUpdateRequest(o[1]); @@ -272,7 +272,7 @@ api.AchievementUpdateMultipleRequest buildAchievementUpdateMultipleRequest() { buildCounterAchievementUpdateMultipleRequest++; if (buildCounterAchievementUpdateMultipleRequest < 3) { o.kind = 'foo'; - o.updates = buildUnnamed3567(); + o.updates = buildUnnamed3472(); } buildCounterAchievementUpdateMultipleRequest--; return o; @@ -286,17 +286,17 @@ void checkAchievementUpdateMultipleRequest( o.kind!, unittest.equals('foo'), ); - checkUnnamed3567(o.updates!); + checkUnnamed3472(o.updates!); } buildCounterAchievementUpdateMultipleRequest--; } -core.List buildUnnamed3568() => [ +core.List buildUnnamed3473() => [ buildAchievementUpdateResponse(), buildAchievementUpdateResponse(), ]; -void checkUnnamed3568(core.List o) { +void checkUnnamed3473(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementUpdateResponse(o[0]); checkAchievementUpdateResponse(o[1]); @@ -308,7 +308,7 @@ api.AchievementUpdateMultipleResponse buildAchievementUpdateMultipleResponse() { buildCounterAchievementUpdateMultipleResponse++; if (buildCounterAchievementUpdateMultipleResponse < 3) { o.kind = 'foo'; - o.updatedAchievements = buildUnnamed3568(); + o.updatedAchievements = buildUnnamed3473(); } buildCounterAchievementUpdateMultipleResponse--; return o; @@ -322,7 +322,7 @@ void checkAchievementUpdateMultipleResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed3568(o.updatedAchievements!); + checkUnnamed3473(o.updatedAchievements!); } buildCounterAchievementUpdateMultipleResponse--; } @@ -404,23 +404,23 @@ void checkAchievementUpdateResponse(api.AchievementUpdateResponse o) { buildCounterAchievementUpdateResponse--; } -core.List buildUnnamed3569() => [ +core.List buildUnnamed3474() => [ buildImageAsset(), buildImageAsset(), ]; -void checkUnnamed3569(core.List o) { +void checkUnnamed3474(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImageAsset(o[0]); checkImageAsset(o[1]); } -core.List buildUnnamed3570() => [ +core.List buildUnnamed3475() => [ 'foo', 'foo', ]; -void checkUnnamed3570(core.List o) { +void checkUnnamed3475(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -432,12 +432,12 @@ void checkUnnamed3570(core.List o) { ); } -core.List buildUnnamed3571() => [ +core.List buildUnnamed3476() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed3571(core.List o) { +void checkUnnamed3476(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); @@ -449,13 +449,13 @@ api.Application buildApplication() { buildCounterApplication++; if (buildCounterApplication < 3) { o.achievementCount = 42; - o.assets = buildUnnamed3569(); + o.assets = buildUnnamed3474(); o.author = 'foo'; o.category = buildApplicationCategory(); o.description = 'foo'; - o.enabledFeatures = buildUnnamed3570(); + o.enabledFeatures = buildUnnamed3475(); o.id = 'foo'; - o.instances = buildUnnamed3571(); + o.instances = buildUnnamed3476(); o.kind = 'foo'; o.lastUpdatedTimestamp = 'foo'; o.leaderboardCount = 42; @@ -473,7 +473,7 @@ void checkApplication(api.Application o) { o.achievementCount!, unittest.equals(42), ); - checkUnnamed3569(o.assets!); + checkUnnamed3474(o.assets!); unittest.expect( o.author!, unittest.equals('foo'), @@ -483,12 +483,12 @@ void checkApplication(api.Application o) { o.description!, unittest.equals('foo'), ); - checkUnnamed3570(o.enabledFeatures!); + checkUnnamed3475(o.enabledFeatures!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed3571(o.instances!); + checkUnnamed3476(o.instances!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -609,12 +609,12 @@ void checkCategory(api.Category o) { buildCounterCategory--; } -core.List buildUnnamed3572() => [ +core.List buildUnnamed3477() => [ buildCategory(), buildCategory(), ]; -void checkUnnamed3572(core.List o) { +void checkUnnamed3477(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCategory(o[0]); checkCategory(o[1]); @@ -625,7 +625,7 @@ api.CategoryListResponse buildCategoryListResponse() { final o = api.CategoryListResponse(); buildCounterCategoryListResponse++; if (buildCounterCategoryListResponse < 3) { - o.items = buildUnnamed3572(); + o.items = buildUnnamed3477(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -636,7 +636,7 @@ api.CategoryListResponse buildCategoryListResponse() { void checkCategoryListResponse(api.CategoryListResponse o) { buildCounterCategoryListResponse++; if (buildCounterCategoryListResponse < 3) { - checkUnnamed3572(o.items!); + checkUnnamed3477(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -727,12 +727,12 @@ void checkEventChild(api.EventChild o) { buildCounterEventChild--; } -core.List buildUnnamed3573() => [ +core.List buildUnnamed3478() => [ buildEventChild(), buildEventChild(), ]; -void checkUnnamed3573(core.List o) { +void checkUnnamed3478(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventChild(o[0]); checkEventChild(o[1]); @@ -743,7 +743,7 @@ api.EventDefinition buildEventDefinition() { final o = api.EventDefinition(); buildCounterEventDefinition++; if (buildCounterEventDefinition < 3) { - o.childEvents = buildUnnamed3573(); + o.childEvents = buildUnnamed3478(); o.description = 'foo'; o.displayName = 'foo'; o.id = 'foo'; @@ -759,7 +759,7 @@ api.EventDefinition buildEventDefinition() { void checkEventDefinition(api.EventDefinition o) { buildCounterEventDefinition++; if (buildCounterEventDefinition < 3) { - checkUnnamed3573(o.childEvents!); + checkUnnamed3478(o.childEvents!); unittest.expect( o.description!, unittest.equals('foo'), @@ -789,12 +789,12 @@ void checkEventDefinition(api.EventDefinition o) { buildCounterEventDefinition--; } -core.List buildUnnamed3574() => [ +core.List buildUnnamed3479() => [ buildEventDefinition(), buildEventDefinition(), ]; -void checkUnnamed3574(core.List o) { +void checkUnnamed3479(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventDefinition(o[0]); checkEventDefinition(o[1]); @@ -805,7 +805,7 @@ api.EventDefinitionListResponse buildEventDefinitionListResponse() { final o = api.EventDefinitionListResponse(); buildCounterEventDefinitionListResponse++; if (buildCounterEventDefinitionListResponse < 3) { - o.items = buildUnnamed3574(); + o.items = buildUnnamed3479(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -816,7 +816,7 @@ api.EventDefinitionListResponse buildEventDefinitionListResponse() { void checkEventDefinitionListResponse(api.EventDefinitionListResponse o) { buildCounterEventDefinitionListResponse++; if (buildCounterEventDefinitionListResponse < 3) { - checkUnnamed3574(o.items!); + checkUnnamed3479(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -861,12 +861,12 @@ void checkEventPeriodRange(api.EventPeriodRange o) { buildCounterEventPeriodRange--; } -core.List buildUnnamed3575() => [ +core.List buildUnnamed3480() => [ buildEventUpdateRequest(), buildEventUpdateRequest(), ]; -void checkUnnamed3575(core.List o) { +void checkUnnamed3480(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventUpdateRequest(o[0]); checkEventUpdateRequest(o[1]); @@ -879,7 +879,7 @@ api.EventPeriodUpdate buildEventPeriodUpdate() { if (buildCounterEventPeriodUpdate < 3) { o.kind = 'foo'; o.timePeriod = buildEventPeriodRange(); - o.updates = buildUnnamed3575(); + o.updates = buildUnnamed3480(); } buildCounterEventPeriodUpdate--; return o; @@ -893,7 +893,7 @@ void checkEventPeriodUpdate(api.EventPeriodUpdate o) { unittest.equals('foo'), ); checkEventPeriodRange(o.timePeriod!); - checkUnnamed3575(o.updates!); + checkUnnamed3480(o.updates!); } buildCounterEventPeriodUpdate--; } @@ -930,12 +930,12 @@ void checkEventRecordFailure(api.EventRecordFailure o) { buildCounterEventRecordFailure--; } -core.List buildUnnamed3576() => [ +core.List buildUnnamed3481() => [ buildEventPeriodUpdate(), buildEventPeriodUpdate(), ]; -void checkUnnamed3576(core.List o) { +void checkUnnamed3481(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventPeriodUpdate(o[0]); checkEventPeriodUpdate(o[1]); @@ -949,7 +949,7 @@ api.EventRecordRequest buildEventRecordRequest() { o.currentTimeMillis = 'foo'; o.kind = 'foo'; o.requestId = 'foo'; - o.timePeriods = buildUnnamed3576(); + o.timePeriods = buildUnnamed3481(); } buildCounterEventRecordRequest--; return o; @@ -970,7 +970,7 @@ void checkEventRecordRequest(api.EventRecordRequest o) { o.requestId!, unittest.equals('foo'), ); - checkUnnamed3576(o.timePeriods!); + checkUnnamed3481(o.timePeriods!); } buildCounterEventRecordRequest--; } @@ -1007,34 +1007,34 @@ void checkEventUpdateRequest(api.EventUpdateRequest o) { buildCounterEventUpdateRequest--; } -core.List buildUnnamed3577() => [ +core.List buildUnnamed3482() => [ buildEventBatchRecordFailure(), buildEventBatchRecordFailure(), ]; -void checkUnnamed3577(core.List o) { +void checkUnnamed3482(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventBatchRecordFailure(o[0]); checkEventBatchRecordFailure(o[1]); } -core.List buildUnnamed3578() => [ +core.List buildUnnamed3483() => [ buildEventRecordFailure(), buildEventRecordFailure(), ]; -void checkUnnamed3578(core.List o) { +void checkUnnamed3483(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventRecordFailure(o[0]); checkEventRecordFailure(o[1]); } -core.List buildUnnamed3579() => [ +core.List buildUnnamed3484() => [ buildPlayerEvent(), buildPlayerEvent(), ]; -void checkUnnamed3579(core.List o) { +void checkUnnamed3484(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerEvent(o[0]); checkPlayerEvent(o[1]); @@ -1045,10 +1045,10 @@ api.EventUpdateResponse buildEventUpdateResponse() { final o = api.EventUpdateResponse(); buildCounterEventUpdateResponse++; if (buildCounterEventUpdateResponse < 3) { - o.batchFailures = buildUnnamed3577(); - o.eventFailures = buildUnnamed3578(); + o.batchFailures = buildUnnamed3482(); + o.eventFailures = buildUnnamed3483(); o.kind = 'foo'; - o.playerEvents = buildUnnamed3579(); + o.playerEvents = buildUnnamed3484(); } buildCounterEventUpdateResponse--; return o; @@ -1057,13 +1057,13 @@ api.EventUpdateResponse buildEventUpdateResponse() { void checkEventUpdateResponse(api.EventUpdateResponse o) { buildCounterEventUpdateResponse++; if (buildCounterEventUpdateResponse < 3) { - checkUnnamed3577(o.batchFailures!); - checkUnnamed3578(o.eventFailures!); + checkUnnamed3482(o.batchFailures!); + checkUnnamed3483(o.eventFailures!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed3579(o.playerEvents!); + checkUnnamed3484(o.playerEvents!); } buildCounterEventUpdateResponse--; } @@ -1420,12 +1420,12 @@ void checkLeaderboardEntry(api.LeaderboardEntry o) { buildCounterLeaderboardEntry--; } -core.List buildUnnamed3580() => [ +core.List buildUnnamed3485() => [ buildLeaderboard(), buildLeaderboard(), ]; -void checkUnnamed3580(core.List o) { +void checkUnnamed3485(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboard(o[0]); checkLeaderboard(o[1]); @@ -1436,7 +1436,7 @@ api.LeaderboardListResponse buildLeaderboardListResponse() { final o = api.LeaderboardListResponse(); buildCounterLeaderboardListResponse++; if (buildCounterLeaderboardListResponse < 3) { - o.items = buildUnnamed3580(); + o.items = buildUnnamed3485(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1447,7 +1447,7 @@ api.LeaderboardListResponse buildLeaderboardListResponse() { void checkLeaderboardListResponse(api.LeaderboardListResponse o) { buildCounterLeaderboardListResponse++; if (buildCounterLeaderboardListResponse < 3) { - checkUnnamed3580(o.items!); + checkUnnamed3485(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1502,12 +1502,12 @@ void checkLeaderboardScoreRank(api.LeaderboardScoreRank o) { buildCounterLeaderboardScoreRank--; } -core.List buildUnnamed3581() => [ +core.List buildUnnamed3486() => [ buildLeaderboardEntry(), buildLeaderboardEntry(), ]; -void checkUnnamed3581(core.List o) { +void checkUnnamed3486(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboardEntry(o[0]); checkLeaderboardEntry(o[1]); @@ -1518,7 +1518,7 @@ api.LeaderboardScores buildLeaderboardScores() { final o = api.LeaderboardScores(); buildCounterLeaderboardScores++; if (buildCounterLeaderboardScores < 3) { - o.items = buildUnnamed3581(); + o.items = buildUnnamed3486(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.numScores = 'foo'; @@ -1532,7 +1532,7 @@ api.LeaderboardScores buildLeaderboardScores() { void checkLeaderboardScores(api.LeaderboardScores o) { buildCounterLeaderboardScores++; if (buildCounterLeaderboardScores < 3) { - checkUnnamed3581(o.items!); + checkUnnamed3486(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1554,12 +1554,12 @@ void checkLeaderboardScores(api.LeaderboardScores o) { buildCounterLeaderboardScores--; } -core.List buildUnnamed3582() => [ +core.List buildUnnamed3487() => [ buildPlayerLevel(), buildPlayerLevel(), ]; -void checkUnnamed3582(core.List o) { +void checkUnnamed3487(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerLevel(o[0]); checkPlayerLevel(o[1]); @@ -1572,7 +1572,7 @@ api.MetagameConfig buildMetagameConfig() { if (buildCounterMetagameConfig < 3) { o.currentVersion = 42; o.kind = 'foo'; - o.playerLevels = buildUnnamed3582(); + o.playerLevels = buildUnnamed3487(); } buildCounterMetagameConfig--; return o; @@ -1589,7 +1589,7 @@ void checkMetagameConfig(api.MetagameConfig o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3582(o.playerLevels!); + checkUnnamed3487(o.playerLevels!); } buildCounterMetagameConfig--; } @@ -1741,12 +1741,12 @@ void checkPlayerAchievement(api.PlayerAchievement o) { buildCounterPlayerAchievement--; } -core.List buildUnnamed3583() => [ +core.List buildUnnamed3488() => [ buildPlayerAchievement(), buildPlayerAchievement(), ]; -void checkUnnamed3583(core.List o) { +void checkUnnamed3488(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerAchievement(o[0]); checkPlayerAchievement(o[1]); @@ -1757,7 +1757,7 @@ api.PlayerAchievementListResponse buildPlayerAchievementListResponse() { final o = api.PlayerAchievementListResponse(); buildCounterPlayerAchievementListResponse++; if (buildCounterPlayerAchievementListResponse < 3) { - o.items = buildUnnamed3583(); + o.items = buildUnnamed3488(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1768,7 +1768,7 @@ api.PlayerAchievementListResponse buildPlayerAchievementListResponse() { void checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { buildCounterPlayerAchievementListResponse++; if (buildCounterPlayerAchievementListResponse < 3) { - checkUnnamed3583(o.items!); + checkUnnamed3488(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1823,12 +1823,12 @@ void checkPlayerEvent(api.PlayerEvent o) { buildCounterPlayerEvent--; } -core.List buildUnnamed3584() => [ +core.List buildUnnamed3489() => [ buildPlayerEvent(), buildPlayerEvent(), ]; -void checkUnnamed3584(core.List o) { +void checkUnnamed3489(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerEvent(o[0]); checkPlayerEvent(o[1]); @@ -1839,7 +1839,7 @@ api.PlayerEventListResponse buildPlayerEventListResponse() { final o = api.PlayerEventListResponse(); buildCounterPlayerEventListResponse++; if (buildCounterPlayerEventListResponse < 3) { - o.items = buildUnnamed3584(); + o.items = buildUnnamed3489(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1850,7 +1850,7 @@ api.PlayerEventListResponse buildPlayerEventListResponse() { void checkPlayerEventListResponse(api.PlayerEventListResponse o) { buildCounterPlayerEventListResponse++; if (buildCounterPlayerEventListResponse < 3) { - checkUnnamed3584(o.items!); + checkUnnamed3489(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1957,12 +1957,12 @@ void checkPlayerLeaderboardScore(api.PlayerLeaderboardScore o) { buildCounterPlayerLeaderboardScore--; } -core.List buildUnnamed3585() => [ +core.List buildUnnamed3490() => [ buildPlayerLeaderboardScore(), buildPlayerLeaderboardScore(), ]; -void checkUnnamed3585(core.List o) { +void checkUnnamed3490(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerLeaderboardScore(o[0]); checkPlayerLeaderboardScore(o[1]); @@ -1974,7 +1974,7 @@ api.PlayerLeaderboardScoreListResponse final o = api.PlayerLeaderboardScoreListResponse(); buildCounterPlayerLeaderboardScoreListResponse++; if (buildCounterPlayerLeaderboardScoreListResponse < 3) { - o.items = buildUnnamed3585(); + o.items = buildUnnamed3490(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.player = buildPlayer(); @@ -1987,7 +1987,7 @@ void checkPlayerLeaderboardScoreListResponse( api.PlayerLeaderboardScoreListResponse o) { buildCounterPlayerLeaderboardScoreListResponse++; if (buildCounterPlayerLeaderboardScoreListResponse < 3) { - checkUnnamed3585(o.items!); + checkUnnamed3490(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2038,12 +2038,12 @@ void checkPlayerLevel(api.PlayerLevel o) { buildCounterPlayerLevel--; } -core.List buildUnnamed3586() => [ +core.List buildUnnamed3491() => [ buildPlayer(), buildPlayer(), ]; -void checkUnnamed3586(core.List o) { +void checkUnnamed3491(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayer(o[0]); checkPlayer(o[1]); @@ -2054,7 +2054,7 @@ api.PlayerListResponse buildPlayerListResponse() { final o = api.PlayerListResponse(); buildCounterPlayerListResponse++; if (buildCounterPlayerListResponse < 3) { - o.items = buildUnnamed3586(); + o.items = buildUnnamed3491(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2065,7 +2065,7 @@ api.PlayerListResponse buildPlayerListResponse() { void checkPlayerListResponse(api.PlayerListResponse o) { buildCounterPlayerListResponse++; if (buildCounterPlayerListResponse < 3) { - checkUnnamed3586(o.items!); + checkUnnamed3491(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2120,12 +2120,12 @@ void checkPlayerScore(api.PlayerScore o) { buildCounterPlayerScore--; } -core.List buildUnnamed3587() => [ +core.List buildUnnamed3492() => [ buildPlayerScoreResponse(), buildPlayerScoreResponse(), ]; -void checkUnnamed3587(core.List o) { +void checkUnnamed3492(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScoreResponse(o[0]); checkPlayerScoreResponse(o[1]); @@ -2137,7 +2137,7 @@ api.PlayerScoreListResponse buildPlayerScoreListResponse() { buildCounterPlayerScoreListResponse++; if (buildCounterPlayerScoreListResponse < 3) { o.kind = 'foo'; - o.submittedScores = buildUnnamed3587(); + o.submittedScores = buildUnnamed3492(); } buildCounterPlayerScoreListResponse--; return o; @@ -2150,17 +2150,17 @@ void checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3587(o.submittedScores!); + checkUnnamed3492(o.submittedScores!); } buildCounterPlayerScoreListResponse--; } -core.List buildUnnamed3588() => [ +core.List buildUnnamed3493() => [ 'foo', 'foo', ]; -void checkUnnamed3588(core.List o) { +void checkUnnamed3493(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2172,12 +2172,12 @@ void checkUnnamed3588(core.List o) { ); } -core.List buildUnnamed3589() => [ +core.List buildUnnamed3494() => [ buildPlayerScore(), buildPlayerScore(), ]; -void checkUnnamed3589(core.List o) { +void checkUnnamed3494(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScore(o[0]); checkPlayerScore(o[1]); @@ -2188,12 +2188,12 @@ api.PlayerScoreResponse buildPlayerScoreResponse() { final o = api.PlayerScoreResponse(); buildCounterPlayerScoreResponse++; if (buildCounterPlayerScoreResponse < 3) { - o.beatenScoreTimeSpans = buildUnnamed3588(); + o.beatenScoreTimeSpans = buildUnnamed3493(); o.formattedScore = 'foo'; o.kind = 'foo'; o.leaderboardId = 'foo'; o.scoreTag = 'foo'; - o.unbeatenScores = buildUnnamed3589(); + o.unbeatenScores = buildUnnamed3494(); } buildCounterPlayerScoreResponse--; return o; @@ -2202,7 +2202,7 @@ api.PlayerScoreResponse buildPlayerScoreResponse() { void checkPlayerScoreResponse(api.PlayerScoreResponse o) { buildCounterPlayerScoreResponse++; if (buildCounterPlayerScoreResponse < 3) { - checkUnnamed3588(o.beatenScoreTimeSpans!); + checkUnnamed3493(o.beatenScoreTimeSpans!); unittest.expect( o.formattedScore!, unittest.equals('foo'), @@ -2219,17 +2219,17 @@ void checkPlayerScoreResponse(api.PlayerScoreResponse o) { o.scoreTag!, unittest.equals('foo'), ); - checkUnnamed3589(o.unbeatenScores!); + checkUnnamed3494(o.unbeatenScores!); } buildCounterPlayerScoreResponse--; } -core.List buildUnnamed3590() => [ +core.List buildUnnamed3495() => [ buildScoreSubmission(), buildScoreSubmission(), ]; -void checkUnnamed3590(core.List o) { +void checkUnnamed3495(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScoreSubmission(o[0]); checkScoreSubmission(o[1]); @@ -2241,7 +2241,7 @@ api.PlayerScoreSubmissionList buildPlayerScoreSubmissionList() { buildCounterPlayerScoreSubmissionList++; if (buildCounterPlayerScoreSubmissionList < 3) { o.kind = 'foo'; - o.scores = buildUnnamed3590(); + o.scores = buildUnnamed3495(); } buildCounterPlayerScoreSubmissionList--; return o; @@ -2254,7 +2254,7 @@ void checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3590(o.scores!); + checkUnnamed3495(o.scores!); } buildCounterPlayerScoreSubmissionList--; } @@ -2473,12 +2473,12 @@ void checkSnapshotImage(api.SnapshotImage o) { buildCounterSnapshotImage--; } -core.List buildUnnamed3591() => [ +core.List buildUnnamed3496() => [ buildSnapshot(), buildSnapshot(), ]; -void checkUnnamed3591(core.List o) { +void checkUnnamed3496(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -2489,7 +2489,7 @@ api.SnapshotListResponse buildSnapshotListResponse() { final o = api.SnapshotListResponse(); buildCounterSnapshotListResponse++; if (buildCounterSnapshotListResponse < 3) { - o.items = buildUnnamed3591(); + o.items = buildUnnamed3496(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2500,7 +2500,7 @@ api.SnapshotListResponse buildSnapshotListResponse() { void checkSnapshotListResponse(api.SnapshotListResponse o) { buildCounterSnapshotListResponse++; if (buildCounterSnapshotListResponse < 3) { - checkUnnamed3591(o.items!); + checkUnnamed3496(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart index b4495a856..e56835678 100644 --- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart +++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart @@ -118,12 +118,12 @@ void checkAchievementConfigurationDetail(api.AchievementConfigurationDetail o) { buildCounterAchievementConfigurationDetail--; } -core.List buildUnnamed3670() => [ +core.List buildUnnamed3614() => [ buildAchievementConfiguration(), buildAchievementConfiguration(), ]; -void checkUnnamed3670(core.List o) { +void checkUnnamed3614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementConfiguration(o[0]); checkAchievementConfiguration(o[1]); @@ -135,7 +135,7 @@ api.AchievementConfigurationListResponse final o = api.AchievementConfigurationListResponse(); buildCounterAchievementConfigurationListResponse++; if (buildCounterAchievementConfigurationListResponse < 3) { - o.items = buildUnnamed3670(); + o.items = buildUnnamed3614(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -147,7 +147,7 @@ void checkAchievementConfigurationListResponse( api.AchievementConfigurationListResponse o) { buildCounterAchievementConfigurationListResponse++; if (buildCounterAchievementConfigurationListResponse < 3) { - checkUnnamed3670(o.items!); + checkUnnamed3614(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -347,12 +347,12 @@ void checkLeaderboardConfigurationDetail(api.LeaderboardConfigurationDetail o) { buildCounterLeaderboardConfigurationDetail--; } -core.List buildUnnamed3671() => [ +core.List buildUnnamed3615() => [ buildLeaderboardConfiguration(), buildLeaderboardConfiguration(), ]; -void checkUnnamed3671(core.List o) { +void checkUnnamed3615(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboardConfiguration(o[0]); checkLeaderboardConfiguration(o[1]); @@ -364,7 +364,7 @@ api.LeaderboardConfigurationListResponse final o = api.LeaderboardConfigurationListResponse(); buildCounterLeaderboardConfigurationListResponse++; if (buildCounterLeaderboardConfigurationListResponse < 3) { - o.items = buildUnnamed3671(); + o.items = buildUnnamed3615(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -376,7 +376,7 @@ void checkLeaderboardConfigurationListResponse( api.LeaderboardConfigurationListResponse o) { buildCounterLeaderboardConfigurationListResponse++; if (buildCounterLeaderboardConfigurationListResponse < 3) { - checkUnnamed3671(o.items!); + checkUnnamed3615(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -421,12 +421,12 @@ void checkLocalizedString(api.LocalizedString o) { buildCounterLocalizedString--; } -core.List buildUnnamed3672() => [ +core.List buildUnnamed3616() => [ buildLocalizedString(), buildLocalizedString(), ]; -void checkUnnamed3672(core.List o) { +void checkUnnamed3616(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedString(o[0]); checkLocalizedString(o[1]); @@ -438,7 +438,7 @@ api.LocalizedStringBundle buildLocalizedStringBundle() { buildCounterLocalizedStringBundle++; if (buildCounterLocalizedStringBundle < 3) { o.kind = 'foo'; - o.translations = buildUnnamed3672(); + o.translations = buildUnnamed3616(); } buildCounterLocalizedStringBundle--; return o; @@ -451,7 +451,7 @@ void checkLocalizedStringBundle(api.LocalizedStringBundle o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3672(o.translations!); + checkUnnamed3616(o.translations!); } buildCounterLocalizedStringBundle--; } diff --git a/generated/googleapis/test/gameservices/v1_test.dart b/generated/googleapis/test/gameservices/v1_test.dart index ae9f17c6a..5da1b2e5a 100644 --- a/generated/googleapis/test/gameservices/v1_test.dart +++ b/generated/googleapis/test/gameservices/v1_test.dart @@ -26,23 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed110() => [ +core.List buildUnnamed112() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed110(core.List o) { +void checkUnnamed112(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); } -core.List buildUnnamed111() => [ +core.List buildUnnamed113() => [ 'foo', 'foo', ]; -void checkUnnamed111(core.List o) { +void checkUnnamed113(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -59,8 +59,8 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed110(); - o.exemptedMembers = buildUnnamed111(); + o.auditLogConfigs = buildUnnamed112(); + o.exemptedMembers = buildUnnamed113(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -70,8 +70,8 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed110(o.auditLogConfigs!); - checkUnnamed111(o.exemptedMembers!); + checkUnnamed112(o.auditLogConfigs!); + checkUnnamed113(o.exemptedMembers!); unittest.expect( o.service!, unittest.equals('foo'), @@ -80,12 +80,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed112() => [ +core.List buildUnnamed114() => [ 'foo', 'foo', ]; -void checkUnnamed112(core.List o) { +void checkUnnamed114(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -102,7 +102,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed112(); + o.exemptedMembers = buildUnnamed114(); o.ignoreChildExemptions = true; o.logType = 'foo'; } @@ -113,7 +113,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed112(o.exemptedMembers!); + checkUnnamed114(o.exemptedMembers!); unittest.expect(o.ignoreChildExemptions!, unittest.isTrue); unittest.expect( o.logType!, @@ -145,12 +145,12 @@ void checkAuthorizationLoggingOptions(api.AuthorizationLoggingOptions o) { buildCounterAuthorizationLoggingOptions--; } -core.List buildUnnamed113() => [ +core.List buildUnnamed115() => [ 'foo', 'foo', ]; -void checkUnnamed113(core.List o) { +void checkUnnamed115(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -169,7 +169,7 @@ api.Binding buildBinding() { if (buildCounterBinding < 3) { o.bindingId = 'foo'; o.condition = buildExpr(); - o.members = buildUnnamed113(); + o.members = buildUnnamed115(); o.role = 'foo'; } buildCounterBinding--; @@ -184,7 +184,7 @@ void checkBinding(api.Binding o) { unittest.equals('foo'), ); checkExpr(o.condition!); - checkUnnamed113(o.members!); + checkUnnamed115(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -232,12 +232,12 @@ void checkCloudAuditOptions(api.CloudAuditOptions o) { buildCounterCloudAuditOptions--; } -core.List buildUnnamed114() => [ +core.List buildUnnamed116() => [ 'foo', 'foo', ]; -void checkUnnamed114(core.List o) { +void checkUnnamed116(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -258,7 +258,7 @@ api.Condition buildCondition() { o.op = 'foo'; o.svc = 'foo'; o.sys = 'foo'; - o.values = buildUnnamed114(); + o.values = buildUnnamed116(); } buildCounterCondition--; return o; @@ -283,17 +283,17 @@ void checkCondition(api.Condition o) { o.sys!, unittest.equals('foo'), ); - checkUnnamed114(o.values!); + checkUnnamed116(o.values!); } buildCounterCondition--; } -core.List buildUnnamed115() => [ +core.List buildUnnamed117() => [ buildCustomField(), buildCustomField(), ]; -void checkUnnamed115(core.List o) { +void checkUnnamed117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomField(o[0]); checkCustomField(o[1]); @@ -304,7 +304,7 @@ api.CounterOptions buildCounterOptions() { final o = api.CounterOptions(); buildCounterCounterOptions++; if (buildCounterCounterOptions < 3) { - o.customFields = buildUnnamed115(); + o.customFields = buildUnnamed117(); o.field = 'foo'; o.metric = 'foo'; } @@ -315,7 +315,7 @@ api.CounterOptions buildCounterOptions() { void checkCounterOptions(api.CounterOptions o) { buildCounterCounterOptions++; if (buildCounterCounterOptions < 3) { - checkUnnamed115(o.customFields!); + checkUnnamed117(o.customFields!); unittest.expect( o.field!, unittest.equals('foo'), @@ -377,12 +377,12 @@ void checkDataAccessOptions(api.DataAccessOptions o) { buildCounterDataAccessOptions--; } -core.List buildUnnamed116() => [ +core.List buildUnnamed118() => [ buildDeployedFleetDetails(), buildDeployedFleetDetails(), ]; -void checkUnnamed116(core.List o) { +void checkUnnamed118(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeployedFleetDetails(o[0]); checkDeployedFleetDetails(o[1]); @@ -394,7 +394,7 @@ api.DeployedClusterState buildDeployedClusterState() { buildCounterDeployedClusterState++; if (buildCounterDeployedClusterState < 3) { o.cluster = 'foo'; - o.fleetDetails = buildUnnamed116(); + o.fleetDetails = buildUnnamed118(); } buildCounterDeployedClusterState--; return o; @@ -407,7 +407,7 @@ void checkDeployedClusterState(api.DeployedClusterState o) { o.cluster!, unittest.equals('foo'), ); - checkUnnamed116(o.fleetDetails!); + checkUnnamed118(o.fleetDetails!); } buildCounterDeployedClusterState--; } @@ -597,23 +597,23 @@ void checkFetchDeploymentStateRequest(api.FetchDeploymentStateRequest o) { buildCounterFetchDeploymentStateRequest--; } -core.List buildUnnamed117() => [ +core.List buildUnnamed119() => [ buildDeployedClusterState(), buildDeployedClusterState(), ]; -void checkUnnamed117(core.List o) { +void checkUnnamed119(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeployedClusterState(o[0]); checkDeployedClusterState(o[1]); } -core.List buildUnnamed118() => [ +core.List buildUnnamed120() => [ 'foo', 'foo', ]; -void checkUnnamed118(core.List o) { +void checkUnnamed120(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -630,8 +630,8 @@ api.FetchDeploymentStateResponse buildFetchDeploymentStateResponse() { final o = api.FetchDeploymentStateResponse(); buildCounterFetchDeploymentStateResponse++; if (buildCounterFetchDeploymentStateResponse < 3) { - o.clusterState = buildUnnamed117(); - o.unavailable = buildUnnamed118(); + o.clusterState = buildUnnamed119(); + o.unavailable = buildUnnamed120(); } buildCounterFetchDeploymentStateResponse--; return o; @@ -640,8 +640,8 @@ api.FetchDeploymentStateResponse buildFetchDeploymentStateResponse() { void checkFetchDeploymentStateResponse(api.FetchDeploymentStateResponse o) { buildCounterFetchDeploymentStateResponse++; if (buildCounterFetchDeploymentStateResponse < 3) { - checkUnnamed117(o.clusterState!); - checkUnnamed118(o.unavailable!); + checkUnnamed119(o.clusterState!); + checkUnnamed120(o.unavailable!); } buildCounterFetchDeploymentStateResponse--; } @@ -673,12 +673,12 @@ void checkFleetConfig(api.FleetConfig o) { buildCounterFleetConfig--; } -core.Map buildUnnamed119() => { +core.Map buildUnnamed121() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed119(core.Map o) { +void checkUnnamed121(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -700,7 +700,7 @@ api.GameServerCluster buildGameServerCluster() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed119(); + o.labels = buildUnnamed121(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -725,7 +725,7 @@ void checkGameServerCluster(api.GameServerCluster o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed119(o.labels!); + checkUnnamed121(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -763,23 +763,23 @@ void checkGameServerClusterConnectionInfo( buildCounterGameServerClusterConnectionInfo--; } -core.List buildUnnamed120() => [ +core.List buildUnnamed122() => [ buildFleetConfig(), buildFleetConfig(), ]; -void checkUnnamed120(core.List o) { +void checkUnnamed122(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFleetConfig(o[0]); checkFleetConfig(o[1]); } -core.Map buildUnnamed121() => { +core.Map buildUnnamed123() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed121(core.Map o) { +void checkUnnamed123(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -791,12 +791,12 @@ void checkUnnamed121(core.Map o) { ); } -core.List buildUnnamed122() => [ +core.List buildUnnamed124() => [ buildScalingConfig(), buildScalingConfig(), ]; -void checkUnnamed122(core.List o) { +void checkUnnamed124(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScalingConfig(o[0]); checkScalingConfig(o[1]); @@ -809,10 +809,10 @@ api.GameServerConfig buildGameServerConfig() { if (buildCounterGameServerConfig < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.fleetConfigs = buildUnnamed120(); - o.labels = buildUnnamed121(); + o.fleetConfigs = buildUnnamed122(); + o.labels = buildUnnamed123(); o.name = 'foo'; - o.scalingConfigs = buildUnnamed122(); + o.scalingConfigs = buildUnnamed124(); o.updateTime = 'foo'; } buildCounterGameServerConfig--; @@ -830,13 +830,13 @@ void checkGameServerConfig(api.GameServerConfig o) { o.description!, unittest.equals('foo'), ); - checkUnnamed120(o.fleetConfigs!); - checkUnnamed121(o.labels!); + checkUnnamed122(o.fleetConfigs!); + checkUnnamed123(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed122(o.scalingConfigs!); + checkUnnamed124(o.scalingConfigs!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -869,12 +869,12 @@ void checkGameServerConfigOverride(api.GameServerConfigOverride o) { buildCounterGameServerConfigOverride--; } -core.Map buildUnnamed123() => { +core.Map buildUnnamed125() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed123(core.Map o) { +void checkUnnamed125(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -894,7 +894,7 @@ api.GameServerDeployment buildGameServerDeployment() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed123(); + o.labels = buildUnnamed125(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -917,7 +917,7 @@ void checkGameServerDeployment(api.GameServerDeployment o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed123(o.labels!); + checkUnnamed125(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -930,12 +930,12 @@ void checkGameServerDeployment(api.GameServerDeployment o) { buildCounterGameServerDeployment--; } -core.List buildUnnamed124() => [ +core.List buildUnnamed126() => [ buildGameServerConfigOverride(), buildGameServerConfigOverride(), ]; -void checkUnnamed124(core.List o) { +void checkUnnamed126(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGameServerConfigOverride(o[0]); checkGameServerConfigOverride(o[1]); @@ -949,7 +949,7 @@ api.GameServerDeploymentRollout buildGameServerDeploymentRollout() { o.createTime = 'foo'; o.defaultGameServerConfig = 'foo'; o.etag = 'foo'; - o.gameServerConfigOverrides = buildUnnamed124(); + o.gameServerConfigOverrides = buildUnnamed126(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -972,7 +972,7 @@ void checkGameServerDeploymentRollout(api.GameServerDeploymentRollout o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed124(o.gameServerConfigOverrides!); + checkUnnamed126(o.gameServerConfigOverrides!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1054,12 +1054,12 @@ void checkKubernetesClusterState(api.KubernetesClusterState o) { buildCounterKubernetesClusterState--; } -core.Map buildUnnamed125() => { +core.Map buildUnnamed127() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed125(core.Map o) { +void checkUnnamed127(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1076,7 +1076,7 @@ api.LabelSelector buildLabelSelector() { final o = api.LabelSelector(); buildCounterLabelSelector++; if (buildCounterLabelSelector < 3) { - o.labels = buildUnnamed125(); + o.labels = buildUnnamed127(); } buildCounterLabelSelector--; return o; @@ -1085,28 +1085,28 @@ api.LabelSelector buildLabelSelector() { void checkLabelSelector(api.LabelSelector o) { buildCounterLabelSelector++; if (buildCounterLabelSelector < 3) { - checkUnnamed125(o.labels!); + checkUnnamed127(o.labels!); } buildCounterLabelSelector--; } -core.List buildUnnamed126() => [ +core.List buildUnnamed128() => [ buildGameServerCluster(), buildGameServerCluster(), ]; -void checkUnnamed126(core.List o) { +void checkUnnamed128(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGameServerCluster(o[0]); checkGameServerCluster(o[1]); } -core.List buildUnnamed127() => [ +core.List buildUnnamed129() => [ 'foo', 'foo', ]; -void checkUnnamed127(core.List o) { +void checkUnnamed129(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1123,9 +1123,9 @@ api.ListGameServerClustersResponse buildListGameServerClustersResponse() { final o = api.ListGameServerClustersResponse(); buildCounterListGameServerClustersResponse++; if (buildCounterListGameServerClustersResponse < 3) { - o.gameServerClusters = buildUnnamed126(); + o.gameServerClusters = buildUnnamed128(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed127(); + o.unreachable = buildUnnamed129(); } buildCounterListGameServerClustersResponse--; return o; @@ -1134,33 +1134,33 @@ api.ListGameServerClustersResponse buildListGameServerClustersResponse() { void checkListGameServerClustersResponse(api.ListGameServerClustersResponse o) { buildCounterListGameServerClustersResponse++; if (buildCounterListGameServerClustersResponse < 3) { - checkUnnamed126(o.gameServerClusters!); + checkUnnamed128(o.gameServerClusters!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed127(o.unreachable!); + checkUnnamed129(o.unreachable!); } buildCounterListGameServerClustersResponse--; } -core.List buildUnnamed128() => [ +core.List buildUnnamed130() => [ buildGameServerConfig(), buildGameServerConfig(), ]; -void checkUnnamed128(core.List o) { +void checkUnnamed130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGameServerConfig(o[0]); checkGameServerConfig(o[1]); } -core.List buildUnnamed129() => [ +core.List buildUnnamed131() => [ 'foo', 'foo', ]; -void checkUnnamed129(core.List o) { +void checkUnnamed131(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1177,9 +1177,9 @@ api.ListGameServerConfigsResponse buildListGameServerConfigsResponse() { final o = api.ListGameServerConfigsResponse(); buildCounterListGameServerConfigsResponse++; if (buildCounterListGameServerConfigsResponse < 3) { - o.gameServerConfigs = buildUnnamed128(); + o.gameServerConfigs = buildUnnamed130(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed129(); + o.unreachable = buildUnnamed131(); } buildCounterListGameServerConfigsResponse--; return o; @@ -1188,33 +1188,33 @@ api.ListGameServerConfigsResponse buildListGameServerConfigsResponse() { void checkListGameServerConfigsResponse(api.ListGameServerConfigsResponse o) { buildCounterListGameServerConfigsResponse++; if (buildCounterListGameServerConfigsResponse < 3) { - checkUnnamed128(o.gameServerConfigs!); + checkUnnamed130(o.gameServerConfigs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed129(o.unreachable!); + checkUnnamed131(o.unreachable!); } buildCounterListGameServerConfigsResponse--; } -core.List buildUnnamed130() => [ +core.List buildUnnamed132() => [ buildGameServerDeployment(), buildGameServerDeployment(), ]; -void checkUnnamed130(core.List o) { +void checkUnnamed132(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGameServerDeployment(o[0]); checkGameServerDeployment(o[1]); } -core.List buildUnnamed131() => [ +core.List buildUnnamed133() => [ 'foo', 'foo', ]; -void checkUnnamed131(core.List o) { +void checkUnnamed133(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1231,9 +1231,9 @@ api.ListGameServerDeploymentsResponse buildListGameServerDeploymentsResponse() { final o = api.ListGameServerDeploymentsResponse(); buildCounterListGameServerDeploymentsResponse++; if (buildCounterListGameServerDeploymentsResponse < 3) { - o.gameServerDeployments = buildUnnamed130(); + o.gameServerDeployments = buildUnnamed132(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed131(); + o.unreachable = buildUnnamed133(); } buildCounterListGameServerDeploymentsResponse--; return o; @@ -1243,22 +1243,22 @@ void checkListGameServerDeploymentsResponse( api.ListGameServerDeploymentsResponse o) { buildCounterListGameServerDeploymentsResponse++; if (buildCounterListGameServerDeploymentsResponse < 3) { - checkUnnamed130(o.gameServerDeployments!); + checkUnnamed132(o.gameServerDeployments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed131(o.unreachable!); + checkUnnamed133(o.unreachable!); } buildCounterListGameServerDeploymentsResponse--; } -core.List buildUnnamed132() => [ +core.List buildUnnamed134() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed132(core.List o) { +void checkUnnamed134(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1269,7 +1269,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed132(); + o.locations = buildUnnamed134(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1279,7 +1279,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed132(o.locations!); + checkUnnamed134(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1288,12 +1288,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed133() => [ +core.List buildUnnamed135() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed133(core.List o) { +void checkUnnamed135(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1305,7 +1305,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed133(); + o.operations = buildUnnamed135(); } buildCounterListOperationsResponse--; return o; @@ -1318,28 +1318,28 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed133(o.operations!); + checkUnnamed135(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed134() => [ +core.List buildUnnamed136() => [ buildRealm(), buildRealm(), ]; -void checkUnnamed134(core.List o) { +void checkUnnamed136(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRealm(o[0]); checkRealm(o[1]); } -core.List buildUnnamed135() => [ +core.List buildUnnamed137() => [ 'foo', 'foo', ]; -void checkUnnamed135(core.List o) { +void checkUnnamed137(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1357,8 +1357,8 @@ api.ListRealmsResponse buildListRealmsResponse() { buildCounterListRealmsResponse++; if (buildCounterListRealmsResponse < 3) { o.nextPageToken = 'foo'; - o.realms = buildUnnamed134(); - o.unreachable = buildUnnamed135(); + o.realms = buildUnnamed136(); + o.unreachable = buildUnnamed137(); } buildCounterListRealmsResponse--; return o; @@ -1371,18 +1371,18 @@ void checkListRealmsResponse(api.ListRealmsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed134(o.realms!); - checkUnnamed135(o.unreachable!); + checkUnnamed136(o.realms!); + checkUnnamed137(o.unreachable!); } buildCounterListRealmsResponse--; } -core.Map buildUnnamed136() => { +core.Map buildUnnamed138() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed136(core.Map o) { +void checkUnnamed138(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1394,7 +1394,7 @@ void checkUnnamed136(core.Map o) { ); } -core.Map buildUnnamed137() => { +core.Map buildUnnamed139() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1407,7 +1407,7 @@ core.Map buildUnnamed137() => { }, }; -void checkUnnamed137(core.Map o) { +void checkUnnamed139(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1445,9 +1445,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed136(); + o.labels = buildUnnamed138(); o.locationId = 'foo'; - o.metadata = buildUnnamed137(); + o.metadata = buildUnnamed139(); o.name = 'foo'; } buildCounterLocation--; @@ -1461,12 +1461,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed136(o.labels!); + checkUnnamed138(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed137(o.metadata!); + checkUnnamed139(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1498,7 +1498,7 @@ void checkLogConfig(api.LogConfig o) { buildCounterLogConfig--; } -core.Map buildUnnamed138() => { +core.Map buildUnnamed140() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1511,7 +1511,7 @@ core.Map buildUnnamed138() => { }, }; -void checkUnnamed138(core.Map o) { +void checkUnnamed140(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1543,7 +1543,7 @@ void checkUnnamed138(core.Map o) { ); } -core.Map buildUnnamed139() => { +core.Map buildUnnamed141() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1556,7 +1556,7 @@ core.Map buildUnnamed139() => { }, }; -void checkUnnamed139(core.Map o) { +void checkUnnamed141(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1595,9 +1595,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed138(); + o.metadata = buildUnnamed140(); o.name = 'foo'; - o.response = buildUnnamed139(); + o.response = buildUnnamed141(); } buildCounterOperation--; return o; @@ -1608,33 +1608,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed138(o.metadata!); + checkUnnamed140(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed139(o.response!); + checkUnnamed141(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed140() => { +core.Map buildUnnamed142() => { 'x': buildOperationStatus(), 'y': buildOperationStatus(), }; -void checkUnnamed140(core.Map o) { +void checkUnnamed142(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkOperationStatus(o['x']!); checkOperationStatus(o['y']!); } -core.List buildUnnamed141() => [ +core.List buildUnnamed143() => [ 'foo', 'foo', ]; -void checkUnnamed141(core.List o) { +void checkUnnamed143(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1654,11 +1654,11 @@ api.OperationMetadata buildOperationMetadata() { o.apiVersion = 'foo'; o.createTime = 'foo'; o.endTime = 'foo'; - o.operationStatus = buildUnnamed140(); + o.operationStatus = buildUnnamed142(); o.requestedCancellation = true; o.statusMessage = 'foo'; o.target = 'foo'; - o.unreachable = buildUnnamed141(); + o.unreachable = buildUnnamed143(); o.verb = 'foo'; } buildCounterOperationMetadata--; @@ -1680,7 +1680,7 @@ void checkOperationMetadata(api.OperationMetadata o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed140(o.operationStatus!); + checkUnnamed142(o.operationStatus!); unittest.expect(o.requestedCancellation!, unittest.isTrue); unittest.expect( o.statusMessage!, @@ -1690,7 +1690,7 @@ void checkOperationMetadata(api.OperationMetadata o) { o.target!, unittest.equals('foo'), ); - checkUnnamed141(o.unreachable!); + checkUnnamed143(o.unreachable!); unittest.expect( o.verb!, unittest.equals('foo'), @@ -1728,34 +1728,34 @@ void checkOperationStatus(api.OperationStatus o) { buildCounterOperationStatus--; } -core.List buildUnnamed142() => [ +core.List buildUnnamed144() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed142(core.List o) { +void checkUnnamed144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed143() => [ +core.List buildUnnamed145() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed143(core.List o) { +void checkUnnamed145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); } -core.List buildUnnamed144() => [ +core.List buildUnnamed146() => [ buildRule(), buildRule(), ]; -void checkUnnamed144(core.List o) { +void checkUnnamed146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -1766,11 +1766,11 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed142(); - o.bindings = buildUnnamed143(); + o.auditConfigs = buildUnnamed144(); + o.bindings = buildUnnamed145(); o.etag = 'foo'; o.iamOwned = true; - o.rules = buildUnnamed144(); + o.rules = buildUnnamed146(); o.version = 42; } buildCounterPolicy--; @@ -1780,14 +1780,14 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed142(o.auditConfigs!); - checkUnnamed143(o.bindings!); + checkUnnamed144(o.auditConfigs!); + checkUnnamed145(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), ); unittest.expect(o.iamOwned!, unittest.isTrue); - checkUnnamed144(o.rules!); + checkUnnamed146(o.rules!); unittest.expect( o.version!, unittest.equals(42), @@ -1850,12 +1850,12 @@ void checkPreviewDeleteGameServerClusterResponse( buildCounterPreviewDeleteGameServerClusterResponse--; } -core.List buildUnnamed145() => [ +core.List buildUnnamed147() => [ 'foo', 'foo', ]; -void checkUnnamed145(core.List o) { +void checkUnnamed147(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1875,7 +1875,7 @@ api.PreviewGameServerDeploymentRolloutResponse if (buildCounterPreviewGameServerDeploymentRolloutResponse < 3) { o.etag = 'foo'; o.targetState = buildTargetState(); - o.unavailable = buildUnnamed145(); + o.unavailable = buildUnnamed147(); } buildCounterPreviewGameServerDeploymentRolloutResponse--; return o; @@ -1890,7 +1890,7 @@ void checkPreviewGameServerDeploymentRolloutResponse( unittest.equals('foo'), ); checkTargetState(o.targetState!); - checkUnnamed145(o.unavailable!); + checkUnnamed147(o.unavailable!); } buildCounterPreviewGameServerDeploymentRolloutResponse--; } @@ -1945,12 +1945,12 @@ void checkPreviewUpdateGameServerClusterResponse( buildCounterPreviewUpdateGameServerClusterResponse--; } -core.Map buildUnnamed146() => { +core.Map buildUnnamed148() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed146(core.Map o) { +void checkUnnamed148(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1970,7 +1970,7 @@ api.Realm buildRealm() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed146(); + o.labels = buildUnnamed148(); o.name = 'foo'; o.timeZone = 'foo'; o.updateTime = 'foo'; @@ -1994,7 +1994,7 @@ void checkRealm(api.Realm o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed146(o.labels!); + checkUnnamed148(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2011,12 +2011,12 @@ void checkRealm(api.Realm o) { buildCounterRealm--; } -core.List buildUnnamed147() => [ +core.List buildUnnamed149() => [ 'foo', 'foo', ]; -void checkUnnamed147(core.List o) { +void checkUnnamed149(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2033,7 +2033,7 @@ api.RealmSelector buildRealmSelector() { final o = api.RealmSelector(); buildCounterRealmSelector++; if (buildCounterRealmSelector < 3) { - o.realms = buildUnnamed147(); + o.realms = buildUnnamed149(); } buildCounterRealmSelector--; return o; @@ -2042,28 +2042,28 @@ api.RealmSelector buildRealmSelector() { void checkRealmSelector(api.RealmSelector o) { buildCounterRealmSelector++; if (buildCounterRealmSelector < 3) { - checkUnnamed147(o.realms!); + checkUnnamed149(o.realms!); } buildCounterRealmSelector--; } -core.List buildUnnamed148() => [ +core.List buildUnnamed150() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed148(core.List o) { +void checkUnnamed150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed149() => [ +core.List buildUnnamed151() => [ 'foo', 'foo', ]; -void checkUnnamed149(core.List o) { +void checkUnnamed151(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2075,23 +2075,23 @@ void checkUnnamed149(core.List o) { ); } -core.List buildUnnamed150() => [ +core.List buildUnnamed152() => [ buildLogConfig(), buildLogConfig(), ]; -void checkUnnamed150(core.List o) { +void checkUnnamed152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogConfig(o[0]); checkLogConfig(o[1]); } -core.List buildUnnamed151() => [ +core.List buildUnnamed153() => [ 'foo', 'foo', ]; -void checkUnnamed151(core.List o) { +void checkUnnamed153(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2103,12 +2103,12 @@ void checkUnnamed151(core.List o) { ); } -core.List buildUnnamed152() => [ +core.List buildUnnamed154() => [ 'foo', 'foo', ]; -void checkUnnamed152(core.List o) { +void checkUnnamed154(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2126,12 +2126,12 @@ api.Rule buildRule() { buildCounterRule++; if (buildCounterRule < 3) { o.action = 'foo'; - o.conditions = buildUnnamed148(); + o.conditions = buildUnnamed150(); o.description = 'foo'; - o.in_ = buildUnnamed149(); - o.logConfig = buildUnnamed150(); - o.notIn = buildUnnamed151(); - o.permissions = buildUnnamed152(); + o.in_ = buildUnnamed151(); + o.logConfig = buildUnnamed152(); + o.notIn = buildUnnamed153(); + o.permissions = buildUnnamed154(); } buildCounterRule--; return o; @@ -2144,36 +2144,36 @@ void checkRule(api.Rule o) { o.action!, unittest.equals('foo'), ); - checkUnnamed148(o.conditions!); + checkUnnamed150(o.conditions!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed149(o.in_!); - checkUnnamed150(o.logConfig!); - checkUnnamed151(o.notIn!); - checkUnnamed152(o.permissions!); + checkUnnamed151(o.in_!); + checkUnnamed152(o.logConfig!); + checkUnnamed153(o.notIn!); + checkUnnamed154(o.permissions!); } buildCounterRule--; } -core.List buildUnnamed153() => [ +core.List buildUnnamed155() => [ buildSchedule(), buildSchedule(), ]; -void checkUnnamed153(core.List o) { +void checkUnnamed155(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchedule(o[0]); checkSchedule(o[1]); } -core.List buildUnnamed154() => [ +core.List buildUnnamed156() => [ buildLabelSelector(), buildLabelSelector(), ]; -void checkUnnamed154(core.List o) { +void checkUnnamed156(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelSelector(o[0]); checkLabelSelector(o[1]); @@ -2186,8 +2186,8 @@ api.ScalingConfig buildScalingConfig() { if (buildCounterScalingConfig < 3) { o.fleetAutoscalerSpec = 'foo'; o.name = 'foo'; - o.schedules = buildUnnamed153(); - o.selectors = buildUnnamed154(); + o.schedules = buildUnnamed155(); + o.selectors = buildUnnamed156(); } buildCounterScalingConfig--; return o; @@ -2204,8 +2204,8 @@ void checkScalingConfig(api.ScalingConfig o) { o.name!, unittest.equals('foo'), ); - checkUnnamed153(o.schedules!); - checkUnnamed154(o.selectors!); + checkUnnamed155(o.schedules!); + checkUnnamed156(o.selectors!); } buildCounterScalingConfig--; } @@ -2298,7 +2298,7 @@ void checkSpecSource(api.SpecSource o) { buildCounterSpecSource--; } -core.Map buildUnnamed155() => { +core.Map buildUnnamed157() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2311,7 +2311,7 @@ core.Map buildUnnamed155() => { }, }; -void checkUnnamed155(core.Map o) { +void checkUnnamed157(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2343,15 +2343,15 @@ void checkUnnamed155(core.Map o) { ); } -core.List> buildUnnamed156() => [ - buildUnnamed155(), - buildUnnamed155(), +core.List> buildUnnamed158() => [ + buildUnnamed157(), + buildUnnamed157(), ]; -void checkUnnamed156(core.List> o) { +void checkUnnamed158(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed155(o[0]); - checkUnnamed155(o[1]); + checkUnnamed157(o[0]); + checkUnnamed157(o[1]); } core.int buildCounterStatus = 0; @@ -2360,7 +2360,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed156(); + o.details = buildUnnamed158(); o.message = 'foo'; } buildCounterStatus--; @@ -2374,7 +2374,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed156(o.details!); + checkUnnamed158(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2383,12 +2383,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed157() => [ +core.List buildUnnamed159() => [ buildTargetFleetDetails(), buildTargetFleetDetails(), ]; -void checkUnnamed157(core.List o) { +void checkUnnamed159(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetFleetDetails(o[0]); checkTargetFleetDetails(o[1]); @@ -2399,7 +2399,7 @@ api.TargetDetails buildTargetDetails() { final o = api.TargetDetails(); buildCounterTargetDetails++; if (buildCounterTargetDetails < 3) { - o.fleetDetails = buildUnnamed157(); + o.fleetDetails = buildUnnamed159(); o.gameServerClusterName = 'foo'; o.gameServerDeploymentName = 'foo'; } @@ -2410,7 +2410,7 @@ api.TargetDetails buildTargetDetails() { void checkTargetDetails(api.TargetDetails o) { buildCounterTargetDetails++; if (buildCounterTargetDetails < 3) { - checkUnnamed157(o.fleetDetails!); + checkUnnamed159(o.fleetDetails!); unittest.expect( o.gameServerClusterName!, unittest.equals('foo'), @@ -2492,12 +2492,12 @@ void checkTargetFleetDetails(api.TargetFleetDetails o) { buildCounterTargetFleetDetails--; } -core.List buildUnnamed158() => [ +core.List buildUnnamed160() => [ buildTargetDetails(), buildTargetDetails(), ]; -void checkUnnamed158(core.List o) { +void checkUnnamed160(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetDetails(o[0]); checkTargetDetails(o[1]); @@ -2508,7 +2508,7 @@ api.TargetState buildTargetState() { final o = api.TargetState(); buildCounterTargetState++; if (buildCounterTargetState < 3) { - o.details = buildUnnamed158(); + o.details = buildUnnamed160(); } buildCounterTargetState--; return o; @@ -2517,17 +2517,17 @@ api.TargetState buildTargetState() { void checkTargetState(api.TargetState o) { buildCounterTargetState++; if (buildCounterTargetState < 3) { - checkUnnamed158(o.details!); + checkUnnamed160(o.details!); } buildCounterTargetState--; } -core.List buildUnnamed159() => [ +core.List buildUnnamed161() => [ 'foo', 'foo', ]; -void checkUnnamed159(core.List o) { +void checkUnnamed161(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2544,7 +2544,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed159(); + o.permissions = buildUnnamed161(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2553,17 +2553,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed159(o.permissions!); + checkUnnamed161(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed160() => [ +core.List buildUnnamed162() => [ 'foo', 'foo', ]; -void checkUnnamed160(core.List o) { +void checkUnnamed162(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2580,7 +2580,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed160(); + o.permissions = buildUnnamed162(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2589,7 +2589,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed160(o.permissions!); + checkUnnamed162(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart index 478ba3be8..9299d4b65 100644 --- a/generated/googleapis/test/gamesmanagement/v1management_test.dart +++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed72() => [ +core.List buildUnnamed74() => [ buildAchievementResetResponse(), buildAchievementResetResponse(), ]; -void checkUnnamed72(core.List o) { +void checkUnnamed74(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAchievementResetResponse(o[0]); checkAchievementResetResponse(o[1]); @@ -43,7 +43,7 @@ api.AchievementResetAllResponse buildAchievementResetAllResponse() { buildCounterAchievementResetAllResponse++; if (buildCounterAchievementResetAllResponse < 3) { o.kind = 'foo'; - o.results = buildUnnamed72(); + o.results = buildUnnamed74(); } buildCounterAchievementResetAllResponse--; return o; @@ -56,17 +56,17 @@ void checkAchievementResetAllResponse(api.AchievementResetAllResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed72(o.results!); + checkUnnamed74(o.results!); } buildCounterAchievementResetAllResponse--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed75() => [ 'foo', 'foo', ]; -void checkUnnamed73(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -84,7 +84,7 @@ api.AchievementResetMultipleForAllRequest final o = api.AchievementResetMultipleForAllRequest(); buildCounterAchievementResetMultipleForAllRequest++; if (buildCounterAchievementResetMultipleForAllRequest < 3) { - o.achievementIds = buildUnnamed73(); + o.achievementIds = buildUnnamed75(); o.kind = 'foo'; } buildCounterAchievementResetMultipleForAllRequest--; @@ -95,7 +95,7 @@ void checkAchievementResetMultipleForAllRequest( api.AchievementResetMultipleForAllRequest o) { buildCounterAchievementResetMultipleForAllRequest++; if (buildCounterAchievementResetMultipleForAllRequest < 3) { - checkUnnamed73(o.achievementIds!); + checkUnnamed75(o.achievementIds!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -138,12 +138,12 @@ void checkAchievementResetResponse(api.AchievementResetResponse o) { buildCounterAchievementResetResponse--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed74(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -160,7 +160,7 @@ api.EventsResetMultipleForAllRequest buildEventsResetMultipleForAllRequest() { final o = api.EventsResetMultipleForAllRequest(); buildCounterEventsResetMultipleForAllRequest++; if (buildCounterEventsResetMultipleForAllRequest < 3) { - o.eventIds = buildUnnamed74(); + o.eventIds = buildUnnamed76(); o.kind = 'foo'; } buildCounterEventsResetMultipleForAllRequest--; @@ -171,7 +171,7 @@ void checkEventsResetMultipleForAllRequest( api.EventsResetMultipleForAllRequest o) { buildCounterEventsResetMultipleForAllRequest++; if (buildCounterEventsResetMultipleForAllRequest < 3) { - checkUnnamed74(o.eventIds!); + checkUnnamed76(o.eventIds!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -273,12 +273,12 @@ void checkHiddenPlayer(api.HiddenPlayer o) { buildCounterHiddenPlayer--; } -core.List buildUnnamed75() => [ +core.List buildUnnamed77() => [ buildHiddenPlayer(), buildHiddenPlayer(), ]; -void checkUnnamed75(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHiddenPlayer(o[0]); checkHiddenPlayer(o[1]); @@ -289,7 +289,7 @@ api.HiddenPlayerList buildHiddenPlayerList() { final o = api.HiddenPlayerList(); buildCounterHiddenPlayerList++; if (buildCounterHiddenPlayerList < 3) { - o.items = buildUnnamed75(); + o.items = buildUnnamed77(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -300,7 +300,7 @@ api.HiddenPlayerList buildHiddenPlayerList() { void checkHiddenPlayerList(api.HiddenPlayerList o) { buildCounterHiddenPlayerList++; if (buildCounterHiddenPlayerList < 3) { - checkUnnamed75(o.items!); + checkUnnamed77(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -403,12 +403,12 @@ void checkPlayer(api.Player o) { buildCounterPlayer--; } -core.List buildUnnamed76() => [ +core.List buildUnnamed78() => [ buildPlayerScoreResetResponse(), buildPlayerScoreResetResponse(), ]; -void checkUnnamed76(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScoreResetResponse(o[0]); checkPlayerScoreResetResponse(o[1]); @@ -420,7 +420,7 @@ api.PlayerScoreResetAllResponse buildPlayerScoreResetAllResponse() { buildCounterPlayerScoreResetAllResponse++; if (buildCounterPlayerScoreResetAllResponse < 3) { o.kind = 'foo'; - o.results = buildUnnamed76(); + o.results = buildUnnamed78(); } buildCounterPlayerScoreResetAllResponse--; return o; @@ -433,17 +433,17 @@ void checkPlayerScoreResetAllResponse(api.PlayerScoreResetAllResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed76(o.results!); + checkUnnamed78(o.results!); } buildCounterPlayerScoreResetAllResponse--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed79() => [ 'foo', 'foo', ]; -void checkUnnamed77(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -462,7 +462,7 @@ api.PlayerScoreResetResponse buildPlayerScoreResetResponse() { if (buildCounterPlayerScoreResetResponse < 3) { o.definitionId = 'foo'; o.kind = 'foo'; - o.resetScoreTimeSpans = buildUnnamed77(); + o.resetScoreTimeSpans = buildUnnamed79(); } buildCounterPlayerScoreResetResponse--; return o; @@ -479,7 +479,7 @@ void checkPlayerScoreResetResponse(api.PlayerScoreResetResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed77(o.resetScoreTimeSpans!); + checkUnnamed79(o.resetScoreTimeSpans!); } buildCounterPlayerScoreResetResponse--; } @@ -508,12 +508,12 @@ void checkProfileSettings(api.ProfileSettings o) { buildCounterProfileSettings--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed80() => [ 'foo', 'foo', ]; -void checkUnnamed78(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -531,7 +531,7 @@ api.ScoresResetMultipleForAllRequest buildScoresResetMultipleForAllRequest() { buildCounterScoresResetMultipleForAllRequest++; if (buildCounterScoresResetMultipleForAllRequest < 3) { o.kind = 'foo'; - o.leaderboardIds = buildUnnamed78(); + o.leaderboardIds = buildUnnamed80(); } buildCounterScoresResetMultipleForAllRequest--; return o; @@ -545,7 +545,7 @@ void checkScoresResetMultipleForAllRequest( o.kind!, unittest.equals('foo'), ); - checkUnnamed78(o.leaderboardIds!); + checkUnnamed80(o.leaderboardIds!); } buildCounterScoresResetMultipleForAllRequest--; } diff --git a/generated/googleapis/test/gkehub/v1_test.dart b/generated/googleapis/test/gkehub/v1_test.dart index 1a2cbcf7e..cded90844 100644 --- a/generated/googleapis/test/gkehub/v1_test.dart +++ b/generated/googleapis/test/gkehub/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1609() => [ +core.List buildUnnamed1639() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed1609(core.List o) { +void checkUnnamed1639(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed1609(); + o.auditLogConfigs = buildUnnamed1639(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed1609(o.auditLogConfigs!); + checkUnnamed1639(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed1610() => [ +core.List buildUnnamed1640() => [ 'foo', 'foo', ]; -void checkUnnamed1610(core.List o) { +void checkUnnamed1640(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed1610(); + o.exemptedMembers = buildUnnamed1640(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed1610(o.exemptedMembers!); + checkUnnamed1640(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -139,12 +139,12 @@ void checkAuthority(api.Authority o) { buildCounterAuthority--; } -core.List buildUnnamed1611() => [ +core.List buildUnnamed1641() => [ 'foo', 'foo', ]; -void checkUnnamed1611(core.List o) { +void checkUnnamed1641(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -162,7 +162,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1611(); + o.members = buildUnnamed1641(); o.role = 'foo'; } buildCounterBinding--; @@ -173,7 +173,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1611(o.members!); + checkUnnamed1641(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -723,12 +723,12 @@ void checkConfigManagementMembershipState( buildCounterConfigManagementMembershipState--; } -core.List buildUnnamed1612() => [ +core.List buildUnnamed1642() => [ buildConfigManagementInstallError(), buildConfigManagementInstallError(), ]; -void checkUnnamed1612(core.List o) { +void checkUnnamed1642(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigManagementInstallError(o[0]); checkConfigManagementInstallError(o[1]); @@ -740,7 +740,7 @@ api.ConfigManagementOperatorState buildConfigManagementOperatorState() { buildCounterConfigManagementOperatorState++; if (buildCounterConfigManagementOperatorState < 3) { o.deploymentState = 'foo'; - o.errors = buildUnnamed1612(); + o.errors = buildUnnamed1642(); o.version = 'foo'; } buildCounterConfigManagementOperatorState--; @@ -754,7 +754,7 @@ void checkConfigManagementOperatorState(api.ConfigManagementOperatorState o) { o.deploymentState!, unittest.equals('foo'), ); - checkUnnamed1612(o.errors!); + checkUnnamed1642(o.errors!); unittest.expect( o.version!, unittest.equals('foo'), @@ -763,12 +763,12 @@ void checkConfigManagementOperatorState(api.ConfigManagementOperatorState o) { buildCounterConfigManagementOperatorState--; } -core.List buildUnnamed1613() => [ +core.List buildUnnamed1643() => [ 'foo', 'foo', ]; -void checkUnnamed1613(core.List o) { +void checkUnnamed1643(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -787,7 +787,7 @@ api.ConfigManagementPolicyController buildConfigManagementPolicyController() { if (buildCounterConfigManagementPolicyController < 3) { o.auditIntervalSeconds = 'foo'; o.enabled = true; - o.exemptableNamespaces = buildUnnamed1613(); + o.exemptableNamespaces = buildUnnamed1643(); o.logDeniesEnabled = true; o.referentialRulesEnabled = true; o.templateLibraryInstalled = true; @@ -805,7 +805,7 @@ void checkConfigManagementPolicyController( unittest.equals('foo'), ); unittest.expect(o.enabled!, unittest.isTrue); - checkUnnamed1613(o.exemptableNamespaces!); + checkUnnamed1643(o.exemptableNamespaces!); unittest.expect(o.logDeniesEnabled!, unittest.isTrue); unittest.expect(o.referentialRulesEnabled!, unittest.isTrue); unittest.expect(o.templateLibraryInstalled!, unittest.isTrue); @@ -860,12 +860,12 @@ void checkConfigManagementPolicyControllerVersion( buildCounterConfigManagementPolicyControllerVersion--; } -core.List buildUnnamed1614() => [ +core.List buildUnnamed1644() => [ buildConfigManagementErrorResource(), buildConfigManagementErrorResource(), ]; -void checkUnnamed1614(core.List o) { +void checkUnnamed1644(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigManagementErrorResource(o[0]); checkConfigManagementErrorResource(o[1]); @@ -878,7 +878,7 @@ api.ConfigManagementSyncError buildConfigManagementSyncError() { if (buildCounterConfigManagementSyncError < 3) { o.code = 'foo'; o.errorMessage = 'foo'; - o.errorResources = buildUnnamed1614(); + o.errorResources = buildUnnamed1644(); } buildCounterConfigManagementSyncError--; return o; @@ -895,17 +895,17 @@ void checkConfigManagementSyncError(api.ConfigManagementSyncError o) { o.errorMessage!, unittest.equals('foo'), ); - checkUnnamed1614(o.errorResources!); + checkUnnamed1644(o.errorResources!); } buildCounterConfigManagementSyncError--; } -core.List buildUnnamed1615() => [ +core.List buildUnnamed1645() => [ buildConfigManagementSyncError(), buildConfigManagementSyncError(), ]; -void checkUnnamed1615(core.List o) { +void checkUnnamed1645(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigManagementSyncError(o[0]); checkConfigManagementSyncError(o[1]); @@ -917,7 +917,7 @@ api.ConfigManagementSyncState buildConfigManagementSyncState() { buildCounterConfigManagementSyncState++; if (buildCounterConfigManagementSyncState < 3) { o.code = 'foo'; - o.errors = buildUnnamed1615(); + o.errors = buildUnnamed1645(); o.importToken = 'foo'; o.lastSync = 'foo'; o.lastSyncTime = 'foo'; @@ -935,7 +935,7 @@ void checkConfigManagementSyncState(api.ConfigManagementSyncState o) { o.code!, unittest.equals('foo'), ); - checkUnnamed1615(o.errors!); + checkUnnamed1645(o.errors!); unittest.expect( o.importToken!, unittest.equals('foo'), @@ -1036,12 +1036,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.Map buildUnnamed1616() => { +core.Map buildUnnamed1646() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1616(core.Map o) { +void checkUnnamed1646(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1053,23 +1053,23 @@ void checkUnnamed1616(core.Map o) { ); } -core.Map buildUnnamed1617() => { +core.Map buildUnnamed1647() => { 'x': buildMembershipFeatureSpec(), 'y': buildMembershipFeatureSpec(), }; -void checkUnnamed1617(core.Map o) { +void checkUnnamed1647(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipFeatureSpec(o['x']!); checkMembershipFeatureSpec(o['y']!); } -core.Map buildUnnamed1618() => { +core.Map buildUnnamed1648() => { 'x': buildMembershipFeatureState(), 'y': buildMembershipFeatureState(), }; -void checkUnnamed1618(core.Map o) { +void checkUnnamed1648(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipFeatureState(o['x']!); checkMembershipFeatureState(o['y']!); @@ -1082,9 +1082,9 @@ api.Feature buildFeature() { if (buildCounterFeature < 3) { o.createTime = 'foo'; o.deleteTime = 'foo'; - o.labels = buildUnnamed1616(); - o.membershipSpecs = buildUnnamed1617(); - o.membershipStates = buildUnnamed1618(); + o.labels = buildUnnamed1646(); + o.membershipSpecs = buildUnnamed1647(); + o.membershipStates = buildUnnamed1648(); o.name = 'foo'; o.resourceState = buildFeatureResourceState(); o.spec = buildCommonFeatureSpec(); @@ -1106,9 +1106,9 @@ void checkFeature(api.Feature o) { o.deleteTime!, unittest.equals('foo'), ); - checkUnnamed1616(o.labels!); - checkUnnamed1617(o.membershipSpecs!); - checkUnnamed1618(o.membershipStates!); + checkUnnamed1646(o.labels!); + checkUnnamed1647(o.membershipSpecs!); + checkUnnamed1648(o.membershipStates!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1178,12 +1178,12 @@ void checkFeatureState(api.FeatureState o) { buildCounterFeatureState--; } -core.List buildUnnamed1619() => [ +core.List buildUnnamed1649() => [ buildConnectAgentResource(), buildConnectAgentResource(), ]; -void checkUnnamed1619(core.List o) { +void checkUnnamed1649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectAgentResource(o[0]); checkConnectAgentResource(o[1]); @@ -1194,7 +1194,7 @@ api.GenerateConnectManifestResponse buildGenerateConnectManifestResponse() { final o = api.GenerateConnectManifestResponse(); buildCounterGenerateConnectManifestResponse++; if (buildCounterGenerateConnectManifestResponse < 3) { - o.manifest = buildUnnamed1619(); + o.manifest = buildUnnamed1649(); } buildCounterGenerateConnectManifestResponse--; return o; @@ -1204,7 +1204,7 @@ void checkGenerateConnectManifestResponse( api.GenerateConnectManifestResponse o) { buildCounterGenerateConnectManifestResponse++; if (buildCounterGenerateConnectManifestResponse < 3) { - checkUnnamed1619(o.manifest!); + checkUnnamed1649(o.manifest!); } buildCounterGenerateConnectManifestResponse--; } @@ -1233,7 +1233,7 @@ void checkGkeCluster(api.GkeCluster o) { buildCounterGkeCluster--; } -core.Map buildUnnamed1620() => { +core.Map buildUnnamed1650() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1246,7 +1246,7 @@ core.Map buildUnnamed1620() => { }, }; -void checkUnnamed1620(core.Map o) { +void checkUnnamed1650(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1278,15 +1278,15 @@ void checkUnnamed1620(core.Map o) { ); } -core.List> buildUnnamed1621() => [ - buildUnnamed1620(), - buildUnnamed1620(), +core.List> buildUnnamed1651() => [ + buildUnnamed1650(), + buildUnnamed1650(), ]; -void checkUnnamed1621(core.List> o) { +void checkUnnamed1651(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1620(o[0]); - checkUnnamed1620(o[1]); + checkUnnamed1650(o[0]); + checkUnnamed1650(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -1295,7 +1295,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed1621(); + o.details = buildUnnamed1651(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -1309,7 +1309,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed1621(o.details!); + checkUnnamed1651(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1365,12 +1365,12 @@ void checkKubernetesMetadata(api.KubernetesMetadata o) { buildCounterKubernetesMetadata--; } -core.List buildUnnamed1622() => [ +core.List buildUnnamed1652() => [ buildFeature(), buildFeature(), ]; -void checkUnnamed1622(core.List o) { +void checkUnnamed1652(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -1382,7 +1382,7 @@ api.ListFeaturesResponse buildListFeaturesResponse() { buildCounterListFeaturesResponse++; if (buildCounterListFeaturesResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed1622(); + o.resources = buildUnnamed1652(); } buildCounterListFeaturesResponse--; return o; @@ -1395,17 +1395,17 @@ void checkListFeaturesResponse(api.ListFeaturesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1622(o.resources!); + checkUnnamed1652(o.resources!); } buildCounterListFeaturesResponse--; } -core.List buildUnnamed1623() => [ +core.List buildUnnamed1653() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed1623(core.List o) { +void checkUnnamed1653(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1416,7 +1416,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed1623(); + o.locations = buildUnnamed1653(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1426,7 +1426,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed1623(o.locations!); + checkUnnamed1653(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1435,23 +1435,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed1624() => [ +core.List buildUnnamed1654() => [ buildMembership(), buildMembership(), ]; -void checkUnnamed1624(core.List o) { +void checkUnnamed1654(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembership(o[0]); checkMembership(o[1]); } -core.List buildUnnamed1625() => [ +core.List buildUnnamed1655() => [ 'foo', 'foo', ]; -void checkUnnamed1625(core.List o) { +void checkUnnamed1655(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1469,8 +1469,8 @@ api.ListMembershipsResponse buildListMembershipsResponse() { buildCounterListMembershipsResponse++; if (buildCounterListMembershipsResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed1624(); - o.unreachable = buildUnnamed1625(); + o.resources = buildUnnamed1654(); + o.unreachable = buildUnnamed1655(); } buildCounterListMembershipsResponse--; return o; @@ -1483,18 +1483,18 @@ void checkListMembershipsResponse(api.ListMembershipsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1624(o.resources!); - checkUnnamed1625(o.unreachable!); + checkUnnamed1654(o.resources!); + checkUnnamed1655(o.unreachable!); } buildCounterListMembershipsResponse--; } -core.List buildUnnamed1626() => [ +core.List buildUnnamed1656() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1626(core.List o) { +void checkUnnamed1656(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1506,7 +1506,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1626(); + o.operations = buildUnnamed1656(); } buildCounterListOperationsResponse--; return o; @@ -1519,17 +1519,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1626(o.operations!); + checkUnnamed1656(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed1627() => { +core.Map buildUnnamed1657() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1627(core.Map o) { +void checkUnnamed1657(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1541,7 +1541,7 @@ void checkUnnamed1627(core.Map o) { ); } -core.Map buildUnnamed1628() => { +core.Map buildUnnamed1658() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1554,7 +1554,7 @@ core.Map buildUnnamed1628() => { }, }; -void checkUnnamed1628(core.Map o) { +void checkUnnamed1658(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1592,9 +1592,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed1627(); + o.labels = buildUnnamed1657(); o.locationId = 'foo'; - o.metadata = buildUnnamed1628(); + o.metadata = buildUnnamed1658(); o.name = 'foo'; } buildCounterLocation--; @@ -1608,12 +1608,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1627(o.labels!); + checkUnnamed1657(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed1628(o.metadata!); + checkUnnamed1658(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1622,12 +1622,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed1629() => { +core.Map buildUnnamed1659() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1629(core.Map o) { +void checkUnnamed1659(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1650,7 +1650,7 @@ api.Membership buildMembership() { o.description = 'foo'; o.endpoint = buildMembershipEndpoint(); o.externalId = 'foo'; - o.labels = buildUnnamed1629(); + o.labels = buildUnnamed1659(); o.lastConnectionTime = 'foo'; o.name = 'foo'; o.state = buildMembershipState(); @@ -1682,7 +1682,7 @@ void checkMembership(api.Membership o) { o.externalId!, unittest.equals('foo'), ); - checkUnnamed1629(o.labels!); + checkUnnamed1659(o.labels!); unittest.expect( o.lastConnectionTime!, unittest.equals('foo'), @@ -1711,6 +1711,8 @@ api.MembershipEndpoint buildMembershipEndpoint() { if (buildCounterMembershipEndpoint < 3) { o.gkeCluster = buildGkeCluster(); o.kubernetesMetadata = buildKubernetesMetadata(); + o.multiCloudCluster = buildMultiCloudCluster(); + o.onPremCluster = buildOnPremCluster(); } buildCounterMembershipEndpoint--; return o; @@ -1721,6 +1723,8 @@ void checkMembershipEndpoint(api.MembershipEndpoint o) { if (buildCounterMembershipEndpoint < 3) { checkGkeCluster(o.gkeCluster!); checkKubernetesMetadata(o.kubernetesMetadata!); + checkMultiCloudCluster(o.multiCloudCluster!); + checkOnPremCluster(o.onPremCluster!); } buildCounterMembershipEndpoint--; } @@ -1787,6 +1791,30 @@ void checkMembershipState(api.MembershipState o) { buildCounterMembershipState--; } +core.int buildCounterMultiCloudCluster = 0; +api.MultiCloudCluster buildMultiCloudCluster() { + final o = api.MultiCloudCluster(); + buildCounterMultiCloudCluster++; + if (buildCounterMultiCloudCluster < 3) { + o.clusterMissing = true; + o.resourceLink = 'foo'; + } + buildCounterMultiCloudCluster--; + return o; +} + +void checkMultiCloudCluster(api.MultiCloudCluster o) { + buildCounterMultiCloudCluster++; + if (buildCounterMultiCloudCluster < 3) { + unittest.expect(o.clusterMissing!, unittest.isTrue); + unittest.expect( + o.resourceLink!, + unittest.equals('foo'), + ); + } + buildCounterMultiCloudCluster--; +} + core.int buildCounterMultiClusterIngressFeatureSpec = 0; api.MultiClusterIngressFeatureSpec buildMultiClusterIngressFeatureSpec() { final o = api.MultiClusterIngressFeatureSpec(); @@ -1809,7 +1837,33 @@ void checkMultiClusterIngressFeatureSpec(api.MultiClusterIngressFeatureSpec o) { buildCounterMultiClusterIngressFeatureSpec--; } -core.Map buildUnnamed1630() => { +core.int buildCounterOnPremCluster = 0; +api.OnPremCluster buildOnPremCluster() { + final o = api.OnPremCluster(); + buildCounterOnPremCluster++; + if (buildCounterOnPremCluster < 3) { + o.adminCluster = true; + o.clusterMissing = true; + o.resourceLink = 'foo'; + } + buildCounterOnPremCluster--; + return o; +} + +void checkOnPremCluster(api.OnPremCluster o) { + buildCounterOnPremCluster++; + if (buildCounterOnPremCluster < 3) { + unittest.expect(o.adminCluster!, unittest.isTrue); + unittest.expect(o.clusterMissing!, unittest.isTrue); + unittest.expect( + o.resourceLink!, + unittest.equals('foo'), + ); + } + buildCounterOnPremCluster--; +} + +core.Map buildUnnamed1660() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1822,7 +1876,7 @@ core.Map buildUnnamed1630() => { }, }; -void checkUnnamed1630(core.Map o) { +void checkUnnamed1660(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1854,7 +1908,7 @@ void checkUnnamed1630(core.Map o) { ); } -core.Map buildUnnamed1631() => { +core.Map buildUnnamed1661() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1867,7 +1921,7 @@ core.Map buildUnnamed1631() => { }, }; -void checkUnnamed1631(core.Map o) { +void checkUnnamed1661(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1906,9 +1960,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed1630(); + o.metadata = buildUnnamed1660(); o.name = 'foo'; - o.response = buildUnnamed1631(); + o.response = buildUnnamed1661(); } buildCounterOperation--; return o; @@ -1919,12 +1973,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed1630(o.metadata!); + checkUnnamed1660(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1631(o.response!); + checkUnnamed1661(o.response!); } buildCounterOperation--; } @@ -1978,23 +2032,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed1632() => [ +core.List buildUnnamed1662() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1632(core.List o) { +void checkUnnamed1662(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1633() => [ +core.List buildUnnamed1663() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1633(core.List o) { +void checkUnnamed1663(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2005,8 +2059,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1632(); - o.bindings = buildUnnamed1633(); + o.auditConfigs = buildUnnamed1662(); + o.bindings = buildUnnamed1663(); o.etag = 'foo'; o.version = 42; } @@ -2017,8 +2071,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1632(o.auditConfigs!); - checkUnnamed1633(o.bindings!); + checkUnnamed1662(o.auditConfigs!); + checkUnnamed1663(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2055,12 +2109,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed1634() => [ +core.List buildUnnamed1664() => [ 'foo', 'foo', ]; -void checkUnnamed1634(core.List o) { +void checkUnnamed1664(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2077,7 +2131,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed1634(); + o.permissions = buildUnnamed1664(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2086,17 +2140,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed1634(o.permissions!); + checkUnnamed1664(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed1635() => [ +core.List buildUnnamed1665() => [ 'foo', 'foo', ]; -void checkUnnamed1635(core.List o) { +void checkUnnamed1665(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2113,7 +2167,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed1635(); + o.permissions = buildUnnamed1665(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2122,7 +2176,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed1635(o.permissions!); + checkUnnamed1665(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -2637,6 +2691,16 @@ void main() { }); }); + unittest.group('obj-schema-MultiCloudCluster', () { + unittest.test('to-json--from-json', () async { + final o = buildMultiCloudCluster(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MultiCloudCluster.fromJson( + oJson as core.Map); + checkMultiCloudCluster(od); + }); + }); + unittest.group('obj-schema-MultiClusterIngressFeatureSpec', () { unittest.test('to-json--from-json', () async { final o = buildMultiClusterIngressFeatureSpec(); @@ -2647,6 +2711,16 @@ void main() { }); }); + unittest.group('obj-schema-OnPremCluster', () { + unittest.test('to-json--from-json', () async { + final o = buildOnPremCluster(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OnPremCluster.fromJson( + oJson as core.Map); + checkOnPremCluster(od); + }); + }); + unittest.group('obj-schema-Operation', () { unittest.test('to-json--from-json', () async { final o = buildOperation(); diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart index 9a430a652..1bec7b576 100644 --- a/generated/googleapis/test/gmail/v1_test.dart +++ b/generated/googleapis/test/gmail/v1_test.dart @@ -55,12 +55,12 @@ void checkAutoForwarding(api.AutoForwarding o) { buildCounterAutoForwarding--; } -core.List buildUnnamed4445() => [ +core.List buildUnnamed4429() => [ 'foo', 'foo', ]; -void checkUnnamed4445(core.List o) { +void checkUnnamed4429(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -77,7 +77,7 @@ api.BatchDeleteMessagesRequest buildBatchDeleteMessagesRequest() { final o = api.BatchDeleteMessagesRequest(); buildCounterBatchDeleteMessagesRequest++; if (buildCounterBatchDeleteMessagesRequest < 3) { - o.ids = buildUnnamed4445(); + o.ids = buildUnnamed4429(); } buildCounterBatchDeleteMessagesRequest--; return o; @@ -86,17 +86,17 @@ api.BatchDeleteMessagesRequest buildBatchDeleteMessagesRequest() { void checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) { buildCounterBatchDeleteMessagesRequest++; if (buildCounterBatchDeleteMessagesRequest < 3) { - checkUnnamed4445(o.ids!); + checkUnnamed4429(o.ids!); } buildCounterBatchDeleteMessagesRequest--; } -core.List buildUnnamed4446() => [ +core.List buildUnnamed4430() => [ 'foo', 'foo', ]; -void checkUnnamed4446(core.List o) { +void checkUnnamed4430(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -108,12 +108,12 @@ void checkUnnamed4446(core.List o) { ); } -core.List buildUnnamed4447() => [ +core.List buildUnnamed4431() => [ 'foo', 'foo', ]; -void checkUnnamed4447(core.List o) { +void checkUnnamed4431(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,12 +125,12 @@ void checkUnnamed4447(core.List o) { ); } -core.List buildUnnamed4448() => [ +core.List buildUnnamed4432() => [ 'foo', 'foo', ]; -void checkUnnamed4448(core.List o) { +void checkUnnamed4432(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -147,9 +147,9 @@ api.BatchModifyMessagesRequest buildBatchModifyMessagesRequest() { final o = api.BatchModifyMessagesRequest(); buildCounterBatchModifyMessagesRequest++; if (buildCounterBatchModifyMessagesRequest < 3) { - o.addLabelIds = buildUnnamed4446(); - o.ids = buildUnnamed4447(); - o.removeLabelIds = buildUnnamed4448(); + o.addLabelIds = buildUnnamed4430(); + o.ids = buildUnnamed4431(); + o.removeLabelIds = buildUnnamed4432(); } buildCounterBatchModifyMessagesRequest--; return o; @@ -158,9 +158,9 @@ api.BatchModifyMessagesRequest buildBatchModifyMessagesRequest() { void checkBatchModifyMessagesRequest(api.BatchModifyMessagesRequest o) { buildCounterBatchModifyMessagesRequest++; if (buildCounterBatchModifyMessagesRequest < 3) { - checkUnnamed4446(o.addLabelIds!); - checkUnnamed4447(o.ids!); - checkUnnamed4448(o.removeLabelIds!); + checkUnnamed4430(o.addLabelIds!); + checkUnnamed4431(o.ids!); + checkUnnamed4432(o.removeLabelIds!); } buildCounterBatchModifyMessagesRequest--; } @@ -242,12 +242,12 @@ void checkFilter(api.Filter o) { buildCounterFilter--; } -core.List buildUnnamed4449() => [ +core.List buildUnnamed4433() => [ 'foo', 'foo', ]; -void checkUnnamed4449(core.List o) { +void checkUnnamed4433(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -259,12 +259,12 @@ void checkUnnamed4449(core.List o) { ); } -core.List buildUnnamed4450() => [ +core.List buildUnnamed4434() => [ 'foo', 'foo', ]; -void checkUnnamed4450(core.List o) { +void checkUnnamed4434(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -281,9 +281,9 @@ api.FilterAction buildFilterAction() { final o = api.FilterAction(); buildCounterFilterAction++; if (buildCounterFilterAction < 3) { - o.addLabelIds = buildUnnamed4449(); + o.addLabelIds = buildUnnamed4433(); o.forward = 'foo'; - o.removeLabelIds = buildUnnamed4450(); + o.removeLabelIds = buildUnnamed4434(); } buildCounterFilterAction--; return o; @@ -292,12 +292,12 @@ api.FilterAction buildFilterAction() { void checkFilterAction(api.FilterAction o) { buildCounterFilterAction++; if (buildCounterFilterAction < 3) { - checkUnnamed4449(o.addLabelIds!); + checkUnnamed4433(o.addLabelIds!); unittest.expect( o.forward!, unittest.equals('foo'), ); - checkUnnamed4450(o.removeLabelIds!); + checkUnnamed4434(o.removeLabelIds!); } buildCounterFilterAction--; } @@ -385,56 +385,56 @@ void checkForwardingAddress(api.ForwardingAddress o) { buildCounterForwardingAddress--; } -core.List buildUnnamed4451() => [ +core.List buildUnnamed4435() => [ buildHistoryLabelAdded(), buildHistoryLabelAdded(), ]; -void checkUnnamed4451(core.List o) { +void checkUnnamed4435(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistoryLabelAdded(o[0]); checkHistoryLabelAdded(o[1]); } -core.List buildUnnamed4452() => [ +core.List buildUnnamed4436() => [ buildHistoryLabelRemoved(), buildHistoryLabelRemoved(), ]; -void checkUnnamed4452(core.List o) { +void checkUnnamed4436(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistoryLabelRemoved(o[0]); checkHistoryLabelRemoved(o[1]); } -core.List buildUnnamed4453() => [ +core.List buildUnnamed4437() => [ buildMessage(), buildMessage(), ]; -void checkUnnamed4453(core.List o) { +void checkUnnamed4437(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); } -core.List buildUnnamed4454() => [ +core.List buildUnnamed4438() => [ buildHistoryMessageAdded(), buildHistoryMessageAdded(), ]; -void checkUnnamed4454(core.List o) { +void checkUnnamed4438(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistoryMessageAdded(o[0]); checkHistoryMessageAdded(o[1]); } -core.List buildUnnamed4455() => [ +core.List buildUnnamed4439() => [ buildHistoryMessageDeleted(), buildHistoryMessageDeleted(), ]; -void checkUnnamed4455(core.List o) { +void checkUnnamed4439(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistoryMessageDeleted(o[0]); checkHistoryMessageDeleted(o[1]); @@ -446,11 +446,11 @@ api.History buildHistory() { buildCounterHistory++; if (buildCounterHistory < 3) { o.id = 'foo'; - o.labelsAdded = buildUnnamed4451(); - o.labelsRemoved = buildUnnamed4452(); - o.messages = buildUnnamed4453(); - o.messagesAdded = buildUnnamed4454(); - o.messagesDeleted = buildUnnamed4455(); + o.labelsAdded = buildUnnamed4435(); + o.labelsRemoved = buildUnnamed4436(); + o.messages = buildUnnamed4437(); + o.messagesAdded = buildUnnamed4438(); + o.messagesDeleted = buildUnnamed4439(); } buildCounterHistory--; return o; @@ -463,21 +463,21 @@ void checkHistory(api.History o) { o.id!, unittest.equals('foo'), ); - checkUnnamed4451(o.labelsAdded!); - checkUnnamed4452(o.labelsRemoved!); - checkUnnamed4453(o.messages!); - checkUnnamed4454(o.messagesAdded!); - checkUnnamed4455(o.messagesDeleted!); + checkUnnamed4435(o.labelsAdded!); + checkUnnamed4436(o.labelsRemoved!); + checkUnnamed4437(o.messages!); + checkUnnamed4438(o.messagesAdded!); + checkUnnamed4439(o.messagesDeleted!); } buildCounterHistory--; } -core.List buildUnnamed4456() => [ +core.List buildUnnamed4440() => [ 'foo', 'foo', ]; -void checkUnnamed4456(core.List o) { +void checkUnnamed4440(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -494,7 +494,7 @@ api.HistoryLabelAdded buildHistoryLabelAdded() { final o = api.HistoryLabelAdded(); buildCounterHistoryLabelAdded++; if (buildCounterHistoryLabelAdded < 3) { - o.labelIds = buildUnnamed4456(); + o.labelIds = buildUnnamed4440(); o.message = buildMessage(); } buildCounterHistoryLabelAdded--; @@ -504,18 +504,18 @@ api.HistoryLabelAdded buildHistoryLabelAdded() { void checkHistoryLabelAdded(api.HistoryLabelAdded o) { buildCounterHistoryLabelAdded++; if (buildCounterHistoryLabelAdded < 3) { - checkUnnamed4456(o.labelIds!); + checkUnnamed4440(o.labelIds!); checkMessage(o.message!); } buildCounterHistoryLabelAdded--; } -core.List buildUnnamed4457() => [ +core.List buildUnnamed4441() => [ 'foo', 'foo', ]; -void checkUnnamed4457(core.List o) { +void checkUnnamed4441(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -532,7 +532,7 @@ api.HistoryLabelRemoved buildHistoryLabelRemoved() { final o = api.HistoryLabelRemoved(); buildCounterHistoryLabelRemoved++; if (buildCounterHistoryLabelRemoved < 3) { - o.labelIds = buildUnnamed4457(); + o.labelIds = buildUnnamed4441(); o.message = buildMessage(); } buildCounterHistoryLabelRemoved--; @@ -542,7 +542,7 @@ api.HistoryLabelRemoved buildHistoryLabelRemoved() { void checkHistoryLabelRemoved(api.HistoryLabelRemoved o) { buildCounterHistoryLabelRemoved++; if (buildCounterHistoryLabelRemoved < 3) { - checkUnnamed4457(o.labelIds!); + checkUnnamed4441(o.labelIds!); checkMessage(o.message!); } buildCounterHistoryLabelRemoved--; @@ -730,12 +730,12 @@ void checkLanguageSettings(api.LanguageSettings o) { buildCounterLanguageSettings--; } -core.List buildUnnamed4458() => [ +core.List buildUnnamed4442() => [ buildDelegate(), buildDelegate(), ]; -void checkUnnamed4458(core.List o) { +void checkUnnamed4442(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDelegate(o[0]); checkDelegate(o[1]); @@ -746,7 +746,7 @@ api.ListDelegatesResponse buildListDelegatesResponse() { final o = api.ListDelegatesResponse(); buildCounterListDelegatesResponse++; if (buildCounterListDelegatesResponse < 3) { - o.delegates = buildUnnamed4458(); + o.delegates = buildUnnamed4442(); } buildCounterListDelegatesResponse--; return o; @@ -755,17 +755,17 @@ api.ListDelegatesResponse buildListDelegatesResponse() { void checkListDelegatesResponse(api.ListDelegatesResponse o) { buildCounterListDelegatesResponse++; if (buildCounterListDelegatesResponse < 3) { - checkUnnamed4458(o.delegates!); + checkUnnamed4442(o.delegates!); } buildCounterListDelegatesResponse--; } -core.List buildUnnamed4459() => [ +core.List buildUnnamed4443() => [ buildDraft(), buildDraft(), ]; -void checkUnnamed4459(core.List o) { +void checkUnnamed4443(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDraft(o[0]); checkDraft(o[1]); @@ -776,7 +776,7 @@ api.ListDraftsResponse buildListDraftsResponse() { final o = api.ListDraftsResponse(); buildCounterListDraftsResponse++; if (buildCounterListDraftsResponse < 3) { - o.drafts = buildUnnamed4459(); + o.drafts = buildUnnamed4443(); o.nextPageToken = 'foo'; o.resultSizeEstimate = 42; } @@ -787,7 +787,7 @@ api.ListDraftsResponse buildListDraftsResponse() { void checkListDraftsResponse(api.ListDraftsResponse o) { buildCounterListDraftsResponse++; if (buildCounterListDraftsResponse < 3) { - checkUnnamed4459(o.drafts!); + checkUnnamed4443(o.drafts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -800,12 +800,12 @@ void checkListDraftsResponse(api.ListDraftsResponse o) { buildCounterListDraftsResponse--; } -core.List buildUnnamed4460() => [ +core.List buildUnnamed4444() => [ buildFilter(), buildFilter(), ]; -void checkUnnamed4460(core.List o) { +void checkUnnamed4444(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilter(o[0]); checkFilter(o[1]); @@ -816,7 +816,7 @@ api.ListFiltersResponse buildListFiltersResponse() { final o = api.ListFiltersResponse(); buildCounterListFiltersResponse++; if (buildCounterListFiltersResponse < 3) { - o.filter = buildUnnamed4460(); + o.filter = buildUnnamed4444(); } buildCounterListFiltersResponse--; return o; @@ -825,17 +825,17 @@ api.ListFiltersResponse buildListFiltersResponse() { void checkListFiltersResponse(api.ListFiltersResponse o) { buildCounterListFiltersResponse++; if (buildCounterListFiltersResponse < 3) { - checkUnnamed4460(o.filter!); + checkUnnamed4444(o.filter!); } buildCounterListFiltersResponse--; } -core.List buildUnnamed4461() => [ +core.List buildUnnamed4445() => [ buildForwardingAddress(), buildForwardingAddress(), ]; -void checkUnnamed4461(core.List o) { +void checkUnnamed4445(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkForwardingAddress(o[0]); checkForwardingAddress(o[1]); @@ -846,7 +846,7 @@ api.ListForwardingAddressesResponse buildListForwardingAddressesResponse() { final o = api.ListForwardingAddressesResponse(); buildCounterListForwardingAddressesResponse++; if (buildCounterListForwardingAddressesResponse < 3) { - o.forwardingAddresses = buildUnnamed4461(); + o.forwardingAddresses = buildUnnamed4445(); } buildCounterListForwardingAddressesResponse--; return o; @@ -856,17 +856,17 @@ void checkListForwardingAddressesResponse( api.ListForwardingAddressesResponse o) { buildCounterListForwardingAddressesResponse++; if (buildCounterListForwardingAddressesResponse < 3) { - checkUnnamed4461(o.forwardingAddresses!); + checkUnnamed4445(o.forwardingAddresses!); } buildCounterListForwardingAddressesResponse--; } -core.List buildUnnamed4462() => [ +core.List buildUnnamed4446() => [ buildHistory(), buildHistory(), ]; -void checkUnnamed4462(core.List o) { +void checkUnnamed4446(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistory(o[0]); checkHistory(o[1]); @@ -877,7 +877,7 @@ api.ListHistoryResponse buildListHistoryResponse() { final o = api.ListHistoryResponse(); buildCounterListHistoryResponse++; if (buildCounterListHistoryResponse < 3) { - o.history = buildUnnamed4462(); + o.history = buildUnnamed4446(); o.historyId = 'foo'; o.nextPageToken = 'foo'; } @@ -888,7 +888,7 @@ api.ListHistoryResponse buildListHistoryResponse() { void checkListHistoryResponse(api.ListHistoryResponse o) { buildCounterListHistoryResponse++; if (buildCounterListHistoryResponse < 3) { - checkUnnamed4462(o.history!); + checkUnnamed4446(o.history!); unittest.expect( o.historyId!, unittest.equals('foo'), @@ -901,12 +901,12 @@ void checkListHistoryResponse(api.ListHistoryResponse o) { buildCounterListHistoryResponse--; } -core.List buildUnnamed4463() => [ +core.List buildUnnamed4447() => [ buildLabel(), buildLabel(), ]; -void checkUnnamed4463(core.List o) { +void checkUnnamed4447(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabel(o[0]); checkLabel(o[1]); @@ -917,7 +917,7 @@ api.ListLabelsResponse buildListLabelsResponse() { final o = api.ListLabelsResponse(); buildCounterListLabelsResponse++; if (buildCounterListLabelsResponse < 3) { - o.labels = buildUnnamed4463(); + o.labels = buildUnnamed4447(); } buildCounterListLabelsResponse--; return o; @@ -926,17 +926,17 @@ api.ListLabelsResponse buildListLabelsResponse() { void checkListLabelsResponse(api.ListLabelsResponse o) { buildCounterListLabelsResponse++; if (buildCounterListLabelsResponse < 3) { - checkUnnamed4463(o.labels!); + checkUnnamed4447(o.labels!); } buildCounterListLabelsResponse--; } -core.List buildUnnamed4464() => [ +core.List buildUnnamed4448() => [ buildMessage(), buildMessage(), ]; -void checkUnnamed4464(core.List o) { +void checkUnnamed4448(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); @@ -947,7 +947,7 @@ api.ListMessagesResponse buildListMessagesResponse() { final o = api.ListMessagesResponse(); buildCounterListMessagesResponse++; if (buildCounterListMessagesResponse < 3) { - o.messages = buildUnnamed4464(); + o.messages = buildUnnamed4448(); o.nextPageToken = 'foo'; o.resultSizeEstimate = 42; } @@ -958,7 +958,7 @@ api.ListMessagesResponse buildListMessagesResponse() { void checkListMessagesResponse(api.ListMessagesResponse o) { buildCounterListMessagesResponse++; if (buildCounterListMessagesResponse < 3) { - checkUnnamed4464(o.messages!); + checkUnnamed4448(o.messages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -971,12 +971,12 @@ void checkListMessagesResponse(api.ListMessagesResponse o) { buildCounterListMessagesResponse--; } -core.List buildUnnamed4465() => [ +core.List buildUnnamed4449() => [ buildSendAs(), buildSendAs(), ]; -void checkUnnamed4465(core.List o) { +void checkUnnamed4449(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSendAs(o[0]); checkSendAs(o[1]); @@ -987,7 +987,7 @@ api.ListSendAsResponse buildListSendAsResponse() { final o = api.ListSendAsResponse(); buildCounterListSendAsResponse++; if (buildCounterListSendAsResponse < 3) { - o.sendAs = buildUnnamed4465(); + o.sendAs = buildUnnamed4449(); } buildCounterListSendAsResponse--; return o; @@ -996,17 +996,17 @@ api.ListSendAsResponse buildListSendAsResponse() { void checkListSendAsResponse(api.ListSendAsResponse o) { buildCounterListSendAsResponse++; if (buildCounterListSendAsResponse < 3) { - checkUnnamed4465(o.sendAs!); + checkUnnamed4449(o.sendAs!); } buildCounterListSendAsResponse--; } -core.List buildUnnamed4466() => [ +core.List buildUnnamed4450() => [ buildSmimeInfo(), buildSmimeInfo(), ]; -void checkUnnamed4466(core.List o) { +void checkUnnamed4450(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSmimeInfo(o[0]); checkSmimeInfo(o[1]); @@ -1017,7 +1017,7 @@ api.ListSmimeInfoResponse buildListSmimeInfoResponse() { final o = api.ListSmimeInfoResponse(); buildCounterListSmimeInfoResponse++; if (buildCounterListSmimeInfoResponse < 3) { - o.smimeInfo = buildUnnamed4466(); + o.smimeInfo = buildUnnamed4450(); } buildCounterListSmimeInfoResponse--; return o; @@ -1026,17 +1026,17 @@ api.ListSmimeInfoResponse buildListSmimeInfoResponse() { void checkListSmimeInfoResponse(api.ListSmimeInfoResponse o) { buildCounterListSmimeInfoResponse++; if (buildCounterListSmimeInfoResponse < 3) { - checkUnnamed4466(o.smimeInfo!); + checkUnnamed4450(o.smimeInfo!); } buildCounterListSmimeInfoResponse--; } -core.List buildUnnamed4467() => [ +core.List buildUnnamed4451() => [ buildThread(), buildThread(), ]; -void checkUnnamed4467(core.List o) { +void checkUnnamed4451(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThread(o[0]); checkThread(o[1]); @@ -1049,7 +1049,7 @@ api.ListThreadsResponse buildListThreadsResponse() { if (buildCounterListThreadsResponse < 3) { o.nextPageToken = 'foo'; o.resultSizeEstimate = 42; - o.threads = buildUnnamed4467(); + o.threads = buildUnnamed4451(); } buildCounterListThreadsResponse--; return o; @@ -1066,17 +1066,17 @@ void checkListThreadsResponse(api.ListThreadsResponse o) { o.resultSizeEstimate!, unittest.equals(42), ); - checkUnnamed4467(o.threads!); + checkUnnamed4451(o.threads!); } buildCounterListThreadsResponse--; } -core.List buildUnnamed4468() => [ +core.List buildUnnamed4452() => [ 'foo', 'foo', ]; -void checkUnnamed4468(core.List o) { +void checkUnnamed4452(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1096,7 +1096,7 @@ api.Message buildMessage() { o.historyId = 'foo'; o.id = 'foo'; o.internalDate = 'foo'; - o.labelIds = buildUnnamed4468(); + o.labelIds = buildUnnamed4452(); o.payload = buildMessagePart(); o.raw = 'foo'; o.sizeEstimate = 42; @@ -1122,7 +1122,7 @@ void checkMessage(api.Message o) { o.internalDate!, unittest.equals('foo'), ); - checkUnnamed4468(o.labelIds!); + checkUnnamed4452(o.labelIds!); checkMessagePart(o.payload!); unittest.expect( o.raw!, @@ -1144,23 +1144,23 @@ void checkMessage(api.Message o) { buildCounterMessage--; } -core.List buildUnnamed4469() => [ +core.List buildUnnamed4453() => [ buildMessagePartHeader(), buildMessagePartHeader(), ]; -void checkUnnamed4469(core.List o) { +void checkUnnamed4453(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMessagePartHeader(o[0]); checkMessagePartHeader(o[1]); } -core.List buildUnnamed4470() => [ +core.List buildUnnamed4454() => [ buildMessagePart(), buildMessagePart(), ]; -void checkUnnamed4470(core.List o) { +void checkUnnamed4454(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMessagePart(o[0]); checkMessagePart(o[1]); @@ -1173,10 +1173,10 @@ api.MessagePart buildMessagePart() { if (buildCounterMessagePart < 3) { o.body = buildMessagePartBody(); o.filename = 'foo'; - o.headers = buildUnnamed4469(); + o.headers = buildUnnamed4453(); o.mimeType = 'foo'; o.partId = 'foo'; - o.parts = buildUnnamed4470(); + o.parts = buildUnnamed4454(); } buildCounterMessagePart--; return o; @@ -1190,7 +1190,7 @@ void checkMessagePart(api.MessagePart o) { o.filename!, unittest.equals('foo'), ); - checkUnnamed4469(o.headers!); + checkUnnamed4453(o.headers!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -1199,7 +1199,7 @@ void checkMessagePart(api.MessagePart o) { o.partId!, unittest.equals('foo'), ); - checkUnnamed4470(o.parts!); + checkUnnamed4454(o.parts!); } buildCounterMessagePart--; } @@ -1263,12 +1263,12 @@ void checkMessagePartHeader(api.MessagePartHeader o) { buildCounterMessagePartHeader--; } -core.List buildUnnamed4471() => [ +core.List buildUnnamed4455() => [ 'foo', 'foo', ]; -void checkUnnamed4471(core.List o) { +void checkUnnamed4455(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1280,12 +1280,12 @@ void checkUnnamed4471(core.List o) { ); } -core.List buildUnnamed4472() => [ +core.List buildUnnamed4456() => [ 'foo', 'foo', ]; -void checkUnnamed4472(core.List o) { +void checkUnnamed4456(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1302,8 +1302,8 @@ api.ModifyMessageRequest buildModifyMessageRequest() { final o = api.ModifyMessageRequest(); buildCounterModifyMessageRequest++; if (buildCounterModifyMessageRequest < 3) { - o.addLabelIds = buildUnnamed4471(); - o.removeLabelIds = buildUnnamed4472(); + o.addLabelIds = buildUnnamed4455(); + o.removeLabelIds = buildUnnamed4456(); } buildCounterModifyMessageRequest--; return o; @@ -1312,18 +1312,18 @@ api.ModifyMessageRequest buildModifyMessageRequest() { void checkModifyMessageRequest(api.ModifyMessageRequest o) { buildCounterModifyMessageRequest++; if (buildCounterModifyMessageRequest < 3) { - checkUnnamed4471(o.addLabelIds!); - checkUnnamed4472(o.removeLabelIds!); + checkUnnamed4455(o.addLabelIds!); + checkUnnamed4456(o.removeLabelIds!); } buildCounterModifyMessageRequest--; } -core.List buildUnnamed4473() => [ +core.List buildUnnamed4457() => [ 'foo', 'foo', ]; -void checkUnnamed4473(core.List o) { +void checkUnnamed4457(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1335,12 +1335,12 @@ void checkUnnamed4473(core.List o) { ); } -core.List buildUnnamed4474() => [ +core.List buildUnnamed4458() => [ 'foo', 'foo', ]; -void checkUnnamed4474(core.List o) { +void checkUnnamed4458(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1357,8 +1357,8 @@ api.ModifyThreadRequest buildModifyThreadRequest() { final o = api.ModifyThreadRequest(); buildCounterModifyThreadRequest++; if (buildCounterModifyThreadRequest < 3) { - o.addLabelIds = buildUnnamed4473(); - o.removeLabelIds = buildUnnamed4474(); + o.addLabelIds = buildUnnamed4457(); + o.removeLabelIds = buildUnnamed4458(); } buildCounterModifyThreadRequest--; return o; @@ -1367,8 +1367,8 @@ api.ModifyThreadRequest buildModifyThreadRequest() { void checkModifyThreadRequest(api.ModifyThreadRequest o) { buildCounterModifyThreadRequest++; if (buildCounterModifyThreadRequest < 3) { - checkUnnamed4473(o.addLabelIds!); - checkUnnamed4474(o.removeLabelIds!); + checkUnnamed4457(o.addLabelIds!); + checkUnnamed4458(o.removeLabelIds!); } buildCounterModifyThreadRequest--; } @@ -1578,12 +1578,12 @@ void checkSmtpMsa(api.SmtpMsa o) { buildCounterSmtpMsa--; } -core.List buildUnnamed4475() => [ +core.List buildUnnamed4459() => [ buildMessage(), buildMessage(), ]; -void checkUnnamed4475(core.List o) { +void checkUnnamed4459(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); @@ -1596,7 +1596,7 @@ api.Thread buildThread() { if (buildCounterThread < 3) { o.historyId = 'foo'; o.id = 'foo'; - o.messages = buildUnnamed4475(); + o.messages = buildUnnamed4459(); o.snippet = 'foo'; } buildCounterThread--; @@ -1614,7 +1614,7 @@ void checkThread(api.Thread o) { o.id!, unittest.equals('foo'), ); - checkUnnamed4475(o.messages!); + checkUnnamed4459(o.messages!); unittest.expect( o.snippet!, unittest.equals('foo'), @@ -1671,12 +1671,12 @@ void checkVacationSettings(api.VacationSettings o) { buildCounterVacationSettings--; } -core.List buildUnnamed4476() => [ +core.List buildUnnamed4460() => [ 'foo', 'foo', ]; -void checkUnnamed4476(core.List o) { +void checkUnnamed4460(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1694,7 +1694,7 @@ api.WatchRequest buildWatchRequest() { buildCounterWatchRequest++; if (buildCounterWatchRequest < 3) { o.labelFilterAction = 'foo'; - o.labelIds = buildUnnamed4476(); + o.labelIds = buildUnnamed4460(); o.topicName = 'foo'; } buildCounterWatchRequest--; @@ -1708,7 +1708,7 @@ void checkWatchRequest(api.WatchRequest o) { o.labelFilterAction!, unittest.equals('foo'), ); - checkUnnamed4476(o.labelIds!); + checkUnnamed4460(o.labelIds!); unittest.expect( o.topicName!, unittest.equals('foo'), @@ -1744,12 +1744,12 @@ void checkWatchResponse(api.WatchResponse o) { buildCounterWatchResponse--; } -core.List buildUnnamed4477() => [ +core.List buildUnnamed4461() => [ 'foo', 'foo', ]; -void checkUnnamed4477(core.List o) { +void checkUnnamed4461(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1761,12 +1761,12 @@ void checkUnnamed4477(core.List o) { ); } -core.List buildUnnamed4478() => [ +core.List buildUnnamed4462() => [ 'foo', 'foo', ]; -void checkUnnamed4478(core.List o) { +void checkUnnamed4462(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1778,12 +1778,12 @@ void checkUnnamed4478(core.List o) { ); } -core.List buildUnnamed4479() => [ +core.List buildUnnamed4463() => [ 'foo', 'foo', ]; -void checkUnnamed4479(core.List o) { +void checkUnnamed4463(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1795,12 +1795,12 @@ void checkUnnamed4479(core.List o) { ); } -core.List buildUnnamed4480() => [ +core.List buildUnnamed4464() => [ 'foo', 'foo', ]; -void checkUnnamed4480(core.List o) { +void checkUnnamed4464(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1812,12 +1812,12 @@ void checkUnnamed4480(core.List o) { ); } -core.List buildUnnamed4481() => [ +core.List buildUnnamed4465() => [ 'foo', 'foo', ]; -void checkUnnamed4481(core.List o) { +void checkUnnamed4465(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2937,7 +2937,7 @@ void main() { final mock = HttpServerMock(); final res = api.GmailApi(mock).users.history; final arg_userId = 'foo'; - final arg_historyTypes = buildUnnamed4477(); + final arg_historyTypes = buildUnnamed4461(); final arg_labelId = 'foo'; final arg_maxResults = 42; final arg_pageToken = 'foo'; @@ -3683,7 +3683,7 @@ void main() { final arg_userId = 'foo'; final arg_id = 'foo'; final arg_format = 'foo'; - final arg_metadataHeaders = buildUnnamed4478(); + final arg_metadataHeaders = buildUnnamed4462(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -3951,7 +3951,7 @@ void main() { final res = api.GmailApi(mock).users.messages; final arg_userId = 'foo'; final arg_includeSpamTrash = true; - final arg_labelIds = buildUnnamed4479(); + final arg_labelIds = buildUnnamed4463(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_q = 'foo'; @@ -7021,7 +7021,7 @@ void main() { final arg_userId = 'foo'; final arg_id = 'foo'; final arg_format = 'foo'; - final arg_metadataHeaders = buildUnnamed4480(); + final arg_metadataHeaders = buildUnnamed4464(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -7105,7 +7105,7 @@ void main() { final res = api.GmailApi(mock).users.threads; final arg_userId = 'foo'; final arg_includeSpamTrash = true; - final arg_labelIds = buildUnnamed4481(); + final arg_labelIds = buildUnnamed4465(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_q = 'foo'; diff --git a/generated/googleapis/test/gmailpostmastertools/v1_test.dart b/generated/googleapis/test/gmailpostmastertools/v1_test.dart index a720d319c..82ad4cfca 100644 --- a/generated/googleapis/test/gmailpostmastertools/v1_test.dart +++ b/generated/googleapis/test/gmailpostmastertools/v1_test.dart @@ -117,12 +117,12 @@ void checkFeedbackLoop(api.FeedbackLoop o) { buildCounterFeedbackLoop--; } -core.List buildUnnamed6137() => [ +core.List buildUnnamed6204() => [ 'foo', 'foo', ]; -void checkUnnamed6137(core.List o) { +void checkUnnamed6204(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -141,7 +141,7 @@ api.IpReputation buildIpReputation() { if (buildCounterIpReputation < 3) { o.ipCount = 'foo'; o.reputation = 'foo'; - o.sampleIps = buildUnnamed6137(); + o.sampleIps = buildUnnamed6204(); } buildCounterIpReputation--; return o; @@ -158,17 +158,17 @@ void checkIpReputation(api.IpReputation o) { o.reputation!, unittest.equals('foo'), ); - checkUnnamed6137(o.sampleIps!); + checkUnnamed6204(o.sampleIps!); } buildCounterIpReputation--; } -core.List buildUnnamed6138() => [ +core.List buildUnnamed6205() => [ buildDomain(), buildDomain(), ]; -void checkUnnamed6138(core.List o) { +void checkUnnamed6205(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomain(o[0]); checkDomain(o[1]); @@ -179,7 +179,7 @@ api.ListDomainsResponse buildListDomainsResponse() { final o = api.ListDomainsResponse(); buildCounterListDomainsResponse++; if (buildCounterListDomainsResponse < 3) { - o.domains = buildUnnamed6138(); + o.domains = buildUnnamed6205(); o.nextPageToken = 'foo'; } buildCounterListDomainsResponse--; @@ -189,7 +189,7 @@ api.ListDomainsResponse buildListDomainsResponse() { void checkListDomainsResponse(api.ListDomainsResponse o) { buildCounterListDomainsResponse++; if (buildCounterListDomainsResponse < 3) { - checkUnnamed6138(o.domains!); + checkUnnamed6205(o.domains!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -198,12 +198,12 @@ void checkListDomainsResponse(api.ListDomainsResponse o) { buildCounterListDomainsResponse--; } -core.List buildUnnamed6139() => [ +core.List buildUnnamed6206() => [ buildTrafficStats(), buildTrafficStats(), ]; -void checkUnnamed6139(core.List o) { +void checkUnnamed6206(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrafficStats(o[0]); checkTrafficStats(o[1]); @@ -215,7 +215,7 @@ api.ListTrafficStatsResponse buildListTrafficStatsResponse() { buildCounterListTrafficStatsResponse++; if (buildCounterListTrafficStatsResponse < 3) { o.nextPageToken = 'foo'; - o.trafficStats = buildUnnamed6139(); + o.trafficStats = buildUnnamed6206(); } buildCounterListTrafficStatsResponse--; return o; @@ -228,39 +228,39 @@ void checkListTrafficStatsResponse(api.ListTrafficStatsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6139(o.trafficStats!); + checkUnnamed6206(o.trafficStats!); } buildCounterListTrafficStatsResponse--; } -core.List buildUnnamed6140() => [ +core.List buildUnnamed6207() => [ buildDeliveryError(), buildDeliveryError(), ]; -void checkUnnamed6140(core.List o) { +void checkUnnamed6207(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeliveryError(o[0]); checkDeliveryError(o[1]); } -core.List buildUnnamed6141() => [ +core.List buildUnnamed6208() => [ buildIpReputation(), buildIpReputation(), ]; -void checkUnnamed6141(core.List o) { +void checkUnnamed6208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIpReputation(o[0]); checkIpReputation(o[1]); } -core.List buildUnnamed6142() => [ +core.List buildUnnamed6209() => [ buildFeedbackLoop(), buildFeedbackLoop(), ]; -void checkUnnamed6142(core.List o) { +void checkUnnamed6209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeedbackLoop(o[0]); checkFeedbackLoop(o[1]); @@ -271,15 +271,15 @@ api.TrafficStats buildTrafficStats() { final o = api.TrafficStats(); buildCounterTrafficStats++; if (buildCounterTrafficStats < 3) { - o.deliveryErrors = buildUnnamed6140(); + o.deliveryErrors = buildUnnamed6207(); o.dkimSuccessRatio = 42.0; o.dmarcSuccessRatio = 42.0; o.domainReputation = 'foo'; o.inboundEncryptionRatio = 42.0; - o.ipReputations = buildUnnamed6141(); + o.ipReputations = buildUnnamed6208(); o.name = 'foo'; o.outboundEncryptionRatio = 42.0; - o.spammyFeedbackLoops = buildUnnamed6142(); + o.spammyFeedbackLoops = buildUnnamed6209(); o.spfSuccessRatio = 42.0; o.userReportedSpamRatio = 42.0; } @@ -290,7 +290,7 @@ api.TrafficStats buildTrafficStats() { void checkTrafficStats(api.TrafficStats o) { buildCounterTrafficStats++; if (buildCounterTrafficStats < 3) { - checkUnnamed6140(o.deliveryErrors!); + checkUnnamed6207(o.deliveryErrors!); unittest.expect( o.dkimSuccessRatio!, unittest.equals(42.0), @@ -307,7 +307,7 @@ void checkTrafficStats(api.TrafficStats o) { o.inboundEncryptionRatio!, unittest.equals(42.0), ); - checkUnnamed6141(o.ipReputations!); + checkUnnamed6208(o.ipReputations!); unittest.expect( o.name!, unittest.equals('foo'), @@ -316,7 +316,7 @@ void checkTrafficStats(api.TrafficStats o) { o.outboundEncryptionRatio!, unittest.equals(42.0), ); - checkUnnamed6142(o.spammyFeedbackLoops!); + checkUnnamed6209(o.spammyFeedbackLoops!); unittest.expect( o.spfSuccessRatio!, unittest.equals(42.0), diff --git a/generated/googleapis/test/healthcare/v1_test.dart b/generated/googleapis/test/healthcare/v1_test.dart index 71f06f476..33f5ea42d 100644 --- a/generated/googleapis/test/healthcare/v1_test.dart +++ b/generated/googleapis/test/healthcare/v1_test.dart @@ -88,12 +88,12 @@ void checkArchiveUserDataMappingResponse(api.ArchiveUserDataMappingResponse o) { buildCounterArchiveUserDataMappingResponse--; } -core.List buildUnnamed3376() => [ +core.List buildUnnamed3273() => [ 'foo', 'foo', ]; -void checkUnnamed3376(core.List o) { +void checkUnnamed3273(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -111,7 +111,7 @@ api.Attribute buildAttribute() { buildCounterAttribute++; if (buildCounterAttribute < 3) { o.attributeDefinitionId = 'foo'; - o.values = buildUnnamed3376(); + o.values = buildUnnamed3273(); } buildCounterAttribute--; return o; @@ -124,17 +124,17 @@ void checkAttribute(api.Attribute o) { o.attributeDefinitionId!, unittest.equals('foo'), ); - checkUnnamed3376(o.values!); + checkUnnamed3273(o.values!); } buildCounterAttribute--; } -core.List buildUnnamed3377() => [ +core.List buildUnnamed3274() => [ 'foo', 'foo', ]; -void checkUnnamed3377(core.List o) { +void checkUnnamed3274(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -146,12 +146,12 @@ void checkUnnamed3377(core.List o) { ); } -core.List buildUnnamed3378() => [ +core.List buildUnnamed3275() => [ 'foo', 'foo', ]; -void checkUnnamed3378(core.List o) { +void checkUnnamed3275(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -168,9 +168,9 @@ api.AttributeDefinition buildAttributeDefinition() { final o = api.AttributeDefinition(); buildCounterAttributeDefinition++; if (buildCounterAttributeDefinition < 3) { - o.allowedValues = buildUnnamed3377(); + o.allowedValues = buildUnnamed3274(); o.category = 'foo'; - o.consentDefaultValues = buildUnnamed3378(); + o.consentDefaultValues = buildUnnamed3275(); o.dataMappingDefaultValue = 'foo'; o.description = 'foo'; o.name = 'foo'; @@ -182,12 +182,12 @@ api.AttributeDefinition buildAttributeDefinition() { void checkAttributeDefinition(api.AttributeDefinition o) { buildCounterAttributeDefinition++; if (buildCounterAttributeDefinition < 3) { - checkUnnamed3377(o.allowedValues!); + checkUnnamed3274(o.allowedValues!); unittest.expect( o.category!, unittest.equals('foo'), ); - checkUnnamed3378(o.consentDefaultValues!); + checkUnnamed3275(o.consentDefaultValues!); unittest.expect( o.dataMappingDefaultValue!, unittest.equals('foo'), @@ -204,12 +204,12 @@ void checkAttributeDefinition(api.AttributeDefinition o) { buildCounterAttributeDefinition--; } -core.List buildUnnamed3379() => [ +core.List buildUnnamed3276() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed3379(core.List o) { +void checkUnnamed3276(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -220,7 +220,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed3379(); + o.auditLogConfigs = buildUnnamed3276(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -230,7 +230,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed3379(o.auditLogConfigs!); + checkUnnamed3276(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -239,12 +239,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed3380() => [ +core.List buildUnnamed3277() => [ 'foo', 'foo', ]; -void checkUnnamed3380(core.List o) { +void checkUnnamed3277(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -261,7 +261,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed3380(); + o.exemptedMembers = buildUnnamed3277(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -271,7 +271,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed3380(o.exemptedMembers!); + checkUnnamed3277(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -280,12 +280,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed3381() => [ +core.List buildUnnamed3278() => [ 'foo', 'foo', ]; -void checkUnnamed3381(core.List o) { +void checkUnnamed3278(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -303,7 +303,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3381(); + o.members = buildUnnamed3278(); o.role = 'foo'; } buildCounterBinding--; @@ -314,7 +314,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3381(o.members!); + checkUnnamed3278(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -360,12 +360,12 @@ void checkCharacterMaskConfig(api.CharacterMaskConfig o) { buildCounterCharacterMaskConfig--; } -core.Map buildUnnamed3382() => { +core.Map buildUnnamed3279() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3382(core.Map o) { +void checkUnnamed3279(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -384,7 +384,7 @@ api.CheckDataAccessRequest buildCheckDataAccessRequest() { if (buildCounterCheckDataAccessRequest < 3) { o.consentList = buildConsentList(); o.dataId = 'foo'; - o.requestAttributes = buildUnnamed3382(); + o.requestAttributes = buildUnnamed3279(); o.responseView = 'foo'; } buildCounterCheckDataAccessRequest--; @@ -399,7 +399,7 @@ void checkCheckDataAccessRequest(api.CheckDataAccessRequest o) { o.dataId!, unittest.equals('foo'), ); - checkUnnamed3382(o.requestAttributes!); + checkUnnamed3279(o.requestAttributes!); unittest.expect( o.responseView!, unittest.equals('foo'), @@ -408,12 +408,12 @@ void checkCheckDataAccessRequest(api.CheckDataAccessRequest o) { buildCounterCheckDataAccessRequest--; } -core.Map buildUnnamed3383() => { +core.Map buildUnnamed3280() => { 'x': buildConsentEvaluation(), 'y': buildConsentEvaluation(), }; -void checkUnnamed3383(core.Map o) { +void checkUnnamed3280(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkConsentEvaluation(o['x']!); checkConsentEvaluation(o['y']!); @@ -424,7 +424,7 @@ api.CheckDataAccessResponse buildCheckDataAccessResponse() { final o = api.CheckDataAccessResponse(); buildCounterCheckDataAccessResponse++; if (buildCounterCheckDataAccessResponse < 3) { - o.consentDetails = buildUnnamed3383(); + o.consentDetails = buildUnnamed3280(); o.consented = true; } buildCounterCheckDataAccessResponse--; @@ -434,18 +434,18 @@ api.CheckDataAccessResponse buildCheckDataAccessResponse() { void checkCheckDataAccessResponse(api.CheckDataAccessResponse o) { buildCounterCheckDataAccessResponse++; if (buildCounterCheckDataAccessResponse < 3) { - checkUnnamed3383(o.consentDetails!); + checkUnnamed3280(o.consentDetails!); unittest.expect(o.consented!, unittest.isTrue); } buildCounterCheckDataAccessResponse--; } -core.Map buildUnnamed3384() => { +core.Map buildUnnamed3281() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3384(core.Map o) { +void checkUnnamed3281(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -457,12 +457,12 @@ void checkUnnamed3384(core.Map o) { ); } -core.List buildUnnamed3385() => [ +core.List buildUnnamed3282() => [ buildGoogleCloudHealthcareV1ConsentPolicy(), buildGoogleCloudHealthcareV1ConsentPolicy(), ]; -void checkUnnamed3385(core.List o) { +void checkUnnamed3282(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudHealthcareV1ConsentPolicy(o[0]); checkGoogleCloudHealthcareV1ConsentPolicy(o[1]); @@ -475,9 +475,9 @@ api.Consent buildConsent() { if (buildCounterConsent < 3) { o.consentArtifact = 'foo'; o.expireTime = 'foo'; - o.metadata = buildUnnamed3384(); + o.metadata = buildUnnamed3281(); o.name = 'foo'; - o.policies = buildUnnamed3385(); + o.policies = buildUnnamed3282(); o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; o.state = 'foo'; @@ -499,12 +499,12 @@ void checkConsent(api.Consent o) { o.expireTime!, unittest.equals('foo'), ); - checkUnnamed3384(o.metadata!); + checkUnnamed3281(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3385(o.policies!); + checkUnnamed3282(o.policies!); unittest.expect( o.revisionCreateTime!, unittest.equals('foo'), @@ -529,23 +529,23 @@ void checkConsent(api.Consent o) { buildCounterConsent--; } -core.List buildUnnamed3386() => [ +core.List buildUnnamed3283() => [ buildImage(), buildImage(), ]; -void checkUnnamed3386(core.List o) { +void checkUnnamed3283(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); } -core.Map buildUnnamed3387() => { +core.Map buildUnnamed3284() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3387(core.Map o) { +void checkUnnamed3284(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -562,10 +562,10 @@ api.ConsentArtifact buildConsentArtifact() { final o = api.ConsentArtifact(); buildCounterConsentArtifact++; if (buildCounterConsentArtifact < 3) { - o.consentContentScreenshots = buildUnnamed3386(); + o.consentContentScreenshots = buildUnnamed3283(); o.consentContentVersion = 'foo'; o.guardianSignature = buildSignature(); - o.metadata = buildUnnamed3387(); + o.metadata = buildUnnamed3284(); o.name = 'foo'; o.userId = 'foo'; o.userSignature = buildSignature(); @@ -578,13 +578,13 @@ api.ConsentArtifact buildConsentArtifact() { void checkConsentArtifact(api.ConsentArtifact o) { buildCounterConsentArtifact++; if (buildCounterConsentArtifact < 3) { - checkUnnamed3386(o.consentContentScreenshots!); + checkUnnamed3283(o.consentContentScreenshots!); unittest.expect( o.consentContentVersion!, unittest.equals('foo'), ); checkSignature(o.guardianSignature!); - checkUnnamed3387(o.metadata!); + checkUnnamed3284(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -621,12 +621,12 @@ void checkConsentEvaluation(api.ConsentEvaluation o) { buildCounterConsentEvaluation--; } -core.List buildUnnamed3388() => [ +core.List buildUnnamed3285() => [ 'foo', 'foo', ]; -void checkUnnamed3388(core.List o) { +void checkUnnamed3285(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -643,7 +643,7 @@ api.ConsentList buildConsentList() { final o = api.ConsentList(); buildCounterConsentList++; if (buildCounterConsentList < 3) { - o.consents = buildUnnamed3388(); + o.consents = buildUnnamed3285(); } buildCounterConsentList--; return o; @@ -652,17 +652,17 @@ api.ConsentList buildConsentList() { void checkConsentList(api.ConsentList o) { buildCounterConsentList++; if (buildCounterConsentList < 3) { - checkUnnamed3388(o.consents!); + checkUnnamed3285(o.consents!); } buildCounterConsentList--; } -core.Map buildUnnamed3389() => { +core.Map buildUnnamed3286() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3389(core.Map o) { +void checkUnnamed3286(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -681,7 +681,7 @@ api.ConsentStore buildConsentStore() { if (buildCounterConsentStore < 3) { o.defaultConsentTtl = 'foo'; o.enableConsentCreateOnUpdate = true; - o.labels = buildUnnamed3389(); + o.labels = buildUnnamed3286(); o.name = 'foo'; } buildCounterConsentStore--; @@ -696,7 +696,7 @@ void checkConsentStore(api.ConsentStore o) { unittest.equals('foo'), ); unittest.expect(o.enableConsentCreateOnUpdate!, unittest.isTrue); - checkUnnamed3389(o.labels!); + checkUnnamed3286(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -961,12 +961,12 @@ void checkDicomFilterConfig(api.DicomFilterConfig o) { buildCounterDicomFilterConfig--; } -core.Map buildUnnamed3390() => { +core.Map buildUnnamed3287() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3390(core.Map o) { +void checkUnnamed3287(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -983,7 +983,7 @@ api.DicomStore buildDicomStore() { final o = api.DicomStore(); buildCounterDicomStore++; if (buildCounterDicomStore < 3) { - o.labels = buildUnnamed3390(); + o.labels = buildUnnamed3287(); o.name = 'foo'; o.notificationConfig = buildNotificationConfig(); } @@ -994,7 +994,7 @@ api.DicomStore buildDicomStore() { void checkDicomStore(api.DicomStore o) { buildCounterDicomStore++; if (buildCounterDicomStore < 3) { - checkUnnamed3390(o.labels!); + checkUnnamed3287(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1019,12 +1019,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.Map buildUnnamed3391() => { +core.Map buildUnnamed3288() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3391(core.Map o) { +void checkUnnamed3288(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1036,12 +1036,12 @@ void checkUnnamed3391(core.Map o) { ); } -core.Map buildUnnamed3392() => { +core.Map buildUnnamed3289() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3392(core.Map o) { +void checkUnnamed3289(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1061,8 +1061,8 @@ api.EvaluateUserConsentsRequest buildEvaluateUserConsentsRequest() { o.consentList = buildConsentList(); o.pageSize = 42; o.pageToken = 'foo'; - o.requestAttributes = buildUnnamed3391(); - o.resourceAttributes = buildUnnamed3392(); + o.requestAttributes = buildUnnamed3288(); + o.resourceAttributes = buildUnnamed3289(); o.responseView = 'foo'; o.userId = 'foo'; } @@ -1082,8 +1082,8 @@ void checkEvaluateUserConsentsRequest(api.EvaluateUserConsentsRequest o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed3391(o.requestAttributes!); - checkUnnamed3392(o.resourceAttributes!); + checkUnnamed3288(o.requestAttributes!); + checkUnnamed3289(o.resourceAttributes!); unittest.expect( o.responseView!, unittest.equals('foo'), @@ -1096,12 +1096,12 @@ void checkEvaluateUserConsentsRequest(api.EvaluateUserConsentsRequest o) { buildCounterEvaluateUserConsentsRequest--; } -core.List buildUnnamed3393() => [ +core.List buildUnnamed3290() => [ buildResult(), buildResult(), ]; -void checkUnnamed3393(core.List o) { +void checkUnnamed3290(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResult(o[0]); checkResult(o[1]); @@ -1113,7 +1113,7 @@ api.EvaluateUserConsentsResponse buildEvaluateUserConsentsResponse() { buildCounterEvaluateUserConsentsResponse++; if (buildCounterEvaluateUserConsentsResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed3393(); + o.results = buildUnnamed3290(); } buildCounterEvaluateUserConsentsResponse--; return o; @@ -1126,7 +1126,7 @@ void checkEvaluateUserConsentsResponse(api.EvaluateUserConsentsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3393(o.results!); + checkUnnamed3290(o.results!); } buildCounterEvaluateUserConsentsResponse--; } @@ -1243,12 +1243,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed3394() => [ +core.List buildUnnamed3291() => [ buildFieldMetadata(), buildFieldMetadata(), ]; -void checkUnnamed3394(core.List o) { +void checkUnnamed3291(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFieldMetadata(o[0]); checkFieldMetadata(o[1]); @@ -1259,7 +1259,7 @@ api.FhirConfig buildFhirConfig() { final o = api.FhirConfig(); buildCounterFhirConfig++; if (buildCounterFhirConfig < 3) { - o.fieldMetadataList = buildUnnamed3394(); + o.fieldMetadataList = buildUnnamed3291(); } buildCounterFhirConfig--; return o; @@ -1268,7 +1268,7 @@ api.FhirConfig buildFhirConfig() { void checkFhirConfig(api.FhirConfig o) { buildCounterFhirConfig++; if (buildCounterFhirConfig < 3) { - checkUnnamed3394(o.fieldMetadataList!); + checkUnnamed3291(o.fieldMetadataList!); } buildCounterFhirConfig--; } @@ -1292,12 +1292,12 @@ void checkFhirFilter(api.FhirFilter o) { buildCounterFhirFilter--; } -core.Map buildUnnamed3395() => { +core.Map buildUnnamed3292() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3395(core.Map o) { +void checkUnnamed3292(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1309,12 +1309,12 @@ void checkUnnamed3395(core.Map o) { ); } -core.List buildUnnamed3396() => [ +core.List buildUnnamed3293() => [ buildStreamConfig(), buildStreamConfig(), ]; -void checkUnnamed3396(core.List o) { +void checkUnnamed3293(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStreamConfig(o[0]); checkStreamConfig(o[1]); @@ -1329,10 +1329,10 @@ api.FhirStore buildFhirStore() { o.disableReferentialIntegrity = true; o.disableResourceVersioning = true; o.enableUpdateCreate = true; - o.labels = buildUnnamed3395(); + o.labels = buildUnnamed3292(); o.name = 'foo'; o.notificationConfig = buildNotificationConfig(); - o.streamConfigs = buildUnnamed3396(); + o.streamConfigs = buildUnnamed3293(); o.version = 'foo'; } buildCounterFhirStore--; @@ -1346,13 +1346,13 @@ void checkFhirStore(api.FhirStore o) { unittest.expect(o.disableReferentialIntegrity!, unittest.isTrue); unittest.expect(o.disableResourceVersioning!, unittest.isTrue); unittest.expect(o.enableUpdateCreate!, unittest.isTrue); - checkUnnamed3395(o.labels!); + checkUnnamed3292(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); checkNotificationConfig(o.notificationConfig!); - checkUnnamed3396(o.streamConfigs!); + checkUnnamed3293(o.streamConfigs!); unittest.expect( o.version!, unittest.equals('foo'), @@ -1403,12 +1403,12 @@ void checkField(api.Field o) { buildCounterField--; } -core.List buildUnnamed3397() => [ +core.List buildUnnamed3294() => [ 'foo', 'foo', ]; -void checkUnnamed3397(core.List o) { +void checkUnnamed3294(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1426,7 +1426,7 @@ api.FieldMetadata buildFieldMetadata() { buildCounterFieldMetadata++; if (buildCounterFieldMetadata < 3) { o.action = 'foo'; - o.paths = buildUnnamed3397(); + o.paths = buildUnnamed3294(); } buildCounterFieldMetadata--; return o; @@ -1439,7 +1439,7 @@ void checkFieldMetadata(api.FieldMetadata o) { o.action!, unittest.equals('foo'), ); - checkUnnamed3397(o.paths!); + checkUnnamed3294(o.paths!); } buildCounterFieldMetadata--; } @@ -1468,12 +1468,12 @@ void checkGoogleCloudHealthcareV1ConsentGcsDestination( buildCounterGoogleCloudHealthcareV1ConsentGcsDestination--; } -core.List buildUnnamed3398() => [ +core.List buildUnnamed3295() => [ buildAttribute(), buildAttribute(), ]; -void checkUnnamed3398(core.List o) { +void checkUnnamed3295(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttribute(o[0]); checkAttribute(o[1]); @@ -1486,7 +1486,7 @@ api.GoogleCloudHealthcareV1ConsentPolicy buildCounterGoogleCloudHealthcareV1ConsentPolicy++; if (buildCounterGoogleCloudHealthcareV1ConsentPolicy < 3) { o.authorizationRule = buildExpr(); - o.resourceAttributes = buildUnnamed3398(); + o.resourceAttributes = buildUnnamed3295(); } buildCounterGoogleCloudHealthcareV1ConsentPolicy--; return o; @@ -1497,7 +1497,7 @@ void checkGoogleCloudHealthcareV1ConsentPolicy( buildCounterGoogleCloudHealthcareV1ConsentPolicy++; if (buildCounterGoogleCloudHealthcareV1ConsentPolicy < 3) { checkExpr(o.authorizationRule!); - checkUnnamed3398(o.resourceAttributes!); + checkUnnamed3295(o.resourceAttributes!); } buildCounterGoogleCloudHealthcareV1ConsentPolicy--; } @@ -1724,23 +1724,23 @@ void checkGroupOrSegment(api.GroupOrSegment o) { buildCounterGroupOrSegment--; } -core.Map buildUnnamed3399() => { +core.Map buildUnnamed3296() => { 'x': buildSchemaGroup(), 'y': buildSchemaGroup(), }; -void checkUnnamed3399(core.Map o) { +void checkUnnamed3296(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSchemaGroup(o['x']!); checkSchemaGroup(o['y']!); } -core.List buildUnnamed3400() => [ +core.List buildUnnamed3297() => [ buildVersionSource(), buildVersionSource(), ]; -void checkUnnamed3400(core.List o) { +void checkUnnamed3297(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersionSource(o[0]); checkVersionSource(o[1]); @@ -1751,8 +1751,8 @@ api.Hl7SchemaConfig buildHl7SchemaConfig() { final o = api.Hl7SchemaConfig(); buildCounterHl7SchemaConfig++; if (buildCounterHl7SchemaConfig < 3) { - o.messageSchemaConfigs = buildUnnamed3399(); - o.version = buildUnnamed3400(); + o.messageSchemaConfigs = buildUnnamed3296(); + o.version = buildUnnamed3297(); } buildCounterHl7SchemaConfig--; return o; @@ -1761,29 +1761,29 @@ api.Hl7SchemaConfig buildHl7SchemaConfig() { void checkHl7SchemaConfig(api.Hl7SchemaConfig o) { buildCounterHl7SchemaConfig++; if (buildCounterHl7SchemaConfig < 3) { - checkUnnamed3399(o.messageSchemaConfigs!); - checkUnnamed3400(o.version!); + checkUnnamed3296(o.messageSchemaConfigs!); + checkUnnamed3297(o.version!); } buildCounterHl7SchemaConfig--; } -core.List buildUnnamed3401() => [ +core.List buildUnnamed3298() => [ buildType(), buildType(), ]; -void checkUnnamed3401(core.List o) { +void checkUnnamed3298(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); } -core.List buildUnnamed3402() => [ +core.List buildUnnamed3299() => [ buildVersionSource(), buildVersionSource(), ]; -void checkUnnamed3402(core.List o) { +void checkUnnamed3299(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersionSource(o[0]); checkVersionSource(o[1]); @@ -1794,8 +1794,8 @@ api.Hl7TypesConfig buildHl7TypesConfig() { final o = api.Hl7TypesConfig(); buildCounterHl7TypesConfig++; if (buildCounterHl7TypesConfig < 3) { - o.type = buildUnnamed3401(); - o.version = buildUnnamed3402(); + o.type = buildUnnamed3298(); + o.version = buildUnnamed3299(); } buildCounterHl7TypesConfig--; return o; @@ -1804,8 +1804,8 @@ api.Hl7TypesConfig buildHl7TypesConfig() { void checkHl7TypesConfig(api.Hl7TypesConfig o) { buildCounterHl7TypesConfig++; if (buildCounterHl7TypesConfig < 3) { - checkUnnamed3401(o.type!); - checkUnnamed3402(o.version!); + checkUnnamed3298(o.type!); + checkUnnamed3299(o.version!); } buildCounterHl7TypesConfig--; } @@ -1837,12 +1837,12 @@ void checkHl7V2NotificationConfig(api.Hl7V2NotificationConfig o) { buildCounterHl7V2NotificationConfig--; } -core.Map buildUnnamed3403() => { +core.Map buildUnnamed3300() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3403(core.Map o) { +void checkUnnamed3300(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1854,12 +1854,12 @@ void checkUnnamed3403(core.Map o) { ); } -core.List buildUnnamed3404() => [ +core.List buildUnnamed3301() => [ buildHl7V2NotificationConfig(), buildHl7V2NotificationConfig(), ]; -void checkUnnamed3404(core.List o) { +void checkUnnamed3301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHl7V2NotificationConfig(o[0]); checkHl7V2NotificationConfig(o[1]); @@ -1870,9 +1870,9 @@ api.Hl7V2Store buildHl7V2Store() { final o = api.Hl7V2Store(); buildCounterHl7V2Store++; if (buildCounterHl7V2Store < 3) { - o.labels = buildUnnamed3403(); + o.labels = buildUnnamed3300(); o.name = 'foo'; - o.notificationConfigs = buildUnnamed3404(); + o.notificationConfigs = buildUnnamed3301(); o.parserConfig = buildParserConfig(); o.rejectDuplicateMessage = true; } @@ -1883,19 +1883,19 @@ api.Hl7V2Store buildHl7V2Store() { void checkHl7V2Store(api.Hl7V2Store o) { buildCounterHl7V2Store++; if (buildCounterHl7V2Store < 3) { - checkUnnamed3403(o.labels!); + checkUnnamed3300(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3404(o.notificationConfigs!); + checkUnnamed3301(o.notificationConfigs!); checkParserConfig(o.parserConfig!); unittest.expect(o.rejectDuplicateMessage!, unittest.isTrue); } buildCounterHl7V2Store--; } -core.Map buildUnnamed3405() => { +core.Map buildUnnamed3302() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1908,7 +1908,7 @@ core.Map buildUnnamed3405() => { }, }; -void checkUnnamed3405(core.Map o) { +void checkUnnamed3302(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1940,15 +1940,15 @@ void checkUnnamed3405(core.Map o) { ); } -core.List> buildUnnamed3406() => [ - buildUnnamed3405(), - buildUnnamed3405(), +core.List> buildUnnamed3303() => [ + buildUnnamed3302(), + buildUnnamed3302(), ]; -void checkUnnamed3406(core.List> o) { +void checkUnnamed3303(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3405(o[0]); - checkUnnamed3405(o[1]); + checkUnnamed3302(o[0]); + checkUnnamed3302(o[1]); } core.int buildCounterHttpBody = 0; @@ -1958,7 +1958,7 @@ api.HttpBody buildHttpBody() { if (buildCounterHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed3406(); + o.extensions = buildUnnamed3303(); } buildCounterHttpBody--; return o; @@ -1975,7 +1975,7 @@ void checkHttpBody(api.HttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed3406(o.extensions!); + checkUnnamed3303(o.extensions!); } buildCounterHttpBody--; } @@ -2102,12 +2102,12 @@ void checkImportResourcesResponse(api.ImportResourcesResponse o) { buildCounterImportResourcesResponse--; } -core.List buildUnnamed3407() => [ +core.List buildUnnamed3304() => [ 'foo', 'foo', ]; -void checkUnnamed3407(core.List o) { +void checkUnnamed3304(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2127,7 +2127,7 @@ api.InfoTypeTransformation buildInfoTypeTransformation() { o.characterMaskConfig = buildCharacterMaskConfig(); o.cryptoHashConfig = buildCryptoHashConfig(); o.dateShiftConfig = buildDateShiftConfig(); - o.infoTypes = buildUnnamed3407(); + o.infoTypes = buildUnnamed3304(); o.redactConfig = buildRedactConfig(); o.replaceWithInfoTypeConfig = buildReplaceWithInfoTypeConfig(); } @@ -2141,7 +2141,7 @@ void checkInfoTypeTransformation(api.InfoTypeTransformation o) { checkCharacterMaskConfig(o.characterMaskConfig!); checkCryptoHashConfig(o.cryptoHashConfig!); checkDateShiftConfig(o.dateShiftConfig!); - checkUnnamed3407(o.infoTypes!); + checkUnnamed3304(o.infoTypes!); checkRedactConfig(o.redactConfig!); checkReplaceWithInfoTypeConfig(o.replaceWithInfoTypeConfig!); } @@ -2191,12 +2191,12 @@ void checkIngestMessageResponse(api.IngestMessageResponse o) { buildCounterIngestMessageResponse--; } -core.List buildUnnamed3408() => [ +core.List buildUnnamed3305() => [ buildAttributeDefinition(), buildAttributeDefinition(), ]; -void checkUnnamed3408(core.List o) { +void checkUnnamed3305(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttributeDefinition(o[0]); checkAttributeDefinition(o[1]); @@ -2207,7 +2207,7 @@ api.ListAttributeDefinitionsResponse buildListAttributeDefinitionsResponse() { final o = api.ListAttributeDefinitionsResponse(); buildCounterListAttributeDefinitionsResponse++; if (buildCounterListAttributeDefinitionsResponse < 3) { - o.attributeDefinitions = buildUnnamed3408(); + o.attributeDefinitions = buildUnnamed3305(); o.nextPageToken = 'foo'; } buildCounterListAttributeDefinitionsResponse--; @@ -2218,7 +2218,7 @@ void checkListAttributeDefinitionsResponse( api.ListAttributeDefinitionsResponse o) { buildCounterListAttributeDefinitionsResponse++; if (buildCounterListAttributeDefinitionsResponse < 3) { - checkUnnamed3408(o.attributeDefinitions!); + checkUnnamed3305(o.attributeDefinitions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2227,12 +2227,12 @@ void checkListAttributeDefinitionsResponse( buildCounterListAttributeDefinitionsResponse--; } -core.List buildUnnamed3409() => [ +core.List buildUnnamed3306() => [ buildConsentArtifact(), buildConsentArtifact(), ]; -void checkUnnamed3409(core.List o) { +void checkUnnamed3306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsentArtifact(o[0]); checkConsentArtifact(o[1]); @@ -2243,7 +2243,7 @@ api.ListConsentArtifactsResponse buildListConsentArtifactsResponse() { final o = api.ListConsentArtifactsResponse(); buildCounterListConsentArtifactsResponse++; if (buildCounterListConsentArtifactsResponse < 3) { - o.consentArtifacts = buildUnnamed3409(); + o.consentArtifacts = buildUnnamed3306(); o.nextPageToken = 'foo'; } buildCounterListConsentArtifactsResponse--; @@ -2253,7 +2253,7 @@ api.ListConsentArtifactsResponse buildListConsentArtifactsResponse() { void checkListConsentArtifactsResponse(api.ListConsentArtifactsResponse o) { buildCounterListConsentArtifactsResponse++; if (buildCounterListConsentArtifactsResponse < 3) { - checkUnnamed3409(o.consentArtifacts!); + checkUnnamed3306(o.consentArtifacts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2262,12 +2262,12 @@ void checkListConsentArtifactsResponse(api.ListConsentArtifactsResponse o) { buildCounterListConsentArtifactsResponse--; } -core.List buildUnnamed3410() => [ +core.List buildUnnamed3307() => [ buildConsent(), buildConsent(), ]; -void checkUnnamed3410(core.List o) { +void checkUnnamed3307(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsent(o[0]); checkConsent(o[1]); @@ -2278,7 +2278,7 @@ api.ListConsentRevisionsResponse buildListConsentRevisionsResponse() { final o = api.ListConsentRevisionsResponse(); buildCounterListConsentRevisionsResponse++; if (buildCounterListConsentRevisionsResponse < 3) { - o.consents = buildUnnamed3410(); + o.consents = buildUnnamed3307(); o.nextPageToken = 'foo'; } buildCounterListConsentRevisionsResponse--; @@ -2288,7 +2288,7 @@ api.ListConsentRevisionsResponse buildListConsentRevisionsResponse() { void checkListConsentRevisionsResponse(api.ListConsentRevisionsResponse o) { buildCounterListConsentRevisionsResponse++; if (buildCounterListConsentRevisionsResponse < 3) { - checkUnnamed3410(o.consents!); + checkUnnamed3307(o.consents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2297,12 +2297,12 @@ void checkListConsentRevisionsResponse(api.ListConsentRevisionsResponse o) { buildCounterListConsentRevisionsResponse--; } -core.List buildUnnamed3411() => [ +core.List buildUnnamed3308() => [ buildConsentStore(), buildConsentStore(), ]; -void checkUnnamed3411(core.List o) { +void checkUnnamed3308(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsentStore(o[0]); checkConsentStore(o[1]); @@ -2313,7 +2313,7 @@ api.ListConsentStoresResponse buildListConsentStoresResponse() { final o = api.ListConsentStoresResponse(); buildCounterListConsentStoresResponse++; if (buildCounterListConsentStoresResponse < 3) { - o.consentStores = buildUnnamed3411(); + o.consentStores = buildUnnamed3308(); o.nextPageToken = 'foo'; } buildCounterListConsentStoresResponse--; @@ -2323,7 +2323,7 @@ api.ListConsentStoresResponse buildListConsentStoresResponse() { void checkListConsentStoresResponse(api.ListConsentStoresResponse o) { buildCounterListConsentStoresResponse++; if (buildCounterListConsentStoresResponse < 3) { - checkUnnamed3411(o.consentStores!); + checkUnnamed3308(o.consentStores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2332,12 +2332,12 @@ void checkListConsentStoresResponse(api.ListConsentStoresResponse o) { buildCounterListConsentStoresResponse--; } -core.List buildUnnamed3412() => [ +core.List buildUnnamed3309() => [ buildConsent(), buildConsent(), ]; -void checkUnnamed3412(core.List o) { +void checkUnnamed3309(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsent(o[0]); checkConsent(o[1]); @@ -2348,7 +2348,7 @@ api.ListConsentsResponse buildListConsentsResponse() { final o = api.ListConsentsResponse(); buildCounterListConsentsResponse++; if (buildCounterListConsentsResponse < 3) { - o.consents = buildUnnamed3412(); + o.consents = buildUnnamed3309(); o.nextPageToken = 'foo'; } buildCounterListConsentsResponse--; @@ -2358,7 +2358,7 @@ api.ListConsentsResponse buildListConsentsResponse() { void checkListConsentsResponse(api.ListConsentsResponse o) { buildCounterListConsentsResponse++; if (buildCounterListConsentsResponse < 3) { - checkUnnamed3412(o.consents!); + checkUnnamed3309(o.consents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2367,12 +2367,12 @@ void checkListConsentsResponse(api.ListConsentsResponse o) { buildCounterListConsentsResponse--; } -core.List buildUnnamed3413() => [ +core.List buildUnnamed3310() => [ buildDataset(), buildDataset(), ]; -void checkUnnamed3413(core.List o) { +void checkUnnamed3310(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataset(o[0]); checkDataset(o[1]); @@ -2383,7 +2383,7 @@ api.ListDatasetsResponse buildListDatasetsResponse() { final o = api.ListDatasetsResponse(); buildCounterListDatasetsResponse++; if (buildCounterListDatasetsResponse < 3) { - o.datasets = buildUnnamed3413(); + o.datasets = buildUnnamed3310(); o.nextPageToken = 'foo'; } buildCounterListDatasetsResponse--; @@ -2393,7 +2393,7 @@ api.ListDatasetsResponse buildListDatasetsResponse() { void checkListDatasetsResponse(api.ListDatasetsResponse o) { buildCounterListDatasetsResponse++; if (buildCounterListDatasetsResponse < 3) { - checkUnnamed3413(o.datasets!); + checkUnnamed3310(o.datasets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2402,12 +2402,12 @@ void checkListDatasetsResponse(api.ListDatasetsResponse o) { buildCounterListDatasetsResponse--; } -core.List buildUnnamed3414() => [ +core.List buildUnnamed3311() => [ buildDicomStore(), buildDicomStore(), ]; -void checkUnnamed3414(core.List o) { +void checkUnnamed3311(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDicomStore(o[0]); checkDicomStore(o[1]); @@ -2418,7 +2418,7 @@ api.ListDicomStoresResponse buildListDicomStoresResponse() { final o = api.ListDicomStoresResponse(); buildCounterListDicomStoresResponse++; if (buildCounterListDicomStoresResponse < 3) { - o.dicomStores = buildUnnamed3414(); + o.dicomStores = buildUnnamed3311(); o.nextPageToken = 'foo'; } buildCounterListDicomStoresResponse--; @@ -2428,7 +2428,7 @@ api.ListDicomStoresResponse buildListDicomStoresResponse() { void checkListDicomStoresResponse(api.ListDicomStoresResponse o) { buildCounterListDicomStoresResponse++; if (buildCounterListDicomStoresResponse < 3) { - checkUnnamed3414(o.dicomStores!); + checkUnnamed3311(o.dicomStores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2437,12 +2437,12 @@ void checkListDicomStoresResponse(api.ListDicomStoresResponse o) { buildCounterListDicomStoresResponse--; } -core.List buildUnnamed3415() => [ +core.List buildUnnamed3312() => [ buildFhirStore(), buildFhirStore(), ]; -void checkUnnamed3415(core.List o) { +void checkUnnamed3312(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFhirStore(o[0]); checkFhirStore(o[1]); @@ -2453,7 +2453,7 @@ api.ListFhirStoresResponse buildListFhirStoresResponse() { final o = api.ListFhirStoresResponse(); buildCounterListFhirStoresResponse++; if (buildCounterListFhirStoresResponse < 3) { - o.fhirStores = buildUnnamed3415(); + o.fhirStores = buildUnnamed3312(); o.nextPageToken = 'foo'; } buildCounterListFhirStoresResponse--; @@ -2463,7 +2463,7 @@ api.ListFhirStoresResponse buildListFhirStoresResponse() { void checkListFhirStoresResponse(api.ListFhirStoresResponse o) { buildCounterListFhirStoresResponse++; if (buildCounterListFhirStoresResponse < 3) { - checkUnnamed3415(o.fhirStores!); + checkUnnamed3312(o.fhirStores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2472,12 +2472,12 @@ void checkListFhirStoresResponse(api.ListFhirStoresResponse o) { buildCounterListFhirStoresResponse--; } -core.List buildUnnamed3416() => [ +core.List buildUnnamed3313() => [ buildHl7V2Store(), buildHl7V2Store(), ]; -void checkUnnamed3416(core.List o) { +void checkUnnamed3313(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHl7V2Store(o[0]); checkHl7V2Store(o[1]); @@ -2488,7 +2488,7 @@ api.ListHl7V2StoresResponse buildListHl7V2StoresResponse() { final o = api.ListHl7V2StoresResponse(); buildCounterListHl7V2StoresResponse++; if (buildCounterListHl7V2StoresResponse < 3) { - o.hl7V2Stores = buildUnnamed3416(); + o.hl7V2Stores = buildUnnamed3313(); o.nextPageToken = 'foo'; } buildCounterListHl7V2StoresResponse--; @@ -2498,7 +2498,7 @@ api.ListHl7V2StoresResponse buildListHl7V2StoresResponse() { void checkListHl7V2StoresResponse(api.ListHl7V2StoresResponse o) { buildCounterListHl7V2StoresResponse++; if (buildCounterListHl7V2StoresResponse < 3) { - checkUnnamed3416(o.hl7V2Stores!); + checkUnnamed3313(o.hl7V2Stores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2507,12 +2507,12 @@ void checkListHl7V2StoresResponse(api.ListHl7V2StoresResponse o) { buildCounterListHl7V2StoresResponse--; } -core.List buildUnnamed3417() => [ +core.List buildUnnamed3314() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed3417(core.List o) { +void checkUnnamed3314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -2523,7 +2523,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed3417(); + o.locations = buildUnnamed3314(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -2533,7 +2533,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed3417(o.locations!); + checkUnnamed3314(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2542,12 +2542,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed3418() => [ +core.List buildUnnamed3315() => [ buildMessage(), buildMessage(), ]; -void checkUnnamed3418(core.List o) { +void checkUnnamed3315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMessage(o[0]); checkMessage(o[1]); @@ -2558,7 +2558,7 @@ api.ListMessagesResponse buildListMessagesResponse() { final o = api.ListMessagesResponse(); buildCounterListMessagesResponse++; if (buildCounterListMessagesResponse < 3) { - o.hl7V2Messages = buildUnnamed3418(); + o.hl7V2Messages = buildUnnamed3315(); o.nextPageToken = 'foo'; } buildCounterListMessagesResponse--; @@ -2568,7 +2568,7 @@ api.ListMessagesResponse buildListMessagesResponse() { void checkListMessagesResponse(api.ListMessagesResponse o) { buildCounterListMessagesResponse++; if (buildCounterListMessagesResponse < 3) { - checkUnnamed3418(o.hl7V2Messages!); + checkUnnamed3315(o.hl7V2Messages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2577,12 +2577,12 @@ void checkListMessagesResponse(api.ListMessagesResponse o) { buildCounterListMessagesResponse--; } -core.List buildUnnamed3419() => [ +core.List buildUnnamed3316() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed3419(core.List o) { +void checkUnnamed3316(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2594,7 +2594,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed3419(); + o.operations = buildUnnamed3316(); } buildCounterListOperationsResponse--; return o; @@ -2607,17 +2607,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3419(o.operations!); + checkUnnamed3316(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed3420() => [ +core.List buildUnnamed3317() => [ buildUserDataMapping(), buildUserDataMapping(), ]; -void checkUnnamed3420(core.List o) { +void checkUnnamed3317(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDataMapping(o[0]); checkUserDataMapping(o[1]); @@ -2629,7 +2629,7 @@ api.ListUserDataMappingsResponse buildListUserDataMappingsResponse() { buildCounterListUserDataMappingsResponse++; if (buildCounterListUserDataMappingsResponse < 3) { o.nextPageToken = 'foo'; - o.userDataMappings = buildUnnamed3420(); + o.userDataMappings = buildUnnamed3317(); } buildCounterListUserDataMappingsResponse--; return o; @@ -2642,17 +2642,17 @@ void checkListUserDataMappingsResponse(api.ListUserDataMappingsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3420(o.userDataMappings!); + checkUnnamed3317(o.userDataMappings!); } buildCounterListUserDataMappingsResponse--; } -core.Map buildUnnamed3421() => { +core.Map buildUnnamed3318() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3421(core.Map o) { +void checkUnnamed3318(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2664,7 +2664,7 @@ void checkUnnamed3421(core.Map o) { ); } -core.Map buildUnnamed3422() => { +core.Map buildUnnamed3319() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2677,7 +2677,7 @@ core.Map buildUnnamed3422() => { }, }; -void checkUnnamed3422(core.Map o) { +void checkUnnamed3319(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2715,9 +2715,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed3421(); + o.labels = buildUnnamed3318(); o.locationId = 'foo'; - o.metadata = buildUnnamed3422(); + o.metadata = buildUnnamed3319(); o.name = 'foo'; } buildCounterLocation--; @@ -2731,12 +2731,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed3421(o.labels!); + checkUnnamed3318(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed3422(o.metadata!); + checkUnnamed3319(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2745,12 +2745,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed3423() => { +core.Map buildUnnamed3320() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3423(core.Map o) { +void checkUnnamed3320(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2762,12 +2762,12 @@ void checkUnnamed3423(core.Map o) { ); } -core.List buildUnnamed3424() => [ +core.List buildUnnamed3321() => [ buildPatientId(), buildPatientId(), ]; -void checkUnnamed3424(core.List o) { +void checkUnnamed3321(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPatientId(o[0]); checkPatientId(o[1]); @@ -2780,11 +2780,11 @@ api.Message buildMessage() { if (buildCounterMessage < 3) { o.createTime = 'foo'; o.data = 'foo'; - o.labels = buildUnnamed3423(); + o.labels = buildUnnamed3320(); o.messageType = 'foo'; o.name = 'foo'; o.parsedData = buildParsedData(); - o.patientIds = buildUnnamed3424(); + o.patientIds = buildUnnamed3321(); o.schematizedData = buildSchematizedData(); o.sendFacility = 'foo'; o.sendTime = 'foo'; @@ -2804,7 +2804,7 @@ void checkMessage(api.Message o) { o.data!, unittest.equals('foo'), ); - checkUnnamed3423(o.labels!); + checkUnnamed3320(o.labels!); unittest.expect( o.messageType!, unittest.equals('foo'), @@ -2814,7 +2814,7 @@ void checkMessage(api.Message o) { unittest.equals('foo'), ); checkParsedData(o.parsedData!); - checkUnnamed3424(o.patientIds!); + checkUnnamed3321(o.patientIds!); checkSchematizedData(o.schematizedData!); unittest.expect( o.sendFacility!, @@ -2850,7 +2850,7 @@ void checkNotificationConfig(api.NotificationConfig o) { buildCounterNotificationConfig--; } -core.Map buildUnnamed3425() => { +core.Map buildUnnamed3322() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2863,7 +2863,7 @@ core.Map buildUnnamed3425() => { }, }; -void checkUnnamed3425(core.Map o) { +void checkUnnamed3322(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2895,7 +2895,7 @@ void checkUnnamed3425(core.Map o) { ); } -core.Map buildUnnamed3426() => { +core.Map buildUnnamed3323() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2908,7 +2908,7 @@ core.Map buildUnnamed3426() => { }, }; -void checkUnnamed3426(core.Map o) { +void checkUnnamed3323(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2947,9 +2947,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed3425(); + o.metadata = buildUnnamed3322(); o.name = 'foo'; - o.response = buildUnnamed3426(); + o.response = buildUnnamed3323(); } buildCounterOperation--; return o; @@ -2960,12 +2960,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed3425(o.metadata!); + checkUnnamed3322(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3426(o.response!); + checkUnnamed3323(o.response!); } buildCounterOperation--; } @@ -3011,12 +3011,12 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed3427() => [ +core.List buildUnnamed3324() => [ buildSegment(), buildSegment(), ]; -void checkUnnamed3427(core.List o) { +void checkUnnamed3324(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSegment(o[0]); checkSegment(o[1]); @@ -3027,7 +3027,7 @@ api.ParsedData buildParsedData() { final o = api.ParsedData(); buildCounterParsedData++; if (buildCounterParsedData < 3) { - o.segments = buildUnnamed3427(); + o.segments = buildUnnamed3324(); } buildCounterParsedData--; return o; @@ -3036,7 +3036,7 @@ api.ParsedData buildParsedData() { void checkParsedData(api.ParsedData o) { buildCounterParsedData++; if (buildCounterParsedData < 3) { - checkUnnamed3427(o.segments!); + checkUnnamed3324(o.segments!); } buildCounterParsedData--; } @@ -3094,23 +3094,23 @@ void checkPatientId(api.PatientId o) { buildCounterPatientId--; } -core.List buildUnnamed3428() => [ +core.List buildUnnamed3325() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed3428(core.List o) { +void checkUnnamed3325(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed3429() => [ +core.List buildUnnamed3326() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3429(core.List o) { +void checkUnnamed3326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -3121,8 +3121,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed3428(); - o.bindings = buildUnnamed3429(); + o.auditConfigs = buildUnnamed3325(); + o.bindings = buildUnnamed3326(); o.etag = 'foo'; o.version = 42; } @@ -3133,8 +3133,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3428(o.auditConfigs!); - checkUnnamed3429(o.bindings!); + checkUnnamed3325(o.auditConfigs!); + checkUnnamed3326(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3179,12 +3179,12 @@ void checkProgressCounter(api.ProgressCounter o) { buildCounterProgressCounter--; } -core.Map buildUnnamed3430() => { +core.Map buildUnnamed3327() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3430(core.Map o) { +void checkUnnamed3327(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3196,12 +3196,12 @@ void checkUnnamed3430(core.Map o) { ); } -core.Map buildUnnamed3431() => { +core.Map buildUnnamed3328() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3431(core.Map o) { +void checkUnnamed3328(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3219,8 +3219,8 @@ api.QueryAccessibleDataRequest buildQueryAccessibleDataRequest() { buildCounterQueryAccessibleDataRequest++; if (buildCounterQueryAccessibleDataRequest < 3) { o.gcsDestination = buildGoogleCloudHealthcareV1ConsentGcsDestination(); - o.requestAttributes = buildUnnamed3430(); - o.resourceAttributes = buildUnnamed3431(); + o.requestAttributes = buildUnnamed3327(); + o.resourceAttributes = buildUnnamed3328(); } buildCounterQueryAccessibleDataRequest--; return o; @@ -3230,18 +3230,18 @@ void checkQueryAccessibleDataRequest(api.QueryAccessibleDataRequest o) { buildCounterQueryAccessibleDataRequest++; if (buildCounterQueryAccessibleDataRequest < 3) { checkGoogleCloudHealthcareV1ConsentGcsDestination(o.gcsDestination!); - checkUnnamed3430(o.requestAttributes!); - checkUnnamed3431(o.resourceAttributes!); + checkUnnamed3327(o.requestAttributes!); + checkUnnamed3328(o.resourceAttributes!); } buildCounterQueryAccessibleDataRequest--; } -core.List buildUnnamed3432() => [ +core.List buildUnnamed3329() => [ 'foo', 'foo', ]; -void checkUnnamed3432(core.List o) { +void checkUnnamed3329(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3258,7 +3258,7 @@ api.QueryAccessibleDataResponse buildQueryAccessibleDataResponse() { final o = api.QueryAccessibleDataResponse(); buildCounterQueryAccessibleDataResponse++; if (buildCounterQueryAccessibleDataResponse < 3) { - o.gcsUris = buildUnnamed3432(); + o.gcsUris = buildUnnamed3329(); } buildCounterQueryAccessibleDataResponse--; return o; @@ -3267,7 +3267,7 @@ api.QueryAccessibleDataResponse buildQueryAccessibleDataResponse() { void checkQueryAccessibleDataResponse(api.QueryAccessibleDataResponse o) { buildCounterQueryAccessibleDataResponse++; if (buildCounterQueryAccessibleDataResponse < 3) { - checkUnnamed3432(o.gcsUris!); + checkUnnamed3329(o.gcsUris!); } buildCounterQueryAccessibleDataResponse--; } @@ -3324,12 +3324,12 @@ void checkReplaceWithInfoTypeConfig(api.ReplaceWithInfoTypeConfig o) { buildCounterReplaceWithInfoTypeConfig--; } -core.List buildUnnamed3433() => [ +core.List buildUnnamed3330() => [ 'foo', 'foo', ]; -void checkUnnamed3433(core.List o) { +void checkUnnamed3330(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3346,7 +3346,7 @@ api.Resources buildResources() { final o = api.Resources(); buildCounterResources++; if (buildCounterResources < 3) { - o.resources = buildUnnamed3433(); + o.resources = buildUnnamed3330(); } buildCounterResources--; return o; @@ -3355,17 +3355,17 @@ api.Resources buildResources() { void checkResources(api.Resources o) { buildCounterResources++; if (buildCounterResources < 3) { - checkUnnamed3433(o.resources!); + checkUnnamed3330(o.resources!); } buildCounterResources--; } -core.Map buildUnnamed3434() => { +core.Map buildUnnamed3331() => { 'x': buildConsentEvaluation(), 'y': buildConsentEvaluation(), }; -void checkUnnamed3434(core.Map o) { +void checkUnnamed3331(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkConsentEvaluation(o['x']!); checkConsentEvaluation(o['y']!); @@ -3376,7 +3376,7 @@ api.Result buildResult() { final o = api.Result(); buildCounterResult++; if (buildCounterResult < 3) { - o.consentDetails = buildUnnamed3434(); + o.consentDetails = buildUnnamed3331(); o.consented = true; o.dataId = 'foo'; } @@ -3387,7 +3387,7 @@ api.Result buildResult() { void checkResult(api.Result o) { buildCounterResult++; if (buildCounterResult < 3) { - checkUnnamed3434(o.consentDetails!); + checkUnnamed3331(o.consentDetails!); unittest.expect(o.consented!, unittest.isTrue); unittest.expect( o.dataId!, @@ -3446,12 +3446,12 @@ void checkSchemaConfig(api.SchemaConfig o) { buildCounterSchemaConfig--; } -core.List buildUnnamed3435() => [ +core.List buildUnnamed3332() => [ buildGroupOrSegment(), buildGroupOrSegment(), ]; -void checkUnnamed3435(core.List o) { +void checkUnnamed3332(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupOrSegment(o[0]); checkGroupOrSegment(o[1]); @@ -3464,7 +3464,7 @@ api.SchemaGroup buildSchemaGroup() { if (buildCounterSchemaGroup < 3) { o.choice = true; o.maxOccurs = 42; - o.members = buildUnnamed3435(); + o.members = buildUnnamed3332(); o.minOccurs = 42; o.name = 'foo'; } @@ -3480,7 +3480,7 @@ void checkSchemaGroup(api.SchemaGroup o) { o.maxOccurs!, unittest.equals(42), ); - checkUnnamed3435(o.members!); + checkUnnamed3332(o.members!); unittest.expect( o.minOccurs!, unittest.equals(42), @@ -3493,23 +3493,23 @@ void checkSchemaGroup(api.SchemaGroup o) { buildCounterSchemaGroup--; } -core.List buildUnnamed3436() => [ +core.List buildUnnamed3333() => [ buildHl7SchemaConfig(), buildHl7SchemaConfig(), ]; -void checkUnnamed3436(core.List o) { +void checkUnnamed3333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHl7SchemaConfig(o[0]); checkHl7SchemaConfig(o[1]); } -core.List buildUnnamed3437() => [ +core.List buildUnnamed3334() => [ buildHl7TypesConfig(), buildHl7TypesConfig(), ]; -void checkUnnamed3437(core.List o) { +void checkUnnamed3334(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHl7TypesConfig(o[0]); checkHl7TypesConfig(o[1]); @@ -3521,9 +3521,9 @@ api.SchemaPackage buildSchemaPackage() { buildCounterSchemaPackage++; if (buildCounterSchemaPackage < 3) { o.ignoreMinOccurs = true; - o.schemas = buildUnnamed3436(); + o.schemas = buildUnnamed3333(); o.schematizedParsingType = 'foo'; - o.types = buildUnnamed3437(); + o.types = buildUnnamed3334(); } buildCounterSchemaPackage--; return o; @@ -3533,12 +3533,12 @@ void checkSchemaPackage(api.SchemaPackage o) { buildCounterSchemaPackage++; if (buildCounterSchemaPackage < 3) { unittest.expect(o.ignoreMinOccurs!, unittest.isTrue); - checkUnnamed3436(o.schemas!); + checkUnnamed3333(o.schemas!); unittest.expect( o.schematizedParsingType!, unittest.equals('foo'), ); - checkUnnamed3437(o.types!); + checkUnnamed3334(o.types!); } buildCounterSchemaPackage--; } @@ -3624,12 +3624,12 @@ void checkSearchResourcesRequest(api.SearchResourcesRequest o) { buildCounterSearchResourcesRequest--; } -core.Map buildUnnamed3438() => { +core.Map buildUnnamed3335() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3438(core.Map o) { +void checkUnnamed3335(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3646,7 +3646,7 @@ api.Segment buildSegment() { final o = api.Segment(); buildCounterSegment++; if (buildCounterSegment < 3) { - o.fields = buildUnnamed3438(); + o.fields = buildUnnamed3335(); o.segmentId = 'foo'; o.setId = 'foo'; } @@ -3657,7 +3657,7 @@ api.Segment buildSegment() { void checkSegment(api.Segment o) { buildCounterSegment++; if (buildCounterSegment < 3) { - checkUnnamed3438(o.fields!); + checkUnnamed3335(o.fields!); unittest.expect( o.segmentId!, unittest.equals('foo'), @@ -3694,12 +3694,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed3439() => { +core.Map buildUnnamed3336() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3439(core.Map o) { +void checkUnnamed3336(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3717,7 +3717,7 @@ api.Signature buildSignature() { buildCounterSignature++; if (buildCounterSignature < 3) { o.image = buildImage(); - o.metadata = buildUnnamed3439(); + o.metadata = buildUnnamed3336(); o.signatureTime = 'foo'; o.userId = 'foo'; } @@ -3729,7 +3729,7 @@ void checkSignature(api.Signature o) { buildCounterSignature++; if (buildCounterSignature < 3) { checkImage(o.image!); - checkUnnamed3439(o.metadata!); + checkUnnamed3336(o.metadata!); unittest.expect( o.signatureTime!, unittest.equals('foo'), @@ -3742,7 +3742,7 @@ void checkSignature(api.Signature o) { buildCounterSignature--; } -core.Map buildUnnamed3440() => { +core.Map buildUnnamed3337() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3755,7 +3755,7 @@ core.Map buildUnnamed3440() => { }, }; -void checkUnnamed3440(core.Map o) { +void checkUnnamed3337(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3787,15 +3787,15 @@ void checkUnnamed3440(core.Map o) { ); } -core.List> buildUnnamed3441() => [ - buildUnnamed3440(), - buildUnnamed3440(), +core.List> buildUnnamed3338() => [ + buildUnnamed3337(), + buildUnnamed3337(), ]; -void checkUnnamed3441(core.List> o) { +void checkUnnamed3338(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3440(o[0]); - checkUnnamed3440(o[1]); + checkUnnamed3337(o[0]); + checkUnnamed3337(o[1]); } core.int buildCounterStatus = 0; @@ -3804,7 +3804,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3441(); + o.details = buildUnnamed3338(); o.message = 'foo'; } buildCounterStatus--; @@ -3818,7 +3818,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3441(o.details!); + checkUnnamed3338(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3827,12 +3827,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed3442() => [ +core.List buildUnnamed3339() => [ 'foo', 'foo', ]; -void checkUnnamed3442(core.List o) { +void checkUnnamed3339(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3851,7 +3851,7 @@ api.StreamConfig buildStreamConfig() { if (buildCounterStreamConfig < 3) { o.bigqueryDestination = buildGoogleCloudHealthcareV1FhirBigQueryDestination(); - o.resourceTypes = buildUnnamed3442(); + o.resourceTypes = buildUnnamed3339(); } buildCounterStreamConfig--; return o; @@ -3861,17 +3861,17 @@ void checkStreamConfig(api.StreamConfig o) { buildCounterStreamConfig++; if (buildCounterStreamConfig < 3) { checkGoogleCloudHealthcareV1FhirBigQueryDestination(o.bigqueryDestination!); - checkUnnamed3442(o.resourceTypes!); + checkUnnamed3339(o.resourceTypes!); } buildCounterStreamConfig--; } -core.List buildUnnamed3443() => [ +core.List buildUnnamed3340() => [ 'foo', 'foo', ]; -void checkUnnamed3443(core.List o) { +void checkUnnamed3340(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3888,7 +3888,7 @@ api.TagFilterList buildTagFilterList() { final o = api.TagFilterList(); buildCounterTagFilterList++; if (buildCounterTagFilterList < 3) { - o.tags = buildUnnamed3443(); + o.tags = buildUnnamed3340(); } buildCounterTagFilterList--; return o; @@ -3897,17 +3897,17 @@ api.TagFilterList buildTagFilterList() { void checkTagFilterList(api.TagFilterList o) { buildCounterTagFilterList++; if (buildCounterTagFilterList < 3) { - checkUnnamed3443(o.tags!); + checkUnnamed3340(o.tags!); } buildCounterTagFilterList--; } -core.List buildUnnamed3444() => [ +core.List buildUnnamed3341() => [ 'foo', 'foo', ]; -void checkUnnamed3444(core.List o) { +void checkUnnamed3341(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3924,7 +3924,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3444(); + o.permissions = buildUnnamed3341(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3933,17 +3933,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3444(o.permissions!); + checkUnnamed3341(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3445() => [ +core.List buildUnnamed3342() => [ 'foo', 'foo', ]; -void checkUnnamed3445(core.List o) { +void checkUnnamed3342(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3960,7 +3960,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3445(); + o.permissions = buildUnnamed3342(); } buildCounterTestIamPermissionsResponse--; return o; @@ -3969,17 +3969,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3445(o.permissions!); + checkUnnamed3342(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed3446() => [ +core.List buildUnnamed3343() => [ buildInfoTypeTransformation(), buildInfoTypeTransformation(), ]; -void checkUnnamed3446(core.List o) { +void checkUnnamed3343(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInfoTypeTransformation(o[0]); checkInfoTypeTransformation(o[1]); @@ -3990,7 +3990,7 @@ api.TextConfig buildTextConfig() { final o = api.TextConfig(); buildCounterTextConfig++; if (buildCounterTextConfig < 3) { - o.transformations = buildUnnamed3446(); + o.transformations = buildUnnamed3343(); } buildCounterTextConfig--; return o; @@ -3999,17 +3999,17 @@ api.TextConfig buildTextConfig() { void checkTextConfig(api.TextConfig o) { buildCounterTextConfig++; if (buildCounterTextConfig < 3) { - checkUnnamed3446(o.transformations!); + checkUnnamed3343(o.transformations!); } buildCounterTextConfig--; } -core.List buildUnnamed3447() => [ +core.List buildUnnamed3344() => [ buildField(), buildField(), ]; -void checkUnnamed3447(core.List o) { +void checkUnnamed3344(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); @@ -4020,7 +4020,7 @@ api.Type buildType() { final o = api.Type(); buildCounterType++; if (buildCounterType < 3) { - o.fields = buildUnnamed3447(); + o.fields = buildUnnamed3344(); o.name = 'foo'; o.primitive = 'foo'; } @@ -4031,7 +4031,7 @@ api.Type buildType() { void checkType(api.Type o) { buildCounterType++; if (buildCounterType < 3) { - checkUnnamed3447(o.fields!); + checkUnnamed3344(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4044,12 +4044,12 @@ void checkType(api.Type o) { buildCounterType--; } -core.List buildUnnamed3448() => [ +core.List buildUnnamed3345() => [ buildAttribute(), buildAttribute(), ]; -void checkUnnamed3448(core.List o) { +void checkUnnamed3345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttribute(o[0]); checkAttribute(o[1]); @@ -4064,7 +4064,7 @@ api.UserDataMapping buildUserDataMapping() { o.archived = true; o.dataId = 'foo'; o.name = 'foo'; - o.resourceAttributes = buildUnnamed3448(); + o.resourceAttributes = buildUnnamed3345(); o.userId = 'foo'; } buildCounterUserDataMapping--; @@ -4087,7 +4087,7 @@ void checkUserDataMapping(api.UserDataMapping o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3448(o.resourceAttributes!); + checkUnnamed3345(o.resourceAttributes!); unittest.expect( o.userId!, unittest.equals('foo'), diff --git a/generated/googleapis/test/homegraph/v1_test.dart b/generated/googleapis/test/homegraph/v1_test.dart index 8778dbfab..1b3d6f9a2 100644 --- a/generated/googleapis/test/homegraph/v1_test.dart +++ b/generated/googleapis/test/homegraph/v1_test.dart @@ -75,7 +75,7 @@ void checkAgentOtherDeviceId(api.AgentOtherDeviceId o) { buildCounterAgentOtherDeviceId--; } -core.Map buildUnnamed1420() => { +core.Map buildUnnamed1445() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -88,7 +88,7 @@ core.Map buildUnnamed1420() => { }, }; -void checkUnnamed1420(core.Map o) { +void checkUnnamed1445(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -120,7 +120,7 @@ void checkUnnamed1420(core.Map o) { ); } -core.Map buildUnnamed1421() => { +core.Map buildUnnamed1446() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -133,7 +133,7 @@ core.Map buildUnnamed1421() => { }, }; -void checkUnnamed1421(core.Map o) { +void checkUnnamed1446(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -165,23 +165,23 @@ void checkUnnamed1421(core.Map o) { ); } -core.List buildUnnamed1422() => [ +core.List buildUnnamed1447() => [ buildAgentOtherDeviceId(), buildAgentOtherDeviceId(), ]; -void checkUnnamed1422(core.List o) { +void checkUnnamed1447(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAgentOtherDeviceId(o[0]); checkAgentOtherDeviceId(o[1]); } -core.List buildUnnamed1423() => [ +core.List buildUnnamed1448() => [ 'foo', 'foo', ]; -void checkUnnamed1423(core.List o) { +void checkUnnamed1448(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -198,16 +198,16 @@ api.Device buildDevice() { final o = api.Device(); buildCounterDevice++; if (buildCounterDevice < 3) { - o.attributes = buildUnnamed1420(); - o.customData = buildUnnamed1421(); + o.attributes = buildUnnamed1445(); + o.customData = buildUnnamed1446(); o.deviceInfo = buildDeviceInfo(); o.id = 'foo'; o.name = buildDeviceNames(); o.notificationSupportedByAgent = true; - o.otherDeviceIds = buildUnnamed1422(); + o.otherDeviceIds = buildUnnamed1447(); o.roomHint = 'foo'; o.structureHint = 'foo'; - o.traits = buildUnnamed1423(); + o.traits = buildUnnamed1448(); o.type = 'foo'; o.willReportState = true; } @@ -218,8 +218,8 @@ api.Device buildDevice() { void checkDevice(api.Device o) { buildCounterDevice++; if (buildCounterDevice < 3) { - checkUnnamed1420(o.attributes!); - checkUnnamed1421(o.customData!); + checkUnnamed1445(o.attributes!); + checkUnnamed1446(o.customData!); checkDeviceInfo(o.deviceInfo!); unittest.expect( o.id!, @@ -227,7 +227,7 @@ void checkDevice(api.Device o) { ); checkDeviceNames(o.name!); unittest.expect(o.notificationSupportedByAgent!, unittest.isTrue); - checkUnnamed1422(o.otherDeviceIds!); + checkUnnamed1447(o.otherDeviceIds!); unittest.expect( o.roomHint!, unittest.equals('foo'), @@ -236,7 +236,7 @@ void checkDevice(api.Device o) { o.structureHint!, unittest.equals('foo'), ); - checkUnnamed1423(o.traits!); + checkUnnamed1448(o.traits!); unittest.expect( o.type!, unittest.equals('foo'), @@ -283,12 +283,12 @@ void checkDeviceInfo(api.DeviceInfo o) { buildCounterDeviceInfo--; } -core.List buildUnnamed1424() => [ +core.List buildUnnamed1449() => [ 'foo', 'foo', ]; -void checkUnnamed1424(core.List o) { +void checkUnnamed1449(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -300,12 +300,12 @@ void checkUnnamed1424(core.List o) { ); } -core.List buildUnnamed1425() => [ +core.List buildUnnamed1450() => [ 'foo', 'foo', ]; -void checkUnnamed1425(core.List o) { +void checkUnnamed1450(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -322,9 +322,9 @@ api.DeviceNames buildDeviceNames() { final o = api.DeviceNames(); buildCounterDeviceNames++; if (buildCounterDeviceNames < 3) { - o.defaultNames = buildUnnamed1424(); + o.defaultNames = buildUnnamed1449(); o.name = 'foo'; - o.nicknames = buildUnnamed1425(); + o.nicknames = buildUnnamed1450(); } buildCounterDeviceNames--; return o; @@ -333,12 +333,12 @@ api.DeviceNames buildDeviceNames() { void checkDeviceNames(api.DeviceNames o) { buildCounterDeviceNames++; if (buildCounterDeviceNames < 3) { - checkUnnamed1424(o.defaultNames!); + checkUnnamed1449(o.defaultNames!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1425(o.nicknames!); + checkUnnamed1450(o.nicknames!); } buildCounterDeviceNames--; } @@ -358,12 +358,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed1426() => [ +core.List buildUnnamed1451() => [ buildQueryRequestInput(), buildQueryRequestInput(), ]; -void checkUnnamed1426(core.List o) { +void checkUnnamed1451(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryRequestInput(o[0]); checkQueryRequestInput(o[1]); @@ -375,7 +375,7 @@ api.QueryRequest buildQueryRequest() { buildCounterQueryRequest++; if (buildCounterQueryRequest < 3) { o.agentUserId = 'foo'; - o.inputs = buildUnnamed1426(); + o.inputs = buildUnnamed1451(); o.requestId = 'foo'; } buildCounterQueryRequest--; @@ -389,7 +389,7 @@ void checkQueryRequest(api.QueryRequest o) { o.agentUserId!, unittest.equals('foo'), ); - checkUnnamed1426(o.inputs!); + checkUnnamed1451(o.inputs!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -417,12 +417,12 @@ void checkQueryRequestInput(api.QueryRequestInput o) { buildCounterQueryRequestInput--; } -core.List buildUnnamed1427() => [ +core.List buildUnnamed1452() => [ buildAgentDeviceId(), buildAgentDeviceId(), ]; -void checkUnnamed1427(core.List o) { +void checkUnnamed1452(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAgentDeviceId(o[0]); checkAgentDeviceId(o[1]); @@ -433,7 +433,7 @@ api.QueryRequestPayload buildQueryRequestPayload() { final o = api.QueryRequestPayload(); buildCounterQueryRequestPayload++; if (buildCounterQueryRequestPayload < 3) { - o.devices = buildUnnamed1427(); + o.devices = buildUnnamed1452(); } buildCounterQueryRequestPayload--; return o; @@ -442,7 +442,7 @@ api.QueryRequestPayload buildQueryRequestPayload() { void checkQueryRequestPayload(api.QueryRequestPayload o) { buildCounterQueryRequestPayload++; if (buildCounterQueryRequestPayload < 3) { - checkUnnamed1427(o.devices!); + checkUnnamed1452(o.devices!); } buildCounterQueryRequestPayload--; } @@ -471,7 +471,7 @@ void checkQueryResponse(api.QueryResponse o) { buildCounterQueryResponse--; } -core.Map buildUnnamed1428() => { +core.Map buildUnnamed1453() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -484,7 +484,7 @@ core.Map buildUnnamed1428() => { }, }; -void checkUnnamed1428(core.Map o) { +void checkUnnamed1453(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -516,17 +516,17 @@ void checkUnnamed1428(core.Map o) { ); } -core.Map> buildUnnamed1429() => +core.Map> buildUnnamed1454() => { - 'x': buildUnnamed1428(), - 'y': buildUnnamed1428(), + 'x': buildUnnamed1453(), + 'y': buildUnnamed1453(), }; -void checkUnnamed1429( +void checkUnnamed1454( core.Map> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1428(o['x']!); - checkUnnamed1428(o['y']!); + checkUnnamed1453(o['x']!); + checkUnnamed1453(o['y']!); } core.int buildCounterQueryResponsePayload = 0; @@ -534,7 +534,7 @@ api.QueryResponsePayload buildQueryResponsePayload() { final o = api.QueryResponsePayload(); buildCounterQueryResponsePayload++; if (buildCounterQueryResponsePayload < 3) { - o.devices = buildUnnamed1429(); + o.devices = buildUnnamed1454(); } buildCounterQueryResponsePayload--; return o; @@ -543,12 +543,12 @@ api.QueryResponsePayload buildQueryResponsePayload() { void checkQueryResponsePayload(api.QueryResponsePayload o) { buildCounterQueryResponsePayload++; if (buildCounterQueryResponsePayload < 3) { - checkUnnamed1429(o.devices!); + checkUnnamed1454(o.devices!); } buildCounterQueryResponsePayload--; } -core.Map buildUnnamed1430() => { +core.Map buildUnnamed1455() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -561,7 +561,7 @@ core.Map buildUnnamed1430() => { }, }; -void checkUnnamed1430(core.Map o) { +void checkUnnamed1455(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -593,7 +593,7 @@ void checkUnnamed1430(core.Map o) { ); } -core.Map buildUnnamed1431() => { +core.Map buildUnnamed1456() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -606,7 +606,7 @@ core.Map buildUnnamed1431() => { }, }; -void checkUnnamed1431(core.Map o) { +void checkUnnamed1456(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -643,8 +643,8 @@ api.ReportStateAndNotificationDevice buildReportStateAndNotificationDevice() { final o = api.ReportStateAndNotificationDevice(); buildCounterReportStateAndNotificationDevice++; if (buildCounterReportStateAndNotificationDevice < 3) { - o.notifications = buildUnnamed1430(); - o.states = buildUnnamed1431(); + o.notifications = buildUnnamed1455(); + o.states = buildUnnamed1456(); } buildCounterReportStateAndNotificationDevice--; return o; @@ -654,8 +654,8 @@ void checkReportStateAndNotificationDevice( api.ReportStateAndNotificationDevice o) { buildCounterReportStateAndNotificationDevice++; if (buildCounterReportStateAndNotificationDevice < 3) { - checkUnnamed1430(o.notifications!); - checkUnnamed1431(o.states!); + checkUnnamed1455(o.notifications!); + checkUnnamed1456(o.states!); } buildCounterReportStateAndNotificationDevice--; } @@ -833,12 +833,12 @@ void checkSyncResponse(api.SyncResponse o) { buildCounterSyncResponse--; } -core.List buildUnnamed1432() => [ +core.List buildUnnamed1457() => [ buildDevice(), buildDevice(), ]; -void checkUnnamed1432(core.List o) { +void checkUnnamed1457(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDevice(o[0]); checkDevice(o[1]); @@ -850,7 +850,7 @@ api.SyncResponsePayload buildSyncResponsePayload() { buildCounterSyncResponsePayload++; if (buildCounterSyncResponsePayload < 3) { o.agentUserId = 'foo'; - o.devices = buildUnnamed1432(); + o.devices = buildUnnamed1457(); } buildCounterSyncResponsePayload--; return o; @@ -863,7 +863,7 @@ void checkSyncResponsePayload(api.SyncResponsePayload o) { o.agentUserId!, unittest.equals('foo'), ); - checkUnnamed1432(o.devices!); + checkUnnamed1457(o.devices!); } buildCounterSyncResponsePayload--; } diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart index 84e9bb5b1..5b8a196e4 100644 --- a/generated/googleapis/test/iam/v1_test.dart +++ b/generated/googleapis/test/iam/v1_test.dart @@ -45,12 +45,12 @@ void checkAdminAuditData(api.AdminAuditData o) { buildCounterAdminAuditData--; } -core.List buildUnnamed7643() => [ +core.List buildUnnamed7727() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed7643(core.List o) { +void checkUnnamed7727(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -61,7 +61,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed7643(); + o.auditLogConfigs = buildUnnamed7727(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -71,7 +71,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed7643(o.auditLogConfigs!); + checkUnnamed7727(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -99,12 +99,12 @@ void checkAuditData(api.AuditData o) { buildCounterAuditData--; } -core.List buildUnnamed7644() => [ +core.List buildUnnamed7728() => [ 'foo', 'foo', ]; -void checkUnnamed7644(core.List o) { +void checkUnnamed7728(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -121,7 +121,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed7644(); + o.exemptedMembers = buildUnnamed7728(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -131,7 +131,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed7644(o.exemptedMembers!); + checkUnnamed7728(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -184,12 +184,12 @@ void checkAws(api.Aws o) { buildCounterAws--; } -core.List buildUnnamed7645() => [ +core.List buildUnnamed7729() => [ 'foo', 'foo', ]; -void checkUnnamed7645(core.List o) { +void checkUnnamed7729(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -207,7 +207,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed7645(); + o.members = buildUnnamed7729(); o.role = 'foo'; } buildCounterBinding--; @@ -218,7 +218,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed7645(o.members!); + checkUnnamed7729(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -336,6 +336,22 @@ void checkCreateServiceAccountRequest(api.CreateServiceAccountRequest o) { buildCounterCreateServiceAccountRequest--; } +core.int buildCounterDisableServiceAccountKeyRequest = 0; +api.DisableServiceAccountKeyRequest buildDisableServiceAccountKeyRequest() { + final o = api.DisableServiceAccountKeyRequest(); + buildCounterDisableServiceAccountKeyRequest++; + if (buildCounterDisableServiceAccountKeyRequest < 3) {} + buildCounterDisableServiceAccountKeyRequest--; + return o; +} + +void checkDisableServiceAccountKeyRequest( + api.DisableServiceAccountKeyRequest o) { + buildCounterDisableServiceAccountKeyRequest++; + if (buildCounterDisableServiceAccountKeyRequest < 3) {} + buildCounterDisableServiceAccountKeyRequest--; +} + core.int buildCounterDisableServiceAccountRequest = 0; api.DisableServiceAccountRequest buildDisableServiceAccountRequest() { final o = api.DisableServiceAccountRequest(); @@ -366,6 +382,21 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } +core.int buildCounterEnableServiceAccountKeyRequest = 0; +api.EnableServiceAccountKeyRequest buildEnableServiceAccountKeyRequest() { + final o = api.EnableServiceAccountKeyRequest(); + buildCounterEnableServiceAccountKeyRequest++; + if (buildCounterEnableServiceAccountKeyRequest < 3) {} + buildCounterEnableServiceAccountKeyRequest--; + return o; +} + +void checkEnableServiceAccountKeyRequest(api.EnableServiceAccountKeyRequest o) { + buildCounterEnableServiceAccountKeyRequest++; + if (buildCounterEnableServiceAccountKeyRequest < 3) {} + buildCounterEnableServiceAccountKeyRequest--; +} + core.int buildCounterEnableServiceAccountRequest = 0; api.EnableServiceAccountRequest buildEnableServiceAccountRequest() { final o = api.EnableServiceAccountRequest(); @@ -442,12 +473,12 @@ void checkLintPolicyRequest(api.LintPolicyRequest o) { buildCounterLintPolicyRequest--; } -core.List buildUnnamed7646() => [ +core.List buildUnnamed7730() => [ buildLintResult(), buildLintResult(), ]; -void checkUnnamed7646(core.List o) { +void checkUnnamed7730(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLintResult(o[0]); checkLintResult(o[1]); @@ -458,7 +489,7 @@ api.LintPolicyResponse buildLintPolicyResponse() { final o = api.LintPolicyResponse(); buildCounterLintPolicyResponse++; if (buildCounterLintPolicyResponse < 3) { - o.lintResults = buildUnnamed7646(); + o.lintResults = buildUnnamed7730(); } buildCounterLintPolicyResponse--; return o; @@ -467,7 +498,7 @@ api.LintPolicyResponse buildLintPolicyResponse() { void checkLintPolicyResponse(api.LintPolicyResponse o) { buildCounterLintPolicyResponse++; if (buildCounterLintPolicyResponse < 3) { - checkUnnamed7646(o.lintResults!); + checkUnnamed7730(o.lintResults!); } buildCounterLintPolicyResponse--; } @@ -519,12 +550,12 @@ void checkLintResult(api.LintResult o) { buildCounterLintResult--; } -core.List buildUnnamed7647() => [ +core.List buildUnnamed7731() => [ buildRole(), buildRole(), ]; -void checkUnnamed7647(core.List o) { +void checkUnnamed7731(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRole(o[0]); checkRole(o[1]); @@ -536,7 +567,7 @@ api.ListRolesResponse buildListRolesResponse() { buildCounterListRolesResponse++; if (buildCounterListRolesResponse < 3) { o.nextPageToken = 'foo'; - o.roles = buildUnnamed7647(); + o.roles = buildUnnamed7731(); } buildCounterListRolesResponse--; return o; @@ -549,17 +580,17 @@ void checkListRolesResponse(api.ListRolesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7647(o.roles!); + checkUnnamed7731(o.roles!); } buildCounterListRolesResponse--; } -core.List buildUnnamed7648() => [ +core.List buildUnnamed7732() => [ buildServiceAccountKey(), buildServiceAccountKey(), ]; -void checkUnnamed7648(core.List o) { +void checkUnnamed7732(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccountKey(o[0]); checkServiceAccountKey(o[1]); @@ -570,7 +601,7 @@ api.ListServiceAccountKeysResponse buildListServiceAccountKeysResponse() { final o = api.ListServiceAccountKeysResponse(); buildCounterListServiceAccountKeysResponse++; if (buildCounterListServiceAccountKeysResponse < 3) { - o.keys = buildUnnamed7648(); + o.keys = buildUnnamed7732(); } buildCounterListServiceAccountKeysResponse--; return o; @@ -579,17 +610,17 @@ api.ListServiceAccountKeysResponse buildListServiceAccountKeysResponse() { void checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) { buildCounterListServiceAccountKeysResponse++; if (buildCounterListServiceAccountKeysResponse < 3) { - checkUnnamed7648(o.keys!); + checkUnnamed7732(o.keys!); } buildCounterListServiceAccountKeysResponse--; } -core.List buildUnnamed7649() => [ +core.List buildUnnamed7733() => [ buildServiceAccount(), buildServiceAccount(), ]; -void checkUnnamed7649(core.List o) { +void checkUnnamed7733(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccount(o[0]); checkServiceAccount(o[1]); @@ -600,7 +631,7 @@ api.ListServiceAccountsResponse buildListServiceAccountsResponse() { final o = api.ListServiceAccountsResponse(); buildCounterListServiceAccountsResponse++; if (buildCounterListServiceAccountsResponse < 3) { - o.accounts = buildUnnamed7649(); + o.accounts = buildUnnamed7733(); o.nextPageToken = 'foo'; } buildCounterListServiceAccountsResponse--; @@ -610,7 +641,7 @@ api.ListServiceAccountsResponse buildListServiceAccountsResponse() { void checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) { buildCounterListServiceAccountsResponse++; if (buildCounterListServiceAccountsResponse < 3) { - checkUnnamed7649(o.accounts!); + checkUnnamed7733(o.accounts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -619,12 +650,12 @@ void checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) { buildCounterListServiceAccountsResponse--; } -core.List buildUnnamed7650() => [ +core.List buildUnnamed7734() => [ buildWorkloadIdentityPoolProvider(), buildWorkloadIdentityPoolProvider(), ]; -void checkUnnamed7650(core.List o) { +void checkUnnamed7734(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkloadIdentityPoolProvider(o[0]); checkWorkloadIdentityPoolProvider(o[1]); @@ -637,7 +668,7 @@ api.ListWorkloadIdentityPoolProvidersResponse buildCounterListWorkloadIdentityPoolProvidersResponse++; if (buildCounterListWorkloadIdentityPoolProvidersResponse < 3) { o.nextPageToken = 'foo'; - o.workloadIdentityPoolProviders = buildUnnamed7650(); + o.workloadIdentityPoolProviders = buildUnnamed7734(); } buildCounterListWorkloadIdentityPoolProvidersResponse--; return o; @@ -651,17 +682,17 @@ void checkListWorkloadIdentityPoolProvidersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7650(o.workloadIdentityPoolProviders!); + checkUnnamed7734(o.workloadIdentityPoolProviders!); } buildCounterListWorkloadIdentityPoolProvidersResponse--; } -core.List buildUnnamed7651() => [ +core.List buildUnnamed7735() => [ buildWorkloadIdentityPool(), buildWorkloadIdentityPool(), ]; -void checkUnnamed7651(core.List o) { +void checkUnnamed7735(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkloadIdentityPool(o[0]); checkWorkloadIdentityPool(o[1]); @@ -673,7 +704,7 @@ api.ListWorkloadIdentityPoolsResponse buildListWorkloadIdentityPoolsResponse() { buildCounterListWorkloadIdentityPoolsResponse++; if (buildCounterListWorkloadIdentityPoolsResponse < 3) { o.nextPageToken = 'foo'; - o.workloadIdentityPools = buildUnnamed7651(); + o.workloadIdentityPools = buildUnnamed7735(); } buildCounterListWorkloadIdentityPoolsResponse--; return o; @@ -687,17 +718,17 @@ void checkListWorkloadIdentityPoolsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7651(o.workloadIdentityPools!); + checkUnnamed7735(o.workloadIdentityPools!); } buildCounterListWorkloadIdentityPoolsResponse--; } -core.List buildUnnamed7652() => [ +core.List buildUnnamed7736() => [ 'foo', 'foo', ]; -void checkUnnamed7652(core.List o) { +void checkUnnamed7736(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -714,7 +745,7 @@ api.Oidc buildOidc() { final o = api.Oidc(); buildCounterOidc++; if (buildCounterOidc < 3) { - o.allowedAudiences = buildUnnamed7652(); + o.allowedAudiences = buildUnnamed7736(); o.issuerUri = 'foo'; } buildCounterOidc--; @@ -724,7 +755,7 @@ api.Oidc buildOidc() { void checkOidc(api.Oidc o) { buildCounterOidc++; if (buildCounterOidc < 3) { - checkUnnamed7652(o.allowedAudiences!); + checkUnnamed7736(o.allowedAudiences!); unittest.expect( o.issuerUri!, unittest.equals('foo'), @@ -733,7 +764,7 @@ void checkOidc(api.Oidc o) { buildCounterOidc--; } -core.Map buildUnnamed7653() => { +core.Map buildUnnamed7737() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -746,7 +777,7 @@ core.Map buildUnnamed7653() => { }, }; -void checkUnnamed7653(core.Map o) { +void checkUnnamed7737(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -778,7 +809,7 @@ void checkUnnamed7653(core.Map o) { ); } -core.Map buildUnnamed7654() => { +core.Map buildUnnamed7738() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -791,7 +822,7 @@ core.Map buildUnnamed7654() => { }, }; -void checkUnnamed7654(core.Map o) { +void checkUnnamed7738(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -830,9 +861,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7653(); + o.metadata = buildUnnamed7737(); o.name = 'foo'; - o.response = buildUnnamed7654(); + o.response = buildUnnamed7738(); } buildCounterOperation--; return o; @@ -843,12 +874,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7653(o.metadata!); + checkUnnamed7737(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7654(o.response!); + checkUnnamed7738(o.response!); } buildCounterOperation--; } @@ -928,12 +959,12 @@ void checkPermission(api.Permission o) { buildCounterPermission--; } -core.List buildUnnamed7655() => [ +core.List buildUnnamed7739() => [ 'foo', 'foo', ]; -void checkUnnamed7655(core.List o) { +void checkUnnamed7739(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -945,12 +976,12 @@ void checkUnnamed7655(core.List o) { ); } -core.List buildUnnamed7656() => [ +core.List buildUnnamed7740() => [ 'foo', 'foo', ]; -void checkUnnamed7656(core.List o) { +void checkUnnamed7740(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -967,8 +998,8 @@ api.PermissionDelta buildPermissionDelta() { final o = api.PermissionDelta(); buildCounterPermissionDelta++; if (buildCounterPermissionDelta < 3) { - o.addedPermissions = buildUnnamed7655(); - o.removedPermissions = buildUnnamed7656(); + o.addedPermissions = buildUnnamed7739(); + o.removedPermissions = buildUnnamed7740(); } buildCounterPermissionDelta--; return o; @@ -977,29 +1008,29 @@ api.PermissionDelta buildPermissionDelta() { void checkPermissionDelta(api.PermissionDelta o) { buildCounterPermissionDelta++; if (buildCounterPermissionDelta < 3) { - checkUnnamed7655(o.addedPermissions!); - checkUnnamed7656(o.removedPermissions!); + checkUnnamed7739(o.addedPermissions!); + checkUnnamed7740(o.removedPermissions!); } buildCounterPermissionDelta--; } -core.List buildUnnamed7657() => [ +core.List buildUnnamed7741() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed7657(core.List o) { +void checkUnnamed7741(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed7658() => [ +core.List buildUnnamed7742() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed7658(core.List o) { +void checkUnnamed7742(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1010,8 +1041,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed7657(); - o.bindings = buildUnnamed7658(); + o.auditConfigs = buildUnnamed7741(); + o.bindings = buildUnnamed7742(); o.etag = 'foo'; o.version = 42; } @@ -1022,8 +1053,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed7657(o.auditConfigs!); - checkUnnamed7658(o.bindings!); + checkUnnamed7741(o.auditConfigs!); + checkUnnamed7742(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1036,12 +1067,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed7659() => [ +core.List buildUnnamed7743() => [ buildBindingDelta(), buildBindingDelta(), ]; -void checkUnnamed7659(core.List o) { +void checkUnnamed7743(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBindingDelta(o[0]); checkBindingDelta(o[1]); @@ -1052,7 +1083,7 @@ api.PolicyDelta buildPolicyDelta() { final o = api.PolicyDelta(); buildCounterPolicyDelta++; if (buildCounterPolicyDelta < 3) { - o.bindingDeltas = buildUnnamed7659(); + o.bindingDeltas = buildUnnamed7743(); } buildCounterPolicyDelta--; return o; @@ -1061,7 +1092,7 @@ api.PolicyDelta buildPolicyDelta() { void checkPolicyDelta(api.PolicyDelta o) { buildCounterPolicyDelta++; if (buildCounterPolicyDelta < 3) { - checkUnnamed7659(o.bindingDeltas!); + checkUnnamed7743(o.bindingDeltas!); } buildCounterPolicyDelta--; } @@ -1088,12 +1119,12 @@ void checkQueryAuditableServicesRequest(api.QueryAuditableServicesRequest o) { buildCounterQueryAuditableServicesRequest--; } -core.List buildUnnamed7660() => [ +core.List buildUnnamed7744() => [ buildAuditableService(), buildAuditableService(), ]; -void checkUnnamed7660(core.List o) { +void checkUnnamed7744(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditableService(o[0]); checkAuditableService(o[1]); @@ -1104,7 +1135,7 @@ api.QueryAuditableServicesResponse buildQueryAuditableServicesResponse() { final o = api.QueryAuditableServicesResponse(); buildCounterQueryAuditableServicesResponse++; if (buildCounterQueryAuditableServicesResponse < 3) { - o.services = buildUnnamed7660(); + o.services = buildUnnamed7744(); } buildCounterQueryAuditableServicesResponse--; return o; @@ -1113,7 +1144,7 @@ api.QueryAuditableServicesResponse buildQueryAuditableServicesResponse() { void checkQueryAuditableServicesResponse(api.QueryAuditableServicesResponse o) { buildCounterQueryAuditableServicesResponse++; if (buildCounterQueryAuditableServicesResponse < 3) { - checkUnnamed7660(o.services!); + checkUnnamed7744(o.services!); } buildCounterQueryAuditableServicesResponse--; } @@ -1155,12 +1186,12 @@ void checkQueryGrantableRolesRequest(api.QueryGrantableRolesRequest o) { buildCounterQueryGrantableRolesRequest--; } -core.List buildUnnamed7661() => [ +core.List buildUnnamed7745() => [ buildRole(), buildRole(), ]; -void checkUnnamed7661(core.List o) { +void checkUnnamed7745(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRole(o[0]); checkRole(o[1]); @@ -1172,7 +1203,7 @@ api.QueryGrantableRolesResponse buildQueryGrantableRolesResponse() { buildCounterQueryGrantableRolesResponse++; if (buildCounterQueryGrantableRolesResponse < 3) { o.nextPageToken = 'foo'; - o.roles = buildUnnamed7661(); + o.roles = buildUnnamed7745(); } buildCounterQueryGrantableRolesResponse--; return o; @@ -1185,7 +1216,7 @@ void checkQueryGrantableRolesResponse(api.QueryGrantableRolesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7661(o.roles!); + checkUnnamed7745(o.roles!); } buildCounterQueryGrantableRolesResponse--; } @@ -1223,12 +1254,12 @@ void checkQueryTestablePermissionsRequest( buildCounterQueryTestablePermissionsRequest--; } -core.List buildUnnamed7662() => [ +core.List buildUnnamed7746() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed7662(core.List o) { +void checkUnnamed7746(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -1240,7 +1271,7 @@ api.QueryTestablePermissionsResponse buildQueryTestablePermissionsResponse() { buildCounterQueryTestablePermissionsResponse++; if (buildCounterQueryTestablePermissionsResponse < 3) { o.nextPageToken = 'foo'; - o.permissions = buildUnnamed7662(); + o.permissions = buildUnnamed7746(); } buildCounterQueryTestablePermissionsResponse--; return o; @@ -1254,17 +1285,17 @@ void checkQueryTestablePermissionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7662(o.permissions!); + checkUnnamed7746(o.permissions!); } buildCounterQueryTestablePermissionsResponse--; } -core.List buildUnnamed7663() => [ +core.List buildUnnamed7747() => [ 'foo', 'foo', ]; -void checkUnnamed7663(core.List o) { +void checkUnnamed7747(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1284,7 +1315,7 @@ api.Role buildRole() { o.deleted = true; o.description = 'foo'; o.etag = 'foo'; - o.includedPermissions = buildUnnamed7663(); + o.includedPermissions = buildUnnamed7747(); o.name = 'foo'; o.stage = 'foo'; o.title = 'foo'; @@ -1305,7 +1336,7 @@ void checkRole(api.Role o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed7663(o.includedPermissions!); + checkUnnamed7747(o.includedPermissions!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1386,6 +1417,7 @@ api.ServiceAccountKey buildServiceAccountKey() { final o = api.ServiceAccountKey(); buildCounterServiceAccountKey++; if (buildCounterServiceAccountKey < 3) { + o.disabled = true; o.keyAlgorithm = 'foo'; o.keyOrigin = 'foo'; o.keyType = 'foo'; @@ -1403,6 +1435,7 @@ api.ServiceAccountKey buildServiceAccountKey() { void checkServiceAccountKey(api.ServiceAccountKey o) { buildCounterServiceAccountKey++; if (buildCounterServiceAccountKey < 3) { + unittest.expect(o.disabled!, unittest.isTrue); unittest.expect( o.keyAlgorithm!, unittest.equals('foo'), @@ -1565,7 +1598,7 @@ void checkSignJwtResponse(api.SignJwtResponse o) { buildCounterSignJwtResponse--; } -core.Map buildUnnamed7664() => { +core.Map buildUnnamed7748() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1578,7 +1611,7 @@ core.Map buildUnnamed7664() => { }, }; -void checkUnnamed7664(core.Map o) { +void checkUnnamed7748(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1610,15 +1643,15 @@ void checkUnnamed7664(core.Map o) { ); } -core.List> buildUnnamed7665() => [ - buildUnnamed7664(), - buildUnnamed7664(), +core.List> buildUnnamed7749() => [ + buildUnnamed7748(), + buildUnnamed7748(), ]; -void checkUnnamed7665(core.List> o) { +void checkUnnamed7749(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7664(o[0]); - checkUnnamed7664(o[1]); + checkUnnamed7748(o[0]); + checkUnnamed7748(o[1]); } core.int buildCounterStatus = 0; @@ -1627,7 +1660,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7665(); + o.details = buildUnnamed7749(); o.message = 'foo'; } buildCounterStatus--; @@ -1641,7 +1674,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7665(o.details!); + checkUnnamed7749(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1650,12 +1683,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed7666() => [ +core.List buildUnnamed7750() => [ 'foo', 'foo', ]; -void checkUnnamed7666(core.List o) { +void checkUnnamed7750(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1672,7 +1705,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed7666(); + o.permissions = buildUnnamed7750(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1681,17 +1714,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed7666(o.permissions!); + checkUnnamed7750(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed7667() => [ +core.List buildUnnamed7751() => [ 'foo', 'foo', ]; -void checkUnnamed7667(core.List o) { +void checkUnnamed7751(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1708,7 +1741,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed7667(); + o.permissions = buildUnnamed7751(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1717,7 +1750,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed7667(o.permissions!); + checkUnnamed7751(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1873,12 +1906,12 @@ void checkWorkloadIdentityPool(api.WorkloadIdentityPool o) { buildCounterWorkloadIdentityPool--; } -core.Map buildUnnamed7668() => { +core.Map buildUnnamed7752() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7668(core.Map o) { +void checkUnnamed7752(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1896,7 +1929,7 @@ api.WorkloadIdentityPoolProvider buildWorkloadIdentityPoolProvider() { buildCounterWorkloadIdentityPoolProvider++; if (buildCounterWorkloadIdentityPoolProvider < 3) { o.attributeCondition = 'foo'; - o.attributeMapping = buildUnnamed7668(); + o.attributeMapping = buildUnnamed7752(); o.aws = buildAws(); o.description = 'foo'; o.disabled = true; @@ -1916,7 +1949,7 @@ void checkWorkloadIdentityPoolProvider(api.WorkloadIdentityPoolProvider o) { o.attributeCondition!, unittest.equals('foo'), ); - checkUnnamed7668(o.attributeMapping!); + checkUnnamed7752(o.attributeMapping!); checkAws(o.aws!); unittest.expect( o.description!, @@ -1940,12 +1973,12 @@ void checkWorkloadIdentityPoolProvider(api.WorkloadIdentityPoolProvider o) { buildCounterWorkloadIdentityPoolProvider--; } -core.List buildUnnamed7669() => [ +core.List buildUnnamed7753() => [ 'foo', 'foo', ]; -void checkUnnamed7669(core.List o) { +void checkUnnamed7753(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2067,6 +2100,16 @@ void main() { }); }); + unittest.group('obj-schema-DisableServiceAccountKeyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildDisableServiceAccountKeyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DisableServiceAccountKeyRequest.fromJson( + oJson as core.Map); + checkDisableServiceAccountKeyRequest(od); + }); + }); + unittest.group('obj-schema-DisableServiceAccountRequest', () { unittest.test('to-json--from-json', () async { final o = buildDisableServiceAccountRequest(); @@ -2087,6 +2130,16 @@ void main() { }); }); + unittest.group('obj-schema-EnableServiceAccountKeyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildEnableServiceAccountKeyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EnableServiceAccountKeyRequest.fromJson( + oJson as core.Map); + checkEnableServiceAccountKeyRequest(od); + }); + }); + unittest.group('obj-schema-EnableServiceAccountRequest', () { unittest.test('to-json--from-json', () async { final o = buildEnableServiceAccountRequest(); @@ -5194,6 +5247,122 @@ void main() { checkEmpty(response as api.Empty); }); + unittest.test('method--disable', () async { + final mock = HttpServerMock(); + final res = api.IamApi(mock).projects.serviceAccounts.keys; + final arg_request = buildDisableServiceAccountKeyRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.DisableServiceAccountKeyRequest.fromJson( + json as core.Map); + checkDisableServiceAccountKeyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.disable(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--enable', () async { + final mock = HttpServerMock(); + final res = api.IamApi(mock).projects.serviceAccounts.keys; + final arg_request = buildEnableServiceAccountKeyRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.EnableServiceAccountKeyRequest.fromJson( + json as core.Map); + checkEnableServiceAccountKeyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.enable(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + unittest.test('method--get', () async { final mock = HttpServerMock(); final res = api.IamApi(mock).projects.serviceAccounts.keys; @@ -5256,7 +5425,7 @@ void main() { final mock = HttpServerMock(); final res = api.IamApi(mock).projects.serviceAccounts.keys; final arg_name = 'foo'; - final arg_keyTypes = buildUnnamed7669(); + final arg_keyTypes = buildUnnamed7753(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/iamcredentials/v1_test.dart b/generated/googleapis/test/iamcredentials/v1_test.dart index eacef6b6b..1e57b4add 100644 --- a/generated/googleapis/test/iamcredentials/v1_test.dart +++ b/generated/googleapis/test/iamcredentials/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6911() => [ +core.List buildUnnamed6987() => [ 'foo', 'foo', ]; -void checkUnnamed6911(core.List o) { +void checkUnnamed6987(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed6911(core.List o) { ); } -core.List buildUnnamed6912() => [ +core.List buildUnnamed6988() => [ 'foo', 'foo', ]; -void checkUnnamed6912(core.List o) { +void checkUnnamed6988(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,9 +65,9 @@ api.GenerateAccessTokenRequest buildGenerateAccessTokenRequest() { final o = api.GenerateAccessTokenRequest(); buildCounterGenerateAccessTokenRequest++; if (buildCounterGenerateAccessTokenRequest < 3) { - o.delegates = buildUnnamed6911(); + o.delegates = buildUnnamed6987(); o.lifetime = 'foo'; - o.scope = buildUnnamed6912(); + o.scope = buildUnnamed6988(); } buildCounterGenerateAccessTokenRequest--; return o; @@ -76,12 +76,12 @@ api.GenerateAccessTokenRequest buildGenerateAccessTokenRequest() { void checkGenerateAccessTokenRequest(api.GenerateAccessTokenRequest o) { buildCounterGenerateAccessTokenRequest++; if (buildCounterGenerateAccessTokenRequest < 3) { - checkUnnamed6911(o.delegates!); + checkUnnamed6987(o.delegates!); unittest.expect( o.lifetime!, unittest.equals('foo'), ); - checkUnnamed6912(o.scope!); + checkUnnamed6988(o.scope!); } buildCounterGenerateAccessTokenRequest--; } @@ -113,12 +113,12 @@ void checkGenerateAccessTokenResponse(api.GenerateAccessTokenResponse o) { buildCounterGenerateAccessTokenResponse--; } -core.List buildUnnamed6913() => [ +core.List buildUnnamed6989() => [ 'foo', 'foo', ]; -void checkUnnamed6913(core.List o) { +void checkUnnamed6989(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -136,7 +136,7 @@ api.GenerateIdTokenRequest buildGenerateIdTokenRequest() { buildCounterGenerateIdTokenRequest++; if (buildCounterGenerateIdTokenRequest < 3) { o.audience = 'foo'; - o.delegates = buildUnnamed6913(); + o.delegates = buildUnnamed6989(); o.includeEmail = true; } buildCounterGenerateIdTokenRequest--; @@ -150,7 +150,7 @@ void checkGenerateIdTokenRequest(api.GenerateIdTokenRequest o) { o.audience!, unittest.equals('foo'), ); - checkUnnamed6913(o.delegates!); + checkUnnamed6989(o.delegates!); unittest.expect(o.includeEmail!, unittest.isTrue); } buildCounterGenerateIdTokenRequest--; @@ -178,12 +178,12 @@ void checkGenerateIdTokenResponse(api.GenerateIdTokenResponse o) { buildCounterGenerateIdTokenResponse--; } -core.List buildUnnamed6914() => [ +core.List buildUnnamed6990() => [ 'foo', 'foo', ]; -void checkUnnamed6914(core.List o) { +void checkUnnamed6990(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -200,7 +200,7 @@ api.SignBlobRequest buildSignBlobRequest() { final o = api.SignBlobRequest(); buildCounterSignBlobRequest++; if (buildCounterSignBlobRequest < 3) { - o.delegates = buildUnnamed6914(); + o.delegates = buildUnnamed6990(); o.payload = 'foo'; } buildCounterSignBlobRequest--; @@ -210,7 +210,7 @@ api.SignBlobRequest buildSignBlobRequest() { void checkSignBlobRequest(api.SignBlobRequest o) { buildCounterSignBlobRequest++; if (buildCounterSignBlobRequest < 3) { - checkUnnamed6914(o.delegates!); + checkUnnamed6990(o.delegates!); unittest.expect( o.payload!, unittest.equals('foo'), @@ -246,12 +246,12 @@ void checkSignBlobResponse(api.SignBlobResponse o) { buildCounterSignBlobResponse--; } -core.List buildUnnamed6915() => [ +core.List buildUnnamed6991() => [ 'foo', 'foo', ]; -void checkUnnamed6915(core.List o) { +void checkUnnamed6991(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -268,7 +268,7 @@ api.SignJwtRequest buildSignJwtRequest() { final o = api.SignJwtRequest(); buildCounterSignJwtRequest++; if (buildCounterSignJwtRequest < 3) { - o.delegates = buildUnnamed6915(); + o.delegates = buildUnnamed6991(); o.payload = 'foo'; } buildCounterSignJwtRequest--; @@ -278,7 +278,7 @@ api.SignJwtRequest buildSignJwtRequest() { void checkSignJwtRequest(api.SignJwtRequest o) { buildCounterSignJwtRequest++; if (buildCounterSignJwtRequest < 3) { - checkUnnamed6915(o.delegates!); + checkUnnamed6991(o.delegates!); unittest.expect( o.payload!, unittest.equals('foo'), diff --git a/generated/googleapis/test/iap/v1_test.dart b/generated/googleapis/test/iap/v1_test.dart index 9eb41a71c..3abd37693 100644 --- a/generated/googleapis/test/iap/v1_test.dart +++ b/generated/googleapis/test/iap/v1_test.dart @@ -101,12 +101,12 @@ void checkApplicationSettings(api.ApplicationSettings o) { buildCounterApplicationSettings--; } -core.List buildUnnamed3673() => [ +core.List buildUnnamed3617() => [ 'foo', 'foo', ]; -void checkUnnamed3673(core.List o) { +void checkUnnamed3617(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -124,7 +124,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3673(); + o.members = buildUnnamed3617(); o.role = 'foo'; } buildCounterBinding--; @@ -135,7 +135,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3673(o.members!); + checkUnnamed3617(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -271,12 +271,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed3674() => [ +core.List buildUnnamed3618() => [ 'foo', 'foo', ]; -void checkUnnamed3674(core.List o) { +void checkUnnamed3618(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -294,7 +294,7 @@ api.GcipSettings buildGcipSettings() { buildCounterGcipSettings++; if (buildCounterGcipSettings < 3) { o.loginPageUri = 'foo'; - o.tenantIds = buildUnnamed3674(); + o.tenantIds = buildUnnamed3618(); } buildCounterGcipSettings--; return o; @@ -307,7 +307,7 @@ void checkGcipSettings(api.GcipSettings o) { o.loginPageUri!, unittest.equals('foo'), ); - checkUnnamed3674(o.tenantIds!); + checkUnnamed3618(o.tenantIds!); } buildCounterGcipSettings--; } @@ -411,12 +411,12 @@ void checkIdentityAwareProxyClient(api.IdentityAwareProxyClient o) { buildCounterIdentityAwareProxyClient--; } -core.List buildUnnamed3675() => [ +core.List buildUnnamed3619() => [ buildBrand(), buildBrand(), ]; -void checkUnnamed3675(core.List o) { +void checkUnnamed3619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBrand(o[0]); checkBrand(o[1]); @@ -427,7 +427,7 @@ api.ListBrandsResponse buildListBrandsResponse() { final o = api.ListBrandsResponse(); buildCounterListBrandsResponse++; if (buildCounterListBrandsResponse < 3) { - o.brands = buildUnnamed3675(); + o.brands = buildUnnamed3619(); } buildCounterListBrandsResponse--; return o; @@ -436,17 +436,17 @@ api.ListBrandsResponse buildListBrandsResponse() { void checkListBrandsResponse(api.ListBrandsResponse o) { buildCounterListBrandsResponse++; if (buildCounterListBrandsResponse < 3) { - checkUnnamed3675(o.brands!); + checkUnnamed3619(o.brands!); } buildCounterListBrandsResponse--; } -core.List buildUnnamed3676() => [ +core.List buildUnnamed3620() => [ buildIdentityAwareProxyClient(), buildIdentityAwareProxyClient(), ]; -void checkUnnamed3676(core.List o) { +void checkUnnamed3620(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIdentityAwareProxyClient(o[0]); checkIdentityAwareProxyClient(o[1]); @@ -458,7 +458,7 @@ api.ListIdentityAwareProxyClientsResponse final o = api.ListIdentityAwareProxyClientsResponse(); buildCounterListIdentityAwareProxyClientsResponse++; if (buildCounterListIdentityAwareProxyClientsResponse < 3) { - o.identityAwareProxyClients = buildUnnamed3676(); + o.identityAwareProxyClients = buildUnnamed3620(); o.nextPageToken = 'foo'; } buildCounterListIdentityAwareProxyClientsResponse--; @@ -469,7 +469,7 @@ void checkListIdentityAwareProxyClientsResponse( api.ListIdentityAwareProxyClientsResponse o) { buildCounterListIdentityAwareProxyClientsResponse++; if (buildCounterListIdentityAwareProxyClientsResponse < 3) { - checkUnnamed3676(o.identityAwareProxyClients!); + checkUnnamed3620(o.identityAwareProxyClients!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -500,12 +500,12 @@ void checkOAuthSettings(api.OAuthSettings o) { buildCounterOAuthSettings--; } -core.List buildUnnamed3677() => [ +core.List buildUnnamed3621() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed3677(core.List o) { +void checkUnnamed3621(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -516,7 +516,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed3677(); + o.bindings = buildUnnamed3621(); o.etag = 'foo'; o.version = 42; } @@ -527,7 +527,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed3677(o.bindings!); + checkUnnamed3621(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -620,12 +620,12 @@ void checkResetIdentityAwareProxyClientSecretRequest( buildCounterResetIdentityAwareProxyClientSecretRequest--; } -core.Map buildUnnamed3678() => { +core.Map buildUnnamed3622() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3678(core.Map o) { +void checkUnnamed3622(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -642,7 +642,7 @@ api.Resource buildResource() { final o = api.Resource(); buildCounterResource++; if (buildCounterResource < 3) { - o.labels = buildUnnamed3678(); + o.labels = buildUnnamed3622(); o.name = 'foo'; o.service = 'foo'; o.type = 'foo'; @@ -654,7 +654,7 @@ api.Resource buildResource() { void checkResource(api.Resource o) { buildCounterResource++; if (buildCounterResource < 3) { - checkUnnamed3678(o.labels!); + checkUnnamed3622(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -690,12 +690,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed3679() => [ +core.List buildUnnamed3623() => [ 'foo', 'foo', ]; -void checkUnnamed3679(core.List o) { +void checkUnnamed3623(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -712,7 +712,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed3679(); + o.permissions = buildUnnamed3623(); } buildCounterTestIamPermissionsRequest--; return o; @@ -721,17 +721,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed3679(o.permissions!); + checkUnnamed3623(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed3680() => [ +core.List buildUnnamed3624() => [ 'foo', 'foo', ]; -void checkUnnamed3680(core.List o) { +void checkUnnamed3624(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -748,7 +748,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed3680(); + o.permissions = buildUnnamed3624(); } buildCounterTestIamPermissionsResponse--; return o; @@ -757,7 +757,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed3680(o.permissions!); + checkUnnamed3624(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart index 1e8cbaf3b..5fc1bb3fc 100644 --- a/generated/googleapis/test/identitytoolkit/v3_test.dart +++ b/generated/googleapis/test/identitytoolkit/v3_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed576() => [ +core.List buildUnnamed578() => [ 'foo', 'foo', ]; -void checkUnnamed576(core.List o) { +void checkUnnamed578(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed576(core.List o) { ); } -core.List buildUnnamed577() => [ +core.List buildUnnamed579() => [ 'foo', 'foo', ]; -void checkUnnamed577(core.List o) { +void checkUnnamed579(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,7 +65,7 @@ api.CreateAuthUriResponse buildCreateAuthUriResponse() { final o = api.CreateAuthUriResponse(); buildCounterCreateAuthUriResponse++; if (buildCounterCreateAuthUriResponse < 3) { - o.allProviders = buildUnnamed576(); + o.allProviders = buildUnnamed578(); o.authUri = 'foo'; o.captchaRequired = true; o.forExistingProvider = true; @@ -73,7 +73,7 @@ api.CreateAuthUriResponse buildCreateAuthUriResponse() { o.providerId = 'foo'; o.registered = true; o.sessionId = 'foo'; - o.signinMethods = buildUnnamed577(); + o.signinMethods = buildUnnamed579(); } buildCounterCreateAuthUriResponse--; return o; @@ -82,7 +82,7 @@ api.CreateAuthUriResponse buildCreateAuthUriResponse() { void checkCreateAuthUriResponse(api.CreateAuthUriResponse o) { buildCounterCreateAuthUriResponse++; if (buildCounterCreateAuthUriResponse < 3) { - checkUnnamed576(o.allProviders!); + checkUnnamed578(o.allProviders!); unittest.expect( o.authUri!, unittest.equals('foo'), @@ -102,7 +102,7 @@ void checkCreateAuthUriResponse(api.CreateAuthUriResponse o) { o.sessionId!, unittest.equals('foo'), ); - checkUnnamed577(o.signinMethods!); + checkUnnamed579(o.signinMethods!); } buildCounterCreateAuthUriResponse--; } @@ -129,12 +129,12 @@ void checkDeleteAccountResponse(api.DeleteAccountResponse o) { buildCounterDeleteAccountResponse--; } -core.List buildUnnamed578() => [ +core.List buildUnnamed580() => [ buildUserInfo(), buildUserInfo(), ]; -void checkUnnamed578(core.List o) { +void checkUnnamed580(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfo(o[0]); checkUserInfo(o[1]); @@ -147,7 +147,7 @@ api.DownloadAccountResponse buildDownloadAccountResponse() { if (buildCounterDownloadAccountResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.users = buildUnnamed578(); + o.users = buildUnnamed580(); } buildCounterDownloadAccountResponse--; return o; @@ -164,7 +164,7 @@ void checkDownloadAccountResponse(api.DownloadAccountResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed578(o.users!); + checkUnnamed580(o.users!); } buildCounterDownloadAccountResponse--; } @@ -265,12 +265,12 @@ void checkEmailTemplate(api.EmailTemplate o) { buildCounterEmailTemplate--; } -core.List buildUnnamed579() => [ +core.List buildUnnamed581() => [ buildUserInfo(), buildUserInfo(), ]; -void checkUnnamed579(core.List o) { +void checkUnnamed581(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfo(o[0]); checkUserInfo(o[1]); @@ -282,7 +282,7 @@ api.GetAccountInfoResponse buildGetAccountInfoResponse() { buildCounterGetAccountInfoResponse++; if (buildCounterGetAccountInfoResponse < 3) { o.kind = 'foo'; - o.users = buildUnnamed579(); + o.users = buildUnnamed581(); } buildCounterGetAccountInfoResponse--; return o; @@ -295,7 +295,7 @@ void checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed579(o.users!); + checkUnnamed581(o.users!); } buildCounterGetAccountInfoResponse--; } @@ -364,12 +364,12 @@ void checkGetRecaptchaParamResponse(api.GetRecaptchaParamResponse o) { buildCounterGetRecaptchaParamResponse--; } -core.Map buildUnnamed580() => { +core.Map buildUnnamed582() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed580(core.Map o) { +void checkUnnamed582(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -392,7 +392,7 @@ api.IdentitytoolkitRelyingpartyCreateAuthUriRequest o.clientId = 'foo'; o.context = 'foo'; o.continueUri = 'foo'; - o.customParameter = buildUnnamed580(); + o.customParameter = buildUnnamed582(); o.hostedDomain = 'foo'; o.identifier = 'foo'; o.oauthConsumerKey = 'foo'; @@ -432,7 +432,7 @@ void checkIdentitytoolkitRelyingpartyCreateAuthUriRequest( o.continueUri!, unittest.equals('foo'), ); - checkUnnamed580(o.customParameter!); + checkUnnamed582(o.customParameter!); unittest.expect( o.hostedDomain!, unittest.equals('foo'), @@ -584,12 +584,12 @@ void checkIdentitytoolkitRelyingpartyEmailLinkSigninRequest( buildCounterIdentitytoolkitRelyingpartyEmailLinkSigninRequest--; } -core.List buildUnnamed581() => [ +core.List buildUnnamed583() => [ 'foo', 'foo', ]; -void checkUnnamed581(core.List o) { +void checkUnnamed583(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -601,12 +601,12 @@ void checkUnnamed581(core.List o) { ); } -core.List buildUnnamed582() => [ +core.List buildUnnamed584() => [ 'foo', 'foo', ]; -void checkUnnamed582(core.List o) { +void checkUnnamed584(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -618,12 +618,12 @@ void checkUnnamed582(core.List o) { ); } -core.List buildUnnamed583() => [ +core.List buildUnnamed585() => [ 'foo', 'foo', ]; -void checkUnnamed583(core.List o) { +void checkUnnamed585(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -642,10 +642,10 @@ api.IdentitytoolkitRelyingpartyGetAccountInfoRequest buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { o.delegatedProjectNumber = 'foo'; - o.email = buildUnnamed581(); + o.email = buildUnnamed583(); o.idToken = 'foo'; - o.localId = buildUnnamed582(); - o.phoneNumber = buildUnnamed583(); + o.localId = buildUnnamed584(); + o.phoneNumber = buildUnnamed585(); } buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; return o; @@ -659,23 +659,23 @@ void checkIdentitytoolkitRelyingpartyGetAccountInfoRequest( o.delegatedProjectNumber!, unittest.equals('foo'), ); - checkUnnamed581(o.email!); + checkUnnamed583(o.email!); unittest.expect( o.idToken!, unittest.equals('foo'), ); - checkUnnamed582(o.localId!); - checkUnnamed583(o.phoneNumber!); + checkUnnamed584(o.localId!); + checkUnnamed585(o.phoneNumber!); } buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; } -core.List buildUnnamed584() => [ +core.List buildUnnamed586() => [ 'foo', 'foo', ]; -void checkUnnamed584(core.List o) { +void checkUnnamed586(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -687,12 +687,12 @@ void checkUnnamed584(core.List o) { ); } -core.List buildUnnamed585() => [ +core.List buildUnnamed587() => [ buildIdpConfig(), buildIdpConfig(), ]; -void checkUnnamed585(core.List o) { +void checkUnnamed587(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIdpConfig(o[0]); checkIdpConfig(o[1]); @@ -706,11 +706,11 @@ api.IdentitytoolkitRelyingpartyGetProjectConfigResponse if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { o.allowPasswordUser = true; o.apiKey = 'foo'; - o.authorizedDomains = buildUnnamed584(); + o.authorizedDomains = buildUnnamed586(); o.changeEmailTemplate = buildEmailTemplate(); o.dynamicLinksDomain = 'foo'; o.enableAnonymousUser = true; - o.idpConfig = buildUnnamed585(); + o.idpConfig = buildUnnamed587(); o.legacyResetPasswordTemplate = buildEmailTemplate(); o.projectId = 'foo'; o.resetPasswordTemplate = buildEmailTemplate(); @@ -730,14 +730,14 @@ void checkIdentitytoolkitRelyingpartyGetProjectConfigResponse( o.apiKey!, unittest.equals('foo'), ); - checkUnnamed584(o.authorizedDomains!); + checkUnnamed586(o.authorizedDomains!); checkEmailTemplate(o.changeEmailTemplate!); unittest.expect( o.dynamicLinksDomain!, unittest.equals('foo'), ); unittest.expect(o.enableAnonymousUser!, unittest.isTrue); - checkUnnamed585(o.idpConfig!); + checkUnnamed587(o.idpConfig!); checkEmailTemplate(o.legacyResetPasswordTemplate!); unittest.expect( o.projectId!, @@ -874,12 +874,12 @@ void checkIdentitytoolkitRelyingpartySendVerificationCodeResponse( buildCounterIdentitytoolkitRelyingpartySendVerificationCodeResponse--; } -core.List buildUnnamed586() => [ +core.List buildUnnamed588() => [ 'foo', 'foo', ]; -void checkUnnamed586(core.List o) { +void checkUnnamed588(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -891,12 +891,12 @@ void checkUnnamed586(core.List o) { ); } -core.List buildUnnamed587() => [ +core.List buildUnnamed589() => [ 'foo', 'foo', ]; -void checkUnnamed587(core.List o) { +void checkUnnamed589(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -908,12 +908,12 @@ void checkUnnamed587(core.List o) { ); } -core.List buildUnnamed588() => [ +core.List buildUnnamed590() => [ 'foo', 'foo', ]; -void checkUnnamed588(core.List o) { +void checkUnnamed590(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -936,8 +936,8 @@ api.IdentitytoolkitRelyingpartySetAccountInfoRequest o.createdAt = 'foo'; o.customAttributes = 'foo'; o.delegatedProjectNumber = 'foo'; - o.deleteAttribute = buildUnnamed586(); - o.deleteProvider = buildUnnamed587(); + o.deleteAttribute = buildUnnamed588(); + o.deleteProvider = buildUnnamed589(); o.disableUser = true; o.displayName = 'foo'; o.email = 'foo'; @@ -950,7 +950,7 @@ api.IdentitytoolkitRelyingpartySetAccountInfoRequest o.password = 'foo'; o.phoneNumber = 'foo'; o.photoUrl = 'foo'; - o.provider = buildUnnamed588(); + o.provider = buildUnnamed590(); o.returnSecureToken = true; o.upgradeToFederatedLogin = true; o.validSince = 'foo'; @@ -983,8 +983,8 @@ void checkIdentitytoolkitRelyingpartySetAccountInfoRequest( o.delegatedProjectNumber!, unittest.equals('foo'), ); - checkUnnamed586(o.deleteAttribute!); - checkUnnamed587(o.deleteProvider!); + checkUnnamed588(o.deleteAttribute!); + checkUnnamed589(o.deleteProvider!); unittest.expect(o.disableUser!, unittest.isTrue); unittest.expect( o.displayName!, @@ -1027,7 +1027,7 @@ void checkIdentitytoolkitRelyingpartySetAccountInfoRequest( o.photoUrl!, unittest.equals('foo'), ); - checkUnnamed588(o.provider!); + checkUnnamed590(o.provider!); unittest.expect(o.returnSecureToken!, unittest.isTrue); unittest.expect(o.upgradeToFederatedLogin!, unittest.isTrue); unittest.expect( @@ -1038,12 +1038,12 @@ void checkIdentitytoolkitRelyingpartySetAccountInfoRequest( buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; } -core.List buildUnnamed589() => [ +core.List buildUnnamed591() => [ 'foo', 'foo', ]; -void checkUnnamed589(core.List o) { +void checkUnnamed591(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1055,12 +1055,12 @@ void checkUnnamed589(core.List o) { ); } -core.List buildUnnamed590() => [ +core.List buildUnnamed592() => [ buildIdpConfig(), buildIdpConfig(), ]; -void checkUnnamed590(core.List o) { +void checkUnnamed592(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIdpConfig(o[0]); checkIdpConfig(o[1]); @@ -1074,11 +1074,11 @@ api.IdentitytoolkitRelyingpartySetProjectConfigRequest if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { o.allowPasswordUser = true; o.apiKey = 'foo'; - o.authorizedDomains = buildUnnamed589(); + o.authorizedDomains = buildUnnamed591(); o.changeEmailTemplate = buildEmailTemplate(); o.delegatedProjectNumber = 'foo'; o.enableAnonymousUser = true; - o.idpConfig = buildUnnamed590(); + o.idpConfig = buildUnnamed592(); o.legacyResetPasswordTemplate = buildEmailTemplate(); o.resetPasswordTemplate = buildEmailTemplate(); o.useEmailSending = true; @@ -1097,14 +1097,14 @@ void checkIdentitytoolkitRelyingpartySetProjectConfigRequest( o.apiKey!, unittest.equals('foo'), ); - checkUnnamed589(o.authorizedDomains!); + checkUnnamed591(o.authorizedDomains!); checkEmailTemplate(o.changeEmailTemplate!); unittest.expect( o.delegatedProjectNumber!, unittest.equals('foo'), ); unittest.expect(o.enableAnonymousUser!, unittest.isTrue); - checkUnnamed590(o.idpConfig!); + checkUnnamed592(o.idpConfig!); checkEmailTemplate(o.legacyResetPasswordTemplate!); checkEmailTemplate(o.resetPasswordTemplate!); unittest.expect(o.useEmailSending!, unittest.isTrue); @@ -1273,12 +1273,12 @@ void checkIdentitytoolkitRelyingpartySignupNewUserRequest( buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; } -core.List buildUnnamed591() => [ +core.List buildUnnamed593() => [ buildUserInfo(), buildUserInfo(), ]; -void checkUnnamed591(core.List o) { +void checkUnnamed593(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfo(o[0]); checkUserInfo(o[1]); @@ -1303,7 +1303,7 @@ api.IdentitytoolkitRelyingpartyUploadAccountRequest o.sanityCheck = true; o.signerKey = 'foo'; o.targetProjectId = 'foo'; - o.users = buildUnnamed591(); + o.users = buildUnnamed593(); } buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; return o; @@ -1359,7 +1359,7 @@ void checkIdentitytoolkitRelyingpartyUploadAccountRequest( o.targetProjectId!, unittest.equals('foo'), ); - checkUnnamed591(o.users!); + checkUnnamed593(o.users!); } buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; } @@ -1663,12 +1663,12 @@ void checkIdentitytoolkitRelyingpartyVerifyPhoneNumberResponse( buildCounterIdentitytoolkitRelyingpartyVerifyPhoneNumberResponse--; } -core.List buildUnnamed592() => [ +core.List buildUnnamed594() => [ 'foo', 'foo', ]; -void checkUnnamed592(core.List o) { +void checkUnnamed594(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1690,7 +1690,7 @@ api.IdpConfig buildIdpConfig() { o.experimentPercent = 42; o.provider = 'foo'; o.secret = 'foo'; - o.whitelistedAudiences = buildUnnamed592(); + o.whitelistedAudiences = buildUnnamed594(); } buildCounterIdpConfig--; return o; @@ -1716,7 +1716,7 @@ void checkIdpConfig(api.IdpConfig o) { o.secret!, unittest.equals('foo'), ); - checkUnnamed592(o.whitelistedAudiences!); + checkUnnamed594(o.whitelistedAudiences!); } buildCounterIdpConfig--; } @@ -1883,12 +1883,12 @@ void checkSetAccountInfoResponseProviderUserInfo( buildCounterSetAccountInfoResponseProviderUserInfo--; } -core.List buildUnnamed593() => [ +core.List buildUnnamed595() => [ buildSetAccountInfoResponseProviderUserInfo(), buildSetAccountInfoResponseProviderUserInfo(), ]; -void checkUnnamed593(core.List o) { +void checkUnnamed595(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSetAccountInfoResponseProviderUserInfo(o[0]); checkSetAccountInfoResponseProviderUserInfo(o[1]); @@ -1909,7 +1909,7 @@ api.SetAccountInfoResponse buildSetAccountInfoResponse() { o.newEmail = 'foo'; o.passwordHash = 'foo'; o.photoUrl = 'foo'; - o.providerUserInfo = buildUnnamed593(); + o.providerUserInfo = buildUnnamed595(); o.refreshToken = 'foo'; } buildCounterSetAccountInfoResponse--; @@ -1956,7 +1956,7 @@ void checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { o.photoUrl!, unittest.equals('foo'), ); - checkUnnamed593(o.providerUserInfo!); + checkUnnamed595(o.providerUserInfo!); unittest.expect( o.refreshToken!, unittest.equals('foo'), @@ -2044,12 +2044,12 @@ void checkUploadAccountResponseError(api.UploadAccountResponseError o) { buildCounterUploadAccountResponseError--; } -core.List buildUnnamed594() => [ +core.List buildUnnamed596() => [ buildUploadAccountResponseError(), buildUploadAccountResponseError(), ]; -void checkUnnamed594(core.List o) { +void checkUnnamed596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUploadAccountResponseError(o[0]); checkUploadAccountResponseError(o[1]); @@ -2060,7 +2060,7 @@ api.UploadAccountResponse buildUploadAccountResponse() { final o = api.UploadAccountResponse(); buildCounterUploadAccountResponse++; if (buildCounterUploadAccountResponse < 3) { - o.error = buildUnnamed594(); + o.error = buildUnnamed596(); o.kind = 'foo'; } buildCounterUploadAccountResponse--; @@ -2070,7 +2070,7 @@ api.UploadAccountResponse buildUploadAccountResponse() { void checkUploadAccountResponse(api.UploadAccountResponse o) { buildCounterUploadAccountResponse++; if (buildCounterUploadAccountResponse < 3) { - checkUnnamed594(o.error!); + checkUnnamed596(o.error!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2136,12 +2136,12 @@ void checkUserInfoProviderUserInfo(api.UserInfoProviderUserInfo o) { buildCounterUserInfoProviderUserInfo--; } -core.List buildUnnamed595() => [ +core.List buildUnnamed597() => [ buildUserInfoProviderUserInfo(), buildUserInfoProviderUserInfo(), ]; -void checkUnnamed595(core.List o) { +void checkUnnamed597(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserInfoProviderUserInfo(o[0]); checkUserInfoProviderUserInfo(o[1]); @@ -2165,7 +2165,7 @@ api.UserInfo buildUserInfo() { o.passwordUpdatedAt = 42.0; o.phoneNumber = 'foo'; o.photoUrl = 'foo'; - o.providerUserInfo = buildUnnamed595(); + o.providerUserInfo = buildUnnamed597(); o.rawPassword = 'foo'; o.salt = 'foo'; o.screenName = 'foo'; @@ -2222,7 +2222,7 @@ void checkUserInfo(api.UserInfo o) { o.photoUrl!, unittest.equals('foo'), ); - checkUnnamed595(o.providerUserInfo!); + checkUnnamed597(o.providerUserInfo!); unittest.expect( o.rawPassword!, unittest.equals('foo'), @@ -2247,12 +2247,12 @@ void checkUserInfo(api.UserInfo o) { buildCounterUserInfo--; } -core.List buildUnnamed596() => [ +core.List buildUnnamed598() => [ 'foo', 'foo', ]; -void checkUnnamed596(core.List o) { +void checkUnnamed598(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2307,7 +2307,7 @@ api.VerifyAssertionResponse buildVerifyAssertionResponse() { o.refreshToken = 'foo'; o.screenName = 'foo'; o.timeZone = 'foo'; - o.verifiedProvider = buildUnnamed596(); + o.verifiedProvider = buildUnnamed598(); } buildCounterVerifyAssertionResponse--; return o; @@ -2453,7 +2453,7 @@ void checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { o.timeZone!, unittest.equals('foo'), ); - checkUnnamed596(o.verifiedProvider!); + checkUnnamed598(o.verifiedProvider!); } buildCounterVerifyAssertionResponse--; } diff --git a/generated/googleapis/test/jobs/v3_test.dart b/generated/googleapis/test/jobs/v3_test.dart index bee558b8f..0216dbc95 100644 --- a/generated/googleapis/test/jobs/v3_test.dart +++ b/generated/googleapis/test/jobs/v3_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3681() => [ +core.List buildUnnamed3662() => [ 'foo', 'foo', ]; -void checkUnnamed3681(core.List o) { +void checkUnnamed3662(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed3681(core.List o) { ); } -core.List buildUnnamed3682() => [ +core.List buildUnnamed3663() => [ 'foo', 'foo', ]; -void checkUnnamed3682(core.List o) { +void checkUnnamed3663(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,9 +65,9 @@ api.ApplicationInfo buildApplicationInfo() { final o = api.ApplicationInfo(); buildCounterApplicationInfo++; if (buildCounterApplicationInfo < 3) { - o.emails = buildUnnamed3681(); + o.emails = buildUnnamed3662(); o.instruction = 'foo'; - o.uris = buildUnnamed3682(); + o.uris = buildUnnamed3663(); } buildCounterApplicationInfo--; return o; @@ -76,12 +76,12 @@ api.ApplicationInfo buildApplicationInfo() { void checkApplicationInfo(api.ApplicationInfo o) { buildCounterApplicationInfo++; if (buildCounterApplicationInfo < 3) { - checkUnnamed3681(o.emails!); + checkUnnamed3662(o.emails!); unittest.expect( o.instruction!, unittest.equals('foo'), ); - checkUnnamed3682(o.uris!); + checkUnnamed3663(o.uris!); } buildCounterApplicationInfo--; } @@ -159,12 +159,12 @@ void checkBucketizedCount(api.BucketizedCount o) { buildCounterBucketizedCount--; } -core.Map buildUnnamed3683() => { +core.Map buildUnnamed3664() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3683(core.Map o) { +void checkUnnamed3664(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -183,7 +183,7 @@ api.ClientEvent buildClientEvent() { if (buildCounterClientEvent < 3) { o.createTime = 'foo'; o.eventId = 'foo'; - o.extraInfo = buildUnnamed3683(); + o.extraInfo = buildUnnamed3664(); o.jobEvent = buildJobEvent(); o.parentEventId = 'foo'; o.requestId = 'foo'; @@ -203,7 +203,7 @@ void checkClientEvent(api.ClientEvent o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3683(o.extraInfo!); + checkUnnamed3664(o.extraInfo!); checkJobEvent(o.jobEvent!); unittest.expect( o.parentEventId!, @@ -279,12 +279,12 @@ void checkCommuteInfo(api.CommuteInfo o) { buildCounterCommuteInfo--; } -core.List buildUnnamed3684() => [ +core.List buildUnnamed3665() => [ 'foo', 'foo', ]; -void checkUnnamed3684(core.List o) { +void checkUnnamed3665(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -309,7 +309,7 @@ api.Company buildCompany() { o.headquartersAddress = 'foo'; o.hiringAgency = true; o.imageUri = 'foo'; - o.keywordSearchableJobCustomAttributes = buildUnnamed3684(); + o.keywordSearchableJobCustomAttributes = buildUnnamed3665(); o.name = 'foo'; o.size = 'foo'; o.suspended = true; @@ -348,7 +348,7 @@ void checkCompany(api.Company o) { o.imageUri!, unittest.equals('foo'), ); - checkUnnamed3684(o.keywordSearchableJobCustomAttributes!); + checkUnnamed3665(o.keywordSearchableJobCustomAttributes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -426,12 +426,12 @@ void checkCompensationEntry(api.CompensationEntry o) { buildCounterCompensationEntry--; } -core.List buildUnnamed3685() => [ +core.List buildUnnamed3666() => [ 'foo', 'foo', ]; -void checkUnnamed3685(core.List o) { +void checkUnnamed3666(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -451,7 +451,7 @@ api.CompensationFilter buildCompensationFilter() { o.includeJobsWithUnspecifiedCompensationRange = true; o.range = buildCompensationRange(); o.type = 'foo'; - o.units = buildUnnamed3685(); + o.units = buildUnnamed3666(); } buildCounterCompensationFilter--; return o; @@ -467,7 +467,7 @@ void checkCompensationFilter(api.CompensationFilter o) { o.type!, unittest.equals('foo'), ); - checkUnnamed3685(o.units!); + checkUnnamed3666(o.units!); } buildCounterCompensationFilter--; } @@ -520,12 +520,12 @@ void checkCompensationHistogramResult(api.CompensationHistogramResult o) { buildCounterCompensationHistogramResult--; } -core.List buildUnnamed3686() => [ +core.List buildUnnamed3667() => [ buildCompensationEntry(), buildCompensationEntry(), ]; -void checkUnnamed3686(core.List o) { +void checkUnnamed3667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompensationEntry(o[0]); checkCompensationEntry(o[1]); @@ -538,7 +538,7 @@ api.CompensationInfo buildCompensationInfo() { if (buildCounterCompensationInfo < 3) { o.annualizedBaseCompensationRange = buildCompensationRange(); o.annualizedTotalCompensationRange = buildCompensationRange(); - o.entries = buildUnnamed3686(); + o.entries = buildUnnamed3667(); } buildCounterCompensationInfo--; return o; @@ -549,7 +549,7 @@ void checkCompensationInfo(api.CompensationInfo o) { if (buildCounterCompensationInfo < 3) { checkCompensationRange(o.annualizedBaseCompensationRange!); checkCompensationRange(o.annualizedTotalCompensationRange!); - checkUnnamed3686(o.entries!); + checkUnnamed3667(o.entries!); } buildCounterCompensationInfo--; } @@ -575,12 +575,12 @@ void checkCompensationRange(api.CompensationRange o) { buildCounterCompensationRange--; } -core.List buildUnnamed3687() => [ +core.List buildUnnamed3668() => [ buildCompletionResult(), buildCompletionResult(), ]; -void checkUnnamed3687(core.List o) { +void checkUnnamed3668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompletionResult(o[0]); checkCompletionResult(o[1]); @@ -591,7 +591,7 @@ api.CompleteQueryResponse buildCompleteQueryResponse() { final o = api.CompleteQueryResponse(); buildCounterCompleteQueryResponse++; if (buildCounterCompleteQueryResponse < 3) { - o.completionResults = buildUnnamed3687(); + o.completionResults = buildUnnamed3668(); o.metadata = buildResponseMetadata(); } buildCounterCompleteQueryResponse--; @@ -601,7 +601,7 @@ api.CompleteQueryResponse buildCompleteQueryResponse() { void checkCompleteQueryResponse(api.CompleteQueryResponse o) { buildCounterCompleteQueryResponse++; if (buildCounterCompleteQueryResponse < 3) { - checkUnnamed3687(o.completionResults!); + checkUnnamed3668(o.completionResults!); checkResponseMetadata(o.metadata!); } buildCounterCompleteQueryResponse--; @@ -696,12 +696,12 @@ void checkCreateJobRequest(api.CreateJobRequest o) { buildCounterCreateJobRequest--; } -core.List buildUnnamed3688() => [ +core.List buildUnnamed3669() => [ 'foo', 'foo', ]; -void checkUnnamed3688(core.List o) { +void checkUnnamed3669(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -713,12 +713,12 @@ void checkUnnamed3688(core.List o) { ); } -core.List buildUnnamed3689() => [ +core.List buildUnnamed3670() => [ 'foo', 'foo', ]; -void checkUnnamed3689(core.List o) { +void checkUnnamed3670(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -736,8 +736,8 @@ api.CustomAttribute buildCustomAttribute() { buildCounterCustomAttribute++; if (buildCounterCustomAttribute < 3) { o.filterable = true; - o.longValues = buildUnnamed3688(); - o.stringValues = buildUnnamed3689(); + o.longValues = buildUnnamed3669(); + o.stringValues = buildUnnamed3670(); } buildCounterCustomAttribute--; return o; @@ -747,8 +747,8 @@ void checkCustomAttribute(api.CustomAttribute o) { buildCounterCustomAttribute++; if (buildCounterCustomAttribute < 3) { unittest.expect(o.filterable!, unittest.isTrue); - checkUnnamed3688(o.longValues!); - checkUnnamed3689(o.stringValues!); + checkUnnamed3669(o.longValues!); + checkUnnamed3670(o.stringValues!); } buildCounterCustomAttribute--; } @@ -780,12 +780,12 @@ void checkCustomAttributeHistogramRequest( buildCounterCustomAttributeHistogramRequest--; } -core.Map buildUnnamed3690() => { +core.Map buildUnnamed3671() => { 'x': 42, 'y': 42, }; -void checkUnnamed3690(core.Map o) { +void checkUnnamed3671(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -804,7 +804,7 @@ api.CustomAttributeHistogramResult buildCustomAttributeHistogramResult() { if (buildCounterCustomAttributeHistogramResult < 3) { o.key = 'foo'; o.longValueHistogramResult = buildNumericBucketingResult(); - o.stringValueHistogramResult = buildUnnamed3690(); + o.stringValueHistogramResult = buildUnnamed3671(); } buildCounterCustomAttributeHistogramResult--; return o; @@ -818,7 +818,7 @@ void checkCustomAttributeHistogramResult(api.CustomAttributeHistogramResult o) { unittest.equals('foo'), ); checkNumericBucketingResult(o.longValueHistogramResult!); - checkUnnamed3690(o.stringValueHistogramResult!); + checkUnnamed3671(o.stringValueHistogramResult!); } buildCounterCustomAttributeHistogramResult--; } @@ -865,34 +865,34 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed3691() => [ +core.List buildUnnamed3672() => [ buildCompensationHistogramRequest(), buildCompensationHistogramRequest(), ]; -void checkUnnamed3691(core.List o) { +void checkUnnamed3672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompensationHistogramRequest(o[0]); checkCompensationHistogramRequest(o[1]); } -core.List buildUnnamed3692() => [ +core.List buildUnnamed3673() => [ buildCustomAttributeHistogramRequest(), buildCustomAttributeHistogramRequest(), ]; -void checkUnnamed3692(core.List o) { +void checkUnnamed3673(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttributeHistogramRequest(o[0]); checkCustomAttributeHistogramRequest(o[1]); } -core.List buildUnnamed3693() => [ +core.List buildUnnamed3674() => [ 'foo', 'foo', ]; -void checkUnnamed3693(core.List o) { +void checkUnnamed3674(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -909,9 +909,9 @@ api.HistogramFacets buildHistogramFacets() { final o = api.HistogramFacets(); buildCounterHistogramFacets++; if (buildCounterHistogramFacets < 3) { - o.compensationHistogramFacets = buildUnnamed3691(); - o.customAttributeHistogramFacets = buildUnnamed3692(); - o.simpleHistogramFacets = buildUnnamed3693(); + o.compensationHistogramFacets = buildUnnamed3672(); + o.customAttributeHistogramFacets = buildUnnamed3673(); + o.simpleHistogramFacets = buildUnnamed3674(); } buildCounterHistogramFacets--; return o; @@ -920,19 +920,19 @@ api.HistogramFacets buildHistogramFacets() { void checkHistogramFacets(api.HistogramFacets o) { buildCounterHistogramFacets++; if (buildCounterHistogramFacets < 3) { - checkUnnamed3691(o.compensationHistogramFacets!); - checkUnnamed3692(o.customAttributeHistogramFacets!); - checkUnnamed3693(o.simpleHistogramFacets!); + checkUnnamed3672(o.compensationHistogramFacets!); + checkUnnamed3673(o.customAttributeHistogramFacets!); + checkUnnamed3674(o.simpleHistogramFacets!); } buildCounterHistogramFacets--; } -core.Map buildUnnamed3694() => { +core.Map buildUnnamed3675() => { 'x': 42, 'y': 42, }; -void checkUnnamed3694(core.Map o) { +void checkUnnamed3675(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -950,7 +950,7 @@ api.HistogramResult buildHistogramResult() { buildCounterHistogramResult++; if (buildCounterHistogramResult < 3) { o.searchType = 'foo'; - o.values = buildUnnamed3694(); + o.values = buildUnnamed3675(); } buildCounterHistogramResult--; return o; @@ -963,39 +963,39 @@ void checkHistogramResult(api.HistogramResult o) { o.searchType!, unittest.equals('foo'), ); - checkUnnamed3694(o.values!); + checkUnnamed3675(o.values!); } buildCounterHistogramResult--; } -core.List buildUnnamed3695() => [ +core.List buildUnnamed3676() => [ buildCompensationHistogramResult(), buildCompensationHistogramResult(), ]; -void checkUnnamed3695(core.List o) { +void checkUnnamed3676(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompensationHistogramResult(o[0]); checkCompensationHistogramResult(o[1]); } -core.List buildUnnamed3696() => [ +core.List buildUnnamed3677() => [ buildCustomAttributeHistogramResult(), buildCustomAttributeHistogramResult(), ]; -void checkUnnamed3696(core.List o) { +void checkUnnamed3677(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttributeHistogramResult(o[0]); checkCustomAttributeHistogramResult(o[1]); } -core.List buildUnnamed3697() => [ +core.List buildUnnamed3678() => [ buildHistogramResult(), buildHistogramResult(), ]; -void checkUnnamed3697(core.List o) { +void checkUnnamed3678(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistogramResult(o[0]); checkHistogramResult(o[1]); @@ -1006,9 +1006,9 @@ api.HistogramResults buildHistogramResults() { final o = api.HistogramResults(); buildCounterHistogramResults++; if (buildCounterHistogramResults < 3) { - o.compensationHistogramResults = buildUnnamed3695(); - o.customAttributeHistogramResults = buildUnnamed3696(); - o.simpleHistogramResults = buildUnnamed3697(); + o.compensationHistogramResults = buildUnnamed3676(); + o.customAttributeHistogramResults = buildUnnamed3677(); + o.simpleHistogramResults = buildUnnamed3678(); } buildCounterHistogramResults--; return o; @@ -1017,19 +1017,19 @@ api.HistogramResults buildHistogramResults() { void checkHistogramResults(api.HistogramResults o) { buildCounterHistogramResults++; if (buildCounterHistogramResults < 3) { - checkUnnamed3695(o.compensationHistogramResults!); - checkUnnamed3696(o.customAttributeHistogramResults!); - checkUnnamed3697(o.simpleHistogramResults!); + checkUnnamed3676(o.compensationHistogramResults!); + checkUnnamed3677(o.customAttributeHistogramResults!); + checkUnnamed3678(o.simpleHistogramResults!); } buildCounterHistogramResults--; } -core.List buildUnnamed3698() => [ +core.List buildUnnamed3679() => [ 'foo', 'foo', ]; -void checkUnnamed3698(core.List o) { +void checkUnnamed3679(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1041,23 +1041,23 @@ void checkUnnamed3698(core.List o) { ); } -core.Map buildUnnamed3699() => { +core.Map buildUnnamed3680() => { 'x': buildCustomAttribute(), 'y': buildCustomAttribute(), }; -void checkUnnamed3699(core.Map o) { +void checkUnnamed3680(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttribute(o['x']!); checkCustomAttribute(o['y']!); } -core.List buildUnnamed3700() => [ +core.List buildUnnamed3681() => [ 'foo', 'foo', ]; -void checkUnnamed3700(core.List o) { +void checkUnnamed3681(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1069,12 +1069,12 @@ void checkUnnamed3700(core.List o) { ); } -core.List buildUnnamed3701() => [ +core.List buildUnnamed3682() => [ 'foo', 'foo', ]; -void checkUnnamed3701(core.List o) { +void checkUnnamed3682(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1086,12 +1086,12 @@ void checkUnnamed3701(core.List o) { ); } -core.List buildUnnamed3702() => [ +core.List buildUnnamed3683() => [ 'foo', 'foo', ]; -void checkUnnamed3702(core.List o) { +void checkUnnamed3683(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1108,19 +1108,19 @@ api.Job buildJob() { final o = api.Job(); buildCounterJob++; if (buildCounterJob < 3) { - o.addresses = buildUnnamed3698(); + o.addresses = buildUnnamed3679(); o.applicationInfo = buildApplicationInfo(); o.companyDisplayName = 'foo'; o.companyName = 'foo'; o.compensationInfo = buildCompensationInfo(); - o.customAttributes = buildUnnamed3699(); - o.degreeTypes = buildUnnamed3700(); + o.customAttributes = buildUnnamed3680(); + o.degreeTypes = buildUnnamed3681(); o.department = 'foo'; o.derivedInfo = buildJobDerivedInfo(); o.description = 'foo'; - o.employmentTypes = buildUnnamed3701(); + o.employmentTypes = buildUnnamed3682(); o.incentives = 'foo'; - o.jobBenefits = buildUnnamed3702(); + o.jobBenefits = buildUnnamed3683(); o.jobEndTime = 'foo'; o.jobLevel = 'foo'; o.jobStartTime = 'foo'; @@ -1146,7 +1146,7 @@ api.Job buildJob() { void checkJob(api.Job o) { buildCounterJob++; if (buildCounterJob < 3) { - checkUnnamed3698(o.addresses!); + checkUnnamed3679(o.addresses!); checkApplicationInfo(o.applicationInfo!); unittest.expect( o.companyDisplayName!, @@ -1157,8 +1157,8 @@ void checkJob(api.Job o) { unittest.equals('foo'), ); checkCompensationInfo(o.compensationInfo!); - checkUnnamed3699(o.customAttributes!); - checkUnnamed3700(o.degreeTypes!); + checkUnnamed3680(o.customAttributes!); + checkUnnamed3681(o.degreeTypes!); unittest.expect( o.department!, unittest.equals('foo'), @@ -1168,12 +1168,12 @@ void checkJob(api.Job o) { o.description!, unittest.equals('foo'), ); - checkUnnamed3701(o.employmentTypes!); + checkUnnamed3682(o.employmentTypes!); unittest.expect( o.incentives!, unittest.equals('foo'), ); - checkUnnamed3702(o.jobBenefits!); + checkUnnamed3683(o.jobBenefits!); unittest.expect( o.jobEndTime!, unittest.equals('foo'), @@ -1243,12 +1243,12 @@ void checkJob(api.Job o) { buildCounterJob--; } -core.List buildUnnamed3703() => [ +core.List buildUnnamed3684() => [ 'foo', 'foo', ]; -void checkUnnamed3703(core.List o) { +void checkUnnamed3684(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1260,12 +1260,12 @@ void checkUnnamed3703(core.List o) { ); } -core.List buildUnnamed3704() => [ +core.List buildUnnamed3685() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed3704(core.List o) { +void checkUnnamed3685(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1276,8 +1276,8 @@ api.JobDerivedInfo buildJobDerivedInfo() { final o = api.JobDerivedInfo(); buildCounterJobDerivedInfo++; if (buildCounterJobDerivedInfo < 3) { - o.jobCategories = buildUnnamed3703(); - o.locations = buildUnnamed3704(); + o.jobCategories = buildUnnamed3684(); + o.locations = buildUnnamed3685(); } buildCounterJobDerivedInfo--; return o; @@ -1286,18 +1286,18 @@ api.JobDerivedInfo buildJobDerivedInfo() { void checkJobDerivedInfo(api.JobDerivedInfo o) { buildCounterJobDerivedInfo++; if (buildCounterJobDerivedInfo < 3) { - checkUnnamed3703(o.jobCategories!); - checkUnnamed3704(o.locations!); + checkUnnamed3684(o.jobCategories!); + checkUnnamed3685(o.locations!); } buildCounterJobDerivedInfo--; } -core.List buildUnnamed3705() => [ +core.List buildUnnamed3686() => [ 'foo', 'foo', ]; -void checkUnnamed3705(core.List o) { +void checkUnnamed3686(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1314,7 +1314,7 @@ api.JobEvent buildJobEvent() { final o = api.JobEvent(); buildCounterJobEvent++; if (buildCounterJobEvent < 3) { - o.jobs = buildUnnamed3705(); + o.jobs = buildUnnamed3686(); o.type = 'foo'; } buildCounterJobEvent--; @@ -1324,7 +1324,7 @@ api.JobEvent buildJobEvent() { void checkJobEvent(api.JobEvent o) { buildCounterJobEvent++; if (buildCounterJobEvent < 3) { - checkUnnamed3705(o.jobs!); + checkUnnamed3686(o.jobs!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1333,12 +1333,12 @@ void checkJobEvent(api.JobEvent o) { buildCounterJobEvent--; } -core.List buildUnnamed3706() => [ +core.List buildUnnamed3687() => [ 'foo', 'foo', ]; -void checkUnnamed3706(core.List o) { +void checkUnnamed3687(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1350,12 +1350,12 @@ void checkUnnamed3706(core.List o) { ); } -core.List buildUnnamed3707() => [ +core.List buildUnnamed3688() => [ 'foo', 'foo', ]; -void checkUnnamed3707(core.List o) { +void checkUnnamed3688(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1367,12 +1367,12 @@ void checkUnnamed3707(core.List o) { ); } -core.List buildUnnamed3708() => [ +core.List buildUnnamed3689() => [ 'foo', 'foo', ]; -void checkUnnamed3708(core.List o) { +void checkUnnamed3689(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1384,12 +1384,12 @@ void checkUnnamed3708(core.List o) { ); } -core.List buildUnnamed3709() => [ +core.List buildUnnamed3690() => [ 'foo', 'foo', ]; -void checkUnnamed3709(core.List o) { +void checkUnnamed3690(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1401,12 +1401,12 @@ void checkUnnamed3709(core.List o) { ); } -core.List buildUnnamed3710() => [ +core.List buildUnnamed3691() => [ 'foo', 'foo', ]; -void checkUnnamed3710(core.List o) { +void checkUnnamed3691(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1418,12 +1418,12 @@ void checkUnnamed3710(core.List o) { ); } -core.List buildUnnamed3711() => [ +core.List buildUnnamed3692() => [ buildLocationFilter(), buildLocationFilter(), ]; -void checkUnnamed3711(core.List o) { +void checkUnnamed3692(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocationFilter(o[0]); checkLocationFilter(o[1]); @@ -1435,15 +1435,15 @@ api.JobQuery buildJobQuery() { buildCounterJobQuery++; if (buildCounterJobQuery < 3) { o.commuteFilter = buildCommuteFilter(); - o.companyDisplayNames = buildUnnamed3706(); - o.companyNames = buildUnnamed3707(); + o.companyDisplayNames = buildUnnamed3687(); + o.companyNames = buildUnnamed3688(); o.compensationFilter = buildCompensationFilter(); o.customAttributeFilter = 'foo'; o.disableSpellCheck = true; - o.employmentTypes = buildUnnamed3708(); - o.jobCategories = buildUnnamed3709(); - o.languageCodes = buildUnnamed3710(); - o.locationFilters = buildUnnamed3711(); + o.employmentTypes = buildUnnamed3689(); + o.jobCategories = buildUnnamed3690(); + o.languageCodes = buildUnnamed3691(); + o.locationFilters = buildUnnamed3692(); o.publishTimeRange = buildTimestampRange(); o.query = 'foo'; o.queryLanguageCode = 'foo'; @@ -1456,18 +1456,18 @@ void checkJobQuery(api.JobQuery o) { buildCounterJobQuery++; if (buildCounterJobQuery < 3) { checkCommuteFilter(o.commuteFilter!); - checkUnnamed3706(o.companyDisplayNames!); - checkUnnamed3707(o.companyNames!); + checkUnnamed3687(o.companyDisplayNames!); + checkUnnamed3688(o.companyNames!); checkCompensationFilter(o.compensationFilter!); unittest.expect( o.customAttributeFilter!, unittest.equals('foo'), ); unittest.expect(o.disableSpellCheck!, unittest.isTrue); - checkUnnamed3708(o.employmentTypes!); - checkUnnamed3709(o.jobCategories!); - checkUnnamed3710(o.languageCodes!); - checkUnnamed3711(o.locationFilters!); + checkUnnamed3689(o.employmentTypes!); + checkUnnamed3690(o.jobCategories!); + checkUnnamed3691(o.languageCodes!); + checkUnnamed3692(o.locationFilters!); checkTimestampRange(o.publishTimeRange!); unittest.expect( o.query!, @@ -1508,12 +1508,12 @@ void checkLatLng(api.LatLng o) { buildCounterLatLng--; } -core.List buildUnnamed3712() => [ +core.List buildUnnamed3693() => [ buildCompany(), buildCompany(), ]; -void checkUnnamed3712(core.List o) { +void checkUnnamed3693(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompany(o[0]); checkCompany(o[1]); @@ -1524,7 +1524,7 @@ api.ListCompaniesResponse buildListCompaniesResponse() { final o = api.ListCompaniesResponse(); buildCounterListCompaniesResponse++; if (buildCounterListCompaniesResponse < 3) { - o.companies = buildUnnamed3712(); + o.companies = buildUnnamed3693(); o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; } @@ -1535,7 +1535,7 @@ api.ListCompaniesResponse buildListCompaniesResponse() { void checkListCompaniesResponse(api.ListCompaniesResponse o) { buildCounterListCompaniesResponse++; if (buildCounterListCompaniesResponse < 3) { - checkUnnamed3712(o.companies!); + checkUnnamed3693(o.companies!); checkResponseMetadata(o.metadata!); unittest.expect( o.nextPageToken!, @@ -1545,12 +1545,12 @@ void checkListCompaniesResponse(api.ListCompaniesResponse o) { buildCounterListCompaniesResponse--; } -core.List buildUnnamed3713() => [ +core.List buildUnnamed3694() => [ buildJob(), buildJob(), ]; -void checkUnnamed3713(core.List o) { +void checkUnnamed3694(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -1561,7 +1561,7 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed3713(); + o.jobs = buildUnnamed3694(); o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; } @@ -1572,7 +1572,7 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed3713(o.jobs!); + checkUnnamed3694(o.jobs!); checkResponseMetadata(o.metadata!); unittest.expect( o.nextPageToken!, @@ -1688,12 +1688,12 @@ void checkMatchingJob(api.MatchingJob o) { buildCounterMatchingJob--; } -core.Map buildUnnamed3714() => { +core.Map buildUnnamed3695() => { 'x': buildNamespacedDebugInput(), 'y': buildNamespacedDebugInput(), }; -void checkUnnamed3714(core.Map o) { +void checkUnnamed3695(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNamespacedDebugInput(o['x']!); checkNamespacedDebugInput(o['y']!); @@ -1704,7 +1704,7 @@ api.MendelDebugInput buildMendelDebugInput() { final o = api.MendelDebugInput(); buildCounterMendelDebugInput++; if (buildCounterMendelDebugInput < 3) { - o.namespacedDebugInput = buildUnnamed3714(); + o.namespacedDebugInput = buildUnnamed3695(); } buildCounterMendelDebugInput--; return o; @@ -1713,7 +1713,7 @@ api.MendelDebugInput buildMendelDebugInput() { void checkMendelDebugInput(api.MendelDebugInput o) { buildCounterMendelDebugInput++; if (buildCounterMendelDebugInput < 3) { - checkUnnamed3714(o.namespacedDebugInput!); + checkUnnamed3695(o.namespacedDebugInput!); } buildCounterMendelDebugInput--; } @@ -1750,12 +1750,12 @@ void checkMoney(api.Money o) { buildCounterMoney--; } -core.List buildUnnamed3715() => [ +core.List buildUnnamed3696() => [ 'foo', 'foo', ]; -void checkUnnamed3715(core.List o) { +void checkUnnamed3696(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1767,12 +1767,12 @@ void checkUnnamed3715(core.List o) { ); } -core.List buildUnnamed3716() => [ +core.List buildUnnamed3697() => [ 'foo', 'foo', ]; -void checkUnnamed3716(core.List o) { +void checkUnnamed3697(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1784,12 +1784,12 @@ void checkUnnamed3716(core.List o) { ); } -core.List buildUnnamed3717() => [ +core.List buildUnnamed3698() => [ 42, 42, ]; -void checkUnnamed3717(core.List o) { +void checkUnnamed3698(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1801,12 +1801,12 @@ void checkUnnamed3717(core.List o) { ); } -core.List buildUnnamed3718() => [ +core.List buildUnnamed3699() => [ 'foo', 'foo', ]; -void checkUnnamed3718(core.List o) { +void checkUnnamed3699(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1818,12 +1818,12 @@ void checkUnnamed3718(core.List o) { ); } -core.List buildUnnamed3719() => [ +core.List buildUnnamed3700() => [ 'foo', 'foo', ]; -void checkUnnamed3719(core.List o) { +void checkUnnamed3700(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1835,12 +1835,12 @@ void checkUnnamed3719(core.List o) { ); } -core.List buildUnnamed3720() => [ +core.List buildUnnamed3701() => [ 42, 42, ]; -void checkUnnamed3720(core.List o) { +void checkUnnamed3701(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1852,12 +1852,12 @@ void checkUnnamed3720(core.List o) { ); } -core.List buildUnnamed3721() => [ +core.List buildUnnamed3702() => [ 'foo', 'foo', ]; -void checkUnnamed3721(core.List o) { +void checkUnnamed3702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1869,12 +1869,12 @@ void checkUnnamed3721(core.List o) { ); } -core.List buildUnnamed3722() => [ +core.List buildUnnamed3703() => [ 'foo', 'foo', ]; -void checkUnnamed3722(core.List o) { +void checkUnnamed3703(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1886,12 +1886,12 @@ void checkUnnamed3722(core.List o) { ); } -core.List buildUnnamed3723() => [ +core.List buildUnnamed3704() => [ 42, 42, ]; -void checkUnnamed3723(core.List o) { +void checkUnnamed3704(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1903,12 +1903,12 @@ void checkUnnamed3723(core.List o) { ); } -core.Map buildUnnamed3724() => { +core.Map buildUnnamed3705() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3724(core.Map o) { +void checkUnnamed3705(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1920,12 +1920,12 @@ void checkUnnamed3724(core.Map o) { ); } -core.Map buildUnnamed3725() => { +core.Map buildUnnamed3706() => { 'x': true, 'y': true, }; -void checkUnnamed3725(core.Map o) { +void checkUnnamed3706(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o['x']!, unittest.isTrue); unittest.expect(o['y']!, unittest.isTrue); @@ -1936,20 +1936,20 @@ api.NamespacedDebugInput buildNamespacedDebugInput() { final o = api.NamespacedDebugInput(); buildCounterNamespacedDebugInput++; if (buildCounterNamespacedDebugInput < 3) { - o.absolutelyForcedExpNames = buildUnnamed3715(); - o.absolutelyForcedExpTags = buildUnnamed3716(); - o.absolutelyForcedExps = buildUnnamed3717(); - o.conditionallyForcedExpNames = buildUnnamed3718(); - o.conditionallyForcedExpTags = buildUnnamed3719(); - o.conditionallyForcedExps = buildUnnamed3720(); + o.absolutelyForcedExpNames = buildUnnamed3696(); + o.absolutelyForcedExpTags = buildUnnamed3697(); + o.absolutelyForcedExps = buildUnnamed3698(); + o.conditionallyForcedExpNames = buildUnnamed3699(); + o.conditionallyForcedExpTags = buildUnnamed3700(); + o.conditionallyForcedExps = buildUnnamed3701(); o.disableAutomaticEnrollmentSelection = true; - o.disableExpNames = buildUnnamed3721(); - o.disableExpTags = buildUnnamed3722(); - o.disableExps = buildUnnamed3723(); + o.disableExpNames = buildUnnamed3702(); + o.disableExpTags = buildUnnamed3703(); + o.disableExps = buildUnnamed3704(); o.disableManualEnrollmentSelection = true; o.disableOrganicSelection = true; - o.forcedFlags = buildUnnamed3724(); - o.forcedRollouts = buildUnnamed3725(); + o.forcedFlags = buildUnnamed3705(); + o.forcedRollouts = buildUnnamed3706(); } buildCounterNamespacedDebugInput--; return o; @@ -1958,30 +1958,30 @@ api.NamespacedDebugInput buildNamespacedDebugInput() { void checkNamespacedDebugInput(api.NamespacedDebugInput o) { buildCounterNamespacedDebugInput++; if (buildCounterNamespacedDebugInput < 3) { - checkUnnamed3715(o.absolutelyForcedExpNames!); - checkUnnamed3716(o.absolutelyForcedExpTags!); - checkUnnamed3717(o.absolutelyForcedExps!); - checkUnnamed3718(o.conditionallyForcedExpNames!); - checkUnnamed3719(o.conditionallyForcedExpTags!); - checkUnnamed3720(o.conditionallyForcedExps!); + checkUnnamed3696(o.absolutelyForcedExpNames!); + checkUnnamed3697(o.absolutelyForcedExpTags!); + checkUnnamed3698(o.absolutelyForcedExps!); + checkUnnamed3699(o.conditionallyForcedExpNames!); + checkUnnamed3700(o.conditionallyForcedExpTags!); + checkUnnamed3701(o.conditionallyForcedExps!); unittest.expect(o.disableAutomaticEnrollmentSelection!, unittest.isTrue); - checkUnnamed3721(o.disableExpNames!); - checkUnnamed3722(o.disableExpTags!); - checkUnnamed3723(o.disableExps!); + checkUnnamed3702(o.disableExpNames!); + checkUnnamed3703(o.disableExpTags!); + checkUnnamed3704(o.disableExps!); unittest.expect(o.disableManualEnrollmentSelection!, unittest.isTrue); unittest.expect(o.disableOrganicSelection!, unittest.isTrue); - checkUnnamed3724(o.forcedFlags!); - checkUnnamed3725(o.forcedRollouts!); + checkUnnamed3705(o.forcedFlags!); + checkUnnamed3706(o.forcedRollouts!); } buildCounterNamespacedDebugInput--; } -core.List buildUnnamed3726() => [ +core.List buildUnnamed3707() => [ 42.0, 42.0, ]; -void checkUnnamed3726(core.List o) { +void checkUnnamed3707(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1998,7 +1998,7 @@ api.NumericBucketingOption buildNumericBucketingOption() { final o = api.NumericBucketingOption(); buildCounterNumericBucketingOption++; if (buildCounterNumericBucketingOption < 3) { - o.bucketBounds = buildUnnamed3726(); + o.bucketBounds = buildUnnamed3707(); o.requiresMinMax = true; } buildCounterNumericBucketingOption--; @@ -2008,18 +2008,18 @@ api.NumericBucketingOption buildNumericBucketingOption() { void checkNumericBucketingOption(api.NumericBucketingOption o) { buildCounterNumericBucketingOption++; if (buildCounterNumericBucketingOption < 3) { - checkUnnamed3726(o.bucketBounds!); + checkUnnamed3707(o.bucketBounds!); unittest.expect(o.requiresMinMax!, unittest.isTrue); } buildCounterNumericBucketingOption--; } -core.List buildUnnamed3727() => [ +core.List buildUnnamed3708() => [ buildBucketizedCount(), buildBucketizedCount(), ]; -void checkUnnamed3727(core.List o) { +void checkUnnamed3708(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucketizedCount(o[0]); checkBucketizedCount(o[1]); @@ -2030,7 +2030,7 @@ api.NumericBucketingResult buildNumericBucketingResult() { final o = api.NumericBucketingResult(); buildCounterNumericBucketingResult++; if (buildCounterNumericBucketingResult < 3) { - o.counts = buildUnnamed3727(); + o.counts = buildUnnamed3708(); o.maxValue = 42.0; o.minValue = 42.0; } @@ -2041,7 +2041,7 @@ api.NumericBucketingResult buildNumericBucketingResult() { void checkNumericBucketingResult(api.NumericBucketingResult o) { buildCounterNumericBucketingResult++; if (buildCounterNumericBucketingResult < 3) { - checkUnnamed3727(o.counts!); + checkUnnamed3708(o.counts!); unittest.expect( o.maxValue!, unittest.equals(42.0), @@ -2054,12 +2054,12 @@ void checkNumericBucketingResult(api.NumericBucketingResult o) { buildCounterNumericBucketingResult--; } -core.List buildUnnamed3728() => [ +core.List buildUnnamed3709() => [ 'foo', 'foo', ]; -void checkUnnamed3728(core.List o) { +void checkUnnamed3709(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2071,12 +2071,12 @@ void checkUnnamed3728(core.List o) { ); } -core.List buildUnnamed3729() => [ +core.List buildUnnamed3710() => [ 'foo', 'foo', ]; -void checkUnnamed3729(core.List o) { +void checkUnnamed3710(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2093,13 +2093,13 @@ api.PostalAddress buildPostalAddress() { final o = api.PostalAddress(); buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - o.addressLines = buildUnnamed3728(); + o.addressLines = buildUnnamed3709(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed3729(); + o.recipients = buildUnnamed3710(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -2112,7 +2112,7 @@ api.PostalAddress buildPostalAddress() { void checkPostalAddress(api.PostalAddress o) { buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - checkUnnamed3728(o.addressLines!); + checkUnnamed3709(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -2133,7 +2133,7 @@ void checkPostalAddress(api.PostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed3729(o.recipients!); + checkUnnamed3710(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -2298,23 +2298,23 @@ void checkSearchJobsRequest(api.SearchJobsRequest o) { buildCounterSearchJobsRequest--; } -core.List buildUnnamed3730() => [ +core.List buildUnnamed3711() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed3730(core.List o) { +void checkUnnamed3711(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); } -core.List buildUnnamed3731() => [ +core.List buildUnnamed3712() => [ buildMatchingJob(), buildMatchingJob(), ]; -void checkUnnamed3731(core.List o) { +void checkUnnamed3712(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatchingJob(o[0]); checkMatchingJob(o[1]); @@ -2328,8 +2328,8 @@ api.SearchJobsResponse buildSearchJobsResponse() { o.broadenedQueryJobsCount = 42; o.estimatedTotalSize = 42; o.histogramResults = buildHistogramResults(); - o.locationFilters = buildUnnamed3730(); - o.matchingJobs = buildUnnamed3731(); + o.locationFilters = buildUnnamed3711(); + o.matchingJobs = buildUnnamed3712(); o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; o.spellCorrection = buildSpellingCorrection(); @@ -2351,8 +2351,8 @@ void checkSearchJobsResponse(api.SearchJobsResponse o) { unittest.equals(42), ); checkHistogramResults(o.histogramResults!); - checkUnnamed3730(o.locationFilters!); - checkUnnamed3731(o.matchingJobs!); + checkUnnamed3711(o.locationFilters!); + checkUnnamed3712(o.matchingJobs!); checkResponseMetadata(o.metadata!); unittest.expect( o.nextPageToken!, @@ -2503,12 +2503,12 @@ void checkUpdateJobRequest(api.UpdateJobRequest o) { buildCounterUpdateJobRequest--; } -core.List buildUnnamed3732() => [ +core.List buildUnnamed3713() => [ 'foo', 'foo', ]; -void checkUnnamed3732(core.List o) { +void checkUnnamed3713(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3067,7 +3067,7 @@ void main() { final arg_name = 'foo'; final arg_companyName = 'foo'; final arg_languageCode = 'foo'; - final arg_languageCodes = buildUnnamed3732(); + final arg_languageCodes = buildUnnamed3713(); final arg_pageSize = 42; final arg_query = 'foo'; final arg_scope = 'foo'; diff --git a/generated/googleapis/test/jobs/v4_test.dart b/generated/googleapis/test/jobs/v4_test.dart index 123d99d0c..0f21d362a 100644 --- a/generated/googleapis/test/jobs/v4_test.dart +++ b/generated/googleapis/test/jobs/v4_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7408() => [ +core.List buildUnnamed7488() => [ 'foo', 'foo', ]; -void checkUnnamed7408(core.List o) { +void checkUnnamed7488(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed7408(core.List o) { ); } -core.List buildUnnamed7409() => [ +core.List buildUnnamed7489() => [ 'foo', 'foo', ]; -void checkUnnamed7409(core.List o) { +void checkUnnamed7489(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,9 +65,9 @@ api.ApplicationInfo buildApplicationInfo() { final o = api.ApplicationInfo(); buildCounterApplicationInfo++; if (buildCounterApplicationInfo < 3) { - o.emails = buildUnnamed7408(); + o.emails = buildUnnamed7488(); o.instruction = 'foo'; - o.uris = buildUnnamed7409(); + o.uris = buildUnnamed7489(); } buildCounterApplicationInfo--; return o; @@ -76,22 +76,22 @@ api.ApplicationInfo buildApplicationInfo() { void checkApplicationInfo(api.ApplicationInfo o) { buildCounterApplicationInfo++; if (buildCounterApplicationInfo < 3) { - checkUnnamed7408(o.emails!); + checkUnnamed7488(o.emails!); unittest.expect( o.instruction!, unittest.equals('foo'), ); - checkUnnamed7409(o.uris!); + checkUnnamed7489(o.uris!); } buildCounterApplicationInfo--; } -core.List buildUnnamed7410() => [ +core.List buildUnnamed7490() => [ buildJob(), buildJob(), ]; -void checkUnnamed7410(core.List o) { +void checkUnnamed7490(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -102,7 +102,7 @@ api.BatchCreateJobsRequest buildBatchCreateJobsRequest() { final o = api.BatchCreateJobsRequest(); buildCounterBatchCreateJobsRequest++; if (buildCounterBatchCreateJobsRequest < 3) { - o.jobs = buildUnnamed7410(); + o.jobs = buildUnnamed7490(); } buildCounterBatchCreateJobsRequest--; return o; @@ -111,17 +111,17 @@ api.BatchCreateJobsRequest buildBatchCreateJobsRequest() { void checkBatchCreateJobsRequest(api.BatchCreateJobsRequest o) { buildCounterBatchCreateJobsRequest++; if (buildCounterBatchCreateJobsRequest < 3) { - checkUnnamed7410(o.jobs!); + checkUnnamed7490(o.jobs!); } buildCounterBatchCreateJobsRequest--; } -core.List buildUnnamed7411() => [ +core.List buildUnnamed7491() => [ buildJobResult(), buildJobResult(), ]; -void checkUnnamed7411(core.List o) { +void checkUnnamed7491(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobResult(o[0]); checkJobResult(o[1]); @@ -132,7 +132,7 @@ api.BatchCreateJobsResponse buildBatchCreateJobsResponse() { final o = api.BatchCreateJobsResponse(); buildCounterBatchCreateJobsResponse++; if (buildCounterBatchCreateJobsResponse < 3) { - o.jobResults = buildUnnamed7411(); + o.jobResults = buildUnnamed7491(); } buildCounterBatchCreateJobsResponse--; return o; @@ -141,17 +141,17 @@ api.BatchCreateJobsResponse buildBatchCreateJobsResponse() { void checkBatchCreateJobsResponse(api.BatchCreateJobsResponse o) { buildCounterBatchCreateJobsResponse++; if (buildCounterBatchCreateJobsResponse < 3) { - checkUnnamed7411(o.jobResults!); + checkUnnamed7491(o.jobResults!); } buildCounterBatchCreateJobsResponse--; } -core.List buildUnnamed7412() => [ +core.List buildUnnamed7492() => [ 'foo', 'foo', ]; -void checkUnnamed7412(core.List o) { +void checkUnnamed7492(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -168,7 +168,7 @@ api.BatchDeleteJobsRequest buildBatchDeleteJobsRequest() { final o = api.BatchDeleteJobsRequest(); buildCounterBatchDeleteJobsRequest++; if (buildCounterBatchDeleteJobsRequest < 3) { - o.names = buildUnnamed7412(); + o.names = buildUnnamed7492(); } buildCounterBatchDeleteJobsRequest--; return o; @@ -177,17 +177,17 @@ api.BatchDeleteJobsRequest buildBatchDeleteJobsRequest() { void checkBatchDeleteJobsRequest(api.BatchDeleteJobsRequest o) { buildCounterBatchDeleteJobsRequest++; if (buildCounterBatchDeleteJobsRequest < 3) { - checkUnnamed7412(o.names!); + checkUnnamed7492(o.names!); } buildCounterBatchDeleteJobsRequest--; } -core.List buildUnnamed7413() => [ +core.List buildUnnamed7493() => [ buildJobResult(), buildJobResult(), ]; -void checkUnnamed7413(core.List o) { +void checkUnnamed7493(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobResult(o[0]); checkJobResult(o[1]); @@ -198,7 +198,7 @@ api.BatchDeleteJobsResponse buildBatchDeleteJobsResponse() { final o = api.BatchDeleteJobsResponse(); buildCounterBatchDeleteJobsResponse++; if (buildCounterBatchDeleteJobsResponse < 3) { - o.jobResults = buildUnnamed7413(); + o.jobResults = buildUnnamed7493(); } buildCounterBatchDeleteJobsResponse--; return o; @@ -207,7 +207,7 @@ api.BatchDeleteJobsResponse buildBatchDeleteJobsResponse() { void checkBatchDeleteJobsResponse(api.BatchDeleteJobsResponse o) { buildCounterBatchDeleteJobsResponse++; if (buildCounterBatchDeleteJobsResponse < 3) { - checkUnnamed7413(o.jobResults!); + checkUnnamed7493(o.jobResults!); } buildCounterBatchDeleteJobsResponse--; } @@ -269,12 +269,12 @@ void checkBatchOperationMetadata(api.BatchOperationMetadata o) { buildCounterBatchOperationMetadata--; } -core.List buildUnnamed7414() => [ +core.List buildUnnamed7494() => [ buildJob(), buildJob(), ]; -void checkUnnamed7414(core.List o) { +void checkUnnamed7494(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -285,7 +285,7 @@ api.BatchUpdateJobsRequest buildBatchUpdateJobsRequest() { final o = api.BatchUpdateJobsRequest(); buildCounterBatchUpdateJobsRequest++; if (buildCounterBatchUpdateJobsRequest < 3) { - o.jobs = buildUnnamed7414(); + o.jobs = buildUnnamed7494(); o.updateMask = 'foo'; } buildCounterBatchUpdateJobsRequest--; @@ -295,7 +295,7 @@ api.BatchUpdateJobsRequest buildBatchUpdateJobsRequest() { void checkBatchUpdateJobsRequest(api.BatchUpdateJobsRequest o) { buildCounterBatchUpdateJobsRequest++; if (buildCounterBatchUpdateJobsRequest < 3) { - checkUnnamed7414(o.jobs!); + checkUnnamed7494(o.jobs!); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -304,12 +304,12 @@ void checkBatchUpdateJobsRequest(api.BatchUpdateJobsRequest o) { buildCounterBatchUpdateJobsRequest--; } -core.List buildUnnamed7415() => [ +core.List buildUnnamed7495() => [ buildJobResult(), buildJobResult(), ]; -void checkUnnamed7415(core.List o) { +void checkUnnamed7495(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobResult(o[0]); checkJobResult(o[1]); @@ -320,7 +320,7 @@ api.BatchUpdateJobsResponse buildBatchUpdateJobsResponse() { final o = api.BatchUpdateJobsResponse(); buildCounterBatchUpdateJobsResponse++; if (buildCounterBatchUpdateJobsResponse < 3) { - o.jobResults = buildUnnamed7415(); + o.jobResults = buildUnnamed7495(); } buildCounterBatchUpdateJobsResponse--; return o; @@ -329,7 +329,7 @@ api.BatchUpdateJobsResponse buildBatchUpdateJobsResponse() { void checkBatchUpdateJobsResponse(api.BatchUpdateJobsResponse o) { buildCounterBatchUpdateJobsResponse++; if (buildCounterBatchUpdateJobsResponse < 3) { - checkUnnamed7415(o.jobResults!); + checkUnnamed7495(o.jobResults!); } buildCounterBatchUpdateJobsResponse--; } @@ -435,12 +435,12 @@ void checkCommuteInfo(api.CommuteInfo o) { buildCounterCommuteInfo--; } -core.List buildUnnamed7416() => [ +core.List buildUnnamed7496() => [ 'foo', 'foo', ]; -void checkUnnamed7416(core.List o) { +void checkUnnamed7496(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -465,7 +465,7 @@ api.Company buildCompany() { o.headquartersAddress = 'foo'; o.hiringAgency = true; o.imageUri = 'foo'; - o.keywordSearchableJobCustomAttributes = buildUnnamed7416(); + o.keywordSearchableJobCustomAttributes = buildUnnamed7496(); o.name = 'foo'; o.size = 'foo'; o.suspended = true; @@ -504,7 +504,7 @@ void checkCompany(api.Company o) { o.imageUri!, unittest.equals('foo'), ); - checkUnnamed7416(o.keywordSearchableJobCustomAttributes!); + checkUnnamed7496(o.keywordSearchableJobCustomAttributes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -582,12 +582,12 @@ void checkCompensationEntry(api.CompensationEntry o) { buildCounterCompensationEntry--; } -core.List buildUnnamed7417() => [ +core.List buildUnnamed7497() => [ 'foo', 'foo', ]; -void checkUnnamed7417(core.List o) { +void checkUnnamed7497(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -607,7 +607,7 @@ api.CompensationFilter buildCompensationFilter() { o.includeJobsWithUnspecifiedCompensationRange = true; o.range = buildCompensationRange(); o.type = 'foo'; - o.units = buildUnnamed7417(); + o.units = buildUnnamed7497(); } buildCounterCompensationFilter--; return o; @@ -623,17 +623,17 @@ void checkCompensationFilter(api.CompensationFilter o) { o.type!, unittest.equals('foo'), ); - checkUnnamed7417(o.units!); + checkUnnamed7497(o.units!); } buildCounterCompensationFilter--; } -core.List buildUnnamed7418() => [ +core.List buildUnnamed7498() => [ buildCompensationEntry(), buildCompensationEntry(), ]; -void checkUnnamed7418(core.List o) { +void checkUnnamed7498(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompensationEntry(o[0]); checkCompensationEntry(o[1]); @@ -646,7 +646,7 @@ api.CompensationInfo buildCompensationInfo() { if (buildCounterCompensationInfo < 3) { o.annualizedBaseCompensationRange = buildCompensationRange(); o.annualizedTotalCompensationRange = buildCompensationRange(); - o.entries = buildUnnamed7418(); + o.entries = buildUnnamed7498(); } buildCounterCompensationInfo--; return o; @@ -657,7 +657,7 @@ void checkCompensationInfo(api.CompensationInfo o) { if (buildCounterCompensationInfo < 3) { checkCompensationRange(o.annualizedBaseCompensationRange!); checkCompensationRange(o.annualizedTotalCompensationRange!); - checkUnnamed7418(o.entries!); + checkUnnamed7498(o.entries!); } buildCounterCompensationInfo--; } @@ -683,12 +683,12 @@ void checkCompensationRange(api.CompensationRange o) { buildCounterCompensationRange--; } -core.List buildUnnamed7419() => [ +core.List buildUnnamed7499() => [ buildCompletionResult(), buildCompletionResult(), ]; -void checkUnnamed7419(core.List o) { +void checkUnnamed7499(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompletionResult(o[0]); checkCompletionResult(o[1]); @@ -699,7 +699,7 @@ api.CompleteQueryResponse buildCompleteQueryResponse() { final o = api.CompleteQueryResponse(); buildCounterCompleteQueryResponse++; if (buildCounterCompleteQueryResponse < 3) { - o.completionResults = buildUnnamed7419(); + o.completionResults = buildUnnamed7499(); o.metadata = buildResponseMetadata(); } buildCounterCompleteQueryResponse--; @@ -709,7 +709,7 @@ api.CompleteQueryResponse buildCompleteQueryResponse() { void checkCompleteQueryResponse(api.CompleteQueryResponse o) { buildCounterCompleteQueryResponse++; if (buildCounterCompleteQueryResponse < 3) { - checkUnnamed7419(o.completionResults!); + checkUnnamed7499(o.completionResults!); checkResponseMetadata(o.metadata!); } buildCounterCompleteQueryResponse--; @@ -747,12 +747,12 @@ void checkCompletionResult(api.CompletionResult o) { buildCounterCompletionResult--; } -core.List buildUnnamed7420() => [ +core.List buildUnnamed7500() => [ 'foo', 'foo', ]; -void checkUnnamed7420(core.List o) { +void checkUnnamed7500(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -764,12 +764,12 @@ void checkUnnamed7420(core.List o) { ); } -core.List buildUnnamed7421() => [ +core.List buildUnnamed7501() => [ 'foo', 'foo', ]; -void checkUnnamed7421(core.List o) { +void checkUnnamed7501(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -788,8 +788,8 @@ api.CustomAttribute buildCustomAttribute() { if (buildCounterCustomAttribute < 3) { o.filterable = true; o.keywordSearchable = true; - o.longValues = buildUnnamed7420(); - o.stringValues = buildUnnamed7421(); + o.longValues = buildUnnamed7500(); + o.stringValues = buildUnnamed7501(); } buildCounterCustomAttribute--; return o; @@ -800,8 +800,8 @@ void checkCustomAttribute(api.CustomAttribute o) { if (buildCounterCustomAttribute < 3) { unittest.expect(o.filterable!, unittest.isTrue); unittest.expect(o.keywordSearchable!, unittest.isTrue); - checkUnnamed7420(o.longValues!); - checkUnnamed7421(o.stringValues!); + checkUnnamed7500(o.longValues!); + checkUnnamed7501(o.stringValues!); } buildCounterCustomAttribute--; } @@ -897,12 +897,12 @@ void checkHistogramQuery(api.HistogramQuery o) { buildCounterHistogramQuery--; } -core.Map buildUnnamed7422() => { +core.Map buildUnnamed7502() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7422(core.Map o) { +void checkUnnamed7502(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -919,7 +919,7 @@ api.HistogramQueryResult buildHistogramQueryResult() { final o = api.HistogramQueryResult(); buildCounterHistogramQueryResult++; if (buildCounterHistogramQueryResult < 3) { - o.histogram = buildUnnamed7422(); + o.histogram = buildUnnamed7502(); o.histogramQuery = 'foo'; } buildCounterHistogramQueryResult--; @@ -929,7 +929,7 @@ api.HistogramQueryResult buildHistogramQueryResult() { void checkHistogramQueryResult(api.HistogramQueryResult o) { buildCounterHistogramQueryResult++; if (buildCounterHistogramQueryResult < 3) { - checkUnnamed7422(o.histogram!); + checkUnnamed7502(o.histogram!); unittest.expect( o.histogramQuery!, unittest.equals('foo'), @@ -938,12 +938,12 @@ void checkHistogramQueryResult(api.HistogramQueryResult o) { buildCounterHistogramQueryResult--; } -core.List buildUnnamed7423() => [ +core.List buildUnnamed7503() => [ 'foo', 'foo', ]; -void checkUnnamed7423(core.List o) { +void checkUnnamed7503(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -955,23 +955,23 @@ void checkUnnamed7423(core.List o) { ); } -core.Map buildUnnamed7424() => { +core.Map buildUnnamed7504() => { 'x': buildCustomAttribute(), 'y': buildCustomAttribute(), }; -void checkUnnamed7424(core.Map o) { +void checkUnnamed7504(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttribute(o['x']!); checkCustomAttribute(o['y']!); } -core.List buildUnnamed7425() => [ +core.List buildUnnamed7505() => [ 'foo', 'foo', ]; -void checkUnnamed7425(core.List o) { +void checkUnnamed7505(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -983,12 +983,12 @@ void checkUnnamed7425(core.List o) { ); } -core.List buildUnnamed7426() => [ +core.List buildUnnamed7506() => [ 'foo', 'foo', ]; -void checkUnnamed7426(core.List o) { +void checkUnnamed7506(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1000,12 +1000,12 @@ void checkUnnamed7426(core.List o) { ); } -core.List buildUnnamed7427() => [ +core.List buildUnnamed7507() => [ 'foo', 'foo', ]; -void checkUnnamed7427(core.List o) { +void checkUnnamed7507(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1022,19 +1022,19 @@ api.Job buildJob() { final o = api.Job(); buildCounterJob++; if (buildCounterJob < 3) { - o.addresses = buildUnnamed7423(); + o.addresses = buildUnnamed7503(); o.applicationInfo = buildApplicationInfo(); o.company = 'foo'; o.companyDisplayName = 'foo'; o.compensationInfo = buildCompensationInfo(); - o.customAttributes = buildUnnamed7424(); - o.degreeTypes = buildUnnamed7425(); + o.customAttributes = buildUnnamed7504(); + o.degreeTypes = buildUnnamed7505(); o.department = 'foo'; o.derivedInfo = buildJobDerivedInfo(); o.description = 'foo'; - o.employmentTypes = buildUnnamed7426(); + o.employmentTypes = buildUnnamed7506(); o.incentives = 'foo'; - o.jobBenefits = buildUnnamed7427(); + o.jobBenefits = buildUnnamed7507(); o.jobEndTime = 'foo'; o.jobLevel = 'foo'; o.jobStartTime = 'foo'; @@ -1060,7 +1060,7 @@ api.Job buildJob() { void checkJob(api.Job o) { buildCounterJob++; if (buildCounterJob < 3) { - checkUnnamed7423(o.addresses!); + checkUnnamed7503(o.addresses!); checkApplicationInfo(o.applicationInfo!); unittest.expect( o.company!, @@ -1071,8 +1071,8 @@ void checkJob(api.Job o) { unittest.equals('foo'), ); checkCompensationInfo(o.compensationInfo!); - checkUnnamed7424(o.customAttributes!); - checkUnnamed7425(o.degreeTypes!); + checkUnnamed7504(o.customAttributes!); + checkUnnamed7505(o.degreeTypes!); unittest.expect( o.department!, unittest.equals('foo'), @@ -1082,12 +1082,12 @@ void checkJob(api.Job o) { o.description!, unittest.equals('foo'), ); - checkUnnamed7426(o.employmentTypes!); + checkUnnamed7506(o.employmentTypes!); unittest.expect( o.incentives!, unittest.equals('foo'), ); - checkUnnamed7427(o.jobBenefits!); + checkUnnamed7507(o.jobBenefits!); unittest.expect( o.jobEndTime!, unittest.equals('foo'), @@ -1157,12 +1157,12 @@ void checkJob(api.Job o) { buildCounterJob--; } -core.List buildUnnamed7428() => [ +core.List buildUnnamed7508() => [ 'foo', 'foo', ]; -void checkUnnamed7428(core.List o) { +void checkUnnamed7508(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1174,12 +1174,12 @@ void checkUnnamed7428(core.List o) { ); } -core.List buildUnnamed7429() => [ +core.List buildUnnamed7509() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed7429(core.List o) { +void checkUnnamed7509(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1190,8 +1190,8 @@ api.JobDerivedInfo buildJobDerivedInfo() { final o = api.JobDerivedInfo(); buildCounterJobDerivedInfo++; if (buildCounterJobDerivedInfo < 3) { - o.jobCategories = buildUnnamed7428(); - o.locations = buildUnnamed7429(); + o.jobCategories = buildUnnamed7508(); + o.locations = buildUnnamed7509(); } buildCounterJobDerivedInfo--; return o; @@ -1200,18 +1200,18 @@ api.JobDerivedInfo buildJobDerivedInfo() { void checkJobDerivedInfo(api.JobDerivedInfo o) { buildCounterJobDerivedInfo++; if (buildCounterJobDerivedInfo < 3) { - checkUnnamed7428(o.jobCategories!); - checkUnnamed7429(o.locations!); + checkUnnamed7508(o.jobCategories!); + checkUnnamed7509(o.locations!); } buildCounterJobDerivedInfo--; } -core.List buildUnnamed7430() => [ +core.List buildUnnamed7510() => [ 'foo', 'foo', ]; -void checkUnnamed7430(core.List o) { +void checkUnnamed7510(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1228,7 +1228,7 @@ api.JobEvent buildJobEvent() { final o = api.JobEvent(); buildCounterJobEvent++; if (buildCounterJobEvent < 3) { - o.jobs = buildUnnamed7430(); + o.jobs = buildUnnamed7510(); o.type = 'foo'; } buildCounterJobEvent--; @@ -1238,7 +1238,7 @@ api.JobEvent buildJobEvent() { void checkJobEvent(api.JobEvent o) { buildCounterJobEvent++; if (buildCounterJobEvent < 3) { - checkUnnamed7430(o.jobs!); + checkUnnamed7510(o.jobs!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1247,12 +1247,12 @@ void checkJobEvent(api.JobEvent o) { buildCounterJobEvent--; } -core.List buildUnnamed7431() => [ +core.List buildUnnamed7511() => [ 'foo', 'foo', ]; -void checkUnnamed7431(core.List o) { +void checkUnnamed7511(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1264,12 +1264,12 @@ void checkUnnamed7431(core.List o) { ); } -core.List buildUnnamed7432() => [ +core.List buildUnnamed7512() => [ 'foo', 'foo', ]; -void checkUnnamed7432(core.List o) { +void checkUnnamed7512(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1281,12 +1281,12 @@ void checkUnnamed7432(core.List o) { ); } -core.List buildUnnamed7433() => [ +core.List buildUnnamed7513() => [ 'foo', 'foo', ]; -void checkUnnamed7433(core.List o) { +void checkUnnamed7513(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1298,12 +1298,12 @@ void checkUnnamed7433(core.List o) { ); } -core.List buildUnnamed7434() => [ +core.List buildUnnamed7514() => [ 'foo', 'foo', ]; -void checkUnnamed7434(core.List o) { +void checkUnnamed7514(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1315,12 +1315,12 @@ void checkUnnamed7434(core.List o) { ); } -core.List buildUnnamed7435() => [ +core.List buildUnnamed7515() => [ 'foo', 'foo', ]; -void checkUnnamed7435(core.List o) { +void checkUnnamed7515(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1332,12 +1332,12 @@ void checkUnnamed7435(core.List o) { ); } -core.List buildUnnamed7436() => [ +core.List buildUnnamed7516() => [ 'foo', 'foo', ]; -void checkUnnamed7436(core.List o) { +void checkUnnamed7516(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1349,12 +1349,12 @@ void checkUnnamed7436(core.List o) { ); } -core.List buildUnnamed7437() => [ +core.List buildUnnamed7517() => [ buildLocationFilter(), buildLocationFilter(), ]; -void checkUnnamed7437(core.List o) { +void checkUnnamed7517(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocationFilter(o[0]); checkLocationFilter(o[1]); @@ -1366,16 +1366,16 @@ api.JobQuery buildJobQuery() { buildCounterJobQuery++; if (buildCounterJobQuery < 3) { o.commuteFilter = buildCommuteFilter(); - o.companies = buildUnnamed7431(); - o.companyDisplayNames = buildUnnamed7432(); + o.companies = buildUnnamed7511(); + o.companyDisplayNames = buildUnnamed7512(); o.compensationFilter = buildCompensationFilter(); o.customAttributeFilter = 'foo'; o.disableSpellCheck = true; - o.employmentTypes = buildUnnamed7433(); - o.excludedJobs = buildUnnamed7434(); - o.jobCategories = buildUnnamed7435(); - o.languageCodes = buildUnnamed7436(); - o.locationFilters = buildUnnamed7437(); + o.employmentTypes = buildUnnamed7513(); + o.excludedJobs = buildUnnamed7514(); + o.jobCategories = buildUnnamed7515(); + o.languageCodes = buildUnnamed7516(); + o.locationFilters = buildUnnamed7517(); o.publishTimeRange = buildTimestampRange(); o.query = 'foo'; o.queryLanguageCode = 'foo'; @@ -1388,19 +1388,19 @@ void checkJobQuery(api.JobQuery o) { buildCounterJobQuery++; if (buildCounterJobQuery < 3) { checkCommuteFilter(o.commuteFilter!); - checkUnnamed7431(o.companies!); - checkUnnamed7432(o.companyDisplayNames!); + checkUnnamed7511(o.companies!); + checkUnnamed7512(o.companyDisplayNames!); checkCompensationFilter(o.compensationFilter!); unittest.expect( o.customAttributeFilter!, unittest.equals('foo'), ); unittest.expect(o.disableSpellCheck!, unittest.isTrue); - checkUnnamed7433(o.employmentTypes!); - checkUnnamed7434(o.excludedJobs!); - checkUnnamed7435(o.jobCategories!); - checkUnnamed7436(o.languageCodes!); - checkUnnamed7437(o.locationFilters!); + checkUnnamed7513(o.employmentTypes!); + checkUnnamed7514(o.excludedJobs!); + checkUnnamed7515(o.jobCategories!); + checkUnnamed7516(o.languageCodes!); + checkUnnamed7517(o.locationFilters!); checkTimestampRange(o.publishTimeRange!); unittest.expect( o.query!, @@ -1462,12 +1462,12 @@ void checkLatLng(api.LatLng o) { buildCounterLatLng--; } -core.List buildUnnamed7438() => [ +core.List buildUnnamed7518() => [ buildCompany(), buildCompany(), ]; -void checkUnnamed7438(core.List o) { +void checkUnnamed7518(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCompany(o[0]); checkCompany(o[1]); @@ -1478,7 +1478,7 @@ api.ListCompaniesResponse buildListCompaniesResponse() { final o = api.ListCompaniesResponse(); buildCounterListCompaniesResponse++; if (buildCounterListCompaniesResponse < 3) { - o.companies = buildUnnamed7438(); + o.companies = buildUnnamed7518(); o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; } @@ -1489,7 +1489,7 @@ api.ListCompaniesResponse buildListCompaniesResponse() { void checkListCompaniesResponse(api.ListCompaniesResponse o) { buildCounterListCompaniesResponse++; if (buildCounterListCompaniesResponse < 3) { - checkUnnamed7438(o.companies!); + checkUnnamed7518(o.companies!); checkResponseMetadata(o.metadata!); unittest.expect( o.nextPageToken!, @@ -1499,12 +1499,12 @@ void checkListCompaniesResponse(api.ListCompaniesResponse o) { buildCounterListCompaniesResponse--; } -core.List buildUnnamed7439() => [ +core.List buildUnnamed7519() => [ buildJob(), buildJob(), ]; -void checkUnnamed7439(core.List o) { +void checkUnnamed7519(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -1515,7 +1515,7 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed7439(); + o.jobs = buildUnnamed7519(); o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; } @@ -1526,7 +1526,7 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed7439(o.jobs!); + checkUnnamed7519(o.jobs!); checkResponseMetadata(o.metadata!); unittest.expect( o.nextPageToken!, @@ -1536,12 +1536,12 @@ void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse--; } -core.List buildUnnamed7440() => [ +core.List buildUnnamed7520() => [ buildTenant(), buildTenant(), ]; -void checkUnnamed7440(core.List o) { +void checkUnnamed7520(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTenant(o[0]); checkTenant(o[1]); @@ -1554,7 +1554,7 @@ api.ListTenantsResponse buildListTenantsResponse() { if (buildCounterListTenantsResponse < 3) { o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; - o.tenants = buildUnnamed7440(); + o.tenants = buildUnnamed7520(); } buildCounterListTenantsResponse--; return o; @@ -1568,7 +1568,7 @@ void checkListTenantsResponse(api.ListTenantsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7440(o.tenants!); + checkUnnamed7520(o.tenants!); } buildCounterListTenantsResponse--; } @@ -1679,12 +1679,12 @@ void checkMatchingJob(api.MatchingJob o) { buildCounterMatchingJob--; } -core.Map buildUnnamed7441() => { +core.Map buildUnnamed7521() => { 'x': buildNamespacedDebugInput(), 'y': buildNamespacedDebugInput(), }; -void checkUnnamed7441(core.Map o) { +void checkUnnamed7521(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNamespacedDebugInput(o['x']!); checkNamespacedDebugInput(o['y']!); @@ -1695,7 +1695,7 @@ api.MendelDebugInput buildMendelDebugInput() { final o = api.MendelDebugInput(); buildCounterMendelDebugInput++; if (buildCounterMendelDebugInput < 3) { - o.namespacedDebugInput = buildUnnamed7441(); + o.namespacedDebugInput = buildUnnamed7521(); } buildCounterMendelDebugInput--; return o; @@ -1704,7 +1704,7 @@ api.MendelDebugInput buildMendelDebugInput() { void checkMendelDebugInput(api.MendelDebugInput o) { buildCounterMendelDebugInput++; if (buildCounterMendelDebugInput < 3) { - checkUnnamed7441(o.namespacedDebugInput!); + checkUnnamed7521(o.namespacedDebugInput!); } buildCounterMendelDebugInput--; } @@ -1741,12 +1741,12 @@ void checkMoney(api.Money o) { buildCounterMoney--; } -core.List buildUnnamed7442() => [ +core.List buildUnnamed7522() => [ 'foo', 'foo', ]; -void checkUnnamed7442(core.List o) { +void checkUnnamed7522(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1758,12 +1758,12 @@ void checkUnnamed7442(core.List o) { ); } -core.List buildUnnamed7443() => [ +core.List buildUnnamed7523() => [ 'foo', 'foo', ]; -void checkUnnamed7443(core.List o) { +void checkUnnamed7523(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1775,12 +1775,12 @@ void checkUnnamed7443(core.List o) { ); } -core.List buildUnnamed7444() => [ +core.List buildUnnamed7524() => [ 42, 42, ]; -void checkUnnamed7444(core.List o) { +void checkUnnamed7524(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1792,12 +1792,12 @@ void checkUnnamed7444(core.List o) { ); } -core.List buildUnnamed7445() => [ +core.List buildUnnamed7525() => [ 'foo', 'foo', ]; -void checkUnnamed7445(core.List o) { +void checkUnnamed7525(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1809,12 +1809,12 @@ void checkUnnamed7445(core.List o) { ); } -core.List buildUnnamed7446() => [ +core.List buildUnnamed7526() => [ 'foo', 'foo', ]; -void checkUnnamed7446(core.List o) { +void checkUnnamed7526(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1826,12 +1826,12 @@ void checkUnnamed7446(core.List o) { ); } -core.List buildUnnamed7447() => [ +core.List buildUnnamed7527() => [ 42, 42, ]; -void checkUnnamed7447(core.List o) { +void checkUnnamed7527(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1843,12 +1843,12 @@ void checkUnnamed7447(core.List o) { ); } -core.List buildUnnamed7448() => [ +core.List buildUnnamed7528() => [ 'foo', 'foo', ]; -void checkUnnamed7448(core.List o) { +void checkUnnamed7528(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1860,12 +1860,12 @@ void checkUnnamed7448(core.List o) { ); } -core.List buildUnnamed7449() => [ +core.List buildUnnamed7529() => [ 'foo', 'foo', ]; -void checkUnnamed7449(core.List o) { +void checkUnnamed7529(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1877,12 +1877,12 @@ void checkUnnamed7449(core.List o) { ); } -core.List buildUnnamed7450() => [ +core.List buildUnnamed7530() => [ 42, 42, ]; -void checkUnnamed7450(core.List o) { +void checkUnnamed7530(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1894,12 +1894,12 @@ void checkUnnamed7450(core.List o) { ); } -core.Map buildUnnamed7451() => { +core.Map buildUnnamed7531() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7451(core.Map o) { +void checkUnnamed7531(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1911,12 +1911,12 @@ void checkUnnamed7451(core.Map o) { ); } -core.Map buildUnnamed7452() => { +core.Map buildUnnamed7532() => { 'x': true, 'y': true, }; -void checkUnnamed7452(core.Map o) { +void checkUnnamed7532(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o['x']!, unittest.isTrue); unittest.expect(o['y']!, unittest.isTrue); @@ -1927,20 +1927,20 @@ api.NamespacedDebugInput buildNamespacedDebugInput() { final o = api.NamespacedDebugInput(); buildCounterNamespacedDebugInput++; if (buildCounterNamespacedDebugInput < 3) { - o.absolutelyForcedExpNames = buildUnnamed7442(); - o.absolutelyForcedExpTags = buildUnnamed7443(); - o.absolutelyForcedExps = buildUnnamed7444(); - o.conditionallyForcedExpNames = buildUnnamed7445(); - o.conditionallyForcedExpTags = buildUnnamed7446(); - o.conditionallyForcedExps = buildUnnamed7447(); + o.absolutelyForcedExpNames = buildUnnamed7522(); + o.absolutelyForcedExpTags = buildUnnamed7523(); + o.absolutelyForcedExps = buildUnnamed7524(); + o.conditionallyForcedExpNames = buildUnnamed7525(); + o.conditionallyForcedExpTags = buildUnnamed7526(); + o.conditionallyForcedExps = buildUnnamed7527(); o.disableAutomaticEnrollmentSelection = true; - o.disableExpNames = buildUnnamed7448(); - o.disableExpTags = buildUnnamed7449(); - o.disableExps = buildUnnamed7450(); + o.disableExpNames = buildUnnamed7528(); + o.disableExpTags = buildUnnamed7529(); + o.disableExps = buildUnnamed7530(); o.disableManualEnrollmentSelection = true; o.disableOrganicSelection = true; - o.forcedFlags = buildUnnamed7451(); - o.forcedRollouts = buildUnnamed7452(); + o.forcedFlags = buildUnnamed7531(); + o.forcedRollouts = buildUnnamed7532(); } buildCounterNamespacedDebugInput--; return o; @@ -1949,25 +1949,25 @@ api.NamespacedDebugInput buildNamespacedDebugInput() { void checkNamespacedDebugInput(api.NamespacedDebugInput o) { buildCounterNamespacedDebugInput++; if (buildCounterNamespacedDebugInput < 3) { - checkUnnamed7442(o.absolutelyForcedExpNames!); - checkUnnamed7443(o.absolutelyForcedExpTags!); - checkUnnamed7444(o.absolutelyForcedExps!); - checkUnnamed7445(o.conditionallyForcedExpNames!); - checkUnnamed7446(o.conditionallyForcedExpTags!); - checkUnnamed7447(o.conditionallyForcedExps!); + checkUnnamed7522(o.absolutelyForcedExpNames!); + checkUnnamed7523(o.absolutelyForcedExpTags!); + checkUnnamed7524(o.absolutelyForcedExps!); + checkUnnamed7525(o.conditionallyForcedExpNames!); + checkUnnamed7526(o.conditionallyForcedExpTags!); + checkUnnamed7527(o.conditionallyForcedExps!); unittest.expect(o.disableAutomaticEnrollmentSelection!, unittest.isTrue); - checkUnnamed7448(o.disableExpNames!); - checkUnnamed7449(o.disableExpTags!); - checkUnnamed7450(o.disableExps!); + checkUnnamed7528(o.disableExpNames!); + checkUnnamed7529(o.disableExpTags!); + checkUnnamed7530(o.disableExps!); unittest.expect(o.disableManualEnrollmentSelection!, unittest.isTrue); unittest.expect(o.disableOrganicSelection!, unittest.isTrue); - checkUnnamed7451(o.forcedFlags!); - checkUnnamed7452(o.forcedRollouts!); + checkUnnamed7531(o.forcedFlags!); + checkUnnamed7532(o.forcedRollouts!); } buildCounterNamespacedDebugInput--; } -core.Map buildUnnamed7453() => { +core.Map buildUnnamed7533() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1980,7 +1980,7 @@ core.Map buildUnnamed7453() => { }, }; -void checkUnnamed7453(core.Map o) { +void checkUnnamed7533(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2012,7 +2012,7 @@ void checkUnnamed7453(core.Map o) { ); } -core.Map buildUnnamed7454() => { +core.Map buildUnnamed7534() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2025,7 +2025,7 @@ core.Map buildUnnamed7454() => { }, }; -void checkUnnamed7454(core.Map o) { +void checkUnnamed7534(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2064,9 +2064,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7453(); + o.metadata = buildUnnamed7533(); o.name = 'foo'; - o.response = buildUnnamed7454(); + o.response = buildUnnamed7534(); } buildCounterOperation--; return o; @@ -2077,22 +2077,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7453(o.metadata!); + checkUnnamed7533(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7454(o.response!); + checkUnnamed7534(o.response!); } buildCounterOperation--; } -core.List buildUnnamed7455() => [ +core.List buildUnnamed7535() => [ 'foo', 'foo', ]; -void checkUnnamed7455(core.List o) { +void checkUnnamed7535(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2104,12 +2104,12 @@ void checkUnnamed7455(core.List o) { ); } -core.List buildUnnamed7456() => [ +core.List buildUnnamed7536() => [ 'foo', 'foo', ]; -void checkUnnamed7456(core.List o) { +void checkUnnamed7536(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2126,13 +2126,13 @@ api.PostalAddress buildPostalAddress() { final o = api.PostalAddress(); buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - o.addressLines = buildUnnamed7455(); + o.addressLines = buildUnnamed7535(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed7456(); + o.recipients = buildUnnamed7536(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -2145,7 +2145,7 @@ api.PostalAddress buildPostalAddress() { void checkPostalAddress(api.PostalAddress o) { buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - checkUnnamed7455(o.addressLines!); + checkUnnamed7535(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -2166,7 +2166,7 @@ void checkPostalAddress(api.PostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed7456(o.recipients!); + checkUnnamed7536(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -2269,12 +2269,12 @@ void checkResponseMetadata(api.ResponseMetadata o) { buildCounterResponseMetadata--; } -core.List buildUnnamed7457() => [ +core.List buildUnnamed7537() => [ buildHistogramQuery(), buildHistogramQuery(), ]; -void checkUnnamed7457(core.List o) { +void checkUnnamed7537(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistogramQuery(o[0]); checkHistogramQuery(o[1]); @@ -2289,9 +2289,10 @@ api.SearchJobsRequest buildSearchJobsRequest() { o.disableKeywordMatch = true; o.diversificationLevel = 'foo'; o.enableBroadening = true; - o.histogramQueries = buildUnnamed7457(); + o.histogramQueries = buildUnnamed7537(); o.jobQuery = buildJobQuery(); o.jobView = 'foo'; + o.keywordMatchMode = 'foo'; o.maxPageSize = 42; o.offset = 42; o.orderBy = 'foo'; @@ -2313,12 +2314,16 @@ void checkSearchJobsRequest(api.SearchJobsRequest o) { unittest.equals('foo'), ); unittest.expect(o.enableBroadening!, unittest.isTrue); - checkUnnamed7457(o.histogramQueries!); + checkUnnamed7537(o.histogramQueries!); checkJobQuery(o.jobQuery!); unittest.expect( o.jobView!, unittest.equals('foo'), ); + unittest.expect( + o.keywordMatchMode!, + unittest.equals('foo'), + ); unittest.expect( o.maxPageSize!, unittest.equals(42), @@ -2344,34 +2349,34 @@ void checkSearchJobsRequest(api.SearchJobsRequest o) { buildCounterSearchJobsRequest--; } -core.List buildUnnamed7458() => [ +core.List buildUnnamed7538() => [ buildHistogramQueryResult(), buildHistogramQueryResult(), ]; -void checkUnnamed7458(core.List o) { +void checkUnnamed7538(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistogramQueryResult(o[0]); checkHistogramQueryResult(o[1]); } -core.List buildUnnamed7459() => [ +core.List buildUnnamed7539() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed7459(core.List o) { +void checkUnnamed7539(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); } -core.List buildUnnamed7460() => [ +core.List buildUnnamed7540() => [ buildMatchingJob(), buildMatchingJob(), ]; -void checkUnnamed7460(core.List o) { +void checkUnnamed7540(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatchingJob(o[0]); checkMatchingJob(o[1]); @@ -2383,9 +2388,9 @@ api.SearchJobsResponse buildSearchJobsResponse() { buildCounterSearchJobsResponse++; if (buildCounterSearchJobsResponse < 3) { o.broadenedQueryJobsCount = 42; - o.histogramQueryResults = buildUnnamed7458(); - o.locationFilters = buildUnnamed7459(); - o.matchingJobs = buildUnnamed7460(); + o.histogramQueryResults = buildUnnamed7538(); + o.locationFilters = buildUnnamed7539(); + o.matchingJobs = buildUnnamed7540(); o.metadata = buildResponseMetadata(); o.nextPageToken = 'foo'; o.spellCorrection = buildSpellingCorrection(); @@ -2402,9 +2407,9 @@ void checkSearchJobsResponse(api.SearchJobsResponse o) { o.broadenedQueryJobsCount!, unittest.equals(42), ); - checkUnnamed7458(o.histogramQueryResults!); - checkUnnamed7459(o.locationFilters!); - checkUnnamed7460(o.matchingJobs!); + checkUnnamed7538(o.histogramQueryResults!); + checkUnnamed7539(o.locationFilters!); + checkUnnamed7540(o.matchingJobs!); checkResponseMetadata(o.metadata!); unittest.expect( o.nextPageToken!, @@ -2448,7 +2453,7 @@ void checkSpellingCorrection(api.SpellingCorrection o) { buildCounterSpellingCorrection--; } -core.Map buildUnnamed7461() => { +core.Map buildUnnamed7541() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2461,7 +2466,7 @@ core.Map buildUnnamed7461() => { }, }; -void checkUnnamed7461(core.Map o) { +void checkUnnamed7541(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2493,15 +2498,15 @@ void checkUnnamed7461(core.Map o) { ); } -core.List> buildUnnamed7462() => [ - buildUnnamed7461(), - buildUnnamed7461(), +core.List> buildUnnamed7542() => [ + buildUnnamed7541(), + buildUnnamed7541(), ]; -void checkUnnamed7462(core.List> o) { +void checkUnnamed7542(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7461(o[0]); - checkUnnamed7461(o[1]); + checkUnnamed7541(o[0]); + checkUnnamed7541(o[1]); } core.int buildCounterStatus = 0; @@ -2510,7 +2515,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7462(); + o.details = buildUnnamed7542(); o.message = 'foo'; } buildCounterStatus--; @@ -2524,7 +2529,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7462(o.details!); + checkUnnamed7542(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2624,12 +2629,12 @@ void checkTimestampRange(api.TimestampRange o) { buildCounterTimestampRange--; } -core.List buildUnnamed7463() => [ +core.List buildUnnamed7543() => [ 'foo', 'foo', ]; -void checkUnnamed7463(core.List o) { +void checkUnnamed7543(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3221,7 +3226,7 @@ void main() { final res = api.CloudTalentSolutionApi(mock).projects.tenants; final arg_tenant = 'foo'; final arg_company = 'foo'; - final arg_languageCodes = buildUnnamed7463(); + final arg_languageCodes = buildUnnamed7543(); final arg_pageSize = 42; final arg_query = 'foo'; final arg_scope = 'foo'; diff --git a/generated/googleapis/test/keep/v1_test.dart b/generated/googleapis/test/keep/v1_test.dart index 428fd09f1..919740f59 100644 --- a/generated/googleapis/test/keep/v1_test.dart +++ b/generated/googleapis/test/keep/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2419() => [ +core.List buildUnnamed2406() => [ 'foo', 'foo', ]; -void checkUnnamed2419(core.List o) { +void checkUnnamed2406(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.Attachment buildAttachment() { final o = api.Attachment(); buildCounterAttachment++; if (buildCounterAttachment < 3) { - o.mimeType = buildUnnamed2419(); + o.mimeType = buildUnnamed2406(); o.name = 'foo'; } buildCounterAttachment--; @@ -58,7 +58,7 @@ api.Attachment buildAttachment() { void checkAttachment(api.Attachment o) { buildCounterAttachment++; if (buildCounterAttachment < 3) { - checkUnnamed2419(o.mimeType!); + checkUnnamed2406(o.mimeType!); unittest.expect( o.name!, unittest.equals('foo'), @@ -67,12 +67,12 @@ void checkAttachment(api.Attachment o) { buildCounterAttachment--; } -core.List buildUnnamed2420() => [ +core.List buildUnnamed2407() => [ buildCreatePermissionRequest(), buildCreatePermissionRequest(), ]; -void checkUnnamed2420(core.List o) { +void checkUnnamed2407(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreatePermissionRequest(o[0]); checkCreatePermissionRequest(o[1]); @@ -83,7 +83,7 @@ api.BatchCreatePermissionsRequest buildBatchCreatePermissionsRequest() { final o = api.BatchCreatePermissionsRequest(); buildCounterBatchCreatePermissionsRequest++; if (buildCounterBatchCreatePermissionsRequest < 3) { - o.requests = buildUnnamed2420(); + o.requests = buildUnnamed2407(); } buildCounterBatchCreatePermissionsRequest--; return o; @@ -92,17 +92,17 @@ api.BatchCreatePermissionsRequest buildBatchCreatePermissionsRequest() { void checkBatchCreatePermissionsRequest(api.BatchCreatePermissionsRequest o) { buildCounterBatchCreatePermissionsRequest++; if (buildCounterBatchCreatePermissionsRequest < 3) { - checkUnnamed2420(o.requests!); + checkUnnamed2407(o.requests!); } buildCounterBatchCreatePermissionsRequest--; } -core.List buildUnnamed2421() => [ +core.List buildUnnamed2408() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed2421(core.List o) { +void checkUnnamed2408(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -113,7 +113,7 @@ api.BatchCreatePermissionsResponse buildBatchCreatePermissionsResponse() { final o = api.BatchCreatePermissionsResponse(); buildCounterBatchCreatePermissionsResponse++; if (buildCounterBatchCreatePermissionsResponse < 3) { - o.permissions = buildUnnamed2421(); + o.permissions = buildUnnamed2408(); } buildCounterBatchCreatePermissionsResponse--; return o; @@ -122,17 +122,17 @@ api.BatchCreatePermissionsResponse buildBatchCreatePermissionsResponse() { void checkBatchCreatePermissionsResponse(api.BatchCreatePermissionsResponse o) { buildCounterBatchCreatePermissionsResponse++; if (buildCounterBatchCreatePermissionsResponse < 3) { - checkUnnamed2421(o.permissions!); + checkUnnamed2408(o.permissions!); } buildCounterBatchCreatePermissionsResponse--; } -core.List buildUnnamed2422() => [ +core.List buildUnnamed2409() => [ 'foo', 'foo', ]; -void checkUnnamed2422(core.List o) { +void checkUnnamed2409(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -149,7 +149,7 @@ api.BatchDeletePermissionsRequest buildBatchDeletePermissionsRequest() { final o = api.BatchDeletePermissionsRequest(); buildCounterBatchDeletePermissionsRequest++; if (buildCounterBatchDeletePermissionsRequest < 3) { - o.names = buildUnnamed2422(); + o.names = buildUnnamed2409(); } buildCounterBatchDeletePermissionsRequest--; return o; @@ -158,7 +158,7 @@ api.BatchDeletePermissionsRequest buildBatchDeletePermissionsRequest() { void checkBatchDeletePermissionsRequest(api.BatchDeletePermissionsRequest o) { buildCounterBatchDeletePermissionsRequest++; if (buildCounterBatchDeletePermissionsRequest < 3) { - checkUnnamed2422(o.names!); + checkUnnamed2409(o.names!); } buildCounterBatchDeletePermissionsRequest--; } @@ -239,12 +239,12 @@ void checkGroup(api.Group o) { buildCounterGroup--; } -core.List buildUnnamed2423() => [ +core.List buildUnnamed2410() => [ buildListItem(), buildListItem(), ]; -void checkUnnamed2423(core.List o) { +void checkUnnamed2410(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListItem(o[0]); checkListItem(o[1]); @@ -255,7 +255,7 @@ api.ListContent buildListContent() { final o = api.ListContent(); buildCounterListContent++; if (buildCounterListContent < 3) { - o.listItems = buildUnnamed2423(); + o.listItems = buildUnnamed2410(); } buildCounterListContent--; return o; @@ -264,17 +264,17 @@ api.ListContent buildListContent() { void checkListContent(api.ListContent o) { buildCounterListContent++; if (buildCounterListContent < 3) { - checkUnnamed2423(o.listItems!); + checkUnnamed2410(o.listItems!); } buildCounterListContent--; } -core.List buildUnnamed2424() => [ +core.List buildUnnamed2411() => [ buildListItem(), buildListItem(), ]; -void checkUnnamed2424(core.List o) { +void checkUnnamed2411(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListItem(o[0]); checkListItem(o[1]); @@ -286,7 +286,7 @@ api.ListItem buildListItem() { buildCounterListItem++; if (buildCounterListItem < 3) { o.checked = true; - o.childListItems = buildUnnamed2424(); + o.childListItems = buildUnnamed2411(); o.text = buildTextContent(); } buildCounterListItem--; @@ -297,18 +297,18 @@ void checkListItem(api.ListItem o) { buildCounterListItem++; if (buildCounterListItem < 3) { unittest.expect(o.checked!, unittest.isTrue); - checkUnnamed2424(o.childListItems!); + checkUnnamed2411(o.childListItems!); checkTextContent(o.text!); } buildCounterListItem--; } -core.List buildUnnamed2425() => [ +core.List buildUnnamed2412() => [ buildNote(), buildNote(), ]; -void checkUnnamed2425(core.List o) { +void checkUnnamed2412(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNote(o[0]); checkNote(o[1]); @@ -320,7 +320,7 @@ api.ListNotesResponse buildListNotesResponse() { buildCounterListNotesResponse++; if (buildCounterListNotesResponse < 3) { o.nextPageToken = 'foo'; - o.notes = buildUnnamed2425(); + o.notes = buildUnnamed2412(); } buildCounterListNotesResponse--; return o; @@ -333,28 +333,28 @@ void checkListNotesResponse(api.ListNotesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2425(o.notes!); + checkUnnamed2412(o.notes!); } buildCounterListNotesResponse--; } -core.List buildUnnamed2426() => [ +core.List buildUnnamed2413() => [ buildAttachment(), buildAttachment(), ]; -void checkUnnamed2426(core.List o) { +void checkUnnamed2413(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttachment(o[0]); checkAttachment(o[1]); } -core.List buildUnnamed2427() => [ +core.List buildUnnamed2414() => [ buildPermission(), buildPermission(), ]; -void checkUnnamed2427(core.List o) { +void checkUnnamed2414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPermission(o[0]); checkPermission(o[1]); @@ -365,11 +365,11 @@ api.Note buildNote() { final o = api.Note(); buildCounterNote++; if (buildCounterNote < 3) { - o.attachments = buildUnnamed2426(); + o.attachments = buildUnnamed2413(); o.body = buildSection(); o.createTime = 'foo'; o.name = 'foo'; - o.permissions = buildUnnamed2427(); + o.permissions = buildUnnamed2414(); o.title = 'foo'; o.trashTime = 'foo'; o.trashed = true; @@ -382,7 +382,7 @@ api.Note buildNote() { void checkNote(api.Note o) { buildCounterNote++; if (buildCounterNote < 3) { - checkUnnamed2426(o.attachments!); + checkUnnamed2413(o.attachments!); checkSection(o.body!); unittest.expect( o.createTime!, @@ -392,7 +392,7 @@ void checkNote(api.Note o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2427(o.permissions!); + checkUnnamed2414(o.permissions!); unittest.expect( o.title!, unittest.equals('foo'), diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart index ae3d6fcc4..96219fc89 100644 --- a/generated/googleapis/test/kgsearch/v1_test.dart +++ b/generated/googleapis/test/kgsearch/v1_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed79() => [ +core.List buildUnnamed81() => [ { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.List buildUnnamed79() => [ }, ]; -void checkUnnamed79(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -86,7 +86,7 @@ api.SearchResponse buildSearchResponse() { 'bool': true, 'string': 'foo' }; - o.itemListElement = buildUnnamed79(); + o.itemListElement = buildUnnamed81(); } buildCounterSearchResponse--; return o; @@ -123,17 +123,17 @@ void checkSearchResponse(api.SearchResponse o) { casted4['string'], unittest.equals('foo'), ); - checkUnnamed79(o.itemListElement!); + checkUnnamed81(o.itemListElement!); } buildCounterSearchResponse--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed82() => [ 'foo', 'foo', ]; -void checkUnnamed80(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -145,12 +145,12 @@ void checkUnnamed80(core.List o) { ); } -core.List buildUnnamed81() => [ +core.List buildUnnamed83() => [ 'foo', 'foo', ]; -void checkUnnamed81(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -162,12 +162,12 @@ void checkUnnamed81(core.List o) { ); } -core.List buildUnnamed82() => [ +core.List buildUnnamed84() => [ 'foo', 'foo', ]; -void checkUnnamed82(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -194,13 +194,13 @@ void main() { unittest.test('method--search', () async { final mock = HttpServerMock(); final res = api.KgsearchApi(mock).entities; - final arg_ids = buildUnnamed80(); + final arg_ids = buildUnnamed82(); final arg_indent = true; - final arg_languages = buildUnnamed81(); + final arg_languages = buildUnnamed83(); final arg_limit = 42; final arg_prefix = true; final arg_query = 'foo'; - final arg_types = buildUnnamed82(); + final arg_types = buildUnnamed84(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart index e3340940e..f5f5349e3 100644 --- a/generated/googleapis/test/language/v1_test.dart +++ b/generated/googleapis/test/language/v1_test.dart @@ -50,12 +50,12 @@ void checkAnalyzeEntitiesRequest(api.AnalyzeEntitiesRequest o) { buildCounterAnalyzeEntitiesRequest--; } -core.List buildUnnamed3028() => [ +core.List buildUnnamed2917() => [ buildEntity(), buildEntity(), ]; -void checkUnnamed3028(core.List o) { +void checkUnnamed2917(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); @@ -66,7 +66,7 @@ api.AnalyzeEntitiesResponse buildAnalyzeEntitiesResponse() { final o = api.AnalyzeEntitiesResponse(); buildCounterAnalyzeEntitiesResponse++; if (buildCounterAnalyzeEntitiesResponse < 3) { - o.entities = buildUnnamed3028(); + o.entities = buildUnnamed2917(); o.language = 'foo'; } buildCounterAnalyzeEntitiesResponse--; @@ -76,7 +76,7 @@ api.AnalyzeEntitiesResponse buildAnalyzeEntitiesResponse() { void checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) { buildCounterAnalyzeEntitiesResponse++; if (buildCounterAnalyzeEntitiesResponse < 3) { - checkUnnamed3028(o.entities!); + checkUnnamed2917(o.entities!); unittest.expect( o.language!, unittest.equals('foo'), @@ -109,12 +109,12 @@ void checkAnalyzeEntitySentimentRequest(api.AnalyzeEntitySentimentRequest o) { buildCounterAnalyzeEntitySentimentRequest--; } -core.List buildUnnamed3029() => [ +core.List buildUnnamed2918() => [ buildEntity(), buildEntity(), ]; -void checkUnnamed3029(core.List o) { +void checkUnnamed2918(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); @@ -125,7 +125,7 @@ api.AnalyzeEntitySentimentResponse buildAnalyzeEntitySentimentResponse() { final o = api.AnalyzeEntitySentimentResponse(); buildCounterAnalyzeEntitySentimentResponse++; if (buildCounterAnalyzeEntitySentimentResponse < 3) { - o.entities = buildUnnamed3029(); + o.entities = buildUnnamed2918(); o.language = 'foo'; } buildCounterAnalyzeEntitySentimentResponse--; @@ -135,7 +135,7 @@ api.AnalyzeEntitySentimentResponse buildAnalyzeEntitySentimentResponse() { void checkAnalyzeEntitySentimentResponse(api.AnalyzeEntitySentimentResponse o) { buildCounterAnalyzeEntitySentimentResponse++; if (buildCounterAnalyzeEntitySentimentResponse < 3) { - checkUnnamed3029(o.entities!); + checkUnnamed2918(o.entities!); unittest.expect( o.language!, unittest.equals('foo'), @@ -168,12 +168,12 @@ void checkAnalyzeSentimentRequest(api.AnalyzeSentimentRequest o) { buildCounterAnalyzeSentimentRequest--; } -core.List buildUnnamed3030() => [ +core.List buildUnnamed2919() => [ buildSentence(), buildSentence(), ]; -void checkUnnamed3030(core.List o) { +void checkUnnamed2919(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSentence(o[0]); checkSentence(o[1]); @@ -186,7 +186,7 @@ api.AnalyzeSentimentResponse buildAnalyzeSentimentResponse() { if (buildCounterAnalyzeSentimentResponse < 3) { o.documentSentiment = buildSentiment(); o.language = 'foo'; - o.sentences = buildUnnamed3030(); + o.sentences = buildUnnamed2919(); } buildCounterAnalyzeSentimentResponse--; return o; @@ -200,7 +200,7 @@ void checkAnalyzeSentimentResponse(api.AnalyzeSentimentResponse o) { o.language!, unittest.equals('foo'), ); - checkUnnamed3030(o.sentences!); + checkUnnamed2919(o.sentences!); } buildCounterAnalyzeSentimentResponse--; } @@ -229,23 +229,23 @@ void checkAnalyzeSyntaxRequest(api.AnalyzeSyntaxRequest o) { buildCounterAnalyzeSyntaxRequest--; } -core.List buildUnnamed3031() => [ +core.List buildUnnamed2920() => [ buildSentence(), buildSentence(), ]; -void checkUnnamed3031(core.List o) { +void checkUnnamed2920(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSentence(o[0]); checkSentence(o[1]); } -core.List buildUnnamed3032() => [ +core.List buildUnnamed2921() => [ buildToken(), buildToken(), ]; -void checkUnnamed3032(core.List o) { +void checkUnnamed2921(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkToken(o[0]); checkToken(o[1]); @@ -257,8 +257,8 @@ api.AnalyzeSyntaxResponse buildAnalyzeSyntaxResponse() { buildCounterAnalyzeSyntaxResponse++; if (buildCounterAnalyzeSyntaxResponse < 3) { o.language = 'foo'; - o.sentences = buildUnnamed3031(); - o.tokens = buildUnnamed3032(); + o.sentences = buildUnnamed2920(); + o.tokens = buildUnnamed2921(); } buildCounterAnalyzeSyntaxResponse--; return o; @@ -271,8 +271,8 @@ void checkAnalyzeSyntaxResponse(api.AnalyzeSyntaxResponse o) { o.language!, unittest.equals('foo'), ); - checkUnnamed3031(o.sentences!); - checkUnnamed3032(o.tokens!); + checkUnnamed2920(o.sentences!); + checkUnnamed2921(o.tokens!); } buildCounterAnalyzeSyntaxResponse--; } @@ -303,45 +303,45 @@ void checkAnnotateTextRequest(api.AnnotateTextRequest o) { buildCounterAnnotateTextRequest--; } -core.List buildUnnamed3033() => [ +core.List buildUnnamed2922() => [ buildClassificationCategory(), buildClassificationCategory(), ]; -void checkUnnamed3033(core.List o) { +void checkUnnamed2922(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClassificationCategory(o[0]); checkClassificationCategory(o[1]); } -core.List buildUnnamed3034() => [ +core.List buildUnnamed2923() => [ buildEntity(), buildEntity(), ]; -void checkUnnamed3034(core.List o) { +void checkUnnamed2923(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); } -core.List buildUnnamed3035() => [ +core.List buildUnnamed2924() => [ buildSentence(), buildSentence(), ]; -void checkUnnamed3035(core.List o) { +void checkUnnamed2924(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSentence(o[0]); checkSentence(o[1]); } -core.List buildUnnamed3036() => [ +core.List buildUnnamed2925() => [ buildToken(), buildToken(), ]; -void checkUnnamed3036(core.List o) { +void checkUnnamed2925(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkToken(o[0]); checkToken(o[1]); @@ -352,12 +352,12 @@ api.AnnotateTextResponse buildAnnotateTextResponse() { final o = api.AnnotateTextResponse(); buildCounterAnnotateTextResponse++; if (buildCounterAnnotateTextResponse < 3) { - o.categories = buildUnnamed3033(); + o.categories = buildUnnamed2922(); o.documentSentiment = buildSentiment(); - o.entities = buildUnnamed3034(); + o.entities = buildUnnamed2923(); o.language = 'foo'; - o.sentences = buildUnnamed3035(); - o.tokens = buildUnnamed3036(); + o.sentences = buildUnnamed2924(); + o.tokens = buildUnnamed2925(); } buildCounterAnnotateTextResponse--; return o; @@ -366,15 +366,15 @@ api.AnnotateTextResponse buildAnnotateTextResponse() { void checkAnnotateTextResponse(api.AnnotateTextResponse o) { buildCounterAnnotateTextResponse++; if (buildCounterAnnotateTextResponse < 3) { - checkUnnamed3033(o.categories!); + checkUnnamed2922(o.categories!); checkSentiment(o.documentSentiment!); - checkUnnamed3034(o.entities!); + checkUnnamed2923(o.entities!); unittest.expect( o.language!, unittest.equals('foo'), ); - checkUnnamed3035(o.sentences!); - checkUnnamed3036(o.tokens!); + checkUnnamed2924(o.sentences!); + checkUnnamed2925(o.tokens!); } buildCounterAnnotateTextResponse--; } @@ -425,12 +425,12 @@ void checkClassifyTextRequest(api.ClassifyTextRequest o) { buildCounterClassifyTextRequest--; } -core.List buildUnnamed3037() => [ +core.List buildUnnamed2926() => [ buildClassificationCategory(), buildClassificationCategory(), ]; -void checkUnnamed3037(core.List o) { +void checkUnnamed2926(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClassificationCategory(o[0]); checkClassificationCategory(o[1]); @@ -441,7 +441,7 @@ api.ClassifyTextResponse buildClassifyTextResponse() { final o = api.ClassifyTextResponse(); buildCounterClassifyTextResponse++; if (buildCounterClassifyTextResponse < 3) { - o.categories = buildUnnamed3037(); + o.categories = buildUnnamed2926(); } buildCounterClassifyTextResponse--; return o; @@ -450,7 +450,7 @@ api.ClassifyTextResponse buildClassifyTextResponse() { void checkClassifyTextResponse(api.ClassifyTextResponse o) { buildCounterClassifyTextResponse++; if (buildCounterClassifyTextResponse < 3) { - checkUnnamed3037(o.categories!); + checkUnnamed2926(o.categories!); } buildCounterClassifyTextResponse--; } @@ -519,23 +519,23 @@ void checkDocument(api.Document o) { buildCounterDocument--; } -core.List buildUnnamed3038() => [ +core.List buildUnnamed2927() => [ buildEntityMention(), buildEntityMention(), ]; -void checkUnnamed3038(core.List o) { +void checkUnnamed2927(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityMention(o[0]); checkEntityMention(o[1]); } -core.Map buildUnnamed3039() => { +core.Map buildUnnamed2928() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3039(core.Map o) { +void checkUnnamed2928(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -552,8 +552,8 @@ api.Entity buildEntity() { final o = api.Entity(); buildCounterEntity++; if (buildCounterEntity < 3) { - o.mentions = buildUnnamed3038(); - o.metadata = buildUnnamed3039(); + o.mentions = buildUnnamed2927(); + o.metadata = buildUnnamed2928(); o.name = 'foo'; o.salience = 42.0; o.sentiment = buildSentiment(); @@ -566,8 +566,8 @@ api.Entity buildEntity() { void checkEntity(api.Entity o) { buildCounterEntity++; if (buildCounterEntity < 3) { - checkUnnamed3038(o.mentions!); - checkUnnamed3039(o.metadata!); + checkUnnamed2927(o.mentions!); + checkUnnamed2928(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -763,7 +763,7 @@ void checkSentiment(api.Sentiment o) { buildCounterSentiment--; } -core.Map buildUnnamed3040() => { +core.Map buildUnnamed2929() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -776,7 +776,7 @@ core.Map buildUnnamed3040() => { }, }; -void checkUnnamed3040(core.Map o) { +void checkUnnamed2929(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -808,15 +808,15 @@ void checkUnnamed3040(core.Map o) { ); } -core.List> buildUnnamed3041() => [ - buildUnnamed3040(), - buildUnnamed3040(), +core.List> buildUnnamed2930() => [ + buildUnnamed2929(), + buildUnnamed2929(), ]; -void checkUnnamed3041(core.List> o) { +void checkUnnamed2930(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3040(o[0]); - checkUnnamed3040(o[1]); + checkUnnamed2929(o[0]); + checkUnnamed2929(o[1]); } core.int buildCounterStatus = 0; @@ -825,7 +825,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3041(); + o.details = buildUnnamed2930(); o.message = 'foo'; } buildCounterStatus--; @@ -839,7 +839,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3041(o.details!); + checkUnnamed2930(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/libraryagent/v1_test.dart b/generated/googleapis/test/libraryagent/v1_test.dart index 104b1fa06..5b3893b1f 100644 --- a/generated/googleapis/test/libraryagent/v1_test.dart +++ b/generated/googleapis/test/libraryagent/v1_test.dart @@ -61,12 +61,12 @@ void checkGoogleExampleLibraryagentV1Book( buildCounterGoogleExampleLibraryagentV1Book--; } -core.List buildUnnamed4970() => [ +core.List buildUnnamed5014() => [ buildGoogleExampleLibraryagentV1Book(), buildGoogleExampleLibraryagentV1Book(), ]; -void checkUnnamed4970(core.List o) { +void checkUnnamed5014(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleExampleLibraryagentV1Book(o[0]); checkGoogleExampleLibraryagentV1Book(o[1]); @@ -78,7 +78,7 @@ api.GoogleExampleLibraryagentV1ListBooksResponse final o = api.GoogleExampleLibraryagentV1ListBooksResponse(); buildCounterGoogleExampleLibraryagentV1ListBooksResponse++; if (buildCounterGoogleExampleLibraryagentV1ListBooksResponse < 3) { - o.books = buildUnnamed4970(); + o.books = buildUnnamed5014(); o.nextPageToken = 'foo'; } buildCounterGoogleExampleLibraryagentV1ListBooksResponse--; @@ -89,7 +89,7 @@ void checkGoogleExampleLibraryagentV1ListBooksResponse( api.GoogleExampleLibraryagentV1ListBooksResponse o) { buildCounterGoogleExampleLibraryagentV1ListBooksResponse++; if (buildCounterGoogleExampleLibraryagentV1ListBooksResponse < 3) { - checkUnnamed4970(o.books!); + checkUnnamed5014(o.books!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -98,12 +98,12 @@ void checkGoogleExampleLibraryagentV1ListBooksResponse( buildCounterGoogleExampleLibraryagentV1ListBooksResponse--; } -core.List buildUnnamed4971() => [ +core.List buildUnnamed5015() => [ buildGoogleExampleLibraryagentV1Shelf(), buildGoogleExampleLibraryagentV1Shelf(), ]; -void checkUnnamed4971(core.List o) { +void checkUnnamed5015(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleExampleLibraryagentV1Shelf(o[0]); checkGoogleExampleLibraryagentV1Shelf(o[1]); @@ -116,7 +116,7 @@ api.GoogleExampleLibraryagentV1ListShelvesResponse buildCounterGoogleExampleLibraryagentV1ListShelvesResponse++; if (buildCounterGoogleExampleLibraryagentV1ListShelvesResponse < 3) { o.nextPageToken = 'foo'; - o.shelves = buildUnnamed4971(); + o.shelves = buildUnnamed5015(); } buildCounterGoogleExampleLibraryagentV1ListShelvesResponse--; return o; @@ -130,7 +130,7 @@ void checkGoogleExampleLibraryagentV1ListShelvesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4971(o.shelves!); + checkUnnamed5015(o.shelves!); } buildCounterGoogleExampleLibraryagentV1ListShelvesResponse--; } diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart index cc2505dea..c7332438b 100644 --- a/generated/googleapis/test/licensing/v1_test.dart +++ b/generated/googleapis/test/licensing/v1_test.dart @@ -120,12 +120,12 @@ void checkLicenseAssignmentInsert(api.LicenseAssignmentInsert o) { buildCounterLicenseAssignmentInsert--; } -core.List buildUnnamed4074() => [ +core.List buildUnnamed4055() => [ buildLicenseAssignment(), buildLicenseAssignment(), ]; -void checkUnnamed4074(core.List o) { +void checkUnnamed4055(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLicenseAssignment(o[0]); checkLicenseAssignment(o[1]); @@ -137,7 +137,7 @@ api.LicenseAssignmentList buildLicenseAssignmentList() { buildCounterLicenseAssignmentList++; if (buildCounterLicenseAssignmentList < 3) { o.etag = 'foo'; - o.items = buildUnnamed4074(); + o.items = buildUnnamed4055(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -152,7 +152,7 @@ void checkLicenseAssignmentList(api.LicenseAssignmentList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed4074(o.items!); + checkUnnamed4055(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), diff --git a/generated/googleapis/test/localservices/v1_test.dart b/generated/googleapis/test/localservices/v1_test.dart index 523b32c3a..5f1de6258 100644 --- a/generated/googleapis/test/localservices/v1_test.dart +++ b/generated/googleapis/test/localservices/v1_test.dart @@ -309,12 +309,12 @@ void checkGoogleAdsHomeservicesLocalservicesV1PhoneLead( } core.List - buildUnnamed3271() => [ + buildUnnamed3168() => [ buildGoogleAdsHomeservicesLocalservicesV1AccountReport(), buildGoogleAdsHomeservicesLocalservicesV1AccountReport(), ]; -void checkUnnamed3271( +void checkUnnamed3168( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAdsHomeservicesLocalservicesV1AccountReport(o[0]); @@ -331,7 +331,7 @@ api.GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse buildCounterGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse++; if (buildCounterGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse < 3) { - o.accountReports = buildUnnamed3271(); + o.accountReports = buildUnnamed3168(); o.nextPageToken = 'foo'; } buildCounterGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse--; @@ -343,7 +343,7 @@ void checkGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse( buildCounterGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse++; if (buildCounterGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse < 3) { - checkUnnamed3271(o.accountReports!); + checkUnnamed3168(o.accountReports!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -353,12 +353,12 @@ void checkGoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse( } core.List - buildUnnamed3272() => [ + buildUnnamed3169() => [ buildGoogleAdsHomeservicesLocalservicesV1DetailedLeadReport(), buildGoogleAdsHomeservicesLocalservicesV1DetailedLeadReport(), ]; -void checkUnnamed3272( +void checkUnnamed3169( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAdsHomeservicesLocalservicesV1DetailedLeadReport(o[0]); @@ -375,7 +375,7 @@ api.GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse buildCounterGoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse++; if (buildCounterGoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse < 3) { - o.detailedLeadReports = buildUnnamed3272(); + o.detailedLeadReports = buildUnnamed3169(); o.nextPageToken = 'foo'; } buildCounterGoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse--; @@ -388,7 +388,7 @@ void checkGoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse( buildCounterGoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse++; if (buildCounterGoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse < 3) { - checkUnnamed3272(o.detailedLeadReports!); + checkUnnamed3169(o.detailedLeadReports!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart index c6b1f016f..53829d86a 100644 --- a/generated/googleapis/test/logging/v2_test.dart +++ b/generated/googleapis/test/logging/v2_test.dart @@ -232,12 +232,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed2435() => [ +core.List buildUnnamed2423() => [ 42.0, 42.0, ]; -void checkUnnamed2435(core.List o) { +void checkUnnamed2423(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -254,7 +254,7 @@ api.Explicit buildExplicit() { final o = api.Explicit(); buildCounterExplicit++; if (buildCounterExplicit < 3) { - o.bounds = buildUnnamed2435(); + o.bounds = buildUnnamed2423(); } buildCounterExplicit--; return o; @@ -263,7 +263,7 @@ api.Explicit buildExplicit() { void checkExplicit(api.Explicit o) { buildCounterExplicit++; if (buildCounterExplicit < 3) { - checkUnnamed2435(o.bounds!); + checkUnnamed2423(o.bounds!); } buildCounterExplicit--; } @@ -447,12 +447,12 @@ void checkLinear(api.Linear o) { buildCounterLinear--; } -core.List buildUnnamed2436() => [ +core.List buildUnnamed2424() => [ buildLogBucket(), buildLogBucket(), ]; -void checkUnnamed2436(core.List o) { +void checkUnnamed2424(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogBucket(o[0]); checkLogBucket(o[1]); @@ -463,7 +463,7 @@ api.ListBucketsResponse buildListBucketsResponse() { final o = api.ListBucketsResponse(); buildCounterListBucketsResponse++; if (buildCounterListBucketsResponse < 3) { - o.buckets = buildUnnamed2436(); + o.buckets = buildUnnamed2424(); o.nextPageToken = 'foo'; } buildCounterListBucketsResponse--; @@ -473,7 +473,7 @@ api.ListBucketsResponse buildListBucketsResponse() { void checkListBucketsResponse(api.ListBucketsResponse o) { buildCounterListBucketsResponse++; if (buildCounterListBucketsResponse < 3) { - checkUnnamed2436(o.buckets!); + checkUnnamed2424(o.buckets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -482,12 +482,12 @@ void checkListBucketsResponse(api.ListBucketsResponse o) { buildCounterListBucketsResponse--; } -core.List buildUnnamed2437() => [ +core.List buildUnnamed2425() => [ buildLogExclusion(), buildLogExclusion(), ]; -void checkUnnamed2437(core.List o) { +void checkUnnamed2425(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogExclusion(o[0]); checkLogExclusion(o[1]); @@ -498,7 +498,7 @@ api.ListExclusionsResponse buildListExclusionsResponse() { final o = api.ListExclusionsResponse(); buildCounterListExclusionsResponse++; if (buildCounterListExclusionsResponse < 3) { - o.exclusions = buildUnnamed2437(); + o.exclusions = buildUnnamed2425(); o.nextPageToken = 'foo'; } buildCounterListExclusionsResponse--; @@ -508,7 +508,7 @@ api.ListExclusionsResponse buildListExclusionsResponse() { void checkListExclusionsResponse(api.ListExclusionsResponse o) { buildCounterListExclusionsResponse++; if (buildCounterListExclusionsResponse < 3) { - checkUnnamed2437(o.exclusions!); + checkUnnamed2425(o.exclusions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -517,12 +517,12 @@ void checkListExclusionsResponse(api.ListExclusionsResponse o) { buildCounterListExclusionsResponse--; } -core.List buildUnnamed2438() => [ +core.List buildUnnamed2426() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed2438(core.List o) { +void checkUnnamed2426(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -533,7 +533,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed2438(); + o.locations = buildUnnamed2426(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -543,7 +543,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed2438(o.locations!); + checkUnnamed2426(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -552,12 +552,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed2439() => [ +core.List buildUnnamed2427() => [ 'foo', 'foo', ]; -void checkUnnamed2439(core.List o) { +void checkUnnamed2427(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -569,12 +569,12 @@ void checkUnnamed2439(core.List o) { ); } -core.List buildUnnamed2440() => [ +core.List buildUnnamed2428() => [ 'foo', 'foo', ]; -void checkUnnamed2440(core.List o) { +void checkUnnamed2428(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -595,8 +595,8 @@ api.ListLogEntriesRequest buildListLogEntriesRequest() { o.orderBy = 'foo'; o.pageSize = 42; o.pageToken = 'foo'; - o.projectIds = buildUnnamed2439(); - o.resourceNames = buildUnnamed2440(); + o.projectIds = buildUnnamed2427(); + o.resourceNames = buildUnnamed2428(); } buildCounterListLogEntriesRequest--; return o; @@ -621,18 +621,18 @@ void checkListLogEntriesRequest(api.ListLogEntriesRequest o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed2439(o.projectIds!); - checkUnnamed2440(o.resourceNames!); + checkUnnamed2427(o.projectIds!); + checkUnnamed2428(o.resourceNames!); } buildCounterListLogEntriesRequest--; } -core.List buildUnnamed2441() => [ +core.List buildUnnamed2429() => [ buildLogEntry(), buildLogEntry(), ]; -void checkUnnamed2441(core.List o) { +void checkUnnamed2429(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogEntry(o[0]); checkLogEntry(o[1]); @@ -643,7 +643,7 @@ api.ListLogEntriesResponse buildListLogEntriesResponse() { final o = api.ListLogEntriesResponse(); buildCounterListLogEntriesResponse++; if (buildCounterListLogEntriesResponse < 3) { - o.entries = buildUnnamed2441(); + o.entries = buildUnnamed2429(); o.nextPageToken = 'foo'; } buildCounterListLogEntriesResponse--; @@ -653,7 +653,7 @@ api.ListLogEntriesResponse buildListLogEntriesResponse() { void checkListLogEntriesResponse(api.ListLogEntriesResponse o) { buildCounterListLogEntriesResponse++; if (buildCounterListLogEntriesResponse < 3) { - checkUnnamed2441(o.entries!); + checkUnnamed2429(o.entries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -662,12 +662,12 @@ void checkListLogEntriesResponse(api.ListLogEntriesResponse o) { buildCounterListLogEntriesResponse--; } -core.List buildUnnamed2442() => [ +core.List buildUnnamed2430() => [ buildLogMetric(), buildLogMetric(), ]; -void checkUnnamed2442(core.List o) { +void checkUnnamed2430(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogMetric(o[0]); checkLogMetric(o[1]); @@ -678,7 +678,7 @@ api.ListLogMetricsResponse buildListLogMetricsResponse() { final o = api.ListLogMetricsResponse(); buildCounterListLogMetricsResponse++; if (buildCounterListLogMetricsResponse < 3) { - o.metrics = buildUnnamed2442(); + o.metrics = buildUnnamed2430(); o.nextPageToken = 'foo'; } buildCounterListLogMetricsResponse--; @@ -688,7 +688,7 @@ api.ListLogMetricsResponse buildListLogMetricsResponse() { void checkListLogMetricsResponse(api.ListLogMetricsResponse o) { buildCounterListLogMetricsResponse++; if (buildCounterListLogMetricsResponse < 3) { - checkUnnamed2442(o.metrics!); + checkUnnamed2430(o.metrics!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -697,12 +697,12 @@ void checkListLogMetricsResponse(api.ListLogMetricsResponse o) { buildCounterListLogMetricsResponse--; } -core.List buildUnnamed2443() => [ +core.List buildUnnamed2431() => [ 'foo', 'foo', ]; -void checkUnnamed2443(core.List o) { +void checkUnnamed2431(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -719,7 +719,7 @@ api.ListLogsResponse buildListLogsResponse() { final o = api.ListLogsResponse(); buildCounterListLogsResponse++; if (buildCounterListLogsResponse < 3) { - o.logNames = buildUnnamed2443(); + o.logNames = buildUnnamed2431(); o.nextPageToken = 'foo'; } buildCounterListLogsResponse--; @@ -729,7 +729,7 @@ api.ListLogsResponse buildListLogsResponse() { void checkListLogsResponse(api.ListLogsResponse o) { buildCounterListLogsResponse++; if (buildCounterListLogsResponse < 3) { - checkUnnamed2443(o.logNames!); + checkUnnamed2431(o.logNames!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -738,12 +738,12 @@ void checkListLogsResponse(api.ListLogsResponse o) { buildCounterListLogsResponse--; } -core.List buildUnnamed2444() => [ +core.List buildUnnamed2432() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed2444(core.List o) { +void checkUnnamed2432(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); @@ -756,7 +756,7 @@ api.ListMonitoredResourceDescriptorsResponse buildCounterListMonitoredResourceDescriptorsResponse++; if (buildCounterListMonitoredResourceDescriptorsResponse < 3) { o.nextPageToken = 'foo'; - o.resourceDescriptors = buildUnnamed2444(); + o.resourceDescriptors = buildUnnamed2432(); } buildCounterListMonitoredResourceDescriptorsResponse--; return o; @@ -770,17 +770,17 @@ void checkListMonitoredResourceDescriptorsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2444(o.resourceDescriptors!); + checkUnnamed2432(o.resourceDescriptors!); } buildCounterListMonitoredResourceDescriptorsResponse--; } -core.List buildUnnamed2445() => [ +core.List buildUnnamed2433() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2445(core.List o) { +void checkUnnamed2433(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -792,7 +792,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed2445(); + o.operations = buildUnnamed2433(); } buildCounterListOperationsResponse--; return o; @@ -805,17 +805,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2445(o.operations!); + checkUnnamed2433(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed2446() => [ +core.List buildUnnamed2434() => [ buildLogSink(), buildLogSink(), ]; -void checkUnnamed2446(core.List o) { +void checkUnnamed2434(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogSink(o[0]); checkLogSink(o[1]); @@ -827,7 +827,7 @@ api.ListSinksResponse buildListSinksResponse() { buildCounterListSinksResponse++; if (buildCounterListSinksResponse < 3) { o.nextPageToken = 'foo'; - o.sinks = buildUnnamed2446(); + o.sinks = buildUnnamed2434(); } buildCounterListSinksResponse--; return o; @@ -840,17 +840,17 @@ void checkListSinksResponse(api.ListSinksResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2446(o.sinks!); + checkUnnamed2434(o.sinks!); } buildCounterListSinksResponse--; } -core.List buildUnnamed2447() => [ +core.List buildUnnamed2435() => [ buildLogView(), buildLogView(), ]; -void checkUnnamed2447(core.List o) { +void checkUnnamed2435(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogView(o[0]); checkLogView(o[1]); @@ -862,7 +862,7 @@ api.ListViewsResponse buildListViewsResponse() { buildCounterListViewsResponse++; if (buildCounterListViewsResponse < 3) { o.nextPageToken = 'foo'; - o.views = buildUnnamed2447(); + o.views = buildUnnamed2435(); } buildCounterListViewsResponse--; return o; @@ -875,17 +875,17 @@ void checkListViewsResponse(api.ListViewsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2447(o.views!); + checkUnnamed2435(o.views!); } buildCounterListViewsResponse--; } -core.Map buildUnnamed2448() => { +core.Map buildUnnamed2436() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2448(core.Map o) { +void checkUnnamed2436(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -897,7 +897,7 @@ void checkUnnamed2448(core.Map o) { ); } -core.Map buildUnnamed2449() => { +core.Map buildUnnamed2437() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -910,7 +910,7 @@ core.Map buildUnnamed2449() => { }, }; -void checkUnnamed2449(core.Map o) { +void checkUnnamed2437(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -948,9 +948,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed2448(); + o.labels = buildUnnamed2436(); o.locationId = 'foo'; - o.metadata = buildUnnamed2449(); + o.metadata = buildUnnamed2437(); o.name = 'foo'; } buildCounterLocation--; @@ -964,12 +964,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2448(o.labels!); + checkUnnamed2436(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed2449(o.metadata!); + checkUnnamed2437(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -978,12 +978,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed2450() => [ +core.List buildUnnamed2438() => [ 'foo', 'foo', ]; -void checkUnnamed2450(core.List o) { +void checkUnnamed2438(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1005,7 +1005,7 @@ api.LogBucket buildLogBucket() { o.lifecycleState = 'foo'; o.locked = true; o.name = 'foo'; - o.restrictedFields = buildUnnamed2450(); + o.restrictedFields = buildUnnamed2438(); o.retentionDays = 42; o.updateTime = 'foo'; } @@ -1033,7 +1033,7 @@ void checkLogBucket(api.LogBucket o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2450(o.restrictedFields!); + checkUnnamed2438(o.restrictedFields!); unittest.expect( o.retentionDays!, unittest.equals(42), @@ -1046,7 +1046,7 @@ void checkLogBucket(api.LogBucket o) { buildCounterLogBucket--; } -core.Map buildUnnamed2451() => { +core.Map buildUnnamed2439() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1059,7 +1059,7 @@ core.Map buildUnnamed2451() => { }, }; -void checkUnnamed2451(core.Map o) { +void checkUnnamed2439(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1091,12 +1091,12 @@ void checkUnnamed2451(core.Map o) { ); } -core.Map buildUnnamed2452() => { +core.Map buildUnnamed2440() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2452(core.Map o) { +void checkUnnamed2440(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1108,7 +1108,7 @@ void checkUnnamed2452(core.Map o) { ); } -core.Map buildUnnamed2453() => { +core.Map buildUnnamed2441() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1121,7 +1121,7 @@ core.Map buildUnnamed2453() => { }, }; -void checkUnnamed2453(core.Map o) { +void checkUnnamed2441(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1160,12 +1160,12 @@ api.LogEntry buildLogEntry() { if (buildCounterLogEntry < 3) { o.httpRequest = buildHttpRequest(); o.insertId = 'foo'; - o.jsonPayload = buildUnnamed2451(); - o.labels = buildUnnamed2452(); + o.jsonPayload = buildUnnamed2439(); + o.labels = buildUnnamed2440(); o.logName = 'foo'; o.metadata = buildMonitoredResourceMetadata(); o.operation = buildLogEntryOperation(); - o.protoPayload = buildUnnamed2453(); + o.protoPayload = buildUnnamed2441(); o.receiveTimestamp = 'foo'; o.resource = buildMonitoredResource(); o.severity = 'foo'; @@ -1188,15 +1188,15 @@ void checkLogEntry(api.LogEntry o) { o.insertId!, unittest.equals('foo'), ); - checkUnnamed2451(o.jsonPayload!); - checkUnnamed2452(o.labels!); + checkUnnamed2439(o.jsonPayload!); + checkUnnamed2440(o.labels!); unittest.expect( o.logName!, unittest.equals('foo'), ); checkMonitoredResourceMetadata(o.metadata!); checkLogEntryOperation(o.operation!); - checkUnnamed2453(o.protoPayload!); + checkUnnamed2441(o.protoPayload!); unittest.expect( o.receiveTimestamp!, unittest.equals('foo'), @@ -1369,12 +1369,12 @@ void checkLogLine(api.LogLine o) { buildCounterLogLine--; } -core.Map buildUnnamed2454() => { +core.Map buildUnnamed2442() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2454(core.Map o) { +void checkUnnamed2442(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1396,7 +1396,7 @@ api.LogMetric buildLogMetric() { o.description = 'foo'; o.disabled = true; o.filter = 'foo'; - o.labelExtractors = buildUnnamed2454(); + o.labelExtractors = buildUnnamed2442(); o.metricDescriptor = buildMetricDescriptor(); o.name = 'foo'; o.updateTime = 'foo'; @@ -1424,7 +1424,7 @@ void checkLogMetric(api.LogMetric o) { o.filter!, unittest.equals('foo'), ); - checkUnnamed2454(o.labelExtractors!); + checkUnnamed2442(o.labelExtractors!); checkMetricDescriptor(o.metricDescriptor!); unittest.expect( o.name!, @@ -1446,12 +1446,12 @@ void checkLogMetric(api.LogMetric o) { buildCounterLogMetric--; } -core.List buildUnnamed2455() => [ +core.List buildUnnamed2443() => [ buildLogExclusion(), buildLogExclusion(), ]; -void checkUnnamed2455(core.List o) { +void checkUnnamed2443(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogExclusion(o[0]); checkLogExclusion(o[1]); @@ -1467,7 +1467,7 @@ api.LogSink buildLogSink() { o.description = 'foo'; o.destination = 'foo'; o.disabled = true; - o.exclusions = buildUnnamed2455(); + o.exclusions = buildUnnamed2443(); o.filter = 'foo'; o.includeChildren = true; o.name = 'foo'; @@ -1496,7 +1496,7 @@ void checkLogSink(api.LogSink o) { unittest.equals('foo'), ); unittest.expect(o.disabled!, unittest.isTrue); - checkUnnamed2455(o.exclusions!); + checkUnnamed2443(o.exclusions!); unittest.expect( o.filter!, unittest.equals('foo'), @@ -1531,6 +1531,7 @@ api.LogView buildLogView() { o.description = 'foo'; o.filter = 'foo'; o.name = 'foo'; + o.schema = buildTableSchema(); o.updateTime = 'foo'; } buildCounterLogView--; @@ -1556,6 +1557,7 @@ void checkLogView(api.LogView o) { o.name!, unittest.equals('foo'), ); + checkTableSchema(o.schema!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -1564,23 +1566,23 @@ void checkLogView(api.LogView o) { buildCounterLogView--; } -core.List buildUnnamed2456() => [ +core.List buildUnnamed2444() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed2456(core.List o) { +void checkUnnamed2444(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed2457() => [ +core.List buildUnnamed2445() => [ 'foo', 'foo', ]; -void checkUnnamed2457(core.List o) { +void checkUnnamed2445(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1599,11 +1601,11 @@ api.MetricDescriptor buildMetricDescriptor() { if (buildCounterMetricDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed2456(); + o.labels = buildUnnamed2444(); o.launchStage = 'foo'; o.metadata = buildMetricDescriptorMetadata(); o.metricKind = 'foo'; - o.monitoredResourceTypes = buildUnnamed2457(); + o.monitoredResourceTypes = buildUnnamed2445(); o.name = 'foo'; o.type = 'foo'; o.unit = 'foo'; @@ -1624,7 +1626,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2456(o.labels!); + checkUnnamed2444(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -1634,7 +1636,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed2457(o.monitoredResourceTypes!); + checkUnnamed2445(o.monitoredResourceTypes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1687,12 +1689,12 @@ void checkMetricDescriptorMetadata(api.MetricDescriptorMetadata o) { buildCounterMetricDescriptorMetadata--; } -core.Map buildUnnamed2458() => { +core.Map buildUnnamed2446() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2458(core.Map o) { +void checkUnnamed2446(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1709,7 +1711,7 @@ api.MonitoredResource buildMonitoredResource() { final o = api.MonitoredResource(); buildCounterMonitoredResource++; if (buildCounterMonitoredResource < 3) { - o.labels = buildUnnamed2458(); + o.labels = buildUnnamed2446(); o.type = 'foo'; } buildCounterMonitoredResource--; @@ -1719,7 +1721,7 @@ api.MonitoredResource buildMonitoredResource() { void checkMonitoredResource(api.MonitoredResource o) { buildCounterMonitoredResource++; if (buildCounterMonitoredResource < 3) { - checkUnnamed2458(o.labels!); + checkUnnamed2446(o.labels!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1728,12 +1730,12 @@ void checkMonitoredResource(api.MonitoredResource o) { buildCounterMonitoredResource--; } -core.List buildUnnamed2459() => [ +core.List buildUnnamed2447() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed2459(core.List o) { +void checkUnnamed2447(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -1746,7 +1748,7 @@ api.MonitoredResourceDescriptor buildMonitoredResourceDescriptor() { if (buildCounterMonitoredResourceDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed2459(); + o.labels = buildUnnamed2447(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -1766,7 +1768,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2459(o.labels!); + checkUnnamed2447(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -1783,7 +1785,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { buildCounterMonitoredResourceDescriptor--; } -core.Map buildUnnamed2460() => { +core.Map buildUnnamed2448() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1796,7 +1798,7 @@ core.Map buildUnnamed2460() => { }, }; -void checkUnnamed2460(core.Map o) { +void checkUnnamed2448(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1828,12 +1830,12 @@ void checkUnnamed2460(core.Map o) { ); } -core.Map buildUnnamed2461() => { +core.Map buildUnnamed2449() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2461(core.Map o) { +void checkUnnamed2449(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1850,8 +1852,8 @@ api.MonitoredResourceMetadata buildMonitoredResourceMetadata() { final o = api.MonitoredResourceMetadata(); buildCounterMonitoredResourceMetadata++; if (buildCounterMonitoredResourceMetadata < 3) { - o.systemLabels = buildUnnamed2460(); - o.userLabels = buildUnnamed2461(); + o.systemLabels = buildUnnamed2448(); + o.userLabels = buildUnnamed2449(); } buildCounterMonitoredResourceMetadata--; return o; @@ -1860,13 +1862,13 @@ api.MonitoredResourceMetadata buildMonitoredResourceMetadata() { void checkMonitoredResourceMetadata(api.MonitoredResourceMetadata o) { buildCounterMonitoredResourceMetadata++; if (buildCounterMonitoredResourceMetadata < 3) { - checkUnnamed2460(o.systemLabels!); - checkUnnamed2461(o.userLabels!); + checkUnnamed2448(o.systemLabels!); + checkUnnamed2449(o.userLabels!); } buildCounterMonitoredResourceMetadata--; } -core.Map buildUnnamed2462() => { +core.Map buildUnnamed2450() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1879,7 +1881,7 @@ core.Map buildUnnamed2462() => { }, }; -void checkUnnamed2462(core.Map o) { +void checkUnnamed2450(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -1911,7 +1913,7 @@ void checkUnnamed2462(core.Map o) { ); } -core.Map buildUnnamed2463() => { +core.Map buildUnnamed2451() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1924,7 +1926,7 @@ core.Map buildUnnamed2463() => { }, }; -void checkUnnamed2463(core.Map o) { +void checkUnnamed2451(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -1963,9 +1965,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed2462(); + o.metadata = buildUnnamed2450(); o.name = 'foo'; - o.response = buildUnnamed2463(); + o.response = buildUnnamed2451(); } buildCounterOperation--; return o; @@ -1976,33 +1978,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed2462(o.metadata!); + checkUnnamed2450(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2463(o.response!); + checkUnnamed2451(o.response!); } buildCounterOperation--; } -core.List buildUnnamed2464() => [ +core.List buildUnnamed2452() => [ buildLogLine(), buildLogLine(), ]; -void checkUnnamed2464(core.List o) { +void checkUnnamed2452(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogLine(o[0]); checkLogLine(o[1]); } -core.List buildUnnamed2465() => [ +core.List buildUnnamed2453() => [ buildSourceReference(), buildSourceReference(), ]; -void checkUnnamed2465(core.List o) { +void checkUnnamed2453(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceReference(o[0]); checkSourceReference(o[1]); @@ -2025,7 +2027,7 @@ api.RequestLog buildRequestLog() { o.instanceIndex = 42; o.ip = 'foo'; o.latency = 'foo'; - o.line = buildUnnamed2464(); + o.line = buildUnnamed2452(); o.megaCycles = 'foo'; o.method = 'foo'; o.moduleId = 'foo'; @@ -2035,7 +2037,7 @@ api.RequestLog buildRequestLog() { o.requestId = 'foo'; o.resource = 'foo'; o.responseSize = 'foo'; - o.sourceReference = buildUnnamed2465(); + o.sourceReference = buildUnnamed2453(); o.startTime = 'foo'; o.status = 42; o.taskName = 'foo'; @@ -2096,7 +2098,7 @@ void checkRequestLog(api.RequestLog o) { o.latency!, unittest.equals('foo'), ); - checkUnnamed2464(o.line!); + checkUnnamed2452(o.line!); unittest.expect( o.megaCycles!, unittest.equals('foo'), @@ -2133,7 +2135,7 @@ void checkRequestLog(api.RequestLog o) { o.responseSize!, unittest.equals('foo'), ); - checkUnnamed2465(o.sourceReference!); + checkUnnamed2453(o.sourceReference!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -2231,7 +2233,7 @@ void checkSourceReference(api.SourceReference o) { buildCounterSourceReference--; } -core.Map buildUnnamed2466() => { +core.Map buildUnnamed2454() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2244,7 +2246,7 @@ core.Map buildUnnamed2466() => { }, }; -void checkUnnamed2466(core.Map o) { +void checkUnnamed2454(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -2276,15 +2278,15 @@ void checkUnnamed2466(core.Map o) { ); } -core.List> buildUnnamed2467() => [ - buildUnnamed2466(), - buildUnnamed2466(), +core.List> buildUnnamed2455() => [ + buildUnnamed2454(), + buildUnnamed2454(), ]; -void checkUnnamed2467(core.List> o) { +void checkUnnamed2455(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2466(o[0]); - checkUnnamed2466(o[1]); + checkUnnamed2454(o[0]); + checkUnnamed2454(o[1]); } core.int buildCounterStatus = 0; @@ -2293,7 +2295,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2467(); + o.details = buildUnnamed2455(); o.message = 'foo'; } buildCounterStatus--; @@ -2307,7 +2309,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2467(o.details!); + checkUnnamed2455(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2343,12 +2345,92 @@ void checkSuppressionInfo(api.SuppressionInfo o) { buildCounterSuppressionInfo--; } -core.List buildUnnamed2468() => [ +core.List buildUnnamed2456() => [ + buildTableFieldSchema(), + buildTableFieldSchema(), + ]; + +void checkUnnamed2456(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkTableFieldSchema(o[0]); + checkTableFieldSchema(o[1]); +} + +core.int buildCounterTableFieldSchema = 0; +api.TableFieldSchema buildTableFieldSchema() { + final o = api.TableFieldSchema(); + buildCounterTableFieldSchema++; + if (buildCounterTableFieldSchema < 3) { + o.description = 'foo'; + o.fields = buildUnnamed2456(); + o.mode = 'foo'; + o.name = 'foo'; + o.type = 'foo'; + } + buildCounterTableFieldSchema--; + return o; +} + +void checkTableFieldSchema(api.TableFieldSchema o) { + buildCounterTableFieldSchema++; + if (buildCounterTableFieldSchema < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkUnnamed2456(o.fields!); + unittest.expect( + o.mode!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterTableFieldSchema--; +} + +core.List buildUnnamed2457() => [ + buildTableFieldSchema(), + buildTableFieldSchema(), + ]; + +void checkUnnamed2457(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkTableFieldSchema(o[0]); + checkTableFieldSchema(o[1]); +} + +core.int buildCounterTableSchema = 0; +api.TableSchema buildTableSchema() { + final o = api.TableSchema(); + buildCounterTableSchema++; + if (buildCounterTableSchema < 3) { + o.fields = buildUnnamed2457(); + } + buildCounterTableSchema--; + return o; +} + +void checkTableSchema(api.TableSchema o) { + buildCounterTableSchema++; + if (buildCounterTableSchema < 3) { + checkUnnamed2457(o.fields!); + } + buildCounterTableSchema--; +} + +core.List buildUnnamed2458() => [ 'foo', 'foo', ]; -void checkUnnamed2468(core.List o) { +void checkUnnamed2458(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2367,7 +2449,7 @@ api.TailLogEntriesRequest buildTailLogEntriesRequest() { if (buildCounterTailLogEntriesRequest < 3) { o.bufferWindow = 'foo'; o.filter = 'foo'; - o.resourceNames = buildUnnamed2468(); + o.resourceNames = buildUnnamed2458(); } buildCounterTailLogEntriesRequest--; return o; @@ -2384,28 +2466,28 @@ void checkTailLogEntriesRequest(api.TailLogEntriesRequest o) { o.filter!, unittest.equals('foo'), ); - checkUnnamed2468(o.resourceNames!); + checkUnnamed2458(o.resourceNames!); } buildCounterTailLogEntriesRequest--; } -core.List buildUnnamed2469() => [ +core.List buildUnnamed2459() => [ buildLogEntry(), buildLogEntry(), ]; -void checkUnnamed2469(core.List o) { +void checkUnnamed2459(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogEntry(o[0]); checkLogEntry(o[1]); } -core.List buildUnnamed2470() => [ +core.List buildUnnamed2460() => [ buildSuppressionInfo(), buildSuppressionInfo(), ]; -void checkUnnamed2470(core.List o) { +void checkUnnamed2460(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSuppressionInfo(o[0]); checkSuppressionInfo(o[1]); @@ -2416,8 +2498,8 @@ api.TailLogEntriesResponse buildTailLogEntriesResponse() { final o = api.TailLogEntriesResponse(); buildCounterTailLogEntriesResponse++; if (buildCounterTailLogEntriesResponse < 3) { - o.entries = buildUnnamed2469(); - o.suppressionInfo = buildUnnamed2470(); + o.entries = buildUnnamed2459(); + o.suppressionInfo = buildUnnamed2460(); } buildCounterTailLogEntriesResponse--; return o; @@ -2426,8 +2508,8 @@ api.TailLogEntriesResponse buildTailLogEntriesResponse() { void checkTailLogEntriesResponse(api.TailLogEntriesResponse o) { buildCounterTailLogEntriesResponse++; if (buildCounterTailLogEntriesResponse < 3) { - checkUnnamed2469(o.entries!); - checkUnnamed2470(o.suppressionInfo!); + checkUnnamed2459(o.entries!); + checkUnnamed2460(o.suppressionInfo!); } buildCounterTailLogEntriesResponse--; } @@ -2447,23 +2529,23 @@ void checkUndeleteBucketRequest(api.UndeleteBucketRequest o) { buildCounterUndeleteBucketRequest--; } -core.List buildUnnamed2471() => [ +core.List buildUnnamed2461() => [ buildLogEntry(), buildLogEntry(), ]; -void checkUnnamed2471(core.List o) { +void checkUnnamed2461(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogEntry(o[0]); checkLogEntry(o[1]); } -core.Map buildUnnamed2472() => { +core.Map buildUnnamed2462() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2472(core.Map o) { +void checkUnnamed2462(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2481,8 +2563,8 @@ api.WriteLogEntriesRequest buildWriteLogEntriesRequest() { buildCounterWriteLogEntriesRequest++; if (buildCounterWriteLogEntriesRequest < 3) { o.dryRun = true; - o.entries = buildUnnamed2471(); - o.labels = buildUnnamed2472(); + o.entries = buildUnnamed2461(); + o.labels = buildUnnamed2462(); o.logName = 'foo'; o.partialSuccess = true; o.resource = buildMonitoredResource(); @@ -2495,8 +2577,8 @@ void checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) { buildCounterWriteLogEntriesRequest++; if (buildCounterWriteLogEntriesRequest < 3) { unittest.expect(o.dryRun!, unittest.isTrue); - checkUnnamed2471(o.entries!); - checkUnnamed2472(o.labels!); + checkUnnamed2461(o.entries!); + checkUnnamed2462(o.labels!); unittest.expect( o.logName!, unittest.equals('foo'), @@ -2522,12 +2604,12 @@ void checkWriteLogEntriesResponse(api.WriteLogEntriesResponse o) { buildCounterWriteLogEntriesResponse--; } -core.List buildUnnamed2473() => [ +core.List buildUnnamed2463() => [ 'foo', 'foo', ]; -void checkUnnamed2473(core.List o) { +void checkUnnamed2463(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2539,12 +2621,12 @@ void checkUnnamed2473(core.List o) { ); } -core.List buildUnnamed2474() => [ +core.List buildUnnamed2464() => [ 'foo', 'foo', ]; -void checkUnnamed2474(core.List o) { +void checkUnnamed2464(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2556,12 +2638,12 @@ void checkUnnamed2474(core.List o) { ); } -core.List buildUnnamed2475() => [ +core.List buildUnnamed2465() => [ 'foo', 'foo', ]; -void checkUnnamed2475(core.List o) { +void checkUnnamed2465(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2573,12 +2655,12 @@ void checkUnnamed2475(core.List o) { ); } -core.List buildUnnamed2476() => [ +core.List buildUnnamed2466() => [ 'foo', 'foo', ]; -void checkUnnamed2476(core.List o) { +void checkUnnamed2466(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2590,12 +2672,12 @@ void checkUnnamed2476(core.List o) { ); } -core.List buildUnnamed2477() => [ +core.List buildUnnamed2467() => [ 'foo', 'foo', ]; -void checkUnnamed2477(core.List o) { +void checkUnnamed2467(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3058,6 +3140,26 @@ void main() { }); }); + unittest.group('obj-schema-TableFieldSchema', () { + unittest.test('to-json--from-json', () async { + final o = buildTableFieldSchema(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.TableFieldSchema.fromJson( + oJson as core.Map); + checkTableFieldSchema(od); + }); + }); + + unittest.group('obj-schema-TableSchema', () { + unittest.test('to-json--from-json', () async { + final o = buildTableSchema(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.TableSchema.fromJson( + oJson as core.Map); + checkTableSchema(od); + }); + }); + unittest.group('obj-schema-TailLogEntriesRequest', () { unittest.test('to-json--from-json', () async { final o = buildTailLogEntriesRequest(); @@ -4371,7 +4473,7 @@ void main() { final arg_parent = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_resourceNames = buildUnnamed2473(); + final arg_resourceNames = buildUnnamed2463(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -6690,7 +6792,7 @@ void main() { final arg_parent = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_resourceNames = buildUnnamed2474(); + final arg_resourceNames = buildUnnamed2464(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -8149,7 +8251,7 @@ void main() { final arg_parent = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_resourceNames = buildUnnamed2475(); + final arg_resourceNames = buildUnnamed2465(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -9711,7 +9813,7 @@ void main() { final arg_parent = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_resourceNames = buildUnnamed2476(); + final arg_resourceNames = buildUnnamed2466(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -11462,7 +11564,7 @@ void main() { final arg_parent = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_resourceNames = buildUnnamed2477(); + final arg_resourceNames = buildUnnamed2467(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/managedidentities/v1_test.dart b/generated/googleapis/test/managedidentities/v1_test.dart index 3c5e8910f..d55d67058 100644 --- a/generated/googleapis/test/managedidentities/v1_test.dart +++ b/generated/googleapis/test/managedidentities/v1_test.dart @@ -45,12 +45,12 @@ void checkAttachTrustRequest(api.AttachTrustRequest o) { buildCounterAttachTrustRequest--; } -core.List buildUnnamed7699() => [ +core.List buildUnnamed7783() => [ 'foo', 'foo', ]; -void checkUnnamed7699(core.List o) { +void checkUnnamed7783(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -68,7 +68,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed7699(); + o.members = buildUnnamed7783(); o.role = 'foo'; } buildCounterBinding--; @@ -79,7 +79,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed7699(o.members!); + checkUnnamed7783(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -103,12 +103,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.List buildUnnamed7700() => [ +core.List buildUnnamed7784() => [ 'foo', 'foo', ]; -void checkUnnamed7700(core.List o) { +void checkUnnamed7784(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -128,7 +128,7 @@ api.Certificate buildCertificate() { o.expireTime = 'foo'; o.issuingCertificate = buildCertificate(); o.subject = 'foo'; - o.subjectAlternativeName = buildUnnamed7700(); + o.subjectAlternativeName = buildUnnamed7784(); o.thumbprint = 'foo'; } buildCounterCertificate--; @@ -147,7 +147,7 @@ void checkCertificate(api.Certificate o) { o.subject!, unittest.equals('foo'), ); - checkUnnamed7700(o.subjectAlternativeName!); + checkUnnamed7784(o.subjectAlternativeName!); unittest.expect( o.thumbprint!, unittest.equals('foo'), @@ -254,12 +254,12 @@ void checkDetachTrustRequest(api.DetachTrustRequest o) { buildCounterDetachTrustRequest--; } -core.List buildUnnamed7701() => [ +core.List buildUnnamed7785() => [ 'foo', 'foo', ]; -void checkUnnamed7701(core.List o) { +void checkUnnamed7785(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -271,12 +271,12 @@ void checkUnnamed7701(core.List o) { ); } -core.Map buildUnnamed7702() => { +core.Map buildUnnamed7786() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7702(core.Map o) { +void checkUnnamed7786(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -288,12 +288,12 @@ void checkUnnamed7702(core.Map o) { ); } -core.List buildUnnamed7703() => [ +core.List buildUnnamed7787() => [ 'foo', 'foo', ]; -void checkUnnamed7703(core.List o) { +void checkUnnamed7787(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -305,12 +305,12 @@ void checkUnnamed7703(core.List o) { ); } -core.List buildUnnamed7704() => [ +core.List buildUnnamed7788() => [ buildTrust(), buildTrust(), ]; -void checkUnnamed7704(core.List o) { +void checkUnnamed7788(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrust(o[0]); checkTrust(o[1]); @@ -323,16 +323,16 @@ api.Domain buildDomain() { if (buildCounterDomain < 3) { o.admin = 'foo'; o.auditLogsEnabled = true; - o.authorizedNetworks = buildUnnamed7701(); + o.authorizedNetworks = buildUnnamed7785(); o.createTime = 'foo'; o.fqdn = 'foo'; - o.labels = buildUnnamed7702(); - o.locations = buildUnnamed7703(); + o.labels = buildUnnamed7786(); + o.locations = buildUnnamed7787(); o.name = 'foo'; o.reservedIpRange = 'foo'; o.state = 'foo'; o.statusMessage = 'foo'; - o.trusts = buildUnnamed7704(); + o.trusts = buildUnnamed7788(); o.updateTime = 'foo'; } buildCounterDomain--; @@ -347,7 +347,7 @@ void checkDomain(api.Domain o) { unittest.equals('foo'), ); unittest.expect(o.auditLogsEnabled!, unittest.isTrue); - checkUnnamed7701(o.authorizedNetworks!); + checkUnnamed7785(o.authorizedNetworks!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -356,8 +356,8 @@ void checkDomain(api.Domain o) { o.fqdn!, unittest.equals('foo'), ); - checkUnnamed7702(o.labels!); - checkUnnamed7703(o.locations!); + checkUnnamed7786(o.labels!); + checkUnnamed7787(o.locations!); unittest.expect( o.name!, unittest.equals('foo'), @@ -374,7 +374,7 @@ void checkDomain(api.Domain o) { o.statusMessage!, unittest.equals('foo'), ); - checkUnnamed7704(o.trusts!); + checkUnnamed7788(o.trusts!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -573,12 +573,12 @@ void checkGoogleCloudManagedidentitiesV1beta1OpMetadata( buildCounterGoogleCloudManagedidentitiesV1beta1OpMetadata--; } -core.Map buildUnnamed7705() => { +core.Map buildUnnamed7789() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7705(core.Map o) { +void checkUnnamed7789(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -590,12 +590,12 @@ void checkUnnamed7705(core.Map o) { ); } -core.Map buildUnnamed7706() => { +core.Map buildUnnamed7790() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7706(core.Map o) { +void checkUnnamed7790(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -609,14 +609,14 @@ void checkUnnamed7706(core.Map o) { core.Map - buildUnnamed7707() => { + buildUnnamed7791() => { 'x': buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(), 'y': buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(), }; -void checkUnnamed7707( +void checkUnnamed7791( core.Map o) { @@ -627,12 +627,12 @@ void checkUnnamed7707( o['y']!); } -core.Map buildUnnamed7708() => { +core.Map buildUnnamed7792() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7708(core.Map o) { +void checkUnnamed7792(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -646,12 +646,12 @@ void checkUnnamed7708(core.Map o) { core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource> - buildUnnamed7709() => [ + buildUnnamed7793() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(), buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(), ]; -void checkUnnamed7709( +void checkUnnamed7793( core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource> o) { @@ -660,12 +660,12 @@ void checkUnnamed7709( checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]); } -core.Map buildUnnamed7710() => { +core.Map buildUnnamed7794() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7710(core.Map o) { +void checkUnnamed7794(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -686,18 +686,18 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1Instance if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) { o.consumerDefinedName = 'foo'; o.createTime = 'foo'; - o.labels = buildUnnamed7705(); - o.maintenancePolicyNames = buildUnnamed7706(); - o.maintenanceSchedules = buildUnnamed7707(); + o.labels = buildUnnamed7789(); + o.maintenancePolicyNames = buildUnnamed7790(); + o.maintenanceSchedules = buildUnnamed7791(); o.maintenanceSettings = buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings(); o.name = 'foo'; - o.producerMetadata = buildUnnamed7708(); - o.provisionedResources = buildUnnamed7709(); + o.producerMetadata = buildUnnamed7792(); + o.provisionedResources = buildUnnamed7793(); o.slmInstanceTemplate = 'foo'; o.sloMetadata = buildGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata(); - o.softwareVersions = buildUnnamed7710(); + o.softwareVersions = buildUnnamed7794(); o.state = 'foo'; o.tenantProjectId = 'foo'; o.updateTime = 'foo'; @@ -718,24 +718,24 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1Instance( o.createTime!, unittest.equals('foo'), ); - checkUnnamed7705(o.labels!); - checkUnnamed7706(o.maintenancePolicyNames!); - checkUnnamed7707(o.maintenanceSchedules!); + checkUnnamed7789(o.labels!); + checkUnnamed7790(o.maintenancePolicyNames!); + checkUnnamed7791(o.maintenanceSchedules!); checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( o.maintenanceSettings!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7708(o.producerMetadata!); - checkUnnamed7709(o.provisionedResources!); + checkUnnamed7792(o.producerMetadata!); + checkUnnamed7793(o.provisionedResources!); unittest.expect( o.slmInstanceTemplate!, unittest.equals('foo'), ); checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( o.sloMetadata!); - checkUnnamed7710(o.softwareVersions!); + checkUnnamed7794(o.softwareVersions!); unittest.expect( o.state!, unittest.equals('foo'), @@ -798,12 +798,12 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule--; } -core.Map buildUnnamed7711() => { +core.Map buildUnnamed7795() => { 'x': buildMaintenancePolicy(), 'y': buildMaintenancePolicy(), }; -void checkUnnamed7711(core.Map o) { +void checkUnnamed7795(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMaintenancePolicy(o['x']!); checkMaintenancePolicy(o['y']!); @@ -821,7 +821,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings 3) { o.exclude = true; o.isRollback = true; - o.maintenancePolicies = buildUnnamed7711(); + o.maintenancePolicies = buildUnnamed7795(); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--; return o; @@ -834,25 +834,11 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( 3) { unittest.expect(o.exclude!, unittest.isTrue); unittest.expect(o.isRollback!, unittest.isTrue); - checkUnnamed7711(o.maintenancePolicies!); + checkUnnamed7795(o.maintenancePolicies!); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--; } -core.List - buildUnnamed7712() => [ - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - ]; - -void checkUnnamed7712( - core.List - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[0]); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[1]); -} - core.int buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata = 0; @@ -863,7 +849,6 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata < 3) { - o.exclusions = buildUnnamed7712(); o.location = 'foo'; o.nodeId = 'foo'; o.perSliEligibility = @@ -878,7 +863,6 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata < 3) { - checkUnnamed7712(o.exclusions!); unittest.expect( o.location!, unittest.equals('foo'), @@ -895,14 +879,14 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( core.Map - buildUnnamed7713() => { + buildUnnamed7796() => { 'x': buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(), 'y': buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(), }; -void checkUnnamed7713( +void checkUnnamed7796( core.Map o) { @@ -921,7 +905,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility < 3) { - o.eligibilities = buildUnnamed7713(); + o.eligibilities = buildUnnamed7796(); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility--; return o; @@ -932,7 +916,7 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility < 3) { - checkUnnamed7713(o.eligibilities!); + checkUnnamed7796(o.eligibilities!); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility--; } @@ -1001,69 +985,13 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility--; } -core.int - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion = 0; -api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion() { - final o = api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(); - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion++; - if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion < - 3) { - o.duration = 'foo'; - o.reason = 'foo'; - o.sliName = 'foo'; - o.startTime = 'foo'; - } - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion--; - return o; -} - -void checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion( - api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion o) { - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion++; - if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion < - 3) { - unittest.expect( - o.duration!, - unittest.equals('foo'), - ); - unittest.expect( - o.reason!, - unittest.equals('foo'), - ); - unittest.expect( - o.sliName!, - unittest.equals('foo'), - ); - unittest.expect( - o.startTime!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion--; -} - -core.List - buildUnnamed7714() => [ - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), - ]; - -void checkUnnamed7714( - core.List - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[0]); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[1]); -} - core.List - buildUnnamed7715() => [ + buildUnnamed7797() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(), buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(), ]; -void checkUnnamed7715( +void checkUnnamed7797( core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata> o) { @@ -1080,8 +1008,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata < 3) { - o.exclusions = buildUnnamed7714(); - o.nodes = buildUnnamed7715(); + o.nodes = buildUnnamed7797(); o.perSliEligibility = buildGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility(); o.tier = 'foo'; @@ -1095,8 +1022,7 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata < 3) { - checkUnnamed7714(o.exclusions!); - checkUnnamed7715(o.nodes!); + checkUnnamed7797(o.nodes!); checkGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( o.perSliEligibility!); unittest.expect( @@ -1151,23 +1077,23 @@ void checkLDAPSSettings(api.LDAPSSettings o) { buildCounterLDAPSSettings--; } -core.List buildUnnamed7716() => [ +core.List buildUnnamed7798() => [ buildDomain(), buildDomain(), ]; -void checkUnnamed7716(core.List o) { +void checkUnnamed7798(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomain(o[0]); checkDomain(o[1]); } -core.List buildUnnamed7717() => [ +core.List buildUnnamed7799() => [ 'foo', 'foo', ]; -void checkUnnamed7717(core.List o) { +void checkUnnamed7799(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1184,9 +1110,9 @@ api.ListDomainsResponse buildListDomainsResponse() { final o = api.ListDomainsResponse(); buildCounterListDomainsResponse++; if (buildCounterListDomainsResponse < 3) { - o.domains = buildUnnamed7716(); + o.domains = buildUnnamed7798(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed7717(); + o.unreachable = buildUnnamed7799(); } buildCounterListDomainsResponse--; return o; @@ -1195,22 +1121,22 @@ api.ListDomainsResponse buildListDomainsResponse() { void checkListDomainsResponse(api.ListDomainsResponse o) { buildCounterListDomainsResponse++; if (buildCounterListDomainsResponse < 3) { - checkUnnamed7716(o.domains!); + checkUnnamed7798(o.domains!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7717(o.unreachable!); + checkUnnamed7799(o.unreachable!); } buildCounterListDomainsResponse--; } -core.List buildUnnamed7718() => [ +core.List buildUnnamed7800() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed7718(core.List o) { +void checkUnnamed7800(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1221,7 +1147,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed7718(); + o.locations = buildUnnamed7800(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1231,7 +1157,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed7718(o.locations!); + checkUnnamed7800(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1240,12 +1166,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed7719() => [ +core.List buildUnnamed7801() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed7719(core.List o) { +void checkUnnamed7801(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1257,7 +1183,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed7719(); + o.operations = buildUnnamed7801(); } buildCounterListOperationsResponse--; return o; @@ -1270,28 +1196,82 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7719(o.operations!); + checkUnnamed7801(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed7720() => [ +core.List buildUnnamed7802() => [ + buildPeering(), + buildPeering(), + ]; + +void checkUnnamed7802(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPeering(o[0]); + checkPeering(o[1]); +} + +core.List buildUnnamed7803() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed7803(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterListPeeringsResponse = 0; +api.ListPeeringsResponse buildListPeeringsResponse() { + final o = api.ListPeeringsResponse(); + buildCounterListPeeringsResponse++; + if (buildCounterListPeeringsResponse < 3) { + o.nextPageToken = 'foo'; + o.peerings = buildUnnamed7802(); + o.unreachable = buildUnnamed7803(); + } + buildCounterListPeeringsResponse--; + return o; +} + +void checkListPeeringsResponse(api.ListPeeringsResponse o) { + buildCounterListPeeringsResponse++; + if (buildCounterListPeeringsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed7802(o.peerings!); + checkUnnamed7803(o.unreachable!); + } + buildCounterListPeeringsResponse--; +} + +core.List buildUnnamed7804() => [ buildSqlIntegration(), buildSqlIntegration(), ]; -void checkUnnamed7720(core.List o) { +void checkUnnamed7804(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlIntegration(o[0]); checkSqlIntegration(o[1]); } -core.List buildUnnamed7721() => [ +core.List buildUnnamed7805() => [ 'foo', 'foo', ]; -void checkUnnamed7721(core.List o) { +void checkUnnamed7805(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1309,8 +1289,8 @@ api.ListSqlIntegrationsResponse buildListSqlIntegrationsResponse() { buildCounterListSqlIntegrationsResponse++; if (buildCounterListSqlIntegrationsResponse < 3) { o.nextPageToken = 'foo'; - o.sqlIntegrations = buildUnnamed7720(); - o.unreachable = buildUnnamed7721(); + o.sqlIntegrations = buildUnnamed7804(); + o.unreachable = buildUnnamed7805(); } buildCounterListSqlIntegrationsResponse--; return o; @@ -1323,18 +1303,18 @@ void checkListSqlIntegrationsResponse(api.ListSqlIntegrationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7720(o.sqlIntegrations!); - checkUnnamed7721(o.unreachable!); + checkUnnamed7804(o.sqlIntegrations!); + checkUnnamed7805(o.unreachable!); } buildCounterListSqlIntegrationsResponse--; } -core.Map buildUnnamed7722() => { +core.Map buildUnnamed7806() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7722(core.Map o) { +void checkUnnamed7806(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1346,7 +1326,7 @@ void checkUnnamed7722(core.Map o) { ); } -core.Map buildUnnamed7723() => { +core.Map buildUnnamed7807() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1359,7 +1339,7 @@ core.Map buildUnnamed7723() => { }, }; -void checkUnnamed7723(core.Map o) { +void checkUnnamed7807(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1397,9 +1377,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed7722(); + o.labels = buildUnnamed7806(); o.locationId = 'foo'; - o.metadata = buildUnnamed7723(); + o.metadata = buildUnnamed7807(); o.name = 'foo'; } buildCounterLocation--; @@ -1413,12 +1393,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed7722(o.labels!); + checkUnnamed7806(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed7723(o.metadata!); + checkUnnamed7807(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1427,12 +1407,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed7724() => { +core.Map buildUnnamed7808() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7724(core.Map o) { +void checkUnnamed7808(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1451,7 +1431,7 @@ api.MaintenancePolicy buildMaintenancePolicy() { if (buildCounterMaintenancePolicy < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed7724(); + o.labels = buildUnnamed7808(); o.name = 'foo'; o.state = 'foo'; o.updatePolicy = buildUpdatePolicy(); @@ -1472,7 +1452,7 @@ void checkMaintenancePolicy(api.MaintenancePolicy o) { o.description!, unittest.equals('foo'), ); - checkUnnamed7724(o.labels!); + checkUnnamed7808(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1511,7 +1491,7 @@ void checkMaintenanceWindow(api.MaintenanceWindow o) { buildCounterMaintenanceWindow--; } -core.Map buildUnnamed7725() => { +core.Map buildUnnamed7809() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1524,7 +1504,7 @@ core.Map buildUnnamed7725() => { }, }; -void checkUnnamed7725(core.Map o) { +void checkUnnamed7809(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1556,7 +1536,7 @@ void checkUnnamed7725(core.Map o) { ); } -core.Map buildUnnamed7726() => { +core.Map buildUnnamed7810() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1569,7 +1549,7 @@ core.Map buildUnnamed7726() => { }, }; -void checkUnnamed7726(core.Map o) { +void checkUnnamed7810(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1608,9 +1588,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7725(); + o.metadata = buildUnnamed7809(); o.name = 'foo'; - o.response = buildUnnamed7726(); + o.response = buildUnnamed7810(); } buildCounterOperation--; return o; @@ -1621,12 +1601,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7725(o.metadata!); + checkUnnamed7809(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7726(o.response!); + checkUnnamed7810(o.response!); } buildCounterOperation--; } @@ -1680,12 +1660,83 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed7727() => [ +core.Map buildUnnamed7811() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed7811(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterPeering = 0; +api.Peering buildPeering() { + final o = api.Peering(); + buildCounterPeering++; + if (buildCounterPeering < 3) { + o.authorizedNetwork = 'foo'; + o.createTime = 'foo'; + o.domainResource = 'foo'; + o.labels = buildUnnamed7811(); + o.name = 'foo'; + o.state = 'foo'; + o.statusMessage = 'foo'; + o.updateTime = 'foo'; + } + buildCounterPeering--; + return o; +} + +void checkPeering(api.Peering o) { + buildCounterPeering++; + if (buildCounterPeering < 3) { + unittest.expect( + o.authorizedNetwork!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.domainResource!, + unittest.equals('foo'), + ); + checkUnnamed7811(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + unittest.expect( + o.statusMessage!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterPeering--; +} + +core.List buildUnnamed7812() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed7727(core.List o) { +void checkUnnamed7812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1696,7 +1747,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed7727(); + o.bindings = buildUnnamed7812(); o.etag = 'foo'; o.version = 42; } @@ -1707,7 +1758,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed7727(o.bindings!); + checkUnnamed7812(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1720,12 +1771,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed7728() => [ +core.List buildUnnamed7813() => [ 'foo', 'foo', ]; -void checkUnnamed7728(core.List o) { +void checkUnnamed7813(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1742,7 +1793,7 @@ api.ReconfigureTrustRequest buildReconfigureTrustRequest() { final o = api.ReconfigureTrustRequest(); buildCounterReconfigureTrustRequest++; if (buildCounterReconfigureTrustRequest < 3) { - o.targetDnsIpAddresses = buildUnnamed7728(); + o.targetDnsIpAddresses = buildUnnamed7813(); o.targetDomainName = 'foo'; } buildCounterReconfigureTrustRequest--; @@ -1752,7 +1803,7 @@ api.ReconfigureTrustRequest buildReconfigureTrustRequest() { void checkReconfigureTrustRequest(api.ReconfigureTrustRequest o) { buildCounterReconfigureTrustRequest++; if (buildCounterReconfigureTrustRequest < 3) { - checkUnnamed7728(o.targetDnsIpAddresses!); + checkUnnamed7813(o.targetDnsIpAddresses!); unittest.expect( o.targetDomainName!, unittest.equals('foo'), @@ -1888,7 +1939,7 @@ void checkSqlIntegration(api.SqlIntegration o) { buildCounterSqlIntegration--; } -core.Map buildUnnamed7729() => { +core.Map buildUnnamed7814() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1901,7 +1952,7 @@ core.Map buildUnnamed7729() => { }, }; -void checkUnnamed7729(core.Map o) { +void checkUnnamed7814(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1933,15 +1984,15 @@ void checkUnnamed7729(core.Map o) { ); } -core.List> buildUnnamed7730() => [ - buildUnnamed7729(), - buildUnnamed7729(), +core.List> buildUnnamed7815() => [ + buildUnnamed7814(), + buildUnnamed7814(), ]; -void checkUnnamed7730(core.List> o) { +void checkUnnamed7815(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7729(o[0]); - checkUnnamed7729(o[1]); + checkUnnamed7814(o[0]); + checkUnnamed7814(o[1]); } core.int buildCounterStatus = 0; @@ -1950,7 +2001,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7730(); + o.details = buildUnnamed7815(); o.message = 'foo'; } buildCounterStatus--; @@ -1964,7 +2015,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7730(o.details!); + checkUnnamed7815(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1973,12 +2024,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed7731() => [ +core.List buildUnnamed7816() => [ 'foo', 'foo', ]; -void checkUnnamed7731(core.List o) { +void checkUnnamed7816(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1995,7 +2046,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed7731(); + o.permissions = buildUnnamed7816(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2004,17 +2055,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed7731(o.permissions!); + checkUnnamed7816(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed7732() => [ +core.List buildUnnamed7817() => [ 'foo', 'foo', ]; -void checkUnnamed7732(core.List o) { +void checkUnnamed7817(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2031,7 +2082,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed7732(); + o.permissions = buildUnnamed7817(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2040,7 +2091,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed7732(o.permissions!); + checkUnnamed7817(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -2082,12 +2133,12 @@ void checkTimeOfDay(api.TimeOfDay o) { buildCounterTimeOfDay--; } -core.List buildUnnamed7733() => [ +core.List buildUnnamed7818() => [ 'foo', 'foo', ]; -void checkUnnamed7733(core.List o) { +void checkUnnamed7818(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2109,7 +2160,7 @@ api.Trust buildTrust() { o.selectiveAuthentication = true; o.state = 'foo'; o.stateDescription = 'foo'; - o.targetDnsIpAddresses = buildUnnamed7733(); + o.targetDnsIpAddresses = buildUnnamed7818(); o.targetDomainName = 'foo'; o.trustDirection = 'foo'; o.trustHandshakeSecret = 'foo'; @@ -2140,7 +2191,7 @@ void checkTrust(api.Trust o) { o.stateDescription!, unittest.equals('foo'), ); - checkUnnamed7733(o.targetDnsIpAddresses!); + checkUnnamed7818(o.targetDnsIpAddresses!); unittest.expect( o.targetDomainName!, unittest.equals('foo'), @@ -2165,12 +2216,12 @@ void checkTrust(api.Trust o) { buildCounterTrust--; } -core.List buildUnnamed7734() => [ +core.List buildUnnamed7819() => [ buildDenyMaintenancePeriod(), buildDenyMaintenancePeriod(), ]; -void checkUnnamed7734(core.List o) { +void checkUnnamed7819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDenyMaintenancePeriod(o[0]); checkDenyMaintenancePeriod(o[1]); @@ -2182,7 +2233,7 @@ api.UpdatePolicy buildUpdatePolicy() { buildCounterUpdatePolicy++; if (buildCounterUpdatePolicy < 3) { o.channel = 'foo'; - o.denyMaintenancePeriods = buildUnnamed7734(); + o.denyMaintenancePeriods = buildUnnamed7819(); o.window = buildMaintenanceWindow(); } buildCounterUpdatePolicy--; @@ -2196,7 +2247,7 @@ void checkUpdatePolicy(api.UpdatePolicy o) { o.channel!, unittest.equals('foo'), ); - checkUnnamed7734(o.denyMaintenancePeriods!); + checkUnnamed7819(o.denyMaintenancePeriods!); checkMaintenanceWindow(o.window!); } buildCounterUpdatePolicy--; @@ -2221,12 +2272,12 @@ void checkValidateTrustRequest(api.ValidateTrustRequest o) { buildCounterValidateTrustRequest--; } -core.List buildUnnamed7735() => [ +core.List buildUnnamed7820() => [ buildSchedule(), buildSchedule(), ]; -void checkUnnamed7735(core.List o) { +void checkUnnamed7820(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchedule(o[0]); checkSchedule(o[1]); @@ -2237,7 +2288,7 @@ api.WeeklyCycle buildWeeklyCycle() { final o = api.WeeklyCycle(); buildCounterWeeklyCycle++; if (buildCounterWeeklyCycle < 3) { - o.schedule = buildUnnamed7735(); + o.schedule = buildUnnamed7820(); } buildCounterWeeklyCycle--; return o; @@ -2246,7 +2297,7 @@ api.WeeklyCycle buildWeeklyCycle() { void checkWeeklyCycle(api.WeeklyCycle o) { buildCounterWeeklyCycle++; if (buildCounterWeeklyCycle < 3) { - checkUnnamed7735(o.schedule!); + checkUnnamed7820(o.schedule!); } buildCounterWeeklyCycle--; } @@ -2494,19 +2545,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion - .fromJson(oJson as core.Map); - checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(od); - }); - }); - unittest.group( 'obj-schema-GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata', () { @@ -2560,6 +2598,16 @@ void main() { }); }); + unittest.group('obj-schema-ListPeeringsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListPeeringsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListPeeringsResponse.fromJson( + oJson as core.Map); + checkListPeeringsResponse(od); + }); + }); + unittest.group('obj-schema-ListSqlIntegrationsResponse', () { unittest.test('to-json--from-json', () async { final o = buildListSqlIntegrationsResponse(); @@ -2620,6 +2668,16 @@ void main() { }); }); + unittest.group('obj-schema-Peering', () { + unittest.test('to-json--from-json', () async { + final o = buildPeering(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Peering.fromJson(oJson as core.Map); + checkPeering(od); + }); + }); + unittest.group('obj-schema-Policy', () { unittest.test('to-json--from-json', () async { final o = buildPolicy(); @@ -4244,4 +4302,521 @@ void main() { checkListOperationsResponse(response as api.ListOperationsResponse); }); }); + + unittest.group('resource-ProjectsLocationsGlobalPeeringsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_request = buildPeering(); + final arg_parent = 'foo'; + final arg_peeringId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Peering.fromJson(json as core.Map); + checkPeering(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['peeringId']!.first, + unittest.equals(arg_peeringId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + peeringId: arg_peeringId, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPeering()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkPeering(response as api.Peering); + }); + + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_orderBy = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + queryMap['orderBy']!.first, + unittest.equals(arg_orderBy), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListPeeringsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + orderBy: arg_orderBy, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListPeeringsResponse(response as api.ListPeeringsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_request = buildPeering(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Peering.fromJson(json as core.Map); + checkPeering(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = api.ManagedServiceForMicrosoftActiveDirectoryConsumerApi(mock) + .projects + .locations + .global + .peerings; + final arg_request = buildTestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.TestIamPermissionsRequest.fromJson( + json as core.Map); + checkTestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildTestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkTestIamPermissionsResponse( + response as api.TestIamPermissionsResponse); + }); + }); } diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart index 3307d0c78..f9e42248e 100644 --- a/generated/googleapis/test/manufacturers/v1_test.dart +++ b/generated/googleapis/test/manufacturers/v1_test.dart @@ -26,23 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2188() => [ +core.List buildUnnamed2173() => [ buildImage(), buildImage(), ]; -void checkUnnamed2188(core.List o) { +void checkUnnamed2173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); } -core.List buildUnnamed2189() => [ +core.List buildUnnamed2174() => [ 'foo', 'foo', ]; -void checkUnnamed2189(core.List o) { +void checkUnnamed2174(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -54,23 +54,23 @@ void checkUnnamed2189(core.List o) { ); } -core.List buildUnnamed2190() => [ +core.List buildUnnamed2175() => [ buildFeatureDescription(), buildFeatureDescription(), ]; -void checkUnnamed2190(core.List o) { +void checkUnnamed2175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeatureDescription(o[0]); checkFeatureDescription(o[1]); } -core.List buildUnnamed2191() => [ +core.List buildUnnamed2176() => [ 'foo', 'foo', ]; -void checkUnnamed2191(core.List o) { +void checkUnnamed2176(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -82,12 +82,12 @@ void checkUnnamed2191(core.List o) { ); } -core.List buildUnnamed2192() => [ +core.List buildUnnamed2177() => [ 'foo', 'foo', ]; -void checkUnnamed2192(core.List o) { +void checkUnnamed2177(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -99,23 +99,23 @@ void checkUnnamed2192(core.List o) { ); } -core.List buildUnnamed2193() => [ +core.List buildUnnamed2178() => [ buildProductDetail(), buildProductDetail(), ]; -void checkUnnamed2193(core.List o) { +void checkUnnamed2178(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductDetail(o[0]); checkProductDetail(o[1]); } -core.List buildUnnamed2194() => [ +core.List buildUnnamed2179() => [ 'foo', 'foo', ]; -void checkUnnamed2194(core.List o) { +void checkUnnamed2179(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -127,12 +127,12 @@ void checkUnnamed2194(core.List o) { ); } -core.List buildUnnamed2195() => [ +core.List buildUnnamed2180() => [ 'foo', 'foo', ]; -void checkUnnamed2195(core.List o) { +void checkUnnamed2180(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -144,12 +144,12 @@ void checkUnnamed2195(core.List o) { ); } -core.List buildUnnamed2196() => [ +core.List buildUnnamed2181() => [ 'foo', 'foo', ]; -void checkUnnamed2196(core.List o) { +void checkUnnamed2181(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -161,12 +161,12 @@ void checkUnnamed2196(core.List o) { ); } -core.List buildUnnamed2197() => [ +core.List buildUnnamed2182() => [ 'foo', 'foo', ]; -void checkUnnamed2197(core.List o) { +void checkUnnamed2182(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -178,12 +178,12 @@ void checkUnnamed2197(core.List o) { ); } -core.List buildUnnamed2198() => [ +core.List buildUnnamed2183() => [ 'foo', 'foo', ]; -void checkUnnamed2198(core.List o) { +void checkUnnamed2183(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -200,7 +200,7 @@ api.Attributes buildAttributes() { final o = api.Attributes(); buildCounterAttributes++; if (buildCounterAttributes < 3) { - o.additionalImageLink = buildUnnamed2188(); + o.additionalImageLink = buildUnnamed2173(); o.ageGroup = 'foo'; o.brand = 'foo'; o.capacity = buildCapacity(); @@ -208,35 +208,35 @@ api.Attributes buildAttributes() { o.count = buildCount(); o.description = 'foo'; o.disclosureDate = 'foo'; - o.excludedDestination = buildUnnamed2189(); - o.featureDescription = buildUnnamed2190(); + o.excludedDestination = buildUnnamed2174(); + o.featureDescription = buildUnnamed2175(); o.flavor = 'foo'; o.format = 'foo'; o.gender = 'foo'; - o.gtin = buildUnnamed2191(); + o.gtin = buildUnnamed2176(); o.imageLink = buildImage(); - o.includedDestination = buildUnnamed2192(); + o.includedDestination = buildUnnamed2177(); o.itemGroupId = 'foo'; o.material = 'foo'; o.mpn = 'foo'; o.pattern = 'foo'; - o.productDetail = buildUnnamed2193(); - o.productHighlight = buildUnnamed2194(); + o.productDetail = buildUnnamed2178(); + o.productHighlight = buildUnnamed2179(); o.productLine = 'foo'; o.productName = 'foo'; o.productPageUrl = 'foo'; - o.productType = buildUnnamed2195(); + o.productType = buildUnnamed2180(); o.releaseDate = 'foo'; - o.richProductContent = buildUnnamed2196(); + o.richProductContent = buildUnnamed2181(); o.scent = 'foo'; o.size = 'foo'; o.sizeSystem = 'foo'; - o.sizeType = buildUnnamed2197(); + o.sizeType = buildUnnamed2182(); o.suggestedRetailPrice = buildPrice(); o.targetClientId = 'foo'; o.theme = 'foo'; o.title = 'foo'; - o.videoLink = buildUnnamed2198(); + o.videoLink = buildUnnamed2183(); } buildCounterAttributes--; return o; @@ -245,7 +245,7 @@ api.Attributes buildAttributes() { void checkAttributes(api.Attributes o) { buildCounterAttributes++; if (buildCounterAttributes < 3) { - checkUnnamed2188(o.additionalImageLink!); + checkUnnamed2173(o.additionalImageLink!); unittest.expect( o.ageGroup!, unittest.equals('foo'), @@ -268,8 +268,8 @@ void checkAttributes(api.Attributes o) { o.disclosureDate!, unittest.equals('foo'), ); - checkUnnamed2189(o.excludedDestination!); - checkUnnamed2190(o.featureDescription!); + checkUnnamed2174(o.excludedDestination!); + checkUnnamed2175(o.featureDescription!); unittest.expect( o.flavor!, unittest.equals('foo'), @@ -282,9 +282,9 @@ void checkAttributes(api.Attributes o) { o.gender!, unittest.equals('foo'), ); - checkUnnamed2191(o.gtin!); + checkUnnamed2176(o.gtin!); checkImage(o.imageLink!); - checkUnnamed2192(o.includedDestination!); + checkUnnamed2177(o.includedDestination!); unittest.expect( o.itemGroupId!, unittest.equals('foo'), @@ -301,8 +301,8 @@ void checkAttributes(api.Attributes o) { o.pattern!, unittest.equals('foo'), ); - checkUnnamed2193(o.productDetail!); - checkUnnamed2194(o.productHighlight!); + checkUnnamed2178(o.productDetail!); + checkUnnamed2179(o.productHighlight!); unittest.expect( o.productLine!, unittest.equals('foo'), @@ -315,12 +315,12 @@ void checkAttributes(api.Attributes o) { o.productPageUrl!, unittest.equals('foo'), ); - checkUnnamed2195(o.productType!); + checkUnnamed2180(o.productType!); unittest.expect( o.releaseDate!, unittest.equals('foo'), ); - checkUnnamed2196(o.richProductContent!); + checkUnnamed2181(o.richProductContent!); unittest.expect( o.scent!, unittest.equals('foo'), @@ -333,7 +333,7 @@ void checkAttributes(api.Attributes o) { o.sizeSystem!, unittest.equals('foo'), ); - checkUnnamed2197(o.sizeType!); + checkUnnamed2182(o.sizeType!); checkPrice(o.suggestedRetailPrice!); unittest.expect( o.targetClientId!, @@ -347,7 +347,7 @@ void checkAttributes(api.Attributes o) { o.title!, unittest.equals('foo'), ); - checkUnnamed2198(o.videoLink!); + checkUnnamed2183(o.videoLink!); } buildCounterAttributes--; } @@ -566,12 +566,12 @@ void checkIssue(api.Issue o) { buildCounterIssue--; } -core.List buildUnnamed2199() => [ +core.List buildUnnamed2184() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed2199(core.List o) { +void checkUnnamed2184(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -583,7 +583,7 @@ api.ListProductsResponse buildListProductsResponse() { buildCounterListProductsResponse++; if (buildCounterListProductsResponse < 3) { o.nextPageToken = 'foo'; - o.products = buildUnnamed2199(); + o.products = buildUnnamed2184(); } buildCounterListProductsResponse--; return o; @@ -596,7 +596,7 @@ void checkListProductsResponse(api.ListProductsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2199(o.products!); + checkUnnamed2184(o.products!); } buildCounterListProductsResponse--; } @@ -628,23 +628,23 @@ void checkPrice(api.Price o) { buildCounterPrice--; } -core.List buildUnnamed2200() => [ +core.List buildUnnamed2185() => [ buildDestinationStatus(), buildDestinationStatus(), ]; -void checkUnnamed2200(core.List o) { +void checkUnnamed2185(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDestinationStatus(o[0]); checkDestinationStatus(o[1]); } -core.List buildUnnamed2201() => [ +core.List buildUnnamed2186() => [ buildIssue(), buildIssue(), ]; -void checkUnnamed2201(core.List o) { +void checkUnnamed2186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIssue(o[0]); checkIssue(o[1]); @@ -657,8 +657,8 @@ api.Product buildProduct() { if (buildCounterProduct < 3) { o.attributes = buildAttributes(); o.contentLanguage = 'foo'; - o.destinationStatuses = buildUnnamed2200(); - o.issues = buildUnnamed2201(); + o.destinationStatuses = buildUnnamed2185(); + o.issues = buildUnnamed2186(); o.name = 'foo'; o.parent = 'foo'; o.productId = 'foo'; @@ -676,8 +676,8 @@ void checkProduct(api.Product o) { o.contentLanguage!, unittest.equals('foo'), ); - checkUnnamed2200(o.destinationStatuses!); - checkUnnamed2201(o.issues!); + checkUnnamed2185(o.destinationStatuses!); + checkUnnamed2186(o.issues!); unittest.expect( o.name!, unittest.equals('foo'), @@ -730,12 +730,12 @@ void checkProductDetail(api.ProductDetail o) { buildCounterProductDetail--; } -core.List buildUnnamed2202() => [ +core.List buildUnnamed2187() => [ 'foo', 'foo', ]; -void checkUnnamed2202(core.List o) { +void checkUnnamed2187(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -747,12 +747,12 @@ void checkUnnamed2202(core.List o) { ); } -core.List buildUnnamed2203() => [ +core.List buildUnnamed2188() => [ 'foo', 'foo', ]; -void checkUnnamed2203(core.List o) { +void checkUnnamed2188(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -945,7 +945,7 @@ void main() { final res = api.ManufacturerCenterApi(mock).accounts.products; final arg_parent = 'foo'; final arg_name = 'foo'; - final arg_include = buildUnnamed2202(); + final arg_include = buildUnnamed2187(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1003,7 +1003,7 @@ void main() { final mock = HttpServerMock(); final res = api.ManufacturerCenterApi(mock).accounts.products; final arg_parent = 'foo'; - final arg_include = buildUnnamed2203(); + final arg_include = buildUnnamed2188(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/memcache/v1_test.dart b/generated/googleapis/test/memcache/v1_test.dart index d04f460c7..5d866eeb5 100644 --- a/generated/googleapis/test/memcache/v1_test.dart +++ b/generated/googleapis/test/memcache/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed4413() => [ +core.List buildUnnamed4397() => [ 'foo', 'foo', ]; -void checkUnnamed4413(core.List o) { +void checkUnnamed4397(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.ApplyParametersRequest buildApplyParametersRequest() { buildCounterApplyParametersRequest++; if (buildCounterApplyParametersRequest < 3) { o.applyAll = true; - o.nodeIds = buildUnnamed4413(); + o.nodeIds = buildUnnamed4397(); } buildCounterApplyParametersRequest--; return o; @@ -59,7 +59,7 @@ void checkApplyParametersRequest(api.ApplyParametersRequest o) { buildCounterApplyParametersRequest++; if (buildCounterApplyParametersRequest < 3) { unittest.expect(o.applyAll!, unittest.isTrue); - checkUnnamed4413(o.nodeIds!); + checkUnnamed4397(o.nodeIds!); } buildCounterApplyParametersRequest--; } @@ -174,12 +174,12 @@ void checkEmpty(api.Empty o) { } core.Map - buildUnnamed4414() => { + buildUnnamed4398() => { 'x': buildGoogleCloudMemcacheV1ZoneMetadata(), 'y': buildGoogleCloudMemcacheV1ZoneMetadata(), }; -void checkUnnamed4414( +void checkUnnamed4398( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMemcacheV1ZoneMetadata(o['x']!); @@ -192,7 +192,7 @@ api.GoogleCloudMemcacheV1LocationMetadata final o = api.GoogleCloudMemcacheV1LocationMetadata(); buildCounterGoogleCloudMemcacheV1LocationMetadata++; if (buildCounterGoogleCloudMemcacheV1LocationMetadata < 3) { - o.availableZones = buildUnnamed4414(); + o.availableZones = buildUnnamed4398(); } buildCounterGoogleCloudMemcacheV1LocationMetadata--; return o; @@ -202,7 +202,7 @@ void checkGoogleCloudMemcacheV1LocationMetadata( api.GoogleCloudMemcacheV1LocationMetadata o) { buildCounterGoogleCloudMemcacheV1LocationMetadata++; if (buildCounterGoogleCloudMemcacheV1LocationMetadata < 3) { - checkUnnamed4414(o.availableZones!); + checkUnnamed4398(o.availableZones!); } buildCounterGoogleCloudMemcacheV1LocationMetadata--; } @@ -274,12 +274,12 @@ void checkGoogleCloudMemcacheV1ZoneMetadata( buildCounterGoogleCloudMemcacheV1ZoneMetadata--; } -core.Map buildUnnamed4415() => { +core.Map buildUnnamed4399() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4415(core.Map o) { +void checkUnnamed4399(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -291,12 +291,12 @@ void checkUnnamed4415(core.Map o) { ); } -core.Map buildUnnamed4416() => { +core.Map buildUnnamed4400() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4416(core.Map o) { +void checkUnnamed4400(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -310,14 +310,14 @@ void checkUnnamed4416(core.Map o) { core.Map - buildUnnamed4417() => { + buildUnnamed4401() => { 'x': buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(), 'y': buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(), }; -void checkUnnamed4417( +void checkUnnamed4401( core.Map o) { @@ -328,12 +328,12 @@ void checkUnnamed4417( o['y']!); } -core.Map buildUnnamed4418() => { +core.Map buildUnnamed4402() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4418(core.Map o) { +void checkUnnamed4402(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -347,12 +347,12 @@ void checkUnnamed4418(core.Map o) { core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource> - buildUnnamed4419() => [ + buildUnnamed4403() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(), buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(), ]; -void checkUnnamed4419( +void checkUnnamed4403( core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource> o) { @@ -361,12 +361,12 @@ void checkUnnamed4419( checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]); } -core.Map buildUnnamed4420() => { +core.Map buildUnnamed4404() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4420(core.Map o) { +void checkUnnamed4404(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -387,18 +387,18 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1Instance if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) { o.consumerDefinedName = 'foo'; o.createTime = 'foo'; - o.labels = buildUnnamed4415(); - o.maintenancePolicyNames = buildUnnamed4416(); - o.maintenanceSchedules = buildUnnamed4417(); + o.labels = buildUnnamed4399(); + o.maintenancePolicyNames = buildUnnamed4400(); + o.maintenanceSchedules = buildUnnamed4401(); o.maintenanceSettings = buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings(); o.name = 'foo'; - o.producerMetadata = buildUnnamed4418(); - o.provisionedResources = buildUnnamed4419(); + o.producerMetadata = buildUnnamed4402(); + o.provisionedResources = buildUnnamed4403(); o.slmInstanceTemplate = 'foo'; o.sloMetadata = buildGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata(); - o.softwareVersions = buildUnnamed4420(); + o.softwareVersions = buildUnnamed4404(); o.state = 'foo'; o.tenantProjectId = 'foo'; o.updateTime = 'foo'; @@ -419,24 +419,24 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1Instance( o.createTime!, unittest.equals('foo'), ); - checkUnnamed4415(o.labels!); - checkUnnamed4416(o.maintenancePolicyNames!); - checkUnnamed4417(o.maintenanceSchedules!); + checkUnnamed4399(o.labels!); + checkUnnamed4400(o.maintenancePolicyNames!); + checkUnnamed4401(o.maintenanceSchedules!); checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( o.maintenanceSettings!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4418(o.producerMetadata!); - checkUnnamed4419(o.provisionedResources!); + checkUnnamed4402(o.producerMetadata!); + checkUnnamed4403(o.provisionedResources!); unittest.expect( o.slmInstanceTemplate!, unittest.equals('foo'), ); checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( o.sloMetadata!); - checkUnnamed4420(o.softwareVersions!); + checkUnnamed4404(o.softwareVersions!); unittest.expect( o.state!, unittest.equals('foo'), @@ -499,12 +499,12 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule--; } -core.Map buildUnnamed4421() => { +core.Map buildUnnamed4405() => { 'x': buildMaintenancePolicy(), 'y': buildMaintenancePolicy(), }; -void checkUnnamed4421(core.Map o) { +void checkUnnamed4405(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkMaintenancePolicy(o['x']!); checkMaintenancePolicy(o['y']!); @@ -522,7 +522,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings 3) { o.exclude = true; o.isRollback = true; - o.maintenancePolicies = buildUnnamed4421(); + o.maintenancePolicies = buildUnnamed4405(); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--; return o; @@ -535,18 +535,18 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings( 3) { unittest.expect(o.exclude!, unittest.isTrue); unittest.expect(o.isRollback!, unittest.isTrue); - checkUnnamed4421(o.maintenancePolicies!); + checkUnnamed4405(o.maintenancePolicies!); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--; } core.List - buildUnnamed4422() => [ + buildUnnamed4406() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), ]; -void checkUnnamed4422( +void checkUnnamed4406( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -564,7 +564,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata < 3) { - o.exclusions = buildUnnamed4422(); + o.exclusions = buildUnnamed4406(); o.location = 'foo'; o.nodeId = 'foo'; o.perSliEligibility = @@ -579,7 +579,7 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata < 3) { - checkUnnamed4422(o.exclusions!); + checkUnnamed4406(o.exclusions!); unittest.expect( o.location!, unittest.equals('foo'), @@ -596,14 +596,14 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata( core.Map - buildUnnamed4423() => { + buildUnnamed4407() => { 'x': buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(), 'y': buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(), }; -void checkUnnamed4423( +void checkUnnamed4407( core.Map o) { @@ -622,7 +622,7 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility < 3) { - o.eligibilities = buildUnnamed4423(); + o.eligibilities = buildUnnamed4407(); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility--; return o; @@ -633,7 +633,7 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility < 3) { - checkUnnamed4423(o.eligibilities!); + checkUnnamed4407(o.eligibilities!); } buildCounterGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility--; } @@ -745,12 +745,12 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion( } core.List - buildUnnamed4424() => [ + buildUnnamed4408() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(), ]; -void checkUnnamed4424( +void checkUnnamed4408( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -759,12 +759,12 @@ void checkUnnamed4424( } core.List - buildUnnamed4425() => [ + buildUnnamed4409() => [ buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(), buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(), ]; -void checkUnnamed4425( +void checkUnnamed4409( core.List< api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata> o) { @@ -781,8 +781,8 @@ api.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata < 3) { - o.exclusions = buildUnnamed4424(); - o.nodes = buildUnnamed4425(); + o.exclusions = buildUnnamed4408(); + o.nodes = buildUnnamed4409(); o.perSliEligibility = buildGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility(); o.tier = 'foo'; @@ -796,8 +796,8 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata++; if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata < 3) { - checkUnnamed4424(o.exclusions!); - checkUnnamed4425(o.nodes!); + checkUnnamed4408(o.exclusions!); + checkUnnamed4409(o.nodes!); checkGoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility( o.perSliEligibility!); unittest.expect( @@ -808,23 +808,23 @@ void checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata( buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata--; } -core.List buildUnnamed4426() => [ +core.List buildUnnamed4410() => [ buildInstanceMessage(), buildInstanceMessage(), ]; -void checkUnnamed4426(core.List o) { +void checkUnnamed4410(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceMessage(o[0]); checkInstanceMessage(o[1]); } -core.Map buildUnnamed4427() => { +core.Map buildUnnamed4411() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4427(core.Map o) { +void checkUnnamed4411(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -836,23 +836,23 @@ void checkUnnamed4427(core.Map o) { ); } -core.List buildUnnamed4428() => [ +core.List buildUnnamed4412() => [ buildNode(), buildNode(), ]; -void checkUnnamed4428(core.List o) { +void checkUnnamed4412(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNode(o[0]); checkNode(o[1]); } -core.List buildUnnamed4429() => [ +core.List buildUnnamed4413() => [ 'foo', 'foo', ]; -void checkUnnamed4429(core.List o) { +void checkUnnamed4413(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -873,10 +873,10 @@ api.Instance buildInstance() { o.createTime = 'foo'; o.discoveryEndpoint = 'foo'; o.displayName = 'foo'; - o.instanceMessages = buildUnnamed4426(); - o.labels = buildUnnamed4427(); + o.instanceMessages = buildUnnamed4410(); + o.labels = buildUnnamed4411(); o.memcacheFullVersion = 'foo'; - o.memcacheNodes = buildUnnamed4428(); + o.memcacheNodes = buildUnnamed4412(); o.memcacheVersion = 'foo'; o.name = 'foo'; o.nodeConfig = buildNodeConfig(); @@ -884,7 +884,7 @@ api.Instance buildInstance() { o.parameters = buildMemcacheParameters(); o.state = 'foo'; o.updateTime = 'foo'; - o.zones = buildUnnamed4429(); + o.zones = buildUnnamed4413(); } buildCounterInstance--; return o; @@ -909,13 +909,13 @@ void checkInstance(api.Instance o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4426(o.instanceMessages!); - checkUnnamed4427(o.labels!); + checkUnnamed4410(o.instanceMessages!); + checkUnnamed4411(o.labels!); unittest.expect( o.memcacheFullVersion!, unittest.equals('foo'), ); - checkUnnamed4428(o.memcacheNodes!); + checkUnnamed4412(o.memcacheNodes!); unittest.expect( o.memcacheVersion!, unittest.equals('foo'), @@ -938,7 +938,7 @@ void checkInstance(api.Instance o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed4429(o.zones!); + checkUnnamed4413(o.zones!); } buildCounterInstance--; } @@ -970,23 +970,23 @@ void checkInstanceMessage(api.InstanceMessage o) { buildCounterInstanceMessage--; } -core.List buildUnnamed4430() => [ +core.List buildUnnamed4414() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed4430(core.List o) { +void checkUnnamed4414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); } -core.List buildUnnamed4431() => [ +core.List buildUnnamed4415() => [ 'foo', 'foo', ]; -void checkUnnamed4431(core.List o) { +void checkUnnamed4415(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1003,9 +1003,9 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed4430(); + o.instances = buildUnnamed4414(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed4431(); + o.unreachable = buildUnnamed4415(); } buildCounterListInstancesResponse--; return o; @@ -1014,22 +1014,22 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed4430(o.instances!); + checkUnnamed4414(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4431(o.unreachable!); + checkUnnamed4415(o.unreachable!); } buildCounterListInstancesResponse--; } -core.List buildUnnamed4432() => [ +core.List buildUnnamed4416() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed4432(core.List o) { +void checkUnnamed4416(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1040,7 +1040,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed4432(); + o.locations = buildUnnamed4416(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1050,7 +1050,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed4432(o.locations!); + checkUnnamed4416(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1059,12 +1059,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed4433() => [ +core.List buildUnnamed4417() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4433(core.List o) { +void checkUnnamed4417(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1076,7 +1076,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4433(); + o.operations = buildUnnamed4417(); } buildCounterListOperationsResponse--; return o; @@ -1089,17 +1089,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4433(o.operations!); + checkUnnamed4417(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed4434() => { +core.Map buildUnnamed4418() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4434(core.Map o) { +void checkUnnamed4418(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1111,7 +1111,7 @@ void checkUnnamed4434(core.Map o) { ); } -core.Map buildUnnamed4435() => { +core.Map buildUnnamed4419() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1124,7 +1124,7 @@ core.Map buildUnnamed4435() => { }, }; -void checkUnnamed4435(core.Map o) { +void checkUnnamed4419(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1162,9 +1162,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed4434(); + o.labels = buildUnnamed4418(); o.locationId = 'foo'; - o.metadata = buildUnnamed4435(); + o.metadata = buildUnnamed4419(); o.name = 'foo'; } buildCounterLocation--; @@ -1178,12 +1178,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4434(o.labels!); + checkUnnamed4418(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed4435(o.metadata!); + checkUnnamed4419(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1192,12 +1192,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed4436() => { +core.Map buildUnnamed4420() => { 'x': buildZoneMetadata(), 'y': buildZoneMetadata(), }; -void checkUnnamed4436(core.Map o) { +void checkUnnamed4420(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkZoneMetadata(o['x']!); checkZoneMetadata(o['y']!); @@ -1208,7 +1208,7 @@ api.LocationMetadata buildLocationMetadata() { final o = api.LocationMetadata(); buildCounterLocationMetadata++; if (buildCounterLocationMetadata < 3) { - o.availableZones = buildUnnamed4436(); + o.availableZones = buildUnnamed4420(); } buildCounterLocationMetadata--; return o; @@ -1217,17 +1217,17 @@ api.LocationMetadata buildLocationMetadata() { void checkLocationMetadata(api.LocationMetadata o) { buildCounterLocationMetadata++; if (buildCounterLocationMetadata < 3) { - checkUnnamed4436(o.availableZones!); + checkUnnamed4420(o.availableZones!); } buildCounterLocationMetadata--; } -core.Map buildUnnamed4437() => { +core.Map buildUnnamed4421() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4437(core.Map o) { +void checkUnnamed4421(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1246,7 +1246,7 @@ api.MaintenancePolicy buildMaintenancePolicy() { if (buildCounterMaintenancePolicy < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed4437(); + o.labels = buildUnnamed4421(); o.name = 'foo'; o.state = 'foo'; o.updatePolicy = buildUpdatePolicy(); @@ -1267,7 +1267,7 @@ void checkMaintenancePolicy(api.MaintenancePolicy o) { o.description!, unittest.equals('foo'), ); - checkUnnamed4437(o.labels!); + checkUnnamed4421(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1306,12 +1306,12 @@ void checkMaintenanceWindow(api.MaintenanceWindow o) { buildCounterMaintenanceWindow--; } -core.Map buildUnnamed4438() => { +core.Map buildUnnamed4422() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4438(core.Map o) { +void checkUnnamed4422(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1329,7 +1329,7 @@ api.MemcacheParameters buildMemcacheParameters() { buildCounterMemcacheParameters++; if (buildCounterMemcacheParameters < 3) { o.id = 'foo'; - o.params = buildUnnamed4438(); + o.params = buildUnnamed4422(); } buildCounterMemcacheParameters--; return o; @@ -1342,7 +1342,7 @@ void checkMemcacheParameters(api.MemcacheParameters o) { o.id!, unittest.equals('foo'), ); - checkUnnamed4438(o.params!); + checkUnnamed4422(o.params!); } buildCounterMemcacheParameters--; } @@ -1418,7 +1418,7 @@ void checkNodeConfig(api.NodeConfig o) { buildCounterNodeConfig--; } -core.Map buildUnnamed4439() => { +core.Map buildUnnamed4423() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1431,7 +1431,7 @@ core.Map buildUnnamed4439() => { }, }; -void checkUnnamed4439(core.Map o) { +void checkUnnamed4423(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1463,7 +1463,7 @@ void checkUnnamed4439(core.Map o) { ); } -core.Map buildUnnamed4440() => { +core.Map buildUnnamed4424() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1476,7 +1476,7 @@ core.Map buildUnnamed4440() => { }, }; -void checkUnnamed4440(core.Map o) { +void checkUnnamed4424(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1515,9 +1515,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4439(); + o.metadata = buildUnnamed4423(); o.name = 'foo'; - o.response = buildUnnamed4440(); + o.response = buildUnnamed4424(); } buildCounterOperation--; return o; @@ -1528,12 +1528,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4439(o.metadata!); + checkUnnamed4423(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4440(o.response!); + checkUnnamed4424(o.response!); } buildCounterOperation--; } @@ -1616,7 +1616,7 @@ void checkSchedule(api.Schedule o) { buildCounterSchedule--; } -core.Map buildUnnamed4441() => { +core.Map buildUnnamed4425() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1629,7 +1629,7 @@ core.Map buildUnnamed4441() => { }, }; -void checkUnnamed4441(core.Map o) { +void checkUnnamed4425(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1661,15 +1661,15 @@ void checkUnnamed4441(core.Map o) { ); } -core.List> buildUnnamed4442() => [ - buildUnnamed4441(), - buildUnnamed4441(), +core.List> buildUnnamed4426() => [ + buildUnnamed4425(), + buildUnnamed4425(), ]; -void checkUnnamed4442(core.List> o) { +void checkUnnamed4426(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4441(o[0]); - checkUnnamed4441(o[1]); + checkUnnamed4425(o[0]); + checkUnnamed4425(o[1]); } core.int buildCounterStatus = 0; @@ -1678,7 +1678,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4442(); + o.details = buildUnnamed4426(); o.message = 'foo'; } buildCounterStatus--; @@ -1692,7 +1692,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4442(o.details!); + checkUnnamed4426(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1762,12 +1762,12 @@ void checkUpdateParametersRequest(api.UpdateParametersRequest o) { buildCounterUpdateParametersRequest--; } -core.List buildUnnamed4443() => [ +core.List buildUnnamed4427() => [ buildDenyMaintenancePeriod(), buildDenyMaintenancePeriod(), ]; -void checkUnnamed4443(core.List o) { +void checkUnnamed4427(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDenyMaintenancePeriod(o[0]); checkDenyMaintenancePeriod(o[1]); @@ -1779,7 +1779,7 @@ api.UpdatePolicy buildUpdatePolicy() { buildCounterUpdatePolicy++; if (buildCounterUpdatePolicy < 3) { o.channel = 'foo'; - o.denyMaintenancePeriods = buildUnnamed4443(); + o.denyMaintenancePeriods = buildUnnamed4427(); o.window = buildMaintenanceWindow(); } buildCounterUpdatePolicy--; @@ -1793,18 +1793,18 @@ void checkUpdatePolicy(api.UpdatePolicy o) { o.channel!, unittest.equals('foo'), ); - checkUnnamed4443(o.denyMaintenancePeriods!); + checkUnnamed4427(o.denyMaintenancePeriods!); checkMaintenanceWindow(o.window!); } buildCounterUpdatePolicy--; } -core.List buildUnnamed4444() => [ +core.List buildUnnamed4428() => [ buildSchedule(), buildSchedule(), ]; -void checkUnnamed4444(core.List o) { +void checkUnnamed4428(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchedule(o[0]); checkSchedule(o[1]); @@ -1815,7 +1815,7 @@ api.WeeklyCycle buildWeeklyCycle() { final o = api.WeeklyCycle(); buildCounterWeeklyCycle++; if (buildCounterWeeklyCycle < 3) { - o.schedule = buildUnnamed4444(); + o.schedule = buildUnnamed4428(); } buildCounterWeeklyCycle--; return o; @@ -1824,7 +1824,7 @@ api.WeeklyCycle buildWeeklyCycle() { void checkWeeklyCycle(api.WeeklyCycle o) { buildCounterWeeklyCycle++; if (buildCounterWeeklyCycle < 3) { - checkUnnamed4444(o.schedule!); + checkUnnamed4428(o.schedule!); } buildCounterWeeklyCycle--; } diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart index 0d4d7ea0c..7b479c5c6 100644 --- a/generated/googleapis/test/ml/v1_test.dart +++ b/generated/googleapis/test/ml/v1_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed7464() => { +core.Map buildUnnamed7544() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.Map buildUnnamed7464() => { }, }; -void checkUnnamed7464(core.Map o) { +void checkUnnamed7544(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -71,15 +71,15 @@ void checkUnnamed7464(core.Map o) { ); } -core.List> buildUnnamed7465() => [ - buildUnnamed7464(), - buildUnnamed7464(), +core.List> buildUnnamed7545() => [ + buildUnnamed7544(), + buildUnnamed7544(), ]; -void checkUnnamed7465(core.List> o) { +void checkUnnamed7545(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7464(o[0]); - checkUnnamed7464(o[1]); + checkUnnamed7544(o[0]); + checkUnnamed7544(o[1]); } core.int buildCounterGoogleApiHttpBody = 0; @@ -89,7 +89,7 @@ api.GoogleApiHttpBody buildGoogleApiHttpBody() { if (buildCounterGoogleApiHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed7465(); + o.extensions = buildUnnamed7545(); } buildCounterGoogleApiHttpBody--; return o; @@ -106,7 +106,7 @@ void checkGoogleApiHttpBody(api.GoogleApiHttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed7465(o.extensions!); + checkUnnamed7545(o.extensions!); } buildCounterGoogleApiHttpBody--; } @@ -222,12 +222,12 @@ void checkGoogleCloudMlV1MeasurementMetric( buildCounterGoogleCloudMlV1MeasurementMetric--; } -core.List buildUnnamed7466() => [ +core.List buildUnnamed7546() => [ 'foo', 'foo', ]; -void checkUnnamed7466(core.List o) { +void checkUnnamed7546(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -247,7 +247,7 @@ api.GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec < 3) { - o.values = buildUnnamed7466(); + o.values = buildUnnamed7546(); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec--; return o; @@ -258,17 +258,17 @@ void checkGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec( buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec < 3) { - checkUnnamed7466(o.values!); + checkUnnamed7546(o.values!); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec--; } -core.List buildUnnamed7467() => [ +core.List buildUnnamed7547() => [ 42.0, 42.0, ]; -void checkUnnamed7467(core.List o) { +void checkUnnamed7547(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -288,7 +288,7 @@ api.GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec < 3) { - o.values = buildUnnamed7467(); + o.values = buildUnnamed7547(); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec--; return o; @@ -299,7 +299,7 @@ void checkGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec( buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec < 3) { - checkUnnamed7467(o.values!); + checkUnnamed7547(o.values!); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec--; } @@ -363,12 +363,12 @@ void checkGoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec( buildCounterGoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec--; } -core.List buildUnnamed7468() => [ +core.List buildUnnamed7548() => [ 'foo', 'foo', ]; -void checkUnnamed7468(core.List o) { +void checkUnnamed7548(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -390,7 +390,7 @@ api.GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec < 3) { - o.values = buildUnnamed7468(); + o.values = buildUnnamed7548(); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec--; return o; @@ -402,17 +402,17 @@ void checkGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueS buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec < 3) { - checkUnnamed7468(o.values!); + checkUnnamed7548(o.values!); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec--; } -core.List buildUnnamed7469() => [ +core.List buildUnnamed7549() => [ 42.0, 42.0, ]; -void checkUnnamed7469(core.List o) { +void checkUnnamed7549(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -434,7 +434,7 @@ api.GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec < 3) { - o.values = buildUnnamed7469(); + o.values = buildUnnamed7549(); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec--; return o; @@ -446,17 +446,17 @@ void checkGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec < 3) { - checkUnnamed7469(o.values!); + checkUnnamed7549(o.values!); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec--; } -core.List buildUnnamed7470() => [ +core.List buildUnnamed7550() => [ 'foo', 'foo', ]; -void checkUnnamed7470(core.List o) { +void checkUnnamed7550(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -478,7 +478,7 @@ api.GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec < 3) { - o.values = buildUnnamed7470(); + o.values = buildUnnamed7550(); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec--; return o; @@ -489,7 +489,7 @@ void checkGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec( buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec++; if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec < 3) { - checkUnnamed7470(o.values!); + checkUnnamed7550(o.values!); } buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec--; } @@ -523,12 +523,12 @@ void checkGoogleCloudMlV1StudyConfigMetricSpec( buildCounterGoogleCloudMlV1StudyConfigMetricSpec--; } -core.List buildUnnamed7471() => [ +core.List buildUnnamed7551() => [ buildGoogleCloudMlV1StudyConfigParameterSpec(), buildGoogleCloudMlV1StudyConfigParameterSpec(), ]; -void checkUnnamed7471( +void checkUnnamed7551( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1StudyConfigParameterSpec(o[0]); @@ -543,7 +543,7 @@ api.GoogleCloudMlV1StudyConfigParameterSpec if (buildCounterGoogleCloudMlV1StudyConfigParameterSpec < 3) { o.categoricalValueSpec = buildGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec(); - o.childParameterSpecs = buildUnnamed7471(); + o.childParameterSpecs = buildUnnamed7551(); o.discreteValueSpec = buildGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec(); o.doubleValueSpec = @@ -570,7 +570,7 @@ void checkGoogleCloudMlV1StudyConfigParameterSpec( if (buildCounterGoogleCloudMlV1StudyConfigParameterSpec < 3) { checkGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec( o.categoricalValueSpec!); - checkUnnamed7471(o.childParameterSpecs!); + checkUnnamed7551(o.childParameterSpecs!); checkGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec( o.discreteValueSpec!); checkGoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec( @@ -685,12 +685,12 @@ void checkGoogleCloudMlV1AddTrialMeasurementRequest( buildCounterGoogleCloudMlV1AddTrialMeasurementRequest--; } -core.List buildUnnamed7472() => [ +core.List buildUnnamed7552() => [ buildGoogleCloudMlV1MetricSpec(), buildGoogleCloudMlV1MetricSpec(), ]; -void checkUnnamed7472(core.List o) { +void checkUnnamed7552(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1MetricSpec(o[0]); checkGoogleCloudMlV1MetricSpec(o[1]); @@ -702,7 +702,7 @@ api.GoogleCloudMlV1AutoScaling buildGoogleCloudMlV1AutoScaling() { buildCounterGoogleCloudMlV1AutoScaling++; if (buildCounterGoogleCloudMlV1AutoScaling < 3) { o.maxNodes = 42; - o.metrics = buildUnnamed7472(); + o.metrics = buildUnnamed7552(); o.minNodes = 42; } buildCounterGoogleCloudMlV1AutoScaling--; @@ -716,7 +716,7 @@ void checkGoogleCloudMlV1AutoScaling(api.GoogleCloudMlV1AutoScaling o) { o.maxNodes!, unittest.equals(42), ); - checkUnnamed7472(o.metrics!); + checkUnnamed7552(o.metrics!); unittest.expect( o.minNodes!, unittest.equals(42), @@ -807,12 +807,12 @@ void checkGoogleCloudMlV1CancelJobRequest( buildCounterGoogleCloudMlV1CancelJobRequest--; } -core.List buildUnnamed7473() => [ +core.List buildUnnamed7553() => [ 'foo', 'foo', ]; -void checkUnnamed7473(core.List o) { +void checkUnnamed7553(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -829,7 +829,7 @@ api.GoogleCloudMlV1Capability buildGoogleCloudMlV1Capability() { final o = api.GoogleCloudMlV1Capability(); buildCounterGoogleCloudMlV1Capability++; if (buildCounterGoogleCloudMlV1Capability < 3) { - o.availableAccelerators = buildUnnamed7473(); + o.availableAccelerators = buildUnnamed7553(); o.type = 'foo'; } buildCounterGoogleCloudMlV1Capability--; @@ -839,7 +839,7 @@ api.GoogleCloudMlV1Capability buildGoogleCloudMlV1Capability() { void checkGoogleCloudMlV1Capability(api.GoogleCloudMlV1Capability o) { buildCounterGoogleCloudMlV1Capability++; if (buildCounterGoogleCloudMlV1Capability < 3) { - checkUnnamed7473(o.availableAccelerators!); + checkUnnamed7553(o.availableAccelerators!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1002,12 +1002,12 @@ void checkGoogleCloudMlV1ContainerPort(api.GoogleCloudMlV1ContainerPort o) { buildCounterGoogleCloudMlV1ContainerPort--; } -core.List buildUnnamed7474() => [ +core.List buildUnnamed7554() => [ 'foo', 'foo', ]; -void checkUnnamed7474(core.List o) { +void checkUnnamed7554(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1019,12 +1019,12 @@ void checkUnnamed7474(core.List o) { ); } -core.List buildUnnamed7475() => [ +core.List buildUnnamed7555() => [ 'foo', 'foo', ]; -void checkUnnamed7475(core.List o) { +void checkUnnamed7555(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1036,23 +1036,23 @@ void checkUnnamed7475(core.List o) { ); } -core.List buildUnnamed7476() => [ +core.List buildUnnamed7556() => [ buildGoogleCloudMlV1EnvVar(), buildGoogleCloudMlV1EnvVar(), ]; -void checkUnnamed7476(core.List o) { +void checkUnnamed7556(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1EnvVar(o[0]); checkGoogleCloudMlV1EnvVar(o[1]); } -core.List buildUnnamed7477() => [ +core.List buildUnnamed7557() => [ buildGoogleCloudMlV1ContainerPort(), buildGoogleCloudMlV1ContainerPort(), ]; -void checkUnnamed7477(core.List o) { +void checkUnnamed7557(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1ContainerPort(o[0]); checkGoogleCloudMlV1ContainerPort(o[1]); @@ -1063,11 +1063,11 @@ api.GoogleCloudMlV1ContainerSpec buildGoogleCloudMlV1ContainerSpec() { final o = api.GoogleCloudMlV1ContainerSpec(); buildCounterGoogleCloudMlV1ContainerSpec++; if (buildCounterGoogleCloudMlV1ContainerSpec < 3) { - o.args = buildUnnamed7474(); - o.command = buildUnnamed7475(); - o.env = buildUnnamed7476(); + o.args = buildUnnamed7554(); + o.command = buildUnnamed7555(); + o.env = buildUnnamed7556(); o.image = 'foo'; - o.ports = buildUnnamed7477(); + o.ports = buildUnnamed7557(); } buildCounterGoogleCloudMlV1ContainerSpec--; return o; @@ -1076,14 +1076,14 @@ api.GoogleCloudMlV1ContainerSpec buildGoogleCloudMlV1ContainerSpec() { void checkGoogleCloudMlV1ContainerSpec(api.GoogleCloudMlV1ContainerSpec o) { buildCounterGoogleCloudMlV1ContainerSpec++; if (buildCounterGoogleCloudMlV1ContainerSpec < 3) { - checkUnnamed7474(o.args!); - checkUnnamed7475(o.command!); - checkUnnamed7476(o.env!); + checkUnnamed7554(o.args!); + checkUnnamed7555(o.command!); + checkUnnamed7556(o.env!); unittest.expect( o.image!, unittest.equals('foo'), ); - checkUnnamed7477(o.ports!); + checkUnnamed7557(o.ports!); } buildCounterGoogleCloudMlV1ContainerSpec--; } @@ -1242,24 +1242,24 @@ void checkGoogleCloudMlV1GetConfigResponse( } core.List - buildUnnamed7478() => [ + buildUnnamed7558() => [ buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(), buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(), ]; -void checkUnnamed7478( +void checkUnnamed7558( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[0]); checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[1]); } -core.Map buildUnnamed7479() => { +core.Map buildUnnamed7559() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7479(core.Map o) { +void checkUnnamed7559(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1271,12 +1271,12 @@ void checkUnnamed7479(core.Map o) { ); } -core.Map buildUnnamed7480() => { +core.Map buildUnnamed7560() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7480(core.Map o) { +void checkUnnamed7560(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1294,17 +1294,17 @@ api.GoogleCloudMlV1HyperparameterOutput final o = api.GoogleCloudMlV1HyperparameterOutput(); buildCounterGoogleCloudMlV1HyperparameterOutput++; if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) { - o.allMetrics = buildUnnamed7478(); + o.allMetrics = buildUnnamed7558(); o.builtInAlgorithmOutput = buildGoogleCloudMlV1BuiltInAlgorithmOutput(); o.endTime = 'foo'; o.finalMetric = buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(); - o.hyperparameters = buildUnnamed7479(); + o.hyperparameters = buildUnnamed7559(); o.isTrialStoppedEarly = true; o.startTime = 'foo'; o.state = 'foo'; o.trialId = 'foo'; - o.webAccessUris = buildUnnamed7480(); + o.webAccessUris = buildUnnamed7560(); } buildCounterGoogleCloudMlV1HyperparameterOutput--; return o; @@ -1314,7 +1314,7 @@ void checkGoogleCloudMlV1HyperparameterOutput( api.GoogleCloudMlV1HyperparameterOutput o) { buildCounterGoogleCloudMlV1HyperparameterOutput++; if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) { - checkUnnamed7478(o.allMetrics!); + checkUnnamed7558(o.allMetrics!); checkGoogleCloudMlV1BuiltInAlgorithmOutput(o.builtInAlgorithmOutput!); unittest.expect( o.endTime!, @@ -1322,7 +1322,7 @@ void checkGoogleCloudMlV1HyperparameterOutput( ); checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric( o.finalMetric!); - checkUnnamed7479(o.hyperparameters!); + checkUnnamed7559(o.hyperparameters!); unittest.expect(o.isTrialStoppedEarly!, unittest.isTrue); unittest.expect( o.startTime!, @@ -1336,17 +1336,17 @@ void checkGoogleCloudMlV1HyperparameterOutput( o.trialId!, unittest.equals('foo'), ); - checkUnnamed7480(o.webAccessUris!); + checkUnnamed7560(o.webAccessUris!); } buildCounterGoogleCloudMlV1HyperparameterOutput--; } -core.List buildUnnamed7481() => [ +core.List buildUnnamed7561() => [ buildGoogleCloudMlV1ParameterSpec(), buildGoogleCloudMlV1ParameterSpec(), ]; -void checkUnnamed7481(core.List o) { +void checkUnnamed7561(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1ParameterSpec(o[0]); checkGoogleCloudMlV1ParameterSpec(o[1]); @@ -1364,7 +1364,7 @@ api.GoogleCloudMlV1HyperparameterSpec buildGoogleCloudMlV1HyperparameterSpec() { o.maxFailedTrials = 42; o.maxParallelTrials = 42; o.maxTrials = 42; - o.params = buildUnnamed7481(); + o.params = buildUnnamed7561(); o.resumePreviousJobId = 'foo'; } buildCounterGoogleCloudMlV1HyperparameterSpec--; @@ -1400,7 +1400,7 @@ void checkGoogleCloudMlV1HyperparameterSpec( o.maxTrials!, unittest.equals(42), ); - checkUnnamed7481(o.params!); + checkUnnamed7561(o.params!); unittest.expect( o.resumePreviousJobId!, unittest.equals('foo'), @@ -1433,12 +1433,12 @@ void checkGoogleCloudMlV1IntegratedGradientsAttribution( buildCounterGoogleCloudMlV1IntegratedGradientsAttribution--; } -core.Map buildUnnamed7482() => { +core.Map buildUnnamed7562() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7482(core.Map o) { +void checkUnnamed7562(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1460,7 +1460,7 @@ api.GoogleCloudMlV1Job buildGoogleCloudMlV1Job() { o.errorMessage = 'foo'; o.etag = 'foo'; o.jobId = 'foo'; - o.labels = buildUnnamed7482(); + o.labels = buildUnnamed7562(); o.predictionInput = buildGoogleCloudMlV1PredictionInput(); o.predictionOutput = buildGoogleCloudMlV1PredictionOutput(); o.startTime = 'foo'; @@ -1495,7 +1495,7 @@ void checkGoogleCloudMlV1Job(api.GoogleCloudMlV1Job o) { o.jobId!, unittest.equals('foo'), ); - checkUnnamed7482(o.labels!); + checkUnnamed7562(o.labels!); checkGoogleCloudMlV1PredictionInput(o.predictionInput!); checkGoogleCloudMlV1PredictionOutput(o.predictionOutput!); unittest.expect( @@ -1512,12 +1512,12 @@ void checkGoogleCloudMlV1Job(api.GoogleCloudMlV1Job o) { buildCounterGoogleCloudMlV1Job--; } -core.List buildUnnamed7483() => [ +core.List buildUnnamed7563() => [ buildGoogleCloudMlV1Job(), buildGoogleCloudMlV1Job(), ]; -void checkUnnamed7483(core.List o) { +void checkUnnamed7563(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Job(o[0]); checkGoogleCloudMlV1Job(o[1]); @@ -1528,7 +1528,7 @@ api.GoogleCloudMlV1ListJobsResponse buildGoogleCloudMlV1ListJobsResponse() { final o = api.GoogleCloudMlV1ListJobsResponse(); buildCounterGoogleCloudMlV1ListJobsResponse++; if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) { - o.jobs = buildUnnamed7483(); + o.jobs = buildUnnamed7563(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudMlV1ListJobsResponse--; @@ -1539,7 +1539,7 @@ void checkGoogleCloudMlV1ListJobsResponse( api.GoogleCloudMlV1ListJobsResponse o) { buildCounterGoogleCloudMlV1ListJobsResponse++; if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) { - checkUnnamed7483(o.jobs!); + checkUnnamed7563(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1548,12 +1548,12 @@ void checkGoogleCloudMlV1ListJobsResponse( buildCounterGoogleCloudMlV1ListJobsResponse--; } -core.List buildUnnamed7484() => [ +core.List buildUnnamed7564() => [ buildGoogleCloudMlV1Location(), buildGoogleCloudMlV1Location(), ]; -void checkUnnamed7484(core.List o) { +void checkUnnamed7564(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Location(o[0]); checkGoogleCloudMlV1Location(o[1]); @@ -1565,7 +1565,7 @@ api.GoogleCloudMlV1ListLocationsResponse final o = api.GoogleCloudMlV1ListLocationsResponse(); buildCounterGoogleCloudMlV1ListLocationsResponse++; if (buildCounterGoogleCloudMlV1ListLocationsResponse < 3) { - o.locations = buildUnnamed7484(); + o.locations = buildUnnamed7564(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudMlV1ListLocationsResponse--; @@ -1576,7 +1576,7 @@ void checkGoogleCloudMlV1ListLocationsResponse( api.GoogleCloudMlV1ListLocationsResponse o) { buildCounterGoogleCloudMlV1ListLocationsResponse++; if (buildCounterGoogleCloudMlV1ListLocationsResponse < 3) { - checkUnnamed7484(o.locations!); + checkUnnamed7564(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1585,12 +1585,12 @@ void checkGoogleCloudMlV1ListLocationsResponse( buildCounterGoogleCloudMlV1ListLocationsResponse--; } -core.List buildUnnamed7485() => [ +core.List buildUnnamed7565() => [ buildGoogleCloudMlV1Model(), buildGoogleCloudMlV1Model(), ]; -void checkUnnamed7485(core.List o) { +void checkUnnamed7565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Model(o[0]); checkGoogleCloudMlV1Model(o[1]); @@ -1601,7 +1601,7 @@ api.GoogleCloudMlV1ListModelsResponse buildGoogleCloudMlV1ListModelsResponse() { final o = api.GoogleCloudMlV1ListModelsResponse(); buildCounterGoogleCloudMlV1ListModelsResponse++; if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) { - o.models = buildUnnamed7485(); + o.models = buildUnnamed7565(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudMlV1ListModelsResponse--; @@ -1612,7 +1612,7 @@ void checkGoogleCloudMlV1ListModelsResponse( api.GoogleCloudMlV1ListModelsResponse o) { buildCounterGoogleCloudMlV1ListModelsResponse++; if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) { - checkUnnamed7485(o.models!); + checkUnnamed7565(o.models!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1638,12 +1638,12 @@ void checkGoogleCloudMlV1ListOptimalTrialsRequest( buildCounterGoogleCloudMlV1ListOptimalTrialsRequest--; } -core.List buildUnnamed7486() => [ +core.List buildUnnamed7566() => [ buildGoogleCloudMlV1Trial(), buildGoogleCloudMlV1Trial(), ]; -void checkUnnamed7486(core.List o) { +void checkUnnamed7566(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Trial(o[0]); checkGoogleCloudMlV1Trial(o[1]); @@ -1655,7 +1655,7 @@ api.GoogleCloudMlV1ListOptimalTrialsResponse final o = api.GoogleCloudMlV1ListOptimalTrialsResponse(); buildCounterGoogleCloudMlV1ListOptimalTrialsResponse++; if (buildCounterGoogleCloudMlV1ListOptimalTrialsResponse < 3) { - o.trials = buildUnnamed7486(); + o.trials = buildUnnamed7566(); } buildCounterGoogleCloudMlV1ListOptimalTrialsResponse--; return o; @@ -1665,17 +1665,17 @@ void checkGoogleCloudMlV1ListOptimalTrialsResponse( api.GoogleCloudMlV1ListOptimalTrialsResponse o) { buildCounterGoogleCloudMlV1ListOptimalTrialsResponse++; if (buildCounterGoogleCloudMlV1ListOptimalTrialsResponse < 3) { - checkUnnamed7486(o.trials!); + checkUnnamed7566(o.trials!); } buildCounterGoogleCloudMlV1ListOptimalTrialsResponse--; } -core.List buildUnnamed7487() => [ +core.List buildUnnamed7567() => [ buildGoogleCloudMlV1Study(), buildGoogleCloudMlV1Study(), ]; -void checkUnnamed7487(core.List o) { +void checkUnnamed7567(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Study(o[0]); checkGoogleCloudMlV1Study(o[1]); @@ -1687,7 +1687,7 @@ api.GoogleCloudMlV1ListStudiesResponse final o = api.GoogleCloudMlV1ListStudiesResponse(); buildCounterGoogleCloudMlV1ListStudiesResponse++; if (buildCounterGoogleCloudMlV1ListStudiesResponse < 3) { - o.studies = buildUnnamed7487(); + o.studies = buildUnnamed7567(); } buildCounterGoogleCloudMlV1ListStudiesResponse--; return o; @@ -1697,17 +1697,17 @@ void checkGoogleCloudMlV1ListStudiesResponse( api.GoogleCloudMlV1ListStudiesResponse o) { buildCounterGoogleCloudMlV1ListStudiesResponse++; if (buildCounterGoogleCloudMlV1ListStudiesResponse < 3) { - checkUnnamed7487(o.studies!); + checkUnnamed7567(o.studies!); } buildCounterGoogleCloudMlV1ListStudiesResponse--; } -core.List buildUnnamed7488() => [ +core.List buildUnnamed7568() => [ buildGoogleCloudMlV1Trial(), buildGoogleCloudMlV1Trial(), ]; -void checkUnnamed7488(core.List o) { +void checkUnnamed7568(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Trial(o[0]); checkGoogleCloudMlV1Trial(o[1]); @@ -1718,7 +1718,7 @@ api.GoogleCloudMlV1ListTrialsResponse buildGoogleCloudMlV1ListTrialsResponse() { final o = api.GoogleCloudMlV1ListTrialsResponse(); buildCounterGoogleCloudMlV1ListTrialsResponse++; if (buildCounterGoogleCloudMlV1ListTrialsResponse < 3) { - o.trials = buildUnnamed7488(); + o.trials = buildUnnamed7568(); } buildCounterGoogleCloudMlV1ListTrialsResponse--; return o; @@ -1728,17 +1728,17 @@ void checkGoogleCloudMlV1ListTrialsResponse( api.GoogleCloudMlV1ListTrialsResponse o) { buildCounterGoogleCloudMlV1ListTrialsResponse++; if (buildCounterGoogleCloudMlV1ListTrialsResponse < 3) { - checkUnnamed7488(o.trials!); + checkUnnamed7568(o.trials!); } buildCounterGoogleCloudMlV1ListTrialsResponse--; } -core.List buildUnnamed7489() => [ +core.List buildUnnamed7569() => [ buildGoogleCloudMlV1Version(), buildGoogleCloudMlV1Version(), ]; -void checkUnnamed7489(core.List o) { +void checkUnnamed7569(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Version(o[0]); checkGoogleCloudMlV1Version(o[1]); @@ -1751,7 +1751,7 @@ api.GoogleCloudMlV1ListVersionsResponse buildCounterGoogleCloudMlV1ListVersionsResponse++; if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.versions = buildUnnamed7489(); + o.versions = buildUnnamed7569(); } buildCounterGoogleCloudMlV1ListVersionsResponse--; return o; @@ -1765,17 +1765,17 @@ void checkGoogleCloudMlV1ListVersionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7489(o.versions!); + checkUnnamed7569(o.versions!); } buildCounterGoogleCloudMlV1ListVersionsResponse--; } -core.List buildUnnamed7490() => [ +core.List buildUnnamed7570() => [ buildGoogleCloudMlV1Capability(), buildGoogleCloudMlV1Capability(), ]; -void checkUnnamed7490(core.List o) { +void checkUnnamed7570(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Capability(o[0]); checkGoogleCloudMlV1Capability(o[1]); @@ -1786,7 +1786,7 @@ api.GoogleCloudMlV1Location buildGoogleCloudMlV1Location() { final o = api.GoogleCloudMlV1Location(); buildCounterGoogleCloudMlV1Location++; if (buildCounterGoogleCloudMlV1Location < 3) { - o.capabilities = buildUnnamed7490(); + o.capabilities = buildUnnamed7570(); o.name = 'foo'; } buildCounterGoogleCloudMlV1Location--; @@ -1796,7 +1796,7 @@ api.GoogleCloudMlV1Location buildGoogleCloudMlV1Location() { void checkGoogleCloudMlV1Location(api.GoogleCloudMlV1Location o) { buildCounterGoogleCloudMlV1Location++; if (buildCounterGoogleCloudMlV1Location < 3) { - checkUnnamed7490(o.capabilities!); + checkUnnamed7570(o.capabilities!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1827,12 +1827,12 @@ void checkGoogleCloudMlV1ManualScaling(api.GoogleCloudMlV1ManualScaling o) { buildCounterGoogleCloudMlV1ManualScaling--; } -core.List buildUnnamed7491() => [ +core.List buildUnnamed7571() => [ buildGoogleCloudMlV1MeasurementMetric(), buildGoogleCloudMlV1MeasurementMetric(), ]; -void checkUnnamed7491(core.List o) { +void checkUnnamed7571(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1MeasurementMetric(o[0]); checkGoogleCloudMlV1MeasurementMetric(o[1]); @@ -1844,7 +1844,7 @@ api.GoogleCloudMlV1Measurement buildGoogleCloudMlV1Measurement() { buildCounterGoogleCloudMlV1Measurement++; if (buildCounterGoogleCloudMlV1Measurement < 3) { o.elapsedTime = 'foo'; - o.metrics = buildUnnamed7491(); + o.metrics = buildUnnamed7571(); o.stepCount = 'foo'; } buildCounterGoogleCloudMlV1Measurement--; @@ -1858,7 +1858,7 @@ void checkGoogleCloudMlV1Measurement(api.GoogleCloudMlV1Measurement o) { o.elapsedTime!, unittest.equals('foo'), ); - checkUnnamed7491(o.metrics!); + checkUnnamed7571(o.metrics!); unittest.expect( o.stepCount!, unittest.equals('foo'), @@ -1894,12 +1894,12 @@ void checkGoogleCloudMlV1MetricSpec(api.GoogleCloudMlV1MetricSpec o) { buildCounterGoogleCloudMlV1MetricSpec--; } -core.Map buildUnnamed7492() => { +core.Map buildUnnamed7572() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7492(core.Map o) { +void checkUnnamed7572(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1911,12 +1911,12 @@ void checkUnnamed7492(core.Map o) { ); } -core.List buildUnnamed7493() => [ +core.List buildUnnamed7573() => [ 'foo', 'foo', ]; -void checkUnnamed7493(core.List o) { +void checkUnnamed7573(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1936,11 +1936,11 @@ api.GoogleCloudMlV1Model buildGoogleCloudMlV1Model() { o.defaultVersion = buildGoogleCloudMlV1Version(); o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed7492(); + o.labels = buildUnnamed7572(); o.name = 'foo'; o.onlinePredictionConsoleLogging = true; o.onlinePredictionLogging = true; - o.regions = buildUnnamed7493(); + o.regions = buildUnnamed7573(); } buildCounterGoogleCloudMlV1Model--; return o; @@ -1958,24 +1958,24 @@ void checkGoogleCloudMlV1Model(api.GoogleCloudMlV1Model o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed7492(o.labels!); + checkUnnamed7572(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); unittest.expect(o.onlinePredictionConsoleLogging!, unittest.isTrue); unittest.expect(o.onlinePredictionLogging!, unittest.isTrue); - checkUnnamed7493(o.regions!); + checkUnnamed7573(o.regions!); } buildCounterGoogleCloudMlV1Model--; } -core.Map buildUnnamed7494() => { +core.Map buildUnnamed7574() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7494(core.Map o) { +void checkUnnamed7574(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1995,7 +1995,7 @@ api.GoogleCloudMlV1OperationMetadata buildGoogleCloudMlV1OperationMetadata() { o.createTime = 'foo'; o.endTime = 'foo'; o.isCancellationRequested = true; - o.labels = buildUnnamed7494(); + o.labels = buildUnnamed7574(); o.modelName = 'foo'; o.operationType = 'foo'; o.projectNumber = 'foo'; @@ -2019,7 +2019,7 @@ void checkGoogleCloudMlV1OperationMetadata( unittest.equals('foo'), ); unittest.expect(o.isCancellationRequested!, unittest.isTrue); - checkUnnamed7494(o.labels!); + checkUnnamed7574(o.labels!); unittest.expect( o.modelName!, unittest.equals('foo'), @@ -2041,12 +2041,12 @@ void checkGoogleCloudMlV1OperationMetadata( buildCounterGoogleCloudMlV1OperationMetadata--; } -core.List buildUnnamed7495() => [ +core.List buildUnnamed7575() => [ 'foo', 'foo', ]; -void checkUnnamed7495(core.List o) { +void checkUnnamed7575(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2058,12 +2058,12 @@ void checkUnnamed7495(core.List o) { ); } -core.List buildUnnamed7496() => [ +core.List buildUnnamed7576() => [ 42.0, 42.0, ]; -void checkUnnamed7496(core.List o) { +void checkUnnamed7576(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2080,8 +2080,8 @@ api.GoogleCloudMlV1ParameterSpec buildGoogleCloudMlV1ParameterSpec() { final o = api.GoogleCloudMlV1ParameterSpec(); buildCounterGoogleCloudMlV1ParameterSpec++; if (buildCounterGoogleCloudMlV1ParameterSpec < 3) { - o.categoricalValues = buildUnnamed7495(); - o.discreteValues = buildUnnamed7496(); + o.categoricalValues = buildUnnamed7575(); + o.discreteValues = buildUnnamed7576(); o.maxValue = 42.0; o.minValue = 42.0; o.parameterName = 'foo'; @@ -2095,8 +2095,8 @@ api.GoogleCloudMlV1ParameterSpec buildGoogleCloudMlV1ParameterSpec() { void checkGoogleCloudMlV1ParameterSpec(api.GoogleCloudMlV1ParameterSpec o) { buildCounterGoogleCloudMlV1ParameterSpec++; if (buildCounterGoogleCloudMlV1ParameterSpec < 3) { - checkUnnamed7495(o.categoricalValues!); - checkUnnamed7496(o.discreteValues!); + checkUnnamed7575(o.categoricalValues!); + checkUnnamed7576(o.discreteValues!); unittest.expect( o.maxValue!, unittest.equals(42.0), @@ -2140,12 +2140,12 @@ void checkGoogleCloudMlV1PredictRequest(api.GoogleCloudMlV1PredictRequest o) { buildCounterGoogleCloudMlV1PredictRequest--; } -core.List buildUnnamed7497() => [ +core.List buildUnnamed7577() => [ 'foo', 'foo', ]; -void checkUnnamed7497(core.List o) { +void checkUnnamed7577(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2164,7 +2164,7 @@ api.GoogleCloudMlV1PredictionInput buildGoogleCloudMlV1PredictionInput() { if (buildCounterGoogleCloudMlV1PredictionInput < 3) { o.batchSize = 'foo'; o.dataFormat = 'foo'; - o.inputPaths = buildUnnamed7497(); + o.inputPaths = buildUnnamed7577(); o.maxWorkerCount = 'foo'; o.modelName = 'foo'; o.outputDataFormat = 'foo'; @@ -2190,7 +2190,7 @@ void checkGoogleCloudMlV1PredictionInput(api.GoogleCloudMlV1PredictionInput o) { o.dataFormat!, unittest.equals('foo'), ); - checkUnnamed7497(o.inputPaths!); + checkUnnamed7577(o.inputPaths!); unittest.expect( o.maxWorkerCount!, unittest.equals('foo'), @@ -2269,12 +2269,12 @@ void checkGoogleCloudMlV1PredictionOutput( buildCounterGoogleCloudMlV1PredictionOutput--; } -core.List buildUnnamed7498() => [ +core.List buildUnnamed7578() => [ 'foo', 'foo', ]; -void checkUnnamed7498(core.List o) { +void checkUnnamed7578(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2286,12 +2286,12 @@ void checkUnnamed7498(core.List o) { ); } -core.List buildUnnamed7499() => [ +core.List buildUnnamed7579() => [ 'foo', 'foo', ]; -void checkUnnamed7499(core.List o) { +void checkUnnamed7579(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2309,8 +2309,8 @@ api.GoogleCloudMlV1ReplicaConfig buildGoogleCloudMlV1ReplicaConfig() { buildCounterGoogleCloudMlV1ReplicaConfig++; if (buildCounterGoogleCloudMlV1ReplicaConfig < 3) { o.acceleratorConfig = buildGoogleCloudMlV1AcceleratorConfig(); - o.containerArgs = buildUnnamed7498(); - o.containerCommand = buildUnnamed7499(); + o.containerArgs = buildUnnamed7578(); + o.containerCommand = buildUnnamed7579(); o.diskConfig = buildGoogleCloudMlV1DiskConfig(); o.imageUri = 'foo'; o.tpuTfVersion = 'foo'; @@ -2323,8 +2323,8 @@ void checkGoogleCloudMlV1ReplicaConfig(api.GoogleCloudMlV1ReplicaConfig o) { buildCounterGoogleCloudMlV1ReplicaConfig++; if (buildCounterGoogleCloudMlV1ReplicaConfig < 3) { checkGoogleCloudMlV1AcceleratorConfig(o.acceleratorConfig!); - checkUnnamed7498(o.containerArgs!); - checkUnnamed7499(o.containerCommand!); + checkUnnamed7578(o.containerArgs!); + checkUnnamed7579(o.containerCommand!); checkGoogleCloudMlV1DiskConfig(o.diskConfig!); unittest.expect( o.imageUri!, @@ -2522,23 +2522,23 @@ void checkGoogleCloudMlV1Study(api.GoogleCloudMlV1Study o) { buildCounterGoogleCloudMlV1Study--; } -core.List buildUnnamed7500() => [ +core.List buildUnnamed7580() => [ buildGoogleCloudMlV1StudyConfigMetricSpec(), buildGoogleCloudMlV1StudyConfigMetricSpec(), ]; -void checkUnnamed7500(core.List o) { +void checkUnnamed7580(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1StudyConfigMetricSpec(o[0]); checkGoogleCloudMlV1StudyConfigMetricSpec(o[1]); } -core.List buildUnnamed7501() => [ +core.List buildUnnamed7581() => [ buildGoogleCloudMlV1StudyConfigParameterSpec(), buildGoogleCloudMlV1StudyConfigParameterSpec(), ]; -void checkUnnamed7501( +void checkUnnamed7581( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1StudyConfigParameterSpec(o[0]); @@ -2552,8 +2552,8 @@ api.GoogleCloudMlV1StudyConfig buildGoogleCloudMlV1StudyConfig() { if (buildCounterGoogleCloudMlV1StudyConfig < 3) { o.algorithm = 'foo'; o.automatedStoppingConfig = buildGoogleCloudMlV1AutomatedStoppingConfig(); - o.metrics = buildUnnamed7500(); - o.parameters = buildUnnamed7501(); + o.metrics = buildUnnamed7580(); + o.parameters = buildUnnamed7581(); } buildCounterGoogleCloudMlV1StudyConfig--; return o; @@ -2567,8 +2567,8 @@ void checkGoogleCloudMlV1StudyConfig(api.GoogleCloudMlV1StudyConfig o) { unittest.equals('foo'), ); checkGoogleCloudMlV1AutomatedStoppingConfig(o.automatedStoppingConfig!); - checkUnnamed7500(o.metrics!); - checkUnnamed7501(o.parameters!); + checkUnnamed7580(o.metrics!); + checkUnnamed7581(o.parameters!); } buildCounterGoogleCloudMlV1StudyConfig--; } @@ -2641,12 +2641,12 @@ void checkGoogleCloudMlV1SuggestTrialsRequest( buildCounterGoogleCloudMlV1SuggestTrialsRequest--; } -core.List buildUnnamed7502() => [ +core.List buildUnnamed7582() => [ buildGoogleCloudMlV1Trial(), buildGoogleCloudMlV1Trial(), ]; -void checkUnnamed7502(core.List o) { +void checkUnnamed7582(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Trial(o[0]); checkGoogleCloudMlV1Trial(o[1]); @@ -2661,7 +2661,7 @@ api.GoogleCloudMlV1SuggestTrialsResponse o.endTime = 'foo'; o.startTime = 'foo'; o.studyState = 'foo'; - o.trials = buildUnnamed7502(); + o.trials = buildUnnamed7582(); } buildCounterGoogleCloudMlV1SuggestTrialsResponse--; return o; @@ -2683,17 +2683,17 @@ void checkGoogleCloudMlV1SuggestTrialsResponse( o.studyState!, unittest.equals('foo'), ); - checkUnnamed7502(o.trials!); + checkUnnamed7582(o.trials!); } buildCounterGoogleCloudMlV1SuggestTrialsResponse--; } -core.List buildUnnamed7503() => [ +core.List buildUnnamed7583() => [ 'foo', 'foo', ]; -void checkUnnamed7503(core.List o) { +void checkUnnamed7583(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2705,12 +2705,12 @@ void checkUnnamed7503(core.List o) { ); } -core.List buildUnnamed7504() => [ +core.List buildUnnamed7584() => [ 'foo', 'foo', ]; -void checkUnnamed7504(core.List o) { +void checkUnnamed7584(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2727,7 +2727,7 @@ api.GoogleCloudMlV1TrainingInput buildGoogleCloudMlV1TrainingInput() { final o = api.GoogleCloudMlV1TrainingInput(); buildCounterGoogleCloudMlV1TrainingInput++; if (buildCounterGoogleCloudMlV1TrainingInput < 3) { - o.args = buildUnnamed7503(); + o.args = buildUnnamed7583(); o.enableWebAccess = true; o.encryptionConfig = buildGoogleCloudMlV1EncryptionConfig(); o.evaluatorConfig = buildGoogleCloudMlV1ReplicaConfig(); @@ -2738,7 +2738,7 @@ api.GoogleCloudMlV1TrainingInput buildGoogleCloudMlV1TrainingInput() { o.masterConfig = buildGoogleCloudMlV1ReplicaConfig(); o.masterType = 'foo'; o.network = 'foo'; - o.packageUris = buildUnnamed7504(); + o.packageUris = buildUnnamed7584(); o.parameterServerConfig = buildGoogleCloudMlV1ReplicaConfig(); o.parameterServerCount = 'foo'; o.parameterServerType = 'foo'; @@ -2761,7 +2761,7 @@ api.GoogleCloudMlV1TrainingInput buildGoogleCloudMlV1TrainingInput() { void checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) { buildCounterGoogleCloudMlV1TrainingInput++; if (buildCounterGoogleCloudMlV1TrainingInput < 3) { - checkUnnamed7503(o.args!); + checkUnnamed7583(o.args!); unittest.expect(o.enableWebAccess!, unittest.isTrue); checkGoogleCloudMlV1EncryptionConfig(o.encryptionConfig!); checkGoogleCloudMlV1ReplicaConfig(o.evaluatorConfig!); @@ -2787,7 +2787,7 @@ void checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) { o.network!, unittest.equals('foo'), ); - checkUnnamed7504(o.packageUris!); + checkUnnamed7584(o.packageUris!); checkGoogleCloudMlV1ReplicaConfig(o.parameterServerConfig!); unittest.expect( o.parameterServerCount!, @@ -2836,23 +2836,23 @@ void checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) { buildCounterGoogleCloudMlV1TrainingInput--; } -core.List buildUnnamed7505() => [ +core.List buildUnnamed7585() => [ buildGoogleCloudMlV1HyperparameterOutput(), buildGoogleCloudMlV1HyperparameterOutput(), ]; -void checkUnnamed7505(core.List o) { +void checkUnnamed7585(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1HyperparameterOutput(o[0]); checkGoogleCloudMlV1HyperparameterOutput(o[1]); } -core.Map buildUnnamed7506() => { +core.Map buildUnnamed7586() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7506(core.Map o) { +void checkUnnamed7586(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2875,8 +2875,8 @@ api.GoogleCloudMlV1TrainingOutput buildGoogleCloudMlV1TrainingOutput() { o.hyperparameterMetricTag = 'foo'; o.isBuiltInAlgorithmJob = true; o.isHyperparameterTuningJob = true; - o.trials = buildUnnamed7505(); - o.webAccessUris = buildUnnamed7506(); + o.trials = buildUnnamed7585(); + o.webAccessUris = buildUnnamed7586(); } buildCounterGoogleCloudMlV1TrainingOutput--; return o; @@ -2900,29 +2900,29 @@ void checkGoogleCloudMlV1TrainingOutput(api.GoogleCloudMlV1TrainingOutput o) { ); unittest.expect(o.isBuiltInAlgorithmJob!, unittest.isTrue); unittest.expect(o.isHyperparameterTuningJob!, unittest.isTrue); - checkUnnamed7505(o.trials!); - checkUnnamed7506(o.webAccessUris!); + checkUnnamed7585(o.trials!); + checkUnnamed7586(o.webAccessUris!); } buildCounterGoogleCloudMlV1TrainingOutput--; } -core.List buildUnnamed7507() => [ +core.List buildUnnamed7587() => [ buildGoogleCloudMlV1Measurement(), buildGoogleCloudMlV1Measurement(), ]; -void checkUnnamed7507(core.List o) { +void checkUnnamed7587(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1Measurement(o[0]); checkGoogleCloudMlV1Measurement(o[1]); } -core.List buildUnnamed7508() => [ +core.List buildUnnamed7588() => [ buildGoogleCloudMlV1TrialParameter(), buildGoogleCloudMlV1TrialParameter(), ]; -void checkUnnamed7508(core.List o) { +void checkUnnamed7588(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudMlV1TrialParameter(o[0]); checkGoogleCloudMlV1TrialParameter(o[1]); @@ -2937,9 +2937,9 @@ api.GoogleCloudMlV1Trial buildGoogleCloudMlV1Trial() { o.endTime = 'foo'; o.finalMeasurement = buildGoogleCloudMlV1Measurement(); o.infeasibleReason = 'foo'; - o.measurements = buildUnnamed7507(); + o.measurements = buildUnnamed7587(); o.name = 'foo'; - o.parameters = buildUnnamed7508(); + o.parameters = buildUnnamed7588(); o.startTime = 'foo'; o.state = 'foo'; o.trialInfeasible = true; @@ -2964,12 +2964,12 @@ void checkGoogleCloudMlV1Trial(api.GoogleCloudMlV1Trial o) { o.infeasibleReason!, unittest.equals('foo'), ); - checkUnnamed7507(o.measurements!); + checkUnnamed7587(o.measurements!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7508(o.parameters!); + checkUnnamed7588(o.parameters!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -2983,12 +2983,12 @@ void checkGoogleCloudMlV1Trial(api.GoogleCloudMlV1Trial o) { buildCounterGoogleCloudMlV1Trial--; } -core.Map buildUnnamed7509() => { +core.Map buildUnnamed7589() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7509(core.Map o) { +void checkUnnamed7589(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3000,12 +3000,12 @@ void checkUnnamed7509(core.Map o) { ); } -core.List buildUnnamed7510() => [ +core.List buildUnnamed7590() => [ 'foo', 'foo', ]; -void checkUnnamed7510(core.List o) { +void checkUnnamed7590(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3033,14 +3033,14 @@ api.GoogleCloudMlV1Version buildGoogleCloudMlV1Version() { o.explanationConfig = buildGoogleCloudMlV1ExplanationConfig(); o.framework = 'foo'; o.isDefault = true; - o.labels = buildUnnamed7509(); + o.labels = buildUnnamed7589(); o.lastMigrationModelId = 'foo'; o.lastMigrationTime = 'foo'; o.lastUseTime = 'foo'; o.machineType = 'foo'; o.manualScaling = buildGoogleCloudMlV1ManualScaling(); o.name = 'foo'; - o.packageUris = buildUnnamed7510(); + o.packageUris = buildUnnamed7590(); o.predictionClass = 'foo'; o.pythonVersion = 'foo'; o.requestLoggingConfig = buildGoogleCloudMlV1RequestLoggingConfig(); @@ -3085,7 +3085,7 @@ void checkGoogleCloudMlV1Version(api.GoogleCloudMlV1Version o) { unittest.equals('foo'), ); unittest.expect(o.isDefault!, unittest.isTrue); - checkUnnamed7509(o.labels!); + checkUnnamed7589(o.labels!); unittest.expect( o.lastMigrationModelId!, unittest.equals('foo'), @@ -3107,7 +3107,7 @@ void checkGoogleCloudMlV1Version(api.GoogleCloudMlV1Version o) { o.name!, unittest.equals('foo'), ); - checkUnnamed7510(o.packageUris!); + checkUnnamed7590(o.packageUris!); unittest.expect( o.predictionClass!, unittest.equals('foo'), @@ -3156,12 +3156,12 @@ void checkGoogleCloudMlV1XraiAttribution(api.GoogleCloudMlV1XraiAttribution o) { buildCounterGoogleCloudMlV1XraiAttribution--; } -core.List buildUnnamed7511() => [ +core.List buildUnnamed7591() => [ buildGoogleIamV1AuditLogConfig(), buildGoogleIamV1AuditLogConfig(), ]; -void checkUnnamed7511(core.List o) { +void checkUnnamed7591(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditLogConfig(o[0]); checkGoogleIamV1AuditLogConfig(o[1]); @@ -3172,7 +3172,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { final o = api.GoogleIamV1AuditConfig(); buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - o.auditLogConfigs = buildUnnamed7511(); + o.auditLogConfigs = buildUnnamed7591(); o.service = 'foo'; } buildCounterGoogleIamV1AuditConfig--; @@ -3182,7 +3182,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - checkUnnamed7511(o.auditLogConfigs!); + checkUnnamed7591(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -3191,12 +3191,12 @@ void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig--; } -core.List buildUnnamed7512() => [ +core.List buildUnnamed7592() => [ 'foo', 'foo', ]; -void checkUnnamed7512(core.List o) { +void checkUnnamed7592(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3213,7 +3213,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { final o = api.GoogleIamV1AuditLogConfig(); buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed7512(); + o.exemptedMembers = buildUnnamed7592(); o.logType = 'foo'; } buildCounterGoogleIamV1AuditLogConfig--; @@ -3223,7 +3223,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - checkUnnamed7512(o.exemptedMembers!); + checkUnnamed7592(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -3232,12 +3232,12 @@ void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig--; } -core.List buildUnnamed7513() => [ +core.List buildUnnamed7593() => [ 'foo', 'foo', ]; -void checkUnnamed7513(core.List o) { +void checkUnnamed7593(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3255,7 +3255,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed7513(); + o.members = buildUnnamed7593(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -3266,7 +3266,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed7513(o.members!); + checkUnnamed7593(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -3275,23 +3275,23 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed7514() => [ +core.List buildUnnamed7594() => [ buildGoogleIamV1AuditConfig(), buildGoogleIamV1AuditConfig(), ]; -void checkUnnamed7514(core.List o) { +void checkUnnamed7594(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditConfig(o[0]); checkGoogleIamV1AuditConfig(o[1]); } -core.List buildUnnamed7515() => [ +core.List buildUnnamed7595() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed7515(core.List o) { +void checkUnnamed7595(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -3302,8 +3302,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.auditConfigs = buildUnnamed7514(); - o.bindings = buildUnnamed7515(); + o.auditConfigs = buildUnnamed7594(); + o.bindings = buildUnnamed7595(); o.etag = 'foo'; o.version = 42; } @@ -3314,8 +3314,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed7514(o.auditConfigs!); - checkUnnamed7515(o.bindings!); + checkUnnamed7594(o.auditConfigs!); + checkUnnamed7595(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3352,12 +3352,12 @@ void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { buildCounterGoogleIamV1SetIamPolicyRequest--; } -core.List buildUnnamed7516() => [ +core.List buildUnnamed7596() => [ 'foo', 'foo', ]; -void checkUnnamed7516(core.List o) { +void checkUnnamed7596(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3375,7 +3375,7 @@ api.GoogleIamV1TestIamPermissionsRequest final o = api.GoogleIamV1TestIamPermissionsRequest(); buildCounterGoogleIamV1TestIamPermissionsRequest++; if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed7516(); + o.permissions = buildUnnamed7596(); } buildCounterGoogleIamV1TestIamPermissionsRequest--; return o; @@ -3385,17 +3385,17 @@ void checkGoogleIamV1TestIamPermissionsRequest( api.GoogleIamV1TestIamPermissionsRequest o) { buildCounterGoogleIamV1TestIamPermissionsRequest++; if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { - checkUnnamed7516(o.permissions!); + checkUnnamed7596(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsRequest--; } -core.List buildUnnamed7517() => [ +core.List buildUnnamed7597() => [ 'foo', 'foo', ]; -void checkUnnamed7517(core.List o) { +void checkUnnamed7597(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3413,7 +3413,7 @@ api.GoogleIamV1TestIamPermissionsResponse final o = api.GoogleIamV1TestIamPermissionsResponse(); buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed7517(); + o.permissions = buildUnnamed7597(); } buildCounterGoogleIamV1TestIamPermissionsResponse--; return o; @@ -3423,17 +3423,17 @@ void checkGoogleIamV1TestIamPermissionsResponse( api.GoogleIamV1TestIamPermissionsResponse o) { buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - checkUnnamed7517(o.permissions!); + checkUnnamed7597(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsResponse--; } -core.List buildUnnamed7518() => [ +core.List buildUnnamed7598() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed7518(core.List o) { +void checkUnnamed7598(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -3446,7 +3446,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed7518(); + o.operations = buildUnnamed7598(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -3460,12 +3460,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7518(o.operations!); + checkUnnamed7598(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed7519() => { +core.Map buildUnnamed7599() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3478,7 +3478,7 @@ core.Map buildUnnamed7519() => { }, }; -void checkUnnamed7519(core.Map o) { +void checkUnnamed7599(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -3510,7 +3510,7 @@ void checkUnnamed7519(core.Map o) { ); } -core.Map buildUnnamed7520() => { +core.Map buildUnnamed7600() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3523,7 +3523,7 @@ core.Map buildUnnamed7520() => { }, }; -void checkUnnamed7520(core.Map o) { +void checkUnnamed7600(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -3562,9 +3562,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed7519(); + o.metadata = buildUnnamed7599(); o.name = 'foo'; - o.response = buildUnnamed7520(); + o.response = buildUnnamed7600(); } buildCounterGoogleLongrunningOperation--; return o; @@ -3575,12 +3575,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed7519(o.metadata!); + checkUnnamed7599(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7520(o.response!); + checkUnnamed7600(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -3600,7 +3600,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed7521() => { +core.Map buildUnnamed7601() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3613,7 +3613,7 @@ core.Map buildUnnamed7521() => { }, }; -void checkUnnamed7521(core.Map o) { +void checkUnnamed7601(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3645,15 +3645,15 @@ void checkUnnamed7521(core.Map o) { ); } -core.List> buildUnnamed7522() => [ - buildUnnamed7521(), - buildUnnamed7521(), +core.List> buildUnnamed7602() => [ + buildUnnamed7601(), + buildUnnamed7601(), ]; -void checkUnnamed7522(core.List> o) { +void checkUnnamed7602(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7521(o[0]); - checkUnnamed7521(o[1]); + checkUnnamed7601(o[0]); + checkUnnamed7601(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -3662,7 +3662,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed7522(); + o.details = buildUnnamed7602(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -3676,7 +3676,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed7522(o.details!); + checkUnnamed7602(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart index 0949bf29a..814600b12 100644 --- a/generated/googleapis/test/monitoring/v3_test.dart +++ b/generated/googleapis/test/monitoring/v3_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2750() => [ +core.List buildUnnamed2638() => [ 'foo', 'foo', ]; -void checkUnnamed2750(core.List o) { +void checkUnnamed2638(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -50,7 +50,7 @@ api.Aggregation buildAggregation() { if (buildCounterAggregation < 3) { o.alignmentPeriod = 'foo'; o.crossSeriesReducer = 'foo'; - o.groupByFields = buildUnnamed2750(); + o.groupByFields = buildUnnamed2638(); o.perSeriesAligner = 'foo'; } buildCounterAggregation--; @@ -68,7 +68,7 @@ void checkAggregation(api.Aggregation o) { o.crossSeriesReducer!, unittest.equals('foo'), ); - checkUnnamed2750(o.groupByFields!); + checkUnnamed2638(o.groupByFields!); unittest.expect( o.perSeriesAligner!, unittest.equals('foo'), @@ -77,23 +77,23 @@ void checkAggregation(api.Aggregation o) { buildCounterAggregation--; } -core.List buildUnnamed2751() => [ +core.List buildUnnamed2639() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed2751(core.List o) { +void checkUnnamed2639(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed2752() => [ +core.List buildUnnamed2640() => [ 'foo', 'foo', ]; -void checkUnnamed2752(core.List o) { +void checkUnnamed2640(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -105,12 +105,12 @@ void checkUnnamed2752(core.List o) { ); } -core.Map buildUnnamed2753() => { +core.Map buildUnnamed2641() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2753(core.Map o) { +void checkUnnamed2641(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -129,15 +129,15 @@ api.AlertPolicy buildAlertPolicy() { if (buildCounterAlertPolicy < 3) { o.alertStrategy = buildAlertStrategy(); o.combiner = 'foo'; - o.conditions = buildUnnamed2751(); + o.conditions = buildUnnamed2639(); o.creationRecord = buildMutationRecord(); o.displayName = 'foo'; o.documentation = buildDocumentation(); o.enabled = true; o.mutationRecord = buildMutationRecord(); o.name = 'foo'; - o.notificationChannels = buildUnnamed2752(); - o.userLabels = buildUnnamed2753(); + o.notificationChannels = buildUnnamed2640(); + o.userLabels = buildUnnamed2641(); o.validity = buildStatus(); } buildCounterAlertPolicy--; @@ -152,7 +152,7 @@ void checkAlertPolicy(api.AlertPolicy o) { o.combiner!, unittest.equals('foo'), ); - checkUnnamed2751(o.conditions!); + checkUnnamed2639(o.conditions!); checkMutationRecord(o.creationRecord!); unittest.expect( o.displayName!, @@ -165,8 +165,8 @@ void checkAlertPolicy(api.AlertPolicy o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2752(o.notificationChannels!); - checkUnnamed2753(o.userLabels!); + checkUnnamed2640(o.notificationChannels!); + checkUnnamed2641(o.userLabels!); checkStatus(o.validity!); } buildCounterAlertPolicy--; @@ -177,6 +177,7 @@ api.AlertStrategy buildAlertStrategy() { final o = api.AlertStrategy(); buildCounterAlertStrategy++; if (buildCounterAlertStrategy < 3) { + o.autoClose = 'foo'; o.notificationRateLimit = buildNotificationRateLimit(); } buildCounterAlertStrategy--; @@ -186,6 +187,10 @@ api.AlertStrategy buildAlertStrategy() { void checkAlertStrategy(api.AlertStrategy o) { buildCounterAlertStrategy++; if (buildCounterAlertStrategy < 3) { + unittest.expect( + o.autoClose!, + unittest.equals('foo'), + ); checkNotificationRateLimit(o.notificationRateLimit!); } buildCounterAlertStrategy--; @@ -255,12 +260,12 @@ void checkBasicAuthentication(api.BasicAuthentication o) { buildCounterBasicAuthentication--; } -core.List buildUnnamed2754() => [ +core.List buildUnnamed2642() => [ 'foo', 'foo', ]; -void checkUnnamed2754(core.List o) { +void checkUnnamed2642(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -272,12 +277,12 @@ void checkUnnamed2754(core.List o) { ); } -core.List buildUnnamed2755() => [ +core.List buildUnnamed2643() => [ 'foo', 'foo', ]; -void checkUnnamed2755(core.List o) { +void checkUnnamed2643(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -289,12 +294,12 @@ void checkUnnamed2755(core.List o) { ); } -core.List buildUnnamed2756() => [ +core.List buildUnnamed2644() => [ 'foo', 'foo', ]; -void checkUnnamed2756(core.List o) { +void checkUnnamed2644(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -313,9 +318,9 @@ api.BasicSli buildBasicSli() { if (buildCounterBasicSli < 3) { o.availability = buildAvailabilityCriteria(); o.latency = buildLatencyCriteria(); - o.location = buildUnnamed2754(); - o.method = buildUnnamed2755(); - o.version = buildUnnamed2756(); + o.location = buildUnnamed2642(); + o.method = buildUnnamed2643(); + o.version = buildUnnamed2644(); } buildCounterBasicSli--; return o; @@ -326,9 +331,9 @@ void checkBasicSli(api.BasicSli o) { if (buildCounterBasicSli < 3) { checkAvailabilityCriteria(o.availability!); checkLatencyCriteria(o.latency!); - checkUnnamed2754(o.location!); - checkUnnamed2755(o.method!); - checkUnnamed2756(o.version!); + checkUnnamed2642(o.location!); + checkUnnamed2643(o.method!); + checkUnnamed2644(o.version!); } buildCounterBasicSli--; } @@ -415,23 +420,23 @@ void checkClusterIstio(api.ClusterIstio o) { buildCounterClusterIstio--; } -core.Map buildUnnamed2757() => { +core.Map buildUnnamed2645() => { 'x': buildTypedValue(), 'y': buildTypedValue(), }; -void checkUnnamed2757(core.Map o) { +void checkUnnamed2645(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTypedValue(o['x']!); checkTypedValue(o['y']!); } -core.List buildUnnamed2758() => [ +core.List buildUnnamed2646() => [ buildCollectdValue(), buildCollectdValue(), ]; -void checkUnnamed2758(core.List o) { +void checkUnnamed2646(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectdValue(o[0]); checkCollectdValue(o[1]); @@ -443,13 +448,13 @@ api.CollectdPayload buildCollectdPayload() { buildCounterCollectdPayload++; if (buildCounterCollectdPayload < 3) { o.endTime = 'foo'; - o.metadata = buildUnnamed2757(); + o.metadata = buildUnnamed2645(); o.plugin = 'foo'; o.pluginInstance = 'foo'; o.startTime = 'foo'; o.type = 'foo'; o.typeInstance = 'foo'; - o.values = buildUnnamed2758(); + o.values = buildUnnamed2646(); } buildCounterCollectdPayload--; return o; @@ -462,7 +467,7 @@ void checkCollectdPayload(api.CollectdPayload o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed2757(o.metadata!); + checkUnnamed2645(o.metadata!); unittest.expect( o.plugin!, unittest.equals('foo'), @@ -483,17 +488,17 @@ void checkCollectdPayload(api.CollectdPayload o) { o.typeInstance!, unittest.equals('foo'), ); - checkUnnamed2758(o.values!); + checkUnnamed2646(o.values!); } buildCounterCollectdPayload--; } -core.List buildUnnamed2759() => [ +core.List buildUnnamed2647() => [ buildCollectdValueError(), buildCollectdValueError(), ]; -void checkUnnamed2759(core.List o) { +void checkUnnamed2647(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectdValueError(o[0]); checkCollectdValueError(o[1]); @@ -506,7 +511,7 @@ api.CollectdPayloadError buildCollectdPayloadError() { if (buildCounterCollectdPayloadError < 3) { o.error = buildStatus(); o.index = 42; - o.valueErrors = buildUnnamed2759(); + o.valueErrors = buildUnnamed2647(); } buildCounterCollectdPayloadError--; return o; @@ -520,7 +525,7 @@ void checkCollectdPayloadError(api.CollectdPayloadError o) { o.index!, unittest.equals(42), ); - checkUnnamed2759(o.valueErrors!); + checkUnnamed2647(o.valueErrors!); } buildCounterCollectdPayloadError--; } @@ -641,12 +646,12 @@ void checkContentMatcher(api.ContentMatcher o) { buildCounterContentMatcher--; } -core.List buildUnnamed2760() => [ +core.List buildUnnamed2648() => [ buildCollectdPayload(), buildCollectdPayload(), ]; -void checkUnnamed2760(core.List o) { +void checkUnnamed2648(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectdPayload(o[0]); checkCollectdPayload(o[1]); @@ -657,7 +662,7 @@ api.CreateCollectdTimeSeriesRequest buildCreateCollectdTimeSeriesRequest() { final o = api.CreateCollectdTimeSeriesRequest(); buildCounterCreateCollectdTimeSeriesRequest++; if (buildCounterCreateCollectdTimeSeriesRequest < 3) { - o.collectdPayloads = buildUnnamed2760(); + o.collectdPayloads = buildUnnamed2648(); o.collectdVersion = 'foo'; o.resource = buildMonitoredResource(); } @@ -669,7 +674,7 @@ void checkCreateCollectdTimeSeriesRequest( api.CreateCollectdTimeSeriesRequest o) { buildCounterCreateCollectdTimeSeriesRequest++; if (buildCounterCreateCollectdTimeSeriesRequest < 3) { - checkUnnamed2760(o.collectdPayloads!); + checkUnnamed2648(o.collectdPayloads!); unittest.expect( o.collectdVersion!, unittest.equals('foo'), @@ -679,12 +684,12 @@ void checkCreateCollectdTimeSeriesRequest( buildCounterCreateCollectdTimeSeriesRequest--; } -core.List buildUnnamed2761() => [ +core.List buildUnnamed2649() => [ buildCollectdPayloadError(), buildCollectdPayloadError(), ]; -void checkUnnamed2761(core.List o) { +void checkUnnamed2649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCollectdPayloadError(o[0]); checkCollectdPayloadError(o[1]); @@ -695,7 +700,7 @@ api.CreateCollectdTimeSeriesResponse buildCreateCollectdTimeSeriesResponse() { final o = api.CreateCollectdTimeSeriesResponse(); buildCounterCreateCollectdTimeSeriesResponse++; if (buildCounterCreateCollectdTimeSeriesResponse < 3) { - o.payloadErrors = buildUnnamed2761(); + o.payloadErrors = buildUnnamed2649(); o.summary = buildCreateTimeSeriesSummary(); } buildCounterCreateCollectdTimeSeriesResponse--; @@ -706,18 +711,18 @@ void checkCreateCollectdTimeSeriesResponse( api.CreateCollectdTimeSeriesResponse o) { buildCounterCreateCollectdTimeSeriesResponse++; if (buildCounterCreateCollectdTimeSeriesResponse < 3) { - checkUnnamed2761(o.payloadErrors!); + checkUnnamed2649(o.payloadErrors!); checkCreateTimeSeriesSummary(o.summary!); } buildCounterCreateCollectdTimeSeriesResponse--; } -core.List buildUnnamed2762() => [ +core.List buildUnnamed2650() => [ buildTimeSeries(), buildTimeSeries(), ]; -void checkUnnamed2762(core.List o) { +void checkUnnamed2650(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimeSeries(o[0]); checkTimeSeries(o[1]); @@ -728,7 +733,7 @@ api.CreateTimeSeriesRequest buildCreateTimeSeriesRequest() { final o = api.CreateTimeSeriesRequest(); buildCounterCreateTimeSeriesRequest++; if (buildCounterCreateTimeSeriesRequest < 3) { - o.timeSeries = buildUnnamed2762(); + o.timeSeries = buildUnnamed2650(); } buildCounterCreateTimeSeriesRequest--; return o; @@ -737,17 +742,17 @@ api.CreateTimeSeriesRequest buildCreateTimeSeriesRequest() { void checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) { buildCounterCreateTimeSeriesRequest++; if (buildCounterCreateTimeSeriesRequest < 3) { - checkUnnamed2762(o.timeSeries!); + checkUnnamed2650(o.timeSeries!); } buildCounterCreateTimeSeriesRequest--; } -core.List buildUnnamed2763() => [ +core.List buildUnnamed2651() => [ buildError(), buildError(), ]; -void checkUnnamed2763(core.List o) { +void checkUnnamed2651(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkError(o[0]); checkError(o[1]); @@ -758,7 +763,7 @@ api.CreateTimeSeriesSummary buildCreateTimeSeriesSummary() { final o = api.CreateTimeSeriesSummary(); buildCounterCreateTimeSeriesSummary++; if (buildCounterCreateTimeSeriesSummary < 3) { - o.errors = buildUnnamed2763(); + o.errors = buildUnnamed2651(); o.successPointCount = 42; o.totalPointCount = 42; } @@ -769,7 +774,7 @@ api.CreateTimeSeriesSummary buildCreateTimeSeriesSummary() { void checkCreateTimeSeriesSummary(api.CreateTimeSeriesSummary o) { buildCounterCreateTimeSeriesSummary++; if (buildCounterCreateTimeSeriesSummary < 3) { - checkUnnamed2763(o.errors!); + checkUnnamed2651(o.errors!); unittest.expect( o.successPointCount!, unittest.equals(42), @@ -797,12 +802,12 @@ void checkCustom(api.Custom o) { buildCounterCustom--; } -core.List buildUnnamed2764() => [ +core.List buildUnnamed2652() => [ 'foo', 'foo', ]; -void checkUnnamed2764(core.List o) { +void checkUnnamed2652(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -814,12 +819,12 @@ void checkUnnamed2764(core.List o) { ); } -core.List buildUnnamed2765() => [ +core.List buildUnnamed2653() => [ buildExemplar(), buildExemplar(), ]; -void checkUnnamed2765(core.List o) { +void checkUnnamed2653(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExemplar(o[0]); checkExemplar(o[1]); @@ -830,10 +835,10 @@ api.Distribution buildDistribution() { final o = api.Distribution(); buildCounterDistribution++; if (buildCounterDistribution < 3) { - o.bucketCounts = buildUnnamed2764(); + o.bucketCounts = buildUnnamed2652(); o.bucketOptions = buildBucketOptions(); o.count = 'foo'; - o.exemplars = buildUnnamed2765(); + o.exemplars = buildUnnamed2653(); o.mean = 42.0; o.range = buildRange(); o.sumOfSquaredDeviation = 42.0; @@ -845,13 +850,13 @@ api.Distribution buildDistribution() { void checkDistribution(api.Distribution o) { buildCounterDistribution++; if (buildCounterDistribution < 3) { - checkUnnamed2764(o.bucketCounts!); + checkUnnamed2652(o.bucketCounts!); checkBucketOptions(o.bucketOptions!); unittest.expect( o.count!, unittest.equals('foo'), ); - checkUnnamed2765(o.exemplars!); + checkUnnamed2653(o.exemplars!); unittest.expect( o.mean!, unittest.equals(42.0), @@ -916,12 +921,12 @@ void checkDocumentation(api.Documentation o) { buildCounterDocumentation--; } -core.Map buildUnnamed2766() => { +core.Map buildUnnamed2654() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2766(core.Map o) { +void checkUnnamed2654(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -938,7 +943,7 @@ api.DroppedLabels buildDroppedLabels() { final o = api.DroppedLabels(); buildCounterDroppedLabels++; if (buildCounterDroppedLabels < 3) { - o.label = buildUnnamed2766(); + o.label = buildUnnamed2654(); } buildCounterDroppedLabels--; return o; @@ -947,7 +952,7 @@ api.DroppedLabels buildDroppedLabels() { void checkDroppedLabels(api.DroppedLabels o) { buildCounterDroppedLabels++; if (buildCounterDroppedLabels < 3) { - checkUnnamed2766(o.label!); + checkUnnamed2654(o.label!); } buildCounterDroppedLabels--; } @@ -991,7 +996,7 @@ void checkError(api.Error o) { buildCounterError--; } -core.Map buildUnnamed2767() => { +core.Map buildUnnamed2655() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1004,7 +1009,7 @@ core.Map buildUnnamed2767() => { }, }; -void checkUnnamed2767(core.Map o) { +void checkUnnamed2655(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1036,15 +1041,15 @@ void checkUnnamed2767(core.Map o) { ); } -core.List> buildUnnamed2768() => [ - buildUnnamed2767(), - buildUnnamed2767(), +core.List> buildUnnamed2656() => [ + buildUnnamed2655(), + buildUnnamed2655(), ]; -void checkUnnamed2768(core.List> o) { +void checkUnnamed2656(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2767(o[0]); - checkUnnamed2767(o[1]); + checkUnnamed2655(o[0]); + checkUnnamed2655(o[1]); } core.int buildCounterExemplar = 0; @@ -1052,7 +1057,7 @@ api.Exemplar buildExemplar() { final o = api.Exemplar(); buildCounterExemplar++; if (buildCounterExemplar < 3) { - o.attachments = buildUnnamed2768(); + o.attachments = buildUnnamed2656(); o.timestamp = 'foo'; o.value = 42.0; } @@ -1063,7 +1068,7 @@ api.Exemplar buildExemplar() { void checkExemplar(api.Exemplar o) { buildCounterExemplar++; if (buildCounterExemplar < 3) { - checkUnnamed2768(o.attachments!); + checkUnnamed2656(o.attachments!); unittest.expect( o.timestamp!, unittest.equals('foo'), @@ -1076,12 +1081,12 @@ void checkExemplar(api.Exemplar o) { buildCounterExemplar--; } -core.List buildUnnamed2769() => [ +core.List buildUnnamed2657() => [ 42.0, 42.0, ]; -void checkUnnamed2769(core.List o) { +void checkUnnamed2657(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1098,7 +1103,7 @@ api.Explicit buildExplicit() { final o = api.Explicit(); buildCounterExplicit++; if (buildCounterExplicit < 3) { - o.bounds = buildUnnamed2769(); + o.bounds = buildUnnamed2657(); } buildCounterExplicit--; return o; @@ -1107,7 +1112,7 @@ api.Explicit buildExplicit() { void checkExplicit(api.Explicit o) { buildCounterExplicit++; if (buildCounterExplicit < 3) { - checkUnnamed2769(o.bounds!); + checkUnnamed2657(o.bounds!); } buildCounterExplicit--; } @@ -1144,12 +1149,12 @@ void checkExponential(api.Exponential o) { buildCounterExponential--; } -core.List buildUnnamed2770() => [ +core.List buildUnnamed2658() => [ buildOption(), buildOption(), ]; -void checkUnnamed2770(core.List o) { +void checkUnnamed2658(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1167,7 +1172,7 @@ api.Field buildField() { o.name = 'foo'; o.number = 42; o.oneofIndex = 42; - o.options = buildUnnamed2770(); + o.options = buildUnnamed2658(); o.packed = true; o.typeUrl = 'foo'; } @@ -1206,7 +1211,7 @@ void checkField(api.Field o) { o.oneofIndex!, unittest.equals(42), ); - checkUnnamed2770(o.options!); + checkUnnamed2658(o.options!); unittest.expect(o.packed!, unittest.isTrue); unittest.expect( o.typeUrl!, @@ -1335,12 +1340,12 @@ void checkGroup(api.Group o) { buildCounterGroup--; } -core.Map buildUnnamed2771() => { +core.Map buildUnnamed2659() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2771(core.Map o) { +void checkUnnamed2659(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1360,7 +1365,7 @@ api.HttpCheck buildHttpCheck() { o.authInfo = buildBasicAuthentication(); o.body = 'foo'; o.contentType = 'foo'; - o.headers = buildUnnamed2771(); + o.headers = buildUnnamed2659(); o.maskHeaders = true; o.path = 'foo'; o.port = 42; @@ -1384,7 +1389,7 @@ void checkHttpCheck(api.HttpCheck o) { o.contentType!, unittest.equals('foo'), ); - checkUnnamed2771(o.headers!); + checkUnnamed2659(o.headers!); unittest.expect(o.maskHeaders!, unittest.isTrue); unittest.expect( o.path!, @@ -1598,12 +1603,12 @@ void checkLinear(api.Linear o) { buildCounterLinear--; } -core.List buildUnnamed2772() => [ +core.List buildUnnamed2660() => [ buildAlertPolicy(), buildAlertPolicy(), ]; -void checkUnnamed2772(core.List o) { +void checkUnnamed2660(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAlertPolicy(o[0]); checkAlertPolicy(o[1]); @@ -1614,7 +1619,7 @@ api.ListAlertPoliciesResponse buildListAlertPoliciesResponse() { final o = api.ListAlertPoliciesResponse(); buildCounterListAlertPoliciesResponse++; if (buildCounterListAlertPoliciesResponse < 3) { - o.alertPolicies = buildUnnamed2772(); + o.alertPolicies = buildUnnamed2660(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1625,7 +1630,7 @@ api.ListAlertPoliciesResponse buildListAlertPoliciesResponse() { void checkListAlertPoliciesResponse(api.ListAlertPoliciesResponse o) { buildCounterListAlertPoliciesResponse++; if (buildCounterListAlertPoliciesResponse < 3) { - checkUnnamed2772(o.alertPolicies!); + checkUnnamed2660(o.alertPolicies!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1638,12 +1643,12 @@ void checkListAlertPoliciesResponse(api.ListAlertPoliciesResponse o) { buildCounterListAlertPoliciesResponse--; } -core.List buildUnnamed2773() => [ +core.List buildUnnamed2661() => [ buildMonitoredResource(), buildMonitoredResource(), ]; -void checkUnnamed2773(core.List o) { +void checkUnnamed2661(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResource(o[0]); checkMonitoredResource(o[1]); @@ -1654,7 +1659,7 @@ api.ListGroupMembersResponse buildListGroupMembersResponse() { final o = api.ListGroupMembersResponse(); buildCounterListGroupMembersResponse++; if (buildCounterListGroupMembersResponse < 3) { - o.members = buildUnnamed2773(); + o.members = buildUnnamed2661(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1665,7 +1670,7 @@ api.ListGroupMembersResponse buildListGroupMembersResponse() { void checkListGroupMembersResponse(api.ListGroupMembersResponse o) { buildCounterListGroupMembersResponse++; if (buildCounterListGroupMembersResponse < 3) { - checkUnnamed2773(o.members!); + checkUnnamed2661(o.members!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1678,12 +1683,12 @@ void checkListGroupMembersResponse(api.ListGroupMembersResponse o) { buildCounterListGroupMembersResponse--; } -core.List buildUnnamed2774() => [ +core.List buildUnnamed2662() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed2774(core.List o) { +void checkUnnamed2662(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -1694,7 +1699,7 @@ api.ListGroupsResponse buildListGroupsResponse() { final o = api.ListGroupsResponse(); buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - o.group = buildUnnamed2774(); + o.group = buildUnnamed2662(); o.nextPageToken = 'foo'; } buildCounterListGroupsResponse--; @@ -1704,7 +1709,7 @@ api.ListGroupsResponse buildListGroupsResponse() { void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - checkUnnamed2774(o.group!); + checkUnnamed2662(o.group!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1713,12 +1718,12 @@ void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse--; } -core.List buildUnnamed2775() => [ +core.List buildUnnamed2663() => [ buildMetricDescriptor(), buildMetricDescriptor(), ]; -void checkUnnamed2775(core.List o) { +void checkUnnamed2663(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptor(o[0]); checkMetricDescriptor(o[1]); @@ -1729,7 +1734,7 @@ api.ListMetricDescriptorsResponse buildListMetricDescriptorsResponse() { final o = api.ListMetricDescriptorsResponse(); buildCounterListMetricDescriptorsResponse++; if (buildCounterListMetricDescriptorsResponse < 3) { - o.metricDescriptors = buildUnnamed2775(); + o.metricDescriptors = buildUnnamed2663(); o.nextPageToken = 'foo'; } buildCounterListMetricDescriptorsResponse--; @@ -1739,7 +1744,7 @@ api.ListMetricDescriptorsResponse buildListMetricDescriptorsResponse() { void checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) { buildCounterListMetricDescriptorsResponse++; if (buildCounterListMetricDescriptorsResponse < 3) { - checkUnnamed2775(o.metricDescriptors!); + checkUnnamed2663(o.metricDescriptors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1748,12 +1753,12 @@ void checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) { buildCounterListMetricDescriptorsResponse--; } -core.List buildUnnamed2776() => [ +core.List buildUnnamed2664() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed2776(core.List o) { +void checkUnnamed2664(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); @@ -1766,7 +1771,7 @@ api.ListMonitoredResourceDescriptorsResponse buildCounterListMonitoredResourceDescriptorsResponse++; if (buildCounterListMonitoredResourceDescriptorsResponse < 3) { o.nextPageToken = 'foo'; - o.resourceDescriptors = buildUnnamed2776(); + o.resourceDescriptors = buildUnnamed2664(); } buildCounterListMonitoredResourceDescriptorsResponse--; return o; @@ -1780,17 +1785,17 @@ void checkListMonitoredResourceDescriptorsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2776(o.resourceDescriptors!); + checkUnnamed2664(o.resourceDescriptors!); } buildCounterListMonitoredResourceDescriptorsResponse--; } -core.List buildUnnamed2777() => [ +core.List buildUnnamed2665() => [ buildNotificationChannelDescriptor(), buildNotificationChannelDescriptor(), ]; -void checkUnnamed2777(core.List o) { +void checkUnnamed2665(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotificationChannelDescriptor(o[0]); checkNotificationChannelDescriptor(o[1]); @@ -1802,7 +1807,7 @@ api.ListNotificationChannelDescriptorsResponse final o = api.ListNotificationChannelDescriptorsResponse(); buildCounterListNotificationChannelDescriptorsResponse++; if (buildCounterListNotificationChannelDescriptorsResponse < 3) { - o.channelDescriptors = buildUnnamed2777(); + o.channelDescriptors = buildUnnamed2665(); o.nextPageToken = 'foo'; } buildCounterListNotificationChannelDescriptorsResponse--; @@ -1813,7 +1818,7 @@ void checkListNotificationChannelDescriptorsResponse( api.ListNotificationChannelDescriptorsResponse o) { buildCounterListNotificationChannelDescriptorsResponse++; if (buildCounterListNotificationChannelDescriptorsResponse < 3) { - checkUnnamed2777(o.channelDescriptors!); + checkUnnamed2665(o.channelDescriptors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1822,12 +1827,12 @@ void checkListNotificationChannelDescriptorsResponse( buildCounterListNotificationChannelDescriptorsResponse--; } -core.List buildUnnamed2778() => [ +core.List buildUnnamed2666() => [ buildNotificationChannel(), buildNotificationChannel(), ]; -void checkUnnamed2778(core.List o) { +void checkUnnamed2666(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotificationChannel(o[0]); checkNotificationChannel(o[1]); @@ -1839,7 +1844,7 @@ api.ListNotificationChannelsResponse buildListNotificationChannelsResponse() { buildCounterListNotificationChannelsResponse++; if (buildCounterListNotificationChannelsResponse < 3) { o.nextPageToken = 'foo'; - o.notificationChannels = buildUnnamed2778(); + o.notificationChannels = buildUnnamed2666(); o.totalSize = 42; } buildCounterListNotificationChannelsResponse--; @@ -1854,7 +1859,7 @@ void checkListNotificationChannelsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2778(o.notificationChannels!); + checkUnnamed2666(o.notificationChannels!); unittest.expect( o.totalSize!, unittest.equals(42), @@ -1863,12 +1868,12 @@ void checkListNotificationChannelsResponse( buildCounterListNotificationChannelsResponse--; } -core.List buildUnnamed2779() => [ +core.List buildUnnamed2667() => [ buildServiceLevelObjective(), buildServiceLevelObjective(), ]; -void checkUnnamed2779(core.List o) { +void checkUnnamed2667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceLevelObjective(o[0]); checkServiceLevelObjective(o[1]); @@ -1881,7 +1886,7 @@ api.ListServiceLevelObjectivesResponse buildCounterListServiceLevelObjectivesResponse++; if (buildCounterListServiceLevelObjectivesResponse < 3) { o.nextPageToken = 'foo'; - o.serviceLevelObjectives = buildUnnamed2779(); + o.serviceLevelObjectives = buildUnnamed2667(); } buildCounterListServiceLevelObjectivesResponse--; return o; @@ -1895,17 +1900,17 @@ void checkListServiceLevelObjectivesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2779(o.serviceLevelObjectives!); + checkUnnamed2667(o.serviceLevelObjectives!); } buildCounterListServiceLevelObjectivesResponse--; } -core.List buildUnnamed2780() => [ +core.List buildUnnamed2668() => [ buildService(), buildService(), ]; -void checkUnnamed2780(core.List o) { +void checkUnnamed2668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); @@ -1917,7 +1922,7 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed2780(); + o.services = buildUnnamed2668(); } buildCounterListServicesResponse--; return o; @@ -1930,28 +1935,28 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2780(o.services!); + checkUnnamed2668(o.services!); } buildCounterListServicesResponse--; } -core.List buildUnnamed2781() => [ +core.List buildUnnamed2669() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed2781(core.List o) { +void checkUnnamed2669(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); } -core.List buildUnnamed2782() => [ +core.List buildUnnamed2670() => [ buildTimeSeries(), buildTimeSeries(), ]; -void checkUnnamed2782(core.List o) { +void checkUnnamed2670(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimeSeries(o[0]); checkTimeSeries(o[1]); @@ -1962,9 +1967,9 @@ api.ListTimeSeriesResponse buildListTimeSeriesResponse() { final o = api.ListTimeSeriesResponse(); buildCounterListTimeSeriesResponse++; if (buildCounterListTimeSeriesResponse < 3) { - o.executionErrors = buildUnnamed2781(); + o.executionErrors = buildUnnamed2669(); o.nextPageToken = 'foo'; - o.timeSeries = buildUnnamed2782(); + o.timeSeries = buildUnnamed2670(); o.unit = 'foo'; } buildCounterListTimeSeriesResponse--; @@ -1974,12 +1979,12 @@ api.ListTimeSeriesResponse buildListTimeSeriesResponse() { void checkListTimeSeriesResponse(api.ListTimeSeriesResponse o) { buildCounterListTimeSeriesResponse++; if (buildCounterListTimeSeriesResponse < 3) { - checkUnnamed2781(o.executionErrors!); + checkUnnamed2669(o.executionErrors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2782(o.timeSeries!); + checkUnnamed2670(o.timeSeries!); unittest.expect( o.unit!, unittest.equals('foo'), @@ -1988,12 +1993,12 @@ void checkListTimeSeriesResponse(api.ListTimeSeriesResponse o) { buildCounterListTimeSeriesResponse--; } -core.List buildUnnamed2783() => [ +core.List buildUnnamed2671() => [ buildUptimeCheckConfig(), buildUptimeCheckConfig(), ]; -void checkUnnamed2783(core.List o) { +void checkUnnamed2671(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUptimeCheckConfig(o[0]); checkUptimeCheckConfig(o[1]); @@ -2006,7 +2011,7 @@ api.ListUptimeCheckConfigsResponse buildListUptimeCheckConfigsResponse() { if (buildCounterListUptimeCheckConfigsResponse < 3) { o.nextPageToken = 'foo'; o.totalSize = 42; - o.uptimeCheckConfigs = buildUnnamed2783(); + o.uptimeCheckConfigs = buildUnnamed2671(); } buildCounterListUptimeCheckConfigsResponse--; return o; @@ -2023,17 +2028,17 @@ void checkListUptimeCheckConfigsResponse(api.ListUptimeCheckConfigsResponse o) { o.totalSize!, unittest.equals(42), ); - checkUnnamed2783(o.uptimeCheckConfigs!); + checkUnnamed2671(o.uptimeCheckConfigs!); } buildCounterListUptimeCheckConfigsResponse--; } -core.List buildUnnamed2784() => [ +core.List buildUnnamed2672() => [ buildUptimeCheckIp(), buildUptimeCheckIp(), ]; -void checkUnnamed2784(core.List o) { +void checkUnnamed2672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUptimeCheckIp(o[0]); checkUptimeCheckIp(o[1]); @@ -2045,7 +2050,7 @@ api.ListUptimeCheckIpsResponse buildListUptimeCheckIpsResponse() { buildCounterListUptimeCheckIpsResponse++; if (buildCounterListUptimeCheckIpsResponse < 3) { o.nextPageToken = 'foo'; - o.uptimeCheckIps = buildUnnamed2784(); + o.uptimeCheckIps = buildUnnamed2672(); } buildCounterListUptimeCheckIpsResponse--; return o; @@ -2058,17 +2063,17 @@ void checkListUptimeCheckIpsResponse(api.ListUptimeCheckIpsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2784(o.uptimeCheckIps!); + checkUnnamed2672(o.uptimeCheckIps!); } buildCounterListUptimeCheckIpsResponse--; } -core.Map buildUnnamed2785() => { +core.Map buildUnnamed2673() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2785(core.Map o) { +void checkUnnamed2673(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2086,7 +2091,7 @@ api.LogMatch buildLogMatch() { buildCounterLogMatch++; if (buildCounterLogMatch < 3) { o.filter = 'foo'; - o.labelExtractors = buildUnnamed2785(); + o.labelExtractors = buildUnnamed2673(); } buildCounterLogMatch--; return o; @@ -2099,7 +2104,7 @@ void checkLogMatch(api.LogMatch o) { o.filter!, unittest.equals('foo'), ); - checkUnnamed2785(o.labelExtractors!); + checkUnnamed2673(o.labelExtractors!); } buildCounterLogMatch--; } @@ -2136,12 +2141,12 @@ void checkMeshIstio(api.MeshIstio o) { buildCounterMeshIstio--; } -core.Map buildUnnamed2786() => { +core.Map buildUnnamed2674() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2786(core.Map o) { +void checkUnnamed2674(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2158,7 +2163,7 @@ api.Metric buildMetric() { final o = api.Metric(); buildCounterMetric++; if (buildCounterMetric < 3) { - o.labels = buildUnnamed2786(); + o.labels = buildUnnamed2674(); o.type = 'foo'; } buildCounterMetric--; @@ -2168,7 +2173,7 @@ api.Metric buildMetric() { void checkMetric(api.Metric o) { buildCounterMetric++; if (buildCounterMetric < 3) { - checkUnnamed2786(o.labels!); + checkUnnamed2674(o.labels!); unittest.expect( o.type!, unittest.equals('foo'), @@ -2177,12 +2182,12 @@ void checkMetric(api.Metric o) { buildCounterMetric--; } -core.List buildUnnamed2787() => [ +core.List buildUnnamed2675() => [ buildAggregation(), buildAggregation(), ]; -void checkUnnamed2787(core.List o) { +void checkUnnamed2675(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAggregation(o[0]); checkAggregation(o[1]); @@ -2193,7 +2198,7 @@ api.MetricAbsence buildMetricAbsence() { final o = api.MetricAbsence(); buildCounterMetricAbsence++; if (buildCounterMetricAbsence < 3) { - o.aggregations = buildUnnamed2787(); + o.aggregations = buildUnnamed2675(); o.duration = 'foo'; o.filter = 'foo'; o.trigger = buildTrigger(); @@ -2205,7 +2210,7 @@ api.MetricAbsence buildMetricAbsence() { void checkMetricAbsence(api.MetricAbsence o) { buildCounterMetricAbsence++; if (buildCounterMetricAbsence < 3) { - checkUnnamed2787(o.aggregations!); + checkUnnamed2675(o.aggregations!); unittest.expect( o.duration!, unittest.equals('foo'), @@ -2219,23 +2224,23 @@ void checkMetricAbsence(api.MetricAbsence o) { buildCounterMetricAbsence--; } -core.List buildUnnamed2788() => [ +core.List buildUnnamed2676() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed2788(core.List o) { +void checkUnnamed2676(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed2789() => [ +core.List buildUnnamed2677() => [ 'foo', 'foo', ]; -void checkUnnamed2789(core.List o) { +void checkUnnamed2677(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2254,11 +2259,11 @@ api.MetricDescriptor buildMetricDescriptor() { if (buildCounterMetricDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed2788(); + o.labels = buildUnnamed2676(); o.launchStage = 'foo'; o.metadata = buildMetricDescriptorMetadata(); o.metricKind = 'foo'; - o.monitoredResourceTypes = buildUnnamed2789(); + o.monitoredResourceTypes = buildUnnamed2677(); o.name = 'foo'; o.type = 'foo'; o.unit = 'foo'; @@ -2279,7 +2284,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2788(o.labels!); + checkUnnamed2676(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2289,7 +2294,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed2789(o.monitoredResourceTypes!); + checkUnnamed2677(o.monitoredResourceTypes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2366,23 +2371,23 @@ void checkMetricRange(api.MetricRange o) { buildCounterMetricRange--; } -core.List buildUnnamed2790() => [ +core.List buildUnnamed2678() => [ buildAggregation(), buildAggregation(), ]; -void checkUnnamed2790(core.List o) { +void checkUnnamed2678(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAggregation(o[0]); checkAggregation(o[1]); } -core.List buildUnnamed2791() => [ +core.List buildUnnamed2679() => [ buildAggregation(), buildAggregation(), ]; -void checkUnnamed2791(core.List o) { +void checkUnnamed2679(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAggregation(o[0]); checkAggregation(o[1]); @@ -2393,9 +2398,9 @@ api.MetricThreshold buildMetricThreshold() { final o = api.MetricThreshold(); buildCounterMetricThreshold++; if (buildCounterMetricThreshold < 3) { - o.aggregations = buildUnnamed2790(); + o.aggregations = buildUnnamed2678(); o.comparison = 'foo'; - o.denominatorAggregations = buildUnnamed2791(); + o.denominatorAggregations = buildUnnamed2679(); o.denominatorFilter = 'foo'; o.duration = 'foo'; o.filter = 'foo'; @@ -2409,12 +2414,12 @@ api.MetricThreshold buildMetricThreshold() { void checkMetricThreshold(api.MetricThreshold o) { buildCounterMetricThreshold++; if (buildCounterMetricThreshold < 3) { - checkUnnamed2790(o.aggregations!); + checkUnnamed2678(o.aggregations!); unittest.expect( o.comparison!, unittest.equals('foo'), ); - checkUnnamed2791(o.denominatorAggregations!); + checkUnnamed2679(o.denominatorAggregations!); unittest.expect( o.denominatorFilter!, unittest.equals('foo'), @@ -2436,12 +2441,12 @@ void checkMetricThreshold(api.MetricThreshold o) { buildCounterMetricThreshold--; } -core.Map buildUnnamed2792() => { +core.Map buildUnnamed2680() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2792(core.Map o) { +void checkUnnamed2680(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2458,7 +2463,7 @@ api.MonitoredResource buildMonitoredResource() { final o = api.MonitoredResource(); buildCounterMonitoredResource++; if (buildCounterMonitoredResource < 3) { - o.labels = buildUnnamed2792(); + o.labels = buildUnnamed2680(); o.type = 'foo'; } buildCounterMonitoredResource--; @@ -2468,7 +2473,7 @@ api.MonitoredResource buildMonitoredResource() { void checkMonitoredResource(api.MonitoredResource o) { buildCounterMonitoredResource++; if (buildCounterMonitoredResource < 3) { - checkUnnamed2792(o.labels!); + checkUnnamed2680(o.labels!); unittest.expect( o.type!, unittest.equals('foo'), @@ -2477,12 +2482,12 @@ void checkMonitoredResource(api.MonitoredResource o) { buildCounterMonitoredResource--; } -core.List buildUnnamed2793() => [ +core.List buildUnnamed2681() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed2793(core.List o) { +void checkUnnamed2681(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2495,7 +2500,7 @@ api.MonitoredResourceDescriptor buildMonitoredResourceDescriptor() { if (buildCounterMonitoredResourceDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed2793(); + o.labels = buildUnnamed2681(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -2515,7 +2520,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2793(o.labels!); + checkUnnamed2681(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2532,7 +2537,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { buildCounterMonitoredResourceDescriptor--; } -core.Map buildUnnamed2794() => { +core.Map buildUnnamed2682() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2545,7 +2550,7 @@ core.Map buildUnnamed2794() => { }, }; -void checkUnnamed2794(core.Map o) { +void checkUnnamed2682(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2577,12 +2582,12 @@ void checkUnnamed2794(core.Map o) { ); } -core.Map buildUnnamed2795() => { +core.Map buildUnnamed2683() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2795(core.Map o) { +void checkUnnamed2683(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2599,8 +2604,8 @@ api.MonitoredResourceMetadata buildMonitoredResourceMetadata() { final o = api.MonitoredResourceMetadata(); buildCounterMonitoredResourceMetadata++; if (buildCounterMonitoredResourceMetadata < 3) { - o.systemLabels = buildUnnamed2794(); - o.userLabels = buildUnnamed2795(); + o.systemLabels = buildUnnamed2682(); + o.userLabels = buildUnnamed2683(); } buildCounterMonitoredResourceMetadata--; return o; @@ -2609,8 +2614,8 @@ api.MonitoredResourceMetadata buildMonitoredResourceMetadata() { void checkMonitoredResourceMetadata(api.MonitoredResourceMetadata o) { buildCounterMonitoredResourceMetadata++; if (buildCounterMonitoredResourceMetadata < 3) { - checkUnnamed2794(o.systemLabels!); - checkUnnamed2795(o.userLabels!); + checkUnnamed2682(o.systemLabels!); + checkUnnamed2683(o.userLabels!); } buildCounterMonitoredResourceMetadata--; } @@ -2672,12 +2677,12 @@ void checkMutationRecord(api.MutationRecord o) { buildCounterMutationRecord--; } -core.Map buildUnnamed2796() => { +core.Map buildUnnamed2684() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2796(core.Map o) { +void checkUnnamed2684(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2689,23 +2694,23 @@ void checkUnnamed2796(core.Map o) { ); } -core.List buildUnnamed2797() => [ +core.List buildUnnamed2685() => [ buildMutationRecord(), buildMutationRecord(), ]; -void checkUnnamed2797(core.List o) { +void checkUnnamed2685(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMutationRecord(o[0]); checkMutationRecord(o[1]); } -core.Map buildUnnamed2798() => { +core.Map buildUnnamed2686() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2798(core.Map o) { +void checkUnnamed2686(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2726,11 +2731,11 @@ api.NotificationChannel buildNotificationChannel() { o.description = 'foo'; o.displayName = 'foo'; o.enabled = true; - o.labels = buildUnnamed2796(); - o.mutationRecords = buildUnnamed2797(); + o.labels = buildUnnamed2684(); + o.mutationRecords = buildUnnamed2685(); o.name = 'foo'; o.type = 'foo'; - o.userLabels = buildUnnamed2798(); + o.userLabels = buildUnnamed2686(); o.verificationStatus = 'foo'; } buildCounterNotificationChannel--; @@ -2750,8 +2755,8 @@ void checkNotificationChannel(api.NotificationChannel o) { unittest.equals('foo'), ); unittest.expect(o.enabled!, unittest.isTrue); - checkUnnamed2796(o.labels!); - checkUnnamed2797(o.mutationRecords!); + checkUnnamed2684(o.labels!); + checkUnnamed2685(o.mutationRecords!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2760,7 +2765,7 @@ void checkNotificationChannel(api.NotificationChannel o) { o.type!, unittest.equals('foo'), ); - checkUnnamed2798(o.userLabels!); + checkUnnamed2686(o.userLabels!); unittest.expect( o.verificationStatus!, unittest.equals('foo'), @@ -2769,12 +2774,12 @@ void checkNotificationChannel(api.NotificationChannel o) { buildCounterNotificationChannel--; } -core.List buildUnnamed2799() => [ +core.List buildUnnamed2687() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed2799(core.List o) { +void checkUnnamed2687(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2787,7 +2792,7 @@ api.NotificationChannelDescriptor buildNotificationChannelDescriptor() { if (buildCounterNotificationChannelDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed2799(); + o.labels = buildUnnamed2687(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -2807,7 +2812,7 @@ void checkNotificationChannelDescriptor(api.NotificationChannelDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed2799(o.labels!); + checkUnnamed2687(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2878,7 +2883,7 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.Map buildUnnamed2800() => { +core.Map buildUnnamed2688() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2891,7 +2896,7 @@ core.Map buildUnnamed2800() => { }, }; -void checkUnnamed2800(core.Map o) { +void checkUnnamed2688(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2929,7 +2934,7 @@ api.Option buildOption() { buildCounterOption++; if (buildCounterOption < 3) { o.name = 'foo'; - o.value = buildUnnamed2800(); + o.value = buildUnnamed2688(); } buildCounterOption--; return o; @@ -2942,7 +2947,7 @@ void checkOption(api.Option o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2800(o.value!); + checkUnnamed2688(o.value!); } buildCounterOption--; } @@ -2994,12 +2999,12 @@ void checkPoint(api.Point o) { buildCounterPoint--; } -core.List buildUnnamed2801() => [ +core.List buildUnnamed2689() => [ buildTypedValue(), buildTypedValue(), ]; -void checkUnnamed2801(core.List o) { +void checkUnnamed2689(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTypedValue(o[0]); checkTypedValue(o[1]); @@ -3011,7 +3016,7 @@ api.PointData buildPointData() { buildCounterPointData++; if (buildCounterPointData < 3) { o.timeInterval = buildTimeInterval(); - o.values = buildUnnamed2801(); + o.values = buildUnnamed2689(); } buildCounterPointData--; return o; @@ -3021,7 +3026,7 @@ void checkPointData(api.PointData o) { buildCounterPointData++; if (buildCounterPointData < 3) { checkTimeInterval(o.timeInterval!); - checkUnnamed2801(o.values!); + checkUnnamed2689(o.values!); } buildCounterPointData--; } @@ -3058,23 +3063,23 @@ void checkQueryTimeSeriesRequest(api.QueryTimeSeriesRequest o) { buildCounterQueryTimeSeriesRequest--; } -core.List buildUnnamed2802() => [ +core.List buildUnnamed2690() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed2802(core.List o) { +void checkUnnamed2690(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); } -core.List buildUnnamed2803() => [ +core.List buildUnnamed2691() => [ buildTimeSeriesData(), buildTimeSeriesData(), ]; -void checkUnnamed2803(core.List o) { +void checkUnnamed2691(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimeSeriesData(o[0]); checkTimeSeriesData(o[1]); @@ -3086,8 +3091,8 @@ api.QueryTimeSeriesResponse buildQueryTimeSeriesResponse() { buildCounterQueryTimeSeriesResponse++; if (buildCounterQueryTimeSeriesResponse < 3) { o.nextPageToken = 'foo'; - o.partialErrors = buildUnnamed2802(); - o.timeSeriesData = buildUnnamed2803(); + o.partialErrors = buildUnnamed2690(); + o.timeSeriesData = buildUnnamed2691(); o.timeSeriesDescriptor = buildTimeSeriesDescriptor(); } buildCounterQueryTimeSeriesResponse--; @@ -3101,8 +3106,8 @@ void checkQueryTimeSeriesResponse(api.QueryTimeSeriesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed2802(o.partialErrors!); - checkUnnamed2803(o.timeSeriesData!); + checkUnnamed2690(o.partialErrors!); + checkUnnamed2691(o.timeSeriesData!); checkTimeSeriesDescriptor(o.timeSeriesDescriptor!); } buildCounterQueryTimeSeriesResponse--; @@ -3200,12 +3205,12 @@ void checkSendNotificationChannelVerificationCodeRequest( buildCounterSendNotificationChannelVerificationCodeRequest--; } -core.Map buildUnnamed2804() => { +core.Map buildUnnamed2692() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2804(core.Map o) { +void checkUnnamed2692(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3231,7 +3236,7 @@ api.Service buildService() { o.meshIstio = buildMeshIstio(); o.name = 'foo'; o.telemetry = buildTelemetry(); - o.userLabels = buildUnnamed2804(); + o.userLabels = buildUnnamed2692(); } buildCounterService--; return o; @@ -3255,7 +3260,7 @@ void checkService(api.Service o) { unittest.equals('foo'), ); checkTelemetry(o.telemetry!); - checkUnnamed2804(o.userLabels!); + checkUnnamed2692(o.userLabels!); } buildCounterService--; } @@ -3283,12 +3288,12 @@ void checkServiceLevelIndicator(api.ServiceLevelIndicator o) { buildCounterServiceLevelIndicator--; } -core.Map buildUnnamed2805() => { +core.Map buildUnnamed2693() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2805(core.Map o) { +void checkUnnamed2693(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3311,7 +3316,7 @@ api.ServiceLevelObjective buildServiceLevelObjective() { o.name = 'foo'; o.rollingPeriod = 'foo'; o.serviceLevelIndicator = buildServiceLevelIndicator(); - o.userLabels = buildUnnamed2805(); + o.userLabels = buildUnnamed2693(); } buildCounterServiceLevelObjective--; return o; @@ -3341,7 +3346,7 @@ void checkServiceLevelObjective(api.ServiceLevelObjective o) { unittest.equals('foo'), ); checkServiceLevelIndicator(o.serviceLevelIndicator!); - checkUnnamed2805(o.userLabels!); + checkUnnamed2693(o.userLabels!); } buildCounterServiceLevelObjective--; } @@ -3390,7 +3395,7 @@ void checkSpanContext(api.SpanContext o) { buildCounterSpanContext--; } -core.Map buildUnnamed2806() => { +core.Map buildUnnamed2694() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3403,7 +3408,7 @@ core.Map buildUnnamed2806() => { }, }; -void checkUnnamed2806(core.Map o) { +void checkUnnamed2694(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3435,15 +3440,15 @@ void checkUnnamed2806(core.Map o) { ); } -core.List> buildUnnamed2807() => [ - buildUnnamed2806(), - buildUnnamed2806(), +core.List> buildUnnamed2695() => [ + buildUnnamed2694(), + buildUnnamed2694(), ]; -void checkUnnamed2807(core.List> o) { +void checkUnnamed2695(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2806(o[0]); - checkUnnamed2806(o[1]); + checkUnnamed2694(o[0]); + checkUnnamed2694(o[1]); } core.int buildCounterStatus = 0; @@ -3452,7 +3457,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2807(); + o.details = buildUnnamed2695(); o.message = 'foo'; } buildCounterStatus--; @@ -3466,7 +3471,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2807(o.details!); + checkUnnamed2695(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3546,12 +3551,12 @@ void checkTimeInterval(api.TimeInterval o) { buildCounterTimeInterval--; } -core.List buildUnnamed2808() => [ +core.List buildUnnamed2696() => [ buildPoint(), buildPoint(), ]; -void checkUnnamed2808(core.List o) { +void checkUnnamed2696(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPoint(o[0]); checkPoint(o[1]); @@ -3565,7 +3570,7 @@ api.TimeSeries buildTimeSeries() { o.metadata = buildMonitoredResourceMetadata(); o.metric = buildMetric(); o.metricKind = 'foo'; - o.points = buildUnnamed2808(); + o.points = buildUnnamed2696(); o.resource = buildMonitoredResource(); o.unit = 'foo'; o.valueType = 'foo'; @@ -3583,7 +3588,7 @@ void checkTimeSeries(api.TimeSeries o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed2808(o.points!); + checkUnnamed2696(o.points!); checkMonitoredResource(o.resource!); unittest.expect( o.unit!, @@ -3597,23 +3602,23 @@ void checkTimeSeries(api.TimeSeries o) { buildCounterTimeSeries--; } -core.List buildUnnamed2809() => [ +core.List buildUnnamed2697() => [ buildLabelValue(), buildLabelValue(), ]; -void checkUnnamed2809(core.List o) { +void checkUnnamed2697(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelValue(o[0]); checkLabelValue(o[1]); } -core.List buildUnnamed2810() => [ +core.List buildUnnamed2698() => [ buildPointData(), buildPointData(), ]; -void checkUnnamed2810(core.List o) { +void checkUnnamed2698(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPointData(o[0]); checkPointData(o[1]); @@ -3624,8 +3629,8 @@ api.TimeSeriesData buildTimeSeriesData() { final o = api.TimeSeriesData(); buildCounterTimeSeriesData++; if (buildCounterTimeSeriesData < 3) { - o.labelValues = buildUnnamed2809(); - o.pointData = buildUnnamed2810(); + o.labelValues = buildUnnamed2697(); + o.pointData = buildUnnamed2698(); } buildCounterTimeSeriesData--; return o; @@ -3634,29 +3639,29 @@ api.TimeSeriesData buildTimeSeriesData() { void checkTimeSeriesData(api.TimeSeriesData o) { buildCounterTimeSeriesData++; if (buildCounterTimeSeriesData < 3) { - checkUnnamed2809(o.labelValues!); - checkUnnamed2810(o.pointData!); + checkUnnamed2697(o.labelValues!); + checkUnnamed2698(o.pointData!); } buildCounterTimeSeriesData--; } -core.List buildUnnamed2811() => [ +core.List buildUnnamed2699() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed2811(core.List o) { +void checkUnnamed2699(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed2812() => [ +core.List buildUnnamed2700() => [ buildValueDescriptor(), buildValueDescriptor(), ]; -void checkUnnamed2812(core.List o) { +void checkUnnamed2700(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValueDescriptor(o[0]); checkValueDescriptor(o[1]); @@ -3667,8 +3672,8 @@ api.TimeSeriesDescriptor buildTimeSeriesDescriptor() { final o = api.TimeSeriesDescriptor(); buildCounterTimeSeriesDescriptor++; if (buildCounterTimeSeriesDescriptor < 3) { - o.labelDescriptors = buildUnnamed2811(); - o.pointDescriptors = buildUnnamed2812(); + o.labelDescriptors = buildUnnamed2699(); + o.pointDescriptors = buildUnnamed2700(); } buildCounterTimeSeriesDescriptor--; return o; @@ -3677,8 +3682,8 @@ api.TimeSeriesDescriptor buildTimeSeriesDescriptor() { void checkTimeSeriesDescriptor(api.TimeSeriesDescriptor o) { buildCounterTimeSeriesDescriptor++; if (buildCounterTimeSeriesDescriptor < 3) { - checkUnnamed2811(o.labelDescriptors!); - checkUnnamed2812(o.pointDescriptors!); + checkUnnamed2699(o.labelDescriptors!); + checkUnnamed2700(o.pointDescriptors!); } buildCounterTimeSeriesDescriptor--; } @@ -3742,23 +3747,23 @@ void checkTrigger(api.Trigger o) { buildCounterTrigger--; } -core.List buildUnnamed2813() => [ +core.List buildUnnamed2701() => [ buildField(), buildField(), ]; -void checkUnnamed2813(core.List o) { +void checkUnnamed2701(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); } -core.List buildUnnamed2814() => [ +core.List buildUnnamed2702() => [ 'foo', 'foo', ]; -void checkUnnamed2814(core.List o) { +void checkUnnamed2702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3770,12 +3775,12 @@ void checkUnnamed2814(core.List o) { ); } -core.List buildUnnamed2815() => [ +core.List buildUnnamed2703() => [ buildOption(), buildOption(), ]; -void checkUnnamed2815(core.List o) { +void checkUnnamed2703(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -3786,10 +3791,10 @@ api.Type buildType() { final o = api.Type(); buildCounterType++; if (buildCounterType < 3) { - o.fields = buildUnnamed2813(); + o.fields = buildUnnamed2701(); o.name = 'foo'; - o.oneofs = buildUnnamed2814(); - o.options = buildUnnamed2815(); + o.oneofs = buildUnnamed2702(); + o.options = buildUnnamed2703(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -3800,13 +3805,13 @@ api.Type buildType() { void checkType(api.Type o) { buildCounterType++; if (buildCounterType < 3) { - checkUnnamed2813(o.fields!); + checkUnnamed2701(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed2814(o.oneofs!); - checkUnnamed2815(o.options!); + checkUnnamed2702(o.oneofs!); + checkUnnamed2703(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -3852,34 +3857,34 @@ void checkTypedValue(api.TypedValue o) { buildCounterTypedValue--; } -core.List buildUnnamed2816() => [ +core.List buildUnnamed2704() => [ buildContentMatcher(), buildContentMatcher(), ]; -void checkUnnamed2816(core.List o) { +void checkUnnamed2704(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContentMatcher(o[0]); checkContentMatcher(o[1]); } -core.List buildUnnamed2817() => [ +core.List buildUnnamed2705() => [ buildInternalChecker(), buildInternalChecker(), ]; -void checkUnnamed2817(core.List o) { +void checkUnnamed2705(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInternalChecker(o[0]); checkInternalChecker(o[1]); } -core.List buildUnnamed2818() => [ +core.List buildUnnamed2706() => [ 'foo', 'foo', ]; -void checkUnnamed2818(core.List o) { +void checkUnnamed2706(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3896,16 +3901,16 @@ api.UptimeCheckConfig buildUptimeCheckConfig() { final o = api.UptimeCheckConfig(); buildCounterUptimeCheckConfig++; if (buildCounterUptimeCheckConfig < 3) { - o.contentMatchers = buildUnnamed2816(); + o.contentMatchers = buildUnnamed2704(); o.displayName = 'foo'; o.httpCheck = buildHttpCheck(); - o.internalCheckers = buildUnnamed2817(); + o.internalCheckers = buildUnnamed2705(); o.isInternal = true; o.monitoredResource = buildMonitoredResource(); o.name = 'foo'; o.period = 'foo'; o.resourceGroup = buildResourceGroup(); - o.selectedRegions = buildUnnamed2818(); + o.selectedRegions = buildUnnamed2706(); o.tcpCheck = buildTcpCheck(); o.timeout = 'foo'; } @@ -3916,13 +3921,13 @@ api.UptimeCheckConfig buildUptimeCheckConfig() { void checkUptimeCheckConfig(api.UptimeCheckConfig o) { buildCounterUptimeCheckConfig++; if (buildCounterUptimeCheckConfig < 3) { - checkUnnamed2816(o.contentMatchers!); + checkUnnamed2704(o.contentMatchers!); unittest.expect( o.displayName!, unittest.equals('foo'), ); checkHttpCheck(o.httpCheck!); - checkUnnamed2817(o.internalCheckers!); + checkUnnamed2705(o.internalCheckers!); unittest.expect(o.isInternal!, unittest.isTrue); checkMonitoredResource(o.monitoredResource!); unittest.expect( @@ -3934,7 +3939,7 @@ void checkUptimeCheckConfig(api.UptimeCheckConfig o) { unittest.equals('foo'), ); checkResourceGroup(o.resourceGroup!); - checkUnnamed2818(o.selectedRegions!); + checkUnnamed2706(o.selectedRegions!); checkTcpCheck(o.tcpCheck!); unittest.expect( o.timeout!, @@ -4069,12 +4074,12 @@ void checkWindowsBasedSli(api.WindowsBasedSli o) { buildCounterWindowsBasedSli--; } -core.List buildUnnamed2819() => [ +core.List buildUnnamed2707() => [ 'foo', 'foo', ]; -void checkUnnamed2819(core.List o) { +void checkUnnamed2707(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4086,12 +4091,12 @@ void checkUnnamed2819(core.List o) { ); } -core.List buildUnnamed2820() => [ +core.List buildUnnamed2708() => [ 'foo', 'foo', ]; -void checkUnnamed2820(core.List o) { +void checkUnnamed2708(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4103,12 +4108,12 @@ void checkUnnamed2820(core.List o) { ); } -core.List buildUnnamed2821() => [ +core.List buildUnnamed2709() => [ 'foo', 'foo', ]; -void checkUnnamed2821(core.List o) { +void checkUnnamed2709(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4120,12 +4125,12 @@ void checkUnnamed2821(core.List o) { ); } -core.List buildUnnamed2822() => [ +core.List buildUnnamed2710() => [ 'foo', 'foo', ]; -void checkUnnamed2822(core.List o) { +void checkUnnamed2710(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4137,12 +4142,12 @@ void checkUnnamed2822(core.List o) { ); } -core.List buildUnnamed2823() => [ +core.List buildUnnamed2711() => [ 'foo', 'foo', ]; -void checkUnnamed2823(core.List o) { +void checkUnnamed2711(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4154,12 +4159,12 @@ void checkUnnamed2823(core.List o) { ); } -core.List buildUnnamed2824() => [ +core.List buildUnnamed2712() => [ 'foo', 'foo', ]; -void checkUnnamed2824(core.List o) { +void checkUnnamed2712(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5202,7 +5207,7 @@ void main() { final arg_name = 'foo'; final arg_aggregation_alignmentPeriod = 'foo'; final arg_aggregation_crossSeriesReducer = 'foo'; - final arg_aggregation_groupByFields = buildUnnamed2819(); + final arg_aggregation_groupByFields = buildUnnamed2707(); final arg_aggregation_perSeriesAligner = 'foo'; final arg_filter = 'foo'; final arg_interval_endTime = 'foo'; @@ -5212,7 +5217,7 @@ void main() { final arg_pageToken = 'foo'; final arg_secondaryAggregation_alignmentPeriod = 'foo'; final arg_secondaryAggregation_crossSeriesReducer = 'foo'; - final arg_secondaryAggregation_groupByFields = buildUnnamed2820(); + final arg_secondaryAggregation_groupByFields = buildUnnamed2708(); final arg_secondaryAggregation_perSeriesAligner = 'foo'; final arg_view = 'foo'; final arg_$fields = 'foo'; @@ -5351,7 +5356,7 @@ void main() { final arg_name = 'foo'; final arg_aggregation_alignmentPeriod = 'foo'; final arg_aggregation_crossSeriesReducer = 'foo'; - final arg_aggregation_groupByFields = buildUnnamed2821(); + final arg_aggregation_groupByFields = buildUnnamed2709(); final arg_aggregation_perSeriesAligner = 'foo'; final arg_filter = 'foo'; final arg_interval_endTime = 'foo'; @@ -5361,7 +5366,7 @@ void main() { final arg_pageToken = 'foo'; final arg_secondaryAggregation_alignmentPeriod = 'foo'; final arg_secondaryAggregation_crossSeriesReducer = 'foo'; - final arg_secondaryAggregation_groupByFields = buildUnnamed2822(); + final arg_secondaryAggregation_groupByFields = buildUnnamed2710(); final arg_secondaryAggregation_perSeriesAligner = 'foo'; final arg_view = 'foo'; final arg_$fields = 'foo'; @@ -7306,7 +7311,7 @@ void main() { final arg_name = 'foo'; final arg_aggregation_alignmentPeriod = 'foo'; final arg_aggregation_crossSeriesReducer = 'foo'; - final arg_aggregation_groupByFields = buildUnnamed2823(); + final arg_aggregation_groupByFields = buildUnnamed2711(); final arg_aggregation_perSeriesAligner = 'foo'; final arg_filter = 'foo'; final arg_interval_endTime = 'foo'; @@ -7316,7 +7321,7 @@ void main() { final arg_pageToken = 'foo'; final arg_secondaryAggregation_alignmentPeriod = 'foo'; final arg_secondaryAggregation_crossSeriesReducer = 'foo'; - final arg_secondaryAggregation_groupByFields = buildUnnamed2824(); + final arg_secondaryAggregation_groupByFields = buildUnnamed2712(); final arg_secondaryAggregation_perSeriesAligner = 'foo'; final arg_view = 'foo'; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart b/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart index 59e606d08..f134f4b34 100644 --- a/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart +++ b/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart @@ -205,12 +205,12 @@ void checkInvitation(api.Invitation o) { buildCounterInvitation--; } -core.List buildUnnamed5907() => [ +core.List buildUnnamed5973() => [ buildAdmin(), buildAdmin(), ]; -void checkUnnamed5907(core.List o) { +void checkUnnamed5973(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdmin(o[0]); checkAdmin(o[1]); @@ -221,7 +221,7 @@ api.ListAccountAdminsResponse buildListAccountAdminsResponse() { final o = api.ListAccountAdminsResponse(); buildCounterListAccountAdminsResponse++; if (buildCounterListAccountAdminsResponse < 3) { - o.accountAdmins = buildUnnamed5907(); + o.accountAdmins = buildUnnamed5973(); } buildCounterListAccountAdminsResponse--; return o; @@ -230,17 +230,17 @@ api.ListAccountAdminsResponse buildListAccountAdminsResponse() { void checkListAccountAdminsResponse(api.ListAccountAdminsResponse o) { buildCounterListAccountAdminsResponse++; if (buildCounterListAccountAdminsResponse < 3) { - checkUnnamed5907(o.accountAdmins!); + checkUnnamed5973(o.accountAdmins!); } buildCounterListAccountAdminsResponse--; } -core.List buildUnnamed5908() => [ +core.List buildUnnamed5974() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed5908(core.List o) { +void checkUnnamed5974(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -251,7 +251,7 @@ api.ListAccountsResponse buildListAccountsResponse() { final o = api.ListAccountsResponse(); buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - o.accounts = buildUnnamed5908(); + o.accounts = buildUnnamed5974(); o.nextPageToken = 'foo'; } buildCounterListAccountsResponse--; @@ -261,7 +261,7 @@ api.ListAccountsResponse buildListAccountsResponse() { void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - checkUnnamed5908(o.accounts!); + checkUnnamed5974(o.accounts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -270,12 +270,12 @@ void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse--; } -core.List buildUnnamed5909() => [ +core.List buildUnnamed5975() => [ buildInvitation(), buildInvitation(), ]; -void checkUnnamed5909(core.List o) { +void checkUnnamed5975(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInvitation(o[0]); checkInvitation(o[1]); @@ -286,7 +286,7 @@ api.ListInvitationsResponse buildListInvitationsResponse() { final o = api.ListInvitationsResponse(); buildCounterListInvitationsResponse++; if (buildCounterListInvitationsResponse < 3) { - o.invitations = buildUnnamed5909(); + o.invitations = buildUnnamed5975(); } buildCounterListInvitationsResponse--; return o; @@ -295,17 +295,17 @@ api.ListInvitationsResponse buildListInvitationsResponse() { void checkListInvitationsResponse(api.ListInvitationsResponse o) { buildCounterListInvitationsResponse++; if (buildCounterListInvitationsResponse < 3) { - checkUnnamed5909(o.invitations!); + checkUnnamed5975(o.invitations!); } buildCounterListInvitationsResponse--; } -core.List buildUnnamed5910() => [ +core.List buildUnnamed5976() => [ buildAdmin(), buildAdmin(), ]; -void checkUnnamed5910(core.List o) { +void checkUnnamed5976(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdmin(o[0]); checkAdmin(o[1]); @@ -316,7 +316,7 @@ api.ListLocationAdminsResponse buildListLocationAdminsResponse() { final o = api.ListLocationAdminsResponse(); buildCounterListLocationAdminsResponse++; if (buildCounterListLocationAdminsResponse < 3) { - o.admins = buildUnnamed5910(); + o.admins = buildUnnamed5976(); } buildCounterListLocationAdminsResponse--; return o; @@ -325,7 +325,7 @@ api.ListLocationAdminsResponse buildListLocationAdminsResponse() { void checkListLocationAdminsResponse(api.ListLocationAdminsResponse o) { buildCounterListLocationAdminsResponse++; if (buildCounterListLocationAdminsResponse < 3) { - checkUnnamed5910(o.admins!); + checkUnnamed5976(o.admins!); } buildCounterListLocationAdminsResponse--; } @@ -359,12 +359,12 @@ void checkOrganizationInfo(api.OrganizationInfo o) { buildCounterOrganizationInfo--; } -core.List buildUnnamed5911() => [ +core.List buildUnnamed5977() => [ 'foo', 'foo', ]; -void checkUnnamed5911(core.List o) { +void checkUnnamed5977(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -376,12 +376,12 @@ void checkUnnamed5911(core.List o) { ); } -core.List buildUnnamed5912() => [ +core.List buildUnnamed5978() => [ 'foo', 'foo', ]; -void checkUnnamed5912(core.List o) { +void checkUnnamed5978(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -398,13 +398,13 @@ api.PostalAddress buildPostalAddress() { final o = api.PostalAddress(); buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - o.addressLines = buildUnnamed5911(); + o.addressLines = buildUnnamed5977(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed5912(); + o.recipients = buildUnnamed5978(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -417,7 +417,7 @@ api.PostalAddress buildPostalAddress() { void checkPostalAddress(api.PostalAddress o) { buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - checkUnnamed5911(o.addressLines!); + checkUnnamed5977(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -438,7 +438,7 @@ void checkPostalAddress(api.PostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed5912(o.recipients!); + checkUnnamed5978(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), diff --git a/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart b/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart new file mode 100644 index 000000000..70551fb40 --- /dev/null +++ b/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart @@ -0,0 +1,3458 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/mybusinessbusinessinformation/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterAdWordsLocationExtensions = 0; +api.AdWordsLocationExtensions buildAdWordsLocationExtensions() { + final o = api.AdWordsLocationExtensions(); + buildCounterAdWordsLocationExtensions++; + if (buildCounterAdWordsLocationExtensions < 3) { + o.adPhone = 'foo'; + } + buildCounterAdWordsLocationExtensions--; + return o; +} + +void checkAdWordsLocationExtensions(api.AdWordsLocationExtensions o) { + buildCounterAdWordsLocationExtensions++; + if (buildCounterAdWordsLocationExtensions < 3) { + unittest.expect( + o.adPhone!, + unittest.equals('foo'), + ); + } + buildCounterAdWordsLocationExtensions--; +} + +core.int buildCounterAssociateLocationRequest = 0; +api.AssociateLocationRequest buildAssociateLocationRequest() { + final o = api.AssociateLocationRequest(); + buildCounterAssociateLocationRequest++; + if (buildCounterAssociateLocationRequest < 3) { + o.placeId = 'foo'; + } + buildCounterAssociateLocationRequest--; + return o; +} + +void checkAssociateLocationRequest(api.AssociateLocationRequest o) { + buildCounterAssociateLocationRequest++; + if (buildCounterAssociateLocationRequest < 3) { + unittest.expect( + o.placeId!, + unittest.equals('foo'), + ); + } + buildCounterAssociateLocationRequest--; +} + +core.List buildUnnamed4495() => [ + buildUriAttributeValue(), + buildUriAttributeValue(), + ]; + +void checkUnnamed4495(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkUriAttributeValue(o[0]); + checkUriAttributeValue(o[1]); +} + +core.List buildUnnamed4496() => [ + { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + ]; + +void checkUnnamed4496(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o[0]) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o[1]) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterAttribute = 0; +api.Attribute buildAttribute() { + final o = api.Attribute(); + buildCounterAttribute++; + if (buildCounterAttribute < 3) { + o.name = 'foo'; + o.repeatedEnumValue = buildRepeatedEnumAttributeValue(); + o.uriValues = buildUnnamed4495(); + o.valueType = 'foo'; + o.values = buildUnnamed4496(); + } + buildCounterAttribute--; + return o; +} + +void checkAttribute(api.Attribute o) { + buildCounterAttribute++; + if (buildCounterAttribute < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkRepeatedEnumAttributeValue(o.repeatedEnumValue!); + checkUnnamed4495(o.uriValues!); + unittest.expect( + o.valueType!, + unittest.equals('foo'), + ); + checkUnnamed4496(o.values!); + } + buildCounterAttribute--; +} + +core.List buildUnnamed4497() => [ + buildAttributeValueMetadata(), + buildAttributeValueMetadata(), + ]; + +void checkUnnamed4497(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAttributeValueMetadata(o[0]); + checkAttributeValueMetadata(o[1]); +} + +core.int buildCounterAttributeMetadata = 0; +api.AttributeMetadata buildAttributeMetadata() { + final o = api.AttributeMetadata(); + buildCounterAttributeMetadata++; + if (buildCounterAttributeMetadata < 3) { + o.deprecated = true; + o.displayName = 'foo'; + o.groupDisplayName = 'foo'; + o.parent = 'foo'; + o.repeatable = true; + o.valueMetadata = buildUnnamed4497(); + o.valueType = 'foo'; + } + buildCounterAttributeMetadata--; + return o; +} + +void checkAttributeMetadata(api.AttributeMetadata o) { + buildCounterAttributeMetadata++; + if (buildCounterAttributeMetadata < 3) { + unittest.expect(o.deprecated!, unittest.isTrue); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.groupDisplayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + unittest.expect(o.repeatable!, unittest.isTrue); + checkUnnamed4497(o.valueMetadata!); + unittest.expect( + o.valueType!, + unittest.equals('foo'), + ); + } + buildCounterAttributeMetadata--; +} + +core.int buildCounterAttributeValueMetadata = 0; +api.AttributeValueMetadata buildAttributeValueMetadata() { + final o = api.AttributeValueMetadata(); + buildCounterAttributeValueMetadata++; + if (buildCounterAttributeValueMetadata < 3) { + o.displayName = 'foo'; + o.value = { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }; + } + buildCounterAttributeValueMetadata--; + return o; +} + +void checkAttributeValueMetadata(api.AttributeValueMetadata o) { + buildCounterAttributeValueMetadata++; + if (buildCounterAttributeValueMetadata < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + var casted3 = (o.value!) as core.Map; + unittest.expect(casted3, unittest.hasLength(3)); + unittest.expect( + casted3['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted3['bool'], + unittest.equals(true), + ); + unittest.expect( + casted3['string'], + unittest.equals('foo'), + ); + } + buildCounterAttributeValueMetadata--; +} + +core.List buildUnnamed4498() => [ + buildAttribute(), + buildAttribute(), + ]; + +void checkUnnamed4498(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAttribute(o[0]); + checkAttribute(o[1]); +} + +core.int buildCounterAttributes = 0; +api.Attributes buildAttributes() { + final o = api.Attributes(); + buildCounterAttributes++; + if (buildCounterAttributes < 3) { + o.attributes = buildUnnamed4498(); + o.name = 'foo'; + } + buildCounterAttributes--; + return o; +} + +void checkAttributes(api.Attributes o) { + buildCounterAttributes++; + if (buildCounterAttributes < 3) { + checkUnnamed4498(o.attributes!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterAttributes--; +} + +core.List buildUnnamed4499() => [ + buildCategory(), + buildCategory(), + ]; + +void checkUnnamed4499(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCategory(o[0]); + checkCategory(o[1]); +} + +core.int buildCounterBatchGetCategoriesResponse = 0; +api.BatchGetCategoriesResponse buildBatchGetCategoriesResponse() { + final o = api.BatchGetCategoriesResponse(); + buildCounterBatchGetCategoriesResponse++; + if (buildCounterBatchGetCategoriesResponse < 3) { + o.categories = buildUnnamed4499(); + } + buildCounterBatchGetCategoriesResponse--; + return o; +} + +void checkBatchGetCategoriesResponse(api.BatchGetCategoriesResponse o) { + buildCounterBatchGetCategoriesResponse++; + if (buildCounterBatchGetCategoriesResponse < 3) { + checkUnnamed4499(o.categories!); + } + buildCounterBatchGetCategoriesResponse--; +} + +core.List buildUnnamed4500() => [ + buildTimePeriod(), + buildTimePeriod(), + ]; + +void checkUnnamed4500(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkTimePeriod(o[0]); + checkTimePeriod(o[1]); +} + +core.int buildCounterBusinessHours = 0; +api.BusinessHours buildBusinessHours() { + final o = api.BusinessHours(); + buildCounterBusinessHours++; + if (buildCounterBusinessHours < 3) { + o.periods = buildUnnamed4500(); + } + buildCounterBusinessHours--; + return o; +} + +void checkBusinessHours(api.BusinessHours o) { + buildCounterBusinessHours++; + if (buildCounterBusinessHours < 3) { + checkUnnamed4500(o.periods!); + } + buildCounterBusinessHours--; +} + +core.List buildUnnamed4501() => [ + buildCategory(), + buildCategory(), + ]; + +void checkUnnamed4501(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCategory(o[0]); + checkCategory(o[1]); +} + +core.int buildCounterCategories = 0; +api.Categories buildCategories() { + final o = api.Categories(); + buildCounterCategories++; + if (buildCounterCategories < 3) { + o.additionalCategories = buildUnnamed4501(); + o.primaryCategory = buildCategory(); + } + buildCounterCategories--; + return o; +} + +void checkCategories(api.Categories o) { + buildCounterCategories++; + if (buildCounterCategories < 3) { + checkUnnamed4501(o.additionalCategories!); + checkCategory(o.primaryCategory!); + } + buildCounterCategories--; +} + +core.List buildUnnamed4502() => [ + buildMoreHoursType(), + buildMoreHoursType(), + ]; + +void checkUnnamed4502(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkMoreHoursType(o[0]); + checkMoreHoursType(o[1]); +} + +core.List buildUnnamed4503() => [ + buildServiceType(), + buildServiceType(), + ]; + +void checkUnnamed4503(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkServiceType(o[0]); + checkServiceType(o[1]); +} + +core.int buildCounterCategory = 0; +api.Category buildCategory() { + final o = api.Category(); + buildCounterCategory++; + if (buildCounterCategory < 3) { + o.displayName = 'foo'; + o.moreHoursTypes = buildUnnamed4502(); + o.name = 'foo'; + o.serviceTypes = buildUnnamed4503(); + } + buildCounterCategory--; + return o; +} + +void checkCategory(api.Category o) { + buildCounterCategory++; + if (buildCounterCategory < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed4502(o.moreHoursTypes!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed4503(o.serviceTypes!); + } + buildCounterCategory--; +} + +core.List buildUnnamed4504() => [ + buildChainName(), + buildChainName(), + ]; + +void checkUnnamed4504(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkChainName(o[0]); + checkChainName(o[1]); +} + +core.List buildUnnamed4505() => [ + buildChainUri(), + buildChainUri(), + ]; + +void checkUnnamed4505(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkChainUri(o[0]); + checkChainUri(o[1]); +} + +core.int buildCounterChain = 0; +api.Chain buildChain() { + final o = api.Chain(); + buildCounterChain++; + if (buildCounterChain < 3) { + o.chainNames = buildUnnamed4504(); + o.locationCount = 42; + o.name = 'foo'; + o.websites = buildUnnamed4505(); + } + buildCounterChain--; + return o; +} + +void checkChain(api.Chain o) { + buildCounterChain++; + if (buildCounterChain < 3) { + checkUnnamed4504(o.chainNames!); + unittest.expect( + o.locationCount!, + unittest.equals(42), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed4505(o.websites!); + } + buildCounterChain--; +} + +core.int buildCounterChainName = 0; +api.ChainName buildChainName() { + final o = api.ChainName(); + buildCounterChainName++; + if (buildCounterChainName < 3) { + o.displayName = 'foo'; + o.languageCode = 'foo'; + } + buildCounterChainName--; + return o; +} + +void checkChainName(api.ChainName o) { + buildCounterChainName++; + if (buildCounterChainName < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + } + buildCounterChainName--; +} + +core.int buildCounterChainUri = 0; +api.ChainUri buildChainUri() { + final o = api.ChainUri(); + buildCounterChainUri++; + if (buildCounterChainUri < 3) { + o.uri = 'foo'; + } + buildCounterChainUri--; + return o; +} + +void checkChainUri(api.ChainUri o) { + buildCounterChainUri++; + if (buildCounterChainUri < 3) { + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterChainUri--; +} + +core.int buildCounterClearLocationAssociationRequest = 0; +api.ClearLocationAssociationRequest buildClearLocationAssociationRequest() { + final o = api.ClearLocationAssociationRequest(); + buildCounterClearLocationAssociationRequest++; + if (buildCounterClearLocationAssociationRequest < 3) {} + buildCounterClearLocationAssociationRequest--; + return o; +} + +void checkClearLocationAssociationRequest( + api.ClearLocationAssociationRequest o) { + buildCounterClearLocationAssociationRequest++; + if (buildCounterClearLocationAssociationRequest < 3) {} + buildCounterClearLocationAssociationRequest--; +} + +core.int buildCounterDate = 0; +api.Date buildDate() { + final o = api.Date(); + buildCounterDate++; + if (buildCounterDate < 3) { + o.day = 42; + o.month = 42; + o.year = 42; + } + buildCounterDate--; + return o; +} + +void checkDate(api.Date o) { + buildCounterDate++; + if (buildCounterDate < 3) { + unittest.expect( + o.day!, + unittest.equals(42), + ); + unittest.expect( + o.month!, + unittest.equals(42), + ); + unittest.expect( + o.year!, + unittest.equals(42), + ); + } + buildCounterDate--; +} + +core.int buildCounterEmpty = 0; +api.Empty buildEmpty() { + final o = api.Empty(); + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; + return o; +} + +void checkEmpty(api.Empty o) { + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; +} + +core.int buildCounterFreeFormServiceItem = 0; +api.FreeFormServiceItem buildFreeFormServiceItem() { + final o = api.FreeFormServiceItem(); + buildCounterFreeFormServiceItem++; + if (buildCounterFreeFormServiceItem < 3) { + o.category = 'foo'; + o.label = buildLabel(); + } + buildCounterFreeFormServiceItem--; + return o; +} + +void checkFreeFormServiceItem(api.FreeFormServiceItem o) { + buildCounterFreeFormServiceItem++; + if (buildCounterFreeFormServiceItem < 3) { + unittest.expect( + o.category!, + unittest.equals('foo'), + ); + checkLabel(o.label!); + } + buildCounterFreeFormServiceItem--; +} + +core.int buildCounterGoogleLocation = 0; +api.GoogleLocation buildGoogleLocation() { + final o = api.GoogleLocation(); + buildCounterGoogleLocation++; + if (buildCounterGoogleLocation < 3) { + o.location = buildLocation(); + o.name = 'foo'; + o.requestAdminRightsUri = 'foo'; + } + buildCounterGoogleLocation--; + return o; +} + +void checkGoogleLocation(api.GoogleLocation o) { + buildCounterGoogleLocation++; + if (buildCounterGoogleLocation < 3) { + checkLocation(o.location!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestAdminRightsUri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleLocation--; +} + +core.int buildCounterGoogleUpdatedLocation = 0; +api.GoogleUpdatedLocation buildGoogleUpdatedLocation() { + final o = api.GoogleUpdatedLocation(); + buildCounterGoogleUpdatedLocation++; + if (buildCounterGoogleUpdatedLocation < 3) { + o.diffMask = 'foo'; + o.location = buildLocation(); + o.pendingMask = 'foo'; + } + buildCounterGoogleUpdatedLocation--; + return o; +} + +void checkGoogleUpdatedLocation(api.GoogleUpdatedLocation o) { + buildCounterGoogleUpdatedLocation++; + if (buildCounterGoogleUpdatedLocation < 3) { + unittest.expect( + o.diffMask!, + unittest.equals('foo'), + ); + checkLocation(o.location!); + unittest.expect( + o.pendingMask!, + unittest.equals('foo'), + ); + } + buildCounterGoogleUpdatedLocation--; +} + +core.int buildCounterLabel = 0; +api.Label buildLabel() { + final o = api.Label(); + buildCounterLabel++; + if (buildCounterLabel < 3) { + o.description = 'foo'; + o.displayName = 'foo'; + o.languageCode = 'foo'; + } + buildCounterLabel--; + return o; +} + +void checkLabel(api.Label o) { + buildCounterLabel++; + if (buildCounterLabel < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + } + buildCounterLabel--; +} + +core.int buildCounterLatLng = 0; +api.LatLng buildLatLng() { + final o = api.LatLng(); + buildCounterLatLng++; + if (buildCounterLatLng < 3) { + o.latitude = 42.0; + o.longitude = 42.0; + } + buildCounterLatLng--; + return o; +} + +void checkLatLng(api.LatLng o) { + buildCounterLatLng++; + if (buildCounterLatLng < 3) { + unittest.expect( + o.latitude!, + unittest.equals(42.0), + ); + unittest.expect( + o.longitude!, + unittest.equals(42.0), + ); + } + buildCounterLatLng--; +} + +core.List buildUnnamed4506() => [ + buildAttributeMetadata(), + buildAttributeMetadata(), + ]; + +void checkUnnamed4506(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAttributeMetadata(o[0]); + checkAttributeMetadata(o[1]); +} + +core.int buildCounterListAttributeMetadataResponse = 0; +api.ListAttributeMetadataResponse buildListAttributeMetadataResponse() { + final o = api.ListAttributeMetadataResponse(); + buildCounterListAttributeMetadataResponse++; + if (buildCounterListAttributeMetadataResponse < 3) { + o.attributeMetadata = buildUnnamed4506(); + o.nextPageToken = 'foo'; + } + buildCounterListAttributeMetadataResponse--; + return o; +} + +void checkListAttributeMetadataResponse(api.ListAttributeMetadataResponse o) { + buildCounterListAttributeMetadataResponse++; + if (buildCounterListAttributeMetadataResponse < 3) { + checkUnnamed4506(o.attributeMetadata!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListAttributeMetadataResponse--; +} + +core.List buildUnnamed4507() => [ + buildCategory(), + buildCategory(), + ]; + +void checkUnnamed4507(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCategory(o[0]); + checkCategory(o[1]); +} + +core.int buildCounterListCategoriesResponse = 0; +api.ListCategoriesResponse buildListCategoriesResponse() { + final o = api.ListCategoriesResponse(); + buildCounterListCategoriesResponse++; + if (buildCounterListCategoriesResponse < 3) { + o.categories = buildUnnamed4507(); + o.nextPageToken = 'foo'; + } + buildCounterListCategoriesResponse--; + return o; +} + +void checkListCategoriesResponse(api.ListCategoriesResponse o) { + buildCounterListCategoriesResponse++; + if (buildCounterListCategoriesResponse < 3) { + checkUnnamed4507(o.categories!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListCategoriesResponse--; +} + +core.List buildUnnamed4508() => [ + buildLocation(), + buildLocation(), + ]; + +void checkUnnamed4508(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkLocation(o[0]); + checkLocation(o[1]); +} + +core.int buildCounterListLocationsResponse = 0; +api.ListLocationsResponse buildListLocationsResponse() { + final o = api.ListLocationsResponse(); + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + o.locations = buildUnnamed4508(); + o.nextPageToken = 'foo'; + o.totalSize = 42; + } + buildCounterListLocationsResponse--; + return o; +} + +void checkListLocationsResponse(api.ListLocationsResponse o) { + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + checkUnnamed4508(o.locations!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.totalSize!, + unittest.equals(42), + ); + } + buildCounterListLocationsResponse--; +} + +core.List buildUnnamed4509() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4509(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4510() => [ + buildMoreHours(), + buildMoreHours(), + ]; + +void checkUnnamed4510(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkMoreHours(o[0]); + checkMoreHours(o[1]); +} + +core.List buildUnnamed4511() => [ + buildServiceItem(), + buildServiceItem(), + ]; + +void checkUnnamed4511(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkServiceItem(o[0]); + checkServiceItem(o[1]); +} + +core.int buildCounterLocation = 0; +api.Location buildLocation() { + final o = api.Location(); + buildCounterLocation++; + if (buildCounterLocation < 3) { + o.adWordsLocationExtensions = buildAdWordsLocationExtensions(); + o.categories = buildCategories(); + o.labels = buildUnnamed4509(); + o.languageCode = 'foo'; + o.latlng = buildLatLng(); + o.metadata = buildMetadata(); + o.moreHours = buildUnnamed4510(); + o.name = 'foo'; + o.openInfo = buildOpenInfo(); + o.phoneNumbers = buildPhoneNumbers(); + o.profile = buildProfile(); + o.regularHours = buildBusinessHours(); + o.relationshipData = buildRelationshipData(); + o.serviceArea = buildServiceAreaBusiness(); + o.serviceItems = buildUnnamed4511(); + o.specialHours = buildSpecialHours(); + o.storeCode = 'foo'; + o.storefrontAddress = buildPostalAddress(); + o.title = 'foo'; + o.websiteUri = 'foo'; + } + buildCounterLocation--; + return o; +} + +void checkLocation(api.Location o) { + buildCounterLocation++; + if (buildCounterLocation < 3) { + checkAdWordsLocationExtensions(o.adWordsLocationExtensions!); + checkCategories(o.categories!); + checkUnnamed4509(o.labels!); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkLatLng(o.latlng!); + checkMetadata(o.metadata!); + checkUnnamed4510(o.moreHours!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkOpenInfo(o.openInfo!); + checkPhoneNumbers(o.phoneNumbers!); + checkProfile(o.profile!); + checkBusinessHours(o.regularHours!); + checkRelationshipData(o.relationshipData!); + checkServiceAreaBusiness(o.serviceArea!); + checkUnnamed4511(o.serviceItems!); + checkSpecialHours(o.specialHours!); + unittest.expect( + o.storeCode!, + unittest.equals('foo'), + ); + checkPostalAddress(o.storefrontAddress!); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + unittest.expect( + o.websiteUri!, + unittest.equals('foo'), + ); + } + buildCounterLocation--; +} + +core.int buildCounterMetadata = 0; +api.Metadata buildMetadata() { + final o = api.Metadata(); + buildCounterMetadata++; + if (buildCounterMetadata < 3) { + o.canDelete = true; + o.canHaveFoodMenus = true; + o.canModifyServiceList = true; + o.canOperateHealthData = true; + o.canOperateLocalPost = true; + o.canOperateLodgingData = true; + o.duplicateLocation = 'foo'; + o.hasGoogleUpdated = true; + o.hasPendingEdits = true; + o.mapsUri = 'foo'; + o.newReviewUri = 'foo'; + o.placeId = 'foo'; + } + buildCounterMetadata--; + return o; +} + +void checkMetadata(api.Metadata o) { + buildCounterMetadata++; + if (buildCounterMetadata < 3) { + unittest.expect(o.canDelete!, unittest.isTrue); + unittest.expect(o.canHaveFoodMenus!, unittest.isTrue); + unittest.expect(o.canModifyServiceList!, unittest.isTrue); + unittest.expect(o.canOperateHealthData!, unittest.isTrue); + unittest.expect(o.canOperateLocalPost!, unittest.isTrue); + unittest.expect(o.canOperateLodgingData!, unittest.isTrue); + unittest.expect( + o.duplicateLocation!, + unittest.equals('foo'), + ); + unittest.expect(o.hasGoogleUpdated!, unittest.isTrue); + unittest.expect(o.hasPendingEdits!, unittest.isTrue); + unittest.expect( + o.mapsUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.newReviewUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.placeId!, + unittest.equals('foo'), + ); + } + buildCounterMetadata--; +} + +core.int buildCounterMoney = 0; +api.Money buildMoney() { + final o = api.Money(); + buildCounterMoney++; + if (buildCounterMoney < 3) { + o.currencyCode = 'foo'; + o.nanos = 42; + o.units = 'foo'; + } + buildCounterMoney--; + return o; +} + +void checkMoney(api.Money o) { + buildCounterMoney++; + if (buildCounterMoney < 3) { + unittest.expect( + o.currencyCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.nanos!, + unittest.equals(42), + ); + unittest.expect( + o.units!, + unittest.equals('foo'), + ); + } + buildCounterMoney--; +} + +core.List buildUnnamed4512() => [ + buildTimePeriod(), + buildTimePeriod(), + ]; + +void checkUnnamed4512(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkTimePeriod(o[0]); + checkTimePeriod(o[1]); +} + +core.int buildCounterMoreHours = 0; +api.MoreHours buildMoreHours() { + final o = api.MoreHours(); + buildCounterMoreHours++; + if (buildCounterMoreHours < 3) { + o.hoursTypeId = 'foo'; + o.periods = buildUnnamed4512(); + } + buildCounterMoreHours--; + return o; +} + +void checkMoreHours(api.MoreHours o) { + buildCounterMoreHours++; + if (buildCounterMoreHours < 3) { + unittest.expect( + o.hoursTypeId!, + unittest.equals('foo'), + ); + checkUnnamed4512(o.periods!); + } + buildCounterMoreHours--; +} + +core.int buildCounterMoreHoursType = 0; +api.MoreHoursType buildMoreHoursType() { + final o = api.MoreHoursType(); + buildCounterMoreHoursType++; + if (buildCounterMoreHoursType < 3) { + o.displayName = 'foo'; + o.hoursTypeId = 'foo'; + o.localizedDisplayName = 'foo'; + } + buildCounterMoreHoursType--; + return o; +} + +void checkMoreHoursType(api.MoreHoursType o) { + buildCounterMoreHoursType++; + if (buildCounterMoreHoursType < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.hoursTypeId!, + unittest.equals('foo'), + ); + unittest.expect( + o.localizedDisplayName!, + unittest.equals('foo'), + ); + } + buildCounterMoreHoursType--; +} + +core.int buildCounterOpenInfo = 0; +api.OpenInfo buildOpenInfo() { + final o = api.OpenInfo(); + buildCounterOpenInfo++; + if (buildCounterOpenInfo < 3) { + o.canReopen = true; + o.openingDate = buildDate(); + o.status = 'foo'; + } + buildCounterOpenInfo--; + return o; +} + +void checkOpenInfo(api.OpenInfo o) { + buildCounterOpenInfo++; + if (buildCounterOpenInfo < 3) { + unittest.expect(o.canReopen!, unittest.isTrue); + checkDate(o.openingDate!); + unittest.expect( + o.status!, + unittest.equals('foo'), + ); + } + buildCounterOpenInfo--; +} + +core.List buildUnnamed4513() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4513(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPhoneNumbers = 0; +api.PhoneNumbers buildPhoneNumbers() { + final o = api.PhoneNumbers(); + buildCounterPhoneNumbers++; + if (buildCounterPhoneNumbers < 3) { + o.additionalPhones = buildUnnamed4513(); + o.primaryPhone = 'foo'; + } + buildCounterPhoneNumbers--; + return o; +} + +void checkPhoneNumbers(api.PhoneNumbers o) { + buildCounterPhoneNumbers++; + if (buildCounterPhoneNumbers < 3) { + checkUnnamed4513(o.additionalPhones!); + unittest.expect( + o.primaryPhone!, + unittest.equals('foo'), + ); + } + buildCounterPhoneNumbers--; +} + +core.int buildCounterPlaceInfo = 0; +api.PlaceInfo buildPlaceInfo() { + final o = api.PlaceInfo(); + buildCounterPlaceInfo++; + if (buildCounterPlaceInfo < 3) { + o.placeId = 'foo'; + o.placeName = 'foo'; + } + buildCounterPlaceInfo--; + return o; +} + +void checkPlaceInfo(api.PlaceInfo o) { + buildCounterPlaceInfo++; + if (buildCounterPlaceInfo < 3) { + unittest.expect( + o.placeId!, + unittest.equals('foo'), + ); + unittest.expect( + o.placeName!, + unittest.equals('foo'), + ); + } + buildCounterPlaceInfo--; +} + +core.List buildUnnamed4514() => [ + buildPlaceInfo(), + buildPlaceInfo(), + ]; + +void checkUnnamed4514(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPlaceInfo(o[0]); + checkPlaceInfo(o[1]); +} + +core.int buildCounterPlaces = 0; +api.Places buildPlaces() { + final o = api.Places(); + buildCounterPlaces++; + if (buildCounterPlaces < 3) { + o.placeInfos = buildUnnamed4514(); + } + buildCounterPlaces--; + return o; +} + +void checkPlaces(api.Places o) { + buildCounterPlaces++; + if (buildCounterPlaces < 3) { + checkUnnamed4514(o.placeInfos!); + } + buildCounterPlaces--; +} + +core.List buildUnnamed4515() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4515(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4516() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4516(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPostalAddress = 0; +api.PostalAddress buildPostalAddress() { + final o = api.PostalAddress(); + buildCounterPostalAddress++; + if (buildCounterPostalAddress < 3) { + o.addressLines = buildUnnamed4515(); + o.administrativeArea = 'foo'; + o.languageCode = 'foo'; + o.locality = 'foo'; + o.organization = 'foo'; + o.postalCode = 'foo'; + o.recipients = buildUnnamed4516(); + o.regionCode = 'foo'; + o.revision = 42; + o.sortingCode = 'foo'; + o.sublocality = 'foo'; + } + buildCounterPostalAddress--; + return o; +} + +void checkPostalAddress(api.PostalAddress o) { + buildCounterPostalAddress++; + if (buildCounterPostalAddress < 3) { + checkUnnamed4515(o.addressLines!); + unittest.expect( + o.administrativeArea!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.locality!, + unittest.equals('foo'), + ); + unittest.expect( + o.organization!, + unittest.equals('foo'), + ); + unittest.expect( + o.postalCode!, + unittest.equals('foo'), + ); + checkUnnamed4516(o.recipients!); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.revision!, + unittest.equals(42), + ); + unittest.expect( + o.sortingCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.sublocality!, + unittest.equals('foo'), + ); + } + buildCounterPostalAddress--; +} + +core.int buildCounterProfile = 0; +api.Profile buildProfile() { + final o = api.Profile(); + buildCounterProfile++; + if (buildCounterProfile < 3) { + o.description = 'foo'; + } + buildCounterProfile--; + return o; +} + +void checkProfile(api.Profile o) { + buildCounterProfile++; + if (buildCounterProfile < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + } + buildCounterProfile--; +} + +core.List buildUnnamed4517() => [ + buildRelevantLocation(), + buildRelevantLocation(), + ]; + +void checkUnnamed4517(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkRelevantLocation(o[0]); + checkRelevantLocation(o[1]); +} + +core.int buildCounterRelationshipData = 0; +api.RelationshipData buildRelationshipData() { + final o = api.RelationshipData(); + buildCounterRelationshipData++; + if (buildCounterRelationshipData < 3) { + o.childrenLocations = buildUnnamed4517(); + o.parentChain = 'foo'; + o.parentLocation = buildRelevantLocation(); + } + buildCounterRelationshipData--; + return o; +} + +void checkRelationshipData(api.RelationshipData o) { + buildCounterRelationshipData++; + if (buildCounterRelationshipData < 3) { + checkUnnamed4517(o.childrenLocations!); + unittest.expect( + o.parentChain!, + unittest.equals('foo'), + ); + checkRelevantLocation(o.parentLocation!); + } + buildCounterRelationshipData--; +} + +core.int buildCounterRelevantLocation = 0; +api.RelevantLocation buildRelevantLocation() { + final o = api.RelevantLocation(); + buildCounterRelevantLocation++; + if (buildCounterRelevantLocation < 3) { + o.placeId = 'foo'; + o.relationType = 'foo'; + } + buildCounterRelevantLocation--; + return o; +} + +void checkRelevantLocation(api.RelevantLocation o) { + buildCounterRelevantLocation++; + if (buildCounterRelevantLocation < 3) { + unittest.expect( + o.placeId!, + unittest.equals('foo'), + ); + unittest.expect( + o.relationType!, + unittest.equals('foo'), + ); + } + buildCounterRelevantLocation--; +} + +core.List buildUnnamed4518() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4518(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4519() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4519(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterRepeatedEnumAttributeValue = 0; +api.RepeatedEnumAttributeValue buildRepeatedEnumAttributeValue() { + final o = api.RepeatedEnumAttributeValue(); + buildCounterRepeatedEnumAttributeValue++; + if (buildCounterRepeatedEnumAttributeValue < 3) { + o.setValues = buildUnnamed4518(); + o.unsetValues = buildUnnamed4519(); + } + buildCounterRepeatedEnumAttributeValue--; + return o; +} + +void checkRepeatedEnumAttributeValue(api.RepeatedEnumAttributeValue o) { + buildCounterRepeatedEnumAttributeValue++; + if (buildCounterRepeatedEnumAttributeValue < 3) { + checkUnnamed4518(o.setValues!); + checkUnnamed4519(o.unsetValues!); + } + buildCounterRepeatedEnumAttributeValue--; +} + +core.List buildUnnamed4520() => [ + buildChain(), + buildChain(), + ]; + +void checkUnnamed4520(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkChain(o[0]); + checkChain(o[1]); +} + +core.int buildCounterSearchChainsResponse = 0; +api.SearchChainsResponse buildSearchChainsResponse() { + final o = api.SearchChainsResponse(); + buildCounterSearchChainsResponse++; + if (buildCounterSearchChainsResponse < 3) { + o.chains = buildUnnamed4520(); + } + buildCounterSearchChainsResponse--; + return o; +} + +void checkSearchChainsResponse(api.SearchChainsResponse o) { + buildCounterSearchChainsResponse++; + if (buildCounterSearchChainsResponse < 3) { + checkUnnamed4520(o.chains!); + } + buildCounterSearchChainsResponse--; +} + +core.int buildCounterSearchGoogleLocationsRequest = 0; +api.SearchGoogleLocationsRequest buildSearchGoogleLocationsRequest() { + final o = api.SearchGoogleLocationsRequest(); + buildCounterSearchGoogleLocationsRequest++; + if (buildCounterSearchGoogleLocationsRequest < 3) { + o.location = buildLocation(); + o.pageSize = 42; + o.query = 'foo'; + } + buildCounterSearchGoogleLocationsRequest--; + return o; +} + +void checkSearchGoogleLocationsRequest(api.SearchGoogleLocationsRequest o) { + buildCounterSearchGoogleLocationsRequest++; + if (buildCounterSearchGoogleLocationsRequest < 3) { + checkLocation(o.location!); + unittest.expect( + o.pageSize!, + unittest.equals(42), + ); + unittest.expect( + o.query!, + unittest.equals('foo'), + ); + } + buildCounterSearchGoogleLocationsRequest--; +} + +core.List buildUnnamed4521() => [ + buildGoogleLocation(), + buildGoogleLocation(), + ]; + +void checkUnnamed4521(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleLocation(o[0]); + checkGoogleLocation(o[1]); +} + +core.int buildCounterSearchGoogleLocationsResponse = 0; +api.SearchGoogleLocationsResponse buildSearchGoogleLocationsResponse() { + final o = api.SearchGoogleLocationsResponse(); + buildCounterSearchGoogleLocationsResponse++; + if (buildCounterSearchGoogleLocationsResponse < 3) { + o.googleLocations = buildUnnamed4521(); + } + buildCounterSearchGoogleLocationsResponse--; + return o; +} + +void checkSearchGoogleLocationsResponse(api.SearchGoogleLocationsResponse o) { + buildCounterSearchGoogleLocationsResponse++; + if (buildCounterSearchGoogleLocationsResponse < 3) { + checkUnnamed4521(o.googleLocations!); + } + buildCounterSearchGoogleLocationsResponse--; +} + +core.int buildCounterServiceAreaBusiness = 0; +api.ServiceAreaBusiness buildServiceAreaBusiness() { + final o = api.ServiceAreaBusiness(); + buildCounterServiceAreaBusiness++; + if (buildCounterServiceAreaBusiness < 3) { + o.businessType = 'foo'; + o.places = buildPlaces(); + o.regionCode = 'foo'; + } + buildCounterServiceAreaBusiness--; + return o; +} + +void checkServiceAreaBusiness(api.ServiceAreaBusiness o) { + buildCounterServiceAreaBusiness++; + if (buildCounterServiceAreaBusiness < 3) { + unittest.expect( + o.businessType!, + unittest.equals('foo'), + ); + checkPlaces(o.places!); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterServiceAreaBusiness--; +} + +core.int buildCounterServiceItem = 0; +api.ServiceItem buildServiceItem() { + final o = api.ServiceItem(); + buildCounterServiceItem++; + if (buildCounterServiceItem < 3) { + o.freeFormServiceItem = buildFreeFormServiceItem(); + o.price = buildMoney(); + o.structuredServiceItem = buildStructuredServiceItem(); + } + buildCounterServiceItem--; + return o; +} + +void checkServiceItem(api.ServiceItem o) { + buildCounterServiceItem++; + if (buildCounterServiceItem < 3) { + checkFreeFormServiceItem(o.freeFormServiceItem!); + checkMoney(o.price!); + checkStructuredServiceItem(o.structuredServiceItem!); + } + buildCounterServiceItem--; +} + +core.int buildCounterServiceType = 0; +api.ServiceType buildServiceType() { + final o = api.ServiceType(); + buildCounterServiceType++; + if (buildCounterServiceType < 3) { + o.displayName = 'foo'; + o.serviceTypeId = 'foo'; + } + buildCounterServiceType--; + return o; +} + +void checkServiceType(api.ServiceType o) { + buildCounterServiceType++; + if (buildCounterServiceType < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.serviceTypeId!, + unittest.equals('foo'), + ); + } + buildCounterServiceType--; +} + +core.int buildCounterSpecialHourPeriod = 0; +api.SpecialHourPeriod buildSpecialHourPeriod() { + final o = api.SpecialHourPeriod(); + buildCounterSpecialHourPeriod++; + if (buildCounterSpecialHourPeriod < 3) { + o.closeTime = buildTimeOfDay(); + o.closed = true; + o.endDate = buildDate(); + o.openTime = buildTimeOfDay(); + o.startDate = buildDate(); + } + buildCounterSpecialHourPeriod--; + return o; +} + +void checkSpecialHourPeriod(api.SpecialHourPeriod o) { + buildCounterSpecialHourPeriod++; + if (buildCounterSpecialHourPeriod < 3) { + checkTimeOfDay(o.closeTime!); + unittest.expect(o.closed!, unittest.isTrue); + checkDate(o.endDate!); + checkTimeOfDay(o.openTime!); + checkDate(o.startDate!); + } + buildCounterSpecialHourPeriod--; +} + +core.List buildUnnamed4522() => [ + buildSpecialHourPeriod(), + buildSpecialHourPeriod(), + ]; + +void checkUnnamed4522(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkSpecialHourPeriod(o[0]); + checkSpecialHourPeriod(o[1]); +} + +core.int buildCounterSpecialHours = 0; +api.SpecialHours buildSpecialHours() { + final o = api.SpecialHours(); + buildCounterSpecialHours++; + if (buildCounterSpecialHours < 3) { + o.specialHourPeriods = buildUnnamed4522(); + } + buildCounterSpecialHours--; + return o; +} + +void checkSpecialHours(api.SpecialHours o) { + buildCounterSpecialHours++; + if (buildCounterSpecialHours < 3) { + checkUnnamed4522(o.specialHourPeriods!); + } + buildCounterSpecialHours--; +} + +core.int buildCounterStructuredServiceItem = 0; +api.StructuredServiceItem buildStructuredServiceItem() { + final o = api.StructuredServiceItem(); + buildCounterStructuredServiceItem++; + if (buildCounterStructuredServiceItem < 3) { + o.description = 'foo'; + o.serviceTypeId = 'foo'; + } + buildCounterStructuredServiceItem--; + return o; +} + +void checkStructuredServiceItem(api.StructuredServiceItem o) { + buildCounterStructuredServiceItem++; + if (buildCounterStructuredServiceItem < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.serviceTypeId!, + unittest.equals('foo'), + ); + } + buildCounterStructuredServiceItem--; +} + +core.int buildCounterTimeOfDay = 0; +api.TimeOfDay buildTimeOfDay() { + final o = api.TimeOfDay(); + buildCounterTimeOfDay++; + if (buildCounterTimeOfDay < 3) { + o.hours = 42; + o.minutes = 42; + o.nanos = 42; + o.seconds = 42; + } + buildCounterTimeOfDay--; + return o; +} + +void checkTimeOfDay(api.TimeOfDay o) { + buildCounterTimeOfDay++; + if (buildCounterTimeOfDay < 3) { + unittest.expect( + o.hours!, + unittest.equals(42), + ); + unittest.expect( + o.minutes!, + unittest.equals(42), + ); + unittest.expect( + o.nanos!, + unittest.equals(42), + ); + unittest.expect( + o.seconds!, + unittest.equals(42), + ); + } + buildCounterTimeOfDay--; +} + +core.int buildCounterTimePeriod = 0; +api.TimePeriod buildTimePeriod() { + final o = api.TimePeriod(); + buildCounterTimePeriod++; + if (buildCounterTimePeriod < 3) { + o.closeDay = 'foo'; + o.closeTime = buildTimeOfDay(); + o.openDay = 'foo'; + o.openTime = buildTimeOfDay(); + } + buildCounterTimePeriod--; + return o; +} + +void checkTimePeriod(api.TimePeriod o) { + buildCounterTimePeriod++; + if (buildCounterTimePeriod < 3) { + unittest.expect( + o.closeDay!, + unittest.equals('foo'), + ); + checkTimeOfDay(o.closeTime!); + unittest.expect( + o.openDay!, + unittest.equals('foo'), + ); + checkTimeOfDay(o.openTime!); + } + buildCounterTimePeriod--; +} + +core.int buildCounterUriAttributeValue = 0; +api.UriAttributeValue buildUriAttributeValue() { + final o = api.UriAttributeValue(); + buildCounterUriAttributeValue++; + if (buildCounterUriAttributeValue < 3) { + o.uri = 'foo'; + } + buildCounterUriAttributeValue--; + return o; +} + +void checkUriAttributeValue(api.UriAttributeValue o) { + buildCounterUriAttributeValue++; + if (buildCounterUriAttributeValue < 3) { + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterUriAttributeValue--; +} + +core.List buildUnnamed4523() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4523(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +void main() { + unittest.group('obj-schema-AdWordsLocationExtensions', () { + unittest.test('to-json--from-json', () async { + final o = buildAdWordsLocationExtensions(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AdWordsLocationExtensions.fromJson( + oJson as core.Map); + checkAdWordsLocationExtensions(od); + }); + }); + + unittest.group('obj-schema-AssociateLocationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildAssociateLocationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AssociateLocationRequest.fromJson( + oJson as core.Map); + checkAssociateLocationRequest(od); + }); + }); + + unittest.group('obj-schema-Attribute', () { + unittest.test('to-json--from-json', () async { + final o = buildAttribute(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Attribute.fromJson(oJson as core.Map); + checkAttribute(od); + }); + }); + + unittest.group('obj-schema-AttributeMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildAttributeMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AttributeMetadata.fromJson( + oJson as core.Map); + checkAttributeMetadata(od); + }); + }); + + unittest.group('obj-schema-AttributeValueMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildAttributeValueMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AttributeValueMetadata.fromJson( + oJson as core.Map); + checkAttributeValueMetadata(od); + }); + }); + + unittest.group('obj-schema-Attributes', () { + unittest.test('to-json--from-json', () async { + final o = buildAttributes(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Attributes.fromJson(oJson as core.Map); + checkAttributes(od); + }); + }); + + unittest.group('obj-schema-BatchGetCategoriesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildBatchGetCategoriesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BatchGetCategoriesResponse.fromJson( + oJson as core.Map); + checkBatchGetCategoriesResponse(od); + }); + }); + + unittest.group('obj-schema-BusinessHours', () { + unittest.test('to-json--from-json', () async { + final o = buildBusinessHours(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BusinessHours.fromJson( + oJson as core.Map); + checkBusinessHours(od); + }); + }); + + unittest.group('obj-schema-Categories', () { + unittest.test('to-json--from-json', () async { + final o = buildCategories(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Categories.fromJson(oJson as core.Map); + checkCategories(od); + }); + }); + + unittest.group('obj-schema-Category', () { + unittest.test('to-json--from-json', () async { + final o = buildCategory(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Category.fromJson(oJson as core.Map); + checkCategory(od); + }); + }); + + unittest.group('obj-schema-Chain', () { + unittest.test('to-json--from-json', () async { + final o = buildChain(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Chain.fromJson(oJson as core.Map); + checkChain(od); + }); + }); + + unittest.group('obj-schema-ChainName', () { + unittest.test('to-json--from-json', () async { + final o = buildChainName(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.ChainName.fromJson(oJson as core.Map); + checkChainName(od); + }); + }); + + unittest.group('obj-schema-ChainUri', () { + unittest.test('to-json--from-json', () async { + final o = buildChainUri(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.ChainUri.fromJson(oJson as core.Map); + checkChainUri(od); + }); + }); + + unittest.group('obj-schema-ClearLocationAssociationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildClearLocationAssociationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ClearLocationAssociationRequest.fromJson( + oJson as core.Map); + checkClearLocationAssociationRequest(od); + }); + }); + + unittest.group('obj-schema-Date', () { + unittest.test('to-json--from-json', () async { + final o = buildDate(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Date.fromJson(oJson as core.Map); + checkDate(od); + }); + }); + + unittest.group('obj-schema-Empty', () { + unittest.test('to-json--from-json', () async { + final o = buildEmpty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Empty.fromJson(oJson as core.Map); + checkEmpty(od); + }); + }); + + unittest.group('obj-schema-FreeFormServiceItem', () { + unittest.test('to-json--from-json', () async { + final o = buildFreeFormServiceItem(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FreeFormServiceItem.fromJson( + oJson as core.Map); + checkFreeFormServiceItem(od); + }); + }); + + unittest.group('obj-schema-GoogleLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleLocation.fromJson( + oJson as core.Map); + checkGoogleLocation(od); + }); + }); + + unittest.group('obj-schema-GoogleUpdatedLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleUpdatedLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleUpdatedLocation.fromJson( + oJson as core.Map); + checkGoogleUpdatedLocation(od); + }); + }); + + unittest.group('obj-schema-Label', () { + unittest.test('to-json--from-json', () async { + final o = buildLabel(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Label.fromJson(oJson as core.Map); + checkLabel(od); + }); + }); + + unittest.group('obj-schema-LatLng', () { + unittest.test('to-json--from-json', () async { + final o = buildLatLng(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.LatLng.fromJson(oJson as core.Map); + checkLatLng(od); + }); + }); + + unittest.group('obj-schema-ListAttributeMetadataResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListAttributeMetadataResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListAttributeMetadataResponse.fromJson( + oJson as core.Map); + checkListAttributeMetadataResponse(od); + }); + }); + + unittest.group('obj-schema-ListCategoriesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListCategoriesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListCategoriesResponse.fromJson( + oJson as core.Map); + checkListCategoriesResponse(od); + }); + }); + + unittest.group('obj-schema-ListLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListLocationsResponse.fromJson( + oJson as core.Map); + checkListLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-Location', () { + unittest.test('to-json--from-json', () async { + final o = buildLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Location.fromJson(oJson as core.Map); + checkLocation(od); + }); + }); + + unittest.group('obj-schema-Metadata', () { + unittest.test('to-json--from-json', () async { + final o = buildMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Metadata.fromJson(oJson as core.Map); + checkMetadata(od); + }); + }); + + unittest.group('obj-schema-Money', () { + unittest.test('to-json--from-json', () async { + final o = buildMoney(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Money.fromJson(oJson as core.Map); + checkMoney(od); + }); + }); + + unittest.group('obj-schema-MoreHours', () { + unittest.test('to-json--from-json', () async { + final o = buildMoreHours(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.MoreHours.fromJson(oJson as core.Map); + checkMoreHours(od); + }); + }); + + unittest.group('obj-schema-MoreHoursType', () { + unittest.test('to-json--from-json', () async { + final o = buildMoreHoursType(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MoreHoursType.fromJson( + oJson as core.Map); + checkMoreHoursType(od); + }); + }); + + unittest.group('obj-schema-OpenInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildOpenInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.OpenInfo.fromJson(oJson as core.Map); + checkOpenInfo(od); + }); + }); + + unittest.group('obj-schema-PhoneNumbers', () { + unittest.test('to-json--from-json', () async { + final o = buildPhoneNumbers(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PhoneNumbers.fromJson( + oJson as core.Map); + checkPhoneNumbers(od); + }); + }); + + unittest.group('obj-schema-PlaceInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildPlaceInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.PlaceInfo.fromJson(oJson as core.Map); + checkPlaceInfo(od); + }); + }); + + unittest.group('obj-schema-Places', () { + unittest.test('to-json--from-json', () async { + final o = buildPlaces(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Places.fromJson(oJson as core.Map); + checkPlaces(od); + }); + }); + + unittest.group('obj-schema-PostalAddress', () { + unittest.test('to-json--from-json', () async { + final o = buildPostalAddress(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PostalAddress.fromJson( + oJson as core.Map); + checkPostalAddress(od); + }); + }); + + unittest.group('obj-schema-Profile', () { + unittest.test('to-json--from-json', () async { + final o = buildProfile(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Profile.fromJson(oJson as core.Map); + checkProfile(od); + }); + }); + + unittest.group('obj-schema-RelationshipData', () { + unittest.test('to-json--from-json', () async { + final o = buildRelationshipData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelationshipData.fromJson( + oJson as core.Map); + checkRelationshipData(od); + }); + }); + + unittest.group('obj-schema-RelevantLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildRelevantLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelevantLocation.fromJson( + oJson as core.Map); + checkRelevantLocation(od); + }); + }); + + unittest.group('obj-schema-RepeatedEnumAttributeValue', () { + unittest.test('to-json--from-json', () async { + final o = buildRepeatedEnumAttributeValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RepeatedEnumAttributeValue.fromJson( + oJson as core.Map); + checkRepeatedEnumAttributeValue(od); + }); + }); + + unittest.group('obj-schema-SearchChainsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildSearchChainsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SearchChainsResponse.fromJson( + oJson as core.Map); + checkSearchChainsResponse(od); + }); + }); + + unittest.group('obj-schema-SearchGoogleLocationsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildSearchGoogleLocationsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SearchGoogleLocationsRequest.fromJson( + oJson as core.Map); + checkSearchGoogleLocationsRequest(od); + }); + }); + + unittest.group('obj-schema-SearchGoogleLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildSearchGoogleLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SearchGoogleLocationsResponse.fromJson( + oJson as core.Map); + checkSearchGoogleLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-ServiceAreaBusiness', () { + unittest.test('to-json--from-json', () async { + final o = buildServiceAreaBusiness(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ServiceAreaBusiness.fromJson( + oJson as core.Map); + checkServiceAreaBusiness(od); + }); + }); + + unittest.group('obj-schema-ServiceItem', () { + unittest.test('to-json--from-json', () async { + final o = buildServiceItem(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ServiceItem.fromJson( + oJson as core.Map); + checkServiceItem(od); + }); + }); + + unittest.group('obj-schema-ServiceType', () { + unittest.test('to-json--from-json', () async { + final o = buildServiceType(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ServiceType.fromJson( + oJson as core.Map); + checkServiceType(od); + }); + }); + + unittest.group('obj-schema-SpecialHourPeriod', () { + unittest.test('to-json--from-json', () async { + final o = buildSpecialHourPeriod(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SpecialHourPeriod.fromJson( + oJson as core.Map); + checkSpecialHourPeriod(od); + }); + }); + + unittest.group('obj-schema-SpecialHours', () { + unittest.test('to-json--from-json', () async { + final o = buildSpecialHours(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SpecialHours.fromJson( + oJson as core.Map); + checkSpecialHours(od); + }); + }); + + unittest.group('obj-schema-StructuredServiceItem', () { + unittest.test('to-json--from-json', () async { + final o = buildStructuredServiceItem(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.StructuredServiceItem.fromJson( + oJson as core.Map); + checkStructuredServiceItem(od); + }); + }); + + unittest.group('obj-schema-TimeOfDay', () { + unittest.test('to-json--from-json', () async { + final o = buildTimeOfDay(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.TimeOfDay.fromJson(oJson as core.Map); + checkTimeOfDay(od); + }); + }); + + unittest.group('obj-schema-TimePeriod', () { + unittest.test('to-json--from-json', () async { + final o = buildTimePeriod(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.TimePeriod.fromJson(oJson as core.Map); + checkTimePeriod(od); + }); + }); + + unittest.group('obj-schema-UriAttributeValue', () { + unittest.test('to-json--from-json', () async { + final o = buildUriAttributeValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.UriAttributeValue.fromJson( + oJson as core.Map); + checkUriAttributeValue(od); + }); + }); + + unittest.group('resource-AccountsLocationsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).accounts.locations; + final arg_request = buildLocation(); + final arg_parent = 'foo'; + final arg_requestId = 'foo'; + final arg_validateOnly = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Location.fromJson(json as core.Map); + checkLocation(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + requestId: arg_requestId, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkLocation(response as api.Location); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).accounts.locations; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_orderBy = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_readMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + queryMap['orderBy']!.first, + unittest.equals(arg_orderBy), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['readMask']!.first, + unittest.equals(arg_readMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + orderBy: arg_orderBy, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + readMask: arg_readMask, + $fields: arg_$fields); + checkListLocationsResponse(response as api.ListLocationsResponse); + }); + }); + + unittest.group('resource-AttributesResource', () { + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).attributes; + final arg_categoryName = 'foo'; + final arg_languageCode = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_parent = 'foo'; + final arg_regionCode = 'foo'; + final arg_showAll = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 13), + unittest.equals('v1/attributes'), + ); + pathOffset += 13; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['categoryName']!.first, + unittest.equals(arg_categoryName), + ); + unittest.expect( + queryMap['languageCode']!.first, + unittest.equals(arg_languageCode), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['parent']!.first, + unittest.equals(arg_parent), + ); + unittest.expect( + queryMap['regionCode']!.first, + unittest.equals(arg_regionCode), + ); + unittest.expect( + queryMap['showAll']!.first, + unittest.equals('$arg_showAll'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListAttributeMetadataResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list( + categoryName: arg_categoryName, + languageCode: arg_languageCode, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + parent: arg_parent, + regionCode: arg_regionCode, + showAll: arg_showAll, + $fields: arg_$fields); + checkListAttributeMetadataResponse( + response as api.ListAttributeMetadataResponse); + }); + }); + + unittest.group('resource-CategoriesResource', () { + unittest.test('method--batchGet', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).categories; + final arg_languageCode = 'foo'; + final arg_names = buildUnnamed4523(); + final arg_regionCode = 'foo'; + final arg_view = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 22), + unittest.equals('v1/categories:batchGet'), + ); + pathOffset += 22; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['languageCode']!.first, + unittest.equals(arg_languageCode), + ); + unittest.expect( + queryMap['names']!, + unittest.equals(arg_names), + ); + unittest.expect( + queryMap['regionCode']!.first, + unittest.equals(arg_regionCode), + ); + unittest.expect( + queryMap['view']!.first, + unittest.equals(arg_view), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildBatchGetCategoriesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.batchGet( + languageCode: arg_languageCode, + names: arg_names, + regionCode: arg_regionCode, + view: arg_view, + $fields: arg_$fields); + checkBatchGetCategoriesResponse( + response as api.BatchGetCategoriesResponse); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).categories; + final arg_filter = 'foo'; + final arg_languageCode = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_regionCode = 'foo'; + final arg_view = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 13), + unittest.equals('v1/categories'), + ); + pathOffset += 13; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + queryMap['languageCode']!.first, + unittest.equals(arg_languageCode), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['regionCode']!.first, + unittest.equals(arg_regionCode), + ); + unittest.expect( + queryMap['view']!.first, + unittest.equals(arg_view), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListCategoriesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list( + filter: arg_filter, + languageCode: arg_languageCode, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + regionCode: arg_regionCode, + view: arg_view, + $fields: arg_$fields); + checkListCategoriesResponse(response as api.ListCategoriesResponse); + }); + }); + + unittest.group('resource-ChainsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).chains; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildChain()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkChain(response as api.Chain); + }); + + unittest.test('method--search', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).chains; + final arg_chainName = 'foo'; + final arg_pageSize = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 16), + unittest.equals('v1/chains:search'), + ); + pathOffset += 16; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['chainName']!.first, + unittest.equals(arg_chainName), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildSearchChainsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.search( + chainName: arg_chainName, + pageSize: arg_pageSize, + $fields: arg_$fields); + checkSearchChainsResponse(response as api.SearchChainsResponse); + }); + }); + + unittest.group('resource-GoogleLocationsResource', () { + unittest.test('method--search', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).googleLocations; + final arg_request = buildSearchGoogleLocationsRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SearchGoogleLocationsRequest.fromJson( + json as core.Map); + checkSearchGoogleLocationsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 25), + unittest.equals('v1/googleLocations:search'), + ); + pathOffset += 25; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildSearchGoogleLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.search(arg_request, $fields: arg_$fields); + checkSearchGoogleLocationsResponse( + response as api.SearchGoogleLocationsResponse); + }); + }); + + unittest.group('resource-LocationsResource', () { + unittest.test('method--associate', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_request = buildAssociateLocationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.AssociateLocationRequest.fromJson( + json as core.Map); + checkAssociateLocationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.associate(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--clearLocationAssociation', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_request = buildClearLocationAssociationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ClearLocationAssociationRequest.fromJson( + json as core.Map); + checkClearLocationAssociationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.clearLocationAssociation(arg_request, arg_name, + $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_name = 'foo'; + final arg_readMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['readMask']!.first, + unittest.equals(arg_readMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.get(arg_name, readMask: arg_readMask, $fields: arg_$fields); + checkLocation(response as api.Location); + }); + + unittest.test('method--getAttributes', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildAttributes()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getAttributes(arg_name, $fields: arg_$fields); + checkAttributes(response as api.Attributes); + }); + + unittest.test('method--getGoogleUpdated', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_name = 'foo'; + final arg_readMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['readMask']!.first, + unittest.equals(arg_readMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleUpdatedLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getGoogleUpdated(arg_name, + readMask: arg_readMask, $fields: arg_$fields); + checkGoogleUpdatedLocation(response as api.GoogleUpdatedLocation); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_request = buildLocation(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_validateOnly = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Location.fromJson(json as core.Map); + checkLocation(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkLocation(response as api.Location); + }); + + unittest.test('method--updateAttributes', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessBusinessInformationApi(mock).locations; + final arg_request = buildAttributes(); + final arg_name = 'foo'; + final arg_attributeMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.Attributes.fromJson( + json as core.Map); + checkAttributes(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['attributeMask']!.first, + unittest.equals(arg_attributeMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildAttributes()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateAttributes(arg_request, arg_name, + attributeMask: arg_attributeMask, $fields: arg_$fields); + checkAttributes(response as api.Attributes); + }); + }); + + unittest.group('resource-LocationsAttributesResource', () { + unittest.test('method--getGoogleUpdated', () async { + final mock = HttpServerMock(); + final res = + api.MyBusinessBusinessInformationApi(mock).locations.attributes; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildAttributes()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getGoogleUpdated(arg_name, $fields: arg_$fields); + checkAttributes(response as api.Attributes); + }); + }); +} diff --git a/generated/googleapis/test/mybusinesslodging/v1_test.dart b/generated/googleapis/test/mybusinesslodging/v1_test.dart index 35900942e..4af1f878c 100644 --- a/generated/googleapis/test/mybusinesslodging/v1_test.dart +++ b/generated/googleapis/test/mybusinesslodging/v1_test.dart @@ -615,12 +615,12 @@ void checkGuestUnitFeatures(api.GuestUnitFeatures o) { buildCounterGuestUnitFeatures--; } -core.List buildUnnamed5271() => [ +core.List buildUnnamed5330() => [ 'foo', 'foo', ]; -void checkUnnamed5271(core.List o) { +void checkUnnamed5330(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -637,7 +637,7 @@ api.GuestUnitType buildGuestUnitType() { final o = api.GuestUnitType(); buildCounterGuestUnitType++; if (buildCounterGuestUnitType < 3) { - o.codes = buildUnnamed5271(); + o.codes = buildUnnamed5330(); o.features = buildGuestUnitFeatures(); o.label = 'foo'; } @@ -648,7 +648,7 @@ api.GuestUnitType buildGuestUnitType() { void checkGuestUnitType(api.GuestUnitType o) { buildCounterGuestUnitType++; if (buildCounterGuestUnitType < 3) { - checkUnnamed5271(o.codes!); + checkUnnamed5330(o.codes!); checkGuestUnitFeatures(o.features!); unittest.expect( o.label!, @@ -1398,12 +1398,12 @@ void checkLivingAreaSleeping(api.LivingAreaSleeping o) { buildCounterLivingAreaSleeping--; } -core.List buildUnnamed5272() => [ +core.List buildUnnamed5331() => [ buildGuestUnitType(), buildGuestUnitType(), ]; -void checkUnnamed5272(core.List o) { +void checkUnnamed5331(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuestUnitType(o[0]); checkGuestUnitType(o[1]); @@ -1422,7 +1422,7 @@ api.Lodging buildLodging() { o.connectivity = buildConnectivity(); o.families = buildFamilies(); o.foodAndDrink = buildFoodAndDrink(); - o.guestUnits = buildUnnamed5272(); + o.guestUnits = buildUnnamed5331(); o.healthAndSafety = buildHealthAndSafety(); o.housekeeping = buildHousekeeping(); o.metadata = buildLodgingMetadata(); @@ -1452,7 +1452,7 @@ void checkLodging(api.Lodging o) { checkConnectivity(o.connectivity!); checkFamilies(o.families!); checkFoodAndDrink(o.foodAndDrink!); - checkUnnamed5272(o.guestUnits!); + checkUnnamed5331(o.guestUnits!); checkHealthAndSafety(o.healthAndSafety!); checkHousekeeping(o.housekeeping!); checkLodgingMetadata(o.metadata!); @@ -2083,12 +2083,12 @@ void checkProperty(api.Property o) { buildCounterProperty--; } -core.List buildUnnamed5273() => [ +core.List buildUnnamed5332() => [ buildLanguageSpoken(), buildLanguageSpoken(), ]; -void checkUnnamed5273(core.List o) { +void checkUnnamed5332(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLanguageSpoken(o[0]); checkLanguageSpoken(o[1]); @@ -2115,7 +2115,7 @@ api.Services buildServices() { o.fullServiceLaundryException = 'foo'; o.giftShop = true; o.giftShopException = 'foo'; - o.languagesSpoken = buildUnnamed5273(); + o.languagesSpoken = buildUnnamed5332(); o.selfServiceLaundry = true; o.selfServiceLaundryException = 'foo'; o.socialHour = true; @@ -2172,7 +2172,7 @@ void checkServices(api.Services o) { o.giftShopException!, unittest.equals('foo'), ); - checkUnnamed5273(o.languagesSpoken!); + checkUnnamed5332(o.languagesSpoken!); unittest.expect(o.selfServiceLaundry!, unittest.isTrue); unittest.expect( o.selfServiceLaundryException!, diff --git a/generated/googleapis/test/mybusinessnotifications/v1_test.dart b/generated/googleapis/test/mybusinessnotifications/v1_test.dart new file mode 100644 index 000000000..aa245286e --- /dev/null +++ b/generated/googleapis/test/mybusinessnotifications/v1_test.dart @@ -0,0 +1,204 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/mybusinessnotifications/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.List buildUnnamed2422() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2422(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterNotificationSetting = 0; +api.NotificationSetting buildNotificationSetting() { + final o = api.NotificationSetting(); + buildCounterNotificationSetting++; + if (buildCounterNotificationSetting < 3) { + o.name = 'foo'; + o.notificationTypes = buildUnnamed2422(); + o.pubsubTopic = 'foo'; + } + buildCounterNotificationSetting--; + return o; +} + +void checkNotificationSetting(api.NotificationSetting o) { + buildCounterNotificationSetting++; + if (buildCounterNotificationSetting < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed2422(o.notificationTypes!); + unittest.expect( + o.pubsubTopic!, + unittest.equals('foo'), + ); + } + buildCounterNotificationSetting--; +} + +void main() { + unittest.group('obj-schema-NotificationSetting', () { + unittest.test('to-json--from-json', () async { + final o = buildNotificationSetting(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.NotificationSetting.fromJson( + oJson as core.Map); + checkNotificationSetting(od); + }); + }); + + unittest.group('resource-AccountsResource', () { + unittest.test('method--getNotificationSetting', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessNotificationSettingsApi(mock).accounts; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildNotificationSetting()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getNotificationSetting(arg_name, $fields: arg_$fields); + checkNotificationSetting(response as api.NotificationSetting); + }); + + unittest.test('method--updateNotificationSetting', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessNotificationSettingsApi(mock).accounts; + final arg_request = buildNotificationSetting(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.NotificationSetting.fromJson( + json as core.Map); + checkNotificationSetting(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildNotificationSetting()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateNotificationSetting( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkNotificationSetting(response as api.NotificationSetting); + }); + }); +} diff --git a/generated/googleapis/test/mybusinessplaceactions/v1_test.dart b/generated/googleapis/test/mybusinessplaceactions/v1_test.dart index 519702c30..6f7e31d8b 100644 --- a/generated/googleapis/test/mybusinessplaceactions/v1_test.dart +++ b/generated/googleapis/test/mybusinessplaceactions/v1_test.dart @@ -41,12 +41,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed6650() => [ +core.List buildUnnamed6721() => [ buildPlaceActionLink(), buildPlaceActionLink(), ]; -void checkUnnamed6650(core.List o) { +void checkUnnamed6721(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlaceActionLink(o[0]); checkPlaceActionLink(o[1]); @@ -58,7 +58,7 @@ api.ListPlaceActionLinksResponse buildListPlaceActionLinksResponse() { buildCounterListPlaceActionLinksResponse++; if (buildCounterListPlaceActionLinksResponse < 3) { o.nextPageToken = 'foo'; - o.placeActionLinks = buildUnnamed6650(); + o.placeActionLinks = buildUnnamed6721(); } buildCounterListPlaceActionLinksResponse--; return o; @@ -71,17 +71,17 @@ void checkListPlaceActionLinksResponse(api.ListPlaceActionLinksResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6650(o.placeActionLinks!); + checkUnnamed6721(o.placeActionLinks!); } buildCounterListPlaceActionLinksResponse--; } -core.List buildUnnamed6651() => [ +core.List buildUnnamed6722() => [ buildPlaceActionTypeMetadata(), buildPlaceActionTypeMetadata(), ]; -void checkUnnamed6651(core.List o) { +void checkUnnamed6722(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlaceActionTypeMetadata(o[0]); checkPlaceActionTypeMetadata(o[1]); @@ -94,7 +94,7 @@ api.ListPlaceActionTypeMetadataResponse buildCounterListPlaceActionTypeMetadataResponse++; if (buildCounterListPlaceActionTypeMetadataResponse < 3) { o.nextPageToken = 'foo'; - o.placeActionTypeMetadata = buildUnnamed6651(); + o.placeActionTypeMetadata = buildUnnamed6722(); } buildCounterListPlaceActionTypeMetadataResponse--; return o; @@ -108,7 +108,7 @@ void checkListPlaceActionTypeMetadataResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6651(o.placeActionTypeMetadata!); + checkUnnamed6722(o.placeActionTypeMetadata!); } buildCounterListPlaceActionTypeMetadataResponse--; } diff --git a/generated/googleapis/test/mybusinessverifications/v1_test.dart b/generated/googleapis/test/mybusinessverifications/v1_test.dart new file mode 100644 index 000000000..a3da7de0a --- /dev/null +++ b/generated/googleapis/test/mybusinessverifications/v1_test.dart @@ -0,0 +1,1244 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/mybusinessverifications/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterAddressVerificationData = 0; +api.AddressVerificationData buildAddressVerificationData() { + final o = api.AddressVerificationData(); + buildCounterAddressVerificationData++; + if (buildCounterAddressVerificationData < 3) { + o.address = buildPostalAddress(); + o.business = 'foo'; + o.expectedDeliveryDaysRegion = 42; + } + buildCounterAddressVerificationData--; + return o; +} + +void checkAddressVerificationData(api.AddressVerificationData o) { + buildCounterAddressVerificationData++; + if (buildCounterAddressVerificationData < 3) { + checkPostalAddress(o.address!); + unittest.expect( + o.business!, + unittest.equals('foo'), + ); + unittest.expect( + o.expectedDeliveryDaysRegion!, + unittest.equals(42), + ); + } + buildCounterAddressVerificationData--; +} + +core.int buildCounterCompleteVerificationRequest = 0; +api.CompleteVerificationRequest buildCompleteVerificationRequest() { + final o = api.CompleteVerificationRequest(); + buildCounterCompleteVerificationRequest++; + if (buildCounterCompleteVerificationRequest < 3) { + o.pin = 'foo'; + } + buildCounterCompleteVerificationRequest--; + return o; +} + +void checkCompleteVerificationRequest(api.CompleteVerificationRequest o) { + buildCounterCompleteVerificationRequest++; + if (buildCounterCompleteVerificationRequest < 3) { + unittest.expect( + o.pin!, + unittest.equals('foo'), + ); + } + buildCounterCompleteVerificationRequest--; +} + +core.int buildCounterCompleteVerificationResponse = 0; +api.CompleteVerificationResponse buildCompleteVerificationResponse() { + final o = api.CompleteVerificationResponse(); + buildCounterCompleteVerificationResponse++; + if (buildCounterCompleteVerificationResponse < 3) { + o.verification = buildVerification(); + } + buildCounterCompleteVerificationResponse--; + return o; +} + +void checkCompleteVerificationResponse(api.CompleteVerificationResponse o) { + buildCounterCompleteVerificationResponse++; + if (buildCounterCompleteVerificationResponse < 3) { + checkVerification(o.verification!); + } + buildCounterCompleteVerificationResponse--; +} + +core.int buildCounterComplyWithGuidelines = 0; +api.ComplyWithGuidelines buildComplyWithGuidelines() { + final o = api.ComplyWithGuidelines(); + buildCounterComplyWithGuidelines++; + if (buildCounterComplyWithGuidelines < 3) {} + buildCounterComplyWithGuidelines--; + return o; +} + +void checkComplyWithGuidelines(api.ComplyWithGuidelines o) { + buildCounterComplyWithGuidelines++; + if (buildCounterComplyWithGuidelines < 3) {} + buildCounterComplyWithGuidelines--; +} + +core.int buildCounterEmailVerificationData = 0; +api.EmailVerificationData buildEmailVerificationData() { + final o = api.EmailVerificationData(); + buildCounterEmailVerificationData++; + if (buildCounterEmailVerificationData < 3) { + o.domain = 'foo'; + o.isUserNameEditable = true; + o.user = 'foo'; + } + buildCounterEmailVerificationData--; + return o; +} + +void checkEmailVerificationData(api.EmailVerificationData o) { + buildCounterEmailVerificationData++; + if (buildCounterEmailVerificationData < 3) { + unittest.expect( + o.domain!, + unittest.equals('foo'), + ); + unittest.expect(o.isUserNameEditable!, unittest.isTrue); + unittest.expect( + o.user!, + unittest.equals('foo'), + ); + } + buildCounterEmailVerificationData--; +} + +core.int buildCounterFetchVerificationOptionsRequest = 0; +api.FetchVerificationOptionsRequest buildFetchVerificationOptionsRequest() { + final o = api.FetchVerificationOptionsRequest(); + buildCounterFetchVerificationOptionsRequest++; + if (buildCounterFetchVerificationOptionsRequest < 3) { + o.context = buildServiceBusinessContext(); + o.languageCode = 'foo'; + } + buildCounterFetchVerificationOptionsRequest--; + return o; +} + +void checkFetchVerificationOptionsRequest( + api.FetchVerificationOptionsRequest o) { + buildCounterFetchVerificationOptionsRequest++; + if (buildCounterFetchVerificationOptionsRequest < 3) { + checkServiceBusinessContext(o.context!); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + } + buildCounterFetchVerificationOptionsRequest--; +} + +core.List buildUnnamed5419() => [ + buildVerificationOption(), + buildVerificationOption(), + ]; + +void checkUnnamed5419(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVerificationOption(o[0]); + checkVerificationOption(o[1]); +} + +core.int buildCounterFetchVerificationOptionsResponse = 0; +api.FetchVerificationOptionsResponse buildFetchVerificationOptionsResponse() { + final o = api.FetchVerificationOptionsResponse(); + buildCounterFetchVerificationOptionsResponse++; + if (buildCounterFetchVerificationOptionsResponse < 3) { + o.options = buildUnnamed5419(); + } + buildCounterFetchVerificationOptionsResponse--; + return o; +} + +void checkFetchVerificationOptionsResponse( + api.FetchVerificationOptionsResponse o) { + buildCounterFetchVerificationOptionsResponse++; + if (buildCounterFetchVerificationOptionsResponse < 3) { + checkUnnamed5419(o.options!); + } + buildCounterFetchVerificationOptionsResponse--; +} + +core.int buildCounterGenerateVerificationTokenRequest = 0; +api.GenerateVerificationTokenRequest buildGenerateVerificationTokenRequest() { + final o = api.GenerateVerificationTokenRequest(); + buildCounterGenerateVerificationTokenRequest++; + if (buildCounterGenerateVerificationTokenRequest < 3) { + o.location = buildLocation(); + } + buildCounterGenerateVerificationTokenRequest--; + return o; +} + +void checkGenerateVerificationTokenRequest( + api.GenerateVerificationTokenRequest o) { + buildCounterGenerateVerificationTokenRequest++; + if (buildCounterGenerateVerificationTokenRequest < 3) { + checkLocation(o.location!); + } + buildCounterGenerateVerificationTokenRequest--; +} + +core.int buildCounterGenerateVerificationTokenResponse = 0; +api.GenerateVerificationTokenResponse buildGenerateVerificationTokenResponse() { + final o = api.GenerateVerificationTokenResponse(); + buildCounterGenerateVerificationTokenResponse++; + if (buildCounterGenerateVerificationTokenResponse < 3) { + o.token = buildVerificationToken(); + } + buildCounterGenerateVerificationTokenResponse--; + return o; +} + +void checkGenerateVerificationTokenResponse( + api.GenerateVerificationTokenResponse o) { + buildCounterGenerateVerificationTokenResponse++; + if (buildCounterGenerateVerificationTokenResponse < 3) { + checkVerificationToken(o.token!); + } + buildCounterGenerateVerificationTokenResponse--; +} + +core.List buildUnnamed5420() => [ + buildVerification(), + buildVerification(), + ]; + +void checkUnnamed5420(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVerification(o[0]); + checkVerification(o[1]); +} + +core.int buildCounterListVerificationsResponse = 0; +api.ListVerificationsResponse buildListVerificationsResponse() { + final o = api.ListVerificationsResponse(); + buildCounterListVerificationsResponse++; + if (buildCounterListVerificationsResponse < 3) { + o.nextPageToken = 'foo'; + o.verifications = buildUnnamed5420(); + } + buildCounterListVerificationsResponse--; + return o; +} + +void checkListVerificationsResponse(api.ListVerificationsResponse o) { + buildCounterListVerificationsResponse++; + if (buildCounterListVerificationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed5420(o.verifications!); + } + buildCounterListVerificationsResponse--; +} + +core.int buildCounterLocation = 0; +api.Location buildLocation() { + final o = api.Location(); + buildCounterLocation++; + if (buildCounterLocation < 3) { + o.address = buildPostalAddress(); + o.name = 'foo'; + o.primaryCategoryId = 'foo'; + o.primaryPhone = 'foo'; + o.websiteUri = 'foo'; + } + buildCounterLocation--; + return o; +} + +void checkLocation(api.Location o) { + buildCounterLocation++; + if (buildCounterLocation < 3) { + checkPostalAddress(o.address!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.primaryCategoryId!, + unittest.equals('foo'), + ); + unittest.expect( + o.primaryPhone!, + unittest.equals('foo'), + ); + unittest.expect( + o.websiteUri!, + unittest.equals('foo'), + ); + } + buildCounterLocation--; +} + +core.List buildUnnamed5421() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5421(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed5422() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5422(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPostalAddress = 0; +api.PostalAddress buildPostalAddress() { + final o = api.PostalAddress(); + buildCounterPostalAddress++; + if (buildCounterPostalAddress < 3) { + o.addressLines = buildUnnamed5421(); + o.administrativeArea = 'foo'; + o.languageCode = 'foo'; + o.locality = 'foo'; + o.organization = 'foo'; + o.postalCode = 'foo'; + o.recipients = buildUnnamed5422(); + o.regionCode = 'foo'; + o.revision = 42; + o.sortingCode = 'foo'; + o.sublocality = 'foo'; + } + buildCounterPostalAddress--; + return o; +} + +void checkPostalAddress(api.PostalAddress o) { + buildCounterPostalAddress++; + if (buildCounterPostalAddress < 3) { + checkUnnamed5421(o.addressLines!); + unittest.expect( + o.administrativeArea!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.locality!, + unittest.equals('foo'), + ); + unittest.expect( + o.organization!, + unittest.equals('foo'), + ); + unittest.expect( + o.postalCode!, + unittest.equals('foo'), + ); + checkUnnamed5422(o.recipients!); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.revision!, + unittest.equals(42), + ); + unittest.expect( + o.sortingCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.sublocality!, + unittest.equals('foo'), + ); + } + buildCounterPostalAddress--; +} + +core.int buildCounterResolveOwnershipConflict = 0; +api.ResolveOwnershipConflict buildResolveOwnershipConflict() { + final o = api.ResolveOwnershipConflict(); + buildCounterResolveOwnershipConflict++; + if (buildCounterResolveOwnershipConflict < 3) {} + buildCounterResolveOwnershipConflict--; + return o; +} + +void checkResolveOwnershipConflict(api.ResolveOwnershipConflict o) { + buildCounterResolveOwnershipConflict++; + if (buildCounterResolveOwnershipConflict < 3) {} + buildCounterResolveOwnershipConflict--; +} + +core.int buildCounterServiceBusinessContext = 0; +api.ServiceBusinessContext buildServiceBusinessContext() { + final o = api.ServiceBusinessContext(); + buildCounterServiceBusinessContext++; + if (buildCounterServiceBusinessContext < 3) { + o.address = buildPostalAddress(); + } + buildCounterServiceBusinessContext--; + return o; +} + +void checkServiceBusinessContext(api.ServiceBusinessContext o) { + buildCounterServiceBusinessContext++; + if (buildCounterServiceBusinessContext < 3) { + checkPostalAddress(o.address!); + } + buildCounterServiceBusinessContext--; +} + +core.int buildCounterVerification = 0; +api.Verification buildVerification() { + final o = api.Verification(); + buildCounterVerification++; + if (buildCounterVerification < 3) { + o.createTime = 'foo'; + o.method = 'foo'; + o.name = 'foo'; + o.state = 'foo'; + } + buildCounterVerification--; + return o; +} + +void checkVerification(api.Verification o) { + buildCounterVerification++; + if (buildCounterVerification < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.method!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + } + buildCounterVerification--; +} + +core.int buildCounterVerificationOption = 0; +api.VerificationOption buildVerificationOption() { + final o = api.VerificationOption(); + buildCounterVerificationOption++; + if (buildCounterVerificationOption < 3) { + o.addressData = buildAddressVerificationData(); + o.emailData = buildEmailVerificationData(); + o.phoneNumber = 'foo'; + o.verificationMethod = 'foo'; + } + buildCounterVerificationOption--; + return o; +} + +void checkVerificationOption(api.VerificationOption o) { + buildCounterVerificationOption++; + if (buildCounterVerificationOption < 3) { + checkAddressVerificationData(o.addressData!); + checkEmailVerificationData(o.emailData!); + unittest.expect( + o.phoneNumber!, + unittest.equals('foo'), + ); + unittest.expect( + o.verificationMethod!, + unittest.equals('foo'), + ); + } + buildCounterVerificationOption--; +} + +core.int buildCounterVerificationToken = 0; +api.VerificationToken buildVerificationToken() { + final o = api.VerificationToken(); + buildCounterVerificationToken++; + if (buildCounterVerificationToken < 3) { + o.tokenString = 'foo'; + } + buildCounterVerificationToken--; + return o; +} + +void checkVerificationToken(api.VerificationToken o) { + buildCounterVerificationToken++; + if (buildCounterVerificationToken < 3) { + unittest.expect( + o.tokenString!, + unittest.equals('foo'), + ); + } + buildCounterVerificationToken--; +} + +core.int buildCounterVerify = 0; +api.Verify buildVerify() { + final o = api.Verify(); + buildCounterVerify++; + if (buildCounterVerify < 3) { + o.hasPendingVerification = true; + } + buildCounterVerify--; + return o; +} + +void checkVerify(api.Verify o) { + buildCounterVerify++; + if (buildCounterVerify < 3) { + unittest.expect(o.hasPendingVerification!, unittest.isTrue); + } + buildCounterVerify--; +} + +core.int buildCounterVerifyLocationRequest = 0; +api.VerifyLocationRequest buildVerifyLocationRequest() { + final o = api.VerifyLocationRequest(); + buildCounterVerifyLocationRequest++; + if (buildCounterVerifyLocationRequest < 3) { + o.context = buildServiceBusinessContext(); + o.emailAddress = 'foo'; + o.languageCode = 'foo'; + o.mailerContact = 'foo'; + o.method = 'foo'; + o.phoneNumber = 'foo'; + o.token = buildVerificationToken(); + } + buildCounterVerifyLocationRequest--; + return o; +} + +void checkVerifyLocationRequest(api.VerifyLocationRequest o) { + buildCounterVerifyLocationRequest++; + if (buildCounterVerifyLocationRequest < 3) { + checkServiceBusinessContext(o.context!); + unittest.expect( + o.emailAddress!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.mailerContact!, + unittest.equals('foo'), + ); + unittest.expect( + o.method!, + unittest.equals('foo'), + ); + unittest.expect( + o.phoneNumber!, + unittest.equals('foo'), + ); + checkVerificationToken(o.token!); + } + buildCounterVerifyLocationRequest--; +} + +core.int buildCounterVerifyLocationResponse = 0; +api.VerifyLocationResponse buildVerifyLocationResponse() { + final o = api.VerifyLocationResponse(); + buildCounterVerifyLocationResponse++; + if (buildCounterVerifyLocationResponse < 3) { + o.verification = buildVerification(); + } + buildCounterVerifyLocationResponse--; + return o; +} + +void checkVerifyLocationResponse(api.VerifyLocationResponse o) { + buildCounterVerifyLocationResponse++; + if (buildCounterVerifyLocationResponse < 3) { + checkVerification(o.verification!); + } + buildCounterVerifyLocationResponse--; +} + +core.int buildCounterVoiceOfMerchantState = 0; +api.VoiceOfMerchantState buildVoiceOfMerchantState() { + final o = api.VoiceOfMerchantState(); + buildCounterVoiceOfMerchantState++; + if (buildCounterVoiceOfMerchantState < 3) { + o.complyWithGuidelines = buildComplyWithGuidelines(); + o.hasBusinessAuthority = true; + o.hasVoiceOfMerchant = true; + o.resolveOwnershipConflict = buildResolveOwnershipConflict(); + o.verify = buildVerify(); + o.waitForVoiceOfMerchant = buildWaitForVoiceOfMerchant(); + } + buildCounterVoiceOfMerchantState--; + return o; +} + +void checkVoiceOfMerchantState(api.VoiceOfMerchantState o) { + buildCounterVoiceOfMerchantState++; + if (buildCounterVoiceOfMerchantState < 3) { + checkComplyWithGuidelines(o.complyWithGuidelines!); + unittest.expect(o.hasBusinessAuthority!, unittest.isTrue); + unittest.expect(o.hasVoiceOfMerchant!, unittest.isTrue); + checkResolveOwnershipConflict(o.resolveOwnershipConflict!); + checkVerify(o.verify!); + checkWaitForVoiceOfMerchant(o.waitForVoiceOfMerchant!); + } + buildCounterVoiceOfMerchantState--; +} + +core.int buildCounterWaitForVoiceOfMerchant = 0; +api.WaitForVoiceOfMerchant buildWaitForVoiceOfMerchant() { + final o = api.WaitForVoiceOfMerchant(); + buildCounterWaitForVoiceOfMerchant++; + if (buildCounterWaitForVoiceOfMerchant < 3) {} + buildCounterWaitForVoiceOfMerchant--; + return o; +} + +void checkWaitForVoiceOfMerchant(api.WaitForVoiceOfMerchant o) { + buildCounterWaitForVoiceOfMerchant++; + if (buildCounterWaitForVoiceOfMerchant < 3) {} + buildCounterWaitForVoiceOfMerchant--; +} + +void main() { + unittest.group('obj-schema-AddressVerificationData', () { + unittest.test('to-json--from-json', () async { + final o = buildAddressVerificationData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AddressVerificationData.fromJson( + oJson as core.Map); + checkAddressVerificationData(od); + }); + }); + + unittest.group('obj-schema-CompleteVerificationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCompleteVerificationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CompleteVerificationRequest.fromJson( + oJson as core.Map); + checkCompleteVerificationRequest(od); + }); + }); + + unittest.group('obj-schema-CompleteVerificationResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildCompleteVerificationResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CompleteVerificationResponse.fromJson( + oJson as core.Map); + checkCompleteVerificationResponse(od); + }); + }); + + unittest.group('obj-schema-ComplyWithGuidelines', () { + unittest.test('to-json--from-json', () async { + final o = buildComplyWithGuidelines(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ComplyWithGuidelines.fromJson( + oJson as core.Map); + checkComplyWithGuidelines(od); + }); + }); + + unittest.group('obj-schema-EmailVerificationData', () { + unittest.test('to-json--from-json', () async { + final o = buildEmailVerificationData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EmailVerificationData.fromJson( + oJson as core.Map); + checkEmailVerificationData(od); + }); + }); + + unittest.group('obj-schema-FetchVerificationOptionsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchVerificationOptionsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchVerificationOptionsRequest.fromJson( + oJson as core.Map); + checkFetchVerificationOptionsRequest(od); + }); + }); + + unittest.group('obj-schema-FetchVerificationOptionsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchVerificationOptionsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchVerificationOptionsResponse.fromJson( + oJson as core.Map); + checkFetchVerificationOptionsResponse(od); + }); + }); + + unittest.group('obj-schema-GenerateVerificationTokenRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGenerateVerificationTokenRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GenerateVerificationTokenRequest.fromJson( + oJson as core.Map); + checkGenerateVerificationTokenRequest(od); + }); + }); + + unittest.group('obj-schema-GenerateVerificationTokenResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGenerateVerificationTokenResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GenerateVerificationTokenResponse.fromJson( + oJson as core.Map); + checkGenerateVerificationTokenResponse(od); + }); + }); + + unittest.group('obj-schema-ListVerificationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListVerificationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListVerificationsResponse.fromJson( + oJson as core.Map); + checkListVerificationsResponse(od); + }); + }); + + unittest.group('obj-schema-Location', () { + unittest.test('to-json--from-json', () async { + final o = buildLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Location.fromJson(oJson as core.Map); + checkLocation(od); + }); + }); + + unittest.group('obj-schema-PostalAddress', () { + unittest.test('to-json--from-json', () async { + final o = buildPostalAddress(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PostalAddress.fromJson( + oJson as core.Map); + checkPostalAddress(od); + }); + }); + + unittest.group('obj-schema-ResolveOwnershipConflict', () { + unittest.test('to-json--from-json', () async { + final o = buildResolveOwnershipConflict(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ResolveOwnershipConflict.fromJson( + oJson as core.Map); + checkResolveOwnershipConflict(od); + }); + }); + + unittest.group('obj-schema-ServiceBusinessContext', () { + unittest.test('to-json--from-json', () async { + final o = buildServiceBusinessContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ServiceBusinessContext.fromJson( + oJson as core.Map); + checkServiceBusinessContext(od); + }); + }); + + unittest.group('obj-schema-Verification', () { + unittest.test('to-json--from-json', () async { + final o = buildVerification(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Verification.fromJson( + oJson as core.Map); + checkVerification(od); + }); + }); + + unittest.group('obj-schema-VerificationOption', () { + unittest.test('to-json--from-json', () async { + final o = buildVerificationOption(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VerificationOption.fromJson( + oJson as core.Map); + checkVerificationOption(od); + }); + }); + + unittest.group('obj-schema-VerificationToken', () { + unittest.test('to-json--from-json', () async { + final o = buildVerificationToken(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VerificationToken.fromJson( + oJson as core.Map); + checkVerificationToken(od); + }); + }); + + unittest.group('obj-schema-Verify', () { + unittest.test('to-json--from-json', () async { + final o = buildVerify(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Verify.fromJson(oJson as core.Map); + checkVerify(od); + }); + }); + + unittest.group('obj-schema-VerifyLocationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildVerifyLocationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VerifyLocationRequest.fromJson( + oJson as core.Map); + checkVerifyLocationRequest(od); + }); + }); + + unittest.group('obj-schema-VerifyLocationResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildVerifyLocationResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VerifyLocationResponse.fromJson( + oJson as core.Map); + checkVerifyLocationResponse(od); + }); + }); + + unittest.group('obj-schema-VoiceOfMerchantState', () { + unittest.test('to-json--from-json', () async { + final o = buildVoiceOfMerchantState(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VoiceOfMerchantState.fromJson( + oJson as core.Map); + checkVoiceOfMerchantState(od); + }); + }); + + unittest.group('obj-schema-WaitForVoiceOfMerchant', () { + unittest.test('to-json--from-json', () async { + final o = buildWaitForVoiceOfMerchant(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.WaitForVoiceOfMerchant.fromJson( + oJson as core.Map); + checkWaitForVoiceOfMerchant(od); + }); + }); + + unittest.group('resource-LocationsResource', () { + unittest.test('method--fetchVerificationOptions', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessVerificationsApi(mock).locations; + final arg_request = buildFetchVerificationOptionsRequest(); + final arg_location = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.FetchVerificationOptionsRequest.fromJson( + json as core.Map); + checkFetchVerificationOptionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildFetchVerificationOptionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchVerificationOptions( + arg_request, arg_location, + $fields: arg_$fields); + checkFetchVerificationOptionsResponse( + response as api.FetchVerificationOptionsResponse); + }); + + unittest.test('method--getVoiceOfMerchantState', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessVerificationsApi(mock).locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildVoiceOfMerchantState()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getVoiceOfMerchantState(arg_name, $fields: arg_$fields); + checkVoiceOfMerchantState(response as api.VoiceOfMerchantState); + }); + + unittest.test('method--verify', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessVerificationsApi(mock).locations; + final arg_request = buildVerifyLocationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.VerifyLocationRequest.fromJson( + json as core.Map); + checkVerifyLocationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildVerifyLocationResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.verify(arg_request, arg_name, $fields: arg_$fields); + checkVerifyLocationResponse(response as api.VerifyLocationResponse); + }); + }); + + unittest.group('resource-LocationsVerificationsResource', () { + unittest.test('method--complete', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessVerificationsApi(mock).locations.verifications; + final arg_request = buildCompleteVerificationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CompleteVerificationRequest.fromJson( + json as core.Map); + checkCompleteVerificationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildCompleteVerificationResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.complete(arg_request, arg_name, $fields: arg_$fields); + checkCompleteVerificationResponse( + response as api.CompleteVerificationResponse); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessVerificationsApi(mock).locations.verifications; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListVerificationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListVerificationsResponse(response as api.ListVerificationsResponse); + }); + }); + + unittest.group('resource-VerificationTokensResource', () { + unittest.test('method--generate', () async { + final mock = HttpServerMock(); + final res = api.MyBusinessVerificationsApi(mock).verificationTokens; + final arg_request = buildGenerateVerificationTokenRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GenerateVerificationTokenRequest.fromJson( + json as core.Map); + checkGenerateVerificationTokenRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 30), + unittest.equals('v1/verificationTokens:generate'), + ); + pathOffset += 30; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGenerateVerificationTokenResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.generate(arg_request, $fields: arg_$fields); + checkGenerateVerificationTokenResponse( + response as api.GenerateVerificationTokenResponse); + }); + }); +} diff --git a/generated/googleapis/test/networkmanagement/v1_test.dart b/generated/googleapis/test/networkmanagement/v1_test.dart index e2f60c331..ceac86bcf 100644 --- a/generated/googleapis/test/networkmanagement/v1_test.dart +++ b/generated/googleapis/test/networkmanagement/v1_test.dart @@ -53,12 +53,12 @@ void checkAbortInfo(api.AbortInfo o) { buildCounterAbortInfo--; } -core.List buildUnnamed4915() => [ +core.List buildUnnamed4959() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed4915(core.List o) { +void checkUnnamed4959(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -69,7 +69,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed4915(); + o.auditLogConfigs = buildUnnamed4959(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -79,7 +79,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed4915(o.auditLogConfigs!); + checkUnnamed4959(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -88,12 +88,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed4916() => [ +core.List buildUnnamed4960() => [ 'foo', 'foo', ]; -void checkUnnamed4916(core.List o) { +void checkUnnamed4960(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -110,7 +110,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed4916(); + o.exemptedMembers = buildUnnamed4960(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -120,7 +120,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed4916(o.exemptedMembers!); + checkUnnamed4960(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -129,12 +129,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed4917() => [ +core.List buildUnnamed4961() => [ 'foo', 'foo', ]; -void checkUnnamed4917(core.List o) { +void checkUnnamed4961(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -152,7 +152,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed4917(); + o.members = buildUnnamed4961(); o.role = 'foo'; } buildCounterBinding--; @@ -163,7 +163,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed4917(o.members!); + checkUnnamed4961(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -234,12 +234,12 @@ void checkCloudSQLInstanceInfo(api.CloudSQLInstanceInfo o) { buildCounterCloudSQLInstanceInfo--; } -core.Map buildUnnamed4918() => { +core.Map buildUnnamed4962() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4918(core.Map o) { +void checkUnnamed4962(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -251,12 +251,12 @@ void checkUnnamed4918(core.Map o) { ); } -core.List buildUnnamed4919() => [ +core.List buildUnnamed4963() => [ 'foo', 'foo', ]; -void checkUnnamed4919(core.List o) { +void checkUnnamed4963(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -277,11 +277,11 @@ api.ConnectivityTest buildConnectivityTest() { o.description = 'foo'; o.destination = buildEndpoint(); o.displayName = 'foo'; - o.labels = buildUnnamed4918(); + o.labels = buildUnnamed4962(); o.name = 'foo'; o.protocol = 'foo'; o.reachabilityDetails = buildReachabilityDetails(); - o.relatedProjects = buildUnnamed4919(); + o.relatedProjects = buildUnnamed4963(); o.source = buildEndpoint(); o.updateTime = 'foo'; } @@ -305,7 +305,7 @@ void checkConnectivityTest(api.ConnectivityTest o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4918(o.labels!); + checkUnnamed4962(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -315,7 +315,7 @@ void checkConnectivityTest(api.ConnectivityTest o) { unittest.equals('foo'), ); checkReachabilityDetails(o.reachabilityDetails!); - checkUnnamed4919(o.relatedProjects!); + checkUnnamed4963(o.relatedProjects!); checkEndpoint(o.source!); unittest.expect( o.updateTime!, @@ -540,12 +540,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed4920() => [ +core.List buildUnnamed4964() => [ 'foo', 'foo', ]; -void checkUnnamed4920(core.List o) { +void checkUnnamed4964(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -557,12 +557,12 @@ void checkUnnamed4920(core.List o) { ); } -core.List buildUnnamed4921() => [ +core.List buildUnnamed4965() => [ 'foo', 'foo', ]; -void checkUnnamed4921(core.List o) { +void checkUnnamed4965(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -586,8 +586,8 @@ api.FirewallInfo buildFirewallInfo() { o.networkUri = 'foo'; o.policy = 'foo'; o.priority = 42; - o.targetServiceAccounts = buildUnnamed4920(); - o.targetTags = buildUnnamed4921(); + o.targetServiceAccounts = buildUnnamed4964(); + o.targetTags = buildUnnamed4965(); o.uri = 'foo'; } buildCounterFirewallInfo--; @@ -625,8 +625,8 @@ void checkFirewallInfo(api.FirewallInfo o) { o.priority!, unittest.equals(42), ); - checkUnnamed4920(o.targetServiceAccounts!); - checkUnnamed4921(o.targetTags!); + checkUnnamed4964(o.targetServiceAccounts!); + checkUnnamed4965(o.targetTags!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -751,12 +751,12 @@ void checkGKEMasterInfo(api.GKEMasterInfo o) { buildCounterGKEMasterInfo--; } -core.List buildUnnamed4922() => [ +core.List buildUnnamed4966() => [ 'foo', 'foo', ]; -void checkUnnamed4922(core.List o) { +void checkUnnamed4966(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -777,7 +777,7 @@ api.InstanceInfo buildInstanceInfo() { o.externalIp = 'foo'; o.interface = 'foo'; o.internalIp = 'foo'; - o.networkTags = buildUnnamed4922(); + o.networkTags = buildUnnamed4966(); o.networkUri = 'foo'; o.serviceAccount = 'foo'; o.uri = 'foo'; @@ -805,7 +805,7 @@ void checkInstanceInfo(api.InstanceInfo o) { o.internalIp!, unittest.equals('foo'), ); - checkUnnamed4922(o.networkTags!); + checkUnnamed4966(o.networkTags!); unittest.expect( o.networkUri!, unittest.equals('foo'), @@ -822,23 +822,23 @@ void checkInstanceInfo(api.InstanceInfo o) { buildCounterInstanceInfo--; } -core.List buildUnnamed4923() => [ +core.List buildUnnamed4967() => [ buildConnectivityTest(), buildConnectivityTest(), ]; -void checkUnnamed4923(core.List o) { +void checkUnnamed4967(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectivityTest(o[0]); checkConnectivityTest(o[1]); } -core.List buildUnnamed4924() => [ +core.List buildUnnamed4968() => [ 'foo', 'foo', ]; -void checkUnnamed4924(core.List o) { +void checkUnnamed4968(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -856,8 +856,8 @@ api.ListConnectivityTestsResponse buildListConnectivityTestsResponse() { buildCounterListConnectivityTestsResponse++; if (buildCounterListConnectivityTestsResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed4923(); - o.unreachable = buildUnnamed4924(); + o.resources = buildUnnamed4967(); + o.unreachable = buildUnnamed4968(); } buildCounterListConnectivityTestsResponse--; return o; @@ -870,18 +870,18 @@ void checkListConnectivityTestsResponse(api.ListConnectivityTestsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4923(o.resources!); - checkUnnamed4924(o.unreachable!); + checkUnnamed4967(o.resources!); + checkUnnamed4968(o.unreachable!); } buildCounterListConnectivityTestsResponse--; } -core.List buildUnnamed4925() => [ +core.List buildUnnamed4969() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed4925(core.List o) { +void checkUnnamed4969(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -892,7 +892,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed4925(); + o.locations = buildUnnamed4969(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -902,7 +902,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed4925(o.locations!); + checkUnnamed4969(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -911,12 +911,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed4926() => [ +core.List buildUnnamed4970() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4926(core.List o) { +void checkUnnamed4970(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -928,7 +928,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4926(); + o.operations = buildUnnamed4970(); } buildCounterListOperationsResponse--; return o; @@ -941,17 +941,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4926(o.operations!); + checkUnnamed4970(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed4927() => [ +core.List buildUnnamed4971() => [ 'foo', 'foo', ]; -void checkUnnamed4927(core.List o) { +void checkUnnamed4971(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -963,12 +963,12 @@ void checkUnnamed4927(core.List o) { ); } -core.List buildUnnamed4928() => [ +core.List buildUnnamed4972() => [ 'foo', 'foo', ]; -void checkUnnamed4928(core.List o) { +void checkUnnamed4972(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -986,8 +986,8 @@ api.LoadBalancerBackend buildLoadBalancerBackend() { buildCounterLoadBalancerBackend++; if (buildCounterLoadBalancerBackend < 3) { o.displayName = 'foo'; - o.healthCheckAllowingFirewallRules = buildUnnamed4927(); - o.healthCheckBlockingFirewallRules = buildUnnamed4928(); + o.healthCheckAllowingFirewallRules = buildUnnamed4971(); + o.healthCheckBlockingFirewallRules = buildUnnamed4972(); o.healthCheckFirewallState = 'foo'; o.uri = 'foo'; } @@ -1002,8 +1002,8 @@ void checkLoadBalancerBackend(api.LoadBalancerBackend o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4927(o.healthCheckAllowingFirewallRules!); - checkUnnamed4928(o.healthCheckBlockingFirewallRules!); + checkUnnamed4971(o.healthCheckAllowingFirewallRules!); + checkUnnamed4972(o.healthCheckBlockingFirewallRules!); unittest.expect( o.healthCheckFirewallState!, unittest.equals('foo'), @@ -1016,12 +1016,12 @@ void checkLoadBalancerBackend(api.LoadBalancerBackend o) { buildCounterLoadBalancerBackend--; } -core.List buildUnnamed4929() => [ +core.List buildUnnamed4973() => [ buildLoadBalancerBackend(), buildLoadBalancerBackend(), ]; -void checkUnnamed4929(core.List o) { +void checkUnnamed4973(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoadBalancerBackend(o[0]); checkLoadBalancerBackend(o[1]); @@ -1034,7 +1034,7 @@ api.LoadBalancerInfo buildLoadBalancerInfo() { if (buildCounterLoadBalancerInfo < 3) { o.backendType = 'foo'; o.backendUri = 'foo'; - o.backends = buildUnnamed4929(); + o.backends = buildUnnamed4973(); o.healthCheckUri = 'foo'; o.loadBalancerType = 'foo'; } @@ -1053,7 +1053,7 @@ void checkLoadBalancerInfo(api.LoadBalancerInfo o) { o.backendUri!, unittest.equals('foo'), ); - checkUnnamed4929(o.backends!); + checkUnnamed4973(o.backends!); unittest.expect( o.healthCheckUri!, unittest.equals('foo'), @@ -1066,12 +1066,12 @@ void checkLoadBalancerInfo(api.LoadBalancerInfo o) { buildCounterLoadBalancerInfo--; } -core.Map buildUnnamed4930() => { +core.Map buildUnnamed4974() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4930(core.Map o) { +void checkUnnamed4974(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1083,7 +1083,7 @@ void checkUnnamed4930(core.Map o) { ); } -core.Map buildUnnamed4931() => { +core.Map buildUnnamed4975() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1096,7 +1096,7 @@ core.Map buildUnnamed4931() => { }, }; -void checkUnnamed4931(core.Map o) { +void checkUnnamed4975(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1134,9 +1134,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed4930(); + o.labels = buildUnnamed4974(); o.locationId = 'foo'; - o.metadata = buildUnnamed4931(); + o.metadata = buildUnnamed4975(); o.name = 'foo'; } buildCounterLocation--; @@ -1150,12 +1150,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4930(o.labels!); + checkUnnamed4974(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed4931(o.metadata!); + checkUnnamed4975(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1196,7 +1196,7 @@ void checkNetworkInfo(api.NetworkInfo o) { buildCounterNetworkInfo--; } -core.Map buildUnnamed4932() => { +core.Map buildUnnamed4976() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1209,7 +1209,7 @@ core.Map buildUnnamed4932() => { }, }; -void checkUnnamed4932(core.Map o) { +void checkUnnamed4976(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1241,7 +1241,7 @@ void checkUnnamed4932(core.Map o) { ); } -core.Map buildUnnamed4933() => { +core.Map buildUnnamed4977() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1254,7 +1254,7 @@ core.Map buildUnnamed4933() => { }, }; -void checkUnnamed4933(core.Map o) { +void checkUnnamed4977(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1293,9 +1293,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4932(); + o.metadata = buildUnnamed4976(); o.name = 'foo'; - o.response = buildUnnamed4933(); + o.response = buildUnnamed4977(); } buildCounterOperation--; return o; @@ -1306,12 +1306,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4932(o.metadata!); + checkUnnamed4976(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4933(o.response!); + checkUnnamed4977(o.response!); } buildCounterOperation--; } @@ -1365,23 +1365,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed4934() => [ +core.List buildUnnamed4978() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed4934(core.List o) { +void checkUnnamed4978(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed4935() => [ +core.List buildUnnamed4979() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed4935(core.List o) { +void checkUnnamed4979(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1392,8 +1392,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed4934(); - o.bindings = buildUnnamed4935(); + o.auditConfigs = buildUnnamed4978(); + o.bindings = buildUnnamed4979(); o.etag = 'foo'; o.version = 42; } @@ -1404,8 +1404,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed4934(o.auditConfigs!); - checkUnnamed4935(o.bindings!); + checkUnnamed4978(o.auditConfigs!); + checkUnnamed4979(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1418,12 +1418,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed4936() => [ +core.List buildUnnamed4980() => [ buildTrace(), buildTrace(), ]; -void checkUnnamed4936(core.List o) { +void checkUnnamed4980(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrace(o[0]); checkTrace(o[1]); @@ -1436,7 +1436,7 @@ api.ReachabilityDetails buildReachabilityDetails() { if (buildCounterReachabilityDetails < 3) { o.error = buildStatus(); o.result = 'foo'; - o.traces = buildUnnamed4936(); + o.traces = buildUnnamed4980(); o.verifyTime = 'foo'; } buildCounterReachabilityDetails--; @@ -1451,7 +1451,7 @@ void checkReachabilityDetails(api.ReachabilityDetails o) { o.result!, unittest.equals('foo'), ); - checkUnnamed4936(o.traces!); + checkUnnamed4980(o.traces!); unittest.expect( o.verifyTime!, unittest.equals('foo'), @@ -1475,12 +1475,12 @@ void checkRerunConnectivityTestRequest(api.RerunConnectivityTestRequest o) { buildCounterRerunConnectivityTestRequest--; } -core.List buildUnnamed4937() => [ +core.List buildUnnamed4981() => [ 'foo', 'foo', ]; -void checkUnnamed4937(core.List o) { +void checkUnnamed4981(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1499,7 +1499,7 @@ api.RouteInfo buildRouteInfo() { if (buildCounterRouteInfo < 3) { o.destIpRange = 'foo'; o.displayName = 'foo'; - o.instanceTags = buildUnnamed4937(); + o.instanceTags = buildUnnamed4981(); o.networkUri = 'foo'; o.nextHop = 'foo'; o.nextHopType = 'foo'; @@ -1522,7 +1522,7 @@ void checkRouteInfo(api.RouteInfo o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4937(o.instanceTags!); + checkUnnamed4981(o.instanceTags!); unittest.expect( o.networkUri!, unittest.equals('foo'), @@ -1575,7 +1575,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed4938() => { +core.Map buildUnnamed4982() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1588,7 +1588,7 @@ core.Map buildUnnamed4938() => { }, }; -void checkUnnamed4938(core.Map o) { +void checkUnnamed4982(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1620,15 +1620,15 @@ void checkUnnamed4938(core.Map o) { ); } -core.List> buildUnnamed4939() => [ - buildUnnamed4938(), - buildUnnamed4938(), +core.List> buildUnnamed4983() => [ + buildUnnamed4982(), + buildUnnamed4982(), ]; -void checkUnnamed4939(core.List> o) { +void checkUnnamed4983(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4938(o[0]); - checkUnnamed4938(o[1]); + checkUnnamed4982(o[0]); + checkUnnamed4982(o[1]); } core.int buildCounterStatus = 0; @@ -1637,7 +1637,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4939(); + o.details = buildUnnamed4983(); o.message = 'foo'; } buildCounterStatus--; @@ -1651,7 +1651,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4939(o.details!); + checkUnnamed4983(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1724,12 +1724,12 @@ void checkStep(api.Step o) { buildCounterStep--; } -core.List buildUnnamed4940() => [ +core.List buildUnnamed4984() => [ 'foo', 'foo', ]; -void checkUnnamed4940(core.List o) { +void checkUnnamed4984(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1746,7 +1746,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed4940(); + o.permissions = buildUnnamed4984(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1755,17 +1755,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed4940(o.permissions!); + checkUnnamed4984(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed4941() => [ +core.List buildUnnamed4985() => [ 'foo', 'foo', ]; -void checkUnnamed4941(core.List o) { +void checkUnnamed4985(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1782,7 +1782,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed4941(); + o.permissions = buildUnnamed4985(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1791,17 +1791,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed4941(o.permissions!); + checkUnnamed4985(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed4942() => [ +core.List buildUnnamed4986() => [ buildStep(), buildStep(), ]; -void checkUnnamed4942(core.List o) { +void checkUnnamed4986(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStep(o[0]); checkStep(o[1]); @@ -1813,7 +1813,7 @@ api.Trace buildTrace() { buildCounterTrace++; if (buildCounterTrace < 3) { o.endpointInfo = buildEndpointInfo(); - o.steps = buildUnnamed4942(); + o.steps = buildUnnamed4986(); } buildCounterTrace--; return o; @@ -1823,7 +1823,7 @@ void checkTrace(api.Trace o) { buildCounterTrace++; if (buildCounterTrace < 3) { checkEndpointInfo(o.endpointInfo!); - checkUnnamed4942(o.steps!); + checkUnnamed4986(o.steps!); } buildCounterTrace--; } diff --git a/generated/googleapis/test/networksecurity/v1_test.dart b/generated/googleapis/test/networksecurity/v1_test.dart new file mode 100644 index 000000000..05fcbab15 --- /dev/null +++ b/generated/googleapis/test/networksecurity/v1_test.dart @@ -0,0 +1,3553 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/networksecurity/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.Map buildUnnamed4707() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed4707(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4708() => [ + buildRule(), + buildRule(), + ]; + +void checkUnnamed4708(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkRule(o[0]); + checkRule(o[1]); +} + +core.int buildCounterAuthorizationPolicy = 0; +api.AuthorizationPolicy buildAuthorizationPolicy() { + final o = api.AuthorizationPolicy(); + buildCounterAuthorizationPolicy++; + if (buildCounterAuthorizationPolicy < 3) { + o.action = 'foo'; + o.createTime = 'foo'; + o.description = 'foo'; + o.labels = buildUnnamed4707(); + o.name = 'foo'; + o.rules = buildUnnamed4708(); + o.updateTime = 'foo'; + } + buildCounterAuthorizationPolicy--; + return o; +} + +void checkAuthorizationPolicy(api.AuthorizationPolicy o) { + buildCounterAuthorizationPolicy++; + if (buildCounterAuthorizationPolicy < 3) { + unittest.expect( + o.action!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkUnnamed4707(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed4708(o.rules!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterAuthorizationPolicy--; +} + +core.int buildCounterCancelOperationRequest = 0; +api.CancelOperationRequest buildCancelOperationRequest() { + final o = api.CancelOperationRequest(); + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; + return o; +} + +void checkCancelOperationRequest(api.CancelOperationRequest o) { + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; +} + +core.int buildCounterCertificateProviderInstance = 0; +api.CertificateProviderInstance buildCertificateProviderInstance() { + final o = api.CertificateProviderInstance(); + buildCounterCertificateProviderInstance++; + if (buildCounterCertificateProviderInstance < 3) { + o.pluginInstance = 'foo'; + } + buildCounterCertificateProviderInstance--; + return o; +} + +void checkCertificateProviderInstance(api.CertificateProviderInstance o) { + buildCounterCertificateProviderInstance++; + if (buildCounterCertificateProviderInstance < 3) { + unittest.expect( + o.pluginInstance!, + unittest.equals('foo'), + ); + } + buildCounterCertificateProviderInstance--; +} + +core.Map buildUnnamed4709() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed4709(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4710() => [ + buildValidationCA(), + buildValidationCA(), + ]; + +void checkUnnamed4710(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkValidationCA(o[0]); + checkValidationCA(o[1]); +} + +core.int buildCounterClientTlsPolicy = 0; +api.ClientTlsPolicy buildClientTlsPolicy() { + final o = api.ClientTlsPolicy(); + buildCounterClientTlsPolicy++; + if (buildCounterClientTlsPolicy < 3) { + o.clientCertificate = + buildGoogleCloudNetworksecurityV1CertificateProvider(); + o.createTime = 'foo'; + o.description = 'foo'; + o.labels = buildUnnamed4709(); + o.name = 'foo'; + o.serverValidationCa = buildUnnamed4710(); + o.sni = 'foo'; + o.updateTime = 'foo'; + } + buildCounterClientTlsPolicy--; + return o; +} + +void checkClientTlsPolicy(api.ClientTlsPolicy o) { + buildCounterClientTlsPolicy++; + if (buildCounterClientTlsPolicy < 3) { + checkGoogleCloudNetworksecurityV1CertificateProvider(o.clientCertificate!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkUnnamed4709(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed4710(o.serverValidationCa!); + unittest.expect( + o.sni!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterClientTlsPolicy--; +} + +core.List buildUnnamed4711() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4711(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4712() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4712(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4713() => [ + 42, + 42, + ]; + +void checkUnnamed4713(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals(42), + ); + unittest.expect( + o[1], + unittest.equals(42), + ); +} + +core.int buildCounterDestination = 0; +api.Destination buildDestination() { + final o = api.Destination(); + buildCounterDestination++; + if (buildCounterDestination < 3) { + o.hosts = buildUnnamed4711(); + o.httpHeaderMatch = buildHttpHeaderMatch(); + o.methods = buildUnnamed4712(); + o.ports = buildUnnamed4713(); + } + buildCounterDestination--; + return o; +} + +void checkDestination(api.Destination o) { + buildCounterDestination++; + if (buildCounterDestination < 3) { + checkUnnamed4711(o.hosts!); + checkHttpHeaderMatch(o.httpHeaderMatch!); + checkUnnamed4712(o.methods!); + checkUnnamed4713(o.ports!); + } + buildCounterDestination--; +} + +core.int buildCounterEmpty = 0; +api.Empty buildEmpty() { + final o = api.Empty(); + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; + return o; +} + +void checkEmpty(api.Empty o) { + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; +} + +core.int buildCounterExpr = 0; +api.Expr buildExpr() { + final o = api.Expr(); + buildCounterExpr++; + if (buildCounterExpr < 3) { + o.description = 'foo'; + o.expression = 'foo'; + o.location = 'foo'; + o.title = 'foo'; + } + buildCounterExpr--; + return o; +} + +void checkExpr(api.Expr o) { + buildCounterExpr++; + if (buildCounterExpr < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.expression!, + unittest.equals('foo'), + ); + unittest.expect( + o.location!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + } + buildCounterExpr--; +} + +core.int buildCounterGoogleCloudNetworksecurityV1CertificateProvider = 0; +api.GoogleCloudNetworksecurityV1CertificateProvider + buildGoogleCloudNetworksecurityV1CertificateProvider() { + final o = api.GoogleCloudNetworksecurityV1CertificateProvider(); + buildCounterGoogleCloudNetworksecurityV1CertificateProvider++; + if (buildCounterGoogleCloudNetworksecurityV1CertificateProvider < 3) { + o.certificateProviderInstance = buildCertificateProviderInstance(); + o.grpcEndpoint = buildGoogleCloudNetworksecurityV1GrpcEndpoint(); + } + buildCounterGoogleCloudNetworksecurityV1CertificateProvider--; + return o; +} + +void checkGoogleCloudNetworksecurityV1CertificateProvider( + api.GoogleCloudNetworksecurityV1CertificateProvider o) { + buildCounterGoogleCloudNetworksecurityV1CertificateProvider++; + if (buildCounterGoogleCloudNetworksecurityV1CertificateProvider < 3) { + checkCertificateProviderInstance(o.certificateProviderInstance!); + checkGoogleCloudNetworksecurityV1GrpcEndpoint(o.grpcEndpoint!); + } + buildCounterGoogleCloudNetworksecurityV1CertificateProvider--; +} + +core.int buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint = 0; +api.GoogleCloudNetworksecurityV1GrpcEndpoint + buildGoogleCloudNetworksecurityV1GrpcEndpoint() { + final o = api.GoogleCloudNetworksecurityV1GrpcEndpoint(); + buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint++; + if (buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint < 3) { + o.targetUri = 'foo'; + } + buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint--; + return o; +} + +void checkGoogleCloudNetworksecurityV1GrpcEndpoint( + api.GoogleCloudNetworksecurityV1GrpcEndpoint o) { + buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint++; + if (buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint < 3) { + unittest.expect( + o.targetUri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudNetworksecurityV1GrpcEndpoint--; +} + +core.List buildUnnamed4714() => [ + buildGoogleIamV1AuditLogConfig(), + buildGoogleIamV1AuditLogConfig(), + ]; + +void checkUnnamed4714(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleIamV1AuditLogConfig(o[0]); + checkGoogleIamV1AuditLogConfig(o[1]); +} + +core.int buildCounterGoogleIamV1AuditConfig = 0; +api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { + final o = api.GoogleIamV1AuditConfig(); + buildCounterGoogleIamV1AuditConfig++; + if (buildCounterGoogleIamV1AuditConfig < 3) { + o.auditLogConfigs = buildUnnamed4714(); + o.service = 'foo'; + } + buildCounterGoogleIamV1AuditConfig--; + return o; +} + +void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { + buildCounterGoogleIamV1AuditConfig++; + if (buildCounterGoogleIamV1AuditConfig < 3) { + checkUnnamed4714(o.auditLogConfigs!); + unittest.expect( + o.service!, + unittest.equals('foo'), + ); + } + buildCounterGoogleIamV1AuditConfig--; +} + +core.List buildUnnamed4715() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4715(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIamV1AuditLogConfig = 0; +api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { + final o = api.GoogleIamV1AuditLogConfig(); + buildCounterGoogleIamV1AuditLogConfig++; + if (buildCounterGoogleIamV1AuditLogConfig < 3) { + o.exemptedMembers = buildUnnamed4715(); + o.logType = 'foo'; + } + buildCounterGoogleIamV1AuditLogConfig--; + return o; +} + +void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { + buildCounterGoogleIamV1AuditLogConfig++; + if (buildCounterGoogleIamV1AuditLogConfig < 3) { + checkUnnamed4715(o.exemptedMembers!); + unittest.expect( + o.logType!, + unittest.equals('foo'), + ); + } + buildCounterGoogleIamV1AuditLogConfig--; +} + +core.List buildUnnamed4716() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4716(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIamV1Binding = 0; +api.GoogleIamV1Binding buildGoogleIamV1Binding() { + final o = api.GoogleIamV1Binding(); + buildCounterGoogleIamV1Binding++; + if (buildCounterGoogleIamV1Binding < 3) { + o.condition = buildExpr(); + o.members = buildUnnamed4716(); + o.role = 'foo'; + } + buildCounterGoogleIamV1Binding--; + return o; +} + +void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { + buildCounterGoogleIamV1Binding++; + if (buildCounterGoogleIamV1Binding < 3) { + checkExpr(o.condition!); + checkUnnamed4716(o.members!); + unittest.expect( + o.role!, + unittest.equals('foo'), + ); + } + buildCounterGoogleIamV1Binding--; +} + +core.List buildUnnamed4717() => [ + buildGoogleIamV1AuditConfig(), + buildGoogleIamV1AuditConfig(), + ]; + +void checkUnnamed4717(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleIamV1AuditConfig(o[0]); + checkGoogleIamV1AuditConfig(o[1]); +} + +core.List buildUnnamed4718() => [ + buildGoogleIamV1Binding(), + buildGoogleIamV1Binding(), + ]; + +void checkUnnamed4718(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleIamV1Binding(o[0]); + checkGoogleIamV1Binding(o[1]); +} + +core.int buildCounterGoogleIamV1Policy = 0; +api.GoogleIamV1Policy buildGoogleIamV1Policy() { + final o = api.GoogleIamV1Policy(); + buildCounterGoogleIamV1Policy++; + if (buildCounterGoogleIamV1Policy < 3) { + o.auditConfigs = buildUnnamed4717(); + o.bindings = buildUnnamed4718(); + o.etag = 'foo'; + o.version = 42; + } + buildCounterGoogleIamV1Policy--; + return o; +} + +void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { + buildCounterGoogleIamV1Policy++; + if (buildCounterGoogleIamV1Policy < 3) { + checkUnnamed4717(o.auditConfigs!); + checkUnnamed4718(o.bindings!); + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); + unittest.expect( + o.version!, + unittest.equals(42), + ); + } + buildCounterGoogleIamV1Policy--; +} + +core.int buildCounterGoogleIamV1SetIamPolicyRequest = 0; +api.GoogleIamV1SetIamPolicyRequest buildGoogleIamV1SetIamPolicyRequest() { + final o = api.GoogleIamV1SetIamPolicyRequest(); + buildCounterGoogleIamV1SetIamPolicyRequest++; + if (buildCounterGoogleIamV1SetIamPolicyRequest < 3) { + o.policy = buildGoogleIamV1Policy(); + o.updateMask = 'foo'; + } + buildCounterGoogleIamV1SetIamPolicyRequest--; + return o; +} + +void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { + buildCounterGoogleIamV1SetIamPolicyRequest++; + if (buildCounterGoogleIamV1SetIamPolicyRequest < 3) { + checkGoogleIamV1Policy(o.policy!); + unittest.expect( + o.updateMask!, + unittest.equals('foo'), + ); + } + buildCounterGoogleIamV1SetIamPolicyRequest--; +} + +core.List buildUnnamed4719() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4719(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIamV1TestIamPermissionsRequest = 0; +api.GoogleIamV1TestIamPermissionsRequest + buildGoogleIamV1TestIamPermissionsRequest() { + final o = api.GoogleIamV1TestIamPermissionsRequest(); + buildCounterGoogleIamV1TestIamPermissionsRequest++; + if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { + o.permissions = buildUnnamed4719(); + } + buildCounterGoogleIamV1TestIamPermissionsRequest--; + return o; +} + +void checkGoogleIamV1TestIamPermissionsRequest( + api.GoogleIamV1TestIamPermissionsRequest o) { + buildCounterGoogleIamV1TestIamPermissionsRequest++; + if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { + checkUnnamed4719(o.permissions!); + } + buildCounterGoogleIamV1TestIamPermissionsRequest--; +} + +core.List buildUnnamed4720() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4720(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIamV1TestIamPermissionsResponse = 0; +api.GoogleIamV1TestIamPermissionsResponse + buildGoogleIamV1TestIamPermissionsResponse() { + final o = api.GoogleIamV1TestIamPermissionsResponse(); + buildCounterGoogleIamV1TestIamPermissionsResponse++; + if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { + o.permissions = buildUnnamed4720(); + } + buildCounterGoogleIamV1TestIamPermissionsResponse--; + return o; +} + +void checkGoogleIamV1TestIamPermissionsResponse( + api.GoogleIamV1TestIamPermissionsResponse o) { + buildCounterGoogleIamV1TestIamPermissionsResponse++; + if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { + checkUnnamed4720(o.permissions!); + } + buildCounterGoogleIamV1TestIamPermissionsResponse--; +} + +core.int buildCounterHttpHeaderMatch = 0; +api.HttpHeaderMatch buildHttpHeaderMatch() { + final o = api.HttpHeaderMatch(); + buildCounterHttpHeaderMatch++; + if (buildCounterHttpHeaderMatch < 3) { + o.headerName = 'foo'; + o.regexMatch = 'foo'; + } + buildCounterHttpHeaderMatch--; + return o; +} + +void checkHttpHeaderMatch(api.HttpHeaderMatch o) { + buildCounterHttpHeaderMatch++; + if (buildCounterHttpHeaderMatch < 3) { + unittest.expect( + o.headerName!, + unittest.equals('foo'), + ); + unittest.expect( + o.regexMatch!, + unittest.equals('foo'), + ); + } + buildCounterHttpHeaderMatch--; +} + +core.List buildUnnamed4721() => [ + buildAuthorizationPolicy(), + buildAuthorizationPolicy(), + ]; + +void checkUnnamed4721(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAuthorizationPolicy(o[0]); + checkAuthorizationPolicy(o[1]); +} + +core.int buildCounterListAuthorizationPoliciesResponse = 0; +api.ListAuthorizationPoliciesResponse buildListAuthorizationPoliciesResponse() { + final o = api.ListAuthorizationPoliciesResponse(); + buildCounterListAuthorizationPoliciesResponse++; + if (buildCounterListAuthorizationPoliciesResponse < 3) { + o.authorizationPolicies = buildUnnamed4721(); + o.nextPageToken = 'foo'; + } + buildCounterListAuthorizationPoliciesResponse--; + return o; +} + +void checkListAuthorizationPoliciesResponse( + api.ListAuthorizationPoliciesResponse o) { + buildCounterListAuthorizationPoliciesResponse++; + if (buildCounterListAuthorizationPoliciesResponse < 3) { + checkUnnamed4721(o.authorizationPolicies!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListAuthorizationPoliciesResponse--; +} + +core.List buildUnnamed4722() => [ + buildClientTlsPolicy(), + buildClientTlsPolicy(), + ]; + +void checkUnnamed4722(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkClientTlsPolicy(o[0]); + checkClientTlsPolicy(o[1]); +} + +core.int buildCounterListClientTlsPoliciesResponse = 0; +api.ListClientTlsPoliciesResponse buildListClientTlsPoliciesResponse() { + final o = api.ListClientTlsPoliciesResponse(); + buildCounterListClientTlsPoliciesResponse++; + if (buildCounterListClientTlsPoliciesResponse < 3) { + o.clientTlsPolicies = buildUnnamed4722(); + o.nextPageToken = 'foo'; + } + buildCounterListClientTlsPoliciesResponse--; + return o; +} + +void checkListClientTlsPoliciesResponse(api.ListClientTlsPoliciesResponse o) { + buildCounterListClientTlsPoliciesResponse++; + if (buildCounterListClientTlsPoliciesResponse < 3) { + checkUnnamed4722(o.clientTlsPolicies!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListClientTlsPoliciesResponse--; +} + +core.List buildUnnamed4723() => [ + buildLocation(), + buildLocation(), + ]; + +void checkUnnamed4723(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkLocation(o[0]); + checkLocation(o[1]); +} + +core.int buildCounterListLocationsResponse = 0; +api.ListLocationsResponse buildListLocationsResponse() { + final o = api.ListLocationsResponse(); + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + o.locations = buildUnnamed4723(); + o.nextPageToken = 'foo'; + } + buildCounterListLocationsResponse--; + return o; +} + +void checkListLocationsResponse(api.ListLocationsResponse o) { + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + checkUnnamed4723(o.locations!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListLocationsResponse--; +} + +core.List buildUnnamed4724() => [ + buildOperation(), + buildOperation(), + ]; + +void checkUnnamed4724(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkOperation(o[0]); + checkOperation(o[1]); +} + +core.int buildCounterListOperationsResponse = 0; +api.ListOperationsResponse buildListOperationsResponse() { + final o = api.ListOperationsResponse(); + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed4724(); + } + buildCounterListOperationsResponse--; + return o; +} + +void checkListOperationsResponse(api.ListOperationsResponse o) { + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed4724(o.operations!); + } + buildCounterListOperationsResponse--; +} + +core.List buildUnnamed4725() => [ + buildServerTlsPolicy(), + buildServerTlsPolicy(), + ]; + +void checkUnnamed4725(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkServerTlsPolicy(o[0]); + checkServerTlsPolicy(o[1]); +} + +core.int buildCounterListServerTlsPoliciesResponse = 0; +api.ListServerTlsPoliciesResponse buildListServerTlsPoliciesResponse() { + final o = api.ListServerTlsPoliciesResponse(); + buildCounterListServerTlsPoliciesResponse++; + if (buildCounterListServerTlsPoliciesResponse < 3) { + o.nextPageToken = 'foo'; + o.serverTlsPolicies = buildUnnamed4725(); + } + buildCounterListServerTlsPoliciesResponse--; + return o; +} + +void checkListServerTlsPoliciesResponse(api.ListServerTlsPoliciesResponse o) { + buildCounterListServerTlsPoliciesResponse++; + if (buildCounterListServerTlsPoliciesResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed4725(o.serverTlsPolicies!); + } + buildCounterListServerTlsPoliciesResponse--; +} + +core.Map buildUnnamed4726() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed4726(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed4727() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed4727(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterLocation = 0; +api.Location buildLocation() { + final o = api.Location(); + buildCounterLocation++; + if (buildCounterLocation < 3) { + o.displayName = 'foo'; + o.labels = buildUnnamed4726(); + o.locationId = 'foo'; + o.metadata = buildUnnamed4727(); + o.name = 'foo'; + } + buildCounterLocation--; + return o; +} + +void checkLocation(api.Location o) { + buildCounterLocation++; + if (buildCounterLocation < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed4726(o.labels!); + unittest.expect( + o.locationId!, + unittest.equals('foo'), + ); + checkUnnamed4727(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterLocation--; +} + +core.List buildUnnamed4728() => [ + buildValidationCA(), + buildValidationCA(), + ]; + +void checkUnnamed4728(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkValidationCA(o[0]); + checkValidationCA(o[1]); +} + +core.int buildCounterMTLSPolicy = 0; +api.MTLSPolicy buildMTLSPolicy() { + final o = api.MTLSPolicy(); + buildCounterMTLSPolicy++; + if (buildCounterMTLSPolicy < 3) { + o.clientValidationCa = buildUnnamed4728(); + } + buildCounterMTLSPolicy--; + return o; +} + +void checkMTLSPolicy(api.MTLSPolicy o) { + buildCounterMTLSPolicy++; + if (buildCounterMTLSPolicy < 3) { + checkUnnamed4728(o.clientValidationCa!); + } + buildCounterMTLSPolicy--; +} + +core.Map buildUnnamed4729() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed4729(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted3 = (o['x']!) as core.Map; + unittest.expect(casted3, unittest.hasLength(3)); + unittest.expect( + casted3['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted3['bool'], + unittest.equals(true), + ); + unittest.expect( + casted3['string'], + unittest.equals('foo'), + ); + var casted4 = (o['y']!) as core.Map; + unittest.expect(casted4, unittest.hasLength(3)); + unittest.expect( + casted4['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted4['bool'], + unittest.equals(true), + ); + unittest.expect( + casted4['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed4730() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed4730(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterOperation = 0; +api.Operation buildOperation() { + final o = api.Operation(); + buildCounterOperation++; + if (buildCounterOperation < 3) { + o.done = true; + o.error = buildStatus(); + o.metadata = buildUnnamed4729(); + o.name = 'foo'; + o.response = buildUnnamed4730(); + } + buildCounterOperation--; + return o; +} + +void checkOperation(api.Operation o) { + buildCounterOperation++; + if (buildCounterOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkStatus(o.error!); + checkUnnamed4729(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed4730(o.response!); + } + buildCounterOperation--; +} + +core.int buildCounterOperationMetadata = 0; +api.OperationMetadata buildOperationMetadata() { + final o = api.OperationMetadata(); + buildCounterOperationMetadata++; + if (buildCounterOperationMetadata < 3) { + o.apiVersion = 'foo'; + o.createTime = 'foo'; + o.endTime = 'foo'; + o.requestedCancellation = true; + o.statusMessage = 'foo'; + o.target = 'foo'; + o.verb = 'foo'; + } + buildCounterOperationMetadata--; + return o; +} + +void checkOperationMetadata(api.OperationMetadata o) { + buildCounterOperationMetadata++; + if (buildCounterOperationMetadata < 3) { + unittest.expect( + o.apiVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect(o.requestedCancellation!, unittest.isTrue); + unittest.expect( + o.statusMessage!, + unittest.equals('foo'), + ); + unittest.expect( + o.target!, + unittest.equals('foo'), + ); + unittest.expect( + o.verb!, + unittest.equals('foo'), + ); + } + buildCounterOperationMetadata--; +} + +core.List buildUnnamed4731() => [ + buildDestination(), + buildDestination(), + ]; + +void checkUnnamed4731(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkDestination(o[0]); + checkDestination(o[1]); +} + +core.List buildUnnamed4732() => [ + buildSource(), + buildSource(), + ]; + +void checkUnnamed4732(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkSource(o[0]); + checkSource(o[1]); +} + +core.int buildCounterRule = 0; +api.Rule buildRule() { + final o = api.Rule(); + buildCounterRule++; + if (buildCounterRule < 3) { + o.destinations = buildUnnamed4731(); + o.sources = buildUnnamed4732(); + } + buildCounterRule--; + return o; +} + +void checkRule(api.Rule o) { + buildCounterRule++; + if (buildCounterRule < 3) { + checkUnnamed4731(o.destinations!); + checkUnnamed4732(o.sources!); + } + buildCounterRule--; +} + +core.Map buildUnnamed4733() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed4733(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterServerTlsPolicy = 0; +api.ServerTlsPolicy buildServerTlsPolicy() { + final o = api.ServerTlsPolicy(); + buildCounterServerTlsPolicy++; + if (buildCounterServerTlsPolicy < 3) { + o.allowOpen = true; + o.createTime = 'foo'; + o.description = 'foo'; + o.labels = buildUnnamed4733(); + o.mtlsPolicy = buildMTLSPolicy(); + o.name = 'foo'; + o.serverCertificate = + buildGoogleCloudNetworksecurityV1CertificateProvider(); + o.updateTime = 'foo'; + } + buildCounterServerTlsPolicy--; + return o; +} + +void checkServerTlsPolicy(api.ServerTlsPolicy o) { + buildCounterServerTlsPolicy++; + if (buildCounterServerTlsPolicy < 3) { + unittest.expect(o.allowOpen!, unittest.isTrue); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkUnnamed4733(o.labels!); + checkMTLSPolicy(o.mtlsPolicy!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkGoogleCloudNetworksecurityV1CertificateProvider(o.serverCertificate!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterServerTlsPolicy--; +} + +core.List buildUnnamed4734() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4734(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed4735() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4735(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterSource = 0; +api.Source buildSource() { + final o = api.Source(); + buildCounterSource++; + if (buildCounterSource < 3) { + o.ipBlocks = buildUnnamed4734(); + o.principals = buildUnnamed4735(); + } + buildCounterSource--; + return o; +} + +void checkSource(api.Source o) { + buildCounterSource++; + if (buildCounterSource < 3) { + checkUnnamed4734(o.ipBlocks!); + checkUnnamed4735(o.principals!); + } + buildCounterSource--; +} + +core.Map buildUnnamed4736() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed4736(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); + unittest.expect( + casted7['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted7['bool'], + unittest.equals(true), + ); + unittest.expect( + casted7['string'], + unittest.equals('foo'), + ); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); + unittest.expect( + casted8['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted8['bool'], + unittest.equals(true), + ); + unittest.expect( + casted8['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed4737() => [ + buildUnnamed4736(), + buildUnnamed4736(), + ]; + +void checkUnnamed4737(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed4736(o[0]); + checkUnnamed4736(o[1]); +} + +core.int buildCounterStatus = 0; +api.Status buildStatus() { + final o = api.Status(); + buildCounterStatus++; + if (buildCounterStatus < 3) { + o.code = 42; + o.details = buildUnnamed4737(); + o.message = 'foo'; + } + buildCounterStatus--; + return o; +} + +void checkStatus(api.Status o) { + buildCounterStatus++; + if (buildCounterStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed4737(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterStatus--; +} + +core.int buildCounterValidationCA = 0; +api.ValidationCA buildValidationCA() { + final o = api.ValidationCA(); + buildCounterValidationCA++; + if (buildCounterValidationCA < 3) { + o.certificateProviderInstance = buildCertificateProviderInstance(); + o.grpcEndpoint = buildGoogleCloudNetworksecurityV1GrpcEndpoint(); + } + buildCounterValidationCA--; + return o; +} + +void checkValidationCA(api.ValidationCA o) { + buildCounterValidationCA++; + if (buildCounterValidationCA < 3) { + checkCertificateProviderInstance(o.certificateProviderInstance!); + checkGoogleCloudNetworksecurityV1GrpcEndpoint(o.grpcEndpoint!); + } + buildCounterValidationCA--; +} + +void main() { + unittest.group('obj-schema-AuthorizationPolicy', () { + unittest.test('to-json--from-json', () async { + final o = buildAuthorizationPolicy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AuthorizationPolicy.fromJson( + oJson as core.Map); + checkAuthorizationPolicy(od); + }); + }); + + unittest.group('obj-schema-CancelOperationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCancelOperationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CancelOperationRequest.fromJson( + oJson as core.Map); + checkCancelOperationRequest(od); + }); + }); + + unittest.group('obj-schema-CertificateProviderInstance', () { + unittest.test('to-json--from-json', () async { + final o = buildCertificateProviderInstance(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CertificateProviderInstance.fromJson( + oJson as core.Map); + checkCertificateProviderInstance(od); + }); + }); + + unittest.group('obj-schema-ClientTlsPolicy', () { + unittest.test('to-json--from-json', () async { + final o = buildClientTlsPolicy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ClientTlsPolicy.fromJson( + oJson as core.Map); + checkClientTlsPolicy(od); + }); + }); + + unittest.group('obj-schema-Destination', () { + unittest.test('to-json--from-json', () async { + final o = buildDestination(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Destination.fromJson( + oJson as core.Map); + checkDestination(od); + }); + }); + + unittest.group('obj-schema-Empty', () { + unittest.test('to-json--from-json', () async { + final o = buildEmpty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Empty.fromJson(oJson as core.Map); + checkEmpty(od); + }); + }); + + unittest.group('obj-schema-Expr', () { + unittest.test('to-json--from-json', () async { + final o = buildExpr(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Expr.fromJson(oJson as core.Map); + checkExpr(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudNetworksecurityV1CertificateProvider', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudNetworksecurityV1CertificateProvider(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudNetworksecurityV1CertificateProvider.fromJson( + oJson as core.Map); + checkGoogleCloudNetworksecurityV1CertificateProvider(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudNetworksecurityV1GrpcEndpoint', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudNetworksecurityV1GrpcEndpoint(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudNetworksecurityV1GrpcEndpoint.fromJson( + oJson as core.Map); + checkGoogleCloudNetworksecurityV1GrpcEndpoint(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1AuditConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1AuditConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1AuditConfig.fromJson( + oJson as core.Map); + checkGoogleIamV1AuditConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1AuditLogConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1AuditLogConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1AuditLogConfig.fromJson( + oJson as core.Map); + checkGoogleIamV1AuditLogConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1Binding', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1Binding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1Binding.fromJson( + oJson as core.Map); + checkGoogleIamV1Binding(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1Policy', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1Policy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1Policy.fromJson( + oJson as core.Map); + checkGoogleIamV1Policy(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1SetIamPolicyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1SetIamPolicyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1SetIamPolicyRequest.fromJson( + oJson as core.Map); + checkGoogleIamV1SetIamPolicyRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1TestIamPermissionsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1TestIamPermissionsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1TestIamPermissionsRequest.fromJson( + oJson as core.Map); + checkGoogleIamV1TestIamPermissionsRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleIamV1TestIamPermissionsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1TestIamPermissionsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1TestIamPermissionsResponse.fromJson( + oJson as core.Map); + checkGoogleIamV1TestIamPermissionsResponse(od); + }); + }); + + unittest.group('obj-schema-HttpHeaderMatch', () { + unittest.test('to-json--from-json', () async { + final o = buildHttpHeaderMatch(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.HttpHeaderMatch.fromJson( + oJson as core.Map); + checkHttpHeaderMatch(od); + }); + }); + + unittest.group('obj-schema-ListAuthorizationPoliciesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListAuthorizationPoliciesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListAuthorizationPoliciesResponse.fromJson( + oJson as core.Map); + checkListAuthorizationPoliciesResponse(od); + }); + }); + + unittest.group('obj-schema-ListClientTlsPoliciesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListClientTlsPoliciesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListClientTlsPoliciesResponse.fromJson( + oJson as core.Map); + checkListClientTlsPoliciesResponse(od); + }); + }); + + unittest.group('obj-schema-ListLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListLocationsResponse.fromJson( + oJson as core.Map); + checkListLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-ListOperationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListOperationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListOperationsResponse.fromJson( + oJson as core.Map); + checkListOperationsResponse(od); + }); + }); + + unittest.group('obj-schema-ListServerTlsPoliciesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListServerTlsPoliciesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListServerTlsPoliciesResponse.fromJson( + oJson as core.Map); + checkListServerTlsPoliciesResponse(od); + }); + }); + + unittest.group('obj-schema-Location', () { + unittest.test('to-json--from-json', () async { + final o = buildLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Location.fromJson(oJson as core.Map); + checkLocation(od); + }); + }); + + unittest.group('obj-schema-MTLSPolicy', () { + unittest.test('to-json--from-json', () async { + final o = buildMTLSPolicy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.MTLSPolicy.fromJson(oJson as core.Map); + checkMTLSPolicy(od); + }); + }); + + unittest.group('obj-schema-Operation', () { + unittest.test('to-json--from-json', () async { + final o = buildOperation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Operation.fromJson(oJson as core.Map); + checkOperation(od); + }); + }); + + unittest.group('obj-schema-OperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OperationMetadata.fromJson( + oJson as core.Map); + checkOperationMetadata(od); + }); + }); + + unittest.group('obj-schema-Rule', () { + unittest.test('to-json--from-json', () async { + final o = buildRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Rule.fromJson(oJson as core.Map); + checkRule(od); + }); + }); + + unittest.group('obj-schema-ServerTlsPolicy', () { + unittest.test('to-json--from-json', () async { + final o = buildServerTlsPolicy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ServerTlsPolicy.fromJson( + oJson as core.Map); + checkServerTlsPolicy(od); + }); + }); + + unittest.group('obj-schema-Source', () { + unittest.test('to-json--from-json', () async { + final o = buildSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Source.fromJson(oJson as core.Map); + checkSource(od); + }); + }); + + unittest.group('obj-schema-Status', () { + unittest.test('to-json--from-json', () async { + final o = buildStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Status.fromJson(oJson as core.Map); + checkStatus(od); + }); + }); + + unittest.group('obj-schema-ValidationCA', () { + unittest.test('to-json--from-json', () async { + final o = buildValidationCA(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ValidationCA.fromJson( + oJson as core.Map); + checkValidationCA(od); + }); + }); + + unittest.group('resource-ProjectsLocationsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.NetworkSecurityApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkLocation(response as api.Location); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.NetworkSecurityApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListLocationsResponse(response as api.ListLocationsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsAuthorizationPoliciesResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_request = buildAuthorizationPolicy(); + final arg_parent = 'foo'; + final arg_authorizationPolicyId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.AuthorizationPolicy.fromJson( + json as core.Map); + checkAuthorizationPolicy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['authorizationPolicyId']!.first, + unittest.equals(arg_authorizationPolicyId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + authorizationPolicyId: arg_authorizationPolicyId, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildAuthorizationPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkAuthorizationPolicy(response as api.AuthorizationPolicy); + }); + + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleIamV1Policy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkGoogleIamV1Policy(response as api.GoogleIamV1Policy); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildListAuthorizationPoliciesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListAuthorizationPoliciesResponse( + response as api.ListAuthorizationPoliciesResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_request = buildAuthorizationPolicy(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.AuthorizationPolicy.fromJson( + json as core.Map); + checkAuthorizationPolicy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_request = buildGoogleIamV1SetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleIamV1SetIamPolicyRequest.fromJson( + json as core.Map); + checkGoogleIamV1SetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleIamV1Policy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkGoogleIamV1Policy(response as api.GoogleIamV1Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.authorizationPolicies; + final arg_request = buildGoogleIamV1TestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleIamV1TestIamPermissionsRequest.fromJson( + json as core.Map); + checkGoogleIamV1TestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleIamV1TestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkGoogleIamV1TestIamPermissionsResponse( + response as api.GoogleIamV1TestIamPermissionsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsClientTlsPoliciesResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_request = buildClientTlsPolicy(); + final arg_parent = 'foo'; + final arg_clientTlsPolicyId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ClientTlsPolicy.fromJson( + json as core.Map); + checkClientTlsPolicy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['clientTlsPolicyId']!.first, + unittest.equals(arg_clientTlsPolicyId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + clientTlsPolicyId: arg_clientTlsPolicyId, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildClientTlsPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkClientTlsPolicy(response as api.ClientTlsPolicy); + }); + + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleIamV1Policy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkGoogleIamV1Policy(response as api.GoogleIamV1Policy); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListClientTlsPoliciesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListClientTlsPoliciesResponse( + response as api.ListClientTlsPoliciesResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_request = buildClientTlsPolicy(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ClientTlsPolicy.fromJson( + json as core.Map); + checkClientTlsPolicy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_request = buildGoogleIamV1SetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleIamV1SetIamPolicyRequest.fromJson( + json as core.Map); + checkGoogleIamV1SetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleIamV1Policy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkGoogleIamV1Policy(response as api.GoogleIamV1Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.clientTlsPolicies; + final arg_request = buildGoogleIamV1TestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleIamV1TestIamPermissionsRequest.fromJson( + json as core.Map); + checkGoogleIamV1TestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleIamV1TestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkGoogleIamV1TestIamPermissionsResponse( + response as api.GoogleIamV1TestIamPermissionsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsOperationsResource', () { + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = api.NetworkSecurityApi(mock).projects.locations.operations; + final arg_request = buildCancelOperationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CancelOperationRequest.fromJson( + json as core.Map); + checkCancelOperationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.cancel(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.NetworkSecurityApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.NetworkSecurityApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.NetworkSecurityApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListOperationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListOperationsResponse(response as api.ListOperationsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsServerTlsPoliciesResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_request = buildServerTlsPolicy(); + final arg_parent = 'foo'; + final arg_serverTlsPolicyId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ServerTlsPolicy.fromJson( + json as core.Map); + checkServerTlsPolicy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['serverTlsPolicyId']!.first, + unittest.equals(arg_serverTlsPolicyId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + serverTlsPolicyId: arg_serverTlsPolicyId, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildServerTlsPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkServerTlsPolicy(response as api.ServerTlsPolicy); + }); + + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleIamV1Policy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkGoogleIamV1Policy(response as api.GoogleIamV1Policy); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListServerTlsPoliciesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListServerTlsPoliciesResponse( + response as api.ListServerTlsPoliciesResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_request = buildServerTlsPolicy(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ServerTlsPolicy.fromJson( + json as core.Map); + checkServerTlsPolicy(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_request = buildGoogleIamV1SetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleIamV1SetIamPolicyRequest.fromJson( + json as core.Map); + checkGoogleIamV1SetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleIamV1Policy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkGoogleIamV1Policy(response as api.GoogleIamV1Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = + api.NetworkSecurityApi(mock).projects.locations.serverTlsPolicies; + final arg_request = buildGoogleIamV1TestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleIamV1TestIamPermissionsRequest.fromJson( + json as core.Map); + checkGoogleIamV1TestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleIamV1TestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkGoogleIamV1TestIamPermissionsResponse( + response as api.GoogleIamV1TestIamPermissionsResponse); + }); + }); +} diff --git a/generated/googleapis/test/networkservices/v1_test.dart b/generated/googleapis/test/networkservices/v1_test.dart new file mode 100644 index 000000000..cf6ead752 --- /dev/null +++ b/generated/googleapis/test/networkservices/v1_test.dart @@ -0,0 +1,1849 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/networkservices/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.List buildUnnamed599() => [ + buildAuditLogConfig(), + buildAuditLogConfig(), + ]; + +void checkUnnamed599(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAuditLogConfig(o[0]); + checkAuditLogConfig(o[1]); +} + +core.int buildCounterAuditConfig = 0; +api.AuditConfig buildAuditConfig() { + final o = api.AuditConfig(); + buildCounterAuditConfig++; + if (buildCounterAuditConfig < 3) { + o.auditLogConfigs = buildUnnamed599(); + o.service = 'foo'; + } + buildCounterAuditConfig--; + return o; +} + +void checkAuditConfig(api.AuditConfig o) { + buildCounterAuditConfig++; + if (buildCounterAuditConfig < 3) { + checkUnnamed599(o.auditLogConfigs!); + unittest.expect( + o.service!, + unittest.equals('foo'), + ); + } + buildCounterAuditConfig--; +} + +core.List buildUnnamed600() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed600(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterAuditLogConfig = 0; +api.AuditLogConfig buildAuditLogConfig() { + final o = api.AuditLogConfig(); + buildCounterAuditLogConfig++; + if (buildCounterAuditLogConfig < 3) { + o.exemptedMembers = buildUnnamed600(); + o.logType = 'foo'; + } + buildCounterAuditLogConfig--; + return o; +} + +void checkAuditLogConfig(api.AuditLogConfig o) { + buildCounterAuditLogConfig++; + if (buildCounterAuditLogConfig < 3) { + checkUnnamed600(o.exemptedMembers!); + unittest.expect( + o.logType!, + unittest.equals('foo'), + ); + } + buildCounterAuditLogConfig--; +} + +core.List buildUnnamed601() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed601(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterBinding = 0; +api.Binding buildBinding() { + final o = api.Binding(); + buildCounterBinding++; + if (buildCounterBinding < 3) { + o.condition = buildExpr(); + o.members = buildUnnamed601(); + o.role = 'foo'; + } + buildCounterBinding--; + return o; +} + +void checkBinding(api.Binding o) { + buildCounterBinding++; + if (buildCounterBinding < 3) { + checkExpr(o.condition!); + checkUnnamed601(o.members!); + unittest.expect( + o.role!, + unittest.equals('foo'), + ); + } + buildCounterBinding--; +} + +core.int buildCounterCancelOperationRequest = 0; +api.CancelOperationRequest buildCancelOperationRequest() { + final o = api.CancelOperationRequest(); + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; + return o; +} + +void checkCancelOperationRequest(api.CancelOperationRequest o) { + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; +} + +core.int buildCounterEmpty = 0; +api.Empty buildEmpty() { + final o = api.Empty(); + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; + return o; +} + +void checkEmpty(api.Empty o) { + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; +} + +core.int buildCounterExpr = 0; +api.Expr buildExpr() { + final o = api.Expr(); + buildCounterExpr++; + if (buildCounterExpr < 3) { + o.description = 'foo'; + o.expression = 'foo'; + o.location = 'foo'; + o.title = 'foo'; + } + buildCounterExpr--; + return o; +} + +void checkExpr(api.Expr o) { + buildCounterExpr++; + if (buildCounterExpr < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.expression!, + unittest.equals('foo'), + ); + unittest.expect( + o.location!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + } + buildCounterExpr--; +} + +core.List buildUnnamed602() => [ + buildLocation(), + buildLocation(), + ]; + +void checkUnnamed602(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkLocation(o[0]); + checkLocation(o[1]); +} + +core.int buildCounterListLocationsResponse = 0; +api.ListLocationsResponse buildListLocationsResponse() { + final o = api.ListLocationsResponse(); + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + o.locations = buildUnnamed602(); + o.nextPageToken = 'foo'; + } + buildCounterListLocationsResponse--; + return o; +} + +void checkListLocationsResponse(api.ListLocationsResponse o) { + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + checkUnnamed602(o.locations!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListLocationsResponse--; +} + +core.List buildUnnamed603() => [ + buildOperation(), + buildOperation(), + ]; + +void checkUnnamed603(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkOperation(o[0]); + checkOperation(o[1]); +} + +core.int buildCounterListOperationsResponse = 0; +api.ListOperationsResponse buildListOperationsResponse() { + final o = api.ListOperationsResponse(); + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed603(); + } + buildCounterListOperationsResponse--; + return o; +} + +void checkListOperationsResponse(api.ListOperationsResponse o) { + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed603(o.operations!); + } + buildCounterListOperationsResponse--; +} + +core.Map buildUnnamed604() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed604(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed605() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed605(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterLocation = 0; +api.Location buildLocation() { + final o = api.Location(); + buildCounterLocation++; + if (buildCounterLocation < 3) { + o.displayName = 'foo'; + o.labels = buildUnnamed604(); + o.locationId = 'foo'; + o.metadata = buildUnnamed605(); + o.name = 'foo'; + } + buildCounterLocation--; + return o; +} + +void checkLocation(api.Location o) { + buildCounterLocation++; + if (buildCounterLocation < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed604(o.labels!); + unittest.expect( + o.locationId!, + unittest.equals('foo'), + ); + checkUnnamed605(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterLocation--; +} + +core.Map buildUnnamed606() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed606(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted3 = (o['x']!) as core.Map; + unittest.expect(casted3, unittest.hasLength(3)); + unittest.expect( + casted3['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted3['bool'], + unittest.equals(true), + ); + unittest.expect( + casted3['string'], + unittest.equals('foo'), + ); + var casted4 = (o['y']!) as core.Map; + unittest.expect(casted4, unittest.hasLength(3)); + unittest.expect( + casted4['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted4['bool'], + unittest.equals(true), + ); + unittest.expect( + casted4['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed607() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed607(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterOperation = 0; +api.Operation buildOperation() { + final o = api.Operation(); + buildCounterOperation++; + if (buildCounterOperation < 3) { + o.done = true; + o.error = buildStatus(); + o.metadata = buildUnnamed606(); + o.name = 'foo'; + o.response = buildUnnamed607(); + } + buildCounterOperation--; + return o; +} + +void checkOperation(api.Operation o) { + buildCounterOperation++; + if (buildCounterOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkStatus(o.error!); + checkUnnamed606(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed607(o.response!); + } + buildCounterOperation--; +} + +core.int buildCounterOperationMetadata = 0; +api.OperationMetadata buildOperationMetadata() { + final o = api.OperationMetadata(); + buildCounterOperationMetadata++; + if (buildCounterOperationMetadata < 3) { + o.apiVersion = 'foo'; + o.createTime = 'foo'; + o.endTime = 'foo'; + o.requestedCancellation = true; + o.statusMessage = 'foo'; + o.target = 'foo'; + o.verb = 'foo'; + } + buildCounterOperationMetadata--; + return o; +} + +void checkOperationMetadata(api.OperationMetadata o) { + buildCounterOperationMetadata++; + if (buildCounterOperationMetadata < 3) { + unittest.expect( + o.apiVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect(o.requestedCancellation!, unittest.isTrue); + unittest.expect( + o.statusMessage!, + unittest.equals('foo'), + ); + unittest.expect( + o.target!, + unittest.equals('foo'), + ); + unittest.expect( + o.verb!, + unittest.equals('foo'), + ); + } + buildCounterOperationMetadata--; +} + +core.List buildUnnamed608() => [ + buildAuditConfig(), + buildAuditConfig(), + ]; + +void checkUnnamed608(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAuditConfig(o[0]); + checkAuditConfig(o[1]); +} + +core.List buildUnnamed609() => [ + buildBinding(), + buildBinding(), + ]; + +void checkUnnamed609(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkBinding(o[0]); + checkBinding(o[1]); +} + +core.int buildCounterPolicy = 0; +api.Policy buildPolicy() { + final o = api.Policy(); + buildCounterPolicy++; + if (buildCounterPolicy < 3) { + o.auditConfigs = buildUnnamed608(); + o.bindings = buildUnnamed609(); + o.etag = 'foo'; + o.version = 42; + } + buildCounterPolicy--; + return o; +} + +void checkPolicy(api.Policy o) { + buildCounterPolicy++; + if (buildCounterPolicy < 3) { + checkUnnamed608(o.auditConfigs!); + checkUnnamed609(o.bindings!); + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); + unittest.expect( + o.version!, + unittest.equals(42), + ); + } + buildCounterPolicy--; +} + +core.int buildCounterSetIamPolicyRequest = 0; +api.SetIamPolicyRequest buildSetIamPolicyRequest() { + final o = api.SetIamPolicyRequest(); + buildCounterSetIamPolicyRequest++; + if (buildCounterSetIamPolicyRequest < 3) { + o.policy = buildPolicy(); + o.updateMask = 'foo'; + } + buildCounterSetIamPolicyRequest--; + return o; +} + +void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { + buildCounterSetIamPolicyRequest++; + if (buildCounterSetIamPolicyRequest < 3) { + checkPolicy(o.policy!); + unittest.expect( + o.updateMask!, + unittest.equals('foo'), + ); + } + buildCounterSetIamPolicyRequest--; +} + +core.Map buildUnnamed610() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed610(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); + unittest.expect( + casted7['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted7['bool'], + unittest.equals(true), + ); + unittest.expect( + casted7['string'], + unittest.equals('foo'), + ); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); + unittest.expect( + casted8['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted8['bool'], + unittest.equals(true), + ); + unittest.expect( + casted8['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed611() => [ + buildUnnamed610(), + buildUnnamed610(), + ]; + +void checkUnnamed611(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed610(o[0]); + checkUnnamed610(o[1]); +} + +core.int buildCounterStatus = 0; +api.Status buildStatus() { + final o = api.Status(); + buildCounterStatus++; + if (buildCounterStatus < 3) { + o.code = 42; + o.details = buildUnnamed611(); + o.message = 'foo'; + } + buildCounterStatus--; + return o; +} + +void checkStatus(api.Status o) { + buildCounterStatus++; + if (buildCounterStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed611(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterStatus--; +} + +core.List buildUnnamed612() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed612(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterTestIamPermissionsRequest = 0; +api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { + final o = api.TestIamPermissionsRequest(); + buildCounterTestIamPermissionsRequest++; + if (buildCounterTestIamPermissionsRequest < 3) { + o.permissions = buildUnnamed612(); + } + buildCounterTestIamPermissionsRequest--; + return o; +} + +void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { + buildCounterTestIamPermissionsRequest++; + if (buildCounterTestIamPermissionsRequest < 3) { + checkUnnamed612(o.permissions!); + } + buildCounterTestIamPermissionsRequest--; +} + +core.List buildUnnamed613() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed613(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterTestIamPermissionsResponse = 0; +api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { + final o = api.TestIamPermissionsResponse(); + buildCounterTestIamPermissionsResponse++; + if (buildCounterTestIamPermissionsResponse < 3) { + o.permissions = buildUnnamed613(); + } + buildCounterTestIamPermissionsResponse--; + return o; +} + +void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { + buildCounterTestIamPermissionsResponse++; + if (buildCounterTestIamPermissionsResponse < 3) { + checkUnnamed613(o.permissions!); + } + buildCounterTestIamPermissionsResponse--; +} + +void main() { + unittest.group('obj-schema-AuditConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildAuditConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AuditConfig.fromJson( + oJson as core.Map); + checkAuditConfig(od); + }); + }); + + unittest.group('obj-schema-AuditLogConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildAuditLogConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AuditLogConfig.fromJson( + oJson as core.Map); + checkAuditLogConfig(od); + }); + }); + + unittest.group('obj-schema-Binding', () { + unittest.test('to-json--from-json', () async { + final o = buildBinding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Binding.fromJson(oJson as core.Map); + checkBinding(od); + }); + }); + + unittest.group('obj-schema-CancelOperationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCancelOperationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CancelOperationRequest.fromJson( + oJson as core.Map); + checkCancelOperationRequest(od); + }); + }); + + unittest.group('obj-schema-Empty', () { + unittest.test('to-json--from-json', () async { + final o = buildEmpty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Empty.fromJson(oJson as core.Map); + checkEmpty(od); + }); + }); + + unittest.group('obj-schema-Expr', () { + unittest.test('to-json--from-json', () async { + final o = buildExpr(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Expr.fromJson(oJson as core.Map); + checkExpr(od); + }); + }); + + unittest.group('obj-schema-ListLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListLocationsResponse.fromJson( + oJson as core.Map); + checkListLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-ListOperationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListOperationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListOperationsResponse.fromJson( + oJson as core.Map); + checkListOperationsResponse(od); + }); + }); + + unittest.group('obj-schema-Location', () { + unittest.test('to-json--from-json', () async { + final o = buildLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Location.fromJson(oJson as core.Map); + checkLocation(od); + }); + }); + + unittest.group('obj-schema-Operation', () { + unittest.test('to-json--from-json', () async { + final o = buildOperation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Operation.fromJson(oJson as core.Map); + checkOperation(od); + }); + }); + + unittest.group('obj-schema-OperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OperationMetadata.fromJson( + oJson as core.Map); + checkOperationMetadata(od); + }); + }); + + unittest.group('obj-schema-Policy', () { + unittest.test('to-json--from-json', () async { + final o = buildPolicy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Policy.fromJson(oJson as core.Map); + checkPolicy(od); + }); + }); + + unittest.group('obj-schema-SetIamPolicyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildSetIamPolicyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SetIamPolicyRequest.fromJson( + oJson as core.Map); + checkSetIamPolicyRequest(od); + }); + }); + + unittest.group('obj-schema-Status', () { + unittest.test('to-json--from-json', () async { + final o = buildStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Status.fromJson(oJson as core.Map); + checkStatus(od); + }); + }); + + unittest.group('obj-schema-TestIamPermissionsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildTestIamPermissionsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.TestIamPermissionsRequest.fromJson( + oJson as core.Map); + checkTestIamPermissionsRequest(od); + }); + }); + + unittest.group('obj-schema-TestIamPermissionsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildTestIamPermissionsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.TestIamPermissionsResponse.fromJson( + oJson as core.Map); + checkTestIamPermissionsResponse(od); + }); + }); + + unittest.group('resource-ProjectsLocationsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.NetworkServicesApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkLocation(response as api.Location); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.NetworkServicesApi(mock).projects.locations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListLocationsResponse(response as api.ListLocationsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsEdgeCacheKeysetsResource', () { + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheKeysets; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheKeysets; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheKeysets; + final arg_request = buildTestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.TestIamPermissionsRequest.fromJson( + json as core.Map); + checkTestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildTestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkTestIamPermissionsResponse( + response as api.TestIamPermissionsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsEdgeCacheOriginsResource', () { + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheOrigins; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheOrigins; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheOrigins; + final arg_request = buildTestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.TestIamPermissionsRequest.fromJson( + json as core.Map); + checkTestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildTestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkTestIamPermissionsResponse( + response as api.TestIamPermissionsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsEdgeCacheServicesResource', () { + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheServices; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheServices; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--testIamPermissions', () async { + final mock = HttpServerMock(); + final res = + api.NetworkServicesApi(mock).projects.locations.edgeCacheServices; + final arg_request = buildTestIamPermissionsRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.TestIamPermissionsRequest.fromJson( + json as core.Map); + checkTestIamPermissionsRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildTestIamPermissionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.testIamPermissions(arg_request, arg_resource, + $fields: arg_$fields); + checkTestIamPermissionsResponse( + response as api.TestIamPermissionsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsOperationsResource', () { + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = api.NetworkServicesApi(mock).projects.locations.operations; + final arg_request = buildCancelOperationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CancelOperationRequest.fromJson( + json as core.Map); + checkCancelOperationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.cancel(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.NetworkServicesApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.NetworkServicesApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.NetworkServicesApi(mock).projects.locations.operations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListOperationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListOperationsResponse(response as api.ListOperationsResponse); + }); + }); +} diff --git a/generated/googleapis/test/notebooks/v1_test.dart b/generated/googleapis/test/notebooks/v1_test.dart index 8a7054d8e..ad025e14c 100644 --- a/generated/googleapis/test/notebooks/v1_test.dart +++ b/generated/googleapis/test/notebooks/v1_test.dart @@ -53,12 +53,12 @@ void checkAcceleratorConfig(api.AcceleratorConfig o) { buildCounterAcceleratorConfig--; } -core.List buildUnnamed6073() => [ +core.List buildUnnamed6140() => [ 'foo', 'foo', ]; -void checkUnnamed6073(core.List o) { +void checkUnnamed6140(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -76,7 +76,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed6073(); + o.members = buildUnnamed6140(); o.role = 'foo'; } buildCounterBinding--; @@ -87,7 +87,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed6073(o.members!); + checkUnnamed6140(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -138,23 +138,45 @@ void checkContainerImage(api.ContainerImage o) { buildCounterContainerImage--; } -core.List buildUnnamed6074() => [ +core.int buildCounterDataprocParameters = 0; +api.DataprocParameters buildDataprocParameters() { + final o = api.DataprocParameters(); + buildCounterDataprocParameters++; + if (buildCounterDataprocParameters < 3) { + o.cluster = 'foo'; + } + buildCounterDataprocParameters--; + return o; +} + +void checkDataprocParameters(api.DataprocParameters o) { + buildCounterDataprocParameters++; + if (buildCounterDataprocParameters < 3) { + unittest.expect( + o.cluster!, + unittest.equals('foo'), + ); + } + buildCounterDataprocParameters--; +} + +core.List buildUnnamed6141() => [ buildGuestOsFeature(), buildGuestOsFeature(), ]; -void checkUnnamed6074(core.List o) { +void checkUnnamed6141(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGuestOsFeature(o[0]); checkGuestOsFeature(o[1]); } -core.List buildUnnamed6075() => [ +core.List buildUnnamed6142() => [ 'foo', 'foo', ]; -void checkUnnamed6075(core.List o) { +void checkUnnamed6142(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -175,11 +197,11 @@ api.Disk buildDisk() { o.boot = true; o.deviceName = 'foo'; o.diskSizeGb = 'foo'; - o.guestOsFeatures = buildUnnamed6074(); + o.guestOsFeatures = buildUnnamed6141(); o.index = 'foo'; o.interface = 'foo'; o.kind = 'foo'; - o.licenses = buildUnnamed6075(); + o.licenses = buildUnnamed6142(); o.mode = 'foo'; o.source = 'foo'; o.type = 'foo'; @@ -201,7 +223,7 @@ void checkDisk(api.Disk o) { o.diskSizeGb!, unittest.equals('foo'), ); - checkUnnamed6074(o.guestOsFeatures!); + checkUnnamed6141(o.guestOsFeatures!); unittest.expect( o.index!, unittest.equals('foo'), @@ -214,7 +236,7 @@ void checkDisk(api.Disk o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed6075(o.licenses!); + checkUnnamed6142(o.licenses!); unittest.expect( o.mode!, unittest.equals('foo'), @@ -400,12 +422,12 @@ void checkExecution(api.Execution o) { buildCounterExecution--; } -core.Map buildUnnamed6076() => { +core.Map buildUnnamed6143() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6076(core.Map o) { +void checkUnnamed6143(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -424,8 +446,10 @@ api.ExecutionTemplate buildExecutionTemplate() { if (buildCounterExecutionTemplate < 3) { o.acceleratorConfig = buildSchedulerAcceleratorConfig(); o.containerImageUri = 'foo'; + o.dataprocParameters = buildDataprocParameters(); o.inputNotebookFile = 'foo'; - o.labels = buildUnnamed6076(); + o.jobType = 'foo'; + o.labels = buildUnnamed6143(); o.masterType = 'foo'; o.outputNotebookFolder = 'foo'; o.parameters = 'foo'; @@ -445,11 +469,16 @@ void checkExecutionTemplate(api.ExecutionTemplate o) { o.containerImageUri!, unittest.equals('foo'), ); + checkDataprocParameters(o.dataprocParameters!); unittest.expect( o.inputNotebookFile!, unittest.equals('foo'), ); - checkUnnamed6076(o.labels!); + unittest.expect( + o.jobType!, + unittest.equals('foo'), + ); + checkUnnamed6143(o.labels!); unittest.expect( o.masterType!, unittest.equals('foo'), @@ -515,12 +544,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.Map buildUnnamed6077() => { +core.Map buildUnnamed6144() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6077(core.Map o) { +void checkUnnamed6144(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -537,7 +566,7 @@ api.GetInstanceHealthResponse buildGetInstanceHealthResponse() { final o = api.GetInstanceHealthResponse(); buildCounterGetInstanceHealthResponse++; if (buildCounterGetInstanceHealthResponse < 3) { - o.healthInfo = buildUnnamed6077(); + o.healthInfo = buildUnnamed6144(); o.healthState = 'foo'; } buildCounterGetInstanceHealthResponse--; @@ -547,7 +576,7 @@ api.GetInstanceHealthResponse buildGetInstanceHealthResponse() { void checkGetInstanceHealthResponse(api.GetInstanceHealthResponse o) { buildCounterGetInstanceHealthResponse++; if (buildCounterGetInstanceHealthResponse < 3) { - checkUnnamed6077(o.healthInfo!); + checkUnnamed6144(o.healthInfo!); unittest.expect( o.healthState!, unittest.equals('foo'), @@ -578,23 +607,23 @@ void checkGuestOsFeature(api.GuestOsFeature o) { buildCounterGuestOsFeature--; } -core.List buildUnnamed6078() => [ +core.List buildUnnamed6145() => [ buildDisk(), buildDisk(), ]; -void checkUnnamed6078(core.List o) { +void checkUnnamed6145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); } -core.List buildUnnamed6079() => [ +core.List buildUnnamed6146() => [ 'foo', 'foo', ]; -void checkUnnamed6079(core.List o) { +void checkUnnamed6146(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -606,12 +635,12 @@ void checkUnnamed6079(core.List o) { ); } -core.Map buildUnnamed6080() => { +core.Map buildUnnamed6147() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6080(core.Map o) { +void checkUnnamed6147(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -623,12 +652,12 @@ void checkUnnamed6080(core.Map o) { ); } -core.Map buildUnnamed6081() => { +core.Map buildUnnamed6148() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6081(core.Map o) { +void checkUnnamed6148(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -640,12 +669,12 @@ void checkUnnamed6081(core.Map o) { ); } -core.List buildUnnamed6082() => [ +core.List buildUnnamed6149() => [ 'foo', 'foo', ]; -void checkUnnamed6082(core.List o) { +void checkUnnamed6149(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -657,12 +686,12 @@ void checkUnnamed6082(core.List o) { ); } -core.List buildUnnamed6083() => [ +core.List buildUnnamed6150() => [ 'foo', 'foo', ]; -void checkUnnamed6083(core.List o) { +void checkUnnamed6150(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -674,12 +703,12 @@ void checkUnnamed6083(core.List o) { ); } -core.List buildUnnamed6084() => [ +core.List buildUnnamed6151() => [ buildUpgradeHistoryEntry(), buildUpgradeHistoryEntry(), ]; -void checkUnnamed6084(core.List o) { +void checkUnnamed6151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpgradeHistoryEntry(o[0]); checkUpgradeHistoryEntry(o[1]); @@ -699,13 +728,13 @@ api.Instance buildInstance() { o.dataDiskSizeGb = 'foo'; o.dataDiskType = 'foo'; o.diskEncryption = 'foo'; - o.disks = buildUnnamed6078(); + o.disks = buildUnnamed6145(); o.installGpuDriver = true; - o.instanceOwners = buildUnnamed6079(); + o.instanceOwners = buildUnnamed6146(); o.kmsKey = 'foo'; - o.labels = buildUnnamed6080(); + o.labels = buildUnnamed6147(); o.machineType = 'foo'; - o.metadata = buildUnnamed6081(); + o.metadata = buildUnnamed6148(); o.name = 'foo'; o.network = 'foo'; o.nicType = 'foo'; @@ -716,13 +745,13 @@ api.Instance buildInstance() { o.proxyUri = 'foo'; o.reservationAffinity = buildReservationAffinity(); o.serviceAccount = 'foo'; - o.serviceAccountScopes = buildUnnamed6082(); + o.serviceAccountScopes = buildUnnamed6149(); o.shieldedInstanceConfig = buildShieldedInstanceConfig(); o.state = 'foo'; o.subnet = 'foo'; - o.tags = buildUnnamed6083(); + o.tags = buildUnnamed6150(); o.updateTime = 'foo'; - o.upgradeHistory = buildUnnamed6084(); + o.upgradeHistory = buildUnnamed6151(); o.vmImage = buildVmImage(); } buildCounterInstance--; @@ -762,19 +791,19 @@ void checkInstance(api.Instance o) { o.diskEncryption!, unittest.equals('foo'), ); - checkUnnamed6078(o.disks!); + checkUnnamed6145(o.disks!); unittest.expect(o.installGpuDriver!, unittest.isTrue); - checkUnnamed6079(o.instanceOwners!); + checkUnnamed6146(o.instanceOwners!); unittest.expect( o.kmsKey!, unittest.equals('foo'), ); - checkUnnamed6080(o.labels!); + checkUnnamed6147(o.labels!); unittest.expect( o.machineType!, unittest.equals('foo'), ); - checkUnnamed6081(o.metadata!); + checkUnnamed6148(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -803,7 +832,7 @@ void checkInstance(api.Instance o) { o.serviceAccount!, unittest.equals('foo'), ); - checkUnnamed6082(o.serviceAccountScopes!); + checkUnnamed6149(o.serviceAccountScopes!); checkShieldedInstanceConfig(o.shieldedInstanceConfig!); unittest.expect( o.state!, @@ -813,12 +842,12 @@ void checkInstance(api.Instance o) { o.subnet!, unittest.equals('foo'), ); - checkUnnamed6083(o.tags!); + checkUnnamed6150(o.tags!); unittest.expect( o.updateTime!, unittest.equals('foo'), ); - checkUnnamed6084(o.upgradeHistory!); + checkUnnamed6151(o.upgradeHistory!); checkVmImage(o.vmImage!); } buildCounterInstance--; @@ -882,23 +911,23 @@ void checkIsInstanceUpgradeableResponse(api.IsInstanceUpgradeableResponse o) { buildCounterIsInstanceUpgradeableResponse--; } -core.List buildUnnamed6085() => [ +core.List buildUnnamed6152() => [ buildEnvironment(), buildEnvironment(), ]; -void checkUnnamed6085(core.List o) { +void checkUnnamed6152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironment(o[0]); checkEnvironment(o[1]); } -core.List buildUnnamed6086() => [ +core.List buildUnnamed6153() => [ 'foo', 'foo', ]; -void checkUnnamed6086(core.List o) { +void checkUnnamed6153(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -915,9 +944,9 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { final o = api.ListEnvironmentsResponse(); buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - o.environments = buildUnnamed6085(); + o.environments = buildUnnamed6152(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed6086(); + o.unreachable = buildUnnamed6153(); } buildCounterListEnvironmentsResponse--; return o; @@ -926,33 +955,33 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - checkUnnamed6085(o.environments!); + checkUnnamed6152(o.environments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6086(o.unreachable!); + checkUnnamed6153(o.unreachable!); } buildCounterListEnvironmentsResponse--; } -core.List buildUnnamed6087() => [ +core.List buildUnnamed6154() => [ buildExecution(), buildExecution(), ]; -void checkUnnamed6087(core.List o) { +void checkUnnamed6154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecution(o[0]); checkExecution(o[1]); } -core.List buildUnnamed6088() => [ +core.List buildUnnamed6155() => [ 'foo', 'foo', ]; -void checkUnnamed6088(core.List o) { +void checkUnnamed6155(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -969,9 +998,9 @@ api.ListExecutionsResponse buildListExecutionsResponse() { final o = api.ListExecutionsResponse(); buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - o.executions = buildUnnamed6087(); + o.executions = buildUnnamed6154(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed6088(); + o.unreachable = buildUnnamed6155(); } buildCounterListExecutionsResponse--; return o; @@ -980,33 +1009,33 @@ api.ListExecutionsResponse buildListExecutionsResponse() { void checkListExecutionsResponse(api.ListExecutionsResponse o) { buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - checkUnnamed6087(o.executions!); + checkUnnamed6154(o.executions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6088(o.unreachable!); + checkUnnamed6155(o.unreachable!); } buildCounterListExecutionsResponse--; } -core.List buildUnnamed6089() => [ +core.List buildUnnamed6156() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed6089(core.List o) { +void checkUnnamed6156(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); } -core.List buildUnnamed6090() => [ +core.List buildUnnamed6157() => [ 'foo', 'foo', ]; -void checkUnnamed6090(core.List o) { +void checkUnnamed6157(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1023,9 +1052,9 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed6089(); + o.instances = buildUnnamed6156(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed6090(); + o.unreachable = buildUnnamed6157(); } buildCounterListInstancesResponse--; return o; @@ -1034,22 +1063,22 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed6089(o.instances!); + checkUnnamed6156(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6090(o.unreachable!); + checkUnnamed6157(o.unreachable!); } buildCounterListInstancesResponse--; } -core.List buildUnnamed6091() => [ +core.List buildUnnamed6158() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed6091(core.List o) { +void checkUnnamed6158(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1060,7 +1089,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed6091(); + o.locations = buildUnnamed6158(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1070,7 +1099,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed6091(o.locations!); + checkUnnamed6158(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1079,12 +1108,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed6092() => [ +core.List buildUnnamed6159() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6092(core.List o) { +void checkUnnamed6159(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1096,7 +1125,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6092(); + o.operations = buildUnnamed6159(); } buildCounterListOperationsResponse--; return o; @@ -1109,28 +1138,28 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6092(o.operations!); + checkUnnamed6159(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed6093() => [ +core.List buildUnnamed6160() => [ buildRuntime(), buildRuntime(), ]; -void checkUnnamed6093(core.List o) { +void checkUnnamed6160(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuntime(o[0]); checkRuntime(o[1]); } -core.List buildUnnamed6094() => [ +core.List buildUnnamed6161() => [ 'foo', 'foo', ]; -void checkUnnamed6094(core.List o) { +void checkUnnamed6161(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1148,8 +1177,8 @@ api.ListRuntimesResponse buildListRuntimesResponse() { buildCounterListRuntimesResponse++; if (buildCounterListRuntimesResponse < 3) { o.nextPageToken = 'foo'; - o.runtimes = buildUnnamed6093(); - o.unreachable = buildUnnamed6094(); + o.runtimes = buildUnnamed6160(); + o.unreachable = buildUnnamed6161(); } buildCounterListRuntimesResponse--; return o; @@ -1162,29 +1191,29 @@ void checkListRuntimesResponse(api.ListRuntimesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6093(o.runtimes!); - checkUnnamed6094(o.unreachable!); + checkUnnamed6160(o.runtimes!); + checkUnnamed6161(o.unreachable!); } buildCounterListRuntimesResponse--; } -core.List buildUnnamed6095() => [ +core.List buildUnnamed6162() => [ buildSchedule(), buildSchedule(), ]; -void checkUnnamed6095(core.List o) { +void checkUnnamed6162(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchedule(o[0]); checkSchedule(o[1]); } -core.List buildUnnamed6096() => [ +core.List buildUnnamed6163() => [ 'foo', 'foo', ]; -void checkUnnamed6096(core.List o) { +void checkUnnamed6163(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1202,8 +1231,8 @@ api.ListSchedulesResponse buildListSchedulesResponse() { buildCounterListSchedulesResponse++; if (buildCounterListSchedulesResponse < 3) { o.nextPageToken = 'foo'; - o.schedules = buildUnnamed6095(); - o.unreachable = buildUnnamed6096(); + o.schedules = buildUnnamed6162(); + o.unreachable = buildUnnamed6163(); } buildCounterListSchedulesResponse--; return o; @@ -1216,29 +1245,29 @@ void checkListSchedulesResponse(api.ListSchedulesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6095(o.schedules!); - checkUnnamed6096(o.unreachable!); + checkUnnamed6162(o.schedules!); + checkUnnamed6163(o.unreachable!); } buildCounterListSchedulesResponse--; } -core.List buildUnnamed6097() => [ +core.List buildUnnamed6164() => [ buildRuntimeGuestOsFeature(), buildRuntimeGuestOsFeature(), ]; -void checkUnnamed6097(core.List o) { +void checkUnnamed6164(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuntimeGuestOsFeature(o[0]); checkRuntimeGuestOsFeature(o[1]); } -core.List buildUnnamed6098() => [ +core.List buildUnnamed6165() => [ 'foo', 'foo', ]; -void checkUnnamed6098(core.List o) { +void checkUnnamed6165(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1258,12 +1287,12 @@ api.LocalDisk buildLocalDisk() { o.autoDelete = true; o.boot = true; o.deviceName = 'foo'; - o.guestOsFeatures = buildUnnamed6097(); + o.guestOsFeatures = buildUnnamed6164(); o.index = 42; o.initializeParams = buildLocalDiskInitializeParams(); o.interface = 'foo'; o.kind = 'foo'; - o.licenses = buildUnnamed6098(); + o.licenses = buildUnnamed6165(); o.mode = 'foo'; o.source = 'foo'; o.type = 'foo'; @@ -1281,7 +1310,7 @@ void checkLocalDisk(api.LocalDisk o) { o.deviceName!, unittest.equals('foo'), ); - checkUnnamed6097(o.guestOsFeatures!); + checkUnnamed6164(o.guestOsFeatures!); unittest.expect( o.index!, unittest.equals(42), @@ -1295,7 +1324,7 @@ void checkLocalDisk(api.LocalDisk o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed6098(o.licenses!); + checkUnnamed6165(o.licenses!); unittest.expect( o.mode!, unittest.equals('foo'), @@ -1312,12 +1341,12 @@ void checkLocalDisk(api.LocalDisk o) { buildCounterLocalDisk--; } -core.Map buildUnnamed6099() => { +core.Map buildUnnamed6166() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6099(core.Map o) { +void checkUnnamed6166(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1338,7 +1367,7 @@ api.LocalDiskInitializeParams buildLocalDiskInitializeParams() { o.diskName = 'foo'; o.diskSizeGb = 'foo'; o.diskType = 'foo'; - o.labels = buildUnnamed6099(); + o.labels = buildUnnamed6166(); } buildCounterLocalDiskInitializeParams--; return o; @@ -1363,17 +1392,17 @@ void checkLocalDiskInitializeParams(api.LocalDiskInitializeParams o) { o.diskType!, unittest.equals('foo'), ); - checkUnnamed6099(o.labels!); + checkUnnamed6166(o.labels!); } buildCounterLocalDiskInitializeParams--; } -core.Map buildUnnamed6100() => { +core.Map buildUnnamed6167() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6100(core.Map o) { +void checkUnnamed6167(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1385,7 +1414,7 @@ void checkUnnamed6100(core.Map o) { ); } -core.Map buildUnnamed6101() => { +core.Map buildUnnamed6168() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1398,7 +1427,7 @@ core.Map buildUnnamed6101() => { }, }; -void checkUnnamed6101(core.Map o) { +void checkUnnamed6168(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1436,9 +1465,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed6100(); + o.labels = buildUnnamed6167(); o.locationId = 'foo'; - o.metadata = buildUnnamed6101(); + o.metadata = buildUnnamed6168(); o.name = 'foo'; } buildCounterLocation--; @@ -1452,12 +1481,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6100(o.labels!); + checkUnnamed6167(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed6101(o.metadata!); + checkUnnamed6168(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1466,7 +1495,7 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed6102() => { +core.Map buildUnnamed6169() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1479,7 +1508,7 @@ core.Map buildUnnamed6102() => { }, }; -void checkUnnamed6102(core.Map o) { +void checkUnnamed6169(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1511,7 +1540,7 @@ void checkUnnamed6102(core.Map o) { ); } -core.Map buildUnnamed6103() => { +core.Map buildUnnamed6170() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1524,7 +1553,7 @@ core.Map buildUnnamed6103() => { }, }; -void checkUnnamed6103(core.Map o) { +void checkUnnamed6170(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1563,9 +1592,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6102(); + o.metadata = buildUnnamed6169(); o.name = 'foo'; - o.response = buildUnnamed6103(); + o.response = buildUnnamed6170(); } buildCounterOperation--; return o; @@ -1576,12 +1605,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6102(o.metadata!); + checkUnnamed6169(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6103(o.response!); + checkUnnamed6170(o.response!); } buildCounterOperation--; } @@ -1640,12 +1669,12 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed6104() => [ +core.List buildUnnamed6171() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed6104(core.List o) { +void checkUnnamed6171(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1656,7 +1685,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed6104(); + o.bindings = buildUnnamed6171(); o.etag = 'foo'; o.version = 42; } @@ -1667,7 +1696,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed6104(o.bindings!); + checkUnnamed6171(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1702,12 +1731,12 @@ void checkRegisterInstanceRequest(api.RegisterInstanceRequest o) { buildCounterRegisterInstanceRequest--; } -core.Map buildUnnamed6105() => { +core.Map buildUnnamed6172() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6105(core.Map o) { +void checkUnnamed6172(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1724,7 +1753,7 @@ api.ReportInstanceInfoRequest buildReportInstanceInfoRequest() { final o = api.ReportInstanceInfoRequest(); buildCounterReportInstanceInfoRequest++; if (buildCounterReportInstanceInfoRequest < 3) { - o.metadata = buildUnnamed6105(); + o.metadata = buildUnnamed6172(); o.vmId = 'foo'; } buildCounterReportInstanceInfoRequest--; @@ -1734,7 +1763,7 @@ api.ReportInstanceInfoRequest buildReportInstanceInfoRequest() { void checkReportInstanceInfoRequest(api.ReportInstanceInfoRequest o) { buildCounterReportInstanceInfoRequest++; if (buildCounterReportInstanceInfoRequest < 3) { - checkUnnamed6105(o.metadata!); + checkUnnamed6172(o.metadata!); unittest.expect( o.vmId!, unittest.equals('foo'), @@ -1767,12 +1796,12 @@ void checkReportRuntimeEventRequest(api.ReportRuntimeEventRequest o) { buildCounterReportRuntimeEventRequest--; } -core.List buildUnnamed6106() => [ +core.List buildUnnamed6173() => [ 'foo', 'foo', ]; -void checkUnnamed6106(core.List o) { +void checkUnnamed6173(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1791,7 +1820,7 @@ api.ReservationAffinity buildReservationAffinity() { if (buildCounterReservationAffinity < 3) { o.consumeReservationType = 'foo'; o.key = 'foo'; - o.values = buildUnnamed6106(); + o.values = buildUnnamed6173(); } buildCounterReservationAffinity--; return o; @@ -1808,7 +1837,7 @@ void checkReservationAffinity(api.ReservationAffinity o) { o.key!, unittest.equals('foo'), ); - checkUnnamed6106(o.values!); + checkUnnamed6173(o.values!); } buildCounterReservationAffinity--; } @@ -1996,12 +2025,12 @@ void checkRuntimeGuestOsFeature(api.RuntimeGuestOsFeature o) { buildCounterRuntimeGuestOsFeature--; } -core.Map buildUnnamed6107() => { +core.Map buildUnnamed6174() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6107(core.Map o) { +void checkUnnamed6174(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2018,7 +2047,7 @@ api.RuntimeMetrics buildRuntimeMetrics() { final o = api.RuntimeMetrics(); buildCounterRuntimeMetrics++; if (buildCounterRuntimeMetrics < 3) { - o.systemMetrics = buildUnnamed6107(); + o.systemMetrics = buildUnnamed6174(); } buildCounterRuntimeMetrics--; return o; @@ -2027,7 +2056,7 @@ api.RuntimeMetrics buildRuntimeMetrics() { void checkRuntimeMetrics(api.RuntimeMetrics o) { buildCounterRuntimeMetrics++; if (buildCounterRuntimeMetrics < 3) { - checkUnnamed6107(o.systemMetrics!); + checkUnnamed6174(o.systemMetrics!); } buildCounterRuntimeMetrics--; } @@ -2098,12 +2127,12 @@ void checkRuntimeSoftwareConfig(api.RuntimeSoftwareConfig o) { buildCounterRuntimeSoftwareConfig--; } -core.List buildUnnamed6108() => [ +core.List buildUnnamed6175() => [ buildExecution(), buildExecution(), ]; -void checkUnnamed6108(core.List o) { +void checkUnnamed6175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecution(o[0]); checkExecution(o[1]); @@ -2120,7 +2149,7 @@ api.Schedule buildSchedule() { o.displayName = 'foo'; o.executionTemplate = buildExecutionTemplate(); o.name = 'foo'; - o.recentExecutions = buildUnnamed6108(); + o.recentExecutions = buildUnnamed6175(); o.state = 'foo'; o.timeZone = 'foo'; o.updateTime = 'foo'; @@ -2153,7 +2182,7 @@ void checkSchedule(api.Schedule o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6108(o.recentExecutions!); + checkUnnamed6175(o.recentExecutions!); unittest.expect( o.state!, unittest.equals('foo'), @@ -2243,12 +2272,12 @@ void checkSetInstanceAcceleratorRequest(api.SetInstanceAcceleratorRequest o) { buildCounterSetInstanceAcceleratorRequest--; } -core.Map buildUnnamed6109() => { +core.Map buildUnnamed6176() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6109(core.Map o) { +void checkUnnamed6176(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2265,7 +2294,7 @@ api.SetInstanceLabelsRequest buildSetInstanceLabelsRequest() { final o = api.SetInstanceLabelsRequest(); buildCounterSetInstanceLabelsRequest++; if (buildCounterSetInstanceLabelsRequest < 3) { - o.labels = buildUnnamed6109(); + o.labels = buildUnnamed6176(); } buildCounterSetInstanceLabelsRequest--; return o; @@ -2274,7 +2303,7 @@ api.SetInstanceLabelsRequest buildSetInstanceLabelsRequest() { void checkSetInstanceLabelsRequest(api.SetInstanceLabelsRequest o) { buildCounterSetInstanceLabelsRequest++; if (buildCounterSetInstanceLabelsRequest < 3) { - checkUnnamed6109(o.labels!); + checkUnnamed6176(o.labels!); } buildCounterSetInstanceLabelsRequest--; } @@ -2354,7 +2383,7 @@ void checkStartRuntimeRequest(api.StartRuntimeRequest o) { buildCounterStartRuntimeRequest--; } -core.Map buildUnnamed6110() => { +core.Map buildUnnamed6177() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2367,7 +2396,7 @@ core.Map buildUnnamed6110() => { }, }; -void checkUnnamed6110(core.Map o) { +void checkUnnamed6177(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2399,15 +2428,15 @@ void checkUnnamed6110(core.Map o) { ); } -core.List> buildUnnamed6111() => [ - buildUnnamed6110(), - buildUnnamed6110(), +core.List> buildUnnamed6178() => [ + buildUnnamed6177(), + buildUnnamed6177(), ]; -void checkUnnamed6111(core.List> o) { +void checkUnnamed6178(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6110(o[0]); - checkUnnamed6110(o[1]); + checkUnnamed6177(o[0]); + checkUnnamed6177(o[1]); } core.int buildCounterStatus = 0; @@ -2416,7 +2445,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6111(); + o.details = buildUnnamed6178(); o.message = 'foo'; } buildCounterStatus--; @@ -2430,7 +2459,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6111(o.details!); + checkUnnamed6178(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2493,12 +2522,12 @@ void checkSwitchRuntimeRequest(api.SwitchRuntimeRequest o) { buildCounterSwitchRuntimeRequest--; } -core.List buildUnnamed6112() => [ +core.List buildUnnamed6179() => [ 'foo', 'foo', ]; -void checkUnnamed6112(core.List o) { +void checkUnnamed6179(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2515,7 +2544,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed6112(); + o.permissions = buildUnnamed6179(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2524,17 +2553,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed6112(o.permissions!); + checkUnnamed6179(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed6113() => [ +core.List buildUnnamed6180() => [ 'foo', 'foo', ]; -void checkUnnamed6113(core.List o) { +void checkUnnamed6180(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2551,7 +2580,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed6113(); + o.permissions = buildUnnamed6180(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2560,7 +2589,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed6113(o.permissions!); + checkUnnamed6180(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -2753,23 +2782,23 @@ void checkVirtualMachine(api.VirtualMachine o) { buildCounterVirtualMachine--; } -core.List buildUnnamed6114() => [ +core.List buildUnnamed6181() => [ buildContainerImage(), buildContainerImage(), ]; -void checkUnnamed6114(core.List o) { +void checkUnnamed6181(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerImage(o[0]); checkContainerImage(o[1]); } -core.Map buildUnnamed6115() => { +core.Map buildUnnamed6182() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6115(core.Map o) { +void checkUnnamed6182(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2781,12 +2810,12 @@ void checkUnnamed6115(core.Map o) { ); } -core.Map buildUnnamed6116() => { +core.Map buildUnnamed6183() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6116(core.Map o) { +void checkUnnamed6183(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2798,12 +2827,12 @@ void checkUnnamed6116(core.Map o) { ); } -core.Map buildUnnamed6117() => { +core.Map buildUnnamed6184() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6117(core.Map o) { +void checkUnnamed6184(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2815,12 +2844,12 @@ void checkUnnamed6117(core.Map o) { ); } -core.List buildUnnamed6118() => [ +core.List buildUnnamed6185() => [ 'foo', 'foo', ]; -void checkUnnamed6118(core.List o) { +void checkUnnamed6185(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2838,19 +2867,19 @@ api.VirtualMachineConfig buildVirtualMachineConfig() { buildCounterVirtualMachineConfig++; if (buildCounterVirtualMachineConfig < 3) { o.acceleratorConfig = buildRuntimeAcceleratorConfig(); - o.containerImages = buildUnnamed6114(); + o.containerImages = buildUnnamed6181(); o.dataDisk = buildLocalDisk(); o.encryptionConfig = buildEncryptionConfig(); - o.guestAttributes = buildUnnamed6115(); + o.guestAttributes = buildUnnamed6182(); o.internalIpOnly = true; - o.labels = buildUnnamed6116(); + o.labels = buildUnnamed6183(); o.machineType = 'foo'; - o.metadata = buildUnnamed6117(); + o.metadata = buildUnnamed6184(); o.network = 'foo'; o.nicType = 'foo'; o.shieldedInstanceConfig = buildRuntimeShieldedInstanceConfig(); o.subnet = 'foo'; - o.tags = buildUnnamed6118(); + o.tags = buildUnnamed6185(); o.zone = 'foo'; } buildCounterVirtualMachineConfig--; @@ -2861,17 +2890,17 @@ void checkVirtualMachineConfig(api.VirtualMachineConfig o) { buildCounterVirtualMachineConfig++; if (buildCounterVirtualMachineConfig < 3) { checkRuntimeAcceleratorConfig(o.acceleratorConfig!); - checkUnnamed6114(o.containerImages!); + checkUnnamed6181(o.containerImages!); checkLocalDisk(o.dataDisk!); checkEncryptionConfig(o.encryptionConfig!); - checkUnnamed6115(o.guestAttributes!); + checkUnnamed6182(o.guestAttributes!); unittest.expect(o.internalIpOnly!, unittest.isTrue); - checkUnnamed6116(o.labels!); + checkUnnamed6183(o.labels!); unittest.expect( o.machineType!, unittest.equals('foo'), ); - checkUnnamed6117(o.metadata!); + checkUnnamed6184(o.metadata!); unittest.expect( o.network!, unittest.equals('foo'), @@ -2885,7 +2914,7 @@ void checkVirtualMachineConfig(api.VirtualMachineConfig o) { o.subnet!, unittest.equals('foo'), ); - checkUnnamed6118(o.tags!); + checkUnnamed6185(o.tags!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -2967,6 +2996,16 @@ void main() { }); }); + unittest.group('obj-schema-DataprocParameters', () { + unittest.test('to-json--from-json', () async { + final o = buildDataprocParameters(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DataprocParameters.fromJson( + oJson as core.Map); + checkDataprocParameters(od); + }); + }); + unittest.group('obj-schema-Disk', () { unittest.test('to-json--from-json', () async { final o = buildDisk(); diff --git a/generated/googleapis/test/ondemandscanning/v1_test.dart b/generated/googleapis/test/ondemandscanning/v1_test.dart index eae0a01e7..60b8c390d 100644 --- a/generated/googleapis/test/ondemandscanning/v1_test.dart +++ b/generated/googleapis/test/ondemandscanning/v1_test.dart @@ -107,12 +107,12 @@ void checkAnalyzePackagesMetadataV1(api.AnalyzePackagesMetadataV1 o) { buildCounterAnalyzePackagesMetadataV1--; } -core.List buildUnnamed597() => [ +core.List buildUnnamed614() => [ buildPackageData(), buildPackageData(), ]; -void checkUnnamed597(core.List o) { +void checkUnnamed614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackageData(o[0]); checkPackageData(o[1]); @@ -123,7 +123,7 @@ api.AnalyzePackagesRequestV1 buildAnalyzePackagesRequestV1() { final o = api.AnalyzePackagesRequestV1(); buildCounterAnalyzePackagesRequestV1++; if (buildCounterAnalyzePackagesRequestV1 < 3) { - o.packages = buildUnnamed597(); + o.packages = buildUnnamed614(); o.resourceUri = 'foo'; } buildCounterAnalyzePackagesRequestV1--; @@ -133,7 +133,7 @@ api.AnalyzePackagesRequestV1 buildAnalyzePackagesRequestV1() { void checkAnalyzePackagesRequestV1(api.AnalyzePackagesRequestV1 o) { buildCounterAnalyzePackagesRequestV1++; if (buildCounterAnalyzePackagesRequestV1 < 3) { - checkUnnamed597(o.packages!); + checkUnnamed614(o.packages!); unittest.expect( o.resourceUri!, unittest.equals('foo'), @@ -186,12 +186,12 @@ void checkAnalyzePackagesResponseV1(api.AnalyzePackagesResponseV1 o) { buildCounterAnalyzePackagesResponseV1--; } -core.List buildUnnamed598() => [ +core.List buildUnnamed615() => [ 'foo', 'foo', ]; -void checkUnnamed598(core.List o) { +void checkUnnamed615(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -210,7 +210,7 @@ api.Artifact buildArtifact() { if (buildCounterArtifact < 3) { o.checksum = 'foo'; o.id = 'foo'; - o.names = buildUnnamed598(); + o.names = buildUnnamed615(); } buildCounterArtifact--; return o; @@ -227,28 +227,28 @@ void checkArtifact(api.Artifact o) { o.id!, unittest.equals('foo'), ); - checkUnnamed598(o.names!); + checkUnnamed615(o.names!); } buildCounterArtifact--; } -core.List buildUnnamed599() => [ +core.List buildUnnamed616() => [ buildJwt(), buildJwt(), ]; -void checkUnnamed599(core.List o) { +void checkUnnamed616(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwt(o[0]); checkJwt(o[1]); } -core.List buildUnnamed600() => [ +core.List buildUnnamed617() => [ buildSignature(), buildSignature(), ]; -void checkUnnamed600(core.List o) { +void checkUnnamed617(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSignature(o[0]); checkSignature(o[1]); @@ -259,9 +259,9 @@ api.AttestationOccurrence buildAttestationOccurrence() { final o = api.AttestationOccurrence(); buildCounterAttestationOccurrence++; if (buildCounterAttestationOccurrence < 3) { - o.jwts = buildUnnamed599(); + o.jwts = buildUnnamed616(); o.serializedPayload = 'foo'; - o.signatures = buildUnnamed600(); + o.signatures = buildUnnamed617(); } buildCounterAttestationOccurrence--; return o; @@ -270,12 +270,12 @@ api.AttestationOccurrence buildAttestationOccurrence() { void checkAttestationOccurrence(api.AttestationOccurrence o) { buildCounterAttestationOccurrence++; if (buildCounterAttestationOccurrence < 3) { - checkUnnamed599(o.jwts!); + checkUnnamed616(o.jwts!); unittest.expect( o.serializedPayload!, unittest.equals('foo'), ); - checkUnnamed600(o.signatures!); + checkUnnamed617(o.signatures!); } buildCounterAttestationOccurrence--; } @@ -285,6 +285,7 @@ api.BuildOccurrence buildBuildOccurrence() { final o = api.BuildOccurrence(); buildCounterBuildOccurrence++; if (buildCounterBuildOccurrence < 3) { + o.intotoProvenance = buildInTotoProvenance(); o.provenance = buildBuildProvenance(); o.provenanceBytes = 'foo'; } @@ -295,6 +296,7 @@ api.BuildOccurrence buildBuildOccurrence() { void checkBuildOccurrence(api.BuildOccurrence o) { buildCounterBuildOccurrence++; if (buildCounterBuildOccurrence < 3) { + checkInTotoProvenance(o.intotoProvenance!); checkBuildProvenance(o.provenance!); unittest.expect( o.provenanceBytes!, @@ -304,12 +306,12 @@ void checkBuildOccurrence(api.BuildOccurrence o) { buildCounterBuildOccurrence--; } -core.Map buildUnnamed601() => { +core.Map buildUnnamed618() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed601(core.Map o) { +void checkUnnamed618(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -321,23 +323,23 @@ void checkUnnamed601(core.Map o) { ); } -core.List buildUnnamed602() => [ +core.List buildUnnamed619() => [ buildArtifact(), buildArtifact(), ]; -void checkUnnamed602(core.List o) { +void checkUnnamed619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArtifact(o[0]); checkArtifact(o[1]); } -core.List buildUnnamed603() => [ +core.List buildUnnamed620() => [ buildCommand(), buildCommand(), ]; -void checkUnnamed603(core.List o) { +void checkUnnamed620(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommand(o[0]); checkCommand(o[1]); @@ -348,10 +350,10 @@ api.BuildProvenance buildBuildProvenance() { final o = api.BuildProvenance(); buildCounterBuildProvenance++; if (buildCounterBuildProvenance < 3) { - o.buildOptions = buildUnnamed601(); + o.buildOptions = buildUnnamed618(); o.builderVersion = 'foo'; - o.builtArtifacts = buildUnnamed602(); - o.commands = buildUnnamed603(); + o.builtArtifacts = buildUnnamed619(); + o.commands = buildUnnamed620(); o.createTime = 'foo'; o.creator = 'foo'; o.endTime = 'foo'; @@ -369,13 +371,13 @@ api.BuildProvenance buildBuildProvenance() { void checkBuildProvenance(api.BuildProvenance o) { buildCounterBuildProvenance++; if (buildCounterBuildProvenance < 3) { - checkUnnamed601(o.buildOptions!); + checkUnnamed618(o.buildOptions!); unittest.expect( o.builderVersion!, unittest.equals('foo'), ); - checkUnnamed602(o.builtArtifacts!); - checkUnnamed603(o.commands!); + checkUnnamed619(o.builtArtifacts!); + checkUnnamed620(o.commands!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -413,6 +415,28 @@ void checkBuildProvenance(api.BuildProvenance o) { buildCounterBuildProvenance--; } +core.int buildCounterBuilderConfig = 0; +api.BuilderConfig buildBuilderConfig() { + final o = api.BuilderConfig(); + buildCounterBuilderConfig++; + if (buildCounterBuilderConfig < 3) { + o.id = 'foo'; + } + buildCounterBuilderConfig--; + return o; +} + +void checkBuilderConfig(api.BuilderConfig o) { + buildCounterBuilderConfig++; + if (buildCounterBuilderConfig < 3) { + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + } + buildCounterBuilderConfig--; +} + core.int buildCounterCategory = 0; api.Category buildCategory() { final o = api.Category(); @@ -466,12 +490,12 @@ void checkCloudRepoSourceContext(api.CloudRepoSourceContext o) { buildCounterCloudRepoSourceContext--; } -core.List buildUnnamed604() => [ +core.List buildUnnamed621() => [ 'foo', 'foo', ]; -void checkUnnamed604(core.List o) { +void checkUnnamed621(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -483,12 +507,12 @@ void checkUnnamed604(core.List o) { ); } -core.List buildUnnamed605() => [ +core.List buildUnnamed622() => [ 'foo', 'foo', ]; -void checkUnnamed605(core.List o) { +void checkUnnamed622(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -500,12 +524,12 @@ void checkUnnamed605(core.List o) { ); } -core.List buildUnnamed606() => [ +core.List buildUnnamed623() => [ 'foo', 'foo', ]; -void checkUnnamed606(core.List o) { +void checkUnnamed623(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -522,12 +546,12 @@ api.Command buildCommand() { final o = api.Command(); buildCounterCommand++; if (buildCounterCommand < 3) { - o.args = buildUnnamed604(); + o.args = buildUnnamed621(); o.dir = 'foo'; - o.env = buildUnnamed605(); + o.env = buildUnnamed622(); o.id = 'foo'; o.name = 'foo'; - o.waitFor = buildUnnamed606(); + o.waitFor = buildUnnamed623(); } buildCounterCommand--; return o; @@ -536,12 +560,12 @@ api.Command buildCommand() { void checkCommand(api.Command o) { buildCounterCommand++; if (buildCounterCommand < 3) { - checkUnnamed604(o.args!); + checkUnnamed621(o.args!); unittest.expect( o.dir!, unittest.equals('foo'), ); - checkUnnamed605(o.env!); + checkUnnamed622(o.env!); unittest.expect( o.id!, unittest.equals('foo'), @@ -550,17 +574,40 @@ void checkCommand(api.Command o) { o.name!, unittest.equals('foo'), ); - checkUnnamed606(o.waitFor!); + checkUnnamed623(o.waitFor!); } buildCounterCommand--; } -core.List buildUnnamed607() => [ +core.int buildCounterCompleteness = 0; +api.Completeness buildCompleteness() { + final o = api.Completeness(); + buildCounterCompleteness++; + if (buildCounterCompleteness < 3) { + o.arguments = true; + o.environment = true; + o.materials = true; + } + buildCounterCompleteness--; + return o; +} + +void checkCompleteness(api.Completeness o) { + buildCounterCompleteness++; + if (buildCounterCompleteness < 3) { + unittest.expect(o.arguments!, unittest.isTrue); + unittest.expect(o.environment!, unittest.isTrue); + unittest.expect(o.materials!, unittest.isTrue); + } + buildCounterCompleteness--; +} + +core.List buildUnnamed624() => [ buildNonCompliantFile(), buildNonCompliantFile(), ]; -void checkUnnamed607(core.List o) { +void checkUnnamed624(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNonCompliantFile(o[0]); checkNonCompliantFile(o[1]); @@ -572,7 +619,7 @@ api.ComplianceOccurrence buildComplianceOccurrence() { buildCounterComplianceOccurrence++; if (buildCounterComplianceOccurrence < 3) { o.nonComplianceReason = 'foo'; - o.nonCompliantFiles = buildUnnamed607(); + o.nonCompliantFiles = buildUnnamed624(); } buildCounterComplianceOccurrence--; return o; @@ -585,17 +632,38 @@ void checkComplianceOccurrence(api.ComplianceOccurrence o) { o.nonComplianceReason!, unittest.equals('foo'), ); - checkUnnamed607(o.nonCompliantFiles!); + checkUnnamed624(o.nonCompliantFiles!); } buildCounterComplianceOccurrence--; } -core.List buildUnnamed608() => [ +core.int buildCounterDSSEAttestationOccurrence = 0; +api.DSSEAttestationOccurrence buildDSSEAttestationOccurrence() { + final o = api.DSSEAttestationOccurrence(); + buildCounterDSSEAttestationOccurrence++; + if (buildCounterDSSEAttestationOccurrence < 3) { + o.envelope = buildEnvelope(); + o.statement = buildInTotoStatement(); + } + buildCounterDSSEAttestationOccurrence--; + return o; +} + +void checkDSSEAttestationOccurrence(api.DSSEAttestationOccurrence o) { + buildCounterDSSEAttestationOccurrence++; + if (buildCounterDSSEAttestationOccurrence < 3) { + checkEnvelope(o.envelope!); + checkInTotoStatement(o.statement!); + } + buildCounterDSSEAttestationOccurrence--; +} + +core.List buildUnnamed625() => [ 'foo', 'foo', ]; -void checkUnnamed608(core.List o) { +void checkUnnamed625(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -616,7 +684,7 @@ api.DeploymentOccurrence buildDeploymentOccurrence() { o.config = 'foo'; o.deployTime = 'foo'; o.platform = 'foo'; - o.resourceUri = buildUnnamed608(); + o.resourceUri = buildUnnamed625(); o.undeployTime = 'foo'; o.userEmail = 'foo'; } @@ -643,7 +711,7 @@ void checkDeploymentOccurrence(api.DeploymentOccurrence o) { o.platform!, unittest.equals('foo'), ); - checkUnnamed608(o.resourceUri!); + checkUnnamed625(o.resourceUri!); unittest.expect( o.undeployTime!, unittest.equals('foo'), @@ -710,12 +778,79 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed609() => [ +core.List buildUnnamed626() => [ + buildEnvelopeSignature(), + buildEnvelopeSignature(), + ]; + +void checkUnnamed626(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkEnvelopeSignature(o[0]); + checkEnvelopeSignature(o[1]); +} + +core.int buildCounterEnvelope = 0; +api.Envelope buildEnvelope() { + final o = api.Envelope(); + buildCounterEnvelope++; + if (buildCounterEnvelope < 3) { + o.payload = 'foo'; + o.payloadType = 'foo'; + o.signatures = buildUnnamed626(); + } + buildCounterEnvelope--; + return o; +} + +void checkEnvelope(api.Envelope o) { + buildCounterEnvelope++; + if (buildCounterEnvelope < 3) { + unittest.expect( + o.payload!, + unittest.equals('foo'), + ); + unittest.expect( + o.payloadType!, + unittest.equals('foo'), + ); + checkUnnamed626(o.signatures!); + } + buildCounterEnvelope--; +} + +core.int buildCounterEnvelopeSignature = 0; +api.EnvelopeSignature buildEnvelopeSignature() { + final o = api.EnvelopeSignature(); + buildCounterEnvelopeSignature++; + if (buildCounterEnvelopeSignature < 3) { + o.keyid = 'foo'; + o.sig = 'foo'; + } + buildCounterEnvelopeSignature--; + return o; +} + +void checkEnvelopeSignature(api.EnvelopeSignature o) { + buildCounterEnvelopeSignature++; + if (buildCounterEnvelopeSignature < 3) { + unittest.expect( + o.keyid!, + unittest.equals('foo'), + ); + unittest.expect( + o.sig!, + unittest.equals('foo'), + ); + } + buildCounterEnvelopeSignature--; +} + +core.List buildUnnamed627() => [ buildHash(), buildHash(), ]; -void checkUnnamed609(core.List o) { +void checkUnnamed627(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHash(o[0]); checkHash(o[1]); @@ -726,7 +861,7 @@ api.FileHashes buildFileHashes() { final o = api.FileHashes(); buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - o.fileHash = buildUnnamed609(); + o.fileHash = buildUnnamed627(); } buildCounterFileHashes--; return o; @@ -735,17 +870,17 @@ api.FileHashes buildFileHashes() { void checkFileHashes(api.FileHashes o) { buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - checkUnnamed609(o.fileHash!); + checkUnnamed627(o.fileHash!); } buildCounterFileHashes--; } -core.List buildUnnamed610() => [ +core.List buildUnnamed628() => [ 'foo', 'foo', ]; -void checkUnnamed610(core.List o) { +void checkUnnamed628(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -763,7 +898,7 @@ api.Fingerprint buildFingerprint() { buildCounterFingerprint++; if (buildCounterFingerprint < 3) { o.v1Name = 'foo'; - o.v2Blob = buildUnnamed610(); + o.v2Blob = buildUnnamed628(); o.v2Name = 'foo'; } buildCounterFingerprint--; @@ -777,7 +912,7 @@ void checkFingerprint(api.Fingerprint o) { o.v1Name!, unittest.equals('foo'), ); - checkUnnamed610(o.v2Blob!); + checkUnnamed628(o.v2Blob!); unittest.expect( o.v2Name!, unittest.equals('foo'), @@ -901,12 +1036,12 @@ void checkIdentity(api.Identity o) { buildCounterIdentity--; } -core.List buildUnnamed611() => [ +core.List buildUnnamed629() => [ buildLayer(), buildLayer(), ]; -void checkUnnamed611(core.List o) { +void checkUnnamed629(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLayer(o[0]); checkLayer(o[1]); @@ -920,7 +1055,7 @@ api.ImageOccurrence buildImageOccurrence() { o.baseResourceUrl = 'foo'; o.distance = 42; o.fingerprint = buildFingerprint(); - o.layerInfo = buildUnnamed611(); + o.layerInfo = buildUnnamed629(); } buildCounterImageOccurrence--; return o; @@ -938,11 +1073,95 @@ void checkImageOccurrence(api.ImageOccurrence o) { unittest.equals(42), ); checkFingerprint(o.fingerprint!); - checkUnnamed611(o.layerInfo!); + checkUnnamed629(o.layerInfo!); } buildCounterImageOccurrence--; } +core.List buildUnnamed630() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed630(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterInTotoProvenance = 0; +api.InTotoProvenance buildInTotoProvenance() { + final o = api.InTotoProvenance(); + buildCounterInTotoProvenance++; + if (buildCounterInTotoProvenance < 3) { + o.builderConfig = buildBuilderConfig(); + o.materials = buildUnnamed630(); + o.metadata = buildMetadata(); + o.recipe = buildRecipe(); + } + buildCounterInTotoProvenance--; + return o; +} + +void checkInTotoProvenance(api.InTotoProvenance o) { + buildCounterInTotoProvenance++; + if (buildCounterInTotoProvenance < 3) { + checkBuilderConfig(o.builderConfig!); + checkUnnamed630(o.materials!); + checkMetadata(o.metadata!); + checkRecipe(o.recipe!); + } + buildCounterInTotoProvenance--; +} + +core.List buildUnnamed631() => [ + buildSubject(), + buildSubject(), + ]; + +void checkUnnamed631(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkSubject(o[0]); + checkSubject(o[1]); +} + +core.int buildCounterInTotoStatement = 0; +api.InTotoStatement buildInTotoStatement() { + final o = api.InTotoStatement(); + buildCounterInTotoStatement++; + if (buildCounterInTotoStatement < 3) { + o.predicateType = 'foo'; + o.provenance = buildInTotoProvenance(); + o.subject = buildUnnamed631(); + o.type = 'foo'; + } + buildCounterInTotoStatement--; + return o; +} + +void checkInTotoStatement(api.InTotoStatement o) { + buildCounterInTotoStatement++; + if (buildCounterInTotoStatement < 3) { + unittest.expect( + o.predicateType!, + unittest.equals('foo'), + ); + checkInTotoProvenance(o.provenance!); + checkUnnamed631(o.subject!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterInTotoStatement--; +} + core.int buildCounterJwt = 0; api.Jwt buildJwt() { final o = api.Jwt(); @@ -992,12 +1211,12 @@ void checkLayer(api.Layer o) { buildCounterLayer--; } -core.List buildUnnamed612() => [ +core.List buildUnnamed632() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed612(core.List o) { +void checkUnnamed632(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1009,7 +1228,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed612(); + o.operations = buildUnnamed632(); } buildCounterListOperationsResponse--; return o; @@ -1022,17 +1241,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed612(o.operations!); + checkUnnamed632(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed613() => [ +core.List buildUnnamed633() => [ buildOccurrence(), buildOccurrence(), ]; -void checkUnnamed613(core.List o) { +void checkUnnamed633(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccurrence(o[0]); checkOccurrence(o[1]); @@ -1044,7 +1263,7 @@ api.ListVulnerabilitiesResponseV1 buildListVulnerabilitiesResponseV1() { buildCounterListVulnerabilitiesResponseV1++; if (buildCounterListVulnerabilitiesResponseV1 < 3) { o.nextPageToken = 'foo'; - o.occurrences = buildUnnamed613(); + o.occurrences = buildUnnamed633(); } buildCounterListVulnerabilitiesResponseV1--; return o; @@ -1057,7 +1276,7 @@ void checkListVulnerabilitiesResponseV1(api.ListVulnerabilitiesResponseV1 o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed613(o.occurrences!); + checkUnnamed633(o.occurrences!); } buildCounterListVulnerabilitiesResponseV1--; } @@ -1091,6 +1310,42 @@ void checkLocation(api.Location o) { buildCounterLocation--; } +core.int buildCounterMetadata = 0; +api.Metadata buildMetadata() { + final o = api.Metadata(); + buildCounterMetadata++; + if (buildCounterMetadata < 3) { + o.buildFinishedOn = 'foo'; + o.buildInvocationId = 'foo'; + o.buildStartedOn = 'foo'; + o.completeness = buildCompleteness(); + o.reproducible = true; + } + buildCounterMetadata--; + return o; +} + +void checkMetadata(api.Metadata o) { + buildCounterMetadata++; + if (buildCounterMetadata < 3) { + unittest.expect( + o.buildFinishedOn!, + unittest.equals('foo'), + ); + unittest.expect( + o.buildInvocationId!, + unittest.equals('foo'), + ); + unittest.expect( + o.buildStartedOn!, + unittest.equals('foo'), + ); + checkCompleteness(o.completeness!); + unittest.expect(o.reproducible!, unittest.isTrue); + } + buildCounterMetadata--; +} + core.int buildCounterNonCompliantFile = 0; api.NonCompliantFile buildNonCompliantFile() { final o = api.NonCompliantFile(); @@ -1134,6 +1389,8 @@ api.Occurrence buildOccurrence() { o.createTime = 'foo'; o.deployment = buildDeploymentOccurrence(); o.discovery = buildDiscoveryOccurrence(); + o.dsseAttestation = buildDSSEAttestationOccurrence(); + o.envelope = buildEnvelope(); o.image = buildImageOccurrence(); o.kind = 'foo'; o.name = 'foo'; @@ -1161,6 +1418,8 @@ void checkOccurrence(api.Occurrence o) { ); checkDeploymentOccurrence(o.deployment!); checkDiscoveryOccurrence(o.discovery!); + checkDSSEAttestationOccurrence(o.dsseAttestation!); + checkEnvelope(o.envelope!); checkImageOccurrence(o.image!); unittest.expect( o.kind!, @@ -1193,7 +1452,7 @@ void checkOccurrence(api.Occurrence o) { buildCounterOccurrence--; } -core.Map buildUnnamed614() => { +core.Map buildUnnamed634() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1206,7 +1465,7 @@ core.Map buildUnnamed614() => { }, }; -void checkUnnamed614(core.Map o) { +void checkUnnamed634(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1238,7 +1497,7 @@ void checkUnnamed614(core.Map o) { ); } -core.Map buildUnnamed615() => { +core.Map buildUnnamed635() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1251,7 +1510,7 @@ core.Map buildUnnamed615() => { }, }; -void checkUnnamed615(core.Map o) { +void checkUnnamed635(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1290,9 +1549,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed614(); + o.metadata = buildUnnamed634(); o.name = 'foo'; - o.response = buildUnnamed615(); + o.response = buildUnnamed635(); } buildCounterOperation--; return o; @@ -1303,12 +1562,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed614(o.metadata!); + checkUnnamed634(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed615(o.response!); + checkUnnamed635(o.response!); } buildCounterOperation--; } @@ -1373,10 +1632,12 @@ api.PackageIssue buildPackageIssue() { o.affectedCpeUri = 'foo'; o.affectedPackage = 'foo'; o.affectedVersion = buildVersion(); + o.effectiveSeverity = 'foo'; o.fixAvailable = true; o.fixedCpeUri = 'foo'; o.fixedPackage = 'foo'; o.fixedVersion = buildVersion(); + o.packageType = 'foo'; } buildCounterPackageIssue--; return o; @@ -1394,6 +1655,10 @@ void checkPackageIssue(api.PackageIssue o) { unittest.equals('foo'), ); checkVersion(o.affectedVersion!); + unittest.expect( + o.effectiveSeverity!, + unittest.equals('foo'), + ); unittest.expect(o.fixAvailable!, unittest.isTrue); unittest.expect( o.fixedCpeUri!, @@ -1404,16 +1669,20 @@ void checkPackageIssue(api.PackageIssue o) { unittest.equals('foo'), ); checkVersion(o.fixedVersion!); + unittest.expect( + o.packageType!, + unittest.equals('foo'), + ); } buildCounterPackageIssue--; } -core.List buildUnnamed616() => [ +core.List buildUnnamed636() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed616(core.List o) { +void checkUnnamed636(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1424,7 +1693,7 @@ api.PackageOccurrence buildPackageOccurrence() { final o = api.PackageOccurrence(); buildCounterPackageOccurrence++; if (buildCounterPackageOccurrence < 3) { - o.location = buildUnnamed616(); + o.location = buildUnnamed636(); o.name = 'foo'; } buildCounterPackageOccurrence--; @@ -1434,7 +1703,7 @@ api.PackageOccurrence buildPackageOccurrence() { void checkPackageOccurrence(api.PackageOccurrence o) { buildCounterPackageOccurrence++; if (buildCounterPackageOccurrence < 3) { - checkUnnamed616(o.location!); + checkUnnamed636(o.location!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1470,6 +1739,154 @@ void checkProjectRepoId(api.ProjectRepoId o) { buildCounterProjectRepoId--; } +core.Map buildUnnamed637() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed637(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed638() => [ + buildUnnamed637(), + buildUnnamed637(), + ]; + +void checkUnnamed638(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed637(o[0]); + checkUnnamed637(o[1]); +} + +core.Map buildUnnamed639() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed639(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); + unittest.expect( + casted7['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted7['bool'], + unittest.equals(true), + ); + unittest.expect( + casted7['string'], + unittest.equals('foo'), + ); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); + unittest.expect( + casted8['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted8['bool'], + unittest.equals(true), + ); + unittest.expect( + casted8['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed640() => [ + buildUnnamed639(), + buildUnnamed639(), + ]; + +void checkUnnamed640(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed639(o[0]); + checkUnnamed639(o[1]); +} + +core.int buildCounterRecipe = 0; +api.Recipe buildRecipe() { + final o = api.Recipe(); + buildCounterRecipe++; + if (buildCounterRecipe < 3) { + o.arguments = buildUnnamed638(); + o.definedInMaterial = 'foo'; + o.entryPoint = 'foo'; + o.environment = buildUnnamed640(); + o.type = 'foo'; + } + buildCounterRecipe--; + return o; +} + +void checkRecipe(api.Recipe o) { + buildCounterRecipe++; + if (buildCounterRecipe < 3) { + checkUnnamed638(o.arguments!); + unittest.expect( + o.definedInMaterial!, + unittest.equals('foo'), + ); + unittest.expect( + o.entryPoint!, + unittest.equals('foo'), + ); + checkUnnamed640(o.environment!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterRecipe--; +} + core.int buildCounterRelatedUrl = 0; api.RelatedUrl buildRelatedUrl() { final o = api.RelatedUrl(); @@ -1548,23 +1965,23 @@ void checkSignature(api.Signature o) { buildCounterSignature--; } -core.List buildUnnamed617() => [ +core.List buildUnnamed641() => [ buildSourceContext(), buildSourceContext(), ]; -void checkUnnamed617(core.List o) { +void checkUnnamed641(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceContext(o[0]); checkSourceContext(o[1]); } -core.Map buildUnnamed618() => { +core.Map buildUnnamed642() => { 'x': buildFileHashes(), 'y': buildFileHashes(), }; -void checkUnnamed618(core.Map o) { +void checkUnnamed642(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFileHashes(o['x']!); checkFileHashes(o['y']!); @@ -1575,10 +1992,10 @@ api.Source buildSource() { final o = api.Source(); buildCounterSource++; if (buildCounterSource < 3) { - o.additionalContexts = buildUnnamed617(); + o.additionalContexts = buildUnnamed641(); o.artifactStorageSourceUri = 'foo'; o.context = buildSourceContext(); - o.fileHashes = buildUnnamed618(); + o.fileHashes = buildUnnamed642(); } buildCounterSource--; return o; @@ -1587,23 +2004,23 @@ api.Source buildSource() { void checkSource(api.Source o) { buildCounterSource++; if (buildCounterSource < 3) { - checkUnnamed617(o.additionalContexts!); + checkUnnamed641(o.additionalContexts!); unittest.expect( o.artifactStorageSourceUri!, unittest.equals('foo'), ); checkSourceContext(o.context!); - checkUnnamed618(o.fileHashes!); + checkUnnamed642(o.fileHashes!); } buildCounterSource--; } -core.Map buildUnnamed619() => { +core.Map buildUnnamed643() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed619(core.Map o) { +void checkUnnamed643(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1623,7 +2040,7 @@ api.SourceContext buildSourceContext() { o.cloudRepo = buildCloudRepoSourceContext(); o.gerrit = buildGerritSourceContext(); o.git = buildGitSourceContext(); - o.labels = buildUnnamed619(); + o.labels = buildUnnamed643(); } buildCounterSourceContext--; return o; @@ -1635,12 +2052,12 @@ void checkSourceContext(api.SourceContext o) { checkCloudRepoSourceContext(o.cloudRepo!); checkGerritSourceContext(o.gerrit!); checkGitSourceContext(o.git!); - checkUnnamed619(o.labels!); + checkUnnamed643(o.labels!); } buildCounterSourceContext--; } -core.Map buildUnnamed620() => { +core.Map buildUnnamed644() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1653,47 +2070,47 @@ core.Map buildUnnamed620() => { }, }; -void checkUnnamed620(core.Map o) { +void checkUnnamed644(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o['x']!) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); + var casted9 = (o['x']!) as core.Map; + unittest.expect(casted9, unittest.hasLength(3)); unittest.expect( - casted5['list'], + casted9['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted5['bool'], + casted9['bool'], unittest.equals(true), ); unittest.expect( - casted5['string'], + casted9['string'], unittest.equals('foo'), ); - var casted6 = (o['y']!) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); + var casted10 = (o['y']!) as core.Map; + unittest.expect(casted10, unittest.hasLength(3)); unittest.expect( - casted6['list'], + casted10['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted6['bool'], + casted10['bool'], unittest.equals(true), ); unittest.expect( - casted6['string'], + casted10['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed621() => [ - buildUnnamed620(), - buildUnnamed620(), +core.List> buildUnnamed645() => [ + buildUnnamed644(), + buildUnnamed644(), ]; -void checkUnnamed621(core.List> o) { +void checkUnnamed645(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed620(o[0]); - checkUnnamed620(o[1]); + checkUnnamed644(o[0]); + checkUnnamed644(o[1]); } core.int buildCounterStatus = 0; @@ -1702,7 +2119,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed621(); + o.details = buildUnnamed645(); o.message = 'foo'; } buildCounterStatus--; @@ -1716,7 +2133,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed621(o.details!); + checkUnnamed645(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1725,12 +2142,53 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed622() => [ +core.Map buildUnnamed646() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed646(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterSubject = 0; +api.Subject buildSubject() { + final o = api.Subject(); + buildCounterSubject++; + if (buildCounterSubject < 3) { + o.digest = buildUnnamed646(); + o.name = 'foo'; + } + buildCounterSubject--; + return o; +} + +void checkSubject(api.Subject o) { + buildCounterSubject++; + if (buildCounterSubject < 3) { + checkUnnamed646(o.digest!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterSubject--; +} + +core.List buildUnnamed647() => [ 'foo', 'foo', ]; -void checkUnnamed622(core.List o) { +void checkUnnamed647(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1749,7 +2207,7 @@ api.UpgradeDistribution buildUpgradeDistribution() { if (buildCounterUpgradeDistribution < 3) { o.classification = 'foo'; o.cpeUri = 'foo'; - o.cve = buildUnnamed622(); + o.cve = buildUnnamed647(); o.severity = 'foo'; } buildCounterUpgradeDistribution--; @@ -1767,7 +2225,7 @@ void checkUpgradeDistribution(api.UpgradeDistribution o) { o.cpeUri!, unittest.equals('foo'), ); - checkUnnamed622(o.cve!); + checkUnnamed647(o.cve!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -1848,23 +2306,23 @@ void checkVersion(api.Version o) { buildCounterVersion--; } -core.List buildUnnamed623() => [ +core.List buildUnnamed648() => [ buildPackageIssue(), buildPackageIssue(), ]; -void checkUnnamed623(core.List o) { +void checkUnnamed648(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackageIssue(o[0]); checkPackageIssue(o[1]); } -core.List buildUnnamed624() => [ +core.List buildUnnamed649() => [ buildRelatedUrl(), buildRelatedUrl(), ]; -void checkUnnamed624(core.List o) { +void checkUnnamed649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelatedUrl(o[0]); checkRelatedUrl(o[1]); @@ -1879,8 +2337,8 @@ api.VulnerabilityOccurrence buildVulnerabilityOccurrence() { o.effectiveSeverity = 'foo'; o.fixAvailable = true; o.longDescription = 'foo'; - o.packageIssue = buildUnnamed623(); - o.relatedUrls = buildUnnamed624(); + o.packageIssue = buildUnnamed648(); + o.relatedUrls = buildUnnamed649(); o.severity = 'foo'; o.shortDescription = 'foo'; o.type = 'foo'; @@ -1905,8 +2363,8 @@ void checkVulnerabilityOccurrence(api.VulnerabilityOccurrence o) { o.longDescription!, unittest.equals('foo'), ); - checkUnnamed623(o.packageIssue!); - checkUnnamed624(o.relatedUrls!); + checkUnnamed648(o.packageIssue!); + checkUnnamed649(o.relatedUrls!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -1923,23 +2381,23 @@ void checkVulnerabilityOccurrence(api.VulnerabilityOccurrence o) { buildCounterVulnerabilityOccurrence--; } -core.List buildUnnamed625() => [ +core.List buildUnnamed650() => [ buildCategory(), buildCategory(), ]; -void checkUnnamed625(core.List o) { +void checkUnnamed650(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCategory(o[0]); checkCategory(o[1]); } -core.List buildUnnamed626() => [ +core.List buildUnnamed651() => [ 'foo', 'foo', ]; -void checkUnnamed626(core.List o) { +void checkUnnamed651(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1956,10 +2414,10 @@ api.WindowsUpdate buildWindowsUpdate() { final o = api.WindowsUpdate(); buildCounterWindowsUpdate++; if (buildCounterWindowsUpdate < 3) { - o.categories = buildUnnamed625(); + o.categories = buildUnnamed650(); o.description = 'foo'; o.identity = buildIdentity(); - o.kbArticleIds = buildUnnamed626(); + o.kbArticleIds = buildUnnamed651(); o.lastPublishedTimestamp = 'foo'; o.supportUrl = 'foo'; o.title = 'foo'; @@ -1971,13 +2429,13 @@ api.WindowsUpdate buildWindowsUpdate() { void checkWindowsUpdate(api.WindowsUpdate o) { buildCounterWindowsUpdate++; if (buildCounterWindowsUpdate < 3) { - checkUnnamed625(o.categories!); + checkUnnamed650(o.categories!); unittest.expect( o.description!, unittest.equals('foo'), ); checkIdentity(o.identity!); - checkUnnamed626(o.kbArticleIds!); + checkUnnamed651(o.kbArticleIds!); unittest.expect( o.lastPublishedTimestamp!, unittest.equals('foo'), @@ -2095,6 +2553,16 @@ void main() { }); }); + unittest.group('obj-schema-BuilderConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildBuilderConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BuilderConfig.fromJson( + oJson as core.Map); + checkBuilderConfig(od); + }); + }); + unittest.group('obj-schema-Category', () { unittest.test('to-json--from-json', () async { final o = buildCategory(); @@ -2125,6 +2593,16 @@ void main() { }); }); + unittest.group('obj-schema-Completeness', () { + unittest.test('to-json--from-json', () async { + final o = buildCompleteness(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Completeness.fromJson( + oJson as core.Map); + checkCompleteness(od); + }); + }); + unittest.group('obj-schema-ComplianceOccurrence', () { unittest.test('to-json--from-json', () async { final o = buildComplianceOccurrence(); @@ -2135,6 +2613,16 @@ void main() { }); }); + unittest.group('obj-schema-DSSEAttestationOccurrence', () { + unittest.test('to-json--from-json', () async { + final o = buildDSSEAttestationOccurrence(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DSSEAttestationOccurrence.fromJson( + oJson as core.Map); + checkDSSEAttestationOccurrence(od); + }); + }); + unittest.group('obj-schema-DeploymentOccurrence', () { unittest.test('to-json--from-json', () async { final o = buildDeploymentOccurrence(); @@ -2165,6 +2653,26 @@ void main() { }); }); + unittest.group('obj-schema-Envelope', () { + unittest.test('to-json--from-json', () async { + final o = buildEnvelope(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Envelope.fromJson(oJson as core.Map); + checkEnvelope(od); + }); + }); + + unittest.group('obj-schema-EnvelopeSignature', () { + unittest.test('to-json--from-json', () async { + final o = buildEnvelopeSignature(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EnvelopeSignature.fromJson( + oJson as core.Map); + checkEnvelopeSignature(od); + }); + }); + unittest.group('obj-schema-FileHashes', () { unittest.test('to-json--from-json', () async { final o = buildFileHashes(); @@ -2235,6 +2743,26 @@ void main() { }); }); + unittest.group('obj-schema-InTotoProvenance', () { + unittest.test('to-json--from-json', () async { + final o = buildInTotoProvenance(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InTotoProvenance.fromJson( + oJson as core.Map); + checkInTotoProvenance(od); + }); + }); + + unittest.group('obj-schema-InTotoStatement', () { + unittest.test('to-json--from-json', () async { + final o = buildInTotoStatement(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InTotoStatement.fromJson( + oJson as core.Map); + checkInTotoStatement(od); + }); + }); + unittest.group('obj-schema-Jwt', () { unittest.test('to-json--from-json', () async { final o = buildJwt(); @@ -2284,6 +2812,16 @@ void main() { }); }); + unittest.group('obj-schema-Metadata', () { + unittest.test('to-json--from-json', () async { + final o = buildMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Metadata.fromJson(oJson as core.Map); + checkMetadata(od); + }); + }); + unittest.group('obj-schema-NonCompliantFile', () { unittest.test('to-json--from-json', () async { final o = buildNonCompliantFile(); @@ -2354,6 +2892,16 @@ void main() { }); }); + unittest.group('obj-schema-Recipe', () { + unittest.test('to-json--from-json', () async { + final o = buildRecipe(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Recipe.fromJson(oJson as core.Map); + checkRecipe(od); + }); + }); + unittest.group('obj-schema-RelatedUrl', () { unittest.test('to-json--from-json', () async { final o = buildRelatedUrl(); @@ -2414,6 +2962,16 @@ void main() { }); }); + unittest.group('obj-schema-Subject', () { + unittest.test('to-json--from-json', () async { + final o = buildSubject(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Subject.fromJson(oJson as core.Map); + checkSubject(od); + }); + }); + unittest.group('obj-schema-UpgradeDistribution', () { unittest.test('to-json--from-json', () async { final o = buildUpgradeDistribution(); diff --git a/generated/googleapis/test/orgpolicy/v2_test.dart b/generated/googleapis/test/orgpolicy/v2_test.dart index f6997cc2d..692e1c39c 100644 --- a/generated/googleapis/test/orgpolicy/v2_test.dart +++ b/generated/googleapis/test/orgpolicy/v2_test.dart @@ -110,12 +110,12 @@ void checkGoogleCloudOrgpolicyV2ConstraintListConstraint( buildCounterGoogleCloudOrgpolicyV2ConstraintListConstraint--; } -core.List buildUnnamed4686() => [ +core.List buildUnnamed4699() => [ buildGoogleCloudOrgpolicyV2Constraint(), buildGoogleCloudOrgpolicyV2Constraint(), ]; -void checkUnnamed4686(core.List o) { +void checkUnnamed4699(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2Constraint(o[0]); checkGoogleCloudOrgpolicyV2Constraint(o[1]); @@ -127,7 +127,7 @@ api.GoogleCloudOrgpolicyV2ListConstraintsResponse final o = api.GoogleCloudOrgpolicyV2ListConstraintsResponse(); buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse < 3) { - o.constraints = buildUnnamed4686(); + o.constraints = buildUnnamed4699(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse--; @@ -138,7 +138,7 @@ void checkGoogleCloudOrgpolicyV2ListConstraintsResponse( api.GoogleCloudOrgpolicyV2ListConstraintsResponse o) { buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse < 3) { - checkUnnamed4686(o.constraints!); + checkUnnamed4699(o.constraints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -147,12 +147,12 @@ void checkGoogleCloudOrgpolicyV2ListConstraintsResponse( buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse--; } -core.List buildUnnamed4687() => [ +core.List buildUnnamed4700() => [ buildGoogleCloudOrgpolicyV2Policy(), buildGoogleCloudOrgpolicyV2Policy(), ]; -void checkUnnamed4687(core.List o) { +void checkUnnamed4700(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2Policy(o[0]); checkGoogleCloudOrgpolicyV2Policy(o[1]); @@ -165,7 +165,7 @@ api.GoogleCloudOrgpolicyV2ListPoliciesResponse buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.policies = buildUnnamed4687(); + o.policies = buildUnnamed4700(); } buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse--; return o; @@ -179,7 +179,7 @@ void checkGoogleCloudOrgpolicyV2ListPoliciesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4687(o.policies!); + checkUnnamed4700(o.policies!); } buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse--; } @@ -208,13 +208,13 @@ void checkGoogleCloudOrgpolicyV2Policy(api.GoogleCloudOrgpolicyV2Policy o) { buildCounterGoogleCloudOrgpolicyV2Policy--; } -core.List buildUnnamed4688() => +core.List buildUnnamed4701() => [ buildGoogleCloudOrgpolicyV2PolicySpecPolicyRule(), buildGoogleCloudOrgpolicyV2PolicySpecPolicyRule(), ]; -void checkUnnamed4688( +void checkUnnamed4701( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2PolicySpecPolicyRule(o[0]); @@ -229,7 +229,7 @@ api.GoogleCloudOrgpolicyV2PolicySpec buildGoogleCloudOrgpolicyV2PolicySpec() { o.etag = 'foo'; o.inheritFromParent = true; o.reset = true; - o.rules = buildUnnamed4688(); + o.rules = buildUnnamed4701(); o.updateTime = 'foo'; } buildCounterGoogleCloudOrgpolicyV2PolicySpec--; @@ -246,7 +246,7 @@ void checkGoogleCloudOrgpolicyV2PolicySpec( ); unittest.expect(o.inheritFromParent!, unittest.isTrue); unittest.expect(o.reset!, unittest.isTrue); - checkUnnamed4688(o.rules!); + checkUnnamed4701(o.rules!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -284,12 +284,12 @@ void checkGoogleCloudOrgpolicyV2PolicySpecPolicyRule( buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRule--; } -core.List buildUnnamed4689() => [ +core.List buildUnnamed4702() => [ 'foo', 'foo', ]; -void checkUnnamed4689(core.List o) { +void checkUnnamed4702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -301,12 +301,12 @@ void checkUnnamed4689(core.List o) { ); } -core.List buildUnnamed4690() => [ +core.List buildUnnamed4703() => [ 'foo', 'foo', ]; -void checkUnnamed4690(core.List o) { +void checkUnnamed4703(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -324,8 +324,8 @@ api.GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues final o = api.GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues(); buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues++; if (buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues < 3) { - o.allowedValues = buildUnnamed4689(); - o.deniedValues = buildUnnamed4690(); + o.allowedValues = buildUnnamed4702(); + o.deniedValues = buildUnnamed4703(); } buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues--; return o; @@ -335,8 +335,8 @@ void checkGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues( api.GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues o) { buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues++; if (buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues < 3) { - checkUnnamed4689(o.allowedValues!); - checkUnnamed4690(o.deniedValues!); + checkUnnamed4702(o.allowedValues!); + checkUnnamed4703(o.deniedValues!); } buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues--; } diff --git a/generated/googleapis/test/osconfig/v1_test.dart b/generated/googleapis/test/osconfig/v1_test.dart index 0de8df4c2..8b1843bbd 100644 --- a/generated/googleapis/test/osconfig/v1_test.dart +++ b/generated/googleapis/test/osconfig/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3192() => [ +core.List buildUnnamed3088() => [ 'foo', 'foo', ]; -void checkUnnamed3192(core.List o) { +void checkUnnamed3088(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed3192(core.List o) { ); } -core.List buildUnnamed3193() => [ +core.List buildUnnamed3089() => [ 'foo', 'foo', ]; -void checkUnnamed3193(core.List o) { +void checkUnnamed3089(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -65,8 +65,8 @@ api.AptSettings buildAptSettings() { final o = api.AptSettings(); buildCounterAptSettings++; if (buildCounterAptSettings < 3) { - o.excludes = buildUnnamed3192(); - o.exclusivePackages = buildUnnamed3193(); + o.excludes = buildUnnamed3088(); + o.exclusivePackages = buildUnnamed3089(); o.type = 'foo'; } buildCounterAptSettings--; @@ -76,8 +76,8 @@ api.AptSettings buildAptSettings() { void checkAptSettings(api.AptSettings o) { buildCounterAptSettings++; if (buildCounterAptSettings < 3) { - checkUnnamed3192(o.excludes!); - checkUnnamed3193(o.exclusivePackages!); + checkUnnamed3088(o.excludes!); + checkUnnamed3089(o.exclusivePackages!); unittest.expect( o.type!, unittest.equals('foo'), @@ -86,6 +86,78 @@ void checkAptSettings(api.AptSettings o) { buildCounterAptSettings--; } +core.int buildCounterCVSSv3 = 0; +api.CVSSv3 buildCVSSv3() { + final o = api.CVSSv3(); + buildCounterCVSSv3++; + if (buildCounterCVSSv3 < 3) { + o.attackComplexity = 'foo'; + o.attackVector = 'foo'; + o.availabilityImpact = 'foo'; + o.baseScore = 42.0; + o.confidentialityImpact = 'foo'; + o.exploitabilityScore = 42.0; + o.impactScore = 42.0; + o.integrityImpact = 'foo'; + o.privilegesRequired = 'foo'; + o.scope = 'foo'; + o.userInteraction = 'foo'; + } + buildCounterCVSSv3--; + return o; +} + +void checkCVSSv3(api.CVSSv3 o) { + buildCounterCVSSv3++; + if (buildCounterCVSSv3 < 3) { + unittest.expect( + o.attackComplexity!, + unittest.equals('foo'), + ); + unittest.expect( + o.attackVector!, + unittest.equals('foo'), + ); + unittest.expect( + o.availabilityImpact!, + unittest.equals('foo'), + ); + unittest.expect( + o.baseScore!, + unittest.equals(42.0), + ); + unittest.expect( + o.confidentialityImpact!, + unittest.equals('foo'), + ); + unittest.expect( + o.exploitabilityScore!, + unittest.equals(42.0), + ); + unittest.expect( + o.impactScore!, + unittest.equals(42.0), + ); + unittest.expect( + o.integrityImpact!, + unittest.equals('foo'), + ); + unittest.expect( + o.privilegesRequired!, + unittest.equals('foo'), + ); + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + unittest.expect( + o.userInteraction!, + unittest.equals('foo'), + ); + } + buildCounterCVSSv3--; +} + core.int buildCounterCancelPatchJobRequest = 0; api.CancelPatchJobRequest buildCancelPatchJobRequest() { final o = api.CancelPatchJobRequest(); @@ -137,12 +209,12 @@ void checkExecStep(api.ExecStep o) { buildCounterExecStep--; } -core.List buildUnnamed3194() => [ +core.List buildUnnamed3090() => [ 42, 42, ]; -void checkUnnamed3194(core.List o) { +void checkUnnamed3090(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -159,7 +231,7 @@ api.ExecStepConfig buildExecStepConfig() { final o = api.ExecStepConfig(); buildCounterExecStepConfig++; if (buildCounterExecStepConfig < 3) { - o.allowedSuccessCodes = buildUnnamed3194(); + o.allowedSuccessCodes = buildUnnamed3090(); o.gcsObject = buildGcsObject(); o.interpreter = 'foo'; o.localPath = 'foo'; @@ -171,7 +243,7 @@ api.ExecStepConfig buildExecStepConfig() { void checkExecStepConfig(api.ExecStepConfig o) { buildCounterExecStepConfig++; if (buildCounterExecStepConfig < 3) { - checkUnnamed3194(o.allowedSuccessCodes!); + checkUnnamed3090(o.allowedSuccessCodes!); checkGcsObject(o.gcsObject!); unittest.expect( o.interpreter!, @@ -299,12 +371,12 @@ void checkGooSettings(api.GooSettings o) { buildCounterGooSettings--; } -core.Map buildUnnamed3195() => { +core.Map buildUnnamed3091() => { 'x': buildInventoryItem(), 'y': buildInventoryItem(), }; -void checkUnnamed3195(core.Map o) { +void checkUnnamed3091(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryItem(o['x']!); checkInventoryItem(o['y']!); @@ -315,8 +387,10 @@ api.Inventory buildInventory() { final o = api.Inventory(); buildCounterInventory++; if (buildCounterInventory < 3) { - o.items = buildUnnamed3195(); + o.items = buildUnnamed3091(); + o.name = 'foo'; o.osInfo = buildInventoryOsInfo(); + o.updateTime = 'foo'; } buildCounterInventory--; return o; @@ -325,8 +399,16 @@ api.Inventory buildInventory() { void checkInventory(api.Inventory o) { buildCounterInventory++; if (buildCounterInventory < 3) { - checkUnnamed3195(o.items!); + checkUnnamed3091(o.items!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); checkInventoryOsInfo(o.osInfo!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); } buildCounterInventory--; } @@ -539,24 +621,24 @@ void checkInventoryWindowsQuickFixEngineeringPackage( } core.List - buildUnnamed3196() => [ + buildUnnamed3092() => [ buildInventoryWindowsUpdatePackageWindowsUpdateCategory(), buildInventoryWindowsUpdatePackageWindowsUpdateCategory(), ]; -void checkUnnamed3196( +void checkUnnamed3092( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryWindowsUpdatePackageWindowsUpdateCategory(o[0]); checkInventoryWindowsUpdatePackageWindowsUpdateCategory(o[1]); } -core.List buildUnnamed3197() => [ +core.List buildUnnamed3093() => [ 'foo', 'foo', ]; -void checkUnnamed3197(core.List o) { +void checkUnnamed3093(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -568,12 +650,12 @@ void checkUnnamed3197(core.List o) { ); } -core.List buildUnnamed3198() => [ +core.List buildUnnamed3094() => [ 'foo', 'foo', ]; -void checkUnnamed3198(core.List o) { +void checkUnnamed3094(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -590,11 +672,11 @@ api.InventoryWindowsUpdatePackage buildInventoryWindowsUpdatePackage() { final o = api.InventoryWindowsUpdatePackage(); buildCounterInventoryWindowsUpdatePackage++; if (buildCounterInventoryWindowsUpdatePackage < 3) { - o.categories = buildUnnamed3196(); + o.categories = buildUnnamed3092(); o.description = 'foo'; - o.kbArticleIds = buildUnnamed3197(); + o.kbArticleIds = buildUnnamed3093(); o.lastDeploymentChangeTime = 'foo'; - o.moreInfoUrls = buildUnnamed3198(); + o.moreInfoUrls = buildUnnamed3094(); o.revisionNumber = 42; o.supportUrl = 'foo'; o.title = 'foo'; @@ -607,17 +689,17 @@ api.InventoryWindowsUpdatePackage buildInventoryWindowsUpdatePackage() { void checkInventoryWindowsUpdatePackage(api.InventoryWindowsUpdatePackage o) { buildCounterInventoryWindowsUpdatePackage++; if (buildCounterInventoryWindowsUpdatePackage < 3) { - checkUnnamed3196(o.categories!); + checkUnnamed3092(o.categories!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed3197(o.kbArticleIds!); + checkUnnamed3093(o.kbArticleIds!); unittest.expect( o.lastDeploymentChangeTime!, unittest.equals('foo'), ); - checkUnnamed3198(o.moreInfoUrls!); + checkUnnamed3094(o.moreInfoUrls!); unittest.expect( o.revisionNumber!, unittest.equals(42), @@ -704,47 +786,47 @@ void checkInventoryZypperPatch(api.InventoryZypperPatch o) { buildCounterInventoryZypperPatch--; } -core.List buildUnnamed3199() => [ - buildOperation(), - buildOperation(), +core.List buildUnnamed3095() => [ + buildInventory(), + buildInventory(), ]; -void checkUnnamed3199(core.List o) { +void checkUnnamed3095(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkOperation(o[0]); - checkOperation(o[1]); + checkInventory(o[0]); + checkInventory(o[1]); } -core.int buildCounterListOperationsResponse = 0; -api.ListOperationsResponse buildListOperationsResponse() { - final o = api.ListOperationsResponse(); - buildCounterListOperationsResponse++; - if (buildCounterListOperationsResponse < 3) { +core.int buildCounterListInventoriesResponse = 0; +api.ListInventoriesResponse buildListInventoriesResponse() { + final o = api.ListInventoriesResponse(); + buildCounterListInventoriesResponse++; + if (buildCounterListInventoriesResponse < 3) { + o.inventories = buildUnnamed3095(); o.nextPageToken = 'foo'; - o.operations = buildUnnamed3199(); } - buildCounterListOperationsResponse--; + buildCounterListInventoriesResponse--; return o; } -void checkListOperationsResponse(api.ListOperationsResponse o) { - buildCounterListOperationsResponse++; - if (buildCounterListOperationsResponse < 3) { +void checkListInventoriesResponse(api.ListInventoriesResponse o) { + buildCounterListInventoriesResponse++; + if (buildCounterListInventoriesResponse < 3) { + checkUnnamed3095(o.inventories!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3199(o.operations!); } - buildCounterListOperationsResponse--; + buildCounterListInventoriesResponse--; } -core.List buildUnnamed3200() => [ +core.List buildUnnamed3096() => [ buildPatchDeployment(), buildPatchDeployment(), ]; -void checkUnnamed3200(core.List o) { +void checkUnnamed3096(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPatchDeployment(o[0]); checkPatchDeployment(o[1]); @@ -756,7 +838,7 @@ api.ListPatchDeploymentsResponse buildListPatchDeploymentsResponse() { buildCounterListPatchDeploymentsResponse++; if (buildCounterListPatchDeploymentsResponse < 3) { o.nextPageToken = 'foo'; - o.patchDeployments = buildUnnamed3200(); + o.patchDeployments = buildUnnamed3096(); } buildCounterListPatchDeploymentsResponse--; return o; @@ -769,17 +851,17 @@ void checkListPatchDeploymentsResponse(api.ListPatchDeploymentsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3200(o.patchDeployments!); + checkUnnamed3096(o.patchDeployments!); } buildCounterListPatchDeploymentsResponse--; } -core.List buildUnnamed3201() => [ +core.List buildUnnamed3097() => [ buildPatchJobInstanceDetails(), buildPatchJobInstanceDetails(), ]; -void checkUnnamed3201(core.List o) { +void checkUnnamed3097(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPatchJobInstanceDetails(o[0]); checkPatchJobInstanceDetails(o[1]); @@ -792,7 +874,7 @@ api.ListPatchJobInstanceDetailsResponse buildCounterListPatchJobInstanceDetailsResponse++; if (buildCounterListPatchJobInstanceDetailsResponse < 3) { o.nextPageToken = 'foo'; - o.patchJobInstanceDetails = buildUnnamed3201(); + o.patchJobInstanceDetails = buildUnnamed3097(); } buildCounterListPatchJobInstanceDetailsResponse--; return o; @@ -806,17 +888,17 @@ void checkListPatchJobInstanceDetailsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3201(o.patchJobInstanceDetails!); + checkUnnamed3097(o.patchJobInstanceDetails!); } buildCounterListPatchJobInstanceDetailsResponse--; } -core.List buildUnnamed3202() => [ +core.List buildUnnamed3098() => [ buildPatchJob(), buildPatchJob(), ]; -void checkUnnamed3202(core.List o) { +void checkUnnamed3098(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPatchJob(o[0]); checkPatchJob(o[1]); @@ -828,7 +910,7 @@ api.ListPatchJobsResponse buildListPatchJobsResponse() { buildCounterListPatchJobsResponse++; if (buildCounterListPatchJobsResponse < 3) { o.nextPageToken = 'foo'; - o.patchJobs = buildUnnamed3202(); + o.patchJobs = buildUnnamed3098(); } buildCounterListPatchJobsResponse--; return o; @@ -841,11 +923,47 @@ void checkListPatchJobsResponse(api.ListPatchJobsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3202(o.patchJobs!); + checkUnnamed3098(o.patchJobs!); } buildCounterListPatchJobsResponse--; } +core.List buildUnnamed3099() => [ + buildVulnerabilityReport(), + buildVulnerabilityReport(), + ]; + +void checkUnnamed3099(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVulnerabilityReport(o[0]); + checkVulnerabilityReport(o[1]); +} + +core.int buildCounterListVulnerabilityReportsResponse = 0; +api.ListVulnerabilityReportsResponse buildListVulnerabilityReportsResponse() { + final o = api.ListVulnerabilityReportsResponse(); + buildCounterListVulnerabilityReportsResponse++; + if (buildCounterListVulnerabilityReportsResponse < 3) { + o.nextPageToken = 'foo'; + o.vulnerabilityReports = buildUnnamed3099(); + } + buildCounterListVulnerabilityReportsResponse--; + return o; +} + +void checkListVulnerabilityReportsResponse( + api.ListVulnerabilityReportsResponse o) { + buildCounterListVulnerabilityReportsResponse++; + if (buildCounterListVulnerabilityReportsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed3099(o.vulnerabilityReports!); + } + buildCounterListVulnerabilityReportsResponse--; +} + core.int buildCounterMonthlySchedule = 0; api.MonthlySchedule buildMonthlySchedule() { final o = api.MonthlySchedule(); @@ -936,126 +1054,6 @@ void checkOneTimeSchedule(api.OneTimeSchedule o) { buildCounterOneTimeSchedule--; } -core.Map buildUnnamed3203() => { - 'x': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - 'y': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - }; - -void checkUnnamed3203(core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - var casted1 = (o['x']!) as core.Map; - unittest.expect(casted1, unittest.hasLength(3)); - unittest.expect( - casted1['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted1['bool'], - unittest.equals(true), - ); - unittest.expect( - casted1['string'], - unittest.equals('foo'), - ); - var casted2 = (o['y']!) as core.Map; - unittest.expect(casted2, unittest.hasLength(3)); - unittest.expect( - casted2['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted2['bool'], - unittest.equals(true), - ); - unittest.expect( - casted2['string'], - unittest.equals('foo'), - ); -} - -core.Map buildUnnamed3204() => { - 'x': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - 'y': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - }; - -void checkUnnamed3204(core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - var casted3 = (o['x']!) as core.Map; - unittest.expect(casted3, unittest.hasLength(3)); - unittest.expect( - casted3['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted3['bool'], - unittest.equals(true), - ); - unittest.expect( - casted3['string'], - unittest.equals('foo'), - ); - var casted4 = (o['y']!) as core.Map; - unittest.expect(casted4, unittest.hasLength(3)); - unittest.expect( - casted4['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted4['bool'], - unittest.equals(true), - ); - unittest.expect( - casted4['string'], - unittest.equals('foo'), - ); -} - -core.int buildCounterOperation = 0; -api.Operation buildOperation() { - final o = api.Operation(); - buildCounterOperation++; - if (buildCounterOperation < 3) { - o.done = true; - o.error = buildStatus(); - o.metadata = buildUnnamed3203(); - o.name = 'foo'; - o.response = buildUnnamed3204(); - } - buildCounterOperation--; - return o; -} - -void checkOperation(api.Operation o) { - buildCounterOperation++; - if (buildCounterOperation < 3) { - unittest.expect(o.done!, unittest.isTrue); - checkStatus(o.error!); - checkUnnamed3203(o.metadata!); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - checkUnnamed3204(o.response!); - } - buildCounterOperation--; -} - core.int buildCounterPatchConfig = 0; api.PatchConfig buildPatchConfig() { final o = api.PatchConfig(); @@ -1149,23 +1147,23 @@ void checkPatchDeployment(api.PatchDeployment o) { buildCounterPatchDeployment--; } -core.List buildUnnamed3205() => [ +core.List buildUnnamed3100() => [ buildPatchInstanceFilterGroupLabel(), buildPatchInstanceFilterGroupLabel(), ]; -void checkUnnamed3205(core.List o) { +void checkUnnamed3100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPatchInstanceFilterGroupLabel(o[0]); checkPatchInstanceFilterGroupLabel(o[1]); } -core.List buildUnnamed3206() => [ +core.List buildUnnamed3101() => [ 'foo', 'foo', ]; -void checkUnnamed3206(core.List o) { +void checkUnnamed3101(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1177,12 +1175,12 @@ void checkUnnamed3206(core.List o) { ); } -core.List buildUnnamed3207() => [ +core.List buildUnnamed3102() => [ 'foo', 'foo', ]; -void checkUnnamed3207(core.List o) { +void checkUnnamed3102(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1194,12 +1192,12 @@ void checkUnnamed3207(core.List o) { ); } -core.List buildUnnamed3208() => [ +core.List buildUnnamed3103() => [ 'foo', 'foo', ]; -void checkUnnamed3208(core.List o) { +void checkUnnamed3103(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1217,10 +1215,10 @@ api.PatchInstanceFilter buildPatchInstanceFilter() { buildCounterPatchInstanceFilter++; if (buildCounterPatchInstanceFilter < 3) { o.all = true; - o.groupLabels = buildUnnamed3205(); - o.instanceNamePrefixes = buildUnnamed3206(); - o.instances = buildUnnamed3207(); - o.zones = buildUnnamed3208(); + o.groupLabels = buildUnnamed3100(); + o.instanceNamePrefixes = buildUnnamed3101(); + o.instances = buildUnnamed3102(); + o.zones = buildUnnamed3103(); } buildCounterPatchInstanceFilter--; return o; @@ -1230,20 +1228,20 @@ void checkPatchInstanceFilter(api.PatchInstanceFilter o) { buildCounterPatchInstanceFilter++; if (buildCounterPatchInstanceFilter < 3) { unittest.expect(o.all!, unittest.isTrue); - checkUnnamed3205(o.groupLabels!); - checkUnnamed3206(o.instanceNamePrefixes!); - checkUnnamed3207(o.instances!); - checkUnnamed3208(o.zones!); + checkUnnamed3100(o.groupLabels!); + checkUnnamed3101(o.instanceNamePrefixes!); + checkUnnamed3102(o.instances!); + checkUnnamed3103(o.zones!); } buildCounterPatchInstanceFilter--; } -core.Map buildUnnamed3209() => { +core.Map buildUnnamed3104() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3209(core.Map o) { +void checkUnnamed3104(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1260,7 +1258,7 @@ api.PatchInstanceFilterGroupLabel buildPatchInstanceFilterGroupLabel() { final o = api.PatchInstanceFilterGroupLabel(); buildCounterPatchInstanceFilterGroupLabel++; if (buildCounterPatchInstanceFilterGroupLabel < 3) { - o.labels = buildUnnamed3209(); + o.labels = buildUnnamed3104(); } buildCounterPatchInstanceFilterGroupLabel--; return o; @@ -1269,7 +1267,7 @@ api.PatchInstanceFilterGroupLabel buildPatchInstanceFilterGroupLabel() { void checkPatchInstanceFilterGroupLabel(api.PatchInstanceFilterGroupLabel o) { buildCounterPatchInstanceFilterGroupLabel++; if (buildCounterPatchInstanceFilterGroupLabel < 3) { - checkUnnamed3209(o.labels!); + checkUnnamed3104(o.labels!); } buildCounterPatchInstanceFilterGroupLabel--; } @@ -1559,91 +1557,6 @@ void checkRecurringSchedule(api.RecurringSchedule o) { buildCounterRecurringSchedule--; } -core.Map buildUnnamed3210() => { - 'x': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - 'y': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - }; - -void checkUnnamed3210(core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o['x']!) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); - unittest.expect( - casted5['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted5['bool'], - unittest.equals(true), - ); - unittest.expect( - casted5['string'], - unittest.equals('foo'), - ); - var casted6 = (o['y']!) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); - unittest.expect( - casted6['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted6['bool'], - unittest.equals(true), - ); - unittest.expect( - casted6['string'], - unittest.equals('foo'), - ); -} - -core.List> buildUnnamed3211() => [ - buildUnnamed3210(), - buildUnnamed3210(), - ]; - -void checkUnnamed3211(core.List> o) { - unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3210(o[0]); - checkUnnamed3210(o[1]); -} - -core.int buildCounterStatus = 0; -api.Status buildStatus() { - final o = api.Status(); - buildCounterStatus++; - if (buildCounterStatus < 3) { - o.code = 42; - o.details = buildUnnamed3211(); - o.message = 'foo'; - } - buildCounterStatus--; - return o; -} - -void checkStatus(api.Status o) { - buildCounterStatus++; - if (buildCounterStatus < 3) { - unittest.expect( - o.code!, - unittest.equals(42), - ); - checkUnnamed3211(o.details!); - unittest.expect( - o.message!, - unittest.equals('foo'), - ); - } - buildCounterStatus--; -} - core.int buildCounterTimeOfDay = 0; api.TimeOfDay buildTimeOfDay() { final o = api.TimeOfDay(); @@ -1708,6 +1621,199 @@ void checkTimeZone(api.TimeZone o) { buildCounterTimeZone--; } +core.List buildUnnamed3105() => [ + buildVulnerabilityReportVulnerability(), + buildVulnerabilityReportVulnerability(), + ]; + +void checkUnnamed3105(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVulnerabilityReportVulnerability(o[0]); + checkVulnerabilityReportVulnerability(o[1]); +} + +core.int buildCounterVulnerabilityReport = 0; +api.VulnerabilityReport buildVulnerabilityReport() { + final o = api.VulnerabilityReport(); + buildCounterVulnerabilityReport++; + if (buildCounterVulnerabilityReport < 3) { + o.name = 'foo'; + o.updateTime = 'foo'; + o.vulnerabilities = buildUnnamed3105(); + } + buildCounterVulnerabilityReport--; + return o; +} + +void checkVulnerabilityReport(api.VulnerabilityReport o) { + buildCounterVulnerabilityReport++; + if (buildCounterVulnerabilityReport < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + checkUnnamed3105(o.vulnerabilities!); + } + buildCounterVulnerabilityReport--; +} + +core.List buildUnnamed3106() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3106(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3107() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3107(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterVulnerabilityReportVulnerability = 0; +api.VulnerabilityReportVulnerability buildVulnerabilityReportVulnerability() { + final o = api.VulnerabilityReportVulnerability(); + buildCounterVulnerabilityReportVulnerability++; + if (buildCounterVulnerabilityReportVulnerability < 3) { + o.availableInventoryItemIds = buildUnnamed3106(); + o.createTime = 'foo'; + o.details = buildVulnerabilityReportVulnerabilityDetails(); + o.installedInventoryItemIds = buildUnnamed3107(); + o.updateTime = 'foo'; + } + buildCounterVulnerabilityReportVulnerability--; + return o; +} + +void checkVulnerabilityReportVulnerability( + api.VulnerabilityReportVulnerability o) { + buildCounterVulnerabilityReportVulnerability++; + if (buildCounterVulnerabilityReportVulnerability < 3) { + checkUnnamed3106(o.availableInventoryItemIds!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + checkVulnerabilityReportVulnerabilityDetails(o.details!); + checkUnnamed3107(o.installedInventoryItemIds!); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterVulnerabilityReportVulnerability--; +} + +core.List + buildUnnamed3108() => [ + buildVulnerabilityReportVulnerabilityDetailsReference(), + buildVulnerabilityReportVulnerabilityDetailsReference(), + ]; + +void checkUnnamed3108( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVulnerabilityReportVulnerabilityDetailsReference(o[0]); + checkVulnerabilityReportVulnerabilityDetailsReference(o[1]); +} + +core.int buildCounterVulnerabilityReportVulnerabilityDetails = 0; +api.VulnerabilityReportVulnerabilityDetails + buildVulnerabilityReportVulnerabilityDetails() { + final o = api.VulnerabilityReportVulnerabilityDetails(); + buildCounterVulnerabilityReportVulnerabilityDetails++; + if (buildCounterVulnerabilityReportVulnerabilityDetails < 3) { + o.cve = 'foo'; + o.cvssV2Score = 42.0; + o.cvssV3 = buildCVSSv3(); + o.description = 'foo'; + o.references = buildUnnamed3108(); + o.severity = 'foo'; + } + buildCounterVulnerabilityReportVulnerabilityDetails--; + return o; +} + +void checkVulnerabilityReportVulnerabilityDetails( + api.VulnerabilityReportVulnerabilityDetails o) { + buildCounterVulnerabilityReportVulnerabilityDetails++; + if (buildCounterVulnerabilityReportVulnerabilityDetails < 3) { + unittest.expect( + o.cve!, + unittest.equals('foo'), + ); + unittest.expect( + o.cvssV2Score!, + unittest.equals(42.0), + ); + checkCVSSv3(o.cvssV3!); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkUnnamed3108(o.references!); + unittest.expect( + o.severity!, + unittest.equals('foo'), + ); + } + buildCounterVulnerabilityReportVulnerabilityDetails--; +} + +core.int buildCounterVulnerabilityReportVulnerabilityDetailsReference = 0; +api.VulnerabilityReportVulnerabilityDetailsReference + buildVulnerabilityReportVulnerabilityDetailsReference() { + final o = api.VulnerabilityReportVulnerabilityDetailsReference(); + buildCounterVulnerabilityReportVulnerabilityDetailsReference++; + if (buildCounterVulnerabilityReportVulnerabilityDetailsReference < 3) { + o.source = 'foo'; + o.url = 'foo'; + } + buildCounterVulnerabilityReportVulnerabilityDetailsReference--; + return o; +} + +void checkVulnerabilityReportVulnerabilityDetailsReference( + api.VulnerabilityReportVulnerabilityDetailsReference o) { + buildCounterVulnerabilityReportVulnerabilityDetailsReference++; + if (buildCounterVulnerabilityReportVulnerabilityDetailsReference < 3) { + unittest.expect( + o.source!, + unittest.equals('foo'), + ); + unittest.expect( + o.url!, + unittest.equals('foo'), + ); + } + buildCounterVulnerabilityReportVulnerabilityDetailsReference--; +} + core.int buildCounterWeekDayOfMonth = 0; api.WeekDayOfMonth buildWeekDayOfMonth() { final o = api.WeekDayOfMonth(); @@ -1757,12 +1863,12 @@ void checkWeeklySchedule(api.WeeklySchedule o) { buildCounterWeeklySchedule--; } -core.List buildUnnamed3212() => [ +core.List buildUnnamed3109() => [ 'foo', 'foo', ]; -void checkUnnamed3212(core.List o) { +void checkUnnamed3109(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1774,12 +1880,12 @@ void checkUnnamed3212(core.List o) { ); } -core.List buildUnnamed3213() => [ +core.List buildUnnamed3110() => [ 'foo', 'foo', ]; -void checkUnnamed3213(core.List o) { +void checkUnnamed3110(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1791,12 +1897,12 @@ void checkUnnamed3213(core.List o) { ); } -core.List buildUnnamed3214() => [ +core.List buildUnnamed3111() => [ 'foo', 'foo', ]; -void checkUnnamed3214(core.List o) { +void checkUnnamed3111(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1813,9 +1919,9 @@ api.WindowsUpdateSettings buildWindowsUpdateSettings() { final o = api.WindowsUpdateSettings(); buildCounterWindowsUpdateSettings++; if (buildCounterWindowsUpdateSettings < 3) { - o.classifications = buildUnnamed3212(); - o.excludes = buildUnnamed3213(); - o.exclusivePatches = buildUnnamed3214(); + o.classifications = buildUnnamed3109(); + o.excludes = buildUnnamed3110(); + o.exclusivePatches = buildUnnamed3111(); } buildCounterWindowsUpdateSettings--; return o; @@ -1824,19 +1930,19 @@ api.WindowsUpdateSettings buildWindowsUpdateSettings() { void checkWindowsUpdateSettings(api.WindowsUpdateSettings o) { buildCounterWindowsUpdateSettings++; if (buildCounterWindowsUpdateSettings < 3) { - checkUnnamed3212(o.classifications!); - checkUnnamed3213(o.excludes!); - checkUnnamed3214(o.exclusivePatches!); + checkUnnamed3109(o.classifications!); + checkUnnamed3110(o.excludes!); + checkUnnamed3111(o.exclusivePatches!); } buildCounterWindowsUpdateSettings--; } -core.List buildUnnamed3215() => [ +core.List buildUnnamed3112() => [ 'foo', 'foo', ]; -void checkUnnamed3215(core.List o) { +void checkUnnamed3112(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1848,12 +1954,12 @@ void checkUnnamed3215(core.List o) { ); } -core.List buildUnnamed3216() => [ +core.List buildUnnamed3113() => [ 'foo', 'foo', ]; -void checkUnnamed3216(core.List o) { +void checkUnnamed3113(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1870,8 +1976,8 @@ api.YumSettings buildYumSettings() { final o = api.YumSettings(); buildCounterYumSettings++; if (buildCounterYumSettings < 3) { - o.excludes = buildUnnamed3215(); - o.exclusivePackages = buildUnnamed3216(); + o.excludes = buildUnnamed3112(); + o.exclusivePackages = buildUnnamed3113(); o.minimal = true; o.security = true; } @@ -1882,20 +1988,20 @@ api.YumSettings buildYumSettings() { void checkYumSettings(api.YumSettings o) { buildCounterYumSettings++; if (buildCounterYumSettings < 3) { - checkUnnamed3215(o.excludes!); - checkUnnamed3216(o.exclusivePackages!); + checkUnnamed3112(o.excludes!); + checkUnnamed3113(o.exclusivePackages!); unittest.expect(o.minimal!, unittest.isTrue); unittest.expect(o.security!, unittest.isTrue); } buildCounterYumSettings--; } -core.List buildUnnamed3217() => [ +core.List buildUnnamed3114() => [ 'foo', 'foo', ]; -void checkUnnamed3217(core.List o) { +void checkUnnamed3114(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1907,12 +2013,12 @@ void checkUnnamed3217(core.List o) { ); } -core.List buildUnnamed3218() => [ +core.List buildUnnamed3115() => [ 'foo', 'foo', ]; -void checkUnnamed3218(core.List o) { +void checkUnnamed3115(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1924,12 +2030,12 @@ void checkUnnamed3218(core.List o) { ); } -core.List buildUnnamed3219() => [ +core.List buildUnnamed3116() => [ 'foo', 'foo', ]; -void checkUnnamed3219(core.List o) { +void checkUnnamed3116(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1941,12 +2047,12 @@ void checkUnnamed3219(core.List o) { ); } -core.List buildUnnamed3220() => [ +core.List buildUnnamed3117() => [ 'foo', 'foo', ]; -void checkUnnamed3220(core.List o) { +void checkUnnamed3117(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1963,10 +2069,10 @@ api.ZypperSettings buildZypperSettings() { final o = api.ZypperSettings(); buildCounterZypperSettings++; if (buildCounterZypperSettings < 3) { - o.categories = buildUnnamed3217(); - o.excludes = buildUnnamed3218(); - o.exclusivePatches = buildUnnamed3219(); - o.severities = buildUnnamed3220(); + o.categories = buildUnnamed3114(); + o.excludes = buildUnnamed3115(); + o.exclusivePatches = buildUnnamed3116(); + o.severities = buildUnnamed3117(); o.withOptional = true; o.withUpdate = true; } @@ -1977,10 +2083,10 @@ api.ZypperSettings buildZypperSettings() { void checkZypperSettings(api.ZypperSettings o) { buildCounterZypperSettings++; if (buildCounterZypperSettings < 3) { - checkUnnamed3217(o.categories!); - checkUnnamed3218(o.excludes!); - checkUnnamed3219(o.exclusivePatches!); - checkUnnamed3220(o.severities!); + checkUnnamed3114(o.categories!); + checkUnnamed3115(o.excludes!); + checkUnnamed3116(o.exclusivePatches!); + checkUnnamed3117(o.severities!); unittest.expect(o.withOptional!, unittest.isTrue); unittest.expect(o.withUpdate!, unittest.isTrue); } @@ -1998,6 +2104,16 @@ void main() { }); }); + unittest.group('obj-schema-CVSSv3', () { + unittest.test('to-json--from-json', () async { + final o = buildCVSSv3(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.CVSSv3.fromJson(oJson as core.Map); + checkCVSSv3(od); + }); + }); + unittest.group('obj-schema-CancelPatchJobRequest', () { unittest.test('to-json--from-json', () async { final o = buildCancelPatchJobRequest(); @@ -2170,13 +2286,13 @@ void main() { }); }); - unittest.group('obj-schema-ListOperationsResponse', () { + unittest.group('obj-schema-ListInventoriesResponse', () { unittest.test('to-json--from-json', () async { - final o = buildListOperationsResponse(); + final o = buildListInventoriesResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.ListOperationsResponse.fromJson( + final od = api.ListInventoriesResponse.fromJson( oJson as core.Map); - checkListOperationsResponse(od); + checkListInventoriesResponse(od); }); }); @@ -2210,6 +2326,16 @@ void main() { }); }); + unittest.group('obj-schema-ListVulnerabilityReportsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListVulnerabilityReportsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListVulnerabilityReportsResponse.fromJson( + oJson as core.Map); + checkListVulnerabilityReportsResponse(od); + }); + }); + unittest.group('obj-schema-MonthlySchedule', () { unittest.test('to-json--from-json', () async { final o = buildMonthlySchedule(); @@ -2240,16 +2366,6 @@ void main() { }); }); - unittest.group('obj-schema-Operation', () { - unittest.test('to-json--from-json', () async { - final o = buildOperation(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Operation.fromJson(oJson as core.Map); - checkOperation(od); - }); - }); - unittest.group('obj-schema-PatchConfig', () { unittest.test('to-json--from-json', () async { final o = buildPatchConfig(); @@ -2340,16 +2456,6 @@ void main() { }); }); - unittest.group('obj-schema-Status', () { - unittest.test('to-json--from-json', () async { - final o = buildStatus(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Status.fromJson(oJson as core.Map); - checkStatus(od); - }); - }); - unittest.group('obj-schema-TimeOfDay', () { unittest.test('to-json--from-json', () async { final o = buildTimeOfDay(); @@ -2370,6 +2476,47 @@ void main() { }); }); + unittest.group('obj-schema-VulnerabilityReport', () { + unittest.test('to-json--from-json', () async { + final o = buildVulnerabilityReport(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VulnerabilityReport.fromJson( + oJson as core.Map); + checkVulnerabilityReport(od); + }); + }); + + unittest.group('obj-schema-VulnerabilityReportVulnerability', () { + unittest.test('to-json--from-json', () async { + final o = buildVulnerabilityReportVulnerability(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VulnerabilityReportVulnerability.fromJson( + oJson as core.Map); + checkVulnerabilityReportVulnerability(od); + }); + }); + + unittest.group('obj-schema-VulnerabilityReportVulnerabilityDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildVulnerabilityReportVulnerabilityDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VulnerabilityReportVulnerabilityDetails.fromJson( + oJson as core.Map); + checkVulnerabilityReportVulnerabilityDetails(od); + }); + }); + + unittest.group('obj-schema-VulnerabilityReportVulnerabilityDetailsReference', + () { + unittest.test('to-json--from-json', () async { + final o = buildVulnerabilityReportVulnerabilityDetailsReference(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VulnerabilityReportVulnerabilityDetailsReference.fromJson( + oJson as core.Map); + checkVulnerabilityReportVulnerabilityDetailsReference(od); + }); + }); + unittest.group('obj-schema-WeekDayOfMonth', () { unittest.test('to-json--from-json', () async { final o = buildWeekDayOfMonth(); @@ -2420,11 +2567,13 @@ void main() { }); }); - unittest.group('resource-OperationsResource', () { - unittest.test('method--delete', () async { + unittest.group('resource-ProjectsLocationsInstancesInventoriesResource', () { + unittest.test('method--get', () async { final mock = HttpServerMock(); - final res = api.OSConfigApi(mock).operations; + final res = + api.OSConfigApi(mock).projects.locations.instances.inventories; final arg_name = 'foo'; + final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2458,6 +2607,10 @@ void main() { ); } } + unittest.expect( + queryMap['view']!.first, + unittest.equals(arg_view), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -2466,17 +2619,159 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildEmpty()); + final resp = convert.json.encode(buildInventory()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.delete(arg_name, $fields: arg_$fields); - checkEmpty(response as api.Empty); + final response = + await res.get(arg_name, view: arg_view, $fields: arg_$fields); + checkInventory(response as api.Inventory); }); unittest.test('method--list', () async { final mock = HttpServerMock(); - final res = api.OSConfigApi(mock).operations; + final res = + api.OSConfigApi(mock).projects.locations.instances.inventories; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_view = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['view']!.first, + unittest.equals(arg_view), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListInventoriesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + view: arg_view, + $fields: arg_$fields); + checkListInventoriesResponse(response as api.ListInventoriesResponse); + }); + }); + + unittest.group( + 'resource-ProjectsLocationsInstancesVulnerabilityReportsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.OSConfigApi(mock) + .projects + .locations + .instances + .vulnerabilityReports; final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildVulnerabilityReport()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkVulnerabilityReport(response as api.VulnerabilityReport); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.OSConfigApi(mock) + .projects + .locations + .instances + .vulnerabilityReports; + final arg_parent = 'foo'; final arg_filter = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; @@ -2533,15 +2828,17 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildListOperationsResponse()); + final resp = + convert.json.encode(buildListVulnerabilityReportsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.list(arg_name, + final response = await res.list(arg_parent, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken, $fields: arg_$fields); - checkListOperationsResponse(response as api.ListOperationsResponse); + checkListVulnerabilityReportsResponse( + response as api.ListVulnerabilityReportsResponse); }); }); diff --git a/generated/googleapis/test/oslogin/v1_test.dart b/generated/googleapis/test/oslogin/v1_test.dart index d5b334007..3d13734b2 100644 --- a/generated/googleapis/test/oslogin/v1_test.dart +++ b/generated/googleapis/test/oslogin/v1_test.dart @@ -65,23 +65,23 @@ void checkImportSshPublicKeyResponse(api.ImportSshPublicKeyResponse o) { buildCounterImportSshPublicKeyResponse--; } -core.List buildUnnamed3592() => [ +core.List buildUnnamed3497() => [ buildPosixAccount(), buildPosixAccount(), ]; -void checkUnnamed3592(core.List o) { +void checkUnnamed3497(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPosixAccount(o[0]); checkPosixAccount(o[1]); } -core.Map buildUnnamed3593() => { +core.Map buildUnnamed3498() => { 'x': buildSshPublicKey(), 'y': buildSshPublicKey(), }; -void checkUnnamed3593(core.Map o) { +void checkUnnamed3498(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkSshPublicKey(o['x']!); checkSshPublicKey(o['y']!); @@ -93,8 +93,8 @@ api.LoginProfile buildLoginProfile() { buildCounterLoginProfile++; if (buildCounterLoginProfile < 3) { o.name = 'foo'; - o.posixAccounts = buildUnnamed3592(); - o.sshPublicKeys = buildUnnamed3593(); + o.posixAccounts = buildUnnamed3497(); + o.sshPublicKeys = buildUnnamed3498(); } buildCounterLoginProfile--; return o; @@ -107,8 +107,8 @@ void checkLoginProfile(api.LoginProfile o) { o.name!, unittest.equals('foo'), ); - checkUnnamed3592(o.posixAccounts!); - checkUnnamed3593(o.sshPublicKeys!); + checkUnnamed3497(o.posixAccounts!); + checkUnnamed3498(o.sshPublicKeys!); } buildCounterLoginProfile--; } diff --git a/generated/googleapis/test/pagespeedonline/v5_test.dart b/generated/googleapis/test/pagespeedonline/v5_test.dart index 85b8ff6ab..5573e0d10 100644 --- a/generated/googleapis/test/pagespeedonline/v5_test.dart +++ b/generated/googleapis/test/pagespeedonline/v5_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3221() => [ +core.List buildUnnamed3118() => [ 'foo', 'foo', ]; -void checkUnnamed3221(core.List o) { +void checkUnnamed3118(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -51,7 +51,7 @@ api.AuditRefs buildAuditRefs() { o.acronym = 'foo'; o.group = 'foo'; o.id = 'foo'; - o.relevantAudits = buildUnnamed3221(); + o.relevantAudits = buildUnnamed3118(); o.weight = 42.0; } buildCounterAuditRefs--; @@ -73,7 +73,7 @@ void checkAuditRefs(api.AuditRefs o) { o.id!, unittest.equals('foo'), ); - checkUnnamed3221(o.relevantAudits!); + checkUnnamed3118(o.relevantAudits!); unittest.expect( o.weight!, unittest.equals(42.0), @@ -275,7 +275,7 @@ void checkI18n(api.I18n o) { buildCounterI18n--; } -core.Map buildUnnamed3222() => { +core.Map buildUnnamed3119() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -288,7 +288,7 @@ core.Map buildUnnamed3222() => { }, }; -void checkUnnamed3222(core.Map o) { +void checkUnnamed3119(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted2 = (o['x']!) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); @@ -326,7 +326,7 @@ api.LighthouseAuditResultV5 buildLighthouseAuditResultV5() { buildCounterLighthouseAuditResultV5++; if (buildCounterLighthouseAuditResultV5 < 3) { o.description = 'foo'; - o.details = buildUnnamed3222(); + o.details = buildUnnamed3119(); o.displayValue = 'foo'; o.errorMessage = 'foo'; o.explanation = 'foo'; @@ -357,7 +357,7 @@ void checkLighthouseAuditResultV5(api.LighthouseAuditResultV5 o) { o.description!, unittest.equals('foo'), ); - checkUnnamed3222(o.details!); + checkUnnamed3119(o.details!); unittest.expect( o.displayValue!, unittest.equals('foo'), @@ -422,12 +422,12 @@ void checkLighthouseAuditResultV5(api.LighthouseAuditResultV5 o) { buildCounterLighthouseAuditResultV5--; } -core.List buildUnnamed3223() => [ +core.List buildUnnamed3120() => [ buildAuditRefs(), buildAuditRefs(), ]; -void checkUnnamed3223(core.List o) { +void checkUnnamed3120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditRefs(o[0]); checkAuditRefs(o[1]); @@ -438,7 +438,7 @@ api.LighthouseCategoryV5 buildLighthouseCategoryV5() { final o = api.LighthouseCategoryV5(); buildCounterLighthouseCategoryV5++; if (buildCounterLighthouseCategoryV5 < 3) { - o.auditRefs = buildUnnamed3223(); + o.auditRefs = buildUnnamed3120(); o.description = 'foo'; o.id = 'foo'; o.manualDescription = 'foo'; @@ -456,7 +456,7 @@ api.LighthouseCategoryV5 buildLighthouseCategoryV5() { void checkLighthouseCategoryV5(api.LighthouseCategoryV5 o) { buildCounterLighthouseCategoryV5++; if (buildCounterLighthouseCategoryV5 < 3) { - checkUnnamed3223(o.auditRefs!); + checkUnnamed3120(o.auditRefs!); unittest.expect( o.description!, unittest.equals('foo'), @@ -491,29 +491,29 @@ void checkLighthouseCategoryV5(api.LighthouseCategoryV5 o) { buildCounterLighthouseCategoryV5--; } -core.Map buildUnnamed3224() => { +core.Map buildUnnamed3121() => { 'x': buildLighthouseAuditResultV5(), 'y': buildLighthouseAuditResultV5(), }; -void checkUnnamed3224(core.Map o) { +void checkUnnamed3121(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkLighthouseAuditResultV5(o['x']!); checkLighthouseAuditResultV5(o['y']!); } -core.Map buildUnnamed3225() => { +core.Map buildUnnamed3122() => { 'x': buildCategoryGroupV5(), 'y': buildCategoryGroupV5(), }; -void checkUnnamed3225(core.Map o) { +void checkUnnamed3122(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkCategoryGroupV5(o['x']!); checkCategoryGroupV5(o['y']!); } -core.List buildUnnamed3226() => [ +core.List buildUnnamed3123() => [ { 'list': [1, 2, 3], 'bool': true, @@ -526,7 +526,7 @@ core.List buildUnnamed3226() => [ }, ]; -void checkUnnamed3226(core.List o) { +void checkUnnamed3123(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -558,12 +558,12 @@ void checkUnnamed3226(core.List o) { ); } -core.List buildUnnamed3227() => [ +core.List buildUnnamed3124() => [ buildStackPack(), buildStackPack(), ]; -void checkUnnamed3227(core.List o) { +void checkUnnamed3124(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStackPack(o[0]); checkStackPack(o[1]); @@ -574,9 +574,9 @@ api.LighthouseResultV5 buildLighthouseResultV5() { final o = api.LighthouseResultV5(); buildCounterLighthouseResultV5++; if (buildCounterLighthouseResultV5 < 3) { - o.audits = buildUnnamed3224(); + o.audits = buildUnnamed3121(); o.categories = buildCategories(); - o.categoryGroups = buildUnnamed3225(); + o.categoryGroups = buildUnnamed3122(); o.configSettings = buildConfigSettings(); o.environment = buildEnvironment(); o.fetchTime = 'foo'; @@ -584,9 +584,9 @@ api.LighthouseResultV5 buildLighthouseResultV5() { o.i18n = buildI18n(); o.lighthouseVersion = 'foo'; o.requestedUrl = 'foo'; - o.runWarnings = buildUnnamed3226(); + o.runWarnings = buildUnnamed3123(); o.runtimeError = buildRuntimeError(); - o.stackPacks = buildUnnamed3227(); + o.stackPacks = buildUnnamed3124(); o.timing = buildTiming(); o.userAgent = 'foo'; } @@ -597,9 +597,9 @@ api.LighthouseResultV5 buildLighthouseResultV5() { void checkLighthouseResultV5(api.LighthouseResultV5 o) { buildCounterLighthouseResultV5++; if (buildCounterLighthouseResultV5 < 3) { - checkUnnamed3224(o.audits!); + checkUnnamed3121(o.audits!); checkCategories(o.categories!); - checkUnnamed3225(o.categoryGroups!); + checkUnnamed3122(o.categoryGroups!); checkConfigSettings(o.configSettings!); checkEnvironment(o.environment!); unittest.expect( @@ -619,9 +619,9 @@ void checkLighthouseResultV5(api.LighthouseResultV5 o) { o.requestedUrl!, unittest.equals('foo'), ); - checkUnnamed3226(o.runWarnings!); + checkUnnamed3123(o.runWarnings!); checkRuntimeError(o.runtimeError!); - checkUnnamed3227(o.stackPacks!); + checkUnnamed3124(o.stackPacks!); checkTiming(o.timing!); unittest.expect( o.userAgent!, @@ -631,12 +631,12 @@ void checkLighthouseResultV5(api.LighthouseResultV5 o) { buildCounterLighthouseResultV5--; } -core.Map buildUnnamed3228() => { +core.Map buildUnnamed3125() => { 'x': buildUserPageLoadMetricV5(), 'y': buildUserPageLoadMetricV5(), }; -void checkUnnamed3228(core.Map o) { +void checkUnnamed3125(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkUserPageLoadMetricV5(o['x']!); checkUserPageLoadMetricV5(o['y']!); @@ -649,7 +649,7 @@ api.PagespeedApiLoadingExperienceV5 buildPagespeedApiLoadingExperienceV5() { if (buildCounterPagespeedApiLoadingExperienceV5 < 3) { o.id = 'foo'; o.initialUrl = 'foo'; - o.metrics = buildUnnamed3228(); + o.metrics = buildUnnamed3125(); o.originFallback = true; o.overallCategory = 'foo'; } @@ -669,7 +669,7 @@ void checkPagespeedApiLoadingExperienceV5( o.initialUrl!, unittest.equals('foo'), ); - checkUnnamed3228(o.metrics!); + checkUnnamed3125(o.metrics!); unittest.expect(o.originFallback!, unittest.isTrue); unittest.expect( o.overallCategory!, @@ -1036,12 +1036,12 @@ void checkRuntimeError(api.RuntimeError o) { buildCounterRuntimeError--; } -core.Map buildUnnamed3229() => { +core.Map buildUnnamed3126() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3229(core.Map o) { +void checkUnnamed3126(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1058,7 +1058,7 @@ api.StackPack buildStackPack() { final o = api.StackPack(); buildCounterStackPack++; if (buildCounterStackPack < 3) { - o.descriptions = buildUnnamed3229(); + o.descriptions = buildUnnamed3126(); o.iconDataURL = 'foo'; o.id = 'foo'; o.title = 'foo'; @@ -1070,7 +1070,7 @@ api.StackPack buildStackPack() { void checkStackPack(api.StackPack o) { buildCounterStackPack++; if (buildCounterStackPack < 3) { - checkUnnamed3229(o.descriptions!); + checkUnnamed3126(o.descriptions!); unittest.expect( o.iconDataURL!, unittest.equals('foo'), @@ -1109,12 +1109,12 @@ void checkTiming(api.Timing o) { buildCounterTiming--; } -core.List buildUnnamed3230() => [ +core.List buildUnnamed3127() => [ buildBucket(), buildBucket(), ]; -void checkUnnamed3230(core.List o) { +void checkUnnamed3127(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucket(o[0]); checkBucket(o[1]); @@ -1126,7 +1126,7 @@ api.UserPageLoadMetricV5 buildUserPageLoadMetricV5() { buildCounterUserPageLoadMetricV5++; if (buildCounterUserPageLoadMetricV5 < 3) { o.category = 'foo'; - o.distributions = buildUnnamed3230(); + o.distributions = buildUnnamed3127(); o.formFactor = 'foo'; o.median = 42; o.metricId = 'foo'; @@ -1143,7 +1143,7 @@ void checkUserPageLoadMetricV5(api.UserPageLoadMetricV5 o) { o.category!, unittest.equals('foo'), ); - checkUnnamed3230(o.distributions!); + checkUnnamed3127(o.distributions!); unittest.expect( o.formFactor!, unittest.equals('foo'), @@ -1164,12 +1164,12 @@ void checkUserPageLoadMetricV5(api.UserPageLoadMetricV5 o) { buildCounterUserPageLoadMetricV5--; } -core.List buildUnnamed3231() => [ +core.List buildUnnamed3128() => [ 'foo', 'foo', ]; -void checkUnnamed3231(core.List o) { +void checkUnnamed3128(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1368,7 +1368,7 @@ void main() { final res = api.PagespeedInsightsApi(mock).pagespeedapi; final arg_url = 'foo'; final arg_captchaToken = 'foo'; - final arg_category = buildUnnamed3231(); + final arg_category = buildUnnamed3128(); final arg_locale = 'foo'; final arg_strategy = 'foo'; final arg_utmCampaign = 'foo'; diff --git a/generated/googleapis/test/paymentsresellersubscription/v1_test.dart b/generated/googleapis/test/paymentsresellersubscription/v1_test.dart index ec2fb8a16..e76010f91 100644 --- a/generated/googleapis/test/paymentsresellersubscription/v1_test.dart +++ b/generated/googleapis/test/paymentsresellersubscription/v1_test.dart @@ -255,12 +255,12 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1Extension( } core.List - buildUnnamed5722() => [ + buildUnnamed5787() => [ buildGoogleCloudPaymentsResellerSubscriptionV1Product(), buildGoogleCloudPaymentsResellerSubscriptionV1Product(), ]; -void checkUnnamed5722( +void checkUnnamed5787( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPaymentsResellerSubscriptionV1Product(o[0]); @@ -277,7 +277,7 @@ api.GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse if (buildCounterGoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse < 3) { o.nextPageToken = 'foo'; - o.products = buildUnnamed5722(); + o.products = buildUnnamed5787(); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse--; return o; @@ -292,18 +292,18 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5722(o.products!); + checkUnnamed5787(o.products!); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse--; } core.List - buildUnnamed5723() => [ + buildUnnamed5788() => [ buildGoogleCloudPaymentsResellerSubscriptionV1Promotion(), buildGoogleCloudPaymentsResellerSubscriptionV1Promotion(), ]; -void checkUnnamed5723( +void checkUnnamed5788( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPaymentsResellerSubscriptionV1Promotion(o[0]); @@ -321,7 +321,7 @@ api.GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse if (buildCounterGoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse < 3) { o.nextPageToken = 'foo'; - o.promotions = buildUnnamed5723(); + o.promotions = buildUnnamed5788(); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse--; return o; @@ -336,7 +336,7 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5723(o.promotions!); + checkUnnamed5788(o.promotions!); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse--; } @@ -370,12 +370,12 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1Location( buildCounterGoogleCloudPaymentsResellerSubscriptionV1Location--; } -core.List buildUnnamed5724() => [ +core.List buildUnnamed5789() => [ 'foo', 'foo', ]; -void checkUnnamed5724(core.List o) { +void checkUnnamed5789(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -387,12 +387,12 @@ void checkUnnamed5724(core.List o) { ); } -core.List buildUnnamed5725() => [ +core.List buildUnnamed5790() => [ buildGoogleTypeLocalizedText(), buildGoogleTypeLocalizedText(), ]; -void checkUnnamed5725(core.List o) { +void checkUnnamed5790(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleTypeLocalizedText(o[0]); checkGoogleTypeLocalizedText(o[1]); @@ -405,10 +405,10 @@ api.GoogleCloudPaymentsResellerSubscriptionV1Product buildCounterGoogleCloudPaymentsResellerSubscriptionV1Product++; if (buildCounterGoogleCloudPaymentsResellerSubscriptionV1Product < 3) { o.name = 'foo'; - o.regionCodes = buildUnnamed5724(); + o.regionCodes = buildUnnamed5789(); o.subscriptionBillingCycleDuration = buildGoogleCloudPaymentsResellerSubscriptionV1Duration(); - o.titles = buildUnnamed5725(); + o.titles = buildUnnamed5790(); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1Product--; return o; @@ -422,20 +422,20 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1Product( o.name!, unittest.equals('foo'), ); - checkUnnamed5724(o.regionCodes!); + checkUnnamed5789(o.regionCodes!); checkGoogleCloudPaymentsResellerSubscriptionV1Duration( o.subscriptionBillingCycleDuration!); - checkUnnamed5725(o.titles!); + checkUnnamed5790(o.titles!); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1Product--; } -core.List buildUnnamed5726() => [ +core.List buildUnnamed5791() => [ 'foo', 'foo', ]; -void checkUnnamed5726(core.List o) { +void checkUnnamed5791(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -447,12 +447,12 @@ void checkUnnamed5726(core.List o) { ); } -core.List buildUnnamed5727() => [ +core.List buildUnnamed5792() => [ 'foo', 'foo', ]; -void checkUnnamed5727(core.List o) { +void checkUnnamed5792(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -464,12 +464,12 @@ void checkUnnamed5727(core.List o) { ); } -core.List buildUnnamed5728() => [ +core.List buildUnnamed5793() => [ buildGoogleTypeLocalizedText(), buildGoogleTypeLocalizedText(), ]; -void checkUnnamed5728(core.List o) { +void checkUnnamed5793(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleTypeLocalizedText(o[0]); checkGoogleTypeLocalizedText(o[1]); @@ -481,14 +481,14 @@ api.GoogleCloudPaymentsResellerSubscriptionV1Promotion final o = api.GoogleCloudPaymentsResellerSubscriptionV1Promotion(); buildCounterGoogleCloudPaymentsResellerSubscriptionV1Promotion++; if (buildCounterGoogleCloudPaymentsResellerSubscriptionV1Promotion < 3) { - o.applicableProducts = buildUnnamed5726(); + o.applicableProducts = buildUnnamed5791(); o.endTime = 'foo'; o.freeTrialDuration = buildGoogleCloudPaymentsResellerSubscriptionV1Duration(); o.name = 'foo'; - o.regionCodes = buildUnnamed5727(); + o.regionCodes = buildUnnamed5792(); o.startTime = 'foo'; - o.titles = buildUnnamed5728(); + o.titles = buildUnnamed5793(); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1Promotion--; return o; @@ -498,7 +498,7 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1Promotion( api.GoogleCloudPaymentsResellerSubscriptionV1Promotion o) { buildCounterGoogleCloudPaymentsResellerSubscriptionV1Promotion++; if (buildCounterGoogleCloudPaymentsResellerSubscriptionV1Promotion < 3) { - checkUnnamed5726(o.applicableProducts!); + checkUnnamed5791(o.applicableProducts!); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -509,22 +509,22 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1Promotion( o.name!, unittest.equals('foo'), ); - checkUnnamed5727(o.regionCodes!); + checkUnnamed5792(o.regionCodes!); unittest.expect( o.startTime!, unittest.equals('foo'), ); - checkUnnamed5728(o.titles!); + checkUnnamed5793(o.titles!); } buildCounterGoogleCloudPaymentsResellerSubscriptionV1Promotion--; } -core.List buildUnnamed5729() => [ +core.List buildUnnamed5794() => [ 'foo', 'foo', ]; -void checkUnnamed5729(core.List o) { +void checkUnnamed5794(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -536,12 +536,12 @@ void checkUnnamed5729(core.List o) { ); } -core.List buildUnnamed5730() => [ +core.List buildUnnamed5795() => [ 'foo', 'foo', ]; -void checkUnnamed5730(core.List o) { +void checkUnnamed5795(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -568,8 +568,8 @@ api.GoogleCloudPaymentsResellerSubscriptionV1Subscription o.name = 'foo'; o.partnerUserToken = 'foo'; o.processingState = 'foo'; - o.products = buildUnnamed5729(); - o.promotions = buildUnnamed5730(); + o.products = buildUnnamed5794(); + o.promotions = buildUnnamed5795(); o.redirectUri = 'foo'; o.serviceLocation = buildGoogleCloudPaymentsResellerSubscriptionV1Location(); @@ -613,8 +613,8 @@ void checkGoogleCloudPaymentsResellerSubscriptionV1Subscription( o.processingState!, unittest.equals('foo'), ); - checkUnnamed5729(o.products!); - checkUnnamed5730(o.promotions!); + checkUnnamed5794(o.products!); + checkUnnamed5795(o.promotions!); unittest.expect( o.redirectUri!, unittest.equals('foo'), diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart index d7450e3c0..b054f0447 100644 --- a/generated/googleapis/test/people/v1_test.dart +++ b/generated/googleapis/test/people/v1_test.dart @@ -124,23 +124,23 @@ void checkAgeRangeType(api.AgeRangeType o) { buildCounterAgeRangeType--; } -core.List buildUnnamed6302() => [ +core.List buildUnnamed6369() => [ buildContactToCreate(), buildContactToCreate(), ]; -void checkUnnamed6302(core.List o) { +void checkUnnamed6369(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactToCreate(o[0]); checkContactToCreate(o[1]); } -core.List buildUnnamed6303() => [ +core.List buildUnnamed6370() => [ 'foo', 'foo', ]; -void checkUnnamed6303(core.List o) { +void checkUnnamed6370(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -157,9 +157,9 @@ api.BatchCreateContactsRequest buildBatchCreateContactsRequest() { final o = api.BatchCreateContactsRequest(); buildCounterBatchCreateContactsRequest++; if (buildCounterBatchCreateContactsRequest < 3) { - o.contacts = buildUnnamed6302(); + o.contacts = buildUnnamed6369(); o.readMask = 'foo'; - o.sources = buildUnnamed6303(); + o.sources = buildUnnamed6370(); } buildCounterBatchCreateContactsRequest--; return o; @@ -168,22 +168,22 @@ api.BatchCreateContactsRequest buildBatchCreateContactsRequest() { void checkBatchCreateContactsRequest(api.BatchCreateContactsRequest o) { buildCounterBatchCreateContactsRequest++; if (buildCounterBatchCreateContactsRequest < 3) { - checkUnnamed6302(o.contacts!); + checkUnnamed6369(o.contacts!); unittest.expect( o.readMask!, unittest.equals('foo'), ); - checkUnnamed6303(o.sources!); + checkUnnamed6370(o.sources!); } buildCounterBatchCreateContactsRequest--; } -core.List buildUnnamed6304() => [ +core.List buildUnnamed6371() => [ buildPersonResponse(), buildPersonResponse(), ]; -void checkUnnamed6304(core.List o) { +void checkUnnamed6371(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPersonResponse(o[0]); checkPersonResponse(o[1]); @@ -194,7 +194,7 @@ api.BatchCreateContactsResponse buildBatchCreateContactsResponse() { final o = api.BatchCreateContactsResponse(); buildCounterBatchCreateContactsResponse++; if (buildCounterBatchCreateContactsResponse < 3) { - o.createdPeople = buildUnnamed6304(); + o.createdPeople = buildUnnamed6371(); } buildCounterBatchCreateContactsResponse--; return o; @@ -203,17 +203,17 @@ api.BatchCreateContactsResponse buildBatchCreateContactsResponse() { void checkBatchCreateContactsResponse(api.BatchCreateContactsResponse o) { buildCounterBatchCreateContactsResponse++; if (buildCounterBatchCreateContactsResponse < 3) { - checkUnnamed6304(o.createdPeople!); + checkUnnamed6371(o.createdPeople!); } buildCounterBatchCreateContactsResponse--; } -core.List buildUnnamed6305() => [ +core.List buildUnnamed6372() => [ 'foo', 'foo', ]; -void checkUnnamed6305(core.List o) { +void checkUnnamed6372(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -230,7 +230,7 @@ api.BatchDeleteContactsRequest buildBatchDeleteContactsRequest() { final o = api.BatchDeleteContactsRequest(); buildCounterBatchDeleteContactsRequest++; if (buildCounterBatchDeleteContactsRequest < 3) { - o.resourceNames = buildUnnamed6305(); + o.resourceNames = buildUnnamed6372(); } buildCounterBatchDeleteContactsRequest--; return o; @@ -239,17 +239,17 @@ api.BatchDeleteContactsRequest buildBatchDeleteContactsRequest() { void checkBatchDeleteContactsRequest(api.BatchDeleteContactsRequest o) { buildCounterBatchDeleteContactsRequest++; if (buildCounterBatchDeleteContactsRequest < 3) { - checkUnnamed6305(o.resourceNames!); + checkUnnamed6372(o.resourceNames!); } buildCounterBatchDeleteContactsRequest--; } -core.List buildUnnamed6306() => [ +core.List buildUnnamed6373() => [ buildContactGroupResponse(), buildContactGroupResponse(), ]; -void checkUnnamed6306(core.List o) { +void checkUnnamed6373(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactGroupResponse(o[0]); checkContactGroupResponse(o[1]); @@ -260,7 +260,7 @@ api.BatchGetContactGroupsResponse buildBatchGetContactGroupsResponse() { final o = api.BatchGetContactGroupsResponse(); buildCounterBatchGetContactGroupsResponse++; if (buildCounterBatchGetContactGroupsResponse < 3) { - o.responses = buildUnnamed6306(); + o.responses = buildUnnamed6373(); } buildCounterBatchGetContactGroupsResponse--; return o; @@ -269,28 +269,28 @@ api.BatchGetContactGroupsResponse buildBatchGetContactGroupsResponse() { void checkBatchGetContactGroupsResponse(api.BatchGetContactGroupsResponse o) { buildCounterBatchGetContactGroupsResponse++; if (buildCounterBatchGetContactGroupsResponse < 3) { - checkUnnamed6306(o.responses!); + checkUnnamed6373(o.responses!); } buildCounterBatchGetContactGroupsResponse--; } -core.Map buildUnnamed6307() => { +core.Map buildUnnamed6374() => { 'x': buildPerson(), 'y': buildPerson(), }; -void checkUnnamed6307(core.Map o) { +void checkUnnamed6374(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o['x']!); checkPerson(o['y']!); } -core.List buildUnnamed6308() => [ +core.List buildUnnamed6375() => [ 'foo', 'foo', ]; -void checkUnnamed6308(core.List o) { +void checkUnnamed6375(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -307,9 +307,9 @@ api.BatchUpdateContactsRequest buildBatchUpdateContactsRequest() { final o = api.BatchUpdateContactsRequest(); buildCounterBatchUpdateContactsRequest++; if (buildCounterBatchUpdateContactsRequest < 3) { - o.contacts = buildUnnamed6307(); + o.contacts = buildUnnamed6374(); o.readMask = 'foo'; - o.sources = buildUnnamed6308(); + o.sources = buildUnnamed6375(); o.updateMask = 'foo'; } buildCounterBatchUpdateContactsRequest--; @@ -319,12 +319,12 @@ api.BatchUpdateContactsRequest buildBatchUpdateContactsRequest() { void checkBatchUpdateContactsRequest(api.BatchUpdateContactsRequest o) { buildCounterBatchUpdateContactsRequest++; if (buildCounterBatchUpdateContactsRequest < 3) { - checkUnnamed6307(o.contacts!); + checkUnnamed6374(o.contacts!); unittest.expect( o.readMask!, unittest.equals('foo'), ); - checkUnnamed6308(o.sources!); + checkUnnamed6375(o.sources!); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -333,12 +333,12 @@ void checkBatchUpdateContactsRequest(api.BatchUpdateContactsRequest o) { buildCounterBatchUpdateContactsRequest--; } -core.Map buildUnnamed6309() => { +core.Map buildUnnamed6376() => { 'x': buildPersonResponse(), 'y': buildPersonResponse(), }; -void checkUnnamed6309(core.Map o) { +void checkUnnamed6376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPersonResponse(o['x']!); checkPersonResponse(o['y']!); @@ -349,7 +349,7 @@ api.BatchUpdateContactsResponse buildBatchUpdateContactsResponse() { final o = api.BatchUpdateContactsResponse(); buildCounterBatchUpdateContactsResponse++; if (buildCounterBatchUpdateContactsResponse < 3) { - o.updateResult = buildUnnamed6309(); + o.updateResult = buildUnnamed6376(); } buildCounterBatchUpdateContactsResponse--; return o; @@ -358,7 +358,7 @@ api.BatchUpdateContactsResponse buildBatchUpdateContactsResponse() { void checkBatchUpdateContactsResponse(api.BatchUpdateContactsResponse o) { buildCounterBatchUpdateContactsResponse++; if (buildCounterBatchUpdateContactsResponse < 3) { - checkUnnamed6309(o.updateResult!); + checkUnnamed6376(o.updateResult!); } buildCounterBatchUpdateContactsResponse--; } @@ -505,23 +505,23 @@ void checkClientData(api.ClientData o) { buildCounterClientData--; } -core.List buildUnnamed6310() => [ +core.List buildUnnamed6377() => [ buildGroupClientData(), buildGroupClientData(), ]; -void checkUnnamed6310(core.List o) { +void checkUnnamed6377(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupClientData(o[0]); checkGroupClientData(o[1]); } -core.List buildUnnamed6311() => [ +core.List buildUnnamed6378() => [ 'foo', 'foo', ]; -void checkUnnamed6311(core.List o) { +void checkUnnamed6378(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -538,12 +538,12 @@ api.ContactGroup buildContactGroup() { final o = api.ContactGroup(); buildCounterContactGroup++; if (buildCounterContactGroup < 3) { - o.clientData = buildUnnamed6310(); + o.clientData = buildUnnamed6377(); o.etag = 'foo'; o.formattedName = 'foo'; o.groupType = 'foo'; o.memberCount = 42; - o.memberResourceNames = buildUnnamed6311(); + o.memberResourceNames = buildUnnamed6378(); o.metadata = buildContactGroupMetadata(); o.name = 'foo'; o.resourceName = 'foo'; @@ -555,7 +555,7 @@ api.ContactGroup buildContactGroup() { void checkContactGroup(api.ContactGroup o) { buildCounterContactGroup++; if (buildCounterContactGroup < 3) { - checkUnnamed6310(o.clientData!); + checkUnnamed6377(o.clientData!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -572,7 +572,7 @@ void checkContactGroup(api.ContactGroup o) { o.memberCount!, unittest.equals(42), ); - checkUnnamed6311(o.memberResourceNames!); + checkUnnamed6378(o.memberResourceNames!); checkContactGroupMetadata(o.metadata!); unittest.expect( o.name!, @@ -682,12 +682,12 @@ void checkContactToCreate(api.ContactToCreate o) { buildCounterContactToCreate--; } -core.List buildUnnamed6312() => [ +core.List buildUnnamed6379() => [ 'foo', 'foo', ]; -void checkUnnamed6312(core.List o) { +void checkUnnamed6379(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -707,7 +707,7 @@ api.CopyOtherContactToMyContactsGroupRequest if (buildCounterCopyOtherContactToMyContactsGroupRequest < 3) { o.copyMask = 'foo'; o.readMask = 'foo'; - o.sources = buildUnnamed6312(); + o.sources = buildUnnamed6379(); } buildCounterCopyOtherContactToMyContactsGroupRequest--; return o; @@ -725,7 +725,7 @@ void checkCopyOtherContactToMyContactsGroupRequest( o.readMask!, unittest.equals('foo'), ); - checkUnnamed6312(o.sources!); + checkUnnamed6379(o.sources!); } buildCounterCopyOtherContactToMyContactsGroupRequest--; } @@ -1052,12 +1052,12 @@ void checkGender(api.Gender o) { buildCounterGender--; } -core.List buildUnnamed6313() => [ +core.List buildUnnamed6380() => [ buildPersonResponse(), buildPersonResponse(), ]; -void checkUnnamed6313(core.List o) { +void checkUnnamed6380(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPersonResponse(o[0]); checkPersonResponse(o[1]); @@ -1068,7 +1068,7 @@ api.GetPeopleResponse buildGetPeopleResponse() { final o = api.GetPeopleResponse(); buildCounterGetPeopleResponse++; if (buildCounterGetPeopleResponse < 3) { - o.responses = buildUnnamed6313(); + o.responses = buildUnnamed6380(); } buildCounterGetPeopleResponse--; return o; @@ -1077,7 +1077,7 @@ api.GetPeopleResponse buildGetPeopleResponse() { void checkGetPeopleResponse(api.GetPeopleResponse o) { buildCounterGetPeopleResponse++; if (buildCounterGetPeopleResponse < 3) { - checkUnnamed6313(o.responses!); + checkUnnamed6380(o.responses!); } buildCounterGetPeopleResponse--; } @@ -1177,12 +1177,12 @@ void checkInterest(api.Interest o) { buildCounterInterest--; } -core.List buildUnnamed6314() => [ +core.List buildUnnamed6381() => [ buildPerson(), buildPerson(), ]; -void checkUnnamed6314(core.List o) { +void checkUnnamed6381(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o[0]); checkPerson(o[1]); @@ -1193,7 +1193,7 @@ api.ListConnectionsResponse buildListConnectionsResponse() { final o = api.ListConnectionsResponse(); buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - o.connections = buildUnnamed6314(); + o.connections = buildUnnamed6381(); o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; o.totalItems = 42; @@ -1206,7 +1206,7 @@ api.ListConnectionsResponse buildListConnectionsResponse() { void checkListConnectionsResponse(api.ListConnectionsResponse o) { buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - checkUnnamed6314(o.connections!); + checkUnnamed6381(o.connections!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1227,12 +1227,12 @@ void checkListConnectionsResponse(api.ListConnectionsResponse o) { buildCounterListConnectionsResponse--; } -core.List buildUnnamed6315() => [ +core.List buildUnnamed6382() => [ buildContactGroup(), buildContactGroup(), ]; -void checkUnnamed6315(core.List o) { +void checkUnnamed6382(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactGroup(o[0]); checkContactGroup(o[1]); @@ -1243,7 +1243,7 @@ api.ListContactGroupsResponse buildListContactGroupsResponse() { final o = api.ListContactGroupsResponse(); buildCounterListContactGroupsResponse++; if (buildCounterListContactGroupsResponse < 3) { - o.contactGroups = buildUnnamed6315(); + o.contactGroups = buildUnnamed6382(); o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; o.totalItems = 42; @@ -1255,7 +1255,7 @@ api.ListContactGroupsResponse buildListContactGroupsResponse() { void checkListContactGroupsResponse(api.ListContactGroupsResponse o) { buildCounterListContactGroupsResponse++; if (buildCounterListContactGroupsResponse < 3) { - checkUnnamed6315(o.contactGroups!); + checkUnnamed6382(o.contactGroups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1272,12 +1272,12 @@ void checkListContactGroupsResponse(api.ListContactGroupsResponse o) { buildCounterListContactGroupsResponse--; } -core.List buildUnnamed6316() => [ +core.List buildUnnamed6383() => [ buildPerson(), buildPerson(), ]; -void checkUnnamed6316(core.List o) { +void checkUnnamed6383(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o[0]); checkPerson(o[1]); @@ -1290,7 +1290,7 @@ api.ListDirectoryPeopleResponse buildListDirectoryPeopleResponse() { if (buildCounterListDirectoryPeopleResponse < 3) { o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; - o.people = buildUnnamed6316(); + o.people = buildUnnamed6383(); } buildCounterListDirectoryPeopleResponse--; return o; @@ -1307,17 +1307,17 @@ void checkListDirectoryPeopleResponse(api.ListDirectoryPeopleResponse o) { o.nextSyncToken!, unittest.equals('foo'), ); - checkUnnamed6316(o.people!); + checkUnnamed6383(o.people!); } buildCounterListDirectoryPeopleResponse--; } -core.List buildUnnamed6317() => [ +core.List buildUnnamed6384() => [ buildPerson(), buildPerson(), ]; -void checkUnnamed6317(core.List o) { +void checkUnnamed6384(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o[0]); checkPerson(o[1]); @@ -1330,7 +1330,7 @@ api.ListOtherContactsResponse buildListOtherContactsResponse() { if (buildCounterListOtherContactsResponse < 3) { o.nextPageToken = 'foo'; o.nextSyncToken = 'foo'; - o.otherContacts = buildUnnamed6317(); + o.otherContacts = buildUnnamed6384(); o.totalSize = 42; } buildCounterListOtherContactsResponse--; @@ -1348,7 +1348,7 @@ void checkListOtherContactsResponse(api.ListOtherContactsResponse o) { o.nextSyncToken!, unittest.equals('foo'), ); - checkUnnamed6317(o.otherContacts!); + checkUnnamed6384(o.otherContacts!); unittest.expect( o.totalSize!, unittest.equals(42), @@ -1489,12 +1489,12 @@ void checkMiscKeyword(api.MiscKeyword o) { buildCounterMiscKeyword--; } -core.List buildUnnamed6318() => [ +core.List buildUnnamed6385() => [ 'foo', 'foo', ]; -void checkUnnamed6318(core.List o) { +void checkUnnamed6385(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1506,12 +1506,12 @@ void checkUnnamed6318(core.List o) { ); } -core.List buildUnnamed6319() => [ +core.List buildUnnamed6386() => [ 'foo', 'foo', ]; -void checkUnnamed6319(core.List o) { +void checkUnnamed6386(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1528,8 +1528,8 @@ api.ModifyContactGroupMembersRequest buildModifyContactGroupMembersRequest() { final o = api.ModifyContactGroupMembersRequest(); buildCounterModifyContactGroupMembersRequest++; if (buildCounterModifyContactGroupMembersRequest < 3) { - o.resourceNamesToAdd = buildUnnamed6318(); - o.resourceNamesToRemove = buildUnnamed6319(); + o.resourceNamesToAdd = buildUnnamed6385(); + o.resourceNamesToRemove = buildUnnamed6386(); } buildCounterModifyContactGroupMembersRequest--; return o; @@ -1539,18 +1539,18 @@ void checkModifyContactGroupMembersRequest( api.ModifyContactGroupMembersRequest o) { buildCounterModifyContactGroupMembersRequest++; if (buildCounterModifyContactGroupMembersRequest < 3) { - checkUnnamed6318(o.resourceNamesToAdd!); - checkUnnamed6319(o.resourceNamesToRemove!); + checkUnnamed6385(o.resourceNamesToAdd!); + checkUnnamed6386(o.resourceNamesToRemove!); } buildCounterModifyContactGroupMembersRequest--; } -core.List buildUnnamed6320() => [ +core.List buildUnnamed6387() => [ 'foo', 'foo', ]; -void checkUnnamed6320(core.List o) { +void checkUnnamed6387(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1562,12 +1562,12 @@ void checkUnnamed6320(core.List o) { ); } -core.List buildUnnamed6321() => [ +core.List buildUnnamed6388() => [ 'foo', 'foo', ]; -void checkUnnamed6321(core.List o) { +void checkUnnamed6388(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1584,8 +1584,8 @@ api.ModifyContactGroupMembersResponse buildModifyContactGroupMembersResponse() { final o = api.ModifyContactGroupMembersResponse(); buildCounterModifyContactGroupMembersResponse++; if (buildCounterModifyContactGroupMembersResponse < 3) { - o.canNotRemoveLastContactGroupResourceNames = buildUnnamed6320(); - o.notFoundResourceNames = buildUnnamed6321(); + o.canNotRemoveLastContactGroupResourceNames = buildUnnamed6387(); + o.notFoundResourceNames = buildUnnamed6388(); } buildCounterModifyContactGroupMembersResponse--; return o; @@ -1595,8 +1595,8 @@ void checkModifyContactGroupMembersResponse( api.ModifyContactGroupMembersResponse o) { buildCounterModifyContactGroupMembersResponse++; if (buildCounterModifyContactGroupMembersResponse < 3) { - checkUnnamed6320(o.canNotRemoveLastContactGroupResourceNames!); - checkUnnamed6321(o.notFoundResourceNames!); + checkUnnamed6387(o.canNotRemoveLastContactGroupResourceNames!); + checkUnnamed6388(o.notFoundResourceNames!); } buildCounterModifyContactGroupMembersResponse--; } @@ -1748,11 +1748,13 @@ api.Organization buildOrganization() { final o = api.Organization(); buildCounterOrganization++; if (buildCounterOrganization < 3) { + o.costCenter = 'foo'; o.current = true; o.department = 'foo'; o.domain = 'foo'; o.endDate = buildDate(); o.formattedType = 'foo'; + o.fullTimeEquivalentMillipercent = 42; o.jobDescription = 'foo'; o.location = 'foo'; o.metadata = buildFieldMetadata(); @@ -1770,6 +1772,10 @@ api.Organization buildOrganization() { void checkOrganization(api.Organization o) { buildCounterOrganization++; if (buildCounterOrganization < 3) { + unittest.expect( + o.costCenter!, + unittest.equals('foo'), + ); unittest.expect(o.current!, unittest.isTrue); unittest.expect( o.department!, @@ -1784,6 +1790,10 @@ void checkOrganization(api.Organization o) { o.formattedType!, unittest.equals('foo'), ); + unittest.expect( + o.fullTimeEquivalentMillipercent!, + unittest.equals(42), + ); unittest.expect( o.jobDescription!, unittest.equals('foo'), @@ -1818,375 +1828,375 @@ void checkOrganization(api.Organization o) { buildCounterOrganization--; } -core.List buildUnnamed6322() => [ +core.List buildUnnamed6389() => [ buildAddress(), buildAddress(), ]; -void checkUnnamed6322(core.List o) { +void checkUnnamed6389(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddress(o[0]); checkAddress(o[1]); } -core.List buildUnnamed6323() => [ +core.List buildUnnamed6390() => [ buildAgeRangeType(), buildAgeRangeType(), ]; -void checkUnnamed6323(core.List o) { +void checkUnnamed6390(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAgeRangeType(o[0]); checkAgeRangeType(o[1]); } -core.List buildUnnamed6324() => [ +core.List buildUnnamed6391() => [ buildBiography(), buildBiography(), ]; -void checkUnnamed6324(core.List o) { +void checkUnnamed6391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBiography(o[0]); checkBiography(o[1]); } -core.List buildUnnamed6325() => [ +core.List buildUnnamed6392() => [ buildBirthday(), buildBirthday(), ]; -void checkUnnamed6325(core.List o) { +void checkUnnamed6392(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBirthday(o[0]); checkBirthday(o[1]); } -core.List buildUnnamed6326() => [ +core.List buildUnnamed6393() => [ buildBraggingRights(), buildBraggingRights(), ]; -void checkUnnamed6326(core.List o) { +void checkUnnamed6393(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBraggingRights(o[0]); checkBraggingRights(o[1]); } -core.List buildUnnamed6327() => [ +core.List buildUnnamed6394() => [ buildCalendarUrl(), buildCalendarUrl(), ]; -void checkUnnamed6327(core.List o) { +void checkUnnamed6394(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCalendarUrl(o[0]); checkCalendarUrl(o[1]); } -core.List buildUnnamed6328() => [ +core.List buildUnnamed6395() => [ buildClientData(), buildClientData(), ]; -void checkUnnamed6328(core.List o) { +void checkUnnamed6395(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClientData(o[0]); checkClientData(o[1]); } -core.List buildUnnamed6329() => [ +core.List buildUnnamed6396() => [ buildCoverPhoto(), buildCoverPhoto(), ]; -void checkUnnamed6329(core.List o) { +void checkUnnamed6396(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCoverPhoto(o[0]); checkCoverPhoto(o[1]); } -core.List buildUnnamed6330() => [ +core.List buildUnnamed6397() => [ buildEmailAddress(), buildEmailAddress(), ]; -void checkUnnamed6330(core.List o) { +void checkUnnamed6397(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEmailAddress(o[0]); checkEmailAddress(o[1]); } -core.List buildUnnamed6331() => [ +core.List buildUnnamed6398() => [ buildEvent(), buildEvent(), ]; -void checkUnnamed6331(core.List o) { +void checkUnnamed6398(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEvent(o[0]); checkEvent(o[1]); } -core.List buildUnnamed6332() => [ +core.List buildUnnamed6399() => [ buildExternalId(), buildExternalId(), ]; -void checkUnnamed6332(core.List o) { +void checkUnnamed6399(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExternalId(o[0]); checkExternalId(o[1]); } -core.List buildUnnamed6333() => [ +core.List buildUnnamed6400() => [ buildFileAs(), buildFileAs(), ]; -void checkUnnamed6333(core.List o) { +void checkUnnamed6400(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileAs(o[0]); checkFileAs(o[1]); } -core.List buildUnnamed6334() => [ +core.List buildUnnamed6401() => [ buildGender(), buildGender(), ]; -void checkUnnamed6334(core.List o) { +void checkUnnamed6401(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGender(o[0]); checkGender(o[1]); } -core.List buildUnnamed6335() => [ +core.List buildUnnamed6402() => [ buildImClient(), buildImClient(), ]; -void checkUnnamed6335(core.List o) { +void checkUnnamed6402(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImClient(o[0]); checkImClient(o[1]); } -core.List buildUnnamed6336() => [ +core.List buildUnnamed6403() => [ buildInterest(), buildInterest(), ]; -void checkUnnamed6336(core.List o) { +void checkUnnamed6403(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInterest(o[0]); checkInterest(o[1]); } -core.List buildUnnamed6337() => [ +core.List buildUnnamed6404() => [ buildLocale(), buildLocale(), ]; -void checkUnnamed6337(core.List o) { +void checkUnnamed6404(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocale(o[0]); checkLocale(o[1]); } -core.List buildUnnamed6338() => [ +core.List buildUnnamed6405() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed6338(core.List o) { +void checkUnnamed6405(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); } -core.List buildUnnamed6339() => [ +core.List buildUnnamed6406() => [ buildMembership(), buildMembership(), ]; -void checkUnnamed6339(core.List o) { +void checkUnnamed6406(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembership(o[0]); checkMembership(o[1]); } -core.List buildUnnamed6340() => [ +core.List buildUnnamed6407() => [ buildMiscKeyword(), buildMiscKeyword(), ]; -void checkUnnamed6340(core.List o) { +void checkUnnamed6407(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMiscKeyword(o[0]); checkMiscKeyword(o[1]); } -core.List buildUnnamed6341() => [ +core.List buildUnnamed6408() => [ buildName(), buildName(), ]; -void checkUnnamed6341(core.List o) { +void checkUnnamed6408(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkName(o[0]); checkName(o[1]); } -core.List buildUnnamed6342() => [ +core.List buildUnnamed6409() => [ buildNickname(), buildNickname(), ]; -void checkUnnamed6342(core.List o) { +void checkUnnamed6409(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNickname(o[0]); checkNickname(o[1]); } -core.List buildUnnamed6343() => [ +core.List buildUnnamed6410() => [ buildOccupation(), buildOccupation(), ]; -void checkUnnamed6343(core.List o) { +void checkUnnamed6410(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccupation(o[0]); checkOccupation(o[1]); } -core.List buildUnnamed6344() => [ +core.List buildUnnamed6411() => [ buildOrganization(), buildOrganization(), ]; -void checkUnnamed6344(core.List o) { +void checkUnnamed6411(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrganization(o[0]); checkOrganization(o[1]); } -core.List buildUnnamed6345() => [ +core.List buildUnnamed6412() => [ buildPhoneNumber(), buildPhoneNumber(), ]; -void checkUnnamed6345(core.List o) { +void checkUnnamed6412(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhoneNumber(o[0]); checkPhoneNumber(o[1]); } -core.List buildUnnamed6346() => [ +core.List buildUnnamed6413() => [ buildPhoto(), buildPhoto(), ]; -void checkUnnamed6346(core.List o) { +void checkUnnamed6413(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhoto(o[0]); checkPhoto(o[1]); } -core.List buildUnnamed6347() => [ +core.List buildUnnamed6414() => [ buildRelation(), buildRelation(), ]; -void checkUnnamed6347(core.List o) { +void checkUnnamed6414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelation(o[0]); checkRelation(o[1]); } -core.List buildUnnamed6348() => [ +core.List buildUnnamed6415() => [ buildRelationshipInterest(), buildRelationshipInterest(), ]; -void checkUnnamed6348(core.List o) { +void checkUnnamed6415(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelationshipInterest(o[0]); checkRelationshipInterest(o[1]); } -core.List buildUnnamed6349() => [ +core.List buildUnnamed6416() => [ buildRelationshipStatus(), buildRelationshipStatus(), ]; -void checkUnnamed6349(core.List o) { +void checkUnnamed6416(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelationshipStatus(o[0]); checkRelationshipStatus(o[1]); } -core.List buildUnnamed6350() => [ +core.List buildUnnamed6417() => [ buildResidence(), buildResidence(), ]; -void checkUnnamed6350(core.List o) { +void checkUnnamed6417(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResidence(o[0]); checkResidence(o[1]); } -core.List buildUnnamed6351() => [ +core.List buildUnnamed6418() => [ buildSipAddress(), buildSipAddress(), ]; -void checkUnnamed6351(core.List o) { +void checkUnnamed6418(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSipAddress(o[0]); checkSipAddress(o[1]); } -core.List buildUnnamed6352() => [ +core.List buildUnnamed6419() => [ buildSkill(), buildSkill(), ]; -void checkUnnamed6352(core.List o) { +void checkUnnamed6419(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSkill(o[0]); checkSkill(o[1]); } -core.List buildUnnamed6353() => [ +core.List buildUnnamed6420() => [ buildTagline(), buildTagline(), ]; -void checkUnnamed6353(core.List o) { +void checkUnnamed6420(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTagline(o[0]); checkTagline(o[1]); } -core.List buildUnnamed6354() => [ +core.List buildUnnamed6421() => [ buildUrl(), buildUrl(), ]; -void checkUnnamed6354(core.List o) { +void checkUnnamed6421(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrl(o[0]); checkUrl(o[1]); } -core.List buildUnnamed6355() => [ +core.List buildUnnamed6422() => [ buildUserDefined(), buildUserDefined(), ]; -void checkUnnamed6355(core.List o) { +void checkUnnamed6422(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefined(o[0]); checkUserDefined(o[1]); @@ -2197,44 +2207,44 @@ api.Person buildPerson() { final o = api.Person(); buildCounterPerson++; if (buildCounterPerson < 3) { - o.addresses = buildUnnamed6322(); + o.addresses = buildUnnamed6389(); o.ageRange = 'foo'; - o.ageRanges = buildUnnamed6323(); - o.biographies = buildUnnamed6324(); - o.birthdays = buildUnnamed6325(); - o.braggingRights = buildUnnamed6326(); - o.calendarUrls = buildUnnamed6327(); - o.clientData = buildUnnamed6328(); - o.coverPhotos = buildUnnamed6329(); - o.emailAddresses = buildUnnamed6330(); + o.ageRanges = buildUnnamed6390(); + o.biographies = buildUnnamed6391(); + o.birthdays = buildUnnamed6392(); + o.braggingRights = buildUnnamed6393(); + o.calendarUrls = buildUnnamed6394(); + o.clientData = buildUnnamed6395(); + o.coverPhotos = buildUnnamed6396(); + o.emailAddresses = buildUnnamed6397(); o.etag = 'foo'; - o.events = buildUnnamed6331(); - o.externalIds = buildUnnamed6332(); - o.fileAses = buildUnnamed6333(); - o.genders = buildUnnamed6334(); - o.imClients = buildUnnamed6335(); - o.interests = buildUnnamed6336(); - o.locales = buildUnnamed6337(); - o.locations = buildUnnamed6338(); - o.memberships = buildUnnamed6339(); + o.events = buildUnnamed6398(); + o.externalIds = buildUnnamed6399(); + o.fileAses = buildUnnamed6400(); + o.genders = buildUnnamed6401(); + o.imClients = buildUnnamed6402(); + o.interests = buildUnnamed6403(); + o.locales = buildUnnamed6404(); + o.locations = buildUnnamed6405(); + o.memberships = buildUnnamed6406(); o.metadata = buildPersonMetadata(); - o.miscKeywords = buildUnnamed6340(); - o.names = buildUnnamed6341(); - o.nicknames = buildUnnamed6342(); - o.occupations = buildUnnamed6343(); - o.organizations = buildUnnamed6344(); - o.phoneNumbers = buildUnnamed6345(); - o.photos = buildUnnamed6346(); - o.relations = buildUnnamed6347(); - o.relationshipInterests = buildUnnamed6348(); - o.relationshipStatuses = buildUnnamed6349(); - o.residences = buildUnnamed6350(); + o.miscKeywords = buildUnnamed6407(); + o.names = buildUnnamed6408(); + o.nicknames = buildUnnamed6409(); + o.occupations = buildUnnamed6410(); + o.organizations = buildUnnamed6411(); + o.phoneNumbers = buildUnnamed6412(); + o.photos = buildUnnamed6413(); + o.relations = buildUnnamed6414(); + o.relationshipInterests = buildUnnamed6415(); + o.relationshipStatuses = buildUnnamed6416(); + o.residences = buildUnnamed6417(); o.resourceName = 'foo'; - o.sipAddresses = buildUnnamed6351(); - o.skills = buildUnnamed6352(); - o.taglines = buildUnnamed6353(); - o.urls = buildUnnamed6354(); - o.userDefined = buildUnnamed6355(); + o.sipAddresses = buildUnnamed6418(); + o.skills = buildUnnamed6419(); + o.taglines = buildUnnamed6420(); + o.urls = buildUnnamed6421(); + o.userDefined = buildUnnamed6422(); } buildCounterPerson--; return o; @@ -2243,63 +2253,63 @@ api.Person buildPerson() { void checkPerson(api.Person o) { buildCounterPerson++; if (buildCounterPerson < 3) { - checkUnnamed6322(o.addresses!); + checkUnnamed6389(o.addresses!); unittest.expect( o.ageRange!, unittest.equals('foo'), ); - checkUnnamed6323(o.ageRanges!); - checkUnnamed6324(o.biographies!); - checkUnnamed6325(o.birthdays!); - checkUnnamed6326(o.braggingRights!); - checkUnnamed6327(o.calendarUrls!); - checkUnnamed6328(o.clientData!); - checkUnnamed6329(o.coverPhotos!); - checkUnnamed6330(o.emailAddresses!); + checkUnnamed6390(o.ageRanges!); + checkUnnamed6391(o.biographies!); + checkUnnamed6392(o.birthdays!); + checkUnnamed6393(o.braggingRights!); + checkUnnamed6394(o.calendarUrls!); + checkUnnamed6395(o.clientData!); + checkUnnamed6396(o.coverPhotos!); + checkUnnamed6397(o.emailAddresses!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed6331(o.events!); - checkUnnamed6332(o.externalIds!); - checkUnnamed6333(o.fileAses!); - checkUnnamed6334(o.genders!); - checkUnnamed6335(o.imClients!); - checkUnnamed6336(o.interests!); - checkUnnamed6337(o.locales!); - checkUnnamed6338(o.locations!); - checkUnnamed6339(o.memberships!); + checkUnnamed6398(o.events!); + checkUnnamed6399(o.externalIds!); + checkUnnamed6400(o.fileAses!); + checkUnnamed6401(o.genders!); + checkUnnamed6402(o.imClients!); + checkUnnamed6403(o.interests!); + checkUnnamed6404(o.locales!); + checkUnnamed6405(o.locations!); + checkUnnamed6406(o.memberships!); checkPersonMetadata(o.metadata!); - checkUnnamed6340(o.miscKeywords!); - checkUnnamed6341(o.names!); - checkUnnamed6342(o.nicknames!); - checkUnnamed6343(o.occupations!); - checkUnnamed6344(o.organizations!); - checkUnnamed6345(o.phoneNumbers!); - checkUnnamed6346(o.photos!); - checkUnnamed6347(o.relations!); - checkUnnamed6348(o.relationshipInterests!); - checkUnnamed6349(o.relationshipStatuses!); - checkUnnamed6350(o.residences!); + checkUnnamed6407(o.miscKeywords!); + checkUnnamed6408(o.names!); + checkUnnamed6409(o.nicknames!); + checkUnnamed6410(o.occupations!); + checkUnnamed6411(o.organizations!); + checkUnnamed6412(o.phoneNumbers!); + checkUnnamed6413(o.photos!); + checkUnnamed6414(o.relations!); + checkUnnamed6415(o.relationshipInterests!); + checkUnnamed6416(o.relationshipStatuses!); + checkUnnamed6417(o.residences!); unittest.expect( o.resourceName!, unittest.equals('foo'), ); - checkUnnamed6351(o.sipAddresses!); - checkUnnamed6352(o.skills!); - checkUnnamed6353(o.taglines!); - checkUnnamed6354(o.urls!); - checkUnnamed6355(o.userDefined!); + checkUnnamed6418(o.sipAddresses!); + checkUnnamed6419(o.skills!); + checkUnnamed6420(o.taglines!); + checkUnnamed6421(o.urls!); + checkUnnamed6422(o.userDefined!); } buildCounterPerson--; } -core.List buildUnnamed6356() => [ +core.List buildUnnamed6423() => [ 'foo', 'foo', ]; -void checkUnnamed6356(core.List o) { +void checkUnnamed6423(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2311,12 +2321,12 @@ void checkUnnamed6356(core.List o) { ); } -core.List buildUnnamed6357() => [ +core.List buildUnnamed6424() => [ 'foo', 'foo', ]; -void checkUnnamed6357(core.List o) { +void checkUnnamed6424(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2328,12 +2338,12 @@ void checkUnnamed6357(core.List o) { ); } -core.List buildUnnamed6358() => [ +core.List buildUnnamed6425() => [ buildSource(), buildSource(), ]; -void checkUnnamed6358(core.List o) { +void checkUnnamed6425(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -2345,10 +2355,10 @@ api.PersonMetadata buildPersonMetadata() { buildCounterPersonMetadata++; if (buildCounterPersonMetadata < 3) { o.deleted = true; - o.linkedPeopleResourceNames = buildUnnamed6356(); + o.linkedPeopleResourceNames = buildUnnamed6423(); o.objectType = 'foo'; - o.previousResourceNames = buildUnnamed6357(); - o.sources = buildUnnamed6358(); + o.previousResourceNames = buildUnnamed6424(); + o.sources = buildUnnamed6425(); } buildCounterPersonMetadata--; return o; @@ -2358,13 +2368,13 @@ void checkPersonMetadata(api.PersonMetadata o) { buildCounterPersonMetadata++; if (buildCounterPersonMetadata < 3) { unittest.expect(o.deleted!, unittest.isTrue); - checkUnnamed6356(o.linkedPeopleResourceNames!); + checkUnnamed6423(o.linkedPeopleResourceNames!); unittest.expect( o.objectType!, unittest.equals('foo'), ); - checkUnnamed6357(o.previousResourceNames!); - checkUnnamed6358(o.sources!); + checkUnnamed6424(o.previousResourceNames!); + checkUnnamed6425(o.sources!); } buildCounterPersonMetadata--; } @@ -2465,12 +2475,12 @@ void checkPhoto(api.Photo o) { buildCounterPhoto--; } -core.List buildUnnamed6359() => [ +core.List buildUnnamed6426() => [ 'foo', 'foo', ]; -void checkUnnamed6359(core.List o) { +void checkUnnamed6426(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2488,7 +2498,7 @@ api.ProfileMetadata buildProfileMetadata() { buildCounterProfileMetadata++; if (buildCounterProfileMetadata < 3) { o.objectType = 'foo'; - o.userTypes = buildUnnamed6359(); + o.userTypes = buildUnnamed6426(); } buildCounterProfileMetadata--; return o; @@ -2501,7 +2511,7 @@ void checkProfileMetadata(api.ProfileMetadata o) { o.objectType!, unittest.equals('foo'), ); - checkUnnamed6359(o.userTypes!); + checkUnnamed6426(o.userTypes!); } buildCounterProfileMetadata--; } @@ -2624,12 +2634,12 @@ void checkResidence(api.Residence o) { buildCounterResidence--; } -core.List buildUnnamed6360() => [ +core.List buildUnnamed6427() => [ buildPerson(), buildPerson(), ]; -void checkUnnamed6360(core.List o) { +void checkUnnamed6427(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerson(o[0]); checkPerson(o[1]); @@ -2641,7 +2651,7 @@ api.SearchDirectoryPeopleResponse buildSearchDirectoryPeopleResponse() { buildCounterSearchDirectoryPeopleResponse++; if (buildCounterSearchDirectoryPeopleResponse < 3) { o.nextPageToken = 'foo'; - o.people = buildUnnamed6360(); + o.people = buildUnnamed6427(); o.totalSize = 42; } buildCounterSearchDirectoryPeopleResponse--; @@ -2655,7 +2665,7 @@ void checkSearchDirectoryPeopleResponse(api.SearchDirectoryPeopleResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6360(o.people!); + checkUnnamed6427(o.people!); unittest.expect( o.totalSize!, unittest.equals(42), @@ -2664,12 +2674,12 @@ void checkSearchDirectoryPeopleResponse(api.SearchDirectoryPeopleResponse o) { buildCounterSearchDirectoryPeopleResponse--; } -core.List buildUnnamed6361() => [ +core.List buildUnnamed6428() => [ buildSearchResult(), buildSearchResult(), ]; -void checkUnnamed6361(core.List o) { +void checkUnnamed6428(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchResult(o[0]); checkSearchResult(o[1]); @@ -2680,7 +2690,7 @@ api.SearchResponse buildSearchResponse() { final o = api.SearchResponse(); buildCounterSearchResponse++; if (buildCounterSearchResponse < 3) { - o.results = buildUnnamed6361(); + o.results = buildUnnamed6428(); } buildCounterSearchResponse--; return o; @@ -2689,7 +2699,7 @@ api.SearchResponse buildSearchResponse() { void checkSearchResponse(api.SearchResponse o) { buildCounterSearchResponse++; if (buildCounterSearchResponse < 3) { - checkUnnamed6361(o.results!); + checkUnnamed6428(o.results!); } buildCounterSearchResponse--; } @@ -2810,7 +2820,7 @@ void checkSource(api.Source o) { buildCounterSource--; } -core.Map buildUnnamed6362() => { +core.Map buildUnnamed6429() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2823,7 +2833,7 @@ core.Map buildUnnamed6362() => { }, }; -void checkUnnamed6362(core.Map o) { +void checkUnnamed6429(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2855,15 +2865,15 @@ void checkUnnamed6362(core.Map o) { ); } -core.List> buildUnnamed6363() => [ - buildUnnamed6362(), - buildUnnamed6362(), +core.List> buildUnnamed6430() => [ + buildUnnamed6429(), + buildUnnamed6429(), ]; -void checkUnnamed6363(core.List> o) { +void checkUnnamed6430(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6362(o[0]); - checkUnnamed6362(o[1]); + checkUnnamed6429(o[0]); + checkUnnamed6429(o[1]); } core.int buildCounterStatus = 0; @@ -2872,7 +2882,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6363(); + o.details = buildUnnamed6430(); o.message = 'foo'; } buildCounterStatus--; @@ -2886,7 +2896,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6363(o.details!); + checkUnnamed6430(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2948,12 +2958,12 @@ void checkUpdateContactGroupRequest(api.UpdateContactGroupRequest o) { buildCounterUpdateContactGroupRequest--; } -core.List buildUnnamed6364() => [ +core.List buildUnnamed6431() => [ 'foo', 'foo', ]; -void checkUnnamed6364(core.List o) { +void checkUnnamed6431(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2972,7 +2982,7 @@ api.UpdateContactPhotoRequest buildUpdateContactPhotoRequest() { if (buildCounterUpdateContactPhotoRequest < 3) { o.personFields = 'foo'; o.photoBytes = 'foo'; - o.sources = buildUnnamed6364(); + o.sources = buildUnnamed6431(); } buildCounterUpdateContactPhotoRequest--; return o; @@ -2989,7 +2999,7 @@ void checkUpdateContactPhotoRequest(api.UpdateContactPhotoRequest o) { o.photoBytes!, unittest.equals('foo'), ); - checkUnnamed6364(o.sources!); + checkUnnamed6431(o.sources!); } buildCounterUpdateContactPhotoRequest--; } @@ -3076,12 +3086,12 @@ void checkUserDefined(api.UserDefined o) { buildCounterUserDefined--; } -core.List buildUnnamed6365() => [ +core.List buildUnnamed6432() => [ 'foo', 'foo', ]; -void checkUnnamed6365(core.List o) { +void checkUnnamed6432(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3093,12 +3103,12 @@ void checkUnnamed6365(core.List o) { ); } -core.List buildUnnamed6366() => [ +core.List buildUnnamed6433() => [ 'foo', 'foo', ]; -void checkUnnamed6366(core.List o) { +void checkUnnamed6433(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3110,12 +3120,12 @@ void checkUnnamed6366(core.List o) { ); } -core.List buildUnnamed6367() => [ +core.List buildUnnamed6434() => [ 'foo', 'foo', ]; -void checkUnnamed6367(core.List o) { +void checkUnnamed6434(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3127,12 +3137,12 @@ void checkUnnamed6367(core.List o) { ); } -core.List buildUnnamed6368() => [ +core.List buildUnnamed6435() => [ 'foo', 'foo', ]; -void checkUnnamed6368(core.List o) { +void checkUnnamed6435(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3144,12 +3154,12 @@ void checkUnnamed6368(core.List o) { ); } -core.List buildUnnamed6369() => [ +core.List buildUnnamed6436() => [ 'foo', 'foo', ]; -void checkUnnamed6369(core.List o) { +void checkUnnamed6436(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3161,12 +3171,12 @@ void checkUnnamed6369(core.List o) { ); } -core.List buildUnnamed6370() => [ +core.List buildUnnamed6437() => [ 'foo', 'foo', ]; -void checkUnnamed6370(core.List o) { +void checkUnnamed6437(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3178,12 +3188,12 @@ void checkUnnamed6370(core.List o) { ); } -core.List buildUnnamed6371() => [ +core.List buildUnnamed6438() => [ 'foo', 'foo', ]; -void checkUnnamed6371(core.List o) { +void checkUnnamed6438(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3195,12 +3205,12 @@ void checkUnnamed6371(core.List o) { ); } -core.List buildUnnamed6372() => [ +core.List buildUnnamed6439() => [ 'foo', 'foo', ]; -void checkUnnamed6372(core.List o) { +void checkUnnamed6439(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3212,12 +3222,12 @@ void checkUnnamed6372(core.List o) { ); } -core.List buildUnnamed6373() => [ +core.List buildUnnamed6440() => [ 'foo', 'foo', ]; -void checkUnnamed6373(core.List o) { +void checkUnnamed6440(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3229,12 +3239,12 @@ void checkUnnamed6373(core.List o) { ); } -core.List buildUnnamed6374() => [ +core.List buildUnnamed6441() => [ 'foo', 'foo', ]; -void checkUnnamed6374(core.List o) { +void checkUnnamed6441(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3246,12 +3256,12 @@ void checkUnnamed6374(core.List o) { ); } -core.List buildUnnamed6375() => [ +core.List buildUnnamed6442() => [ 'foo', 'foo', ]; -void checkUnnamed6375(core.List o) { +void checkUnnamed6442(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3263,12 +3273,12 @@ void checkUnnamed6375(core.List o) { ); } -core.List buildUnnamed6376() => [ +core.List buildUnnamed6443() => [ 'foo', 'foo', ]; -void checkUnnamed6376(core.List o) { +void checkUnnamed6443(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3280,12 +3290,12 @@ void checkUnnamed6376(core.List o) { ); } -core.List buildUnnamed6377() => [ +core.List buildUnnamed6444() => [ 'foo', 'foo', ]; -void checkUnnamed6377(core.List o) { +void checkUnnamed6444(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3297,12 +3307,12 @@ void checkUnnamed6377(core.List o) { ); } -core.List buildUnnamed6378() => [ +core.List buildUnnamed6445() => [ 'foo', 'foo', ]; -void checkUnnamed6378(core.List o) { +void checkUnnamed6445(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4040,7 +4050,7 @@ void main() { final res = api.PeopleServiceApi(mock).contactGroups; final arg_groupFields = 'foo'; final arg_maxMembers = 42; - final arg_resourceNames = buildUnnamed6365(); + final arg_resourceNames = buildUnnamed6432(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -4546,7 +4556,7 @@ void main() { final arg_pageToken = 'foo'; final arg_readMask = 'foo'; final arg_requestSyncToken = true; - final arg_sources = buildUnnamed6366(); + final arg_sources = buildUnnamed6433(); final arg_syncToken = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -4872,7 +4882,7 @@ void main() { final res = api.PeopleServiceApi(mock).people; final arg_request = buildPerson(); final arg_personFields = 'foo'; - final arg_sources = buildUnnamed6367(); + final arg_sources = buildUnnamed6434(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = @@ -4993,7 +5003,7 @@ void main() { final res = api.PeopleServiceApi(mock).people; final arg_resourceName = 'foo'; final arg_personFields = 'foo'; - final arg_sources = buildUnnamed6368(); + final arg_sources = buildUnnamed6435(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5060,7 +5070,7 @@ void main() { final arg_resourceName = 'foo'; final arg_personFields = 'foo'; final arg_requestMask_includeField = 'foo'; - final arg_sources = buildUnnamed6369(); + final arg_sources = buildUnnamed6436(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5130,8 +5140,8 @@ void main() { final res = api.PeopleServiceApi(mock).people; final arg_personFields = 'foo'; final arg_requestMask_includeField = 'foo'; - final arg_resourceNames = buildUnnamed6370(); - final arg_sources = buildUnnamed6371(); + final arg_resourceNames = buildUnnamed6437(); + final arg_sources = buildUnnamed6438(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5203,12 +5213,12 @@ void main() { unittest.test('method--listDirectoryPeople', () async { final mock = HttpServerMock(); final res = api.PeopleServiceApi(mock).people; - final arg_mergeSources = buildUnnamed6372(); + final arg_mergeSources = buildUnnamed6439(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_readMask = 'foo'; final arg_requestSyncToken = true; - final arg_sources = buildUnnamed6373(); + final arg_sources = buildUnnamed6440(); final arg_syncToken = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -5300,7 +5310,7 @@ void main() { final arg_pageSize = 42; final arg_query = 'foo'; final arg_readMask = 'foo'; - final arg_sources = buildUnnamed6374(); + final arg_sources = buildUnnamed6441(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5372,12 +5382,12 @@ void main() { unittest.test('method--searchDirectoryPeople', () async { final mock = HttpServerMock(); final res = api.PeopleServiceApi(mock).people; - final arg_mergeSources = buildUnnamed6375(); + final arg_mergeSources = buildUnnamed6442(); final arg_pageSize = 42; final arg_pageToken = 'foo'; final arg_query = 'foo'; final arg_readMask = 'foo'; - final arg_sources = buildUnnamed6376(); + final arg_sources = buildUnnamed6443(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5463,7 +5473,7 @@ void main() { final arg_request = buildPerson(); final arg_resourceName = 'foo'; final arg_personFields = 'foo'; - final arg_sources = buildUnnamed6377(); + final arg_sources = buildUnnamed6444(); final arg_updatePersonFields = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -5605,7 +5615,7 @@ void main() { final arg_requestMask_includeField = 'foo'; final arg_requestSyncToken = true; final arg_sortOrder = 'foo'; - final arg_sources = buildUnnamed6378(); + final arg_sources = buildUnnamed6445(); final arg_syncToken = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/playablelocations/v3_test.dart b/generated/googleapis/test/playablelocations/v3_test.dart index b63f52585..6e4b64159 100644 --- a/generated/googleapis/test/playablelocations/v3_test.dart +++ b/generated/googleapis/test/playablelocations/v3_test.dart @@ -60,12 +60,12 @@ void checkGoogleMapsPlayablelocationsV3Impression( buildCounterGoogleMapsPlayablelocationsV3Impression--; } -core.List buildUnnamed4853() => [ +core.List buildUnnamed4897() => [ buildGoogleMapsPlayablelocationsV3Impression(), buildGoogleMapsPlayablelocationsV3Impression(), ]; -void checkUnnamed4853( +void checkUnnamed4897( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlayablelocationsV3Impression(o[0]); @@ -79,7 +79,7 @@ api.GoogleMapsPlayablelocationsV3LogImpressionsRequest buildCounterGoogleMapsPlayablelocationsV3LogImpressionsRequest++; if (buildCounterGoogleMapsPlayablelocationsV3LogImpressionsRequest < 3) { o.clientInfo = buildGoogleMapsUnityClientInfo(); - o.impressions = buildUnnamed4853(); + o.impressions = buildUnnamed4897(); o.requestId = 'foo'; } buildCounterGoogleMapsPlayablelocationsV3LogImpressionsRequest--; @@ -91,7 +91,7 @@ void checkGoogleMapsPlayablelocationsV3LogImpressionsRequest( buildCounterGoogleMapsPlayablelocationsV3LogImpressionsRequest++; if (buildCounterGoogleMapsPlayablelocationsV3LogImpressionsRequest < 3) { checkGoogleMapsUnityClientInfo(o.clientInfo!); - checkUnnamed4853(o.impressions!); + checkUnnamed4897(o.impressions!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -117,12 +117,12 @@ void checkGoogleMapsPlayablelocationsV3LogImpressionsResponse( buildCounterGoogleMapsPlayablelocationsV3LogImpressionsResponse--; } -core.List buildUnnamed4854() => [ +core.List buildUnnamed4898() => [ buildGoogleMapsPlayablelocationsV3PlayerReport(), buildGoogleMapsPlayablelocationsV3PlayerReport(), ]; -void checkUnnamed4854( +void checkUnnamed4898( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlayablelocationsV3PlayerReport(o[0]); @@ -136,7 +136,7 @@ api.GoogleMapsPlayablelocationsV3LogPlayerReportsRequest buildCounterGoogleMapsPlayablelocationsV3LogPlayerReportsRequest++; if (buildCounterGoogleMapsPlayablelocationsV3LogPlayerReportsRequest < 3) { o.clientInfo = buildGoogleMapsUnityClientInfo(); - o.playerReports = buildUnnamed4854(); + o.playerReports = buildUnnamed4898(); o.requestId = 'foo'; } buildCounterGoogleMapsPlayablelocationsV3LogPlayerReportsRequest--; @@ -148,7 +148,7 @@ void checkGoogleMapsPlayablelocationsV3LogPlayerReportsRequest( buildCounterGoogleMapsPlayablelocationsV3LogPlayerReportsRequest++; if (buildCounterGoogleMapsPlayablelocationsV3LogPlayerReportsRequest < 3) { checkGoogleMapsUnityClientInfo(o.clientInfo!); - checkUnnamed4854(o.playerReports!); + checkUnnamed4898(o.playerReports!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -174,12 +174,12 @@ void checkGoogleMapsPlayablelocationsV3LogPlayerReportsResponse( buildCounterGoogleMapsPlayablelocationsV3LogPlayerReportsResponse--; } -core.List buildUnnamed4855() => [ +core.List buildUnnamed4899() => [ 'foo', 'foo', ]; -void checkUnnamed4855(core.List o) { +void checkUnnamed4899(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -200,7 +200,7 @@ api.GoogleMapsPlayablelocationsV3PlayerReport o.languageCode = 'foo'; o.locationName = 'foo'; o.reasonDetails = 'foo'; - o.reasons = buildUnnamed4855(); + o.reasons = buildUnnamed4899(); } buildCounterGoogleMapsPlayablelocationsV3PlayerReport--; return o; @@ -222,7 +222,7 @@ void checkGoogleMapsPlayablelocationsV3PlayerReport( o.reasonDetails!, unittest.equals('foo'), ); - checkUnnamed4855(o.reasons!); + checkUnnamed4899(o.reasons!); } buildCounterGoogleMapsPlayablelocationsV3PlayerReport--; } @@ -282,12 +282,12 @@ void checkGoogleMapsPlayablelocationsV3SampleCriterion( buildCounterGoogleMapsPlayablelocationsV3SampleCriterion--; } -core.List buildUnnamed4856() => [ +core.List buildUnnamed4900() => [ 'foo', 'foo', ]; -void checkUnnamed4856(core.List o) { +void checkUnnamed4900(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -305,7 +305,7 @@ api.GoogleMapsPlayablelocationsV3SampleFilter final o = api.GoogleMapsPlayablelocationsV3SampleFilter(); buildCounterGoogleMapsPlayablelocationsV3SampleFilter++; if (buildCounterGoogleMapsPlayablelocationsV3SampleFilter < 3) { - o.includedTypes = buildUnnamed4856(); + o.includedTypes = buildUnnamed4900(); o.maxLocationCount = 42; o.spacing = buildGoogleMapsPlayablelocationsV3SampleSpacingOptions(); } @@ -317,7 +317,7 @@ void checkGoogleMapsPlayablelocationsV3SampleFilter( api.GoogleMapsPlayablelocationsV3SampleFilter o) { buildCounterGoogleMapsPlayablelocationsV3SampleFilter++; if (buildCounterGoogleMapsPlayablelocationsV3SampleFilter < 3) { - checkUnnamed4856(o.includedTypes!); + checkUnnamed4900(o.includedTypes!); unittest.expect( o.maxLocationCount!, unittest.equals(42), @@ -327,12 +327,12 @@ void checkGoogleMapsPlayablelocationsV3SampleFilter( buildCounterGoogleMapsPlayablelocationsV3SampleFilter--; } -core.List buildUnnamed4857() => [ +core.List buildUnnamed4901() => [ 'foo', 'foo', ]; -void checkUnnamed4857(core.List o) { +void checkUnnamed4901(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -355,7 +355,7 @@ api.GoogleMapsPlayablelocationsV3SamplePlayableLocation o.placeId = 'foo'; o.plusCode = 'foo'; o.snappedPoint = buildGoogleTypeLatLng(); - o.types = buildUnnamed4857(); + o.types = buildUnnamed4901(); } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocation--; return o; @@ -379,18 +379,18 @@ void checkGoogleMapsPlayablelocationsV3SamplePlayableLocation( unittest.equals('foo'), ); checkGoogleTypeLatLng(o.snappedPoint!); - checkUnnamed4857(o.types!); + checkUnnamed4901(o.types!); } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocation--; } core.List - buildUnnamed4858() => [ + buildUnnamed4902() => [ buildGoogleMapsPlayablelocationsV3SamplePlayableLocation(), buildGoogleMapsPlayablelocationsV3SamplePlayableLocation(), ]; -void checkUnnamed4858( +void checkUnnamed4902( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlayablelocationsV3SamplePlayableLocation(o[0]); @@ -404,7 +404,7 @@ api.GoogleMapsPlayablelocationsV3SamplePlayableLocationList final o = api.GoogleMapsPlayablelocationsV3SamplePlayableLocationList(); buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationList++; if (buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationList < 3) { - o.locations = buildUnnamed4858(); + o.locations = buildUnnamed4902(); } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationList--; return o; @@ -414,18 +414,18 @@ void checkGoogleMapsPlayablelocationsV3SamplePlayableLocationList( api.GoogleMapsPlayablelocationsV3SamplePlayableLocationList o) { buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationList++; if (buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationList < 3) { - checkUnnamed4858(o.locations!); + checkUnnamed4902(o.locations!); } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationList--; } core.List - buildUnnamed4859() => [ + buildUnnamed4903() => [ buildGoogleMapsPlayablelocationsV3SampleCriterion(), buildGoogleMapsPlayablelocationsV3SampleCriterion(), ]; -void checkUnnamed4859( +void checkUnnamed4903( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlayablelocationsV3SampleCriterion(o[0]); @@ -441,7 +441,7 @@ api.GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest if (buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest < 3) { o.areaFilter = buildGoogleMapsPlayablelocationsV3SampleAreaFilter(); - o.criteria = buildUnnamed4859(); + o.criteria = buildUnnamed4903(); } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest--; return o; @@ -453,19 +453,19 @@ void checkGoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest( if (buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest < 3) { checkGoogleMapsPlayablelocationsV3SampleAreaFilter(o.areaFilter!); - checkUnnamed4859(o.criteria!); + checkUnnamed4903(o.criteria!); } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest--; } core.Map - buildUnnamed4860() => { + buildUnnamed4904() => { 'x': buildGoogleMapsPlayablelocationsV3SamplePlayableLocationList(), 'y': buildGoogleMapsPlayablelocationsV3SamplePlayableLocationList(), }; -void checkUnnamed4860( +void checkUnnamed4904( core.Map o) { @@ -483,7 +483,7 @@ api.GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse++; if (buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse < 3) { - o.locationsPerGameObjectType = buildUnnamed4860(); + o.locationsPerGameObjectType = buildUnnamed4904(); o.ttl = 'foo'; } buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse--; @@ -495,7 +495,7 @@ void checkGoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse( buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse++; if (buildCounterGoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse < 3) { - checkUnnamed4860(o.locationsPerGameObjectType!); + checkUnnamed4904(o.locationsPerGameObjectType!); unittest.expect( o.ttl!, unittest.equals('foo'), diff --git a/generated/googleapis/test/policyanalyzer/v1_test.dart b/generated/googleapis/test/policyanalyzer/v1_test.dart new file mode 100644 index 000000000..c9f377897 --- /dev/null +++ b/generated/googleapis/test/policyanalyzer/v1_test.dart @@ -0,0 +1,284 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/policyanalyzer/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.Map buildUnnamed5383() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed5383(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudPolicyanalyzerV1Activity = 0; +api.GoogleCloudPolicyanalyzerV1Activity + buildGoogleCloudPolicyanalyzerV1Activity() { + final o = api.GoogleCloudPolicyanalyzerV1Activity(); + buildCounterGoogleCloudPolicyanalyzerV1Activity++; + if (buildCounterGoogleCloudPolicyanalyzerV1Activity < 3) { + o.activity = buildUnnamed5383(); + o.activityType = 'foo'; + o.fullResourceName = 'foo'; + o.observationPeriod = buildGoogleCloudPolicyanalyzerV1ObservationPeriod(); + } + buildCounterGoogleCloudPolicyanalyzerV1Activity--; + return o; +} + +void checkGoogleCloudPolicyanalyzerV1Activity( + api.GoogleCloudPolicyanalyzerV1Activity o) { + buildCounterGoogleCloudPolicyanalyzerV1Activity++; + if (buildCounterGoogleCloudPolicyanalyzerV1Activity < 3) { + checkUnnamed5383(o.activity!); + unittest.expect( + o.activityType!, + unittest.equals('foo'), + ); + unittest.expect( + o.fullResourceName!, + unittest.equals('foo'), + ); + checkGoogleCloudPolicyanalyzerV1ObservationPeriod(o.observationPeriod!); + } + buildCounterGoogleCloudPolicyanalyzerV1Activity--; +} + +core.int buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod = 0; +api.GoogleCloudPolicyanalyzerV1ObservationPeriod + buildGoogleCloudPolicyanalyzerV1ObservationPeriod() { + final o = api.GoogleCloudPolicyanalyzerV1ObservationPeriod(); + buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod++; + if (buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod < 3) { + o.endTime = 'foo'; + o.startTime = 'foo'; + } + buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod--; + return o; +} + +void checkGoogleCloudPolicyanalyzerV1ObservationPeriod( + api.GoogleCloudPolicyanalyzerV1ObservationPeriod o) { + buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod++; + if (buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod < 3) { + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.startTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudPolicyanalyzerV1ObservationPeriod--; +} + +core.List buildUnnamed5384() => [ + buildGoogleCloudPolicyanalyzerV1Activity(), + buildGoogleCloudPolicyanalyzerV1Activity(), + ]; + +void checkUnnamed5384(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudPolicyanalyzerV1Activity(o[0]); + checkGoogleCloudPolicyanalyzerV1Activity(o[1]); +} + +core.int buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse = 0; +api.GoogleCloudPolicyanalyzerV1QueryActivityResponse + buildGoogleCloudPolicyanalyzerV1QueryActivityResponse() { + final o = api.GoogleCloudPolicyanalyzerV1QueryActivityResponse(); + buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse++; + if (buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse < 3) { + o.activities = buildUnnamed5384(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse--; + return o; +} + +void checkGoogleCloudPolicyanalyzerV1QueryActivityResponse( + api.GoogleCloudPolicyanalyzerV1QueryActivityResponse o) { + buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse++; + if (buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse < 3) { + checkUnnamed5384(o.activities!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudPolicyanalyzerV1QueryActivityResponse--; +} + +void main() { + unittest.group('obj-schema-GoogleCloudPolicyanalyzerV1Activity', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudPolicyanalyzerV1Activity(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudPolicyanalyzerV1Activity.fromJson( + oJson as core.Map); + checkGoogleCloudPolicyanalyzerV1Activity(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudPolicyanalyzerV1ObservationPeriod', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudPolicyanalyzerV1ObservationPeriod(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson( + oJson as core.Map); + checkGoogleCloudPolicyanalyzerV1ObservationPeriod(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudPolicyanalyzerV1QueryActivityResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudPolicyanalyzerV1QueryActivityResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson( + oJson as core.Map); + checkGoogleCloudPolicyanalyzerV1QueryActivityResponse(od); + }); + }); + + unittest.group('resource-ProjectsLocationsActivityTypesActivitiesResource', + () { + unittest.test('method--query', () async { + final mock = HttpServerMock(); + final res = api.PolicyAnalyzerApi(mock) + .projects + .locations + .activityTypes + .activities; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v1/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudPolicyanalyzerV1QueryActivityResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.query(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudPolicyanalyzerV1QueryActivityResponse( + response as api.GoogleCloudPolicyanalyzerV1QueryActivityResponse); + }); + }); +} diff --git a/generated/googleapis/test/policysimulator/v1_test.dart b/generated/googleapis/test/policysimulator/v1_test.dart index c9c3a79db..834061337 100644 --- a/generated/googleapis/test/policysimulator/v1_test.dart +++ b/generated/googleapis/test/policysimulator/v1_test.dart @@ -90,14 +90,14 @@ void checkGoogleCloudPolicysimulatorV1AccessTuple( core.Map - buildUnnamed341() => { + buildUnnamed343() => { 'x': buildGoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership(), 'y': buildGoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership(), }; -void checkUnnamed341( +void checkUnnamed343( core.Map o) { @@ -116,7 +116,7 @@ api.GoogleCloudPolicysimulatorV1BindingExplanation if (buildCounterGoogleCloudPolicysimulatorV1BindingExplanation < 3) { o.access = 'foo'; o.condition = buildGoogleTypeExpr(); - o.memberships = buildUnnamed341(); + o.memberships = buildUnnamed343(); o.relevance = 'foo'; o.role = 'foo'; o.rolePermission = 'foo'; @@ -135,7 +135,7 @@ void checkGoogleCloudPolicysimulatorV1BindingExplanation( unittest.equals('foo'), ); checkGoogleTypeExpr(o.condition!); - checkUnnamed341(o.memberships!); + checkUnnamed343(o.memberships!); unittest.expect( o.relevance!, unittest.equals('foo'), @@ -190,24 +190,24 @@ void checkGoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership( buildCounterGoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership--; } -core.List buildUnnamed342() => [ +core.List buildUnnamed344() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed342(core.List o) { +void checkUnnamed344(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); } -core.List buildUnnamed343() => +core.List buildUnnamed345() => [ buildGoogleCloudPolicysimulatorV1ExplainedPolicy(), buildGoogleCloudPolicysimulatorV1ExplainedPolicy(), ]; -void checkUnnamed343( +void checkUnnamed345( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicysimulatorV1ExplainedPolicy(o[0]); @@ -221,8 +221,8 @@ api.GoogleCloudPolicysimulatorV1ExplainedAccess buildCounterGoogleCloudPolicysimulatorV1ExplainedAccess++; if (buildCounterGoogleCloudPolicysimulatorV1ExplainedAccess < 3) { o.accessState = 'foo'; - o.errors = buildUnnamed342(); - o.policies = buildUnnamed343(); + o.errors = buildUnnamed344(); + o.policies = buildUnnamed345(); } buildCounterGoogleCloudPolicysimulatorV1ExplainedAccess--; return o; @@ -236,19 +236,19 @@ void checkGoogleCloudPolicysimulatorV1ExplainedAccess( o.accessState!, unittest.equals('foo'), ); - checkUnnamed342(o.errors!); - checkUnnamed343(o.policies!); + checkUnnamed344(o.errors!); + checkUnnamed345(o.policies!); } buildCounterGoogleCloudPolicysimulatorV1ExplainedAccess--; } core.List - buildUnnamed344() => [ + buildUnnamed346() => [ buildGoogleCloudPolicysimulatorV1BindingExplanation(), buildGoogleCloudPolicysimulatorV1BindingExplanation(), ]; -void checkUnnamed344( +void checkUnnamed346( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicysimulatorV1BindingExplanation(o[0]); @@ -262,7 +262,7 @@ api.GoogleCloudPolicysimulatorV1ExplainedPolicy buildCounterGoogleCloudPolicysimulatorV1ExplainedPolicy++; if (buildCounterGoogleCloudPolicysimulatorV1ExplainedPolicy < 3) { o.access = 'foo'; - o.bindingExplanations = buildUnnamed344(); + o.bindingExplanations = buildUnnamed346(); o.fullResourceName = 'foo'; o.policy = buildGoogleIamV1Policy(); o.relevance = 'foo'; @@ -279,7 +279,7 @@ void checkGoogleCloudPolicysimulatorV1ExplainedPolicy( o.access!, unittest.equals('foo'), ); - checkUnnamed344(o.bindingExplanations!); + checkUnnamed346(o.bindingExplanations!); unittest.expect( o.fullResourceName!, unittest.equals('foo'), @@ -293,12 +293,12 @@ void checkGoogleCloudPolicysimulatorV1ExplainedPolicy( buildCounterGoogleCloudPolicysimulatorV1ExplainedPolicy--; } -core.List buildUnnamed345() => [ +core.List buildUnnamed347() => [ buildGoogleCloudPolicysimulatorV1ReplayResult(), buildGoogleCloudPolicysimulatorV1ReplayResult(), ]; -void checkUnnamed345( +void checkUnnamed347( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicysimulatorV1ReplayResult(o[0]); @@ -312,7 +312,7 @@ api.GoogleCloudPolicysimulatorV1ListReplayResultsResponse buildCounterGoogleCloudPolicysimulatorV1ListReplayResultsResponse++; if (buildCounterGoogleCloudPolicysimulatorV1ListReplayResultsResponse < 3) { o.nextPageToken = 'foo'; - o.replayResults = buildUnnamed345(); + o.replayResults = buildUnnamed347(); } buildCounterGoogleCloudPolicysimulatorV1ListReplayResultsResponse--; return o; @@ -326,7 +326,7 @@ void checkGoogleCloudPolicysimulatorV1ListReplayResultsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed345(o.replayResults!); + checkUnnamed347(o.replayResults!); } buildCounterGoogleCloudPolicysimulatorV1ListReplayResultsResponse--; } @@ -364,12 +364,12 @@ void checkGoogleCloudPolicysimulatorV1Replay( buildCounterGoogleCloudPolicysimulatorV1Replay--; } -core.Map buildUnnamed346() => { +core.Map buildUnnamed348() => { 'x': buildGoogleIamV1Policy(), 'y': buildGoogleIamV1Policy(), }; -void checkUnnamed346(core.Map o) { +void checkUnnamed348(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Policy(o['x']!); checkGoogleIamV1Policy(o['y']!); @@ -382,7 +382,7 @@ api.GoogleCloudPolicysimulatorV1ReplayConfig buildCounterGoogleCloudPolicysimulatorV1ReplayConfig++; if (buildCounterGoogleCloudPolicysimulatorV1ReplayConfig < 3) { o.logSource = 'foo'; - o.policyOverlay = buildUnnamed346(); + o.policyOverlay = buildUnnamed348(); } buildCounterGoogleCloudPolicysimulatorV1ReplayConfig--; return o; @@ -396,7 +396,7 @@ void checkGoogleCloudPolicysimulatorV1ReplayConfig( o.logSource!, unittest.equals('foo'), ); - checkUnnamed346(o.policyOverlay!); + checkUnnamed348(o.policyOverlay!); } buildCounterGoogleCloudPolicysimulatorV1ReplayConfig--; } @@ -561,12 +561,12 @@ void checkGoogleCloudPolicysimulatorV1beta1Replay( buildCounterGoogleCloudPolicysimulatorV1beta1Replay--; } -core.Map buildUnnamed347() => { +core.Map buildUnnamed349() => { 'x': buildGoogleIamV1Policy(), 'y': buildGoogleIamV1Policy(), }; -void checkUnnamed347(core.Map o) { +void checkUnnamed349(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Policy(o['x']!); checkGoogleIamV1Policy(o['y']!); @@ -579,7 +579,7 @@ api.GoogleCloudPolicysimulatorV1beta1ReplayConfig buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig++; if (buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig < 3) { o.logSource = 'foo'; - o.policyOverlay = buildUnnamed347(); + o.policyOverlay = buildUnnamed349(); } buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig--; return o; @@ -593,7 +593,7 @@ void checkGoogleCloudPolicysimulatorV1beta1ReplayConfig( o.logSource!, unittest.equals('foo'), ); - checkUnnamed347(o.policyOverlay!); + checkUnnamed349(o.policyOverlay!); } buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig--; } @@ -668,12 +668,12 @@ void checkGoogleCloudPolicysimulatorV1beta1ReplayResultsSummary( buildCounterGoogleCloudPolicysimulatorV1beta1ReplayResultsSummary--; } -core.List buildUnnamed348() => [ +core.List buildUnnamed350() => [ buildGoogleIamV1AuditLogConfig(), buildGoogleIamV1AuditLogConfig(), ]; -void checkUnnamed348(core.List o) { +void checkUnnamed350(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditLogConfig(o[0]); checkGoogleIamV1AuditLogConfig(o[1]); @@ -684,7 +684,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { final o = api.GoogleIamV1AuditConfig(); buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - o.auditLogConfigs = buildUnnamed348(); + o.auditLogConfigs = buildUnnamed350(); o.service = 'foo'; } buildCounterGoogleIamV1AuditConfig--; @@ -694,7 +694,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - checkUnnamed348(o.auditLogConfigs!); + checkUnnamed350(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -703,12 +703,12 @@ void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig--; } -core.List buildUnnamed349() => [ +core.List buildUnnamed351() => [ 'foo', 'foo', ]; -void checkUnnamed349(core.List o) { +void checkUnnamed351(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -725,7 +725,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { final o = api.GoogleIamV1AuditLogConfig(); buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed349(); + o.exemptedMembers = buildUnnamed351(); o.logType = 'foo'; } buildCounterGoogleIamV1AuditLogConfig--; @@ -735,7 +735,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - checkUnnamed349(o.exemptedMembers!); + checkUnnamed351(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -744,12 +744,12 @@ void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig--; } -core.List buildUnnamed350() => [ +core.List buildUnnamed352() => [ 'foo', 'foo', ]; -void checkUnnamed350(core.List o) { +void checkUnnamed352(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -767,7 +767,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed350(); + o.members = buildUnnamed352(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -778,7 +778,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed350(o.members!); + checkUnnamed352(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -787,23 +787,23 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed351() => [ +core.List buildUnnamed353() => [ buildGoogleIamV1AuditConfig(), buildGoogleIamV1AuditConfig(), ]; -void checkUnnamed351(core.List o) { +void checkUnnamed353(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditConfig(o[0]); checkGoogleIamV1AuditConfig(o[1]); } -core.List buildUnnamed352() => [ +core.List buildUnnamed354() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed352(core.List o) { +void checkUnnamed354(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -814,8 +814,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.auditConfigs = buildUnnamed351(); - o.bindings = buildUnnamed352(); + o.auditConfigs = buildUnnamed353(); + o.bindings = buildUnnamed354(); o.etag = 'foo'; o.version = 42; } @@ -826,8 +826,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed351(o.auditConfigs!); - checkUnnamed352(o.bindings!); + checkUnnamed353(o.auditConfigs!); + checkUnnamed354(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -840,12 +840,12 @@ void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy--; } -core.List buildUnnamed353() => [ +core.List buildUnnamed355() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed353(core.List o) { +void checkUnnamed355(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -858,7 +858,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed353(); + o.operations = buildUnnamed355(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -872,12 +872,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed353(o.operations!); + checkUnnamed355(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed354() => { +core.Map buildUnnamed356() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -890,7 +890,7 @@ core.Map buildUnnamed354() => { }, }; -void checkUnnamed354(core.Map o) { +void checkUnnamed356(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -922,7 +922,7 @@ void checkUnnamed354(core.Map o) { ); } -core.Map buildUnnamed355() => { +core.Map buildUnnamed357() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -935,7 +935,7 @@ core.Map buildUnnamed355() => { }, }; -void checkUnnamed355(core.Map o) { +void checkUnnamed357(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -974,9 +974,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed354(); + o.metadata = buildUnnamed356(); o.name = 'foo'; - o.response = buildUnnamed355(); + o.response = buildUnnamed357(); } buildCounterGoogleLongrunningOperation--; return o; @@ -987,17 +987,17 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed354(o.metadata!); + checkUnnamed356(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed355(o.response!); + checkUnnamed357(o.response!); } buildCounterGoogleLongrunningOperation--; } -core.Map buildUnnamed356() => { +core.Map buildUnnamed358() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1010,7 +1010,7 @@ core.Map buildUnnamed356() => { }, }; -void checkUnnamed356(core.Map o) { +void checkUnnamed358(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1042,15 +1042,15 @@ void checkUnnamed356(core.Map o) { ); } -core.List> buildUnnamed357() => [ - buildUnnamed356(), - buildUnnamed356(), +core.List> buildUnnamed359() => [ + buildUnnamed358(), + buildUnnamed358(), ]; -void checkUnnamed357(core.List> o) { +void checkUnnamed359(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed356(o[0]); - checkUnnamed356(o[1]); + checkUnnamed358(o[0]); + checkUnnamed358(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -1059,7 +1059,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed357(); + o.details = buildUnnamed359(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -1073,7 +1073,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed357(o.details!); + checkUnnamed359(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/policytroubleshooter/v1_test.dart b/generated/googleapis/test/policytroubleshooter/v1_test.dart index 2fdcac5fa..0d6b4a627 100644 --- a/generated/googleapis/test/policytroubleshooter/v1_test.dart +++ b/generated/googleapis/test/policytroubleshooter/v1_test.dart @@ -62,14 +62,14 @@ void checkGoogleCloudPolicytroubleshooterV1AccessTuple( core.Map - buildUnnamed768() => { + buildUnnamed793() => { 'x': buildGoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership(), 'y': buildGoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership(), }; -void checkUnnamed768( +void checkUnnamed793( core.Map o) { @@ -88,7 +88,7 @@ api.GoogleCloudPolicytroubleshooterV1BindingExplanation if (buildCounterGoogleCloudPolicytroubleshooterV1BindingExplanation < 3) { o.access = 'foo'; o.condition = buildGoogleTypeExpr(); - o.memberships = buildUnnamed768(); + o.memberships = buildUnnamed793(); o.relevance = 'foo'; o.role = 'foo'; o.rolePermission = 'foo'; @@ -107,7 +107,7 @@ void checkGoogleCloudPolicytroubleshooterV1BindingExplanation( unittest.equals('foo'), ); checkGoogleTypeExpr(o.condition!); - checkUnnamed768(o.memberships!); + checkUnnamed793(o.memberships!); unittest.expect( o.relevance!, unittest.equals('foo'), @@ -164,12 +164,12 @@ void checkGoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership } core.List - buildUnnamed769() => [ + buildUnnamed794() => [ buildGoogleCloudPolicytroubleshooterV1BindingExplanation(), buildGoogleCloudPolicytroubleshooterV1BindingExplanation(), ]; -void checkUnnamed769( +void checkUnnamed794( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicytroubleshooterV1BindingExplanation(o[0]); @@ -183,7 +183,7 @@ api.GoogleCloudPolicytroubleshooterV1ExplainedPolicy buildCounterGoogleCloudPolicytroubleshooterV1ExplainedPolicy++; if (buildCounterGoogleCloudPolicytroubleshooterV1ExplainedPolicy < 3) { o.access = 'foo'; - o.bindingExplanations = buildUnnamed769(); + o.bindingExplanations = buildUnnamed794(); o.fullResourceName = 'foo'; o.policy = buildGoogleIamV1Policy(); o.relevance = 'foo'; @@ -200,7 +200,7 @@ void checkGoogleCloudPolicytroubleshooterV1ExplainedPolicy( o.access!, unittest.equals('foo'), ); - checkUnnamed769(o.bindingExplanations!); + checkUnnamed794(o.bindingExplanations!); unittest.expect( o.fullResourceName!, unittest.equals('foo'), @@ -240,12 +240,12 @@ void checkGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest( } core.List - buildUnnamed770() => [ + buildUnnamed795() => [ buildGoogleCloudPolicytroubleshooterV1ExplainedPolicy(), buildGoogleCloudPolicytroubleshooterV1ExplainedPolicy(), ]; -void checkUnnamed770( +void checkUnnamed795( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicytroubleshooterV1ExplainedPolicy(o[0]); @@ -263,7 +263,7 @@ api.GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse if (buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse < 3) { o.access = 'foo'; - o.explainedPolicies = buildUnnamed770(); + o.explainedPolicies = buildUnnamed795(); } buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse--; return o; @@ -278,17 +278,17 @@ void checkGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse( o.access!, unittest.equals('foo'), ); - checkUnnamed770(o.explainedPolicies!); + checkUnnamed795(o.explainedPolicies!); } buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse--; } -core.List buildUnnamed771() => [ +core.List buildUnnamed796() => [ buildGoogleIamV1AuditLogConfig(), buildGoogleIamV1AuditLogConfig(), ]; -void checkUnnamed771(core.List o) { +void checkUnnamed796(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditLogConfig(o[0]); checkGoogleIamV1AuditLogConfig(o[1]); @@ -299,7 +299,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { final o = api.GoogleIamV1AuditConfig(); buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - o.auditLogConfigs = buildUnnamed771(); + o.auditLogConfigs = buildUnnamed796(); o.service = 'foo'; } buildCounterGoogleIamV1AuditConfig--; @@ -309,7 +309,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - checkUnnamed771(o.auditLogConfigs!); + checkUnnamed796(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -318,12 +318,12 @@ void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig--; } -core.List buildUnnamed772() => [ +core.List buildUnnamed797() => [ 'foo', 'foo', ]; -void checkUnnamed772(core.List o) { +void checkUnnamed797(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -340,7 +340,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { final o = api.GoogleIamV1AuditLogConfig(); buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed772(); + o.exemptedMembers = buildUnnamed797(); o.logType = 'foo'; } buildCounterGoogleIamV1AuditLogConfig--; @@ -350,7 +350,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - checkUnnamed772(o.exemptedMembers!); + checkUnnamed797(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -359,12 +359,12 @@ void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig--; } -core.List buildUnnamed773() => [ +core.List buildUnnamed798() => [ 'foo', 'foo', ]; -void checkUnnamed773(core.List o) { +void checkUnnamed798(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -382,7 +382,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed773(); + o.members = buildUnnamed798(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -393,7 +393,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed773(o.members!); + checkUnnamed798(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -402,23 +402,23 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed774() => [ +core.List buildUnnamed799() => [ buildGoogleIamV1AuditConfig(), buildGoogleIamV1AuditConfig(), ]; -void checkUnnamed774(core.List o) { +void checkUnnamed799(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditConfig(o[0]); checkGoogleIamV1AuditConfig(o[1]); } -core.List buildUnnamed775() => [ +core.List buildUnnamed800() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed775(core.List o) { +void checkUnnamed800(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -429,8 +429,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.auditConfigs = buildUnnamed774(); - o.bindings = buildUnnamed775(); + o.auditConfigs = buildUnnamed799(); + o.bindings = buildUnnamed800(); o.etag = 'foo'; o.version = 42; } @@ -441,8 +441,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed774(o.auditConfigs!); - checkUnnamed775(o.bindings!); + checkUnnamed799(o.auditConfigs!); + checkUnnamed800(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), diff --git a/generated/googleapis/test/privateca/v1_test.dart b/generated/googleapis/test/privateca/v1_test.dart index 565023b95..9347a7f22 100644 --- a/generated/googleapis/test/privateca/v1_test.dart +++ b/generated/googleapis/test/privateca/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1711() => [ +core.List buildUnnamed1741() => [ 'foo', 'foo', ]; -void checkUnnamed1711(core.List o) { +void checkUnnamed1741(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.AccessUrls buildAccessUrls() { buildCounterAccessUrls++; if (buildCounterAccessUrls < 3) { o.caCertificateAccessUrl = 'foo'; - o.crlAccessUrls = buildUnnamed1711(); + o.crlAccessUrls = buildUnnamed1741(); } buildCounterAccessUrls--; return o; @@ -62,7 +62,7 @@ void checkAccessUrls(api.AccessUrls o) { o.caCertificateAccessUrl!, unittest.equals('foo'), ); - checkUnnamed1711(o.crlAccessUrls!); + checkUnnamed1741(o.crlAccessUrls!); } buildCounterAccessUrls--; } @@ -119,12 +119,12 @@ void checkAllowedKeyType(api.AllowedKeyType o) { buildCounterAllowedKeyType--; } -core.List buildUnnamed1712() => [ +core.List buildUnnamed1742() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed1712(core.List o) { +void checkUnnamed1742(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -135,7 +135,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed1712(); + o.auditLogConfigs = buildUnnamed1742(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -145,7 +145,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed1712(o.auditLogConfigs!); + checkUnnamed1742(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -154,12 +154,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed1713() => [ +core.List buildUnnamed1743() => [ 'foo', 'foo', ]; -void checkUnnamed1713(core.List o) { +void checkUnnamed1743(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -176,7 +176,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed1713(); + o.exemptedMembers = buildUnnamed1743(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -186,7 +186,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed1713(o.exemptedMembers!); + checkUnnamed1743(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -195,12 +195,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed1714() => [ +core.List buildUnnamed1744() => [ 'foo', 'foo', ]; -void checkUnnamed1714(core.List o) { +void checkUnnamed1744(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -218,7 +218,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1714(); + o.members = buildUnnamed1744(); o.role = 'foo'; } buildCounterBinding--; @@ -229,7 +229,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1714(o.members!); + checkUnnamed1744(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -262,12 +262,12 @@ void checkCaOptions(api.CaOptions o) { buildCounterCaOptions--; } -core.Map buildUnnamed1715() => { +core.Map buildUnnamed1745() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1715(core.Map o) { +void checkUnnamed1745(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -285,7 +285,7 @@ api.CaPool buildCaPool() { buildCounterCaPool++; if (buildCounterCaPool < 3) { o.issuancePolicy = buildIssuancePolicy(); - o.labels = buildUnnamed1715(); + o.labels = buildUnnamed1745(); o.name = 'foo'; o.publishingOptions = buildPublishingOptions(); o.tier = 'foo'; @@ -298,7 +298,7 @@ void checkCaPool(api.CaPool o) { buildCounterCaPool++; if (buildCounterCaPool < 3) { checkIssuancePolicy(o.issuancePolicy!); - checkUnnamed1715(o.labels!); + checkUnnamed1745(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -327,12 +327,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.List buildUnnamed1716() => [ +core.List buildUnnamed1746() => [ 'foo', 'foo', ]; -void checkUnnamed1716(core.List o) { +void checkUnnamed1746(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -349,7 +349,7 @@ api.CertChain buildCertChain() { final o = api.CertChain(); buildCounterCertChain++; if (buildCounterCertChain < 3) { - o.certificates = buildUnnamed1716(); + o.certificates = buildUnnamed1746(); } buildCounterCertChain--; return o; @@ -358,17 +358,17 @@ api.CertChain buildCertChain() { void checkCertChain(api.CertChain o) { buildCounterCertChain++; if (buildCounterCertChain < 3) { - checkUnnamed1716(o.certificates!); + checkUnnamed1746(o.certificates!); } buildCounterCertChain--; } -core.Map buildUnnamed1717() => { +core.Map buildUnnamed1747() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1717(core.Map o) { +void checkUnnamed1747(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -380,12 +380,12 @@ void checkUnnamed1717(core.Map o) { ); } -core.List buildUnnamed1718() => [ +core.List buildUnnamed1748() => [ 'foo', 'foo', ]; -void checkUnnamed1718(core.List o) { +void checkUnnamed1748(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -407,11 +407,11 @@ api.Certificate buildCertificate() { o.config = buildCertificateConfig(); o.createTime = 'foo'; o.issuerCertificateAuthority = 'foo'; - o.labels = buildUnnamed1717(); + o.labels = buildUnnamed1747(); o.lifetime = 'foo'; o.name = 'foo'; o.pemCertificate = 'foo'; - o.pemCertificateChain = buildUnnamed1718(); + o.pemCertificateChain = buildUnnamed1748(); o.pemCsr = 'foo'; o.revocationDetails = buildRevocationDetails(); o.subjectMode = 'foo'; @@ -438,7 +438,7 @@ void checkCertificate(api.Certificate o) { o.issuerCertificateAuthority!, unittest.equals('foo'), ); - checkUnnamed1717(o.labels!); + checkUnnamed1747(o.labels!); unittest.expect( o.lifetime!, unittest.equals('foo'), @@ -451,7 +451,7 @@ void checkCertificate(api.Certificate o) { o.pemCertificate!, unittest.equals('foo'), ); - checkUnnamed1718(o.pemCertificateChain!); + checkUnnamed1748(o.pemCertificateChain!); unittest.expect( o.pemCsr!, unittest.equals('foo'), @@ -469,23 +469,23 @@ void checkCertificate(api.Certificate o) { buildCounterCertificate--; } -core.List buildUnnamed1719() => [ +core.List buildUnnamed1749() => [ buildCertificateDescription(), buildCertificateDescription(), ]; -void checkUnnamed1719(core.List o) { +void checkUnnamed1749(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateDescription(o[0]); checkCertificateDescription(o[1]); } -core.Map buildUnnamed1720() => { +core.Map buildUnnamed1750() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1720(core.Map o) { +void checkUnnamed1750(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -497,12 +497,12 @@ void checkUnnamed1720(core.Map o) { ); } -core.List buildUnnamed1721() => [ +core.List buildUnnamed1751() => [ 'foo', 'foo', ]; -void checkUnnamed1721(core.List o) { +void checkUnnamed1751(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -520,17 +520,17 @@ api.CertificateAuthority buildCertificateAuthority() { buildCounterCertificateAuthority++; if (buildCounterCertificateAuthority < 3) { o.accessUrls = buildAccessUrls(); - o.caCertificateDescriptions = buildUnnamed1719(); + o.caCertificateDescriptions = buildUnnamed1749(); o.config = buildCertificateConfig(); o.createTime = 'foo'; o.deleteTime = 'foo'; o.expireTime = 'foo'; o.gcsBucket = 'foo'; o.keySpec = buildKeyVersionSpec(); - o.labels = buildUnnamed1720(); + o.labels = buildUnnamed1750(); o.lifetime = 'foo'; o.name = 'foo'; - o.pemCaCertificates = buildUnnamed1721(); + o.pemCaCertificates = buildUnnamed1751(); o.state = 'foo'; o.subordinateConfig = buildSubordinateConfig(); o.tier = 'foo'; @@ -545,7 +545,7 @@ void checkCertificateAuthority(api.CertificateAuthority o) { buildCounterCertificateAuthority++; if (buildCounterCertificateAuthority < 3) { checkAccessUrls(o.accessUrls!); - checkUnnamed1719(o.caCertificateDescriptions!); + checkUnnamed1749(o.caCertificateDescriptions!); checkCertificateConfig(o.config!); unittest.expect( o.createTime!, @@ -564,7 +564,7 @@ void checkCertificateAuthority(api.CertificateAuthority o) { unittest.equals('foo'), ); checkKeyVersionSpec(o.keySpec!); - checkUnnamed1720(o.labels!); + checkUnnamed1750(o.labels!); unittest.expect( o.lifetime!, unittest.equals('foo'), @@ -573,7 +573,7 @@ void checkCertificateAuthority(api.CertificateAuthority o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1721(o.pemCaCertificates!); + checkUnnamed1751(o.pemCaCertificates!); unittest.expect( o.state!, unittest.equals('foo'), @@ -618,12 +618,12 @@ void checkCertificateConfig(api.CertificateConfig o) { buildCounterCertificateConfig--; } -core.List buildUnnamed1722() => [ +core.List buildUnnamed1752() => [ 'foo', 'foo', ]; -void checkUnnamed1722(core.List o) { +void checkUnnamed1752(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -635,12 +635,12 @@ void checkUnnamed1722(core.List o) { ); } -core.List buildUnnamed1723() => [ +core.List buildUnnamed1753() => [ 'foo', 'foo', ]; -void checkUnnamed1723(core.List o) { +void checkUnnamed1753(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -657,10 +657,10 @@ api.CertificateDescription buildCertificateDescription() { final o = api.CertificateDescription(); buildCounterCertificateDescription++; if (buildCounterCertificateDescription < 3) { - o.aiaIssuingCertificateUrls = buildUnnamed1722(); + o.aiaIssuingCertificateUrls = buildUnnamed1752(); o.authorityKeyId = buildKeyId(); o.certFingerprint = buildCertificateFingerprint(); - o.crlDistributionPoints = buildUnnamed1723(); + o.crlDistributionPoints = buildUnnamed1753(); o.publicKey = buildPublicKey(); o.subjectDescription = buildSubjectDescription(); o.subjectKeyId = buildKeyId(); @@ -673,10 +673,10 @@ api.CertificateDescription buildCertificateDescription() { void checkCertificateDescription(api.CertificateDescription o) { buildCounterCertificateDescription++; if (buildCounterCertificateDescription < 3) { - checkUnnamed1722(o.aiaIssuingCertificateUrls!); + checkUnnamed1752(o.aiaIssuingCertificateUrls!); checkKeyId(o.authorityKeyId!); checkCertificateFingerprint(o.certFingerprint!); - checkUnnamed1723(o.crlDistributionPoints!); + checkUnnamed1753(o.crlDistributionPoints!); checkPublicKey(o.publicKey!); checkSubjectDescription(o.subjectDescription!); checkKeyId(o.subjectKeyId!); @@ -685,23 +685,23 @@ void checkCertificateDescription(api.CertificateDescription o) { buildCounterCertificateDescription--; } -core.List buildUnnamed1724() => [ +core.List buildUnnamed1754() => [ buildObjectId(), buildObjectId(), ]; -void checkUnnamed1724(core.List o) { +void checkUnnamed1754(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectId(o[0]); checkObjectId(o[1]); } -core.List buildUnnamed1725() => [ +core.List buildUnnamed1755() => [ 'foo', 'foo', ]; -void checkUnnamed1725(core.List o) { +void checkUnnamed1755(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -718,8 +718,8 @@ api.CertificateExtensionConstraints buildCertificateExtensionConstraints() { final o = api.CertificateExtensionConstraints(); buildCounterCertificateExtensionConstraints++; if (buildCounterCertificateExtensionConstraints < 3) { - o.additionalExtensions = buildUnnamed1724(); - o.knownExtensions = buildUnnamed1725(); + o.additionalExtensions = buildUnnamed1754(); + o.knownExtensions = buildUnnamed1755(); } buildCounterCertificateExtensionConstraints--; return o; @@ -729,8 +729,8 @@ void checkCertificateExtensionConstraints( api.CertificateExtensionConstraints o) { buildCounterCertificateExtensionConstraints++; if (buildCounterCertificateExtensionConstraints < 3) { - checkUnnamed1724(o.additionalExtensions!); - checkUnnamed1725(o.knownExtensions!); + checkUnnamed1754(o.additionalExtensions!); + checkUnnamed1755(o.knownExtensions!); } buildCounterCertificateExtensionConstraints--; } @@ -780,12 +780,12 @@ void checkCertificateIdentityConstraints(api.CertificateIdentityConstraints o) { buildCounterCertificateIdentityConstraints--; } -core.Map buildUnnamed1726() => { +core.Map buildUnnamed1756() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1726(core.Map o) { +void checkUnnamed1756(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -797,12 +797,12 @@ void checkUnnamed1726(core.Map o) { ); } -core.List buildUnnamed1727() => [ +core.List buildUnnamed1757() => [ buildRevokedCertificate(), buildRevokedCertificate(), ]; -void checkUnnamed1727(core.List o) { +void checkUnnamed1757(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRevokedCertificate(o[0]); checkRevokedCertificate(o[1]); @@ -815,11 +815,11 @@ api.CertificateRevocationList buildCertificateRevocationList() { if (buildCounterCertificateRevocationList < 3) { o.accessUrl = 'foo'; o.createTime = 'foo'; - o.labels = buildUnnamed1726(); + o.labels = buildUnnamed1756(); o.name = 'foo'; o.pemCrl = 'foo'; o.revisionId = 'foo'; - o.revokedCertificates = buildUnnamed1727(); + o.revokedCertificates = buildUnnamed1757(); o.sequenceNumber = 'foo'; o.state = 'foo'; o.updateTime = 'foo'; @@ -839,7 +839,7 @@ void checkCertificateRevocationList(api.CertificateRevocationList o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed1726(o.labels!); + checkUnnamed1756(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -852,7 +852,7 @@ void checkCertificateRevocationList(api.CertificateRevocationList o) { o.revisionId!, unittest.equals('foo'), ); - checkUnnamed1727(o.revokedCertificates!); + checkUnnamed1757(o.revokedCertificates!); unittest.expect( o.sequenceNumber!, unittest.equals('foo'), @@ -869,12 +869,12 @@ void checkCertificateRevocationList(api.CertificateRevocationList o) { buildCounterCertificateRevocationList--; } -core.Map buildUnnamed1728() => { +core.Map buildUnnamed1758() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1728(core.Map o) { +void checkUnnamed1758(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -894,7 +894,7 @@ api.CertificateTemplate buildCertificateTemplate() { o.createTime = 'foo'; o.description = 'foo'; o.identityConstraints = buildCertificateIdentityConstraints(); - o.labels = buildUnnamed1728(); + o.labels = buildUnnamed1758(); o.name = 'foo'; o.passthroughExtensions = buildCertificateExtensionConstraints(); o.predefinedValues = buildX509Parameters(); @@ -916,7 +916,7 @@ void checkCertificateTemplate(api.CertificateTemplate o) { unittest.equals('foo'), ); checkCertificateIdentityConstraints(o.identityConstraints!); - checkUnnamed1728(o.labels!); + checkUnnamed1758(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1103,12 +1103,12 @@ void checkFetchCaCertsRequest(api.FetchCaCertsRequest o) { buildCounterFetchCaCertsRequest--; } -core.List buildUnnamed1729() => [ +core.List buildUnnamed1759() => [ buildCertChain(), buildCertChain(), ]; -void checkUnnamed1729(core.List o) { +void checkUnnamed1759(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertChain(o[0]); checkCertChain(o[1]); @@ -1119,7 +1119,7 @@ api.FetchCaCertsResponse buildFetchCaCertsResponse() { final o = api.FetchCaCertsResponse(); buildCounterFetchCaCertsResponse++; if (buildCounterFetchCaCertsResponse < 3) { - o.caCerts = buildUnnamed1729(); + o.caCerts = buildUnnamed1759(); } buildCounterFetchCaCertsResponse--; return o; @@ -1128,7 +1128,7 @@ api.FetchCaCertsResponse buildFetchCaCertsResponse() { void checkFetchCaCertsResponse(api.FetchCaCertsResponse o) { buildCounterFetchCaCertsResponse++; if (buildCounterFetchCaCertsResponse < 3) { - checkUnnamed1729(o.caCerts!); + checkUnnamed1759(o.caCerts!); } buildCounterFetchCaCertsResponse--; } @@ -1178,12 +1178,12 @@ void checkIssuanceModes(api.IssuanceModes o) { buildCounterIssuanceModes--; } -core.List buildUnnamed1730() => [ +core.List buildUnnamed1760() => [ buildAllowedKeyType(), buildAllowedKeyType(), ]; -void checkUnnamed1730(core.List o) { +void checkUnnamed1760(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAllowedKeyType(o[0]); checkAllowedKeyType(o[1]); @@ -1195,7 +1195,7 @@ api.IssuancePolicy buildIssuancePolicy() { buildCounterIssuancePolicy++; if (buildCounterIssuancePolicy < 3) { o.allowedIssuanceModes = buildIssuanceModes(); - o.allowedKeyTypes = buildUnnamed1730(); + o.allowedKeyTypes = buildUnnamed1760(); o.baselineValues = buildX509Parameters(); o.identityConstraints = buildCertificateIdentityConstraints(); o.maximumLifetime = 'foo'; @@ -1209,7 +1209,7 @@ void checkIssuancePolicy(api.IssuancePolicy o) { buildCounterIssuancePolicy++; if (buildCounterIssuancePolicy < 3) { checkIssuanceModes(o.allowedIssuanceModes!); - checkUnnamed1730(o.allowedKeyTypes!); + checkUnnamed1760(o.allowedKeyTypes!); checkX509Parameters(o.baselineValues!); checkCertificateIdentityConstraints(o.identityConstraints!); unittest.expect( @@ -1243,12 +1243,12 @@ void checkKeyId(api.KeyId o) { buildCounterKeyId--; } -core.List buildUnnamed1731() => [ +core.List buildUnnamed1761() => [ buildObjectId(), buildObjectId(), ]; -void checkUnnamed1731(core.List o) { +void checkUnnamed1761(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectId(o[0]); checkObjectId(o[1]); @@ -1261,7 +1261,7 @@ api.KeyUsage buildKeyUsage() { if (buildCounterKeyUsage < 3) { o.baseKeyUsage = buildKeyUsageOptions(); o.extendedKeyUsage = buildExtendedKeyUsageOptions(); - o.unknownExtendedKeyUsages = buildUnnamed1731(); + o.unknownExtendedKeyUsages = buildUnnamed1761(); } buildCounterKeyUsage--; return o; @@ -1272,7 +1272,7 @@ void checkKeyUsage(api.KeyUsage o) { if (buildCounterKeyUsage < 3) { checkKeyUsageOptions(o.baseKeyUsage!); checkExtendedKeyUsageOptions(o.extendedKeyUsage!); - checkUnnamed1731(o.unknownExtendedKeyUsages!); + checkUnnamed1761(o.unknownExtendedKeyUsages!); } buildCounterKeyUsage--; } @@ -1339,23 +1339,23 @@ void checkKeyVersionSpec(api.KeyVersionSpec o) { buildCounterKeyVersionSpec--; } -core.List buildUnnamed1732() => [ +core.List buildUnnamed1762() => [ buildCaPool(), buildCaPool(), ]; -void checkUnnamed1732(core.List o) { +void checkUnnamed1762(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCaPool(o[0]); checkCaPool(o[1]); } -core.List buildUnnamed1733() => [ +core.List buildUnnamed1763() => [ 'foo', 'foo', ]; -void checkUnnamed1733(core.List o) { +void checkUnnamed1763(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1372,9 +1372,9 @@ api.ListCaPoolsResponse buildListCaPoolsResponse() { final o = api.ListCaPoolsResponse(); buildCounterListCaPoolsResponse++; if (buildCounterListCaPoolsResponse < 3) { - o.caPools = buildUnnamed1732(); + o.caPools = buildUnnamed1762(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1733(); + o.unreachable = buildUnnamed1763(); } buildCounterListCaPoolsResponse--; return o; @@ -1383,33 +1383,33 @@ api.ListCaPoolsResponse buildListCaPoolsResponse() { void checkListCaPoolsResponse(api.ListCaPoolsResponse o) { buildCounterListCaPoolsResponse++; if (buildCounterListCaPoolsResponse < 3) { - checkUnnamed1732(o.caPools!); + checkUnnamed1762(o.caPools!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1733(o.unreachable!); + checkUnnamed1763(o.unreachable!); } buildCounterListCaPoolsResponse--; } -core.List buildUnnamed1734() => [ +core.List buildUnnamed1764() => [ buildCertificateAuthority(), buildCertificateAuthority(), ]; -void checkUnnamed1734(core.List o) { +void checkUnnamed1764(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateAuthority(o[0]); checkCertificateAuthority(o[1]); } -core.List buildUnnamed1735() => [ +core.List buildUnnamed1765() => [ 'foo', 'foo', ]; -void checkUnnamed1735(core.List o) { +void checkUnnamed1765(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1427,9 +1427,9 @@ api.ListCertificateAuthoritiesResponse final o = api.ListCertificateAuthoritiesResponse(); buildCounterListCertificateAuthoritiesResponse++; if (buildCounterListCertificateAuthoritiesResponse < 3) { - o.certificateAuthorities = buildUnnamed1734(); + o.certificateAuthorities = buildUnnamed1764(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1735(); + o.unreachable = buildUnnamed1765(); } buildCounterListCertificateAuthoritiesResponse--; return o; @@ -1439,33 +1439,33 @@ void checkListCertificateAuthoritiesResponse( api.ListCertificateAuthoritiesResponse o) { buildCounterListCertificateAuthoritiesResponse++; if (buildCounterListCertificateAuthoritiesResponse < 3) { - checkUnnamed1734(o.certificateAuthorities!); + checkUnnamed1764(o.certificateAuthorities!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1735(o.unreachable!); + checkUnnamed1765(o.unreachable!); } buildCounterListCertificateAuthoritiesResponse--; } -core.List buildUnnamed1736() => [ +core.List buildUnnamed1766() => [ buildCertificateRevocationList(), buildCertificateRevocationList(), ]; -void checkUnnamed1736(core.List o) { +void checkUnnamed1766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateRevocationList(o[0]); checkCertificateRevocationList(o[1]); } -core.List buildUnnamed1737() => [ +core.List buildUnnamed1767() => [ 'foo', 'foo', ]; -void checkUnnamed1737(core.List o) { +void checkUnnamed1767(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1483,9 +1483,9 @@ api.ListCertificateRevocationListsResponse final o = api.ListCertificateRevocationListsResponse(); buildCounterListCertificateRevocationListsResponse++; if (buildCounterListCertificateRevocationListsResponse < 3) { - o.certificateRevocationLists = buildUnnamed1736(); + o.certificateRevocationLists = buildUnnamed1766(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1737(); + o.unreachable = buildUnnamed1767(); } buildCounterListCertificateRevocationListsResponse--; return o; @@ -1495,33 +1495,33 @@ void checkListCertificateRevocationListsResponse( api.ListCertificateRevocationListsResponse o) { buildCounterListCertificateRevocationListsResponse++; if (buildCounterListCertificateRevocationListsResponse < 3) { - checkUnnamed1736(o.certificateRevocationLists!); + checkUnnamed1766(o.certificateRevocationLists!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1737(o.unreachable!); + checkUnnamed1767(o.unreachable!); } buildCounterListCertificateRevocationListsResponse--; } -core.List buildUnnamed1738() => [ +core.List buildUnnamed1768() => [ buildCertificateTemplate(), buildCertificateTemplate(), ]; -void checkUnnamed1738(core.List o) { +void checkUnnamed1768(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateTemplate(o[0]); checkCertificateTemplate(o[1]); } -core.List buildUnnamed1739() => [ +core.List buildUnnamed1769() => [ 'foo', 'foo', ]; -void checkUnnamed1739(core.List o) { +void checkUnnamed1769(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1538,9 +1538,9 @@ api.ListCertificateTemplatesResponse buildListCertificateTemplatesResponse() { final o = api.ListCertificateTemplatesResponse(); buildCounterListCertificateTemplatesResponse++; if (buildCounterListCertificateTemplatesResponse < 3) { - o.certificateTemplates = buildUnnamed1738(); + o.certificateTemplates = buildUnnamed1768(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1739(); + o.unreachable = buildUnnamed1769(); } buildCounterListCertificateTemplatesResponse--; return o; @@ -1550,33 +1550,33 @@ void checkListCertificateTemplatesResponse( api.ListCertificateTemplatesResponse o) { buildCounterListCertificateTemplatesResponse++; if (buildCounterListCertificateTemplatesResponse < 3) { - checkUnnamed1738(o.certificateTemplates!); + checkUnnamed1768(o.certificateTemplates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1739(o.unreachable!); + checkUnnamed1769(o.unreachable!); } buildCounterListCertificateTemplatesResponse--; } -core.List buildUnnamed1740() => [ +core.List buildUnnamed1770() => [ buildCertificate(), buildCertificate(), ]; -void checkUnnamed1740(core.List o) { +void checkUnnamed1770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificate(o[0]); checkCertificate(o[1]); } -core.List buildUnnamed1741() => [ +core.List buildUnnamed1771() => [ 'foo', 'foo', ]; -void checkUnnamed1741(core.List o) { +void checkUnnamed1771(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1593,9 +1593,9 @@ api.ListCertificatesResponse buildListCertificatesResponse() { final o = api.ListCertificatesResponse(); buildCounterListCertificatesResponse++; if (buildCounterListCertificatesResponse < 3) { - o.certificates = buildUnnamed1740(); + o.certificates = buildUnnamed1770(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1741(); + o.unreachable = buildUnnamed1771(); } buildCounterListCertificatesResponse--; return o; @@ -1604,22 +1604,22 @@ api.ListCertificatesResponse buildListCertificatesResponse() { void checkListCertificatesResponse(api.ListCertificatesResponse o) { buildCounterListCertificatesResponse++; if (buildCounterListCertificatesResponse < 3) { - checkUnnamed1740(o.certificates!); + checkUnnamed1770(o.certificates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1741(o.unreachable!); + checkUnnamed1771(o.unreachable!); } buildCounterListCertificatesResponse--; } -core.List buildUnnamed1742() => [ +core.List buildUnnamed1772() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed1742(core.List o) { +void checkUnnamed1772(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1630,7 +1630,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed1742(); + o.locations = buildUnnamed1772(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1640,7 +1640,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed1742(o.locations!); + checkUnnamed1772(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1649,12 +1649,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed1743() => [ +core.List buildUnnamed1773() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1743(core.List o) { +void checkUnnamed1773(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1666,7 +1666,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1743(); + o.operations = buildUnnamed1773(); } buildCounterListOperationsResponse--; return o; @@ -1679,17 +1679,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1743(o.operations!); + checkUnnamed1773(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed1744() => { +core.Map buildUnnamed1774() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1744(core.Map o) { +void checkUnnamed1774(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1701,7 +1701,7 @@ void checkUnnamed1744(core.Map o) { ); } -core.Map buildUnnamed1745() => { +core.Map buildUnnamed1775() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1714,7 +1714,7 @@ core.Map buildUnnamed1745() => { }, }; -void checkUnnamed1745(core.Map o) { +void checkUnnamed1775(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1752,9 +1752,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed1744(); + o.labels = buildUnnamed1774(); o.locationId = 'foo'; - o.metadata = buildUnnamed1745(); + o.metadata = buildUnnamed1775(); o.name = 'foo'; } buildCounterLocation--; @@ -1768,12 +1768,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1744(o.labels!); + checkUnnamed1774(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed1745(o.metadata!); + checkUnnamed1775(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1782,12 +1782,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed1746() => [ +core.List buildUnnamed1776() => [ 42, 42, ]; -void checkUnnamed1746(core.List o) { +void checkUnnamed1776(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1804,7 +1804,7 @@ api.ObjectId buildObjectId() { final o = api.ObjectId(); buildCounterObjectId++; if (buildCounterObjectId < 3) { - o.objectIdPath = buildUnnamed1746(); + o.objectIdPath = buildUnnamed1776(); } buildCounterObjectId--; return o; @@ -1813,12 +1813,12 @@ api.ObjectId buildObjectId() { void checkObjectId(api.ObjectId o) { buildCounterObjectId++; if (buildCounterObjectId < 3) { - checkUnnamed1746(o.objectIdPath!); + checkUnnamed1776(o.objectIdPath!); } buildCounterObjectId--; } -core.Map buildUnnamed1747() => { +core.Map buildUnnamed1777() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1831,7 +1831,7 @@ core.Map buildUnnamed1747() => { }, }; -void checkUnnamed1747(core.Map o) { +void checkUnnamed1777(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1863,7 +1863,7 @@ void checkUnnamed1747(core.Map o) { ); } -core.Map buildUnnamed1748() => { +core.Map buildUnnamed1778() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1876,7 +1876,7 @@ core.Map buildUnnamed1748() => { }, }; -void checkUnnamed1748(core.Map o) { +void checkUnnamed1778(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1915,9 +1915,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1747(); + o.metadata = buildUnnamed1777(); o.name = 'foo'; - o.response = buildUnnamed1748(); + o.response = buildUnnamed1778(); } buildCounterOperation--; return o; @@ -1928,12 +1928,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1747(o.metadata!); + checkUnnamed1777(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1748(o.response!); + checkUnnamed1778(o.response!); } buildCounterOperation--; } @@ -1987,23 +1987,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed1749() => [ +core.List buildUnnamed1779() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1749(core.List o) { +void checkUnnamed1779(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1750() => [ +core.List buildUnnamed1780() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1750(core.List o) { +void checkUnnamed1780(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2014,8 +2014,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1749(); - o.bindings = buildUnnamed1750(); + o.auditConfigs = buildUnnamed1779(); + o.bindings = buildUnnamed1780(); o.etag = 'foo'; o.version = 42; } @@ -2026,8 +2026,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1749(o.auditConfigs!); - checkUnnamed1750(o.bindings!); + checkUnnamed1779(o.auditConfigs!); + checkUnnamed1780(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2250,7 +2250,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed1751() => { +core.Map buildUnnamed1781() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2263,7 +2263,7 @@ core.Map buildUnnamed1751() => { }, }; -void checkUnnamed1751(core.Map o) { +void checkUnnamed1781(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2295,15 +2295,15 @@ void checkUnnamed1751(core.Map o) { ); } -core.List> buildUnnamed1752() => [ - buildUnnamed1751(), - buildUnnamed1751(), +core.List> buildUnnamed1782() => [ + buildUnnamed1781(), + buildUnnamed1781(), ]; -void checkUnnamed1752(core.List> o) { +void checkUnnamed1782(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1751(o[0]); - checkUnnamed1751(o[1]); + checkUnnamed1781(o[0]); + checkUnnamed1781(o[1]); } core.int buildCounterStatus = 0; @@ -2312,7 +2312,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1752(); + o.details = buildUnnamed1782(); o.message = 'foo'; } buildCounterStatus--; @@ -2326,7 +2326,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1752(o.details!); + checkUnnamed1782(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2392,23 +2392,23 @@ void checkSubject(api.Subject o) { buildCounterSubject--; } -core.List buildUnnamed1753() => [ +core.List buildUnnamed1783() => [ buildX509Extension(), buildX509Extension(), ]; -void checkUnnamed1753(core.List o) { +void checkUnnamed1783(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkX509Extension(o[0]); checkX509Extension(o[1]); } -core.List buildUnnamed1754() => [ +core.List buildUnnamed1784() => [ 'foo', 'foo', ]; -void checkUnnamed1754(core.List o) { +void checkUnnamed1784(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2420,12 +2420,12 @@ void checkUnnamed1754(core.List o) { ); } -core.List buildUnnamed1755() => [ +core.List buildUnnamed1785() => [ 'foo', 'foo', ]; -void checkUnnamed1755(core.List o) { +void checkUnnamed1785(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2437,12 +2437,12 @@ void checkUnnamed1755(core.List o) { ); } -core.List buildUnnamed1756() => [ +core.List buildUnnamed1786() => [ 'foo', 'foo', ]; -void checkUnnamed1756(core.List o) { +void checkUnnamed1786(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2454,12 +2454,12 @@ void checkUnnamed1756(core.List o) { ); } -core.List buildUnnamed1757() => [ +core.List buildUnnamed1787() => [ 'foo', 'foo', ]; -void checkUnnamed1757(core.List o) { +void checkUnnamed1787(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2476,11 +2476,11 @@ api.SubjectAltNames buildSubjectAltNames() { final o = api.SubjectAltNames(); buildCounterSubjectAltNames++; if (buildCounterSubjectAltNames < 3) { - o.customSans = buildUnnamed1753(); - o.dnsNames = buildUnnamed1754(); - o.emailAddresses = buildUnnamed1755(); - o.ipAddresses = buildUnnamed1756(); - o.uris = buildUnnamed1757(); + o.customSans = buildUnnamed1783(); + o.dnsNames = buildUnnamed1784(); + o.emailAddresses = buildUnnamed1785(); + o.ipAddresses = buildUnnamed1786(); + o.uris = buildUnnamed1787(); } buildCounterSubjectAltNames--; return o; @@ -2489,11 +2489,11 @@ api.SubjectAltNames buildSubjectAltNames() { void checkSubjectAltNames(api.SubjectAltNames o) { buildCounterSubjectAltNames++; if (buildCounterSubjectAltNames < 3) { - checkUnnamed1753(o.customSans!); - checkUnnamed1754(o.dnsNames!); - checkUnnamed1755(o.emailAddresses!); - checkUnnamed1756(o.ipAddresses!); - checkUnnamed1757(o.uris!); + checkUnnamed1783(o.customSans!); + checkUnnamed1784(o.dnsNames!); + checkUnnamed1785(o.emailAddresses!); + checkUnnamed1786(o.ipAddresses!); + checkUnnamed1787(o.uris!); } buildCounterSubjectAltNames--; } @@ -2584,12 +2584,12 @@ void checkSubordinateConfig(api.SubordinateConfig o) { buildCounterSubordinateConfig--; } -core.List buildUnnamed1758() => [ +core.List buildUnnamed1788() => [ 'foo', 'foo', ]; -void checkUnnamed1758(core.List o) { +void checkUnnamed1788(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2606,7 +2606,7 @@ api.SubordinateConfigChain buildSubordinateConfigChain() { final o = api.SubordinateConfigChain(); buildCounterSubordinateConfigChain++; if (buildCounterSubordinateConfigChain < 3) { - o.pemCertificates = buildUnnamed1758(); + o.pemCertificates = buildUnnamed1788(); } buildCounterSubordinateConfigChain--; return o; @@ -2615,17 +2615,17 @@ api.SubordinateConfigChain buildSubordinateConfigChain() { void checkSubordinateConfigChain(api.SubordinateConfigChain o) { buildCounterSubordinateConfigChain++; if (buildCounterSubordinateConfigChain < 3) { - checkUnnamed1758(o.pemCertificates!); + checkUnnamed1788(o.pemCertificates!); } buildCounterSubordinateConfigChain--; } -core.List buildUnnamed1759() => [ +core.List buildUnnamed1789() => [ 'foo', 'foo', ]; -void checkUnnamed1759(core.List o) { +void checkUnnamed1789(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2642,7 +2642,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed1759(); + o.permissions = buildUnnamed1789(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2651,17 +2651,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed1759(o.permissions!); + checkUnnamed1789(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed1760() => [ +core.List buildUnnamed1790() => [ 'foo', 'foo', ]; -void checkUnnamed1760(core.List o) { +void checkUnnamed1790(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2678,7 +2678,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed1760(); + o.permissions = buildUnnamed1790(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2687,7 +2687,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed1760(o.permissions!); + checkUnnamed1790(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -2742,23 +2742,23 @@ void checkX509Extension(api.X509Extension o) { buildCounterX509Extension--; } -core.List buildUnnamed1761() => [ +core.List buildUnnamed1791() => [ buildX509Extension(), buildX509Extension(), ]; -void checkUnnamed1761(core.List o) { +void checkUnnamed1791(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkX509Extension(o[0]); checkX509Extension(o[1]); } -core.List buildUnnamed1762() => [ +core.List buildUnnamed1792() => [ 'foo', 'foo', ]; -void checkUnnamed1762(core.List o) { +void checkUnnamed1792(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2770,12 +2770,12 @@ void checkUnnamed1762(core.List o) { ); } -core.List buildUnnamed1763() => [ +core.List buildUnnamed1793() => [ buildObjectId(), buildObjectId(), ]; -void checkUnnamed1763(core.List o) { +void checkUnnamed1793(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectId(o[0]); checkObjectId(o[1]); @@ -2786,11 +2786,11 @@ api.X509Parameters buildX509Parameters() { final o = api.X509Parameters(); buildCounterX509Parameters++; if (buildCounterX509Parameters < 3) { - o.additionalExtensions = buildUnnamed1761(); - o.aiaOcspServers = buildUnnamed1762(); + o.additionalExtensions = buildUnnamed1791(); + o.aiaOcspServers = buildUnnamed1792(); o.caOptions = buildCaOptions(); o.keyUsage = buildKeyUsage(); - o.policyIds = buildUnnamed1763(); + o.policyIds = buildUnnamed1793(); } buildCounterX509Parameters--; return o; @@ -2799,11 +2799,11 @@ api.X509Parameters buildX509Parameters() { void checkX509Parameters(api.X509Parameters o) { buildCounterX509Parameters++; if (buildCounterX509Parameters < 3) { - checkUnnamed1761(o.additionalExtensions!); - checkUnnamed1762(o.aiaOcspServers!); + checkUnnamed1791(o.additionalExtensions!); + checkUnnamed1792(o.aiaOcspServers!); checkCaOptions(o.caOptions!); checkKeyUsage(o.keyUsage!); - checkUnnamed1763(o.policyIds!); + checkUnnamed1793(o.policyIds!); } buildCounterX509Parameters--; } diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart index f3ae349a5..3231f9235 100644 --- a/generated/googleapis/test/pubsub/v1_test.dart +++ b/generated/googleapis/test/pubsub/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed554() => [ +core.List buildUnnamed556() => [ 'foo', 'foo', ]; -void checkUnnamed554(core.List o) { +void checkUnnamed556(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.AcknowledgeRequest buildAcknowledgeRequest() { final o = api.AcknowledgeRequest(); buildCounterAcknowledgeRequest++; if (buildCounterAcknowledgeRequest < 3) { - o.ackIds = buildUnnamed554(); + o.ackIds = buildUnnamed556(); } buildCounterAcknowledgeRequest--; return o; @@ -57,17 +57,17 @@ api.AcknowledgeRequest buildAcknowledgeRequest() { void checkAcknowledgeRequest(api.AcknowledgeRequest o) { buildCounterAcknowledgeRequest++; if (buildCounterAcknowledgeRequest < 3) { - checkUnnamed554(o.ackIds!); + checkUnnamed556(o.ackIds!); } buildCounterAcknowledgeRequest--; } -core.List buildUnnamed555() => [ +core.List buildUnnamed557() => [ 'foo', 'foo', ]; -void checkUnnamed555(core.List o) { +void checkUnnamed557(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -85,7 +85,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed555(); + o.members = buildUnnamed557(); o.role = 'foo'; } buildCounterBinding--; @@ -96,7 +96,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed555(o.members!); + checkUnnamed557(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -105,12 +105,12 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } -core.Map buildUnnamed556() => { +core.Map buildUnnamed558() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed556(core.Map o) { +void checkUnnamed558(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -127,7 +127,7 @@ api.CreateSnapshotRequest buildCreateSnapshotRequest() { final o = api.CreateSnapshotRequest(); buildCounterCreateSnapshotRequest++; if (buildCounterCreateSnapshotRequest < 3) { - o.labels = buildUnnamed556(); + o.labels = buildUnnamed558(); o.subscription = 'foo'; } buildCounterCreateSnapshotRequest--; @@ -137,7 +137,7 @@ api.CreateSnapshotRequest buildCreateSnapshotRequest() { void checkCreateSnapshotRequest(api.CreateSnapshotRequest o) { buildCounterCreateSnapshotRequest++; if (buildCounterCreateSnapshotRequest < 3) { - checkUnnamed556(o.labels!); + checkUnnamed558(o.labels!); unittest.expect( o.subscription!, unittest.equals('foo'), @@ -262,12 +262,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed557() => [ +core.List buildUnnamed559() => [ buildSchema(), buildSchema(), ]; -void checkUnnamed557(core.List o) { +void checkUnnamed559(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSchema(o[0]); checkSchema(o[1]); @@ -279,7 +279,7 @@ api.ListSchemasResponse buildListSchemasResponse() { buildCounterListSchemasResponse++; if (buildCounterListSchemasResponse < 3) { o.nextPageToken = 'foo'; - o.schemas = buildUnnamed557(); + o.schemas = buildUnnamed559(); } buildCounterListSchemasResponse--; return o; @@ -292,17 +292,17 @@ void checkListSchemasResponse(api.ListSchemasResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed557(o.schemas!); + checkUnnamed559(o.schemas!); } buildCounterListSchemasResponse--; } -core.List buildUnnamed558() => [ +core.List buildUnnamed560() => [ buildSnapshot(), buildSnapshot(), ]; -void checkUnnamed558(core.List o) { +void checkUnnamed560(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -314,7 +314,7 @@ api.ListSnapshotsResponse buildListSnapshotsResponse() { buildCounterListSnapshotsResponse++; if (buildCounterListSnapshotsResponse < 3) { o.nextPageToken = 'foo'; - o.snapshots = buildUnnamed558(); + o.snapshots = buildUnnamed560(); } buildCounterListSnapshotsResponse--; return o; @@ -327,17 +327,17 @@ void checkListSnapshotsResponse(api.ListSnapshotsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed558(o.snapshots!); + checkUnnamed560(o.snapshots!); } buildCounterListSnapshotsResponse--; } -core.List buildUnnamed559() => [ +core.List buildUnnamed561() => [ buildSubscription(), buildSubscription(), ]; -void checkUnnamed559(core.List o) { +void checkUnnamed561(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -349,7 +349,7 @@ api.ListSubscriptionsResponse buildListSubscriptionsResponse() { buildCounterListSubscriptionsResponse++; if (buildCounterListSubscriptionsResponse < 3) { o.nextPageToken = 'foo'; - o.subscriptions = buildUnnamed559(); + o.subscriptions = buildUnnamed561(); } buildCounterListSubscriptionsResponse--; return o; @@ -362,17 +362,17 @@ void checkListSubscriptionsResponse(api.ListSubscriptionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed559(o.subscriptions!); + checkUnnamed561(o.subscriptions!); } buildCounterListSubscriptionsResponse--; } -core.List buildUnnamed560() => [ +core.List buildUnnamed562() => [ 'foo', 'foo', ]; -void checkUnnamed560(core.List o) { +void checkUnnamed562(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -390,7 +390,7 @@ api.ListTopicSnapshotsResponse buildListTopicSnapshotsResponse() { buildCounterListTopicSnapshotsResponse++; if (buildCounterListTopicSnapshotsResponse < 3) { o.nextPageToken = 'foo'; - o.snapshots = buildUnnamed560(); + o.snapshots = buildUnnamed562(); } buildCounterListTopicSnapshotsResponse--; return o; @@ -403,17 +403,17 @@ void checkListTopicSnapshotsResponse(api.ListTopicSnapshotsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed560(o.snapshots!); + checkUnnamed562(o.snapshots!); } buildCounterListTopicSnapshotsResponse--; } -core.List buildUnnamed561() => [ +core.List buildUnnamed563() => [ 'foo', 'foo', ]; -void checkUnnamed561(core.List o) { +void checkUnnamed563(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -431,7 +431,7 @@ api.ListTopicSubscriptionsResponse buildListTopicSubscriptionsResponse() { buildCounterListTopicSubscriptionsResponse++; if (buildCounterListTopicSubscriptionsResponse < 3) { o.nextPageToken = 'foo'; - o.subscriptions = buildUnnamed561(); + o.subscriptions = buildUnnamed563(); } buildCounterListTopicSubscriptionsResponse--; return o; @@ -444,17 +444,17 @@ void checkListTopicSubscriptionsResponse(api.ListTopicSubscriptionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed561(o.subscriptions!); + checkUnnamed563(o.subscriptions!); } buildCounterListTopicSubscriptionsResponse--; } -core.List buildUnnamed562() => [ +core.List buildUnnamed564() => [ buildTopic(), buildTopic(), ]; -void checkUnnamed562(core.List o) { +void checkUnnamed564(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTopic(o[0]); checkTopic(o[1]); @@ -466,7 +466,7 @@ api.ListTopicsResponse buildListTopicsResponse() { buildCounterListTopicsResponse++; if (buildCounterListTopicsResponse < 3) { o.nextPageToken = 'foo'; - o.topics = buildUnnamed562(); + o.topics = buildUnnamed564(); } buildCounterListTopicsResponse--; return o; @@ -479,17 +479,17 @@ void checkListTopicsResponse(api.ListTopicsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed562(o.topics!); + checkUnnamed564(o.topics!); } buildCounterListTopicsResponse--; } -core.List buildUnnamed563() => [ +core.List buildUnnamed565() => [ 'foo', 'foo', ]; -void checkUnnamed563(core.List o) { +void checkUnnamed565(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -506,7 +506,7 @@ api.MessageStoragePolicy buildMessageStoragePolicy() { final o = api.MessageStoragePolicy(); buildCounterMessageStoragePolicy++; if (buildCounterMessageStoragePolicy < 3) { - o.allowedPersistenceRegions = buildUnnamed563(); + o.allowedPersistenceRegions = buildUnnamed565(); } buildCounterMessageStoragePolicy--; return o; @@ -515,17 +515,17 @@ api.MessageStoragePolicy buildMessageStoragePolicy() { void checkMessageStoragePolicy(api.MessageStoragePolicy o) { buildCounterMessageStoragePolicy++; if (buildCounterMessageStoragePolicy < 3) { - checkUnnamed563(o.allowedPersistenceRegions!); + checkUnnamed565(o.allowedPersistenceRegions!); } buildCounterMessageStoragePolicy--; } -core.List buildUnnamed564() => [ +core.List buildUnnamed566() => [ 'foo', 'foo', ]; -void checkUnnamed564(core.List o) { +void checkUnnamed566(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -543,7 +543,7 @@ api.ModifyAckDeadlineRequest buildModifyAckDeadlineRequest() { buildCounterModifyAckDeadlineRequest++; if (buildCounterModifyAckDeadlineRequest < 3) { o.ackDeadlineSeconds = 42; - o.ackIds = buildUnnamed564(); + o.ackIds = buildUnnamed566(); } buildCounterModifyAckDeadlineRequest--; return o; @@ -556,7 +556,7 @@ void checkModifyAckDeadlineRequest(api.ModifyAckDeadlineRequest o) { o.ackDeadlineSeconds!, unittest.equals(42), ); - checkUnnamed564(o.ackIds!); + checkUnnamed566(o.ackIds!); } buildCounterModifyAckDeadlineRequest--; } @@ -607,12 +607,12 @@ void checkOidcToken(api.OidcToken o) { buildCounterOidcToken--; } -core.List buildUnnamed565() => [ +core.List buildUnnamed567() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed565(core.List o) { +void checkUnnamed567(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -623,7 +623,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed565(); + o.bindings = buildUnnamed567(); o.etag = 'foo'; o.version = 42; } @@ -634,7 +634,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed565(o.bindings!); + checkUnnamed567(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -647,12 +647,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed566() => [ +core.List buildUnnamed568() => [ buildPubsubMessage(), buildPubsubMessage(), ]; -void checkUnnamed566(core.List o) { +void checkUnnamed568(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPubsubMessage(o[0]); checkPubsubMessage(o[1]); @@ -663,7 +663,7 @@ api.PublishRequest buildPublishRequest() { final o = api.PublishRequest(); buildCounterPublishRequest++; if (buildCounterPublishRequest < 3) { - o.messages = buildUnnamed566(); + o.messages = buildUnnamed568(); } buildCounterPublishRequest--; return o; @@ -672,17 +672,17 @@ api.PublishRequest buildPublishRequest() { void checkPublishRequest(api.PublishRequest o) { buildCounterPublishRequest++; if (buildCounterPublishRequest < 3) { - checkUnnamed566(o.messages!); + checkUnnamed568(o.messages!); } buildCounterPublishRequest--; } -core.List buildUnnamed567() => [ +core.List buildUnnamed569() => [ 'foo', 'foo', ]; -void checkUnnamed567(core.List o) { +void checkUnnamed569(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -699,7 +699,7 @@ api.PublishResponse buildPublishResponse() { final o = api.PublishResponse(); buildCounterPublishResponse++; if (buildCounterPublishResponse < 3) { - o.messageIds = buildUnnamed567(); + o.messageIds = buildUnnamed569(); } buildCounterPublishResponse--; return o; @@ -708,17 +708,17 @@ api.PublishResponse buildPublishResponse() { void checkPublishResponse(api.PublishResponse o) { buildCounterPublishResponse++; if (buildCounterPublishResponse < 3) { - checkUnnamed567(o.messageIds!); + checkUnnamed569(o.messageIds!); } buildCounterPublishResponse--; } -core.Map buildUnnamed568() => { +core.Map buildUnnamed570() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed568(core.Map o) { +void checkUnnamed570(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -735,7 +735,7 @@ api.PubsubMessage buildPubsubMessage() { final o = api.PubsubMessage(); buildCounterPubsubMessage++; if (buildCounterPubsubMessage < 3) { - o.attributes = buildUnnamed568(); + o.attributes = buildUnnamed570(); o.data = 'foo'; o.messageId = 'foo'; o.orderingKey = 'foo'; @@ -748,7 +748,7 @@ api.PubsubMessage buildPubsubMessage() { void checkPubsubMessage(api.PubsubMessage o) { buildCounterPubsubMessage++; if (buildCounterPubsubMessage < 3) { - checkUnnamed568(o.attributes!); + checkUnnamed570(o.attributes!); unittest.expect( o.data!, unittest.equals('foo'), @@ -793,12 +793,12 @@ void checkPullRequest(api.PullRequest o) { buildCounterPullRequest--; } -core.List buildUnnamed569() => [ +core.List buildUnnamed571() => [ buildReceivedMessage(), buildReceivedMessage(), ]; -void checkUnnamed569(core.List o) { +void checkUnnamed571(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReceivedMessage(o[0]); checkReceivedMessage(o[1]); @@ -809,7 +809,7 @@ api.PullResponse buildPullResponse() { final o = api.PullResponse(); buildCounterPullResponse++; if (buildCounterPullResponse < 3) { - o.receivedMessages = buildUnnamed569(); + o.receivedMessages = buildUnnamed571(); } buildCounterPullResponse--; return o; @@ -818,17 +818,17 @@ api.PullResponse buildPullResponse() { void checkPullResponse(api.PullResponse o) { buildCounterPullResponse++; if (buildCounterPullResponse < 3) { - checkUnnamed569(o.receivedMessages!); + checkUnnamed571(o.receivedMessages!); } buildCounterPullResponse--; } -core.Map buildUnnamed570() => { +core.Map buildUnnamed572() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed570(core.Map o) { +void checkUnnamed572(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -845,7 +845,7 @@ api.PushConfig buildPushConfig() { final o = api.PushConfig(); buildCounterPushConfig++; if (buildCounterPushConfig < 3) { - o.attributes = buildUnnamed570(); + o.attributes = buildUnnamed572(); o.oidcToken = buildOidcToken(); o.pushEndpoint = 'foo'; } @@ -856,7 +856,7 @@ api.PushConfig buildPushConfig() { void checkPushConfig(api.PushConfig o) { buildCounterPushConfig++; if (buildCounterPushConfig < 3) { - checkUnnamed570(o.attributes!); + checkUnnamed572(o.attributes!); checkOidcToken(o.oidcToken!); unittest.expect( o.pushEndpoint!, @@ -1042,12 +1042,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed571() => { +core.Map buildUnnamed573() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed571(core.Map o) { +void checkUnnamed573(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1065,7 +1065,7 @@ api.Snapshot buildSnapshot() { buildCounterSnapshot++; if (buildCounterSnapshot < 3) { o.expireTime = 'foo'; - o.labels = buildUnnamed571(); + o.labels = buildUnnamed573(); o.name = 'foo'; o.topic = 'foo'; } @@ -1080,7 +1080,7 @@ void checkSnapshot(api.Snapshot o) { o.expireTime!, unittest.equals('foo'), ); - checkUnnamed571(o.labels!); + checkUnnamed573(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1093,12 +1093,12 @@ void checkSnapshot(api.Snapshot o) { buildCounterSnapshot--; } -core.Map buildUnnamed572() => { +core.Map buildUnnamed574() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed572(core.Map o) { +void checkUnnamed574(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1121,13 +1121,14 @@ api.Subscription buildSubscription() { o.enableMessageOrdering = true; o.expirationPolicy = buildExpirationPolicy(); o.filter = 'foo'; - o.labels = buildUnnamed572(); + o.labels = buildUnnamed574(); o.messageRetentionDuration = 'foo'; o.name = 'foo'; o.pushConfig = buildPushConfig(); o.retainAckedMessages = true; o.retryPolicy = buildRetryPolicy(); o.topic = 'foo'; + o.topicMessageRetentionDuration = 'foo'; } buildCounterSubscription--; return o; @@ -1148,7 +1149,7 @@ void checkSubscription(api.Subscription o) { o.filter!, unittest.equals('foo'), ); - checkUnnamed572(o.labels!); + checkUnnamed574(o.labels!); unittest.expect( o.messageRetentionDuration!, unittest.equals('foo'), @@ -1164,16 +1165,20 @@ void checkSubscription(api.Subscription o) { o.topic!, unittest.equals('foo'), ); + unittest.expect( + o.topicMessageRetentionDuration!, + unittest.equals('foo'), + ); } buildCounterSubscription--; } -core.List buildUnnamed573() => [ +core.List buildUnnamed575() => [ 'foo', 'foo', ]; -void checkUnnamed573(core.List o) { +void checkUnnamed575(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1190,7 +1195,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed573(); + o.permissions = buildUnnamed575(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1199,17 +1204,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed573(o.permissions!); + checkUnnamed575(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed574() => [ +core.List buildUnnamed576() => [ 'foo', 'foo', ]; -void checkUnnamed574(core.List o) { +void checkUnnamed576(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1226,7 +1231,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed574(); + o.permissions = buildUnnamed576(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1235,17 +1240,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed574(o.permissions!); + checkUnnamed576(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.Map buildUnnamed575() => { +core.Map buildUnnamed577() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed575(core.Map o) { +void checkUnnamed577(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1263,7 +1268,8 @@ api.Topic buildTopic() { buildCounterTopic++; if (buildCounterTopic < 3) { o.kmsKeyName = 'foo'; - o.labels = buildUnnamed575(); + o.labels = buildUnnamed577(); + o.messageRetentionDuration = 'foo'; o.messageStoragePolicy = buildMessageStoragePolicy(); o.name = 'foo'; o.satisfiesPzs = true; @@ -1280,7 +1286,11 @@ void checkTopic(api.Topic o) { o.kmsKeyName!, unittest.equals('foo'), ); - checkUnnamed575(o.labels!); + checkUnnamed577(o.labels!); + unittest.expect( + o.messageRetentionDuration!, + unittest.equals('foo'), + ); checkMessageStoragePolicy(o.messageStoragePolicy!); unittest.expect( o.name!, diff --git a/generated/googleapis/test/pubsublite/v1_test.dart b/generated/googleapis/test/pubsublite/v1_test.dart index 68f17efe0..24e117731 100644 --- a/generated/googleapis/test/pubsublite/v1_test.dart +++ b/generated/googleapis/test/pubsublite/v1_test.dart @@ -26,6 +26,21 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.int buildCounterCancelOperationRequest = 0; +api.CancelOperationRequest buildCancelOperationRequest() { + final o = api.CancelOperationRequest(); + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; + return o; +} + +void checkCancelOperationRequest(api.CancelOperationRequest o) { + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; +} + core.int buildCounterCapacity = 0; api.Capacity buildCapacity() { final o = api.Capacity(); @@ -298,12 +313,47 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed7592() => [ +core.List buildUnnamed7671() => [ + buildOperation(), + buildOperation(), + ]; + +void checkUnnamed7671(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkOperation(o[0]); + checkOperation(o[1]); +} + +core.int buildCounterListOperationsResponse = 0; +api.ListOperationsResponse buildListOperationsResponse() { + final o = api.ListOperationsResponse(); + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed7671(); + } + buildCounterListOperationsResponse--; + return o; +} + +void checkListOperationsResponse(api.ListOperationsResponse o) { + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed7671(o.operations!); + } + buildCounterListOperationsResponse--; +} + +core.List buildUnnamed7672() => [ buildPartitionCursor(), buildPartitionCursor(), ]; -void checkUnnamed7592(core.List o) { +void checkUnnamed7672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartitionCursor(o[0]); checkPartitionCursor(o[1]); @@ -315,7 +365,7 @@ api.ListPartitionCursorsResponse buildListPartitionCursorsResponse() { buildCounterListPartitionCursorsResponse++; if (buildCounterListPartitionCursorsResponse < 3) { o.nextPageToken = 'foo'; - o.partitionCursors = buildUnnamed7592(); + o.partitionCursors = buildUnnamed7672(); } buildCounterListPartitionCursorsResponse--; return o; @@ -328,17 +378,17 @@ void checkListPartitionCursorsResponse(api.ListPartitionCursorsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7592(o.partitionCursors!); + checkUnnamed7672(o.partitionCursors!); } buildCounterListPartitionCursorsResponse--; } -core.List buildUnnamed7593() => [ +core.List buildUnnamed7673() => [ buildSubscription(), buildSubscription(), ]; -void checkUnnamed7593(core.List o) { +void checkUnnamed7673(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -350,7 +400,7 @@ api.ListSubscriptionsResponse buildListSubscriptionsResponse() { buildCounterListSubscriptionsResponse++; if (buildCounterListSubscriptionsResponse < 3) { o.nextPageToken = 'foo'; - o.subscriptions = buildUnnamed7593(); + o.subscriptions = buildUnnamed7673(); } buildCounterListSubscriptionsResponse--; return o; @@ -363,17 +413,17 @@ void checkListSubscriptionsResponse(api.ListSubscriptionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7593(o.subscriptions!); + checkUnnamed7673(o.subscriptions!); } buildCounterListSubscriptionsResponse--; } -core.List buildUnnamed7594() => [ +core.List buildUnnamed7674() => [ 'foo', 'foo', ]; -void checkUnnamed7594(core.List o) { +void checkUnnamed7674(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -391,7 +441,7 @@ api.ListTopicSubscriptionsResponse buildListTopicSubscriptionsResponse() { buildCounterListTopicSubscriptionsResponse++; if (buildCounterListTopicSubscriptionsResponse < 3) { o.nextPageToken = 'foo'; - o.subscriptions = buildUnnamed7594(); + o.subscriptions = buildUnnamed7674(); } buildCounterListTopicSubscriptionsResponse--; return o; @@ -404,17 +454,17 @@ void checkListTopicSubscriptionsResponse(api.ListTopicSubscriptionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7594(o.subscriptions!); + checkUnnamed7674(o.subscriptions!); } buildCounterListTopicSubscriptionsResponse--; } -core.List buildUnnamed7595() => [ +core.List buildUnnamed7675() => [ buildTopic(), buildTopic(), ]; -void checkUnnamed7595(core.List o) { +void checkUnnamed7675(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTopic(o[0]); checkTopic(o[1]); @@ -426,7 +476,7 @@ api.ListTopicsResponse buildListTopicsResponse() { buildCounterListTopicsResponse++; if (buildCounterListTopicsResponse < 3) { o.nextPageToken = 'foo'; - o.topics = buildUnnamed7595(); + o.topics = buildUnnamed7675(); } buildCounterListTopicsResponse--; return o; @@ -439,11 +489,168 @@ void checkListTopicsResponse(api.ListTopicsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7595(o.topics!); + checkUnnamed7675(o.topics!); } buildCounterListTopicsResponse--; } +core.Map buildUnnamed7676() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed7676(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed7677() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed7677(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted3 = (o['x']!) as core.Map; + unittest.expect(casted3, unittest.hasLength(3)); + unittest.expect( + casted3['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted3['bool'], + unittest.equals(true), + ); + unittest.expect( + casted3['string'], + unittest.equals('foo'), + ); + var casted4 = (o['y']!) as core.Map; + unittest.expect(casted4, unittest.hasLength(3)); + unittest.expect( + casted4['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted4['bool'], + unittest.equals(true), + ); + unittest.expect( + casted4['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterOperation = 0; +api.Operation buildOperation() { + final o = api.Operation(); + buildCounterOperation++; + if (buildCounterOperation < 3) { + o.done = true; + o.error = buildStatus(); + o.metadata = buildUnnamed7676(); + o.name = 'foo'; + o.response = buildUnnamed7677(); + } + buildCounterOperation--; + return o; +} + +void checkOperation(api.Operation o) { + buildCounterOperation++; + if (buildCounterOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkStatus(o.error!); + checkUnnamed7676(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed7677(o.response!); + } + buildCounterOperation--; +} + +core.int buildCounterOperationMetadata = 0; +api.OperationMetadata buildOperationMetadata() { + final o = api.OperationMetadata(); + buildCounterOperationMetadata++; + if (buildCounterOperationMetadata < 3) { + o.createTime = 'foo'; + o.endTime = 'foo'; + o.target = 'foo'; + o.verb = 'foo'; + } + buildCounterOperationMetadata--; + return o; +} + +void checkOperationMetadata(api.OperationMetadata o) { + buildCounterOperationMetadata++; + if (buildCounterOperationMetadata < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.target!, + unittest.equals('foo'), + ); + unittest.expect( + o.verb!, + unittest.equals('foo'), + ); + } + buildCounterOperationMetadata--; +} + core.int buildCounterPartitionConfig = 0; api.PartitionConfig buildPartitionConfig() { final o = api.PartitionConfig(); @@ -524,6 +731,130 @@ void checkRetentionConfig(api.RetentionConfig o) { buildCounterRetentionConfig--; } +core.int buildCounterSeekSubscriptionRequest = 0; +api.SeekSubscriptionRequest buildSeekSubscriptionRequest() { + final o = api.SeekSubscriptionRequest(); + buildCounterSeekSubscriptionRequest++; + if (buildCounterSeekSubscriptionRequest < 3) { + o.namedTarget = 'foo'; + o.timeTarget = buildTimeTarget(); + } + buildCounterSeekSubscriptionRequest--; + return o; +} + +void checkSeekSubscriptionRequest(api.SeekSubscriptionRequest o) { + buildCounterSeekSubscriptionRequest++; + if (buildCounterSeekSubscriptionRequest < 3) { + unittest.expect( + o.namedTarget!, + unittest.equals('foo'), + ); + checkTimeTarget(o.timeTarget!); + } + buildCounterSeekSubscriptionRequest--; +} + +core.int buildCounterSeekSubscriptionResponse = 0; +api.SeekSubscriptionResponse buildSeekSubscriptionResponse() { + final o = api.SeekSubscriptionResponse(); + buildCounterSeekSubscriptionResponse++; + if (buildCounterSeekSubscriptionResponse < 3) {} + buildCounterSeekSubscriptionResponse--; + return o; +} + +void checkSeekSubscriptionResponse(api.SeekSubscriptionResponse o) { + buildCounterSeekSubscriptionResponse++; + if (buildCounterSeekSubscriptionResponse < 3) {} + buildCounterSeekSubscriptionResponse--; +} + +core.Map buildUnnamed7678() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed7678(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed7679() => [ + buildUnnamed7678(), + buildUnnamed7678(), + ]; + +void checkUnnamed7679(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed7678(o[0]); + checkUnnamed7678(o[1]); +} + +core.int buildCounterStatus = 0; +api.Status buildStatus() { + final o = api.Status(); + buildCounterStatus++; + if (buildCounterStatus < 3) { + o.code = 42; + o.details = buildUnnamed7679(); + o.message = 'foo'; + } + buildCounterStatus--; + return o; +} + +void checkStatus(api.Status o) { + buildCounterStatus++; + if (buildCounterStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed7679(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterStatus--; +} + core.int buildCounterSubscription = 0; api.Subscription buildSubscription() { final o = api.Subscription(); @@ -629,6 +960,16 @@ void checkTopicPartitions(api.TopicPartitions o) { } void main() { + unittest.group('obj-schema-CancelOperationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCancelOperationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CancelOperationRequest.fromJson( + oJson as core.Map); + checkCancelOperationRequest(od); + }); + }); + unittest.group('obj-schema-Capacity', () { unittest.test('to-json--from-json', () async { final o = buildCapacity(); @@ -749,6 +1090,16 @@ void main() { }); }); + unittest.group('obj-schema-ListOperationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListOperationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListOperationsResponse.fromJson( + oJson as core.Map); + checkListOperationsResponse(od); + }); + }); + unittest.group('obj-schema-ListPartitionCursorsResponse', () { unittest.test('to-json--from-json', () async { final o = buildListPartitionCursorsResponse(); @@ -789,6 +1140,26 @@ void main() { }); }); + unittest.group('obj-schema-Operation', () { + unittest.test('to-json--from-json', () async { + final o = buildOperation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Operation.fromJson(oJson as core.Map); + checkOperation(od); + }); + }); + + unittest.group('obj-schema-OperationMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OperationMetadata.fromJson( + oJson as core.Map); + checkOperationMetadata(od); + }); + }); + unittest.group('obj-schema-PartitionConfig', () { unittest.test('to-json--from-json', () async { final o = buildPartitionConfig(); @@ -819,6 +1190,36 @@ void main() { }); }); + unittest.group('obj-schema-SeekSubscriptionRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildSeekSubscriptionRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SeekSubscriptionRequest.fromJson( + oJson as core.Map); + checkSeekSubscriptionRequest(od); + }); + }); + + unittest.group('obj-schema-SeekSubscriptionResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildSeekSubscriptionResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SeekSubscriptionResponse.fromJson( + oJson as core.Map); + checkSeekSubscriptionResponse(od); + }); + }); + + unittest.group('obj-schema-Status', () { + unittest.test('to-json--from-json', () async { + final o = buildStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Status.fromJson(oJson as core.Map); + checkStatus(od); + }); + }); + unittest.group('obj-schema-Subscription', () { unittest.test('to-json--from-json', () async { final o = buildSubscription(); @@ -859,6 +1260,241 @@ void main() { }); }); + unittest.group('resource-AdminProjectsLocationsOperationsResource', () { + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = api.PubsubLiteApi(mock).admin.projects.locations.operations; + final arg_request = buildCancelOperationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CancelOperationRequest.fromJson( + json as core.Map); + checkCancelOperationRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 9), + unittest.equals('v1/admin/'), + ); + pathOffset += 9; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.cancel(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.PubsubLiteApi(mock).admin.projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 9), + unittest.equals('v1/admin/'), + ); + pathOffset += 9; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.PubsubLiteApi(mock).admin.projects.locations.operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 9), + unittest.equals('v1/admin/'), + ); + pathOffset += 9; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.PubsubLiteApi(mock).admin.projects.locations.operations; + final arg_name = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 9), + unittest.equals('v1/admin/'), + ); + pathOffset += 9; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListOperationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListOperationsResponse(response as api.ListOperationsResponse); + }); + }); + unittest.group('resource-AdminProjectsLocationsSubscriptionsResource', () { unittest.test('method--create', () async { final mock = HttpServerMock(); @@ -1166,6 +1802,65 @@ void main() { updateMask: arg_updateMask, $fields: arg_$fields); checkSubscription(response as api.Subscription); }); + + unittest.test('method--seek', () async { + final mock = HttpServerMock(); + final res = + api.PubsubLiteApi(mock).admin.projects.locations.subscriptions; + final arg_request = buildSeekSubscriptionRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SeekSubscriptionRequest.fromJson( + json as core.Map); + checkSeekSubscriptionRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 9), + unittest.equals('v1/admin/'), + ); + pathOffset += 9; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.seek(arg_request, arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); }); unittest.group('resource-AdminProjectsLocationsTopicsResource', () { diff --git a/generated/googleapis/test/realtimebidding/v1_test.dart b/generated/googleapis/test/realtimebidding/v1_test.dart index f7bb21d39..469e48db2 100644 --- a/generated/googleapis/test/realtimebidding/v1_test.dart +++ b/generated/googleapis/test/realtimebidding/v1_test.dart @@ -42,12 +42,12 @@ void checkActivatePretargetingConfigRequest( buildCounterActivatePretargetingConfigRequest--; } -core.List buildUnnamed6561() => [ +core.List buildUnnamed6632() => [ 'foo', 'foo', ]; -void checkUnnamed6561(core.List o) { +void checkUnnamed6632(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -59,12 +59,12 @@ void checkUnnamed6561(core.List o) { ); } -core.List buildUnnamed6562() => [ +core.List buildUnnamed6633() => [ 'foo', 'foo', ]; -void checkUnnamed6562(core.List o) { +void checkUnnamed6633(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -76,12 +76,12 @@ void checkUnnamed6562(core.List o) { ); } -core.List buildUnnamed6563() => [ +core.List buildUnnamed6634() => [ 'foo', 'foo', ]; -void checkUnnamed6563(core.List o) { +void checkUnnamed6634(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -98,9 +98,9 @@ api.AdTechnologyProviders buildAdTechnologyProviders() { final o = api.AdTechnologyProviders(); buildCounterAdTechnologyProviders++; if (buildCounterAdTechnologyProviders < 3) { - o.detectedGvlIds = buildUnnamed6561(); - o.detectedProviderIds = buildUnnamed6562(); - o.unidentifiedProviderDomains = buildUnnamed6563(); + o.detectedGvlIds = buildUnnamed6632(); + o.detectedProviderIds = buildUnnamed6633(); + o.unidentifiedProviderDomains = buildUnnamed6634(); } buildCounterAdTechnologyProviders--; return o; @@ -109,19 +109,19 @@ api.AdTechnologyProviders buildAdTechnologyProviders() { void checkAdTechnologyProviders(api.AdTechnologyProviders o) { buildCounterAdTechnologyProviders++; if (buildCounterAdTechnologyProviders < 3) { - checkUnnamed6561(o.detectedGvlIds!); - checkUnnamed6562(o.detectedProviderIds!); - checkUnnamed6563(o.unidentifiedProviderDomains!); + checkUnnamed6632(o.detectedGvlIds!); + checkUnnamed6633(o.detectedProviderIds!); + checkUnnamed6634(o.unidentifiedProviderDomains!); } buildCounterAdTechnologyProviders--; } -core.List buildUnnamed6564() => [ +core.List buildUnnamed6635() => [ 'foo', 'foo', ]; -void checkUnnamed6564(core.List o) { +void checkUnnamed6635(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -138,7 +138,7 @@ api.AddTargetedAppsRequest buildAddTargetedAppsRequest() { final o = api.AddTargetedAppsRequest(); buildCounterAddTargetedAppsRequest++; if (buildCounterAddTargetedAppsRequest < 3) { - o.appIds = buildUnnamed6564(); + o.appIds = buildUnnamed6635(); o.targetingMode = 'foo'; } buildCounterAddTargetedAppsRequest--; @@ -148,7 +148,7 @@ api.AddTargetedAppsRequest buildAddTargetedAppsRequest() { void checkAddTargetedAppsRequest(api.AddTargetedAppsRequest o) { buildCounterAddTargetedAppsRequest++; if (buildCounterAddTargetedAppsRequest < 3) { - checkUnnamed6564(o.appIds!); + checkUnnamed6635(o.appIds!); unittest.expect( o.targetingMode!, unittest.equals('foo'), @@ -157,12 +157,12 @@ void checkAddTargetedAppsRequest(api.AddTargetedAppsRequest o) { buildCounterAddTargetedAppsRequest--; } -core.List buildUnnamed6565() => [ +core.List buildUnnamed6636() => [ 'foo', 'foo', ]; -void checkUnnamed6565(core.List o) { +void checkUnnamed6636(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -179,7 +179,7 @@ api.AddTargetedPublishersRequest buildAddTargetedPublishersRequest() { final o = api.AddTargetedPublishersRequest(); buildCounterAddTargetedPublishersRequest++; if (buildCounterAddTargetedPublishersRequest < 3) { - o.publisherIds = buildUnnamed6565(); + o.publisherIds = buildUnnamed6636(); o.targetingMode = 'foo'; } buildCounterAddTargetedPublishersRequest--; @@ -189,7 +189,7 @@ api.AddTargetedPublishersRequest buildAddTargetedPublishersRequest() { void checkAddTargetedPublishersRequest(api.AddTargetedPublishersRequest o) { buildCounterAddTargetedPublishersRequest++; if (buildCounterAddTargetedPublishersRequest < 3) { - checkUnnamed6565(o.publisherIds!); + checkUnnamed6636(o.publisherIds!); unittest.expect( o.targetingMode!, unittest.equals('foo'), @@ -198,12 +198,12 @@ void checkAddTargetedPublishersRequest(api.AddTargetedPublishersRequest o) { buildCounterAddTargetedPublishersRequest--; } -core.List buildUnnamed6566() => [ +core.List buildUnnamed6637() => [ 'foo', 'foo', ]; -void checkUnnamed6566(core.List o) { +void checkUnnamed6637(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -220,7 +220,7 @@ api.AddTargetedSitesRequest buildAddTargetedSitesRequest() { final o = api.AddTargetedSitesRequest(); buildCounterAddTargetedSitesRequest++; if (buildCounterAddTargetedSitesRequest < 3) { - o.sites = buildUnnamed6566(); + o.sites = buildUnnamed6637(); o.targetingMode = 'foo'; } buildCounterAddTargetedSitesRequest--; @@ -230,7 +230,7 @@ api.AddTargetedSitesRequest buildAddTargetedSitesRequest() { void checkAddTargetedSitesRequest(api.AddTargetedSitesRequest o) { buildCounterAddTargetedSitesRequest++; if (buildCounterAddTargetedSitesRequest < 3) { - checkUnnamed6566(o.sites!); + checkUnnamed6637(o.sites!); unittest.expect( o.targetingMode!, unittest.equals('foo'), @@ -336,12 +336,12 @@ void checkBidder(api.Bidder o) { buildCounterBidder--; } -core.List buildUnnamed6567() => [ +core.List buildUnnamed6638() => [ 'foo', 'foo', ]; -void checkUnnamed6567(core.List o) { +void checkUnnamed6638(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -360,7 +360,7 @@ api.Buyer buildBuyer() { if (buildCounterBuyer < 3) { o.activeCreativeCount = 'foo'; o.bidder = 'foo'; - o.billingIds = buildUnnamed6567(); + o.billingIds = buildUnnamed6638(); o.displayName = 'foo'; o.maximumActiveCreativeCount = 'foo'; o.name = 'foo'; @@ -380,7 +380,7 @@ void checkBuyer(api.Buyer o) { o.bidder!, unittest.equals('foo'), ); - checkUnnamed6567(o.billingIds!); + checkUnnamed6638(o.billingIds!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -412,12 +412,12 @@ void checkCloseUserListRequest(api.CloseUserListRequest o) { buildCounterCloseUserListRequest--; } -core.List buildUnnamed6568() => [ +core.List buildUnnamed6639() => [ 'foo', 'foo', ]; -void checkUnnamed6568(core.List o) { +void checkUnnamed6639(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -429,12 +429,12 @@ void checkUnnamed6568(core.List o) { ); } -core.List buildUnnamed6569() => [ +core.List buildUnnamed6640() => [ 'foo', 'foo', ]; -void checkUnnamed6569(core.List o) { +void checkUnnamed6640(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -446,12 +446,12 @@ void checkUnnamed6569(core.List o) { ); } -core.List buildUnnamed6570() => [ +core.List buildUnnamed6641() => [ 'foo', 'foo', ]; -void checkUnnamed6570(core.List o) { +void checkUnnamed6641(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -463,12 +463,12 @@ void checkUnnamed6570(core.List o) { ); } -core.List buildUnnamed6571() => [ +core.List buildUnnamed6642() => [ 'foo', 'foo', ]; -void checkUnnamed6571(core.List o) { +void checkUnnamed6642(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -480,12 +480,12 @@ void checkUnnamed6571(core.List o) { ); } -core.List buildUnnamed6572() => [ +core.List buildUnnamed6643() => [ 42, 42, ]; -void checkUnnamed6572(core.List o) { +void checkUnnamed6643(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -497,12 +497,12 @@ void checkUnnamed6572(core.List o) { ); } -core.List buildUnnamed6573() => [ +core.List buildUnnamed6644() => [ 'foo', 'foo', ]; -void checkUnnamed6573(core.List o) { +void checkUnnamed6644(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -514,12 +514,12 @@ void checkUnnamed6573(core.List o) { ); } -core.List buildUnnamed6574() => [ +core.List buildUnnamed6645() => [ 'foo', 'foo', ]; -void checkUnnamed6574(core.List o) { +void checkUnnamed6645(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -544,16 +544,16 @@ api.Creative buildCreative() { o.creativeFormat = 'foo'; o.creativeId = 'foo'; o.creativeServingDecision = buildCreativeServingDecision(); - o.dealIds = buildUnnamed6568(); - o.declaredAttributes = buildUnnamed6569(); - o.declaredClickThroughUrls = buildUnnamed6570(); - o.declaredRestrictedCategories = buildUnnamed6571(); - o.declaredVendorIds = buildUnnamed6572(); + o.dealIds = buildUnnamed6639(); + o.declaredAttributes = buildUnnamed6640(); + o.declaredClickThroughUrls = buildUnnamed6641(); + o.declaredRestrictedCategories = buildUnnamed6642(); + o.declaredVendorIds = buildUnnamed6643(); o.html = buildHtmlContent(); - o.impressionTrackingUrls = buildUnnamed6573(); + o.impressionTrackingUrls = buildUnnamed6644(); o.name = 'foo'; o.native = buildNativeContent(); - o.restrictedCategories = buildUnnamed6574(); + o.restrictedCategories = buildUnnamed6645(); o.version = 42; o.video = buildVideoContent(); } @@ -593,19 +593,19 @@ void checkCreative(api.Creative o) { unittest.equals('foo'), ); checkCreativeServingDecision(o.creativeServingDecision!); - checkUnnamed6568(o.dealIds!); - checkUnnamed6569(o.declaredAttributes!); - checkUnnamed6570(o.declaredClickThroughUrls!); - checkUnnamed6571(o.declaredRestrictedCategories!); - checkUnnamed6572(o.declaredVendorIds!); + checkUnnamed6639(o.dealIds!); + checkUnnamed6640(o.declaredAttributes!); + checkUnnamed6641(o.declaredClickThroughUrls!); + checkUnnamed6642(o.declaredRestrictedCategories!); + checkUnnamed6643(o.declaredVendorIds!); checkHtmlContent(o.html!); - checkUnnamed6573(o.impressionTrackingUrls!); + checkUnnamed6644(o.impressionTrackingUrls!); unittest.expect( o.name!, unittest.equals('foo'), ); checkNativeContent(o.native!); - checkUnnamed6574(o.restrictedCategories!); + checkUnnamed6645(o.restrictedCategories!); unittest.expect( o.version!, unittest.equals(42), @@ -642,23 +642,23 @@ void checkCreativeDimensions(api.CreativeDimensions o) { buildCounterCreativeDimensions--; } -core.List buildUnnamed6575() => [ +core.List buildUnnamed6646() => [ buildAdvertiserAndBrand(), buildAdvertiserAndBrand(), ]; -void checkUnnamed6575(core.List o) { +void checkUnnamed6646(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvertiserAndBrand(o[0]); checkAdvertiserAndBrand(o[1]); } -core.List buildUnnamed6576() => [ +core.List buildUnnamed6647() => [ 'foo', 'foo', ]; -void checkUnnamed6576(core.List o) { +void checkUnnamed6647(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -670,12 +670,12 @@ void checkUnnamed6576(core.List o) { ); } -core.List buildUnnamed6577() => [ +core.List buildUnnamed6648() => [ 'foo', 'foo', ]; -void checkUnnamed6577(core.List o) { +void checkUnnamed6648(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -687,12 +687,12 @@ void checkUnnamed6577(core.List o) { ); } -core.List buildUnnamed6578() => [ +core.List buildUnnamed6649() => [ 'foo', 'foo', ]; -void checkUnnamed6578(core.List o) { +void checkUnnamed6649(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -704,12 +704,12 @@ void checkUnnamed6578(core.List o) { ); } -core.List buildUnnamed6579() => [ +core.List buildUnnamed6650() => [ 'foo', 'foo', ]; -void checkUnnamed6579(core.List o) { +void checkUnnamed6650(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -721,12 +721,12 @@ void checkUnnamed6579(core.List o) { ); } -core.List buildUnnamed6580() => [ +core.List buildUnnamed6651() => [ 42, 42, ]; -void checkUnnamed6580(core.List o) { +void checkUnnamed6651(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -738,12 +738,12 @@ void checkUnnamed6580(core.List o) { ); } -core.List buildUnnamed6581() => [ +core.List buildUnnamed6652() => [ 42, 42, ]; -void checkUnnamed6581(core.List o) { +void checkUnnamed6652(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -755,12 +755,12 @@ void checkUnnamed6581(core.List o) { ); } -core.List buildUnnamed6582() => [ +core.List buildUnnamed6653() => [ 42, 42, ]; -void checkUnnamed6582(core.List o) { +void checkUnnamed6653(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -780,14 +780,14 @@ api.CreativeServingDecision buildCreativeServingDecision() { o.adTechnologyProviders = buildAdTechnologyProviders(); o.chinaPolicyCompliance = buildPolicyCompliance(); o.dealsPolicyCompliance = buildPolicyCompliance(); - o.detectedAdvertisers = buildUnnamed6575(); - o.detectedAttributes = buildUnnamed6576(); - o.detectedClickThroughUrls = buildUnnamed6577(); - o.detectedDomains = buildUnnamed6578(); - o.detectedLanguages = buildUnnamed6579(); - o.detectedProductCategories = buildUnnamed6580(); - o.detectedSensitiveCategories = buildUnnamed6581(); - o.detectedVendorIds = buildUnnamed6582(); + o.detectedAdvertisers = buildUnnamed6646(); + o.detectedAttributes = buildUnnamed6647(); + o.detectedClickThroughUrls = buildUnnamed6648(); + o.detectedDomains = buildUnnamed6649(); + o.detectedLanguages = buildUnnamed6650(); + o.detectedProductCategories = buildUnnamed6651(); + o.detectedSensitiveCategories = buildUnnamed6652(); + o.detectedVendorIds = buildUnnamed6653(); o.lastStatusUpdate = 'foo'; o.networkPolicyCompliance = buildPolicyCompliance(); o.platformPolicyCompliance = buildPolicyCompliance(); @@ -803,14 +803,14 @@ void checkCreativeServingDecision(api.CreativeServingDecision o) { checkAdTechnologyProviders(o.adTechnologyProviders!); checkPolicyCompliance(o.chinaPolicyCompliance!); checkPolicyCompliance(o.dealsPolicyCompliance!); - checkUnnamed6575(o.detectedAdvertisers!); - checkUnnamed6576(o.detectedAttributes!); - checkUnnamed6577(o.detectedClickThroughUrls!); - checkUnnamed6578(o.detectedDomains!); - checkUnnamed6579(o.detectedLanguages!); - checkUnnamed6580(o.detectedProductCategories!); - checkUnnamed6581(o.detectedSensitiveCategories!); - checkUnnamed6582(o.detectedVendorIds!); + checkUnnamed6646(o.detectedAdvertisers!); + checkUnnamed6647(o.detectedAttributes!); + checkUnnamed6648(o.detectedClickThroughUrls!); + checkUnnamed6649(o.detectedDomains!); + checkUnnamed6650(o.detectedLanguages!); + checkUnnamed6651(o.detectedProductCategories!); + checkUnnamed6652(o.detectedSensitiveCategories!); + checkUnnamed6653(o.detectedVendorIds!); unittest.expect( o.lastStatusUpdate!, unittest.equals('foo'), @@ -966,12 +966,12 @@ void checkDestinationUrlEvidence(api.DestinationUrlEvidence o) { buildCounterDestinationUrlEvidence--; } -core.List buildUnnamed6583() => [ +core.List buildUnnamed6654() => [ buildDomainCalls(), buildDomainCalls(), ]; -void checkUnnamed6583(core.List o) { +void checkUnnamed6654(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomainCalls(o[0]); checkDomainCalls(o[1]); @@ -982,7 +982,7 @@ api.DomainCallEvidence buildDomainCallEvidence() { final o = api.DomainCallEvidence(); buildCounterDomainCallEvidence++; if (buildCounterDomainCallEvidence < 3) { - o.topHttpCallDomains = buildUnnamed6583(); + o.topHttpCallDomains = buildUnnamed6654(); o.totalHttpCallCount = 42; } buildCounterDomainCallEvidence--; @@ -992,7 +992,7 @@ api.DomainCallEvidence buildDomainCallEvidence() { void checkDomainCallEvidence(api.DomainCallEvidence o) { buildCounterDomainCallEvidence++; if (buildCounterDomainCallEvidence < 3) { - checkUnnamed6583(o.topHttpCallDomains!); + checkUnnamed6654(o.topHttpCallDomains!); unittest.expect( o.totalHttpCallCount!, unittest.equals(42), @@ -1028,12 +1028,12 @@ void checkDomainCalls(api.DomainCalls o) { buildCounterDomainCalls--; } -core.List buildUnnamed6584() => [ +core.List buildUnnamed6655() => [ buildUrlDownloadSize(), buildUrlDownloadSize(), ]; -void checkUnnamed6584(core.List o) { +void checkUnnamed6655(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUrlDownloadSize(o[0]); checkUrlDownloadSize(o[1]); @@ -1044,7 +1044,7 @@ api.DownloadSizeEvidence buildDownloadSizeEvidence() { final o = api.DownloadSizeEvidence(); buildCounterDownloadSizeEvidence++; if (buildCounterDownloadSizeEvidence < 3) { - o.topUrlDownloadSizeBreakdowns = buildUnnamed6584(); + o.topUrlDownloadSizeBreakdowns = buildUnnamed6655(); o.totalDownloadSizeKb = 42; } buildCounterDownloadSizeEvidence--; @@ -1054,7 +1054,7 @@ api.DownloadSizeEvidence buildDownloadSizeEvidence() { void checkDownloadSizeEvidence(api.DownloadSizeEvidence o) { buildCounterDownloadSizeEvidence++; if (buildCounterDownloadSizeEvidence < 3) { - checkUnnamed6584(o.topUrlDownloadSizeBreakdowns!); + checkUnnamed6655(o.topUrlDownloadSizeBreakdowns!); unittest.expect( o.totalDownloadSizeKb!, unittest.equals(42), @@ -1174,12 +1174,12 @@ void checkHtmlContent(api.HtmlContent o) { buildCounterHtmlContent--; } -core.List buildUnnamed6585() => [ +core.List buildUnnamed6656() => [ 'foo', 'foo', ]; -void checkUnnamed6585(core.List o) { +void checkUnnamed6656(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1196,7 +1196,7 @@ api.HttpCallEvidence buildHttpCallEvidence() { final o = api.HttpCallEvidence(); buildCounterHttpCallEvidence++; if (buildCounterHttpCallEvidence < 3) { - o.urls = buildUnnamed6585(); + o.urls = buildUnnamed6656(); } buildCounterHttpCallEvidence--; return o; @@ -1205,17 +1205,17 @@ api.HttpCallEvidence buildHttpCallEvidence() { void checkHttpCallEvidence(api.HttpCallEvidence o) { buildCounterHttpCallEvidence++; if (buildCounterHttpCallEvidence < 3) { - checkUnnamed6585(o.urls!); + checkUnnamed6656(o.urls!); } buildCounterHttpCallEvidence--; } -core.List buildUnnamed6586() => [ +core.List buildUnnamed6657() => [ 'foo', 'foo', ]; -void checkUnnamed6586(core.List o) { +void checkUnnamed6657(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1232,7 +1232,7 @@ api.HttpCookieEvidence buildHttpCookieEvidence() { final o = api.HttpCookieEvidence(); buildCounterHttpCookieEvidence++; if (buildCounterHttpCookieEvidence < 3) { - o.cookieNames = buildUnnamed6586(); + o.cookieNames = buildUnnamed6657(); o.maxCookieCount = 42; } buildCounterHttpCookieEvidence--; @@ -1242,7 +1242,7 @@ api.HttpCookieEvidence buildHttpCookieEvidence() { void checkHttpCookieEvidence(api.HttpCookieEvidence o) { buildCounterHttpCookieEvidence++; if (buildCounterHttpCookieEvidence < 3) { - checkUnnamed6586(o.cookieNames!); + checkUnnamed6657(o.cookieNames!); unittest.expect( o.maxCookieCount!, unittest.equals(42), @@ -1283,12 +1283,12 @@ void checkImage(api.Image o) { buildCounterImage--; } -core.List buildUnnamed6587() => [ +core.List buildUnnamed6658() => [ buildBidder(), buildBidder(), ]; -void checkUnnamed6587(core.List o) { +void checkUnnamed6658(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBidder(o[0]); checkBidder(o[1]); @@ -1299,7 +1299,7 @@ api.ListBiddersResponse buildListBiddersResponse() { final o = api.ListBiddersResponse(); buildCounterListBiddersResponse++; if (buildCounterListBiddersResponse < 3) { - o.bidders = buildUnnamed6587(); + o.bidders = buildUnnamed6658(); o.nextPageToken = 'foo'; } buildCounterListBiddersResponse--; @@ -1309,7 +1309,7 @@ api.ListBiddersResponse buildListBiddersResponse() { void checkListBiddersResponse(api.ListBiddersResponse o) { buildCounterListBiddersResponse++; if (buildCounterListBiddersResponse < 3) { - checkUnnamed6587(o.bidders!); + checkUnnamed6658(o.bidders!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1318,12 +1318,12 @@ void checkListBiddersResponse(api.ListBiddersResponse o) { buildCounterListBiddersResponse--; } -core.List buildUnnamed6588() => [ +core.List buildUnnamed6659() => [ buildBuyer(), buildBuyer(), ]; -void checkUnnamed6588(core.List o) { +void checkUnnamed6659(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuyer(o[0]); checkBuyer(o[1]); @@ -1334,7 +1334,7 @@ api.ListBuyersResponse buildListBuyersResponse() { final o = api.ListBuyersResponse(); buildCounterListBuyersResponse++; if (buildCounterListBuyersResponse < 3) { - o.buyers = buildUnnamed6588(); + o.buyers = buildUnnamed6659(); o.nextPageToken = 'foo'; } buildCounterListBuyersResponse--; @@ -1344,7 +1344,7 @@ api.ListBuyersResponse buildListBuyersResponse() { void checkListBuyersResponse(api.ListBuyersResponse o) { buildCounterListBuyersResponse++; if (buildCounterListBuyersResponse < 3) { - checkUnnamed6588(o.buyers!); + checkUnnamed6659(o.buyers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1353,12 +1353,12 @@ void checkListBuyersResponse(api.ListBuyersResponse o) { buildCounterListBuyersResponse--; } -core.List buildUnnamed6589() => [ +core.List buildUnnamed6660() => [ buildCreative(), buildCreative(), ]; -void checkUnnamed6589(core.List o) { +void checkUnnamed6660(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreative(o[0]); checkCreative(o[1]); @@ -1369,7 +1369,7 @@ api.ListCreativesResponse buildListCreativesResponse() { final o = api.ListCreativesResponse(); buildCounterListCreativesResponse++; if (buildCounterListCreativesResponse < 3) { - o.creatives = buildUnnamed6589(); + o.creatives = buildUnnamed6660(); o.nextPageToken = 'foo'; } buildCounterListCreativesResponse--; @@ -1379,7 +1379,7 @@ api.ListCreativesResponse buildListCreativesResponse() { void checkListCreativesResponse(api.ListCreativesResponse o) { buildCounterListCreativesResponse++; if (buildCounterListCreativesResponse < 3) { - checkUnnamed6589(o.creatives!); + checkUnnamed6660(o.creatives!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1388,12 +1388,12 @@ void checkListCreativesResponse(api.ListCreativesResponse o) { buildCounterListCreativesResponse--; } -core.List buildUnnamed6590() => [ +core.List buildUnnamed6661() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed6590(core.List o) { +void checkUnnamed6661(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); @@ -1404,7 +1404,7 @@ api.ListEndpointsResponse buildListEndpointsResponse() { final o = api.ListEndpointsResponse(); buildCounterListEndpointsResponse++; if (buildCounterListEndpointsResponse < 3) { - o.endpoints = buildUnnamed6590(); + o.endpoints = buildUnnamed6661(); o.nextPageToken = 'foo'; } buildCounterListEndpointsResponse--; @@ -1414,7 +1414,7 @@ api.ListEndpointsResponse buildListEndpointsResponse() { void checkListEndpointsResponse(api.ListEndpointsResponse o) { buildCounterListEndpointsResponse++; if (buildCounterListEndpointsResponse < 3) { - checkUnnamed6590(o.endpoints!); + checkUnnamed6661(o.endpoints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1423,12 +1423,12 @@ void checkListEndpointsResponse(api.ListEndpointsResponse o) { buildCounterListEndpointsResponse--; } -core.List buildUnnamed6591() => [ +core.List buildUnnamed6662() => [ buildPretargetingConfig(), buildPretargetingConfig(), ]; -void checkUnnamed6591(core.List o) { +void checkUnnamed6662(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPretargetingConfig(o[0]); checkPretargetingConfig(o[1]); @@ -1440,7 +1440,7 @@ api.ListPretargetingConfigsResponse buildListPretargetingConfigsResponse() { buildCounterListPretargetingConfigsResponse++; if (buildCounterListPretargetingConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.pretargetingConfigs = buildUnnamed6591(); + o.pretargetingConfigs = buildUnnamed6662(); } buildCounterListPretargetingConfigsResponse--; return o; @@ -1454,17 +1454,17 @@ void checkListPretargetingConfigsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6591(o.pretargetingConfigs!); + checkUnnamed6662(o.pretargetingConfigs!); } buildCounterListPretargetingConfigsResponse--; } -core.List buildUnnamed6592() => [ +core.List buildUnnamed6663() => [ buildUserList(), buildUserList(), ]; -void checkUnnamed6592(core.List o) { +void checkUnnamed6663(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserList(o[0]); checkUserList(o[1]); @@ -1476,7 +1476,7 @@ api.ListUserListsResponse buildListUserListsResponse() { buildCounterListUserListsResponse++; if (buildCounterListUserListsResponse < 3) { o.nextPageToken = 'foo'; - o.userLists = buildUnnamed6592(); + o.userLists = buildUnnamed6663(); } buildCounterListUserListsResponse--; return o; @@ -1489,7 +1489,7 @@ void checkListUserListsResponse(api.ListUserListsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6592(o.userLists!); + checkUnnamed6663(o.userLists!); } buildCounterListUserListsResponse--; } @@ -1594,12 +1594,12 @@ void checkNativeContent(api.NativeContent o) { buildCounterNativeContent--; } -core.List buildUnnamed6593() => [ +core.List buildUnnamed6664() => [ 'foo', 'foo', ]; -void checkUnnamed6593(core.List o) { +void checkUnnamed6664(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1611,12 +1611,12 @@ void checkUnnamed6593(core.List o) { ); } -core.List buildUnnamed6594() => [ +core.List buildUnnamed6665() => [ 'foo', 'foo', ]; -void checkUnnamed6594(core.List o) { +void checkUnnamed6665(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1633,8 +1633,8 @@ api.NumericTargetingDimension buildNumericTargetingDimension() { final o = api.NumericTargetingDimension(); buildCounterNumericTargetingDimension++; if (buildCounterNumericTargetingDimension < 3) { - o.excludedIds = buildUnnamed6593(); - o.includedIds = buildUnnamed6594(); + o.excludedIds = buildUnnamed6664(); + o.includedIds = buildUnnamed6665(); } buildCounterNumericTargetingDimension--; return o; @@ -1643,8 +1643,8 @@ api.NumericTargetingDimension buildNumericTargetingDimension() { void checkNumericTargetingDimension(api.NumericTargetingDimension o) { buildCounterNumericTargetingDimension++; if (buildCounterNumericTargetingDimension < 3) { - checkUnnamed6593(o.excludedIds!); - checkUnnamed6594(o.includedIds!); + checkUnnamed6664(o.excludedIds!); + checkUnnamed6665(o.includedIds!); } buildCounterNumericTargetingDimension--; } @@ -1664,12 +1664,12 @@ void checkOpenUserListRequest(api.OpenUserListRequest o) { buildCounterOpenUserListRequest--; } -core.List buildUnnamed6595() => [ +core.List buildUnnamed6666() => [ buildPolicyTopicEntry(), buildPolicyTopicEntry(), ]; -void checkUnnamed6595(core.List o) { +void checkUnnamed6666(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyTopicEntry(o[0]); checkPolicyTopicEntry(o[1]); @@ -1681,7 +1681,7 @@ api.PolicyCompliance buildPolicyCompliance() { buildCounterPolicyCompliance++; if (buildCounterPolicyCompliance < 3) { o.status = 'foo'; - o.topics = buildUnnamed6595(); + o.topics = buildUnnamed6666(); } buildCounterPolicyCompliance--; return o; @@ -1694,17 +1694,17 @@ void checkPolicyCompliance(api.PolicyCompliance o) { o.status!, unittest.equals('foo'), ); - checkUnnamed6595(o.topics!); + checkUnnamed6666(o.topics!); } buildCounterPolicyCompliance--; } -core.List buildUnnamed6596() => [ +core.List buildUnnamed6667() => [ buildPolicyTopicEvidence(), buildPolicyTopicEvidence(), ]; -void checkUnnamed6596(core.List o) { +void checkUnnamed6667(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyTopicEvidence(o[0]); checkPolicyTopicEvidence(o[1]); @@ -1715,7 +1715,7 @@ api.PolicyTopicEntry buildPolicyTopicEntry() { final o = api.PolicyTopicEntry(); buildCounterPolicyTopicEntry++; if (buildCounterPolicyTopicEntry < 3) { - o.evidences = buildUnnamed6596(); + o.evidences = buildUnnamed6667(); o.helpCenterUrl = 'foo'; o.policyTopic = 'foo'; } @@ -1726,7 +1726,7 @@ api.PolicyTopicEntry buildPolicyTopicEntry() { void checkPolicyTopicEntry(api.PolicyTopicEntry o) { buildCounterPolicyTopicEntry++; if (buildCounterPolicyTopicEntry < 3) { - checkUnnamed6596(o.evidences!); + checkUnnamed6667(o.evidences!); unittest.expect( o.helpCenterUrl!, unittest.equals('foo'), @@ -1770,12 +1770,12 @@ void checkPolicyTopicEvidence(api.PolicyTopicEvidence o) { buildCounterPolicyTopicEvidence--; } -core.List buildUnnamed6597() => [ +core.List buildUnnamed6668() => [ 'foo', 'foo', ]; -void checkUnnamed6597(core.List o) { +void checkUnnamed6668(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1787,12 +1787,12 @@ void checkUnnamed6597(core.List o) { ); } -core.List buildUnnamed6598() => [ +core.List buildUnnamed6669() => [ 'foo', 'foo', ]; -void checkUnnamed6598(core.List o) { +void checkUnnamed6669(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1804,23 +1804,23 @@ void checkUnnamed6598(core.List o) { ); } -core.List buildUnnamed6599() => [ +core.List buildUnnamed6670() => [ buildCreativeDimensions(), buildCreativeDimensions(), ]; -void checkUnnamed6599(core.List o) { +void checkUnnamed6670(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeDimensions(o[0]); checkCreativeDimensions(o[1]); } -core.List buildUnnamed6600() => [ +core.List buildUnnamed6671() => [ 'foo', 'foo', ]; -void checkUnnamed6600(core.List o) { +void checkUnnamed6671(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1832,12 +1832,12 @@ void checkUnnamed6600(core.List o) { ); } -core.List buildUnnamed6601() => [ +core.List buildUnnamed6672() => [ 'foo', 'foo', ]; -void checkUnnamed6601(core.List o) { +void checkUnnamed6672(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1849,12 +1849,12 @@ void checkUnnamed6601(core.List o) { ); } -core.List buildUnnamed6602() => [ +core.List buildUnnamed6673() => [ 'foo', 'foo', ]; -void checkUnnamed6602(core.List o) { +void checkUnnamed6673(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1866,12 +1866,12 @@ void checkUnnamed6602(core.List o) { ); } -core.List buildUnnamed6603() => [ +core.List buildUnnamed6674() => [ 'foo', 'foo', ]; -void checkUnnamed6603(core.List o) { +void checkUnnamed6674(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1883,12 +1883,12 @@ void checkUnnamed6603(core.List o) { ); } -core.List buildUnnamed6604() => [ +core.List buildUnnamed6675() => [ 'foo', 'foo', ]; -void checkUnnamed6604(core.List o) { +void checkUnnamed6675(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1900,12 +1900,12 @@ void checkUnnamed6604(core.List o) { ); } -core.List buildUnnamed6605() => [ +core.List buildUnnamed6676() => [ 'foo', 'foo', ]; -void checkUnnamed6605(core.List o) { +void checkUnnamed6676(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1917,12 +1917,12 @@ void checkUnnamed6605(core.List o) { ); } -core.List buildUnnamed6606() => [ +core.List buildUnnamed6677() => [ 'foo', 'foo', ]; -void checkUnnamed6606(core.List o) { +void checkUnnamed6677(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1939,21 +1939,21 @@ api.PretargetingConfig buildPretargetingConfig() { final o = api.PretargetingConfig(); buildCounterPretargetingConfig++; if (buildCounterPretargetingConfig < 3) { - o.allowedUserTargetingModes = buildUnnamed6597(); + o.allowedUserTargetingModes = buildUnnamed6668(); o.appTargeting = buildAppTargeting(); o.billingId = 'foo'; o.displayName = 'foo'; - o.excludedContentLabelIds = buildUnnamed6598(); + o.excludedContentLabelIds = buildUnnamed6669(); o.geoTargeting = buildNumericTargetingDimension(); - o.includedCreativeDimensions = buildUnnamed6599(); - o.includedEnvironments = buildUnnamed6600(); - o.includedFormats = buildUnnamed6601(); - o.includedLanguages = buildUnnamed6602(); - o.includedMobileOperatingSystemIds = buildUnnamed6603(); - o.includedPlatforms = buildUnnamed6604(); - o.includedUserIdTypes = buildUnnamed6605(); + o.includedCreativeDimensions = buildUnnamed6670(); + o.includedEnvironments = buildUnnamed6671(); + o.includedFormats = buildUnnamed6672(); + o.includedLanguages = buildUnnamed6673(); + o.includedMobileOperatingSystemIds = buildUnnamed6674(); + o.includedPlatforms = buildUnnamed6675(); + o.includedUserIdTypes = buildUnnamed6676(); o.interstitialTargeting = 'foo'; - o.invalidGeoIds = buildUnnamed6606(); + o.invalidGeoIds = buildUnnamed6677(); o.maximumQps = 'foo'; o.minimumViewabilityDecile = 42; o.name = 'foo'; @@ -1970,7 +1970,7 @@ api.PretargetingConfig buildPretargetingConfig() { void checkPretargetingConfig(api.PretargetingConfig o) { buildCounterPretargetingConfig++; if (buildCounterPretargetingConfig < 3) { - checkUnnamed6597(o.allowedUserTargetingModes!); + checkUnnamed6668(o.allowedUserTargetingModes!); checkAppTargeting(o.appTargeting!); unittest.expect( o.billingId!, @@ -1980,20 +1980,20 @@ void checkPretargetingConfig(api.PretargetingConfig o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6598(o.excludedContentLabelIds!); + checkUnnamed6669(o.excludedContentLabelIds!); checkNumericTargetingDimension(o.geoTargeting!); - checkUnnamed6599(o.includedCreativeDimensions!); - checkUnnamed6600(o.includedEnvironments!); - checkUnnamed6601(o.includedFormats!); - checkUnnamed6602(o.includedLanguages!); - checkUnnamed6603(o.includedMobileOperatingSystemIds!); - checkUnnamed6604(o.includedPlatforms!); - checkUnnamed6605(o.includedUserIdTypes!); + checkUnnamed6670(o.includedCreativeDimensions!); + checkUnnamed6671(o.includedEnvironments!); + checkUnnamed6672(o.includedFormats!); + checkUnnamed6673(o.includedLanguages!); + checkUnnamed6674(o.includedMobileOperatingSystemIds!); + checkUnnamed6675(o.includedPlatforms!); + checkUnnamed6676(o.includedUserIdTypes!); unittest.expect( o.interstitialTargeting!, unittest.equals('foo'), ); - checkUnnamed6606(o.invalidGeoIds!); + checkUnnamed6677(o.invalidGeoIds!); unittest.expect( o.maximumQps!, unittest.equals('foo'), @@ -2018,12 +2018,12 @@ void checkPretargetingConfig(api.PretargetingConfig o) { buildCounterPretargetingConfig--; } -core.List buildUnnamed6607() => [ +core.List buildUnnamed6678() => [ 'foo', 'foo', ]; -void checkUnnamed6607(core.List o) { +void checkUnnamed6678(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2040,7 +2040,7 @@ api.RemoveTargetedAppsRequest buildRemoveTargetedAppsRequest() { final o = api.RemoveTargetedAppsRequest(); buildCounterRemoveTargetedAppsRequest++; if (buildCounterRemoveTargetedAppsRequest < 3) { - o.appIds = buildUnnamed6607(); + o.appIds = buildUnnamed6678(); } buildCounterRemoveTargetedAppsRequest--; return o; @@ -2049,17 +2049,17 @@ api.RemoveTargetedAppsRequest buildRemoveTargetedAppsRequest() { void checkRemoveTargetedAppsRequest(api.RemoveTargetedAppsRequest o) { buildCounterRemoveTargetedAppsRequest++; if (buildCounterRemoveTargetedAppsRequest < 3) { - checkUnnamed6607(o.appIds!); + checkUnnamed6678(o.appIds!); } buildCounterRemoveTargetedAppsRequest--; } -core.List buildUnnamed6608() => [ +core.List buildUnnamed6679() => [ 'foo', 'foo', ]; -void checkUnnamed6608(core.List o) { +void checkUnnamed6679(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2076,7 +2076,7 @@ api.RemoveTargetedPublishersRequest buildRemoveTargetedPublishersRequest() { final o = api.RemoveTargetedPublishersRequest(); buildCounterRemoveTargetedPublishersRequest++; if (buildCounterRemoveTargetedPublishersRequest < 3) { - o.publisherIds = buildUnnamed6608(); + o.publisherIds = buildUnnamed6679(); } buildCounterRemoveTargetedPublishersRequest--; return o; @@ -2086,17 +2086,17 @@ void checkRemoveTargetedPublishersRequest( api.RemoveTargetedPublishersRequest o) { buildCounterRemoveTargetedPublishersRequest++; if (buildCounterRemoveTargetedPublishersRequest < 3) { - checkUnnamed6608(o.publisherIds!); + checkUnnamed6679(o.publisherIds!); } buildCounterRemoveTargetedPublishersRequest--; } -core.List buildUnnamed6609() => [ +core.List buildUnnamed6680() => [ 'foo', 'foo', ]; -void checkUnnamed6609(core.List o) { +void checkUnnamed6680(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2113,7 +2113,7 @@ api.RemoveTargetedSitesRequest buildRemoveTargetedSitesRequest() { final o = api.RemoveTargetedSitesRequest(); buildCounterRemoveTargetedSitesRequest++; if (buildCounterRemoveTargetedSitesRequest < 3) { - o.sites = buildUnnamed6609(); + o.sites = buildUnnamed6680(); } buildCounterRemoveTargetedSitesRequest--; return o; @@ -2122,17 +2122,17 @@ api.RemoveTargetedSitesRequest buildRemoveTargetedSitesRequest() { void checkRemoveTargetedSitesRequest(api.RemoveTargetedSitesRequest o) { buildCounterRemoveTargetedSitesRequest++; if (buildCounterRemoveTargetedSitesRequest < 3) { - checkUnnamed6609(o.sites!); + checkUnnamed6680(o.sites!); } buildCounterRemoveTargetedSitesRequest--; } -core.List buildUnnamed6610() => [ +core.List buildUnnamed6681() => [ 'foo', 'foo', ]; -void checkUnnamed6610(core.List o) { +void checkUnnamed6681(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2150,7 +2150,7 @@ api.StringTargetingDimension buildStringTargetingDimension() { buildCounterStringTargetingDimension++; if (buildCounterStringTargetingDimension < 3) { o.targetingMode = 'foo'; - o.values = buildUnnamed6610(); + o.values = buildUnnamed6681(); } buildCounterStringTargetingDimension--; return o; @@ -2163,7 +2163,7 @@ void checkStringTargetingDimension(api.StringTargetingDimension o) { o.targetingMode!, unittest.equals('foo'), ); - checkUnnamed6610(o.values!); + checkUnnamed6681(o.values!); } buildCounterStringTargetingDimension--; } @@ -2315,12 +2315,12 @@ void checkVideoContent(api.VideoContent o) { buildCounterVideoContent--; } -core.List buildUnnamed6611() => [ +core.List buildUnnamed6682() => [ buildMediaFile(), buildMediaFile(), ]; -void checkUnnamed6611(core.List o) { +void checkUnnamed6682(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMediaFile(o[0]); checkMediaFile(o[1]); @@ -2334,7 +2334,7 @@ api.VideoMetadata buildVideoMetadata() { o.duration = 'foo'; o.isValidVast = true; o.isVpaid = true; - o.mediaFiles = buildUnnamed6611(); + o.mediaFiles = buildUnnamed6682(); o.skipOffset = 'foo'; o.vastVersion = 'foo'; } @@ -2351,7 +2351,7 @@ void checkVideoMetadata(api.VideoMetadata o) { ); unittest.expect(o.isValidVast!, unittest.isTrue); unittest.expect(o.isVpaid!, unittest.isTrue); - checkUnnamed6611(o.mediaFiles!); + checkUnnamed6682(o.mediaFiles!); unittest.expect( o.skipOffset!, unittest.equals('foo'), diff --git a/generated/googleapis/test/recaptchaenterprise/v1_test.dart b/generated/googleapis/test/recaptchaenterprise/v1_test.dart index bcae00ab4..9679274b0 100644 --- a/generated/googleapis/test/recaptchaenterprise/v1_test.dart +++ b/generated/googleapis/test/recaptchaenterprise/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3733() => [ +core.List buildUnnamed3714() => [ 'foo', 'foo', ]; -void checkUnnamed3733(core.List o) { +void checkUnnamed3714(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.GoogleCloudRecaptchaenterpriseV1AndroidKeySettings final o = api.GoogleCloudRecaptchaenterpriseV1AndroidKeySettings(); buildCounterGoogleCloudRecaptchaenterpriseV1AndroidKeySettings++; if (buildCounterGoogleCloudRecaptchaenterpriseV1AndroidKeySettings < 3) { - o.allowedPackageNames = buildUnnamed3733(); + o.allowedPackageNames = buildUnnamed3714(); } buildCounterGoogleCloudRecaptchaenterpriseV1AndroidKeySettings--; return o; @@ -59,17 +59,17 @@ void checkGoogleCloudRecaptchaenterpriseV1AndroidKeySettings( api.GoogleCloudRecaptchaenterpriseV1AndroidKeySettings o) { buildCounterGoogleCloudRecaptchaenterpriseV1AndroidKeySettings++; if (buildCounterGoogleCloudRecaptchaenterpriseV1AndroidKeySettings < 3) { - checkUnnamed3733(o.allowedPackageNames!); + checkUnnamed3714(o.allowedPackageNames!); } buildCounterGoogleCloudRecaptchaenterpriseV1AndroidKeySettings--; } -core.List buildUnnamed3734() => [ +core.List buildUnnamed3715() => [ 'foo', 'foo', ]; -void checkUnnamed3734(core.List o) { +void checkUnnamed3715(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -90,7 +90,7 @@ api.GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest if (buildCounterGoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest < 3) { o.annotation = 'foo'; - o.reasons = buildUnnamed3734(); + o.reasons = buildUnnamed3715(); } buildCounterGoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest--; return o; @@ -105,7 +105,7 @@ void checkGoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest( o.annotation!, unittest.equals('foo'), ); - checkUnnamed3734(o.reasons!); + checkUnnamed3715(o.reasons!); } buildCounterGoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest--; } @@ -243,12 +243,12 @@ void checkGoogleCloudRecaptchaenterpriseV1Event( buildCounterGoogleCloudRecaptchaenterpriseV1Event--; } -core.List buildUnnamed3735() => [ +core.List buildUnnamed3716() => [ 'foo', 'foo', ]; -void checkUnnamed3735(core.List o) { +void checkUnnamed3716(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -266,7 +266,7 @@ api.GoogleCloudRecaptchaenterpriseV1IOSKeySettings final o = api.GoogleCloudRecaptchaenterpriseV1IOSKeySettings(); buildCounterGoogleCloudRecaptchaenterpriseV1IOSKeySettings++; if (buildCounterGoogleCloudRecaptchaenterpriseV1IOSKeySettings < 3) { - o.allowedBundleIds = buildUnnamed3735(); + o.allowedBundleIds = buildUnnamed3716(); } buildCounterGoogleCloudRecaptchaenterpriseV1IOSKeySettings--; return o; @@ -276,17 +276,17 @@ void checkGoogleCloudRecaptchaenterpriseV1IOSKeySettings( api.GoogleCloudRecaptchaenterpriseV1IOSKeySettings o) { buildCounterGoogleCloudRecaptchaenterpriseV1IOSKeySettings++; if (buildCounterGoogleCloudRecaptchaenterpriseV1IOSKeySettings < 3) { - checkUnnamed3735(o.allowedBundleIds!); + checkUnnamed3716(o.allowedBundleIds!); } buildCounterGoogleCloudRecaptchaenterpriseV1IOSKeySettings--; } -core.Map buildUnnamed3736() => { +core.Map buildUnnamed3717() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3736(core.Map o) { +void checkUnnamed3717(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -309,7 +309,7 @@ api.GoogleCloudRecaptchaenterpriseV1Key o.createTime = 'foo'; o.displayName = 'foo'; o.iosSettings = buildGoogleCloudRecaptchaenterpriseV1IOSKeySettings(); - o.labels = buildUnnamed3736(); + o.labels = buildUnnamed3717(); o.name = 'foo'; o.testingOptions = buildGoogleCloudRecaptchaenterpriseV1TestingOptions(); o.webSettings = buildGoogleCloudRecaptchaenterpriseV1WebKeySettings(); @@ -332,7 +332,7 @@ void checkGoogleCloudRecaptchaenterpriseV1Key( unittest.equals('foo'), ); checkGoogleCloudRecaptchaenterpriseV1IOSKeySettings(o.iosSettings!); - checkUnnamed3736(o.labels!); + checkUnnamed3717(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -343,12 +343,12 @@ void checkGoogleCloudRecaptchaenterpriseV1Key( buildCounterGoogleCloudRecaptchaenterpriseV1Key--; } -core.List buildUnnamed3737() => [ +core.List buildUnnamed3718() => [ buildGoogleCloudRecaptchaenterpriseV1Key(), buildGoogleCloudRecaptchaenterpriseV1Key(), ]; -void checkUnnamed3737(core.List o) { +void checkUnnamed3718(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecaptchaenterpriseV1Key(o[0]); checkGoogleCloudRecaptchaenterpriseV1Key(o[1]); @@ -360,7 +360,7 @@ api.GoogleCloudRecaptchaenterpriseV1ListKeysResponse final o = api.GoogleCloudRecaptchaenterpriseV1ListKeysResponse(); buildCounterGoogleCloudRecaptchaenterpriseV1ListKeysResponse++; if (buildCounterGoogleCloudRecaptchaenterpriseV1ListKeysResponse < 3) { - o.keys = buildUnnamed3737(); + o.keys = buildUnnamed3718(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudRecaptchaenterpriseV1ListKeysResponse--; @@ -371,7 +371,7 @@ void checkGoogleCloudRecaptchaenterpriseV1ListKeysResponse( api.GoogleCloudRecaptchaenterpriseV1ListKeysResponse o) { buildCounterGoogleCloudRecaptchaenterpriseV1ListKeysResponse++; if (buildCounterGoogleCloudRecaptchaenterpriseV1ListKeysResponse < 3) { - checkUnnamed3737(o.keys!); + checkUnnamed3718(o.keys!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -381,12 +381,12 @@ void checkGoogleCloudRecaptchaenterpriseV1ListKeysResponse( } core.List - buildUnnamed3738() => [ + buildUnnamed3719() => [ buildGoogleCloudRecaptchaenterpriseV1ChallengeMetrics(), buildGoogleCloudRecaptchaenterpriseV1ChallengeMetrics(), ]; -void checkUnnamed3738( +void checkUnnamed3719( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecaptchaenterpriseV1ChallengeMetrics(o[0]); @@ -394,12 +394,12 @@ void checkUnnamed3738( } core.List - buildUnnamed3739() => [ + buildUnnamed3720() => [ buildGoogleCloudRecaptchaenterpriseV1ScoreMetrics(), buildGoogleCloudRecaptchaenterpriseV1ScoreMetrics(), ]; -void checkUnnamed3739( +void checkUnnamed3720( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecaptchaenterpriseV1ScoreMetrics(o[0]); @@ -412,8 +412,9 @@ api.GoogleCloudRecaptchaenterpriseV1Metrics final o = api.GoogleCloudRecaptchaenterpriseV1Metrics(); buildCounterGoogleCloudRecaptchaenterpriseV1Metrics++; if (buildCounterGoogleCloudRecaptchaenterpriseV1Metrics < 3) { - o.challengeMetrics = buildUnnamed3738(); - o.scoreMetrics = buildUnnamed3739(); + o.challengeMetrics = buildUnnamed3719(); + o.name = 'foo'; + o.scoreMetrics = buildUnnamed3720(); o.startTime = 'foo'; } buildCounterGoogleCloudRecaptchaenterpriseV1Metrics--; @@ -424,8 +425,12 @@ void checkGoogleCloudRecaptchaenterpriseV1Metrics( api.GoogleCloudRecaptchaenterpriseV1Metrics o) { buildCounterGoogleCloudRecaptchaenterpriseV1Metrics++; if (buildCounterGoogleCloudRecaptchaenterpriseV1Metrics < 3) { - checkUnnamed3738(o.challengeMetrics!); - checkUnnamed3739(o.scoreMetrics!); + checkUnnamed3719(o.challengeMetrics!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed3720(o.scoreMetrics!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -451,12 +456,12 @@ void checkGoogleCloudRecaptchaenterpriseV1MigrateKeyRequest( buildCounterGoogleCloudRecaptchaenterpriseV1MigrateKeyRequest--; } -core.List buildUnnamed3740() => [ +core.List buildUnnamed3721() => [ 'foo', 'foo', ]; -void checkUnnamed3740(core.List o) { +void checkUnnamed3721(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -474,7 +479,7 @@ api.GoogleCloudRecaptchaenterpriseV1RiskAnalysis final o = api.GoogleCloudRecaptchaenterpriseV1RiskAnalysis(); buildCounterGoogleCloudRecaptchaenterpriseV1RiskAnalysis++; if (buildCounterGoogleCloudRecaptchaenterpriseV1RiskAnalysis < 3) { - o.reasons = buildUnnamed3740(); + o.reasons = buildUnnamed3721(); o.score = 42.0; } buildCounterGoogleCloudRecaptchaenterpriseV1RiskAnalysis--; @@ -485,7 +490,7 @@ void checkGoogleCloudRecaptchaenterpriseV1RiskAnalysis( api.GoogleCloudRecaptchaenterpriseV1RiskAnalysis o) { buildCounterGoogleCloudRecaptchaenterpriseV1RiskAnalysis++; if (buildCounterGoogleCloudRecaptchaenterpriseV1RiskAnalysis < 3) { - checkUnnamed3740(o.reasons!); + checkUnnamed3721(o.reasons!); unittest.expect( o.score!, unittest.equals(42.0), @@ -494,12 +499,12 @@ void checkGoogleCloudRecaptchaenterpriseV1RiskAnalysis( buildCounterGoogleCloudRecaptchaenterpriseV1RiskAnalysis--; } -core.Map buildUnnamed3741() => { +core.Map buildUnnamed3722() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3741(core.Map o) { +void checkUnnamed3722(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -517,7 +522,7 @@ api.GoogleCloudRecaptchaenterpriseV1ScoreDistribution final o = api.GoogleCloudRecaptchaenterpriseV1ScoreDistribution(); buildCounterGoogleCloudRecaptchaenterpriseV1ScoreDistribution++; if (buildCounterGoogleCloudRecaptchaenterpriseV1ScoreDistribution < 3) { - o.scoreBuckets = buildUnnamed3741(); + o.scoreBuckets = buildUnnamed3722(); } buildCounterGoogleCloudRecaptchaenterpriseV1ScoreDistribution--; return o; @@ -527,18 +532,18 @@ void checkGoogleCloudRecaptchaenterpriseV1ScoreDistribution( api.GoogleCloudRecaptchaenterpriseV1ScoreDistribution o) { buildCounterGoogleCloudRecaptchaenterpriseV1ScoreDistribution++; if (buildCounterGoogleCloudRecaptchaenterpriseV1ScoreDistribution < 3) { - checkUnnamed3741(o.scoreBuckets!); + checkUnnamed3722(o.scoreBuckets!); } buildCounterGoogleCloudRecaptchaenterpriseV1ScoreDistribution--; } core.Map - buildUnnamed3742() => { + buildUnnamed3723() => { 'x': buildGoogleCloudRecaptchaenterpriseV1ScoreDistribution(), 'y': buildGoogleCloudRecaptchaenterpriseV1ScoreDistribution(), }; -void checkUnnamed3742( +void checkUnnamed3723( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -552,7 +557,7 @@ api.GoogleCloudRecaptchaenterpriseV1ScoreMetrics final o = api.GoogleCloudRecaptchaenterpriseV1ScoreMetrics(); buildCounterGoogleCloudRecaptchaenterpriseV1ScoreMetrics++; if (buildCounterGoogleCloudRecaptchaenterpriseV1ScoreMetrics < 3) { - o.actionMetrics = buildUnnamed3742(); + o.actionMetrics = buildUnnamed3723(); o.overallMetrics = buildGoogleCloudRecaptchaenterpriseV1ScoreDistribution(); } buildCounterGoogleCloudRecaptchaenterpriseV1ScoreMetrics--; @@ -563,7 +568,7 @@ void checkGoogleCloudRecaptchaenterpriseV1ScoreMetrics( api.GoogleCloudRecaptchaenterpriseV1ScoreMetrics o) { buildCounterGoogleCloudRecaptchaenterpriseV1ScoreMetrics++; if (buildCounterGoogleCloudRecaptchaenterpriseV1ScoreMetrics < 3) { - checkUnnamed3742(o.actionMetrics!); + checkUnnamed3723(o.actionMetrics!); checkGoogleCloudRecaptchaenterpriseV1ScoreDistribution(o.overallMetrics!); } buildCounterGoogleCloudRecaptchaenterpriseV1ScoreMetrics--; @@ -639,12 +644,12 @@ void checkGoogleCloudRecaptchaenterpriseV1TokenProperties( buildCounterGoogleCloudRecaptchaenterpriseV1TokenProperties--; } -core.List buildUnnamed3743() => [ +core.List buildUnnamed3724() => [ 'foo', 'foo', ]; -void checkUnnamed3743(core.List o) { +void checkUnnamed3724(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -664,7 +669,7 @@ api.GoogleCloudRecaptchaenterpriseV1WebKeySettings if (buildCounterGoogleCloudRecaptchaenterpriseV1WebKeySettings < 3) { o.allowAllDomains = true; o.allowAmpTraffic = true; - o.allowedDomains = buildUnnamed3743(); + o.allowedDomains = buildUnnamed3724(); o.challengeSecurityPreference = 'foo'; o.integrationType = 'foo'; } @@ -678,7 +683,7 @@ void checkGoogleCloudRecaptchaenterpriseV1WebKeySettings( if (buildCounterGoogleCloudRecaptchaenterpriseV1WebKeySettings < 3) { unittest.expect(o.allowAllDomains!, unittest.isTrue); unittest.expect(o.allowAmpTraffic!, unittest.isTrue); - checkUnnamed3743(o.allowedDomains!); + checkUnnamed3724(o.allowedDomains!); unittest.expect( o.challengeSecurityPreference!, unittest.equals('foo'), diff --git a/generated/googleapis/test/recommender/v1_test.dart b/generated/googleapis/test/recommender/v1_test.dart index dab800d64..cdd2a9f94 100644 --- a/generated/googleapis/test/recommender/v1_test.dart +++ b/generated/googleapis/test/recommender/v1_test.dart @@ -79,19 +79,19 @@ void checkGoogleCloudRecommenderV1Impact(api.GoogleCloudRecommenderV1Impact o) { } core.List - buildUnnamed7736() => [ + buildUnnamed7821() => [ buildGoogleCloudRecommenderV1InsightRecommendationReference(), buildGoogleCloudRecommenderV1InsightRecommendationReference(), ]; -void checkUnnamed7736( +void checkUnnamed7821( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1InsightRecommendationReference(o[0]); checkGoogleCloudRecommenderV1InsightRecommendationReference(o[1]); } -core.Map buildUnnamed7737() => { +core.Map buildUnnamed7822() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -104,7 +104,7 @@ core.Map buildUnnamed7737() => { }, }; -void checkUnnamed7737(core.Map o) { +void checkUnnamed7822(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -136,12 +136,12 @@ void checkUnnamed7737(core.Map o) { ); } -core.List buildUnnamed7738() => [ +core.List buildUnnamed7823() => [ 'foo', 'foo', ]; -void checkUnnamed7738(core.List o) { +void checkUnnamed7823(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -158,9 +158,9 @@ api.GoogleCloudRecommenderV1Insight buildGoogleCloudRecommenderV1Insight() { final o = api.GoogleCloudRecommenderV1Insight(); buildCounterGoogleCloudRecommenderV1Insight++; if (buildCounterGoogleCloudRecommenderV1Insight < 3) { - o.associatedRecommendations = buildUnnamed7736(); + o.associatedRecommendations = buildUnnamed7821(); o.category = 'foo'; - o.content = buildUnnamed7737(); + o.content = buildUnnamed7822(); o.description = 'foo'; o.etag = 'foo'; o.insightSubtype = 'foo'; @@ -169,7 +169,7 @@ api.GoogleCloudRecommenderV1Insight buildGoogleCloudRecommenderV1Insight() { o.observationPeriod = 'foo'; o.severity = 'foo'; o.stateInfo = buildGoogleCloudRecommenderV1InsightStateInfo(); - o.targetResources = buildUnnamed7738(); + o.targetResources = buildUnnamed7823(); } buildCounterGoogleCloudRecommenderV1Insight--; return o; @@ -179,12 +179,12 @@ void checkGoogleCloudRecommenderV1Insight( api.GoogleCloudRecommenderV1Insight o) { buildCounterGoogleCloudRecommenderV1Insight++; if (buildCounterGoogleCloudRecommenderV1Insight < 3) { - checkUnnamed7736(o.associatedRecommendations!); + checkUnnamed7821(o.associatedRecommendations!); unittest.expect( o.category!, unittest.equals('foo'), ); - checkUnnamed7737(o.content!); + checkUnnamed7822(o.content!); unittest.expect( o.description!, unittest.equals('foo'), @@ -214,7 +214,7 @@ void checkGoogleCloudRecommenderV1Insight( unittest.equals('foo'), ); checkGoogleCloudRecommenderV1InsightStateInfo(o.stateInfo!); - checkUnnamed7738(o.targetResources!); + checkUnnamed7823(o.targetResources!); } buildCounterGoogleCloudRecommenderV1Insight--; } @@ -243,12 +243,12 @@ void checkGoogleCloudRecommenderV1InsightRecommendationReference( buildCounterGoogleCloudRecommenderV1InsightRecommendationReference--; } -core.Map buildUnnamed7739() => { +core.Map buildUnnamed7824() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7739(core.Map o) { +void checkUnnamed7824(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -267,7 +267,7 @@ api.GoogleCloudRecommenderV1InsightStateInfo buildCounterGoogleCloudRecommenderV1InsightStateInfo++; if (buildCounterGoogleCloudRecommenderV1InsightStateInfo < 3) { o.state = 'foo'; - o.stateMetadata = buildUnnamed7739(); + o.stateMetadata = buildUnnamed7824(); } buildCounterGoogleCloudRecommenderV1InsightStateInfo--; return o; @@ -281,17 +281,17 @@ void checkGoogleCloudRecommenderV1InsightStateInfo( o.state!, unittest.equals('foo'), ); - checkUnnamed7739(o.stateMetadata!); + checkUnnamed7824(o.stateMetadata!); } buildCounterGoogleCloudRecommenderV1InsightStateInfo--; } -core.List buildUnnamed7740() => [ +core.List buildUnnamed7825() => [ buildGoogleCloudRecommenderV1Insight(), buildGoogleCloudRecommenderV1Insight(), ]; -void checkUnnamed7740(core.List o) { +void checkUnnamed7825(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1Insight(o[0]); checkGoogleCloudRecommenderV1Insight(o[1]); @@ -303,7 +303,7 @@ api.GoogleCloudRecommenderV1ListInsightsResponse final o = api.GoogleCloudRecommenderV1ListInsightsResponse(); buildCounterGoogleCloudRecommenderV1ListInsightsResponse++; if (buildCounterGoogleCloudRecommenderV1ListInsightsResponse < 3) { - o.insights = buildUnnamed7740(); + o.insights = buildUnnamed7825(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudRecommenderV1ListInsightsResponse--; @@ -314,7 +314,7 @@ void checkGoogleCloudRecommenderV1ListInsightsResponse( api.GoogleCloudRecommenderV1ListInsightsResponse o) { buildCounterGoogleCloudRecommenderV1ListInsightsResponse++; if (buildCounterGoogleCloudRecommenderV1ListInsightsResponse < 3) { - checkUnnamed7740(o.insights!); + checkUnnamed7825(o.insights!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -323,12 +323,12 @@ void checkGoogleCloudRecommenderV1ListInsightsResponse( buildCounterGoogleCloudRecommenderV1ListInsightsResponse--; } -core.List buildUnnamed7741() => [ +core.List buildUnnamed7826() => [ buildGoogleCloudRecommenderV1Recommendation(), buildGoogleCloudRecommenderV1Recommendation(), ]; -void checkUnnamed7741(core.List o) { +void checkUnnamed7826(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1Recommendation(o[0]); checkGoogleCloudRecommenderV1Recommendation(o[1]); @@ -341,7 +341,7 @@ api.GoogleCloudRecommenderV1ListRecommendationsResponse buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse++; if (buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse < 3) { o.nextPageToken = 'foo'; - o.recommendations = buildUnnamed7741(); + o.recommendations = buildUnnamed7826(); } buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse--; return o; @@ -355,17 +355,17 @@ void checkGoogleCloudRecommenderV1ListRecommendationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7741(o.recommendations!); + checkUnnamed7826(o.recommendations!); } buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse--; } -core.Map buildUnnamed7742() => { +core.Map buildUnnamed7827() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7742(core.Map o) { +void checkUnnamed7827(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -384,7 +384,7 @@ api.GoogleCloudRecommenderV1MarkInsightAcceptedRequest buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest++; if (buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest < 3) { o.etag = 'foo'; - o.stateMetadata = buildUnnamed7742(); + o.stateMetadata = buildUnnamed7827(); } buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest--; return o; @@ -398,17 +398,17 @@ void checkGoogleCloudRecommenderV1MarkInsightAcceptedRequest( o.etag!, unittest.equals('foo'), ); - checkUnnamed7742(o.stateMetadata!); + checkUnnamed7827(o.stateMetadata!); } buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest--; } -core.Map buildUnnamed7743() => { +core.Map buildUnnamed7828() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7743(core.Map o) { +void checkUnnamed7828(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -429,7 +429,7 @@ api.GoogleCloudRecommenderV1MarkRecommendationClaimedRequest if (buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest < 3) { o.etag = 'foo'; - o.stateMetadata = buildUnnamed7743(); + o.stateMetadata = buildUnnamed7828(); } buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest--; return o; @@ -444,17 +444,17 @@ void checkGoogleCloudRecommenderV1MarkRecommendationClaimedRequest( o.etag!, unittest.equals('foo'), ); - checkUnnamed7743(o.stateMetadata!); + checkUnnamed7828(o.stateMetadata!); } buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest--; } -core.Map buildUnnamed7744() => { +core.Map buildUnnamed7829() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7744(core.Map o) { +void checkUnnamed7829(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -474,7 +474,7 @@ api.GoogleCloudRecommenderV1MarkRecommendationFailedRequest buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest++; if (buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest < 3) { o.etag = 'foo'; - o.stateMetadata = buildUnnamed7744(); + o.stateMetadata = buildUnnamed7829(); } buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest--; return o; @@ -488,17 +488,17 @@ void checkGoogleCloudRecommenderV1MarkRecommendationFailedRequest( o.etag!, unittest.equals('foo'), ); - checkUnnamed7744(o.stateMetadata!); + checkUnnamed7829(o.stateMetadata!); } buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest--; } -core.Map buildUnnamed7745() => { +core.Map buildUnnamed7830() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7745(core.Map o) { +void checkUnnamed7830(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -519,7 +519,7 @@ api.GoogleCloudRecommenderV1MarkRecommendationSucceededRequest if (buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest < 3) { o.etag = 'foo'; - o.stateMetadata = buildUnnamed7745(); + o.stateMetadata = buildUnnamed7830(); } buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest--; return o; @@ -534,12 +534,12 @@ void checkGoogleCloudRecommenderV1MarkRecommendationSucceededRequest( o.etag!, unittest.equals('foo'), ); - checkUnnamed7745(o.stateMetadata!); + checkUnnamed7830(o.stateMetadata!); } buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest--; } -core.Map buildUnnamed7746() => { +core.Map buildUnnamed7831() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -552,7 +552,7 @@ core.Map buildUnnamed7746() => { }, }; -void checkUnnamed7746(core.Map o) { +void checkUnnamed7831(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -585,12 +585,12 @@ void checkUnnamed7746(core.Map o) { } core.Map - buildUnnamed7747() => { + buildUnnamed7832() => { 'x': buildGoogleCloudRecommenderV1ValueMatcher(), 'y': buildGoogleCloudRecommenderV1ValueMatcher(), }; -void checkUnnamed7747( +void checkUnnamed7832( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1ValueMatcher(o['x']!); @@ -604,8 +604,8 @@ api.GoogleCloudRecommenderV1Operation buildGoogleCloudRecommenderV1Operation() { if (buildCounterGoogleCloudRecommenderV1Operation < 3) { o.action = 'foo'; o.path = 'foo'; - o.pathFilters = buildUnnamed7746(); - o.pathValueMatchers = buildUnnamed7747(); + o.pathFilters = buildUnnamed7831(); + o.pathValueMatchers = buildUnnamed7832(); o.resource = 'foo'; o.resourceType = 'foo'; o.sourcePath = 'foo'; @@ -633,8 +633,8 @@ void checkGoogleCloudRecommenderV1Operation( o.path!, unittest.equals('foo'), ); - checkUnnamed7746(o.pathFilters!); - checkUnnamed7747(o.pathValueMatchers!); + checkUnnamed7831(o.pathFilters!); + checkUnnamed7832(o.pathValueMatchers!); unittest.expect( o.resource!, unittest.equals('foo'), @@ -670,12 +670,12 @@ void checkGoogleCloudRecommenderV1Operation( buildCounterGoogleCloudRecommenderV1Operation--; } -core.List buildUnnamed7748() => [ +core.List buildUnnamed7833() => [ buildGoogleCloudRecommenderV1Operation(), buildGoogleCloudRecommenderV1Operation(), ]; -void checkUnnamed7748(core.List o) { +void checkUnnamed7833(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1Operation(o[0]); checkGoogleCloudRecommenderV1Operation(o[1]); @@ -687,7 +687,7 @@ api.GoogleCloudRecommenderV1OperationGroup final o = api.GoogleCloudRecommenderV1OperationGroup(); buildCounterGoogleCloudRecommenderV1OperationGroup++; if (buildCounterGoogleCloudRecommenderV1OperationGroup < 3) { - o.operations = buildUnnamed7748(); + o.operations = buildUnnamed7833(); } buildCounterGoogleCloudRecommenderV1OperationGroup--; return o; @@ -697,29 +697,29 @@ void checkGoogleCloudRecommenderV1OperationGroup( api.GoogleCloudRecommenderV1OperationGroup o) { buildCounterGoogleCloudRecommenderV1OperationGroup++; if (buildCounterGoogleCloudRecommenderV1OperationGroup < 3) { - checkUnnamed7748(o.operations!); + checkUnnamed7833(o.operations!); } buildCounterGoogleCloudRecommenderV1OperationGroup--; } -core.List buildUnnamed7749() => [ +core.List buildUnnamed7834() => [ buildGoogleCloudRecommenderV1Impact(), buildGoogleCloudRecommenderV1Impact(), ]; -void checkUnnamed7749(core.List o) { +void checkUnnamed7834(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1Impact(o[0]); checkGoogleCloudRecommenderV1Impact(o[1]); } core.List - buildUnnamed7750() => [ + buildUnnamed7835() => [ buildGoogleCloudRecommenderV1RecommendationInsightReference(), buildGoogleCloudRecommenderV1RecommendationInsightReference(), ]; -void checkUnnamed7750( +void checkUnnamed7835( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1RecommendationInsightReference(o[0]); @@ -732,8 +732,8 @@ api.GoogleCloudRecommenderV1Recommendation final o = api.GoogleCloudRecommenderV1Recommendation(); buildCounterGoogleCloudRecommenderV1Recommendation++; if (buildCounterGoogleCloudRecommenderV1Recommendation < 3) { - o.additionalImpact = buildUnnamed7749(); - o.associatedInsights = buildUnnamed7750(); + o.additionalImpact = buildUnnamed7834(); + o.associatedInsights = buildUnnamed7835(); o.content = buildGoogleCloudRecommenderV1RecommendationContent(); o.description = 'foo'; o.etag = 'foo'; @@ -752,8 +752,8 @@ void checkGoogleCloudRecommenderV1Recommendation( api.GoogleCloudRecommenderV1Recommendation o) { buildCounterGoogleCloudRecommenderV1Recommendation++; if (buildCounterGoogleCloudRecommenderV1Recommendation < 3) { - checkUnnamed7749(o.additionalImpact!); - checkUnnamed7750(o.associatedInsights!); + checkUnnamed7834(o.additionalImpact!); + checkUnnamed7835(o.associatedInsights!); checkGoogleCloudRecommenderV1RecommendationContent(o.content!); unittest.expect( o.description!, @@ -785,24 +785,70 @@ void checkGoogleCloudRecommenderV1Recommendation( buildCounterGoogleCloudRecommenderV1Recommendation--; } -core.List buildUnnamed7751() => [ +core.List buildUnnamed7836() => [ buildGoogleCloudRecommenderV1OperationGroup(), buildGoogleCloudRecommenderV1OperationGroup(), ]; -void checkUnnamed7751(core.List o) { +void checkUnnamed7836(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommenderV1OperationGroup(o[0]); checkGoogleCloudRecommenderV1OperationGroup(o[1]); } +core.Map buildUnnamed7837() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed7837(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted6 = (o['x']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); + var casted7 = (o['y']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); + unittest.expect( + casted7['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted7['bool'], + unittest.equals(true), + ); + unittest.expect( + casted7['string'], + unittest.equals('foo'), + ); +} + core.int buildCounterGoogleCloudRecommenderV1RecommendationContent = 0; api.GoogleCloudRecommenderV1RecommendationContent buildGoogleCloudRecommenderV1RecommendationContent() { final o = api.GoogleCloudRecommenderV1RecommendationContent(); buildCounterGoogleCloudRecommenderV1RecommendationContent++; if (buildCounterGoogleCloudRecommenderV1RecommendationContent < 3) { - o.operationGroups = buildUnnamed7751(); + o.operationGroups = buildUnnamed7836(); + o.overview = buildUnnamed7837(); } buildCounterGoogleCloudRecommenderV1RecommendationContent--; return o; @@ -812,7 +858,8 @@ void checkGoogleCloudRecommenderV1RecommendationContent( api.GoogleCloudRecommenderV1RecommendationContent o) { buildCounterGoogleCloudRecommenderV1RecommendationContent++; if (buildCounterGoogleCloudRecommenderV1RecommendationContent < 3) { - checkUnnamed7751(o.operationGroups!); + checkUnnamed7836(o.operationGroups!); + checkUnnamed7837(o.overview!); } buildCounterGoogleCloudRecommenderV1RecommendationContent--; } @@ -841,12 +888,12 @@ void checkGoogleCloudRecommenderV1RecommendationInsightReference( buildCounterGoogleCloudRecommenderV1RecommendationInsightReference--; } -core.Map buildUnnamed7752() => { +core.Map buildUnnamed7838() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7752(core.Map o) { +void checkUnnamed7838(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -865,7 +912,7 @@ api.GoogleCloudRecommenderV1RecommendationStateInfo buildCounterGoogleCloudRecommenderV1RecommendationStateInfo++; if (buildCounterGoogleCloudRecommenderV1RecommendationStateInfo < 3) { o.state = 'foo'; - o.stateMetadata = buildUnnamed7752(); + o.stateMetadata = buildUnnamed7838(); } buildCounterGoogleCloudRecommenderV1RecommendationStateInfo--; return o; @@ -879,12 +926,12 @@ void checkGoogleCloudRecommenderV1RecommendationStateInfo( o.state!, unittest.equals('foo'), ); - checkUnnamed7752(o.stateMetadata!); + checkUnnamed7838(o.stateMetadata!); } buildCounterGoogleCloudRecommenderV1RecommendationStateInfo--; } -core.Map buildUnnamed7753() => { +core.Map buildUnnamed7839() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -897,34 +944,34 @@ core.Map buildUnnamed7753() => { }, }; -void checkUnnamed7753(core.Map o) { +void checkUnnamed7839(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted6 = (o['x']!) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); + var casted8 = (o['x']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); unittest.expect( - casted6['list'], + casted8['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted6['bool'], + casted8['bool'], unittest.equals(true), ); unittest.expect( - casted6['string'], + casted8['string'], unittest.equals('foo'), ); - var casted7 = (o['y']!) as core.Map; - unittest.expect(casted7, unittest.hasLength(3)); + var casted9 = (o['y']!) as core.Map; + unittest.expect(casted9, unittest.hasLength(3)); unittest.expect( - casted7['list'], + casted9['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted7['bool'], + casted9['bool'], unittest.equals(true), ); unittest.expect( - casted7['string'], + casted9['string'], unittest.equals('foo'), ); } @@ -935,7 +982,7 @@ api.GoogleCloudRecommenderV1SecurityProjection final o = api.GoogleCloudRecommenderV1SecurityProjection(); buildCounterGoogleCloudRecommenderV1SecurityProjection++; if (buildCounterGoogleCloudRecommenderV1SecurityProjection < 3) { - o.details = buildUnnamed7753(); + o.details = buildUnnamed7839(); } buildCounterGoogleCloudRecommenderV1SecurityProjection--; return o; @@ -945,7 +992,7 @@ void checkGoogleCloudRecommenderV1SecurityProjection( api.GoogleCloudRecommenderV1SecurityProjection o) { buildCounterGoogleCloudRecommenderV1SecurityProjection++; if (buildCounterGoogleCloudRecommenderV1SecurityProjection < 3) { - checkUnnamed7753(o.details!); + checkUnnamed7839(o.details!); } buildCounterGoogleCloudRecommenderV1SecurityProjection--; } diff --git a/generated/googleapis/test/redis/v1_test.dart b/generated/googleapis/test/redis/v1_test.dart index 1aa2c1a35..8336178a6 100644 --- a/generated/googleapis/test/redis/v1_test.dart +++ b/generated/googleapis/test/redis/v1_test.dart @@ -126,13 +126,13 @@ void checkGcsSource(api.GcsSource o) { buildCounterGcsSource--; } -core.Map buildUnnamed3013() => +core.Map buildUnnamed2902() => { 'x': buildGoogleCloudRedisV1ZoneMetadata(), 'y': buildGoogleCloudRedisV1ZoneMetadata(), }; -void checkUnnamed3013( +void checkUnnamed2902( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRedisV1ZoneMetadata(o['x']!); @@ -145,7 +145,7 @@ api.GoogleCloudRedisV1LocationMetadata final o = api.GoogleCloudRedisV1LocationMetadata(); buildCounterGoogleCloudRedisV1LocationMetadata++; if (buildCounterGoogleCloudRedisV1LocationMetadata < 3) { - o.availableZones = buildUnnamed3013(); + o.availableZones = buildUnnamed2902(); } buildCounterGoogleCloudRedisV1LocationMetadata--; return o; @@ -155,7 +155,7 @@ void checkGoogleCloudRedisV1LocationMetadata( api.GoogleCloudRedisV1LocationMetadata o) { buildCounterGoogleCloudRedisV1LocationMetadata++; if (buildCounterGoogleCloudRedisV1LocationMetadata < 3) { - checkUnnamed3013(o.availableZones!); + checkUnnamed2902(o.availableZones!); } buildCounterGoogleCloudRedisV1LocationMetadata--; } @@ -264,12 +264,12 @@ void checkInputConfig(api.InputConfig o) { buildCounterInputConfig--; } -core.Map buildUnnamed3014() => { +core.Map buildUnnamed2903() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3014(core.Map o) { +void checkUnnamed2903(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -281,12 +281,12 @@ void checkUnnamed3014(core.Map o) { ); } -core.Map buildUnnamed3015() => { +core.Map buildUnnamed2904() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3015(core.Map o) { +void checkUnnamed2904(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -298,12 +298,12 @@ void checkUnnamed3015(core.Map o) { ); } -core.List buildUnnamed3016() => [ +core.List buildUnnamed2905() => [ buildTlsCertificate(), buildTlsCertificate(), ]; -void checkUnnamed3016(core.List o) { +void checkUnnamed2905(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTlsCertificate(o[0]); checkTlsCertificate(o[1]); @@ -322,7 +322,7 @@ api.Instance buildInstance() { o.currentLocationId = 'foo'; o.displayName = 'foo'; o.host = 'foo'; - o.labels = buildUnnamed3014(); + o.labels = buildUnnamed2903(); o.locationId = 'foo'; o.maintenancePolicy = buildMaintenancePolicy(); o.maintenanceSchedule = buildMaintenanceSchedule(); @@ -330,10 +330,10 @@ api.Instance buildInstance() { o.name = 'foo'; o.persistenceIamIdentity = 'foo'; o.port = 42; - o.redisConfigs = buildUnnamed3015(); + o.redisConfigs = buildUnnamed2904(); o.redisVersion = 'foo'; o.reservedIpRange = 'foo'; - o.serverCaCerts = buildUnnamed3016(); + o.serverCaCerts = buildUnnamed2905(); o.state = 'foo'; o.statusMessage = 'foo'; o.tier = 'foo'; @@ -375,7 +375,7 @@ void checkInstance(api.Instance o) { o.host!, unittest.equals('foo'), ); - checkUnnamed3014(o.labels!); + checkUnnamed2903(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), @@ -398,7 +398,7 @@ void checkInstance(api.Instance o) { o.port!, unittest.equals(42), ); - checkUnnamed3015(o.redisConfigs!); + checkUnnamed2904(o.redisConfigs!); unittest.expect( o.redisVersion!, unittest.equals('foo'), @@ -407,7 +407,7 @@ void checkInstance(api.Instance o) { o.reservedIpRange!, unittest.equals('foo'), ); - checkUnnamed3016(o.serverCaCerts!); + checkUnnamed2905(o.serverCaCerts!); unittest.expect( o.state!, unittest.equals('foo'), @@ -450,23 +450,23 @@ void checkInstanceAuthString(api.InstanceAuthString o) { buildCounterInstanceAuthString--; } -core.List buildUnnamed3017() => [ +core.List buildUnnamed2906() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed3017(core.List o) { +void checkUnnamed2906(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); } -core.List buildUnnamed3018() => [ +core.List buildUnnamed2907() => [ 'foo', 'foo', ]; -void checkUnnamed3018(core.List o) { +void checkUnnamed2907(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -483,9 +483,9 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed3017(); + o.instances = buildUnnamed2906(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed3018(); + o.unreachable = buildUnnamed2907(); } buildCounterListInstancesResponse--; return o; @@ -494,22 +494,22 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed3017(o.instances!); + checkUnnamed2906(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3018(o.unreachable!); + checkUnnamed2907(o.unreachable!); } buildCounterListInstancesResponse--; } -core.List buildUnnamed3019() => [ +core.List buildUnnamed2908() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed3019(core.List o) { +void checkUnnamed2908(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -520,7 +520,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed3019(); + o.locations = buildUnnamed2908(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -530,7 +530,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed3019(o.locations!); + checkUnnamed2908(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -539,12 +539,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed3020() => [ +core.List buildUnnamed2909() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed3020(core.List o) { +void checkUnnamed2909(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -556,7 +556,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed3020(); + o.operations = buildUnnamed2909(); } buildCounterListOperationsResponse--; return o; @@ -569,17 +569,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3020(o.operations!); + checkUnnamed2909(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed3021() => { +core.Map buildUnnamed2910() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3021(core.Map o) { +void checkUnnamed2910(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -591,7 +591,7 @@ void checkUnnamed3021(core.Map o) { ); } -core.Map buildUnnamed3022() => { +core.Map buildUnnamed2911() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -604,7 +604,7 @@ core.Map buildUnnamed3022() => { }, }; -void checkUnnamed3022(core.Map o) { +void checkUnnamed2911(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -642,9 +642,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed3021(); + o.labels = buildUnnamed2910(); o.locationId = 'foo'; - o.metadata = buildUnnamed3022(); + o.metadata = buildUnnamed2911(); o.name = 'foo'; } buildCounterLocation--; @@ -658,12 +658,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed3021(o.labels!); + checkUnnamed2910(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed3022(o.metadata!); + checkUnnamed2911(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -672,12 +672,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed3023() => [ +core.List buildUnnamed2912() => [ buildWeeklyMaintenanceWindow(), buildWeeklyMaintenanceWindow(), ]; -void checkUnnamed3023(core.List o) { +void checkUnnamed2912(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWeeklyMaintenanceWindow(o[0]); checkWeeklyMaintenanceWindow(o[1]); @@ -691,7 +691,7 @@ api.MaintenancePolicy buildMaintenancePolicy() { o.createTime = 'foo'; o.description = 'foo'; o.updateTime = 'foo'; - o.weeklyMaintenanceWindow = buildUnnamed3023(); + o.weeklyMaintenanceWindow = buildUnnamed2912(); } buildCounterMaintenancePolicy--; return o; @@ -712,7 +712,7 @@ void checkMaintenancePolicy(api.MaintenancePolicy o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed3023(o.weeklyMaintenanceWindow!); + checkUnnamed2912(o.weeklyMaintenanceWindow!); } buildCounterMaintenancePolicy--; } @@ -751,7 +751,7 @@ void checkMaintenanceSchedule(api.MaintenanceSchedule o) { buildCounterMaintenanceSchedule--; } -core.Map buildUnnamed3024() => { +core.Map buildUnnamed2913() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -764,7 +764,7 @@ core.Map buildUnnamed3024() => { }, }; -void checkUnnamed3024(core.Map o) { +void checkUnnamed2913(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -796,7 +796,7 @@ void checkUnnamed3024(core.Map o) { ); } -core.Map buildUnnamed3025() => { +core.Map buildUnnamed2914() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -809,7 +809,7 @@ core.Map buildUnnamed3025() => { }, }; -void checkUnnamed3025(core.Map o) { +void checkUnnamed2914(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -848,9 +848,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed3024(); + o.metadata = buildUnnamed2913(); o.name = 'foo'; - o.response = buildUnnamed3025(); + o.response = buildUnnamed2914(); } buildCounterOperation--; return o; @@ -861,12 +861,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed3024(o.metadata!); + checkUnnamed2913(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3025(o.response!); + checkUnnamed2914(o.response!); } buildCounterOperation--; } @@ -917,7 +917,7 @@ void checkRescheduleMaintenanceRequest(api.RescheduleMaintenanceRequest o) { buildCounterRescheduleMaintenanceRequest--; } -core.Map buildUnnamed3026() => { +core.Map buildUnnamed2915() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -930,7 +930,7 @@ core.Map buildUnnamed3026() => { }, }; -void checkUnnamed3026(core.Map o) { +void checkUnnamed2915(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -962,15 +962,15 @@ void checkUnnamed3026(core.Map o) { ); } -core.List> buildUnnamed3027() => [ - buildUnnamed3026(), - buildUnnamed3026(), +core.List> buildUnnamed2916() => [ + buildUnnamed2915(), + buildUnnamed2915(), ]; -void checkUnnamed3027(core.List> o) { +void checkUnnamed2916(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3026(o[0]); - checkUnnamed3026(o[1]); + checkUnnamed2915(o[0]); + checkUnnamed2915(o[1]); } core.int buildCounterStatus = 0; @@ -979,7 +979,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed3027(); + o.details = buildUnnamed2916(); o.message = 'foo'; } buildCounterStatus--; @@ -993,7 +993,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed3027(o.details!); + checkUnnamed2916(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart index 301c787a7..bc83a7342 100644 --- a/generated/googleapis/test/reseller/v1_test.dart +++ b/generated/googleapis/test/reseller/v1_test.dart @@ -239,12 +239,12 @@ void checkRenewalSettings(api.RenewalSettings o) { buildCounterRenewalSettings--; } -core.List buildUnnamed4691() => [ +core.List buildUnnamed4704() => [ 'foo', 'foo', ]; -void checkUnnamed4691(core.List o) { +void checkUnnamed4704(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -262,7 +262,7 @@ api.ResellernotifyGetwatchdetailsResponse final o = api.ResellernotifyGetwatchdetailsResponse(); buildCounterResellernotifyGetwatchdetailsResponse++; if (buildCounterResellernotifyGetwatchdetailsResponse < 3) { - o.serviceAccountEmailAddresses = buildUnnamed4691(); + o.serviceAccountEmailAddresses = buildUnnamed4704(); o.topicName = 'foo'; } buildCounterResellernotifyGetwatchdetailsResponse--; @@ -273,7 +273,7 @@ void checkResellernotifyGetwatchdetailsResponse( api.ResellernotifyGetwatchdetailsResponse o) { buildCounterResellernotifyGetwatchdetailsResponse++; if (buildCounterResellernotifyGetwatchdetailsResponse < 3) { - checkUnnamed4691(o.serviceAccountEmailAddresses!); + checkUnnamed4704(o.serviceAccountEmailAddresses!); unittest.expect( o.topicName!, unittest.equals('foo'), @@ -396,12 +396,12 @@ void checkSubscriptionPlan(api.SubscriptionPlan o) { buildCounterSubscriptionPlan--; } -core.List buildUnnamed4692() => [ +core.List buildUnnamed4705() => [ 'foo', 'foo', ]; -void checkUnnamed4692(core.List o) { +void checkUnnamed4705(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -489,7 +489,7 @@ api.Subscription buildSubscription() { o.skuName = 'foo'; o.status = 'foo'; o.subscriptionId = 'foo'; - o.suspensionReasons = buildUnnamed4692(); + o.suspensionReasons = buildUnnamed4705(); o.transferInfo = buildSubscriptionTransferInfo(); o.trialSettings = buildSubscriptionTrialSettings(); } @@ -551,19 +551,19 @@ void checkSubscription(api.Subscription o) { o.subscriptionId!, unittest.equals('foo'), ); - checkUnnamed4692(o.suspensionReasons!); + checkUnnamed4705(o.suspensionReasons!); checkSubscriptionTransferInfo(o.transferInfo!); checkSubscriptionTrialSettings(o.trialSettings!); } buildCounterSubscription--; } -core.List buildUnnamed4693() => [ +core.List buildUnnamed4706() => [ buildSubscription(), buildSubscription(), ]; -void checkUnnamed4693(core.List o) { +void checkUnnamed4706(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -576,7 +576,7 @@ api.Subscriptions buildSubscriptions() { if (buildCounterSubscriptions < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.subscriptions = buildUnnamed4693(); + o.subscriptions = buildUnnamed4706(); } buildCounterSubscriptions--; return o; @@ -593,7 +593,7 @@ void checkSubscriptions(api.Subscriptions o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4693(o.subscriptions!); + checkUnnamed4706(o.subscriptions!); } buildCounterSubscriptions--; } diff --git a/generated/googleapis/test/resourcesettings/v1_test.dart b/generated/googleapis/test/resourcesettings/v1_test.dart index cb027a432..b93b81299 100644 --- a/generated/googleapis/test/resourcesettings/v1_test.dart +++ b/generated/googleapis/test/resourcesettings/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6059() => [ +core.List buildUnnamed6126() => [ buildGoogleCloudResourcesettingsV1Setting(), buildGoogleCloudResourcesettingsV1Setting(), ]; -void checkUnnamed6059(core.List o) { +void checkUnnamed6126(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudResourcesettingsV1Setting(o[0]); checkGoogleCloudResourcesettingsV1Setting(o[1]); @@ -44,7 +44,7 @@ api.GoogleCloudResourcesettingsV1ListSettingsResponse buildCounterGoogleCloudResourcesettingsV1ListSettingsResponse++; if (buildCounterGoogleCloudResourcesettingsV1ListSettingsResponse < 3) { o.nextPageToken = 'foo'; - o.settings = buildUnnamed6059(); + o.settings = buildUnnamed6126(); } buildCounterGoogleCloudResourcesettingsV1ListSettingsResponse--; return o; @@ -58,7 +58,7 @@ void checkGoogleCloudResourcesettingsV1ListSettingsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6059(o.settings!); + checkUnnamed6126(o.settings!); } buildCounterGoogleCloudResourcesettingsV1ListSettingsResponse--; } @@ -197,12 +197,12 @@ void checkGoogleCloudResourcesettingsV1ValueEnumValue( buildCounterGoogleCloudResourcesettingsV1ValueEnumValue--; } -core.Map buildUnnamed6060() => { +core.Map buildUnnamed6127() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6060(core.Map o) { +void checkUnnamed6127(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -220,7 +220,7 @@ api.GoogleCloudResourcesettingsV1ValueStringMap final o = api.GoogleCloudResourcesettingsV1ValueStringMap(); buildCounterGoogleCloudResourcesettingsV1ValueStringMap++; if (buildCounterGoogleCloudResourcesettingsV1ValueStringMap < 3) { - o.mappings = buildUnnamed6060(); + o.mappings = buildUnnamed6127(); } buildCounterGoogleCloudResourcesettingsV1ValueStringMap--; return o; @@ -230,17 +230,17 @@ void checkGoogleCloudResourcesettingsV1ValueStringMap( api.GoogleCloudResourcesettingsV1ValueStringMap o) { buildCounterGoogleCloudResourcesettingsV1ValueStringMap++; if (buildCounterGoogleCloudResourcesettingsV1ValueStringMap < 3) { - checkUnnamed6060(o.mappings!); + checkUnnamed6127(o.mappings!); } buildCounterGoogleCloudResourcesettingsV1ValueStringMap--; } -core.List buildUnnamed6061() => [ +core.List buildUnnamed6128() => [ 'foo', 'foo', ]; -void checkUnnamed6061(core.List o) { +void checkUnnamed6128(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -258,7 +258,7 @@ api.GoogleCloudResourcesettingsV1ValueStringSet final o = api.GoogleCloudResourcesettingsV1ValueStringSet(); buildCounterGoogleCloudResourcesettingsV1ValueStringSet++; if (buildCounterGoogleCloudResourcesettingsV1ValueStringSet < 3) { - o.values = buildUnnamed6061(); + o.values = buildUnnamed6128(); } buildCounterGoogleCloudResourcesettingsV1ValueStringSet--; return o; @@ -268,7 +268,7 @@ void checkGoogleCloudResourcesettingsV1ValueStringSet( api.GoogleCloudResourcesettingsV1ValueStringSet o) { buildCounterGoogleCloudResourcesettingsV1ValueStringSet++; if (buildCounterGoogleCloudResourcesettingsV1ValueStringSet < 3) { - checkUnnamed6061(o.values!); + checkUnnamed6128(o.values!); } buildCounterGoogleCloudResourcesettingsV1ValueStringSet--; } diff --git a/generated/googleapis/test/retail/v2_test.dart b/generated/googleapis/test/retail/v2_test.dart index 9dfb0baec..f3ef005e9 100644 --- a/generated/googleapis/test/retail/v2_test.dart +++ b/generated/googleapis/test/retail/v2_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed3594() => { +core.Map buildUnnamed3499() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.Map buildUnnamed3594() => { }, }; -void checkUnnamed3594(core.Map o) { +void checkUnnamed3499(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -71,15 +71,15 @@ void checkUnnamed3594(core.Map o) { ); } -core.List> buildUnnamed3595() => [ - buildUnnamed3594(), - buildUnnamed3594(), +core.List> buildUnnamed3500() => [ + buildUnnamed3499(), + buildUnnamed3499(), ]; -void checkUnnamed3595(core.List> o) { +void checkUnnamed3500(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3594(o[0]); - checkUnnamed3594(o[1]); + checkUnnamed3499(o[0]); + checkUnnamed3499(o[1]); } core.int buildCounterGoogleApiHttpBody = 0; @@ -89,7 +89,7 @@ api.GoogleApiHttpBody buildGoogleApiHttpBody() { if (buildCounterGoogleApiHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed3595(); + o.extensions = buildUnnamed3500(); } buildCounterGoogleApiHttpBody--; return o; @@ -106,7 +106,7 @@ void checkGoogleApiHttpBody(api.GoogleApiHttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed3595(o.extensions!); + checkUnnamed3500(o.extensions!); } buildCounterGoogleApiHttpBody--; } @@ -134,7 +134,7 @@ void checkGoogleCloudRetailLoggingErrorContext( buildCounterGoogleCloudRetailLoggingErrorContext--; } -core.Map buildUnnamed3596() => { +core.Map buildUnnamed3501() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -147,7 +147,7 @@ core.Map buildUnnamed3596() => { }, }; -void checkUnnamed3596(core.Map o) { +void checkUnnamed3501(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -179,7 +179,7 @@ void checkUnnamed3596(core.Map o) { ); } -core.Map buildUnnamed3597() => { +core.Map buildUnnamed3502() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -192,7 +192,7 @@ core.Map buildUnnamed3597() => { }, }; -void checkUnnamed3597(core.Map o) { +void checkUnnamed3502(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -232,8 +232,8 @@ api.GoogleCloudRetailLoggingErrorLog buildGoogleCloudRetailLoggingErrorLog() { o.context = buildGoogleCloudRetailLoggingErrorContext(); o.importPayload = buildGoogleCloudRetailLoggingImportErrorContext(); o.message = 'foo'; - o.requestPayload = buildUnnamed3596(); - o.responsePayload = buildUnnamed3597(); + o.requestPayload = buildUnnamed3501(); + o.responsePayload = buildUnnamed3502(); o.serviceContext = buildGoogleCloudRetailLoggingServiceContext(); o.status = buildGoogleRpcStatus(); } @@ -251,8 +251,8 @@ void checkGoogleCloudRetailLoggingErrorLog( o.message!, unittest.equals('foo'), ); - checkUnnamed3596(o.requestPayload!); - checkUnnamed3597(o.responsePayload!); + checkUnnamed3501(o.requestPayload!); + checkUnnamed3502(o.responsePayload!); checkGoogleCloudRetailLoggingServiceContext(o.serviceContext!); checkGoogleRpcStatus(o.status!); } @@ -380,6 +380,145 @@ void checkGoogleCloudRetailLoggingSourceLocation( buildCounterGoogleCloudRetailLoggingSourceLocation--; } +core.int buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata = 0; +api.GoogleCloudRetailV2AddFulfillmentPlacesMetadata + buildGoogleCloudRetailV2AddFulfillmentPlacesMetadata() { + final o = api.GoogleCloudRetailV2AddFulfillmentPlacesMetadata(); + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata--; + return o; +} + +void checkGoogleCloudRetailV2AddFulfillmentPlacesMetadata( + api.GoogleCloudRetailV2AddFulfillmentPlacesMetadata o) { + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesMetadata--; +} + +core.List buildUnnamed3503() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3503(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest = 0; +api.GoogleCloudRetailV2AddFulfillmentPlacesRequest + buildGoogleCloudRetailV2AddFulfillmentPlacesRequest() { + final o = api.GoogleCloudRetailV2AddFulfillmentPlacesRequest(); + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest++; + if (buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest < 3) { + o.addTime = 'foo'; + o.allowMissing = true; + o.placeIds = buildUnnamed3503(); + o.type = 'foo'; + } + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest--; + return o; +} + +void checkGoogleCloudRetailV2AddFulfillmentPlacesRequest( + api.GoogleCloudRetailV2AddFulfillmentPlacesRequest o) { + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest++; + if (buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest < 3) { + unittest.expect( + o.addTime!, + unittest.equals('foo'), + ); + unittest.expect(o.allowMissing!, unittest.isTrue); + checkUnnamed3503(o.placeIds!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesRequest--; +} + +core.int buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse = 0; +api.GoogleCloudRetailV2AddFulfillmentPlacesResponse + buildGoogleCloudRetailV2AddFulfillmentPlacesResponse() { + final o = api.GoogleCloudRetailV2AddFulfillmentPlacesResponse(); + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse--; + return o; +} + +void checkGoogleCloudRetailV2AddFulfillmentPlacesResponse( + api.GoogleCloudRetailV2AddFulfillmentPlacesResponse o) { + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2AddFulfillmentPlacesResponse--; +} + +core.List buildUnnamed3504() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3504(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3505() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3505(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudRetailV2Audience = 0; +api.GoogleCloudRetailV2Audience buildGoogleCloudRetailV2Audience() { + final o = api.GoogleCloudRetailV2Audience(); + buildCounterGoogleCloudRetailV2Audience++; + if (buildCounterGoogleCloudRetailV2Audience < 3) { + o.ageGroups = buildUnnamed3504(); + o.genders = buildUnnamed3505(); + } + buildCounterGoogleCloudRetailV2Audience--; + return o; +} + +void checkGoogleCloudRetailV2Audience(api.GoogleCloudRetailV2Audience o) { + buildCounterGoogleCloudRetailV2Audience++; + if (buildCounterGoogleCloudRetailV2Audience < 3) { + checkUnnamed3504(o.ageGroups!); + checkUnnamed3505(o.genders!); + } + buildCounterGoogleCloudRetailV2Audience--; +} + core.int buildCounterGoogleCloudRetailV2BigQuerySource = 0; api.GoogleCloudRetailV2BigQuerySource buildGoogleCloudRetailV2BigQuerySource() { final o = api.GoogleCloudRetailV2BigQuerySource(); @@ -388,6 +527,7 @@ api.GoogleCloudRetailV2BigQuerySource buildGoogleCloudRetailV2BigQuerySource() { o.dataSchema = 'foo'; o.datasetId = 'foo'; o.gcsStagingDir = 'foo'; + o.partitionDate = buildGoogleTypeDate(); o.projectId = 'foo'; o.tableId = 'foo'; } @@ -411,6 +551,7 @@ void checkGoogleCloudRetailV2BigQuerySource( o.gcsStagingDir!, unittest.equals('foo'), ); + checkGoogleTypeDate(o.partitionDate!); unittest.expect( o.projectId!, unittest.equals('foo'), @@ -452,12 +593,246 @@ void checkGoogleCloudRetailV2Catalog(api.GoogleCloudRetailV2Catalog o) { buildCounterGoogleCloudRetailV2Catalog--; } -core.List buildUnnamed3598() => [ +core.List buildUnnamed3506() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3506(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3507() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3507(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudRetailV2ColorInfo = 0; +api.GoogleCloudRetailV2ColorInfo buildGoogleCloudRetailV2ColorInfo() { + final o = api.GoogleCloudRetailV2ColorInfo(); + buildCounterGoogleCloudRetailV2ColorInfo++; + if (buildCounterGoogleCloudRetailV2ColorInfo < 3) { + o.colorFamilies = buildUnnamed3506(); + o.colors = buildUnnamed3507(); + } + buildCounterGoogleCloudRetailV2ColorInfo--; + return o; +} + +void checkGoogleCloudRetailV2ColorInfo(api.GoogleCloudRetailV2ColorInfo o) { + buildCounterGoogleCloudRetailV2ColorInfo++; + if (buildCounterGoogleCloudRetailV2ColorInfo < 3) { + checkUnnamed3506(o.colorFamilies!); + checkUnnamed3507(o.colors!); + } + buildCounterGoogleCloudRetailV2ColorInfo--; +} + +core.List + buildUnnamed3508() => [ + buildGoogleCloudRetailV2CompleteQueryResponseCompletionResult(), + buildGoogleCloudRetailV2CompleteQueryResponseCompletionResult(), + ]; + +void checkUnnamed3508( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2CompleteQueryResponseCompletionResult(o[0]); + checkGoogleCloudRetailV2CompleteQueryResponseCompletionResult(o[1]); +} + +core.List + buildUnnamed3509() => [ + buildGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(), + buildGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(), + ]; + +void checkUnnamed3509( + core.List + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(o[0]); + checkGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2CompleteQueryResponse = 0; +api.GoogleCloudRetailV2CompleteQueryResponse + buildGoogleCloudRetailV2CompleteQueryResponse() { + final o = api.GoogleCloudRetailV2CompleteQueryResponse(); + buildCounterGoogleCloudRetailV2CompleteQueryResponse++; + if (buildCounterGoogleCloudRetailV2CompleteQueryResponse < 3) { + o.attributionToken = 'foo'; + o.completionResults = buildUnnamed3508(); + o.recentSearchResults = buildUnnamed3509(); + } + buildCounterGoogleCloudRetailV2CompleteQueryResponse--; + return o; +} + +void checkGoogleCloudRetailV2CompleteQueryResponse( + api.GoogleCloudRetailV2CompleteQueryResponse o) { + buildCounterGoogleCloudRetailV2CompleteQueryResponse++; + if (buildCounterGoogleCloudRetailV2CompleteQueryResponse < 3) { + unittest.expect( + o.attributionToken!, + unittest.equals('foo'), + ); + checkUnnamed3508(o.completionResults!); + checkUnnamed3509(o.recentSearchResults!); + } + buildCounterGoogleCloudRetailV2CompleteQueryResponse--; +} + +core.Map + buildUnnamed3510() => { + 'x': buildGoogleCloudRetailV2CustomAttribute(), + 'y': buildGoogleCloudRetailV2CustomAttribute(), + }; + +void checkUnnamed3510( + core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2CustomAttribute(o['x']!); + checkGoogleCloudRetailV2CustomAttribute(o['y']!); +} + +core.int buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult = + 0; +api.GoogleCloudRetailV2CompleteQueryResponseCompletionResult + buildGoogleCloudRetailV2CompleteQueryResponseCompletionResult() { + final o = api.GoogleCloudRetailV2CompleteQueryResponseCompletionResult(); + buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult++; + if (buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult < + 3) { + o.attributes = buildUnnamed3510(); + o.suggestion = 'foo'; + } + buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult--; + return o; +} + +void checkGoogleCloudRetailV2CompleteQueryResponseCompletionResult( + api.GoogleCloudRetailV2CompleteQueryResponseCompletionResult o) { + buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult++; + if (buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult < + 3) { + checkUnnamed3510(o.attributes!); + unittest.expect( + o.suggestion!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2CompleteQueryResponseCompletionResult--; +} + +core.int + buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult = 0; +api.GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult + buildGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult() { + final o = api.GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(); + buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult++; + if (buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult < + 3) { + o.recentSearch = 'foo'; + } + buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult--; + return o; +} + +void checkGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult( + api.GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult o) { + buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult++; + if (buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult < + 3) { + unittest.expect( + o.recentSearch!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult--; +} + +core.int buildCounterGoogleCloudRetailV2CompletionDataInputConfig = 0; +api.GoogleCloudRetailV2CompletionDataInputConfig + buildGoogleCloudRetailV2CompletionDataInputConfig() { + final o = api.GoogleCloudRetailV2CompletionDataInputConfig(); + buildCounterGoogleCloudRetailV2CompletionDataInputConfig++; + if (buildCounterGoogleCloudRetailV2CompletionDataInputConfig < 3) { + o.bigQuerySource = buildGoogleCloudRetailV2BigQuerySource(); + } + buildCounterGoogleCloudRetailV2CompletionDataInputConfig--; + return o; +} + +void checkGoogleCloudRetailV2CompletionDataInputConfig( + api.GoogleCloudRetailV2CompletionDataInputConfig o) { + buildCounterGoogleCloudRetailV2CompletionDataInputConfig++; + if (buildCounterGoogleCloudRetailV2CompletionDataInputConfig < 3) { + checkGoogleCloudRetailV2BigQuerySource(o.bigQuerySource!); + } + buildCounterGoogleCloudRetailV2CompletionDataInputConfig--; +} + +core.int buildCounterGoogleCloudRetailV2CompletionDetail = 0; +api.GoogleCloudRetailV2CompletionDetail + buildGoogleCloudRetailV2CompletionDetail() { + final o = api.GoogleCloudRetailV2CompletionDetail(); + buildCounterGoogleCloudRetailV2CompletionDetail++; + if (buildCounterGoogleCloudRetailV2CompletionDetail < 3) { + o.completionAttributionToken = 'foo'; + o.selectedPosition = 42; + o.selectedSuggestion = 'foo'; + } + buildCounterGoogleCloudRetailV2CompletionDetail--; + return o; +} + +void checkGoogleCloudRetailV2CompletionDetail( + api.GoogleCloudRetailV2CompletionDetail o) { + buildCounterGoogleCloudRetailV2CompletionDetail++; + if (buildCounterGoogleCloudRetailV2CompletionDetail < 3) { + unittest.expect( + o.completionAttributionToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.selectedPosition!, + unittest.equals(42), + ); + unittest.expect( + o.selectedSuggestion!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2CompletionDetail--; +} + +core.List buildUnnamed3511() => [ 42.0, 42.0, ]; -void checkUnnamed3598(core.List o) { +void checkUnnamed3511(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -469,12 +844,12 @@ void checkUnnamed3598(core.List o) { ); } -core.List buildUnnamed3599() => [ +core.List buildUnnamed3512() => [ 'foo', 'foo', ]; -void checkUnnamed3599(core.List o) { +void checkUnnamed3512(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -492,8 +867,10 @@ api.GoogleCloudRetailV2CustomAttribute final o = api.GoogleCloudRetailV2CustomAttribute(); buildCounterGoogleCloudRetailV2CustomAttribute++; if (buildCounterGoogleCloudRetailV2CustomAttribute < 3) { - o.numbers = buildUnnamed3598(); - o.text = buildUnnamed3599(); + o.indexable = true; + o.numbers = buildUnnamed3511(); + o.searchable = true; + o.text = buildUnnamed3512(); } buildCounterGoogleCloudRetailV2CustomAttribute--; return o; @@ -503,18 +880,63 @@ void checkGoogleCloudRetailV2CustomAttribute( api.GoogleCloudRetailV2CustomAttribute o) { buildCounterGoogleCloudRetailV2CustomAttribute++; if (buildCounterGoogleCloudRetailV2CustomAttribute < 3) { - checkUnnamed3598(o.numbers!); - checkUnnamed3599(o.text!); + unittest.expect(o.indexable!, unittest.isTrue); + checkUnnamed3511(o.numbers!); + unittest.expect(o.searchable!, unittest.isTrue); + checkUnnamed3512(o.text!); } buildCounterGoogleCloudRetailV2CustomAttribute--; } -core.List buildUnnamed3600() => [ +core.List buildUnnamed3513() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3513(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudRetailV2FulfillmentInfo = 0; +api.GoogleCloudRetailV2FulfillmentInfo + buildGoogleCloudRetailV2FulfillmentInfo() { + final o = api.GoogleCloudRetailV2FulfillmentInfo(); + buildCounterGoogleCloudRetailV2FulfillmentInfo++; + if (buildCounterGoogleCloudRetailV2FulfillmentInfo < 3) { + o.placeIds = buildUnnamed3513(); + o.type = 'foo'; + } + buildCounterGoogleCloudRetailV2FulfillmentInfo--; + return o; +} + +void checkGoogleCloudRetailV2FulfillmentInfo( + api.GoogleCloudRetailV2FulfillmentInfo o) { + buildCounterGoogleCloudRetailV2FulfillmentInfo++; + if (buildCounterGoogleCloudRetailV2FulfillmentInfo < 3) { + checkUnnamed3513(o.placeIds!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2FulfillmentInfo--; +} + +core.List buildUnnamed3514() => [ 'foo', 'foo', ]; -void checkUnnamed3600(core.List o) { +void checkUnnamed3514(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -532,7 +954,7 @@ api.GoogleCloudRetailV2GcsSource buildGoogleCloudRetailV2GcsSource() { buildCounterGoogleCloudRetailV2GcsSource++; if (buildCounterGoogleCloudRetailV2GcsSource < 3) { o.dataSchema = 'foo'; - o.inputUris = buildUnnamed3600(); + o.inputUris = buildUnnamed3514(); } buildCounterGoogleCloudRetailV2GcsSource--; return o; @@ -545,11 +967,45 @@ void checkGoogleCloudRetailV2GcsSource(api.GoogleCloudRetailV2GcsSource o) { o.dataSchema!, unittest.equals('foo'), ); - checkUnnamed3600(o.inputUris!); + checkUnnamed3514(o.inputUris!); } buildCounterGoogleCloudRetailV2GcsSource--; } +core.int buildCounterGoogleCloudRetailV2GetDefaultBranchResponse = 0; +api.GoogleCloudRetailV2GetDefaultBranchResponse + buildGoogleCloudRetailV2GetDefaultBranchResponse() { + final o = api.GoogleCloudRetailV2GetDefaultBranchResponse(); + buildCounterGoogleCloudRetailV2GetDefaultBranchResponse++; + if (buildCounterGoogleCloudRetailV2GetDefaultBranchResponse < 3) { + o.branch = 'foo'; + o.note = 'foo'; + o.setTime = 'foo'; + } + buildCounterGoogleCloudRetailV2GetDefaultBranchResponse--; + return o; +} + +void checkGoogleCloudRetailV2GetDefaultBranchResponse( + api.GoogleCloudRetailV2GetDefaultBranchResponse o) { + buildCounterGoogleCloudRetailV2GetDefaultBranchResponse++; + if (buildCounterGoogleCloudRetailV2GetDefaultBranchResponse < 3) { + unittest.expect( + o.branch!, + unittest.equals('foo'), + ); + unittest.expect( + o.note!, + unittest.equals('foo'), + ); + unittest.expect( + o.setTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2GetDefaultBranchResponse--; +} + core.int buildCounterGoogleCloudRetailV2Image = 0; api.GoogleCloudRetailV2Image buildGoogleCloudRetailV2Image() { final o = api.GoogleCloudRetailV2Image(); @@ -582,41 +1038,101 @@ void checkGoogleCloudRetailV2Image(api.GoogleCloudRetailV2Image o) { buildCounterGoogleCloudRetailV2Image--; } -core.int buildCounterGoogleCloudRetailV2ImportErrorsConfig = 0; -api.GoogleCloudRetailV2ImportErrorsConfig - buildGoogleCloudRetailV2ImportErrorsConfig() { - final o = api.GoogleCloudRetailV2ImportErrorsConfig(); - buildCounterGoogleCloudRetailV2ImportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2ImportErrorsConfig < 3) { - o.gcsPrefix = 'foo'; +core.int buildCounterGoogleCloudRetailV2ImportCompletionDataRequest = 0; +api.GoogleCloudRetailV2ImportCompletionDataRequest + buildGoogleCloudRetailV2ImportCompletionDataRequest() { + final o = api.GoogleCloudRetailV2ImportCompletionDataRequest(); + buildCounterGoogleCloudRetailV2ImportCompletionDataRequest++; + if (buildCounterGoogleCloudRetailV2ImportCompletionDataRequest < 3) { + o.inputConfig = buildGoogleCloudRetailV2CompletionDataInputConfig(); + o.notificationPubsubTopic = 'foo'; } - buildCounterGoogleCloudRetailV2ImportErrorsConfig--; + buildCounterGoogleCloudRetailV2ImportCompletionDataRequest--; return o; } -void checkGoogleCloudRetailV2ImportErrorsConfig( - api.GoogleCloudRetailV2ImportErrorsConfig o) { - buildCounterGoogleCloudRetailV2ImportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2ImportErrorsConfig < 3) { +void checkGoogleCloudRetailV2ImportCompletionDataRequest( + api.GoogleCloudRetailV2ImportCompletionDataRequest o) { + buildCounterGoogleCloudRetailV2ImportCompletionDataRequest++; + if (buildCounterGoogleCloudRetailV2ImportCompletionDataRequest < 3) { + checkGoogleCloudRetailV2CompletionDataInputConfig(o.inputConfig!); unittest.expect( - o.gcsPrefix!, + o.notificationPubsubTopic!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2ImportErrorsConfig--; + buildCounterGoogleCloudRetailV2ImportCompletionDataRequest--; } -core.int buildCounterGoogleCloudRetailV2ImportMetadata = 0; -api.GoogleCloudRetailV2ImportMetadata buildGoogleCloudRetailV2ImportMetadata() { - final o = api.GoogleCloudRetailV2ImportMetadata(); - buildCounterGoogleCloudRetailV2ImportMetadata++; - if (buildCounterGoogleCloudRetailV2ImportMetadata < 3) { - o.createTime = 'foo'; - o.failureCount = 'foo'; - o.successCount = 'foo'; - o.updateTime = 'foo'; - } - buildCounterGoogleCloudRetailV2ImportMetadata--; +core.List buildUnnamed3515() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3515(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2ImportCompletionDataResponse = 0; +api.GoogleCloudRetailV2ImportCompletionDataResponse + buildGoogleCloudRetailV2ImportCompletionDataResponse() { + final o = api.GoogleCloudRetailV2ImportCompletionDataResponse(); + buildCounterGoogleCloudRetailV2ImportCompletionDataResponse++; + if (buildCounterGoogleCloudRetailV2ImportCompletionDataResponse < 3) { + o.errorSamples = buildUnnamed3515(); + } + buildCounterGoogleCloudRetailV2ImportCompletionDataResponse--; + return o; +} + +void checkGoogleCloudRetailV2ImportCompletionDataResponse( + api.GoogleCloudRetailV2ImportCompletionDataResponse o) { + buildCounterGoogleCloudRetailV2ImportCompletionDataResponse++; + if (buildCounterGoogleCloudRetailV2ImportCompletionDataResponse < 3) { + checkUnnamed3515(o.errorSamples!); + } + buildCounterGoogleCloudRetailV2ImportCompletionDataResponse--; +} + +core.int buildCounterGoogleCloudRetailV2ImportErrorsConfig = 0; +api.GoogleCloudRetailV2ImportErrorsConfig + buildGoogleCloudRetailV2ImportErrorsConfig() { + final o = api.GoogleCloudRetailV2ImportErrorsConfig(); + buildCounterGoogleCloudRetailV2ImportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2ImportErrorsConfig < 3) { + o.gcsPrefix = 'foo'; + } + buildCounterGoogleCloudRetailV2ImportErrorsConfig--; + return o; +} + +void checkGoogleCloudRetailV2ImportErrorsConfig( + api.GoogleCloudRetailV2ImportErrorsConfig o) { + buildCounterGoogleCloudRetailV2ImportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2ImportErrorsConfig < 3) { + unittest.expect( + o.gcsPrefix!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2ImportErrorsConfig--; +} + +core.int buildCounterGoogleCloudRetailV2ImportMetadata = 0; +api.GoogleCloudRetailV2ImportMetadata buildGoogleCloudRetailV2ImportMetadata() { + final o = api.GoogleCloudRetailV2ImportMetadata(); + buildCounterGoogleCloudRetailV2ImportMetadata++; + if (buildCounterGoogleCloudRetailV2ImportMetadata < 3) { + o.createTime = 'foo'; + o.failureCount = 'foo'; + o.notificationPubsubTopic = 'foo'; + o.requestId = 'foo'; + o.successCount = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudRetailV2ImportMetadata--; return o; } @@ -632,6 +1148,14 @@ void checkGoogleCloudRetailV2ImportMetadata( o.failureCount!, unittest.equals('foo'), ); + unittest.expect( + o.notificationPubsubTopic!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestId!, + unittest.equals('foo'), + ); unittest.expect( o.successCount!, unittest.equals('foo'), @@ -652,6 +1176,9 @@ api.GoogleCloudRetailV2ImportProductsRequest if (buildCounterGoogleCloudRetailV2ImportProductsRequest < 3) { o.errorsConfig = buildGoogleCloudRetailV2ImportErrorsConfig(); o.inputConfig = buildGoogleCloudRetailV2ProductInputConfig(); + o.notificationPubsubTopic = 'foo'; + o.reconciliationMode = 'foo'; + o.requestId = 'foo'; o.updateMask = 'foo'; } buildCounterGoogleCloudRetailV2ImportProductsRequest--; @@ -664,6 +1191,18 @@ void checkGoogleCloudRetailV2ImportProductsRequest( if (buildCounterGoogleCloudRetailV2ImportProductsRequest < 3) { checkGoogleCloudRetailV2ImportErrorsConfig(o.errorsConfig!); checkGoogleCloudRetailV2ProductInputConfig(o.inputConfig!); + unittest.expect( + o.notificationPubsubTopic!, + unittest.equals('foo'), + ); + unittest.expect( + o.reconciliationMode!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestId!, + unittest.equals('foo'), + ); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -672,12 +1211,12 @@ void checkGoogleCloudRetailV2ImportProductsRequest( buildCounterGoogleCloudRetailV2ImportProductsRequest--; } -core.List buildUnnamed3601() => [ +core.List buildUnnamed3516() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed3601(core.List o) { +void checkUnnamed3516(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -689,7 +1228,7 @@ api.GoogleCloudRetailV2ImportProductsResponse final o = api.GoogleCloudRetailV2ImportProductsResponse(); buildCounterGoogleCloudRetailV2ImportProductsResponse++; if (buildCounterGoogleCloudRetailV2ImportProductsResponse < 3) { - o.errorSamples = buildUnnamed3601(); + o.errorSamples = buildUnnamed3516(); o.errorsConfig = buildGoogleCloudRetailV2ImportErrorsConfig(); } buildCounterGoogleCloudRetailV2ImportProductsResponse--; @@ -700,7 +1239,7 @@ void checkGoogleCloudRetailV2ImportProductsResponse( api.GoogleCloudRetailV2ImportProductsResponse o) { buildCounterGoogleCloudRetailV2ImportProductsResponse++; if (buildCounterGoogleCloudRetailV2ImportProductsResponse < 3) { - checkUnnamed3601(o.errorSamples!); + checkUnnamed3516(o.errorSamples!); checkGoogleCloudRetailV2ImportErrorsConfig(o.errorsConfig!); } buildCounterGoogleCloudRetailV2ImportProductsResponse--; @@ -729,12 +1268,12 @@ void checkGoogleCloudRetailV2ImportUserEventsRequest( buildCounterGoogleCloudRetailV2ImportUserEventsRequest--; } -core.List buildUnnamed3602() => [ +core.List buildUnnamed3517() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed3602(core.List o) { +void checkUnnamed3517(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -746,7 +1285,7 @@ api.GoogleCloudRetailV2ImportUserEventsResponse final o = api.GoogleCloudRetailV2ImportUserEventsResponse(); buildCounterGoogleCloudRetailV2ImportUserEventsResponse++; if (buildCounterGoogleCloudRetailV2ImportUserEventsResponse < 3) { - o.errorSamples = buildUnnamed3602(); + o.errorSamples = buildUnnamed3517(); o.errorsConfig = buildGoogleCloudRetailV2ImportErrorsConfig(); o.importSummary = buildGoogleCloudRetailV2UserEventImportSummary(); } @@ -758,19 +1297,56 @@ void checkGoogleCloudRetailV2ImportUserEventsResponse( api.GoogleCloudRetailV2ImportUserEventsResponse o) { buildCounterGoogleCloudRetailV2ImportUserEventsResponse++; if (buildCounterGoogleCloudRetailV2ImportUserEventsResponse < 3) { - checkUnnamed3602(o.errorSamples!); + checkUnnamed3517(o.errorSamples!); checkGoogleCloudRetailV2ImportErrorsConfig(o.errorsConfig!); checkGoogleCloudRetailV2UserEventImportSummary(o.importSummary!); } buildCounterGoogleCloudRetailV2ImportUserEventsResponse--; } -core.List buildUnnamed3603() => [ +core.int buildCounterGoogleCloudRetailV2Interval = 0; +api.GoogleCloudRetailV2Interval buildGoogleCloudRetailV2Interval() { + final o = api.GoogleCloudRetailV2Interval(); + buildCounterGoogleCloudRetailV2Interval++; + if (buildCounterGoogleCloudRetailV2Interval < 3) { + o.exclusiveMaximum = 42.0; + o.exclusiveMinimum = 42.0; + o.maximum = 42.0; + o.minimum = 42.0; + } + buildCounterGoogleCloudRetailV2Interval--; + return o; +} + +void checkGoogleCloudRetailV2Interval(api.GoogleCloudRetailV2Interval o) { + buildCounterGoogleCloudRetailV2Interval++; + if (buildCounterGoogleCloudRetailV2Interval < 3) { + unittest.expect( + o.exclusiveMaximum!, + unittest.equals(42.0), + ); + unittest.expect( + o.exclusiveMinimum!, + unittest.equals(42.0), + ); + unittest.expect( + o.maximum!, + unittest.equals(42.0), + ); + unittest.expect( + o.minimum!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudRetailV2Interval--; +} + +core.List buildUnnamed3518() => [ buildGoogleCloudRetailV2Catalog(), buildGoogleCloudRetailV2Catalog(), ]; -void checkUnnamed3603(core.List o) { +void checkUnnamed3518(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRetailV2Catalog(o[0]); checkGoogleCloudRetailV2Catalog(o[1]); @@ -782,7 +1358,7 @@ api.GoogleCloudRetailV2ListCatalogsResponse final o = api.GoogleCloudRetailV2ListCatalogsResponse(); buildCounterGoogleCloudRetailV2ListCatalogsResponse++; if (buildCounterGoogleCloudRetailV2ListCatalogsResponse < 3) { - o.catalogs = buildUnnamed3603(); + o.catalogs = buildUnnamed3518(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudRetailV2ListCatalogsResponse--; @@ -793,7 +1369,7 @@ void checkGoogleCloudRetailV2ListCatalogsResponse( api.GoogleCloudRetailV2ListCatalogsResponse o) { buildCounterGoogleCloudRetailV2ListCatalogsResponse++; if (buildCounterGoogleCloudRetailV2ListCatalogsResponse < 3) { - checkUnnamed3603(o.catalogs!); + checkUnnamed3518(o.catalogs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -802,12 +1378,49 @@ void checkGoogleCloudRetailV2ListCatalogsResponse( buildCounterGoogleCloudRetailV2ListCatalogsResponse--; } -core.Map buildUnnamed3604() => { +core.List buildUnnamed3519() => [ + buildGoogleCloudRetailV2Product(), + buildGoogleCloudRetailV2Product(), + ]; + +void checkUnnamed3519(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2Product(o[0]); + checkGoogleCloudRetailV2Product(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2ListProductsResponse = 0; +api.GoogleCloudRetailV2ListProductsResponse + buildGoogleCloudRetailV2ListProductsResponse() { + final o = api.GoogleCloudRetailV2ListProductsResponse(); + buildCounterGoogleCloudRetailV2ListProductsResponse++; + if (buildCounterGoogleCloudRetailV2ListProductsResponse < 3) { + o.nextPageToken = 'foo'; + o.products = buildUnnamed3519(); + } + buildCounterGoogleCloudRetailV2ListProductsResponse--; + return o; +} + +void checkGoogleCloudRetailV2ListProductsResponse( + api.GoogleCloudRetailV2ListProductsResponse o) { + buildCounterGoogleCloudRetailV2ListProductsResponse++; + if (buildCounterGoogleCloudRetailV2ListProductsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed3519(o.products!); + } + buildCounterGoogleCloudRetailV2ListProductsResponse--; +} + +core.Map buildUnnamed3520() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3604(core.Map o) { +void checkUnnamed3520(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -819,7 +1432,7 @@ void checkUnnamed3604(core.Map o) { ); } -core.Map buildUnnamed3605() => { +core.Map buildUnnamed3521() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -832,7 +1445,7 @@ core.Map buildUnnamed3605() => { }, }; -void checkUnnamed3605(core.Map o) { +void checkUnnamed3521(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -870,10 +1483,10 @@ api.GoogleCloudRetailV2PredictRequest buildGoogleCloudRetailV2PredictRequest() { buildCounterGoogleCloudRetailV2PredictRequest++; if (buildCounterGoogleCloudRetailV2PredictRequest < 3) { o.filter = 'foo'; - o.labels = buildUnnamed3604(); + o.labels = buildUnnamed3520(); o.pageSize = 42; o.pageToken = 'foo'; - o.params = buildUnnamed3605(); + o.params = buildUnnamed3521(); o.userEvent = buildGoogleCloudRetailV2UserEvent(); o.validateOnly = true; } @@ -889,7 +1502,7 @@ void checkGoogleCloudRetailV2PredictRequest( o.filter!, unittest.equals('foo'), ); - checkUnnamed3604(o.labels!); + checkUnnamed3520(o.labels!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -898,19 +1511,19 @@ void checkGoogleCloudRetailV2PredictRequest( o.pageToken!, unittest.equals('foo'), ); - checkUnnamed3605(o.params!); + checkUnnamed3521(o.params!); checkGoogleCloudRetailV2UserEvent(o.userEvent!); unittest.expect(o.validateOnly!, unittest.isTrue); } buildCounterGoogleCloudRetailV2PredictRequest--; } -core.List buildUnnamed3606() => [ +core.List buildUnnamed3522() => [ 'foo', 'foo', ]; -void checkUnnamed3606(core.List o) { +void checkUnnamed3522(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -923,12 +1536,12 @@ void checkUnnamed3606(core.List o) { } core.List - buildUnnamed3607() => [ + buildUnnamed3523() => [ buildGoogleCloudRetailV2PredictResponsePredictionResult(), buildGoogleCloudRetailV2PredictResponsePredictionResult(), ]; -void checkUnnamed3607( +void checkUnnamed3523( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRetailV2PredictResponsePredictionResult(o[0]); @@ -942,8 +1555,8 @@ api.GoogleCloudRetailV2PredictResponse buildCounterGoogleCloudRetailV2PredictResponse++; if (buildCounterGoogleCloudRetailV2PredictResponse < 3) { o.attributionToken = 'foo'; - o.missingIds = buildUnnamed3606(); - o.results = buildUnnamed3607(); + o.missingIds = buildUnnamed3522(); + o.results = buildUnnamed3523(); o.validateOnly = true; } buildCounterGoogleCloudRetailV2PredictResponse--; @@ -958,14 +1571,14 @@ void checkGoogleCloudRetailV2PredictResponse( o.attributionToken!, unittest.equals('foo'), ); - checkUnnamed3606(o.missingIds!); - checkUnnamed3607(o.results!); + checkUnnamed3522(o.missingIds!); + checkUnnamed3523(o.results!); unittest.expect(o.validateOnly!, unittest.isTrue); } buildCounterGoogleCloudRetailV2PredictResponse--; } -core.Map buildUnnamed3608() => { +core.Map buildUnnamed3524() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -978,7 +1591,7 @@ core.Map buildUnnamed3608() => { }, }; -void checkUnnamed3608(core.Map o) { +void checkUnnamed3524(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -1017,7 +1630,7 @@ api.GoogleCloudRetailV2PredictResponsePredictionResult buildCounterGoogleCloudRetailV2PredictResponsePredictionResult++; if (buildCounterGoogleCloudRetailV2PredictResponsePredictionResult < 3) { o.id = 'foo'; - o.metadata = buildUnnamed3608(); + o.metadata = buildUnnamed3524(); } buildCounterGoogleCloudRetailV2PredictResponsePredictionResult--; return o; @@ -1031,7 +1644,7 @@ void checkGoogleCloudRetailV2PredictResponsePredictionResult( o.id!, unittest.equals('foo'), ); - checkUnnamed3608(o.metadata!); + checkUnnamed3524(o.metadata!); } buildCounterGoogleCloudRetailV2PredictResponsePredictionResult--; } @@ -1045,6 +1658,9 @@ api.GoogleCloudRetailV2PriceInfo buildGoogleCloudRetailV2PriceInfo() { o.currencyCode = 'foo'; o.originalPrice = 42.0; o.price = 42.0; + o.priceEffectiveTime = 'foo'; + o.priceExpireTime = 'foo'; + o.priceRange = buildGoogleCloudRetailV2PriceInfoPriceRange(); } buildCounterGoogleCloudRetailV2PriceInfo--; return o; @@ -1069,29 +1685,112 @@ void checkGoogleCloudRetailV2PriceInfo(api.GoogleCloudRetailV2PriceInfo o) { o.price!, unittest.equals(42.0), ); + unittest.expect( + o.priceEffectiveTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.priceExpireTime!, + unittest.equals('foo'), + ); + checkGoogleCloudRetailV2PriceInfoPriceRange(o.priceRange!); } buildCounterGoogleCloudRetailV2PriceInfo--; } +core.int buildCounterGoogleCloudRetailV2PriceInfoPriceRange = 0; +api.GoogleCloudRetailV2PriceInfoPriceRange + buildGoogleCloudRetailV2PriceInfoPriceRange() { + final o = api.GoogleCloudRetailV2PriceInfoPriceRange(); + buildCounterGoogleCloudRetailV2PriceInfoPriceRange++; + if (buildCounterGoogleCloudRetailV2PriceInfoPriceRange < 3) { + o.originalPrice = buildGoogleCloudRetailV2Interval(); + o.price = buildGoogleCloudRetailV2Interval(); + } + buildCounterGoogleCloudRetailV2PriceInfoPriceRange--; + return o; +} + +void checkGoogleCloudRetailV2PriceInfoPriceRange( + api.GoogleCloudRetailV2PriceInfoPriceRange o) { + buildCounterGoogleCloudRetailV2PriceInfoPriceRange++; + if (buildCounterGoogleCloudRetailV2PriceInfoPriceRange < 3) { + checkGoogleCloudRetailV2Interval(o.originalPrice!); + checkGoogleCloudRetailV2Interval(o.price!); + } + buildCounterGoogleCloudRetailV2PriceInfoPriceRange--; +} + core.Map - buildUnnamed3609() => { + buildUnnamed3525() => { 'x': buildGoogleCloudRetailV2CustomAttribute(), 'y': buildGoogleCloudRetailV2CustomAttribute(), }; -void checkUnnamed3609( +void checkUnnamed3525( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRetailV2CustomAttribute(o['x']!); checkGoogleCloudRetailV2CustomAttribute(o['y']!); } -core.List buildUnnamed3610() => [ +core.List buildUnnamed3526() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3526(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3527() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3527(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3528() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3528(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3529() => [ 'foo', 'foo', ]; -void checkUnnamed3610(core.List o) { +void checkUnnamed3529(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1103,23 +1802,96 @@ void checkUnnamed3610(core.List o) { ); } -core.List buildUnnamed3611() => [ +core.List buildUnnamed3530() => [ + buildGoogleCloudRetailV2FulfillmentInfo(), + buildGoogleCloudRetailV2FulfillmentInfo(), + ]; + +void checkUnnamed3530(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2FulfillmentInfo(o[0]); + checkGoogleCloudRetailV2FulfillmentInfo(o[1]); +} + +core.List buildUnnamed3531() => [ buildGoogleCloudRetailV2Image(), buildGoogleCloudRetailV2Image(), ]; -void checkUnnamed3611(core.List o) { +void checkUnnamed3531(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRetailV2Image(o[0]); checkGoogleCloudRetailV2Image(o[1]); } -core.List buildUnnamed3612() => [ +core.List buildUnnamed3532() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3532(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3533() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3533(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3534() => [ + buildGoogleCloudRetailV2Promotion(), + buildGoogleCloudRetailV2Promotion(), + ]; + +void checkUnnamed3534(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2Promotion(o[0]); + checkGoogleCloudRetailV2Promotion(o[1]); +} + +core.List buildUnnamed3535() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3535(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed3536() => [ 'foo', 'foo', ]; -void checkUnnamed3612(core.List o) { +void checkUnnamed3536(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1131,26 +1903,55 @@ void checkUnnamed3612(core.List o) { ); } +core.List buildUnnamed3537() => [ + buildGoogleCloudRetailV2Product(), + buildGoogleCloudRetailV2Product(), + ]; + +void checkUnnamed3537(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2Product(o[0]); + checkGoogleCloudRetailV2Product(o[1]); +} + core.int buildCounterGoogleCloudRetailV2Product = 0; api.GoogleCloudRetailV2Product buildGoogleCloudRetailV2Product() { final o = api.GoogleCloudRetailV2Product(); buildCounterGoogleCloudRetailV2Product++; if (buildCounterGoogleCloudRetailV2Product < 3) { - o.attributes = buildUnnamed3609(); + o.attributes = buildUnnamed3525(); + o.audience = buildGoogleCloudRetailV2Audience(); o.availability = 'foo'; o.availableQuantity = 42; o.availableTime = 'foo'; - o.categories = buildUnnamed3610(); + o.brands = buildUnnamed3526(); + o.categories = buildUnnamed3527(); + o.collectionMemberIds = buildUnnamed3528(); + o.colorInfo = buildGoogleCloudRetailV2ColorInfo(); + o.conditions = buildUnnamed3529(); o.description = 'foo'; + o.expireTime = 'foo'; + o.fulfillmentInfo = buildUnnamed3530(); + o.gtin = 'foo'; o.id = 'foo'; - o.images = buildUnnamed3611(); + o.images = buildUnnamed3531(); + o.languageCode = 'foo'; + o.materials = buildUnnamed3532(); o.name = 'foo'; + o.patterns = buildUnnamed3533(); o.priceInfo = buildGoogleCloudRetailV2PriceInfo(); o.primaryProductId = 'foo'; - o.tags = buildUnnamed3612(); + o.promotions = buildUnnamed3534(); + o.publishTime = 'foo'; + o.rating = buildGoogleCloudRetailV2Rating(); + o.retrievableFields = 'foo'; + o.sizes = buildUnnamed3535(); + o.tags = buildUnnamed3536(); o.title = 'foo'; + o.ttl = 'foo'; o.type = 'foo'; o.uri = 'foo'; + o.variants = buildUnnamed3537(); } buildCounterGoogleCloudRetailV2Product--; return o; @@ -1159,7 +1960,8 @@ api.GoogleCloudRetailV2Product buildGoogleCloudRetailV2Product() { void checkGoogleCloudRetailV2Product(api.GoogleCloudRetailV2Product o) { buildCounterGoogleCloudRetailV2Product++; if (buildCounterGoogleCloudRetailV2Product < 3) { - checkUnnamed3609(o.attributes!); + checkUnnamed3525(o.attributes!); + checkGoogleCloudRetailV2Audience(o.audience!); unittest.expect( o.availability!, unittest.equals('foo'), @@ -1172,30 +1974,64 @@ void checkGoogleCloudRetailV2Product(api.GoogleCloudRetailV2Product o) { o.availableTime!, unittest.equals('foo'), ); - checkUnnamed3610(o.categories!); + checkUnnamed3526(o.brands!); + checkUnnamed3527(o.categories!); + checkUnnamed3528(o.collectionMemberIds!); + checkGoogleCloudRetailV2ColorInfo(o.colorInfo!); + checkUnnamed3529(o.conditions!); unittest.expect( o.description!, unittest.equals('foo'), ); + unittest.expect( + o.expireTime!, + unittest.equals('foo'), + ); + checkUnnamed3530(o.fulfillmentInfo!); + unittest.expect( + o.gtin!, + unittest.equals('foo'), + ); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed3611(o.images!); + checkUnnamed3531(o.images!); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkUnnamed3532(o.materials!); unittest.expect( o.name!, unittest.equals('foo'), ); + checkUnnamed3533(o.patterns!); checkGoogleCloudRetailV2PriceInfo(o.priceInfo!); unittest.expect( o.primaryProductId!, unittest.equals('foo'), ); - checkUnnamed3612(o.tags!); + checkUnnamed3534(o.promotions!); + unittest.expect( + o.publishTime!, + unittest.equals('foo'), + ); + checkGoogleCloudRetailV2Rating(o.rating!); + unittest.expect( + o.retrievableFields!, + unittest.equals('foo'), + ); + checkUnnamed3535(o.sizes!); + checkUnnamed3536(o.tags!); unittest.expect( o.title!, unittest.equals('foo'), ); + unittest.expect( + o.ttl!, + unittest.equals('foo'), + ); unittest.expect( o.type!, unittest.equals('foo'), @@ -1204,6 +2040,7 @@ void checkGoogleCloudRetailV2Product(api.GoogleCloudRetailV2Product o) { o.uri!, unittest.equals('foo'), ); + checkUnnamed3537(o.variants!); } buildCounterGoogleCloudRetailV2Product--; } @@ -1233,12 +2070,12 @@ void checkGoogleCloudRetailV2ProductDetail( buildCounterGoogleCloudRetailV2ProductDetail--; } -core.List buildUnnamed3613() => [ +core.List buildUnnamed3538() => [ buildGoogleCloudRetailV2Product(), buildGoogleCloudRetailV2Product(), ]; -void checkUnnamed3613(core.List o) { +void checkUnnamed3538(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRetailV2Product(o[0]); checkGoogleCloudRetailV2Product(o[1]); @@ -1250,7 +2087,7 @@ api.GoogleCloudRetailV2ProductInlineSource final o = api.GoogleCloudRetailV2ProductInlineSource(); buildCounterGoogleCloudRetailV2ProductInlineSource++; if (buildCounterGoogleCloudRetailV2ProductInlineSource < 3) { - o.products = buildUnnamed3613(); + o.products = buildUnnamed3538(); } buildCounterGoogleCloudRetailV2ProductInlineSource--; return o; @@ -1260,7 +2097,7 @@ void checkGoogleCloudRetailV2ProductInlineSource( api.GoogleCloudRetailV2ProductInlineSource o) { buildCounterGoogleCloudRetailV2ProductInlineSource++; if (buildCounterGoogleCloudRetailV2ProductInlineSource < 3) { - checkUnnamed3613(o.products!); + checkUnnamed3538(o.products!); } buildCounterGoogleCloudRetailV2ProductInlineSource--; } @@ -1319,6 +2156,28 @@ void checkGoogleCloudRetailV2ProductLevelConfig( buildCounterGoogleCloudRetailV2ProductLevelConfig--; } +core.int buildCounterGoogleCloudRetailV2Promotion = 0; +api.GoogleCloudRetailV2Promotion buildGoogleCloudRetailV2Promotion() { + final o = api.GoogleCloudRetailV2Promotion(); + buildCounterGoogleCloudRetailV2Promotion++; + if (buildCounterGoogleCloudRetailV2Promotion < 3) { + o.promotionId = 'foo'; + } + buildCounterGoogleCloudRetailV2Promotion--; + return o; +} + +void checkGoogleCloudRetailV2Promotion(api.GoogleCloudRetailV2Promotion o) { + buildCounterGoogleCloudRetailV2Promotion++; + if (buildCounterGoogleCloudRetailV2Promotion < 3) { + unittest.expect( + o.promotionId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2Promotion--; +} + core.int buildCounterGoogleCloudRetailV2PurchaseTransaction = 0; api.GoogleCloudRetailV2PurchaseTransaction buildGoogleCloudRetailV2PurchaseTransaction() { @@ -1429,6 +2288,52 @@ void checkGoogleCloudRetailV2PurgeUserEventsResponse( buildCounterGoogleCloudRetailV2PurgeUserEventsResponse--; } +core.List buildUnnamed3539() => [ + 42, + 42, + ]; + +void checkUnnamed3539(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals(42), + ); + unittest.expect( + o[1], + unittest.equals(42), + ); +} + +core.int buildCounterGoogleCloudRetailV2Rating = 0; +api.GoogleCloudRetailV2Rating buildGoogleCloudRetailV2Rating() { + final o = api.GoogleCloudRetailV2Rating(); + buildCounterGoogleCloudRetailV2Rating++; + if (buildCounterGoogleCloudRetailV2Rating < 3) { + o.averageRating = 42.0; + o.ratingCount = 42; + o.ratingHistogram = buildUnnamed3539(); + } + buildCounterGoogleCloudRetailV2Rating--; + return o; +} + +void checkGoogleCloudRetailV2Rating(api.GoogleCloudRetailV2Rating o) { + buildCounterGoogleCloudRetailV2Rating++; + if (buildCounterGoogleCloudRetailV2Rating < 3) { + unittest.expect( + o.averageRating!, + unittest.equals(42.0), + ); + unittest.expect( + o.ratingCount!, + unittest.equals(42), + ); + checkUnnamed3539(o.ratingHistogram!); + } + buildCounterGoogleCloudRetailV2Rating--; +} + core.int buildCounterGoogleCloudRetailV2RejoinUserEventsMetadata = 0; api.GoogleCloudRetailV2RejoinUserEventsMetadata buildGoogleCloudRetailV2RejoinUserEventsMetadata() { @@ -1494,25 +2399,29 @@ void checkGoogleCloudRetailV2RejoinUserEventsResponse( buildCounterGoogleCloudRetailV2RejoinUserEventsResponse--; } -core.Map - buildUnnamed3614() => { - 'x': buildGoogleCloudRetailV2CustomAttribute(), - 'y': buildGoogleCloudRetailV2CustomAttribute(), - }; +core.int buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata = 0; +api.GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata + buildGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata() { + final o = api.GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata(); + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata--; + return o; +} -void checkUnnamed3614( - core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudRetailV2CustomAttribute(o['x']!); - checkGoogleCloudRetailV2CustomAttribute(o['y']!); +void checkGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata( + api.GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata o) { + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata--; } -core.List buildUnnamed3615() => [ +core.List buildUnnamed3540() => [ 'foo', 'foo', ]; -void checkUnnamed3615(core.List o) { +void checkUnnamed3540(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1524,12 +2433,74 @@ void checkUnnamed3615(core.List o) { ); } -core.List buildUnnamed3616() => [ +core.int buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest = 0; +api.GoogleCloudRetailV2RemoveFulfillmentPlacesRequest + buildGoogleCloudRetailV2RemoveFulfillmentPlacesRequest() { + final o = api.GoogleCloudRetailV2RemoveFulfillmentPlacesRequest(); + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest++; + if (buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest < 3) { + o.allowMissing = true; + o.placeIds = buildUnnamed3540(); + o.removeTime = 'foo'; + o.type = 'foo'; + } + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest--; + return o; +} + +void checkGoogleCloudRetailV2RemoveFulfillmentPlacesRequest( + api.GoogleCloudRetailV2RemoveFulfillmentPlacesRequest o) { + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest++; + if (buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest < 3) { + unittest.expect(o.allowMissing!, unittest.isTrue); + checkUnnamed3540(o.placeIds!); + unittest.expect( + o.removeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesRequest--; +} + +core.int buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse = 0; +api.GoogleCloudRetailV2RemoveFulfillmentPlacesResponse + buildGoogleCloudRetailV2RemoveFulfillmentPlacesResponse() { + final o = api.GoogleCloudRetailV2RemoveFulfillmentPlacesResponse(); + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse--; + return o; +} + +void checkGoogleCloudRetailV2RemoveFulfillmentPlacesResponse( + api.GoogleCloudRetailV2RemoveFulfillmentPlacesResponse o) { + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2RemoveFulfillmentPlacesResponse--; +} + +core.List buildUnnamed3541() => [ + buildGoogleCloudRetailV2SearchRequestFacetSpec(), + buildGoogleCloudRetailV2SearchRequestFacetSpec(), + ]; + +void checkUnnamed3541( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2SearchRequestFacetSpec(o[0]); + checkGoogleCloudRetailV2SearchRequestFacetSpec(o[1]); +} + +core.List buildUnnamed3542() => [ 'foo', 'foo', ]; -void checkUnnamed3616(core.List o) { +void checkUnnamed3542(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1541,1924 +2512,4179 @@ void checkUnnamed3616(core.List o) { ); } -core.List buildUnnamed3617() => [ - buildGoogleCloudRetailV2ProductDetail(), - buildGoogleCloudRetailV2ProductDetail(), +core.List buildUnnamed3543() => [ + 'foo', + 'foo', ]; -void checkUnnamed3617(core.List o) { +void checkUnnamed3543(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudRetailV2ProductDetail(o[0]); - checkGoogleCloudRetailV2ProductDetail(o[1]); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterGoogleCloudRetailV2UserEvent = 0; -api.GoogleCloudRetailV2UserEvent buildGoogleCloudRetailV2UserEvent() { - final o = api.GoogleCloudRetailV2UserEvent(); - buildCounterGoogleCloudRetailV2UserEvent++; - if (buildCounterGoogleCloudRetailV2UserEvent < 3) { - o.attributes = buildUnnamed3614(); - o.attributionToken = 'foo'; - o.cartId = 'foo'; - o.eventTime = 'foo'; - o.eventType = 'foo'; - o.experimentIds = buildUnnamed3615(); - o.pageCategories = buildUnnamed3616(); - o.pageViewId = 'foo'; - o.productDetails = buildUnnamed3617(); - o.purchaseTransaction = buildGoogleCloudRetailV2PurchaseTransaction(); - o.referrerUri = 'foo'; - o.searchQuery = 'foo'; - o.uri = 'foo'; +core.int buildCounterGoogleCloudRetailV2SearchRequest = 0; +api.GoogleCloudRetailV2SearchRequest buildGoogleCloudRetailV2SearchRequest() { + final o = api.GoogleCloudRetailV2SearchRequest(); + buildCounterGoogleCloudRetailV2SearchRequest++; + if (buildCounterGoogleCloudRetailV2SearchRequest < 3) { + o.boostSpec = buildGoogleCloudRetailV2SearchRequestBoostSpec(); + o.branch = 'foo'; + o.canonicalFilter = 'foo'; + o.dynamicFacetSpec = + buildGoogleCloudRetailV2SearchRequestDynamicFacetSpec(); + o.facetSpecs = buildUnnamed3541(); + o.filter = 'foo'; + o.offset = 42; + o.orderBy = 'foo'; + o.pageCategories = buildUnnamed3542(); + o.pageSize = 42; + o.pageToken = 'foo'; + o.query = 'foo'; + o.queryExpansionSpec = + buildGoogleCloudRetailV2SearchRequestQueryExpansionSpec(); o.userInfo = buildGoogleCloudRetailV2UserInfo(); + o.variantRollupKeys = buildUnnamed3543(); o.visitorId = 'foo'; } - buildCounterGoogleCloudRetailV2UserEvent--; + buildCounterGoogleCloudRetailV2SearchRequest--; return o; } -void checkGoogleCloudRetailV2UserEvent(api.GoogleCloudRetailV2UserEvent o) { - buildCounterGoogleCloudRetailV2UserEvent++; - if (buildCounterGoogleCloudRetailV2UserEvent < 3) { - checkUnnamed3614(o.attributes!); +void checkGoogleCloudRetailV2SearchRequest( + api.GoogleCloudRetailV2SearchRequest o) { + buildCounterGoogleCloudRetailV2SearchRequest++; + if (buildCounterGoogleCloudRetailV2SearchRequest < 3) { + checkGoogleCloudRetailV2SearchRequestBoostSpec(o.boostSpec!); unittest.expect( - o.attributionToken!, + o.branch!, unittest.equals('foo'), ); unittest.expect( - o.cartId!, + o.canonicalFilter!, unittest.equals('foo'), ); + checkGoogleCloudRetailV2SearchRequestDynamicFacetSpec(o.dynamicFacetSpec!); + checkUnnamed3541(o.facetSpecs!); unittest.expect( - o.eventTime!, + o.filter!, unittest.equals('foo'), ); unittest.expect( - o.eventType!, - unittest.equals('foo'), + o.offset!, + unittest.equals(42), ); - checkUnnamed3615(o.experimentIds!); - checkUnnamed3616(o.pageCategories!); unittest.expect( - o.pageViewId!, + o.orderBy!, unittest.equals('foo'), ); - checkUnnamed3617(o.productDetails!); - checkGoogleCloudRetailV2PurchaseTransaction(o.purchaseTransaction!); + checkUnnamed3542(o.pageCategories!); unittest.expect( - o.referrerUri!, - unittest.equals('foo'), + o.pageSize!, + unittest.equals(42), ); unittest.expect( - o.searchQuery!, + o.pageToken!, unittest.equals('foo'), ); unittest.expect( - o.uri!, + o.query!, unittest.equals('foo'), ); + checkGoogleCloudRetailV2SearchRequestQueryExpansionSpec( + o.queryExpansionSpec!); checkGoogleCloudRetailV2UserInfo(o.userInfo!); + checkUnnamed3543(o.variantRollupKeys!); unittest.expect( o.visitorId!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2UserEvent--; -} - -core.int buildCounterGoogleCloudRetailV2UserEventImportSummary = 0; -api.GoogleCloudRetailV2UserEventImportSummary - buildGoogleCloudRetailV2UserEventImportSummary() { - final o = api.GoogleCloudRetailV2UserEventImportSummary(); - buildCounterGoogleCloudRetailV2UserEventImportSummary++; - if (buildCounterGoogleCloudRetailV2UserEventImportSummary < 3) { - o.joinedEventsCount = 'foo'; - o.unjoinedEventsCount = 'foo'; - } - buildCounterGoogleCloudRetailV2UserEventImportSummary--; - return o; -} - -void checkGoogleCloudRetailV2UserEventImportSummary( - api.GoogleCloudRetailV2UserEventImportSummary o) { - buildCounterGoogleCloudRetailV2UserEventImportSummary++; - if (buildCounterGoogleCloudRetailV2UserEventImportSummary < 3) { - unittest.expect( - o.joinedEventsCount!, - unittest.equals('foo'), - ); - unittest.expect( - o.unjoinedEventsCount!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudRetailV2UserEventImportSummary--; + buildCounterGoogleCloudRetailV2SearchRequest--; } -core.List buildUnnamed3618() => [ - buildGoogleCloudRetailV2UserEvent(), - buildGoogleCloudRetailV2UserEvent(), - ]; +core.List + buildUnnamed3544() => [ + buildGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(), + buildGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(), + ]; -void checkUnnamed3618(core.List o) { +void checkUnnamed3544( + core.List + o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudRetailV2UserEvent(o[0]); - checkGoogleCloudRetailV2UserEvent(o[1]); -} - -core.int buildCounterGoogleCloudRetailV2UserEventInlineSource = 0; -api.GoogleCloudRetailV2UserEventInlineSource - buildGoogleCloudRetailV2UserEventInlineSource() { - final o = api.GoogleCloudRetailV2UserEventInlineSource(); - buildCounterGoogleCloudRetailV2UserEventInlineSource++; - if (buildCounterGoogleCloudRetailV2UserEventInlineSource < 3) { - o.userEvents = buildUnnamed3618(); - } - buildCounterGoogleCloudRetailV2UserEventInlineSource--; - return o; -} - -void checkGoogleCloudRetailV2UserEventInlineSource( - api.GoogleCloudRetailV2UserEventInlineSource o) { - buildCounterGoogleCloudRetailV2UserEventInlineSource++; - if (buildCounterGoogleCloudRetailV2UserEventInlineSource < 3) { - checkUnnamed3618(o.userEvents!); - } - buildCounterGoogleCloudRetailV2UserEventInlineSource--; + checkGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(o[0]); + checkGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(o[1]); } -core.int buildCounterGoogleCloudRetailV2UserEventInputConfig = 0; -api.GoogleCloudRetailV2UserEventInputConfig - buildGoogleCloudRetailV2UserEventInputConfig() { - final o = api.GoogleCloudRetailV2UserEventInputConfig(); - buildCounterGoogleCloudRetailV2UserEventInputConfig++; - if (buildCounterGoogleCloudRetailV2UserEventInputConfig < 3) { - o.bigQuerySource = buildGoogleCloudRetailV2BigQuerySource(); - o.gcsSource = buildGoogleCloudRetailV2GcsSource(); - o.userEventInlineSource = buildGoogleCloudRetailV2UserEventInlineSource(); +core.int buildCounterGoogleCloudRetailV2SearchRequestBoostSpec = 0; +api.GoogleCloudRetailV2SearchRequestBoostSpec + buildGoogleCloudRetailV2SearchRequestBoostSpec() { + final o = api.GoogleCloudRetailV2SearchRequestBoostSpec(); + buildCounterGoogleCloudRetailV2SearchRequestBoostSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestBoostSpec < 3) { + o.conditionBoostSpecs = buildUnnamed3544(); } - buildCounterGoogleCloudRetailV2UserEventInputConfig--; + buildCounterGoogleCloudRetailV2SearchRequestBoostSpec--; return o; } -void checkGoogleCloudRetailV2UserEventInputConfig( - api.GoogleCloudRetailV2UserEventInputConfig o) { - buildCounterGoogleCloudRetailV2UserEventInputConfig++; - if (buildCounterGoogleCloudRetailV2UserEventInputConfig < 3) { - checkGoogleCloudRetailV2BigQuerySource(o.bigQuerySource!); - checkGoogleCloudRetailV2GcsSource(o.gcsSource!); - checkGoogleCloudRetailV2UserEventInlineSource(o.userEventInlineSource!); +void checkGoogleCloudRetailV2SearchRequestBoostSpec( + api.GoogleCloudRetailV2SearchRequestBoostSpec o) { + buildCounterGoogleCloudRetailV2SearchRequestBoostSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestBoostSpec < 3) { + checkUnnamed3544(o.conditionBoostSpecs!); } - buildCounterGoogleCloudRetailV2UserEventInputConfig--; -} - -core.int buildCounterGoogleCloudRetailV2UserInfo = 0; -api.GoogleCloudRetailV2UserInfo buildGoogleCloudRetailV2UserInfo() { - final o = api.GoogleCloudRetailV2UserInfo(); - buildCounterGoogleCloudRetailV2UserInfo++; - if (buildCounterGoogleCloudRetailV2UserInfo < 3) { - o.directUserRequest = true; - o.ipAddress = 'foo'; - o.userAgent = 'foo'; - o.userId = 'foo'; + buildCounterGoogleCloudRetailV2SearchRequestBoostSpec--; +} + +core.int + buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec = 0; +api.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec + buildGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec() { + final o = api.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(); + buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec < + 3) { + o.boost = 42.0; + o.condition = 'foo'; } - buildCounterGoogleCloudRetailV2UserInfo--; + buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec--; return o; } -void checkGoogleCloudRetailV2UserInfo(api.GoogleCloudRetailV2UserInfo o) { - buildCounterGoogleCloudRetailV2UserInfo++; - if (buildCounterGoogleCloudRetailV2UserInfo < 3) { - unittest.expect(o.directUserRequest!, unittest.isTrue); - unittest.expect( - o.ipAddress!, - unittest.equals('foo'), - ); +void checkGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec( + api.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec o) { + buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec < + 3) { unittest.expect( - o.userAgent!, - unittest.equals('foo'), + o.boost!, + unittest.equals(42.0), ); unittest.expect( - o.userId!, + o.condition!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2UserInfo--; + buildCounterGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec--; } -core.int buildCounterGoogleCloudRetailV2alphaExportErrorsConfig = 0; -api.GoogleCloudRetailV2alphaExportErrorsConfig - buildGoogleCloudRetailV2alphaExportErrorsConfig() { - final o = api.GoogleCloudRetailV2alphaExportErrorsConfig(); - buildCounterGoogleCloudRetailV2alphaExportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2alphaExportErrorsConfig < 3) { - o.gcsPrefix = 'foo'; +core.int buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec = 0; +api.GoogleCloudRetailV2SearchRequestDynamicFacetSpec + buildGoogleCloudRetailV2SearchRequestDynamicFacetSpec() { + final o = api.GoogleCloudRetailV2SearchRequestDynamicFacetSpec(); + buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec < 3) { + o.mode = 'foo'; } - buildCounterGoogleCloudRetailV2alphaExportErrorsConfig--; + buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec--; return o; } -void checkGoogleCloudRetailV2alphaExportErrorsConfig( - api.GoogleCloudRetailV2alphaExportErrorsConfig o) { - buildCounterGoogleCloudRetailV2alphaExportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2alphaExportErrorsConfig < 3) { +void checkGoogleCloudRetailV2SearchRequestDynamicFacetSpec( + api.GoogleCloudRetailV2SearchRequestDynamicFacetSpec o) { + buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec < 3) { unittest.expect( - o.gcsPrefix!, + o.mode!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2alphaExportErrorsConfig--; + buildCounterGoogleCloudRetailV2SearchRequestDynamicFacetSpec--; } -core.int buildCounterGoogleCloudRetailV2alphaExportMetadata = 0; -api.GoogleCloudRetailV2alphaExportMetadata - buildGoogleCloudRetailV2alphaExportMetadata() { - final o = api.GoogleCloudRetailV2alphaExportMetadata(); - buildCounterGoogleCloudRetailV2alphaExportMetadata++; - if (buildCounterGoogleCloudRetailV2alphaExportMetadata < 3) { - o.createTime = 'foo'; - o.updateTime = 'foo'; +core.List buildUnnamed3545() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3545(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudRetailV2SearchRequestFacetSpec = 0; +api.GoogleCloudRetailV2SearchRequestFacetSpec + buildGoogleCloudRetailV2SearchRequestFacetSpec() { + final o = api.GoogleCloudRetailV2SearchRequestFacetSpec(); + buildCounterGoogleCloudRetailV2SearchRequestFacetSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestFacetSpec < 3) { + o.enableDynamicPosition = true; + o.excludedFilterKeys = buildUnnamed3545(); + o.facetKey = buildGoogleCloudRetailV2SearchRequestFacetSpecFacetKey(); + o.limit = 42; } - buildCounterGoogleCloudRetailV2alphaExportMetadata--; + buildCounterGoogleCloudRetailV2SearchRequestFacetSpec--; return o; } -void checkGoogleCloudRetailV2alphaExportMetadata( - api.GoogleCloudRetailV2alphaExportMetadata o) { - buildCounterGoogleCloudRetailV2alphaExportMetadata++; - if (buildCounterGoogleCloudRetailV2alphaExportMetadata < 3) { +void checkGoogleCloudRetailV2SearchRequestFacetSpec( + api.GoogleCloudRetailV2SearchRequestFacetSpec o) { + buildCounterGoogleCloudRetailV2SearchRequestFacetSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestFacetSpec < 3) { + unittest.expect(o.enableDynamicPosition!, unittest.isTrue); + checkUnnamed3545(o.excludedFilterKeys!); + checkGoogleCloudRetailV2SearchRequestFacetSpecFacetKey(o.facetKey!); unittest.expect( - o.createTime!, - unittest.equals('foo'), - ); - unittest.expect( - o.updateTime!, - unittest.equals('foo'), + o.limit!, + unittest.equals(42), ); } - buildCounterGoogleCloudRetailV2alphaExportMetadata--; + buildCounterGoogleCloudRetailV2SearchRequestFacetSpec--; } -core.List buildUnnamed3619() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), +core.List buildUnnamed3546() => [ + 'foo', + 'foo', ]; -void checkUnnamed3619(core.List o) { +void checkUnnamed3546(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterGoogleCloudRetailV2alphaExportProductsResponse = 0; -api.GoogleCloudRetailV2alphaExportProductsResponse - buildGoogleCloudRetailV2alphaExportProductsResponse() { - final o = api.GoogleCloudRetailV2alphaExportProductsResponse(); - buildCounterGoogleCloudRetailV2alphaExportProductsResponse++; - if (buildCounterGoogleCloudRetailV2alphaExportProductsResponse < 3) { - o.errorSamples = buildUnnamed3619(); - o.errorsConfig = buildGoogleCloudRetailV2alphaExportErrorsConfig(); - } - buildCounterGoogleCloudRetailV2alphaExportProductsResponse--; - return o; +core.List buildUnnamed3547() => [ + buildGoogleCloudRetailV2Interval(), + buildGoogleCloudRetailV2Interval(), + ]; + +void checkUnnamed3547(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2Interval(o[0]); + checkGoogleCloudRetailV2Interval(o[1]); } -void checkGoogleCloudRetailV2alphaExportProductsResponse( - api.GoogleCloudRetailV2alphaExportProductsResponse o) { - buildCounterGoogleCloudRetailV2alphaExportProductsResponse++; - if (buildCounterGoogleCloudRetailV2alphaExportProductsResponse < 3) { - checkUnnamed3619(o.errorSamples!); - checkGoogleCloudRetailV2alphaExportErrorsConfig(o.errorsConfig!); - } - buildCounterGoogleCloudRetailV2alphaExportProductsResponse--; +core.List buildUnnamed3548() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3548(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.List buildUnnamed3620() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), +core.List buildUnnamed3549() => [ + 'foo', + 'foo', ]; -void checkUnnamed3620(core.List o) { +void checkUnnamed3549(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse = 0; -api.GoogleCloudRetailV2alphaExportUserEventsResponse - buildGoogleCloudRetailV2alphaExportUserEventsResponse() { - final o = api.GoogleCloudRetailV2alphaExportUserEventsResponse(); - buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse < 3) { - o.errorSamples = buildUnnamed3620(); - o.errorsConfig = buildGoogleCloudRetailV2alphaExportErrorsConfig(); +core.int buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey = 0; +api.GoogleCloudRetailV2SearchRequestFacetSpecFacetKey + buildGoogleCloudRetailV2SearchRequestFacetSpecFacetKey() { + final o = api.GoogleCloudRetailV2SearchRequestFacetSpecFacetKey(); + buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey++; + if (buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey < 3) { + o.contains = buildUnnamed3546(); + o.intervals = buildUnnamed3547(); + o.key = 'foo'; + o.orderBy = 'foo'; + o.prefixes = buildUnnamed3548(); + o.query = 'foo'; + o.restrictedValues = buildUnnamed3549(); } - buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey--; return o; } -void checkGoogleCloudRetailV2alphaExportUserEventsResponse( - api.GoogleCloudRetailV2alphaExportUserEventsResponse o) { - buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse < 3) { - checkUnnamed3620(o.errorSamples!); - checkGoogleCloudRetailV2alphaExportErrorsConfig(o.errorsConfig!); +void checkGoogleCloudRetailV2SearchRequestFacetSpecFacetKey( + api.GoogleCloudRetailV2SearchRequestFacetSpecFacetKey o) { + buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey++; + if (buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey < 3) { + checkUnnamed3546(o.contains!); + checkUnnamed3547(o.intervals!); + unittest.expect( + o.key!, + unittest.equals('foo'), + ); + unittest.expect( + o.orderBy!, + unittest.equals('foo'), + ); + checkUnnamed3548(o.prefixes!); + unittest.expect( + o.query!, + unittest.equals('foo'), + ); + checkUnnamed3549(o.restrictedValues!); } - buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchRequestFacetSpecFacetKey--; } -core.int buildCounterGoogleCloudRetailV2alphaImportErrorsConfig = 0; -api.GoogleCloudRetailV2alphaImportErrorsConfig - buildGoogleCloudRetailV2alphaImportErrorsConfig() { - final o = api.GoogleCloudRetailV2alphaImportErrorsConfig(); - buildCounterGoogleCloudRetailV2alphaImportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2alphaImportErrorsConfig < 3) { - o.gcsPrefix = 'foo'; +core.int buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec = 0; +api.GoogleCloudRetailV2SearchRequestQueryExpansionSpec + buildGoogleCloudRetailV2SearchRequestQueryExpansionSpec() { + final o = api.GoogleCloudRetailV2SearchRequestQueryExpansionSpec(); + buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec < 3) { + o.condition = 'foo'; + o.pinUnexpandedResults = true; } - buildCounterGoogleCloudRetailV2alphaImportErrorsConfig--; + buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec--; return o; } -void checkGoogleCloudRetailV2alphaImportErrorsConfig( - api.GoogleCloudRetailV2alphaImportErrorsConfig o) { - buildCounterGoogleCloudRetailV2alphaImportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2alphaImportErrorsConfig < 3) { +void checkGoogleCloudRetailV2SearchRequestQueryExpansionSpec( + api.GoogleCloudRetailV2SearchRequestQueryExpansionSpec o) { + buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec++; + if (buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec < 3) { unittest.expect( - o.gcsPrefix!, + o.condition!, unittest.equals('foo'), ); + unittest.expect(o.pinUnexpandedResults!, unittest.isTrue); } - buildCounterGoogleCloudRetailV2alphaImportErrorsConfig--; + buildCounterGoogleCloudRetailV2SearchRequestQueryExpansionSpec--; } -core.int buildCounterGoogleCloudRetailV2alphaImportMetadata = 0; -api.GoogleCloudRetailV2alphaImportMetadata - buildGoogleCloudRetailV2alphaImportMetadata() { - final o = api.GoogleCloudRetailV2alphaImportMetadata(); - buildCounterGoogleCloudRetailV2alphaImportMetadata++; - if (buildCounterGoogleCloudRetailV2alphaImportMetadata < 3) { - o.createTime = 'foo'; - o.failureCount = 'foo'; - o.successCount = 'foo'; - o.updateTime = 'foo'; +core.List buildUnnamed3550() => [ + buildGoogleCloudRetailV2SearchResponseFacet(), + buildGoogleCloudRetailV2SearchResponseFacet(), + ]; + +void checkUnnamed3550(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2SearchResponseFacet(o[0]); + checkGoogleCloudRetailV2SearchResponseFacet(o[1]); +} + +core.List + buildUnnamed3551() => [ + buildGoogleCloudRetailV2SearchResponseSearchResult(), + buildGoogleCloudRetailV2SearchResponseSearchResult(), + ]; + +void checkUnnamed3551( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2SearchResponseSearchResult(o[0]); + checkGoogleCloudRetailV2SearchResponseSearchResult(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2SearchResponse = 0; +api.GoogleCloudRetailV2SearchResponse buildGoogleCloudRetailV2SearchResponse() { + final o = api.GoogleCloudRetailV2SearchResponse(); + buildCounterGoogleCloudRetailV2SearchResponse++; + if (buildCounterGoogleCloudRetailV2SearchResponse < 3) { + o.attributionToken = 'foo'; + o.correctedQuery = 'foo'; + o.facets = buildUnnamed3550(); + o.nextPageToken = 'foo'; + o.queryExpansionInfo = + buildGoogleCloudRetailV2SearchResponseQueryExpansionInfo(); + o.redirectUri = 'foo'; + o.results = buildUnnamed3551(); + o.totalSize = 42; } - buildCounterGoogleCloudRetailV2alphaImportMetadata--; + buildCounterGoogleCloudRetailV2SearchResponse--; return o; } -void checkGoogleCloudRetailV2alphaImportMetadata( - api.GoogleCloudRetailV2alphaImportMetadata o) { - buildCounterGoogleCloudRetailV2alphaImportMetadata++; - if (buildCounterGoogleCloudRetailV2alphaImportMetadata < 3) { +void checkGoogleCloudRetailV2SearchResponse( + api.GoogleCloudRetailV2SearchResponse o) { + buildCounterGoogleCloudRetailV2SearchResponse++; + if (buildCounterGoogleCloudRetailV2SearchResponse < 3) { unittest.expect( - o.createTime!, + o.attributionToken!, unittest.equals('foo'), ); unittest.expect( - o.failureCount!, + o.correctedQuery!, unittest.equals('foo'), ); + checkUnnamed3550(o.facets!); unittest.expect( - o.successCount!, + o.nextPageToken!, unittest.equals('foo'), ); + checkGoogleCloudRetailV2SearchResponseQueryExpansionInfo( + o.queryExpansionInfo!); unittest.expect( - o.updateTime!, + o.redirectUri!, unittest.equals('foo'), ); + checkUnnamed3551(o.results!); + unittest.expect( + o.totalSize!, + unittest.equals(42), + ); } - buildCounterGoogleCloudRetailV2alphaImportMetadata--; + buildCounterGoogleCloudRetailV2SearchResponse--; } -core.List buildUnnamed3621() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), - ]; +core.List + buildUnnamed3552() => [ + buildGoogleCloudRetailV2SearchResponseFacetFacetValue(), + buildGoogleCloudRetailV2SearchResponseFacetFacetValue(), + ]; -void checkUnnamed3621(core.List o) { +void checkUnnamed3552( + core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); -} - -core.int buildCounterGoogleCloudRetailV2alphaImportProductsResponse = 0; -api.GoogleCloudRetailV2alphaImportProductsResponse - buildGoogleCloudRetailV2alphaImportProductsResponse() { - final o = api.GoogleCloudRetailV2alphaImportProductsResponse(); - buildCounterGoogleCloudRetailV2alphaImportProductsResponse++; - if (buildCounterGoogleCloudRetailV2alphaImportProductsResponse < 3) { - o.errorSamples = buildUnnamed3621(); - o.errorsConfig = buildGoogleCloudRetailV2alphaImportErrorsConfig(); + checkGoogleCloudRetailV2SearchResponseFacetFacetValue(o[0]); + checkGoogleCloudRetailV2SearchResponseFacetFacetValue(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2SearchResponseFacet = 0; +api.GoogleCloudRetailV2SearchResponseFacet + buildGoogleCloudRetailV2SearchResponseFacet() { + final o = api.GoogleCloudRetailV2SearchResponseFacet(); + buildCounterGoogleCloudRetailV2SearchResponseFacet++; + if (buildCounterGoogleCloudRetailV2SearchResponseFacet < 3) { + o.dynamicFacet = true; + o.key = 'foo'; + o.values = buildUnnamed3552(); } - buildCounterGoogleCloudRetailV2alphaImportProductsResponse--; + buildCounterGoogleCloudRetailV2SearchResponseFacet--; return o; } -void checkGoogleCloudRetailV2alphaImportProductsResponse( - api.GoogleCloudRetailV2alphaImportProductsResponse o) { - buildCounterGoogleCloudRetailV2alphaImportProductsResponse++; - if (buildCounterGoogleCloudRetailV2alphaImportProductsResponse < 3) { - checkUnnamed3621(o.errorSamples!); - checkGoogleCloudRetailV2alphaImportErrorsConfig(o.errorsConfig!); +void checkGoogleCloudRetailV2SearchResponseFacet( + api.GoogleCloudRetailV2SearchResponseFacet o) { + buildCounterGoogleCloudRetailV2SearchResponseFacet++; + if (buildCounterGoogleCloudRetailV2SearchResponseFacet < 3) { + unittest.expect(o.dynamicFacet!, unittest.isTrue); + unittest.expect( + o.key!, + unittest.equals('foo'), + ); + checkUnnamed3552(o.values!); } - buildCounterGoogleCloudRetailV2alphaImportProductsResponse--; -} - -core.List buildUnnamed3622() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), - ]; - -void checkUnnamed3622(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); -} - -core.int buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse = 0; -api.GoogleCloudRetailV2alphaImportUserEventsResponse - buildGoogleCloudRetailV2alphaImportUserEventsResponse() { - final o = api.GoogleCloudRetailV2alphaImportUserEventsResponse(); - buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse < 3) { - o.errorSamples = buildUnnamed3622(); - o.errorsConfig = buildGoogleCloudRetailV2alphaImportErrorsConfig(); - o.importSummary = buildGoogleCloudRetailV2alphaUserEventImportSummary(); + buildCounterGoogleCloudRetailV2SearchResponseFacet--; +} + +core.int buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue = 0; +api.GoogleCloudRetailV2SearchResponseFacetFacetValue + buildGoogleCloudRetailV2SearchResponseFacetFacetValue() { + final o = api.GoogleCloudRetailV2SearchResponseFacetFacetValue(); + buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue++; + if (buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue < 3) { + o.count = 'foo'; + o.interval = buildGoogleCloudRetailV2Interval(); + o.value = 'foo'; } - buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue--; return o; } -void checkGoogleCloudRetailV2alphaImportUserEventsResponse( - api.GoogleCloudRetailV2alphaImportUserEventsResponse o) { - buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse < 3) { - checkUnnamed3622(o.errorSamples!); - checkGoogleCloudRetailV2alphaImportErrorsConfig(o.errorsConfig!); - checkGoogleCloudRetailV2alphaUserEventImportSummary(o.importSummary!); +void checkGoogleCloudRetailV2SearchResponseFacetFacetValue( + api.GoogleCloudRetailV2SearchResponseFacetFacetValue o) { + buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue++; + if (buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue < 3) { + unittest.expect( + o.count!, + unittest.equals('foo'), + ); + checkGoogleCloudRetailV2Interval(o.interval!); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); } - buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse--; -} - -core.int buildCounterGoogleCloudRetailV2alphaPurgeMetadata = 0; -api.GoogleCloudRetailV2alphaPurgeMetadata - buildGoogleCloudRetailV2alphaPurgeMetadata() { - final o = api.GoogleCloudRetailV2alphaPurgeMetadata(); - buildCounterGoogleCloudRetailV2alphaPurgeMetadata++; - if (buildCounterGoogleCloudRetailV2alphaPurgeMetadata < 3) {} - buildCounterGoogleCloudRetailV2alphaPurgeMetadata--; - return o; -} - -void checkGoogleCloudRetailV2alphaPurgeMetadata( - api.GoogleCloudRetailV2alphaPurgeMetadata o) { - buildCounterGoogleCloudRetailV2alphaPurgeMetadata++; - if (buildCounterGoogleCloudRetailV2alphaPurgeMetadata < 3) {} - buildCounterGoogleCloudRetailV2alphaPurgeMetadata--; + buildCounterGoogleCloudRetailV2SearchResponseFacetFacetValue--; } -core.int buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse = 0; -api.GoogleCloudRetailV2alphaPurgeUserEventsResponse - buildGoogleCloudRetailV2alphaPurgeUserEventsResponse() { - final o = api.GoogleCloudRetailV2alphaPurgeUserEventsResponse(); - buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse < 3) { - o.purgedEventsCount = 'foo'; +core.int buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo = 0; +api.GoogleCloudRetailV2SearchResponseQueryExpansionInfo + buildGoogleCloudRetailV2SearchResponseQueryExpansionInfo() { + final o = api.GoogleCloudRetailV2SearchResponseQueryExpansionInfo(); + buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo++; + if (buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo < 3) { + o.expandedQuery = true; + o.pinnedResultCount = 'foo'; } - buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo--; return o; } -void checkGoogleCloudRetailV2alphaPurgeUserEventsResponse( - api.GoogleCloudRetailV2alphaPurgeUserEventsResponse o) { - buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse < 3) { +void checkGoogleCloudRetailV2SearchResponseQueryExpansionInfo( + api.GoogleCloudRetailV2SearchResponseQueryExpansionInfo o) { + buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo++; + if (buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo < 3) { + unittest.expect(o.expandedQuery!, unittest.isTrue); unittest.expect( - o.purgedEventsCount!, + o.pinnedResultCount!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchResponseQueryExpansionInfo--; } -core.int buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata = 0; -api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata - buildGoogleCloudRetailV2alphaRejoinUserEventsMetadata() { - final o = api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata(); - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata++; - if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata < 3) {} - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata--; - return o; -} +core.Map buildUnnamed3553() => { + 'x': 'foo', + 'y': 'foo', + }; -void checkGoogleCloudRetailV2alphaRejoinUserEventsMetadata( - api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata o) { - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata++; - if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata < 3) {} - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata--; +void checkUnnamed3553(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); } -core.int buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse = 0; -api.GoogleCloudRetailV2alphaRejoinUserEventsResponse - buildGoogleCloudRetailV2alphaRejoinUserEventsResponse() { - final o = api.GoogleCloudRetailV2alphaRejoinUserEventsResponse(); - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse < 3) { - o.rejoinedUserEventsCount = 'foo'; +core.Map buildUnnamed3554() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3554(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted11 = (o['x']!) as core.Map; + unittest.expect(casted11, unittest.hasLength(3)); + unittest.expect( + casted11['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted11['bool'], + unittest.equals(true), + ); + unittest.expect( + casted11['string'], + unittest.equals('foo'), + ); + var casted12 = (o['y']!) as core.Map; + unittest.expect(casted12, unittest.hasLength(3)); + unittest.expect( + casted12['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted12['bool'], + unittest.equals(true), + ); + unittest.expect( + casted12['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudRetailV2SearchResponseSearchResult = 0; +api.GoogleCloudRetailV2SearchResponseSearchResult + buildGoogleCloudRetailV2SearchResponseSearchResult() { + final o = api.GoogleCloudRetailV2SearchResponseSearchResult(); + buildCounterGoogleCloudRetailV2SearchResponseSearchResult++; + if (buildCounterGoogleCloudRetailV2SearchResponseSearchResult < 3) { + o.id = 'foo'; + o.matchingVariantCount = 42; + o.matchingVariantFields = buildUnnamed3553(); + o.product = buildGoogleCloudRetailV2Product(); + o.variantRollupValues = buildUnnamed3554(); } - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchResponseSearchResult--; return o; } -void checkGoogleCloudRetailV2alphaRejoinUserEventsResponse( - api.GoogleCloudRetailV2alphaRejoinUserEventsResponse o) { - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse < 3) { +void checkGoogleCloudRetailV2SearchResponseSearchResult( + api.GoogleCloudRetailV2SearchResponseSearchResult o) { + buildCounterGoogleCloudRetailV2SearchResponseSearchResult++; + if (buildCounterGoogleCloudRetailV2SearchResponseSearchResult < 3) { unittest.expect( - o.rejoinedUserEventsCount!, + o.id!, unittest.equals('foo'), ); + unittest.expect( + o.matchingVariantCount!, + unittest.equals(42), + ); + checkUnnamed3553(o.matchingVariantFields!); + checkGoogleCloudRetailV2Product(o.product!); + checkUnnamed3554(o.variantRollupValues!); } - buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse--; + buildCounterGoogleCloudRetailV2SearchResponseSearchResult--; } -core.int buildCounterGoogleCloudRetailV2alphaUserEventImportSummary = 0; -api.GoogleCloudRetailV2alphaUserEventImportSummary - buildGoogleCloudRetailV2alphaUserEventImportSummary() { - final o = api.GoogleCloudRetailV2alphaUserEventImportSummary(); - buildCounterGoogleCloudRetailV2alphaUserEventImportSummary++; - if (buildCounterGoogleCloudRetailV2alphaUserEventImportSummary < 3) { - o.joinedEventsCount = 'foo'; - o.unjoinedEventsCount = 'foo'; +core.int buildCounterGoogleCloudRetailV2SetDefaultBranchRequest = 0; +api.GoogleCloudRetailV2SetDefaultBranchRequest + buildGoogleCloudRetailV2SetDefaultBranchRequest() { + final o = api.GoogleCloudRetailV2SetDefaultBranchRequest(); + buildCounterGoogleCloudRetailV2SetDefaultBranchRequest++; + if (buildCounterGoogleCloudRetailV2SetDefaultBranchRequest < 3) { + o.branchId = 'foo'; + o.note = 'foo'; } - buildCounterGoogleCloudRetailV2alphaUserEventImportSummary--; + buildCounterGoogleCloudRetailV2SetDefaultBranchRequest--; return o; } -void checkGoogleCloudRetailV2alphaUserEventImportSummary( - api.GoogleCloudRetailV2alphaUserEventImportSummary o) { - buildCounterGoogleCloudRetailV2alphaUserEventImportSummary++; - if (buildCounterGoogleCloudRetailV2alphaUserEventImportSummary < 3) { +void checkGoogleCloudRetailV2SetDefaultBranchRequest( + api.GoogleCloudRetailV2SetDefaultBranchRequest o) { + buildCounterGoogleCloudRetailV2SetDefaultBranchRequest++; + if (buildCounterGoogleCloudRetailV2SetDefaultBranchRequest < 3) { unittest.expect( - o.joinedEventsCount!, + o.branchId!, unittest.equals('foo'), ); unittest.expect( - o.unjoinedEventsCount!, + o.note!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2alphaUserEventImportSummary--; + buildCounterGoogleCloudRetailV2SetDefaultBranchRequest--; } -core.int buildCounterGoogleCloudRetailV2betaExportErrorsConfig = 0; -api.GoogleCloudRetailV2betaExportErrorsConfig - buildGoogleCloudRetailV2betaExportErrorsConfig() { - final o = api.GoogleCloudRetailV2betaExportErrorsConfig(); - buildCounterGoogleCloudRetailV2betaExportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2betaExportErrorsConfig < 3) { - o.gcsPrefix = 'foo'; - } - buildCounterGoogleCloudRetailV2betaExportErrorsConfig--; +core.int buildCounterGoogleCloudRetailV2SetInventoryMetadata = 0; +api.GoogleCloudRetailV2SetInventoryMetadata + buildGoogleCloudRetailV2SetInventoryMetadata() { + final o = api.GoogleCloudRetailV2SetInventoryMetadata(); + buildCounterGoogleCloudRetailV2SetInventoryMetadata++; + if (buildCounterGoogleCloudRetailV2SetInventoryMetadata < 3) {} + buildCounterGoogleCloudRetailV2SetInventoryMetadata--; return o; } -void checkGoogleCloudRetailV2betaExportErrorsConfig( - api.GoogleCloudRetailV2betaExportErrorsConfig o) { - buildCounterGoogleCloudRetailV2betaExportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2betaExportErrorsConfig < 3) { - unittest.expect( - o.gcsPrefix!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudRetailV2betaExportErrorsConfig--; +void checkGoogleCloudRetailV2SetInventoryMetadata( + api.GoogleCloudRetailV2SetInventoryMetadata o) { + buildCounterGoogleCloudRetailV2SetInventoryMetadata++; + if (buildCounterGoogleCloudRetailV2SetInventoryMetadata < 3) {} + buildCounterGoogleCloudRetailV2SetInventoryMetadata--; } -core.int buildCounterGoogleCloudRetailV2betaExportMetadata = 0; -api.GoogleCloudRetailV2betaExportMetadata - buildGoogleCloudRetailV2betaExportMetadata() { - final o = api.GoogleCloudRetailV2betaExportMetadata(); - buildCounterGoogleCloudRetailV2betaExportMetadata++; - if (buildCounterGoogleCloudRetailV2betaExportMetadata < 3) { - o.createTime = 'foo'; - o.updateTime = 'foo'; +core.int buildCounterGoogleCloudRetailV2SetInventoryRequest = 0; +api.GoogleCloudRetailV2SetInventoryRequest + buildGoogleCloudRetailV2SetInventoryRequest() { + final o = api.GoogleCloudRetailV2SetInventoryRequest(); + buildCounterGoogleCloudRetailV2SetInventoryRequest++; + if (buildCounterGoogleCloudRetailV2SetInventoryRequest < 3) { + o.allowMissing = true; + o.inventory = buildGoogleCloudRetailV2Product(); + o.setMask = 'foo'; + o.setTime = 'foo'; } - buildCounterGoogleCloudRetailV2betaExportMetadata--; + buildCounterGoogleCloudRetailV2SetInventoryRequest--; return o; } -void checkGoogleCloudRetailV2betaExportMetadata( - api.GoogleCloudRetailV2betaExportMetadata o) { - buildCounterGoogleCloudRetailV2betaExportMetadata++; - if (buildCounterGoogleCloudRetailV2betaExportMetadata < 3) { +void checkGoogleCloudRetailV2SetInventoryRequest( + api.GoogleCloudRetailV2SetInventoryRequest o) { + buildCounterGoogleCloudRetailV2SetInventoryRequest++; + if (buildCounterGoogleCloudRetailV2SetInventoryRequest < 3) { + unittest.expect(o.allowMissing!, unittest.isTrue); + checkGoogleCloudRetailV2Product(o.inventory!); unittest.expect( - o.createTime!, + o.setMask!, unittest.equals('foo'), ); unittest.expect( - o.updateTime!, + o.setTime!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2betaExportMetadata--; + buildCounterGoogleCloudRetailV2SetInventoryRequest--; } -core.List buildUnnamed3623() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), - ]; - -void checkUnnamed3623(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); +core.int buildCounterGoogleCloudRetailV2SetInventoryResponse = 0; +api.GoogleCloudRetailV2SetInventoryResponse + buildGoogleCloudRetailV2SetInventoryResponse() { + final o = api.GoogleCloudRetailV2SetInventoryResponse(); + buildCounterGoogleCloudRetailV2SetInventoryResponse++; + if (buildCounterGoogleCloudRetailV2SetInventoryResponse < 3) {} + buildCounterGoogleCloudRetailV2SetInventoryResponse--; + return o; } -core.int buildCounterGoogleCloudRetailV2betaExportProductsResponse = 0; -api.GoogleCloudRetailV2betaExportProductsResponse - buildGoogleCloudRetailV2betaExportProductsResponse() { - final o = api.GoogleCloudRetailV2betaExportProductsResponse(); - buildCounterGoogleCloudRetailV2betaExportProductsResponse++; - if (buildCounterGoogleCloudRetailV2betaExportProductsResponse < 3) { - o.errorSamples = buildUnnamed3623(); - o.errorsConfig = buildGoogleCloudRetailV2betaExportErrorsConfig(); - } - buildCounterGoogleCloudRetailV2betaExportProductsResponse--; - return o; +void checkGoogleCloudRetailV2SetInventoryResponse( + api.GoogleCloudRetailV2SetInventoryResponse o) { + buildCounterGoogleCloudRetailV2SetInventoryResponse++; + if (buildCounterGoogleCloudRetailV2SetInventoryResponse < 3) {} + buildCounterGoogleCloudRetailV2SetInventoryResponse--; } -void checkGoogleCloudRetailV2betaExportProductsResponse( - api.GoogleCloudRetailV2betaExportProductsResponse o) { - buildCounterGoogleCloudRetailV2betaExportProductsResponse++; - if (buildCounterGoogleCloudRetailV2betaExportProductsResponse < 3) { - checkUnnamed3623(o.errorSamples!); - checkGoogleCloudRetailV2betaExportErrorsConfig(o.errorsConfig!); - } - buildCounterGoogleCloudRetailV2betaExportProductsResponse--; +core.Map + buildUnnamed3555() => { + 'x': buildGoogleCloudRetailV2CustomAttribute(), + 'y': buildGoogleCloudRetailV2CustomAttribute(), + }; + +void checkUnnamed3555( + core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2CustomAttribute(o['x']!); + checkGoogleCloudRetailV2CustomAttribute(o['y']!); } -core.List buildUnnamed3624() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), +core.List buildUnnamed3556() => [ + 'foo', + 'foo', ]; -void checkUnnamed3624(core.List o) { +void checkUnnamed3556(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterGoogleCloudRetailV2betaExportUserEventsResponse = 0; -api.GoogleCloudRetailV2betaExportUserEventsResponse - buildGoogleCloudRetailV2betaExportUserEventsResponse() { - final o = api.GoogleCloudRetailV2betaExportUserEventsResponse(); - buildCounterGoogleCloudRetailV2betaExportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaExportUserEventsResponse < 3) { - o.errorSamples = buildUnnamed3624(); - o.errorsConfig = buildGoogleCloudRetailV2betaExportErrorsConfig(); - } - buildCounterGoogleCloudRetailV2betaExportUserEventsResponse--; - return o; -} +core.List buildUnnamed3557() => [ + 'foo', + 'foo', + ]; -void checkGoogleCloudRetailV2betaExportUserEventsResponse( - api.GoogleCloudRetailV2betaExportUserEventsResponse o) { - buildCounterGoogleCloudRetailV2betaExportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaExportUserEventsResponse < 3) { - checkUnnamed3624(o.errorSamples!); - checkGoogleCloudRetailV2betaExportErrorsConfig(o.errorsConfig!); - } - buildCounterGoogleCloudRetailV2betaExportUserEventsResponse--; +void checkUnnamed3557(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); } -core.int buildCounterGoogleCloudRetailV2betaImportErrorsConfig = 0; -api.GoogleCloudRetailV2betaImportErrorsConfig - buildGoogleCloudRetailV2betaImportErrorsConfig() { - final o = api.GoogleCloudRetailV2betaImportErrorsConfig(); - buildCounterGoogleCloudRetailV2betaImportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2betaImportErrorsConfig < 3) { - o.gcsPrefix = 'foo'; - } - buildCounterGoogleCloudRetailV2betaImportErrorsConfig--; - return o; -} +core.List buildUnnamed3558() => [ + buildGoogleCloudRetailV2ProductDetail(), + buildGoogleCloudRetailV2ProductDetail(), + ]; -void checkGoogleCloudRetailV2betaImportErrorsConfig( - api.GoogleCloudRetailV2betaImportErrorsConfig o) { - buildCounterGoogleCloudRetailV2betaImportErrorsConfig++; - if (buildCounterGoogleCloudRetailV2betaImportErrorsConfig < 3) { - unittest.expect( - o.gcsPrefix!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudRetailV2betaImportErrorsConfig--; +void checkUnnamed3558(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudRetailV2ProductDetail(o[0]); + checkGoogleCloudRetailV2ProductDetail(o[1]); } -core.int buildCounterGoogleCloudRetailV2betaImportMetadata = 0; -api.GoogleCloudRetailV2betaImportMetadata - buildGoogleCloudRetailV2betaImportMetadata() { - final o = api.GoogleCloudRetailV2betaImportMetadata(); - buildCounterGoogleCloudRetailV2betaImportMetadata++; - if (buildCounterGoogleCloudRetailV2betaImportMetadata < 3) { - o.createTime = 'foo'; - o.failureCount = 'foo'; - o.successCount = 'foo'; - o.updateTime = 'foo'; +core.int buildCounterGoogleCloudRetailV2UserEvent = 0; +api.GoogleCloudRetailV2UserEvent buildGoogleCloudRetailV2UserEvent() { + final o = api.GoogleCloudRetailV2UserEvent(); + buildCounterGoogleCloudRetailV2UserEvent++; + if (buildCounterGoogleCloudRetailV2UserEvent < 3) { + o.attributes = buildUnnamed3555(); + o.attributionToken = 'foo'; + o.cartId = 'foo'; + o.completionDetail = buildGoogleCloudRetailV2CompletionDetail(); + o.eventTime = 'foo'; + o.eventType = 'foo'; + o.experimentIds = buildUnnamed3556(); + o.filter = 'foo'; + o.offset = 42; + o.orderBy = 'foo'; + o.pageCategories = buildUnnamed3557(); + o.pageViewId = 'foo'; + o.productDetails = buildUnnamed3558(); + o.purchaseTransaction = buildGoogleCloudRetailV2PurchaseTransaction(); + o.referrerUri = 'foo'; + o.searchQuery = 'foo'; + o.sessionId = 'foo'; + o.uri = 'foo'; + o.userInfo = buildGoogleCloudRetailV2UserInfo(); + o.visitorId = 'foo'; } - buildCounterGoogleCloudRetailV2betaImportMetadata--; + buildCounterGoogleCloudRetailV2UserEvent--; return o; } -void checkGoogleCloudRetailV2betaImportMetadata( - api.GoogleCloudRetailV2betaImportMetadata o) { - buildCounterGoogleCloudRetailV2betaImportMetadata++; - if (buildCounterGoogleCloudRetailV2betaImportMetadata < 3) { +void checkGoogleCloudRetailV2UserEvent(api.GoogleCloudRetailV2UserEvent o) { + buildCounterGoogleCloudRetailV2UserEvent++; + if (buildCounterGoogleCloudRetailV2UserEvent < 3) { + checkUnnamed3555(o.attributes!); unittest.expect( - o.createTime!, + o.attributionToken!, unittest.equals('foo'), ); unittest.expect( - o.failureCount!, + o.cartId!, unittest.equals('foo'), ); + checkGoogleCloudRetailV2CompletionDetail(o.completionDetail!); unittest.expect( - o.successCount!, + o.eventTime!, unittest.equals('foo'), ); unittest.expect( - o.updateTime!, + o.eventType!, + unittest.equals('foo'), + ); + checkUnnamed3556(o.experimentIds!); + unittest.expect( + o.filter!, + unittest.equals('foo'), + ); + unittest.expect( + o.offset!, + unittest.equals(42), + ); + unittest.expect( + o.orderBy!, + unittest.equals('foo'), + ); + checkUnnamed3557(o.pageCategories!); + unittest.expect( + o.pageViewId!, + unittest.equals('foo'), + ); + checkUnnamed3558(o.productDetails!); + checkGoogleCloudRetailV2PurchaseTransaction(o.purchaseTransaction!); + unittest.expect( + o.referrerUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.searchQuery!, + unittest.equals('foo'), + ); + unittest.expect( + o.sessionId!, + unittest.equals('foo'), + ); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + checkGoogleCloudRetailV2UserInfo(o.userInfo!); + unittest.expect( + o.visitorId!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2betaImportMetadata--; -} - -core.List buildUnnamed3625() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), - ]; - -void checkUnnamed3625(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); + buildCounterGoogleCloudRetailV2UserEvent--; } -core.int buildCounterGoogleCloudRetailV2betaImportProductsResponse = 0; -api.GoogleCloudRetailV2betaImportProductsResponse - buildGoogleCloudRetailV2betaImportProductsResponse() { - final o = api.GoogleCloudRetailV2betaImportProductsResponse(); - buildCounterGoogleCloudRetailV2betaImportProductsResponse++; - if (buildCounterGoogleCloudRetailV2betaImportProductsResponse < 3) { - o.errorSamples = buildUnnamed3625(); - o.errorsConfig = buildGoogleCloudRetailV2betaImportErrorsConfig(); +core.int buildCounterGoogleCloudRetailV2UserEventImportSummary = 0; +api.GoogleCloudRetailV2UserEventImportSummary + buildGoogleCloudRetailV2UserEventImportSummary() { + final o = api.GoogleCloudRetailV2UserEventImportSummary(); + buildCounterGoogleCloudRetailV2UserEventImportSummary++; + if (buildCounterGoogleCloudRetailV2UserEventImportSummary < 3) { + o.joinedEventsCount = 'foo'; + o.unjoinedEventsCount = 'foo'; } - buildCounterGoogleCloudRetailV2betaImportProductsResponse--; + buildCounterGoogleCloudRetailV2UserEventImportSummary--; return o; } -void checkGoogleCloudRetailV2betaImportProductsResponse( - api.GoogleCloudRetailV2betaImportProductsResponse o) { - buildCounterGoogleCloudRetailV2betaImportProductsResponse++; - if (buildCounterGoogleCloudRetailV2betaImportProductsResponse < 3) { - checkUnnamed3625(o.errorSamples!); - checkGoogleCloudRetailV2betaImportErrorsConfig(o.errorsConfig!); +void checkGoogleCloudRetailV2UserEventImportSummary( + api.GoogleCloudRetailV2UserEventImportSummary o) { + buildCounterGoogleCloudRetailV2UserEventImportSummary++; + if (buildCounterGoogleCloudRetailV2UserEventImportSummary < 3) { + unittest.expect( + o.joinedEventsCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.unjoinedEventsCount!, + unittest.equals('foo'), + ); } - buildCounterGoogleCloudRetailV2betaImportProductsResponse--; + buildCounterGoogleCloudRetailV2UserEventImportSummary--; } -core.List buildUnnamed3626() => [ - buildGoogleRpcStatus(), - buildGoogleRpcStatus(), +core.List buildUnnamed3559() => [ + buildGoogleCloudRetailV2UserEvent(), + buildGoogleCloudRetailV2UserEvent(), ]; -void checkUnnamed3626(core.List o) { +void checkUnnamed3559(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkGoogleRpcStatus(o[0]); - checkGoogleRpcStatus(o[1]); + checkGoogleCloudRetailV2UserEvent(o[0]); + checkGoogleCloudRetailV2UserEvent(o[1]); } -core.int buildCounterGoogleCloudRetailV2betaImportUserEventsResponse = 0; -api.GoogleCloudRetailV2betaImportUserEventsResponse - buildGoogleCloudRetailV2betaImportUserEventsResponse() { - final o = api.GoogleCloudRetailV2betaImportUserEventsResponse(); - buildCounterGoogleCloudRetailV2betaImportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaImportUserEventsResponse < 3) { - o.errorSamples = buildUnnamed3626(); - o.errorsConfig = buildGoogleCloudRetailV2betaImportErrorsConfig(); - o.importSummary = buildGoogleCloudRetailV2betaUserEventImportSummary(); +core.int buildCounterGoogleCloudRetailV2UserEventInlineSource = 0; +api.GoogleCloudRetailV2UserEventInlineSource + buildGoogleCloudRetailV2UserEventInlineSource() { + final o = api.GoogleCloudRetailV2UserEventInlineSource(); + buildCounterGoogleCloudRetailV2UserEventInlineSource++; + if (buildCounterGoogleCloudRetailV2UserEventInlineSource < 3) { + o.userEvents = buildUnnamed3559(); } - buildCounterGoogleCloudRetailV2betaImportUserEventsResponse--; + buildCounterGoogleCloudRetailV2UserEventInlineSource--; return o; } -void checkGoogleCloudRetailV2betaImportUserEventsResponse( - api.GoogleCloudRetailV2betaImportUserEventsResponse o) { - buildCounterGoogleCloudRetailV2betaImportUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaImportUserEventsResponse < 3) { - checkUnnamed3626(o.errorSamples!); - checkGoogleCloudRetailV2betaImportErrorsConfig(o.errorsConfig!); - checkGoogleCloudRetailV2betaUserEventImportSummary(o.importSummary!); +void checkGoogleCloudRetailV2UserEventInlineSource( + api.GoogleCloudRetailV2UserEventInlineSource o) { + buildCounterGoogleCloudRetailV2UserEventInlineSource++; + if (buildCounterGoogleCloudRetailV2UserEventInlineSource < 3) { + checkUnnamed3559(o.userEvents!); } - buildCounterGoogleCloudRetailV2betaImportUserEventsResponse--; + buildCounterGoogleCloudRetailV2UserEventInlineSource--; } -core.int buildCounterGoogleCloudRetailV2betaPurgeMetadata = 0; -api.GoogleCloudRetailV2betaPurgeMetadata - buildGoogleCloudRetailV2betaPurgeMetadata() { - final o = api.GoogleCloudRetailV2betaPurgeMetadata(); - buildCounterGoogleCloudRetailV2betaPurgeMetadata++; - if (buildCounterGoogleCloudRetailV2betaPurgeMetadata < 3) {} - buildCounterGoogleCloudRetailV2betaPurgeMetadata--; +core.int buildCounterGoogleCloudRetailV2UserEventInputConfig = 0; +api.GoogleCloudRetailV2UserEventInputConfig + buildGoogleCloudRetailV2UserEventInputConfig() { + final o = api.GoogleCloudRetailV2UserEventInputConfig(); + buildCounterGoogleCloudRetailV2UserEventInputConfig++; + if (buildCounterGoogleCloudRetailV2UserEventInputConfig < 3) { + o.bigQuerySource = buildGoogleCloudRetailV2BigQuerySource(); + o.gcsSource = buildGoogleCloudRetailV2GcsSource(); + o.userEventInlineSource = buildGoogleCloudRetailV2UserEventInlineSource(); + } + buildCounterGoogleCloudRetailV2UserEventInputConfig--; return o; } -void checkGoogleCloudRetailV2betaPurgeMetadata( - api.GoogleCloudRetailV2betaPurgeMetadata o) { - buildCounterGoogleCloudRetailV2betaPurgeMetadata++; - if (buildCounterGoogleCloudRetailV2betaPurgeMetadata < 3) {} - buildCounterGoogleCloudRetailV2betaPurgeMetadata--; +void checkGoogleCloudRetailV2UserEventInputConfig( + api.GoogleCloudRetailV2UserEventInputConfig o) { + buildCounterGoogleCloudRetailV2UserEventInputConfig++; + if (buildCounterGoogleCloudRetailV2UserEventInputConfig < 3) { + checkGoogleCloudRetailV2BigQuerySource(o.bigQuerySource!); + checkGoogleCloudRetailV2GcsSource(o.gcsSource!); + checkGoogleCloudRetailV2UserEventInlineSource(o.userEventInlineSource!); + } + buildCounterGoogleCloudRetailV2UserEventInputConfig--; } -core.int buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse = 0; -api.GoogleCloudRetailV2betaPurgeUserEventsResponse - buildGoogleCloudRetailV2betaPurgeUserEventsResponse() { - final o = api.GoogleCloudRetailV2betaPurgeUserEventsResponse(); - buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse < 3) { - o.purgedEventsCount = 'foo'; +core.int buildCounterGoogleCloudRetailV2UserInfo = 0; +api.GoogleCloudRetailV2UserInfo buildGoogleCloudRetailV2UserInfo() { + final o = api.GoogleCloudRetailV2UserInfo(); + buildCounterGoogleCloudRetailV2UserInfo++; + if (buildCounterGoogleCloudRetailV2UserInfo < 3) { + o.directUserRequest = true; + o.ipAddress = 'foo'; + o.userAgent = 'foo'; + o.userId = 'foo'; } - buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse--; + buildCounterGoogleCloudRetailV2UserInfo--; return o; } -void checkGoogleCloudRetailV2betaPurgeUserEventsResponse( - api.GoogleCloudRetailV2betaPurgeUserEventsResponse o) { - buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse < 3) { +void checkGoogleCloudRetailV2UserInfo(api.GoogleCloudRetailV2UserInfo o) { + buildCounterGoogleCloudRetailV2UserInfo++; + if (buildCounterGoogleCloudRetailV2UserInfo < 3) { + unittest.expect(o.directUserRequest!, unittest.isTrue); unittest.expect( - o.purgedEventsCount!, + o.ipAddress!, + unittest.equals('foo'), + ); + unittest.expect( + o.userAgent!, + unittest.equals('foo'), + ); + unittest.expect( + o.userId!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse--; + buildCounterGoogleCloudRetailV2UserInfo--; } -core.int buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata = 0; -api.GoogleCloudRetailV2betaRejoinUserEventsMetadata - buildGoogleCloudRetailV2betaRejoinUserEventsMetadata() { - final o = api.GoogleCloudRetailV2betaRejoinUserEventsMetadata(); - buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata++; - if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata < 3) {} - buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata--; +core.int buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata = 0; +api.GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata + buildGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata() { + final o = api.GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata(); + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata--; return o; } -void checkGoogleCloudRetailV2betaRejoinUserEventsMetadata( - api.GoogleCloudRetailV2betaRejoinUserEventsMetadata o) { - buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata++; - if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata < 3) {} - buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata--; +void checkGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata( + api.GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata o) { + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata--; } -core.int buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse = 0; -api.GoogleCloudRetailV2betaRejoinUserEventsResponse - buildGoogleCloudRetailV2betaRejoinUserEventsResponse() { - final o = api.GoogleCloudRetailV2betaRejoinUserEventsResponse(); - buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse < 3) { - o.rejoinedUserEventsCount = 'foo'; - } - buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse--; +core.int buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse = 0; +api.GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse + buildGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse() { + final o = api.GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse(); + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse--; return o; } -void checkGoogleCloudRetailV2betaRejoinUserEventsResponse( - api.GoogleCloudRetailV2betaRejoinUserEventsResponse o) { - buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse++; - if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse < 3) { - unittest.expect( - o.rejoinedUserEventsCount!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse--; +void checkGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse( + api.GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse o) { + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse--; } -core.int buildCounterGoogleCloudRetailV2betaUserEventImportSummary = 0; -api.GoogleCloudRetailV2betaUserEventImportSummary - buildGoogleCloudRetailV2betaUserEventImportSummary() { - final o = api.GoogleCloudRetailV2betaUserEventImportSummary(); - buildCounterGoogleCloudRetailV2betaUserEventImportSummary++; - if (buildCounterGoogleCloudRetailV2betaUserEventImportSummary < 3) { - o.joinedEventsCount = 'foo'; - o.unjoinedEventsCount = 'foo'; +core.int buildCounterGoogleCloudRetailV2alphaExportErrorsConfig = 0; +api.GoogleCloudRetailV2alphaExportErrorsConfig + buildGoogleCloudRetailV2alphaExportErrorsConfig() { + final o = api.GoogleCloudRetailV2alphaExportErrorsConfig(); + buildCounterGoogleCloudRetailV2alphaExportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2alphaExportErrorsConfig < 3) { + o.gcsPrefix = 'foo'; } - buildCounterGoogleCloudRetailV2betaUserEventImportSummary--; + buildCounterGoogleCloudRetailV2alphaExportErrorsConfig--; return o; } -void checkGoogleCloudRetailV2betaUserEventImportSummary( - api.GoogleCloudRetailV2betaUserEventImportSummary o) { - buildCounterGoogleCloudRetailV2betaUserEventImportSummary++; - if (buildCounterGoogleCloudRetailV2betaUserEventImportSummary < 3) { - unittest.expect( - o.joinedEventsCount!, - unittest.equals('foo'), - ); +void checkGoogleCloudRetailV2alphaExportErrorsConfig( + api.GoogleCloudRetailV2alphaExportErrorsConfig o) { + buildCounterGoogleCloudRetailV2alphaExportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2alphaExportErrorsConfig < 3) { unittest.expect( - o.unjoinedEventsCount!, + o.gcsPrefix!, unittest.equals('foo'), ); } - buildCounterGoogleCloudRetailV2betaUserEventImportSummary--; + buildCounterGoogleCloudRetailV2alphaExportErrorsConfig--; } -core.List buildUnnamed3627() => [ - buildGoogleLongrunningOperation(), - buildGoogleLongrunningOperation(), - ]; - -void checkUnnamed3627(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleLongrunningOperation(o[0]); - checkGoogleLongrunningOperation(o[1]); -} - -core.int buildCounterGoogleLongrunningListOperationsResponse = 0; -api.GoogleLongrunningListOperationsResponse - buildGoogleLongrunningListOperationsResponse() { - final o = api.GoogleLongrunningListOperationsResponse(); - buildCounterGoogleLongrunningListOperationsResponse++; - if (buildCounterGoogleLongrunningListOperationsResponse < 3) { - o.nextPageToken = 'foo'; - o.operations = buildUnnamed3627(); +core.int buildCounterGoogleCloudRetailV2alphaExportMetadata = 0; +api.GoogleCloudRetailV2alphaExportMetadata + buildGoogleCloudRetailV2alphaExportMetadata() { + final o = api.GoogleCloudRetailV2alphaExportMetadata(); + buildCounterGoogleCloudRetailV2alphaExportMetadata++; + if (buildCounterGoogleCloudRetailV2alphaExportMetadata < 3) { + o.createTime = 'foo'; + o.updateTime = 'foo'; } - buildCounterGoogleLongrunningListOperationsResponse--; + buildCounterGoogleCloudRetailV2alphaExportMetadata--; return o; } -void checkGoogleLongrunningListOperationsResponse( - api.GoogleLongrunningListOperationsResponse o) { - buildCounterGoogleLongrunningListOperationsResponse++; - if (buildCounterGoogleLongrunningListOperationsResponse < 3) { +void checkGoogleCloudRetailV2alphaExportMetadata( + api.GoogleCloudRetailV2alphaExportMetadata o) { + buildCounterGoogleCloudRetailV2alphaExportMetadata++; + if (buildCounterGoogleCloudRetailV2alphaExportMetadata < 3) { unittest.expect( - o.nextPageToken!, + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, unittest.equals('foo'), ); - checkUnnamed3627(o.operations!); } - buildCounterGoogleLongrunningListOperationsResponse--; -} - -core.Map buildUnnamed3628() => { - 'x': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - 'y': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - }; - -void checkUnnamed3628(core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - var casted11 = (o['x']!) as core.Map; - unittest.expect(casted11, unittest.hasLength(3)); - unittest.expect( - casted11['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted11['bool'], - unittest.equals(true), - ); - unittest.expect( - casted11['string'], - unittest.equals('foo'), - ); - var casted12 = (o['y']!) as core.Map; - unittest.expect(casted12, unittest.hasLength(3)); - unittest.expect( - casted12['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted12['bool'], - unittest.equals(true), - ); - unittest.expect( - casted12['string'], - unittest.equals('foo'), - ); + buildCounterGoogleCloudRetailV2alphaExportMetadata--; } -core.Map buildUnnamed3629() => { - 'x': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - 'y': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - }; +core.List buildUnnamed3560() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; -void checkUnnamed3629(core.Map o) { +void checkUnnamed3560(core.List o) { unittest.expect(o, unittest.hasLength(2)); - var casted13 = (o['x']!) as core.Map; - unittest.expect(casted13, unittest.hasLength(3)); - unittest.expect( - casted13['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted13['bool'], - unittest.equals(true), - ); - unittest.expect( - casted13['string'], - unittest.equals('foo'), - ); - var casted14 = (o['y']!) as core.Map; - unittest.expect(casted14, unittest.hasLength(3)); - unittest.expect( - casted14['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted14['bool'], - unittest.equals(true), - ); - unittest.expect( - casted14['string'], - unittest.equals('foo'), - ); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); } -core.int buildCounterGoogleLongrunningOperation = 0; -api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { - final o = api.GoogleLongrunningOperation(); - buildCounterGoogleLongrunningOperation++; - if (buildCounterGoogleLongrunningOperation < 3) { - o.done = true; - o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed3628(); - o.name = 'foo'; - o.response = buildUnnamed3629(); +core.int buildCounterGoogleCloudRetailV2alphaExportProductsResponse = 0; +api.GoogleCloudRetailV2alphaExportProductsResponse + buildGoogleCloudRetailV2alphaExportProductsResponse() { + final o = api.GoogleCloudRetailV2alphaExportProductsResponse(); + buildCounterGoogleCloudRetailV2alphaExportProductsResponse++; + if (buildCounterGoogleCloudRetailV2alphaExportProductsResponse < 3) { + o.errorSamples = buildUnnamed3560(); + o.errorsConfig = buildGoogleCloudRetailV2alphaExportErrorsConfig(); } - buildCounterGoogleLongrunningOperation--; + buildCounterGoogleCloudRetailV2alphaExportProductsResponse--; return o; } -void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { - buildCounterGoogleLongrunningOperation++; - if (buildCounterGoogleLongrunningOperation < 3) { - unittest.expect(o.done!, unittest.isTrue); - checkGoogleRpcStatus(o.error!); - checkUnnamed3628(o.metadata!); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); - checkUnnamed3629(o.response!); +void checkGoogleCloudRetailV2alphaExportProductsResponse( + api.GoogleCloudRetailV2alphaExportProductsResponse o) { + buildCounterGoogleCloudRetailV2alphaExportProductsResponse++; + if (buildCounterGoogleCloudRetailV2alphaExportProductsResponse < 3) { + checkUnnamed3560(o.errorSamples!); + checkGoogleCloudRetailV2alphaExportErrorsConfig(o.errorsConfig!); } - buildCounterGoogleLongrunningOperation--; + buildCounterGoogleCloudRetailV2alphaExportProductsResponse--; } -core.int buildCounterGoogleProtobufEmpty = 0; -api.GoogleProtobufEmpty buildGoogleProtobufEmpty() { - final o = api.GoogleProtobufEmpty(); - buildCounterGoogleProtobufEmpty++; - if (buildCounterGoogleProtobufEmpty < 3) {} - buildCounterGoogleProtobufEmpty--; - return o; -} +core.List buildUnnamed3561() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; -void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { - buildCounterGoogleProtobufEmpty++; - if (buildCounterGoogleProtobufEmpty < 3) {} - buildCounterGoogleProtobufEmpty--; +void checkUnnamed3561(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); } -core.Map buildUnnamed3630() => { - 'x': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - 'y': { - 'list': [1, 2, 3], - 'bool': true, - 'string': 'foo' - }, - }; +core.int buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse = 0; +api.GoogleCloudRetailV2alphaExportUserEventsResponse + buildGoogleCloudRetailV2alphaExportUserEventsResponse() { + final o = api.GoogleCloudRetailV2alphaExportUserEventsResponse(); + buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse < 3) { + o.errorSamples = buildUnnamed3561(); + o.errorsConfig = buildGoogleCloudRetailV2alphaExportErrorsConfig(); + } + buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse--; + return o; +} -void checkUnnamed3630(core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - var casted15 = (o['x']!) as core.Map; - unittest.expect(casted15, unittest.hasLength(3)); - unittest.expect( - casted15['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted15['bool'], - unittest.equals(true), - ); - unittest.expect( - casted15['string'], - unittest.equals('foo'), - ); - var casted16 = (o['y']!) as core.Map; - unittest.expect(casted16, unittest.hasLength(3)); - unittest.expect( - casted16['list'], - unittest.equals([1, 2, 3]), - ); - unittest.expect( - casted16['bool'], - unittest.equals(true), - ); - unittest.expect( - casted16['string'], - unittest.equals('foo'), - ); +void checkGoogleCloudRetailV2alphaExportUserEventsResponse( + api.GoogleCloudRetailV2alphaExportUserEventsResponse o) { + buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse < 3) { + checkUnnamed3561(o.errorSamples!); + checkGoogleCloudRetailV2alphaExportErrorsConfig(o.errorsConfig!); + } + buildCounterGoogleCloudRetailV2alphaExportUserEventsResponse--; } -core.List> buildUnnamed3631() => [ - buildUnnamed3630(), - buildUnnamed3630(), +core.List buildUnnamed3562() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), ]; -void checkUnnamed3631(core.List> o) { +void checkUnnamed3562(core.List o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed3630(o[0]); - checkUnnamed3630(o[1]); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); } -core.int buildCounterGoogleRpcStatus = 0; -api.GoogleRpcStatus buildGoogleRpcStatus() { - final o = api.GoogleRpcStatus(); - buildCounterGoogleRpcStatus++; - if (buildCounterGoogleRpcStatus < 3) { - o.code = 42; - o.details = buildUnnamed3631(); - o.message = 'foo'; +core.int buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse = 0; +api.GoogleCloudRetailV2alphaImportCompletionDataResponse + buildGoogleCloudRetailV2alphaImportCompletionDataResponse() { + final o = api.GoogleCloudRetailV2alphaImportCompletionDataResponse(); + buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse++; + if (buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse < 3) { + o.errorSamples = buildUnnamed3562(); } - buildCounterGoogleRpcStatus--; + buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse--; return o; } -void checkGoogleRpcStatus(api.GoogleRpcStatus o) { - buildCounterGoogleRpcStatus++; - if (buildCounterGoogleRpcStatus < 3) { - unittest.expect( - o.code!, - unittest.equals(42), - ); - checkUnnamed3631(o.details!); +void checkGoogleCloudRetailV2alphaImportCompletionDataResponse( + api.GoogleCloudRetailV2alphaImportCompletionDataResponse o) { + buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse++; + if (buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse < 3) { + checkUnnamed3562(o.errorSamples!); + } + buildCounterGoogleCloudRetailV2alphaImportCompletionDataResponse--; +} + +core.int buildCounterGoogleCloudRetailV2alphaImportErrorsConfig = 0; +api.GoogleCloudRetailV2alphaImportErrorsConfig + buildGoogleCloudRetailV2alphaImportErrorsConfig() { + final o = api.GoogleCloudRetailV2alphaImportErrorsConfig(); + buildCounterGoogleCloudRetailV2alphaImportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2alphaImportErrorsConfig < 3) { + o.gcsPrefix = 'foo'; + } + buildCounterGoogleCloudRetailV2alphaImportErrorsConfig--; + return o; +} + +void checkGoogleCloudRetailV2alphaImportErrorsConfig( + api.GoogleCloudRetailV2alphaImportErrorsConfig o) { + buildCounterGoogleCloudRetailV2alphaImportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2alphaImportErrorsConfig < 3) { unittest.expect( - o.message!, + o.gcsPrefix!, unittest.equals('foo'), ); } - buildCounterGoogleRpcStatus--; + buildCounterGoogleCloudRetailV2alphaImportErrorsConfig--; } -void main() { - unittest.group('obj-schema-GoogleApiHttpBody', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleApiHttpBody(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleApiHttpBody.fromJson( - oJson as core.Map); - checkGoogleApiHttpBody(od); - }); - }); - - unittest.group('obj-schema-GoogleCloudRetailLoggingErrorContext', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailLoggingErrorContext(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailLoggingErrorContext.fromJson( - oJson as core.Map); - checkGoogleCloudRetailLoggingErrorContext(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaImportMetadata = 0; +api.GoogleCloudRetailV2alphaImportMetadata + buildGoogleCloudRetailV2alphaImportMetadata() { + final o = api.GoogleCloudRetailV2alphaImportMetadata(); + buildCounterGoogleCloudRetailV2alphaImportMetadata++; + if (buildCounterGoogleCloudRetailV2alphaImportMetadata < 3) { + o.createTime = 'foo'; + o.failureCount = 'foo'; + o.notificationPubsubTopic = 'foo'; + o.requestId = 'foo'; + o.successCount = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudRetailV2alphaImportMetadata--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailLoggingErrorLog', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailLoggingErrorLog(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailLoggingErrorLog.fromJson( - oJson as core.Map); - checkGoogleCloudRetailLoggingErrorLog(od); - }); - }); +void checkGoogleCloudRetailV2alphaImportMetadata( + api.GoogleCloudRetailV2alphaImportMetadata o) { + buildCounterGoogleCloudRetailV2alphaImportMetadata++; + if (buildCounterGoogleCloudRetailV2alphaImportMetadata < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.failureCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.notificationPubsubTopic!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestId!, + unittest.equals('foo'), + ); + unittest.expect( + o.successCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2alphaImportMetadata--; +} - unittest.group('obj-schema-GoogleCloudRetailLoggingHttpRequestContext', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailLoggingHttpRequestContext(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailLoggingHttpRequestContext.fromJson( - oJson as core.Map); - checkGoogleCloudRetailLoggingHttpRequestContext(od); - }); - }); +core.List buildUnnamed3563() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; - unittest.group('obj-schema-GoogleCloudRetailLoggingImportErrorContext', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailLoggingImportErrorContext(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailLoggingImportErrorContext.fromJson( - oJson as core.Map); - checkGoogleCloudRetailLoggingImportErrorContext(od); - }); - }); +void checkUnnamed3563(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} - unittest.group('obj-schema-GoogleCloudRetailLoggingServiceContext', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailLoggingServiceContext(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailLoggingServiceContext.fromJson( - oJson as core.Map); - checkGoogleCloudRetailLoggingServiceContext(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaImportProductsResponse = 0; +api.GoogleCloudRetailV2alphaImportProductsResponse + buildGoogleCloudRetailV2alphaImportProductsResponse() { + final o = api.GoogleCloudRetailV2alphaImportProductsResponse(); + buildCounterGoogleCloudRetailV2alphaImportProductsResponse++; + if (buildCounterGoogleCloudRetailV2alphaImportProductsResponse < 3) { + o.errorSamples = buildUnnamed3563(); + o.errorsConfig = buildGoogleCloudRetailV2alphaImportErrorsConfig(); + } + buildCounterGoogleCloudRetailV2alphaImportProductsResponse--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailLoggingSourceLocation', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailLoggingSourceLocation(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailLoggingSourceLocation.fromJson( - oJson as core.Map); - checkGoogleCloudRetailLoggingSourceLocation(od); - }); - }); +void checkGoogleCloudRetailV2alphaImportProductsResponse( + api.GoogleCloudRetailV2alphaImportProductsResponse o) { + buildCounterGoogleCloudRetailV2alphaImportProductsResponse++; + if (buildCounterGoogleCloudRetailV2alphaImportProductsResponse < 3) { + checkUnnamed3563(o.errorSamples!); + checkGoogleCloudRetailV2alphaImportErrorsConfig(o.errorsConfig!); + } + buildCounterGoogleCloudRetailV2alphaImportProductsResponse--; +} - unittest.group('obj-schema-GoogleCloudRetailV2BigQuerySource', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2BigQuerySource(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2BigQuerySource.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2BigQuerySource(od); - }); - }); +core.List buildUnnamed3564() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; - unittest.group('obj-schema-GoogleCloudRetailV2Catalog', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2Catalog(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2Catalog.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2Catalog(od); - }); - }); +void checkUnnamed3564(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} - unittest.group('obj-schema-GoogleCloudRetailV2CustomAttribute', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2CustomAttribute(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2CustomAttribute.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2CustomAttribute(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse = 0; +api.GoogleCloudRetailV2alphaImportUserEventsResponse + buildGoogleCloudRetailV2alphaImportUserEventsResponse() { + final o = api.GoogleCloudRetailV2alphaImportUserEventsResponse(); + buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse < 3) { + o.errorSamples = buildUnnamed3564(); + o.errorsConfig = buildGoogleCloudRetailV2alphaImportErrorsConfig(); + o.importSummary = buildGoogleCloudRetailV2alphaUserEventImportSummary(); + } + buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2GcsSource', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2GcsSource(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2GcsSource.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2GcsSource(od); - }); - }); +void checkGoogleCloudRetailV2alphaImportUserEventsResponse( + api.GoogleCloudRetailV2alphaImportUserEventsResponse o) { + buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse < 3) { + checkUnnamed3564(o.errorSamples!); + checkGoogleCloudRetailV2alphaImportErrorsConfig(o.errorsConfig!); + checkGoogleCloudRetailV2alphaUserEventImportSummary(o.importSummary!); + } + buildCounterGoogleCloudRetailV2alphaImportUserEventsResponse--; +} - unittest.group('obj-schema-GoogleCloudRetailV2Image', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2Image(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2Image.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2Image(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaPurgeMetadata = 0; +api.GoogleCloudRetailV2alphaPurgeMetadata + buildGoogleCloudRetailV2alphaPurgeMetadata() { + final o = api.GoogleCloudRetailV2alphaPurgeMetadata(); + buildCounterGoogleCloudRetailV2alphaPurgeMetadata++; + if (buildCounterGoogleCloudRetailV2alphaPurgeMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaPurgeMetadata--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2ImportErrorsConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ImportErrorsConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ImportErrorsConfig.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ImportErrorsConfig(od); - }); - }); +void checkGoogleCloudRetailV2alphaPurgeMetadata( + api.GoogleCloudRetailV2alphaPurgeMetadata o) { + buildCounterGoogleCloudRetailV2alphaPurgeMetadata++; + if (buildCounterGoogleCloudRetailV2alphaPurgeMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaPurgeMetadata--; +} - unittest.group('obj-schema-GoogleCloudRetailV2ImportMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ImportMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ImportMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ImportMetadata(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse = 0; +api.GoogleCloudRetailV2alphaPurgeUserEventsResponse + buildGoogleCloudRetailV2alphaPurgeUserEventsResponse() { + final o = api.GoogleCloudRetailV2alphaPurgeUserEventsResponse(); + buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse < 3) { + o.purgedEventsCount = 'foo'; + } + buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2ImportProductsRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ImportProductsRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ImportProductsRequest.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ImportProductsRequest(od); - }); - }); +void checkGoogleCloudRetailV2alphaPurgeUserEventsResponse( + api.GoogleCloudRetailV2alphaPurgeUserEventsResponse o) { + buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse < 3) { + unittest.expect( + o.purgedEventsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2alphaPurgeUserEventsResponse--; +} - unittest.group('obj-schema-GoogleCloudRetailV2ImportProductsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ImportProductsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ImportProductsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ImportProductsResponse(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata = 0; +api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata + buildGoogleCloudRetailV2alphaRejoinUserEventsMetadata() { + final o = api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata(); + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata++; + if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2ImportUserEventsRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ImportUserEventsRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ImportUserEventsRequest.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ImportUserEventsRequest(od); - }); - }); +void checkGoogleCloudRetailV2alphaRejoinUserEventsMetadata( + api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata o) { + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata++; + if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsMetadata--; +} - unittest.group('obj-schema-GoogleCloudRetailV2ImportUserEventsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ImportUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ImportUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ImportUserEventsResponse(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse = 0; +api.GoogleCloudRetailV2alphaRejoinUserEventsResponse + buildGoogleCloudRetailV2alphaRejoinUserEventsResponse() { + final o = api.GoogleCloudRetailV2alphaRejoinUserEventsResponse(); + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse < 3) { + o.rejoinedUserEventsCount = 'foo'; + } + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2ListCatalogsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ListCatalogsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ListCatalogsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ListCatalogsResponse(od); - }); - }); +void checkGoogleCloudRetailV2alphaRejoinUserEventsResponse( + api.GoogleCloudRetailV2alphaRejoinUserEventsResponse o) { + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse < 3) { + unittest.expect( + o.rejoinedUserEventsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2alphaRejoinUserEventsResponse--; +} - unittest.group('obj-schema-GoogleCloudRetailV2PredictRequest', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PredictRequest(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PredictRequest.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2PredictRequest(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata = + 0; +api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata + buildGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata() { + final o = api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata(); + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata < + 3) {} + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2PredictResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PredictResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PredictResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2PredictResponse(od); - }); - }); +void checkGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata( + api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata o) { + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata < + 3) {} + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata--; +} - unittest.group( - 'obj-schema-GoogleCloudRetailV2PredictResponsePredictionResult', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PredictResponsePredictionResult(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudRetailV2PredictResponsePredictionResult.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2PredictResponsePredictionResult(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse = + 0; +api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse + buildGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse() { + final o = api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse(); + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse < + 3) {} + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2PriceInfo', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PriceInfo(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PriceInfo.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2PriceInfo(od); - }); - }); +void checkGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse( + api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse o) { + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse < + 3) {} + buildCounterGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse--; +} - unittest.group('obj-schema-GoogleCloudRetailV2Product', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2Product(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2Product.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2Product(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata = 0; +api.GoogleCloudRetailV2alphaSetInventoryMetadata + buildGoogleCloudRetailV2alphaSetInventoryMetadata() { + final o = api.GoogleCloudRetailV2alphaSetInventoryMetadata(); + buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata++; + if (buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2ProductDetail', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ProductDetail(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ProductDetail.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ProductDetail(od); - }); - }); +void checkGoogleCloudRetailV2alphaSetInventoryMetadata( + api.GoogleCloudRetailV2alphaSetInventoryMetadata o) { + buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata++; + if (buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata < 3) {} + buildCounterGoogleCloudRetailV2alphaSetInventoryMetadata--; +} - unittest.group('obj-schema-GoogleCloudRetailV2ProductInlineSource', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ProductInlineSource(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ProductInlineSource.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ProductInlineSource(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaSetInventoryResponse = 0; +api.GoogleCloudRetailV2alphaSetInventoryResponse + buildGoogleCloudRetailV2alphaSetInventoryResponse() { + final o = api.GoogleCloudRetailV2alphaSetInventoryResponse(); + buildCounterGoogleCloudRetailV2alphaSetInventoryResponse++; + if (buildCounterGoogleCloudRetailV2alphaSetInventoryResponse < 3) {} + buildCounterGoogleCloudRetailV2alphaSetInventoryResponse--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2ProductInputConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ProductInputConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ProductInputConfig.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ProductInputConfig(od); - }); - }); +void checkGoogleCloudRetailV2alphaSetInventoryResponse( + api.GoogleCloudRetailV2alphaSetInventoryResponse o) { + buildCounterGoogleCloudRetailV2alphaSetInventoryResponse++; + if (buildCounterGoogleCloudRetailV2alphaSetInventoryResponse < 3) {} + buildCounterGoogleCloudRetailV2alphaSetInventoryResponse--; +} - unittest.group('obj-schema-GoogleCloudRetailV2ProductLevelConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2ProductLevelConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2ProductLevelConfig.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2ProductLevelConfig(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2alphaUserEventImportSummary = 0; +api.GoogleCloudRetailV2alphaUserEventImportSummary + buildGoogleCloudRetailV2alphaUserEventImportSummary() { + final o = api.GoogleCloudRetailV2alphaUserEventImportSummary(); + buildCounterGoogleCloudRetailV2alphaUserEventImportSummary++; + if (buildCounterGoogleCloudRetailV2alphaUserEventImportSummary < 3) { + o.joinedEventsCount = 'foo'; + o.unjoinedEventsCount = 'foo'; + } + buildCounterGoogleCloudRetailV2alphaUserEventImportSummary--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2PurchaseTransaction', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PurchaseTransaction(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PurchaseTransaction.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2PurchaseTransaction(od); - }); - }); +void checkGoogleCloudRetailV2alphaUserEventImportSummary( + api.GoogleCloudRetailV2alphaUserEventImportSummary o) { + buildCounterGoogleCloudRetailV2alphaUserEventImportSummary++; + if (buildCounterGoogleCloudRetailV2alphaUserEventImportSummary < 3) { + unittest.expect( + o.joinedEventsCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.unjoinedEventsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2alphaUserEventImportSummary--; +} - unittest.group('obj-schema-GoogleCloudRetailV2PurgeMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PurgeMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PurgeMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2PurgeMetadata(od); - }); - }); +core.int buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata = 0; +api.GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata + buildGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata() { + final o = api.GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata(); + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata--; + return o; +} - unittest.group('obj-schema-GoogleCloudRetailV2PurgeUserEventsRequest', () { - unittest.test('to-json--from-json', () async { +void checkGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata( + api.GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata o) { + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata--; +} + +core.int buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse = 0; +api.GoogleCloudRetailV2betaAddFulfillmentPlacesResponse + buildGoogleCloudRetailV2betaAddFulfillmentPlacesResponse() { + final o = api.GoogleCloudRetailV2betaAddFulfillmentPlacesResponse(); + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaAddFulfillmentPlacesResponse( + api.GoogleCloudRetailV2betaAddFulfillmentPlacesResponse o) { + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2betaAddFulfillmentPlacesResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaExportErrorsConfig = 0; +api.GoogleCloudRetailV2betaExportErrorsConfig + buildGoogleCloudRetailV2betaExportErrorsConfig() { + final o = api.GoogleCloudRetailV2betaExportErrorsConfig(); + buildCounterGoogleCloudRetailV2betaExportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2betaExportErrorsConfig < 3) { + o.gcsPrefix = 'foo'; + } + buildCounterGoogleCloudRetailV2betaExportErrorsConfig--; + return o; +} + +void checkGoogleCloudRetailV2betaExportErrorsConfig( + api.GoogleCloudRetailV2betaExportErrorsConfig o) { + buildCounterGoogleCloudRetailV2betaExportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2betaExportErrorsConfig < 3) { + unittest.expect( + o.gcsPrefix!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaExportErrorsConfig--; +} + +core.int buildCounterGoogleCloudRetailV2betaExportMetadata = 0; +api.GoogleCloudRetailV2betaExportMetadata + buildGoogleCloudRetailV2betaExportMetadata() { + final o = api.GoogleCloudRetailV2betaExportMetadata(); + buildCounterGoogleCloudRetailV2betaExportMetadata++; + if (buildCounterGoogleCloudRetailV2betaExportMetadata < 3) { + o.createTime = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudRetailV2betaExportMetadata--; + return o; +} + +void checkGoogleCloudRetailV2betaExportMetadata( + api.GoogleCloudRetailV2betaExportMetadata o) { + buildCounterGoogleCloudRetailV2betaExportMetadata++; + if (buildCounterGoogleCloudRetailV2betaExportMetadata < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaExportMetadata--; +} + +core.List buildUnnamed3565() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3565(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2betaExportProductsResponse = 0; +api.GoogleCloudRetailV2betaExportProductsResponse + buildGoogleCloudRetailV2betaExportProductsResponse() { + final o = api.GoogleCloudRetailV2betaExportProductsResponse(); + buildCounterGoogleCloudRetailV2betaExportProductsResponse++; + if (buildCounterGoogleCloudRetailV2betaExportProductsResponse < 3) { + o.errorSamples = buildUnnamed3565(); + o.errorsConfig = buildGoogleCloudRetailV2betaExportErrorsConfig(); + } + buildCounterGoogleCloudRetailV2betaExportProductsResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaExportProductsResponse( + api.GoogleCloudRetailV2betaExportProductsResponse o) { + buildCounterGoogleCloudRetailV2betaExportProductsResponse++; + if (buildCounterGoogleCloudRetailV2betaExportProductsResponse < 3) { + checkUnnamed3565(o.errorSamples!); + checkGoogleCloudRetailV2betaExportErrorsConfig(o.errorsConfig!); + } + buildCounterGoogleCloudRetailV2betaExportProductsResponse--; +} + +core.List buildUnnamed3566() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3566(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2betaExportUserEventsResponse = 0; +api.GoogleCloudRetailV2betaExportUserEventsResponse + buildGoogleCloudRetailV2betaExportUserEventsResponse() { + final o = api.GoogleCloudRetailV2betaExportUserEventsResponse(); + buildCounterGoogleCloudRetailV2betaExportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaExportUserEventsResponse < 3) { + o.errorSamples = buildUnnamed3566(); + o.errorsConfig = buildGoogleCloudRetailV2betaExportErrorsConfig(); + } + buildCounterGoogleCloudRetailV2betaExportUserEventsResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaExportUserEventsResponse( + api.GoogleCloudRetailV2betaExportUserEventsResponse o) { + buildCounterGoogleCloudRetailV2betaExportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaExportUserEventsResponse < 3) { + checkUnnamed3566(o.errorSamples!); + checkGoogleCloudRetailV2betaExportErrorsConfig(o.errorsConfig!); + } + buildCounterGoogleCloudRetailV2betaExportUserEventsResponse--; +} + +core.List buildUnnamed3567() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3567(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse = 0; +api.GoogleCloudRetailV2betaImportCompletionDataResponse + buildGoogleCloudRetailV2betaImportCompletionDataResponse() { + final o = api.GoogleCloudRetailV2betaImportCompletionDataResponse(); + buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse++; + if (buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse < 3) { + o.errorSamples = buildUnnamed3567(); + } + buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaImportCompletionDataResponse( + api.GoogleCloudRetailV2betaImportCompletionDataResponse o) { + buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse++; + if (buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse < 3) { + checkUnnamed3567(o.errorSamples!); + } + buildCounterGoogleCloudRetailV2betaImportCompletionDataResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaImportErrorsConfig = 0; +api.GoogleCloudRetailV2betaImportErrorsConfig + buildGoogleCloudRetailV2betaImportErrorsConfig() { + final o = api.GoogleCloudRetailV2betaImportErrorsConfig(); + buildCounterGoogleCloudRetailV2betaImportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2betaImportErrorsConfig < 3) { + o.gcsPrefix = 'foo'; + } + buildCounterGoogleCloudRetailV2betaImportErrorsConfig--; + return o; +} + +void checkGoogleCloudRetailV2betaImportErrorsConfig( + api.GoogleCloudRetailV2betaImportErrorsConfig o) { + buildCounterGoogleCloudRetailV2betaImportErrorsConfig++; + if (buildCounterGoogleCloudRetailV2betaImportErrorsConfig < 3) { + unittest.expect( + o.gcsPrefix!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaImportErrorsConfig--; +} + +core.int buildCounterGoogleCloudRetailV2betaImportMetadata = 0; +api.GoogleCloudRetailV2betaImportMetadata + buildGoogleCloudRetailV2betaImportMetadata() { + final o = api.GoogleCloudRetailV2betaImportMetadata(); + buildCounterGoogleCloudRetailV2betaImportMetadata++; + if (buildCounterGoogleCloudRetailV2betaImportMetadata < 3) { + o.createTime = 'foo'; + o.failureCount = 'foo'; + o.notificationPubsubTopic = 'foo'; + o.requestId = 'foo'; + o.successCount = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudRetailV2betaImportMetadata--; + return o; +} + +void checkGoogleCloudRetailV2betaImportMetadata( + api.GoogleCloudRetailV2betaImportMetadata o) { + buildCounterGoogleCloudRetailV2betaImportMetadata++; + if (buildCounterGoogleCloudRetailV2betaImportMetadata < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.failureCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.notificationPubsubTopic!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestId!, + unittest.equals('foo'), + ); + unittest.expect( + o.successCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaImportMetadata--; +} + +core.List buildUnnamed3568() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3568(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2betaImportProductsResponse = 0; +api.GoogleCloudRetailV2betaImportProductsResponse + buildGoogleCloudRetailV2betaImportProductsResponse() { + final o = api.GoogleCloudRetailV2betaImportProductsResponse(); + buildCounterGoogleCloudRetailV2betaImportProductsResponse++; + if (buildCounterGoogleCloudRetailV2betaImportProductsResponse < 3) { + o.errorSamples = buildUnnamed3568(); + o.errorsConfig = buildGoogleCloudRetailV2betaImportErrorsConfig(); + } + buildCounterGoogleCloudRetailV2betaImportProductsResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaImportProductsResponse( + api.GoogleCloudRetailV2betaImportProductsResponse o) { + buildCounterGoogleCloudRetailV2betaImportProductsResponse++; + if (buildCounterGoogleCloudRetailV2betaImportProductsResponse < 3) { + checkUnnamed3568(o.errorSamples!); + checkGoogleCloudRetailV2betaImportErrorsConfig(o.errorsConfig!); + } + buildCounterGoogleCloudRetailV2betaImportProductsResponse--; +} + +core.List buildUnnamed3569() => [ + buildGoogleRpcStatus(), + buildGoogleRpcStatus(), + ]; + +void checkUnnamed3569(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleRpcStatus(o[0]); + checkGoogleRpcStatus(o[1]); +} + +core.int buildCounterGoogleCloudRetailV2betaImportUserEventsResponse = 0; +api.GoogleCloudRetailV2betaImportUserEventsResponse + buildGoogleCloudRetailV2betaImportUserEventsResponse() { + final o = api.GoogleCloudRetailV2betaImportUserEventsResponse(); + buildCounterGoogleCloudRetailV2betaImportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaImportUserEventsResponse < 3) { + o.errorSamples = buildUnnamed3569(); + o.errorsConfig = buildGoogleCloudRetailV2betaImportErrorsConfig(); + o.importSummary = buildGoogleCloudRetailV2betaUserEventImportSummary(); + } + buildCounterGoogleCloudRetailV2betaImportUserEventsResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaImportUserEventsResponse( + api.GoogleCloudRetailV2betaImportUserEventsResponse o) { + buildCounterGoogleCloudRetailV2betaImportUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaImportUserEventsResponse < 3) { + checkUnnamed3569(o.errorSamples!); + checkGoogleCloudRetailV2betaImportErrorsConfig(o.errorsConfig!); + checkGoogleCloudRetailV2betaUserEventImportSummary(o.importSummary!); + } + buildCounterGoogleCloudRetailV2betaImportUserEventsResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaPurgeMetadata = 0; +api.GoogleCloudRetailV2betaPurgeMetadata + buildGoogleCloudRetailV2betaPurgeMetadata() { + final o = api.GoogleCloudRetailV2betaPurgeMetadata(); + buildCounterGoogleCloudRetailV2betaPurgeMetadata++; + if (buildCounterGoogleCloudRetailV2betaPurgeMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaPurgeMetadata--; + return o; +} + +void checkGoogleCloudRetailV2betaPurgeMetadata( + api.GoogleCloudRetailV2betaPurgeMetadata o) { + buildCounterGoogleCloudRetailV2betaPurgeMetadata++; + if (buildCounterGoogleCloudRetailV2betaPurgeMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaPurgeMetadata--; +} + +core.int buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse = 0; +api.GoogleCloudRetailV2betaPurgeUserEventsResponse + buildGoogleCloudRetailV2betaPurgeUserEventsResponse() { + final o = api.GoogleCloudRetailV2betaPurgeUserEventsResponse(); + buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse < 3) { + o.purgedEventsCount = 'foo'; + } + buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaPurgeUserEventsResponse( + api.GoogleCloudRetailV2betaPurgeUserEventsResponse o) { + buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse < 3) { + unittest.expect( + o.purgedEventsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaPurgeUserEventsResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata = 0; +api.GoogleCloudRetailV2betaRejoinUserEventsMetadata + buildGoogleCloudRetailV2betaRejoinUserEventsMetadata() { + final o = api.GoogleCloudRetailV2betaRejoinUserEventsMetadata(); + buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata++; + if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata--; + return o; +} + +void checkGoogleCloudRetailV2betaRejoinUserEventsMetadata( + api.GoogleCloudRetailV2betaRejoinUserEventsMetadata o) { + buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata++; + if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaRejoinUserEventsMetadata--; +} + +core.int buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse = 0; +api.GoogleCloudRetailV2betaRejoinUserEventsResponse + buildGoogleCloudRetailV2betaRejoinUserEventsResponse() { + final o = api.GoogleCloudRetailV2betaRejoinUserEventsResponse(); + buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse < 3) { + o.rejoinedUserEventsCount = 'foo'; + } + buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaRejoinUserEventsResponse( + api.GoogleCloudRetailV2betaRejoinUserEventsResponse o) { + buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse++; + if (buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse < 3) { + unittest.expect( + o.rejoinedUserEventsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaRejoinUserEventsResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata = 0; +api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata + buildGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata() { + final o = api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata(); + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata--; + return o; +} + +void checkGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata( + api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata o) { + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata++; + if (buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata--; +} + +core.int buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse = 0; +api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse + buildGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse() { + final o = api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse(); + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse( + api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse o) { + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse++; + if (buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse < 3) {} + buildCounterGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaSetInventoryMetadata = 0; +api.GoogleCloudRetailV2betaSetInventoryMetadata + buildGoogleCloudRetailV2betaSetInventoryMetadata() { + final o = api.GoogleCloudRetailV2betaSetInventoryMetadata(); + buildCounterGoogleCloudRetailV2betaSetInventoryMetadata++; + if (buildCounterGoogleCloudRetailV2betaSetInventoryMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaSetInventoryMetadata--; + return o; +} + +void checkGoogleCloudRetailV2betaSetInventoryMetadata( + api.GoogleCloudRetailV2betaSetInventoryMetadata o) { + buildCounterGoogleCloudRetailV2betaSetInventoryMetadata++; + if (buildCounterGoogleCloudRetailV2betaSetInventoryMetadata < 3) {} + buildCounterGoogleCloudRetailV2betaSetInventoryMetadata--; +} + +core.int buildCounterGoogleCloudRetailV2betaSetInventoryResponse = 0; +api.GoogleCloudRetailV2betaSetInventoryResponse + buildGoogleCloudRetailV2betaSetInventoryResponse() { + final o = api.GoogleCloudRetailV2betaSetInventoryResponse(); + buildCounterGoogleCloudRetailV2betaSetInventoryResponse++; + if (buildCounterGoogleCloudRetailV2betaSetInventoryResponse < 3) {} + buildCounterGoogleCloudRetailV2betaSetInventoryResponse--; + return o; +} + +void checkGoogleCloudRetailV2betaSetInventoryResponse( + api.GoogleCloudRetailV2betaSetInventoryResponse o) { + buildCounterGoogleCloudRetailV2betaSetInventoryResponse++; + if (buildCounterGoogleCloudRetailV2betaSetInventoryResponse < 3) {} + buildCounterGoogleCloudRetailV2betaSetInventoryResponse--; +} + +core.int buildCounterGoogleCloudRetailV2betaUserEventImportSummary = 0; +api.GoogleCloudRetailV2betaUserEventImportSummary + buildGoogleCloudRetailV2betaUserEventImportSummary() { + final o = api.GoogleCloudRetailV2betaUserEventImportSummary(); + buildCounterGoogleCloudRetailV2betaUserEventImportSummary++; + if (buildCounterGoogleCloudRetailV2betaUserEventImportSummary < 3) { + o.joinedEventsCount = 'foo'; + o.unjoinedEventsCount = 'foo'; + } + buildCounterGoogleCloudRetailV2betaUserEventImportSummary--; + return o; +} + +void checkGoogleCloudRetailV2betaUserEventImportSummary( + api.GoogleCloudRetailV2betaUserEventImportSummary o) { + buildCounterGoogleCloudRetailV2betaUserEventImportSummary++; + if (buildCounterGoogleCloudRetailV2betaUserEventImportSummary < 3) { + unittest.expect( + o.joinedEventsCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.unjoinedEventsCount!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudRetailV2betaUserEventImportSummary--; +} + +core.List buildUnnamed3570() => [ + buildGoogleLongrunningOperation(), + buildGoogleLongrunningOperation(), + ]; + +void checkUnnamed3570(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleLongrunningOperation(o[0]); + checkGoogleLongrunningOperation(o[1]); +} + +core.int buildCounterGoogleLongrunningListOperationsResponse = 0; +api.GoogleLongrunningListOperationsResponse + buildGoogleLongrunningListOperationsResponse() { + final o = api.GoogleLongrunningListOperationsResponse(); + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed3570(); + } + buildCounterGoogleLongrunningListOperationsResponse--; + return o; +} + +void checkGoogleLongrunningListOperationsResponse( + api.GoogleLongrunningListOperationsResponse o) { + buildCounterGoogleLongrunningListOperationsResponse++; + if (buildCounterGoogleLongrunningListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed3570(o.operations!); + } + buildCounterGoogleLongrunningListOperationsResponse--; +} + +core.Map buildUnnamed3571() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3571(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted13 = (o['x']!) as core.Map; + unittest.expect(casted13, unittest.hasLength(3)); + unittest.expect( + casted13['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted13['bool'], + unittest.equals(true), + ); + unittest.expect( + casted13['string'], + unittest.equals('foo'), + ); + var casted14 = (o['y']!) as core.Map; + unittest.expect(casted14, unittest.hasLength(3)); + unittest.expect( + casted14['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted14['bool'], + unittest.equals(true), + ); + unittest.expect( + casted14['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed3572() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3572(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted15 = (o['x']!) as core.Map; + unittest.expect(casted15, unittest.hasLength(3)); + unittest.expect( + casted15['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted15['bool'], + unittest.equals(true), + ); + unittest.expect( + casted15['string'], + unittest.equals('foo'), + ); + var casted16 = (o['y']!) as core.Map; + unittest.expect(casted16, unittest.hasLength(3)); + unittest.expect( + casted16['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted16['bool'], + unittest.equals(true), + ); + unittest.expect( + casted16['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleLongrunningOperation = 0; +api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { + final o = api.GoogleLongrunningOperation(); + buildCounterGoogleLongrunningOperation++; + if (buildCounterGoogleLongrunningOperation < 3) { + o.done = true; + o.error = buildGoogleRpcStatus(); + o.metadata = buildUnnamed3571(); + o.name = 'foo'; + o.response = buildUnnamed3572(); + } + buildCounterGoogleLongrunningOperation--; + return o; +} + +void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { + buildCounterGoogleLongrunningOperation++; + if (buildCounterGoogleLongrunningOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkGoogleRpcStatus(o.error!); + checkUnnamed3571(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed3572(o.response!); + } + buildCounterGoogleLongrunningOperation--; +} + +core.int buildCounterGoogleProtobufEmpty = 0; +api.GoogleProtobufEmpty buildGoogleProtobufEmpty() { + final o = api.GoogleProtobufEmpty(); + buildCounterGoogleProtobufEmpty++; + if (buildCounterGoogleProtobufEmpty < 3) {} + buildCounterGoogleProtobufEmpty--; + return o; +} + +void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { + buildCounterGoogleProtobufEmpty++; + if (buildCounterGoogleProtobufEmpty < 3) {} + buildCounterGoogleProtobufEmpty--; +} + +core.Map buildUnnamed3573() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed3573(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted17 = (o['x']!) as core.Map; + unittest.expect(casted17, unittest.hasLength(3)); + unittest.expect( + casted17['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted17['bool'], + unittest.equals(true), + ); + unittest.expect( + casted17['string'], + unittest.equals('foo'), + ); + var casted18 = (o['y']!) as core.Map; + unittest.expect(casted18, unittest.hasLength(3)); + unittest.expect( + casted18['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted18['bool'], + unittest.equals(true), + ); + unittest.expect( + casted18['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed3574() => [ + buildUnnamed3573(), + buildUnnamed3573(), + ]; + +void checkUnnamed3574(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed3573(o[0]); + checkUnnamed3573(o[1]); +} + +core.int buildCounterGoogleRpcStatus = 0; +api.GoogleRpcStatus buildGoogleRpcStatus() { + final o = api.GoogleRpcStatus(); + buildCounterGoogleRpcStatus++; + if (buildCounterGoogleRpcStatus < 3) { + o.code = 42; + o.details = buildUnnamed3574(); + o.message = 'foo'; + } + buildCounterGoogleRpcStatus--; + return o; +} + +void checkGoogleRpcStatus(api.GoogleRpcStatus o) { + buildCounterGoogleRpcStatus++; + if (buildCounterGoogleRpcStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed3574(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterGoogleRpcStatus--; +} + +core.int buildCounterGoogleTypeDate = 0; +api.GoogleTypeDate buildGoogleTypeDate() { + final o = api.GoogleTypeDate(); + buildCounterGoogleTypeDate++; + if (buildCounterGoogleTypeDate < 3) { + o.day = 42; + o.month = 42; + o.year = 42; + } + buildCounterGoogleTypeDate--; + return o; +} + +void checkGoogleTypeDate(api.GoogleTypeDate o) { + buildCounterGoogleTypeDate++; + if (buildCounterGoogleTypeDate < 3) { + unittest.expect( + o.day!, + unittest.equals(42), + ); + unittest.expect( + o.month!, + unittest.equals(42), + ); + unittest.expect( + o.year!, + unittest.equals(42), + ); + } + buildCounterGoogleTypeDate--; +} + +core.List buildUnnamed3575() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3575(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +void main() { + unittest.group('obj-schema-GoogleApiHttpBody', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleApiHttpBody(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleApiHttpBody.fromJson( + oJson as core.Map); + checkGoogleApiHttpBody(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailLoggingErrorContext', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailLoggingErrorContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailLoggingErrorContext.fromJson( + oJson as core.Map); + checkGoogleCloudRetailLoggingErrorContext(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailLoggingErrorLog', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailLoggingErrorLog(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailLoggingErrorLog.fromJson( + oJson as core.Map); + checkGoogleCloudRetailLoggingErrorLog(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailLoggingHttpRequestContext', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailLoggingHttpRequestContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailLoggingHttpRequestContext.fromJson( + oJson as core.Map); + checkGoogleCloudRetailLoggingHttpRequestContext(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailLoggingImportErrorContext', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailLoggingImportErrorContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailLoggingImportErrorContext.fromJson( + oJson as core.Map); + checkGoogleCloudRetailLoggingImportErrorContext(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailLoggingServiceContext', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailLoggingServiceContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailLoggingServiceContext.fromJson( + oJson as core.Map); + checkGoogleCloudRetailLoggingServiceContext(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailLoggingSourceLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailLoggingSourceLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailLoggingSourceLocation.fromJson( + oJson as core.Map); + checkGoogleCloudRetailLoggingSourceLocation(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2AddFulfillmentPlacesMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2AddFulfillmentPlacesMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2AddFulfillmentPlacesMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2AddFulfillmentPlacesMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2AddFulfillmentPlacesRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2AddFulfillmentPlacesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2AddFulfillmentPlacesRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2AddFulfillmentPlacesRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2AddFulfillmentPlacesResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2AddFulfillmentPlacesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2AddFulfillmentPlacesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2AddFulfillmentPlacesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Audience', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Audience(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Audience.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Audience(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2BigQuerySource', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2BigQuerySource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2BigQuerySource.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2BigQuerySource(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Catalog', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Catalog(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Catalog.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Catalog(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ColorInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ColorInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ColorInfo.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ColorInfo(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2CompleteQueryResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2CompleteQueryResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2CompleteQueryResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2CompleteQueryResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2CompleteQueryResponseCompletionResult', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2CompleteQueryResponseCompletionResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2CompleteQueryResponseCompletionResult.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2CompleteQueryResponseCompletionResult(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult + .fromJson(oJson as core.Map); + checkGoogleCloudRetailV2CompleteQueryResponseRecentSearchResult(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2CompletionDataInputConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2CompletionDataInputConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2CompletionDataInputConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2CompletionDataInputConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2CompletionDetail', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2CompletionDetail(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2CompletionDetail.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2CompletionDetail(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2CustomAttribute', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2CustomAttribute(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2CustomAttribute.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2CustomAttribute(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2FulfillmentInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2FulfillmentInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2FulfillmentInfo.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2FulfillmentInfo(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2GcsSource', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2GcsSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2GcsSource.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2GcsSource(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2GetDefaultBranchResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2GetDefaultBranchResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2GetDefaultBranchResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2GetDefaultBranchResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Image', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Image(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Image.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Image(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportCompletionDataRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportCompletionDataRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportCompletionDataRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportCompletionDataRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportCompletionDataResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportCompletionDataResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportCompletionDataResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportCompletionDataResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportErrorsConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportErrorsConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportErrorsConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportErrorsConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportProductsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportProductsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportProductsRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportProductsRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportProductsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportProductsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportProductsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportProductsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportUserEventsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportUserEventsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportUserEventsRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportUserEventsRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ImportUserEventsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ImportUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ImportUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ImportUserEventsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Interval', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Interval(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Interval.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Interval(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ListCatalogsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ListCatalogsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ListCatalogsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ListCatalogsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ListProductsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ListProductsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ListProductsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ListProductsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PredictRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PredictRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PredictRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PredictRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PredictResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PredictResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PredictResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PredictResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2PredictResponsePredictionResult', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PredictResponsePredictionResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2PredictResponsePredictionResult.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PredictResponsePredictionResult(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PriceInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PriceInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PriceInfo.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PriceInfo(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PriceInfoPriceRange', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PriceInfoPriceRange(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PriceInfoPriceRange.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PriceInfoPriceRange(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Product', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Product(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Product.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Product(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ProductDetail', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ProductDetail(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ProductDetail.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ProductDetail(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ProductInlineSource', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ProductInlineSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ProductInlineSource.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ProductInlineSource(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ProductInputConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ProductInputConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ProductInputConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ProductInputConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2ProductLevelConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2ProductLevelConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2ProductLevelConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2ProductLevelConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Promotion', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Promotion(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Promotion.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Promotion(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PurchaseTransaction', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PurchaseTransaction(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PurchaseTransaction.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PurchaseTransaction(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PurgeMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PurgeMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PurgeMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PurgeMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PurgeUserEventsRequest', () { + unittest.test('to-json--from-json', () async { final o = buildGoogleCloudRetailV2PurgeUserEventsRequest(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PurgeUserEventsRequest.fromJson( + final od = api.GoogleCloudRetailV2PurgeUserEventsRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PurgeUserEventsRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2PurgeUserEventsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2PurgeUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2PurgeUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2PurgeUserEventsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2Rating', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2Rating(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2Rating.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2Rating(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2RejoinUserEventsMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2RejoinUserEventsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2RejoinUserEventsMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2RejoinUserEventsMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2RejoinUserEventsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2RejoinUserEventsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2RejoinUserEventsRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2RejoinUserEventsRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2RejoinUserEventsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2RejoinUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2RejoinUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2RejoinUserEventsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2RemoveFulfillmentPlacesMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2RemoveFulfillmentPlacesRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2RemoveFulfillmentPlacesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2RemoveFulfillmentPlacesRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2RemoveFulfillmentPlacesRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2RemoveFulfillmentPlacesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2RemoveFulfillmentPlacesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2RemoveFulfillmentPlacesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2RemoveFulfillmentPlacesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchRequestBoostSpec', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchRequestBoostSpec(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchRequestBoostSpec.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchRequestBoostSpec(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec + .fromJson(oJson as core.Map); + checkGoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchRequestDynamicFacetSpec', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchRequestDynamicFacetSpec(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchRequestDynamicFacetSpec.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchRequestDynamicFacetSpec(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchRequestFacetSpec', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchRequestFacetSpec(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchRequestFacetSpec.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchRequestFacetSpec(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchRequestFacetSpecFacetKey', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchRequestFacetSpecFacetKey(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchRequestFacetSpecFacetKey.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchRequestFacetSpecFacetKey(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2SearchRequestQueryExpansionSpec', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchRequestQueryExpansionSpec(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2SearchRequestQueryExpansionSpec.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchRequestQueryExpansionSpec(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchResponseFacet', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchResponseFacet(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchResponseFacet.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchResponseFacet(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchResponseFacetFacetValue', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchResponseFacetFacetValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchResponseFacetFacetValue.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchResponseFacetFacetValue(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2SearchResponseQueryExpansionInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchResponseQueryExpansionInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2SearchResponseQueryExpansionInfo.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchResponseQueryExpansionInfo(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SearchResponseSearchResult', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SearchResponseSearchResult(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SearchResponseSearchResult.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SearchResponseSearchResult(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SetDefaultBranchRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SetDefaultBranchRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SetDefaultBranchRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SetDefaultBranchRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SetInventoryMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SetInventoryMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SetInventoryMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SetInventoryMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SetInventoryRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SetInventoryRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SetInventoryRequest.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SetInventoryRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2SetInventoryResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2SetInventoryResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2SetInventoryResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2SetInventoryResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2UserEvent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2UserEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2UserEvent.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2UserEvent(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2UserEventImportSummary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2UserEventImportSummary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2UserEventImportSummary.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2UserEventImportSummary(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2UserEventInlineSource', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2UserEventInlineSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2UserEventInlineSource.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2UserEventInlineSource(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2UserEventInputConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2UserEventInputConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2UserEventInputConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2UserEventInputConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2UserInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2UserInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2UserInfo.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2UserInfo(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaAddFulfillmentPlacesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaExportErrorsConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaExportErrorsConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaExportErrorsConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaExportErrorsConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaExportMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaExportMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaExportMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaExportMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaExportProductsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaExportProductsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaExportProductsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaExportProductsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaExportUserEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaExportUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaExportUserEventsResponse.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2PurgeUserEventsRequest(od); + checkGoogleCloudRetailV2alphaExportUserEventsResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2PurgeUserEventsResponse', () { + unittest.group( + 'obj-schema-GoogleCloudRetailV2alphaImportCompletionDataResponse', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2PurgeUserEventsResponse(); + final o = buildGoogleCloudRetailV2alphaImportCompletionDataResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2PurgeUserEventsResponse.fromJson( + final od = + api.GoogleCloudRetailV2alphaImportCompletionDataResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaImportCompletionDataResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaImportErrorsConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaImportErrorsConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaImportErrorsConfig.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2PurgeUserEventsResponse(od); + checkGoogleCloudRetailV2alphaImportErrorsConfig(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2RejoinUserEventsMetadata', () { + unittest.group('obj-schema-GoogleCloudRetailV2alphaImportMetadata', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2RejoinUserEventsMetadata(); + final o = buildGoogleCloudRetailV2alphaImportMetadata(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2RejoinUserEventsMetadata.fromJson( + final od = api.GoogleCloudRetailV2alphaImportMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaImportMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaImportProductsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaImportProductsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaImportProductsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaImportProductsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaImportUserEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaImportUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaImportUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaImportUserEventsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaPurgeMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaPurgeMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaPurgeMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaPurgeMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaPurgeUserEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaPurgeUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaPurgeUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaPurgeUserEventsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaRejoinUserEventsMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaRejoinUserEventsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaRejoinUserEventsMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaRejoinUserEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaRejoinUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaRejoinUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaRejoinUserEventsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaSetInventoryMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaSetInventoryMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaSetInventoryMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaSetInventoryMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaSetInventoryResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaSetInventoryResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaSetInventoryResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaSetInventoryResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2alphaUserEventImportSummary', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2alphaUserEventImportSummary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2alphaUserEventImportSummary.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2alphaUserEventImportSummary(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaAddFulfillmentPlacesMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2betaAddFulfillmentPlacesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaAddFulfillmentPlacesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2betaAddFulfillmentPlacesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaAddFulfillmentPlacesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaExportErrorsConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaExportErrorsConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaExportErrorsConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaExportErrorsConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaExportMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaExportMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaExportMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaExportMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaExportProductsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaExportProductsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaExportProductsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaExportProductsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaExportUserEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaExportUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaExportUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaExportUserEventsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudRetailV2betaImportCompletionDataResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaImportCompletionDataResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRetailV2betaImportCompletionDataResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaImportCompletionDataResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaImportErrorsConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaImportErrorsConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaImportErrorsConfig.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaImportErrorsConfig(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaImportMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaImportMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaImportMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaImportMetadata(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaImportProductsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaImportProductsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaImportProductsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaImportProductsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaImportUserEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaImportUserEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaImportUserEventsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaImportUserEventsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudRetailV2betaPurgeMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRetailV2betaPurgeMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudRetailV2betaPurgeMetadata.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2RejoinUserEventsMetadata(od); + checkGoogleCloudRetailV2betaPurgeMetadata(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2RejoinUserEventsRequest', () { + unittest.group('obj-schema-GoogleCloudRetailV2betaPurgeUserEventsResponse', + () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2RejoinUserEventsRequest(); + final o = buildGoogleCloudRetailV2betaPurgeUserEventsResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2RejoinUserEventsRequest.fromJson( + final od = api.GoogleCloudRetailV2betaPurgeUserEventsResponse.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2RejoinUserEventsRequest(od); + checkGoogleCloudRetailV2betaPurgeUserEventsResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2RejoinUserEventsResponse', () { + unittest.group('obj-schema-GoogleCloudRetailV2betaRejoinUserEventsMetadata', + () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2RejoinUserEventsResponse(); + final o = buildGoogleCloudRetailV2betaRejoinUserEventsMetadata(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2RejoinUserEventsResponse.fromJson( + final od = api.GoogleCloudRetailV2betaRejoinUserEventsMetadata.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2RejoinUserEventsResponse(od); + checkGoogleCloudRetailV2betaRejoinUserEventsMetadata(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2UserEvent', () { + unittest.group('obj-schema-GoogleCloudRetailV2betaRejoinUserEventsResponse', + () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2UserEvent(); + final o = buildGoogleCloudRetailV2betaRejoinUserEventsResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2UserEvent.fromJson( + final od = api.GoogleCloudRetailV2betaRejoinUserEventsResponse.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2UserEvent(od); + checkGoogleCloudRetailV2betaRejoinUserEventsResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2UserEventImportSummary', () { + unittest.group( + 'obj-schema-GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2UserEventImportSummary(); + final o = buildGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2UserEventImportSummary.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2UserEventImportSummary(od); + final od = + api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2UserEventInlineSource', () { + unittest.group( + 'obj-schema-GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2UserEventInlineSource(); + final o = buildGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2UserEventInlineSource.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2UserEventInlineSource(od); + final od = + api.GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2UserEventInputConfig', () { + unittest.group('obj-schema-GoogleCloudRetailV2betaSetInventoryMetadata', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2UserEventInputConfig(); + final o = buildGoogleCloudRetailV2betaSetInventoryMetadata(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2UserEventInputConfig.fromJson( + final od = api.GoogleCloudRetailV2betaSetInventoryMetadata.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2UserEventInputConfig(od); + checkGoogleCloudRetailV2betaSetInventoryMetadata(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2UserInfo', () { + unittest.group('obj-schema-GoogleCloudRetailV2betaSetInventoryResponse', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2UserInfo(); + final o = buildGoogleCloudRetailV2betaSetInventoryResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2UserInfo.fromJson( + final od = api.GoogleCloudRetailV2betaSetInventoryResponse.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2UserInfo(od); + checkGoogleCloudRetailV2betaSetInventoryResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaExportErrorsConfig', () { + unittest.group('obj-schema-GoogleCloudRetailV2betaUserEventImportSummary', + () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaExportErrorsConfig(); + final o = buildGoogleCloudRetailV2betaUserEventImportSummary(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaExportErrorsConfig.fromJson( + final od = api.GoogleCloudRetailV2betaUserEventImportSummary.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2alphaExportErrorsConfig(od); + checkGoogleCloudRetailV2betaUserEventImportSummary(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaExportMetadata', () { + unittest.group('obj-schema-GoogleLongrunningListOperationsResponse', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaExportMetadata(); + final o = buildGoogleLongrunningListOperationsResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaExportMetadata.fromJson( + final od = api.GoogleLongrunningListOperationsResponse.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2alphaExportMetadata(od); + checkGoogleLongrunningListOperationsResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaExportProductsResponse', - () { + unittest.group('obj-schema-GoogleLongrunningOperation', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaExportProductsResponse(); + final o = buildGoogleLongrunningOperation(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaExportProductsResponse.fromJson( + final od = api.GoogleLongrunningOperation.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2alphaExportProductsResponse(od); + checkGoogleLongrunningOperation(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaExportUserEventsResponse', - () { + unittest.group('obj-schema-GoogleProtobufEmpty', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaExportUserEventsResponse(); + final o = buildGoogleProtobufEmpty(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaExportUserEventsResponse.fromJson( + final od = api.GoogleProtobufEmpty.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2alphaExportUserEventsResponse(od); + checkGoogleProtobufEmpty(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaImportErrorsConfig', () { + unittest.group('obj-schema-GoogleRpcStatus', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaImportErrorsConfig(); + final o = buildGoogleRpcStatus(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaImportErrorsConfig.fromJson( + final od = api.GoogleRpcStatus.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2alphaImportErrorsConfig(od); + checkGoogleRpcStatus(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaImportMetadata', () { + unittest.group('obj-schema-GoogleTypeDate', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaImportMetadata(); + final o = buildGoogleTypeDate(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaImportMetadata.fromJson( + final od = api.GoogleTypeDate.fromJson( oJson as core.Map); - checkGoogleCloudRetailV2alphaImportMetadata(od); + checkGoogleTypeDate(od); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaImportProductsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaImportProductsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaImportProductsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaImportProductsResponse(od); + unittest.group('resource-ProjectsLocationsCatalogsResource', () { + unittest.test('method--completeQuery', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock).projects.locations.catalogs; + final arg_catalog = 'foo'; + final arg_dataset = 'foo'; + final arg_deviceType = 'foo'; + final arg_languageCodes = buildUnnamed3575(); + final arg_maxSuggestions = 42; + final arg_query = 'foo'; + final arg_visitorId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['dataset']!.first, + unittest.equals(arg_dataset), + ); + unittest.expect( + queryMap['deviceType']!.first, + unittest.equals(arg_deviceType), + ); + unittest.expect( + queryMap['languageCodes']!, + unittest.equals(arg_languageCodes), + ); + unittest.expect( + core.int.parse(queryMap['maxSuggestions']!.first), + unittest.equals(arg_maxSuggestions), + ); + unittest.expect( + queryMap['query']!.first, + unittest.equals(arg_query), + ); + unittest.expect( + queryMap['visitorId']!.first, + unittest.equals(arg_visitorId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudRetailV2CompleteQueryResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.completeQuery(arg_catalog, + dataset: arg_dataset, + deviceType: arg_deviceType, + languageCodes: arg_languageCodes, + maxSuggestions: arg_maxSuggestions, + query: arg_query, + visitorId: arg_visitorId, + $fields: arg_$fields); + checkGoogleCloudRetailV2CompleteQueryResponse( + response as api.GoogleCloudRetailV2CompleteQueryResponse); + }); + + unittest.test('method--getDefaultBranch', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock).projects.locations.catalogs; + final arg_catalog = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudRetailV2GetDefaultBranchResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getDefaultBranch(arg_catalog, $fields: arg_$fields); + checkGoogleCloudRetailV2GetDefaultBranchResponse( + response as api.GoogleCloudRetailV2GetDefaultBranchResponse); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock).projects.locations.catalogs; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudRetailV2ListCatalogsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudRetailV2ListCatalogsResponse( + response as api.GoogleCloudRetailV2ListCatalogsResponse); }); - }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaImportUserEventsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaImportUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaImportUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaImportUserEventsResponse(od); - }); - }); + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock).projects.locations.catalogs; + final arg_request = buildGoogleCloudRetailV2Catalog(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2Catalog.fromJson( + json as core.Map); + checkGoogleCloudRetailV2Catalog(obj); - unittest.group('obj-schema-GoogleCloudRetailV2alphaPurgeMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaPurgeMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaPurgeMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaPurgeMetadata(od); - }); - }); + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - unittest.group('obj-schema-GoogleCloudRetailV2alphaPurgeUserEventsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaPurgeUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaPurgeUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaPurgeUserEventsResponse(od); - }); - }); + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); - unittest.group('obj-schema-GoogleCloudRetailV2alphaRejoinUserEventsMetadata', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaRejoinUserEventsMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaRejoinUserEventsMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaRejoinUserEventsMetadata(od); - }); - }); + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); - unittest.group('obj-schema-GoogleCloudRetailV2alphaRejoinUserEventsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaRejoinUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaRejoinUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaRejoinUserEventsResponse(od); + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudRetailV2Catalog()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudRetailV2Catalog( + response as api.GoogleCloudRetailV2Catalog); }); - }); - unittest.group('obj-schema-GoogleCloudRetailV2alphaUserEventImportSummary', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2alphaUserEventImportSummary(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2alphaUserEventImportSummary.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2alphaUserEventImportSummary(od); - }); - }); + unittest.test('method--setDefaultBranch', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock).projects.locations.catalogs; + final arg_request = buildGoogleCloudRetailV2SetDefaultBranchRequest(); + final arg_catalog = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2SetDefaultBranchRequest.fromJson( + json as core.Map); + checkGoogleCloudRetailV2SetDefaultBranchRequest(obj); - unittest.group('obj-schema-GoogleCloudRetailV2betaExportErrorsConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaExportErrorsConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaExportErrorsConfig.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaExportErrorsConfig(od); - }); - }); + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - unittest.group('obj-schema-GoogleCloudRetailV2betaExportMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaExportMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaExportMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaExportMetadata(od); - }); - }); + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); - unittest.group('obj-schema-GoogleCloudRetailV2betaExportProductsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaExportProductsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaExportProductsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaExportProductsResponse(od); - }); - }); + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); - unittest.group('obj-schema-GoogleCloudRetailV2betaExportUserEventsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaExportUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaExportUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaExportUserEventsResponse(od); + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setDefaultBranch(arg_request, arg_catalog, + $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2betaImportErrorsConfig', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaImportErrorsConfig(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaImportErrorsConfig.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaImportErrorsConfig(od); - }); - }); + unittest.group('resource-ProjectsLocationsCatalogsBranchesOperationsResource', + () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock) + .projects + .locations + .catalogs + .branches + .operations; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - unittest.group('obj-schema-GoogleCloudRetailV2betaImportMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaImportMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaImportMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaImportMetadata(od); - }); - }); + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); - unittest.group('obj-schema-GoogleCloudRetailV2betaImportProductsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaImportProductsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaImportProductsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaImportProductsResponse(od); + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); }); }); - unittest.group('obj-schema-GoogleCloudRetailV2betaImportUserEventsResponse', + unittest.group('resource-ProjectsLocationsCatalogsBranchesProductsResource', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaImportUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaImportUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaImportUserEventsResponse(od); - }); - }); + unittest.test('method--addFulfillmentPlaces', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock) + .projects + .locations + .catalogs + .branches + .products; + final arg_request = buildGoogleCloudRetailV2AddFulfillmentPlacesRequest(); + final arg_product = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2AddFulfillmentPlacesRequest.fromJson( + json as core.Map); + checkGoogleCloudRetailV2AddFulfillmentPlacesRequest(obj); - unittest.group('obj-schema-GoogleCloudRetailV2betaPurgeMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaPurgeMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaPurgeMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaPurgeMetadata(od); - }); - }); + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - unittest.group('obj-schema-GoogleCloudRetailV2betaPurgeUserEventsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaPurgeUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaPurgeUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaPurgeUserEventsResponse(od); - }); - }); + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); - unittest.group('obj-schema-GoogleCloudRetailV2betaRejoinUserEventsMetadata', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaRejoinUserEventsMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaRejoinUserEventsMetadata.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaRejoinUserEventsMetadata(od); - }); - }); + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); - unittest.group('obj-schema-GoogleCloudRetailV2betaRejoinUserEventsResponse', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaRejoinUserEventsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaRejoinUserEventsResponse.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaRejoinUserEventsResponse(od); + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.addFulfillmentPlaces(arg_request, arg_product, + $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); }); - }); - unittest.group('obj-schema-GoogleCloudRetailV2betaUserEventImportSummary', - () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudRetailV2betaUserEventImportSummary(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudRetailV2betaUserEventImportSummary.fromJson( - oJson as core.Map); - checkGoogleCloudRetailV2betaUserEventImportSummary(od); - }); - }); + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.CloudRetailApi(mock) + .projects + .locations + .catalogs + .branches + .products; + final arg_request = buildGoogleCloudRetailV2Product(); + final arg_parent = 'foo'; + final arg_productId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2Product.fromJson( + json as core.Map); + checkGoogleCloudRetailV2Product(obj); - unittest.group('obj-schema-GoogleLongrunningListOperationsResponse', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleLongrunningListOperationsResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleLongrunningListOperationsResponse.fromJson( - oJson as core.Map); - checkGoogleLongrunningListOperationsResponse(od); - }); - }); + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - unittest.group('obj-schema-GoogleLongrunningOperation', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleLongrunningOperation(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleLongrunningOperation.fromJson( - oJson as core.Map); - checkGoogleLongrunningOperation(od); - }); - }); + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); - unittest.group('obj-schema-GoogleProtobufEmpty', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleProtobufEmpty(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleProtobufEmpty.fromJson( - oJson as core.Map); - checkGoogleProtobufEmpty(od); - }); - }); + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['productId']!.first, + unittest.equals(arg_productId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); - unittest.group('obj-schema-GoogleRpcStatus', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleRpcStatus(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleRpcStatus.fromJson( - oJson as core.Map); - checkGoogleRpcStatus(od); + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildGoogleCloudRetailV2Product()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + productId: arg_productId, $fields: arg_$fields); + checkGoogleCloudRetailV2Product( + response as api.GoogleCloudRetailV2Product); }); - }); - unittest.group('resource-ProjectsLocationsCatalogsResource', () { - unittest.test('method--list', () async { + unittest.test('method--delete', () async { final mock = HttpServerMock(); - final res = api.CloudRetailApi(mock).projects.locations.catalogs; - final arg_parent = 'foo'; - final arg_pageSize = 42; - final arg_pageToken = 'foo'; + final res = api.CloudRetailApi(mock) + .projects + .locations + .catalogs + .branches + .products; + final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -3492,14 +6718,6 @@ void main() { ); } } - unittest.expect( - core.int.parse(queryMap['pageSize']!.first), - unittest.equals(arg_pageSize), - ); - unittest.expect( - queryMap['pageToken']!.first, - unittest.equals(arg_pageToken), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -3508,30 +6726,24 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = - convert.json.encode(buildGoogleCloudRetailV2ListCatalogsResponse()); + final resp = convert.json.encode(buildGoogleProtobufEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.list(arg_parent, - pageSize: arg_pageSize, - pageToken: arg_pageToken, - $fields: arg_$fields); - checkGoogleCloudRetailV2ListCatalogsResponse( - response as api.GoogleCloudRetailV2ListCatalogsResponse); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); - unittest.test('method--patch', () async { + unittest.test('method--get', () async { final mock = HttpServerMock(); - final res = api.CloudRetailApi(mock).projects.locations.catalogs; - final arg_request = buildGoogleCloudRetailV2Catalog(); + final res = api.CloudRetailApi(mock) + .projects + .locations + .catalogs + .branches + .products; final arg_name = 'foo'; - final arg_updateMask = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudRetailV2Catalog.fromJson( - json as core.Map); - checkGoogleCloudRetailV2Catalog(obj); - final path = (req.url).path; var pathOffset = 0; core.int index; @@ -3563,10 +6775,6 @@ void main() { ); } } - unittest.expect( - queryMap['updateMask']!.first, - unittest.equals(arg_updateMask), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -3575,29 +6783,30 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudRetailV2Catalog()); + final resp = convert.json.encode(buildGoogleCloudRetailV2Product()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.patch(arg_request, arg_name, - updateMask: arg_updateMask, $fields: arg_$fields); - checkGoogleCloudRetailV2Catalog( - response as api.GoogleCloudRetailV2Catalog); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudRetailV2Product( + response as api.GoogleCloudRetailV2Product); }); - }); - unittest.group('resource-ProjectsLocationsCatalogsBranchesOperationsResource', - () { - unittest.test('method--get', () async { + unittest.test('method--import', () async { final mock = HttpServerMock(); final res = api.CloudRetailApi(mock) .projects .locations .catalogs .branches - .operations; - final arg_name = 'foo'; + .products; + final arg_request = buildGoogleCloudRetailV2ImportProductsRequest(); + final arg_parent = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2ImportProductsRequest.fromJson( + json as core.Map); + checkGoogleCloudRetailV2ImportProductsRequest(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -3640,15 +6849,13 @@ void main() { final resp = convert.json.encode(buildGoogleLongrunningOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.get(arg_name, $fields: arg_$fields); + final response = + await res.import(arg_request, arg_parent, $fields: arg_$fields); checkGoogleLongrunningOperation( response as api.GoogleLongrunningOperation); }); - }); - unittest.group('resource-ProjectsLocationsCatalogsBranchesProductsResource', - () { - unittest.test('method--create', () async { + unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.CloudRetailApi(mock) .projects @@ -3656,15 +6863,13 @@ void main() { .catalogs .branches .products; - final arg_request = buildGoogleCloudRetailV2Product(); final arg_parent = 'foo'; - final arg_productId = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_readMask = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudRetailV2Product.fromJson( - json as core.Map); - checkGoogleCloudRetailV2Product(obj); - final path = (req.url).path; var pathOffset = 0; core.int index; @@ -3697,8 +6902,20 @@ void main() { } } unittest.expect( - queryMap['productId']!.first, - unittest.equals(arg_productId), + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['readMask']!.first, + unittest.equals(arg_readMask), ); unittest.expect( queryMap['fields']!.first, @@ -3708,16 +6925,21 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudRetailV2Product()); + final resp = + convert.json.encode(buildGoogleCloudRetailV2ListProductsResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.create(arg_request, arg_parent, - productId: arg_productId, $fields: arg_$fields); - checkGoogleCloudRetailV2Product( - response as api.GoogleCloudRetailV2Product); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + readMask: arg_readMask, + $fields: arg_$fields); + checkGoogleCloudRetailV2ListProductsResponse( + response as api.GoogleCloudRetailV2ListProductsResponse); }); - unittest.test('method--delete', () async { + unittest.test('method--patch', () async { final mock = HttpServerMock(); final res = api.CloudRetailApi(mock) .projects @@ -3725,9 +6947,16 @@ void main() { .catalogs .branches .products; + final arg_request = buildGoogleCloudRetailV2Product(); final arg_name = 'foo'; + final arg_allowMissing = true; + final arg_updateMask = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2Product.fromJson( + json as core.Map); + checkGoogleCloudRetailV2Product(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -3759,6 +6988,14 @@ void main() { ); } } + unittest.expect( + queryMap['allowMissing']!.first, + unittest.equals('$arg_allowMissing'), + ); + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -3767,14 +7004,18 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleProtobufEmpty()); + final resp = convert.json.encode(buildGoogleCloudRetailV2Product()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.delete(arg_name, $fields: arg_$fields); - checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + final response = await res.patch(arg_request, arg_name, + allowMissing: arg_allowMissing, + updateMask: arg_updateMask, + $fields: arg_$fields); + checkGoogleCloudRetailV2Product( + response as api.GoogleCloudRetailV2Product); }); - unittest.test('method--get', () async { + unittest.test('method--removeFulfillmentPlaces', () async { final mock = HttpServerMock(); final res = api.CloudRetailApi(mock) .projects @@ -3782,9 +7023,16 @@ void main() { .catalogs .branches .products; - final arg_name = 'foo'; + final arg_request = + buildGoogleCloudRetailV2RemoveFulfillmentPlacesRequest(); + final arg_product = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudRetailV2RemoveFulfillmentPlacesRequest.fromJson( + json as core.Map); + checkGoogleCloudRetailV2RemoveFulfillmentPlacesRequest(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -3824,15 +7072,17 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudRetailV2Product()); + final resp = convert.json.encode(buildGoogleLongrunningOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.get(arg_name, $fields: arg_$fields); - checkGoogleCloudRetailV2Product( - response as api.GoogleCloudRetailV2Product); + final response = await res.removeFulfillmentPlaces( + arg_request, arg_product, + $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); }); - unittest.test('method--import', () async { + unittest.test('method--setInventory', () async { final mock = HttpServerMock(); final res = api.CloudRetailApi(mock) .projects @@ -3840,13 +7090,13 @@ void main() { .catalogs .branches .products; - final arg_request = buildGoogleCloudRetailV2ImportProductsRequest(); - final arg_parent = 'foo'; + final arg_request = buildGoogleCloudRetailV2SetInventoryRequest(); + final arg_name = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudRetailV2ImportProductsRequest.fromJson( + final obj = api.GoogleCloudRetailV2SetInventoryRequest.fromJson( json as core.Map); - checkGoogleCloudRetailV2ImportProductsRequest(obj); + checkGoogleCloudRetailV2SetInventoryRequest(obj); final path = (req.url).path; var pathOffset = 0; @@ -3891,28 +7141,25 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = - await res.import(arg_request, arg_parent, $fields: arg_$fields); + await res.setInventory(arg_request, arg_name, $fields: arg_$fields); checkGoogleLongrunningOperation( response as api.GoogleLongrunningOperation); }); + }); - unittest.test('method--patch', () async { + unittest.group('resource-ProjectsLocationsCatalogsCompletionDataResource', + () { + unittest.test('method--import', () async { final mock = HttpServerMock(); - final res = api.CloudRetailApi(mock) - .projects - .locations - .catalogs - .branches - .products; - final arg_request = buildGoogleCloudRetailV2Product(); - final arg_name = 'foo'; - final arg_allowMissing = true; - final arg_updateMask = 'foo'; + final res = + api.CloudRetailApi(mock).projects.locations.catalogs.completionData; + final arg_request = buildGoogleCloudRetailV2ImportCompletionDataRequest(); + final arg_parent = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudRetailV2Product.fromJson( + final obj = api.GoogleCloudRetailV2ImportCompletionDataRequest.fromJson( json as core.Map); - checkGoogleCloudRetailV2Product(obj); + checkGoogleCloudRetailV2ImportCompletionDataRequest(obj); final path = (req.url).path; var pathOffset = 0; @@ -3945,14 +7192,6 @@ void main() { ); } } - unittest.expect( - queryMap['allowMissing']!.first, - unittest.equals('$arg_allowMissing'), - ); - unittest.expect( - queryMap['updateMask']!.first, - unittest.equals(arg_updateMask), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -3961,15 +7200,13 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json.encode(buildGoogleCloudRetailV2Product()); + final resp = convert.json.encode(buildGoogleLongrunningOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.patch(arg_request, arg_name, - allowMissing: arg_allowMissing, - updateMask: arg_updateMask, - $fields: arg_$fields); - checkGoogleCloudRetailV2Product( - response as api.GoogleCloudRetailV2Product); + final response = + await res.import(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); }); }); @@ -4164,6 +7401,67 @@ void main() { checkGoogleCloudRetailV2PredictResponse( response as api.GoogleCloudRetailV2PredictResponse); }); + + unittest.test('method--search', () async { + final mock = HttpServerMock(); + final res = + api.CloudRetailApi(mock).projects.locations.catalogs.placements; + final arg_request = buildGoogleCloudRetailV2SearchRequest(); + final arg_placement = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudRetailV2SearchRequest.fromJson( + json as core.Map); + checkGoogleCloudRetailV2SearchRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 3), + unittest.equals('v2/'), + ); + pathOffset += 3; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudRetailV2SearchResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.search(arg_request, arg_placement, $fields: arg_$fields); + checkGoogleCloudRetailV2SearchResponse( + response as api.GoogleCloudRetailV2SearchResponse); + }); }); unittest.group('resource-ProjectsLocationsCatalogsUserEventsResource', () { diff --git a/generated/googleapis/test/run/v1_test.dart b/generated/googleapis/test/run/v1_test.dart index 7329ea7dd..5dd94112a 100644 --- a/generated/googleapis/test/run/v1_test.dart +++ b/generated/googleapis/test/run/v1_test.dart @@ -48,12 +48,12 @@ void checkAddressable(api.Addressable o) { buildCounterAddressable--; } -core.List buildUnnamed1813() => [ +core.List buildUnnamed1843() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed1813(core.List o) { +void checkUnnamed1843(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -64,7 +64,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed1813(); + o.auditLogConfigs = buildUnnamed1843(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -74,7 +74,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed1813(o.auditLogConfigs!); + checkUnnamed1843(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -83,12 +83,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed1814() => [ +core.List buildUnnamed1844() => [ 'foo', 'foo', ]; -void checkUnnamed1814(core.List o) { +void checkUnnamed1844(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -105,7 +105,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed1814(); + o.exemptedMembers = buildUnnamed1844(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -115,7 +115,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed1814(o.exemptedMembers!); + checkUnnamed1844(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -151,12 +151,12 @@ void checkAuthorizedDomain(api.AuthorizedDomain o) { buildCounterAuthorizedDomain--; } -core.List buildUnnamed1815() => [ +core.List buildUnnamed1845() => [ 'foo', 'foo', ]; -void checkUnnamed1815(core.List o) { +void checkUnnamed1845(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -174,7 +174,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1815(); + o.members = buildUnnamed1845(); o.role = 'foo'; } buildCounterBinding--; @@ -185,7 +185,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1815(o.members!); + checkUnnamed1845(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -251,12 +251,12 @@ void checkConfigMapKeySelector(api.ConfigMapKeySelector o) { buildCounterConfigMapKeySelector--; } -core.List buildUnnamed1816() => [ +core.List buildUnnamed1846() => [ buildKeyToPath(), buildKeyToPath(), ]; -void checkUnnamed1816(core.List o) { +void checkUnnamed1846(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyToPath(o[0]); checkKeyToPath(o[1]); @@ -268,7 +268,7 @@ api.ConfigMapVolumeSource buildConfigMapVolumeSource() { buildCounterConfigMapVolumeSource++; if (buildCounterConfigMapVolumeSource < 3) { o.defaultMode = 42; - o.items = buildUnnamed1816(); + o.items = buildUnnamed1846(); o.name = 'foo'; o.optional = true; } @@ -283,7 +283,7 @@ void checkConfigMapVolumeSource(api.ConfigMapVolumeSource o) { o.defaultMode!, unittest.equals(42), ); - checkUnnamed1816(o.items!); + checkUnnamed1846(o.items!); unittest.expect( o.name!, unittest.equals('foo'), @@ -345,12 +345,12 @@ void checkConfigurationSpec(api.ConfigurationSpec o) { buildCounterConfigurationSpec--; } -core.List buildUnnamed1817() => [ +core.List buildUnnamed1847() => [ buildGoogleCloudRunV1Condition(), buildGoogleCloudRunV1Condition(), ]; -void checkUnnamed1817(core.List o) { +void checkUnnamed1847(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRunV1Condition(o[0]); checkGoogleCloudRunV1Condition(o[1]); @@ -361,7 +361,7 @@ api.ConfigurationStatus buildConfigurationStatus() { final o = api.ConfigurationStatus(); buildCounterConfigurationStatus++; if (buildCounterConfigurationStatus < 3) { - o.conditions = buildUnnamed1817(); + o.conditions = buildUnnamed1847(); o.latestCreatedRevisionName = 'foo'; o.latestReadyRevisionName = 'foo'; o.observedGeneration = 42; @@ -373,7 +373,7 @@ api.ConfigurationStatus buildConfigurationStatus() { void checkConfigurationStatus(api.ConfigurationStatus o) { buildCounterConfigurationStatus++; if (buildCounterConfigurationStatus < 3) { - checkUnnamed1817(o.conditions!); + checkUnnamed1847(o.conditions!); unittest.expect( o.latestCreatedRevisionName!, unittest.equals('foo'), @@ -390,12 +390,12 @@ void checkConfigurationStatus(api.ConfigurationStatus o) { buildCounterConfigurationStatus--; } -core.List buildUnnamed1818() => [ +core.List buildUnnamed1848() => [ 'foo', 'foo', ]; -void checkUnnamed1818(core.List o) { +void checkUnnamed1848(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -407,12 +407,12 @@ void checkUnnamed1818(core.List o) { ); } -core.List buildUnnamed1819() => [ +core.List buildUnnamed1849() => [ 'foo', 'foo', ]; -void checkUnnamed1819(core.List o) { +void checkUnnamed1849(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -424,45 +424,45 @@ void checkUnnamed1819(core.List o) { ); } -core.List buildUnnamed1820() => [ +core.List buildUnnamed1850() => [ buildEnvVar(), buildEnvVar(), ]; -void checkUnnamed1820(core.List o) { +void checkUnnamed1850(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvVar(o[0]); checkEnvVar(o[1]); } -core.List buildUnnamed1821() => [ +core.List buildUnnamed1851() => [ buildEnvFromSource(), buildEnvFromSource(), ]; -void checkUnnamed1821(core.List o) { +void checkUnnamed1851(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvFromSource(o[0]); checkEnvFromSource(o[1]); } -core.List buildUnnamed1822() => [ +core.List buildUnnamed1852() => [ buildContainerPort(), buildContainerPort(), ]; -void checkUnnamed1822(core.List o) { +void checkUnnamed1852(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerPort(o[0]); checkContainerPort(o[1]); } -core.List buildUnnamed1823() => [ +core.List buildUnnamed1853() => [ buildVolumeMount(), buildVolumeMount(), ]; -void checkUnnamed1823(core.List o) { +void checkUnnamed1853(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeMount(o[0]); checkVolumeMount(o[1]); @@ -473,22 +473,22 @@ api.Container buildContainer() { final o = api.Container(); buildCounterContainer++; if (buildCounterContainer < 3) { - o.args = buildUnnamed1818(); - o.command = buildUnnamed1819(); - o.env = buildUnnamed1820(); - o.envFrom = buildUnnamed1821(); + o.args = buildUnnamed1848(); + o.command = buildUnnamed1849(); + o.env = buildUnnamed1850(); + o.envFrom = buildUnnamed1851(); o.image = 'foo'; o.imagePullPolicy = 'foo'; o.livenessProbe = buildProbe(); o.name = 'foo'; - o.ports = buildUnnamed1822(); + o.ports = buildUnnamed1852(); o.readinessProbe = buildProbe(); o.resources = buildResourceRequirements(); o.securityContext = buildSecurityContext(); o.startupProbe = buildProbe(); o.terminationMessagePath = 'foo'; o.terminationMessagePolicy = 'foo'; - o.volumeMounts = buildUnnamed1823(); + o.volumeMounts = buildUnnamed1853(); o.workingDir = 'foo'; } buildCounterContainer--; @@ -498,10 +498,10 @@ api.Container buildContainer() { void checkContainer(api.Container o) { buildCounterContainer++; if (buildCounterContainer < 3) { - checkUnnamed1818(o.args!); - checkUnnamed1819(o.command!); - checkUnnamed1820(o.env!); - checkUnnamed1821(o.envFrom!); + checkUnnamed1848(o.args!); + checkUnnamed1849(o.command!); + checkUnnamed1850(o.env!); + checkUnnamed1851(o.envFrom!); unittest.expect( o.image!, unittest.equals('foo'), @@ -515,7 +515,7 @@ void checkContainer(api.Container o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1822(o.ports!); + checkUnnamed1852(o.ports!); checkProbe(o.readinessProbe!); checkResourceRequirements(o.resources!); checkSecurityContext(o.securityContext!); @@ -528,7 +528,7 @@ void checkContainer(api.Container o) { o.terminationMessagePolicy!, unittest.equals('foo'), ); - checkUnnamed1823(o.volumeMounts!); + checkUnnamed1853(o.volumeMounts!); unittest.expect( o.workingDir!, unittest.equals('foo'), @@ -631,23 +631,23 @@ void checkDomainMappingSpec(api.DomainMappingSpec o) { buildCounterDomainMappingSpec--; } -core.List buildUnnamed1824() => [ +core.List buildUnnamed1854() => [ buildGoogleCloudRunV1Condition(), buildGoogleCloudRunV1Condition(), ]; -void checkUnnamed1824(core.List o) { +void checkUnnamed1854(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRunV1Condition(o[0]); checkGoogleCloudRunV1Condition(o[1]); } -core.List buildUnnamed1825() => [ +core.List buildUnnamed1855() => [ buildResourceRecord(), buildResourceRecord(), ]; -void checkUnnamed1825(core.List o) { +void checkUnnamed1855(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceRecord(o[0]); checkResourceRecord(o[1]); @@ -658,10 +658,10 @@ api.DomainMappingStatus buildDomainMappingStatus() { final o = api.DomainMappingStatus(); buildCounterDomainMappingStatus++; if (buildCounterDomainMappingStatus < 3) { - o.conditions = buildUnnamed1824(); + o.conditions = buildUnnamed1854(); o.mappedRouteName = 'foo'; o.observedGeneration = 42; - o.resourceRecords = buildUnnamed1825(); + o.resourceRecords = buildUnnamed1855(); o.url = 'foo'; } buildCounterDomainMappingStatus--; @@ -671,7 +671,7 @@ api.DomainMappingStatus buildDomainMappingStatus() { void checkDomainMappingStatus(api.DomainMappingStatus o) { buildCounterDomainMappingStatus++; if (buildCounterDomainMappingStatus < 3) { - checkUnnamed1824(o.conditions!); + checkUnnamed1854(o.conditions!); unittest.expect( o.mappedRouteName!, unittest.equals('foo'), @@ -680,7 +680,7 @@ void checkDomainMappingStatus(api.DomainMappingStatus o) { o.observedGeneration!, unittest.equals(42), ); - checkUnnamed1825(o.resourceRecords!); + checkUnnamed1855(o.resourceRecords!); unittest.expect( o.url!, unittest.equals('foo'), @@ -765,12 +765,12 @@ void checkEnvVarSource(api.EnvVarSource o) { buildCounterEnvVarSource--; } -core.List buildUnnamed1826() => [ +core.List buildUnnamed1856() => [ 'foo', 'foo', ]; -void checkUnnamed1826(core.List o) { +void checkUnnamed1856(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -787,7 +787,7 @@ api.ExecAction buildExecAction() { final o = api.ExecAction(); buildCounterExecAction++; if (buildCounterExecAction < 3) { - o.command = buildUnnamed1826(); + o.command = buildUnnamed1856(); } buildCounterExecAction--; return o; @@ -796,7 +796,7 @@ api.ExecAction buildExecAction() { void checkExecAction(api.ExecAction o) { buildCounterExecAction++; if (buildCounterExecAction < 3) { - checkUnnamed1826(o.command!); + checkUnnamed1856(o.command!); } buildCounterExecAction--; } @@ -885,12 +885,12 @@ void checkGoogleCloudRunV1Condition(api.GoogleCloudRunV1Condition o) { buildCounterGoogleCloudRunV1Condition--; } -core.List buildUnnamed1827() => [ +core.List buildUnnamed1857() => [ buildHTTPHeader(), buildHTTPHeader(), ]; -void checkUnnamed1827(core.List o) { +void checkUnnamed1857(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHTTPHeader(o[0]); checkHTTPHeader(o[1]); @@ -902,7 +902,7 @@ api.HTTPGetAction buildHTTPGetAction() { buildCounterHTTPGetAction++; if (buildCounterHTTPGetAction < 3) { o.host = 'foo'; - o.httpHeaders = buildUnnamed1827(); + o.httpHeaders = buildUnnamed1857(); o.path = 'foo'; o.scheme = 'foo'; } @@ -917,7 +917,7 @@ void checkHTTPGetAction(api.HTTPGetAction o) { o.host!, unittest.equals('foo'), ); - checkUnnamed1827(o.httpHeaders!); + checkUnnamed1857(o.httpHeaders!); unittest.expect( o.path!, unittest.equals('foo'), @@ -989,12 +989,12 @@ void checkKeyToPath(api.KeyToPath o) { buildCounterKeyToPath--; } -core.List buildUnnamed1828() => [ +core.List buildUnnamed1858() => [ buildAuthorizedDomain(), buildAuthorizedDomain(), ]; -void checkUnnamed1828(core.List o) { +void checkUnnamed1858(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthorizedDomain(o[0]); checkAuthorizedDomain(o[1]); @@ -1005,7 +1005,7 @@ api.ListAuthorizedDomainsResponse buildListAuthorizedDomainsResponse() { final o = api.ListAuthorizedDomainsResponse(); buildCounterListAuthorizedDomainsResponse++; if (buildCounterListAuthorizedDomainsResponse < 3) { - o.domains = buildUnnamed1828(); + o.domains = buildUnnamed1858(); o.nextPageToken = 'foo'; } buildCounterListAuthorizedDomainsResponse--; @@ -1015,7 +1015,7 @@ api.ListAuthorizedDomainsResponse buildListAuthorizedDomainsResponse() { void checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) { buildCounterListAuthorizedDomainsResponse++; if (buildCounterListAuthorizedDomainsResponse < 3) { - checkUnnamed1828(o.domains!); + checkUnnamed1858(o.domains!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1024,23 +1024,23 @@ void checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) { buildCounterListAuthorizedDomainsResponse--; } -core.List buildUnnamed1829() => [ +core.List buildUnnamed1859() => [ buildConfiguration(), buildConfiguration(), ]; -void checkUnnamed1829(core.List o) { +void checkUnnamed1859(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfiguration(o[0]); checkConfiguration(o[1]); } -core.List buildUnnamed1830() => [ +core.List buildUnnamed1860() => [ 'foo', 'foo', ]; -void checkUnnamed1830(core.List o) { +void checkUnnamed1860(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1058,10 +1058,10 @@ api.ListConfigurationsResponse buildListConfigurationsResponse() { buildCounterListConfigurationsResponse++; if (buildCounterListConfigurationsResponse < 3) { o.apiVersion = 'foo'; - o.items = buildUnnamed1829(); + o.items = buildUnnamed1859(); o.kind = 'foo'; o.metadata = buildListMeta(); - o.unreachable = buildUnnamed1830(); + o.unreachable = buildUnnamed1860(); } buildCounterListConfigurationsResponse--; return o; @@ -1074,34 +1074,34 @@ void checkListConfigurationsResponse(api.ListConfigurationsResponse o) { o.apiVersion!, unittest.equals('foo'), ); - checkUnnamed1829(o.items!); + checkUnnamed1859(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkListMeta(o.metadata!); - checkUnnamed1830(o.unreachable!); + checkUnnamed1860(o.unreachable!); } buildCounterListConfigurationsResponse--; } -core.List buildUnnamed1831() => [ +core.List buildUnnamed1861() => [ buildDomainMapping(), buildDomainMapping(), ]; -void checkUnnamed1831(core.List o) { +void checkUnnamed1861(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomainMapping(o[0]); checkDomainMapping(o[1]); } -core.List buildUnnamed1832() => [ +core.List buildUnnamed1862() => [ 'foo', 'foo', ]; -void checkUnnamed1832(core.List o) { +void checkUnnamed1862(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1119,10 +1119,10 @@ api.ListDomainMappingsResponse buildListDomainMappingsResponse() { buildCounterListDomainMappingsResponse++; if (buildCounterListDomainMappingsResponse < 3) { o.apiVersion = 'foo'; - o.items = buildUnnamed1831(); + o.items = buildUnnamed1861(); o.kind = 'foo'; o.metadata = buildListMeta(); - o.unreachable = buildUnnamed1832(); + o.unreachable = buildUnnamed1862(); } buildCounterListDomainMappingsResponse--; return o; @@ -1135,23 +1135,23 @@ void checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) { o.apiVersion!, unittest.equals('foo'), ); - checkUnnamed1831(o.items!); + checkUnnamed1861(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkListMeta(o.metadata!); - checkUnnamed1832(o.unreachable!); + checkUnnamed1862(o.unreachable!); } buildCounterListDomainMappingsResponse--; } -core.List buildUnnamed1833() => [ +core.List buildUnnamed1863() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed1833(core.List o) { +void checkUnnamed1863(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1162,7 +1162,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed1833(); + o.locations = buildUnnamed1863(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1172,7 +1172,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed1833(o.locations!); + checkUnnamed1863(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1213,23 +1213,23 @@ void checkListMeta(api.ListMeta o) { buildCounterListMeta--; } -core.List buildUnnamed1834() => [ +core.List buildUnnamed1864() => [ buildRevision(), buildRevision(), ]; -void checkUnnamed1834(core.List o) { +void checkUnnamed1864(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRevision(o[0]); checkRevision(o[1]); } -core.List buildUnnamed1835() => [ +core.List buildUnnamed1865() => [ 'foo', 'foo', ]; -void checkUnnamed1835(core.List o) { +void checkUnnamed1865(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1247,10 +1247,10 @@ api.ListRevisionsResponse buildListRevisionsResponse() { buildCounterListRevisionsResponse++; if (buildCounterListRevisionsResponse < 3) { o.apiVersion = 'foo'; - o.items = buildUnnamed1834(); + o.items = buildUnnamed1864(); o.kind = 'foo'; o.metadata = buildListMeta(); - o.unreachable = buildUnnamed1835(); + o.unreachable = buildUnnamed1865(); } buildCounterListRevisionsResponse--; return o; @@ -1263,34 +1263,34 @@ void checkListRevisionsResponse(api.ListRevisionsResponse o) { o.apiVersion!, unittest.equals('foo'), ); - checkUnnamed1834(o.items!); + checkUnnamed1864(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkListMeta(o.metadata!); - checkUnnamed1835(o.unreachable!); + checkUnnamed1865(o.unreachable!); } buildCounterListRevisionsResponse--; } -core.List buildUnnamed1836() => [ +core.List buildUnnamed1866() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed1836(core.List o) { +void checkUnnamed1866(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); } -core.List buildUnnamed1837() => [ +core.List buildUnnamed1867() => [ 'foo', 'foo', ]; -void checkUnnamed1837(core.List o) { +void checkUnnamed1867(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1308,10 +1308,10 @@ api.ListRoutesResponse buildListRoutesResponse() { buildCounterListRoutesResponse++; if (buildCounterListRoutesResponse < 3) { o.apiVersion = 'foo'; - o.items = buildUnnamed1836(); + o.items = buildUnnamed1866(); o.kind = 'foo'; o.metadata = buildListMeta(); - o.unreachable = buildUnnamed1837(); + o.unreachable = buildUnnamed1867(); } buildCounterListRoutesResponse--; return o; @@ -1324,34 +1324,34 @@ void checkListRoutesResponse(api.ListRoutesResponse o) { o.apiVersion!, unittest.equals('foo'), ); - checkUnnamed1836(o.items!); + checkUnnamed1866(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkListMeta(o.metadata!); - checkUnnamed1837(o.unreachable!); + checkUnnamed1867(o.unreachable!); } buildCounterListRoutesResponse--; } -core.List buildUnnamed1838() => [ +core.List buildUnnamed1868() => [ buildService(), buildService(), ]; -void checkUnnamed1838(core.List o) { +void checkUnnamed1868(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); } -core.List buildUnnamed1839() => [ +core.List buildUnnamed1869() => [ 'foo', 'foo', ]; -void checkUnnamed1839(core.List o) { +void checkUnnamed1869(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1369,10 +1369,10 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.apiVersion = 'foo'; - o.items = buildUnnamed1838(); + o.items = buildUnnamed1868(); o.kind = 'foo'; o.metadata = buildListMeta(); - o.unreachable = buildUnnamed1839(); + o.unreachable = buildUnnamed1869(); } buildCounterListServicesResponse--; return o; @@ -1385,13 +1385,13 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.apiVersion!, unittest.equals('foo'), ); - checkUnnamed1838(o.items!); + checkUnnamed1868(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkListMeta(o.metadata!); - checkUnnamed1839(o.unreachable!); + checkUnnamed1869(o.unreachable!); } buildCounterListServicesResponse--; } @@ -1418,12 +1418,12 @@ void checkLocalObjectReference(api.LocalObjectReference o) { buildCounterLocalObjectReference--; } -core.Map buildUnnamed1840() => { +core.Map buildUnnamed1870() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1840(core.Map o) { +void checkUnnamed1870(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1435,7 +1435,7 @@ void checkUnnamed1840(core.Map o) { ); } -core.Map buildUnnamed1841() => { +core.Map buildUnnamed1871() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1448,7 +1448,7 @@ core.Map buildUnnamed1841() => { }, }; -void checkUnnamed1841(core.Map o) { +void checkUnnamed1871(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1486,9 +1486,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed1840(); + o.labels = buildUnnamed1870(); o.locationId = 'foo'; - o.metadata = buildUnnamed1841(); + o.metadata = buildUnnamed1871(); o.name = 'foo'; } buildCounterLocation--; @@ -1502,12 +1502,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1840(o.labels!); + checkUnnamed1870(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed1841(o.metadata!); + checkUnnamed1871(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1516,12 +1516,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed1842() => { +core.Map buildUnnamed1872() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1842(core.Map o) { +void checkUnnamed1872(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1533,12 +1533,12 @@ void checkUnnamed1842(core.Map o) { ); } -core.List buildUnnamed1843() => [ +core.List buildUnnamed1873() => [ 'foo', 'foo', ]; -void checkUnnamed1843(core.List o) { +void checkUnnamed1873(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1550,12 +1550,12 @@ void checkUnnamed1843(core.List o) { ); } -core.Map buildUnnamed1844() => { +core.Map buildUnnamed1874() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1844(core.Map o) { +void checkUnnamed1874(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1567,12 +1567,12 @@ void checkUnnamed1844(core.Map o) { ); } -core.List buildUnnamed1845() => [ +core.List buildUnnamed1875() => [ buildOwnerReference(), buildOwnerReference(), ]; -void checkUnnamed1845(core.List o) { +void checkUnnamed1875(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOwnerReference(o[0]); checkOwnerReference(o[1]); @@ -1583,18 +1583,18 @@ api.ObjectMeta buildObjectMeta() { final o = api.ObjectMeta(); buildCounterObjectMeta++; if (buildCounterObjectMeta < 3) { - o.annotations = buildUnnamed1842(); + o.annotations = buildUnnamed1872(); o.clusterName = 'foo'; o.creationTimestamp = 'foo'; o.deletionGracePeriodSeconds = 42; o.deletionTimestamp = 'foo'; - o.finalizers = buildUnnamed1843(); + o.finalizers = buildUnnamed1873(); o.generateName = 'foo'; o.generation = 42; - o.labels = buildUnnamed1844(); + o.labels = buildUnnamed1874(); o.name = 'foo'; o.namespace = 'foo'; - o.ownerReferences = buildUnnamed1845(); + o.ownerReferences = buildUnnamed1875(); o.resourceVersion = 'foo'; o.selfLink = 'foo'; o.uid = 'foo'; @@ -1606,7 +1606,7 @@ api.ObjectMeta buildObjectMeta() { void checkObjectMeta(api.ObjectMeta o) { buildCounterObjectMeta++; if (buildCounterObjectMeta < 3) { - checkUnnamed1842(o.annotations!); + checkUnnamed1872(o.annotations!); unittest.expect( o.clusterName!, unittest.equals('foo'), @@ -1623,7 +1623,7 @@ void checkObjectMeta(api.ObjectMeta o) { o.deletionTimestamp!, unittest.equals('foo'), ); - checkUnnamed1843(o.finalizers!); + checkUnnamed1873(o.finalizers!); unittest.expect( o.generateName!, unittest.equals('foo'), @@ -1632,7 +1632,7 @@ void checkObjectMeta(api.ObjectMeta o) { o.generation!, unittest.equals(42), ); - checkUnnamed1844(o.labels!); + checkUnnamed1874(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1641,7 +1641,7 @@ void checkObjectMeta(api.ObjectMeta o) { o.namespace!, unittest.equals('foo'), ); - checkUnnamed1845(o.ownerReferences!); + checkUnnamed1875(o.ownerReferences!); unittest.expect( o.resourceVersion!, unittest.equals('foo'), @@ -1699,23 +1699,23 @@ void checkOwnerReference(api.OwnerReference o) { buildCounterOwnerReference--; } -core.List buildUnnamed1846() => [ +core.List buildUnnamed1876() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1846(core.List o) { +void checkUnnamed1876(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1847() => [ +core.List buildUnnamed1877() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1847(core.List o) { +void checkUnnamed1877(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1726,8 +1726,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1846(); - o.bindings = buildUnnamed1847(); + o.auditConfigs = buildUnnamed1876(); + o.bindings = buildUnnamed1877(); o.etag = 'foo'; o.version = 42; } @@ -1738,8 +1738,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1846(o.auditConfigs!); - checkUnnamed1847(o.bindings!); + checkUnnamed1876(o.auditConfigs!); + checkUnnamed1877(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1832,12 +1832,12 @@ void checkResourceRecord(api.ResourceRecord o) { buildCounterResourceRecord--; } -core.Map buildUnnamed1848() => { +core.Map buildUnnamed1878() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1848(core.Map o) { +void checkUnnamed1878(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1849,12 +1849,12 @@ void checkUnnamed1848(core.Map o) { ); } -core.Map buildUnnamed1849() => { +core.Map buildUnnamed1879() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1849(core.Map o) { +void checkUnnamed1879(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1871,8 +1871,8 @@ api.ResourceRequirements buildResourceRequirements() { final o = api.ResourceRequirements(); buildCounterResourceRequirements++; if (buildCounterResourceRequirements < 3) { - o.limits = buildUnnamed1848(); - o.requests = buildUnnamed1849(); + o.limits = buildUnnamed1878(); + o.requests = buildUnnamed1879(); } buildCounterResourceRequirements--; return o; @@ -1881,8 +1881,8 @@ api.ResourceRequirements buildResourceRequirements() { void checkResourceRequirements(api.ResourceRequirements o) { buildCounterResourceRequirements++; if (buildCounterResourceRequirements < 3) { - checkUnnamed1848(o.limits!); - checkUnnamed1849(o.requests!); + checkUnnamed1878(o.limits!); + checkUnnamed1879(o.requests!); } buildCounterResourceRequirements--; } @@ -1920,23 +1920,23 @@ void checkRevision(api.Revision o) { buildCounterRevision--; } -core.List buildUnnamed1850() => [ +core.List buildUnnamed1880() => [ buildContainer(), buildContainer(), ]; -void checkUnnamed1850(core.List o) { +void checkUnnamed1880(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainer(o[0]); checkContainer(o[1]); } -core.List buildUnnamed1851() => [ +core.List buildUnnamed1881() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed1851(core.List o) { +void checkUnnamed1881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -1948,10 +1948,10 @@ api.RevisionSpec buildRevisionSpec() { buildCounterRevisionSpec++; if (buildCounterRevisionSpec < 3) { o.containerConcurrency = 42; - o.containers = buildUnnamed1850(); + o.containers = buildUnnamed1880(); o.serviceAccountName = 'foo'; o.timeoutSeconds = 42; - o.volumes = buildUnnamed1851(); + o.volumes = buildUnnamed1881(); } buildCounterRevisionSpec--; return o; @@ -1964,7 +1964,7 @@ void checkRevisionSpec(api.RevisionSpec o) { o.containerConcurrency!, unittest.equals(42), ); - checkUnnamed1850(o.containers!); + checkUnnamed1880(o.containers!); unittest.expect( o.serviceAccountName!, unittest.equals('foo'), @@ -1973,17 +1973,17 @@ void checkRevisionSpec(api.RevisionSpec o) { o.timeoutSeconds!, unittest.equals(42), ); - checkUnnamed1851(o.volumes!); + checkUnnamed1881(o.volumes!); } buildCounterRevisionSpec--; } -core.List buildUnnamed1852() => [ +core.List buildUnnamed1882() => [ buildGoogleCloudRunV1Condition(), buildGoogleCloudRunV1Condition(), ]; -void checkUnnamed1852(core.List o) { +void checkUnnamed1882(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRunV1Condition(o[0]); checkGoogleCloudRunV1Condition(o[1]); @@ -1994,7 +1994,7 @@ api.RevisionStatus buildRevisionStatus() { final o = api.RevisionStatus(); buildCounterRevisionStatus++; if (buildCounterRevisionStatus < 3) { - o.conditions = buildUnnamed1852(); + o.conditions = buildUnnamed1882(); o.imageDigest = 'foo'; o.logUrl = 'foo'; o.observedGeneration = 42; @@ -2007,7 +2007,7 @@ api.RevisionStatus buildRevisionStatus() { void checkRevisionStatus(api.RevisionStatus o) { buildCounterRevisionStatus++; if (buildCounterRevisionStatus < 3) { - checkUnnamed1852(o.conditions!); + checkUnnamed1882(o.conditions!); unittest.expect( o.imageDigest!, unittest.equals('foo'), @@ -2082,12 +2082,12 @@ void checkRoute(api.Route o) { buildCounterRoute--; } -core.List buildUnnamed1853() => [ +core.List buildUnnamed1883() => [ buildTrafficTarget(), buildTrafficTarget(), ]; -void checkUnnamed1853(core.List o) { +void checkUnnamed1883(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrafficTarget(o[0]); checkTrafficTarget(o[1]); @@ -2098,7 +2098,7 @@ api.RouteSpec buildRouteSpec() { final o = api.RouteSpec(); buildCounterRouteSpec++; if (buildCounterRouteSpec < 3) { - o.traffic = buildUnnamed1853(); + o.traffic = buildUnnamed1883(); } buildCounterRouteSpec--; return o; @@ -2107,28 +2107,28 @@ api.RouteSpec buildRouteSpec() { void checkRouteSpec(api.RouteSpec o) { buildCounterRouteSpec++; if (buildCounterRouteSpec < 3) { - checkUnnamed1853(o.traffic!); + checkUnnamed1883(o.traffic!); } buildCounterRouteSpec--; } -core.List buildUnnamed1854() => [ +core.List buildUnnamed1884() => [ buildGoogleCloudRunV1Condition(), buildGoogleCloudRunV1Condition(), ]; -void checkUnnamed1854(core.List o) { +void checkUnnamed1884(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRunV1Condition(o[0]); checkGoogleCloudRunV1Condition(o[1]); } -core.List buildUnnamed1855() => [ +core.List buildUnnamed1885() => [ buildTrafficTarget(), buildTrafficTarget(), ]; -void checkUnnamed1855(core.List o) { +void checkUnnamed1885(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrafficTarget(o[0]); checkTrafficTarget(o[1]); @@ -2140,9 +2140,9 @@ api.RouteStatus buildRouteStatus() { buildCounterRouteStatus++; if (buildCounterRouteStatus < 3) { o.address = buildAddressable(); - o.conditions = buildUnnamed1854(); + o.conditions = buildUnnamed1884(); o.observedGeneration = 42; - o.traffic = buildUnnamed1855(); + o.traffic = buildUnnamed1885(); o.url = 'foo'; } buildCounterRouteStatus--; @@ -2153,12 +2153,12 @@ void checkRouteStatus(api.RouteStatus o) { buildCounterRouteStatus++; if (buildCounterRouteStatus < 3) { checkAddressable(o.address!); - checkUnnamed1854(o.conditions!); + checkUnnamed1884(o.conditions!); unittest.expect( o.observedGeneration!, unittest.equals(42), ); - checkUnnamed1855(o.traffic!); + checkUnnamed1885(o.traffic!); unittest.expect( o.url!, unittest.equals('foo'), @@ -2224,12 +2224,12 @@ void checkSecretKeySelector(api.SecretKeySelector o) { buildCounterSecretKeySelector--; } -core.List buildUnnamed1856() => [ +core.List buildUnnamed1886() => [ buildKeyToPath(), buildKeyToPath(), ]; -void checkUnnamed1856(core.List o) { +void checkUnnamed1886(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyToPath(o[0]); checkKeyToPath(o[1]); @@ -2241,7 +2241,7 @@ api.SecretVolumeSource buildSecretVolumeSource() { buildCounterSecretVolumeSource++; if (buildCounterSecretVolumeSource < 3) { o.defaultMode = 42; - o.items = buildUnnamed1856(); + o.items = buildUnnamed1886(); o.optional = true; o.secretName = 'foo'; } @@ -2256,7 +2256,7 @@ void checkSecretVolumeSource(api.SecretVolumeSource o) { o.defaultMode!, unittest.equals(42), ); - checkUnnamed1856(o.items!); + checkUnnamed1886(o.items!); unittest.expect(o.optional!, unittest.isTrue); unittest.expect( o.secretName!, @@ -2321,12 +2321,12 @@ void checkService(api.Service o) { buildCounterService--; } -core.List buildUnnamed1857() => [ +core.List buildUnnamed1887() => [ buildTrafficTarget(), buildTrafficTarget(), ]; -void checkUnnamed1857(core.List o) { +void checkUnnamed1887(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrafficTarget(o[0]); checkTrafficTarget(o[1]); @@ -2338,7 +2338,7 @@ api.ServiceSpec buildServiceSpec() { buildCounterServiceSpec++; if (buildCounterServiceSpec < 3) { o.template = buildRevisionTemplate(); - o.traffic = buildUnnamed1857(); + o.traffic = buildUnnamed1887(); } buildCounterServiceSpec--; return o; @@ -2348,28 +2348,28 @@ void checkServiceSpec(api.ServiceSpec o) { buildCounterServiceSpec++; if (buildCounterServiceSpec < 3) { checkRevisionTemplate(o.template!); - checkUnnamed1857(o.traffic!); + checkUnnamed1887(o.traffic!); } buildCounterServiceSpec--; } -core.List buildUnnamed1858() => [ +core.List buildUnnamed1888() => [ buildGoogleCloudRunV1Condition(), buildGoogleCloudRunV1Condition(), ]; -void checkUnnamed1858(core.List o) { +void checkUnnamed1888(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRunV1Condition(o[0]); checkGoogleCloudRunV1Condition(o[1]); } -core.List buildUnnamed1859() => [ +core.List buildUnnamed1889() => [ buildTrafficTarget(), buildTrafficTarget(), ]; -void checkUnnamed1859(core.List o) { +void checkUnnamed1889(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrafficTarget(o[0]); checkTrafficTarget(o[1]); @@ -2381,11 +2381,11 @@ api.ServiceStatus buildServiceStatus() { buildCounterServiceStatus++; if (buildCounterServiceStatus < 3) { o.address = buildAddressable(); - o.conditions = buildUnnamed1858(); + o.conditions = buildUnnamed1888(); o.latestCreatedRevisionName = 'foo'; o.latestReadyRevisionName = 'foo'; o.observedGeneration = 42; - o.traffic = buildUnnamed1859(); + o.traffic = buildUnnamed1889(); o.url = 'foo'; } buildCounterServiceStatus--; @@ -2396,7 +2396,7 @@ void checkServiceStatus(api.ServiceStatus o) { buildCounterServiceStatus++; if (buildCounterServiceStatus < 3) { checkAddressable(o.address!); - checkUnnamed1858(o.conditions!); + checkUnnamed1888(o.conditions!); unittest.expect( o.latestCreatedRevisionName!, unittest.equals('foo'), @@ -2409,7 +2409,7 @@ void checkServiceStatus(api.ServiceStatus o) { o.observedGeneration!, unittest.equals(42), ); - checkUnnamed1859(o.traffic!); + checkUnnamed1889(o.traffic!); unittest.expect( o.url!, unittest.equals('foo'), @@ -2515,12 +2515,12 @@ void checkStatusCause(api.StatusCause o) { buildCounterStatusCause--; } -core.List buildUnnamed1860() => [ +core.List buildUnnamed1890() => [ buildStatusCause(), buildStatusCause(), ]; -void checkUnnamed1860(core.List o) { +void checkUnnamed1890(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatusCause(o[0]); checkStatusCause(o[1]); @@ -2531,7 +2531,7 @@ api.StatusDetails buildStatusDetails() { final o = api.StatusDetails(); buildCounterStatusDetails++; if (buildCounterStatusDetails < 3) { - o.causes = buildUnnamed1860(); + o.causes = buildUnnamed1890(); o.group = 'foo'; o.kind = 'foo'; o.name = 'foo'; @@ -2545,7 +2545,7 @@ api.StatusDetails buildStatusDetails() { void checkStatusDetails(api.StatusDetails o) { buildCounterStatusDetails++; if (buildCounterStatusDetails < 3) { - checkUnnamed1860(o.causes!); + checkUnnamed1890(o.causes!); unittest.expect( o.group!, unittest.equals('foo'), @@ -2597,12 +2597,12 @@ void checkTCPSocketAction(api.TCPSocketAction o) { buildCounterTCPSocketAction--; } -core.List buildUnnamed1861() => [ +core.List buildUnnamed1891() => [ 'foo', 'foo', ]; -void checkUnnamed1861(core.List o) { +void checkUnnamed1891(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2619,7 +2619,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed1861(); + o.permissions = buildUnnamed1891(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2628,17 +2628,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed1861(o.permissions!); + checkUnnamed1891(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed1862() => [ +core.List buildUnnamed1892() => [ 'foo', 'foo', ]; -void checkUnnamed1862(core.List o) { +void checkUnnamed1892(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2655,7 +2655,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed1862(); + o.permissions = buildUnnamed1892(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2664,7 +2664,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed1862(o.permissions!); + checkUnnamed1892(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart index 3c4063f61..89e4bcfea 100644 --- a/generated/googleapis/test/runtimeconfig/v1_test.dart +++ b/generated/googleapis/test/runtimeconfig/v1_test.dart @@ -56,12 +56,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed5886() => [ +core.List buildUnnamed5952() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed5886(core.List o) { +void checkUnnamed5952(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -73,7 +73,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed5886(); + o.operations = buildUnnamed5952(); } buildCounterListOperationsResponse--; return o; @@ -86,12 +86,12 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5886(o.operations!); + checkUnnamed5952(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed5887() => { +core.Map buildUnnamed5953() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -104,7 +104,7 @@ core.Map buildUnnamed5887() => { }, }; -void checkUnnamed5887(core.Map o) { +void checkUnnamed5953(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -136,7 +136,7 @@ void checkUnnamed5887(core.Map o) { ); } -core.Map buildUnnamed5888() => { +core.Map buildUnnamed5954() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -149,7 +149,7 @@ core.Map buildUnnamed5888() => { }, }; -void checkUnnamed5888(core.Map o) { +void checkUnnamed5954(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -188,9 +188,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed5887(); + o.metadata = buildUnnamed5953(); o.name = 'foo'; - o.response = buildUnnamed5888(); + o.response = buildUnnamed5954(); } buildCounterOperation--; return o; @@ -201,17 +201,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed5887(o.metadata!); + checkUnnamed5953(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5888(o.response!); + checkUnnamed5954(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed5889() => { +core.Map buildUnnamed5955() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -224,7 +224,7 @@ core.Map buildUnnamed5889() => { }, }; -void checkUnnamed5889(core.Map o) { +void checkUnnamed5955(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -256,15 +256,15 @@ void checkUnnamed5889(core.Map o) { ); } -core.List> buildUnnamed5890() => [ - buildUnnamed5889(), - buildUnnamed5889(), +core.List> buildUnnamed5956() => [ + buildUnnamed5955(), + buildUnnamed5955(), ]; -void checkUnnamed5890(core.List> o) { +void checkUnnamed5956(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed5889(o[0]); - checkUnnamed5889(o[1]); + checkUnnamed5955(o[0]); + checkUnnamed5955(o[1]); } core.int buildCounterStatus = 0; @@ -273,7 +273,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed5890(); + o.details = buildUnnamed5956(); o.message = 'foo'; } buildCounterStatus--; @@ -287,7 +287,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed5890(o.details!); + checkUnnamed5956(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart index 07078901b..b368e50a6 100644 --- a/generated/googleapis/test/safebrowsing/v4_test.dart +++ b/generated/googleapis/test/safebrowsing/v4_test.dart @@ -96,12 +96,12 @@ void checkGoogleSecuritySafebrowsingV4ClientInfo( core.List< api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest> - buildUnnamed5891() => [ + buildUnnamed5957() => [ buildGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest(), buildGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest(), ]; -void checkUnnamed5891( +void checkUnnamed5957( core.List< api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest> o) { @@ -121,7 +121,7 @@ api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest if (buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest < 3) { o.client = buildGoogleSecuritySafebrowsingV4ClientInfo(); - o.listUpdateRequests = buildUnnamed5891(); + o.listUpdateRequests = buildUnnamed5957(); } buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest--; return o; @@ -133,7 +133,7 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest( if (buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest < 3) { checkGoogleSecuritySafebrowsingV4ClientInfo(o.client!); - checkUnnamed5891(o.listUpdateRequests!); + checkUnnamed5957(o.listUpdateRequests!); } buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest--; } @@ -187,12 +187,12 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateReq buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest--; } -core.List buildUnnamed5892() => [ +core.List buildUnnamed5958() => [ 'foo', 'foo', ]; -void checkUnnamed5892(core.List o) { +void checkUnnamed5958(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -219,7 +219,7 @@ api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestCo o.maxDatabaseEntries = 42; o.maxUpdateEntries = 42; o.region = 'foo'; - o.supportedCompressions = buildUnnamed5892(); + o.supportedCompressions = buildUnnamed5958(); } buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints--; return o; @@ -251,19 +251,19 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateReq o.region!, unittest.equals('foo'), ); - checkUnnamed5892(o.supportedCompressions!); + checkUnnamed5958(o.supportedCompressions!); } buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints--; } core.List< api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse> - buildUnnamed5893() => [ + buildUnnamed5959() => [ buildGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse(), buildGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse(), ]; -void checkUnnamed5893( +void checkUnnamed5959( core.List< api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse> o) { @@ -282,7 +282,7 @@ api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse < 3) { - o.listUpdateResponses = buildUnnamed5893(); + o.listUpdateResponses = buildUnnamed5959(); o.minimumWaitDuration = 'foo'; } buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse--; @@ -294,7 +294,7 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse( buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse < 3) { - checkUnnamed5893(o.listUpdateResponses!); + checkUnnamed5959(o.listUpdateResponses!); unittest.expect( o.minimumWaitDuration!, unittest.equals('foo'), @@ -303,26 +303,26 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse( buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse--; } -core.List buildUnnamed5894() => +core.List buildUnnamed5960() => [ buildGoogleSecuritySafebrowsingV4ThreatEntrySet(), buildGoogleSecuritySafebrowsingV4ThreatEntrySet(), ]; -void checkUnnamed5894( +void checkUnnamed5960( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatEntrySet(o[0]); checkGoogleSecuritySafebrowsingV4ThreatEntrySet(o[1]); } -core.List buildUnnamed5895() => +core.List buildUnnamed5961() => [ buildGoogleSecuritySafebrowsingV4ThreatEntrySet(), buildGoogleSecuritySafebrowsingV4ThreatEntrySet(), ]; -void checkUnnamed5895( +void checkUnnamed5961( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatEntrySet(o[0]); @@ -339,11 +339,11 @@ api.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse < 3) { - o.additions = buildUnnamed5894(); + o.additions = buildUnnamed5960(); o.checksum = buildGoogleSecuritySafebrowsingV4Checksum(); o.newClientState = 'foo'; o.platformType = 'foo'; - o.removals = buildUnnamed5895(); + o.removals = buildUnnamed5961(); o.responseType = 'foo'; o.threatEntryType = 'foo'; o.threatType = 'foo'; @@ -358,7 +358,7 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateRe buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse < 3) { - checkUnnamed5894(o.additions!); + checkUnnamed5960(o.additions!); checkGoogleSecuritySafebrowsingV4Checksum(o.checksum!); unittest.expect( o.newClientState!, @@ -368,7 +368,7 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateRe o.platformType!, unittest.equals('foo'), ); - checkUnnamed5895(o.removals!); + checkUnnamed5961(o.removals!); unittest.expect( o.responseType!, unittest.equals('foo'), @@ -385,12 +385,12 @@ void checkGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateRe buildCounterGoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse--; } -core.List buildUnnamed5896() => [ +core.List buildUnnamed5962() => [ 'foo', 'foo', ]; -void checkUnnamed5896(core.List o) { +void checkUnnamed5962(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -410,7 +410,7 @@ api.GoogleSecuritySafebrowsingV4FindFullHashesRequest if (buildCounterGoogleSecuritySafebrowsingV4FindFullHashesRequest < 3) { o.apiClient = buildGoogleSecuritySafebrowsingV4ClientInfo(); o.client = buildGoogleSecuritySafebrowsingV4ClientInfo(); - o.clientStates = buildUnnamed5896(); + o.clientStates = buildUnnamed5962(); o.threatInfo = buildGoogleSecuritySafebrowsingV4ThreatInfo(); } buildCounterGoogleSecuritySafebrowsingV4FindFullHashesRequest--; @@ -423,18 +423,18 @@ void checkGoogleSecuritySafebrowsingV4FindFullHashesRequest( if (buildCounterGoogleSecuritySafebrowsingV4FindFullHashesRequest < 3) { checkGoogleSecuritySafebrowsingV4ClientInfo(o.apiClient!); checkGoogleSecuritySafebrowsingV4ClientInfo(o.client!); - checkUnnamed5896(o.clientStates!); + checkUnnamed5962(o.clientStates!); checkGoogleSecuritySafebrowsingV4ThreatInfo(o.threatInfo!); } buildCounterGoogleSecuritySafebrowsingV4FindFullHashesRequest--; } -core.List buildUnnamed5897() => [ +core.List buildUnnamed5963() => [ buildGoogleSecuritySafebrowsingV4ThreatMatch(), buildGoogleSecuritySafebrowsingV4ThreatMatch(), ]; -void checkUnnamed5897( +void checkUnnamed5963( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatMatch(o[0]); @@ -447,7 +447,7 @@ api.GoogleSecuritySafebrowsingV4FindFullHashesResponse final o = api.GoogleSecuritySafebrowsingV4FindFullHashesResponse(); buildCounterGoogleSecuritySafebrowsingV4FindFullHashesResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FindFullHashesResponse < 3) { - o.matches = buildUnnamed5897(); + o.matches = buildUnnamed5963(); o.minimumWaitDuration = 'foo'; o.negativeCacheDuration = 'foo'; } @@ -459,7 +459,7 @@ void checkGoogleSecuritySafebrowsingV4FindFullHashesResponse( api.GoogleSecuritySafebrowsingV4FindFullHashesResponse o) { buildCounterGoogleSecuritySafebrowsingV4FindFullHashesResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FindFullHashesResponse < 3) { - checkUnnamed5897(o.matches!); + checkUnnamed5963(o.matches!); unittest.expect( o.minimumWaitDuration!, unittest.equals('foo'), @@ -495,12 +495,12 @@ void checkGoogleSecuritySafebrowsingV4FindThreatMatchesRequest( buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesRequest--; } -core.List buildUnnamed5898() => [ +core.List buildUnnamed5964() => [ buildGoogleSecuritySafebrowsingV4ThreatMatch(), buildGoogleSecuritySafebrowsingV4ThreatMatch(), ]; -void checkUnnamed5898( +void checkUnnamed5964( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatMatch(o[0]); @@ -513,7 +513,7 @@ api.GoogleSecuritySafebrowsingV4FindThreatMatchesResponse final o = api.GoogleSecuritySafebrowsingV4FindThreatMatchesResponse(); buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesResponse < 3) { - o.matches = buildUnnamed5898(); + o.matches = buildUnnamed5964(); } buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesResponse--; return o; @@ -523,18 +523,18 @@ void checkGoogleSecuritySafebrowsingV4FindThreatMatchesResponse( api.GoogleSecuritySafebrowsingV4FindThreatMatchesResponse o) { buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesResponse++; if (buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesResponse < 3) { - checkUnnamed5898(o.matches!); + checkUnnamed5964(o.matches!); } buildCounterGoogleSecuritySafebrowsingV4FindThreatMatchesResponse--; } core.List - buildUnnamed5899() => [ + buildUnnamed5965() => [ buildGoogleSecuritySafebrowsingV4ThreatListDescriptor(), buildGoogleSecuritySafebrowsingV4ThreatListDescriptor(), ]; -void checkUnnamed5899( +void checkUnnamed5965( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatListDescriptor(o[0]); @@ -547,7 +547,7 @@ api.GoogleSecuritySafebrowsingV4ListThreatListsResponse final o = api.GoogleSecuritySafebrowsingV4ListThreatListsResponse(); buildCounterGoogleSecuritySafebrowsingV4ListThreatListsResponse++; if (buildCounterGoogleSecuritySafebrowsingV4ListThreatListsResponse < 3) { - o.threatLists = buildUnnamed5899(); + o.threatLists = buildUnnamed5965(); } buildCounterGoogleSecuritySafebrowsingV4ListThreatListsResponse--; return o; @@ -557,7 +557,7 @@ void checkGoogleSecuritySafebrowsingV4ListThreatListsResponse( api.GoogleSecuritySafebrowsingV4ListThreatListsResponse o) { buildCounterGoogleSecuritySafebrowsingV4ListThreatListsResponse++; if (buildCounterGoogleSecuritySafebrowsingV4ListThreatListsResponse < 3) { - checkUnnamed5899(o.threatLists!); + checkUnnamed5965(o.threatLists!); } buildCounterGoogleSecuritySafebrowsingV4ListThreatListsResponse--; } @@ -591,12 +591,12 @@ void checkGoogleSecuritySafebrowsingV4RawHashes( buildCounterGoogleSecuritySafebrowsingV4RawHashes--; } -core.List buildUnnamed5900() => [ +core.List buildUnnamed5966() => [ 42, 42, ]; -void checkUnnamed5900(core.List o) { +void checkUnnamed5966(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -614,7 +614,7 @@ api.GoogleSecuritySafebrowsingV4RawIndices final o = api.GoogleSecuritySafebrowsingV4RawIndices(); buildCounterGoogleSecuritySafebrowsingV4RawIndices++; if (buildCounterGoogleSecuritySafebrowsingV4RawIndices < 3) { - o.indices = buildUnnamed5900(); + o.indices = buildUnnamed5966(); } buildCounterGoogleSecuritySafebrowsingV4RawIndices--; return o; @@ -624,7 +624,7 @@ void checkGoogleSecuritySafebrowsingV4RawIndices( api.GoogleSecuritySafebrowsingV4RawIndices o) { buildCounterGoogleSecuritySafebrowsingV4RawIndices++; if (buildCounterGoogleSecuritySafebrowsingV4RawIndices < 3) { - checkUnnamed5900(o.indices!); + checkUnnamed5966(o.indices!); } buildCounterGoogleSecuritySafebrowsingV4RawIndices--; } @@ -703,12 +703,12 @@ void checkGoogleSecuritySafebrowsingV4ThreatEntry( } core.List - buildUnnamed5901() => [ + buildUnnamed5967() => [ buildGoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry(), buildGoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry(), ]; -void checkUnnamed5901( +void checkUnnamed5967( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -722,7 +722,7 @@ api.GoogleSecuritySafebrowsingV4ThreatEntryMetadata final o = api.GoogleSecuritySafebrowsingV4ThreatEntryMetadata(); buildCounterGoogleSecuritySafebrowsingV4ThreatEntryMetadata++; if (buildCounterGoogleSecuritySafebrowsingV4ThreatEntryMetadata < 3) { - o.entries = buildUnnamed5901(); + o.entries = buildUnnamed5967(); } buildCounterGoogleSecuritySafebrowsingV4ThreatEntryMetadata--; return o; @@ -732,7 +732,7 @@ void checkGoogleSecuritySafebrowsingV4ThreatEntryMetadata( api.GoogleSecuritySafebrowsingV4ThreatEntryMetadata o) { buildCounterGoogleSecuritySafebrowsingV4ThreatEntryMetadata++; if (buildCounterGoogleSecuritySafebrowsingV4ThreatEntryMetadata < 3) { - checkUnnamed5901(o.entries!); + checkUnnamed5967(o.entries!); } buildCounterGoogleSecuritySafebrowsingV4ThreatEntryMetadata--; } @@ -803,12 +803,12 @@ void checkGoogleSecuritySafebrowsingV4ThreatEntrySet( } core.List - buildUnnamed5902() => [ + buildUnnamed5968() => [ buildGoogleSecuritySafebrowsingV4ThreatHitThreatSource(), buildGoogleSecuritySafebrowsingV4ThreatHitThreatSource(), ]; -void checkUnnamed5902( +void checkUnnamed5968( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatHitThreatSource(o[0]); @@ -824,7 +824,7 @@ api.GoogleSecuritySafebrowsingV4ThreatHit o.clientInfo = buildGoogleSecuritySafebrowsingV4ClientInfo(); o.entry = buildGoogleSecuritySafebrowsingV4ThreatEntry(); o.platformType = 'foo'; - o.resources = buildUnnamed5902(); + o.resources = buildUnnamed5968(); o.threatType = 'foo'; o.userInfo = buildGoogleSecuritySafebrowsingV4ThreatHitUserInfo(); } @@ -842,7 +842,7 @@ void checkGoogleSecuritySafebrowsingV4ThreatHit( o.platformType!, unittest.equals('foo'), ); - checkUnnamed5902(o.resources!); + checkUnnamed5968(o.resources!); unittest.expect( o.threatType!, unittest.equals('foo'), @@ -920,12 +920,12 @@ void checkGoogleSecuritySafebrowsingV4ThreatHitUserInfo( buildCounterGoogleSecuritySafebrowsingV4ThreatHitUserInfo--; } -core.List buildUnnamed5903() => [ +core.List buildUnnamed5969() => [ 'foo', 'foo', ]; -void checkUnnamed5903(core.List o) { +void checkUnnamed5969(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -937,24 +937,24 @@ void checkUnnamed5903(core.List o) { ); } -core.List buildUnnamed5904() => [ +core.List buildUnnamed5970() => [ buildGoogleSecuritySafebrowsingV4ThreatEntry(), buildGoogleSecuritySafebrowsingV4ThreatEntry(), ]; -void checkUnnamed5904( +void checkUnnamed5970( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleSecuritySafebrowsingV4ThreatEntry(o[0]); checkGoogleSecuritySafebrowsingV4ThreatEntry(o[1]); } -core.List buildUnnamed5905() => [ +core.List buildUnnamed5971() => [ 'foo', 'foo', ]; -void checkUnnamed5905(core.List o) { +void checkUnnamed5971(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -966,12 +966,12 @@ void checkUnnamed5905(core.List o) { ); } -core.List buildUnnamed5906() => [ +core.List buildUnnamed5972() => [ 'foo', 'foo', ]; -void checkUnnamed5906(core.List o) { +void checkUnnamed5972(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -989,10 +989,10 @@ api.GoogleSecuritySafebrowsingV4ThreatInfo final o = api.GoogleSecuritySafebrowsingV4ThreatInfo(); buildCounterGoogleSecuritySafebrowsingV4ThreatInfo++; if (buildCounterGoogleSecuritySafebrowsingV4ThreatInfo < 3) { - o.platformTypes = buildUnnamed5903(); - o.threatEntries = buildUnnamed5904(); - o.threatEntryTypes = buildUnnamed5905(); - o.threatTypes = buildUnnamed5906(); + o.platformTypes = buildUnnamed5969(); + o.threatEntries = buildUnnamed5970(); + o.threatEntryTypes = buildUnnamed5971(); + o.threatTypes = buildUnnamed5972(); } buildCounterGoogleSecuritySafebrowsingV4ThreatInfo--; return o; @@ -1002,10 +1002,10 @@ void checkGoogleSecuritySafebrowsingV4ThreatInfo( api.GoogleSecuritySafebrowsingV4ThreatInfo o) { buildCounterGoogleSecuritySafebrowsingV4ThreatInfo++; if (buildCounterGoogleSecuritySafebrowsingV4ThreatInfo < 3) { - checkUnnamed5903(o.platformTypes!); - checkUnnamed5904(o.threatEntries!); - checkUnnamed5905(o.threatEntryTypes!); - checkUnnamed5906(o.threatTypes!); + checkUnnamed5969(o.platformTypes!); + checkUnnamed5970(o.threatEntries!); + checkUnnamed5971(o.threatEntryTypes!); + checkUnnamed5972(o.threatTypes!); } buildCounterGoogleSecuritySafebrowsingV4ThreatInfo--; } diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart index 71f666e58..82fae7aa3 100644 --- a/generated/googleapis/test/script/v1_test.dart +++ b/generated/googleapis/test/script/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1863() => [ +core.List buildUnnamed1893() => [ buildFile(), buildFile(), ]; -void checkUnnamed1863(core.List o) { +void checkUnnamed1893(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFile(o[0]); checkFile(o[1]); @@ -42,7 +42,7 @@ api.Content buildContent() { final o = api.Content(); buildCounterContent++; if (buildCounterContent < 3) { - o.files = buildUnnamed1863(); + o.files = buildUnnamed1893(); o.scriptId = 'foo'; } buildCounterContent--; @@ -52,7 +52,7 @@ api.Content buildContent() { void checkContent(api.Content o) { buildCounterContent++; if (buildCounterContent < 3) { - checkUnnamed1863(o.files!); + checkUnnamed1893(o.files!); unittest.expect( o.scriptId!, unittest.equals('foo'), @@ -88,12 +88,12 @@ void checkCreateProjectRequest(api.CreateProjectRequest o) { buildCounterCreateProjectRequest--; } -core.List buildUnnamed1864() => [ +core.List buildUnnamed1894() => [ buildEntryPoint(), buildEntryPoint(), ]; -void checkUnnamed1864(core.List o) { +void checkUnnamed1894(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntryPoint(o[0]); checkEntryPoint(o[1]); @@ -106,7 +106,7 @@ api.Deployment buildDeployment() { if (buildCounterDeployment < 3) { o.deploymentConfig = buildDeploymentConfig(); o.deploymentId = 'foo'; - o.entryPoints = buildUnnamed1864(); + o.entryPoints = buildUnnamed1894(); o.updateTime = 'foo'; } buildCounterDeployment--; @@ -121,7 +121,7 @@ void checkDeployment(api.Deployment o) { o.deploymentId!, unittest.equals('foo'), ); - checkUnnamed1864(o.entryPoints!); + checkUnnamed1894(o.entryPoints!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -229,12 +229,12 @@ void checkExecuteStreamResponse(api.ExecuteStreamResponse o) { buildCounterExecuteStreamResponse--; } -core.List buildUnnamed1865() => [ +core.List buildUnnamed1895() => [ buildScriptStackTraceElement(), buildScriptStackTraceElement(), ]; -void checkUnnamed1865(core.List o) { +void checkUnnamed1895(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScriptStackTraceElement(o[0]); checkScriptStackTraceElement(o[1]); @@ -247,7 +247,7 @@ api.ExecutionError buildExecutionError() { if (buildCounterExecutionError < 3) { o.errorMessage = 'foo'; o.errorType = 'foo'; - o.scriptStackTraceElements = buildUnnamed1865(); + o.scriptStackTraceElements = buildUnnamed1895(); } buildCounterExecutionError--; return o; @@ -264,12 +264,12 @@ void checkExecutionError(api.ExecutionError o) { o.errorType!, unittest.equals('foo'), ); - checkUnnamed1865(o.scriptStackTraceElements!); + checkUnnamed1895(o.scriptStackTraceElements!); } buildCounterExecutionError--; } -core.List buildUnnamed1866() => [ +core.List buildUnnamed1896() => [ { 'list': [1, 2, 3], 'bool': true, @@ -282,7 +282,7 @@ core.List buildUnnamed1866() => [ }, ]; -void checkUnnamed1866(core.List o) { +void checkUnnamed1896(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -321,7 +321,7 @@ api.ExecutionRequest buildExecutionRequest() { if (buildCounterExecutionRequest < 3) { o.devMode = true; o.function = 'foo'; - o.parameters = buildUnnamed1866(); + o.parameters = buildUnnamed1896(); o.sessionState = 'foo'; } buildCounterExecutionRequest--; @@ -336,7 +336,7 @@ void checkExecutionRequest(api.ExecutionRequest o) { o.function!, unittest.equals('foo'), ); - checkUnnamed1866(o.parameters!); + checkUnnamed1896(o.parameters!); unittest.expect( o.sessionState!, unittest.equals('foo'), @@ -543,12 +543,12 @@ void checkGoogleAppsScriptTypeFunction(api.GoogleAppsScriptTypeFunction o) { buildCounterGoogleAppsScriptTypeFunction--; } -core.List buildUnnamed1867() => [ +core.List buildUnnamed1897() => [ buildGoogleAppsScriptTypeFunction(), buildGoogleAppsScriptTypeFunction(), ]; -void checkUnnamed1867(core.List o) { +void checkUnnamed1897(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsScriptTypeFunction(o[0]); checkGoogleAppsScriptTypeFunction(o[1]); @@ -559,7 +559,7 @@ api.GoogleAppsScriptTypeFunctionSet buildGoogleAppsScriptTypeFunctionSet() { final o = api.GoogleAppsScriptTypeFunctionSet(); buildCounterGoogleAppsScriptTypeFunctionSet++; if (buildCounterGoogleAppsScriptTypeFunctionSet < 3) { - o.values = buildUnnamed1867(); + o.values = buildUnnamed1897(); } buildCounterGoogleAppsScriptTypeFunctionSet--; return o; @@ -569,7 +569,7 @@ void checkGoogleAppsScriptTypeFunctionSet( api.GoogleAppsScriptTypeFunctionSet o) { buildCounterGoogleAppsScriptTypeFunctionSet++; if (buildCounterGoogleAppsScriptTypeFunctionSet < 3) { - checkUnnamed1867(o.values!); + checkUnnamed1897(o.values!); } buildCounterGoogleAppsScriptTypeFunctionSet--; } @@ -717,12 +717,12 @@ void checkGoogleAppsScriptTypeWebAppEntryPoint( buildCounterGoogleAppsScriptTypeWebAppEntryPoint--; } -core.List buildUnnamed1868() => [ +core.List buildUnnamed1898() => [ buildDeployment(), buildDeployment(), ]; -void checkUnnamed1868(core.List o) { +void checkUnnamed1898(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeployment(o[0]); checkDeployment(o[1]); @@ -733,7 +733,7 @@ api.ListDeploymentsResponse buildListDeploymentsResponse() { final o = api.ListDeploymentsResponse(); buildCounterListDeploymentsResponse++; if (buildCounterListDeploymentsResponse < 3) { - o.deployments = buildUnnamed1868(); + o.deployments = buildUnnamed1898(); o.nextPageToken = 'foo'; } buildCounterListDeploymentsResponse--; @@ -743,7 +743,7 @@ api.ListDeploymentsResponse buildListDeploymentsResponse() { void checkListDeploymentsResponse(api.ListDeploymentsResponse o) { buildCounterListDeploymentsResponse++; if (buildCounterListDeploymentsResponse < 3) { - checkUnnamed1868(o.deployments!); + checkUnnamed1898(o.deployments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -752,12 +752,12 @@ void checkListDeploymentsResponse(api.ListDeploymentsResponse o) { buildCounterListDeploymentsResponse--; } -core.List buildUnnamed1869() => [ +core.List buildUnnamed1899() => [ buildGoogleAppsScriptTypeProcess(), buildGoogleAppsScriptTypeProcess(), ]; -void checkUnnamed1869(core.List o) { +void checkUnnamed1899(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsScriptTypeProcess(o[0]); checkGoogleAppsScriptTypeProcess(o[1]); @@ -769,7 +769,7 @@ api.ListScriptProcessesResponse buildListScriptProcessesResponse() { buildCounterListScriptProcessesResponse++; if (buildCounterListScriptProcessesResponse < 3) { o.nextPageToken = 'foo'; - o.processes = buildUnnamed1869(); + o.processes = buildUnnamed1899(); } buildCounterListScriptProcessesResponse--; return o; @@ -782,17 +782,17 @@ void checkListScriptProcessesResponse(api.ListScriptProcessesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1869(o.processes!); + checkUnnamed1899(o.processes!); } buildCounterListScriptProcessesResponse--; } -core.List buildUnnamed1870() => [ +core.List buildUnnamed1900() => [ buildGoogleAppsScriptTypeProcess(), buildGoogleAppsScriptTypeProcess(), ]; -void checkUnnamed1870(core.List o) { +void checkUnnamed1900(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAppsScriptTypeProcess(o[0]); checkGoogleAppsScriptTypeProcess(o[1]); @@ -804,7 +804,7 @@ api.ListUserProcessesResponse buildListUserProcessesResponse() { buildCounterListUserProcessesResponse++; if (buildCounterListUserProcessesResponse < 3) { o.nextPageToken = 'foo'; - o.processes = buildUnnamed1870(); + o.processes = buildUnnamed1900(); } buildCounterListUserProcessesResponse--; return o; @@ -817,17 +817,17 @@ void checkListUserProcessesResponse(api.ListUserProcessesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1870(o.processes!); + checkUnnamed1900(o.processes!); } buildCounterListUserProcessesResponse--; } -core.List buildUnnamed1871() => [ +core.List buildUnnamed1901() => [ buildValue(), buildValue(), ]; -void checkUnnamed1871(core.List o) { +void checkUnnamed1901(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -838,7 +838,7 @@ api.ListValue buildListValue() { final o = api.ListValue(); buildCounterListValue++; if (buildCounterListValue < 3) { - o.values = buildUnnamed1871(); + o.values = buildUnnamed1901(); } buildCounterListValue--; return o; @@ -847,17 +847,17 @@ api.ListValue buildListValue() { void checkListValue(api.ListValue o) { buildCounterListValue++; if (buildCounterListValue < 3) { - checkUnnamed1871(o.values!); + checkUnnamed1901(o.values!); } buildCounterListValue--; } -core.List buildUnnamed1872() => [ +core.List buildUnnamed1902() => [ buildVersion(), buildVersion(), ]; -void checkUnnamed1872(core.List o) { +void checkUnnamed1902(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVersion(o[0]); checkVersion(o[1]); @@ -869,7 +869,7 @@ api.ListVersionsResponse buildListVersionsResponse() { buildCounterListVersionsResponse++; if (buildCounterListVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.versions = buildUnnamed1872(); + o.versions = buildUnnamed1902(); } buildCounterListVersionsResponse--; return o; @@ -882,39 +882,39 @@ void checkListVersionsResponse(api.ListVersionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1872(o.versions!); + checkUnnamed1902(o.versions!); } buildCounterListVersionsResponse--; } -core.List buildUnnamed1873() => [ +core.List buildUnnamed1903() => [ buildMetricsValue(), buildMetricsValue(), ]; -void checkUnnamed1873(core.List o) { +void checkUnnamed1903(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricsValue(o[0]); checkMetricsValue(o[1]); } -core.List buildUnnamed1874() => [ +core.List buildUnnamed1904() => [ buildMetricsValue(), buildMetricsValue(), ]; -void checkUnnamed1874(core.List o) { +void checkUnnamed1904(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricsValue(o[0]); checkMetricsValue(o[1]); } -core.List buildUnnamed1875() => [ +core.List buildUnnamed1905() => [ buildMetricsValue(), buildMetricsValue(), ]; -void checkUnnamed1875(core.List o) { +void checkUnnamed1905(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricsValue(o[0]); checkMetricsValue(o[1]); @@ -925,9 +925,9 @@ api.Metrics buildMetrics() { final o = api.Metrics(); buildCounterMetrics++; if (buildCounterMetrics < 3) { - o.activeUsers = buildUnnamed1873(); - o.failedExecutions = buildUnnamed1874(); - o.totalExecutions = buildUnnamed1875(); + o.activeUsers = buildUnnamed1903(); + o.failedExecutions = buildUnnamed1904(); + o.totalExecutions = buildUnnamed1905(); } buildCounterMetrics--; return o; @@ -936,9 +936,9 @@ api.Metrics buildMetrics() { void checkMetrics(api.Metrics o) { buildCounterMetrics++; if (buildCounterMetrics < 3) { - checkUnnamed1873(o.activeUsers!); - checkUnnamed1874(o.failedExecutions!); - checkUnnamed1875(o.totalExecutions!); + checkUnnamed1903(o.activeUsers!); + checkUnnamed1904(o.failedExecutions!); + checkUnnamed1905(o.totalExecutions!); } buildCounterMetrics--; } @@ -975,7 +975,7 @@ void checkMetricsValue(api.MetricsValue o) { buildCounterMetricsValue--; } -core.Map buildUnnamed1876() => { +core.Map buildUnnamed1906() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -988,7 +988,7 @@ core.Map buildUnnamed1876() => { }, }; -void checkUnnamed1876(core.Map o) { +void checkUnnamed1906(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted4 = (o['x']!) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); @@ -1027,7 +1027,7 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.response = buildUnnamed1876(); + o.response = buildUnnamed1906(); } buildCounterOperation--; return o; @@ -1038,7 +1038,7 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1876(o.response!); + checkUnnamed1906(o.response!); } buildCounterOperation--; } @@ -1135,7 +1135,7 @@ void checkScriptStackTraceElement(api.ScriptStackTraceElement o) { buildCounterScriptStackTraceElement--; } -core.Map buildUnnamed1877() => { +core.Map buildUnnamed1907() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1148,7 +1148,7 @@ core.Map buildUnnamed1877() => { }, }; -void checkUnnamed1877(core.Map o) { +void checkUnnamed1907(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted6 = (o['x']!) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); @@ -1180,15 +1180,15 @@ void checkUnnamed1877(core.Map o) { ); } -core.List> buildUnnamed1878() => [ - buildUnnamed1877(), - buildUnnamed1877(), +core.List> buildUnnamed1908() => [ + buildUnnamed1907(), + buildUnnamed1907(), ]; -void checkUnnamed1878(core.List> o) { +void checkUnnamed1908(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1877(o[0]); - checkUnnamed1877(o[1]); + checkUnnamed1907(o[0]); + checkUnnamed1907(o[1]); } core.int buildCounterStatus = 0; @@ -1197,7 +1197,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1878(); + o.details = buildUnnamed1908(); o.message = 'foo'; } buildCounterStatus--; @@ -1211,7 +1211,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1878(o.details!); + checkUnnamed1908(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1220,12 +1220,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed1879() => { +core.Map buildUnnamed1909() => { 'x': buildValue(), 'y': buildValue(), }; -void checkUnnamed1879(core.Map o) { +void checkUnnamed1909(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o['x']!); checkValue(o['y']!); @@ -1236,7 +1236,7 @@ api.Struct buildStruct() { final o = api.Struct(); buildCounterStruct++; if (buildCounterStruct < 3) { - o.fields = buildUnnamed1879(); + o.fields = buildUnnamed1909(); } buildCounterStruct--; return o; @@ -1245,7 +1245,7 @@ api.Struct buildStruct() { void checkStruct(api.Struct o) { buildCounterStruct++; if (buildCounterStruct < 3) { - checkUnnamed1879(o.fields!); + checkUnnamed1909(o.fields!); } buildCounterStruct--; } @@ -1269,7 +1269,7 @@ void checkUpdateDeploymentRequest(api.UpdateDeploymentRequest o) { buildCounterUpdateDeploymentRequest--; } -core.Map buildUnnamed1880() => { +core.Map buildUnnamed1910() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1282,7 +1282,7 @@ core.Map buildUnnamed1880() => { }, }; -void checkUnnamed1880(core.Map o) { +void checkUnnamed1910(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted8 = (o['x']!) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); @@ -1325,7 +1325,7 @@ api.Value buildValue() { o.listValue = buildListValue(); o.nullValue = 'foo'; o.numberValue = 42.0; - o.protoValue = buildUnnamed1880(); + o.protoValue = buildUnnamed1910(); o.stringValue = 'foo'; o.structValue = buildStruct(); } @@ -1354,7 +1354,7 @@ void checkValue(api.Value o) { o.numberValue!, unittest.equals(42.0), ); - checkUnnamed1880(o.protoValue!); + checkUnnamed1910(o.protoValue!); unittest.expect( o.stringValue!, unittest.equals('foo'), @@ -1401,12 +1401,12 @@ void checkVersion(api.Version o) { buildCounterVersion--; } -core.List buildUnnamed1881() => [ +core.List buildUnnamed1911() => [ 'foo', 'foo', ]; -void checkUnnamed1881(core.List o) { +void checkUnnamed1911(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1418,12 +1418,12 @@ void checkUnnamed1881(core.List o) { ); } -core.List buildUnnamed1882() => [ +core.List buildUnnamed1912() => [ 'foo', 'foo', ]; -void checkUnnamed1882(core.List o) { +void checkUnnamed1912(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1435,12 +1435,12 @@ void checkUnnamed1882(core.List o) { ); } -core.List buildUnnamed1883() => [ +core.List buildUnnamed1913() => [ 'foo', 'foo', ]; -void checkUnnamed1883(core.List o) { +void checkUnnamed1913(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1452,12 +1452,12 @@ void checkUnnamed1883(core.List o) { ); } -core.List buildUnnamed1884() => [ +core.List buildUnnamed1914() => [ 'foo', 'foo', ]; -void checkUnnamed1884(core.List o) { +void checkUnnamed1914(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1469,12 +1469,12 @@ void checkUnnamed1884(core.List o) { ); } -core.List buildUnnamed1885() => [ +core.List buildUnnamed1915() => [ 'foo', 'foo', ]; -void checkUnnamed1885(core.List o) { +void checkUnnamed1915(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1486,12 +1486,12 @@ void checkUnnamed1885(core.List o) { ); } -core.List buildUnnamed1886() => [ +core.List buildUnnamed1916() => [ 'foo', 'foo', ]; -void checkUnnamed1886(core.List o) { +void checkUnnamed1916(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1876,9 +1876,9 @@ void main() { final arg_userProcessFilter_projectName = 'foo'; final arg_userProcessFilter_scriptId = 'foo'; final arg_userProcessFilter_startTime = 'foo'; - final arg_userProcessFilter_statuses = buildUnnamed1881(); - final arg_userProcessFilter_types = buildUnnamed1882(); - final arg_userProcessFilter_userAccessLevels = buildUnnamed1883(); + final arg_userProcessFilter_statuses = buildUnnamed1911(); + final arg_userProcessFilter_types = buildUnnamed1912(); + final arg_userProcessFilter_userAccessLevels = buildUnnamed1913(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1993,9 +1993,9 @@ void main() { final arg_scriptProcessFilter_endTime = 'foo'; final arg_scriptProcessFilter_functionName = 'foo'; final arg_scriptProcessFilter_startTime = 'foo'; - final arg_scriptProcessFilter_statuses = buildUnnamed1884(); - final arg_scriptProcessFilter_types = buildUnnamed1885(); - final arg_scriptProcessFilter_userAccessLevels = buildUnnamed1886(); + final arg_scriptProcessFilter_statuses = buildUnnamed1914(); + final arg_scriptProcessFilter_types = buildUnnamed1915(); + final arg_scriptProcessFilter_userAccessLevels = buildUnnamed1916(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart index e406f57a2..e540a1204 100644 --- a/generated/googleapis/test/searchconsole/v1_test.dart +++ b/generated/googleapis/test/searchconsole/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1779() => [ +core.List buildUnnamed1809() => [ 'foo', 'foo', ]; -void checkUnnamed1779(core.List o) { +void checkUnnamed1809(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -51,7 +51,7 @@ api.ApiDataRow buildApiDataRow() { o.clicks = 42.0; o.ctr = 42.0; o.impressions = 42.0; - o.keys = buildUnnamed1779(); + o.keys = buildUnnamed1809(); o.position = 42.0; } buildCounterApiDataRow--; @@ -73,7 +73,7 @@ void checkApiDataRow(api.ApiDataRow o) { o.impressions!, unittest.equals(42.0), ); - checkUnnamed1779(o.keys!); + checkUnnamed1809(o.keys!); unittest.expect( o.position!, unittest.equals(42.0), @@ -114,12 +114,12 @@ void checkApiDimensionFilter(api.ApiDimensionFilter o) { buildCounterApiDimensionFilter--; } -core.List buildUnnamed1780() => [ +core.List buildUnnamed1810() => [ buildApiDimensionFilter(), buildApiDimensionFilter(), ]; -void checkUnnamed1780(core.List o) { +void checkUnnamed1810(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiDimensionFilter(o[0]); checkApiDimensionFilter(o[1]); @@ -130,7 +130,7 @@ api.ApiDimensionFilterGroup buildApiDimensionFilterGroup() { final o = api.ApiDimensionFilterGroup(); buildCounterApiDimensionFilterGroup++; if (buildCounterApiDimensionFilterGroup < 3) { - o.filters = buildUnnamed1780(); + o.filters = buildUnnamed1810(); o.groupType = 'foo'; } buildCounterApiDimensionFilterGroup--; @@ -140,7 +140,7 @@ api.ApiDimensionFilterGroup buildApiDimensionFilterGroup() { void checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) { buildCounterApiDimensionFilterGroup++; if (buildCounterApiDimensionFilterGroup < 3) { - checkUnnamed1780(o.filters!); + checkUnnamed1810(o.filters!); unittest.expect( o.groupType!, unittest.equals('foo'), @@ -263,23 +263,23 @@ void checkRunMobileFriendlyTestRequest(api.RunMobileFriendlyTestRequest o) { buildCounterRunMobileFriendlyTestRequest--; } -core.List buildUnnamed1781() => [ +core.List buildUnnamed1811() => [ buildMobileFriendlyIssue(), buildMobileFriendlyIssue(), ]; -void checkUnnamed1781(core.List o) { +void checkUnnamed1811(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMobileFriendlyIssue(o[0]); checkMobileFriendlyIssue(o[1]); } -core.List buildUnnamed1782() => [ +core.List buildUnnamed1812() => [ buildResourceIssue(), buildResourceIssue(), ]; -void checkUnnamed1782(core.List o) { +void checkUnnamed1812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceIssue(o[0]); checkResourceIssue(o[1]); @@ -291,8 +291,8 @@ api.RunMobileFriendlyTestResponse buildRunMobileFriendlyTestResponse() { buildCounterRunMobileFriendlyTestResponse++; if (buildCounterRunMobileFriendlyTestResponse < 3) { o.mobileFriendliness = 'foo'; - o.mobileFriendlyIssues = buildUnnamed1781(); - o.resourceIssues = buildUnnamed1782(); + o.mobileFriendlyIssues = buildUnnamed1811(); + o.resourceIssues = buildUnnamed1812(); o.screenshot = buildImage(); o.testStatus = buildTestStatus(); } @@ -307,31 +307,31 @@ void checkRunMobileFriendlyTestResponse(api.RunMobileFriendlyTestResponse o) { o.mobileFriendliness!, unittest.equals('foo'), ); - checkUnnamed1781(o.mobileFriendlyIssues!); - checkUnnamed1782(o.resourceIssues!); + checkUnnamed1811(o.mobileFriendlyIssues!); + checkUnnamed1812(o.resourceIssues!); checkImage(o.screenshot!); checkTestStatus(o.testStatus!); } buildCounterRunMobileFriendlyTestResponse--; } -core.List buildUnnamed1783() => [ +core.List buildUnnamed1813() => [ buildApiDimensionFilterGroup(), buildApiDimensionFilterGroup(), ]; -void checkUnnamed1783(core.List o) { +void checkUnnamed1813(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiDimensionFilterGroup(o[0]); checkApiDimensionFilterGroup(o[1]); } -core.List buildUnnamed1784() => [ +core.List buildUnnamed1814() => [ 'foo', 'foo', ]; -void checkUnnamed1784(core.List o) { +void checkUnnamed1814(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -350,8 +350,8 @@ api.SearchAnalyticsQueryRequest buildSearchAnalyticsQueryRequest() { if (buildCounterSearchAnalyticsQueryRequest < 3) { o.aggregationType = 'foo'; o.dataState = 'foo'; - o.dimensionFilterGroups = buildUnnamed1783(); - o.dimensions = buildUnnamed1784(); + o.dimensionFilterGroups = buildUnnamed1813(); + o.dimensions = buildUnnamed1814(); o.endDate = 'foo'; o.rowLimit = 42; o.searchType = 'foo'; @@ -373,8 +373,8 @@ void checkSearchAnalyticsQueryRequest(api.SearchAnalyticsQueryRequest o) { o.dataState!, unittest.equals('foo'), ); - checkUnnamed1783(o.dimensionFilterGroups!); - checkUnnamed1784(o.dimensions!); + checkUnnamed1813(o.dimensionFilterGroups!); + checkUnnamed1814(o.dimensions!); unittest.expect( o.endDate!, unittest.equals('foo'), @@ -399,12 +399,12 @@ void checkSearchAnalyticsQueryRequest(api.SearchAnalyticsQueryRequest o) { buildCounterSearchAnalyticsQueryRequest--; } -core.List buildUnnamed1785() => [ +core.List buildUnnamed1815() => [ buildApiDataRow(), buildApiDataRow(), ]; -void checkUnnamed1785(core.List o) { +void checkUnnamed1815(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiDataRow(o[0]); checkApiDataRow(o[1]); @@ -416,7 +416,7 @@ api.SearchAnalyticsQueryResponse buildSearchAnalyticsQueryResponse() { buildCounterSearchAnalyticsQueryResponse++; if (buildCounterSearchAnalyticsQueryResponse < 3) { o.responseAggregationType = 'foo'; - o.rows = buildUnnamed1785(); + o.rows = buildUnnamed1815(); } buildCounterSearchAnalyticsQueryResponse--; return o; @@ -429,17 +429,17 @@ void checkSearchAnalyticsQueryResponse(api.SearchAnalyticsQueryResponse o) { o.responseAggregationType!, unittest.equals('foo'), ); - checkUnnamed1785(o.rows!); + checkUnnamed1815(o.rows!); } buildCounterSearchAnalyticsQueryResponse--; } -core.List buildUnnamed1786() => [ +core.List buildUnnamed1816() => [ buildWmxSitemap(), buildWmxSitemap(), ]; -void checkUnnamed1786(core.List o) { +void checkUnnamed1816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSitemap(o[0]); checkWmxSitemap(o[1]); @@ -450,7 +450,7 @@ api.SitemapsListResponse buildSitemapsListResponse() { final o = api.SitemapsListResponse(); buildCounterSitemapsListResponse++; if (buildCounterSitemapsListResponse < 3) { - o.sitemap = buildUnnamed1786(); + o.sitemap = buildUnnamed1816(); } buildCounterSitemapsListResponse--; return o; @@ -459,17 +459,17 @@ api.SitemapsListResponse buildSitemapsListResponse() { void checkSitemapsListResponse(api.SitemapsListResponse o) { buildCounterSitemapsListResponse++; if (buildCounterSitemapsListResponse < 3) { - checkUnnamed1786(o.sitemap!); + checkUnnamed1816(o.sitemap!); } buildCounterSitemapsListResponse--; } -core.List buildUnnamed1787() => [ +core.List buildUnnamed1817() => [ buildWmxSite(), buildWmxSite(), ]; -void checkUnnamed1787(core.List o) { +void checkUnnamed1817(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSite(o[0]); checkWmxSite(o[1]); @@ -480,7 +480,7 @@ api.SitesListResponse buildSitesListResponse() { final o = api.SitesListResponse(); buildCounterSitesListResponse++; if (buildCounterSitesListResponse < 3) { - o.siteEntry = buildUnnamed1787(); + o.siteEntry = buildUnnamed1817(); } buildCounterSitesListResponse--; return o; @@ -489,7 +489,7 @@ api.SitesListResponse buildSitesListResponse() { void checkSitesListResponse(api.SitesListResponse o) { buildCounterSitesListResponse++; if (buildCounterSitesListResponse < 3) { - checkUnnamed1787(o.siteEntry!); + checkUnnamed1817(o.siteEntry!); } buildCounterSitesListResponse--; } @@ -548,12 +548,12 @@ void checkWmxSite(api.WmxSite o) { buildCounterWmxSite--; } -core.List buildUnnamed1788() => [ +core.List buildUnnamed1818() => [ buildWmxSitemapContent(), buildWmxSitemapContent(), ]; -void checkUnnamed1788(core.List o) { +void checkUnnamed1818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSitemapContent(o[0]); checkWmxSitemapContent(o[1]); @@ -564,7 +564,7 @@ api.WmxSitemap buildWmxSitemap() { final o = api.WmxSitemap(); buildCounterWmxSitemap++; if (buildCounterWmxSitemap < 3) { - o.contents = buildUnnamed1788(); + o.contents = buildUnnamed1818(); o.errors = 'foo'; o.isPending = true; o.isSitemapsIndex = true; @@ -581,7 +581,7 @@ api.WmxSitemap buildWmxSitemap() { void checkWmxSitemap(api.WmxSitemap o) { buildCounterWmxSitemap++; if (buildCounterWmxSitemap < 3) { - checkUnnamed1788(o.contents!); + checkUnnamed1818(o.contents!); unittest.expect( o.errors!, unittest.equals('foo'), diff --git a/generated/googleapis/test/secretmanager/v1_test.dart b/generated/googleapis/test/secretmanager/v1_test.dart index f55c65277..e43e36da2 100644 --- a/generated/googleapis/test/secretmanager/v1_test.dart +++ b/generated/googleapis/test/secretmanager/v1_test.dart @@ -69,12 +69,12 @@ void checkAddSecretVersionRequest(api.AddSecretVersionRequest o) { buildCounterAddSecretVersionRequest--; } -core.List buildUnnamed6634() => [ +core.List buildUnnamed6705() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed6634(core.List o) { +void checkUnnamed6705(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -85,7 +85,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed6634(); + o.auditLogConfigs = buildUnnamed6705(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -95,7 +95,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed6634(o.auditLogConfigs!); + checkUnnamed6705(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -104,12 +104,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed6635() => [ +core.List buildUnnamed6706() => [ 'foo', 'foo', ]; -void checkUnnamed6635(core.List o) { +void checkUnnamed6706(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -126,7 +126,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed6635(); + o.exemptedMembers = buildUnnamed6706(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -136,7 +136,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed6635(o.exemptedMembers!); + checkUnnamed6706(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -183,12 +183,12 @@ void checkAutomaticStatus(api.AutomaticStatus o) { buildCounterAutomaticStatus--; } -core.List buildUnnamed6636() => [ +core.List buildUnnamed6707() => [ 'foo', 'foo', ]; -void checkUnnamed6636(core.List o) { +void checkUnnamed6707(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -206,7 +206,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed6636(); + o.members = buildUnnamed6707(); o.role = 'foo'; } buildCounterBinding--; @@ -217,7 +217,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed6636(o.members!); + checkUnnamed6707(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -389,12 +389,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed6637() => [ +core.List buildUnnamed6708() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed6637(core.List o) { +void checkUnnamed6708(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -405,7 +405,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed6637(); + o.locations = buildUnnamed6708(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -415,7 +415,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed6637(o.locations!); + checkUnnamed6708(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -424,12 +424,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed6638() => [ +core.List buildUnnamed6709() => [ buildSecretVersion(), buildSecretVersion(), ]; -void checkUnnamed6638(core.List o) { +void checkUnnamed6709(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecretVersion(o[0]); checkSecretVersion(o[1]); @@ -442,7 +442,7 @@ api.ListSecretVersionsResponse buildListSecretVersionsResponse() { if (buildCounterListSecretVersionsResponse < 3) { o.nextPageToken = 'foo'; o.totalSize = 42; - o.versions = buildUnnamed6638(); + o.versions = buildUnnamed6709(); } buildCounterListSecretVersionsResponse--; return o; @@ -459,17 +459,17 @@ void checkListSecretVersionsResponse(api.ListSecretVersionsResponse o) { o.totalSize!, unittest.equals(42), ); - checkUnnamed6638(o.versions!); + checkUnnamed6709(o.versions!); } buildCounterListSecretVersionsResponse--; } -core.List buildUnnamed6639() => [ +core.List buildUnnamed6710() => [ buildSecret(), buildSecret(), ]; -void checkUnnamed6639(core.List o) { +void checkUnnamed6710(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecret(o[0]); checkSecret(o[1]); @@ -481,7 +481,7 @@ api.ListSecretsResponse buildListSecretsResponse() { buildCounterListSecretsResponse++; if (buildCounterListSecretsResponse < 3) { o.nextPageToken = 'foo'; - o.secrets = buildUnnamed6639(); + o.secrets = buildUnnamed6710(); o.totalSize = 42; } buildCounterListSecretsResponse--; @@ -495,7 +495,7 @@ void checkListSecretsResponse(api.ListSecretsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6639(o.secrets!); + checkUnnamed6710(o.secrets!); unittest.expect( o.totalSize!, unittest.equals(42), @@ -504,12 +504,12 @@ void checkListSecretsResponse(api.ListSecretsResponse o) { buildCounterListSecretsResponse--; } -core.Map buildUnnamed6640() => { +core.Map buildUnnamed6711() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6640(core.Map o) { +void checkUnnamed6711(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -521,7 +521,7 @@ void checkUnnamed6640(core.Map o) { ); } -core.Map buildUnnamed6641() => { +core.Map buildUnnamed6712() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -534,7 +534,7 @@ core.Map buildUnnamed6641() => { }, }; -void checkUnnamed6641(core.Map o) { +void checkUnnamed6712(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -572,9 +572,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed6640(); + o.labels = buildUnnamed6711(); o.locationId = 'foo'; - o.metadata = buildUnnamed6641(); + o.metadata = buildUnnamed6712(); o.name = 'foo'; } buildCounterLocation--; @@ -588,12 +588,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6640(o.labels!); + checkUnnamed6711(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed6641(o.metadata!); + checkUnnamed6712(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -602,23 +602,23 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed6642() => [ +core.List buildUnnamed6713() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed6642(core.List o) { +void checkUnnamed6713(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed6643() => [ +core.List buildUnnamed6714() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed6643(core.List o) { +void checkUnnamed6714(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -629,8 +629,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed6642(); - o.bindings = buildUnnamed6643(); + o.auditConfigs = buildUnnamed6713(); + o.bindings = buildUnnamed6714(); o.etag = 'foo'; o.version = 42; } @@ -641,8 +641,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed6642(o.auditConfigs!); - checkUnnamed6643(o.bindings!); + checkUnnamed6713(o.auditConfigs!); + checkUnnamed6714(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -772,12 +772,12 @@ void checkRotation(api.Rotation o) { buildCounterRotation--; } -core.Map buildUnnamed6644() => { +core.Map buildUnnamed6715() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6644(core.Map o) { +void checkUnnamed6715(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -789,12 +789,12 @@ void checkUnnamed6644(core.Map o) { ); } -core.List buildUnnamed6645() => [ +core.List buildUnnamed6716() => [ buildTopic(), buildTopic(), ]; -void checkUnnamed6645(core.List o) { +void checkUnnamed6716(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTopic(o[0]); checkTopic(o[1]); @@ -808,11 +808,11 @@ api.Secret buildSecret() { o.createTime = 'foo'; o.etag = 'foo'; o.expireTime = 'foo'; - o.labels = buildUnnamed6644(); + o.labels = buildUnnamed6715(); o.name = 'foo'; o.replication = buildReplication(); o.rotation = buildRotation(); - o.topics = buildUnnamed6645(); + o.topics = buildUnnamed6716(); o.ttl = 'foo'; } buildCounterSecret--; @@ -834,14 +834,14 @@ void checkSecret(api.Secret o) { o.expireTime!, unittest.equals('foo'), ); - checkUnnamed6644(o.labels!); + checkUnnamed6715(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); checkReplication(o.replication!); checkRotation(o.rotation!); - checkUnnamed6645(o.topics!); + checkUnnamed6716(o.topics!); unittest.expect( o.ttl!, unittest.equals('foo'), @@ -940,12 +940,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed6646() => [ +core.List buildUnnamed6717() => [ 'foo', 'foo', ]; -void checkUnnamed6646(core.List o) { +void checkUnnamed6717(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -962,7 +962,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed6646(); + o.permissions = buildUnnamed6717(); } buildCounterTestIamPermissionsRequest--; return o; @@ -971,17 +971,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed6646(o.permissions!); + checkUnnamed6717(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed6647() => [ +core.List buildUnnamed6718() => [ 'foo', 'foo', ]; -void checkUnnamed6647(core.List o) { +void checkUnnamed6718(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -998,7 +998,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed6647(); + o.permissions = buildUnnamed6718(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1007,7 +1007,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed6647(o.permissions!); + checkUnnamed6718(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1034,12 +1034,12 @@ void checkTopic(api.Topic o) { buildCounterTopic--; } -core.List buildUnnamed6648() => [ +core.List buildUnnamed6719() => [ buildReplica(), buildReplica(), ]; -void checkUnnamed6648(core.List o) { +void checkUnnamed6719(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReplica(o[0]); checkReplica(o[1]); @@ -1050,7 +1050,7 @@ api.UserManaged buildUserManaged() { final o = api.UserManaged(); buildCounterUserManaged++; if (buildCounterUserManaged < 3) { - o.replicas = buildUnnamed6648(); + o.replicas = buildUnnamed6719(); } buildCounterUserManaged--; return o; @@ -1059,17 +1059,17 @@ api.UserManaged buildUserManaged() { void checkUserManaged(api.UserManaged o) { buildCounterUserManaged++; if (buildCounterUserManaged < 3) { - checkUnnamed6648(o.replicas!); + checkUnnamed6719(o.replicas!); } buildCounterUserManaged--; } -core.List buildUnnamed6649() => [ +core.List buildUnnamed6720() => [ buildReplicaStatus(), buildReplicaStatus(), ]; -void checkUnnamed6649(core.List o) { +void checkUnnamed6720(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReplicaStatus(o[0]); checkReplicaStatus(o[1]); @@ -1080,7 +1080,7 @@ api.UserManagedStatus buildUserManagedStatus() { final o = api.UserManagedStatus(); buildCounterUserManagedStatus++; if (buildCounterUserManagedStatus < 3) { - o.replicas = buildUnnamed6649(); + o.replicas = buildUnnamed6720(); } buildCounterUserManagedStatus--; return o; @@ -1089,7 +1089,7 @@ api.UserManagedStatus buildUserManagedStatus() { void checkUserManagedStatus(api.UserManagedStatus o) { buildCounterUserManagedStatus++; if (buildCounterUserManagedStatus < 3) { - checkUnnamed6649(o.replicas!); + checkUnnamed6720(o.replicas!); } buildCounterUserManagedStatus--; } diff --git a/generated/googleapis/test/securitycenter/v1_test.dart b/generated/googleapis/test/securitycenter/v1_test.dart index 657f9e162..7d662efd2 100644 --- a/generated/googleapis/test/securitycenter/v1_test.dart +++ b/generated/googleapis/test/securitycenter/v1_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed1894() => { +core.Map buildUnnamed1924() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.Map buildUnnamed1894() => { }, }; -void checkUnnamed1894(core.Map o) { +void checkUnnamed1924(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -80,7 +80,7 @@ api.Asset buildAsset() { o.createTime = 'foo'; o.iamPolicy = buildIamPolicy(); o.name = 'foo'; - o.resourceProperties = buildUnnamed1894(); + o.resourceProperties = buildUnnamed1924(); o.securityCenterProperties = buildSecurityCenterProperties(); o.securityMarks = buildSecurityMarks(); o.updateTime = 'foo'; @@ -105,7 +105,7 @@ void checkAsset(api.Asset o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1894(o.resourceProperties!); + checkUnnamed1924(o.resourceProperties!); checkSecurityCenterProperties(o.securityCenterProperties!); checkSecurityMarks(o.securityMarks!); unittest.expect( @@ -116,12 +116,12 @@ void checkAsset(api.Asset o) { buildCounterAsset--; } -core.List buildUnnamed1895() => [ +core.List buildUnnamed1925() => [ 'foo', 'foo', ]; -void checkUnnamed1895(core.List o) { +void checkUnnamed1925(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -133,12 +133,12 @@ void checkUnnamed1895(core.List o) { ); } -core.List buildUnnamed1896() => [ +core.List buildUnnamed1926() => [ 'foo', 'foo', ]; -void checkUnnamed1896(core.List o) { +void checkUnnamed1926(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -155,9 +155,9 @@ api.AssetDiscoveryConfig buildAssetDiscoveryConfig() { final o = api.AssetDiscoveryConfig(); buildCounterAssetDiscoveryConfig++; if (buildCounterAssetDiscoveryConfig < 3) { - o.folderIds = buildUnnamed1895(); + o.folderIds = buildUnnamed1925(); o.inclusionMode = 'foo'; - o.projectIds = buildUnnamed1896(); + o.projectIds = buildUnnamed1926(); } buildCounterAssetDiscoveryConfig--; return o; @@ -166,22 +166,22 @@ api.AssetDiscoveryConfig buildAssetDiscoveryConfig() { void checkAssetDiscoveryConfig(api.AssetDiscoveryConfig o) { buildCounterAssetDiscoveryConfig++; if (buildCounterAssetDiscoveryConfig < 3) { - checkUnnamed1895(o.folderIds!); + checkUnnamed1925(o.folderIds!); unittest.expect( o.inclusionMode!, unittest.equals('foo'), ); - checkUnnamed1896(o.projectIds!); + checkUnnamed1926(o.projectIds!); } buildCounterAssetDiscoveryConfig--; } -core.List buildUnnamed1897() => [ +core.List buildUnnamed1927() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed1897(core.List o) { +void checkUnnamed1927(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -192,7 +192,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed1897(); + o.auditLogConfigs = buildUnnamed1927(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -202,7 +202,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed1897(o.auditLogConfigs!); + checkUnnamed1927(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -211,12 +211,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed1898() => [ +core.List buildUnnamed1928() => [ 'foo', 'foo', ]; -void checkUnnamed1898(core.List o) { +void checkUnnamed1928(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -233,7 +233,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed1898(); + o.exemptedMembers = buildUnnamed1928(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -243,7 +243,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed1898(o.exemptedMembers!); + checkUnnamed1928(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -252,12 +252,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed1899() => [ +core.List buildUnnamed1929() => [ 'foo', 'foo', ]; -void checkUnnamed1899(core.List o) { +void checkUnnamed1929(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -275,7 +275,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1899(); + o.members = buildUnnamed1929(); o.role = 'foo'; } buildCounterBinding--; @@ -286,7 +286,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1899(o.members!); + checkUnnamed1929(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -295,6 +295,105 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } +core.List buildUnnamed1930() => [ + buildReference(), + buildReference(), + ]; + +void checkUnnamed1930(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkReference(o[0]); + checkReference(o[1]); +} + +core.int buildCounterCve = 0; +api.Cve buildCve() { + final o = api.Cve(); + buildCounterCve++; + if (buildCounterCve < 3) { + o.cvssv3 = buildCvssv3(); + o.id = 'foo'; + o.references = buildUnnamed1930(); + } + buildCounterCve--; + return o; +} + +void checkCve(api.Cve o) { + buildCounterCve++; + if (buildCounterCve < 3) { + checkCvssv3(o.cvssv3!); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + checkUnnamed1930(o.references!); + } + buildCounterCve--; +} + +core.int buildCounterCvssv3 = 0; +api.Cvssv3 buildCvssv3() { + final o = api.Cvssv3(); + buildCounterCvssv3++; + if (buildCounterCvssv3 < 3) { + o.attackComplexity = 'foo'; + o.attackVector = 'foo'; + o.availabilityImpact = 'foo'; + o.baseScore = 42.0; + o.confidentialityImpact = 'foo'; + o.integrityImpact = 'foo'; + o.privilegesRequired = 'foo'; + o.scope = 'foo'; + o.userInteraction = 'foo'; + } + buildCounterCvssv3--; + return o; +} + +void checkCvssv3(api.Cvssv3 o) { + buildCounterCvssv3++; + if (buildCounterCvssv3 < 3) { + unittest.expect( + o.attackComplexity!, + unittest.equals('foo'), + ); + unittest.expect( + o.attackVector!, + unittest.equals('foo'), + ); + unittest.expect( + o.availabilityImpact!, + unittest.equals('foo'), + ); + unittest.expect( + o.baseScore!, + unittest.equals(42.0), + ); + unittest.expect( + o.confidentialityImpact!, + unittest.equals('foo'), + ); + unittest.expect( + o.integrityImpact!, + unittest.equals('foo'), + ); + unittest.expect( + o.privilegesRequired!, + unittest.equals('foo'), + ); + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + unittest.expect( + o.userInteraction!, + unittest.equals('foo'), + ); + } + buildCounterCvssv3--; +} + core.int buildCounterEmpty = 0; api.Empty buildEmpty() { final o = api.Empty(); @@ -347,7 +446,7 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.Map buildUnnamed1900() => { +core.Map buildUnnamed1931() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -360,7 +459,7 @@ core.Map buildUnnamed1900() => { }, }; -void checkUnnamed1900(core.Map o) { +void checkUnnamed1931(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -409,8 +508,9 @@ api.Finding buildFinding() { o.resourceName = 'foo'; o.securityMarks = buildSecurityMarks(); o.severity = 'foo'; - o.sourceProperties = buildUnnamed1900(); + o.sourceProperties = buildUnnamed1931(); o.state = 'foo'; + o.vulnerability = buildVulnerability(); } buildCounterFinding--; return o; @@ -461,11 +561,12 @@ void checkFinding(api.Finding o) { o.severity!, unittest.equals('foo'), ); - checkUnnamed1900(o.sourceProperties!); + checkUnnamed1931(o.sourceProperties!); unittest.expect( o.state!, unittest.equals('foo'), ); + checkVulnerability(o.vulnerability!); } buildCounterFinding--; } @@ -566,12 +667,12 @@ void checkGoogleCloudSecuritycenterV1NotificationMessage( buildCounterGoogleCloudSecuritycenterV1NotificationMessage--; } -core.List buildUnnamed1901() => [ +core.List buildUnnamed1932() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed1901(core.List o) { +void checkUnnamed1932(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -583,12 +684,13 @@ api.GoogleCloudSecuritycenterV1Resource final o = api.GoogleCloudSecuritycenterV1Resource(); buildCounterGoogleCloudSecuritycenterV1Resource++; if (buildCounterGoogleCloudSecuritycenterV1Resource < 3) { - o.folders = buildUnnamed1901(); + o.folders = buildUnnamed1932(); o.name = 'foo'; o.parent = 'foo'; o.parentDisplayName = 'foo'; o.project = 'foo'; o.projectDisplayName = 'foo'; + o.type = 'foo'; } buildCounterGoogleCloudSecuritycenterV1Resource--; return o; @@ -598,7 +700,7 @@ void checkGoogleCloudSecuritycenterV1Resource( api.GoogleCloudSecuritycenterV1Resource o) { buildCounterGoogleCloudSecuritycenterV1Resource++; if (buildCounterGoogleCloudSecuritycenterV1Resource < 3) { - checkUnnamed1901(o.folders!); + checkUnnamed1932(o.folders!); unittest.expect( o.name!, unittest.equals('foo'), @@ -619,6 +721,10 @@ void checkGoogleCloudSecuritycenterV1Resource( o.projectDisplayName!, unittest.equals('foo'), ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); } buildCounterGoogleCloudSecuritycenterV1Resource--; } @@ -684,7 +790,7 @@ void checkGoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse( buildCounterGoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse--; } -core.Map buildUnnamed1902() => { +core.Map buildUnnamed1933() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -697,7 +803,7 @@ core.Map buildUnnamed1902() => { }, }; -void checkUnnamed1902(core.Map o) { +void checkUnnamed1933(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -745,7 +851,7 @@ api.GoogleCloudSecuritycenterV1p1beta1Finding o.resourceName = 'foo'; o.securityMarks = buildGoogleCloudSecuritycenterV1p1beta1SecurityMarks(); o.severity = 'foo'; - o.sourceProperties = buildUnnamed1902(); + o.sourceProperties = buildUnnamed1933(); o.state = 'foo'; } buildCounterGoogleCloudSecuritycenterV1p1beta1Finding--; @@ -793,7 +899,7 @@ void checkGoogleCloudSecuritycenterV1p1beta1Finding( o.severity!, unittest.equals('foo'), ); - checkUnnamed1902(o.sourceProperties!); + checkUnnamed1933(o.sourceProperties!); unittest.expect( o.state!, unittest.equals('foo'), @@ -859,12 +965,12 @@ void checkGoogleCloudSecuritycenterV1p1beta1NotificationMessage( buildCounterGoogleCloudSecuritycenterV1p1beta1NotificationMessage--; } -core.List buildUnnamed1903() => [ +core.List buildUnnamed1934() => [ buildGoogleCloudSecuritycenterV1p1beta1Folder(), buildGoogleCloudSecuritycenterV1p1beta1Folder(), ]; -void checkUnnamed1903( +void checkUnnamed1934( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudSecuritycenterV1p1beta1Folder(o[0]); @@ -877,7 +983,7 @@ api.GoogleCloudSecuritycenterV1p1beta1Resource final o = api.GoogleCloudSecuritycenterV1p1beta1Resource(); buildCounterGoogleCloudSecuritycenterV1p1beta1Resource++; if (buildCounterGoogleCloudSecuritycenterV1p1beta1Resource < 3) { - o.folders = buildUnnamed1903(); + o.folders = buildUnnamed1934(); o.name = 'foo'; o.parent = 'foo'; o.parentDisplayName = 'foo'; @@ -892,7 +998,7 @@ void checkGoogleCloudSecuritycenterV1p1beta1Resource( api.GoogleCloudSecuritycenterV1p1beta1Resource o) { buildCounterGoogleCloudSecuritycenterV1p1beta1Resource++; if (buildCounterGoogleCloudSecuritycenterV1p1beta1Resource < 3) { - checkUnnamed1903(o.folders!); + checkUnnamed1934(o.folders!); unittest.expect( o.name!, unittest.equals('foo'), @@ -949,12 +1055,12 @@ void checkGoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse( buildCounterGoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse--; } -core.Map buildUnnamed1904() => { +core.Map buildUnnamed1935() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1904(core.Map o) { +void checkUnnamed1935(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -973,7 +1079,7 @@ api.GoogleCloudSecuritycenterV1p1beta1SecurityMarks buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks++; if (buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks < 3) { o.canonicalName = 'foo'; - o.marks = buildUnnamed1904(); + o.marks = buildUnnamed1935(); o.name = 'foo'; } buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks--; @@ -988,7 +1094,7 @@ void checkGoogleCloudSecuritycenterV1p1beta1SecurityMarks( o.canonicalName!, unittest.equals('foo'), ); - checkUnnamed1904(o.marks!); + checkUnnamed1935(o.marks!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1044,12 +1150,12 @@ void checkGroupAssetsRequest(api.GroupAssetsRequest o) { buildCounterGroupAssetsRequest--; } -core.List buildUnnamed1905() => [ +core.List buildUnnamed1936() => [ buildGroupResult(), buildGroupResult(), ]; -void checkUnnamed1905(core.List o) { +void checkUnnamed1936(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupResult(o[0]); checkGroupResult(o[1]); @@ -1060,7 +1166,7 @@ api.GroupAssetsResponse buildGroupAssetsResponse() { final o = api.GroupAssetsResponse(); buildCounterGroupAssetsResponse++; if (buildCounterGroupAssetsResponse < 3) { - o.groupByResults = buildUnnamed1905(); + o.groupByResults = buildUnnamed1936(); o.nextPageToken = 'foo'; o.readTime = 'foo'; o.totalSize = 42; @@ -1072,7 +1178,7 @@ api.GroupAssetsResponse buildGroupAssetsResponse() { void checkGroupAssetsResponse(api.GroupAssetsResponse o) { buildCounterGroupAssetsResponse++; if (buildCounterGroupAssetsResponse < 3) { - checkUnnamed1905(o.groupByResults!); + checkUnnamed1936(o.groupByResults!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1136,12 +1242,12 @@ void checkGroupFindingsRequest(api.GroupFindingsRequest o) { buildCounterGroupFindingsRequest--; } -core.List buildUnnamed1906() => [ +core.List buildUnnamed1937() => [ buildGroupResult(), buildGroupResult(), ]; -void checkUnnamed1906(core.List o) { +void checkUnnamed1937(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupResult(o[0]); checkGroupResult(o[1]); @@ -1152,7 +1258,7 @@ api.GroupFindingsResponse buildGroupFindingsResponse() { final o = api.GroupFindingsResponse(); buildCounterGroupFindingsResponse++; if (buildCounterGroupFindingsResponse < 3) { - o.groupByResults = buildUnnamed1906(); + o.groupByResults = buildUnnamed1937(); o.nextPageToken = 'foo'; o.readTime = 'foo'; o.totalSize = 42; @@ -1164,7 +1270,7 @@ api.GroupFindingsResponse buildGroupFindingsResponse() { void checkGroupFindingsResponse(api.GroupFindingsResponse o) { buildCounterGroupFindingsResponse++; if (buildCounterGroupFindingsResponse < 3) { - checkUnnamed1906(o.groupByResults!); + checkUnnamed1937(o.groupByResults!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1181,7 +1287,7 @@ void checkGroupFindingsResponse(api.GroupFindingsResponse o) { buildCounterGroupFindingsResponse--; } -core.Map buildUnnamed1907() => { +core.Map buildUnnamed1938() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1194,7 +1300,7 @@ core.Map buildUnnamed1907() => { }, }; -void checkUnnamed1907(core.Map o) { +void checkUnnamed1938(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1232,7 +1338,7 @@ api.GroupResult buildGroupResult() { buildCounterGroupResult++; if (buildCounterGroupResult < 3) { o.count = 'foo'; - o.properties = buildUnnamed1907(); + o.properties = buildUnnamed1938(); } buildCounterGroupResult--; return o; @@ -1245,7 +1351,7 @@ void checkGroupResult(api.GroupResult o) { o.count!, unittest.equals('foo'), ); - checkUnnamed1907(o.properties!); + checkUnnamed1938(o.properties!); } buildCounterGroupResult--; } @@ -1272,12 +1378,12 @@ void checkIamPolicy(api.IamPolicy o) { buildCounterIamPolicy--; } -core.List buildUnnamed1908() => [ +core.List buildUnnamed1939() => [ 'foo', 'foo', ]; -void checkUnnamed1908(core.List o) { +void checkUnnamed1939(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1289,12 +1395,12 @@ void checkUnnamed1908(core.List o) { ); } -core.List buildUnnamed1909() => [ +core.List buildUnnamed1940() => [ 'foo', 'foo', ]; -void checkUnnamed1909(core.List o) { +void checkUnnamed1940(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1311,8 +1417,8 @@ api.Indicator buildIndicator() { final o = api.Indicator(); buildCounterIndicator++; if (buildCounterIndicator < 3) { - o.domains = buildUnnamed1908(); - o.ipAddresses = buildUnnamed1909(); + o.domains = buildUnnamed1939(); + o.ipAddresses = buildUnnamed1940(); } buildCounterIndicator--; return o; @@ -1321,18 +1427,18 @@ api.Indicator buildIndicator() { void checkIndicator(api.Indicator o) { buildCounterIndicator++; if (buildCounterIndicator < 3) { - checkUnnamed1908(o.domains!); - checkUnnamed1909(o.ipAddresses!); + checkUnnamed1939(o.domains!); + checkUnnamed1940(o.ipAddresses!); } buildCounterIndicator--; } -core.List buildUnnamed1910() => [ +core.List buildUnnamed1941() => [ buildListAssetsResult(), buildListAssetsResult(), ]; -void checkUnnamed1910(core.List o) { +void checkUnnamed1941(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListAssetsResult(o[0]); checkListAssetsResult(o[1]); @@ -1343,7 +1449,7 @@ api.ListAssetsResponse buildListAssetsResponse() { final o = api.ListAssetsResponse(); buildCounterListAssetsResponse++; if (buildCounterListAssetsResponse < 3) { - o.listAssetsResults = buildUnnamed1910(); + o.listAssetsResults = buildUnnamed1941(); o.nextPageToken = 'foo'; o.readTime = 'foo'; o.totalSize = 42; @@ -1355,7 +1461,7 @@ api.ListAssetsResponse buildListAssetsResponse() { void checkListAssetsResponse(api.ListAssetsResponse o) { buildCounterListAssetsResponse++; if (buildCounterListAssetsResponse < 3) { - checkUnnamed1910(o.listAssetsResults!); + checkUnnamed1941(o.listAssetsResults!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1396,12 +1502,12 @@ void checkListAssetsResult(api.ListAssetsResult o) { buildCounterListAssetsResult--; } -core.List buildUnnamed1911() => [ +core.List buildUnnamed1942() => [ buildListFindingsResult(), buildListFindingsResult(), ]; -void checkUnnamed1911(core.List o) { +void checkUnnamed1942(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkListFindingsResult(o[0]); checkListFindingsResult(o[1]); @@ -1412,7 +1518,7 @@ api.ListFindingsResponse buildListFindingsResponse() { final o = api.ListFindingsResponse(); buildCounterListFindingsResponse++; if (buildCounterListFindingsResponse < 3) { - o.listFindingsResults = buildUnnamed1911(); + o.listFindingsResults = buildUnnamed1942(); o.nextPageToken = 'foo'; o.readTime = 'foo'; o.totalSize = 42; @@ -1424,7 +1530,7 @@ api.ListFindingsResponse buildListFindingsResponse() { void checkListFindingsResponse(api.ListFindingsResponse o) { buildCounterListFindingsResponse++; if (buildCounterListFindingsResponse < 3) { - checkUnnamed1911(o.listFindingsResults!); + checkUnnamed1942(o.listFindingsResults!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1467,12 +1573,12 @@ void checkListFindingsResult(api.ListFindingsResult o) { buildCounterListFindingsResult--; } -core.List buildUnnamed1912() => [ +core.List buildUnnamed1943() => [ buildNotificationConfig(), buildNotificationConfig(), ]; -void checkUnnamed1912(core.List o) { +void checkUnnamed1943(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotificationConfig(o[0]); checkNotificationConfig(o[1]); @@ -1484,7 +1590,7 @@ api.ListNotificationConfigsResponse buildListNotificationConfigsResponse() { buildCounterListNotificationConfigsResponse++; if (buildCounterListNotificationConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.notificationConfigs = buildUnnamed1912(); + o.notificationConfigs = buildUnnamed1943(); } buildCounterListNotificationConfigsResponse--; return o; @@ -1498,17 +1604,17 @@ void checkListNotificationConfigsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1912(o.notificationConfigs!); + checkUnnamed1943(o.notificationConfigs!); } buildCounterListNotificationConfigsResponse--; } -core.List buildUnnamed1913() => [ +core.List buildUnnamed1944() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1913(core.List o) { +void checkUnnamed1944(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1520,7 +1626,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1913(); + o.operations = buildUnnamed1944(); } buildCounterListOperationsResponse--; return o; @@ -1533,17 +1639,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1913(o.operations!); + checkUnnamed1944(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed1914() => [ +core.List buildUnnamed1945() => [ buildSource(), buildSource(), ]; -void checkUnnamed1914(core.List o) { +void checkUnnamed1945(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -1555,7 +1661,7 @@ api.ListSourcesResponse buildListSourcesResponse() { buildCounterListSourcesResponse++; if (buildCounterListSourcesResponse < 3) { o.nextPageToken = 'foo'; - o.sources = buildUnnamed1914(); + o.sources = buildUnnamed1945(); } buildCounterListSourcesResponse--; return o; @@ -1568,7 +1674,7 @@ void checkListSourcesResponse(api.ListSourcesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1914(o.sources!); + checkUnnamed1945(o.sources!); } buildCounterListSourcesResponse--; } @@ -1612,7 +1718,7 @@ void checkNotificationConfig(api.NotificationConfig o) { buildCounterNotificationConfig--; } -core.Map buildUnnamed1915() => { +core.Map buildUnnamed1946() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1625,7 +1731,7 @@ core.Map buildUnnamed1915() => { }, }; -void checkUnnamed1915(core.Map o) { +void checkUnnamed1946(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -1657,7 +1763,7 @@ void checkUnnamed1915(core.Map o) { ); } -core.Map buildUnnamed1916() => { +core.Map buildUnnamed1947() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1670,7 +1776,7 @@ core.Map buildUnnamed1916() => { }, }; -void checkUnnamed1916(core.Map o) { +void checkUnnamed1947(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -1709,9 +1815,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1915(); + o.metadata = buildUnnamed1946(); o.name = 'foo'; - o.response = buildUnnamed1916(); + o.response = buildUnnamed1947(); } buildCounterOperation--; return o; @@ -1722,12 +1828,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1915(o.metadata!); + checkUnnamed1946(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1916(o.response!); + checkUnnamed1947(o.response!); } buildCounterOperation--; } @@ -1758,23 +1864,23 @@ void checkOrganizationSettings(api.OrganizationSettings o) { buildCounterOrganizationSettings--; } -core.List buildUnnamed1917() => [ +core.List buildUnnamed1948() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed1917(core.List o) { +void checkUnnamed1948(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed1918() => [ +core.List buildUnnamed1949() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed1918(core.List o) { +void checkUnnamed1949(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1785,8 +1891,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed1917(); - o.bindings = buildUnnamed1918(); + o.auditConfigs = buildUnnamed1948(); + o.bindings = buildUnnamed1949(); o.etag = 'foo'; o.version = 42; } @@ -1797,8 +1903,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed1917(o.auditConfigs!); - checkUnnamed1918(o.bindings!); + checkUnnamed1948(o.auditConfigs!); + checkUnnamed1949(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1811,12 +1917,39 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed1919() => [ +core.int buildCounterReference = 0; +api.Reference buildReference() { + final o = api.Reference(); + buildCounterReference++; + if (buildCounterReference < 3) { + o.source = 'foo'; + o.uri = 'foo'; + } + buildCounterReference--; + return o; +} + +void checkReference(api.Reference o) { + buildCounterReference++; + if (buildCounterReference < 3) { + unittest.expect( + o.source!, + unittest.equals('foo'), + ); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterReference--; +} + +core.List buildUnnamed1950() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed1919(core.List o) { +void checkUnnamed1950(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -1827,7 +1960,7 @@ api.Resource buildResource() { final o = api.Resource(); buildCounterResource++; if (buildCounterResource < 3) { - o.folders = buildUnnamed1919(); + o.folders = buildUnnamed1950(); o.name = 'foo'; o.parentDisplayName = 'foo'; o.parentName = 'foo'; @@ -1841,7 +1974,7 @@ api.Resource buildResource() { void checkResource(api.Resource o) { buildCounterResource++; if (buildCounterResource < 3) { - checkUnnamed1919(o.folders!); + checkUnnamed1950(o.folders!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1881,23 +2014,23 @@ void checkRunAssetDiscoveryRequest(api.RunAssetDiscoveryRequest o) { buildCounterRunAssetDiscoveryRequest--; } -core.List buildUnnamed1920() => [ +core.List buildUnnamed1951() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed1920(core.List o) { +void checkUnnamed1951(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); } -core.List buildUnnamed1921() => [ +core.List buildUnnamed1952() => [ 'foo', 'foo', ]; -void checkUnnamed1921(core.List o) { +void checkUnnamed1952(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1914,10 +2047,10 @@ api.SecurityCenterProperties buildSecurityCenterProperties() { final o = api.SecurityCenterProperties(); buildCounterSecurityCenterProperties++; if (buildCounterSecurityCenterProperties < 3) { - o.folders = buildUnnamed1920(); + o.folders = buildUnnamed1951(); o.resourceDisplayName = 'foo'; o.resourceName = 'foo'; - o.resourceOwners = buildUnnamed1921(); + o.resourceOwners = buildUnnamed1952(); o.resourceParent = 'foo'; o.resourceParentDisplayName = 'foo'; o.resourceProject = 'foo'; @@ -1931,7 +2064,7 @@ api.SecurityCenterProperties buildSecurityCenterProperties() { void checkSecurityCenterProperties(api.SecurityCenterProperties o) { buildCounterSecurityCenterProperties++; if (buildCounterSecurityCenterProperties < 3) { - checkUnnamed1920(o.folders!); + checkUnnamed1951(o.folders!); unittest.expect( o.resourceDisplayName!, unittest.equals('foo'), @@ -1940,7 +2073,7 @@ void checkSecurityCenterProperties(api.SecurityCenterProperties o) { o.resourceName!, unittest.equals('foo'), ); - checkUnnamed1921(o.resourceOwners!); + checkUnnamed1952(o.resourceOwners!); unittest.expect( o.resourceParent!, unittest.equals('foo'), @@ -1965,12 +2098,12 @@ void checkSecurityCenterProperties(api.SecurityCenterProperties o) { buildCounterSecurityCenterProperties--; } -core.Map buildUnnamed1922() => { +core.Map buildUnnamed1953() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1922(core.Map o) { +void checkUnnamed1953(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1988,7 +2121,7 @@ api.SecurityMarks buildSecurityMarks() { buildCounterSecurityMarks++; if (buildCounterSecurityMarks < 3) { o.canonicalName = 'foo'; - o.marks = buildUnnamed1922(); + o.marks = buildUnnamed1953(); o.name = 'foo'; } buildCounterSecurityMarks--; @@ -2002,7 +2135,7 @@ void checkSecurityMarks(api.SecurityMarks o) { o.canonicalName!, unittest.equals('foo'), ); - checkUnnamed1922(o.marks!); + checkUnnamed1953(o.marks!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2099,7 +2232,7 @@ void checkSource(api.Source o) { buildCounterSource--; } -core.Map buildUnnamed1923() => { +core.Map buildUnnamed1954() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2112,7 +2245,7 @@ core.Map buildUnnamed1923() => { }, }; -void checkUnnamed1923(core.Map o) { +void checkUnnamed1954(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -2144,15 +2277,15 @@ void checkUnnamed1923(core.Map o) { ); } -core.List> buildUnnamed1924() => [ - buildUnnamed1923(), - buildUnnamed1923(), +core.List> buildUnnamed1955() => [ + buildUnnamed1954(), + buildUnnamed1954(), ]; -void checkUnnamed1924(core.List> o) { +void checkUnnamed1955(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1923(o[0]); - checkUnnamed1923(o[1]); + checkUnnamed1954(o[0]); + checkUnnamed1954(o[1]); } core.int buildCounterStatus = 0; @@ -2161,7 +2294,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1924(); + o.details = buildUnnamed1955(); o.message = 'foo'; } buildCounterStatus--; @@ -2175,7 +2308,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1924(o.details!); + checkUnnamed1955(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2206,12 +2339,12 @@ void checkStreamingConfig(api.StreamingConfig o) { buildCounterStreamingConfig--; } -core.List buildUnnamed1925() => [ +core.List buildUnnamed1956() => [ 'foo', 'foo', ]; -void checkUnnamed1925(core.List o) { +void checkUnnamed1956(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2228,7 +2361,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed1925(); + o.permissions = buildUnnamed1956(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2237,17 +2370,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed1925(o.permissions!); + checkUnnamed1956(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed1926() => [ +core.List buildUnnamed1957() => [ 'foo', 'foo', ]; -void checkUnnamed1926(core.List o) { +void checkUnnamed1957(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2264,7 +2397,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed1926(); + o.permissions = buildUnnamed1957(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2273,11 +2406,30 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed1926(o.permissions!); + checkUnnamed1957(o.permissions!); } buildCounterTestIamPermissionsResponse--; } +core.int buildCounterVulnerability = 0; +api.Vulnerability buildVulnerability() { + final o = api.Vulnerability(); + buildCounterVulnerability++; + if (buildCounterVulnerability < 3) { + o.cve = buildCve(); + } + buildCounterVulnerability--; + return o; +} + +void checkVulnerability(api.Vulnerability o) { + buildCounterVulnerability++; + if (buildCounterVulnerability < 3) { + checkCve(o.cve!); + } + buildCounterVulnerability--; +} + void main() { unittest.group('obj-schema-Asset', () { unittest.test('to-json--from-json', () async { @@ -2329,6 +2481,25 @@ void main() { }); }); + unittest.group('obj-schema-Cve', () { + unittest.test('to-json--from-json', () async { + final o = buildCve(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Cve.fromJson(oJson as core.Map); + checkCve(od); + }); + }); + + unittest.group('obj-schema-Cvssv3', () { + unittest.test('to-json--from-json', () async { + final o = buildCvssv3(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Cvssv3.fromJson(oJson as core.Map); + checkCvssv3(od); + }); + }); + unittest.group('obj-schema-Empty', () { unittest.test('to-json--from-json', () async { final o = buildEmpty(); @@ -2681,6 +2852,16 @@ void main() { }); }); + unittest.group('obj-schema-Reference', () { + unittest.test('to-json--from-json', () async { + final o = buildReference(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Reference.fromJson(oJson as core.Map); + checkReference(od); + }); + }); + unittest.group('obj-schema-Resource', () { unittest.test('to-json--from-json', () async { final o = buildResource(); @@ -2791,6 +2972,16 @@ void main() { }); }); + unittest.group('obj-schema-Vulnerability', () { + unittest.test('to-json--from-json', () async { + final o = buildVulnerability(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Vulnerability.fromJson( + oJson as core.Map); + checkVulnerability(od); + }); + }); + unittest.group('resource-FoldersAssetsResource', () { unittest.test('method--group', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart index 17d82883d..16da3eac6 100644 --- a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart +++ b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart @@ -50,34 +50,34 @@ void checkAddTenantProjectRequest(api.AddTenantProjectRequest o) { buildCounterAddTenantProjectRequest--; } -core.List buildUnnamed4774() => [ +core.List buildUnnamed4818() => [ buildMethod(), buildMethod(), ]; -void checkUnnamed4774(core.List o) { +void checkUnnamed4818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMethod(o[0]); checkMethod(o[1]); } -core.List buildUnnamed4775() => [ +core.List buildUnnamed4819() => [ buildMixin(), buildMixin(), ]; -void checkUnnamed4775(core.List o) { +void checkUnnamed4819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMixin(o[0]); checkMixin(o[1]); } -core.List buildUnnamed4776() => [ +core.List buildUnnamed4820() => [ buildOption(), buildOption(), ]; -void checkUnnamed4776(core.List o) { +void checkUnnamed4820(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -88,10 +88,10 @@ api.Api buildApi() { final o = api.Api(); buildCounterApi++; if (buildCounterApi < 3) { - o.methods = buildUnnamed4774(); - o.mixins = buildUnnamed4775(); + o.methods = buildUnnamed4818(); + o.mixins = buildUnnamed4819(); o.name = 'foo'; - o.options = buildUnnamed4776(); + o.options = buildUnnamed4820(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; o.version = 'foo'; @@ -103,13 +103,13 @@ api.Api buildApi() { void checkApi(api.Api o) { buildCounterApi++; if (buildCounterApi < 3) { - checkUnnamed4774(o.methods!); - checkUnnamed4775(o.mixins!); + checkUnnamed4818(o.methods!); + checkUnnamed4819(o.mixins!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4776(o.options!); + checkUnnamed4820(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -180,12 +180,12 @@ void checkAttachTenantProjectRequest(api.AttachTenantProjectRequest o) { buildCounterAttachTenantProjectRequest--; } -core.List buildUnnamed4777() => [ +core.List buildUnnamed4821() => [ buildJwtLocation(), buildJwtLocation(), ]; -void checkUnnamed4777(core.List o) { +void checkUnnamed4821(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwtLocation(o[0]); checkJwtLocation(o[1]); @@ -201,7 +201,7 @@ api.AuthProvider buildAuthProvider() { o.id = 'foo'; o.issuer = 'foo'; o.jwksUri = 'foo'; - o.jwtLocations = buildUnnamed4777(); + o.jwtLocations = buildUnnamed4821(); } buildCounterAuthProvider--; return o; @@ -230,7 +230,7 @@ void checkAuthProvider(api.AuthProvider o) { o.jwksUri!, unittest.equals('foo'), ); - checkUnnamed4777(o.jwtLocations!); + checkUnnamed4821(o.jwtLocations!); } buildCounterAuthProvider--; } @@ -262,23 +262,23 @@ void checkAuthRequirement(api.AuthRequirement o) { buildCounterAuthRequirement--; } -core.List buildUnnamed4778() => [ +core.List buildUnnamed4822() => [ buildAuthProvider(), buildAuthProvider(), ]; -void checkUnnamed4778(core.List o) { +void checkUnnamed4822(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthProvider(o[0]); checkAuthProvider(o[1]); } -core.List buildUnnamed4779() => [ +core.List buildUnnamed4823() => [ buildAuthenticationRule(), buildAuthenticationRule(), ]; -void checkUnnamed4779(core.List o) { +void checkUnnamed4823(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthenticationRule(o[0]); checkAuthenticationRule(o[1]); @@ -289,8 +289,8 @@ api.Authentication buildAuthentication() { final o = api.Authentication(); buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - o.providers = buildUnnamed4778(); - o.rules = buildUnnamed4779(); + o.providers = buildUnnamed4822(); + o.rules = buildUnnamed4823(); } buildCounterAuthentication--; return o; @@ -299,18 +299,18 @@ api.Authentication buildAuthentication() { void checkAuthentication(api.Authentication o) { buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - checkUnnamed4778(o.providers!); - checkUnnamed4779(o.rules!); + checkUnnamed4822(o.providers!); + checkUnnamed4823(o.rules!); } buildCounterAuthentication--; } -core.List buildUnnamed4780() => [ +core.List buildUnnamed4824() => [ buildAuthRequirement(), buildAuthRequirement(), ]; -void checkUnnamed4780(core.List o) { +void checkUnnamed4824(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthRequirement(o[0]); checkAuthRequirement(o[1]); @@ -323,7 +323,7 @@ api.AuthenticationRule buildAuthenticationRule() { if (buildCounterAuthenticationRule < 3) { o.allowWithoutCredential = true; o.oauth = buildOAuthRequirements(); - o.requirements = buildUnnamed4780(); + o.requirements = buildUnnamed4824(); o.selector = 'foo'; } buildCounterAuthenticationRule--; @@ -335,7 +335,7 @@ void checkAuthenticationRule(api.AuthenticationRule o) { if (buildCounterAuthenticationRule < 3) { unittest.expect(o.allowWithoutCredential!, unittest.isTrue); checkOAuthRequirements(o.oauth!); - checkUnnamed4780(o.requirements!); + checkUnnamed4824(o.requirements!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -344,12 +344,12 @@ void checkAuthenticationRule(api.AuthenticationRule o) { buildCounterAuthenticationRule--; } -core.List buildUnnamed4781() => [ +core.List buildUnnamed4825() => [ buildBackendRule(), buildBackendRule(), ]; -void checkUnnamed4781(core.List o) { +void checkUnnamed4825(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendRule(o[0]); checkBackendRule(o[1]); @@ -360,7 +360,7 @@ api.Backend buildBackend() { final o = api.Backend(); buildCounterBackend++; if (buildCounterBackend < 3) { - o.rules = buildUnnamed4781(); + o.rules = buildUnnamed4825(); } buildCounterBackend--; return o; @@ -369,7 +369,7 @@ api.Backend buildBackend() { void checkBackend(api.Backend o) { buildCounterBackend++; if (buildCounterBackend < 3) { - checkUnnamed4781(o.rules!); + checkUnnamed4825(o.rules!); } buildCounterBackend--; } @@ -428,12 +428,12 @@ void checkBackendRule(api.BackendRule o) { buildCounterBackendRule--; } -core.List buildUnnamed4782() => [ +core.List buildUnnamed4826() => [ buildBillingDestination(), buildBillingDestination(), ]; -void checkUnnamed4782(core.List o) { +void checkUnnamed4826(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBillingDestination(o[0]); checkBillingDestination(o[1]); @@ -444,7 +444,7 @@ api.Billing buildBilling() { final o = api.Billing(); buildCounterBilling++; if (buildCounterBilling < 3) { - o.consumerDestinations = buildUnnamed4782(); + o.consumerDestinations = buildUnnamed4826(); } buildCounterBilling--; return o; @@ -453,7 +453,7 @@ api.Billing buildBilling() { void checkBilling(api.Billing o) { buildCounterBilling++; if (buildCounterBilling < 3) { - checkUnnamed4782(o.consumerDestinations!); + checkUnnamed4826(o.consumerDestinations!); } buildCounterBilling--; } @@ -480,12 +480,12 @@ void checkBillingConfig(api.BillingConfig o) { buildCounterBillingConfig--; } -core.List buildUnnamed4783() => [ +core.List buildUnnamed4827() => [ 'foo', 'foo', ]; -void checkUnnamed4783(core.List o) { +void checkUnnamed4827(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -502,7 +502,7 @@ api.BillingDestination buildBillingDestination() { final o = api.BillingDestination(); buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - o.metrics = buildUnnamed4783(); + o.metrics = buildUnnamed4827(); o.monitoredResource = 'foo'; } buildCounterBillingDestination--; @@ -512,7 +512,7 @@ api.BillingDestination buildBillingDestination() { void checkBillingDestination(api.BillingDestination o) { buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - checkUnnamed4783(o.metrics!); + checkUnnamed4827(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -536,12 +536,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.List buildUnnamed4784() => [ +core.List buildUnnamed4828() => [ buildContextRule(), buildContextRule(), ]; -void checkUnnamed4784(core.List o) { +void checkUnnamed4828(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextRule(o[0]); checkContextRule(o[1]); @@ -552,7 +552,7 @@ api.Context buildContext() { final o = api.Context(); buildCounterContext++; if (buildCounterContext < 3) { - o.rules = buildUnnamed4784(); + o.rules = buildUnnamed4828(); } buildCounterContext--; return o; @@ -561,17 +561,17 @@ api.Context buildContext() { void checkContext(api.Context o) { buildCounterContext++; if (buildCounterContext < 3) { - checkUnnamed4784(o.rules!); + checkUnnamed4828(o.rules!); } buildCounterContext--; } -core.List buildUnnamed4785() => [ +core.List buildUnnamed4829() => [ 'foo', 'foo', ]; -void checkUnnamed4785(core.List o) { +void checkUnnamed4829(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -583,12 +583,12 @@ void checkUnnamed4785(core.List o) { ); } -core.List buildUnnamed4786() => [ +core.List buildUnnamed4830() => [ 'foo', 'foo', ]; -void checkUnnamed4786(core.List o) { +void checkUnnamed4830(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -600,12 +600,12 @@ void checkUnnamed4786(core.List o) { ); } -core.List buildUnnamed4787() => [ +core.List buildUnnamed4831() => [ 'foo', 'foo', ]; -void checkUnnamed4787(core.List o) { +void checkUnnamed4831(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -617,12 +617,12 @@ void checkUnnamed4787(core.List o) { ); } -core.List buildUnnamed4788() => [ +core.List buildUnnamed4832() => [ 'foo', 'foo', ]; -void checkUnnamed4788(core.List o) { +void checkUnnamed4832(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -639,10 +639,10 @@ api.ContextRule buildContextRule() { final o = api.ContextRule(); buildCounterContextRule++; if (buildCounterContextRule < 3) { - o.allowedRequestExtensions = buildUnnamed4785(); - o.allowedResponseExtensions = buildUnnamed4786(); - o.provided = buildUnnamed4787(); - o.requested = buildUnnamed4788(); + o.allowedRequestExtensions = buildUnnamed4829(); + o.allowedResponseExtensions = buildUnnamed4830(); + o.provided = buildUnnamed4831(); + o.requested = buildUnnamed4832(); o.selector = 'foo'; } buildCounterContextRule--; @@ -652,10 +652,10 @@ api.ContextRule buildContextRule() { void checkContextRule(api.ContextRule o) { buildCounterContextRule++; if (buildCounterContextRule < 3) { - checkUnnamed4785(o.allowedRequestExtensions!); - checkUnnamed4786(o.allowedResponseExtensions!); - checkUnnamed4787(o.provided!); - checkUnnamed4788(o.requested!); + checkUnnamed4829(o.allowedRequestExtensions!); + checkUnnamed4830(o.allowedResponseExtensions!); + checkUnnamed4831(o.provided!); + checkUnnamed4832(o.requested!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -708,23 +708,23 @@ void checkCreateTenancyUnitRequest(api.CreateTenancyUnitRequest o) { buildCounterCreateTenancyUnitRequest--; } -core.List buildUnnamed4789() => [ +core.List buildUnnamed4833() => [ buildCustomErrorRule(), buildCustomErrorRule(), ]; -void checkUnnamed4789(core.List o) { +void checkUnnamed4833(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomErrorRule(o[0]); checkCustomErrorRule(o[1]); } -core.List buildUnnamed4790() => [ +core.List buildUnnamed4834() => [ 'foo', 'foo', ]; -void checkUnnamed4790(core.List o) { +void checkUnnamed4834(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -741,8 +741,8 @@ api.CustomError buildCustomError() { final o = api.CustomError(); buildCounterCustomError++; if (buildCounterCustomError < 3) { - o.rules = buildUnnamed4789(); - o.types = buildUnnamed4790(); + o.rules = buildUnnamed4833(); + o.types = buildUnnamed4834(); } buildCounterCustomError--; return o; @@ -751,8 +751,8 @@ api.CustomError buildCustomError() { void checkCustomError(api.CustomError o) { buildCounterCustomError++; if (buildCounterCustomError < 3) { - checkUnnamed4789(o.rules!); - checkUnnamed4790(o.types!); + checkUnnamed4833(o.rules!); + checkUnnamed4834(o.types!); } buildCounterCustomError--; } @@ -830,23 +830,23 @@ void checkDeleteTenantProjectRequest(api.DeleteTenantProjectRequest o) { buildCounterDeleteTenantProjectRequest--; } -core.List buildUnnamed4791() => [ +core.List buildUnnamed4835() => [ buildPage(), buildPage(), ]; -void checkUnnamed4791(core.List o) { +void checkUnnamed4835(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); } -core.List buildUnnamed4792() => [ +core.List buildUnnamed4836() => [ buildDocumentationRule(), buildDocumentationRule(), ]; -void checkUnnamed4792(core.List o) { +void checkUnnamed4836(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDocumentationRule(o[0]); checkDocumentationRule(o[1]); @@ -859,8 +859,8 @@ api.Documentation buildDocumentation() { if (buildCounterDocumentation < 3) { o.documentationRootUrl = 'foo'; o.overview = 'foo'; - o.pages = buildUnnamed4791(); - o.rules = buildUnnamed4792(); + o.pages = buildUnnamed4835(); + o.rules = buildUnnamed4836(); o.serviceRootUrl = 'foo'; o.summary = 'foo'; } @@ -879,8 +879,8 @@ void checkDocumentation(api.Documentation o) { o.overview!, unittest.equals('foo'), ); - checkUnnamed4791(o.pages!); - checkUnnamed4792(o.rules!); + checkUnnamed4835(o.pages!); + checkUnnamed4836(o.rules!); unittest.expect( o.serviceRootUrl!, unittest.equals('foo'), @@ -969,23 +969,23 @@ void checkEndpoint(api.Endpoint o) { buildCounterEndpoint--; } -core.List buildUnnamed4793() => [ +core.List buildUnnamed4837() => [ buildEnumValue(), buildEnumValue(), ]; -void checkUnnamed4793(core.List o) { +void checkUnnamed4837(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnumValue(o[0]); checkEnumValue(o[1]); } -core.List buildUnnamed4794() => [ +core.List buildUnnamed4838() => [ buildOption(), buildOption(), ]; -void checkUnnamed4794(core.List o) { +void checkUnnamed4838(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -996,9 +996,9 @@ api.Enum buildEnum() { final o = api.Enum(); buildCounterEnum++; if (buildCounterEnum < 3) { - o.enumvalue = buildUnnamed4793(); + o.enumvalue = buildUnnamed4837(); o.name = 'foo'; - o.options = buildUnnamed4794(); + o.options = buildUnnamed4838(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -1009,12 +1009,12 @@ api.Enum buildEnum() { void checkEnum(api.Enum o) { buildCounterEnum++; if (buildCounterEnum < 3) { - checkUnnamed4793(o.enumvalue!); + checkUnnamed4837(o.enumvalue!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4794(o.options!); + checkUnnamed4838(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -1024,12 +1024,12 @@ void checkEnum(api.Enum o) { buildCounterEnum--; } -core.List buildUnnamed4795() => [ +core.List buildUnnamed4839() => [ buildOption(), buildOption(), ]; -void checkUnnamed4795(core.List o) { +void checkUnnamed4839(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1042,7 +1042,7 @@ api.EnumValue buildEnumValue() { if (buildCounterEnumValue < 3) { o.name = 'foo'; o.number = 42; - o.options = buildUnnamed4795(); + o.options = buildUnnamed4839(); } buildCounterEnumValue--; return o; @@ -1059,17 +1059,17 @@ void checkEnumValue(api.EnumValue o) { o.number!, unittest.equals(42), ); - checkUnnamed4795(o.options!); + checkUnnamed4839(o.options!); } buildCounterEnumValue--; } -core.List buildUnnamed4796() => [ +core.List buildUnnamed4840() => [ buildOption(), buildOption(), ]; -void checkUnnamed4796(core.List o) { +void checkUnnamed4840(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1087,7 +1087,7 @@ api.Field buildField() { o.name = 'foo'; o.number = 42; o.oneofIndex = 42; - o.options = buildUnnamed4796(); + o.options = buildUnnamed4840(); o.packed = true; o.typeUrl = 'foo'; } @@ -1126,7 +1126,7 @@ void checkField(api.Field o) { o.oneofIndex!, unittest.equals(42), ); - checkUnnamed4796(o.options!); + checkUnnamed4840(o.options!); unittest.expect(o.packed!, unittest.isTrue); unittest.expect( o.typeUrl!, @@ -1136,12 +1136,12 @@ void checkField(api.Field o) { buildCounterField--; } -core.List buildUnnamed4797() => [ +core.List buildUnnamed4841() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed4797(core.List o) { +void checkUnnamed4841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1153,7 +1153,7 @@ api.Http buildHttp() { buildCounterHttp++; if (buildCounterHttp < 3) { o.fullyDecodeReservedExpansion = true; - o.rules = buildUnnamed4797(); + o.rules = buildUnnamed4841(); } buildCounterHttp--; return o; @@ -1163,17 +1163,17 @@ void checkHttp(api.Http o) { buildCounterHttp++; if (buildCounterHttp < 3) { unittest.expect(o.fullyDecodeReservedExpansion!, unittest.isTrue); - checkUnnamed4797(o.rules!); + checkUnnamed4841(o.rules!); } buildCounterHttp--; } -core.List buildUnnamed4798() => [ +core.List buildUnnamed4842() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed4798(core.List o) { +void checkUnnamed4842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1184,7 +1184,7 @@ api.HttpRule buildHttpRule() { final o = api.HttpRule(); buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - o.additionalBindings = buildUnnamed4798(); + o.additionalBindings = buildUnnamed4842(); o.body = 'foo'; o.custom = buildCustomHttpPattern(); o.delete = 'foo'; @@ -1202,7 +1202,7 @@ api.HttpRule buildHttpRule() { void checkHttpRule(api.HttpRule o) { buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - checkUnnamed4798(o.additionalBindings!); + checkUnnamed4842(o.additionalBindings!); unittest.expect( o.body!, unittest.equals('foo'), @@ -1304,12 +1304,12 @@ void checkLabelDescriptor(api.LabelDescriptor o) { buildCounterLabelDescriptor--; } -core.List buildUnnamed4799() => [ +core.List buildUnnamed4843() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4799(core.List o) { +void checkUnnamed4843(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1321,7 +1321,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4799(); + o.operations = buildUnnamed4843(); } buildCounterListOperationsResponse--; return o; @@ -1334,17 +1334,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4799(o.operations!); + checkUnnamed4843(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed4800() => [ +core.List buildUnnamed4844() => [ buildTenancyUnit(), buildTenancyUnit(), ]; -void checkUnnamed4800(core.List o) { +void checkUnnamed4844(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTenancyUnit(o[0]); checkTenancyUnit(o[1]); @@ -1356,7 +1356,7 @@ api.ListTenancyUnitsResponse buildListTenancyUnitsResponse() { buildCounterListTenancyUnitsResponse++; if (buildCounterListTenancyUnitsResponse < 3) { o.nextPageToken = 'foo'; - o.tenancyUnits = buildUnnamed4800(); + o.tenancyUnits = buildUnnamed4844(); } buildCounterListTenancyUnitsResponse--; return o; @@ -1369,17 +1369,17 @@ void checkListTenancyUnitsResponse(api.ListTenancyUnitsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4800(o.tenancyUnits!); + checkUnnamed4844(o.tenancyUnits!); } buildCounterListTenancyUnitsResponse--; } -core.List buildUnnamed4801() => [ +core.List buildUnnamed4845() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed4801(core.List o) { +void checkUnnamed4845(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -1392,7 +1392,7 @@ api.LogDescriptor buildLogDescriptor() { if (buildCounterLogDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed4801(); + o.labels = buildUnnamed4845(); o.name = 'foo'; } buildCounterLogDescriptor--; @@ -1410,7 +1410,7 @@ void checkLogDescriptor(api.LogDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4801(o.labels!); + checkUnnamed4845(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1419,23 +1419,23 @@ void checkLogDescriptor(api.LogDescriptor o) { buildCounterLogDescriptor--; } -core.List buildUnnamed4802() => [ +core.List buildUnnamed4846() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed4802(core.List o) { +void checkUnnamed4846(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); } -core.List buildUnnamed4803() => [ +core.List buildUnnamed4847() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed4803(core.List o) { +void checkUnnamed4847(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); @@ -1446,8 +1446,8 @@ api.Logging buildLogging() { final o = api.Logging(); buildCounterLogging++; if (buildCounterLogging < 3) { - o.consumerDestinations = buildUnnamed4802(); - o.producerDestinations = buildUnnamed4803(); + o.consumerDestinations = buildUnnamed4846(); + o.producerDestinations = buildUnnamed4847(); } buildCounterLogging--; return o; @@ -1456,18 +1456,18 @@ api.Logging buildLogging() { void checkLogging(api.Logging o) { buildCounterLogging++; if (buildCounterLogging < 3) { - checkUnnamed4802(o.consumerDestinations!); - checkUnnamed4803(o.producerDestinations!); + checkUnnamed4846(o.consumerDestinations!); + checkUnnamed4847(o.producerDestinations!); } buildCounterLogging--; } -core.List buildUnnamed4804() => [ +core.List buildUnnamed4848() => [ 'foo', 'foo', ]; -void checkUnnamed4804(core.List o) { +void checkUnnamed4848(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1484,7 +1484,7 @@ api.LoggingDestination buildLoggingDestination() { final o = api.LoggingDestination(); buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - o.logs = buildUnnamed4804(); + o.logs = buildUnnamed4848(); o.monitoredResource = 'foo'; } buildCounterLoggingDestination--; @@ -1494,7 +1494,7 @@ api.LoggingDestination buildLoggingDestination() { void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - checkUnnamed4804(o.logs!); + checkUnnamed4848(o.logs!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -1503,12 +1503,12 @@ void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination--; } -core.List buildUnnamed4805() => [ +core.List buildUnnamed4849() => [ buildOption(), buildOption(), ]; -void checkUnnamed4805(core.List o) { +void checkUnnamed4849(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1520,7 +1520,7 @@ api.Method buildMethod() { buildCounterMethod++; if (buildCounterMethod < 3) { o.name = 'foo'; - o.options = buildUnnamed4805(); + o.options = buildUnnamed4849(); o.requestStreaming = true; o.requestTypeUrl = 'foo'; o.responseStreaming = true; @@ -1538,7 +1538,7 @@ void checkMethod(api.Method o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4805(o.options!); + checkUnnamed4849(o.options!); unittest.expect(o.requestStreaming!, unittest.isTrue); unittest.expect( o.requestTypeUrl!, @@ -1557,23 +1557,23 @@ void checkMethod(api.Method o) { buildCounterMethod--; } -core.List buildUnnamed4806() => [ +core.List buildUnnamed4850() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed4806(core.List o) { +void checkUnnamed4850(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed4807() => [ +core.List buildUnnamed4851() => [ 'foo', 'foo', ]; -void checkUnnamed4807(core.List o) { +void checkUnnamed4851(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1592,11 +1592,11 @@ api.MetricDescriptor buildMetricDescriptor() { if (buildCounterMetricDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed4806(); + o.labels = buildUnnamed4850(); o.launchStage = 'foo'; o.metadata = buildMetricDescriptorMetadata(); o.metricKind = 'foo'; - o.monitoredResourceTypes = buildUnnamed4807(); + o.monitoredResourceTypes = buildUnnamed4851(); o.name = 'foo'; o.type = 'foo'; o.unit = 'foo'; @@ -1617,7 +1617,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4806(o.labels!); + checkUnnamed4850(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -1627,7 +1627,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed4807(o.monitoredResourceTypes!); + checkUnnamed4851(o.monitoredResourceTypes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1680,12 +1680,12 @@ void checkMetricDescriptorMetadata(api.MetricDescriptorMetadata o) { buildCounterMetricDescriptorMetadata--; } -core.Map buildUnnamed4808() => { +core.Map buildUnnamed4852() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4808(core.Map o) { +void checkUnnamed4852(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1702,7 +1702,7 @@ api.MetricRule buildMetricRule() { final o = api.MetricRule(); buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - o.metricCosts = buildUnnamed4808(); + o.metricCosts = buildUnnamed4852(); o.selector = 'foo'; } buildCounterMetricRule--; @@ -1712,7 +1712,7 @@ api.MetricRule buildMetricRule() { void checkMetricRule(api.MetricRule o) { buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - checkUnnamed4808(o.metricCosts!); + checkUnnamed4852(o.metricCosts!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -1748,12 +1748,12 @@ void checkMixin(api.Mixin o) { buildCounterMixin--; } -core.List buildUnnamed4809() => [ +core.List buildUnnamed4853() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed4809(core.List o) { +void checkUnnamed4853(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -1766,7 +1766,7 @@ api.MonitoredResourceDescriptor buildMonitoredResourceDescriptor() { if (buildCounterMonitoredResourceDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed4809(); + o.labels = buildUnnamed4853(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -1786,7 +1786,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4809(o.labels!); + checkUnnamed4853(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -1803,23 +1803,23 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { buildCounterMonitoredResourceDescriptor--; } -core.List buildUnnamed4810() => [ +core.List buildUnnamed4854() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed4810(core.List o) { +void checkUnnamed4854(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); } -core.List buildUnnamed4811() => [ +core.List buildUnnamed4855() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed4811(core.List o) { +void checkUnnamed4855(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); @@ -1830,8 +1830,8 @@ api.Monitoring buildMonitoring() { final o = api.Monitoring(); buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - o.consumerDestinations = buildUnnamed4810(); - o.producerDestinations = buildUnnamed4811(); + o.consumerDestinations = buildUnnamed4854(); + o.producerDestinations = buildUnnamed4855(); } buildCounterMonitoring--; return o; @@ -1840,18 +1840,18 @@ api.Monitoring buildMonitoring() { void checkMonitoring(api.Monitoring o) { buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - checkUnnamed4810(o.consumerDestinations!); - checkUnnamed4811(o.producerDestinations!); + checkUnnamed4854(o.consumerDestinations!); + checkUnnamed4855(o.producerDestinations!); } buildCounterMonitoring--; } -core.List buildUnnamed4812() => [ +core.List buildUnnamed4856() => [ 'foo', 'foo', ]; -void checkUnnamed4812(core.List o) { +void checkUnnamed4856(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1868,7 +1868,7 @@ api.MonitoringDestination buildMonitoringDestination() { final o = api.MonitoringDestination(); buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - o.metrics = buildUnnamed4812(); + o.metrics = buildUnnamed4856(); o.monitoredResource = 'foo'; } buildCounterMonitoringDestination--; @@ -1878,7 +1878,7 @@ api.MonitoringDestination buildMonitoringDestination() { void checkMonitoringDestination(api.MonitoringDestination o) { buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - checkUnnamed4812(o.metrics!); + checkUnnamed4856(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -1909,7 +1909,7 @@ void checkOAuthRequirements(api.OAuthRequirements o) { buildCounterOAuthRequirements--; } -core.Map buildUnnamed4813() => { +core.Map buildUnnamed4857() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1922,7 +1922,7 @@ core.Map buildUnnamed4813() => { }, }; -void checkUnnamed4813(core.Map o) { +void checkUnnamed4857(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1954,7 +1954,7 @@ void checkUnnamed4813(core.Map o) { ); } -core.Map buildUnnamed4814() => { +core.Map buildUnnamed4858() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1967,7 +1967,7 @@ core.Map buildUnnamed4814() => { }, }; -void checkUnnamed4814(core.Map o) { +void checkUnnamed4858(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2006,9 +2006,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4813(); + o.metadata = buildUnnamed4857(); o.name = 'foo'; - o.response = buildUnnamed4814(); + o.response = buildUnnamed4858(); } buildCounterOperation--; return o; @@ -2019,17 +2019,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4813(o.metadata!); + checkUnnamed4857(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4814(o.response!); + checkUnnamed4858(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed4815() => { +core.Map buildUnnamed4859() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2042,7 +2042,7 @@ core.Map buildUnnamed4815() => { }, }; -void checkUnnamed4815(core.Map o) { +void checkUnnamed4859(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2080,7 +2080,7 @@ api.Option buildOption() { buildCounterOption++; if (buildCounterOption < 3) { o.name = 'foo'; - o.value = buildUnnamed4815(); + o.value = buildUnnamed4859(); } buildCounterOption--; return o; @@ -2093,17 +2093,17 @@ void checkOption(api.Option o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4815(o.value!); + checkUnnamed4859(o.value!); } buildCounterOption--; } -core.List buildUnnamed4816() => [ +core.List buildUnnamed4860() => [ buildPage(), buildPage(), ]; -void checkUnnamed4816(core.List o) { +void checkUnnamed4860(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -2116,7 +2116,7 @@ api.Page buildPage() { if (buildCounterPage < 3) { o.content = 'foo'; o.name = 'foo'; - o.subpages = buildUnnamed4816(); + o.subpages = buildUnnamed4860(); } buildCounterPage--; return o; @@ -2133,17 +2133,17 @@ void checkPage(api.Page o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4816(o.subpages!); + checkUnnamed4860(o.subpages!); } buildCounterPage--; } -core.List buildUnnamed4817() => [ +core.List buildUnnamed4861() => [ 'foo', 'foo', ]; -void checkUnnamed4817(core.List o) { +void checkUnnamed4861(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2160,7 +2160,7 @@ api.PolicyBinding buildPolicyBinding() { final o = api.PolicyBinding(); buildCounterPolicyBinding++; if (buildCounterPolicyBinding < 3) { - o.members = buildUnnamed4817(); + o.members = buildUnnamed4861(); o.role = 'foo'; } buildCounterPolicyBinding--; @@ -2170,7 +2170,7 @@ api.PolicyBinding buildPolicyBinding() { void checkPolicyBinding(api.PolicyBinding o) { buildCounterPolicyBinding++; if (buildCounterPolicyBinding < 3) { - checkUnnamed4817(o.members!); + checkUnnamed4861(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -2179,23 +2179,23 @@ void checkPolicyBinding(api.PolicyBinding o) { buildCounterPolicyBinding--; } -core.List buildUnnamed4818() => [ +core.List buildUnnamed4862() => [ buildQuotaLimit(), buildQuotaLimit(), ]; -void checkUnnamed4818(core.List o) { +void checkUnnamed4862(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaLimit(o[0]); checkQuotaLimit(o[1]); } -core.List buildUnnamed4819() => [ +core.List buildUnnamed4863() => [ buildMetricRule(), buildMetricRule(), ]; -void checkUnnamed4819(core.List o) { +void checkUnnamed4863(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricRule(o[0]); checkMetricRule(o[1]); @@ -2206,8 +2206,8 @@ api.Quota buildQuota() { final o = api.Quota(); buildCounterQuota++; if (buildCounterQuota < 3) { - o.limits = buildUnnamed4818(); - o.metricRules = buildUnnamed4819(); + o.limits = buildUnnamed4862(); + o.metricRules = buildUnnamed4863(); } buildCounterQuota--; return o; @@ -2216,18 +2216,18 @@ api.Quota buildQuota() { void checkQuota(api.Quota o) { buildCounterQuota++; if (buildCounterQuota < 3) { - checkUnnamed4818(o.limits!); - checkUnnamed4819(o.metricRules!); + checkUnnamed4862(o.limits!); + checkUnnamed4863(o.metricRules!); } buildCounterQuota--; } -core.Map buildUnnamed4820() => { +core.Map buildUnnamed4864() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4820(core.Map o) { +void checkUnnamed4864(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2253,7 +2253,7 @@ api.QuotaLimit buildQuotaLimit() { o.metric = 'foo'; o.name = 'foo'; o.unit = 'foo'; - o.values = buildUnnamed4820(); + o.values = buildUnnamed4864(); } buildCounterQuotaLimit--; return o; @@ -2298,7 +2298,7 @@ void checkQuotaLimit(api.QuotaLimit o) { o.unit!, unittest.equals('foo'), ); - checkUnnamed4820(o.values!); + checkUnnamed4864(o.values!); } buildCounterQuotaLimit--; } @@ -2325,12 +2325,12 @@ void checkRemoveTenantProjectRequest(api.RemoveTenantProjectRequest o) { buildCounterRemoveTenantProjectRequest--; } -core.List buildUnnamed4821() => [ +core.List buildUnnamed4865() => [ buildTenancyUnit(), buildTenancyUnit(), ]; -void checkUnnamed4821(core.List o) { +void checkUnnamed4865(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTenancyUnit(o[0]); checkTenancyUnit(o[1]); @@ -2342,7 +2342,7 @@ api.SearchTenancyUnitsResponse buildSearchTenancyUnitsResponse() { buildCounterSearchTenancyUnitsResponse++; if (buildCounterSearchTenancyUnitsResponse < 3) { o.nextPageToken = 'foo'; - o.tenancyUnits = buildUnnamed4821(); + o.tenancyUnits = buildUnnamed4865(); } buildCounterSearchTenancyUnitsResponse--; return o; @@ -2355,94 +2355,94 @@ void checkSearchTenancyUnitsResponse(api.SearchTenancyUnitsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4821(o.tenancyUnits!); + checkUnnamed4865(o.tenancyUnits!); } buildCounterSearchTenancyUnitsResponse--; } -core.List buildUnnamed4822() => [ +core.List buildUnnamed4866() => [ buildApi(), buildApi(), ]; -void checkUnnamed4822(core.List o) { +void checkUnnamed4866(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApi(o[0]); checkApi(o[1]); } -core.List buildUnnamed4823() => [ +core.List buildUnnamed4867() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed4823(core.List o) { +void checkUnnamed4867(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); } -core.List buildUnnamed4824() => [ +core.List buildUnnamed4868() => [ buildEnum(), buildEnum(), ]; -void checkUnnamed4824(core.List o) { +void checkUnnamed4868(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnum(o[0]); checkEnum(o[1]); } -core.List buildUnnamed4825() => [ +core.List buildUnnamed4869() => [ buildLogDescriptor(), buildLogDescriptor(), ]; -void checkUnnamed4825(core.List o) { +void checkUnnamed4869(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogDescriptor(o[0]); checkLogDescriptor(o[1]); } -core.List buildUnnamed4826() => [ +core.List buildUnnamed4870() => [ buildMetricDescriptor(), buildMetricDescriptor(), ]; -void checkUnnamed4826(core.List o) { +void checkUnnamed4870(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptor(o[0]); checkMetricDescriptor(o[1]); } -core.List buildUnnamed4827() => [ +core.List buildUnnamed4871() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed4827(core.List o) { +void checkUnnamed4871(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); } -core.List buildUnnamed4828() => [ +core.List buildUnnamed4872() => [ buildType(), buildType(), ]; -void checkUnnamed4828(core.List o) { +void checkUnnamed4872(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); } -core.List buildUnnamed4829() => [ +core.List buildUnnamed4873() => [ buildType(), buildType(), ]; -void checkUnnamed4829(core.List o) { +void checkUnnamed4873(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); @@ -2453,7 +2453,7 @@ api.Service buildService() { final o = api.Service(); buildCounterService++; if (buildCounterService < 3) { - o.apis = buildUnnamed4822(); + o.apis = buildUnnamed4866(); o.authentication = buildAuthentication(); o.backend = buildBackend(); o.billing = buildBilling(); @@ -2462,23 +2462,23 @@ api.Service buildService() { o.control = buildControl(); o.customError = buildCustomError(); o.documentation = buildDocumentation(); - o.endpoints = buildUnnamed4823(); - o.enums = buildUnnamed4824(); + o.endpoints = buildUnnamed4867(); + o.enums = buildUnnamed4868(); o.http = buildHttp(); o.id = 'foo'; o.logging = buildLogging(); - o.logs = buildUnnamed4825(); - o.metrics = buildUnnamed4826(); - o.monitoredResources = buildUnnamed4827(); + o.logs = buildUnnamed4869(); + o.metrics = buildUnnamed4870(); + o.monitoredResources = buildUnnamed4871(); o.monitoring = buildMonitoring(); o.name = 'foo'; o.producerProjectId = 'foo'; o.quota = buildQuota(); o.sourceInfo = buildSourceInfo(); o.systemParameters = buildSystemParameters(); - o.systemTypes = buildUnnamed4828(); + o.systemTypes = buildUnnamed4872(); o.title = 'foo'; - o.types = buildUnnamed4829(); + o.types = buildUnnamed4873(); o.usage = buildUsage(); } buildCounterService--; @@ -2488,7 +2488,7 @@ api.Service buildService() { void checkService(api.Service o) { buildCounterService++; if (buildCounterService < 3) { - checkUnnamed4822(o.apis!); + checkUnnamed4866(o.apis!); checkAuthentication(o.authentication!); checkBackend(o.backend!); checkBilling(o.billing!); @@ -2500,17 +2500,17 @@ void checkService(api.Service o) { checkControl(o.control!); checkCustomError(o.customError!); checkDocumentation(o.documentation!); - checkUnnamed4823(o.endpoints!); - checkUnnamed4824(o.enums!); + checkUnnamed4867(o.endpoints!); + checkUnnamed4868(o.enums!); checkHttp(o.http!); unittest.expect( o.id!, unittest.equals('foo'), ); checkLogging(o.logging!); - checkUnnamed4825(o.logs!); - checkUnnamed4826(o.metrics!); - checkUnnamed4827(o.monitoredResources!); + checkUnnamed4869(o.logs!); + checkUnnamed4870(o.metrics!); + checkUnnamed4871(o.monitoredResources!); checkMonitoring(o.monitoring!); unittest.expect( o.name!, @@ -2523,23 +2523,23 @@ void checkService(api.Service o) { checkQuota(o.quota!); checkSourceInfo(o.sourceInfo!); checkSystemParameters(o.systemParameters!); - checkUnnamed4828(o.systemTypes!); + checkUnnamed4872(o.systemTypes!); unittest.expect( o.title!, unittest.equals('foo'), ); - checkUnnamed4829(o.types!); + checkUnnamed4873(o.types!); checkUsage(o.usage!); } buildCounterService--; } -core.List buildUnnamed4830() => [ +core.List buildUnnamed4874() => [ 'foo', 'foo', ]; -void checkUnnamed4830(core.List o) { +void checkUnnamed4874(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2557,7 +2557,7 @@ api.ServiceAccountConfig buildServiceAccountConfig() { buildCounterServiceAccountConfig++; if (buildCounterServiceAccountConfig < 3) { o.accountId = 'foo'; - o.tenantProjectRoles = buildUnnamed4830(); + o.tenantProjectRoles = buildUnnamed4874(); } buildCounterServiceAccountConfig--; return o; @@ -2570,7 +2570,7 @@ void checkServiceAccountConfig(api.ServiceAccountConfig o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed4830(o.tenantProjectRoles!); + checkUnnamed4874(o.tenantProjectRoles!); } buildCounterServiceAccountConfig--; } @@ -2597,7 +2597,7 @@ void checkSourceContext(api.SourceContext o) { buildCounterSourceContext--; } -core.Map buildUnnamed4831() => { +core.Map buildUnnamed4875() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2610,7 +2610,7 @@ core.Map buildUnnamed4831() => { }, }; -void checkUnnamed4831(core.Map o) { +void checkUnnamed4875(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2642,15 +2642,15 @@ void checkUnnamed4831(core.Map o) { ); } -core.List> buildUnnamed4832() => [ - buildUnnamed4831(), - buildUnnamed4831(), +core.List> buildUnnamed4876() => [ + buildUnnamed4875(), + buildUnnamed4875(), ]; -void checkUnnamed4832(core.List> o) { +void checkUnnamed4876(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4831(o[0]); - checkUnnamed4831(o[1]); + checkUnnamed4875(o[0]); + checkUnnamed4875(o[1]); } core.int buildCounterSourceInfo = 0; @@ -2658,7 +2658,7 @@ api.SourceInfo buildSourceInfo() { final o = api.SourceInfo(); buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - o.sourceFiles = buildUnnamed4832(); + o.sourceFiles = buildUnnamed4876(); } buildCounterSourceInfo--; return o; @@ -2667,12 +2667,12 @@ api.SourceInfo buildSourceInfo() { void checkSourceInfo(api.SourceInfo o) { buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - checkUnnamed4832(o.sourceFiles!); + checkUnnamed4876(o.sourceFiles!); } buildCounterSourceInfo--; } -core.Map buildUnnamed4833() => { +core.Map buildUnnamed4877() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2685,7 +2685,7 @@ core.Map buildUnnamed4833() => { }, }; -void checkUnnamed4833(core.Map o) { +void checkUnnamed4877(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -2717,15 +2717,15 @@ void checkUnnamed4833(core.Map o) { ); } -core.List> buildUnnamed4834() => [ - buildUnnamed4833(), - buildUnnamed4833(), +core.List> buildUnnamed4878() => [ + buildUnnamed4877(), + buildUnnamed4877(), ]; -void checkUnnamed4834(core.List> o) { +void checkUnnamed4878(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4833(o[0]); - checkUnnamed4833(o[1]); + checkUnnamed4877(o[0]); + checkUnnamed4877(o[1]); } core.int buildCounterStatus = 0; @@ -2734,7 +2734,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4834(); + o.details = buildUnnamed4878(); o.message = 'foo'; } buildCounterStatus--; @@ -2748,7 +2748,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4834(o.details!); + checkUnnamed4878(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2789,12 +2789,12 @@ void checkSystemParameter(api.SystemParameter o) { buildCounterSystemParameter--; } -core.List buildUnnamed4835() => [ +core.List buildUnnamed4879() => [ buildSystemParameter(), buildSystemParameter(), ]; -void checkUnnamed4835(core.List o) { +void checkUnnamed4879(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameter(o[0]); checkSystemParameter(o[1]); @@ -2805,7 +2805,7 @@ api.SystemParameterRule buildSystemParameterRule() { final o = api.SystemParameterRule(); buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - o.parameters = buildUnnamed4835(); + o.parameters = buildUnnamed4879(); o.selector = 'foo'; } buildCounterSystemParameterRule--; @@ -2815,7 +2815,7 @@ api.SystemParameterRule buildSystemParameterRule() { void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - checkUnnamed4835(o.parameters!); + checkUnnamed4879(o.parameters!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -2824,12 +2824,12 @@ void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule--; } -core.List buildUnnamed4836() => [ +core.List buildUnnamed4880() => [ buildSystemParameterRule(), buildSystemParameterRule(), ]; -void checkUnnamed4836(core.List o) { +void checkUnnamed4880(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameterRule(o[0]); checkSystemParameterRule(o[1]); @@ -2840,7 +2840,7 @@ api.SystemParameters buildSystemParameters() { final o = api.SystemParameters(); buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - o.rules = buildUnnamed4836(); + o.rules = buildUnnamed4880(); } buildCounterSystemParameters--; return o; @@ -2849,17 +2849,17 @@ api.SystemParameters buildSystemParameters() { void checkSystemParameters(api.SystemParameters o) { buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - checkUnnamed4836(o.rules!); + checkUnnamed4880(o.rules!); } buildCounterSystemParameters--; } -core.List buildUnnamed4837() => [ +core.List buildUnnamed4881() => [ buildTenantResource(), buildTenantResource(), ]; -void checkUnnamed4837(core.List o) { +void checkUnnamed4881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTenantResource(o[0]); checkTenantResource(o[1]); @@ -2874,7 +2874,7 @@ api.TenancyUnit buildTenancyUnit() { o.createTime = 'foo'; o.name = 'foo'; o.service = 'foo'; - o.tenantResources = buildUnnamed4837(); + o.tenantResources = buildUnnamed4881(); } buildCounterTenancyUnit--; return o; @@ -2899,17 +2899,17 @@ void checkTenancyUnit(api.TenancyUnit o) { o.service!, unittest.equals('foo'), ); - checkUnnamed4837(o.tenantResources!); + checkUnnamed4881(o.tenantResources!); } buildCounterTenancyUnit--; } -core.Map buildUnnamed4838() => { +core.Map buildUnnamed4882() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4838(core.Map o) { +void checkUnnamed4882(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2921,12 +2921,12 @@ void checkUnnamed4838(core.Map o) { ); } -core.List buildUnnamed4839() => [ +core.List buildUnnamed4883() => [ 'foo', 'foo', ]; -void checkUnnamed4839(core.List o) { +void checkUnnamed4883(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2945,9 +2945,9 @@ api.TenantProjectConfig buildTenantProjectConfig() { if (buildCounterTenantProjectConfig < 3) { o.billingConfig = buildBillingConfig(); o.folder = 'foo'; - o.labels = buildUnnamed4838(); + o.labels = buildUnnamed4882(); o.serviceAccountConfig = buildServiceAccountConfig(); - o.services = buildUnnamed4839(); + o.services = buildUnnamed4883(); o.tenantProjectPolicy = buildTenantProjectPolicy(); } buildCounterTenantProjectConfig--; @@ -2962,20 +2962,20 @@ void checkTenantProjectConfig(api.TenantProjectConfig o) { o.folder!, unittest.equals('foo'), ); - checkUnnamed4838(o.labels!); + checkUnnamed4882(o.labels!); checkServiceAccountConfig(o.serviceAccountConfig!); - checkUnnamed4839(o.services!); + checkUnnamed4883(o.services!); checkTenantProjectPolicy(o.tenantProjectPolicy!); } buildCounterTenantProjectConfig--; } -core.List buildUnnamed4840() => [ +core.List buildUnnamed4884() => [ buildPolicyBinding(), buildPolicyBinding(), ]; -void checkUnnamed4840(core.List o) { +void checkUnnamed4884(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBinding(o[0]); checkPolicyBinding(o[1]); @@ -2986,7 +2986,7 @@ api.TenantProjectPolicy buildTenantProjectPolicy() { final o = api.TenantProjectPolicy(); buildCounterTenantProjectPolicy++; if (buildCounterTenantProjectPolicy < 3) { - o.policyBindings = buildUnnamed4840(); + o.policyBindings = buildUnnamed4884(); } buildCounterTenantProjectPolicy--; return o; @@ -2995,7 +2995,7 @@ api.TenantProjectPolicy buildTenantProjectPolicy() { void checkTenantProjectPolicy(api.TenantProjectPolicy o) { buildCounterTenantProjectPolicy++; if (buildCounterTenantProjectPolicy < 3) { - checkUnnamed4840(o.policyBindings!); + checkUnnamed4884(o.policyBindings!); } buildCounterTenantProjectPolicy--; } @@ -3032,23 +3032,23 @@ void checkTenantResource(api.TenantResource o) { buildCounterTenantResource--; } -core.List buildUnnamed4841() => [ +core.List buildUnnamed4885() => [ buildField(), buildField(), ]; -void checkUnnamed4841(core.List o) { +void checkUnnamed4885(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); } -core.List buildUnnamed4842() => [ +core.List buildUnnamed4886() => [ 'foo', 'foo', ]; -void checkUnnamed4842(core.List o) { +void checkUnnamed4886(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3060,12 +3060,12 @@ void checkUnnamed4842(core.List o) { ); } -core.List buildUnnamed4843() => [ +core.List buildUnnamed4887() => [ buildOption(), buildOption(), ]; -void checkUnnamed4843(core.List o) { +void checkUnnamed4887(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -3076,10 +3076,10 @@ api.Type buildType() { final o = api.Type(); buildCounterType++; if (buildCounterType < 3) { - o.fields = buildUnnamed4841(); + o.fields = buildUnnamed4885(); o.name = 'foo'; - o.oneofs = buildUnnamed4842(); - o.options = buildUnnamed4843(); + o.oneofs = buildUnnamed4886(); + o.options = buildUnnamed4887(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -3090,13 +3090,13 @@ api.Type buildType() { void checkType(api.Type o) { buildCounterType++; if (buildCounterType < 3) { - checkUnnamed4841(o.fields!); + checkUnnamed4885(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4842(o.oneofs!); - checkUnnamed4843(o.options!); + checkUnnamed4886(o.oneofs!); + checkUnnamed4887(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -3128,12 +3128,12 @@ void checkUndeleteTenantProjectRequest(api.UndeleteTenantProjectRequest o) { buildCounterUndeleteTenantProjectRequest--; } -core.List buildUnnamed4844() => [ +core.List buildUnnamed4888() => [ 'foo', 'foo', ]; -void checkUnnamed4844(core.List o) { +void checkUnnamed4888(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3145,12 +3145,12 @@ void checkUnnamed4844(core.List o) { ); } -core.List buildUnnamed4845() => [ +core.List buildUnnamed4889() => [ buildUsageRule(), buildUsageRule(), ]; -void checkUnnamed4845(core.List o) { +void checkUnnamed4889(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageRule(o[0]); checkUsageRule(o[1]); @@ -3162,8 +3162,8 @@ api.Usage buildUsage() { buildCounterUsage++; if (buildCounterUsage < 3) { o.producerNotificationChannel = 'foo'; - o.requirements = buildUnnamed4844(); - o.rules = buildUnnamed4845(); + o.requirements = buildUnnamed4888(); + o.rules = buildUnnamed4889(); } buildCounterUsage--; return o; @@ -3176,8 +3176,8 @@ void checkUsage(api.Usage o) { o.producerNotificationChannel!, unittest.equals('foo'), ); - checkUnnamed4844(o.requirements!); - checkUnnamed4845(o.rules!); + checkUnnamed4888(o.requirements!); + checkUnnamed4889(o.rules!); } buildCounterUsage--; } @@ -3208,12 +3208,12 @@ void checkUsageRule(api.UsageRule o) { buildCounterUsageRule--; } -core.List buildUnnamed4846() => [ +core.List buildUnnamed4890() => [ 'foo', 'foo', ]; -void checkUnnamed4846(core.List o) { +void checkUnnamed4890(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3230,7 +3230,7 @@ api.V1AddVisibilityLabelsResponse buildV1AddVisibilityLabelsResponse() { final o = api.V1AddVisibilityLabelsResponse(); buildCounterV1AddVisibilityLabelsResponse++; if (buildCounterV1AddVisibilityLabelsResponse < 3) { - o.labels = buildUnnamed4846(); + o.labels = buildUnnamed4890(); } buildCounterV1AddVisibilityLabelsResponse--; return o; @@ -3239,17 +3239,17 @@ api.V1AddVisibilityLabelsResponse buildV1AddVisibilityLabelsResponse() { void checkV1AddVisibilityLabelsResponse(api.V1AddVisibilityLabelsResponse o) { buildCounterV1AddVisibilityLabelsResponse++; if (buildCounterV1AddVisibilityLabelsResponse < 3) { - checkUnnamed4846(o.labels!); + checkUnnamed4890(o.labels!); } buildCounterV1AddVisibilityLabelsResponse--; } -core.List buildUnnamed4847() => [ +core.List buildUnnamed4891() => [ buildV1Beta1QuotaOverride(), buildV1Beta1QuotaOverride(), ]; -void checkUnnamed4847(core.List o) { +void checkUnnamed4891(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV1Beta1QuotaOverride(o[0]); checkV1Beta1QuotaOverride(o[1]); @@ -3261,7 +3261,7 @@ api.V1Beta1BatchCreateProducerOverridesResponse final o = api.V1Beta1BatchCreateProducerOverridesResponse(); buildCounterV1Beta1BatchCreateProducerOverridesResponse++; if (buildCounterV1Beta1BatchCreateProducerOverridesResponse < 3) { - o.overrides = buildUnnamed4847(); + o.overrides = buildUnnamed4891(); } buildCounterV1Beta1BatchCreateProducerOverridesResponse--; return o; @@ -3271,7 +3271,7 @@ void checkV1Beta1BatchCreateProducerOverridesResponse( api.V1Beta1BatchCreateProducerOverridesResponse o) { buildCounterV1Beta1BatchCreateProducerOverridesResponse++; if (buildCounterV1Beta1BatchCreateProducerOverridesResponse < 3) { - checkUnnamed4847(o.overrides!); + checkUnnamed4891(o.overrides!); } buildCounterV1Beta1BatchCreateProducerOverridesResponse--; } @@ -3327,12 +3327,12 @@ void checkV1Beta1GenerateServiceIdentityResponse( buildCounterV1Beta1GenerateServiceIdentityResponse--; } -core.List buildUnnamed4848() => [ +core.List buildUnnamed4892() => [ buildV1Beta1QuotaOverride(), buildV1Beta1QuotaOverride(), ]; -void checkUnnamed4848(core.List o) { +void checkUnnamed4892(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV1Beta1QuotaOverride(o[0]); checkV1Beta1QuotaOverride(o[1]); @@ -3344,7 +3344,7 @@ api.V1Beta1ImportProducerOverridesResponse final o = api.V1Beta1ImportProducerOverridesResponse(); buildCounterV1Beta1ImportProducerOverridesResponse++; if (buildCounterV1Beta1ImportProducerOverridesResponse < 3) { - o.overrides = buildUnnamed4848(); + o.overrides = buildUnnamed4892(); } buildCounterV1Beta1ImportProducerOverridesResponse--; return o; @@ -3354,17 +3354,17 @@ void checkV1Beta1ImportProducerOverridesResponse( api.V1Beta1ImportProducerOverridesResponse o) { buildCounterV1Beta1ImportProducerOverridesResponse++; if (buildCounterV1Beta1ImportProducerOverridesResponse < 3) { - checkUnnamed4848(o.overrides!); + checkUnnamed4892(o.overrides!); } buildCounterV1Beta1ImportProducerOverridesResponse--; } -core.List buildUnnamed4849() => [ +core.List buildUnnamed4893() => [ buildV1Beta1ProducerQuotaPolicy(), buildV1Beta1ProducerQuotaPolicy(), ]; -void checkUnnamed4849(core.List o) { +void checkUnnamed4893(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV1Beta1ProducerQuotaPolicy(o[0]); checkV1Beta1ProducerQuotaPolicy(o[1]); @@ -3376,7 +3376,7 @@ api.V1Beta1ImportProducerQuotaPoliciesResponse final o = api.V1Beta1ImportProducerQuotaPoliciesResponse(); buildCounterV1Beta1ImportProducerQuotaPoliciesResponse++; if (buildCounterV1Beta1ImportProducerQuotaPoliciesResponse < 3) { - o.policies = buildUnnamed4849(); + o.policies = buildUnnamed4893(); } buildCounterV1Beta1ImportProducerQuotaPoliciesResponse--; return o; @@ -3386,17 +3386,17 @@ void checkV1Beta1ImportProducerQuotaPoliciesResponse( api.V1Beta1ImportProducerQuotaPoliciesResponse o) { buildCounterV1Beta1ImportProducerQuotaPoliciesResponse++; if (buildCounterV1Beta1ImportProducerQuotaPoliciesResponse < 3) { - checkUnnamed4849(o.policies!); + checkUnnamed4893(o.policies!); } buildCounterV1Beta1ImportProducerQuotaPoliciesResponse--; } -core.Map buildUnnamed4850() => { +core.Map buildUnnamed4894() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4850(core.Map o) { +void checkUnnamed4894(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3414,7 +3414,7 @@ api.V1Beta1ProducerQuotaPolicy buildV1Beta1ProducerQuotaPolicy() { buildCounterV1Beta1ProducerQuotaPolicy++; if (buildCounterV1Beta1ProducerQuotaPolicy < 3) { o.container = 'foo'; - o.dimensions = buildUnnamed4850(); + o.dimensions = buildUnnamed4894(); o.metric = 'foo'; o.name = 'foo'; o.policyValue = 'foo'; @@ -3431,7 +3431,7 @@ void checkV1Beta1ProducerQuotaPolicy(api.V1Beta1ProducerQuotaPolicy o) { o.container!, unittest.equals('foo'), ); - checkUnnamed4850(o.dimensions!); + checkUnnamed4894(o.dimensions!); unittest.expect( o.metric!, unittest.equals('foo'), @@ -3452,12 +3452,12 @@ void checkV1Beta1ProducerQuotaPolicy(api.V1Beta1ProducerQuotaPolicy o) { buildCounterV1Beta1ProducerQuotaPolicy--; } -core.Map buildUnnamed4851() => { +core.Map buildUnnamed4895() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4851(core.Map o) { +void checkUnnamed4895(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3475,7 +3475,7 @@ api.V1Beta1QuotaOverride buildV1Beta1QuotaOverride() { buildCounterV1Beta1QuotaOverride++; if (buildCounterV1Beta1QuotaOverride < 3) { o.adminOverrideAncestor = 'foo'; - o.dimensions = buildUnnamed4851(); + o.dimensions = buildUnnamed4895(); o.metric = 'foo'; o.name = 'foo'; o.overrideValue = 'foo'; @@ -3492,7 +3492,7 @@ void checkV1Beta1QuotaOverride(api.V1Beta1QuotaOverride o) { o.adminOverrideAncestor!, unittest.equals('foo'), ); - checkUnnamed4851(o.dimensions!); + checkUnnamed4895(o.dimensions!); unittest.expect( o.metric!, unittest.equals('foo'), @@ -3697,12 +3697,12 @@ void checkV1RefreshConsumerResponse(api.V1RefreshConsumerResponse o) { buildCounterV1RefreshConsumerResponse--; } -core.List buildUnnamed4852() => [ +core.List buildUnnamed4896() => [ 'foo', 'foo', ]; -void checkUnnamed4852(core.List o) { +void checkUnnamed4896(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3719,7 +3719,7 @@ api.V1RemoveVisibilityLabelsResponse buildV1RemoveVisibilityLabelsResponse() { final o = api.V1RemoveVisibilityLabelsResponse(); buildCounterV1RemoveVisibilityLabelsResponse++; if (buildCounterV1RemoveVisibilityLabelsResponse < 3) { - o.labels = buildUnnamed4852(); + o.labels = buildUnnamed4896(); } buildCounterV1RemoveVisibilityLabelsResponse--; return o; @@ -3729,7 +3729,7 @@ void checkV1RemoveVisibilityLabelsResponse( api.V1RemoveVisibilityLabelsResponse o) { buildCounterV1RemoveVisibilityLabelsResponse++; if (buildCounterV1RemoveVisibilityLabelsResponse < 3) { - checkUnnamed4852(o.labels!); + checkUnnamed4896(o.labels!); } buildCounterV1RemoveVisibilityLabelsResponse--; } diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart index 26c457621..4249c87b8 100644 --- a/generated/googleapis/test/servicecontrol/v1_test.dart +++ b/generated/googleapis/test/servicecontrol/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed2825() => [ +core.List buildUnnamed2713() => [ 'foo', 'foo', ]; -void checkUnnamed2825(core.List o) { +void checkUnnamed2713(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.AllocateInfo buildAllocateInfo() { final o = api.AllocateInfo(); buildCounterAllocateInfo++; if (buildCounterAllocateInfo < 3) { - o.unusedArguments = buildUnnamed2825(); + o.unusedArguments = buildUnnamed2713(); } buildCounterAllocateInfo--; return o; @@ -57,7 +57,7 @@ api.AllocateInfo buildAllocateInfo() { void checkAllocateInfo(api.AllocateInfo o) { buildCounterAllocateInfo++; if (buildCounterAllocateInfo < 3) { - checkUnnamed2825(o.unusedArguments!); + checkUnnamed2713(o.unusedArguments!); } buildCounterAllocateInfo--; } @@ -86,23 +86,23 @@ void checkAllocateQuotaRequest(api.AllocateQuotaRequest o) { buildCounterAllocateQuotaRequest--; } -core.List buildUnnamed2826() => [ +core.List buildUnnamed2714() => [ buildQuotaError(), buildQuotaError(), ]; -void checkUnnamed2826(core.List o) { +void checkUnnamed2714(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaError(o[0]); checkQuotaError(o[1]); } -core.List buildUnnamed2827() => [ +core.List buildUnnamed2715() => [ buildMetricValueSet(), buildMetricValueSet(), ]; -void checkUnnamed2827(core.List o) { +void checkUnnamed2715(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValueSet(o[0]); checkMetricValueSet(o[1]); @@ -113,10 +113,10 @@ api.AllocateQuotaResponse buildAllocateQuotaResponse() { final o = api.AllocateQuotaResponse(); buildCounterAllocateQuotaResponse++; if (buildCounterAllocateQuotaResponse < 3) { - o.allocateErrors = buildUnnamed2826(); + o.allocateErrors = buildUnnamed2714(); o.allocateInfo = buildAllocateInfo(); o.operationId = 'foo'; - o.quotaMetrics = buildUnnamed2827(); + o.quotaMetrics = buildUnnamed2715(); o.serviceConfigId = 'foo'; } buildCounterAllocateQuotaResponse--; @@ -126,13 +126,13 @@ api.AllocateQuotaResponse buildAllocateQuotaResponse() { void checkAllocateQuotaResponse(api.AllocateQuotaResponse o) { buildCounterAllocateQuotaResponse++; if (buildCounterAllocateQuotaResponse < 3) { - checkUnnamed2826(o.allocateErrors!); + checkUnnamed2714(o.allocateErrors!); checkAllocateInfo(o.allocateInfo!); unittest.expect( o.operationId!, unittest.equals('foo'), ); - checkUnnamed2827(o.quotaMetrics!); + checkUnnamed2715(o.quotaMetrics!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -167,12 +167,12 @@ void checkAttributeValue(api.AttributeValue o) { buildCounterAttributeValue--; } -core.Map buildUnnamed2828() => { +core.Map buildUnnamed2716() => { 'x': buildAttributeValue(), 'y': buildAttributeValue(), }; -void checkUnnamed2828(core.Map o) { +void checkUnnamed2716(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkAttributeValue(o['x']!); checkAttributeValue(o['y']!); @@ -183,7 +183,7 @@ api.Attributes buildAttributes() { final o = api.Attributes(); buildCounterAttributes++; if (buildCounterAttributes < 3) { - o.attributeMap = buildUnnamed2828(); + o.attributeMap = buildUnnamed2716(); o.droppedAttributesCount = 42; } buildCounterAttributes--; @@ -193,7 +193,7 @@ api.Attributes buildAttributes() { void checkAttributes(api.Attributes o) { buildCounterAttributes++; if (buildCounterAttributes < 3) { - checkUnnamed2828(o.attributeMap!); + checkUnnamed2716(o.attributeMap!); unittest.expect( o.droppedAttributesCount!, unittest.equals(42), @@ -202,18 +202,18 @@ void checkAttributes(api.Attributes o) { buildCounterAttributes--; } -core.List buildUnnamed2829() => [ +core.List buildUnnamed2717() => [ buildAuthorizationInfo(), buildAuthorizationInfo(), ]; -void checkUnnamed2829(core.List o) { +void checkUnnamed2717(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthorizationInfo(o[0]); checkAuthorizationInfo(o[1]); } -core.Map buildUnnamed2830() => { +core.Map buildUnnamed2718() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -226,7 +226,7 @@ core.Map buildUnnamed2830() => { }, }; -void checkUnnamed2830(core.Map o) { +void checkUnnamed2718(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -258,7 +258,7 @@ void checkUnnamed2830(core.Map o) { ); } -core.Map buildUnnamed2831() => { +core.Map buildUnnamed2719() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -271,7 +271,7 @@ core.Map buildUnnamed2831() => { }, }; -void checkUnnamed2831(core.Map o) { +void checkUnnamed2719(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -303,7 +303,7 @@ void checkUnnamed2831(core.Map o) { ); } -core.Map buildUnnamed2832() => { +core.Map buildUnnamed2720() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -316,7 +316,7 @@ core.Map buildUnnamed2832() => { }, }; -void checkUnnamed2832(core.Map o) { +void checkUnnamed2720(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -348,7 +348,7 @@ void checkUnnamed2832(core.Map o) { ); } -core.Map buildUnnamed2833() => { +core.Map buildUnnamed2721() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -361,7 +361,7 @@ core.Map buildUnnamed2833() => { }, }; -void checkUnnamed2833(core.Map o) { +void checkUnnamed2721(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -393,7 +393,7 @@ void checkUnnamed2833(core.Map o) { ); } -core.Map buildUnnamed2834() => { +core.Map buildUnnamed2722() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -406,7 +406,7 @@ core.Map buildUnnamed2834() => { }, }; -void checkUnnamed2834(core.Map o) { +void checkUnnamed2722(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -444,17 +444,17 @@ api.AuditLog buildAuditLog() { buildCounterAuditLog++; if (buildCounterAuditLog < 3) { o.authenticationInfo = buildAuthenticationInfo(); - o.authorizationInfo = buildUnnamed2829(); - o.metadata = buildUnnamed2830(); + o.authorizationInfo = buildUnnamed2717(); + o.metadata = buildUnnamed2718(); o.methodName = 'foo'; o.numResponseItems = 'foo'; - o.request = buildUnnamed2831(); + o.request = buildUnnamed2719(); o.requestMetadata = buildRequestMetadata(); o.resourceLocation = buildResourceLocation(); o.resourceName = 'foo'; - o.resourceOriginalState = buildUnnamed2832(); - o.response = buildUnnamed2833(); - o.serviceData = buildUnnamed2834(); + o.resourceOriginalState = buildUnnamed2720(); + o.response = buildUnnamed2721(); + o.serviceData = buildUnnamed2722(); o.serviceName = 'foo'; o.status = buildStatus(); } @@ -466,8 +466,8 @@ void checkAuditLog(api.AuditLog o) { buildCounterAuditLog++; if (buildCounterAuditLog < 3) { checkAuthenticationInfo(o.authenticationInfo!); - checkUnnamed2829(o.authorizationInfo!); - checkUnnamed2830(o.metadata!); + checkUnnamed2717(o.authorizationInfo!); + checkUnnamed2718(o.metadata!); unittest.expect( o.methodName!, unittest.equals('foo'), @@ -476,16 +476,16 @@ void checkAuditLog(api.AuditLog o) { o.numResponseItems!, unittest.equals('foo'), ); - checkUnnamed2831(o.request!); + checkUnnamed2719(o.request!); checkRequestMetadata(o.requestMetadata!); checkResourceLocation(o.resourceLocation!); unittest.expect( o.resourceName!, unittest.equals('foo'), ); - checkUnnamed2832(o.resourceOriginalState!); - checkUnnamed2833(o.response!); - checkUnnamed2834(o.serviceData!); + checkUnnamed2720(o.resourceOriginalState!); + checkUnnamed2721(o.response!); + checkUnnamed2722(o.serviceData!); unittest.expect( o.serviceName!, unittest.equals('foo'), @@ -495,12 +495,12 @@ void checkAuditLog(api.AuditLog o) { buildCounterAuditLog--; } -core.List buildUnnamed2835() => [ +core.List buildUnnamed2723() => [ 'foo', 'foo', ]; -void checkUnnamed2835(core.List o) { +void checkUnnamed2723(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -512,12 +512,12 @@ void checkUnnamed2835(core.List o) { ); } -core.List buildUnnamed2836() => [ +core.List buildUnnamed2724() => [ 'foo', 'foo', ]; -void checkUnnamed2836(core.List o) { +void checkUnnamed2724(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -529,7 +529,7 @@ void checkUnnamed2836(core.List o) { ); } -core.Map buildUnnamed2837() => { +core.Map buildUnnamed2725() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -542,7 +542,7 @@ core.Map buildUnnamed2837() => { }, }; -void checkUnnamed2837(core.Map o) { +void checkUnnamed2725(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -579,9 +579,9 @@ api.Auth buildAuth() { final o = api.Auth(); buildCounterAuth++; if (buildCounterAuth < 3) { - o.accessLevels = buildUnnamed2835(); - o.audiences = buildUnnamed2836(); - o.claims = buildUnnamed2837(); + o.accessLevels = buildUnnamed2723(); + o.audiences = buildUnnamed2724(); + o.claims = buildUnnamed2725(); o.presenter = 'foo'; o.principal = 'foo'; } @@ -592,9 +592,9 @@ api.Auth buildAuth() { void checkAuth(api.Auth o) { buildCounterAuth++; if (buildCounterAuth < 3) { - checkUnnamed2835(o.accessLevels!); - checkUnnamed2836(o.audiences!); - checkUnnamed2837(o.claims!); + checkUnnamed2723(o.accessLevels!); + checkUnnamed2724(o.audiences!); + checkUnnamed2725(o.claims!); unittest.expect( o.presenter!, unittest.equals('foo'), @@ -607,18 +607,18 @@ void checkAuth(api.Auth o) { buildCounterAuth--; } -core.List buildUnnamed2838() => [ +core.List buildUnnamed2726() => [ buildServiceAccountDelegationInfo(), buildServiceAccountDelegationInfo(), ]; -void checkUnnamed2838(core.List o) { +void checkUnnamed2726(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccountDelegationInfo(o[0]); checkServiceAccountDelegationInfo(o[1]); } -core.Map buildUnnamed2839() => { +core.Map buildUnnamed2727() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -631,7 +631,7 @@ core.Map buildUnnamed2839() => { }, }; -void checkUnnamed2839(core.Map o) { +void checkUnnamed2727(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -671,9 +671,9 @@ api.AuthenticationInfo buildAuthenticationInfo() { o.authoritySelector = 'foo'; o.principalEmail = 'foo'; o.principalSubject = 'foo'; - o.serviceAccountDelegationInfo = buildUnnamed2838(); + o.serviceAccountDelegationInfo = buildUnnamed2726(); o.serviceAccountKeyName = 'foo'; - o.thirdPartyPrincipal = buildUnnamed2839(); + o.thirdPartyPrincipal = buildUnnamed2727(); } buildCounterAuthenticationInfo--; return o; @@ -694,12 +694,12 @@ void checkAuthenticationInfo(api.AuthenticationInfo o) { o.principalSubject!, unittest.equals('foo'), ); - checkUnnamed2838(o.serviceAccountDelegationInfo!); + checkUnnamed2726(o.serviceAccountDelegationInfo!); unittest.expect( o.serviceAccountKeyName!, unittest.equals('foo'), ); - checkUnnamed2839(o.thirdPartyPrincipal!); + checkUnnamed2727(o.thirdPartyPrincipal!); } buildCounterAuthenticationInfo--; } @@ -769,12 +769,12 @@ void checkCheckError(api.CheckError o) { buildCounterCheckError--; } -core.List buildUnnamed2840() => [ +core.List buildUnnamed2728() => [ 'foo', 'foo', ]; -void checkUnnamed2840(core.List o) { +void checkUnnamed2728(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -792,7 +792,7 @@ api.CheckInfo buildCheckInfo() { buildCounterCheckInfo++; if (buildCounterCheckInfo < 3) { o.consumerInfo = buildConsumerInfo(); - o.unusedArguments = buildUnnamed2840(); + o.unusedArguments = buildUnnamed2728(); } buildCounterCheckInfo--; return o; @@ -802,7 +802,7 @@ void checkCheckInfo(api.CheckInfo o) { buildCounterCheckInfo++; if (buildCounterCheckInfo < 3) { checkConsumerInfo(o.consumerInfo!); - checkUnnamed2840(o.unusedArguments!); + checkUnnamed2728(o.unusedArguments!); } buildCounterCheckInfo--; } @@ -835,12 +835,12 @@ void checkCheckRequest(api.CheckRequest o) { buildCounterCheckRequest--; } -core.List buildUnnamed2841() => [ +core.List buildUnnamed2729() => [ buildCheckError(), buildCheckError(), ]; -void checkUnnamed2841(core.List o) { +void checkUnnamed2729(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCheckError(o[0]); checkCheckError(o[1]); @@ -851,7 +851,7 @@ api.CheckResponse buildCheckResponse() { final o = api.CheckResponse(); buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { - o.checkErrors = buildUnnamed2841(); + o.checkErrors = buildUnnamed2729(); o.checkInfo = buildCheckInfo(); o.operationId = 'foo'; o.quotaInfo = buildQuotaInfo(); @@ -865,7 +865,7 @@ api.CheckResponse buildCheckResponse() { void checkCheckResponse(api.CheckResponse o) { buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { - checkUnnamed2841(o.checkErrors!); + checkUnnamed2729(o.checkErrors!); checkCheckInfo(o.checkInfo!); unittest.expect( o.operationId!, @@ -916,12 +916,12 @@ void checkConsumerInfo(api.ConsumerInfo o) { buildCounterConsumerInfo--; } -core.List buildUnnamed2842() => [ +core.List buildUnnamed2730() => [ 'foo', 'foo', ]; -void checkUnnamed2842(core.List o) { +void checkUnnamed2730(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -933,12 +933,12 @@ void checkUnnamed2842(core.List o) { ); } -core.List buildUnnamed2843() => [ +core.List buildUnnamed2731() => [ buildExemplar(), buildExemplar(), ]; -void checkUnnamed2843(core.List o) { +void checkUnnamed2731(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExemplar(o[0]); checkExemplar(o[1]); @@ -949,9 +949,9 @@ api.Distribution buildDistribution() { final o = api.Distribution(); buildCounterDistribution++; if (buildCounterDistribution < 3) { - o.bucketCounts = buildUnnamed2842(); + o.bucketCounts = buildUnnamed2730(); o.count = 'foo'; - o.exemplars = buildUnnamed2843(); + o.exemplars = buildUnnamed2731(); o.explicitBuckets = buildExplicitBuckets(); o.exponentialBuckets = buildExponentialBuckets(); o.linearBuckets = buildLinearBuckets(); @@ -967,12 +967,12 @@ api.Distribution buildDistribution() { void checkDistribution(api.Distribution o) { buildCounterDistribution++; if (buildCounterDistribution < 3) { - checkUnnamed2842(o.bucketCounts!); + checkUnnamed2730(o.bucketCounts!); unittest.expect( o.count!, unittest.equals('foo'), ); - checkUnnamed2843(o.exemplars!); + checkUnnamed2731(o.exemplars!); checkExplicitBuckets(o.explicitBuckets!); checkExponentialBuckets(o.exponentialBuckets!); checkLinearBuckets(o.linearBuckets!); @@ -996,7 +996,7 @@ void checkDistribution(api.Distribution o) { buildCounterDistribution--; } -core.Map buildUnnamed2844() => { +core.Map buildUnnamed2732() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1009,7 +1009,7 @@ core.Map buildUnnamed2844() => { }, }; -void checkUnnamed2844(core.Map o) { +void checkUnnamed2732(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted15 = (o['x']!) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); @@ -1041,15 +1041,15 @@ void checkUnnamed2844(core.Map o) { ); } -core.List> buildUnnamed2845() => [ - buildUnnamed2844(), - buildUnnamed2844(), +core.List> buildUnnamed2733() => [ + buildUnnamed2732(), + buildUnnamed2732(), ]; -void checkUnnamed2845(core.List> o) { +void checkUnnamed2733(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2844(o[0]); - checkUnnamed2844(o[1]); + checkUnnamed2732(o[0]); + checkUnnamed2732(o[1]); } core.int buildCounterExemplar = 0; @@ -1057,7 +1057,7 @@ api.Exemplar buildExemplar() { final o = api.Exemplar(); buildCounterExemplar++; if (buildCounterExemplar < 3) { - o.attachments = buildUnnamed2845(); + o.attachments = buildUnnamed2733(); o.timestamp = 'foo'; o.value = 42.0; } @@ -1068,7 +1068,7 @@ api.Exemplar buildExemplar() { void checkExemplar(api.Exemplar o) { buildCounterExemplar++; if (buildCounterExemplar < 3) { - checkUnnamed2845(o.attachments!); + checkUnnamed2733(o.attachments!); unittest.expect( o.timestamp!, unittest.equals('foo'), @@ -1081,12 +1081,12 @@ void checkExemplar(api.Exemplar o) { buildCounterExemplar--; } -core.List buildUnnamed2846() => [ +core.List buildUnnamed2734() => [ 42.0, 42.0, ]; -void checkUnnamed2846(core.List o) { +void checkUnnamed2734(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1103,7 +1103,7 @@ api.ExplicitBuckets buildExplicitBuckets() { final o = api.ExplicitBuckets(); buildCounterExplicitBuckets++; if (buildCounterExplicitBuckets < 3) { - o.bounds = buildUnnamed2846(); + o.bounds = buildUnnamed2734(); } buildCounterExplicitBuckets--; return o; @@ -1112,7 +1112,7 @@ api.ExplicitBuckets buildExplicitBuckets() { void checkExplicitBuckets(api.ExplicitBuckets o) { buildCounterExplicitBuckets++; if (buildCounterExplicitBuckets < 3) { - checkUnnamed2846(o.bounds!); + checkUnnamed2734(o.bounds!); } buildCounterExplicitBuckets--; } @@ -1149,7 +1149,7 @@ void checkExponentialBuckets(api.ExponentialBuckets o) { buildCounterExponentialBuckets--; } -core.Map buildUnnamed2847() => { +core.Map buildUnnamed2735() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1162,7 +1162,7 @@ core.Map buildUnnamed2847() => { }, }; -void checkUnnamed2847(core.Map o) { +void checkUnnamed2735(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted17 = (o['x']!) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); @@ -1200,7 +1200,7 @@ api.FirstPartyPrincipal buildFirstPartyPrincipal() { buildCounterFirstPartyPrincipal++; if (buildCounterFirstPartyPrincipal < 3) { o.principalEmail = 'foo'; - o.serviceMetadata = buildUnnamed2847(); + o.serviceMetadata = buildUnnamed2735(); } buildCounterFirstPartyPrincipal--; return o; @@ -1213,7 +1213,7 @@ void checkFirstPartyPrincipal(api.FirstPartyPrincipal o) { o.principalEmail!, unittest.equals('foo'), ); - checkUnnamed2847(o.serviceMetadata!); + checkUnnamed2735(o.serviceMetadata!); } buildCounterFirstPartyPrincipal--; } @@ -1333,12 +1333,12 @@ void checkLinearBuckets(api.LinearBuckets o) { buildCounterLinearBuckets--; } -core.Map buildUnnamed2848() => { +core.Map buildUnnamed2736() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2848(core.Map o) { +void checkUnnamed2736(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1350,7 +1350,7 @@ void checkUnnamed2848(core.Map o) { ); } -core.Map buildUnnamed2849() => { +core.Map buildUnnamed2737() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1363,7 +1363,7 @@ core.Map buildUnnamed2849() => { }, }; -void checkUnnamed2849(core.Map o) { +void checkUnnamed2737(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted19 = (o['x']!) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); @@ -1395,7 +1395,7 @@ void checkUnnamed2849(core.Map o) { ); } -core.Map buildUnnamed2850() => { +core.Map buildUnnamed2738() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1408,7 +1408,7 @@ core.Map buildUnnamed2850() => { }, }; -void checkUnnamed2850(core.Map o) { +void checkUnnamed2738(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted21 = (o['x']!) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); @@ -1447,13 +1447,13 @@ api.LogEntry buildLogEntry() { if (buildCounterLogEntry < 3) { o.httpRequest = buildHttpRequest(); o.insertId = 'foo'; - o.labels = buildUnnamed2848(); + o.labels = buildUnnamed2736(); o.name = 'foo'; o.operation = buildLogEntryOperation(); - o.protoPayload = buildUnnamed2849(); + o.protoPayload = buildUnnamed2737(); o.severity = 'foo'; o.sourceLocation = buildLogEntrySourceLocation(); - o.structPayload = buildUnnamed2850(); + o.structPayload = buildUnnamed2738(); o.textPayload = 'foo'; o.timestamp = 'foo'; o.trace = 'foo'; @@ -1470,19 +1470,19 @@ void checkLogEntry(api.LogEntry o) { o.insertId!, unittest.equals('foo'), ); - checkUnnamed2848(o.labels!); + checkUnnamed2736(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); checkLogEntryOperation(o.operation!); - checkUnnamed2849(o.protoPayload!); + checkUnnamed2737(o.protoPayload!); unittest.expect( o.severity!, unittest.equals('foo'), ); checkLogEntrySourceLocation(o.sourceLocation!); - checkUnnamed2850(o.structPayload!); + checkUnnamed2738(o.structPayload!); unittest.expect( o.textPayload!, unittest.equals('foo'), @@ -1562,12 +1562,12 @@ void checkLogEntrySourceLocation(api.LogEntrySourceLocation o) { buildCounterLogEntrySourceLocation--; } -core.Map buildUnnamed2851() => { +core.Map buildUnnamed2739() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2851(core.Map o) { +void checkUnnamed2739(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1589,7 +1589,7 @@ api.MetricValue buildMetricValue() { o.doubleValue = 42.0; o.endTime = 'foo'; o.int64Value = 'foo'; - o.labels = buildUnnamed2851(); + o.labels = buildUnnamed2739(); o.moneyValue = buildMoney(); o.startTime = 'foo'; o.stringValue = 'foo'; @@ -1615,7 +1615,7 @@ void checkMetricValue(api.MetricValue o) { o.int64Value!, unittest.equals('foo'), ); - checkUnnamed2851(o.labels!); + checkUnnamed2739(o.labels!); checkMoney(o.moneyValue!); unittest.expect( o.startTime!, @@ -1629,12 +1629,12 @@ void checkMetricValue(api.MetricValue o) { buildCounterMetricValue--; } -core.List buildUnnamed2852() => [ +core.List buildUnnamed2740() => [ buildMetricValue(), buildMetricValue(), ]; -void checkUnnamed2852(core.List o) { +void checkUnnamed2740(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValue(o[0]); checkMetricValue(o[1]); @@ -1646,7 +1646,7 @@ api.MetricValueSet buildMetricValueSet() { buildCounterMetricValueSet++; if (buildCounterMetricValueSet < 3) { o.metricName = 'foo'; - o.metricValues = buildUnnamed2852(); + o.metricValues = buildUnnamed2740(); } buildCounterMetricValueSet--; return o; @@ -1659,7 +1659,7 @@ void checkMetricValueSet(api.MetricValueSet o) { o.metricName!, unittest.equals('foo'), ); - checkUnnamed2852(o.metricValues!); + checkUnnamed2740(o.metricValues!); } buildCounterMetricValueSet--; } @@ -1696,7 +1696,7 @@ void checkMoney(api.Money o) { buildCounterMoney--; } -core.Map buildUnnamed2853() => { +core.Map buildUnnamed2741() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1709,7 +1709,7 @@ core.Map buildUnnamed2853() => { }, }; -void checkUnnamed2853(core.Map o) { +void checkUnnamed2741(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted23 = (o['x']!) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); @@ -1741,23 +1741,23 @@ void checkUnnamed2853(core.Map o) { ); } -core.List> buildUnnamed2854() => [ - buildUnnamed2853(), - buildUnnamed2853(), +core.List> buildUnnamed2742() => [ + buildUnnamed2741(), + buildUnnamed2741(), ]; -void checkUnnamed2854(core.List> o) { +void checkUnnamed2742(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2853(o[0]); - checkUnnamed2853(o[1]); + checkUnnamed2741(o[0]); + checkUnnamed2741(o[1]); } -core.Map buildUnnamed2855() => { +core.Map buildUnnamed2743() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2855(core.Map o) { +void checkUnnamed2743(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1769,56 +1769,56 @@ void checkUnnamed2855(core.Map o) { ); } -core.List buildUnnamed2856() => [ +core.List buildUnnamed2744() => [ buildLogEntry(), buildLogEntry(), ]; -void checkUnnamed2856(core.List o) { +void checkUnnamed2744(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogEntry(o[0]); checkLogEntry(o[1]); } -core.List buildUnnamed2857() => [ +core.List buildUnnamed2745() => [ buildMetricValueSet(), buildMetricValueSet(), ]; -void checkUnnamed2857(core.List o) { +void checkUnnamed2745(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValueSet(o[0]); checkMetricValueSet(o[1]); } -core.List buildUnnamed2858() => [ +core.List buildUnnamed2746() => [ buildResourceInfo(), buildResourceInfo(), ]; -void checkUnnamed2858(core.List o) { +void checkUnnamed2746(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceInfo(o[0]); checkResourceInfo(o[1]); } -core.List buildUnnamed2859() => [ +core.List buildUnnamed2747() => [ buildTraceSpan(), buildTraceSpan(), ]; -void checkUnnamed2859(core.List o) { +void checkUnnamed2747(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTraceSpan(o[0]); checkTraceSpan(o[1]); } -core.Map buildUnnamed2860() => { +core.Map buildUnnamed2748() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2860(core.Map o) { +void checkUnnamed2748(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1837,18 +1837,18 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.consumerId = 'foo'; o.endTime = 'foo'; - o.extensions = buildUnnamed2854(); + o.extensions = buildUnnamed2742(); o.importance = 'foo'; - o.labels = buildUnnamed2855(); - o.logEntries = buildUnnamed2856(); - o.metricValueSets = buildUnnamed2857(); + o.labels = buildUnnamed2743(); + o.logEntries = buildUnnamed2744(); + o.metricValueSets = buildUnnamed2745(); o.operationId = 'foo'; o.operationName = 'foo'; o.quotaProperties = buildQuotaProperties(); - o.resources = buildUnnamed2858(); + o.resources = buildUnnamed2746(); o.startTime = 'foo'; - o.traceSpans = buildUnnamed2859(); - o.userLabels = buildUnnamed2860(); + o.traceSpans = buildUnnamed2747(); + o.userLabels = buildUnnamed2748(); } buildCounterOperation--; return o; @@ -1865,14 +1865,14 @@ void checkOperation(api.Operation o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed2854(o.extensions!); + checkUnnamed2742(o.extensions!); unittest.expect( o.importance!, unittest.equals('foo'), ); - checkUnnamed2855(o.labels!); - checkUnnamed2856(o.logEntries!); - checkUnnamed2857(o.metricValueSets!); + checkUnnamed2743(o.labels!); + checkUnnamed2744(o.logEntries!); + checkUnnamed2745(o.metricValueSets!); unittest.expect( o.operationId!, unittest.equals('foo'), @@ -1882,23 +1882,23 @@ void checkOperation(api.Operation o) { unittest.equals('foo'), ); checkQuotaProperties(o.quotaProperties!); - checkUnnamed2858(o.resources!); + checkUnnamed2746(o.resources!); unittest.expect( o.startTime!, unittest.equals('foo'), ); - checkUnnamed2859(o.traceSpans!); - checkUnnamed2860(o.userLabels!); + checkUnnamed2747(o.traceSpans!); + checkUnnamed2748(o.userLabels!); } buildCounterOperation--; } -core.Map buildUnnamed2861() => { +core.Map buildUnnamed2749() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2861(core.Map o) { +void checkUnnamed2749(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1916,7 +1916,7 @@ api.Peer buildPeer() { buildCounterPeer++; if (buildCounterPeer < 3) { o.ip = 'foo'; - o.labels = buildUnnamed2861(); + o.labels = buildUnnamed2749(); o.port = 'foo'; o.principal = 'foo'; o.regionCode = 'foo'; @@ -1932,7 +1932,7 @@ void checkPeer(api.Peer o) { o.ip!, unittest.equals('foo'), ); - checkUnnamed2861(o.labels!); + checkUnnamed2749(o.labels!); unittest.expect( o.port!, unittest.equals('foo'), @@ -1983,12 +1983,12 @@ void checkQuotaError(api.QuotaError o) { buildCounterQuotaError--; } -core.List buildUnnamed2862() => [ +core.List buildUnnamed2750() => [ 'foo', 'foo', ]; -void checkUnnamed2862(core.List o) { +void checkUnnamed2750(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2000,12 +2000,12 @@ void checkUnnamed2862(core.List o) { ); } -core.Map buildUnnamed2863() => { +core.Map buildUnnamed2751() => { 'x': 42, 'y': 42, }; -void checkUnnamed2863(core.Map o) { +void checkUnnamed2751(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2017,12 +2017,12 @@ void checkUnnamed2863(core.Map o) { ); } -core.List buildUnnamed2864() => [ +core.List buildUnnamed2752() => [ buildMetricValueSet(), buildMetricValueSet(), ]; -void checkUnnamed2864(core.List o) { +void checkUnnamed2752(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValueSet(o[0]); checkMetricValueSet(o[1]); @@ -2033,9 +2033,9 @@ api.QuotaInfo buildQuotaInfo() { final o = api.QuotaInfo(); buildCounterQuotaInfo++; if (buildCounterQuotaInfo < 3) { - o.limitExceeded = buildUnnamed2862(); - o.quotaConsumed = buildUnnamed2863(); - o.quotaMetrics = buildUnnamed2864(); + o.limitExceeded = buildUnnamed2750(); + o.quotaConsumed = buildUnnamed2751(); + o.quotaMetrics = buildUnnamed2752(); } buildCounterQuotaInfo--; return o; @@ -2044,19 +2044,19 @@ api.QuotaInfo buildQuotaInfo() { void checkQuotaInfo(api.QuotaInfo o) { buildCounterQuotaInfo++; if (buildCounterQuotaInfo < 3) { - checkUnnamed2862(o.limitExceeded!); - checkUnnamed2863(o.quotaConsumed!); - checkUnnamed2864(o.quotaMetrics!); + checkUnnamed2750(o.limitExceeded!); + checkUnnamed2751(o.quotaConsumed!); + checkUnnamed2752(o.quotaMetrics!); } buildCounterQuotaInfo--; } -core.Map buildUnnamed2865() => { +core.Map buildUnnamed2753() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2865(core.Map o) { +void checkUnnamed2753(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2068,12 +2068,12 @@ void checkUnnamed2865(core.Map o) { ); } -core.List buildUnnamed2866() => [ +core.List buildUnnamed2754() => [ buildMetricValueSet(), buildMetricValueSet(), ]; -void checkUnnamed2866(core.List o) { +void checkUnnamed2754(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValueSet(o[0]); checkMetricValueSet(o[1]); @@ -2085,10 +2085,10 @@ api.QuotaOperation buildQuotaOperation() { buildCounterQuotaOperation++; if (buildCounterQuotaOperation < 3) { o.consumerId = 'foo'; - o.labels = buildUnnamed2865(); + o.labels = buildUnnamed2753(); o.methodName = 'foo'; o.operationId = 'foo'; - o.quotaMetrics = buildUnnamed2866(); + o.quotaMetrics = buildUnnamed2754(); o.quotaMode = 'foo'; } buildCounterQuotaOperation--; @@ -2102,7 +2102,7 @@ void checkQuotaOperation(api.QuotaOperation o) { o.consumerId!, unittest.equals('foo'), ); - checkUnnamed2865(o.labels!); + checkUnnamed2753(o.labels!); unittest.expect( o.methodName!, unittest.equals('foo'), @@ -2111,7 +2111,7 @@ void checkQuotaOperation(api.QuotaOperation o) { o.operationId!, unittest.equals('foo'), ); - checkUnnamed2866(o.quotaMetrics!); + checkUnnamed2754(o.quotaMetrics!); unittest.expect( o.quotaMode!, unittest.equals('foo'), @@ -2166,12 +2166,12 @@ void checkReportError(api.ReportError o) { buildCounterReportError--; } -core.List buildUnnamed2867() => [ +core.List buildUnnamed2755() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed2867(core.List o) { +void checkUnnamed2755(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2182,7 +2182,7 @@ api.ReportRequest buildReportRequest() { final o = api.ReportRequest(); buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - o.operations = buildUnnamed2867(); + o.operations = buildUnnamed2755(); o.serviceConfigId = 'foo'; } buildCounterReportRequest--; @@ -2192,7 +2192,7 @@ api.ReportRequest buildReportRequest() { void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - checkUnnamed2867(o.operations!); + checkUnnamed2755(o.operations!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -2201,12 +2201,12 @@ void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest--; } -core.List buildUnnamed2868() => [ +core.List buildUnnamed2756() => [ buildReportError(), buildReportError(), ]; -void checkUnnamed2868(core.List o) { +void checkUnnamed2756(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportError(o[0]); checkReportError(o[1]); @@ -2217,7 +2217,7 @@ api.ReportResponse buildReportResponse() { final o = api.ReportResponse(); buildCounterReportResponse++; if (buildCounterReportResponse < 3) { - o.reportErrors = buildUnnamed2868(); + o.reportErrors = buildUnnamed2756(); o.serviceConfigId = 'foo'; o.serviceRolloutId = 'foo'; } @@ -2228,7 +2228,7 @@ api.ReportResponse buildReportResponse() { void checkReportResponse(api.ReportResponse o) { buildCounterReportResponse++; if (buildCounterReportResponse < 3) { - checkUnnamed2868(o.reportErrors!); + checkUnnamed2756(o.reportErrors!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -2241,12 +2241,12 @@ void checkReportResponse(api.ReportResponse o) { buildCounterReportResponse--; } -core.Map buildUnnamed2869() => { +core.Map buildUnnamed2757() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2869(core.Map o) { +void checkUnnamed2757(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2264,7 +2264,7 @@ api.Request buildRequest() { buildCounterRequest++; if (buildCounterRequest < 3) { o.auth = buildAuth(); - o.headers = buildUnnamed2869(); + o.headers = buildUnnamed2757(); o.host = 'foo'; o.id = 'foo'; o.method = 'foo'; @@ -2284,7 +2284,7 @@ void checkRequest(api.Request o) { buildCounterRequest++; if (buildCounterRequest < 3) { checkAuth(o.auth!); - checkUnnamed2869(o.headers!); + checkUnnamed2757(o.headers!); unittest.expect( o.host!, unittest.equals('foo'), @@ -2365,12 +2365,12 @@ void checkRequestMetadata(api.RequestMetadata o) { buildCounterRequestMetadata--; } -core.Map buildUnnamed2870() => { +core.Map buildUnnamed2758() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2870(core.Map o) { +void checkUnnamed2758(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2382,12 +2382,12 @@ void checkUnnamed2870(core.Map o) { ); } -core.Map buildUnnamed2871() => { +core.Map buildUnnamed2759() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2871(core.Map o) { +void checkUnnamed2759(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2404,12 +2404,12 @@ api.Resource buildResource() { final o = api.Resource(); buildCounterResource++; if (buildCounterResource < 3) { - o.annotations = buildUnnamed2870(); + o.annotations = buildUnnamed2758(); o.createTime = 'foo'; o.deleteTime = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed2871(); + o.labels = buildUnnamed2759(); o.location = 'foo'; o.name = 'foo'; o.service = 'foo'; @@ -2424,7 +2424,7 @@ api.Resource buildResource() { void checkResource(api.Resource o) { buildCounterResource++; if (buildCounterResource < 3) { - checkUnnamed2870(o.annotations!); + checkUnnamed2758(o.annotations!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2441,7 +2441,7 @@ void checkResource(api.Resource o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed2871(o.labels!); + checkUnnamed2759(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -2502,12 +2502,12 @@ void checkResourceInfo(api.ResourceInfo o) { buildCounterResourceInfo--; } -core.List buildUnnamed2872() => [ +core.List buildUnnamed2760() => [ 'foo', 'foo', ]; -void checkUnnamed2872(core.List o) { +void checkUnnamed2760(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2519,12 +2519,12 @@ void checkUnnamed2872(core.List o) { ); } -core.List buildUnnamed2873() => [ +core.List buildUnnamed2761() => [ 'foo', 'foo', ]; -void checkUnnamed2873(core.List o) { +void checkUnnamed2761(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2541,8 +2541,8 @@ api.ResourceLocation buildResourceLocation() { final o = api.ResourceLocation(); buildCounterResourceLocation++; if (buildCounterResourceLocation < 3) { - o.currentLocations = buildUnnamed2872(); - o.originalLocations = buildUnnamed2873(); + o.currentLocations = buildUnnamed2760(); + o.originalLocations = buildUnnamed2761(); } buildCounterResourceLocation--; return o; @@ -2551,8 +2551,8 @@ api.ResourceLocation buildResourceLocation() { void checkResourceLocation(api.ResourceLocation o) { buildCounterResourceLocation++; if (buildCounterResourceLocation < 3) { - checkUnnamed2872(o.currentLocations!); - checkUnnamed2873(o.originalLocations!); + checkUnnamed2760(o.currentLocations!); + checkUnnamed2761(o.originalLocations!); } buildCounterResourceLocation--; } @@ -2605,7 +2605,7 @@ void checkSpanContext(api.SpanContext o) { buildCounterSpanContext--; } -core.Map buildUnnamed2874() => { +core.Map buildUnnamed2762() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2618,7 +2618,7 @@ core.Map buildUnnamed2874() => { }, }; -void checkUnnamed2874(core.Map o) { +void checkUnnamed2762(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted25 = (o['x']!) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); @@ -2650,15 +2650,15 @@ void checkUnnamed2874(core.Map o) { ); } -core.List> buildUnnamed2875() => [ - buildUnnamed2874(), - buildUnnamed2874(), +core.List> buildUnnamed2763() => [ + buildUnnamed2762(), + buildUnnamed2762(), ]; -void checkUnnamed2875(core.List> o) { +void checkUnnamed2763(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2874(o[0]); - checkUnnamed2874(o[1]); + checkUnnamed2762(o[0]); + checkUnnamed2762(o[1]); } core.int buildCounterStatus = 0; @@ -2667,7 +2667,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2875(); + o.details = buildUnnamed2763(); o.message = 'foo'; } buildCounterStatus--; @@ -2681,7 +2681,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2875(o.details!); + checkUnnamed2763(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2690,7 +2690,7 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed2876() => { +core.Map buildUnnamed2764() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2703,7 +2703,7 @@ core.Map buildUnnamed2876() => { }, }; -void checkUnnamed2876(core.Map o) { +void checkUnnamed2764(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted27 = (o['x']!) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); @@ -2740,7 +2740,7 @@ api.ThirdPartyPrincipal buildThirdPartyPrincipal() { final o = api.ThirdPartyPrincipal(); buildCounterThirdPartyPrincipal++; if (buildCounterThirdPartyPrincipal < 3) { - o.thirdPartyClaims = buildUnnamed2876(); + o.thirdPartyClaims = buildUnnamed2764(); } buildCounterThirdPartyPrincipal--; return o; @@ -2749,7 +2749,7 @@ api.ThirdPartyPrincipal buildThirdPartyPrincipal() { void checkThirdPartyPrincipal(api.ThirdPartyPrincipal o) { buildCounterThirdPartyPrincipal++; if (buildCounterThirdPartyPrincipal < 3) { - checkUnnamed2876(o.thirdPartyClaims!); + checkUnnamed2764(o.thirdPartyClaims!); } buildCounterThirdPartyPrincipal--; } diff --git a/generated/googleapis/test/servicecontrol/v2_test.dart b/generated/googleapis/test/servicecontrol/v2_test.dart index 41418a467..f99a55ea5 100644 --- a/generated/googleapis/test/servicecontrol/v2_test.dart +++ b/generated/googleapis/test/servicecontrol/v2_test.dart @@ -63,7 +63,7 @@ void checkApi(api.Api o) { buildCounterApi--; } -core.Map buildUnnamed4943() => { +core.Map buildUnnamed4987() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -76,7 +76,7 @@ core.Map buildUnnamed4943() => { }, }; -void checkUnnamed4943(core.Map o) { +void checkUnnamed4987(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -108,15 +108,15 @@ void checkUnnamed4943(core.Map o) { ); } -core.List> buildUnnamed4944() => [ - buildUnnamed4943(), - buildUnnamed4943(), +core.List> buildUnnamed4988() => [ + buildUnnamed4987(), + buildUnnamed4987(), ]; -void checkUnnamed4944(core.List> o) { +void checkUnnamed4988(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4943(o[0]); - checkUnnamed4943(o[1]); + checkUnnamed4987(o[0]); + checkUnnamed4987(o[1]); } core.int buildCounterAttributeContext = 0; @@ -126,7 +126,7 @@ api.AttributeContext buildAttributeContext() { if (buildCounterAttributeContext < 3) { o.api = buildApi(); o.destination = buildPeer(); - o.extensions = buildUnnamed4944(); + o.extensions = buildUnnamed4988(); o.origin = buildPeer(); o.request = buildRequest(); o.resource = buildResource(); @@ -142,7 +142,7 @@ void checkAttributeContext(api.AttributeContext o) { if (buildCounterAttributeContext < 3) { checkApi(o.api!); checkPeer(o.destination!); - checkUnnamed4944(o.extensions!); + checkUnnamed4988(o.extensions!); checkPeer(o.origin!); checkRequest(o.request!); checkResource(o.resource!); @@ -152,18 +152,18 @@ void checkAttributeContext(api.AttributeContext o) { buildCounterAttributeContext--; } -core.List buildUnnamed4945() => [ +core.List buildUnnamed4989() => [ buildAuthorizationInfo(), buildAuthorizationInfo(), ]; -void checkUnnamed4945(core.List o) { +void checkUnnamed4989(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthorizationInfo(o[0]); checkAuthorizationInfo(o[1]); } -core.Map buildUnnamed4946() => { +core.Map buildUnnamed4990() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -176,7 +176,7 @@ core.Map buildUnnamed4946() => { }, }; -void checkUnnamed4946(core.Map o) { +void checkUnnamed4990(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -208,7 +208,7 @@ void checkUnnamed4946(core.Map o) { ); } -core.Map buildUnnamed4947() => { +core.Map buildUnnamed4991() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -221,7 +221,7 @@ core.Map buildUnnamed4947() => { }, }; -void checkUnnamed4947(core.Map o) { +void checkUnnamed4991(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -253,7 +253,7 @@ void checkUnnamed4947(core.Map o) { ); } -core.Map buildUnnamed4948() => { +core.Map buildUnnamed4992() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -266,7 +266,7 @@ core.Map buildUnnamed4948() => { }, }; -void checkUnnamed4948(core.Map o) { +void checkUnnamed4992(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -298,7 +298,7 @@ void checkUnnamed4948(core.Map o) { ); } -core.Map buildUnnamed4949() => { +core.Map buildUnnamed4993() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -311,7 +311,7 @@ core.Map buildUnnamed4949() => { }, }; -void checkUnnamed4949(core.Map o) { +void checkUnnamed4993(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -343,7 +343,7 @@ void checkUnnamed4949(core.Map o) { ); } -core.Map buildUnnamed4950() => { +core.Map buildUnnamed4994() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -356,7 +356,7 @@ core.Map buildUnnamed4950() => { }, }; -void checkUnnamed4950(core.Map o) { +void checkUnnamed4994(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -394,17 +394,17 @@ api.AuditLog buildAuditLog() { buildCounterAuditLog++; if (buildCounterAuditLog < 3) { o.authenticationInfo = buildAuthenticationInfo(); - o.authorizationInfo = buildUnnamed4945(); - o.metadata = buildUnnamed4946(); + o.authorizationInfo = buildUnnamed4989(); + o.metadata = buildUnnamed4990(); o.methodName = 'foo'; o.numResponseItems = 'foo'; - o.request = buildUnnamed4947(); + o.request = buildUnnamed4991(); o.requestMetadata = buildRequestMetadata(); o.resourceLocation = buildResourceLocation(); o.resourceName = 'foo'; - o.resourceOriginalState = buildUnnamed4948(); - o.response = buildUnnamed4949(); - o.serviceData = buildUnnamed4950(); + o.resourceOriginalState = buildUnnamed4992(); + o.response = buildUnnamed4993(); + o.serviceData = buildUnnamed4994(); o.serviceName = 'foo'; o.status = buildStatus(); } @@ -416,8 +416,8 @@ void checkAuditLog(api.AuditLog o) { buildCounterAuditLog++; if (buildCounterAuditLog < 3) { checkAuthenticationInfo(o.authenticationInfo!); - checkUnnamed4945(o.authorizationInfo!); - checkUnnamed4946(o.metadata!); + checkUnnamed4989(o.authorizationInfo!); + checkUnnamed4990(o.metadata!); unittest.expect( o.methodName!, unittest.equals('foo'), @@ -426,16 +426,16 @@ void checkAuditLog(api.AuditLog o) { o.numResponseItems!, unittest.equals('foo'), ); - checkUnnamed4947(o.request!); + checkUnnamed4991(o.request!); checkRequestMetadata(o.requestMetadata!); checkResourceLocation(o.resourceLocation!); unittest.expect( o.resourceName!, unittest.equals('foo'), ); - checkUnnamed4948(o.resourceOriginalState!); - checkUnnamed4949(o.response!); - checkUnnamed4950(o.serviceData!); + checkUnnamed4992(o.resourceOriginalState!); + checkUnnamed4993(o.response!); + checkUnnamed4994(o.serviceData!); unittest.expect( o.serviceName!, unittest.equals('foo'), @@ -445,12 +445,12 @@ void checkAuditLog(api.AuditLog o) { buildCounterAuditLog--; } -core.List buildUnnamed4951() => [ +core.List buildUnnamed4995() => [ 'foo', 'foo', ]; -void checkUnnamed4951(core.List o) { +void checkUnnamed4995(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -462,12 +462,12 @@ void checkUnnamed4951(core.List o) { ); } -core.List buildUnnamed4952() => [ +core.List buildUnnamed4996() => [ 'foo', 'foo', ]; -void checkUnnamed4952(core.List o) { +void checkUnnamed4996(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -479,7 +479,7 @@ void checkUnnamed4952(core.List o) { ); } -core.Map buildUnnamed4953() => { +core.Map buildUnnamed4997() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -492,7 +492,7 @@ core.Map buildUnnamed4953() => { }, }; -void checkUnnamed4953(core.Map o) { +void checkUnnamed4997(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -529,9 +529,9 @@ api.Auth buildAuth() { final o = api.Auth(); buildCounterAuth++; if (buildCounterAuth < 3) { - o.accessLevels = buildUnnamed4951(); - o.audiences = buildUnnamed4952(); - o.claims = buildUnnamed4953(); + o.accessLevels = buildUnnamed4995(); + o.audiences = buildUnnamed4996(); + o.claims = buildUnnamed4997(); o.presenter = 'foo'; o.principal = 'foo'; } @@ -542,9 +542,9 @@ api.Auth buildAuth() { void checkAuth(api.Auth o) { buildCounterAuth++; if (buildCounterAuth < 3) { - checkUnnamed4951(o.accessLevels!); - checkUnnamed4952(o.audiences!); - checkUnnamed4953(o.claims!); + checkUnnamed4995(o.accessLevels!); + checkUnnamed4996(o.audiences!); + checkUnnamed4997(o.claims!); unittest.expect( o.presenter!, unittest.equals('foo'), @@ -557,18 +557,18 @@ void checkAuth(api.Auth o) { buildCounterAuth--; } -core.List buildUnnamed4954() => [ +core.List buildUnnamed4998() => [ buildServiceAccountDelegationInfo(), buildServiceAccountDelegationInfo(), ]; -void checkUnnamed4954(core.List o) { +void checkUnnamed4998(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceAccountDelegationInfo(o[0]); checkServiceAccountDelegationInfo(o[1]); } -core.Map buildUnnamed4955() => { +core.Map buildUnnamed4999() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -581,7 +581,7 @@ core.Map buildUnnamed4955() => { }, }; -void checkUnnamed4955(core.Map o) { +void checkUnnamed4999(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted15 = (o['x']!) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); @@ -621,9 +621,9 @@ api.AuthenticationInfo buildAuthenticationInfo() { o.authoritySelector = 'foo'; o.principalEmail = 'foo'; o.principalSubject = 'foo'; - o.serviceAccountDelegationInfo = buildUnnamed4954(); + o.serviceAccountDelegationInfo = buildUnnamed4998(); o.serviceAccountKeyName = 'foo'; - o.thirdPartyPrincipal = buildUnnamed4955(); + o.thirdPartyPrincipal = buildUnnamed4999(); } buildCounterAuthenticationInfo--; return o; @@ -644,12 +644,12 @@ void checkAuthenticationInfo(api.AuthenticationInfo o) { o.principalSubject!, unittest.equals('foo'), ); - checkUnnamed4954(o.serviceAccountDelegationInfo!); + checkUnnamed4998(o.serviceAccountDelegationInfo!); unittest.expect( o.serviceAccountKeyName!, unittest.equals('foo'), ); - checkUnnamed4955(o.thirdPartyPrincipal!); + checkUnnamed4999(o.thirdPartyPrincipal!); } buildCounterAuthenticationInfo--; } @@ -685,12 +685,12 @@ void checkAuthorizationInfo(api.AuthorizationInfo o) { buildCounterAuthorizationInfo--; } -core.List buildUnnamed4956() => [ +core.List buildUnnamed5000() => [ buildResourceInfo(), buildResourceInfo(), ]; -void checkUnnamed4956(core.List o) { +void checkUnnamed5000(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResourceInfo(o[0]); checkResourceInfo(o[1]); @@ -703,7 +703,7 @@ api.CheckRequest buildCheckRequest() { if (buildCounterCheckRequest < 3) { o.attributes = buildAttributeContext(); o.flags = 'foo'; - o.resources = buildUnnamed4956(); + o.resources = buildUnnamed5000(); o.serviceConfigId = 'foo'; } buildCounterCheckRequest--; @@ -718,7 +718,7 @@ void checkCheckRequest(api.CheckRequest o) { o.flags!, unittest.equals('foo'), ); - checkUnnamed4956(o.resources!); + checkUnnamed5000(o.resources!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -727,12 +727,12 @@ void checkCheckRequest(api.CheckRequest o) { buildCounterCheckRequest--; } -core.Map buildUnnamed4957() => { +core.Map buildUnnamed5001() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4957(core.Map o) { +void checkUnnamed5001(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -749,7 +749,7 @@ api.CheckResponse buildCheckResponse() { final o = api.CheckResponse(); buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { - o.headers = buildUnnamed4957(); + o.headers = buildUnnamed5001(); o.status = buildStatus(); } buildCounterCheckResponse--; @@ -759,13 +759,13 @@ api.CheckResponse buildCheckResponse() { void checkCheckResponse(api.CheckResponse o) { buildCounterCheckResponse++; if (buildCounterCheckResponse < 3) { - checkUnnamed4957(o.headers!); + checkUnnamed5001(o.headers!); checkStatus(o.status!); } buildCounterCheckResponse--; } -core.Map buildUnnamed4958() => { +core.Map buildUnnamed5002() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -778,7 +778,7 @@ core.Map buildUnnamed4958() => { }, }; -void checkUnnamed4958(core.Map o) { +void checkUnnamed5002(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted17 = (o['x']!) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); @@ -816,7 +816,7 @@ api.FirstPartyPrincipal buildFirstPartyPrincipal() { buildCounterFirstPartyPrincipal++; if (buildCounterFirstPartyPrincipal < 3) { o.principalEmail = 'foo'; - o.serviceMetadata = buildUnnamed4958(); + o.serviceMetadata = buildUnnamed5002(); } buildCounterFirstPartyPrincipal--; return o; @@ -829,17 +829,17 @@ void checkFirstPartyPrincipal(api.FirstPartyPrincipal o) { o.principalEmail!, unittest.equals('foo'), ); - checkUnnamed4958(o.serviceMetadata!); + checkUnnamed5002(o.serviceMetadata!); } buildCounterFirstPartyPrincipal--; } -core.Map buildUnnamed4959() => { +core.Map buildUnnamed5003() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4959(core.Map o) { +void checkUnnamed5003(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -857,7 +857,7 @@ api.Peer buildPeer() { buildCounterPeer++; if (buildCounterPeer < 3) { o.ip = 'foo'; - o.labels = buildUnnamed4959(); + o.labels = buildUnnamed5003(); o.port = 'foo'; o.principal = 'foo'; o.regionCode = 'foo'; @@ -873,7 +873,7 @@ void checkPeer(api.Peer o) { o.ip!, unittest.equals('foo'), ); - checkUnnamed4959(o.labels!); + checkUnnamed5003(o.labels!); unittest.expect( o.port!, unittest.equals('foo'), @@ -890,12 +890,12 @@ void checkPeer(api.Peer o) { buildCounterPeer--; } -core.List buildUnnamed4960() => [ +core.List buildUnnamed5004() => [ buildAttributeContext(), buildAttributeContext(), ]; -void checkUnnamed4960(core.List o) { +void checkUnnamed5004(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAttributeContext(o[0]); checkAttributeContext(o[1]); @@ -906,7 +906,7 @@ api.ReportRequest buildReportRequest() { final o = api.ReportRequest(); buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - o.operations = buildUnnamed4960(); + o.operations = buildUnnamed5004(); o.serviceConfigId = 'foo'; } buildCounterReportRequest--; @@ -916,7 +916,7 @@ api.ReportRequest buildReportRequest() { void checkReportRequest(api.ReportRequest o) { buildCounterReportRequest++; if (buildCounterReportRequest < 3) { - checkUnnamed4960(o.operations!); + checkUnnamed5004(o.operations!); unittest.expect( o.serviceConfigId!, unittest.equals('foo'), @@ -940,12 +940,12 @@ void checkReportResponse(api.ReportResponse o) { buildCounterReportResponse--; } -core.Map buildUnnamed4961() => { +core.Map buildUnnamed5005() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4961(core.Map o) { +void checkUnnamed5005(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -963,7 +963,7 @@ api.Request buildRequest() { buildCounterRequest++; if (buildCounterRequest < 3) { o.auth = buildAuth(); - o.headers = buildUnnamed4961(); + o.headers = buildUnnamed5005(); o.host = 'foo'; o.id = 'foo'; o.method = 'foo'; @@ -983,7 +983,7 @@ void checkRequest(api.Request o) { buildCounterRequest++; if (buildCounterRequest < 3) { checkAuth(o.auth!); - checkUnnamed4961(o.headers!); + checkUnnamed5005(o.headers!); unittest.expect( o.host!, unittest.equals('foo'), @@ -1064,12 +1064,12 @@ void checkRequestMetadata(api.RequestMetadata o) { buildCounterRequestMetadata--; } -core.Map buildUnnamed4962() => { +core.Map buildUnnamed5006() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4962(core.Map o) { +void checkUnnamed5006(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1081,12 +1081,12 @@ void checkUnnamed4962(core.Map o) { ); } -core.Map buildUnnamed4963() => { +core.Map buildUnnamed5007() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4963(core.Map o) { +void checkUnnamed5007(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1103,12 +1103,12 @@ api.Resource buildResource() { final o = api.Resource(); buildCounterResource++; if (buildCounterResource < 3) { - o.annotations = buildUnnamed4962(); + o.annotations = buildUnnamed5006(); o.createTime = 'foo'; o.deleteTime = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed4963(); + o.labels = buildUnnamed5007(); o.location = 'foo'; o.name = 'foo'; o.service = 'foo'; @@ -1123,7 +1123,7 @@ api.Resource buildResource() { void checkResource(api.Resource o) { buildCounterResource++; if (buildCounterResource < 3) { - checkUnnamed4962(o.annotations!); + checkUnnamed5006(o.annotations!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -1140,7 +1140,7 @@ void checkResource(api.Resource o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed4963(o.labels!); + checkUnnamed5007(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -1211,12 +1211,12 @@ void checkResourceInfo(api.ResourceInfo o) { buildCounterResourceInfo--; } -core.List buildUnnamed4964() => [ +core.List buildUnnamed5008() => [ 'foo', 'foo', ]; -void checkUnnamed4964(core.List o) { +void checkUnnamed5008(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1228,12 +1228,12 @@ void checkUnnamed4964(core.List o) { ); } -core.List buildUnnamed4965() => [ +core.List buildUnnamed5009() => [ 'foo', 'foo', ]; -void checkUnnamed4965(core.List o) { +void checkUnnamed5009(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1250,8 +1250,8 @@ api.ResourceLocation buildResourceLocation() { final o = api.ResourceLocation(); buildCounterResourceLocation++; if (buildCounterResourceLocation < 3) { - o.currentLocations = buildUnnamed4964(); - o.originalLocations = buildUnnamed4965(); + o.currentLocations = buildUnnamed5008(); + o.originalLocations = buildUnnamed5009(); } buildCounterResourceLocation--; return o; @@ -1260,18 +1260,18 @@ api.ResourceLocation buildResourceLocation() { void checkResourceLocation(api.ResourceLocation o) { buildCounterResourceLocation++; if (buildCounterResourceLocation < 3) { - checkUnnamed4964(o.currentLocations!); - checkUnnamed4965(o.originalLocations!); + checkUnnamed5008(o.currentLocations!); + checkUnnamed5009(o.originalLocations!); } buildCounterResourceLocation--; } -core.Map buildUnnamed4966() => { +core.Map buildUnnamed5010() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4966(core.Map o) { +void checkUnnamed5010(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1290,7 +1290,7 @@ api.Response buildResponse() { if (buildCounterResponse < 3) { o.backendLatency = 'foo'; o.code = 'foo'; - o.headers = buildUnnamed4966(); + o.headers = buildUnnamed5010(); o.size = 'foo'; o.time = 'foo'; } @@ -1309,7 +1309,7 @@ void checkResponse(api.Response o) { o.code!, unittest.equals('foo'), ); - checkUnnamed4966(o.headers!); + checkUnnamed5010(o.headers!); unittest.expect( o.size!, unittest.equals('foo'), @@ -1370,7 +1370,7 @@ void checkSpanContext(api.SpanContext o) { buildCounterSpanContext--; } -core.Map buildUnnamed4967() => { +core.Map buildUnnamed5011() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1383,7 +1383,7 @@ core.Map buildUnnamed4967() => { }, }; -void checkUnnamed4967(core.Map o) { +void checkUnnamed5011(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted19 = (o['x']!) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); @@ -1415,15 +1415,15 @@ void checkUnnamed4967(core.Map o) { ); } -core.List> buildUnnamed4968() => [ - buildUnnamed4967(), - buildUnnamed4967(), +core.List> buildUnnamed5012() => [ + buildUnnamed5011(), + buildUnnamed5011(), ]; -void checkUnnamed4968(core.List> o) { +void checkUnnamed5012(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4967(o[0]); - checkUnnamed4967(o[1]); + checkUnnamed5011(o[0]); + checkUnnamed5011(o[1]); } core.int buildCounterStatus = 0; @@ -1432,7 +1432,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4968(); + o.details = buildUnnamed5012(); o.message = 'foo'; } buildCounterStatus--; @@ -1446,7 +1446,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4968(o.details!); + checkUnnamed5012(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1455,7 +1455,7 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed4969() => { +core.Map buildUnnamed5013() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1468,7 +1468,7 @@ core.Map buildUnnamed4969() => { }, }; -void checkUnnamed4969(core.Map o) { +void checkUnnamed5013(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted21 = (o['x']!) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); @@ -1505,7 +1505,7 @@ api.ThirdPartyPrincipal buildThirdPartyPrincipal() { final o = api.ThirdPartyPrincipal(); buildCounterThirdPartyPrincipal++; if (buildCounterThirdPartyPrincipal < 3) { - o.thirdPartyClaims = buildUnnamed4969(); + o.thirdPartyClaims = buildUnnamed5013(); } buildCounterThirdPartyPrincipal--; return o; @@ -1514,7 +1514,7 @@ api.ThirdPartyPrincipal buildThirdPartyPrincipal() { void checkThirdPartyPrincipal(api.ThirdPartyPrincipal o) { buildCounterThirdPartyPrincipal++; if (buildCounterThirdPartyPrincipal < 3) { - checkUnnamed4969(o.thirdPartyClaims!); + checkUnnamed5013(o.thirdPartyClaims!); } buildCounterThirdPartyPrincipal--; } diff --git a/generated/googleapis/test/servicedirectory/v1_test.dart b/generated/googleapis/test/servicedirectory/v1_test.dart index 33cfdf77f..223a3b05a 100644 --- a/generated/googleapis/test/servicedirectory/v1_test.dart +++ b/generated/googleapis/test/servicedirectory/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed227() => [ +core.List buildUnnamed229() => [ 'foo', 'foo', ]; -void checkUnnamed227(core.List o) { +void checkUnnamed229(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed227(); + o.members = buildUnnamed229(); o.role = 'foo'; } buildCounterBinding--; @@ -60,7 +60,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed227(o.members!); + checkUnnamed229(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -84,12 +84,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.Map buildUnnamed228() => { +core.Map buildUnnamed230() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed228(core.Map o) { +void checkUnnamed230(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -107,7 +107,7 @@ api.Endpoint buildEndpoint() { buildCounterEndpoint++; if (buildCounterEndpoint < 3) { o.address = 'foo'; - o.annotations = buildUnnamed228(); + o.annotations = buildUnnamed230(); o.name = 'foo'; o.port = 42; } @@ -122,7 +122,7 @@ void checkEndpoint(api.Endpoint o) { o.address!, unittest.equals('foo'), ); - checkUnnamed228(o.annotations!); + checkUnnamed230(o.annotations!); unittest.expect( o.name!, unittest.equals('foo'), @@ -213,12 +213,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed229() => [ +core.List buildUnnamed231() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed229(core.List o) { +void checkUnnamed231(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); @@ -229,7 +229,7 @@ api.ListEndpointsResponse buildListEndpointsResponse() { final o = api.ListEndpointsResponse(); buildCounterListEndpointsResponse++; if (buildCounterListEndpointsResponse < 3) { - o.endpoints = buildUnnamed229(); + o.endpoints = buildUnnamed231(); o.nextPageToken = 'foo'; } buildCounterListEndpointsResponse--; @@ -239,7 +239,7 @@ api.ListEndpointsResponse buildListEndpointsResponse() { void checkListEndpointsResponse(api.ListEndpointsResponse o) { buildCounterListEndpointsResponse++; if (buildCounterListEndpointsResponse < 3) { - checkUnnamed229(o.endpoints!); + checkUnnamed231(o.endpoints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -248,12 +248,12 @@ void checkListEndpointsResponse(api.ListEndpointsResponse o) { buildCounterListEndpointsResponse--; } -core.List buildUnnamed230() => [ +core.List buildUnnamed232() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed230(core.List o) { +void checkUnnamed232(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -264,7 +264,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed230(); + o.locations = buildUnnamed232(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -274,7 +274,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed230(o.locations!); + checkUnnamed232(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -283,12 +283,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed231() => [ +core.List buildUnnamed233() => [ buildNamespace(), buildNamespace(), ]; -void checkUnnamed231(core.List o) { +void checkUnnamed233(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamespace(o[0]); checkNamespace(o[1]); @@ -299,7 +299,7 @@ api.ListNamespacesResponse buildListNamespacesResponse() { final o = api.ListNamespacesResponse(); buildCounterListNamespacesResponse++; if (buildCounterListNamespacesResponse < 3) { - o.namespaces = buildUnnamed231(); + o.namespaces = buildUnnamed233(); o.nextPageToken = 'foo'; } buildCounterListNamespacesResponse--; @@ -309,7 +309,7 @@ api.ListNamespacesResponse buildListNamespacesResponse() { void checkListNamespacesResponse(api.ListNamespacesResponse o) { buildCounterListNamespacesResponse++; if (buildCounterListNamespacesResponse < 3) { - checkUnnamed231(o.namespaces!); + checkUnnamed233(o.namespaces!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -318,12 +318,12 @@ void checkListNamespacesResponse(api.ListNamespacesResponse o) { buildCounterListNamespacesResponse--; } -core.List buildUnnamed232() => [ +core.List buildUnnamed234() => [ buildService(), buildService(), ]; -void checkUnnamed232(core.List o) { +void checkUnnamed234(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); @@ -335,7 +335,7 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed232(); + o.services = buildUnnamed234(); } buildCounterListServicesResponse--; return o; @@ -348,17 +348,17 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed232(o.services!); + checkUnnamed234(o.services!); } buildCounterListServicesResponse--; } -core.Map buildUnnamed233() => { +core.Map buildUnnamed235() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed233(core.Map o) { +void checkUnnamed235(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -370,7 +370,7 @@ void checkUnnamed233(core.Map o) { ); } -core.Map buildUnnamed234() => { +core.Map buildUnnamed236() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -383,7 +383,7 @@ core.Map buildUnnamed234() => { }, }; -void checkUnnamed234(core.Map o) { +void checkUnnamed236(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -421,9 +421,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed233(); + o.labels = buildUnnamed235(); o.locationId = 'foo'; - o.metadata = buildUnnamed234(); + o.metadata = buildUnnamed236(); o.name = 'foo'; } buildCounterLocation--; @@ -437,12 +437,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed233(o.labels!); + checkUnnamed235(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed234(o.metadata!); + checkUnnamed236(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -451,12 +451,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed235() => { +core.Map buildUnnamed237() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed235(core.Map o) { +void checkUnnamed237(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -473,7 +473,7 @@ api.Namespace buildNamespace() { final o = api.Namespace(); buildCounterNamespace++; if (buildCounterNamespace < 3) { - o.labels = buildUnnamed235(); + o.labels = buildUnnamed237(); o.name = 'foo'; } buildCounterNamespace--; @@ -483,7 +483,7 @@ api.Namespace buildNamespace() { void checkNamespace(api.Namespace o) { buildCounterNamespace++; if (buildCounterNamespace < 3) { - checkUnnamed235(o.labels!); + checkUnnamed237(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -492,12 +492,12 @@ void checkNamespace(api.Namespace o) { buildCounterNamespace--; } -core.List buildUnnamed236() => [ +core.List buildUnnamed238() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed236(core.List o) { +void checkUnnamed238(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -508,7 +508,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed236(); + o.bindings = buildUnnamed238(); o.etag = 'foo'; o.version = 42; } @@ -519,7 +519,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed236(o.bindings!); + checkUnnamed238(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -578,12 +578,12 @@ void checkResolveServiceResponse(api.ResolveServiceResponse o) { buildCounterResolveServiceResponse--; } -core.Map buildUnnamed237() => { +core.Map buildUnnamed239() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed237(core.Map o) { +void checkUnnamed239(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -595,12 +595,12 @@ void checkUnnamed237(core.Map o) { ); } -core.List buildUnnamed238() => [ +core.List buildUnnamed240() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed238(core.List o) { +void checkUnnamed240(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); @@ -611,8 +611,8 @@ api.Service buildService() { final o = api.Service(); buildCounterService++; if (buildCounterService < 3) { - o.annotations = buildUnnamed237(); - o.endpoints = buildUnnamed238(); + o.annotations = buildUnnamed239(); + o.endpoints = buildUnnamed240(); o.name = 'foo'; } buildCounterService--; @@ -622,8 +622,8 @@ api.Service buildService() { void checkService(api.Service o) { buildCounterService++; if (buildCounterService < 3) { - checkUnnamed237(o.annotations!); - checkUnnamed238(o.endpoints!); + checkUnnamed239(o.annotations!); + checkUnnamed240(o.endpoints!); unittest.expect( o.name!, unittest.equals('foo'), @@ -651,12 +651,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed239() => [ +core.List buildUnnamed241() => [ 'foo', 'foo', ]; -void checkUnnamed239(core.List o) { +void checkUnnamed241(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -673,7 +673,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed239(); + o.permissions = buildUnnamed241(); } buildCounterTestIamPermissionsRequest--; return o; @@ -682,17 +682,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed239(o.permissions!); + checkUnnamed241(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed240() => [ +core.List buildUnnamed242() => [ 'foo', 'foo', ]; -void checkUnnamed240(core.List o) { +void checkUnnamed242(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -709,7 +709,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed240(); + o.permissions = buildUnnamed242(); } buildCounterTestIamPermissionsResponse--; return o; @@ -718,7 +718,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed240(o.permissions!); + checkUnnamed242(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart index b921bf263..aa2e6ca07 100644 --- a/generated/googleapis/test/servicemanagement/v1_test.dart +++ b/generated/googleapis/test/servicemanagement/v1_test.dart @@ -48,34 +48,34 @@ void checkAdvice(api.Advice o) { buildCounterAdvice--; } -core.List buildUnnamed6145() => [ +core.List buildUnnamed6212() => [ buildMethod(), buildMethod(), ]; -void checkUnnamed6145(core.List o) { +void checkUnnamed6212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMethod(o[0]); checkMethod(o[1]); } -core.List buildUnnamed6146() => [ +core.List buildUnnamed6213() => [ buildMixin(), buildMixin(), ]; -void checkUnnamed6146(core.List o) { +void checkUnnamed6213(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMixin(o[0]); checkMixin(o[1]); } -core.List buildUnnamed6147() => [ +core.List buildUnnamed6214() => [ buildOption(), buildOption(), ]; -void checkUnnamed6147(core.List o) { +void checkUnnamed6214(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -86,10 +86,10 @@ api.Api buildApi() { final o = api.Api(); buildCounterApi++; if (buildCounterApi < 3) { - o.methods = buildUnnamed6145(); - o.mixins = buildUnnamed6146(); + o.methods = buildUnnamed6212(); + o.mixins = buildUnnamed6213(); o.name = 'foo'; - o.options = buildUnnamed6147(); + o.options = buildUnnamed6214(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; o.version = 'foo'; @@ -101,13 +101,13 @@ api.Api buildApi() { void checkApi(api.Api o) { buildCounterApi++; if (buildCounterApi < 3) { - checkUnnamed6145(o.methods!); - checkUnnamed6146(o.mixins!); + checkUnnamed6212(o.methods!); + checkUnnamed6213(o.mixins!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6147(o.options!); + checkUnnamed6214(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -121,12 +121,12 @@ void checkApi(api.Api o) { buildCounterApi--; } -core.List buildUnnamed6148() => [ +core.List buildUnnamed6215() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed6148(core.List o) { +void checkUnnamed6215(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -137,7 +137,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed6148(); + o.auditLogConfigs = buildUnnamed6215(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -147,7 +147,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed6148(o.auditLogConfigs!); + checkUnnamed6215(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -156,12 +156,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed6149() => [ +core.List buildUnnamed6216() => [ 'foo', 'foo', ]; -void checkUnnamed6149(core.List o) { +void checkUnnamed6216(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -178,7 +178,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed6149(); + o.exemptedMembers = buildUnnamed6216(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -188,7 +188,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed6149(o.exemptedMembers!); + checkUnnamed6216(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -197,12 +197,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed6150() => [ +core.List buildUnnamed6217() => [ buildJwtLocation(), buildJwtLocation(), ]; -void checkUnnamed6150(core.List o) { +void checkUnnamed6217(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwtLocation(o[0]); checkJwtLocation(o[1]); @@ -218,7 +218,7 @@ api.AuthProvider buildAuthProvider() { o.id = 'foo'; o.issuer = 'foo'; o.jwksUri = 'foo'; - o.jwtLocations = buildUnnamed6150(); + o.jwtLocations = buildUnnamed6217(); } buildCounterAuthProvider--; return o; @@ -247,7 +247,7 @@ void checkAuthProvider(api.AuthProvider o) { o.jwksUri!, unittest.equals('foo'), ); - checkUnnamed6150(o.jwtLocations!); + checkUnnamed6217(o.jwtLocations!); } buildCounterAuthProvider--; } @@ -279,23 +279,23 @@ void checkAuthRequirement(api.AuthRequirement o) { buildCounterAuthRequirement--; } -core.List buildUnnamed6151() => [ +core.List buildUnnamed6218() => [ buildAuthProvider(), buildAuthProvider(), ]; -void checkUnnamed6151(core.List o) { +void checkUnnamed6218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthProvider(o[0]); checkAuthProvider(o[1]); } -core.List buildUnnamed6152() => [ +core.List buildUnnamed6219() => [ buildAuthenticationRule(), buildAuthenticationRule(), ]; -void checkUnnamed6152(core.List o) { +void checkUnnamed6219(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthenticationRule(o[0]); checkAuthenticationRule(o[1]); @@ -306,8 +306,8 @@ api.Authentication buildAuthentication() { final o = api.Authentication(); buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - o.providers = buildUnnamed6151(); - o.rules = buildUnnamed6152(); + o.providers = buildUnnamed6218(); + o.rules = buildUnnamed6219(); } buildCounterAuthentication--; return o; @@ -316,18 +316,18 @@ api.Authentication buildAuthentication() { void checkAuthentication(api.Authentication o) { buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - checkUnnamed6151(o.providers!); - checkUnnamed6152(o.rules!); + checkUnnamed6218(o.providers!); + checkUnnamed6219(o.rules!); } buildCounterAuthentication--; } -core.List buildUnnamed6153() => [ +core.List buildUnnamed6220() => [ buildAuthRequirement(), buildAuthRequirement(), ]; -void checkUnnamed6153(core.List o) { +void checkUnnamed6220(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthRequirement(o[0]); checkAuthRequirement(o[1]); @@ -340,7 +340,7 @@ api.AuthenticationRule buildAuthenticationRule() { if (buildCounterAuthenticationRule < 3) { o.allowWithoutCredential = true; o.oauth = buildOAuthRequirements(); - o.requirements = buildUnnamed6153(); + o.requirements = buildUnnamed6220(); o.selector = 'foo'; } buildCounterAuthenticationRule--; @@ -352,7 +352,7 @@ void checkAuthenticationRule(api.AuthenticationRule o) { if (buildCounterAuthenticationRule < 3) { unittest.expect(o.allowWithoutCredential!, unittest.isTrue); checkOAuthRequirements(o.oauth!); - checkUnnamed6153(o.requirements!); + checkUnnamed6220(o.requirements!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -361,12 +361,12 @@ void checkAuthenticationRule(api.AuthenticationRule o) { buildCounterAuthenticationRule--; } -core.List buildUnnamed6154() => [ +core.List buildUnnamed6221() => [ buildBackendRule(), buildBackendRule(), ]; -void checkUnnamed6154(core.List o) { +void checkUnnamed6221(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendRule(o[0]); checkBackendRule(o[1]); @@ -377,7 +377,7 @@ api.Backend buildBackend() { final o = api.Backend(); buildCounterBackend++; if (buildCounterBackend < 3) { - o.rules = buildUnnamed6154(); + o.rules = buildUnnamed6221(); } buildCounterBackend--; return o; @@ -386,7 +386,7 @@ api.Backend buildBackend() { void checkBackend(api.Backend o) { buildCounterBackend++; if (buildCounterBackend < 3) { - checkUnnamed6154(o.rules!); + checkUnnamed6221(o.rules!); } buildCounterBackend--; } @@ -445,12 +445,12 @@ void checkBackendRule(api.BackendRule o) { buildCounterBackendRule--; } -core.List buildUnnamed6155() => [ +core.List buildUnnamed6222() => [ buildBillingDestination(), buildBillingDestination(), ]; -void checkUnnamed6155(core.List o) { +void checkUnnamed6222(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBillingDestination(o[0]); checkBillingDestination(o[1]); @@ -461,7 +461,7 @@ api.Billing buildBilling() { final o = api.Billing(); buildCounterBilling++; if (buildCounterBilling < 3) { - o.consumerDestinations = buildUnnamed6155(); + o.consumerDestinations = buildUnnamed6222(); } buildCounterBilling--; return o; @@ -470,17 +470,17 @@ api.Billing buildBilling() { void checkBilling(api.Billing o) { buildCounterBilling++; if (buildCounterBilling < 3) { - checkUnnamed6155(o.consumerDestinations!); + checkUnnamed6222(o.consumerDestinations!); } buildCounterBilling--; } -core.List buildUnnamed6156() => [ +core.List buildUnnamed6223() => [ 'foo', 'foo', ]; -void checkUnnamed6156(core.List o) { +void checkUnnamed6223(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -497,7 +497,7 @@ api.BillingDestination buildBillingDestination() { final o = api.BillingDestination(); buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - o.metrics = buildUnnamed6156(); + o.metrics = buildUnnamed6223(); o.monitoredResource = 'foo'; } buildCounterBillingDestination--; @@ -507,7 +507,7 @@ api.BillingDestination buildBillingDestination() { void checkBillingDestination(api.BillingDestination o) { buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - checkUnnamed6156(o.metrics!); + checkUnnamed6223(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -516,12 +516,12 @@ void checkBillingDestination(api.BillingDestination o) { buildCounterBillingDestination--; } -core.List buildUnnamed6157() => [ +core.List buildUnnamed6224() => [ 'foo', 'foo', ]; -void checkUnnamed6157(core.List o) { +void checkUnnamed6224(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -539,7 +539,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed6157(); + o.members = buildUnnamed6224(); o.role = 'foo'; } buildCounterBinding--; @@ -550,7 +550,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed6157(o.members!); + checkUnnamed6224(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -559,12 +559,12 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } -core.List buildUnnamed6158() => [ +core.List buildUnnamed6225() => [ buildConfigChange(), buildConfigChange(), ]; -void checkUnnamed6158(core.List o) { +void checkUnnamed6225(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigChange(o[0]); checkConfigChange(o[1]); @@ -575,7 +575,7 @@ api.ChangeReport buildChangeReport() { final o = api.ChangeReport(); buildCounterChangeReport++; if (buildCounterChangeReport < 3) { - o.configChanges = buildUnnamed6158(); + o.configChanges = buildUnnamed6225(); } buildCounterChangeReport--; return o; @@ -584,17 +584,17 @@ api.ChangeReport buildChangeReport() { void checkChangeReport(api.ChangeReport o) { buildCounterChangeReport++; if (buildCounterChangeReport < 3) { - checkUnnamed6158(o.configChanges!); + checkUnnamed6225(o.configChanges!); } buildCounterChangeReport--; } -core.List buildUnnamed6159() => [ +core.List buildUnnamed6226() => [ buildAdvice(), buildAdvice(), ]; -void checkUnnamed6159(core.List o) { +void checkUnnamed6226(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdvice(o[0]); checkAdvice(o[1]); @@ -605,7 +605,7 @@ api.ConfigChange buildConfigChange() { final o = api.ConfigChange(); buildCounterConfigChange++; if (buildCounterConfigChange < 3) { - o.advices = buildUnnamed6159(); + o.advices = buildUnnamed6226(); o.changeType = 'foo'; o.element = 'foo'; o.newValue = 'foo'; @@ -618,7 +618,7 @@ api.ConfigChange buildConfigChange() { void checkConfigChange(api.ConfigChange o) { buildCounterConfigChange++; if (buildCounterConfigChange < 3) { - checkUnnamed6159(o.advices!); + checkUnnamed6226(o.advices!); unittest.expect( o.changeType!, unittest.equals('foo'), @@ -693,12 +693,12 @@ void checkConfigRef(api.ConfigRef o) { buildCounterConfigRef--; } -core.List buildUnnamed6160() => [ +core.List buildUnnamed6227() => [ buildConfigFile(), buildConfigFile(), ]; -void checkUnnamed6160(core.List o) { +void checkUnnamed6227(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigFile(o[0]); checkConfigFile(o[1]); @@ -709,7 +709,7 @@ api.ConfigSource buildConfigSource() { final o = api.ConfigSource(); buildCounterConfigSource++; if (buildCounterConfigSource < 3) { - o.files = buildUnnamed6160(); + o.files = buildUnnamed6227(); o.id = 'foo'; } buildCounterConfigSource--; @@ -719,7 +719,7 @@ api.ConfigSource buildConfigSource() { void checkConfigSource(api.ConfigSource o) { buildCounterConfigSource++; if (buildCounterConfigSource < 3) { - checkUnnamed6160(o.files!); + checkUnnamed6227(o.files!); unittest.expect( o.id!, unittest.equals('foo'), @@ -728,12 +728,12 @@ void checkConfigSource(api.ConfigSource o) { buildCounterConfigSource--; } -core.List buildUnnamed6161() => [ +core.List buildUnnamed6228() => [ buildContextRule(), buildContextRule(), ]; -void checkUnnamed6161(core.List o) { +void checkUnnamed6228(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextRule(o[0]); checkContextRule(o[1]); @@ -744,7 +744,7 @@ api.Context buildContext() { final o = api.Context(); buildCounterContext++; if (buildCounterContext < 3) { - o.rules = buildUnnamed6161(); + o.rules = buildUnnamed6228(); } buildCounterContext--; return o; @@ -753,17 +753,17 @@ api.Context buildContext() { void checkContext(api.Context o) { buildCounterContext++; if (buildCounterContext < 3) { - checkUnnamed6161(o.rules!); + checkUnnamed6228(o.rules!); } buildCounterContext--; } -core.List buildUnnamed6162() => [ +core.List buildUnnamed6229() => [ 'foo', 'foo', ]; -void checkUnnamed6162(core.List o) { +void checkUnnamed6229(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -775,12 +775,12 @@ void checkUnnamed6162(core.List o) { ); } -core.List buildUnnamed6163() => [ +core.List buildUnnamed6230() => [ 'foo', 'foo', ]; -void checkUnnamed6163(core.List o) { +void checkUnnamed6230(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -792,12 +792,12 @@ void checkUnnamed6163(core.List o) { ); } -core.List buildUnnamed6164() => [ +core.List buildUnnamed6231() => [ 'foo', 'foo', ]; -void checkUnnamed6164(core.List o) { +void checkUnnamed6231(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -809,12 +809,12 @@ void checkUnnamed6164(core.List o) { ); } -core.List buildUnnamed6165() => [ +core.List buildUnnamed6232() => [ 'foo', 'foo', ]; -void checkUnnamed6165(core.List o) { +void checkUnnamed6232(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -831,10 +831,10 @@ api.ContextRule buildContextRule() { final o = api.ContextRule(); buildCounterContextRule++; if (buildCounterContextRule < 3) { - o.allowedRequestExtensions = buildUnnamed6162(); - o.allowedResponseExtensions = buildUnnamed6163(); - o.provided = buildUnnamed6164(); - o.requested = buildUnnamed6165(); + o.allowedRequestExtensions = buildUnnamed6229(); + o.allowedResponseExtensions = buildUnnamed6230(); + o.provided = buildUnnamed6231(); + o.requested = buildUnnamed6232(); o.selector = 'foo'; } buildCounterContextRule--; @@ -844,10 +844,10 @@ api.ContextRule buildContextRule() { void checkContextRule(api.ContextRule o) { buildCounterContextRule++; if (buildCounterContextRule < 3) { - checkUnnamed6162(o.allowedRequestExtensions!); - checkUnnamed6163(o.allowedResponseExtensions!); - checkUnnamed6164(o.provided!); - checkUnnamed6165(o.requested!); + checkUnnamed6229(o.allowedRequestExtensions!); + checkUnnamed6230(o.allowedResponseExtensions!); + checkUnnamed6231(o.provided!); + checkUnnamed6232(o.requested!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -878,23 +878,23 @@ void checkControl(api.Control o) { buildCounterControl--; } -core.List buildUnnamed6166() => [ +core.List buildUnnamed6233() => [ buildCustomErrorRule(), buildCustomErrorRule(), ]; -void checkUnnamed6166(core.List o) { +void checkUnnamed6233(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomErrorRule(o[0]); checkCustomErrorRule(o[1]); } -core.List buildUnnamed6167() => [ +core.List buildUnnamed6234() => [ 'foo', 'foo', ]; -void checkUnnamed6167(core.List o) { +void checkUnnamed6234(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -911,8 +911,8 @@ api.CustomError buildCustomError() { final o = api.CustomError(); buildCounterCustomError++; if (buildCounterCustomError < 3) { - o.rules = buildUnnamed6166(); - o.types = buildUnnamed6167(); + o.rules = buildUnnamed6233(); + o.types = buildUnnamed6234(); } buildCounterCustomError--; return o; @@ -921,8 +921,8 @@ api.CustomError buildCustomError() { void checkCustomError(api.CustomError o) { buildCounterCustomError++; if (buildCounterCustomError < 3) { - checkUnnamed6166(o.rules!); - checkUnnamed6167(o.types!); + checkUnnamed6233(o.rules!); + checkUnnamed6234(o.types!); } buildCounterCustomError--; } @@ -1025,23 +1025,23 @@ void checkDiagnostic(api.Diagnostic o) { buildCounterDiagnostic--; } -core.List buildUnnamed6168() => [ +core.List buildUnnamed6235() => [ buildPage(), buildPage(), ]; -void checkUnnamed6168(core.List o) { +void checkUnnamed6235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); } -core.List buildUnnamed6169() => [ +core.List buildUnnamed6236() => [ buildDocumentationRule(), buildDocumentationRule(), ]; -void checkUnnamed6169(core.List o) { +void checkUnnamed6236(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDocumentationRule(o[0]); checkDocumentationRule(o[1]); @@ -1054,8 +1054,8 @@ api.Documentation buildDocumentation() { if (buildCounterDocumentation < 3) { o.documentationRootUrl = 'foo'; o.overview = 'foo'; - o.pages = buildUnnamed6168(); - o.rules = buildUnnamed6169(); + o.pages = buildUnnamed6235(); + o.rules = buildUnnamed6236(); o.serviceRootUrl = 'foo'; o.summary = 'foo'; } @@ -1074,8 +1074,8 @@ void checkDocumentation(api.Documentation o) { o.overview!, unittest.equals('foo'), ); - checkUnnamed6168(o.pages!); - checkUnnamed6169(o.rules!); + checkUnnamed6235(o.pages!); + checkUnnamed6236(o.rules!); unittest.expect( o.serviceRootUrl!, unittest.equals('foo'), @@ -1164,23 +1164,23 @@ void checkEndpoint(api.Endpoint o) { buildCounterEndpoint--; } -core.List buildUnnamed6170() => [ +core.List buildUnnamed6237() => [ buildEnumValue(), buildEnumValue(), ]; -void checkUnnamed6170(core.List o) { +void checkUnnamed6237(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnumValue(o[0]); checkEnumValue(o[1]); } -core.List buildUnnamed6171() => [ +core.List buildUnnamed6238() => [ buildOption(), buildOption(), ]; -void checkUnnamed6171(core.List o) { +void checkUnnamed6238(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1191,9 +1191,9 @@ api.Enum buildEnum() { final o = api.Enum(); buildCounterEnum++; if (buildCounterEnum < 3) { - o.enumvalue = buildUnnamed6170(); + o.enumvalue = buildUnnamed6237(); o.name = 'foo'; - o.options = buildUnnamed6171(); + o.options = buildUnnamed6238(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -1204,12 +1204,12 @@ api.Enum buildEnum() { void checkEnum(api.Enum o) { buildCounterEnum++; if (buildCounterEnum < 3) { - checkUnnamed6170(o.enumvalue!); + checkUnnamed6237(o.enumvalue!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6171(o.options!); + checkUnnamed6238(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -1219,12 +1219,12 @@ void checkEnum(api.Enum o) { buildCounterEnum--; } -core.List buildUnnamed6172() => [ +core.List buildUnnamed6239() => [ buildOption(), buildOption(), ]; -void checkUnnamed6172(core.List o) { +void checkUnnamed6239(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1237,7 +1237,7 @@ api.EnumValue buildEnumValue() { if (buildCounterEnumValue < 3) { o.name = 'foo'; o.number = 42; - o.options = buildUnnamed6172(); + o.options = buildUnnamed6239(); } buildCounterEnumValue--; return o; @@ -1254,7 +1254,7 @@ void checkEnumValue(api.EnumValue o) { o.number!, unittest.equals(42), ); - checkUnnamed6172(o.options!); + checkUnnamed6239(o.options!); } buildCounterEnumValue--; } @@ -1296,12 +1296,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed6173() => [ +core.List buildUnnamed6240() => [ buildOption(), buildOption(), ]; -void checkUnnamed6173(core.List o) { +void checkUnnamed6240(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1319,7 +1319,7 @@ api.Field buildField() { o.name = 'foo'; o.number = 42; o.oneofIndex = 42; - o.options = buildUnnamed6173(); + o.options = buildUnnamed6240(); o.packed = true; o.typeUrl = 'foo'; } @@ -1358,7 +1358,7 @@ void checkField(api.Field o) { o.oneofIndex!, unittest.equals(42), ); - checkUnnamed6173(o.options!); + checkUnnamed6240(o.options!); unittest.expect(o.packed!, unittest.isTrue); unittest.expect( o.typeUrl!, @@ -1395,7 +1395,7 @@ void checkFlowErrorDetails(api.FlowErrorDetails o) { buildCounterFlowErrorDetails--; } -core.Map buildUnnamed6174() => { +core.Map buildUnnamed6241() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1408,7 +1408,7 @@ core.Map buildUnnamed6174() => { }, }; -void checkUnnamed6174(core.Map o) { +void checkUnnamed6241(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1440,7 +1440,7 @@ void checkUnnamed6174(core.Map o) { ); } -core.Map buildUnnamed6175() => { +core.Map buildUnnamed6242() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1453,7 +1453,7 @@ core.Map buildUnnamed6175() => { }, }; -void checkUnnamed6175(core.Map o) { +void checkUnnamed6242(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1490,8 +1490,8 @@ api.GenerateConfigReportRequest buildGenerateConfigReportRequest() { final o = api.GenerateConfigReportRequest(); buildCounterGenerateConfigReportRequest++; if (buildCounterGenerateConfigReportRequest < 3) { - o.newConfig = buildUnnamed6174(); - o.oldConfig = buildUnnamed6175(); + o.newConfig = buildUnnamed6241(); + o.oldConfig = buildUnnamed6242(); } buildCounterGenerateConfigReportRequest--; return o; @@ -1500,29 +1500,29 @@ api.GenerateConfigReportRequest buildGenerateConfigReportRequest() { void checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { buildCounterGenerateConfigReportRequest++; if (buildCounterGenerateConfigReportRequest < 3) { - checkUnnamed6174(o.newConfig!); - checkUnnamed6175(o.oldConfig!); + checkUnnamed6241(o.newConfig!); + checkUnnamed6242(o.oldConfig!); } buildCounterGenerateConfigReportRequest--; } -core.List buildUnnamed6176() => [ +core.List buildUnnamed6243() => [ buildChangeReport(), buildChangeReport(), ]; -void checkUnnamed6176(core.List o) { +void checkUnnamed6243(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChangeReport(o[0]); checkChangeReport(o[1]); } -core.List buildUnnamed6177() => [ +core.List buildUnnamed6244() => [ buildDiagnostic(), buildDiagnostic(), ]; -void checkUnnamed6177(core.List o) { +void checkUnnamed6244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiagnostic(o[0]); checkDiagnostic(o[1]); @@ -1533,8 +1533,8 @@ api.GenerateConfigReportResponse buildGenerateConfigReportResponse() { final o = api.GenerateConfigReportResponse(); buildCounterGenerateConfigReportResponse++; if (buildCounterGenerateConfigReportResponse < 3) { - o.changeReports = buildUnnamed6176(); - o.diagnostics = buildUnnamed6177(); + o.changeReports = buildUnnamed6243(); + o.diagnostics = buildUnnamed6244(); o.id = 'foo'; o.serviceName = 'foo'; } @@ -1545,8 +1545,8 @@ api.GenerateConfigReportResponse buildGenerateConfigReportResponse() { void checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { buildCounterGenerateConfigReportResponse++; if (buildCounterGenerateConfigReportResponse < 3) { - checkUnnamed6176(o.changeReports!); - checkUnnamed6177(o.diagnostics!); + checkUnnamed6243(o.changeReports!); + checkUnnamed6244(o.diagnostics!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1600,12 +1600,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed6178() => [ +core.List buildUnnamed6245() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed6178(core.List o) { +void checkUnnamed6245(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1617,7 +1617,7 @@ api.Http buildHttp() { buildCounterHttp++; if (buildCounterHttp < 3) { o.fullyDecodeReservedExpansion = true; - o.rules = buildUnnamed6178(); + o.rules = buildUnnamed6245(); } buildCounterHttp--; return o; @@ -1627,17 +1627,17 @@ void checkHttp(api.Http o) { buildCounterHttp++; if (buildCounterHttp < 3) { unittest.expect(o.fullyDecodeReservedExpansion!, unittest.isTrue); - checkUnnamed6178(o.rules!); + checkUnnamed6245(o.rules!); } buildCounterHttp--; } -core.List buildUnnamed6179() => [ +core.List buildUnnamed6246() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed6179(core.List o) { +void checkUnnamed6246(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1648,7 +1648,7 @@ api.HttpRule buildHttpRule() { final o = api.HttpRule(); buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - o.additionalBindings = buildUnnamed6179(); + o.additionalBindings = buildUnnamed6246(); o.body = 'foo'; o.custom = buildCustomHttpPattern(); o.delete = 'foo'; @@ -1666,7 +1666,7 @@ api.HttpRule buildHttpRule() { void checkHttpRule(api.HttpRule o) { buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - checkUnnamed6179(o.additionalBindings!); + checkUnnamed6246(o.additionalBindings!); unittest.expect( o.body!, unittest.equals('foo'), @@ -1768,12 +1768,12 @@ void checkLabelDescriptor(api.LabelDescriptor o) { buildCounterLabelDescriptor--; } -core.List buildUnnamed6180() => [ +core.List buildUnnamed6247() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6180(core.List o) { +void checkUnnamed6247(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1785,7 +1785,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6180(); + o.operations = buildUnnamed6247(); } buildCounterListOperationsResponse--; return o; @@ -1798,17 +1798,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6180(o.operations!); + checkUnnamed6247(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed6181() => [ +core.List buildUnnamed6248() => [ buildService(), buildService(), ]; -void checkUnnamed6181(core.List o) { +void checkUnnamed6248(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); @@ -1820,7 +1820,7 @@ api.ListServiceConfigsResponse buildListServiceConfigsResponse() { buildCounterListServiceConfigsResponse++; if (buildCounterListServiceConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConfigs = buildUnnamed6181(); + o.serviceConfigs = buildUnnamed6248(); } buildCounterListServiceConfigsResponse--; return o; @@ -1833,17 +1833,17 @@ void checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6181(o.serviceConfigs!); + checkUnnamed6248(o.serviceConfigs!); } buildCounterListServiceConfigsResponse--; } -core.List buildUnnamed6182() => [ +core.List buildUnnamed6249() => [ buildRollout(), buildRollout(), ]; -void checkUnnamed6182(core.List o) { +void checkUnnamed6249(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRollout(o[0]); checkRollout(o[1]); @@ -1855,7 +1855,7 @@ api.ListServiceRolloutsResponse buildListServiceRolloutsResponse() { buildCounterListServiceRolloutsResponse++; if (buildCounterListServiceRolloutsResponse < 3) { o.nextPageToken = 'foo'; - o.rollouts = buildUnnamed6182(); + o.rollouts = buildUnnamed6249(); } buildCounterListServiceRolloutsResponse--; return o; @@ -1868,17 +1868,17 @@ void checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6182(o.rollouts!); + checkUnnamed6249(o.rollouts!); } buildCounterListServiceRolloutsResponse--; } -core.List buildUnnamed6183() => [ +core.List buildUnnamed6250() => [ buildManagedService(), buildManagedService(), ]; -void checkUnnamed6183(core.List o) { +void checkUnnamed6250(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedService(o[0]); checkManagedService(o[1]); @@ -1890,7 +1890,7 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed6183(); + o.services = buildUnnamed6250(); } buildCounterListServicesResponse--; return o; @@ -1903,17 +1903,17 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6183(o.services!); + checkUnnamed6250(o.services!); } buildCounterListServicesResponse--; } -core.List buildUnnamed6184() => [ +core.List buildUnnamed6251() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed6184(core.List o) { +void checkUnnamed6251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -1926,7 +1926,7 @@ api.LogDescriptor buildLogDescriptor() { if (buildCounterLogDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed6184(); + o.labels = buildUnnamed6251(); o.name = 'foo'; } buildCounterLogDescriptor--; @@ -1944,7 +1944,7 @@ void checkLogDescriptor(api.LogDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6184(o.labels!); + checkUnnamed6251(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1953,23 +1953,23 @@ void checkLogDescriptor(api.LogDescriptor o) { buildCounterLogDescriptor--; } -core.List buildUnnamed6185() => [ +core.List buildUnnamed6252() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed6185(core.List o) { +void checkUnnamed6252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); } -core.List buildUnnamed6186() => [ +core.List buildUnnamed6253() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed6186(core.List o) { +void checkUnnamed6253(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); @@ -1980,8 +1980,8 @@ api.Logging buildLogging() { final o = api.Logging(); buildCounterLogging++; if (buildCounterLogging < 3) { - o.consumerDestinations = buildUnnamed6185(); - o.producerDestinations = buildUnnamed6186(); + o.consumerDestinations = buildUnnamed6252(); + o.producerDestinations = buildUnnamed6253(); } buildCounterLogging--; return o; @@ -1990,18 +1990,18 @@ api.Logging buildLogging() { void checkLogging(api.Logging o) { buildCounterLogging++; if (buildCounterLogging < 3) { - checkUnnamed6185(o.consumerDestinations!); - checkUnnamed6186(o.producerDestinations!); + checkUnnamed6252(o.consumerDestinations!); + checkUnnamed6253(o.producerDestinations!); } buildCounterLogging--; } -core.List buildUnnamed6187() => [ +core.List buildUnnamed6254() => [ 'foo', 'foo', ]; -void checkUnnamed6187(core.List o) { +void checkUnnamed6254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2018,7 +2018,7 @@ api.LoggingDestination buildLoggingDestination() { final o = api.LoggingDestination(); buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - o.logs = buildUnnamed6187(); + o.logs = buildUnnamed6254(); o.monitoredResource = 'foo'; } buildCounterLoggingDestination--; @@ -2028,7 +2028,7 @@ api.LoggingDestination buildLoggingDestination() { void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - checkUnnamed6187(o.logs!); + checkUnnamed6254(o.logs!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -2064,12 +2064,12 @@ void checkManagedService(api.ManagedService o) { buildCounterManagedService--; } -core.List buildUnnamed6188() => [ +core.List buildUnnamed6255() => [ buildOption(), buildOption(), ]; -void checkUnnamed6188(core.List o) { +void checkUnnamed6255(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -2081,7 +2081,7 @@ api.Method buildMethod() { buildCounterMethod++; if (buildCounterMethod < 3) { o.name = 'foo'; - o.options = buildUnnamed6188(); + o.options = buildUnnamed6255(); o.requestStreaming = true; o.requestTypeUrl = 'foo'; o.responseStreaming = true; @@ -2099,7 +2099,7 @@ void checkMethod(api.Method o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6188(o.options!); + checkUnnamed6255(o.options!); unittest.expect(o.requestStreaming!, unittest.isTrue); unittest.expect( o.requestTypeUrl!, @@ -2118,23 +2118,23 @@ void checkMethod(api.Method o) { buildCounterMethod--; } -core.List buildUnnamed6189() => [ +core.List buildUnnamed6256() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed6189(core.List o) { +void checkUnnamed6256(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed6190() => [ +core.List buildUnnamed6257() => [ 'foo', 'foo', ]; -void checkUnnamed6190(core.List o) { +void checkUnnamed6257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2153,11 +2153,11 @@ api.MetricDescriptor buildMetricDescriptor() { if (buildCounterMetricDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed6189(); + o.labels = buildUnnamed6256(); o.launchStage = 'foo'; o.metadata = buildMetricDescriptorMetadata(); o.metricKind = 'foo'; - o.monitoredResourceTypes = buildUnnamed6190(); + o.monitoredResourceTypes = buildUnnamed6257(); o.name = 'foo'; o.type = 'foo'; o.unit = 'foo'; @@ -2178,7 +2178,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6189(o.labels!); + checkUnnamed6256(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2188,7 +2188,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed6190(o.monitoredResourceTypes!); + checkUnnamed6257(o.monitoredResourceTypes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2241,12 +2241,12 @@ void checkMetricDescriptorMetadata(api.MetricDescriptorMetadata o) { buildCounterMetricDescriptorMetadata--; } -core.Map buildUnnamed6191() => { +core.Map buildUnnamed6258() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6191(core.Map o) { +void checkUnnamed6258(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2263,7 +2263,7 @@ api.MetricRule buildMetricRule() { final o = api.MetricRule(); buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - o.metricCosts = buildUnnamed6191(); + o.metricCosts = buildUnnamed6258(); o.selector = 'foo'; } buildCounterMetricRule--; @@ -2273,7 +2273,7 @@ api.MetricRule buildMetricRule() { void checkMetricRule(api.MetricRule o) { buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - checkUnnamed6191(o.metricCosts!); + checkUnnamed6258(o.metricCosts!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -2309,12 +2309,12 @@ void checkMixin(api.Mixin o) { buildCounterMixin--; } -core.List buildUnnamed6192() => [ +core.List buildUnnamed6259() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed6192(core.List o) { +void checkUnnamed6259(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2327,7 +2327,7 @@ api.MonitoredResourceDescriptor buildMonitoredResourceDescriptor() { if (buildCounterMonitoredResourceDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed6192(); + o.labels = buildUnnamed6259(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -2347,7 +2347,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6192(o.labels!); + checkUnnamed6259(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2364,23 +2364,23 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { buildCounterMonitoredResourceDescriptor--; } -core.List buildUnnamed6193() => [ +core.List buildUnnamed6260() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed6193(core.List o) { +void checkUnnamed6260(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); } -core.List buildUnnamed6194() => [ +core.List buildUnnamed6261() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed6194(core.List o) { +void checkUnnamed6261(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); @@ -2391,8 +2391,8 @@ api.Monitoring buildMonitoring() { final o = api.Monitoring(); buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - o.consumerDestinations = buildUnnamed6193(); - o.producerDestinations = buildUnnamed6194(); + o.consumerDestinations = buildUnnamed6260(); + o.producerDestinations = buildUnnamed6261(); } buildCounterMonitoring--; return o; @@ -2401,18 +2401,18 @@ api.Monitoring buildMonitoring() { void checkMonitoring(api.Monitoring o) { buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - checkUnnamed6193(o.consumerDestinations!); - checkUnnamed6194(o.producerDestinations!); + checkUnnamed6260(o.consumerDestinations!); + checkUnnamed6261(o.producerDestinations!); } buildCounterMonitoring--; } -core.List buildUnnamed6195() => [ +core.List buildUnnamed6262() => [ 'foo', 'foo', ]; -void checkUnnamed6195(core.List o) { +void checkUnnamed6262(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2429,7 +2429,7 @@ api.MonitoringDestination buildMonitoringDestination() { final o = api.MonitoringDestination(); buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - o.metrics = buildUnnamed6195(); + o.metrics = buildUnnamed6262(); o.monitoredResource = 'foo'; } buildCounterMonitoringDestination--; @@ -2439,7 +2439,7 @@ api.MonitoringDestination buildMonitoringDestination() { void checkMonitoringDestination(api.MonitoringDestination o) { buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - checkUnnamed6195(o.metrics!); + checkUnnamed6262(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -2470,7 +2470,7 @@ void checkOAuthRequirements(api.OAuthRequirements o) { buildCounterOAuthRequirements--; } -core.Map buildUnnamed6196() => { +core.Map buildUnnamed6263() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2483,7 +2483,7 @@ core.Map buildUnnamed6196() => { }, }; -void checkUnnamed6196(core.Map o) { +void checkUnnamed6263(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2515,7 +2515,7 @@ void checkUnnamed6196(core.Map o) { ); } -core.Map buildUnnamed6197() => { +core.Map buildUnnamed6264() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2528,7 +2528,7 @@ core.Map buildUnnamed6197() => { }, }; -void checkUnnamed6197(core.Map o) { +void checkUnnamed6264(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2567,9 +2567,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6196(); + o.metadata = buildUnnamed6263(); o.name = 'foo'; - o.response = buildUnnamed6197(); + o.response = buildUnnamed6264(); } buildCounterOperation--; return o; @@ -2580,12 +2580,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6196(o.metadata!); + checkUnnamed6263(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6197(o.response!); + checkUnnamed6264(o.response!); } buildCounterOperation--; } @@ -2617,12 +2617,12 @@ void checkOperationInfo(api.OperationInfo o) { buildCounterOperationInfo--; } -core.List buildUnnamed6198() => [ +core.List buildUnnamed6265() => [ 'foo', 'foo', ]; -void checkUnnamed6198(core.List o) { +void checkUnnamed6265(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2634,12 +2634,12 @@ void checkUnnamed6198(core.List o) { ); } -core.List buildUnnamed6199() => [ +core.List buildUnnamed6266() => [ buildStep(), buildStep(), ]; -void checkUnnamed6199(core.List o) { +void checkUnnamed6266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStep(o[0]); checkStep(o[1]); @@ -2651,9 +2651,9 @@ api.OperationMetadata buildOperationMetadata() { buildCounterOperationMetadata++; if (buildCounterOperationMetadata < 3) { o.progressPercentage = 42; - o.resourceNames = buildUnnamed6198(); + o.resourceNames = buildUnnamed6265(); o.startTime = 'foo'; - o.steps = buildUnnamed6199(); + o.steps = buildUnnamed6266(); } buildCounterOperationMetadata--; return o; @@ -2666,17 +2666,17 @@ void checkOperationMetadata(api.OperationMetadata o) { o.progressPercentage!, unittest.equals(42), ); - checkUnnamed6198(o.resourceNames!); + checkUnnamed6265(o.resourceNames!); unittest.expect( o.startTime!, unittest.equals('foo'), ); - checkUnnamed6199(o.steps!); + checkUnnamed6266(o.steps!); } buildCounterOperationMetadata--; } -core.Map buildUnnamed6200() => { +core.Map buildUnnamed6267() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2689,7 +2689,7 @@ core.Map buildUnnamed6200() => { }, }; -void checkUnnamed6200(core.Map o) { +void checkUnnamed6267(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -2727,7 +2727,7 @@ api.Option buildOption() { buildCounterOption++; if (buildCounterOption < 3) { o.name = 'foo'; - o.value = buildUnnamed6200(); + o.value = buildUnnamed6267(); } buildCounterOption--; return o; @@ -2740,17 +2740,17 @@ void checkOption(api.Option o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6200(o.value!); + checkUnnamed6267(o.value!); } buildCounterOption--; } -core.List buildUnnamed6201() => [ +core.List buildUnnamed6268() => [ buildPage(), buildPage(), ]; -void checkUnnamed6201(core.List o) { +void checkUnnamed6268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -2763,7 +2763,7 @@ api.Page buildPage() { if (buildCounterPage < 3) { o.content = 'foo'; o.name = 'foo'; - o.subpages = buildUnnamed6201(); + o.subpages = buildUnnamed6268(); } buildCounterPage--; return o; @@ -2780,28 +2780,28 @@ void checkPage(api.Page o) { o.name!, unittest.equals('foo'), ); - checkUnnamed6201(o.subpages!); + checkUnnamed6268(o.subpages!); } buildCounterPage--; } -core.List buildUnnamed6202() => [ +core.List buildUnnamed6269() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed6202(core.List o) { +void checkUnnamed6269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed6203() => [ +core.List buildUnnamed6270() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed6203(core.List o) { +void checkUnnamed6270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2812,8 +2812,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed6202(); - o.bindings = buildUnnamed6203(); + o.auditConfigs = buildUnnamed6269(); + o.bindings = buildUnnamed6270(); o.etag = 'foo'; o.version = 42; } @@ -2824,8 +2824,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed6202(o.auditConfigs!); - checkUnnamed6203(o.bindings!); + checkUnnamed6269(o.auditConfigs!); + checkUnnamed6270(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2838,23 +2838,23 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed6204() => [ +core.List buildUnnamed6271() => [ buildQuotaLimit(), buildQuotaLimit(), ]; -void checkUnnamed6204(core.List o) { +void checkUnnamed6271(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaLimit(o[0]); checkQuotaLimit(o[1]); } -core.List buildUnnamed6205() => [ +core.List buildUnnamed6272() => [ buildMetricRule(), buildMetricRule(), ]; -void checkUnnamed6205(core.List o) { +void checkUnnamed6272(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricRule(o[0]); checkMetricRule(o[1]); @@ -2865,8 +2865,8 @@ api.Quota buildQuota() { final o = api.Quota(); buildCounterQuota++; if (buildCounterQuota < 3) { - o.limits = buildUnnamed6204(); - o.metricRules = buildUnnamed6205(); + o.limits = buildUnnamed6271(); + o.metricRules = buildUnnamed6272(); } buildCounterQuota--; return o; @@ -2875,18 +2875,18 @@ api.Quota buildQuota() { void checkQuota(api.Quota o) { buildCounterQuota++; if (buildCounterQuota < 3) { - checkUnnamed6204(o.limits!); - checkUnnamed6205(o.metricRules!); + checkUnnamed6271(o.limits!); + checkUnnamed6272(o.metricRules!); } buildCounterQuota--; } -core.Map buildUnnamed6206() => { +core.Map buildUnnamed6273() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6206(core.Map o) { +void checkUnnamed6273(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2912,7 +2912,7 @@ api.QuotaLimit buildQuotaLimit() { o.metric = 'foo'; o.name = 'foo'; o.unit = 'foo'; - o.values = buildUnnamed6206(); + o.values = buildUnnamed6273(); } buildCounterQuotaLimit--; return o; @@ -2957,7 +2957,7 @@ void checkQuotaLimit(api.QuotaLimit o) { o.unit!, unittest.equals('foo'), ); - checkUnnamed6206(o.values!); + checkUnnamed6273(o.values!); } buildCounterQuotaLimit--; } @@ -3035,89 +3035,89 @@ void checkRollout(api.Rollout o) { buildCounterRollout--; } -core.List buildUnnamed6207() => [ +core.List buildUnnamed6274() => [ buildApi(), buildApi(), ]; -void checkUnnamed6207(core.List o) { +void checkUnnamed6274(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApi(o[0]); checkApi(o[1]); } -core.List buildUnnamed6208() => [ +core.List buildUnnamed6275() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed6208(core.List o) { +void checkUnnamed6275(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); } -core.List buildUnnamed6209() => [ +core.List buildUnnamed6276() => [ buildEnum(), buildEnum(), ]; -void checkUnnamed6209(core.List o) { +void checkUnnamed6276(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnum(o[0]); checkEnum(o[1]); } -core.List buildUnnamed6210() => [ +core.List buildUnnamed6277() => [ buildLogDescriptor(), buildLogDescriptor(), ]; -void checkUnnamed6210(core.List o) { +void checkUnnamed6277(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogDescriptor(o[0]); checkLogDescriptor(o[1]); } -core.List buildUnnamed6211() => [ +core.List buildUnnamed6278() => [ buildMetricDescriptor(), buildMetricDescriptor(), ]; -void checkUnnamed6211(core.List o) { +void checkUnnamed6278(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptor(o[0]); checkMetricDescriptor(o[1]); } -core.List buildUnnamed6212() => [ +core.List buildUnnamed6279() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed6212(core.List o) { +void checkUnnamed6279(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); } -core.List buildUnnamed6213() => [ +core.List buildUnnamed6280() => [ buildType(), buildType(), ]; -void checkUnnamed6213(core.List o) { +void checkUnnamed6280(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); } -core.List buildUnnamed6214() => [ +core.List buildUnnamed6281() => [ buildType(), buildType(), ]; -void checkUnnamed6214(core.List o) { +void checkUnnamed6281(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); @@ -3128,7 +3128,7 @@ api.Service buildService() { final o = api.Service(); buildCounterService++; if (buildCounterService < 3) { - o.apis = buildUnnamed6207(); + o.apis = buildUnnamed6274(); o.authentication = buildAuthentication(); o.backend = buildBackend(); o.billing = buildBilling(); @@ -3137,23 +3137,23 @@ api.Service buildService() { o.control = buildControl(); o.customError = buildCustomError(); o.documentation = buildDocumentation(); - o.endpoints = buildUnnamed6208(); - o.enums = buildUnnamed6209(); + o.endpoints = buildUnnamed6275(); + o.enums = buildUnnamed6276(); o.http = buildHttp(); o.id = 'foo'; o.logging = buildLogging(); - o.logs = buildUnnamed6210(); - o.metrics = buildUnnamed6211(); - o.monitoredResources = buildUnnamed6212(); + o.logs = buildUnnamed6277(); + o.metrics = buildUnnamed6278(); + o.monitoredResources = buildUnnamed6279(); o.monitoring = buildMonitoring(); o.name = 'foo'; o.producerProjectId = 'foo'; o.quota = buildQuota(); o.sourceInfo = buildSourceInfo(); o.systemParameters = buildSystemParameters(); - o.systemTypes = buildUnnamed6213(); + o.systemTypes = buildUnnamed6280(); o.title = 'foo'; - o.types = buildUnnamed6214(); + o.types = buildUnnamed6281(); o.usage = buildUsage(); } buildCounterService--; @@ -3163,7 +3163,7 @@ api.Service buildService() { void checkService(api.Service o) { buildCounterService++; if (buildCounterService < 3) { - checkUnnamed6207(o.apis!); + checkUnnamed6274(o.apis!); checkAuthentication(o.authentication!); checkBackend(o.backend!); checkBilling(o.billing!); @@ -3175,17 +3175,17 @@ void checkService(api.Service o) { checkControl(o.control!); checkCustomError(o.customError!); checkDocumentation(o.documentation!); - checkUnnamed6208(o.endpoints!); - checkUnnamed6209(o.enums!); + checkUnnamed6275(o.endpoints!); + checkUnnamed6276(o.enums!); checkHttp(o.http!); unittest.expect( o.id!, unittest.equals('foo'), ); checkLogging(o.logging!); - checkUnnamed6210(o.logs!); - checkUnnamed6211(o.metrics!); - checkUnnamed6212(o.monitoredResources!); + checkUnnamed6277(o.logs!); + checkUnnamed6278(o.metrics!); + checkUnnamed6279(o.monitoredResources!); checkMonitoring(o.monitoring!); unittest.expect( o.name!, @@ -3198,12 +3198,12 @@ void checkService(api.Service o) { checkQuota(o.quota!); checkSourceInfo(o.sourceInfo!); checkSystemParameters(o.systemParameters!); - checkUnnamed6213(o.systemTypes!); + checkUnnamed6280(o.systemTypes!); unittest.expect( o.title!, unittest.equals('foo'), ); - checkUnnamed6214(o.types!); + checkUnnamed6281(o.types!); checkUsage(o.usage!); } buildCounterService--; @@ -3255,7 +3255,7 @@ void checkSourceContext(api.SourceContext o) { buildCounterSourceContext--; } -core.Map buildUnnamed6215() => { +core.Map buildUnnamed6282() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3268,7 +3268,7 @@ core.Map buildUnnamed6215() => { }, }; -void checkUnnamed6215(core.Map o) { +void checkUnnamed6282(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -3300,15 +3300,15 @@ void checkUnnamed6215(core.Map o) { ); } -core.List> buildUnnamed6216() => [ - buildUnnamed6215(), - buildUnnamed6215(), +core.List> buildUnnamed6283() => [ + buildUnnamed6282(), + buildUnnamed6282(), ]; -void checkUnnamed6216(core.List> o) { +void checkUnnamed6283(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6215(o[0]); - checkUnnamed6215(o[1]); + checkUnnamed6282(o[0]); + checkUnnamed6282(o[1]); } core.int buildCounterSourceInfo = 0; @@ -3316,7 +3316,7 @@ api.SourceInfo buildSourceInfo() { final o = api.SourceInfo(); buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - o.sourceFiles = buildUnnamed6216(); + o.sourceFiles = buildUnnamed6283(); } buildCounterSourceInfo--; return o; @@ -3325,12 +3325,12 @@ api.SourceInfo buildSourceInfo() { void checkSourceInfo(api.SourceInfo o) { buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - checkUnnamed6216(o.sourceFiles!); + checkUnnamed6283(o.sourceFiles!); } buildCounterSourceInfo--; } -core.Map buildUnnamed6217() => { +core.Map buildUnnamed6284() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3343,7 +3343,7 @@ core.Map buildUnnamed6217() => { }, }; -void checkUnnamed6217(core.Map o) { +void checkUnnamed6284(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -3375,15 +3375,15 @@ void checkUnnamed6217(core.Map o) { ); } -core.List> buildUnnamed6218() => [ - buildUnnamed6217(), - buildUnnamed6217(), +core.List> buildUnnamed6285() => [ + buildUnnamed6284(), + buildUnnamed6284(), ]; -void checkUnnamed6218(core.List> o) { +void checkUnnamed6285(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6217(o[0]); - checkUnnamed6217(o[1]); + checkUnnamed6284(o[0]); + checkUnnamed6284(o[1]); } core.int buildCounterStatus = 0; @@ -3392,7 +3392,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6218(); + o.details = buildUnnamed6285(); o.message = 'foo'; } buildCounterStatus--; @@ -3406,7 +3406,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6218(o.details!); + checkUnnamed6285(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3514,12 +3514,12 @@ void checkSystemParameter(api.SystemParameter o) { buildCounterSystemParameter--; } -core.List buildUnnamed6219() => [ +core.List buildUnnamed6286() => [ buildSystemParameter(), buildSystemParameter(), ]; -void checkUnnamed6219(core.List o) { +void checkUnnamed6286(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameter(o[0]); checkSystemParameter(o[1]); @@ -3530,7 +3530,7 @@ api.SystemParameterRule buildSystemParameterRule() { final o = api.SystemParameterRule(); buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - o.parameters = buildUnnamed6219(); + o.parameters = buildUnnamed6286(); o.selector = 'foo'; } buildCounterSystemParameterRule--; @@ -3540,7 +3540,7 @@ api.SystemParameterRule buildSystemParameterRule() { void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - checkUnnamed6219(o.parameters!); + checkUnnamed6286(o.parameters!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -3549,12 +3549,12 @@ void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule--; } -core.List buildUnnamed6220() => [ +core.List buildUnnamed6287() => [ buildSystemParameterRule(), buildSystemParameterRule(), ]; -void checkUnnamed6220(core.List o) { +void checkUnnamed6287(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameterRule(o[0]); checkSystemParameterRule(o[1]); @@ -3565,7 +3565,7 @@ api.SystemParameters buildSystemParameters() { final o = api.SystemParameters(); buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - o.rules = buildUnnamed6220(); + o.rules = buildUnnamed6287(); } buildCounterSystemParameters--; return o; @@ -3574,17 +3574,17 @@ api.SystemParameters buildSystemParameters() { void checkSystemParameters(api.SystemParameters o) { buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - checkUnnamed6220(o.rules!); + checkUnnamed6287(o.rules!); } buildCounterSystemParameters--; } -core.List buildUnnamed6221() => [ +core.List buildUnnamed6288() => [ 'foo', 'foo', ]; -void checkUnnamed6221(core.List o) { +void checkUnnamed6288(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3601,7 +3601,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed6221(); + o.permissions = buildUnnamed6288(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3610,17 +3610,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed6221(o.permissions!); + checkUnnamed6288(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed6222() => [ +core.List buildUnnamed6289() => [ 'foo', 'foo', ]; -void checkUnnamed6222(core.List o) { +void checkUnnamed6289(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3637,7 +3637,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed6222(); + o.permissions = buildUnnamed6289(); } buildCounterTestIamPermissionsResponse--; return o; @@ -3646,17 +3646,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed6222(o.permissions!); + checkUnnamed6289(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.Map buildUnnamed6223() => { +core.Map buildUnnamed6290() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed6223(core.Map o) { +void checkUnnamed6290(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3673,7 +3673,7 @@ api.TrafficPercentStrategy buildTrafficPercentStrategy() { final o = api.TrafficPercentStrategy(); buildCounterTrafficPercentStrategy++; if (buildCounterTrafficPercentStrategy < 3) { - o.percentages = buildUnnamed6223(); + o.percentages = buildUnnamed6290(); } buildCounterTrafficPercentStrategy--; return o; @@ -3682,28 +3682,28 @@ api.TrafficPercentStrategy buildTrafficPercentStrategy() { void checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { buildCounterTrafficPercentStrategy++; if (buildCounterTrafficPercentStrategy < 3) { - checkUnnamed6223(o.percentages!); + checkUnnamed6290(o.percentages!); } buildCounterTrafficPercentStrategy--; } -core.List buildUnnamed6224() => [ +core.List buildUnnamed6291() => [ buildField(), buildField(), ]; -void checkUnnamed6224(core.List o) { +void checkUnnamed6291(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); } -core.List buildUnnamed6225() => [ +core.List buildUnnamed6292() => [ 'foo', 'foo', ]; -void checkUnnamed6225(core.List o) { +void checkUnnamed6292(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3715,12 +3715,12 @@ void checkUnnamed6225(core.List o) { ); } -core.List buildUnnamed6226() => [ +core.List buildUnnamed6293() => [ buildOption(), buildOption(), ]; -void checkUnnamed6226(core.List o) { +void checkUnnamed6293(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -3731,10 +3731,10 @@ api.Type buildType() { final o = api.Type(); buildCounterType++; if (buildCounterType < 3) { - o.fields = buildUnnamed6224(); + o.fields = buildUnnamed6291(); o.name = 'foo'; - o.oneofs = buildUnnamed6225(); - o.options = buildUnnamed6226(); + o.oneofs = buildUnnamed6292(); + o.options = buildUnnamed6293(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -3745,13 +3745,13 @@ api.Type buildType() { void checkType(api.Type o) { buildCounterType++; if (buildCounterType < 3) { - checkUnnamed6224(o.fields!); + checkUnnamed6291(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6225(o.oneofs!); - checkUnnamed6226(o.options!); + checkUnnamed6292(o.oneofs!); + checkUnnamed6293(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -3780,12 +3780,12 @@ void checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { buildCounterUndeleteServiceResponse--; } -core.List buildUnnamed6227() => [ +core.List buildUnnamed6294() => [ 'foo', 'foo', ]; -void checkUnnamed6227(core.List o) { +void checkUnnamed6294(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3797,12 +3797,12 @@ void checkUnnamed6227(core.List o) { ); } -core.List buildUnnamed6228() => [ +core.List buildUnnamed6295() => [ buildUsageRule(), buildUsageRule(), ]; -void checkUnnamed6228(core.List o) { +void checkUnnamed6295(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageRule(o[0]); checkUsageRule(o[1]); @@ -3814,8 +3814,8 @@ api.Usage buildUsage() { buildCounterUsage++; if (buildCounterUsage < 3) { o.producerNotificationChannel = 'foo'; - o.requirements = buildUnnamed6227(); - o.rules = buildUnnamed6228(); + o.requirements = buildUnnamed6294(); + o.rules = buildUnnamed6295(); } buildCounterUsage--; return o; @@ -3828,8 +3828,8 @@ void checkUsage(api.Usage o) { o.producerNotificationChannel!, unittest.equals('foo'), ); - checkUnnamed6227(o.requirements!); - checkUnnamed6228(o.rules!); + checkUnnamed6294(o.requirements!); + checkUnnamed6295(o.rules!); } buildCounterUsage--; } diff --git a/generated/googleapis/test/servicenetworking/v1_test.dart b/generated/googleapis/test/servicenetworking/v1_test.dart index 80b93bebe..e5bdbe29e 100644 --- a/generated/googleapis/test/servicenetworking/v1_test.dart +++ b/generated/googleapis/test/servicenetworking/v1_test.dart @@ -153,12 +153,12 @@ void checkAddRolesMetadata(api.AddRolesMetadata o) { buildCounterAddRolesMetadata--; } -core.List buildUnnamed4694() => [ +core.List buildUnnamed4738() => [ buildPolicyBinding(), buildPolicyBinding(), ]; -void checkUnnamed4694(core.List o) { +void checkUnnamed4738(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBinding(o[0]); checkPolicyBinding(o[1]); @@ -170,7 +170,7 @@ api.AddRolesRequest buildAddRolesRequest() { buildCounterAddRolesRequest++; if (buildCounterAddRolesRequest < 3) { o.consumerNetwork = 'foo'; - o.policyBinding = buildUnnamed4694(); + o.policyBinding = buildUnnamed4738(); } buildCounterAddRolesRequest--; return o; @@ -183,17 +183,17 @@ void checkAddRolesRequest(api.AddRolesRequest o) { o.consumerNetwork!, unittest.equals('foo'), ); - checkUnnamed4694(o.policyBinding!); + checkUnnamed4738(o.policyBinding!); } buildCounterAddRolesRequest--; } -core.List buildUnnamed4695() => [ +core.List buildUnnamed4739() => [ buildPolicyBinding(), buildPolicyBinding(), ]; -void checkUnnamed4695(core.List o) { +void checkUnnamed4739(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBinding(o[0]); checkPolicyBinding(o[1]); @@ -204,7 +204,7 @@ api.AddRolesResponse buildAddRolesResponse() { final o = api.AddRolesResponse(); buildCounterAddRolesResponse++; if (buildCounterAddRolesResponse < 3) { - o.policyBinding = buildUnnamed4695(); + o.policyBinding = buildUnnamed4739(); } buildCounterAddRolesResponse--; return o; @@ -213,17 +213,17 @@ api.AddRolesResponse buildAddRolesResponse() { void checkAddRolesResponse(api.AddRolesResponse o) { buildCounterAddRolesResponse++; if (buildCounterAddRolesResponse < 3) { - checkUnnamed4695(o.policyBinding!); + checkUnnamed4739(o.policyBinding!); } buildCounterAddRolesResponse--; } -core.List buildUnnamed4696() => [ +core.List buildUnnamed4740() => [ 'foo', 'foo', ]; -void checkUnnamed4696(core.List o) { +void checkUnnamed4740(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -235,23 +235,23 @@ void checkUnnamed4696(core.List o) { ); } -core.List buildUnnamed4697() => [ +core.List buildUnnamed4741() => [ buildSecondaryIpRangeSpec(), buildSecondaryIpRangeSpec(), ]; -void checkUnnamed4697(core.List o) { +void checkUnnamed4741(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecondaryIpRangeSpec(o[0]); checkSecondaryIpRangeSpec(o[1]); } -core.List buildUnnamed4698() => [ +core.List buildUnnamed4742() => [ 'foo', 'foo', ]; -void checkUnnamed4698(core.List o) { +void checkUnnamed4742(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -272,12 +272,13 @@ api.AddSubnetworkRequest buildAddSubnetworkRequest() { o.consumerNetwork = 'foo'; o.description = 'foo'; o.ipPrefixLength = 42; + o.privateIpv6GoogleAccess = 'foo'; o.region = 'foo'; o.requestedAddress = 'foo'; - o.requestedRanges = buildUnnamed4696(); - o.secondaryIpRangeSpecs = buildUnnamed4697(); + o.requestedRanges = buildUnnamed4740(); + o.secondaryIpRangeSpecs = buildUnnamed4741(); o.subnetwork = 'foo'; - o.subnetworkUsers = buildUnnamed4698(); + o.subnetworkUsers = buildUnnamed4742(); } buildCounterAddSubnetworkRequest--; return o; @@ -302,6 +303,10 @@ void checkAddSubnetworkRequest(api.AddSubnetworkRequest o) { o.ipPrefixLength!, unittest.equals(42), ); + unittest.expect( + o.privateIpv6GoogleAccess!, + unittest.equals('foo'), + ); unittest.expect( o.region!, unittest.equals('foo'), @@ -310,45 +315,45 @@ void checkAddSubnetworkRequest(api.AddSubnetworkRequest o) { o.requestedAddress!, unittest.equals('foo'), ); - checkUnnamed4696(o.requestedRanges!); - checkUnnamed4697(o.secondaryIpRangeSpecs!); + checkUnnamed4740(o.requestedRanges!); + checkUnnamed4741(o.secondaryIpRangeSpecs!); unittest.expect( o.subnetwork!, unittest.equals('foo'), ); - checkUnnamed4698(o.subnetworkUsers!); + checkUnnamed4742(o.subnetworkUsers!); } buildCounterAddSubnetworkRequest--; } -core.List buildUnnamed4699() => [ +core.List buildUnnamed4743() => [ buildMethod(), buildMethod(), ]; -void checkUnnamed4699(core.List o) { +void checkUnnamed4743(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMethod(o[0]); checkMethod(o[1]); } -core.List buildUnnamed4700() => [ +core.List buildUnnamed4744() => [ buildMixin(), buildMixin(), ]; -void checkUnnamed4700(core.List o) { +void checkUnnamed4744(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMixin(o[0]); checkMixin(o[1]); } -core.List buildUnnamed4701() => [ +core.List buildUnnamed4745() => [ buildOption(), buildOption(), ]; -void checkUnnamed4701(core.List o) { +void checkUnnamed4745(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -359,10 +364,10 @@ api.Api buildApi() { final o = api.Api(); buildCounterApi++; if (buildCounterApi < 3) { - o.methods = buildUnnamed4699(); - o.mixins = buildUnnamed4700(); + o.methods = buildUnnamed4743(); + o.mixins = buildUnnamed4744(); o.name = 'foo'; - o.options = buildUnnamed4701(); + o.options = buildUnnamed4745(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; o.version = 'foo'; @@ -374,13 +379,13 @@ api.Api buildApi() { void checkApi(api.Api o) { buildCounterApi++; if (buildCounterApi < 3) { - checkUnnamed4699(o.methods!); - checkUnnamed4700(o.mixins!); + checkUnnamed4743(o.methods!); + checkUnnamed4744(o.mixins!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4701(o.options!); + checkUnnamed4745(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -394,12 +399,12 @@ void checkApi(api.Api o) { buildCounterApi--; } -core.List buildUnnamed4702() => [ +core.List buildUnnamed4746() => [ buildJwtLocation(), buildJwtLocation(), ]; -void checkUnnamed4702(core.List o) { +void checkUnnamed4746(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwtLocation(o[0]); checkJwtLocation(o[1]); @@ -415,7 +420,7 @@ api.AuthProvider buildAuthProvider() { o.id = 'foo'; o.issuer = 'foo'; o.jwksUri = 'foo'; - o.jwtLocations = buildUnnamed4702(); + o.jwtLocations = buildUnnamed4746(); } buildCounterAuthProvider--; return o; @@ -444,7 +449,7 @@ void checkAuthProvider(api.AuthProvider o) { o.jwksUri!, unittest.equals('foo'), ); - checkUnnamed4702(o.jwtLocations!); + checkUnnamed4746(o.jwtLocations!); } buildCounterAuthProvider--; } @@ -476,23 +481,23 @@ void checkAuthRequirement(api.AuthRequirement o) { buildCounterAuthRequirement--; } -core.List buildUnnamed4703() => [ +core.List buildUnnamed4747() => [ buildAuthProvider(), buildAuthProvider(), ]; -void checkUnnamed4703(core.List o) { +void checkUnnamed4747(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthProvider(o[0]); checkAuthProvider(o[1]); } -core.List buildUnnamed4704() => [ +core.List buildUnnamed4748() => [ buildAuthenticationRule(), buildAuthenticationRule(), ]; -void checkUnnamed4704(core.List o) { +void checkUnnamed4748(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthenticationRule(o[0]); checkAuthenticationRule(o[1]); @@ -503,8 +508,8 @@ api.Authentication buildAuthentication() { final o = api.Authentication(); buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - o.providers = buildUnnamed4703(); - o.rules = buildUnnamed4704(); + o.providers = buildUnnamed4747(); + o.rules = buildUnnamed4748(); } buildCounterAuthentication--; return o; @@ -513,18 +518,18 @@ api.Authentication buildAuthentication() { void checkAuthentication(api.Authentication o) { buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - checkUnnamed4703(o.providers!); - checkUnnamed4704(o.rules!); + checkUnnamed4747(o.providers!); + checkUnnamed4748(o.rules!); } buildCounterAuthentication--; } -core.List buildUnnamed4705() => [ +core.List buildUnnamed4749() => [ buildAuthRequirement(), buildAuthRequirement(), ]; -void checkUnnamed4705(core.List o) { +void checkUnnamed4749(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthRequirement(o[0]); checkAuthRequirement(o[1]); @@ -537,7 +542,7 @@ api.AuthenticationRule buildAuthenticationRule() { if (buildCounterAuthenticationRule < 3) { o.allowWithoutCredential = true; o.oauth = buildOAuthRequirements(); - o.requirements = buildUnnamed4705(); + o.requirements = buildUnnamed4749(); o.selector = 'foo'; } buildCounterAuthenticationRule--; @@ -549,7 +554,7 @@ void checkAuthenticationRule(api.AuthenticationRule o) { if (buildCounterAuthenticationRule < 3) { unittest.expect(o.allowWithoutCredential!, unittest.isTrue); checkOAuthRequirements(o.oauth!); - checkUnnamed4705(o.requirements!); + checkUnnamed4749(o.requirements!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -558,12 +563,12 @@ void checkAuthenticationRule(api.AuthenticationRule o) { buildCounterAuthenticationRule--; } -core.List buildUnnamed4706() => [ +core.List buildUnnamed4750() => [ buildBackendRule(), buildBackendRule(), ]; -void checkUnnamed4706(core.List o) { +void checkUnnamed4750(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendRule(o[0]); checkBackendRule(o[1]); @@ -574,7 +579,7 @@ api.Backend buildBackend() { final o = api.Backend(); buildCounterBackend++; if (buildCounterBackend < 3) { - o.rules = buildUnnamed4706(); + o.rules = buildUnnamed4750(); } buildCounterBackend--; return o; @@ -583,7 +588,7 @@ api.Backend buildBackend() { void checkBackend(api.Backend o) { buildCounterBackend++; if (buildCounterBackend < 3) { - checkUnnamed4706(o.rules!); + checkUnnamed4750(o.rules!); } buildCounterBackend--; } @@ -642,12 +647,12 @@ void checkBackendRule(api.BackendRule o) { buildCounterBackendRule--; } -core.List buildUnnamed4707() => [ +core.List buildUnnamed4751() => [ buildBillingDestination(), buildBillingDestination(), ]; -void checkUnnamed4707(core.List o) { +void checkUnnamed4751(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBillingDestination(o[0]); checkBillingDestination(o[1]); @@ -658,7 +663,7 @@ api.Billing buildBilling() { final o = api.Billing(); buildCounterBilling++; if (buildCounterBilling < 3) { - o.consumerDestinations = buildUnnamed4707(); + o.consumerDestinations = buildUnnamed4751(); } buildCounterBilling--; return o; @@ -667,17 +672,17 @@ api.Billing buildBilling() { void checkBilling(api.Billing o) { buildCounterBilling++; if (buildCounterBilling < 3) { - checkUnnamed4707(o.consumerDestinations!); + checkUnnamed4751(o.consumerDestinations!); } buildCounterBilling--; } -core.List buildUnnamed4708() => [ +core.List buildUnnamed4752() => [ 'foo', 'foo', ]; -void checkUnnamed4708(core.List o) { +void checkUnnamed4752(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -694,7 +699,7 @@ api.BillingDestination buildBillingDestination() { final o = api.BillingDestination(); buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - o.metrics = buildUnnamed4708(); + o.metrics = buildUnnamed4752(); o.monitoredResource = 'foo'; } buildCounterBillingDestination--; @@ -704,7 +709,7 @@ api.BillingDestination buildBillingDestination() { void checkBillingDestination(api.BillingDestination o) { buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - checkUnnamed4708(o.metrics!); + checkUnnamed4752(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -728,12 +733,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.List buildUnnamed4709() => [ +core.List buildUnnamed4753() => [ 'foo', 'foo', ]; -void checkUnnamed4709(core.List o) { +void checkUnnamed4753(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -752,7 +757,7 @@ api.Connection buildConnection() { if (buildCounterConnection < 3) { o.network = 'foo'; o.peering = 'foo'; - o.reservedPeeringRanges = buildUnnamed4709(); + o.reservedPeeringRanges = buildUnnamed4753(); o.service = 'foo'; } buildCounterConnection--; @@ -770,7 +775,7 @@ void checkConnection(api.Connection o) { o.peering!, unittest.equals('foo'), ); - checkUnnamed4709(o.reservedPeeringRanges!); + checkUnnamed4753(o.reservedPeeringRanges!); unittest.expect( o.service!, unittest.equals('foo'), @@ -780,12 +785,12 @@ void checkConnection(api.Connection o) { } core.List - buildUnnamed4710() => [ + buildUnnamed4754() => [ buildGoogleCloudServicenetworkingV1ConsumerConfigReservedRange(), buildGoogleCloudServicenetworkingV1ConsumerConfigReservedRange(), ]; -void checkUnnamed4710( +void checkUnnamed4754( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -807,7 +812,7 @@ api.ConsumerConfig buildConsumerConfig() { o.producerImportCustomRoutes = true; o.producerImportSubnetRoutesWithPublicIp = true; o.producerNetwork = 'foo'; - o.reservedRanges = buildUnnamed4710(); + o.reservedRanges = buildUnnamed4754(); o.vpcScReferenceArchitectureEnabled = true; } buildCounterConsumerConfig--; @@ -829,7 +834,7 @@ void checkConsumerConfig(api.ConsumerConfig o) { o.producerNetwork!, unittest.equals('foo'), ); - checkUnnamed4710(o.reservedRanges!); + checkUnnamed4754(o.reservedRanges!); unittest.expect(o.vpcScReferenceArchitectureEnabled!, unittest.isTrue); } buildCounterConsumerConfig--; @@ -872,12 +877,12 @@ void checkConsumerProject(api.ConsumerProject o) { buildCounterConsumerProject--; } -core.List buildUnnamed4711() => [ +core.List buildUnnamed4755() => [ buildContextRule(), buildContextRule(), ]; -void checkUnnamed4711(core.List o) { +void checkUnnamed4755(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextRule(o[0]); checkContextRule(o[1]); @@ -888,7 +893,7 @@ api.Context buildContext() { final o = api.Context(); buildCounterContext++; if (buildCounterContext < 3) { - o.rules = buildUnnamed4711(); + o.rules = buildUnnamed4755(); } buildCounterContext--; return o; @@ -897,17 +902,17 @@ api.Context buildContext() { void checkContext(api.Context o) { buildCounterContext++; if (buildCounterContext < 3) { - checkUnnamed4711(o.rules!); + checkUnnamed4755(o.rules!); } buildCounterContext--; } -core.List buildUnnamed4712() => [ +core.List buildUnnamed4756() => [ 'foo', 'foo', ]; -void checkUnnamed4712(core.List o) { +void checkUnnamed4756(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -919,12 +924,12 @@ void checkUnnamed4712(core.List o) { ); } -core.List buildUnnamed4713() => [ +core.List buildUnnamed4757() => [ 'foo', 'foo', ]; -void checkUnnamed4713(core.List o) { +void checkUnnamed4757(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -936,12 +941,12 @@ void checkUnnamed4713(core.List o) { ); } -core.List buildUnnamed4714() => [ +core.List buildUnnamed4758() => [ 'foo', 'foo', ]; -void checkUnnamed4714(core.List o) { +void checkUnnamed4758(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -953,12 +958,12 @@ void checkUnnamed4714(core.List o) { ); } -core.List buildUnnamed4715() => [ +core.List buildUnnamed4759() => [ 'foo', 'foo', ]; -void checkUnnamed4715(core.List o) { +void checkUnnamed4759(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -975,10 +980,10 @@ api.ContextRule buildContextRule() { final o = api.ContextRule(); buildCounterContextRule++; if (buildCounterContextRule < 3) { - o.allowedRequestExtensions = buildUnnamed4712(); - o.allowedResponseExtensions = buildUnnamed4713(); - o.provided = buildUnnamed4714(); - o.requested = buildUnnamed4715(); + o.allowedRequestExtensions = buildUnnamed4756(); + o.allowedResponseExtensions = buildUnnamed4757(); + o.provided = buildUnnamed4758(); + o.requested = buildUnnamed4759(); o.selector = 'foo'; } buildCounterContextRule--; @@ -988,10 +993,10 @@ api.ContextRule buildContextRule() { void checkContextRule(api.ContextRule o) { buildCounterContextRule++; if (buildCounterContextRule < 3) { - checkUnnamed4712(o.allowedRequestExtensions!); - checkUnnamed4713(o.allowedResponseExtensions!); - checkUnnamed4714(o.provided!); - checkUnnamed4715(o.requested!); + checkUnnamed4756(o.allowedRequestExtensions!); + checkUnnamed4757(o.allowedResponseExtensions!); + checkUnnamed4758(o.provided!); + checkUnnamed4759(o.requested!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -1022,23 +1027,23 @@ void checkControl(api.Control o) { buildCounterControl--; } -core.List buildUnnamed4716() => [ +core.List buildUnnamed4760() => [ buildCustomErrorRule(), buildCustomErrorRule(), ]; -void checkUnnamed4716(core.List o) { +void checkUnnamed4760(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomErrorRule(o[0]); checkCustomErrorRule(o[1]); } -core.List buildUnnamed4717() => [ +core.List buildUnnamed4761() => [ 'foo', 'foo', ]; -void checkUnnamed4717(core.List o) { +void checkUnnamed4761(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1055,8 +1060,8 @@ api.CustomError buildCustomError() { final o = api.CustomError(); buildCounterCustomError++; if (buildCounterCustomError < 3) { - o.rules = buildUnnamed4716(); - o.types = buildUnnamed4717(); + o.rules = buildUnnamed4760(); + o.types = buildUnnamed4761(); } buildCounterCustomError--; return o; @@ -1065,8 +1070,8 @@ api.CustomError buildCustomError() { void checkCustomError(api.CustomError o) { buildCounterCustomError++; if (buildCounterCustomError < 3) { - checkUnnamed4716(o.rules!); - checkUnnamed4717(o.types!); + checkUnnamed4760(o.rules!); + checkUnnamed4761(o.types!); } buildCounterCustomError--; } @@ -1197,12 +1202,12 @@ void checkDisableVpcServiceControlsRequest( buildCounterDisableVpcServiceControlsRequest--; } -core.List buildUnnamed4718() => [ +core.List buildUnnamed4762() => [ 'foo', 'foo', ]; -void checkUnnamed4718(core.List o) { +void checkUnnamed4762(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1219,7 +1224,7 @@ api.DnsRecordSet buildDnsRecordSet() { final o = api.DnsRecordSet(); buildCounterDnsRecordSet++; if (buildCounterDnsRecordSet < 3) { - o.data = buildUnnamed4718(); + o.data = buildUnnamed4762(); o.domain = 'foo'; o.ttl = 'foo'; o.type = 'foo'; @@ -1231,7 +1236,7 @@ api.DnsRecordSet buildDnsRecordSet() { void checkDnsRecordSet(api.DnsRecordSet o) { buildCounterDnsRecordSet++; if (buildCounterDnsRecordSet < 3) { - checkUnnamed4718(o.data!); + checkUnnamed4762(o.data!); unittest.expect( o.domain!, unittest.equals('foo'), @@ -1275,23 +1280,23 @@ void checkDnsZone(api.DnsZone o) { buildCounterDnsZone--; } -core.List buildUnnamed4719() => [ +core.List buildUnnamed4763() => [ buildPage(), buildPage(), ]; -void checkUnnamed4719(core.List o) { +void checkUnnamed4763(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); } -core.List buildUnnamed4720() => [ +core.List buildUnnamed4764() => [ buildDocumentationRule(), buildDocumentationRule(), ]; -void checkUnnamed4720(core.List o) { +void checkUnnamed4764(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDocumentationRule(o[0]); checkDocumentationRule(o[1]); @@ -1304,8 +1309,8 @@ api.Documentation buildDocumentation() { if (buildCounterDocumentation < 3) { o.documentationRootUrl = 'foo'; o.overview = 'foo'; - o.pages = buildUnnamed4719(); - o.rules = buildUnnamed4720(); + o.pages = buildUnnamed4763(); + o.rules = buildUnnamed4764(); o.serviceRootUrl = 'foo'; o.summary = 'foo'; } @@ -1324,8 +1329,8 @@ void checkDocumentation(api.Documentation o) { o.overview!, unittest.equals('foo'), ); - checkUnnamed4719(o.pages!); - checkUnnamed4720(o.rules!); + checkUnnamed4763(o.pages!); + checkUnnamed4764(o.rules!); unittest.expect( o.serviceRootUrl!, unittest.equals('foo'), @@ -1437,23 +1442,23 @@ void checkEndpoint(api.Endpoint o) { buildCounterEndpoint--; } -core.List buildUnnamed4721() => [ +core.List buildUnnamed4765() => [ buildEnumValue(), buildEnumValue(), ]; -void checkUnnamed4721(core.List o) { +void checkUnnamed4765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnumValue(o[0]); checkEnumValue(o[1]); } -core.List buildUnnamed4722() => [ +core.List buildUnnamed4766() => [ buildOption(), buildOption(), ]; -void checkUnnamed4722(core.List o) { +void checkUnnamed4766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1464,9 +1469,9 @@ api.Enum buildEnum() { final o = api.Enum(); buildCounterEnum++; if (buildCounterEnum < 3) { - o.enumvalue = buildUnnamed4721(); + o.enumvalue = buildUnnamed4765(); o.name = 'foo'; - o.options = buildUnnamed4722(); + o.options = buildUnnamed4766(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -1477,12 +1482,12 @@ api.Enum buildEnum() { void checkEnum(api.Enum o) { buildCounterEnum++; if (buildCounterEnum < 3) { - checkUnnamed4721(o.enumvalue!); + checkUnnamed4765(o.enumvalue!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4722(o.options!); + checkUnnamed4766(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -1492,12 +1497,12 @@ void checkEnum(api.Enum o) { buildCounterEnum--; } -core.List buildUnnamed4723() => [ +core.List buildUnnamed4767() => [ buildOption(), buildOption(), ]; -void checkUnnamed4723(core.List o) { +void checkUnnamed4767(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1510,7 +1515,7 @@ api.EnumValue buildEnumValue() { if (buildCounterEnumValue < 3) { o.name = 'foo'; o.number = 42; - o.options = buildUnnamed4723(); + o.options = buildUnnamed4767(); } buildCounterEnumValue--; return o; @@ -1527,17 +1532,17 @@ void checkEnumValue(api.EnumValue o) { o.number!, unittest.equals(42), ); - checkUnnamed4723(o.options!); + checkUnnamed4767(o.options!); } buildCounterEnumValue--; } -core.List buildUnnamed4724() => [ +core.List buildUnnamed4768() => [ buildOption(), buildOption(), ]; -void checkUnnamed4724(core.List o) { +void checkUnnamed4768(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1555,7 +1560,7 @@ api.Field buildField() { o.name = 'foo'; o.number = 42; o.oneofIndex = 42; - o.options = buildUnnamed4724(); + o.options = buildUnnamed4768(); o.packed = true; o.typeUrl = 'foo'; } @@ -1594,7 +1599,7 @@ void checkField(api.Field o) { o.oneofIndex!, unittest.equals(42), ); - checkUnnamed4724(o.options!); + checkUnnamed4768(o.options!); unittest.expect(o.packed!, unittest.isTrue); unittest.expect( o.typeUrl!, @@ -1641,12 +1646,12 @@ void checkGoogleCloudServicenetworkingV1ConsumerConfigReservedRange( buildCounterGoogleCloudServicenetworkingV1ConsumerConfigReservedRange--; } -core.List buildUnnamed4725() => [ +core.List buildUnnamed4769() => [ 'foo', 'foo', ]; -void checkUnnamed4725(core.List o) { +void checkUnnamed4769(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1666,7 +1671,7 @@ api.GoogleCloudServicenetworkingV1betaConnection if (buildCounterGoogleCloudServicenetworkingV1betaConnection < 3) { o.network = 'foo'; o.peering = 'foo'; - o.reservedPeeringRanges = buildUnnamed4725(); + o.reservedPeeringRanges = buildUnnamed4769(); o.service = 'foo'; } buildCounterGoogleCloudServicenetworkingV1betaConnection--; @@ -1685,7 +1690,7 @@ void checkGoogleCloudServicenetworkingV1betaConnection( o.peering!, unittest.equals('foo'), ); - checkUnnamed4725(o.reservedPeeringRanges!); + checkUnnamed4769(o.reservedPeeringRanges!); unittest.expect( o.service!, unittest.equals('foo'), @@ -1730,12 +1735,12 @@ void checkGoogleCloudServicenetworkingV1betaSubnetwork( buildCounterGoogleCloudServicenetworkingV1betaSubnetwork--; } -core.List buildUnnamed4726() => [ +core.List buildUnnamed4770() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed4726(core.List o) { +void checkUnnamed4770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1747,7 +1752,7 @@ api.Http buildHttp() { buildCounterHttp++; if (buildCounterHttp < 3) { o.fullyDecodeReservedExpansion = true; - o.rules = buildUnnamed4726(); + o.rules = buildUnnamed4770(); } buildCounterHttp--; return o; @@ -1757,17 +1762,17 @@ void checkHttp(api.Http o) { buildCounterHttp++; if (buildCounterHttp < 3) { unittest.expect(o.fullyDecodeReservedExpansion!, unittest.isTrue); - checkUnnamed4726(o.rules!); + checkUnnamed4770(o.rules!); } buildCounterHttp--; } -core.List buildUnnamed4727() => [ +core.List buildUnnamed4771() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed4727(core.List o) { +void checkUnnamed4771(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1778,7 +1783,7 @@ api.HttpRule buildHttpRule() { final o = api.HttpRule(); buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - o.additionalBindings = buildUnnamed4727(); + o.additionalBindings = buildUnnamed4771(); o.body = 'foo'; o.custom = buildCustomHttpPattern(); o.delete = 'foo'; @@ -1796,7 +1801,7 @@ api.HttpRule buildHttpRule() { void checkHttpRule(api.HttpRule o) { buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - checkUnnamed4727(o.additionalBindings!); + checkUnnamed4771(o.additionalBindings!); unittest.expect( o.body!, unittest.equals('foo'), @@ -1898,12 +1903,12 @@ void checkLabelDescriptor(api.LabelDescriptor o) { buildCounterLabelDescriptor--; } -core.List buildUnnamed4728() => [ +core.List buildUnnamed4772() => [ buildConnection(), buildConnection(), ]; -void checkUnnamed4728(core.List o) { +void checkUnnamed4772(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnection(o[0]); checkConnection(o[1]); @@ -1914,7 +1919,7 @@ api.ListConnectionsResponse buildListConnectionsResponse() { final o = api.ListConnectionsResponse(); buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - o.connections = buildUnnamed4728(); + o.connections = buildUnnamed4772(); } buildCounterListConnectionsResponse--; return o; @@ -1923,17 +1928,17 @@ api.ListConnectionsResponse buildListConnectionsResponse() { void checkListConnectionsResponse(api.ListConnectionsResponse o) { buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - checkUnnamed4728(o.connections!); + checkUnnamed4772(o.connections!); } buildCounterListConnectionsResponse--; } -core.List buildUnnamed4729() => [ +core.List buildUnnamed4773() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4729(core.List o) { +void checkUnnamed4773(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1945,7 +1950,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4729(); + o.operations = buildUnnamed4773(); } buildCounterListOperationsResponse--; return o; @@ -1958,17 +1963,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4729(o.operations!); + checkUnnamed4773(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed4730() => [ +core.List buildUnnamed4774() => [ buildPeeredDnsDomain(), buildPeeredDnsDomain(), ]; -void checkUnnamed4730(core.List o) { +void checkUnnamed4774(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPeeredDnsDomain(o[0]); checkPeeredDnsDomain(o[1]); @@ -1979,7 +1984,7 @@ api.ListPeeredDnsDomainsResponse buildListPeeredDnsDomainsResponse() { final o = api.ListPeeredDnsDomainsResponse(); buildCounterListPeeredDnsDomainsResponse++; if (buildCounterListPeeredDnsDomainsResponse < 3) { - o.peeredDnsDomains = buildUnnamed4730(); + o.peeredDnsDomains = buildUnnamed4774(); } buildCounterListPeeredDnsDomainsResponse--; return o; @@ -1988,17 +1993,17 @@ api.ListPeeredDnsDomainsResponse buildListPeeredDnsDomainsResponse() { void checkListPeeredDnsDomainsResponse(api.ListPeeredDnsDomainsResponse o) { buildCounterListPeeredDnsDomainsResponse++; if (buildCounterListPeeredDnsDomainsResponse < 3) { - checkUnnamed4730(o.peeredDnsDomains!); + checkUnnamed4774(o.peeredDnsDomains!); } buildCounterListPeeredDnsDomainsResponse--; } -core.List buildUnnamed4731() => [ +core.List buildUnnamed4775() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed4731(core.List o) { +void checkUnnamed4775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2011,7 +2016,7 @@ api.LogDescriptor buildLogDescriptor() { if (buildCounterLogDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed4731(); + o.labels = buildUnnamed4775(); o.name = 'foo'; } buildCounterLogDescriptor--; @@ -2029,7 +2034,7 @@ void checkLogDescriptor(api.LogDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4731(o.labels!); + checkUnnamed4775(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2038,23 +2043,23 @@ void checkLogDescriptor(api.LogDescriptor o) { buildCounterLogDescriptor--; } -core.List buildUnnamed4732() => [ +core.List buildUnnamed4776() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed4732(core.List o) { +void checkUnnamed4776(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); } -core.List buildUnnamed4733() => [ +core.List buildUnnamed4777() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed4733(core.List o) { +void checkUnnamed4777(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); @@ -2065,8 +2070,8 @@ api.Logging buildLogging() { final o = api.Logging(); buildCounterLogging++; if (buildCounterLogging < 3) { - o.consumerDestinations = buildUnnamed4732(); - o.producerDestinations = buildUnnamed4733(); + o.consumerDestinations = buildUnnamed4776(); + o.producerDestinations = buildUnnamed4777(); } buildCounterLogging--; return o; @@ -2075,18 +2080,18 @@ api.Logging buildLogging() { void checkLogging(api.Logging o) { buildCounterLogging++; if (buildCounterLogging < 3) { - checkUnnamed4732(o.consumerDestinations!); - checkUnnamed4733(o.producerDestinations!); + checkUnnamed4776(o.consumerDestinations!); + checkUnnamed4777(o.producerDestinations!); } buildCounterLogging--; } -core.List buildUnnamed4734() => [ +core.List buildUnnamed4778() => [ 'foo', 'foo', ]; -void checkUnnamed4734(core.List o) { +void checkUnnamed4778(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2103,7 +2108,7 @@ api.LoggingDestination buildLoggingDestination() { final o = api.LoggingDestination(); buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - o.logs = buildUnnamed4734(); + o.logs = buildUnnamed4778(); o.monitoredResource = 'foo'; } buildCounterLoggingDestination--; @@ -2113,7 +2118,7 @@ api.LoggingDestination buildLoggingDestination() { void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - checkUnnamed4734(o.logs!); + checkUnnamed4778(o.logs!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -2122,12 +2127,12 @@ void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination--; } -core.List buildUnnamed4735() => [ +core.List buildUnnamed4779() => [ buildOption(), buildOption(), ]; -void checkUnnamed4735(core.List o) { +void checkUnnamed4779(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -2139,7 +2144,7 @@ api.Method buildMethod() { buildCounterMethod++; if (buildCounterMethod < 3) { o.name = 'foo'; - o.options = buildUnnamed4735(); + o.options = buildUnnamed4779(); o.requestStreaming = true; o.requestTypeUrl = 'foo'; o.responseStreaming = true; @@ -2157,7 +2162,7 @@ void checkMethod(api.Method o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4735(o.options!); + checkUnnamed4779(o.options!); unittest.expect(o.requestStreaming!, unittest.isTrue); unittest.expect( o.requestTypeUrl!, @@ -2176,23 +2181,23 @@ void checkMethod(api.Method o) { buildCounterMethod--; } -core.List buildUnnamed4736() => [ +core.List buildUnnamed4780() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed4736(core.List o) { +void checkUnnamed4780(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed4737() => [ +core.List buildUnnamed4781() => [ 'foo', 'foo', ]; -void checkUnnamed4737(core.List o) { +void checkUnnamed4781(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2211,11 +2216,11 @@ api.MetricDescriptor buildMetricDescriptor() { if (buildCounterMetricDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed4736(); + o.labels = buildUnnamed4780(); o.launchStage = 'foo'; o.metadata = buildMetricDescriptorMetadata(); o.metricKind = 'foo'; - o.monitoredResourceTypes = buildUnnamed4737(); + o.monitoredResourceTypes = buildUnnamed4781(); o.name = 'foo'; o.type = 'foo'; o.unit = 'foo'; @@ -2236,7 +2241,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4736(o.labels!); + checkUnnamed4780(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2246,7 +2251,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed4737(o.monitoredResourceTypes!); + checkUnnamed4781(o.monitoredResourceTypes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2299,12 +2304,12 @@ void checkMetricDescriptorMetadata(api.MetricDescriptorMetadata o) { buildCounterMetricDescriptorMetadata--; } -core.Map buildUnnamed4738() => { +core.Map buildUnnamed4782() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4738(core.Map o) { +void checkUnnamed4782(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2321,7 +2326,7 @@ api.MetricRule buildMetricRule() { final o = api.MetricRule(); buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - o.metricCosts = buildUnnamed4738(); + o.metricCosts = buildUnnamed4782(); o.selector = 'foo'; } buildCounterMetricRule--; @@ -2331,7 +2336,7 @@ api.MetricRule buildMetricRule() { void checkMetricRule(api.MetricRule o) { buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - checkUnnamed4738(o.metricCosts!); + checkUnnamed4782(o.metricCosts!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -2367,12 +2372,12 @@ void checkMixin(api.Mixin o) { buildCounterMixin--; } -core.List buildUnnamed4739() => [ +core.List buildUnnamed4783() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed4739(core.List o) { +void checkUnnamed4783(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2385,7 +2390,7 @@ api.MonitoredResourceDescriptor buildMonitoredResourceDescriptor() { if (buildCounterMonitoredResourceDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed4739(); + o.labels = buildUnnamed4783(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -2405,7 +2410,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed4739(o.labels!); + checkUnnamed4783(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2422,23 +2427,23 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { buildCounterMonitoredResourceDescriptor--; } -core.List buildUnnamed4740() => [ +core.List buildUnnamed4784() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed4740(core.List o) { +void checkUnnamed4784(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); } -core.List buildUnnamed4741() => [ +core.List buildUnnamed4785() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed4741(core.List o) { +void checkUnnamed4785(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); @@ -2449,8 +2454,8 @@ api.Monitoring buildMonitoring() { final o = api.Monitoring(); buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - o.consumerDestinations = buildUnnamed4740(); - o.producerDestinations = buildUnnamed4741(); + o.consumerDestinations = buildUnnamed4784(); + o.producerDestinations = buildUnnamed4785(); } buildCounterMonitoring--; return o; @@ -2459,18 +2464,18 @@ api.Monitoring buildMonitoring() { void checkMonitoring(api.Monitoring o) { buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - checkUnnamed4740(o.consumerDestinations!); - checkUnnamed4741(o.producerDestinations!); + checkUnnamed4784(o.consumerDestinations!); + checkUnnamed4785(o.producerDestinations!); } buildCounterMonitoring--; } -core.List buildUnnamed4742() => [ +core.List buildUnnamed4786() => [ 'foo', 'foo', ]; -void checkUnnamed4742(core.List o) { +void checkUnnamed4786(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2487,7 +2492,7 @@ api.MonitoringDestination buildMonitoringDestination() { final o = api.MonitoringDestination(); buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - o.metrics = buildUnnamed4742(); + o.metrics = buildUnnamed4786(); o.monitoredResource = 'foo'; } buildCounterMonitoringDestination--; @@ -2497,7 +2502,7 @@ api.MonitoringDestination buildMonitoringDestination() { void checkMonitoringDestination(api.MonitoringDestination o) { buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - checkUnnamed4742(o.metrics!); + checkUnnamed4786(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -2528,7 +2533,7 @@ void checkOAuthRequirements(api.OAuthRequirements o) { buildCounterOAuthRequirements--; } -core.Map buildUnnamed4743() => { +core.Map buildUnnamed4787() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2541,7 +2546,7 @@ core.Map buildUnnamed4743() => { }, }; -void checkUnnamed4743(core.Map o) { +void checkUnnamed4787(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2573,7 +2578,7 @@ void checkUnnamed4743(core.Map o) { ); } -core.Map buildUnnamed4744() => { +core.Map buildUnnamed4788() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2586,7 +2591,7 @@ core.Map buildUnnamed4744() => { }, }; -void checkUnnamed4744(core.Map o) { +void checkUnnamed4788(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2625,9 +2630,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4743(); + o.metadata = buildUnnamed4787(); o.name = 'foo'; - o.response = buildUnnamed4744(); + o.response = buildUnnamed4788(); } buildCounterOperation--; return o; @@ -2638,17 +2643,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4743(o.metadata!); + checkUnnamed4787(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4744(o.response!); + checkUnnamed4788(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed4745() => { +core.Map buildUnnamed4789() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2661,7 +2666,7 @@ core.Map buildUnnamed4745() => { }, }; -void checkUnnamed4745(core.Map o) { +void checkUnnamed4789(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2699,7 +2704,7 @@ api.Option buildOption() { buildCounterOption++; if (buildCounterOption < 3) { o.name = 'foo'; - o.value = buildUnnamed4745(); + o.value = buildUnnamed4789(); } buildCounterOption--; return o; @@ -2712,17 +2717,17 @@ void checkOption(api.Option o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4745(o.value!); + checkUnnamed4789(o.value!); } buildCounterOption--; } -core.List buildUnnamed4746() => [ +core.List buildUnnamed4790() => [ buildPage(), buildPage(), ]; -void checkUnnamed4746(core.List o) { +void checkUnnamed4790(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -2735,7 +2740,7 @@ api.Page buildPage() { if (buildCounterPage < 3) { o.content = 'foo'; o.name = 'foo'; - o.subpages = buildUnnamed4746(); + o.subpages = buildUnnamed4790(); } buildCounterPage--; return o; @@ -2752,7 +2757,7 @@ void checkPage(api.Page o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4746(o.subpages!); + checkUnnamed4790(o.subpages!); } buildCounterPage--; } @@ -2842,23 +2847,23 @@ void checkPolicyBinding(api.PolicyBinding o) { buildCounterPolicyBinding--; } -core.List buildUnnamed4747() => [ +core.List buildUnnamed4791() => [ buildQuotaLimit(), buildQuotaLimit(), ]; -void checkUnnamed4747(core.List o) { +void checkUnnamed4791(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaLimit(o[0]); checkQuotaLimit(o[1]); } -core.List buildUnnamed4748() => [ +core.List buildUnnamed4792() => [ buildMetricRule(), buildMetricRule(), ]; -void checkUnnamed4748(core.List o) { +void checkUnnamed4792(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricRule(o[0]); checkMetricRule(o[1]); @@ -2869,8 +2874,8 @@ api.Quota buildQuota() { final o = api.Quota(); buildCounterQuota++; if (buildCounterQuota < 3) { - o.limits = buildUnnamed4747(); - o.metricRules = buildUnnamed4748(); + o.limits = buildUnnamed4791(); + o.metricRules = buildUnnamed4792(); } buildCounterQuota--; return o; @@ -2879,18 +2884,18 @@ api.Quota buildQuota() { void checkQuota(api.Quota o) { buildCounterQuota++; if (buildCounterQuota < 3) { - checkUnnamed4747(o.limits!); - checkUnnamed4748(o.metricRules!); + checkUnnamed4791(o.limits!); + checkUnnamed4792(o.metricRules!); } buildCounterQuota--; } -core.Map buildUnnamed4749() => { +core.Map buildUnnamed4793() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4749(core.Map o) { +void checkUnnamed4793(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2916,7 +2921,7 @@ api.QuotaLimit buildQuotaLimit() { o.metric = 'foo'; o.name = 'foo'; o.unit = 'foo'; - o.values = buildUnnamed4749(); + o.values = buildUnnamed4793(); } buildCounterQuotaLimit--; return o; @@ -2961,7 +2966,7 @@ void checkQuotaLimit(api.QuotaLimit o) { o.unit!, unittest.equals('foo'), ); - checkUnnamed4749(o.values!); + checkUnnamed4793(o.values!); } buildCounterQuotaLimit--; } @@ -2993,12 +2998,12 @@ void checkRange(api.Range o) { buildCounterRange--; } -core.List buildUnnamed4750() => [ +core.List buildUnnamed4794() => [ 'foo', 'foo', ]; -void checkUnnamed4750(core.List o) { +void checkUnnamed4794(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3010,12 +3015,12 @@ void checkUnnamed4750(core.List o) { ); } -core.List buildUnnamed4751() => [ +core.List buildUnnamed4795() => [ 42, 42, ]; -void checkUnnamed4751(core.List o) { +void checkUnnamed4795(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3027,12 +3032,12 @@ void checkUnnamed4751(core.List o) { ); } -core.List buildUnnamed4752() => [ +core.List buildUnnamed4796() => [ buildSubnetwork(), buildSubnetwork(), ]; -void checkUnnamed4752(core.List o) { +void checkUnnamed4796(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetwork(o[0]); checkSubnetwork(o[1]); @@ -3044,9 +3049,9 @@ api.RangeReservation buildRangeReservation() { buildCounterRangeReservation++; if (buildCounterRangeReservation < 3) { o.ipPrefixLength = 42; - o.requestedRanges = buildUnnamed4750(); - o.secondaryRangeIpPrefixLengths = buildUnnamed4751(); - o.subnetworkCandidates = buildUnnamed4752(); + o.requestedRanges = buildUnnamed4794(); + o.secondaryRangeIpPrefixLengths = buildUnnamed4795(); + o.subnetworkCandidates = buildUnnamed4796(); } buildCounterRangeReservation--; return o; @@ -3059,9 +3064,9 @@ void checkRangeReservation(api.RangeReservation o) { o.ipPrefixLength!, unittest.equals(42), ); - checkUnnamed4750(o.requestedRanges!); - checkUnnamed4751(o.secondaryRangeIpPrefixLengths!); - checkUnnamed4752(o.subnetworkCandidates!); + checkUnnamed4794(o.requestedRanges!); + checkUnnamed4795(o.secondaryRangeIpPrefixLengths!); + checkUnnamed4796(o.subnetworkCandidates!); } buildCounterRangeReservation--; } @@ -3305,89 +3310,89 @@ void checkSecondaryIpRangeSpec(api.SecondaryIpRangeSpec o) { buildCounterSecondaryIpRangeSpec--; } -core.List buildUnnamed4753() => [ +core.List buildUnnamed4797() => [ buildApi(), buildApi(), ]; -void checkUnnamed4753(core.List o) { +void checkUnnamed4797(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApi(o[0]); checkApi(o[1]); } -core.List buildUnnamed4754() => [ +core.List buildUnnamed4798() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed4754(core.List o) { +void checkUnnamed4798(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); } -core.List buildUnnamed4755() => [ +core.List buildUnnamed4799() => [ buildEnum(), buildEnum(), ]; -void checkUnnamed4755(core.List o) { +void checkUnnamed4799(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnum(o[0]); checkEnum(o[1]); } -core.List buildUnnamed4756() => [ +core.List buildUnnamed4800() => [ buildLogDescriptor(), buildLogDescriptor(), ]; -void checkUnnamed4756(core.List o) { +void checkUnnamed4800(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogDescriptor(o[0]); checkLogDescriptor(o[1]); } -core.List buildUnnamed4757() => [ +core.List buildUnnamed4801() => [ buildMetricDescriptor(), buildMetricDescriptor(), ]; -void checkUnnamed4757(core.List o) { +void checkUnnamed4801(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptor(o[0]); checkMetricDescriptor(o[1]); } -core.List buildUnnamed4758() => [ +core.List buildUnnamed4802() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed4758(core.List o) { +void checkUnnamed4802(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); } -core.List buildUnnamed4759() => [ +core.List buildUnnamed4803() => [ buildType(), buildType(), ]; -void checkUnnamed4759(core.List o) { +void checkUnnamed4803(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); } -core.List buildUnnamed4760() => [ +core.List buildUnnamed4804() => [ buildType(), buildType(), ]; -void checkUnnamed4760(core.List o) { +void checkUnnamed4804(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); @@ -3398,7 +3403,7 @@ api.Service buildService() { final o = api.Service(); buildCounterService++; if (buildCounterService < 3) { - o.apis = buildUnnamed4753(); + o.apis = buildUnnamed4797(); o.authentication = buildAuthentication(); o.backend = buildBackend(); o.billing = buildBilling(); @@ -3407,23 +3412,23 @@ api.Service buildService() { o.control = buildControl(); o.customError = buildCustomError(); o.documentation = buildDocumentation(); - o.endpoints = buildUnnamed4754(); - o.enums = buildUnnamed4755(); + o.endpoints = buildUnnamed4798(); + o.enums = buildUnnamed4799(); o.http = buildHttp(); o.id = 'foo'; o.logging = buildLogging(); - o.logs = buildUnnamed4756(); - o.metrics = buildUnnamed4757(); - o.monitoredResources = buildUnnamed4758(); + o.logs = buildUnnamed4800(); + o.metrics = buildUnnamed4801(); + o.monitoredResources = buildUnnamed4802(); o.monitoring = buildMonitoring(); o.name = 'foo'; o.producerProjectId = 'foo'; o.quota = buildQuota(); o.sourceInfo = buildSourceInfo(); o.systemParameters = buildSystemParameters(); - o.systemTypes = buildUnnamed4759(); + o.systemTypes = buildUnnamed4803(); o.title = 'foo'; - o.types = buildUnnamed4760(); + o.types = buildUnnamed4804(); o.usage = buildUsage(); } buildCounterService--; @@ -3433,7 +3438,7 @@ api.Service buildService() { void checkService(api.Service o) { buildCounterService++; if (buildCounterService < 3) { - checkUnnamed4753(o.apis!); + checkUnnamed4797(o.apis!); checkAuthentication(o.authentication!); checkBackend(o.backend!); checkBilling(o.billing!); @@ -3445,17 +3450,17 @@ void checkService(api.Service o) { checkControl(o.control!); checkCustomError(o.customError!); checkDocumentation(o.documentation!); - checkUnnamed4754(o.endpoints!); - checkUnnamed4755(o.enums!); + checkUnnamed4798(o.endpoints!); + checkUnnamed4799(o.enums!); checkHttp(o.http!); unittest.expect( o.id!, unittest.equals('foo'), ); checkLogging(o.logging!); - checkUnnamed4756(o.logs!); - checkUnnamed4757(o.metrics!); - checkUnnamed4758(o.monitoredResources!); + checkUnnamed4800(o.logs!); + checkUnnamed4801(o.metrics!); + checkUnnamed4802(o.monitoredResources!); checkMonitoring(o.monitoring!); unittest.expect( o.name!, @@ -3468,12 +3473,12 @@ void checkService(api.Service o) { checkQuota(o.quota!); checkSourceInfo(o.sourceInfo!); checkSystemParameters(o.systemParameters!); - checkUnnamed4759(o.systemTypes!); + checkUnnamed4803(o.systemTypes!); unittest.expect( o.title!, unittest.equals('foo'), ); - checkUnnamed4760(o.types!); + checkUnnamed4804(o.types!); checkUsage(o.usage!); } buildCounterService--; @@ -3501,7 +3506,7 @@ void checkSourceContext(api.SourceContext o) { buildCounterSourceContext--; } -core.Map buildUnnamed4761() => { +core.Map buildUnnamed4805() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3514,7 +3519,7 @@ core.Map buildUnnamed4761() => { }, }; -void checkUnnamed4761(core.Map o) { +void checkUnnamed4805(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3546,15 +3551,15 @@ void checkUnnamed4761(core.Map o) { ); } -core.List> buildUnnamed4762() => [ - buildUnnamed4761(), - buildUnnamed4761(), +core.List> buildUnnamed4806() => [ + buildUnnamed4805(), + buildUnnamed4805(), ]; -void checkUnnamed4762(core.List> o) { +void checkUnnamed4806(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4761(o[0]); - checkUnnamed4761(o[1]); + checkUnnamed4805(o[0]); + checkUnnamed4805(o[1]); } core.int buildCounterSourceInfo = 0; @@ -3562,7 +3567,7 @@ api.SourceInfo buildSourceInfo() { final o = api.SourceInfo(); buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - o.sourceFiles = buildUnnamed4762(); + o.sourceFiles = buildUnnamed4806(); } buildCounterSourceInfo--; return o; @@ -3571,12 +3576,12 @@ api.SourceInfo buildSourceInfo() { void checkSourceInfo(api.SourceInfo o) { buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - checkUnnamed4762(o.sourceFiles!); + checkUnnamed4806(o.sourceFiles!); } buildCounterSourceInfo--; } -core.Map buildUnnamed4763() => { +core.Map buildUnnamed4807() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3589,7 +3594,7 @@ core.Map buildUnnamed4763() => { }, }; -void checkUnnamed4763(core.Map o) { +void checkUnnamed4807(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3621,15 +3626,15 @@ void checkUnnamed4763(core.Map o) { ); } -core.List> buildUnnamed4764() => [ - buildUnnamed4763(), - buildUnnamed4763(), +core.List> buildUnnamed4808() => [ + buildUnnamed4807(), + buildUnnamed4807(), ]; -void checkUnnamed4764(core.List> o) { +void checkUnnamed4808(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4763(o[0]); - checkUnnamed4763(o[1]); + checkUnnamed4807(o[0]); + checkUnnamed4807(o[1]); } core.int buildCounterStatus = 0; @@ -3638,7 +3643,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4764(); + o.details = buildUnnamed4808(); o.message = 'foo'; } buildCounterStatus--; @@ -3652,7 +3657,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4764(o.details!); + checkUnnamed4808(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3661,12 +3666,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed4765() => [ +core.List buildUnnamed4809() => [ buildSecondaryIpRange(), buildSecondaryIpRange(), ]; -void checkUnnamed4765(core.List o) { +void checkUnnamed4809(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSecondaryIpRange(o[0]); checkSecondaryIpRange(o[1]); @@ -3682,7 +3687,7 @@ api.Subnetwork buildSubnetwork() { o.network = 'foo'; o.outsideAllocation = true; o.region = 'foo'; - o.secondaryIpRanges = buildUnnamed4765(); + o.secondaryIpRanges = buildUnnamed4809(); } buildCounterSubnetwork--; return o; @@ -3708,7 +3713,7 @@ void checkSubnetwork(api.Subnetwork o) { o.region!, unittest.equals('foo'), ); - checkUnnamed4765(o.secondaryIpRanges!); + checkUnnamed4809(o.secondaryIpRanges!); } buildCounterSubnetwork--; } @@ -3745,12 +3750,12 @@ void checkSystemParameter(api.SystemParameter o) { buildCounterSystemParameter--; } -core.List buildUnnamed4766() => [ +core.List buildUnnamed4810() => [ buildSystemParameter(), buildSystemParameter(), ]; -void checkUnnamed4766(core.List o) { +void checkUnnamed4810(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameter(o[0]); checkSystemParameter(o[1]); @@ -3761,7 +3766,7 @@ api.SystemParameterRule buildSystemParameterRule() { final o = api.SystemParameterRule(); buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - o.parameters = buildUnnamed4766(); + o.parameters = buildUnnamed4810(); o.selector = 'foo'; } buildCounterSystemParameterRule--; @@ -3771,7 +3776,7 @@ api.SystemParameterRule buildSystemParameterRule() { void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - checkUnnamed4766(o.parameters!); + checkUnnamed4810(o.parameters!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -3780,12 +3785,12 @@ void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule--; } -core.List buildUnnamed4767() => [ +core.List buildUnnamed4811() => [ buildSystemParameterRule(), buildSystemParameterRule(), ]; -void checkUnnamed4767(core.List o) { +void checkUnnamed4811(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameterRule(o[0]); checkSystemParameterRule(o[1]); @@ -3796,7 +3801,7 @@ api.SystemParameters buildSystemParameters() { final o = api.SystemParameters(); buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - o.rules = buildUnnamed4767(); + o.rules = buildUnnamed4811(); } buildCounterSystemParameters--; return o; @@ -3805,28 +3810,28 @@ api.SystemParameters buildSystemParameters() { void checkSystemParameters(api.SystemParameters o) { buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - checkUnnamed4767(o.rules!); + checkUnnamed4811(o.rules!); } buildCounterSystemParameters--; } -core.List buildUnnamed4768() => [ +core.List buildUnnamed4812() => [ buildField(), buildField(), ]; -void checkUnnamed4768(core.List o) { +void checkUnnamed4812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); } -core.List buildUnnamed4769() => [ +core.List buildUnnamed4813() => [ 'foo', 'foo', ]; -void checkUnnamed4769(core.List o) { +void checkUnnamed4813(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3838,12 +3843,12 @@ void checkUnnamed4769(core.List o) { ); } -core.List buildUnnamed4770() => [ +core.List buildUnnamed4814() => [ buildOption(), buildOption(), ]; -void checkUnnamed4770(core.List o) { +void checkUnnamed4814(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -3854,10 +3859,10 @@ api.Type buildType() { final o = api.Type(); buildCounterType++; if (buildCounterType < 3) { - o.fields = buildUnnamed4768(); + o.fields = buildUnnamed4812(); o.name = 'foo'; - o.oneofs = buildUnnamed4769(); - o.options = buildUnnamed4770(); + o.oneofs = buildUnnamed4813(); + o.options = buildUnnamed4814(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -3868,13 +3873,13 @@ api.Type buildType() { void checkType(api.Type o) { buildCounterType++; if (buildCounterType < 3) { - checkUnnamed4768(o.fields!); + checkUnnamed4812(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4769(o.oneofs!); - checkUnnamed4770(o.options!); + checkUnnamed4813(o.oneofs!); + checkUnnamed4814(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -3949,12 +3954,12 @@ void checkUpdateDnsRecordSetRequest(api.UpdateDnsRecordSetRequest o) { buildCounterUpdateDnsRecordSetRequest--; } -core.List buildUnnamed4771() => [ +core.List buildUnnamed4815() => [ 'foo', 'foo', ]; -void checkUnnamed4771(core.List o) { +void checkUnnamed4815(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3966,12 +3971,12 @@ void checkUnnamed4771(core.List o) { ); } -core.List buildUnnamed4772() => [ +core.List buildUnnamed4816() => [ buildUsageRule(), buildUsageRule(), ]; -void checkUnnamed4772(core.List o) { +void checkUnnamed4816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageRule(o[0]); checkUsageRule(o[1]); @@ -3983,8 +3988,8 @@ api.Usage buildUsage() { buildCounterUsage++; if (buildCounterUsage < 3) { o.producerNotificationChannel = 'foo'; - o.requirements = buildUnnamed4771(); - o.rules = buildUnnamed4772(); + o.requirements = buildUnnamed4815(); + o.rules = buildUnnamed4816(); } buildCounterUsage--; return o; @@ -3997,8 +4002,8 @@ void checkUsage(api.Usage o) { o.producerNotificationChannel!, unittest.equals('foo'), ); - checkUnnamed4771(o.requirements!); - checkUnnamed4772(o.rules!); + checkUnnamed4815(o.requirements!); + checkUnnamed4816(o.rules!); } buildCounterUsage--; } @@ -4057,12 +4062,12 @@ void checkValidateConsumerConfigRequest(api.ValidateConsumerConfigRequest o) { buildCounterValidateConsumerConfigRequest--; } -core.List buildUnnamed4773() => [ +core.List buildUnnamed4817() => [ buildSubnetwork(), buildSubnetwork(), ]; -void checkUnnamed4773(core.List o) { +void checkUnnamed4817(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubnetwork(o[0]); checkSubnetwork(o[1]); @@ -4073,7 +4078,7 @@ api.ValidateConsumerConfigResponse buildValidateConsumerConfigResponse() { final o = api.ValidateConsumerConfigResponse(); buildCounterValidateConsumerConfigResponse++; if (buildCounterValidateConsumerConfigResponse < 3) { - o.existingSubnetworkCandidates = buildUnnamed4773(); + o.existingSubnetworkCandidates = buildUnnamed4817(); o.isValid = true; o.validationError = 'foo'; } @@ -4084,7 +4089,7 @@ api.ValidateConsumerConfigResponse buildValidateConsumerConfigResponse() { void checkValidateConsumerConfigResponse(api.ValidateConsumerConfigResponse o) { buildCounterValidateConsumerConfigResponse++; if (buildCounterValidateConsumerConfigResponse < 3) { - checkUnnamed4773(o.existingSubnetworkCandidates!); + checkUnnamed4817(o.existingSubnetworkCandidates!); unittest.expect(o.isValid!, unittest.isTrue); unittest.expect( o.validationError!, diff --git a/generated/googleapis/test/serviceusage/v1_test.dart b/generated/googleapis/test/serviceusage/v1_test.dart index 1944f6e81..91f5f4573 100644 --- a/generated/googleapis/test/serviceusage/v1_test.dart +++ b/generated/googleapis/test/serviceusage/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed259() => { +core.Map buildUnnamed261() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed259(core.Map o) { +void checkUnnamed261(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -49,7 +49,7 @@ api.AdminQuotaPolicy buildAdminQuotaPolicy() { buildCounterAdminQuotaPolicy++; if (buildCounterAdminQuotaPolicy < 3) { o.container = 'foo'; - o.dimensions = buildUnnamed259(); + o.dimensions = buildUnnamed261(); o.metric = 'foo'; o.name = 'foo'; o.policyValue = 'foo'; @@ -66,7 +66,7 @@ void checkAdminQuotaPolicy(api.AdminQuotaPolicy o) { o.container!, unittest.equals('foo'), ); - checkUnnamed259(o.dimensions!); + checkUnnamed261(o.dimensions!); unittest.expect( o.metric!, unittest.equals('foo'), @@ -87,34 +87,34 @@ void checkAdminQuotaPolicy(api.AdminQuotaPolicy o) { buildCounterAdminQuotaPolicy--; } -core.List buildUnnamed260() => [ +core.List buildUnnamed262() => [ buildMethod(), buildMethod(), ]; -void checkUnnamed260(core.List o) { +void checkUnnamed262(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMethod(o[0]); checkMethod(o[1]); } -core.List buildUnnamed261() => [ +core.List buildUnnamed263() => [ buildMixin(), buildMixin(), ]; -void checkUnnamed261(core.List o) { +void checkUnnamed263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMixin(o[0]); checkMixin(o[1]); } -core.List buildUnnamed262() => [ +core.List buildUnnamed264() => [ buildOption(), buildOption(), ]; -void checkUnnamed262(core.List o) { +void checkUnnamed264(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -125,10 +125,10 @@ api.Api buildApi() { final o = api.Api(); buildCounterApi++; if (buildCounterApi < 3) { - o.methods = buildUnnamed260(); - o.mixins = buildUnnamed261(); + o.methods = buildUnnamed262(); + o.mixins = buildUnnamed263(); o.name = 'foo'; - o.options = buildUnnamed262(); + o.options = buildUnnamed264(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; o.version = 'foo'; @@ -140,13 +140,13 @@ api.Api buildApi() { void checkApi(api.Api o) { buildCounterApi++; if (buildCounterApi < 3) { - checkUnnamed260(o.methods!); - checkUnnamed261(o.mixins!); + checkUnnamed262(o.methods!); + checkUnnamed263(o.mixins!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed262(o.options!); + checkUnnamed264(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -160,12 +160,12 @@ void checkApi(api.Api o) { buildCounterApi--; } -core.List buildUnnamed263() => [ +core.List buildUnnamed265() => [ buildJwtLocation(), buildJwtLocation(), ]; -void checkUnnamed263(core.List o) { +void checkUnnamed265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwtLocation(o[0]); checkJwtLocation(o[1]); @@ -181,7 +181,7 @@ api.AuthProvider buildAuthProvider() { o.id = 'foo'; o.issuer = 'foo'; o.jwksUri = 'foo'; - o.jwtLocations = buildUnnamed263(); + o.jwtLocations = buildUnnamed265(); } buildCounterAuthProvider--; return o; @@ -210,7 +210,7 @@ void checkAuthProvider(api.AuthProvider o) { o.jwksUri!, unittest.equals('foo'), ); - checkUnnamed263(o.jwtLocations!); + checkUnnamed265(o.jwtLocations!); } buildCounterAuthProvider--; } @@ -242,23 +242,23 @@ void checkAuthRequirement(api.AuthRequirement o) { buildCounterAuthRequirement--; } -core.List buildUnnamed264() => [ +core.List buildUnnamed266() => [ buildAuthProvider(), buildAuthProvider(), ]; -void checkUnnamed264(core.List o) { +void checkUnnamed266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthProvider(o[0]); checkAuthProvider(o[1]); } -core.List buildUnnamed265() => [ +core.List buildUnnamed267() => [ buildAuthenticationRule(), buildAuthenticationRule(), ]; -void checkUnnamed265(core.List o) { +void checkUnnamed267(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthenticationRule(o[0]); checkAuthenticationRule(o[1]); @@ -269,8 +269,8 @@ api.Authentication buildAuthentication() { final o = api.Authentication(); buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - o.providers = buildUnnamed264(); - o.rules = buildUnnamed265(); + o.providers = buildUnnamed266(); + o.rules = buildUnnamed267(); } buildCounterAuthentication--; return o; @@ -279,18 +279,18 @@ api.Authentication buildAuthentication() { void checkAuthentication(api.Authentication o) { buildCounterAuthentication++; if (buildCounterAuthentication < 3) { - checkUnnamed264(o.providers!); - checkUnnamed265(o.rules!); + checkUnnamed266(o.providers!); + checkUnnamed267(o.rules!); } buildCounterAuthentication--; } -core.List buildUnnamed266() => [ +core.List buildUnnamed268() => [ buildAuthRequirement(), buildAuthRequirement(), ]; -void checkUnnamed266(core.List o) { +void checkUnnamed268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthRequirement(o[0]); checkAuthRequirement(o[1]); @@ -303,7 +303,7 @@ api.AuthenticationRule buildAuthenticationRule() { if (buildCounterAuthenticationRule < 3) { o.allowWithoutCredential = true; o.oauth = buildOAuthRequirements(); - o.requirements = buildUnnamed266(); + o.requirements = buildUnnamed268(); o.selector = 'foo'; } buildCounterAuthenticationRule--; @@ -315,7 +315,7 @@ void checkAuthenticationRule(api.AuthenticationRule o) { if (buildCounterAuthenticationRule < 3) { unittest.expect(o.allowWithoutCredential!, unittest.isTrue); checkOAuthRequirements(o.oauth!); - checkUnnamed266(o.requirements!); + checkUnnamed268(o.requirements!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -324,12 +324,12 @@ void checkAuthenticationRule(api.AuthenticationRule o) { buildCounterAuthenticationRule--; } -core.List buildUnnamed267() => [ +core.List buildUnnamed269() => [ buildBackendRule(), buildBackendRule(), ]; -void checkUnnamed267(core.List o) { +void checkUnnamed269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackendRule(o[0]); checkBackendRule(o[1]); @@ -340,7 +340,7 @@ api.Backend buildBackend() { final o = api.Backend(); buildCounterBackend++; if (buildCounterBackend < 3) { - o.rules = buildUnnamed267(); + o.rules = buildUnnamed269(); } buildCounterBackend--; return o; @@ -349,7 +349,7 @@ api.Backend buildBackend() { void checkBackend(api.Backend o) { buildCounterBackend++; if (buildCounterBackend < 3) { - checkUnnamed267(o.rules!); + checkUnnamed269(o.rules!); } buildCounterBackend--; } @@ -408,12 +408,12 @@ void checkBackendRule(api.BackendRule o) { buildCounterBackendRule--; } -core.List buildUnnamed268() => [ +core.List buildUnnamed270() => [ buildQuotaOverride(), buildQuotaOverride(), ]; -void checkUnnamed268(core.List o) { +void checkUnnamed270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaOverride(o[0]); checkQuotaOverride(o[1]); @@ -424,7 +424,7 @@ api.BatchCreateAdminOverridesResponse buildBatchCreateAdminOverridesResponse() { final o = api.BatchCreateAdminOverridesResponse(); buildCounterBatchCreateAdminOverridesResponse++; if (buildCounterBatchCreateAdminOverridesResponse < 3) { - o.overrides = buildUnnamed268(); + o.overrides = buildUnnamed270(); } buildCounterBatchCreateAdminOverridesResponse--; return o; @@ -434,17 +434,17 @@ void checkBatchCreateAdminOverridesResponse( api.BatchCreateAdminOverridesResponse o) { buildCounterBatchCreateAdminOverridesResponse++; if (buildCounterBatchCreateAdminOverridesResponse < 3) { - checkUnnamed268(o.overrides!); + checkUnnamed270(o.overrides!); } buildCounterBatchCreateAdminOverridesResponse--; } -core.List buildUnnamed269() => [ +core.List buildUnnamed271() => [ buildQuotaOverride(), buildQuotaOverride(), ]; -void checkUnnamed269(core.List o) { +void checkUnnamed271(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaOverride(o[0]); checkQuotaOverride(o[1]); @@ -456,7 +456,7 @@ api.BatchCreateConsumerOverridesResponse final o = api.BatchCreateConsumerOverridesResponse(); buildCounterBatchCreateConsumerOverridesResponse++; if (buildCounterBatchCreateConsumerOverridesResponse < 3) { - o.overrides = buildUnnamed269(); + o.overrides = buildUnnamed271(); } buildCounterBatchCreateConsumerOverridesResponse--; return o; @@ -466,17 +466,17 @@ void checkBatchCreateConsumerOverridesResponse( api.BatchCreateConsumerOverridesResponse o) { buildCounterBatchCreateConsumerOverridesResponse++; if (buildCounterBatchCreateConsumerOverridesResponse < 3) { - checkUnnamed269(o.overrides!); + checkUnnamed271(o.overrides!); } buildCounterBatchCreateConsumerOverridesResponse--; } -core.List buildUnnamed270() => [ +core.List buildUnnamed272() => [ 'foo', 'foo', ]; -void checkUnnamed270(core.List o) { +void checkUnnamed272(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -493,7 +493,7 @@ api.BatchEnableServicesRequest buildBatchEnableServicesRequest() { final o = api.BatchEnableServicesRequest(); buildCounterBatchEnableServicesRequest++; if (buildCounterBatchEnableServicesRequest < 3) { - o.serviceIds = buildUnnamed270(); + o.serviceIds = buildUnnamed272(); } buildCounterBatchEnableServicesRequest--; return o; @@ -502,28 +502,28 @@ api.BatchEnableServicesRequest buildBatchEnableServicesRequest() { void checkBatchEnableServicesRequest(api.BatchEnableServicesRequest o) { buildCounterBatchEnableServicesRequest++; if (buildCounterBatchEnableServicesRequest < 3) { - checkUnnamed270(o.serviceIds!); + checkUnnamed272(o.serviceIds!); } buildCounterBatchEnableServicesRequest--; } -core.List buildUnnamed271() => [ +core.List buildUnnamed273() => [ buildEnableFailure(), buildEnableFailure(), ]; -void checkUnnamed271(core.List o) { +void checkUnnamed273(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnableFailure(o[0]); checkEnableFailure(o[1]); } -core.List buildUnnamed272() => [ +core.List buildUnnamed274() => [ buildGoogleApiServiceusageV1Service(), buildGoogleApiServiceusageV1Service(), ]; -void checkUnnamed272(core.List o) { +void checkUnnamed274(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleApiServiceusageV1Service(o[0]); checkGoogleApiServiceusageV1Service(o[1]); @@ -534,8 +534,8 @@ api.BatchEnableServicesResponse buildBatchEnableServicesResponse() { final o = api.BatchEnableServicesResponse(); buildCounterBatchEnableServicesResponse++; if (buildCounterBatchEnableServicesResponse < 3) { - o.failures = buildUnnamed271(); - o.services = buildUnnamed272(); + o.failures = buildUnnamed273(); + o.services = buildUnnamed274(); } buildCounterBatchEnableServicesResponse--; return o; @@ -544,18 +544,18 @@ api.BatchEnableServicesResponse buildBatchEnableServicesResponse() { void checkBatchEnableServicesResponse(api.BatchEnableServicesResponse o) { buildCounterBatchEnableServicesResponse++; if (buildCounterBatchEnableServicesResponse < 3) { - checkUnnamed271(o.failures!); - checkUnnamed272(o.services!); + checkUnnamed273(o.failures!); + checkUnnamed274(o.services!); } buildCounterBatchEnableServicesResponse--; } -core.List buildUnnamed273() => [ +core.List buildUnnamed275() => [ buildGoogleApiServiceusageV1Service(), buildGoogleApiServiceusageV1Service(), ]; -void checkUnnamed273(core.List o) { +void checkUnnamed275(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleApiServiceusageV1Service(o[0]); checkGoogleApiServiceusageV1Service(o[1]); @@ -566,7 +566,7 @@ api.BatchGetServicesResponse buildBatchGetServicesResponse() { final o = api.BatchGetServicesResponse(); buildCounterBatchGetServicesResponse++; if (buildCounterBatchGetServicesResponse < 3) { - o.services = buildUnnamed273(); + o.services = buildUnnamed275(); } buildCounterBatchGetServicesResponse--; return o; @@ -575,17 +575,17 @@ api.BatchGetServicesResponse buildBatchGetServicesResponse() { void checkBatchGetServicesResponse(api.BatchGetServicesResponse o) { buildCounterBatchGetServicesResponse++; if (buildCounterBatchGetServicesResponse < 3) { - checkUnnamed273(o.services!); + checkUnnamed275(o.services!); } buildCounterBatchGetServicesResponse--; } -core.List buildUnnamed274() => [ +core.List buildUnnamed276() => [ buildBillingDestination(), buildBillingDestination(), ]; -void checkUnnamed274(core.List o) { +void checkUnnamed276(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBillingDestination(o[0]); checkBillingDestination(o[1]); @@ -596,7 +596,7 @@ api.Billing buildBilling() { final o = api.Billing(); buildCounterBilling++; if (buildCounterBilling < 3) { - o.consumerDestinations = buildUnnamed274(); + o.consumerDestinations = buildUnnamed276(); } buildCounterBilling--; return o; @@ -605,17 +605,17 @@ api.Billing buildBilling() { void checkBilling(api.Billing o) { buildCounterBilling++; if (buildCounterBilling < 3) { - checkUnnamed274(o.consumerDestinations!); + checkUnnamed276(o.consumerDestinations!); } buildCounterBilling--; } -core.List buildUnnamed275() => [ +core.List buildUnnamed277() => [ 'foo', 'foo', ]; -void checkUnnamed275(core.List o) { +void checkUnnamed277(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -632,7 +632,7 @@ api.BillingDestination buildBillingDestination() { final o = api.BillingDestination(); buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - o.metrics = buildUnnamed275(); + o.metrics = buildUnnamed277(); o.monitoredResource = 'foo'; } buildCounterBillingDestination--; @@ -642,7 +642,7 @@ api.BillingDestination buildBillingDestination() { void checkBillingDestination(api.BillingDestination o) { buildCounterBillingDestination++; if (buildCounterBillingDestination < 3) { - checkUnnamed275(o.metrics!); + checkUnnamed277(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -666,12 +666,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.List buildUnnamed276() => [ +core.List buildUnnamed278() => [ buildContextRule(), buildContextRule(), ]; -void checkUnnamed276(core.List o) { +void checkUnnamed278(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextRule(o[0]); checkContextRule(o[1]); @@ -682,7 +682,7 @@ api.Context buildContext() { final o = api.Context(); buildCounterContext++; if (buildCounterContext < 3) { - o.rules = buildUnnamed276(); + o.rules = buildUnnamed278(); } buildCounterContext--; return o; @@ -691,17 +691,17 @@ api.Context buildContext() { void checkContext(api.Context o) { buildCounterContext++; if (buildCounterContext < 3) { - checkUnnamed276(o.rules!); + checkUnnamed278(o.rules!); } buildCounterContext--; } -core.List buildUnnamed277() => [ +core.List buildUnnamed279() => [ 'foo', 'foo', ]; -void checkUnnamed277(core.List o) { +void checkUnnamed279(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -713,12 +713,12 @@ void checkUnnamed277(core.List o) { ); } -core.List buildUnnamed278() => [ +core.List buildUnnamed280() => [ 'foo', 'foo', ]; -void checkUnnamed278(core.List o) { +void checkUnnamed280(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -730,12 +730,12 @@ void checkUnnamed278(core.List o) { ); } -core.List buildUnnamed279() => [ +core.List buildUnnamed281() => [ 'foo', 'foo', ]; -void checkUnnamed279(core.List o) { +void checkUnnamed281(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -747,12 +747,12 @@ void checkUnnamed279(core.List o) { ); } -core.List buildUnnamed280() => [ +core.List buildUnnamed282() => [ 'foo', 'foo', ]; -void checkUnnamed280(core.List o) { +void checkUnnamed282(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -769,10 +769,10 @@ api.ContextRule buildContextRule() { final o = api.ContextRule(); buildCounterContextRule++; if (buildCounterContextRule < 3) { - o.allowedRequestExtensions = buildUnnamed277(); - o.allowedResponseExtensions = buildUnnamed278(); - o.provided = buildUnnamed279(); - o.requested = buildUnnamed280(); + o.allowedRequestExtensions = buildUnnamed279(); + o.allowedResponseExtensions = buildUnnamed280(); + o.provided = buildUnnamed281(); + o.requested = buildUnnamed282(); o.selector = 'foo'; } buildCounterContextRule--; @@ -782,10 +782,10 @@ api.ContextRule buildContextRule() { void checkContextRule(api.ContextRule o) { buildCounterContextRule++; if (buildCounterContextRule < 3) { - checkUnnamed277(o.allowedRequestExtensions!); - checkUnnamed278(o.allowedResponseExtensions!); - checkUnnamed279(o.provided!); - checkUnnamed280(o.requested!); + checkUnnamed279(o.allowedRequestExtensions!); + checkUnnamed280(o.allowedResponseExtensions!); + checkUnnamed281(o.provided!); + checkUnnamed282(o.requested!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -831,23 +831,23 @@ void checkCreateAdminQuotaPolicyMetadata(api.CreateAdminQuotaPolicyMetadata o) { buildCounterCreateAdminQuotaPolicyMetadata--; } -core.List buildUnnamed281() => [ +core.List buildUnnamed283() => [ buildCustomErrorRule(), buildCustomErrorRule(), ]; -void checkUnnamed281(core.List o) { +void checkUnnamed283(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomErrorRule(o[0]); checkCustomErrorRule(o[1]); } -core.List buildUnnamed282() => [ +core.List buildUnnamed284() => [ 'foo', 'foo', ]; -void checkUnnamed282(core.List o) { +void checkUnnamed284(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -864,8 +864,8 @@ api.CustomError buildCustomError() { final o = api.CustomError(); buildCounterCustomError++; if (buildCounterCustomError < 3) { - o.rules = buildUnnamed281(); - o.types = buildUnnamed282(); + o.rules = buildUnnamed283(); + o.types = buildUnnamed284(); } buildCounterCustomError--; return o; @@ -874,8 +874,8 @@ api.CustomError buildCustomError() { void checkCustomError(api.CustomError o) { buildCounterCustomError++; if (buildCounterCustomError < 3) { - checkUnnamed281(o.rules!); - checkUnnamed282(o.types!); + checkUnnamed283(o.rules!); + checkUnnamed284(o.types!); } buildCounterCustomError--; } @@ -989,23 +989,23 @@ void checkDisableServiceResponse(api.DisableServiceResponse o) { buildCounterDisableServiceResponse--; } -core.List buildUnnamed283() => [ +core.List buildUnnamed285() => [ buildPage(), buildPage(), ]; -void checkUnnamed283(core.List o) { +void checkUnnamed285(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); } -core.List buildUnnamed284() => [ +core.List buildUnnamed286() => [ buildDocumentationRule(), buildDocumentationRule(), ]; -void checkUnnamed284(core.List o) { +void checkUnnamed286(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDocumentationRule(o[0]); checkDocumentationRule(o[1]); @@ -1018,8 +1018,8 @@ api.Documentation buildDocumentation() { if (buildCounterDocumentation < 3) { o.documentationRootUrl = 'foo'; o.overview = 'foo'; - o.pages = buildUnnamed283(); - o.rules = buildUnnamed284(); + o.pages = buildUnnamed285(); + o.rules = buildUnnamed286(); o.serviceRootUrl = 'foo'; o.summary = 'foo'; } @@ -1038,8 +1038,8 @@ void checkDocumentation(api.Documentation o) { o.overview!, unittest.equals('foo'), ); - checkUnnamed283(o.pages!); - checkUnnamed284(o.rules!); + checkUnnamed285(o.pages!); + checkUnnamed286(o.rules!); unittest.expect( o.serviceRootUrl!, unittest.equals('foo'), @@ -1189,23 +1189,23 @@ void checkEndpoint(api.Endpoint o) { buildCounterEndpoint--; } -core.List buildUnnamed285() => [ +core.List buildUnnamed287() => [ buildEnumValue(), buildEnumValue(), ]; -void checkUnnamed285(core.List o) { +void checkUnnamed287(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnumValue(o[0]); checkEnumValue(o[1]); } -core.List buildUnnamed286() => [ +core.List buildUnnamed288() => [ buildOption(), buildOption(), ]; -void checkUnnamed286(core.List o) { +void checkUnnamed288(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1216,9 +1216,9 @@ api.Enum buildEnum() { final o = api.Enum(); buildCounterEnum++; if (buildCounterEnum < 3) { - o.enumvalue = buildUnnamed285(); + o.enumvalue = buildUnnamed287(); o.name = 'foo'; - o.options = buildUnnamed286(); + o.options = buildUnnamed288(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -1229,12 +1229,12 @@ api.Enum buildEnum() { void checkEnum(api.Enum o) { buildCounterEnum++; if (buildCounterEnum < 3) { - checkUnnamed285(o.enumvalue!); + checkUnnamed287(o.enumvalue!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed286(o.options!); + checkUnnamed288(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -1244,12 +1244,12 @@ void checkEnum(api.Enum o) { buildCounterEnum--; } -core.List buildUnnamed287() => [ +core.List buildUnnamed289() => [ buildOption(), buildOption(), ]; -void checkUnnamed287(core.List o) { +void checkUnnamed289(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1262,7 +1262,7 @@ api.EnumValue buildEnumValue() { if (buildCounterEnumValue < 3) { o.name = 'foo'; o.number = 42; - o.options = buildUnnamed287(); + o.options = buildUnnamed289(); } buildCounterEnumValue--; return o; @@ -1279,17 +1279,17 @@ void checkEnumValue(api.EnumValue o) { o.number!, unittest.equals(42), ); - checkUnnamed287(o.options!); + checkUnnamed289(o.options!); } buildCounterEnumValue--; } -core.List buildUnnamed288() => [ +core.List buildUnnamed290() => [ buildOption(), buildOption(), ]; -void checkUnnamed288(core.List o) { +void checkUnnamed290(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -1307,7 +1307,7 @@ api.Field buildField() { o.name = 'foo'; o.number = 42; o.oneofIndex = 42; - o.options = buildUnnamed288(); + o.options = buildUnnamed290(); o.packed = true; o.typeUrl = 'foo'; } @@ -1346,7 +1346,7 @@ void checkField(api.Field o) { o.oneofIndex!, unittest.equals(42), ); - checkUnnamed288(o.options!); + checkUnnamed290(o.options!); unittest.expect(o.packed!, unittest.isTrue); unittest.expect( o.typeUrl!, @@ -1395,89 +1395,89 @@ void checkGetServiceIdentityResponse(api.GetServiceIdentityResponse o) { buildCounterGetServiceIdentityResponse--; } -core.List buildUnnamed289() => [ +core.List buildUnnamed291() => [ buildApi(), buildApi(), ]; -void checkUnnamed289(core.List o) { +void checkUnnamed291(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApi(o[0]); checkApi(o[1]); } -core.List buildUnnamed290() => [ +core.List buildUnnamed292() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed290(core.List o) { +void checkUnnamed292(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); } -core.List buildUnnamed291() => [ +core.List buildUnnamed293() => [ buildEnum(), buildEnum(), ]; -void checkUnnamed291(core.List o) { +void checkUnnamed293(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnum(o[0]); checkEnum(o[1]); } -core.List buildUnnamed292() => [ +core.List buildUnnamed294() => [ buildLogDescriptor(), buildLogDescriptor(), ]; -void checkUnnamed292(core.List o) { +void checkUnnamed294(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogDescriptor(o[0]); checkLogDescriptor(o[1]); } -core.List buildUnnamed293() => [ +core.List buildUnnamed295() => [ buildMetricDescriptor(), buildMetricDescriptor(), ]; -void checkUnnamed293(core.List o) { +void checkUnnamed295(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricDescriptor(o[0]); checkMetricDescriptor(o[1]); } -core.List buildUnnamed294() => [ +core.List buildUnnamed296() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed294(core.List o) { +void checkUnnamed296(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); } -core.List buildUnnamed295() => [ +core.List buildUnnamed297() => [ buildType(), buildType(), ]; -void checkUnnamed295(core.List o) { +void checkUnnamed297(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); } -core.List buildUnnamed296() => [ +core.List buildUnnamed298() => [ buildType(), buildType(), ]; -void checkUnnamed296(core.List o) { +void checkUnnamed298(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkType(o[0]); checkType(o[1]); @@ -1488,7 +1488,7 @@ api.GoogleApiService buildGoogleApiService() { final o = api.GoogleApiService(); buildCounterGoogleApiService++; if (buildCounterGoogleApiService < 3) { - o.apis = buildUnnamed289(); + o.apis = buildUnnamed291(); o.authentication = buildAuthentication(); o.backend = buildBackend(); o.billing = buildBilling(); @@ -1497,23 +1497,23 @@ api.GoogleApiService buildGoogleApiService() { o.control = buildControl(); o.customError = buildCustomError(); o.documentation = buildDocumentation(); - o.endpoints = buildUnnamed290(); - o.enums = buildUnnamed291(); + o.endpoints = buildUnnamed292(); + o.enums = buildUnnamed293(); o.http = buildHttp(); o.id = 'foo'; o.logging = buildLogging(); - o.logs = buildUnnamed292(); - o.metrics = buildUnnamed293(); - o.monitoredResources = buildUnnamed294(); + o.logs = buildUnnamed294(); + o.metrics = buildUnnamed295(); + o.monitoredResources = buildUnnamed296(); o.monitoring = buildMonitoring(); o.name = 'foo'; o.producerProjectId = 'foo'; o.quota = buildQuota(); o.sourceInfo = buildSourceInfo(); o.systemParameters = buildSystemParameters(); - o.systemTypes = buildUnnamed295(); + o.systemTypes = buildUnnamed297(); o.title = 'foo'; - o.types = buildUnnamed296(); + o.types = buildUnnamed298(); o.usage = buildUsage(); } buildCounterGoogleApiService--; @@ -1523,7 +1523,7 @@ api.GoogleApiService buildGoogleApiService() { void checkGoogleApiService(api.GoogleApiService o) { buildCounterGoogleApiService++; if (buildCounterGoogleApiService < 3) { - checkUnnamed289(o.apis!); + checkUnnamed291(o.apis!); checkAuthentication(o.authentication!); checkBackend(o.backend!); checkBilling(o.billing!); @@ -1535,17 +1535,17 @@ void checkGoogleApiService(api.GoogleApiService o) { checkControl(o.control!); checkCustomError(o.customError!); checkDocumentation(o.documentation!); - checkUnnamed290(o.endpoints!); - checkUnnamed291(o.enums!); + checkUnnamed292(o.endpoints!); + checkUnnamed293(o.enums!); checkHttp(o.http!); unittest.expect( o.id!, unittest.equals('foo'), ); checkLogging(o.logging!); - checkUnnamed292(o.logs!); - checkUnnamed293(o.metrics!); - checkUnnamed294(o.monitoredResources!); + checkUnnamed294(o.logs!); + checkUnnamed295(o.metrics!); + checkUnnamed296(o.monitoredResources!); checkMonitoring(o.monitoring!); unittest.expect( o.name!, @@ -1558,23 +1558,23 @@ void checkGoogleApiService(api.GoogleApiService o) { checkQuota(o.quota!); checkSourceInfo(o.sourceInfo!); checkSystemParameters(o.systemParameters!); - checkUnnamed295(o.systemTypes!); + checkUnnamed297(o.systemTypes!); unittest.expect( o.title!, unittest.equals('foo'), ); - checkUnnamed296(o.types!); + checkUnnamed298(o.types!); checkUsage(o.usage!); } buildCounterGoogleApiService--; } -core.List buildUnnamed297() => [ +core.List buildUnnamed299() => [ 'foo', 'foo', ]; -void checkUnnamed297(core.List o) { +void checkUnnamed299(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1592,7 +1592,7 @@ api.GoogleApiServiceusageV1OperationMetadata final o = api.GoogleApiServiceusageV1OperationMetadata(); buildCounterGoogleApiServiceusageV1OperationMetadata++; if (buildCounterGoogleApiServiceusageV1OperationMetadata < 3) { - o.resourceNames = buildUnnamed297(); + o.resourceNames = buildUnnamed299(); } buildCounterGoogleApiServiceusageV1OperationMetadata--; return o; @@ -1602,7 +1602,7 @@ void checkGoogleApiServiceusageV1OperationMetadata( api.GoogleApiServiceusageV1OperationMetadata o) { buildCounterGoogleApiServiceusageV1OperationMetadata++; if (buildCounterGoogleApiServiceusageV1OperationMetadata < 3) { - checkUnnamed297(o.resourceNames!); + checkUnnamed299(o.resourceNames!); } buildCounterGoogleApiServiceusageV1OperationMetadata--; } @@ -1641,34 +1641,34 @@ void checkGoogleApiServiceusageV1Service(api.GoogleApiServiceusageV1Service o) { buildCounterGoogleApiServiceusageV1Service--; } -core.List buildUnnamed298() => [ +core.List buildUnnamed300() => [ buildApi(), buildApi(), ]; -void checkUnnamed298(core.List o) { +void checkUnnamed300(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApi(o[0]); checkApi(o[1]); } -core.List buildUnnamed299() => [ +core.List buildUnnamed301() => [ buildEndpoint(), buildEndpoint(), ]; -void checkUnnamed299(core.List o) { +void checkUnnamed301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpoint(o[0]); checkEndpoint(o[1]); } -core.List buildUnnamed300() => [ +core.List buildUnnamed302() => [ buildMonitoredResourceDescriptor(), buildMonitoredResourceDescriptor(), ]; -void checkUnnamed300(core.List o) { +void checkUnnamed302(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoredResourceDescriptor(o[0]); checkMonitoredResourceDescriptor(o[1]); @@ -1680,11 +1680,11 @@ api.GoogleApiServiceusageV1ServiceConfig final o = api.GoogleApiServiceusageV1ServiceConfig(); buildCounterGoogleApiServiceusageV1ServiceConfig++; if (buildCounterGoogleApiServiceusageV1ServiceConfig < 3) { - o.apis = buildUnnamed298(); + o.apis = buildUnnamed300(); o.authentication = buildAuthentication(); o.documentation = buildDocumentation(); - o.endpoints = buildUnnamed299(); - o.monitoredResources = buildUnnamed300(); + o.endpoints = buildUnnamed301(); + o.monitoredResources = buildUnnamed302(); o.monitoring = buildMonitoring(); o.name = 'foo'; o.quota = buildQuota(); @@ -1699,11 +1699,11 @@ void checkGoogleApiServiceusageV1ServiceConfig( api.GoogleApiServiceusageV1ServiceConfig o) { buildCounterGoogleApiServiceusageV1ServiceConfig++; if (buildCounterGoogleApiServiceusageV1ServiceConfig < 3) { - checkUnnamed298(o.apis!); + checkUnnamed300(o.apis!); checkAuthentication(o.authentication!); checkDocumentation(o.documentation!); - checkUnnamed299(o.endpoints!); - checkUnnamed300(o.monitoredResources!); + checkUnnamed301(o.endpoints!); + checkUnnamed302(o.monitoredResources!); checkMonitoring(o.monitoring!); unittest.expect( o.name!, @@ -1774,12 +1774,12 @@ void checkGoogleApiServiceusageV1beta1ServiceIdentity( buildCounterGoogleApiServiceusageV1beta1ServiceIdentity--; } -core.List buildUnnamed301() => [ +core.List buildUnnamed303() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed301(core.List o) { +void checkUnnamed303(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1791,7 +1791,7 @@ api.Http buildHttp() { buildCounterHttp++; if (buildCounterHttp < 3) { o.fullyDecodeReservedExpansion = true; - o.rules = buildUnnamed301(); + o.rules = buildUnnamed303(); } buildCounterHttp--; return o; @@ -1801,17 +1801,17 @@ void checkHttp(api.Http o) { buildCounterHttp++; if (buildCounterHttp < 3) { unittest.expect(o.fullyDecodeReservedExpansion!, unittest.isTrue); - checkUnnamed301(o.rules!); + checkUnnamed303(o.rules!); } buildCounterHttp--; } -core.List buildUnnamed302() => [ +core.List buildUnnamed304() => [ buildHttpRule(), buildHttpRule(), ]; -void checkUnnamed302(core.List o) { +void checkUnnamed304(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRule(o[0]); checkHttpRule(o[1]); @@ -1822,7 +1822,7 @@ api.HttpRule buildHttpRule() { final o = api.HttpRule(); buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - o.additionalBindings = buildUnnamed302(); + o.additionalBindings = buildUnnamed304(); o.body = 'foo'; o.custom = buildCustomHttpPattern(); o.delete = 'foo'; @@ -1840,7 +1840,7 @@ api.HttpRule buildHttpRule() { void checkHttpRule(api.HttpRule o) { buildCounterHttpRule++; if (buildCounterHttpRule < 3) { - checkUnnamed302(o.additionalBindings!); + checkUnnamed304(o.additionalBindings!); unittest.expect( o.body!, unittest.equals('foo'), @@ -1893,12 +1893,12 @@ void checkImportAdminOverridesMetadata(api.ImportAdminOverridesMetadata o) { buildCounterImportAdminOverridesMetadata--; } -core.List buildUnnamed303() => [ +core.List buildUnnamed305() => [ buildQuotaOverride(), buildQuotaOverride(), ]; -void checkUnnamed303(core.List o) { +void checkUnnamed305(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaOverride(o[0]); checkQuotaOverride(o[1]); @@ -1909,7 +1909,7 @@ api.ImportAdminOverridesResponse buildImportAdminOverridesResponse() { final o = api.ImportAdminOverridesResponse(); buildCounterImportAdminOverridesResponse++; if (buildCounterImportAdminOverridesResponse < 3) { - o.overrides = buildUnnamed303(); + o.overrides = buildUnnamed305(); } buildCounterImportAdminOverridesResponse--; return o; @@ -1918,7 +1918,7 @@ api.ImportAdminOverridesResponse buildImportAdminOverridesResponse() { void checkImportAdminOverridesResponse(api.ImportAdminOverridesResponse o) { buildCounterImportAdminOverridesResponse++; if (buildCounterImportAdminOverridesResponse < 3) { - checkUnnamed303(o.overrides!); + checkUnnamed305(o.overrides!); } buildCounterImportAdminOverridesResponse--; } @@ -1939,12 +1939,12 @@ void checkImportAdminQuotaPoliciesMetadata( buildCounterImportAdminQuotaPoliciesMetadata--; } -core.List buildUnnamed304() => [ +core.List buildUnnamed306() => [ buildAdminQuotaPolicy(), buildAdminQuotaPolicy(), ]; -void checkUnnamed304(core.List o) { +void checkUnnamed306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdminQuotaPolicy(o[0]); checkAdminQuotaPolicy(o[1]); @@ -1955,7 +1955,7 @@ api.ImportAdminQuotaPoliciesResponse buildImportAdminQuotaPoliciesResponse() { final o = api.ImportAdminQuotaPoliciesResponse(); buildCounterImportAdminQuotaPoliciesResponse++; if (buildCounterImportAdminQuotaPoliciesResponse < 3) { - o.policies = buildUnnamed304(); + o.policies = buildUnnamed306(); } buildCounterImportAdminQuotaPoliciesResponse--; return o; @@ -1965,7 +1965,7 @@ void checkImportAdminQuotaPoliciesResponse( api.ImportAdminQuotaPoliciesResponse o) { buildCounterImportAdminQuotaPoliciesResponse++; if (buildCounterImportAdminQuotaPoliciesResponse < 3) { - checkUnnamed304(o.policies!); + checkUnnamed306(o.policies!); } buildCounterImportAdminQuotaPoliciesResponse--; } @@ -1986,12 +1986,12 @@ void checkImportConsumerOverridesMetadata( buildCounterImportConsumerOverridesMetadata--; } -core.List buildUnnamed305() => [ +core.List buildUnnamed307() => [ buildQuotaOverride(), buildQuotaOverride(), ]; -void checkUnnamed305(core.List o) { +void checkUnnamed307(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaOverride(o[0]); checkQuotaOverride(o[1]); @@ -2002,7 +2002,7 @@ api.ImportConsumerOverridesResponse buildImportConsumerOverridesResponse() { final o = api.ImportConsumerOverridesResponse(); buildCounterImportConsumerOverridesResponse++; if (buildCounterImportConsumerOverridesResponse < 3) { - o.overrides = buildUnnamed305(); + o.overrides = buildUnnamed307(); } buildCounterImportConsumerOverridesResponse--; return o; @@ -2012,7 +2012,7 @@ void checkImportConsumerOverridesResponse( api.ImportConsumerOverridesResponse o) { buildCounterImportConsumerOverridesResponse++; if (buildCounterImportConsumerOverridesResponse < 3) { - checkUnnamed305(o.overrides!); + checkUnnamed307(o.overrides!); } buildCounterImportConsumerOverridesResponse--; } @@ -2081,12 +2081,12 @@ void checkLabelDescriptor(api.LabelDescriptor o) { buildCounterLabelDescriptor--; } -core.List buildUnnamed306() => [ +core.List buildUnnamed308() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed306(core.List o) { +void checkUnnamed308(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2098,7 +2098,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed306(); + o.operations = buildUnnamed308(); } buildCounterListOperationsResponse--; return o; @@ -2111,17 +2111,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed306(o.operations!); + checkUnnamed308(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed307() => [ +core.List buildUnnamed309() => [ buildGoogleApiServiceusageV1Service(), buildGoogleApiServiceusageV1Service(), ]; -void checkUnnamed307(core.List o) { +void checkUnnamed309(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleApiServiceusageV1Service(o[0]); checkGoogleApiServiceusageV1Service(o[1]); @@ -2133,7 +2133,7 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed307(); + o.services = buildUnnamed309(); } buildCounterListServicesResponse--; return o; @@ -2146,17 +2146,17 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed307(o.services!); + checkUnnamed309(o.services!); } buildCounterListServicesResponse--; } -core.List buildUnnamed308() => [ +core.List buildUnnamed310() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed308(core.List o) { +void checkUnnamed310(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2169,7 +2169,7 @@ api.LogDescriptor buildLogDescriptor() { if (buildCounterLogDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed308(); + o.labels = buildUnnamed310(); o.name = 'foo'; } buildCounterLogDescriptor--; @@ -2187,7 +2187,7 @@ void checkLogDescriptor(api.LogDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed308(o.labels!); + checkUnnamed310(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2196,23 +2196,23 @@ void checkLogDescriptor(api.LogDescriptor o) { buildCounterLogDescriptor--; } -core.List buildUnnamed309() => [ +core.List buildUnnamed311() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed309(core.List o) { +void checkUnnamed311(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); } -core.List buildUnnamed310() => [ +core.List buildUnnamed312() => [ buildLoggingDestination(), buildLoggingDestination(), ]; -void checkUnnamed310(core.List o) { +void checkUnnamed312(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLoggingDestination(o[0]); checkLoggingDestination(o[1]); @@ -2223,8 +2223,8 @@ api.Logging buildLogging() { final o = api.Logging(); buildCounterLogging++; if (buildCounterLogging < 3) { - o.consumerDestinations = buildUnnamed309(); - o.producerDestinations = buildUnnamed310(); + o.consumerDestinations = buildUnnamed311(); + o.producerDestinations = buildUnnamed312(); } buildCounterLogging--; return o; @@ -2233,18 +2233,18 @@ api.Logging buildLogging() { void checkLogging(api.Logging o) { buildCounterLogging++; if (buildCounterLogging < 3) { - checkUnnamed309(o.consumerDestinations!); - checkUnnamed310(o.producerDestinations!); + checkUnnamed311(o.consumerDestinations!); + checkUnnamed312(o.producerDestinations!); } buildCounterLogging--; } -core.List buildUnnamed311() => [ +core.List buildUnnamed313() => [ 'foo', 'foo', ]; -void checkUnnamed311(core.List o) { +void checkUnnamed313(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2261,7 +2261,7 @@ api.LoggingDestination buildLoggingDestination() { final o = api.LoggingDestination(); buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - o.logs = buildUnnamed311(); + o.logs = buildUnnamed313(); o.monitoredResource = 'foo'; } buildCounterLoggingDestination--; @@ -2271,7 +2271,7 @@ api.LoggingDestination buildLoggingDestination() { void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination++; if (buildCounterLoggingDestination < 3) { - checkUnnamed311(o.logs!); + checkUnnamed313(o.logs!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -2280,12 +2280,12 @@ void checkLoggingDestination(api.LoggingDestination o) { buildCounterLoggingDestination--; } -core.List buildUnnamed312() => [ +core.List buildUnnamed314() => [ buildOption(), buildOption(), ]; -void checkUnnamed312(core.List o) { +void checkUnnamed314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -2297,7 +2297,7 @@ api.Method buildMethod() { buildCounterMethod++; if (buildCounterMethod < 3) { o.name = 'foo'; - o.options = buildUnnamed312(); + o.options = buildUnnamed314(); o.requestStreaming = true; o.requestTypeUrl = 'foo'; o.responseStreaming = true; @@ -2315,7 +2315,7 @@ void checkMethod(api.Method o) { o.name!, unittest.equals('foo'), ); - checkUnnamed312(o.options!); + checkUnnamed314(o.options!); unittest.expect(o.requestStreaming!, unittest.isTrue); unittest.expect( o.requestTypeUrl!, @@ -2334,23 +2334,23 @@ void checkMethod(api.Method o) { buildCounterMethod--; } -core.List buildUnnamed313() => [ +core.List buildUnnamed315() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed313(core.List o) { +void checkUnnamed315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); } -core.List buildUnnamed314() => [ +core.List buildUnnamed316() => [ 'foo', 'foo', ]; -void checkUnnamed314(core.List o) { +void checkUnnamed316(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2369,11 +2369,11 @@ api.MetricDescriptor buildMetricDescriptor() { if (buildCounterMetricDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed313(); + o.labels = buildUnnamed315(); o.launchStage = 'foo'; o.metadata = buildMetricDescriptorMetadata(); o.metricKind = 'foo'; - o.monitoredResourceTypes = buildUnnamed314(); + o.monitoredResourceTypes = buildUnnamed316(); o.name = 'foo'; o.type = 'foo'; o.unit = 'foo'; @@ -2394,7 +2394,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed313(o.labels!); + checkUnnamed315(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2404,7 +2404,7 @@ void checkMetricDescriptor(api.MetricDescriptor o) { o.metricKind!, unittest.equals('foo'), ); - checkUnnamed314(o.monitoredResourceTypes!); + checkUnnamed316(o.monitoredResourceTypes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2457,12 +2457,12 @@ void checkMetricDescriptorMetadata(api.MetricDescriptorMetadata o) { buildCounterMetricDescriptorMetadata--; } -core.Map buildUnnamed315() => { +core.Map buildUnnamed317() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed315(core.Map o) { +void checkUnnamed317(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2479,7 +2479,7 @@ api.MetricRule buildMetricRule() { final o = api.MetricRule(); buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - o.metricCosts = buildUnnamed315(); + o.metricCosts = buildUnnamed317(); o.selector = 'foo'; } buildCounterMetricRule--; @@ -2489,7 +2489,7 @@ api.MetricRule buildMetricRule() { void checkMetricRule(api.MetricRule o) { buildCounterMetricRule++; if (buildCounterMetricRule < 3) { - checkUnnamed315(o.metricCosts!); + checkUnnamed317(o.metricCosts!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -2525,12 +2525,12 @@ void checkMixin(api.Mixin o) { buildCounterMixin--; } -core.List buildUnnamed316() => [ +core.List buildUnnamed318() => [ buildLabelDescriptor(), buildLabelDescriptor(), ]; -void checkUnnamed316(core.List o) { +void checkUnnamed318(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabelDescriptor(o[0]); checkLabelDescriptor(o[1]); @@ -2543,7 +2543,7 @@ api.MonitoredResourceDescriptor buildMonitoredResourceDescriptor() { if (buildCounterMonitoredResourceDescriptor < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed316(); + o.labels = buildUnnamed318(); o.launchStage = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -2563,7 +2563,7 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed316(o.labels!); + checkUnnamed318(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -2580,23 +2580,23 @@ void checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { buildCounterMonitoredResourceDescriptor--; } -core.List buildUnnamed317() => [ +core.List buildUnnamed319() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed317(core.List o) { +void checkUnnamed319(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); } -core.List buildUnnamed318() => [ +core.List buildUnnamed320() => [ buildMonitoringDestination(), buildMonitoringDestination(), ]; -void checkUnnamed318(core.List o) { +void checkUnnamed320(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMonitoringDestination(o[0]); checkMonitoringDestination(o[1]); @@ -2607,8 +2607,8 @@ api.Monitoring buildMonitoring() { final o = api.Monitoring(); buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - o.consumerDestinations = buildUnnamed317(); - o.producerDestinations = buildUnnamed318(); + o.consumerDestinations = buildUnnamed319(); + o.producerDestinations = buildUnnamed320(); } buildCounterMonitoring--; return o; @@ -2617,18 +2617,18 @@ api.Monitoring buildMonitoring() { void checkMonitoring(api.Monitoring o) { buildCounterMonitoring++; if (buildCounterMonitoring < 3) { - checkUnnamed317(o.consumerDestinations!); - checkUnnamed318(o.producerDestinations!); + checkUnnamed319(o.consumerDestinations!); + checkUnnamed320(o.producerDestinations!); } buildCounterMonitoring--; } -core.List buildUnnamed319() => [ +core.List buildUnnamed321() => [ 'foo', 'foo', ]; -void checkUnnamed319(core.List o) { +void checkUnnamed321(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2645,7 +2645,7 @@ api.MonitoringDestination buildMonitoringDestination() { final o = api.MonitoringDestination(); buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - o.metrics = buildUnnamed319(); + o.metrics = buildUnnamed321(); o.monitoredResource = 'foo'; } buildCounterMonitoringDestination--; @@ -2655,7 +2655,7 @@ api.MonitoringDestination buildMonitoringDestination() { void checkMonitoringDestination(api.MonitoringDestination o) { buildCounterMonitoringDestination++; if (buildCounterMonitoringDestination < 3) { - checkUnnamed319(o.metrics!); + checkUnnamed321(o.metrics!); unittest.expect( o.monitoredResource!, unittest.equals('foo'), @@ -2686,7 +2686,7 @@ void checkOAuthRequirements(api.OAuthRequirements o) { buildCounterOAuthRequirements--; } -core.Map buildUnnamed320() => { +core.Map buildUnnamed322() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2699,7 +2699,7 @@ core.Map buildUnnamed320() => { }, }; -void checkUnnamed320(core.Map o) { +void checkUnnamed322(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2731,7 +2731,7 @@ void checkUnnamed320(core.Map o) { ); } -core.Map buildUnnamed321() => { +core.Map buildUnnamed323() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2744,7 +2744,7 @@ core.Map buildUnnamed321() => { }, }; -void checkUnnamed321(core.Map o) { +void checkUnnamed323(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2783,9 +2783,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed320(); + o.metadata = buildUnnamed322(); o.name = 'foo'; - o.response = buildUnnamed321(); + o.response = buildUnnamed323(); } buildCounterOperation--; return o; @@ -2796,22 +2796,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed320(o.metadata!); + checkUnnamed322(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed321(o.response!); + checkUnnamed323(o.response!); } buildCounterOperation--; } -core.List buildUnnamed322() => [ +core.List buildUnnamed324() => [ 'foo', 'foo', ]; -void checkUnnamed322(core.List o) { +void checkUnnamed324(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2828,7 +2828,7 @@ api.OperationMetadata buildOperationMetadata() { final o = api.OperationMetadata(); buildCounterOperationMetadata++; if (buildCounterOperationMetadata < 3) { - o.resourceNames = buildUnnamed322(); + o.resourceNames = buildUnnamed324(); } buildCounterOperationMetadata--; return o; @@ -2837,12 +2837,12 @@ api.OperationMetadata buildOperationMetadata() { void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata++; if (buildCounterOperationMetadata < 3) { - checkUnnamed322(o.resourceNames!); + checkUnnamed324(o.resourceNames!); } buildCounterOperationMetadata--; } -core.Map buildUnnamed323() => { +core.Map buildUnnamed325() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2855,7 +2855,7 @@ core.Map buildUnnamed323() => { }, }; -void checkUnnamed323(core.Map o) { +void checkUnnamed325(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2893,7 +2893,7 @@ api.Option buildOption() { buildCounterOption++; if (buildCounterOption < 3) { o.name = 'foo'; - o.value = buildUnnamed323(); + o.value = buildUnnamed325(); } buildCounterOption--; return o; @@ -2906,17 +2906,17 @@ void checkOption(api.Option o) { o.name!, unittest.equals('foo'), ); - checkUnnamed323(o.value!); + checkUnnamed325(o.value!); } buildCounterOption--; } -core.List buildUnnamed324() => [ +core.List buildUnnamed326() => [ buildPage(), buildPage(), ]; -void checkUnnamed324(core.List o) { +void checkUnnamed326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -2929,7 +2929,7 @@ api.Page buildPage() { if (buildCounterPage < 3) { o.content = 'foo'; o.name = 'foo'; - o.subpages = buildUnnamed324(); + o.subpages = buildUnnamed326(); } buildCounterPage--; return o; @@ -2946,28 +2946,28 @@ void checkPage(api.Page o) { o.name!, unittest.equals('foo'), ); - checkUnnamed324(o.subpages!); + checkUnnamed326(o.subpages!); } buildCounterPage--; } -core.List buildUnnamed325() => [ +core.List buildUnnamed327() => [ buildQuotaLimit(), buildQuotaLimit(), ]; -void checkUnnamed325(core.List o) { +void checkUnnamed327(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQuotaLimit(o[0]); checkQuotaLimit(o[1]); } -core.List buildUnnamed326() => [ +core.List buildUnnamed328() => [ buildMetricRule(), buildMetricRule(), ]; -void checkUnnamed326(core.List o) { +void checkUnnamed328(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricRule(o[0]); checkMetricRule(o[1]); @@ -2978,8 +2978,8 @@ api.Quota buildQuota() { final o = api.Quota(); buildCounterQuota++; if (buildCounterQuota < 3) { - o.limits = buildUnnamed325(); - o.metricRules = buildUnnamed326(); + o.limits = buildUnnamed327(); + o.metricRules = buildUnnamed328(); } buildCounterQuota--; return o; @@ -2988,18 +2988,18 @@ api.Quota buildQuota() { void checkQuota(api.Quota o) { buildCounterQuota++; if (buildCounterQuota < 3) { - checkUnnamed325(o.limits!); - checkUnnamed326(o.metricRules!); + checkUnnamed327(o.limits!); + checkUnnamed328(o.metricRules!); } buildCounterQuota--; } -core.Map buildUnnamed327() => { +core.Map buildUnnamed329() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed327(core.Map o) { +void checkUnnamed329(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3025,7 +3025,7 @@ api.QuotaLimit buildQuotaLimit() { o.metric = 'foo'; o.name = 'foo'; o.unit = 'foo'; - o.values = buildUnnamed327(); + o.values = buildUnnamed329(); } buildCounterQuotaLimit--; return o; @@ -3070,17 +3070,17 @@ void checkQuotaLimit(api.QuotaLimit o) { o.unit!, unittest.equals('foo'), ); - checkUnnamed327(o.values!); + checkUnnamed329(o.values!); } buildCounterQuotaLimit--; } -core.Map buildUnnamed328() => { +core.Map buildUnnamed330() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed328(core.Map o) { +void checkUnnamed330(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3098,7 +3098,7 @@ api.QuotaOverride buildQuotaOverride() { buildCounterQuotaOverride++; if (buildCounterQuotaOverride < 3) { o.adminOverrideAncestor = 'foo'; - o.dimensions = buildUnnamed328(); + o.dimensions = buildUnnamed330(); o.metric = 'foo'; o.name = 'foo'; o.overrideValue = 'foo'; @@ -3115,7 +3115,7 @@ void checkQuotaOverride(api.QuotaOverride o) { o.adminOverrideAncestor!, unittest.equals('foo'), ); - checkUnnamed328(o.dimensions!); + checkUnnamed330(o.dimensions!); unittest.expect( o.metric!, unittest.equals('foo'), @@ -3185,7 +3185,7 @@ void checkSourceContext(api.SourceContext o) { buildCounterSourceContext--; } -core.Map buildUnnamed329() => { +core.Map buildUnnamed331() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3198,7 +3198,7 @@ core.Map buildUnnamed329() => { }, }; -void checkUnnamed329(core.Map o) { +void checkUnnamed331(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3230,15 +3230,15 @@ void checkUnnamed329(core.Map o) { ); } -core.List> buildUnnamed330() => [ - buildUnnamed329(), - buildUnnamed329(), +core.List> buildUnnamed332() => [ + buildUnnamed331(), + buildUnnamed331(), ]; -void checkUnnamed330(core.List> o) { +void checkUnnamed332(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed329(o[0]); - checkUnnamed329(o[1]); + checkUnnamed331(o[0]); + checkUnnamed331(o[1]); } core.int buildCounterSourceInfo = 0; @@ -3246,7 +3246,7 @@ api.SourceInfo buildSourceInfo() { final o = api.SourceInfo(); buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - o.sourceFiles = buildUnnamed330(); + o.sourceFiles = buildUnnamed332(); } buildCounterSourceInfo--; return o; @@ -3255,12 +3255,12 @@ api.SourceInfo buildSourceInfo() { void checkSourceInfo(api.SourceInfo o) { buildCounterSourceInfo++; if (buildCounterSourceInfo < 3) { - checkUnnamed330(o.sourceFiles!); + checkUnnamed332(o.sourceFiles!); } buildCounterSourceInfo--; } -core.Map buildUnnamed331() => { +core.Map buildUnnamed333() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3273,7 +3273,7 @@ core.Map buildUnnamed331() => { }, }; -void checkUnnamed331(core.Map o) { +void checkUnnamed333(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3305,15 +3305,15 @@ void checkUnnamed331(core.Map o) { ); } -core.List> buildUnnamed332() => [ - buildUnnamed331(), - buildUnnamed331(), +core.List> buildUnnamed334() => [ + buildUnnamed333(), + buildUnnamed333(), ]; -void checkUnnamed332(core.List> o) { +void checkUnnamed334(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed331(o[0]); - checkUnnamed331(o[1]); + checkUnnamed333(o[0]); + checkUnnamed333(o[1]); } core.int buildCounterStatus = 0; @@ -3322,7 +3322,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed332(); + o.details = buildUnnamed334(); o.message = 'foo'; } buildCounterStatus--; @@ -3336,7 +3336,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed332(o.details!); + checkUnnamed334(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3377,12 +3377,12 @@ void checkSystemParameter(api.SystemParameter o) { buildCounterSystemParameter--; } -core.List buildUnnamed333() => [ +core.List buildUnnamed335() => [ buildSystemParameter(), buildSystemParameter(), ]; -void checkUnnamed333(core.List o) { +void checkUnnamed335(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameter(o[0]); checkSystemParameter(o[1]); @@ -3393,7 +3393,7 @@ api.SystemParameterRule buildSystemParameterRule() { final o = api.SystemParameterRule(); buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - o.parameters = buildUnnamed333(); + o.parameters = buildUnnamed335(); o.selector = 'foo'; } buildCounterSystemParameterRule--; @@ -3403,7 +3403,7 @@ api.SystemParameterRule buildSystemParameterRule() { void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule++; if (buildCounterSystemParameterRule < 3) { - checkUnnamed333(o.parameters!); + checkUnnamed335(o.parameters!); unittest.expect( o.selector!, unittest.equals('foo'), @@ -3412,12 +3412,12 @@ void checkSystemParameterRule(api.SystemParameterRule o) { buildCounterSystemParameterRule--; } -core.List buildUnnamed334() => [ +core.List buildUnnamed336() => [ buildSystemParameterRule(), buildSystemParameterRule(), ]; -void checkUnnamed334(core.List o) { +void checkUnnamed336(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSystemParameterRule(o[0]); checkSystemParameterRule(o[1]); @@ -3428,7 +3428,7 @@ api.SystemParameters buildSystemParameters() { final o = api.SystemParameters(); buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - o.rules = buildUnnamed334(); + o.rules = buildUnnamed336(); } buildCounterSystemParameters--; return o; @@ -3437,28 +3437,28 @@ api.SystemParameters buildSystemParameters() { void checkSystemParameters(api.SystemParameters o) { buildCounterSystemParameters++; if (buildCounterSystemParameters < 3) { - checkUnnamed334(o.rules!); + checkUnnamed336(o.rules!); } buildCounterSystemParameters--; } -core.List buildUnnamed335() => [ +core.List buildUnnamed337() => [ buildField(), buildField(), ]; -void checkUnnamed335(core.List o) { +void checkUnnamed337(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); } -core.List buildUnnamed336() => [ +core.List buildUnnamed338() => [ 'foo', 'foo', ]; -void checkUnnamed336(core.List o) { +void checkUnnamed338(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3470,12 +3470,12 @@ void checkUnnamed336(core.List o) { ); } -core.List buildUnnamed337() => [ +core.List buildUnnamed339() => [ buildOption(), buildOption(), ]; -void checkUnnamed337(core.List o) { +void checkUnnamed339(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOption(o[0]); checkOption(o[1]); @@ -3486,10 +3486,10 @@ api.Type buildType() { final o = api.Type(); buildCounterType++; if (buildCounterType < 3) { - o.fields = buildUnnamed335(); + o.fields = buildUnnamed337(); o.name = 'foo'; - o.oneofs = buildUnnamed336(); - o.options = buildUnnamed337(); + o.oneofs = buildUnnamed338(); + o.options = buildUnnamed339(); o.sourceContext = buildSourceContext(); o.syntax = 'foo'; } @@ -3500,13 +3500,13 @@ api.Type buildType() { void checkType(api.Type o) { buildCounterType++; if (buildCounterType < 3) { - checkUnnamed335(o.fields!); + checkUnnamed337(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed336(o.oneofs!); - checkUnnamed337(o.options!); + checkUnnamed338(o.oneofs!); + checkUnnamed339(o.options!); checkSourceContext(o.sourceContext!); unittest.expect( o.syntax!, @@ -3531,12 +3531,12 @@ void checkUpdateAdminQuotaPolicyMetadata(api.UpdateAdminQuotaPolicyMetadata o) { buildCounterUpdateAdminQuotaPolicyMetadata--; } -core.List buildUnnamed338() => [ +core.List buildUnnamed340() => [ 'foo', 'foo', ]; -void checkUnnamed338(core.List o) { +void checkUnnamed340(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3548,12 +3548,12 @@ void checkUnnamed338(core.List o) { ); } -core.List buildUnnamed339() => [ +core.List buildUnnamed341() => [ buildUsageRule(), buildUsageRule(), ]; -void checkUnnamed339(core.List o) { +void checkUnnamed341(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUsageRule(o[0]); checkUsageRule(o[1]); @@ -3565,8 +3565,8 @@ api.Usage buildUsage() { buildCounterUsage++; if (buildCounterUsage < 3) { o.producerNotificationChannel = 'foo'; - o.requirements = buildUnnamed338(); - o.rules = buildUnnamed339(); + o.requirements = buildUnnamed340(); + o.rules = buildUnnamed341(); } buildCounterUsage--; return o; @@ -3579,8 +3579,8 @@ void checkUsage(api.Usage o) { o.producerNotificationChannel!, unittest.equals('foo'), ); - checkUnnamed338(o.requirements!); - checkUnnamed339(o.rules!); + checkUnnamed340(o.requirements!); + checkUnnamed341(o.rules!); } buildCounterUsage--; } @@ -3611,12 +3611,12 @@ void checkUsageRule(api.UsageRule o) { buildCounterUsageRule--; } -core.List buildUnnamed340() => [ +core.List buildUnnamed342() => [ 'foo', 'foo', ]; -void checkUnnamed340(core.List o) { +void checkUnnamed342(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4792,7 +4792,7 @@ void main() { final mock = HttpServerMock(); final res = api.ServiceUsageApi(mock).services; final arg_parent = 'foo'; - final arg_names = buildUnnamed340(); + final arg_names = buildUnnamed342(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart index be6b022a5..e880cfdb1 100644 --- a/generated/googleapis/test/sheets/v4_test.dart +++ b/generated/googleapis/test/sheets/v4_test.dart @@ -186,12 +186,12 @@ void checkAddDimensionGroupRequest(api.AddDimensionGroupRequest o) { buildCounterAddDimensionGroupRequest--; } -core.List buildUnnamed647() => [ +core.List buildUnnamed672() => [ buildDimensionGroup(), buildDimensionGroup(), ]; -void checkUnnamed647(core.List o) { +void checkUnnamed672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionGroup(o[0]); checkDimensionGroup(o[1]); @@ -202,7 +202,7 @@ api.AddDimensionGroupResponse buildAddDimensionGroupResponse() { final o = api.AddDimensionGroupResponse(); buildCounterAddDimensionGroupResponse++; if (buildCounterAddDimensionGroupResponse < 3) { - o.dimensionGroups = buildUnnamed647(); + o.dimensionGroups = buildUnnamed672(); } buildCounterAddDimensionGroupResponse--; return o; @@ -211,7 +211,7 @@ api.AddDimensionGroupResponse buildAddDimensionGroupResponse() { void checkAddDimensionGroupResponse(api.AddDimensionGroupResponse o) { buildCounterAddDimensionGroupResponse++; if (buildCounterAddDimensionGroupResponse < 3) { - checkUnnamed647(o.dimensionGroups!); + checkUnnamed672(o.dimensionGroups!); } buildCounterAddDimensionGroupResponse--; } @@ -406,12 +406,12 @@ void checkAddSlicerResponse(api.AddSlicerResponse o) { buildCounterAddSlicerResponse--; } -core.List buildUnnamed648() => [ +core.List buildUnnamed673() => [ buildRowData(), buildRowData(), ]; -void checkUnnamed648(core.List o) { +void checkUnnamed673(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRowData(o[0]); checkRowData(o[1]); @@ -423,7 +423,7 @@ api.AppendCellsRequest buildAppendCellsRequest() { buildCounterAppendCellsRequest++; if (buildCounterAppendCellsRequest < 3) { o.fields = 'foo'; - o.rows = buildUnnamed648(); + o.rows = buildUnnamed673(); o.sheetId = 42; } buildCounterAppendCellsRequest--; @@ -437,7 +437,7 @@ void checkAppendCellsRequest(api.AppendCellsRequest o) { o.fields!, unittest.equals('foo'), ); - checkUnnamed648(o.rows!); + checkUnnamed673(o.rows!); unittest.expect( o.sheetId!, unittest.equals(42), @@ -705,12 +705,12 @@ void checkBasicChartDomain(api.BasicChartDomain o) { buildCounterBasicChartDomain--; } -core.List buildUnnamed649() => [ +core.List buildUnnamed674() => [ buildBasicSeriesDataPointStyleOverride(), buildBasicSeriesDataPointStyleOverride(), ]; -void checkUnnamed649(core.List o) { +void checkUnnamed674(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBasicSeriesDataPointStyleOverride(o[0]); checkBasicSeriesDataPointStyleOverride(o[1]); @@ -727,7 +727,7 @@ api.BasicChartSeries buildBasicChartSeries() { o.lineStyle = buildLineStyle(); o.pointStyle = buildPointStyle(); o.series = buildChartData(); - o.styleOverrides = buildUnnamed649(); + o.styleOverrides = buildUnnamed674(); o.targetAxis = 'foo'; o.type = 'foo'; } @@ -744,7 +744,7 @@ void checkBasicChartSeries(api.BasicChartSeries o) { checkLineStyle(o.lineStyle!); checkPointStyle(o.pointStyle!); checkChartData(o.series!); - checkUnnamed649(o.styleOverrides!); + checkUnnamed674(o.styleOverrides!); unittest.expect( o.targetAxis!, unittest.equals('foo'), @@ -757,34 +757,34 @@ void checkBasicChartSeries(api.BasicChartSeries o) { buildCounterBasicChartSeries--; } -core.List buildUnnamed650() => [ +core.List buildUnnamed675() => [ buildBasicChartAxis(), buildBasicChartAxis(), ]; -void checkUnnamed650(core.List o) { +void checkUnnamed675(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBasicChartAxis(o[0]); checkBasicChartAxis(o[1]); } -core.List buildUnnamed651() => [ +core.List buildUnnamed676() => [ buildBasicChartDomain(), buildBasicChartDomain(), ]; -void checkUnnamed651(core.List o) { +void checkUnnamed676(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBasicChartDomain(o[0]); checkBasicChartDomain(o[1]); } -core.List buildUnnamed652() => [ +core.List buildUnnamed677() => [ buildBasicChartSeries(), buildBasicChartSeries(), ]; -void checkUnnamed652(core.List o) { +void checkUnnamed677(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBasicChartSeries(o[0]); checkBasicChartSeries(o[1]); @@ -795,15 +795,15 @@ api.BasicChartSpec buildBasicChartSpec() { final o = api.BasicChartSpec(); buildCounterBasicChartSpec++; if (buildCounterBasicChartSpec < 3) { - o.axis = buildUnnamed650(); + o.axis = buildUnnamed675(); o.chartType = 'foo'; o.compareMode = 'foo'; - o.domains = buildUnnamed651(); + o.domains = buildUnnamed676(); o.headerCount = 42; o.interpolateNulls = true; o.legendPosition = 'foo'; o.lineSmoothing = true; - o.series = buildUnnamed652(); + o.series = buildUnnamed677(); o.stackedType = 'foo'; o.threeDimensional = true; o.totalDataLabel = buildDataLabel(); @@ -815,7 +815,7 @@ api.BasicChartSpec buildBasicChartSpec() { void checkBasicChartSpec(api.BasicChartSpec o) { buildCounterBasicChartSpec++; if (buildCounterBasicChartSpec < 3) { - checkUnnamed650(o.axis!); + checkUnnamed675(o.axis!); unittest.expect( o.chartType!, unittest.equals('foo'), @@ -824,7 +824,7 @@ void checkBasicChartSpec(api.BasicChartSpec o) { o.compareMode!, unittest.equals('foo'), ); - checkUnnamed651(o.domains!); + checkUnnamed676(o.domains!); unittest.expect( o.headerCount!, unittest.equals(42), @@ -835,7 +835,7 @@ void checkBasicChartSpec(api.BasicChartSpec o) { unittest.equals('foo'), ); unittest.expect(o.lineSmoothing!, unittest.isTrue); - checkUnnamed652(o.series!); + checkUnnamed677(o.series!); unittest.expect( o.stackedType!, unittest.equals('foo'), @@ -846,34 +846,34 @@ void checkBasicChartSpec(api.BasicChartSpec o) { buildCounterBasicChartSpec--; } -core.Map buildUnnamed653() => { +core.Map buildUnnamed678() => { 'x': buildFilterCriteria(), 'y': buildFilterCriteria(), }; -void checkUnnamed653(core.Map o) { +void checkUnnamed678(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFilterCriteria(o['x']!); checkFilterCriteria(o['y']!); } -core.List buildUnnamed654() => [ +core.List buildUnnamed679() => [ buildFilterSpec(), buildFilterSpec(), ]; -void checkUnnamed654(core.List o) { +void checkUnnamed679(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterSpec(o[0]); checkFilterSpec(o[1]); } -core.List buildUnnamed655() => [ +core.List buildUnnamed680() => [ buildSortSpec(), buildSortSpec(), ]; -void checkUnnamed655(core.List o) { +void checkUnnamed680(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortSpec(o[0]); checkSortSpec(o[1]); @@ -884,10 +884,10 @@ api.BasicFilter buildBasicFilter() { final o = api.BasicFilter(); buildCounterBasicFilter++; if (buildCounterBasicFilter < 3) { - o.criteria = buildUnnamed653(); - o.filterSpecs = buildUnnamed654(); + o.criteria = buildUnnamed678(); + o.filterSpecs = buildUnnamed679(); o.range = buildGridRange(); - o.sortSpecs = buildUnnamed655(); + o.sortSpecs = buildUnnamed680(); } buildCounterBasicFilter--; return o; @@ -896,10 +896,10 @@ api.BasicFilter buildBasicFilter() { void checkBasicFilter(api.BasicFilter o) { buildCounterBasicFilter++; if (buildCounterBasicFilter < 3) { - checkUnnamed653(o.criteria!); - checkUnnamed654(o.filterSpecs!); + checkUnnamed678(o.criteria!); + checkUnnamed679(o.filterSpecs!); checkGridRange(o.range!); - checkUnnamed655(o.sortSpecs!); + checkUnnamed680(o.sortSpecs!); } buildCounterBasicFilter--; } @@ -933,12 +933,12 @@ void checkBasicSeriesDataPointStyleOverride( buildCounterBasicSeriesDataPointStyleOverride--; } -core.List buildUnnamed656() => [ +core.List buildUnnamed681() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed656(core.List o) { +void checkUnnamed681(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -950,7 +950,7 @@ api.BatchClearValuesByDataFilterRequest final o = api.BatchClearValuesByDataFilterRequest(); buildCounterBatchClearValuesByDataFilterRequest++; if (buildCounterBatchClearValuesByDataFilterRequest < 3) { - o.dataFilters = buildUnnamed656(); + o.dataFilters = buildUnnamed681(); } buildCounterBatchClearValuesByDataFilterRequest--; return o; @@ -960,17 +960,17 @@ void checkBatchClearValuesByDataFilterRequest( api.BatchClearValuesByDataFilterRequest o) { buildCounterBatchClearValuesByDataFilterRequest++; if (buildCounterBatchClearValuesByDataFilterRequest < 3) { - checkUnnamed656(o.dataFilters!); + checkUnnamed681(o.dataFilters!); } buildCounterBatchClearValuesByDataFilterRequest--; } -core.List buildUnnamed657() => [ +core.List buildUnnamed682() => [ 'foo', 'foo', ]; -void checkUnnamed657(core.List o) { +void checkUnnamed682(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -988,7 +988,7 @@ api.BatchClearValuesByDataFilterResponse final o = api.BatchClearValuesByDataFilterResponse(); buildCounterBatchClearValuesByDataFilterResponse++; if (buildCounterBatchClearValuesByDataFilterResponse < 3) { - o.clearedRanges = buildUnnamed657(); + o.clearedRanges = buildUnnamed682(); o.spreadsheetId = 'foo'; } buildCounterBatchClearValuesByDataFilterResponse--; @@ -999,7 +999,7 @@ void checkBatchClearValuesByDataFilterResponse( api.BatchClearValuesByDataFilterResponse o) { buildCounterBatchClearValuesByDataFilterResponse++; if (buildCounterBatchClearValuesByDataFilterResponse < 3) { - checkUnnamed657(o.clearedRanges!); + checkUnnamed682(o.clearedRanges!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -1008,12 +1008,12 @@ void checkBatchClearValuesByDataFilterResponse( buildCounterBatchClearValuesByDataFilterResponse--; } -core.List buildUnnamed658() => [ +core.List buildUnnamed683() => [ 'foo', 'foo', ]; -void checkUnnamed658(core.List o) { +void checkUnnamed683(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1030,7 +1030,7 @@ api.BatchClearValuesRequest buildBatchClearValuesRequest() { final o = api.BatchClearValuesRequest(); buildCounterBatchClearValuesRequest++; if (buildCounterBatchClearValuesRequest < 3) { - o.ranges = buildUnnamed658(); + o.ranges = buildUnnamed683(); } buildCounterBatchClearValuesRequest--; return o; @@ -1039,17 +1039,17 @@ api.BatchClearValuesRequest buildBatchClearValuesRequest() { void checkBatchClearValuesRequest(api.BatchClearValuesRequest o) { buildCounterBatchClearValuesRequest++; if (buildCounterBatchClearValuesRequest < 3) { - checkUnnamed658(o.ranges!); + checkUnnamed683(o.ranges!); } buildCounterBatchClearValuesRequest--; } -core.List buildUnnamed659() => [ +core.List buildUnnamed684() => [ 'foo', 'foo', ]; -void checkUnnamed659(core.List o) { +void checkUnnamed684(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1066,7 +1066,7 @@ api.BatchClearValuesResponse buildBatchClearValuesResponse() { final o = api.BatchClearValuesResponse(); buildCounterBatchClearValuesResponse++; if (buildCounterBatchClearValuesResponse < 3) { - o.clearedRanges = buildUnnamed659(); + o.clearedRanges = buildUnnamed684(); o.spreadsheetId = 'foo'; } buildCounterBatchClearValuesResponse--; @@ -1076,7 +1076,7 @@ api.BatchClearValuesResponse buildBatchClearValuesResponse() { void checkBatchClearValuesResponse(api.BatchClearValuesResponse o) { buildCounterBatchClearValuesResponse++; if (buildCounterBatchClearValuesResponse < 3) { - checkUnnamed659(o.clearedRanges!); + checkUnnamed684(o.clearedRanges!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -1085,12 +1085,12 @@ void checkBatchClearValuesResponse(api.BatchClearValuesResponse o) { buildCounterBatchClearValuesResponse--; } -core.List buildUnnamed660() => [ +core.List buildUnnamed685() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed660(core.List o) { +void checkUnnamed685(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -1101,7 +1101,7 @@ api.BatchGetValuesByDataFilterRequest buildBatchGetValuesByDataFilterRequest() { final o = api.BatchGetValuesByDataFilterRequest(); buildCounterBatchGetValuesByDataFilterRequest++; if (buildCounterBatchGetValuesByDataFilterRequest < 3) { - o.dataFilters = buildUnnamed660(); + o.dataFilters = buildUnnamed685(); o.dateTimeRenderOption = 'foo'; o.majorDimension = 'foo'; o.valueRenderOption = 'foo'; @@ -1114,7 +1114,7 @@ void checkBatchGetValuesByDataFilterRequest( api.BatchGetValuesByDataFilterRequest o) { buildCounterBatchGetValuesByDataFilterRequest++; if (buildCounterBatchGetValuesByDataFilterRequest < 3) { - checkUnnamed660(o.dataFilters!); + checkUnnamed685(o.dataFilters!); unittest.expect( o.dateTimeRenderOption!, unittest.equals('foo'), @@ -1131,12 +1131,12 @@ void checkBatchGetValuesByDataFilterRequest( buildCounterBatchGetValuesByDataFilterRequest--; } -core.List buildUnnamed661() => [ +core.List buildUnnamed686() => [ buildMatchedValueRange(), buildMatchedValueRange(), ]; -void checkUnnamed661(core.List o) { +void checkUnnamed686(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatchedValueRange(o[0]); checkMatchedValueRange(o[1]); @@ -1149,7 +1149,7 @@ api.BatchGetValuesByDataFilterResponse buildCounterBatchGetValuesByDataFilterResponse++; if (buildCounterBatchGetValuesByDataFilterResponse < 3) { o.spreadsheetId = 'foo'; - o.valueRanges = buildUnnamed661(); + o.valueRanges = buildUnnamed686(); } buildCounterBatchGetValuesByDataFilterResponse--; return o; @@ -1163,17 +1163,17 @@ void checkBatchGetValuesByDataFilterResponse( o.spreadsheetId!, unittest.equals('foo'), ); - checkUnnamed661(o.valueRanges!); + checkUnnamed686(o.valueRanges!); } buildCounterBatchGetValuesByDataFilterResponse--; } -core.List buildUnnamed662() => [ +core.List buildUnnamed687() => [ buildValueRange(), buildValueRange(), ]; -void checkUnnamed662(core.List o) { +void checkUnnamed687(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValueRange(o[0]); checkValueRange(o[1]); @@ -1185,7 +1185,7 @@ api.BatchGetValuesResponse buildBatchGetValuesResponse() { buildCounterBatchGetValuesResponse++; if (buildCounterBatchGetValuesResponse < 3) { o.spreadsheetId = 'foo'; - o.valueRanges = buildUnnamed662(); + o.valueRanges = buildUnnamed687(); } buildCounterBatchGetValuesResponse--; return o; @@ -1198,28 +1198,28 @@ void checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { o.spreadsheetId!, unittest.equals('foo'), ); - checkUnnamed662(o.valueRanges!); + checkUnnamed687(o.valueRanges!); } buildCounterBatchGetValuesResponse--; } -core.List buildUnnamed663() => [ +core.List buildUnnamed688() => [ buildRequest(), buildRequest(), ]; -void checkUnnamed663(core.List o) { +void checkUnnamed688(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRequest(o[0]); checkRequest(o[1]); } -core.List buildUnnamed664() => [ +core.List buildUnnamed689() => [ 'foo', 'foo', ]; -void checkUnnamed664(core.List o) { +void checkUnnamed689(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1237,9 +1237,9 @@ api.BatchUpdateSpreadsheetRequest buildBatchUpdateSpreadsheetRequest() { buildCounterBatchUpdateSpreadsheetRequest++; if (buildCounterBatchUpdateSpreadsheetRequest < 3) { o.includeSpreadsheetInResponse = true; - o.requests = buildUnnamed663(); + o.requests = buildUnnamed688(); o.responseIncludeGridData = true; - o.responseRanges = buildUnnamed664(); + o.responseRanges = buildUnnamed689(); } buildCounterBatchUpdateSpreadsheetRequest--; return o; @@ -1249,19 +1249,19 @@ void checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { buildCounterBatchUpdateSpreadsheetRequest++; if (buildCounterBatchUpdateSpreadsheetRequest < 3) { unittest.expect(o.includeSpreadsheetInResponse!, unittest.isTrue); - checkUnnamed663(o.requests!); + checkUnnamed688(o.requests!); unittest.expect(o.responseIncludeGridData!, unittest.isTrue); - checkUnnamed664(o.responseRanges!); + checkUnnamed689(o.responseRanges!); } buildCounterBatchUpdateSpreadsheetRequest--; } -core.List buildUnnamed665() => [ +core.List buildUnnamed690() => [ buildResponse(), buildResponse(), ]; -void checkUnnamed665(core.List o) { +void checkUnnamed690(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResponse(o[0]); checkResponse(o[1]); @@ -1272,7 +1272,7 @@ api.BatchUpdateSpreadsheetResponse buildBatchUpdateSpreadsheetResponse() { final o = api.BatchUpdateSpreadsheetResponse(); buildCounterBatchUpdateSpreadsheetResponse++; if (buildCounterBatchUpdateSpreadsheetResponse < 3) { - o.replies = buildUnnamed665(); + o.replies = buildUnnamed690(); o.spreadsheetId = 'foo'; o.updatedSpreadsheet = buildSpreadsheet(); } @@ -1283,7 +1283,7 @@ api.BatchUpdateSpreadsheetResponse buildBatchUpdateSpreadsheetResponse() { void checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { buildCounterBatchUpdateSpreadsheetResponse++; if (buildCounterBatchUpdateSpreadsheetResponse < 3) { - checkUnnamed665(o.replies!); + checkUnnamed690(o.replies!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -1293,12 +1293,12 @@ void checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { buildCounterBatchUpdateSpreadsheetResponse--; } -core.List buildUnnamed666() => [ +core.List buildUnnamed691() => [ buildDataFilterValueRange(), buildDataFilterValueRange(), ]; -void checkUnnamed666(core.List o) { +void checkUnnamed691(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilterValueRange(o[0]); checkDataFilterValueRange(o[1]); @@ -1310,7 +1310,7 @@ api.BatchUpdateValuesByDataFilterRequest final o = api.BatchUpdateValuesByDataFilterRequest(); buildCounterBatchUpdateValuesByDataFilterRequest++; if (buildCounterBatchUpdateValuesByDataFilterRequest < 3) { - o.data = buildUnnamed666(); + o.data = buildUnnamed691(); o.includeValuesInResponse = true; o.responseDateTimeRenderOption = 'foo'; o.responseValueRenderOption = 'foo'; @@ -1324,7 +1324,7 @@ void checkBatchUpdateValuesByDataFilterRequest( api.BatchUpdateValuesByDataFilterRequest o) { buildCounterBatchUpdateValuesByDataFilterRequest++; if (buildCounterBatchUpdateValuesByDataFilterRequest < 3) { - checkUnnamed666(o.data!); + checkUnnamed691(o.data!); unittest.expect(o.includeValuesInResponse!, unittest.isTrue); unittest.expect( o.responseDateTimeRenderOption!, @@ -1342,12 +1342,12 @@ void checkBatchUpdateValuesByDataFilterRequest( buildCounterBatchUpdateValuesByDataFilterRequest--; } -core.List buildUnnamed667() => [ +core.List buildUnnamed692() => [ buildUpdateValuesByDataFilterResponse(), buildUpdateValuesByDataFilterResponse(), ]; -void checkUnnamed667(core.List o) { +void checkUnnamed692(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpdateValuesByDataFilterResponse(o[0]); checkUpdateValuesByDataFilterResponse(o[1]); @@ -1359,7 +1359,7 @@ api.BatchUpdateValuesByDataFilterResponse final o = api.BatchUpdateValuesByDataFilterResponse(); buildCounterBatchUpdateValuesByDataFilterResponse++; if (buildCounterBatchUpdateValuesByDataFilterResponse < 3) { - o.responses = buildUnnamed667(); + o.responses = buildUnnamed692(); o.spreadsheetId = 'foo'; o.totalUpdatedCells = 42; o.totalUpdatedColumns = 42; @@ -1374,7 +1374,7 @@ void checkBatchUpdateValuesByDataFilterResponse( api.BatchUpdateValuesByDataFilterResponse o) { buildCounterBatchUpdateValuesByDataFilterResponse++; if (buildCounterBatchUpdateValuesByDataFilterResponse < 3) { - checkUnnamed667(o.responses!); + checkUnnamed692(o.responses!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -1399,12 +1399,12 @@ void checkBatchUpdateValuesByDataFilterResponse( buildCounterBatchUpdateValuesByDataFilterResponse--; } -core.List buildUnnamed668() => [ +core.List buildUnnamed693() => [ buildValueRange(), buildValueRange(), ]; -void checkUnnamed668(core.List o) { +void checkUnnamed693(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValueRange(o[0]); checkValueRange(o[1]); @@ -1415,7 +1415,7 @@ api.BatchUpdateValuesRequest buildBatchUpdateValuesRequest() { final o = api.BatchUpdateValuesRequest(); buildCounterBatchUpdateValuesRequest++; if (buildCounterBatchUpdateValuesRequest < 3) { - o.data = buildUnnamed668(); + o.data = buildUnnamed693(); o.includeValuesInResponse = true; o.responseDateTimeRenderOption = 'foo'; o.responseValueRenderOption = 'foo'; @@ -1428,7 +1428,7 @@ api.BatchUpdateValuesRequest buildBatchUpdateValuesRequest() { void checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { buildCounterBatchUpdateValuesRequest++; if (buildCounterBatchUpdateValuesRequest < 3) { - checkUnnamed668(o.data!); + checkUnnamed693(o.data!); unittest.expect(o.includeValuesInResponse!, unittest.isTrue); unittest.expect( o.responseDateTimeRenderOption!, @@ -1446,12 +1446,12 @@ void checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { buildCounterBatchUpdateValuesRequest--; } -core.List buildUnnamed669() => [ +core.List buildUnnamed694() => [ buildUpdateValuesResponse(), buildUpdateValuesResponse(), ]; -void checkUnnamed669(core.List o) { +void checkUnnamed694(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpdateValuesResponse(o[0]); checkUpdateValuesResponse(o[1]); @@ -1462,7 +1462,7 @@ api.BatchUpdateValuesResponse buildBatchUpdateValuesResponse() { final o = api.BatchUpdateValuesResponse(); buildCounterBatchUpdateValuesResponse++; if (buildCounterBatchUpdateValuesResponse < 3) { - o.responses = buildUnnamed669(); + o.responses = buildUnnamed694(); o.spreadsheetId = 'foo'; o.totalUpdatedCells = 42; o.totalUpdatedColumns = 42; @@ -1476,7 +1476,7 @@ api.BatchUpdateValuesResponse buildBatchUpdateValuesResponse() { void checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { buildCounterBatchUpdateValuesResponse++; if (buildCounterBatchUpdateValuesResponse < 3) { - checkUnnamed669(o.responses!); + checkUnnamed694(o.responses!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -1581,12 +1581,12 @@ void checkBigQueryTableSpec(api.BigQueryTableSpec o) { buildCounterBigQueryTableSpec--; } -core.List buildUnnamed670() => [ +core.List buildUnnamed695() => [ buildConditionValue(), buildConditionValue(), ]; -void checkUnnamed670(core.List o) { +void checkUnnamed695(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConditionValue(o[0]); checkConditionValue(o[1]); @@ -1598,7 +1598,7 @@ api.BooleanCondition buildBooleanCondition() { buildCounterBooleanCondition++; if (buildCounterBooleanCondition < 3) { o.type = 'foo'; - o.values = buildUnnamed670(); + o.values = buildUnnamed695(); } buildCounterBooleanCondition--; return o; @@ -1611,7 +1611,7 @@ void checkBooleanCondition(api.BooleanCondition o) { o.type!, unittest.equals('foo'), ); - checkUnnamed670(o.values!); + checkUnnamed695(o.values!); } buildCounterBooleanCondition--; } @@ -1746,12 +1746,12 @@ void checkBubbleChartSpec(api.BubbleChartSpec o) { buildCounterBubbleChartSpec--; } -core.List buildUnnamed671() => [ +core.List buildUnnamed696() => [ buildCandlestickData(), buildCandlestickData(), ]; -void checkUnnamed671(core.List o) { +void checkUnnamed696(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCandlestickData(o[0]); checkCandlestickData(o[1]); @@ -1762,7 +1762,7 @@ api.CandlestickChartSpec buildCandlestickChartSpec() { final o = api.CandlestickChartSpec(); buildCounterCandlestickChartSpec++; if (buildCounterCandlestickChartSpec < 3) { - o.data = buildUnnamed671(); + o.data = buildUnnamed696(); o.domain = buildCandlestickDomain(); } buildCounterCandlestickChartSpec--; @@ -1772,7 +1772,7 @@ api.CandlestickChartSpec buildCandlestickChartSpec() { void checkCandlestickChartSpec(api.CandlestickChartSpec o) { buildCounterCandlestickChartSpec++; if (buildCounterCandlestickChartSpec < 3) { - checkUnnamed671(o.data!); + checkUnnamed696(o.data!); checkCandlestickDomain(o.domain!); } buildCounterCandlestickChartSpec--; @@ -1843,12 +1843,12 @@ void checkCandlestickSeries(api.CandlestickSeries o) { buildCounterCandlestickSeries--; } -core.List buildUnnamed672() => [ +core.List buildUnnamed697() => [ buildTextFormatRun(), buildTextFormatRun(), ]; -void checkUnnamed672(core.List o) { +void checkUnnamed697(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTextFormatRun(o[0]); checkTextFormatRun(o[1]); @@ -1868,7 +1868,7 @@ api.CellData buildCellData() { o.hyperlink = 'foo'; o.note = 'foo'; o.pivotTable = buildPivotTable(); - o.textFormatRuns = buildUnnamed672(); + o.textFormatRuns = buildUnnamed697(); o.userEnteredFormat = buildCellFormat(); o.userEnteredValue = buildExtendedValue(); } @@ -1897,7 +1897,7 @@ void checkCellData(api.CellData o) { unittest.equals('foo'), ); checkPivotTable(o.pivotTable!); - checkUnnamed672(o.textFormatRuns!); + checkUnnamed697(o.textFormatRuns!); checkCellFormat(o.userEnteredFormat!); checkExtendedValue(o.userEnteredValue!); } @@ -2122,12 +2122,12 @@ void checkChartHistogramRule(api.ChartHistogramRule o) { buildCounterChartHistogramRule--; } -core.List buildUnnamed673() => [ +core.List buildUnnamed698() => [ buildGridRange(), buildGridRange(), ]; -void checkUnnamed673(core.List o) { +void checkUnnamed698(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGridRange(o[0]); checkGridRange(o[1]); @@ -2138,7 +2138,7 @@ api.ChartSourceRange buildChartSourceRange() { final o = api.ChartSourceRange(); buildCounterChartSourceRange++; if (buildCounterChartSourceRange < 3) { - o.sources = buildUnnamed673(); + o.sources = buildUnnamed698(); } buildCounterChartSourceRange--; return o; @@ -2147,28 +2147,28 @@ api.ChartSourceRange buildChartSourceRange() { void checkChartSourceRange(api.ChartSourceRange o) { buildCounterChartSourceRange++; if (buildCounterChartSourceRange < 3) { - checkUnnamed673(o.sources!); + checkUnnamed698(o.sources!); } buildCounterChartSourceRange--; } -core.List buildUnnamed674() => [ +core.List buildUnnamed699() => [ buildFilterSpec(), buildFilterSpec(), ]; -void checkUnnamed674(core.List o) { +void checkUnnamed699(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterSpec(o[0]); checkFilterSpec(o[1]); } -core.List buildUnnamed675() => [ +core.List buildUnnamed700() => [ buildSortSpec(), buildSortSpec(), ]; -void checkUnnamed675(core.List o) { +void checkUnnamed700(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortSpec(o[0]); checkSortSpec(o[1]); @@ -2186,7 +2186,7 @@ api.ChartSpec buildChartSpec() { o.bubbleChart = buildBubbleChartSpec(); o.candlestickChart = buildCandlestickChartSpec(); o.dataSourceChartProperties = buildDataSourceChartProperties(); - o.filterSpecs = buildUnnamed674(); + o.filterSpecs = buildUnnamed699(); o.fontName = 'foo'; o.hiddenDimensionStrategy = 'foo'; o.histogramChart = buildHistogramChartSpec(); @@ -2194,7 +2194,7 @@ api.ChartSpec buildChartSpec() { o.orgChart = buildOrgChartSpec(); o.pieChart = buildPieChartSpec(); o.scorecardChart = buildScorecardChartSpec(); - o.sortSpecs = buildUnnamed675(); + o.sortSpecs = buildUnnamed700(); o.subtitle = 'foo'; o.subtitleTextFormat = buildTextFormat(); o.subtitleTextPosition = buildTextPosition(); @@ -2221,7 +2221,7 @@ void checkChartSpec(api.ChartSpec o) { checkBubbleChartSpec(o.bubbleChart!); checkCandlestickChartSpec(o.candlestickChart!); checkDataSourceChartProperties(o.dataSourceChartProperties!); - checkUnnamed674(o.filterSpecs!); + checkUnnamed699(o.filterSpecs!); unittest.expect( o.fontName!, unittest.equals('foo'), @@ -2235,7 +2235,7 @@ void checkChartSpec(api.ChartSpec o) { checkOrgChartSpec(o.orgChart!); checkPieChartSpec(o.pieChart!); checkScorecardChartSpec(o.scorecardChart!); - checkUnnamed675(o.sortSpecs!); + checkUnnamed700(o.sortSpecs!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -2406,12 +2406,12 @@ void checkConditionValue(api.ConditionValue o) { buildCounterConditionValue--; } -core.List buildUnnamed676() => [ +core.List buildUnnamed701() => [ buildGridRange(), buildGridRange(), ]; -void checkUnnamed676(core.List o) { +void checkUnnamed701(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGridRange(o[0]); checkGridRange(o[1]); @@ -2424,7 +2424,7 @@ api.ConditionalFormatRule buildConditionalFormatRule() { if (buildCounterConditionalFormatRule < 3) { o.booleanRule = buildBooleanRule(); o.gradientRule = buildGradientRule(); - o.ranges = buildUnnamed676(); + o.ranges = buildUnnamed701(); } buildCounterConditionalFormatRule--; return o; @@ -2435,7 +2435,7 @@ void checkConditionalFormatRule(api.ConditionalFormatRule o) { if (buildCounterConditionalFormatRule < 3) { checkBooleanRule(o.booleanRule!); checkGradientRule(o.gradientRule!); - checkUnnamed676(o.ranges!); + checkUnnamed701(o.ranges!); } buildCounterConditionalFormatRule--; } @@ -2623,7 +2623,7 @@ void checkDataFilter(api.DataFilter o) { buildCounterDataFilter--; } -core.List buildUnnamed677() => [ +core.List buildUnnamed702() => [ { 'list': [1, 2, 3], 'bool': true, @@ -2636,7 +2636,7 @@ core.List buildUnnamed677() => [ }, ]; -void checkUnnamed677(core.List o) { +void checkUnnamed702(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2668,15 +2668,15 @@ void checkUnnamed677(core.List o) { ); } -core.List> buildUnnamed678() => [ - buildUnnamed677(), - buildUnnamed677(), +core.List> buildUnnamed703() => [ + buildUnnamed702(), + buildUnnamed702(), ]; -void checkUnnamed678(core.List> o) { +void checkUnnamed703(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed677(o[0]); - checkUnnamed677(o[1]); + checkUnnamed702(o[0]); + checkUnnamed702(o[1]); } core.int buildCounterDataFilterValueRange = 0; @@ -2686,7 +2686,7 @@ api.DataFilterValueRange buildDataFilterValueRange() { if (buildCounterDataFilterValueRange < 3) { o.dataFilter = buildDataFilter(); o.majorDimension = 'foo'; - o.values = buildUnnamed678(); + o.values = buildUnnamed703(); } buildCounterDataFilterValueRange--; return o; @@ -2700,7 +2700,7 @@ void checkDataFilterValueRange(api.DataFilterValueRange o) { o.majorDimension!, unittest.equals('foo'), ); - checkUnnamed678(o.values!); + checkUnnamed703(o.values!); } buildCounterDataFilterValueRange--; } @@ -2736,12 +2736,12 @@ void checkDataLabel(api.DataLabel o) { buildCounterDataLabel--; } -core.List buildUnnamed679() => [ +core.List buildUnnamed704() => [ buildDataSourceColumn(), buildDataSourceColumn(), ]; -void checkUnnamed679(core.List o) { +void checkUnnamed704(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceColumn(o[0]); checkDataSourceColumn(o[1]); @@ -2752,7 +2752,7 @@ api.DataSource buildDataSource() { final o = api.DataSource(); buildCounterDataSource++; if (buildCounterDataSource < 3) { - o.calculatedColumns = buildUnnamed679(); + o.calculatedColumns = buildUnnamed704(); o.dataSourceId = 'foo'; o.sheetId = 42; o.spec = buildDataSourceSpec(); @@ -2764,7 +2764,7 @@ api.DataSource buildDataSource() { void checkDataSource(api.DataSource o) { buildCounterDataSource++; if (buildCounterDataSource < 3) { - checkUnnamed679(o.calculatedColumns!); + checkUnnamed704(o.calculatedColumns!); unittest.expect( o.dataSourceId!, unittest.equals('foo'), @@ -2905,12 +2905,12 @@ void checkDataSourceObjectReference(api.DataSourceObjectReference o) { buildCounterDataSourceObjectReference--; } -core.List buildUnnamed680() => [ +core.List buildUnnamed705() => [ buildDataSourceObjectReference(), buildDataSourceObjectReference(), ]; -void checkUnnamed680(core.List o) { +void checkUnnamed705(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceObjectReference(o[0]); checkDataSourceObjectReference(o[1]); @@ -2921,7 +2921,7 @@ api.DataSourceObjectReferences buildDataSourceObjectReferences() { final o = api.DataSourceObjectReferences(); buildCounterDataSourceObjectReferences++; if (buildCounterDataSourceObjectReferences < 3) { - o.references = buildUnnamed680(); + o.references = buildUnnamed705(); } buildCounterDataSourceObjectReferences--; return o; @@ -2930,7 +2930,7 @@ api.DataSourceObjectReferences buildDataSourceObjectReferences() { void checkDataSourceObjectReferences(api.DataSourceObjectReferences o) { buildCounterDataSourceObjectReferences++; if (buildCounterDataSourceObjectReferences < 3) { - checkUnnamed680(o.references!); + checkUnnamed705(o.references!); } buildCounterDataSourceObjectReferences--; } @@ -2983,12 +2983,12 @@ void checkDataSourceRefreshDailySchedule(api.DataSourceRefreshDailySchedule o) { buildCounterDataSourceRefreshDailySchedule--; } -core.List buildUnnamed681() => [ +core.List buildUnnamed706() => [ 42, 42, ]; -void checkUnnamed681(core.List o) { +void checkUnnamed706(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3005,7 +3005,7 @@ api.DataSourceRefreshMonthlySchedule buildDataSourceRefreshMonthlySchedule() { final o = api.DataSourceRefreshMonthlySchedule(); buildCounterDataSourceRefreshMonthlySchedule++; if (buildCounterDataSourceRefreshMonthlySchedule < 3) { - o.daysOfMonth = buildUnnamed681(); + o.daysOfMonth = buildUnnamed706(); o.startTime = buildTimeOfDay(); } buildCounterDataSourceRefreshMonthlySchedule--; @@ -3016,7 +3016,7 @@ void checkDataSourceRefreshMonthlySchedule( api.DataSourceRefreshMonthlySchedule o) { buildCounterDataSourceRefreshMonthlySchedule++; if (buildCounterDataSourceRefreshMonthlySchedule < 3) { - checkUnnamed681(o.daysOfMonth!); + checkUnnamed706(o.daysOfMonth!); checkTimeOfDay(o.startTime!); } buildCounterDataSourceRefreshMonthlySchedule--; @@ -3054,12 +3054,12 @@ void checkDataSourceRefreshSchedule(api.DataSourceRefreshSchedule o) { buildCounterDataSourceRefreshSchedule--; } -core.List buildUnnamed682() => [ +core.List buildUnnamed707() => [ 'foo', 'foo', ]; -void checkUnnamed682(core.List o) { +void checkUnnamed707(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3076,7 +3076,7 @@ api.DataSourceRefreshWeeklySchedule buildDataSourceRefreshWeeklySchedule() { final o = api.DataSourceRefreshWeeklySchedule(); buildCounterDataSourceRefreshWeeklySchedule++; if (buildCounterDataSourceRefreshWeeklySchedule < 3) { - o.daysOfWeek = buildUnnamed682(); + o.daysOfWeek = buildUnnamed707(); o.startTime = buildTimeOfDay(); } buildCounterDataSourceRefreshWeeklySchedule--; @@ -3087,18 +3087,18 @@ void checkDataSourceRefreshWeeklySchedule( api.DataSourceRefreshWeeklySchedule o) { buildCounterDataSourceRefreshWeeklySchedule++; if (buildCounterDataSourceRefreshWeeklySchedule < 3) { - checkUnnamed682(o.daysOfWeek!); + checkUnnamed707(o.daysOfWeek!); checkTimeOfDay(o.startTime!); } buildCounterDataSourceRefreshWeeklySchedule--; } -core.List buildUnnamed683() => [ +core.List buildUnnamed708() => [ buildDataSourceColumnReference(), buildDataSourceColumnReference(), ]; -void checkUnnamed683(core.List o) { +void checkUnnamed708(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceColumnReference(o[0]); checkDataSourceColumnReference(o[1]); @@ -3109,7 +3109,7 @@ api.DataSourceSheetDimensionRange buildDataSourceSheetDimensionRange() { final o = api.DataSourceSheetDimensionRange(); buildCounterDataSourceSheetDimensionRange++; if (buildCounterDataSourceSheetDimensionRange < 3) { - o.columnReferences = buildUnnamed683(); + o.columnReferences = buildUnnamed708(); o.sheetId = 42; } buildCounterDataSourceSheetDimensionRange--; @@ -3119,7 +3119,7 @@ api.DataSourceSheetDimensionRange buildDataSourceSheetDimensionRange() { void checkDataSourceSheetDimensionRange(api.DataSourceSheetDimensionRange o) { buildCounterDataSourceSheetDimensionRange++; if (buildCounterDataSourceSheetDimensionRange < 3) { - checkUnnamed683(o.columnReferences!); + checkUnnamed708(o.columnReferences!); unittest.expect( o.sheetId!, unittest.equals(42), @@ -3128,12 +3128,12 @@ void checkDataSourceSheetDimensionRange(api.DataSourceSheetDimensionRange o) { buildCounterDataSourceSheetDimensionRange--; } -core.List buildUnnamed684() => [ +core.List buildUnnamed709() => [ buildDataSourceColumn(), buildDataSourceColumn(), ]; -void checkUnnamed684(core.List o) { +void checkUnnamed709(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceColumn(o[0]); checkDataSourceColumn(o[1]); @@ -3144,7 +3144,7 @@ api.DataSourceSheetProperties buildDataSourceSheetProperties() { final o = api.DataSourceSheetProperties(); buildCounterDataSourceSheetProperties++; if (buildCounterDataSourceSheetProperties < 3) { - o.columns = buildUnnamed684(); + o.columns = buildUnnamed709(); o.dataExecutionStatus = buildDataExecutionStatus(); o.dataSourceId = 'foo'; } @@ -3155,7 +3155,7 @@ api.DataSourceSheetProperties buildDataSourceSheetProperties() { void checkDataSourceSheetProperties(api.DataSourceSheetProperties o) { buildCounterDataSourceSheetProperties++; if (buildCounterDataSourceSheetProperties < 3) { - checkUnnamed684(o.columns!); + checkUnnamed709(o.columns!); checkDataExecutionStatus(o.dataExecutionStatus!); unittest.expect( o.dataSourceId!, @@ -3165,12 +3165,12 @@ void checkDataSourceSheetProperties(api.DataSourceSheetProperties o) { buildCounterDataSourceSheetProperties--; } -core.List buildUnnamed685() => [ +core.List buildUnnamed710() => [ buildDataSourceParameter(), buildDataSourceParameter(), ]; -void checkUnnamed685(core.List o) { +void checkUnnamed710(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceParameter(o[0]); checkDataSourceParameter(o[1]); @@ -3182,7 +3182,7 @@ api.DataSourceSpec buildDataSourceSpec() { buildCounterDataSourceSpec++; if (buildCounterDataSourceSpec < 3) { o.bigQuery = buildBigQueryDataSourceSpec(); - o.parameters = buildUnnamed685(); + o.parameters = buildUnnamed710(); } buildCounterDataSourceSpec--; return o; @@ -3192,39 +3192,39 @@ void checkDataSourceSpec(api.DataSourceSpec o) { buildCounterDataSourceSpec++; if (buildCounterDataSourceSpec < 3) { checkBigQueryDataSourceSpec(o.bigQuery!); - checkUnnamed685(o.parameters!); + checkUnnamed710(o.parameters!); } buildCounterDataSourceSpec--; } -core.List buildUnnamed686() => [ +core.List buildUnnamed711() => [ buildDataSourceColumnReference(), buildDataSourceColumnReference(), ]; -void checkUnnamed686(core.List o) { +void checkUnnamed711(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceColumnReference(o[0]); checkDataSourceColumnReference(o[1]); } -core.List buildUnnamed687() => [ +core.List buildUnnamed712() => [ buildFilterSpec(), buildFilterSpec(), ]; -void checkUnnamed687(core.List o) { +void checkUnnamed712(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterSpec(o[0]); checkFilterSpec(o[1]); } -core.List buildUnnamed688() => [ +core.List buildUnnamed713() => [ buildSortSpec(), buildSortSpec(), ]; -void checkUnnamed688(core.List o) { +void checkUnnamed713(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortSpec(o[0]); checkSortSpec(o[1]); @@ -3236,12 +3236,12 @@ api.DataSourceTable buildDataSourceTable() { buildCounterDataSourceTable++; if (buildCounterDataSourceTable < 3) { o.columnSelectionType = 'foo'; - o.columns = buildUnnamed686(); + o.columns = buildUnnamed711(); o.dataExecutionStatus = buildDataExecutionStatus(); o.dataSourceId = 'foo'; - o.filterSpecs = buildUnnamed687(); + o.filterSpecs = buildUnnamed712(); o.rowLimit = 42; - o.sortSpecs = buildUnnamed688(); + o.sortSpecs = buildUnnamed713(); } buildCounterDataSourceTable--; return o; @@ -3254,18 +3254,18 @@ void checkDataSourceTable(api.DataSourceTable o) { o.columnSelectionType!, unittest.equals('foo'), ); - checkUnnamed686(o.columns!); + checkUnnamed711(o.columns!); checkDataExecutionStatus(o.dataExecutionStatus!); unittest.expect( o.dataSourceId!, unittest.equals('foo'), ); - checkUnnamed687(o.filterSpecs!); + checkUnnamed712(o.filterSpecs!); unittest.expect( o.rowLimit!, unittest.equals(42), ); - checkUnnamed688(o.sortSpecs!); + checkUnnamed713(o.sortSpecs!); } buildCounterDataSourceTable--; } @@ -3433,12 +3433,12 @@ void checkDeleteDeveloperMetadataRequest(api.DeleteDeveloperMetadataRequest o) { buildCounterDeleteDeveloperMetadataRequest--; } -core.List buildUnnamed689() => [ +core.List buildUnnamed714() => [ buildDeveloperMetadata(), buildDeveloperMetadata(), ]; -void checkUnnamed689(core.List o) { +void checkUnnamed714(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeveloperMetadata(o[0]); checkDeveloperMetadata(o[1]); @@ -3449,7 +3449,7 @@ api.DeleteDeveloperMetadataResponse buildDeleteDeveloperMetadataResponse() { final o = api.DeleteDeveloperMetadataResponse(); buildCounterDeleteDeveloperMetadataResponse++; if (buildCounterDeleteDeveloperMetadataResponse < 3) { - o.deletedDeveloperMetadata = buildUnnamed689(); + o.deletedDeveloperMetadata = buildUnnamed714(); } buildCounterDeleteDeveloperMetadataResponse--; return o; @@ -3459,7 +3459,7 @@ void checkDeleteDeveloperMetadataResponse( api.DeleteDeveloperMetadataResponse o) { buildCounterDeleteDeveloperMetadataResponse++; if (buildCounterDeleteDeveloperMetadataResponse < 3) { - checkUnnamed689(o.deletedDeveloperMetadata!); + checkUnnamed714(o.deletedDeveloperMetadata!); } buildCounterDeleteDeveloperMetadataResponse--; } @@ -3483,12 +3483,12 @@ void checkDeleteDimensionGroupRequest(api.DeleteDimensionGroupRequest o) { buildCounterDeleteDimensionGroupRequest--; } -core.List buildUnnamed690() => [ +core.List buildUnnamed715() => [ buildDimensionGroup(), buildDimensionGroup(), ]; -void checkUnnamed690(core.List o) { +void checkUnnamed715(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionGroup(o[0]); checkDimensionGroup(o[1]); @@ -3499,7 +3499,7 @@ api.DeleteDimensionGroupResponse buildDeleteDimensionGroupResponse() { final o = api.DeleteDimensionGroupResponse(); buildCounterDeleteDimensionGroupResponse++; if (buildCounterDeleteDimensionGroupResponse < 3) { - o.dimensionGroups = buildUnnamed690(); + o.dimensionGroups = buildUnnamed715(); } buildCounterDeleteDimensionGroupResponse--; return o; @@ -3508,7 +3508,7 @@ api.DeleteDimensionGroupResponse buildDeleteDimensionGroupResponse() { void checkDeleteDimensionGroupResponse(api.DeleteDimensionGroupResponse o) { buildCounterDeleteDimensionGroupResponse++; if (buildCounterDeleteDimensionGroupResponse < 3) { - checkUnnamed690(o.dimensionGroups!); + checkUnnamed715(o.dimensionGroups!); } buildCounterDeleteDimensionGroupResponse--; } @@ -3532,12 +3532,12 @@ void checkDeleteDimensionRequest(api.DeleteDimensionRequest o) { buildCounterDeleteDimensionRequest--; } -core.List buildUnnamed691() => [ +core.List buildUnnamed716() => [ buildDimensionRange(), buildDimensionRange(), ]; -void checkUnnamed691(core.List o) { +void checkUnnamed716(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionRange(o[0]); checkDimensionRange(o[1]); @@ -3548,7 +3548,7 @@ api.DeleteDuplicatesRequest buildDeleteDuplicatesRequest() { final o = api.DeleteDuplicatesRequest(); buildCounterDeleteDuplicatesRequest++; if (buildCounterDeleteDuplicatesRequest < 3) { - o.comparisonColumns = buildUnnamed691(); + o.comparisonColumns = buildUnnamed716(); o.range = buildGridRange(); } buildCounterDeleteDuplicatesRequest--; @@ -3558,7 +3558,7 @@ api.DeleteDuplicatesRequest buildDeleteDuplicatesRequest() { void checkDeleteDuplicatesRequest(api.DeleteDuplicatesRequest o) { buildCounterDeleteDuplicatesRequest++; if (buildCounterDeleteDuplicatesRequest < 3) { - checkUnnamed691(o.comparisonColumns!); + checkUnnamed716(o.comparisonColumns!); checkGridRange(o.range!); } buildCounterDeleteDuplicatesRequest--; @@ -3865,12 +3865,12 @@ void checkDimensionGroup(api.DimensionGroup o) { buildCounterDimensionGroup--; } -core.List buildUnnamed692() => [ +core.List buildUnnamed717() => [ buildDeveloperMetadata(), buildDeveloperMetadata(), ]; -void checkUnnamed692(core.List o) { +void checkUnnamed717(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeveloperMetadata(o[0]); checkDeveloperMetadata(o[1]); @@ -3882,7 +3882,7 @@ api.DimensionProperties buildDimensionProperties() { buildCounterDimensionProperties++; if (buildCounterDimensionProperties < 3) { o.dataSourceColumnReference = buildDataSourceColumnReference(); - o.developerMetadata = buildUnnamed692(); + o.developerMetadata = buildUnnamed717(); o.hiddenByFilter = true; o.hiddenByUser = true; o.pixelSize = 42; @@ -3895,7 +3895,7 @@ void checkDimensionProperties(api.DimensionProperties o) { buildCounterDimensionProperties++; if (buildCounterDimensionProperties < 3) { checkDataSourceColumnReference(o.dataSourceColumnReference!); - checkUnnamed692(o.developerMetadata!); + checkUnnamed717(o.developerMetadata!); unittest.expect(o.hiddenByFilter!, unittest.isTrue); unittest.expect(o.hiddenByUser!, unittest.isTrue); unittest.expect( @@ -4040,12 +4040,12 @@ void checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { buildCounterDuplicateSheetResponse--; } -core.List buildUnnamed693() => [ +core.List buildUnnamed718() => [ 'foo', 'foo', ]; -void checkUnnamed693(core.List o) { +void checkUnnamed718(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4057,12 +4057,12 @@ void checkUnnamed693(core.List o) { ); } -core.List buildUnnamed694() => [ +core.List buildUnnamed719() => [ 'foo', 'foo', ]; -void checkUnnamed694(core.List o) { +void checkUnnamed719(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4080,8 +4080,8 @@ api.Editors buildEditors() { buildCounterEditors++; if (buildCounterEditors < 3) { o.domainUsersCanEdit = true; - o.groups = buildUnnamed693(); - o.users = buildUnnamed694(); + o.groups = buildUnnamed718(); + o.users = buildUnnamed719(); } buildCounterEditors--; return o; @@ -4091,8 +4091,8 @@ void checkEditors(api.Editors o) { buildCounterEditors++; if (buildCounterEditors < 3) { unittest.expect(o.domainUsersCanEdit!, unittest.isTrue); - checkUnnamed693(o.groups!); - checkUnnamed694(o.users!); + checkUnnamed718(o.groups!); + checkUnnamed719(o.users!); } buildCounterEditors--; } @@ -4235,12 +4235,12 @@ void checkExtendedValue(api.ExtendedValue o) { buildCounterExtendedValue--; } -core.List buildUnnamed695() => [ +core.List buildUnnamed720() => [ 'foo', 'foo', ]; -void checkUnnamed695(core.List o) { +void checkUnnamed720(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4258,7 +4258,7 @@ api.FilterCriteria buildFilterCriteria() { buildCounterFilterCriteria++; if (buildCounterFilterCriteria < 3) { o.condition = buildBooleanCondition(); - o.hiddenValues = buildUnnamed695(); + o.hiddenValues = buildUnnamed720(); o.visibleBackgroundColor = buildColor(); o.visibleBackgroundColorStyle = buildColorStyle(); o.visibleForegroundColor = buildColor(); @@ -4272,7 +4272,7 @@ void checkFilterCriteria(api.FilterCriteria o) { buildCounterFilterCriteria++; if (buildCounterFilterCriteria < 3) { checkBooleanCondition(o.condition!); - checkUnnamed695(o.hiddenValues!); + checkUnnamed720(o.hiddenValues!); checkColor(o.visibleBackgroundColor!); checkColorStyle(o.visibleBackgroundColorStyle!); checkColor(o.visibleForegroundColor!); @@ -4307,34 +4307,34 @@ void checkFilterSpec(api.FilterSpec o) { buildCounterFilterSpec--; } -core.Map buildUnnamed696() => { +core.Map buildUnnamed721() => { 'x': buildFilterCriteria(), 'y': buildFilterCriteria(), }; -void checkUnnamed696(core.Map o) { +void checkUnnamed721(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFilterCriteria(o['x']!); checkFilterCriteria(o['y']!); } -core.List buildUnnamed697() => [ +core.List buildUnnamed722() => [ buildFilterSpec(), buildFilterSpec(), ]; -void checkUnnamed697(core.List o) { +void checkUnnamed722(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterSpec(o[0]); checkFilterSpec(o[1]); } -core.List buildUnnamed698() => [ +core.List buildUnnamed723() => [ buildSortSpec(), buildSortSpec(), ]; -void checkUnnamed698(core.List o) { +void checkUnnamed723(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortSpec(o[0]); checkSortSpec(o[1]); @@ -4345,12 +4345,12 @@ api.FilterView buildFilterView() { final o = api.FilterView(); buildCounterFilterView++; if (buildCounterFilterView < 3) { - o.criteria = buildUnnamed696(); - o.filterSpecs = buildUnnamed697(); + o.criteria = buildUnnamed721(); + o.filterSpecs = buildUnnamed722(); o.filterViewId = 42; o.namedRangeId = 'foo'; o.range = buildGridRange(); - o.sortSpecs = buildUnnamed698(); + o.sortSpecs = buildUnnamed723(); o.title = 'foo'; } buildCounterFilterView--; @@ -4360,8 +4360,8 @@ api.FilterView buildFilterView() { void checkFilterView(api.FilterView o) { buildCounterFilterView++; if (buildCounterFilterView < 3) { - checkUnnamed696(o.criteria!); - checkUnnamed697(o.filterSpecs!); + checkUnnamed721(o.criteria!); + checkUnnamed722(o.filterSpecs!); unittest.expect( o.filterViewId!, unittest.equals(42), @@ -4371,7 +4371,7 @@ void checkFilterView(api.FilterView o) { unittest.equals('foo'), ); checkGridRange(o.range!); - checkUnnamed698(o.sortSpecs!); + checkUnnamed723(o.sortSpecs!); unittest.expect( o.title!, unittest.equals('foo'), @@ -4466,12 +4466,12 @@ void checkFindReplaceResponse(api.FindReplaceResponse o) { buildCounterFindReplaceResponse--; } -core.List buildUnnamed699() => [ +core.List buildUnnamed724() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed699(core.List o) { +void checkUnnamed724(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -4482,7 +4482,7 @@ api.GetSpreadsheetByDataFilterRequest buildGetSpreadsheetByDataFilterRequest() { final o = api.GetSpreadsheetByDataFilterRequest(); buildCounterGetSpreadsheetByDataFilterRequest++; if (buildCounterGetSpreadsheetByDataFilterRequest < 3) { - o.dataFilters = buildUnnamed699(); + o.dataFilters = buildUnnamed724(); o.includeGridData = true; } buildCounterGetSpreadsheetByDataFilterRequest--; @@ -4493,7 +4493,7 @@ void checkGetSpreadsheetByDataFilterRequest( api.GetSpreadsheetByDataFilterRequest o) { buildCounterGetSpreadsheetByDataFilterRequest++; if (buildCounterGetSpreadsheetByDataFilterRequest < 3) { - checkUnnamed699(o.dataFilters!); + checkUnnamed724(o.dataFilters!); unittest.expect(o.includeGridData!, unittest.isTrue); } buildCounterGetSpreadsheetByDataFilterRequest--; @@ -4554,34 +4554,34 @@ void checkGridCoordinate(api.GridCoordinate o) { buildCounterGridCoordinate--; } -core.List buildUnnamed700() => [ +core.List buildUnnamed725() => [ buildDimensionProperties(), buildDimensionProperties(), ]; -void checkUnnamed700(core.List o) { +void checkUnnamed725(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionProperties(o[0]); checkDimensionProperties(o[1]); } -core.List buildUnnamed701() => [ +core.List buildUnnamed726() => [ buildRowData(), buildRowData(), ]; -void checkUnnamed701(core.List o) { +void checkUnnamed726(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRowData(o[0]); checkRowData(o[1]); } -core.List buildUnnamed702() => [ +core.List buildUnnamed727() => [ buildDimensionProperties(), buildDimensionProperties(), ]; -void checkUnnamed702(core.List o) { +void checkUnnamed727(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionProperties(o[0]); checkDimensionProperties(o[1]); @@ -4592,9 +4592,9 @@ api.GridData buildGridData() { final o = api.GridData(); buildCounterGridData++; if (buildCounterGridData < 3) { - o.columnMetadata = buildUnnamed700(); - o.rowData = buildUnnamed701(); - o.rowMetadata = buildUnnamed702(); + o.columnMetadata = buildUnnamed725(); + o.rowData = buildUnnamed726(); + o.rowMetadata = buildUnnamed727(); o.startColumn = 42; o.startRow = 42; } @@ -4605,9 +4605,9 @@ api.GridData buildGridData() { void checkGridData(api.GridData o) { buildCounterGridData++; if (buildCounterGridData < 3) { - checkUnnamed700(o.columnMetadata!); - checkUnnamed701(o.rowData!); - checkUnnamed702(o.rowMetadata!); + checkUnnamed725(o.columnMetadata!); + checkUnnamed726(o.rowData!); + checkUnnamed727(o.rowMetadata!); unittest.expect( o.startColumn!, unittest.equals(42), @@ -4705,12 +4705,12 @@ void checkGridRange(api.GridRange o) { buildCounterGridRange--; } -core.List buildUnnamed703() => [ +core.List buildUnnamed728() => [ buildHistogramSeries(), buildHistogramSeries(), ]; -void checkUnnamed703(core.List o) { +void checkUnnamed728(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistogramSeries(o[0]); checkHistogramSeries(o[1]); @@ -4724,7 +4724,7 @@ api.HistogramChartSpec buildHistogramChartSpec() { o.bucketSize = 42.0; o.legendPosition = 'foo'; o.outlierPercentile = 42.0; - o.series = buildUnnamed703(); + o.series = buildUnnamed728(); o.showItemDividers = true; } buildCounterHistogramChartSpec--; @@ -4746,7 +4746,7 @@ void checkHistogramChartSpec(api.HistogramChartSpec o) { o.outlierPercentile!, unittest.equals(42.0), ); - checkUnnamed703(o.series!); + checkUnnamed728(o.series!); unittest.expect(o.showItemDividers!, unittest.isTrue); } buildCounterHistogramChartSpec--; @@ -5007,12 +5007,12 @@ void checkLink(api.Link o) { buildCounterLink--; } -core.List buildUnnamed704() => [ +core.List buildUnnamed729() => [ buildManualRuleGroup(), buildManualRuleGroup(), ]; -void checkUnnamed704(core.List o) { +void checkUnnamed729(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManualRuleGroup(o[0]); checkManualRuleGroup(o[1]); @@ -5023,7 +5023,7 @@ api.ManualRule buildManualRule() { final o = api.ManualRule(); buildCounterManualRule++; if (buildCounterManualRule < 3) { - o.groups = buildUnnamed704(); + o.groups = buildUnnamed729(); } buildCounterManualRule--; return o; @@ -5032,17 +5032,17 @@ api.ManualRule buildManualRule() { void checkManualRule(api.ManualRule o) { buildCounterManualRule++; if (buildCounterManualRule < 3) { - checkUnnamed704(o.groups!); + checkUnnamed729(o.groups!); } buildCounterManualRule--; } -core.List buildUnnamed705() => [ +core.List buildUnnamed730() => [ buildExtendedValue(), buildExtendedValue(), ]; -void checkUnnamed705(core.List o) { +void checkUnnamed730(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtendedValue(o[0]); checkExtendedValue(o[1]); @@ -5054,7 +5054,7 @@ api.ManualRuleGroup buildManualRuleGroup() { buildCounterManualRuleGroup++; if (buildCounterManualRuleGroup < 3) { o.groupName = buildExtendedValue(); - o.items = buildUnnamed705(); + o.items = buildUnnamed730(); } buildCounterManualRuleGroup--; return o; @@ -5064,17 +5064,17 @@ void checkManualRuleGroup(api.ManualRuleGroup o) { buildCounterManualRuleGroup++; if (buildCounterManualRuleGroup < 3) { checkExtendedValue(o.groupName!); - checkUnnamed705(o.items!); + checkUnnamed730(o.items!); } buildCounterManualRuleGroup--; } -core.List buildUnnamed706() => [ +core.List buildUnnamed731() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed706(core.List o) { +void checkUnnamed731(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -5085,7 +5085,7 @@ api.MatchedDeveloperMetadata buildMatchedDeveloperMetadata() { final o = api.MatchedDeveloperMetadata(); buildCounterMatchedDeveloperMetadata++; if (buildCounterMatchedDeveloperMetadata < 3) { - o.dataFilters = buildUnnamed706(); + o.dataFilters = buildUnnamed731(); o.developerMetadata = buildDeveloperMetadata(); } buildCounterMatchedDeveloperMetadata--; @@ -5095,18 +5095,18 @@ api.MatchedDeveloperMetadata buildMatchedDeveloperMetadata() { void checkMatchedDeveloperMetadata(api.MatchedDeveloperMetadata o) { buildCounterMatchedDeveloperMetadata++; if (buildCounterMatchedDeveloperMetadata < 3) { - checkUnnamed706(o.dataFilters!); + checkUnnamed731(o.dataFilters!); checkDeveloperMetadata(o.developerMetadata!); } buildCounterMatchedDeveloperMetadata--; } -core.List buildUnnamed707() => [ +core.List buildUnnamed732() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed707(core.List o) { +void checkUnnamed732(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -5117,7 +5117,7 @@ api.MatchedValueRange buildMatchedValueRange() { final o = api.MatchedValueRange(); buildCounterMatchedValueRange++; if (buildCounterMatchedValueRange < 3) { - o.dataFilters = buildUnnamed707(); + o.dataFilters = buildUnnamed732(); o.valueRange = buildValueRange(); } buildCounterMatchedValueRange--; @@ -5127,7 +5127,7 @@ api.MatchedValueRange buildMatchedValueRange() { void checkMatchedValueRange(api.MatchedValueRange o) { buildCounterMatchedValueRange++; if (buildCounterMatchedValueRange < 3) { - checkUnnamed707(o.dataFilters!); + checkUnnamed732(o.dataFilters!); checkValueRange(o.valueRange!); } buildCounterMatchedValueRange--; @@ -5418,12 +5418,12 @@ void checkPieChartSpec(api.PieChartSpec o) { buildCounterPieChartSpec--; } -core.List buildUnnamed708() => [ +core.List buildUnnamed733() => [ 'foo', 'foo', ]; -void checkUnnamed708(core.List o) { +void checkUnnamed733(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5442,7 +5442,7 @@ api.PivotFilterCriteria buildPivotFilterCriteria() { if (buildCounterPivotFilterCriteria < 3) { o.condition = buildBooleanCondition(); o.visibleByDefault = true; - o.visibleValues = buildUnnamed708(); + o.visibleValues = buildUnnamed733(); } buildCounterPivotFilterCriteria--; return o; @@ -5453,7 +5453,7 @@ void checkPivotFilterCriteria(api.PivotFilterCriteria o) { if (buildCounterPivotFilterCriteria < 3) { checkBooleanCondition(o.condition!); unittest.expect(o.visibleByDefault!, unittest.isTrue); - checkUnnamed708(o.visibleValues!); + checkUnnamed733(o.visibleValues!); } buildCounterPivotFilterCriteria--; } @@ -5484,12 +5484,12 @@ void checkPivotFilterSpec(api.PivotFilterSpec o) { buildCounterPivotFilterSpec--; } -core.List buildUnnamed709() => [ +core.List buildUnnamed734() => [ buildPivotGroupValueMetadata(), buildPivotGroupValueMetadata(), ]; -void checkUnnamed709(core.List o) { +void checkUnnamed734(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotGroupValueMetadata(o[0]); checkPivotGroupValueMetadata(o[1]); @@ -5509,7 +5509,7 @@ api.PivotGroup buildPivotGroup() { o.sortOrder = 'foo'; o.sourceColumnOffset = 42; o.valueBucket = buildPivotGroupSortValueBucket(); - o.valueMetadata = buildUnnamed709(); + o.valueMetadata = buildUnnamed734(); } buildCounterPivotGroup--; return o; @@ -5536,7 +5536,7 @@ void checkPivotGroup(api.PivotGroup o) { unittest.equals(42), ); checkPivotGroupSortValueBucket(o.valueBucket!); - checkUnnamed709(o.valueMetadata!); + checkUnnamed734(o.valueMetadata!); } buildCounterPivotGroup--; } @@ -5591,12 +5591,12 @@ void checkPivotGroupRule(api.PivotGroupRule o) { buildCounterPivotGroupRule--; } -core.List buildUnnamed710() => [ +core.List buildUnnamed735() => [ buildExtendedValue(), buildExtendedValue(), ]; -void checkUnnamed710(core.List o) { +void checkUnnamed735(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtendedValue(o[0]); checkExtendedValue(o[1]); @@ -5607,7 +5607,7 @@ api.PivotGroupSortValueBucket buildPivotGroupSortValueBucket() { final o = api.PivotGroupSortValueBucket(); buildCounterPivotGroupSortValueBucket++; if (buildCounterPivotGroupSortValueBucket < 3) { - o.buckets = buildUnnamed710(); + o.buckets = buildUnnamed735(); o.valuesIndex = 42; } buildCounterPivotGroupSortValueBucket--; @@ -5617,7 +5617,7 @@ api.PivotGroupSortValueBucket buildPivotGroupSortValueBucket() { void checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { buildCounterPivotGroupSortValueBucket++; if (buildCounterPivotGroupSortValueBucket < 3) { - checkUnnamed710(o.buckets!); + checkUnnamed735(o.buckets!); unittest.expect( o.valuesIndex!, unittest.equals(42), @@ -5647,56 +5647,56 @@ void checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { buildCounterPivotGroupValueMetadata--; } -core.List buildUnnamed711() => [ +core.List buildUnnamed736() => [ buildPivotGroup(), buildPivotGroup(), ]; -void checkUnnamed711(core.List o) { +void checkUnnamed736(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotGroup(o[0]); checkPivotGroup(o[1]); } -core.Map buildUnnamed712() => { +core.Map buildUnnamed737() => { 'x': buildPivotFilterCriteria(), 'y': buildPivotFilterCriteria(), }; -void checkUnnamed712(core.Map o) { +void checkUnnamed737(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPivotFilterCriteria(o['x']!); checkPivotFilterCriteria(o['y']!); } -core.List buildUnnamed713() => [ +core.List buildUnnamed738() => [ buildPivotFilterSpec(), buildPivotFilterSpec(), ]; -void checkUnnamed713(core.List o) { +void checkUnnamed738(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotFilterSpec(o[0]); checkPivotFilterSpec(o[1]); } -core.List buildUnnamed714() => [ +core.List buildUnnamed739() => [ buildPivotGroup(), buildPivotGroup(), ]; -void checkUnnamed714(core.List o) { +void checkUnnamed739(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotGroup(o[0]); checkPivotGroup(o[1]); } -core.List buildUnnamed715() => [ +core.List buildUnnamed740() => [ buildPivotValue(), buildPivotValue(), ]; -void checkUnnamed715(core.List o) { +void checkUnnamed740(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotValue(o[0]); checkPivotValue(o[1]); @@ -5707,15 +5707,15 @@ api.PivotTable buildPivotTable() { final o = api.PivotTable(); buildCounterPivotTable++; if (buildCounterPivotTable < 3) { - o.columns = buildUnnamed711(); - o.criteria = buildUnnamed712(); + o.columns = buildUnnamed736(); + o.criteria = buildUnnamed737(); o.dataExecutionStatus = buildDataExecutionStatus(); o.dataSourceId = 'foo'; - o.filterSpecs = buildUnnamed713(); - o.rows = buildUnnamed714(); + o.filterSpecs = buildUnnamed738(); + o.rows = buildUnnamed739(); o.source = buildGridRange(); o.valueLayout = 'foo'; - o.values = buildUnnamed715(); + o.values = buildUnnamed740(); } buildCounterPivotTable--; return o; @@ -5724,21 +5724,21 @@ api.PivotTable buildPivotTable() { void checkPivotTable(api.PivotTable o) { buildCounterPivotTable++; if (buildCounterPivotTable < 3) { - checkUnnamed711(o.columns!); - checkUnnamed712(o.criteria!); + checkUnnamed736(o.columns!); + checkUnnamed737(o.criteria!); checkDataExecutionStatus(o.dataExecutionStatus!); unittest.expect( o.dataSourceId!, unittest.equals('foo'), ); - checkUnnamed713(o.filterSpecs!); - checkUnnamed714(o.rows!); + checkUnnamed738(o.filterSpecs!); + checkUnnamed739(o.rows!); checkGridRange(o.source!); unittest.expect( o.valueLayout!, unittest.equals('foo'), ); - checkUnnamed715(o.values!); + checkUnnamed740(o.values!); } buildCounterPivotTable--; } @@ -5814,12 +5814,12 @@ void checkPointStyle(api.PointStyle o) { buildCounterPointStyle--; } -core.List buildUnnamed716() => [ +core.List buildUnnamed741() => [ buildGridRange(), buildGridRange(), ]; -void checkUnnamed716(core.List o) { +void checkUnnamed741(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGridRange(o[0]); checkGridRange(o[1]); @@ -5836,7 +5836,7 @@ api.ProtectedRange buildProtectedRange() { o.protectedRangeId = 42; o.range = buildGridRange(); o.requestingUserCanEdit = true; - o.unprotectedRanges = buildUnnamed716(); + o.unprotectedRanges = buildUnnamed741(); o.warningOnly = true; } buildCounterProtectedRange--; @@ -5861,7 +5861,7 @@ void checkProtectedRange(api.ProtectedRange o) { ); checkGridRange(o.range!); unittest.expect(o.requestingUserCanEdit!, unittest.isTrue); - checkUnnamed716(o.unprotectedRanges!); + checkUnnamed741(o.unprotectedRanges!); unittest.expect(o.warningOnly!, unittest.isTrue); } buildCounterProtectedRange--; @@ -5937,12 +5937,12 @@ void checkRefreshDataSourceRequest(api.RefreshDataSourceRequest o) { buildCounterRefreshDataSourceRequest--; } -core.List buildUnnamed717() => [ +core.List buildUnnamed742() => [ buildRefreshDataSourceObjectExecutionStatus(), buildRefreshDataSourceObjectExecutionStatus(), ]; -void checkUnnamed717(core.List o) { +void checkUnnamed742(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRefreshDataSourceObjectExecutionStatus(o[0]); checkRefreshDataSourceObjectExecutionStatus(o[1]); @@ -5953,7 +5953,7 @@ api.RefreshDataSourceResponse buildRefreshDataSourceResponse() { final o = api.RefreshDataSourceResponse(); buildCounterRefreshDataSourceResponse++; if (buildCounterRefreshDataSourceResponse < 3) { - o.statuses = buildUnnamed717(); + o.statuses = buildUnnamed742(); } buildCounterRefreshDataSourceResponse--; return o; @@ -5962,7 +5962,7 @@ api.RefreshDataSourceResponse buildRefreshDataSourceResponse() { void checkRefreshDataSourceResponse(api.RefreshDataSourceResponse o) { buildCounterRefreshDataSourceResponse++; if (buildCounterRefreshDataSourceResponse < 3) { - checkUnnamed717(o.statuses!); + checkUnnamed742(o.statuses!); } buildCounterRefreshDataSourceResponse--; } @@ -6204,12 +6204,12 @@ void checkResponse(api.Response o) { buildCounterResponse--; } -core.List buildUnnamed718() => [ +core.List buildUnnamed743() => [ buildCellData(), buildCellData(), ]; -void checkUnnamed718(core.List o) { +void checkUnnamed743(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCellData(o[0]); checkCellData(o[1]); @@ -6220,7 +6220,7 @@ api.RowData buildRowData() { final o = api.RowData(); buildCounterRowData++; if (buildCounterRowData < 3) { - o.values = buildUnnamed718(); + o.values = buildUnnamed743(); } buildCounterRowData--; return o; @@ -6229,7 +6229,7 @@ api.RowData buildRowData() { void checkRowData(api.RowData o) { buildCounterRowData++; if (buildCounterRowData < 3) { - checkUnnamed718(o.values!); + checkUnnamed743(o.values!); } buildCounterRowData--; } @@ -6276,12 +6276,12 @@ void checkScorecardChartSpec(api.ScorecardChartSpec o) { buildCounterScorecardChartSpec--; } -core.List buildUnnamed719() => [ +core.List buildUnnamed744() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed719(core.List o) { +void checkUnnamed744(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -6292,7 +6292,7 @@ api.SearchDeveloperMetadataRequest buildSearchDeveloperMetadataRequest() { final o = api.SearchDeveloperMetadataRequest(); buildCounterSearchDeveloperMetadataRequest++; if (buildCounterSearchDeveloperMetadataRequest < 3) { - o.dataFilters = buildUnnamed719(); + o.dataFilters = buildUnnamed744(); } buildCounterSearchDeveloperMetadataRequest--; return o; @@ -6301,17 +6301,17 @@ api.SearchDeveloperMetadataRequest buildSearchDeveloperMetadataRequest() { void checkSearchDeveloperMetadataRequest(api.SearchDeveloperMetadataRequest o) { buildCounterSearchDeveloperMetadataRequest++; if (buildCounterSearchDeveloperMetadataRequest < 3) { - checkUnnamed719(o.dataFilters!); + checkUnnamed744(o.dataFilters!); } buildCounterSearchDeveloperMetadataRequest--; } -core.List buildUnnamed720() => [ +core.List buildUnnamed745() => [ buildMatchedDeveloperMetadata(), buildMatchedDeveloperMetadata(), ]; -void checkUnnamed720(core.List o) { +void checkUnnamed745(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatchedDeveloperMetadata(o[0]); checkMatchedDeveloperMetadata(o[1]); @@ -6322,7 +6322,7 @@ api.SearchDeveloperMetadataResponse buildSearchDeveloperMetadataResponse() { final o = api.SearchDeveloperMetadataResponse(); buildCounterSearchDeveloperMetadataResponse++; if (buildCounterSearchDeveloperMetadataResponse < 3) { - o.matchedDeveloperMetadata = buildUnnamed720(); + o.matchedDeveloperMetadata = buildUnnamed745(); } buildCounterSearchDeveloperMetadataResponse--; return o; @@ -6332,7 +6332,7 @@ void checkSearchDeveloperMetadataResponse( api.SearchDeveloperMetadataResponse o) { buildCounterSearchDeveloperMetadataResponse++; if (buildCounterSearchDeveloperMetadataResponse < 3) { - checkUnnamed720(o.matchedDeveloperMetadata!); + checkUnnamed745(o.matchedDeveloperMetadata!); } buildCounterSearchDeveloperMetadataResponse--; } @@ -6377,122 +6377,122 @@ void checkSetDataValidationRequest(api.SetDataValidationRequest o) { buildCounterSetDataValidationRequest--; } -core.List buildUnnamed721() => [ +core.List buildUnnamed746() => [ buildBandedRange(), buildBandedRange(), ]; -void checkUnnamed721(core.List o) { +void checkUnnamed746(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBandedRange(o[0]); checkBandedRange(o[1]); } -core.List buildUnnamed722() => [ +core.List buildUnnamed747() => [ buildEmbeddedChart(), buildEmbeddedChart(), ]; -void checkUnnamed722(core.List o) { +void checkUnnamed747(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEmbeddedChart(o[0]); checkEmbeddedChart(o[1]); } -core.List buildUnnamed723() => [ +core.List buildUnnamed748() => [ buildDimensionGroup(), buildDimensionGroup(), ]; -void checkUnnamed723(core.List o) { +void checkUnnamed748(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionGroup(o[0]); checkDimensionGroup(o[1]); } -core.List buildUnnamed724() => [ +core.List buildUnnamed749() => [ buildConditionalFormatRule(), buildConditionalFormatRule(), ]; -void checkUnnamed724(core.List o) { +void checkUnnamed749(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConditionalFormatRule(o[0]); checkConditionalFormatRule(o[1]); } -core.List buildUnnamed725() => [ +core.List buildUnnamed750() => [ buildGridData(), buildGridData(), ]; -void checkUnnamed725(core.List o) { +void checkUnnamed750(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGridData(o[0]); checkGridData(o[1]); } -core.List buildUnnamed726() => [ +core.List buildUnnamed751() => [ buildDeveloperMetadata(), buildDeveloperMetadata(), ]; -void checkUnnamed726(core.List o) { +void checkUnnamed751(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeveloperMetadata(o[0]); checkDeveloperMetadata(o[1]); } -core.List buildUnnamed727() => [ +core.List buildUnnamed752() => [ buildFilterView(), buildFilterView(), ]; -void checkUnnamed727(core.List o) { +void checkUnnamed752(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterView(o[0]); checkFilterView(o[1]); } -core.List buildUnnamed728() => [ +core.List buildUnnamed753() => [ buildGridRange(), buildGridRange(), ]; -void checkUnnamed728(core.List o) { +void checkUnnamed753(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGridRange(o[0]); checkGridRange(o[1]); } -core.List buildUnnamed729() => [ +core.List buildUnnamed754() => [ buildProtectedRange(), buildProtectedRange(), ]; -void checkUnnamed729(core.List o) { +void checkUnnamed754(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProtectedRange(o[0]); checkProtectedRange(o[1]); } -core.List buildUnnamed730() => [ +core.List buildUnnamed755() => [ buildDimensionGroup(), buildDimensionGroup(), ]; -void checkUnnamed730(core.List o) { +void checkUnnamed755(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionGroup(o[0]); checkDimensionGroup(o[1]); } -core.List buildUnnamed731() => [ +core.List buildUnnamed756() => [ buildSlicer(), buildSlicer(), ]; -void checkUnnamed731(core.List o) { +void checkUnnamed756(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSlicer(o[0]); checkSlicer(o[1]); @@ -6503,19 +6503,19 @@ api.Sheet buildSheet() { final o = api.Sheet(); buildCounterSheet++; if (buildCounterSheet < 3) { - o.bandedRanges = buildUnnamed721(); + o.bandedRanges = buildUnnamed746(); o.basicFilter = buildBasicFilter(); - o.charts = buildUnnamed722(); - o.columnGroups = buildUnnamed723(); - o.conditionalFormats = buildUnnamed724(); - o.data = buildUnnamed725(); - o.developerMetadata = buildUnnamed726(); - o.filterViews = buildUnnamed727(); - o.merges = buildUnnamed728(); + o.charts = buildUnnamed747(); + o.columnGroups = buildUnnamed748(); + o.conditionalFormats = buildUnnamed749(); + o.data = buildUnnamed750(); + o.developerMetadata = buildUnnamed751(); + o.filterViews = buildUnnamed752(); + o.merges = buildUnnamed753(); o.properties = buildSheetProperties(); - o.protectedRanges = buildUnnamed729(); - o.rowGroups = buildUnnamed730(); - o.slicers = buildUnnamed731(); + o.protectedRanges = buildUnnamed754(); + o.rowGroups = buildUnnamed755(); + o.slicers = buildUnnamed756(); } buildCounterSheet--; return o; @@ -6524,19 +6524,19 @@ api.Sheet buildSheet() { void checkSheet(api.Sheet o) { buildCounterSheet++; if (buildCounterSheet < 3) { - checkUnnamed721(o.bandedRanges!); + checkUnnamed746(o.bandedRanges!); checkBasicFilter(o.basicFilter!); - checkUnnamed722(o.charts!); - checkUnnamed723(o.columnGroups!); - checkUnnamed724(o.conditionalFormats!); - checkUnnamed725(o.data!); - checkUnnamed726(o.developerMetadata!); - checkUnnamed727(o.filterViews!); - checkUnnamed728(o.merges!); + checkUnnamed747(o.charts!); + checkUnnamed748(o.columnGroups!); + checkUnnamed749(o.conditionalFormats!); + checkUnnamed750(o.data!); + checkUnnamed751(o.developerMetadata!); + checkUnnamed752(o.filterViews!); + checkUnnamed753(o.merges!); checkSheetProperties(o.properties!); - checkUnnamed729(o.protectedRanges!); - checkUnnamed730(o.rowGroups!); - checkUnnamed731(o.slicers!); + checkUnnamed754(o.protectedRanges!); + checkUnnamed755(o.rowGroups!); + checkUnnamed756(o.slicers!); } buildCounterSheet--; } @@ -6660,12 +6660,12 @@ void checkSlicerSpec(api.SlicerSpec o) { buildCounterSlicerSpec--; } -core.List buildUnnamed732() => [ +core.List buildUnnamed757() => [ buildSortSpec(), buildSortSpec(), ]; -void checkUnnamed732(core.List o) { +void checkUnnamed757(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSortSpec(o[0]); checkSortSpec(o[1]); @@ -6677,7 +6677,7 @@ api.SortRangeRequest buildSortRangeRequest() { buildCounterSortRangeRequest++; if (buildCounterSortRangeRequest < 3) { o.range = buildGridRange(); - o.sortSpecs = buildUnnamed732(); + o.sortSpecs = buildUnnamed757(); } buildCounterSortRangeRequest--; return o; @@ -6687,7 +6687,7 @@ void checkSortRangeRequest(api.SortRangeRequest o) { buildCounterSortRangeRequest++; if (buildCounterSortRangeRequest < 3) { checkGridRange(o.range!); - checkUnnamed732(o.sortSpecs!); + checkUnnamed757(o.sortSpecs!); } buildCounterSortRangeRequest--; } @@ -6758,56 +6758,56 @@ void checkSourceAndDestination(api.SourceAndDestination o) { buildCounterSourceAndDestination--; } -core.List buildUnnamed733() => [ +core.List buildUnnamed758() => [ buildDataSourceRefreshSchedule(), buildDataSourceRefreshSchedule(), ]; -void checkUnnamed733(core.List o) { +void checkUnnamed758(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSourceRefreshSchedule(o[0]); checkDataSourceRefreshSchedule(o[1]); } -core.List buildUnnamed734() => [ +core.List buildUnnamed759() => [ buildDataSource(), buildDataSource(), ]; -void checkUnnamed734(core.List o) { +void checkUnnamed759(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataSource(o[0]); checkDataSource(o[1]); } -core.List buildUnnamed735() => [ +core.List buildUnnamed760() => [ buildDeveloperMetadata(), buildDeveloperMetadata(), ]; -void checkUnnamed735(core.List o) { +void checkUnnamed760(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeveloperMetadata(o[0]); checkDeveloperMetadata(o[1]); } -core.List buildUnnamed736() => [ +core.List buildUnnamed761() => [ buildNamedRange(), buildNamedRange(), ]; -void checkUnnamed736(core.List o) { +void checkUnnamed761(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamedRange(o[0]); checkNamedRange(o[1]); } -core.List buildUnnamed737() => [ +core.List buildUnnamed762() => [ buildSheet(), buildSheet(), ]; -void checkUnnamed737(core.List o) { +void checkUnnamed762(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSheet(o[0]); checkSheet(o[1]); @@ -6818,12 +6818,12 @@ api.Spreadsheet buildSpreadsheet() { final o = api.Spreadsheet(); buildCounterSpreadsheet++; if (buildCounterSpreadsheet < 3) { - o.dataSourceSchedules = buildUnnamed733(); - o.dataSources = buildUnnamed734(); - o.developerMetadata = buildUnnamed735(); - o.namedRanges = buildUnnamed736(); + o.dataSourceSchedules = buildUnnamed758(); + o.dataSources = buildUnnamed759(); + o.developerMetadata = buildUnnamed760(); + o.namedRanges = buildUnnamed761(); o.properties = buildSpreadsheetProperties(); - o.sheets = buildUnnamed737(); + o.sheets = buildUnnamed762(); o.spreadsheetId = 'foo'; o.spreadsheetUrl = 'foo'; } @@ -6834,12 +6834,12 @@ api.Spreadsheet buildSpreadsheet() { void checkSpreadsheet(api.Spreadsheet o) { buildCounterSpreadsheet++; if (buildCounterSpreadsheet < 3) { - checkUnnamed733(o.dataSourceSchedules!); - checkUnnamed734(o.dataSources!); - checkUnnamed735(o.developerMetadata!); - checkUnnamed736(o.namedRanges!); + checkUnnamed758(o.dataSourceSchedules!); + checkUnnamed759(o.dataSources!); + checkUnnamed760(o.developerMetadata!); + checkUnnamed761(o.namedRanges!); checkSpreadsheetProperties(o.properties!); - checkUnnamed737(o.sheets!); + checkUnnamed762(o.sheets!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -6895,12 +6895,12 @@ void checkSpreadsheetProperties(api.SpreadsheetProperties o) { buildCounterSpreadsheetProperties--; } -core.List buildUnnamed738() => [ +core.List buildUnnamed763() => [ buildThemeColorPair(), buildThemeColorPair(), ]; -void checkUnnamed738(core.List o) { +void checkUnnamed763(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThemeColorPair(o[0]); checkThemeColorPair(o[1]); @@ -6912,7 +6912,7 @@ api.SpreadsheetTheme buildSpreadsheetTheme() { buildCounterSpreadsheetTheme++; if (buildCounterSpreadsheetTheme < 3) { o.primaryFontFamily = 'foo'; - o.themeColors = buildUnnamed738(); + o.themeColors = buildUnnamed763(); } buildCounterSpreadsheetTheme--; return o; @@ -6925,7 +6925,7 @@ void checkSpreadsheetTheme(api.SpreadsheetTheme o) { o.primaryFontFamily!, unittest.equals('foo'), ); - checkUnnamed738(o.themeColors!); + checkUnnamed763(o.themeColors!); } buildCounterSpreadsheetTheme--; } @@ -7334,12 +7334,12 @@ void checkUpdateBordersRequest(api.UpdateBordersRequest o) { buildCounterUpdateBordersRequest--; } -core.List buildUnnamed739() => [ +core.List buildUnnamed764() => [ buildRowData(), buildRowData(), ]; -void checkUnnamed739(core.List o) { +void checkUnnamed764(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRowData(o[0]); checkRowData(o[1]); @@ -7352,7 +7352,7 @@ api.UpdateCellsRequest buildUpdateCellsRequest() { if (buildCounterUpdateCellsRequest < 3) { o.fields = 'foo'; o.range = buildGridRange(); - o.rows = buildUnnamed739(); + o.rows = buildUnnamed764(); o.start = buildGridCoordinate(); } buildCounterUpdateCellsRequest--; @@ -7367,7 +7367,7 @@ void checkUpdateCellsRequest(api.UpdateCellsRequest o) { unittest.equals('foo'), ); checkGridRange(o.range!); - checkUnnamed739(o.rows!); + checkUnnamed764(o.rows!); checkGridCoordinate(o.start!); } buildCounterUpdateCellsRequest--; @@ -7511,12 +7511,12 @@ void checkUpdateDataSourceResponse(api.UpdateDataSourceResponse o) { buildCounterUpdateDataSourceResponse--; } -core.List buildUnnamed740() => [ +core.List buildUnnamed765() => [ buildDataFilter(), buildDataFilter(), ]; -void checkUnnamed740(core.List o) { +void checkUnnamed765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataFilter(o[0]); checkDataFilter(o[1]); @@ -7527,7 +7527,7 @@ api.UpdateDeveloperMetadataRequest buildUpdateDeveloperMetadataRequest() { final o = api.UpdateDeveloperMetadataRequest(); buildCounterUpdateDeveloperMetadataRequest++; if (buildCounterUpdateDeveloperMetadataRequest < 3) { - o.dataFilters = buildUnnamed740(); + o.dataFilters = buildUnnamed765(); o.developerMetadata = buildDeveloperMetadata(); o.fields = 'foo'; } @@ -7538,7 +7538,7 @@ api.UpdateDeveloperMetadataRequest buildUpdateDeveloperMetadataRequest() { void checkUpdateDeveloperMetadataRequest(api.UpdateDeveloperMetadataRequest o) { buildCounterUpdateDeveloperMetadataRequest++; if (buildCounterUpdateDeveloperMetadataRequest < 3) { - checkUnnamed740(o.dataFilters!); + checkUnnamed765(o.dataFilters!); checkDeveloperMetadata(o.developerMetadata!); unittest.expect( o.fields!, @@ -7548,12 +7548,12 @@ void checkUpdateDeveloperMetadataRequest(api.UpdateDeveloperMetadataRequest o) { buildCounterUpdateDeveloperMetadataRequest--; } -core.List buildUnnamed741() => [ +core.List buildUnnamed766() => [ buildDeveloperMetadata(), buildDeveloperMetadata(), ]; -void checkUnnamed741(core.List o) { +void checkUnnamed766(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeveloperMetadata(o[0]); checkDeveloperMetadata(o[1]); @@ -7564,7 +7564,7 @@ api.UpdateDeveloperMetadataResponse buildUpdateDeveloperMetadataResponse() { final o = api.UpdateDeveloperMetadataResponse(); buildCounterUpdateDeveloperMetadataResponse++; if (buildCounterUpdateDeveloperMetadataResponse < 3) { - o.developerMetadata = buildUnnamed741(); + o.developerMetadata = buildUnnamed766(); } buildCounterUpdateDeveloperMetadataResponse--; return o; @@ -7574,7 +7574,7 @@ void checkUpdateDeveloperMetadataResponse( api.UpdateDeveloperMetadataResponse o) { buildCounterUpdateDeveloperMetadataResponse++; if (buildCounterUpdateDeveloperMetadataResponse < 3) { - checkUnnamed741(o.developerMetadata!); + checkUnnamed766(o.developerMetadata!); } buildCounterUpdateDeveloperMetadataResponse--; } @@ -7951,7 +7951,7 @@ void checkUpdateValuesResponse(api.UpdateValuesResponse o) { buildCounterUpdateValuesResponse--; } -core.List buildUnnamed742() => [ +core.List buildUnnamed767() => [ { 'list': [1, 2, 3], 'bool': true, @@ -7964,7 +7964,7 @@ core.List buildUnnamed742() => [ }, ]; -void checkUnnamed742(core.List o) { +void checkUnnamed767(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -7996,15 +7996,15 @@ void checkUnnamed742(core.List o) { ); } -core.List> buildUnnamed743() => [ - buildUnnamed742(), - buildUnnamed742(), +core.List> buildUnnamed768() => [ + buildUnnamed767(), + buildUnnamed767(), ]; -void checkUnnamed743(core.List> o) { +void checkUnnamed768(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed742(o[0]); - checkUnnamed742(o[1]); + checkUnnamed767(o[0]); + checkUnnamed767(o[1]); } core.int buildCounterValueRange = 0; @@ -8014,7 +8014,7 @@ api.ValueRange buildValueRange() { if (buildCounterValueRange < 3) { o.majorDimension = 'foo'; o.range = 'foo'; - o.values = buildUnnamed743(); + o.values = buildUnnamed768(); } buildCounterValueRange--; return o; @@ -8031,7 +8031,7 @@ void checkValueRange(api.ValueRange o) { o.range!, unittest.equals('foo'), ); - checkUnnamed743(o.values!); + checkUnnamed768(o.values!); } buildCounterValueRange--; } @@ -8112,12 +8112,12 @@ void checkWaterfallChartDomain(api.WaterfallChartDomain o) { buildCounterWaterfallChartDomain--; } -core.List buildUnnamed744() => [ +core.List buildUnnamed769() => [ buildWaterfallChartCustomSubtotal(), buildWaterfallChartCustomSubtotal(), ]; -void checkUnnamed744(core.List o) { +void checkUnnamed769(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWaterfallChartCustomSubtotal(o[0]); checkWaterfallChartCustomSubtotal(o[1]); @@ -8128,7 +8128,7 @@ api.WaterfallChartSeries buildWaterfallChartSeries() { final o = api.WaterfallChartSeries(); buildCounterWaterfallChartSeries++; if (buildCounterWaterfallChartSeries < 3) { - o.customSubtotals = buildUnnamed744(); + o.customSubtotals = buildUnnamed769(); o.data = buildChartData(); o.dataLabel = buildDataLabel(); o.hideTrailingSubtotal = true; @@ -8143,7 +8143,7 @@ api.WaterfallChartSeries buildWaterfallChartSeries() { void checkWaterfallChartSeries(api.WaterfallChartSeries o) { buildCounterWaterfallChartSeries++; if (buildCounterWaterfallChartSeries < 3) { - checkUnnamed744(o.customSubtotals!); + checkUnnamed769(o.customSubtotals!); checkChartData(o.data!); checkDataLabel(o.dataLabel!); unittest.expect(o.hideTrailingSubtotal!, unittest.isTrue); @@ -8154,12 +8154,12 @@ void checkWaterfallChartSeries(api.WaterfallChartSeries o) { buildCounterWaterfallChartSeries--; } -core.List buildUnnamed745() => [ +core.List buildUnnamed770() => [ buildWaterfallChartSeries(), buildWaterfallChartSeries(), ]; -void checkUnnamed745(core.List o) { +void checkUnnamed770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWaterfallChartSeries(o[0]); checkWaterfallChartSeries(o[1]); @@ -8174,7 +8174,7 @@ api.WaterfallChartSpec buildWaterfallChartSpec() { o.domain = buildWaterfallChartDomain(); o.firstValueIsTotal = true; o.hideConnectorLines = true; - o.series = buildUnnamed745(); + o.series = buildUnnamed770(); o.stackedType = 'foo'; o.totalDataLabel = buildDataLabel(); } @@ -8189,7 +8189,7 @@ void checkWaterfallChartSpec(api.WaterfallChartSpec o) { checkWaterfallChartDomain(o.domain!); unittest.expect(o.firstValueIsTotal!, unittest.isTrue); unittest.expect(o.hideConnectorLines!, unittest.isTrue); - checkUnnamed745(o.series!); + checkUnnamed770(o.series!); unittest.expect( o.stackedType!, unittest.equals('foo'), @@ -8199,12 +8199,12 @@ void checkWaterfallChartSpec(api.WaterfallChartSpec o) { buildCounterWaterfallChartSpec--; } -core.List buildUnnamed746() => [ +core.List buildUnnamed771() => [ 'foo', 'foo', ]; -void checkUnnamed746(core.List o) { +void checkUnnamed771(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8216,12 +8216,12 @@ void checkUnnamed746(core.List o) { ); } -core.List buildUnnamed747() => [ +core.List buildUnnamed772() => [ 'foo', 'foo', ]; -void checkUnnamed747(core.List o) { +void checkUnnamed772(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10817,7 +10817,7 @@ void main() { final res = api.SheetsApi(mock).spreadsheets; final arg_spreadsheetId = 'foo'; final arg_includeGridData = true; - final arg_ranges = buildUnnamed746(); + final arg_ranges = buildUnnamed771(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -11460,7 +11460,7 @@ void main() { final arg_spreadsheetId = 'foo'; final arg_dateTimeRenderOption = 'foo'; final arg_majorDimension = 'foo'; - final arg_ranges = buildUnnamed747(); + final arg_ranges = buildUnnamed772(); final arg_valueRenderOption = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart index 2ae858c7c..a8237dbfc 100644 --- a/generated/googleapis/test/siteverification/v1_test.dart +++ b/generated/googleapis/test/siteverification/v1_test.dart @@ -110,12 +110,12 @@ void checkSiteVerificationWebResourceGettokenResponse( buildCounterSiteVerificationWebResourceGettokenResponse--; } -core.List buildUnnamed5731() => [ +core.List buildUnnamed5796() => [ buildSiteVerificationWebResourceResource(), buildSiteVerificationWebResourceResource(), ]; -void checkUnnamed5731(core.List o) { +void checkUnnamed5796(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSiteVerificationWebResourceResource(o[0]); checkSiteVerificationWebResourceResource(o[1]); @@ -127,7 +127,7 @@ api.SiteVerificationWebResourceListResponse final o = api.SiteVerificationWebResourceListResponse(); buildCounterSiteVerificationWebResourceListResponse++; if (buildCounterSiteVerificationWebResourceListResponse < 3) { - o.items = buildUnnamed5731(); + o.items = buildUnnamed5796(); } buildCounterSiteVerificationWebResourceListResponse--; return o; @@ -137,17 +137,17 @@ void checkSiteVerificationWebResourceListResponse( api.SiteVerificationWebResourceListResponse o) { buildCounterSiteVerificationWebResourceListResponse++; if (buildCounterSiteVerificationWebResourceListResponse < 3) { - checkUnnamed5731(o.items!); + checkUnnamed5796(o.items!); } buildCounterSiteVerificationWebResourceListResponse--; } -core.List buildUnnamed5732() => [ +core.List buildUnnamed5797() => [ 'foo', 'foo', ]; -void checkUnnamed5732(core.List o) { +void checkUnnamed5797(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -195,7 +195,7 @@ api.SiteVerificationWebResourceResource buildCounterSiteVerificationWebResourceResource++; if (buildCounterSiteVerificationWebResourceResource < 3) { o.id = 'foo'; - o.owners = buildUnnamed5732(); + o.owners = buildUnnamed5797(); o.site = buildSiteVerificationWebResourceResourceSite(); } buildCounterSiteVerificationWebResourceResource--; @@ -210,7 +210,7 @@ void checkSiteVerificationWebResourceResource( o.id!, unittest.equals('foo'), ); - checkUnnamed5732(o.owners!); + checkUnnamed5797(o.owners!); checkSiteVerificationWebResourceResourceSite(o.site!); } buildCounterSiteVerificationWebResourceResource--; diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart index f96e99d90..f7a165e0f 100644 --- a/generated/googleapis/test/slides/v1_test.dart +++ b/generated/googleapis/test/slides/v1_test.dart @@ -139,12 +139,12 @@ void checkAutofit(api.Autofit o) { buildCounterAutofit--; } -core.List buildUnnamed2619() => [ +core.List buildUnnamed2609() => [ buildRequest(), buildRequest(), ]; -void checkUnnamed2619(core.List o) { +void checkUnnamed2609(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRequest(o[0]); checkRequest(o[1]); @@ -155,7 +155,7 @@ api.BatchUpdatePresentationRequest buildBatchUpdatePresentationRequest() { final o = api.BatchUpdatePresentationRequest(); buildCounterBatchUpdatePresentationRequest++; if (buildCounterBatchUpdatePresentationRequest < 3) { - o.requests = buildUnnamed2619(); + o.requests = buildUnnamed2609(); o.writeControl = buildWriteControl(); } buildCounterBatchUpdatePresentationRequest--; @@ -165,18 +165,18 @@ api.BatchUpdatePresentationRequest buildBatchUpdatePresentationRequest() { void checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) { buildCounterBatchUpdatePresentationRequest++; if (buildCounterBatchUpdatePresentationRequest < 3) { - checkUnnamed2619(o.requests!); + checkUnnamed2609(o.requests!); checkWriteControl(o.writeControl!); } buildCounterBatchUpdatePresentationRequest--; } -core.List buildUnnamed2620() => [ +core.List buildUnnamed2610() => [ buildResponse(), buildResponse(), ]; -void checkUnnamed2620(core.List o) { +void checkUnnamed2610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResponse(o[0]); checkResponse(o[1]); @@ -188,7 +188,7 @@ api.BatchUpdatePresentationResponse buildBatchUpdatePresentationResponse() { buildCounterBatchUpdatePresentationResponse++; if (buildCounterBatchUpdatePresentationResponse < 3) { o.presentationId = 'foo'; - o.replies = buildUnnamed2620(); + o.replies = buildUnnamed2610(); o.writeControl = buildWriteControl(); } buildCounterBatchUpdatePresentationResponse--; @@ -203,7 +203,7 @@ void checkBatchUpdatePresentationResponse( o.presentationId!, unittest.equals('foo'), ); - checkUnnamed2620(o.replies!); + checkUnnamed2610(o.replies!); checkWriteControl(o.writeControl!); } buildCounterBatchUpdatePresentationResponse--; @@ -243,12 +243,12 @@ void checkBullet(api.Bullet o) { buildCounterBullet--; } -core.List buildUnnamed2621() => [ +core.List buildUnnamed2611() => [ buildThemeColorPair(), buildThemeColorPair(), ]; -void checkUnnamed2621(core.List o) { +void checkUnnamed2611(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThemeColorPair(o[0]); checkThemeColorPair(o[1]); @@ -259,7 +259,7 @@ api.ColorScheme buildColorScheme() { final o = api.ColorScheme(); buildCounterColorScheme++; if (buildCounterColorScheme < 3) { - o.colors = buildUnnamed2621(); + o.colors = buildUnnamed2611(); } buildCounterColorScheme--; return o; @@ -268,7 +268,7 @@ api.ColorScheme buildColorScheme() { void checkColorScheme(api.ColorScheme o) { buildCounterColorScheme++; if (buildCounterColorScheme < 3) { - checkUnnamed2621(o.colors!); + checkUnnamed2611(o.colors!); } buildCounterColorScheme--; } @@ -552,12 +552,12 @@ void checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) { buildCounterCreateSheetsChartResponse--; } -core.List buildUnnamed2622() => [ +core.List buildUnnamed2612() => [ buildLayoutPlaceholderIdMapping(), buildLayoutPlaceholderIdMapping(), ]; -void checkUnnamed2622(core.List o) { +void checkUnnamed2612(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLayoutPlaceholderIdMapping(o[0]); checkLayoutPlaceholderIdMapping(o[1]); @@ -570,7 +570,7 @@ api.CreateSlideRequest buildCreateSlideRequest() { if (buildCounterCreateSlideRequest < 3) { o.insertionIndex = 42; o.objectId = 'foo'; - o.placeholderIdMappings = buildUnnamed2622(); + o.placeholderIdMappings = buildUnnamed2612(); o.slideLayoutReference = buildLayoutReference(); } buildCounterCreateSlideRequest--; @@ -588,7 +588,7 @@ void checkCreateSlideRequest(api.CreateSlideRequest o) { o.objectId!, unittest.equals('foo'), ); - checkUnnamed2622(o.placeholderIdMappings!); + checkUnnamed2612(o.placeholderIdMappings!); checkLayoutReference(o.slideLayoutReference!); } buildCounterCreateSlideRequest--; @@ -919,12 +919,12 @@ void checkDimension(api.Dimension o) { buildCounterDimension--; } -core.Map buildUnnamed2623() => { +core.Map buildUnnamed2613() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2623(core.Map o) { +void checkUnnamed2613(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -942,7 +942,7 @@ api.DuplicateObjectRequest buildDuplicateObjectRequest() { buildCounterDuplicateObjectRequest++; if (buildCounterDuplicateObjectRequest < 3) { o.objectId = 'foo'; - o.objectIds = buildUnnamed2623(); + o.objectIds = buildUnnamed2613(); } buildCounterDuplicateObjectRequest--; return o; @@ -955,7 +955,7 @@ void checkDuplicateObjectRequest(api.DuplicateObjectRequest o) { o.objectId!, unittest.equals('foo'), ); - checkUnnamed2623(o.objectIds!); + checkUnnamed2613(o.objectIds!); } buildCounterDuplicateObjectRequest--; } @@ -982,12 +982,12 @@ void checkDuplicateObjectResponse(api.DuplicateObjectResponse o) { buildCounterDuplicateObjectResponse--; } -core.List buildUnnamed2624() => [ +core.List buildUnnamed2614() => [ buildPageElement(), buildPageElement(), ]; -void checkUnnamed2624(core.List o) { +void checkUnnamed2614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPageElement(o[0]); checkPageElement(o[1]); @@ -998,7 +998,7 @@ api.Group buildGroup() { final o = api.Group(); buildCounterGroup++; if (buildCounterGroup < 3) { - o.children = buildUnnamed2624(); + o.children = buildUnnamed2614(); } buildCounterGroup--; return o; @@ -1007,17 +1007,17 @@ api.Group buildGroup() { void checkGroup(api.Group o) { buildCounterGroup++; if (buildCounterGroup < 3) { - checkUnnamed2624(o.children!); + checkUnnamed2614(o.children!); } buildCounterGroup--; } -core.List buildUnnamed2625() => [ +core.List buildUnnamed2615() => [ 'foo', 'foo', ]; -void checkUnnamed2625(core.List o) { +void checkUnnamed2615(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1034,7 +1034,7 @@ api.GroupObjectsRequest buildGroupObjectsRequest() { final o = api.GroupObjectsRequest(); buildCounterGroupObjectsRequest++; if (buildCounterGroupObjectsRequest < 3) { - o.childrenObjectIds = buildUnnamed2625(); + o.childrenObjectIds = buildUnnamed2615(); o.groupObjectId = 'foo'; } buildCounterGroupObjectsRequest--; @@ -1044,7 +1044,7 @@ api.GroupObjectsRequest buildGroupObjectsRequest() { void checkGroupObjectsRequest(api.GroupObjectsRequest o) { buildCounterGroupObjectsRequest++; if (buildCounterGroupObjectsRequest < 3) { - checkUnnamed2625(o.childrenObjectIds!); + checkUnnamed2615(o.childrenObjectIds!); unittest.expect( o.groupObjectId!, unittest.equals('foo'), @@ -1082,6 +1082,7 @@ api.Image buildImage() { if (buildCounterImage < 3) { o.contentUrl = 'foo'; o.imageProperties = buildImageProperties(); + o.placeholder = buildPlaceholder(); o.sourceUrl = 'foo'; } buildCounterImage--; @@ -1096,6 +1097,7 @@ void checkImage(api.Image o) { unittest.equals('foo'), ); checkImageProperties(o.imageProperties!); + checkPlaceholder(o.placeholder!); unittest.expect( o.sourceUrl!, unittest.equals('foo'), @@ -1484,12 +1486,12 @@ void checkLink(api.Link o) { buildCounterLink--; } -core.Map buildUnnamed2626() => { +core.Map buildUnnamed2616() => { 'x': buildNestingLevel(), 'y': buildNestingLevel(), }; -void checkUnnamed2626(core.Map o) { +void checkUnnamed2616(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNestingLevel(o['x']!); checkNestingLevel(o['y']!); @@ -1501,7 +1503,7 @@ api.List buildList() { buildCounterList++; if (buildCounterList < 3) { o.listId = 'foo'; - o.nestingLevel = buildUnnamed2626(); + o.nestingLevel = buildUnnamed2616(); } buildCounterList--; return o; @@ -1514,7 +1516,7 @@ void checkList(api.List o) { o.listId!, unittest.equals('foo'), ); - checkUnnamed2626(o.nestingLevel!); + checkUnnamed2616(o.nestingLevel!); } buildCounterList--; } @@ -1699,12 +1701,12 @@ void checkOutlineFill(api.OutlineFill o) { buildCounterOutlineFill--; } -core.List buildUnnamed2627() => [ +core.List buildUnnamed2617() => [ buildPageElement(), buildPageElement(), ]; -void checkUnnamed2627(core.List o) { +void checkUnnamed2617(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPageElement(o[0]); checkPageElement(o[1]); @@ -1719,7 +1721,7 @@ api.Page buildPage() { o.masterProperties = buildMasterProperties(); o.notesProperties = buildNotesProperties(); o.objectId = 'foo'; - o.pageElements = buildUnnamed2627(); + o.pageElements = buildUnnamed2617(); o.pageProperties = buildPageProperties(); o.pageType = 'foo'; o.revisionId = 'foo'; @@ -1739,7 +1741,7 @@ void checkPage(api.Page o) { o.objectId!, unittest.equals('foo'), ); - checkUnnamed2627(o.pageElements!); + checkUnnamed2617(o.pageElements!); checkPageProperties(o.pageProperties!); unittest.expect( o.pageType!, @@ -1979,34 +1981,34 @@ void checkPlaceholder(api.Placeholder o) { buildCounterPlaceholder--; } -core.List buildUnnamed2628() => [ +core.List buildUnnamed2618() => [ buildPage(), buildPage(), ]; -void checkUnnamed2628(core.List o) { +void checkUnnamed2618(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); } -core.List buildUnnamed2629() => [ +core.List buildUnnamed2619() => [ buildPage(), buildPage(), ]; -void checkUnnamed2629(core.List o) { +void checkUnnamed2619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); } -core.List buildUnnamed2630() => [ +core.List buildUnnamed2620() => [ buildPage(), buildPage(), ]; -void checkUnnamed2630(core.List o) { +void checkUnnamed2620(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -2017,14 +2019,14 @@ api.Presentation buildPresentation() { final o = api.Presentation(); buildCounterPresentation++; if (buildCounterPresentation < 3) { - o.layouts = buildUnnamed2628(); + o.layouts = buildUnnamed2618(); o.locale = 'foo'; - o.masters = buildUnnamed2629(); + o.masters = buildUnnamed2619(); o.notesMaster = buildPage(); o.pageSize = buildSize(); o.presentationId = 'foo'; o.revisionId = 'foo'; - o.slides = buildUnnamed2630(); + o.slides = buildUnnamed2620(); o.title = 'foo'; } buildCounterPresentation--; @@ -2034,12 +2036,12 @@ api.Presentation buildPresentation() { void checkPresentation(api.Presentation o) { buildCounterPresentation++; if (buildCounterPresentation < 3) { - checkUnnamed2628(o.layouts!); + checkUnnamed2618(o.layouts!); unittest.expect( o.locale!, unittest.equals('foo'), ); - checkUnnamed2629(o.masters!); + checkUnnamed2619(o.masters!); checkPage(o.notesMaster!); checkSize(o.pageSize!); unittest.expect( @@ -2050,7 +2052,7 @@ void checkPresentation(api.Presentation o) { o.revisionId!, unittest.equals('foo'), ); - checkUnnamed2630(o.slides!); + checkUnnamed2620(o.slides!); unittest.expect( o.title!, unittest.equals('foo'), @@ -2091,12 +2093,12 @@ void checkRange(api.Range o) { buildCounterRange--; } -core.List buildUnnamed2631() => [ +core.List buildUnnamed2621() => [ buildColorStop(), buildColorStop(), ]; -void checkUnnamed2631(core.List o) { +void checkUnnamed2621(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkColorStop(o[0]); checkColorStop(o[1]); @@ -2108,7 +2110,7 @@ api.Recolor buildRecolor() { buildCounterRecolor++; if (buildCounterRecolor < 3) { o.name = 'foo'; - o.recolorStops = buildUnnamed2631(); + o.recolorStops = buildUnnamed2621(); } buildCounterRecolor--; return o; @@ -2121,7 +2123,7 @@ void checkRecolor(api.Recolor o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2631(o.recolorStops!); + checkUnnamed2621(o.recolorStops!); } buildCounterRecolor--; } @@ -2148,12 +2150,12 @@ void checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { buildCounterRefreshSheetsChartRequest--; } -core.List buildUnnamed2632() => [ +core.List buildUnnamed2622() => [ 'foo', 'foo', ]; -void checkUnnamed2632(core.List o) { +void checkUnnamed2622(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2173,7 +2175,7 @@ api.ReplaceAllShapesWithImageRequest buildReplaceAllShapesWithImageRequest() { o.containsText = buildSubstringMatchCriteria(); o.imageReplaceMethod = 'foo'; o.imageUrl = 'foo'; - o.pageObjectIds = buildUnnamed2632(); + o.pageObjectIds = buildUnnamed2622(); o.replaceMethod = 'foo'; } buildCounterReplaceAllShapesWithImageRequest--; @@ -2193,7 +2195,7 @@ void checkReplaceAllShapesWithImageRequest( o.imageUrl!, unittest.equals('foo'), ); - checkUnnamed2632(o.pageObjectIds!); + checkUnnamed2622(o.pageObjectIds!); unittest.expect( o.replaceMethod!, unittest.equals('foo'), @@ -2225,12 +2227,12 @@ void checkReplaceAllShapesWithImageResponse( buildCounterReplaceAllShapesWithImageResponse--; } -core.List buildUnnamed2633() => [ +core.List buildUnnamed2623() => [ 'foo', 'foo', ]; -void checkUnnamed2633(core.List o) { +void checkUnnamed2623(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2251,7 +2253,7 @@ api.ReplaceAllShapesWithSheetsChartRequest o.chartId = 42; o.containsText = buildSubstringMatchCriteria(); o.linkingMode = 'foo'; - o.pageObjectIds = buildUnnamed2633(); + o.pageObjectIds = buildUnnamed2623(); o.spreadsheetId = 'foo'; } buildCounterReplaceAllShapesWithSheetsChartRequest--; @@ -2271,7 +2273,7 @@ void checkReplaceAllShapesWithSheetsChartRequest( o.linkingMode!, unittest.equals('foo'), ); - checkUnnamed2633(o.pageObjectIds!); + checkUnnamed2623(o.pageObjectIds!); unittest.expect( o.spreadsheetId!, unittest.equals('foo'), @@ -2304,12 +2306,12 @@ void checkReplaceAllShapesWithSheetsChartResponse( buildCounterReplaceAllShapesWithSheetsChartResponse--; } -core.List buildUnnamed2634() => [ +core.List buildUnnamed2624() => [ 'foo', 'foo', ]; -void checkUnnamed2634(core.List o) { +void checkUnnamed2624(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2327,7 +2329,7 @@ api.ReplaceAllTextRequest buildReplaceAllTextRequest() { buildCounterReplaceAllTextRequest++; if (buildCounterReplaceAllTextRequest < 3) { o.containsText = buildSubstringMatchCriteria(); - o.pageObjectIds = buildUnnamed2634(); + o.pageObjectIds = buildUnnamed2624(); o.replaceText = 'foo'; } buildCounterReplaceAllTextRequest--; @@ -2338,7 +2340,7 @@ void checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { buildCounterReplaceAllTextRequest++; if (buildCounterReplaceAllTextRequest < 3) { checkSubstringMatchCriteria(o.containsText!); - checkUnnamed2634(o.pageObjectIds!); + checkUnnamed2624(o.pageObjectIds!); unittest.expect( o.replaceText!, unittest.equals('foo'), @@ -2911,45 +2913,45 @@ void checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { buildCounterSubstringMatchCriteria--; } -core.List buildUnnamed2635() => [ +core.List buildUnnamed2625() => [ buildTableBorderRow(), buildTableBorderRow(), ]; -void checkUnnamed2635(core.List o) { +void checkUnnamed2625(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableBorderRow(o[0]); checkTableBorderRow(o[1]); } -core.List buildUnnamed2636() => [ +core.List buildUnnamed2626() => [ buildTableColumnProperties(), buildTableColumnProperties(), ]; -void checkUnnamed2636(core.List o) { +void checkUnnamed2626(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableColumnProperties(o[0]); checkTableColumnProperties(o[1]); } -core.List buildUnnamed2637() => [ +core.List buildUnnamed2627() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed2637(core.List o) { +void checkUnnamed2627(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); } -core.List buildUnnamed2638() => [ +core.List buildUnnamed2628() => [ buildTableBorderRow(), buildTableBorderRow(), ]; -void checkUnnamed2638(core.List o) { +void checkUnnamed2628(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableBorderRow(o[0]); checkTableBorderRow(o[1]); @@ -2961,11 +2963,11 @@ api.Table buildTable() { buildCounterTable++; if (buildCounterTable < 3) { o.columns = 42; - o.horizontalBorderRows = buildUnnamed2635(); + o.horizontalBorderRows = buildUnnamed2625(); o.rows = 42; - o.tableColumns = buildUnnamed2636(); - o.tableRows = buildUnnamed2637(); - o.verticalBorderRows = buildUnnamed2638(); + o.tableColumns = buildUnnamed2626(); + o.tableRows = buildUnnamed2627(); + o.verticalBorderRows = buildUnnamed2628(); } buildCounterTable--; return o; @@ -2978,14 +2980,14 @@ void checkTable(api.Table o) { o.columns!, unittest.equals(42), ); - checkUnnamed2635(o.horizontalBorderRows!); + checkUnnamed2625(o.horizontalBorderRows!); unittest.expect( o.rows!, unittest.equals(42), ); - checkUnnamed2636(o.tableColumns!); - checkUnnamed2637(o.tableRows!); - checkUnnamed2638(o.verticalBorderRows!); + checkUnnamed2626(o.tableColumns!); + checkUnnamed2627(o.tableRows!); + checkUnnamed2628(o.verticalBorderRows!); } buildCounterTable--; } @@ -3056,12 +3058,12 @@ void checkTableBorderProperties(api.TableBorderProperties o) { buildCounterTableBorderProperties--; } -core.List buildUnnamed2639() => [ +core.List buildUnnamed2629() => [ buildTableBorderCell(), buildTableBorderCell(), ]; -void checkUnnamed2639(core.List o) { +void checkUnnamed2629(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableBorderCell(o[0]); checkTableBorderCell(o[1]); @@ -3072,7 +3074,7 @@ api.TableBorderRow buildTableBorderRow() { final o = api.TableBorderRow(); buildCounterTableBorderRow++; if (buildCounterTableBorderRow < 3) { - o.tableBorderCells = buildUnnamed2639(); + o.tableBorderCells = buildUnnamed2629(); } buildCounterTableBorderRow--; return o; @@ -3081,7 +3083,7 @@ api.TableBorderRow buildTableBorderRow() { void checkTableBorderRow(api.TableBorderRow o) { buildCounterTableBorderRow++; if (buildCounterTableBorderRow < 3) { - checkUnnamed2639(o.tableBorderCells!); + checkUnnamed2629(o.tableBorderCells!); } buildCounterTableBorderRow--; } @@ -3242,12 +3244,12 @@ void checkTableRange(api.TableRange o) { buildCounterTableRange--; } -core.List buildUnnamed2640() => [ +core.List buildUnnamed2630() => [ buildTableCell(), buildTableCell(), ]; -void checkUnnamed2640(core.List o) { +void checkUnnamed2630(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableCell(o[0]); checkTableCell(o[1]); @@ -3259,7 +3261,7 @@ api.TableRow buildTableRow() { buildCounterTableRow++; if (buildCounterTableRow < 3) { o.rowHeight = buildDimension(); - o.tableCells = buildUnnamed2640(); + o.tableCells = buildUnnamed2630(); o.tableRowProperties = buildTableRowProperties(); } buildCounterTableRow--; @@ -3270,7 +3272,7 @@ void checkTableRow(api.TableRow o) { buildCounterTableRow++; if (buildCounterTableRow < 3) { checkDimension(o.rowHeight!); - checkUnnamed2640(o.tableCells!); + checkUnnamed2630(o.tableCells!); checkTableRowProperties(o.tableRowProperties!); } buildCounterTableRow--; @@ -3295,23 +3297,23 @@ void checkTableRowProperties(api.TableRowProperties o) { buildCounterTableRowProperties--; } -core.Map buildUnnamed2641() => { +core.Map buildUnnamed2631() => { 'x': buildList(), 'y': buildList(), }; -void checkUnnamed2641(core.Map o) { +void checkUnnamed2631(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkList(o['x']!); checkList(o['y']!); } -core.List buildUnnamed2642() => [ +core.List buildUnnamed2632() => [ buildTextElement(), buildTextElement(), ]; -void checkUnnamed2642(core.List o) { +void checkUnnamed2632(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTextElement(o[0]); checkTextElement(o[1]); @@ -3322,8 +3324,8 @@ api.TextContent buildTextContent() { final o = api.TextContent(); buildCounterTextContent++; if (buildCounterTextContent < 3) { - o.lists = buildUnnamed2641(); - o.textElements = buildUnnamed2642(); + o.lists = buildUnnamed2631(); + o.textElements = buildUnnamed2632(); } buildCounterTextContent--; return o; @@ -3332,8 +3334,8 @@ api.TextContent buildTextContent() { void checkTextContent(api.TextContent o) { buildCounterTextContent++; if (buildCounterTextContent < 3) { - checkUnnamed2641(o.lists!); - checkUnnamed2642(o.textElements!); + checkUnnamed2631(o.lists!); + checkUnnamed2632(o.textElements!); } buildCounterTextContent--; } @@ -3498,12 +3500,12 @@ void checkThumbnail(api.Thumbnail o) { buildCounterThumbnail--; } -core.List buildUnnamed2643() => [ +core.List buildUnnamed2633() => [ 'foo', 'foo', ]; -void checkUnnamed2643(core.List o) { +void checkUnnamed2633(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3520,7 +3522,7 @@ api.UngroupObjectsRequest buildUngroupObjectsRequest() { final o = api.UngroupObjectsRequest(); buildCounterUngroupObjectsRequest++; if (buildCounterUngroupObjectsRequest < 3) { - o.objectIds = buildUnnamed2643(); + o.objectIds = buildUnnamed2633(); } buildCounterUngroupObjectsRequest--; return o; @@ -3529,7 +3531,7 @@ api.UngroupObjectsRequest buildUngroupObjectsRequest() { void checkUngroupObjectsRequest(api.UngroupObjectsRequest o) { buildCounterUngroupObjectsRequest++; if (buildCounterUngroupObjectsRequest < 3) { - checkUnnamed2643(o.objectIds!); + checkUnnamed2633(o.objectIds!); } buildCounterUngroupObjectsRequest--; } @@ -3706,12 +3708,12 @@ void checkUpdatePageElementTransformRequest( buildCounterUpdatePageElementTransformRequest--; } -core.List buildUnnamed2644() => [ +core.List buildUnnamed2634() => [ 'foo', 'foo', ]; -void checkUnnamed2644(core.List o) { +void checkUnnamed2634(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3729,7 +3731,7 @@ api.UpdatePageElementsZOrderRequest buildUpdatePageElementsZOrderRequest() { buildCounterUpdatePageElementsZOrderRequest++; if (buildCounterUpdatePageElementsZOrderRequest < 3) { o.operation = 'foo'; - o.pageElementObjectIds = buildUnnamed2644(); + o.pageElementObjectIds = buildUnnamed2634(); } buildCounterUpdatePageElementsZOrderRequest--; return o; @@ -3743,7 +3745,7 @@ void checkUpdatePageElementsZOrderRequest( o.operation!, unittest.equals('foo'), ); - checkUnnamed2644(o.pageElementObjectIds!); + checkUnnamed2634(o.pageElementObjectIds!); } buildCounterUpdatePageElementsZOrderRequest--; } @@ -3868,12 +3870,12 @@ void checkUpdateSlidePropertiesRequest(api.UpdateSlidePropertiesRequest o) { buildCounterUpdateSlidePropertiesRequest--; } -core.List buildUnnamed2645() => [ +core.List buildUnnamed2635() => [ 'foo', 'foo', ]; -void checkUnnamed2645(core.List o) { +void checkUnnamed2635(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3891,7 +3893,7 @@ api.UpdateSlidesPositionRequest buildUpdateSlidesPositionRequest() { buildCounterUpdateSlidesPositionRequest++; if (buildCounterUpdateSlidesPositionRequest < 3) { o.insertionIndex = 42; - o.slideObjectIds = buildUnnamed2645(); + o.slideObjectIds = buildUnnamed2635(); } buildCounterUpdateSlidesPositionRequest--; return o; @@ -3904,7 +3906,7 @@ void checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { o.insertionIndex!, unittest.equals(42), ); - checkUnnamed2645(o.slideObjectIds!); + checkUnnamed2635(o.slideObjectIds!); } buildCounterUpdateSlidesPositionRequest--; } @@ -3979,12 +3981,12 @@ void checkUpdateTableCellPropertiesRequest( buildCounterUpdateTableCellPropertiesRequest--; } -core.List buildUnnamed2646() => [ +core.List buildUnnamed2636() => [ 42, 42, ]; -void checkUnnamed2646(core.List o) { +void checkUnnamed2636(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4002,7 +4004,7 @@ api.UpdateTableColumnPropertiesRequest final o = api.UpdateTableColumnPropertiesRequest(); buildCounterUpdateTableColumnPropertiesRequest++; if (buildCounterUpdateTableColumnPropertiesRequest < 3) { - o.columnIndices = buildUnnamed2646(); + o.columnIndices = buildUnnamed2636(); o.fields = 'foo'; o.objectId = 'foo'; o.tableColumnProperties = buildTableColumnProperties(); @@ -4015,7 +4017,7 @@ void checkUpdateTableColumnPropertiesRequest( api.UpdateTableColumnPropertiesRequest o) { buildCounterUpdateTableColumnPropertiesRequest++; if (buildCounterUpdateTableColumnPropertiesRequest < 3) { - checkUnnamed2646(o.columnIndices!); + checkUnnamed2636(o.columnIndices!); unittest.expect( o.fields!, unittest.equals('foo'), @@ -4029,12 +4031,12 @@ void checkUpdateTableColumnPropertiesRequest( buildCounterUpdateTableColumnPropertiesRequest--; } -core.List buildUnnamed2647() => [ +core.List buildUnnamed2637() => [ 42, 42, ]; -void checkUnnamed2647(core.List o) { +void checkUnnamed2637(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4053,7 +4055,7 @@ api.UpdateTableRowPropertiesRequest buildUpdateTableRowPropertiesRequest() { if (buildCounterUpdateTableRowPropertiesRequest < 3) { o.fields = 'foo'; o.objectId = 'foo'; - o.rowIndices = buildUnnamed2647(); + o.rowIndices = buildUnnamed2637(); o.tableRowProperties = buildTableRowProperties(); } buildCounterUpdateTableRowPropertiesRequest--; @@ -4072,7 +4074,7 @@ void checkUpdateTableRowPropertiesRequest( o.objectId!, unittest.equals('foo'), ); - checkUnnamed2647(o.rowIndices!); + checkUnnamed2637(o.rowIndices!); checkTableRowProperties(o.tableRowProperties!); } buildCounterUpdateTableRowPropertiesRequest--; diff --git a/generated/googleapis/test/smartdevicemanagement/v1_test.dart b/generated/googleapis/test/smartdevicemanagement/v1_test.dart index 59ff4973d..15178d0f3 100644 --- a/generated/googleapis/test/smartdevicemanagement/v1_test.dart +++ b/generated/googleapis/test/smartdevicemanagement/v1_test.dart @@ -26,19 +26,19 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7274() => [ +core.List buildUnnamed7354() => [ buildGoogleHomeEnterpriseSdmV1ParentRelation(), buildGoogleHomeEnterpriseSdmV1ParentRelation(), ]; -void checkUnnamed7274( +void checkUnnamed7354( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleHomeEnterpriseSdmV1ParentRelation(o[0]); checkGoogleHomeEnterpriseSdmV1ParentRelation(o[1]); } -core.Map buildUnnamed7275() => { +core.Map buildUnnamed7355() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -51,7 +51,7 @@ core.Map buildUnnamed7275() => { }, }; -void checkUnnamed7275(core.Map o) { +void checkUnnamed7355(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -89,8 +89,8 @@ api.GoogleHomeEnterpriseSdmV1Device buildGoogleHomeEnterpriseSdmV1Device() { buildCounterGoogleHomeEnterpriseSdmV1Device++; if (buildCounterGoogleHomeEnterpriseSdmV1Device < 3) { o.name = 'foo'; - o.parentRelations = buildUnnamed7274(); - o.traits = buildUnnamed7275(); + o.parentRelations = buildUnnamed7354(); + o.traits = buildUnnamed7355(); o.type = 'foo'; } buildCounterGoogleHomeEnterpriseSdmV1Device--; @@ -105,8 +105,8 @@ void checkGoogleHomeEnterpriseSdmV1Device( o.name!, unittest.equals('foo'), ); - checkUnnamed7274(o.parentRelations!); - checkUnnamed7275(o.traits!); + checkUnnamed7354(o.parentRelations!); + checkUnnamed7355(o.traits!); unittest.expect( o.type!, unittest.equals('foo'), @@ -115,7 +115,7 @@ void checkGoogleHomeEnterpriseSdmV1Device( buildCounterGoogleHomeEnterpriseSdmV1Device--; } -core.Map buildUnnamed7276() => { +core.Map buildUnnamed7356() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -128,7 +128,7 @@ core.Map buildUnnamed7276() => { }, }; -void checkUnnamed7276(core.Map o) { +void checkUnnamed7356(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -167,7 +167,7 @@ api.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest++; if (buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest < 3) { o.command = 'foo'; - o.params = buildUnnamed7276(); + o.params = buildUnnamed7356(); } buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest--; return o; @@ -181,12 +181,12 @@ void checkGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest( o.command!, unittest.equals('foo'), ); - checkUnnamed7276(o.params!); + checkUnnamed7356(o.params!); } buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest--; } -core.Map buildUnnamed7277() => { +core.Map buildUnnamed7357() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -199,7 +199,7 @@ core.Map buildUnnamed7277() => { }, }; -void checkUnnamed7277(core.Map o) { +void checkUnnamed7357(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -237,7 +237,7 @@ api.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse final o = api.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse(); buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse++; if (buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse < 3) { - o.results = buildUnnamed7277(); + o.results = buildUnnamed7357(); } buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse--; return o; @@ -247,17 +247,17 @@ void checkGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse( api.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse o) { buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse++; if (buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse < 3) { - checkUnnamed7277(o.results!); + checkUnnamed7357(o.results!); } buildCounterGoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse--; } -core.List buildUnnamed7278() => [ +core.List buildUnnamed7358() => [ buildGoogleHomeEnterpriseSdmV1Device(), buildGoogleHomeEnterpriseSdmV1Device(), ]; -void checkUnnamed7278(core.List o) { +void checkUnnamed7358(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleHomeEnterpriseSdmV1Device(o[0]); checkGoogleHomeEnterpriseSdmV1Device(o[1]); @@ -269,7 +269,7 @@ api.GoogleHomeEnterpriseSdmV1ListDevicesResponse final o = api.GoogleHomeEnterpriseSdmV1ListDevicesResponse(); buildCounterGoogleHomeEnterpriseSdmV1ListDevicesResponse++; if (buildCounterGoogleHomeEnterpriseSdmV1ListDevicesResponse < 3) { - o.devices = buildUnnamed7278(); + o.devices = buildUnnamed7358(); o.nextPageToken = 'foo'; } buildCounterGoogleHomeEnterpriseSdmV1ListDevicesResponse--; @@ -280,7 +280,7 @@ void checkGoogleHomeEnterpriseSdmV1ListDevicesResponse( api.GoogleHomeEnterpriseSdmV1ListDevicesResponse o) { buildCounterGoogleHomeEnterpriseSdmV1ListDevicesResponse++; if (buildCounterGoogleHomeEnterpriseSdmV1ListDevicesResponse < 3) { - checkUnnamed7278(o.devices!); + checkUnnamed7358(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -289,12 +289,12 @@ void checkGoogleHomeEnterpriseSdmV1ListDevicesResponse( buildCounterGoogleHomeEnterpriseSdmV1ListDevicesResponse--; } -core.List buildUnnamed7279() => [ +core.List buildUnnamed7359() => [ buildGoogleHomeEnterpriseSdmV1Room(), buildGoogleHomeEnterpriseSdmV1Room(), ]; -void checkUnnamed7279(core.List o) { +void checkUnnamed7359(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleHomeEnterpriseSdmV1Room(o[0]); checkGoogleHomeEnterpriseSdmV1Room(o[1]); @@ -307,7 +307,7 @@ api.GoogleHomeEnterpriseSdmV1ListRoomsResponse buildCounterGoogleHomeEnterpriseSdmV1ListRoomsResponse++; if (buildCounterGoogleHomeEnterpriseSdmV1ListRoomsResponse < 3) { o.nextPageToken = 'foo'; - o.rooms = buildUnnamed7279(); + o.rooms = buildUnnamed7359(); } buildCounterGoogleHomeEnterpriseSdmV1ListRoomsResponse--; return o; @@ -321,17 +321,17 @@ void checkGoogleHomeEnterpriseSdmV1ListRoomsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7279(o.rooms!); + checkUnnamed7359(o.rooms!); } buildCounterGoogleHomeEnterpriseSdmV1ListRoomsResponse--; } -core.List buildUnnamed7280() => [ +core.List buildUnnamed7360() => [ buildGoogleHomeEnterpriseSdmV1Structure(), buildGoogleHomeEnterpriseSdmV1Structure(), ]; -void checkUnnamed7280(core.List o) { +void checkUnnamed7360(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleHomeEnterpriseSdmV1Structure(o[0]); checkGoogleHomeEnterpriseSdmV1Structure(o[1]); @@ -344,7 +344,7 @@ api.GoogleHomeEnterpriseSdmV1ListStructuresResponse buildCounterGoogleHomeEnterpriseSdmV1ListStructuresResponse++; if (buildCounterGoogleHomeEnterpriseSdmV1ListStructuresResponse < 3) { o.nextPageToken = 'foo'; - o.structures = buildUnnamed7280(); + o.structures = buildUnnamed7360(); } buildCounterGoogleHomeEnterpriseSdmV1ListStructuresResponse--; return o; @@ -358,7 +358,7 @@ void checkGoogleHomeEnterpriseSdmV1ListStructuresResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7280(o.structures!); + checkUnnamed7360(o.structures!); } buildCounterGoogleHomeEnterpriseSdmV1ListStructuresResponse--; } @@ -392,7 +392,7 @@ void checkGoogleHomeEnterpriseSdmV1ParentRelation( buildCounterGoogleHomeEnterpriseSdmV1ParentRelation--; } -core.Map buildUnnamed7281() => { +core.Map buildUnnamed7361() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -405,7 +405,7 @@ core.Map buildUnnamed7281() => { }, }; -void checkUnnamed7281(core.Map o) { +void checkUnnamed7361(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -443,7 +443,7 @@ api.GoogleHomeEnterpriseSdmV1Room buildGoogleHomeEnterpriseSdmV1Room() { buildCounterGoogleHomeEnterpriseSdmV1Room++; if (buildCounterGoogleHomeEnterpriseSdmV1Room < 3) { o.name = 'foo'; - o.traits = buildUnnamed7281(); + o.traits = buildUnnamed7361(); } buildCounterGoogleHomeEnterpriseSdmV1Room--; return o; @@ -456,12 +456,12 @@ void checkGoogleHomeEnterpriseSdmV1Room(api.GoogleHomeEnterpriseSdmV1Room o) { o.name!, unittest.equals('foo'), ); - checkUnnamed7281(o.traits!); + checkUnnamed7361(o.traits!); } buildCounterGoogleHomeEnterpriseSdmV1Room--; } -core.Map buildUnnamed7282() => { +core.Map buildUnnamed7362() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -474,7 +474,7 @@ core.Map buildUnnamed7282() => { }, }; -void checkUnnamed7282(core.Map o) { +void checkUnnamed7362(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -513,7 +513,7 @@ api.GoogleHomeEnterpriseSdmV1Structure buildCounterGoogleHomeEnterpriseSdmV1Structure++; if (buildCounterGoogleHomeEnterpriseSdmV1Structure < 3) { o.name = 'foo'; - o.traits = buildUnnamed7282(); + o.traits = buildUnnamed7362(); } buildCounterGoogleHomeEnterpriseSdmV1Structure--; return o; @@ -527,7 +527,7 @@ void checkGoogleHomeEnterpriseSdmV1Structure( o.name!, unittest.equals('foo'), ); - checkUnnamed7282(o.traits!); + checkUnnamed7362(o.traits!); } buildCounterGoogleHomeEnterpriseSdmV1Structure--; } diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart index 24f67353f..e1755cdf5 100644 --- a/generated/googleapis/test/sourcerepo/v1_test.dart +++ b/generated/googleapis/test/sourcerepo/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed4511() => [ +core.List buildUnnamed4524() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed4511(core.List o) { +void checkUnnamed4524(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed4511(); + o.auditLogConfigs = buildUnnamed4524(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed4511(o.auditLogConfigs!); + checkUnnamed4524(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed4512() => [ +core.List buildUnnamed4525() => [ 'foo', 'foo', ]; -void checkUnnamed4512(core.List o) { +void checkUnnamed4525(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed4512(); + o.exemptedMembers = buildUnnamed4525(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed4512(o.exemptedMembers!); + checkUnnamed4525(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed4513() => [ +core.List buildUnnamed4526() => [ 'foo', 'foo', ]; -void checkUnnamed4513(core.List o) { +void checkUnnamed4526(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed4513(); + o.members = buildUnnamed4526(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed4513(o.members!); + checkUnnamed4526(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -197,12 +197,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed4514() => [ +core.List buildUnnamed4527() => [ buildRepo(), buildRepo(), ]; -void checkUnnamed4514(core.List o) { +void checkUnnamed4527(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRepo(o[0]); checkRepo(o[1]); @@ -214,7 +214,7 @@ api.ListReposResponse buildListReposResponse() { buildCounterListReposResponse++; if (buildCounterListReposResponse < 3) { o.nextPageToken = 'foo'; - o.repos = buildUnnamed4514(); + o.repos = buildUnnamed4527(); } buildCounterListReposResponse--; return o; @@ -227,7 +227,7 @@ void checkListReposResponse(api.ListReposResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4514(o.repos!); + checkUnnamed4527(o.repos!); } buildCounterListReposResponse--; } @@ -264,7 +264,7 @@ void checkMirrorConfig(api.MirrorConfig o) { buildCounterMirrorConfig--; } -core.Map buildUnnamed4515() => { +core.Map buildUnnamed4528() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -277,7 +277,7 @@ core.Map buildUnnamed4515() => { }, }; -void checkUnnamed4515(core.Map o) { +void checkUnnamed4528(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -309,7 +309,7 @@ void checkUnnamed4515(core.Map o) { ); } -core.Map buildUnnamed4516() => { +core.Map buildUnnamed4529() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -322,7 +322,7 @@ core.Map buildUnnamed4516() => { }, }; -void checkUnnamed4516(core.Map o) { +void checkUnnamed4529(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -361,9 +361,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4515(); + o.metadata = buildUnnamed4528(); o.name = 'foo'; - o.response = buildUnnamed4516(); + o.response = buildUnnamed4529(); } buildCounterOperation--; return o; @@ -374,33 +374,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4515(o.metadata!); + checkUnnamed4528(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4516(o.response!); + checkUnnamed4529(o.response!); } buildCounterOperation--; } -core.List buildUnnamed4517() => [ +core.List buildUnnamed4530() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed4517(core.List o) { +void checkUnnamed4530(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed4518() => [ +core.List buildUnnamed4531() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed4518(core.List o) { +void checkUnnamed4531(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -411,8 +411,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed4517(); - o.bindings = buildUnnamed4518(); + o.auditConfigs = buildUnnamed4530(); + o.bindings = buildUnnamed4531(); o.etag = 'foo'; o.version = 42; } @@ -423,8 +423,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed4517(o.auditConfigs!); - checkUnnamed4518(o.bindings!); + checkUnnamed4530(o.auditConfigs!); + checkUnnamed4531(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -437,12 +437,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.Map buildUnnamed4519() => { +core.Map buildUnnamed4532() => { 'x': buildPubsubConfig(), 'y': buildPubsubConfig(), }; -void checkUnnamed4519(core.Map o) { +void checkUnnamed4532(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPubsubConfig(o['x']!); checkPubsubConfig(o['y']!); @@ -455,7 +455,7 @@ api.ProjectConfig buildProjectConfig() { if (buildCounterProjectConfig < 3) { o.enablePrivateKeyCheck = true; o.name = 'foo'; - o.pubsubConfigs = buildUnnamed4519(); + o.pubsubConfigs = buildUnnamed4532(); } buildCounterProjectConfig--; return o; @@ -469,7 +469,7 @@ void checkProjectConfig(api.ProjectConfig o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4519(o.pubsubConfigs!); + checkUnnamed4532(o.pubsubConfigs!); } buildCounterProjectConfig--; } @@ -506,12 +506,12 @@ void checkPubsubConfig(api.PubsubConfig o) { buildCounterPubsubConfig--; } -core.Map buildUnnamed4520() => { +core.Map buildUnnamed4533() => { 'x': buildPubsubConfig(), 'y': buildPubsubConfig(), }; -void checkUnnamed4520(core.Map o) { +void checkUnnamed4533(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPubsubConfig(o['x']!); checkPubsubConfig(o['y']!); @@ -524,7 +524,7 @@ api.Repo buildRepo() { if (buildCounterRepo < 3) { o.mirrorConfig = buildMirrorConfig(); o.name = 'foo'; - o.pubsubConfigs = buildUnnamed4520(); + o.pubsubConfigs = buildUnnamed4533(); o.size = 'foo'; o.url = 'foo'; } @@ -540,7 +540,7 @@ void checkRepo(api.Repo o) { o.name!, unittest.equals('foo'), ); - checkUnnamed4520(o.pubsubConfigs!); + checkUnnamed4533(o.pubsubConfigs!); unittest.expect( o.size!, unittest.equals('foo'), @@ -577,7 +577,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed4521() => { +core.Map buildUnnamed4534() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -590,7 +590,7 @@ core.Map buildUnnamed4521() => { }, }; -void checkUnnamed4521(core.Map o) { +void checkUnnamed4534(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -622,15 +622,15 @@ void checkUnnamed4521(core.Map o) { ); } -core.List> buildUnnamed4522() => [ - buildUnnamed4521(), - buildUnnamed4521(), +core.List> buildUnnamed4535() => [ + buildUnnamed4534(), + buildUnnamed4534(), ]; -void checkUnnamed4522(core.List> o) { +void checkUnnamed4535(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4521(o[0]); - checkUnnamed4521(o[1]); + checkUnnamed4534(o[0]); + checkUnnamed4534(o[1]); } core.int buildCounterStatus = 0; @@ -639,7 +639,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4522(); + o.details = buildUnnamed4535(); o.message = 'foo'; } buildCounterStatus--; @@ -653,7 +653,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4522(o.details!); + checkUnnamed4535(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -714,12 +714,12 @@ void checkSyncRepoRequest(api.SyncRepoRequest o) { buildCounterSyncRepoRequest--; } -core.List buildUnnamed4523() => [ +core.List buildUnnamed4536() => [ 'foo', 'foo', ]; -void checkUnnamed4523(core.List o) { +void checkUnnamed4536(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -736,7 +736,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed4523(); + o.permissions = buildUnnamed4536(); } buildCounterTestIamPermissionsRequest--; return o; @@ -745,17 +745,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed4523(o.permissions!); + checkUnnamed4536(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed4524() => [ +core.List buildUnnamed4537() => [ 'foo', 'foo', ]; -void checkUnnamed4524(core.List o) { +void checkUnnamed4537(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -772,7 +772,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed4524(); + o.permissions = buildUnnamed4537(); } buildCounterTestIamPermissionsResponse--; return o; @@ -781,7 +781,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed4524(o.permissions!); + checkUnnamed4537(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart index eff037b7a..2c4226857 100644 --- a/generated/googleapis/test/spanner/v1_test.dart +++ b/generated/googleapis/test/spanner/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1957() => [ +core.List buildUnnamed1988() => [ 'foo', 'foo', ]; -void checkUnnamed1957(core.List o) { +void checkUnnamed1988(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -53,7 +53,7 @@ api.Backup buildBackup() { o.encryptionInfo = buildEncryptionInfo(); o.expireTime = 'foo'; o.name = 'foo'; - o.referencingDatabases = buildUnnamed1957(); + o.referencingDatabases = buildUnnamed1988(); o.sizeBytes = 'foo'; o.state = 'foo'; o.versionTime = 'foo'; @@ -82,7 +82,7 @@ void checkBackup(api.Backup o) { o.name!, unittest.equals('foo'), ); - checkUnnamed1957(o.referencingDatabases!); + checkUnnamed1988(o.referencingDatabases!); unittest.expect( o.sizeBytes!, unittest.equals('foo'), @@ -160,12 +160,12 @@ void checkBatchCreateSessionsRequest(api.BatchCreateSessionsRequest o) { buildCounterBatchCreateSessionsRequest--; } -core.List buildUnnamed1958() => [ +core.List buildUnnamed1989() => [ buildSession(), buildSession(), ]; -void checkUnnamed1958(core.List o) { +void checkUnnamed1989(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSession(o[0]); checkSession(o[1]); @@ -176,7 +176,7 @@ api.BatchCreateSessionsResponse buildBatchCreateSessionsResponse() { final o = api.BatchCreateSessionsResponse(); buildCounterBatchCreateSessionsResponse++; if (buildCounterBatchCreateSessionsResponse < 3) { - o.session = buildUnnamed1958(); + o.session = buildUnnamed1989(); } buildCounterBatchCreateSessionsResponse--; return o; @@ -185,7 +185,7 @@ api.BatchCreateSessionsResponse buildBatchCreateSessionsResponse() { void checkBatchCreateSessionsResponse(api.BatchCreateSessionsResponse o) { buildCounterBatchCreateSessionsResponse++; if (buildCounterBatchCreateSessionsResponse < 3) { - checkUnnamed1958(o.session!); + checkUnnamed1989(o.session!); } buildCounterBatchCreateSessionsResponse--; } @@ -211,12 +211,12 @@ void checkBeginTransactionRequest(api.BeginTransactionRequest o) { buildCounterBeginTransactionRequest--; } -core.List buildUnnamed1959() => [ +core.List buildUnnamed1990() => [ 'foo', 'foo', ]; -void checkUnnamed1959(core.List o) { +void checkUnnamed1990(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -234,7 +234,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed1959(); + o.members = buildUnnamed1990(); o.role = 'foo'; } buildCounterBinding--; @@ -245,7 +245,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed1959(o.members!); + checkUnnamed1990(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -286,12 +286,12 @@ void checkChildLink(api.ChildLink o) { buildCounterChildLink--; } -core.List buildUnnamed1960() => [ +core.List buildUnnamed1991() => [ buildMutation(), buildMutation(), ]; -void checkUnnamed1960(core.List o) { +void checkUnnamed1991(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMutation(o[0]); checkMutation(o[1]); @@ -302,7 +302,7 @@ api.CommitRequest buildCommitRequest() { final o = api.CommitRequest(); buildCounterCommitRequest++; if (buildCounterCommitRequest < 3) { - o.mutations = buildUnnamed1960(); + o.mutations = buildUnnamed1991(); o.requestOptions = buildRequestOptions(); o.returnCommitStats = true; o.singleUseTransaction = buildTransactionOptions(); @@ -315,7 +315,7 @@ api.CommitRequest buildCommitRequest() { void checkCommitRequest(api.CommitRequest o) { buildCounterCommitRequest++; if (buildCounterCommitRequest < 3) { - checkUnnamed1960(o.mutations!); + checkUnnamed1991(o.mutations!); checkRequestOptions(o.requestOptions!); unittest.expect(o.returnCommitStats!, unittest.isTrue); checkTransactionOptions(o.singleUseTransaction!); @@ -463,12 +463,12 @@ void checkCreateDatabaseMetadata(api.CreateDatabaseMetadata o) { buildCounterCreateDatabaseMetadata--; } -core.List buildUnnamed1961() => [ +core.List buildUnnamed1992() => [ 'foo', 'foo', ]; -void checkUnnamed1961(core.List o) { +void checkUnnamed1992(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -487,7 +487,7 @@ api.CreateDatabaseRequest buildCreateDatabaseRequest() { if (buildCounterCreateDatabaseRequest < 3) { o.createStatement = 'foo'; o.encryptionConfig = buildEncryptionConfig(); - o.extraStatements = buildUnnamed1961(); + o.extraStatements = buildUnnamed1992(); } buildCounterCreateDatabaseRequest--; return o; @@ -501,7 +501,7 @@ void checkCreateDatabaseRequest(api.CreateDatabaseRequest o) { unittest.equals('foo'), ); checkEncryptionConfig(o.encryptionConfig!); - checkUnnamed1961(o.extraStatements!); + checkUnnamed1992(o.extraStatements!); } buildCounterCreateDatabaseRequest--; } @@ -583,12 +583,12 @@ void checkCreateSessionRequest(api.CreateSessionRequest o) { buildCounterCreateSessionRequest--; } -core.List buildUnnamed1962() => [ +core.List buildUnnamed1993() => [ buildEncryptionInfo(), buildEncryptionInfo(), ]; -void checkUnnamed1962(core.List o) { +void checkUnnamed1993(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEncryptionInfo(o[0]); checkEncryptionInfo(o[1]); @@ -603,7 +603,7 @@ api.Database buildDatabase() { o.defaultLeader = 'foo'; o.earliestVersionTime = 'foo'; o.encryptionConfig = buildEncryptionConfig(); - o.encryptionInfo = buildUnnamed1962(); + o.encryptionInfo = buildUnnamed1993(); o.name = 'foo'; o.restoreInfo = buildRestoreInfo(); o.state = 'foo'; @@ -629,7 +629,7 @@ void checkDatabase(api.Database o) { unittest.equals('foo'), ); checkEncryptionConfig(o.encryptionConfig!); - checkUnnamed1962(o.encryptionInfo!); + checkUnnamed1993(o.encryptionInfo!); unittest.expect( o.name!, unittest.equals('foo'), @@ -788,12 +788,12 @@ void checkEncryptionInfo(api.EncryptionInfo o) { buildCounterEncryptionInfo--; } -core.List buildUnnamed1963() => [ +core.List buildUnnamed1994() => [ buildStatement(), buildStatement(), ]; -void checkUnnamed1963(core.List o) { +void checkUnnamed1994(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatement(o[0]); checkStatement(o[1]); @@ -806,7 +806,7 @@ api.ExecuteBatchDmlRequest buildExecuteBatchDmlRequest() { if (buildCounterExecuteBatchDmlRequest < 3) { o.requestOptions = buildRequestOptions(); o.seqno = 'foo'; - o.statements = buildUnnamed1963(); + o.statements = buildUnnamed1994(); o.transaction = buildTransactionSelector(); } buildCounterExecuteBatchDmlRequest--; @@ -821,18 +821,18 @@ void checkExecuteBatchDmlRequest(api.ExecuteBatchDmlRequest o) { o.seqno!, unittest.equals('foo'), ); - checkUnnamed1963(o.statements!); + checkUnnamed1994(o.statements!); checkTransactionSelector(o.transaction!); } buildCounterExecuteBatchDmlRequest--; } -core.List buildUnnamed1964() => [ +core.List buildUnnamed1995() => [ buildResultSet(), buildResultSet(), ]; -void checkUnnamed1964(core.List o) { +void checkUnnamed1995(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResultSet(o[0]); checkResultSet(o[1]); @@ -843,7 +843,7 @@ api.ExecuteBatchDmlResponse buildExecuteBatchDmlResponse() { final o = api.ExecuteBatchDmlResponse(); buildCounterExecuteBatchDmlResponse++; if (buildCounterExecuteBatchDmlResponse < 3) { - o.resultSets = buildUnnamed1964(); + o.resultSets = buildUnnamed1995(); o.status = buildStatus(); } buildCounterExecuteBatchDmlResponse--; @@ -853,24 +853,24 @@ api.ExecuteBatchDmlResponse buildExecuteBatchDmlResponse() { void checkExecuteBatchDmlResponse(api.ExecuteBatchDmlResponse o) { buildCounterExecuteBatchDmlResponse++; if (buildCounterExecuteBatchDmlResponse < 3) { - checkUnnamed1964(o.resultSets!); + checkUnnamed1995(o.resultSets!); checkStatus(o.status!); } buildCounterExecuteBatchDmlResponse--; } -core.Map buildUnnamed1965() => { +core.Map buildUnnamed1996() => { 'x': buildType(), 'y': buildType(), }; -void checkUnnamed1965(core.Map o) { +void checkUnnamed1996(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkType(o['x']!); checkType(o['y']!); } -core.Map buildUnnamed1966() => { +core.Map buildUnnamed1997() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -883,7 +883,7 @@ core.Map buildUnnamed1966() => { }, }; -void checkUnnamed1966(core.Map o) { +void checkUnnamed1997(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -920,8 +920,8 @@ api.ExecuteSqlRequest buildExecuteSqlRequest() { final o = api.ExecuteSqlRequest(); buildCounterExecuteSqlRequest++; if (buildCounterExecuteSqlRequest < 3) { - o.paramTypes = buildUnnamed1965(); - o.params = buildUnnamed1966(); + o.paramTypes = buildUnnamed1996(); + o.params = buildUnnamed1997(); o.partitionToken = 'foo'; o.queryMode = 'foo'; o.queryOptions = buildQueryOptions(); @@ -938,8 +938,8 @@ api.ExecuteSqlRequest buildExecuteSqlRequest() { void checkExecuteSqlRequest(api.ExecuteSqlRequest o) { buildCounterExecuteSqlRequest++; if (buildCounterExecuteSqlRequest < 3) { - checkUnnamed1965(o.paramTypes!); - checkUnnamed1966(o.params!); + checkUnnamed1996(o.paramTypes!); + checkUnnamed1997(o.params!); unittest.expect( o.partitionToken!, unittest.equals('foo'), @@ -1028,12 +1028,12 @@ void checkField(api.Field o) { buildCounterField--; } -core.List buildUnnamed1967() => [ +core.List buildUnnamed1998() => [ 'foo', 'foo', ]; -void checkUnnamed1967(core.List o) { +void checkUnnamed1998(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1050,7 +1050,7 @@ api.GetDatabaseDdlResponse buildGetDatabaseDdlResponse() { final o = api.GetDatabaseDdlResponse(); buildCounterGetDatabaseDdlResponse++; if (buildCounterGetDatabaseDdlResponse < 3) { - o.statements = buildUnnamed1967(); + o.statements = buildUnnamed1998(); } buildCounterGetDatabaseDdlResponse--; return o; @@ -1059,7 +1059,7 @@ api.GetDatabaseDdlResponse buildGetDatabaseDdlResponse() { void checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) { buildCounterGetDatabaseDdlResponse++; if (buildCounterGetDatabaseDdlResponse < 3) { - checkUnnamed1967(o.statements!); + checkUnnamed1998(o.statements!); } buildCounterGetDatabaseDdlResponse--; } @@ -1105,12 +1105,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.Map buildUnnamed1968() => { +core.Map buildUnnamed1999() => { 'x': 42, 'y': 42, }; -void checkUnnamed1968(core.Map o) { +void checkUnnamed1999(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1127,7 +1127,7 @@ api.IndexedHotKey buildIndexedHotKey() { final o = api.IndexedHotKey(); buildCounterIndexedHotKey++; if (buildCounterIndexedHotKey < 3) { - o.sparseHotKeys = buildUnnamed1968(); + o.sparseHotKeys = buildUnnamed1999(); } buildCounterIndexedHotKey--; return o; @@ -1136,17 +1136,17 @@ api.IndexedHotKey buildIndexedHotKey() { void checkIndexedHotKey(api.IndexedHotKey o) { buildCounterIndexedHotKey++; if (buildCounterIndexedHotKey < 3) { - checkUnnamed1968(o.sparseHotKeys!); + checkUnnamed1999(o.sparseHotKeys!); } buildCounterIndexedHotKey--; } -core.Map buildUnnamed1969() => { +core.Map buildUnnamed2000() => { 'x': buildKeyRangeInfos(), 'y': buildKeyRangeInfos(), }; -void checkUnnamed1969(core.Map o) { +void checkUnnamed2000(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkKeyRangeInfos(o['x']!); checkKeyRangeInfos(o['y']!); @@ -1157,7 +1157,7 @@ api.IndexedKeyRangeInfos buildIndexedKeyRangeInfos() { final o = api.IndexedKeyRangeInfos(); buildCounterIndexedKeyRangeInfos++; if (buildCounterIndexedKeyRangeInfos < 3) { - o.keyRangeInfos = buildUnnamed1969(); + o.keyRangeInfos = buildUnnamed2000(); } buildCounterIndexedKeyRangeInfos--; return o; @@ -1166,17 +1166,17 @@ api.IndexedKeyRangeInfos buildIndexedKeyRangeInfos() { void checkIndexedKeyRangeInfos(api.IndexedKeyRangeInfos o) { buildCounterIndexedKeyRangeInfos++; if (buildCounterIndexedKeyRangeInfos < 3) { - checkUnnamed1969(o.keyRangeInfos!); + checkUnnamed2000(o.keyRangeInfos!); } buildCounterIndexedKeyRangeInfos--; } -core.List buildUnnamed1970() => [ +core.List buildUnnamed2001() => [ 'foo', 'foo', ]; -void checkUnnamed1970(core.List o) { +void checkUnnamed2001(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1188,12 +1188,12 @@ void checkUnnamed1970(core.List o) { ); } -core.Map buildUnnamed1971() => { +core.Map buildUnnamed2002() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1971(core.Map o) { +void checkUnnamed2002(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1212,8 +1212,8 @@ api.Instance buildInstance() { if (buildCounterInstance < 3) { o.config = 'foo'; o.displayName = 'foo'; - o.endpointUris = buildUnnamed1970(); - o.labels = buildUnnamed1971(); + o.endpointUris = buildUnnamed2001(); + o.labels = buildUnnamed2002(); o.name = 'foo'; o.nodeCount = 42; o.processingUnits = 42; @@ -1234,8 +1234,8 @@ void checkInstance(api.Instance o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1970(o.endpointUris!); - checkUnnamed1971(o.labels!); + checkUnnamed2001(o.endpointUris!); + checkUnnamed2002(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1256,12 +1256,12 @@ void checkInstance(api.Instance o) { buildCounterInstance--; } -core.List buildUnnamed1972() => [ +core.List buildUnnamed2003() => [ 'foo', 'foo', ]; -void checkUnnamed1972(core.List o) { +void checkUnnamed2003(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1273,12 +1273,12 @@ void checkUnnamed1972(core.List o) { ); } -core.List buildUnnamed1973() => [ +core.List buildUnnamed2004() => [ buildReplicaInfo(), buildReplicaInfo(), ]; -void checkUnnamed1973(core.List o) { +void checkUnnamed2004(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReplicaInfo(o[0]); checkReplicaInfo(o[1]); @@ -1290,9 +1290,9 @@ api.InstanceConfig buildInstanceConfig() { buildCounterInstanceConfig++; if (buildCounterInstanceConfig < 3) { o.displayName = 'foo'; - o.leaderOptions = buildUnnamed1972(); + o.leaderOptions = buildUnnamed2003(); o.name = 'foo'; - o.replicas = buildUnnamed1973(); + o.replicas = buildUnnamed2004(); } buildCounterInstanceConfig--; return o; @@ -1305,17 +1305,17 @@ void checkInstanceConfig(api.InstanceConfig o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1972(o.leaderOptions!); + checkUnnamed2003(o.leaderOptions!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1973(o.replicas!); + checkUnnamed2004(o.replicas!); } buildCounterInstanceConfig--; } -core.List buildUnnamed1974() => [ +core.List buildUnnamed2005() => [ { 'list': [1, 2, 3], 'bool': true, @@ -1328,7 +1328,7 @@ core.List buildUnnamed1974() => [ }, ]; -void checkUnnamed1974(core.List o) { +void checkUnnamed2005(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1360,7 +1360,7 @@ void checkUnnamed1974(core.List o) { ); } -core.List buildUnnamed1975() => [ +core.List buildUnnamed2006() => [ { 'list': [1, 2, 3], 'bool': true, @@ -1373,7 +1373,7 @@ core.List buildUnnamed1975() => [ }, ]; -void checkUnnamed1975(core.List o) { +void checkUnnamed2006(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1405,7 +1405,7 @@ void checkUnnamed1975(core.List o) { ); } -core.List buildUnnamed1976() => [ +core.List buildUnnamed2007() => [ { 'list': [1, 2, 3], 'bool': true, @@ -1418,7 +1418,7 @@ core.List buildUnnamed1976() => [ }, ]; -void checkUnnamed1976(core.List o) { +void checkUnnamed2007(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1450,7 +1450,7 @@ void checkUnnamed1976(core.List o) { ); } -core.List buildUnnamed1977() => [ +core.List buildUnnamed2008() => [ { 'list': [1, 2, 3], 'bool': true, @@ -1463,7 +1463,7 @@ core.List buildUnnamed1977() => [ }, ]; -void checkUnnamed1977(core.List o) { +void checkUnnamed2008(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -1500,10 +1500,10 @@ api.KeyRange buildKeyRange() { final o = api.KeyRange(); buildCounterKeyRange++; if (buildCounterKeyRange < 3) { - o.endClosed = buildUnnamed1974(); - o.endOpen = buildUnnamed1975(); - o.startClosed = buildUnnamed1976(); - o.startOpen = buildUnnamed1977(); + o.endClosed = buildUnnamed2005(); + o.endOpen = buildUnnamed2006(); + o.startClosed = buildUnnamed2007(); + o.startOpen = buildUnnamed2008(); } buildCounterKeyRange--; return o; @@ -1512,20 +1512,20 @@ api.KeyRange buildKeyRange() { void checkKeyRange(api.KeyRange o) { buildCounterKeyRange++; if (buildCounterKeyRange < 3) { - checkUnnamed1974(o.endClosed!); - checkUnnamed1975(o.endOpen!); - checkUnnamed1976(o.startClosed!); - checkUnnamed1977(o.startOpen!); + checkUnnamed2005(o.endClosed!); + checkUnnamed2006(o.endOpen!); + checkUnnamed2007(o.startClosed!); + checkUnnamed2008(o.startOpen!); } buildCounterKeyRange--; } -core.List buildUnnamed1978() => [ +core.List buildUnnamed2009() => [ buildContextValue(), buildContextValue(), ]; -void checkUnnamed1978(core.List o) { +void checkUnnamed2009(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContextValue(o[0]); checkContextValue(o[1]); @@ -1536,7 +1536,7 @@ api.KeyRangeInfo buildKeyRangeInfo() { final o = api.KeyRangeInfo(); buildCounterKeyRangeInfo++; if (buildCounterKeyRangeInfo < 3) { - o.contextValues = buildUnnamed1978(); + o.contextValues = buildUnnamed2009(); o.endKeyIndex = 42; o.info = buildLocalizedString(); o.keysCount = 'foo'; @@ -1553,7 +1553,7 @@ api.KeyRangeInfo buildKeyRangeInfo() { void checkKeyRangeInfo(api.KeyRangeInfo o) { buildCounterKeyRangeInfo++; if (buildCounterKeyRangeInfo < 3) { - checkUnnamed1978(o.contextValues!); + checkUnnamed2009(o.contextValues!); unittest.expect( o.endKeyIndex!, unittest.equals(42), @@ -1581,12 +1581,12 @@ void checkKeyRangeInfo(api.KeyRangeInfo o) { buildCounterKeyRangeInfo--; } -core.List buildUnnamed1979() => [ +core.List buildUnnamed2010() => [ buildKeyRangeInfo(), buildKeyRangeInfo(), ]; -void checkUnnamed1979(core.List o) { +void checkUnnamed2010(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyRangeInfo(o[0]); checkKeyRangeInfo(o[1]); @@ -1597,7 +1597,7 @@ api.KeyRangeInfos buildKeyRangeInfos() { final o = api.KeyRangeInfos(); buildCounterKeyRangeInfos++; if (buildCounterKeyRangeInfos < 3) { - o.infos = buildUnnamed1979(); + o.infos = buildUnnamed2010(); o.totalSize = 42; } buildCounterKeyRangeInfos--; @@ -1607,7 +1607,7 @@ api.KeyRangeInfos buildKeyRangeInfos() { void checkKeyRangeInfos(api.KeyRangeInfos o) { buildCounterKeyRangeInfos++; if (buildCounterKeyRangeInfos < 3) { - checkUnnamed1979(o.infos!); + checkUnnamed2010(o.infos!); unittest.expect( o.totalSize!, unittest.equals(42), @@ -1616,7 +1616,7 @@ void checkKeyRangeInfos(api.KeyRangeInfos o) { buildCounterKeyRangeInfos--; } -core.List buildUnnamed1980() => [ +core.List buildUnnamed2011() => [ { 'list': [1, 2, 3], 'bool': true, @@ -1629,7 +1629,7 @@ core.List buildUnnamed1980() => [ }, ]; -void checkUnnamed1980(core.List o) { +void checkUnnamed2011(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -1661,23 +1661,23 @@ void checkUnnamed1980(core.List o) { ); } -core.List> buildUnnamed1981() => [ - buildUnnamed1980(), - buildUnnamed1980(), +core.List> buildUnnamed2012() => [ + buildUnnamed2011(), + buildUnnamed2011(), ]; -void checkUnnamed1981(core.List> o) { +void checkUnnamed2012(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1980(o[0]); - checkUnnamed1980(o[1]); + checkUnnamed2011(o[0]); + checkUnnamed2011(o[1]); } -core.List buildUnnamed1982() => [ +core.List buildUnnamed2013() => [ buildKeyRange(), buildKeyRange(), ]; -void checkUnnamed1982(core.List o) { +void checkUnnamed2013(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyRange(o[0]); checkKeyRange(o[1]); @@ -1689,8 +1689,8 @@ api.KeySet buildKeySet() { buildCounterKeySet++; if (buildCounterKeySet < 3) { o.all = true; - o.keys = buildUnnamed1981(); - o.ranges = buildUnnamed1982(); + o.keys = buildUnnamed2012(); + o.ranges = buildUnnamed2013(); } buildCounterKeySet--; return o; @@ -1700,18 +1700,18 @@ void checkKeySet(api.KeySet o) { buildCounterKeySet++; if (buildCounterKeySet < 3) { unittest.expect(o.all!, unittest.isTrue); - checkUnnamed1981(o.keys!); - checkUnnamed1982(o.ranges!); + checkUnnamed2012(o.keys!); + checkUnnamed2013(o.ranges!); } buildCounterKeySet--; } -core.List buildUnnamed1983() => [ +core.List buildUnnamed2014() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1983(core.List o) { +void checkUnnamed2014(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1723,7 +1723,7 @@ api.ListBackupOperationsResponse buildListBackupOperationsResponse() { buildCounterListBackupOperationsResponse++; if (buildCounterListBackupOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1983(); + o.operations = buildUnnamed2014(); } buildCounterListBackupOperationsResponse--; return o; @@ -1736,17 +1736,17 @@ void checkListBackupOperationsResponse(api.ListBackupOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1983(o.operations!); + checkUnnamed2014(o.operations!); } buildCounterListBackupOperationsResponse--; } -core.List buildUnnamed1984() => [ +core.List buildUnnamed2015() => [ buildBackup(), buildBackup(), ]; -void checkUnnamed1984(core.List o) { +void checkUnnamed2015(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackup(o[0]); checkBackup(o[1]); @@ -1757,7 +1757,7 @@ api.ListBackupsResponse buildListBackupsResponse() { final o = api.ListBackupsResponse(); buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - o.backups = buildUnnamed1984(); + o.backups = buildUnnamed2015(); o.nextPageToken = 'foo'; } buildCounterListBackupsResponse--; @@ -1767,7 +1767,7 @@ api.ListBackupsResponse buildListBackupsResponse() { void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - checkUnnamed1984(o.backups!); + checkUnnamed2015(o.backups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1776,12 +1776,12 @@ void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse--; } -core.List buildUnnamed1985() => [ +core.List buildUnnamed2016() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1985(core.List o) { +void checkUnnamed2016(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1793,7 +1793,7 @@ api.ListDatabaseOperationsResponse buildListDatabaseOperationsResponse() { buildCounterListDatabaseOperationsResponse++; if (buildCounterListDatabaseOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1985(); + o.operations = buildUnnamed2016(); } buildCounterListDatabaseOperationsResponse--; return o; @@ -1806,17 +1806,17 @@ void checkListDatabaseOperationsResponse(api.ListDatabaseOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1985(o.operations!); + checkUnnamed2016(o.operations!); } buildCounterListDatabaseOperationsResponse--; } -core.List buildUnnamed1986() => [ +core.List buildUnnamed2017() => [ buildDatabase(), buildDatabase(), ]; -void checkUnnamed1986(core.List o) { +void checkUnnamed2017(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabase(o[0]); checkDatabase(o[1]); @@ -1827,7 +1827,7 @@ api.ListDatabasesResponse buildListDatabasesResponse() { final o = api.ListDatabasesResponse(); buildCounterListDatabasesResponse++; if (buildCounterListDatabasesResponse < 3) { - o.databases = buildUnnamed1986(); + o.databases = buildUnnamed2017(); o.nextPageToken = 'foo'; } buildCounterListDatabasesResponse--; @@ -1837,7 +1837,7 @@ api.ListDatabasesResponse buildListDatabasesResponse() { void checkListDatabasesResponse(api.ListDatabasesResponse o) { buildCounterListDatabasesResponse++; if (buildCounterListDatabasesResponse < 3) { - checkUnnamed1986(o.databases!); + checkUnnamed2017(o.databases!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1846,12 +1846,12 @@ void checkListDatabasesResponse(api.ListDatabasesResponse o) { buildCounterListDatabasesResponse--; } -core.List buildUnnamed1987() => [ +core.List buildUnnamed2018() => [ buildInstanceConfig(), buildInstanceConfig(), ]; -void checkUnnamed1987(core.List o) { +void checkUnnamed2018(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceConfig(o[0]); checkInstanceConfig(o[1]); @@ -1862,7 +1862,7 @@ api.ListInstanceConfigsResponse buildListInstanceConfigsResponse() { final o = api.ListInstanceConfigsResponse(); buildCounterListInstanceConfigsResponse++; if (buildCounterListInstanceConfigsResponse < 3) { - o.instanceConfigs = buildUnnamed1987(); + o.instanceConfigs = buildUnnamed2018(); o.nextPageToken = 'foo'; } buildCounterListInstanceConfigsResponse--; @@ -1872,7 +1872,7 @@ api.ListInstanceConfigsResponse buildListInstanceConfigsResponse() { void checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) { buildCounterListInstanceConfigsResponse++; if (buildCounterListInstanceConfigsResponse < 3) { - checkUnnamed1987(o.instanceConfigs!); + checkUnnamed2018(o.instanceConfigs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1881,23 +1881,23 @@ void checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) { buildCounterListInstanceConfigsResponse--; } -core.List buildUnnamed1988() => [ +core.List buildUnnamed2019() => [ buildInstance(), buildInstance(), ]; -void checkUnnamed1988(core.List o) { +void checkUnnamed2019(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstance(o[0]); checkInstance(o[1]); } -core.List buildUnnamed1989() => [ +core.List buildUnnamed2020() => [ 'foo', 'foo', ]; -void checkUnnamed1989(core.List o) { +void checkUnnamed2020(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1914,9 +1914,9 @@ api.ListInstancesResponse buildListInstancesResponse() { final o = api.ListInstancesResponse(); buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - o.instances = buildUnnamed1988(); + o.instances = buildUnnamed2019(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1989(); + o.unreachable = buildUnnamed2020(); } buildCounterListInstancesResponse--; return o; @@ -1925,22 +1925,22 @@ api.ListInstancesResponse buildListInstancesResponse() { void checkListInstancesResponse(api.ListInstancesResponse o) { buildCounterListInstancesResponse++; if (buildCounterListInstancesResponse < 3) { - checkUnnamed1988(o.instances!); + checkUnnamed2019(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1989(o.unreachable!); + checkUnnamed2020(o.unreachable!); } buildCounterListInstancesResponse--; } -core.List buildUnnamed1990() => [ +core.List buildUnnamed2021() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1990(core.List o) { +void checkUnnamed2021(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1952,7 +1952,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1990(); + o.operations = buildUnnamed2021(); } buildCounterListOperationsResponse--; return o; @@ -1965,17 +1965,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1990(o.operations!); + checkUnnamed2021(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed1991() => [ +core.List buildUnnamed2022() => [ buildScan(), buildScan(), ]; -void checkUnnamed1991(core.List o) { +void checkUnnamed2022(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScan(o[0]); checkScan(o[1]); @@ -1987,7 +1987,7 @@ api.ListScansResponse buildListScansResponse() { buildCounterListScansResponse++; if (buildCounterListScansResponse < 3) { o.nextPageToken = 'foo'; - o.scans = buildUnnamed1991(); + o.scans = buildUnnamed2022(); } buildCounterListScansResponse--; return o; @@ -2000,17 +2000,17 @@ void checkListScansResponse(api.ListScansResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1991(o.scans!); + checkUnnamed2022(o.scans!); } buildCounterListScansResponse--; } -core.List buildUnnamed1992() => [ +core.List buildUnnamed2023() => [ buildSession(), buildSession(), ]; -void checkUnnamed1992(core.List o) { +void checkUnnamed2023(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSession(o[0]); checkSession(o[1]); @@ -2022,7 +2022,7 @@ api.ListSessionsResponse buildListSessionsResponse() { buildCounterListSessionsResponse++; if (buildCounterListSessionsResponse < 3) { o.nextPageToken = 'foo'; - o.sessions = buildUnnamed1992(); + o.sessions = buildUnnamed2023(); } buildCounterListSessionsResponse--; return o; @@ -2035,17 +2035,17 @@ void checkListSessionsResponse(api.ListSessionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1992(o.sessions!); + checkUnnamed2023(o.sessions!); } buildCounterListSessionsResponse--; } -core.Map buildUnnamed1993() => { +core.Map buildUnnamed2024() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1993(core.Map o) { +void checkUnnamed2024(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2062,7 +2062,7 @@ api.LocalizedString buildLocalizedString() { final o = api.LocalizedString(); buildCounterLocalizedString++; if (buildCounterLocalizedString < 3) { - o.args = buildUnnamed1993(); + o.args = buildUnnamed2024(); o.message = 'foo'; o.token = 'foo'; } @@ -2073,7 +2073,7 @@ api.LocalizedString buildLocalizedString() { void checkLocalizedString(api.LocalizedString o) { buildCounterLocalizedString++; if (buildCounterLocalizedString < 3) { - checkUnnamed1993(o.args!); + checkUnnamed2024(o.args!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2086,23 +2086,23 @@ void checkLocalizedString(api.LocalizedString o) { buildCounterLocalizedString--; } -core.Map buildUnnamed1994() => { +core.Map buildUnnamed2025() => { 'x': buildIndexedHotKey(), 'y': buildIndexedHotKey(), }; -void checkUnnamed1994(core.Map o) { +void checkUnnamed2025(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkIndexedHotKey(o['x']!); checkIndexedHotKey(o['y']!); } -core.Map buildUnnamed1995() => { +core.Map buildUnnamed2026() => { 'x': buildIndexedKeyRangeInfos(), 'y': buildIndexedKeyRangeInfos(), }; -void checkUnnamed1995(core.Map o) { +void checkUnnamed2026(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkIndexedKeyRangeInfos(o['x']!); checkIndexedKeyRangeInfos(o['y']!); @@ -2119,8 +2119,8 @@ api.Metric buildMetric() { o.displayLabel = buildLocalizedString(); o.hasNonzeroData = true; o.hotValue = 42.0; - o.indexedHotKeys = buildUnnamed1994(); - o.indexedKeyRangeInfos = buildUnnamed1995(); + o.indexedHotKeys = buildUnnamed2025(); + o.indexedKeyRangeInfos = buildUnnamed2026(); o.info = buildLocalizedString(); o.matrix = buildMetricMatrix(); o.unit = buildLocalizedString(); @@ -2145,8 +2145,8 @@ void checkMetric(api.Metric o) { o.hotValue!, unittest.equals(42.0), ); - checkUnnamed1994(o.indexedHotKeys!); - checkUnnamed1995(o.indexedKeyRangeInfos!); + checkUnnamed2025(o.indexedHotKeys!); + checkUnnamed2026(o.indexedKeyRangeInfos!); checkLocalizedString(o.info!); checkMetricMatrix(o.matrix!); checkLocalizedString(o.unit!); @@ -2155,12 +2155,12 @@ void checkMetric(api.Metric o) { buildCounterMetric--; } -core.List buildUnnamed1996() => [ +core.List buildUnnamed2027() => [ buildMetricMatrixRow(), buildMetricMatrixRow(), ]; -void checkUnnamed1996(core.List o) { +void checkUnnamed2027(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricMatrixRow(o[0]); checkMetricMatrixRow(o[1]); @@ -2171,7 +2171,7 @@ api.MetricMatrix buildMetricMatrix() { final o = api.MetricMatrix(); buildCounterMetricMatrix++; if (buildCounterMetricMatrix < 3) { - o.rows = buildUnnamed1996(); + o.rows = buildUnnamed2027(); } buildCounterMetricMatrix--; return o; @@ -2180,17 +2180,17 @@ api.MetricMatrix buildMetricMatrix() { void checkMetricMatrix(api.MetricMatrix o) { buildCounterMetricMatrix++; if (buildCounterMetricMatrix < 3) { - checkUnnamed1996(o.rows!); + checkUnnamed2027(o.rows!); } buildCounterMetricMatrix--; } -core.List buildUnnamed1997() => [ +core.List buildUnnamed2028() => [ 42.0, 42.0, ]; -void checkUnnamed1997(core.List o) { +void checkUnnamed2028(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2207,7 +2207,7 @@ api.MetricMatrixRow buildMetricMatrixRow() { final o = api.MetricMatrixRow(); buildCounterMetricMatrixRow++; if (buildCounterMetricMatrixRow < 3) { - o.cols = buildUnnamed1997(); + o.cols = buildUnnamed2028(); } buildCounterMetricMatrixRow--; return o; @@ -2216,7 +2216,7 @@ api.MetricMatrixRow buildMetricMatrixRow() { void checkMetricMatrixRow(api.MetricMatrixRow o) { buildCounterMetricMatrixRow++; if (buildCounterMetricMatrixRow < 3) { - checkUnnamed1997(o.cols!); + checkUnnamed2028(o.cols!); } buildCounterMetricMatrixRow--; } @@ -2248,7 +2248,7 @@ void checkMutation(api.Mutation o) { buildCounterMutation--; } -core.Map buildUnnamed1998() => { +core.Map buildUnnamed2029() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2261,7 +2261,7 @@ core.Map buildUnnamed1998() => { }, }; -void checkUnnamed1998(core.Map o) { +void checkUnnamed2029(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -2293,7 +2293,7 @@ void checkUnnamed1998(core.Map o) { ); } -core.Map buildUnnamed1999() => { +core.Map buildUnnamed2030() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2306,7 +2306,7 @@ core.Map buildUnnamed1999() => { }, }; -void checkUnnamed1999(core.Map o) { +void checkUnnamed2030(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted15 = (o['x']!) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); @@ -2345,9 +2345,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1998(); + o.metadata = buildUnnamed2029(); o.name = 'foo'; - o.response = buildUnnamed1999(); + o.response = buildUnnamed2030(); } buildCounterOperation--; return o; @@ -2358,12 +2358,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1998(o.metadata!); + checkUnnamed2029(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1999(o.response!); + checkUnnamed2030(o.response!); } buildCounterOperation--; } @@ -2425,7 +2425,7 @@ void checkOptimizeRestoredDatabaseMetadata( buildCounterOptimizeRestoredDatabaseMetadata--; } -core.List buildUnnamed2000() => [ +core.List buildUnnamed2031() => [ { 'list': [1, 2, 3], 'bool': true, @@ -2438,7 +2438,7 @@ core.List buildUnnamed2000() => [ }, ]; -void checkUnnamed2000(core.List o) { +void checkUnnamed2031(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); @@ -2479,7 +2479,7 @@ api.PartialResultSet buildPartialResultSet() { o.metadata = buildResultSetMetadata(); o.resumeToken = 'foo'; o.stats = buildResultSetStats(); - o.values = buildUnnamed2000(); + o.values = buildUnnamed2031(); } buildCounterPartialResultSet--; return o; @@ -2495,7 +2495,7 @@ void checkPartialResultSet(api.PartialResultSet o) { unittest.equals('foo'), ); checkResultSetStats(o.stats!); - checkUnnamed2000(o.values!); + checkUnnamed2031(o.values!); } buildCounterPartialResultSet--; } @@ -2549,18 +2549,18 @@ void checkPartitionOptions(api.PartitionOptions o) { buildCounterPartitionOptions--; } -core.Map buildUnnamed2001() => { +core.Map buildUnnamed2032() => { 'x': buildType(), 'y': buildType(), }; -void checkUnnamed2001(core.Map o) { +void checkUnnamed2032(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkType(o['x']!); checkType(o['y']!); } -core.Map buildUnnamed2002() => { +core.Map buildUnnamed2033() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2573,7 +2573,7 @@ core.Map buildUnnamed2002() => { }, }; -void checkUnnamed2002(core.Map o) { +void checkUnnamed2033(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted19 = (o['x']!) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); @@ -2610,8 +2610,8 @@ api.PartitionQueryRequest buildPartitionQueryRequest() { final o = api.PartitionQueryRequest(); buildCounterPartitionQueryRequest++; if (buildCounterPartitionQueryRequest < 3) { - o.paramTypes = buildUnnamed2001(); - o.params = buildUnnamed2002(); + o.paramTypes = buildUnnamed2032(); + o.params = buildUnnamed2033(); o.partitionOptions = buildPartitionOptions(); o.sql = 'foo'; o.transaction = buildTransactionSelector(); @@ -2623,8 +2623,8 @@ api.PartitionQueryRequest buildPartitionQueryRequest() { void checkPartitionQueryRequest(api.PartitionQueryRequest o) { buildCounterPartitionQueryRequest++; if (buildCounterPartitionQueryRequest < 3) { - checkUnnamed2001(o.paramTypes!); - checkUnnamed2002(o.params!); + checkUnnamed2032(o.paramTypes!); + checkUnnamed2033(o.params!); checkPartitionOptions(o.partitionOptions!); unittest.expect( o.sql!, @@ -2635,12 +2635,12 @@ void checkPartitionQueryRequest(api.PartitionQueryRequest o) { buildCounterPartitionQueryRequest--; } -core.List buildUnnamed2003() => [ +core.List buildUnnamed2034() => [ 'foo', 'foo', ]; -void checkUnnamed2003(core.List o) { +void checkUnnamed2034(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2657,7 +2657,7 @@ api.PartitionReadRequest buildPartitionReadRequest() { final o = api.PartitionReadRequest(); buildCounterPartitionReadRequest++; if (buildCounterPartitionReadRequest < 3) { - o.columns = buildUnnamed2003(); + o.columns = buildUnnamed2034(); o.index = 'foo'; o.keySet = buildKeySet(); o.partitionOptions = buildPartitionOptions(); @@ -2671,7 +2671,7 @@ api.PartitionReadRequest buildPartitionReadRequest() { void checkPartitionReadRequest(api.PartitionReadRequest o) { buildCounterPartitionReadRequest++; if (buildCounterPartitionReadRequest < 3) { - checkUnnamed2003(o.columns!); + checkUnnamed2034(o.columns!); unittest.expect( o.index!, unittest.equals('foo'), @@ -2687,12 +2687,12 @@ void checkPartitionReadRequest(api.PartitionReadRequest o) { buildCounterPartitionReadRequest--; } -core.List buildUnnamed2004() => [ +core.List buildUnnamed2035() => [ buildPartition(), buildPartition(), ]; -void checkUnnamed2004(core.List o) { +void checkUnnamed2035(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartition(o[0]); checkPartition(o[1]); @@ -2703,7 +2703,7 @@ api.PartitionResponse buildPartitionResponse() { final o = api.PartitionResponse(); buildCounterPartitionResponse++; if (buildCounterPartitionResponse < 3) { - o.partitions = buildUnnamed2004(); + o.partitions = buildUnnamed2035(); o.transaction = buildTransaction(); } buildCounterPartitionResponse--; @@ -2713,7 +2713,7 @@ api.PartitionResponse buildPartitionResponse() { void checkPartitionResponse(api.PartitionResponse o) { buildCounterPartitionResponse++; if (buildCounterPartitionResponse < 3) { - checkUnnamed2004(o.partitions!); + checkUnnamed2035(o.partitions!); checkTransaction(o.transaction!); } buildCounterPartitionResponse--; @@ -2734,18 +2734,18 @@ void checkPartitionedDml(api.PartitionedDml o) { buildCounterPartitionedDml--; } -core.List buildUnnamed2005() => [ +core.List buildUnnamed2036() => [ buildChildLink(), buildChildLink(), ]; -void checkUnnamed2005(core.List o) { +void checkUnnamed2036(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChildLink(o[0]); checkChildLink(o[1]); } -core.Map buildUnnamed2006() => { +core.Map buildUnnamed2037() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2758,7 +2758,7 @@ core.Map buildUnnamed2006() => { }, }; -void checkUnnamed2006(core.Map o) { +void checkUnnamed2037(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted21 = (o['x']!) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); @@ -2790,7 +2790,7 @@ void checkUnnamed2006(core.Map o) { ); } -core.Map buildUnnamed2007() => { +core.Map buildUnnamed2038() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2803,7 +2803,7 @@ core.Map buildUnnamed2007() => { }, }; -void checkUnnamed2007(core.Map o) { +void checkUnnamed2038(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted23 = (o['x']!) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); @@ -2840,12 +2840,12 @@ api.PlanNode buildPlanNode() { final o = api.PlanNode(); buildCounterPlanNode++; if (buildCounterPlanNode < 3) { - o.childLinks = buildUnnamed2005(); + o.childLinks = buildUnnamed2036(); o.displayName = 'foo'; - o.executionStats = buildUnnamed2006(); + o.executionStats = buildUnnamed2037(); o.index = 42; o.kind = 'foo'; - o.metadata = buildUnnamed2007(); + o.metadata = buildUnnamed2038(); o.shortRepresentation = buildShortRepresentation(); } buildCounterPlanNode--; @@ -2855,12 +2855,12 @@ api.PlanNode buildPlanNode() { void checkPlanNode(api.PlanNode o) { buildCounterPlanNode++; if (buildCounterPlanNode < 3) { - checkUnnamed2005(o.childLinks!); + checkUnnamed2036(o.childLinks!); unittest.expect( o.displayName!, unittest.equals('foo'), ); - checkUnnamed2006(o.executionStats!); + checkUnnamed2037(o.executionStats!); unittest.expect( o.index!, unittest.equals(42), @@ -2869,18 +2869,18 @@ void checkPlanNode(api.PlanNode o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed2007(o.metadata!); + checkUnnamed2038(o.metadata!); checkShortRepresentation(o.shortRepresentation!); } buildCounterPlanNode--; } -core.List buildUnnamed2008() => [ +core.List buildUnnamed2039() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed2008(core.List o) { +void checkUnnamed2039(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2891,7 +2891,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed2008(); + o.bindings = buildUnnamed2039(); o.etag = 'foo'; o.version = 42; } @@ -2902,7 +2902,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed2008(o.bindings!); + checkUnnamed2039(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2981,12 +2981,12 @@ void checkQueryOptions(api.QueryOptions o) { buildCounterQueryOptions--; } -core.List buildUnnamed2009() => [ +core.List buildUnnamed2040() => [ buildPlanNode(), buildPlanNode(), ]; -void checkUnnamed2009(core.List o) { +void checkUnnamed2040(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlanNode(o[0]); checkPlanNode(o[1]); @@ -2997,7 +2997,7 @@ api.QueryPlan buildQueryPlan() { final o = api.QueryPlan(); buildCounterQueryPlan++; if (buildCounterQueryPlan < 3) { - o.planNodes = buildUnnamed2009(); + o.planNodes = buildUnnamed2040(); } buildCounterQueryPlan--; return o; @@ -3006,7 +3006,7 @@ api.QueryPlan buildQueryPlan() { void checkQueryPlan(api.QueryPlan o) { buildCounterQueryPlan++; if (buildCounterQueryPlan < 3) { - checkUnnamed2009(o.planNodes!); + checkUnnamed2040(o.planNodes!); } buildCounterQueryPlan--; } @@ -3052,12 +3052,12 @@ void checkReadOnly(api.ReadOnly o) { buildCounterReadOnly--; } -core.List buildUnnamed2010() => [ +core.List buildUnnamed2041() => [ 'foo', 'foo', ]; -void checkUnnamed2010(core.List o) { +void checkUnnamed2041(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3074,7 +3074,7 @@ api.ReadRequest buildReadRequest() { final o = api.ReadRequest(); buildCounterReadRequest++; if (buildCounterReadRequest < 3) { - o.columns = buildUnnamed2010(); + o.columns = buildUnnamed2041(); o.index = 'foo'; o.keySet = buildKeySet(); o.limit = 'foo'; @@ -3091,7 +3091,7 @@ api.ReadRequest buildReadRequest() { void checkReadRequest(api.ReadRequest o) { buildCounterReadRequest++; if (buildCounterReadRequest < 3) { - checkUnnamed2010(o.columns!); + checkUnnamed2041(o.columns!); unittest.expect( o.index!, unittest.equals('foo'), @@ -3317,7 +3317,7 @@ void checkRestoreInfo(api.RestoreInfo o) { buildCounterRestoreInfo--; } -core.List buildUnnamed2011() => [ +core.List buildUnnamed2042() => [ { 'list': [1, 2, 3], 'bool': true, @@ -3330,7 +3330,7 @@ core.List buildUnnamed2011() => [ }, ]; -void checkUnnamed2011(core.List o) { +void checkUnnamed2042(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); @@ -3362,15 +3362,15 @@ void checkUnnamed2011(core.List o) { ); } -core.List> buildUnnamed2012() => [ - buildUnnamed2011(), - buildUnnamed2011(), +core.List> buildUnnamed2043() => [ + buildUnnamed2042(), + buildUnnamed2042(), ]; -void checkUnnamed2012(core.List> o) { +void checkUnnamed2043(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2011(o[0]); - checkUnnamed2011(o[1]); + checkUnnamed2042(o[0]); + checkUnnamed2042(o[1]); } core.int buildCounterResultSet = 0; @@ -3379,7 +3379,7 @@ api.ResultSet buildResultSet() { buildCounterResultSet++; if (buildCounterResultSet < 3) { o.metadata = buildResultSetMetadata(); - o.rows = buildUnnamed2012(); + o.rows = buildUnnamed2043(); o.stats = buildResultSetStats(); } buildCounterResultSet--; @@ -3390,7 +3390,7 @@ void checkResultSet(api.ResultSet o) { buildCounterResultSet++; if (buildCounterResultSet < 3) { checkResultSetMetadata(o.metadata!); - checkUnnamed2012(o.rows!); + checkUnnamed2043(o.rows!); checkResultSetStats(o.stats!); } buildCounterResultSet--; @@ -3417,7 +3417,7 @@ void checkResultSetMetadata(api.ResultSetMetadata o) { buildCounterResultSetMetadata--; } -core.Map buildUnnamed2013() => { +core.Map buildUnnamed2044() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3430,7 +3430,7 @@ core.Map buildUnnamed2013() => { }, }; -void checkUnnamed2013(core.Map o) { +void checkUnnamed2044(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted27 = (o['x']!) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); @@ -3468,7 +3468,7 @@ api.ResultSetStats buildResultSetStats() { buildCounterResultSetStats++; if (buildCounterResultSetStats < 3) { o.queryPlan = buildQueryPlan(); - o.queryStats = buildUnnamed2013(); + o.queryStats = buildUnnamed2044(); o.rowCountExact = 'foo'; o.rowCountLowerBound = 'foo'; } @@ -3480,7 +3480,7 @@ void checkResultSetStats(api.ResultSetStats o) { buildCounterResultSetStats++; if (buildCounterResultSetStats < 3) { checkQueryPlan(o.queryPlan!); - checkUnnamed2013(o.queryStats!); + checkUnnamed2044(o.queryStats!); unittest.expect( o.rowCountExact!, unittest.equals('foo'), @@ -3515,7 +3515,7 @@ void checkRollbackRequest(api.RollbackRequest o) { buildCounterRollbackRequest--; } -core.Map buildUnnamed2014() => { +core.Map buildUnnamed2045() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3528,7 +3528,7 @@ core.Map buildUnnamed2014() => { }, }; -void checkUnnamed2014(core.Map o) { +void checkUnnamed2045(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted29 = (o['x']!) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); @@ -3565,7 +3565,7 @@ api.Scan buildScan() { final o = api.Scan(); buildCounterScan++; if (buildCounterScan < 3) { - o.details = buildUnnamed2014(); + o.details = buildUnnamed2045(); o.endTime = 'foo'; o.name = 'foo'; o.scanData = buildScanData(); @@ -3578,7 +3578,7 @@ api.Scan buildScan() { void checkScan(api.Scan o) { buildCounterScan++; if (buildCounterScan < 3) { - checkUnnamed2014(o.details!); + checkUnnamed2045(o.details!); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -3625,12 +3625,12 @@ void checkScanData(api.ScanData o) { buildCounterScanData--; } -core.Map buildUnnamed2015() => { +core.Map buildUnnamed2046() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2015(core.Map o) { +void checkUnnamed2046(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3649,7 +3649,7 @@ api.Session buildSession() { if (buildCounterSession < 3) { o.approximateLastUseTime = 'foo'; o.createTime = 'foo'; - o.labels = buildUnnamed2015(); + o.labels = buildUnnamed2046(); o.name = 'foo'; } buildCounterSession--; @@ -3667,7 +3667,7 @@ void checkSession(api.Session o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed2015(o.labels!); + checkUnnamed2046(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3695,12 +3695,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed2016() => { +core.Map buildUnnamed2047() => { 'x': 42, 'y': 42, }; -void checkUnnamed2016(core.Map o) { +void checkUnnamed2047(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3718,7 +3718,7 @@ api.ShortRepresentation buildShortRepresentation() { buildCounterShortRepresentation++; if (buildCounterShortRepresentation < 3) { o.description = 'foo'; - o.subqueries = buildUnnamed2016(); + o.subqueries = buildUnnamed2047(); } buildCounterShortRepresentation--; return o; @@ -3731,23 +3731,23 @@ void checkShortRepresentation(api.ShortRepresentation o) { o.description!, unittest.equals('foo'), ); - checkUnnamed2016(o.subqueries!); + checkUnnamed2047(o.subqueries!); } buildCounterShortRepresentation--; } -core.Map buildUnnamed2017() => { +core.Map buildUnnamed2048() => { 'x': buildType(), 'y': buildType(), }; -void checkUnnamed2017(core.Map o) { +void checkUnnamed2048(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkType(o['x']!); checkType(o['y']!); } -core.Map buildUnnamed2018() => { +core.Map buildUnnamed2049() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3760,7 +3760,7 @@ core.Map buildUnnamed2018() => { }, }; -void checkUnnamed2018(core.Map o) { +void checkUnnamed2049(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted31 = (o['x']!) as core.Map; unittest.expect(casted31, unittest.hasLength(3)); @@ -3797,8 +3797,8 @@ api.Statement buildStatement() { final o = api.Statement(); buildCounterStatement++; if (buildCounterStatement < 3) { - o.paramTypes = buildUnnamed2017(); - o.params = buildUnnamed2018(); + o.paramTypes = buildUnnamed2048(); + o.params = buildUnnamed2049(); o.sql = 'foo'; } buildCounterStatement--; @@ -3808,8 +3808,8 @@ api.Statement buildStatement() { void checkStatement(api.Statement o) { buildCounterStatement++; if (buildCounterStatement < 3) { - checkUnnamed2017(o.paramTypes!); - checkUnnamed2018(o.params!); + checkUnnamed2048(o.paramTypes!); + checkUnnamed2049(o.params!); unittest.expect( o.sql!, unittest.equals('foo'), @@ -3818,7 +3818,7 @@ void checkStatement(api.Statement o) { buildCounterStatement--; } -core.Map buildUnnamed2019() => { +core.Map buildUnnamed2050() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3831,7 +3831,7 @@ core.Map buildUnnamed2019() => { }, }; -void checkUnnamed2019(core.Map o) { +void checkUnnamed2050(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted33 = (o['x']!) as core.Map; unittest.expect(casted33, unittest.hasLength(3)); @@ -3863,15 +3863,15 @@ void checkUnnamed2019(core.Map o) { ); } -core.List> buildUnnamed2020() => [ - buildUnnamed2019(), - buildUnnamed2019(), +core.List> buildUnnamed2051() => [ + buildUnnamed2050(), + buildUnnamed2050(), ]; -void checkUnnamed2020(core.List> o) { +void checkUnnamed2051(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2019(o[0]); - checkUnnamed2019(o[1]); + checkUnnamed2050(o[0]); + checkUnnamed2050(o[1]); } core.int buildCounterStatus = 0; @@ -3880,7 +3880,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed2020(); + o.details = buildUnnamed2051(); o.message = 'foo'; } buildCounterStatus--; @@ -3894,7 +3894,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed2020(o.details!); + checkUnnamed2051(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3903,12 +3903,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed2021() => [ +core.List buildUnnamed2052() => [ buildField(), buildField(), ]; -void checkUnnamed2021(core.List o) { +void checkUnnamed2052(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); @@ -3919,7 +3919,7 @@ api.StructType buildStructType() { final o = api.StructType(); buildCounterStructType++; if (buildCounterStructType < 3) { - o.fields = buildUnnamed2021(); + o.fields = buildUnnamed2052(); } buildCounterStructType--; return o; @@ -3928,17 +3928,17 @@ api.StructType buildStructType() { void checkStructType(api.StructType o) { buildCounterStructType++; if (buildCounterStructType < 3) { - checkUnnamed2021(o.fields!); + checkUnnamed2052(o.fields!); } buildCounterStructType--; } -core.List buildUnnamed2022() => [ +core.List buildUnnamed2053() => [ 'foo', 'foo', ]; -void checkUnnamed2022(core.List o) { +void checkUnnamed2053(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3955,7 +3955,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed2022(); + o.permissions = buildUnnamed2053(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3964,17 +3964,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed2022(o.permissions!); + checkUnnamed2053(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed2023() => [ +core.List buildUnnamed2054() => [ 'foo', 'foo', ]; -void checkUnnamed2023(core.List o) { +void checkUnnamed2054(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3991,7 +3991,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed2023(); + o.permissions = buildUnnamed2054(); } buildCounterTestIamPermissionsResponse--; return o; @@ -4000,7 +4000,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed2023(o.permissions!); + checkUnnamed2054(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -4107,12 +4107,12 @@ void checkType(api.Type o) { buildCounterType--; } -core.List buildUnnamed2024() => [ +core.List buildUnnamed2055() => [ 'foo', 'foo', ]; -void checkUnnamed2024(core.List o) { +void checkUnnamed2055(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4124,23 +4124,23 @@ void checkUnnamed2024(core.List o) { ); } -core.List buildUnnamed2025() => [ +core.List buildUnnamed2056() => [ buildOperationProgress(), buildOperationProgress(), ]; -void checkUnnamed2025(core.List o) { +void checkUnnamed2056(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationProgress(o[0]); checkOperationProgress(o[1]); } -core.List buildUnnamed2026() => [ +core.List buildUnnamed2057() => [ 'foo', 'foo', ]; -void checkUnnamed2026(core.List o) { +void checkUnnamed2057(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4157,10 +4157,10 @@ api.UpdateDatabaseDdlMetadata buildUpdateDatabaseDdlMetadata() { final o = api.UpdateDatabaseDdlMetadata(); buildCounterUpdateDatabaseDdlMetadata++; if (buildCounterUpdateDatabaseDdlMetadata < 3) { - o.commitTimestamps = buildUnnamed2024(); + o.commitTimestamps = buildUnnamed2055(); o.database = 'foo'; - o.progress = buildUnnamed2025(); - o.statements = buildUnnamed2026(); + o.progress = buildUnnamed2056(); + o.statements = buildUnnamed2057(); o.throttled = true; } buildCounterUpdateDatabaseDdlMetadata--; @@ -4170,24 +4170,24 @@ api.UpdateDatabaseDdlMetadata buildUpdateDatabaseDdlMetadata() { void checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) { buildCounterUpdateDatabaseDdlMetadata++; if (buildCounterUpdateDatabaseDdlMetadata < 3) { - checkUnnamed2024(o.commitTimestamps!); + checkUnnamed2055(o.commitTimestamps!); unittest.expect( o.database!, unittest.equals('foo'), ); - checkUnnamed2025(o.progress!); - checkUnnamed2026(o.statements!); + checkUnnamed2056(o.progress!); + checkUnnamed2057(o.statements!); unittest.expect(o.throttled!, unittest.isTrue); } buildCounterUpdateDatabaseDdlMetadata--; } -core.List buildUnnamed2027() => [ +core.List buildUnnamed2058() => [ 'foo', 'foo', ]; -void checkUnnamed2027(core.List o) { +void checkUnnamed2058(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4205,7 +4205,7 @@ api.UpdateDatabaseDdlRequest buildUpdateDatabaseDdlRequest() { buildCounterUpdateDatabaseDdlRequest++; if (buildCounterUpdateDatabaseDdlRequest < 3) { o.operationId = 'foo'; - o.statements = buildUnnamed2027(); + o.statements = buildUnnamed2058(); } buildCounterUpdateDatabaseDdlRequest--; return o; @@ -4218,7 +4218,7 @@ void checkUpdateDatabaseDdlRequest(api.UpdateDatabaseDdlRequest o) { o.operationId!, unittest.equals('foo'), ); - checkUnnamed2027(o.statements!); + checkUnnamed2058(o.statements!); } buildCounterUpdateDatabaseDdlRequest--; } @@ -4281,23 +4281,23 @@ void checkUpdateInstanceRequest(api.UpdateInstanceRequest o) { buildCounterUpdateInstanceRequest--; } -core.List buildUnnamed2028() => [ +core.List buildUnnamed2059() => [ buildDiagnosticMessage(), buildDiagnosticMessage(), ]; -void checkUnnamed2028(core.List o) { +void checkUnnamed2059(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDiagnosticMessage(o[0]); checkDiagnosticMessage(o[1]); } -core.List buildUnnamed2029() => [ +core.List buildUnnamed2060() => [ 'foo', 'foo', ]; -void checkUnnamed2029(core.List o) { +void checkUnnamed2060(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4309,12 +4309,12 @@ void checkUnnamed2029(core.List o) { ); } -core.List buildUnnamed2030() => [ +core.List buildUnnamed2061() => [ 'foo', 'foo', ]; -void checkUnnamed2030(core.List o) { +void checkUnnamed2061(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4326,23 +4326,23 @@ void checkUnnamed2030(core.List o) { ); } -core.List buildUnnamed2031() => [ +core.List buildUnnamed2062() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed2031(core.List o) { +void checkUnnamed2062(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed2032() => [ +core.List buildUnnamed2063() => [ buildPrefixNode(), buildPrefixNode(), ]; -void checkUnnamed2032(core.List o) { +void checkUnnamed2063(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrefixNode(o[0]); checkPrefixNode(o[1]); @@ -4355,14 +4355,14 @@ api.VisualizationData buildVisualizationData() { if (buildCounterVisualizationData < 3) { o.dataSourceEndToken = 'foo'; o.dataSourceSeparatorToken = 'foo'; - o.diagnosticMessages = buildUnnamed2028(); - o.endKeyStrings = buildUnnamed2029(); + o.diagnosticMessages = buildUnnamed2059(); + o.endKeyStrings = buildUnnamed2060(); o.hasPii = true; - o.indexedKeys = buildUnnamed2030(); + o.indexedKeys = buildUnnamed2061(); o.keySeparator = 'foo'; o.keyUnit = 'foo'; - o.metrics = buildUnnamed2031(); - o.prefixNodes = buildUnnamed2032(); + o.metrics = buildUnnamed2062(); + o.prefixNodes = buildUnnamed2063(); } buildCounterVisualizationData--; return o; @@ -4379,10 +4379,10 @@ void checkVisualizationData(api.VisualizationData o) { o.dataSourceSeparatorToken!, unittest.equals('foo'), ); - checkUnnamed2028(o.diagnosticMessages!); - checkUnnamed2029(o.endKeyStrings!); + checkUnnamed2059(o.diagnosticMessages!); + checkUnnamed2060(o.endKeyStrings!); unittest.expect(o.hasPii!, unittest.isTrue); - checkUnnamed2030(o.indexedKeys!); + checkUnnamed2061(o.indexedKeys!); unittest.expect( o.keySeparator!, unittest.equals('foo'), @@ -4391,18 +4391,18 @@ void checkVisualizationData(api.VisualizationData o) { o.keyUnit!, unittest.equals('foo'), ); - checkUnnamed2031(o.metrics!); - checkUnnamed2032(o.prefixNodes!); + checkUnnamed2062(o.metrics!); + checkUnnamed2063(o.prefixNodes!); } buildCounterVisualizationData--; } -core.List buildUnnamed2033() => [ +core.List buildUnnamed2064() => [ 'foo', 'foo', ]; -void checkUnnamed2033(core.List o) { +void checkUnnamed2064(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4414,7 +4414,7 @@ void checkUnnamed2033(core.List o) { ); } -core.List buildUnnamed2034() => [ +core.List buildUnnamed2065() => [ { 'list': [1, 2, 3], 'bool': true, @@ -4427,7 +4427,7 @@ core.List buildUnnamed2034() => [ }, ]; -void checkUnnamed2034(core.List o) { +void checkUnnamed2065(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted35 = (o[0]) as core.Map; unittest.expect(casted35, unittest.hasLength(3)); @@ -4459,15 +4459,15 @@ void checkUnnamed2034(core.List o) { ); } -core.List> buildUnnamed2035() => [ - buildUnnamed2034(), - buildUnnamed2034(), +core.List> buildUnnamed2066() => [ + buildUnnamed2065(), + buildUnnamed2065(), ]; -void checkUnnamed2035(core.List> o) { +void checkUnnamed2066(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2034(o[0]); - checkUnnamed2034(o[1]); + checkUnnamed2065(o[0]); + checkUnnamed2065(o[1]); } core.int buildCounterWrite = 0; @@ -4475,9 +4475,9 @@ api.Write buildWrite() { final o = api.Write(); buildCounterWrite++; if (buildCounterWrite < 3) { - o.columns = buildUnnamed2033(); + o.columns = buildUnnamed2064(); o.table = 'foo'; - o.values = buildUnnamed2035(); + o.values = buildUnnamed2066(); } buildCounterWrite--; return o; @@ -4486,12 +4486,12 @@ api.Write buildWrite() { void checkWrite(api.Write o) { buildCounterWrite++; if (buildCounterWrite < 3) { - checkUnnamed2033(o.columns!); + checkUnnamed2064(o.columns!); unittest.expect( o.table!, unittest.equals('foo'), ); - checkUnnamed2035(o.values!); + checkUnnamed2066(o.values!); } buildCounterWrite--; } diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart index f4b3c93d5..6e04f865c 100644 --- a/generated/googleapis/test/speech/v1_test.dart +++ b/generated/googleapis/test/speech/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed6062() => [ +core.List buildUnnamed6129() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6062(core.List o) { +void checkUnnamed6129(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -43,7 +43,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6062(); + o.operations = buildUnnamed6129(); } buildCounterListOperationsResponse--; return o; @@ -56,7 +56,7 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6062(o.operations!); + checkUnnamed6129(o.operations!); } buildCounterListOperationsResponse--; } @@ -119,12 +119,12 @@ void checkLongRunningRecognizeRequest(api.LongRunningRecognizeRequest o) { buildCounterLongRunningRecognizeRequest--; } -core.List buildUnnamed6063() => [ +core.List buildUnnamed6130() => [ buildSpeechRecognitionResult(), buildSpeechRecognitionResult(), ]; -void checkUnnamed6063(core.List o) { +void checkUnnamed6130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpeechRecognitionResult(o[0]); checkSpeechRecognitionResult(o[1]); @@ -135,7 +135,8 @@ api.LongRunningRecognizeResponse buildLongRunningRecognizeResponse() { final o = api.LongRunningRecognizeResponse(); buildCounterLongRunningRecognizeResponse++; if (buildCounterLongRunningRecognizeResponse < 3) { - o.results = buildUnnamed6063(); + o.results = buildUnnamed6130(); + o.totalBilledTime = 'foo'; } buildCounterLongRunningRecognizeResponse--; return o; @@ -144,12 +145,16 @@ api.LongRunningRecognizeResponse buildLongRunningRecognizeResponse() { void checkLongRunningRecognizeResponse(api.LongRunningRecognizeResponse o) { buildCounterLongRunningRecognizeResponse++; if (buildCounterLongRunningRecognizeResponse < 3) { - checkUnnamed6063(o.results!); + checkUnnamed6130(o.results!); + unittest.expect( + o.totalBilledTime!, + unittest.equals('foo'), + ); } buildCounterLongRunningRecognizeResponse--; } -core.Map buildUnnamed6064() => { +core.Map buildUnnamed6131() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -162,7 +167,7 @@ core.Map buildUnnamed6064() => { }, }; -void checkUnnamed6064(core.Map o) { +void checkUnnamed6131(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -194,7 +199,7 @@ void checkUnnamed6064(core.Map o) { ); } -core.Map buildUnnamed6065() => { +core.Map buildUnnamed6132() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -207,7 +212,7 @@ core.Map buildUnnamed6065() => { }, }; -void checkUnnamed6065(core.Map o) { +void checkUnnamed6132(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -246,9 +251,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6064(); + o.metadata = buildUnnamed6131(); o.name = 'foo'; - o.response = buildUnnamed6065(); + o.response = buildUnnamed6132(); } buildCounterOperation--; return o; @@ -259,12 +264,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6064(o.metadata!); + checkUnnamed6131(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6065(o.response!); + checkUnnamed6132(o.response!); } buildCounterOperation--; } @@ -296,12 +301,12 @@ void checkRecognitionAudio(api.RecognitionAudio o) { buildCounterRecognitionAudio--; } -core.List buildUnnamed6066() => [ +core.List buildUnnamed6133() => [ buildSpeechContext(), buildSpeechContext(), ]; -void checkUnnamed6066(core.List o) { +void checkUnnamed6133(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpeechContext(o[0]); checkSpeechContext(o[1]); @@ -324,7 +329,7 @@ api.RecognitionConfig buildRecognitionConfig() { o.model = 'foo'; o.profanityFilter = true; o.sampleRateHertz = 42; - o.speechContexts = buildUnnamed6066(); + o.speechContexts = buildUnnamed6133(); o.useEnhanced = true; } buildCounterRecognitionConfig--; @@ -364,7 +369,7 @@ void checkRecognitionConfig(api.RecognitionConfig o) { o.sampleRateHertz!, unittest.equals(42), ); - checkUnnamed6066(o.speechContexts!); + checkUnnamed6133(o.speechContexts!); unittest.expect(o.useEnhanced!, unittest.isTrue); } buildCounterRecognitionConfig--; @@ -448,12 +453,12 @@ void checkRecognizeRequest(api.RecognizeRequest o) { buildCounterRecognizeRequest--; } -core.List buildUnnamed6067() => [ +core.List buildUnnamed6134() => [ buildSpeechRecognitionResult(), buildSpeechRecognitionResult(), ]; -void checkUnnamed6067(core.List o) { +void checkUnnamed6134(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpeechRecognitionResult(o[0]); checkSpeechRecognitionResult(o[1]); @@ -464,7 +469,8 @@ api.RecognizeResponse buildRecognizeResponse() { final o = api.RecognizeResponse(); buildCounterRecognizeResponse++; if (buildCounterRecognizeResponse < 3) { - o.results = buildUnnamed6067(); + o.results = buildUnnamed6134(); + o.totalBilledTime = 'foo'; } buildCounterRecognizeResponse--; return o; @@ -473,7 +479,11 @@ api.RecognizeResponse buildRecognizeResponse() { void checkRecognizeResponse(api.RecognizeResponse o) { buildCounterRecognizeResponse++; if (buildCounterRecognizeResponse < 3) { - checkUnnamed6067(o.results!); + checkUnnamed6134(o.results!); + unittest.expect( + o.totalBilledTime!, + unittest.equals('foo'), + ); } buildCounterRecognizeResponse--; } @@ -512,12 +522,12 @@ void checkSpeakerDiarizationConfig(api.SpeakerDiarizationConfig o) { buildCounterSpeakerDiarizationConfig--; } -core.List buildUnnamed6068() => [ +core.List buildUnnamed6135() => [ 'foo', 'foo', ]; -void checkUnnamed6068(core.List o) { +void checkUnnamed6135(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -534,7 +544,7 @@ api.SpeechContext buildSpeechContext() { final o = api.SpeechContext(); buildCounterSpeechContext++; if (buildCounterSpeechContext < 3) { - o.phrases = buildUnnamed6068(); + o.phrases = buildUnnamed6135(); } buildCounterSpeechContext--; return o; @@ -543,17 +553,17 @@ api.SpeechContext buildSpeechContext() { void checkSpeechContext(api.SpeechContext o) { buildCounterSpeechContext++; if (buildCounterSpeechContext < 3) { - checkUnnamed6068(o.phrases!); + checkUnnamed6135(o.phrases!); } buildCounterSpeechContext--; } -core.List buildUnnamed6069() => [ +core.List buildUnnamed6136() => [ buildWordInfo(), buildWordInfo(), ]; -void checkUnnamed6069(core.List o) { +void checkUnnamed6136(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWordInfo(o[0]); checkWordInfo(o[1]); @@ -566,7 +576,7 @@ api.SpeechRecognitionAlternative buildSpeechRecognitionAlternative() { if (buildCounterSpeechRecognitionAlternative < 3) { o.confidence = 42.0; o.transcript = 'foo'; - o.words = buildUnnamed6069(); + o.words = buildUnnamed6136(); } buildCounterSpeechRecognitionAlternative--; return o; @@ -583,17 +593,17 @@ void checkSpeechRecognitionAlternative(api.SpeechRecognitionAlternative o) { o.transcript!, unittest.equals('foo'), ); - checkUnnamed6069(o.words!); + checkUnnamed6136(o.words!); } buildCounterSpeechRecognitionAlternative--; } -core.List buildUnnamed6070() => [ +core.List buildUnnamed6137() => [ buildSpeechRecognitionAlternative(), buildSpeechRecognitionAlternative(), ]; -void checkUnnamed6070(core.List o) { +void checkUnnamed6137(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpeechRecognitionAlternative(o[0]); checkSpeechRecognitionAlternative(o[1]); @@ -604,7 +614,7 @@ api.SpeechRecognitionResult buildSpeechRecognitionResult() { final o = api.SpeechRecognitionResult(); buildCounterSpeechRecognitionResult++; if (buildCounterSpeechRecognitionResult < 3) { - o.alternatives = buildUnnamed6070(); + o.alternatives = buildUnnamed6137(); o.channelTag = 42; } buildCounterSpeechRecognitionResult--; @@ -614,7 +624,7 @@ api.SpeechRecognitionResult buildSpeechRecognitionResult() { void checkSpeechRecognitionResult(api.SpeechRecognitionResult o) { buildCounterSpeechRecognitionResult++; if (buildCounterSpeechRecognitionResult < 3) { - checkUnnamed6070(o.alternatives!); + checkUnnamed6137(o.alternatives!); unittest.expect( o.channelTag!, unittest.equals(42), @@ -623,7 +633,7 @@ void checkSpeechRecognitionResult(api.SpeechRecognitionResult o) { buildCounterSpeechRecognitionResult--; } -core.Map buildUnnamed6071() => { +core.Map buildUnnamed6138() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -636,7 +646,7 @@ core.Map buildUnnamed6071() => { }, }; -void checkUnnamed6071(core.Map o) { +void checkUnnamed6138(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -668,15 +678,15 @@ void checkUnnamed6071(core.Map o) { ); } -core.List> buildUnnamed6072() => [ - buildUnnamed6071(), - buildUnnamed6071(), +core.List> buildUnnamed6139() => [ + buildUnnamed6138(), + buildUnnamed6138(), ]; -void checkUnnamed6072(core.List> o) { +void checkUnnamed6139(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6071(o[0]); - checkUnnamed6071(o[1]); + checkUnnamed6138(o[0]); + checkUnnamed6138(o[1]); } core.int buildCounterStatus = 0; @@ -685,7 +695,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6072(); + o.details = buildUnnamed6139(); o.message = 'foo'; } buildCounterStatus--; @@ -699,7 +709,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6072(o.details!); + checkUnnamed6139(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart index 6bff569b6..947c33d88 100644 --- a/generated/googleapis/test/storage/v1_test.dart +++ b/generated/googleapis/test/storage/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5358() => [ +core.List buildUnnamed5423() => [ buildBucketAccessControl(), buildBucketAccessControl(), ]; -void checkUnnamed5358(core.List o) { +void checkUnnamed5423(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucketAccessControl(o[0]); checkBucketAccessControl(o[1]); @@ -56,12 +56,12 @@ void checkBucketBilling(api.BucketBilling o) { buildCounterBucketBilling--; } -core.List buildUnnamed5359() => [ +core.List buildUnnamed5424() => [ 'foo', 'foo', ]; -void checkUnnamed5359(core.List o) { +void checkUnnamed5424(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -73,12 +73,12 @@ void checkUnnamed5359(core.List o) { ); } -core.List buildUnnamed5360() => [ +core.List buildUnnamed5425() => [ 'foo', 'foo', ]; -void checkUnnamed5360(core.List o) { +void checkUnnamed5425(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -90,12 +90,12 @@ void checkUnnamed5360(core.List o) { ); } -core.List buildUnnamed5361() => [ +core.List buildUnnamed5426() => [ 'foo', 'foo', ]; -void checkUnnamed5361(core.List o) { +void checkUnnamed5426(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -113,9 +113,9 @@ api.BucketCors buildBucketCors() { buildCounterBucketCors++; if (buildCounterBucketCors < 3) { o.maxAgeSeconds = 42; - o.method = buildUnnamed5359(); - o.origin = buildUnnamed5360(); - o.responseHeader = buildUnnamed5361(); + o.method = buildUnnamed5424(); + o.origin = buildUnnamed5425(); + o.responseHeader = buildUnnamed5426(); } buildCounterBucketCors--; return o; @@ -128,30 +128,30 @@ void checkBucketCors(api.BucketCors o) { o.maxAgeSeconds!, unittest.equals(42), ); - checkUnnamed5359(o.method!); - checkUnnamed5360(o.origin!); - checkUnnamed5361(o.responseHeader!); + checkUnnamed5424(o.method!); + checkUnnamed5425(o.origin!); + checkUnnamed5426(o.responseHeader!); } buildCounterBucketCors--; } -core.List buildUnnamed5362() => [ +core.List buildUnnamed5427() => [ buildBucketCors(), buildBucketCors(), ]; -void checkUnnamed5362(core.List o) { +void checkUnnamed5427(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucketCors(o[0]); checkBucketCors(o[1]); } -core.List buildUnnamed5363() => [ +core.List buildUnnamed5428() => [ buildObjectAccessControl(), buildObjectAccessControl(), ]; -void checkUnnamed5363(core.List o) { +void checkUnnamed5428(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); @@ -259,12 +259,12 @@ void checkBucketIamConfiguration(api.BucketIamConfiguration o) { buildCounterBucketIamConfiguration--; } -core.Map buildUnnamed5364() => { +core.Map buildUnnamed5429() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5364(core.Map o) { +void checkUnnamed5429(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -303,12 +303,12 @@ void checkBucketLifecycleRuleAction(api.BucketLifecycleRuleAction o) { buildCounterBucketLifecycleRuleAction--; } -core.List buildUnnamed5365() => [ +core.List buildUnnamed5430() => [ 'foo', 'foo', ]; -void checkUnnamed5365(core.List o) { +void checkUnnamed5430(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -332,7 +332,7 @@ api.BucketLifecycleRuleCondition buildBucketLifecycleRuleCondition() { o.daysSinceNoncurrentTime = 42; o.isLive = true; o.matchesPattern = 'foo'; - o.matchesStorageClass = buildUnnamed5365(); + o.matchesStorageClass = buildUnnamed5430(); o.noncurrentTimeBefore = core.DateTime.parse('2002-02-27T14:01:02Z'); o.numNewerVersions = 42; } @@ -368,7 +368,7 @@ void checkBucketLifecycleRuleCondition(api.BucketLifecycleRuleCondition o) { o.matchesPattern!, unittest.equals('foo'), ); - checkUnnamed5365(o.matchesStorageClass!); + checkUnnamed5430(o.matchesStorageClass!); unittest.expect( o.noncurrentTimeBefore!, unittest.equals(core.DateTime.parse('2002-02-27T00:00:00')), @@ -402,12 +402,12 @@ void checkBucketLifecycleRule(api.BucketLifecycleRule o) { buildCounterBucketLifecycleRule--; } -core.List buildUnnamed5366() => [ +core.List buildUnnamed5431() => [ buildBucketLifecycleRule(), buildBucketLifecycleRule(), ]; -void checkUnnamed5366(core.List o) { +void checkUnnamed5431(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucketLifecycleRule(o[0]); checkBucketLifecycleRule(o[1]); @@ -418,7 +418,7 @@ api.BucketLifecycle buildBucketLifecycle() { final o = api.BucketLifecycle(); buildCounterBucketLifecycle++; if (buildCounterBucketLifecycle < 3) { - o.rule = buildUnnamed5366(); + o.rule = buildUnnamed5431(); } buildCounterBucketLifecycle--; return o; @@ -427,7 +427,7 @@ api.BucketLifecycle buildBucketLifecycle() { void checkBucketLifecycle(api.BucketLifecycle o) { buildCounterBucketLifecycle++; if (buildCounterBucketLifecycle < 3) { - checkUnnamed5366(o.rule!); + checkUnnamed5431(o.rule!); } buildCounterBucketLifecycle--; } @@ -561,12 +561,12 @@ void checkBucketWebsite(api.BucketWebsite o) { buildCounterBucketWebsite--; } -core.List buildUnnamed5367() => [ +core.List buildUnnamed5432() => [ 'foo', 'foo', ]; -void checkUnnamed5367(core.List o) { +void checkUnnamed5432(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -583,17 +583,17 @@ api.Bucket buildBucket() { final o = api.Bucket(); buildCounterBucket++; if (buildCounterBucket < 3) { - o.acl = buildUnnamed5358(); + o.acl = buildUnnamed5423(); o.billing = buildBucketBilling(); - o.cors = buildUnnamed5362(); + o.cors = buildUnnamed5427(); o.defaultEventBasedHold = true; - o.defaultObjectAcl = buildUnnamed5363(); + o.defaultObjectAcl = buildUnnamed5428(); o.encryption = buildBucketEncryption(); o.etag = 'foo'; o.iamConfiguration = buildBucketIamConfiguration(); o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed5364(); + o.labels = buildUnnamed5429(); o.lifecycle = buildBucketLifecycle(); o.location = 'foo'; o.locationType = 'foo'; @@ -610,7 +610,7 @@ api.Bucket buildBucket() { o.updated = core.DateTime.parse('2002-02-27T14:01:02'); o.versioning = buildBucketVersioning(); o.website = buildBucketWebsite(); - o.zoneAffinity = buildUnnamed5367(); + o.zoneAffinity = buildUnnamed5432(); } buildCounterBucket--; return o; @@ -619,11 +619,11 @@ api.Bucket buildBucket() { void checkBucket(api.Bucket o) { buildCounterBucket++; if (buildCounterBucket < 3) { - checkUnnamed5358(o.acl!); + checkUnnamed5423(o.acl!); checkBucketBilling(o.billing!); - checkUnnamed5362(o.cors!); + checkUnnamed5427(o.cors!); unittest.expect(o.defaultEventBasedHold!, unittest.isTrue); - checkUnnamed5363(o.defaultObjectAcl!); + checkUnnamed5428(o.defaultObjectAcl!); checkBucketEncryption(o.encryption!); unittest.expect( o.etag!, @@ -638,7 +638,7 @@ void checkBucket(api.Bucket o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5364(o.labels!); + checkUnnamed5429(o.labels!); checkBucketLifecycle(o.lifecycle!); unittest.expect( o.location!, @@ -682,7 +682,7 @@ void checkBucket(api.Bucket o) { ); checkBucketVersioning(o.versioning!); checkBucketWebsite(o.website!); - checkUnnamed5367(o.zoneAffinity!); + checkUnnamed5432(o.zoneAffinity!); } buildCounterBucket--; } @@ -783,12 +783,12 @@ void checkBucketAccessControl(api.BucketAccessControl o) { buildCounterBucketAccessControl--; } -core.List buildUnnamed5368() => [ +core.List buildUnnamed5433() => [ buildBucketAccessControl(), buildBucketAccessControl(), ]; -void checkUnnamed5368(core.List o) { +void checkUnnamed5433(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucketAccessControl(o[0]); checkBucketAccessControl(o[1]); @@ -799,7 +799,7 @@ api.BucketAccessControls buildBucketAccessControls() { final o = api.BucketAccessControls(); buildCounterBucketAccessControls++; if (buildCounterBucketAccessControls < 3) { - o.items = buildUnnamed5368(); + o.items = buildUnnamed5433(); o.kind = 'foo'; } buildCounterBucketAccessControls--; @@ -809,7 +809,7 @@ api.BucketAccessControls buildBucketAccessControls() { void checkBucketAccessControls(api.BucketAccessControls o) { buildCounterBucketAccessControls++; if (buildCounterBucketAccessControls < 3) { - checkUnnamed5368(o.items!); + checkUnnamed5433(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -818,12 +818,12 @@ void checkBucketAccessControls(api.BucketAccessControls o) { buildCounterBucketAccessControls--; } -core.List buildUnnamed5369() => [ +core.List buildUnnamed5434() => [ buildBucket(), buildBucket(), ]; -void checkUnnamed5369(core.List o) { +void checkUnnamed5434(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucket(o[0]); checkBucket(o[1]); @@ -834,7 +834,7 @@ api.Buckets buildBuckets() { final o = api.Buckets(); buildCounterBuckets++; if (buildCounterBuckets < 3) { - o.items = buildUnnamed5369(); + o.items = buildUnnamed5434(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -845,7 +845,7 @@ api.Buckets buildBuckets() { void checkBuckets(api.Buckets o) { buildCounterBuckets++; if (buildCounterBuckets < 3) { - checkUnnamed5369(o.items!); + checkUnnamed5434(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -858,12 +858,12 @@ void checkBuckets(api.Buckets o) { buildCounterBuckets--; } -core.Map buildUnnamed5370() => { +core.Map buildUnnamed5435() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5370(core.Map o) { +void checkUnnamed5435(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -884,7 +884,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed5370(); + o.params = buildUnnamed5435(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -914,7 +914,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5370(o.params!); + checkUnnamed5435(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -990,12 +990,12 @@ void checkComposeRequestSourceObjects(api.ComposeRequestSourceObjects o) { buildCounterComposeRequestSourceObjects--; } -core.List buildUnnamed5371() => [ +core.List buildUnnamed5436() => [ buildComposeRequestSourceObjects(), buildComposeRequestSourceObjects(), ]; -void checkUnnamed5371(core.List o) { +void checkUnnamed5436(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComposeRequestSourceObjects(o[0]); checkComposeRequestSourceObjects(o[1]); @@ -1008,7 +1008,7 @@ api.ComposeRequest buildComposeRequest() { if (buildCounterComposeRequest < 3) { o.destination = buildObject(); o.kind = 'foo'; - o.sourceObjects = buildUnnamed5371(); + o.sourceObjects = buildUnnamed5436(); } buildCounterComposeRequest--; return o; @@ -1022,7 +1022,7 @@ void checkComposeRequest(api.ComposeRequest o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5371(o.sourceObjects!); + checkUnnamed5436(o.sourceObjects!); } buildCounterComposeRequest--; } @@ -1160,12 +1160,12 @@ void checkHmacKeyMetadata(api.HmacKeyMetadata o) { buildCounterHmacKeyMetadata--; } -core.List buildUnnamed5372() => [ +core.List buildUnnamed5437() => [ buildHmacKeyMetadata(), buildHmacKeyMetadata(), ]; -void checkUnnamed5372(core.List o) { +void checkUnnamed5437(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHmacKeyMetadata(o[0]); checkHmacKeyMetadata(o[1]); @@ -1176,7 +1176,7 @@ api.HmacKeysMetadata buildHmacKeysMetadata() { final o = api.HmacKeysMetadata(); buildCounterHmacKeysMetadata++; if (buildCounterHmacKeysMetadata < 3) { - o.items = buildUnnamed5372(); + o.items = buildUnnamed5437(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1187,7 +1187,7 @@ api.HmacKeysMetadata buildHmacKeysMetadata() { void checkHmacKeysMetadata(api.HmacKeysMetadata o) { buildCounterHmacKeysMetadata++; if (buildCounterHmacKeysMetadata < 3) { - checkUnnamed5372(o.items!); + checkUnnamed5437(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1200,12 +1200,12 @@ void checkHmacKeysMetadata(api.HmacKeysMetadata o) { buildCounterHmacKeysMetadata--; } -core.Map buildUnnamed5373() => { +core.Map buildUnnamed5438() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5373(core.Map o) { +void checkUnnamed5438(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1217,12 +1217,12 @@ void checkUnnamed5373(core.Map o) { ); } -core.List buildUnnamed5374() => [ +core.List buildUnnamed5439() => [ 'foo', 'foo', ]; -void checkUnnamed5374(core.List o) { +void checkUnnamed5439(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1239,9 +1239,9 @@ api.Notification buildNotification() { final o = api.Notification(); buildCounterNotification++; if (buildCounterNotification < 3) { - o.customAttributes = buildUnnamed5373(); + o.customAttributes = buildUnnamed5438(); o.etag = 'foo'; - o.eventTypes = buildUnnamed5374(); + o.eventTypes = buildUnnamed5439(); o.id = 'foo'; o.kind = 'foo'; o.objectNamePrefix = 'foo'; @@ -1256,12 +1256,12 @@ api.Notification buildNotification() { void checkNotification(api.Notification o) { buildCounterNotification++; if (buildCounterNotification < 3) { - checkUnnamed5373(o.customAttributes!); + checkUnnamed5438(o.customAttributes!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed5374(o.eventTypes!); + checkUnnamed5439(o.eventTypes!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1290,12 +1290,12 @@ void checkNotification(api.Notification o) { buildCounterNotification--; } -core.List buildUnnamed5375() => [ +core.List buildUnnamed5440() => [ buildNotification(), buildNotification(), ]; -void checkUnnamed5375(core.List o) { +void checkUnnamed5440(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotification(o[0]); checkNotification(o[1]); @@ -1306,7 +1306,7 @@ api.Notifications buildNotifications() { final o = api.Notifications(); buildCounterNotifications++; if (buildCounterNotifications < 3) { - o.items = buildUnnamed5375(); + o.items = buildUnnamed5440(); o.kind = 'foo'; } buildCounterNotifications--; @@ -1316,7 +1316,7 @@ api.Notifications buildNotifications() { void checkNotifications(api.Notifications o) { buildCounterNotifications++; if (buildCounterNotifications < 3) { - checkUnnamed5375(o.items!); + checkUnnamed5440(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1325,12 +1325,12 @@ void checkNotifications(api.Notifications o) { buildCounterNotifications--; } -core.List buildUnnamed5376() => [ +core.List buildUnnamed5441() => [ buildObjectAccessControl(), buildObjectAccessControl(), ]; -void checkUnnamed5376(core.List o) { +void checkUnnamed5441(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); @@ -1363,12 +1363,12 @@ void checkObjectCustomerEncryption(api.ObjectCustomerEncryption o) { buildCounterObjectCustomerEncryption--; } -core.Map buildUnnamed5377() => { +core.Map buildUnnamed5442() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed5377(core.Map o) { +void checkUnnamed5442(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1412,7 +1412,7 @@ api.Object buildObject() { final o = api.Object(); buildCounterObject++; if (buildCounterObject < 3) { - o.acl = buildUnnamed5376(); + o.acl = buildUnnamed5441(); o.bucket = 'foo'; o.cacheControl = 'foo'; o.componentCount = 42; @@ -1431,7 +1431,7 @@ api.Object buildObject() { o.kmsKeyName = 'foo'; o.md5Hash = 'foo'; o.mediaLink = 'foo'; - o.metadata = buildUnnamed5377(); + o.metadata = buildUnnamed5442(); o.metageneration = 'foo'; o.name = 'foo'; o.owner = buildObjectOwner(); @@ -1452,7 +1452,7 @@ api.Object buildObject() { void checkObject(api.Object o) { buildCounterObject++; if (buildCounterObject < 3) { - checkUnnamed5376(o.acl!); + checkUnnamed5441(o.acl!); unittest.expect( o.bucket!, unittest.equals('foo'), @@ -1519,7 +1519,7 @@ void checkObject(api.Object o) { o.mediaLink!, unittest.equals('foo'), ); - checkUnnamed5377(o.metadata!); + checkUnnamed5442(o.metadata!); unittest.expect( o.metageneration!, unittest.equals('foo'), @@ -1672,12 +1672,12 @@ void checkObjectAccessControl(api.ObjectAccessControl o) { buildCounterObjectAccessControl--; } -core.List buildUnnamed5378() => [ +core.List buildUnnamed5443() => [ buildObjectAccessControl(), buildObjectAccessControl(), ]; -void checkUnnamed5378(core.List o) { +void checkUnnamed5443(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); @@ -1688,7 +1688,7 @@ api.ObjectAccessControls buildObjectAccessControls() { final o = api.ObjectAccessControls(); buildCounterObjectAccessControls++; if (buildCounterObjectAccessControls < 3) { - o.items = buildUnnamed5378(); + o.items = buildUnnamed5443(); o.kind = 'foo'; } buildCounterObjectAccessControls--; @@ -1698,7 +1698,7 @@ api.ObjectAccessControls buildObjectAccessControls() { void checkObjectAccessControls(api.ObjectAccessControls o) { buildCounterObjectAccessControls++; if (buildCounterObjectAccessControls < 3) { - checkUnnamed5378(o.items!); + checkUnnamed5443(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1707,23 +1707,23 @@ void checkObjectAccessControls(api.ObjectAccessControls o) { buildCounterObjectAccessControls--; } -core.List buildUnnamed5379() => [ +core.List buildUnnamed5444() => [ buildObject(), buildObject(), ]; -void checkUnnamed5379(core.List o) { +void checkUnnamed5444(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObject(o[0]); checkObject(o[1]); } -core.List buildUnnamed5380() => [ +core.List buildUnnamed5445() => [ 'foo', 'foo', ]; -void checkUnnamed5380(core.List o) { +void checkUnnamed5445(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1740,10 +1740,10 @@ api.Objects buildObjects() { final o = api.Objects(); buildCounterObjects++; if (buildCounterObjects < 3) { - o.items = buildUnnamed5379(); + o.items = buildUnnamed5444(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.prefixes = buildUnnamed5380(); + o.prefixes = buildUnnamed5445(); } buildCounterObjects--; return o; @@ -1752,7 +1752,7 @@ api.Objects buildObjects() { void checkObjects(api.Objects o) { buildCounterObjects++; if (buildCounterObjects < 3) { - checkUnnamed5379(o.items!); + checkUnnamed5444(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1761,17 +1761,17 @@ void checkObjects(api.Objects o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5380(o.prefixes!); + checkUnnamed5445(o.prefixes!); } buildCounterObjects--; } -core.List buildUnnamed5381() => [ +core.List buildUnnamed5446() => [ 'foo', 'foo', ]; -void checkUnnamed5381(core.List o) { +void checkUnnamed5446(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1789,7 +1789,7 @@ api.PolicyBindings buildPolicyBindings() { buildCounterPolicyBindings++; if (buildCounterPolicyBindings < 3) { o.condition = buildExpr(); - o.members = buildUnnamed5381(); + o.members = buildUnnamed5446(); o.role = 'foo'; } buildCounterPolicyBindings--; @@ -1800,7 +1800,7 @@ void checkPolicyBindings(api.PolicyBindings o) { buildCounterPolicyBindings++; if (buildCounterPolicyBindings < 3) { checkExpr(o.condition!); - checkUnnamed5381(o.members!); + checkUnnamed5446(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -1809,12 +1809,12 @@ void checkPolicyBindings(api.PolicyBindings o) { buildCounterPolicyBindings--; } -core.List buildUnnamed5382() => [ +core.List buildUnnamed5447() => [ buildPolicyBindings(), buildPolicyBindings(), ]; -void checkUnnamed5382(core.List o) { +void checkUnnamed5447(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBindings(o[0]); checkPolicyBindings(o[1]); @@ -1825,7 +1825,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed5382(); + o.bindings = buildUnnamed5447(); o.etag = 'foo'; o.kind = 'foo'; o.resourceId = 'foo'; @@ -1838,7 +1838,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed5382(o.bindings!); + checkUnnamed5447(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1927,12 +1927,12 @@ void checkServiceAccount(api.ServiceAccount o) { buildCounterServiceAccount--; } -core.List buildUnnamed5383() => [ +core.List buildUnnamed5448() => [ 'foo', 'foo', ]; -void checkUnnamed5383(core.List o) { +void checkUnnamed5448(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1950,7 +1950,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { o.kind = 'foo'; - o.permissions = buildUnnamed5383(); + o.permissions = buildUnnamed5448(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1963,17 +1963,17 @@ void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed5383(o.permissions!); + checkUnnamed5448(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed5384() => [ +core.List buildUnnamed5449() => [ 'foo', 'foo', ]; -void checkUnnamed5384(core.List o) { +void checkUnnamed5449(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1985,12 +1985,12 @@ void checkUnnamed5384(core.List o) { ); } -core.List buildUnnamed5385() => [ +core.List buildUnnamed5450() => [ 'foo', 'foo', ]; -void checkUnnamed5385(core.List o) { +void checkUnnamed5450(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3720,7 +3720,7 @@ void main() { final mock = HttpServerMock(); final res = api.StorageApi(mock).buckets; final arg_bucket = 'foo'; - final arg_permissions = buildUnnamed5384(); + final arg_permissions = buildUnnamed5449(); final arg_provisionalUserProject = 'foo'; final arg_userProject = 'foo'; final arg_$fields = 'foo'; @@ -6976,7 +6976,7 @@ void main() { final res = api.StorageApi(mock).objects; final arg_bucket = 'foo'; final arg_object = 'foo'; - final arg_permissions = buildUnnamed5385(); + final arg_permissions = buildUnnamed5450(); final arg_generation = 'foo'; final arg_provisionalUserProject = 'foo'; final arg_userProject = 'foo'; diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart index 074adfa84..b6b3eeac8 100644 --- a/generated/googleapis/test/storagetransfer/v1_test.dart +++ b/generated/googleapis/test/storagetransfer/v1_test.dart @@ -205,12 +205,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed1801() => [ +core.List buildUnnamed1831() => [ 'foo', 'foo', ]; -void checkUnnamed1801(core.List o) { +void checkUnnamed1831(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -227,7 +227,7 @@ api.ErrorLogEntry buildErrorLogEntry() { final o = api.ErrorLogEntry(); buildCounterErrorLogEntry++; if (buildCounterErrorLogEntry < 3) { - o.errorDetails = buildUnnamed1801(); + o.errorDetails = buildUnnamed1831(); o.url = 'foo'; } buildCounterErrorLogEntry--; @@ -237,7 +237,7 @@ api.ErrorLogEntry buildErrorLogEntry() { void checkErrorLogEntry(api.ErrorLogEntry o) { buildCounterErrorLogEntry++; if (buildCounterErrorLogEntry < 3) { - checkUnnamed1801(o.errorDetails!); + checkUnnamed1831(o.errorDetails!); unittest.expect( o.url!, unittest.equals('foo'), @@ -246,12 +246,12 @@ void checkErrorLogEntry(api.ErrorLogEntry o) { buildCounterErrorLogEntry--; } -core.List buildUnnamed1802() => [ +core.List buildUnnamed1832() => [ buildErrorLogEntry(), buildErrorLogEntry(), ]; -void checkUnnamed1802(core.List o) { +void checkUnnamed1832(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorLogEntry(o[0]); checkErrorLogEntry(o[1]); @@ -264,7 +264,7 @@ api.ErrorSummary buildErrorSummary() { if (buildCounterErrorSummary < 3) { o.errorCode = 'foo'; o.errorCount = 'foo'; - o.errorLogEntries = buildUnnamed1802(); + o.errorLogEntries = buildUnnamed1832(); } buildCounterErrorSummary--; return o; @@ -281,7 +281,7 @@ void checkErrorSummary(api.ErrorSummary o) { o.errorCount!, unittest.equals('foo'), ); - checkUnnamed1802(o.errorLogEntries!); + checkUnnamed1832(o.errorLogEntries!); } buildCounterErrorSummary--; } @@ -362,12 +362,12 @@ void checkHttpData(api.HttpData o) { buildCounterHttpData--; } -core.List buildUnnamed1803() => [ +core.List buildUnnamed1833() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1803(core.List o) { +void checkUnnamed1833(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -379,7 +379,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1803(); + o.operations = buildUnnamed1833(); } buildCounterListOperationsResponse--; return o; @@ -392,17 +392,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1803(o.operations!); + checkUnnamed1833(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed1804() => [ +core.List buildUnnamed1834() => [ buildTransferJob(), buildTransferJob(), ]; -void checkUnnamed1804(core.List o) { +void checkUnnamed1834(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransferJob(o[0]); checkTransferJob(o[1]); @@ -414,7 +414,7 @@ api.ListTransferJobsResponse buildListTransferJobsResponse() { buildCounterListTransferJobsResponse++; if (buildCounterListTransferJobsResponse < 3) { o.nextPageToken = 'foo'; - o.transferJobs = buildUnnamed1804(); + o.transferJobs = buildUnnamed1834(); } buildCounterListTransferJobsResponse--; return o; @@ -427,17 +427,36 @@ void checkListTransferJobsResponse(api.ListTransferJobsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1804(o.transferJobs!); + checkUnnamed1834(o.transferJobs!); } buildCounterListTransferJobsResponse--; } -core.List buildUnnamed1805() => [ +core.int buildCounterLoggingConfig = 0; +api.LoggingConfig buildLoggingConfig() { + final o = api.LoggingConfig(); + buildCounterLoggingConfig++; + if (buildCounterLoggingConfig < 3) { + o.enableOnpremGcsTransferLogs = true; + } + buildCounterLoggingConfig--; + return o; +} + +void checkLoggingConfig(api.LoggingConfig o) { + buildCounterLoggingConfig++; + if (buildCounterLoggingConfig < 3) { + unittest.expect(o.enableOnpremGcsTransferLogs!, unittest.isTrue); + } + buildCounterLoggingConfig--; +} + +core.List buildUnnamed1835() => [ 'foo', 'foo', ]; -void checkUnnamed1805(core.List o) { +void checkUnnamed1835(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -454,7 +473,7 @@ api.NotificationConfig buildNotificationConfig() { final o = api.NotificationConfig(); buildCounterNotificationConfig++; if (buildCounterNotificationConfig < 3) { - o.eventTypes = buildUnnamed1805(); + o.eventTypes = buildUnnamed1835(); o.payloadFormat = 'foo'; o.pubsubTopic = 'foo'; } @@ -465,7 +484,7 @@ api.NotificationConfig buildNotificationConfig() { void checkNotificationConfig(api.NotificationConfig o) { buildCounterNotificationConfig++; if (buildCounterNotificationConfig < 3) { - checkUnnamed1805(o.eventTypes!); + checkUnnamed1835(o.eventTypes!); unittest.expect( o.payloadFormat!, unittest.equals('foo'), @@ -478,12 +497,12 @@ void checkNotificationConfig(api.NotificationConfig o) { buildCounterNotificationConfig--; } -core.List buildUnnamed1806() => [ +core.List buildUnnamed1836() => [ 'foo', 'foo', ]; -void checkUnnamed1806(core.List o) { +void checkUnnamed1836(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -495,12 +514,12 @@ void checkUnnamed1806(core.List o) { ); } -core.List buildUnnamed1807() => [ +core.List buildUnnamed1837() => [ 'foo', 'foo', ]; -void checkUnnamed1807(core.List o) { +void checkUnnamed1837(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -517,8 +536,8 @@ api.ObjectConditions buildObjectConditions() { final o = api.ObjectConditions(); buildCounterObjectConditions++; if (buildCounterObjectConditions < 3) { - o.excludePrefixes = buildUnnamed1806(); - o.includePrefixes = buildUnnamed1807(); + o.excludePrefixes = buildUnnamed1836(); + o.includePrefixes = buildUnnamed1837(); o.lastModifiedBefore = 'foo'; o.lastModifiedSince = 'foo'; o.maxTimeElapsedSinceLastModification = 'foo'; @@ -531,8 +550,8 @@ api.ObjectConditions buildObjectConditions() { void checkObjectConditions(api.ObjectConditions o) { buildCounterObjectConditions++; if (buildCounterObjectConditions < 3) { - checkUnnamed1806(o.excludePrefixes!); - checkUnnamed1807(o.includePrefixes!); + checkUnnamed1836(o.excludePrefixes!); + checkUnnamed1837(o.includePrefixes!); unittest.expect( o.lastModifiedBefore!, unittest.equals('foo'), @@ -553,7 +572,7 @@ void checkObjectConditions(api.ObjectConditions o) { buildCounterObjectConditions--; } -core.Map buildUnnamed1808() => { +core.Map buildUnnamed1838() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -566,7 +585,7 @@ core.Map buildUnnamed1808() => { }, }; -void checkUnnamed1808(core.Map o) { +void checkUnnamed1838(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -598,7 +617,7 @@ void checkUnnamed1808(core.Map o) { ); } -core.Map buildUnnamed1809() => { +core.Map buildUnnamed1839() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -611,7 +630,7 @@ core.Map buildUnnamed1809() => { }, }; -void checkUnnamed1809(core.Map o) { +void checkUnnamed1839(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -650,9 +669,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1808(); + o.metadata = buildUnnamed1838(); o.name = 'foo'; - o.response = buildUnnamed1809(); + o.response = buildUnnamed1839(); } buildCounterOperation--; return o; @@ -663,12 +682,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1808(o.metadata!); + checkUnnamed1838(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1809(o.response!); + checkUnnamed1839(o.response!); } buildCounterOperation--; } @@ -688,6 +707,28 @@ void checkPauseTransferOperationRequest(api.PauseTransferOperationRequest o) { buildCounterPauseTransferOperationRequest--; } +core.int buildCounterPosixFilesystem = 0; +api.PosixFilesystem buildPosixFilesystem() { + final o = api.PosixFilesystem(); + buildCounterPosixFilesystem++; + if (buildCounterPosixFilesystem < 3) { + o.rootDirectory = 'foo'; + } + buildCounterPosixFilesystem--; + return o; +} + +void checkPosixFilesystem(api.PosixFilesystem o) { + buildCounterPosixFilesystem++; + if (buildCounterPosixFilesystem < 3) { + unittest.expect( + o.rootDirectory!, + unittest.equals('foo'), + ); + } + buildCounterPosixFilesystem--; +} + core.int buildCounterResumeTransferOperationRequest = 0; api.ResumeTransferOperationRequest buildResumeTransferOperationRequest() { final o = api.ResumeTransferOperationRequest(); @@ -755,7 +796,7 @@ void checkSchedule(api.Schedule o) { buildCounterSchedule--; } -core.Map buildUnnamed1810() => { +core.Map buildUnnamed1840() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -768,7 +809,7 @@ core.Map buildUnnamed1810() => { }, }; -void checkUnnamed1810(core.Map o) { +void checkUnnamed1840(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -800,15 +841,15 @@ void checkUnnamed1810(core.Map o) { ); } -core.List> buildUnnamed1811() => [ - buildUnnamed1810(), - buildUnnamed1810(), +core.List> buildUnnamed1841() => [ + buildUnnamed1840(), + buildUnnamed1840(), ]; -void checkUnnamed1811(core.List> o) { +void checkUnnamed1841(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1810(o[0]); - checkUnnamed1810(o[1]); + checkUnnamed1840(o[0]); + checkUnnamed1840(o[1]); } core.int buildCounterStatus = 0; @@ -817,7 +858,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1811(); + o.details = buildUnnamed1841(); o.message = 'foo'; } buildCounterStatus--; @@ -831,7 +872,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1811(o.details!); + checkUnnamed1841(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -890,6 +931,9 @@ api.TransferCounters buildTransferCounters() { o.bytesFoundOnlyFromSink = 'foo'; o.bytesFromSourceFailed = 'foo'; o.bytesFromSourceSkippedBySync = 'foo'; + o.directoriesFailedToListFromSource = 'foo'; + o.directoriesFoundFromSource = 'foo'; + o.directoriesSuccessfullyListedFromSource = 'foo'; o.objectsCopiedToSink = 'foo'; o.objectsDeletedFromSink = 'foo'; o.objectsDeletedFromSource = 'foo'; @@ -938,6 +982,18 @@ void checkTransferCounters(api.TransferCounters o) { o.bytesFromSourceSkippedBySync!, unittest.equals('foo'), ); + unittest.expect( + o.directoriesFailedToListFromSource!, + unittest.equals('foo'), + ); + unittest.expect( + o.directoriesFoundFromSource!, + unittest.equals('foo'), + ); + unittest.expect( + o.directoriesSuccessfullyListedFromSource!, + unittest.equals('foo'), + ); unittest.expect( o.objectsCopiedToSink!, unittest.equals('foo'), @@ -984,6 +1040,7 @@ api.TransferJob buildTransferJob() { o.description = 'foo'; o.lastModificationTime = 'foo'; o.latestOperationName = 'foo'; + o.loggingConfig = buildLoggingConfig(); o.name = 'foo'; o.notificationConfig = buildNotificationConfig(); o.projectId = 'foo'; @@ -1018,6 +1075,7 @@ void checkTransferJob(api.TransferJob o) { o.latestOperationName!, unittest.equals('foo'), ); + checkLoggingConfig(o.loggingConfig!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1037,12 +1095,12 @@ void checkTransferJob(api.TransferJob o) { buildCounterTransferJob--; } -core.List buildUnnamed1812() => [ +core.List buildUnnamed1842() => [ buildErrorSummary(), buildErrorSummary(), ]; -void checkUnnamed1812(core.List o) { +void checkUnnamed1842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorSummary(o[0]); checkErrorSummary(o[1]); @@ -1055,7 +1113,7 @@ api.TransferOperation buildTransferOperation() { if (buildCounterTransferOperation < 3) { o.counters = buildTransferCounters(); o.endTime = 'foo'; - o.errorBreakdowns = buildUnnamed1812(); + o.errorBreakdowns = buildUnnamed1842(); o.name = 'foo'; o.notificationConfig = buildNotificationConfig(); o.projectId = 'foo'; @@ -1076,7 +1134,7 @@ void checkTransferOperation(api.TransferOperation o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed1812(o.errorBreakdowns!); + checkUnnamed1842(o.errorBreakdowns!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1137,6 +1195,7 @@ api.TransferSpec buildTransferSpec() { o.gcsDataSource = buildGcsData(); o.httpDataSource = buildHttpData(); o.objectConditions = buildObjectConditions(); + o.posixDataSource = buildPosixFilesystem(); o.transferOptions = buildTransferOptions(); } buildCounterTransferSpec--; @@ -1152,6 +1211,7 @@ void checkTransferSpec(api.TransferSpec o) { checkGcsData(o.gcsDataSource!); checkHttpData(o.httpDataSource!); checkObjectConditions(o.objectConditions!); + checkPosixFilesystem(o.posixDataSource!); checkTransferOptions(o.transferOptions!); } buildCounterTransferSpec--; @@ -1327,6 +1387,16 @@ void main() { }); }); + unittest.group('obj-schema-LoggingConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildLoggingConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LoggingConfig.fromJson( + oJson as core.Map); + checkLoggingConfig(od); + }); + }); + unittest.group('obj-schema-NotificationConfig', () { unittest.test('to-json--from-json', () async { final o = buildNotificationConfig(); @@ -1367,6 +1437,16 @@ void main() { }); }); + unittest.group('obj-schema-PosixFilesystem', () { + unittest.test('to-json--from-json', () async { + final o = buildPosixFilesystem(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PosixFilesystem.fromJson( + oJson as core.Map); + checkPosixFilesystem(od); + }); + }); + unittest.group('obj-schema-ResumeTransferOperationRequest', () { unittest.test('to-json--from-json', () async { final o = buildResumeTransferOperationRequest(); diff --git a/generated/googleapis/test/streetviewpublish/v1_test.dart b/generated/googleapis/test/streetviewpublish/v1_test.dart index fa11c0068..1d7db74df 100644 --- a/generated/googleapis/test/streetviewpublish/v1_test.dart +++ b/generated/googleapis/test/streetviewpublish/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7686() => [ +core.List buildUnnamed7770() => [ 'foo', 'foo', ]; -void checkUnnamed7686(core.List o) { +void checkUnnamed7770(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.BatchDeletePhotosRequest buildBatchDeletePhotosRequest() { final o = api.BatchDeletePhotosRequest(); buildCounterBatchDeletePhotosRequest++; if (buildCounterBatchDeletePhotosRequest < 3) { - o.photoIds = buildUnnamed7686(); + o.photoIds = buildUnnamed7770(); } buildCounterBatchDeletePhotosRequest--; return o; @@ -57,17 +57,17 @@ api.BatchDeletePhotosRequest buildBatchDeletePhotosRequest() { void checkBatchDeletePhotosRequest(api.BatchDeletePhotosRequest o) { buildCounterBatchDeletePhotosRequest++; if (buildCounterBatchDeletePhotosRequest < 3) { - checkUnnamed7686(o.photoIds!); + checkUnnamed7770(o.photoIds!); } buildCounterBatchDeletePhotosRequest--; } -core.List buildUnnamed7687() => [ +core.List buildUnnamed7771() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed7687(core.List o) { +void checkUnnamed7771(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); @@ -78,7 +78,7 @@ api.BatchDeletePhotosResponse buildBatchDeletePhotosResponse() { final o = api.BatchDeletePhotosResponse(); buildCounterBatchDeletePhotosResponse++; if (buildCounterBatchDeletePhotosResponse < 3) { - o.status = buildUnnamed7687(); + o.status = buildUnnamed7771(); } buildCounterBatchDeletePhotosResponse--; return o; @@ -87,17 +87,17 @@ api.BatchDeletePhotosResponse buildBatchDeletePhotosResponse() { void checkBatchDeletePhotosResponse(api.BatchDeletePhotosResponse o) { buildCounterBatchDeletePhotosResponse++; if (buildCounterBatchDeletePhotosResponse < 3) { - checkUnnamed7687(o.status!); + checkUnnamed7771(o.status!); } buildCounterBatchDeletePhotosResponse--; } -core.List buildUnnamed7688() => [ +core.List buildUnnamed7772() => [ buildPhotoResponse(), buildPhotoResponse(), ]; -void checkUnnamed7688(core.List o) { +void checkUnnamed7772(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhotoResponse(o[0]); checkPhotoResponse(o[1]); @@ -108,7 +108,7 @@ api.BatchGetPhotosResponse buildBatchGetPhotosResponse() { final o = api.BatchGetPhotosResponse(); buildCounterBatchGetPhotosResponse++; if (buildCounterBatchGetPhotosResponse < 3) { - o.results = buildUnnamed7688(); + o.results = buildUnnamed7772(); } buildCounterBatchGetPhotosResponse--; return o; @@ -117,17 +117,17 @@ api.BatchGetPhotosResponse buildBatchGetPhotosResponse() { void checkBatchGetPhotosResponse(api.BatchGetPhotosResponse o) { buildCounterBatchGetPhotosResponse++; if (buildCounterBatchGetPhotosResponse < 3) { - checkUnnamed7688(o.results!); + checkUnnamed7772(o.results!); } buildCounterBatchGetPhotosResponse--; } -core.List buildUnnamed7689() => [ +core.List buildUnnamed7773() => [ buildUpdatePhotoRequest(), buildUpdatePhotoRequest(), ]; -void checkUnnamed7689(core.List o) { +void checkUnnamed7773(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpdatePhotoRequest(o[0]); checkUpdatePhotoRequest(o[1]); @@ -138,7 +138,7 @@ api.BatchUpdatePhotosRequest buildBatchUpdatePhotosRequest() { final o = api.BatchUpdatePhotosRequest(); buildCounterBatchUpdatePhotosRequest++; if (buildCounterBatchUpdatePhotosRequest < 3) { - o.updatePhotoRequests = buildUnnamed7689(); + o.updatePhotoRequests = buildUnnamed7773(); } buildCounterBatchUpdatePhotosRequest--; return o; @@ -147,17 +147,17 @@ api.BatchUpdatePhotosRequest buildBatchUpdatePhotosRequest() { void checkBatchUpdatePhotosRequest(api.BatchUpdatePhotosRequest o) { buildCounterBatchUpdatePhotosRequest++; if (buildCounterBatchUpdatePhotosRequest < 3) { - checkUnnamed7689(o.updatePhotoRequests!); + checkUnnamed7773(o.updatePhotoRequests!); } buildCounterBatchUpdatePhotosRequest--; } -core.List buildUnnamed7690() => [ +core.List buildUnnamed7774() => [ buildPhotoResponse(), buildPhotoResponse(), ]; -void checkUnnamed7690(core.List o) { +void checkUnnamed7774(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhotoResponse(o[0]); checkPhotoResponse(o[1]); @@ -168,7 +168,7 @@ api.BatchUpdatePhotosResponse buildBatchUpdatePhotosResponse() { final o = api.BatchUpdatePhotosResponse(); buildCounterBatchUpdatePhotosResponse++; if (buildCounterBatchUpdatePhotosResponse < 3) { - o.results = buildUnnamed7690(); + o.results = buildUnnamed7774(); } buildCounterBatchUpdatePhotosResponse--; return o; @@ -177,7 +177,7 @@ api.BatchUpdatePhotosResponse buildBatchUpdatePhotosResponse() { void checkBatchUpdatePhotosResponse(api.BatchUpdatePhotosResponse o) { buildCounterBatchUpdatePhotosResponse++; if (buildCounterBatchUpdatePhotosResponse < 3) { - checkUnnamed7690(o.results!); + checkUnnamed7774(o.results!); } buildCounterBatchUpdatePhotosResponse--; } @@ -270,12 +270,12 @@ void checkLevel(api.Level o) { buildCounterLevel--; } -core.List buildUnnamed7691() => [ +core.List buildUnnamed7775() => [ buildPhoto(), buildPhoto(), ]; -void checkUnnamed7691(core.List o) { +void checkUnnamed7775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhoto(o[0]); checkPhoto(o[1]); @@ -287,7 +287,7 @@ api.ListPhotosResponse buildListPhotosResponse() { buildCounterListPhotosResponse++; if (buildCounterListPhotosResponse < 3) { o.nextPageToken = 'foo'; - o.photos = buildUnnamed7691(); + o.photos = buildUnnamed7775(); } buildCounterListPhotosResponse--; return o; @@ -300,12 +300,12 @@ void checkListPhotosResponse(api.ListPhotosResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7691(o.photos!); + checkUnnamed7775(o.photos!); } buildCounterListPhotosResponse--; } -core.Map buildUnnamed7692() => { +core.Map buildUnnamed7776() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -318,7 +318,7 @@ core.Map buildUnnamed7692() => { }, }; -void checkUnnamed7692(core.Map o) { +void checkUnnamed7776(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -350,7 +350,7 @@ void checkUnnamed7692(core.Map o) { ); } -core.Map buildUnnamed7693() => { +core.Map buildUnnamed7777() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -363,7 +363,7 @@ core.Map buildUnnamed7693() => { }, }; -void checkUnnamed7693(core.Map o) { +void checkUnnamed7777(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -402,9 +402,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7692(); + o.metadata = buildUnnamed7776(); o.name = 'foo'; - o.response = buildUnnamed7693(); + o.response = buildUnnamed7777(); } buildCounterOperation--; return o; @@ -415,33 +415,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7692(o.metadata!); + checkUnnamed7776(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7693(o.response!); + checkUnnamed7777(o.response!); } buildCounterOperation--; } -core.List buildUnnamed7694() => [ +core.List buildUnnamed7778() => [ buildConnection(), buildConnection(), ]; -void checkUnnamed7694(core.List o) { +void checkUnnamed7778(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnection(o[0]); checkConnection(o[1]); } -core.List buildUnnamed7695() => [ +core.List buildUnnamed7779() => [ buildPlace(), buildPlace(), ]; -void checkUnnamed7695(core.List o) { +void checkUnnamed7779(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlace(o[0]); checkPlace(o[1]); @@ -453,11 +453,11 @@ api.Photo buildPhoto() { buildCounterPhoto++; if (buildCounterPhoto < 3) { o.captureTime = 'foo'; - o.connections = buildUnnamed7694(); + o.connections = buildUnnamed7778(); o.downloadUrl = 'foo'; o.mapsPublishStatus = 'foo'; o.photoId = buildPhotoId(); - o.places = buildUnnamed7695(); + o.places = buildUnnamed7779(); o.pose = buildPose(); o.shareLink = 'foo'; o.thumbnailUrl = 'foo'; @@ -476,7 +476,7 @@ void checkPhoto(api.Photo o) { o.captureTime!, unittest.equals('foo'), ); - checkUnnamed7694(o.connections!); + checkUnnamed7778(o.connections!); unittest.expect( o.downloadUrl!, unittest.equals('foo'), @@ -486,7 +486,7 @@ void checkPhoto(api.Photo o) { unittest.equals('foo'), ); checkPhotoId(o.photoId!); - checkUnnamed7695(o.places!); + checkUnnamed7779(o.places!); checkPose(o.pose!); unittest.expect( o.shareLink!, @@ -630,7 +630,7 @@ void checkPose(api.Pose o) { buildCounterPose--; } -core.Map buildUnnamed7696() => { +core.Map buildUnnamed7780() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -643,7 +643,7 @@ core.Map buildUnnamed7696() => { }, }; -void checkUnnamed7696(core.Map o) { +void checkUnnamed7780(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -675,15 +675,15 @@ void checkUnnamed7696(core.Map o) { ); } -core.List> buildUnnamed7697() => [ - buildUnnamed7696(), - buildUnnamed7696(), +core.List> buildUnnamed7781() => [ + buildUnnamed7780(), + buildUnnamed7780(), ]; -void checkUnnamed7697(core.List> o) { +void checkUnnamed7781(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7696(o[0]); - checkUnnamed7696(o[1]); + checkUnnamed7780(o[0]); + checkUnnamed7780(o[1]); } core.int buildCounterStatus = 0; @@ -692,7 +692,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7697(); + o.details = buildUnnamed7781(); o.message = 'foo'; } buildCounterStatus--; @@ -706,7 +706,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7697(o.details!); + checkUnnamed7781(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -761,12 +761,12 @@ void checkUploadRef(api.UploadRef o) { buildCounterUploadRef--; } -core.List buildUnnamed7698() => [ +core.List buildUnnamed7782() => [ 'foo', 'foo', ]; -void checkUnnamed7698(core.List o) { +void checkUnnamed7782(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1334,7 +1334,7 @@ void main() { final mock = HttpServerMock(); final res = api.StreetViewPublishApi(mock).photos; final arg_languageCode = 'foo'; - final arg_photoIds = buildUnnamed7698(); + final arg_photoIds = buildUnnamed7782(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/sts/v1_test.dart b/generated/googleapis/test/sts/v1_test.dart index b3bb9be5e..589a4d898 100644 --- a/generated/googleapis/test/sts/v1_test.dart +++ b/generated/googleapis/test/sts/v1_test.dart @@ -26,6 +26,125 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.List buildUnnamed2931() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2931(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIamV1Binding = 0; +api.GoogleIamV1Binding buildGoogleIamV1Binding() { + final o = api.GoogleIamV1Binding(); + buildCounterGoogleIamV1Binding++; + if (buildCounterGoogleIamV1Binding < 3) { + o.condition = buildGoogleTypeExpr(); + o.members = buildUnnamed2931(); + o.role = 'foo'; + } + buildCounterGoogleIamV1Binding--; + return o; +} + +void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { + buildCounterGoogleIamV1Binding++; + if (buildCounterGoogleIamV1Binding < 3) { + checkGoogleTypeExpr(o.condition!); + checkUnnamed2931(o.members!); + unittest.expect( + o.role!, + unittest.equals('foo'), + ); + } + buildCounterGoogleIamV1Binding--; +} + +core.List buildUnnamed2932() => [ + buildGoogleIdentityStsV1AccessBoundaryRule(), + buildGoogleIdentityStsV1AccessBoundaryRule(), + ]; + +void checkUnnamed2932(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleIdentityStsV1AccessBoundaryRule(o[0]); + checkGoogleIdentityStsV1AccessBoundaryRule(o[1]); +} + +core.int buildCounterGoogleIdentityStsV1AccessBoundary = 0; +api.GoogleIdentityStsV1AccessBoundary buildGoogleIdentityStsV1AccessBoundary() { + final o = api.GoogleIdentityStsV1AccessBoundary(); + buildCounterGoogleIdentityStsV1AccessBoundary++; + if (buildCounterGoogleIdentityStsV1AccessBoundary < 3) { + o.accessBoundaryRules = buildUnnamed2932(); + } + buildCounterGoogleIdentityStsV1AccessBoundary--; + return o; +} + +void checkGoogleIdentityStsV1AccessBoundary( + api.GoogleIdentityStsV1AccessBoundary o) { + buildCounterGoogleIdentityStsV1AccessBoundary++; + if (buildCounterGoogleIdentityStsV1AccessBoundary < 3) { + checkUnnamed2932(o.accessBoundaryRules!); + } + buildCounterGoogleIdentityStsV1AccessBoundary--; +} + +core.List buildUnnamed2933() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2933(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIdentityStsV1AccessBoundaryRule = 0; +api.GoogleIdentityStsV1AccessBoundaryRule + buildGoogleIdentityStsV1AccessBoundaryRule() { + final o = api.GoogleIdentityStsV1AccessBoundaryRule(); + buildCounterGoogleIdentityStsV1AccessBoundaryRule++; + if (buildCounterGoogleIdentityStsV1AccessBoundaryRule < 3) { + o.availabilityCondition = buildGoogleTypeExpr(); + o.availablePermissions = buildUnnamed2933(); + o.availableResource = 'foo'; + } + buildCounterGoogleIdentityStsV1AccessBoundaryRule--; + return o; +} + +void checkGoogleIdentityStsV1AccessBoundaryRule( + api.GoogleIdentityStsV1AccessBoundaryRule o) { + buildCounterGoogleIdentityStsV1AccessBoundaryRule++; + if (buildCounterGoogleIdentityStsV1AccessBoundaryRule < 3) { + checkGoogleTypeExpr(o.availabilityCondition!); + checkUnnamed2933(o.availablePermissions!); + unittest.expect( + o.availableResource!, + unittest.equals('foo'), + ); + } + buildCounterGoogleIdentityStsV1AccessBoundaryRule--; +} + core.int buildCounterGoogleIdentityStsV1ExchangeTokenRequest = 0; api.GoogleIdentityStsV1ExchangeTokenRequest buildGoogleIdentityStsV1ExchangeTokenRequest() { @@ -119,92 +238,238 @@ void checkGoogleIdentityStsV1ExchangeTokenResponse( buildCounterGoogleIdentityStsV1ExchangeTokenResponse--; } -core.int buildCounterGoogleIdentityStsV1IntrospectTokenRequest = 0; -api.GoogleIdentityStsV1IntrospectTokenRequest - buildGoogleIdentityStsV1IntrospectTokenRequest() { - final o = api.GoogleIdentityStsV1IntrospectTokenRequest(); - buildCounterGoogleIdentityStsV1IntrospectTokenRequest++; - if (buildCounterGoogleIdentityStsV1IntrospectTokenRequest < 3) { - o.token = 'foo'; - o.tokenTypeHint = 'foo'; +core.List buildUnnamed2934() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2934(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIdentityStsV1Options = 0; +api.GoogleIdentityStsV1Options buildGoogleIdentityStsV1Options() { + final o = api.GoogleIdentityStsV1Options(); + buildCounterGoogleIdentityStsV1Options++; + if (buildCounterGoogleIdentityStsV1Options < 3) { + o.accessBoundary = buildGoogleIdentityStsV1AccessBoundary(); + o.audiences = buildUnnamed2934(); + o.userProject = 'foo'; } - buildCounterGoogleIdentityStsV1IntrospectTokenRequest--; + buildCounterGoogleIdentityStsV1Options--; return o; } -void checkGoogleIdentityStsV1IntrospectTokenRequest( - api.GoogleIdentityStsV1IntrospectTokenRequest o) { - buildCounterGoogleIdentityStsV1IntrospectTokenRequest++; - if (buildCounterGoogleIdentityStsV1IntrospectTokenRequest < 3) { +void checkGoogleIdentityStsV1Options(api.GoogleIdentityStsV1Options o) { + buildCounterGoogleIdentityStsV1Options++; + if (buildCounterGoogleIdentityStsV1Options < 3) { + checkGoogleIdentityStsV1AccessBoundary(o.accessBoundary!); + checkUnnamed2934(o.audiences!); unittest.expect( - o.token!, - unittest.equals('foo'), - ); - unittest.expect( - o.tokenTypeHint!, + o.userProject!, unittest.equals('foo'), ); } - buildCounterGoogleIdentityStsV1IntrospectTokenRequest--; + buildCounterGoogleIdentityStsV1Options--; } -core.int buildCounterGoogleIdentityStsV1IntrospectTokenResponse = 0; -api.GoogleIdentityStsV1IntrospectTokenResponse - buildGoogleIdentityStsV1IntrospectTokenResponse() { - final o = api.GoogleIdentityStsV1IntrospectTokenResponse(); - buildCounterGoogleIdentityStsV1IntrospectTokenResponse++; - if (buildCounterGoogleIdentityStsV1IntrospectTokenResponse < 3) { - o.active = true; - o.clientId = 'foo'; - o.exp = 'foo'; - o.iat = 'foo'; - o.iss = 'foo'; - o.scope = 'foo'; - o.sub = 'foo'; - o.username = 'foo'; +core.List buildUnnamed2935() => [ + buildGoogleIdentityStsV1betaAccessBoundaryRule(), + buildGoogleIdentityStsV1betaAccessBoundaryRule(), + ]; + +void checkUnnamed2935( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleIdentityStsV1betaAccessBoundaryRule(o[0]); + checkGoogleIdentityStsV1betaAccessBoundaryRule(o[1]); +} + +core.int buildCounterGoogleIdentityStsV1betaAccessBoundary = 0; +api.GoogleIdentityStsV1betaAccessBoundary + buildGoogleIdentityStsV1betaAccessBoundary() { + final o = api.GoogleIdentityStsV1betaAccessBoundary(); + buildCounterGoogleIdentityStsV1betaAccessBoundary++; + if (buildCounterGoogleIdentityStsV1betaAccessBoundary < 3) { + o.accessBoundaryRules = buildUnnamed2935(); } - buildCounterGoogleIdentityStsV1IntrospectTokenResponse--; + buildCounterGoogleIdentityStsV1betaAccessBoundary--; return o; } -void checkGoogleIdentityStsV1IntrospectTokenResponse( - api.GoogleIdentityStsV1IntrospectTokenResponse o) { - buildCounterGoogleIdentityStsV1IntrospectTokenResponse++; - if (buildCounterGoogleIdentityStsV1IntrospectTokenResponse < 3) { - unittest.expect(o.active!, unittest.isTrue); - unittest.expect( - o.clientId!, - unittest.equals('foo'), - ); +void checkGoogleIdentityStsV1betaAccessBoundary( + api.GoogleIdentityStsV1betaAccessBoundary o) { + buildCounterGoogleIdentityStsV1betaAccessBoundary++; + if (buildCounterGoogleIdentityStsV1betaAccessBoundary < 3) { + checkUnnamed2935(o.accessBoundaryRules!); + } + buildCounterGoogleIdentityStsV1betaAccessBoundary--; +} + +core.List buildUnnamed2936() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2936(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIdentityStsV1betaAccessBoundaryRule = 0; +api.GoogleIdentityStsV1betaAccessBoundaryRule + buildGoogleIdentityStsV1betaAccessBoundaryRule() { + final o = api.GoogleIdentityStsV1betaAccessBoundaryRule(); + buildCounterGoogleIdentityStsV1betaAccessBoundaryRule++; + if (buildCounterGoogleIdentityStsV1betaAccessBoundaryRule < 3) { + o.availabilityCondition = buildGoogleTypeExpr(); + o.availablePermissions = buildUnnamed2936(); + o.availableResource = 'foo'; + } + buildCounterGoogleIdentityStsV1betaAccessBoundaryRule--; + return o; +} + +void checkGoogleIdentityStsV1betaAccessBoundaryRule( + api.GoogleIdentityStsV1betaAccessBoundaryRule o) { + buildCounterGoogleIdentityStsV1betaAccessBoundaryRule++; + if (buildCounterGoogleIdentityStsV1betaAccessBoundaryRule < 3) { + checkGoogleTypeExpr(o.availabilityCondition!); + checkUnnamed2936(o.availablePermissions!); unittest.expect( - o.exp!, + o.availableResource!, unittest.equals('foo'), ); + } + buildCounterGoogleIdentityStsV1betaAccessBoundaryRule--; +} + +core.List buildUnnamed2937() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2937(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleIdentityStsV1betaOptions = 0; +api.GoogleIdentityStsV1betaOptions buildGoogleIdentityStsV1betaOptions() { + final o = api.GoogleIdentityStsV1betaOptions(); + buildCounterGoogleIdentityStsV1betaOptions++; + if (buildCounterGoogleIdentityStsV1betaOptions < 3) { + o.accessBoundary = buildGoogleIdentityStsV1betaAccessBoundary(); + o.audiences = buildUnnamed2937(); + o.userProject = 'foo'; + } + buildCounterGoogleIdentityStsV1betaOptions--; + return o; +} + +void checkGoogleIdentityStsV1betaOptions(api.GoogleIdentityStsV1betaOptions o) { + buildCounterGoogleIdentityStsV1betaOptions++; + if (buildCounterGoogleIdentityStsV1betaOptions < 3) { + checkGoogleIdentityStsV1betaAccessBoundary(o.accessBoundary!); + checkUnnamed2937(o.audiences!); unittest.expect( - o.iat!, + o.userProject!, unittest.equals('foo'), ); + } + buildCounterGoogleIdentityStsV1betaOptions--; +} + +core.int buildCounterGoogleTypeExpr = 0; +api.GoogleTypeExpr buildGoogleTypeExpr() { + final o = api.GoogleTypeExpr(); + buildCounterGoogleTypeExpr++; + if (buildCounterGoogleTypeExpr < 3) { + o.description = 'foo'; + o.expression = 'foo'; + o.location = 'foo'; + o.title = 'foo'; + } + buildCounterGoogleTypeExpr--; + return o; +} + +void checkGoogleTypeExpr(api.GoogleTypeExpr o) { + buildCounterGoogleTypeExpr++; + if (buildCounterGoogleTypeExpr < 3) { unittest.expect( - o.iss!, + o.description!, unittest.equals('foo'), ); unittest.expect( - o.scope!, + o.expression!, unittest.equals('foo'), ); unittest.expect( - o.sub!, + o.location!, unittest.equals('foo'), ); unittest.expect( - o.username!, + o.title!, unittest.equals('foo'), ); } - buildCounterGoogleIdentityStsV1IntrospectTokenResponse--; + buildCounterGoogleTypeExpr--; } void main() { + unittest.group('obj-schema-GoogleIamV1Binding', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIamV1Binding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIamV1Binding.fromJson( + oJson as core.Map); + checkGoogleIamV1Binding(od); + }); + }); + + unittest.group('obj-schema-GoogleIdentityStsV1AccessBoundary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIdentityStsV1AccessBoundary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIdentityStsV1AccessBoundary.fromJson( + oJson as core.Map); + checkGoogleIdentityStsV1AccessBoundary(od); + }); + }); + + unittest.group('obj-schema-GoogleIdentityStsV1AccessBoundaryRule', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIdentityStsV1AccessBoundaryRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIdentityStsV1AccessBoundaryRule.fromJson( + oJson as core.Map); + checkGoogleIdentityStsV1AccessBoundaryRule(od); + }); + }); + unittest.group('obj-schema-GoogleIdentityStsV1ExchangeTokenRequest', () { unittest.test('to-json--from-json', () async { final o = buildGoogleIdentityStsV1ExchangeTokenRequest(); @@ -225,84 +490,57 @@ void main() { }); }); - unittest.group('obj-schema-GoogleIdentityStsV1IntrospectTokenRequest', () { + unittest.group('obj-schema-GoogleIdentityStsV1Options', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleIdentityStsV1IntrospectTokenRequest(); + final o = buildGoogleIdentityStsV1Options(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleIdentityStsV1IntrospectTokenRequest.fromJson( + final od = api.GoogleIdentityStsV1Options.fromJson( oJson as core.Map); - checkGoogleIdentityStsV1IntrospectTokenRequest(od); + checkGoogleIdentityStsV1Options(od); }); }); - unittest.group('obj-schema-GoogleIdentityStsV1IntrospectTokenResponse', () { + unittest.group('obj-schema-GoogleIdentityStsV1betaAccessBoundary', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleIdentityStsV1IntrospectTokenResponse(); + final o = buildGoogleIdentityStsV1betaAccessBoundary(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleIdentityStsV1IntrospectTokenResponse.fromJson( + final od = api.GoogleIdentityStsV1betaAccessBoundary.fromJson( oJson as core.Map); - checkGoogleIdentityStsV1IntrospectTokenResponse(od); + checkGoogleIdentityStsV1betaAccessBoundary(od); }); }); - unittest.group('resource-V1Resource', () { - unittest.test('method--introspect', () async { - final mock = HttpServerMock(); - final res = api.CloudSecurityTokenApi(mock).v1; - final arg_request = buildGoogleIdentityStsV1IntrospectTokenRequest(); - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleIdentityStsV1IntrospectTokenRequest.fromJson( - json as core.Map); - checkGoogleIdentityStsV1IntrospectTokenRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 13), - unittest.equals('v1/introspect'), - ); - pathOffset += 13; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); + unittest.group('obj-schema-GoogleIdentityStsV1betaAccessBoundaryRule', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIdentityStsV1betaAccessBoundaryRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIdentityStsV1betaAccessBoundaryRule.fromJson( + oJson as core.Map); + checkGoogleIdentityStsV1betaAccessBoundaryRule(od); + }); + }); - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); + unittest.group('obj-schema-GoogleIdentityStsV1betaOptions', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleIdentityStsV1betaOptions(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleIdentityStsV1betaOptions.fromJson( + oJson as core.Map); + checkGoogleIdentityStsV1betaOptions(od); + }); + }); - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json - .encode(buildGoogleIdentityStsV1IntrospectTokenResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.introspect(arg_request, $fields: arg_$fields); - checkGoogleIdentityStsV1IntrospectTokenResponse( - response as api.GoogleIdentityStsV1IntrospectTokenResponse); + unittest.group('obj-schema-GoogleTypeExpr', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleTypeExpr(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleTypeExpr.fromJson( + oJson as core.Map); + checkGoogleTypeExpr(od); }); + }); + unittest.group('resource-V1Resource', () { unittest.test('method--token', () async { final mock = HttpServerMock(); final res = api.CloudSecurityTokenApi(mock).v1; diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart index 05d4557f6..ef53bbb4c 100644 --- a/generated/googleapis/test/tagmanager/v1_test.dart +++ b/generated/googleapis/test/tagmanager/v1_test.dart @@ -60,12 +60,12 @@ void checkAccount(api.Account o) { buildCounterAccount--; } -core.List buildUnnamed2516() => [ +core.List buildUnnamed2506() => [ 'foo', 'foo', ]; -void checkUnnamed2516(core.List o) { +void checkUnnamed2506(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -82,7 +82,7 @@ api.AccountAccess buildAccountAccess() { final o = api.AccountAccess(); buildCounterAccountAccess++; if (buildCounterAccountAccess < 3) { - o.permission = buildUnnamed2516(); + o.permission = buildUnnamed2506(); } buildCounterAccountAccess--; return o; @@ -91,17 +91,17 @@ api.AccountAccess buildAccountAccess() { void checkAccountAccess(api.AccountAccess o) { buildCounterAccountAccess++; if (buildCounterAccountAccess < 3) { - checkUnnamed2516(o.permission!); + checkUnnamed2506(o.permission!); } buildCounterAccountAccess--; } -core.List buildUnnamed2517() => [ +core.List buildUnnamed2507() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2517(core.List o) { +void checkUnnamed2507(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -112,7 +112,7 @@ api.Condition buildCondition() { final o = api.Condition(); buildCounterCondition++; if (buildCounterCondition < 3) { - o.parameter = buildUnnamed2517(); + o.parameter = buildUnnamed2507(); o.type = 'foo'; } buildCounterCondition--; @@ -122,7 +122,7 @@ api.Condition buildCondition() { void checkCondition(api.Condition o) { buildCounterCondition++; if (buildCounterCondition < 3) { - checkUnnamed2517(o.parameter!); + checkUnnamed2507(o.parameter!); unittest.expect( o.type!, unittest.equals('foo'), @@ -131,12 +131,12 @@ void checkCondition(api.Condition o) { buildCounterCondition--; } -core.List buildUnnamed2518() => [ +core.List buildUnnamed2508() => [ 'foo', 'foo', ]; -void checkUnnamed2518(core.List o) { +void checkUnnamed2508(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -148,12 +148,12 @@ void checkUnnamed2518(core.List o) { ); } -core.List buildUnnamed2519() => [ +core.List buildUnnamed2509() => [ 'foo', 'foo', ]; -void checkUnnamed2519(core.List o) { +void checkUnnamed2509(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -165,12 +165,12 @@ void checkUnnamed2519(core.List o) { ); } -core.List buildUnnamed2520() => [ +core.List buildUnnamed2510() => [ 'foo', 'foo', ]; -void checkUnnamed2520(core.List o) { +void checkUnnamed2510(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -189,15 +189,15 @@ api.Container buildContainer() { if (buildCounterContainer < 3) { o.accountId = 'foo'; o.containerId = 'foo'; - o.domainName = buildUnnamed2518(); - o.enabledBuiltInVariable = buildUnnamed2519(); + o.domainName = buildUnnamed2508(); + o.enabledBuiltInVariable = buildUnnamed2509(); o.fingerprint = 'foo'; o.name = 'foo'; o.notes = 'foo'; o.publicId = 'foo'; o.timeZoneCountryId = 'foo'; o.timeZoneId = 'foo'; - o.usageContext = buildUnnamed2520(); + o.usageContext = buildUnnamed2510(); } buildCounterContainer--; return o; @@ -214,8 +214,8 @@ void checkContainer(api.Container o) { o.containerId!, unittest.equals('foo'), ); - checkUnnamed2518(o.domainName!); - checkUnnamed2519(o.enabledBuiltInVariable!); + checkUnnamed2508(o.domainName!); + checkUnnamed2509(o.enabledBuiltInVariable!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -240,17 +240,17 @@ void checkContainer(api.Container o) { o.timeZoneId!, unittest.equals('foo'), ); - checkUnnamed2520(o.usageContext!); + checkUnnamed2510(o.usageContext!); } buildCounterContainer--; } -core.List buildUnnamed2521() => [ +core.List buildUnnamed2511() => [ 'foo', 'foo', ]; -void checkUnnamed2521(core.List o) { +void checkUnnamed2511(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -268,7 +268,7 @@ api.ContainerAccess buildContainerAccess() { buildCounterContainerAccess++; if (buildCounterContainerAccess < 3) { o.containerId = 'foo'; - o.permission = buildUnnamed2521(); + o.permission = buildUnnamed2511(); } buildCounterContainerAccess--; return o; @@ -281,72 +281,72 @@ void checkContainerAccess(api.ContainerAccess o) { o.containerId!, unittest.equals('foo'), ); - checkUnnamed2521(o.permission!); + checkUnnamed2511(o.permission!); } buildCounterContainerAccess--; } -core.List buildUnnamed2522() => [ +core.List buildUnnamed2512() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed2522(core.List o) { +void checkUnnamed2512(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); } -core.List buildUnnamed2523() => [ +core.List buildUnnamed2513() => [ buildMacro(), buildMacro(), ]; -void checkUnnamed2523(core.List o) { +void checkUnnamed2513(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMacro(o[0]); checkMacro(o[1]); } -core.List buildUnnamed2524() => [ +core.List buildUnnamed2514() => [ buildRule(), buildRule(), ]; -void checkUnnamed2524(core.List o) { +void checkUnnamed2514(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); } -core.List buildUnnamed2525() => [ +core.List buildUnnamed2515() => [ buildTag(), buildTag(), ]; -void checkUnnamed2525(core.List o) { +void checkUnnamed2515(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTag(o[0]); checkTag(o[1]); } -core.List buildUnnamed2526() => [ +core.List buildUnnamed2516() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed2526(core.List o) { +void checkUnnamed2516(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); } -core.List buildUnnamed2527() => [ +core.List buildUnnamed2517() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed2527(core.List o) { +void checkUnnamed2517(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -363,14 +363,14 @@ api.ContainerVersion buildContainerVersion() { o.containerVersionId = 'foo'; o.deleted = true; o.fingerprint = 'foo'; - o.folder = buildUnnamed2522(); - o.macro = buildUnnamed2523(); + o.folder = buildUnnamed2512(); + o.macro = buildUnnamed2513(); o.name = 'foo'; o.notes = 'foo'; - o.rule = buildUnnamed2524(); - o.tag = buildUnnamed2525(); - o.trigger = buildUnnamed2526(); - o.variable = buildUnnamed2527(); + o.rule = buildUnnamed2514(); + o.tag = buildUnnamed2515(); + o.trigger = buildUnnamed2516(); + o.variable = buildUnnamed2517(); } buildCounterContainerVersion--; return o; @@ -397,8 +397,8 @@ void checkContainerVersion(api.ContainerVersion o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed2522(o.folder!); - checkUnnamed2523(o.macro!); + checkUnnamed2512(o.folder!); + checkUnnamed2513(o.macro!); unittest.expect( o.name!, unittest.equals('foo'), @@ -407,10 +407,10 @@ void checkContainerVersion(api.ContainerVersion o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed2524(o.rule!); - checkUnnamed2525(o.tag!); - checkUnnamed2526(o.trigger!); - checkUnnamed2527(o.variable!); + checkUnnamed2514(o.rule!); + checkUnnamed2515(o.tag!); + checkUnnamed2516(o.trigger!); + checkUnnamed2517(o.variable!); } buildCounterContainerVersion--; } @@ -647,34 +647,34 @@ void checkFolder(api.Folder o) { buildCounterFolder--; } -core.List buildUnnamed2528() => [ +core.List buildUnnamed2518() => [ buildTag(), buildTag(), ]; -void checkUnnamed2528(core.List o) { +void checkUnnamed2518(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTag(o[0]); checkTag(o[1]); } -core.List buildUnnamed2529() => [ +core.List buildUnnamed2519() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed2529(core.List o) { +void checkUnnamed2519(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); } -core.List buildUnnamed2530() => [ +core.List buildUnnamed2520() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed2530(core.List o) { +void checkUnnamed2520(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -685,9 +685,9 @@ api.FolderEntities buildFolderEntities() { final o = api.FolderEntities(); buildCounterFolderEntities++; if (buildCounterFolderEntities < 3) { - o.tag = buildUnnamed2528(); - o.trigger = buildUnnamed2529(); - o.variable = buildUnnamed2530(); + o.tag = buildUnnamed2518(); + o.trigger = buildUnnamed2519(); + o.variable = buildUnnamed2520(); } buildCounterFolderEntities--; return o; @@ -696,19 +696,19 @@ api.FolderEntities buildFolderEntities() { void checkFolderEntities(api.FolderEntities o) { buildCounterFolderEntities++; if (buildCounterFolderEntities < 3) { - checkUnnamed2528(o.tag!); - checkUnnamed2529(o.trigger!); - checkUnnamed2530(o.variable!); + checkUnnamed2518(o.tag!); + checkUnnamed2519(o.trigger!); + checkUnnamed2520(o.variable!); } buildCounterFolderEntities--; } -core.List buildUnnamed2531() => [ +core.List buildUnnamed2521() => [ buildUserAccess(), buildUserAccess(), ]; -void checkUnnamed2531(core.List o) { +void checkUnnamed2521(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserAccess(o[0]); checkUserAccess(o[1]); @@ -719,7 +719,7 @@ api.ListAccountUsersResponse buildListAccountUsersResponse() { final o = api.ListAccountUsersResponse(); buildCounterListAccountUsersResponse++; if (buildCounterListAccountUsersResponse < 3) { - o.userAccess = buildUnnamed2531(); + o.userAccess = buildUnnamed2521(); } buildCounterListAccountUsersResponse--; return o; @@ -728,17 +728,17 @@ api.ListAccountUsersResponse buildListAccountUsersResponse() { void checkListAccountUsersResponse(api.ListAccountUsersResponse o) { buildCounterListAccountUsersResponse++; if (buildCounterListAccountUsersResponse < 3) { - checkUnnamed2531(o.userAccess!); + checkUnnamed2521(o.userAccess!); } buildCounterListAccountUsersResponse--; } -core.List buildUnnamed2532() => [ +core.List buildUnnamed2522() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed2532(core.List o) { +void checkUnnamed2522(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -749,7 +749,7 @@ api.ListAccountsResponse buildListAccountsResponse() { final o = api.ListAccountsResponse(); buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - o.accounts = buildUnnamed2532(); + o.accounts = buildUnnamed2522(); } buildCounterListAccountsResponse--; return o; @@ -758,28 +758,28 @@ api.ListAccountsResponse buildListAccountsResponse() { void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - checkUnnamed2532(o.accounts!); + checkUnnamed2522(o.accounts!); } buildCounterListAccountsResponse--; } -core.List buildUnnamed2533() => [ +core.List buildUnnamed2523() => [ buildContainerVersion(), buildContainerVersion(), ]; -void checkUnnamed2533(core.List o) { +void checkUnnamed2523(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerVersion(o[0]); checkContainerVersion(o[1]); } -core.List buildUnnamed2534() => [ +core.List buildUnnamed2524() => [ buildContainerVersionHeader(), buildContainerVersionHeader(), ]; -void checkUnnamed2534(core.List o) { +void checkUnnamed2524(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerVersionHeader(o[0]); checkContainerVersionHeader(o[1]); @@ -790,8 +790,8 @@ api.ListContainerVersionsResponse buildListContainerVersionsResponse() { final o = api.ListContainerVersionsResponse(); buildCounterListContainerVersionsResponse++; if (buildCounterListContainerVersionsResponse < 3) { - o.containerVersion = buildUnnamed2533(); - o.containerVersionHeader = buildUnnamed2534(); + o.containerVersion = buildUnnamed2523(); + o.containerVersionHeader = buildUnnamed2524(); } buildCounterListContainerVersionsResponse--; return o; @@ -800,18 +800,18 @@ api.ListContainerVersionsResponse buildListContainerVersionsResponse() { void checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) { buildCounterListContainerVersionsResponse++; if (buildCounterListContainerVersionsResponse < 3) { - checkUnnamed2533(o.containerVersion!); - checkUnnamed2534(o.containerVersionHeader!); + checkUnnamed2523(o.containerVersion!); + checkUnnamed2524(o.containerVersionHeader!); } buildCounterListContainerVersionsResponse--; } -core.List buildUnnamed2535() => [ +core.List buildUnnamed2525() => [ buildContainer(), buildContainer(), ]; -void checkUnnamed2535(core.List o) { +void checkUnnamed2525(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainer(o[0]); checkContainer(o[1]); @@ -822,7 +822,7 @@ api.ListContainersResponse buildListContainersResponse() { final o = api.ListContainersResponse(); buildCounterListContainersResponse++; if (buildCounterListContainersResponse < 3) { - o.containers = buildUnnamed2535(); + o.containers = buildUnnamed2525(); } buildCounterListContainersResponse--; return o; @@ -831,17 +831,17 @@ api.ListContainersResponse buildListContainersResponse() { void checkListContainersResponse(api.ListContainersResponse o) { buildCounterListContainersResponse++; if (buildCounterListContainersResponse < 3) { - checkUnnamed2535(o.containers!); + checkUnnamed2525(o.containers!); } buildCounterListContainersResponse--; } -core.List buildUnnamed2536() => [ +core.List buildUnnamed2526() => [ buildEnvironment(), buildEnvironment(), ]; -void checkUnnamed2536(core.List o) { +void checkUnnamed2526(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironment(o[0]); checkEnvironment(o[1]); @@ -852,7 +852,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { final o = api.ListEnvironmentsResponse(); buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - o.environments = buildUnnamed2536(); + o.environments = buildUnnamed2526(); } buildCounterListEnvironmentsResponse--; return o; @@ -861,17 +861,17 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - checkUnnamed2536(o.environments!); + checkUnnamed2526(o.environments!); } buildCounterListEnvironmentsResponse--; } -core.List buildUnnamed2537() => [ +core.List buildUnnamed2527() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed2537(core.List o) { +void checkUnnamed2527(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -882,7 +882,7 @@ api.ListFoldersResponse buildListFoldersResponse() { final o = api.ListFoldersResponse(); buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - o.folders = buildUnnamed2537(); + o.folders = buildUnnamed2527(); } buildCounterListFoldersResponse--; return o; @@ -891,17 +891,17 @@ api.ListFoldersResponse buildListFoldersResponse() { void checkListFoldersResponse(api.ListFoldersResponse o) { buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - checkUnnamed2537(o.folders!); + checkUnnamed2527(o.folders!); } buildCounterListFoldersResponse--; } -core.List buildUnnamed2538() => [ +core.List buildUnnamed2528() => [ buildTag(), buildTag(), ]; -void checkUnnamed2538(core.List o) { +void checkUnnamed2528(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTag(o[0]); checkTag(o[1]); @@ -912,7 +912,7 @@ api.ListTagsResponse buildListTagsResponse() { final o = api.ListTagsResponse(); buildCounterListTagsResponse++; if (buildCounterListTagsResponse < 3) { - o.tags = buildUnnamed2538(); + o.tags = buildUnnamed2528(); } buildCounterListTagsResponse--; return o; @@ -921,17 +921,17 @@ api.ListTagsResponse buildListTagsResponse() { void checkListTagsResponse(api.ListTagsResponse o) { buildCounterListTagsResponse++; if (buildCounterListTagsResponse < 3) { - checkUnnamed2538(o.tags!); + checkUnnamed2528(o.tags!); } buildCounterListTagsResponse--; } -core.List buildUnnamed2539() => [ +core.List buildUnnamed2529() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed2539(core.List o) { +void checkUnnamed2529(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); @@ -942,7 +942,7 @@ api.ListTriggersResponse buildListTriggersResponse() { final o = api.ListTriggersResponse(); buildCounterListTriggersResponse++; if (buildCounterListTriggersResponse < 3) { - o.triggers = buildUnnamed2539(); + o.triggers = buildUnnamed2529(); } buildCounterListTriggersResponse--; return o; @@ -951,17 +951,17 @@ api.ListTriggersResponse buildListTriggersResponse() { void checkListTriggersResponse(api.ListTriggersResponse o) { buildCounterListTriggersResponse++; if (buildCounterListTriggersResponse < 3) { - checkUnnamed2539(o.triggers!); + checkUnnamed2529(o.triggers!); } buildCounterListTriggersResponse--; } -core.List buildUnnamed2540() => [ +core.List buildUnnamed2530() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed2540(core.List o) { +void checkUnnamed2530(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -972,7 +972,7 @@ api.ListVariablesResponse buildListVariablesResponse() { final o = api.ListVariablesResponse(); buildCounterListVariablesResponse++; if (buildCounterListVariablesResponse < 3) { - o.variables = buildUnnamed2540(); + o.variables = buildUnnamed2530(); } buildCounterListVariablesResponse--; return o; @@ -981,17 +981,17 @@ api.ListVariablesResponse buildListVariablesResponse() { void checkListVariablesResponse(api.ListVariablesResponse o) { buildCounterListVariablesResponse++; if (buildCounterListVariablesResponse < 3) { - checkUnnamed2540(o.variables!); + checkUnnamed2530(o.variables!); } buildCounterListVariablesResponse--; } -core.List buildUnnamed2541() => [ +core.List buildUnnamed2531() => [ 'foo', 'foo', ]; -void checkUnnamed2541(core.List o) { +void checkUnnamed2531(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1003,12 +1003,12 @@ void checkUnnamed2541(core.List o) { ); } -core.List buildUnnamed2542() => [ +core.List buildUnnamed2532() => [ 'foo', 'foo', ]; -void checkUnnamed2542(core.List o) { +void checkUnnamed2532(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1020,12 +1020,12 @@ void checkUnnamed2542(core.List o) { ); } -core.List buildUnnamed2543() => [ +core.List buildUnnamed2533() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2543(core.List o) { +void checkUnnamed2533(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -1038,13 +1038,13 @@ api.Macro buildMacro() { if (buildCounterMacro < 3) { o.accountId = 'foo'; o.containerId = 'foo'; - o.disablingRuleId = buildUnnamed2541(); - o.enablingRuleId = buildUnnamed2542(); + o.disablingRuleId = buildUnnamed2531(); + o.enablingRuleId = buildUnnamed2532(); o.fingerprint = 'foo'; o.macroId = 'foo'; o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed2543(); + o.parameter = buildUnnamed2533(); o.parentFolderId = 'foo'; o.scheduleEndMs = 'foo'; o.scheduleStartMs = 'foo'; @@ -1065,8 +1065,8 @@ void checkMacro(api.Macro o) { o.containerId!, unittest.equals('foo'), ); - checkUnnamed2541(o.disablingRuleId!); - checkUnnamed2542(o.enablingRuleId!); + checkUnnamed2531(o.disablingRuleId!); + checkUnnamed2532(o.enablingRuleId!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -1083,7 +1083,7 @@ void checkMacro(api.Macro o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed2543(o.parameter!); + checkUnnamed2533(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -1104,23 +1104,23 @@ void checkMacro(api.Macro o) { buildCounterMacro--; } -core.List buildUnnamed2544() => [ +core.List buildUnnamed2534() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2544(core.List o) { +void checkUnnamed2534(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); } -core.List buildUnnamed2545() => [ +core.List buildUnnamed2535() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2545(core.List o) { +void checkUnnamed2535(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -1132,8 +1132,8 @@ api.Parameter buildParameter() { buildCounterParameter++; if (buildCounterParameter < 3) { o.key = 'foo'; - o.list = buildUnnamed2544(); - o.map = buildUnnamed2545(); + o.list = buildUnnamed2534(); + o.map = buildUnnamed2535(); o.type = 'foo'; o.value = 'foo'; } @@ -1148,8 +1148,8 @@ void checkParameter(api.Parameter o) { o.key!, unittest.equals('foo'), ); - checkUnnamed2544(o.list!); - checkUnnamed2545(o.map!); + checkUnnamed2534(o.list!); + checkUnnamed2535(o.map!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1184,12 +1184,12 @@ void checkPublishContainerVersionResponse( buildCounterPublishContainerVersionResponse--; } -core.List buildUnnamed2546() => [ +core.List buildUnnamed2536() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed2546(core.List o) { +void checkUnnamed2536(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); @@ -1201,7 +1201,7 @@ api.Rule buildRule() { buildCounterRule++; if (buildCounterRule < 3) { o.accountId = 'foo'; - o.condition = buildUnnamed2546(); + o.condition = buildUnnamed2536(); o.containerId = 'foo'; o.fingerprint = 'foo'; o.name = 'foo'; @@ -1219,7 +1219,7 @@ void checkRule(api.Rule o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed2546(o.condition!); + checkUnnamed2536(o.condition!); unittest.expect( o.containerId!, unittest.equals('foo'), @@ -1268,12 +1268,12 @@ void checkSetupTag(api.SetupTag o) { buildCounterSetupTag--; } -core.List buildUnnamed2547() => [ +core.List buildUnnamed2537() => [ 'foo', 'foo', ]; -void checkUnnamed2547(core.List o) { +void checkUnnamed2537(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1285,12 +1285,12 @@ void checkUnnamed2547(core.List o) { ); } -core.List buildUnnamed2548() => [ +core.List buildUnnamed2538() => [ 'foo', 'foo', ]; -void checkUnnamed2548(core.List o) { +void checkUnnamed2538(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1302,12 +1302,12 @@ void checkUnnamed2548(core.List o) { ); } -core.List buildUnnamed2549() => [ +core.List buildUnnamed2539() => [ 'foo', 'foo', ]; -void checkUnnamed2549(core.List o) { +void checkUnnamed2539(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1319,12 +1319,12 @@ void checkUnnamed2549(core.List o) { ); } -core.List buildUnnamed2550() => [ +core.List buildUnnamed2540() => [ 'foo', 'foo', ]; -void checkUnnamed2550(core.List o) { +void checkUnnamed2540(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1336,34 +1336,34 @@ void checkUnnamed2550(core.List o) { ); } -core.List buildUnnamed2551() => [ +core.List buildUnnamed2541() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2551(core.List o) { +void checkUnnamed2541(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); } -core.List buildUnnamed2552() => [ +core.List buildUnnamed2542() => [ buildSetupTag(), buildSetupTag(), ]; -void checkUnnamed2552(core.List o) { +void checkUnnamed2542(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSetupTag(o[0]); checkSetupTag(o[1]); } -core.List buildUnnamed2553() => [ +core.List buildUnnamed2543() => [ buildTeardownTag(), buildTeardownTag(), ]; -void checkUnnamed2553(core.List o) { +void checkUnnamed2543(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTeardownTag(o[0]); checkTeardownTag(o[1]); @@ -1375,25 +1375,25 @@ api.Tag buildTag() { buildCounterTag++; if (buildCounterTag < 3) { o.accountId = 'foo'; - o.blockingRuleId = buildUnnamed2547(); - o.blockingTriggerId = buildUnnamed2548(); + o.blockingRuleId = buildUnnamed2537(); + o.blockingTriggerId = buildUnnamed2538(); o.containerId = 'foo'; o.fingerprint = 'foo'; - o.firingRuleId = buildUnnamed2549(); - o.firingTriggerId = buildUnnamed2550(); + o.firingRuleId = buildUnnamed2539(); + o.firingTriggerId = buildUnnamed2540(); o.liveOnly = true; o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed2551(); + o.parameter = buildUnnamed2541(); o.parentFolderId = 'foo'; o.paused = true; o.priority = buildParameter(); o.scheduleEndMs = 'foo'; o.scheduleStartMs = 'foo'; - o.setupTag = buildUnnamed2552(); + o.setupTag = buildUnnamed2542(); o.tagFiringOption = 'foo'; o.tagId = 'foo'; - o.teardownTag = buildUnnamed2553(); + o.teardownTag = buildUnnamed2543(); o.type = 'foo'; } buildCounterTag--; @@ -1407,8 +1407,8 @@ void checkTag(api.Tag o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed2547(o.blockingRuleId!); - checkUnnamed2548(o.blockingTriggerId!); + checkUnnamed2537(o.blockingRuleId!); + checkUnnamed2538(o.blockingTriggerId!); unittest.expect( o.containerId!, unittest.equals('foo'), @@ -1417,8 +1417,8 @@ void checkTag(api.Tag o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed2549(o.firingRuleId!); - checkUnnamed2550(o.firingTriggerId!); + checkUnnamed2539(o.firingRuleId!); + checkUnnamed2540(o.firingTriggerId!); unittest.expect(o.liveOnly!, unittest.isTrue); unittest.expect( o.name!, @@ -1428,7 +1428,7 @@ void checkTag(api.Tag o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed2551(o.parameter!); + checkUnnamed2541(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -1443,7 +1443,7 @@ void checkTag(api.Tag o) { o.scheduleStartMs!, unittest.equals('foo'), ); - checkUnnamed2552(o.setupTag!); + checkUnnamed2542(o.setupTag!); unittest.expect( o.tagFiringOption!, unittest.equals('foo'), @@ -1452,7 +1452,7 @@ void checkTag(api.Tag o) { o.tagId!, unittest.equals('foo'), ); - checkUnnamed2553(o.teardownTag!); + checkUnnamed2543(o.teardownTag!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1485,45 +1485,45 @@ void checkTeardownTag(api.TeardownTag o) { buildCounterTeardownTag--; } -core.List buildUnnamed2554() => [ +core.List buildUnnamed2544() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed2554(core.List o) { +void checkUnnamed2544(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed2555() => [ +core.List buildUnnamed2545() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed2555(core.List o) { +void checkUnnamed2545(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed2556() => [ +core.List buildUnnamed2546() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed2556(core.List o) { +void checkUnnamed2546(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed2557() => [ +core.List buildUnnamed2547() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2557(core.List o) { +void checkUnnamed2547(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -1535,13 +1535,13 @@ api.Trigger buildTrigger() { buildCounterTrigger++; if (buildCounterTrigger < 3) { o.accountId = 'foo'; - o.autoEventFilter = buildUnnamed2554(); + o.autoEventFilter = buildUnnamed2544(); o.checkValidation = buildParameter(); o.containerId = 'foo'; o.continuousTimeMinMilliseconds = buildParameter(); - o.customEventFilter = buildUnnamed2555(); + o.customEventFilter = buildUnnamed2545(); o.eventName = buildParameter(); - o.filter = buildUnnamed2556(); + o.filter = buildUnnamed2546(); o.fingerprint = 'foo'; o.horizontalScrollPercentageList = buildParameter(); o.interval = buildParameter(); @@ -1549,7 +1549,7 @@ api.Trigger buildTrigger() { o.limit = buildParameter(); o.maxTimerLengthSeconds = buildParameter(); o.name = 'foo'; - o.parameter = buildUnnamed2557(); + o.parameter = buildUnnamed2547(); o.parentFolderId = 'foo'; o.selector = buildParameter(); o.totalTimeMinMilliseconds = buildParameter(); @@ -1574,16 +1574,16 @@ void checkTrigger(api.Trigger o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed2554(o.autoEventFilter!); + checkUnnamed2544(o.autoEventFilter!); checkParameter(o.checkValidation!); unittest.expect( o.containerId!, unittest.equals('foo'), ); checkParameter(o.continuousTimeMinMilliseconds!); - checkUnnamed2555(o.customEventFilter!); + checkUnnamed2545(o.customEventFilter!); checkParameter(o.eventName!); - checkUnnamed2556(o.filter!); + checkUnnamed2546(o.filter!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -1597,7 +1597,7 @@ void checkTrigger(api.Trigger o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2557(o.parameter!); + checkUnnamed2547(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -1623,12 +1623,12 @@ void checkTrigger(api.Trigger o) { buildCounterTrigger--; } -core.List buildUnnamed2558() => [ +core.List buildUnnamed2548() => [ buildContainerAccess(), buildContainerAccess(), ]; -void checkUnnamed2558(core.List o) { +void checkUnnamed2548(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerAccess(o[0]); checkContainerAccess(o[1]); @@ -1641,7 +1641,7 @@ api.UserAccess buildUserAccess() { if (buildCounterUserAccess < 3) { o.accountAccess = buildAccountAccess(); o.accountId = 'foo'; - o.containerAccess = buildUnnamed2558(); + o.containerAccess = buildUnnamed2548(); o.emailAddress = 'foo'; o.permissionId = 'foo'; } @@ -1657,7 +1657,7 @@ void checkUserAccess(api.UserAccess o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed2558(o.containerAccess!); + checkUnnamed2548(o.containerAccess!); unittest.expect( o.emailAddress!, unittest.equals('foo'), @@ -1670,12 +1670,12 @@ void checkUserAccess(api.UserAccess o) { buildCounterUserAccess--; } -core.List buildUnnamed2559() => [ +core.List buildUnnamed2549() => [ 'foo', 'foo', ]; -void checkUnnamed2559(core.List o) { +void checkUnnamed2549(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1687,12 +1687,12 @@ void checkUnnamed2559(core.List o) { ); } -core.List buildUnnamed2560() => [ +core.List buildUnnamed2550() => [ 'foo', 'foo', ]; -void checkUnnamed2560(core.List o) { +void checkUnnamed2550(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1704,12 +1704,12 @@ void checkUnnamed2560(core.List o) { ); } -core.List buildUnnamed2561() => [ +core.List buildUnnamed2551() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed2561(core.List o) { +void checkUnnamed2551(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -1722,12 +1722,12 @@ api.Variable buildVariable() { if (buildCounterVariable < 3) { o.accountId = 'foo'; o.containerId = 'foo'; - o.disablingTriggerId = buildUnnamed2559(); - o.enablingTriggerId = buildUnnamed2560(); + o.disablingTriggerId = buildUnnamed2549(); + o.enablingTriggerId = buildUnnamed2550(); o.fingerprint = 'foo'; o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed2561(); + o.parameter = buildUnnamed2551(); o.parentFolderId = 'foo'; o.scheduleEndMs = 'foo'; o.scheduleStartMs = 'foo'; @@ -1749,8 +1749,8 @@ void checkVariable(api.Variable o) { o.containerId!, unittest.equals('foo'), ); - checkUnnamed2559(o.disablingTriggerId!); - checkUnnamed2560(o.enablingTriggerId!); + checkUnnamed2549(o.disablingTriggerId!); + checkUnnamed2550(o.enablingTriggerId!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -1763,7 +1763,7 @@ void checkVariable(api.Variable o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed2561(o.parameter!); + checkUnnamed2551(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -1788,12 +1788,12 @@ void checkVariable(api.Variable o) { buildCounterVariable--; } -core.List buildUnnamed2562() => [ +core.List buildUnnamed2552() => [ 'foo', 'foo', ]; -void checkUnnamed2562(core.List o) { +void checkUnnamed2552(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1805,12 +1805,12 @@ void checkUnnamed2562(core.List o) { ); } -core.List buildUnnamed2563() => [ +core.List buildUnnamed2553() => [ 'foo', 'foo', ]; -void checkUnnamed2563(core.List o) { +void checkUnnamed2553(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1822,12 +1822,12 @@ void checkUnnamed2563(core.List o) { ); } -core.List buildUnnamed2564() => [ +core.List buildUnnamed2554() => [ 'foo', 'foo', ]; -void checkUnnamed2564(core.List o) { +void checkUnnamed2554(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3689,9 +3689,9 @@ void main() { final arg_accountId = 'foo'; final arg_containerId = 'foo'; final arg_folderId = 'foo'; - final arg_tagId = buildUnnamed2562(); - final arg_triggerId = buildUnnamed2563(); - final arg_variableId = buildUnnamed2564(); + final arg_tagId = buildUnnamed2552(); + final arg_triggerId = buildUnnamed2553(); + final arg_variableId = buildUnnamed2554(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = diff --git a/generated/googleapis/test/tagmanager/v2_test.dart b/generated/googleapis/test/tagmanager/v2_test.dart index 1ceadb91c..2f11fa00a 100644 --- a/generated/googleapis/test/tagmanager/v2_test.dart +++ b/generated/googleapis/test/tagmanager/v2_test.dart @@ -139,12 +139,12 @@ void checkBuiltInVariable(api.BuiltInVariable o) { buildCounterBuiltInVariable--; } -core.List buildUnnamed5736() => [ +core.List buildUnnamed5801() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5736(core.List o) { +void checkUnnamed5801(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -161,7 +161,7 @@ api.Client buildClient() { o.fingerprint = 'foo'; o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed5736(); + o.parameter = buildUnnamed5801(); o.parentFolderId = 'foo'; o.path = 'foo'; o.priority = 42; @@ -200,7 +200,7 @@ void checkClient(api.Client o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed5736(o.parameter!); + checkUnnamed5801(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -229,12 +229,12 @@ void checkClient(api.Client o) { buildCounterClient--; } -core.List buildUnnamed5737() => [ +core.List buildUnnamed5802() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5737(core.List o) { +void checkUnnamed5802(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -245,7 +245,7 @@ api.Condition buildCondition() { final o = api.Condition(); buildCounterCondition++; if (buildCounterCondition < 3) { - o.parameter = buildUnnamed5737(); + o.parameter = buildUnnamed5802(); o.type = 'foo'; } buildCounterCondition--; @@ -255,7 +255,7 @@ api.Condition buildCondition() { void checkCondition(api.Condition o) { buildCounterCondition++; if (buildCounterCondition < 3) { - checkUnnamed5737(o.parameter!); + checkUnnamed5802(o.parameter!); unittest.expect( o.type!, unittest.equals('foo'), @@ -264,12 +264,12 @@ void checkCondition(api.Condition o) { buildCounterCondition--; } -core.List buildUnnamed5738() => [ +core.List buildUnnamed5803() => [ 'foo', 'foo', ]; -void checkUnnamed5738(core.List o) { +void checkUnnamed5803(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -281,12 +281,12 @@ void checkUnnamed5738(core.List o) { ); } -core.List buildUnnamed5739() => [ +core.List buildUnnamed5804() => [ 'foo', 'foo', ]; -void checkUnnamed5739(core.List o) { +void checkUnnamed5804(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -305,14 +305,14 @@ api.Container buildContainer() { if (buildCounterContainer < 3) { o.accountId = 'foo'; o.containerId = 'foo'; - o.domainName = buildUnnamed5738(); + o.domainName = buildUnnamed5803(); o.fingerprint = 'foo'; o.name = 'foo'; o.notes = 'foo'; o.path = 'foo'; o.publicId = 'foo'; o.tagManagerUrl = 'foo'; - o.usageContext = buildUnnamed5739(); + o.usageContext = buildUnnamed5804(); } buildCounterContainer--; return o; @@ -329,7 +329,7 @@ void checkContainer(api.Container o) { o.containerId!, unittest.equals('foo'), ); - checkUnnamed5738(o.domainName!); + checkUnnamed5803(o.domainName!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -354,7 +354,7 @@ void checkContainer(api.Container o) { o.tagManagerUrl!, unittest.equals('foo'), ); - checkUnnamed5739(o.usageContext!); + checkUnnamed5804(o.usageContext!); } buildCounterContainer--; } @@ -386,89 +386,89 @@ void checkContainerAccess(api.ContainerAccess o) { buildCounterContainerAccess--; } -core.List buildUnnamed5740() => [ +core.List buildUnnamed5805() => [ buildBuiltInVariable(), buildBuiltInVariable(), ]; -void checkUnnamed5740(core.List o) { +void checkUnnamed5805(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuiltInVariable(o[0]); checkBuiltInVariable(o[1]); } -core.List buildUnnamed5741() => [ +core.List buildUnnamed5806() => [ buildClient(), buildClient(), ]; -void checkUnnamed5741(core.List o) { +void checkUnnamed5806(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClient(o[0]); checkClient(o[1]); } -core.List buildUnnamed5742() => [ +core.List buildUnnamed5807() => [ buildCustomTemplate(), buildCustomTemplate(), ]; -void checkUnnamed5742(core.List o) { +void checkUnnamed5807(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomTemplate(o[0]); checkCustomTemplate(o[1]); } -core.List buildUnnamed5743() => [ +core.List buildUnnamed5808() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed5743(core.List o) { +void checkUnnamed5808(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); } -core.List buildUnnamed5744() => [ +core.List buildUnnamed5809() => [ buildTag(), buildTag(), ]; -void checkUnnamed5744(core.List o) { +void checkUnnamed5809(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTag(o[0]); checkTag(o[1]); } -core.List buildUnnamed5745() => [ +core.List buildUnnamed5810() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed5745(core.List o) { +void checkUnnamed5810(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); } -core.List buildUnnamed5746() => [ +core.List buildUnnamed5811() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5746(core.List o) { +void checkUnnamed5811(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); } -core.List buildUnnamed5747() => [ +core.List buildUnnamed5812() => [ buildZone(), buildZone(), ]; -void checkUnnamed5747(core.List o) { +void checkUnnamed5812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkZone(o[0]); checkZone(o[1]); @@ -480,23 +480,23 @@ api.ContainerVersion buildContainerVersion() { buildCounterContainerVersion++; if (buildCounterContainerVersion < 3) { o.accountId = 'foo'; - o.builtInVariable = buildUnnamed5740(); - o.client = buildUnnamed5741(); + o.builtInVariable = buildUnnamed5805(); + o.client = buildUnnamed5806(); o.container = buildContainer(); o.containerId = 'foo'; o.containerVersionId = 'foo'; - o.customTemplate = buildUnnamed5742(); + o.customTemplate = buildUnnamed5807(); o.deleted = true; o.description = 'foo'; o.fingerprint = 'foo'; - o.folder = buildUnnamed5743(); + o.folder = buildUnnamed5808(); o.name = 'foo'; o.path = 'foo'; - o.tag = buildUnnamed5744(); + o.tag = buildUnnamed5809(); o.tagManagerUrl = 'foo'; - o.trigger = buildUnnamed5745(); - o.variable = buildUnnamed5746(); - o.zone = buildUnnamed5747(); + o.trigger = buildUnnamed5810(); + o.variable = buildUnnamed5811(); + o.zone = buildUnnamed5812(); } buildCounterContainerVersion--; return o; @@ -509,8 +509,8 @@ void checkContainerVersion(api.ContainerVersion o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5740(o.builtInVariable!); - checkUnnamed5741(o.client!); + checkUnnamed5805(o.builtInVariable!); + checkUnnamed5806(o.client!); checkContainer(o.container!); unittest.expect( o.containerId!, @@ -520,7 +520,7 @@ void checkContainerVersion(api.ContainerVersion o) { o.containerVersionId!, unittest.equals('foo'), ); - checkUnnamed5742(o.customTemplate!); + checkUnnamed5807(o.customTemplate!); unittest.expect(o.deleted!, unittest.isTrue); unittest.expect( o.description!, @@ -530,7 +530,7 @@ void checkContainerVersion(api.ContainerVersion o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed5743(o.folder!); + checkUnnamed5808(o.folder!); unittest.expect( o.name!, unittest.equals('foo'), @@ -539,14 +539,14 @@ void checkContainerVersion(api.ContainerVersion o) { o.path!, unittest.equals('foo'), ); - checkUnnamed5744(o.tag!); + checkUnnamed5809(o.tag!); unittest.expect( o.tagManagerUrl!, unittest.equals('foo'), ); - checkUnnamed5745(o.trigger!); - checkUnnamed5746(o.variable!); - checkUnnamed5747(o.zone!); + checkUnnamed5810(o.trigger!); + checkUnnamed5811(o.variable!); + checkUnnamed5812(o.zone!); } buildCounterContainerVersion--; } @@ -635,12 +635,12 @@ void checkContainerVersionHeader(api.ContainerVersionHeader o) { buildCounterContainerVersionHeader--; } -core.List buildUnnamed5748() => [ +core.List buildUnnamed5813() => [ buildBuiltInVariable(), buildBuiltInVariable(), ]; -void checkUnnamed5748(core.List o) { +void checkUnnamed5813(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuiltInVariable(o[0]); checkBuiltInVariable(o[1]); @@ -651,7 +651,7 @@ api.CreateBuiltInVariableResponse buildCreateBuiltInVariableResponse() { final o = api.CreateBuiltInVariableResponse(); buildCounterCreateBuiltInVariableResponse++; if (buildCounterCreateBuiltInVariableResponse < 3) { - o.builtInVariable = buildUnnamed5748(); + o.builtInVariable = buildUnnamed5813(); } buildCounterCreateBuiltInVariableResponse--; return o; @@ -660,7 +660,7 @@ api.CreateBuiltInVariableResponse buildCreateBuiltInVariableResponse() { void checkCreateBuiltInVariableResponse(api.CreateBuiltInVariableResponse o) { buildCounterCreateBuiltInVariableResponse++; if (buildCounterCreateBuiltInVariableResponse < 3) { - checkUnnamed5748(o.builtInVariable!); + checkUnnamed5813(o.builtInVariable!); } buildCounterCreateBuiltInVariableResponse--; } @@ -969,34 +969,34 @@ void checkFolder(api.Folder o) { buildCounterFolder--; } -core.List buildUnnamed5749() => [ +core.List buildUnnamed5814() => [ buildTag(), buildTag(), ]; -void checkUnnamed5749(core.List o) { +void checkUnnamed5814(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTag(o[0]); checkTag(o[1]); } -core.List buildUnnamed5750() => [ +core.List buildUnnamed5815() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed5750(core.List o) { +void checkUnnamed5815(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); } -core.List buildUnnamed5751() => [ +core.List buildUnnamed5816() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5751(core.List o) { +void checkUnnamed5816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -1008,9 +1008,9 @@ api.FolderEntities buildFolderEntities() { buildCounterFolderEntities++; if (buildCounterFolderEntities < 3) { o.nextPageToken = 'foo'; - o.tag = buildUnnamed5749(); - o.trigger = buildUnnamed5750(); - o.variable = buildUnnamed5751(); + o.tag = buildUnnamed5814(); + o.trigger = buildUnnamed5815(); + o.variable = buildUnnamed5816(); } buildCounterFolderEntities--; return o; @@ -1023,9 +1023,9 @@ void checkFolderEntities(api.FolderEntities o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5749(o.tag!); - checkUnnamed5750(o.trigger!); - checkUnnamed5751(o.variable!); + checkUnnamed5814(o.tag!); + checkUnnamed5815(o.trigger!); + checkUnnamed5816(o.variable!); } buildCounterFolderEntities--; } @@ -1074,23 +1074,23 @@ void checkGalleryReference(api.GalleryReference o) { buildCounterGalleryReference--; } -core.List buildUnnamed5752() => [ +core.List buildUnnamed5817() => [ buildMergeConflict(), buildMergeConflict(), ]; -void checkUnnamed5752(core.List o) { +void checkUnnamed5817(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMergeConflict(o[0]); checkMergeConflict(o[1]); } -core.List buildUnnamed5753() => [ +core.List buildUnnamed5818() => [ buildEntity(), buildEntity(), ]; -void checkUnnamed5753(core.List o) { +void checkUnnamed5818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntity(o[0]); checkEntity(o[1]); @@ -1101,8 +1101,8 @@ api.GetWorkspaceStatusResponse buildGetWorkspaceStatusResponse() { final o = api.GetWorkspaceStatusResponse(); buildCounterGetWorkspaceStatusResponse++; if (buildCounterGetWorkspaceStatusResponse < 3) { - o.mergeConflict = buildUnnamed5752(); - o.workspaceChange = buildUnnamed5753(); + o.mergeConflict = buildUnnamed5817(); + o.workspaceChange = buildUnnamed5818(); } buildCounterGetWorkspaceStatusResponse--; return o; @@ -1111,18 +1111,18 @@ api.GetWorkspaceStatusResponse buildGetWorkspaceStatusResponse() { void checkGetWorkspaceStatusResponse(api.GetWorkspaceStatusResponse o) { buildCounterGetWorkspaceStatusResponse++; if (buildCounterGetWorkspaceStatusResponse < 3) { - checkUnnamed5752(o.mergeConflict!); - checkUnnamed5753(o.workspaceChange!); + checkUnnamed5817(o.mergeConflict!); + checkUnnamed5818(o.workspaceChange!); } buildCounterGetWorkspaceStatusResponse--; } -core.List buildUnnamed5754() => [ +core.List buildUnnamed5819() => [ buildAccount(), buildAccount(), ]; -void checkUnnamed5754(core.List o) { +void checkUnnamed5819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccount(o[0]); checkAccount(o[1]); @@ -1133,7 +1133,7 @@ api.ListAccountsResponse buildListAccountsResponse() { final o = api.ListAccountsResponse(); buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - o.account = buildUnnamed5754(); + o.account = buildUnnamed5819(); o.nextPageToken = 'foo'; } buildCounterListAccountsResponse--; @@ -1143,7 +1143,7 @@ api.ListAccountsResponse buildListAccountsResponse() { void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse++; if (buildCounterListAccountsResponse < 3) { - checkUnnamed5754(o.account!); + checkUnnamed5819(o.account!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1152,12 +1152,47 @@ void checkListAccountsResponse(api.ListAccountsResponse o) { buildCounterListAccountsResponse--; } -core.List buildUnnamed5755() => [ +core.List buildUnnamed5820() => [ + buildClient(), + buildClient(), + ]; + +void checkUnnamed5820(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkClient(o[0]); + checkClient(o[1]); +} + +core.int buildCounterListClientsResponse = 0; +api.ListClientsResponse buildListClientsResponse() { + final o = api.ListClientsResponse(); + buildCounterListClientsResponse++; + if (buildCounterListClientsResponse < 3) { + o.client = buildUnnamed5820(); + o.nextPageToken = 'foo'; + } + buildCounterListClientsResponse--; + return o; +} + +void checkListClientsResponse(api.ListClientsResponse o) { + buildCounterListClientsResponse++; + if (buildCounterListClientsResponse < 3) { + checkUnnamed5820(o.client!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListClientsResponse--; +} + +core.List buildUnnamed5821() => [ buildContainerVersionHeader(), buildContainerVersionHeader(), ]; -void checkUnnamed5755(core.List o) { +void checkUnnamed5821(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerVersionHeader(o[0]); checkContainerVersionHeader(o[1]); @@ -1168,7 +1203,7 @@ api.ListContainerVersionsResponse buildListContainerVersionsResponse() { final o = api.ListContainerVersionsResponse(); buildCounterListContainerVersionsResponse++; if (buildCounterListContainerVersionsResponse < 3) { - o.containerVersionHeader = buildUnnamed5755(); + o.containerVersionHeader = buildUnnamed5821(); o.nextPageToken = 'foo'; } buildCounterListContainerVersionsResponse--; @@ -1178,7 +1213,7 @@ api.ListContainerVersionsResponse buildListContainerVersionsResponse() { void checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) { buildCounterListContainerVersionsResponse++; if (buildCounterListContainerVersionsResponse < 3) { - checkUnnamed5755(o.containerVersionHeader!); + checkUnnamed5821(o.containerVersionHeader!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1187,12 +1222,12 @@ void checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) { buildCounterListContainerVersionsResponse--; } -core.List buildUnnamed5756() => [ +core.List buildUnnamed5822() => [ buildContainer(), buildContainer(), ]; -void checkUnnamed5756(core.List o) { +void checkUnnamed5822(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainer(o[0]); checkContainer(o[1]); @@ -1203,7 +1238,7 @@ api.ListContainersResponse buildListContainersResponse() { final o = api.ListContainersResponse(); buildCounterListContainersResponse++; if (buildCounterListContainersResponse < 3) { - o.container = buildUnnamed5756(); + o.container = buildUnnamed5822(); o.nextPageToken = 'foo'; } buildCounterListContainersResponse--; @@ -1213,7 +1248,7 @@ api.ListContainersResponse buildListContainersResponse() { void checkListContainersResponse(api.ListContainersResponse o) { buildCounterListContainersResponse++; if (buildCounterListContainersResponse < 3) { - checkUnnamed5756(o.container!); + checkUnnamed5822(o.container!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1222,12 +1257,12 @@ void checkListContainersResponse(api.ListContainersResponse o) { buildCounterListContainersResponse--; } -core.List buildUnnamed5757() => [ +core.List buildUnnamed5823() => [ buildBuiltInVariable(), buildBuiltInVariable(), ]; -void checkUnnamed5757(core.List o) { +void checkUnnamed5823(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBuiltInVariable(o[0]); checkBuiltInVariable(o[1]); @@ -1239,7 +1274,7 @@ api.ListEnabledBuiltInVariablesResponse final o = api.ListEnabledBuiltInVariablesResponse(); buildCounterListEnabledBuiltInVariablesResponse++; if (buildCounterListEnabledBuiltInVariablesResponse < 3) { - o.builtInVariable = buildUnnamed5757(); + o.builtInVariable = buildUnnamed5823(); o.nextPageToken = 'foo'; } buildCounterListEnabledBuiltInVariablesResponse--; @@ -1250,7 +1285,7 @@ void checkListEnabledBuiltInVariablesResponse( api.ListEnabledBuiltInVariablesResponse o) { buildCounterListEnabledBuiltInVariablesResponse++; if (buildCounterListEnabledBuiltInVariablesResponse < 3) { - checkUnnamed5757(o.builtInVariable!); + checkUnnamed5823(o.builtInVariable!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1259,12 +1294,12 @@ void checkListEnabledBuiltInVariablesResponse( buildCounterListEnabledBuiltInVariablesResponse--; } -core.List buildUnnamed5758() => [ +core.List buildUnnamed5824() => [ buildEnvironment(), buildEnvironment(), ]; -void checkUnnamed5758(core.List o) { +void checkUnnamed5824(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironment(o[0]); checkEnvironment(o[1]); @@ -1275,7 +1310,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { final o = api.ListEnvironmentsResponse(); buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - o.environment = buildUnnamed5758(); + o.environment = buildUnnamed5824(); o.nextPageToken = 'foo'; } buildCounterListEnvironmentsResponse--; @@ -1285,7 +1320,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - checkUnnamed5758(o.environment!); + checkUnnamed5824(o.environment!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1294,12 +1329,12 @@ void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse--; } -core.List buildUnnamed5759() => [ +core.List buildUnnamed5825() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed5759(core.List o) { +void checkUnnamed5825(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -1310,7 +1345,7 @@ api.ListFoldersResponse buildListFoldersResponse() { final o = api.ListFoldersResponse(); buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - o.folder = buildUnnamed5759(); + o.folder = buildUnnamed5825(); o.nextPageToken = 'foo'; } buildCounterListFoldersResponse--; @@ -1320,7 +1355,7 @@ api.ListFoldersResponse buildListFoldersResponse() { void checkListFoldersResponse(api.ListFoldersResponse o) { buildCounterListFoldersResponse++; if (buildCounterListFoldersResponse < 3) { - checkUnnamed5759(o.folder!); + checkUnnamed5825(o.folder!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1329,12 +1364,12 @@ void checkListFoldersResponse(api.ListFoldersResponse o) { buildCounterListFoldersResponse--; } -core.List buildUnnamed5760() => [ +core.List buildUnnamed5826() => [ buildTag(), buildTag(), ]; -void checkUnnamed5760(core.List o) { +void checkUnnamed5826(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTag(o[0]); checkTag(o[1]); @@ -1346,7 +1381,7 @@ api.ListTagsResponse buildListTagsResponse() { buildCounterListTagsResponse++; if (buildCounterListTagsResponse < 3) { o.nextPageToken = 'foo'; - o.tag = buildUnnamed5760(); + o.tag = buildUnnamed5826(); } buildCounterListTagsResponse--; return o; @@ -1359,17 +1394,17 @@ void checkListTagsResponse(api.ListTagsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5760(o.tag!); + checkUnnamed5826(o.tag!); } buildCounterListTagsResponse--; } -core.List buildUnnamed5761() => [ +core.List buildUnnamed5827() => [ buildCustomTemplate(), buildCustomTemplate(), ]; -void checkUnnamed5761(core.List o) { +void checkUnnamed5827(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomTemplate(o[0]); checkCustomTemplate(o[1]); @@ -1381,7 +1416,7 @@ api.ListTemplatesResponse buildListTemplatesResponse() { buildCounterListTemplatesResponse++; if (buildCounterListTemplatesResponse < 3) { o.nextPageToken = 'foo'; - o.template = buildUnnamed5761(); + o.template = buildUnnamed5827(); } buildCounterListTemplatesResponse--; return o; @@ -1394,17 +1429,17 @@ void checkListTemplatesResponse(api.ListTemplatesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5761(o.template!); + checkUnnamed5827(o.template!); } buildCounterListTemplatesResponse--; } -core.List buildUnnamed5762() => [ +core.List buildUnnamed5828() => [ buildTrigger(), buildTrigger(), ]; -void checkUnnamed5762(core.List o) { +void checkUnnamed5828(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrigger(o[0]); checkTrigger(o[1]); @@ -1416,7 +1451,7 @@ api.ListTriggersResponse buildListTriggersResponse() { buildCounterListTriggersResponse++; if (buildCounterListTriggersResponse < 3) { o.nextPageToken = 'foo'; - o.trigger = buildUnnamed5762(); + o.trigger = buildUnnamed5828(); } buildCounterListTriggersResponse--; return o; @@ -1429,17 +1464,17 @@ void checkListTriggersResponse(api.ListTriggersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5762(o.trigger!); + checkUnnamed5828(o.trigger!); } buildCounterListTriggersResponse--; } -core.List buildUnnamed5763() => [ +core.List buildUnnamed5829() => [ buildUserPermission(), buildUserPermission(), ]; -void checkUnnamed5763(core.List o) { +void checkUnnamed5829(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserPermission(o[0]); checkUserPermission(o[1]); @@ -1451,7 +1486,7 @@ api.ListUserPermissionsResponse buildListUserPermissionsResponse() { buildCounterListUserPermissionsResponse++; if (buildCounterListUserPermissionsResponse < 3) { o.nextPageToken = 'foo'; - o.userPermission = buildUnnamed5763(); + o.userPermission = buildUnnamed5829(); } buildCounterListUserPermissionsResponse--; return o; @@ -1464,17 +1499,17 @@ void checkListUserPermissionsResponse(api.ListUserPermissionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5763(o.userPermission!); + checkUnnamed5829(o.userPermission!); } buildCounterListUserPermissionsResponse--; } -core.List buildUnnamed5764() => [ +core.List buildUnnamed5830() => [ buildVariable(), buildVariable(), ]; -void checkUnnamed5764(core.List o) { +void checkUnnamed5830(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariable(o[0]); checkVariable(o[1]); @@ -1486,7 +1521,7 @@ api.ListVariablesResponse buildListVariablesResponse() { buildCounterListVariablesResponse++; if (buildCounterListVariablesResponse < 3) { o.nextPageToken = 'foo'; - o.variable = buildUnnamed5764(); + o.variable = buildUnnamed5830(); } buildCounterListVariablesResponse--; return o; @@ -1499,17 +1534,17 @@ void checkListVariablesResponse(api.ListVariablesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5764(o.variable!); + checkUnnamed5830(o.variable!); } buildCounterListVariablesResponse--; } -core.List buildUnnamed5765() => [ +core.List buildUnnamed5831() => [ buildWorkspace(), buildWorkspace(), ]; -void checkUnnamed5765(core.List o) { +void checkUnnamed5831(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkspace(o[0]); checkWorkspace(o[1]); @@ -1521,7 +1556,7 @@ api.ListWorkspacesResponse buildListWorkspacesResponse() { buildCounterListWorkspacesResponse++; if (buildCounterListWorkspacesResponse < 3) { o.nextPageToken = 'foo'; - o.workspace = buildUnnamed5765(); + o.workspace = buildUnnamed5831(); } buildCounterListWorkspacesResponse--; return o; @@ -1534,17 +1569,17 @@ void checkListWorkspacesResponse(api.ListWorkspacesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5765(o.workspace!); + checkUnnamed5831(o.workspace!); } buildCounterListWorkspacesResponse--; } -core.List buildUnnamed5766() => [ +core.List buildUnnamed5832() => [ buildZone(), buildZone(), ]; -void checkUnnamed5766(core.List o) { +void checkUnnamed5832(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkZone(o[0]); checkZone(o[1]); @@ -1556,7 +1591,7 @@ api.ListZonesResponse buildListZonesResponse() { buildCounterListZonesResponse++; if (buildCounterListZonesResponse < 3) { o.nextPageToken = 'foo'; - o.zone = buildUnnamed5766(); + o.zone = buildUnnamed5832(); } buildCounterListZonesResponse--; return o; @@ -1569,7 +1604,7 @@ void checkListZonesResponse(api.ListZonesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed5766(o.zone!); + checkUnnamed5832(o.zone!); } buildCounterListZonesResponse--; } @@ -1595,23 +1630,23 @@ void checkMergeConflict(api.MergeConflict o) { buildCounterMergeConflict--; } -core.List buildUnnamed5767() => [ +core.List buildUnnamed5833() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5767(core.List o) { +void checkUnnamed5833(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); } -core.List buildUnnamed5768() => [ +core.List buildUnnamed5834() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5768(core.List o) { +void checkUnnamed5834(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -1623,8 +1658,8 @@ api.Parameter buildParameter() { buildCounterParameter++; if (buildCounterParameter < 3) { o.key = 'foo'; - o.list = buildUnnamed5767(); - o.map = buildUnnamed5768(); + o.list = buildUnnamed5833(); + o.map = buildUnnamed5834(); o.type = 'foo'; o.value = 'foo'; } @@ -1639,8 +1674,8 @@ void checkParameter(api.Parameter o) { o.key!, unittest.equals('foo'), ); - checkUnnamed5767(o.list!); - checkUnnamed5768(o.map!); + checkUnnamed5833(o.list!); + checkUnnamed5834(o.map!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1717,6 +1752,25 @@ void checkRevertBuiltInVariableResponse(api.RevertBuiltInVariableResponse o) { buildCounterRevertBuiltInVariableResponse--; } +core.int buildCounterRevertClientResponse = 0; +api.RevertClientResponse buildRevertClientResponse() { + final o = api.RevertClientResponse(); + buildCounterRevertClientResponse++; + if (buildCounterRevertClientResponse < 3) { + o.client = buildClient(); + } + buildCounterRevertClientResponse--; + return o; +} + +void checkRevertClientResponse(api.RevertClientResponse o) { + buildCounterRevertClientResponse++; + if (buildCounterRevertClientResponse < 3) { + checkClient(o.client!); + } + buildCounterRevertClientResponse--; +} + core.int buildCounterRevertFolderResponse = 0; api.RevertFolderResponse buildRevertFolderResponse() { final o = api.RevertFolderResponse(); @@ -1876,12 +1930,12 @@ void checkSyncStatus(api.SyncStatus o) { buildCounterSyncStatus--; } -core.List buildUnnamed5769() => [ +core.List buildUnnamed5835() => [ buildMergeConflict(), buildMergeConflict(), ]; -void checkUnnamed5769(core.List o) { +void checkUnnamed5835(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMergeConflict(o[0]); checkMergeConflict(o[1]); @@ -1892,7 +1946,7 @@ api.SyncWorkspaceResponse buildSyncWorkspaceResponse() { final o = api.SyncWorkspaceResponse(); buildCounterSyncWorkspaceResponse++; if (buildCounterSyncWorkspaceResponse < 3) { - o.mergeConflict = buildUnnamed5769(); + o.mergeConflict = buildUnnamed5835(); o.syncStatus = buildSyncStatus(); } buildCounterSyncWorkspaceResponse--; @@ -1902,18 +1956,18 @@ api.SyncWorkspaceResponse buildSyncWorkspaceResponse() { void checkSyncWorkspaceResponse(api.SyncWorkspaceResponse o) { buildCounterSyncWorkspaceResponse++; if (buildCounterSyncWorkspaceResponse < 3) { - checkUnnamed5769(o.mergeConflict!); + checkUnnamed5835(o.mergeConflict!); checkSyncStatus(o.syncStatus!); } buildCounterSyncWorkspaceResponse--; } -core.List buildUnnamed5770() => [ +core.List buildUnnamed5836() => [ 'foo', 'foo', ]; -void checkUnnamed5770(core.List o) { +void checkUnnamed5836(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1925,12 +1979,12 @@ void checkUnnamed5770(core.List o) { ); } -core.List buildUnnamed5771() => [ +core.List buildUnnamed5837() => [ 'foo', 'foo', ]; -void checkUnnamed5771(core.List o) { +void checkUnnamed5837(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1942,12 +1996,12 @@ void checkUnnamed5771(core.List o) { ); } -core.List buildUnnamed5772() => [ +core.List buildUnnamed5838() => [ 'foo', 'foo', ]; -void checkUnnamed5772(core.List o) { +void checkUnnamed5838(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1959,12 +2013,12 @@ void checkUnnamed5772(core.List o) { ); } -core.List buildUnnamed5773() => [ +core.List buildUnnamed5839() => [ 'foo', 'foo', ]; -void checkUnnamed5773(core.List o) { +void checkUnnamed5839(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1976,34 +2030,34 @@ void checkUnnamed5773(core.List o) { ); } -core.List buildUnnamed5774() => [ +core.List buildUnnamed5840() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5774(core.List o) { +void checkUnnamed5840(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); } -core.List buildUnnamed5775() => [ +core.List buildUnnamed5841() => [ buildSetupTag(), buildSetupTag(), ]; -void checkUnnamed5775(core.List o) { +void checkUnnamed5841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSetupTag(o[0]); checkSetupTag(o[1]); } -core.List buildUnnamed5776() => [ +core.List buildUnnamed5842() => [ buildTeardownTag(), buildTeardownTag(), ]; -void checkUnnamed5776(core.List o) { +void checkUnnamed5842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTeardownTag(o[0]); checkTeardownTag(o[1]); @@ -2015,29 +2069,30 @@ api.Tag buildTag() { buildCounterTag++; if (buildCounterTag < 3) { o.accountId = 'foo'; - o.blockingRuleId = buildUnnamed5770(); - o.blockingTriggerId = buildUnnamed5771(); + o.blockingRuleId = buildUnnamed5836(); + o.blockingTriggerId = buildUnnamed5837(); + o.consentSettings = buildTagConsentSetting(); o.containerId = 'foo'; o.fingerprint = 'foo'; - o.firingRuleId = buildUnnamed5772(); - o.firingTriggerId = buildUnnamed5773(); + o.firingRuleId = buildUnnamed5838(); + o.firingTriggerId = buildUnnamed5839(); o.liveOnly = true; o.monitoringMetadata = buildParameter(); o.monitoringMetadataTagNameKey = 'foo'; o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed5774(); + o.parameter = buildUnnamed5840(); o.parentFolderId = 'foo'; o.path = 'foo'; o.paused = true; o.priority = buildParameter(); o.scheduleEndMs = 'foo'; o.scheduleStartMs = 'foo'; - o.setupTag = buildUnnamed5775(); + o.setupTag = buildUnnamed5841(); o.tagFiringOption = 'foo'; o.tagId = 'foo'; o.tagManagerUrl = 'foo'; - o.teardownTag = buildUnnamed5776(); + o.teardownTag = buildUnnamed5842(); o.type = 'foo'; o.workspaceId = 'foo'; } @@ -2052,8 +2107,9 @@ void checkTag(api.Tag o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5770(o.blockingRuleId!); - checkUnnamed5771(o.blockingTriggerId!); + checkUnnamed5836(o.blockingRuleId!); + checkUnnamed5837(o.blockingTriggerId!); + checkTagConsentSetting(o.consentSettings!); unittest.expect( o.containerId!, unittest.equals('foo'), @@ -2062,8 +2118,8 @@ void checkTag(api.Tag o) { o.fingerprint!, unittest.equals('foo'), ); - checkUnnamed5772(o.firingRuleId!); - checkUnnamed5773(o.firingTriggerId!); + checkUnnamed5838(o.firingRuleId!); + checkUnnamed5839(o.firingTriggerId!); unittest.expect(o.liveOnly!, unittest.isTrue); checkParameter(o.monitoringMetadata!); unittest.expect( @@ -2078,7 +2134,7 @@ void checkTag(api.Tag o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed5774(o.parameter!); + checkUnnamed5840(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -2097,7 +2153,7 @@ void checkTag(api.Tag o) { o.scheduleStartMs!, unittest.equals('foo'), ); - checkUnnamed5775(o.setupTag!); + checkUnnamed5841(o.setupTag!); unittest.expect( o.tagFiringOption!, unittest.equals('foo'), @@ -2110,7 +2166,7 @@ void checkTag(api.Tag o) { o.tagManagerUrl!, unittest.equals('foo'), ); - checkUnnamed5776(o.teardownTag!); + checkUnnamed5842(o.teardownTag!); unittest.expect( o.type!, unittest.equals('foo'), @@ -2123,6 +2179,30 @@ void checkTag(api.Tag o) { buildCounterTag--; } +core.int buildCounterTagConsentSetting = 0; +api.TagConsentSetting buildTagConsentSetting() { + final o = api.TagConsentSetting(); + buildCounterTagConsentSetting++; + if (buildCounterTagConsentSetting < 3) { + o.consentStatus = 'foo'; + o.consentType = buildParameter(); + } + buildCounterTagConsentSetting--; + return o; +} + +void checkTagConsentSetting(api.TagConsentSetting o) { + buildCounterTagConsentSetting++; + if (buildCounterTagConsentSetting < 3) { + unittest.expect( + o.consentStatus!, + unittest.equals('foo'), + ); + checkParameter(o.consentType!); + } + buildCounterTagConsentSetting--; +} + core.int buildCounterTeardownTag = 0; api.TeardownTag buildTeardownTag() { final o = api.TeardownTag(); @@ -2147,45 +2227,45 @@ void checkTeardownTag(api.TeardownTag o) { buildCounterTeardownTag--; } -core.List buildUnnamed5777() => [ +core.List buildUnnamed5843() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed5777(core.List o) { +void checkUnnamed5843(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed5778() => [ +core.List buildUnnamed5844() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed5778(core.List o) { +void checkUnnamed5844(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed5779() => [ +core.List buildUnnamed5845() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed5779(core.List o) { +void checkUnnamed5845(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed5780() => [ +core.List buildUnnamed5846() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5780(core.List o) { +void checkUnnamed5846(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -2197,13 +2277,13 @@ api.Trigger buildTrigger() { buildCounterTrigger++; if (buildCounterTrigger < 3) { o.accountId = 'foo'; - o.autoEventFilter = buildUnnamed5777(); + o.autoEventFilter = buildUnnamed5843(); o.checkValidation = buildParameter(); o.containerId = 'foo'; o.continuousTimeMinMilliseconds = buildParameter(); - o.customEventFilter = buildUnnamed5778(); + o.customEventFilter = buildUnnamed5844(); o.eventName = buildParameter(); - o.filter = buildUnnamed5779(); + o.filter = buildUnnamed5845(); o.fingerprint = 'foo'; o.horizontalScrollPercentageList = buildParameter(); o.interval = buildParameter(); @@ -2212,7 +2292,7 @@ api.Trigger buildTrigger() { o.maxTimerLengthSeconds = buildParameter(); o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed5780(); + o.parameter = buildUnnamed5846(); o.parentFolderId = 'foo'; o.path = 'foo'; o.selector = buildParameter(); @@ -2240,16 +2320,16 @@ void checkTrigger(api.Trigger o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5777(o.autoEventFilter!); + checkUnnamed5843(o.autoEventFilter!); checkParameter(o.checkValidation!); unittest.expect( o.containerId!, unittest.equals('foo'), ); checkParameter(o.continuousTimeMinMilliseconds!); - checkUnnamed5778(o.customEventFilter!); + checkUnnamed5844(o.customEventFilter!); checkParameter(o.eventName!); - checkUnnamed5779(o.filter!); + checkUnnamed5845(o.filter!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -2267,7 +2347,7 @@ void checkTrigger(api.Trigger o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed5780(o.parameter!); + checkUnnamed5846(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -2305,12 +2385,12 @@ void checkTrigger(api.Trigger o) { buildCounterTrigger--; } -core.List buildUnnamed5781() => [ +core.List buildUnnamed5847() => [ buildContainerAccess(), buildContainerAccess(), ]; -void checkUnnamed5781(core.List o) { +void checkUnnamed5847(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContainerAccess(o[0]); checkContainerAccess(o[1]); @@ -2323,7 +2403,7 @@ api.UserPermission buildUserPermission() { if (buildCounterUserPermission < 3) { o.accountAccess = buildAccountAccess(); o.accountId = 'foo'; - o.containerAccess = buildUnnamed5781(); + o.containerAccess = buildUnnamed5847(); o.emailAddress = 'foo'; o.path = 'foo'; } @@ -2339,7 +2419,7 @@ void checkUserPermission(api.UserPermission o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed5781(o.containerAccess!); + checkUnnamed5847(o.containerAccess!); unittest.expect( o.emailAddress!, unittest.equals('foo'), @@ -2352,12 +2432,12 @@ void checkUserPermission(api.UserPermission o) { buildCounterUserPermission--; } -core.List buildUnnamed5782() => [ +core.List buildUnnamed5848() => [ 'foo', 'foo', ]; -void checkUnnamed5782(core.List o) { +void checkUnnamed5848(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2369,12 +2449,12 @@ void checkUnnamed5782(core.List o) { ); } -core.List buildUnnamed5783() => [ +core.List buildUnnamed5849() => [ 'foo', 'foo', ]; -void checkUnnamed5783(core.List o) { +void checkUnnamed5849(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2386,12 +2466,12 @@ void checkUnnamed5783(core.List o) { ); } -core.List buildUnnamed5784() => [ +core.List buildUnnamed5850() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed5784(core.List o) { +void checkUnnamed5850(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -2404,13 +2484,13 @@ api.Variable buildVariable() { if (buildCounterVariable < 3) { o.accountId = 'foo'; o.containerId = 'foo'; - o.disablingTriggerId = buildUnnamed5782(); - o.enablingTriggerId = buildUnnamed5783(); + o.disablingTriggerId = buildUnnamed5848(); + o.enablingTriggerId = buildUnnamed5849(); o.fingerprint = 'foo'; o.formatValue = buildVariableFormatValue(); o.name = 'foo'; o.notes = 'foo'; - o.parameter = buildUnnamed5784(); + o.parameter = buildUnnamed5850(); o.parentFolderId = 'foo'; o.path = 'foo'; o.scheduleEndMs = 'foo'; @@ -2435,8 +2515,8 @@ void checkVariable(api.Variable o) { o.containerId!, unittest.equals('foo'), ); - checkUnnamed5782(o.disablingTriggerId!); - checkUnnamed5783(o.enablingTriggerId!); + checkUnnamed5848(o.disablingTriggerId!); + checkUnnamed5849(o.enablingTriggerId!); unittest.expect( o.fingerprint!, unittest.equals('foo'), @@ -2450,7 +2530,7 @@ void checkVariable(api.Variable o) { o.notes!, unittest.equals('foo'), ); - checkUnnamed5784(o.parameter!); + checkUnnamed5850(o.parameter!); unittest.expect( o.parentFolderId!, unittest.equals('foo'), @@ -2574,12 +2654,12 @@ void checkWorkspace(api.Workspace o) { buildCounterWorkspace--; } -core.List buildUnnamed5785() => [ +core.List buildUnnamed5851() => [ buildZoneChildContainer(), buildZoneChildContainer(), ]; -void checkUnnamed5785(core.List o) { +void checkUnnamed5851(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkZoneChildContainer(o[0]); checkZoneChildContainer(o[1]); @@ -2592,7 +2672,7 @@ api.Zone buildZone() { if (buildCounterZone < 3) { o.accountId = 'foo'; o.boundary = buildZoneBoundary(); - o.childContainer = buildUnnamed5785(); + o.childContainer = buildUnnamed5851(); o.containerId = 'foo'; o.fingerprint = 'foo'; o.name = 'foo'; @@ -2615,7 +2695,7 @@ void checkZone(api.Zone o) { unittest.equals('foo'), ); checkZoneBoundary(o.boundary!); - checkUnnamed5785(o.childContainer!); + checkUnnamed5851(o.childContainer!); unittest.expect( o.containerId!, unittest.equals('foo'), @@ -2653,23 +2733,23 @@ void checkZone(api.Zone o) { buildCounterZone--; } -core.List buildUnnamed5786() => [ +core.List buildUnnamed5852() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed5786(core.List o) { +void checkUnnamed5852(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); } -core.List buildUnnamed5787() => [ +core.List buildUnnamed5853() => [ 'foo', 'foo', ]; -void checkUnnamed5787(core.List o) { +void checkUnnamed5853(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2686,8 +2766,8 @@ api.ZoneBoundary buildZoneBoundary() { final o = api.ZoneBoundary(); buildCounterZoneBoundary++; if (buildCounterZoneBoundary < 3) { - o.condition = buildUnnamed5786(); - o.customEvaluationTriggerId = buildUnnamed5787(); + o.condition = buildUnnamed5852(); + o.customEvaluationTriggerId = buildUnnamed5853(); } buildCounterZoneBoundary--; return o; @@ -2696,8 +2776,8 @@ api.ZoneBoundary buildZoneBoundary() { void checkZoneBoundary(api.ZoneBoundary o) { buildCounterZoneBoundary++; if (buildCounterZoneBoundary < 3) { - checkUnnamed5786(o.condition!); - checkUnnamed5787(o.customEvaluationTriggerId!); + checkUnnamed5852(o.condition!); + checkUnnamed5853(o.customEvaluationTriggerId!); } buildCounterZoneBoundary--; } @@ -2729,12 +2809,12 @@ void checkZoneChildContainer(api.ZoneChildContainer o) { buildCounterZoneChildContainer--; } -core.List buildUnnamed5788() => [ +core.List buildUnnamed5854() => [ 'foo', 'foo', ]; -void checkUnnamed5788(core.List o) { +void checkUnnamed5854(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2752,7 +2832,7 @@ api.ZoneTypeRestriction buildZoneTypeRestriction() { buildCounterZoneTypeRestriction++; if (buildCounterZoneTypeRestriction < 3) { o.enable = true; - o.whitelistedTypeId = buildUnnamed5788(); + o.whitelistedTypeId = buildUnnamed5854(); } buildCounterZoneTypeRestriction--; return o; @@ -2762,17 +2842,17 @@ void checkZoneTypeRestriction(api.ZoneTypeRestriction o) { buildCounterZoneTypeRestriction++; if (buildCounterZoneTypeRestriction < 3) { unittest.expect(o.enable!, unittest.isTrue); - checkUnnamed5788(o.whitelistedTypeId!); + checkUnnamed5854(o.whitelistedTypeId!); } buildCounterZoneTypeRestriction--; } -core.List buildUnnamed5789() => [ +core.List buildUnnamed5855() => [ 'foo', 'foo', ]; -void checkUnnamed5789(core.List o) { +void checkUnnamed5855(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2784,12 +2864,12 @@ void checkUnnamed5789(core.List o) { ); } -core.List buildUnnamed5790() => [ +core.List buildUnnamed5856() => [ 'foo', 'foo', ]; -void checkUnnamed5790(core.List o) { +void checkUnnamed5856(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2801,12 +2881,12 @@ void checkUnnamed5790(core.List o) { ); } -core.List buildUnnamed5791() => [ +core.List buildUnnamed5857() => [ 'foo', 'foo', ]; -void checkUnnamed5791(core.List o) { +void checkUnnamed5857(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2818,12 +2898,12 @@ void checkUnnamed5791(core.List o) { ); } -core.List buildUnnamed5792() => [ +core.List buildUnnamed5858() => [ 'foo', 'foo', ]; -void checkUnnamed5792(core.List o) { +void checkUnnamed5858(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2835,12 +2915,12 @@ void checkUnnamed5792(core.List o) { ); } -core.List buildUnnamed5793() => [ +core.List buildUnnamed5859() => [ 'foo', 'foo', ]; -void checkUnnamed5793(core.List o) { +void checkUnnamed5859(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3053,6 +3133,16 @@ void main() { }); }); + unittest.group('obj-schema-ListClientsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListClientsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListClientsResponse.fromJson( + oJson as core.Map); + checkListClientsResponse(od); + }); + }); + unittest.group('obj-schema-ListContainerVersionsResponse', () { unittest.test('to-json--from-json', () async { final o = buildListContainerVersionsResponse(); @@ -3223,6 +3313,16 @@ void main() { }); }); + unittest.group('obj-schema-RevertClientResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildRevertClientResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RevertClientResponse.fromJson( + oJson as core.Map); + checkRevertClientResponse(od); + }); + }); + unittest.group('obj-schema-RevertFolderResponse', () { unittest.test('to-json--from-json', () async { final o = buildRevertFolderResponse(); @@ -3322,6 +3422,16 @@ void main() { }); }); + unittest.group('obj-schema-TagConsentSetting', () { + unittest.test('to-json--from-json', () async { + final o = buildTagConsentSetting(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.TagConsentSetting.fromJson( + oJson as core.Map); + checkTagConsentSetting(od); + }); + }); + unittest.group('obj-schema-TeardownTag', () { unittest.test('to-json--from-json', () async { final o = buildTeardownTag(); @@ -5303,7 +5413,7 @@ void main() { .workspaces .builtInVariables; final arg_parent = 'foo'; - final arg_type = buildUnnamed5789(); + final arg_type = buildUnnamed5855(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5366,7 +5476,7 @@ void main() { .workspaces .builtInVariables; final arg_path = 'foo'; - final arg_type = buildUnnamed5790(); + final arg_type = buildUnnamed5856(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -5546,6 +5656,354 @@ void main() { }); }); + unittest.group('resource-AccountsContainersWorkspacesClientsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.TagManagerApi(mock).accounts.containers.workspaces.clients; + final arg_request = buildClient(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Client.fromJson(json as core.Map); + checkClient(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('tagmanager/v2/'), + ); + pathOffset += 14; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildClient()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkClient(response as api.Client); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.TagManagerApi(mock).accounts.containers.workspaces.clients; + final arg_path = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('tagmanager/v2/'), + ); + pathOffset += 14; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = ''; + return async.Future.value(stringResponse(200, h, resp)); + }), true); + await res.delete(arg_path, $fields: arg_$fields); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.TagManagerApi(mock).accounts.containers.workspaces.clients; + final arg_path = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('tagmanager/v2/'), + ); + pathOffset += 14; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildClient()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_path, $fields: arg_$fields); + checkClient(response as api.Client); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.TagManagerApi(mock).accounts.containers.workspaces.clients; + final arg_parent = 'foo'; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('tagmanager/v2/'), + ); + pathOffset += 14; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListClientsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageToken: arg_pageToken, $fields: arg_$fields); + checkListClientsResponse(response as api.ListClientsResponse); + }); + + unittest.test('method--revert', () async { + final mock = HttpServerMock(); + final res = + api.TagManagerApi(mock).accounts.containers.workspaces.clients; + final arg_path = 'foo'; + final arg_fingerprint = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('tagmanager/v2/'), + ); + pathOffset += 14; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fingerprint']!.first, + unittest.equals(arg_fingerprint), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildRevertClientResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.revert(arg_path, + fingerprint: arg_fingerprint, $fields: arg_$fields); + checkRevertClientResponse(response as api.RevertClientResponse); + }); + + unittest.test('method--update', () async { + final mock = HttpServerMock(); + final res = + api.TagManagerApi(mock).accounts.containers.workspaces.clients; + final arg_request = buildClient(); + final arg_path = 'foo'; + final arg_fingerprint = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Client.fromJson(json as core.Map); + checkClient(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('tagmanager/v2/'), + ); + pathOffset += 14; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fingerprint']!.first, + unittest.equals(arg_fingerprint), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildClient()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.update(arg_request, arg_path, + fingerprint: arg_fingerprint, $fields: arg_$fields); + checkClient(response as api.Client); + }); + }); + unittest.group('resource-AccountsContainersWorkspacesFoldersResource', () { unittest.test('method--create', () async { final mock = HttpServerMock(); @@ -5835,9 +6293,9 @@ void main() { api.TagManagerApi(mock).accounts.containers.workspaces.folders; final arg_request = buildFolder(); final arg_path = 'foo'; - final arg_tagId = buildUnnamed5791(); - final arg_triggerId = buildUnnamed5792(); - final arg_variableId = buildUnnamed5793(); + final arg_tagId = buildUnnamed5857(); + final arg_triggerId = buildUnnamed5858(); + final arg_variableId = buildUnnamed5859(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart index a3476a95e..6a9151088 100644 --- a/generated/googleapis/test/tasks/v1_test.dart +++ b/generated/googleapis/test/tasks/v1_test.dart @@ -58,12 +58,12 @@ void checkTaskLinks(api.TaskLinks o) { buildCounterTaskLinks--; } -core.List buildUnnamed7803() => [ +core.List buildUnnamed7889() => [ buildTaskLinks(), buildTaskLinks(), ]; -void checkUnnamed7803(core.List o) { +void checkUnnamed7889(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTaskLinks(o[0]); checkTaskLinks(o[1]); @@ -81,7 +81,7 @@ api.Task buildTask() { o.hidden = true; o.id = 'foo'; o.kind = 'foo'; - o.links = buildUnnamed7803(); + o.links = buildUnnamed7889(); o.notes = 'foo'; o.parent = 'foo'; o.position = 'foo'; @@ -119,7 +119,7 @@ void checkTask(api.Task o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed7803(o.links!); + checkUnnamed7889(o.links!); unittest.expect( o.notes!, unittest.equals('foo'), @@ -199,12 +199,12 @@ void checkTaskList(api.TaskList o) { buildCounterTaskList--; } -core.List buildUnnamed7804() => [ +core.List buildUnnamed7890() => [ buildTaskList(), buildTaskList(), ]; -void checkUnnamed7804(core.List o) { +void checkUnnamed7890(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTaskList(o[0]); checkTaskList(o[1]); @@ -216,7 +216,7 @@ api.TaskLists buildTaskLists() { buildCounterTaskLists++; if (buildCounterTaskLists < 3) { o.etag = 'foo'; - o.items = buildUnnamed7804(); + o.items = buildUnnamed7890(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -231,7 +231,7 @@ void checkTaskLists(api.TaskLists o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed7804(o.items!); + checkUnnamed7890(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -244,12 +244,12 @@ void checkTaskLists(api.TaskLists o) { buildCounterTaskLists--; } -core.List buildUnnamed7805() => [ +core.List buildUnnamed7891() => [ buildTask(), buildTask(), ]; -void checkUnnamed7805(core.List o) { +void checkUnnamed7891(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTask(o[0]); checkTask(o[1]); @@ -261,7 +261,7 @@ api.Tasks buildTasks() { buildCounterTasks++; if (buildCounterTasks < 3) { o.etag = 'foo'; - o.items = buildUnnamed7805(); + o.items = buildUnnamed7891(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -276,7 +276,7 @@ void checkTasks(api.Tasks o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed7805(o.items!); + checkUnnamed7891(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), diff --git a/generated/googleapis/test/testing/v1_test.dart b/generated/googleapis/test/testing/v1_test.dart index 07327feb2..a1be9557f 100644 --- a/generated/googleapis/test/testing/v1_test.dart +++ b/generated/googleapis/test/testing/v1_test.dart @@ -82,23 +82,23 @@ void checkAndroidDevice(api.AndroidDevice o) { buildCounterAndroidDevice--; } -core.List buildUnnamed161() => [ +core.List buildUnnamed163() => [ buildAndroidModel(), buildAndroidModel(), ]; -void checkUnnamed161(core.List o) { +void checkUnnamed163(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAndroidModel(o[0]); checkAndroidModel(o[1]); } -core.List buildUnnamed162() => [ +core.List buildUnnamed164() => [ buildAndroidVersion(), buildAndroidVersion(), ]; -void checkUnnamed162(core.List o) { +void checkUnnamed164(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAndroidVersion(o[0]); checkAndroidVersion(o[1]); @@ -109,9 +109,9 @@ api.AndroidDeviceCatalog buildAndroidDeviceCatalog() { final o = api.AndroidDeviceCatalog(); buildCounterAndroidDeviceCatalog++; if (buildCounterAndroidDeviceCatalog < 3) { - o.models = buildUnnamed161(); + o.models = buildUnnamed163(); o.runtimeConfiguration = buildAndroidRuntimeConfiguration(); - o.versions = buildUnnamed162(); + o.versions = buildUnnamed164(); } buildCounterAndroidDeviceCatalog--; return o; @@ -120,19 +120,19 @@ api.AndroidDeviceCatalog buildAndroidDeviceCatalog() { void checkAndroidDeviceCatalog(api.AndroidDeviceCatalog o) { buildCounterAndroidDeviceCatalog++; if (buildCounterAndroidDeviceCatalog < 3) { - checkUnnamed161(o.models!); + checkUnnamed163(o.models!); checkAndroidRuntimeConfiguration(o.runtimeConfiguration!); - checkUnnamed162(o.versions!); + checkUnnamed164(o.versions!); } buildCounterAndroidDeviceCatalog--; } -core.List buildUnnamed163() => [ +core.List buildUnnamed165() => [ buildAndroidDevice(), buildAndroidDevice(), ]; -void checkUnnamed163(core.List o) { +void checkUnnamed165(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAndroidDevice(o[0]); checkAndroidDevice(o[1]); @@ -143,7 +143,7 @@ api.AndroidDeviceList buildAndroidDeviceList() { final o = api.AndroidDeviceList(); buildCounterAndroidDeviceList++; if (buildCounterAndroidDeviceList < 3) { - o.androidDevices = buildUnnamed163(); + o.androidDevices = buildUnnamed165(); } buildCounterAndroidDeviceList--; return o; @@ -152,17 +152,17 @@ api.AndroidDeviceList buildAndroidDeviceList() { void checkAndroidDeviceList(api.AndroidDeviceList o) { buildCounterAndroidDeviceList++; if (buildCounterAndroidDeviceList < 3) { - checkUnnamed163(o.androidDevices!); + checkUnnamed165(o.androidDevices!); } buildCounterAndroidDeviceList--; } -core.List buildUnnamed164() => [ +core.List buildUnnamed166() => [ 'foo', 'foo', ]; -void checkUnnamed164(core.List o) { +void checkUnnamed166(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -187,7 +187,7 @@ api.AndroidInstrumentationTest buildAndroidInstrumentationTest() { o.testApk = buildFileReference(); o.testPackageId = 'foo'; o.testRunnerClass = 'foo'; - o.testTargets = buildUnnamed164(); + o.testTargets = buildUnnamed166(); } buildCounterAndroidInstrumentationTest--; return o; @@ -216,17 +216,17 @@ void checkAndroidInstrumentationTest(api.AndroidInstrumentationTest o) { o.testRunnerClass!, unittest.equals('foo'), ); - checkUnnamed164(o.testTargets!); + checkUnnamed166(o.testTargets!); } buildCounterAndroidInstrumentationTest--; } -core.List buildUnnamed165() => [ +core.List buildUnnamed167() => [ 'foo', 'foo', ]; -void checkUnnamed165(core.List o) { +void checkUnnamed167(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -238,12 +238,12 @@ void checkUnnamed165(core.List o) { ); } -core.List buildUnnamed166() => [ +core.List buildUnnamed168() => [ 'foo', 'foo', ]; -void checkUnnamed166(core.List o) { +void checkUnnamed168(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -255,12 +255,12 @@ void checkUnnamed166(core.List o) { ); } -core.List buildUnnamed167() => [ +core.List buildUnnamed169() => [ 'foo', 'foo', ]; -void checkUnnamed167(core.List o) { +void checkUnnamed169(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -272,12 +272,12 @@ void checkUnnamed167(core.List o) { ); } -core.List buildUnnamed168() => [ +core.List buildUnnamed170() => [ 'foo', 'foo', ]; -void checkUnnamed168(core.List o) { +void checkUnnamed170(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -294,10 +294,10 @@ api.AndroidMatrix buildAndroidMatrix() { final o = api.AndroidMatrix(); buildCounterAndroidMatrix++; if (buildCounterAndroidMatrix < 3) { - o.androidModelIds = buildUnnamed165(); - o.androidVersionIds = buildUnnamed166(); - o.locales = buildUnnamed167(); - o.orientations = buildUnnamed168(); + o.androidModelIds = buildUnnamed167(); + o.androidVersionIds = buildUnnamed168(); + o.locales = buildUnnamed169(); + o.orientations = buildUnnamed170(); } buildCounterAndroidMatrix--; return o; @@ -306,20 +306,20 @@ api.AndroidMatrix buildAndroidMatrix() { void checkAndroidMatrix(api.AndroidMatrix o) { buildCounterAndroidMatrix++; if (buildCounterAndroidMatrix < 3) { - checkUnnamed165(o.androidModelIds!); - checkUnnamed166(o.androidVersionIds!); - checkUnnamed167(o.locales!); - checkUnnamed168(o.orientations!); + checkUnnamed167(o.androidModelIds!); + checkUnnamed168(o.androidVersionIds!); + checkUnnamed169(o.locales!); + checkUnnamed170(o.orientations!); } buildCounterAndroidMatrix--; } -core.List buildUnnamed169() => [ +core.List buildUnnamed171() => [ 'foo', 'foo', ]; -void checkUnnamed169(core.List o) { +void checkUnnamed171(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -331,12 +331,12 @@ void checkUnnamed169(core.List o) { ); } -core.List buildUnnamed170() => [ +core.List buildUnnamed172() => [ 'foo', 'foo', ]; -void checkUnnamed170(core.List o) { +void checkUnnamed172(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -348,12 +348,12 @@ void checkUnnamed170(core.List o) { ); } -core.List buildUnnamed171() => [ +core.List buildUnnamed173() => [ 'foo', 'foo', ]; -void checkUnnamed171(core.List o) { +void checkUnnamed173(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -381,9 +381,9 @@ api.AndroidModel buildAndroidModel() { o.screenDensity = 42; o.screenX = 42; o.screenY = 42; - o.supportedAbis = buildUnnamed169(); - o.supportedVersionIds = buildUnnamed170(); - o.tags = buildUnnamed171(); + o.supportedAbis = buildUnnamed171(); + o.supportedVersionIds = buildUnnamed172(); + o.tags = buildUnnamed173(); o.thumbnailUrl = 'foo'; } buildCounterAndroidModel--; @@ -434,9 +434,9 @@ void checkAndroidModel(api.AndroidModel o) { o.screenY!, unittest.equals(42), ); - checkUnnamed169(o.supportedAbis!); - checkUnnamed170(o.supportedVersionIds!); - checkUnnamed171(o.tags!); + checkUnnamed171(o.supportedAbis!); + checkUnnamed172(o.supportedVersionIds!); + checkUnnamed173(o.tags!); unittest.expect( o.thumbnailUrl!, unittest.equals('foo'), @@ -445,23 +445,23 @@ void checkAndroidModel(api.AndroidModel o) { buildCounterAndroidModel--; } -core.List buildUnnamed172() => [ +core.List buildUnnamed174() => [ buildRoboDirective(), buildRoboDirective(), ]; -void checkUnnamed172(core.List o) { +void checkUnnamed174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoboDirective(o[0]); checkRoboDirective(o[1]); } -core.List buildUnnamed173() => [ +core.List buildUnnamed175() => [ buildRoboStartingIntent(), buildRoboStartingIntent(), ]; -void checkUnnamed173(core.List o) { +void checkUnnamed175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoboStartingIntent(o[0]); checkRoboStartingIntent(o[1]); @@ -478,10 +478,10 @@ api.AndroidRoboTest buildAndroidRoboTest() { o.appPackageId = 'foo'; o.maxDepth = 42; o.maxSteps = 42; - o.roboDirectives = buildUnnamed172(); + o.roboDirectives = buildUnnamed174(); o.roboMode = 'foo'; o.roboScript = buildFileReference(); - o.startingIntents = buildUnnamed173(); + o.startingIntents = buildUnnamed175(); } buildCounterAndroidRoboTest--; return o; @@ -508,34 +508,34 @@ void checkAndroidRoboTest(api.AndroidRoboTest o) { o.maxSteps!, unittest.equals(42), ); - checkUnnamed172(o.roboDirectives!); + checkUnnamed174(o.roboDirectives!); unittest.expect( o.roboMode!, unittest.equals('foo'), ); checkFileReference(o.roboScript!); - checkUnnamed173(o.startingIntents!); + checkUnnamed175(o.startingIntents!); } buildCounterAndroidRoboTest--; } -core.List buildUnnamed174() => [ +core.List buildUnnamed176() => [ buildLocale(), buildLocale(), ]; -void checkUnnamed174(core.List o) { +void checkUnnamed176(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocale(o[0]); checkLocale(o[1]); } -core.List buildUnnamed175() => [ +core.List buildUnnamed177() => [ buildOrientation(), buildOrientation(), ]; -void checkUnnamed175(core.List o) { +void checkUnnamed177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrientation(o[0]); checkOrientation(o[1]); @@ -546,8 +546,8 @@ api.AndroidRuntimeConfiguration buildAndroidRuntimeConfiguration() { final o = api.AndroidRuntimeConfiguration(); buildCounterAndroidRuntimeConfiguration++; if (buildCounterAndroidRuntimeConfiguration < 3) { - o.locales = buildUnnamed174(); - o.orientations = buildUnnamed175(); + o.locales = buildUnnamed176(); + o.orientations = buildUnnamed177(); } buildCounterAndroidRuntimeConfiguration--; return o; @@ -556,18 +556,18 @@ api.AndroidRuntimeConfiguration buildAndroidRuntimeConfiguration() { void checkAndroidRuntimeConfiguration(api.AndroidRuntimeConfiguration o) { buildCounterAndroidRuntimeConfiguration++; if (buildCounterAndroidRuntimeConfiguration < 3) { - checkUnnamed174(o.locales!); - checkUnnamed175(o.orientations!); + checkUnnamed176(o.locales!); + checkUnnamed177(o.orientations!); } buildCounterAndroidRuntimeConfiguration--; } -core.List buildUnnamed176() => [ +core.List buildUnnamed178() => [ 'foo', 'foo', ]; -void checkUnnamed176(core.List o) { +void checkUnnamed178(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -579,12 +579,12 @@ void checkUnnamed176(core.List o) { ); } -core.List buildUnnamed177() => [ +core.List buildUnnamed179() => [ 42, 42, ]; -void checkUnnamed177(core.List o) { +void checkUnnamed179(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -604,8 +604,8 @@ api.AndroidTestLoop buildAndroidTestLoop() { o.appApk = buildFileReference(); o.appBundle = buildAppBundle(); o.appPackageId = 'foo'; - o.scenarioLabels = buildUnnamed176(); - o.scenarios = buildUnnamed177(); + o.scenarioLabels = buildUnnamed178(); + o.scenarios = buildUnnamed179(); } buildCounterAndroidTestLoop--; return o; @@ -620,18 +620,18 @@ void checkAndroidTestLoop(api.AndroidTestLoop o) { o.appPackageId!, unittest.equals('foo'), ); - checkUnnamed176(o.scenarioLabels!); - checkUnnamed177(o.scenarios!); + checkUnnamed178(o.scenarioLabels!); + checkUnnamed179(o.scenarios!); } buildCounterAndroidTestLoop--; } -core.List buildUnnamed178() => [ +core.List buildUnnamed180() => [ 'foo', 'foo', ]; -void checkUnnamed178(core.List o) { +void checkUnnamed180(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -653,7 +653,7 @@ api.AndroidVersion buildAndroidVersion() { o.distribution = buildDistribution(); o.id = 'foo'; o.releaseDate = buildDate(); - o.tags = buildUnnamed178(); + o.tags = buildUnnamed180(); o.versionString = 'foo'; } buildCounterAndroidVersion--; @@ -677,7 +677,7 @@ void checkAndroidVersion(api.AndroidVersion o) { unittest.equals('foo'), ); checkDate(o.releaseDate!); - checkUnnamed178(o.tags!); + checkUnnamed180(o.tags!); unittest.expect( o.versionString!, unittest.equals('foo'), @@ -729,23 +729,23 @@ void checkApkDetail(api.ApkDetail o) { buildCounterApkDetail--; } -core.List buildUnnamed179() => [ +core.List buildUnnamed181() => [ buildIntentFilter(), buildIntentFilter(), ]; -void checkUnnamed179(core.List o) { +void checkUnnamed181(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIntentFilter(o[0]); checkIntentFilter(o[1]); } -core.List buildUnnamed180() => [ +core.List buildUnnamed182() => [ 'foo', 'foo', ]; -void checkUnnamed180(core.List o) { +void checkUnnamed182(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -763,12 +763,12 @@ api.ApkManifest buildApkManifest() { buildCounterApkManifest++; if (buildCounterApkManifest < 3) { o.applicationLabel = 'foo'; - o.intentFilters = buildUnnamed179(); + o.intentFilters = buildUnnamed181(); o.maxSdkVersion = 42; o.minSdkVersion = 42; o.packageName = 'foo'; o.targetSdkVersion = 42; - o.usesPermission = buildUnnamed180(); + o.usesPermission = buildUnnamed182(); } buildCounterApkManifest--; return o; @@ -781,7 +781,7 @@ void checkApkManifest(api.ApkManifest o) { o.applicationLabel!, unittest.equals('foo'), ); - checkUnnamed179(o.intentFilters!); + checkUnnamed181(o.intentFilters!); unittest.expect( o.maxSdkVersion!, unittest.equals(42), @@ -798,7 +798,7 @@ void checkApkManifest(api.ApkManifest o) { o.targetSdkVersion!, unittest.equals(42), ); - checkUnnamed180(o.usesPermission!); + checkUnnamed182(o.usesPermission!); } buildCounterApkManifest--; } @@ -844,12 +844,12 @@ void checkCancelTestMatrixResponse(api.CancelTestMatrixResponse o) { buildCounterCancelTestMatrixResponse--; } -core.List buildUnnamed181() => [ +core.List buildUnnamed183() => [ buildClientInfoDetail(), buildClientInfoDetail(), ]; -void checkUnnamed181(core.List o) { +void checkUnnamed183(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClientInfoDetail(o[0]); checkClientInfoDetail(o[1]); @@ -860,7 +860,7 @@ api.ClientInfo buildClientInfo() { final o = api.ClientInfo(); buildCounterClientInfo++; if (buildCounterClientInfo < 3) { - o.clientInfoDetails = buildUnnamed181(); + o.clientInfoDetails = buildUnnamed183(); o.name = 'foo'; } buildCounterClientInfo--; @@ -870,7 +870,7 @@ api.ClientInfo buildClientInfo() { void checkClientInfo(api.ClientInfo o) { buildCounterClientInfo++; if (buildCounterClientInfo < 3) { - checkUnnamed181(o.clientInfoDetails!); + checkUnnamed183(o.clientInfoDetails!); unittest.expect( o.name!, unittest.equals('foo'), @@ -988,12 +988,12 @@ void checkDeviceIpBlock(api.DeviceIpBlock o) { buildCounterDeviceIpBlock--; } -core.List buildUnnamed182() => [ +core.List buildUnnamed184() => [ buildDeviceIpBlock(), buildDeviceIpBlock(), ]; -void checkUnnamed182(core.List o) { +void checkUnnamed184(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceIpBlock(o[0]); checkDeviceIpBlock(o[1]); @@ -1004,7 +1004,7 @@ api.DeviceIpBlockCatalog buildDeviceIpBlockCatalog() { final o = api.DeviceIpBlockCatalog(); buildCounterDeviceIpBlockCatalog++; if (buildCounterDeviceIpBlockCatalog < 3) { - o.ipBlocks = buildUnnamed182(); + o.ipBlocks = buildUnnamed184(); } buildCounterDeviceIpBlockCatalog--; return o; @@ -1013,7 +1013,7 @@ api.DeviceIpBlockCatalog buildDeviceIpBlockCatalog() { void checkDeviceIpBlockCatalog(api.DeviceIpBlockCatalog o) { buildCounterDeviceIpBlockCatalog++; if (buildCounterDeviceIpBlockCatalog < 3) { - checkUnnamed182(o.ipBlocks!); + checkUnnamed184(o.ipBlocks!); } buildCounterDeviceIpBlockCatalog--; } @@ -1194,12 +1194,12 @@ void checkGoogleCloudStorage(api.GoogleCloudStorage o) { buildCounterGoogleCloudStorage--; } -core.List buildUnnamed183() => [ +core.List buildUnnamed185() => [ 'foo', 'foo', ]; -void checkUnnamed183(core.List o) { +void checkUnnamed185(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1211,12 +1211,12 @@ void checkUnnamed183(core.List o) { ); } -core.List buildUnnamed184() => [ +core.List buildUnnamed186() => [ 'foo', 'foo', ]; -void checkUnnamed184(core.List o) { +void checkUnnamed186(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1233,8 +1233,8 @@ api.IntentFilter buildIntentFilter() { final o = api.IntentFilter(); buildCounterIntentFilter++; if (buildCounterIntentFilter < 3) { - o.actionNames = buildUnnamed183(); - o.categoryNames = buildUnnamed184(); + o.actionNames = buildUnnamed185(); + o.categoryNames = buildUnnamed186(); o.mimeType = 'foo'; } buildCounterIntentFilter--; @@ -1244,8 +1244,8 @@ api.IntentFilter buildIntentFilter() { void checkIntentFilter(api.IntentFilter o) { buildCounterIntentFilter++; if (buildCounterIntentFilter < 3) { - checkUnnamed183(o.actionNames!); - checkUnnamed184(o.categoryNames!); + checkUnnamed185(o.actionNames!); + checkUnnamed186(o.categoryNames!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -1291,34 +1291,34 @@ void checkIosDevice(api.IosDevice o) { buildCounterIosDevice--; } -core.List buildUnnamed185() => [ +core.List buildUnnamed187() => [ buildIosModel(), buildIosModel(), ]; -void checkUnnamed185(core.List o) { +void checkUnnamed187(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIosModel(o[0]); checkIosModel(o[1]); } -core.List buildUnnamed186() => [ +core.List buildUnnamed188() => [ buildIosVersion(), buildIosVersion(), ]; -void checkUnnamed186(core.List o) { +void checkUnnamed188(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIosVersion(o[0]); checkIosVersion(o[1]); } -core.List buildUnnamed187() => [ +core.List buildUnnamed189() => [ buildXcodeVersion(), buildXcodeVersion(), ]; -void checkUnnamed187(core.List o) { +void checkUnnamed189(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkXcodeVersion(o[0]); checkXcodeVersion(o[1]); @@ -1329,10 +1329,10 @@ api.IosDeviceCatalog buildIosDeviceCatalog() { final o = api.IosDeviceCatalog(); buildCounterIosDeviceCatalog++; if (buildCounterIosDeviceCatalog < 3) { - o.models = buildUnnamed185(); + o.models = buildUnnamed187(); o.runtimeConfiguration = buildIosRuntimeConfiguration(); - o.versions = buildUnnamed186(); - o.xcodeVersions = buildUnnamed187(); + o.versions = buildUnnamed188(); + o.xcodeVersions = buildUnnamed189(); } buildCounterIosDeviceCatalog--; return o; @@ -1341,10 +1341,10 @@ api.IosDeviceCatalog buildIosDeviceCatalog() { void checkIosDeviceCatalog(api.IosDeviceCatalog o) { buildCounterIosDeviceCatalog++; if (buildCounterIosDeviceCatalog < 3) { - checkUnnamed185(o.models!); + checkUnnamed187(o.models!); checkIosRuntimeConfiguration(o.runtimeConfiguration!); - checkUnnamed186(o.versions!); - checkUnnamed187(o.xcodeVersions!); + checkUnnamed188(o.versions!); + checkUnnamed189(o.xcodeVersions!); } buildCounterIosDeviceCatalog--; } @@ -1378,12 +1378,12 @@ void checkIosDeviceFile(api.IosDeviceFile o) { buildCounterIosDeviceFile--; } -core.List buildUnnamed188() => [ +core.List buildUnnamed190() => [ buildIosDevice(), buildIosDevice(), ]; -void checkUnnamed188(core.List o) { +void checkUnnamed190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIosDevice(o[0]); checkIosDevice(o[1]); @@ -1394,7 +1394,7 @@ api.IosDeviceList buildIosDeviceList() { final o = api.IosDeviceList(); buildCounterIosDeviceList++; if (buildCounterIosDeviceList < 3) { - o.iosDevices = buildUnnamed188(); + o.iosDevices = buildUnnamed190(); } buildCounterIosDeviceList--; return o; @@ -1403,17 +1403,17 @@ api.IosDeviceList buildIosDeviceList() { void checkIosDeviceList(api.IosDeviceList o) { buildCounterIosDeviceList++; if (buildCounterIosDeviceList < 3) { - checkUnnamed188(o.iosDevices!); + checkUnnamed190(o.iosDevices!); } buildCounterIosDeviceList--; } -core.List buildUnnamed189() => [ +core.List buildUnnamed191() => [ 'foo', 'foo', ]; -void checkUnnamed189(core.List o) { +void checkUnnamed191(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1425,12 +1425,12 @@ void checkUnnamed189(core.List o) { ); } -core.List buildUnnamed190() => [ +core.List buildUnnamed192() => [ 'foo', 'foo', ]; -void checkUnnamed190(core.List o) { +void checkUnnamed192(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1442,12 +1442,12 @@ void checkUnnamed190(core.List o) { ); } -core.List buildUnnamed191() => [ +core.List buildUnnamed193() => [ 'foo', 'foo', ]; -void checkUnnamed191(core.List o) { +void checkUnnamed193(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1464,15 +1464,15 @@ api.IosModel buildIosModel() { final o = api.IosModel(); buildCounterIosModel++; if (buildCounterIosModel < 3) { - o.deviceCapabilities = buildUnnamed189(); + o.deviceCapabilities = buildUnnamed191(); o.formFactor = 'foo'; o.id = 'foo'; o.name = 'foo'; o.screenDensity = 42; o.screenX = 42; o.screenY = 42; - o.supportedVersionIds = buildUnnamed190(); - o.tags = buildUnnamed191(); + o.supportedVersionIds = buildUnnamed192(); + o.tags = buildUnnamed193(); } buildCounterIosModel--; return o; @@ -1481,7 +1481,7 @@ api.IosModel buildIosModel() { void checkIosModel(api.IosModel o) { buildCounterIosModel++; if (buildCounterIosModel < 3) { - checkUnnamed189(o.deviceCapabilities!); + checkUnnamed191(o.deviceCapabilities!); unittest.expect( o.formFactor!, unittest.equals('foo'), @@ -1506,29 +1506,29 @@ void checkIosModel(api.IosModel o) { o.screenY!, unittest.equals(42), ); - checkUnnamed190(o.supportedVersionIds!); - checkUnnamed191(o.tags!); + checkUnnamed192(o.supportedVersionIds!); + checkUnnamed193(o.tags!); } buildCounterIosModel--; } -core.List buildUnnamed192() => [ +core.List buildUnnamed194() => [ buildLocale(), buildLocale(), ]; -void checkUnnamed192(core.List o) { +void checkUnnamed194(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocale(o[0]); checkLocale(o[1]); } -core.List buildUnnamed193() => [ +core.List buildUnnamed195() => [ buildOrientation(), buildOrientation(), ]; -void checkUnnamed193(core.List o) { +void checkUnnamed195(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrientation(o[0]); checkOrientation(o[1]); @@ -1539,8 +1539,8 @@ api.IosRuntimeConfiguration buildIosRuntimeConfiguration() { final o = api.IosRuntimeConfiguration(); buildCounterIosRuntimeConfiguration++; if (buildCounterIosRuntimeConfiguration < 3) { - o.locales = buildUnnamed192(); - o.orientations = buildUnnamed193(); + o.locales = buildUnnamed194(); + o.orientations = buildUnnamed195(); } buildCounterIosRuntimeConfiguration--; return o; @@ -1549,18 +1549,18 @@ api.IosRuntimeConfiguration buildIosRuntimeConfiguration() { void checkIosRuntimeConfiguration(api.IosRuntimeConfiguration o) { buildCounterIosRuntimeConfiguration++; if (buildCounterIosRuntimeConfiguration < 3) { - checkUnnamed192(o.locales!); - checkUnnamed193(o.orientations!); + checkUnnamed194(o.locales!); + checkUnnamed195(o.orientations!); } buildCounterIosRuntimeConfiguration--; } -core.List buildUnnamed194() => [ +core.List buildUnnamed196() => [ 42, 42, ]; -void checkUnnamed194(core.List o) { +void checkUnnamed196(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1579,7 +1579,7 @@ api.IosTestLoop buildIosTestLoop() { if (buildCounterIosTestLoop < 3) { o.appBundleId = 'foo'; o.appIpa = buildFileReference(); - o.scenarios = buildUnnamed194(); + o.scenarios = buildUnnamed196(); } buildCounterIosTestLoop--; return o; @@ -1593,39 +1593,39 @@ void checkIosTestLoop(api.IosTestLoop o) { unittest.equals('foo'), ); checkFileReference(o.appIpa!); - checkUnnamed194(o.scenarios!); + checkUnnamed196(o.scenarios!); } buildCounterIosTestLoop--; } -core.List buildUnnamed195() => [ +core.List buildUnnamed197() => [ buildFileReference(), buildFileReference(), ]; -void checkUnnamed195(core.List o) { +void checkUnnamed197(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileReference(o[0]); checkFileReference(o[1]); } -core.List buildUnnamed196() => [ +core.List buildUnnamed198() => [ buildIosDeviceFile(), buildIosDeviceFile(), ]; -void checkUnnamed196(core.List o) { +void checkUnnamed198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIosDeviceFile(o[0]); checkIosDeviceFile(o[1]); } -core.List buildUnnamed197() => [ +core.List buildUnnamed199() => [ buildIosDeviceFile(), buildIosDeviceFile(), ]; -void checkUnnamed197(core.List o) { +void checkUnnamed199(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIosDeviceFile(o[0]); checkIosDeviceFile(o[1]); @@ -1636,10 +1636,10 @@ api.IosTestSetup buildIosTestSetup() { final o = api.IosTestSetup(); buildCounterIosTestSetup++; if (buildCounterIosTestSetup < 3) { - o.additionalIpas = buildUnnamed195(); + o.additionalIpas = buildUnnamed197(); o.networkProfile = 'foo'; - o.pullDirectories = buildUnnamed196(); - o.pushFiles = buildUnnamed197(); + o.pullDirectories = buildUnnamed198(); + o.pushFiles = buildUnnamed199(); } buildCounterIosTestSetup--; return o; @@ -1648,23 +1648,23 @@ api.IosTestSetup buildIosTestSetup() { void checkIosTestSetup(api.IosTestSetup o) { buildCounterIosTestSetup++; if (buildCounterIosTestSetup < 3) { - checkUnnamed195(o.additionalIpas!); + checkUnnamed197(o.additionalIpas!); unittest.expect( o.networkProfile!, unittest.equals('foo'), ); - checkUnnamed196(o.pullDirectories!); - checkUnnamed197(o.pushFiles!); + checkUnnamed198(o.pullDirectories!); + checkUnnamed199(o.pushFiles!); } buildCounterIosTestSetup--; } -core.List buildUnnamed198() => [ +core.List buildUnnamed200() => [ 'foo', 'foo', ]; -void checkUnnamed198(core.List o) { +void checkUnnamed200(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1676,12 +1676,12 @@ void checkUnnamed198(core.List o) { ); } -core.List buildUnnamed199() => [ +core.List buildUnnamed201() => [ 'foo', 'foo', ]; -void checkUnnamed199(core.List o) { +void checkUnnamed201(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1701,8 +1701,8 @@ api.IosVersion buildIosVersion() { o.id = 'foo'; o.majorVersion = 42; o.minorVersion = 42; - o.supportedXcodeVersionIds = buildUnnamed198(); - o.tags = buildUnnamed199(); + o.supportedXcodeVersionIds = buildUnnamed200(); + o.tags = buildUnnamed201(); } buildCounterIosVersion--; return o; @@ -1723,8 +1723,8 @@ void checkIosVersion(api.IosVersion o) { o.minorVersion!, unittest.equals(42), ); - checkUnnamed198(o.supportedXcodeVersionIds!); - checkUnnamed199(o.tags!); + checkUnnamed200(o.supportedXcodeVersionIds!); + checkUnnamed201(o.tags!); } buildCounterIosVersion--; } @@ -1777,12 +1777,12 @@ void checkLauncherActivityIntent(api.LauncherActivityIntent o) { buildCounterLauncherActivityIntent--; } -core.List buildUnnamed200() => [ +core.List buildUnnamed202() => [ 'foo', 'foo', ]; -void checkUnnamed200(core.List o) { +void checkUnnamed202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1802,7 +1802,7 @@ api.Locale buildLocale() { o.id = 'foo'; o.name = 'foo'; o.region = 'foo'; - o.tags = buildUnnamed200(); + o.tags = buildUnnamed202(); } buildCounterLocale--; return o; @@ -1823,17 +1823,17 @@ void checkLocale(api.Locale o) { o.region!, unittest.equals('foo'), ); - checkUnnamed200(o.tags!); + checkUnnamed202(o.tags!); } buildCounterLocale--; } -core.List buildUnnamed201() => [ +core.List buildUnnamed203() => [ buildTestTargetsForShard(), buildTestTargetsForShard(), ]; -void checkUnnamed201(core.List o) { +void checkUnnamed203(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestTargetsForShard(o[0]); checkTestTargetsForShard(o[1]); @@ -1844,7 +1844,7 @@ api.ManualSharding buildManualSharding() { final o = api.ManualSharding(); buildCounterManualSharding++; if (buildCounterManualSharding < 3) { - o.testTargetsForShard = buildUnnamed201(); + o.testTargetsForShard = buildUnnamed203(); } buildCounterManualSharding--; return o; @@ -1853,7 +1853,7 @@ api.ManualSharding buildManualSharding() { void checkManualSharding(api.ManualSharding o) { buildCounterManualSharding++; if (buildCounterManualSharding < 3) { - checkUnnamed201(o.testTargetsForShard!); + checkUnnamed203(o.testTargetsForShard!); } buildCounterManualSharding--; } @@ -1884,12 +1884,12 @@ void checkNetworkConfiguration(api.NetworkConfiguration o) { buildCounterNetworkConfiguration--; } -core.List buildUnnamed202() => [ +core.List buildUnnamed204() => [ buildNetworkConfiguration(), buildNetworkConfiguration(), ]; -void checkUnnamed202(core.List o) { +void checkUnnamed204(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkConfiguration(o[0]); checkNetworkConfiguration(o[1]); @@ -1900,7 +1900,7 @@ api.NetworkConfigurationCatalog buildNetworkConfigurationCatalog() { final o = api.NetworkConfigurationCatalog(); buildCounterNetworkConfigurationCatalog++; if (buildCounterNetworkConfigurationCatalog < 3) { - o.configurations = buildUnnamed202(); + o.configurations = buildUnnamed204(); } buildCounterNetworkConfigurationCatalog--; return o; @@ -1909,7 +1909,7 @@ api.NetworkConfigurationCatalog buildNetworkConfigurationCatalog() { void checkNetworkConfigurationCatalog(api.NetworkConfigurationCatalog o) { buildCounterNetworkConfigurationCatalog++; if (buildCounterNetworkConfigurationCatalog < 3) { - checkUnnamed202(o.configurations!); + checkUnnamed204(o.configurations!); } buildCounterNetworkConfigurationCatalog--; } @@ -1938,12 +1938,12 @@ void checkObbFile(api.ObbFile o) { buildCounterObbFile--; } -core.List buildUnnamed203() => [ +core.List buildUnnamed205() => [ 'foo', 'foo', ]; -void checkUnnamed203(core.List o) { +void checkUnnamed205(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1962,7 +1962,7 @@ api.Orientation buildOrientation() { if (buildCounterOrientation < 3) { o.id = 'foo'; o.name = 'foo'; - o.tags = buildUnnamed203(); + o.tags = buildUnnamed205(); } buildCounterOrientation--; return o; @@ -1979,7 +1979,7 @@ void checkOrientation(api.Orientation o) { o.name!, unittest.equals('foo'), ); - checkUnnamed203(o.tags!); + checkUnnamed205(o.tags!); } buildCounterOrientation--; } @@ -2171,12 +2171,12 @@ void checkShardingOption(api.ShardingOption o) { buildCounterShardingOption--; } -core.List buildUnnamed204() => [ +core.List buildUnnamed206() => [ 'foo', 'foo', ]; -void checkUnnamed204(core.List o) { +void checkUnnamed206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2194,7 +2194,7 @@ api.StartActivityIntent buildStartActivityIntent() { buildCounterStartActivityIntent++; if (buildCounterStartActivityIntent < 3) { o.action = 'foo'; - o.categories = buildUnnamed204(); + o.categories = buildUnnamed206(); o.uri = 'foo'; } buildCounterStartActivityIntent--; @@ -2208,7 +2208,7 @@ void checkStartActivityIntent(api.StartActivityIntent o) { o.action!, unittest.equals('foo'), ); - checkUnnamed204(o.categories!); + checkUnnamed206(o.categories!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -2239,12 +2239,12 @@ void checkSystraceSetup(api.SystraceSetup o) { buildCounterSystraceSetup--; } -core.List buildUnnamed205() => [ +core.List buildUnnamed207() => [ 'foo', 'foo', ]; -void checkUnnamed205(core.List o) { +void checkUnnamed207(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2262,7 +2262,7 @@ api.TestDetails buildTestDetails() { buildCounterTestDetails++; if (buildCounterTestDetails < 3) { o.errorMessage = 'foo'; - o.progressMessages = buildUnnamed205(); + o.progressMessages = buildUnnamed207(); } buildCounterTestDetails--; return o; @@ -2275,7 +2275,7 @@ void checkTestDetails(api.TestDetails o) { o.errorMessage!, unittest.equals('foo'), ); - checkUnnamed205(o.progressMessages!); + checkUnnamed207(o.progressMessages!); } buildCounterTestDetails--; } @@ -2359,12 +2359,12 @@ void checkTestExecution(api.TestExecution o) { buildCounterTestExecution--; } -core.List buildUnnamed206() => [ +core.List buildUnnamed208() => [ buildTestExecution(), buildTestExecution(), ]; -void checkUnnamed206(core.List o) { +void checkUnnamed208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestExecution(o[0]); checkTestExecution(o[1]); @@ -2384,7 +2384,7 @@ api.TestMatrix buildTestMatrix() { o.projectId = 'foo'; o.resultStorage = buildResultStorage(); o.state = 'foo'; - o.testExecutions = buildUnnamed206(); + o.testExecutions = buildUnnamed208(); o.testMatrixId = 'foo'; o.testSpecification = buildTestSpecification(); o.timestamp = 'foo'; @@ -2420,7 +2420,7 @@ void checkTestMatrix(api.TestMatrix o) { o.state!, unittest.equals('foo'), ); - checkUnnamed206(o.testExecutions!); + checkUnnamed208(o.testExecutions!); unittest.expect( o.testMatrixId!, unittest.equals('foo'), @@ -2434,23 +2434,23 @@ void checkTestMatrix(api.TestMatrix o) { buildCounterTestMatrix--; } -core.List buildUnnamed207() => [ +core.List buildUnnamed209() => [ buildApk(), buildApk(), ]; -void checkUnnamed207(core.List o) { +void checkUnnamed209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApk(o[0]); checkApk(o[1]); } -core.List buildUnnamed208() => [ +core.List buildUnnamed210() => [ 'foo', 'foo', ]; -void checkUnnamed208(core.List o) { +void checkUnnamed210(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2462,23 +2462,23 @@ void checkUnnamed208(core.List o) { ); } -core.List buildUnnamed209() => [ +core.List buildUnnamed211() => [ buildEnvironmentVariable(), buildEnvironmentVariable(), ]; -void checkUnnamed209(core.List o) { +void checkUnnamed211(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironmentVariable(o[0]); checkEnvironmentVariable(o[1]); } -core.List buildUnnamed210() => [ +core.List buildUnnamed212() => [ buildDeviceFile(), buildDeviceFile(), ]; -void checkUnnamed210(core.List o) { +void checkUnnamed212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceFile(o[0]); checkDeviceFile(o[1]); @@ -2490,11 +2490,11 @@ api.TestSetup buildTestSetup() { buildCounterTestSetup++; if (buildCounterTestSetup < 3) { o.account = buildAccount(); - o.additionalApks = buildUnnamed207(); - o.directoriesToPull = buildUnnamed208(); + o.additionalApks = buildUnnamed209(); + o.directoriesToPull = buildUnnamed210(); o.dontAutograntPermissions = true; - o.environmentVariables = buildUnnamed209(); - o.filesToPush = buildUnnamed210(); + o.environmentVariables = buildUnnamed211(); + o.filesToPush = buildUnnamed212(); o.networkProfile = 'foo'; o.systrace = buildSystraceSetup(); } @@ -2506,11 +2506,11 @@ void checkTestSetup(api.TestSetup o) { buildCounterTestSetup++; if (buildCounterTestSetup < 3) { checkAccount(o.account!); - checkUnnamed207(o.additionalApks!); - checkUnnamed208(o.directoriesToPull!); + checkUnnamed209(o.additionalApks!); + checkUnnamed210(o.directoriesToPull!); unittest.expect(o.dontAutograntPermissions!, unittest.isTrue); - checkUnnamed209(o.environmentVariables!); - checkUnnamed210(o.filesToPush!); + checkUnnamed211(o.environmentVariables!); + checkUnnamed212(o.filesToPush!); unittest.expect( o.networkProfile!, unittest.equals('foo'), @@ -2560,12 +2560,12 @@ void checkTestSpecification(api.TestSpecification o) { buildCounterTestSpecification--; } -core.List buildUnnamed211() => [ +core.List buildUnnamed213() => [ 'foo', 'foo', ]; -void checkUnnamed211(core.List o) { +void checkUnnamed213(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2582,7 +2582,7 @@ api.TestTargetsForShard buildTestTargetsForShard() { final o = api.TestTargetsForShard(); buildCounterTestTargetsForShard++; if (buildCounterTestTargetsForShard < 3) { - o.testTargets = buildUnnamed211(); + o.testTargets = buildUnnamed213(); } buildCounterTestTargetsForShard--; return o; @@ -2591,7 +2591,7 @@ api.TestTargetsForShard buildTestTargetsForShard() { void checkTestTargetsForShard(api.TestTargetsForShard o) { buildCounterTestTargetsForShard++; if (buildCounterTestTargetsForShard < 3) { - checkUnnamed211(o.testTargets!); + checkUnnamed213(o.testTargets!); } buildCounterTestTargetsForShard--; } @@ -2756,12 +2756,12 @@ void checkUniformSharding(api.UniformSharding o) { buildCounterUniformSharding--; } -core.List buildUnnamed212() => [ +core.List buildUnnamed214() => [ 'foo', 'foo', ]; -void checkUnnamed212(core.List o) { +void checkUnnamed214(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2778,7 +2778,7 @@ api.XcodeVersion buildXcodeVersion() { final o = api.XcodeVersion(); buildCounterXcodeVersion++; if (buildCounterXcodeVersion < 3) { - o.tags = buildUnnamed212(); + o.tags = buildUnnamed214(); o.version = 'foo'; } buildCounterXcodeVersion--; @@ -2788,7 +2788,7 @@ api.XcodeVersion buildXcodeVersion() { void checkXcodeVersion(api.XcodeVersion o) { buildCounterXcodeVersion++; if (buildCounterXcodeVersion < 3) { - checkUnnamed212(o.tags!); + checkUnnamed214(o.tags!); unittest.expect( o.version!, unittest.equals('foo'), diff --git a/generated/googleapis/test/texttospeech/v1_test.dart b/generated/googleapis/test/texttospeech/v1_test.dart index b7a0a6515..9cea19958 100644 --- a/generated/googleapis/test/texttospeech/v1_test.dart +++ b/generated/googleapis/test/texttospeech/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed5883() => [ +core.List buildUnnamed5949() => [ 'foo', 'foo', ]; -void checkUnnamed5883(core.List o) { +void checkUnnamed5949(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.AudioConfig buildAudioConfig() { buildCounterAudioConfig++; if (buildCounterAudioConfig < 3) { o.audioEncoding = 'foo'; - o.effectsProfileId = buildUnnamed5883(); + o.effectsProfileId = buildUnnamed5949(); o.pitch = 42.0; o.sampleRateHertz = 42; o.speakingRate = 42.0; @@ -66,7 +66,7 @@ void checkAudioConfig(api.AudioConfig o) { o.audioEncoding!, unittest.equals('foo'), ); - checkUnnamed5883(o.effectsProfileId!); + checkUnnamed5949(o.effectsProfileId!); unittest.expect( o.pitch!, unittest.equals(42.0), @@ -87,12 +87,12 @@ void checkAudioConfig(api.AudioConfig o) { buildCounterAudioConfig--; } -core.List buildUnnamed5884() => [ +core.List buildUnnamed5950() => [ buildVoice(), buildVoice(), ]; -void checkUnnamed5884(core.List o) { +void checkUnnamed5950(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVoice(o[0]); checkVoice(o[1]); @@ -103,7 +103,7 @@ api.ListVoicesResponse buildListVoicesResponse() { final o = api.ListVoicesResponse(); buildCounterListVoicesResponse++; if (buildCounterListVoicesResponse < 3) { - o.voices = buildUnnamed5884(); + o.voices = buildUnnamed5950(); } buildCounterListVoicesResponse--; return o; @@ -112,7 +112,7 @@ api.ListVoicesResponse buildListVoicesResponse() { void checkListVoicesResponse(api.ListVoicesResponse o) { buildCounterListVoicesResponse++; if (buildCounterListVoicesResponse < 3) { - checkUnnamed5884(o.voices!); + checkUnnamed5950(o.voices!); } buildCounterListVoicesResponse--; } @@ -189,12 +189,12 @@ void checkSynthesizeSpeechResponse(api.SynthesizeSpeechResponse o) { buildCounterSynthesizeSpeechResponse--; } -core.List buildUnnamed5885() => [ +core.List buildUnnamed5951() => [ 'foo', 'foo', ]; -void checkUnnamed5885(core.List o) { +void checkUnnamed5951(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -211,7 +211,7 @@ api.Voice buildVoice() { final o = api.Voice(); buildCounterVoice++; if (buildCounterVoice < 3) { - o.languageCodes = buildUnnamed5885(); + o.languageCodes = buildUnnamed5951(); o.name = 'foo'; o.naturalSampleRateHertz = 42; o.ssmlGender = 'foo'; @@ -223,7 +223,7 @@ api.Voice buildVoice() { void checkVoice(api.Voice o) { buildCounterVoice++; if (buildCounterVoice < 3) { - checkUnnamed5885(o.languageCodes!); + checkUnnamed5951(o.languageCodes!); unittest.expect( o.name!, unittest.equals('foo'), diff --git a/generated/googleapis/test/tpu/v1_test.dart b/generated/googleapis/test/tpu/v1_test.dart index 97c60e634..4d9388106 100644 --- a/generated/googleapis/test/tpu/v1_test.dart +++ b/generated/googleapis/test/tpu/v1_test.dart @@ -68,23 +68,23 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed7257() => [ +core.List buildUnnamed7337() => [ buildAcceleratorType(), buildAcceleratorType(), ]; -void checkUnnamed7257(core.List o) { +void checkUnnamed7337(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorType(o[0]); checkAcceleratorType(o[1]); } -core.List buildUnnamed7258() => [ +core.List buildUnnamed7338() => [ 'foo', 'foo', ]; -void checkUnnamed7258(core.List o) { +void checkUnnamed7338(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -101,9 +101,9 @@ api.ListAcceleratorTypesResponse buildListAcceleratorTypesResponse() { final o = api.ListAcceleratorTypesResponse(); buildCounterListAcceleratorTypesResponse++; if (buildCounterListAcceleratorTypesResponse < 3) { - o.acceleratorTypes = buildUnnamed7257(); + o.acceleratorTypes = buildUnnamed7337(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed7258(); + o.unreachable = buildUnnamed7338(); } buildCounterListAcceleratorTypesResponse--; return o; @@ -112,22 +112,22 @@ api.ListAcceleratorTypesResponse buildListAcceleratorTypesResponse() { void checkListAcceleratorTypesResponse(api.ListAcceleratorTypesResponse o) { buildCounterListAcceleratorTypesResponse++; if (buildCounterListAcceleratorTypesResponse < 3) { - checkUnnamed7257(o.acceleratorTypes!); + checkUnnamed7337(o.acceleratorTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7258(o.unreachable!); + checkUnnamed7338(o.unreachable!); } buildCounterListAcceleratorTypesResponse--; } -core.List buildUnnamed7259() => [ +core.List buildUnnamed7339() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed7259(core.List o) { +void checkUnnamed7339(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -138,7 +138,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed7259(); + o.locations = buildUnnamed7339(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -148,7 +148,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed7259(o.locations!); + checkUnnamed7339(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -157,23 +157,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed7260() => [ +core.List buildUnnamed7340() => [ buildNode(), buildNode(), ]; -void checkUnnamed7260(core.List o) { +void checkUnnamed7340(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNode(o[0]); checkNode(o[1]); } -core.List buildUnnamed7261() => [ +core.List buildUnnamed7341() => [ 'foo', 'foo', ]; -void checkUnnamed7261(core.List o) { +void checkUnnamed7341(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -191,8 +191,8 @@ api.ListNodesResponse buildListNodesResponse() { buildCounterListNodesResponse++; if (buildCounterListNodesResponse < 3) { o.nextPageToken = 'foo'; - o.nodes = buildUnnamed7260(); - o.unreachable = buildUnnamed7261(); + o.nodes = buildUnnamed7340(); + o.unreachable = buildUnnamed7341(); } buildCounterListNodesResponse--; return o; @@ -205,18 +205,18 @@ void checkListNodesResponse(api.ListNodesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7260(o.nodes!); - checkUnnamed7261(o.unreachable!); + checkUnnamed7340(o.nodes!); + checkUnnamed7341(o.unreachable!); } buildCounterListNodesResponse--; } -core.List buildUnnamed7262() => [ +core.List buildUnnamed7342() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed7262(core.List o) { +void checkUnnamed7342(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -228,7 +228,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed7262(); + o.operations = buildUnnamed7342(); } buildCounterListOperationsResponse--; return o; @@ -241,28 +241,28 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7262(o.operations!); + checkUnnamed7342(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed7263() => [ +core.List buildUnnamed7343() => [ buildTensorFlowVersion(), buildTensorFlowVersion(), ]; -void checkUnnamed7263(core.List o) { +void checkUnnamed7343(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTensorFlowVersion(o[0]); checkTensorFlowVersion(o[1]); } -core.List buildUnnamed7264() => [ +core.List buildUnnamed7344() => [ 'foo', 'foo', ]; -void checkUnnamed7264(core.List o) { +void checkUnnamed7344(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -280,8 +280,8 @@ api.ListTensorFlowVersionsResponse buildListTensorFlowVersionsResponse() { buildCounterListTensorFlowVersionsResponse++; if (buildCounterListTensorFlowVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.tensorflowVersions = buildUnnamed7263(); - o.unreachable = buildUnnamed7264(); + o.tensorflowVersions = buildUnnamed7343(); + o.unreachable = buildUnnamed7344(); } buildCounterListTensorFlowVersionsResponse--; return o; @@ -294,18 +294,18 @@ void checkListTensorFlowVersionsResponse(api.ListTensorFlowVersionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7263(o.tensorflowVersions!); - checkUnnamed7264(o.unreachable!); + checkUnnamed7343(o.tensorflowVersions!); + checkUnnamed7344(o.unreachable!); } buildCounterListTensorFlowVersionsResponse--; } -core.Map buildUnnamed7265() => { +core.Map buildUnnamed7345() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7265(core.Map o) { +void checkUnnamed7345(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -317,7 +317,7 @@ void checkUnnamed7265(core.Map o) { ); } -core.Map buildUnnamed7266() => { +core.Map buildUnnamed7346() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -330,7 +330,7 @@ core.Map buildUnnamed7266() => { }, }; -void checkUnnamed7266(core.Map o) { +void checkUnnamed7346(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -368,9 +368,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed7265(); + o.labels = buildUnnamed7345(); o.locationId = 'foo'; - o.metadata = buildUnnamed7266(); + o.metadata = buildUnnamed7346(); o.name = 'foo'; } buildCounterLocation--; @@ -384,12 +384,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed7265(o.labels!); + checkUnnamed7345(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed7266(o.metadata!); + checkUnnamed7346(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -425,12 +425,12 @@ void checkNetworkEndpoint(api.NetworkEndpoint o) { buildCounterNetworkEndpoint--; } -core.Map buildUnnamed7267() => { +core.Map buildUnnamed7347() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed7267(core.Map o) { +void checkUnnamed7347(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -442,23 +442,23 @@ void checkUnnamed7267(core.Map o) { ); } -core.List buildUnnamed7268() => [ +core.List buildUnnamed7348() => [ buildNetworkEndpoint(), buildNetworkEndpoint(), ]; -void checkUnnamed7268(core.List o) { +void checkUnnamed7348(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNetworkEndpoint(o[0]); checkNetworkEndpoint(o[1]); } -core.List buildUnnamed7269() => [ +core.List buildUnnamed7349() => [ buildSymptom(), buildSymptom(), ]; -void checkUnnamed7269(core.List o) { +void checkUnnamed7349(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSymptom(o[0]); checkSymptom(o[1]); @@ -477,15 +477,15 @@ api.Node buildNode() { o.health = 'foo'; o.healthDescription = 'foo'; o.ipAddress = 'foo'; - o.labels = buildUnnamed7267(); + o.labels = buildUnnamed7347(); o.name = 'foo'; o.network = 'foo'; - o.networkEndpoints = buildUnnamed7268(); + o.networkEndpoints = buildUnnamed7348(); o.port = 'foo'; o.schedulingConfig = buildSchedulingConfig(); o.serviceAccount = 'foo'; o.state = 'foo'; - o.symptoms = buildUnnamed7269(); + o.symptoms = buildUnnamed7349(); o.tensorflowVersion = 'foo'; o.useServiceNetworking = true; } @@ -528,7 +528,7 @@ void checkNode(api.Node o) { o.ipAddress!, unittest.equals('foo'), ); - checkUnnamed7267(o.labels!); + checkUnnamed7347(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -537,7 +537,7 @@ void checkNode(api.Node o) { o.network!, unittest.equals('foo'), ); - checkUnnamed7268(o.networkEndpoints!); + checkUnnamed7348(o.networkEndpoints!); unittest.expect( o.port!, unittest.equals('foo'), @@ -551,7 +551,7 @@ void checkNode(api.Node o) { o.state!, unittest.equals('foo'), ); - checkUnnamed7269(o.symptoms!); + checkUnnamed7349(o.symptoms!); unittest.expect( o.tensorflowVersion!, unittest.equals('foo'), @@ -561,7 +561,7 @@ void checkNode(api.Node o) { buildCounterNode--; } -core.Map buildUnnamed7270() => { +core.Map buildUnnamed7350() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -574,7 +574,7 @@ core.Map buildUnnamed7270() => { }, }; -void checkUnnamed7270(core.Map o) { +void checkUnnamed7350(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -606,7 +606,7 @@ void checkUnnamed7270(core.Map o) { ); } -core.Map buildUnnamed7271() => { +core.Map buildUnnamed7351() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -619,7 +619,7 @@ core.Map buildUnnamed7271() => { }, }; -void checkUnnamed7271(core.Map o) { +void checkUnnamed7351(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -658,9 +658,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed7270(); + o.metadata = buildUnnamed7350(); o.name = 'foo'; - o.response = buildUnnamed7271(); + o.response = buildUnnamed7351(); } buildCounterOperation--; return o; @@ -671,12 +671,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed7270(o.metadata!); + checkUnnamed7350(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7271(o.response!); + checkUnnamed7351(o.response!); } buildCounterOperation--; } @@ -788,7 +788,7 @@ void checkStartNodeRequest(api.StartNodeRequest o) { buildCounterStartNodeRequest--; } -core.Map buildUnnamed7272() => { +core.Map buildUnnamed7352() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -801,7 +801,7 @@ core.Map buildUnnamed7272() => { }, }; -void checkUnnamed7272(core.Map o) { +void checkUnnamed7352(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -833,15 +833,15 @@ void checkUnnamed7272(core.Map o) { ); } -core.List> buildUnnamed7273() => [ - buildUnnamed7272(), - buildUnnamed7272(), +core.List> buildUnnamed7353() => [ + buildUnnamed7352(), + buildUnnamed7352(), ]; -void checkUnnamed7273(core.List> o) { +void checkUnnamed7353(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7272(o[0]); - checkUnnamed7272(o[1]); + checkUnnamed7352(o[0]); + checkUnnamed7352(o[1]); } core.int buildCounterStatus = 0; @@ -850,7 +850,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed7273(); + o.details = buildUnnamed7353(); o.message = 'foo'; } buildCounterStatus--; @@ -864,7 +864,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed7273(o.details!); + checkUnnamed7353(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/trafficdirector/v2_test.dart b/generated/googleapis/test/trafficdirector/v2_test.dart index bf55f6679..14bdba45d 100644 --- a/generated/googleapis/test/trafficdirector/v2_test.dart +++ b/generated/googleapis/test/trafficdirector/v2_test.dart @@ -47,7 +47,7 @@ void checkAddress(api.Address o) { buildCounterAddress--; } -core.Map buildUnnamed2589() => { +core.Map buildUnnamed2579() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -60,7 +60,7 @@ core.Map buildUnnamed2589() => { }, }; -void checkUnnamed2589(core.Map o) { +void checkUnnamed2579(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -97,7 +97,7 @@ api.BuildVersion buildBuildVersion() { final o = api.BuildVersion(); buildCounterBuildVersion++; if (buildCounterBuildVersion < 3) { - o.metadata = buildUnnamed2589(); + o.metadata = buildUnnamed2579(); o.version = buildSemanticVersion(); } buildCounterBuildVersion--; @@ -107,18 +107,18 @@ api.BuildVersion buildBuildVersion() { void checkBuildVersion(api.BuildVersion o) { buildCounterBuildVersion++; if (buildCounterBuildVersion < 3) { - checkUnnamed2589(o.metadata!); + checkUnnamed2579(o.metadata!); checkSemanticVersion(o.version!); } buildCounterBuildVersion--; } -core.List buildUnnamed2590() => [ +core.List buildUnnamed2580() => [ buildPerXdsConfig(), buildPerXdsConfig(), ]; -void checkUnnamed2590(core.List o) { +void checkUnnamed2580(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerXdsConfig(o[0]); checkPerXdsConfig(o[1]); @@ -130,7 +130,7 @@ api.ClientConfig buildClientConfig() { buildCounterClientConfig++; if (buildCounterClientConfig < 3) { o.node = buildNode(); - o.xdsConfig = buildUnnamed2590(); + o.xdsConfig = buildUnnamed2580(); } buildCounterClientConfig--; return o; @@ -140,17 +140,17 @@ void checkClientConfig(api.ClientConfig o) { buildCounterClientConfig++; if (buildCounterClientConfig < 3) { checkNode(o.node!); - checkUnnamed2590(o.xdsConfig!); + checkUnnamed2580(o.xdsConfig!); } buildCounterClientConfig--; } -core.List buildUnnamed2591() => [ +core.List buildUnnamed2581() => [ buildNodeMatcher(), buildNodeMatcher(), ]; -void checkUnnamed2591(core.List o) { +void checkUnnamed2581(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeMatcher(o[0]); checkNodeMatcher(o[1]); @@ -161,7 +161,7 @@ api.ClientStatusRequest buildClientStatusRequest() { final o = api.ClientStatusRequest(); buildCounterClientStatusRequest++; if (buildCounterClientStatusRequest < 3) { - o.nodeMatchers = buildUnnamed2591(); + o.nodeMatchers = buildUnnamed2581(); } buildCounterClientStatusRequest--; return o; @@ -170,17 +170,17 @@ api.ClientStatusRequest buildClientStatusRequest() { void checkClientStatusRequest(api.ClientStatusRequest o) { buildCounterClientStatusRequest++; if (buildCounterClientStatusRequest < 3) { - checkUnnamed2591(o.nodeMatchers!); + checkUnnamed2581(o.nodeMatchers!); } buildCounterClientStatusRequest--; } -core.List buildUnnamed2592() => [ +core.List buildUnnamed2582() => [ buildClientConfig(), buildClientConfig(), ]; -void checkUnnamed2592(core.List o) { +void checkUnnamed2582(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClientConfig(o[0]); checkClientConfig(o[1]); @@ -191,7 +191,7 @@ api.ClientStatusResponse buildClientStatusResponse() { final o = api.ClientStatusResponse(); buildCounterClientStatusResponse++; if (buildCounterClientStatusResponse < 3) { - o.config = buildUnnamed2592(); + o.config = buildUnnamed2582(); } buildCounterClientStatusResponse--; return o; @@ -200,39 +200,39 @@ api.ClientStatusResponse buildClientStatusResponse() { void checkClientStatusResponse(api.ClientStatusResponse o) { buildCounterClientStatusResponse++; if (buildCounterClientStatusResponse < 3) { - checkUnnamed2592(o.config!); + checkUnnamed2582(o.config!); } buildCounterClientStatusResponse--; } -core.List buildUnnamed2593() => [ +core.List buildUnnamed2583() => [ buildDynamicCluster(), buildDynamicCluster(), ]; -void checkUnnamed2593(core.List o) { +void checkUnnamed2583(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicCluster(o[0]); checkDynamicCluster(o[1]); } -core.List buildUnnamed2594() => [ +core.List buildUnnamed2584() => [ buildDynamicCluster(), buildDynamicCluster(), ]; -void checkUnnamed2594(core.List o) { +void checkUnnamed2584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicCluster(o[0]); checkDynamicCluster(o[1]); } -core.List buildUnnamed2595() => [ +core.List buildUnnamed2585() => [ buildStaticCluster(), buildStaticCluster(), ]; -void checkUnnamed2595(core.List o) { +void checkUnnamed2585(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStaticCluster(o[0]); checkStaticCluster(o[1]); @@ -243,9 +243,9 @@ api.ClustersConfigDump buildClustersConfigDump() { final o = api.ClustersConfigDump(); buildCounterClustersConfigDump++; if (buildCounterClustersConfigDump < 3) { - o.dynamicActiveClusters = buildUnnamed2593(); - o.dynamicWarmingClusters = buildUnnamed2594(); - o.staticClusters = buildUnnamed2595(); + o.dynamicActiveClusters = buildUnnamed2583(); + o.dynamicWarmingClusters = buildUnnamed2584(); + o.staticClusters = buildUnnamed2585(); o.versionInfo = 'foo'; } buildCounterClustersConfigDump--; @@ -255,9 +255,9 @@ api.ClustersConfigDump buildClustersConfigDump() { void checkClustersConfigDump(api.ClustersConfigDump o) { buildCounterClustersConfigDump++; if (buildCounterClustersConfigDump < 3) { - checkUnnamed2593(o.dynamicActiveClusters!); - checkUnnamed2594(o.dynamicWarmingClusters!); - checkUnnamed2595(o.staticClusters!); + checkUnnamed2583(o.dynamicActiveClusters!); + checkUnnamed2584(o.dynamicWarmingClusters!); + checkUnnamed2585(o.staticClusters!); unittest.expect( o.versionInfo!, unittest.equals('foo'), @@ -317,7 +317,7 @@ void checkDoubleRange(api.DoubleRange o) { buildCounterDoubleRange--; } -core.Map buildUnnamed2596() => { +core.Map buildUnnamed2586() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -330,7 +330,7 @@ core.Map buildUnnamed2596() => { }, }; -void checkUnnamed2596(core.Map o) { +void checkUnnamed2586(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -367,7 +367,7 @@ api.DynamicCluster buildDynamicCluster() { final o = api.DynamicCluster(); buildCounterDynamicCluster++; if (buildCounterDynamicCluster < 3) { - o.cluster = buildUnnamed2596(); + o.cluster = buildUnnamed2586(); o.lastUpdated = 'foo'; o.versionInfo = 'foo'; } @@ -378,7 +378,7 @@ api.DynamicCluster buildDynamicCluster() { void checkDynamicCluster(api.DynamicCluster o) { buildCounterDynamicCluster++; if (buildCounterDynamicCluster < 3) { - checkUnnamed2596(o.cluster!); + checkUnnamed2586(o.cluster!); unittest.expect( o.lastUpdated!, unittest.equals('foo'), @@ -421,7 +421,7 @@ void checkDynamicListener(api.DynamicListener o) { buildCounterDynamicListener--; } -core.Map buildUnnamed2597() => { +core.Map buildUnnamed2587() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -434,7 +434,7 @@ core.Map buildUnnamed2597() => { }, }; -void checkUnnamed2597(core.Map o) { +void checkUnnamed2587(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -472,7 +472,7 @@ api.DynamicListenerState buildDynamicListenerState() { buildCounterDynamicListenerState++; if (buildCounterDynamicListenerState < 3) { o.lastUpdated = 'foo'; - o.listener = buildUnnamed2597(); + o.listener = buildUnnamed2587(); o.versionInfo = 'foo'; } buildCounterDynamicListenerState--; @@ -486,7 +486,7 @@ void checkDynamicListenerState(api.DynamicListenerState o) { o.lastUpdated!, unittest.equals('foo'), ); - checkUnnamed2597(o.listener!); + checkUnnamed2587(o.listener!); unittest.expect( o.versionInfo!, unittest.equals('foo'), @@ -495,7 +495,7 @@ void checkDynamicListenerState(api.DynamicListenerState o) { buildCounterDynamicListenerState--; } -core.Map buildUnnamed2598() => { +core.Map buildUnnamed2588() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -508,7 +508,7 @@ core.Map buildUnnamed2598() => { }, }; -void checkUnnamed2598(core.Map o) { +void checkUnnamed2588(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -546,7 +546,7 @@ api.DynamicRouteConfig buildDynamicRouteConfig() { buildCounterDynamicRouteConfig++; if (buildCounterDynamicRouteConfig < 3) { o.lastUpdated = 'foo'; - o.routeConfig = buildUnnamed2598(); + o.routeConfig = buildUnnamed2588(); o.versionInfo = 'foo'; } buildCounterDynamicRouteConfig--; @@ -560,7 +560,7 @@ void checkDynamicRouteConfig(api.DynamicRouteConfig o) { o.lastUpdated!, unittest.equals('foo'), ); - checkUnnamed2598(o.routeConfig!); + checkUnnamed2588(o.routeConfig!); unittest.expect( o.versionInfo!, unittest.equals('foo'), @@ -569,7 +569,7 @@ void checkDynamicRouteConfig(api.DynamicRouteConfig o) { buildCounterDynamicRouteConfig--; } -core.Map buildUnnamed2599() => { +core.Map buildUnnamed2589() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -582,7 +582,7 @@ core.Map buildUnnamed2599() => { }, }; -void checkUnnamed2599(core.Map o) { +void checkUnnamed2589(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -614,15 +614,15 @@ void checkUnnamed2599(core.Map o) { ); } -core.List> buildUnnamed2600() => [ - buildUnnamed2599(), - buildUnnamed2599(), +core.List> buildUnnamed2590() => [ + buildUnnamed2589(), + buildUnnamed2589(), ]; -void checkUnnamed2600(core.List> o) { +void checkUnnamed2590(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2599(o[0]); - checkUnnamed2599(o[1]); + checkUnnamed2589(o[0]); + checkUnnamed2589(o[1]); } core.int buildCounterDynamicScopedRouteConfigs = 0; @@ -632,7 +632,7 @@ api.DynamicScopedRouteConfigs buildDynamicScopedRouteConfigs() { if (buildCounterDynamicScopedRouteConfigs < 3) { o.lastUpdated = 'foo'; o.name = 'foo'; - o.scopedRouteConfigs = buildUnnamed2600(); + o.scopedRouteConfigs = buildUnnamed2590(); o.versionInfo = 'foo'; } buildCounterDynamicScopedRouteConfigs--; @@ -650,7 +650,7 @@ void checkDynamicScopedRouteConfigs(api.DynamicScopedRouteConfigs o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2600(o.scopedRouteConfigs!); + checkUnnamed2590(o.scopedRouteConfigs!); unittest.expect( o.versionInfo!, unittest.equals('foo'), @@ -717,7 +717,7 @@ void checkGoogleRE2(api.GoogleRE2 o) { buildCounterGoogleRE2--; } -core.Map buildUnnamed2601() => { +core.Map buildUnnamed2591() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -730,7 +730,7 @@ core.Map buildUnnamed2601() => { }, }; -void checkUnnamed2601(core.Map o) { +void checkUnnamed2591(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -762,15 +762,15 @@ void checkUnnamed2601(core.Map o) { ); } -core.List> buildUnnamed2602() => [ - buildUnnamed2601(), - buildUnnamed2601(), +core.List> buildUnnamed2592() => [ + buildUnnamed2591(), + buildUnnamed2591(), ]; -void checkUnnamed2602(core.List> o) { +void checkUnnamed2592(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed2601(o[0]); - checkUnnamed2601(o[1]); + checkUnnamed2591(o[0]); + checkUnnamed2591(o[1]); } core.int buildCounterInlineScopedRouteConfigs = 0; @@ -780,7 +780,7 @@ api.InlineScopedRouteConfigs buildInlineScopedRouteConfigs() { if (buildCounterInlineScopedRouteConfigs < 3) { o.lastUpdated = 'foo'; o.name = 'foo'; - o.scopedRouteConfigs = buildUnnamed2602(); + o.scopedRouteConfigs = buildUnnamed2592(); } buildCounterInlineScopedRouteConfigs--; return o; @@ -797,7 +797,7 @@ void checkInlineScopedRouteConfigs(api.InlineScopedRouteConfigs o) { o.name!, unittest.equals('foo'), ); - checkUnnamed2602(o.scopedRouteConfigs!); + checkUnnamed2592(o.scopedRouteConfigs!); } buildCounterInlineScopedRouteConfigs--; } @@ -821,23 +821,23 @@ void checkListMatcher(api.ListMatcher o) { buildCounterListMatcher--; } -core.List buildUnnamed2603() => [ +core.List buildUnnamed2593() => [ buildDynamicListener(), buildDynamicListener(), ]; -void checkUnnamed2603(core.List o) { +void checkUnnamed2593(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicListener(o[0]); checkDynamicListener(o[1]); } -core.List buildUnnamed2604() => [ +core.List buildUnnamed2594() => [ buildStaticListener(), buildStaticListener(), ]; -void checkUnnamed2604(core.List o) { +void checkUnnamed2594(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStaticListener(o[0]); checkStaticListener(o[1]); @@ -848,8 +848,8 @@ api.ListenersConfigDump buildListenersConfigDump() { final o = api.ListenersConfigDump(); buildCounterListenersConfigDump++; if (buildCounterListenersConfigDump < 3) { - o.dynamicListeners = buildUnnamed2603(); - o.staticListeners = buildUnnamed2604(); + o.dynamicListeners = buildUnnamed2593(); + o.staticListeners = buildUnnamed2594(); o.versionInfo = 'foo'; } buildCounterListenersConfigDump--; @@ -859,8 +859,8 @@ api.ListenersConfigDump buildListenersConfigDump() { void checkListenersConfigDump(api.ListenersConfigDump o) { buildCounterListenersConfigDump++; if (buildCounterListenersConfigDump < 3) { - checkUnnamed2603(o.dynamicListeners!); - checkUnnamed2604(o.staticListeners!); + checkUnnamed2593(o.dynamicListeners!); + checkUnnamed2594(o.staticListeners!); unittest.expect( o.versionInfo!, unittest.equals('foo'), @@ -901,12 +901,12 @@ void checkLocality(api.Locality o) { buildCounterLocality--; } -core.List buildUnnamed2605() => [ +core.List buildUnnamed2595() => [ 'foo', 'foo', ]; -void checkUnnamed2605(core.List o) { +void checkUnnamed2595(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -918,29 +918,29 @@ void checkUnnamed2605(core.List o) { ); } -core.List buildUnnamed2606() => [ +core.List buildUnnamed2596() => [ buildExtension(), buildExtension(), ]; -void checkUnnamed2606(core.List o) { +void checkUnnamed2596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtension(o[0]); checkExtension(o[1]); } -core.List buildUnnamed2607() => [ +core.List buildUnnamed2597() => [ buildAddress(), buildAddress(), ]; -void checkUnnamed2607(core.List o) { +void checkUnnamed2597(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddress(o[0]); checkAddress(o[1]); } -core.Map buildUnnamed2608() => { +core.Map buildUnnamed2598() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -953,7 +953,7 @@ core.Map buildUnnamed2608() => { }, }; -void checkUnnamed2608(core.Map o) { +void checkUnnamed2598(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -991,13 +991,13 @@ api.Node buildNode() { buildCounterNode++; if (buildCounterNode < 3) { o.buildVersion = 'foo'; - o.clientFeatures = buildUnnamed2605(); + o.clientFeatures = buildUnnamed2595(); o.cluster = 'foo'; - o.extensions = buildUnnamed2606(); + o.extensions = buildUnnamed2596(); o.id = 'foo'; - o.listeningAddresses = buildUnnamed2607(); + o.listeningAddresses = buildUnnamed2597(); o.locality = buildLocality(); - o.metadata = buildUnnamed2608(); + o.metadata = buildUnnamed2598(); o.userAgentBuildVersion = buildBuildVersion(); o.userAgentName = 'foo'; o.userAgentVersion = 'foo'; @@ -1013,19 +1013,19 @@ void checkNode(api.Node o) { o.buildVersion!, unittest.equals('foo'), ); - checkUnnamed2605(o.clientFeatures!); + checkUnnamed2595(o.clientFeatures!); unittest.expect( o.cluster!, unittest.equals('foo'), ); - checkUnnamed2606(o.extensions!); + checkUnnamed2596(o.extensions!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed2607(o.listeningAddresses!); + checkUnnamed2597(o.listeningAddresses!); checkLocality(o.locality!); - checkUnnamed2608(o.metadata!); + checkUnnamed2598(o.metadata!); checkBuildVersion(o.userAgentBuildVersion!); unittest.expect( o.userAgentName!, @@ -1039,12 +1039,12 @@ void checkNode(api.Node o) { buildCounterNode--; } -core.List buildUnnamed2609() => [ +core.List buildUnnamed2599() => [ buildStructMatcher(), buildStructMatcher(), ]; -void checkUnnamed2609(core.List o) { +void checkUnnamed2599(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStructMatcher(o[0]); checkStructMatcher(o[1]); @@ -1056,7 +1056,7 @@ api.NodeMatcher buildNodeMatcher() { buildCounterNodeMatcher++; if (buildCounterNodeMatcher < 3) { o.nodeId = buildStringMatcher(); - o.nodeMetadatas = buildUnnamed2609(); + o.nodeMetadatas = buildUnnamed2599(); } buildCounterNodeMatcher--; return o; @@ -1066,7 +1066,7 @@ void checkNodeMatcher(api.NodeMatcher o) { buildCounterNodeMatcher++; if (buildCounterNodeMatcher < 3) { checkStringMatcher(o.nodeId!); - checkUnnamed2609(o.nodeMetadatas!); + checkUnnamed2599(o.nodeMetadatas!); } buildCounterNodeMatcher--; } @@ -1189,23 +1189,23 @@ void checkRegexMatcher(api.RegexMatcher o) { buildCounterRegexMatcher--; } -core.List buildUnnamed2610() => [ +core.List buildUnnamed2600() => [ buildDynamicRouteConfig(), buildDynamicRouteConfig(), ]; -void checkUnnamed2610(core.List o) { +void checkUnnamed2600(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicRouteConfig(o[0]); checkDynamicRouteConfig(o[1]); } -core.List buildUnnamed2611() => [ +core.List buildUnnamed2601() => [ buildStaticRouteConfig(), buildStaticRouteConfig(), ]; -void checkUnnamed2611(core.List o) { +void checkUnnamed2601(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStaticRouteConfig(o[0]); checkStaticRouteConfig(o[1]); @@ -1216,8 +1216,8 @@ api.RoutesConfigDump buildRoutesConfigDump() { final o = api.RoutesConfigDump(); buildCounterRoutesConfigDump++; if (buildCounterRoutesConfigDump < 3) { - o.dynamicRouteConfigs = buildUnnamed2610(); - o.staticRouteConfigs = buildUnnamed2611(); + o.dynamicRouteConfigs = buildUnnamed2600(); + o.staticRouteConfigs = buildUnnamed2601(); } buildCounterRoutesConfigDump--; return o; @@ -1226,29 +1226,29 @@ api.RoutesConfigDump buildRoutesConfigDump() { void checkRoutesConfigDump(api.RoutesConfigDump o) { buildCounterRoutesConfigDump++; if (buildCounterRoutesConfigDump < 3) { - checkUnnamed2610(o.dynamicRouteConfigs!); - checkUnnamed2611(o.staticRouteConfigs!); + checkUnnamed2600(o.dynamicRouteConfigs!); + checkUnnamed2601(o.staticRouteConfigs!); } buildCounterRoutesConfigDump--; } -core.List buildUnnamed2612() => [ +core.List buildUnnamed2602() => [ buildDynamicScopedRouteConfigs(), buildDynamicScopedRouteConfigs(), ]; -void checkUnnamed2612(core.List o) { +void checkUnnamed2602(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDynamicScopedRouteConfigs(o[0]); checkDynamicScopedRouteConfigs(o[1]); } -core.List buildUnnamed2613() => [ +core.List buildUnnamed2603() => [ buildInlineScopedRouteConfigs(), buildInlineScopedRouteConfigs(), ]; -void checkUnnamed2613(core.List o) { +void checkUnnamed2603(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInlineScopedRouteConfigs(o[0]); checkInlineScopedRouteConfigs(o[1]); @@ -1259,8 +1259,8 @@ api.ScopedRoutesConfigDump buildScopedRoutesConfigDump() { final o = api.ScopedRoutesConfigDump(); buildCounterScopedRoutesConfigDump++; if (buildCounterScopedRoutesConfigDump < 3) { - o.dynamicScopedRouteConfigs = buildUnnamed2612(); - o.inlineScopedRouteConfigs = buildUnnamed2613(); + o.dynamicScopedRouteConfigs = buildUnnamed2602(); + o.inlineScopedRouteConfigs = buildUnnamed2603(); } buildCounterScopedRoutesConfigDump--; return o; @@ -1269,8 +1269,8 @@ api.ScopedRoutesConfigDump buildScopedRoutesConfigDump() { void checkScopedRoutesConfigDump(api.ScopedRoutesConfigDump o) { buildCounterScopedRoutesConfigDump++; if (buildCounterScopedRoutesConfigDump < 3) { - checkUnnamed2612(o.dynamicScopedRouteConfigs!); - checkUnnamed2613(o.inlineScopedRouteConfigs!); + checkUnnamed2602(o.dynamicScopedRouteConfigs!); + checkUnnamed2603(o.inlineScopedRouteConfigs!); } buildCounterScopedRoutesConfigDump--; } @@ -1351,7 +1351,7 @@ void checkSocketAddress(api.SocketAddress o) { buildCounterSocketAddress--; } -core.Map buildUnnamed2614() => { +core.Map buildUnnamed2604() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1364,7 +1364,7 @@ core.Map buildUnnamed2614() => { }, }; -void checkUnnamed2614(core.Map o) { +void checkUnnamed2604(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted15 = (o['x']!) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); @@ -1401,7 +1401,7 @@ api.StaticCluster buildStaticCluster() { final o = api.StaticCluster(); buildCounterStaticCluster++; if (buildCounterStaticCluster < 3) { - o.cluster = buildUnnamed2614(); + o.cluster = buildUnnamed2604(); o.lastUpdated = 'foo'; } buildCounterStaticCluster--; @@ -1411,7 +1411,7 @@ api.StaticCluster buildStaticCluster() { void checkStaticCluster(api.StaticCluster o) { buildCounterStaticCluster++; if (buildCounterStaticCluster < 3) { - checkUnnamed2614(o.cluster!); + checkUnnamed2604(o.cluster!); unittest.expect( o.lastUpdated!, unittest.equals('foo'), @@ -1420,7 +1420,7 @@ void checkStaticCluster(api.StaticCluster o) { buildCounterStaticCluster--; } -core.Map buildUnnamed2615() => { +core.Map buildUnnamed2605() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1433,7 +1433,7 @@ core.Map buildUnnamed2615() => { }, }; -void checkUnnamed2615(core.Map o) { +void checkUnnamed2605(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted17 = (o['x']!) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); @@ -1471,7 +1471,7 @@ api.StaticListener buildStaticListener() { buildCounterStaticListener++; if (buildCounterStaticListener < 3) { o.lastUpdated = 'foo'; - o.listener = buildUnnamed2615(); + o.listener = buildUnnamed2605(); } buildCounterStaticListener--; return o; @@ -1484,12 +1484,12 @@ void checkStaticListener(api.StaticListener o) { o.lastUpdated!, unittest.equals('foo'), ); - checkUnnamed2615(o.listener!); + checkUnnamed2605(o.listener!); } buildCounterStaticListener--; } -core.Map buildUnnamed2616() => { +core.Map buildUnnamed2606() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1502,7 +1502,7 @@ core.Map buildUnnamed2616() => { }, }; -void checkUnnamed2616(core.Map o) { +void checkUnnamed2606(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted19 = (o['x']!) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); @@ -1540,7 +1540,7 @@ api.StaticRouteConfig buildStaticRouteConfig() { buildCounterStaticRouteConfig++; if (buildCounterStaticRouteConfig < 3) { o.lastUpdated = 'foo'; - o.routeConfig = buildUnnamed2616(); + o.routeConfig = buildUnnamed2606(); } buildCounterStaticRouteConfig--; return o; @@ -1553,7 +1553,7 @@ void checkStaticRouteConfig(api.StaticRouteConfig o) { o.lastUpdated!, unittest.equals('foo'), ); - checkUnnamed2616(o.routeConfig!); + checkUnnamed2606(o.routeConfig!); } buildCounterStaticRouteConfig--; } @@ -1599,12 +1599,12 @@ void checkStringMatcher(api.StringMatcher o) { buildCounterStringMatcher--; } -core.List buildUnnamed2617() => [ +core.List buildUnnamed2607() => [ buildPathSegment(), buildPathSegment(), ]; -void checkUnnamed2617(core.List o) { +void checkUnnamed2607(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPathSegment(o[0]); checkPathSegment(o[1]); @@ -1615,7 +1615,7 @@ api.StructMatcher buildStructMatcher() { final o = api.StructMatcher(); buildCounterStructMatcher++; if (buildCounterStructMatcher < 3) { - o.path = buildUnnamed2617(); + o.path = buildUnnamed2607(); o.value = buildValueMatcher(); } buildCounterStructMatcher--; @@ -1625,13 +1625,13 @@ api.StructMatcher buildStructMatcher() { void checkStructMatcher(api.StructMatcher o) { buildCounterStructMatcher++; if (buildCounterStructMatcher < 3) { - checkUnnamed2617(o.path!); + checkUnnamed2607(o.path!); checkValueMatcher(o.value!); } buildCounterStructMatcher--; } -core.Map buildUnnamed2618() => { +core.Map buildUnnamed2608() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1644,7 +1644,7 @@ core.Map buildUnnamed2618() => { }, }; -void checkUnnamed2618(core.Map o) { +void checkUnnamed2608(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted21 = (o['x']!) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); @@ -1682,7 +1682,7 @@ api.UpdateFailureState buildUpdateFailureState() { buildCounterUpdateFailureState++; if (buildCounterUpdateFailureState < 3) { o.details = 'foo'; - o.failedConfiguration = buildUnnamed2618(); + o.failedConfiguration = buildUnnamed2608(); o.lastUpdateAttempt = 'foo'; } buildCounterUpdateFailureState--; @@ -1696,7 +1696,7 @@ void checkUpdateFailureState(api.UpdateFailureState o) { o.details!, unittest.equals('foo'), ); - checkUnnamed2618(o.failedConfiguration!); + checkUnnamed2608(o.failedConfiguration!); unittest.expect( o.lastUpdateAttempt!, unittest.equals('foo'), diff --git a/generated/googleapis/test/translate/v3_test.dart b/generated/googleapis/test/translate/v3_test.dart index bdab1820c..f625c9ade 100644 --- a/generated/googleapis/test/translate/v3_test.dart +++ b/generated/googleapis/test/translate/v3_test.dart @@ -26,35 +26,35 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed6612() => { +core.Map buildUnnamed6683() => { 'x': buildTranslateTextGlossaryConfig(), 'y': buildTranslateTextGlossaryConfig(), }; -void checkUnnamed6612( +void checkUnnamed6683( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkTranslateTextGlossaryConfig(o['x']!); checkTranslateTextGlossaryConfig(o['y']!); } -core.List buildUnnamed6613() => [ +core.List buildUnnamed6684() => [ buildInputConfig(), buildInputConfig(), ]; -void checkUnnamed6613(core.List o) { +void checkUnnamed6684(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInputConfig(o[0]); checkInputConfig(o[1]); } -core.Map buildUnnamed6614() => { +core.Map buildUnnamed6685() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6614(core.Map o) { +void checkUnnamed6685(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -66,12 +66,12 @@ void checkUnnamed6614(core.Map o) { ); } -core.Map buildUnnamed6615() => { +core.Map buildUnnamed6686() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6615(core.Map o) { +void checkUnnamed6686(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -83,12 +83,12 @@ void checkUnnamed6615(core.Map o) { ); } -core.List buildUnnamed6616() => [ +core.List buildUnnamed6687() => [ 'foo', 'foo', ]; -void checkUnnamed6616(core.List o) { +void checkUnnamed6687(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -105,13 +105,13 @@ api.BatchTranslateTextRequest buildBatchTranslateTextRequest() { final o = api.BatchTranslateTextRequest(); buildCounterBatchTranslateTextRequest++; if (buildCounterBatchTranslateTextRequest < 3) { - o.glossaries = buildUnnamed6612(); - o.inputConfigs = buildUnnamed6613(); - o.labels = buildUnnamed6614(); - o.models = buildUnnamed6615(); + o.glossaries = buildUnnamed6683(); + o.inputConfigs = buildUnnamed6684(); + o.labels = buildUnnamed6685(); + o.models = buildUnnamed6686(); o.outputConfig = buildOutputConfig(); o.sourceLanguageCode = 'foo'; - o.targetLanguageCodes = buildUnnamed6616(); + o.targetLanguageCodes = buildUnnamed6687(); } buildCounterBatchTranslateTextRequest--; return o; @@ -120,16 +120,16 @@ api.BatchTranslateTextRequest buildBatchTranslateTextRequest() { void checkBatchTranslateTextRequest(api.BatchTranslateTextRequest o) { buildCounterBatchTranslateTextRequest++; if (buildCounterBatchTranslateTextRequest < 3) { - checkUnnamed6612(o.glossaries!); - checkUnnamed6613(o.inputConfigs!); - checkUnnamed6614(o.labels!); - checkUnnamed6615(o.models!); + checkUnnamed6683(o.glossaries!); + checkUnnamed6684(o.inputConfigs!); + checkUnnamed6685(o.labels!); + checkUnnamed6686(o.models!); checkOutputConfig(o.outputConfig!); unittest.expect( o.sourceLanguageCode!, unittest.equals('foo'), ); - checkUnnamed6616(o.targetLanguageCodes!); + checkUnnamed6687(o.targetLanguageCodes!); } buildCounterBatchTranslateTextRequest--; } @@ -149,12 +149,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.Map buildUnnamed6617() => { +core.Map buildUnnamed6688() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6617(core.Map o) { +void checkUnnamed6688(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -172,7 +172,7 @@ api.DetectLanguageRequest buildDetectLanguageRequest() { buildCounterDetectLanguageRequest++; if (buildCounterDetectLanguageRequest < 3) { o.content = 'foo'; - o.labels = buildUnnamed6617(); + o.labels = buildUnnamed6688(); o.mimeType = 'foo'; o.model = 'foo'; } @@ -187,7 +187,7 @@ void checkDetectLanguageRequest(api.DetectLanguageRequest o) { o.content!, unittest.equals('foo'), ); - checkUnnamed6617(o.labels!); + checkUnnamed6688(o.labels!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -200,12 +200,12 @@ void checkDetectLanguageRequest(api.DetectLanguageRequest o) { buildCounterDetectLanguageRequest--; } -core.List buildUnnamed6618() => [ +core.List buildUnnamed6689() => [ buildDetectedLanguage(), buildDetectedLanguage(), ]; -void checkUnnamed6618(core.List o) { +void checkUnnamed6689(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDetectedLanguage(o[0]); checkDetectedLanguage(o[1]); @@ -216,7 +216,7 @@ api.DetectLanguageResponse buildDetectLanguageResponse() { final o = api.DetectLanguageResponse(); buildCounterDetectLanguageResponse++; if (buildCounterDetectLanguageResponse < 3) { - o.languages = buildUnnamed6618(); + o.languages = buildUnnamed6689(); } buildCounterDetectLanguageResponse--; return o; @@ -225,7 +225,7 @@ api.DetectLanguageResponse buildDetectLanguageResponse() { void checkDetectLanguageResponse(api.DetectLanguageResponse o) { buildCounterDetectLanguageResponse++; if (buildCounterDetectLanguageResponse < 3) { - checkUnnamed6618(o.languages!); + checkUnnamed6689(o.languages!); } buildCounterDetectLanguageResponse--; } @@ -429,12 +429,12 @@ void checkLanguageCodePair(api.LanguageCodePair o) { buildCounterLanguageCodePair--; } -core.List buildUnnamed6619() => [ +core.List buildUnnamed6690() => [ 'foo', 'foo', ]; -void checkUnnamed6619(core.List o) { +void checkUnnamed6690(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -451,7 +451,7 @@ api.LanguageCodesSet buildLanguageCodesSet() { final o = api.LanguageCodesSet(); buildCounterLanguageCodesSet++; if (buildCounterLanguageCodesSet < 3) { - o.languageCodes = buildUnnamed6619(); + o.languageCodes = buildUnnamed6690(); } buildCounterLanguageCodesSet--; return o; @@ -460,17 +460,17 @@ api.LanguageCodesSet buildLanguageCodesSet() { void checkLanguageCodesSet(api.LanguageCodesSet o) { buildCounterLanguageCodesSet++; if (buildCounterLanguageCodesSet < 3) { - checkUnnamed6619(o.languageCodes!); + checkUnnamed6690(o.languageCodes!); } buildCounterLanguageCodesSet--; } -core.List buildUnnamed6620() => [ +core.List buildUnnamed6691() => [ buildGlossary(), buildGlossary(), ]; -void checkUnnamed6620(core.List o) { +void checkUnnamed6691(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGlossary(o[0]); checkGlossary(o[1]); @@ -481,7 +481,7 @@ api.ListGlossariesResponse buildListGlossariesResponse() { final o = api.ListGlossariesResponse(); buildCounterListGlossariesResponse++; if (buildCounterListGlossariesResponse < 3) { - o.glossaries = buildUnnamed6620(); + o.glossaries = buildUnnamed6691(); o.nextPageToken = 'foo'; } buildCounterListGlossariesResponse--; @@ -491,7 +491,7 @@ api.ListGlossariesResponse buildListGlossariesResponse() { void checkListGlossariesResponse(api.ListGlossariesResponse o) { buildCounterListGlossariesResponse++; if (buildCounterListGlossariesResponse < 3) { - checkUnnamed6620(o.glossaries!); + checkUnnamed6691(o.glossaries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -500,12 +500,12 @@ void checkListGlossariesResponse(api.ListGlossariesResponse o) { buildCounterListGlossariesResponse--; } -core.List buildUnnamed6621() => [ +core.List buildUnnamed6692() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed6621(core.List o) { +void checkUnnamed6692(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -516,7 +516,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed6621(); + o.locations = buildUnnamed6692(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -526,7 +526,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed6621(o.locations!); + checkUnnamed6692(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -535,12 +535,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed6622() => [ +core.List buildUnnamed6693() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6622(core.List o) { +void checkUnnamed6693(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -552,7 +552,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6622(); + o.operations = buildUnnamed6693(); } buildCounterListOperationsResponse--; return o; @@ -565,17 +565,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6622(o.operations!); + checkUnnamed6693(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed6623() => { +core.Map buildUnnamed6694() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6623(core.Map o) { +void checkUnnamed6694(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -587,7 +587,7 @@ void checkUnnamed6623(core.Map o) { ); } -core.Map buildUnnamed6624() => { +core.Map buildUnnamed6695() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -600,7 +600,7 @@ core.Map buildUnnamed6624() => { }, }; -void checkUnnamed6624(core.Map o) { +void checkUnnamed6695(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -638,9 +638,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed6623(); + o.labels = buildUnnamed6694(); o.locationId = 'foo'; - o.metadata = buildUnnamed6624(); + o.metadata = buildUnnamed6695(); o.name = 'foo'; } buildCounterLocation--; @@ -654,12 +654,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed6623(o.labels!); + checkUnnamed6694(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed6624(o.metadata!); + checkUnnamed6695(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -668,7 +668,7 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed6625() => { +core.Map buildUnnamed6696() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -681,7 +681,7 @@ core.Map buildUnnamed6625() => { }, }; -void checkUnnamed6625(core.Map o) { +void checkUnnamed6696(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -713,7 +713,7 @@ void checkUnnamed6625(core.Map o) { ); } -core.Map buildUnnamed6626() => { +core.Map buildUnnamed6697() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -726,7 +726,7 @@ core.Map buildUnnamed6626() => { }, }; -void checkUnnamed6626(core.Map o) { +void checkUnnamed6697(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -765,9 +765,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6625(); + o.metadata = buildUnnamed6696(); o.name = 'foo'; - o.response = buildUnnamed6626(); + o.response = buildUnnamed6697(); } buildCounterOperation--; return o; @@ -778,12 +778,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6625(o.metadata!); + checkUnnamed6696(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6626(o.response!); + checkUnnamed6697(o.response!); } buildCounterOperation--; } @@ -807,7 +807,7 @@ void checkOutputConfig(api.OutputConfig o) { buildCounterOutputConfig--; } -core.Map buildUnnamed6627() => { +core.Map buildUnnamed6698() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -820,7 +820,7 @@ core.Map buildUnnamed6627() => { }, }; -void checkUnnamed6627(core.Map o) { +void checkUnnamed6698(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -852,15 +852,15 @@ void checkUnnamed6627(core.Map o) { ); } -core.List> buildUnnamed6628() => [ - buildUnnamed6627(), - buildUnnamed6627(), +core.List> buildUnnamed6699() => [ + buildUnnamed6698(), + buildUnnamed6698(), ]; -void checkUnnamed6628(core.List> o) { +void checkUnnamed6699(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6627(o[0]); - checkUnnamed6627(o[1]); + checkUnnamed6698(o[0]); + checkUnnamed6698(o[1]); } core.int buildCounterStatus = 0; @@ -869,7 +869,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6628(); + o.details = buildUnnamed6699(); o.message = 'foo'; } buildCounterStatus--; @@ -883,7 +883,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6628(o.details!); + checkUnnamed6699(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -923,12 +923,12 @@ void checkSupportedLanguage(api.SupportedLanguage o) { buildCounterSupportedLanguage--; } -core.List buildUnnamed6629() => [ +core.List buildUnnamed6700() => [ buildSupportedLanguage(), buildSupportedLanguage(), ]; -void checkUnnamed6629(core.List o) { +void checkUnnamed6700(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSupportedLanguage(o[0]); checkSupportedLanguage(o[1]); @@ -939,7 +939,7 @@ api.SupportedLanguages buildSupportedLanguages() { final o = api.SupportedLanguages(); buildCounterSupportedLanguages++; if (buildCounterSupportedLanguages < 3) { - o.languages = buildUnnamed6629(); + o.languages = buildUnnamed6700(); } buildCounterSupportedLanguages--; return o; @@ -948,7 +948,7 @@ api.SupportedLanguages buildSupportedLanguages() { void checkSupportedLanguages(api.SupportedLanguages o) { buildCounterSupportedLanguages++; if (buildCounterSupportedLanguages < 3) { - checkUnnamed6629(o.languages!); + checkUnnamed6700(o.languages!); } buildCounterSupportedLanguages--; } @@ -977,12 +977,12 @@ void checkTranslateTextGlossaryConfig(api.TranslateTextGlossaryConfig o) { buildCounterTranslateTextGlossaryConfig--; } -core.List buildUnnamed6630() => [ +core.List buildUnnamed6701() => [ 'foo', 'foo', ]; -void checkUnnamed6630(core.List o) { +void checkUnnamed6701(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -994,12 +994,12 @@ void checkUnnamed6630(core.List o) { ); } -core.Map buildUnnamed6631() => { +core.Map buildUnnamed6702() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed6631(core.Map o) { +void checkUnnamed6702(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1016,9 +1016,9 @@ api.TranslateTextRequest buildTranslateTextRequest() { final o = api.TranslateTextRequest(); buildCounterTranslateTextRequest++; if (buildCounterTranslateTextRequest < 3) { - o.contents = buildUnnamed6630(); + o.contents = buildUnnamed6701(); o.glossaryConfig = buildTranslateTextGlossaryConfig(); - o.labels = buildUnnamed6631(); + o.labels = buildUnnamed6702(); o.mimeType = 'foo'; o.model = 'foo'; o.sourceLanguageCode = 'foo'; @@ -1031,9 +1031,9 @@ api.TranslateTextRequest buildTranslateTextRequest() { void checkTranslateTextRequest(api.TranslateTextRequest o) { buildCounterTranslateTextRequest++; if (buildCounterTranslateTextRequest < 3) { - checkUnnamed6630(o.contents!); + checkUnnamed6701(o.contents!); checkTranslateTextGlossaryConfig(o.glossaryConfig!); - checkUnnamed6631(o.labels!); + checkUnnamed6702(o.labels!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -1054,23 +1054,23 @@ void checkTranslateTextRequest(api.TranslateTextRequest o) { buildCounterTranslateTextRequest--; } -core.List buildUnnamed6632() => [ +core.List buildUnnamed6703() => [ buildTranslation(), buildTranslation(), ]; -void checkUnnamed6632(core.List o) { +void checkUnnamed6703(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTranslation(o[0]); checkTranslation(o[1]); } -core.List buildUnnamed6633() => [ +core.List buildUnnamed6704() => [ buildTranslation(), buildTranslation(), ]; -void checkUnnamed6633(core.List o) { +void checkUnnamed6704(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTranslation(o[0]); checkTranslation(o[1]); @@ -1081,8 +1081,8 @@ api.TranslateTextResponse buildTranslateTextResponse() { final o = api.TranslateTextResponse(); buildCounterTranslateTextResponse++; if (buildCounterTranslateTextResponse < 3) { - o.glossaryTranslations = buildUnnamed6632(); - o.translations = buildUnnamed6633(); + o.glossaryTranslations = buildUnnamed6703(); + o.translations = buildUnnamed6704(); } buildCounterTranslateTextResponse--; return o; @@ -1091,8 +1091,8 @@ api.TranslateTextResponse buildTranslateTextResponse() { void checkTranslateTextResponse(api.TranslateTextResponse o) { buildCounterTranslateTextResponse++; if (buildCounterTranslateTextResponse < 3) { - checkUnnamed6632(o.glossaryTranslations!); - checkUnnamed6633(o.translations!); + checkUnnamed6703(o.glossaryTranslations!); + checkUnnamed6704(o.translations!); } buildCounterTranslateTextResponse--; } diff --git a/generated/googleapis/test/vault/v1_test.dart b/generated/googleapis/test/vault/v1_test.dart index 3753fa43c..048c21d58 100644 --- a/generated/googleapis/test/vault/v1_test.dart +++ b/generated/googleapis/test/vault/v1_test.dart @@ -74,12 +74,12 @@ void checkAccountCountError(api.AccountCountError o) { buildCounterAccountCountError--; } -core.List buildUnnamed6235() => [ +core.List buildUnnamed6302() => [ 'foo', 'foo', ]; -void checkUnnamed6235(core.List o) { +void checkUnnamed6302(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -96,7 +96,7 @@ api.AccountInfo buildAccountInfo() { final o = api.AccountInfo(); buildCounterAccountInfo++; if (buildCounterAccountInfo < 3) { - o.emails = buildUnnamed6235(); + o.emails = buildUnnamed6302(); } buildCounterAccountInfo--; return o; @@ -105,7 +105,7 @@ api.AccountInfo buildAccountInfo() { void checkAccountInfo(api.AccountInfo o) { buildCounterAccountInfo++; if (buildCounterAccountInfo < 3) { - checkUnnamed6235(o.emails!); + checkUnnamed6302(o.emails!); } buildCounterAccountInfo--; } @@ -131,12 +131,12 @@ void checkAddHeldAccountResult(api.AddHeldAccountResult o) { buildCounterAddHeldAccountResult--; } -core.List buildUnnamed6236() => [ +core.List buildUnnamed6303() => [ 'foo', 'foo', ]; -void checkUnnamed6236(core.List o) { +void checkUnnamed6303(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -148,12 +148,12 @@ void checkUnnamed6236(core.List o) { ); } -core.List buildUnnamed6237() => [ +core.List buildUnnamed6304() => [ 'foo', 'foo', ]; -void checkUnnamed6237(core.List o) { +void checkUnnamed6304(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -170,8 +170,8 @@ api.AddHeldAccountsRequest buildAddHeldAccountsRequest() { final o = api.AddHeldAccountsRequest(); buildCounterAddHeldAccountsRequest++; if (buildCounterAddHeldAccountsRequest < 3) { - o.accountIds = buildUnnamed6236(); - o.emails = buildUnnamed6237(); + o.accountIds = buildUnnamed6303(); + o.emails = buildUnnamed6304(); } buildCounterAddHeldAccountsRequest--; return o; @@ -180,18 +180,18 @@ api.AddHeldAccountsRequest buildAddHeldAccountsRequest() { void checkAddHeldAccountsRequest(api.AddHeldAccountsRequest o) { buildCounterAddHeldAccountsRequest++; if (buildCounterAddHeldAccountsRequest < 3) { - checkUnnamed6236(o.accountIds!); - checkUnnamed6237(o.emails!); + checkUnnamed6303(o.accountIds!); + checkUnnamed6304(o.emails!); } buildCounterAddHeldAccountsRequest--; } -core.List buildUnnamed6238() => [ +core.List buildUnnamed6305() => [ buildAddHeldAccountResult(), buildAddHeldAccountResult(), ]; -void checkUnnamed6238(core.List o) { +void checkUnnamed6305(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAddHeldAccountResult(o[0]); checkAddHeldAccountResult(o[1]); @@ -202,7 +202,7 @@ api.AddHeldAccountsResponse buildAddHeldAccountsResponse() { final o = api.AddHeldAccountsResponse(); buildCounterAddHeldAccountsResponse++; if (buildCounterAddHeldAccountsResponse < 3) { - o.responses = buildUnnamed6238(); + o.responses = buildUnnamed6305(); } buildCounterAddHeldAccountsResponse--; return o; @@ -211,7 +211,7 @@ api.AddHeldAccountsResponse buildAddHeldAccountsResponse() { void checkAddHeldAccountsResponse(api.AddHeldAccountsResponse o) { buildCounterAddHeldAccountsResponse++; if (buildCounterAddHeldAccountsResponse < 3) { - checkUnnamed6238(o.responses!); + checkUnnamed6305(o.responses!); } buildCounterAddHeldAccountsResponse--; } @@ -325,12 +325,12 @@ void checkCloudStorageFile(api.CloudStorageFile o) { buildCounterCloudStorageFile--; } -core.List buildUnnamed6239() => [ +core.List buildUnnamed6306() => [ buildCloudStorageFile(), buildCloudStorageFile(), ]; -void checkUnnamed6239(core.List o) { +void checkUnnamed6306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCloudStorageFile(o[0]); checkCloudStorageFile(o[1]); @@ -341,7 +341,7 @@ api.CloudStorageSink buildCloudStorageSink() { final o = api.CloudStorageSink(); buildCounterCloudStorageSink++; if (buildCounterCloudStorageSink < 3) { - o.files = buildUnnamed6239(); + o.files = buildUnnamed6306(); } buildCounterCloudStorageSink--; return o; @@ -350,7 +350,7 @@ api.CloudStorageSink buildCloudStorageSink() { void checkCloudStorageSink(api.CloudStorageSink o) { buildCounterCloudStorageSink++; if (buildCounterCloudStorageSink < 3) { - checkUnnamed6239(o.files!); + checkUnnamed6306(o.files!); } buildCounterCloudStorageSink--; } @@ -642,34 +642,34 @@ void checkExportStats(api.ExportStats o) { buildCounterExportStats--; } -core.List buildUnnamed6240() => [ +core.List buildUnnamed6307() => [ buildAccountCountError(), buildAccountCountError(), ]; -void checkUnnamed6240(core.List o) { +void checkUnnamed6307(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountCountError(o[0]); checkAccountCountError(o[1]); } -core.List buildUnnamed6241() => [ +core.List buildUnnamed6308() => [ buildAccountCount(), buildAccountCount(), ]; -void checkUnnamed6241(core.List o) { +void checkUnnamed6308(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountCount(o[0]); checkAccountCount(o[1]); } -core.List buildUnnamed6242() => [ +core.List buildUnnamed6309() => [ 'foo', 'foo', ]; -void checkUnnamed6242(core.List o) { +void checkUnnamed6309(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -686,10 +686,10 @@ api.GroupsCountResult buildGroupsCountResult() { final o = api.GroupsCountResult(); buildCounterGroupsCountResult++; if (buildCounterGroupsCountResult < 3) { - o.accountCountErrors = buildUnnamed6240(); - o.accountCounts = buildUnnamed6241(); + o.accountCountErrors = buildUnnamed6307(); + o.accountCounts = buildUnnamed6308(); o.matchingAccountsCount = 'foo'; - o.nonQueryableAccounts = buildUnnamed6242(); + o.nonQueryableAccounts = buildUnnamed6309(); o.queriedAccountsCount = 'foo'; } buildCounterGroupsCountResult--; @@ -699,13 +699,13 @@ api.GroupsCountResult buildGroupsCountResult() { void checkGroupsCountResult(api.GroupsCountResult o) { buildCounterGroupsCountResult++; if (buildCounterGroupsCountResult < 3) { - checkUnnamed6240(o.accountCountErrors!); - checkUnnamed6241(o.accountCounts!); + checkUnnamed6307(o.accountCountErrors!); + checkUnnamed6308(o.accountCounts!); unittest.expect( o.matchingAccountsCount!, unittest.equals('foo'), ); - checkUnnamed6242(o.nonQueryableAccounts!); + checkUnnamed6309(o.nonQueryableAccounts!); unittest.expect( o.queriedAccountsCount!, unittest.equals('foo'), @@ -758,12 +758,12 @@ void checkHangoutsChatExportOptions(api.HangoutsChatExportOptions o) { buildCounterHangoutsChatExportOptions--; } -core.List buildUnnamed6243() => [ +core.List buildUnnamed6310() => [ 'foo', 'foo', ]; -void checkUnnamed6243(core.List o) { +void checkUnnamed6310(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -780,7 +780,7 @@ api.HangoutsChatInfo buildHangoutsChatInfo() { final o = api.HangoutsChatInfo(); buildCounterHangoutsChatInfo++; if (buildCounterHangoutsChatInfo < 3) { - o.roomId = buildUnnamed6243(); + o.roomId = buildUnnamed6310(); } buildCounterHangoutsChatInfo--; return o; @@ -789,7 +789,7 @@ api.HangoutsChatInfo buildHangoutsChatInfo() { void checkHangoutsChatInfo(api.HangoutsChatInfo o) { buildCounterHangoutsChatInfo++; if (buildCounterHangoutsChatInfo < 3) { - checkUnnamed6243(o.roomId!); + checkUnnamed6310(o.roomId!); } buildCounterHangoutsChatInfo--; } @@ -986,12 +986,12 @@ void checkHeldOrgUnit(api.HeldOrgUnit o) { buildCounterHeldOrgUnit--; } -core.List buildUnnamed6244() => [ +core.List buildUnnamed6311() => [ 'foo', 'foo', ]; -void checkUnnamed6244(core.List o) { +void checkUnnamed6311(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1008,7 +1008,7 @@ api.HeldVoiceQuery buildHeldVoiceQuery() { final o = api.HeldVoiceQuery(); buildCounterHeldVoiceQuery++; if (buildCounterHeldVoiceQuery < 3) { - o.coveredData = buildUnnamed6244(); + o.coveredData = buildUnnamed6311(); } buildCounterHeldVoiceQuery--; return o; @@ -1017,17 +1017,17 @@ api.HeldVoiceQuery buildHeldVoiceQuery() { void checkHeldVoiceQuery(api.HeldVoiceQuery o) { buildCounterHeldVoiceQuery++; if (buildCounterHeldVoiceQuery < 3) { - checkUnnamed6244(o.coveredData!); + checkUnnamed6311(o.coveredData!); } buildCounterHeldVoiceQuery--; } -core.List buildUnnamed6245() => [ +core.List buildUnnamed6312() => [ buildHeldAccount(), buildHeldAccount(), ]; -void checkUnnamed6245(core.List o) { +void checkUnnamed6312(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHeldAccount(o[0]); checkHeldAccount(o[1]); @@ -1038,7 +1038,7 @@ api.Hold buildHold() { final o = api.Hold(); buildCounterHold++; if (buildCounterHold < 3) { - o.accounts = buildUnnamed6245(); + o.accounts = buildUnnamed6312(); o.corpus = 'foo'; o.holdId = 'foo'; o.name = 'foo'; @@ -1053,7 +1053,7 @@ api.Hold buildHold() { void checkHold(api.Hold o) { buildCounterHold++; if (buildCounterHold < 3) { - checkUnnamed6245(o.accounts!); + checkUnnamed6312(o.accounts!); unittest.expect( o.corpus!, unittest.equals('foo'), @@ -1076,12 +1076,12 @@ void checkHold(api.Hold o) { buildCounterHold--; } -core.List buildUnnamed6246() => [ +core.List buildUnnamed6313() => [ buildExport(), buildExport(), ]; -void checkUnnamed6246(core.List o) { +void checkUnnamed6313(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExport(o[0]); checkExport(o[1]); @@ -1092,7 +1092,7 @@ api.ListExportsResponse buildListExportsResponse() { final o = api.ListExportsResponse(); buildCounterListExportsResponse++; if (buildCounterListExportsResponse < 3) { - o.exports = buildUnnamed6246(); + o.exports = buildUnnamed6313(); o.nextPageToken = 'foo'; } buildCounterListExportsResponse--; @@ -1102,7 +1102,7 @@ api.ListExportsResponse buildListExportsResponse() { void checkListExportsResponse(api.ListExportsResponse o) { buildCounterListExportsResponse++; if (buildCounterListExportsResponse < 3) { - checkUnnamed6246(o.exports!); + checkUnnamed6313(o.exports!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1111,12 +1111,12 @@ void checkListExportsResponse(api.ListExportsResponse o) { buildCounterListExportsResponse--; } -core.List buildUnnamed6247() => [ +core.List buildUnnamed6314() => [ buildHeldAccount(), buildHeldAccount(), ]; -void checkUnnamed6247(core.List o) { +void checkUnnamed6314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHeldAccount(o[0]); checkHeldAccount(o[1]); @@ -1127,7 +1127,7 @@ api.ListHeldAccountsResponse buildListHeldAccountsResponse() { final o = api.ListHeldAccountsResponse(); buildCounterListHeldAccountsResponse++; if (buildCounterListHeldAccountsResponse < 3) { - o.accounts = buildUnnamed6247(); + o.accounts = buildUnnamed6314(); } buildCounterListHeldAccountsResponse--; return o; @@ -1136,17 +1136,17 @@ api.ListHeldAccountsResponse buildListHeldAccountsResponse() { void checkListHeldAccountsResponse(api.ListHeldAccountsResponse o) { buildCounterListHeldAccountsResponse++; if (buildCounterListHeldAccountsResponse < 3) { - checkUnnamed6247(o.accounts!); + checkUnnamed6314(o.accounts!); } buildCounterListHeldAccountsResponse--; } -core.List buildUnnamed6248() => [ +core.List buildUnnamed6315() => [ buildHold(), buildHold(), ]; -void checkUnnamed6248(core.List o) { +void checkUnnamed6315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHold(o[0]); checkHold(o[1]); @@ -1157,7 +1157,7 @@ api.ListHoldsResponse buildListHoldsResponse() { final o = api.ListHoldsResponse(); buildCounterListHoldsResponse++; if (buildCounterListHoldsResponse < 3) { - o.holds = buildUnnamed6248(); + o.holds = buildUnnamed6315(); o.nextPageToken = 'foo'; } buildCounterListHoldsResponse--; @@ -1167,7 +1167,7 @@ api.ListHoldsResponse buildListHoldsResponse() { void checkListHoldsResponse(api.ListHoldsResponse o) { buildCounterListHoldsResponse++; if (buildCounterListHoldsResponse < 3) { - checkUnnamed6248(o.holds!); + checkUnnamed6315(o.holds!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1176,12 +1176,12 @@ void checkListHoldsResponse(api.ListHoldsResponse o) { buildCounterListHoldsResponse--; } -core.List buildUnnamed6249() => [ +core.List buildUnnamed6316() => [ buildMatter(), buildMatter(), ]; -void checkUnnamed6249(core.List o) { +void checkUnnamed6316(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatter(o[0]); checkMatter(o[1]); @@ -1192,7 +1192,7 @@ api.ListMattersResponse buildListMattersResponse() { final o = api.ListMattersResponse(); buildCounterListMattersResponse++; if (buildCounterListMattersResponse < 3) { - o.matters = buildUnnamed6249(); + o.matters = buildUnnamed6316(); o.nextPageToken = 'foo'; } buildCounterListMattersResponse--; @@ -1202,7 +1202,7 @@ api.ListMattersResponse buildListMattersResponse() { void checkListMattersResponse(api.ListMattersResponse o) { buildCounterListMattersResponse++; if (buildCounterListMattersResponse < 3) { - checkUnnamed6249(o.matters!); + checkUnnamed6316(o.matters!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1211,12 +1211,12 @@ void checkListMattersResponse(api.ListMattersResponse o) { buildCounterListMattersResponse--; } -core.List buildUnnamed6250() => [ +core.List buildUnnamed6317() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed6250(core.List o) { +void checkUnnamed6317(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1228,7 +1228,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed6250(); + o.operations = buildUnnamed6317(); } buildCounterListOperationsResponse--; return o; @@ -1241,17 +1241,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6250(o.operations!); + checkUnnamed6317(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed6251() => [ +core.List buildUnnamed6318() => [ buildSavedQuery(), buildSavedQuery(), ]; -void checkUnnamed6251(core.List o) { +void checkUnnamed6318(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSavedQuery(o[0]); checkSavedQuery(o[1]); @@ -1263,7 +1263,7 @@ api.ListSavedQueriesResponse buildListSavedQueriesResponse() { buildCounterListSavedQueriesResponse++; if (buildCounterListSavedQueriesResponse < 3) { o.nextPageToken = 'foo'; - o.savedQueries = buildUnnamed6251(); + o.savedQueries = buildUnnamed6318(); } buildCounterListSavedQueriesResponse--; return o; @@ -1276,39 +1276,39 @@ void checkListSavedQueriesResponse(api.ListSavedQueriesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6251(o.savedQueries!); + checkUnnamed6318(o.savedQueries!); } buildCounterListSavedQueriesResponse--; } -core.List buildUnnamed6252() => [ +core.List buildUnnamed6319() => [ buildAccountCountError(), buildAccountCountError(), ]; -void checkUnnamed6252(core.List o) { +void checkUnnamed6319(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountCountError(o[0]); checkAccountCountError(o[1]); } -core.List buildUnnamed6253() => [ +core.List buildUnnamed6320() => [ buildAccountCount(), buildAccountCount(), ]; -void checkUnnamed6253(core.List o) { +void checkUnnamed6320(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountCount(o[0]); checkAccountCount(o[1]); } -core.List buildUnnamed6254() => [ +core.List buildUnnamed6321() => [ 'foo', 'foo', ]; -void checkUnnamed6254(core.List o) { +void checkUnnamed6321(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1325,10 +1325,10 @@ api.MailCountResult buildMailCountResult() { final o = api.MailCountResult(); buildCounterMailCountResult++; if (buildCounterMailCountResult < 3) { - o.accountCountErrors = buildUnnamed6252(); - o.accountCounts = buildUnnamed6253(); + o.accountCountErrors = buildUnnamed6319(); + o.accountCounts = buildUnnamed6320(); o.matchingAccountsCount = 'foo'; - o.nonQueryableAccounts = buildUnnamed6254(); + o.nonQueryableAccounts = buildUnnamed6321(); o.queriedAccountsCount = 'foo'; } buildCounterMailCountResult--; @@ -1338,13 +1338,13 @@ api.MailCountResult buildMailCountResult() { void checkMailCountResult(api.MailCountResult o) { buildCounterMailCountResult++; if (buildCounterMailCountResult < 3) { - checkUnnamed6252(o.accountCountErrors!); - checkUnnamed6253(o.accountCounts!); + checkUnnamed6319(o.accountCountErrors!); + checkUnnamed6320(o.accountCounts!); unittest.expect( o.matchingAccountsCount!, unittest.equals('foo'), ); - checkUnnamed6254(o.nonQueryableAccounts!); + checkUnnamed6321(o.nonQueryableAccounts!); unittest.expect( o.queriedAccountsCount!, unittest.equals('foo'), @@ -1396,12 +1396,12 @@ void checkMailOptions(api.MailOptions o) { buildCounterMailOptions--; } -core.List buildUnnamed6255() => [ +core.List buildUnnamed6322() => [ buildMatterPermission(), buildMatterPermission(), ]; -void checkUnnamed6255(core.List o) { +void checkUnnamed6322(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatterPermission(o[0]); checkMatterPermission(o[1]); @@ -1414,7 +1414,7 @@ api.Matter buildMatter() { if (buildCounterMatter < 3) { o.description = 'foo'; o.matterId = 'foo'; - o.matterPermissions = buildUnnamed6255(); + o.matterPermissions = buildUnnamed6322(); o.name = 'foo'; o.state = 'foo'; } @@ -1433,7 +1433,7 @@ void checkMatter(api.Matter o) { o.matterId!, unittest.equals('foo'), ); - checkUnnamed6255(o.matterPermissions!); + checkUnnamed6322(o.matterPermissions!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1473,7 +1473,7 @@ void checkMatterPermission(api.MatterPermission o) { buildCounterMatterPermission--; } -core.Map buildUnnamed6256() => { +core.Map buildUnnamed6323() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1486,7 +1486,7 @@ core.Map buildUnnamed6256() => { }, }; -void checkUnnamed6256(core.Map o) { +void checkUnnamed6323(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1518,7 +1518,7 @@ void checkUnnamed6256(core.Map o) { ); } -core.Map buildUnnamed6257() => { +core.Map buildUnnamed6324() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1531,7 +1531,7 @@ core.Map buildUnnamed6257() => { }, }; -void checkUnnamed6257(core.Map o) { +void checkUnnamed6324(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1570,9 +1570,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed6256(); + o.metadata = buildUnnamed6323(); o.name = 'foo'; - o.response = buildUnnamed6257(); + o.response = buildUnnamed6324(); } buildCounterOperation--; return o; @@ -1583,12 +1583,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed6256(o.metadata!); + checkUnnamed6323(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6257(o.response!); + checkUnnamed6324(o.response!); } buildCounterOperation--; } @@ -1690,12 +1690,12 @@ void checkQuery(api.Query o) { buildCounterQuery--; } -core.List buildUnnamed6258() => [ +core.List buildUnnamed6325() => [ 'foo', 'foo', ]; -void checkUnnamed6258(core.List o) { +void checkUnnamed6325(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1712,7 +1712,7 @@ api.RemoveHeldAccountsRequest buildRemoveHeldAccountsRequest() { final o = api.RemoveHeldAccountsRequest(); buildCounterRemoveHeldAccountsRequest++; if (buildCounterRemoveHeldAccountsRequest < 3) { - o.accountIds = buildUnnamed6258(); + o.accountIds = buildUnnamed6325(); } buildCounterRemoveHeldAccountsRequest--; return o; @@ -1721,17 +1721,17 @@ api.RemoveHeldAccountsRequest buildRemoveHeldAccountsRequest() { void checkRemoveHeldAccountsRequest(api.RemoveHeldAccountsRequest o) { buildCounterRemoveHeldAccountsRequest++; if (buildCounterRemoveHeldAccountsRequest < 3) { - checkUnnamed6258(o.accountIds!); + checkUnnamed6325(o.accountIds!); } buildCounterRemoveHeldAccountsRequest--; } -core.List buildUnnamed6259() => [ +core.List buildUnnamed6326() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed6259(core.List o) { +void checkUnnamed6326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); @@ -1742,7 +1742,7 @@ api.RemoveHeldAccountsResponse buildRemoveHeldAccountsResponse() { final o = api.RemoveHeldAccountsResponse(); buildCounterRemoveHeldAccountsResponse++; if (buildCounterRemoveHeldAccountsResponse < 3) { - o.statuses = buildUnnamed6259(); + o.statuses = buildUnnamed6326(); } buildCounterRemoveHeldAccountsResponse--; return o; @@ -1751,7 +1751,7 @@ api.RemoveHeldAccountsResponse buildRemoveHeldAccountsResponse() { void checkRemoveHeldAccountsResponse(api.RemoveHeldAccountsResponse o) { buildCounterRemoveHeldAccountsResponse++; if (buildCounterRemoveHeldAccountsResponse < 3) { - checkUnnamed6259(o.statuses!); + checkUnnamed6326(o.statuses!); } buildCounterRemoveHeldAccountsResponse--; } @@ -1851,12 +1851,12 @@ void checkSavedQuery(api.SavedQuery o) { buildCounterSavedQuery--; } -core.List buildUnnamed6260() => [ +core.List buildUnnamed6327() => [ 'foo', 'foo', ]; -void checkUnnamed6260(core.List o) { +void checkUnnamed6327(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1873,7 +1873,7 @@ api.SharedDriveInfo buildSharedDriveInfo() { final o = api.SharedDriveInfo(); buildCounterSharedDriveInfo++; if (buildCounterSharedDriveInfo < 3) { - o.sharedDriveIds = buildUnnamed6260(); + o.sharedDriveIds = buildUnnamed6327(); } buildCounterSharedDriveInfo--; return o; @@ -1882,12 +1882,12 @@ api.SharedDriveInfo buildSharedDriveInfo() { void checkSharedDriveInfo(api.SharedDriveInfo o) { buildCounterSharedDriveInfo++; if (buildCounterSharedDriveInfo < 3) { - checkUnnamed6260(o.sharedDriveIds!); + checkUnnamed6327(o.sharedDriveIds!); } buildCounterSharedDriveInfo--; } -core.Map buildUnnamed6261() => { +core.Map buildUnnamed6328() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1900,7 +1900,7 @@ core.Map buildUnnamed6261() => { }, }; -void checkUnnamed6261(core.Map o) { +void checkUnnamed6328(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1932,15 +1932,15 @@ void checkUnnamed6261(core.Map o) { ); } -core.List> buildUnnamed6262() => [ - buildUnnamed6261(), - buildUnnamed6261(), +core.List> buildUnnamed6329() => [ + buildUnnamed6328(), + buildUnnamed6328(), ]; -void checkUnnamed6262(core.List> o) { +void checkUnnamed6329(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6261(o[0]); - checkUnnamed6261(o[1]); + checkUnnamed6328(o[0]); + checkUnnamed6328(o[1]); } core.int buildCounterStatus = 0; @@ -1949,7 +1949,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed6262(); + o.details = buildUnnamed6329(); o.message = 'foo'; } buildCounterStatus--; @@ -1963,7 +1963,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed6262(o.details!); + checkUnnamed6329(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1972,12 +1972,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed6263() => [ +core.List buildUnnamed6330() => [ 'foo', 'foo', ]; -void checkUnnamed6263(core.List o) { +void checkUnnamed6330(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1994,7 +1994,7 @@ api.TeamDriveInfo buildTeamDriveInfo() { final o = api.TeamDriveInfo(); buildCounterTeamDriveInfo++; if (buildCounterTeamDriveInfo < 3) { - o.teamDriveIds = buildUnnamed6263(); + o.teamDriveIds = buildUnnamed6330(); } buildCounterTeamDriveInfo--; return o; @@ -2003,7 +2003,7 @@ api.TeamDriveInfo buildTeamDriveInfo() { void checkTeamDriveInfo(api.TeamDriveInfo o) { buildCounterTeamDriveInfo++; if (buildCounterTeamDriveInfo < 3) { - checkUnnamed6263(o.teamDriveIds!); + checkUnnamed6330(o.teamDriveIds!); } buildCounterTeamDriveInfo--; } @@ -2072,12 +2072,12 @@ void checkVoiceExportOptions(api.VoiceExportOptions o) { buildCounterVoiceExportOptions--; } -core.List buildUnnamed6264() => [ +core.List buildUnnamed6331() => [ 'foo', 'foo', ]; -void checkUnnamed6264(core.List o) { +void checkUnnamed6331(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2094,7 +2094,7 @@ api.VoiceOptions buildVoiceOptions() { final o = api.VoiceOptions(); buildCounterVoiceOptions++; if (buildCounterVoiceOptions < 3) { - o.coveredData = buildUnnamed6264(); + o.coveredData = buildUnnamed6331(); } buildCounterVoiceOptions--; return o; @@ -2103,7 +2103,7 @@ api.VoiceOptions buildVoiceOptions() { void checkVoiceOptions(api.VoiceOptions o) { buildCounterVoiceOptions++; if (buildCounterVoiceOptions < 3) { - checkUnnamed6264(o.coveredData!); + checkUnnamed6331(o.coveredData!); } buildCounterVoiceOptions--; } diff --git a/generated/googleapis/test/vectortile/v1_test.dart b/generated/googleapis/test/vectortile/v1_test.dart index de9b94836..16b7f4574 100644 --- a/generated/googleapis/test/vectortile/v1_test.dart +++ b/generated/googleapis/test/vectortile/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed1657() => [ +core.List buildUnnamed1687() => [ 42, 42, ]; -void checkUnnamed1657(core.List o) { +void checkUnnamed1687(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -43,12 +43,12 @@ void checkUnnamed1657(core.List o) { ); } -core.List buildUnnamed1658() => [ +core.List buildUnnamed1688() => [ 42, 42, ]; -void checkUnnamed1658(core.List o) { +void checkUnnamed1688(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -60,12 +60,12 @@ void checkUnnamed1658(core.List o) { ); } -core.List buildUnnamed1659() => [ +core.List buildUnnamed1689() => [ 42, 42, ]; -void checkUnnamed1659(core.List o) { +void checkUnnamed1689(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -84,9 +84,9 @@ api.Area buildArea() { if (buildCounterArea < 3) { o.basemapZOrder = buildBasemapZOrder(); o.hasExternalEdges = true; - o.internalEdges = buildUnnamed1657(); - o.loopBreaks = buildUnnamed1658(); - o.triangleIndices = buildUnnamed1659(); + o.internalEdges = buildUnnamed1687(); + o.loopBreaks = buildUnnamed1688(); + o.triangleIndices = buildUnnamed1689(); o.type = 'foo'; o.vertexOffsets = buildVertex2DList(); o.zOrder = 42; @@ -100,9 +100,9 @@ void checkArea(api.Area o) { if (buildCounterArea < 3) { checkBasemapZOrder(o.basemapZOrder!); unittest.expect(o.hasExternalEdges!, unittest.isTrue); - checkUnnamed1657(o.internalEdges!); - checkUnnamed1658(o.loopBreaks!); - checkUnnamed1659(o.triangleIndices!); + checkUnnamed1687(o.internalEdges!); + checkUnnamed1688(o.loopBreaks!); + checkUnnamed1689(o.triangleIndices!); unittest.expect( o.type!, unittest.equals('foo'), @@ -177,12 +177,12 @@ void checkExtrudedArea(api.ExtrudedArea o) { buildCounterExtrudedArea--; } -core.List buildUnnamed1660() => [ +core.List buildUnnamed1690() => [ buildRelation(), buildRelation(), ]; -void checkUnnamed1660(core.List o) { +void checkUnnamed1690(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelation(o[0]); checkRelation(o[1]); @@ -196,7 +196,7 @@ api.Feature buildFeature() { o.displayName = 'foo'; o.geometry = buildGeometry(); o.placeId = 'foo'; - o.relations = buildUnnamed1660(); + o.relations = buildUnnamed1690(); o.segmentInfo = buildSegmentInfo(); o.type = 'foo'; } @@ -216,7 +216,7 @@ void checkFeature(api.Feature o) { o.placeId!, unittest.equals('foo'), ); - checkUnnamed1660(o.relations!); + checkUnnamed1690(o.relations!); checkSegmentInfo(o.segmentInfo!); unittest.expect( o.type!, @@ -226,23 +226,23 @@ void checkFeature(api.Feature o) { buildCounterFeature--; } -core.List buildUnnamed1661() => [ +core.List buildUnnamed1691() => [ buildFeature(), buildFeature(), ]; -void checkUnnamed1661(core.List o) { +void checkUnnamed1691(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); } -core.List buildUnnamed1662() => [ +core.List buildUnnamed1692() => [ buildProviderInfo(), buildProviderInfo(), ]; -void checkUnnamed1662(core.List o) { +void checkUnnamed1692(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProviderInfo(o[0]); checkProviderInfo(o[1]); @@ -254,9 +254,9 @@ api.FeatureTile buildFeatureTile() { buildCounterFeatureTile++; if (buildCounterFeatureTile < 3) { o.coordinates = buildTileCoordinates(); - o.features = buildUnnamed1661(); + o.features = buildUnnamed1691(); o.name = 'foo'; - o.providers = buildUnnamed1662(); + o.providers = buildUnnamed1692(); o.status = 'foo'; o.versionId = 'foo'; } @@ -268,12 +268,12 @@ void checkFeatureTile(api.FeatureTile o) { buildCounterFeatureTile++; if (buildCounterFeatureTile < 3) { checkTileCoordinates(o.coordinates!); - checkUnnamed1661(o.features!); + checkUnnamed1691(o.features!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1662(o.providers!); + checkUnnamed1692(o.providers!); unittest.expect( o.status!, unittest.equals('foo'), @@ -286,12 +286,12 @@ void checkFeatureTile(api.FeatureTile o) { buildCounterFeatureTile--; } -core.List buildUnnamed1663() => [ +core.List buildUnnamed1693() => [ buildRow(), buildRow(), ]; -void checkUnnamed1663(core.List o) { +void checkUnnamed1693(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -303,7 +303,7 @@ api.FirstDerivativeElevationGrid buildFirstDerivativeElevationGrid() { buildCounterFirstDerivativeElevationGrid++; if (buildCounterFirstDerivativeElevationGrid < 3) { o.altitudeMultiplier = 42.0; - o.rows = buildUnnamed1663(); + o.rows = buildUnnamed1693(); } buildCounterFirstDerivativeElevationGrid--; return o; @@ -316,50 +316,50 @@ void checkFirstDerivativeElevationGrid(api.FirstDerivativeElevationGrid o) { o.altitudeMultiplier!, unittest.equals(42.0), ); - checkUnnamed1663(o.rows!); + checkUnnamed1693(o.rows!); } buildCounterFirstDerivativeElevationGrid--; } -core.List buildUnnamed1664() => [ +core.List buildUnnamed1694() => [ buildArea(), buildArea(), ]; -void checkUnnamed1664(core.List o) { +void checkUnnamed1694(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArea(o[0]); checkArea(o[1]); } -core.List buildUnnamed1665() => [ +core.List buildUnnamed1695() => [ buildExtrudedArea(), buildExtrudedArea(), ]; -void checkUnnamed1665(core.List o) { +void checkUnnamed1695(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtrudedArea(o[0]); checkExtrudedArea(o[1]); } -core.List buildUnnamed1666() => [ +core.List buildUnnamed1696() => [ buildLine(), buildLine(), ]; -void checkUnnamed1666(core.List o) { +void checkUnnamed1696(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLine(o[0]); checkLine(o[1]); } -core.List buildUnnamed1667() => [ +core.List buildUnnamed1697() => [ buildModeledVolume(), buildModeledVolume(), ]; -void checkUnnamed1667(core.List o) { +void checkUnnamed1697(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkModeledVolume(o[0]); checkModeledVolume(o[1]); @@ -370,10 +370,10 @@ api.Geometry buildGeometry() { final o = api.Geometry(); buildCounterGeometry++; if (buildCounterGeometry < 3) { - o.areas = buildUnnamed1664(); - o.extrudedAreas = buildUnnamed1665(); - o.lines = buildUnnamed1666(); - o.modeledVolumes = buildUnnamed1667(); + o.areas = buildUnnamed1694(); + o.extrudedAreas = buildUnnamed1695(); + o.lines = buildUnnamed1696(); + o.modeledVolumes = buildUnnamed1697(); } buildCounterGeometry--; return o; @@ -382,10 +382,10 @@ api.Geometry buildGeometry() { void checkGeometry(api.Geometry o) { buildCounterGeometry++; if (buildCounterGeometry < 3) { - checkUnnamed1664(o.areas!); - checkUnnamed1665(o.extrudedAreas!); - checkUnnamed1666(o.lines!); - checkUnnamed1667(o.modeledVolumes!); + checkUnnamed1694(o.areas!); + checkUnnamed1695(o.extrudedAreas!); + checkUnnamed1696(o.lines!); + checkUnnamed1697(o.modeledVolumes!); } buildCounterGeometry--; } @@ -416,12 +416,12 @@ void checkLine(api.Line o) { buildCounterLine--; } -core.List buildUnnamed1668() => [ +core.List buildUnnamed1698() => [ buildTriangleStrip(), buildTriangleStrip(), ]; -void checkUnnamed1668(core.List o) { +void checkUnnamed1698(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTriangleStrip(o[0]); checkTriangleStrip(o[1]); @@ -432,7 +432,7 @@ api.ModeledVolume buildModeledVolume() { final o = api.ModeledVolume(); buildCounterModeledVolume++; if (buildCounterModeledVolume < 3) { - o.strips = buildUnnamed1668(); + o.strips = buildUnnamed1698(); o.vertexOffsets = buildVertex3DList(); } buildCounterModeledVolume--; @@ -442,7 +442,7 @@ api.ModeledVolume buildModeledVolume() { void checkModeledVolume(api.ModeledVolume o) { buildCounterModeledVolume++; if (buildCounterModeledVolume < 3) { - checkUnnamed1668(o.strips!); + checkUnnamed1698(o.strips!); checkVertex3DList(o.vertexOffsets!); } buildCounterModeledVolume--; @@ -516,12 +516,12 @@ void checkRoadInfo(api.RoadInfo o) { buildCounterRoadInfo--; } -core.List buildUnnamed1669() => [ +core.List buildUnnamed1699() => [ 42, 42, ]; -void checkUnnamed1669(core.List o) { +void checkUnnamed1699(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -538,7 +538,7 @@ api.Row buildRow() { final o = api.Row(); buildCounterRow++; if (buildCounterRow < 3) { - o.altitudeDiffs = buildUnnamed1669(); + o.altitudeDiffs = buildUnnamed1699(); } buildCounterRow--; return o; @@ -547,7 +547,7 @@ api.Row buildRow() { void checkRow(api.Row o) { buildCounterRow++; if (buildCounterRow < 3) { - checkUnnamed1669(o.altitudeDiffs!); + checkUnnamed1699(o.altitudeDiffs!); } buildCounterRow--; } @@ -668,12 +668,12 @@ void checkTileCoordinates(api.TileCoordinates o) { buildCounterTileCoordinates--; } -core.List buildUnnamed1670() => [ +core.List buildUnnamed1700() => [ 42, 42, ]; -void checkUnnamed1670(core.List o) { +void checkUnnamed1700(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -690,7 +690,7 @@ api.TriangleStrip buildTriangleStrip() { final o = api.TriangleStrip(); buildCounterTriangleStrip++; if (buildCounterTriangleStrip < 3) { - o.vertexIndices = buildUnnamed1670(); + o.vertexIndices = buildUnnamed1700(); } buildCounterTriangleStrip--; return o; @@ -699,17 +699,17 @@ api.TriangleStrip buildTriangleStrip() { void checkTriangleStrip(api.TriangleStrip o) { buildCounterTriangleStrip++; if (buildCounterTriangleStrip < 3) { - checkUnnamed1670(o.vertexIndices!); + checkUnnamed1700(o.vertexIndices!); } buildCounterTriangleStrip--; } -core.List buildUnnamed1671() => [ +core.List buildUnnamed1701() => [ 42, 42, ]; -void checkUnnamed1671(core.List o) { +void checkUnnamed1701(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -721,12 +721,12 @@ void checkUnnamed1671(core.List o) { ); } -core.List buildUnnamed1672() => [ +core.List buildUnnamed1702() => [ 42, 42, ]; -void checkUnnamed1672(core.List o) { +void checkUnnamed1702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -743,8 +743,8 @@ api.Vertex2DList buildVertex2DList() { final o = api.Vertex2DList(); buildCounterVertex2DList++; if (buildCounterVertex2DList < 3) { - o.xOffsets = buildUnnamed1671(); - o.yOffsets = buildUnnamed1672(); + o.xOffsets = buildUnnamed1701(); + o.yOffsets = buildUnnamed1702(); } buildCounterVertex2DList--; return o; @@ -753,18 +753,18 @@ api.Vertex2DList buildVertex2DList() { void checkVertex2DList(api.Vertex2DList o) { buildCounterVertex2DList++; if (buildCounterVertex2DList < 3) { - checkUnnamed1671(o.xOffsets!); - checkUnnamed1672(o.yOffsets!); + checkUnnamed1701(o.xOffsets!); + checkUnnamed1702(o.yOffsets!); } buildCounterVertex2DList--; } -core.List buildUnnamed1673() => [ +core.List buildUnnamed1703() => [ 42, 42, ]; -void checkUnnamed1673(core.List o) { +void checkUnnamed1703(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -776,12 +776,12 @@ void checkUnnamed1673(core.List o) { ); } -core.List buildUnnamed1674() => [ +core.List buildUnnamed1704() => [ 42, 42, ]; -void checkUnnamed1674(core.List o) { +void checkUnnamed1704(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -793,12 +793,12 @@ void checkUnnamed1674(core.List o) { ); } -core.List buildUnnamed1675() => [ +core.List buildUnnamed1705() => [ 42, 42, ]; -void checkUnnamed1675(core.List o) { +void checkUnnamed1705(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -815,9 +815,9 @@ api.Vertex3DList buildVertex3DList() { final o = api.Vertex3DList(); buildCounterVertex3DList++; if (buildCounterVertex3DList < 3) { - o.xOffsets = buildUnnamed1673(); - o.yOffsets = buildUnnamed1674(); - o.zOffsets = buildUnnamed1675(); + o.xOffsets = buildUnnamed1703(); + o.yOffsets = buildUnnamed1704(); + o.zOffsets = buildUnnamed1705(); } buildCounterVertex3DList--; return o; @@ -826,19 +826,19 @@ api.Vertex3DList buildVertex3DList() { void checkVertex3DList(api.Vertex3DList o) { buildCounterVertex3DList++; if (buildCounterVertex3DList < 3) { - checkUnnamed1673(o.xOffsets!); - checkUnnamed1674(o.yOffsets!); - checkUnnamed1675(o.zOffsets!); + checkUnnamed1703(o.xOffsets!); + checkUnnamed1704(o.yOffsets!); + checkUnnamed1705(o.zOffsets!); } buildCounterVertex3DList--; } -core.List buildUnnamed1676() => [ +core.List buildUnnamed1706() => [ 'foo', 'foo', ]; -void checkUnnamed1676(core.List o) { +void checkUnnamed1706(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1222,7 +1222,7 @@ void main() { final arg_clientInfo_userId = 'foo'; final arg_maxElevationResolutionCells = 42; final arg_minElevationResolutionCells = 42; - final arg_terrainFormats = buildUnnamed1676(); + final arg_terrainFormats = buildUnnamed1706(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis/test/videointelligence/v1_test.dart b/generated/googleapis/test/videointelligence/v1_test.dart index 8338185ac..136ccaf80 100644 --- a/generated/googleapis/test/videointelligence/v1_test.dart +++ b/generated/googleapis/test/videointelligence/v1_test.dart @@ -27,12 +27,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; core.List - buildUnnamed358() => [ + buildUnnamed360() => [ buildGoogleCloudVideointelligenceV1VideoAnnotationProgress(), buildGoogleCloudVideointelligenceV1VideoAnnotationProgress(), ]; -void checkUnnamed358( +void checkUnnamed360( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1VideoAnnotationProgress(o[0]); @@ -45,7 +45,7 @@ api.GoogleCloudVideointelligenceV1AnnotateVideoProgress final o = api.GoogleCloudVideointelligenceV1AnnotateVideoProgress(); buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress < 3) { - o.annotationProgress = buildUnnamed358(); + o.annotationProgress = buildUnnamed360(); } buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress--; return o; @@ -55,17 +55,17 @@ void checkGoogleCloudVideointelligenceV1AnnotateVideoProgress( api.GoogleCloudVideointelligenceV1AnnotateVideoProgress o) { buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress < 3) { - checkUnnamed358(o.annotationProgress!); + checkUnnamed360(o.annotationProgress!); } buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress--; } -core.List buildUnnamed359() => [ +core.List buildUnnamed361() => [ 'foo', 'foo', ]; -void checkUnnamed359(core.List o) { +void checkUnnamed361(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.GoogleCloudVideointelligenceV1AnnotateVideoRequest final o = api.GoogleCloudVideointelligenceV1AnnotateVideoRequest(); buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest++; if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest < 3) { - o.features = buildUnnamed359(); + o.features = buildUnnamed361(); o.inputContent = 'foo'; o.inputUri = 'foo'; o.locationId = 'foo'; @@ -98,7 +98,7 @@ void checkGoogleCloudVideointelligenceV1AnnotateVideoRequest( api.GoogleCloudVideointelligenceV1AnnotateVideoRequest o) { buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest++; if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest < 3) { - checkUnnamed359(o.features!); + checkUnnamed361(o.features!); unittest.expect( o.inputContent!, unittest.equals('foo'), @@ -121,12 +121,12 @@ void checkGoogleCloudVideointelligenceV1AnnotateVideoRequest( } core.List - buildUnnamed360() => [ + buildUnnamed362() => [ buildGoogleCloudVideointelligenceV1VideoAnnotationResults(), buildGoogleCloudVideointelligenceV1VideoAnnotationResults(), ]; -void checkUnnamed360( +void checkUnnamed362( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1VideoAnnotationResults(o[0]); @@ -139,7 +139,7 @@ api.GoogleCloudVideointelligenceV1AnnotateVideoResponse final o = api.GoogleCloudVideointelligenceV1AnnotateVideoResponse(); buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse < 3) { - o.annotationResults = buildUnnamed360(); + o.annotationResults = buildUnnamed362(); } buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse--; return o; @@ -149,7 +149,7 @@ void checkGoogleCloudVideointelligenceV1AnnotateVideoResponse( api.GoogleCloudVideointelligenceV1AnnotateVideoResponse o) { buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse < 3) { - checkUnnamed360(o.annotationResults!); + checkUnnamed362(o.annotationResults!); } buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse--; } @@ -254,12 +254,12 @@ void checkGoogleCloudVideointelligenceV1Entity( } core.List - buildUnnamed361() => [ + buildUnnamed363() => [ buildGoogleCloudVideointelligenceV1ExplicitContentFrame(), buildGoogleCloudVideointelligenceV1ExplicitContentFrame(), ]; -void checkUnnamed361( +void checkUnnamed363( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1ExplicitContentFrame(o[0]); @@ -273,7 +273,7 @@ api.GoogleCloudVideointelligenceV1ExplicitContentAnnotation final o = api.GoogleCloudVideointelligenceV1ExplicitContentAnnotation(); buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation < 3) { - o.frames = buildUnnamed361(); + o.frames = buildUnnamed363(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation--; @@ -284,7 +284,7 @@ void checkGoogleCloudVideointelligenceV1ExplicitContentAnnotation( api.GoogleCloudVideointelligenceV1ExplicitContentAnnotation o) { buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation < 3) { - checkUnnamed361(o.frames!); + checkUnnamed363(o.frames!); unittest.expect( o.version!, unittest.equals('foo'), @@ -350,23 +350,23 @@ void checkGoogleCloudVideointelligenceV1ExplicitContentFrame( buildCounterGoogleCloudVideointelligenceV1ExplicitContentFrame--; } -core.List buildUnnamed362() => [ +core.List buildUnnamed364() => [ buildGoogleCloudVideointelligenceV1FaceFrame(), buildGoogleCloudVideointelligenceV1FaceFrame(), ]; -void checkUnnamed362(core.List o) { +void checkUnnamed364(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1FaceFrame(o[0]); checkGoogleCloudVideointelligenceV1FaceFrame(o[1]); } -core.List buildUnnamed363() => [ +core.List buildUnnamed365() => [ buildGoogleCloudVideointelligenceV1FaceSegment(), buildGoogleCloudVideointelligenceV1FaceSegment(), ]; -void checkUnnamed363( +void checkUnnamed365( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1FaceSegment(o[0]); @@ -379,8 +379,8 @@ api.GoogleCloudVideointelligenceV1FaceAnnotation final o = api.GoogleCloudVideointelligenceV1FaceAnnotation(); buildCounterGoogleCloudVideointelligenceV1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1FaceAnnotation < 3) { - o.frames = buildUnnamed362(); - o.segments = buildUnnamed363(); + o.frames = buildUnnamed364(); + o.segments = buildUnnamed365(); o.thumbnail = 'foo'; } buildCounterGoogleCloudVideointelligenceV1FaceAnnotation--; @@ -391,8 +391,8 @@ void checkGoogleCloudVideointelligenceV1FaceAnnotation( api.GoogleCloudVideointelligenceV1FaceAnnotation o) { buildCounterGoogleCloudVideointelligenceV1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1FaceAnnotation < 3) { - checkUnnamed362(o.frames!); - checkUnnamed363(o.segments!); + checkUnnamed364(o.frames!); + checkUnnamed365(o.segments!); unittest.expect( o.thumbnail!, unittest.equals('foo'), @@ -401,12 +401,12 @@ void checkGoogleCloudVideointelligenceV1FaceAnnotation( buildCounterGoogleCloudVideointelligenceV1FaceAnnotation--; } -core.List buildUnnamed364() => [ +core.List buildUnnamed366() => [ buildGoogleCloudVideointelligenceV1Track(), buildGoogleCloudVideointelligenceV1Track(), ]; -void checkUnnamed364(core.List o) { +void checkUnnamed366(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1Track(o[0]); checkGoogleCloudVideointelligenceV1Track(o[1]); @@ -419,7 +419,7 @@ api.GoogleCloudVideointelligenceV1FaceDetectionAnnotation buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation < 3) { o.thumbnail = 'foo'; - o.tracks = buildUnnamed364(); + o.tracks = buildUnnamed366(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation--; @@ -434,7 +434,7 @@ void checkGoogleCloudVideointelligenceV1FaceDetectionAnnotation( o.thumbnail!, unittest.equals('foo'), ); - checkUnnamed364(o.tracks!); + checkUnnamed366(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -472,12 +472,12 @@ void checkGoogleCloudVideointelligenceV1FaceDetectionConfig( } core.List - buildUnnamed365() => [ + buildUnnamed367() => [ buildGoogleCloudVideointelligenceV1NormalizedBoundingBox(), buildGoogleCloudVideointelligenceV1NormalizedBoundingBox(), ]; -void checkUnnamed365( +void checkUnnamed367( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1NormalizedBoundingBox(o[0]); @@ -490,7 +490,7 @@ api.GoogleCloudVideointelligenceV1FaceFrame final o = api.GoogleCloudVideointelligenceV1FaceFrame(); buildCounterGoogleCloudVideointelligenceV1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1FaceFrame < 3) { - o.normalizedBoundingBoxes = buildUnnamed365(); + o.normalizedBoundingBoxes = buildUnnamed367(); o.timeOffset = 'foo'; } buildCounterGoogleCloudVideointelligenceV1FaceFrame--; @@ -501,7 +501,7 @@ void checkGoogleCloudVideointelligenceV1FaceFrame( api.GoogleCloudVideointelligenceV1FaceFrame o) { buildCounterGoogleCloudVideointelligenceV1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1FaceFrame < 3) { - checkUnnamed365(o.normalizedBoundingBoxes!); + checkUnnamed367(o.normalizedBoundingBoxes!); unittest.expect( o.timeOffset!, unittest.equals('foo'), @@ -531,35 +531,35 @@ void checkGoogleCloudVideointelligenceV1FaceSegment( buildCounterGoogleCloudVideointelligenceV1FaceSegment--; } -core.List buildUnnamed366() => [ +core.List buildUnnamed368() => [ buildGoogleCloudVideointelligenceV1Entity(), buildGoogleCloudVideointelligenceV1Entity(), ]; -void checkUnnamed366(core.List o) { +void checkUnnamed368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1Entity(o[0]); checkGoogleCloudVideointelligenceV1Entity(o[1]); } -core.List buildUnnamed367() => [ +core.List buildUnnamed369() => [ buildGoogleCloudVideointelligenceV1LabelFrame(), buildGoogleCloudVideointelligenceV1LabelFrame(), ]; -void checkUnnamed367( +void checkUnnamed369( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelFrame(o[0]); checkGoogleCloudVideointelligenceV1LabelFrame(o[1]); } -core.List buildUnnamed368() => [ +core.List buildUnnamed370() => [ buildGoogleCloudVideointelligenceV1LabelSegment(), buildGoogleCloudVideointelligenceV1LabelSegment(), ]; -void checkUnnamed368( +void checkUnnamed370( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelSegment(o[0]); @@ -572,10 +572,10 @@ api.GoogleCloudVideointelligenceV1LabelAnnotation final o = api.GoogleCloudVideointelligenceV1LabelAnnotation(); buildCounterGoogleCloudVideointelligenceV1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1LabelAnnotation < 3) { - o.categoryEntities = buildUnnamed366(); + o.categoryEntities = buildUnnamed368(); o.entity = buildGoogleCloudVideointelligenceV1Entity(); - o.frames = buildUnnamed367(); - o.segments = buildUnnamed368(); + o.frames = buildUnnamed369(); + o.segments = buildUnnamed370(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1LabelAnnotation--; @@ -586,10 +586,10 @@ void checkGoogleCloudVideointelligenceV1LabelAnnotation( api.GoogleCloudVideointelligenceV1LabelAnnotation o) { buildCounterGoogleCloudVideointelligenceV1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1LabelAnnotation < 3) { - checkUnnamed366(o.categoryEntities!); + checkUnnamed368(o.categoryEntities!); checkGoogleCloudVideointelligenceV1Entity(o.entity!); - checkUnnamed367(o.frames!); - checkUnnamed368(o.segments!); + checkUnnamed369(o.frames!); + checkUnnamed370(o.segments!); unittest.expect( o.version!, unittest.equals('foo'), @@ -694,24 +694,24 @@ void checkGoogleCloudVideointelligenceV1LabelSegment( buildCounterGoogleCloudVideointelligenceV1LabelSegment--; } -core.List buildUnnamed369() => [ +core.List buildUnnamed371() => [ buildGoogleCloudVideointelligenceV1VideoSegment(), buildGoogleCloudVideointelligenceV1VideoSegment(), ]; -void checkUnnamed369( +void checkUnnamed371( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1VideoSegment(o[0]); checkGoogleCloudVideointelligenceV1VideoSegment(o[1]); } -core.List buildUnnamed370() => [ +core.List buildUnnamed372() => [ buildGoogleCloudVideointelligenceV1Track(), buildGoogleCloudVideointelligenceV1Track(), ]; -void checkUnnamed370(core.List o) { +void checkUnnamed372(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1Track(o[0]); checkGoogleCloudVideointelligenceV1Track(o[1]); @@ -725,8 +725,8 @@ api.GoogleCloudVideointelligenceV1LogoRecognitionAnnotation buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation < 3) { o.entity = buildGoogleCloudVideointelligenceV1Entity(); - o.segments = buildUnnamed369(); - o.tracks = buildUnnamed370(); + o.segments = buildUnnamed371(); + o.tracks = buildUnnamed372(); } buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation--; return o; @@ -737,8 +737,8 @@ void checkGoogleCloudVideointelligenceV1LogoRecognitionAnnotation( buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation < 3) { checkGoogleCloudVideointelligenceV1Entity(o.entity!); - checkUnnamed369(o.segments!); - checkUnnamed370(o.tracks!); + checkUnnamed371(o.segments!); + checkUnnamed372(o.tracks!); } buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation--; } @@ -783,12 +783,12 @@ void checkGoogleCloudVideointelligenceV1NormalizedBoundingBox( } core.List - buildUnnamed371() => [ + buildUnnamed373() => [ buildGoogleCloudVideointelligenceV1NormalizedVertex(), buildGoogleCloudVideointelligenceV1NormalizedVertex(), ]; -void checkUnnamed371( +void checkUnnamed373( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1NormalizedVertex(o[0]); @@ -801,7 +801,7 @@ api.GoogleCloudVideointelligenceV1NormalizedBoundingPoly final o = api.GoogleCloudVideointelligenceV1NormalizedBoundingPoly(); buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly < 3) { - o.vertices = buildUnnamed371(); + o.vertices = buildUnnamed373(); } buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly--; return o; @@ -811,7 +811,7 @@ void checkGoogleCloudVideointelligenceV1NormalizedBoundingPoly( api.GoogleCloudVideointelligenceV1NormalizedBoundingPoly o) { buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly < 3) { - checkUnnamed371(o.vertices!); + checkUnnamed373(o.vertices!); } buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly--; } @@ -846,12 +846,12 @@ void checkGoogleCloudVideointelligenceV1NormalizedVertex( } core.List - buildUnnamed372() => [ + buildUnnamed374() => [ buildGoogleCloudVideointelligenceV1ObjectTrackingFrame(), buildGoogleCloudVideointelligenceV1ObjectTrackingFrame(), ]; -void checkUnnamed372( +void checkUnnamed374( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1ObjectTrackingFrame(o[0]); @@ -866,7 +866,7 @@ api.GoogleCloudVideointelligenceV1ObjectTrackingAnnotation if (buildCounterGoogleCloudVideointelligenceV1ObjectTrackingAnnotation < 3) { o.confidence = 42.0; o.entity = buildGoogleCloudVideointelligenceV1Entity(); - o.frames = buildUnnamed372(); + o.frames = buildUnnamed374(); o.segment = buildGoogleCloudVideointelligenceV1VideoSegment(); o.trackId = 'foo'; o.version = 'foo'; @@ -884,7 +884,7 @@ void checkGoogleCloudVideointelligenceV1ObjectTrackingAnnotation( unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1Entity(o.entity!); - checkUnnamed372(o.frames!); + checkUnnamed374(o.frames!); checkGoogleCloudVideointelligenceV1VideoSegment(o.segment!); unittest.expect( o.trackId!, @@ -950,12 +950,12 @@ void checkGoogleCloudVideointelligenceV1ObjectTrackingFrame( buildCounterGoogleCloudVideointelligenceV1ObjectTrackingFrame--; } -core.List buildUnnamed373() => [ +core.List buildUnnamed375() => [ buildGoogleCloudVideointelligenceV1Track(), buildGoogleCloudVideointelligenceV1Track(), ]; -void checkUnnamed373(core.List o) { +void checkUnnamed375(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1Track(o[0]); checkGoogleCloudVideointelligenceV1Track(o[1]); @@ -968,7 +968,7 @@ api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation final o = api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation(); buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation < 3) { - o.tracks = buildUnnamed373(); + o.tracks = buildUnnamed375(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation--; @@ -979,7 +979,7 @@ void checkGoogleCloudVideointelligenceV1PersonDetectionAnnotation( api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation o) { buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation < 3) { - checkUnnamed373(o.tracks!); + checkUnnamed375(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -1038,12 +1038,12 @@ void checkGoogleCloudVideointelligenceV1ShotChangeDetectionConfig( buildCounterGoogleCloudVideointelligenceV1ShotChangeDetectionConfig--; } -core.List buildUnnamed374() => [ +core.List buildUnnamed376() => [ 'foo', 'foo', ]; -void checkUnnamed374(core.List o) { +void checkUnnamed376(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1061,7 +1061,7 @@ api.GoogleCloudVideointelligenceV1SpeechContext final o = api.GoogleCloudVideointelligenceV1SpeechContext(); buildCounterGoogleCloudVideointelligenceV1SpeechContext++; if (buildCounterGoogleCloudVideointelligenceV1SpeechContext < 3) { - o.phrases = buildUnnamed374(); + o.phrases = buildUnnamed376(); } buildCounterGoogleCloudVideointelligenceV1SpeechContext--; return o; @@ -1071,17 +1071,17 @@ void checkGoogleCloudVideointelligenceV1SpeechContext( api.GoogleCloudVideointelligenceV1SpeechContext o) { buildCounterGoogleCloudVideointelligenceV1SpeechContext++; if (buildCounterGoogleCloudVideointelligenceV1SpeechContext < 3) { - checkUnnamed374(o.phrases!); + checkUnnamed376(o.phrases!); } buildCounterGoogleCloudVideointelligenceV1SpeechContext--; } -core.List buildUnnamed375() => [ +core.List buildUnnamed377() => [ buildGoogleCloudVideointelligenceV1WordInfo(), buildGoogleCloudVideointelligenceV1WordInfo(), ]; -void checkUnnamed375(core.List o) { +void checkUnnamed377(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1WordInfo(o[0]); checkGoogleCloudVideointelligenceV1WordInfo(o[1]); @@ -1097,7 +1097,7 @@ api.GoogleCloudVideointelligenceV1SpeechRecognitionAlternative 3) { o.confidence = 42.0; o.transcript = 'foo'; - o.words = buildUnnamed375(); + o.words = buildUnnamed377(); } buildCounterGoogleCloudVideointelligenceV1SpeechRecognitionAlternative--; return o; @@ -1116,18 +1116,18 @@ void checkGoogleCloudVideointelligenceV1SpeechRecognitionAlternative( o.transcript!, unittest.equals('foo'), ); - checkUnnamed375(o.words!); + checkUnnamed377(o.words!); } buildCounterGoogleCloudVideointelligenceV1SpeechRecognitionAlternative--; } core.List - buildUnnamed376() => [ + buildUnnamed378() => [ buildGoogleCloudVideointelligenceV1SpeechRecognitionAlternative(), buildGoogleCloudVideointelligenceV1SpeechRecognitionAlternative(), ]; -void checkUnnamed376( +void checkUnnamed378( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -1141,7 +1141,7 @@ api.GoogleCloudVideointelligenceV1SpeechTranscription final o = api.GoogleCloudVideointelligenceV1SpeechTranscription(); buildCounterGoogleCloudVideointelligenceV1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscription < 3) { - o.alternatives = buildUnnamed376(); + o.alternatives = buildUnnamed378(); o.languageCode = 'foo'; } buildCounterGoogleCloudVideointelligenceV1SpeechTranscription--; @@ -1152,7 +1152,7 @@ void checkGoogleCloudVideointelligenceV1SpeechTranscription( api.GoogleCloudVideointelligenceV1SpeechTranscription o) { buildCounterGoogleCloudVideointelligenceV1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscription < 3) { - checkUnnamed376(o.alternatives!); + checkUnnamed378(o.alternatives!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -1161,12 +1161,12 @@ void checkGoogleCloudVideointelligenceV1SpeechTranscription( buildCounterGoogleCloudVideointelligenceV1SpeechTranscription--; } -core.List buildUnnamed377() => [ +core.List buildUnnamed379() => [ 42, 42, ]; -void checkUnnamed377(core.List o) { +void checkUnnamed379(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1178,13 +1178,13 @@ void checkUnnamed377(core.List o) { ); } -core.List buildUnnamed378() => +core.List buildUnnamed380() => [ buildGoogleCloudVideointelligenceV1SpeechContext(), buildGoogleCloudVideointelligenceV1SpeechContext(), ]; -void checkUnnamed378( +void checkUnnamed380( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1SpeechContext(o[0]); @@ -1198,7 +1198,7 @@ api.GoogleCloudVideointelligenceV1SpeechTranscriptionConfig final o = api.GoogleCloudVideointelligenceV1SpeechTranscriptionConfig(); buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig++; if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig < 3) { - o.audioTracks = buildUnnamed377(); + o.audioTracks = buildUnnamed379(); o.diarizationSpeakerCount = 42; o.enableAutomaticPunctuation = true; o.enableSpeakerDiarization = true; @@ -1206,7 +1206,7 @@ api.GoogleCloudVideointelligenceV1SpeechTranscriptionConfig o.filterProfanity = true; o.languageCode = 'foo'; o.maxAlternatives = 42; - o.speechContexts = buildUnnamed378(); + o.speechContexts = buildUnnamed380(); } buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig--; return o; @@ -1216,7 +1216,7 @@ void checkGoogleCloudVideointelligenceV1SpeechTranscriptionConfig( api.GoogleCloudVideointelligenceV1SpeechTranscriptionConfig o) { buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig++; if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig < 3) { - checkUnnamed377(o.audioTracks!); + checkUnnamed379(o.audioTracks!); unittest.expect( o.diarizationSpeakerCount!, unittest.equals(42), @@ -1233,17 +1233,17 @@ void checkGoogleCloudVideointelligenceV1SpeechTranscriptionConfig( o.maxAlternatives!, unittest.equals(42), ); - checkUnnamed378(o.speechContexts!); + checkUnnamed380(o.speechContexts!); } buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig--; } -core.List buildUnnamed379() => [ +core.List buildUnnamed381() => [ buildGoogleCloudVideointelligenceV1TextSegment(), buildGoogleCloudVideointelligenceV1TextSegment(), ]; -void checkUnnamed379( +void checkUnnamed381( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1TextSegment(o[0]); @@ -1256,7 +1256,7 @@ api.GoogleCloudVideointelligenceV1TextAnnotation final o = api.GoogleCloudVideointelligenceV1TextAnnotation(); buildCounterGoogleCloudVideointelligenceV1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1TextAnnotation < 3) { - o.segments = buildUnnamed379(); + o.segments = buildUnnamed381(); o.text = 'foo'; o.version = 'foo'; } @@ -1268,7 +1268,7 @@ void checkGoogleCloudVideointelligenceV1TextAnnotation( api.GoogleCloudVideointelligenceV1TextAnnotation o) { buildCounterGoogleCloudVideointelligenceV1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1TextAnnotation < 3) { - checkUnnamed379(o.segments!); + checkUnnamed381(o.segments!); unittest.expect( o.text!, unittest.equals('foo'), @@ -1281,12 +1281,12 @@ void checkGoogleCloudVideointelligenceV1TextAnnotation( buildCounterGoogleCloudVideointelligenceV1TextAnnotation--; } -core.List buildUnnamed380() => [ +core.List buildUnnamed382() => [ 'foo', 'foo', ]; -void checkUnnamed380(core.List o) { +void checkUnnamed382(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1304,7 +1304,7 @@ api.GoogleCloudVideointelligenceV1TextDetectionConfig final o = api.GoogleCloudVideointelligenceV1TextDetectionConfig(); buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig++; if (buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig < 3) { - o.languageHints = buildUnnamed380(); + o.languageHints = buildUnnamed382(); o.model = 'foo'; } buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig--; @@ -1315,7 +1315,7 @@ void checkGoogleCloudVideointelligenceV1TextDetectionConfig( api.GoogleCloudVideointelligenceV1TextDetectionConfig o) { buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig++; if (buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig < 3) { - checkUnnamed380(o.languageHints!); + checkUnnamed382(o.languageHints!); unittest.expect( o.model!, unittest.equals('foo'), @@ -1352,12 +1352,12 @@ void checkGoogleCloudVideointelligenceV1TextFrame( buildCounterGoogleCloudVideointelligenceV1TextFrame--; } -core.List buildUnnamed381() => [ +core.List buildUnnamed383() => [ buildGoogleCloudVideointelligenceV1TextFrame(), buildGoogleCloudVideointelligenceV1TextFrame(), ]; -void checkUnnamed381(core.List o) { +void checkUnnamed383(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1TextFrame(o[0]); checkGoogleCloudVideointelligenceV1TextFrame(o[1]); @@ -1370,7 +1370,7 @@ api.GoogleCloudVideointelligenceV1TextSegment buildCounterGoogleCloudVideointelligenceV1TextSegment++; if (buildCounterGoogleCloudVideointelligenceV1TextSegment < 3) { o.confidence = 42.0; - o.frames = buildUnnamed381(); + o.frames = buildUnnamed383(); o.segment = buildGoogleCloudVideointelligenceV1VideoSegment(); } buildCounterGoogleCloudVideointelligenceV1TextSegment--; @@ -1385,19 +1385,19 @@ void checkGoogleCloudVideointelligenceV1TextSegment( o.confidence!, unittest.equals(42.0), ); - checkUnnamed381(o.frames!); + checkUnnamed383(o.frames!); checkGoogleCloudVideointelligenceV1VideoSegment(o.segment!); } buildCounterGoogleCloudVideointelligenceV1TextSegment--; } core.List - buildUnnamed382() => [ + buildUnnamed384() => [ buildGoogleCloudVideointelligenceV1DetectedAttribute(), buildGoogleCloudVideointelligenceV1DetectedAttribute(), ]; -void checkUnnamed382( +void checkUnnamed384( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1DetectedAttribute(o[0]); @@ -1405,12 +1405,12 @@ void checkUnnamed382( } core.List - buildUnnamed383() => [ + buildUnnamed385() => [ buildGoogleCloudVideointelligenceV1DetectedLandmark(), buildGoogleCloudVideointelligenceV1DetectedLandmark(), ]; -void checkUnnamed383( +void checkUnnamed385( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1DetectedLandmark(o[0]); @@ -1423,8 +1423,8 @@ api.GoogleCloudVideointelligenceV1TimestampedObject final o = api.GoogleCloudVideointelligenceV1TimestampedObject(); buildCounterGoogleCloudVideointelligenceV1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1TimestampedObject < 3) { - o.attributes = buildUnnamed382(); - o.landmarks = buildUnnamed383(); + o.attributes = buildUnnamed384(); + o.landmarks = buildUnnamed385(); o.normalizedBoundingBox = buildGoogleCloudVideointelligenceV1NormalizedBoundingBox(); o.timeOffset = 'foo'; @@ -1437,8 +1437,8 @@ void checkGoogleCloudVideointelligenceV1TimestampedObject( api.GoogleCloudVideointelligenceV1TimestampedObject o) { buildCounterGoogleCloudVideointelligenceV1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1TimestampedObject < 3) { - checkUnnamed382(o.attributes!); - checkUnnamed383(o.landmarks!); + checkUnnamed384(o.attributes!); + checkUnnamed385(o.landmarks!); checkGoogleCloudVideointelligenceV1NormalizedBoundingBox( o.normalizedBoundingBox!); unittest.expect( @@ -1450,12 +1450,12 @@ void checkGoogleCloudVideointelligenceV1TimestampedObject( } core.List - buildUnnamed384() => [ + buildUnnamed386() => [ buildGoogleCloudVideointelligenceV1DetectedAttribute(), buildGoogleCloudVideointelligenceV1DetectedAttribute(), ]; -void checkUnnamed384( +void checkUnnamed386( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1DetectedAttribute(o[0]); @@ -1463,12 +1463,12 @@ void checkUnnamed384( } core.List - buildUnnamed385() => [ + buildUnnamed387() => [ buildGoogleCloudVideointelligenceV1TimestampedObject(), buildGoogleCloudVideointelligenceV1TimestampedObject(), ]; -void checkUnnamed385( +void checkUnnamed387( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1TimestampedObject(o[0]); @@ -1481,10 +1481,10 @@ api.GoogleCloudVideointelligenceV1Track final o = api.GoogleCloudVideointelligenceV1Track(); buildCounterGoogleCloudVideointelligenceV1Track++; if (buildCounterGoogleCloudVideointelligenceV1Track < 3) { - o.attributes = buildUnnamed384(); + o.attributes = buildUnnamed386(); o.confidence = 42.0; o.segment = buildGoogleCloudVideointelligenceV1VideoSegment(); - o.timestampedObjects = buildUnnamed385(); + o.timestampedObjects = buildUnnamed387(); } buildCounterGoogleCloudVideointelligenceV1Track--; return o; @@ -1494,13 +1494,13 @@ void checkGoogleCloudVideointelligenceV1Track( api.GoogleCloudVideointelligenceV1Track o) { buildCounterGoogleCloudVideointelligenceV1Track++; if (buildCounterGoogleCloudVideointelligenceV1Track < 3) { - checkUnnamed384(o.attributes!); + checkUnnamed386(o.attributes!); unittest.expect( o.confidence!, unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1VideoSegment(o.segment!); - checkUnnamed385(o.timestampedObjects!); + checkUnnamed387(o.timestampedObjects!); } buildCounterGoogleCloudVideointelligenceV1Track--; } @@ -1551,13 +1551,13 @@ void checkGoogleCloudVideointelligenceV1VideoAnnotationProgress( buildCounterGoogleCloudVideointelligenceV1VideoAnnotationProgress--; } -core.List buildUnnamed386() => +core.List buildUnnamed388() => [ buildGoogleCloudVideointelligenceV1FaceAnnotation(), buildGoogleCloudVideointelligenceV1FaceAnnotation(), ]; -void checkUnnamed386( +void checkUnnamed388( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1FaceAnnotation(o[0]); @@ -1565,12 +1565,12 @@ void checkUnnamed386( } core.List - buildUnnamed387() => [ + buildUnnamed389() => [ buildGoogleCloudVideointelligenceV1FaceDetectionAnnotation(), buildGoogleCloudVideointelligenceV1FaceDetectionAnnotation(), ]; -void checkUnnamed387( +void checkUnnamed389( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1FaceDetectionAnnotation(o[0]); @@ -1578,12 +1578,12 @@ void checkUnnamed387( } core.List - buildUnnamed388() => [ + buildUnnamed390() => [ buildGoogleCloudVideointelligenceV1LabelAnnotation(), buildGoogleCloudVideointelligenceV1LabelAnnotation(), ]; -void checkUnnamed388( +void checkUnnamed390( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]); @@ -1591,12 +1591,12 @@ void checkUnnamed388( } core.List - buildUnnamed389() => [ + buildUnnamed391() => [ buildGoogleCloudVideointelligenceV1LogoRecognitionAnnotation(), buildGoogleCloudVideointelligenceV1LogoRecognitionAnnotation(), ]; -void checkUnnamed389( +void checkUnnamed391( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LogoRecognitionAnnotation(o[0]); @@ -1604,12 +1604,12 @@ void checkUnnamed389( } core.List - buildUnnamed390() => [ + buildUnnamed392() => [ buildGoogleCloudVideointelligenceV1ObjectTrackingAnnotation(), buildGoogleCloudVideointelligenceV1ObjectTrackingAnnotation(), ]; -void checkUnnamed390( +void checkUnnamed392( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1ObjectTrackingAnnotation(o[0]); @@ -1617,12 +1617,12 @@ void checkUnnamed390( } core.List - buildUnnamed391() => [ + buildUnnamed393() => [ buildGoogleCloudVideointelligenceV1PersonDetectionAnnotation(), buildGoogleCloudVideointelligenceV1PersonDetectionAnnotation(), ]; -void checkUnnamed391( +void checkUnnamed393( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1PersonDetectionAnnotation(o[0]); @@ -1630,12 +1630,12 @@ void checkUnnamed391( } core.List - buildUnnamed392() => [ + buildUnnamed394() => [ buildGoogleCloudVideointelligenceV1LabelAnnotation(), buildGoogleCloudVideointelligenceV1LabelAnnotation(), ]; -void checkUnnamed392( +void checkUnnamed394( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]); @@ -1643,24 +1643,24 @@ void checkUnnamed392( } core.List - buildUnnamed393() => [ + buildUnnamed395() => [ buildGoogleCloudVideointelligenceV1LabelAnnotation(), buildGoogleCloudVideointelligenceV1LabelAnnotation(), ]; -void checkUnnamed393( +void checkUnnamed395( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]); checkGoogleCloudVideointelligenceV1LabelAnnotation(o[1]); } -core.List buildUnnamed394() => [ +core.List buildUnnamed396() => [ buildGoogleCloudVideointelligenceV1VideoSegment(), buildGoogleCloudVideointelligenceV1VideoSegment(), ]; -void checkUnnamed394( +void checkUnnamed396( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1VideoSegment(o[0]); @@ -1668,12 +1668,12 @@ void checkUnnamed394( } core.List - buildUnnamed395() => [ + buildUnnamed397() => [ buildGoogleCloudVideointelligenceV1LabelAnnotation(), buildGoogleCloudVideointelligenceV1LabelAnnotation(), ]; -void checkUnnamed395( +void checkUnnamed397( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]); @@ -1681,12 +1681,12 @@ void checkUnnamed395( } core.List - buildUnnamed396() => [ + buildUnnamed398() => [ buildGoogleCloudVideointelligenceV1LabelAnnotation(), buildGoogleCloudVideointelligenceV1LabelAnnotation(), ]; -void checkUnnamed396( +void checkUnnamed398( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]); @@ -1694,25 +1694,25 @@ void checkUnnamed396( } core.List - buildUnnamed397() => [ + buildUnnamed399() => [ buildGoogleCloudVideointelligenceV1SpeechTranscription(), buildGoogleCloudVideointelligenceV1SpeechTranscription(), ]; -void checkUnnamed397( +void checkUnnamed399( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1SpeechTranscription(o[0]); checkGoogleCloudVideointelligenceV1SpeechTranscription(o[1]); } -core.List buildUnnamed398() => +core.List buildUnnamed400() => [ buildGoogleCloudVideointelligenceV1TextAnnotation(), buildGoogleCloudVideointelligenceV1TextAnnotation(), ]; -void checkUnnamed398( +void checkUnnamed400( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1TextAnnotation(o[0]); @@ -1728,21 +1728,21 @@ api.GoogleCloudVideointelligenceV1VideoAnnotationResults o.error = buildGoogleRpcStatus(); o.explicitAnnotation = buildGoogleCloudVideointelligenceV1ExplicitContentAnnotation(); - o.faceAnnotations = buildUnnamed386(); - o.faceDetectionAnnotations = buildUnnamed387(); - o.frameLabelAnnotations = buildUnnamed388(); + o.faceAnnotations = buildUnnamed388(); + o.faceDetectionAnnotations = buildUnnamed389(); + o.frameLabelAnnotations = buildUnnamed390(); o.inputUri = 'foo'; - o.logoRecognitionAnnotations = buildUnnamed389(); - o.objectAnnotations = buildUnnamed390(); - o.personDetectionAnnotations = buildUnnamed391(); + o.logoRecognitionAnnotations = buildUnnamed391(); + o.objectAnnotations = buildUnnamed392(); + o.personDetectionAnnotations = buildUnnamed393(); o.segment = buildGoogleCloudVideointelligenceV1VideoSegment(); - o.segmentLabelAnnotations = buildUnnamed392(); - o.segmentPresenceLabelAnnotations = buildUnnamed393(); - o.shotAnnotations = buildUnnamed394(); - o.shotLabelAnnotations = buildUnnamed395(); - o.shotPresenceLabelAnnotations = buildUnnamed396(); - o.speechTranscriptions = buildUnnamed397(); - o.textAnnotations = buildUnnamed398(); + o.segmentLabelAnnotations = buildUnnamed394(); + o.segmentPresenceLabelAnnotations = buildUnnamed395(); + o.shotAnnotations = buildUnnamed396(); + o.shotLabelAnnotations = buildUnnamed397(); + o.shotPresenceLabelAnnotations = buildUnnamed398(); + o.speechTranscriptions = buildUnnamed399(); + o.textAnnotations = buildUnnamed400(); } buildCounterGoogleCloudVideointelligenceV1VideoAnnotationResults--; return o; @@ -1755,34 +1755,34 @@ void checkGoogleCloudVideointelligenceV1VideoAnnotationResults( checkGoogleRpcStatus(o.error!); checkGoogleCloudVideointelligenceV1ExplicitContentAnnotation( o.explicitAnnotation!); - checkUnnamed386(o.faceAnnotations!); - checkUnnamed387(o.faceDetectionAnnotations!); - checkUnnamed388(o.frameLabelAnnotations!); + checkUnnamed388(o.faceAnnotations!); + checkUnnamed389(o.faceDetectionAnnotations!); + checkUnnamed390(o.frameLabelAnnotations!); unittest.expect( o.inputUri!, unittest.equals('foo'), ); - checkUnnamed389(o.logoRecognitionAnnotations!); - checkUnnamed390(o.objectAnnotations!); - checkUnnamed391(o.personDetectionAnnotations!); + checkUnnamed391(o.logoRecognitionAnnotations!); + checkUnnamed392(o.objectAnnotations!); + checkUnnamed393(o.personDetectionAnnotations!); checkGoogleCloudVideointelligenceV1VideoSegment(o.segment!); - checkUnnamed392(o.segmentLabelAnnotations!); - checkUnnamed393(o.segmentPresenceLabelAnnotations!); - checkUnnamed394(o.shotAnnotations!); - checkUnnamed395(o.shotLabelAnnotations!); - checkUnnamed396(o.shotPresenceLabelAnnotations!); - checkUnnamed397(o.speechTranscriptions!); - checkUnnamed398(o.textAnnotations!); + checkUnnamed394(o.segmentLabelAnnotations!); + checkUnnamed395(o.segmentPresenceLabelAnnotations!); + checkUnnamed396(o.shotAnnotations!); + checkUnnamed397(o.shotLabelAnnotations!); + checkUnnamed398(o.shotPresenceLabelAnnotations!); + checkUnnamed399(o.speechTranscriptions!); + checkUnnamed400(o.textAnnotations!); } buildCounterGoogleCloudVideointelligenceV1VideoAnnotationResults--; } -core.List buildUnnamed399() => [ +core.List buildUnnamed401() => [ buildGoogleCloudVideointelligenceV1VideoSegment(), buildGoogleCloudVideointelligenceV1VideoSegment(), ]; -void checkUnnamed399( +void checkUnnamed401( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1VideoSegment(o[0]); @@ -1805,7 +1805,7 @@ api.GoogleCloudVideointelligenceV1VideoContext buildGoogleCloudVideointelligenceV1ObjectTrackingConfig(); o.personDetectionConfig = buildGoogleCloudVideointelligenceV1PersonDetectionConfig(); - o.segments = buildUnnamed399(); + o.segments = buildUnnamed401(); o.shotChangeDetectionConfig = buildGoogleCloudVideointelligenceV1ShotChangeDetectionConfig(); o.speechTranscriptionConfig = @@ -1831,7 +1831,7 @@ void checkGoogleCloudVideointelligenceV1VideoContext( o.objectTrackingConfig!); checkGoogleCloudVideointelligenceV1PersonDetectionConfig( o.personDetectionConfig!); - checkUnnamed399(o.segments!); + checkUnnamed401(o.segments!); checkGoogleCloudVideointelligenceV1ShotChangeDetectionConfig( o.shotChangeDetectionConfig!); checkGoogleCloudVideointelligenceV1SpeechTranscriptionConfig( @@ -1916,12 +1916,12 @@ void checkGoogleCloudVideointelligenceV1WordInfo( } core.List - buildUnnamed400() => [ + buildUnnamed402() => [ buildGoogleCloudVideointelligenceV1beta2VideoAnnotationProgress(), buildGoogleCloudVideointelligenceV1beta2VideoAnnotationProgress(), ]; -void checkUnnamed400( +void checkUnnamed402( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -1937,7 +1937,7 @@ api.GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress < 3) { - o.annotationProgress = buildUnnamed400(); + o.annotationProgress = buildUnnamed402(); } buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress--; return o; @@ -1948,18 +1948,18 @@ void checkGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress( buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress < 3) { - checkUnnamed400(o.annotationProgress!); + checkUnnamed402(o.annotationProgress!); } buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoProgress--; } core.List - buildUnnamed401() => [ + buildUnnamed403() => [ buildGoogleCloudVideointelligenceV1beta2VideoAnnotationResults(), buildGoogleCloudVideointelligenceV1beta2VideoAnnotationResults(), ]; -void checkUnnamed401( +void checkUnnamed403( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -1975,7 +1975,7 @@ api.GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse < 3) { - o.annotationResults = buildUnnamed401(); + o.annotationResults = buildUnnamed403(); } buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse--; return o; @@ -1986,7 +1986,7 @@ void checkGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse( buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse < 3) { - checkUnnamed401(o.annotationResults!); + checkUnnamed403(o.annotationResults!); } buildCounterGoogleCloudVideointelligenceV1beta2AnnotateVideoResponse--; } @@ -2091,12 +2091,12 @@ void checkGoogleCloudVideointelligenceV1beta2Entity( } core.List - buildUnnamed402() => [ + buildUnnamed404() => [ buildGoogleCloudVideointelligenceV1beta2ExplicitContentFrame(), buildGoogleCloudVideointelligenceV1beta2ExplicitContentFrame(), ]; -void checkUnnamed402( +void checkUnnamed404( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2ExplicitContentFrame(o[0]); @@ -2112,7 +2112,7 @@ api.GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation buildCounterGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation < 3) { - o.frames = buildUnnamed402(); + o.frames = buildUnnamed404(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation--; @@ -2124,7 +2124,7 @@ void checkGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation( buildCounterGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation < 3) { - checkUnnamed402(o.frames!); + checkUnnamed404(o.frames!); unittest.expect( o.version!, unittest.equals('foo'), @@ -2163,13 +2163,13 @@ void checkGoogleCloudVideointelligenceV1beta2ExplicitContentFrame( buildCounterGoogleCloudVideointelligenceV1beta2ExplicitContentFrame--; } -core.List buildUnnamed403() => +core.List buildUnnamed405() => [ buildGoogleCloudVideointelligenceV1beta2FaceFrame(), buildGoogleCloudVideointelligenceV1beta2FaceFrame(), ]; -void checkUnnamed403( +void checkUnnamed405( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2FaceFrame(o[0]); @@ -2177,12 +2177,12 @@ void checkUnnamed403( } core.List - buildUnnamed404() => [ + buildUnnamed406() => [ buildGoogleCloudVideointelligenceV1beta2FaceSegment(), buildGoogleCloudVideointelligenceV1beta2FaceSegment(), ]; -void checkUnnamed404( +void checkUnnamed406( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2FaceSegment(o[0]); @@ -2195,8 +2195,8 @@ api.GoogleCloudVideointelligenceV1beta2FaceAnnotation final o = api.GoogleCloudVideointelligenceV1beta2FaceAnnotation(); buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation < 3) { - o.frames = buildUnnamed403(); - o.segments = buildUnnamed404(); + o.frames = buildUnnamed405(); + o.segments = buildUnnamed406(); o.thumbnail = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation--; @@ -2207,8 +2207,8 @@ void checkGoogleCloudVideointelligenceV1beta2FaceAnnotation( api.GoogleCloudVideointelligenceV1beta2FaceAnnotation o) { buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation < 3) { - checkUnnamed403(o.frames!); - checkUnnamed404(o.segments!); + checkUnnamed405(o.frames!); + checkUnnamed406(o.segments!); unittest.expect( o.thumbnail!, unittest.equals('foo'), @@ -2217,12 +2217,12 @@ void checkGoogleCloudVideointelligenceV1beta2FaceAnnotation( buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation--; } -core.List buildUnnamed405() => [ +core.List buildUnnamed407() => [ buildGoogleCloudVideointelligenceV1beta2Track(), buildGoogleCloudVideointelligenceV1beta2Track(), ]; -void checkUnnamed405( +void checkUnnamed407( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2Track(o[0]); @@ -2238,7 +2238,7 @@ api.GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation if (buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation < 3) { o.thumbnail = 'foo'; - o.tracks = buildUnnamed405(); + o.tracks = buildUnnamed407(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation--; @@ -2254,7 +2254,7 @@ void checkGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation( o.thumbnail!, unittest.equals('foo'), ); - checkUnnamed405(o.tracks!); + checkUnnamed407(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -2264,12 +2264,12 @@ void checkGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation( } core.List - buildUnnamed406() => [ + buildUnnamed408() => [ buildGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(), buildGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(), ]; -void checkUnnamed406( +void checkUnnamed408( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(o[0]); @@ -2282,7 +2282,7 @@ api.GoogleCloudVideointelligenceV1beta2FaceFrame final o = api.GoogleCloudVideointelligenceV1beta2FaceFrame(); buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame < 3) { - o.normalizedBoundingBoxes = buildUnnamed406(); + o.normalizedBoundingBoxes = buildUnnamed408(); o.timeOffset = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame--; @@ -2293,7 +2293,7 @@ void checkGoogleCloudVideointelligenceV1beta2FaceFrame( api.GoogleCloudVideointelligenceV1beta2FaceFrame o) { buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame < 3) { - checkUnnamed406(o.normalizedBoundingBoxes!); + checkUnnamed408(o.normalizedBoundingBoxes!); unittest.expect( o.timeOffset!, unittest.equals('foo'), @@ -2323,12 +2323,12 @@ void checkGoogleCloudVideointelligenceV1beta2FaceSegment( buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment--; } -core.List buildUnnamed407() => [ +core.List buildUnnamed409() => [ buildGoogleCloudVideointelligenceV1beta2Entity(), buildGoogleCloudVideointelligenceV1beta2Entity(), ]; -void checkUnnamed407( +void checkUnnamed409( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2Entity(o[0]); @@ -2336,12 +2336,12 @@ void checkUnnamed407( } core.List - buildUnnamed408() => [ + buildUnnamed410() => [ buildGoogleCloudVideointelligenceV1beta2LabelFrame(), buildGoogleCloudVideointelligenceV1beta2LabelFrame(), ]; -void checkUnnamed408( +void checkUnnamed410( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelFrame(o[0]); @@ -2349,12 +2349,12 @@ void checkUnnamed408( } core.List - buildUnnamed409() => [ + buildUnnamed411() => [ buildGoogleCloudVideointelligenceV1beta2LabelSegment(), buildGoogleCloudVideointelligenceV1beta2LabelSegment(), ]; -void checkUnnamed409( +void checkUnnamed411( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelSegment(o[0]); @@ -2367,10 +2367,10 @@ api.GoogleCloudVideointelligenceV1beta2LabelAnnotation final o = api.GoogleCloudVideointelligenceV1beta2LabelAnnotation(); buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation < 3) { - o.categoryEntities = buildUnnamed407(); + o.categoryEntities = buildUnnamed409(); o.entity = buildGoogleCloudVideointelligenceV1beta2Entity(); - o.frames = buildUnnamed408(); - o.segments = buildUnnamed409(); + o.frames = buildUnnamed410(); + o.segments = buildUnnamed411(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation--; @@ -2381,10 +2381,10 @@ void checkGoogleCloudVideointelligenceV1beta2LabelAnnotation( api.GoogleCloudVideointelligenceV1beta2LabelAnnotation o) { buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation < 3) { - checkUnnamed407(o.categoryEntities!); + checkUnnamed409(o.categoryEntities!); checkGoogleCloudVideointelligenceV1beta2Entity(o.entity!); - checkUnnamed408(o.frames!); - checkUnnamed409(o.segments!); + checkUnnamed410(o.frames!); + checkUnnamed411(o.segments!); unittest.expect( o.version!, unittest.equals('foo'), @@ -2449,24 +2449,24 @@ void checkGoogleCloudVideointelligenceV1beta2LabelSegment( } core.List - buildUnnamed410() => [ + buildUnnamed412() => [ buildGoogleCloudVideointelligenceV1beta2VideoSegment(), buildGoogleCloudVideointelligenceV1beta2VideoSegment(), ]; -void checkUnnamed410( +void checkUnnamed412( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[0]); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[1]); } -core.List buildUnnamed411() => [ +core.List buildUnnamed413() => [ buildGoogleCloudVideointelligenceV1beta2Track(), buildGoogleCloudVideointelligenceV1beta2Track(), ]; -void checkUnnamed411( +void checkUnnamed413( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2Track(o[0]); @@ -2483,8 +2483,8 @@ api.GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation if (buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation < 3) { o.entity = buildGoogleCloudVideointelligenceV1beta2Entity(); - o.segments = buildUnnamed410(); - o.tracks = buildUnnamed411(); + o.segments = buildUnnamed412(); + o.tracks = buildUnnamed413(); } buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation--; return o; @@ -2496,8 +2496,8 @@ void checkGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation( if (buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation < 3) { checkGoogleCloudVideointelligenceV1beta2Entity(o.entity!); - checkUnnamed410(o.segments!); - checkUnnamed411(o.tracks!); + checkUnnamed412(o.segments!); + checkUnnamed413(o.tracks!); } buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation--; } @@ -2545,12 +2545,12 @@ void checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox( } core.List - buildUnnamed412() => [ + buildUnnamed414() => [ buildGoogleCloudVideointelligenceV1beta2NormalizedVertex(), buildGoogleCloudVideointelligenceV1beta2NormalizedVertex(), ]; -void checkUnnamed412( +void checkUnnamed414( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2NormalizedVertex(o[0]); @@ -2565,7 +2565,7 @@ api.GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly < 3) { - o.vertices = buildUnnamed412(); + o.vertices = buildUnnamed414(); } buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly--; return o; @@ -2576,7 +2576,7 @@ void checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly( buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly < 3) { - checkUnnamed412(o.vertices!); + checkUnnamed414(o.vertices!); } buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly--; } @@ -2611,12 +2611,12 @@ void checkGoogleCloudVideointelligenceV1beta2NormalizedVertex( } core.List - buildUnnamed413() => [ + buildUnnamed415() => [ buildGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame(), buildGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame(), ]; -void checkUnnamed413( +void checkUnnamed415( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame(o[0]); @@ -2633,7 +2633,7 @@ api.GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation 3) { o.confidence = 42.0; o.entity = buildGoogleCloudVideointelligenceV1beta2Entity(); - o.frames = buildUnnamed413(); + o.frames = buildUnnamed415(); o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment(); o.trackId = 'foo'; o.version = 'foo'; @@ -2652,7 +2652,7 @@ void checkGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation( unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1beta2Entity(o.entity!); - checkUnnamed413(o.frames!); + checkUnnamed415(o.frames!); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment!); unittest.expect( o.trackId!, @@ -2694,12 +2694,12 @@ void checkGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame( buildCounterGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame--; } -core.List buildUnnamed414() => [ +core.List buildUnnamed416() => [ buildGoogleCloudVideointelligenceV1beta2Track(), buildGoogleCloudVideointelligenceV1beta2Track(), ]; -void checkUnnamed414( +void checkUnnamed416( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2Track(o[0]); @@ -2715,7 +2715,7 @@ api.GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation < 3) { - o.tracks = buildUnnamed414(); + o.tracks = buildUnnamed416(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation--; @@ -2727,7 +2727,7 @@ void checkGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation( buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation < 3) { - checkUnnamed414(o.tracks!); + checkUnnamed416(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -2736,13 +2736,13 @@ void checkGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation( buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation--; } -core.List buildUnnamed415() => +core.List buildUnnamed417() => [ buildGoogleCloudVideointelligenceV1beta2WordInfo(), buildGoogleCloudVideointelligenceV1beta2WordInfo(), ]; -void checkUnnamed415( +void checkUnnamed417( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2WordInfo(o[0]); @@ -2761,7 +2761,7 @@ api.GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative 3) { o.confidence = 42.0; o.transcript = 'foo'; - o.words = buildUnnamed415(); + o.words = buildUnnamed417(); } buildCounterGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative--; return o; @@ -2780,18 +2780,18 @@ void checkGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative( o.transcript!, unittest.equals('foo'), ); - checkUnnamed415(o.words!); + checkUnnamed417(o.words!); } buildCounterGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative--; } core.List - buildUnnamed416() => [ + buildUnnamed418() => [ buildGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative(), buildGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative(), ]; -void checkUnnamed416( +void checkUnnamed418( core.List< api.GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative> o) { @@ -2806,7 +2806,7 @@ api.GoogleCloudVideointelligenceV1beta2SpeechTranscription final o = api.GoogleCloudVideointelligenceV1beta2SpeechTranscription(); buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription < 3) { - o.alternatives = buildUnnamed416(); + o.alternatives = buildUnnamed418(); o.languageCode = 'foo'; } buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription--; @@ -2817,7 +2817,7 @@ void checkGoogleCloudVideointelligenceV1beta2SpeechTranscription( api.GoogleCloudVideointelligenceV1beta2SpeechTranscription o) { buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription < 3) { - checkUnnamed416(o.alternatives!); + checkUnnamed418(o.alternatives!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -2827,12 +2827,12 @@ void checkGoogleCloudVideointelligenceV1beta2SpeechTranscription( } core.List - buildUnnamed417() => [ + buildUnnamed419() => [ buildGoogleCloudVideointelligenceV1beta2TextSegment(), buildGoogleCloudVideointelligenceV1beta2TextSegment(), ]; -void checkUnnamed417( +void checkUnnamed419( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2TextSegment(o[0]); @@ -2845,7 +2845,7 @@ api.GoogleCloudVideointelligenceV1beta2TextAnnotation final o = api.GoogleCloudVideointelligenceV1beta2TextAnnotation(); buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation < 3) { - o.segments = buildUnnamed417(); + o.segments = buildUnnamed419(); o.text = 'foo'; o.version = 'foo'; } @@ -2857,7 +2857,7 @@ void checkGoogleCloudVideointelligenceV1beta2TextAnnotation( api.GoogleCloudVideointelligenceV1beta2TextAnnotation o) { buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation < 3) { - checkUnnamed417(o.segments!); + checkUnnamed419(o.segments!); unittest.expect( o.text!, unittest.equals('foo'), @@ -2898,13 +2898,13 @@ void checkGoogleCloudVideointelligenceV1beta2TextFrame( buildCounterGoogleCloudVideointelligenceV1beta2TextFrame--; } -core.List buildUnnamed418() => +core.List buildUnnamed420() => [ buildGoogleCloudVideointelligenceV1beta2TextFrame(), buildGoogleCloudVideointelligenceV1beta2TextFrame(), ]; -void checkUnnamed418( +void checkUnnamed420( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2TextFrame(o[0]); @@ -2918,7 +2918,7 @@ api.GoogleCloudVideointelligenceV1beta2TextSegment buildCounterGoogleCloudVideointelligenceV1beta2TextSegment++; if (buildCounterGoogleCloudVideointelligenceV1beta2TextSegment < 3) { o.confidence = 42.0; - o.frames = buildUnnamed418(); + o.frames = buildUnnamed420(); o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment(); } buildCounterGoogleCloudVideointelligenceV1beta2TextSegment--; @@ -2933,19 +2933,19 @@ void checkGoogleCloudVideointelligenceV1beta2TextSegment( o.confidence!, unittest.equals(42.0), ); - checkUnnamed418(o.frames!); + checkUnnamed420(o.frames!); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment!); } buildCounterGoogleCloudVideointelligenceV1beta2TextSegment--; } core.List - buildUnnamed419() => [ + buildUnnamed421() => [ buildGoogleCloudVideointelligenceV1beta2DetectedAttribute(), buildGoogleCloudVideointelligenceV1beta2DetectedAttribute(), ]; -void checkUnnamed419( +void checkUnnamed421( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2DetectedAttribute(o[0]); @@ -2953,12 +2953,12 @@ void checkUnnamed419( } core.List - buildUnnamed420() => [ + buildUnnamed422() => [ buildGoogleCloudVideointelligenceV1beta2DetectedLandmark(), buildGoogleCloudVideointelligenceV1beta2DetectedLandmark(), ]; -void checkUnnamed420( +void checkUnnamed422( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2DetectedLandmark(o[0]); @@ -2971,8 +2971,8 @@ api.GoogleCloudVideointelligenceV1beta2TimestampedObject final o = api.GoogleCloudVideointelligenceV1beta2TimestampedObject(); buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject < 3) { - o.attributes = buildUnnamed419(); - o.landmarks = buildUnnamed420(); + o.attributes = buildUnnamed421(); + o.landmarks = buildUnnamed422(); o.normalizedBoundingBox = buildGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(); o.timeOffset = 'foo'; @@ -2985,8 +2985,8 @@ void checkGoogleCloudVideointelligenceV1beta2TimestampedObject( api.GoogleCloudVideointelligenceV1beta2TimestampedObject o) { buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject < 3) { - checkUnnamed419(o.attributes!); - checkUnnamed420(o.landmarks!); + checkUnnamed421(o.attributes!); + checkUnnamed422(o.landmarks!); checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox( o.normalizedBoundingBox!); unittest.expect( @@ -2998,12 +2998,12 @@ void checkGoogleCloudVideointelligenceV1beta2TimestampedObject( } core.List - buildUnnamed421() => [ + buildUnnamed423() => [ buildGoogleCloudVideointelligenceV1beta2DetectedAttribute(), buildGoogleCloudVideointelligenceV1beta2DetectedAttribute(), ]; -void checkUnnamed421( +void checkUnnamed423( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2DetectedAttribute(o[0]); @@ -3011,12 +3011,12 @@ void checkUnnamed421( } core.List - buildUnnamed422() => [ + buildUnnamed424() => [ buildGoogleCloudVideointelligenceV1beta2TimestampedObject(), buildGoogleCloudVideointelligenceV1beta2TimestampedObject(), ]; -void checkUnnamed422( +void checkUnnamed424( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2TimestampedObject(o[0]); @@ -3029,10 +3029,10 @@ api.GoogleCloudVideointelligenceV1beta2Track final o = api.GoogleCloudVideointelligenceV1beta2Track(); buildCounterGoogleCloudVideointelligenceV1beta2Track++; if (buildCounterGoogleCloudVideointelligenceV1beta2Track < 3) { - o.attributes = buildUnnamed421(); + o.attributes = buildUnnamed423(); o.confidence = 42.0; o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment(); - o.timestampedObjects = buildUnnamed422(); + o.timestampedObjects = buildUnnamed424(); } buildCounterGoogleCloudVideointelligenceV1beta2Track--; return o; @@ -3042,13 +3042,13 @@ void checkGoogleCloudVideointelligenceV1beta2Track( api.GoogleCloudVideointelligenceV1beta2Track o) { buildCounterGoogleCloudVideointelligenceV1beta2Track++; if (buildCounterGoogleCloudVideointelligenceV1beta2Track < 3) { - checkUnnamed421(o.attributes!); + checkUnnamed423(o.attributes!); unittest.expect( o.confidence!, unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment!); - checkUnnamed422(o.timestampedObjects!); + checkUnnamed424(o.timestampedObjects!); } buildCounterGoogleCloudVideointelligenceV1beta2Track--; } @@ -3103,12 +3103,12 @@ void checkGoogleCloudVideointelligenceV1beta2VideoAnnotationProgress( } core.List - buildUnnamed423() => [ + buildUnnamed425() => [ buildGoogleCloudVideointelligenceV1beta2FaceAnnotation(), buildGoogleCloudVideointelligenceV1beta2FaceAnnotation(), ]; -void checkUnnamed423( +void checkUnnamed425( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2FaceAnnotation(o[0]); @@ -3116,12 +3116,12 @@ void checkUnnamed423( } core.List - buildUnnamed424() => [ + buildUnnamed426() => [ buildGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation(), buildGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation(), ]; -void checkUnnamed424( +void checkUnnamed426( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3130,12 +3130,12 @@ void checkUnnamed424( } core.List - buildUnnamed425() => [ + buildUnnamed427() => [ buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), ]; -void checkUnnamed425( +void checkUnnamed427( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]); @@ -3143,12 +3143,12 @@ void checkUnnamed425( } core.List - buildUnnamed426() => [ + buildUnnamed428() => [ buildGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation(), buildGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation(), ]; -void checkUnnamed426( +void checkUnnamed428( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3157,12 +3157,12 @@ void checkUnnamed426( } core.List - buildUnnamed427() => [ + buildUnnamed429() => [ buildGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation(), buildGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation(), ]; -void checkUnnamed427( +void checkUnnamed429( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3171,12 +3171,12 @@ void checkUnnamed427( } core.List - buildUnnamed428() => [ + buildUnnamed430() => [ buildGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation(), buildGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation(), ]; -void checkUnnamed428( +void checkUnnamed430( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3185,12 +3185,12 @@ void checkUnnamed428( } core.List - buildUnnamed429() => [ + buildUnnamed431() => [ buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), ]; -void checkUnnamed429( +void checkUnnamed431( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]); @@ -3198,12 +3198,12 @@ void checkUnnamed429( } core.List - buildUnnamed430() => [ + buildUnnamed432() => [ buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), ]; -void checkUnnamed430( +void checkUnnamed432( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]); @@ -3211,12 +3211,12 @@ void checkUnnamed430( } core.List - buildUnnamed431() => [ + buildUnnamed433() => [ buildGoogleCloudVideointelligenceV1beta2VideoSegment(), buildGoogleCloudVideointelligenceV1beta2VideoSegment(), ]; -void checkUnnamed431( +void checkUnnamed433( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[0]); @@ -3224,12 +3224,12 @@ void checkUnnamed431( } core.List - buildUnnamed432() => [ + buildUnnamed434() => [ buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), ]; -void checkUnnamed432( +void checkUnnamed434( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]); @@ -3237,12 +3237,12 @@ void checkUnnamed432( } core.List - buildUnnamed433() => [ + buildUnnamed435() => [ buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), buildGoogleCloudVideointelligenceV1beta2LabelAnnotation(), ]; -void checkUnnamed433( +void checkUnnamed435( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]); @@ -3250,12 +3250,12 @@ void checkUnnamed433( } core.List - buildUnnamed434() => [ + buildUnnamed436() => [ buildGoogleCloudVideointelligenceV1beta2SpeechTranscription(), buildGoogleCloudVideointelligenceV1beta2SpeechTranscription(), ]; -void checkUnnamed434( +void checkUnnamed436( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2SpeechTranscription(o[0]); @@ -3263,12 +3263,12 @@ void checkUnnamed434( } core.List - buildUnnamed435() => [ + buildUnnamed437() => [ buildGoogleCloudVideointelligenceV1beta2TextAnnotation(), buildGoogleCloudVideointelligenceV1beta2TextAnnotation(), ]; -void checkUnnamed435( +void checkUnnamed437( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1beta2TextAnnotation(o[0]); @@ -3286,21 +3286,21 @@ api.GoogleCloudVideointelligenceV1beta2VideoAnnotationResults o.error = buildGoogleRpcStatus(); o.explicitAnnotation = buildGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation(); - o.faceAnnotations = buildUnnamed423(); - o.faceDetectionAnnotations = buildUnnamed424(); - o.frameLabelAnnotations = buildUnnamed425(); + o.faceAnnotations = buildUnnamed425(); + o.faceDetectionAnnotations = buildUnnamed426(); + o.frameLabelAnnotations = buildUnnamed427(); o.inputUri = 'foo'; - o.logoRecognitionAnnotations = buildUnnamed426(); - o.objectAnnotations = buildUnnamed427(); - o.personDetectionAnnotations = buildUnnamed428(); + o.logoRecognitionAnnotations = buildUnnamed428(); + o.objectAnnotations = buildUnnamed429(); + o.personDetectionAnnotations = buildUnnamed430(); o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment(); - o.segmentLabelAnnotations = buildUnnamed429(); - o.segmentPresenceLabelAnnotations = buildUnnamed430(); - o.shotAnnotations = buildUnnamed431(); - o.shotLabelAnnotations = buildUnnamed432(); - o.shotPresenceLabelAnnotations = buildUnnamed433(); - o.speechTranscriptions = buildUnnamed434(); - o.textAnnotations = buildUnnamed435(); + o.segmentLabelAnnotations = buildUnnamed431(); + o.segmentPresenceLabelAnnotations = buildUnnamed432(); + o.shotAnnotations = buildUnnamed433(); + o.shotLabelAnnotations = buildUnnamed434(); + o.shotPresenceLabelAnnotations = buildUnnamed435(); + o.speechTranscriptions = buildUnnamed436(); + o.textAnnotations = buildUnnamed437(); } buildCounterGoogleCloudVideointelligenceV1beta2VideoAnnotationResults--; return o; @@ -3314,24 +3314,24 @@ void checkGoogleCloudVideointelligenceV1beta2VideoAnnotationResults( checkGoogleRpcStatus(o.error!); checkGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation( o.explicitAnnotation!); - checkUnnamed423(o.faceAnnotations!); - checkUnnamed424(o.faceDetectionAnnotations!); - checkUnnamed425(o.frameLabelAnnotations!); + checkUnnamed425(o.faceAnnotations!); + checkUnnamed426(o.faceDetectionAnnotations!); + checkUnnamed427(o.frameLabelAnnotations!); unittest.expect( o.inputUri!, unittest.equals('foo'), ); - checkUnnamed426(o.logoRecognitionAnnotations!); - checkUnnamed427(o.objectAnnotations!); - checkUnnamed428(o.personDetectionAnnotations!); + checkUnnamed428(o.logoRecognitionAnnotations!); + checkUnnamed429(o.objectAnnotations!); + checkUnnamed430(o.personDetectionAnnotations!); checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment!); - checkUnnamed429(o.segmentLabelAnnotations!); - checkUnnamed430(o.segmentPresenceLabelAnnotations!); - checkUnnamed431(o.shotAnnotations!); - checkUnnamed432(o.shotLabelAnnotations!); - checkUnnamed433(o.shotPresenceLabelAnnotations!); - checkUnnamed434(o.speechTranscriptions!); - checkUnnamed435(o.textAnnotations!); + checkUnnamed431(o.segmentLabelAnnotations!); + checkUnnamed432(o.segmentPresenceLabelAnnotations!); + checkUnnamed433(o.shotAnnotations!); + checkUnnamed434(o.shotLabelAnnotations!); + checkUnnamed435(o.shotPresenceLabelAnnotations!); + checkUnnamed436(o.speechTranscriptions!); + checkUnnamed437(o.textAnnotations!); } buildCounterGoogleCloudVideointelligenceV1beta2VideoAnnotationResults--; } @@ -3410,12 +3410,12 @@ void checkGoogleCloudVideointelligenceV1beta2WordInfo( } core.List - buildUnnamed436() => [ + buildUnnamed438() => [ buildGoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress(), buildGoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress(), ]; -void checkUnnamed436( +void checkUnnamed438( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3431,7 +3431,7 @@ api.GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress < 3) { - o.annotationProgress = buildUnnamed436(); + o.annotationProgress = buildUnnamed438(); } buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress--; return o; @@ -3442,18 +3442,18 @@ void checkGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress( buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress < 3) { - checkUnnamed436(o.annotationProgress!); + checkUnnamed438(o.annotationProgress!); } buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress--; } core.List - buildUnnamed437() => [ + buildUnnamed439() => [ buildGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults(), buildGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults(), ]; -void checkUnnamed437( +void checkUnnamed439( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3469,7 +3469,7 @@ api.GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse < 3) { - o.annotationResults = buildUnnamed437(); + o.annotationResults = buildUnnamed439(); } buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse--; return o; @@ -3480,7 +3480,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse( buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse < 3) { - checkUnnamed437(o.annotationResults!); + checkUnnamed439(o.annotationResults!); } buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse--; } @@ -3585,12 +3585,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1Entity( } core.List - buildUnnamed438() => [ + buildUnnamed440() => [ buildGoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame(), buildGoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame(), ]; -void checkUnnamed438( +void checkUnnamed440( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3608,7 +3608,7 @@ api.GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation < 3) { - o.frames = buildUnnamed438(); + o.frames = buildUnnamed440(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation--; @@ -3620,7 +3620,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation( buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation < 3) { - checkUnnamed438(o.frames!); + checkUnnamed440(o.frames!); unittest.expect( o.version!, unittest.equals('foo'), @@ -3662,12 +3662,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame( } core.List - buildUnnamed439() => [ + buildUnnamed441() => [ buildGoogleCloudVideointelligenceV1p1beta1FaceFrame(), buildGoogleCloudVideointelligenceV1p1beta1FaceFrame(), ]; -void checkUnnamed439( +void checkUnnamed441( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1FaceFrame(o[0]); @@ -3675,12 +3675,12 @@ void checkUnnamed439( } core.List - buildUnnamed440() => [ + buildUnnamed442() => [ buildGoogleCloudVideointelligenceV1p1beta1FaceSegment(), buildGoogleCloudVideointelligenceV1p1beta1FaceSegment(), ]; -void checkUnnamed440( +void checkUnnamed442( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1FaceSegment(o[0]); @@ -3693,8 +3693,8 @@ api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation final o = api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation(); buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation < 3) { - o.frames = buildUnnamed439(); - o.segments = buildUnnamed440(); + o.frames = buildUnnamed441(); + o.segments = buildUnnamed442(); o.thumbnail = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation--; @@ -3705,8 +3705,8 @@ void checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation( api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation < 3) { - checkUnnamed439(o.frames!); - checkUnnamed440(o.segments!); + checkUnnamed441(o.frames!); + checkUnnamed442(o.segments!); unittest.expect( o.thumbnail!, unittest.equals('foo'), @@ -3715,12 +3715,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation( buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation--; } -core.List buildUnnamed441() => [ +core.List buildUnnamed443() => [ buildGoogleCloudVideointelligenceV1p1beta1Track(), buildGoogleCloudVideointelligenceV1p1beta1Track(), ]; -void checkUnnamed441( +void checkUnnamed443( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1Track(o[0]); @@ -3737,7 +3737,7 @@ api.GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation < 3) { o.thumbnail = 'foo'; - o.tracks = buildUnnamed441(); + o.tracks = buildUnnamed443(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation--; @@ -3753,7 +3753,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation( o.thumbnail!, unittest.equals('foo'), ); - checkUnnamed441(o.tracks!); + checkUnnamed443(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -3763,12 +3763,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation( } core.List - buildUnnamed442() => [ + buildUnnamed444() => [ buildGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox(), buildGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox(), ]; -void checkUnnamed442( +void checkUnnamed444( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -3782,7 +3782,7 @@ api.GoogleCloudVideointelligenceV1p1beta1FaceFrame final o = api.GoogleCloudVideointelligenceV1p1beta1FaceFrame(); buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame < 3) { - o.normalizedBoundingBoxes = buildUnnamed442(); + o.normalizedBoundingBoxes = buildUnnamed444(); o.timeOffset = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame--; @@ -3793,7 +3793,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1FaceFrame( api.GoogleCloudVideointelligenceV1p1beta1FaceFrame o) { buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame < 3) { - checkUnnamed442(o.normalizedBoundingBoxes!); + checkUnnamed444(o.normalizedBoundingBoxes!); unittest.expect( o.timeOffset!, unittest.equals('foo'), @@ -3823,13 +3823,13 @@ void checkGoogleCloudVideointelligenceV1p1beta1FaceSegment( buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment--; } -core.List buildUnnamed443() => +core.List buildUnnamed445() => [ buildGoogleCloudVideointelligenceV1p1beta1Entity(), buildGoogleCloudVideointelligenceV1p1beta1Entity(), ]; -void checkUnnamed443( +void checkUnnamed445( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1Entity(o[0]); @@ -3837,12 +3837,12 @@ void checkUnnamed443( } core.List - buildUnnamed444() => [ + buildUnnamed446() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelFrame(), buildGoogleCloudVideointelligenceV1p1beta1LabelFrame(), ]; -void checkUnnamed444( +void checkUnnamed446( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelFrame(o[0]); @@ -3850,12 +3850,12 @@ void checkUnnamed444( } core.List - buildUnnamed445() => [ + buildUnnamed447() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelSegment(), buildGoogleCloudVideointelligenceV1p1beta1LabelSegment(), ]; -void checkUnnamed445( +void checkUnnamed447( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelSegment(o[0]); @@ -3868,10 +3868,10 @@ api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation final o = api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation(); buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation < 3) { - o.categoryEntities = buildUnnamed443(); + o.categoryEntities = buildUnnamed445(); o.entity = buildGoogleCloudVideointelligenceV1p1beta1Entity(); - o.frames = buildUnnamed444(); - o.segments = buildUnnamed445(); + o.frames = buildUnnamed446(); + o.segments = buildUnnamed447(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation--; @@ -3882,10 +3882,10 @@ void checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation( api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation < 3) { - checkUnnamed443(o.categoryEntities!); + checkUnnamed445(o.categoryEntities!); checkGoogleCloudVideointelligenceV1p1beta1Entity(o.entity!); - checkUnnamed444(o.frames!); - checkUnnamed445(o.segments!); + checkUnnamed446(o.frames!); + checkUnnamed447(o.segments!); unittest.expect( o.version!, unittest.equals('foo'), @@ -3950,24 +3950,24 @@ void checkGoogleCloudVideointelligenceV1p1beta1LabelSegment( } core.List - buildUnnamed446() => [ + buildUnnamed448() => [ buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(), ]; -void checkUnnamed446( +void checkUnnamed448( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[0]); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[1]); } -core.List buildUnnamed447() => [ +core.List buildUnnamed449() => [ buildGoogleCloudVideointelligenceV1p1beta1Track(), buildGoogleCloudVideointelligenceV1p1beta1Track(), ]; -void checkUnnamed447( +void checkUnnamed449( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1Track(o[0]); @@ -3985,8 +3985,8 @@ api.GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation if (buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation < 3) { o.entity = buildGoogleCloudVideointelligenceV1p1beta1Entity(); - o.segments = buildUnnamed446(); - o.tracks = buildUnnamed447(); + o.segments = buildUnnamed448(); + o.tracks = buildUnnamed449(); } buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation--; return o; @@ -3998,8 +3998,8 @@ void checkGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation( if (buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation < 3) { checkGoogleCloudVideointelligenceV1p1beta1Entity(o.entity!); - checkUnnamed446(o.segments!); - checkUnnamed447(o.tracks!); + checkUnnamed448(o.segments!); + checkUnnamed449(o.tracks!); } buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation--; } @@ -4047,12 +4047,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox( } core.List - buildUnnamed448() => [ + buildUnnamed450() => [ buildGoogleCloudVideointelligenceV1p1beta1NormalizedVertex(), buildGoogleCloudVideointelligenceV1p1beta1NormalizedVertex(), ]; -void checkUnnamed448( +void checkUnnamed450( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1NormalizedVertex(o[0]); @@ -4067,7 +4067,7 @@ api.GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly < 3) { - o.vertices = buildUnnamed448(); + o.vertices = buildUnnamed450(); } buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly--; return o; @@ -4078,7 +4078,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly( buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly < 3) { - checkUnnamed448(o.vertices!); + checkUnnamed450(o.vertices!); } buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly--; } @@ -4113,12 +4113,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1NormalizedVertex( } core.List - buildUnnamed449() => [ + buildUnnamed451() => [ buildGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame(), buildGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame(), ]; -void checkUnnamed449( +void checkUnnamed451( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame(o[0]); @@ -4136,7 +4136,7 @@ api.GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation 3) { o.confidence = 42.0; o.entity = buildGoogleCloudVideointelligenceV1p1beta1Entity(); - o.frames = buildUnnamed449(); + o.frames = buildUnnamed451(); o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(); o.trackId = 'foo'; o.version = 'foo'; @@ -4155,7 +4155,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation( unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1p1beta1Entity(o.entity!); - checkUnnamed449(o.frames!); + checkUnnamed451(o.frames!); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment!); unittest.expect( o.trackId!, @@ -4200,12 +4200,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame( buildCounterGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame--; } -core.List buildUnnamed450() => [ +core.List buildUnnamed452() => [ buildGoogleCloudVideointelligenceV1p1beta1Track(), buildGoogleCloudVideointelligenceV1p1beta1Track(), ]; -void checkUnnamed450( +void checkUnnamed452( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1Track(o[0]); @@ -4222,7 +4222,7 @@ api.GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation < 3) { - o.tracks = buildUnnamed450(); + o.tracks = buildUnnamed452(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation--; @@ -4234,7 +4234,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation( buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation < 3) { - checkUnnamed450(o.tracks!); + checkUnnamed452(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -4244,12 +4244,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation( } core.List - buildUnnamed451() => [ + buildUnnamed453() => [ buildGoogleCloudVideointelligenceV1p1beta1WordInfo(), buildGoogleCloudVideointelligenceV1p1beta1WordInfo(), ]; -void checkUnnamed451( +void checkUnnamed453( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1WordInfo(o[0]); @@ -4268,7 +4268,7 @@ api.GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative 3) { o.confidence = 42.0; o.transcript = 'foo'; - o.words = buildUnnamed451(); + o.words = buildUnnamed453(); } buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative--; return o; @@ -4287,18 +4287,18 @@ void checkGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative( o.transcript!, unittest.equals('foo'), ); - checkUnnamed451(o.words!); + checkUnnamed453(o.words!); } buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative--; } core.List - buildUnnamed452() => [ + buildUnnamed454() => [ buildGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative(), buildGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative(), ]; -void checkUnnamed452( +void checkUnnamed454( core.List< api.GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative> o) { @@ -4315,7 +4315,7 @@ api.GoogleCloudVideointelligenceV1p1beta1SpeechTranscription buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription < 3) { - o.alternatives = buildUnnamed452(); + o.alternatives = buildUnnamed454(); o.languageCode = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription--; @@ -4327,7 +4327,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1SpeechTranscription( buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription < 3) { - checkUnnamed452(o.alternatives!); + checkUnnamed454(o.alternatives!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -4337,12 +4337,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1SpeechTranscription( } core.List - buildUnnamed453() => [ + buildUnnamed455() => [ buildGoogleCloudVideointelligenceV1p1beta1TextSegment(), buildGoogleCloudVideointelligenceV1p1beta1TextSegment(), ]; -void checkUnnamed453( +void checkUnnamed455( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1TextSegment(o[0]); @@ -4355,7 +4355,7 @@ api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation final o = api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation(); buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation < 3) { - o.segments = buildUnnamed453(); + o.segments = buildUnnamed455(); o.text = 'foo'; o.version = 'foo'; } @@ -4367,7 +4367,7 @@ void checkGoogleCloudVideointelligenceV1p1beta1TextAnnotation( api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation < 3) { - checkUnnamed453(o.segments!); + checkUnnamed455(o.segments!); unittest.expect( o.text!, unittest.equals('foo'), @@ -4409,12 +4409,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1TextFrame( } core.List - buildUnnamed454() => [ + buildUnnamed456() => [ buildGoogleCloudVideointelligenceV1p1beta1TextFrame(), buildGoogleCloudVideointelligenceV1p1beta1TextFrame(), ]; -void checkUnnamed454( +void checkUnnamed456( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1TextFrame(o[0]); @@ -4428,7 +4428,7 @@ api.GoogleCloudVideointelligenceV1p1beta1TextSegment buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment < 3) { o.confidence = 42.0; - o.frames = buildUnnamed454(); + o.frames = buildUnnamed456(); o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(); } buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment--; @@ -4443,19 +4443,19 @@ void checkGoogleCloudVideointelligenceV1p1beta1TextSegment( o.confidence!, unittest.equals(42.0), ); - checkUnnamed454(o.frames!); + checkUnnamed456(o.frames!); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment!); } buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment--; } core.List - buildUnnamed455() => [ + buildUnnamed457() => [ buildGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(), buildGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(), ]; -void checkUnnamed455( +void checkUnnamed457( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(o[0]); @@ -4463,12 +4463,12 @@ void checkUnnamed455( } core.List - buildUnnamed456() => [ + buildUnnamed458() => [ buildGoogleCloudVideointelligenceV1p1beta1DetectedLandmark(), buildGoogleCloudVideointelligenceV1p1beta1DetectedLandmark(), ]; -void checkUnnamed456( +void checkUnnamed458( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1DetectedLandmark(o[0]); @@ -4481,8 +4481,8 @@ api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject final o = api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject(); buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject < 3) { - o.attributes = buildUnnamed455(); - o.landmarks = buildUnnamed456(); + o.attributes = buildUnnamed457(); + o.landmarks = buildUnnamed458(); o.normalizedBoundingBox = buildGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox(); o.timeOffset = 'foo'; @@ -4495,8 +4495,8 @@ void checkGoogleCloudVideointelligenceV1p1beta1TimestampedObject( api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject o) { buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject < 3) { - checkUnnamed455(o.attributes!); - checkUnnamed456(o.landmarks!); + checkUnnamed457(o.attributes!); + checkUnnamed458(o.landmarks!); checkGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox( o.normalizedBoundingBox!); unittest.expect( @@ -4508,12 +4508,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1TimestampedObject( } core.List - buildUnnamed457() => [ + buildUnnamed459() => [ buildGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(), buildGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(), ]; -void checkUnnamed457( +void checkUnnamed459( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(o[0]); @@ -4521,12 +4521,12 @@ void checkUnnamed457( } core.List - buildUnnamed458() => [ + buildUnnamed460() => [ buildGoogleCloudVideointelligenceV1p1beta1TimestampedObject(), buildGoogleCloudVideointelligenceV1p1beta1TimestampedObject(), ]; -void checkUnnamed458( +void checkUnnamed460( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1TimestampedObject(o[0]); @@ -4539,10 +4539,10 @@ api.GoogleCloudVideointelligenceV1p1beta1Track final o = api.GoogleCloudVideointelligenceV1p1beta1Track(); buildCounterGoogleCloudVideointelligenceV1p1beta1Track++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1Track < 3) { - o.attributes = buildUnnamed457(); + o.attributes = buildUnnamed459(); o.confidence = 42.0; o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(); - o.timestampedObjects = buildUnnamed458(); + o.timestampedObjects = buildUnnamed460(); } buildCounterGoogleCloudVideointelligenceV1p1beta1Track--; return o; @@ -4552,13 +4552,13 @@ void checkGoogleCloudVideointelligenceV1p1beta1Track( api.GoogleCloudVideointelligenceV1p1beta1Track o) { buildCounterGoogleCloudVideointelligenceV1p1beta1Track++; if (buildCounterGoogleCloudVideointelligenceV1p1beta1Track < 3) { - checkUnnamed457(o.attributes!); + checkUnnamed459(o.attributes!); unittest.expect( o.confidence!, unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment!); - checkUnnamed458(o.timestampedObjects!); + checkUnnamed460(o.timestampedObjects!); } buildCounterGoogleCloudVideointelligenceV1p1beta1Track--; } @@ -4614,12 +4614,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress( } core.List - buildUnnamed459() => [ + buildUnnamed461() => [ buildGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(), ]; -void checkUnnamed459( +void checkUnnamed461( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(o[0]); @@ -4627,12 +4627,12 @@ void checkUnnamed459( } core.List - buildUnnamed460() => [ + buildUnnamed462() => [ buildGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation(), ]; -void checkUnnamed460( +void checkUnnamed462( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4641,12 +4641,12 @@ void checkUnnamed460( } core.List - buildUnnamed461() => [ + buildUnnamed463() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), ]; -void checkUnnamed461( +void checkUnnamed463( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]); @@ -4654,12 +4654,12 @@ void checkUnnamed461( } core.List - buildUnnamed462() => [ + buildUnnamed464() => [ buildGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation(), ]; -void checkUnnamed462( +void checkUnnamed464( core.List< api.GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation> o) { @@ -4669,12 +4669,12 @@ void checkUnnamed462( } core.List - buildUnnamed463() => [ + buildUnnamed465() => [ buildGoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation(), ]; -void checkUnnamed463( +void checkUnnamed465( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4683,12 +4683,12 @@ void checkUnnamed463( } core.List - buildUnnamed464() => [ + buildUnnamed466() => [ buildGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation(), ]; -void checkUnnamed464( +void checkUnnamed466( core.List< api.GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation> o) { @@ -4698,12 +4698,12 @@ void checkUnnamed464( } core.List - buildUnnamed465() => [ + buildUnnamed467() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), ]; -void checkUnnamed465( +void checkUnnamed467( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]); @@ -4711,12 +4711,12 @@ void checkUnnamed465( } core.List - buildUnnamed466() => [ + buildUnnamed468() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), ]; -void checkUnnamed466( +void checkUnnamed468( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]); @@ -4724,12 +4724,12 @@ void checkUnnamed466( } core.List - buildUnnamed467() => [ + buildUnnamed469() => [ buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(), ]; -void checkUnnamed467( +void checkUnnamed469( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[0]); @@ -4737,12 +4737,12 @@ void checkUnnamed467( } core.List - buildUnnamed468() => [ + buildUnnamed470() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), ]; -void checkUnnamed468( +void checkUnnamed470( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]); @@ -4750,12 +4750,12 @@ void checkUnnamed468( } core.List - buildUnnamed469() => [ + buildUnnamed471() => [ buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(), ]; -void checkUnnamed469( +void checkUnnamed471( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]); @@ -4763,12 +4763,12 @@ void checkUnnamed469( } core.List - buildUnnamed470() => [ + buildUnnamed472() => [ buildGoogleCloudVideointelligenceV1p1beta1SpeechTranscription(), buildGoogleCloudVideointelligenceV1p1beta1SpeechTranscription(), ]; -void checkUnnamed470( +void checkUnnamed472( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1SpeechTranscription(o[0]); @@ -4776,12 +4776,12 @@ void checkUnnamed470( } core.List - buildUnnamed471() => [ + buildUnnamed473() => [ buildGoogleCloudVideointelligenceV1p1beta1TextAnnotation(), buildGoogleCloudVideointelligenceV1p1beta1TextAnnotation(), ]; -void checkUnnamed471( +void checkUnnamed473( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p1beta1TextAnnotation(o[0]); @@ -4799,21 +4799,21 @@ api.GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults o.error = buildGoogleRpcStatus(); o.explicitAnnotation = buildGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation(); - o.faceAnnotations = buildUnnamed459(); - o.faceDetectionAnnotations = buildUnnamed460(); - o.frameLabelAnnotations = buildUnnamed461(); + o.faceAnnotations = buildUnnamed461(); + o.faceDetectionAnnotations = buildUnnamed462(); + o.frameLabelAnnotations = buildUnnamed463(); o.inputUri = 'foo'; - o.logoRecognitionAnnotations = buildUnnamed462(); - o.objectAnnotations = buildUnnamed463(); - o.personDetectionAnnotations = buildUnnamed464(); + o.logoRecognitionAnnotations = buildUnnamed464(); + o.objectAnnotations = buildUnnamed465(); + o.personDetectionAnnotations = buildUnnamed466(); o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment(); - o.segmentLabelAnnotations = buildUnnamed465(); - o.segmentPresenceLabelAnnotations = buildUnnamed466(); - o.shotAnnotations = buildUnnamed467(); - o.shotLabelAnnotations = buildUnnamed468(); - o.shotPresenceLabelAnnotations = buildUnnamed469(); - o.speechTranscriptions = buildUnnamed470(); - o.textAnnotations = buildUnnamed471(); + o.segmentLabelAnnotations = buildUnnamed467(); + o.segmentPresenceLabelAnnotations = buildUnnamed468(); + o.shotAnnotations = buildUnnamed469(); + o.shotLabelAnnotations = buildUnnamed470(); + o.shotPresenceLabelAnnotations = buildUnnamed471(); + o.speechTranscriptions = buildUnnamed472(); + o.textAnnotations = buildUnnamed473(); } buildCounterGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults--; return o; @@ -4827,24 +4827,24 @@ void checkGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults( checkGoogleRpcStatus(o.error!); checkGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation( o.explicitAnnotation!); - checkUnnamed459(o.faceAnnotations!); - checkUnnamed460(o.faceDetectionAnnotations!); - checkUnnamed461(o.frameLabelAnnotations!); + checkUnnamed461(o.faceAnnotations!); + checkUnnamed462(o.faceDetectionAnnotations!); + checkUnnamed463(o.frameLabelAnnotations!); unittest.expect( o.inputUri!, unittest.equals('foo'), ); - checkUnnamed462(o.logoRecognitionAnnotations!); - checkUnnamed463(o.objectAnnotations!); - checkUnnamed464(o.personDetectionAnnotations!); + checkUnnamed464(o.logoRecognitionAnnotations!); + checkUnnamed465(o.objectAnnotations!); + checkUnnamed466(o.personDetectionAnnotations!); checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment!); - checkUnnamed465(o.segmentLabelAnnotations!); - checkUnnamed466(o.segmentPresenceLabelAnnotations!); - checkUnnamed467(o.shotAnnotations!); - checkUnnamed468(o.shotLabelAnnotations!); - checkUnnamed469(o.shotPresenceLabelAnnotations!); - checkUnnamed470(o.speechTranscriptions!); - checkUnnamed471(o.textAnnotations!); + checkUnnamed467(o.segmentLabelAnnotations!); + checkUnnamed468(o.segmentPresenceLabelAnnotations!); + checkUnnamed469(o.shotAnnotations!); + checkUnnamed470(o.shotLabelAnnotations!); + checkUnnamed471(o.shotPresenceLabelAnnotations!); + checkUnnamed472(o.speechTranscriptions!); + checkUnnamed473(o.textAnnotations!); } buildCounterGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults--; } @@ -4923,12 +4923,12 @@ void checkGoogleCloudVideointelligenceV1p1beta1WordInfo( } core.List - buildUnnamed472() => [ + buildUnnamed474() => [ buildGoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress(), buildGoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress(), ]; -void checkUnnamed472( +void checkUnnamed474( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4944,7 +4944,7 @@ api.GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress < 3) { - o.annotationProgress = buildUnnamed472(); + o.annotationProgress = buildUnnamed474(); } buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress--; return o; @@ -4955,18 +4955,18 @@ void checkGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress( buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress < 3) { - checkUnnamed472(o.annotationProgress!); + checkUnnamed474(o.annotationProgress!); } buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress--; } core.List - buildUnnamed473() => [ + buildUnnamed475() => [ buildGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults(), buildGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults(), ]; -void checkUnnamed473( +void checkUnnamed475( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4982,7 +4982,7 @@ api.GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse < 3) { - o.annotationResults = buildUnnamed473(); + o.annotationResults = buildUnnamed475(); } buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse--; return o; @@ -4993,7 +4993,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse( buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse < 3) { - checkUnnamed473(o.annotationResults!); + checkUnnamed475(o.annotationResults!); } buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse--; } @@ -5098,12 +5098,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1Entity( } core.List - buildUnnamed474() => [ + buildUnnamed476() => [ buildGoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame(), buildGoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame(), ]; -void checkUnnamed474( +void checkUnnamed476( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -5121,7 +5121,7 @@ api.GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation < 3) { - o.frames = buildUnnamed474(); + o.frames = buildUnnamed476(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation--; @@ -5133,7 +5133,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation( buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation < 3) { - checkUnnamed474(o.frames!); + checkUnnamed476(o.frames!); unittest.expect( o.version!, unittest.equals('foo'), @@ -5175,12 +5175,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame( } core.List - buildUnnamed475() => [ + buildUnnamed477() => [ buildGoogleCloudVideointelligenceV1p2beta1FaceFrame(), buildGoogleCloudVideointelligenceV1p2beta1FaceFrame(), ]; -void checkUnnamed475( +void checkUnnamed477( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1FaceFrame(o[0]); @@ -5188,12 +5188,12 @@ void checkUnnamed475( } core.List - buildUnnamed476() => [ + buildUnnamed478() => [ buildGoogleCloudVideointelligenceV1p2beta1FaceSegment(), buildGoogleCloudVideointelligenceV1p2beta1FaceSegment(), ]; -void checkUnnamed476( +void checkUnnamed478( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1FaceSegment(o[0]); @@ -5206,8 +5206,8 @@ api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation final o = api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation(); buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation < 3) { - o.frames = buildUnnamed475(); - o.segments = buildUnnamed476(); + o.frames = buildUnnamed477(); + o.segments = buildUnnamed478(); o.thumbnail = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation--; @@ -5218,8 +5218,8 @@ void checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation( api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation < 3) { - checkUnnamed475(o.frames!); - checkUnnamed476(o.segments!); + checkUnnamed477(o.frames!); + checkUnnamed478(o.segments!); unittest.expect( o.thumbnail!, unittest.equals('foo'), @@ -5228,12 +5228,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation( buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation--; } -core.List buildUnnamed477() => [ +core.List buildUnnamed479() => [ buildGoogleCloudVideointelligenceV1p2beta1Track(), buildGoogleCloudVideointelligenceV1p2beta1Track(), ]; -void checkUnnamed477( +void checkUnnamed479( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1Track(o[0]); @@ -5250,7 +5250,7 @@ api.GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation < 3) { o.thumbnail = 'foo'; - o.tracks = buildUnnamed477(); + o.tracks = buildUnnamed479(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation--; @@ -5266,7 +5266,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation( o.thumbnail!, unittest.equals('foo'), ); - checkUnnamed477(o.tracks!); + checkUnnamed479(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -5276,12 +5276,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation( } core.List - buildUnnamed478() => [ + buildUnnamed480() => [ buildGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox(), buildGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox(), ]; -void checkUnnamed478( +void checkUnnamed480( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -5295,7 +5295,7 @@ api.GoogleCloudVideointelligenceV1p2beta1FaceFrame final o = api.GoogleCloudVideointelligenceV1p2beta1FaceFrame(); buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame < 3) { - o.normalizedBoundingBoxes = buildUnnamed478(); + o.normalizedBoundingBoxes = buildUnnamed480(); o.timeOffset = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame--; @@ -5306,7 +5306,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1FaceFrame( api.GoogleCloudVideointelligenceV1p2beta1FaceFrame o) { buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame < 3) { - checkUnnamed478(o.normalizedBoundingBoxes!); + checkUnnamed480(o.normalizedBoundingBoxes!); unittest.expect( o.timeOffset!, unittest.equals('foo'), @@ -5336,13 +5336,13 @@ void checkGoogleCloudVideointelligenceV1p2beta1FaceSegment( buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment--; } -core.List buildUnnamed479() => +core.List buildUnnamed481() => [ buildGoogleCloudVideointelligenceV1p2beta1Entity(), buildGoogleCloudVideointelligenceV1p2beta1Entity(), ]; -void checkUnnamed479( +void checkUnnamed481( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1Entity(o[0]); @@ -5350,12 +5350,12 @@ void checkUnnamed479( } core.List - buildUnnamed480() => [ + buildUnnamed482() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelFrame(), buildGoogleCloudVideointelligenceV1p2beta1LabelFrame(), ]; -void checkUnnamed480( +void checkUnnamed482( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelFrame(o[0]); @@ -5363,12 +5363,12 @@ void checkUnnamed480( } core.List - buildUnnamed481() => [ + buildUnnamed483() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelSegment(), buildGoogleCloudVideointelligenceV1p2beta1LabelSegment(), ]; -void checkUnnamed481( +void checkUnnamed483( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelSegment(o[0]); @@ -5381,10 +5381,10 @@ api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation final o = api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation(); buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation < 3) { - o.categoryEntities = buildUnnamed479(); + o.categoryEntities = buildUnnamed481(); o.entity = buildGoogleCloudVideointelligenceV1p2beta1Entity(); - o.frames = buildUnnamed480(); - o.segments = buildUnnamed481(); + o.frames = buildUnnamed482(); + o.segments = buildUnnamed483(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation--; @@ -5395,10 +5395,10 @@ void checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation( api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation < 3) { - checkUnnamed479(o.categoryEntities!); + checkUnnamed481(o.categoryEntities!); checkGoogleCloudVideointelligenceV1p2beta1Entity(o.entity!); - checkUnnamed480(o.frames!); - checkUnnamed481(o.segments!); + checkUnnamed482(o.frames!); + checkUnnamed483(o.segments!); unittest.expect( o.version!, unittest.equals('foo'), @@ -5463,24 +5463,24 @@ void checkGoogleCloudVideointelligenceV1p2beta1LabelSegment( } core.List - buildUnnamed482() => [ + buildUnnamed484() => [ buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(), ]; -void checkUnnamed482( +void checkUnnamed484( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[0]); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[1]); } -core.List buildUnnamed483() => [ +core.List buildUnnamed485() => [ buildGoogleCloudVideointelligenceV1p2beta1Track(), buildGoogleCloudVideointelligenceV1p2beta1Track(), ]; -void checkUnnamed483( +void checkUnnamed485( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1Track(o[0]); @@ -5498,8 +5498,8 @@ api.GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation if (buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation < 3) { o.entity = buildGoogleCloudVideointelligenceV1p2beta1Entity(); - o.segments = buildUnnamed482(); - o.tracks = buildUnnamed483(); + o.segments = buildUnnamed484(); + o.tracks = buildUnnamed485(); } buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation--; return o; @@ -5511,8 +5511,8 @@ void checkGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation( if (buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation < 3) { checkGoogleCloudVideointelligenceV1p2beta1Entity(o.entity!); - checkUnnamed482(o.segments!); - checkUnnamed483(o.tracks!); + checkUnnamed484(o.segments!); + checkUnnamed485(o.tracks!); } buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation--; } @@ -5560,12 +5560,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox( } core.List - buildUnnamed484() => [ + buildUnnamed486() => [ buildGoogleCloudVideointelligenceV1p2beta1NormalizedVertex(), buildGoogleCloudVideointelligenceV1p2beta1NormalizedVertex(), ]; -void checkUnnamed484( +void checkUnnamed486( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1NormalizedVertex(o[0]); @@ -5580,7 +5580,7 @@ api.GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly < 3) { - o.vertices = buildUnnamed484(); + o.vertices = buildUnnamed486(); } buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly--; return o; @@ -5591,7 +5591,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly( buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly < 3) { - checkUnnamed484(o.vertices!); + checkUnnamed486(o.vertices!); } buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly--; } @@ -5626,12 +5626,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1NormalizedVertex( } core.List - buildUnnamed485() => [ + buildUnnamed487() => [ buildGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame(), buildGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame(), ]; -void checkUnnamed485( +void checkUnnamed487( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame(o[0]); @@ -5649,7 +5649,7 @@ api.GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation 3) { o.confidence = 42.0; o.entity = buildGoogleCloudVideointelligenceV1p2beta1Entity(); - o.frames = buildUnnamed485(); + o.frames = buildUnnamed487(); o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(); o.trackId = 'foo'; o.version = 'foo'; @@ -5668,7 +5668,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation( unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1p2beta1Entity(o.entity!); - checkUnnamed485(o.frames!); + checkUnnamed487(o.frames!); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment!); unittest.expect( o.trackId!, @@ -5713,12 +5713,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame( buildCounterGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame--; } -core.List buildUnnamed486() => [ +core.List buildUnnamed488() => [ buildGoogleCloudVideointelligenceV1p2beta1Track(), buildGoogleCloudVideointelligenceV1p2beta1Track(), ]; -void checkUnnamed486( +void checkUnnamed488( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1Track(o[0]); @@ -5735,7 +5735,7 @@ api.GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation < 3) { - o.tracks = buildUnnamed486(); + o.tracks = buildUnnamed488(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation--; @@ -5747,7 +5747,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation( buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation < 3) { - checkUnnamed486(o.tracks!); + checkUnnamed488(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -5757,12 +5757,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation( } core.List - buildUnnamed487() => [ + buildUnnamed489() => [ buildGoogleCloudVideointelligenceV1p2beta1WordInfo(), buildGoogleCloudVideointelligenceV1p2beta1WordInfo(), ]; -void checkUnnamed487( +void checkUnnamed489( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1WordInfo(o[0]); @@ -5781,7 +5781,7 @@ api.GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative 3) { o.confidence = 42.0; o.transcript = 'foo'; - o.words = buildUnnamed487(); + o.words = buildUnnamed489(); } buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative--; return o; @@ -5800,18 +5800,18 @@ void checkGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative( o.transcript!, unittest.equals('foo'), ); - checkUnnamed487(o.words!); + checkUnnamed489(o.words!); } buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative--; } core.List - buildUnnamed488() => [ + buildUnnamed490() => [ buildGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative(), buildGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative(), ]; -void checkUnnamed488( +void checkUnnamed490( core.List< api.GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative> o) { @@ -5828,7 +5828,7 @@ api.GoogleCloudVideointelligenceV1p2beta1SpeechTranscription buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription < 3) { - o.alternatives = buildUnnamed488(); + o.alternatives = buildUnnamed490(); o.languageCode = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription--; @@ -5840,7 +5840,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1SpeechTranscription( buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription < 3) { - checkUnnamed488(o.alternatives!); + checkUnnamed490(o.alternatives!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -5850,12 +5850,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1SpeechTranscription( } core.List - buildUnnamed489() => [ + buildUnnamed491() => [ buildGoogleCloudVideointelligenceV1p2beta1TextSegment(), buildGoogleCloudVideointelligenceV1p2beta1TextSegment(), ]; -void checkUnnamed489( +void checkUnnamed491( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1TextSegment(o[0]); @@ -5868,7 +5868,7 @@ api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation final o = api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation(); buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation < 3) { - o.segments = buildUnnamed489(); + o.segments = buildUnnamed491(); o.text = 'foo'; o.version = 'foo'; } @@ -5880,7 +5880,7 @@ void checkGoogleCloudVideointelligenceV1p2beta1TextAnnotation( api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation < 3) { - checkUnnamed489(o.segments!); + checkUnnamed491(o.segments!); unittest.expect( o.text!, unittest.equals('foo'), @@ -5922,12 +5922,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1TextFrame( } core.List - buildUnnamed490() => [ + buildUnnamed492() => [ buildGoogleCloudVideointelligenceV1p2beta1TextFrame(), buildGoogleCloudVideointelligenceV1p2beta1TextFrame(), ]; -void checkUnnamed490( +void checkUnnamed492( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1TextFrame(o[0]); @@ -5941,7 +5941,7 @@ api.GoogleCloudVideointelligenceV1p2beta1TextSegment buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment < 3) { o.confidence = 42.0; - o.frames = buildUnnamed490(); + o.frames = buildUnnamed492(); o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(); } buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment--; @@ -5956,19 +5956,19 @@ void checkGoogleCloudVideointelligenceV1p2beta1TextSegment( o.confidence!, unittest.equals(42.0), ); - checkUnnamed490(o.frames!); + checkUnnamed492(o.frames!); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment!); } buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment--; } core.List - buildUnnamed491() => [ + buildUnnamed493() => [ buildGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(), buildGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(), ]; -void checkUnnamed491( +void checkUnnamed493( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(o[0]); @@ -5976,12 +5976,12 @@ void checkUnnamed491( } core.List - buildUnnamed492() => [ + buildUnnamed494() => [ buildGoogleCloudVideointelligenceV1p2beta1DetectedLandmark(), buildGoogleCloudVideointelligenceV1p2beta1DetectedLandmark(), ]; -void checkUnnamed492( +void checkUnnamed494( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1DetectedLandmark(o[0]); @@ -5994,8 +5994,8 @@ api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject final o = api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject(); buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject < 3) { - o.attributes = buildUnnamed491(); - o.landmarks = buildUnnamed492(); + o.attributes = buildUnnamed493(); + o.landmarks = buildUnnamed494(); o.normalizedBoundingBox = buildGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox(); o.timeOffset = 'foo'; @@ -6008,8 +6008,8 @@ void checkGoogleCloudVideointelligenceV1p2beta1TimestampedObject( api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject o) { buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject < 3) { - checkUnnamed491(o.attributes!); - checkUnnamed492(o.landmarks!); + checkUnnamed493(o.attributes!); + checkUnnamed494(o.landmarks!); checkGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox( o.normalizedBoundingBox!); unittest.expect( @@ -6021,12 +6021,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1TimestampedObject( } core.List - buildUnnamed493() => [ + buildUnnamed495() => [ buildGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(), buildGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(), ]; -void checkUnnamed493( +void checkUnnamed495( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(o[0]); @@ -6034,12 +6034,12 @@ void checkUnnamed493( } core.List - buildUnnamed494() => [ + buildUnnamed496() => [ buildGoogleCloudVideointelligenceV1p2beta1TimestampedObject(), buildGoogleCloudVideointelligenceV1p2beta1TimestampedObject(), ]; -void checkUnnamed494( +void checkUnnamed496( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1TimestampedObject(o[0]); @@ -6052,10 +6052,10 @@ api.GoogleCloudVideointelligenceV1p2beta1Track final o = api.GoogleCloudVideointelligenceV1p2beta1Track(); buildCounterGoogleCloudVideointelligenceV1p2beta1Track++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1Track < 3) { - o.attributes = buildUnnamed493(); + o.attributes = buildUnnamed495(); o.confidence = 42.0; o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(); - o.timestampedObjects = buildUnnamed494(); + o.timestampedObjects = buildUnnamed496(); } buildCounterGoogleCloudVideointelligenceV1p2beta1Track--; return o; @@ -6065,13 +6065,13 @@ void checkGoogleCloudVideointelligenceV1p2beta1Track( api.GoogleCloudVideointelligenceV1p2beta1Track o) { buildCounterGoogleCloudVideointelligenceV1p2beta1Track++; if (buildCounterGoogleCloudVideointelligenceV1p2beta1Track < 3) { - checkUnnamed493(o.attributes!); + checkUnnamed495(o.attributes!); unittest.expect( o.confidence!, unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment!); - checkUnnamed494(o.timestampedObjects!); + checkUnnamed496(o.timestampedObjects!); } buildCounterGoogleCloudVideointelligenceV1p2beta1Track--; } @@ -6127,12 +6127,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress( } core.List - buildUnnamed495() => [ + buildUnnamed497() => [ buildGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(), ]; -void checkUnnamed495( +void checkUnnamed497( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(o[0]); @@ -6140,12 +6140,12 @@ void checkUnnamed495( } core.List - buildUnnamed496() => [ + buildUnnamed498() => [ buildGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation(), ]; -void checkUnnamed496( +void checkUnnamed498( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6154,12 +6154,12 @@ void checkUnnamed496( } core.List - buildUnnamed497() => [ + buildUnnamed499() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), ]; -void checkUnnamed497( +void checkUnnamed499( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]); @@ -6167,12 +6167,12 @@ void checkUnnamed497( } core.List - buildUnnamed498() => [ + buildUnnamed500() => [ buildGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation(), ]; -void checkUnnamed498( +void checkUnnamed500( core.List< api.GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation> o) { @@ -6182,12 +6182,12 @@ void checkUnnamed498( } core.List - buildUnnamed499() => [ + buildUnnamed501() => [ buildGoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation(), ]; -void checkUnnamed499( +void checkUnnamed501( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6196,12 +6196,12 @@ void checkUnnamed499( } core.List - buildUnnamed500() => [ + buildUnnamed502() => [ buildGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation(), ]; -void checkUnnamed500( +void checkUnnamed502( core.List< api.GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation> o) { @@ -6211,12 +6211,12 @@ void checkUnnamed500( } core.List - buildUnnamed501() => [ + buildUnnamed503() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), ]; -void checkUnnamed501( +void checkUnnamed503( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]); @@ -6224,12 +6224,12 @@ void checkUnnamed501( } core.List - buildUnnamed502() => [ + buildUnnamed504() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), ]; -void checkUnnamed502( +void checkUnnamed504( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]); @@ -6237,12 +6237,12 @@ void checkUnnamed502( } core.List - buildUnnamed503() => [ + buildUnnamed505() => [ buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(), ]; -void checkUnnamed503( +void checkUnnamed505( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[0]); @@ -6250,12 +6250,12 @@ void checkUnnamed503( } core.List - buildUnnamed504() => [ + buildUnnamed506() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), ]; -void checkUnnamed504( +void checkUnnamed506( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]); @@ -6263,12 +6263,12 @@ void checkUnnamed504( } core.List - buildUnnamed505() => [ + buildUnnamed507() => [ buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(), ]; -void checkUnnamed505( +void checkUnnamed507( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]); @@ -6276,12 +6276,12 @@ void checkUnnamed505( } core.List - buildUnnamed506() => [ + buildUnnamed508() => [ buildGoogleCloudVideointelligenceV1p2beta1SpeechTranscription(), buildGoogleCloudVideointelligenceV1p2beta1SpeechTranscription(), ]; -void checkUnnamed506( +void checkUnnamed508( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1SpeechTranscription(o[0]); @@ -6289,12 +6289,12 @@ void checkUnnamed506( } core.List - buildUnnamed507() => [ + buildUnnamed509() => [ buildGoogleCloudVideointelligenceV1p2beta1TextAnnotation(), buildGoogleCloudVideointelligenceV1p2beta1TextAnnotation(), ]; -void checkUnnamed507( +void checkUnnamed509( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p2beta1TextAnnotation(o[0]); @@ -6312,21 +6312,21 @@ api.GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults o.error = buildGoogleRpcStatus(); o.explicitAnnotation = buildGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation(); - o.faceAnnotations = buildUnnamed495(); - o.faceDetectionAnnotations = buildUnnamed496(); - o.frameLabelAnnotations = buildUnnamed497(); + o.faceAnnotations = buildUnnamed497(); + o.faceDetectionAnnotations = buildUnnamed498(); + o.frameLabelAnnotations = buildUnnamed499(); o.inputUri = 'foo'; - o.logoRecognitionAnnotations = buildUnnamed498(); - o.objectAnnotations = buildUnnamed499(); - o.personDetectionAnnotations = buildUnnamed500(); + o.logoRecognitionAnnotations = buildUnnamed500(); + o.objectAnnotations = buildUnnamed501(); + o.personDetectionAnnotations = buildUnnamed502(); o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment(); - o.segmentLabelAnnotations = buildUnnamed501(); - o.segmentPresenceLabelAnnotations = buildUnnamed502(); - o.shotAnnotations = buildUnnamed503(); - o.shotLabelAnnotations = buildUnnamed504(); - o.shotPresenceLabelAnnotations = buildUnnamed505(); - o.speechTranscriptions = buildUnnamed506(); - o.textAnnotations = buildUnnamed507(); + o.segmentLabelAnnotations = buildUnnamed503(); + o.segmentPresenceLabelAnnotations = buildUnnamed504(); + o.shotAnnotations = buildUnnamed505(); + o.shotLabelAnnotations = buildUnnamed506(); + o.shotPresenceLabelAnnotations = buildUnnamed507(); + o.speechTranscriptions = buildUnnamed508(); + o.textAnnotations = buildUnnamed509(); } buildCounterGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults--; return o; @@ -6340,24 +6340,24 @@ void checkGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults( checkGoogleRpcStatus(o.error!); checkGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation( o.explicitAnnotation!); - checkUnnamed495(o.faceAnnotations!); - checkUnnamed496(o.faceDetectionAnnotations!); - checkUnnamed497(o.frameLabelAnnotations!); + checkUnnamed497(o.faceAnnotations!); + checkUnnamed498(o.faceDetectionAnnotations!); + checkUnnamed499(o.frameLabelAnnotations!); unittest.expect( o.inputUri!, unittest.equals('foo'), ); - checkUnnamed498(o.logoRecognitionAnnotations!); - checkUnnamed499(o.objectAnnotations!); - checkUnnamed500(o.personDetectionAnnotations!); + checkUnnamed500(o.logoRecognitionAnnotations!); + checkUnnamed501(o.objectAnnotations!); + checkUnnamed502(o.personDetectionAnnotations!); checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment!); - checkUnnamed501(o.segmentLabelAnnotations!); - checkUnnamed502(o.segmentPresenceLabelAnnotations!); - checkUnnamed503(o.shotAnnotations!); - checkUnnamed504(o.shotLabelAnnotations!); - checkUnnamed505(o.shotPresenceLabelAnnotations!); - checkUnnamed506(o.speechTranscriptions!); - checkUnnamed507(o.textAnnotations!); + checkUnnamed503(o.segmentLabelAnnotations!); + checkUnnamed504(o.segmentPresenceLabelAnnotations!); + checkUnnamed505(o.shotAnnotations!); + checkUnnamed506(o.shotLabelAnnotations!); + checkUnnamed507(o.shotPresenceLabelAnnotations!); + checkUnnamed508(o.speechTranscriptions!); + checkUnnamed509(o.textAnnotations!); } buildCounterGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults--; } @@ -6436,12 +6436,12 @@ void checkGoogleCloudVideointelligenceV1p2beta1WordInfo( } core.List - buildUnnamed508() => [ + buildUnnamed510() => [ buildGoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress(), buildGoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress(), ]; -void checkUnnamed508( +void checkUnnamed510( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6457,7 +6457,7 @@ api.GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress < 3) { - o.annotationProgress = buildUnnamed508(); + o.annotationProgress = buildUnnamed510(); } buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress--; return o; @@ -6468,18 +6468,18 @@ void checkGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress( buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress < 3) { - checkUnnamed508(o.annotationProgress!); + checkUnnamed510(o.annotationProgress!); } buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress--; } core.List - buildUnnamed509() => [ + buildUnnamed511() => [ buildGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults(), buildGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults(), ]; -void checkUnnamed509( +void checkUnnamed511( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6495,7 +6495,7 @@ api.GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse < 3) { - o.annotationResults = buildUnnamed509(); + o.annotationResults = buildUnnamed511(); } buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse--; return o; @@ -6506,7 +6506,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse( buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse < 3) { - checkUnnamed509(o.annotationResults!); + checkUnnamed511(o.annotationResults!); } buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse--; } @@ -6546,12 +6546,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1Celebrity( } core.List - buildUnnamed510() => [ + buildUnnamed512() => [ buildGoogleCloudVideointelligenceV1p3beta1CelebrityTrack(), buildGoogleCloudVideointelligenceV1p3beta1CelebrityTrack(), ]; -void checkUnnamed510( +void checkUnnamed512( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1CelebrityTrack(o[0]); @@ -6568,7 +6568,7 @@ api.GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation < 3) { - o.celebrityTracks = buildUnnamed510(); + o.celebrityTracks = buildUnnamed512(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation--; @@ -6580,7 +6580,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation( buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation < 3) { - checkUnnamed510(o.celebrityTracks!); + checkUnnamed512(o.celebrityTracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -6590,12 +6590,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation( } core.List - buildUnnamed511() => [ + buildUnnamed513() => [ buildGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity(), buildGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity(), ]; -void checkUnnamed511( +void checkUnnamed513( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity(o[0]); @@ -6608,7 +6608,7 @@ api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack final o = api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack(); buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack < 3) { - o.celebrities = buildUnnamed511(); + o.celebrities = buildUnnamed513(); o.faceTrack = buildGoogleCloudVideointelligenceV1p3beta1Track(); } buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack--; @@ -6619,7 +6619,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1CelebrityTrack( api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack o) { buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack < 3) { - checkUnnamed511(o.celebrities!); + checkUnnamed513(o.celebrities!); checkGoogleCloudVideointelligenceV1p3beta1Track(o.faceTrack!); } buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack--; @@ -6725,12 +6725,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1Entity( } core.List - buildUnnamed512() => [ + buildUnnamed514() => [ buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame(), buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame(), ]; -void checkUnnamed512( +void checkUnnamed514( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6748,7 +6748,7 @@ api.GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation < 3) { - o.frames = buildUnnamed512(); + o.frames = buildUnnamed514(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation--; @@ -6760,7 +6760,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation( buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation < 3) { - checkUnnamed512(o.frames!); + checkUnnamed514(o.frames!); unittest.expect( o.version!, unittest.equals('foo'), @@ -6802,12 +6802,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame( } core.List - buildUnnamed513() => [ + buildUnnamed515() => [ buildGoogleCloudVideointelligenceV1p3beta1FaceFrame(), buildGoogleCloudVideointelligenceV1p3beta1FaceFrame(), ]; -void checkUnnamed513( +void checkUnnamed515( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1FaceFrame(o[0]); @@ -6815,12 +6815,12 @@ void checkUnnamed513( } core.List - buildUnnamed514() => [ + buildUnnamed516() => [ buildGoogleCloudVideointelligenceV1p3beta1FaceSegment(), buildGoogleCloudVideointelligenceV1p3beta1FaceSegment(), ]; -void checkUnnamed514( +void checkUnnamed516( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1FaceSegment(o[0]); @@ -6833,8 +6833,8 @@ api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation final o = api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation(); buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation < 3) { - o.frames = buildUnnamed513(); - o.segments = buildUnnamed514(); + o.frames = buildUnnamed515(); + o.segments = buildUnnamed516(); o.thumbnail = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation--; @@ -6845,8 +6845,8 @@ void checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation( api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation < 3) { - checkUnnamed513(o.frames!); - checkUnnamed514(o.segments!); + checkUnnamed515(o.frames!); + checkUnnamed516(o.segments!); unittest.expect( o.thumbnail!, unittest.equals('foo'), @@ -6855,12 +6855,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation( buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation--; } -core.List buildUnnamed515() => [ +core.List buildUnnamed517() => [ buildGoogleCloudVideointelligenceV1p3beta1Track(), buildGoogleCloudVideointelligenceV1p3beta1Track(), ]; -void checkUnnamed515( +void checkUnnamed517( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1Track(o[0]); @@ -6877,7 +6877,7 @@ api.GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation < 3) { o.thumbnail = 'foo'; - o.tracks = buildUnnamed515(); + o.tracks = buildUnnamed517(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation--; @@ -6893,7 +6893,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation( o.thumbnail!, unittest.equals('foo'), ); - checkUnnamed515(o.tracks!); + checkUnnamed517(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -6903,12 +6903,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation( } core.List - buildUnnamed516() => [ + buildUnnamed518() => [ buildGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox(), buildGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox(), ]; -void checkUnnamed516( +void checkUnnamed518( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6922,7 +6922,7 @@ api.GoogleCloudVideointelligenceV1p3beta1FaceFrame final o = api.GoogleCloudVideointelligenceV1p3beta1FaceFrame(); buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame < 3) { - o.normalizedBoundingBoxes = buildUnnamed516(); + o.normalizedBoundingBoxes = buildUnnamed518(); o.timeOffset = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame--; @@ -6933,7 +6933,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1FaceFrame( api.GoogleCloudVideointelligenceV1p3beta1FaceFrame o) { buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame < 3) { - checkUnnamed516(o.normalizedBoundingBoxes!); + checkUnnamed518(o.normalizedBoundingBoxes!); unittest.expect( o.timeOffset!, unittest.equals('foo'), @@ -6963,13 +6963,13 @@ void checkGoogleCloudVideointelligenceV1p3beta1FaceSegment( buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment--; } -core.List buildUnnamed517() => +core.List buildUnnamed519() => [ buildGoogleCloudVideointelligenceV1p3beta1Entity(), buildGoogleCloudVideointelligenceV1p3beta1Entity(), ]; -void checkUnnamed517( +void checkUnnamed519( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1Entity(o[0]); @@ -6977,12 +6977,12 @@ void checkUnnamed517( } core.List - buildUnnamed518() => [ + buildUnnamed520() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelFrame(), buildGoogleCloudVideointelligenceV1p3beta1LabelFrame(), ]; -void checkUnnamed518( +void checkUnnamed520( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelFrame(o[0]); @@ -6990,12 +6990,12 @@ void checkUnnamed518( } core.List - buildUnnamed519() => [ + buildUnnamed521() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelSegment(), buildGoogleCloudVideointelligenceV1p3beta1LabelSegment(), ]; -void checkUnnamed519( +void checkUnnamed521( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelSegment(o[0]); @@ -7008,10 +7008,10 @@ api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation final o = api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation(); buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation < 3) { - o.categoryEntities = buildUnnamed517(); + o.categoryEntities = buildUnnamed519(); o.entity = buildGoogleCloudVideointelligenceV1p3beta1Entity(); - o.frames = buildUnnamed518(); - o.segments = buildUnnamed519(); + o.frames = buildUnnamed520(); + o.segments = buildUnnamed521(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation--; @@ -7022,10 +7022,10 @@ void checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation( api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation < 3) { - checkUnnamed517(o.categoryEntities!); + checkUnnamed519(o.categoryEntities!); checkGoogleCloudVideointelligenceV1p3beta1Entity(o.entity!); - checkUnnamed518(o.frames!); - checkUnnamed519(o.segments!); + checkUnnamed520(o.frames!); + checkUnnamed521(o.segments!); unittest.expect( o.version!, unittest.equals('foo'), @@ -7090,24 +7090,24 @@ void checkGoogleCloudVideointelligenceV1p3beta1LabelSegment( } core.List - buildUnnamed520() => [ + buildUnnamed522() => [ buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(), ]; -void checkUnnamed520( +void checkUnnamed522( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[0]); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[1]); } -core.List buildUnnamed521() => [ +core.List buildUnnamed523() => [ buildGoogleCloudVideointelligenceV1p3beta1Track(), buildGoogleCloudVideointelligenceV1p3beta1Track(), ]; -void checkUnnamed521( +void checkUnnamed523( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1Track(o[0]); @@ -7125,8 +7125,8 @@ api.GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation if (buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation < 3) { o.entity = buildGoogleCloudVideointelligenceV1p3beta1Entity(); - o.segments = buildUnnamed520(); - o.tracks = buildUnnamed521(); + o.segments = buildUnnamed522(); + o.tracks = buildUnnamed523(); } buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation--; return o; @@ -7138,8 +7138,8 @@ void checkGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation( if (buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation < 3) { checkGoogleCloudVideointelligenceV1p3beta1Entity(o.entity!); - checkUnnamed520(o.segments!); - checkUnnamed521(o.tracks!); + checkUnnamed522(o.segments!); + checkUnnamed523(o.tracks!); } buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation--; } @@ -7187,12 +7187,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox( } core.List - buildUnnamed522() => [ + buildUnnamed524() => [ buildGoogleCloudVideointelligenceV1p3beta1NormalizedVertex(), buildGoogleCloudVideointelligenceV1p3beta1NormalizedVertex(), ]; -void checkUnnamed522( +void checkUnnamed524( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1NormalizedVertex(o[0]); @@ -7207,7 +7207,7 @@ api.GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly < 3) { - o.vertices = buildUnnamed522(); + o.vertices = buildUnnamed524(); } buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly--; return o; @@ -7218,7 +7218,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly( buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly < 3) { - checkUnnamed522(o.vertices!); + checkUnnamed524(o.vertices!); } buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly--; } @@ -7253,12 +7253,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1NormalizedVertex( } core.List - buildUnnamed523() => [ + buildUnnamed525() => [ buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame(), buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame(), ]; -void checkUnnamed523( +void checkUnnamed525( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame(o[0]); @@ -7276,7 +7276,7 @@ api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation 3) { o.confidence = 42.0; o.entity = buildGoogleCloudVideointelligenceV1p3beta1Entity(); - o.frames = buildUnnamed523(); + o.frames = buildUnnamed525(); o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(); o.trackId = 'foo'; o.version = 'foo'; @@ -7295,7 +7295,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation( unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1p3beta1Entity(o.entity!); - checkUnnamed523(o.frames!); + checkUnnamed525(o.frames!); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment!); unittest.expect( o.trackId!, @@ -7340,12 +7340,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame( buildCounterGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame--; } -core.List buildUnnamed524() => [ +core.List buildUnnamed526() => [ buildGoogleCloudVideointelligenceV1p3beta1Track(), buildGoogleCloudVideointelligenceV1p3beta1Track(), ]; -void checkUnnamed524( +void checkUnnamed526( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1Track(o[0]); @@ -7362,7 +7362,7 @@ api.GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation < 3) { - o.tracks = buildUnnamed524(); + o.tracks = buildUnnamed526(); o.version = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation--; @@ -7374,7 +7374,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation( buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation < 3) { - checkUnnamed524(o.tracks!); + checkUnnamed526(o.tracks!); unittest.expect( o.version!, unittest.equals('foo'), @@ -7413,12 +7413,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity( } core.List - buildUnnamed525() => [ + buildUnnamed527() => [ buildGoogleCloudVideointelligenceV1p3beta1WordInfo(), buildGoogleCloudVideointelligenceV1p3beta1WordInfo(), ]; -void checkUnnamed525( +void checkUnnamed527( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1WordInfo(o[0]); @@ -7437,7 +7437,7 @@ api.GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative 3) { o.confidence = 42.0; o.transcript = 'foo'; - o.words = buildUnnamed525(); + o.words = buildUnnamed527(); } buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative--; return o; @@ -7456,18 +7456,18 @@ void checkGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative( o.transcript!, unittest.equals('foo'), ); - checkUnnamed525(o.words!); + checkUnnamed527(o.words!); } buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative--; } core.List - buildUnnamed526() => [ + buildUnnamed528() => [ buildGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative(), buildGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative(), ]; -void checkUnnamed526( +void checkUnnamed528( core.List< api.GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative> o) { @@ -7484,7 +7484,7 @@ api.GoogleCloudVideointelligenceV1p3beta1SpeechTranscription buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription < 3) { - o.alternatives = buildUnnamed526(); + o.alternatives = buildUnnamed528(); o.languageCode = 'foo'; } buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription--; @@ -7496,7 +7496,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1SpeechTranscription( buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription < 3) { - checkUnnamed526(o.alternatives!); + checkUnnamed528(o.alternatives!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -7541,12 +7541,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse( } core.List - buildUnnamed527() => [ + buildUnnamed529() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), ]; -void checkUnnamed527( +void checkUnnamed529( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]); @@ -7554,12 +7554,12 @@ void checkUnnamed527( } core.List - buildUnnamed528() => [ + buildUnnamed530() => [ buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation(), ]; -void checkUnnamed528( +void checkUnnamed530( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -7568,12 +7568,12 @@ void checkUnnamed528( } core.List - buildUnnamed529() => [ + buildUnnamed531() => [ buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(), ]; -void checkUnnamed529( +void checkUnnamed531( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[0]); @@ -7593,9 +7593,9 @@ api.GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults o.explicitAnnotation = buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation(); o.frameTimestamp = 'foo'; - o.labelAnnotations = buildUnnamed527(); - o.objectAnnotations = buildUnnamed528(); - o.shotAnnotations = buildUnnamed529(); + o.labelAnnotations = buildUnnamed529(); + o.objectAnnotations = buildUnnamed530(); + o.shotAnnotations = buildUnnamed531(); } buildCounterGoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults--; return o; @@ -7613,20 +7613,20 @@ void checkGoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults( o.frameTimestamp!, unittest.equals('foo'), ); - checkUnnamed527(o.labelAnnotations!); - checkUnnamed528(o.objectAnnotations!); - checkUnnamed529(o.shotAnnotations!); + checkUnnamed529(o.labelAnnotations!); + checkUnnamed530(o.objectAnnotations!); + checkUnnamed531(o.shotAnnotations!); } buildCounterGoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults--; } core.List - buildUnnamed530() => [ + buildUnnamed532() => [ buildGoogleCloudVideointelligenceV1p3beta1TextSegment(), buildGoogleCloudVideointelligenceV1p3beta1TextSegment(), ]; -void checkUnnamed530( +void checkUnnamed532( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1TextSegment(o[0]); @@ -7639,7 +7639,7 @@ api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation final o = api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation(); buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation < 3) { - o.segments = buildUnnamed530(); + o.segments = buildUnnamed532(); o.text = 'foo'; o.version = 'foo'; } @@ -7651,7 +7651,7 @@ void checkGoogleCloudVideointelligenceV1p3beta1TextAnnotation( api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation o) { buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation < 3) { - checkUnnamed530(o.segments!); + checkUnnamed532(o.segments!); unittest.expect( o.text!, unittest.equals('foo'), @@ -7693,12 +7693,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1TextFrame( } core.List - buildUnnamed531() => [ + buildUnnamed533() => [ buildGoogleCloudVideointelligenceV1p3beta1TextFrame(), buildGoogleCloudVideointelligenceV1p3beta1TextFrame(), ]; -void checkUnnamed531( +void checkUnnamed533( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1TextFrame(o[0]); @@ -7712,7 +7712,7 @@ api.GoogleCloudVideointelligenceV1p3beta1TextSegment buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment < 3) { o.confidence = 42.0; - o.frames = buildUnnamed531(); + o.frames = buildUnnamed533(); o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(); } buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment--; @@ -7727,19 +7727,19 @@ void checkGoogleCloudVideointelligenceV1p3beta1TextSegment( o.confidence!, unittest.equals(42.0), ); - checkUnnamed531(o.frames!); + checkUnnamed533(o.frames!); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment!); } buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment--; } core.List - buildUnnamed532() => [ + buildUnnamed534() => [ buildGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(), buildGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(), ]; -void checkUnnamed532( +void checkUnnamed534( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(o[0]); @@ -7747,12 +7747,12 @@ void checkUnnamed532( } core.List - buildUnnamed533() => [ + buildUnnamed535() => [ buildGoogleCloudVideointelligenceV1p3beta1DetectedLandmark(), buildGoogleCloudVideointelligenceV1p3beta1DetectedLandmark(), ]; -void checkUnnamed533( +void checkUnnamed535( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1DetectedLandmark(o[0]); @@ -7765,8 +7765,8 @@ api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject final o = api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject(); buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject < 3) { - o.attributes = buildUnnamed532(); - o.landmarks = buildUnnamed533(); + o.attributes = buildUnnamed534(); + o.landmarks = buildUnnamed535(); o.normalizedBoundingBox = buildGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox(); o.timeOffset = 'foo'; @@ -7779,8 +7779,8 @@ void checkGoogleCloudVideointelligenceV1p3beta1TimestampedObject( api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject o) { buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject < 3) { - checkUnnamed532(o.attributes!); - checkUnnamed533(o.landmarks!); + checkUnnamed534(o.attributes!); + checkUnnamed535(o.landmarks!); checkGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox( o.normalizedBoundingBox!); unittest.expect( @@ -7792,12 +7792,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1TimestampedObject( } core.List - buildUnnamed534() => [ + buildUnnamed536() => [ buildGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(), buildGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(), ]; -void checkUnnamed534( +void checkUnnamed536( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(o[0]); @@ -7805,12 +7805,12 @@ void checkUnnamed534( } core.List - buildUnnamed535() => [ + buildUnnamed537() => [ buildGoogleCloudVideointelligenceV1p3beta1TimestampedObject(), buildGoogleCloudVideointelligenceV1p3beta1TimestampedObject(), ]; -void checkUnnamed535( +void checkUnnamed537( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1TimestampedObject(o[0]); @@ -7823,10 +7823,10 @@ api.GoogleCloudVideointelligenceV1p3beta1Track final o = api.GoogleCloudVideointelligenceV1p3beta1Track(); buildCounterGoogleCloudVideointelligenceV1p3beta1Track++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1Track < 3) { - o.attributes = buildUnnamed534(); + o.attributes = buildUnnamed536(); o.confidence = 42.0; o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(); - o.timestampedObjects = buildUnnamed535(); + o.timestampedObjects = buildUnnamed537(); } buildCounterGoogleCloudVideointelligenceV1p3beta1Track--; return o; @@ -7836,13 +7836,13 @@ void checkGoogleCloudVideointelligenceV1p3beta1Track( api.GoogleCloudVideointelligenceV1p3beta1Track o) { buildCounterGoogleCloudVideointelligenceV1p3beta1Track++; if (buildCounterGoogleCloudVideointelligenceV1p3beta1Track < 3) { - checkUnnamed534(o.attributes!); + checkUnnamed536(o.attributes!); unittest.expect( o.confidence!, unittest.equals(42.0), ); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment!); - checkUnnamed535(o.timestampedObjects!); + checkUnnamed537(o.timestampedObjects!); } buildCounterGoogleCloudVideointelligenceV1p3beta1Track--; } @@ -7898,12 +7898,12 @@ void checkGoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress( } core.List - buildUnnamed536() => [ + buildUnnamed538() => [ buildGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(), ]; -void checkUnnamed536( +void checkUnnamed538( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(o[0]); @@ -7911,12 +7911,12 @@ void checkUnnamed536( } core.List - buildUnnamed537() => [ + buildUnnamed539() => [ buildGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation(), ]; -void checkUnnamed537( +void checkUnnamed539( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -7925,12 +7925,12 @@ void checkUnnamed537( } core.List - buildUnnamed538() => [ + buildUnnamed540() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), ]; -void checkUnnamed538( +void checkUnnamed540( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]); @@ -7938,12 +7938,12 @@ void checkUnnamed538( } core.List - buildUnnamed539() => [ + buildUnnamed541() => [ buildGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation(), ]; -void checkUnnamed539( +void checkUnnamed541( core.List< api.GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation> o) { @@ -7953,12 +7953,12 @@ void checkUnnamed539( } core.List - buildUnnamed540() => [ + buildUnnamed542() => [ buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation(), ]; -void checkUnnamed540( +void checkUnnamed542( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -7967,12 +7967,12 @@ void checkUnnamed540( } core.List - buildUnnamed541() => [ + buildUnnamed543() => [ buildGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation(), ]; -void checkUnnamed541( +void checkUnnamed543( core.List< api.GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation> o) { @@ -7982,12 +7982,12 @@ void checkUnnamed541( } core.List - buildUnnamed542() => [ + buildUnnamed544() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), ]; -void checkUnnamed542( +void checkUnnamed544( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]); @@ -7995,12 +7995,12 @@ void checkUnnamed542( } core.List - buildUnnamed543() => [ + buildUnnamed545() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), ]; -void checkUnnamed543( +void checkUnnamed545( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]); @@ -8008,12 +8008,12 @@ void checkUnnamed543( } core.List - buildUnnamed544() => [ + buildUnnamed546() => [ buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(), buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(), ]; -void checkUnnamed544( +void checkUnnamed546( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[0]); @@ -8021,12 +8021,12 @@ void checkUnnamed544( } core.List - buildUnnamed545() => [ + buildUnnamed547() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), ]; -void checkUnnamed545( +void checkUnnamed547( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]); @@ -8034,12 +8034,12 @@ void checkUnnamed545( } core.List - buildUnnamed546() => [ + buildUnnamed548() => [ buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(), ]; -void checkUnnamed546( +void checkUnnamed548( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]); @@ -8047,12 +8047,12 @@ void checkUnnamed546( } core.List - buildUnnamed547() => [ + buildUnnamed549() => [ buildGoogleCloudVideointelligenceV1p3beta1SpeechTranscription(), buildGoogleCloudVideointelligenceV1p3beta1SpeechTranscription(), ]; -void checkUnnamed547( +void checkUnnamed549( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1SpeechTranscription(o[0]); @@ -8060,12 +8060,12 @@ void checkUnnamed547( } core.List - buildUnnamed548() => [ + buildUnnamed550() => [ buildGoogleCloudVideointelligenceV1p3beta1TextAnnotation(), buildGoogleCloudVideointelligenceV1p3beta1TextAnnotation(), ]; -void checkUnnamed548( +void checkUnnamed550( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVideointelligenceV1p3beta1TextAnnotation(o[0]); @@ -8085,21 +8085,21 @@ api.GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults o.error = buildGoogleRpcStatus(); o.explicitAnnotation = buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation(); - o.faceAnnotations = buildUnnamed536(); - o.faceDetectionAnnotations = buildUnnamed537(); - o.frameLabelAnnotations = buildUnnamed538(); + o.faceAnnotations = buildUnnamed538(); + o.faceDetectionAnnotations = buildUnnamed539(); + o.frameLabelAnnotations = buildUnnamed540(); o.inputUri = 'foo'; - o.logoRecognitionAnnotations = buildUnnamed539(); - o.objectAnnotations = buildUnnamed540(); - o.personDetectionAnnotations = buildUnnamed541(); + o.logoRecognitionAnnotations = buildUnnamed541(); + o.objectAnnotations = buildUnnamed542(); + o.personDetectionAnnotations = buildUnnamed543(); o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment(); - o.segmentLabelAnnotations = buildUnnamed542(); - o.segmentPresenceLabelAnnotations = buildUnnamed543(); - o.shotAnnotations = buildUnnamed544(); - o.shotLabelAnnotations = buildUnnamed545(); - o.shotPresenceLabelAnnotations = buildUnnamed546(); - o.speechTranscriptions = buildUnnamed547(); - o.textAnnotations = buildUnnamed548(); + o.segmentLabelAnnotations = buildUnnamed544(); + o.segmentPresenceLabelAnnotations = buildUnnamed545(); + o.shotAnnotations = buildUnnamed546(); + o.shotLabelAnnotations = buildUnnamed547(); + o.shotPresenceLabelAnnotations = buildUnnamed548(); + o.speechTranscriptions = buildUnnamed549(); + o.textAnnotations = buildUnnamed550(); } buildCounterGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults--; return o; @@ -8115,24 +8115,24 @@ void checkGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults( checkGoogleRpcStatus(o.error!); checkGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation( o.explicitAnnotation!); - checkUnnamed536(o.faceAnnotations!); - checkUnnamed537(o.faceDetectionAnnotations!); - checkUnnamed538(o.frameLabelAnnotations!); + checkUnnamed538(o.faceAnnotations!); + checkUnnamed539(o.faceDetectionAnnotations!); + checkUnnamed540(o.frameLabelAnnotations!); unittest.expect( o.inputUri!, unittest.equals('foo'), ); - checkUnnamed539(o.logoRecognitionAnnotations!); - checkUnnamed540(o.objectAnnotations!); - checkUnnamed541(o.personDetectionAnnotations!); + checkUnnamed541(o.logoRecognitionAnnotations!); + checkUnnamed542(o.objectAnnotations!); + checkUnnamed543(o.personDetectionAnnotations!); checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment!); - checkUnnamed542(o.segmentLabelAnnotations!); - checkUnnamed543(o.segmentPresenceLabelAnnotations!); - checkUnnamed544(o.shotAnnotations!); - checkUnnamed545(o.shotLabelAnnotations!); - checkUnnamed546(o.shotPresenceLabelAnnotations!); - checkUnnamed547(o.speechTranscriptions!); - checkUnnamed548(o.textAnnotations!); + checkUnnamed544(o.segmentLabelAnnotations!); + checkUnnamed545(o.segmentPresenceLabelAnnotations!); + checkUnnamed546(o.shotAnnotations!); + checkUnnamed547(o.shotLabelAnnotations!); + checkUnnamed548(o.shotPresenceLabelAnnotations!); + checkUnnamed549(o.speechTranscriptions!); + checkUnnamed550(o.textAnnotations!); } buildCounterGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults--; } @@ -8227,12 +8227,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed549() => [ +core.List buildUnnamed551() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed549(core.List o) { +void checkUnnamed551(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -8245,7 +8245,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed549(); + o.operations = buildUnnamed551(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -8259,12 +8259,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed549(o.operations!); + checkUnnamed551(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed550() => { +core.Map buildUnnamed552() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8277,7 +8277,7 @@ core.Map buildUnnamed550() => { }, }; -void checkUnnamed550(core.Map o) { +void checkUnnamed552(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -8309,7 +8309,7 @@ void checkUnnamed550(core.Map o) { ); } -core.Map buildUnnamed551() => { +core.Map buildUnnamed553() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8322,7 +8322,7 @@ core.Map buildUnnamed551() => { }, }; -void checkUnnamed551(core.Map o) { +void checkUnnamed553(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -8361,9 +8361,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed550(); + o.metadata = buildUnnamed552(); o.name = 'foo'; - o.response = buildUnnamed551(); + o.response = buildUnnamed553(); } buildCounterGoogleLongrunningOperation--; return o; @@ -8374,12 +8374,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed550(o.metadata!); + checkUnnamed552(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed551(o.response!); + checkUnnamed553(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -8399,7 +8399,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed552() => { +core.Map buildUnnamed554() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8412,7 +8412,7 @@ core.Map buildUnnamed552() => { }, }; -void checkUnnamed552(core.Map o) { +void checkUnnamed554(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -8444,15 +8444,15 @@ void checkUnnamed552(core.Map o) { ); } -core.List> buildUnnamed553() => [ - buildUnnamed552(), - buildUnnamed552(), +core.List> buildUnnamed555() => [ + buildUnnamed554(), + buildUnnamed554(), ]; -void checkUnnamed553(core.List> o) { +void checkUnnamed555(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed552(o[0]); - checkUnnamed552(o[1]); + checkUnnamed554(o[0]); + checkUnnamed554(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -8461,7 +8461,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed553(); + o.details = buildUnnamed555(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -8475,7 +8475,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed553(o.details!); + checkUnnamed555(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart index 641337b99..c978f3335 100644 --- a/generated/googleapis/test/vision/v1_test.dart +++ b/generated/googleapis/test/vision/v1_test.dart @@ -48,23 +48,23 @@ void checkAddProductToProductSetRequest(api.AddProductToProductSetRequest o) { buildCounterAddProductToProductSetRequest--; } -core.List buildUnnamed4210() => [ +core.List buildUnnamed4194() => [ buildFeature(), buildFeature(), ]; -void checkUnnamed4210(core.List o) { +void checkUnnamed4194(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); } -core.List buildUnnamed4211() => [ +core.List buildUnnamed4195() => [ 42, 42, ]; -void checkUnnamed4211(core.List o) { +void checkUnnamed4195(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -81,10 +81,10 @@ api.AnnotateFileRequest buildAnnotateFileRequest() { final o = api.AnnotateFileRequest(); buildCounterAnnotateFileRequest++; if (buildCounterAnnotateFileRequest < 3) { - o.features = buildUnnamed4210(); + o.features = buildUnnamed4194(); o.imageContext = buildImageContext(); o.inputConfig = buildInputConfig(); - o.pages = buildUnnamed4211(); + o.pages = buildUnnamed4195(); } buildCounterAnnotateFileRequest--; return o; @@ -93,20 +93,20 @@ api.AnnotateFileRequest buildAnnotateFileRequest() { void checkAnnotateFileRequest(api.AnnotateFileRequest o) { buildCounterAnnotateFileRequest++; if (buildCounterAnnotateFileRequest < 3) { - checkUnnamed4210(o.features!); + checkUnnamed4194(o.features!); checkImageContext(o.imageContext!); checkInputConfig(o.inputConfig!); - checkUnnamed4211(o.pages!); + checkUnnamed4195(o.pages!); } buildCounterAnnotateFileRequest--; } -core.List buildUnnamed4212() => [ +core.List buildUnnamed4196() => [ buildAnnotateImageResponse(), buildAnnotateImageResponse(), ]; -void checkUnnamed4212(core.List o) { +void checkUnnamed4196(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotateImageResponse(o[0]); checkAnnotateImageResponse(o[1]); @@ -119,7 +119,7 @@ api.AnnotateFileResponse buildAnnotateFileResponse() { if (buildCounterAnnotateFileResponse < 3) { o.error = buildStatus(); o.inputConfig = buildInputConfig(); - o.responses = buildUnnamed4212(); + o.responses = buildUnnamed4196(); o.totalPages = 42; } buildCounterAnnotateFileResponse--; @@ -131,7 +131,7 @@ void checkAnnotateFileResponse(api.AnnotateFileResponse o) { if (buildCounterAnnotateFileResponse < 3) { checkStatus(o.error!); checkInputConfig(o.inputConfig!); - checkUnnamed4212(o.responses!); + checkUnnamed4196(o.responses!); unittest.expect( o.totalPages!, unittest.equals(42), @@ -140,12 +140,12 @@ void checkAnnotateFileResponse(api.AnnotateFileResponse o) { buildCounterAnnotateFileResponse--; } -core.List buildUnnamed4213() => [ +core.List buildUnnamed4197() => [ buildFeature(), buildFeature(), ]; -void checkUnnamed4213(core.List o) { +void checkUnnamed4197(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -156,7 +156,7 @@ api.AnnotateImageRequest buildAnnotateImageRequest() { final o = api.AnnotateImageRequest(); buildCounterAnnotateImageRequest++; if (buildCounterAnnotateImageRequest < 3) { - o.features = buildUnnamed4213(); + o.features = buildUnnamed4197(); o.image = buildImage(); o.imageContext = buildImageContext(); } @@ -167,74 +167,74 @@ api.AnnotateImageRequest buildAnnotateImageRequest() { void checkAnnotateImageRequest(api.AnnotateImageRequest o) { buildCounterAnnotateImageRequest++; if (buildCounterAnnotateImageRequest < 3) { - checkUnnamed4213(o.features!); + checkUnnamed4197(o.features!); checkImage(o.image!); checkImageContext(o.imageContext!); } buildCounterAnnotateImageRequest--; } -core.List buildUnnamed4214() => [ +core.List buildUnnamed4198() => [ buildFaceAnnotation(), buildFaceAnnotation(), ]; -void checkUnnamed4214(core.List o) { +void checkUnnamed4198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFaceAnnotation(o[0]); checkFaceAnnotation(o[1]); } -core.List buildUnnamed4215() => [ +core.List buildUnnamed4199() => [ buildEntityAnnotation(), buildEntityAnnotation(), ]; -void checkUnnamed4215(core.List o) { +void checkUnnamed4199(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityAnnotation(o[0]); checkEntityAnnotation(o[1]); } -core.List buildUnnamed4216() => [ +core.List buildUnnamed4200() => [ buildEntityAnnotation(), buildEntityAnnotation(), ]; -void checkUnnamed4216(core.List o) { +void checkUnnamed4200(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityAnnotation(o[0]); checkEntityAnnotation(o[1]); } -core.List buildUnnamed4217() => [ +core.List buildUnnamed4201() => [ buildLocalizedObjectAnnotation(), buildLocalizedObjectAnnotation(), ]; -void checkUnnamed4217(core.List o) { +void checkUnnamed4201(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedObjectAnnotation(o[0]); checkLocalizedObjectAnnotation(o[1]); } -core.List buildUnnamed4218() => [ +core.List buildUnnamed4202() => [ buildEntityAnnotation(), buildEntityAnnotation(), ]; -void checkUnnamed4218(core.List o) { +void checkUnnamed4202(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityAnnotation(o[0]); checkEntityAnnotation(o[1]); } -core.List buildUnnamed4219() => [ +core.List buildUnnamed4203() => [ buildEntityAnnotation(), buildEntityAnnotation(), ]; -void checkUnnamed4219(core.List o) { +void checkUnnamed4203(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntityAnnotation(o[0]); checkEntityAnnotation(o[1]); @@ -248,16 +248,16 @@ api.AnnotateImageResponse buildAnnotateImageResponse() { o.context = buildImageAnnotationContext(); o.cropHintsAnnotation = buildCropHintsAnnotation(); o.error = buildStatus(); - o.faceAnnotations = buildUnnamed4214(); + o.faceAnnotations = buildUnnamed4198(); o.fullTextAnnotation = buildTextAnnotation(); o.imagePropertiesAnnotation = buildImageProperties(); - o.labelAnnotations = buildUnnamed4215(); - o.landmarkAnnotations = buildUnnamed4216(); - o.localizedObjectAnnotations = buildUnnamed4217(); - o.logoAnnotations = buildUnnamed4218(); + o.labelAnnotations = buildUnnamed4199(); + o.landmarkAnnotations = buildUnnamed4200(); + o.localizedObjectAnnotations = buildUnnamed4201(); + o.logoAnnotations = buildUnnamed4202(); o.productSearchResults = buildProductSearchResults(); o.safeSearchAnnotation = buildSafeSearchAnnotation(); - o.textAnnotations = buildUnnamed4219(); + o.textAnnotations = buildUnnamed4203(); o.webDetection = buildWebDetection(); } buildCounterAnnotateImageResponse--; @@ -270,27 +270,27 @@ void checkAnnotateImageResponse(api.AnnotateImageResponse o) { checkImageAnnotationContext(o.context!); checkCropHintsAnnotation(o.cropHintsAnnotation!); checkStatus(o.error!); - checkUnnamed4214(o.faceAnnotations!); + checkUnnamed4198(o.faceAnnotations!); checkTextAnnotation(o.fullTextAnnotation!); checkImageProperties(o.imagePropertiesAnnotation!); - checkUnnamed4215(o.labelAnnotations!); - checkUnnamed4216(o.landmarkAnnotations!); - checkUnnamed4217(o.localizedObjectAnnotations!); - checkUnnamed4218(o.logoAnnotations!); + checkUnnamed4199(o.labelAnnotations!); + checkUnnamed4200(o.landmarkAnnotations!); + checkUnnamed4201(o.localizedObjectAnnotations!); + checkUnnamed4202(o.logoAnnotations!); checkProductSearchResults(o.productSearchResults!); checkSafeSearchAnnotation(o.safeSearchAnnotation!); - checkUnnamed4219(o.textAnnotations!); + checkUnnamed4203(o.textAnnotations!); checkWebDetection(o.webDetection!); } buildCounterAnnotateImageResponse--; } -core.List buildUnnamed4220() => [ +core.List buildUnnamed4204() => [ buildFeature(), buildFeature(), ]; -void checkUnnamed4220(core.List o) { +void checkUnnamed4204(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFeature(o[0]); checkFeature(o[1]); @@ -301,7 +301,7 @@ api.AsyncAnnotateFileRequest buildAsyncAnnotateFileRequest() { final o = api.AsyncAnnotateFileRequest(); buildCounterAsyncAnnotateFileRequest++; if (buildCounterAsyncAnnotateFileRequest < 3) { - o.features = buildUnnamed4220(); + o.features = buildUnnamed4204(); o.imageContext = buildImageContext(); o.inputConfig = buildInputConfig(); o.outputConfig = buildOutputConfig(); @@ -313,7 +313,7 @@ api.AsyncAnnotateFileRequest buildAsyncAnnotateFileRequest() { void checkAsyncAnnotateFileRequest(api.AsyncAnnotateFileRequest o) { buildCounterAsyncAnnotateFileRequest++; if (buildCounterAsyncAnnotateFileRequest < 3) { - checkUnnamed4220(o.features!); + checkUnnamed4204(o.features!); checkImageContext(o.imageContext!); checkInputConfig(o.inputConfig!); checkOutputConfig(o.outputConfig!); @@ -340,12 +340,12 @@ void checkAsyncAnnotateFileResponse(api.AsyncAnnotateFileResponse o) { buildCounterAsyncAnnotateFileResponse--; } -core.List buildUnnamed4221() => [ +core.List buildUnnamed4205() => [ buildAsyncAnnotateFileRequest(), buildAsyncAnnotateFileRequest(), ]; -void checkUnnamed4221(core.List o) { +void checkUnnamed4205(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAsyncAnnotateFileRequest(o[0]); checkAsyncAnnotateFileRequest(o[1]); @@ -357,7 +357,7 @@ api.AsyncBatchAnnotateFilesRequest buildAsyncBatchAnnotateFilesRequest() { buildCounterAsyncBatchAnnotateFilesRequest++; if (buildCounterAsyncBatchAnnotateFilesRequest < 3) { o.parent = 'foo'; - o.requests = buildUnnamed4221(); + o.requests = buildUnnamed4205(); } buildCounterAsyncBatchAnnotateFilesRequest--; return o; @@ -370,17 +370,17 @@ void checkAsyncBatchAnnotateFilesRequest(api.AsyncBatchAnnotateFilesRequest o) { o.parent!, unittest.equals('foo'), ); - checkUnnamed4221(o.requests!); + checkUnnamed4205(o.requests!); } buildCounterAsyncBatchAnnotateFilesRequest--; } -core.List buildUnnamed4222() => [ +core.List buildUnnamed4206() => [ buildAsyncAnnotateFileResponse(), buildAsyncAnnotateFileResponse(), ]; -void checkUnnamed4222(core.List o) { +void checkUnnamed4206(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAsyncAnnotateFileResponse(o[0]); checkAsyncAnnotateFileResponse(o[1]); @@ -391,7 +391,7 @@ api.AsyncBatchAnnotateFilesResponse buildAsyncBatchAnnotateFilesResponse() { final o = api.AsyncBatchAnnotateFilesResponse(); buildCounterAsyncBatchAnnotateFilesResponse++; if (buildCounterAsyncBatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4222(); + o.responses = buildUnnamed4206(); } buildCounterAsyncBatchAnnotateFilesResponse--; return o; @@ -401,17 +401,17 @@ void checkAsyncBatchAnnotateFilesResponse( api.AsyncBatchAnnotateFilesResponse o) { buildCounterAsyncBatchAnnotateFilesResponse++; if (buildCounterAsyncBatchAnnotateFilesResponse < 3) { - checkUnnamed4222(o.responses!); + checkUnnamed4206(o.responses!); } buildCounterAsyncBatchAnnotateFilesResponse--; } -core.List buildUnnamed4223() => [ +core.List buildUnnamed4207() => [ buildAnnotateImageRequest(), buildAnnotateImageRequest(), ]; -void checkUnnamed4223(core.List o) { +void checkUnnamed4207(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotateImageRequest(o[0]); checkAnnotateImageRequest(o[1]); @@ -424,7 +424,7 @@ api.AsyncBatchAnnotateImagesRequest buildAsyncBatchAnnotateImagesRequest() { if (buildCounterAsyncBatchAnnotateImagesRequest < 3) { o.outputConfig = buildOutputConfig(); o.parent = 'foo'; - o.requests = buildUnnamed4223(); + o.requests = buildUnnamed4207(); } buildCounterAsyncBatchAnnotateImagesRequest--; return o; @@ -439,7 +439,7 @@ void checkAsyncBatchAnnotateImagesRequest( o.parent!, unittest.equals('foo'), ); - checkUnnamed4223(o.requests!); + checkUnnamed4207(o.requests!); } buildCounterAsyncBatchAnnotateImagesRequest--; } @@ -464,12 +464,12 @@ void checkAsyncBatchAnnotateImagesResponse( buildCounterAsyncBatchAnnotateImagesResponse--; } -core.List buildUnnamed4224() => [ +core.List buildUnnamed4208() => [ buildAnnotateFileRequest(), buildAnnotateFileRequest(), ]; -void checkUnnamed4224(core.List o) { +void checkUnnamed4208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotateFileRequest(o[0]); checkAnnotateFileRequest(o[1]); @@ -481,7 +481,7 @@ api.BatchAnnotateFilesRequest buildBatchAnnotateFilesRequest() { buildCounterBatchAnnotateFilesRequest++; if (buildCounterBatchAnnotateFilesRequest < 3) { o.parent = 'foo'; - o.requests = buildUnnamed4224(); + o.requests = buildUnnamed4208(); } buildCounterBatchAnnotateFilesRequest--; return o; @@ -494,17 +494,17 @@ void checkBatchAnnotateFilesRequest(api.BatchAnnotateFilesRequest o) { o.parent!, unittest.equals('foo'), ); - checkUnnamed4224(o.requests!); + checkUnnamed4208(o.requests!); } buildCounterBatchAnnotateFilesRequest--; } -core.List buildUnnamed4225() => [ +core.List buildUnnamed4209() => [ buildAnnotateFileResponse(), buildAnnotateFileResponse(), ]; -void checkUnnamed4225(core.List o) { +void checkUnnamed4209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotateFileResponse(o[0]); checkAnnotateFileResponse(o[1]); @@ -515,7 +515,7 @@ api.BatchAnnotateFilesResponse buildBatchAnnotateFilesResponse() { final o = api.BatchAnnotateFilesResponse(); buildCounterBatchAnnotateFilesResponse++; if (buildCounterBatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4225(); + o.responses = buildUnnamed4209(); } buildCounterBatchAnnotateFilesResponse--; return o; @@ -524,17 +524,17 @@ api.BatchAnnotateFilesResponse buildBatchAnnotateFilesResponse() { void checkBatchAnnotateFilesResponse(api.BatchAnnotateFilesResponse o) { buildCounterBatchAnnotateFilesResponse++; if (buildCounterBatchAnnotateFilesResponse < 3) { - checkUnnamed4225(o.responses!); + checkUnnamed4209(o.responses!); } buildCounterBatchAnnotateFilesResponse--; } -core.List buildUnnamed4226() => [ +core.List buildUnnamed4210() => [ buildAnnotateImageRequest(), buildAnnotateImageRequest(), ]; -void checkUnnamed4226(core.List o) { +void checkUnnamed4210(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotateImageRequest(o[0]); checkAnnotateImageRequest(o[1]); @@ -546,7 +546,7 @@ api.BatchAnnotateImagesRequest buildBatchAnnotateImagesRequest() { buildCounterBatchAnnotateImagesRequest++; if (buildCounterBatchAnnotateImagesRequest < 3) { o.parent = 'foo'; - o.requests = buildUnnamed4226(); + o.requests = buildUnnamed4210(); } buildCounterBatchAnnotateImagesRequest--; return o; @@ -559,17 +559,17 @@ void checkBatchAnnotateImagesRequest(api.BatchAnnotateImagesRequest o) { o.parent!, unittest.equals('foo'), ); - checkUnnamed4226(o.requests!); + checkUnnamed4210(o.requests!); } buildCounterBatchAnnotateImagesRequest--; } -core.List buildUnnamed4227() => [ +core.List buildUnnamed4211() => [ buildAnnotateImageResponse(), buildAnnotateImageResponse(), ]; -void checkUnnamed4227(core.List o) { +void checkUnnamed4211(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnnotateImageResponse(o[0]); checkAnnotateImageResponse(o[1]); @@ -580,7 +580,7 @@ api.BatchAnnotateImagesResponse buildBatchAnnotateImagesResponse() { final o = api.BatchAnnotateImagesResponse(); buildCounterBatchAnnotateImagesResponse++; if (buildCounterBatchAnnotateImagesResponse < 3) { - o.responses = buildUnnamed4227(); + o.responses = buildUnnamed4211(); } buildCounterBatchAnnotateImagesResponse--; return o; @@ -589,7 +589,7 @@ api.BatchAnnotateImagesResponse buildBatchAnnotateImagesResponse() { void checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) { buildCounterBatchAnnotateImagesResponse++; if (buildCounterBatchAnnotateImagesResponse < 3) { - checkUnnamed4227(o.responses!); + checkUnnamed4211(o.responses!); } buildCounterBatchAnnotateImagesResponse--; } @@ -626,12 +626,12 @@ void checkBatchOperationMetadata(api.BatchOperationMetadata o) { buildCounterBatchOperationMetadata--; } -core.List buildUnnamed4228() => [ +core.List buildUnnamed4212() => [ buildParagraph(), buildParagraph(), ]; -void checkUnnamed4228(core.List o) { +void checkUnnamed4212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParagraph(o[0]); checkParagraph(o[1]); @@ -645,7 +645,7 @@ api.Block buildBlock() { o.blockType = 'foo'; o.boundingBox = buildBoundingPoly(); o.confidence = 42.0; - o.paragraphs = buildUnnamed4228(); + o.paragraphs = buildUnnamed4212(); o.property = buildTextProperty(); } buildCounterBlock--; @@ -664,29 +664,29 @@ void checkBlock(api.Block o) { o.confidence!, unittest.equals(42.0), ); - checkUnnamed4228(o.paragraphs!); + checkUnnamed4212(o.paragraphs!); checkTextProperty(o.property!); } buildCounterBlock--; } -core.List buildUnnamed4229() => [ +core.List buildUnnamed4213() => [ buildNormalizedVertex(), buildNormalizedVertex(), ]; -void checkUnnamed4229(core.List o) { +void checkUnnamed4213(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNormalizedVertex(o[0]); checkNormalizedVertex(o[1]); } -core.List buildUnnamed4230() => [ +core.List buildUnnamed4214() => [ buildVertex(), buildVertex(), ]; -void checkUnnamed4230(core.List o) { +void checkUnnamed4214(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVertex(o[0]); checkVertex(o[1]); @@ -697,8 +697,8 @@ api.BoundingPoly buildBoundingPoly() { final o = api.BoundingPoly(); buildCounterBoundingPoly++; if (buildCounterBoundingPoly < 3) { - o.normalizedVertices = buildUnnamed4229(); - o.vertices = buildUnnamed4230(); + o.normalizedVertices = buildUnnamed4213(); + o.vertices = buildUnnamed4214(); } buildCounterBoundingPoly--; return o; @@ -707,8 +707,8 @@ api.BoundingPoly buildBoundingPoly() { void checkBoundingPoly(api.BoundingPoly o) { buildCounterBoundingPoly++; if (buildCounterBoundingPoly < 3) { - checkUnnamed4229(o.normalizedVertices!); - checkUnnamed4230(o.vertices!); + checkUnnamed4213(o.normalizedVertices!); + checkUnnamed4214(o.vertices!); } buildCounterBoundingPoly--; } @@ -823,12 +823,12 @@ void checkCropHint(api.CropHint o) { buildCounterCropHint--; } -core.List buildUnnamed4231() => [ +core.List buildUnnamed4215() => [ buildCropHint(), buildCropHint(), ]; -void checkUnnamed4231(core.List o) { +void checkUnnamed4215(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCropHint(o[0]); checkCropHint(o[1]); @@ -839,7 +839,7 @@ api.CropHintsAnnotation buildCropHintsAnnotation() { final o = api.CropHintsAnnotation(); buildCounterCropHintsAnnotation++; if (buildCounterCropHintsAnnotation < 3) { - o.cropHints = buildUnnamed4231(); + o.cropHints = buildUnnamed4215(); } buildCounterCropHintsAnnotation--; return o; @@ -848,17 +848,17 @@ api.CropHintsAnnotation buildCropHintsAnnotation() { void checkCropHintsAnnotation(api.CropHintsAnnotation o) { buildCounterCropHintsAnnotation++; if (buildCounterCropHintsAnnotation < 3) { - checkUnnamed4231(o.cropHints!); + checkUnnamed4215(o.cropHints!); } buildCounterCropHintsAnnotation--; } -core.List buildUnnamed4232() => [ +core.List buildUnnamed4216() => [ 42.0, 42.0, ]; -void checkUnnamed4232(core.List o) { +void checkUnnamed4216(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -875,7 +875,7 @@ api.CropHintsParams buildCropHintsParams() { final o = api.CropHintsParams(); buildCounterCropHintsParams++; if (buildCounterCropHintsParams < 3) { - o.aspectRatios = buildUnnamed4232(); + o.aspectRatios = buildUnnamed4216(); } buildCounterCropHintsParams--; return o; @@ -884,7 +884,7 @@ api.CropHintsParams buildCropHintsParams() { void checkCropHintsParams(api.CropHintsParams o) { buildCounterCropHintsParams++; if (buildCounterCropHintsParams < 3) { - checkUnnamed4232(o.aspectRatios!); + checkUnnamed4216(o.aspectRatios!); } buildCounterCropHintsParams--; } @@ -940,12 +940,12 @@ void checkDetectedLanguage(api.DetectedLanguage o) { buildCounterDetectedLanguage--; } -core.List buildUnnamed4233() => [ +core.List buildUnnamed4217() => [ buildColorInfo(), buildColorInfo(), ]; -void checkUnnamed4233(core.List o) { +void checkUnnamed4217(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkColorInfo(o[0]); checkColorInfo(o[1]); @@ -956,7 +956,7 @@ api.DominantColorsAnnotation buildDominantColorsAnnotation() { final o = api.DominantColorsAnnotation(); buildCounterDominantColorsAnnotation++; if (buildCounterDominantColorsAnnotation < 3) { - o.colors = buildUnnamed4233(); + o.colors = buildUnnamed4217(); } buildCounterDominantColorsAnnotation--; return o; @@ -965,7 +965,7 @@ api.DominantColorsAnnotation buildDominantColorsAnnotation() { void checkDominantColorsAnnotation(api.DominantColorsAnnotation o) { buildCounterDominantColorsAnnotation++; if (buildCounterDominantColorsAnnotation < 3) { - checkUnnamed4233(o.colors!); + checkUnnamed4217(o.colors!); } buildCounterDominantColorsAnnotation--; } @@ -985,23 +985,23 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed4234() => [ +core.List buildUnnamed4218() => [ buildLocationInfo(), buildLocationInfo(), ]; -void checkUnnamed4234(core.List o) { +void checkUnnamed4218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocationInfo(o[0]); checkLocationInfo(o[1]); } -core.List buildUnnamed4235() => [ +core.List buildUnnamed4219() => [ buildProperty(), buildProperty(), ]; -void checkUnnamed4235(core.List o) { +void checkUnnamed4219(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProperty(o[0]); checkProperty(o[1]); @@ -1016,9 +1016,9 @@ api.EntityAnnotation buildEntityAnnotation() { o.confidence = 42.0; o.description = 'foo'; o.locale = 'foo'; - o.locations = buildUnnamed4234(); + o.locations = buildUnnamed4218(); o.mid = 'foo'; - o.properties = buildUnnamed4235(); + o.properties = buildUnnamed4219(); o.score = 42.0; o.topicality = 42.0; } @@ -1042,12 +1042,12 @@ void checkEntityAnnotation(api.EntityAnnotation o) { o.locale!, unittest.equals('foo'), ); - checkUnnamed4234(o.locations!); + checkUnnamed4218(o.locations!); unittest.expect( o.mid!, unittest.equals('foo'), ); - checkUnnamed4235(o.properties!); + checkUnnamed4219(o.properties!); unittest.expect( o.score!, unittest.equals(42.0), @@ -1060,12 +1060,12 @@ void checkEntityAnnotation(api.EntityAnnotation o) { buildCounterEntityAnnotation--; } -core.List buildUnnamed4236() => [ +core.List buildUnnamed4220() => [ buildLandmark(), buildLandmark(), ]; -void checkUnnamed4236(core.List o) { +void checkUnnamed4220(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLandmark(o[0]); checkLandmark(o[1]); @@ -1084,7 +1084,7 @@ api.FaceAnnotation buildFaceAnnotation() { o.headwearLikelihood = 'foo'; o.joyLikelihood = 'foo'; o.landmarkingConfidence = 42.0; - o.landmarks = buildUnnamed4236(); + o.landmarks = buildUnnamed4220(); o.panAngle = 42.0; o.rollAngle = 42.0; o.sorrowLikelihood = 'foo'; @@ -1125,7 +1125,7 @@ void checkFaceAnnotation(api.FaceAnnotation o) { o.landmarkingConfidence!, unittest.equals(42.0), ); - checkUnnamed4236(o.landmarks!); + checkUnnamed4220(o.landmarks!); unittest.expect( o.panAngle!, unittest.equals(42.0), @@ -1231,12 +1231,12 @@ void checkGcsSource(api.GcsSource o) { } core.List - buildUnnamed4237() => [ + buildUnnamed4221() => [ buildGoogleCloudVisionV1p1beta1AnnotateImageResponse(), buildGoogleCloudVisionV1p1beta1AnnotateImageResponse(), ]; -void checkUnnamed4237( +void checkUnnamed4221( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1AnnotateImageResponse(o[0]); @@ -1251,7 +1251,7 @@ api.GoogleCloudVisionV1p1beta1AnnotateFileResponse if (buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse < 3) { o.error = buildStatus(); o.inputConfig = buildGoogleCloudVisionV1p1beta1InputConfig(); - o.responses = buildUnnamed4237(); + o.responses = buildUnnamed4221(); o.totalPages = 42; } buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse--; @@ -1264,7 +1264,7 @@ void checkGoogleCloudVisionV1p1beta1AnnotateFileResponse( if (buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse < 3) { checkStatus(o.error!); checkGoogleCloudVisionV1p1beta1InputConfig(o.inputConfig!); - checkUnnamed4237(o.responses!); + checkUnnamed4221(o.responses!); unittest.expect( o.totalPages!, unittest.equals(42), @@ -1273,38 +1273,38 @@ void checkGoogleCloudVisionV1p1beta1AnnotateFileResponse( buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse--; } -core.List buildUnnamed4238() => [ +core.List buildUnnamed4222() => [ buildGoogleCloudVisionV1p1beta1FaceAnnotation(), buildGoogleCloudVisionV1p1beta1FaceAnnotation(), ]; -void checkUnnamed4238( +void checkUnnamed4222( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1FaceAnnotation(o[0]); checkGoogleCloudVisionV1p1beta1FaceAnnotation(o[1]); } -core.List buildUnnamed4239() => +core.List buildUnnamed4223() => [ buildGoogleCloudVisionV1p1beta1EntityAnnotation(), buildGoogleCloudVisionV1p1beta1EntityAnnotation(), ]; -void checkUnnamed4239( +void checkUnnamed4223( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4240() => +core.List buildUnnamed4224() => [ buildGoogleCloudVisionV1p1beta1EntityAnnotation(), buildGoogleCloudVisionV1p1beta1EntityAnnotation(), ]; -void checkUnnamed4240( +void checkUnnamed4224( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]); @@ -1312,38 +1312,38 @@ void checkUnnamed4240( } core.List - buildUnnamed4241() => [ + buildUnnamed4225() => [ buildGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(), buildGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(), ]; -void checkUnnamed4241( +void checkUnnamed4225( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(o[0]); checkGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(o[1]); } -core.List buildUnnamed4242() => +core.List buildUnnamed4226() => [ buildGoogleCloudVisionV1p1beta1EntityAnnotation(), buildGoogleCloudVisionV1p1beta1EntityAnnotation(), ]; -void checkUnnamed4242( +void checkUnnamed4226( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4243() => +core.List buildUnnamed4227() => [ buildGoogleCloudVisionV1p1beta1EntityAnnotation(), buildGoogleCloudVisionV1p1beta1EntityAnnotation(), ]; -void checkUnnamed4243( +void checkUnnamed4227( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]); @@ -1360,19 +1360,19 @@ api.GoogleCloudVisionV1p1beta1AnnotateImageResponse o.cropHintsAnnotation = buildGoogleCloudVisionV1p1beta1CropHintsAnnotation(); o.error = buildStatus(); - o.faceAnnotations = buildUnnamed4238(); + o.faceAnnotations = buildUnnamed4222(); o.fullTextAnnotation = buildGoogleCloudVisionV1p1beta1TextAnnotation(); o.imagePropertiesAnnotation = buildGoogleCloudVisionV1p1beta1ImageProperties(); - o.labelAnnotations = buildUnnamed4239(); - o.landmarkAnnotations = buildUnnamed4240(); - o.localizedObjectAnnotations = buildUnnamed4241(); - o.logoAnnotations = buildUnnamed4242(); + o.labelAnnotations = buildUnnamed4223(); + o.landmarkAnnotations = buildUnnamed4224(); + o.localizedObjectAnnotations = buildUnnamed4225(); + o.logoAnnotations = buildUnnamed4226(); o.productSearchResults = buildGoogleCloudVisionV1p1beta1ProductSearchResults(); o.safeSearchAnnotation = buildGoogleCloudVisionV1p1beta1SafeSearchAnnotation(); - o.textAnnotations = buildUnnamed4243(); + o.textAnnotations = buildUnnamed4227(); o.webDetection = buildGoogleCloudVisionV1p1beta1WebDetection(); } buildCounterGoogleCloudVisionV1p1beta1AnnotateImageResponse--; @@ -1386,19 +1386,19 @@ void checkGoogleCloudVisionV1p1beta1AnnotateImageResponse( checkGoogleCloudVisionV1p1beta1ImageAnnotationContext(o.context!); checkGoogleCloudVisionV1p1beta1CropHintsAnnotation(o.cropHintsAnnotation!); checkStatus(o.error!); - checkUnnamed4238(o.faceAnnotations!); + checkUnnamed4222(o.faceAnnotations!); checkGoogleCloudVisionV1p1beta1TextAnnotation(o.fullTextAnnotation!); checkGoogleCloudVisionV1p1beta1ImageProperties( o.imagePropertiesAnnotation!); - checkUnnamed4239(o.labelAnnotations!); - checkUnnamed4240(o.landmarkAnnotations!); - checkUnnamed4241(o.localizedObjectAnnotations!); - checkUnnamed4242(o.logoAnnotations!); + checkUnnamed4223(o.labelAnnotations!); + checkUnnamed4224(o.landmarkAnnotations!); + checkUnnamed4225(o.localizedObjectAnnotations!); + checkUnnamed4226(o.logoAnnotations!); checkGoogleCloudVisionV1p1beta1ProductSearchResults( o.productSearchResults!); checkGoogleCloudVisionV1p1beta1SafeSearchAnnotation( o.safeSearchAnnotation!); - checkUnnamed4243(o.textAnnotations!); + checkUnnamed4227(o.textAnnotations!); checkGoogleCloudVisionV1p1beta1WebDetection(o.webDetection!); } buildCounterGoogleCloudVisionV1p1beta1AnnotateImageResponse--; @@ -1426,12 +1426,12 @@ void checkGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse( } core.List - buildUnnamed4244() => [ + buildUnnamed4228() => [ buildGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse(), buildGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse(), ]; -void checkUnnamed4244( +void checkUnnamed4228( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse(o[0]); @@ -1446,7 +1446,7 @@ api.GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4244(); + o.responses = buildUnnamed4228(); } buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse--; return o; @@ -1457,17 +1457,17 @@ void checkGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse( buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse < 3) { - checkUnnamed4244(o.responses!); + checkUnnamed4228(o.responses!); } buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse--; } -core.List buildUnnamed4245() => [ +core.List buildUnnamed4229() => [ buildGoogleCloudVisionV1p1beta1Paragraph(), buildGoogleCloudVisionV1p1beta1Paragraph(), ]; -void checkUnnamed4245(core.List o) { +void checkUnnamed4229(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Paragraph(o[0]); checkGoogleCloudVisionV1p1beta1Paragraph(o[1]); @@ -1481,7 +1481,7 @@ api.GoogleCloudVisionV1p1beta1Block buildGoogleCloudVisionV1p1beta1Block() { o.blockType = 'foo'; o.boundingBox = buildGoogleCloudVisionV1p1beta1BoundingPoly(); o.confidence = 42.0; - o.paragraphs = buildUnnamed4245(); + o.paragraphs = buildUnnamed4229(); o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(); } buildCounterGoogleCloudVisionV1p1beta1Block--; @@ -1501,31 +1501,31 @@ void checkGoogleCloudVisionV1p1beta1Block( o.confidence!, unittest.equals(42.0), ); - checkUnnamed4245(o.paragraphs!); + checkUnnamed4229(o.paragraphs!); checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property!); } buildCounterGoogleCloudVisionV1p1beta1Block--; } -core.List buildUnnamed4246() => +core.List buildUnnamed4230() => [ buildGoogleCloudVisionV1p1beta1NormalizedVertex(), buildGoogleCloudVisionV1p1beta1NormalizedVertex(), ]; -void checkUnnamed4246( +void checkUnnamed4230( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1NormalizedVertex(o[0]); checkGoogleCloudVisionV1p1beta1NormalizedVertex(o[1]); } -core.List buildUnnamed4247() => [ +core.List buildUnnamed4231() => [ buildGoogleCloudVisionV1p1beta1Vertex(), buildGoogleCloudVisionV1p1beta1Vertex(), ]; -void checkUnnamed4247(core.List o) { +void checkUnnamed4231(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Vertex(o[0]); checkGoogleCloudVisionV1p1beta1Vertex(o[1]); @@ -1537,8 +1537,8 @@ api.GoogleCloudVisionV1p1beta1BoundingPoly final o = api.GoogleCloudVisionV1p1beta1BoundingPoly(); buildCounterGoogleCloudVisionV1p1beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p1beta1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed4246(); - o.vertices = buildUnnamed4247(); + o.normalizedVertices = buildUnnamed4230(); + o.vertices = buildUnnamed4231(); } buildCounterGoogleCloudVisionV1p1beta1BoundingPoly--; return o; @@ -1548,8 +1548,8 @@ void checkGoogleCloudVisionV1p1beta1BoundingPoly( api.GoogleCloudVisionV1p1beta1BoundingPoly o) { buildCounterGoogleCloudVisionV1p1beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p1beta1BoundingPoly < 3) { - checkUnnamed4246(o.normalizedVertices!); - checkUnnamed4247(o.vertices!); + checkUnnamed4230(o.normalizedVertices!); + checkUnnamed4231(o.vertices!); } buildCounterGoogleCloudVisionV1p1beta1BoundingPoly--; } @@ -1616,12 +1616,12 @@ void checkGoogleCloudVisionV1p1beta1CropHint( buildCounterGoogleCloudVisionV1p1beta1CropHint--; } -core.List buildUnnamed4248() => [ +core.List buildUnnamed4232() => [ buildGoogleCloudVisionV1p1beta1CropHint(), buildGoogleCloudVisionV1p1beta1CropHint(), ]; -void checkUnnamed4248(core.List o) { +void checkUnnamed4232(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1CropHint(o[0]); checkGoogleCloudVisionV1p1beta1CropHint(o[1]); @@ -1633,7 +1633,7 @@ api.GoogleCloudVisionV1p1beta1CropHintsAnnotation final o = api.GoogleCloudVisionV1p1beta1CropHintsAnnotation(); buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation < 3) { - o.cropHints = buildUnnamed4248(); + o.cropHints = buildUnnamed4232(); } buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation--; return o; @@ -1643,17 +1643,17 @@ void checkGoogleCloudVisionV1p1beta1CropHintsAnnotation( api.GoogleCloudVisionV1p1beta1CropHintsAnnotation o) { buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation < 3) { - checkUnnamed4248(o.cropHints!); + checkUnnamed4232(o.cropHints!); } buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation--; } -core.List buildUnnamed4249() => [ +core.List buildUnnamed4233() => [ buildGoogleCloudVisionV1p1beta1ColorInfo(), buildGoogleCloudVisionV1p1beta1ColorInfo(), ]; -void checkUnnamed4249(core.List o) { +void checkUnnamed4233(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1ColorInfo(o[0]); checkGoogleCloudVisionV1p1beta1ColorInfo(o[1]); @@ -1665,7 +1665,7 @@ api.GoogleCloudVisionV1p1beta1DominantColorsAnnotation final o = api.GoogleCloudVisionV1p1beta1DominantColorsAnnotation(); buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation < 3) { - o.colors = buildUnnamed4249(); + o.colors = buildUnnamed4233(); } buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation--; return o; @@ -1675,28 +1675,28 @@ void checkGoogleCloudVisionV1p1beta1DominantColorsAnnotation( api.GoogleCloudVisionV1p1beta1DominantColorsAnnotation o) { buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation < 3) { - checkUnnamed4249(o.colors!); + checkUnnamed4233(o.colors!); } buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation--; } -core.List buildUnnamed4250() => [ +core.List buildUnnamed4234() => [ buildGoogleCloudVisionV1p1beta1LocationInfo(), buildGoogleCloudVisionV1p1beta1LocationInfo(), ]; -void checkUnnamed4250(core.List o) { +void checkUnnamed4234(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1LocationInfo(o[0]); checkGoogleCloudVisionV1p1beta1LocationInfo(o[1]); } -core.List buildUnnamed4251() => [ +core.List buildUnnamed4235() => [ buildGoogleCloudVisionV1p1beta1Property(), buildGoogleCloudVisionV1p1beta1Property(), ]; -void checkUnnamed4251(core.List o) { +void checkUnnamed4235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Property(o[0]); checkGoogleCloudVisionV1p1beta1Property(o[1]); @@ -1712,9 +1712,9 @@ api.GoogleCloudVisionV1p1beta1EntityAnnotation o.confidence = 42.0; o.description = 'foo'; o.locale = 'foo'; - o.locations = buildUnnamed4250(); + o.locations = buildUnnamed4234(); o.mid = 'foo'; - o.properties = buildUnnamed4251(); + o.properties = buildUnnamed4235(); o.score = 42.0; o.topicality = 42.0; } @@ -1739,12 +1739,12 @@ void checkGoogleCloudVisionV1p1beta1EntityAnnotation( o.locale!, unittest.equals('foo'), ); - checkUnnamed4250(o.locations!); + checkUnnamed4234(o.locations!); unittest.expect( o.mid!, unittest.equals('foo'), ); - checkUnnamed4251(o.properties!); + checkUnnamed4235(o.properties!); unittest.expect( o.score!, unittest.equals(42.0), @@ -1758,12 +1758,12 @@ void checkGoogleCloudVisionV1p1beta1EntityAnnotation( } core.List - buildUnnamed4252() => [ + buildUnnamed4236() => [ buildGoogleCloudVisionV1p1beta1FaceAnnotationLandmark(), buildGoogleCloudVisionV1p1beta1FaceAnnotationLandmark(), ]; -void checkUnnamed4252( +void checkUnnamed4236( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1FaceAnnotationLandmark(o[0]); @@ -1784,7 +1784,7 @@ api.GoogleCloudVisionV1p1beta1FaceAnnotation o.headwearLikelihood = 'foo'; o.joyLikelihood = 'foo'; o.landmarkingConfidence = 42.0; - o.landmarks = buildUnnamed4252(); + o.landmarks = buildUnnamed4236(); o.panAngle = 42.0; o.rollAngle = 42.0; o.sorrowLikelihood = 'foo'; @@ -1826,7 +1826,7 @@ void checkGoogleCloudVisionV1p1beta1FaceAnnotation( o.landmarkingConfidence!, unittest.equals(42.0), ); - checkUnnamed4252(o.landmarks!); + checkUnnamed4236(o.landmarks!); unittest.expect( o.panAngle!, unittest.equals(42.0), @@ -2162,12 +2162,12 @@ void checkGoogleCloudVisionV1p1beta1OutputConfig( buildCounterGoogleCloudVisionV1p1beta1OutputConfig--; } -core.List buildUnnamed4253() => [ +core.List buildUnnamed4237() => [ buildGoogleCloudVisionV1p1beta1Block(), buildGoogleCloudVisionV1p1beta1Block(), ]; -void checkUnnamed4253(core.List o) { +void checkUnnamed4237(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Block(o[0]); checkGoogleCloudVisionV1p1beta1Block(o[1]); @@ -2178,7 +2178,7 @@ api.GoogleCloudVisionV1p1beta1Page buildGoogleCloudVisionV1p1beta1Page() { final o = api.GoogleCloudVisionV1p1beta1Page(); buildCounterGoogleCloudVisionV1p1beta1Page++; if (buildCounterGoogleCloudVisionV1p1beta1Page < 3) { - o.blocks = buildUnnamed4253(); + o.blocks = buildUnnamed4237(); o.confidence = 42.0; o.height = 42; o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(); @@ -2191,7 +2191,7 @@ api.GoogleCloudVisionV1p1beta1Page buildGoogleCloudVisionV1p1beta1Page() { void checkGoogleCloudVisionV1p1beta1Page(api.GoogleCloudVisionV1p1beta1Page o) { buildCounterGoogleCloudVisionV1p1beta1Page++; if (buildCounterGoogleCloudVisionV1p1beta1Page < 3) { - checkUnnamed4253(o.blocks!); + checkUnnamed4237(o.blocks!); unittest.expect( o.confidence!, unittest.equals(42.0), @@ -2209,12 +2209,12 @@ void checkGoogleCloudVisionV1p1beta1Page(api.GoogleCloudVisionV1p1beta1Page o) { buildCounterGoogleCloudVisionV1p1beta1Page--; } -core.List buildUnnamed4254() => [ +core.List buildUnnamed4238() => [ buildGoogleCloudVisionV1p1beta1Word(), buildGoogleCloudVisionV1p1beta1Word(), ]; -void checkUnnamed4254(core.List o) { +void checkUnnamed4238(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Word(o[0]); checkGoogleCloudVisionV1p1beta1Word(o[1]); @@ -2229,7 +2229,7 @@ api.GoogleCloudVisionV1p1beta1Paragraph o.boundingBox = buildGoogleCloudVisionV1p1beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(); - o.words = buildUnnamed4254(); + o.words = buildUnnamed4238(); } buildCounterGoogleCloudVisionV1p1beta1Paragraph--; return o; @@ -2245,7 +2245,7 @@ void checkGoogleCloudVisionV1p1beta1Paragraph( unittest.equals(42.0), ); checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4254(o.words!); + checkUnnamed4238(o.words!); } buildCounterGoogleCloudVisionV1p1beta1Paragraph--; } @@ -2284,12 +2284,12 @@ void checkGoogleCloudVisionV1p1beta1Position( buildCounterGoogleCloudVisionV1p1beta1Position--; } -core.List buildUnnamed4255() => [ +core.List buildUnnamed4239() => [ buildGoogleCloudVisionV1p1beta1ProductKeyValue(), buildGoogleCloudVisionV1p1beta1ProductKeyValue(), ]; -void checkUnnamed4255( +void checkUnnamed4239( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1ProductKeyValue(o[0]); @@ -2305,7 +2305,7 @@ api.GoogleCloudVisionV1p1beta1Product buildGoogleCloudVisionV1p1beta1Product() { o.displayName = 'foo'; o.name = 'foo'; o.productCategory = 'foo'; - o.productLabels = buildUnnamed4255(); + o.productLabels = buildUnnamed4239(); } buildCounterGoogleCloudVisionV1p1beta1Product--; return o; @@ -2331,7 +2331,7 @@ void checkGoogleCloudVisionV1p1beta1Product( o.productCategory!, unittest.equals('foo'), ); - checkUnnamed4255(o.productLabels!); + checkUnnamed4239(o.productLabels!); } buildCounterGoogleCloudVisionV1p1beta1Product--; } @@ -2366,12 +2366,12 @@ void checkGoogleCloudVisionV1p1beta1ProductKeyValue( } core.List - buildUnnamed4256() => [ + buildUnnamed4240() => [ buildGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult(), buildGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult(), ]; -void checkUnnamed4256( +void checkUnnamed4240( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -2380,12 +2380,12 @@ void checkUnnamed4256( } core.List - buildUnnamed4257() => [ + buildUnnamed4241() => [ buildGoogleCloudVisionV1p1beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p1beta1ProductSearchResultsResult(), ]; -void checkUnnamed4257( +void checkUnnamed4241( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1ProductSearchResultsResult(o[0]); @@ -2399,8 +2399,8 @@ api.GoogleCloudVisionV1p1beta1ProductSearchResults buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults++; if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults < 3) { o.indexTime = 'foo'; - o.productGroupedResults = buildUnnamed4256(); - o.results = buildUnnamed4257(); + o.productGroupedResults = buildUnnamed4240(); + o.results = buildUnnamed4241(); } buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults--; return o; @@ -2414,19 +2414,19 @@ void checkGoogleCloudVisionV1p1beta1ProductSearchResults( o.indexTime!, unittest.equals('foo'), ); - checkUnnamed4256(o.productGroupedResults!); - checkUnnamed4257(o.results!); + checkUnnamed4240(o.productGroupedResults!); + checkUnnamed4241(o.results!); } buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults--; } core.List - buildUnnamed4258() => [ + buildUnnamed4242() => [ buildGoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation(), buildGoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation(), ]; -void checkUnnamed4258( +void checkUnnamed4242( core.List< api.GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation> o) { @@ -2436,12 +2436,12 @@ void checkUnnamed4258( } core.List - buildUnnamed4259() => [ + buildUnnamed4243() => [ buildGoogleCloudVisionV1p1beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p1beta1ProductSearchResultsResult(), ]; -void checkUnnamed4259( +void checkUnnamed4243( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1ProductSearchResultsResult(o[0]); @@ -2457,8 +2457,8 @@ api.GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult < 3) { o.boundingPoly = buildGoogleCloudVisionV1p1beta1BoundingPoly(); - o.objectAnnotations = buildUnnamed4258(); - o.results = buildUnnamed4259(); + o.objectAnnotations = buildUnnamed4242(); + o.results = buildUnnamed4243(); } buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult--; return o; @@ -2470,8 +2470,8 @@ void checkGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult( if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult < 3) { checkGoogleCloudVisionV1p1beta1BoundingPoly(o.boundingPoly!); - checkUnnamed4258(o.objectAnnotations!); - checkUnnamed4259(o.results!); + checkUnnamed4242(o.objectAnnotations!); + checkUnnamed4243(o.results!); } buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult--; } @@ -2661,12 +2661,12 @@ void checkGoogleCloudVisionV1p1beta1Symbol( buildCounterGoogleCloudVisionV1p1beta1Symbol--; } -core.List buildUnnamed4260() => [ +core.List buildUnnamed4244() => [ buildGoogleCloudVisionV1p1beta1Page(), buildGoogleCloudVisionV1p1beta1Page(), ]; -void checkUnnamed4260(core.List o) { +void checkUnnamed4244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Page(o[0]); checkGoogleCloudVisionV1p1beta1Page(o[1]); @@ -2678,7 +2678,7 @@ api.GoogleCloudVisionV1p1beta1TextAnnotation final o = api.GoogleCloudVisionV1p1beta1TextAnnotation(); buildCounterGoogleCloudVisionV1p1beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotation < 3) { - o.pages = buildUnnamed4260(); + o.pages = buildUnnamed4244(); o.text = 'foo'; } buildCounterGoogleCloudVisionV1p1beta1TextAnnotation--; @@ -2689,7 +2689,7 @@ void checkGoogleCloudVisionV1p1beta1TextAnnotation( api.GoogleCloudVisionV1p1beta1TextAnnotation o) { buildCounterGoogleCloudVisionV1p1beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotation < 3) { - checkUnnamed4260(o.pages!); + checkUnnamed4244(o.pages!); unittest.expect( o.text!, unittest.equals('foo'), @@ -2757,12 +2757,12 @@ void checkGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage( } core.List - buildUnnamed4261() => [ + buildUnnamed4245() => [ buildGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage(), buildGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage(), ]; -void checkUnnamed4261( +void checkUnnamed4245( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage(o[0]); @@ -2777,7 +2777,7 @@ api.GoogleCloudVisionV1p1beta1TextAnnotationTextProperty if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty < 3) { o.detectedBreak = buildGoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak(); - o.detectedLanguages = buildUnnamed4261(); + o.detectedLanguages = buildUnnamed4245(); } buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty--; return o; @@ -2789,7 +2789,7 @@ void checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty( if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty < 3) { checkGoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak( o.detectedBreak!); - checkUnnamed4261(o.detectedLanguages!); + checkUnnamed4245(o.detectedLanguages!); } buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty--; } @@ -2823,12 +2823,12 @@ void checkGoogleCloudVisionV1p1beta1Vertex( } core.List - buildUnnamed4262() => [ + buildUnnamed4246() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebLabel(), buildGoogleCloudVisionV1p1beta1WebDetectionWebLabel(), ]; -void checkUnnamed4262( +void checkUnnamed4246( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebLabel(o[0]); @@ -2836,12 +2836,12 @@ void checkUnnamed4262( } core.List - buildUnnamed4263() => [ + buildUnnamed4247() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), ]; -void checkUnnamed4263( +void checkUnnamed4247( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]); @@ -2849,12 +2849,12 @@ void checkUnnamed4263( } core.List - buildUnnamed4264() => [ + buildUnnamed4248() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebPage(), buildGoogleCloudVisionV1p1beta1WebDetectionWebPage(), ]; -void checkUnnamed4264( +void checkUnnamed4248( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebPage(o[0]); @@ -2862,12 +2862,12 @@ void checkUnnamed4264( } core.List - buildUnnamed4265() => [ + buildUnnamed4249() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), ]; -void checkUnnamed4265( +void checkUnnamed4249( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]); @@ -2875,12 +2875,12 @@ void checkUnnamed4265( } core.List - buildUnnamed4266() => [ + buildUnnamed4250() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), ]; -void checkUnnamed4266( +void checkUnnamed4250( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]); @@ -2888,12 +2888,12 @@ void checkUnnamed4266( } core.List - buildUnnamed4267() => [ + buildUnnamed4251() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebEntity(), buildGoogleCloudVisionV1p1beta1WebDetectionWebEntity(), ]; -void checkUnnamed4267( +void checkUnnamed4251( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebEntity(o[0]); @@ -2906,12 +2906,12 @@ api.GoogleCloudVisionV1p1beta1WebDetection final o = api.GoogleCloudVisionV1p1beta1WebDetection(); buildCounterGoogleCloudVisionV1p1beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p1beta1WebDetection < 3) { - o.bestGuessLabels = buildUnnamed4262(); - o.fullMatchingImages = buildUnnamed4263(); - o.pagesWithMatchingImages = buildUnnamed4264(); - o.partialMatchingImages = buildUnnamed4265(); - o.visuallySimilarImages = buildUnnamed4266(); - o.webEntities = buildUnnamed4267(); + o.bestGuessLabels = buildUnnamed4246(); + o.fullMatchingImages = buildUnnamed4247(); + o.pagesWithMatchingImages = buildUnnamed4248(); + o.partialMatchingImages = buildUnnamed4249(); + o.visuallySimilarImages = buildUnnamed4250(); + o.webEntities = buildUnnamed4251(); } buildCounterGoogleCloudVisionV1p1beta1WebDetection--; return o; @@ -2921,12 +2921,12 @@ void checkGoogleCloudVisionV1p1beta1WebDetection( api.GoogleCloudVisionV1p1beta1WebDetection o) { buildCounterGoogleCloudVisionV1p1beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p1beta1WebDetection < 3) { - checkUnnamed4262(o.bestGuessLabels!); - checkUnnamed4263(o.fullMatchingImages!); - checkUnnamed4264(o.pagesWithMatchingImages!); - checkUnnamed4265(o.partialMatchingImages!); - checkUnnamed4266(o.visuallySimilarImages!); - checkUnnamed4267(o.webEntities!); + checkUnnamed4246(o.bestGuessLabels!); + checkUnnamed4247(o.fullMatchingImages!); + checkUnnamed4248(o.pagesWithMatchingImages!); + checkUnnamed4249(o.partialMatchingImages!); + checkUnnamed4250(o.visuallySimilarImages!); + checkUnnamed4251(o.webEntities!); } buildCounterGoogleCloudVisionV1p1beta1WebDetection--; } @@ -3024,12 +3024,12 @@ void checkGoogleCloudVisionV1p1beta1WebDetectionWebLabel( } core.List - buildUnnamed4268() => [ + buildUnnamed4252() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), ]; -void checkUnnamed4268( +void checkUnnamed4252( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]); @@ -3037,12 +3037,12 @@ void checkUnnamed4268( } core.List - buildUnnamed4269() => [ + buildUnnamed4253() => [ buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p1beta1WebDetectionWebImage(), ]; -void checkUnnamed4269( +void checkUnnamed4253( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]); @@ -3055,9 +3055,9 @@ api.GoogleCloudVisionV1p1beta1WebDetectionWebPage final o = api.GoogleCloudVisionV1p1beta1WebDetectionWebPage(); buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage < 3) { - o.fullMatchingImages = buildUnnamed4268(); + o.fullMatchingImages = buildUnnamed4252(); o.pageTitle = 'foo'; - o.partialMatchingImages = buildUnnamed4269(); + o.partialMatchingImages = buildUnnamed4253(); o.score = 42.0; o.url = 'foo'; } @@ -3069,12 +3069,12 @@ void checkGoogleCloudVisionV1p1beta1WebDetectionWebPage( api.GoogleCloudVisionV1p1beta1WebDetectionWebPage o) { buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage < 3) { - checkUnnamed4268(o.fullMatchingImages!); + checkUnnamed4252(o.fullMatchingImages!); unittest.expect( o.pageTitle!, unittest.equals('foo'), ); - checkUnnamed4269(o.partialMatchingImages!); + checkUnnamed4253(o.partialMatchingImages!); unittest.expect( o.score!, unittest.equals(42.0), @@ -3087,12 +3087,12 @@ void checkGoogleCloudVisionV1p1beta1WebDetectionWebPage( buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage--; } -core.List buildUnnamed4270() => [ +core.List buildUnnamed4254() => [ buildGoogleCloudVisionV1p1beta1Symbol(), buildGoogleCloudVisionV1p1beta1Symbol(), ]; -void checkUnnamed4270(core.List o) { +void checkUnnamed4254(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p1beta1Symbol(o[0]); checkGoogleCloudVisionV1p1beta1Symbol(o[1]); @@ -3106,7 +3106,7 @@ api.GoogleCloudVisionV1p1beta1Word buildGoogleCloudVisionV1p1beta1Word() { o.boundingBox = buildGoogleCloudVisionV1p1beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(); - o.symbols = buildUnnamed4270(); + o.symbols = buildUnnamed4254(); } buildCounterGoogleCloudVisionV1p1beta1Word--; return o; @@ -3121,18 +3121,18 @@ void checkGoogleCloudVisionV1p1beta1Word(api.GoogleCloudVisionV1p1beta1Word o) { unittest.equals(42.0), ); checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4270(o.symbols!); + checkUnnamed4254(o.symbols!); } buildCounterGoogleCloudVisionV1p1beta1Word--; } core.List - buildUnnamed4271() => [ + buildUnnamed4255() => [ buildGoogleCloudVisionV1p2beta1AnnotateImageResponse(), buildGoogleCloudVisionV1p2beta1AnnotateImageResponse(), ]; -void checkUnnamed4271( +void checkUnnamed4255( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1AnnotateImageResponse(o[0]); @@ -3147,7 +3147,7 @@ api.GoogleCloudVisionV1p2beta1AnnotateFileResponse if (buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse < 3) { o.error = buildStatus(); o.inputConfig = buildGoogleCloudVisionV1p2beta1InputConfig(); - o.responses = buildUnnamed4271(); + o.responses = buildUnnamed4255(); o.totalPages = 42; } buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse--; @@ -3160,7 +3160,7 @@ void checkGoogleCloudVisionV1p2beta1AnnotateFileResponse( if (buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse < 3) { checkStatus(o.error!); checkGoogleCloudVisionV1p2beta1InputConfig(o.inputConfig!); - checkUnnamed4271(o.responses!); + checkUnnamed4255(o.responses!); unittest.expect( o.totalPages!, unittest.equals(42), @@ -3169,38 +3169,38 @@ void checkGoogleCloudVisionV1p2beta1AnnotateFileResponse( buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse--; } -core.List buildUnnamed4272() => [ +core.List buildUnnamed4256() => [ buildGoogleCloudVisionV1p2beta1FaceAnnotation(), buildGoogleCloudVisionV1p2beta1FaceAnnotation(), ]; -void checkUnnamed4272( +void checkUnnamed4256( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1FaceAnnotation(o[0]); checkGoogleCloudVisionV1p2beta1FaceAnnotation(o[1]); } -core.List buildUnnamed4273() => +core.List buildUnnamed4257() => [ buildGoogleCloudVisionV1p2beta1EntityAnnotation(), buildGoogleCloudVisionV1p2beta1EntityAnnotation(), ]; -void checkUnnamed4273( +void checkUnnamed4257( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4274() => +core.List buildUnnamed4258() => [ buildGoogleCloudVisionV1p2beta1EntityAnnotation(), buildGoogleCloudVisionV1p2beta1EntityAnnotation(), ]; -void checkUnnamed4274( +void checkUnnamed4258( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]); @@ -3208,38 +3208,38 @@ void checkUnnamed4274( } core.List - buildUnnamed4275() => [ + buildUnnamed4259() => [ buildGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(), buildGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(), ]; -void checkUnnamed4275( +void checkUnnamed4259( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(o[0]); checkGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(o[1]); } -core.List buildUnnamed4276() => +core.List buildUnnamed4260() => [ buildGoogleCloudVisionV1p2beta1EntityAnnotation(), buildGoogleCloudVisionV1p2beta1EntityAnnotation(), ]; -void checkUnnamed4276( +void checkUnnamed4260( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4277() => +core.List buildUnnamed4261() => [ buildGoogleCloudVisionV1p2beta1EntityAnnotation(), buildGoogleCloudVisionV1p2beta1EntityAnnotation(), ]; -void checkUnnamed4277( +void checkUnnamed4261( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]); @@ -3256,19 +3256,19 @@ api.GoogleCloudVisionV1p2beta1AnnotateImageResponse o.cropHintsAnnotation = buildGoogleCloudVisionV1p2beta1CropHintsAnnotation(); o.error = buildStatus(); - o.faceAnnotations = buildUnnamed4272(); + o.faceAnnotations = buildUnnamed4256(); o.fullTextAnnotation = buildGoogleCloudVisionV1p2beta1TextAnnotation(); o.imagePropertiesAnnotation = buildGoogleCloudVisionV1p2beta1ImageProperties(); - o.labelAnnotations = buildUnnamed4273(); - o.landmarkAnnotations = buildUnnamed4274(); - o.localizedObjectAnnotations = buildUnnamed4275(); - o.logoAnnotations = buildUnnamed4276(); + o.labelAnnotations = buildUnnamed4257(); + o.landmarkAnnotations = buildUnnamed4258(); + o.localizedObjectAnnotations = buildUnnamed4259(); + o.logoAnnotations = buildUnnamed4260(); o.productSearchResults = buildGoogleCloudVisionV1p2beta1ProductSearchResults(); o.safeSearchAnnotation = buildGoogleCloudVisionV1p2beta1SafeSearchAnnotation(); - o.textAnnotations = buildUnnamed4277(); + o.textAnnotations = buildUnnamed4261(); o.webDetection = buildGoogleCloudVisionV1p2beta1WebDetection(); } buildCounterGoogleCloudVisionV1p2beta1AnnotateImageResponse--; @@ -3282,19 +3282,19 @@ void checkGoogleCloudVisionV1p2beta1AnnotateImageResponse( checkGoogleCloudVisionV1p2beta1ImageAnnotationContext(o.context!); checkGoogleCloudVisionV1p2beta1CropHintsAnnotation(o.cropHintsAnnotation!); checkStatus(o.error!); - checkUnnamed4272(o.faceAnnotations!); + checkUnnamed4256(o.faceAnnotations!); checkGoogleCloudVisionV1p2beta1TextAnnotation(o.fullTextAnnotation!); checkGoogleCloudVisionV1p2beta1ImageProperties( o.imagePropertiesAnnotation!); - checkUnnamed4273(o.labelAnnotations!); - checkUnnamed4274(o.landmarkAnnotations!); - checkUnnamed4275(o.localizedObjectAnnotations!); - checkUnnamed4276(o.logoAnnotations!); + checkUnnamed4257(o.labelAnnotations!); + checkUnnamed4258(o.landmarkAnnotations!); + checkUnnamed4259(o.localizedObjectAnnotations!); + checkUnnamed4260(o.logoAnnotations!); checkGoogleCloudVisionV1p2beta1ProductSearchResults( o.productSearchResults!); checkGoogleCloudVisionV1p2beta1SafeSearchAnnotation( o.safeSearchAnnotation!); - checkUnnamed4277(o.textAnnotations!); + checkUnnamed4261(o.textAnnotations!); checkGoogleCloudVisionV1p2beta1WebDetection(o.webDetection!); } buildCounterGoogleCloudVisionV1p2beta1AnnotateImageResponse--; @@ -3322,12 +3322,12 @@ void checkGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse( } core.List - buildUnnamed4278() => [ + buildUnnamed4262() => [ buildGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse(), buildGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse(), ]; -void checkUnnamed4278( +void checkUnnamed4262( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse(o[0]); @@ -3342,7 +3342,7 @@ api.GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4278(); + o.responses = buildUnnamed4262(); } buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse--; return o; @@ -3353,17 +3353,17 @@ void checkGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse( buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse < 3) { - checkUnnamed4278(o.responses!); + checkUnnamed4262(o.responses!); } buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse--; } -core.List buildUnnamed4279() => [ +core.List buildUnnamed4263() => [ buildGoogleCloudVisionV1p2beta1Paragraph(), buildGoogleCloudVisionV1p2beta1Paragraph(), ]; -void checkUnnamed4279(core.List o) { +void checkUnnamed4263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Paragraph(o[0]); checkGoogleCloudVisionV1p2beta1Paragraph(o[1]); @@ -3377,7 +3377,7 @@ api.GoogleCloudVisionV1p2beta1Block buildGoogleCloudVisionV1p2beta1Block() { o.blockType = 'foo'; o.boundingBox = buildGoogleCloudVisionV1p2beta1BoundingPoly(); o.confidence = 42.0; - o.paragraphs = buildUnnamed4279(); + o.paragraphs = buildUnnamed4263(); o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(); } buildCounterGoogleCloudVisionV1p2beta1Block--; @@ -3397,31 +3397,31 @@ void checkGoogleCloudVisionV1p2beta1Block( o.confidence!, unittest.equals(42.0), ); - checkUnnamed4279(o.paragraphs!); + checkUnnamed4263(o.paragraphs!); checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property!); } buildCounterGoogleCloudVisionV1p2beta1Block--; } -core.List buildUnnamed4280() => +core.List buildUnnamed4264() => [ buildGoogleCloudVisionV1p2beta1NormalizedVertex(), buildGoogleCloudVisionV1p2beta1NormalizedVertex(), ]; -void checkUnnamed4280( +void checkUnnamed4264( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1NormalizedVertex(o[0]); checkGoogleCloudVisionV1p2beta1NormalizedVertex(o[1]); } -core.List buildUnnamed4281() => [ +core.List buildUnnamed4265() => [ buildGoogleCloudVisionV1p2beta1Vertex(), buildGoogleCloudVisionV1p2beta1Vertex(), ]; -void checkUnnamed4281(core.List o) { +void checkUnnamed4265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Vertex(o[0]); checkGoogleCloudVisionV1p2beta1Vertex(o[1]); @@ -3433,8 +3433,8 @@ api.GoogleCloudVisionV1p2beta1BoundingPoly final o = api.GoogleCloudVisionV1p2beta1BoundingPoly(); buildCounterGoogleCloudVisionV1p2beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p2beta1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed4280(); - o.vertices = buildUnnamed4281(); + o.normalizedVertices = buildUnnamed4264(); + o.vertices = buildUnnamed4265(); } buildCounterGoogleCloudVisionV1p2beta1BoundingPoly--; return o; @@ -3444,8 +3444,8 @@ void checkGoogleCloudVisionV1p2beta1BoundingPoly( api.GoogleCloudVisionV1p2beta1BoundingPoly o) { buildCounterGoogleCloudVisionV1p2beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p2beta1BoundingPoly < 3) { - checkUnnamed4280(o.normalizedVertices!); - checkUnnamed4281(o.vertices!); + checkUnnamed4264(o.normalizedVertices!); + checkUnnamed4265(o.vertices!); } buildCounterGoogleCloudVisionV1p2beta1BoundingPoly--; } @@ -3512,12 +3512,12 @@ void checkGoogleCloudVisionV1p2beta1CropHint( buildCounterGoogleCloudVisionV1p2beta1CropHint--; } -core.List buildUnnamed4282() => [ +core.List buildUnnamed4266() => [ buildGoogleCloudVisionV1p2beta1CropHint(), buildGoogleCloudVisionV1p2beta1CropHint(), ]; -void checkUnnamed4282(core.List o) { +void checkUnnamed4266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1CropHint(o[0]); checkGoogleCloudVisionV1p2beta1CropHint(o[1]); @@ -3529,7 +3529,7 @@ api.GoogleCloudVisionV1p2beta1CropHintsAnnotation final o = api.GoogleCloudVisionV1p2beta1CropHintsAnnotation(); buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation < 3) { - o.cropHints = buildUnnamed4282(); + o.cropHints = buildUnnamed4266(); } buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation--; return o; @@ -3539,17 +3539,17 @@ void checkGoogleCloudVisionV1p2beta1CropHintsAnnotation( api.GoogleCloudVisionV1p2beta1CropHintsAnnotation o) { buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation < 3) { - checkUnnamed4282(o.cropHints!); + checkUnnamed4266(o.cropHints!); } buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation--; } -core.List buildUnnamed4283() => [ +core.List buildUnnamed4267() => [ buildGoogleCloudVisionV1p2beta1ColorInfo(), buildGoogleCloudVisionV1p2beta1ColorInfo(), ]; -void checkUnnamed4283(core.List o) { +void checkUnnamed4267(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1ColorInfo(o[0]); checkGoogleCloudVisionV1p2beta1ColorInfo(o[1]); @@ -3561,7 +3561,7 @@ api.GoogleCloudVisionV1p2beta1DominantColorsAnnotation final o = api.GoogleCloudVisionV1p2beta1DominantColorsAnnotation(); buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation < 3) { - o.colors = buildUnnamed4283(); + o.colors = buildUnnamed4267(); } buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation--; return o; @@ -3571,28 +3571,28 @@ void checkGoogleCloudVisionV1p2beta1DominantColorsAnnotation( api.GoogleCloudVisionV1p2beta1DominantColorsAnnotation o) { buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation < 3) { - checkUnnamed4283(o.colors!); + checkUnnamed4267(o.colors!); } buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation--; } -core.List buildUnnamed4284() => [ +core.List buildUnnamed4268() => [ buildGoogleCloudVisionV1p2beta1LocationInfo(), buildGoogleCloudVisionV1p2beta1LocationInfo(), ]; -void checkUnnamed4284(core.List o) { +void checkUnnamed4268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1LocationInfo(o[0]); checkGoogleCloudVisionV1p2beta1LocationInfo(o[1]); } -core.List buildUnnamed4285() => [ +core.List buildUnnamed4269() => [ buildGoogleCloudVisionV1p2beta1Property(), buildGoogleCloudVisionV1p2beta1Property(), ]; -void checkUnnamed4285(core.List o) { +void checkUnnamed4269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Property(o[0]); checkGoogleCloudVisionV1p2beta1Property(o[1]); @@ -3608,9 +3608,9 @@ api.GoogleCloudVisionV1p2beta1EntityAnnotation o.confidence = 42.0; o.description = 'foo'; o.locale = 'foo'; - o.locations = buildUnnamed4284(); + o.locations = buildUnnamed4268(); o.mid = 'foo'; - o.properties = buildUnnamed4285(); + o.properties = buildUnnamed4269(); o.score = 42.0; o.topicality = 42.0; } @@ -3635,12 +3635,12 @@ void checkGoogleCloudVisionV1p2beta1EntityAnnotation( o.locale!, unittest.equals('foo'), ); - checkUnnamed4284(o.locations!); + checkUnnamed4268(o.locations!); unittest.expect( o.mid!, unittest.equals('foo'), ); - checkUnnamed4285(o.properties!); + checkUnnamed4269(o.properties!); unittest.expect( o.score!, unittest.equals(42.0), @@ -3654,12 +3654,12 @@ void checkGoogleCloudVisionV1p2beta1EntityAnnotation( } core.List - buildUnnamed4286() => [ + buildUnnamed4270() => [ buildGoogleCloudVisionV1p2beta1FaceAnnotationLandmark(), buildGoogleCloudVisionV1p2beta1FaceAnnotationLandmark(), ]; -void checkUnnamed4286( +void checkUnnamed4270( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1FaceAnnotationLandmark(o[0]); @@ -3680,7 +3680,7 @@ api.GoogleCloudVisionV1p2beta1FaceAnnotation o.headwearLikelihood = 'foo'; o.joyLikelihood = 'foo'; o.landmarkingConfidence = 42.0; - o.landmarks = buildUnnamed4286(); + o.landmarks = buildUnnamed4270(); o.panAngle = 42.0; o.rollAngle = 42.0; o.sorrowLikelihood = 'foo'; @@ -3722,7 +3722,7 @@ void checkGoogleCloudVisionV1p2beta1FaceAnnotation( o.landmarkingConfidence!, unittest.equals(42.0), ); - checkUnnamed4286(o.landmarks!); + checkUnnamed4270(o.landmarks!); unittest.expect( o.panAngle!, unittest.equals(42.0), @@ -4058,12 +4058,12 @@ void checkGoogleCloudVisionV1p2beta1OutputConfig( buildCounterGoogleCloudVisionV1p2beta1OutputConfig--; } -core.List buildUnnamed4287() => [ +core.List buildUnnamed4271() => [ buildGoogleCloudVisionV1p2beta1Block(), buildGoogleCloudVisionV1p2beta1Block(), ]; -void checkUnnamed4287(core.List o) { +void checkUnnamed4271(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Block(o[0]); checkGoogleCloudVisionV1p2beta1Block(o[1]); @@ -4074,7 +4074,7 @@ api.GoogleCloudVisionV1p2beta1Page buildGoogleCloudVisionV1p2beta1Page() { final o = api.GoogleCloudVisionV1p2beta1Page(); buildCounterGoogleCloudVisionV1p2beta1Page++; if (buildCounterGoogleCloudVisionV1p2beta1Page < 3) { - o.blocks = buildUnnamed4287(); + o.blocks = buildUnnamed4271(); o.confidence = 42.0; o.height = 42; o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(); @@ -4087,7 +4087,7 @@ api.GoogleCloudVisionV1p2beta1Page buildGoogleCloudVisionV1p2beta1Page() { void checkGoogleCloudVisionV1p2beta1Page(api.GoogleCloudVisionV1p2beta1Page o) { buildCounterGoogleCloudVisionV1p2beta1Page++; if (buildCounterGoogleCloudVisionV1p2beta1Page < 3) { - checkUnnamed4287(o.blocks!); + checkUnnamed4271(o.blocks!); unittest.expect( o.confidence!, unittest.equals(42.0), @@ -4105,12 +4105,12 @@ void checkGoogleCloudVisionV1p2beta1Page(api.GoogleCloudVisionV1p2beta1Page o) { buildCounterGoogleCloudVisionV1p2beta1Page--; } -core.List buildUnnamed4288() => [ +core.List buildUnnamed4272() => [ buildGoogleCloudVisionV1p2beta1Word(), buildGoogleCloudVisionV1p2beta1Word(), ]; -void checkUnnamed4288(core.List o) { +void checkUnnamed4272(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Word(o[0]); checkGoogleCloudVisionV1p2beta1Word(o[1]); @@ -4125,7 +4125,7 @@ api.GoogleCloudVisionV1p2beta1Paragraph o.boundingBox = buildGoogleCloudVisionV1p2beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(); - o.words = buildUnnamed4288(); + o.words = buildUnnamed4272(); } buildCounterGoogleCloudVisionV1p2beta1Paragraph--; return o; @@ -4141,7 +4141,7 @@ void checkGoogleCloudVisionV1p2beta1Paragraph( unittest.equals(42.0), ); checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4288(o.words!); + checkUnnamed4272(o.words!); } buildCounterGoogleCloudVisionV1p2beta1Paragraph--; } @@ -4180,12 +4180,12 @@ void checkGoogleCloudVisionV1p2beta1Position( buildCounterGoogleCloudVisionV1p2beta1Position--; } -core.List buildUnnamed4289() => [ +core.List buildUnnamed4273() => [ buildGoogleCloudVisionV1p2beta1ProductKeyValue(), buildGoogleCloudVisionV1p2beta1ProductKeyValue(), ]; -void checkUnnamed4289( +void checkUnnamed4273( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1ProductKeyValue(o[0]); @@ -4201,7 +4201,7 @@ api.GoogleCloudVisionV1p2beta1Product buildGoogleCloudVisionV1p2beta1Product() { o.displayName = 'foo'; o.name = 'foo'; o.productCategory = 'foo'; - o.productLabels = buildUnnamed4289(); + o.productLabels = buildUnnamed4273(); } buildCounterGoogleCloudVisionV1p2beta1Product--; return o; @@ -4227,7 +4227,7 @@ void checkGoogleCloudVisionV1p2beta1Product( o.productCategory!, unittest.equals('foo'), ); - checkUnnamed4289(o.productLabels!); + checkUnnamed4273(o.productLabels!); } buildCounterGoogleCloudVisionV1p2beta1Product--; } @@ -4262,12 +4262,12 @@ void checkGoogleCloudVisionV1p2beta1ProductKeyValue( } core.List - buildUnnamed4290() => [ + buildUnnamed4274() => [ buildGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult(), buildGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult(), ]; -void checkUnnamed4290( +void checkUnnamed4274( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4276,12 +4276,12 @@ void checkUnnamed4290( } core.List - buildUnnamed4291() => [ + buildUnnamed4275() => [ buildGoogleCloudVisionV1p2beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p2beta1ProductSearchResultsResult(), ]; -void checkUnnamed4291( +void checkUnnamed4275( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1ProductSearchResultsResult(o[0]); @@ -4295,8 +4295,8 @@ api.GoogleCloudVisionV1p2beta1ProductSearchResults buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults++; if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults < 3) { o.indexTime = 'foo'; - o.productGroupedResults = buildUnnamed4290(); - o.results = buildUnnamed4291(); + o.productGroupedResults = buildUnnamed4274(); + o.results = buildUnnamed4275(); } buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults--; return o; @@ -4310,19 +4310,19 @@ void checkGoogleCloudVisionV1p2beta1ProductSearchResults( o.indexTime!, unittest.equals('foo'), ); - checkUnnamed4290(o.productGroupedResults!); - checkUnnamed4291(o.results!); + checkUnnamed4274(o.productGroupedResults!); + checkUnnamed4275(o.results!); } buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults--; } core.List - buildUnnamed4292() => [ + buildUnnamed4276() => [ buildGoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation(), buildGoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation(), ]; -void checkUnnamed4292( +void checkUnnamed4276( core.List< api.GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation> o) { @@ -4332,12 +4332,12 @@ void checkUnnamed4292( } core.List - buildUnnamed4293() => [ + buildUnnamed4277() => [ buildGoogleCloudVisionV1p2beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p2beta1ProductSearchResultsResult(), ]; -void checkUnnamed4293( +void checkUnnamed4277( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1ProductSearchResultsResult(o[0]); @@ -4353,8 +4353,8 @@ api.GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult < 3) { o.boundingPoly = buildGoogleCloudVisionV1p2beta1BoundingPoly(); - o.objectAnnotations = buildUnnamed4292(); - o.results = buildUnnamed4293(); + o.objectAnnotations = buildUnnamed4276(); + o.results = buildUnnamed4277(); } buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult--; return o; @@ -4366,8 +4366,8 @@ void checkGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult( if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult < 3) { checkGoogleCloudVisionV1p2beta1BoundingPoly(o.boundingPoly!); - checkUnnamed4292(o.objectAnnotations!); - checkUnnamed4293(o.results!); + checkUnnamed4276(o.objectAnnotations!); + checkUnnamed4277(o.results!); } buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult--; } @@ -4557,12 +4557,12 @@ void checkGoogleCloudVisionV1p2beta1Symbol( buildCounterGoogleCloudVisionV1p2beta1Symbol--; } -core.List buildUnnamed4294() => [ +core.List buildUnnamed4278() => [ buildGoogleCloudVisionV1p2beta1Page(), buildGoogleCloudVisionV1p2beta1Page(), ]; -void checkUnnamed4294(core.List o) { +void checkUnnamed4278(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Page(o[0]); checkGoogleCloudVisionV1p2beta1Page(o[1]); @@ -4574,7 +4574,7 @@ api.GoogleCloudVisionV1p2beta1TextAnnotation final o = api.GoogleCloudVisionV1p2beta1TextAnnotation(); buildCounterGoogleCloudVisionV1p2beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotation < 3) { - o.pages = buildUnnamed4294(); + o.pages = buildUnnamed4278(); o.text = 'foo'; } buildCounterGoogleCloudVisionV1p2beta1TextAnnotation--; @@ -4585,7 +4585,7 @@ void checkGoogleCloudVisionV1p2beta1TextAnnotation( api.GoogleCloudVisionV1p2beta1TextAnnotation o) { buildCounterGoogleCloudVisionV1p2beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotation < 3) { - checkUnnamed4294(o.pages!); + checkUnnamed4278(o.pages!); unittest.expect( o.text!, unittest.equals('foo'), @@ -4653,12 +4653,12 @@ void checkGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage( } core.List - buildUnnamed4295() => [ + buildUnnamed4279() => [ buildGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage(), buildGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage(), ]; -void checkUnnamed4295( +void checkUnnamed4279( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage(o[0]); @@ -4673,7 +4673,7 @@ api.GoogleCloudVisionV1p2beta1TextAnnotationTextProperty if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty < 3) { o.detectedBreak = buildGoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak(); - o.detectedLanguages = buildUnnamed4295(); + o.detectedLanguages = buildUnnamed4279(); } buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty--; return o; @@ -4685,7 +4685,7 @@ void checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty( if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty < 3) { checkGoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak( o.detectedBreak!); - checkUnnamed4295(o.detectedLanguages!); + checkUnnamed4279(o.detectedLanguages!); } buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty--; } @@ -4719,12 +4719,12 @@ void checkGoogleCloudVisionV1p2beta1Vertex( } core.List - buildUnnamed4296() => [ + buildUnnamed4280() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebLabel(), buildGoogleCloudVisionV1p2beta1WebDetectionWebLabel(), ]; -void checkUnnamed4296( +void checkUnnamed4280( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebLabel(o[0]); @@ -4732,12 +4732,12 @@ void checkUnnamed4296( } core.List - buildUnnamed4297() => [ + buildUnnamed4281() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), ]; -void checkUnnamed4297( +void checkUnnamed4281( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]); @@ -4745,12 +4745,12 @@ void checkUnnamed4297( } core.List - buildUnnamed4298() => [ + buildUnnamed4282() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebPage(), buildGoogleCloudVisionV1p2beta1WebDetectionWebPage(), ]; -void checkUnnamed4298( +void checkUnnamed4282( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebPage(o[0]); @@ -4758,12 +4758,12 @@ void checkUnnamed4298( } core.List - buildUnnamed4299() => [ + buildUnnamed4283() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), ]; -void checkUnnamed4299( +void checkUnnamed4283( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]); @@ -4771,12 +4771,12 @@ void checkUnnamed4299( } core.List - buildUnnamed4300() => [ + buildUnnamed4284() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), ]; -void checkUnnamed4300( +void checkUnnamed4284( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]); @@ -4784,12 +4784,12 @@ void checkUnnamed4300( } core.List - buildUnnamed4301() => [ + buildUnnamed4285() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebEntity(), buildGoogleCloudVisionV1p2beta1WebDetectionWebEntity(), ]; -void checkUnnamed4301( +void checkUnnamed4285( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebEntity(o[0]); @@ -4802,12 +4802,12 @@ api.GoogleCloudVisionV1p2beta1WebDetection final o = api.GoogleCloudVisionV1p2beta1WebDetection(); buildCounterGoogleCloudVisionV1p2beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p2beta1WebDetection < 3) { - o.bestGuessLabels = buildUnnamed4296(); - o.fullMatchingImages = buildUnnamed4297(); - o.pagesWithMatchingImages = buildUnnamed4298(); - o.partialMatchingImages = buildUnnamed4299(); - o.visuallySimilarImages = buildUnnamed4300(); - o.webEntities = buildUnnamed4301(); + o.bestGuessLabels = buildUnnamed4280(); + o.fullMatchingImages = buildUnnamed4281(); + o.pagesWithMatchingImages = buildUnnamed4282(); + o.partialMatchingImages = buildUnnamed4283(); + o.visuallySimilarImages = buildUnnamed4284(); + o.webEntities = buildUnnamed4285(); } buildCounterGoogleCloudVisionV1p2beta1WebDetection--; return o; @@ -4817,12 +4817,12 @@ void checkGoogleCloudVisionV1p2beta1WebDetection( api.GoogleCloudVisionV1p2beta1WebDetection o) { buildCounterGoogleCloudVisionV1p2beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p2beta1WebDetection < 3) { - checkUnnamed4296(o.bestGuessLabels!); - checkUnnamed4297(o.fullMatchingImages!); - checkUnnamed4298(o.pagesWithMatchingImages!); - checkUnnamed4299(o.partialMatchingImages!); - checkUnnamed4300(o.visuallySimilarImages!); - checkUnnamed4301(o.webEntities!); + checkUnnamed4280(o.bestGuessLabels!); + checkUnnamed4281(o.fullMatchingImages!); + checkUnnamed4282(o.pagesWithMatchingImages!); + checkUnnamed4283(o.partialMatchingImages!); + checkUnnamed4284(o.visuallySimilarImages!); + checkUnnamed4285(o.webEntities!); } buildCounterGoogleCloudVisionV1p2beta1WebDetection--; } @@ -4920,12 +4920,12 @@ void checkGoogleCloudVisionV1p2beta1WebDetectionWebLabel( } core.List - buildUnnamed4302() => [ + buildUnnamed4286() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), ]; -void checkUnnamed4302( +void checkUnnamed4286( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]); @@ -4933,12 +4933,12 @@ void checkUnnamed4302( } core.List - buildUnnamed4303() => [ + buildUnnamed4287() => [ buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p2beta1WebDetectionWebImage(), ]; -void checkUnnamed4303( +void checkUnnamed4287( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]); @@ -4951,9 +4951,9 @@ api.GoogleCloudVisionV1p2beta1WebDetectionWebPage final o = api.GoogleCloudVisionV1p2beta1WebDetectionWebPage(); buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage < 3) { - o.fullMatchingImages = buildUnnamed4302(); + o.fullMatchingImages = buildUnnamed4286(); o.pageTitle = 'foo'; - o.partialMatchingImages = buildUnnamed4303(); + o.partialMatchingImages = buildUnnamed4287(); o.score = 42.0; o.url = 'foo'; } @@ -4965,12 +4965,12 @@ void checkGoogleCloudVisionV1p2beta1WebDetectionWebPage( api.GoogleCloudVisionV1p2beta1WebDetectionWebPage o) { buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage < 3) { - checkUnnamed4302(o.fullMatchingImages!); + checkUnnamed4286(o.fullMatchingImages!); unittest.expect( o.pageTitle!, unittest.equals('foo'), ); - checkUnnamed4303(o.partialMatchingImages!); + checkUnnamed4287(o.partialMatchingImages!); unittest.expect( o.score!, unittest.equals(42.0), @@ -4983,12 +4983,12 @@ void checkGoogleCloudVisionV1p2beta1WebDetectionWebPage( buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage--; } -core.List buildUnnamed4304() => [ +core.List buildUnnamed4288() => [ buildGoogleCloudVisionV1p2beta1Symbol(), buildGoogleCloudVisionV1p2beta1Symbol(), ]; -void checkUnnamed4304(core.List o) { +void checkUnnamed4288(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p2beta1Symbol(o[0]); checkGoogleCloudVisionV1p2beta1Symbol(o[1]); @@ -5002,7 +5002,7 @@ api.GoogleCloudVisionV1p2beta1Word buildGoogleCloudVisionV1p2beta1Word() { o.boundingBox = buildGoogleCloudVisionV1p2beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(); - o.symbols = buildUnnamed4304(); + o.symbols = buildUnnamed4288(); } buildCounterGoogleCloudVisionV1p2beta1Word--; return o; @@ -5017,18 +5017,18 @@ void checkGoogleCloudVisionV1p2beta1Word(api.GoogleCloudVisionV1p2beta1Word o) { unittest.equals(42.0), ); checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4304(o.symbols!); + checkUnnamed4288(o.symbols!); } buildCounterGoogleCloudVisionV1p2beta1Word--; } core.List - buildUnnamed4305() => [ + buildUnnamed4289() => [ buildGoogleCloudVisionV1p3beta1AnnotateImageResponse(), buildGoogleCloudVisionV1p3beta1AnnotateImageResponse(), ]; -void checkUnnamed4305( +void checkUnnamed4289( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1AnnotateImageResponse(o[0]); @@ -5043,7 +5043,7 @@ api.GoogleCloudVisionV1p3beta1AnnotateFileResponse if (buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse < 3) { o.error = buildStatus(); o.inputConfig = buildGoogleCloudVisionV1p3beta1InputConfig(); - o.responses = buildUnnamed4305(); + o.responses = buildUnnamed4289(); o.totalPages = 42; } buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse--; @@ -5056,7 +5056,7 @@ void checkGoogleCloudVisionV1p3beta1AnnotateFileResponse( if (buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse < 3) { checkStatus(o.error!); checkGoogleCloudVisionV1p3beta1InputConfig(o.inputConfig!); - checkUnnamed4305(o.responses!); + checkUnnamed4289(o.responses!); unittest.expect( o.totalPages!, unittest.equals(42), @@ -5065,38 +5065,38 @@ void checkGoogleCloudVisionV1p3beta1AnnotateFileResponse( buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse--; } -core.List buildUnnamed4306() => [ +core.List buildUnnamed4290() => [ buildGoogleCloudVisionV1p3beta1FaceAnnotation(), buildGoogleCloudVisionV1p3beta1FaceAnnotation(), ]; -void checkUnnamed4306( +void checkUnnamed4290( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1FaceAnnotation(o[0]); checkGoogleCloudVisionV1p3beta1FaceAnnotation(o[1]); } -core.List buildUnnamed4307() => +core.List buildUnnamed4291() => [ buildGoogleCloudVisionV1p3beta1EntityAnnotation(), buildGoogleCloudVisionV1p3beta1EntityAnnotation(), ]; -void checkUnnamed4307( +void checkUnnamed4291( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4308() => +core.List buildUnnamed4292() => [ buildGoogleCloudVisionV1p3beta1EntityAnnotation(), buildGoogleCloudVisionV1p3beta1EntityAnnotation(), ]; -void checkUnnamed4308( +void checkUnnamed4292( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]); @@ -5104,38 +5104,38 @@ void checkUnnamed4308( } core.List - buildUnnamed4309() => [ + buildUnnamed4293() => [ buildGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(), buildGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(), ]; -void checkUnnamed4309( +void checkUnnamed4293( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(o[0]); checkGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(o[1]); } -core.List buildUnnamed4310() => +core.List buildUnnamed4294() => [ buildGoogleCloudVisionV1p3beta1EntityAnnotation(), buildGoogleCloudVisionV1p3beta1EntityAnnotation(), ]; -void checkUnnamed4310( +void checkUnnamed4294( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4311() => +core.List buildUnnamed4295() => [ buildGoogleCloudVisionV1p3beta1EntityAnnotation(), buildGoogleCloudVisionV1p3beta1EntityAnnotation(), ]; -void checkUnnamed4311( +void checkUnnamed4295( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]); @@ -5152,19 +5152,19 @@ api.GoogleCloudVisionV1p3beta1AnnotateImageResponse o.cropHintsAnnotation = buildGoogleCloudVisionV1p3beta1CropHintsAnnotation(); o.error = buildStatus(); - o.faceAnnotations = buildUnnamed4306(); + o.faceAnnotations = buildUnnamed4290(); o.fullTextAnnotation = buildGoogleCloudVisionV1p3beta1TextAnnotation(); o.imagePropertiesAnnotation = buildGoogleCloudVisionV1p3beta1ImageProperties(); - o.labelAnnotations = buildUnnamed4307(); - o.landmarkAnnotations = buildUnnamed4308(); - o.localizedObjectAnnotations = buildUnnamed4309(); - o.logoAnnotations = buildUnnamed4310(); + o.labelAnnotations = buildUnnamed4291(); + o.landmarkAnnotations = buildUnnamed4292(); + o.localizedObjectAnnotations = buildUnnamed4293(); + o.logoAnnotations = buildUnnamed4294(); o.productSearchResults = buildGoogleCloudVisionV1p3beta1ProductSearchResults(); o.safeSearchAnnotation = buildGoogleCloudVisionV1p3beta1SafeSearchAnnotation(); - o.textAnnotations = buildUnnamed4311(); + o.textAnnotations = buildUnnamed4295(); o.webDetection = buildGoogleCloudVisionV1p3beta1WebDetection(); } buildCounterGoogleCloudVisionV1p3beta1AnnotateImageResponse--; @@ -5178,19 +5178,19 @@ void checkGoogleCloudVisionV1p3beta1AnnotateImageResponse( checkGoogleCloudVisionV1p3beta1ImageAnnotationContext(o.context!); checkGoogleCloudVisionV1p3beta1CropHintsAnnotation(o.cropHintsAnnotation!); checkStatus(o.error!); - checkUnnamed4306(o.faceAnnotations!); + checkUnnamed4290(o.faceAnnotations!); checkGoogleCloudVisionV1p3beta1TextAnnotation(o.fullTextAnnotation!); checkGoogleCloudVisionV1p3beta1ImageProperties( o.imagePropertiesAnnotation!); - checkUnnamed4307(o.labelAnnotations!); - checkUnnamed4308(o.landmarkAnnotations!); - checkUnnamed4309(o.localizedObjectAnnotations!); - checkUnnamed4310(o.logoAnnotations!); + checkUnnamed4291(o.labelAnnotations!); + checkUnnamed4292(o.landmarkAnnotations!); + checkUnnamed4293(o.localizedObjectAnnotations!); + checkUnnamed4294(o.logoAnnotations!); checkGoogleCloudVisionV1p3beta1ProductSearchResults( o.productSearchResults!); checkGoogleCloudVisionV1p3beta1SafeSearchAnnotation( o.safeSearchAnnotation!); - checkUnnamed4311(o.textAnnotations!); + checkUnnamed4295(o.textAnnotations!); checkGoogleCloudVisionV1p3beta1WebDetection(o.webDetection!); } buildCounterGoogleCloudVisionV1p3beta1AnnotateImageResponse--; @@ -5218,12 +5218,12 @@ void checkGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse( } core.List - buildUnnamed4312() => [ + buildUnnamed4296() => [ buildGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse(), buildGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse(), ]; -void checkUnnamed4312( +void checkUnnamed4296( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse(o[0]); @@ -5238,7 +5238,7 @@ api.GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4312(); + o.responses = buildUnnamed4296(); } buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse--; return o; @@ -5249,7 +5249,7 @@ void checkGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse( buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse < 3) { - checkUnnamed4312(o.responses!); + checkUnnamed4296(o.responses!); } buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse--; } @@ -5288,12 +5288,12 @@ void checkGoogleCloudVisionV1p3beta1BatchOperationMetadata( buildCounterGoogleCloudVisionV1p3beta1BatchOperationMetadata--; } -core.List buildUnnamed4313() => [ +core.List buildUnnamed4297() => [ buildGoogleCloudVisionV1p3beta1Paragraph(), buildGoogleCloudVisionV1p3beta1Paragraph(), ]; -void checkUnnamed4313(core.List o) { +void checkUnnamed4297(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Paragraph(o[0]); checkGoogleCloudVisionV1p3beta1Paragraph(o[1]); @@ -5307,7 +5307,7 @@ api.GoogleCloudVisionV1p3beta1Block buildGoogleCloudVisionV1p3beta1Block() { o.blockType = 'foo'; o.boundingBox = buildGoogleCloudVisionV1p3beta1BoundingPoly(); o.confidence = 42.0; - o.paragraphs = buildUnnamed4313(); + o.paragraphs = buildUnnamed4297(); o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(); } buildCounterGoogleCloudVisionV1p3beta1Block--; @@ -5327,31 +5327,31 @@ void checkGoogleCloudVisionV1p3beta1Block( o.confidence!, unittest.equals(42.0), ); - checkUnnamed4313(o.paragraphs!); + checkUnnamed4297(o.paragraphs!); checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property!); } buildCounterGoogleCloudVisionV1p3beta1Block--; } -core.List buildUnnamed4314() => +core.List buildUnnamed4298() => [ buildGoogleCloudVisionV1p3beta1NormalizedVertex(), buildGoogleCloudVisionV1p3beta1NormalizedVertex(), ]; -void checkUnnamed4314( +void checkUnnamed4298( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1NormalizedVertex(o[0]); checkGoogleCloudVisionV1p3beta1NormalizedVertex(o[1]); } -core.List buildUnnamed4315() => [ +core.List buildUnnamed4299() => [ buildGoogleCloudVisionV1p3beta1Vertex(), buildGoogleCloudVisionV1p3beta1Vertex(), ]; -void checkUnnamed4315(core.List o) { +void checkUnnamed4299(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Vertex(o[0]); checkGoogleCloudVisionV1p3beta1Vertex(o[1]); @@ -5363,8 +5363,8 @@ api.GoogleCloudVisionV1p3beta1BoundingPoly final o = api.GoogleCloudVisionV1p3beta1BoundingPoly(); buildCounterGoogleCloudVisionV1p3beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p3beta1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed4314(); - o.vertices = buildUnnamed4315(); + o.normalizedVertices = buildUnnamed4298(); + o.vertices = buildUnnamed4299(); } buildCounterGoogleCloudVisionV1p3beta1BoundingPoly--; return o; @@ -5374,8 +5374,8 @@ void checkGoogleCloudVisionV1p3beta1BoundingPoly( api.GoogleCloudVisionV1p3beta1BoundingPoly o) { buildCounterGoogleCloudVisionV1p3beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p3beta1BoundingPoly < 3) { - checkUnnamed4314(o.normalizedVertices!); - checkUnnamed4315(o.vertices!); + checkUnnamed4298(o.normalizedVertices!); + checkUnnamed4299(o.vertices!); } buildCounterGoogleCloudVisionV1p3beta1BoundingPoly--; } @@ -5442,12 +5442,12 @@ void checkGoogleCloudVisionV1p3beta1CropHint( buildCounterGoogleCloudVisionV1p3beta1CropHint--; } -core.List buildUnnamed4316() => [ +core.List buildUnnamed4300() => [ buildGoogleCloudVisionV1p3beta1CropHint(), buildGoogleCloudVisionV1p3beta1CropHint(), ]; -void checkUnnamed4316(core.List o) { +void checkUnnamed4300(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1CropHint(o[0]); checkGoogleCloudVisionV1p3beta1CropHint(o[1]); @@ -5459,7 +5459,7 @@ api.GoogleCloudVisionV1p3beta1CropHintsAnnotation final o = api.GoogleCloudVisionV1p3beta1CropHintsAnnotation(); buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation < 3) { - o.cropHints = buildUnnamed4316(); + o.cropHints = buildUnnamed4300(); } buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation--; return o; @@ -5469,17 +5469,17 @@ void checkGoogleCloudVisionV1p3beta1CropHintsAnnotation( api.GoogleCloudVisionV1p3beta1CropHintsAnnotation o) { buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation < 3) { - checkUnnamed4316(o.cropHints!); + checkUnnamed4300(o.cropHints!); } buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation--; } -core.List buildUnnamed4317() => [ +core.List buildUnnamed4301() => [ buildGoogleCloudVisionV1p3beta1ColorInfo(), buildGoogleCloudVisionV1p3beta1ColorInfo(), ]; -void checkUnnamed4317(core.List o) { +void checkUnnamed4301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1ColorInfo(o[0]); checkGoogleCloudVisionV1p3beta1ColorInfo(o[1]); @@ -5491,7 +5491,7 @@ api.GoogleCloudVisionV1p3beta1DominantColorsAnnotation final o = api.GoogleCloudVisionV1p3beta1DominantColorsAnnotation(); buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation < 3) { - o.colors = buildUnnamed4317(); + o.colors = buildUnnamed4301(); } buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation--; return o; @@ -5501,28 +5501,28 @@ void checkGoogleCloudVisionV1p3beta1DominantColorsAnnotation( api.GoogleCloudVisionV1p3beta1DominantColorsAnnotation o) { buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation < 3) { - checkUnnamed4317(o.colors!); + checkUnnamed4301(o.colors!); } buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation--; } -core.List buildUnnamed4318() => [ +core.List buildUnnamed4302() => [ buildGoogleCloudVisionV1p3beta1LocationInfo(), buildGoogleCloudVisionV1p3beta1LocationInfo(), ]; -void checkUnnamed4318(core.List o) { +void checkUnnamed4302(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1LocationInfo(o[0]); checkGoogleCloudVisionV1p3beta1LocationInfo(o[1]); } -core.List buildUnnamed4319() => [ +core.List buildUnnamed4303() => [ buildGoogleCloudVisionV1p3beta1Property(), buildGoogleCloudVisionV1p3beta1Property(), ]; -void checkUnnamed4319(core.List o) { +void checkUnnamed4303(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Property(o[0]); checkGoogleCloudVisionV1p3beta1Property(o[1]); @@ -5538,9 +5538,9 @@ api.GoogleCloudVisionV1p3beta1EntityAnnotation o.confidence = 42.0; o.description = 'foo'; o.locale = 'foo'; - o.locations = buildUnnamed4318(); + o.locations = buildUnnamed4302(); o.mid = 'foo'; - o.properties = buildUnnamed4319(); + o.properties = buildUnnamed4303(); o.score = 42.0; o.topicality = 42.0; } @@ -5565,12 +5565,12 @@ void checkGoogleCloudVisionV1p3beta1EntityAnnotation( o.locale!, unittest.equals('foo'), ); - checkUnnamed4318(o.locations!); + checkUnnamed4302(o.locations!); unittest.expect( o.mid!, unittest.equals('foo'), ); - checkUnnamed4319(o.properties!); + checkUnnamed4303(o.properties!); unittest.expect( o.score!, unittest.equals(42.0), @@ -5584,12 +5584,12 @@ void checkGoogleCloudVisionV1p3beta1EntityAnnotation( } core.List - buildUnnamed4320() => [ + buildUnnamed4304() => [ buildGoogleCloudVisionV1p3beta1FaceAnnotationLandmark(), buildGoogleCloudVisionV1p3beta1FaceAnnotationLandmark(), ]; -void checkUnnamed4320( +void checkUnnamed4304( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1FaceAnnotationLandmark(o[0]); @@ -5610,7 +5610,7 @@ api.GoogleCloudVisionV1p3beta1FaceAnnotation o.headwearLikelihood = 'foo'; o.joyLikelihood = 'foo'; o.landmarkingConfidence = 42.0; - o.landmarks = buildUnnamed4320(); + o.landmarks = buildUnnamed4304(); o.panAngle = 42.0; o.rollAngle = 42.0; o.sorrowLikelihood = 'foo'; @@ -5652,7 +5652,7 @@ void checkGoogleCloudVisionV1p3beta1FaceAnnotation( o.landmarkingConfidence!, unittest.equals(42.0), ); - checkUnnamed4320(o.landmarks!); + checkUnnamed4304(o.landmarks!); unittest.expect( o.panAngle!, unittest.equals(42.0), @@ -5806,24 +5806,24 @@ void checkGoogleCloudVisionV1p3beta1ImageProperties( buildCounterGoogleCloudVisionV1p3beta1ImageProperties--; } -core.List buildUnnamed4321() => [ +core.List buildUnnamed4305() => [ buildGoogleCloudVisionV1p3beta1ReferenceImage(), buildGoogleCloudVisionV1p3beta1ReferenceImage(), ]; -void checkUnnamed4321( +void checkUnnamed4305( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1ReferenceImage(o[0]); checkGoogleCloudVisionV1p3beta1ReferenceImage(o[1]); } -core.List buildUnnamed4322() => [ +core.List buildUnnamed4306() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed4322(core.List o) { +void checkUnnamed4306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); @@ -5835,8 +5835,8 @@ api.GoogleCloudVisionV1p3beta1ImportProductSetsResponse final o = api.GoogleCloudVisionV1p3beta1ImportProductSetsResponse(); buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse++; if (buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse < 3) { - o.referenceImages = buildUnnamed4321(); - o.statuses = buildUnnamed4322(); + o.referenceImages = buildUnnamed4305(); + o.statuses = buildUnnamed4306(); } buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse--; return o; @@ -5846,8 +5846,8 @@ void checkGoogleCloudVisionV1p3beta1ImportProductSetsResponse( api.GoogleCloudVisionV1p3beta1ImportProductSetsResponse o) { buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse++; if (buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse < 3) { - checkUnnamed4321(o.referenceImages!); - checkUnnamed4322(o.statuses!); + checkUnnamed4305(o.referenceImages!); + checkUnnamed4306(o.statuses!); } buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse--; } @@ -6034,12 +6034,12 @@ void checkGoogleCloudVisionV1p3beta1OutputConfig( buildCounterGoogleCloudVisionV1p3beta1OutputConfig--; } -core.List buildUnnamed4323() => [ +core.List buildUnnamed4307() => [ buildGoogleCloudVisionV1p3beta1Block(), buildGoogleCloudVisionV1p3beta1Block(), ]; -void checkUnnamed4323(core.List o) { +void checkUnnamed4307(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Block(o[0]); checkGoogleCloudVisionV1p3beta1Block(o[1]); @@ -6050,7 +6050,7 @@ api.GoogleCloudVisionV1p3beta1Page buildGoogleCloudVisionV1p3beta1Page() { final o = api.GoogleCloudVisionV1p3beta1Page(); buildCounterGoogleCloudVisionV1p3beta1Page++; if (buildCounterGoogleCloudVisionV1p3beta1Page < 3) { - o.blocks = buildUnnamed4323(); + o.blocks = buildUnnamed4307(); o.confidence = 42.0; o.height = 42; o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(); @@ -6063,7 +6063,7 @@ api.GoogleCloudVisionV1p3beta1Page buildGoogleCloudVisionV1p3beta1Page() { void checkGoogleCloudVisionV1p3beta1Page(api.GoogleCloudVisionV1p3beta1Page o) { buildCounterGoogleCloudVisionV1p3beta1Page++; if (buildCounterGoogleCloudVisionV1p3beta1Page < 3) { - checkUnnamed4323(o.blocks!); + checkUnnamed4307(o.blocks!); unittest.expect( o.confidence!, unittest.equals(42.0), @@ -6081,12 +6081,12 @@ void checkGoogleCloudVisionV1p3beta1Page(api.GoogleCloudVisionV1p3beta1Page o) { buildCounterGoogleCloudVisionV1p3beta1Page--; } -core.List buildUnnamed4324() => [ +core.List buildUnnamed4308() => [ buildGoogleCloudVisionV1p3beta1Word(), buildGoogleCloudVisionV1p3beta1Word(), ]; -void checkUnnamed4324(core.List o) { +void checkUnnamed4308(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Word(o[0]); checkGoogleCloudVisionV1p3beta1Word(o[1]); @@ -6101,7 +6101,7 @@ api.GoogleCloudVisionV1p3beta1Paragraph o.boundingBox = buildGoogleCloudVisionV1p3beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(); - o.words = buildUnnamed4324(); + o.words = buildUnnamed4308(); } buildCounterGoogleCloudVisionV1p3beta1Paragraph--; return o; @@ -6117,7 +6117,7 @@ void checkGoogleCloudVisionV1p3beta1Paragraph( unittest.equals(42.0), ); checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4324(o.words!); + checkUnnamed4308(o.words!); } buildCounterGoogleCloudVisionV1p3beta1Paragraph--; } @@ -6156,12 +6156,12 @@ void checkGoogleCloudVisionV1p3beta1Position( buildCounterGoogleCloudVisionV1p3beta1Position--; } -core.List buildUnnamed4325() => [ +core.List buildUnnamed4309() => [ buildGoogleCloudVisionV1p3beta1ProductKeyValue(), buildGoogleCloudVisionV1p3beta1ProductKeyValue(), ]; -void checkUnnamed4325( +void checkUnnamed4309( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1ProductKeyValue(o[0]); @@ -6177,7 +6177,7 @@ api.GoogleCloudVisionV1p3beta1Product buildGoogleCloudVisionV1p3beta1Product() { o.displayName = 'foo'; o.name = 'foo'; o.productCategory = 'foo'; - o.productLabels = buildUnnamed4325(); + o.productLabels = buildUnnamed4309(); } buildCounterGoogleCloudVisionV1p3beta1Product--; return o; @@ -6203,7 +6203,7 @@ void checkGoogleCloudVisionV1p3beta1Product( o.productCategory!, unittest.equals('foo'), ); - checkUnnamed4325(o.productLabels!); + checkUnnamed4309(o.productLabels!); } buildCounterGoogleCloudVisionV1p3beta1Product--; } @@ -6238,12 +6238,12 @@ void checkGoogleCloudVisionV1p3beta1ProductKeyValue( } core.List - buildUnnamed4326() => [ + buildUnnamed4310() => [ buildGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult(), buildGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult(), ]; -void checkUnnamed4326( +void checkUnnamed4310( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6252,12 +6252,12 @@ void checkUnnamed4326( } core.List - buildUnnamed4327() => [ + buildUnnamed4311() => [ buildGoogleCloudVisionV1p3beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p3beta1ProductSearchResultsResult(), ]; -void checkUnnamed4327( +void checkUnnamed4311( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1ProductSearchResultsResult(o[0]); @@ -6271,8 +6271,8 @@ api.GoogleCloudVisionV1p3beta1ProductSearchResults buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults++; if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults < 3) { o.indexTime = 'foo'; - o.productGroupedResults = buildUnnamed4326(); - o.results = buildUnnamed4327(); + o.productGroupedResults = buildUnnamed4310(); + o.results = buildUnnamed4311(); } buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults--; return o; @@ -6286,19 +6286,19 @@ void checkGoogleCloudVisionV1p3beta1ProductSearchResults( o.indexTime!, unittest.equals('foo'), ); - checkUnnamed4326(o.productGroupedResults!); - checkUnnamed4327(o.results!); + checkUnnamed4310(o.productGroupedResults!); + checkUnnamed4311(o.results!); } buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults--; } core.List - buildUnnamed4328() => [ + buildUnnamed4312() => [ buildGoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation(), buildGoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation(), ]; -void checkUnnamed4328( +void checkUnnamed4312( core.List< api.GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation> o) { @@ -6308,12 +6308,12 @@ void checkUnnamed4328( } core.List - buildUnnamed4329() => [ + buildUnnamed4313() => [ buildGoogleCloudVisionV1p3beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p3beta1ProductSearchResultsResult(), ]; -void checkUnnamed4329( +void checkUnnamed4313( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1ProductSearchResultsResult(o[0]); @@ -6329,8 +6329,8 @@ api.GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult < 3) { o.boundingPoly = buildGoogleCloudVisionV1p3beta1BoundingPoly(); - o.objectAnnotations = buildUnnamed4328(); - o.results = buildUnnamed4329(); + o.objectAnnotations = buildUnnamed4312(); + o.results = buildUnnamed4313(); } buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult--; return o; @@ -6342,8 +6342,8 @@ void checkGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult( if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult < 3) { checkGoogleCloudVisionV1p3beta1BoundingPoly(o.boundingPoly!); - checkUnnamed4328(o.objectAnnotations!); - checkUnnamed4329(o.results!); + checkUnnamed4312(o.objectAnnotations!); + checkUnnamed4313(o.results!); } buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult--; } @@ -6457,12 +6457,12 @@ void checkGoogleCloudVisionV1p3beta1Property( buildCounterGoogleCloudVisionV1p3beta1Property--; } -core.List buildUnnamed4330() => [ +core.List buildUnnamed4314() => [ buildGoogleCloudVisionV1p3beta1BoundingPoly(), buildGoogleCloudVisionV1p3beta1BoundingPoly(), ]; -void checkUnnamed4330(core.List o) { +void checkUnnamed4314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1BoundingPoly(o[0]); checkGoogleCloudVisionV1p3beta1BoundingPoly(o[1]); @@ -6474,7 +6474,7 @@ api.GoogleCloudVisionV1p3beta1ReferenceImage final o = api.GoogleCloudVisionV1p3beta1ReferenceImage(); buildCounterGoogleCloudVisionV1p3beta1ReferenceImage++; if (buildCounterGoogleCloudVisionV1p3beta1ReferenceImage < 3) { - o.boundingPolys = buildUnnamed4330(); + o.boundingPolys = buildUnnamed4314(); o.name = 'foo'; o.uri = 'foo'; } @@ -6486,7 +6486,7 @@ void checkGoogleCloudVisionV1p3beta1ReferenceImage( api.GoogleCloudVisionV1p3beta1ReferenceImage o) { buildCounterGoogleCloudVisionV1p3beta1ReferenceImage++; if (buildCounterGoogleCloudVisionV1p3beta1ReferenceImage < 3) { - checkUnnamed4330(o.boundingPolys!); + checkUnnamed4314(o.boundingPolys!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6575,12 +6575,12 @@ void checkGoogleCloudVisionV1p3beta1Symbol( buildCounterGoogleCloudVisionV1p3beta1Symbol--; } -core.List buildUnnamed4331() => [ +core.List buildUnnamed4315() => [ buildGoogleCloudVisionV1p3beta1Page(), buildGoogleCloudVisionV1p3beta1Page(), ]; -void checkUnnamed4331(core.List o) { +void checkUnnamed4315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Page(o[0]); checkGoogleCloudVisionV1p3beta1Page(o[1]); @@ -6592,7 +6592,7 @@ api.GoogleCloudVisionV1p3beta1TextAnnotation final o = api.GoogleCloudVisionV1p3beta1TextAnnotation(); buildCounterGoogleCloudVisionV1p3beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotation < 3) { - o.pages = buildUnnamed4331(); + o.pages = buildUnnamed4315(); o.text = 'foo'; } buildCounterGoogleCloudVisionV1p3beta1TextAnnotation--; @@ -6603,7 +6603,7 @@ void checkGoogleCloudVisionV1p3beta1TextAnnotation( api.GoogleCloudVisionV1p3beta1TextAnnotation o) { buildCounterGoogleCloudVisionV1p3beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotation < 3) { - checkUnnamed4331(o.pages!); + checkUnnamed4315(o.pages!); unittest.expect( o.text!, unittest.equals('foo'), @@ -6671,12 +6671,12 @@ void checkGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage( } core.List - buildUnnamed4332() => [ + buildUnnamed4316() => [ buildGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage(), buildGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage(), ]; -void checkUnnamed4332( +void checkUnnamed4316( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage(o[0]); @@ -6691,7 +6691,7 @@ api.GoogleCloudVisionV1p3beta1TextAnnotationTextProperty if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty < 3) { o.detectedBreak = buildGoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak(); - o.detectedLanguages = buildUnnamed4332(); + o.detectedLanguages = buildUnnamed4316(); } buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty--; return o; @@ -6703,7 +6703,7 @@ void checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty( if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty < 3) { checkGoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak( o.detectedBreak!); - checkUnnamed4332(o.detectedLanguages!); + checkUnnamed4316(o.detectedLanguages!); } buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty--; } @@ -6737,12 +6737,12 @@ void checkGoogleCloudVisionV1p3beta1Vertex( } core.List - buildUnnamed4333() => [ + buildUnnamed4317() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebLabel(), buildGoogleCloudVisionV1p3beta1WebDetectionWebLabel(), ]; -void checkUnnamed4333( +void checkUnnamed4317( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebLabel(o[0]); @@ -6750,12 +6750,12 @@ void checkUnnamed4333( } core.List - buildUnnamed4334() => [ + buildUnnamed4318() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), ]; -void checkUnnamed4334( +void checkUnnamed4318( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]); @@ -6763,12 +6763,12 @@ void checkUnnamed4334( } core.List - buildUnnamed4335() => [ + buildUnnamed4319() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebPage(), buildGoogleCloudVisionV1p3beta1WebDetectionWebPage(), ]; -void checkUnnamed4335( +void checkUnnamed4319( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebPage(o[0]); @@ -6776,12 +6776,12 @@ void checkUnnamed4335( } core.List - buildUnnamed4336() => [ + buildUnnamed4320() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), ]; -void checkUnnamed4336( +void checkUnnamed4320( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]); @@ -6789,12 +6789,12 @@ void checkUnnamed4336( } core.List - buildUnnamed4337() => [ + buildUnnamed4321() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), ]; -void checkUnnamed4337( +void checkUnnamed4321( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]); @@ -6802,12 +6802,12 @@ void checkUnnamed4337( } core.List - buildUnnamed4338() => [ + buildUnnamed4322() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebEntity(), buildGoogleCloudVisionV1p3beta1WebDetectionWebEntity(), ]; -void checkUnnamed4338( +void checkUnnamed4322( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebEntity(o[0]); @@ -6820,12 +6820,12 @@ api.GoogleCloudVisionV1p3beta1WebDetection final o = api.GoogleCloudVisionV1p3beta1WebDetection(); buildCounterGoogleCloudVisionV1p3beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p3beta1WebDetection < 3) { - o.bestGuessLabels = buildUnnamed4333(); - o.fullMatchingImages = buildUnnamed4334(); - o.pagesWithMatchingImages = buildUnnamed4335(); - o.partialMatchingImages = buildUnnamed4336(); - o.visuallySimilarImages = buildUnnamed4337(); - o.webEntities = buildUnnamed4338(); + o.bestGuessLabels = buildUnnamed4317(); + o.fullMatchingImages = buildUnnamed4318(); + o.pagesWithMatchingImages = buildUnnamed4319(); + o.partialMatchingImages = buildUnnamed4320(); + o.visuallySimilarImages = buildUnnamed4321(); + o.webEntities = buildUnnamed4322(); } buildCounterGoogleCloudVisionV1p3beta1WebDetection--; return o; @@ -6835,12 +6835,12 @@ void checkGoogleCloudVisionV1p3beta1WebDetection( api.GoogleCloudVisionV1p3beta1WebDetection o) { buildCounterGoogleCloudVisionV1p3beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p3beta1WebDetection < 3) { - checkUnnamed4333(o.bestGuessLabels!); - checkUnnamed4334(o.fullMatchingImages!); - checkUnnamed4335(o.pagesWithMatchingImages!); - checkUnnamed4336(o.partialMatchingImages!); - checkUnnamed4337(o.visuallySimilarImages!); - checkUnnamed4338(o.webEntities!); + checkUnnamed4317(o.bestGuessLabels!); + checkUnnamed4318(o.fullMatchingImages!); + checkUnnamed4319(o.pagesWithMatchingImages!); + checkUnnamed4320(o.partialMatchingImages!); + checkUnnamed4321(o.visuallySimilarImages!); + checkUnnamed4322(o.webEntities!); } buildCounterGoogleCloudVisionV1p3beta1WebDetection--; } @@ -6938,12 +6938,12 @@ void checkGoogleCloudVisionV1p3beta1WebDetectionWebLabel( } core.List - buildUnnamed4339() => [ + buildUnnamed4323() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), ]; -void checkUnnamed4339( +void checkUnnamed4323( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]); @@ -6951,12 +6951,12 @@ void checkUnnamed4339( } core.List - buildUnnamed4340() => [ + buildUnnamed4324() => [ buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p3beta1WebDetectionWebImage(), ]; -void checkUnnamed4340( +void checkUnnamed4324( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]); @@ -6969,9 +6969,9 @@ api.GoogleCloudVisionV1p3beta1WebDetectionWebPage final o = api.GoogleCloudVisionV1p3beta1WebDetectionWebPage(); buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage < 3) { - o.fullMatchingImages = buildUnnamed4339(); + o.fullMatchingImages = buildUnnamed4323(); o.pageTitle = 'foo'; - o.partialMatchingImages = buildUnnamed4340(); + o.partialMatchingImages = buildUnnamed4324(); o.score = 42.0; o.url = 'foo'; } @@ -6983,12 +6983,12 @@ void checkGoogleCloudVisionV1p3beta1WebDetectionWebPage( api.GoogleCloudVisionV1p3beta1WebDetectionWebPage o) { buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage < 3) { - checkUnnamed4339(o.fullMatchingImages!); + checkUnnamed4323(o.fullMatchingImages!); unittest.expect( o.pageTitle!, unittest.equals('foo'), ); - checkUnnamed4340(o.partialMatchingImages!); + checkUnnamed4324(o.partialMatchingImages!); unittest.expect( o.score!, unittest.equals(42.0), @@ -7001,12 +7001,12 @@ void checkGoogleCloudVisionV1p3beta1WebDetectionWebPage( buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage--; } -core.List buildUnnamed4341() => [ +core.List buildUnnamed4325() => [ buildGoogleCloudVisionV1p3beta1Symbol(), buildGoogleCloudVisionV1p3beta1Symbol(), ]; -void checkUnnamed4341(core.List o) { +void checkUnnamed4325(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p3beta1Symbol(o[0]); checkGoogleCloudVisionV1p3beta1Symbol(o[1]); @@ -7020,7 +7020,7 @@ api.GoogleCloudVisionV1p3beta1Word buildGoogleCloudVisionV1p3beta1Word() { o.boundingBox = buildGoogleCloudVisionV1p3beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(); - o.symbols = buildUnnamed4341(); + o.symbols = buildUnnamed4325(); } buildCounterGoogleCloudVisionV1p3beta1Word--; return o; @@ -7035,18 +7035,18 @@ void checkGoogleCloudVisionV1p3beta1Word(api.GoogleCloudVisionV1p3beta1Word o) { unittest.equals(42.0), ); checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4341(o.symbols!); + checkUnnamed4325(o.symbols!); } buildCounterGoogleCloudVisionV1p3beta1Word--; } core.List - buildUnnamed4342() => [ + buildUnnamed4326() => [ buildGoogleCloudVisionV1p4beta1AnnotateImageResponse(), buildGoogleCloudVisionV1p4beta1AnnotateImageResponse(), ]; -void checkUnnamed4342( +void checkUnnamed4326( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1AnnotateImageResponse(o[0]); @@ -7061,7 +7061,7 @@ api.GoogleCloudVisionV1p4beta1AnnotateFileResponse if (buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse < 3) { o.error = buildStatus(); o.inputConfig = buildGoogleCloudVisionV1p4beta1InputConfig(); - o.responses = buildUnnamed4342(); + o.responses = buildUnnamed4326(); o.totalPages = 42; } buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse--; @@ -7074,7 +7074,7 @@ void checkGoogleCloudVisionV1p4beta1AnnotateFileResponse( if (buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse < 3) { checkStatus(o.error!); checkGoogleCloudVisionV1p4beta1InputConfig(o.inputConfig!); - checkUnnamed4342(o.responses!); + checkUnnamed4326(o.responses!); unittest.expect( o.totalPages!, unittest.equals(42), @@ -7083,38 +7083,38 @@ void checkGoogleCloudVisionV1p4beta1AnnotateFileResponse( buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse--; } -core.List buildUnnamed4343() => [ +core.List buildUnnamed4327() => [ buildGoogleCloudVisionV1p4beta1FaceAnnotation(), buildGoogleCloudVisionV1p4beta1FaceAnnotation(), ]; -void checkUnnamed4343( +void checkUnnamed4327( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1FaceAnnotation(o[0]); checkGoogleCloudVisionV1p4beta1FaceAnnotation(o[1]); } -core.List buildUnnamed4344() => +core.List buildUnnamed4328() => [ buildGoogleCloudVisionV1p4beta1EntityAnnotation(), buildGoogleCloudVisionV1p4beta1EntityAnnotation(), ]; -void checkUnnamed4344( +void checkUnnamed4328( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4345() => +core.List buildUnnamed4329() => [ buildGoogleCloudVisionV1p4beta1EntityAnnotation(), buildGoogleCloudVisionV1p4beta1EntityAnnotation(), ]; -void checkUnnamed4345( +void checkUnnamed4329( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]); @@ -7122,38 +7122,38 @@ void checkUnnamed4345( } core.List - buildUnnamed4346() => [ + buildUnnamed4330() => [ buildGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(), buildGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(), ]; -void checkUnnamed4346( +void checkUnnamed4330( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(o[0]); checkGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(o[1]); } -core.List buildUnnamed4347() => +core.List buildUnnamed4331() => [ buildGoogleCloudVisionV1p4beta1EntityAnnotation(), buildGoogleCloudVisionV1p4beta1EntityAnnotation(), ]; -void checkUnnamed4347( +void checkUnnamed4331( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]); checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]); } -core.List buildUnnamed4348() => +core.List buildUnnamed4332() => [ buildGoogleCloudVisionV1p4beta1EntityAnnotation(), buildGoogleCloudVisionV1p4beta1EntityAnnotation(), ]; -void checkUnnamed4348( +void checkUnnamed4332( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]); @@ -7170,19 +7170,19 @@ api.GoogleCloudVisionV1p4beta1AnnotateImageResponse o.cropHintsAnnotation = buildGoogleCloudVisionV1p4beta1CropHintsAnnotation(); o.error = buildStatus(); - o.faceAnnotations = buildUnnamed4343(); + o.faceAnnotations = buildUnnamed4327(); o.fullTextAnnotation = buildGoogleCloudVisionV1p4beta1TextAnnotation(); o.imagePropertiesAnnotation = buildGoogleCloudVisionV1p4beta1ImageProperties(); - o.labelAnnotations = buildUnnamed4344(); - o.landmarkAnnotations = buildUnnamed4345(); - o.localizedObjectAnnotations = buildUnnamed4346(); - o.logoAnnotations = buildUnnamed4347(); + o.labelAnnotations = buildUnnamed4328(); + o.landmarkAnnotations = buildUnnamed4329(); + o.localizedObjectAnnotations = buildUnnamed4330(); + o.logoAnnotations = buildUnnamed4331(); o.productSearchResults = buildGoogleCloudVisionV1p4beta1ProductSearchResults(); o.safeSearchAnnotation = buildGoogleCloudVisionV1p4beta1SafeSearchAnnotation(); - o.textAnnotations = buildUnnamed4348(); + o.textAnnotations = buildUnnamed4332(); o.webDetection = buildGoogleCloudVisionV1p4beta1WebDetection(); } buildCounterGoogleCloudVisionV1p4beta1AnnotateImageResponse--; @@ -7196,19 +7196,19 @@ void checkGoogleCloudVisionV1p4beta1AnnotateImageResponse( checkGoogleCloudVisionV1p4beta1ImageAnnotationContext(o.context!); checkGoogleCloudVisionV1p4beta1CropHintsAnnotation(o.cropHintsAnnotation!); checkStatus(o.error!); - checkUnnamed4343(o.faceAnnotations!); + checkUnnamed4327(o.faceAnnotations!); checkGoogleCloudVisionV1p4beta1TextAnnotation(o.fullTextAnnotation!); checkGoogleCloudVisionV1p4beta1ImageProperties( o.imagePropertiesAnnotation!); - checkUnnamed4344(o.labelAnnotations!); - checkUnnamed4345(o.landmarkAnnotations!); - checkUnnamed4346(o.localizedObjectAnnotations!); - checkUnnamed4347(o.logoAnnotations!); + checkUnnamed4328(o.labelAnnotations!); + checkUnnamed4329(o.landmarkAnnotations!); + checkUnnamed4330(o.localizedObjectAnnotations!); + checkUnnamed4331(o.logoAnnotations!); checkGoogleCloudVisionV1p4beta1ProductSearchResults( o.productSearchResults!); checkGoogleCloudVisionV1p4beta1SafeSearchAnnotation( o.safeSearchAnnotation!); - checkUnnamed4348(o.textAnnotations!); + checkUnnamed4332(o.textAnnotations!); checkGoogleCloudVisionV1p4beta1WebDetection(o.webDetection!); } buildCounterGoogleCloudVisionV1p4beta1AnnotateImageResponse--; @@ -7236,12 +7236,12 @@ void checkGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse( } core.List - buildUnnamed4349() => [ + buildUnnamed4333() => [ buildGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse(), buildGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse(), ]; -void checkUnnamed4349( +void checkUnnamed4333( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse(o[0]); @@ -7256,7 +7256,7 @@ api.GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4349(); + o.responses = buildUnnamed4333(); } buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse--; return o; @@ -7267,7 +7267,7 @@ void checkGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse( buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse < 3) { - checkUnnamed4349(o.responses!); + checkUnnamed4333(o.responses!); } buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse--; } @@ -7297,12 +7297,12 @@ void checkGoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse( } core.List - buildUnnamed4350() => [ + buildUnnamed4334() => [ buildGoogleCloudVisionV1p4beta1AnnotateFileResponse(), buildGoogleCloudVisionV1p4beta1AnnotateFileResponse(), ]; -void checkUnnamed4350( +void checkUnnamed4334( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1AnnotateFileResponse(o[0]); @@ -7315,7 +7315,7 @@ api.GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse final o = api.GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse(); buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse < 3) { - o.responses = buildUnnamed4350(); + o.responses = buildUnnamed4334(); } buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse--; return o; @@ -7325,7 +7325,7 @@ void checkGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse( api.GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse o) { buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse++; if (buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse < 3) { - checkUnnamed4350(o.responses!); + checkUnnamed4334(o.responses!); } buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse--; } @@ -7364,12 +7364,12 @@ void checkGoogleCloudVisionV1p4beta1BatchOperationMetadata( buildCounterGoogleCloudVisionV1p4beta1BatchOperationMetadata--; } -core.List buildUnnamed4351() => [ +core.List buildUnnamed4335() => [ buildGoogleCloudVisionV1p4beta1Paragraph(), buildGoogleCloudVisionV1p4beta1Paragraph(), ]; -void checkUnnamed4351(core.List o) { +void checkUnnamed4335(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Paragraph(o[0]); checkGoogleCloudVisionV1p4beta1Paragraph(o[1]); @@ -7383,7 +7383,7 @@ api.GoogleCloudVisionV1p4beta1Block buildGoogleCloudVisionV1p4beta1Block() { o.blockType = 'foo'; o.boundingBox = buildGoogleCloudVisionV1p4beta1BoundingPoly(); o.confidence = 42.0; - o.paragraphs = buildUnnamed4351(); + o.paragraphs = buildUnnamed4335(); o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(); } buildCounterGoogleCloudVisionV1p4beta1Block--; @@ -7403,31 +7403,31 @@ void checkGoogleCloudVisionV1p4beta1Block( o.confidence!, unittest.equals(42.0), ); - checkUnnamed4351(o.paragraphs!); + checkUnnamed4335(o.paragraphs!); checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property!); } buildCounterGoogleCloudVisionV1p4beta1Block--; } -core.List buildUnnamed4352() => +core.List buildUnnamed4336() => [ buildGoogleCloudVisionV1p4beta1NormalizedVertex(), buildGoogleCloudVisionV1p4beta1NormalizedVertex(), ]; -void checkUnnamed4352( +void checkUnnamed4336( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1NormalizedVertex(o[0]); checkGoogleCloudVisionV1p4beta1NormalizedVertex(o[1]); } -core.List buildUnnamed4353() => [ +core.List buildUnnamed4337() => [ buildGoogleCloudVisionV1p4beta1Vertex(), buildGoogleCloudVisionV1p4beta1Vertex(), ]; -void checkUnnamed4353(core.List o) { +void checkUnnamed4337(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Vertex(o[0]); checkGoogleCloudVisionV1p4beta1Vertex(o[1]); @@ -7439,8 +7439,8 @@ api.GoogleCloudVisionV1p4beta1BoundingPoly final o = api.GoogleCloudVisionV1p4beta1BoundingPoly(); buildCounterGoogleCloudVisionV1p4beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p4beta1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed4352(); - o.vertices = buildUnnamed4353(); + o.normalizedVertices = buildUnnamed4336(); + o.vertices = buildUnnamed4337(); } buildCounterGoogleCloudVisionV1p4beta1BoundingPoly--; return o; @@ -7450,8 +7450,8 @@ void checkGoogleCloudVisionV1p4beta1BoundingPoly( api.GoogleCloudVisionV1p4beta1BoundingPoly o) { buildCounterGoogleCloudVisionV1p4beta1BoundingPoly++; if (buildCounterGoogleCloudVisionV1p4beta1BoundingPoly < 3) { - checkUnnamed4352(o.normalizedVertices!); - checkUnnamed4353(o.vertices!); + checkUnnamed4336(o.normalizedVertices!); + checkUnnamed4337(o.vertices!); } buildCounterGoogleCloudVisionV1p4beta1BoundingPoly--; } @@ -7552,12 +7552,12 @@ void checkGoogleCloudVisionV1p4beta1CropHint( buildCounterGoogleCloudVisionV1p4beta1CropHint--; } -core.List buildUnnamed4354() => [ +core.List buildUnnamed4338() => [ buildGoogleCloudVisionV1p4beta1CropHint(), buildGoogleCloudVisionV1p4beta1CropHint(), ]; -void checkUnnamed4354(core.List o) { +void checkUnnamed4338(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1CropHint(o[0]); checkGoogleCloudVisionV1p4beta1CropHint(o[1]); @@ -7569,7 +7569,7 @@ api.GoogleCloudVisionV1p4beta1CropHintsAnnotation final o = api.GoogleCloudVisionV1p4beta1CropHintsAnnotation(); buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation < 3) { - o.cropHints = buildUnnamed4354(); + o.cropHints = buildUnnamed4338(); } buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation--; return o; @@ -7579,17 +7579,17 @@ void checkGoogleCloudVisionV1p4beta1CropHintsAnnotation( api.GoogleCloudVisionV1p4beta1CropHintsAnnotation o) { buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation++; if (buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation < 3) { - checkUnnamed4354(o.cropHints!); + checkUnnamed4338(o.cropHints!); } buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation--; } -core.List buildUnnamed4355() => [ +core.List buildUnnamed4339() => [ buildGoogleCloudVisionV1p4beta1ColorInfo(), buildGoogleCloudVisionV1p4beta1ColorInfo(), ]; -void checkUnnamed4355(core.List o) { +void checkUnnamed4339(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1ColorInfo(o[0]); checkGoogleCloudVisionV1p4beta1ColorInfo(o[1]); @@ -7601,7 +7601,7 @@ api.GoogleCloudVisionV1p4beta1DominantColorsAnnotation final o = api.GoogleCloudVisionV1p4beta1DominantColorsAnnotation(); buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation < 3) { - o.colors = buildUnnamed4355(); + o.colors = buildUnnamed4339(); } buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation--; return o; @@ -7611,28 +7611,28 @@ void checkGoogleCloudVisionV1p4beta1DominantColorsAnnotation( api.GoogleCloudVisionV1p4beta1DominantColorsAnnotation o) { buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation++; if (buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation < 3) { - checkUnnamed4355(o.colors!); + checkUnnamed4339(o.colors!); } buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation--; } -core.List buildUnnamed4356() => [ +core.List buildUnnamed4340() => [ buildGoogleCloudVisionV1p4beta1LocationInfo(), buildGoogleCloudVisionV1p4beta1LocationInfo(), ]; -void checkUnnamed4356(core.List o) { +void checkUnnamed4340(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1LocationInfo(o[0]); checkGoogleCloudVisionV1p4beta1LocationInfo(o[1]); } -core.List buildUnnamed4357() => [ +core.List buildUnnamed4341() => [ buildGoogleCloudVisionV1p4beta1Property(), buildGoogleCloudVisionV1p4beta1Property(), ]; -void checkUnnamed4357(core.List o) { +void checkUnnamed4341(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Property(o[0]); checkGoogleCloudVisionV1p4beta1Property(o[1]); @@ -7648,9 +7648,9 @@ api.GoogleCloudVisionV1p4beta1EntityAnnotation o.confidence = 42.0; o.description = 'foo'; o.locale = 'foo'; - o.locations = buildUnnamed4356(); + o.locations = buildUnnamed4340(); o.mid = 'foo'; - o.properties = buildUnnamed4357(); + o.properties = buildUnnamed4341(); o.score = 42.0; o.topicality = 42.0; } @@ -7675,12 +7675,12 @@ void checkGoogleCloudVisionV1p4beta1EntityAnnotation( o.locale!, unittest.equals('foo'), ); - checkUnnamed4356(o.locations!); + checkUnnamed4340(o.locations!); unittest.expect( o.mid!, unittest.equals('foo'), ); - checkUnnamed4357(o.properties!); + checkUnnamed4341(o.properties!); unittest.expect( o.score!, unittest.equals(42.0), @@ -7694,12 +7694,12 @@ void checkGoogleCloudVisionV1p4beta1EntityAnnotation( } core.List - buildUnnamed4358() => [ + buildUnnamed4342() => [ buildGoogleCloudVisionV1p4beta1FaceAnnotationLandmark(), buildGoogleCloudVisionV1p4beta1FaceAnnotationLandmark(), ]; -void checkUnnamed4358( +void checkUnnamed4342( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1FaceAnnotationLandmark(o[0]); @@ -7707,12 +7707,12 @@ void checkUnnamed4358( } core.List - buildUnnamed4359() => [ + buildUnnamed4343() => [ buildGoogleCloudVisionV1p4beta1FaceRecognitionResult(), buildGoogleCloudVisionV1p4beta1FaceRecognitionResult(), ]; -void checkUnnamed4359( +void checkUnnamed4343( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1FaceRecognitionResult(o[0]); @@ -7733,9 +7733,9 @@ api.GoogleCloudVisionV1p4beta1FaceAnnotation o.headwearLikelihood = 'foo'; o.joyLikelihood = 'foo'; o.landmarkingConfidence = 42.0; - o.landmarks = buildUnnamed4358(); + o.landmarks = buildUnnamed4342(); o.panAngle = 42.0; - o.recognitionResult = buildUnnamed4359(); + o.recognitionResult = buildUnnamed4343(); o.rollAngle = 42.0; o.sorrowLikelihood = 'foo'; o.surpriseLikelihood = 'foo'; @@ -7776,12 +7776,12 @@ void checkGoogleCloudVisionV1p4beta1FaceAnnotation( o.landmarkingConfidence!, unittest.equals(42.0), ); - checkUnnamed4358(o.landmarks!); + checkUnnamed4342(o.landmarks!); unittest.expect( o.panAngle!, unittest.equals(42.0), ); - checkUnnamed4359(o.recognitionResult!); + checkUnnamed4343(o.recognitionResult!); unittest.expect( o.rollAngle!, unittest.equals(42.0), @@ -7957,24 +7957,24 @@ void checkGoogleCloudVisionV1p4beta1ImageProperties( buildCounterGoogleCloudVisionV1p4beta1ImageProperties--; } -core.List buildUnnamed4360() => [ +core.List buildUnnamed4344() => [ buildGoogleCloudVisionV1p4beta1ReferenceImage(), buildGoogleCloudVisionV1p4beta1ReferenceImage(), ]; -void checkUnnamed4360( +void checkUnnamed4344( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1ReferenceImage(o[0]); checkGoogleCloudVisionV1p4beta1ReferenceImage(o[1]); } -core.List buildUnnamed4361() => [ +core.List buildUnnamed4345() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed4361(core.List o) { +void checkUnnamed4345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); @@ -7986,8 +7986,8 @@ api.GoogleCloudVisionV1p4beta1ImportProductSetsResponse final o = api.GoogleCloudVisionV1p4beta1ImportProductSetsResponse(); buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse++; if (buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse < 3) { - o.referenceImages = buildUnnamed4360(); - o.statuses = buildUnnamed4361(); + o.referenceImages = buildUnnamed4344(); + o.statuses = buildUnnamed4345(); } buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse--; return o; @@ -7997,8 +7997,8 @@ void checkGoogleCloudVisionV1p4beta1ImportProductSetsResponse( api.GoogleCloudVisionV1p4beta1ImportProductSetsResponse o) { buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse++; if (buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse < 3) { - checkUnnamed4360(o.referenceImages!); - checkUnnamed4361(o.statuses!); + checkUnnamed4344(o.referenceImages!); + checkUnnamed4345(o.statuses!); } buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse--; } @@ -8185,12 +8185,12 @@ void checkGoogleCloudVisionV1p4beta1OutputConfig( buildCounterGoogleCloudVisionV1p4beta1OutputConfig--; } -core.List buildUnnamed4362() => [ +core.List buildUnnamed4346() => [ buildGoogleCloudVisionV1p4beta1Block(), buildGoogleCloudVisionV1p4beta1Block(), ]; -void checkUnnamed4362(core.List o) { +void checkUnnamed4346(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Block(o[0]); checkGoogleCloudVisionV1p4beta1Block(o[1]); @@ -8201,7 +8201,7 @@ api.GoogleCloudVisionV1p4beta1Page buildGoogleCloudVisionV1p4beta1Page() { final o = api.GoogleCloudVisionV1p4beta1Page(); buildCounterGoogleCloudVisionV1p4beta1Page++; if (buildCounterGoogleCloudVisionV1p4beta1Page < 3) { - o.blocks = buildUnnamed4362(); + o.blocks = buildUnnamed4346(); o.confidence = 42.0; o.height = 42; o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(); @@ -8214,7 +8214,7 @@ api.GoogleCloudVisionV1p4beta1Page buildGoogleCloudVisionV1p4beta1Page() { void checkGoogleCloudVisionV1p4beta1Page(api.GoogleCloudVisionV1p4beta1Page o) { buildCounterGoogleCloudVisionV1p4beta1Page++; if (buildCounterGoogleCloudVisionV1p4beta1Page < 3) { - checkUnnamed4362(o.blocks!); + checkUnnamed4346(o.blocks!); unittest.expect( o.confidence!, unittest.equals(42.0), @@ -8232,12 +8232,12 @@ void checkGoogleCloudVisionV1p4beta1Page(api.GoogleCloudVisionV1p4beta1Page o) { buildCounterGoogleCloudVisionV1p4beta1Page--; } -core.List buildUnnamed4363() => [ +core.List buildUnnamed4347() => [ buildGoogleCloudVisionV1p4beta1Word(), buildGoogleCloudVisionV1p4beta1Word(), ]; -void checkUnnamed4363(core.List o) { +void checkUnnamed4347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Word(o[0]); checkGoogleCloudVisionV1p4beta1Word(o[1]); @@ -8252,7 +8252,7 @@ api.GoogleCloudVisionV1p4beta1Paragraph o.boundingBox = buildGoogleCloudVisionV1p4beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(); - o.words = buildUnnamed4363(); + o.words = buildUnnamed4347(); } buildCounterGoogleCloudVisionV1p4beta1Paragraph--; return o; @@ -8268,7 +8268,7 @@ void checkGoogleCloudVisionV1p4beta1Paragraph( unittest.equals(42.0), ); checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4363(o.words!); + checkUnnamed4347(o.words!); } buildCounterGoogleCloudVisionV1p4beta1Paragraph--; } @@ -8307,12 +8307,12 @@ void checkGoogleCloudVisionV1p4beta1Position( buildCounterGoogleCloudVisionV1p4beta1Position--; } -core.List buildUnnamed4364() => [ +core.List buildUnnamed4348() => [ buildGoogleCloudVisionV1p4beta1ProductKeyValue(), buildGoogleCloudVisionV1p4beta1ProductKeyValue(), ]; -void checkUnnamed4364( +void checkUnnamed4348( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1ProductKeyValue(o[0]); @@ -8328,7 +8328,7 @@ api.GoogleCloudVisionV1p4beta1Product buildGoogleCloudVisionV1p4beta1Product() { o.displayName = 'foo'; o.name = 'foo'; o.productCategory = 'foo'; - o.productLabels = buildUnnamed4364(); + o.productLabels = buildUnnamed4348(); } buildCounterGoogleCloudVisionV1p4beta1Product--; return o; @@ -8354,7 +8354,7 @@ void checkGoogleCloudVisionV1p4beta1Product( o.productCategory!, unittest.equals('foo'), ); - checkUnnamed4364(o.productLabels!); + checkUnnamed4348(o.productLabels!); } buildCounterGoogleCloudVisionV1p4beta1Product--; } @@ -8389,12 +8389,12 @@ void checkGoogleCloudVisionV1p4beta1ProductKeyValue( } core.List - buildUnnamed4365() => [ + buildUnnamed4349() => [ buildGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult(), buildGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult(), ]; -void checkUnnamed4365( +void checkUnnamed4349( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -8403,12 +8403,12 @@ void checkUnnamed4365( } core.List - buildUnnamed4366() => [ + buildUnnamed4350() => [ buildGoogleCloudVisionV1p4beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p4beta1ProductSearchResultsResult(), ]; -void checkUnnamed4366( +void checkUnnamed4350( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1ProductSearchResultsResult(o[0]); @@ -8422,8 +8422,8 @@ api.GoogleCloudVisionV1p4beta1ProductSearchResults buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults++; if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults < 3) { o.indexTime = 'foo'; - o.productGroupedResults = buildUnnamed4365(); - o.results = buildUnnamed4366(); + o.productGroupedResults = buildUnnamed4349(); + o.results = buildUnnamed4350(); } buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults--; return o; @@ -8437,19 +8437,19 @@ void checkGoogleCloudVisionV1p4beta1ProductSearchResults( o.indexTime!, unittest.equals('foo'), ); - checkUnnamed4365(o.productGroupedResults!); - checkUnnamed4366(o.results!); + checkUnnamed4349(o.productGroupedResults!); + checkUnnamed4350(o.results!); } buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults--; } core.List - buildUnnamed4367() => [ + buildUnnamed4351() => [ buildGoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation(), buildGoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation(), ]; -void checkUnnamed4367( +void checkUnnamed4351( core.List< api.GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation> o) { @@ -8459,12 +8459,12 @@ void checkUnnamed4367( } core.List - buildUnnamed4368() => [ + buildUnnamed4352() => [ buildGoogleCloudVisionV1p4beta1ProductSearchResultsResult(), buildGoogleCloudVisionV1p4beta1ProductSearchResultsResult(), ]; -void checkUnnamed4368( +void checkUnnamed4352( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1ProductSearchResultsResult(o[0]); @@ -8480,8 +8480,8 @@ api.GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult < 3) { o.boundingPoly = buildGoogleCloudVisionV1p4beta1BoundingPoly(); - o.objectAnnotations = buildUnnamed4367(); - o.results = buildUnnamed4368(); + o.objectAnnotations = buildUnnamed4351(); + o.results = buildUnnamed4352(); } buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult--; return o; @@ -8493,8 +8493,8 @@ void checkGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult( if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult < 3) { checkGoogleCloudVisionV1p4beta1BoundingPoly(o.boundingPoly!); - checkUnnamed4367(o.objectAnnotations!); - checkUnnamed4368(o.results!); + checkUnnamed4351(o.objectAnnotations!); + checkUnnamed4352(o.results!); } buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult--; } @@ -8608,12 +8608,12 @@ void checkGoogleCloudVisionV1p4beta1Property( buildCounterGoogleCloudVisionV1p4beta1Property--; } -core.List buildUnnamed4369() => [ +core.List buildUnnamed4353() => [ buildGoogleCloudVisionV1p4beta1BoundingPoly(), buildGoogleCloudVisionV1p4beta1BoundingPoly(), ]; -void checkUnnamed4369(core.List o) { +void checkUnnamed4353(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1BoundingPoly(o[0]); checkGoogleCloudVisionV1p4beta1BoundingPoly(o[1]); @@ -8625,7 +8625,7 @@ api.GoogleCloudVisionV1p4beta1ReferenceImage final o = api.GoogleCloudVisionV1p4beta1ReferenceImage(); buildCounterGoogleCloudVisionV1p4beta1ReferenceImage++; if (buildCounterGoogleCloudVisionV1p4beta1ReferenceImage < 3) { - o.boundingPolys = buildUnnamed4369(); + o.boundingPolys = buildUnnamed4353(); o.name = 'foo'; o.uri = 'foo'; } @@ -8637,7 +8637,7 @@ void checkGoogleCloudVisionV1p4beta1ReferenceImage( api.GoogleCloudVisionV1p4beta1ReferenceImage o) { buildCounterGoogleCloudVisionV1p4beta1ReferenceImage++; if (buildCounterGoogleCloudVisionV1p4beta1ReferenceImage < 3) { - checkUnnamed4369(o.boundingPolys!); + checkUnnamed4353(o.boundingPolys!); unittest.expect( o.name!, unittest.equals('foo'), @@ -8726,12 +8726,12 @@ void checkGoogleCloudVisionV1p4beta1Symbol( buildCounterGoogleCloudVisionV1p4beta1Symbol--; } -core.List buildUnnamed4370() => [ +core.List buildUnnamed4354() => [ buildGoogleCloudVisionV1p4beta1Page(), buildGoogleCloudVisionV1p4beta1Page(), ]; -void checkUnnamed4370(core.List o) { +void checkUnnamed4354(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Page(o[0]); checkGoogleCloudVisionV1p4beta1Page(o[1]); @@ -8743,7 +8743,7 @@ api.GoogleCloudVisionV1p4beta1TextAnnotation final o = api.GoogleCloudVisionV1p4beta1TextAnnotation(); buildCounterGoogleCloudVisionV1p4beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotation < 3) { - o.pages = buildUnnamed4370(); + o.pages = buildUnnamed4354(); o.text = 'foo'; } buildCounterGoogleCloudVisionV1p4beta1TextAnnotation--; @@ -8754,7 +8754,7 @@ void checkGoogleCloudVisionV1p4beta1TextAnnotation( api.GoogleCloudVisionV1p4beta1TextAnnotation o) { buildCounterGoogleCloudVisionV1p4beta1TextAnnotation++; if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotation < 3) { - checkUnnamed4370(o.pages!); + checkUnnamed4354(o.pages!); unittest.expect( o.text!, unittest.equals('foo'), @@ -8822,12 +8822,12 @@ void checkGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage( } core.List - buildUnnamed4371() => [ + buildUnnamed4355() => [ buildGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage(), buildGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage(), ]; -void checkUnnamed4371( +void checkUnnamed4355( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage(o[0]); @@ -8842,7 +8842,7 @@ api.GoogleCloudVisionV1p4beta1TextAnnotationTextProperty if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty < 3) { o.detectedBreak = buildGoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak(); - o.detectedLanguages = buildUnnamed4371(); + o.detectedLanguages = buildUnnamed4355(); } buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty--; return o; @@ -8854,7 +8854,7 @@ void checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty( if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty < 3) { checkGoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak( o.detectedBreak!); - checkUnnamed4371(o.detectedLanguages!); + checkUnnamed4355(o.detectedLanguages!); } buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty--; } @@ -8888,12 +8888,12 @@ void checkGoogleCloudVisionV1p4beta1Vertex( } core.List - buildUnnamed4372() => [ + buildUnnamed4356() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebLabel(), buildGoogleCloudVisionV1p4beta1WebDetectionWebLabel(), ]; -void checkUnnamed4372( +void checkUnnamed4356( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebLabel(o[0]); @@ -8901,12 +8901,12 @@ void checkUnnamed4372( } core.List - buildUnnamed4373() => [ + buildUnnamed4357() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), ]; -void checkUnnamed4373( +void checkUnnamed4357( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]); @@ -8914,12 +8914,12 @@ void checkUnnamed4373( } core.List - buildUnnamed4374() => [ + buildUnnamed4358() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebPage(), buildGoogleCloudVisionV1p4beta1WebDetectionWebPage(), ]; -void checkUnnamed4374( +void checkUnnamed4358( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebPage(o[0]); @@ -8927,12 +8927,12 @@ void checkUnnamed4374( } core.List - buildUnnamed4375() => [ + buildUnnamed4359() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), ]; -void checkUnnamed4375( +void checkUnnamed4359( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]); @@ -8940,12 +8940,12 @@ void checkUnnamed4375( } core.List - buildUnnamed4376() => [ + buildUnnamed4360() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), ]; -void checkUnnamed4376( +void checkUnnamed4360( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]); @@ -8953,12 +8953,12 @@ void checkUnnamed4376( } core.List - buildUnnamed4377() => [ + buildUnnamed4361() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebEntity(), buildGoogleCloudVisionV1p4beta1WebDetectionWebEntity(), ]; -void checkUnnamed4377( +void checkUnnamed4361( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebEntity(o[0]); @@ -8971,12 +8971,12 @@ api.GoogleCloudVisionV1p4beta1WebDetection final o = api.GoogleCloudVisionV1p4beta1WebDetection(); buildCounterGoogleCloudVisionV1p4beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p4beta1WebDetection < 3) { - o.bestGuessLabels = buildUnnamed4372(); - o.fullMatchingImages = buildUnnamed4373(); - o.pagesWithMatchingImages = buildUnnamed4374(); - o.partialMatchingImages = buildUnnamed4375(); - o.visuallySimilarImages = buildUnnamed4376(); - o.webEntities = buildUnnamed4377(); + o.bestGuessLabels = buildUnnamed4356(); + o.fullMatchingImages = buildUnnamed4357(); + o.pagesWithMatchingImages = buildUnnamed4358(); + o.partialMatchingImages = buildUnnamed4359(); + o.visuallySimilarImages = buildUnnamed4360(); + o.webEntities = buildUnnamed4361(); } buildCounterGoogleCloudVisionV1p4beta1WebDetection--; return o; @@ -8986,12 +8986,12 @@ void checkGoogleCloudVisionV1p4beta1WebDetection( api.GoogleCloudVisionV1p4beta1WebDetection o) { buildCounterGoogleCloudVisionV1p4beta1WebDetection++; if (buildCounterGoogleCloudVisionV1p4beta1WebDetection < 3) { - checkUnnamed4372(o.bestGuessLabels!); - checkUnnamed4373(o.fullMatchingImages!); - checkUnnamed4374(o.pagesWithMatchingImages!); - checkUnnamed4375(o.partialMatchingImages!); - checkUnnamed4376(o.visuallySimilarImages!); - checkUnnamed4377(o.webEntities!); + checkUnnamed4356(o.bestGuessLabels!); + checkUnnamed4357(o.fullMatchingImages!); + checkUnnamed4358(o.pagesWithMatchingImages!); + checkUnnamed4359(o.partialMatchingImages!); + checkUnnamed4360(o.visuallySimilarImages!); + checkUnnamed4361(o.webEntities!); } buildCounterGoogleCloudVisionV1p4beta1WebDetection--; } @@ -9089,12 +9089,12 @@ void checkGoogleCloudVisionV1p4beta1WebDetectionWebLabel( } core.List - buildUnnamed4378() => [ + buildUnnamed4362() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), ]; -void checkUnnamed4378( +void checkUnnamed4362( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]); @@ -9102,12 +9102,12 @@ void checkUnnamed4378( } core.List - buildUnnamed4379() => [ + buildUnnamed4363() => [ buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), buildGoogleCloudVisionV1p4beta1WebDetectionWebImage(), ]; -void checkUnnamed4379( +void checkUnnamed4363( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]); @@ -9120,9 +9120,9 @@ api.GoogleCloudVisionV1p4beta1WebDetectionWebPage final o = api.GoogleCloudVisionV1p4beta1WebDetectionWebPage(); buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage < 3) { - o.fullMatchingImages = buildUnnamed4378(); + o.fullMatchingImages = buildUnnamed4362(); o.pageTitle = 'foo'; - o.partialMatchingImages = buildUnnamed4379(); + o.partialMatchingImages = buildUnnamed4363(); o.score = 42.0; o.url = 'foo'; } @@ -9134,12 +9134,12 @@ void checkGoogleCloudVisionV1p4beta1WebDetectionWebPage( api.GoogleCloudVisionV1p4beta1WebDetectionWebPage o) { buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage++; if (buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage < 3) { - checkUnnamed4378(o.fullMatchingImages!); + checkUnnamed4362(o.fullMatchingImages!); unittest.expect( o.pageTitle!, unittest.equals('foo'), ); - checkUnnamed4379(o.partialMatchingImages!); + checkUnnamed4363(o.partialMatchingImages!); unittest.expect( o.score!, unittest.equals(42.0), @@ -9152,12 +9152,12 @@ void checkGoogleCloudVisionV1p4beta1WebDetectionWebPage( buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage--; } -core.List buildUnnamed4380() => [ +core.List buildUnnamed4364() => [ buildGoogleCloudVisionV1p4beta1Symbol(), buildGoogleCloudVisionV1p4beta1Symbol(), ]; -void checkUnnamed4380(core.List o) { +void checkUnnamed4364(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudVisionV1p4beta1Symbol(o[0]); checkGoogleCloudVisionV1p4beta1Symbol(o[1]); @@ -9171,7 +9171,7 @@ api.GoogleCloudVisionV1p4beta1Word buildGoogleCloudVisionV1p4beta1Word() { o.boundingBox = buildGoogleCloudVisionV1p4beta1BoundingPoly(); o.confidence = 42.0; o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(); - o.symbols = buildUnnamed4380(); + o.symbols = buildUnnamed4364(); } buildCounterGoogleCloudVisionV1p4beta1Word--; return o; @@ -9186,28 +9186,28 @@ void checkGoogleCloudVisionV1p4beta1Word(api.GoogleCloudVisionV1p4beta1Word o) { unittest.equals(42.0), ); checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property!); - checkUnnamed4380(o.symbols!); + checkUnnamed4364(o.symbols!); } buildCounterGoogleCloudVisionV1p4beta1Word--; } -core.List buildUnnamed4381() => [ +core.List buildUnnamed4365() => [ buildObjectAnnotation(), buildObjectAnnotation(), ]; -void checkUnnamed4381(core.List o) { +void checkUnnamed4365(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAnnotation(o[0]); checkObjectAnnotation(o[1]); } -core.List buildUnnamed4382() => [ +core.List buildUnnamed4366() => [ buildResult(), buildResult(), ]; -void checkUnnamed4382(core.List o) { +void checkUnnamed4366(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResult(o[0]); checkResult(o[1]); @@ -9219,8 +9219,8 @@ api.GroupedResult buildGroupedResult() { buildCounterGroupedResult++; if (buildCounterGroupedResult < 3) { o.boundingPoly = buildBoundingPoly(); - o.objectAnnotations = buildUnnamed4381(); - o.results = buildUnnamed4382(); + o.objectAnnotations = buildUnnamed4365(); + o.results = buildUnnamed4366(); } buildCounterGroupedResult--; return o; @@ -9230,8 +9230,8 @@ void checkGroupedResult(api.GroupedResult o) { buildCounterGroupedResult++; if (buildCounterGroupedResult < 3) { checkBoundingPoly(o.boundingPoly!); - checkUnnamed4381(o.objectAnnotations!); - checkUnnamed4382(o.results!); + checkUnnamed4365(o.objectAnnotations!); + checkUnnamed4366(o.results!); } buildCounterGroupedResult--; } @@ -9287,12 +9287,12 @@ void checkImageAnnotationContext(api.ImageAnnotationContext o) { buildCounterImageAnnotationContext--; } -core.List buildUnnamed4383() => [ +core.List buildUnnamed4367() => [ 'foo', 'foo', ]; -void checkUnnamed4383(core.List o) { +void checkUnnamed4367(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9310,7 +9310,7 @@ api.ImageContext buildImageContext() { buildCounterImageContext++; if (buildCounterImageContext < 3) { o.cropHintsParams = buildCropHintsParams(); - o.languageHints = buildUnnamed4383(); + o.languageHints = buildUnnamed4367(); o.latLongRect = buildLatLongRect(); o.productSearchParams = buildProductSearchParams(); o.textDetectionParams = buildTextDetectionParams(); @@ -9324,7 +9324,7 @@ void checkImageContext(api.ImageContext o) { buildCounterImageContext++; if (buildCounterImageContext < 3) { checkCropHintsParams(o.cropHintsParams!); - checkUnnamed4383(o.languageHints!); + checkUnnamed4367(o.languageHints!); checkLatLongRect(o.latLongRect!); checkProductSearchParams(o.productSearchParams!); checkTextDetectionParams(o.textDetectionParams!); @@ -9439,23 +9439,23 @@ void checkImportProductSetsRequest(api.ImportProductSetsRequest o) { buildCounterImportProductSetsRequest--; } -core.List buildUnnamed4384() => [ +core.List buildUnnamed4368() => [ buildReferenceImage(), buildReferenceImage(), ]; -void checkUnnamed4384(core.List o) { +void checkUnnamed4368(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReferenceImage(o[0]); checkReferenceImage(o[1]); } -core.List buildUnnamed4385() => [ +core.List buildUnnamed4369() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed4385(core.List o) { +void checkUnnamed4369(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); @@ -9466,8 +9466,8 @@ api.ImportProductSetsResponse buildImportProductSetsResponse() { final o = api.ImportProductSetsResponse(); buildCounterImportProductSetsResponse++; if (buildCounterImportProductSetsResponse < 3) { - o.referenceImages = buildUnnamed4384(); - o.statuses = buildUnnamed4385(); + o.referenceImages = buildUnnamed4368(); + o.statuses = buildUnnamed4369(); } buildCounterImportProductSetsResponse--; return o; @@ -9476,8 +9476,8 @@ api.ImportProductSetsResponse buildImportProductSetsResponse() { void checkImportProductSetsResponse(api.ImportProductSetsResponse o) { buildCounterImportProductSetsResponse++; if (buildCounterImportProductSetsResponse < 3) { - checkUnnamed4384(o.referenceImages!); - checkUnnamed4385(o.statuses!); + checkUnnamed4368(o.referenceImages!); + checkUnnamed4369(o.statuses!); } buildCounterImportProductSetsResponse--; } @@ -9610,12 +9610,12 @@ void checkLatLongRect(api.LatLongRect o) { buildCounterLatLongRect--; } -core.List buildUnnamed4386() => [ +core.List buildUnnamed4370() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed4386(core.List o) { +void checkUnnamed4370(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -9627,7 +9627,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4386(); + o.operations = buildUnnamed4370(); } buildCounterListOperationsResponse--; return o; @@ -9640,17 +9640,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4386(o.operations!); + checkUnnamed4370(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed4387() => [ +core.List buildUnnamed4371() => [ buildProductSet(), buildProductSet(), ]; -void checkUnnamed4387(core.List o) { +void checkUnnamed4371(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductSet(o[0]); checkProductSet(o[1]); @@ -9662,7 +9662,7 @@ api.ListProductSetsResponse buildListProductSetsResponse() { buildCounterListProductSetsResponse++; if (buildCounterListProductSetsResponse < 3) { o.nextPageToken = 'foo'; - o.productSets = buildUnnamed4387(); + o.productSets = buildUnnamed4371(); } buildCounterListProductSetsResponse--; return o; @@ -9675,17 +9675,17 @@ void checkListProductSetsResponse(api.ListProductSetsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4387(o.productSets!); + checkUnnamed4371(o.productSets!); } buildCounterListProductSetsResponse--; } -core.List buildUnnamed4388() => [ +core.List buildUnnamed4372() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed4388(core.List o) { +void checkUnnamed4372(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -9697,7 +9697,7 @@ api.ListProductsInProductSetResponse buildListProductsInProductSetResponse() { buildCounterListProductsInProductSetResponse++; if (buildCounterListProductsInProductSetResponse < 3) { o.nextPageToken = 'foo'; - o.products = buildUnnamed4388(); + o.products = buildUnnamed4372(); } buildCounterListProductsInProductSetResponse--; return o; @@ -9711,17 +9711,17 @@ void checkListProductsInProductSetResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4388(o.products!); + checkUnnamed4372(o.products!); } buildCounterListProductsInProductSetResponse--; } -core.List buildUnnamed4389() => [ +core.List buildUnnamed4373() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed4389(core.List o) { +void checkUnnamed4373(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -9733,7 +9733,7 @@ api.ListProductsResponse buildListProductsResponse() { buildCounterListProductsResponse++; if (buildCounterListProductsResponse < 3) { o.nextPageToken = 'foo'; - o.products = buildUnnamed4389(); + o.products = buildUnnamed4373(); } buildCounterListProductsResponse--; return o; @@ -9746,17 +9746,17 @@ void checkListProductsResponse(api.ListProductsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4389(o.products!); + checkUnnamed4373(o.products!); } buildCounterListProductsResponse--; } -core.List buildUnnamed4390() => [ +core.List buildUnnamed4374() => [ buildReferenceImage(), buildReferenceImage(), ]; -void checkUnnamed4390(core.List o) { +void checkUnnamed4374(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReferenceImage(o[0]); checkReferenceImage(o[1]); @@ -9769,7 +9769,7 @@ api.ListReferenceImagesResponse buildListReferenceImagesResponse() { if (buildCounterListReferenceImagesResponse < 3) { o.nextPageToken = 'foo'; o.pageSize = 42; - o.referenceImages = buildUnnamed4390(); + o.referenceImages = buildUnnamed4374(); } buildCounterListReferenceImagesResponse--; return o; @@ -9786,7 +9786,7 @@ void checkListReferenceImagesResponse(api.ListReferenceImagesResponse o) { o.pageSize!, unittest.equals(42), ); - checkUnnamed4390(o.referenceImages!); + checkUnnamed4374(o.referenceImages!); } buildCounterListReferenceImagesResponse--; } @@ -9913,7 +9913,7 @@ void checkObjectAnnotation(api.ObjectAnnotation o) { buildCounterObjectAnnotation--; } -core.Map buildUnnamed4391() => { +core.Map buildUnnamed4375() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9926,7 +9926,7 @@ core.Map buildUnnamed4391() => { }, }; -void checkUnnamed4391(core.Map o) { +void checkUnnamed4375(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -9958,7 +9958,7 @@ void checkUnnamed4391(core.Map o) { ); } -core.Map buildUnnamed4392() => { +core.Map buildUnnamed4376() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9971,7 +9971,7 @@ core.Map buildUnnamed4392() => { }, }; -void checkUnnamed4392(core.Map o) { +void checkUnnamed4376(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -10010,9 +10010,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed4391(); + o.metadata = buildUnnamed4375(); o.name = 'foo'; - o.response = buildUnnamed4392(); + o.response = buildUnnamed4376(); } buildCounterOperation--; return o; @@ -10023,12 +10023,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed4391(o.metadata!); + checkUnnamed4375(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed4392(o.response!); + checkUnnamed4376(o.response!); } buildCounterOperation--; } @@ -10089,12 +10089,12 @@ void checkOutputConfig(api.OutputConfig o) { buildCounterOutputConfig--; } -core.List buildUnnamed4393() => [ +core.List buildUnnamed4377() => [ buildBlock(), buildBlock(), ]; -void checkUnnamed4393(core.List o) { +void checkUnnamed4377(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBlock(o[0]); checkBlock(o[1]); @@ -10105,7 +10105,7 @@ api.Page buildPage() { final o = api.Page(); buildCounterPage++; if (buildCounterPage < 3) { - o.blocks = buildUnnamed4393(); + o.blocks = buildUnnamed4377(); o.confidence = 42.0; o.height = 42; o.property = buildTextProperty(); @@ -10118,7 +10118,7 @@ api.Page buildPage() { void checkPage(api.Page o) { buildCounterPage++; if (buildCounterPage < 3) { - checkUnnamed4393(o.blocks!); + checkUnnamed4377(o.blocks!); unittest.expect( o.confidence!, unittest.equals(42.0), @@ -10136,12 +10136,12 @@ void checkPage(api.Page o) { buildCounterPage--; } -core.List buildUnnamed4394() => [ +core.List buildUnnamed4378() => [ buildWord(), buildWord(), ]; -void checkUnnamed4394(core.List o) { +void checkUnnamed4378(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWord(o[0]); checkWord(o[1]); @@ -10155,7 +10155,7 @@ api.Paragraph buildParagraph() { o.boundingBox = buildBoundingPoly(); o.confidence = 42.0; o.property = buildTextProperty(); - o.words = buildUnnamed4394(); + o.words = buildUnnamed4378(); } buildCounterParagraph--; return o; @@ -10170,7 +10170,7 @@ void checkParagraph(api.Paragraph o) { unittest.equals(42.0), ); checkTextProperty(o.property!); - checkUnnamed4394(o.words!); + checkUnnamed4378(o.words!); } buildCounterParagraph--; } @@ -10207,12 +10207,12 @@ void checkPosition(api.Position o) { buildCounterPosition--; } -core.List buildUnnamed4395() => [ +core.List buildUnnamed4379() => [ buildKeyValue(), buildKeyValue(), ]; -void checkUnnamed4395(core.List o) { +void checkUnnamed4379(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyValue(o[0]); checkKeyValue(o[1]); @@ -10227,7 +10227,7 @@ api.Product buildProduct() { o.displayName = 'foo'; o.name = 'foo'; o.productCategory = 'foo'; - o.productLabels = buildUnnamed4395(); + o.productLabels = buildUnnamed4379(); } buildCounterProduct--; return o; @@ -10252,17 +10252,17 @@ void checkProduct(api.Product o) { o.productCategory!, unittest.equals('foo'), ); - checkUnnamed4395(o.productLabels!); + checkUnnamed4379(o.productLabels!); } buildCounterProduct--; } -core.List buildUnnamed4396() => [ +core.List buildUnnamed4380() => [ 'foo', 'foo', ]; -void checkUnnamed4396(core.List o) { +void checkUnnamed4380(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10281,7 +10281,7 @@ api.ProductSearchParams buildProductSearchParams() { if (buildCounterProductSearchParams < 3) { o.boundingPoly = buildBoundingPoly(); o.filter = 'foo'; - o.productCategories = buildUnnamed4396(); + o.productCategories = buildUnnamed4380(); o.productSet = 'foo'; } buildCounterProductSearchParams--; @@ -10296,7 +10296,7 @@ void checkProductSearchParams(api.ProductSearchParams o) { o.filter!, unittest.equals('foo'), ); - checkUnnamed4396(o.productCategories!); + checkUnnamed4380(o.productCategories!); unittest.expect( o.productSet!, unittest.equals('foo'), @@ -10305,23 +10305,23 @@ void checkProductSearchParams(api.ProductSearchParams o) { buildCounterProductSearchParams--; } -core.List buildUnnamed4397() => [ +core.List buildUnnamed4381() => [ buildGroupedResult(), buildGroupedResult(), ]; -void checkUnnamed4397(core.List o) { +void checkUnnamed4381(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupedResult(o[0]); checkGroupedResult(o[1]); } -core.List buildUnnamed4398() => [ +core.List buildUnnamed4382() => [ buildResult(), buildResult(), ]; -void checkUnnamed4398(core.List o) { +void checkUnnamed4382(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResult(o[0]); checkResult(o[1]); @@ -10333,8 +10333,8 @@ api.ProductSearchResults buildProductSearchResults() { buildCounterProductSearchResults++; if (buildCounterProductSearchResults < 3) { o.indexTime = 'foo'; - o.productGroupedResults = buildUnnamed4397(); - o.results = buildUnnamed4398(); + o.productGroupedResults = buildUnnamed4381(); + o.results = buildUnnamed4382(); } buildCounterProductSearchResults--; return o; @@ -10347,8 +10347,8 @@ void checkProductSearchResults(api.ProductSearchResults o) { o.indexTime!, unittest.equals('foo'), ); - checkUnnamed4397(o.productGroupedResults!); - checkUnnamed4398(o.results!); + checkUnnamed4381(o.productGroupedResults!); + checkUnnamed4382(o.results!); } buildCounterProductSearchResults--; } @@ -10464,12 +10464,12 @@ void checkPurgeProductsRequest(api.PurgeProductsRequest o) { buildCounterPurgeProductsRequest--; } -core.List buildUnnamed4399() => [ +core.List buildUnnamed4383() => [ buildBoundingPoly(), buildBoundingPoly(), ]; -void checkUnnamed4399(core.List o) { +void checkUnnamed4383(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBoundingPoly(o[0]); checkBoundingPoly(o[1]); @@ -10480,7 +10480,7 @@ api.ReferenceImage buildReferenceImage() { final o = api.ReferenceImage(); buildCounterReferenceImage++; if (buildCounterReferenceImage < 3) { - o.boundingPolys = buildUnnamed4399(); + o.boundingPolys = buildUnnamed4383(); o.name = 'foo'; o.uri = 'foo'; } @@ -10491,7 +10491,7 @@ api.ReferenceImage buildReferenceImage() { void checkReferenceImage(api.ReferenceImage o) { buildCounterReferenceImage++; if (buildCounterReferenceImage < 3) { - checkUnnamed4399(o.boundingPolys!); + checkUnnamed4383(o.boundingPolys!); unittest.expect( o.name!, unittest.equals('foo'), @@ -10599,7 +10599,7 @@ void checkSafeSearchAnnotation(api.SafeSearchAnnotation o) { buildCounterSafeSearchAnnotation--; } -core.Map buildUnnamed4400() => { +core.Map buildUnnamed4384() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -10612,7 +10612,7 @@ core.Map buildUnnamed4400() => { }, }; -void checkUnnamed4400(core.Map o) { +void checkUnnamed4384(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -10644,15 +10644,15 @@ void checkUnnamed4400(core.Map o) { ); } -core.List> buildUnnamed4401() => [ - buildUnnamed4400(), - buildUnnamed4400(), +core.List> buildUnnamed4385() => [ + buildUnnamed4384(), + buildUnnamed4384(), ]; -void checkUnnamed4401(core.List> o) { +void checkUnnamed4385(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed4400(o[0]); - checkUnnamed4400(o[1]); + checkUnnamed4384(o[0]); + checkUnnamed4384(o[1]); } core.int buildCounterStatus = 0; @@ -10661,7 +10661,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed4401(); + o.details = buildUnnamed4385(); o.message = 'foo'; } buildCounterStatus--; @@ -10675,7 +10675,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed4401(o.details!); + checkUnnamed4385(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -10715,12 +10715,12 @@ void checkSymbol(api.Symbol o) { buildCounterSymbol--; } -core.List buildUnnamed4402() => [ +core.List buildUnnamed4386() => [ buildPage(), buildPage(), ]; -void checkUnnamed4402(core.List o) { +void checkUnnamed4386(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPage(o[0]); checkPage(o[1]); @@ -10731,7 +10731,7 @@ api.TextAnnotation buildTextAnnotation() { final o = api.TextAnnotation(); buildCounterTextAnnotation++; if (buildCounterTextAnnotation < 3) { - o.pages = buildUnnamed4402(); + o.pages = buildUnnamed4386(); o.text = 'foo'; } buildCounterTextAnnotation--; @@ -10741,7 +10741,7 @@ api.TextAnnotation buildTextAnnotation() { void checkTextAnnotation(api.TextAnnotation o) { buildCounterTextAnnotation++; if (buildCounterTextAnnotation < 3) { - checkUnnamed4402(o.pages!); + checkUnnamed4386(o.pages!); unittest.expect( o.text!, unittest.equals('foo'), @@ -10769,12 +10769,12 @@ void checkTextDetectionParams(api.TextDetectionParams o) { buildCounterTextDetectionParams--; } -core.List buildUnnamed4403() => [ +core.List buildUnnamed4387() => [ buildDetectedLanguage(), buildDetectedLanguage(), ]; -void checkUnnamed4403(core.List o) { +void checkUnnamed4387(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDetectedLanguage(o[0]); checkDetectedLanguage(o[1]); @@ -10786,7 +10786,7 @@ api.TextProperty buildTextProperty() { buildCounterTextProperty++; if (buildCounterTextProperty < 3) { o.detectedBreak = buildDetectedBreak(); - o.detectedLanguages = buildUnnamed4403(); + o.detectedLanguages = buildUnnamed4387(); } buildCounterTextProperty--; return o; @@ -10796,7 +10796,7 @@ void checkTextProperty(api.TextProperty o) { buildCounterTextProperty++; if (buildCounterTextProperty < 3) { checkDetectedBreak(o.detectedBreak!); - checkUnnamed4403(o.detectedLanguages!); + checkUnnamed4387(o.detectedLanguages!); } buildCounterTextProperty--; } @@ -10828,67 +10828,67 @@ void checkVertex(api.Vertex o) { buildCounterVertex--; } -core.List buildUnnamed4404() => [ +core.List buildUnnamed4388() => [ buildWebLabel(), buildWebLabel(), ]; -void checkUnnamed4404(core.List o) { +void checkUnnamed4388(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebLabel(o[0]); checkWebLabel(o[1]); } -core.List buildUnnamed4405() => [ +core.List buildUnnamed4389() => [ buildWebImage(), buildWebImage(), ]; -void checkUnnamed4405(core.List o) { +void checkUnnamed4389(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebImage(o[0]); checkWebImage(o[1]); } -core.List buildUnnamed4406() => [ +core.List buildUnnamed4390() => [ buildWebPage(), buildWebPage(), ]; -void checkUnnamed4406(core.List o) { +void checkUnnamed4390(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebPage(o[0]); checkWebPage(o[1]); } -core.List buildUnnamed4407() => [ +core.List buildUnnamed4391() => [ buildWebImage(), buildWebImage(), ]; -void checkUnnamed4407(core.List o) { +void checkUnnamed4391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebImage(o[0]); checkWebImage(o[1]); } -core.List buildUnnamed4408() => [ +core.List buildUnnamed4392() => [ buildWebImage(), buildWebImage(), ]; -void checkUnnamed4408(core.List o) { +void checkUnnamed4392(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebImage(o[0]); checkWebImage(o[1]); } -core.List buildUnnamed4409() => [ +core.List buildUnnamed4393() => [ buildWebEntity(), buildWebEntity(), ]; -void checkUnnamed4409(core.List o) { +void checkUnnamed4393(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebEntity(o[0]); checkWebEntity(o[1]); @@ -10899,12 +10899,12 @@ api.WebDetection buildWebDetection() { final o = api.WebDetection(); buildCounterWebDetection++; if (buildCounterWebDetection < 3) { - o.bestGuessLabels = buildUnnamed4404(); - o.fullMatchingImages = buildUnnamed4405(); - o.pagesWithMatchingImages = buildUnnamed4406(); - o.partialMatchingImages = buildUnnamed4407(); - o.visuallySimilarImages = buildUnnamed4408(); - o.webEntities = buildUnnamed4409(); + o.bestGuessLabels = buildUnnamed4388(); + o.fullMatchingImages = buildUnnamed4389(); + o.pagesWithMatchingImages = buildUnnamed4390(); + o.partialMatchingImages = buildUnnamed4391(); + o.visuallySimilarImages = buildUnnamed4392(); + o.webEntities = buildUnnamed4393(); } buildCounterWebDetection--; return o; @@ -10913,12 +10913,12 @@ api.WebDetection buildWebDetection() { void checkWebDetection(api.WebDetection o) { buildCounterWebDetection++; if (buildCounterWebDetection < 3) { - checkUnnamed4404(o.bestGuessLabels!); - checkUnnamed4405(o.fullMatchingImages!); - checkUnnamed4406(o.pagesWithMatchingImages!); - checkUnnamed4407(o.partialMatchingImages!); - checkUnnamed4408(o.visuallySimilarImages!); - checkUnnamed4409(o.webEntities!); + checkUnnamed4388(o.bestGuessLabels!); + checkUnnamed4389(o.fullMatchingImages!); + checkUnnamed4390(o.pagesWithMatchingImages!); + checkUnnamed4391(o.partialMatchingImages!); + checkUnnamed4392(o.visuallySimilarImages!); + checkUnnamed4393(o.webEntities!); } buildCounterWebDetection--; } @@ -11028,23 +11028,23 @@ void checkWebLabel(api.WebLabel o) { buildCounterWebLabel--; } -core.List buildUnnamed4410() => [ +core.List buildUnnamed4394() => [ buildWebImage(), buildWebImage(), ]; -void checkUnnamed4410(core.List o) { +void checkUnnamed4394(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebImage(o[0]); checkWebImage(o[1]); } -core.List buildUnnamed4411() => [ +core.List buildUnnamed4395() => [ buildWebImage(), buildWebImage(), ]; -void checkUnnamed4411(core.List o) { +void checkUnnamed4395(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebImage(o[0]); checkWebImage(o[1]); @@ -11055,9 +11055,9 @@ api.WebPage buildWebPage() { final o = api.WebPage(); buildCounterWebPage++; if (buildCounterWebPage < 3) { - o.fullMatchingImages = buildUnnamed4410(); + o.fullMatchingImages = buildUnnamed4394(); o.pageTitle = 'foo'; - o.partialMatchingImages = buildUnnamed4411(); + o.partialMatchingImages = buildUnnamed4395(); o.score = 42.0; o.url = 'foo'; } @@ -11068,12 +11068,12 @@ api.WebPage buildWebPage() { void checkWebPage(api.WebPage o) { buildCounterWebPage++; if (buildCounterWebPage < 3) { - checkUnnamed4410(o.fullMatchingImages!); + checkUnnamed4394(o.fullMatchingImages!); unittest.expect( o.pageTitle!, unittest.equals('foo'), ); - checkUnnamed4411(o.partialMatchingImages!); + checkUnnamed4395(o.partialMatchingImages!); unittest.expect( o.score!, unittest.equals(42.0), @@ -11086,12 +11086,12 @@ void checkWebPage(api.WebPage o) { buildCounterWebPage--; } -core.List buildUnnamed4412() => [ +core.List buildUnnamed4396() => [ buildSymbol(), buildSymbol(), ]; -void checkUnnamed4412(core.List o) { +void checkUnnamed4396(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSymbol(o[0]); checkSymbol(o[1]); @@ -11105,7 +11105,7 @@ api.Word buildWord() { o.boundingBox = buildBoundingPoly(); o.confidence = 42.0; o.property = buildTextProperty(); - o.symbols = buildUnnamed4412(); + o.symbols = buildUnnamed4396(); } buildCounterWord--; return o; @@ -11120,7 +11120,7 @@ void checkWord(api.Word o) { unittest.equals(42.0), ); checkTextProperty(o.property!); - checkUnnamed4412(o.symbols!); + checkUnnamed4396(o.symbols!); } buildCounterWord--; } diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart index 56185aff1..d96200bf4 100644 --- a/generated/googleapis/test/webfonts/v1_test.dart +++ b/generated/googleapis/test/webfonts/v1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed1764() => { +core.Map buildUnnamed1794() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1764(core.Map o) { +void checkUnnamed1794(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -43,12 +43,12 @@ void checkUnnamed1764(core.Map o) { ); } -core.List buildUnnamed1765() => [ +core.List buildUnnamed1795() => [ 'foo', 'foo', ]; -void checkUnnamed1765(core.List o) { +void checkUnnamed1795(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -60,12 +60,12 @@ void checkUnnamed1765(core.List o) { ); } -core.List buildUnnamed1766() => [ +core.List buildUnnamed1796() => [ 'foo', 'foo', ]; -void checkUnnamed1766(core.List o) { +void checkUnnamed1796(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -84,11 +84,11 @@ api.Webfont buildWebfont() { if (buildCounterWebfont < 3) { o.category = 'foo'; o.family = 'foo'; - o.files = buildUnnamed1764(); + o.files = buildUnnamed1794(); o.kind = 'foo'; o.lastModified = 'foo'; - o.subsets = buildUnnamed1765(); - o.variants = buildUnnamed1766(); + o.subsets = buildUnnamed1795(); + o.variants = buildUnnamed1796(); o.version = 'foo'; } buildCounterWebfont--; @@ -106,7 +106,7 @@ void checkWebfont(api.Webfont o) { o.family!, unittest.equals('foo'), ); - checkUnnamed1764(o.files!); + checkUnnamed1794(o.files!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -115,8 +115,8 @@ void checkWebfont(api.Webfont o) { o.lastModified!, unittest.equals('foo'), ); - checkUnnamed1765(o.subsets!); - checkUnnamed1766(o.variants!); + checkUnnamed1795(o.subsets!); + checkUnnamed1796(o.variants!); unittest.expect( o.version!, unittest.equals('foo'), @@ -125,12 +125,12 @@ void checkWebfont(api.Webfont o) { buildCounterWebfont--; } -core.List buildUnnamed1767() => [ +core.List buildUnnamed1797() => [ buildWebfont(), buildWebfont(), ]; -void checkUnnamed1767(core.List o) { +void checkUnnamed1797(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebfont(o[0]); checkWebfont(o[1]); @@ -141,7 +141,7 @@ api.WebfontList buildWebfontList() { final o = api.WebfontList(); buildCounterWebfontList++; if (buildCounterWebfontList < 3) { - o.items = buildUnnamed1767(); + o.items = buildUnnamed1797(); o.kind = 'foo'; } buildCounterWebfontList--; @@ -151,7 +151,7 @@ api.WebfontList buildWebfontList() { void checkWebfontList(api.WebfontList o) { buildCounterWebfontList++; if (buildCounterWebfontList < 3) { - checkUnnamed1767(o.items!); + checkUnnamed1797(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), diff --git a/generated/googleapis/test/webmasters/v3_test.dart b/generated/googleapis/test/webmasters/v3_test.dart index ce24bc1be..5c61fa8d4 100644 --- a/generated/googleapis/test/webmasters/v3_test.dart +++ b/generated/googleapis/test/webmasters/v3_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3636() => [ +core.List buildUnnamed3580() => [ 'foo', 'foo', ]; -void checkUnnamed3636(core.List o) { +void checkUnnamed3580(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -51,7 +51,7 @@ api.ApiDataRow buildApiDataRow() { o.clicks = 42.0; o.ctr = 42.0; o.impressions = 42.0; - o.keys = buildUnnamed3636(); + o.keys = buildUnnamed3580(); o.position = 42.0; } buildCounterApiDataRow--; @@ -73,7 +73,7 @@ void checkApiDataRow(api.ApiDataRow o) { o.impressions!, unittest.equals(42.0), ); - checkUnnamed3636(o.keys!); + checkUnnamed3580(o.keys!); unittest.expect( o.position!, unittest.equals(42.0), @@ -114,12 +114,12 @@ void checkApiDimensionFilter(api.ApiDimensionFilter o) { buildCounterApiDimensionFilter--; } -core.List buildUnnamed3637() => [ +core.List buildUnnamed3581() => [ buildApiDimensionFilter(), buildApiDimensionFilter(), ]; -void checkUnnamed3637(core.List o) { +void checkUnnamed3581(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiDimensionFilter(o[0]); checkApiDimensionFilter(o[1]); @@ -130,7 +130,7 @@ api.ApiDimensionFilterGroup buildApiDimensionFilterGroup() { final o = api.ApiDimensionFilterGroup(); buildCounterApiDimensionFilterGroup++; if (buildCounterApiDimensionFilterGroup < 3) { - o.filters = buildUnnamed3637(); + o.filters = buildUnnamed3581(); o.groupType = 'foo'; } buildCounterApiDimensionFilterGroup--; @@ -140,7 +140,7 @@ api.ApiDimensionFilterGroup buildApiDimensionFilterGroup() { void checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) { buildCounterApiDimensionFilterGroup++; if (buildCounterApiDimensionFilterGroup < 3) { - checkUnnamed3637(o.filters!); + checkUnnamed3581(o.filters!); unittest.expect( o.groupType!, unittest.equals('foo'), @@ -149,23 +149,23 @@ void checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) { buildCounterApiDimensionFilterGroup--; } -core.List buildUnnamed3638() => [ +core.List buildUnnamed3582() => [ buildApiDimensionFilterGroup(), buildApiDimensionFilterGroup(), ]; -void checkUnnamed3638(core.List o) { +void checkUnnamed3582(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiDimensionFilterGroup(o[0]); checkApiDimensionFilterGroup(o[1]); } -core.List buildUnnamed3639() => [ +core.List buildUnnamed3583() => [ 'foo', 'foo', ]; -void checkUnnamed3639(core.List o) { +void checkUnnamed3583(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -184,8 +184,8 @@ api.SearchAnalyticsQueryRequest buildSearchAnalyticsQueryRequest() { if (buildCounterSearchAnalyticsQueryRequest < 3) { o.aggregationType = 'foo'; o.dataState = 'foo'; - o.dimensionFilterGroups = buildUnnamed3638(); - o.dimensions = buildUnnamed3639(); + o.dimensionFilterGroups = buildUnnamed3582(); + o.dimensions = buildUnnamed3583(); o.endDate = 'foo'; o.rowLimit = 42; o.searchType = 'foo'; @@ -207,8 +207,8 @@ void checkSearchAnalyticsQueryRequest(api.SearchAnalyticsQueryRequest o) { o.dataState!, unittest.equals('foo'), ); - checkUnnamed3638(o.dimensionFilterGroups!); - checkUnnamed3639(o.dimensions!); + checkUnnamed3582(o.dimensionFilterGroups!); + checkUnnamed3583(o.dimensions!); unittest.expect( o.endDate!, unittest.equals('foo'), @@ -233,12 +233,12 @@ void checkSearchAnalyticsQueryRequest(api.SearchAnalyticsQueryRequest o) { buildCounterSearchAnalyticsQueryRequest--; } -core.List buildUnnamed3640() => [ +core.List buildUnnamed3584() => [ buildApiDataRow(), buildApiDataRow(), ]; -void checkUnnamed3640(core.List o) { +void checkUnnamed3584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiDataRow(o[0]); checkApiDataRow(o[1]); @@ -250,7 +250,7 @@ api.SearchAnalyticsQueryResponse buildSearchAnalyticsQueryResponse() { buildCounterSearchAnalyticsQueryResponse++; if (buildCounterSearchAnalyticsQueryResponse < 3) { o.responseAggregationType = 'foo'; - o.rows = buildUnnamed3640(); + o.rows = buildUnnamed3584(); } buildCounterSearchAnalyticsQueryResponse--; return o; @@ -263,17 +263,17 @@ void checkSearchAnalyticsQueryResponse(api.SearchAnalyticsQueryResponse o) { o.responseAggregationType!, unittest.equals('foo'), ); - checkUnnamed3640(o.rows!); + checkUnnamed3584(o.rows!); } buildCounterSearchAnalyticsQueryResponse--; } -core.List buildUnnamed3641() => [ +core.List buildUnnamed3585() => [ buildWmxSitemap(), buildWmxSitemap(), ]; -void checkUnnamed3641(core.List o) { +void checkUnnamed3585(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSitemap(o[0]); checkWmxSitemap(o[1]); @@ -284,7 +284,7 @@ api.SitemapsListResponse buildSitemapsListResponse() { final o = api.SitemapsListResponse(); buildCounterSitemapsListResponse++; if (buildCounterSitemapsListResponse < 3) { - o.sitemap = buildUnnamed3641(); + o.sitemap = buildUnnamed3585(); } buildCounterSitemapsListResponse--; return o; @@ -293,17 +293,17 @@ api.SitemapsListResponse buildSitemapsListResponse() { void checkSitemapsListResponse(api.SitemapsListResponse o) { buildCounterSitemapsListResponse++; if (buildCounterSitemapsListResponse < 3) { - checkUnnamed3641(o.sitemap!); + checkUnnamed3585(o.sitemap!); } buildCounterSitemapsListResponse--; } -core.List buildUnnamed3642() => [ +core.List buildUnnamed3586() => [ buildWmxSite(), buildWmxSite(), ]; -void checkUnnamed3642(core.List o) { +void checkUnnamed3586(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSite(o[0]); checkWmxSite(o[1]); @@ -314,7 +314,7 @@ api.SitesListResponse buildSitesListResponse() { final o = api.SitesListResponse(); buildCounterSitesListResponse++; if (buildCounterSitesListResponse < 3) { - o.siteEntry = buildUnnamed3642(); + o.siteEntry = buildUnnamed3586(); } buildCounterSitesListResponse--; return o; @@ -323,7 +323,7 @@ api.SitesListResponse buildSitesListResponse() { void checkSitesListResponse(api.SitesListResponse o) { buildCounterSitesListResponse++; if (buildCounterSitesListResponse < 3) { - checkUnnamed3642(o.siteEntry!); + checkUnnamed3586(o.siteEntry!); } buildCounterSitesListResponse--; } @@ -355,12 +355,12 @@ void checkWmxSite(api.WmxSite o) { buildCounterWmxSite--; } -core.List buildUnnamed3643() => [ +core.List buildUnnamed3587() => [ buildWmxSitemapContent(), buildWmxSitemapContent(), ]; -void checkUnnamed3643(core.List o) { +void checkUnnamed3587(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWmxSitemapContent(o[0]); checkWmxSitemapContent(o[1]); @@ -371,7 +371,7 @@ api.WmxSitemap buildWmxSitemap() { final o = api.WmxSitemap(); buildCounterWmxSitemap++; if (buildCounterWmxSitemap < 3) { - o.contents = buildUnnamed3643(); + o.contents = buildUnnamed3587(); o.errors = 'foo'; o.isPending = true; o.isSitemapsIndex = true; @@ -388,7 +388,7 @@ api.WmxSitemap buildWmxSitemap() { void checkWmxSitemap(api.WmxSitemap o) { buildCounterWmxSitemap++; if (buildCounterWmxSitemap < 3) { - checkUnnamed3643(o.contents!); + checkUnnamed3587(o.contents!); unittest.expect( o.errors!, unittest.equals('foo'), diff --git a/generated/googleapis/test/webrisk/v1_test.dart b/generated/googleapis/test/webrisk/v1_test.dart index 5524ef1d8..7cb66b308 100644 --- a/generated/googleapis/test/webrisk/v1_test.dart +++ b/generated/googleapis/test/webrisk/v1_test.dart @@ -121,12 +121,12 @@ void checkGoogleCloudWebriskV1RawHashes(api.GoogleCloudWebriskV1RawHashes o) { buildCounterGoogleCloudWebriskV1RawHashes--; } -core.List buildUnnamed1643() => [ +core.List buildUnnamed1673() => [ 42, 42, ]; -void checkUnnamed1643(core.List o) { +void checkUnnamed1673(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -143,7 +143,7 @@ api.GoogleCloudWebriskV1RawIndices buildGoogleCloudWebriskV1RawIndices() { final o = api.GoogleCloudWebriskV1RawIndices(); buildCounterGoogleCloudWebriskV1RawIndices++; if (buildCounterGoogleCloudWebriskV1RawIndices < 3) { - o.indices = buildUnnamed1643(); + o.indices = buildUnnamed1673(); } buildCounterGoogleCloudWebriskV1RawIndices--; return o; @@ -152,7 +152,7 @@ api.GoogleCloudWebriskV1RawIndices buildGoogleCloudWebriskV1RawIndices() { void checkGoogleCloudWebriskV1RawIndices(api.GoogleCloudWebriskV1RawIndices o) { buildCounterGoogleCloudWebriskV1RawIndices++; if (buildCounterGoogleCloudWebriskV1RawIndices < 3) { - checkUnnamed1643(o.indices!); + checkUnnamed1673(o.indices!); } buildCounterGoogleCloudWebriskV1RawIndices--; } @@ -197,12 +197,12 @@ void checkGoogleCloudWebriskV1RiceDeltaEncoding( } core.List - buildUnnamed1644() => [ + buildUnnamed1674() => [ buildGoogleCloudWebriskV1SearchHashesResponseThreatHash(), buildGoogleCloudWebriskV1SearchHashesResponseThreatHash(), ]; -void checkUnnamed1644( +void checkUnnamed1674( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudWebriskV1SearchHashesResponseThreatHash(o[0]); @@ -216,7 +216,7 @@ api.GoogleCloudWebriskV1SearchHashesResponse buildCounterGoogleCloudWebriskV1SearchHashesResponse++; if (buildCounterGoogleCloudWebriskV1SearchHashesResponse < 3) { o.negativeExpireTime = 'foo'; - o.threats = buildUnnamed1644(); + o.threats = buildUnnamed1674(); } buildCounterGoogleCloudWebriskV1SearchHashesResponse--; return o; @@ -230,17 +230,17 @@ void checkGoogleCloudWebriskV1SearchHashesResponse( o.negativeExpireTime!, unittest.equals('foo'), ); - checkUnnamed1644(o.threats!); + checkUnnamed1674(o.threats!); } buildCounterGoogleCloudWebriskV1SearchHashesResponse--; } -core.List buildUnnamed1645() => [ +core.List buildUnnamed1675() => [ 'foo', 'foo', ]; -void checkUnnamed1645(core.List o) { +void checkUnnamed1675(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -260,7 +260,7 @@ api.GoogleCloudWebriskV1SearchHashesResponseThreatHash if (buildCounterGoogleCloudWebriskV1SearchHashesResponseThreatHash < 3) { o.expireTime = 'foo'; o.hash = 'foo'; - o.threatTypes = buildUnnamed1645(); + o.threatTypes = buildUnnamed1675(); } buildCounterGoogleCloudWebriskV1SearchHashesResponseThreatHash--; return o; @@ -278,7 +278,7 @@ void checkGoogleCloudWebriskV1SearchHashesResponseThreatHash( o.hash!, unittest.equals('foo'), ); - checkUnnamed1645(o.threatTypes!); + checkUnnamed1675(o.threatTypes!); } buildCounterGoogleCloudWebriskV1SearchHashesResponseThreatHash--; } @@ -304,12 +304,12 @@ void checkGoogleCloudWebriskV1SearchUrisResponse( buildCounterGoogleCloudWebriskV1SearchUrisResponse--; } -core.List buildUnnamed1646() => [ +core.List buildUnnamed1676() => [ 'foo', 'foo', ]; -void checkUnnamed1646(core.List o) { +void checkUnnamed1676(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -328,7 +328,7 @@ api.GoogleCloudWebriskV1SearchUrisResponseThreatUri buildCounterGoogleCloudWebriskV1SearchUrisResponseThreatUri++; if (buildCounterGoogleCloudWebriskV1SearchUrisResponseThreatUri < 3) { o.expireTime = 'foo'; - o.threatTypes = buildUnnamed1646(); + o.threatTypes = buildUnnamed1676(); } buildCounterGoogleCloudWebriskV1SearchUrisResponseThreatUri--; return o; @@ -342,17 +342,17 @@ void checkGoogleCloudWebriskV1SearchUrisResponseThreatUri( o.expireTime!, unittest.equals('foo'), ); - checkUnnamed1646(o.threatTypes!); + checkUnnamed1676(o.threatTypes!); } buildCounterGoogleCloudWebriskV1SearchUrisResponseThreatUri--; } -core.List buildUnnamed1647() => [ +core.List buildUnnamed1677() => [ 'foo', 'foo', ]; -void checkUnnamed1647(core.List o) { +void checkUnnamed1677(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -369,7 +369,7 @@ api.GoogleCloudWebriskV1Submission buildGoogleCloudWebriskV1Submission() { final o = api.GoogleCloudWebriskV1Submission(); buildCounterGoogleCloudWebriskV1Submission++; if (buildCounterGoogleCloudWebriskV1Submission < 3) { - o.threatTypes = buildUnnamed1647(); + o.threatTypes = buildUnnamed1677(); o.uri = 'foo'; } buildCounterGoogleCloudWebriskV1Submission--; @@ -379,7 +379,7 @@ api.GoogleCloudWebriskV1Submission buildGoogleCloudWebriskV1Submission() { void checkGoogleCloudWebriskV1Submission(api.GoogleCloudWebriskV1Submission o) { buildCounterGoogleCloudWebriskV1Submission++; if (buildCounterGoogleCloudWebriskV1Submission < 3) { - checkUnnamed1647(o.threatTypes!); + checkUnnamed1677(o.threatTypes!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -443,12 +443,12 @@ void checkGoogleCloudWebriskV1SubmitUriRequest( buildCounterGoogleCloudWebriskV1SubmitUriRequest--; } -core.List buildUnnamed1648() => [ +core.List buildUnnamed1678() => [ buildGoogleCloudWebriskV1RawHashes(), buildGoogleCloudWebriskV1RawHashes(), ]; -void checkUnnamed1648(core.List o) { +void checkUnnamed1678(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudWebriskV1RawHashes(o[0]); checkGoogleCloudWebriskV1RawHashes(o[1]); @@ -460,7 +460,7 @@ api.GoogleCloudWebriskV1ThreatEntryAdditions final o = api.GoogleCloudWebriskV1ThreatEntryAdditions(); buildCounterGoogleCloudWebriskV1ThreatEntryAdditions++; if (buildCounterGoogleCloudWebriskV1ThreatEntryAdditions < 3) { - o.rawHashes = buildUnnamed1648(); + o.rawHashes = buildUnnamed1678(); o.riceHashes = buildGoogleCloudWebriskV1RiceDeltaEncoding(); } buildCounterGoogleCloudWebriskV1ThreatEntryAdditions--; @@ -471,7 +471,7 @@ void checkGoogleCloudWebriskV1ThreatEntryAdditions( api.GoogleCloudWebriskV1ThreatEntryAdditions o) { buildCounterGoogleCloudWebriskV1ThreatEntryAdditions++; if (buildCounterGoogleCloudWebriskV1ThreatEntryAdditions < 3) { - checkUnnamed1648(o.rawHashes!); + checkUnnamed1678(o.rawHashes!); checkGoogleCloudWebriskV1RiceDeltaEncoding(o.riceHashes!); } buildCounterGoogleCloudWebriskV1ThreatEntryAdditions--; @@ -517,12 +517,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed1649() => [ +core.List buildUnnamed1679() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed1649(core.List o) { +void checkUnnamed1679(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -535,7 +535,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1649(); + o.operations = buildUnnamed1679(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -549,12 +549,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1649(o.operations!); + checkUnnamed1679(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed1650() => { +core.Map buildUnnamed1680() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -567,7 +567,7 @@ core.Map buildUnnamed1650() => { }, }; -void checkUnnamed1650(core.Map o) { +void checkUnnamed1680(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -599,7 +599,7 @@ void checkUnnamed1650(core.Map o) { ); } -core.Map buildUnnamed1651() => { +core.Map buildUnnamed1681() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -612,7 +612,7 @@ core.Map buildUnnamed1651() => { }, }; -void checkUnnamed1651(core.Map o) { +void checkUnnamed1681(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -651,9 +651,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed1650(); + o.metadata = buildUnnamed1680(); o.name = 'foo'; - o.response = buildUnnamed1651(); + o.response = buildUnnamed1681(); } buildCounterGoogleLongrunningOperation--; return o; @@ -664,12 +664,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed1650(o.metadata!); + checkUnnamed1680(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1651(o.response!); + checkUnnamed1681(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -689,7 +689,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed1652() => { +core.Map buildUnnamed1682() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -702,7 +702,7 @@ core.Map buildUnnamed1652() => { }, }; -void checkUnnamed1652(core.Map o) { +void checkUnnamed1682(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -734,15 +734,15 @@ void checkUnnamed1652(core.Map o) { ); } -core.List> buildUnnamed1653() => [ - buildUnnamed1652(), - buildUnnamed1652(), +core.List> buildUnnamed1683() => [ + buildUnnamed1682(), + buildUnnamed1682(), ]; -void checkUnnamed1653(core.List> o) { +void checkUnnamed1683(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1652(o[0]); - checkUnnamed1652(o[1]); + checkUnnamed1682(o[0]); + checkUnnamed1682(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -751,7 +751,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed1653(); + o.details = buildUnnamed1683(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -765,7 +765,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed1653(o.details!); + checkUnnamed1683(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -774,12 +774,12 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { buildCounterGoogleRpcStatus--; } -core.List buildUnnamed1654() => [ +core.List buildUnnamed1684() => [ 'foo', 'foo', ]; -void checkUnnamed1654(core.List o) { +void checkUnnamed1684(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -791,12 +791,12 @@ void checkUnnamed1654(core.List o) { ); } -core.List buildUnnamed1655() => [ +core.List buildUnnamed1685() => [ 'foo', 'foo', ]; -void checkUnnamed1655(core.List o) { +void checkUnnamed1685(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -808,12 +808,12 @@ void checkUnnamed1655(core.List o) { ); } -core.List buildUnnamed1656() => [ +core.List buildUnnamed1686() => [ 'foo', 'foo', ]; -void checkUnnamed1656(core.List o) { +void checkUnnamed1686(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1028,7 +1028,7 @@ void main() { final mock = HttpServerMock(); final res = api.WebRiskApi(mock).hashes; final arg_hashPrefix = 'foo'; - final arg_threatTypes = buildUnnamed1654(); + final arg_threatTypes = buildUnnamed1684(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -1456,7 +1456,7 @@ void main() { final res = api.WebRiskApi(mock).threatLists; final arg_constraints_maxDatabaseEntries = 42; final arg_constraints_maxDiffEntries = 42; - final arg_constraints_supportedCompressions = buildUnnamed1655(); + final arg_constraints_supportedCompressions = buildUnnamed1685(); final arg_threatType = 'foo'; final arg_versionToken = 'foo'; final arg_$fields = 'foo'; @@ -1540,7 +1540,7 @@ void main() { unittest.test('method--search', () async { final mock = HttpServerMock(); final res = api.WebRiskApi(mock).uris; - final arg_threatTypes = buildUnnamed1656(); + final arg_threatTypes = buildUnnamed1686(); final arg_uri = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/websecurityscanner/v1_test.dart b/generated/googleapis/test/websecurityscanner/v1_test.dart index d0d60ed75..eeb9d0b79 100644 --- a/generated/googleapis/test/websecurityscanner/v1_test.dart +++ b/generated/googleapis/test/websecurityscanner/v1_test.dart @@ -239,12 +239,12 @@ void checkFindingTypeStats(api.FindingTypeStats o) { buildCounterFindingTypeStats--; } -core.List buildUnnamed213() => [ +core.List buildUnnamed215() => [ 'foo', 'foo', ]; -void checkUnnamed213(core.List o) { +void checkUnnamed215(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -262,7 +262,7 @@ api.Form buildForm() { buildCounterForm++; if (buildCounterForm < 3) { o.actionUri = 'foo'; - o.fields = buildUnnamed213(); + o.fields = buildUnnamed215(); } buildCounterForm--; return o; @@ -275,7 +275,7 @@ void checkForm(api.Form o) { o.actionUri!, unittest.equals('foo'), ); - checkUnnamed213(o.fields!); + checkUnnamed215(o.fields!); } buildCounterForm--; } @@ -375,12 +375,12 @@ void checkIapTestServiceAccountInfo(api.IapTestServiceAccountInfo o) { buildCounterIapTestServiceAccountInfo--; } -core.List buildUnnamed214() => [ +core.List buildUnnamed216() => [ buildCrawledUrl(), buildCrawledUrl(), ]; -void checkUnnamed214(core.List o) { +void checkUnnamed216(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCrawledUrl(o[0]); checkCrawledUrl(o[1]); @@ -391,7 +391,7 @@ api.ListCrawledUrlsResponse buildListCrawledUrlsResponse() { final o = api.ListCrawledUrlsResponse(); buildCounterListCrawledUrlsResponse++; if (buildCounterListCrawledUrlsResponse < 3) { - o.crawledUrls = buildUnnamed214(); + o.crawledUrls = buildUnnamed216(); o.nextPageToken = 'foo'; } buildCounterListCrawledUrlsResponse--; @@ -401,7 +401,7 @@ api.ListCrawledUrlsResponse buildListCrawledUrlsResponse() { void checkListCrawledUrlsResponse(api.ListCrawledUrlsResponse o) { buildCounterListCrawledUrlsResponse++; if (buildCounterListCrawledUrlsResponse < 3) { - checkUnnamed214(o.crawledUrls!); + checkUnnamed216(o.crawledUrls!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -410,12 +410,12 @@ void checkListCrawledUrlsResponse(api.ListCrawledUrlsResponse o) { buildCounterListCrawledUrlsResponse--; } -core.List buildUnnamed215() => [ +core.List buildUnnamed217() => [ buildFindingTypeStats(), buildFindingTypeStats(), ]; -void checkUnnamed215(core.List o) { +void checkUnnamed217(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFindingTypeStats(o[0]); checkFindingTypeStats(o[1]); @@ -426,7 +426,7 @@ api.ListFindingTypeStatsResponse buildListFindingTypeStatsResponse() { final o = api.ListFindingTypeStatsResponse(); buildCounterListFindingTypeStatsResponse++; if (buildCounterListFindingTypeStatsResponse < 3) { - o.findingTypeStats = buildUnnamed215(); + o.findingTypeStats = buildUnnamed217(); } buildCounterListFindingTypeStatsResponse--; return o; @@ -435,17 +435,17 @@ api.ListFindingTypeStatsResponse buildListFindingTypeStatsResponse() { void checkListFindingTypeStatsResponse(api.ListFindingTypeStatsResponse o) { buildCounterListFindingTypeStatsResponse++; if (buildCounterListFindingTypeStatsResponse < 3) { - checkUnnamed215(o.findingTypeStats!); + checkUnnamed217(o.findingTypeStats!); } buildCounterListFindingTypeStatsResponse--; } -core.List buildUnnamed216() => [ +core.List buildUnnamed218() => [ buildFinding(), buildFinding(), ]; -void checkUnnamed216(core.List o) { +void checkUnnamed218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFinding(o[0]); checkFinding(o[1]); @@ -456,7 +456,7 @@ api.ListFindingsResponse buildListFindingsResponse() { final o = api.ListFindingsResponse(); buildCounterListFindingsResponse++; if (buildCounterListFindingsResponse < 3) { - o.findings = buildUnnamed216(); + o.findings = buildUnnamed218(); o.nextPageToken = 'foo'; } buildCounterListFindingsResponse--; @@ -466,7 +466,7 @@ api.ListFindingsResponse buildListFindingsResponse() { void checkListFindingsResponse(api.ListFindingsResponse o) { buildCounterListFindingsResponse++; if (buildCounterListFindingsResponse < 3) { - checkUnnamed216(o.findings!); + checkUnnamed218(o.findings!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -475,12 +475,12 @@ void checkListFindingsResponse(api.ListFindingsResponse o) { buildCounterListFindingsResponse--; } -core.List buildUnnamed217() => [ +core.List buildUnnamed219() => [ buildScanConfig(), buildScanConfig(), ]; -void checkUnnamed217(core.List o) { +void checkUnnamed219(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScanConfig(o[0]); checkScanConfig(o[1]); @@ -492,7 +492,7 @@ api.ListScanConfigsResponse buildListScanConfigsResponse() { buildCounterListScanConfigsResponse++; if (buildCounterListScanConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.scanConfigs = buildUnnamed217(); + o.scanConfigs = buildUnnamed219(); } buildCounterListScanConfigsResponse--; return o; @@ -505,17 +505,17 @@ void checkListScanConfigsResponse(api.ListScanConfigsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed217(o.scanConfigs!); + checkUnnamed219(o.scanConfigs!); } buildCounterListScanConfigsResponse--; } -core.List buildUnnamed218() => [ +core.List buildUnnamed220() => [ buildScanRun(), buildScanRun(), ]; -void checkUnnamed218(core.List o) { +void checkUnnamed220(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScanRun(o[0]); checkScanRun(o[1]); @@ -527,7 +527,7 @@ api.ListScanRunsResponse buildListScanRunsResponse() { buildCounterListScanRunsResponse++; if (buildCounterListScanRunsResponse < 3) { o.nextPageToken = 'foo'; - o.scanRuns = buildUnnamed218(); + o.scanRuns = buildUnnamed220(); } buildCounterListScanRunsResponse--; return o; @@ -540,17 +540,17 @@ void checkListScanRunsResponse(api.ListScanRunsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed218(o.scanRuns!); + checkUnnamed220(o.scanRuns!); } buildCounterListScanRunsResponse--; } -core.List buildUnnamed219() => [ +core.List buildUnnamed221() => [ 'foo', 'foo', ]; -void checkUnnamed219(core.List o) { +void checkUnnamed221(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -567,7 +567,7 @@ api.OutdatedLibrary buildOutdatedLibrary() { final o = api.OutdatedLibrary(); buildCounterOutdatedLibrary++; if (buildCounterOutdatedLibrary < 3) { - o.learnMoreUrls = buildUnnamed219(); + o.learnMoreUrls = buildUnnamed221(); o.libraryName = 'foo'; o.version = 'foo'; } @@ -578,7 +578,7 @@ api.OutdatedLibrary buildOutdatedLibrary() { void checkOutdatedLibrary(api.OutdatedLibrary o) { buildCounterOutdatedLibrary++; if (buildCounterOutdatedLibrary < 3) { - checkUnnamed219(o.learnMoreUrls!); + checkUnnamed221(o.learnMoreUrls!); unittest.expect( o.libraryName!, unittest.equals('foo'), @@ -591,12 +591,12 @@ void checkOutdatedLibrary(api.OutdatedLibrary o) { buildCounterOutdatedLibrary--; } -core.List buildUnnamed220() => [ +core.List buildUnnamed222() => [ 'foo', 'foo', ]; -void checkUnnamed220(core.List o) { +void checkUnnamed222(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -608,12 +608,12 @@ void checkUnnamed220(core.List o) { ); } -core.List buildUnnamed221() => [ +core.List buildUnnamed223() => [ 'foo', 'foo', ]; -void checkUnnamed221(core.List o) { +void checkUnnamed223(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -631,7 +631,7 @@ api.ScanConfig buildScanConfig() { buildCounterScanConfig++; if (buildCounterScanConfig < 3) { o.authentication = buildAuthentication(); - o.blacklistPatterns = buildUnnamed220(); + o.blacklistPatterns = buildUnnamed222(); o.displayName = 'foo'; o.exportToSecurityCommandCenter = 'foo'; o.ignoreHttpStatusErrors = true; @@ -640,7 +640,7 @@ api.ScanConfig buildScanConfig() { o.name = 'foo'; o.riskLevel = 'foo'; o.schedule = buildSchedule(); - o.startingUrls = buildUnnamed221(); + o.startingUrls = buildUnnamed223(); o.staticIpScan = true; o.userAgent = 'foo'; } @@ -652,7 +652,7 @@ void checkScanConfig(api.ScanConfig o) { buildCounterScanConfig++; if (buildCounterScanConfig < 3) { checkAuthentication(o.authentication!); - checkUnnamed220(o.blacklistPatterns!); + checkUnnamed222(o.blacklistPatterns!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -676,7 +676,7 @@ void checkScanConfig(api.ScanConfig o) { unittest.equals('foo'), ); checkSchedule(o.schedule!); - checkUnnamed221(o.startingUrls!); + checkUnnamed223(o.startingUrls!); unittest.expect(o.staticIpScan!, unittest.isTrue); unittest.expect( o.userAgent!, @@ -713,12 +713,12 @@ void checkScanConfigError(api.ScanConfigError o) { buildCounterScanConfigError--; } -core.List buildUnnamed222() => [ +core.List buildUnnamed224() => [ buildScanRunWarningTrace(), buildScanRunWarningTrace(), ]; -void checkUnnamed222(core.List o) { +void checkUnnamed224(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScanRunWarningTrace(o[0]); checkScanRunWarningTrace(o[1]); @@ -739,7 +739,7 @@ api.ScanRun buildScanRun() { o.startTime = 'foo'; o.urlsCrawledCount = 'foo'; o.urlsTestedCount = 'foo'; - o.warningTraces = buildUnnamed222(); + o.warningTraces = buildUnnamed224(); } buildCounterScanRun--; return o; @@ -782,7 +782,7 @@ void checkScanRun(api.ScanRun o) { o.urlsTestedCount!, unittest.equals('foo'), ); - checkUnnamed222(o.warningTraces!); + checkUnnamed224(o.warningTraces!); } buildCounterScanRun--; } @@ -922,23 +922,23 @@ void checkViolatingResource(api.ViolatingResource o) { buildCounterViolatingResource--; } -core.List buildUnnamed223() => [ +core.List buildUnnamed225() => [ buildHeader(), buildHeader(), ]; -void checkUnnamed223(core.List o) { +void checkUnnamed225(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHeader(o[0]); checkHeader(o[1]); } -core.List buildUnnamed224() => [ +core.List buildUnnamed226() => [ buildHeader(), buildHeader(), ]; -void checkUnnamed224(core.List o) { +void checkUnnamed226(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHeader(o[0]); checkHeader(o[1]); @@ -949,8 +949,8 @@ api.VulnerableHeaders buildVulnerableHeaders() { final o = api.VulnerableHeaders(); buildCounterVulnerableHeaders++; if (buildCounterVulnerableHeaders < 3) { - o.headers = buildUnnamed223(); - o.missingHeaders = buildUnnamed224(); + o.headers = buildUnnamed225(); + o.missingHeaders = buildUnnamed226(); } buildCounterVulnerableHeaders--; return o; @@ -959,18 +959,18 @@ api.VulnerableHeaders buildVulnerableHeaders() { void checkVulnerableHeaders(api.VulnerableHeaders o) { buildCounterVulnerableHeaders++; if (buildCounterVulnerableHeaders < 3) { - checkUnnamed223(o.headers!); - checkUnnamed224(o.missingHeaders!); + checkUnnamed225(o.headers!); + checkUnnamed226(o.missingHeaders!); } buildCounterVulnerableHeaders--; } -core.List buildUnnamed225() => [ +core.List buildUnnamed227() => [ 'foo', 'foo', ]; -void checkUnnamed225(core.List o) { +void checkUnnamed227(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -987,7 +987,7 @@ api.VulnerableParameters buildVulnerableParameters() { final o = api.VulnerableParameters(); buildCounterVulnerableParameters++; if (buildCounterVulnerableParameters < 3) { - o.parameterNames = buildUnnamed225(); + o.parameterNames = buildUnnamed227(); } buildCounterVulnerableParameters--; return o; @@ -996,17 +996,17 @@ api.VulnerableParameters buildVulnerableParameters() { void checkVulnerableParameters(api.VulnerableParameters o) { buildCounterVulnerableParameters++; if (buildCounterVulnerableParameters < 3) { - checkUnnamed225(o.parameterNames!); + checkUnnamed227(o.parameterNames!); } buildCounterVulnerableParameters--; } -core.List buildUnnamed226() => [ +core.List buildUnnamed228() => [ 'foo', 'foo', ]; -void checkUnnamed226(core.List o) { +void checkUnnamed228(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1025,7 +1025,7 @@ api.Xss buildXss() { if (buildCounterXss < 3) { o.attackVector = 'foo'; o.errorMessage = 'foo'; - o.stackTraces = buildUnnamed226(); + o.stackTraces = buildUnnamed228(); o.storedXssSeedingUrl = 'foo'; } buildCounterXss--; @@ -1043,7 +1043,7 @@ void checkXss(api.Xss o) { o.errorMessage!, unittest.equals('foo'), ); - checkUnnamed226(o.stackTraces!); + checkUnnamed228(o.stackTraces!); unittest.expect( o.storedXssSeedingUrl!, unittest.equals('foo'), diff --git a/generated/googleapis/test/workflowexecutions/v1_test.dart b/generated/googleapis/test/workflowexecutions/v1_test.dart index 1c743e561..2e9133dbc 100644 --- a/generated/googleapis/test/workflowexecutions/v1_test.dart +++ b/generated/googleapis/test/workflowexecutions/v1_test.dart @@ -76,6 +76,7 @@ api.Execution buildExecution() { buildCounterExecution++; if (buildCounterExecution < 3) { o.argument = 'foo'; + o.callLogLevel = 'foo'; o.endTime = 'foo'; o.error = buildError(); o.name = 'foo'; @@ -95,6 +96,10 @@ void checkExecution(api.Execution o) { o.argument!, unittest.equals('foo'), ); + unittest.expect( + o.callLogLevel!, + unittest.equals('foo'), + ); unittest.expect( o.endTime!, unittest.equals('foo'), @@ -124,12 +129,12 @@ void checkExecution(api.Execution o) { buildCounterExecution--; } -core.List buildUnnamed6143() => [ +core.List buildUnnamed6210() => [ buildExecution(), buildExecution(), ]; -void checkUnnamed6143(core.List o) { +void checkUnnamed6210(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecution(o[0]); checkExecution(o[1]); @@ -140,7 +145,7 @@ api.ListExecutionsResponse buildListExecutionsResponse() { final o = api.ListExecutionsResponse(); buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - o.executions = buildUnnamed6143(); + o.executions = buildUnnamed6210(); o.nextPageToken = 'foo'; } buildCounterListExecutionsResponse--; @@ -150,7 +155,7 @@ api.ListExecutionsResponse buildListExecutionsResponse() { void checkListExecutionsResponse(api.ListExecutionsResponse o) { buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - checkUnnamed6143(o.executions!); + checkUnnamed6210(o.executions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -191,12 +196,12 @@ void checkPosition(api.Position o) { buildCounterPosition--; } -core.List buildUnnamed6144() => [ +core.List buildUnnamed6211() => [ buildStackTraceElement(), buildStackTraceElement(), ]; -void checkUnnamed6144(core.List o) { +void checkUnnamed6211(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStackTraceElement(o[0]); checkStackTraceElement(o[1]); @@ -207,7 +212,7 @@ api.StackTrace buildStackTrace() { final o = api.StackTrace(); buildCounterStackTrace++; if (buildCounterStackTrace < 3) { - o.elements = buildUnnamed6144(); + o.elements = buildUnnamed6211(); } buildCounterStackTrace--; return o; @@ -216,7 +221,7 @@ api.StackTrace buildStackTrace() { void checkStackTrace(api.StackTrace o) { buildCounterStackTrace++; if (buildCounterStackTrace < 3) { - checkUnnamed6144(o.elements!); + checkUnnamed6211(o.elements!); } buildCounterStackTrace--; } diff --git a/generated/googleapis/test/workflows/v1_test.dart b/generated/googleapis/test/workflows/v1_test.dart index b7bc1dbb7..63f2b9905 100644 --- a/generated/googleapis/test/workflows/v1_test.dart +++ b/generated/googleapis/test/workflows/v1_test.dart @@ -41,12 +41,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed1768() => [ +core.List buildUnnamed1798() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed1768(core.List o) { +void checkUnnamed1798(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -57,7 +57,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed1768(); + o.locations = buildUnnamed1798(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -67,7 +67,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed1768(o.locations!); + checkUnnamed1798(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -76,12 +76,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed1769() => [ +core.List buildUnnamed1799() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed1769(core.List o) { +void checkUnnamed1799(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -93,7 +93,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed1769(); + o.operations = buildUnnamed1799(); } buildCounterListOperationsResponse--; return o; @@ -106,17 +106,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1769(o.operations!); + checkUnnamed1799(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed1770() => [ +core.List buildUnnamed1800() => [ 'foo', 'foo', ]; -void checkUnnamed1770(core.List o) { +void checkUnnamed1800(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -128,12 +128,12 @@ void checkUnnamed1770(core.List o) { ); } -core.List buildUnnamed1771() => [ +core.List buildUnnamed1801() => [ buildWorkflow(), buildWorkflow(), ]; -void checkUnnamed1771(core.List o) { +void checkUnnamed1801(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkflow(o[0]); checkWorkflow(o[1]); @@ -145,8 +145,8 @@ api.ListWorkflowsResponse buildListWorkflowsResponse() { buildCounterListWorkflowsResponse++; if (buildCounterListWorkflowsResponse < 3) { o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed1770(); - o.workflows = buildUnnamed1771(); + o.unreachable = buildUnnamed1800(); + o.workflows = buildUnnamed1801(); } buildCounterListWorkflowsResponse--; return o; @@ -159,18 +159,18 @@ void checkListWorkflowsResponse(api.ListWorkflowsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed1770(o.unreachable!); - checkUnnamed1771(o.workflows!); + checkUnnamed1800(o.unreachable!); + checkUnnamed1801(o.workflows!); } buildCounterListWorkflowsResponse--; } -core.Map buildUnnamed1772() => { +core.Map buildUnnamed1802() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1772(core.Map o) { +void checkUnnamed1802(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -182,7 +182,7 @@ void checkUnnamed1772(core.Map o) { ); } -core.Map buildUnnamed1773() => { +core.Map buildUnnamed1803() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -195,7 +195,7 @@ core.Map buildUnnamed1773() => { }, }; -void checkUnnamed1773(core.Map o) { +void checkUnnamed1803(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -233,9 +233,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed1772(); + o.labels = buildUnnamed1802(); o.locationId = 'foo'; - o.metadata = buildUnnamed1773(); + o.metadata = buildUnnamed1803(); o.name = 'foo'; } buildCounterLocation--; @@ -249,12 +249,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed1772(o.labels!); + checkUnnamed1802(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed1773(o.metadata!); + checkUnnamed1803(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -263,7 +263,7 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed1774() => { +core.Map buildUnnamed1804() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -276,7 +276,7 @@ core.Map buildUnnamed1774() => { }, }; -void checkUnnamed1774(core.Map o) { +void checkUnnamed1804(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -308,7 +308,7 @@ void checkUnnamed1774(core.Map o) { ); } -core.Map buildUnnamed1775() => { +core.Map buildUnnamed1805() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -321,7 +321,7 @@ core.Map buildUnnamed1775() => { }, }; -void checkUnnamed1775(core.Map o) { +void checkUnnamed1805(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -360,9 +360,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed1774(); + o.metadata = buildUnnamed1804(); o.name = 'foo'; - o.response = buildUnnamed1775(); + o.response = buildUnnamed1805(); } buildCounterOperation--; return o; @@ -373,12 +373,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed1774(o.metadata!); + checkUnnamed1804(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed1775(o.response!); + checkUnnamed1805(o.response!); } buildCounterOperation--; } @@ -425,7 +425,7 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.Map buildUnnamed1776() => { +core.Map buildUnnamed1806() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -438,7 +438,7 @@ core.Map buildUnnamed1776() => { }, }; -void checkUnnamed1776(core.Map o) { +void checkUnnamed1806(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -470,15 +470,15 @@ void checkUnnamed1776(core.Map o) { ); } -core.List> buildUnnamed1777() => [ - buildUnnamed1776(), - buildUnnamed1776(), +core.List> buildUnnamed1807() => [ + buildUnnamed1806(), + buildUnnamed1806(), ]; -void checkUnnamed1777(core.List> o) { +void checkUnnamed1807(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed1776(o[0]); - checkUnnamed1776(o[1]); + checkUnnamed1806(o[0]); + checkUnnamed1806(o[1]); } core.int buildCounterStatus = 0; @@ -487,7 +487,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed1777(); + o.details = buildUnnamed1807(); o.message = 'foo'; } buildCounterStatus--; @@ -501,7 +501,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed1777(o.details!); + checkUnnamed1807(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -510,12 +510,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed1778() => { +core.Map buildUnnamed1808() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1778(core.Map o) { +void checkUnnamed1808(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -534,7 +534,7 @@ api.Workflow buildWorkflow() { if (buildCounterWorkflow < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed1778(); + o.labels = buildUnnamed1808(); o.name = 'foo'; o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; @@ -558,7 +558,7 @@ void checkWorkflow(api.Workflow o) { o.description!, unittest.equals('foo'), ); - checkUnnamed1778(o.labels!); + checkUnnamed1808(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart index a597cff2c..76e4b9145 100644 --- a/generated/googleapis/test/youtube/v3_test.dart +++ b/generated/googleapis/test/youtube/v3_test.dart @@ -26,23 +26,23 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed3057() => [ +core.List buildUnnamed2953() => [ buildAbuseType(), buildAbuseType(), ]; -void checkUnnamed3057(core.List o) { +void checkUnnamed2953(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAbuseType(o[0]); checkAbuseType(o[1]); } -core.List buildUnnamed3058() => [ +core.List buildUnnamed2954() => [ buildRelatedEntity(), buildRelatedEntity(), ]; -void checkUnnamed3058(core.List o) { +void checkUnnamed2954(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelatedEntity(o[0]); checkRelatedEntity(o[1]); @@ -53,9 +53,9 @@ api.AbuseReport buildAbuseReport() { final o = api.AbuseReport(); buildCounterAbuseReport++; if (buildCounterAbuseReport < 3) { - o.abuseTypes = buildUnnamed3057(); + o.abuseTypes = buildUnnamed2953(); o.description = 'foo'; - o.relatedEntities = buildUnnamed3058(); + o.relatedEntities = buildUnnamed2954(); o.subject = buildEntity(); } buildCounterAbuseReport--; @@ -65,12 +65,12 @@ api.AbuseReport buildAbuseReport() { void checkAbuseReport(api.AbuseReport o) { buildCounterAbuseReport++; if (buildCounterAbuseReport < 3) { - checkUnnamed3057(o.abuseTypes!); + checkUnnamed2953(o.abuseTypes!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed3058(o.relatedEntities!); + checkUnnamed2954(o.relatedEntities!); checkEntity(o.subject!); } buildCounterAbuseReport--; @@ -98,12 +98,12 @@ void checkAbuseType(api.AbuseType o) { buildCounterAbuseType--; } -core.List buildUnnamed3059() => [ +core.List buildUnnamed2955() => [ 'foo', 'foo', ]; -void checkUnnamed3059(core.List o) { +void checkUnnamed2955(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -121,7 +121,7 @@ api.AccessPolicy buildAccessPolicy() { buildCounterAccessPolicy++; if (buildCounterAccessPolicy < 3) { o.allowed = true; - o.exception = buildUnnamed3059(); + o.exception = buildUnnamed2955(); } buildCounterAccessPolicy--; return o; @@ -131,7 +131,7 @@ void checkAccessPolicy(api.AccessPolicy o) { buildCounterAccessPolicy++; if (buildCounterAccessPolicy < 3) { unittest.expect(o.allowed!, unittest.isTrue); - checkUnnamed3059(o.exception!); + checkUnnamed2955(o.exception!); } buildCounterAccessPolicy--; } @@ -338,12 +338,12 @@ void checkActivityContentDetailsPlaylistItem( buildCounterActivityContentDetailsPlaylistItem--; } -core.List buildUnnamed3060() => [ +core.List buildUnnamed2956() => [ 'foo', 'foo', ]; -void checkUnnamed3060(core.List o) { +void checkUnnamed2956(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -355,12 +355,12 @@ void checkUnnamed3060(core.List o) { ); } -core.List buildUnnamed3061() => [ +core.List buildUnnamed2957() => [ 'foo', 'foo', ]; -void checkUnnamed3061(core.List o) { +void checkUnnamed2957(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -385,8 +385,8 @@ api.ActivityContentDetailsPromotedItem o.customCtaButtonText = 'foo'; o.descriptionText = 'foo'; o.destinationUrl = 'foo'; - o.forecastingUrl = buildUnnamed3060(); - o.impressionUrl = buildUnnamed3061(); + o.forecastingUrl = buildUnnamed2956(); + o.impressionUrl = buildUnnamed2957(); o.videoId = 'foo'; } buildCounterActivityContentDetailsPromotedItem--; @@ -425,8 +425,8 @@ void checkActivityContentDetailsPromotedItem( o.destinationUrl!, unittest.equals('foo'), ); - checkUnnamed3060(o.forecastingUrl!); - checkUnnamed3061(o.impressionUrl!); + checkUnnamed2956(o.forecastingUrl!); + checkUnnamed2957(o.impressionUrl!); unittest.expect( o.videoId!, unittest.equals('foo'), @@ -545,12 +545,12 @@ void checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { buildCounterActivityContentDetailsUpload--; } -core.List buildUnnamed3062() => [ +core.List buildUnnamed2958() => [ buildActivity(), buildActivity(), ]; -void checkUnnamed3062(core.List o) { +void checkUnnamed2958(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActivity(o[0]); checkActivity(o[1]); @@ -563,7 +563,7 @@ api.ActivityListResponse buildActivityListResponse() { if (buildCounterActivityListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3062(); + o.items = buildUnnamed2958(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -586,7 +586,7 @@ void checkActivityListResponse(api.ActivityListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3062(o.items!); + checkUnnamed2958(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -697,12 +697,12 @@ void checkCaption(api.Caption o) { buildCounterCaption--; } -core.List buildUnnamed3063() => [ +core.List buildUnnamed2959() => [ buildCaption(), buildCaption(), ]; -void checkUnnamed3063(core.List o) { +void checkUnnamed2959(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCaption(o[0]); checkCaption(o[1]); @@ -715,7 +715,7 @@ api.CaptionListResponse buildCaptionListResponse() { if (buildCounterCaptionListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3063(); + o.items = buildUnnamed2959(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -734,7 +734,7 @@ void checkCaptionListResponse(api.CaptionListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3063(o.items!); + checkUnnamed2959(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -853,12 +853,12 @@ void checkCdnSettings(api.CdnSettings o) { buildCounterCdnSettings--; } -core.Map buildUnnamed3064() => { +core.Map buildUnnamed2960() => { 'x': buildChannelLocalization(), 'y': buildChannelLocalization(), }; -void checkUnnamed3064(core.Map o) { +void checkUnnamed2960(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkChannelLocalization(o['x']!); checkChannelLocalization(o['y']!); @@ -877,7 +877,7 @@ api.Channel buildChannel() { o.etag = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.localizations = buildUnnamed3064(); + o.localizations = buildUnnamed2960(); o.snippet = buildChannelSnippet(); o.statistics = buildChannelStatistics(); o.status = buildChannelStatus(); @@ -907,7 +907,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3064(o.localizations!); + checkUnnamed2960(o.localizations!); checkChannelSnippet(o.snippet!); checkChannelStatistics(o.statistics!); checkChannelStatus(o.status!); @@ -971,12 +971,12 @@ void checkChannelBannerResource(api.ChannelBannerResource o) { buildCounterChannelBannerResource--; } -core.List buildUnnamed3065() => [ +core.List buildUnnamed2961() => [ buildPropertyValue(), buildPropertyValue(), ]; -void checkUnnamed3065(core.List o) { +void checkUnnamed2961(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPropertyValue(o[0]); checkPropertyValue(o[1]); @@ -988,7 +988,7 @@ api.ChannelBrandingSettings buildChannelBrandingSettings() { buildCounterChannelBrandingSettings++; if (buildCounterChannelBrandingSettings < 3) { o.channel = buildChannelSettings(); - o.hints = buildUnnamed3065(); + o.hints = buildUnnamed2961(); o.image = buildImageSettings(); o.watch = buildWatchSettings(); } @@ -1000,7 +1000,7 @@ void checkChannelBrandingSettings(api.ChannelBrandingSettings o) { buildCounterChannelBrandingSettings++; if (buildCounterChannelBrandingSettings < 3) { checkChannelSettings(o.channel!); - checkUnnamed3065(o.hints!); + checkUnnamed2961(o.hints!); checkImageSettings(o.image!); checkWatchSettings(o.watch!); } @@ -1124,12 +1124,12 @@ void checkChannelConversionPing(api.ChannelConversionPing o) { buildCounterChannelConversionPing--; } -core.List buildUnnamed3066() => [ +core.List buildUnnamed2962() => [ buildChannelConversionPing(), buildChannelConversionPing(), ]; -void checkUnnamed3066(core.List o) { +void checkUnnamed2962(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannelConversionPing(o[0]); checkChannelConversionPing(o[1]); @@ -1140,7 +1140,7 @@ api.ChannelConversionPings buildChannelConversionPings() { final o = api.ChannelConversionPings(); buildCounterChannelConversionPings++; if (buildCounterChannelConversionPings < 3) { - o.pings = buildUnnamed3066(); + o.pings = buildUnnamed2962(); } buildCounterChannelConversionPings--; return o; @@ -1149,17 +1149,17 @@ api.ChannelConversionPings buildChannelConversionPings() { void checkChannelConversionPings(api.ChannelConversionPings o) { buildCounterChannelConversionPings++; if (buildCounterChannelConversionPings < 3) { - checkUnnamed3066(o.pings!); + checkUnnamed2962(o.pings!); } buildCounterChannelConversionPings--; } -core.List buildUnnamed3067() => [ +core.List buildUnnamed2963() => [ buildChannel(), buildChannel(), ]; -void checkUnnamed3067(core.List o) { +void checkUnnamed2963(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannel(o[0]); checkChannel(o[1]); @@ -1172,7 +1172,7 @@ api.ChannelListResponse buildChannelListResponse() { if (buildCounterChannelListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3067(); + o.items = buildUnnamed2963(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -1195,7 +1195,7 @@ void checkChannelListResponse(api.ChannelListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3067(o.items!); + checkUnnamed2963(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1282,12 +1282,12 @@ void checkChannelProfileDetails(api.ChannelProfileDetails o) { buildCounterChannelProfileDetails--; } -core.Map buildUnnamed3068() => { +core.Map buildUnnamed2964() => { 'x': buildChannelSectionLocalization(), 'y': buildChannelSectionLocalization(), }; -void checkUnnamed3068(core.Map o) { +void checkUnnamed2964(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkChannelSectionLocalization(o['x']!); checkChannelSectionLocalization(o['y']!); @@ -1302,7 +1302,7 @@ api.ChannelSection buildChannelSection() { o.etag = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.localizations = buildUnnamed3068(); + o.localizations = buildUnnamed2964(); o.snippet = buildChannelSectionSnippet(); o.targeting = buildChannelSectionTargeting(); } @@ -1326,19 +1326,19 @@ void checkChannelSection(api.ChannelSection o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3068(o.localizations!); + checkUnnamed2964(o.localizations!); checkChannelSectionSnippet(o.snippet!); checkChannelSectionTargeting(o.targeting!); } buildCounterChannelSection--; } -core.List buildUnnamed3069() => [ +core.List buildUnnamed2965() => [ 'foo', 'foo', ]; -void checkUnnamed3069(core.List o) { +void checkUnnamed2965(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1350,12 +1350,12 @@ void checkUnnamed3069(core.List o) { ); } -core.List buildUnnamed3070() => [ +core.List buildUnnamed2966() => [ 'foo', 'foo', ]; -void checkUnnamed3070(core.List o) { +void checkUnnamed2966(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1372,8 +1372,8 @@ api.ChannelSectionContentDetails buildChannelSectionContentDetails() { final o = api.ChannelSectionContentDetails(); buildCounterChannelSectionContentDetails++; if (buildCounterChannelSectionContentDetails < 3) { - o.channels = buildUnnamed3069(); - o.playlists = buildUnnamed3070(); + o.channels = buildUnnamed2965(); + o.playlists = buildUnnamed2966(); } buildCounterChannelSectionContentDetails--; return o; @@ -1382,18 +1382,18 @@ api.ChannelSectionContentDetails buildChannelSectionContentDetails() { void checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { buildCounterChannelSectionContentDetails++; if (buildCounterChannelSectionContentDetails < 3) { - checkUnnamed3069(o.channels!); - checkUnnamed3070(o.playlists!); + checkUnnamed2965(o.channels!); + checkUnnamed2966(o.playlists!); } buildCounterChannelSectionContentDetails--; } -core.List buildUnnamed3071() => [ +core.List buildUnnamed2967() => [ buildChannelSection(), buildChannelSection(), ]; -void checkUnnamed3071(core.List o) { +void checkUnnamed2967(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkChannelSection(o[0]); checkChannelSection(o[1]); @@ -1406,7 +1406,7 @@ api.ChannelSectionListResponse buildChannelSectionListResponse() { if (buildCounterChannelSectionListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3071(); + o.items = buildUnnamed2967(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -1425,7 +1425,7 @@ void checkChannelSectionListResponse(api.ChannelSectionListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3071(o.items!); + checkUnnamed2967(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1509,12 +1509,12 @@ void checkChannelSectionSnippet(api.ChannelSectionSnippet o) { buildCounterChannelSectionSnippet--; } -core.List buildUnnamed3072() => [ +core.List buildUnnamed2968() => [ 'foo', 'foo', ]; -void checkUnnamed3072(core.List o) { +void checkUnnamed2968(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1526,12 +1526,12 @@ void checkUnnamed3072(core.List o) { ); } -core.List buildUnnamed3073() => [ +core.List buildUnnamed2969() => [ 'foo', 'foo', ]; -void checkUnnamed3073(core.List o) { +void checkUnnamed2969(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1543,12 +1543,12 @@ void checkUnnamed3073(core.List o) { ); } -core.List buildUnnamed3074() => [ +core.List buildUnnamed2970() => [ 'foo', 'foo', ]; -void checkUnnamed3074(core.List o) { +void checkUnnamed2970(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1565,9 +1565,9 @@ api.ChannelSectionTargeting buildChannelSectionTargeting() { final o = api.ChannelSectionTargeting(); buildCounterChannelSectionTargeting++; if (buildCounterChannelSectionTargeting < 3) { - o.countries = buildUnnamed3072(); - o.languages = buildUnnamed3073(); - o.regions = buildUnnamed3074(); + o.countries = buildUnnamed2968(); + o.languages = buildUnnamed2969(); + o.regions = buildUnnamed2970(); } buildCounterChannelSectionTargeting--; return o; @@ -1576,19 +1576,19 @@ api.ChannelSectionTargeting buildChannelSectionTargeting() { void checkChannelSectionTargeting(api.ChannelSectionTargeting o) { buildCounterChannelSectionTargeting++; if (buildCounterChannelSectionTargeting < 3) { - checkUnnamed3072(o.countries!); - checkUnnamed3073(o.languages!); - checkUnnamed3074(o.regions!); + checkUnnamed2968(o.countries!); + checkUnnamed2969(o.languages!); + checkUnnamed2970(o.regions!); } buildCounterChannelSectionTargeting--; } -core.List buildUnnamed3075() => [ +core.List buildUnnamed2971() => [ 'foo', 'foo', ]; -void checkUnnamed3075(core.List o) { +void checkUnnamed2971(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1610,7 +1610,7 @@ api.ChannelSettings buildChannelSettings() { o.defaultTab = 'foo'; o.description = 'foo'; o.featuredChannelsTitle = 'foo'; - o.featuredChannelsUrls = buildUnnamed3075(); + o.featuredChannelsUrls = buildUnnamed2971(); o.keywords = 'foo'; o.moderateComments = true; o.profileColor = 'foo'; @@ -1647,7 +1647,7 @@ void checkChannelSettings(api.ChannelSettings o) { o.featuredChannelsTitle!, unittest.equals('foo'), ); - checkUnnamed3075(o.featuredChannelsUrls!); + checkUnnamed2971(o.featuredChannelsUrls!); unittest.expect( o.keywords!, unittest.equals('foo'), @@ -1825,12 +1825,12 @@ void checkChannelToStoreLinkDetails(api.ChannelToStoreLinkDetails o) { buildCounterChannelToStoreLinkDetails--; } -core.List buildUnnamed3076() => [ +core.List buildUnnamed2972() => [ 'foo', 'foo', ]; -void checkUnnamed3076(core.List o) { +void checkUnnamed2972(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1842,12 +1842,12 @@ void checkUnnamed3076(core.List o) { ); } -core.List buildUnnamed3077() => [ +core.List buildUnnamed2973() => [ 'foo', 'foo', ]; -void checkUnnamed3077(core.List o) { +void checkUnnamed2973(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1864,8 +1864,8 @@ api.ChannelTopicDetails buildChannelTopicDetails() { final o = api.ChannelTopicDetails(); buildCounterChannelTopicDetails++; if (buildCounterChannelTopicDetails < 3) { - o.topicCategories = buildUnnamed3076(); - o.topicIds = buildUnnamed3077(); + o.topicCategories = buildUnnamed2972(); + o.topicIds = buildUnnamed2973(); } buildCounterChannelTopicDetails--; return o; @@ -1874,8 +1874,8 @@ api.ChannelTopicDetails buildChannelTopicDetails() { void checkChannelTopicDetails(api.ChannelTopicDetails o) { buildCounterChannelTopicDetails++; if (buildCounterChannelTopicDetails < 3) { - checkUnnamed3076(o.topicCategories!); - checkUnnamed3077(o.topicIds!); + checkUnnamed2972(o.topicCategories!); + checkUnnamed2973(o.topicIds!); } buildCounterChannelTopicDetails--; } @@ -1914,12 +1914,12 @@ void checkComment(api.Comment o) { buildCounterComment--; } -core.List buildUnnamed3078() => [ +core.List buildUnnamed2974() => [ buildComment(), buildComment(), ]; -void checkUnnamed3078(core.List o) { +void checkUnnamed2974(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -1932,7 +1932,7 @@ api.CommentListResponse buildCommentListResponse() { if (buildCounterCommentListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3078(); + o.items = buildUnnamed2974(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -1954,7 +1954,7 @@ void checkCommentListResponse(api.CommentListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3078(o.items!); + checkUnnamed2974(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2117,12 +2117,12 @@ void checkCommentThread(api.CommentThread o) { buildCounterCommentThread--; } -core.List buildUnnamed3079() => [ +core.List buildUnnamed2975() => [ buildCommentThread(), buildCommentThread(), ]; -void checkUnnamed3079(core.List o) { +void checkUnnamed2975(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommentThread(o[0]); checkCommentThread(o[1]); @@ -2135,7 +2135,7 @@ api.CommentThreadListResponse buildCommentThreadListResponse() { if (buildCounterCommentThreadListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3079(); + o.items = buildUnnamed2975(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -2157,7 +2157,7 @@ void checkCommentThreadListResponse(api.CommentThreadListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3079(o.items!); + checkUnnamed2975(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2176,12 +2176,12 @@ void checkCommentThreadListResponse(api.CommentThreadListResponse o) { buildCounterCommentThreadListResponse--; } -core.List buildUnnamed3080() => [ +core.List buildUnnamed2976() => [ buildComment(), buildComment(), ]; -void checkUnnamed3080(core.List o) { +void checkUnnamed2976(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -2192,7 +2192,7 @@ api.CommentThreadReplies buildCommentThreadReplies() { final o = api.CommentThreadReplies(); buildCounterCommentThreadReplies++; if (buildCounterCommentThreadReplies < 3) { - o.comments = buildUnnamed3080(); + o.comments = buildUnnamed2976(); } buildCounterCommentThreadReplies--; return o; @@ -2201,7 +2201,7 @@ api.CommentThreadReplies buildCommentThreadReplies() { void checkCommentThreadReplies(api.CommentThreadReplies o) { buildCounterCommentThreadReplies++; if (buildCounterCommentThreadReplies < 3) { - checkUnnamed3080(o.comments!); + checkUnnamed2976(o.comments!); } buildCounterCommentThreadReplies--; } @@ -2244,12 +2244,12 @@ void checkCommentThreadSnippet(api.CommentThreadSnippet o) { buildCounterCommentThreadSnippet--; } -core.List buildUnnamed3081() => [ +core.List buildUnnamed2977() => [ 'foo', 'foo', ]; -void checkUnnamed3081(core.List o) { +void checkUnnamed2977(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2261,12 +2261,12 @@ void checkUnnamed3081(core.List o) { ); } -core.List buildUnnamed3082() => [ +core.List buildUnnamed2978() => [ 'foo', 'foo', ]; -void checkUnnamed3082(core.List o) { +void checkUnnamed2978(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2303,7 +2303,7 @@ api.ContentRating buildContentRating() { o.cscfRating = 'foo'; o.czfilmRating = 'foo'; o.djctqRating = 'foo'; - o.djctqRatingReasons = buildUnnamed3081(); + o.djctqRatingReasons = buildUnnamed2977(); o.ecbmctRating = 'foo'; o.eefilmRating = 'foo'; o.egfilmRating = 'foo'; @@ -2312,7 +2312,7 @@ api.ContentRating buildContentRating() { o.fcoRating = 'foo'; o.fmocRating = 'foo'; o.fpbRating = 'foo'; - o.fpbRatingReasons = buildUnnamed3082(); + o.fpbRatingReasons = buildUnnamed2978(); o.fskRating = 'foo'; o.grfilmRating = 'foo'; o.icaaRating = 'foo'; @@ -2442,7 +2442,7 @@ void checkContentRating(api.ContentRating o) { o.djctqRating!, unittest.equals('foo'), ); - checkUnnamed3081(o.djctqRatingReasons!); + checkUnnamed2977(o.djctqRatingReasons!); unittest.expect( o.ecbmctRating!, unittest.equals('foo'), @@ -2475,7 +2475,7 @@ void checkContentRating(api.ContentRating o) { o.fpbRating!, unittest.equals('foo'), ); - checkUnnamed3082(o.fpbRatingReasons!); + checkUnnamed2978(o.fpbRatingReasons!); unittest.expect( o.fskRating!, unittest.equals('foo'), @@ -2742,12 +2742,12 @@ void checkI18nLanguage(api.I18nLanguage o) { buildCounterI18nLanguage--; } -core.List buildUnnamed3083() => [ +core.List buildUnnamed2979() => [ buildI18nLanguage(), buildI18nLanguage(), ]; -void checkUnnamed3083(core.List o) { +void checkUnnamed2979(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkI18nLanguage(o[0]); checkI18nLanguage(o[1]); @@ -2760,7 +2760,7 @@ api.I18nLanguageListResponse buildI18nLanguageListResponse() { if (buildCounterI18nLanguageListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3083(); + o.items = buildUnnamed2979(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -2779,7 +2779,7 @@ void checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3083(o.items!); + checkUnnamed2979(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2853,12 +2853,12 @@ void checkI18nRegion(api.I18nRegion o) { buildCounterI18nRegion--; } -core.List buildUnnamed3084() => [ +core.List buildUnnamed2980() => [ buildI18nRegion(), buildI18nRegion(), ]; -void checkUnnamed3084(core.List o) { +void checkUnnamed2980(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkI18nRegion(o[0]); checkI18nRegion(o[1]); @@ -2871,7 +2871,7 @@ api.I18nRegionListResponse buildI18nRegionListResponse() { if (buildCounterI18nRegionListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3084(); + o.items = buildUnnamed2980(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -2890,7 +2890,7 @@ void checkI18nRegionListResponse(api.I18nRegionListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3084(o.items!); + checkUnnamed2980(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3335,12 +3335,12 @@ void checkLiveBroadcastContentDetails(api.LiveBroadcastContentDetails o) { buildCounterLiveBroadcastContentDetails--; } -core.List buildUnnamed3085() => [ +core.List buildUnnamed2981() => [ buildLiveBroadcast(), buildLiveBroadcast(), ]; -void checkUnnamed3085(core.List o) { +void checkUnnamed2981(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiveBroadcast(o[0]); checkLiveBroadcast(o[1]); @@ -3353,7 +3353,7 @@ api.LiveBroadcastListResponse buildLiveBroadcastListResponse() { if (buildCounterLiveBroadcastListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3085(); + o.items = buildUnnamed2981(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -3376,7 +3376,7 @@ void checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3085(o.items!); + checkUnnamed2981(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3633,6 +3633,40 @@ void checkLiveChatFanFundingEventDetails(api.LiveChatFanFundingEventDetails o) { buildCounterLiveChatFanFundingEventDetails--; } +core.int buildCounterLiveChatMemberMilestoneChatDetails = 0; +api.LiveChatMemberMilestoneChatDetails + buildLiveChatMemberMilestoneChatDetails() { + final o = api.LiveChatMemberMilestoneChatDetails(); + buildCounterLiveChatMemberMilestoneChatDetails++; + if (buildCounterLiveChatMemberMilestoneChatDetails < 3) { + o.memberLevelName = 'foo'; + o.memberMonth = 42; + o.userComment = 'foo'; + } + buildCounterLiveChatMemberMilestoneChatDetails--; + return o; +} + +void checkLiveChatMemberMilestoneChatDetails( + api.LiveChatMemberMilestoneChatDetails o) { + buildCounterLiveChatMemberMilestoneChatDetails++; + if (buildCounterLiveChatMemberMilestoneChatDetails < 3) { + unittest.expect( + o.memberLevelName!, + unittest.equals('foo'), + ); + unittest.expect( + o.memberMonth!, + unittest.equals(42), + ); + unittest.expect( + o.userComment!, + unittest.equals('foo'), + ); + } + buildCounterLiveChatMemberMilestoneChatDetails--; +} + core.int buildCounterLiveChatMessage = 0; api.LiveChatMessage buildLiveChatMessage() { final o = api.LiveChatMessage(); @@ -3736,12 +3770,12 @@ void checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { buildCounterLiveChatMessageDeletedDetails--; } -core.List buildUnnamed3086() => [ +core.List buildUnnamed2982() => [ buildLiveChatMessage(), buildLiveChatMessage(), ]; -void checkUnnamed3086(core.List o) { +void checkUnnamed2982(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiveChatMessage(o[0]); checkLiveChatMessage(o[1]); @@ -3754,7 +3788,7 @@ api.LiveChatMessageListResponse buildLiveChatMessageListResponse() { if (buildCounterLiveChatMessageListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3086(); + o.items = buildUnnamed2982(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.offlineAt = core.DateTime.parse('2002-02-27T14:01:02'); @@ -3778,7 +3812,7 @@ void checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3086(o.items!); + checkUnnamed2982(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3838,8 +3872,10 @@ api.LiveChatMessageSnippet buildLiveChatMessageSnippet() { o.fanFundingEventDetails = buildLiveChatFanFundingEventDetails(); o.hasDisplayContent = true; o.liveChatId = 'foo'; + o.memberMilestoneChatDetails = buildLiveChatMemberMilestoneChatDetails(); o.messageDeletedDetails = buildLiveChatMessageDeletedDetails(); o.messageRetractedDetails = buildLiveChatMessageRetractedDetails(); + o.newSponsorDetails = buildLiveChatNewSponsorDetails(); o.publishedAt = core.DateTime.parse('2002-02-27T14:01:02'); o.superChatDetails = buildLiveChatSuperChatDetails(); o.superStickerDetails = buildLiveChatSuperStickerDetails(); @@ -3868,8 +3904,10 @@ void checkLiveChatMessageSnippet(api.LiveChatMessageSnippet o) { o.liveChatId!, unittest.equals('foo'), ); + checkLiveChatMemberMilestoneChatDetails(o.memberMilestoneChatDetails!); checkLiveChatMessageDeletedDetails(o.messageDeletedDetails!); checkLiveChatMessageRetractedDetails(o.messageRetractedDetails!); + checkLiveChatNewSponsorDetails(o.newSponsorDetails!); unittest.expect( o.publishedAt!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), @@ -3920,12 +3958,12 @@ void checkLiveChatModerator(api.LiveChatModerator o) { buildCounterLiveChatModerator--; } -core.List buildUnnamed3087() => [ +core.List buildUnnamed2983() => [ buildLiveChatModerator(), buildLiveChatModerator(), ]; -void checkUnnamed3087(core.List o) { +void checkUnnamed2983(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiveChatModerator(o[0]); checkLiveChatModerator(o[1]); @@ -3938,7 +3976,7 @@ api.LiveChatModeratorListResponse buildLiveChatModeratorListResponse() { if (buildCounterLiveChatModeratorListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3087(); + o.items = buildUnnamed2983(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -3961,7 +3999,7 @@ void checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3087(o.items!); + checkUnnamed2983(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4008,6 +4046,30 @@ void checkLiveChatModeratorSnippet(api.LiveChatModeratorSnippet o) { buildCounterLiveChatModeratorSnippet--; } +core.int buildCounterLiveChatNewSponsorDetails = 0; +api.LiveChatNewSponsorDetails buildLiveChatNewSponsorDetails() { + final o = api.LiveChatNewSponsorDetails(); + buildCounterLiveChatNewSponsorDetails++; + if (buildCounterLiveChatNewSponsorDetails < 3) { + o.isUpgrade = true; + o.memberLevelName = 'foo'; + } + buildCounterLiveChatNewSponsorDetails--; + return o; +} + +void checkLiveChatNewSponsorDetails(api.LiveChatNewSponsorDetails o) { + buildCounterLiveChatNewSponsorDetails++; + if (buildCounterLiveChatNewSponsorDetails < 3) { + unittest.expect(o.isUpgrade!, unittest.isTrue); + unittest.expect( + o.memberLevelName!, + unittest.equals('foo'), + ); + } + buildCounterLiveChatNewSponsorDetails--; +} + core.int buildCounterLiveChatSuperChatDetails = 0; api.LiveChatSuperChatDetails buildLiveChatSuperChatDetails() { final o = api.LiveChatSuperChatDetails(); @@ -4242,12 +4304,12 @@ void checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { buildCounterLiveStreamContentDetails--; } -core.List buildUnnamed3088() => [ +core.List buildUnnamed2984() => [ buildLiveStreamConfigurationIssue(), buildLiveStreamConfigurationIssue(), ]; -void checkUnnamed3088(core.List o) { +void checkUnnamed2984(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiveStreamConfigurationIssue(o[0]); checkLiveStreamConfigurationIssue(o[1]); @@ -4258,7 +4320,7 @@ api.LiveStreamHealthStatus buildLiveStreamHealthStatus() { final o = api.LiveStreamHealthStatus(); buildCounterLiveStreamHealthStatus++; if (buildCounterLiveStreamHealthStatus < 3) { - o.configurationIssues = buildUnnamed3088(); + o.configurationIssues = buildUnnamed2984(); o.lastUpdateTimeSeconds = 'foo'; o.status = 'foo'; } @@ -4269,7 +4331,7 @@ api.LiveStreamHealthStatus buildLiveStreamHealthStatus() { void checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { buildCounterLiveStreamHealthStatus++; if (buildCounterLiveStreamHealthStatus < 3) { - checkUnnamed3088(o.configurationIssues!); + checkUnnamed2984(o.configurationIssues!); unittest.expect( o.lastUpdateTimeSeconds!, unittest.equals('foo'), @@ -4282,12 +4344,12 @@ void checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { buildCounterLiveStreamHealthStatus--; } -core.List buildUnnamed3089() => [ +core.List buildUnnamed2985() => [ buildLiveStream(), buildLiveStream(), ]; -void checkUnnamed3089(core.List o) { +void checkUnnamed2985(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLiveStream(o[0]); checkLiveStream(o[1]); @@ -4300,7 +4362,7 @@ api.LiveStreamListResponse buildLiveStreamListResponse() { if (buildCounterLiveStreamListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3089(); + o.items = buildUnnamed2985(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -4323,7 +4385,7 @@ void checkLiveStreamListResponse(api.LiveStreamListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3089(o.items!); + checkUnnamed2985(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4409,12 +4471,12 @@ void checkLiveStreamStatus(api.LiveStreamStatus o) { buildCounterLiveStreamStatus--; } -core.List buildUnnamed3090() => [ +core.List buildUnnamed2986() => [ buildLocalizedString(), buildLocalizedString(), ]; -void checkUnnamed3090(core.List o) { +void checkUnnamed2986(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedString(o[0]); checkLocalizedString(o[1]); @@ -4427,7 +4489,7 @@ api.LocalizedProperty buildLocalizedProperty() { if (buildCounterLocalizedProperty < 3) { o.default_ = 'foo'; o.defaultLanguage = buildLanguageTag(); - o.localized = buildUnnamed3090(); + o.localized = buildUnnamed2986(); } buildCounterLocalizedProperty--; return o; @@ -4441,7 +4503,7 @@ void checkLocalizedProperty(api.LocalizedProperty o) { unittest.equals('foo'), ); checkLanguageTag(o.defaultLanguage!); - checkUnnamed3090(o.localized!); + checkUnnamed2986(o.localized!); } buildCounterLocalizedProperty--; } @@ -4502,12 +4564,12 @@ void checkMember(api.Member o) { buildCounterMember--; } -core.List buildUnnamed3091() => [ +core.List buildUnnamed2987() => [ buildMember(), buildMember(), ]; -void checkUnnamed3091(core.List o) { +void checkUnnamed2987(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMember(o[0]); checkMember(o[1]); @@ -4520,7 +4582,7 @@ api.MemberListResponse buildMemberListResponse() { if (buildCounterMemberListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3091(); + o.items = buildUnnamed2987(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -4542,7 +4604,7 @@ void checkMemberListResponse(api.MemberListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3091(o.items!); + checkUnnamed2987(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4587,12 +4649,12 @@ void checkMemberSnippet(api.MemberSnippet o) { buildCounterMemberSnippet--; } -core.List buildUnnamed3092() => [ +core.List buildUnnamed2988() => [ 'foo', 'foo', ]; -void checkUnnamed3092(core.List o) { +void checkUnnamed2988(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4604,12 +4666,12 @@ void checkUnnamed3092(core.List o) { ); } -core.List buildUnnamed3093() => [ +core.List buildUnnamed2989() => [ buildMembershipsDurationAtLevel(), buildMembershipsDurationAtLevel(), ]; -void checkUnnamed3093(core.List o) { +void checkUnnamed2989(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipsDurationAtLevel(o[0]); checkMembershipsDurationAtLevel(o[1]); @@ -4620,11 +4682,11 @@ api.MembershipsDetails buildMembershipsDetails() { final o = api.MembershipsDetails(); buildCounterMembershipsDetails++; if (buildCounterMembershipsDetails < 3) { - o.accessibleLevels = buildUnnamed3092(); + o.accessibleLevels = buildUnnamed2988(); o.highestAccessibleLevel = 'foo'; o.highestAccessibleLevelDisplayName = 'foo'; o.membershipsDuration = buildMembershipsDuration(); - o.membershipsDurationAtLevels = buildUnnamed3093(); + o.membershipsDurationAtLevels = buildUnnamed2989(); } buildCounterMembershipsDetails--; return o; @@ -4633,7 +4695,7 @@ api.MembershipsDetails buildMembershipsDetails() { void checkMembershipsDetails(api.MembershipsDetails o) { buildCounterMembershipsDetails++; if (buildCounterMembershipsDetails < 3) { - checkUnnamed3092(o.accessibleLevels!); + checkUnnamed2988(o.accessibleLevels!); unittest.expect( o.highestAccessibleLevel!, unittest.equals('foo'), @@ -4643,7 +4705,7 @@ void checkMembershipsDetails(api.MembershipsDetails o) { unittest.equals('foo'), ); checkMembershipsDuration(o.membershipsDuration!); - checkUnnamed3093(o.membershipsDurationAtLevels!); + checkUnnamed2989(o.membershipsDurationAtLevels!); } buildCounterMembershipsDetails--; } @@ -4741,12 +4803,12 @@ void checkMembershipsLevel(api.MembershipsLevel o) { buildCounterMembershipsLevel--; } -core.List buildUnnamed3094() => [ +core.List buildUnnamed2990() => [ buildMembershipsLevel(), buildMembershipsLevel(), ]; -void checkUnnamed3094(core.List o) { +void checkUnnamed2990(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembershipsLevel(o[0]); checkMembershipsLevel(o[1]); @@ -4759,7 +4821,7 @@ api.MembershipsLevelListResponse buildMembershipsLevelListResponse() { if (buildCounterMembershipsLevelListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3094(); + o.items = buildUnnamed2990(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -4778,7 +4840,7 @@ void checkMembershipsLevelListResponse(api.MembershipsLevelListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3094(o.items!); + checkUnnamed2990(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4871,12 +4933,12 @@ void checkPageInfo(api.PageInfo o) { buildCounterPageInfo--; } -core.Map buildUnnamed3095() => { +core.Map buildUnnamed2991() => { 'x': buildPlaylistLocalization(), 'y': buildPlaylistLocalization(), }; -void checkUnnamed3095(core.Map o) { +void checkUnnamed2991(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPlaylistLocalization(o['x']!); checkPlaylistLocalization(o['y']!); @@ -4891,7 +4953,7 @@ api.Playlist buildPlaylist() { o.etag = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.localizations = buildUnnamed3095(); + o.localizations = buildUnnamed2991(); o.player = buildPlaylistPlayer(); o.snippet = buildPlaylistSnippet(); o.status = buildPlaylistStatus(); @@ -4916,7 +4978,7 @@ void checkPlaylist(api.Playlist o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed3095(o.localizations!); + checkUnnamed2991(o.localizations!); checkPlaylistPlayer(o.player!); checkPlaylistSnippet(o.snippet!); checkPlaylistStatus(o.status!); @@ -5026,12 +5088,12 @@ void checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) { buildCounterPlaylistItemContentDetails--; } -core.List buildUnnamed3096() => [ +core.List buildUnnamed2992() => [ buildPlaylistItem(), buildPlaylistItem(), ]; -void checkUnnamed3096(core.List o) { +void checkUnnamed2992(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlaylistItem(o[0]); checkPlaylistItem(o[1]); @@ -5044,7 +5106,7 @@ api.PlaylistItemListResponse buildPlaylistItemListResponse() { if (buildCounterPlaylistItemListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3096(); + o.items = buildUnnamed2992(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -5067,7 +5129,7 @@ void checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3096(o.items!); + checkUnnamed2992(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5178,12 +5240,12 @@ void checkPlaylistItemStatus(api.PlaylistItemStatus o) { buildCounterPlaylistItemStatus--; } -core.List buildUnnamed3097() => [ +core.List buildUnnamed2993() => [ buildPlaylist(), buildPlaylist(), ]; -void checkUnnamed3097(core.List o) { +void checkUnnamed2993(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlaylist(o[0]); checkPlaylist(o[1]); @@ -5196,7 +5258,7 @@ api.PlaylistListResponse buildPlaylistListResponse() { if (buildCounterPlaylistListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3097(); + o.items = buildUnnamed2993(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -5219,7 +5281,7 @@ void checkPlaylistListResponse(api.PlaylistListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3097(o.items!); + checkUnnamed2993(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5291,12 +5353,12 @@ void checkPlaylistPlayer(api.PlaylistPlayer o) { buildCounterPlaylistPlayer--; } -core.List buildUnnamed3098() => [ +core.List buildUnnamed2994() => [ 'foo', 'foo', ]; -void checkUnnamed3098(core.List o) { +void checkUnnamed2994(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5319,7 +5381,7 @@ api.PlaylistSnippet buildPlaylistSnippet() { o.description = 'foo'; o.localized = buildPlaylistLocalization(); o.publishedAt = core.DateTime.parse('2002-02-27T14:01:02'); - o.tags = buildUnnamed3098(); + o.tags = buildUnnamed2994(); o.thumbnailVideoId = 'foo'; o.thumbnails = buildThumbnailDetails(); o.title = 'foo'; @@ -5352,7 +5414,7 @@ void checkPlaylistSnippet(api.PlaylistSnippet o) { o.publishedAt!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed3098(o.tags!); + checkUnnamed2994(o.tags!); unittest.expect( o.thumbnailVideoId!, unittest.equals('foo'), @@ -5471,12 +5533,12 @@ void checkResourceId(api.ResourceId o) { buildCounterResourceId--; } -core.List buildUnnamed3099() => [ +core.List buildUnnamed2995() => [ buildSearchResult(), buildSearchResult(), ]; -void checkUnnamed3099(core.List o) { +void checkUnnamed2995(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchResult(o[0]); checkSearchResult(o[1]); @@ -5489,7 +5551,7 @@ api.SearchListResponse buildSearchListResponse() { if (buildCounterSearchListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3099(); + o.items = buildUnnamed2995(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -5513,7 +5575,7 @@ void checkSearchListResponse(api.SearchListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3099(o.items!); + checkUnnamed2995(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5690,12 +5752,12 @@ void checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { buildCounterSubscriptionContentDetails--; } -core.List buildUnnamed3100() => [ +core.List buildUnnamed2996() => [ buildSubscription(), buildSubscription(), ]; -void checkUnnamed3100(core.List o) { +void checkUnnamed2996(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscription(o[0]); checkSubscription(o[1]); @@ -5708,7 +5770,7 @@ api.SubscriptionListResponse buildSubscriptionListResponse() { if (buildCounterSubscriptionListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3100(); + o.items = buildUnnamed2996(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -5731,7 +5793,7 @@ void checkSubscriptionListResponse(api.SubscriptionListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3100(o.items!); + checkUnnamed2996(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -5868,12 +5930,12 @@ void checkSuperChatEvent(api.SuperChatEvent o) { buildCounterSuperChatEvent--; } -core.List buildUnnamed3101() => [ +core.List buildUnnamed2997() => [ buildSuperChatEvent(), buildSuperChatEvent(), ]; -void checkUnnamed3101(core.List o) { +void checkUnnamed2997(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSuperChatEvent(o[0]); checkSuperChatEvent(o[1]); @@ -5886,7 +5948,7 @@ api.SuperChatEventListResponse buildSuperChatEventListResponse() { if (buildCounterSuperChatEventListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3101(); + o.items = buildUnnamed2997(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -5908,7 +5970,7 @@ void checkSuperChatEventListResponse(api.SuperChatEventListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3101(o.items!); + checkUnnamed2997(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6204,12 +6266,12 @@ void checkThumbnailDetails(api.ThumbnailDetails o) { buildCounterThumbnailDetails--; } -core.List buildUnnamed3102() => [ +core.List buildUnnamed2998() => [ buildThumbnailDetails(), buildThumbnailDetails(), ]; -void checkUnnamed3102(core.List o) { +void checkUnnamed2998(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkThumbnailDetails(o[0]); checkThumbnailDetails(o[1]); @@ -6222,7 +6284,7 @@ api.ThumbnailSetResponse buildThumbnailSetResponse() { if (buildCounterThumbnailSetResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3102(); + o.items = buildUnnamed2998(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -6241,7 +6303,7 @@ void checkThumbnailSetResponse(api.ThumbnailSetResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3102(o.items!); + checkUnnamed2998(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6269,12 +6331,12 @@ void checkTokenPagination(api.TokenPagination o) { buildCounterTokenPagination--; } -core.Map buildUnnamed3103() => { +core.Map buildUnnamed2999() => { 'x': buildVideoLocalization(), 'y': buildVideoLocalization(), }; -void checkUnnamed3103(core.Map o) { +void checkUnnamed2999(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkVideoLocalization(o['x']!); checkVideoLocalization(o['y']!); @@ -6292,7 +6354,7 @@ api.Video buildVideo() { o.id = 'foo'; o.kind = 'foo'; o.liveStreamingDetails = buildVideoLiveStreamingDetails(); - o.localizations = buildUnnamed3103(); + o.localizations = buildUnnamed2999(); o.monetizationDetails = buildVideoMonetizationDetails(); o.player = buildVideoPlayer(); o.processingDetails = buildVideoProcessingDetails(); @@ -6327,7 +6389,7 @@ void checkVideo(api.Video o) { unittest.equals('foo'), ); checkVideoLiveStreamingDetails(o.liveStreamingDetails!); - checkUnnamed3103(o.localizations!); + checkUnnamed2999(o.localizations!); checkVideoMonetizationDetails(o.monetizationDetails!); checkVideoPlayer(o.player!); checkVideoProcessingDetails(o.processingDetails!); @@ -6418,12 +6480,12 @@ void checkVideoAbuseReportReason(api.VideoAbuseReportReason o) { buildCounterVideoAbuseReportReason--; } -core.List buildUnnamed3104() => [ +core.List buildUnnamed3000() => [ buildVideoAbuseReportReason(), buildVideoAbuseReportReason(), ]; -void checkUnnamed3104(core.List o) { +void checkUnnamed3000(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoAbuseReportReason(o[0]); checkVideoAbuseReportReason(o[1]); @@ -6437,7 +6499,7 @@ api.VideoAbuseReportReasonListResponse if (buildCounterVideoAbuseReportReasonListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3104(); + o.items = buildUnnamed3000(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -6457,7 +6519,7 @@ void checkVideoAbuseReportReasonListResponse( o.eventId!, unittest.equals('foo'), ); - checkUnnamed3104(o.items!); + checkUnnamed3000(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6470,12 +6532,12 @@ void checkVideoAbuseReportReasonListResponse( buildCounterVideoAbuseReportReasonListResponse--; } -core.List buildUnnamed3105() => [ +core.List buildUnnamed3001() => [ buildVideoAbuseReportSecondaryReason(), buildVideoAbuseReportSecondaryReason(), ]; -void checkUnnamed3105(core.List o) { +void checkUnnamed3001(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoAbuseReportSecondaryReason(o[0]); checkVideoAbuseReportSecondaryReason(o[1]); @@ -6487,7 +6549,7 @@ api.VideoAbuseReportReasonSnippet buildVideoAbuseReportReasonSnippet() { buildCounterVideoAbuseReportReasonSnippet++; if (buildCounterVideoAbuseReportReasonSnippet < 3) { o.label = 'foo'; - o.secondaryReasons = buildUnnamed3105(); + o.secondaryReasons = buildUnnamed3001(); } buildCounterVideoAbuseReportReasonSnippet--; return o; @@ -6500,7 +6562,7 @@ void checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { o.label!, unittest.equals('foo'), ); - checkUnnamed3105(o.secondaryReasons!); + checkUnnamed3001(o.secondaryReasons!); } buildCounterVideoAbuseReportReasonSnippet--; } @@ -6593,12 +6655,12 @@ void checkVideoCategory(api.VideoCategory o) { buildCounterVideoCategory--; } -core.List buildUnnamed3106() => [ +core.List buildUnnamed3002() => [ buildVideoCategory(), buildVideoCategory(), ]; -void checkUnnamed3106(core.List o) { +void checkUnnamed3002(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoCategory(o[0]); checkVideoCategory(o[1]); @@ -6611,7 +6673,7 @@ api.VideoCategoryListResponse buildVideoCategoryListResponse() { if (buildCounterVideoCategoryListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3106(); + o.items = buildUnnamed3002(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -6634,7 +6696,7 @@ void checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3106(o.items!); + checkUnnamed3002(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6738,12 +6800,12 @@ void checkVideoContentDetails(api.VideoContentDetails o) { buildCounterVideoContentDetails--; } -core.List buildUnnamed3107() => [ +core.List buildUnnamed3003() => [ 'foo', 'foo', ]; -void checkUnnamed3107(core.List o) { +void checkUnnamed3003(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6755,12 +6817,12 @@ void checkUnnamed3107(core.List o) { ); } -core.List buildUnnamed3108() => [ +core.List buildUnnamed3004() => [ 'foo', 'foo', ]; -void checkUnnamed3108(core.List o) { +void checkUnnamed3004(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6778,8 +6840,8 @@ api.VideoContentDetailsRegionRestriction final o = api.VideoContentDetailsRegionRestriction(); buildCounterVideoContentDetailsRegionRestriction++; if (buildCounterVideoContentDetailsRegionRestriction < 3) { - o.allowed = buildUnnamed3107(); - o.blocked = buildUnnamed3108(); + o.allowed = buildUnnamed3003(); + o.blocked = buildUnnamed3004(); } buildCounterVideoContentDetailsRegionRestriction--; return o; @@ -6789,29 +6851,29 @@ void checkVideoContentDetailsRegionRestriction( api.VideoContentDetailsRegionRestriction o) { buildCounterVideoContentDetailsRegionRestriction++; if (buildCounterVideoContentDetailsRegionRestriction < 3) { - checkUnnamed3107(o.allowed!); - checkUnnamed3108(o.blocked!); + checkUnnamed3003(o.allowed!); + checkUnnamed3004(o.blocked!); } buildCounterVideoContentDetailsRegionRestriction--; } -core.List buildUnnamed3109() => [ +core.List buildUnnamed3005() => [ buildVideoFileDetailsAudioStream(), buildVideoFileDetailsAudioStream(), ]; -void checkUnnamed3109(core.List o) { +void checkUnnamed3005(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoFileDetailsAudioStream(o[0]); checkVideoFileDetailsAudioStream(o[1]); } -core.List buildUnnamed3110() => [ +core.List buildUnnamed3006() => [ buildVideoFileDetailsVideoStream(), buildVideoFileDetailsVideoStream(), ]; -void checkUnnamed3110(core.List o) { +void checkUnnamed3006(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoFileDetailsVideoStream(o[0]); checkVideoFileDetailsVideoStream(o[1]); @@ -6822,7 +6884,7 @@ api.VideoFileDetails buildVideoFileDetails() { final o = api.VideoFileDetails(); buildCounterVideoFileDetails++; if (buildCounterVideoFileDetails < 3) { - o.audioStreams = buildUnnamed3109(); + o.audioStreams = buildUnnamed3005(); o.bitrateBps = 'foo'; o.container = 'foo'; o.creationTime = 'foo'; @@ -6830,7 +6892,7 @@ api.VideoFileDetails buildVideoFileDetails() { o.fileName = 'foo'; o.fileSize = 'foo'; o.fileType = 'foo'; - o.videoStreams = buildUnnamed3110(); + o.videoStreams = buildUnnamed3006(); } buildCounterVideoFileDetails--; return o; @@ -6839,7 +6901,7 @@ api.VideoFileDetails buildVideoFileDetails() { void checkVideoFileDetails(api.VideoFileDetails o) { buildCounterVideoFileDetails++; if (buildCounterVideoFileDetails < 3) { - checkUnnamed3109(o.audioStreams!); + checkUnnamed3005(o.audioStreams!); unittest.expect( o.bitrateBps!, unittest.equals('foo'), @@ -6868,7 +6930,7 @@ void checkVideoFileDetails(api.VideoFileDetails o) { o.fileType!, unittest.equals('foo'), ); - checkUnnamed3110(o.videoStreams!); + checkUnnamed3006(o.videoStreams!); } buildCounterVideoFileDetails--; } @@ -6967,12 +7029,12 @@ void checkVideoFileDetailsVideoStream(api.VideoFileDetailsVideoStream o) { buildCounterVideoFileDetailsVideoStream--; } -core.List buildUnnamed3111() => [ +core.List buildUnnamed3007() => [ buildVideoRating(), buildVideoRating(), ]; -void checkUnnamed3111(core.List o) { +void checkUnnamed3007(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoRating(o[0]); checkVideoRating(o[1]); @@ -6985,7 +7047,7 @@ api.VideoGetRatingResponse buildVideoGetRatingResponse() { if (buildCounterVideoGetRatingResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3111(); + o.items = buildUnnamed3007(); o.kind = 'foo'; o.visitorId = 'foo'; } @@ -7004,7 +7066,7 @@ void checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3111(o.items!); + checkUnnamed3007(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7017,12 +7079,12 @@ void checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { buildCounterVideoGetRatingResponse--; } -core.List buildUnnamed3112() => [ +core.List buildUnnamed3008() => [ buildVideo(), buildVideo(), ]; -void checkUnnamed3112(core.List o) { +void checkUnnamed3008(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideo(o[0]); checkVideo(o[1]); @@ -7035,7 +7097,7 @@ api.VideoListResponse buildVideoListResponse() { if (buildCounterVideoListResponse < 3) { o.etag = 'foo'; o.eventId = 'foo'; - o.items = buildUnnamed3112(); + o.items = buildUnnamed3008(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.pageInfo = buildPageInfo(); @@ -7058,7 +7120,7 @@ void checkVideoListResponse(api.VideoListResponse o) { o.eventId!, unittest.equals('foo'), ); - checkUnnamed3112(o.items!); + checkUnnamed3008(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -7365,12 +7427,12 @@ void checkVideoRecordingDetails(api.VideoRecordingDetails o) { buildCounterVideoRecordingDetails--; } -core.List buildUnnamed3113() => [ +core.List buildUnnamed3009() => [ 'foo', 'foo', ]; -void checkUnnamed3113(core.List o) { +void checkUnnamed3009(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7396,7 +7458,7 @@ api.VideoSnippet buildVideoSnippet() { o.liveBroadcastContent = 'foo'; o.localized = buildVideoLocalization(); o.publishedAt = core.DateTime.parse('2002-02-27T14:01:02'); - o.tags = buildUnnamed3113(); + o.tags = buildUnnamed3009(); o.thumbnails = buildThumbnailDetails(); o.title = 'foo'; } @@ -7440,7 +7502,7 @@ void checkVideoSnippet(api.VideoSnippet o) { o.publishedAt!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02')), ); - checkUnnamed3113(o.tags!); + checkUnnamed3009(o.tags!); checkThumbnailDetails(o.thumbnails!); unittest.expect( o.title!, @@ -7547,12 +7609,12 @@ void checkVideoStatus(api.VideoStatus o) { buildCounterVideoStatus--; } -core.List buildUnnamed3114() => [ +core.List buildUnnamed3010() => [ 'foo', 'foo', ]; -void checkUnnamed3114(core.List o) { +void checkUnnamed3010(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7564,12 +7626,12 @@ void checkUnnamed3114(core.List o) { ); } -core.List buildUnnamed3115() => [ +core.List buildUnnamed3011() => [ 'foo', 'foo', ]; -void checkUnnamed3115(core.List o) { +void checkUnnamed3011(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7581,12 +7643,12 @@ void checkUnnamed3115(core.List o) { ); } -core.List buildUnnamed3116() => [ +core.List buildUnnamed3012() => [ 'foo', 'foo', ]; -void checkUnnamed3116(core.List o) { +void checkUnnamed3012(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7598,12 +7660,12 @@ void checkUnnamed3116(core.List o) { ); } -core.List buildUnnamed3117() => [ +core.List buildUnnamed3013() => [ 'foo', 'foo', ]; -void checkUnnamed3117(core.List o) { +void checkUnnamed3013(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7615,12 +7677,12 @@ void checkUnnamed3117(core.List o) { ); } -core.List buildUnnamed3118() => [ +core.List buildUnnamed3014() => [ buildVideoSuggestionsTagSuggestion(), buildVideoSuggestionsTagSuggestion(), ]; -void checkUnnamed3118(core.List o) { +void checkUnnamed3014(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVideoSuggestionsTagSuggestion(o[0]); checkVideoSuggestionsTagSuggestion(o[1]); @@ -7631,11 +7693,11 @@ api.VideoSuggestions buildVideoSuggestions() { final o = api.VideoSuggestions(); buildCounterVideoSuggestions++; if (buildCounterVideoSuggestions < 3) { - o.editorSuggestions = buildUnnamed3114(); - o.processingErrors = buildUnnamed3115(); - o.processingHints = buildUnnamed3116(); - o.processingWarnings = buildUnnamed3117(); - o.tagSuggestions = buildUnnamed3118(); + o.editorSuggestions = buildUnnamed3010(); + o.processingErrors = buildUnnamed3011(); + o.processingHints = buildUnnamed3012(); + o.processingWarnings = buildUnnamed3013(); + o.tagSuggestions = buildUnnamed3014(); } buildCounterVideoSuggestions--; return o; @@ -7644,21 +7706,21 @@ api.VideoSuggestions buildVideoSuggestions() { void checkVideoSuggestions(api.VideoSuggestions o) { buildCounterVideoSuggestions++; if (buildCounterVideoSuggestions < 3) { - checkUnnamed3114(o.editorSuggestions!); - checkUnnamed3115(o.processingErrors!); - checkUnnamed3116(o.processingHints!); - checkUnnamed3117(o.processingWarnings!); - checkUnnamed3118(o.tagSuggestions!); + checkUnnamed3010(o.editorSuggestions!); + checkUnnamed3011(o.processingErrors!); + checkUnnamed3012(o.processingHints!); + checkUnnamed3013(o.processingWarnings!); + checkUnnamed3014(o.tagSuggestions!); } buildCounterVideoSuggestions--; } -core.List buildUnnamed3119() => [ +core.List buildUnnamed3015() => [ 'foo', 'foo', ]; -void checkUnnamed3119(core.List o) { +void checkUnnamed3015(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7675,7 +7737,7 @@ api.VideoSuggestionsTagSuggestion buildVideoSuggestionsTagSuggestion() { final o = api.VideoSuggestionsTagSuggestion(); buildCounterVideoSuggestionsTagSuggestion++; if (buildCounterVideoSuggestionsTagSuggestion < 3) { - o.categoryRestricts = buildUnnamed3119(); + o.categoryRestricts = buildUnnamed3015(); o.tag = 'foo'; } buildCounterVideoSuggestionsTagSuggestion--; @@ -7685,7 +7747,7 @@ api.VideoSuggestionsTagSuggestion buildVideoSuggestionsTagSuggestion() { void checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { buildCounterVideoSuggestionsTagSuggestion++; if (buildCounterVideoSuggestionsTagSuggestion < 3) { - checkUnnamed3119(o.categoryRestricts!); + checkUnnamed3015(o.categoryRestricts!); unittest.expect( o.tag!, unittest.equals('foo'), @@ -7694,12 +7756,12 @@ void checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { buildCounterVideoSuggestionsTagSuggestion--; } -core.List buildUnnamed3120() => [ +core.List buildUnnamed3016() => [ 'foo', 'foo', ]; -void checkUnnamed3120(core.List o) { +void checkUnnamed3016(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7711,12 +7773,12 @@ void checkUnnamed3120(core.List o) { ); } -core.List buildUnnamed3121() => [ +core.List buildUnnamed3017() => [ 'foo', 'foo', ]; -void checkUnnamed3121(core.List o) { +void checkUnnamed3017(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7728,12 +7790,12 @@ void checkUnnamed3121(core.List o) { ); } -core.List buildUnnamed3122() => [ +core.List buildUnnamed3018() => [ 'foo', 'foo', ]; -void checkUnnamed3122(core.List o) { +void checkUnnamed3018(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7750,9 +7812,9 @@ api.VideoTopicDetails buildVideoTopicDetails() { final o = api.VideoTopicDetails(); buildCounterVideoTopicDetails++; if (buildCounterVideoTopicDetails < 3) { - o.relevantTopicIds = buildUnnamed3120(); - o.topicCategories = buildUnnamed3121(); - o.topicIds = buildUnnamed3122(); + o.relevantTopicIds = buildUnnamed3016(); + o.topicCategories = buildUnnamed3017(); + o.topicIds = buildUnnamed3018(); } buildCounterVideoTopicDetails--; return o; @@ -7761,9 +7823,9 @@ api.VideoTopicDetails buildVideoTopicDetails() { void checkVideoTopicDetails(api.VideoTopicDetails o) { buildCounterVideoTopicDetails++; if (buildCounterVideoTopicDetails < 3) { - checkUnnamed3120(o.relevantTopicIds!); - checkUnnamed3121(o.topicCategories!); - checkUnnamed3122(o.topicIds!); + checkUnnamed3016(o.relevantTopicIds!); + checkUnnamed3017(o.topicCategories!); + checkUnnamed3018(o.topicIds!); } buildCounterVideoTopicDetails--; } @@ -7800,12 +7862,12 @@ void checkWatchSettings(api.WatchSettings o) { buildCounterWatchSettings--; } -core.List buildUnnamed3123() => [ +core.List buildUnnamed3019() => [ 'foo', 'foo', ]; -void checkUnnamed3123(core.List o) { +void checkUnnamed3019(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7817,12 +7879,12 @@ void checkUnnamed3123(core.List o) { ); } -core.List buildUnnamed3124() => [ +core.List buildUnnamed3020() => [ 'foo', 'foo', ]; -void checkUnnamed3124(core.List o) { +void checkUnnamed3020(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7834,12 +7896,12 @@ void checkUnnamed3124(core.List o) { ); } -core.List buildUnnamed3125() => [ +core.List buildUnnamed3021() => [ 'foo', 'foo', ]; -void checkUnnamed3125(core.List o) { +void checkUnnamed3021(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7851,12 +7913,12 @@ void checkUnnamed3125(core.List o) { ); } -core.List buildUnnamed3126() => [ +core.List buildUnnamed3022() => [ 'foo', 'foo', ]; -void checkUnnamed3126(core.List o) { +void checkUnnamed3022(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7868,12 +7930,12 @@ void checkUnnamed3126(core.List o) { ); } -core.List buildUnnamed3127() => [ +core.List buildUnnamed3023() => [ 'foo', 'foo', ]; -void checkUnnamed3127(core.List o) { +void checkUnnamed3023(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7885,12 +7947,12 @@ void checkUnnamed3127(core.List o) { ); } -core.List buildUnnamed3128() => [ +core.List buildUnnamed3024() => [ 'foo', 'foo', ]; -void checkUnnamed3128(core.List o) { +void checkUnnamed3024(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7902,12 +7964,12 @@ void checkUnnamed3128(core.List o) { ); } -core.List buildUnnamed3129() => [ +core.List buildUnnamed3025() => [ 'foo', 'foo', ]; -void checkUnnamed3129(core.List o) { +void checkUnnamed3025(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7919,12 +7981,12 @@ void checkUnnamed3129(core.List o) { ); } -core.List buildUnnamed3130() => [ +core.List buildUnnamed3026() => [ 'foo', 'foo', ]; -void checkUnnamed3130(core.List o) { +void checkUnnamed3026(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7936,12 +7998,12 @@ void checkUnnamed3130(core.List o) { ); } -core.List buildUnnamed3131() => [ +core.List buildUnnamed3027() => [ 'foo', 'foo', ]; -void checkUnnamed3131(core.List o) { +void checkUnnamed3027(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7953,12 +8015,12 @@ void checkUnnamed3131(core.List o) { ); } -core.List buildUnnamed3132() => [ +core.List buildUnnamed3028() => [ 'foo', 'foo', ]; -void checkUnnamed3132(core.List o) { +void checkUnnamed3028(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7970,12 +8032,12 @@ void checkUnnamed3132(core.List o) { ); } -core.List buildUnnamed3133() => [ +core.List buildUnnamed3029() => [ 'foo', 'foo', ]; -void checkUnnamed3133(core.List o) { +void checkUnnamed3029(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7987,12 +8049,12 @@ void checkUnnamed3133(core.List o) { ); } -core.List buildUnnamed3134() => [ +core.List buildUnnamed3030() => [ 'foo', 'foo', ]; -void checkUnnamed3134(core.List o) { +void checkUnnamed3030(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8004,12 +8066,12 @@ void checkUnnamed3134(core.List o) { ); } -core.List buildUnnamed3135() => [ +core.List buildUnnamed3031() => [ 'foo', 'foo', ]; -void checkUnnamed3135(core.List o) { +void checkUnnamed3031(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8021,12 +8083,12 @@ void checkUnnamed3135(core.List o) { ); } -core.List buildUnnamed3136() => [ +core.List buildUnnamed3032() => [ 'foo', 'foo', ]; -void checkUnnamed3136(core.List o) { +void checkUnnamed3032(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8038,12 +8100,12 @@ void checkUnnamed3136(core.List o) { ); } -core.List buildUnnamed3137() => [ +core.List buildUnnamed3033() => [ 'foo', 'foo', ]; -void checkUnnamed3137(core.List o) { +void checkUnnamed3033(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8055,12 +8117,12 @@ void checkUnnamed3137(core.List o) { ); } -core.List buildUnnamed3138() => [ +core.List buildUnnamed3034() => [ 'foo', 'foo', ]; -void checkUnnamed3138(core.List o) { +void checkUnnamed3034(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8072,12 +8134,12 @@ void checkUnnamed3138(core.List o) { ); } -core.List buildUnnamed3139() => [ +core.List buildUnnamed3035() => [ 'foo', 'foo', ]; -void checkUnnamed3139(core.List o) { +void checkUnnamed3035(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8089,12 +8151,12 @@ void checkUnnamed3139(core.List o) { ); } -core.List buildUnnamed3140() => [ +core.List buildUnnamed3036() => [ 'foo', 'foo', ]; -void checkUnnamed3140(core.List o) { +void checkUnnamed3036(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8106,12 +8168,12 @@ void checkUnnamed3140(core.List o) { ); } -core.List buildUnnamed3141() => [ +core.List buildUnnamed3037() => [ 'foo', 'foo', ]; -void checkUnnamed3141(core.List o) { +void checkUnnamed3037(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8123,12 +8185,12 @@ void checkUnnamed3141(core.List o) { ); } -core.List buildUnnamed3142() => [ +core.List buildUnnamed3038() => [ 'foo', 'foo', ]; -void checkUnnamed3142(core.List o) { +void checkUnnamed3038(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8140,12 +8202,12 @@ void checkUnnamed3142(core.List o) { ); } -core.List buildUnnamed3143() => [ +core.List buildUnnamed3039() => [ 'foo', 'foo', ]; -void checkUnnamed3143(core.List o) { +void checkUnnamed3039(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8157,12 +8219,12 @@ void checkUnnamed3143(core.List o) { ); } -core.List buildUnnamed3144() => [ +core.List buildUnnamed3040() => [ 'foo', 'foo', ]; -void checkUnnamed3144(core.List o) { +void checkUnnamed3040(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8174,12 +8236,12 @@ void checkUnnamed3144(core.List o) { ); } -core.List buildUnnamed3145() => [ +core.List buildUnnamed3041() => [ 'foo', 'foo', ]; -void checkUnnamed3145(core.List o) { +void checkUnnamed3041(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8191,12 +8253,12 @@ void checkUnnamed3145(core.List o) { ); } -core.List buildUnnamed3146() => [ +core.List buildUnnamed3042() => [ 'foo', 'foo', ]; -void checkUnnamed3146(core.List o) { +void checkUnnamed3042(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8208,12 +8270,12 @@ void checkUnnamed3146(core.List o) { ); } -core.List buildUnnamed3147() => [ +core.List buildUnnamed3043() => [ 'foo', 'foo', ]; -void checkUnnamed3147(core.List o) { +void checkUnnamed3043(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8225,12 +8287,12 @@ void checkUnnamed3147(core.List o) { ); } -core.List buildUnnamed3148() => [ +core.List buildUnnamed3044() => [ 'foo', 'foo', ]; -void checkUnnamed3148(core.List o) { +void checkUnnamed3044(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8242,12 +8304,12 @@ void checkUnnamed3148(core.List o) { ); } -core.List buildUnnamed3149() => [ +core.List buildUnnamed3045() => [ 'foo', 'foo', ]; -void checkUnnamed3149(core.List o) { +void checkUnnamed3045(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8259,12 +8321,12 @@ void checkUnnamed3149(core.List o) { ); } -core.List buildUnnamed3150() => [ +core.List buildUnnamed3046() => [ 'foo', 'foo', ]; -void checkUnnamed3150(core.List o) { +void checkUnnamed3046(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8276,12 +8338,12 @@ void checkUnnamed3150(core.List o) { ); } -core.List buildUnnamed3151() => [ +core.List buildUnnamed3047() => [ 'foo', 'foo', ]; -void checkUnnamed3151(core.List o) { +void checkUnnamed3047(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8293,12 +8355,12 @@ void checkUnnamed3151(core.List o) { ); } -core.List buildUnnamed3152() => [ +core.List buildUnnamed3048() => [ 'foo', 'foo', ]; -void checkUnnamed3152(core.List o) { +void checkUnnamed3048(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8310,12 +8372,12 @@ void checkUnnamed3152(core.List o) { ); } -core.List buildUnnamed3153() => [ +core.List buildUnnamed3049() => [ 'foo', 'foo', ]; -void checkUnnamed3153(core.List o) { +void checkUnnamed3049(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8327,12 +8389,12 @@ void checkUnnamed3153(core.List o) { ); } -core.List buildUnnamed3154() => [ +core.List buildUnnamed3050() => [ 'foo', 'foo', ]; -void checkUnnamed3154(core.List o) { +void checkUnnamed3050(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8344,12 +8406,12 @@ void checkUnnamed3154(core.List o) { ); } -core.List buildUnnamed3155() => [ +core.List buildUnnamed3051() => [ 'foo', 'foo', ]; -void checkUnnamed3155(core.List o) { +void checkUnnamed3051(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8361,12 +8423,12 @@ void checkUnnamed3155(core.List o) { ); } -core.List buildUnnamed3156() => [ +core.List buildUnnamed3052() => [ 'foo', 'foo', ]; -void checkUnnamed3156(core.List o) { +void checkUnnamed3052(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8378,12 +8440,12 @@ void checkUnnamed3156(core.List o) { ); } -core.List buildUnnamed3157() => [ +core.List buildUnnamed3053() => [ 'foo', 'foo', ]; -void checkUnnamed3157(core.List o) { +void checkUnnamed3053(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8395,12 +8457,12 @@ void checkUnnamed3157(core.List o) { ); } -core.List buildUnnamed3158() => [ +core.List buildUnnamed3054() => [ 'foo', 'foo', ]; -void checkUnnamed3158(core.List o) { +void checkUnnamed3054(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8412,12 +8474,12 @@ void checkUnnamed3158(core.List o) { ); } -core.List buildUnnamed3159() => [ +core.List buildUnnamed3055() => [ 'foo', 'foo', ]; -void checkUnnamed3159(core.List o) { +void checkUnnamed3055(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8429,12 +8491,12 @@ void checkUnnamed3159(core.List o) { ); } -core.List buildUnnamed3160() => [ +core.List buildUnnamed3056() => [ 'foo', 'foo', ]; -void checkUnnamed3160(core.List o) { +void checkUnnamed3056(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8446,12 +8508,12 @@ void checkUnnamed3160(core.List o) { ); } -core.List buildUnnamed3161() => [ +core.List buildUnnamed3057() => [ 'foo', 'foo', ]; -void checkUnnamed3161(core.List o) { +void checkUnnamed3057(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8463,12 +8525,12 @@ void checkUnnamed3161(core.List o) { ); } -core.List buildUnnamed3162() => [ +core.List buildUnnamed3058() => [ 'foo', 'foo', ]; -void checkUnnamed3162(core.List o) { +void checkUnnamed3058(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8480,12 +8542,12 @@ void checkUnnamed3162(core.List o) { ); } -core.List buildUnnamed3163() => [ +core.List buildUnnamed3059() => [ 'foo', 'foo', ]; -void checkUnnamed3163(core.List o) { +void checkUnnamed3059(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8497,12 +8559,12 @@ void checkUnnamed3163(core.List o) { ); } -core.List buildUnnamed3164() => [ +core.List buildUnnamed3060() => [ 'foo', 'foo', ]; -void checkUnnamed3164(core.List o) { +void checkUnnamed3060(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8514,12 +8576,12 @@ void checkUnnamed3164(core.List o) { ); } -core.List buildUnnamed3165() => [ +core.List buildUnnamed3061() => [ 'foo', 'foo', ]; -void checkUnnamed3165(core.List o) { +void checkUnnamed3061(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8531,12 +8593,12 @@ void checkUnnamed3165(core.List o) { ); } -core.List buildUnnamed3166() => [ +core.List buildUnnamed3062() => [ 'foo', 'foo', ]; -void checkUnnamed3166(core.List o) { +void checkUnnamed3062(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8548,12 +8610,12 @@ void checkUnnamed3166(core.List o) { ); } -core.List buildUnnamed3167() => [ +core.List buildUnnamed3063() => [ 'foo', 'foo', ]; -void checkUnnamed3167(core.List o) { +void checkUnnamed3063(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8565,12 +8627,12 @@ void checkUnnamed3167(core.List o) { ); } -core.List buildUnnamed3168() => [ +core.List buildUnnamed3064() => [ 'foo', 'foo', ]; -void checkUnnamed3168(core.List o) { +void checkUnnamed3064(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8582,12 +8644,12 @@ void checkUnnamed3168(core.List o) { ); } -core.List buildUnnamed3169() => [ +core.List buildUnnamed3065() => [ 'foo', 'foo', ]; -void checkUnnamed3169(core.List o) { +void checkUnnamed3065(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8599,12 +8661,12 @@ void checkUnnamed3169(core.List o) { ); } -core.List buildUnnamed3170() => [ +core.List buildUnnamed3066() => [ 'foo', 'foo', ]; -void checkUnnamed3170(core.List o) { +void checkUnnamed3066(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8616,12 +8678,12 @@ void checkUnnamed3170(core.List o) { ); } -core.List buildUnnamed3171() => [ +core.List buildUnnamed3067() => [ 'foo', 'foo', ]; -void checkUnnamed3171(core.List o) { +void checkUnnamed3067(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8633,12 +8695,12 @@ void checkUnnamed3171(core.List o) { ); } -core.List buildUnnamed3172() => [ +core.List buildUnnamed3068() => [ 'foo', 'foo', ]; -void checkUnnamed3172(core.List o) { +void checkUnnamed3068(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8650,12 +8712,12 @@ void checkUnnamed3172(core.List o) { ); } -core.List buildUnnamed3173() => [ +core.List buildUnnamed3069() => [ 'foo', 'foo', ]; -void checkUnnamed3173(core.List o) { +void checkUnnamed3069(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8667,12 +8729,12 @@ void checkUnnamed3173(core.List o) { ); } -core.List buildUnnamed3174() => [ +core.List buildUnnamed3070() => [ 'foo', 'foo', ]; -void checkUnnamed3174(core.List o) { +void checkUnnamed3070(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8684,12 +8746,12 @@ void checkUnnamed3174(core.List o) { ); } -core.List buildUnnamed3175() => [ +core.List buildUnnamed3071() => [ 'foo', 'foo', ]; -void checkUnnamed3175(core.List o) { +void checkUnnamed3071(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8701,12 +8763,12 @@ void checkUnnamed3175(core.List o) { ); } -core.List buildUnnamed3176() => [ +core.List buildUnnamed3072() => [ 'foo', 'foo', ]; -void checkUnnamed3176(core.List o) { +void checkUnnamed3072(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8718,12 +8780,12 @@ void checkUnnamed3176(core.List o) { ); } -core.List buildUnnamed3177() => [ +core.List buildUnnamed3073() => [ 'foo', 'foo', ]; -void checkUnnamed3177(core.List o) { +void checkUnnamed3073(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8735,12 +8797,12 @@ void checkUnnamed3177(core.List o) { ); } -core.List buildUnnamed3178() => [ +core.List buildUnnamed3074() => [ 'foo', 'foo', ]; -void checkUnnamed3178(core.List o) { +void checkUnnamed3074(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8752,12 +8814,12 @@ void checkUnnamed3178(core.List o) { ); } -core.List buildUnnamed3179() => [ +core.List buildUnnamed3075() => [ 'foo', 'foo', ]; -void checkUnnamed3179(core.List o) { +void checkUnnamed3075(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8769,12 +8831,12 @@ void checkUnnamed3179(core.List o) { ); } -core.List buildUnnamed3180() => [ +core.List buildUnnamed3076() => [ 'foo', 'foo', ]; -void checkUnnamed3180(core.List o) { +void checkUnnamed3076(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8786,12 +8848,12 @@ void checkUnnamed3180(core.List o) { ); } -core.List buildUnnamed3181() => [ +core.List buildUnnamed3077() => [ 'foo', 'foo', ]; -void checkUnnamed3181(core.List o) { +void checkUnnamed3077(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8803,12 +8865,12 @@ void checkUnnamed3181(core.List o) { ); } -core.List buildUnnamed3182() => [ +core.List buildUnnamed3078() => [ 'foo', 'foo', ]; -void checkUnnamed3182(core.List o) { +void checkUnnamed3078(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8820,12 +8882,12 @@ void checkUnnamed3182(core.List o) { ); } -core.List buildUnnamed3183() => [ +core.List buildUnnamed3079() => [ 'foo', 'foo', ]; -void checkUnnamed3183(core.List o) { +void checkUnnamed3079(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8837,12 +8899,12 @@ void checkUnnamed3183(core.List o) { ); } -core.List buildUnnamed3184() => [ +core.List buildUnnamed3080() => [ 'foo', 'foo', ]; -void checkUnnamed3184(core.List o) { +void checkUnnamed3080(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8854,12 +8916,12 @@ void checkUnnamed3184(core.List o) { ); } -core.List buildUnnamed3185() => [ +core.List buildUnnamed3081() => [ 'foo', 'foo', ]; -void checkUnnamed3185(core.List o) { +void checkUnnamed3081(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8871,12 +8933,12 @@ void checkUnnamed3185(core.List o) { ); } -core.List buildUnnamed3186() => [ +core.List buildUnnamed3082() => [ 'foo', 'foo', ]; -void checkUnnamed3186(core.List o) { +void checkUnnamed3082(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8888,12 +8950,12 @@ void checkUnnamed3186(core.List o) { ); } -core.List buildUnnamed3187() => [ +core.List buildUnnamed3083() => [ 'foo', 'foo', ]; -void checkUnnamed3187(core.List o) { +void checkUnnamed3083(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8905,12 +8967,12 @@ void checkUnnamed3187(core.List o) { ); } -core.List buildUnnamed3188() => [ +core.List buildUnnamed3084() => [ 'foo', 'foo', ]; -void checkUnnamed3188(core.List o) { +void checkUnnamed3084(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8922,12 +8984,12 @@ void checkUnnamed3188(core.List o) { ); } -core.List buildUnnamed3189() => [ +core.List buildUnnamed3085() => [ 'foo', 'foo', ]; -void checkUnnamed3189(core.List o) { +void checkUnnamed3085(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8939,12 +9001,12 @@ void checkUnnamed3189(core.List o) { ); } -core.List buildUnnamed3190() => [ +core.List buildUnnamed3086() => [ 'foo', 'foo', ]; -void checkUnnamed3190(core.List o) { +void checkUnnamed3086(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8956,12 +9018,12 @@ void checkUnnamed3190(core.List o) { ); } -core.List buildUnnamed3191() => [ +core.List buildUnnamed3087() => [ 'foo', 'foo', ]; -void checkUnnamed3191(core.List o) { +void checkUnnamed3087(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9764,6 +9826,16 @@ void main() { }); }); + unittest.group('obj-schema-LiveChatMemberMilestoneChatDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildLiveChatMemberMilestoneChatDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LiveChatMemberMilestoneChatDetails.fromJson( + oJson as core.Map); + checkLiveChatMemberMilestoneChatDetails(od); + }); + }); + unittest.group('obj-schema-LiveChatMessage', () { unittest.test('to-json--from-json', () async { final o = buildLiveChatMessage(); @@ -9854,6 +9926,16 @@ void main() { }); }); + unittest.group('obj-schema-LiveChatNewSponsorDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildLiveChatNewSponsorDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LiveChatNewSponsorDetails.fromJson( + oJson as core.Map); + checkLiveChatNewSponsorDetails(od); + }); + }); + unittest.group('obj-schema-LiveChatSuperChatDetails', () { unittest.test('to-json--from-json', () async { final o = buildLiveChatSuperChatDetails(); @@ -10789,7 +10871,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).abuseReports; final arg_request = buildAbuseReport(); - final arg_part = buildUnnamed3123(); + final arg_part = buildUnnamed3019(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.AbuseReport.fromJson( @@ -10851,7 +10933,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).activities; - final arg_part = buildUnnamed3124(); + final arg_part = buildUnnamed3020(); final arg_channelId = 'foo'; final arg_home = true; final arg_maxResults = 42; @@ -11112,7 +11194,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).captions; final arg_request = buildCaption(); - final arg_part = buildUnnamed3125(); + final arg_part = buildUnnamed3021(); final arg_onBehalfOf = 'foo'; final arg_onBehalfOfContentOwner = 'foo'; final arg_sync = true; @@ -11190,9 +11272,9 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).captions; - final arg_part = buildUnnamed3126(); + final arg_part = buildUnnamed3022(); final arg_videoId = 'foo'; - final arg_id = buildUnnamed3127(); + final arg_id = buildUnnamed3023(); final arg_onBehalfOf = 'foo'; final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; @@ -11273,7 +11355,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).captions; final arg_request = buildCaption(); - final arg_part = buildUnnamed3128(); + final arg_part = buildUnnamed3024(); final arg_onBehalfOf = 'foo'; final arg_onBehalfOfContentOwner = 'foo'; final arg_sync = true; @@ -11494,7 +11576,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).channelSections; final arg_request = buildChannelSection(); - final arg_part = buildUnnamed3129(); + final arg_part = buildUnnamed3025(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -11566,10 +11648,10 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).channelSections; - final arg_part = buildUnnamed3130(); + final arg_part = buildUnnamed3026(); final arg_channelId = 'foo'; final arg_hl = 'foo'; - final arg_id = buildUnnamed3131(); + final arg_id = buildUnnamed3027(); final arg_mine = true; final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; @@ -11654,7 +11736,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).channelSections; final arg_request = buildChannelSection(); - final arg_part = buildUnnamed3132(); + final arg_part = buildUnnamed3028(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -11722,11 +11804,11 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).channels; - final arg_part = buildUnnamed3133(); + final arg_part = buildUnnamed3029(); final arg_categoryId = 'foo'; final arg_forUsername = 'foo'; final arg_hl = 'foo'; - final arg_id = buildUnnamed3134(); + final arg_id = buildUnnamed3030(); final arg_managedByMe = true; final arg_maxResults = 42; final arg_mine = true; @@ -11839,7 +11921,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).channels; final arg_request = buildChannel(); - final arg_part = buildUnnamed3135(); + final arg_part = buildUnnamed3031(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -11908,7 +11990,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).commentThreads; final arg_request = buildCommentThread(); - final arg_part = buildUnnamed3136(); + final arg_part = buildUnnamed3032(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.CommentThread.fromJson( @@ -11968,10 +12050,10 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).commentThreads; - final arg_part = buildUnnamed3137(); + final arg_part = buildUnnamed3033(); final arg_allThreadsRelatedToChannelId = 'foo'; final arg_channelId = 'foo'; - final arg_id = buildUnnamed3138(); + final arg_id = buildUnnamed3034(); final arg_maxResults = 42; final arg_moderationStatus = 'foo'; final arg_order = 'foo'; @@ -12141,7 +12223,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).comments; final arg_request = buildComment(); - final arg_part = buildUnnamed3139(); + final arg_part = buildUnnamed3035(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = @@ -12201,8 +12283,8 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).comments; - final arg_part = buildUnnamed3140(); - final arg_id = buildUnnamed3141(); + final arg_part = buildUnnamed3036(); + final arg_id = buildUnnamed3037(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_parentId = 'foo'; @@ -12287,7 +12369,7 @@ void main() { unittest.test('method--markAsSpam', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).comments; - final arg_id = buildUnnamed3142(); + final arg_id = buildUnnamed3038(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -12341,7 +12423,7 @@ void main() { unittest.test('method--setModerationStatus', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).comments; - final arg_id = buildUnnamed3143(); + final arg_id = buildUnnamed3039(); final arg_moderationStatus = 'foo'; final arg_banAuthor = true; final arg_$fields = 'foo'; @@ -12407,7 +12489,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).comments; final arg_request = buildComment(); - final arg_part = buildUnnamed3144(); + final arg_part = buildUnnamed3040(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = @@ -12469,7 +12551,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).i18nLanguages; - final arg_part = buildUnnamed3145(); + final arg_part = buildUnnamed3041(); final arg_hl = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -12532,7 +12614,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).i18nRegions; - final arg_part = buildUnnamed3146(); + final arg_part = buildUnnamed3042(); final arg_hl = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -12596,7 +12678,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveBroadcasts; final arg_id = 'foo'; - final arg_part = buildUnnamed3147(); + final arg_part = buildUnnamed3043(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_streamId = 'foo'; @@ -12742,7 +12824,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveBroadcasts; final arg_request = buildLiveBroadcast(); - final arg_part = buildUnnamed3148(); + final arg_part = buildUnnamed3044(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -12814,10 +12896,10 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveBroadcasts; - final arg_part = buildUnnamed3149(); + final arg_part = buildUnnamed3045(); final arg_broadcastStatus = 'foo'; final arg_broadcastType = 'foo'; - final arg_id = buildUnnamed3150(); + final arg_id = buildUnnamed3046(); final arg_maxResults = 42; final arg_mine = true; final arg_onBehalfOfContentOwner = 'foo'; @@ -12920,7 +13002,7 @@ void main() { final res = api.YouTubeApi(mock).liveBroadcasts; final arg_broadcastStatus = 'foo'; final arg_id = 'foo'; - final arg_part = buildUnnamed3151(); + final arg_part = buildUnnamed3047(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -12998,7 +13080,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveBroadcasts; final arg_request = buildLiveBroadcast(); - final arg_part = buildUnnamed3152(); + final arg_part = buildUnnamed3048(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -13127,7 +13209,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveChatBans; final arg_request = buildLiveChatBan(); - final arg_part = buildUnnamed3153(); + final arg_part = buildUnnamed3049(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.LiveChatBan.fromJson( @@ -13244,7 +13326,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveChatMessages; final arg_request = buildLiveChatMessage(); - final arg_part = buildUnnamed3154(); + final arg_part = buildUnnamed3050(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.LiveChatMessage.fromJson( @@ -13305,7 +13387,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveChatMessages; final arg_liveChatId = 'foo'; - final arg_part = buildUnnamed3155(); + final arg_part = buildUnnamed3051(); final arg_hl = 'foo'; final arg_maxResults = 42; final arg_pageToken = 'foo'; @@ -13447,7 +13529,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveChatModerators; final arg_request = buildLiveChatModerator(); - final arg_part = buildUnnamed3156(); + final arg_part = buildUnnamed3052(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.LiveChatModerator.fromJson( @@ -13508,7 +13590,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveChatModerators; final arg_liveChatId = 'foo'; - final arg_part = buildUnnamed3157(); + final arg_part = buildUnnamed3053(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -13651,7 +13733,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveStreams; final arg_request = buildLiveStream(); - final arg_part = buildUnnamed3158(); + final arg_part = buildUnnamed3054(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -13723,8 +13805,8 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveStreams; - final arg_part = buildUnnamed3159(); - final arg_id = buildUnnamed3160(); + final arg_part = buildUnnamed3055(); + final arg_id = buildUnnamed3056(); final arg_maxResults = 42; final arg_mine = true; final arg_onBehalfOfContentOwner = 'foo'; @@ -13816,7 +13898,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).liveStreams; final arg_request = buildLiveStream(); - final arg_part = buildUnnamed3161(); + final arg_part = buildUnnamed3057(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -13890,7 +13972,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).members; - final arg_part = buildUnnamed3162(); + final arg_part = buildUnnamed3058(); final arg_filterByMemberChannelId = 'foo'; final arg_hasAccessToLevel = 'foo'; final arg_maxResults = 42; @@ -13978,7 +14060,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).membershipsLevels; - final arg_part = buildUnnamed3163(); + final arg_part = buildUnnamed3059(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -14098,7 +14180,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).playlistItems; final arg_request = buildPlaylistItem(); - final arg_part = buildUnnamed3164(); + final arg_part = buildUnnamed3060(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -14164,8 +14246,8 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).playlistItems; - final arg_part = buildUnnamed3165(); - final arg_id = buildUnnamed3166(); + final arg_part = buildUnnamed3061(); + final arg_id = buildUnnamed3062(); final arg_maxResults = 42; final arg_onBehalfOfContentOwner = 'foo'; final arg_pageToken = 'foo'; @@ -14257,7 +14339,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).playlistItems; final arg_request = buildPlaylistItem(); - final arg_part = buildUnnamed3167(); + final arg_part = buildUnnamed3063(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -14387,7 +14469,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).playlists; final arg_request = buildPlaylist(); - final arg_part = buildUnnamed3168(); + final arg_part = buildUnnamed3064(); final arg_onBehalfOfContentOwner = 'foo'; final arg_onBehalfOfContentOwnerChannel = 'foo'; final arg_$fields = 'foo'; @@ -14459,10 +14541,10 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).playlists; - final arg_part = buildUnnamed3169(); + final arg_part = buildUnnamed3065(); final arg_channelId = 'foo'; final arg_hl = 'foo'; - final arg_id = buildUnnamed3170(); + final arg_id = buildUnnamed3066(); final arg_maxResults = 42; final arg_mine = true; final arg_onBehalfOfContentOwner = 'foo'; @@ -14564,7 +14646,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).playlists; final arg_request = buildPlaylist(); - final arg_part = buildUnnamed3171(); + final arg_part = buildUnnamed3067(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -14632,7 +14714,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).search; - final arg_part = buildUnnamed3172(); + final arg_part = buildUnnamed3068(); final arg_channelId = 'foo'; final arg_channelType = 'foo'; final arg_eventType = 'foo'; @@ -14653,7 +14735,7 @@ void main() { final arg_relevanceLanguage = 'foo'; final arg_safeSearch = 'foo'; final arg_topicId = 'foo'; - final arg_type = buildUnnamed3173(); + final arg_type = buildUnnamed3069(); final arg_videoCaption = 'foo'; final arg_videoCategoryId = 'foo'; final arg_videoDefinition = 'foo'; @@ -14925,7 +15007,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).subscriptions; final arg_request = buildSubscription(); - final arg_part = buildUnnamed3174(); + final arg_part = buildUnnamed3070(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.Subscription.fromJson( @@ -14985,10 +15067,10 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).subscriptions; - final arg_part = buildUnnamed3175(); + final arg_part = buildUnnamed3071(); final arg_channelId = 'foo'; final arg_forChannelId = 'foo'; - final arg_id = buildUnnamed3176(); + final arg_id = buildUnnamed3072(); final arg_maxResults = 42; final arg_mine = true; final arg_myRecentSubscribers = true; @@ -15109,7 +15191,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).superChatEvents; - final arg_part = buildUnnamed3177(); + final arg_part = buildUnnamed3073(); final arg_hl = 'foo'; final arg_maxResults = 42; final arg_pageToken = 'foo'; @@ -15187,7 +15269,8 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).tests; final arg_request = buildTestItem(); - final arg_part = buildUnnamed3178(); + final arg_part = buildUnnamed3074(); + final arg_externalChannelId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = @@ -15228,6 +15311,10 @@ void main() { queryMap['part']!, unittest.equals(arg_part), ); + unittest.expect( + queryMap['externalChannelId']!.first, + unittest.equals(arg_externalChannelId), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -15239,8 +15326,8 @@ void main() { final resp = convert.json.encode(buildTestItem()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = - await res.insert(arg_request, arg_part, $fields: arg_$fields); + final response = await res.insert(arg_request, arg_part, + externalChannelId: arg_externalChannelId, $fields: arg_$fields); checkTestItem(response as api.TestItem); }); }); @@ -15251,7 +15338,7 @@ void main() { final res = api.YouTubeApi(mock).thirdPartyLinks; final arg_linkingToken = 'foo'; final arg_type = 'foo'; - final arg_part = buildUnnamed3179(); + final arg_part = buildUnnamed3075(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -15315,7 +15402,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).thirdPartyLinks; final arg_request = buildThirdPartyLink(); - final arg_part = buildUnnamed3180(); + final arg_part = buildUnnamed3076(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.ThirdPartyLink.fromJson( @@ -15375,7 +15462,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).thirdPartyLinks; - final arg_part = buildUnnamed3181(); + final arg_part = buildUnnamed3077(); final arg_linkingToken = 'foo'; final arg_type = 'foo'; final arg_$fields = 'foo'; @@ -15442,7 +15529,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).thirdPartyLinks; final arg_request = buildThirdPartyLink(); - final arg_part = buildUnnamed3182(); + final arg_part = buildUnnamed3078(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.ThirdPartyLink.fromJson( @@ -15571,7 +15658,7 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).videoAbuseReportReasons; - final arg_part = buildUnnamed3183(); + final arg_part = buildUnnamed3079(); final arg_hl = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -15636,9 +15723,9 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).videoCategories; - final arg_part = buildUnnamed3184(); + final arg_part = buildUnnamed3080(); final arg_hl = 'foo'; - final arg_id = buildUnnamed3185(); + final arg_id = buildUnnamed3081(); final arg_regionCode = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -15773,7 +15860,7 @@ void main() { unittest.test('method--getRating', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).videos; - final arg_id = buildUnnamed3186(); + final arg_id = buildUnnamed3082(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -15839,7 +15926,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).videos; final arg_request = buildVideo(); - final arg_part = buildUnnamed3187(); + final arg_part = buildUnnamed3083(); final arg_autoLevels = true; final arg_notifySubscribers = true; final arg_onBehalfOfContentOwner = 'foo'; @@ -15929,10 +16016,10 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).videos; - final arg_part = buildUnnamed3188(); + final arg_part = buildUnnamed3084(); final arg_chart = 'foo'; final arg_hl = 'foo'; - final arg_id = buildUnnamed3189(); + final arg_id = buildUnnamed3085(); final arg_locale = 'foo'; final arg_maxHeight = 42; final arg_maxResults = 42; @@ -16178,7 +16265,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).videos; final arg_request = buildVideo(); - final arg_part = buildUnnamed3190(); + final arg_part = buildUnnamed3086(); final arg_onBehalfOfContentOwner = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -16379,7 +16466,7 @@ void main() { final mock = HttpServerMock(); final res = api.YouTubeApi(mock).youtube.v3; final arg_request = buildCommentThread(); - final arg_part = buildUnnamed3191(); + final arg_part = buildUnnamed3087(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.CommentThread.fromJson( diff --git a/generated/googleapis/test/youtubeanalytics/v2_test.dart b/generated/googleapis/test/youtubeanalytics/v2_test.dart index e0b275c77..ea71dfd21 100644 --- a/generated/googleapis/test/youtubeanalytics/v2_test.dart +++ b/generated/googleapis/test/youtubeanalytics/v2_test.dart @@ -45,12 +45,12 @@ void checkEmptyResponse(api.EmptyResponse o) { buildCounterEmptyResponse--; } -core.List buildUnnamed6265() => [ +core.List buildUnnamed6332() => [ 'foo', 'foo', ]; -void checkUnnamed6265(core.List o) { +void checkUnnamed6332(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -67,7 +67,7 @@ api.ErrorProto buildErrorProto() { final o = api.ErrorProto(); buildCounterErrorProto++; if (buildCounterErrorProto < 3) { - o.argument = buildUnnamed6265(); + o.argument = buildUnnamed6332(); o.code = 'foo'; o.debugInfo = 'foo'; o.domain = 'foo'; @@ -82,7 +82,7 @@ api.ErrorProto buildErrorProto() { void checkErrorProto(api.ErrorProto o) { buildCounterErrorProto++; if (buildCounterErrorProto < 3) { - checkUnnamed6265(o.argument!); + checkUnnamed6332(o.argument!); unittest.expect( o.code!, unittest.equals('foo'), @@ -111,12 +111,12 @@ void checkErrorProto(api.ErrorProto o) { buildCounterErrorProto--; } -core.List buildUnnamed6266() => [ +core.List buildUnnamed6333() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed6266(core.List o) { +void checkUnnamed6333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -128,7 +128,7 @@ api.Errors buildErrors() { buildCounterErrors++; if (buildCounterErrors < 3) { o.code = 'foo'; - o.error = buildUnnamed6266(); + o.error = buildUnnamed6333(); o.requestId = 'foo'; } buildCounterErrors--; @@ -142,7 +142,7 @@ void checkErrors(api.Errors o) { o.code!, unittest.equals('foo'), ); - checkUnnamed6266(o.error!); + checkUnnamed6333(o.error!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -311,12 +311,12 @@ void checkGroupSnippet(api.GroupSnippet o) { buildCounterGroupSnippet--; } -core.List buildUnnamed6267() => [ +core.List buildUnnamed6334() => [ buildGroupItem(), buildGroupItem(), ]; -void checkUnnamed6267(core.List o) { +void checkUnnamed6334(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupItem(o[0]); checkGroupItem(o[1]); @@ -329,7 +329,7 @@ api.ListGroupItemsResponse buildListGroupItemsResponse() { if (buildCounterListGroupItemsResponse < 3) { o.errors = buildErrors(); o.etag = 'foo'; - o.items = buildUnnamed6267(); + o.items = buildUnnamed6334(); o.kind = 'foo'; } buildCounterListGroupItemsResponse--; @@ -344,7 +344,7 @@ void checkListGroupItemsResponse(api.ListGroupItemsResponse o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed6267(o.items!); + checkUnnamed6334(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -353,12 +353,12 @@ void checkListGroupItemsResponse(api.ListGroupItemsResponse o) { buildCounterListGroupItemsResponse--; } -core.List buildUnnamed6268() => [ +core.List buildUnnamed6335() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed6268(core.List o) { +void checkUnnamed6335(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); @@ -371,7 +371,7 @@ api.ListGroupsResponse buildListGroupsResponse() { if (buildCounterListGroupsResponse < 3) { o.errors = buildErrors(); o.etag = 'foo'; - o.items = buildUnnamed6268(); + o.items = buildUnnamed6335(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -387,7 +387,7 @@ void checkListGroupsResponse(api.ListGroupsResponse o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed6268(o.items!); + checkUnnamed6335(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -400,18 +400,18 @@ void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse--; } -core.List buildUnnamed6269() => [ +core.List buildUnnamed6336() => [ buildResultTableColumnHeader(), buildResultTableColumnHeader(), ]; -void checkUnnamed6269(core.List o) { +void checkUnnamed6336(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResultTableColumnHeader(o[0]); checkResultTableColumnHeader(o[1]); } -core.List buildUnnamed6270() => [ +core.List buildUnnamed6337() => [ { 'list': [1, 2, 3], 'bool': true, @@ -424,7 +424,7 @@ core.List buildUnnamed6270() => [ }, ]; -void checkUnnamed6270(core.List o) { +void checkUnnamed6337(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -456,15 +456,15 @@ void checkUnnamed6270(core.List o) { ); } -core.List> buildUnnamed6271() => [ - buildUnnamed6270(), - buildUnnamed6270(), +core.List> buildUnnamed6338() => [ + buildUnnamed6337(), + buildUnnamed6337(), ]; -void checkUnnamed6271(core.List> o) { +void checkUnnamed6338(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed6270(o[0]); - checkUnnamed6270(o[1]); + checkUnnamed6337(o[0]); + checkUnnamed6337(o[1]); } core.int buildCounterQueryResponse = 0; @@ -472,10 +472,10 @@ api.QueryResponse buildQueryResponse() { final o = api.QueryResponse(); buildCounterQueryResponse++; if (buildCounterQueryResponse < 3) { - o.columnHeaders = buildUnnamed6269(); + o.columnHeaders = buildUnnamed6336(); o.errors = buildErrors(); o.kind = 'foo'; - o.rows = buildUnnamed6271(); + o.rows = buildUnnamed6338(); } buildCounterQueryResponse--; return o; @@ -484,13 +484,13 @@ api.QueryResponse buildQueryResponse() { void checkQueryResponse(api.QueryResponse o) { buildCounterQueryResponse++; if (buildCounterQueryResponse < 3) { - checkUnnamed6269(o.columnHeaders!); + checkUnnamed6336(o.columnHeaders!); checkErrors(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed6271(o.rows!); + checkUnnamed6338(o.rows!); } buildCounterQueryResponse--; } diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart index d118e999a..efba21916 100644 --- a/generated/googleapis/test/youtubereporting/v1_test.dart +++ b/generated/googleapis/test/youtubereporting/v1_test.dart @@ -344,12 +344,12 @@ void checkGdataDownloadParameters(api.GdataDownloadParameters o) { buildCounterGdataDownloadParameters--; } -core.List buildUnnamed4504() => [ +core.List buildUnnamed4488() => [ buildGdataCompositeMedia(), buildGdataCompositeMedia(), ]; -void checkUnnamed4504(core.List o) { +void checkUnnamed4488(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGdataCompositeMedia(o[0]); checkGdataCompositeMedia(o[1]); @@ -364,7 +364,7 @@ api.GdataMedia buildGdataMedia() { o.bigstoreObjectRef = 'foo'; o.blobRef = 'foo'; o.blobstore2Info = buildGdataBlobstore2Info(); - o.compositeMedia = buildUnnamed4504(); + o.compositeMedia = buildUnnamed4488(); o.contentType = 'foo'; o.contentTypeInfo = buildGdataContentTypeInfo(); o.cosmoBinaryReference = 'foo'; @@ -411,7 +411,7 @@ void checkGdataMedia(api.GdataMedia o) { unittest.equals('foo'), ); checkGdataBlobstore2Info(o.blobstore2Info!); - checkUnnamed4504(o.compositeMedia!); + checkUnnamed4488(o.compositeMedia!); unittest.expect( o.contentType!, unittest.equals('foo'), @@ -562,12 +562,12 @@ void checkJob(api.Job o) { buildCounterJob--; } -core.List buildUnnamed4505() => [ +core.List buildUnnamed4489() => [ buildJob(), buildJob(), ]; -void checkUnnamed4505(core.List o) { +void checkUnnamed4489(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -578,7 +578,7 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed4505(); + o.jobs = buildUnnamed4489(); o.nextPageToken = 'foo'; } buildCounterListJobsResponse--; @@ -588,7 +588,7 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed4505(o.jobs!); + checkUnnamed4489(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -597,12 +597,12 @@ void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse--; } -core.List buildUnnamed4506() => [ +core.List buildUnnamed4490() => [ buildReportType(), buildReportType(), ]; -void checkUnnamed4506(core.List o) { +void checkUnnamed4490(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportType(o[0]); checkReportType(o[1]); @@ -614,7 +614,7 @@ api.ListReportTypesResponse buildListReportTypesResponse() { buildCounterListReportTypesResponse++; if (buildCounterListReportTypesResponse < 3) { o.nextPageToken = 'foo'; - o.reportTypes = buildUnnamed4506(); + o.reportTypes = buildUnnamed4490(); } buildCounterListReportTypesResponse--; return o; @@ -627,17 +627,17 @@ void checkListReportTypesResponse(api.ListReportTypesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4506(o.reportTypes!); + checkUnnamed4490(o.reportTypes!); } buildCounterListReportTypesResponse--; } -core.List buildUnnamed4507() => [ +core.List buildUnnamed4491() => [ buildReport(), buildReport(), ]; -void checkUnnamed4507(core.List o) { +void checkUnnamed4491(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReport(o[0]); checkReport(o[1]); @@ -649,7 +649,7 @@ api.ListReportsResponse buildListReportsResponse() { buildCounterListReportsResponse++; if (buildCounterListReportsResponse < 3) { o.nextPageToken = 'foo'; - o.reports = buildUnnamed4507(); + o.reports = buildUnnamed4491(); } buildCounterListReportsResponse--; return o; @@ -662,7 +662,7 @@ void checkListReportsResponse(api.ListReportsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4507(o.reports!); + checkUnnamed4491(o.reports!); } buildCounterListReportsResponse--; } diff --git a/generated/googleapis_beta/CHANGELOG.md b/generated/googleapis_beta/CHANGELOG.md index b1788abd2..b689f442b 100644 --- a/generated/googleapis_beta/CHANGELOG.md +++ b/generated/googleapis_beta/CHANGELOG.md @@ -1,5 +1,8 @@ ## 5.0.0-dev +- `fcmdata` - new! +- `ideahub` - new! + ## 4.0.0 - All schema types now have positional constructor parameters. diff --git a/generated/googleapis_beta/README.md b/generated/googleapis_beta/README.md index 00ecbbe81..c85c28700 100644 --- a/generated/googleapis_beta/README.md +++ b/generated/googleapis_beta/README.md @@ -18,210 +18,222 @@ package. Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. - [Documentation](https://developers.google.com/authorized-buyers/apis/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/adexchangebuyer2.v2beta1/adexchangebuyer2.v2beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/adexchangebuyer2.v2beta1/adexchangebuyer2.v2beta1-library.html) #### Google Workspace Alert Center API - `alertcenter.v1beta1` Manages alerts on issues affecting your domain. - [Documentation](https://developers.google.com/admin-sdk/alertcenter/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/alertcenter.v1beta1/alertcenter.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/alertcenter.v1beta1/alertcenter.v1beta1-library.html) #### Google Analytics Admin API - `analyticsadmin.v1alpha` - [Documentation](http://code.google.com/apis/analytics/docs/mgmt/home.html) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/analyticsadmin.v1alpha/analyticsadmin.v1alpha-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/analyticsadmin.v1alpha/analyticsadmin.v1alpha-library.html) #### Google Analytics Data API - `analyticsdata.v1beta` Accesses report data in Google Analytics. - [Documentation](https://developers.google.com/analytics/devguides/reporting/data/v1/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/analyticsdata.v1beta/analyticsdata.v1beta-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/analyticsdata.v1beta/analyticsdata.v1beta-library.html) #### Area120 Tables API - `area120tables.v1alpha1` - [Documentation](https://support.google.com/area120-tables/answer/10011390) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/area120tables.v1alpha1/area120tables.v1alpha1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/area120tables.v1alpha1/area120tables.v1alpha1-library.html) #### BigQuery Connection API - `bigqueryconnection.v1beta1` Allows users to manage BigQuery connections to external data sources. - [Documentation](https://cloud.google.com/bigquery/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/bigqueryconnection.v1beta1/bigqueryconnection.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/bigqueryconnection.v1beta1/bigqueryconnection.v1beta1-library.html) #### Error Reporting API - `clouderrorreporting.v1beta1` Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. - [Documentation](https://cloud.google.com/error-reporting/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/clouderrorreporting.v1beta1/clouderrorreporting.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/clouderrorreporting.v1beta1/clouderrorreporting.v1beta1-library.html) #### Container Analysis API - `containeranalysis.v1beta1` An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts. - [Documentation](https://cloud.google.com/container-analysis/api/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/containeranalysis.v1beta1/containeranalysis.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/containeranalysis.v1beta1/containeranalysis.v1beta1-library.html) #### Google Cloud Data Catalog API - `datacatalog.v1beta1` A fully managed and highly scalable data discovery and metadata management service. - [Documentation](https://cloud.google.com/data-catalog/docs/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/datacatalog.v1beta1/datacatalog.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/datacatalog.v1beta1/datacatalog.v1beta1-library.html) #### Dataflow API - `dataflow.v1b3` Manages Google Cloud Dataflow projects on Google Cloud Platform. - [Documentation](https://cloud.google.com/dataflow) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/dataflow.v1b3/dataflow.v1b3-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/dataflow.v1b3/dataflow.v1b3-library.html) #### Data Labeling API - `datalabeling.v1beta1` Public API for Google Cloud AI Data Labeling Service. - [Documentation](https://cloud.google.com/data-labeling/docs/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/datalabeling.v1beta1/datalabeling.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/datalabeling.v1beta1/datalabeling.v1beta1-library.html) #### Cloud Document AI API - `documentai.v1beta3` Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. - [Documentation](https://cloud.google.com/document-ai/docs/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/documentai.v1beta3/documentai.v1beta3-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/documentai.v1beta3/documentai.v1beta3-library.html) #### Cloud Domains API - `domains.v1beta1` Enables management and configuration of domain names. - [Documentation](https://cloud.google.com/domains/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/domains.v1beta1/domains.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/domains.v1beta1/domains.v1beta1-library.html) #### Fact Check Tools API - `factchecktools.v1alpha1` - [Documentation](https://developers.google.com/fact-check/tools/api/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/factchecktools.v1alpha1/factchecktools.v1alpha1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/factchecktools.v1alpha1/factchecktools.v1alpha1-library.html) + +#### Firebase Cloud Messaging Data API - `fcmdata.v1beta1` + +Provides additional information about Firebase Cloud Messaging (FCM) message sends and deliveries. + +- [Documentation](https://firebase.google.com/docs/cloud-messaging) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/fcmdata.v1beta1/fcmdata.v1beta1-library.html) #### Firebase Management API - `firebase.v1beta1` The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps. - [Documentation](https://firebase.google.com) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/firebase.v1beta1/firebase.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/firebase.v1beta1/firebase.v1beta1-library.html) #### Firebase App Check API - `firebaseappcheck.v1beta` App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing. With App Check, devices running your app will use an app or device attestation provider that attests to one or both of the following: * Requests originate from your authentic app * Requests originate from an authentic, untampered device This attestation is attached to every request your app makes to your Firebase backend resources. The Firebase App Check REST API allows you to manage your App Check configurations programmatically. It also allows you to exchange attestation material for App Check tokens directly without using a Firebase SDK. Finally, it allows you to obtain the public key set necessary to validate an App Check token yourself. [Learn more about App Check](https://firebase.google.com/docs/app-check). - [Documentation](https://firebase.google.com/docs/app-check) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/firebaseappcheck.v1beta/firebaseappcheck.v1beta-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/firebaseappcheck.v1beta/firebaseappcheck.v1beta-library.html) #### Firebase Realtime Database Management API - `firebasedatabase.v1beta` The Firebase Realtime Database Management API enables programmatic provisioning and management of Realtime Database instances. - [Documentation](https://firebase.google.com/docs/reference/rest/database/database-management/rest/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/firebasedatabase.v1beta/firebasedatabase.v1beta-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/firebasedatabase.v1beta/firebasedatabase.v1beta-library.html) #### Cloud Storage for Firebase API - `firebasestorage.v1beta` The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects - [Documentation](https://firebase.google.com/docs/storage) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/firebasestorage.v1beta/firebasestorage.v1beta-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/firebasestorage.v1beta/firebasestorage.v1beta-library.html) + +#### Idea Hub API - `ideahub.v1beta` + +- [Documentation](https://console.cloud.google.com/apis/library/ideahub.googleapis.com) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/ideahub.v1beta/ideahub.v1beta-library.html) #### Cloud Life Sciences API - `lifesciences.v2beta` Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. - [Documentation](https://cloud.google.com/life-sciences) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/lifesciences.v2beta/lifesciences.v2beta-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/lifesciences.v2beta/lifesciences.v2beta-library.html) #### Dataproc Metastore API - `metastore.v1beta` The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services. - [Documentation](https://cloud.google.com/dataproc-metastore/docs) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/metastore.v1beta/metastore.v1beta-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/metastore.v1beta/metastore.v1beta-library.html) #### Network Connectivity API - `networkconnectivity.v1alpha1` The Network Connectivity API provides access to Network Connectivity Center. -- [Documentation](https://cloud.google.com/network-connectivity/docs) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/networkconnectivity.v1alpha1/networkconnectivity.v1alpha1-library.html) +- [Documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/networkconnectivity.v1alpha1/networkconnectivity.v1alpha1-library.html) #### Network Security API - `networksecurity.v1beta1` - [Documentation](https://cloud.google.com/networking) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/networksecurity.v1beta1/networksecurity.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/networksecurity.v1beta1/networksecurity.v1beta1-library.html) #### On-Demand Scanning API - `ondemandscanning.v1beta1` A service to scan container images for vulnerabilities. - [Documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/ondemandscanning.v1beta1/ondemandscanning.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/ondemandscanning.v1beta1/ondemandscanning.v1beta1-library.html) #### OS Config API - `osconfig.v1alpha` OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. - [Documentation](https://cloud.google.com/compute/docs/osconfig/rest) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/osconfig.v1alpha/osconfig.v1alpha-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/osconfig.v1alpha/osconfig.v1alpha-library.html) #### Policy Simulator API - `policysimulator.v1beta1` Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy. - [Documentation](https://cloud.google.com/iam/docs/simulating-access) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/policysimulator.v1beta1/policysimulator.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/policysimulator.v1beta1/policysimulator.v1beta1-library.html) #### Certificate Authority API - `privateca.v1beta1` The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys." - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/privateca.v1beta1/privateca.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/privateca.v1beta1/privateca.v1beta1-library.html) #### SAS Portal API (Testing) - `prod_tt_sasportal.v1alpha1` - [Documentation](https://developers.google.com/spectrum-access-system/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/prod_tt_sasportal.v1alpha1/prod_tt_sasportal.v1alpha1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/prod_tt_sasportal.v1alpha1/prod_tt_sasportal.v1alpha1-library.html) #### Recommendations AI (Beta) - `recommendationengine.v1beta1` Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud. - [Documentation](https://cloud.google.com/recommendations-ai/docs) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/recommendationengine.v1beta1/recommendationengine.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/recommendationengine.v1beta1/recommendationengine.v1beta1-library.html) #### SAS Portal API - `sasportal.v1alpha1` - [Documentation](https://developers.google.com/spectrum-access-system/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/sasportal.v1alpha1/sasportal.v1alpha1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/sasportal.v1alpha1/sasportal.v1alpha1-library.html) #### Cloud SQL Admin API - `sqladmin.v1beta4` API for Cloud SQL database instance management - [Documentation](https://developers.google.com/cloud-sql/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/sqladmin.v1beta4/sqladmin.v1beta4-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/sqladmin.v1beta4/sqladmin.v1beta4-library.html) #### Cloud Tool Results API - `toolresults.v1beta3` API to publish and access results from developer tools. - [Documentation](https://firebase.google.com/docs/test-lab/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/toolresults.v1beta3/toolresults.v1beta3-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/toolresults.v1beta3/toolresults.v1beta3-library.html) #### Transcoder API - `transcoder.v1beta1` This API converts video files into formats suitable for consumer distribution. - [Documentation](https://cloud.google.com/transcoder/docs/) -- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0-dev/transcoder.v1beta1/transcoder.v1beta1-library.html) +- [API details](https://pub.dev/documentation/googleapis_beta/5.0.0/transcoder.v1beta1/transcoder.v1beta1-library.html) diff --git a/generated/googleapis_beta/lib/alertcenter/v1beta1.dart b/generated/googleapis_beta/lib/alertcenter/v1beta1.dart index 1c603d6c5..f52b8ad62 100644 --- a/generated/googleapis_beta/lib/alertcenter/v1beta1.dart +++ b/generated/googleapis_beta/lib/alertcenter/v1beta1.dart @@ -579,6 +579,105 @@ class V1beta1Resource { } } +/// Details about why an account is receiving an account suspension warning. +class AccountSuspensionDetails { + /// The reason why this account is receiving an account suspension warning. + /// Possible string values are: + /// - "ACCOUNT_SUSPENSION_ABUSE_REASON_UNSPECIFIED" : Abuse reason is + /// unspecified. + /// - "TOS_VIOLATION" : This account is being suspended for a Terms of Service + /// violation. + /// - "SPAM" : This account is being suspended for spam. + /// - "PHISHING" : This account is being suspended for phishing. + /// - "TRAFFIC_PUMPING" : This account is being suspended for artificially + /// boosting traffic to a website. + /// - "FRAUD" : This account is being suspended for fraud. + /// - "NUMBER_HARVESTING" : This account is being suspended for number + /// harvesting. + /// - "PAYMENTS_FRAUD" : This account is being suspended for payments fraud. + core.String? abuseReason; + + /// The name of the product being abused. + /// + /// This is restricted to only the following values: "Gmail" "Payments" + /// "Voice" "Workspace" "Other" + core.String? productName; + + AccountSuspensionDetails({ + this.abuseReason, + this.productName, + }); + + AccountSuspensionDetails.fromJson(core.Map _json) + : this( + abuseReason: _json.containsKey('abuseReason') + ? _json['abuseReason'] as core.String + : null, + productName: _json.containsKey('productName') + ? _json['productName'] as core.String + : null, + ); + + core.Map toJson() => { + if (abuseReason != null) 'abuseReason': abuseReason!, + if (productName != null) 'productName': productName!, + }; +} + +/// A warning that the customer's account is about to be suspended. +class AccountSuspensionWarning { + /// The amount of time remaining to appeal an imminent suspension. + /// + /// After this window has elapsed, the account will be suspended. Only + /// populated if the account suspension is in WARNING state. + core.String? appealWindow; + + /// Account suspension warning state. + /// Possible string values are: + /// - "ACCOUNT_SUSPENSION_WARNING_STATE_UNSPECIFIED" : State is unspecified. + /// - "WARNING" : Customer is receiving a warning about imminent suspension. + /// - "SUSPENDED" : Customer is being notified that their account has been + /// suspended. + /// - "APPEAL_APPROVED" : Customer is being notified that their suspension + /// appeal was approved. + /// - "APPEAL_SUBMITTED" : Customer has submitted their appeal, which is + /// pending review. + core.String? state; + + /// Details about why an account is being suspended. + core.List? suspensionDetails; + + AccountSuspensionWarning({ + this.appealWindow, + this.state, + this.suspensionDetails, + }); + + AccountSuspensionWarning.fromJson(core.Map _json) + : this( + appealWindow: _json.containsKey('appealWindow') + ? _json['appealWindow'] as core.String + : null, + state: + _json.containsKey('state') ? _json['state'] as core.String : null, + suspensionDetails: _json.containsKey('suspensionDetails') + ? (_json['suspensionDetails'] as core.List) + .map((value) => + AccountSuspensionDetails.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (appealWindow != null) 'appealWindow': appealWindow!, + if (state != null) 'state': state!, + if (suspensionDetails != null) + 'suspensionDetails': + suspensionDetails!.map((value) => value.toJson()).toList(), + }; +} + /// Alerts for user account warning events. class AccountWarning { /// The email of the user that this event belongs to. @@ -819,7 +918,7 @@ class Alert { /// This is output only after alert is created. Supported sources are any of /// the following: * Google Operations * Mobile device management * Gmail /// phishing * Data Loss Prevention * Domain wide takeout * State sponsored - /// attack * Google identity + /// attack * Google identity * Apps outage /// /// Required. core.String? source; @@ -1153,6 +1252,69 @@ class AppSettingsChanged { }; } +/// An outage incident reported for a Google Workspace service. +class AppsOutage { + /// Link to the outage event in Google Workspace Status Dashboard + core.String? dashboardUri; + + /// Timestamp by which the next update is expected to arrive. + core.String? nextUpdateTime; + + /// List of products impacted by the outage. + core.List? products; + + /// Timestamp when the outage is expected to be resolved, or has confirmed + /// resolution. + /// + /// Provided only when known. + core.String? resolutionTime; + + /// Current outage status. + /// Possible string values are: + /// - "STATUS_UNSPECIFIED" : Status is unspecified. + /// - "NEW" : The incident has just been reported. + /// - "ONGOING" : The incident is ongoing. + /// - "RESOLVED" : The incident has been resolved. + core.String? status; + + AppsOutage({ + this.dashboardUri, + this.nextUpdateTime, + this.products, + this.resolutionTime, + this.status, + }); + + AppsOutage.fromJson(core.Map _json) + : this( + dashboardUri: _json.containsKey('dashboardUri') + ? _json['dashboardUri'] as core.String + : null, + nextUpdateTime: _json.containsKey('nextUpdateTime') + ? _json['nextUpdateTime'] as core.String + : null, + products: _json.containsKey('products') + ? (_json['products'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + resolutionTime: _json.containsKey('resolutionTime') + ? _json['resolutionTime'] as core.String + : null, + status: _json.containsKey('status') + ? _json['status'] as core.String + : null, + ); + + core.Map toJson() => { + if (dashboardUri != null) 'dashboardUri': dashboardUri!, + if (nextUpdateTime != null) 'nextUpdateTime': nextUpdateTime!, + if (products != null) 'products': products!, + if (resolutionTime != null) 'resolutionTime': resolutionTime!, + if (status != null) 'status': status!, + }; +} + /// Attachment with application-specific information about an alert. class Attachment { /// A CSV file attachment. @@ -2104,52 +2266,6 @@ class Notification { }; } -/// An alert that gets triggered when a user enables autoforwarding to an email -/// which is outside of its domain -class OutOfDomainForwarding { - /// Email of the actor who triggered the alert. - core.String? actorEmail; - - /// The time the email forwarding was enabled - core.String? enableTime; - - /// Email to which emails are being forwarded - core.String? forwardeeEmail; - - /// IP address of the user while enabling forwarding - core.String? ipAddress; - - OutOfDomainForwarding({ - this.actorEmail, - this.enableTime, - this.forwardeeEmail, - this.ipAddress, - }); - - OutOfDomainForwarding.fromJson(core.Map _json) - : this( - actorEmail: _json.containsKey('actorEmail') - ? _json['actorEmail'] as core.String - : null, - enableTime: _json.containsKey('enableTime') - ? _json['enableTime'] as core.String - : null, - forwardeeEmail: _json.containsKey('forwardeeEmail') - ? _json['forwardeeEmail'] as core.String - : null, - ipAddress: _json.containsKey('ipAddress') - ? _json['ipAddress'] as core.String - : null, - ); - - core.Map toJson() => { - if (actorEmail != null) 'actorEmail': actorEmail!, - if (enableTime != null) 'enableTime': enableTime!, - if (forwardeeEmail != null) 'forwardeeEmail': forwardeeEmail!, - if (ipAddress != null) 'ipAddress': ipAddress!, - }; -} - /// Alert for a spike in user reported phishing. /// /// *Warning*: This type has been deprecated. Use diff --git a/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart b/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart index 54a234b43..8b953b6e5 100644 --- a/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart +++ b/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart @@ -1059,6 +1059,45 @@ class PropertiesResource { _response as core.Map); } + /// Returns the singleton data retention settings for this property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the settings to lookup. Format: + /// properties/{property}/dataRetentionSettings Example: + /// "properties/1000/dataRetentionSettings" + /// Value must have pattern `^properties/\[^/\]+/dataRetentionSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataRetentionSettings]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + getDataRetentionSettings( + core.String name, { + core.String? $fields, + }) async { + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + _response as core.Map); + } + /// Lookup for Google Signals settings for a property. /// /// Request parameters: @@ -1214,6 +1253,56 @@ class PropertiesResource { _response as core.Map); } + /// Updates the singleton data retention settings for this property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name for this DataRetentionSetting + /// resource. Format: properties/{property}/dataRetentionSettings + /// Value must have pattern `^properties/\[^/\]+/dataRetentionSettings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataRetentionSettings]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + updateDataRetentionSettings( + GoogleAnalyticsAdminV1alphaDataRetentionSettings request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + _response as core.Map); + } + /// Updates Google Signals settings for a property. /// /// [request] - The metadata request object. @@ -5390,6 +5479,9 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource { /// A snapshot of a CustomMetric resource in change history. GoogleAnalyticsAdminV1alphaCustomMetric? customMetric; + /// A snapshot of a data retention settings resource in change history. + GoogleAnalyticsAdminV1alphaDataRetentionSettings? dataRetentionSettings; + /// A snapshot of a DisplayVideo360AdvertiserLink resource in change history. GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink? displayVideo360AdvertiserLink; @@ -5427,6 +5519,7 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource { this.conversionEvent, this.customDimension, this.customMetric, + this.dataRetentionSettings, this.displayVideo360AdvertiserLink, this.displayVideo360AdvertiserLinkProposal, this.firebaseLink, @@ -5464,6 +5557,11 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource { ? GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( _json['customMetric'] as core.Map) : null, + dataRetentionSettings: _json.containsKey('dataRetentionSettings') + ? GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + _json['dataRetentionSettings'] + as core.Map) + : null, displayVideo360AdvertiserLink: _json.containsKey('displayVideo360AdvertiserLink') ? GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink @@ -5519,6 +5617,8 @@ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource { if (customDimension != null) 'customDimension': customDimension!.toJson(), if (customMetric != null) 'customMetric': customMetric!.toJson(), + if (dataRetentionSettings != null) + 'dataRetentionSettings': dataRetentionSettings!.toJson(), if (displayVideo360AdvertiserLink != null) 'displayVideo360AdvertiserLink': displayVideo360AdvertiserLink!.toJson(), @@ -5934,6 +6034,62 @@ class GoogleAnalyticsAdminV1alphaCustomMetric { }; } +/// Settings values for data retention. +/// +/// This is a singleton resource. +class GoogleAnalyticsAdminV1alphaDataRetentionSettings { + /// The length of time that event-level data is retained. + /// Possible string values are: + /// - "RETENTION_DURATION_UNSPECIFIED" : Data retention time duration is not + /// specified. + /// - "TWO_MONTHS" : The data retention time duration is 2 months. + /// - "FOURTEEN_MONTHS" : The data retention time duration is 14 months. + /// - "TWENTY_SIX_MONTHS" : The data retention time duration is 26 months. + /// Available to 360 properties only. + /// - "THIRTY_EIGHT_MONTHS" : The data retention time duration is 38 months. + /// Available to 360 properties only. + /// - "FIFTY_MONTHS" : The data retention time duration is 50 months. + /// Available to 360 properties only. + core.String? eventDataRetention; + + /// Resource name for this DataRetentionSetting resource. + /// + /// Format: properties/{property}/dataRetentionSettings + /// + /// Output only. + core.String? name; + + /// If true, reset the retention period for the user identifier with every + /// event from that user. + core.bool? resetUserDataOnNewActivity; + + GoogleAnalyticsAdminV1alphaDataRetentionSettings({ + this.eventDataRetention, + this.name, + this.resetUserDataOnNewActivity, + }); + + GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson(core.Map _json) + : this( + eventDataRetention: _json.containsKey('eventDataRetention') + ? _json['eventDataRetention'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + resetUserDataOnNewActivity: + _json.containsKey('resetUserDataOnNewActivity') + ? _json['resetUserDataOnNewActivity'] as core.bool + : null, + ); + + core.Map toJson() => { + if (eventDataRetention != null) + 'eventDataRetention': eventDataRetention!, + if (name != null) 'name': name!, + if (resetUserDataOnNewActivity != null) + 'resetUserDataOnNewActivity': resetUserDataOnNewActivity!, + }; +} + /// A resource message representing data sharing settings of a Google Analytics /// account. class GoogleAnalyticsAdminV1alphaDataSharingSettings { diff --git a/generated/googleapis_beta/lib/analyticsdata/v1beta.dart b/generated/googleapis_beta/lib/analyticsdata/v1beta.dart index 2fb732e90..8a0c1b88f 100644 --- a/generated/googleapis_beta/lib/analyticsdata/v1beta.dart +++ b/generated/googleapis_beta/lib/analyticsdata/v1beta.dart @@ -159,6 +159,62 @@ class PropertiesResource { _response as core.Map); } + /// This compatibility method lists dimensions and metrics that can be added + /// to a report request and maintain compatibility. + /// + /// This method fails if the request's dimensions and metrics are + /// incompatible. In Google Analytics, reports fail if they request + /// incompatible dimensions and/or metrics; in that case, you will need to + /// remove dimensions and/or metrics from the incompatible report until the + /// report is compatible. The Realtime and Core reports have different + /// compatibility rules. This method checks compatibility for Core reports. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [property] - A Google Analytics GA4 property identifier whose events are + /// tracked. To learn more, see + /// [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + /// `property` should be the same value as in your `runReport` request. + /// Example: properties/1234 Set the Property ID to 0 for compatibility + /// checking on dimensions and metrics common to all properties. In this + /// special mode, this method will not return custom dimensions and metrics. + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CheckCompatibilityResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future checkCompatibility( + CheckCompatibilityRequest request, + core.String property, { + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if ($fields != null) 'fields': [$fields], + }; + + final _url = + 'v1beta/' + core.Uri.encodeFull('$property') + ':checkCompatibility'; + + final _response = await _requester.request( + _url, + 'POST', + body: _body, + queryParams: _queryParams, + ); + return CheckCompatibilityResponse.fromJson( + _response as core.Map); + } + /// Returns metadata for dimensions and metrics available in reporting /// methods. /// @@ -546,6 +602,137 @@ class CaseExpression { }; } +/// The request for compatibility information for a report's dimensions and +/// metrics. +/// +/// Check compatibility provides a preview of the compatibility of a report; +/// fields shared with the `runReport` request should be the same values as in +/// your `runReport` request. +class CheckCompatibilityRequest { + /// Filters the dimensions and metrics in the response to just this + /// compatibility. + /// + /// Commonly used as `”compatibilityFilter”: “COMPATIBLE”` to only return + /// compatible dimensions & metrics. + /// Possible string values are: + /// - "COMPATIBILITY_UNSPECIFIED" : Unspecified compatibility. + /// - "COMPATIBLE" : The dimension or metric is compatible. This dimension or + /// metric can be successfully added to a report. + /// - "INCOMPATIBLE" : The dimension or metric is incompatible. This dimension + /// or metric cannot be successfully added to a report. + core.String? compatibilityFilter; + + /// The filter clause of dimensions. + /// + /// `dimensionFilter` should be the same value as in your `runReport` request. + FilterExpression? dimensionFilter; + + /// The dimensions in this report. + /// + /// `dimensions` should be the same value as in your `runReport` request. + core.List? dimensions; + + /// The filter clause of metrics. + /// + /// `metricFilter` should be the same value as in your `runReport` request + FilterExpression? metricFilter; + + /// The metrics in this report. + /// + /// `metrics` should be the same value as in your `runReport` request. + core.List? metrics; + + CheckCompatibilityRequest({ + this.compatibilityFilter, + this.dimensionFilter, + this.dimensions, + this.metricFilter, + this.metrics, + }); + + CheckCompatibilityRequest.fromJson(core.Map _json) + : this( + compatibilityFilter: _json.containsKey('compatibilityFilter') + ? _json['compatibilityFilter'] as core.String + : null, + dimensionFilter: _json.containsKey('dimensionFilter') + ? FilterExpression.fromJson(_json['dimensionFilter'] + as core.Map) + : null, + dimensions: _json.containsKey('dimensions') + ? (_json['dimensions'] as core.List) + .map((value) => Dimension.fromJson( + value as core.Map)) + .toList() + : null, + metricFilter: _json.containsKey('metricFilter') + ? FilterExpression.fromJson( + _json['metricFilter'] as core.Map) + : null, + metrics: _json.containsKey('metrics') + ? (_json['metrics'] as core.List) + .map((value) => Metric.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (compatibilityFilter != null) + 'compatibilityFilter': compatibilityFilter!, + if (dimensionFilter != null) + 'dimensionFilter': dimensionFilter!.toJson(), + if (dimensions != null) + 'dimensions': dimensions!.map((value) => value.toJson()).toList(), + if (metricFilter != null) 'metricFilter': metricFilter!.toJson(), + if (metrics != null) + 'metrics': metrics!.map((value) => value.toJson()).toList(), + }; +} + +/// The compatibility response with the compatibility of each dimension & +/// metric. +class CheckCompatibilityResponse { + /// The compatibility of each dimension. + core.List? dimensionCompatibilities; + + /// The compatibility of each metric. + core.List? metricCompatibilities; + + CheckCompatibilityResponse({ + this.dimensionCompatibilities, + this.metricCompatibilities, + }); + + CheckCompatibilityResponse.fromJson(core.Map _json) + : this( + dimensionCompatibilities: + _json.containsKey('dimensionCompatibilities') + ? (_json['dimensionCompatibilities'] as core.List) + .map((value) => + DimensionCompatibility.fromJson( + value as core.Map)) + .toList() + : null, + metricCompatibilities: _json.containsKey('metricCompatibilities') + ? (_json['metricCompatibilities'] as core.List) + .map((value) => + MetricCompatibility.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (dimensionCompatibilities != null) + 'dimensionCompatibilities': + dimensionCompatibilities!.map((value) => value.toJson()).toList(), + if (metricCompatibilities != null) + 'metricCompatibilities': + metricCompatibilities!.map((value) => value.toJson()).toList(), + }; +} + /// Defines a cohort selection criteria. /// /// A cohort is a group of users who share a common characteristic. For example, @@ -900,6 +1087,50 @@ class Dimension { }; } +/// The compatibility for a single dimension. +class DimensionCompatibility { + /// The compatibility of this dimension. + /// + /// If the compatibility is COMPATIBLE, this dimension can be successfully + /// added to the report. + /// Possible string values are: + /// - "COMPATIBILITY_UNSPECIFIED" : Unspecified compatibility. + /// - "COMPATIBLE" : The dimension or metric is compatible. This dimension or + /// metric can be successfully added to a report. + /// - "INCOMPATIBLE" : The dimension or metric is incompatible. This dimension + /// or metric cannot be successfully added to a report. + core.String? compatibility; + + /// The dimension metadata contains the API name for this compatibility + /// information. + /// + /// The dimension metadata also contains other helpful information like the UI + /// name and description. + DimensionMetadata? dimensionMetadata; + + DimensionCompatibility({ + this.compatibility, + this.dimensionMetadata, + }); + + DimensionCompatibility.fromJson(core.Map _json) + : this( + compatibility: _json.containsKey('compatibility') + ? _json['compatibility'] as core.String + : null, + dimensionMetadata: _json.containsKey('dimensionMetadata') + ? DimensionMetadata.fromJson(_json['dimensionMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (compatibility != null) 'compatibility': compatibility!, + if (dimensionMetadata != null) + 'dimensionMetadata': dimensionMetadata!.toJson(), + }; +} + /// Used to express a dimension which is the result of a formula of multiple /// dimensions. /// @@ -977,6 +1208,11 @@ class DimensionMetadata { /// Useable in \[Dimension\](#Dimension)'s `name`. For example, `eventName`. core.String? apiName; + /// The display name of the category that this dimension belongs to. + /// + /// Similar dimensions and metrics are categorized together. + core.String? category; + /// True if the dimension is a custom dimension for this property. core.bool? customDefinition; @@ -997,6 +1233,7 @@ class DimensionMetadata { DimensionMetadata({ this.apiName, + this.category, this.customDefinition, this.deprecatedApiNames, this.description, @@ -1008,6 +1245,9 @@ class DimensionMetadata { apiName: _json.containsKey('apiName') ? _json['apiName'] as core.String : null, + category: _json.containsKey('category') + ? _json['category'] as core.String + : null, customDefinition: _json.containsKey('customDefinition') ? _json['customDefinition'] as core.bool : null, @@ -1026,6 +1266,7 @@ class DimensionMetadata { core.Map toJson() => { if (apiName != null) 'apiName': apiName!, + if (category != null) 'category': category!, if (customDefinition != null) 'customDefinition': customDefinition!, if (deprecatedApiNames != null) 'deprecatedApiNames': deprecatedApiNames!, @@ -1361,6 +1602,49 @@ class Metric { }; } +/// The compatibility for a single metric. +class MetricCompatibility { + /// The compatibility of this metric. + /// + /// If the compatibility is COMPATIBLE, this metric can be successfully added + /// to the report. + /// Possible string values are: + /// - "COMPATIBILITY_UNSPECIFIED" : Unspecified compatibility. + /// - "COMPATIBLE" : The dimension or metric is compatible. This dimension or + /// metric can be successfully added to a report. + /// - "INCOMPATIBLE" : The dimension or metric is incompatible. This dimension + /// or metric cannot be successfully added to a report. + core.String? compatibility; + + /// The metric metadata contains the API name for this compatibility + /// information. + /// + /// The metric metadata also contains other helpful information like the UI + /// name and description. + MetricMetadata? metricMetadata; + + MetricCompatibility({ + this.compatibility, + this.metricMetadata, + }); + + MetricCompatibility.fromJson(core.Map _json) + : this( + compatibility: _json.containsKey('compatibility') + ? _json['compatibility'] as core.String + : null, + metricMetadata: _json.containsKey('metricMetadata') + ? MetricMetadata.fromJson(_json['metricMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (compatibility != null) 'compatibility': compatibility!, + if (metricMetadata != null) 'metricMetadata': metricMetadata!.toJson(), + }; +} + /// Describes a metric column in the report. /// /// Visible metrics requested in a report produce column entries within rows and @@ -1415,6 +1699,11 @@ class MetricMetadata { /// Useable in \[Metric\](#Metric)'s `name`. For example, `eventCount`. core.String? apiName; + /// The display name of the category that this metrics belongs to. + /// + /// Similar dimensions and metrics are categorized together. + core.String? category; + /// True if the metric is a custom metric for this property. core.bool? customDefinition; @@ -1462,6 +1751,7 @@ class MetricMetadata { MetricMetadata({ this.apiName, + this.category, this.customDefinition, this.deprecatedApiNames, this.description, @@ -1475,6 +1765,9 @@ class MetricMetadata { apiName: _json.containsKey('apiName') ? _json['apiName'] as core.String : null, + category: _json.containsKey('category') + ? _json['category'] as core.String + : null, customDefinition: _json.containsKey('customDefinition') ? _json['customDefinition'] as core.bool : null, @@ -1497,6 +1790,7 @@ class MetricMetadata { core.Map toJson() => { if (apiName != null) 'apiName': apiName!, + if (category != null) 'category': category!, if (customDefinition != null) 'customDefinition': customDefinition!, if (deprecatedApiNames != null) 'deprecatedApiNames': deprecatedApiNames!, @@ -2061,26 +2355,55 @@ class QuotaStatus { /// Response's metadata carrying additional information about the report /// content. class ResponseMetaData { + /// The currency code used in this report. + /// + /// Intended to be used in formatting currency metrics like `purchaseRevenue` + /// for visualization. If currency_code was specified in the request, this + /// response parameter will echo the request parameter; otherwise, this + /// response parameter is the property's current currency_code. Currency codes + /// are string encodings of currency types from the ISO 4217 standard + /// (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". + /// To learn more, see https://support.google.com/analytics/answer/9796179. + core.String? currencyCode; + /// If true, indicates some buckets of dimension combinations are rolled into /// "(other)" row. /// /// This can happen for high cardinality reports. core.bool? dataLossFromOtherRow; + /// The property's current timezone. + /// + /// Intended to be used to interpret time-based dimensions like `hour` and + /// `minute`. Formatted as strings from the IANA Time Zone database + /// (https://www.iana.org/time-zones); for example "America/New_York" or + /// "Asia/Tokyo". + core.String? timeZone; + ResponseMetaData({ + this.currencyCode, this.dataLossFromOtherRow, + this.timeZone, }); ResponseMetaData.fromJson(core.Map _json) : this( + currencyCode: _json.containsKey('currencyCode') + ? _json['currencyCode'] as core.String + : null, dataLossFromOtherRow: _json.containsKey('dataLossFromOtherRow') ? _json['dataLossFromOtherRow'] as core.bool : null, + timeZone: _json.containsKey('timeZone') + ? _json['timeZone'] as core.String + : null, ); core.Map toJson() => { + if (currencyCode != null) 'currencyCode': currencyCode!, if (dataLossFromOtherRow != null) 'dataLossFromOtherRow': dataLossFromOtherRow!, + if (timeZone != null) 'timeZone': timeZone!, }; } @@ -2694,10 +3017,12 @@ class RunReportRequest { /// ranges. In a cohort request, this `dateRanges` must be unspecified. core.List? dateRanges; - /// The filter clause of dimensions. + /// Dimension filters allow you to ask for only specific dimension values in + /// the report. /// - /// Dimensions must be requested to be used in this filter. Metrics cannot be - /// used in this filter. + /// To learn more, see + /// [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + /// for examples. Metrics cannot be used in this filter. FilterExpression? dimensionFilter; /// The dimensions requested and displayed. @@ -2731,9 +3056,8 @@ class RunReportRequest { /// The filter clause of metrics. /// - /// Applied at post aggregation phase, similar to SQL having-clause. Metrics - /// must be requested to be used in this filter. Dimensions cannot be used in - /// this filter. + /// Applied at post aggregation phase, similar to SQL having-clause. + /// Dimensions cannot be used in this filter. FilterExpression? metricFilter; /// The metrics requested and displayed. diff --git a/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart b/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart index 6c0314f37..a348d1f3f 100644 --- a/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart +++ b/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart @@ -40,10 +40,12 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Allows users to manage BigQuery connections to external data sources. class BigQueryConnectionServiceApi { - /// View and manage your data in Google BigQuery + /// View and manage your data in Google BigQuery and see the email address for + /// your Google Account static const bigqueryScope = 'https://www.googleapis.com/auth/bigquery'; - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1043,7 +1045,7 @@ class ListConnectionsResponse { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart index 5f7a336bf..3fb32f339 100644 --- a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart +++ b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// reports new errors, and provides access to error groups and their associated /// errors. class ClouderrorreportingApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis_beta/lib/containeranalysis/v1beta1.dart b/generated/googleapis_beta/lib/containeranalysis/v1beta1.dart index 9ade872b1..20498e581 100644 --- a/generated/googleapis_beta/lib/containeranalysis/v1beta1.dart +++ b/generated/googleapis_beta/lib/containeranalysis/v1beta1.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// An implementation of the Grafeas API, which stores, and enables querying and /// retrieval of critical metadata about all of your software artifacts. class ContainerAnalysisApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2523,6 +2524,9 @@ class Discovery { /// - "ATTESTATION" : This represents a logical "role" that can attest to /// artifacts. /// - "INTOTO" : This represents an in-toto link. + /// - "SBOM" : This represents a software bill of materials. + /// - "SPDX_PACKAGE" : This represents an SPDX Package. + /// - "SPDX_FILE" : This represents an SPDX File. core.String? analysisKind; Discovery({ @@ -2611,6 +2615,139 @@ class Distribution { }; } +/// DocumentNote represents an SPDX Document Creation Infromation section: +/// https://spdx.github.io/spdx-spec/2-document-creation-information/ +class DocumentNote { + /// Compliance with the SPDX specification includes populating the SPDX fields + /// therein with data related to such fields ("SPDX-Metadata") + core.String? dataLicence; + + /// Provide a reference number that can be used to understand how to parse and + /// interpret the rest of the file + core.String? spdxVersion; + + DocumentNote({ + this.dataLicence, + this.spdxVersion, + }); + + DocumentNote.fromJson(core.Map _json) + : this( + dataLicence: _json.containsKey('dataLicence') + ? _json['dataLicence'] as core.String + : null, + spdxVersion: _json.containsKey('spdxVersion') + ? _json['spdxVersion'] as core.String + : null, + ); + + core.Map toJson() => { + if (dataLicence != null) 'dataLicence': dataLicence!, + if (spdxVersion != null) 'spdxVersion': spdxVersion!, + }; +} + +/// DocumentOccurrence represents an SPDX Document Creation Information section: +/// https://spdx.github.io/spdx-spec/2-document-creation-information/ +class DocumentOccurrence { + /// Identify when the SPDX file was originally created. + /// + /// The date is to be specified according to combined date and time in UTC + /// format as specified in ISO 8601 standard + core.String? createTime; + + /// A field for creators of the SPDX file to provide general comments about + /// the creation of the SPDX file or any other relevant comment not included + /// in the other fields + core.String? creatorComment; + + /// Identify who (or what, in the case of a tool) created the SPDX file. + /// + /// If the SPDX file was created by an individual, indicate the person's name + core.List? creators; + + /// A field for creators of the SPDX file content to provide comments to the + /// consumers of the SPDX document + core.String? documentComment; + + /// Identify any external SPDX documents referenced within this SPDX document + core.List? externalDocumentRefs; + + /// Identify the current SPDX document which may be referenced in + /// relationships by other files, packages internally and documents externally + core.String? id; + + /// A field for creators of the SPDX file to provide the version of the SPDX + /// License List used when the SPDX file was created + core.String? licenseListVersion; + + /// Provide an SPDX document specific namespace as a unique absolute Uniform + /// Resource Identifier (URI) as specified in RFC-3986, with the exception of + /// the ‘#’ delimiter + core.String? namespace; + + /// Identify name of this document as designated by creator + core.String? title; + + DocumentOccurrence({ + this.createTime, + this.creatorComment, + this.creators, + this.documentComment, + this.externalDocumentRefs, + this.id, + this.licenseListVersion, + this.namespace, + this.title, + }); + + DocumentOccurrence.fromJson(core.Map _json) + : this( + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, + creatorComment: _json.containsKey('creatorComment') + ? _json['creatorComment'] as core.String + : null, + creators: _json.containsKey('creators') + ? (_json['creators'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + documentComment: _json.containsKey('documentComment') + ? _json['documentComment'] as core.String + : null, + externalDocumentRefs: _json.containsKey('externalDocumentRefs') + ? (_json['externalDocumentRefs'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + id: _json.containsKey('id') ? _json['id'] as core.String : null, + licenseListVersion: _json.containsKey('licenseListVersion') + ? _json['licenseListVersion'] as core.String + : null, + namespace: _json.containsKey('namespace') + ? _json['namespace'] as core.String + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (creatorComment != null) 'creatorComment': creatorComment!, + if (creators != null) 'creators': creators!, + if (documentComment != null) 'documentComment': documentComment!, + if (externalDocumentRefs != null) + 'externalDocumentRefs': externalDocumentRefs!, + if (id != null) 'id': id!, + if (licenseListVersion != null) + 'licenseListVersion': licenseListVersion!, + if (namespace != null) 'namespace': namespace!, + if (title != null) 'title': title!, + }; +} + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -2730,6 +2867,61 @@ class Expr { }; } +/// An External Reference allows a Package to reference an external source of +/// additional information, metadata, enumerations, asset identifiers, or +/// downloadable content believed to be relevant to the Package +class ExternalRef { + /// An External Reference allows a Package to reference an external source of + /// additional information, metadata, enumerations, asset identifiers, or + /// downloadable content believed to be relevant to the Package + /// Possible string values are: + /// - "CATEGORY_UNSPECIFIED" : Unspecified + /// - "SECURITY" : Security (e.g. cpe22Type, cpe23Type) + /// - "PACKAGE_MANAGER" : Package Manager (e.g. maven-central, npm, nuget, + /// bower, purl) + /// - "PERSISTENT_ID" : Persistent-Id (e.g. swh) + /// - "OTHER" : Other + core.String? category; + + /// Human-readable information about the purpose and target of the reference + core.String? comment; + + /// The unique string with no spaces necessary to access the package-specific + /// information, metadata, or content within the target location + core.String? locator; + + /// Type of category (e.g. 'npm' for the PACKAGE_MANAGER category) + core.String? type; + + ExternalRef({ + this.category, + this.comment, + this.locator, + this.type, + }); + + ExternalRef.fromJson(core.Map _json) + : this( + category: _json.containsKey('category') + ? _json['category'] as core.String + : null, + comment: _json.containsKey('comment') + ? _json['comment'] as core.String + : null, + locator: _json.containsKey('locator') + ? _json['locator'] as core.String + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (category != null) 'category': category!, + if (comment != null) 'comment': comment!, + if (locator != null) 'locator': locator!, + if (type != null) 'type': type!, + }; +} + /// Container message for hashes of byte content of files, used in source /// messages to verify integrity of source input to the build. class FileHashes { @@ -2758,6 +2950,167 @@ class FileHashes { }; } +/// FileNote represents an SPDX File Information section: +/// https://spdx.github.io/spdx-spec/4-file-information/ +class FileNote { + /// Provide a unique identifier to match analysis information on each specific + /// file in a package + core.List? checksum; + + /// This field provides information about the type of file identified + /// Possible string values are: + /// - "FILE_TYPE_UNSPECIFIED" : Unspecified + /// - "SOURCE" : The file is human readable source code (.c, .html, etc.) + /// - "BINARY" : The file is a compiled object, target image or binary + /// executable (.o, .a, etc.) + /// - "ARCHIVE" : The file represents an archive (.tar, .jar, etc.) + /// - "APPLICATION" : The file is associated with a specific application type + /// (MIME type of application / * ) + /// - "AUDIO" : The file is associated with an audio file (MIME type of audio + /// / * , e.g. .mp3) + /// - "IMAGE" : The file is associated with an picture image file (MIME type + /// of image / * , e.g., .jpg, .gif) + /// - "TEXT" : The file is human readable text file (MIME type of text / * ) + /// - "VIDEO" : The file is associated with a video file type (MIME type of + /// video / * ) + /// - "DOCUMENTATION" : The file serves as documentation + /// - "SPDX" : The file is an SPDX document + /// - "OTHER" : The file doesn't fit into the above categories (generated + /// artifacts, data files, etc.) + core.String? fileType; + + /// Identify the full path and filename that corresponds to the file + /// information in this section + core.String? title; + + FileNote({ + this.checksum, + this.fileType, + this.title, + }); + + FileNote.fromJson(core.Map _json) + : this( + checksum: _json.containsKey('checksum') + ? (_json['checksum'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + fileType: _json.containsKey('fileType') + ? _json['fileType'] as core.String + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + ); + + core.Map toJson() => { + if (checksum != null) 'checksum': checksum!, + if (fileType != null) 'fileType': fileType!, + if (title != null) 'title': title!, + }; +} + +/// FileOccurrence represents an SPDX File Information section: +/// https://spdx.github.io/spdx-spec/4-file-information/ +class FileOccurrence { + /// This field provides a place for the SPDX data creator to record, at the + /// file level, acknowledgements that may be needed to be communicated in some + /// contexts + core.List? attributions; + + /// This field provides a place for the SPDX file creator to record any + /// general comments about the file + core.String? comment; + + /// This field provides a place for the SPDX file creator to record file + /// contributors + core.List? contributors; + + /// Identify the copyright holder of the file, as well as any dates present + core.String? copyright; + + /// This field contains the license information actually found in the file, if + /// any + core.List? filesLicenseInfo; + + /// Uniquely identify any element in an SPDX document which may be referenced + /// by other elements + core.String? id; + + /// This field provides a place for the SPDX file creator to record any + /// relevant background references or analysis that went in to arriving at the + /// Concluded License for a file + core.String? licenseComments; + + /// This field contains the license the SPDX file creator has concluded as + /// governing the file or alternative values if the governing license cannot + /// be determined + core.String? licenseConcluded; + + /// This field provides a place for the SPDX file creator to record license + /// notices or other such related notices found in the file + core.String? notice; + + FileOccurrence({ + this.attributions, + this.comment, + this.contributors, + this.copyright, + this.filesLicenseInfo, + this.id, + this.licenseComments, + this.licenseConcluded, + this.notice, + }); + + FileOccurrence.fromJson(core.Map _json) + : this( + attributions: _json.containsKey('attributions') + ? (_json['attributions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + comment: _json.containsKey('comment') + ? _json['comment'] as core.String + : null, + contributors: _json.containsKey('contributors') + ? (_json['contributors'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + copyright: _json.containsKey('copyright') + ? _json['copyright'] as core.String + : null, + filesLicenseInfo: _json.containsKey('filesLicenseInfo') + ? (_json['filesLicenseInfo'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + id: _json.containsKey('id') ? _json['id'] as core.String : null, + licenseComments: _json.containsKey('licenseComments') + ? _json['licenseComments'] as core.String + : null, + licenseConcluded: _json.containsKey('licenseConcluded') + ? _json['licenseConcluded'] as core.String + : null, + notice: _json.containsKey('notice') + ? _json['notice'] as core.String + : null, + ); + + core.Map toJson() => { + if (attributions != null) 'attributions': attributions!, + if (comment != null) 'comment': comment!, + if (contributors != null) 'contributors': contributors!, + if (copyright != null) 'copyright': copyright!, + if (filesLicenseInfo != null) 'filesLicenseInfo': filesLicenseInfo!, + if (id != null) 'id': id!, + if (licenseComments != null) 'licenseComments': licenseComments!, + if (licenseConcluded != null) 'licenseConcluded': licenseConcluded!, + if (notice != null) 'notice': notice!, + }; +} + /// A set of properties that uniquely identify a given Docker image. class Fingerprint { /// The layer ID of the final layer in the Docker image's v1 representation. @@ -3329,6 +3682,14 @@ class GrafeasV1beta1VulnerabilityDetails { /// The distro assigned severity for this vulnerability when it is available, /// and note provider assigned severity when distro has not yet assigned a /// severity for this vulnerability. + /// + /// When there are multiple PackageIssues for this vulnerability, they can + /// have different effective severities because some might be provided by the + /// distro while others are provided by the language ecosystem for a language + /// pack. For this reason, it is advised to use the effective severity on the + /// PackageIssue level. In the case where multiple PackageIssues have + /// differing effective severities, this field should be the highest severity + /// for any of the PackageIssues. /// Possible string values are: /// - "SEVERITY_UNSPECIFIED" : Unknown. /// - "MINIMAL" : Minimal severity. @@ -4017,6 +4378,9 @@ class Note { /// - "ATTESTATION" : This represents a logical "role" that can attest to /// artifacts. /// - "INTOTO" : This represents an in-toto link. + /// - "SBOM" : This represents a software bill of materials. + /// - "SPDX_PACKAGE" : This represents an SPDX Package. + /// - "SPDX_FILE" : This represents an SPDX File. core.String? kind; /// A detailed description of this note. @@ -4037,9 +4401,21 @@ class Note { /// URLs associated with this note. core.List? relatedUrl; + /// A note describing SPDX Document which represents SBOM. + DocumentNote? sbom; + /// A one sentence description of this note. core.String? shortDescription; + /// A note describing SPDX File. + FileNote? spdxFile; + + /// A note describing SPDX Package. + PackageNote? spdxPackage; + + /// A note describing SPDX Relationship. + RelationshipNote? spdxRelationship; + /// The time this note was last updated. /// /// This field can be used as a filter in list requests. @@ -4065,7 +4441,11 @@ class Note { this.package, this.relatedNoteNames, this.relatedUrl, + this.sbom, this.shortDescription, + this.spdxFile, + this.spdxPackage, + this.spdxRelationship, this.updateTime, this.vulnerability, }); @@ -4122,9 +4502,25 @@ class Note { value as core.Map)) .toList() : null, + sbom: _json.containsKey('sbom') + ? DocumentNote.fromJson( + _json['sbom'] as core.Map) + : null, shortDescription: _json.containsKey('shortDescription') ? _json['shortDescription'] as core.String : null, + spdxFile: _json.containsKey('spdxFile') + ? FileNote.fromJson( + _json['spdxFile'] as core.Map) + : null, + spdxPackage: _json.containsKey('spdxPackage') + ? PackageNote.fromJson( + _json['spdxPackage'] as core.Map) + : null, + spdxRelationship: _json.containsKey('spdxRelationship') + ? RelationshipNote.fromJson(_json['spdxRelationship'] + as core.Map) + : null, updateTime: _json.containsKey('updateTime') ? _json['updateTime'] as core.String : null, @@ -4151,7 +4547,12 @@ class Note { if (relatedNoteNames != null) 'relatedNoteNames': relatedNoteNames!, if (relatedUrl != null) 'relatedUrl': relatedUrl!.map((value) => value.toJson()).toList(), + if (sbom != null) 'sbom': sbom!.toJson(), if (shortDescription != null) 'shortDescription': shortDescription!, + if (spdxFile != null) 'spdxFile': spdxFile!.toJson(), + if (spdxPackage != null) 'spdxPackage': spdxPackage!.toJson(), + if (spdxRelationship != null) + 'spdxRelationship': spdxRelationship!.toJson(), if (updateTime != null) 'updateTime': updateTime!, if (vulnerability != null) 'vulnerability': vulnerability!.toJson(), }; @@ -4203,6 +4604,9 @@ class Occurrence { /// - "ATTESTATION" : This represents a logical "role" that can attest to /// artifacts. /// - "INTOTO" : This represents an in-toto link. + /// - "SBOM" : This represents a software bill of materials. + /// - "SPDX_PACKAGE" : This represents an SPDX Package. + /// - "SPDX_FILE" : This represents an SPDX File. core.String? kind; /// The name of the occurrence in the form of @@ -4227,6 +4631,18 @@ class Occurrence { /// Required. Immutable. Resource? resource; + /// Describes a specific SPDX Document. + DocumentOccurrence? sbom; + + /// Describes a specific SPDX File. + FileOccurrence? spdxFile; + + /// Describes a specific SPDX Package. + PackageOccurrence? spdxPackage; + + /// Describes a specific SPDX Relationship. + RelationshipOccurrence? spdxRelationship; + /// The time this occurrence was last updated. /// /// Output only. @@ -4249,6 +4665,10 @@ class Occurrence { this.noteName, this.remediation, this.resource, + this.sbom, + this.spdxFile, + this.spdxPackage, + this.spdxRelationship, this.updateTime, this.vulnerability, }); @@ -4298,6 +4718,22 @@ class Occurrence { ? Resource.fromJson( _json['resource'] as core.Map) : null, + sbom: _json.containsKey('sbom') + ? DocumentOccurrence.fromJson( + _json['sbom'] as core.Map) + : null, + spdxFile: _json.containsKey('spdxFile') + ? FileOccurrence.fromJson( + _json['spdxFile'] as core.Map) + : null, + spdxPackage: _json.containsKey('spdxPackage') + ? PackageOccurrence.fromJson( + _json['spdxPackage'] as core.Map) + : null, + spdxRelationship: _json.containsKey('spdxRelationship') + ? RelationshipOccurrence.fromJson(_json['spdxRelationship'] + as core.Map) + : null, updateTime: _json.containsKey('updateTime') ? _json['updateTime'] as core.String : null, @@ -4321,6 +4757,11 @@ class Occurrence { if (noteName != null) 'noteName': noteName!, if (remediation != null) 'remediation': remediation!, if (resource != null) 'resource': resource!.toJson(), + if (sbom != null) 'sbom': sbom!.toJson(), + if (spdxFile != null) 'spdxFile': spdxFile!.toJson(), + if (spdxPackage != null) 'spdxPackage': spdxPackage!.toJson(), + if (spdxRelationship != null) + 'spdxRelationship': spdxRelationship!.toJson(), if (updateTime != null) 'updateTime': updateTime!, if (vulnerability != null) 'vulnerability': vulnerability!.toJson(), }; @@ -4370,16 +4811,35 @@ class PackageIssue { /// Required. VulnerabilityLocation? affectedLocation; + /// The distro or language system assigned severity for this vulnerability + /// when that is available and note provider assigned severity when it is not + /// available. + /// + /// Output only. + /// Possible string values are: + /// - "SEVERITY_UNSPECIFIED" : Unknown. + /// - "MINIMAL" : Minimal severity. + /// - "LOW" : Low severity. + /// - "MEDIUM" : Medium severity. + /// - "HIGH" : High severity. + /// - "CRITICAL" : Critical severity. + core.String? effectiveSeverity; + /// The location of the available fix for vulnerability. VulnerabilityLocation? fixedLocation; + /// The type of package (e.g. OS, MAVEN, GO). + core.String? packageType; + /// Deprecated, use Details.effective_severity instead The severity (e.g., /// distro assigned severity) for this vulnerability. core.String? severityName; PackageIssue({ this.affectedLocation, + this.effectiveSeverity, this.fixedLocation, + this.packageType, this.severityName, }); @@ -4389,10 +4849,16 @@ class PackageIssue { ? VulnerabilityLocation.fromJson(_json['affectedLocation'] as core.Map) : null, + effectiveSeverity: _json.containsKey('effectiveSeverity') + ? _json['effectiveSeverity'] as core.String + : null, fixedLocation: _json.containsKey('fixedLocation') ? VulnerabilityLocation.fromJson( _json['fixedLocation'] as core.Map) : null, + packageType: _json.containsKey('packageType') + ? _json['packageType'] as core.String + : null, severityName: _json.containsKey('severityName') ? _json['severityName'] as core.String : null, @@ -4401,11 +4867,248 @@ class PackageIssue { core.Map toJson() => { if (affectedLocation != null) 'affectedLocation': affectedLocation!.toJson(), + if (effectiveSeverity != null) 'effectiveSeverity': effectiveSeverity!, if (fixedLocation != null) 'fixedLocation': fixedLocation!.toJson(), + if (packageType != null) 'packageType': packageType!, if (severityName != null) 'severityName': severityName!, }; } +/// PackageNote represents an SPDX Package Information section: +/// https://spdx.github.io/spdx-spec/3-package-information/ +class PackageNote { + /// Indicates whether the file content of this package has been available for + /// or subjected to analysis when creating the SPDX document + core.bool? analyzed; + + /// A place for the SPDX data creator to record, at the package level, + /// acknowledgements that may be needed to be communicated in some contexts + core.String? attribution; + + /// Provide an independently reproducible mechanism that permits unique + /// identification of a specific package that correlates to the data in this + /// SPDX file + core.String? checksum; + + /// Identify the copyright holders of the package, as well as any dates + /// present + core.String? copyright; + + /// A more detailed description of the package + core.String? detailedDescription; + + /// This section identifies the download Universal Resource Locator (URL), or + /// a specific location within a version control system (VCS) for the package + /// at the time that the SPDX file was created + core.String? downloadLocation; + + /// ExternalRef + core.List? externalRefs; + + /// Contain the license the SPDX file creator has concluded as governing the + /// This field is to contain a list of all licenses found in the package. + /// + /// The relationship between licenses (i.e., conjunctive, disjunctive) is not + /// specified in this field – it is simply a listing of all licenses found + core.List? filesLicenseInfo; + + /// Provide a place for the SPDX file creator to record a web site that serves + /// as the package's home page + core.String? homePage; + + /// List the licenses that have been declared by the authors of the package + core.String? licenseDeclared; + + /// If the package identified in the SPDX file originated from a different + /// person or organization than identified as Package Supplier, this field + /// identifies from where or whom the package originally came + core.String? originator; + + /// A short description of the package + core.String? summaryDescription; + + /// Identify the actual distribution source for the package/directory + /// identified in the SPDX file + core.String? supplier; + + /// Identify the full name of the package as given by the Package Originator + core.String? title; + + /// This field provides an independently reproducible mechanism identifying + /// specific contents of a package based on the actual files (except the SPDX + /// file itself, if it is included in the package) that make up each package + /// and that correlates to the data in this SPDX file + core.String? verificationCode; + + /// Identify the version of the package + core.String? version; + + PackageNote({ + this.analyzed, + this.attribution, + this.checksum, + this.copyright, + this.detailedDescription, + this.downloadLocation, + this.externalRefs, + this.filesLicenseInfo, + this.homePage, + this.licenseDeclared, + this.originator, + this.summaryDescription, + this.supplier, + this.title, + this.verificationCode, + this.version, + }); + + PackageNote.fromJson(core.Map _json) + : this( + analyzed: _json.containsKey('analyzed') + ? _json['analyzed'] as core.bool + : null, + attribution: _json.containsKey('attribution') + ? _json['attribution'] as core.String + : null, + checksum: _json.containsKey('checksum') + ? _json['checksum'] as core.String + : null, + copyright: _json.containsKey('copyright') + ? _json['copyright'] as core.String + : null, + detailedDescription: _json.containsKey('detailedDescription') + ? _json['detailedDescription'] as core.String + : null, + downloadLocation: _json.containsKey('downloadLocation') + ? _json['downloadLocation'] as core.String + : null, + externalRefs: _json.containsKey('externalRefs') + ? (_json['externalRefs'] as core.List) + .map((value) => ExternalRef.fromJson( + value as core.Map)) + .toList() + : null, + filesLicenseInfo: _json.containsKey('filesLicenseInfo') + ? (_json['filesLicenseInfo'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + homePage: _json.containsKey('homePage') + ? _json['homePage'] as core.String + : null, + licenseDeclared: _json.containsKey('licenseDeclared') + ? _json['licenseDeclared'] as core.String + : null, + originator: _json.containsKey('originator') + ? _json['originator'] as core.String + : null, + summaryDescription: _json.containsKey('summaryDescription') + ? _json['summaryDescription'] as core.String + : null, + supplier: _json.containsKey('supplier') + ? _json['supplier'] as core.String + : null, + title: + _json.containsKey('title') ? _json['title'] as core.String : null, + verificationCode: _json.containsKey('verificationCode') + ? _json['verificationCode'] as core.String + : null, + version: _json.containsKey('version') + ? _json['version'] as core.String + : null, + ); + + core.Map toJson() => { + if (analyzed != null) 'analyzed': analyzed!, + if (attribution != null) 'attribution': attribution!, + if (checksum != null) 'checksum': checksum!, + if (copyright != null) 'copyright': copyright!, + if (detailedDescription != null) + 'detailedDescription': detailedDescription!, + if (downloadLocation != null) 'downloadLocation': downloadLocation!, + if (externalRefs != null) + 'externalRefs': externalRefs!.map((value) => value.toJson()).toList(), + if (filesLicenseInfo != null) 'filesLicenseInfo': filesLicenseInfo!, + if (homePage != null) 'homePage': homePage!, + if (licenseDeclared != null) 'licenseDeclared': licenseDeclared!, + if (originator != null) 'originator': originator!, + if (summaryDescription != null) + 'summaryDescription': summaryDescription!, + if (supplier != null) 'supplier': supplier!, + if (title != null) 'title': title!, + if (verificationCode != null) 'verificationCode': verificationCode!, + if (version != null) 'version': version!, + }; +} + +/// PackageOccurrence represents an SPDX Package Information section: +/// https://spdx.github.io/spdx-spec/3-package-information/ +class PackageOccurrence { + /// A place for the SPDX file creator to record any general comments about the + /// package being described + core.String? comment; + + /// Provide the actual file name of the package, or path of the directory + /// being treated as a package + core.String? filename; + + /// Uniquely identify any element in an SPDX document which may be referenced + /// by other elements + core.String? id; + + /// This field provides a place for the SPDX file creator to record any + /// relevant background information or analysis that went in to arriving at + /// the Concluded License for a package + core.String? licenseComments; + + /// package or alternative values, if the governing license cannot be + /// determined + core.String? licenseConcluded; + + /// Provide a place for the SPDX file creator to record any relevant + /// background information or additional comments about the origin of the + /// package + core.String? sourceInfo; + + PackageOccurrence({ + this.comment, + this.filename, + this.id, + this.licenseComments, + this.licenseConcluded, + this.sourceInfo, + }); + + PackageOccurrence.fromJson(core.Map _json) + : this( + comment: _json.containsKey('comment') + ? _json['comment'] as core.String + : null, + filename: _json.containsKey('filename') + ? _json['filename'] as core.String + : null, + id: _json.containsKey('id') ? _json['id'] as core.String : null, + licenseComments: _json.containsKey('licenseComments') + ? _json['licenseComments'] as core.String + : null, + licenseConcluded: _json.containsKey('licenseConcluded') + ? _json['licenseConcluded'] as core.String + : null, + sourceInfo: _json.containsKey('sourceInfo') + ? _json['sourceInfo'] as core.String + : null, + ); + + core.Map toJson() => { + if (comment != null) 'comment': comment!, + if (filename != null) 'filename': filename!, + if (id != null) 'id': id!, + if (licenseComments != null) 'licenseComments': licenseComments!, + if (licenseConcluded != null) 'licenseConcluded': licenseConcluded!, + if (sourceInfo != null) 'sourceInfo': sourceInfo!, + }; +} + /// An attestation wrapper with a PGP-compatible signature. /// /// This message only supports `ATTACHED` signatures, where the payload that is @@ -4508,7 +5211,7 @@ class PgpSignedAttestation { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -4644,6 +5347,147 @@ class RelatedUrl { }; } +/// RelationshipNote represents an SPDX Relationship section: +/// https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ +class RelationshipNote { + RelationshipNote(); + + RelationshipNote.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +/// RelationshipOccurrence represents an SPDX Relationship section: +/// https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ +class RelationshipOccurrence { + /// A place for the SPDX file creator to record any general comments about the + /// relationship + core.String? comment; + + /// Also referred to as SPDXRef-A The source SPDX element (file, package, etc) + core.String? source; + + /// Also referred to as SPDXRef-B The target SPDC element (file, package, etc) + /// In cases where there are "known unknowns", the use of the keyword + /// NOASSERTION can be used The keywords NONE can be used to indicate that an + /// SPDX element (package/file/snippet) has no other elements connected by + /// some relationship to it + core.String? target; + + /// The type of relationship between the source and target SPDX elements + /// Possible string values are: + /// - "TYPE_UNSPECIFIED" : Unspecified + /// - "DESCRIBES" : Is to be used when SPDXRef-DOCUMENT describes SPDXRef-A + /// - "DESCRIBED_BY" : Is to be used when SPDXRef-A is described by + /// SPDXREF-Document + /// - "CONTAINS" : Is to be used when SPDXRef-A contains SPDXRef-B + /// - "CONTAINED_BY" : Is to be used when SPDXRef-A is contained by SPDXRef-B + /// - "DEPENDS_ON" : Is to be used when SPDXRef-A depends on SPDXRef-B + /// - "DEPENDENCY_OF" : Is to be used when SPDXRef-A is dependency of + /// SPDXRef-B + /// - "DEPENDENCY_MANIFEST_OF" : Is to be used when SPDXRef-A is a manifest + /// file that lists a set of dependencies for SPDXRef-B + /// - "BUILD_DEPENDENCY_OF" : Is to be used when SPDXRef-A is a build + /// dependency of SPDXRef-B + /// - "DEV_DEPENDENCY_OF" : Is to be used when SPDXRef-A is a development + /// dependency of SPDXRef-B + /// - "OPTIONAL_DEPENDENCY_OF" : Is to be used when SPDXRef-A is an optional + /// dependency of SPDXRef-B + /// - "PROVIDED_DEPENDENCY_OF" : Is to be used when SPDXRef-A is a to be + /// provided dependency of SPDXRef-B + /// - "TEST_DEPENDENCY_OF" : Is to be used when SPDXRef-A is a test dependency + /// of SPDXRef-B + /// - "RUNTIME_DEPENDENCY_OF" : Is to be used when SPDXRef-A is a dependency + /// required for the execution of SPDXRef-B + /// - "EXAMPLE_OF" : Is to be used when SPDXRef-A is an example of SPDXRef-B + /// - "GENERATES" : Is to be used when SPDXRef-A generates SPDXRef-B + /// - "GENERATED_FROM" : Is to be used when SPDXRef-A was generated from + /// SPDXRef-B + /// - "ANCESTOR_OF" : Is to be used when SPDXRef-A is an ancestor (same + /// lineage but pre-dates) SPDXRef-B + /// - "DESCENDANT_OF" : Is to be used when SPDXRef-A is a descendant of (same + /// lineage but postdates) SPDXRef-B + /// - "VARIANT_OF" : Is to be used when SPDXRef-A is a variant of (same + /// lineage but not clear which came first) SPDXRef-B + /// - "DISTRIBUTION_ARTIFACT" : Is to be used when distributing SPDXRef-A + /// requires that SPDXRef-B also be distributed + /// - "PATCH_FOR" : Is to be used when SPDXRef-A is a patch file for (to be + /// applied to) SPDXRef-B + /// - "PATCH_APPLIED" : Is to be used when SPDXRef-A is a patch file that has + /// been applied to SPDXRef-B + /// - "COPY_OF" : Is to be used when SPDXRef-A is an exact copy of SPDXRef-B + /// - "FILE_ADDED" : Is to be used when SPDXRef-A is a file that was added to + /// SPDXRef-B + /// - "FILE_DELETED" : Is to be used when SPDXRef-A is a file that was deleted + /// from SPDXRef-B + /// - "FILE_MODIFIED" : Is to be used when SPDXRef-A is a file that was + /// modified from SPDXRef-B + /// - "EXPANDED_FROM_ARCHIVE" : Is to be used when SPDXRef-A is expanded from + /// the archive SPDXRef-B + /// - "DYNAMIC_LINK" : Is to be used when SPDXRef-A dynamically links to + /// SPDXRef-B + /// - "STATIC_LINK" : Is to be used when SPDXRef-A statically links to + /// SPDXRef-B + /// - "DATA_FILE_OF" : Is to be used when SPDXRef-A is a data file used in + /// SPDXRef-B + /// - "TEST_CASE_OF" : Is to be used when SPDXRef-A is a test case used in + /// testing SPDXRef-B + /// - "BUILD_TOOL_OF" : Is to be used when SPDXRef-A is used to build + /// SPDXRef-B + /// - "DEV_TOOL_OF" : Is to be used when SPDXRef-A is used as a development + /// tool for SPDXRef-B + /// - "TEST_OF" : Is to be used when SPDXRef-A is used for testing SPDXRef-B + /// - "TEST_TOOL_OF" : Is to be used when SPDXRef-A is used as a test tool for + /// SPDXRef-B + /// - "DOCUMENTATION_OF" : Is to be used when SPDXRef-A provides documentation + /// of SPDXRef-B + /// - "OPTIONAL_COMPONENT_OF" : Is to be used when SPDXRef-A is an optional + /// component of SPDXRef-B + /// - "METAFILE_OF" : Is to be used when SPDXRef-A is a metafile of SPDXRef-B + /// - "PACKAGE_OF" : Is to be used when SPDXRef-A is used as a package as part + /// of SPDXRef-B + /// - "AMENDS" : Is to be used when (current) SPDXRef-DOCUMENT amends the SPDX + /// information in SPDXRef-B + /// - "PREREQUISITE_FOR" : Is to be used when SPDXRef-A is a prerequisite for + /// SPDXRef-B + /// - "HAS_PREREQUISITE" : Is to be used when SPDXRef-A has as a prerequisite + /// SPDXRef-B + /// - "OTHER" : Is to be used for a relationship which has not been defined in + /// the formal SPDX specification. A description of the relationship should be + /// included in the Relationship comments field + core.String? type; + + RelationshipOccurrence({ + this.comment, + this.source, + this.target, + this.type, + }); + + RelationshipOccurrence.fromJson(core.Map _json) + : this( + comment: _json.containsKey('comment') + ? _json['comment'] as core.String + : null, + source: _json.containsKey('source') + ? _json['source'] as core.String + : null, + target: _json.containsKey('target') + ? _json['target'] as core.String + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (comment != null) 'comment': comment!, + if (source != null) 'source': source!, + if (target != null) 'target': target!, + if (type != null) 'type': type!, + }; +} + /// A unique identifier for a Cloud Repo. class RepoId { /// A combination of a project ID and a repo name. diff --git a/generated/googleapis_beta/lib/datacatalog/v1beta1.dart b/generated/googleapis_beta/lib/datacatalog/v1beta1.dart index 4f8552774..f14715581 100644 --- a/generated/googleapis_beta/lib/datacatalog/v1beta1.dart +++ b/generated/googleapis_beta/lib/datacatalog/v1beta1.dart @@ -51,7 +51,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A fully managed and highly scalable data discovery and metadata management /// service. class DataCatalogApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -5252,7 +5253,7 @@ class GoogleCloudDatacatalogV1beta1ViewSpec { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis_beta/lib/dataflow/v1b3.dart b/generated/googleapis_beta/lib/dataflow/v1b3.dart index b4f608e48..29094aa2d 100644 --- a/generated/googleapis_beta/lib/dataflow/v1b3.dart +++ b/generated/googleapis_beta/lib/dataflow/v1b3.dart @@ -54,7 +54,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Manages Google Cloud Dataflow projects on Google Cloud Platform. class DataflowApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -3045,7 +3046,7 @@ class BigQueryIODetails { }; } -/// Metadata for a Cloud BigTable connector used by the job. +/// Metadata for a Cloud Bigtable connector used by the job. class BigTableIODetails { /// InstanceId accessed in the connection. core.String? instanceId; @@ -4776,9 +4777,25 @@ class FlexTemplateRuntimeEnvironment { /// "name": "wrench", "mass": "1kg", "count": "3" }. core.Map? additionalUserLabels; + /// The algorithm to use for autoscaling + /// Possible string values are: + /// - "AUTOSCALING_ALGORITHM_UNKNOWN" : The algorithm is unknown, or + /// unspecified. + /// - "AUTOSCALING_ALGORITHM_NONE" : Disable autoscaling. + /// - "AUTOSCALING_ALGORITHM_BASIC" : Increase worker count over time to + /// reduce job execution time. + core.String? autoscalingAlgorithm; + /// Worker disk size, in gigabytes. core.int? diskSizeGb; + /// If true, save a heap dump before killing a thread or process which is GC + /// thrashing or out of memory. + /// + /// The location of the heap file will either be echoed back to the user, or + /// the user will be given the opportunity to download the heap file. + core.bool? dumpHeapOnOom; + /// Whether to enable Streaming Engine for the job. core.bool? enableStreamingEngine; @@ -4803,14 +4820,16 @@ class FlexTemplateRuntimeEnvironment { /// Key format is: projects//locations//keyRings//cryptoKeys/ core.String? kmsKeyName; + /// The machine type to use for launching the job. + /// + /// The default is n1-standard-1. + core.String? launcherMachineType; + /// The machine type to use for the job. /// /// Defaults to the value from the template if not specified. core.String? machineType; - /// The maximum number of workers to cap scaling at. - core.int? maxNumWorkers; - /// The maximum number of Google Compute Engine instances to be made available /// to your pipeline during execution, from 1 to 1000. core.int? maxWorkers; @@ -4823,6 +4842,13 @@ class FlexTemplateRuntimeEnvironment { /// The initial number of Google Compute Engine instances for the job. core.int? numWorkers; + /// Cloud Storage bucket (directory) to upload heap dumps to the given + /// location. + /// + /// Enabling this implies that heap dumps should be generated on OOM + /// (dump_heap_on_oom is set to true). + core.String? saveHeapDumpsToGcsPath; + /// Docker registry location of container image to use for the 'worker /// harness. /// @@ -4880,16 +4906,19 @@ class FlexTemplateRuntimeEnvironment { FlexTemplateRuntimeEnvironment({ this.additionalExperiments, this.additionalUserLabels, + this.autoscalingAlgorithm, this.diskSizeGb, + this.dumpHeapOnOom, this.enableStreamingEngine, this.flexrsGoal, this.ipConfiguration, this.kmsKeyName, + this.launcherMachineType, this.machineType, - this.maxNumWorkers, this.maxWorkers, this.network, this.numWorkers, + this.saveHeapDumpsToGcsPath, this.sdkContainerImage, this.serviceAccountEmail, this.stagingLocation, @@ -4917,9 +4946,15 @@ class FlexTemplateRuntimeEnvironment { ), ) : null, + autoscalingAlgorithm: _json.containsKey('autoscalingAlgorithm') + ? _json['autoscalingAlgorithm'] as core.String + : null, diskSizeGb: _json.containsKey('diskSizeGb') ? _json['diskSizeGb'] as core.int : null, + dumpHeapOnOom: _json.containsKey('dumpHeapOnOom') + ? _json['dumpHeapOnOom'] as core.bool + : null, enableStreamingEngine: _json.containsKey('enableStreamingEngine') ? _json['enableStreamingEngine'] as core.bool : null, @@ -4932,12 +4967,12 @@ class FlexTemplateRuntimeEnvironment { kmsKeyName: _json.containsKey('kmsKeyName') ? _json['kmsKeyName'] as core.String : null, + launcherMachineType: _json.containsKey('launcherMachineType') + ? _json['launcherMachineType'] as core.String + : null, machineType: _json.containsKey('machineType') ? _json['machineType'] as core.String : null, - maxNumWorkers: _json.containsKey('maxNumWorkers') - ? _json['maxNumWorkers'] as core.int - : null, maxWorkers: _json.containsKey('maxWorkers') ? _json['maxWorkers'] as core.int : null, @@ -4947,6 +4982,9 @@ class FlexTemplateRuntimeEnvironment { numWorkers: _json.containsKey('numWorkers') ? _json['numWorkers'] as core.int : null, + saveHeapDumpsToGcsPath: _json.containsKey('saveHeapDumpsToGcsPath') + ? _json['saveHeapDumpsToGcsPath'] as core.String + : null, sdkContainerImage: _json.containsKey('sdkContainerImage') ? _json['sdkContainerImage'] as core.String : null, @@ -4976,17 +5014,23 @@ class FlexTemplateRuntimeEnvironment { 'additionalExperiments': additionalExperiments!, if (additionalUserLabels != null) 'additionalUserLabels': additionalUserLabels!, + if (autoscalingAlgorithm != null) + 'autoscalingAlgorithm': autoscalingAlgorithm!, if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!, + if (dumpHeapOnOom != null) 'dumpHeapOnOom': dumpHeapOnOom!, if (enableStreamingEngine != null) 'enableStreamingEngine': enableStreamingEngine!, if (flexrsGoal != null) 'flexrsGoal': flexrsGoal!, if (ipConfiguration != null) 'ipConfiguration': ipConfiguration!, if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!, + if (launcherMachineType != null) + 'launcherMachineType': launcherMachineType!, if (machineType != null) 'machineType': machineType!, - if (maxNumWorkers != null) 'maxNumWorkers': maxNumWorkers!, if (maxWorkers != null) 'maxWorkers': maxWorkers!, if (network != null) 'network': network!, if (numWorkers != null) 'numWorkers': numWorkers!, + if (saveHeapDumpsToGcsPath != null) + 'saveHeapDumpsToGcsPath': saveHeapDumpsToGcsPath!, if (sdkContainerImage != null) 'sdkContainerImage': sdkContainerImage!, if (serviceAccountEmail != null) 'serviceAccountEmail': serviceAccountEmail!, @@ -6025,7 +6069,7 @@ class JobMessage { /// /// Will be included in the ListJob response and Job SUMMARY view. class JobMetadata { - /// Identification of a Cloud BigTable source used in the Dataflow job. + /// Identification of a Cloud Bigtable source used in the Dataflow job. core.List? bigTableDetails; /// Identification of a BigQuery source used in the Dataflow job. @@ -6037,7 +6081,7 @@ class JobMetadata { /// Identification of a File source used in the Dataflow job. core.List? fileDetails; - /// Identification of a PubSub source used in the Dataflow job. + /// Identification of a Pub/Sub source used in the Dataflow job. core.List? pubsubDetails; /// The SDK version used to run the job. @@ -8258,7 +8302,8 @@ class ResourceUtilizationReportResponse { /// The environment values to set at runtime. class RuntimeEnvironment { - /// Additional experiment flags for the job. + /// Additional experiment flags for the job, specified with the + /// `--experiments` option. core.List? additionalExperiments; /// Additional user labels to be specified for the job. @@ -8989,7 +9034,7 @@ class Snapshot { /// The project this snapshot belongs to. core.String? projectId; - /// PubSub snapshot metadata. + /// Pub/Sub snapshot metadata. core.List? pubsubMetadata; /// Cloud region where this snapshot lives in, e.g., "us-central1". diff --git a/generated/googleapis_beta/lib/datalabeling/v1beta1.dart b/generated/googleapis_beta/lib/datalabeling/v1beta1.dart index 6406c7de5..ef4bea6c2 100644 --- a/generated/googleapis_beta/lib/datalabeling/v1beta1.dart +++ b/generated/googleapis_beta/lib/datalabeling/v1beta1.dart @@ -54,7 +54,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Public API for Google Cloud AI Data Labeling Service. class DataLabelingApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis_beta/lib/documentai/v1beta3.dart b/generated/googleapis_beta/lib/documentai/v1beta3.dart index 2c6a93e8d..3c3cbb164 100644 --- a/generated/googleapis_beta/lib/documentai/v1beta3.dart +++ b/generated/googleapis_beta/lib/documentai/v1beta3.dart @@ -46,7 +46,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// documents using state-of-the-art Google AI such as natural language, /// computer vision, translation, and AutoML. class DocumentApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -243,7 +244,7 @@ class ProjectsLocationsOperationsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future cancelOperation( + async.Future cancel( core.String name, { core.String? $fields, }) async { @@ -251,11 +252,11 @@ class ProjectsLocationsOperationsResource { if ($fields != null) 'fields': [$fields], }; - final _url = 'v1beta3/' + core.Uri.encodeFull('$name'); + final _url = 'v1beta3/' + core.Uri.encodeFull('$name') + ':cancel'; final _response = await _requester.request( _url, - 'DELETE', + 'POST', queryParams: _queryParams, ); return GoogleProtobufEmpty.fromJson( @@ -833,6 +834,74 @@ class ProjectsLocationsProcessorsProcessorVersionsResource { } } +class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata.fromJson( + core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + +/// Response of the delete documents operation. +class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse { + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(); + + GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + +class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.fromJson( + core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + +/// Response of the batch move documents operation. +class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse { + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(); + + GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The common metadata for long running operations. class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata { /// The creation time of the operation. @@ -1179,6 +1248,40 @@ class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse { }; } +/// Metadata of the import document operation. +class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.fromJson(core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + +/// Response of the import document operation. +class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse { + GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(); + + GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse.fromJson( + // ignore: avoid_unused_constructor_parameters + core.Map _json); + + core.Map toJson() => {}; +} + /// The long running operation metadata for set default processor version /// method. class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata { @@ -1387,6 +1490,29 @@ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse { core.Map toJson() => {}; } +class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata { + /// The basic metadata of the long running operation. + GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata? commonMetadata; + + GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata({ + this.commonMetadata, + }); + + GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata.fromJson( + core.Map _json) + : this( + commonMetadata: _json.containsKey('commonMetadata') + ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson( + _json['commonMetadata'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), + }; +} + /// The long running operation metadata for updating the human review /// configuration. class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata { @@ -1975,8 +2101,10 @@ class GoogleCloudDocumentaiV1beta1Document { }; } -/// A phrase in the text that is a known entity type, such as a person, an -/// organization, or location. +/// An entity that could be a phrase in the text or a property belongs to the +/// document. +/// +/// It is a known entity type, such as a person, an organization, or location. class GoogleCloudDocumentaiV1beta1DocumentEntity { /// Confidence of detected Schema entity. /// @@ -1999,6 +2127,8 @@ class GoogleCloudDocumentaiV1beta1DocumentEntity { /// Text value in the document e.g. `1600 Amphitheatre Pkwy`. /// + /// If the entity is not present in the document, this field will be empty. + /// /// Optional. core.String? mentionText; @@ -2142,21 +2272,29 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { /// https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto GoogleTypeDateTime? datetimeValue; + /// Float value. + core.double? floatValue; + + /// Integer value. + core.int? integerValue; + /// Money value. /// /// See also: /// https://github.com/googleapis/googleapis/blob/master/google/type/money.proto GoogleTypeMoney? moneyValue; - /// Normalized entity value stored as a string. + /// An optional field to store a normalized string. /// - /// This field is populated for supported document type (e.g. Invoice). For - /// some entity types, one of respective 'structured_value' fields may also be - /// populated. - Money/Currency type (`money_value`) is in the ISO 4217 text + /// For some entity types, one of respective 'structured_value' fields may + /// also be populated. Also not all the types of 'structured_value' will be + /// normalized. For example, some processors may not generate float or int + /// normalized text by default. Below are sample formats mapped to structured + /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text /// format. - Date type (`date_value`) is in the ISO 8601 text format. - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. /// - /// Required. + /// Optional. core.String? text; GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue({ @@ -2164,6 +2302,8 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { this.booleanValue, this.dateValue, this.datetimeValue, + this.floatValue, + this.integerValue, this.moneyValue, this.text, }); @@ -2186,6 +2326,12 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { ? GoogleTypeDateTime.fromJson( _json['datetimeValue'] as core.Map) : null, + floatValue: _json.containsKey('floatValue') + ? (_json['floatValue'] as core.num).toDouble() + : null, + integerValue: _json.containsKey('integerValue') + ? _json['integerValue'] as core.int + : null, moneyValue: _json.containsKey('moneyValue') ? GoogleTypeMoney.fromJson( _json['moneyValue'] as core.Map) @@ -2198,6 +2344,8 @@ class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue { if (booleanValue != null) 'booleanValue': booleanValue!, if (dateValue != null) 'dateValue': dateValue!.toJson(), if (datetimeValue != null) 'datetimeValue': datetimeValue!.toJson(), + if (floatValue != null) 'floatValue': floatValue!, + if (integerValue != null) 'integerValue': integerValue!, if (moneyValue != null) 'moneyValue': moneyValue!.toJson(), if (text != null) 'text': text!, }; @@ -2671,6 +2819,18 @@ class GoogleCloudDocumentaiV1beta1DocumentPageDimension { /// A form field detected on the page. class GoogleCloudDocumentaiV1beta1DocumentPageFormField { + /// Created for Labeling UI to export key text. + /// + /// If corrections were made to the text identified by the + /// `field_name.text_anchor`, this field will contain the correction. + core.String? correctedKeyText; + + /// Created for Labeling UI to export value text. + /// + /// If corrections were made to the text identified by the + /// `field_value.text_anchor`, this field will contain the correction. + core.String? correctedValueText; + /// Layout for the FormField name. /// /// e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. @@ -2697,6 +2857,8 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField { core.String? valueType; GoogleCloudDocumentaiV1beta1DocumentPageFormField({ + this.correctedKeyText, + this.correctedValueText, this.fieldName, this.fieldValue, this.nameDetectedLanguages, @@ -2707,6 +2869,12 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField { GoogleCloudDocumentaiV1beta1DocumentPageFormField.fromJson(core.Map _json) : this( + correctedKeyText: _json.containsKey('correctedKeyText') + ? _json['correctedKeyText'] as core.String + : null, + correctedValueText: _json.containsKey('correctedValueText') + ? _json['correctedValueText'] as core.String + : null, fieldName: _json.containsKey('fieldName') ? GoogleCloudDocumentaiV1beta1DocumentPageLayout.fromJson( _json['fieldName'] as core.Map) @@ -2743,6 +2911,9 @@ class GoogleCloudDocumentaiV1beta1DocumentPageFormField { ); core.Map toJson() => { + if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!, + if (correctedValueText != null) + 'correctedValueText': correctedValueText!, if (fieldName != null) 'fieldName': fieldName!.toJson(), if (fieldValue != null) 'fieldValue': fieldValue!.toJson(), if (nameDetectedLanguages != null) @@ -3363,9 +3534,9 @@ class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent { /// The id of the parent provenance. core.int? id; - /// The index of the parent revisions corresponding collection of items (eg. + /// The index of the parent item in the corresponding item list (eg. /// - /// list of entities, properties within entities, etc.) + /// list of entities, properties within entities, etc.) on parent revision. core.int? index; /// The index of the \[Document.revisions\] identifying the parent revision. @@ -4297,8 +4468,10 @@ class GoogleCloudDocumentaiV1beta2Document { }; } -/// A phrase in the text that is a known entity type, such as a person, an -/// organization, or location. +/// An entity that could be a phrase in the text or a property belongs to the +/// document. +/// +/// It is a known entity type, such as a person, an organization, or location. class GoogleCloudDocumentaiV1beta2DocumentEntity { /// Confidence of detected Schema entity. /// @@ -4321,6 +4494,8 @@ class GoogleCloudDocumentaiV1beta2DocumentEntity { /// Text value in the document e.g. `1600 Amphitheatre Pkwy`. /// + /// If the entity is not present in the document, this field will be empty. + /// /// Optional. core.String? mentionText; @@ -4464,21 +4639,29 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { /// https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto GoogleTypeDateTime? datetimeValue; + /// Float value. + core.double? floatValue; + + /// Integer value. + core.int? integerValue; + /// Money value. /// /// See also: /// https://github.com/googleapis/googleapis/blob/master/google/type/money.proto GoogleTypeMoney? moneyValue; - /// Normalized entity value stored as a string. + /// An optional field to store a normalized string. /// - /// This field is populated for supported document type (e.g. Invoice). For - /// some entity types, one of respective 'structured_value' fields may also be - /// populated. - Money/Currency type (`money_value`) is in the ISO 4217 text + /// For some entity types, one of respective 'structured_value' fields may + /// also be populated. Also not all the types of 'structured_value' will be + /// normalized. For example, some processors may not generate float or int + /// normalized text by default. Below are sample formats mapped to structured + /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text /// format. - Date type (`date_value`) is in the ISO 8601 text format. - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. /// - /// Required. + /// Optional. core.String? text; GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue({ @@ -4486,6 +4669,8 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { this.booleanValue, this.dateValue, this.datetimeValue, + this.floatValue, + this.integerValue, this.moneyValue, this.text, }); @@ -4508,6 +4693,12 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { ? GoogleTypeDateTime.fromJson( _json['datetimeValue'] as core.Map) : null, + floatValue: _json.containsKey('floatValue') + ? (_json['floatValue'] as core.num).toDouble() + : null, + integerValue: _json.containsKey('integerValue') + ? _json['integerValue'] as core.int + : null, moneyValue: _json.containsKey('moneyValue') ? GoogleTypeMoney.fromJson( _json['moneyValue'] as core.Map) @@ -4520,6 +4711,8 @@ class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue { if (booleanValue != null) 'booleanValue': booleanValue!, if (dateValue != null) 'dateValue': dateValue!.toJson(), if (datetimeValue != null) 'datetimeValue': datetimeValue!.toJson(), + if (floatValue != null) 'floatValue': floatValue!, + if (integerValue != null) 'integerValue': integerValue!, if (moneyValue != null) 'moneyValue': moneyValue!.toJson(), if (text != null) 'text': text!, }; @@ -5039,6 +5232,18 @@ class GoogleCloudDocumentaiV1beta2DocumentPageDimension { /// A form field detected on the page. class GoogleCloudDocumentaiV1beta2DocumentPageFormField { + /// Created for Labeling UI to export key text. + /// + /// If corrections were made to the text identified by the + /// `field_name.text_anchor`, this field will contain the correction. + core.String? correctedKeyText; + + /// Created for Labeling UI to export value text. + /// + /// If corrections were made to the text identified by the + /// `field_value.text_anchor`, this field will contain the correction. + core.String? correctedValueText; + /// Layout for the FormField name. /// /// e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. @@ -5065,6 +5270,8 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField { core.String? valueType; GoogleCloudDocumentaiV1beta2DocumentPageFormField({ + this.correctedKeyText, + this.correctedValueText, this.fieldName, this.fieldValue, this.nameDetectedLanguages, @@ -5075,6 +5282,12 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField { GoogleCloudDocumentaiV1beta2DocumentPageFormField.fromJson(core.Map _json) : this( + correctedKeyText: _json.containsKey('correctedKeyText') + ? _json['correctedKeyText'] as core.String + : null, + correctedValueText: _json.containsKey('correctedValueText') + ? _json['correctedValueText'] as core.String + : null, fieldName: _json.containsKey('fieldName') ? GoogleCloudDocumentaiV1beta2DocumentPageLayout.fromJson( _json['fieldName'] as core.Map) @@ -5111,6 +5324,9 @@ class GoogleCloudDocumentaiV1beta2DocumentPageFormField { ); core.Map toJson() => { + if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!, + if (correctedValueText != null) + 'correctedValueText': correctedValueText!, if (fieldName != null) 'fieldName': fieldName!.toJson(), if (fieldValue != null) 'fieldValue': fieldValue!.toJson(), if (nameDetectedLanguages != null) @@ -5731,9 +5947,9 @@ class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent { /// The id of the parent provenance. core.int? id; - /// The index of the parent revisions corresponding collection of items (eg. + /// The index of the parent item in the corresponding item list (eg. /// - /// list of entities, properties within entities, etc.) + /// list of entities, properties within entities, etc.) on parent revision. core.int? index; /// The index of the \[Document.revisions\] identifying the parent revision. @@ -7074,8 +7290,10 @@ class GoogleCloudDocumentaiV1beta3Document { }; } -/// A phrase in the text that is a known entity type, such as a person, an -/// organization, or location. +/// An entity that could be a phrase in the text or a property belongs to the +/// document. +/// +/// It is a known entity type, such as a person, an organization, or location. class GoogleCloudDocumentaiV1beta3DocumentEntity { /// Confidence of detected Schema entity. /// @@ -7098,6 +7316,8 @@ class GoogleCloudDocumentaiV1beta3DocumentEntity { /// Text value in the document e.g. `1600 Amphitheatre Pkwy`. /// + /// If the entity is not present in the document, this field will be empty. + /// /// Optional. core.String? mentionText; @@ -7241,21 +7461,29 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue { /// https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto GoogleTypeDateTime? datetimeValue; + /// Float value. + core.double? floatValue; + + /// Integer value. + core.int? integerValue; + /// Money value. /// /// See also: /// https://github.com/googleapis/googleapis/blob/master/google/type/money.proto GoogleTypeMoney? moneyValue; - /// Normalized entity value stored as a string. + /// An optional field to store a normalized string. /// - /// This field is populated for supported document type (e.g. Invoice). For - /// some entity types, one of respective 'structured_value' fields may also be - /// populated. - Money/Currency type (`money_value`) is in the ISO 4217 text + /// For some entity types, one of respective 'structured_value' fields may + /// also be populated. Also not all the types of 'structured_value' will be + /// normalized. For example, some processors may not generate float or int + /// normalized text by default. Below are sample formats mapped to structured + /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text /// format. - Date type (`date_value`) is in the ISO 8601 text format. - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. /// - /// Required. + /// Optional. core.String? text; GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue({ @@ -7263,6 +7491,8 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue { this.booleanValue, this.dateValue, this.datetimeValue, + this.floatValue, + this.integerValue, this.moneyValue, this.text, }); @@ -7285,6 +7515,12 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue { ? GoogleTypeDateTime.fromJson( _json['datetimeValue'] as core.Map) : null, + floatValue: _json.containsKey('floatValue') + ? (_json['floatValue'] as core.num).toDouble() + : null, + integerValue: _json.containsKey('integerValue') + ? _json['integerValue'] as core.int + : null, moneyValue: _json.containsKey('moneyValue') ? GoogleTypeMoney.fromJson( _json['moneyValue'] as core.Map) @@ -7297,6 +7533,8 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue { if (booleanValue != null) 'booleanValue': booleanValue!, if (dateValue != null) 'dateValue': dateValue!.toJson(), if (datetimeValue != null) 'datetimeValue': datetimeValue!.toJson(), + if (floatValue != null) 'floatValue': floatValue!, + if (integerValue != null) 'integerValue': integerValue!, if (moneyValue != null) 'moneyValue': moneyValue!.toJson(), if (text != null) 'text': text!, }; @@ -7819,6 +8057,18 @@ class GoogleCloudDocumentaiV1beta3DocumentPageDimension { /// A form field detected on the page. class GoogleCloudDocumentaiV1beta3DocumentPageFormField { + /// Created for Labeling UI to export key text. + /// + /// If corrections were made to the text identified by the + /// `field_name.text_anchor`, this field will contain the correction. + core.String? correctedKeyText; + + /// Created for Labeling UI to export value text. + /// + /// If corrections were made to the text identified by the + /// `field_value.text_anchor`, this field will contain the correction. + core.String? correctedValueText; + /// Layout for the FormField name. /// /// e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. @@ -7845,6 +8095,8 @@ class GoogleCloudDocumentaiV1beta3DocumentPageFormField { core.String? valueType; GoogleCloudDocumentaiV1beta3DocumentPageFormField({ + this.correctedKeyText, + this.correctedValueText, this.fieldName, this.fieldValue, this.nameDetectedLanguages, @@ -7855,6 +8107,12 @@ class GoogleCloudDocumentaiV1beta3DocumentPageFormField { GoogleCloudDocumentaiV1beta3DocumentPageFormField.fromJson(core.Map _json) : this( + correctedKeyText: _json.containsKey('correctedKeyText') + ? _json['correctedKeyText'] as core.String + : null, + correctedValueText: _json.containsKey('correctedValueText') + ? _json['correctedValueText'] as core.String + : null, fieldName: _json.containsKey('fieldName') ? GoogleCloudDocumentaiV1beta3DocumentPageLayout.fromJson( _json['fieldName'] as core.Map) @@ -7891,6 +8149,9 @@ class GoogleCloudDocumentaiV1beta3DocumentPageFormField { ); core.Map toJson() => { + if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!, + if (correctedValueText != null) + 'correctedValueText': correctedValueText!, if (fieldName != null) 'fieldName': fieldName!.toJson(), if (fieldValue != null) 'fieldValue': fieldValue!.toJson(), if (nameDetectedLanguages != null) @@ -8511,9 +8772,9 @@ class GoogleCloudDocumentaiV1beta3DocumentProvenanceParent { /// The id of the parent provenance. core.int? id; - /// The index of the parent revisions corresponding collection of items (eg. + /// The index of the parent item in the corresponding item list (eg. /// - /// list of entities, properties within entities, etc.) + /// list of entities, properties within entities, etc.) on parent revision. core.int? index; /// The index of the \[Document.revisions\] identifying the parent revision. @@ -9410,7 +9671,7 @@ class GoogleCloudDocumentaiV1beta3Processor { /// feach processor types. In the return, we will have an 'invoice parsing' /// processor with 'available_locations' field only containing 'US'. So the user /// can try to create an 'invoice parsing' processor under the location 'US'. -/// Such attempt of creating under the location 'EU' will fail. Next ID: 7. +/// Such attempt of creating under the location 'EU' will fail. Next ID: 8. class GoogleCloudDocumentaiV1beta3ProcessorType { /// Whether the processor type allows creation. /// diff --git a/generated/googleapis_beta/lib/fcmdata/v1beta1.dart b/generated/googleapis_beta/lib/fcmdata/v1beta1.dart new file mode 100644 index 000000000..d0747d245 --- /dev/null +++ b/generated/googleapis_beta/lib/fcmdata/v1beta1.dart @@ -0,0 +1,528 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Firebase Cloud Messaging Data API - v1beta1 +/// +/// Provides additional information about Firebase Cloud Messaging (FCM) message +/// sends and deliveries. +/// +/// For more information, see +/// +/// Create an instance of [FcmdataApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsAndroidAppsResource] +/// - [ProjectsAndroidAppsDeliveryDataResource] +library fcmdata.v1beta1; + +import 'dart:async' as async; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// Provides additional information about Firebase Cloud Messaging (FCM) message +/// sends and deliveries. +class FcmdataApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProjectsResource get projects => ProjectsResource(_requester); + + FcmdataApi(http.Client client, + {core.String rootUrl = 'https://fcmdata.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsAndroidAppsResource get androidApps => + ProjectsAndroidAppsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsAndroidAppsResource { + final commons.ApiRequester _requester; + + ProjectsAndroidAppsDeliveryDataResource get deliveryData => + ProjectsAndroidAppsDeliveryDataResource(_requester); + + ProjectsAndroidAppsResource(commons.ApiRequester client) + : _requester = client; +} + +class ProjectsAndroidAppsDeliveryDataResource { + final commons.ApiRequester _requester; + + ProjectsAndroidAppsDeliveryDataResource(commons.ApiRequester client) + : _requester = client; + + /// List aggregate delivery data for the given Android application. + /// + /// Request parameters: + /// + /// [parent] - Required. The application for which to list delivery data. + /// Format: `projects/{project_id}/androidApps/{app_id}` + /// Value must have pattern `^projects/\[^/\]+/androidApps/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of entries to return. The service may + /// return fewer than this value. If unspecified, at most 1,000 entries will + /// be returned. The maximum value is 10,000; values above 10,000 will be + /// capped to 10,000. This default may change over time. + /// + /// [pageToken] - A page token, received from a previous + /// `ListAndroidDeliveryDataRequest` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to + /// `ListAndroidDeliveryDataRequest` must match the call that provided the + /// page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future + list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1beta1/' + core.Uri.encodeFull('$parent') + '/deliveryData'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse.fromJson( + _response as core.Map); + } +} + +/// Message delivery data for a given date, app, and analytics label +/// combination. +class GoogleFirebaseFcmDataV1beta1AndroidDeliveryData { + /// The analytics label associated with the messages sent. + /// + /// All messages sent without an analytics label will be grouped together in a + /// single entry. + core.String? analyticsLabel; + + /// The app ID to which the messages were sent. + core.String? appId; + + /// The data for the specified appId, date, and analyticsLabel. + GoogleFirebaseFcmDataV1beta1Data? data; + + /// The date represented by this entry. + GoogleTypeDate? date; + + GoogleFirebaseFcmDataV1beta1AndroidDeliveryData({ + this.analyticsLabel, + this.appId, + this.data, + this.date, + }); + + GoogleFirebaseFcmDataV1beta1AndroidDeliveryData.fromJson(core.Map _json) + : this( + analyticsLabel: _json.containsKey('analyticsLabel') + ? _json['analyticsLabel'] as core.String + : null, + appId: + _json.containsKey('appId') ? _json['appId'] as core.String : null, + data: _json.containsKey('data') + ? GoogleFirebaseFcmDataV1beta1Data.fromJson( + _json['data'] as core.Map) + : null, + date: _json.containsKey('date') + ? GoogleTypeDate.fromJson( + _json['date'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (analyticsLabel != null) 'analyticsLabel': analyticsLabel!, + if (appId != null) 'appId': appId!, + if (data != null) 'data': data!.toJson(), + if (date != null) 'date': date!.toJson(), + }; +} + +/// Data detailing messaging delivery +class GoogleFirebaseFcmDataV1beta1Data { + /// Count of messages accepted by FCM intended to Android devices. + /// + /// The targeted device must have opted in to the collection of usage and + /// diagnostic information. + core.String? countMessagesAccepted; + + /// Additional information about delivery performance for messages that were + /// successfully delivered. + GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents? + deliveryPerformancePercents; + + /// Additional general insights about message delivery. + GoogleFirebaseFcmDataV1beta1MessageInsightPercents? messageInsightPercents; + + /// Mutually exclusive breakdown of message delivery outcomes. + GoogleFirebaseFcmDataV1beta1MessageOutcomePercents? messageOutcomePercents; + + GoogleFirebaseFcmDataV1beta1Data({ + this.countMessagesAccepted, + this.deliveryPerformancePercents, + this.messageInsightPercents, + this.messageOutcomePercents, + }); + + GoogleFirebaseFcmDataV1beta1Data.fromJson(core.Map _json) + : this( + countMessagesAccepted: _json.containsKey('countMessagesAccepted') + ? _json['countMessagesAccepted'] as core.String + : null, + deliveryPerformancePercents: + _json.containsKey('deliveryPerformancePercents') + ? GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents + .fromJson(_json['deliveryPerformancePercents'] + as core.Map) + : null, + messageInsightPercents: _json.containsKey('messageInsightPercents') + ? GoogleFirebaseFcmDataV1beta1MessageInsightPercents.fromJson( + _json['messageInsightPercents'] + as core.Map) + : null, + messageOutcomePercents: _json.containsKey('messageOutcomePercents') + ? GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson( + _json['messageOutcomePercents'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (countMessagesAccepted != null) + 'countMessagesAccepted': countMessagesAccepted!, + if (deliveryPerformancePercents != null) + 'deliveryPerformancePercents': deliveryPerformancePercents!.toJson(), + if (messageInsightPercents != null) + 'messageInsightPercents': messageInsightPercents!.toJson(), + if (messageOutcomePercents != null) + 'messageOutcomePercents': messageOutcomePercents!.toJson(), + }; +} + +/// Overview of delivery performance for messages that were successfully +/// delivered. +/// +/// All percentages are calculated with countMessagesAccepted as the +/// denominator. These categories are not mutually exclusive; a message can be +/// delayed for multiple reasons. +class GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents { + /// The percentage of accepted messages that were delayed because the device + /// was in doze mode. + /// + /// Only + /// [normal priority messages](https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message) + /// should be delayed due to doze mode. + core.double? delayedDeviceDoze; + + /// The percentage of accepted messages that were delayed because the target + /// device was not connected at the time of sending. + /// + /// These messages were eventually delivered when the device reconnected. + core.double? delayedDeviceOffline; + + /// The percentage of accepted messages that were delayed due to message + /// throttling, such as + /// [collapsible message throttling](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_throttling) + /// or + /// [maximum message rate throttling](https://firebase.google.com/docs/cloud-messaging/concept-options#device_throttling). + core.double? delayedMessageThrottled; + + /// The percentage of accepted messages that were delayed because the intended + /// device user-profile was + /// [stopped](https://firebase.google.com/docs/cloud-messaging/android/receive#handling_messages) + /// on the target device at the time of the send. + /// + /// The messages were eventually delivered when the user-profile was started + /// again. + core.double? delayedUserStopped; + + /// The percentage of accepted messages that were delivered to the device + /// without delay from the FCM system. + core.double? deliveredNoDelay; + + GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents({ + this.delayedDeviceDoze, + this.delayedDeviceOffline, + this.delayedMessageThrottled, + this.delayedUserStopped, + this.deliveredNoDelay, + }); + + GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents.fromJson( + core.Map _json) + : this( + delayedDeviceDoze: _json.containsKey('delayedDeviceDoze') + ? (_json['delayedDeviceDoze'] as core.num).toDouble() + : null, + delayedDeviceOffline: _json.containsKey('delayedDeviceOffline') + ? (_json['delayedDeviceOffline'] as core.num).toDouble() + : null, + delayedMessageThrottled: _json.containsKey('delayedMessageThrottled') + ? (_json['delayedMessageThrottled'] as core.num).toDouble() + : null, + delayedUserStopped: _json.containsKey('delayedUserStopped') + ? (_json['delayedUserStopped'] as core.num).toDouble() + : null, + deliveredNoDelay: _json.containsKey('deliveredNoDelay') + ? (_json['deliveredNoDelay'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (delayedDeviceDoze != null) 'delayedDeviceDoze': delayedDeviceDoze!, + if (delayedDeviceOffline != null) + 'delayedDeviceOffline': delayedDeviceOffline!, + if (delayedMessageThrottled != null) + 'delayedMessageThrottled': delayedMessageThrottled!, + if (delayedUserStopped != null) + 'delayedUserStopped': delayedUserStopped!, + if (deliveredNoDelay != null) 'deliveredNoDelay': deliveredNoDelay!, + }; +} + +/// Response message for ListAndroidDeliveryData. +class GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse { + /// The delivery data for the provided app. + /// + /// There will be one entry per combination of app, date, and analytics label. + core.List? + androidDeliveryData; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse({ + this.androidDeliveryData, + this.nextPageToken, + }); + + GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse.fromJson( + core.Map _json) + : this( + androidDeliveryData: _json.containsKey('androidDeliveryData') + ? (_json['androidDeliveryData'] as core.List) + .map( + (value) => GoogleFirebaseFcmDataV1beta1AndroidDeliveryData + .fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (androidDeliveryData != null) + 'androidDeliveryData': + androidDeliveryData!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Additional information about message delivery. +/// +/// All percentages are calculated with countMessagesAccepted as the +/// denominator. +class GoogleFirebaseFcmDataV1beta1MessageInsightPercents { + /// The percentage of accepted messages that had their priority lowered from + /// high to normal due to + /// [app standby buckets](https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message). + core.double? priorityLowered; + + GoogleFirebaseFcmDataV1beta1MessageInsightPercents({ + this.priorityLowered, + }); + + GoogleFirebaseFcmDataV1beta1MessageInsightPercents.fromJson(core.Map _json) + : this( + priorityLowered: _json.containsKey('priorityLowered') + ? (_json['priorityLowered'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (priorityLowered != null) 'priorityLowered': priorityLowered!, + }; +} + +/// Percentage breakdown of message delivery outcomes. +/// +/// These categories are mutually exclusive. All percentages are calculated with +/// countMessagesAccepted as the denominator. These categories may not account +/// for all message outcomes. +class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { + /// The percentage of all accepted messages that were successfully delivered + /// to the device. + core.double? delivered; + + /// The percentage of accepted messages that were dropped because the + /// application was force stopped on the device at the time of delivery and + /// retries were unsuccessful. + core.double? droppedAppForceStopped; + + /// The percentage of accepted messages that were dropped because the target + /// device is inactive. + /// + /// FCM will drop messages if the target device is deemed inactive by our + /// servers. If a device does reconnect, we call + /// \[OnDeletedMessages()\](https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages) + /// in our SDK instead of delivering the messages. + core.double? droppedDeviceInactive; + + /// The percentage of accepted messages that were dropped due to \[too many + /// undelivered non-collapsible + /// messages\](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages). + /// + /// Specifically, each app instance can only have 100 pending messages stored + /// on our servers for a device which is disconnected. When that device + /// reconnects, those messages are delivered. When there are more than the + /// maximum pending messages, we call + /// \[OnDeletedMessages()\](https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages) + /// in our SDK instead of delivering the messages. + core.double? droppedTooManyPendingMessages; + + /// The percentage of messages accepted on this day that were not dropped and + /// not delivered, due to the device being disconnected (as of the end of the + /// America/Los_Angeles day when the message was sent to FCM). + /// + /// A portion of these messages will be delivered the next day when the device + /// connects but others may be destined to devices that ultimately never + /// reconnect. + core.double? pending; + + GoogleFirebaseFcmDataV1beta1MessageOutcomePercents({ + this.delivered, + this.droppedAppForceStopped, + this.droppedDeviceInactive, + this.droppedTooManyPendingMessages, + this.pending, + }); + + GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson(core.Map _json) + : this( + delivered: _json.containsKey('delivered') + ? (_json['delivered'] as core.num).toDouble() + : null, + droppedAppForceStopped: _json.containsKey('droppedAppForceStopped') + ? (_json['droppedAppForceStopped'] as core.num).toDouble() + : null, + droppedDeviceInactive: _json.containsKey('droppedDeviceInactive') + ? (_json['droppedDeviceInactive'] as core.num).toDouble() + : null, + droppedTooManyPendingMessages: _json + .containsKey('droppedTooManyPendingMessages') + ? (_json['droppedTooManyPendingMessages'] as core.num).toDouble() + : null, + pending: _json.containsKey('pending') + ? (_json['pending'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (delivered != null) 'delivered': delivered!, + if (droppedAppForceStopped != null) + 'droppedAppForceStopped': droppedAppForceStopped!, + if (droppedDeviceInactive != null) + 'droppedDeviceInactive': droppedDeviceInactive!, + if (droppedTooManyPendingMessages != null) + 'droppedTooManyPendingMessages': droppedTooManyPendingMessages!, + if (pending != null) 'pending': pending!, + }; +} + +/// Represents a whole or partial calendar date, such as a birthday. +/// +/// The time of day and time zone are either specified elsewhere or are +/// insignificant. The date is relative to the Gregorian Calendar. This can +/// represent one of the following: * A full date, with non-zero year, month, +/// and day values * A month and day value, with a zero year, such as an +/// anniversary * A year on its own, with zero month and day values * A year and +/// month value, with a zero day, such as a credit card expiration date Related +/// types are google.type.TimeOfDay and `google.protobuf.Timestamp`. +class GoogleTypeDate { + /// Day of a month. + /// + /// Must be from 1 to 31 and valid for the year and month, or 0 to specify a + /// year by itself or a year and month where the day isn't significant. + core.int? day; + + /// Month of a year. + /// + /// Must be from 1 to 12, or 0 to specify a year without a month and day. + core.int? month; + + /// Year of the date. + /// + /// Must be from 1 to 9999, or 0 to specify a date without a year. + core.int? year; + + GoogleTypeDate({ + this.day, + this.month, + this.year, + }); + + GoogleTypeDate.fromJson(core.Map _json) + : this( + day: _json.containsKey('day') ? _json['day'] as core.int : null, + month: _json.containsKey('month') ? _json['month'] as core.int : null, + year: _json.containsKey('year') ? _json['year'] as core.int : null, + ); + + core.Map toJson() => { + if (day != null) 'day': day!, + if (month != null) 'month': month!, + if (year != null) 'year': year!, + }; +} diff --git a/generated/googleapis_beta/lib/firebase/v1beta1.dart b/generated/googleapis_beta/lib/firebase/v1beta1.dart index 48021d1a3..2776e8196 100644 --- a/generated/googleapis_beta/lib/firebase/v1beta1.dart +++ b/generated/googleapis_beta/lib/firebase/v1beta1.dart @@ -49,11 +49,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Firebase projects, including a project's Firebase resources and Firebase /// apps. class FirebaseManagementApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; diff --git a/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart b/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart index e9d3ee567..34d203207 100644 --- a/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart +++ b/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart @@ -69,7 +69,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// yourself. /// [Learn more about App Check](https://firebase.google.com/docs/app-check). class FirebaseappcheckApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart b/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart index 9c5f1ce3a..9224fdbdf 100644 --- a/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart +++ b/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart @@ -43,11 +43,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Firebase Realtime Database Management API enables programmatic /// provisioning and management of Realtime Database instances. class FirebaseRealtimeDatabaseApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; - /// View your data across Google Cloud Platform services + /// View your data across Google Cloud services and see the email address of + /// your Google Account static const cloudPlatformReadOnlyScope = 'https://www.googleapis.com/auth/cloud-platform.read-only'; diff --git a/generated/googleapis_beta/lib/firebasestorage/v1beta.dart b/generated/googleapis_beta/lib/firebasestorage/v1beta.dart index 002bf2427..0359c15bf 100644 --- a/generated/googleapis_beta/lib/firebasestorage/v1beta.dart +++ b/generated/googleapis_beta/lib/firebasestorage/v1beta.dart @@ -40,7 +40,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Cloud Storage for Firebase API enables programmatic management of Cloud /// Storage buckets for use in Firebase projects class FirebasestorageApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis_beta/lib/ideahub/v1beta.dart b/generated/googleapis_beta/lib/ideahub/v1beta.dart new file mode 100644 index 000000000..a3682aa84 --- /dev/null +++ b/generated/googleapis_beta/lib/ideahub/v1beta.dart @@ -0,0 +1,565 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Idea Hub API - v1beta +/// +/// For more information, see +/// +/// +/// Create an instance of [IdeahubApi] to access these resources: +/// +/// - [PlatformsResource] +/// - [PlatformsPropertiesResource] +/// - [PlatformsPropertiesIdeaStatesResource] +/// - [PlatformsPropertiesIdeasResource] +/// - [PlatformsPropertiesLocalesResource] +/// - [PlatformsPropertiesTopicStatesResource] +library ideahub.v1beta; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +class IdeahubApi { + final commons.ApiRequester _requester; + + PlatformsResource get platforms => PlatformsResource(_requester); + + IdeahubApi(http.Client client, + {core.String rootUrl = 'https://ideahub.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class PlatformsResource { + final commons.ApiRequester _requester; + + PlatformsPropertiesResource get properties => + PlatformsPropertiesResource(_requester); + + PlatformsResource(commons.ApiRequester client) : _requester = client; +} + +class PlatformsPropertiesResource { + final commons.ApiRequester _requester; + + PlatformsPropertiesIdeaStatesResource get ideaStates => + PlatformsPropertiesIdeaStatesResource(_requester); + PlatformsPropertiesIdeasResource get ideas => + PlatformsPropertiesIdeasResource(_requester); + PlatformsPropertiesLocalesResource get locales => + PlatformsPropertiesLocalesResource(_requester); + PlatformsPropertiesTopicStatesResource get topicStates => + PlatformsPropertiesTopicStatesResource(_requester); + + PlatformsPropertiesResource(commons.ApiRequester client) + : _requester = client; +} + +class PlatformsPropertiesIdeaStatesResource { + final commons.ApiRequester _requester; + + PlatformsPropertiesIdeaStatesResource(commons.ApiRequester client) + : _requester = client; + + /// Update an idea state resource. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Unique identifier for the idea state. Format: + /// platforms/{platform}/properties/{property}/ideaStates/{idea_state} + /// Value must have pattern + /// `^platforms/\[^/\]+/properties/\[^/\]+/ideaStates/\[^/\]+$`. + /// + /// [updateMask] - The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleSearchIdeahubV1betaIdeaState]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleSearchIdeahubV1betaIdeaState request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1beta/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleSearchIdeahubV1betaIdeaState.fromJson( + _response as core.Map); + } +} + +class PlatformsPropertiesIdeasResource { + final commons.ApiRequester _requester; + + PlatformsPropertiesIdeasResource(commons.ApiRequester client) + : _requester = client; + + /// List ideas for a given Creator and filter and sort options. + /// + /// Request parameters: + /// + /// [parent] - Required. If defined, specifies the creator for which to filter + /// by. Format: publishers/{publisher}/properties/{property} + /// Value must have pattern `^platforms/\[^/\]+/properties/\[^/\]+$`. + /// + /// [filter] - Allows filtering. Supported syntax: * Filter expressions are + /// made up of one or more restrictions. * Restrictions are implicitly + /// combined, as if the `AND` operator was always used. The `OR` operator is + /// currently unsupported. * Supported functions: - `saved(bool)`: If set to + /// true, fetches only saved ideas. If set to false, fetches all except saved + /// ideas. Can't be simultaneously used with `dismissed(bool)`. - + /// `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be + /// simultaneously used with `saved(bool)`. The `false` value is currently + /// unsupported. Examples: * `saved(true)` * `saved(false)` * + /// `dismissed(true)` The length of this field should be no more than 500 + /// characters. + /// + /// [orderBy] - Order semantics described below. + /// + /// [pageSize] - The maximum number of ideas per page. If unspecified, at most + /// 10 ideas will be returned. The maximum value is 2000; values above 2000 + /// will be coerced to 2000. + /// + /// [pageToken] - Used to fetch next page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleSearchIdeahubV1betaListIdeasResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.String? filter, + core.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1beta/' + core.Uri.encodeFull('$parent') + '/ideas'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleSearchIdeahubV1betaListIdeasResponse.fromJson( + _response as core.Map); + } +} + +class PlatformsPropertiesLocalesResource { + final commons.ApiRequester _requester; + + PlatformsPropertiesLocalesResource(commons.ApiRequester client) + : _requester = client; + + /// Returns which locales ideas are available in for a given Creator. + /// + /// Request parameters: + /// + /// [parent] - Required. The web property to check idea availability for + /// Format: platforms/{platform}/property/{property} + /// Value must have pattern `^platforms/\[^/\]+/properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of locales to return. The service may + /// return fewer than this value. If unspecified, at most 100 locales will be + /// returned. The maximum value is 100; values above 100 will be coerced to + /// 100. + /// + /// [pageToken] - A page token, received from a previous + /// `ListAvailableLocales` call. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListAvailableLocales` + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleSearchIdeahubV1betaListAvailableLocalesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final _queryParams = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1beta/' + core.Uri.encodeFull('$parent') + '/locales'; + + final _response = await _requester.request( + _url, + 'GET', + queryParams: _queryParams, + ); + return GoogleSearchIdeahubV1betaListAvailableLocalesResponse.fromJson( + _response as core.Map); + } +} + +class PlatformsPropertiesTopicStatesResource { + final commons.ApiRequester _requester; + + PlatformsPropertiesTopicStatesResource(commons.ApiRequester client) + : _requester = client; + + /// Update a topic state resource. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Unique identifier for the topic state. Format: + /// platforms/{platform}/properties/{property}/topicStates/{topic_state} + /// Value must have pattern + /// `^platforms/\[^/\]+/properties/\[^/\]+/topicStates/\[^/\]+$`. + /// + /// [updateMask] - The list of fields to be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleSearchIdeahubV1betaTopicState]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future patch( + GoogleSearchIdeahubV1betaTopicState request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final _body = convert.json.encode(request.toJson()); + final _queryParams = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final _url = 'v1beta/' + core.Uri.encodeFull('$name'); + + final _response = await _requester.request( + _url, + 'PATCH', + body: _body, + queryParams: _queryParams, + ); + return GoogleSearchIdeahubV1betaTopicState.fromJson( + _response as core.Map); + } +} + +/// Represents locales that are available for a web property. +class GoogleSearchIdeahubV1betaAvailableLocale { + /// A string in BCP 47 format, without a resource prefix. + core.String? locale; + + /// A string in BCP 47 format, prefixed with the platform and property name, + /// and "locales/". + /// + /// Format: platforms/{platform}/properties/{property}/locales/{locale} + core.String? name; + + GoogleSearchIdeahubV1betaAvailableLocale({ + this.locale, + this.name, + }); + + GoogleSearchIdeahubV1betaAvailableLocale.fromJson(core.Map _json) + : this( + locale: _json.containsKey('locale') + ? _json['locale'] as core.String + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (locale != null) 'locale': locale!, + if (name != null) 'name': name!, + }; +} + +/// A single Idea that we want to show the end user. +class GoogleSearchIdeahubV1betaIdea { + /// Unique identifier for the idea. + /// + /// Format: ideas/{ideaId} + core.String? name; + + /// The idea’s text. + core.String? text; + + /// The Topics that match the idea. + core.List? topics; + + GoogleSearchIdeahubV1betaIdea({ + this.name, + this.text, + this.topics, + }); + + GoogleSearchIdeahubV1betaIdea.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + text: _json.containsKey('text') ? _json['text'] as core.String : null, + topics: _json.containsKey('topics') + ? (_json['topics'] as core.List) + .map((value) => + GoogleSearchIdeahubV1betaTopic.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (text != null) 'text': text!, + if (topics != null) + 'topics': topics!.map((value) => value.toJson()).toList(), + }; +} + +/// Represents idea state specific to a web property. +class GoogleSearchIdeahubV1betaIdeaState { + /// Whether the idea is dismissed. + core.bool? dismissed; + + /// Unique identifier for the idea state. + /// + /// Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state} + core.String? name; + + /// Whether the idea is saved. + core.bool? saved; + + GoogleSearchIdeahubV1betaIdeaState({ + this.dismissed, + this.name, + this.saved, + }); + + GoogleSearchIdeahubV1betaIdeaState.fromJson(core.Map _json) + : this( + dismissed: _json.containsKey('dismissed') + ? _json['dismissed'] as core.bool + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + saved: + _json.containsKey('saved') ? _json['saved'] as core.bool : null, + ); + + core.Map toJson() => { + if (dismissed != null) 'dismissed': dismissed!, + if (name != null) 'name': name!, + if (saved != null) 'saved': saved!, + }; +} + +/// Response for whether ideas are available for a given web property on a +/// platform, for the currently logged-in user. +class GoogleSearchIdeahubV1betaListAvailableLocalesResponse { + /// Locales for which ideas are available for the given Creator. + core.List? availableLocales; + + /// A token that can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleSearchIdeahubV1betaListAvailableLocalesResponse({ + this.availableLocales, + this.nextPageToken, + }); + + GoogleSearchIdeahubV1betaListAvailableLocalesResponse.fromJson(core.Map _json) + : this( + availableLocales: _json.containsKey('availableLocales') + ? (_json['availableLocales'] as core.List) + .map((value) => + GoogleSearchIdeahubV1betaAvailableLocale.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (availableLocales != null) + 'availableLocales': + availableLocales!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +class GoogleSearchIdeahubV1betaListIdeasResponse { + /// Results for the ListIdeasRequest. + core.List? ideas; + + /// Used to fetch the next page in a subsequent request. + core.String? nextPageToken; + + GoogleSearchIdeahubV1betaListIdeasResponse({ + this.ideas, + this.nextPageToken, + }); + + GoogleSearchIdeahubV1betaListIdeasResponse.fromJson(core.Map _json) + : this( + ideas: _json.containsKey('ideas') + ? (_json['ideas'] as core.List) + .map((value) => + GoogleSearchIdeahubV1betaIdea.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: _json.containsKey('nextPageToken') + ? _json['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (ideas != null) + 'ideas': ideas!.map((value) => value.toJson()).toList(), + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Represents a Topic umbrella for a list of questions that a Creator may want +/// to respond to. +class GoogleSearchIdeahubV1betaTopic { + /// String displayed to the creator indicating the name of the Topic. + core.String? displayName; + + /// The mID of the topic. + core.String? mid; + + /// Unique identifier for the topic. + /// + /// Format: topics/{topic} + core.String? name; + + GoogleSearchIdeahubV1betaTopic({ + this.displayName, + this.mid, + this.name, + }); + + GoogleSearchIdeahubV1betaTopic.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + mid: _json.containsKey('mid') ? _json['mid'] as core.String : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (mid != null) 'mid': mid!, + if (name != null) 'name': name!, + }; +} + +/// Represents topic state specific to a web property. +class GoogleSearchIdeahubV1betaTopicState { + /// Whether the topic is dismissed. + core.bool? dismissed; + + /// Unique identifier for the topic state. + /// + /// Format: + /// platforms/{platform}/properties/{property}/topicStates/{topic_state} + core.String? name; + + /// Whether the topic is saved. + core.bool? saved; + + GoogleSearchIdeahubV1betaTopicState({ + this.dismissed, + this.name, + this.saved, + }); + + GoogleSearchIdeahubV1betaTopicState.fromJson(core.Map _json) + : this( + dismissed: _json.containsKey('dismissed') + ? _json['dismissed'] as core.bool + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + saved: + _json.containsKey('saved') ? _json['saved'] as core.bool : null, + ); + + core.Map toJson() => { + if (dismissed != null) 'dismissed': dismissed!, + if (name != null) 'name': name!, + if (saved != null) 'saved': saved!, + }; +} diff --git a/generated/googleapis_beta/lib/lifesciences/v2beta.dart b/generated/googleapis_beta/lib/lifesciences/v2beta.dart index 60d8155f0..0e4afe9c2 100644 --- a/generated/googleapis_beta/lib/lifesciences/v2beta.dart +++ b/generated/googleapis_beta/lib/lifesciences/v2beta.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// Cloud Life Sciences is a suite of services and tools for managing, /// processing, and transforming life sciences data. class CloudLifeSciencesApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis_beta/lib/metastore/v1beta.dart b/generated/googleapis_beta/lib/metastore/v1beta.dart index 05e090716..e36a94e91 100644 --- a/generated/googleapis_beta/lib/metastore/v1beta.dart +++ b/generated/googleapis_beta/lib/metastore/v1beta.dart @@ -44,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Dataproc Metastore API is used to manage the lifecycle and configuration /// of metastore services. class DataprocMetastoreApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1563,6 +1564,11 @@ class Backup { /// Immutable. core.String? name; + /// Services that are restoring from the backup. + /// + /// Output only. + core.List? restoringServices; + /// The revision of the service at the time of backup. /// /// Output only. @@ -1585,6 +1591,7 @@ class Backup { this.description, this.endTime, this.name, + this.restoringServices, this.serviceRevision, this.state, }); @@ -1601,6 +1608,11 @@ class Backup { ? _json['endTime'] as core.String : null, name: _json.containsKey('name') ? _json['name'] as core.String : null, + restoringServices: _json.containsKey('restoringServices') + ? (_json['restoringServices'] as core.List) + .map((value) => value as core.String) + .toList() + : null, serviceRevision: _json.containsKey('serviceRevision') ? Service.fromJson(_json['serviceRevision'] as core.Map) @@ -1614,6 +1626,7 @@ class Backup { if (description != null) 'description': description!, if (endTime != null) 'endTime': endTime!, if (name != null) 'name': name!, + if (restoringServices != null) 'restoringServices': restoringServices!, if (serviceRevision != null) 'serviceRevision': serviceRevision!.toJson(), if (state != null) 'state': state!, @@ -1781,6 +1794,40 @@ class DatabaseDump { }; } +/// Specifies how metastore metadata should be integrated with the Dataplex +/// service. +class DataplexConfig { + /// A reference to the Lake resources that this metastore service is attached + /// to. + /// + /// The key is the lake resource name. Example: + /// projects/{project_number}/locations/{location_id}/lakes/{lake_id}. + core.Map? lakeResources; + + DataplexConfig({ + this.lakeResources, + }); + + DataplexConfig.fromJson(core.Map _json) + : this( + lakeResources: _json.containsKey('lakeResources') + ? (_json['lakeResources'] as core.Map) + .map( + (key, item) => core.MapEntry( + key, + Lake.fromJson(item as core.Map), + ), + ) + : null, + ); + + core.Map toJson() => { + if (lakeResources != null) + 'lakeResources': lakeResources! + .map((key, item) => core.MapEntry(key, item.toJson())), + }; +} + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -1963,6 +2010,17 @@ class HiveMetastoreConfig { /// The mappings override system defaults (some keys cannot be overridden). core.Map? configOverrides; + /// The protocol to use for the metastore service endpoint. + /// + /// If unspecified, defaults to THRIFT. + /// Possible string values are: + /// - "ENDPOINT_PROTOCOL_UNSPECIFIED" : The protocol is not set. + /// - "THRIFT" : Use the legacy Apache Thrift protocol for the metastore + /// service endpoint. + /// - "GRPC" : Use the modernized gRPC protocol for the metastore service + /// endpoint. + core.String? endpointProtocol; + /// Information used to configure the Hive metastore service as a service /// principal in a Kerberos realm. /// @@ -1978,6 +2036,7 @@ class HiveMetastoreConfig { HiveMetastoreConfig({ this.configOverrides, + this.endpointProtocol, this.kerberosConfig, this.version, }); @@ -1994,6 +2053,9 @@ class HiveMetastoreConfig { ), ) : null, + endpointProtocol: _json.containsKey('endpointProtocol') + ? _json['endpointProtocol'] as core.String + : null, kerberosConfig: _json.containsKey('kerberosConfig') ? KerberosConfig.fromJson(_json['kerberosConfig'] as core.Map) @@ -2005,6 +2067,7 @@ class HiveMetastoreConfig { core.Map toJson() => { if (configOverrides != null) 'configOverrides': configOverrides!, + if (endpointProtocol != null) 'endpointProtocol': endpointProtocol!, if (kerberosConfig != null) 'kerberosConfig': kerberosConfig!.toJson(), if (version != null) 'version': version!, }; @@ -2086,6 +2149,27 @@ class KerberosConfig { }; } +/// Represents a Lake resource +class Lake { + /// The Lake resource name. + /// + /// Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id} + core.String? name; + + Lake({ + this.name, + }); + + Lake.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + /// Response message for DataprocMetastore.ListBackups. class ListBackupsResponse { /// The backups of the specified service. @@ -2602,8 +2686,12 @@ class MetadataIntegration { /// The integration config for the Data Catalog service. DataCatalogConfig? dataCatalogConfig; + /// The integration config for the Dataplex service. + DataplexConfig? dataplexConfig; + MetadataIntegration({ this.dataCatalogConfig, + this.dataplexConfig, }); MetadataIntegration.fromJson(core.Map _json) @@ -2612,11 +2700,16 @@ class MetadataIntegration { ? DataCatalogConfig.fromJson(_json['dataCatalogConfig'] as core.Map) : null, + dataplexConfig: _json.containsKey('dataplexConfig') + ? DataplexConfig.fromJson(_json['dataplexConfig'] + as core.Map) + : null, ); core.Map toJson() => { if (dataCatalogConfig != null) 'dataCatalogConfig': dataCatalogConfig!.toJson(), + if (dataplexConfig != null) 'dataplexConfig': dataplexConfig!.toJson(), }; } @@ -2860,7 +2953,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the IAM /// documentation (https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis_beta/lib/networkconnectivity/v1alpha1.dart b/generated/googleapis_beta/lib/networkconnectivity/v1alpha1.dart index 1dd16e5b2..9e6aa38c8 100644 --- a/generated/googleapis_beta/lib/networkconnectivity/v1alpha1.dart +++ b/generated/googleapis_beta/lib/networkconnectivity/v1alpha1.dart @@ -17,7 +17,7 @@ /// The Network Connectivity API provides access to Network Connectivity Center. /// /// For more information, see -/// +/// /// /// Create an instance of [NetworkconnectivityApi] to access these resources: /// @@ -25,7 +25,6 @@ /// - [ProjectsLocationsResource] /// - [ProjectsLocationsGlobalResource] /// - [ProjectsLocationsGlobalHubsResource] -/// - [ProjectsLocationsGlobalPolicyBasedRoutesResource] /// - [ProjectsLocationsInternalRangesResource] /// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsSpokesResource] @@ -45,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Network Connectivity API provides access to Network Connectivity Center. class NetworkconnectivityApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -176,8 +176,6 @@ class ProjectsLocationsGlobalResource { ProjectsLocationsGlobalHubsResource get hubs => ProjectsLocationsGlobalHubsResource(_requester); - ProjectsLocationsGlobalPolicyBasedRoutesResource get policyBasedRoutes => - ProjectsLocationsGlobalPolicyBasedRoutesResource(_requester); ProjectsLocationsGlobalResource(commons.ApiRequester client) : _requester = client; @@ -604,163 +602,6 @@ class ProjectsLocationsGlobalHubsResource { } } -class ProjectsLocationsGlobalPolicyBasedRoutesResource { - final commons.ApiRequester _requester; - - ProjectsLocationsGlobalPolicyBasedRoutesResource(commons.ApiRequester client) - : _requester = client; - - /// Gets the access control policy for a resource. - /// - /// Returns an empty policy if the resource exists and does not have a policy - /// set. - /// - /// Request parameters: - /// - /// [resource] - REQUIRED: The resource for which the policy is being - /// requested. See the operation documentation for the appropriate value for - /// this field. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/global/policyBasedRoutes/\[^/\]+$`. - /// - /// [options_requestedPolicyVersion] - Optional. The policy format version to - /// be returned. Valid values are 0, 1, and 3. Requests specifying an invalid - /// value will be rejected. Requests for policies with any conditional - /// bindings must specify version 3. Policies without any conditional bindings - /// may specify any valid value or leave the field unset. To learn which - /// resources support conditions in their IAM policies, see the - /// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Policy]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future getIamPolicy( - core.String resource, { - core.int? options_requestedPolicyVersion, - core.String? $fields, - }) async { - final _queryParams = >{ - if (options_requestedPolicyVersion != null) - 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'v1alpha1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; - - final _response = await _requester.request( - _url, - 'GET', - queryParams: _queryParams, - ); - return Policy.fromJson(_response as core.Map); - } - - /// Sets the access control policy on the specified resource. - /// - /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, - /// and `PERMISSION_DENIED` errors. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - REQUIRED: The resource for which the policy is being - /// specified. See the operation documentation for the appropriate value for - /// this field. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/global/policyBasedRoutes/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Policy]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future setIamPolicy( - SetIamPolicyRequest request, - core.String resource, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'v1alpha1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return Policy.fromJson(_response as core.Map); - } - - /// Returns permissions that a caller has on the specified resource. - /// - /// If the resource does not exist, this will return an empty set of - /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to - /// be used for building permission-aware UIs and command-line tools, not for - /// authorization checking. This operation may "fail open" without warning. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - REQUIRED: The resource for which the policy detail is being - /// requested. See the operation documentation for the appropriate value for - /// this field. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/global/policyBasedRoutes/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [TestIamPermissionsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future testIamPermissions( - TestIamPermissionsRequest request, - core.String resource, { - core.String? $fields, - }) async { - final _body = convert.json.encode(request.toJson()); - final _queryParams = >{ - if ($fields != null) 'fields': [$fields], - }; - - final _url = - 'v1alpha1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; - - final _response = await _requester.request( - _url, - 'POST', - body: _body, - queryParams: _queryParams, - ); - return TestIamPermissionsResponse.fromJson( - _response as core.Map); - } -} - class ProjectsLocationsInternalRangesResource { final commons.ApiRequester _requester; @@ -2401,7 +2242,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { diff --git a/generated/googleapis_beta/lib/networksecurity/v1beta1.dart b/generated/googleapis_beta/lib/networksecurity/v1beta1.dart index 728555818..02faa21b6 100644 --- a/generated/googleapis_beta/lib/networksecurity/v1beta1.dart +++ b/generated/googleapis_beta/lib/networksecurity/v1beta1.dart @@ -39,7 +39,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; class NetworkSecurityApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -2211,7 +2212,7 @@ class GoogleIamV1Binding { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class GoogleIamV1Policy { diff --git a/generated/googleapis_beta/lib/ondemandscanning/v1beta1.dart b/generated/googleapis_beta/lib/ondemandscanning/v1beta1.dart index e182f3cf3..ee62b48d1 100644 --- a/generated/googleapis_beta/lib/ondemandscanning/v1beta1.dart +++ b/generated/googleapis_beta/lib/ondemandscanning/v1beta1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// A service to scan container images for vulnerabilities. class OnDemandScanningApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -712,6 +713,9 @@ class AttestationOccurrence { /// Details of a build occurrence. class BuildOccurrence { + /// In-toto Provenance representation as defined in spec. + InTotoProvenance? intotoProvenance; + /// The actual provenance for the build. /// /// Required. @@ -730,12 +734,17 @@ class BuildOccurrence { core.String? provenanceBytes; BuildOccurrence({ + this.intotoProvenance, this.provenance, this.provenanceBytes, }); BuildOccurrence.fromJson(core.Map _json) : this( + intotoProvenance: _json.containsKey('intotoProvenance') + ? InTotoProvenance.fromJson(_json['intotoProvenance'] + as core.Map) + : null, provenance: _json.containsKey('provenance') ? BuildProvenance.fromJson( _json['provenance'] as core.Map) @@ -746,6 +755,8 @@ class BuildOccurrence { ); core.Map toJson() => { + if (intotoProvenance != null) + 'intotoProvenance': intotoProvenance!.toJson(), if (provenance != null) 'provenance': provenance!.toJson(), if (provenanceBytes != null) 'provenanceBytes': provenanceBytes!, }; @@ -894,6 +905,23 @@ class BuildProvenance { }; } +class BuilderConfig { + core.String? id; + + BuilderConfig({ + this.id, + }); + + BuilderConfig.fromJson(core.Map _json) + : this( + id: _json.containsKey('id') ? _json['id'] as core.String : null, + ); + + core.Map toJson() => { + if (id != null) 'id': id!, + }; +} + /// The category to which the update belongs. class Category { /// The identifier of the category. @@ -1027,6 +1055,49 @@ class Command { }; } +/// Indicates that the builder claims certain fields in this message to be +/// complete. +class Completeness { + /// If true, the builder claims that recipe.arguments is complete, meaning + /// that all external inputs are properly captured in the recipe. + core.bool? arguments; + + /// If true, the builder claims that recipe.environment is claimed to be + /// complete. + core.bool? environment; + + /// If true, the builder claims that materials are complete, usually through + /// some controls to prevent network access. + /// + /// Sometimes called "hermetic". + core.bool? materials; + + Completeness({ + this.arguments, + this.environment, + this.materials, + }); + + Completeness.fromJson(core.Map _json) + : this( + arguments: _json.containsKey('arguments') + ? _json['arguments'] as core.bool + : null, + environment: _json.containsKey('environment') + ? _json['environment'] as core.bool + : null, + materials: _json.containsKey('materials') + ? _json['materials'] as core.bool + : null, + ); + + core.Map toJson() => { + if (arguments != null) 'arguments': arguments!, + if (environment != null) 'environment': environment!, + if (materials != null) 'materials': materials!, + }; +} + /// An indication that the compliance checks in the associated ComplianceNote /// were not satisfied for particular resources or a specified reason. class ComplianceOccurrence { @@ -1060,6 +1131,35 @@ class ComplianceOccurrence { }; } +class DSSEAttestationOccurrence { + /// If doing something security critical, make sure to verify the signatures + /// in this metadata. + Envelope? envelope; + InTotoStatement? statement; + + DSSEAttestationOccurrence({ + this.envelope, + this.statement, + }); + + DSSEAttestationOccurrence.fromJson(core.Map _json) + : this( + envelope: _json.containsKey('envelope') + ? Envelope.fromJson( + _json['envelope'] as core.Map) + : null, + statement: _json.containsKey('statement') + ? InTotoStatement.fromJson( + _json['statement'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (envelope != null) 'envelope': envelope!.toJson(), + if (statement != null) 'statement': statement!.toJson(), + }; +} + /// The period during which some deployable was active in a runtime. class DeploymentOccurrence { /// Address of the runtime element hosting this deployment. @@ -1227,6 +1327,80 @@ class Empty { core.Map toJson() => {}; } +/// MUST match +/// https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. +/// +/// An authenticated message of arbitrary type. +class Envelope { + core.String? payload; + core.List get payloadAsBytes => convert.base64.decode(payload!); + + set payloadAsBytes(core.List _bytes) { + payload = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + core.String? payloadType; + core.List? signatures; + + Envelope({ + this.payload, + this.payloadType, + this.signatures, + }); + + Envelope.fromJson(core.Map _json) + : this( + payload: _json.containsKey('payload') + ? _json['payload'] as core.String + : null, + payloadType: _json.containsKey('payloadType') + ? _json['payloadType'] as core.String + : null, + signatures: _json.containsKey('signatures') + ? (_json['signatures'] as core.List) + .map((value) => EnvelopeSignature.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (payload != null) 'payload': payload!, + if (payloadType != null) 'payloadType': payloadType!, + if (signatures != null) + 'signatures': signatures!.map((value) => value.toJson()).toList(), + }; +} + +class EnvelopeSignature { + core.String? keyid; + core.String? sig; + core.List get sigAsBytes => convert.base64.decode(sig!); + + set sigAsBytes(core.List _bytes) { + sig = + convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-'); + } + + EnvelopeSignature({ + this.keyid, + this.sig, + }); + + EnvelopeSignature.fromJson(core.Map _json) + : this( + keyid: + _json.containsKey('keyid') ? _json['keyid'] as core.String : null, + sig: _json.containsKey('sig') ? _json['sig'] as core.String : null, + ); + + core.Map toJson() => { + if (keyid != null) 'keyid': keyid!, + if (sig != null) 'sig': sig!, + }; +} + /// Container message for hashes of byte content of files, used in source /// messages to verify integrity of source input to the build. class FileHashes { @@ -1505,6 +1679,109 @@ class ImageOccurrence { }; } +class InTotoProvenance { + /// required + BuilderConfig? builderConfig; + + /// The collection of artifacts that influenced the build including sources, + /// dependencies, build tools, base images, and so on. + /// + /// This is considered to be incomplete unless metadata.completeness.materials + /// is true. Unset or null is equivalent to empty. + core.List? materials; + Metadata? metadata; + + /// Identifies the configuration used for the build. + /// + /// When combined with materials, this SHOULD fully describe the build, such + /// that re-running this recipe results in bit-for-bit identical output (if + /// the build is reproducible). required + Recipe? recipe; + + InTotoProvenance({ + this.builderConfig, + this.materials, + this.metadata, + this.recipe, + }); + + InTotoProvenance.fromJson(core.Map _json) + : this( + builderConfig: _json.containsKey('builderConfig') + ? BuilderConfig.fromJson( + _json['builderConfig'] as core.Map) + : null, + materials: _json.containsKey('materials') + ? (_json['materials'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + metadata: _json.containsKey('metadata') + ? Metadata.fromJson( + _json['metadata'] as core.Map) + : null, + recipe: _json.containsKey('recipe') + ? Recipe.fromJson( + _json['recipe'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (builderConfig != null) 'builderConfig': builderConfig!.toJson(), + if (materials != null) 'materials': materials!, + if (metadata != null) 'metadata': metadata!.toJson(), + if (recipe != null) 'recipe': recipe!.toJson(), + }; +} + +/// Spec defined at +/// https://github.com/in-toto/attestation/tree/main/spec#statement The +/// serialized InTotoStatement will be stored as Envelope.payload. +/// +/// Envelope.payloadType is always "application/vnd.in-toto+json". +class InTotoStatement { + /// "https://in-toto.io/Provenance/v0.1" for InTotoProvenance. + core.String? predicateType; + InTotoProvenance? provenance; + core.List? subject; + + /// Always "https://in-toto.io/Statement/v0.1". + core.String? type; + + InTotoStatement({ + this.predicateType, + this.provenance, + this.subject, + this.type, + }); + + InTotoStatement.fromJson(core.Map _json) + : this( + predicateType: _json.containsKey('predicateType') + ? _json['predicateType'] as core.String + : null, + provenance: _json.containsKey('provenance') + ? InTotoProvenance.fromJson( + _json['provenance'] as core.Map) + : null, + subject: _json.containsKey('subject') + ? (_json['subject'] as core.List) + .map((value) => Subject.fromJson( + value as core.Map)) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (predicateType != null) 'predicateType': predicateType!, + if (provenance != null) 'provenance': provenance!.toJson(), + if (subject != null) + 'subject': subject!.map((value) => value.toJson()).toList(), + if (type != null) 'type': type!, + }; +} + class Jwt { /// The compact encoding of a JWS, which is always three base64 encoded /// strings joined by periods. @@ -1672,6 +1949,65 @@ class Location { }; } +/// Other properties of the build. +class Metadata { + /// The timestamp of when the build completed. + core.String? buildFinishedOn; + + /// Identifies the particular build invocation, which can be useful for + /// finding associated logs or other ad-hoc analysis. + /// + /// The value SHOULD be globally unique, per in-toto Provenance spec. + core.String? buildInvocationId; + + /// The timestamp of when the build started. + core.String? buildStartedOn; + + /// Indicates that the builder claims certain fields in this message to be + /// complete. + Completeness? completeness; + + /// If true, the builder claims that running the recipe on materials will + /// produce bit-for-bit identical output. + core.bool? reproducible; + + Metadata({ + this.buildFinishedOn, + this.buildInvocationId, + this.buildStartedOn, + this.completeness, + this.reproducible, + }); + + Metadata.fromJson(core.Map _json) + : this( + buildFinishedOn: _json.containsKey('buildFinishedOn') + ? _json['buildFinishedOn'] as core.String + : null, + buildInvocationId: _json.containsKey('buildInvocationId') + ? _json['buildInvocationId'] as core.String + : null, + buildStartedOn: _json.containsKey('buildStartedOn') + ? _json['buildStartedOn'] as core.String + : null, + completeness: _json.containsKey('completeness') + ? Completeness.fromJson( + _json['completeness'] as core.Map) + : null, + reproducible: _json.containsKey('reproducible') + ? _json['reproducible'] as core.bool + : null, + ); + + core.Map toJson() => { + if (buildFinishedOn != null) 'buildFinishedOn': buildFinishedOn!, + if (buildInvocationId != null) 'buildInvocationId': buildInvocationId!, + if (buildStartedOn != null) 'buildStartedOn': buildStartedOn!, + if (completeness != null) 'completeness': completeness!.toJson(), + if (reproducible != null) 'reproducible': reproducible!, + }; +} + /// Details about files that caused a compliance check to fail. class NonCompliantFile { /// Command to display the non-compliant files. @@ -1733,6 +2069,12 @@ class Occurrence { /// Describes when a resource was discovered. DiscoveryOccurrence? discovery; + /// Describes an attestation of an artifact using dsse. + DSSEAttestationOccurrence? dsseAttestation; + + /// https://github.com/secure-systems-lab/dsse + Envelope? envelope; + /// Describes how this resource derives from the basis in the associated note. ImageOccurrence? image; @@ -1755,6 +2097,7 @@ class Occurrence { /// artifacts. /// - "UPGRADE" : This represents an available package upgrade. /// - "COMPLIANCE" : This represents a Compliance Note + /// - "DSSE_ATTESTATION" : This represents a DSSE attestation Note core.String? kind; /// The name of the occurrence in the form of @@ -1803,6 +2146,8 @@ class Occurrence { this.createTime, this.deployment, this.discovery, + this.dsseAttestation, + this.envelope, this.image, this.kind, this.name, @@ -1840,6 +2185,14 @@ class Occurrence { ? DiscoveryOccurrence.fromJson( _json['discovery'] as core.Map) : null, + dsseAttestation: _json.containsKey('dsseAttestation') + ? DSSEAttestationOccurrence.fromJson(_json['dsseAttestation'] + as core.Map) + : null, + envelope: _json.containsKey('envelope') + ? Envelope.fromJson( + _json['envelope'] as core.Map) + : null, image: _json.containsKey('image') ? ImageOccurrence.fromJson( _json['image'] as core.Map) @@ -1879,6 +2232,9 @@ class Occurrence { if (createTime != null) 'createTime': createTime!, if (deployment != null) 'deployment': deployment!.toJson(), if (discovery != null) 'discovery': discovery!.toJson(), + if (dsseAttestation != null) + 'dsseAttestation': dsseAttestation!.toJson(), + if (envelope != null) 'envelope': envelope!.toJson(), if (image != null) 'image': image!.toJson(), if (kind != null) 'kind': kind!, if (name != null) 'name': name!, @@ -2073,6 +2429,20 @@ class PackageIssue { /// Required. Version? affectedVersion; + /// The distro or language system assigned severity for this vulnerability + /// when that is available and note provider assigned severity when it is not + /// available. + /// + /// Output only. + /// Possible string values are: + /// - "SEVERITY_UNSPECIFIED" : Unknown. + /// - "MINIMAL" : Minimal severity. + /// - "LOW" : Low severity. + /// - "MEDIUM" : Medium severity. + /// - "HIGH" : High severity. + /// - "CRITICAL" : Critical severity. + core.String? effectiveSeverity; + /// Whether a fix is available for this package. /// /// Output only. @@ -2096,14 +2466,19 @@ class PackageIssue { /// Required. Version? fixedVersion; + /// The type of package (e.g. OS, MAVEN, GO). + core.String? packageType; + PackageIssue({ this.affectedCpeUri, this.affectedPackage, this.affectedVersion, + this.effectiveSeverity, this.fixAvailable, this.fixedCpeUri, this.fixedPackage, this.fixedVersion, + this.packageType, }); PackageIssue.fromJson(core.Map _json) @@ -2118,6 +2493,9 @@ class PackageIssue { ? Version.fromJson(_json['affectedVersion'] as core.Map) : null, + effectiveSeverity: _json.containsKey('effectiveSeverity') + ? _json['effectiveSeverity'] as core.String + : null, fixAvailable: _json.containsKey('fixAvailable') ? _json['fixAvailable'] as core.bool : null, @@ -2131,6 +2509,9 @@ class PackageIssue { ? Version.fromJson( _json['fixedVersion'] as core.Map) : null, + packageType: _json.containsKey('packageType') + ? _json['packageType'] as core.String + : null, ); core.Map toJson() => { @@ -2138,10 +2519,12 @@ class PackageIssue { if (affectedPackage != null) 'affectedPackage': affectedPackage!, if (affectedVersion != null) 'affectedVersion': affectedVersion!.toJson(), + if (effectiveSeverity != null) 'effectiveSeverity': effectiveSeverity!, if (fixAvailable != null) 'fixAvailable': fixAvailable!, if (fixedCpeUri != null) 'fixedCpeUri': fixedCpeUri!, if (fixedPackage != null) 'fixedPackage': fixedPackage!, if (fixedVersion != null) 'fixedVersion': fixedVersion!.toJson(), + if (packageType != null) 'packageType': packageType!, }; } @@ -2213,6 +2596,108 @@ class ProjectRepoId { }; } +/// Steps taken to build the artifact. +/// +/// For a TaskRun, typically each container corresponds to one step in the +/// recipe. +class Recipe { + /// Collection of all external inputs that influenced the build on top of + /// recipe.definedInMaterial and recipe.entryPoint. + /// + /// For example, if the recipe type were "make", then this might be the flags + /// passed to make aside from the target, which is captured in + /// recipe.entryPoint. Since the arguments field can greatly vary in + /// structure, depending on the builder and recipe type, this is of form + /// "Any". + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? arguments; + + /// Index in materials containing the recipe steps that are not implied by + /// recipe.type. + /// + /// For example, if the recipe type were "make", then this would point to the + /// source containing the Makefile, not the make program itself. Set to -1 if + /// the recipe doesn't come from a material, as zero is default unset value + /// for int64. + core.String? definedInMaterial; + + /// String identifying the entry point into the build. + /// + /// This is often a path to a configuration file and/or a target label within + /// that file. The syntax and meaning are defined by recipe.type. For example, + /// if the recipe type were "make", then this would reference the directory in + /// which to run make as well as which target to use. + core.String? entryPoint; + + /// Any other builder-controlled inputs necessary for correctly evaluating the + /// recipe. + /// + /// Usually only needed for reproducing the build but not evaluated as part of + /// policy. Since the environment field can greatly vary in structure, + /// depending on the builder and recipe type, this is of form "Any". + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.List>? environment; + + /// URI indicating what type of recipe was performed. + /// + /// It determines the meaning of recipe.entryPoint, recipe.arguments, + /// recipe.environment, and materials. + core.String? type; + + Recipe({ + this.arguments, + this.definedInMaterial, + this.entryPoint, + this.environment, + this.type, + }); + + Recipe.fromJson(core.Map _json) + : this( + arguments: _json.containsKey('arguments') + ? (_json['arguments'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + definedInMaterial: _json.containsKey('definedInMaterial') + ? _json['definedInMaterial'] as core.String + : null, + entryPoint: _json.containsKey('entryPoint') + ? _json['entryPoint'] as core.String + : null, + environment: _json.containsKey('environment') + ? (_json['environment'] as core.List) + .map>((value) => + (value as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.Object, + ), + )) + .toList() + : null, + type: _json.containsKey('type') ? _json['type'] as core.String : null, + ); + + core.Map toJson() => { + if (arguments != null) 'arguments': arguments!, + if (definedInMaterial != null) 'definedInMaterial': definedInMaterial!, + if (entryPoint != null) 'entryPoint': entryPoint!, + if (environment != null) 'environment': environment!, + if (type != null) 'type': type!, + }; +} + /// Metadata for any related URL information. class RelatedUrl { /// Label to describe usage of the URL. @@ -2523,6 +3008,35 @@ class Status { }; } +class Subject { + /// "": "" + core.Map? digest; + core.String? name; + + Subject({ + this.digest, + this.name, + }); + + Subject.fromJson(core.Map _json) + : this( + digest: _json.containsKey('digest') + ? (_json['digest'] as core.Map).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: _json.containsKey('name') ? _json['name'] as core.String : null, + ); + + core.Map toJson() => { + if (digest != null) 'digest': digest!, + if (name != null) 'name': name!, + }; +} + /// The Upgrade Distribution represents metadata about the Upgrade for each /// operating system (CPE). /// @@ -2728,6 +3242,14 @@ class VulnerabilityOccurrence { /// The distro assigned severity for this vulnerability when it is available, /// otherwise this is the note provider assigned severity. + /// + /// When there are multiple PackageIssues for this vulnerability, they can + /// have different effective severities because some might be provided by the + /// distro while others are provided by the language ecosystem for a language + /// pack. For this reason, it is advised to use the effective severity on the + /// PackageIssue level. In the case where multiple PackageIssues have + /// differing effective severities, this field should be the highest severity + /// for any of the PackageIssues. /// Possible string values are: /// - "SEVERITY_UNSPECIFIED" : Unknown. /// - "MINIMAL" : Minimal severity. diff --git a/generated/googleapis_beta/lib/osconfig/v1alpha.dart b/generated/googleapis_beta/lib/osconfig/v1alpha.dart index a6c5a4424..dfd6ad0f9 100644 --- a/generated/googleapis_beta/lib/osconfig/v1alpha.dart +++ b/generated/googleapis_beta/lib/osconfig/v1alpha.dart @@ -47,7 +47,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// OS management tools that can be used for patch management, patch compliance, /// and configuration management on VM instances. class OSConfigApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -271,10 +272,8 @@ class ProjectsLocationsInstancesInventoriesResource { /// Request parameters: /// /// [parent] - Required. The parent resource name. Format: - /// `projects/{project}/locations/{location}/instances/{instance}` For - /// `{project}`, either `project-number` or `project-id` can be provided. For - /// `{instance}`, only hyphen or dash character is supported to list - /// inventories across VMs. + /// `projects/{project}/locations/{location}/instances/-` For `{project}`, + /// either `project-number` or `project-id` can be provided. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. /// @@ -389,10 +388,8 @@ class ProjectsLocationsInstancesVulnerabilityReportsResource { /// Request parameters: /// /// [parent] - Required. The parent resource name. Format: - /// `projects/{project}/locations/{location}/instances/{instance}` For - /// `{project}`, either `project-number` or `project-id` can be provided. For - /// `{instance}`, only `-` character is supported to list vulnerability - /// reports across VMs. + /// `projects/{project}/locations/{location}/instances/-` For `{project}`, + /// either `project-number` or `project-id` can be provided. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/instances/\[^/\]+$`. /// @@ -1038,6 +1035,52 @@ class CancelOperationRequest { core.Map toJson() => {}; } +/// Represents a whole or partial calendar date, such as a birthday. +/// +/// The time of day and time zone are either specified elsewhere or are +/// insignificant. The date is relative to the Gregorian Calendar. This can +/// represent one of the following: * A full date, with non-zero year, month, +/// and day values * A month and day value, with a zero year, such as an +/// anniversary * A year on its own, with zero month and day values * A year and +/// month value, with a zero day, such as a credit card expiration date Related +/// types are google.type.TimeOfDay and `google.protobuf.Timestamp`. +class Date { + /// Day of a month. + /// + /// Must be from 1 to 31 and valid for the year and month, or 0 to specify a + /// year by itself or a year and month where the day isn't significant. + core.int? day; + + /// Month of a year. + /// + /// Must be from 1 to 12, or 0 to specify a year without a month and day. + core.int? month; + + /// Year of the date. + /// + /// Must be from 1 to 9999, or 0 to specify a date without a year. + core.int? year; + + Date({ + this.day, + this.month, + this.year, + }); + + Date.fromJson(core.Map _json) + : this( + day: _json.containsKey('day') ? _json['day'] as core.int : null, + month: _json.containsKey('month') ? _json['month'] as core.int : null, + year: _json.containsKey('year') ? _json['year'] as core.int : null, + ); + + core.Map toJson() => { + if (day != null) 'day': day!, + if (month != null) 'month': month!, + if (year != null) 'year': year!, + }; +} + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -1539,6 +1582,9 @@ class InventorySoftwarePackage { /// for info in Windows Quick Fix Engineering. InventoryWindowsQuickFixEngineeringPackage? qfePackage; + /// Details of Windows Application. + InventoryWindowsApplication? windowsApplication; + /// Details of a Windows Update package. /// /// See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for @@ -1568,6 +1614,7 @@ class InventorySoftwarePackage { this.cosPackage, this.googetPackage, this.qfePackage, + this.windowsApplication, this.wuaPackage, this.yumPackage, this.zypperPackage, @@ -1592,6 +1639,10 @@ class InventorySoftwarePackage { ? InventoryWindowsQuickFixEngineeringPackage.fromJson( _json['qfePackage'] as core.Map) : null, + windowsApplication: _json.containsKey('windowsApplication') + ? InventoryWindowsApplication.fromJson(_json['windowsApplication'] + as core.Map) + : null, wuaPackage: _json.containsKey('wuaPackage') ? InventoryWindowsUpdatePackage.fromJson( _json['wuaPackage'] as core.Map) @@ -1615,6 +1666,8 @@ class InventorySoftwarePackage { if (cosPackage != null) 'cosPackage': cosPackage!.toJson(), if (googetPackage != null) 'googetPackage': googetPackage!.toJson(), if (qfePackage != null) 'qfePackage': qfePackage!.toJson(), + if (windowsApplication != null) + 'windowsApplication': windowsApplication!.toJson(), if (wuaPackage != null) 'wuaPackage': wuaPackage!.toJson(), if (yumPackage != null) 'yumPackage': yumPackage!.toJson(), if (zypperPackage != null) 'zypperPackage': zypperPackage!.toJson(), @@ -1662,6 +1715,69 @@ class InventoryVersionedPackage { }; } +/// Contains information about a Windows application as retrieved from the +/// Windows Registry. +/// +/// For more information about these fields, see +/// [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: +/// class="external" } +class InventoryWindowsApplication { + /// The name of the application or product. + core.String? displayName; + + /// The version of the product or application in string format. + core.String? displayVersion; + + /// The internet address for technical support. + core.String? helpLink; + + /// The last time this product received service. + /// + /// The value of this property is replaced each time a patch is applied or + /// removed from the product or the command-line option is used to repair the + /// product. + Date? installDate; + + /// The name of the manufacturer for the product or application. + core.String? publisher; + + InventoryWindowsApplication({ + this.displayName, + this.displayVersion, + this.helpLink, + this.installDate, + this.publisher, + }); + + InventoryWindowsApplication.fromJson(core.Map _json) + : this( + displayName: _json.containsKey('displayName') + ? _json['displayName'] as core.String + : null, + displayVersion: _json.containsKey('displayVersion') + ? _json['displayVersion'] as core.String + : null, + helpLink: _json.containsKey('helpLink') + ? _json['helpLink'] as core.String + : null, + installDate: _json.containsKey('installDate') + ? Date.fromJson( + _json['installDate'] as core.Map) + : null, + publisher: _json.containsKey('publisher') + ? _json['publisher'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (displayVersion != null) 'displayVersion': displayVersion!, + if (helpLink != null) 'helpLink': helpLink!, + if (installDate != null) 'installDate': installDate!.toJson(), + if (publisher != null) 'publisher': publisher!, + }; +} + /// Information related to a Quick Fix Engineering package. /// /// Fields are taken from Windows QuickFixEngineering Interface and match the @@ -2184,6 +2300,11 @@ class OSPolicyAssignment { /// Length of the description is limited to 1024 characters. core.String? description; + /// The etag for this OS policy assignment. + /// + /// If this is provided on update, it must match the server's etag. + core.String? etag; + /// Filter to select VMs. /// /// Required. @@ -2250,6 +2371,7 @@ class OSPolicyAssignment { this.baseline, this.deleted, this.description, + this.etag, this.instanceFilter, this.name, this.osPolicies, @@ -2272,6 +2394,7 @@ class OSPolicyAssignment { description: _json.containsKey('description') ? _json['description'] as core.String : null, + etag: _json.containsKey('etag') ? _json['etag'] as core.String : null, instanceFilter: _json.containsKey('instanceFilter') ? OSPolicyAssignmentInstanceFilter.fromJson( _json['instanceFilter'] @@ -2307,6 +2430,7 @@ class OSPolicyAssignment { if (baseline != null) 'baseline': baseline!, if (deleted != null) 'deleted': deleted!, if (description != null) 'description': description!, + if (etag != null) 'etag': etag!, if (instanceFilter != null) 'instanceFilter': instanceFilter!.toJson(), if (name != null) 'name': name!, if (osPolicies != null) @@ -2321,7 +2445,10 @@ class OSPolicyAssignment { }; } -/// Message to represent the filters to select VMs for an assignment +/// Filters to select target VMs for an assignment. +/// +/// If more than one filter criteria is specified below, a VM will be selected +/// if and only if it satisfies all of them. class OSPolicyAssignmentInstanceFilter { /// Target all VMs in the project. /// @@ -2331,9 +2458,7 @@ class OSPolicyAssignmentInstanceFilter { /// List of label sets used for VM exclusion. /// /// If the list has more than one label set, the VM is excluded if any of the - /// label sets are applicable for the VM. This filter is applied last in the - /// filtering chain and therefore a VM is guaranteed to be excluded if it - /// satisfies one of the below label sets. + /// label sets are applicable for the VM. core.List? exclusionLabels; /// List of label sets used for VM inclusion. @@ -2342,14 +2467,25 @@ class OSPolicyAssignmentInstanceFilter { /// label sets are applicable for the VM. core.List? inclusionLabels; - /// A VM is included if it's OS short name matches with any of the values + /// List of inventories to select VMs. + /// + /// A VM is selected if its inventory data matches at least one of the + /// following inventories. + core.List? inventories; + + /// Use the `inventories` field instead. + /// + /// A VM is selected if it's OS short name matches with any of the values /// provided in this list. + /// + /// Deprecated. core.List? osShortNames; OSPolicyAssignmentInstanceFilter({ this.all, this.exclusionLabels, this.inclusionLabels, + this.inventories, this.osShortNames, }); @@ -2370,6 +2506,13 @@ class OSPolicyAssignmentInstanceFilter { value as core.Map)) .toList() : null, + inventories: _json.containsKey('inventories') + ? (_json['inventories'] as core.List) + .map((value) => + OSPolicyAssignmentInstanceFilterInventory.fromJson( + value as core.Map)) + .toList() + : null, osShortNames: _json.containsKey('osShortNames') ? (_json['osShortNames'] as core.List) .map((value) => value as core.String) @@ -2385,10 +2528,48 @@ class OSPolicyAssignmentInstanceFilter { if (inclusionLabels != null) 'inclusionLabels': inclusionLabels!.map((value) => value.toJson()).toList(), + if (inventories != null) + 'inventories': inventories!.map((value) => value.toJson()).toList(), if (osShortNames != null) 'osShortNames': osShortNames!, }; } +/// VM inventory details. +class OSPolicyAssignmentInstanceFilterInventory { + /// The OS short name + /// + /// Required. + core.String? osShortName; + + /// The OS version Prefix matches are supported if asterisk(*) is provided as + /// the last character. + /// + /// For example, to match all versions with a major version of `7`, specify + /// the following value for this field `7.*` An empty string matches all OS + /// versions. + core.String? osVersion; + + OSPolicyAssignmentInstanceFilterInventory({ + this.osShortName, + this.osVersion, + }); + + OSPolicyAssignmentInstanceFilterInventory.fromJson(core.Map _json) + : this( + osShortName: _json.containsKey('osShortName') + ? _json['osShortName'] as core.String + : null, + osVersion: _json.containsKey('osVersion') + ? _json['osVersion'] as core.String + : null, + ); + + core.Map toJson() => { + if (osShortName != null) 'osShortName': osShortName!, + if (osVersion != null) 'osVersion': osVersion!, + }; +} + /// Message representing label set. /// /// * A label is a key value pair set for a VM. * A LabelSet is a set of labels. @@ -2534,8 +2715,43 @@ class OSPolicyAssignmentRollout { }; } -/// The `OSFilter` is used to specify the OS filtering criteria for the resource -/// group. +/// Filtering criteria to select VMs based on inventory details. +class OSPolicyInventoryFilter { + /// The OS short name + /// + /// Required. + core.String? osShortName; + + /// The OS version Prefix matches are supported if asterisk(*) is provided as + /// the last character. + /// + /// For example, to match all versions with a major version of `7`, specify + /// the following value for this field `7.*` An empty string matches all OS + /// versions. + core.String? osVersion; + + OSPolicyInventoryFilter({ + this.osShortName, + this.osVersion, + }); + + OSPolicyInventoryFilter.fromJson(core.Map _json) + : this( + osShortName: _json.containsKey('osShortName') + ? _json['osShortName'] as core.String + : null, + osVersion: _json.containsKey('osVersion') + ? _json['osVersion'] as core.String + : null, + ); + + core.Map toJson() => { + if (osShortName != null) 'osShortName': osShortName!, + if (osVersion != null) 'osVersion': osVersion!, + }; +} + +/// Filtering criteria to select VMs based on OS details. class OSPolicyOSFilter { /// This should match OS short name emitted by the OS inventory agent. /// @@ -3118,7 +3334,22 @@ class OSPolicyResourceFileResource { /// applied to a target VM, the appropriate resource group within the OS policy /// is selected based on the `OSFilter` specified within the resource group. class OSPolicyResourceGroup { + /// List of inventory filters for the resource group. + /// + /// The resources in this resource group are applied to the target VM if it + /// satisfies at least one of the following inventory filters. For example, to + /// apply this resource group to VMs running either `RHEL` or `CentOS` + /// operating systems, specify 2 items for the list with following values: + /// inventory_filters\[0\].os_short_name='rhel' and + /// inventory_filters\[1\].os_short_name='centos' If the list is empty, this + /// resource group will be applied to the target VM unconditionally. + core.List? inventoryFilters; + + /// Use the `inventory_filters` field instead. + /// /// Used to specify the OS filter for a resource group + /// + /// Deprecated. OSPolicyOSFilter? osFilter; /// List of resources configured for this resource group. @@ -3129,12 +3360,20 @@ class OSPolicyResourceGroup { core.List? resources; OSPolicyResourceGroup({ + this.inventoryFilters, this.osFilter, this.resources, }); OSPolicyResourceGroup.fromJson(core.Map _json) : this( + inventoryFilters: _json.containsKey('inventoryFilters') + ? (_json['inventoryFilters'] as core.List) + .map((value) => + OSPolicyInventoryFilter.fromJson( + value as core.Map)) + .toList() + : null, osFilter: _json.containsKey('osFilter') ? OSPolicyOSFilter.fromJson( _json['osFilter'] as core.Map) @@ -3148,6 +3387,9 @@ class OSPolicyResourceGroup { ); core.Map toJson() => { + if (inventoryFilters != null) + 'inventoryFilters': + inventoryFilters!.map((value) => value.toJson()).toList(), if (osFilter != null) 'osFilter': osFilter!.toJson(), if (resources != null) 'resources': resources!.map((value) => value.toJson()).toList(), @@ -4067,19 +4309,27 @@ class VulnerabilityReportVulnerabilityDetails { /// A reference for this vulnerability. class VulnerabilityReportVulnerabilityDetailsReference { + /// The source of the reference e.g. NVD. + core.String? source; + /// The url of the reference. core.String? url; VulnerabilityReportVulnerabilityDetailsReference({ + this.source, this.url, }); VulnerabilityReportVulnerabilityDetailsReference.fromJson(core.Map _json) : this( + source: _json.containsKey('source') + ? _json['source'] as core.String + : null, url: _json.containsKey('url') ? _json['url'] as core.String : null, ); core.Map toJson() => { + if (source != null) 'source': source!, if (url != null) 'url': url!, }; } diff --git a/generated/googleapis_beta/lib/policysimulator/v1beta1.dart b/generated/googleapis_beta/lib/policysimulator/v1beta1.dart index 6316f26f1..98f2e31b5 100644 --- a/generated/googleapis_beta/lib/policysimulator/v1beta1.dart +++ b/generated/googleapis_beta/lib/policysimulator/v1beta1.dart @@ -64,7 +64,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// results to determine how your members' access might change under the /// proposed policy. class PolicySimulatorApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1966,7 +1967,7 @@ class GoogleIamV1Binding { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class GoogleIamV1Policy { diff --git a/generated/googleapis_beta/lib/privateca/v1beta1.dart b/generated/googleapis_beta/lib/privateca/v1beta1.dart index d6c59d937..682ee75a7 100644 --- a/generated/googleapis_beta/lib/privateca/v1beta1.dart +++ b/generated/googleapis_beta/lib/privateca/v1beta1.dart @@ -51,7 +51,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// certificate authorities (CAs) while staying in control of your private /// keys." class CertificateAuthorityServiceApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -4257,7 +4258,7 @@ class OperationMetadata { /// roles/resourcemanager.organizationAdmin - members: - user:eve@example.com /// role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: -/// request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - +/// request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= /// version: 3 For a description of IAM and its features, see the /// [IAM documentation](https://cloud.google.com/iam/docs/). class Policy { @@ -5247,8 +5248,8 @@ class SubjectDescription { /// This is either a resource path to a known issuing CertificateAuthority, or a /// PEM issuer certificate chain. class SubordinateConfig { - /// This can refer to a CertificateAuthority in the same project that was used - /// to create a subordinate CertificateAuthority. + /// This can refer to a CertificateAuthority that was used to create a + /// subordinate CertificateAuthority. /// /// This field is used for information and usability purposes only. The /// resource name is in the format `projects / * /locations / * diff --git a/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart b/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart index 26a7d99f4..e1ac8a0e0 100644 --- a/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart +++ b/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart @@ -4122,8 +4122,22 @@ class SasPortalDeviceMetadata { /// Format is: RecordCreatorId:PatternId core.String? antennaModel; + /// CCG. + /// + /// A group of CBSDs in the same ICG requesting a common primary channel + /// assignment. See CBRSA-TS-2001 V3.0.0 for more details. + core.String? commonChannelGroup; + + /// ICG. + /// + /// A group of CBSDs that manage their own interference with the group. See + /// CBRSA-TS-2001 V3.0.0 for more details. + core.String? interferenceCoordinationGroup; + SasPortalDeviceMetadata({ this.antennaModel, + this.commonChannelGroup, + this.interferenceCoordinationGroup, }); SasPortalDeviceMetadata.fromJson(core.Map _json) @@ -4131,10 +4145,21 @@ class SasPortalDeviceMetadata { antennaModel: _json.containsKey('antennaModel') ? _json['antennaModel'] as core.String : null, + commonChannelGroup: _json.containsKey('commonChannelGroup') + ? _json['commonChannelGroup'] as core.String + : null, + interferenceCoordinationGroup: + _json.containsKey('interferenceCoordinationGroup') + ? _json['interferenceCoordinationGroup'] as core.String + : null, ); core.Map toJson() => { if (antennaModel != null) 'antennaModel': antennaModel!, + if (commonChannelGroup != null) + 'commonChannelGroup': commonChannelGroup!, + if (interferenceCoordinationGroup != null) + 'interferenceCoordinationGroup': interferenceCoordinationGroup!, }; } diff --git a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart index 17e66974d..14e9c52d1 100644 --- a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart +++ b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart @@ -47,7 +47,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// API for Cloud SQL database instance management class SQLAdminApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -88,7 +89,7 @@ class BackupRunsResource { /// /// [instance] - Cloud SQL instance ID. This does not include the project ID. /// - /// [id] - The ID of the Backup Run to delete. To find a Backup Run ID, use + /// [id] - The ID of the backup run to delete. To find a backup run ID, use /// the list method. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -134,7 +135,7 @@ class BackupRunsResource { /// /// [instance] - Cloud SQL instance ID. This does not include the project ID. /// - /// [id] - The ID of this Backup Run. + /// [id] - The ID of this backup run. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -173,8 +174,6 @@ class BackupRunsResource { /// Creates a new backup run on demand. /// - /// This method is applicable only to Second Generation instances. - /// /// [request] - The metadata request object. /// /// Request parameters: @@ -673,7 +672,7 @@ class FlagsResource { FlagsResource(commons.ApiRequester client) : _requester = client; - /// List all available database flags for Cloud SQL instances. + /// Lists all available database flags for Cloud SQL instances. /// /// Request parameters: /// @@ -950,9 +949,13 @@ class InstancesResource { return Operation.fromJson(_response as core.Map); } - /// Failover the instance to its failover replica instance. + /// Initiates a manual failover of a high availability (HA) primary instance + /// to a standby instance, which becomes the primary instance. /// - /// Using this operation might cause your instance to restart. + /// Users are then rerouted to the new primary. For more information, see the + /// Overview of high availability page in the Cloud SQL documentation. If + /// using Legacy HA (MySQL only), this causes the instance to failover to its + /// failover replica instance. /// /// [request] - The metadata request object. /// @@ -1837,23 +1840,14 @@ class ProjectsInstancesResource { /// Start External primary instance migration. /// + /// [request] - The metadata request object. + /// /// Request parameters: /// /// [project] - ID of the project that contains the instance. /// /// [instance] - Cloud SQL instance ID. This does not include the project ID. /// - /// [skipVerification] - Whether to skip the verification step (VESS). - /// - /// [syncMode] - External sync mode. - /// Possible string values are: - /// - "EXTERNAL_SYNC_MODE_UNSPECIFIED" : Unknown external sync mode, will be - /// defaulted to ONLINE mode - /// - "ONLINE" : Online external sync will set up replication after initial - /// data external sync - /// - "OFFLINE" : Offline external sync only dumps and loads a one-time - /// snapshot of the primary instance's data - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -1865,15 +1859,13 @@ class ProjectsInstancesResource { /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. async.Future startExternalSync( + SqlInstancesStartExternalSyncRequest request, core.String project, core.String instance, { - core.bool? skipVerification, - core.String? syncMode, core.String? $fields, }) async { + final _body = convert.json.encode(request.toJson()); final _queryParams = >{ - if (skipVerification != null) 'skipVerification': ['${skipVerification}'], - if (syncMode != null) 'syncMode': [syncMode], if ($fields != null) 'fields': [$fields], }; @@ -1886,6 +1878,7 @@ class ProjectsInstancesResource { final _response = await _requester.request( _url, 'POST', + body: _body, queryParams: _queryParams, ); return Operation.fromJson(_response as core.Map); @@ -1893,23 +1886,14 @@ class ProjectsInstancesResource { /// Verify External primary instance external sync settings. /// + /// [request] - The metadata request object. + /// /// Request parameters: /// /// [project] - Project ID of the project that contains the instance. /// /// [instance] - Cloud SQL instance ID. This does not include the project ID. /// - /// [syncMode] - External sync mode - /// Possible string values are: - /// - "EXTERNAL_SYNC_MODE_UNSPECIFIED" : Unknown external sync mode, will be - /// defaulted to ONLINE mode - /// - "ONLINE" : Online external sync will set up replication after initial - /// data external sync - /// - "OFFLINE" : Offline external sync only dumps and loads a one-time - /// snapshot of the primary instance's data - /// - /// [verifyConnectionOnly] - Flag to enable verifying connection only - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -1922,16 +1906,13 @@ class ProjectsInstancesResource { /// this method will complete with the same error. async.Future verifyExternalSyncSettings( + SqlInstancesVerifyExternalSyncSettingsRequest request, core.String project, core.String instance, { - core.String? syncMode, - core.bool? verifyConnectionOnly, core.String? $fields, }) async { + final _body = convert.json.encode(request.toJson()); final _queryParams = >{ - if (syncMode != null) 'syncMode': [syncMode], - if (verifyConnectionOnly != null) - 'verifyConnectionOnly': ['${verifyConnectionOnly}'], if ($fields != null) 'fields': [$fields], }; @@ -1944,6 +1925,7 @@ class ProjectsInstancesResource { final _response = await _requester.request( _url, 'POST', + body: _body, queryParams: _queryParams, ); return SqlInstancesVerifyExternalSyncSettingsResponse.fromJson( @@ -2694,13 +2676,9 @@ class BackupRun { core.String? description; /// Encryption configuration specific to a backup. - /// - /// Applies only to Second Generation instances. DiskEncryptionConfiguration? diskEncryptionConfiguration; /// Encryption status specific to a backup. - /// - /// Applies only to Second Generation instances. DiskEncryptionStatus? diskEncryptionStatus; /// The time the backup operation completed in UTC timezone in RFC 3339 @@ -3189,9 +3167,9 @@ class DatabaseFlags { /// The name of the flag. /// /// These flags are passed at instance startup, so include both server options - /// and system variables for MySQL. Flags are specified with underscores, not - /// hyphens. For more information, see Configuring Database Flags in the Cloud - /// SQL documentation. + /// and system variables. Flags are specified with underscores, not hyphens. + /// For more information, see Configuring Database Flags in the Cloud SQL + /// documentation. core.String? name; /// The value of the flag. @@ -3219,8 +3197,6 @@ class DatabaseFlags { } /// The name and status of the failover replica. -/// -/// This property is applicable only to Second Generation instances. class DatabaseInstanceFailoverReplica { /// The availability status of the failover replica. /// @@ -3232,8 +3208,7 @@ class DatabaseInstanceFailoverReplica { /// The name of the failover replica. /// /// If specified at instance creation, a failover replica is created for the - /// instance. The name doesn't include the project ID. This property is - /// applicable only to Second Generation instances. + /// instance. The name doesn't include the project ID. core.String? name; DatabaseInstanceFailoverReplica({ @@ -3273,6 +3248,13 @@ class DatabaseInstance { /// Connection name of the Cloud SQL instance used in connection strings. core.String? connectionName; + /// The time when the instance was created in RFC 3339 format + /// (https://tools.ietf.org/html/rfc3339), for example + /// 2012-11-15T16:19:00.094Z + /// + /// Output only. + core.String? createTime; + /// The current disk usage of the instance in bytes. /// /// This property has been deprecated. Use the @@ -3285,7 +3267,9 @@ class DatabaseInstance { /// The *databaseVersion* field cannot be changed after instance creation. /// MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. /// PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, - /// *POSTGRES_12*, or *POSTGRES_13* (default). SQL Server instances: + /// *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: + /// *SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, + /// *SQLSERVER_2019_EXPRESS*, or *SQLSERVER_2019_WEB*, /// *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, /// *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*. /// Possible string values are: @@ -3318,13 +3302,9 @@ class DatabaseInstance { core.String? databaseVersion; /// Disk encryption configuration specific to an instance. - /// - /// Applies only to Second Generation instances. DiskEncryptionConfiguration? diskEncryptionConfiguration; /// Disk encryption status specific to an instance. - /// - /// Applies only to Second Generation instances. DiskEncryptionStatus? diskEncryptionStatus; /// This field is deprecated and will be removed from a future version of the @@ -3334,8 +3314,6 @@ class DatabaseInstance { core.String? etag; /// The name and status of the failover replica. - /// - /// This property is applicable only to Second Generation instances. DatabaseInstanceFailoverReplica? failoverReplica; /// The Compute Engine zone that the instance is currently serving from. @@ -3468,6 +3446,8 @@ class DatabaseInstance { /// - "MAINTENANCE" : The instance is down for maintenance. /// - "FAILED" : The creation of the instance failed or a fatal error occurred /// during maintenance. + /// - "ONLINE_MAINTENANCE" : The instance is under maintenance operations and + /// the database is available. core.String? state; /// If the instance state is SUSPENDED, the reason for the suspension. @@ -3476,6 +3456,7 @@ class DatabaseInstance { DatabaseInstance({ this.backendType, this.connectionName, + this.createTime, this.currentDiskSize, this.databaseVersion, this.diskEncryptionConfiguration, @@ -3516,6 +3497,9 @@ class DatabaseInstance { connectionName: _json.containsKey('connectionName') ? _json['connectionName'] as core.String : null, + createTime: _json.containsKey('createTime') + ? _json['createTime'] as core.String + : null, currentDiskSize: _json.containsKey('currentDiskSize') ? _json['currentDiskSize'] as core.String : null, @@ -3625,6 +3609,7 @@ class DatabaseInstance { core.Map toJson() => { if (backendType != null) 'backendType': backendType!, if (connectionName != null) 'connectionName': connectionName!, + if (createTime != null) 'createTime': createTime!, if (currentDiskSize != null) 'currentDiskSize': currentDiskSize!, if (databaseVersion != null) 'databaseVersion': databaseVersion!, if (diskEncryptionConfiguration != null) @@ -3751,20 +3736,24 @@ class DemoteMasterContext { /// primary instance. DemoteMasterConfiguration? replicaConfiguration; + /// Flag to skip replication setup on the instance. + core.bool? skipReplicationSetup; + /// Verify GTID consistency for demote operation. /// - /// Default value: *True*. Second Generation instances only. Setting this flag - /// to false enables you to bypass GTID consistency check between on-premises - /// primary instance and Cloud SQL instance during the demotion operation but - /// also exposes you to the risk of future replication failures. Change the - /// value only if you know the reason for the GTID divergence and are - /// confident that doing so will not cause any replication issues. + /// Default value: *True*. Setting this flag to false enables you to bypass + /// GTID consistency check between on-premises primary instance and Cloud SQL + /// instance during the demotion operation but also exposes you to the risk of + /// future replication failures. Change the value only if you know the reason + /// for the GTID divergence and are confident that doing so will not cause any + /// replication issues. core.bool? verifyGtidConsistency; DemoteMasterContext({ this.kind, this.masterInstanceName, this.replicaConfiguration, + this.skipReplicationSetup, this.verifyGtidConsistency, }); @@ -3778,6 +3767,9 @@ class DemoteMasterContext { ? DemoteMasterConfiguration.fromJson(_json['replicaConfiguration'] as core.Map) : null, + skipReplicationSetup: _json.containsKey('skipReplicationSetup') + ? _json['skipReplicationSetup'] as core.bool + : null, verifyGtidConsistency: _json.containsKey('verifyGtidConsistency') ? _json['verifyGtidConsistency'] as core.bool : null, @@ -3789,6 +3781,8 @@ class DemoteMasterContext { 'masterInstanceName': masterInstanceName!, if (replicaConfiguration != null) 'replicaConfiguration': replicaConfiguration!.toJson(), + if (skipReplicationSetup != null) + 'skipReplicationSetup': skipReplicationSetup!, if (verifyGtidConsistency != null) 'verifyGtidConsistency': verifyGtidConsistency!, }; @@ -4215,8 +4209,6 @@ class Flag { core.String? name; /// Indicates whether changing this flag will trigger a database restart. - /// - /// Only applicable to Second Generation instances. core.bool? requiresRestart; /// The type of the flag. @@ -4588,9 +4580,10 @@ class InsightsConfig { /// Whether Query Insights feature is enabled. core.bool? queryInsightsEnabled; - /// Number of query plans generated by Insights per minute. + /// Number of query execution plans captured by Insights per minute for all + /// queries combined. /// - /// Default is 5. Changing this will restart the database. + /// Default is 5. core.int? queryPlansPerMinute; /// Maximum query length stored in bytes. @@ -4648,6 +4641,45 @@ class InsightsConfig { }; } +/// Reference to another Cloud SQL instance. +class InstanceReference { + /// The name of the Cloud SQL instance being referenced. + /// + /// This does not include the project ID. + core.String? name; + + /// The project ID of the Cloud SQL instance being referenced. + /// + /// The default is the same project ID as the instance references it. + core.String? project; + + /// The region of the Cloud SQL instance being referenced. + core.String? region; + + InstanceReference({ + this.name, + this.project, + this.region, + }); + + InstanceReference.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + project: _json.containsKey('project') + ? _json['project'] as core.String + : null, + region: _json.containsKey('region') + ? _json['region'] as core.String + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (project != null) 'project': project!, + if (region != null) 'region': region!, + }; +} + /// Database instance clone request. class InstancesCloneRequest { /// Contains details about the clone operation. @@ -4923,6 +4955,15 @@ class InstancesTruncateLogRequest { /// IP Management configuration. class IpConfiguration { + /// The name of the allocated ip range for the private ip CloudSQL instance. + /// + /// For example: "google-managed-services-default". If set, the instance ip + /// will be created in the allocated range. The range name must comply with + /// [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name + /// must be 1-63 characters long and match the regular expression + /// `[a-z]([-a-z0-9]*[a-z0-9])?.` Reserved for future use. + core.String? allocatedIpRange; + /// The list of external networks that are allowed to connect to the instance /// using the IP. /// @@ -4944,6 +4985,7 @@ class IpConfiguration { core.bool? requireSsl; IpConfiguration({ + this.allocatedIpRange, this.authorizedNetworks, this.ipv4Enabled, this.privateNetwork, @@ -4952,6 +4994,9 @@ class IpConfiguration { IpConfiguration.fromJson(core.Map _json) : this( + allocatedIpRange: _json.containsKey('allocatedIpRange') + ? _json['allocatedIpRange'] as core.String + : null, authorizedNetworks: _json.containsKey('authorizedNetworks') ? (_json['authorizedNetworks'] as core.List) .map((value) => AclEntry.fromJson( @@ -4970,6 +5015,7 @@ class IpConfiguration { ); core.Map toJson() => { + if (allocatedIpRange != null) 'allocatedIpRange': allocatedIpRange!, if (authorizedNetworks != null) 'authorizedNetworks': authorizedNetworks!.map((value) => value.toJson()).toList(), @@ -5252,6 +5298,32 @@ class MySqlReplicaConfiguration { }; } +/// MySQL-specific external server sync settings. +class MySqlSyncConfig { + /// Flags to use for the initial dump. + core.List? initialSyncFlags; + + MySqlSyncConfig({ + this.initialSyncFlags, + }); + + MySqlSyncConfig.fromJson(core.Map _json) + : this( + initialSyncFlags: _json.containsKey('initialSyncFlags') + ? (_json['initialSyncFlags'] as core.List) + .map((value) => SyncFlags.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (initialSyncFlags != null) + 'initialSyncFlags': + initialSyncFlags!.map((value) => value.toJson()).toList(), + }; +} + /// On-premises instance configuration. class OnPremisesConfiguration { /// PEM representation of the trusted CA's x509 certificate. @@ -5277,6 +5349,9 @@ class OnPremisesConfiguration { /// The password for connecting to on-premises instance. core.String? password; + /// The reference to Cloud SQL instance if the source is Cloud SQL. + InstanceReference? sourceInstance; + /// The username for connecting to on-premises instance. core.String? username; @@ -5288,6 +5363,7 @@ class OnPremisesConfiguration { this.hostPort, this.kind, this.password, + this.sourceInstance, this.username, }); @@ -5312,6 +5388,10 @@ class OnPremisesConfiguration { password: _json.containsKey('password') ? _json['password'] as core.String : null, + sourceInstance: _json.containsKey('sourceInstance') + ? InstanceReference.fromJson(_json['sourceInstance'] + as core.Map) + : null, username: _json.containsKey('username') ? _json['username'] as core.String : null, @@ -5325,6 +5405,7 @@ class OnPremisesConfiguration { if (hostPort != null) 'hostPort': hostPort!, if (kind != null) 'kind': kind!, if (password != null) 'password': password!, + if (sourceInstance != null) 'sourceInstance': sourceInstance!.toJson(), if (username != null) 'username': username!, }; } @@ -5889,8 +5970,7 @@ class Settings { /// The settings for IP Management. /// /// This allows to enable or disable the instance IP and manage which external - /// networks can connect to the instance. The IPv4 address cannot be disabled - /// for Second Generation instances. + /// networks can connect to the instance. The IPv4 address cannot be disabled. IpConfiguration? ipConfiguration; /// This is always *sql#settings*. @@ -6249,6 +6329,99 @@ class SqlInstancesRescheduleMaintenanceRequestBody { }; } +class SqlInstancesStartExternalSyncRequest { + /// MySQL-specific settings for start external sync. + MySqlSyncConfig? mysqlSyncConfig; + + /// Whether to skip the verification step (VESS). + core.bool? skipVerification; + + /// External sync mode. + /// Possible string values are: + /// - "EXTERNAL_SYNC_MODE_UNSPECIFIED" : Unknown external sync mode, will be + /// defaulted to ONLINE mode + /// - "ONLINE" : Online external sync will set up replication after initial + /// data external sync + /// - "OFFLINE" : Offline external sync only dumps and loads a one-time + /// snapshot of the primary instance's data + core.String? syncMode; + + SqlInstancesStartExternalSyncRequest({ + this.mysqlSyncConfig, + this.skipVerification, + this.syncMode, + }); + + SqlInstancesStartExternalSyncRequest.fromJson(core.Map _json) + : this( + mysqlSyncConfig: _json.containsKey('mysqlSyncConfig') + ? MySqlSyncConfig.fromJson(_json['mysqlSyncConfig'] + as core.Map) + : null, + skipVerification: _json.containsKey('skipVerification') + ? _json['skipVerification'] as core.bool + : null, + syncMode: _json.containsKey('syncMode') + ? _json['syncMode'] as core.String + : null, + ); + + core.Map toJson() => { + if (mysqlSyncConfig != null) + 'mysqlSyncConfig': mysqlSyncConfig!.toJson(), + if (skipVerification != null) 'skipVerification': skipVerification!, + if (syncMode != null) 'syncMode': syncMode!, + }; +} + +class SqlInstancesVerifyExternalSyncSettingsRequest { + /// MySQL-specific settings for start external sync. + /// + /// Optional. + MySqlSyncConfig? mysqlSyncConfig; + + /// External sync mode + /// Possible string values are: + /// - "EXTERNAL_SYNC_MODE_UNSPECIFIED" : Unknown external sync mode, will be + /// defaulted to ONLINE mode + /// - "ONLINE" : Online external sync will set up replication after initial + /// data external sync + /// - "OFFLINE" : Offline external sync only dumps and loads a one-time + /// snapshot of the primary instance's data + core.String? syncMode; + + /// Flag to enable verifying connection only + core.bool? verifyConnectionOnly; + + SqlInstancesVerifyExternalSyncSettingsRequest({ + this.mysqlSyncConfig, + this.syncMode, + this.verifyConnectionOnly, + }); + + SqlInstancesVerifyExternalSyncSettingsRequest.fromJson(core.Map _json) + : this( + mysqlSyncConfig: _json.containsKey('mysqlSyncConfig') + ? MySqlSyncConfig.fromJson(_json['mysqlSyncConfig'] + as core.Map) + : null, + syncMode: _json.containsKey('syncMode') + ? _json['syncMode'] as core.String + : null, + verifyConnectionOnly: _json.containsKey('verifyConnectionOnly') + ? _json['verifyConnectionOnly'] as core.bool + : null, + ); + + core.Map toJson() => { + if (mysqlSyncConfig != null) + 'mysqlSyncConfig': mysqlSyncConfig!.toJson(), + if (syncMode != null) 'syncMode': syncMode!, + if (verifyConnectionOnly != null) + 'verifyConnectionOnly': verifyConnectionOnly!, + }; +} + /// Instance verify external sync settings response. class SqlInstancesVerifyExternalSyncSettingsResponse { /// List of migration violations. @@ -6690,6 +6863,36 @@ class SslCertsListResponse { }; } +/// Initial sync flags for certain Cloud SQL APIs. +/// +/// Currently used for the MySQL external server initial dump. +class SyncFlags { + /// The name of the flag. + core.String? name; + + /// The value of the flag. + /// + /// This field must be omitted if the flag doesn't take a value. + core.String? value; + + SyncFlags({ + this.name, + this.value, + }); + + SyncFlags.fromJson(core.Map _json) + : this( + name: _json.containsKey('name') ? _json['name'] as core.String : null, + value: + _json.containsKey('value') ? _json['value'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (value != null) 'value': value!, + }; +} + /// A Google Cloud SQL service tier resource. class Tier { /// The maximum disk size of this tier in bytes. diff --git a/generated/googleapis_beta/lib/src/user_agent.dart b/generated/googleapis_beta/lib/src/user_agent.dart index fa4536eb8..6fffea655 100644 --- a/generated/googleapis_beta/lib/src/user_agent.dart +++ b/generated/googleapis_beta/lib/src/user_agent.dart @@ -2,6 +2,6 @@ import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; /// Request headers used by all libraries in this package final requestHeaders = { - 'user-agent': 'google-api-dart-client/5.0.0-dev', - 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/5.0.0-dev', + 'user-agent': 'google-api-dart-client/5.0.0', + 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/5.0.0', }; diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3.dart b/generated/googleapis_beta/lib/toolresults/v1beta3.dart index 23ba0d679..ab0026652 100644 --- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart +++ b/generated/googleapis_beta/lib/toolresults/v1beta3.dart @@ -47,7 +47,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// API to publish and access results from developer tools. class ToolResultsApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/generated/googleapis_beta/lib/transcoder/v1beta1.dart b/generated/googleapis_beta/lib/transcoder/v1beta1.dart index 786026a9b..6f5882db2 100644 --- a/generated/googleapis_beta/lib/transcoder/v1beta1.dart +++ b/generated/googleapis_beta/lib/transcoder/v1beta1.dart @@ -42,7 +42,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// This API converts video files into formats suitable for consumer /// distribution. class TranscoderApi { - /// See, edit, configure, and delete your Google Cloud Platform data + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. static const cloudPlatformScope = 'https://www.googleapis.com/auth/cloud-platform'; @@ -1954,91 +1955,6 @@ class NormalizedCoordinate { }; } -/// Represents the metadata of the long-running operation. -class OperationMetadata { - /// API version used to start the operation. - /// - /// Output only. - core.String? apiVersion; - - /// Identifies whether the user has requested cancellation of the operation. - /// - /// Operations that have successfully been cancelled have Operation.error - /// value with a google.rpc.Status.code of 1, corresponding to - /// `Code.CANCELLED`. - /// - /// Output only. - core.bool? cancelRequested; - - /// The time the operation was created. - /// - /// Output only. - core.String? createTime; - - /// The time the operation finished running. - /// - /// Output only. - core.String? endTime; - - /// Human-readable status of the operation, if any. - /// - /// Output only. - core.String? statusDetail; - - /// Server-defined resource path for the target of the operation. - /// - /// Output only. - core.String? target; - - /// Name of the verb executed by the operation. - /// - /// Output only. - core.String? verb; - - OperationMetadata({ - this.apiVersion, - this.cancelRequested, - this.createTime, - this.endTime, - this.statusDetail, - this.target, - this.verb, - }); - - OperationMetadata.fromJson(core.Map _json) - : this( - apiVersion: _json.containsKey('apiVersion') - ? _json['apiVersion'] as core.String - : null, - cancelRequested: _json.containsKey('cancelRequested') - ? _json['cancelRequested'] as core.bool - : null, - createTime: _json.containsKey('createTime') - ? _json['createTime'] as core.String - : null, - endTime: _json.containsKey('endTime') - ? _json['endTime'] as core.String - : null, - statusDetail: _json.containsKey('statusDetail') - ? _json['statusDetail'] as core.String - : null, - target: _json.containsKey('target') - ? _json['target'] as core.String - : null, - verb: _json.containsKey('verb') ? _json['verb'] as core.String : null, - ); - - core.Map toJson() => { - if (apiVersion != null) 'apiVersion': apiVersion!, - if (cancelRequested != null) 'cancelRequested': cancelRequested!, - if (createTime != null) 'createTime': createTime!, - if (endTime != null) 'endTime': endTime!, - if (statusDetail != null) 'statusDetail': statusDetail!, - if (target != null) 'target': target!, - if (verb != null) 'verb': verb!, - }; -} - /// The origin URI. class OriginUri { /// Dash manifest URI. @@ -2664,7 +2580,8 @@ class VideoStream { /// The video bitrate in bits per second. /// - /// Must be between 1 and 1,000,000,000. + /// The minimum value is 1,000. The maximum value for H264/H265 is + /// 800,000,000. The maximum value for VP9 is 480,000,000. /// /// Required. core.int? bitrateBps; diff --git a/generated/googleapis_beta/pubspec.yaml b/generated/googleapis_beta/pubspec.yaml index c0a3569ff..bb2101fc2 100644 --- a/generated/googleapis_beta/pubspec.yaml +++ b/generated/googleapis_beta/pubspec.yaml @@ -1,5 +1,5 @@ name: googleapis_beta -version: 5.0.0-dev +version: 5.0.0 description: Auto-generated client libraries for accessing Google APIs described through the API discovery service. repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis_beta environment: diff --git a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart index 5dceaf5b7..eefafe5ba 100644 --- a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart +++ b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart @@ -101,12 +101,12 @@ void checkAdSize(api.AdSize o) { buildCounterAdSize--; } -core.List buildUnnamed7837() => [ +core.List buildUnnamed7923() => [ 'foo', 'foo', ]; -void checkUnnamed7837(core.List o) { +void checkUnnamed7923(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -123,7 +123,7 @@ api.AdTechnologyProviders buildAdTechnologyProviders() { final o = api.AdTechnologyProviders(); buildCounterAdTechnologyProviders++; if (buildCounterAdTechnologyProviders < 3) { - o.detectedProviderIds = buildUnnamed7837(); + o.detectedProviderIds = buildUnnamed7923(); o.hasUnidentifiedProvider = true; } buildCounterAdTechnologyProviders--; @@ -133,7 +133,7 @@ api.AdTechnologyProviders buildAdTechnologyProviders() { void checkAdTechnologyProviders(api.AdTechnologyProviders o) { buildCounterAdTechnologyProviders++; if (buildCounterAdTechnologyProviders < 3) { - checkUnnamed7837(o.detectedProviderIds!); + checkUnnamed7923(o.detectedProviderIds!); unittest.expect(o.hasUnidentifiedProvider!, unittest.isTrue); } buildCounterAdTechnologyProviders--; @@ -177,12 +177,12 @@ void checkAddNoteRequest(api.AddNoteRequest o) { buildCounterAddNoteRequest--; } -core.List buildUnnamed7838() => [ +core.List buildUnnamed7924() => [ 'foo', 'foo', ]; -void checkUnnamed7838(core.List o) { +void checkUnnamed7924(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -199,7 +199,7 @@ api.AppContext buildAppContext() { final o = api.AppContext(); buildCounterAppContext++; if (buildCounterAppContext < 3) { - o.appTypes = buildUnnamed7838(); + o.appTypes = buildUnnamed7924(); } buildCounterAppContext--; return o; @@ -208,17 +208,17 @@ api.AppContext buildAppContext() { void checkAppContext(api.AppContext o) { buildCounterAppContext++; if (buildCounterAppContext < 3) { - checkUnnamed7838(o.appTypes!); + checkUnnamed7924(o.appTypes!); } buildCounterAppContext--; } -core.List buildUnnamed7839() => [ +core.List buildUnnamed7925() => [ 'foo', 'foo', ]; -void checkUnnamed7839(core.List o) { +void checkUnnamed7925(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -235,7 +235,7 @@ api.AuctionContext buildAuctionContext() { final o = api.AuctionContext(); buildCounterAuctionContext++; if (buildCounterAuctionContext < 3) { - o.auctionTypes = buildUnnamed7839(); + o.auctionTypes = buildUnnamed7925(); } buildCounterAuctionContext--; return o; @@ -244,7 +244,7 @@ api.AuctionContext buildAuctionContext() { void checkAuctionContext(api.AuctionContext o) { buildCounterAuctionContext++; if (buildCounterAuctionContext < 3) { - checkUnnamed7839(o.auctionTypes!); + checkUnnamed7925(o.auctionTypes!); } buildCounterAuctionContext--; } @@ -542,23 +542,23 @@ void checkContactInformation(api.ContactInformation o) { buildCounterContactInformation--; } -core.List buildUnnamed7840() => [ +core.List buildUnnamed7926() => [ buildServingContext(), buildServingContext(), ]; -void checkUnnamed7840(core.List o) { +void checkUnnamed7926(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServingContext(o[0]); checkServingContext(o[1]); } -core.List buildUnnamed7841() => [ +core.List buildUnnamed7927() => [ 'foo', 'foo', ]; -void checkUnnamed7841(core.List o) { +void checkUnnamed7927(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -575,8 +575,8 @@ api.Correction buildCorrection() { final o = api.Correction(); buildCounterCorrection++; if (buildCounterCorrection < 3) { - o.contexts = buildUnnamed7840(); - o.details = buildUnnamed7841(); + o.contexts = buildUnnamed7926(); + o.details = buildUnnamed7927(); o.type = 'foo'; } buildCounterCorrection--; @@ -586,8 +586,8 @@ api.Correction buildCorrection() { void checkCorrection(api.Correction o) { buildCounterCorrection++; if (buildCounterCorrection < 3) { - checkUnnamed7840(o.contexts!); - checkUnnamed7841(o.details!); + checkUnnamed7926(o.contexts!); + checkUnnamed7927(o.details!); unittest.expect( o.type!, unittest.equals('foo'), @@ -596,12 +596,12 @@ void checkCorrection(api.Correction o) { buildCounterCorrection--; } -core.List buildUnnamed7842() => [ +core.List buildUnnamed7928() => [ 'foo', 'foo', ]; -void checkUnnamed7842(core.List o) { +void checkUnnamed7928(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -613,12 +613,12 @@ void checkUnnamed7842(core.List o) { ); } -core.List buildUnnamed7843() => [ +core.List buildUnnamed7929() => [ 'foo', 'foo', ]; -void checkUnnamed7843(core.List o) { +void checkUnnamed7929(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -630,23 +630,23 @@ void checkUnnamed7843(core.List o) { ); } -core.List buildUnnamed7844() => [ +core.List buildUnnamed7930() => [ buildCorrection(), buildCorrection(), ]; -void checkUnnamed7844(core.List o) { +void checkUnnamed7930(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCorrection(o[0]); checkCorrection(o[1]); } -core.List buildUnnamed7845() => [ +core.List buildUnnamed7931() => [ 'foo', 'foo', ]; -void checkUnnamed7845(core.List o) { +void checkUnnamed7931(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -658,12 +658,12 @@ void checkUnnamed7845(core.List o) { ); } -core.List buildUnnamed7846() => [ +core.List buildUnnamed7932() => [ 'foo', 'foo', ]; -void checkUnnamed7846(core.List o) { +void checkUnnamed7932(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -675,12 +675,12 @@ void checkUnnamed7846(core.List o) { ); } -core.List buildUnnamed7847() => [ +core.List buildUnnamed7933() => [ 'foo', 'foo', ]; -void checkUnnamed7847(core.List o) { +void checkUnnamed7933(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -692,12 +692,12 @@ void checkUnnamed7847(core.List o) { ); } -core.List buildUnnamed7848() => [ +core.List buildUnnamed7934() => [ 'foo', 'foo', ]; -void checkUnnamed7848(core.List o) { +void checkUnnamed7934(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -709,12 +709,12 @@ void checkUnnamed7848(core.List o) { ); } -core.List buildUnnamed7849() => [ +core.List buildUnnamed7935() => [ 42, 42, ]; -void checkUnnamed7849(core.List o) { +void checkUnnamed7935(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -726,12 +726,12 @@ void checkUnnamed7849(core.List o) { ); } -core.List buildUnnamed7850() => [ +core.List buildUnnamed7936() => [ 42, 42, ]; -void checkUnnamed7850(core.List o) { +void checkUnnamed7936(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -743,12 +743,12 @@ void checkUnnamed7850(core.List o) { ); } -core.List buildUnnamed7851() => [ +core.List buildUnnamed7937() => [ 'foo', 'foo', ]; -void checkUnnamed7851(core.List o) { +void checkUnnamed7937(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -760,12 +760,12 @@ void checkUnnamed7851(core.List o) { ); } -core.List buildUnnamed7852() => [ +core.List buildUnnamed7938() => [ 'foo', 'foo', ]; -void checkUnnamed7852(core.List o) { +void checkUnnamed7938(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -777,23 +777,23 @@ void checkUnnamed7852(core.List o) { ); } -core.List buildUnnamed7853() => [ +core.List buildUnnamed7939() => [ buildServingRestriction(), buildServingRestriction(), ]; -void checkUnnamed7853(core.List o) { +void checkUnnamed7939(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServingRestriction(o[0]); checkServingRestriction(o[1]); } -core.List buildUnnamed7854() => [ +core.List buildUnnamed7940() => [ 42, 42, ]; -void checkUnnamed7854(core.List o) { +void checkUnnamed7940(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -816,24 +816,24 @@ api.Creative buildCreative() { o.advertiserName = 'foo'; o.agencyId = 'foo'; o.apiUpdateTime = 'foo'; - o.attributes = buildUnnamed7842(); - o.clickThroughUrls = buildUnnamed7843(); - o.corrections = buildUnnamed7844(); + o.attributes = buildUnnamed7928(); + o.clickThroughUrls = buildUnnamed7929(); + o.corrections = buildUnnamed7930(); o.creativeId = 'foo'; o.dealsStatus = 'foo'; - o.declaredClickThroughUrls = buildUnnamed7845(); - o.detectedAdvertiserIds = buildUnnamed7846(); - o.detectedDomains = buildUnnamed7847(); - o.detectedLanguages = buildUnnamed7848(); - o.detectedProductCategories = buildUnnamed7849(); - o.detectedSensitiveCategories = buildUnnamed7850(); + o.declaredClickThroughUrls = buildUnnamed7931(); + o.detectedAdvertiserIds = buildUnnamed7932(); + o.detectedDomains = buildUnnamed7933(); + o.detectedLanguages = buildUnnamed7934(); + o.detectedProductCategories = buildUnnamed7935(); + o.detectedSensitiveCategories = buildUnnamed7936(); o.html = buildHtmlContent(); - o.impressionTrackingUrls = buildUnnamed7851(); + o.impressionTrackingUrls = buildUnnamed7937(); o.native = buildNativeContent(); o.openAuctionStatus = 'foo'; - o.restrictedCategories = buildUnnamed7852(); - o.servingRestrictions = buildUnnamed7853(); - o.vendorIds = buildUnnamed7854(); + o.restrictedCategories = buildUnnamed7938(); + o.servingRestrictions = buildUnnamed7939(); + o.vendorIds = buildUnnamed7940(); o.version = 42; o.video = buildVideoContent(); } @@ -865,9 +865,9 @@ void checkCreative(api.Creative o) { o.apiUpdateTime!, unittest.equals('foo'), ); - checkUnnamed7842(o.attributes!); - checkUnnamed7843(o.clickThroughUrls!); - checkUnnamed7844(o.corrections!); + checkUnnamed7928(o.attributes!); + checkUnnamed7929(o.clickThroughUrls!); + checkUnnamed7930(o.corrections!); unittest.expect( o.creativeId!, unittest.equals('foo'), @@ -876,22 +876,22 @@ void checkCreative(api.Creative o) { o.dealsStatus!, unittest.equals('foo'), ); - checkUnnamed7845(o.declaredClickThroughUrls!); - checkUnnamed7846(o.detectedAdvertiserIds!); - checkUnnamed7847(o.detectedDomains!); - checkUnnamed7848(o.detectedLanguages!); - checkUnnamed7849(o.detectedProductCategories!); - checkUnnamed7850(o.detectedSensitiveCategories!); + checkUnnamed7931(o.declaredClickThroughUrls!); + checkUnnamed7932(o.detectedAdvertiserIds!); + checkUnnamed7933(o.detectedDomains!); + checkUnnamed7934(o.detectedLanguages!); + checkUnnamed7935(o.detectedProductCategories!); + checkUnnamed7936(o.detectedSensitiveCategories!); checkHtmlContent(o.html!); - checkUnnamed7851(o.impressionTrackingUrls!); + checkUnnamed7937(o.impressionTrackingUrls!); checkNativeContent(o.native!); unittest.expect( o.openAuctionStatus!, unittest.equals('foo'), ); - checkUnnamed7852(o.restrictedCategories!); - checkUnnamed7853(o.servingRestrictions!); - checkUnnamed7854(o.vendorIds!); + checkUnnamed7938(o.restrictedCategories!); + checkUnnamed7939(o.servingRestrictions!); + checkUnnamed7940(o.vendorIds!); unittest.expect( o.version!, unittest.equals(42), @@ -933,12 +933,12 @@ void checkCreativeDealAssociation(api.CreativeDealAssociation o) { buildCounterCreativeDealAssociation--; } -core.List buildUnnamed7855() => [ +core.List buildUnnamed7941() => [ buildCreativeSpecification(), buildCreativeSpecification(), ]; -void checkUnnamed7855(core.List o) { +void checkUnnamed7941(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeSpecification(o[0]); checkCreativeSpecification(o[1]); @@ -950,7 +950,7 @@ api.CreativeRestrictions buildCreativeRestrictions() { buildCounterCreativeRestrictions++; if (buildCounterCreativeRestrictions < 3) { o.creativeFormat = 'foo'; - o.creativeSpecifications = buildUnnamed7855(); + o.creativeSpecifications = buildUnnamed7941(); o.skippableAdType = 'foo'; } buildCounterCreativeRestrictions--; @@ -964,7 +964,7 @@ void checkCreativeRestrictions(api.CreativeRestrictions o) { o.creativeFormat!, unittest.equals('foo'), ); - checkUnnamed7855(o.creativeSpecifications!); + checkUnnamed7941(o.creativeSpecifications!); unittest.expect( o.skippableAdType!, unittest.equals('foo'), @@ -973,12 +973,12 @@ void checkCreativeRestrictions(api.CreativeRestrictions o) { buildCounterCreativeRestrictions--; } -core.List buildUnnamed7856() => [ +core.List buildUnnamed7942() => [ 'foo', 'foo', ]; -void checkUnnamed7856(core.List o) { +void checkUnnamed7942(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -990,12 +990,12 @@ void checkUnnamed7856(core.List o) { ); } -core.List buildUnnamed7857() => [ +core.List buildUnnamed7943() => [ buildSize(), buildSize(), ]; -void checkUnnamed7857(core.List o) { +void checkUnnamed7943(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSize(o[0]); checkSize(o[1]); @@ -1006,8 +1006,8 @@ api.CreativeSize buildCreativeSize() { final o = api.CreativeSize(); buildCounterCreativeSize++; if (buildCounterCreativeSize < 3) { - o.allowedFormats = buildUnnamed7856(); - o.companionSizes = buildUnnamed7857(); + o.allowedFormats = buildUnnamed7942(); + o.companionSizes = buildUnnamed7943(); o.creativeSizeType = 'foo'; o.nativeTemplate = 'foo'; o.size = buildSize(); @@ -1020,8 +1020,8 @@ api.CreativeSize buildCreativeSize() { void checkCreativeSize(api.CreativeSize o) { buildCounterCreativeSize++; if (buildCounterCreativeSize < 3) { - checkUnnamed7856(o.allowedFormats!); - checkUnnamed7857(o.companionSizes!); + checkUnnamed7942(o.allowedFormats!); + checkUnnamed7943(o.companionSizes!); unittest.expect( o.creativeSizeType!, unittest.equals('foo'), @@ -1039,12 +1039,12 @@ void checkCreativeSize(api.CreativeSize o) { buildCounterCreativeSize--; } -core.List buildUnnamed7858() => [ +core.List buildUnnamed7944() => [ buildAdSize(), buildAdSize(), ]; -void checkUnnamed7858(core.List o) { +void checkUnnamed7944(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdSize(o[0]); checkAdSize(o[1]); @@ -1055,7 +1055,7 @@ api.CreativeSpecification buildCreativeSpecification() { final o = api.CreativeSpecification(); buildCounterCreativeSpecification++; if (buildCounterCreativeSpecification < 3) { - o.creativeCompanionSizes = buildUnnamed7858(); + o.creativeCompanionSizes = buildUnnamed7944(); o.creativeSize = buildAdSize(); } buildCounterCreativeSpecification--; @@ -1065,7 +1065,7 @@ api.CreativeSpecification buildCreativeSpecification() { void checkCreativeSpecification(api.CreativeSpecification o) { buildCounterCreativeSpecification++; if (buildCounterCreativeSpecification < 3) { - checkUnnamed7858(o.creativeCompanionSizes!); + checkUnnamed7944(o.creativeCompanionSizes!); checkAdSize(o.creativeSize!); } buildCounterCreativeSpecification--; @@ -1097,12 +1097,12 @@ void checkCreativeStatusRow(api.CreativeStatusRow o) { buildCounterCreativeStatusRow--; } -core.List buildUnnamed7859() => [ +core.List buildUnnamed7945() => [ 'foo', 'foo', ]; -void checkUnnamed7859(core.List o) { +void checkUnnamed7945(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1114,12 +1114,12 @@ void checkUnnamed7859(core.List o) { ); } -core.List buildUnnamed7860() => [ +core.List buildUnnamed7946() => [ 'foo', 'foo', ]; -void checkUnnamed7860(core.List o) { +void checkUnnamed7946(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1136,8 +1136,8 @@ api.CriteriaTargeting buildCriteriaTargeting() { final o = api.CriteriaTargeting(); buildCounterCriteriaTargeting++; if (buildCounterCriteriaTargeting < 3) { - o.excludedCriteriaIds = buildUnnamed7859(); - o.targetedCriteriaIds = buildUnnamed7860(); + o.excludedCriteriaIds = buildUnnamed7945(); + o.targetedCriteriaIds = buildUnnamed7946(); } buildCounterCriteriaTargeting--; return o; @@ -1146,8 +1146,8 @@ api.CriteriaTargeting buildCriteriaTargeting() { void checkCriteriaTargeting(api.CriteriaTargeting o) { buildCounterCriteriaTargeting++; if (buildCounterCriteriaTargeting < 3) { - checkUnnamed7859(o.excludedCriteriaIds!); - checkUnnamed7860(o.targetedCriteriaIds!); + checkUnnamed7945(o.excludedCriteriaIds!); + checkUnnamed7946(o.targetedCriteriaIds!); } buildCounterCriteriaTargeting--; } @@ -1210,12 +1210,12 @@ void checkDayPart(api.DayPart o) { buildCounterDayPart--; } -core.List buildUnnamed7861() => [ +core.List buildUnnamed7947() => [ buildDayPart(), buildDayPart(), ]; -void checkUnnamed7861(core.List o) { +void checkUnnamed7947(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDayPart(o[0]); checkDayPart(o[1]); @@ -1226,7 +1226,7 @@ api.DayPartTargeting buildDayPartTargeting() { final o = api.DayPartTargeting(); buildCounterDayPartTargeting++; if (buildCounterDayPartTargeting < 3) { - o.dayParts = buildUnnamed7861(); + o.dayParts = buildUnnamed7947(); o.timeZoneType = 'foo'; } buildCounterDayPartTargeting--; @@ -1236,7 +1236,7 @@ api.DayPartTargeting buildDayPartTargeting() { void checkDayPartTargeting(api.DayPartTargeting o) { buildCounterDayPartTargeting++; if (buildCounterDayPartTargeting < 3) { - checkUnnamed7861(o.dayParts!); + checkUnnamed7947(o.dayParts!); unittest.expect( o.timeZoneType!, unittest.equals('foo'), @@ -1245,23 +1245,23 @@ void checkDayPartTargeting(api.DayPartTargeting o) { buildCounterDayPartTargeting--; } -core.List buildUnnamed7862() => [ +core.List buildUnnamed7948() => [ buildContactInformation(), buildContactInformation(), ]; -void checkUnnamed7862(core.List o) { +void checkUnnamed7948(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactInformation(o[0]); checkContactInformation(o[1]); } -core.List buildUnnamed7863() => [ +core.List buildUnnamed7949() => [ buildTargetingCriteria(), buildTargetingCriteria(), ]; -void checkUnnamed7863(core.List o) { +void checkUnnamed7949(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingCriteria(o[0]); checkTargetingCriteria(o[1]); @@ -1291,10 +1291,10 @@ api.Deal buildDeal() { o.isSetupComplete = true; o.programmaticCreativeSource = 'foo'; o.proposalId = 'foo'; - o.sellerContacts = buildUnnamed7862(); + o.sellerContacts = buildUnnamed7948(); o.syndicationProduct = 'foo'; o.targeting = buildMarketplaceTargeting(); - o.targetingCriterion = buildUnnamed7863(); + o.targetingCriterion = buildUnnamed7949(); o.updateTime = 'foo'; o.webPropertyCode = 'foo'; } @@ -1363,13 +1363,13 @@ void checkDeal(api.Deal o) { o.proposalId!, unittest.equals('foo'), ); - checkUnnamed7862(o.sellerContacts!); + checkUnnamed7948(o.sellerContacts!); unittest.expect( o.syndicationProduct!, unittest.equals('foo'), ); checkMarketplaceTargeting(o.targeting!); - checkUnnamed7863(o.targetingCriterion!); + checkUnnamed7949(o.targetingCriterion!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -1482,12 +1482,12 @@ void checkDealTerms(api.DealTerms o) { buildCounterDealTerms--; } -core.List buildUnnamed7864() => [ +core.List buildUnnamed7950() => [ buildFrequencyCap(), buildFrequencyCap(), ]; -void checkUnnamed7864(core.List o) { +void checkUnnamed7950(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFrequencyCap(o[0]); checkFrequencyCap(o[1]); @@ -1500,7 +1500,7 @@ api.DeliveryControl buildDeliveryControl() { if (buildCounterDeliveryControl < 3) { o.creativeBlockingLevel = 'foo'; o.deliveryRateType = 'foo'; - o.frequencyCaps = buildUnnamed7864(); + o.frequencyCaps = buildUnnamed7950(); } buildCounterDeliveryControl--; return o; @@ -1517,17 +1517,17 @@ void checkDeliveryControl(api.DeliveryControl o) { o.deliveryRateType!, unittest.equals('foo'), ); - checkUnnamed7864(o.frequencyCaps!); + checkUnnamed7950(o.frequencyCaps!); } buildCounterDeliveryControl--; } -core.List buildUnnamed7865() => [ +core.List buildUnnamed7951() => [ 'foo', 'foo', ]; -void checkUnnamed7865(core.List o) { +void checkUnnamed7951(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1544,7 +1544,7 @@ api.Disapproval buildDisapproval() { final o = api.Disapproval(); buildCounterDisapproval++; if (buildCounterDisapproval < 3) { - o.details = buildUnnamed7865(); + o.details = buildUnnamed7951(); o.reason = 'foo'; } buildCounterDisapproval--; @@ -1554,7 +1554,7 @@ api.Disapproval buildDisapproval() { void checkDisapproval(api.Disapproval o) { buildCounterDisapproval++; if (buildCounterDisapproval < 3) { - checkUnnamed7865(o.details!); + checkUnnamed7951(o.details!); unittest.expect( o.reason!, unittest.equals('foo'), @@ -1578,12 +1578,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed7866() => [ +core.List buildUnnamed7952() => [ 'foo', 'foo', ]; -void checkUnnamed7866(core.List o) { +void checkUnnamed7952(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1595,12 +1595,12 @@ void checkUnnamed7866(core.List o) { ); } -core.List buildUnnamed7867() => [ +core.List buildUnnamed7953() => [ 'foo', 'foo', ]; -void checkUnnamed7867(core.List o) { +void checkUnnamed7953(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1612,12 +1612,12 @@ void checkUnnamed7867(core.List o) { ); } -core.List buildUnnamed7868() => [ +core.List buildUnnamed7954() => [ 'foo', 'foo', ]; -void checkUnnamed7868(core.List o) { +void checkUnnamed7954(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1629,12 +1629,12 @@ void checkUnnamed7868(core.List o) { ); } -core.List buildUnnamed7869() => [ +core.List buildUnnamed7955() => [ 'foo', 'foo', ]; -void checkUnnamed7869(core.List o) { +void checkUnnamed7955(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1646,12 +1646,12 @@ void checkUnnamed7869(core.List o) { ); } -core.List buildUnnamed7870() => [ +core.List buildUnnamed7956() => [ 42, 42, ]; -void checkUnnamed7870(core.List o) { +void checkUnnamed7956(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1669,18 +1669,18 @@ api.FilterSet buildFilterSet() { buildCounterFilterSet++; if (buildCounterFilterSet < 3) { o.absoluteDateRange = buildAbsoluteDateRange(); - o.breakdownDimensions = buildUnnamed7866(); + o.breakdownDimensions = buildUnnamed7952(); o.creativeId = 'foo'; o.dealId = 'foo'; o.environment = 'foo'; o.format = 'foo'; - o.formats = buildUnnamed7867(); + o.formats = buildUnnamed7953(); o.name = 'foo'; - o.platforms = buildUnnamed7868(); - o.publisherIdentifiers = buildUnnamed7869(); + o.platforms = buildUnnamed7954(); + o.publisherIdentifiers = buildUnnamed7955(); o.realtimeTimeRange = buildRealtimeTimeRange(); o.relativeDateRange = buildRelativeDateRange(); - o.sellerNetworkIds = buildUnnamed7870(); + o.sellerNetworkIds = buildUnnamed7956(); o.timeSeriesGranularity = 'foo'; } buildCounterFilterSet--; @@ -1691,7 +1691,7 @@ void checkFilterSet(api.FilterSet o) { buildCounterFilterSet++; if (buildCounterFilterSet < 3) { checkAbsoluteDateRange(o.absoluteDateRange!); - checkUnnamed7866(o.breakdownDimensions!); + checkUnnamed7952(o.breakdownDimensions!); unittest.expect( o.creativeId!, unittest.equals('foo'), @@ -1708,16 +1708,16 @@ void checkFilterSet(api.FilterSet o) { o.format!, unittest.equals('foo'), ); - checkUnnamed7867(o.formats!); + checkUnnamed7953(o.formats!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed7868(o.platforms!); - checkUnnamed7869(o.publisherIdentifiers!); + checkUnnamed7954(o.platforms!); + checkUnnamed7955(o.publisherIdentifiers!); checkRealtimeTimeRange(o.realtimeTimeRange!); checkRelativeDateRange(o.relativeDateRange!); - checkUnnamed7870(o.sellerNetworkIds!); + checkUnnamed7956(o.sellerNetworkIds!); unittest.expect( o.timeSeriesGranularity!, unittest.equals('foo'), @@ -1783,12 +1783,12 @@ void checkFilteredBidDetailRow(api.FilteredBidDetailRow o) { buildCounterFilteredBidDetailRow--; } -core.List buildUnnamed7871() => [ +core.List buildUnnamed7957() => [ 'foo', 'foo', ]; -void checkUnnamed7871(core.List o) { +void checkUnnamed7957(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1800,12 +1800,12 @@ void checkUnnamed7871(core.List o) { ); } -core.List buildUnnamed7872() => [ +core.List buildUnnamed7958() => [ 'foo', 'foo', ]; -void checkUnnamed7872(core.List o) { +void checkUnnamed7958(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1823,8 +1823,8 @@ api.FirstPartyMobileApplicationTargeting final o = api.FirstPartyMobileApplicationTargeting(); buildCounterFirstPartyMobileApplicationTargeting++; if (buildCounterFirstPartyMobileApplicationTargeting < 3) { - o.excludedAppIds = buildUnnamed7871(); - o.targetedAppIds = buildUnnamed7872(); + o.excludedAppIds = buildUnnamed7957(); + o.targetedAppIds = buildUnnamed7958(); } buildCounterFirstPartyMobileApplicationTargeting--; return o; @@ -1834,8 +1834,8 @@ void checkFirstPartyMobileApplicationTargeting( api.FirstPartyMobileApplicationTargeting o) { buildCounterFirstPartyMobileApplicationTargeting++; if (buildCounterFirstPartyMobileApplicationTargeting < 3) { - checkUnnamed7871(o.excludedAppIds!); - checkUnnamed7872(o.targetedAppIds!); + checkUnnamed7957(o.excludedAppIds!); + checkUnnamed7958(o.targetedAppIds!); } buildCounterFirstPartyMobileApplicationTargeting--; } @@ -1872,12 +1872,12 @@ void checkFrequencyCap(api.FrequencyCap o) { buildCounterFrequencyCap--; } -core.List buildUnnamed7873() => [ +core.List buildUnnamed7959() => [ buildPricePerBuyer(), buildPricePerBuyer(), ]; -void checkUnnamed7873(core.List o) { +void checkUnnamed7959(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPricePerBuyer(o[0]); checkPricePerBuyer(o[1]); @@ -1888,7 +1888,7 @@ api.GuaranteedFixedPriceTerms buildGuaranteedFixedPriceTerms() { final o = api.GuaranteedFixedPriceTerms(); buildCounterGuaranteedFixedPriceTerms++; if (buildCounterGuaranteedFixedPriceTerms < 3) { - o.fixedPrices = buildUnnamed7873(); + o.fixedPrices = buildUnnamed7959(); o.guaranteedImpressions = 'foo'; o.guaranteedLooks = 'foo'; o.impressionCap = 'foo'; @@ -1903,7 +1903,7 @@ api.GuaranteedFixedPriceTerms buildGuaranteedFixedPriceTerms() { void checkGuaranteedFixedPriceTerms(api.GuaranteedFixedPriceTerms o) { buildCounterGuaranteedFixedPriceTerms++; if (buildCounterGuaranteedFixedPriceTerms < 3) { - checkUnnamed7873(o.fixedPrices!); + checkUnnamed7959(o.fixedPrices!); unittest.expect( o.guaranteedImpressions!, unittest.equals('foo'), @@ -2025,23 +2025,23 @@ void checkImpressionMetricsRow(api.ImpressionMetricsRow o) { buildCounterImpressionMetricsRow--; } -core.List buildUnnamed7874() => [ +core.List buildUnnamed7960() => [ buildAdSize(), buildAdSize(), ]; -void checkUnnamed7874(core.List o) { +void checkUnnamed7960(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdSize(o[0]); checkAdSize(o[1]); } -core.List buildUnnamed7875() => [ +core.List buildUnnamed7961() => [ buildAdSize(), buildAdSize(), ]; -void checkUnnamed7875(core.List o) { +void checkUnnamed7961(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdSize(o[0]); checkAdSize(o[1]); @@ -2052,8 +2052,8 @@ api.InventorySizeTargeting buildInventorySizeTargeting() { final o = api.InventorySizeTargeting(); buildCounterInventorySizeTargeting++; if (buildCounterInventorySizeTargeting < 3) { - o.excludedInventorySizes = buildUnnamed7874(); - o.targetedInventorySizes = buildUnnamed7875(); + o.excludedInventorySizes = buildUnnamed7960(); + o.targetedInventorySizes = buildUnnamed7961(); } buildCounterInventorySizeTargeting--; return o; @@ -2062,18 +2062,18 @@ api.InventorySizeTargeting buildInventorySizeTargeting() { void checkInventorySizeTargeting(api.InventorySizeTargeting o) { buildCounterInventorySizeTargeting++; if (buildCounterInventorySizeTargeting < 3) { - checkUnnamed7874(o.excludedInventorySizes!); - checkUnnamed7875(o.targetedInventorySizes!); + checkUnnamed7960(o.excludedInventorySizes!); + checkUnnamed7961(o.targetedInventorySizes!); } buildCounterInventorySizeTargeting--; } -core.List buildUnnamed7876() => [ +core.List buildUnnamed7962() => [ buildBidMetricsRow(), buildBidMetricsRow(), ]; -void checkUnnamed7876(core.List o) { +void checkUnnamed7962(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBidMetricsRow(o[0]); checkBidMetricsRow(o[1]); @@ -2084,7 +2084,7 @@ api.ListBidMetricsResponse buildListBidMetricsResponse() { final o = api.ListBidMetricsResponse(); buildCounterListBidMetricsResponse++; if (buildCounterListBidMetricsResponse < 3) { - o.bidMetricsRows = buildUnnamed7876(); + o.bidMetricsRows = buildUnnamed7962(); o.nextPageToken = 'foo'; } buildCounterListBidMetricsResponse--; @@ -2094,7 +2094,7 @@ api.ListBidMetricsResponse buildListBidMetricsResponse() { void checkListBidMetricsResponse(api.ListBidMetricsResponse o) { buildCounterListBidMetricsResponse++; if (buildCounterListBidMetricsResponse < 3) { - checkUnnamed7876(o.bidMetricsRows!); + checkUnnamed7962(o.bidMetricsRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2103,12 +2103,12 @@ void checkListBidMetricsResponse(api.ListBidMetricsResponse o) { buildCounterListBidMetricsResponse--; } -core.List buildUnnamed7877() => [ +core.List buildUnnamed7963() => [ buildCalloutStatusRow(), buildCalloutStatusRow(), ]; -void checkUnnamed7877(core.List o) { +void checkUnnamed7963(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCalloutStatusRow(o[0]); checkCalloutStatusRow(o[1]); @@ -2119,7 +2119,7 @@ api.ListBidResponseErrorsResponse buildListBidResponseErrorsResponse() { final o = api.ListBidResponseErrorsResponse(); buildCounterListBidResponseErrorsResponse++; if (buildCounterListBidResponseErrorsResponse < 3) { - o.calloutStatusRows = buildUnnamed7877(); + o.calloutStatusRows = buildUnnamed7963(); o.nextPageToken = 'foo'; } buildCounterListBidResponseErrorsResponse--; @@ -2129,7 +2129,7 @@ api.ListBidResponseErrorsResponse buildListBidResponseErrorsResponse() { void checkListBidResponseErrorsResponse(api.ListBidResponseErrorsResponse o) { buildCounterListBidResponseErrorsResponse++; if (buildCounterListBidResponseErrorsResponse < 3) { - checkUnnamed7877(o.calloutStatusRows!); + checkUnnamed7963(o.calloutStatusRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2138,12 +2138,12 @@ void checkListBidResponseErrorsResponse(api.ListBidResponseErrorsResponse o) { buildCounterListBidResponseErrorsResponse--; } -core.List buildUnnamed7878() => [ +core.List buildUnnamed7964() => [ buildBidResponseWithoutBidsStatusRow(), buildBidResponseWithoutBidsStatusRow(), ]; -void checkUnnamed7878(core.List o) { +void checkUnnamed7964(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBidResponseWithoutBidsStatusRow(o[0]); checkBidResponseWithoutBidsStatusRow(o[1]); @@ -2155,7 +2155,7 @@ api.ListBidResponsesWithoutBidsResponse final o = api.ListBidResponsesWithoutBidsResponse(); buildCounterListBidResponsesWithoutBidsResponse++; if (buildCounterListBidResponsesWithoutBidsResponse < 3) { - o.bidResponseWithoutBidsStatusRows = buildUnnamed7878(); + o.bidResponseWithoutBidsStatusRows = buildUnnamed7964(); o.nextPageToken = 'foo'; } buildCounterListBidResponsesWithoutBidsResponse--; @@ -2166,7 +2166,7 @@ void checkListBidResponsesWithoutBidsResponse( api.ListBidResponsesWithoutBidsResponse o) { buildCounterListBidResponsesWithoutBidsResponse++; if (buildCounterListBidResponsesWithoutBidsResponse < 3) { - checkUnnamed7878(o.bidResponseWithoutBidsStatusRows!); + checkUnnamed7964(o.bidResponseWithoutBidsStatusRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2175,12 +2175,12 @@ void checkListBidResponsesWithoutBidsResponse( buildCounterListBidResponsesWithoutBidsResponse--; } -core.List buildUnnamed7879() => [ +core.List buildUnnamed7965() => [ buildClientUserInvitation(), buildClientUserInvitation(), ]; -void checkUnnamed7879(core.List o) { +void checkUnnamed7965(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClientUserInvitation(o[0]); checkClientUserInvitation(o[1]); @@ -2191,7 +2191,7 @@ api.ListClientUserInvitationsResponse buildListClientUserInvitationsResponse() { final o = api.ListClientUserInvitationsResponse(); buildCounterListClientUserInvitationsResponse++; if (buildCounterListClientUserInvitationsResponse < 3) { - o.invitations = buildUnnamed7879(); + o.invitations = buildUnnamed7965(); o.nextPageToken = 'foo'; } buildCounterListClientUserInvitationsResponse--; @@ -2202,7 +2202,7 @@ void checkListClientUserInvitationsResponse( api.ListClientUserInvitationsResponse o) { buildCounterListClientUserInvitationsResponse++; if (buildCounterListClientUserInvitationsResponse < 3) { - checkUnnamed7879(o.invitations!); + checkUnnamed7965(o.invitations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2211,12 +2211,12 @@ void checkListClientUserInvitationsResponse( buildCounterListClientUserInvitationsResponse--; } -core.List buildUnnamed7880() => [ +core.List buildUnnamed7966() => [ buildClientUser(), buildClientUser(), ]; -void checkUnnamed7880(core.List o) { +void checkUnnamed7966(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClientUser(o[0]); checkClientUser(o[1]); @@ -2228,7 +2228,7 @@ api.ListClientUsersResponse buildListClientUsersResponse() { buildCounterListClientUsersResponse++; if (buildCounterListClientUsersResponse < 3) { o.nextPageToken = 'foo'; - o.users = buildUnnamed7880(); + o.users = buildUnnamed7966(); } buildCounterListClientUsersResponse--; return o; @@ -2241,17 +2241,17 @@ void checkListClientUsersResponse(api.ListClientUsersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7880(o.users!); + checkUnnamed7966(o.users!); } buildCounterListClientUsersResponse--; } -core.List buildUnnamed7881() => [ +core.List buildUnnamed7967() => [ buildClient(), buildClient(), ]; -void checkUnnamed7881(core.List o) { +void checkUnnamed7967(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClient(o[0]); checkClient(o[1]); @@ -2262,7 +2262,7 @@ api.ListClientsResponse buildListClientsResponse() { final o = api.ListClientsResponse(); buildCounterListClientsResponse++; if (buildCounterListClientsResponse < 3) { - o.clients = buildUnnamed7881(); + o.clients = buildUnnamed7967(); o.nextPageToken = 'foo'; } buildCounterListClientsResponse--; @@ -2272,7 +2272,7 @@ api.ListClientsResponse buildListClientsResponse() { void checkListClientsResponse(api.ListClientsResponse o) { buildCounterListClientsResponse++; if (buildCounterListClientsResponse < 3) { - checkUnnamed7881(o.clients!); + checkUnnamed7967(o.clients!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2281,12 +2281,12 @@ void checkListClientsResponse(api.ListClientsResponse o) { buildCounterListClientsResponse--; } -core.List buildUnnamed7882() => [ +core.List buildUnnamed7968() => [ buildFilteredBidCreativeRow(), buildFilteredBidCreativeRow(), ]; -void checkUnnamed7882(core.List o) { +void checkUnnamed7968(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilteredBidCreativeRow(o[0]); checkFilteredBidCreativeRow(o[1]); @@ -2298,7 +2298,7 @@ api.ListCreativeStatusBreakdownByCreativeResponse final o = api.ListCreativeStatusBreakdownByCreativeResponse(); buildCounterListCreativeStatusBreakdownByCreativeResponse++; if (buildCounterListCreativeStatusBreakdownByCreativeResponse < 3) { - o.filteredBidCreativeRows = buildUnnamed7882(); + o.filteredBidCreativeRows = buildUnnamed7968(); o.nextPageToken = 'foo'; } buildCounterListCreativeStatusBreakdownByCreativeResponse--; @@ -2309,7 +2309,7 @@ void checkListCreativeStatusBreakdownByCreativeResponse( api.ListCreativeStatusBreakdownByCreativeResponse o) { buildCounterListCreativeStatusBreakdownByCreativeResponse++; if (buildCounterListCreativeStatusBreakdownByCreativeResponse < 3) { - checkUnnamed7882(o.filteredBidCreativeRows!); + checkUnnamed7968(o.filteredBidCreativeRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2318,12 +2318,12 @@ void checkListCreativeStatusBreakdownByCreativeResponse( buildCounterListCreativeStatusBreakdownByCreativeResponse--; } -core.List buildUnnamed7883() => [ +core.List buildUnnamed7969() => [ buildFilteredBidDetailRow(), buildFilteredBidDetailRow(), ]; -void checkUnnamed7883(core.List o) { +void checkUnnamed7969(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilteredBidDetailRow(o[0]); checkFilteredBidDetailRow(o[1]); @@ -2336,7 +2336,7 @@ api.ListCreativeStatusBreakdownByDetailResponse buildCounterListCreativeStatusBreakdownByDetailResponse++; if (buildCounterListCreativeStatusBreakdownByDetailResponse < 3) { o.detailType = 'foo'; - o.filteredBidDetailRows = buildUnnamed7883(); + o.filteredBidDetailRows = buildUnnamed7969(); o.nextPageToken = 'foo'; } buildCounterListCreativeStatusBreakdownByDetailResponse--; @@ -2351,7 +2351,7 @@ void checkListCreativeStatusBreakdownByDetailResponse( o.detailType!, unittest.equals('foo'), ); - checkUnnamed7883(o.filteredBidDetailRows!); + checkUnnamed7969(o.filteredBidDetailRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2360,12 +2360,12 @@ void checkListCreativeStatusBreakdownByDetailResponse( buildCounterListCreativeStatusBreakdownByDetailResponse--; } -core.List buildUnnamed7884() => [ +core.List buildUnnamed7970() => [ buildCreative(), buildCreative(), ]; -void checkUnnamed7884(core.List o) { +void checkUnnamed7970(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreative(o[0]); checkCreative(o[1]); @@ -2376,7 +2376,7 @@ api.ListCreativesResponse buildListCreativesResponse() { final o = api.ListCreativesResponse(); buildCounterListCreativesResponse++; if (buildCounterListCreativesResponse < 3) { - o.creatives = buildUnnamed7884(); + o.creatives = buildUnnamed7970(); o.nextPageToken = 'foo'; } buildCounterListCreativesResponse--; @@ -2386,7 +2386,7 @@ api.ListCreativesResponse buildListCreativesResponse() { void checkListCreativesResponse(api.ListCreativesResponse o) { buildCounterListCreativesResponse++; if (buildCounterListCreativesResponse < 3) { - checkUnnamed7884(o.creatives!); + checkUnnamed7970(o.creatives!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2395,12 +2395,12 @@ void checkListCreativesResponse(api.ListCreativesResponse o) { buildCounterListCreativesResponse--; } -core.List buildUnnamed7885() => [ +core.List buildUnnamed7971() => [ buildCreativeDealAssociation(), buildCreativeDealAssociation(), ]; -void checkUnnamed7885(core.List o) { +void checkUnnamed7971(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeDealAssociation(o[0]); checkCreativeDealAssociation(o[1]); @@ -2411,7 +2411,7 @@ api.ListDealAssociationsResponse buildListDealAssociationsResponse() { final o = api.ListDealAssociationsResponse(); buildCounterListDealAssociationsResponse++; if (buildCounterListDealAssociationsResponse < 3) { - o.associations = buildUnnamed7885(); + o.associations = buildUnnamed7971(); o.nextPageToken = 'foo'; } buildCounterListDealAssociationsResponse--; @@ -2421,7 +2421,7 @@ api.ListDealAssociationsResponse buildListDealAssociationsResponse() { void checkListDealAssociationsResponse(api.ListDealAssociationsResponse o) { buildCounterListDealAssociationsResponse++; if (buildCounterListDealAssociationsResponse < 3) { - checkUnnamed7885(o.associations!); + checkUnnamed7971(o.associations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2430,12 +2430,12 @@ void checkListDealAssociationsResponse(api.ListDealAssociationsResponse o) { buildCounterListDealAssociationsResponse--; } -core.List buildUnnamed7886() => [ +core.List buildUnnamed7972() => [ buildFilterSet(), buildFilterSet(), ]; -void checkUnnamed7886(core.List o) { +void checkUnnamed7972(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterSet(o[0]); checkFilterSet(o[1]); @@ -2446,7 +2446,7 @@ api.ListFilterSetsResponse buildListFilterSetsResponse() { final o = api.ListFilterSetsResponse(); buildCounterListFilterSetsResponse++; if (buildCounterListFilterSetsResponse < 3) { - o.filterSets = buildUnnamed7886(); + o.filterSets = buildUnnamed7972(); o.nextPageToken = 'foo'; } buildCounterListFilterSetsResponse--; @@ -2456,7 +2456,7 @@ api.ListFilterSetsResponse buildListFilterSetsResponse() { void checkListFilterSetsResponse(api.ListFilterSetsResponse o) { buildCounterListFilterSetsResponse++; if (buildCounterListFilterSetsResponse < 3) { - checkUnnamed7886(o.filterSets!); + checkUnnamed7972(o.filterSets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2465,12 +2465,12 @@ void checkListFilterSetsResponse(api.ListFilterSetsResponse o) { buildCounterListFilterSetsResponse--; } -core.List buildUnnamed7887() => [ +core.List buildUnnamed7973() => [ buildCalloutStatusRow(), buildCalloutStatusRow(), ]; -void checkUnnamed7887(core.List o) { +void checkUnnamed7973(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCalloutStatusRow(o[0]); checkCalloutStatusRow(o[1]); @@ -2481,7 +2481,7 @@ api.ListFilteredBidRequestsResponse buildListFilteredBidRequestsResponse() { final o = api.ListFilteredBidRequestsResponse(); buildCounterListFilteredBidRequestsResponse++; if (buildCounterListFilteredBidRequestsResponse < 3) { - o.calloutStatusRows = buildUnnamed7887(); + o.calloutStatusRows = buildUnnamed7973(); o.nextPageToken = 'foo'; } buildCounterListFilteredBidRequestsResponse--; @@ -2492,7 +2492,7 @@ void checkListFilteredBidRequestsResponse( api.ListFilteredBidRequestsResponse o) { buildCounterListFilteredBidRequestsResponse++; if (buildCounterListFilteredBidRequestsResponse < 3) { - checkUnnamed7887(o.calloutStatusRows!); + checkUnnamed7973(o.calloutStatusRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2501,12 +2501,12 @@ void checkListFilteredBidRequestsResponse( buildCounterListFilteredBidRequestsResponse--; } -core.List buildUnnamed7888() => [ +core.List buildUnnamed7974() => [ buildCreativeStatusRow(), buildCreativeStatusRow(), ]; -void checkUnnamed7888(core.List o) { +void checkUnnamed7974(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeStatusRow(o[0]); checkCreativeStatusRow(o[1]); @@ -2517,7 +2517,7 @@ api.ListFilteredBidsResponse buildListFilteredBidsResponse() { final o = api.ListFilteredBidsResponse(); buildCounterListFilteredBidsResponse++; if (buildCounterListFilteredBidsResponse < 3) { - o.creativeStatusRows = buildUnnamed7888(); + o.creativeStatusRows = buildUnnamed7974(); o.nextPageToken = 'foo'; } buildCounterListFilteredBidsResponse--; @@ -2527,7 +2527,7 @@ api.ListFilteredBidsResponse buildListFilteredBidsResponse() { void checkListFilteredBidsResponse(api.ListFilteredBidsResponse o) { buildCounterListFilteredBidsResponse++; if (buildCounterListFilteredBidsResponse < 3) { - checkUnnamed7888(o.creativeStatusRows!); + checkUnnamed7974(o.creativeStatusRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2536,12 +2536,12 @@ void checkListFilteredBidsResponse(api.ListFilteredBidsResponse o) { buildCounterListFilteredBidsResponse--; } -core.List buildUnnamed7889() => [ +core.List buildUnnamed7975() => [ buildImpressionMetricsRow(), buildImpressionMetricsRow(), ]; -void checkUnnamed7889(core.List o) { +void checkUnnamed7975(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImpressionMetricsRow(o[0]); checkImpressionMetricsRow(o[1]); @@ -2552,7 +2552,7 @@ api.ListImpressionMetricsResponse buildListImpressionMetricsResponse() { final o = api.ListImpressionMetricsResponse(); buildCounterListImpressionMetricsResponse++; if (buildCounterListImpressionMetricsResponse < 3) { - o.impressionMetricsRows = buildUnnamed7889(); + o.impressionMetricsRows = buildUnnamed7975(); o.nextPageToken = 'foo'; } buildCounterListImpressionMetricsResponse--; @@ -2562,7 +2562,7 @@ api.ListImpressionMetricsResponse buildListImpressionMetricsResponse() { void checkListImpressionMetricsResponse(api.ListImpressionMetricsResponse o) { buildCounterListImpressionMetricsResponse++; if (buildCounterListImpressionMetricsResponse < 3) { - checkUnnamed7889(o.impressionMetricsRows!); + checkUnnamed7975(o.impressionMetricsRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2571,12 +2571,12 @@ void checkListImpressionMetricsResponse(api.ListImpressionMetricsResponse o) { buildCounterListImpressionMetricsResponse--; } -core.List buildUnnamed7890() => [ +core.List buildUnnamed7976() => [ buildCreativeStatusRow(), buildCreativeStatusRow(), ]; -void checkUnnamed7890(core.List o) { +void checkUnnamed7976(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreativeStatusRow(o[0]); checkCreativeStatusRow(o[1]); @@ -2587,7 +2587,7 @@ api.ListLosingBidsResponse buildListLosingBidsResponse() { final o = api.ListLosingBidsResponse(); buildCounterListLosingBidsResponse++; if (buildCounterListLosingBidsResponse < 3) { - o.creativeStatusRows = buildUnnamed7890(); + o.creativeStatusRows = buildUnnamed7976(); o.nextPageToken = 'foo'; } buildCounterListLosingBidsResponse--; @@ -2597,7 +2597,7 @@ api.ListLosingBidsResponse buildListLosingBidsResponse() { void checkListLosingBidsResponse(api.ListLosingBidsResponse o) { buildCounterListLosingBidsResponse++; if (buildCounterListLosingBidsResponse < 3) { - checkUnnamed7890(o.creativeStatusRows!); + checkUnnamed7976(o.creativeStatusRows!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2606,12 +2606,12 @@ void checkListLosingBidsResponse(api.ListLosingBidsResponse o) { buildCounterListLosingBidsResponse--; } -core.List buildUnnamed7891() => [ +core.List buildUnnamed7977() => [ buildNonBillableWinningBidStatusRow(), buildNonBillableWinningBidStatusRow(), ]; -void checkUnnamed7891(core.List o) { +void checkUnnamed7977(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNonBillableWinningBidStatusRow(o[0]); checkNonBillableWinningBidStatusRow(o[1]); @@ -2624,7 +2624,7 @@ api.ListNonBillableWinningBidsResponse buildCounterListNonBillableWinningBidsResponse++; if (buildCounterListNonBillableWinningBidsResponse < 3) { o.nextPageToken = 'foo'; - o.nonBillableWinningBidStatusRows = buildUnnamed7891(); + o.nonBillableWinningBidStatusRows = buildUnnamed7977(); } buildCounterListNonBillableWinningBidsResponse--; return o; @@ -2638,17 +2638,17 @@ void checkListNonBillableWinningBidsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7891(o.nonBillableWinningBidStatusRows!); + checkUnnamed7977(o.nonBillableWinningBidStatusRows!); } buildCounterListNonBillableWinningBidsResponse--; } -core.List buildUnnamed7892() => [ +core.List buildUnnamed7978() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed7892(core.List o) { +void checkUnnamed7978(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -2660,7 +2660,7 @@ api.ListProductsResponse buildListProductsResponse() { buildCounterListProductsResponse++; if (buildCounterListProductsResponse < 3) { o.nextPageToken = 'foo'; - o.products = buildUnnamed7892(); + o.products = buildUnnamed7978(); } buildCounterListProductsResponse--; return o; @@ -2673,17 +2673,17 @@ void checkListProductsResponse(api.ListProductsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7892(o.products!); + checkUnnamed7978(o.products!); } buildCounterListProductsResponse--; } -core.List buildUnnamed7893() => [ +core.List buildUnnamed7979() => [ buildProposal(), buildProposal(), ]; -void checkUnnamed7893(core.List o) { +void checkUnnamed7979(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProposal(o[0]); checkProposal(o[1]); @@ -2695,7 +2695,7 @@ api.ListProposalsResponse buildListProposalsResponse() { buildCounterListProposalsResponse++; if (buildCounterListProposalsResponse < 3) { o.nextPageToken = 'foo'; - o.proposals = buildUnnamed7893(); + o.proposals = buildUnnamed7979(); } buildCounterListProposalsResponse--; return o; @@ -2708,17 +2708,17 @@ void checkListProposalsResponse(api.ListProposalsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7893(o.proposals!); + checkUnnamed7979(o.proposals!); } buildCounterListProposalsResponse--; } -core.List buildUnnamed7894() => [ +core.List buildUnnamed7980() => [ buildPublisherProfile(), buildPublisherProfile(), ]; -void checkUnnamed7894(core.List o) { +void checkUnnamed7980(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublisherProfile(o[0]); checkPublisherProfile(o[1]); @@ -2730,7 +2730,7 @@ api.ListPublisherProfilesResponse buildListPublisherProfilesResponse() { buildCounterListPublisherProfilesResponse++; if (buildCounterListPublisherProfilesResponse < 3) { o.nextPageToken = 'foo'; - o.publisherProfiles = buildUnnamed7894(); + o.publisherProfiles = buildUnnamed7980(); } buildCounterListPublisherProfilesResponse--; return o; @@ -2743,17 +2743,17 @@ void checkListPublisherProfilesResponse(api.ListPublisherProfilesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7894(o.publisherProfiles!); + checkUnnamed7980(o.publisherProfiles!); } buildCounterListPublisherProfilesResponse--; } -core.List buildUnnamed7895() => [ +core.List buildUnnamed7981() => [ 42, 42, ]; -void checkUnnamed7895(core.List o) { +void checkUnnamed7981(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2770,7 +2770,7 @@ api.LocationContext buildLocationContext() { final o = api.LocationContext(); buildCounterLocationContext++; if (buildCounterLocationContext < 3) { - o.geoCriteriaIds = buildUnnamed7895(); + o.geoCriteriaIds = buildUnnamed7981(); } buildCounterLocationContext--; return o; @@ -2779,7 +2779,7 @@ api.LocationContext buildLocationContext() { void checkLocationContext(api.LocationContext o) { buildCounterLocationContext++; if (buildCounterLocationContext < 3) { - checkUnnamed7895(o.geoCriteriaIds!); + checkUnnamed7981(o.geoCriteriaIds!); } buildCounterLocationContext--; } @@ -2988,12 +2988,12 @@ void checkNonBillableWinningBidStatusRow(api.NonBillableWinningBidStatusRow o) { buildCounterNonBillableWinningBidStatusRow--; } -core.List buildUnnamed7896() => [ +core.List buildUnnamed7982() => [ buildPricePerBuyer(), buildPricePerBuyer(), ]; -void checkUnnamed7896(core.List o) { +void checkUnnamed7982(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPricePerBuyer(o[0]); checkPricePerBuyer(o[1]); @@ -3005,7 +3005,7 @@ api.NonGuaranteedAuctionTerms buildNonGuaranteedAuctionTerms() { buildCounterNonGuaranteedAuctionTerms++; if (buildCounterNonGuaranteedAuctionTerms < 3) { o.autoOptimizePrivateAuction = true; - o.reservePricesPerBuyer = buildUnnamed7896(); + o.reservePricesPerBuyer = buildUnnamed7982(); } buildCounterNonGuaranteedAuctionTerms--; return o; @@ -3015,17 +3015,17 @@ void checkNonGuaranteedAuctionTerms(api.NonGuaranteedAuctionTerms o) { buildCounterNonGuaranteedAuctionTerms++; if (buildCounterNonGuaranteedAuctionTerms < 3) { unittest.expect(o.autoOptimizePrivateAuction!, unittest.isTrue); - checkUnnamed7896(o.reservePricesPerBuyer!); + checkUnnamed7982(o.reservePricesPerBuyer!); } buildCounterNonGuaranteedAuctionTerms--; } -core.List buildUnnamed7897() => [ +core.List buildUnnamed7983() => [ buildPricePerBuyer(), buildPricePerBuyer(), ]; -void checkUnnamed7897(core.List o) { +void checkUnnamed7983(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPricePerBuyer(o[0]); checkPricePerBuyer(o[1]); @@ -3036,7 +3036,7 @@ api.NonGuaranteedFixedPriceTerms buildNonGuaranteedFixedPriceTerms() { final o = api.NonGuaranteedFixedPriceTerms(); buildCounterNonGuaranteedFixedPriceTerms++; if (buildCounterNonGuaranteedFixedPriceTerms < 3) { - o.fixedPrices = buildUnnamed7897(); + o.fixedPrices = buildUnnamed7983(); } buildCounterNonGuaranteedFixedPriceTerms--; return o; @@ -3045,7 +3045,7 @@ api.NonGuaranteedFixedPriceTerms buildNonGuaranteedFixedPriceTerms() { void checkNonGuaranteedFixedPriceTerms(api.NonGuaranteedFixedPriceTerms o) { buildCounterNonGuaranteedFixedPriceTerms++; if (buildCounterNonGuaranteedFixedPriceTerms < 3) { - checkUnnamed7897(o.fixedPrices!); + checkUnnamed7983(o.fixedPrices!); } buildCounterNonGuaranteedFixedPriceTerms--; } @@ -3113,12 +3113,12 @@ void checkOperatingSystemTargeting(api.OperatingSystemTargeting o) { buildCounterOperatingSystemTargeting--; } -core.List buildUnnamed7898() => [ +core.List buildUnnamed7984() => [ 'foo', 'foo', ]; -void checkUnnamed7898(core.List o) { +void checkUnnamed7984(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3135,7 +3135,7 @@ api.PauseProposalDealsRequest buildPauseProposalDealsRequest() { final o = api.PauseProposalDealsRequest(); buildCounterPauseProposalDealsRequest++; if (buildCounterPauseProposalDealsRequest < 3) { - o.externalDealIds = buildUnnamed7898(); + o.externalDealIds = buildUnnamed7984(); o.reason = 'foo'; } buildCounterPauseProposalDealsRequest--; @@ -3145,7 +3145,7 @@ api.PauseProposalDealsRequest buildPauseProposalDealsRequest() { void checkPauseProposalDealsRequest(api.PauseProposalDealsRequest o) { buildCounterPauseProposalDealsRequest++; if (buildCounterPauseProposalDealsRequest < 3) { - checkUnnamed7898(o.externalDealIds!); + checkUnnamed7984(o.externalDealIds!); unittest.expect( o.reason!, unittest.equals('foo'), @@ -3197,12 +3197,12 @@ void checkPlacementTargeting(api.PlacementTargeting o) { buildCounterPlacementTargeting--; } -core.List buildUnnamed7899() => [ +core.List buildUnnamed7985() => [ 'foo', 'foo', ]; -void checkUnnamed7899(core.List o) { +void checkUnnamed7985(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3219,7 +3219,7 @@ api.PlatformContext buildPlatformContext() { final o = api.PlatformContext(); buildCounterPlatformContext++; if (buildCounterPlatformContext < 3) { - o.platforms = buildUnnamed7899(); + o.platforms = buildUnnamed7985(); } buildCounterPlatformContext--; return o; @@ -3228,7 +3228,7 @@ api.PlatformContext buildPlatformContext() { void checkPlatformContext(api.PlatformContext o) { buildCounterPlatformContext++; if (buildCounterPlatformContext < 3) { - checkUnnamed7899(o.platforms!); + checkUnnamed7985(o.platforms!); } buildCounterPlatformContext--; } @@ -3257,12 +3257,12 @@ void checkPrice(api.Price o) { buildCounterPrice--; } -core.List buildUnnamed7900() => [ +core.List buildUnnamed7986() => [ 'foo', 'foo', ]; -void checkUnnamed7900(core.List o) { +void checkUnnamed7986(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3279,7 +3279,7 @@ api.PricePerBuyer buildPricePerBuyer() { final o = api.PricePerBuyer(); buildCounterPricePerBuyer++; if (buildCounterPricePerBuyer < 3) { - o.advertiserIds = buildUnnamed7900(); + o.advertiserIds = buildUnnamed7986(); o.buyer = buildBuyer(); o.price = buildPrice(); } @@ -3290,7 +3290,7 @@ api.PricePerBuyer buildPricePerBuyer() { void checkPricePerBuyer(api.PricePerBuyer o) { buildCounterPricePerBuyer++; if (buildCounterPricePerBuyer < 3) { - checkUnnamed7900(o.advertiserIds!); + checkUnnamed7986(o.advertiserIds!); checkBuyer(o.buyer!); checkPrice(o.price!); } @@ -3319,23 +3319,23 @@ void checkPrivateData(api.PrivateData o) { buildCounterPrivateData--; } -core.List buildUnnamed7901() => [ +core.List buildUnnamed7987() => [ buildContactInformation(), buildContactInformation(), ]; -void checkUnnamed7901(core.List o) { +void checkUnnamed7987(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactInformation(o[0]); checkContactInformation(o[1]); } -core.List buildUnnamed7902() => [ +core.List buildUnnamed7988() => [ buildTargetingCriteria(), buildTargetingCriteria(), ]; -void checkUnnamed7902(core.List o) { +void checkUnnamed7988(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingCriteria(o[0]); checkTargetingCriteria(o[1]); @@ -3349,7 +3349,7 @@ api.Product buildProduct() { o.availableEndTime = 'foo'; o.availableStartTime = 'foo'; o.createTime = 'foo'; - o.creatorContacts = buildUnnamed7901(); + o.creatorContacts = buildUnnamed7987(); o.displayName = 'foo'; o.hasCreatorSignedOff = true; o.productId = 'foo'; @@ -3357,7 +3357,7 @@ api.Product buildProduct() { o.publisherProfileId = 'foo'; o.seller = buildSeller(); o.syndicationProduct = 'foo'; - o.targetingCriterion = buildUnnamed7902(); + o.targetingCriterion = buildUnnamed7988(); o.terms = buildDealTerms(); o.updateTime = 'foo'; o.webPropertyCode = 'foo'; @@ -3381,7 +3381,7 @@ void checkProduct(api.Product o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed7901(o.creatorContacts!); + checkUnnamed7987(o.creatorContacts!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -3404,7 +3404,7 @@ void checkProduct(api.Product o) { o.syndicationProduct!, unittest.equals('foo'), ); - checkUnnamed7902(o.targetingCriterion!); + checkUnnamed7988(o.targetingCriterion!); checkDealTerms(o.terms!); unittest.expect( o.updateTime!, @@ -3418,45 +3418,45 @@ void checkProduct(api.Product o) { buildCounterProduct--; } -core.List buildUnnamed7903() => [ +core.List buildUnnamed7989() => [ buildContactInformation(), buildContactInformation(), ]; -void checkUnnamed7903(core.List o) { +void checkUnnamed7989(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactInformation(o[0]); checkContactInformation(o[1]); } -core.List buildUnnamed7904() => [ +core.List buildUnnamed7990() => [ buildDeal(), buildDeal(), ]; -void checkUnnamed7904(core.List o) { +void checkUnnamed7990(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeal(o[0]); checkDeal(o[1]); } -core.List buildUnnamed7905() => [ +core.List buildUnnamed7991() => [ buildNote(), buildNote(), ]; -void checkUnnamed7905(core.List o) { +void checkUnnamed7991(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNote(o[0]); checkNote(o[1]); } -core.List buildUnnamed7906() => [ +core.List buildUnnamed7992() => [ buildContactInformation(), buildContactInformation(), ]; -void checkUnnamed7906(core.List o) { +void checkUnnamed7992(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkContactInformation(o[0]); checkContactInformation(o[1]); @@ -3469,21 +3469,21 @@ api.Proposal buildProposal() { if (buildCounterProposal < 3) { o.billedBuyer = buildBuyer(); o.buyer = buildBuyer(); - o.buyerContacts = buildUnnamed7903(); + o.buyerContacts = buildUnnamed7989(); o.buyerPrivateData = buildPrivateData(); - o.deals = buildUnnamed7904(); + o.deals = buildUnnamed7990(); o.displayName = 'foo'; o.isRenegotiating = true; o.isSetupComplete = true; o.lastUpdaterOrCommentorRole = 'foo'; - o.notes = buildUnnamed7905(); + o.notes = buildUnnamed7991(); o.originatorRole = 'foo'; o.privateAuctionId = 'foo'; o.proposalId = 'foo'; o.proposalRevision = 'foo'; o.proposalState = 'foo'; o.seller = buildSeller(); - o.sellerContacts = buildUnnamed7906(); + o.sellerContacts = buildUnnamed7992(); o.termsAndConditions = 'foo'; o.updateTime = 'foo'; } @@ -3496,9 +3496,9 @@ void checkProposal(api.Proposal o) { if (buildCounterProposal < 3) { checkBuyer(o.billedBuyer!); checkBuyer(o.buyer!); - checkUnnamed7903(o.buyerContacts!); + checkUnnamed7989(o.buyerContacts!); checkPrivateData(o.buyerPrivateData!); - checkUnnamed7904(o.deals!); + checkUnnamed7990(o.deals!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -3509,7 +3509,7 @@ void checkProposal(api.Proposal o) { o.lastUpdaterOrCommentorRole!, unittest.equals('foo'), ); - checkUnnamed7905(o.notes!); + checkUnnamed7991(o.notes!); unittest.expect( o.originatorRole!, unittest.equals('foo'), @@ -3531,7 +3531,7 @@ void checkProposal(api.Proposal o) { unittest.equals('foo'), ); checkSeller(o.seller!); - checkUnnamed7906(o.sellerContacts!); + checkUnnamed7992(o.sellerContacts!); unittest.expect( o.termsAndConditions!, unittest.equals('foo'), @@ -3544,12 +3544,12 @@ void checkProposal(api.Proposal o) { buildCounterProposal--; } -core.List buildUnnamed7907() => [ +core.List buildUnnamed7993() => [ 'foo', 'foo', ]; -void checkUnnamed7907(core.List o) { +void checkUnnamed7993(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3561,23 +3561,23 @@ void checkUnnamed7907(core.List o) { ); } -core.List buildUnnamed7908() => [ +core.List buildUnnamed7994() => [ buildPublisherProfileMobileApplication(), buildPublisherProfileMobileApplication(), ]; -void checkUnnamed7908(core.List o) { +void checkUnnamed7994(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPublisherProfileMobileApplication(o[0]); checkPublisherProfileMobileApplication(o[1]); } -core.List buildUnnamed7909() => [ +core.List buildUnnamed7995() => [ 'foo', 'foo', ]; -void checkUnnamed7909(core.List o) { +void checkUnnamed7995(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3598,19 +3598,19 @@ api.PublisherProfile buildPublisherProfile() { o.buyerPitchStatement = 'foo'; o.directDealsContact = 'foo'; o.displayName = 'foo'; - o.domains = buildUnnamed7907(); + o.domains = buildUnnamed7993(); o.googlePlusUrl = 'foo'; o.isParent = true; o.logoUrl = 'foo'; o.mediaKitUrl = 'foo'; - o.mobileApps = buildUnnamed7908(); + o.mobileApps = buildUnnamed7994(); o.overview = 'foo'; o.programmaticDealsContact = 'foo'; o.publisherProfileId = 'foo'; o.rateCardInfoUrl = 'foo'; o.samplePageUrl = 'foo'; o.seller = buildSeller(); - o.topHeadlines = buildUnnamed7909(); + o.topHeadlines = buildUnnamed7995(); } buildCounterPublisherProfile--; return o; @@ -3635,7 +3635,7 @@ void checkPublisherProfile(api.PublisherProfile o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed7907(o.domains!); + checkUnnamed7993(o.domains!); unittest.expect( o.googlePlusUrl!, unittest.equals('foo'), @@ -3649,7 +3649,7 @@ void checkPublisherProfile(api.PublisherProfile o) { o.mediaKitUrl!, unittest.equals('foo'), ); - checkUnnamed7908(o.mobileApps!); + checkUnnamed7994(o.mobileApps!); unittest.expect( o.overview!, unittest.equals('foo'), @@ -3671,7 +3671,7 @@ void checkPublisherProfile(api.PublisherProfile o) { unittest.equals('foo'), ); checkSeller(o.seller!); - checkUnnamed7909(o.topHeadlines!); + checkUnnamed7995(o.topHeadlines!); } buildCounterPublisherProfile--; } @@ -3777,12 +3777,12 @@ void checkRemoveDealAssociationRequest(api.RemoveDealAssociationRequest o) { buildCounterRemoveDealAssociationRequest--; } -core.List buildUnnamed7910() => [ +core.List buildUnnamed7996() => [ 'foo', 'foo', ]; -void checkUnnamed7910(core.List o) { +void checkUnnamed7996(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3799,7 +3799,7 @@ api.ResumeProposalDealsRequest buildResumeProposalDealsRequest() { final o = api.ResumeProposalDealsRequest(); buildCounterResumeProposalDealsRequest++; if (buildCounterResumeProposalDealsRequest < 3) { - o.externalDealIds = buildUnnamed7910(); + o.externalDealIds = buildUnnamed7996(); } buildCounterResumeProposalDealsRequest--; return o; @@ -3808,7 +3808,7 @@ api.ResumeProposalDealsRequest buildResumeProposalDealsRequest() { void checkResumeProposalDealsRequest(api.ResumeProposalDealsRequest o) { buildCounterResumeProposalDealsRequest++; if (buildCounterResumeProposalDealsRequest < 3) { - checkUnnamed7910(o.externalDealIds!); + checkUnnamed7996(o.externalDealIds!); } buildCounterResumeProposalDealsRequest--; } @@ -3852,12 +3852,12 @@ void checkRowDimensions(api.RowDimensions o) { buildCounterRowDimensions--; } -core.List buildUnnamed7911() => [ +core.List buildUnnamed7997() => [ 'foo', 'foo', ]; -void checkUnnamed7911(core.List o) { +void checkUnnamed7997(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3874,7 +3874,7 @@ api.SecurityContext buildSecurityContext() { final o = api.SecurityContext(); buildCounterSecurityContext++; if (buildCounterSecurityContext < 3) { - o.securities = buildUnnamed7911(); + o.securities = buildUnnamed7997(); } buildCounterSecurityContext--; return o; @@ -3883,7 +3883,7 @@ api.SecurityContext buildSecurityContext() { void checkSecurityContext(api.SecurityContext o) { buildCounterSecurityContext++; if (buildCounterSecurityContext < 3) { - checkUnnamed7911(o.securities!); + checkUnnamed7997(o.securities!); } buildCounterSecurityContext--; } @@ -3947,23 +3947,23 @@ void checkServingContext(api.ServingContext o) { buildCounterServingContext--; } -core.List buildUnnamed7912() => [ +core.List buildUnnamed7998() => [ buildServingContext(), buildServingContext(), ]; -void checkUnnamed7912(core.List o) { +void checkUnnamed7998(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServingContext(o[0]); checkServingContext(o[1]); } -core.List buildUnnamed7913() => [ +core.List buildUnnamed7999() => [ buildDisapproval(), buildDisapproval(), ]; -void checkUnnamed7913(core.List o) { +void checkUnnamed7999(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisapproval(o[0]); checkDisapproval(o[1]); @@ -3974,9 +3974,9 @@ api.ServingRestriction buildServingRestriction() { final o = api.ServingRestriction(); buildCounterServingRestriction++; if (buildCounterServingRestriction < 3) { - o.contexts = buildUnnamed7912(); + o.contexts = buildUnnamed7998(); o.disapproval = buildDisapproval(); - o.disapprovalReasons = buildUnnamed7913(); + o.disapprovalReasons = buildUnnamed7999(); o.status = 'foo'; } buildCounterServingRestriction--; @@ -3986,9 +3986,9 @@ api.ServingRestriction buildServingRestriction() { void checkServingRestriction(api.ServingRestriction o) { buildCounterServingRestriction++; if (buildCounterServingRestriction < 3) { - checkUnnamed7912(o.contexts!); + checkUnnamed7998(o.contexts!); checkDisapproval(o.disapproval!); - checkUnnamed7913(o.disapprovalReasons!); + checkUnnamed7999(o.disapprovalReasons!); unittest.expect( o.status!, unittest.equals('foo'), @@ -4039,23 +4039,23 @@ void checkStopWatchingCreativeRequest(api.StopWatchingCreativeRequest o) { buildCounterStopWatchingCreativeRequest--; } -core.List buildUnnamed7914() => [ +core.List buildUnnamed8000() => [ buildTargetingValue(), buildTargetingValue(), ]; -void checkUnnamed7914(core.List o) { +void checkUnnamed8000(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingValue(o[0]); checkTargetingValue(o[1]); } -core.List buildUnnamed7915() => [ +core.List buildUnnamed8001() => [ buildTargetingValue(), buildTargetingValue(), ]; -void checkUnnamed7915(core.List o) { +void checkUnnamed8001(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTargetingValue(o[0]); checkTargetingValue(o[1]); @@ -4066,8 +4066,8 @@ api.TargetingCriteria buildTargetingCriteria() { final o = api.TargetingCriteria(); buildCounterTargetingCriteria++; if (buildCounterTargetingCriteria < 3) { - o.exclusions = buildUnnamed7914(); - o.inclusions = buildUnnamed7915(); + o.exclusions = buildUnnamed8000(); + o.inclusions = buildUnnamed8001(); o.key = 'foo'; } buildCounterTargetingCriteria--; @@ -4077,8 +4077,8 @@ api.TargetingCriteria buildTargetingCriteria() { void checkTargetingCriteria(api.TargetingCriteria o) { buildCounterTargetingCriteria++; if (buildCounterTargetingCriteria < 3) { - checkUnnamed7914(o.exclusions!); - checkUnnamed7915(o.inclusions!); + checkUnnamed8000(o.exclusions!); + checkUnnamed8001(o.inclusions!); unittest.expect( o.key!, unittest.equals('foo'), @@ -4205,12 +4205,12 @@ void checkTimeOfDay(api.TimeOfDay o) { buildCounterTimeOfDay--; } -core.List buildUnnamed7916() => [ +core.List buildUnnamed8002() => [ 'foo', 'foo', ]; -void checkUnnamed7916(core.List o) { +void checkUnnamed8002(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4222,12 +4222,12 @@ void checkUnnamed7916(core.List o) { ); } -core.List buildUnnamed7917() => [ +core.List buildUnnamed8003() => [ 'foo', 'foo', ]; -void checkUnnamed7917(core.List o) { +void checkUnnamed8003(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4244,8 +4244,8 @@ api.UrlTargeting buildUrlTargeting() { final o = api.UrlTargeting(); buildCounterUrlTargeting++; if (buildCounterUrlTargeting < 3) { - o.excludedUrls = buildUnnamed7916(); - o.targetedUrls = buildUnnamed7917(); + o.excludedUrls = buildUnnamed8002(); + o.targetedUrls = buildUnnamed8003(); } buildCounterUrlTargeting--; return o; @@ -4254,8 +4254,8 @@ api.UrlTargeting buildUrlTargeting() { void checkUrlTargeting(api.UrlTargeting o) { buildCounterUrlTargeting++; if (buildCounterUrlTargeting < 3) { - checkUnnamed7916(o.excludedUrls!); - checkUnnamed7917(o.targetedUrls!); + checkUnnamed8002(o.excludedUrls!); + checkUnnamed8003(o.targetedUrls!); } buildCounterUrlTargeting--; } @@ -4287,12 +4287,12 @@ void checkVideoContent(api.VideoContent o) { buildCounterVideoContent--; } -core.List buildUnnamed7918() => [ +core.List buildUnnamed8004() => [ 'foo', 'foo', ]; -void checkUnnamed7918(core.List o) { +void checkUnnamed8004(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4304,12 +4304,12 @@ void checkUnnamed7918(core.List o) { ); } -core.List buildUnnamed7919() => [ +core.List buildUnnamed8005() => [ 'foo', 'foo', ]; -void checkUnnamed7919(core.List o) { +void checkUnnamed8005(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4326,8 +4326,8 @@ api.VideoTargeting buildVideoTargeting() { final o = api.VideoTargeting(); buildCounterVideoTargeting++; if (buildCounterVideoTargeting < 3) { - o.excludedPositionTypes = buildUnnamed7918(); - o.targetedPositionTypes = buildUnnamed7919(); + o.excludedPositionTypes = buildUnnamed8004(); + o.targetedPositionTypes = buildUnnamed8005(); } buildCounterVideoTargeting--; return o; @@ -4336,8 +4336,8 @@ api.VideoTargeting buildVideoTargeting() { void checkVideoTargeting(api.VideoTargeting o) { buildCounterVideoTargeting++; if (buildCounterVideoTargeting < 3) { - checkUnnamed7918(o.excludedPositionTypes!); - checkUnnamed7919(o.targetedPositionTypes!); + checkUnnamed8004(o.excludedPositionTypes!); + checkUnnamed8005(o.targetedPositionTypes!); } buildCounterVideoTargeting--; } diff --git a/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart b/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart index 267a7845f..11a3c4a9d 100644 --- a/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart +++ b/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart @@ -26,6 +26,73 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.int buildCounterAccountSuspensionDetails = 0; +api.AccountSuspensionDetails buildAccountSuspensionDetails() { + final o = api.AccountSuspensionDetails(); + buildCounterAccountSuspensionDetails++; + if (buildCounterAccountSuspensionDetails < 3) { + o.abuseReason = 'foo'; + o.productName = 'foo'; + } + buildCounterAccountSuspensionDetails--; + return o; +} + +void checkAccountSuspensionDetails(api.AccountSuspensionDetails o) { + buildCounterAccountSuspensionDetails++; + if (buildCounterAccountSuspensionDetails < 3) { + unittest.expect( + o.abuseReason!, + unittest.equals('foo'), + ); + unittest.expect( + o.productName!, + unittest.equals('foo'), + ); + } + buildCounterAccountSuspensionDetails--; +} + +core.List buildUnnamed8909() => [ + buildAccountSuspensionDetails(), + buildAccountSuspensionDetails(), + ]; + +void checkUnnamed8909(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAccountSuspensionDetails(o[0]); + checkAccountSuspensionDetails(o[1]); +} + +core.int buildCounterAccountSuspensionWarning = 0; +api.AccountSuspensionWarning buildAccountSuspensionWarning() { + final o = api.AccountSuspensionWarning(); + buildCounterAccountSuspensionWarning++; + if (buildCounterAccountSuspensionWarning < 3) { + o.appealWindow = 'foo'; + o.state = 'foo'; + o.suspensionDetails = buildUnnamed8909(); + } + buildCounterAccountSuspensionWarning--; + return o; +} + +void checkAccountSuspensionWarning(api.AccountSuspensionWarning o) { + buildCounterAccountSuspensionWarning++; + if (buildCounterAccountSuspensionWarning < 3) { + unittest.expect( + o.appealWindow!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + checkUnnamed8909(o.suspensionDetails!); + } + buildCounterAccountSuspensionWarning--; +} + core.int buildCounterAccountWarning = 0; api.AccountWarning buildAccountWarning() { final o = api.AccountWarning(); @@ -65,12 +132,12 @@ void checkActionInfo(api.ActionInfo o) { buildCounterActionInfo--; } -core.List buildUnnamed8802() => [ +core.List buildUnnamed8910() => [ 'foo', 'foo', ]; -void checkUnnamed8802(core.List o) { +void checkUnnamed8910(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -82,12 +149,12 @@ void checkUnnamed8802(core.List o) { ); } -core.List buildUnnamed8803() => [ +core.List buildUnnamed8911() => [ 'foo', 'foo', ]; -void checkUnnamed8803(core.List o) { +void checkUnnamed8911(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -104,13 +171,13 @@ api.ActivityRule buildActivityRule() { final o = api.ActivityRule(); buildCounterActivityRule++; if (buildCounterActivityRule < 3) { - o.actionNames = buildUnnamed8802(); + o.actionNames = buildUnnamed8910(); o.createTime = 'foo'; o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; o.query = 'foo'; - o.supersededAlerts = buildUnnamed8803(); + o.supersededAlerts = buildUnnamed8911(); o.supersedingAlert = 'foo'; o.threshold = 'foo'; o.triggerSource = 'foo'; @@ -124,7 +191,7 @@ api.ActivityRule buildActivityRule() { void checkActivityRule(api.ActivityRule o) { buildCounterActivityRule++; if (buildCounterActivityRule < 3) { - checkUnnamed8802(o.actionNames!); + checkUnnamed8910(o.actionNames!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -145,7 +212,7 @@ void checkActivityRule(api.ActivityRule o) { o.query!, unittest.equals('foo'), ); - checkUnnamed8803(o.supersededAlerts!); + checkUnnamed8911(o.supersededAlerts!); unittest.expect( o.supersedingAlert!, unittest.equals('foo'), @@ -170,7 +237,7 @@ void checkActivityRule(api.ActivityRule o) { buildCounterActivityRule--; } -core.Map buildUnnamed8804() => { +core.Map buildUnnamed8912() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -183,7 +250,7 @@ core.Map buildUnnamed8804() => { }, }; -void checkUnnamed8804(core.Map o) { +void checkUnnamed8912(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -223,7 +290,7 @@ api.Alert buildAlert() { o.alertId = 'foo'; o.createTime = 'foo'; o.customerId = 'foo'; - o.data = buildUnnamed8804(); + o.data = buildUnnamed8912(); o.deleted = true; o.endTime = 'foo'; o.etag = 'foo'; @@ -253,7 +320,7 @@ void checkAlert(api.Alert o) { o.customerId!, unittest.equals('foo'), ); - checkUnnamed8804(o.data!); + checkUnnamed8912(o.data!); unittest.expect(o.deleted!, unittest.isTrue); unittest.expect( o.endTime!, @@ -387,12 +454,12 @@ void checkAlertMetadata(api.AlertMetadata o) { buildCounterAlertMetadata--; } -core.List buildUnnamed8805() => [ +core.List buildUnnamed8913() => [ buildRequestInfo(), buildRequestInfo(), ]; -void checkUnnamed8805(core.List o) { +void checkUnnamed8913(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRequestInfo(o[0]); checkRequestInfo(o[1]); @@ -403,7 +470,7 @@ api.AppMakerSqlSetupNotification buildAppMakerSqlSetupNotification() { final o = api.AppMakerSqlSetupNotification(); buildCounterAppMakerSqlSetupNotification++; if (buildCounterAppMakerSqlSetupNotification < 3) { - o.requestInfo = buildUnnamed8805(); + o.requestInfo = buildUnnamed8913(); } buildCounterAppMakerSqlSetupNotification--; return o; @@ -412,7 +479,7 @@ api.AppMakerSqlSetupNotification buildAppMakerSqlSetupNotification() { void checkAppMakerSqlSetupNotification(api.AppMakerSqlSetupNotification o) { buildCounterAppMakerSqlSetupNotification++; if (buildCounterAppMakerSqlSetupNotification < 3) { - checkUnnamed8805(o.requestInfo!); + checkUnnamed8913(o.requestInfo!); } buildCounterAppMakerSqlSetupNotification--; } @@ -444,6 +511,62 @@ void checkAppSettingsChanged(api.AppSettingsChanged o) { buildCounterAppSettingsChanged--; } +core.List buildUnnamed8914() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8914(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterAppsOutage = 0; +api.AppsOutage buildAppsOutage() { + final o = api.AppsOutage(); + buildCounterAppsOutage++; + if (buildCounterAppsOutage < 3) { + o.dashboardUri = 'foo'; + o.nextUpdateTime = 'foo'; + o.products = buildUnnamed8914(); + o.resolutionTime = 'foo'; + o.status = 'foo'; + } + buildCounterAppsOutage--; + return o; +} + +void checkAppsOutage(api.AppsOutage o) { + buildCounterAppsOutage++; + if (buildCounterAppsOutage < 3) { + unittest.expect( + o.dashboardUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.nextUpdateTime!, + unittest.equals('foo'), + ); + checkUnnamed8914(o.products!); + unittest.expect( + o.resolutionTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.status!, + unittest.equals('foo'), + ); + } + buildCounterAppsOutage--; +} + core.int buildCounterAttachment = 0; api.Attachment buildAttachment() { final o = api.Attachment(); @@ -463,12 +586,12 @@ void checkAttachment(api.Attachment o) { buildCounterAttachment--; } -core.List buildUnnamed8806() => [ +core.List buildUnnamed8915() => [ buildGmailMessageInfo(), buildGmailMessageInfo(), ]; -void checkUnnamed8806(core.List o) { +void checkUnnamed8915(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGmailMessageInfo(o[0]); checkGmailMessageInfo(o[1]); @@ -481,7 +604,7 @@ api.BadWhitelist buildBadWhitelist() { if (buildCounterBadWhitelist < 3) { o.domainId = buildDomainId(); o.maliciousEntity = buildMaliciousEntity(); - o.messages = buildUnnamed8806(); + o.messages = buildUnnamed8915(); o.sourceIp = 'foo'; } buildCounterBadWhitelist--; @@ -493,7 +616,7 @@ void checkBadWhitelist(api.BadWhitelist o) { if (buildCounterBadWhitelist < 3) { checkDomainId(o.domainId!); checkMaliciousEntity(o.maliciousEntity!); - checkUnnamed8806(o.messages!); + checkUnnamed8915(o.messages!); unittest.expect( o.sourceIp!, unittest.equals('foo'), @@ -502,12 +625,12 @@ void checkBadWhitelist(api.BadWhitelist o) { buildCounterBadWhitelist--; } -core.List buildUnnamed8807() => [ +core.List buildUnnamed8916() => [ 'foo', 'foo', ]; -void checkUnnamed8807(core.List o) { +void checkUnnamed8916(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -524,7 +647,7 @@ api.BatchDeleteAlertsRequest buildBatchDeleteAlertsRequest() { final o = api.BatchDeleteAlertsRequest(); buildCounterBatchDeleteAlertsRequest++; if (buildCounterBatchDeleteAlertsRequest < 3) { - o.alertId = buildUnnamed8807(); + o.alertId = buildUnnamed8916(); o.customerId = 'foo'; } buildCounterBatchDeleteAlertsRequest--; @@ -534,7 +657,7 @@ api.BatchDeleteAlertsRequest buildBatchDeleteAlertsRequest() { void checkBatchDeleteAlertsRequest(api.BatchDeleteAlertsRequest o) { buildCounterBatchDeleteAlertsRequest++; if (buildCounterBatchDeleteAlertsRequest < 3) { - checkUnnamed8807(o.alertId!); + checkUnnamed8916(o.alertId!); unittest.expect( o.customerId!, unittest.equals('foo'), @@ -543,23 +666,23 @@ void checkBatchDeleteAlertsRequest(api.BatchDeleteAlertsRequest o) { buildCounterBatchDeleteAlertsRequest--; } -core.Map buildUnnamed8808() => { +core.Map buildUnnamed8917() => { 'x': buildStatus(), 'y': buildStatus(), }; -void checkUnnamed8808(core.Map o) { +void checkUnnamed8917(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o['x']!); checkStatus(o['y']!); } -core.List buildUnnamed8809() => [ +core.List buildUnnamed8918() => [ 'foo', 'foo', ]; -void checkUnnamed8809(core.List o) { +void checkUnnamed8918(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -576,8 +699,8 @@ api.BatchDeleteAlertsResponse buildBatchDeleteAlertsResponse() { final o = api.BatchDeleteAlertsResponse(); buildCounterBatchDeleteAlertsResponse++; if (buildCounterBatchDeleteAlertsResponse < 3) { - o.failedAlertStatus = buildUnnamed8808(); - o.successAlertIds = buildUnnamed8809(); + o.failedAlertStatus = buildUnnamed8917(); + o.successAlertIds = buildUnnamed8918(); } buildCounterBatchDeleteAlertsResponse--; return o; @@ -586,18 +709,18 @@ api.BatchDeleteAlertsResponse buildBatchDeleteAlertsResponse() { void checkBatchDeleteAlertsResponse(api.BatchDeleteAlertsResponse o) { buildCounterBatchDeleteAlertsResponse++; if (buildCounterBatchDeleteAlertsResponse < 3) { - checkUnnamed8808(o.failedAlertStatus!); - checkUnnamed8809(o.successAlertIds!); + checkUnnamed8917(o.failedAlertStatus!); + checkUnnamed8918(o.successAlertIds!); } buildCounterBatchDeleteAlertsResponse--; } -core.List buildUnnamed8810() => [ +core.List buildUnnamed8919() => [ 'foo', 'foo', ]; -void checkUnnamed8810(core.List o) { +void checkUnnamed8919(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -614,7 +737,7 @@ api.BatchUndeleteAlertsRequest buildBatchUndeleteAlertsRequest() { final o = api.BatchUndeleteAlertsRequest(); buildCounterBatchUndeleteAlertsRequest++; if (buildCounterBatchUndeleteAlertsRequest < 3) { - o.alertId = buildUnnamed8810(); + o.alertId = buildUnnamed8919(); o.customerId = 'foo'; } buildCounterBatchUndeleteAlertsRequest--; @@ -624,7 +747,7 @@ api.BatchUndeleteAlertsRequest buildBatchUndeleteAlertsRequest() { void checkBatchUndeleteAlertsRequest(api.BatchUndeleteAlertsRequest o) { buildCounterBatchUndeleteAlertsRequest++; if (buildCounterBatchUndeleteAlertsRequest < 3) { - checkUnnamed8810(o.alertId!); + checkUnnamed8919(o.alertId!); unittest.expect( o.customerId!, unittest.equals('foo'), @@ -633,23 +756,23 @@ void checkBatchUndeleteAlertsRequest(api.BatchUndeleteAlertsRequest o) { buildCounterBatchUndeleteAlertsRequest--; } -core.Map buildUnnamed8811() => { +core.Map buildUnnamed8920() => { 'x': buildStatus(), 'y': buildStatus(), }; -void checkUnnamed8811(core.Map o) { +void checkUnnamed8920(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o['x']!); checkStatus(o['y']!); } -core.List buildUnnamed8812() => [ +core.List buildUnnamed8921() => [ 'foo', 'foo', ]; -void checkUnnamed8812(core.List o) { +void checkUnnamed8921(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -666,8 +789,8 @@ api.BatchUndeleteAlertsResponse buildBatchUndeleteAlertsResponse() { final o = api.BatchUndeleteAlertsResponse(); buildCounterBatchUndeleteAlertsResponse++; if (buildCounterBatchUndeleteAlertsResponse < 3) { - o.failedAlertStatus = buildUnnamed8811(); - o.successAlertIds = buildUnnamed8812(); + o.failedAlertStatus = buildUnnamed8920(); + o.successAlertIds = buildUnnamed8921(); } buildCounterBatchUndeleteAlertsResponse--; return o; @@ -676,8 +799,8 @@ api.BatchUndeleteAlertsResponse buildBatchUndeleteAlertsResponse() { void checkBatchUndeleteAlertsResponse(api.BatchUndeleteAlertsResponse o) { buildCounterBatchUndeleteAlertsResponse++; if (buildCounterBatchUndeleteAlertsResponse < 3) { - checkUnnamed8811(o.failedAlertStatus!); - checkUnnamed8812(o.successAlertIds!); + checkUnnamed8920(o.failedAlertStatus!); + checkUnnamed8921(o.successAlertIds!); } buildCounterBatchUndeleteAlertsResponse--; } @@ -709,23 +832,23 @@ void checkCloudPubsubTopic(api.CloudPubsubTopic o) { buildCounterCloudPubsubTopic--; } -core.List buildUnnamed8813() => [ +core.List buildUnnamed8922() => [ buildCsvRow(), buildCsvRow(), ]; -void checkUnnamed8813(core.List o) { +void checkUnnamed8922(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCsvRow(o[0]); checkCsvRow(o[1]); } -core.List buildUnnamed8814() => [ +core.List buildUnnamed8923() => [ 'foo', 'foo', ]; -void checkUnnamed8814(core.List o) { +void checkUnnamed8923(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -742,8 +865,8 @@ api.Csv buildCsv() { final o = api.Csv(); buildCounterCsv++; if (buildCounterCsv < 3) { - o.dataRows = buildUnnamed8813(); - o.headers = buildUnnamed8814(); + o.dataRows = buildUnnamed8922(); + o.headers = buildUnnamed8923(); } buildCounterCsv--; return o; @@ -752,18 +875,18 @@ api.Csv buildCsv() { void checkCsv(api.Csv o) { buildCounterCsv++; if (buildCounterCsv < 3) { - checkUnnamed8813(o.dataRows!); - checkUnnamed8814(o.headers!); + checkUnnamed8922(o.dataRows!); + checkUnnamed8923(o.headers!); } buildCounterCsv--; } -core.List buildUnnamed8815() => [ +core.List buildUnnamed8924() => [ 'foo', 'foo', ]; -void checkUnnamed8815(core.List o) { +void checkUnnamed8924(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -780,7 +903,7 @@ api.CsvRow buildCsvRow() { final o = api.CsvRow(); buildCounterCsvRow++; if (buildCounterCsvRow < 3) { - o.entries = buildUnnamed8815(); + o.entries = buildUnnamed8924(); } buildCounterCsvRow--; return o; @@ -789,17 +912,17 @@ api.CsvRow buildCsvRow() { void checkCsvRow(api.CsvRow o) { buildCounterCsvRow++; if (buildCounterCsvRow < 3) { - checkUnnamed8815(o.entries!); + checkUnnamed8924(o.entries!); } buildCounterCsvRow--; } -core.List buildUnnamed8816() => [ +core.List buildUnnamed8925() => [ buildDeviceCompromisedSecurityDetail(), buildDeviceCompromisedSecurityDetail(), ]; -void checkUnnamed8816(core.List o) { +void checkUnnamed8925(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeviceCompromisedSecurityDetail(o[0]); checkDeviceCompromisedSecurityDetail(o[1]); @@ -811,7 +934,7 @@ api.DeviceCompromised buildDeviceCompromised() { buildCounterDeviceCompromised++; if (buildCounterDeviceCompromised < 3) { o.email = 'foo'; - o.events = buildUnnamed8816(); + o.events = buildUnnamed8925(); } buildCounterDeviceCompromised--; return o; @@ -824,7 +947,7 @@ void checkDeviceCompromised(api.DeviceCompromised o) { o.email!, unittest.equals('foo'), ); - checkUnnamed8816(o.events!); + checkUnnamed8925(o.events!); } buildCounterDeviceCompromised--; } @@ -965,12 +1088,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed8817() => [ +core.List buildUnnamed8926() => [ 'foo', 'foo', ]; -void checkUnnamed8817(core.List o) { +void checkUnnamed8926(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -987,7 +1110,7 @@ api.GmailMessageInfo buildGmailMessageInfo() { final o = api.GmailMessageInfo(); buildCounterGmailMessageInfo++; if (buildCounterGmailMessageInfo < 3) { - o.attachmentsSha256Hash = buildUnnamed8817(); + o.attachmentsSha256Hash = buildUnnamed8926(); o.date = 'foo'; o.md5HashMessageBody = 'foo'; o.md5HashSubject = 'foo'; @@ -1003,7 +1126,7 @@ api.GmailMessageInfo buildGmailMessageInfo() { void checkGmailMessageInfo(api.GmailMessageInfo o) { buildCounterGmailMessageInfo++; if (buildCounterGmailMessageInfo < 3) { - checkUnnamed8817(o.attachmentsSha256Hash!); + checkUnnamed8926(o.attachmentsSha256Hash!); unittest.expect( o.date!, unittest.equals('foo'), @@ -1036,12 +1159,12 @@ void checkGmailMessageInfo(api.GmailMessageInfo o) { buildCounterGmailMessageInfo--; } -core.List buildUnnamed8818() => [ +core.List buildUnnamed8927() => [ 'foo', 'foo', ]; -void checkUnnamed8818(core.List o) { +void checkUnnamed8927(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1058,7 +1181,7 @@ api.GoogleOperations buildGoogleOperations() { final o = api.GoogleOperations(); buildCounterGoogleOperations++; if (buildCounterGoogleOperations < 3) { - o.affectedUserEmails = buildUnnamed8818(); + o.affectedUserEmails = buildUnnamed8927(); o.attachmentData = buildAttachment(); o.description = 'foo'; o.header = 'foo'; @@ -1071,7 +1194,7 @@ api.GoogleOperations buildGoogleOperations() { void checkGoogleOperations(api.GoogleOperations o) { buildCounterGoogleOperations++; if (buildCounterGoogleOperations < 3) { - checkUnnamed8818(o.affectedUserEmails!); + checkUnnamed8927(o.affectedUserEmails!); checkAttachment(o.attachmentData!); unittest.expect( o.description!, @@ -1089,12 +1212,12 @@ void checkGoogleOperations(api.GoogleOperations o) { buildCounterGoogleOperations--; } -core.List buildUnnamed8819() => [ +core.List buildUnnamed8928() => [ buildAlertFeedback(), buildAlertFeedback(), ]; -void checkUnnamed8819(core.List o) { +void checkUnnamed8928(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAlertFeedback(o[0]); checkAlertFeedback(o[1]); @@ -1105,7 +1228,7 @@ api.ListAlertFeedbackResponse buildListAlertFeedbackResponse() { final o = api.ListAlertFeedbackResponse(); buildCounterListAlertFeedbackResponse++; if (buildCounterListAlertFeedbackResponse < 3) { - o.feedback = buildUnnamed8819(); + o.feedback = buildUnnamed8928(); } buildCounterListAlertFeedbackResponse--; return o; @@ -1114,17 +1237,17 @@ api.ListAlertFeedbackResponse buildListAlertFeedbackResponse() { void checkListAlertFeedbackResponse(api.ListAlertFeedbackResponse o) { buildCounterListAlertFeedbackResponse++; if (buildCounterListAlertFeedbackResponse < 3) { - checkUnnamed8819(o.feedback!); + checkUnnamed8928(o.feedback!); } buildCounterListAlertFeedbackResponse--; } -core.List buildUnnamed8820() => [ +core.List buildUnnamed8929() => [ buildAlert(), buildAlert(), ]; -void checkUnnamed8820(core.List o) { +void checkUnnamed8929(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAlert(o[0]); checkAlert(o[1]); @@ -1135,7 +1258,7 @@ api.ListAlertsResponse buildListAlertsResponse() { final o = api.ListAlertsResponse(); buildCounterListAlertsResponse++; if (buildCounterListAlertsResponse < 3) { - o.alerts = buildUnnamed8820(); + o.alerts = buildUnnamed8929(); o.nextPageToken = 'foo'; } buildCounterListAlertsResponse--; @@ -1145,7 +1268,7 @@ api.ListAlertsResponse buildListAlertsResponse() { void checkListAlertsResponse(api.ListAlertsResponse o) { buildCounterListAlertsResponse++; if (buildCounterListAlertsResponse < 3) { - checkUnnamed8820(o.alerts!); + checkUnnamed8929(o.alerts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1181,12 +1304,12 @@ void checkLoginDetails(api.LoginDetails o) { buildCounterLoginDetails--; } -core.List buildUnnamed8821() => [ +core.List buildUnnamed8930() => [ buildGmailMessageInfo(), buildGmailMessageInfo(), ]; -void checkUnnamed8821(core.List o) { +void checkUnnamed8930(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGmailMessageInfo(o[0]); checkGmailMessageInfo(o[1]); @@ -1200,7 +1323,7 @@ api.MailPhishing buildMailPhishing() { o.domainId = buildDomainId(); o.isInternal = true; o.maliciousEntity = buildMaliciousEntity(); - o.messages = buildUnnamed8821(); + o.messages = buildUnnamed8930(); o.systemActionType = 'foo'; } buildCounterMailPhishing--; @@ -1213,7 +1336,7 @@ void checkMailPhishing(api.MailPhishing o) { checkDomainId(o.domainId!); unittest.expect(o.isInternal!, unittest.isTrue); checkMaliciousEntity(o.maliciousEntity!); - checkUnnamed8821(o.messages!); + checkUnnamed8930(o.messages!); unittest.expect( o.systemActionType!, unittest.equals('foo'), @@ -1291,49 +1414,12 @@ void checkNotification(api.Notification o) { buildCounterNotification--; } -core.int buildCounterOutOfDomainForwarding = 0; -api.OutOfDomainForwarding buildOutOfDomainForwarding() { - final o = api.OutOfDomainForwarding(); - buildCounterOutOfDomainForwarding++; - if (buildCounterOutOfDomainForwarding < 3) { - o.actorEmail = 'foo'; - o.enableTime = 'foo'; - o.forwardeeEmail = 'foo'; - o.ipAddress = 'foo'; - } - buildCounterOutOfDomainForwarding--; - return o; -} - -void checkOutOfDomainForwarding(api.OutOfDomainForwarding o) { - buildCounterOutOfDomainForwarding++; - if (buildCounterOutOfDomainForwarding < 3) { - unittest.expect( - o.actorEmail!, - unittest.equals('foo'), - ); - unittest.expect( - o.enableTime!, - unittest.equals('foo'), - ); - unittest.expect( - o.forwardeeEmail!, - unittest.equals('foo'), - ); - unittest.expect( - o.ipAddress!, - unittest.equals('foo'), - ); - } - buildCounterOutOfDomainForwarding--; -} - -core.List buildUnnamed8822() => [ +core.List buildUnnamed8931() => [ buildGmailMessageInfo(), buildGmailMessageInfo(), ]; -void checkUnnamed8822(core.List o) { +void checkUnnamed8931(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGmailMessageInfo(o[0]); checkGmailMessageInfo(o[1]); @@ -1347,7 +1433,7 @@ api.PhishingSpike buildPhishingSpike() { o.domainId = buildDomainId(); o.isInternal = true; o.maliciousEntity = buildMaliciousEntity(); - o.messages = buildUnnamed8822(); + o.messages = buildUnnamed8931(); } buildCounterPhishingSpike--; return o; @@ -1359,7 +1445,7 @@ void checkPhishingSpike(api.PhishingSpike o) { checkDomainId(o.domainId!); unittest.expect(o.isInternal!, unittest.isTrue); checkMaliciousEntity(o.maliciousEntity!); - checkUnnamed8822(o.messages!); + checkUnnamed8931(o.messages!); } buildCounterPhishingSpike--; } @@ -1418,12 +1504,12 @@ void checkReportingRule(api.ReportingRule o) { buildCounterReportingRule--; } -core.List buildUnnamed8823() => [ +core.List buildUnnamed8932() => [ 'foo', 'foo', ]; -void checkUnnamed8823(core.List o) { +void checkUnnamed8932(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1440,7 +1526,7 @@ api.RequestInfo buildRequestInfo() { final o = api.RequestInfo(); buildCounterRequestInfo++; if (buildCounterRequestInfo < 3) { - o.appDeveloperEmail = buildUnnamed8823(); + o.appDeveloperEmail = buildUnnamed8932(); o.appKey = 'foo'; o.numberOfRequests = 'foo'; } @@ -1451,7 +1537,7 @@ api.RequestInfo buildRequestInfo() { void checkRequestInfo(api.RequestInfo o) { buildCounterRequestInfo++; if (buildCounterRequestInfo < 3) { - checkUnnamed8823(o.appDeveloperEmail!); + checkUnnamed8932(o.appDeveloperEmail!); unittest.expect( o.appKey!, unittest.equals('foo'), @@ -1518,23 +1604,23 @@ void checkRuleInfo(api.RuleInfo o) { buildCounterRuleInfo--; } -core.List buildUnnamed8824() => [ +core.List buildUnnamed8933() => [ buildMatchInfo(), buildMatchInfo(), ]; -void checkUnnamed8824(core.List o) { +void checkUnnamed8933(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatchInfo(o[0]); checkMatchInfo(o[1]); } -core.List buildUnnamed8825() => [ +core.List buildUnnamed8934() => [ 'foo', 'foo', ]; -void checkUnnamed8825(core.List o) { +void checkUnnamed8934(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1546,12 +1632,12 @@ void checkUnnamed8825(core.List o) { ); } -core.List buildUnnamed8826() => [ +core.List buildUnnamed8935() => [ 'foo', 'foo', ]; -void checkUnnamed8826(core.List o) { +void checkUnnamed8935(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1563,23 +1649,23 @@ void checkUnnamed8826(core.List o) { ); } -core.List buildUnnamed8827() => [ +core.List buildUnnamed8936() => [ buildActionInfo(), buildActionInfo(), ]; -void checkUnnamed8827(core.List o) { +void checkUnnamed8936(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActionInfo(o[0]); checkActionInfo(o[1]); } -core.List buildUnnamed8828() => [ +core.List buildUnnamed8937() => [ 'foo', 'foo', ]; -void checkUnnamed8828(core.List o) { +void checkUnnamed8937(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1597,14 +1683,14 @@ api.RuleViolationInfo buildRuleViolationInfo() { buildCounterRuleViolationInfo++; if (buildCounterRuleViolationInfo < 3) { o.dataSource = 'foo'; - o.matchInfo = buildUnnamed8824(); - o.recipients = buildUnnamed8825(); + o.matchInfo = buildUnnamed8933(); + o.recipients = buildUnnamed8934(); o.resourceInfo = buildResourceInfo(); o.ruleInfo = buildRuleInfo(); - o.suppressedActionTypes = buildUnnamed8826(); + o.suppressedActionTypes = buildUnnamed8935(); o.trigger = 'foo'; - o.triggeredActionInfo = buildUnnamed8827(); - o.triggeredActionTypes = buildUnnamed8828(); + o.triggeredActionInfo = buildUnnamed8936(); + o.triggeredActionTypes = buildUnnamed8937(); o.triggeringUserEmail = 'foo'; } buildCounterRuleViolationInfo--; @@ -1618,17 +1704,17 @@ void checkRuleViolationInfo(api.RuleViolationInfo o) { o.dataSource!, unittest.equals('foo'), ); - checkUnnamed8824(o.matchInfo!); - checkUnnamed8825(o.recipients!); + checkUnnamed8933(o.matchInfo!); + checkUnnamed8934(o.recipients!); checkResourceInfo(o.resourceInfo!); checkRuleInfo(o.ruleInfo!); - checkUnnamed8826(o.suppressedActionTypes!); + checkUnnamed8935(o.suppressedActionTypes!); unittest.expect( o.trigger!, unittest.equals('foo'), ); - checkUnnamed8827(o.triggeredActionInfo!); - checkUnnamed8828(o.triggeredActionTypes!); + checkUnnamed8936(o.triggeredActionInfo!); + checkUnnamed8937(o.triggeredActionTypes!); unittest.expect( o.triggeringUserEmail!, unittest.equals('foo'), @@ -1637,12 +1723,12 @@ void checkRuleViolationInfo(api.RuleViolationInfo o) { buildCounterRuleViolationInfo--; } -core.List buildUnnamed8829() => [ +core.List buildUnnamed8938() => [ buildNotification(), buildNotification(), ]; -void checkUnnamed8829(core.List o) { +void checkUnnamed8938(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotification(o[0]); checkNotification(o[1]); @@ -1653,7 +1739,7 @@ api.Settings buildSettings() { final o = api.Settings(); buildCounterSettings++; if (buildCounterSettings < 3) { - o.notifications = buildUnnamed8829(); + o.notifications = buildUnnamed8938(); } buildCounterSettings--; return o; @@ -1662,7 +1748,7 @@ api.Settings buildSettings() { void checkSettings(api.Settings o) { buildCounterSettings++; if (buildCounterSettings < 3) { - checkUnnamed8829(o.notifications!); + checkUnnamed8938(o.notifications!); } buildCounterSettings--; } @@ -1689,7 +1775,7 @@ void checkStateSponsoredAttack(api.StateSponsoredAttack o) { buildCounterStateSponsoredAttack--; } -core.Map buildUnnamed8830() => { +core.Map buildUnnamed8939() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1702,7 +1788,7 @@ core.Map buildUnnamed8830() => { }, }; -void checkUnnamed8830(core.Map o) { +void checkUnnamed8939(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1734,15 +1820,15 @@ void checkUnnamed8830(core.Map o) { ); } -core.List> buildUnnamed8831() => [ - buildUnnamed8830(), - buildUnnamed8830(), +core.List> buildUnnamed8940() => [ + buildUnnamed8939(), + buildUnnamed8939(), ]; -void checkUnnamed8831(core.List> o) { +void checkUnnamed8940(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8830(o[0]); - checkUnnamed8830(o[1]); + checkUnnamed8939(o[0]); + checkUnnamed8939(o[1]); } core.int buildCounterStatus = 0; @@ -1751,7 +1837,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8831(); + o.details = buildUnnamed8940(); o.message = 'foo'; } buildCounterStatus--; @@ -1765,7 +1851,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8831(o.details!); + checkUnnamed8940(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1774,12 +1860,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8832() => [ +core.List buildUnnamed8941() => [ buildSuspiciousActivitySecurityDetail(), buildSuspiciousActivitySecurityDetail(), ]; -void checkUnnamed8832(core.List o) { +void checkUnnamed8941(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSuspiciousActivitySecurityDetail(o[0]); checkSuspiciousActivitySecurityDetail(o[1]); @@ -1791,7 +1877,7 @@ api.SuspiciousActivity buildSuspiciousActivity() { buildCounterSuspiciousActivity++; if (buildCounterSuspiciousActivity < 3) { o.email = 'foo'; - o.events = buildUnnamed8832(); + o.events = buildUnnamed8941(); } buildCounterSuspiciousActivity--; return o; @@ -1804,7 +1890,7 @@ void checkSuspiciousActivity(api.SuspiciousActivity o) { o.email!, unittest.equals('foo'), ); - checkUnnamed8832(o.events!); + checkUnnamed8941(o.events!); } buildCounterSuspiciousActivity--; } @@ -1971,6 +2057,26 @@ void checkUserDefinedDetectorInfo(api.UserDefinedDetectorInfo o) { } void main() { + unittest.group('obj-schema-AccountSuspensionDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildAccountSuspensionDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AccountSuspensionDetails.fromJson( + oJson as core.Map); + checkAccountSuspensionDetails(od); + }); + }); + + unittest.group('obj-schema-AccountSuspensionWarning', () { + unittest.test('to-json--from-json', () async { + final o = buildAccountSuspensionWarning(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AccountSuspensionWarning.fromJson( + oJson as core.Map); + checkAccountSuspensionWarning(od); + }); + }); + unittest.group('obj-schema-AccountWarning', () { unittest.test('to-json--from-json', () async { final o = buildAccountWarning(); @@ -2051,6 +2157,16 @@ void main() { }); }); + unittest.group('obj-schema-AppsOutage', () { + unittest.test('to-json--from-json', () async { + final o = buildAppsOutage(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.AppsOutage.fromJson(oJson as core.Map); + checkAppsOutage(od); + }); + }); + unittest.group('obj-schema-Attachment', () { unittest.test('to-json--from-json', () async { final o = buildAttachment(); @@ -2290,16 +2406,6 @@ void main() { }); }); - unittest.group('obj-schema-OutOfDomainForwarding', () { - unittest.test('to-json--from-json', () async { - final o = buildOutOfDomainForwarding(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.OutOfDomainForwarding.fromJson( - oJson as core.Map); - checkOutOfDomainForwarding(od); - }); - }); - unittest.group('obj-schema-PhishingSpike', () { unittest.test('to-json--from-json', () async { final o = buildPhishingSpike(); diff --git a/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart b/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart index 2e28d54dd..9825f5943 100644 --- a/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart +++ b/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart @@ -72,13 +72,13 @@ void checkGoogleAnalyticsAdminV1alphaAccount( buildCounterGoogleAnalyticsAdminV1alphaAccount--; } -core.List buildUnnamed8253() => +core.List buildUnnamed8340() => [ buildGoogleAnalyticsAdminV1alphaPropertySummary(), buildGoogleAnalyticsAdminV1alphaPropertySummary(), ]; -void checkUnnamed8253( +void checkUnnamed8340( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaPropertySummary(o[0]); @@ -94,7 +94,7 @@ api.GoogleAnalyticsAdminV1alphaAccountSummary o.account = 'foo'; o.displayName = 'foo'; o.name = 'foo'; - o.propertySummaries = buildUnnamed8253(); + o.propertySummaries = buildUnnamed8340(); } buildCounterGoogleAnalyticsAdminV1alphaAccountSummary--; return o; @@ -116,7 +116,7 @@ void checkGoogleAnalyticsAdminV1alphaAccountSummary( o.name!, unittest.equals('foo'), ); - checkUnnamed8253(o.propertySummaries!); + checkUnnamed8340(o.propertySummaries!); } buildCounterGoogleAnalyticsAdminV1alphaAccountSummary--; } @@ -259,12 +259,12 @@ void checkGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest( buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest--; } -core.List buildUnnamed8254() => [ +core.List buildUnnamed8341() => [ 'foo', 'foo', ]; -void checkUnnamed8254(core.List o) { +void checkUnnamed8341(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -276,12 +276,12 @@ void checkUnnamed8254(core.List o) { ); } -core.List buildUnnamed8255() => [ +core.List buildUnnamed8342() => [ 'foo', 'foo', ]; -void checkUnnamed8255(core.List o) { +void checkUnnamed8342(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -299,8 +299,8 @@ api.GoogleAnalyticsAdminV1alphaAuditUserLink final o = api.GoogleAnalyticsAdminV1alphaAuditUserLink(); buildCounterGoogleAnalyticsAdminV1alphaAuditUserLink++; if (buildCounterGoogleAnalyticsAdminV1alphaAuditUserLink < 3) { - o.directRoles = buildUnnamed8254(); - o.effectiveRoles = buildUnnamed8255(); + o.directRoles = buildUnnamed8341(); + o.effectiveRoles = buildUnnamed8342(); o.emailAddress = 'foo'; o.name = 'foo'; } @@ -312,8 +312,8 @@ void checkGoogleAnalyticsAdminV1alphaAuditUserLink( api.GoogleAnalyticsAdminV1alphaAuditUserLink o) { buildCounterGoogleAnalyticsAdminV1alphaAuditUserLink++; if (buildCounterGoogleAnalyticsAdminV1alphaAuditUserLink < 3) { - checkUnnamed8254(o.directRoles!); - checkUnnamed8255(o.effectiveRoles!); + checkUnnamed8341(o.directRoles!); + checkUnnamed8342(o.effectiveRoles!); unittest.expect( o.emailAddress!, unittest.equals('foo'), @@ -355,12 +355,12 @@ void checkGoogleAnalyticsAdminV1alphaAuditUserLinksRequest( buildCounterGoogleAnalyticsAdminV1alphaAuditUserLinksRequest--; } -core.List buildUnnamed8256() => [ +core.List buildUnnamed8343() => [ buildGoogleAnalyticsAdminV1alphaAuditUserLink(), buildGoogleAnalyticsAdminV1alphaAuditUserLink(), ]; -void checkUnnamed8256( +void checkUnnamed8343( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAuditUserLink(o[0]); @@ -374,7 +374,7 @@ api.GoogleAnalyticsAdminV1alphaAuditUserLinksResponse buildCounterGoogleAnalyticsAdminV1alphaAuditUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaAuditUserLinksResponse < 3) { o.nextPageToken = 'foo'; - o.userLinks = buildUnnamed8256(); + o.userLinks = buildUnnamed8343(); } buildCounterGoogleAnalyticsAdminV1alphaAuditUserLinksResponse--; return o; @@ -388,18 +388,18 @@ void checkGoogleAnalyticsAdminV1alphaAuditUserLinksResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8256(o.userLinks!); + checkUnnamed8343(o.userLinks!); } buildCounterGoogleAnalyticsAdminV1alphaAuditUserLinksResponse--; } core.List - buildUnnamed8257() => [ + buildUnnamed8344() => [ buildGoogleAnalyticsAdminV1alphaCreateUserLinkRequest(), buildGoogleAnalyticsAdminV1alphaCreateUserLinkRequest(), ]; -void checkUnnamed8257( +void checkUnnamed8344( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaCreateUserLinkRequest(o[0]); @@ -413,7 +413,7 @@ api.GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest < 3) { o.notifyNewUsers = true; - o.requests = buildUnnamed8257(); + o.requests = buildUnnamed8344(); } buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest--; return o; @@ -424,17 +424,17 @@ void checkGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest( buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest < 3) { unittest.expect(o.notifyNewUsers!, unittest.isTrue); - checkUnnamed8257(o.requests!); + checkUnnamed8344(o.requests!); } buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest--; } -core.List buildUnnamed8258() => [ +core.List buildUnnamed8345() => [ buildGoogleAnalyticsAdminV1alphaUserLink(), buildGoogleAnalyticsAdminV1alphaUserLink(), ]; -void checkUnnamed8258(core.List o) { +void checkUnnamed8345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaUserLink(o[0]); checkGoogleAnalyticsAdminV1alphaUserLink(o[1]); @@ -447,7 +447,7 @@ api.GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse final o = api.GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse(); buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse < 3) { - o.userLinks = buildUnnamed8258(); + o.userLinks = buildUnnamed8345(); } buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse--; return o; @@ -457,18 +457,18 @@ void checkGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse( api.GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse o) { buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse < 3) { - checkUnnamed8258(o.userLinks!); + checkUnnamed8345(o.userLinks!); } buildCounterGoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse--; } core.List - buildUnnamed8259() => [ + buildUnnamed8346() => [ buildGoogleAnalyticsAdminV1alphaDeleteUserLinkRequest(), buildGoogleAnalyticsAdminV1alphaDeleteUserLinkRequest(), ]; -void checkUnnamed8259( +void checkUnnamed8346( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaDeleteUserLinkRequest(o[0]); @@ -481,7 +481,7 @@ api.GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest final o = api.GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest(); buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest < 3) { - o.requests = buildUnnamed8259(); + o.requests = buildUnnamed8346(); } buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest--; return o; @@ -491,17 +491,17 @@ void checkGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest( api.GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest o) { buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest < 3) { - checkUnnamed8259(o.requests!); + checkUnnamed8346(o.requests!); } buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest--; } -core.List buildUnnamed8260() => [ +core.List buildUnnamed8347() => [ buildGoogleAnalyticsAdminV1alphaUserLink(), buildGoogleAnalyticsAdminV1alphaUserLink(), ]; -void checkUnnamed8260(core.List o) { +void checkUnnamed8347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaUserLink(o[0]); checkGoogleAnalyticsAdminV1alphaUserLink(o[1]); @@ -513,7 +513,7 @@ api.GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse final o = api.GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse(); buildCounterGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse < 3) { - o.userLinks = buildUnnamed8260(); + o.userLinks = buildUnnamed8347(); } buildCounterGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse--; return o; @@ -523,18 +523,18 @@ void checkGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse( api.GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse o) { buildCounterGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse < 3) { - checkUnnamed8260(o.userLinks!); + checkUnnamed8347(o.userLinks!); } buildCounterGoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse--; } core.List - buildUnnamed8261() => [ + buildUnnamed8348() => [ buildGoogleAnalyticsAdminV1alphaUpdateUserLinkRequest(), buildGoogleAnalyticsAdminV1alphaUpdateUserLinkRequest(), ]; -void checkUnnamed8261( +void checkUnnamed8348( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaUpdateUserLinkRequest(o[0]); @@ -547,7 +547,7 @@ api.GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest final o = api.GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest(); buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest < 3) { - o.requests = buildUnnamed8261(); + o.requests = buildUnnamed8348(); } buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest--; return o; @@ -557,17 +557,17 @@ void checkGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest( api.GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest o) { buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest < 3) { - checkUnnamed8261(o.requests!); + checkUnnamed8348(o.requests!); } buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest--; } -core.List buildUnnamed8262() => [ +core.List buildUnnamed8349() => [ buildGoogleAnalyticsAdminV1alphaUserLink(), buildGoogleAnalyticsAdminV1alphaUserLink(), ]; -void checkUnnamed8262(core.List o) { +void checkUnnamed8349(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaUserLink(o[0]); checkGoogleAnalyticsAdminV1alphaUserLink(o[1]); @@ -580,7 +580,7 @@ api.GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse final o = api.GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse(); buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse < 3) { - o.userLinks = buildUnnamed8262(); + o.userLinks = buildUnnamed8349(); } buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse--; return o; @@ -590,7 +590,7 @@ void checkGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse( api.GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse o) { buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse < 3) { - checkUnnamed8262(o.userLinks!); + checkUnnamed8349(o.userLinks!); } buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse--; } @@ -671,6 +671,8 @@ api.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource o.conversionEvent = buildGoogleAnalyticsAdminV1alphaConversionEvent(); o.customDimension = buildGoogleAnalyticsAdminV1alphaCustomDimension(); o.customMetric = buildGoogleAnalyticsAdminV1alphaCustomMetric(); + o.dataRetentionSettings = + buildGoogleAnalyticsAdminV1alphaDataRetentionSettings(); o.displayVideo360AdvertiserLink = buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); o.displayVideo360AdvertiserLinkProposal = @@ -700,6 +702,8 @@ void checkGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( checkGoogleAnalyticsAdminV1alphaConversionEvent(o.conversionEvent!); checkGoogleAnalyticsAdminV1alphaCustomDimension(o.customDimension!); checkGoogleAnalyticsAdminV1alphaCustomMetric(o.customMetric!); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + o.dataRetentionSettings!); checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( o.displayVideo360AdvertiserLink!); checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( @@ -718,12 +722,12 @@ void checkGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( } core.List - buildUnnamed8263() => [ + buildUnnamed8350() => [ buildGoogleAnalyticsAdminV1alphaChangeHistoryChange(), buildGoogleAnalyticsAdminV1alphaChangeHistoryChange(), ]; -void checkUnnamed8263( +void checkUnnamed8350( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaChangeHistoryChange(o[0]); @@ -738,7 +742,7 @@ api.GoogleAnalyticsAdminV1alphaChangeHistoryEvent if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent < 3) { o.actorType = 'foo'; o.changeTime = 'foo'; - o.changes = buildUnnamed8263(); + o.changes = buildUnnamed8350(); o.changesFiltered = true; o.id = 'foo'; o.userActorEmail = 'foo'; @@ -759,7 +763,7 @@ void checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent( o.changeTime!, unittest.equals('foo'), ); - checkUnnamed8263(o.changes!); + checkUnnamed8350(o.changes!); unittest.expect(o.changesFiltered!, unittest.isTrue); unittest.expect( o.id!, @@ -934,6 +938,37 @@ void checkGoogleAnalyticsAdminV1alphaCustomMetric( buildCounterGoogleAnalyticsAdminV1alphaCustomMetric--; } +core.int buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings = 0; +api.GoogleAnalyticsAdminV1alphaDataRetentionSettings + buildGoogleAnalyticsAdminV1alphaDataRetentionSettings() { + final o = api.GoogleAnalyticsAdminV1alphaDataRetentionSettings(); + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings < 3) { + o.eventDataRetention = 'foo'; + o.name = 'foo'; + o.resetUserDataOnNewActivity = true; + } + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + api.GoogleAnalyticsAdminV1alphaDataRetentionSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings < 3) { + unittest.expect( + o.eventDataRetention!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.resetUserDataOnNewActivity!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings--; +} + core.int buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings = 0; api.GoogleAnalyticsAdminV1alphaDataSharingSettings buildGoogleAnalyticsAdminV1alphaDataSharingSettings() { @@ -1369,12 +1404,12 @@ void checkGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails( buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails--; } -core.List buildUnnamed8264() => [ +core.List buildUnnamed8351() => [ buildGoogleAnalyticsAdminV1alphaAccountSummary(), buildGoogleAnalyticsAdminV1alphaAccountSummary(), ]; -void checkUnnamed8264( +void checkUnnamed8351( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccountSummary(o[0]); @@ -1388,7 +1423,7 @@ api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse final o = api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse(); buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse < 3) { - o.accountSummaries = buildUnnamed8264(); + o.accountSummaries = buildUnnamed8351(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse--; @@ -1399,7 +1434,7 @@ void checkGoogleAnalyticsAdminV1alphaListAccountSummariesResponse( api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse < 3) { - checkUnnamed8264(o.accountSummaries!); + checkUnnamed8351(o.accountSummaries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1408,12 +1443,12 @@ void checkGoogleAnalyticsAdminV1alphaListAccountSummariesResponse( buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse--; } -core.List buildUnnamed8265() => [ +core.List buildUnnamed8352() => [ buildGoogleAnalyticsAdminV1alphaAccount(), buildGoogleAnalyticsAdminV1alphaAccount(), ]; -void checkUnnamed8265(core.List o) { +void checkUnnamed8352(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccount(o[0]); checkGoogleAnalyticsAdminV1alphaAccount(o[1]); @@ -1425,7 +1460,7 @@ api.GoogleAnalyticsAdminV1alphaListAccountsResponse final o = api.GoogleAnalyticsAdminV1alphaListAccountsResponse(); buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse < 3) { - o.accounts = buildUnnamed8265(); + o.accounts = buildUnnamed8352(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse--; @@ -1436,7 +1471,7 @@ void checkGoogleAnalyticsAdminV1alphaListAccountsResponse( api.GoogleAnalyticsAdminV1alphaListAccountsResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse < 3) { - checkUnnamed8265(o.accounts!); + checkUnnamed8352(o.accounts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1446,12 +1481,12 @@ void checkGoogleAnalyticsAdminV1alphaListAccountsResponse( } core.List - buildUnnamed8266() => [ + buildUnnamed8353() => [ buildGoogleAnalyticsAdminV1alphaAndroidAppDataStream(), buildGoogleAnalyticsAdminV1alphaAndroidAppDataStream(), ]; -void checkUnnamed8266( +void checkUnnamed8353( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAndroidAppDataStream(o[0]); @@ -1467,7 +1502,7 @@ api.GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse buildCounterGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse < 3) { - o.androidAppDataStreams = buildUnnamed8266(); + o.androidAppDataStreams = buildUnnamed8353(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse--; @@ -1479,7 +1514,7 @@ void checkGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse( buildCounterGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse < 3) { - checkUnnamed8266(o.androidAppDataStreams!); + checkUnnamed8353(o.androidAppDataStreams!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1488,13 +1523,13 @@ void checkGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse( buildCounterGoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse--; } -core.List buildUnnamed8267() => +core.List buildUnnamed8354() => [ buildGoogleAnalyticsAdminV1alphaConversionEvent(), buildGoogleAnalyticsAdminV1alphaConversionEvent(), ]; -void checkUnnamed8267( +void checkUnnamed8354( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaConversionEvent(o[0]); @@ -1508,7 +1543,7 @@ api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse final o = api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse(); buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse < 3) { - o.conversionEvents = buildUnnamed8267(); + o.conversionEvents = buildUnnamed8354(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse--; @@ -1519,7 +1554,7 @@ void checkGoogleAnalyticsAdminV1alphaListConversionEventsResponse( api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse < 3) { - checkUnnamed8267(o.conversionEvents!); + checkUnnamed8354(o.conversionEvents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1528,13 +1563,13 @@ void checkGoogleAnalyticsAdminV1alphaListConversionEventsResponse( buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse--; } -core.List buildUnnamed8268() => +core.List buildUnnamed8355() => [ buildGoogleAnalyticsAdminV1alphaCustomDimension(), buildGoogleAnalyticsAdminV1alphaCustomDimension(), ]; -void checkUnnamed8268( +void checkUnnamed8355( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaCustomDimension(o[0]); @@ -1548,7 +1583,7 @@ api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse final o = api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse(); buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse < 3) { - o.customDimensions = buildUnnamed8268(); + o.customDimensions = buildUnnamed8355(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse--; @@ -1559,7 +1594,7 @@ void checkGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse( api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse < 3) { - checkUnnamed8268(o.customDimensions!); + checkUnnamed8355(o.customDimensions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1568,12 +1603,12 @@ void checkGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse( buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse--; } -core.List buildUnnamed8269() => [ +core.List buildUnnamed8356() => [ buildGoogleAnalyticsAdminV1alphaCustomMetric(), buildGoogleAnalyticsAdminV1alphaCustomMetric(), ]; -void checkUnnamed8269( +void checkUnnamed8356( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaCustomMetric(o[0]); @@ -1586,7 +1621,7 @@ api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse final o = api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse(); buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse < 3) { - o.customMetrics = buildUnnamed8269(); + o.customMetrics = buildUnnamed8356(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse--; @@ -1597,7 +1632,7 @@ void checkGoogleAnalyticsAdminV1alphaListCustomMetricsResponse( api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse < 3) { - checkUnnamed8269(o.customMetrics!); + checkUnnamed8356(o.customMetrics!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1607,12 +1642,12 @@ void checkGoogleAnalyticsAdminV1alphaListCustomMetricsResponse( } core.List - buildUnnamed8270() => [ + buildUnnamed8357() => [ buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(), buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(), ]; -void checkUnnamed8270( +void checkUnnamed8357( core.List< api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal> o) { @@ -1631,7 +1666,7 @@ api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsRespons buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse < 3) { - o.displayVideo360AdvertiserLinkProposals = buildUnnamed8270(); + o.displayVideo360AdvertiserLinkProposals = buildUnnamed8357(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse--; @@ -1644,7 +1679,7 @@ void checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsR buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse < 3) { - checkUnnamed8270(o.displayVideo360AdvertiserLinkProposals!); + checkUnnamed8357(o.displayVideo360AdvertiserLinkProposals!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1654,12 +1689,12 @@ void checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsR } core.List - buildUnnamed8271() => [ + buildUnnamed8358() => [ buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(), buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(), ]; -void checkUnnamed8271( +void checkUnnamed8358( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(o[0]); @@ -1676,7 +1711,7 @@ api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse < 3) { - o.displayVideo360AdvertiserLinks = buildUnnamed8271(); + o.displayVideo360AdvertiserLinks = buildUnnamed8358(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse--; @@ -1689,7 +1724,7 @@ void checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse < 3) { - checkUnnamed8271(o.displayVideo360AdvertiserLinks!); + checkUnnamed8358(o.displayVideo360AdvertiserLinks!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1698,12 +1733,12 @@ void checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse--; } -core.List buildUnnamed8272() => [ +core.List buildUnnamed8359() => [ buildGoogleAnalyticsAdminV1alphaFirebaseLink(), buildGoogleAnalyticsAdminV1alphaFirebaseLink(), ]; -void checkUnnamed8272( +void checkUnnamed8359( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaFirebaseLink(o[0]); @@ -1716,7 +1751,7 @@ api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse final o = api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse(); buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse < 3) { - o.firebaseLinks = buildUnnamed8272(); + o.firebaseLinks = buildUnnamed8359(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse--; @@ -1727,7 +1762,7 @@ void checkGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse( api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse < 3) { - checkUnnamed8272(o.firebaseLinks!); + checkUnnamed8359(o.firebaseLinks!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1736,12 +1771,12 @@ void checkGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse( buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse--; } -core.List buildUnnamed8273() => [ +core.List buildUnnamed8360() => [ buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(), buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(), ]; -void checkUnnamed8273( +void checkUnnamed8360( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(o[0]); @@ -1754,7 +1789,7 @@ api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse final o = api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse(); buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse < 3) { - o.googleAdsLinks = buildUnnamed8273(); + o.googleAdsLinks = buildUnnamed8360(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse--; @@ -1765,7 +1800,7 @@ void checkGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse( api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse o) { buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse < 3) { - checkUnnamed8273(o.googleAdsLinks!); + checkUnnamed8360(o.googleAdsLinks!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1774,13 +1809,13 @@ void checkGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse( buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse--; } -core.List buildUnnamed8274() => +core.List buildUnnamed8361() => [ buildGoogleAnalyticsAdminV1alphaIosAppDataStream(), buildGoogleAnalyticsAdminV1alphaIosAppDataStream(), ]; -void checkUnnamed8274( +void checkUnnamed8361( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaIosAppDataStream(o[0]); @@ -1795,7 +1830,7 @@ api.GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse buildCounterGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse < 3) { - o.iosAppDataStreams = buildUnnamed8274(); + o.iosAppDataStreams = buildUnnamed8361(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse--; @@ -1807,7 +1842,7 @@ void checkGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse( buildCounterGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse < 3) { - checkUnnamed8274(o.iosAppDataStreams!); + checkUnnamed8361(o.iosAppDataStreams!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1817,12 +1852,12 @@ void checkGoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse( } core.List - buildUnnamed8275() => [ + buildUnnamed8362() => [ buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(), buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(), ]; -void checkUnnamed8275( +void checkUnnamed8362( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(o[0]); @@ -1839,7 +1874,7 @@ api.GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse < 3) { - o.measurementProtocolSecrets = buildUnnamed8275(); + o.measurementProtocolSecrets = buildUnnamed8362(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse--; @@ -1851,7 +1886,7 @@ void checkGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse < 3) { - checkUnnamed8275(o.measurementProtocolSecrets!); + checkUnnamed8362(o.measurementProtocolSecrets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1860,12 +1895,12 @@ void checkGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse--; } -core.List buildUnnamed8276() => [ +core.List buildUnnamed8363() => [ buildGoogleAnalyticsAdminV1alphaProperty(), buildGoogleAnalyticsAdminV1alphaProperty(), ]; -void checkUnnamed8276(core.List o) { +void checkUnnamed8363(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaProperty(o[0]); checkGoogleAnalyticsAdminV1alphaProperty(o[1]); @@ -1878,7 +1913,7 @@ api.GoogleAnalyticsAdminV1alphaListPropertiesResponse buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse < 3) { o.nextPageToken = 'foo'; - o.properties = buildUnnamed8276(); + o.properties = buildUnnamed8363(); } buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse--; return o; @@ -1892,17 +1927,17 @@ void checkGoogleAnalyticsAdminV1alphaListPropertiesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8276(o.properties!); + checkUnnamed8363(o.properties!); } buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse--; } -core.List buildUnnamed8277() => [ +core.List buildUnnamed8364() => [ buildGoogleAnalyticsAdminV1alphaUserLink(), buildGoogleAnalyticsAdminV1alphaUserLink(), ]; -void checkUnnamed8277(core.List o) { +void checkUnnamed8364(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaUserLink(o[0]); checkGoogleAnalyticsAdminV1alphaUserLink(o[1]); @@ -1915,7 +1950,7 @@ api.GoogleAnalyticsAdminV1alphaListUserLinksResponse buildCounterGoogleAnalyticsAdminV1alphaListUserLinksResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListUserLinksResponse < 3) { o.nextPageToken = 'foo'; - o.userLinks = buildUnnamed8277(); + o.userLinks = buildUnnamed8364(); } buildCounterGoogleAnalyticsAdminV1alphaListUserLinksResponse--; return o; @@ -1929,17 +1964,17 @@ void checkGoogleAnalyticsAdminV1alphaListUserLinksResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8277(o.userLinks!); + checkUnnamed8364(o.userLinks!); } buildCounterGoogleAnalyticsAdminV1alphaListUserLinksResponse--; } -core.List buildUnnamed8278() => [ +core.List buildUnnamed8365() => [ buildGoogleAnalyticsAdminV1alphaWebDataStream(), buildGoogleAnalyticsAdminV1alphaWebDataStream(), ]; -void checkUnnamed8278( +void checkUnnamed8365( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaWebDataStream(o[0]); @@ -1953,7 +1988,7 @@ api.GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse buildCounterGoogleAnalyticsAdminV1alphaListWebDataStreamsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaListWebDataStreamsResponse < 3) { o.nextPageToken = 'foo'; - o.webDataStreams = buildUnnamed8278(); + o.webDataStreams = buildUnnamed8365(); } buildCounterGoogleAnalyticsAdminV1alphaListWebDataStreamsResponse--; return o; @@ -1967,7 +2002,7 @@ void checkGoogleAnalyticsAdminV1alphaListWebDataStreamsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8278(o.webDataStreams!); + checkUnnamed8365(o.webDataStreams!); } buildCounterGoogleAnalyticsAdminV1alphaListWebDataStreamsResponse--; } @@ -2165,12 +2200,12 @@ void checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse( buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse--; } -core.List buildUnnamed8279() => [ +core.List buildUnnamed8366() => [ 'foo', 'foo', ]; -void checkUnnamed8279(core.List o) { +void checkUnnamed8366(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2182,12 +2217,12 @@ void checkUnnamed8279(core.List o) { ); } -core.List buildUnnamed8280() => [ +core.List buildUnnamed8367() => [ 'foo', 'foo', ]; -void checkUnnamed8280(core.List o) { +void checkUnnamed8367(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2199,12 +2234,12 @@ void checkUnnamed8280(core.List o) { ); } -core.List buildUnnamed8281() => [ +core.List buildUnnamed8368() => [ 'foo', 'foo', ]; -void checkUnnamed8281(core.List o) { +void checkUnnamed8368(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2224,14 +2259,14 @@ api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest < 3) { - o.action = buildUnnamed8279(); - o.actorEmail = buildUnnamed8280(); + o.action = buildUnnamed8366(); + o.actorEmail = buildUnnamed8367(); o.earliestChangeTime = 'foo'; o.latestChangeTime = 'foo'; o.pageSize = 42; o.pageToken = 'foo'; o.property = 'foo'; - o.resourceType = buildUnnamed8281(); + o.resourceType = buildUnnamed8368(); } buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest--; return o; @@ -2242,8 +2277,8 @@ void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest < 3) { - checkUnnamed8279(o.action!); - checkUnnamed8280(o.actorEmail!); + checkUnnamed8366(o.action!); + checkUnnamed8367(o.actorEmail!); unittest.expect( o.earliestChangeTime!, unittest.equals('foo'), @@ -2264,18 +2299,18 @@ void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( o.property!, unittest.equals('foo'), ); - checkUnnamed8281(o.resourceType!); + checkUnnamed8368(o.resourceType!); } buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest--; } core.List - buildUnnamed8282() => [ + buildUnnamed8369() => [ buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(), buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(), ]; -void checkUnnamed8282( +void checkUnnamed8369( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent(o[0]); @@ -2291,7 +2326,7 @@ api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse < 3) { - o.changeHistoryEvents = buildUnnamed8282(); + o.changeHistoryEvents = buildUnnamed8369(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse--; @@ -2303,7 +2338,7 @@ void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse( buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse < 3) { - checkUnnamed8282(o.changeHistoryEvents!); + checkUnnamed8369(o.changeHistoryEvents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2333,12 +2368,12 @@ void checkGoogleAnalyticsAdminV1alphaUpdateUserLinkRequest( buildCounterGoogleAnalyticsAdminV1alphaUpdateUserLinkRequest--; } -core.List buildUnnamed8283() => [ +core.List buildUnnamed8370() => [ 'foo', 'foo', ]; -void checkUnnamed8283(core.List o) { +void checkUnnamed8370(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2356,7 +2391,7 @@ api.GoogleAnalyticsAdminV1alphaUserLink final o = api.GoogleAnalyticsAdminV1alphaUserLink(); buildCounterGoogleAnalyticsAdminV1alphaUserLink++; if (buildCounterGoogleAnalyticsAdminV1alphaUserLink < 3) { - o.directRoles = buildUnnamed8283(); + o.directRoles = buildUnnamed8370(); o.emailAddress = 'foo'; o.name = 'foo'; } @@ -2368,7 +2403,7 @@ void checkGoogleAnalyticsAdminV1alphaUserLink( api.GoogleAnalyticsAdminV1alphaUserLink o) { buildCounterGoogleAnalyticsAdminV1alphaUserLink++; if (buildCounterGoogleAnalyticsAdminV1alphaUserLink < 3) { - checkUnnamed8283(o.directRoles!); + checkUnnamed8370(o.directRoles!); unittest.expect( o.emailAddress!, unittest.equals('foo'), @@ -2450,12 +2485,12 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed8284() => [ +core.List buildUnnamed8371() => [ 'foo', 'foo', ]; -void checkUnnamed8284(core.List o) { +void checkUnnamed8371(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2467,12 +2502,12 @@ void checkUnnamed8284(core.List o) { ); } -core.List buildUnnamed8285() => [ +core.List buildUnnamed8372() => [ 'foo', 'foo', ]; -void checkUnnamed8285(core.List o) { +void checkUnnamed8372(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2768,6 +2803,17 @@ void main() { }); }); + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaDataRetentionSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataRetentionSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings(od); + }); + }); + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaDataSharingSettings', () { unittest.test('to-json--from-json', () async { @@ -3884,7 +3930,7 @@ void main() { final mock = HttpServerMock(); final res = api.GoogleAnalyticsAdminApi(mock).accounts.userLinks; final arg_parent = 'foo'; - final arg_names = buildUnnamed8284(); + final arg_names = buildUnnamed8371(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -4467,6 +4513,61 @@ void main() { response as api.GoogleAnalyticsAdminV1alphaProperty); }); + unittest.test('method--getDataRetentionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 8), + unittest.equals('v1alpha/'), + ); + pathOffset += 8; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleAnalyticsAdminV1alphaDataRetentionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getDataRetentionSettings(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + response as api.GoogleAnalyticsAdminV1alphaDataRetentionSettings); + }); + unittest.test('method--getGoogleSignalsSettings', () async { final mock = HttpServerMock(); final res = api.GoogleAnalyticsAdminApi(mock).properties; @@ -4664,6 +4765,74 @@ void main() { response as api.GoogleAnalyticsAdminV1alphaProperty); }); + unittest.test('method--updateDataRetentionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDataRetentionSettings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 8), + unittest.equals('v1alpha/'), + ); + pathOffset += 8; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleAnalyticsAdminV1alphaDataRetentionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateDataRetentionSettings( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + response as api.GoogleAnalyticsAdminV1alphaDataRetentionSettings); + }); + unittest.test('method--updateGoogleSignalsSettings', () async { final mock = HttpServerMock(); final res = api.GoogleAnalyticsAdminApi(mock).properties; @@ -8029,7 +8198,7 @@ void main() { final mock = HttpServerMock(); final res = api.GoogleAnalyticsAdminApi(mock).properties.userLinks; final arg_parent = 'foo'; - final arg_names = buildUnnamed8285(); + final arg_names = buildUnnamed8372(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart b/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart index b54a547d4..8e8502436 100644 --- a/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart +++ b/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8469() => [ +core.List buildUnnamed8570() => [ buildRunPivotReportRequest(), buildRunPivotReportRequest(), ]; -void checkUnnamed8469(core.List o) { +void checkUnnamed8570(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRunPivotReportRequest(o[0]); checkRunPivotReportRequest(o[1]); @@ -42,7 +42,7 @@ api.BatchRunPivotReportsRequest buildBatchRunPivotReportsRequest() { final o = api.BatchRunPivotReportsRequest(); buildCounterBatchRunPivotReportsRequest++; if (buildCounterBatchRunPivotReportsRequest < 3) { - o.requests = buildUnnamed8469(); + o.requests = buildUnnamed8570(); } buildCounterBatchRunPivotReportsRequest--; return o; @@ -51,17 +51,17 @@ api.BatchRunPivotReportsRequest buildBatchRunPivotReportsRequest() { void checkBatchRunPivotReportsRequest(api.BatchRunPivotReportsRequest o) { buildCounterBatchRunPivotReportsRequest++; if (buildCounterBatchRunPivotReportsRequest < 3) { - checkUnnamed8469(o.requests!); + checkUnnamed8570(o.requests!); } buildCounterBatchRunPivotReportsRequest--; } -core.List buildUnnamed8470() => [ +core.List buildUnnamed8571() => [ buildRunPivotReportResponse(), buildRunPivotReportResponse(), ]; -void checkUnnamed8470(core.List o) { +void checkUnnamed8571(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRunPivotReportResponse(o[0]); checkRunPivotReportResponse(o[1]); @@ -73,7 +73,7 @@ api.BatchRunPivotReportsResponse buildBatchRunPivotReportsResponse() { buildCounterBatchRunPivotReportsResponse++; if (buildCounterBatchRunPivotReportsResponse < 3) { o.kind = 'foo'; - o.pivotReports = buildUnnamed8470(); + o.pivotReports = buildUnnamed8571(); } buildCounterBatchRunPivotReportsResponse--; return o; @@ -86,17 +86,17 @@ void checkBatchRunPivotReportsResponse(api.BatchRunPivotReportsResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed8470(o.pivotReports!); + checkUnnamed8571(o.pivotReports!); } buildCounterBatchRunPivotReportsResponse--; } -core.List buildUnnamed8471() => [ +core.List buildUnnamed8572() => [ buildRunReportRequest(), buildRunReportRequest(), ]; -void checkUnnamed8471(core.List o) { +void checkUnnamed8572(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRunReportRequest(o[0]); checkRunReportRequest(o[1]); @@ -107,7 +107,7 @@ api.BatchRunReportsRequest buildBatchRunReportsRequest() { final o = api.BatchRunReportsRequest(); buildCounterBatchRunReportsRequest++; if (buildCounterBatchRunReportsRequest < 3) { - o.requests = buildUnnamed8471(); + o.requests = buildUnnamed8572(); } buildCounterBatchRunReportsRequest--; return o; @@ -116,17 +116,17 @@ api.BatchRunReportsRequest buildBatchRunReportsRequest() { void checkBatchRunReportsRequest(api.BatchRunReportsRequest o) { buildCounterBatchRunReportsRequest++; if (buildCounterBatchRunReportsRequest < 3) { - checkUnnamed8471(o.requests!); + checkUnnamed8572(o.requests!); } buildCounterBatchRunReportsRequest--; } -core.List buildUnnamed8472() => [ +core.List buildUnnamed8573() => [ buildRunReportResponse(), buildRunReportResponse(), ]; -void checkUnnamed8472(core.List o) { +void checkUnnamed8573(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRunReportResponse(o[0]); checkRunReportResponse(o[1]); @@ -138,7 +138,7 @@ api.BatchRunReportsResponse buildBatchRunReportsResponse() { buildCounterBatchRunReportsResponse++; if (buildCounterBatchRunReportsResponse < 3) { o.kind = 'foo'; - o.reports = buildUnnamed8472(); + o.reports = buildUnnamed8573(); } buildCounterBatchRunReportsResponse--; return o; @@ -151,7 +151,7 @@ void checkBatchRunReportsResponse(api.BatchRunReportsResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed8472(o.reports!); + checkUnnamed8573(o.reports!); } buildCounterBatchRunReportsResponse--; } @@ -199,6 +199,101 @@ void checkCaseExpression(api.CaseExpression o) { buildCounterCaseExpression--; } +core.List buildUnnamed8574() => [ + buildDimension(), + buildDimension(), + ]; + +void checkUnnamed8574(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkDimension(o[0]); + checkDimension(o[1]); +} + +core.List buildUnnamed8575() => [ + buildMetric(), + buildMetric(), + ]; + +void checkUnnamed8575(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkMetric(o[0]); + checkMetric(o[1]); +} + +core.int buildCounterCheckCompatibilityRequest = 0; +api.CheckCompatibilityRequest buildCheckCompatibilityRequest() { + final o = api.CheckCompatibilityRequest(); + buildCounterCheckCompatibilityRequest++; + if (buildCounterCheckCompatibilityRequest < 3) { + o.compatibilityFilter = 'foo'; + o.dimensionFilter = buildFilterExpression(); + o.dimensions = buildUnnamed8574(); + o.metricFilter = buildFilterExpression(); + o.metrics = buildUnnamed8575(); + } + buildCounterCheckCompatibilityRequest--; + return o; +} + +void checkCheckCompatibilityRequest(api.CheckCompatibilityRequest o) { + buildCounterCheckCompatibilityRequest++; + if (buildCounterCheckCompatibilityRequest < 3) { + unittest.expect( + o.compatibilityFilter!, + unittest.equals('foo'), + ); + checkFilterExpression(o.dimensionFilter!); + checkUnnamed8574(o.dimensions!); + checkFilterExpression(o.metricFilter!); + checkUnnamed8575(o.metrics!); + } + buildCounterCheckCompatibilityRequest--; +} + +core.List buildUnnamed8576() => [ + buildDimensionCompatibility(), + buildDimensionCompatibility(), + ]; + +void checkUnnamed8576(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkDimensionCompatibility(o[0]); + checkDimensionCompatibility(o[1]); +} + +core.List buildUnnamed8577() => [ + buildMetricCompatibility(), + buildMetricCompatibility(), + ]; + +void checkUnnamed8577(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkMetricCompatibility(o[0]); + checkMetricCompatibility(o[1]); +} + +core.int buildCounterCheckCompatibilityResponse = 0; +api.CheckCompatibilityResponse buildCheckCompatibilityResponse() { + final o = api.CheckCompatibilityResponse(); + buildCounterCheckCompatibilityResponse++; + if (buildCounterCheckCompatibilityResponse < 3) { + o.dimensionCompatibilities = buildUnnamed8576(); + o.metricCompatibilities = buildUnnamed8577(); + } + buildCounterCheckCompatibilityResponse--; + return o; +} + +void checkCheckCompatibilityResponse(api.CheckCompatibilityResponse o) { + buildCounterCheckCompatibilityResponse++; + if (buildCounterCheckCompatibilityResponse < 3) { + checkUnnamed8576(o.dimensionCompatibilities!); + checkUnnamed8577(o.metricCompatibilities!); + } + buildCounterCheckCompatibilityResponse--; +} + core.int buildCounterCohort = 0; api.Cohort buildCohort() { final o = api.Cohort(); @@ -247,12 +342,12 @@ void checkCohortReportSettings(api.CohortReportSettings o) { buildCounterCohortReportSettings--; } -core.List buildUnnamed8473() => [ +core.List buildUnnamed8578() => [ buildCohort(), buildCohort(), ]; -void checkUnnamed8473(core.List o) { +void checkUnnamed8578(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCohort(o[0]); checkCohort(o[1]); @@ -264,7 +359,7 @@ api.CohortSpec buildCohortSpec() { buildCounterCohortSpec++; if (buildCounterCohortSpec < 3) { o.cohortReportSettings = buildCohortReportSettings(); - o.cohorts = buildUnnamed8473(); + o.cohorts = buildUnnamed8578(); o.cohortsRange = buildCohortsRange(); } buildCounterCohortSpec--; @@ -275,7 +370,7 @@ void checkCohortSpec(api.CohortSpec o) { buildCounterCohortSpec++; if (buildCounterCohortSpec < 3) { checkCohortReportSettings(o.cohortReportSettings!); - checkUnnamed8473(o.cohorts!); + checkUnnamed8578(o.cohorts!); checkCohortsRange(o.cohortsRange!); } buildCounterCohortSpec--; @@ -313,12 +408,12 @@ void checkCohortsRange(api.CohortsRange o) { buildCounterCohortsRange--; } -core.List buildUnnamed8474() => [ +core.List buildUnnamed8579() => [ 'foo', 'foo', ]; -void checkUnnamed8474(core.List o) { +void checkUnnamed8579(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -336,7 +431,7 @@ api.ConcatenateExpression buildConcatenateExpression() { buildCounterConcatenateExpression++; if (buildCounterConcatenateExpression < 3) { o.delimiter = 'foo'; - o.dimensionNames = buildUnnamed8474(); + o.dimensionNames = buildUnnamed8579(); } buildCounterConcatenateExpression--; return o; @@ -349,7 +444,7 @@ void checkConcatenateExpression(api.ConcatenateExpression o) { o.delimiter!, unittest.equals('foo'), ); - checkUnnamed8474(o.dimensionNames!); + checkUnnamed8579(o.dimensionNames!); } buildCounterConcatenateExpression--; } @@ -410,6 +505,30 @@ void checkDimension(api.Dimension o) { buildCounterDimension--; } +core.int buildCounterDimensionCompatibility = 0; +api.DimensionCompatibility buildDimensionCompatibility() { + final o = api.DimensionCompatibility(); + buildCounterDimensionCompatibility++; + if (buildCounterDimensionCompatibility < 3) { + o.compatibility = 'foo'; + o.dimensionMetadata = buildDimensionMetadata(); + } + buildCounterDimensionCompatibility--; + return o; +} + +void checkDimensionCompatibility(api.DimensionCompatibility o) { + buildCounterDimensionCompatibility++; + if (buildCounterDimensionCompatibility < 3) { + unittest.expect( + o.compatibility!, + unittest.equals('foo'), + ); + checkDimensionMetadata(o.dimensionMetadata!); + } + buildCounterDimensionCompatibility--; +} + core.int buildCounterDimensionExpression = 0; api.DimensionExpression buildDimensionExpression() { final o = api.DimensionExpression(); @@ -455,12 +574,12 @@ void checkDimensionHeader(api.DimensionHeader o) { buildCounterDimensionHeader--; } -core.List buildUnnamed8475() => [ +core.List buildUnnamed8580() => [ 'foo', 'foo', ]; -void checkUnnamed8475(core.List o) { +void checkUnnamed8580(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -478,8 +597,9 @@ api.DimensionMetadata buildDimensionMetadata() { buildCounterDimensionMetadata++; if (buildCounterDimensionMetadata < 3) { o.apiName = 'foo'; + o.category = 'foo'; o.customDefinition = true; - o.deprecatedApiNames = buildUnnamed8475(); + o.deprecatedApiNames = buildUnnamed8580(); o.description = 'foo'; o.uiName = 'foo'; } @@ -494,8 +614,12 @@ void checkDimensionMetadata(api.DimensionMetadata o) { o.apiName!, unittest.equals('foo'), ); + unittest.expect( + o.category!, + unittest.equals('foo'), + ); unittest.expect(o.customDefinition!, unittest.isTrue); - checkUnnamed8475(o.deprecatedApiNames!); + checkUnnamed8580(o.deprecatedApiNames!); unittest.expect( o.description!, unittest.equals('foo'), @@ -612,12 +736,12 @@ void checkFilterExpression(api.FilterExpression o) { buildCounterFilterExpression--; } -core.List buildUnnamed8476() => [ +core.List buildUnnamed8581() => [ buildFilterExpression(), buildFilterExpression(), ]; -void checkUnnamed8476(core.List o) { +void checkUnnamed8581(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFilterExpression(o[0]); checkFilterExpression(o[1]); @@ -628,7 +752,7 @@ api.FilterExpressionList buildFilterExpressionList() { final o = api.FilterExpressionList(); buildCounterFilterExpressionList++; if (buildCounterFilterExpressionList < 3) { - o.expressions = buildUnnamed8476(); + o.expressions = buildUnnamed8581(); } buildCounterFilterExpressionList--; return o; @@ -637,17 +761,17 @@ api.FilterExpressionList buildFilterExpressionList() { void checkFilterExpressionList(api.FilterExpressionList o) { buildCounterFilterExpressionList++; if (buildCounterFilterExpressionList < 3) { - checkUnnamed8476(o.expressions!); + checkUnnamed8581(o.expressions!); } buildCounterFilterExpressionList--; } -core.List buildUnnamed8477() => [ +core.List buildUnnamed8582() => [ 'foo', 'foo', ]; -void checkUnnamed8477(core.List o) { +void checkUnnamed8582(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -665,7 +789,7 @@ api.InListFilter buildInListFilter() { buildCounterInListFilter++; if (buildCounterInListFilter < 3) { o.caseSensitive = true; - o.values = buildUnnamed8477(); + o.values = buildUnnamed8582(); } buildCounterInListFilter--; return o; @@ -675,28 +799,28 @@ void checkInListFilter(api.InListFilter o) { buildCounterInListFilter++; if (buildCounterInListFilter < 3) { unittest.expect(o.caseSensitive!, unittest.isTrue); - checkUnnamed8477(o.values!); + checkUnnamed8582(o.values!); } buildCounterInListFilter--; } -core.List buildUnnamed8478() => [ +core.List buildUnnamed8583() => [ buildDimensionMetadata(), buildDimensionMetadata(), ]; -void checkUnnamed8478(core.List o) { +void checkUnnamed8583(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionMetadata(o[0]); checkDimensionMetadata(o[1]); } -core.List buildUnnamed8479() => [ +core.List buildUnnamed8584() => [ buildMetricMetadata(), buildMetricMetadata(), ]; -void checkUnnamed8479(core.List o) { +void checkUnnamed8584(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricMetadata(o[0]); checkMetricMetadata(o[1]); @@ -707,8 +831,8 @@ api.Metadata buildMetadata() { final o = api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.dimensions = buildUnnamed8478(); - o.metrics = buildUnnamed8479(); + o.dimensions = buildUnnamed8583(); + o.metrics = buildUnnamed8584(); o.name = 'foo'; } buildCounterMetadata--; @@ -718,8 +842,8 @@ api.Metadata buildMetadata() { void checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed8478(o.dimensions!); - checkUnnamed8479(o.metrics!); + checkUnnamed8583(o.dimensions!); + checkUnnamed8584(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -757,6 +881,30 @@ void checkMetric(api.Metric o) { buildCounterMetric--; } +core.int buildCounterMetricCompatibility = 0; +api.MetricCompatibility buildMetricCompatibility() { + final o = api.MetricCompatibility(); + buildCounterMetricCompatibility++; + if (buildCounterMetricCompatibility < 3) { + o.compatibility = 'foo'; + o.metricMetadata = buildMetricMetadata(); + } + buildCounterMetricCompatibility--; + return o; +} + +void checkMetricCompatibility(api.MetricCompatibility o) { + buildCounterMetricCompatibility++; + if (buildCounterMetricCompatibility < 3) { + unittest.expect( + o.compatibility!, + unittest.equals('foo'), + ); + checkMetricMetadata(o.metricMetadata!); + } + buildCounterMetricCompatibility--; +} + core.int buildCounterMetricHeader = 0; api.MetricHeader buildMetricHeader() { final o = api.MetricHeader(); @@ -784,12 +932,12 @@ void checkMetricHeader(api.MetricHeader o) { buildCounterMetricHeader--; } -core.List buildUnnamed8480() => [ +core.List buildUnnamed8585() => [ 'foo', 'foo', ]; -void checkUnnamed8480(core.List o) { +void checkUnnamed8585(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -807,8 +955,9 @@ api.MetricMetadata buildMetricMetadata() { buildCounterMetricMetadata++; if (buildCounterMetricMetadata < 3) { o.apiName = 'foo'; + o.category = 'foo'; o.customDefinition = true; - o.deprecatedApiNames = buildUnnamed8480(); + o.deprecatedApiNames = buildUnnamed8585(); o.description = 'foo'; o.expression = 'foo'; o.type = 'foo'; @@ -825,8 +974,12 @@ void checkMetricMetadata(api.MetricMetadata o) { o.apiName!, unittest.equals('foo'), ); + unittest.expect( + o.category!, + unittest.equals('foo'), + ); unittest.expect(o.customDefinition!, unittest.isTrue); - checkUnnamed8480(o.deprecatedApiNames!); + checkUnnamed8585(o.deprecatedApiNames!); unittest.expect( o.description!, unittest.equals('foo'), @@ -999,12 +1152,12 @@ void checkOrderBy(api.OrderBy o) { buildCounterOrderBy--; } -core.List buildUnnamed8481() => [ +core.List buildUnnamed8586() => [ 'foo', 'foo', ]; -void checkUnnamed8481(core.List o) { +void checkUnnamed8586(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1016,12 +1169,12 @@ void checkUnnamed8481(core.List o) { ); } -core.List buildUnnamed8482() => [ +core.List buildUnnamed8587() => [ 'foo', 'foo', ]; -void checkUnnamed8482(core.List o) { +void checkUnnamed8587(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1033,12 +1186,12 @@ void checkUnnamed8482(core.List o) { ); } -core.List buildUnnamed8483() => [ +core.List buildUnnamed8588() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed8483(core.List o) { +void checkUnnamed8588(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); @@ -1049,11 +1202,11 @@ api.Pivot buildPivot() { final o = api.Pivot(); buildCounterPivot++; if (buildCounterPivot < 3) { - o.fieldNames = buildUnnamed8481(); + o.fieldNames = buildUnnamed8586(); o.limit = 'foo'; - o.metricAggregations = buildUnnamed8482(); + o.metricAggregations = buildUnnamed8587(); o.offset = 'foo'; - o.orderBys = buildUnnamed8483(); + o.orderBys = buildUnnamed8588(); } buildCounterPivot--; return o; @@ -1062,27 +1215,27 @@ api.Pivot buildPivot() { void checkPivot(api.Pivot o) { buildCounterPivot++; if (buildCounterPivot < 3) { - checkUnnamed8481(o.fieldNames!); + checkUnnamed8586(o.fieldNames!); unittest.expect( o.limit!, unittest.equals('foo'), ); - checkUnnamed8482(o.metricAggregations!); + checkUnnamed8587(o.metricAggregations!); unittest.expect( o.offset!, unittest.equals('foo'), ); - checkUnnamed8483(o.orderBys!); + checkUnnamed8588(o.orderBys!); } buildCounterPivot--; } -core.List buildUnnamed8484() => [ +core.List buildUnnamed8589() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed8484(core.List o) { +void checkUnnamed8589(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -1093,7 +1246,7 @@ api.PivotDimensionHeader buildPivotDimensionHeader() { final o = api.PivotDimensionHeader(); buildCounterPivotDimensionHeader++; if (buildCounterPivotDimensionHeader < 3) { - o.dimensionValues = buildUnnamed8484(); + o.dimensionValues = buildUnnamed8589(); } buildCounterPivotDimensionHeader--; return o; @@ -1102,17 +1255,17 @@ api.PivotDimensionHeader buildPivotDimensionHeader() { void checkPivotDimensionHeader(api.PivotDimensionHeader o) { buildCounterPivotDimensionHeader++; if (buildCounterPivotDimensionHeader < 3) { - checkUnnamed8484(o.dimensionValues!); + checkUnnamed8589(o.dimensionValues!); } buildCounterPivotDimensionHeader--; } -core.List buildUnnamed8485() => [ +core.List buildUnnamed8590() => [ buildPivotDimensionHeader(), buildPivotDimensionHeader(), ]; -void checkUnnamed8485(core.List o) { +void checkUnnamed8590(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotDimensionHeader(o[0]); checkPivotDimensionHeader(o[1]); @@ -1123,7 +1276,7 @@ api.PivotHeader buildPivotHeader() { final o = api.PivotHeader(); buildCounterPivotHeader++; if (buildCounterPivotHeader < 3) { - o.pivotDimensionHeaders = buildUnnamed8485(); + o.pivotDimensionHeaders = buildUnnamed8590(); o.rowCount = 42; } buildCounterPivotHeader--; @@ -1133,7 +1286,7 @@ api.PivotHeader buildPivotHeader() { void checkPivotHeader(api.PivotHeader o) { buildCounterPivotHeader++; if (buildCounterPivotHeader < 3) { - checkUnnamed8485(o.pivotDimensionHeaders!); + checkUnnamed8590(o.pivotDimensionHeaders!); unittest.expect( o.rowCount!, unittest.equals(42), @@ -1142,12 +1295,12 @@ void checkPivotHeader(api.PivotHeader o) { buildCounterPivotHeader--; } -core.List buildUnnamed8486() => [ +core.List buildUnnamed8591() => [ buildPivotSelection(), buildPivotSelection(), ]; -void checkUnnamed8486(core.List o) { +void checkUnnamed8591(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotSelection(o[0]); checkPivotSelection(o[1]); @@ -1159,7 +1312,7 @@ api.PivotOrderBy buildPivotOrderBy() { buildCounterPivotOrderBy++; if (buildCounterPivotOrderBy < 3) { o.metricName = 'foo'; - o.pivotSelections = buildUnnamed8486(); + o.pivotSelections = buildUnnamed8591(); } buildCounterPivotOrderBy--; return o; @@ -1172,7 +1325,7 @@ void checkPivotOrderBy(api.PivotOrderBy o) { o.metricName!, unittest.equals('foo'), ); - checkUnnamed8486(o.pivotSelections!); + checkUnnamed8591(o.pivotSelections!); } buildCounterPivotOrderBy--; } @@ -1263,7 +1416,9 @@ api.ResponseMetaData buildResponseMetaData() { final o = api.ResponseMetaData(); buildCounterResponseMetaData++; if (buildCounterResponseMetaData < 3) { + o.currencyCode = 'foo'; o.dataLossFromOtherRow = true; + o.timeZone = 'foo'; } buildCounterResponseMetaData--; return o; @@ -1272,28 +1427,36 @@ api.ResponseMetaData buildResponseMetaData() { void checkResponseMetaData(api.ResponseMetaData o) { buildCounterResponseMetaData++; if (buildCounterResponseMetaData < 3) { + unittest.expect( + o.currencyCode!, + unittest.equals('foo'), + ); unittest.expect(o.dataLossFromOtherRow!, unittest.isTrue); + unittest.expect( + o.timeZone!, + unittest.equals('foo'), + ); } buildCounterResponseMetaData--; } -core.List buildUnnamed8487() => [ +core.List buildUnnamed8592() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed8487(core.List o) { +void checkUnnamed8592(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed8488() => [ +core.List buildUnnamed8593() => [ buildMetricValue(), buildMetricValue(), ]; -void checkUnnamed8488(core.List o) { +void checkUnnamed8593(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValue(o[0]); checkMetricValue(o[1]); @@ -1304,8 +1467,8 @@ api.Row buildRow() { final o = api.Row(); buildCounterRow++; if (buildCounterRow < 3) { - o.dimensionValues = buildUnnamed8487(); - o.metricValues = buildUnnamed8488(); + o.dimensionValues = buildUnnamed8592(); + o.metricValues = buildUnnamed8593(); } buildCounterRow--; return o; @@ -1314,51 +1477,51 @@ api.Row buildRow() { void checkRow(api.Row o) { buildCounterRow++; if (buildCounterRow < 3) { - checkUnnamed8487(o.dimensionValues!); - checkUnnamed8488(o.metricValues!); + checkUnnamed8592(o.dimensionValues!); + checkUnnamed8593(o.metricValues!); } buildCounterRow--; } -core.List buildUnnamed8489() => [ +core.List buildUnnamed8594() => [ buildDateRange(), buildDateRange(), ]; -void checkUnnamed8489(core.List o) { +void checkUnnamed8594(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRange(o[0]); checkDateRange(o[1]); } -core.List buildUnnamed8490() => [ +core.List buildUnnamed8595() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed8490(core.List o) { +void checkUnnamed8595(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed8491() => [ +core.List buildUnnamed8596() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed8491(core.List o) { +void checkUnnamed8596(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed8492() => [ +core.List buildUnnamed8597() => [ buildPivot(), buildPivot(), ]; -void checkUnnamed8492(core.List o) { +void checkUnnamed8597(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivot(o[0]); checkPivot(o[1]); @@ -1371,13 +1534,13 @@ api.RunPivotReportRequest buildRunPivotReportRequest() { if (buildCounterRunPivotReportRequest < 3) { o.cohortSpec = buildCohortSpec(); o.currencyCode = 'foo'; - o.dateRanges = buildUnnamed8489(); + o.dateRanges = buildUnnamed8594(); o.dimensionFilter = buildFilterExpression(); - o.dimensions = buildUnnamed8490(); + o.dimensions = buildUnnamed8595(); o.keepEmptyRows = true; o.metricFilter = buildFilterExpression(); - o.metrics = buildUnnamed8491(); - o.pivots = buildUnnamed8492(); + o.metrics = buildUnnamed8596(); + o.pivots = buildUnnamed8597(); o.property = 'foo'; o.returnPropertyQuota = true; } @@ -1393,13 +1556,13 @@ void checkRunPivotReportRequest(api.RunPivotReportRequest o) { o.currencyCode!, unittest.equals('foo'), ); - checkUnnamed8489(o.dateRanges!); + checkUnnamed8594(o.dateRanges!); checkFilterExpression(o.dimensionFilter!); - checkUnnamed8490(o.dimensions!); + checkUnnamed8595(o.dimensions!); unittest.expect(o.keepEmptyRows!, unittest.isTrue); checkFilterExpression(o.metricFilter!); - checkUnnamed8491(o.metrics!); - checkUnnamed8492(o.pivots!); + checkUnnamed8596(o.metrics!); + checkUnnamed8597(o.pivots!); unittest.expect( o.property!, unittest.equals('foo'), @@ -1409,56 +1572,56 @@ void checkRunPivotReportRequest(api.RunPivotReportRequest o) { buildCounterRunPivotReportRequest--; } -core.List buildUnnamed8493() => [ +core.List buildUnnamed8598() => [ buildRow(), buildRow(), ]; -void checkUnnamed8493(core.List o) { +void checkUnnamed8598(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8494() => [ +core.List buildUnnamed8599() => [ buildDimensionHeader(), buildDimensionHeader(), ]; -void checkUnnamed8494(core.List o) { +void checkUnnamed8599(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionHeader(o[0]); checkDimensionHeader(o[1]); } -core.List buildUnnamed8495() => [ +core.List buildUnnamed8600() => [ buildMetricHeader(), buildMetricHeader(), ]; -void checkUnnamed8495(core.List o) { +void checkUnnamed8600(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeader(o[0]); checkMetricHeader(o[1]); } -core.List buildUnnamed8496() => [ +core.List buildUnnamed8601() => [ buildPivotHeader(), buildPivotHeader(), ]; -void checkUnnamed8496(core.List o) { +void checkUnnamed8601(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotHeader(o[0]); checkPivotHeader(o[1]); } -core.List buildUnnamed8497() => [ +core.List buildUnnamed8602() => [ buildRow(), buildRow(), ]; -void checkUnnamed8497(core.List o) { +void checkUnnamed8602(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -1469,14 +1632,14 @@ api.RunPivotReportResponse buildRunPivotReportResponse() { final o = api.RunPivotReportResponse(); buildCounterRunPivotReportResponse++; if (buildCounterRunPivotReportResponse < 3) { - o.aggregates = buildUnnamed8493(); - o.dimensionHeaders = buildUnnamed8494(); + o.aggregates = buildUnnamed8598(); + o.dimensionHeaders = buildUnnamed8599(); o.kind = 'foo'; o.metadata = buildResponseMetaData(); - o.metricHeaders = buildUnnamed8495(); - o.pivotHeaders = buildUnnamed8496(); + o.metricHeaders = buildUnnamed8600(); + o.pivotHeaders = buildUnnamed8601(); o.propertyQuota = buildPropertyQuota(); - o.rows = buildUnnamed8497(); + o.rows = buildUnnamed8602(); } buildCounterRunPivotReportResponse--; return o; @@ -1485,38 +1648,38 @@ api.RunPivotReportResponse buildRunPivotReportResponse() { void checkRunPivotReportResponse(api.RunPivotReportResponse o) { buildCounterRunPivotReportResponse++; if (buildCounterRunPivotReportResponse < 3) { - checkUnnamed8493(o.aggregates!); - checkUnnamed8494(o.dimensionHeaders!); + checkUnnamed8598(o.aggregates!); + checkUnnamed8599(o.dimensionHeaders!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkResponseMetaData(o.metadata!); - checkUnnamed8495(o.metricHeaders!); - checkUnnamed8496(o.pivotHeaders!); + checkUnnamed8600(o.metricHeaders!); + checkUnnamed8601(o.pivotHeaders!); checkPropertyQuota(o.propertyQuota!); - checkUnnamed8497(o.rows!); + checkUnnamed8602(o.rows!); } buildCounterRunPivotReportResponse--; } -core.List buildUnnamed8498() => [ +core.List buildUnnamed8603() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed8498(core.List o) { +void checkUnnamed8603(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed8499() => [ +core.List buildUnnamed8604() => [ 'foo', 'foo', ]; -void checkUnnamed8499(core.List o) { +void checkUnnamed8604(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1528,34 +1691,34 @@ void checkUnnamed8499(core.List o) { ); } -core.List buildUnnamed8500() => [ +core.List buildUnnamed8605() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed8500(core.List o) { +void checkUnnamed8605(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed8501() => [ +core.List buildUnnamed8606() => [ buildMinuteRange(), buildMinuteRange(), ]; -void checkUnnamed8501(core.List o) { +void checkUnnamed8606(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMinuteRange(o[0]); checkMinuteRange(o[1]); } -core.List buildUnnamed8502() => [ +core.List buildUnnamed8607() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed8502(core.List o) { +void checkUnnamed8607(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); @@ -1567,13 +1730,13 @@ api.RunRealtimeReportRequest buildRunRealtimeReportRequest() { buildCounterRunRealtimeReportRequest++; if (buildCounterRunRealtimeReportRequest < 3) { o.dimensionFilter = buildFilterExpression(); - o.dimensions = buildUnnamed8498(); + o.dimensions = buildUnnamed8603(); o.limit = 'foo'; - o.metricAggregations = buildUnnamed8499(); + o.metricAggregations = buildUnnamed8604(); o.metricFilter = buildFilterExpression(); - o.metrics = buildUnnamed8500(); - o.minuteRanges = buildUnnamed8501(); - o.orderBys = buildUnnamed8502(); + o.metrics = buildUnnamed8605(); + o.minuteRanges = buildUnnamed8606(); + o.orderBys = buildUnnamed8607(); o.returnPropertyQuota = true; } buildCounterRunRealtimeReportRequest--; @@ -1584,82 +1747,82 @@ void checkRunRealtimeReportRequest(api.RunRealtimeReportRequest o) { buildCounterRunRealtimeReportRequest++; if (buildCounterRunRealtimeReportRequest < 3) { checkFilterExpression(o.dimensionFilter!); - checkUnnamed8498(o.dimensions!); + checkUnnamed8603(o.dimensions!); unittest.expect( o.limit!, unittest.equals('foo'), ); - checkUnnamed8499(o.metricAggregations!); + checkUnnamed8604(o.metricAggregations!); checkFilterExpression(o.metricFilter!); - checkUnnamed8500(o.metrics!); - checkUnnamed8501(o.minuteRanges!); - checkUnnamed8502(o.orderBys!); + checkUnnamed8605(o.metrics!); + checkUnnamed8606(o.minuteRanges!); + checkUnnamed8607(o.orderBys!); unittest.expect(o.returnPropertyQuota!, unittest.isTrue); } buildCounterRunRealtimeReportRequest--; } -core.List buildUnnamed8503() => [ +core.List buildUnnamed8608() => [ buildDimensionHeader(), buildDimensionHeader(), ]; -void checkUnnamed8503(core.List o) { +void checkUnnamed8608(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionHeader(o[0]); checkDimensionHeader(o[1]); } -core.List buildUnnamed8504() => [ +core.List buildUnnamed8609() => [ buildRow(), buildRow(), ]; -void checkUnnamed8504(core.List o) { +void checkUnnamed8609(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8505() => [ +core.List buildUnnamed8610() => [ buildMetricHeader(), buildMetricHeader(), ]; -void checkUnnamed8505(core.List o) { +void checkUnnamed8610(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeader(o[0]); checkMetricHeader(o[1]); } -core.List buildUnnamed8506() => [ +core.List buildUnnamed8611() => [ buildRow(), buildRow(), ]; -void checkUnnamed8506(core.List o) { +void checkUnnamed8611(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8507() => [ +core.List buildUnnamed8612() => [ buildRow(), buildRow(), ]; -void checkUnnamed8507(core.List o) { +void checkUnnamed8612(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8508() => [ +core.List buildUnnamed8613() => [ buildRow(), buildRow(), ]; -void checkUnnamed8508(core.List o) { +void checkUnnamed8613(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -1670,15 +1833,15 @@ api.RunRealtimeReportResponse buildRunRealtimeReportResponse() { final o = api.RunRealtimeReportResponse(); buildCounterRunRealtimeReportResponse++; if (buildCounterRunRealtimeReportResponse < 3) { - o.dimensionHeaders = buildUnnamed8503(); + o.dimensionHeaders = buildUnnamed8608(); o.kind = 'foo'; - o.maximums = buildUnnamed8504(); - o.metricHeaders = buildUnnamed8505(); - o.minimums = buildUnnamed8506(); + o.maximums = buildUnnamed8609(); + o.metricHeaders = buildUnnamed8610(); + o.minimums = buildUnnamed8611(); o.propertyQuota = buildPropertyQuota(); o.rowCount = 42; - o.rows = buildUnnamed8507(); - o.totals = buildUnnamed8508(); + o.rows = buildUnnamed8612(); + o.totals = buildUnnamed8613(); } buildCounterRunRealtimeReportResponse--; return o; @@ -1687,53 +1850,53 @@ api.RunRealtimeReportResponse buildRunRealtimeReportResponse() { void checkRunRealtimeReportResponse(api.RunRealtimeReportResponse o) { buildCounterRunRealtimeReportResponse++; if (buildCounterRunRealtimeReportResponse < 3) { - checkUnnamed8503(o.dimensionHeaders!); + checkUnnamed8608(o.dimensionHeaders!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed8504(o.maximums!); - checkUnnamed8505(o.metricHeaders!); - checkUnnamed8506(o.minimums!); + checkUnnamed8609(o.maximums!); + checkUnnamed8610(o.metricHeaders!); + checkUnnamed8611(o.minimums!); checkPropertyQuota(o.propertyQuota!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed8507(o.rows!); - checkUnnamed8508(o.totals!); + checkUnnamed8612(o.rows!); + checkUnnamed8613(o.totals!); } buildCounterRunRealtimeReportResponse--; } -core.List buildUnnamed8509() => [ +core.List buildUnnamed8614() => [ buildDateRange(), buildDateRange(), ]; -void checkUnnamed8509(core.List o) { +void checkUnnamed8614(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRange(o[0]); checkDateRange(o[1]); } -core.List buildUnnamed8510() => [ +core.List buildUnnamed8615() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed8510(core.List o) { +void checkUnnamed8615(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed8511() => [ +core.List buildUnnamed8616() => [ 'foo', 'foo', ]; -void checkUnnamed8511(core.List o) { +void checkUnnamed8616(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1745,23 +1908,23 @@ void checkUnnamed8511(core.List o) { ); } -core.List buildUnnamed8512() => [ +core.List buildUnnamed8617() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed8512(core.List o) { +void checkUnnamed8617(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed8513() => [ +core.List buildUnnamed8618() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed8513(core.List o) { +void checkUnnamed8618(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); @@ -1774,16 +1937,16 @@ api.RunReportRequest buildRunReportRequest() { if (buildCounterRunReportRequest < 3) { o.cohortSpec = buildCohortSpec(); o.currencyCode = 'foo'; - o.dateRanges = buildUnnamed8509(); + o.dateRanges = buildUnnamed8614(); o.dimensionFilter = buildFilterExpression(); - o.dimensions = buildUnnamed8510(); + o.dimensions = buildUnnamed8615(); o.keepEmptyRows = true; o.limit = 'foo'; - o.metricAggregations = buildUnnamed8511(); + o.metricAggregations = buildUnnamed8616(); o.metricFilter = buildFilterExpression(); - o.metrics = buildUnnamed8512(); + o.metrics = buildUnnamed8617(); o.offset = 'foo'; - o.orderBys = buildUnnamed8513(); + o.orderBys = buildUnnamed8618(); o.property = 'foo'; o.returnPropertyQuota = true; } @@ -1799,22 +1962,22 @@ void checkRunReportRequest(api.RunReportRequest o) { o.currencyCode!, unittest.equals('foo'), ); - checkUnnamed8509(o.dateRanges!); + checkUnnamed8614(o.dateRanges!); checkFilterExpression(o.dimensionFilter!); - checkUnnamed8510(o.dimensions!); + checkUnnamed8615(o.dimensions!); unittest.expect(o.keepEmptyRows!, unittest.isTrue); unittest.expect( o.limit!, unittest.equals('foo'), ); - checkUnnamed8511(o.metricAggregations!); + checkUnnamed8616(o.metricAggregations!); checkFilterExpression(o.metricFilter!); - checkUnnamed8512(o.metrics!); + checkUnnamed8617(o.metrics!); unittest.expect( o.offset!, unittest.equals('foo'), ); - checkUnnamed8513(o.orderBys!); + checkUnnamed8618(o.orderBys!); unittest.expect( o.property!, unittest.equals('foo'), @@ -1824,67 +1987,67 @@ void checkRunReportRequest(api.RunReportRequest o) { buildCounterRunReportRequest--; } -core.List buildUnnamed8514() => [ +core.List buildUnnamed8619() => [ buildDimensionHeader(), buildDimensionHeader(), ]; -void checkUnnamed8514(core.List o) { +void checkUnnamed8619(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionHeader(o[0]); checkDimensionHeader(o[1]); } -core.List buildUnnamed8515() => [ +core.List buildUnnamed8620() => [ buildRow(), buildRow(), ]; -void checkUnnamed8515(core.List o) { +void checkUnnamed8620(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8516() => [ +core.List buildUnnamed8621() => [ buildMetricHeader(), buildMetricHeader(), ]; -void checkUnnamed8516(core.List o) { +void checkUnnamed8621(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeader(o[0]); checkMetricHeader(o[1]); } -core.List buildUnnamed8517() => [ +core.List buildUnnamed8622() => [ buildRow(), buildRow(), ]; -void checkUnnamed8517(core.List o) { +void checkUnnamed8622(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8518() => [ +core.List buildUnnamed8623() => [ buildRow(), buildRow(), ]; -void checkUnnamed8518(core.List o) { +void checkUnnamed8623(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed8519() => [ +core.List buildUnnamed8624() => [ buildRow(), buildRow(), ]; -void checkUnnamed8519(core.List o) { +void checkUnnamed8624(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -1895,16 +2058,16 @@ api.RunReportResponse buildRunReportResponse() { final o = api.RunReportResponse(); buildCounterRunReportResponse++; if (buildCounterRunReportResponse < 3) { - o.dimensionHeaders = buildUnnamed8514(); + o.dimensionHeaders = buildUnnamed8619(); o.kind = 'foo'; - o.maximums = buildUnnamed8515(); + o.maximums = buildUnnamed8620(); o.metadata = buildResponseMetaData(); - o.metricHeaders = buildUnnamed8516(); - o.minimums = buildUnnamed8517(); + o.metricHeaders = buildUnnamed8621(); + o.minimums = buildUnnamed8622(); o.propertyQuota = buildPropertyQuota(); o.rowCount = 42; - o.rows = buildUnnamed8518(); - o.totals = buildUnnamed8519(); + o.rows = buildUnnamed8623(); + o.totals = buildUnnamed8624(); } buildCounterRunReportResponse--; return o; @@ -1913,22 +2076,22 @@ api.RunReportResponse buildRunReportResponse() { void checkRunReportResponse(api.RunReportResponse o) { buildCounterRunReportResponse++; if (buildCounterRunReportResponse < 3) { - checkUnnamed8514(o.dimensionHeaders!); + checkUnnamed8619(o.dimensionHeaders!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed8515(o.maximums!); + checkUnnamed8620(o.maximums!); checkResponseMetaData(o.metadata!); - checkUnnamed8516(o.metricHeaders!); - checkUnnamed8517(o.minimums!); + checkUnnamed8621(o.metricHeaders!); + checkUnnamed8622(o.minimums!); checkPropertyQuota(o.propertyQuota!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed8518(o.rows!); - checkUnnamed8519(o.totals!); + checkUnnamed8623(o.rows!); + checkUnnamed8624(o.totals!); } buildCounterRunReportResponse--; } @@ -2023,6 +2186,26 @@ void main() { }); }); + unittest.group('obj-schema-CheckCompatibilityRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCheckCompatibilityRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CheckCompatibilityRequest.fromJson( + oJson as core.Map); + checkCheckCompatibilityRequest(od); + }); + }); + + unittest.group('obj-schema-CheckCompatibilityResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildCheckCompatibilityResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CheckCompatibilityResponse.fromJson( + oJson as core.Map); + checkCheckCompatibilityResponse(od); + }); + }); + unittest.group('obj-schema-Cohort', () { unittest.test('to-json--from-json', () async { final o = buildCohort(); @@ -2093,6 +2276,16 @@ void main() { }); }); + unittest.group('obj-schema-DimensionCompatibility', () { + unittest.test('to-json--from-json', () async { + final o = buildDimensionCompatibility(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DimensionCompatibility.fromJson( + oJson as core.Map); + checkDimensionCompatibility(od); + }); + }); + unittest.group('obj-schema-DimensionExpression', () { unittest.test('to-json--from-json', () async { final o = buildDimensionExpression(); @@ -2203,6 +2396,16 @@ void main() { }); }); + unittest.group('obj-schema-MetricCompatibility', () { + unittest.test('to-json--from-json', () async { + final o = buildMetricCompatibility(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MetricCompatibility.fromJson( + oJson as core.Map); + checkMetricCompatibility(od); + }); + }); + unittest.group('obj-schema-MetricHeader', () { unittest.test('to-json--from-json', () async { final o = buildMetricHeader(); @@ -2560,6 +2763,65 @@ void main() { checkBatchRunReportsResponse(response as api.BatchRunReportsResponse); }); + unittest.test('method--checkCompatibility', () async { + final mock = HttpServerMock(); + final res = api.AnalyticsDataApi(mock).properties; + final arg_request = buildCheckCompatibilityRequest(); + final arg_property = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CheckCompatibilityRequest.fromJson( + json as core.Map); + checkCheckCompatibilityRequest(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('v1beta/'), + ); + pathOffset += 7; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildCheckCompatibilityResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.checkCompatibility(arg_request, arg_property, + $fields: arg_$fields); + checkCheckCompatibilityResponse( + response as api.CheckCompatibilityResponse); + }); + unittest.test('method--getMetadata', () async { final mock = HttpServerMock(); final res = api.AnalyticsDataApi(mock).properties; diff --git a/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart b/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart index bbf59a73c..985537c56 100644 --- a/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8541() => [ +core.List buildUnnamed8646() => [ buildCreateRowRequest(), buildCreateRowRequest(), ]; -void checkUnnamed8541(core.List o) { +void checkUnnamed8646(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCreateRowRequest(o[0]); checkCreateRowRequest(o[1]); @@ -42,7 +42,7 @@ api.BatchCreateRowsRequest buildBatchCreateRowsRequest() { final o = api.BatchCreateRowsRequest(); buildCounterBatchCreateRowsRequest++; if (buildCounterBatchCreateRowsRequest < 3) { - o.requests = buildUnnamed8541(); + o.requests = buildUnnamed8646(); } buildCounterBatchCreateRowsRequest--; return o; @@ -51,17 +51,17 @@ api.BatchCreateRowsRequest buildBatchCreateRowsRequest() { void checkBatchCreateRowsRequest(api.BatchCreateRowsRequest o) { buildCounterBatchCreateRowsRequest++; if (buildCounterBatchCreateRowsRequest < 3) { - checkUnnamed8541(o.requests!); + checkUnnamed8646(o.requests!); } buildCounterBatchCreateRowsRequest--; } -core.List buildUnnamed8542() => [ +core.List buildUnnamed8647() => [ buildRow(), buildRow(), ]; -void checkUnnamed8542(core.List o) { +void checkUnnamed8647(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -72,7 +72,7 @@ api.BatchCreateRowsResponse buildBatchCreateRowsResponse() { final o = api.BatchCreateRowsResponse(); buildCounterBatchCreateRowsResponse++; if (buildCounterBatchCreateRowsResponse < 3) { - o.rows = buildUnnamed8542(); + o.rows = buildUnnamed8647(); } buildCounterBatchCreateRowsResponse--; return o; @@ -81,17 +81,17 @@ api.BatchCreateRowsResponse buildBatchCreateRowsResponse() { void checkBatchCreateRowsResponse(api.BatchCreateRowsResponse o) { buildCounterBatchCreateRowsResponse++; if (buildCounterBatchCreateRowsResponse < 3) { - checkUnnamed8542(o.rows!); + checkUnnamed8647(o.rows!); } buildCounterBatchCreateRowsResponse--; } -core.List buildUnnamed8543() => [ +core.List buildUnnamed8648() => [ 'foo', 'foo', ]; -void checkUnnamed8543(core.List o) { +void checkUnnamed8648(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -108,7 +108,7 @@ api.BatchDeleteRowsRequest buildBatchDeleteRowsRequest() { final o = api.BatchDeleteRowsRequest(); buildCounterBatchDeleteRowsRequest++; if (buildCounterBatchDeleteRowsRequest < 3) { - o.names = buildUnnamed8543(); + o.names = buildUnnamed8648(); } buildCounterBatchDeleteRowsRequest--; return o; @@ -117,17 +117,17 @@ api.BatchDeleteRowsRequest buildBatchDeleteRowsRequest() { void checkBatchDeleteRowsRequest(api.BatchDeleteRowsRequest o) { buildCounterBatchDeleteRowsRequest++; if (buildCounterBatchDeleteRowsRequest < 3) { - checkUnnamed8543(o.names!); + checkUnnamed8648(o.names!); } buildCounterBatchDeleteRowsRequest--; } -core.List buildUnnamed8544() => [ +core.List buildUnnamed8649() => [ buildUpdateRowRequest(), buildUpdateRowRequest(), ]; -void checkUnnamed8544(core.List o) { +void checkUnnamed8649(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUpdateRowRequest(o[0]); checkUpdateRowRequest(o[1]); @@ -138,7 +138,7 @@ api.BatchUpdateRowsRequest buildBatchUpdateRowsRequest() { final o = api.BatchUpdateRowsRequest(); buildCounterBatchUpdateRowsRequest++; if (buildCounterBatchUpdateRowsRequest < 3) { - o.requests = buildUnnamed8544(); + o.requests = buildUnnamed8649(); } buildCounterBatchUpdateRowsRequest--; return o; @@ -147,17 +147,17 @@ api.BatchUpdateRowsRequest buildBatchUpdateRowsRequest() { void checkBatchUpdateRowsRequest(api.BatchUpdateRowsRequest o) { buildCounterBatchUpdateRowsRequest++; if (buildCounterBatchUpdateRowsRequest < 3) { - checkUnnamed8544(o.requests!); + checkUnnamed8649(o.requests!); } buildCounterBatchUpdateRowsRequest--; } -core.List buildUnnamed8545() => [ +core.List buildUnnamed8650() => [ buildRow(), buildRow(), ]; -void checkUnnamed8545(core.List o) { +void checkUnnamed8650(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -168,7 +168,7 @@ api.BatchUpdateRowsResponse buildBatchUpdateRowsResponse() { final o = api.BatchUpdateRowsResponse(); buildCounterBatchUpdateRowsResponse++; if (buildCounterBatchUpdateRowsResponse < 3) { - o.rows = buildUnnamed8545(); + o.rows = buildUnnamed8650(); } buildCounterBatchUpdateRowsResponse--; return o; @@ -177,17 +177,17 @@ api.BatchUpdateRowsResponse buildBatchUpdateRowsResponse() { void checkBatchUpdateRowsResponse(api.BatchUpdateRowsResponse o) { buildCounterBatchUpdateRowsResponse++; if (buildCounterBatchUpdateRowsResponse < 3) { - checkUnnamed8545(o.rows!); + checkUnnamed8650(o.rows!); } buildCounterBatchUpdateRowsResponse--; } -core.List buildUnnamed8546() => [ +core.List buildUnnamed8651() => [ buildLabeledItem(), buildLabeledItem(), ]; -void checkUnnamed8546(core.List o) { +void checkUnnamed8651(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLabeledItem(o[0]); checkLabeledItem(o[1]); @@ -200,7 +200,7 @@ api.ColumnDescription buildColumnDescription() { if (buildCounterColumnDescription < 3) { o.dataType = 'foo'; o.id = 'foo'; - o.labels = buildUnnamed8546(); + o.labels = buildUnnamed8651(); o.lookupDetails = buildLookupDetails(); o.multipleValuesDisallowed = true; o.name = 'foo'; @@ -221,7 +221,7 @@ void checkColumnDescription(api.ColumnDescription o) { o.id!, unittest.equals('foo'), ); - checkUnnamed8546(o.labels!); + checkUnnamed8651(o.labels!); checkLookupDetails(o.lookupDetails!); unittest.expect(o.multipleValuesDisallowed!, unittest.isTrue); unittest.expect( @@ -304,12 +304,12 @@ void checkLabeledItem(api.LabeledItem o) { buildCounterLabeledItem--; } -core.List buildUnnamed8547() => [ +core.List buildUnnamed8652() => [ buildRow(), buildRow(), ]; -void checkUnnamed8547(core.List o) { +void checkUnnamed8652(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -321,7 +321,7 @@ api.ListRowsResponse buildListRowsResponse() { buildCounterListRowsResponse++; if (buildCounterListRowsResponse < 3) { o.nextPageToken = 'foo'; - o.rows = buildUnnamed8547(); + o.rows = buildUnnamed8652(); } buildCounterListRowsResponse--; return o; @@ -334,17 +334,17 @@ void checkListRowsResponse(api.ListRowsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8547(o.rows!); + checkUnnamed8652(o.rows!); } buildCounterListRowsResponse--; } -core.List buildUnnamed8548() => [ +core.List buildUnnamed8653() => [ buildTable(), buildTable(), ]; -void checkUnnamed8548(core.List o) { +void checkUnnamed8653(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTable(o[0]); checkTable(o[1]); @@ -356,7 +356,7 @@ api.ListTablesResponse buildListTablesResponse() { buildCounterListTablesResponse++; if (buildCounterListTablesResponse < 3) { o.nextPageToken = 'foo'; - o.tables = buildUnnamed8548(); + o.tables = buildUnnamed8653(); } buildCounterListTablesResponse--; return o; @@ -369,17 +369,17 @@ void checkListTablesResponse(api.ListTablesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8548(o.tables!); + checkUnnamed8653(o.tables!); } buildCounterListTablesResponse--; } -core.List buildUnnamed8549() => [ +core.List buildUnnamed8654() => [ buildWorkspace(), buildWorkspace(), ]; -void checkUnnamed8549(core.List o) { +void checkUnnamed8654(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkspace(o[0]); checkWorkspace(o[1]); @@ -391,7 +391,7 @@ api.ListWorkspacesResponse buildListWorkspacesResponse() { buildCounterListWorkspacesResponse++; if (buildCounterListWorkspacesResponse < 3) { o.nextPageToken = 'foo'; - o.workspaces = buildUnnamed8549(); + o.workspaces = buildUnnamed8654(); } buildCounterListWorkspacesResponse--; return o; @@ -404,7 +404,7 @@ void checkListWorkspacesResponse(api.ListWorkspacesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8549(o.workspaces!); + checkUnnamed8654(o.workspaces!); } buildCounterListWorkspacesResponse--; } @@ -458,7 +458,7 @@ void checkRelationshipDetails(api.RelationshipDetails o) { buildCounterRelationshipDetails--; } -core.Map buildUnnamed8550() => { +core.Map buildUnnamed8655() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -471,7 +471,7 @@ core.Map buildUnnamed8550() => { }, }; -void checkUnnamed8550(core.Map o) { +void checkUnnamed8655(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -511,7 +511,7 @@ api.Row buildRow() { o.createTime = 'foo'; o.name = 'foo'; o.updateTime = 'foo'; - o.values = buildUnnamed8550(); + o.values = buildUnnamed8655(); } buildCounterRow--; return o; @@ -532,7 +532,7 @@ void checkRow(api.Row o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed8550(o.values!); + checkUnnamed8655(o.values!); } buildCounterRow--; } @@ -564,23 +564,23 @@ void checkSavedView(api.SavedView o) { buildCounterSavedView--; } -core.List buildUnnamed8551() => [ +core.List buildUnnamed8656() => [ buildColumnDescription(), buildColumnDescription(), ]; -void checkUnnamed8551(core.List o) { +void checkUnnamed8656(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkColumnDescription(o[0]); checkColumnDescription(o[1]); } -core.List buildUnnamed8552() => [ +core.List buildUnnamed8657() => [ buildSavedView(), buildSavedView(), ]; -void checkUnnamed8552(core.List o) { +void checkUnnamed8657(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSavedView(o[0]); checkSavedView(o[1]); @@ -591,11 +591,11 @@ api.Table buildTable() { final o = api.Table(); buildCounterTable++; if (buildCounterTable < 3) { - o.columns = buildUnnamed8551(); + o.columns = buildUnnamed8656(); o.createTime = 'foo'; o.displayName = 'foo'; o.name = 'foo'; - o.savedViews = buildUnnamed8552(); + o.savedViews = buildUnnamed8657(); o.updateTime = 'foo'; } buildCounterTable--; @@ -605,7 +605,7 @@ api.Table buildTable() { void checkTable(api.Table o) { buildCounterTable++; if (buildCounterTable < 3) { - checkUnnamed8551(o.columns!); + checkUnnamed8656(o.columns!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -618,7 +618,7 @@ void checkTable(api.Table o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8552(o.savedViews!); + checkUnnamed8657(o.savedViews!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -656,12 +656,12 @@ void checkUpdateRowRequest(api.UpdateRowRequest o) { buildCounterUpdateRowRequest--; } -core.List buildUnnamed8553() => [ +core.List buildUnnamed8658() => [ buildTable(), buildTable(), ]; -void checkUnnamed8553(core.List o) { +void checkUnnamed8658(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTable(o[0]); checkTable(o[1]); @@ -675,7 +675,7 @@ api.Workspace buildWorkspace() { o.createTime = 'foo'; o.displayName = 'foo'; o.name = 'foo'; - o.tables = buildUnnamed8553(); + o.tables = buildUnnamed8658(); o.updateTime = 'foo'; } buildCounterWorkspace--; @@ -697,7 +697,7 @@ void checkWorkspace(api.Workspace o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8553(o.tables!); + checkUnnamed8658(o.tables!); unittest.expect( o.updateTime!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart b/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart index 1e9ea0211..2d858b95c 100644 --- a/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart +++ b/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8461() => [ +core.List buildUnnamed8562() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed8461(core.List o) { +void checkUnnamed8562(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8461(); + o.auditLogConfigs = buildUnnamed8562(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed8461(o.auditLogConfigs!); + checkUnnamed8562(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed8462() => [ +core.List buildUnnamed8563() => [ 'foo', 'foo', ]; -void checkUnnamed8462(core.List o) { +void checkUnnamed8563(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8462(); + o.exemptedMembers = buildUnnamed8563(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed8462(o.exemptedMembers!); + checkUnnamed8563(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed8463() => [ +core.List buildUnnamed8564() => [ 'foo', 'foo', ]; -void checkUnnamed8463(core.List o) { +void checkUnnamed8564(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8463(); + o.members = buildUnnamed8564(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed8463(o.members!); + checkUnnamed8564(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -364,12 +364,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed8464() => [ +core.List buildUnnamed8565() => [ buildConnection(), buildConnection(), ]; -void checkUnnamed8464(core.List o) { +void checkUnnamed8565(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnection(o[0]); checkConnection(o[1]); @@ -380,7 +380,7 @@ api.ListConnectionsResponse buildListConnectionsResponse() { final o = api.ListConnectionsResponse(); buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - o.connections = buildUnnamed8464(); + o.connections = buildUnnamed8565(); o.nextPageToken = 'foo'; } buildCounterListConnectionsResponse--; @@ -390,7 +390,7 @@ api.ListConnectionsResponse buildListConnectionsResponse() { void checkListConnectionsResponse(api.ListConnectionsResponse o) { buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - checkUnnamed8464(o.connections!); + checkUnnamed8565(o.connections!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -399,23 +399,23 @@ void checkListConnectionsResponse(api.ListConnectionsResponse o) { buildCounterListConnectionsResponse--; } -core.List buildUnnamed8465() => [ +core.List buildUnnamed8566() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed8465(core.List o) { +void checkUnnamed8566(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed8466() => [ +core.List buildUnnamed8567() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed8466(core.List o) { +void checkUnnamed8567(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -426,8 +426,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed8465(); - o.bindings = buildUnnamed8466(); + o.auditConfigs = buildUnnamed8566(); + o.bindings = buildUnnamed8567(); o.etag = 'foo'; o.version = 42; } @@ -438,8 +438,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed8465(o.auditConfigs!); - checkUnnamed8466(o.bindings!); + checkUnnamed8566(o.auditConfigs!); + checkUnnamed8567(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -476,12 +476,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed8467() => [ +core.List buildUnnamed8568() => [ 'foo', 'foo', ]; -void checkUnnamed8467(core.List o) { +void checkUnnamed8568(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -498,7 +498,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8467(); + o.permissions = buildUnnamed8568(); } buildCounterTestIamPermissionsRequest--; return o; @@ -507,17 +507,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed8467(o.permissions!); + checkUnnamed8568(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed8468() => [ +core.List buildUnnamed8569() => [ 'foo', 'foo', ]; -void checkUnnamed8468(core.List o) { +void checkUnnamed8569(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -534,7 +534,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8468(); + o.permissions = buildUnnamed8569(); } buildCounterTestIamPermissionsResponse--; return o; @@ -543,7 +543,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed8468(o.permissions!); + checkUnnamed8569(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart index ccdf0a7d9..778d0a4f0 100644 --- a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart +++ b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart @@ -41,12 +41,12 @@ void checkDeleteEventsResponse(api.DeleteEventsResponse o) { buildCounterDeleteEventsResponse--; } -core.List buildUnnamed8312() => [ +core.List buildUnnamed8401() => [ buildSourceReference(), buildSourceReference(), ]; -void checkUnnamed8312(core.List o) { +void checkUnnamed8401(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceReference(o[0]); checkSourceReference(o[1]); @@ -59,7 +59,7 @@ api.ErrorContext buildErrorContext() { if (buildCounterErrorContext < 3) { o.httpRequest = buildHttpRequestContext(); o.reportLocation = buildSourceLocation(); - o.sourceReferences = buildUnnamed8312(); + o.sourceReferences = buildUnnamed8401(); o.user = 'foo'; } buildCounterErrorContext--; @@ -71,7 +71,7 @@ void checkErrorContext(api.ErrorContext o) { if (buildCounterErrorContext < 3) { checkHttpRequestContext(o.httpRequest!); checkSourceLocation(o.reportLocation!); - checkUnnamed8312(o.sourceReferences!); + checkUnnamed8401(o.sourceReferences!); unittest.expect( o.user!, unittest.equals('foo'), @@ -111,12 +111,12 @@ void checkErrorEvent(api.ErrorEvent o) { buildCounterErrorEvent--; } -core.List buildUnnamed8313() => [ +core.List buildUnnamed8402() => [ buildTrackingIssue(), buildTrackingIssue(), ]; -void checkUnnamed8313(core.List o) { +void checkUnnamed8402(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrackingIssue(o[0]); checkTrackingIssue(o[1]); @@ -130,7 +130,7 @@ api.ErrorGroup buildErrorGroup() { o.groupId = 'foo'; o.name = 'foo'; o.resolutionStatus = 'foo'; - o.trackingIssues = buildUnnamed8313(); + o.trackingIssues = buildUnnamed8402(); } buildCounterErrorGroup--; return o; @@ -151,28 +151,28 @@ void checkErrorGroup(api.ErrorGroup o) { o.resolutionStatus!, unittest.equals('foo'), ); - checkUnnamed8313(o.trackingIssues!); + checkUnnamed8402(o.trackingIssues!); } buildCounterErrorGroup--; } -core.List buildUnnamed8314() => [ +core.List buildUnnamed8403() => [ buildServiceContext(), buildServiceContext(), ]; -void checkUnnamed8314(core.List o) { +void checkUnnamed8403(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceContext(o[0]); checkServiceContext(o[1]); } -core.List buildUnnamed8315() => [ +core.List buildUnnamed8404() => [ buildTimedCount(), buildTimedCount(), ]; -void checkUnnamed8315(core.List o) { +void checkUnnamed8404(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTimedCount(o[0]); checkTimedCount(o[1]); @@ -183,7 +183,7 @@ api.ErrorGroupStats buildErrorGroupStats() { final o = api.ErrorGroupStats(); buildCounterErrorGroupStats++; if (buildCounterErrorGroupStats < 3) { - o.affectedServices = buildUnnamed8314(); + o.affectedServices = buildUnnamed8403(); o.affectedUsersCount = 'foo'; o.count = 'foo'; o.firstSeenTime = 'foo'; @@ -191,7 +191,7 @@ api.ErrorGroupStats buildErrorGroupStats() { o.lastSeenTime = 'foo'; o.numAffectedServices = 42; o.representative = buildErrorEvent(); - o.timedCounts = buildUnnamed8315(); + o.timedCounts = buildUnnamed8404(); } buildCounterErrorGroupStats--; return o; @@ -200,7 +200,7 @@ api.ErrorGroupStats buildErrorGroupStats() { void checkErrorGroupStats(api.ErrorGroupStats o) { buildCounterErrorGroupStats++; if (buildCounterErrorGroupStats < 3) { - checkUnnamed8314(o.affectedServices!); + checkUnnamed8403(o.affectedServices!); unittest.expect( o.affectedUsersCount!, unittest.equals('foo'), @@ -223,7 +223,7 @@ void checkErrorGroupStats(api.ErrorGroupStats o) { unittest.equals(42), ); checkErrorEvent(o.representative!); - checkUnnamed8315(o.timedCounts!); + checkUnnamed8404(o.timedCounts!); } buildCounterErrorGroupStats--; } @@ -275,12 +275,12 @@ void checkHttpRequestContext(api.HttpRequestContext o) { buildCounterHttpRequestContext--; } -core.List buildUnnamed8316() => [ +core.List buildUnnamed8405() => [ buildErrorEvent(), buildErrorEvent(), ]; -void checkUnnamed8316(core.List o) { +void checkUnnamed8405(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorEvent(o[0]); checkErrorEvent(o[1]); @@ -291,7 +291,7 @@ api.ListEventsResponse buildListEventsResponse() { final o = api.ListEventsResponse(); buildCounterListEventsResponse++; if (buildCounterListEventsResponse < 3) { - o.errorEvents = buildUnnamed8316(); + o.errorEvents = buildUnnamed8405(); o.nextPageToken = 'foo'; o.timeRangeBegin = 'foo'; } @@ -302,7 +302,7 @@ api.ListEventsResponse buildListEventsResponse() { void checkListEventsResponse(api.ListEventsResponse o) { buildCounterListEventsResponse++; if (buildCounterListEventsResponse < 3) { - checkUnnamed8316(o.errorEvents!); + checkUnnamed8405(o.errorEvents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -315,12 +315,12 @@ void checkListEventsResponse(api.ListEventsResponse o) { buildCounterListEventsResponse--; } -core.List buildUnnamed8317() => [ +core.List buildUnnamed8406() => [ buildErrorGroupStats(), buildErrorGroupStats(), ]; -void checkUnnamed8317(core.List o) { +void checkUnnamed8406(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorGroupStats(o[0]); checkErrorGroupStats(o[1]); @@ -331,7 +331,7 @@ api.ListGroupStatsResponse buildListGroupStatsResponse() { final o = api.ListGroupStatsResponse(); buildCounterListGroupStatsResponse++; if (buildCounterListGroupStatsResponse < 3) { - o.errorGroupStats = buildUnnamed8317(); + o.errorGroupStats = buildUnnamed8406(); o.nextPageToken = 'foo'; o.timeRangeBegin = 'foo'; } @@ -342,7 +342,7 @@ api.ListGroupStatsResponse buildListGroupStatsResponse() { void checkListGroupStatsResponse(api.ListGroupStatsResponse o) { buildCounterListGroupStatsResponse++; if (buildCounterListGroupStatsResponse < 3) { - checkUnnamed8317(o.errorGroupStats!); + checkUnnamed8406(o.errorGroupStats!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -546,12 +546,12 @@ void checkTrackingIssue(api.TrackingIssue o) { buildCounterTrackingIssue--; } -core.List buildUnnamed8318() => [ +core.List buildUnnamed8407() => [ 'foo', 'foo', ]; -void checkUnnamed8318(core.List o) { +void checkUnnamed8407(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -931,7 +931,7 @@ void main() { final arg_projectName = 'foo'; final arg_alignment = 'foo'; final arg_alignmentTime = 'foo'; - final arg_groupId = buildUnnamed8318(); + final arg_groupId = buildUnnamed8407(); final arg_order = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; diff --git a/generated/googleapis_beta/test/containeranalysis/v1beta1_test.dart b/generated/googleapis_beta/test/containeranalysis/v1beta1_test.dart index ca691e28a..fec021783 100644 --- a/generated/googleapis_beta/test/containeranalysis/v1beta1_test.dart +++ b/generated/googleapis_beta/test/containeranalysis/v1beta1_test.dart @@ -53,12 +53,12 @@ void checkAliasContext(api.AliasContext o) { buildCounterAliasContext--; } -core.List buildUnnamed8410() => [ +core.List buildUnnamed8500() => [ 'foo', 'foo', ]; -void checkUnnamed8410(core.List o) { +void checkUnnamed8500(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -77,7 +77,7 @@ api.Artifact buildArtifact() { if (buildCounterArtifact < 3) { o.checksum = 'foo'; o.id = 'foo'; - o.names = buildUnnamed8410(); + o.names = buildUnnamed8500(); } buildCounterArtifact--; return o; @@ -94,7 +94,7 @@ void checkArtifact(api.Artifact o) { o.id!, unittest.equals('foo'), ); - checkUnnamed8410(o.names!); + checkUnnamed8500(o.names!); } buildCounterArtifact--; } @@ -121,12 +121,12 @@ void checkArtifactHashes(api.ArtifactHashes o) { buildCounterArtifactHashes--; } -core.List buildUnnamed8411() => [ +core.List buildUnnamed8501() => [ 'foo', 'foo', ]; -void checkUnnamed8411(core.List o) { +void checkUnnamed8501(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -143,7 +143,7 @@ api.ArtifactRule buildArtifactRule() { final o = api.ArtifactRule(); buildCounterArtifactRule++; if (buildCounterArtifactRule < 3) { - o.artifactRule = buildUnnamed8411(); + o.artifactRule = buildUnnamed8501(); } buildCounterArtifactRule--; return o; @@ -152,7 +152,7 @@ api.ArtifactRule buildArtifactRule() { void checkArtifactRule(api.ArtifactRule o) { buildCounterArtifactRule++; if (buildCounterArtifactRule < 3) { - checkUnnamed8411(o.artifactRule!); + checkUnnamed8501(o.artifactRule!); } buildCounterArtifactRule--; } @@ -221,12 +221,12 @@ void checkBasis(api.Basis o) { buildCounterBasis--; } -core.Map buildUnnamed8412() => { +core.Map buildUnnamed8502() => { 'x': buildNote(), 'y': buildNote(), }; -void checkUnnamed8412(core.Map o) { +void checkUnnamed8502(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkNote(o['x']!); checkNote(o['y']!); @@ -237,7 +237,7 @@ api.BatchCreateNotesRequest buildBatchCreateNotesRequest() { final o = api.BatchCreateNotesRequest(); buildCounterBatchCreateNotesRequest++; if (buildCounterBatchCreateNotesRequest < 3) { - o.notes = buildUnnamed8412(); + o.notes = buildUnnamed8502(); } buildCounterBatchCreateNotesRequest--; return o; @@ -246,17 +246,17 @@ api.BatchCreateNotesRequest buildBatchCreateNotesRequest() { void checkBatchCreateNotesRequest(api.BatchCreateNotesRequest o) { buildCounterBatchCreateNotesRequest++; if (buildCounterBatchCreateNotesRequest < 3) { - checkUnnamed8412(o.notes!); + checkUnnamed8502(o.notes!); } buildCounterBatchCreateNotesRequest--; } -core.List buildUnnamed8413() => [ +core.List buildUnnamed8503() => [ buildNote(), buildNote(), ]; -void checkUnnamed8413(core.List o) { +void checkUnnamed8503(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNote(o[0]); checkNote(o[1]); @@ -267,7 +267,7 @@ api.BatchCreateNotesResponse buildBatchCreateNotesResponse() { final o = api.BatchCreateNotesResponse(); buildCounterBatchCreateNotesResponse++; if (buildCounterBatchCreateNotesResponse < 3) { - o.notes = buildUnnamed8413(); + o.notes = buildUnnamed8503(); } buildCounterBatchCreateNotesResponse--; return o; @@ -276,17 +276,17 @@ api.BatchCreateNotesResponse buildBatchCreateNotesResponse() { void checkBatchCreateNotesResponse(api.BatchCreateNotesResponse o) { buildCounterBatchCreateNotesResponse++; if (buildCounterBatchCreateNotesResponse < 3) { - checkUnnamed8413(o.notes!); + checkUnnamed8503(o.notes!); } buildCounterBatchCreateNotesResponse--; } -core.List buildUnnamed8414() => [ +core.List buildUnnamed8504() => [ buildOccurrence(), buildOccurrence(), ]; -void checkUnnamed8414(core.List o) { +void checkUnnamed8504(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccurrence(o[0]); checkOccurrence(o[1]); @@ -297,7 +297,7 @@ api.BatchCreateOccurrencesRequest buildBatchCreateOccurrencesRequest() { final o = api.BatchCreateOccurrencesRequest(); buildCounterBatchCreateOccurrencesRequest++; if (buildCounterBatchCreateOccurrencesRequest < 3) { - o.occurrences = buildUnnamed8414(); + o.occurrences = buildUnnamed8504(); } buildCounterBatchCreateOccurrencesRequest--; return o; @@ -306,17 +306,17 @@ api.BatchCreateOccurrencesRequest buildBatchCreateOccurrencesRequest() { void checkBatchCreateOccurrencesRequest(api.BatchCreateOccurrencesRequest o) { buildCounterBatchCreateOccurrencesRequest++; if (buildCounterBatchCreateOccurrencesRequest < 3) { - checkUnnamed8414(o.occurrences!); + checkUnnamed8504(o.occurrences!); } buildCounterBatchCreateOccurrencesRequest--; } -core.List buildUnnamed8415() => [ +core.List buildUnnamed8505() => [ buildOccurrence(), buildOccurrence(), ]; -void checkUnnamed8415(core.List o) { +void checkUnnamed8505(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccurrence(o[0]); checkOccurrence(o[1]); @@ -327,7 +327,7 @@ api.BatchCreateOccurrencesResponse buildBatchCreateOccurrencesResponse() { final o = api.BatchCreateOccurrencesResponse(); buildCounterBatchCreateOccurrencesResponse++; if (buildCounterBatchCreateOccurrencesResponse < 3) { - o.occurrences = buildUnnamed8415(); + o.occurrences = buildUnnamed8505(); } buildCounterBatchCreateOccurrencesResponse--; return o; @@ -336,17 +336,17 @@ api.BatchCreateOccurrencesResponse buildBatchCreateOccurrencesResponse() { void checkBatchCreateOccurrencesResponse(api.BatchCreateOccurrencesResponse o) { buildCounterBatchCreateOccurrencesResponse++; if (buildCounterBatchCreateOccurrencesResponse < 3) { - checkUnnamed8415(o.occurrences!); + checkUnnamed8505(o.occurrences!); } buildCounterBatchCreateOccurrencesResponse--; } -core.List buildUnnamed8416() => [ +core.List buildUnnamed8506() => [ 'foo', 'foo', ]; -void checkUnnamed8416(core.List o) { +void checkUnnamed8506(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -364,7 +364,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8416(); + o.members = buildUnnamed8506(); o.role = 'foo'; } buildCounterBinding--; @@ -375,7 +375,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed8416(o.members!); + checkUnnamed8506(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -408,12 +408,12 @@ void checkBuild(api.Build o) { buildCounterBuild--; } -core.Map buildUnnamed8417() => { +core.Map buildUnnamed8507() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8417(core.Map o) { +void checkUnnamed8507(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -425,23 +425,23 @@ void checkUnnamed8417(core.Map o) { ); } -core.List buildUnnamed8418() => [ +core.List buildUnnamed8508() => [ buildArtifact(), buildArtifact(), ]; -void checkUnnamed8418(core.List o) { +void checkUnnamed8508(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArtifact(o[0]); checkArtifact(o[1]); } -core.List buildUnnamed8419() => [ +core.List buildUnnamed8509() => [ buildCommand(), buildCommand(), ]; -void checkUnnamed8419(core.List o) { +void checkUnnamed8509(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommand(o[0]); checkCommand(o[1]); @@ -452,10 +452,10 @@ api.BuildProvenance buildBuildProvenance() { final o = api.BuildProvenance(); buildCounterBuildProvenance++; if (buildCounterBuildProvenance < 3) { - o.buildOptions = buildUnnamed8417(); + o.buildOptions = buildUnnamed8507(); o.builderVersion = 'foo'; - o.builtArtifacts = buildUnnamed8418(); - o.commands = buildUnnamed8419(); + o.builtArtifacts = buildUnnamed8508(); + o.commands = buildUnnamed8509(); o.createTime = 'foo'; o.creator = 'foo'; o.endTime = 'foo'; @@ -473,13 +473,13 @@ api.BuildProvenance buildBuildProvenance() { void checkBuildProvenance(api.BuildProvenance o) { buildCounterBuildProvenance++; if (buildCounterBuildProvenance < 3) { - checkUnnamed8417(o.buildOptions!); + checkUnnamed8507(o.buildOptions!); unittest.expect( o.builderVersion!, unittest.equals('foo'), ); - checkUnnamed8418(o.builtArtifacts!); - checkUnnamed8419(o.commands!); + checkUnnamed8508(o.builtArtifacts!); + checkUnnamed8509(o.commands!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -554,12 +554,12 @@ void checkBuildSignature(api.BuildSignature o) { buildCounterBuildSignature--; } -core.Map buildUnnamed8420() => { +core.Map buildUnnamed8510() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8420(core.Map o) { +void checkUnnamed8510(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -576,7 +576,7 @@ api.ByProducts buildByProducts() { final o = api.ByProducts(); buildCounterByProducts++; if (buildCounterByProducts < 3) { - o.customValues = buildUnnamed8420(); + o.customValues = buildUnnamed8510(); } buildCounterByProducts--; return o; @@ -585,7 +585,7 @@ api.ByProducts buildByProducts() { void checkByProducts(api.ByProducts o) { buildCounterByProducts++; if (buildCounterByProducts < 3) { - checkUnnamed8420(o.customValues!); + checkUnnamed8510(o.customValues!); } buildCounterByProducts--; } @@ -688,12 +688,12 @@ void checkCloudRepoSourceContext(api.CloudRepoSourceContext o) { buildCounterCloudRepoSourceContext--; } -core.List buildUnnamed8421() => [ +core.List buildUnnamed8511() => [ 'foo', 'foo', ]; -void checkUnnamed8421(core.List o) { +void checkUnnamed8511(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -705,12 +705,12 @@ void checkUnnamed8421(core.List o) { ); } -core.List buildUnnamed8422() => [ +core.List buildUnnamed8512() => [ 'foo', 'foo', ]; -void checkUnnamed8422(core.List o) { +void checkUnnamed8512(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -722,12 +722,12 @@ void checkUnnamed8422(core.List o) { ); } -core.List buildUnnamed8423() => [ +core.List buildUnnamed8513() => [ 'foo', 'foo', ]; -void checkUnnamed8423(core.List o) { +void checkUnnamed8513(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -744,12 +744,12 @@ api.Command buildCommand() { final o = api.Command(); buildCounterCommand++; if (buildCounterCommand < 3) { - o.args = buildUnnamed8421(); + o.args = buildUnnamed8511(); o.dir = 'foo'; - o.env = buildUnnamed8422(); + o.env = buildUnnamed8512(); o.id = 'foo'; o.name = 'foo'; - o.waitFor = buildUnnamed8423(); + o.waitFor = buildUnnamed8513(); } buildCounterCommand--; return o; @@ -758,12 +758,12 @@ api.Command buildCommand() { void checkCommand(api.Command o) { buildCounterCommand++; if (buildCounterCommand < 3) { - checkUnnamed8421(o.args!); + checkUnnamed8511(o.args!); unittest.expect( o.dir!, unittest.equals('foo'), ); - checkUnnamed8422(o.env!); + checkUnnamed8512(o.env!); unittest.expect( o.id!, unittest.equals('foo'), @@ -772,17 +772,17 @@ void checkCommand(api.Command o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8423(o.waitFor!); + checkUnnamed8513(o.waitFor!); } buildCounterCommand--; } -core.List buildUnnamed8424() => [ +core.List buildUnnamed8514() => [ 'foo', 'foo', ]; -void checkUnnamed8424(core.List o) { +void checkUnnamed8514(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -799,7 +799,7 @@ api.Deployable buildDeployable() { final o = api.Deployable(); buildCounterDeployable++; if (buildCounterDeployable < 3) { - o.resourceUri = buildUnnamed8424(); + o.resourceUri = buildUnnamed8514(); } buildCounterDeployable--; return o; @@ -808,17 +808,17 @@ api.Deployable buildDeployable() { void checkDeployable(api.Deployable o) { buildCounterDeployable++; if (buildCounterDeployable < 3) { - checkUnnamed8424(o.resourceUri!); + checkUnnamed8514(o.resourceUri!); } buildCounterDeployable--; } -core.List buildUnnamed8425() => [ +core.List buildUnnamed8515() => [ 'foo', 'foo', ]; -void checkUnnamed8425(core.List o) { +void checkUnnamed8515(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -839,7 +839,7 @@ api.Deployment buildDeployment() { o.config = 'foo'; o.deployTime = 'foo'; o.platform = 'foo'; - o.resourceUri = buildUnnamed8425(); + o.resourceUri = buildUnnamed8515(); o.undeployTime = 'foo'; o.userEmail = 'foo'; } @@ -866,7 +866,7 @@ void checkDeployment(api.Deployment o) { o.platform!, unittest.equals('foo'), ); - checkUnnamed8425(o.resourceUri!); + checkUnnamed8515(o.resourceUri!); unittest.expect( o.undeployTime!, unittest.equals('foo'), @@ -879,12 +879,12 @@ void checkDeployment(api.Deployment o) { buildCounterDeployment--; } -core.List buildUnnamed8426() => [ +core.List buildUnnamed8516() => [ buildLayer(), buildLayer(), ]; -void checkUnnamed8426(core.List o) { +void checkUnnamed8516(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLayer(o[0]); checkLayer(o[1]); @@ -898,7 +898,7 @@ api.Derived buildDerived() { o.baseResourceUrl = 'foo'; o.distance = 42; o.fingerprint = buildFingerprint(); - o.layerInfo = buildUnnamed8426(); + o.layerInfo = buildUnnamed8516(); } buildCounterDerived--; return o; @@ -916,7 +916,7 @@ void checkDerived(api.Derived o) { unittest.equals(42), ); checkFingerprint(o.fingerprint!); - checkUnnamed8426(o.layerInfo!); + checkUnnamed8516(o.layerInfo!); } buildCounterDerived--; } @@ -1105,6 +1105,123 @@ void checkDistribution(api.Distribution o) { buildCounterDistribution--; } +core.int buildCounterDocumentNote = 0; +api.DocumentNote buildDocumentNote() { + final o = api.DocumentNote(); + buildCounterDocumentNote++; + if (buildCounterDocumentNote < 3) { + o.dataLicence = 'foo'; + o.spdxVersion = 'foo'; + } + buildCounterDocumentNote--; + return o; +} + +void checkDocumentNote(api.DocumentNote o) { + buildCounterDocumentNote++; + if (buildCounterDocumentNote < 3) { + unittest.expect( + o.dataLicence!, + unittest.equals('foo'), + ); + unittest.expect( + o.spdxVersion!, + unittest.equals('foo'), + ); + } + buildCounterDocumentNote--; +} + +core.List buildUnnamed8517() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8517(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed8518() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8518(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterDocumentOccurrence = 0; +api.DocumentOccurrence buildDocumentOccurrence() { + final o = api.DocumentOccurrence(); + buildCounterDocumentOccurrence++; + if (buildCounterDocumentOccurrence < 3) { + o.createTime = 'foo'; + o.creatorComment = 'foo'; + o.creators = buildUnnamed8517(); + o.documentComment = 'foo'; + o.externalDocumentRefs = buildUnnamed8518(); + o.id = 'foo'; + o.licenseListVersion = 'foo'; + o.namespace = 'foo'; + o.title = 'foo'; + } + buildCounterDocumentOccurrence--; + return o; +} + +void checkDocumentOccurrence(api.DocumentOccurrence o) { + buildCounterDocumentOccurrence++; + if (buildCounterDocumentOccurrence < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.creatorComment!, + unittest.equals('foo'), + ); + checkUnnamed8517(o.creators!); + unittest.expect( + o.documentComment!, + unittest.equals('foo'), + ); + checkUnnamed8518(o.externalDocumentRefs!); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + unittest.expect( + o.licenseListVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.namespace!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + } + buildCounterDocumentOccurrence--; +} + core.int buildCounterEmpty = 0; api.Empty buildEmpty() { final o = api.Empty(); @@ -1120,12 +1237,12 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.Map buildUnnamed8427() => { +core.Map buildUnnamed8519() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8427(core.Map o) { +void checkUnnamed8519(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1142,7 +1259,7 @@ api.Environment buildEnvironment() { final o = api.Environment(); buildCounterEnvironment++; if (buildCounterEnvironment < 3) { - o.customValues = buildUnnamed8427(); + o.customValues = buildUnnamed8519(); } buildCounterEnvironment--; return o; @@ -1151,7 +1268,7 @@ api.Environment buildEnvironment() { void checkEnvironment(api.Environment o) { buildCounterEnvironment++; if (buildCounterEnvironment < 3) { - checkUnnamed8427(o.customValues!); + checkUnnamed8519(o.customValues!); } buildCounterEnvironment--; } @@ -1193,12 +1310,49 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed8428() => [ +core.int buildCounterExternalRef = 0; +api.ExternalRef buildExternalRef() { + final o = api.ExternalRef(); + buildCounterExternalRef++; + if (buildCounterExternalRef < 3) { + o.category = 'foo'; + o.comment = 'foo'; + o.locator = 'foo'; + o.type = 'foo'; + } + buildCounterExternalRef--; + return o; +} + +void checkExternalRef(api.ExternalRef o) { + buildCounterExternalRef++; + if (buildCounterExternalRef < 3) { + unittest.expect( + o.category!, + unittest.equals('foo'), + ); + unittest.expect( + o.comment!, + unittest.equals('foo'), + ); + unittest.expect( + o.locator!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterExternalRef--; +} + +core.List buildUnnamed8520() => [ buildHash(), buildHash(), ]; -void checkUnnamed8428(core.List o) { +void checkUnnamed8520(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHash(o[0]); checkHash(o[1]); @@ -1209,7 +1363,7 @@ api.FileHashes buildFileHashes() { final o = api.FileHashes(); buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - o.fileHash = buildUnnamed8428(); + o.fileHash = buildUnnamed8520(); } buildCounterFileHashes--; return o; @@ -1218,17 +1372,167 @@ api.FileHashes buildFileHashes() { void checkFileHashes(api.FileHashes o) { buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - checkUnnamed8428(o.fileHash!); + checkUnnamed8520(o.fileHash!); } buildCounterFileHashes--; } -core.List buildUnnamed8429() => [ +core.List buildUnnamed8521() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8521(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterFileNote = 0; +api.FileNote buildFileNote() { + final o = api.FileNote(); + buildCounterFileNote++; + if (buildCounterFileNote < 3) { + o.checksum = buildUnnamed8521(); + o.fileType = 'foo'; + o.title = 'foo'; + } + buildCounterFileNote--; + return o; +} + +void checkFileNote(api.FileNote o) { + buildCounterFileNote++; + if (buildCounterFileNote < 3) { + checkUnnamed8521(o.checksum!); + unittest.expect( + o.fileType!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + } + buildCounterFileNote--; +} + +core.List buildUnnamed8522() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8522(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed8523() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8523(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed8524() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8524(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterFileOccurrence = 0; +api.FileOccurrence buildFileOccurrence() { + final o = api.FileOccurrence(); + buildCounterFileOccurrence++; + if (buildCounterFileOccurrence < 3) { + o.attributions = buildUnnamed8522(); + o.comment = 'foo'; + o.contributors = buildUnnamed8523(); + o.copyright = 'foo'; + o.filesLicenseInfo = buildUnnamed8524(); + o.id = 'foo'; + o.licenseComments = 'foo'; + o.licenseConcluded = 'foo'; + o.notice = 'foo'; + } + buildCounterFileOccurrence--; + return o; +} + +void checkFileOccurrence(api.FileOccurrence o) { + buildCounterFileOccurrence++; + if (buildCounterFileOccurrence < 3) { + checkUnnamed8522(o.attributions!); + unittest.expect( + o.comment!, + unittest.equals('foo'), + ); + checkUnnamed8523(o.contributors!); + unittest.expect( + o.copyright!, + unittest.equals('foo'), + ); + checkUnnamed8524(o.filesLicenseInfo!); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + unittest.expect( + o.licenseComments!, + unittest.equals('foo'), + ); + unittest.expect( + o.licenseConcluded!, + unittest.equals('foo'), + ); + unittest.expect( + o.notice!, + unittest.equals('foo'), + ); + } + buildCounterFileOccurrence--; +} + +core.List buildUnnamed8525() => [ 'foo', 'foo', ]; -void checkUnnamed8429(core.List o) { +void checkUnnamed8525(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1246,7 +1550,7 @@ api.Fingerprint buildFingerprint() { buildCounterFingerprint++; if (buildCounterFingerprint < 3) { o.v1Name = 'foo'; - o.v2Blob = buildUnnamed8429(); + o.v2Blob = buildUnnamed8525(); o.v2Name = 'foo'; } buildCounterFingerprint--; @@ -1260,7 +1564,7 @@ void checkFingerprint(api.Fingerprint o) { o.v1Name!, unittest.equals('foo'), ); - checkUnnamed8429(o.v2Blob!); + checkUnnamed8525(o.v2Blob!); unittest.expect( o.v2Name!, unittest.equals('foo'), @@ -1303,12 +1607,12 @@ void checkFixableTotalByDigest(api.FixableTotalByDigest o) { buildCounterFixableTotalByDigest--; } -core.List buildUnnamed8430() => [ +core.List buildUnnamed8526() => [ buildSignature(), buildSignature(), ]; -void checkUnnamed8430(core.List o) { +void checkUnnamed8526(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSignature(o[0]); checkSignature(o[1]); @@ -1321,7 +1625,7 @@ api.GenericSignedAttestation buildGenericSignedAttestation() { if (buildCounterGenericSignedAttestation < 3) { o.contentType = 'foo'; o.serializedPayload = 'foo'; - o.signatures = buildUnnamed8430(); + o.signatures = buildUnnamed8526(); } buildCounterGenericSignedAttestation--; return o; @@ -1338,7 +1642,7 @@ void checkGenericSignedAttestation(api.GenericSignedAttestation o) { o.serializedPayload!, unittest.equals('foo'), ); - checkUnnamed8430(o.signatures!); + checkUnnamed8526(o.signatures!); } buildCounterGenericSignedAttestation--; } @@ -1583,12 +1887,12 @@ void checkGrafeasV1beta1IntotoArtifact(api.GrafeasV1beta1IntotoArtifact o) { buildCounterGrafeasV1beta1IntotoArtifact--; } -core.List buildUnnamed8431() => [ +core.List buildUnnamed8527() => [ buildGrafeasV1beta1IntotoSignature(), buildGrafeasV1beta1IntotoSignature(), ]; -void checkUnnamed8431(core.List o) { +void checkUnnamed8527(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGrafeasV1beta1IntotoSignature(o[0]); checkGrafeasV1beta1IntotoSignature(o[1]); @@ -1599,7 +1903,7 @@ api.GrafeasV1beta1IntotoDetails buildGrafeasV1beta1IntotoDetails() { final o = api.GrafeasV1beta1IntotoDetails(); buildCounterGrafeasV1beta1IntotoDetails++; if (buildCounterGrafeasV1beta1IntotoDetails < 3) { - o.signatures = buildUnnamed8431(); + o.signatures = buildUnnamed8527(); o.signed = buildLink(); } buildCounterGrafeasV1beta1IntotoDetails--; @@ -1609,7 +1913,7 @@ api.GrafeasV1beta1IntotoDetails buildGrafeasV1beta1IntotoDetails() { void checkGrafeasV1beta1IntotoDetails(api.GrafeasV1beta1IntotoDetails o) { buildCounterGrafeasV1beta1IntotoDetails++; if (buildCounterGrafeasV1beta1IntotoDetails < 3) { - checkUnnamed8431(o.signatures!); + checkUnnamed8527(o.signatures!); checkLink(o.signed!); } buildCounterGrafeasV1beta1IntotoDetails--; @@ -1661,23 +1965,23 @@ void checkGrafeasV1beta1PackageDetails(api.GrafeasV1beta1PackageDetails o) { buildCounterGrafeasV1beta1PackageDetails--; } -core.List buildUnnamed8432() => [ +core.List buildUnnamed8528() => [ buildPackageIssue(), buildPackageIssue(), ]; -void checkUnnamed8432(core.List o) { +void checkUnnamed8528(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackageIssue(o[0]); checkPackageIssue(o[1]); } -core.List buildUnnamed8433() => [ +core.List buildUnnamed8529() => [ buildRelatedUrl(), buildRelatedUrl(), ]; -void checkUnnamed8433(core.List o) { +void checkUnnamed8529(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelatedUrl(o[0]); checkRelatedUrl(o[1]); @@ -1692,8 +1996,8 @@ api.GrafeasV1beta1VulnerabilityDetails o.cvssScore = 42.0; o.effectiveSeverity = 'foo'; o.longDescription = 'foo'; - o.packageIssue = buildUnnamed8432(); - o.relatedUrls = buildUnnamed8433(); + o.packageIssue = buildUnnamed8528(); + o.relatedUrls = buildUnnamed8529(); o.severity = 'foo'; o.shortDescription = 'foo'; o.type = 'foo'; @@ -1718,8 +2022,8 @@ void checkGrafeasV1beta1VulnerabilityDetails( o.longDescription!, unittest.equals('foo'), ); - checkUnnamed8432(o.packageIssue!); - checkUnnamed8433(o.relatedUrls!); + checkUnnamed8528(o.packageIssue!); + checkUnnamed8529(o.relatedUrls!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -1785,12 +2089,12 @@ void checkHint(api.Hint o) { buildCounterHint--; } -core.List buildUnnamed8434() => [ +core.List buildUnnamed8530() => [ 'foo', 'foo', ]; -void checkUnnamed8434(core.List o) { +void checkUnnamed8530(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1802,34 +2106,34 @@ void checkUnnamed8434(core.List o) { ); } -core.List buildUnnamed8435() => [ +core.List buildUnnamed8531() => [ buildArtifactRule(), buildArtifactRule(), ]; -void checkUnnamed8435(core.List o) { +void checkUnnamed8531(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArtifactRule(o[0]); checkArtifactRule(o[1]); } -core.List buildUnnamed8436() => [ +core.List buildUnnamed8532() => [ buildArtifactRule(), buildArtifactRule(), ]; -void checkUnnamed8436(core.List o) { +void checkUnnamed8532(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArtifactRule(o[0]); checkArtifactRule(o[1]); } -core.List buildUnnamed8437() => [ +core.List buildUnnamed8533() => [ buildSigningKey(), buildSigningKey(), ]; -void checkUnnamed8437(core.List o) { +void checkUnnamed8533(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSigningKey(o[0]); checkSigningKey(o[1]); @@ -1840,10 +2144,10 @@ api.InToto buildInToto() { final o = api.InToto(); buildCounterInToto++; if (buildCounterInToto < 3) { - o.expectedCommand = buildUnnamed8434(); - o.expectedMaterials = buildUnnamed8435(); - o.expectedProducts = buildUnnamed8436(); - o.signingKeys = buildUnnamed8437(); + o.expectedCommand = buildUnnamed8530(); + o.expectedMaterials = buildUnnamed8531(); + o.expectedProducts = buildUnnamed8532(); + o.signingKeys = buildUnnamed8533(); o.stepName = 'foo'; o.threshold = 'foo'; } @@ -1854,10 +2158,10 @@ api.InToto buildInToto() { void checkInToto(api.InToto o) { buildCounterInToto++; if (buildCounterInToto < 3) { - checkUnnamed8434(o.expectedCommand!); - checkUnnamed8435(o.expectedMaterials!); - checkUnnamed8436(o.expectedProducts!); - checkUnnamed8437(o.signingKeys!); + checkUnnamed8530(o.expectedCommand!); + checkUnnamed8531(o.expectedMaterials!); + checkUnnamed8532(o.expectedProducts!); + checkUnnamed8533(o.signingKeys!); unittest.expect( o.stepName!, unittest.equals('foo'), @@ -1870,12 +2174,12 @@ void checkInToto(api.InToto o) { buildCounterInToto--; } -core.List buildUnnamed8438() => [ +core.List buildUnnamed8534() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8438(core.List o) { +void checkUnnamed8534(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1886,7 +2190,7 @@ api.Installation buildInstallation() { final o = api.Installation(); buildCounterInstallation++; if (buildCounterInstallation < 3) { - o.location = buildUnnamed8438(); + o.location = buildUnnamed8534(); o.name = 'foo'; } buildCounterInstallation--; @@ -1896,7 +2200,7 @@ api.Installation buildInstallation() { void checkInstallation(api.Installation o) { buildCounterInstallation++; if (buildCounterInstallation < 3) { - checkUnnamed8438(o.location!); + checkUnnamed8534(o.location!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1959,12 +2263,12 @@ void checkLayer(api.Layer o) { buildCounterLayer--; } -core.List buildUnnamed8439() => [ +core.List buildUnnamed8535() => [ 'foo', 'foo', ]; -void checkUnnamed8439(core.List o) { +void checkUnnamed8535(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1976,23 +2280,23 @@ void checkUnnamed8439(core.List o) { ); } -core.List buildUnnamed8440() => [ +core.List buildUnnamed8536() => [ buildGrafeasV1beta1IntotoArtifact(), buildGrafeasV1beta1IntotoArtifact(), ]; -void checkUnnamed8440(core.List o) { +void checkUnnamed8536(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGrafeasV1beta1IntotoArtifact(o[0]); checkGrafeasV1beta1IntotoArtifact(o[1]); } -core.List buildUnnamed8441() => [ +core.List buildUnnamed8537() => [ buildGrafeasV1beta1IntotoArtifact(), buildGrafeasV1beta1IntotoArtifact(), ]; -void checkUnnamed8441(core.List o) { +void checkUnnamed8537(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGrafeasV1beta1IntotoArtifact(o[0]); checkGrafeasV1beta1IntotoArtifact(o[1]); @@ -2004,10 +2308,10 @@ api.Link buildLink() { buildCounterLink++; if (buildCounterLink < 3) { o.byproducts = buildByProducts(); - o.command = buildUnnamed8439(); + o.command = buildUnnamed8535(); o.environment = buildEnvironment(); - o.materials = buildUnnamed8440(); - o.products = buildUnnamed8441(); + o.materials = buildUnnamed8536(); + o.products = buildUnnamed8537(); } buildCounterLink--; return o; @@ -2017,20 +2321,20 @@ void checkLink(api.Link o) { buildCounterLink++; if (buildCounterLink < 3) { checkByProducts(o.byproducts!); - checkUnnamed8439(o.command!); + checkUnnamed8535(o.command!); checkEnvironment(o.environment!); - checkUnnamed8440(o.materials!); - checkUnnamed8441(o.products!); + checkUnnamed8536(o.materials!); + checkUnnamed8537(o.products!); } buildCounterLink--; } -core.List buildUnnamed8442() => [ +core.List buildUnnamed8538() => [ buildOccurrence(), buildOccurrence(), ]; -void checkUnnamed8442(core.List o) { +void checkUnnamed8538(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccurrence(o[0]); checkOccurrence(o[1]); @@ -2042,7 +2346,7 @@ api.ListNoteOccurrencesResponse buildListNoteOccurrencesResponse() { buildCounterListNoteOccurrencesResponse++; if (buildCounterListNoteOccurrencesResponse < 3) { o.nextPageToken = 'foo'; - o.occurrences = buildUnnamed8442(); + o.occurrences = buildUnnamed8538(); } buildCounterListNoteOccurrencesResponse--; return o; @@ -2055,17 +2359,17 @@ void checkListNoteOccurrencesResponse(api.ListNoteOccurrencesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8442(o.occurrences!); + checkUnnamed8538(o.occurrences!); } buildCounterListNoteOccurrencesResponse--; } -core.List buildUnnamed8443() => [ +core.List buildUnnamed8539() => [ buildNote(), buildNote(), ]; -void checkUnnamed8443(core.List o) { +void checkUnnamed8539(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNote(o[0]); checkNote(o[1]); @@ -2077,7 +2381,7 @@ api.ListNotesResponse buildListNotesResponse() { buildCounterListNotesResponse++; if (buildCounterListNotesResponse < 3) { o.nextPageToken = 'foo'; - o.notes = buildUnnamed8443(); + o.notes = buildUnnamed8539(); } buildCounterListNotesResponse--; return o; @@ -2090,17 +2394,17 @@ void checkListNotesResponse(api.ListNotesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8443(o.notes!); + checkUnnamed8539(o.notes!); } buildCounterListNotesResponse--; } -core.List buildUnnamed8444() => [ +core.List buildUnnamed8540() => [ buildOccurrence(), buildOccurrence(), ]; -void checkUnnamed8444(core.List o) { +void checkUnnamed8540(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccurrence(o[0]); checkOccurrence(o[1]); @@ -2112,7 +2416,7 @@ api.ListOccurrencesResponse buildListOccurrencesResponse() { buildCounterListOccurrencesResponse++; if (buildCounterListOccurrencesResponse < 3) { o.nextPageToken = 'foo'; - o.occurrences = buildUnnamed8444(); + o.occurrences = buildUnnamed8540(); } buildCounterListOccurrencesResponse--; return o; @@ -2125,17 +2429,17 @@ void checkListOccurrencesResponse(api.ListOccurrencesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8444(o.occurrences!); + checkUnnamed8540(o.occurrences!); } buildCounterListOccurrencesResponse--; } -core.List buildUnnamed8445() => [ +core.List buildUnnamed8541() => [ buildScanConfig(), buildScanConfig(), ]; -void checkUnnamed8445(core.List o) { +void checkUnnamed8541(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScanConfig(o[0]); checkScanConfig(o[1]); @@ -2147,7 +2451,7 @@ api.ListScanConfigsResponse buildListScanConfigsResponse() { buildCounterListScanConfigsResponse++; if (buildCounterListScanConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.scanConfigs = buildUnnamed8445(); + o.scanConfigs = buildUnnamed8541(); } buildCounterListScanConfigsResponse--; return o; @@ -2160,7 +2464,7 @@ void checkListScanConfigsResponse(api.ListScanConfigsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8445(o.scanConfigs!); + checkUnnamed8541(o.scanConfigs!); } buildCounterListScanConfigsResponse--; } @@ -2194,12 +2498,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed8446() => [ +core.List buildUnnamed8542() => [ 'foo', 'foo', ]; -void checkUnnamed8446(core.List o) { +void checkUnnamed8542(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2211,12 +2515,12 @@ void checkUnnamed8446(core.List o) { ); } -core.List buildUnnamed8447() => [ +core.List buildUnnamed8543() => [ buildRelatedUrl(), buildRelatedUrl(), ]; -void checkUnnamed8447(core.List o) { +void checkUnnamed8543(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelatedUrl(o[0]); checkRelatedUrl(o[1]); @@ -2239,9 +2543,13 @@ api.Note buildNote() { o.longDescription = 'foo'; o.name = 'foo'; o.package = buildPackage(); - o.relatedNoteNames = buildUnnamed8446(); - o.relatedUrl = buildUnnamed8447(); + o.relatedNoteNames = buildUnnamed8542(); + o.relatedUrl = buildUnnamed8543(); + o.sbom = buildDocumentNote(); o.shortDescription = 'foo'; + o.spdxFile = buildFileNote(); + o.spdxPackage = buildPackageNote(); + o.spdxRelationship = buildRelationshipNote(); o.updateTime = 'foo'; o.vulnerability = buildVulnerability(); } @@ -2279,12 +2587,16 @@ void checkNote(api.Note o) { unittest.equals('foo'), ); checkPackage(o.package!); - checkUnnamed8446(o.relatedNoteNames!); - checkUnnamed8447(o.relatedUrl!); + checkUnnamed8542(o.relatedNoteNames!); + checkUnnamed8543(o.relatedUrl!); + checkDocumentNote(o.sbom!); unittest.expect( o.shortDescription!, unittest.equals('foo'), ); + checkFileNote(o.spdxFile!); + checkPackageNote(o.spdxPackage!); + checkRelationshipNote(o.spdxRelationship!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -2312,6 +2624,10 @@ api.Occurrence buildOccurrence() { o.noteName = 'foo'; o.remediation = 'foo'; o.resource = buildResource(); + o.sbom = buildDocumentOccurrence(); + o.spdxFile = buildFileOccurrence(); + o.spdxPackage = buildPackageOccurrence(); + o.spdxRelationship = buildRelationshipOccurrence(); o.updateTime = 'foo'; o.vulnerability = buildGrafeasV1beta1VulnerabilityDetails(); } @@ -2350,6 +2666,10 @@ void checkOccurrence(api.Occurrence o) { unittest.equals('foo'), ); checkResource(o.resource!); + checkDocumentOccurrence(o.sbom!); + checkFileOccurrence(o.spdxFile!); + checkPackageOccurrence(o.spdxPackage!); + checkRelationshipOccurrence(o.spdxRelationship!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -2359,12 +2679,12 @@ void checkOccurrence(api.Occurrence o) { buildCounterOccurrence--; } -core.List buildUnnamed8448() => [ +core.List buildUnnamed8544() => [ buildDistribution(), buildDistribution(), ]; -void checkUnnamed8448(core.List o) { +void checkUnnamed8544(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDistribution(o[0]); checkDistribution(o[1]); @@ -2375,7 +2695,7 @@ api.Package buildPackage() { final o = api.Package(); buildCounterPackage++; if (buildCounterPackage < 3) { - o.distribution = buildUnnamed8448(); + o.distribution = buildUnnamed8544(); o.name = 'foo'; } buildCounterPackage--; @@ -2385,7 +2705,7 @@ api.Package buildPackage() { void checkPackage(api.Package o) { buildCounterPackage++; if (buildCounterPackage < 3) { - checkUnnamed8448(o.distribution!); + checkUnnamed8544(o.distribution!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2400,7 +2720,9 @@ api.PackageIssue buildPackageIssue() { buildCounterPackageIssue++; if (buildCounterPackageIssue < 3) { o.affectedLocation = buildVulnerabilityLocation(); + o.effectiveSeverity = 'foo'; o.fixedLocation = buildVulnerabilityLocation(); + o.packageType = 'foo'; o.severityName = 'foo'; } buildCounterPackageIssue--; @@ -2411,7 +2733,15 @@ void checkPackageIssue(api.PackageIssue o) { buildCounterPackageIssue++; if (buildCounterPackageIssue < 3) { checkVulnerabilityLocation(o.affectedLocation!); + unittest.expect( + o.effectiveSeverity!, + unittest.equals('foo'), + ); checkVulnerabilityLocation(o.fixedLocation!); + unittest.expect( + o.packageType!, + unittest.equals('foo'), + ); unittest.expect( o.severityName!, unittest.equals('foo'), @@ -2420,6 +2750,169 @@ void checkPackageIssue(api.PackageIssue o) { buildCounterPackageIssue--; } +core.List buildUnnamed8545() => [ + buildExternalRef(), + buildExternalRef(), + ]; + +void checkUnnamed8545(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkExternalRef(o[0]); + checkExternalRef(o[1]); +} + +core.List buildUnnamed8546() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8546(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPackageNote = 0; +api.PackageNote buildPackageNote() { + final o = api.PackageNote(); + buildCounterPackageNote++; + if (buildCounterPackageNote < 3) { + o.analyzed = true; + o.attribution = 'foo'; + o.checksum = 'foo'; + o.copyright = 'foo'; + o.detailedDescription = 'foo'; + o.downloadLocation = 'foo'; + o.externalRefs = buildUnnamed8545(); + o.filesLicenseInfo = buildUnnamed8546(); + o.homePage = 'foo'; + o.licenseDeclared = 'foo'; + o.originator = 'foo'; + o.summaryDescription = 'foo'; + o.supplier = 'foo'; + o.title = 'foo'; + o.verificationCode = 'foo'; + o.version = 'foo'; + } + buildCounterPackageNote--; + return o; +} + +void checkPackageNote(api.PackageNote o) { + buildCounterPackageNote++; + if (buildCounterPackageNote < 3) { + unittest.expect(o.analyzed!, unittest.isTrue); + unittest.expect( + o.attribution!, + unittest.equals('foo'), + ); + unittest.expect( + o.checksum!, + unittest.equals('foo'), + ); + unittest.expect( + o.copyright!, + unittest.equals('foo'), + ); + unittest.expect( + o.detailedDescription!, + unittest.equals('foo'), + ); + unittest.expect( + o.downloadLocation!, + unittest.equals('foo'), + ); + checkUnnamed8545(o.externalRefs!); + checkUnnamed8546(o.filesLicenseInfo!); + unittest.expect( + o.homePage!, + unittest.equals('foo'), + ); + unittest.expect( + o.licenseDeclared!, + unittest.equals('foo'), + ); + unittest.expect( + o.originator!, + unittest.equals('foo'), + ); + unittest.expect( + o.summaryDescription!, + unittest.equals('foo'), + ); + unittest.expect( + o.supplier!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + unittest.expect( + o.verificationCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.version!, + unittest.equals('foo'), + ); + } + buildCounterPackageNote--; +} + +core.int buildCounterPackageOccurrence = 0; +api.PackageOccurrence buildPackageOccurrence() { + final o = api.PackageOccurrence(); + buildCounterPackageOccurrence++; + if (buildCounterPackageOccurrence < 3) { + o.comment = 'foo'; + o.filename = 'foo'; + o.id = 'foo'; + o.licenseComments = 'foo'; + o.licenseConcluded = 'foo'; + o.sourceInfo = 'foo'; + } + buildCounterPackageOccurrence--; + return o; +} + +void checkPackageOccurrence(api.PackageOccurrence o) { + buildCounterPackageOccurrence++; + if (buildCounterPackageOccurrence < 3) { + unittest.expect( + o.comment!, + unittest.equals('foo'), + ); + unittest.expect( + o.filename!, + unittest.equals('foo'), + ); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + unittest.expect( + o.licenseComments!, + unittest.equals('foo'), + ); + unittest.expect( + o.licenseConcluded!, + unittest.equals('foo'), + ); + unittest.expect( + o.sourceInfo!, + unittest.equals('foo'), + ); + } + buildCounterPackageOccurrence--; +} + core.int buildCounterPgpSignedAttestation = 0; api.PgpSignedAttestation buildPgpSignedAttestation() { final o = api.PgpSignedAttestation(); @@ -2452,12 +2945,12 @@ void checkPgpSignedAttestation(api.PgpSignedAttestation o) { buildCounterPgpSignedAttestation--; } -core.List buildUnnamed8449() => [ +core.List buildUnnamed8547() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed8449(core.List o) { +void checkUnnamed8547(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2468,7 +2961,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed8449(); + o.bindings = buildUnnamed8547(); o.etag = 'foo'; o.version = 42; } @@ -2479,7 +2972,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed8449(o.bindings!); + checkUnnamed8547(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2546,6 +3039,58 @@ void checkRelatedUrl(api.RelatedUrl o) { buildCounterRelatedUrl--; } +core.int buildCounterRelationshipNote = 0; +api.RelationshipNote buildRelationshipNote() { + final o = api.RelationshipNote(); + buildCounterRelationshipNote++; + if (buildCounterRelationshipNote < 3) {} + buildCounterRelationshipNote--; + return o; +} + +void checkRelationshipNote(api.RelationshipNote o) { + buildCounterRelationshipNote++; + if (buildCounterRelationshipNote < 3) {} + buildCounterRelationshipNote--; +} + +core.int buildCounterRelationshipOccurrence = 0; +api.RelationshipOccurrence buildRelationshipOccurrence() { + final o = api.RelationshipOccurrence(); + buildCounterRelationshipOccurrence++; + if (buildCounterRelationshipOccurrence < 3) { + o.comment = 'foo'; + o.source = 'foo'; + o.target = 'foo'; + o.type = 'foo'; + } + buildCounterRelationshipOccurrence--; + return o; +} + +void checkRelationshipOccurrence(api.RelationshipOccurrence o) { + buildCounterRelationshipOccurrence++; + if (buildCounterRelationshipOccurrence < 3) { + unittest.expect( + o.comment!, + unittest.equals('foo'), + ); + unittest.expect( + o.source!, + unittest.equals('foo'), + ); + unittest.expect( + o.target!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterRelationshipOccurrence--; +} + core.int buildCounterRepoId = 0; api.RepoId buildRepoId() { final o = api.RepoId(); @@ -2721,23 +3266,23 @@ void checkSigningKey(api.SigningKey o) { buildCounterSigningKey--; } -core.List buildUnnamed8450() => [ +core.List buildUnnamed8548() => [ buildSourceContext(), buildSourceContext(), ]; -void checkUnnamed8450(core.List o) { +void checkUnnamed8548(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceContext(o[0]); checkSourceContext(o[1]); } -core.Map buildUnnamed8451() => { +core.Map buildUnnamed8549() => { 'x': buildFileHashes(), 'y': buildFileHashes(), }; -void checkUnnamed8451(core.Map o) { +void checkUnnamed8549(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFileHashes(o['x']!); checkFileHashes(o['y']!); @@ -2748,10 +3293,10 @@ api.Source buildSource() { final o = api.Source(); buildCounterSource++; if (buildCounterSource < 3) { - o.additionalContexts = buildUnnamed8450(); + o.additionalContexts = buildUnnamed8548(); o.artifactStorageSourceUri = 'foo'; o.context = buildSourceContext(); - o.fileHashes = buildUnnamed8451(); + o.fileHashes = buildUnnamed8549(); } buildCounterSource--; return o; @@ -2760,23 +3305,23 @@ api.Source buildSource() { void checkSource(api.Source o) { buildCounterSource++; if (buildCounterSource < 3) { - checkUnnamed8450(o.additionalContexts!); + checkUnnamed8548(o.additionalContexts!); unittest.expect( o.artifactStorageSourceUri!, unittest.equals('foo'), ); checkSourceContext(o.context!); - checkUnnamed8451(o.fileHashes!); + checkUnnamed8549(o.fileHashes!); } buildCounterSource--; } -core.Map buildUnnamed8452() => { +core.Map buildUnnamed8550() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8452(core.Map o) { +void checkUnnamed8550(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2796,7 +3341,7 @@ api.SourceContext buildSourceContext() { o.cloudRepo = buildCloudRepoSourceContext(); o.gerrit = buildGerritSourceContext(); o.git = buildGitSourceContext(); - o.labels = buildUnnamed8452(); + o.labels = buildUnnamed8550(); } buildCounterSourceContext--; return o; @@ -2808,12 +3353,12 @@ void checkSourceContext(api.SourceContext o) { checkCloudRepoSourceContext(o.cloudRepo!); checkGerritSourceContext(o.gerrit!); checkGitSourceContext(o.git!); - checkUnnamed8452(o.labels!); + checkUnnamed8550(o.labels!); } buildCounterSourceContext--; } -core.Map buildUnnamed8453() => { +core.Map buildUnnamed8551() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2826,7 +3371,7 @@ core.Map buildUnnamed8453() => { }, }; -void checkUnnamed8453(core.Map o) { +void checkUnnamed8551(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2858,15 +3403,15 @@ void checkUnnamed8453(core.Map o) { ); } -core.List> buildUnnamed8454() => [ - buildUnnamed8453(), - buildUnnamed8453(), +core.List> buildUnnamed8552() => [ + buildUnnamed8551(), + buildUnnamed8551(), ]; -void checkUnnamed8454(core.List> o) { +void checkUnnamed8552(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8453(o[0]); - checkUnnamed8453(o[1]); + checkUnnamed8551(o[0]); + checkUnnamed8551(o[1]); } core.int buildCounterStatus = 0; @@ -2875,7 +3420,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8454(); + o.details = buildUnnamed8552(); o.message = 'foo'; } buildCounterStatus--; @@ -2889,7 +3434,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8454(o.details!); + checkUnnamed8552(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2898,12 +3443,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8455() => [ +core.List buildUnnamed8553() => [ 'foo', 'foo', ]; -void checkUnnamed8455(core.List o) { +void checkUnnamed8553(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2920,7 +3465,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8455(); + o.permissions = buildUnnamed8553(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2929,17 +3474,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed8455(o.permissions!); + checkUnnamed8553(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed8456() => [ +core.List buildUnnamed8554() => [ 'foo', 'foo', ]; -void checkUnnamed8456(core.List o) { +void checkUnnamed8554(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2956,7 +3501,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8456(); + o.permissions = buildUnnamed8554(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2965,7 +3510,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed8456(o.permissions!); + checkUnnamed8554(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -3009,23 +3554,23 @@ void checkVersion(api.Version o) { buildCounterVersion--; } -core.List buildUnnamed8457() => [ +core.List buildUnnamed8555() => [ buildDetail(), buildDetail(), ]; -void checkUnnamed8457(core.List o) { +void checkUnnamed8555(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDetail(o[0]); checkDetail(o[1]); } -core.List buildUnnamed8458() => [ +core.List buildUnnamed8556() => [ buildWindowsDetail(), buildWindowsDetail(), ]; -void checkUnnamed8458(core.List o) { +void checkUnnamed8556(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWindowsDetail(o[0]); checkWindowsDetail(o[1]); @@ -3038,10 +3583,10 @@ api.Vulnerability buildVulnerability() { if (buildCounterVulnerability < 3) { o.cvssScore = 42.0; o.cvssV3 = buildCVSSv3(); - o.details = buildUnnamed8457(); + o.details = buildUnnamed8555(); o.severity = 'foo'; o.sourceUpdateTime = 'foo'; - o.windowsDetails = buildUnnamed8458(); + o.windowsDetails = buildUnnamed8556(); } buildCounterVulnerability--; return o; @@ -3055,7 +3600,7 @@ void checkVulnerability(api.Vulnerability o) { unittest.equals(42.0), ); checkCVSSv3(o.cvssV3!); - checkUnnamed8457(o.details!); + checkUnnamed8555(o.details!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -3064,7 +3609,7 @@ void checkVulnerability(api.Vulnerability o) { o.sourceUpdateTime!, unittest.equals('foo'), ); - checkUnnamed8458(o.windowsDetails!); + checkUnnamed8556(o.windowsDetails!); } buildCounterVulnerability--; } @@ -3098,12 +3643,12 @@ void checkVulnerabilityLocation(api.VulnerabilityLocation o) { buildCounterVulnerabilityLocation--; } -core.List buildUnnamed8459() => [ +core.List buildUnnamed8557() => [ buildFixableTotalByDigest(), buildFixableTotalByDigest(), ]; -void checkUnnamed8459(core.List o) { +void checkUnnamed8557(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFixableTotalByDigest(o[0]); checkFixableTotalByDigest(o[1]); @@ -3114,7 +3659,7 @@ api.VulnerabilityOccurrencesSummary buildVulnerabilityOccurrencesSummary() { final o = api.VulnerabilityOccurrencesSummary(); buildCounterVulnerabilityOccurrencesSummary++; if (buildCounterVulnerabilityOccurrencesSummary < 3) { - o.counts = buildUnnamed8459(); + o.counts = buildUnnamed8557(); } buildCounterVulnerabilityOccurrencesSummary--; return o; @@ -3124,17 +3669,17 @@ void checkVulnerabilityOccurrencesSummary( api.VulnerabilityOccurrencesSummary o) { buildCounterVulnerabilityOccurrencesSummary++; if (buildCounterVulnerabilityOccurrencesSummary < 3) { - checkUnnamed8459(o.counts!); + checkUnnamed8557(o.counts!); } buildCounterVulnerabilityOccurrencesSummary--; } -core.List buildUnnamed8460() => [ +core.List buildUnnamed8558() => [ buildKnowledgeBase(), buildKnowledgeBase(), ]; -void checkUnnamed8460(core.List o) { +void checkUnnamed8558(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKnowledgeBase(o[0]); checkKnowledgeBase(o[1]); @@ -3147,7 +3692,7 @@ api.WindowsDetail buildWindowsDetail() { if (buildCounterWindowsDetail < 3) { o.cpeUri = 'foo'; o.description = 'foo'; - o.fixingKbs = buildUnnamed8460(); + o.fixingKbs = buildUnnamed8558(); o.name = 'foo'; } buildCounterWindowsDetail--; @@ -3165,7 +3710,7 @@ void checkWindowsDetail(api.WindowsDetail o) { o.description!, unittest.equals('foo'), ); - checkUnnamed8460(o.fixingKbs!); + checkUnnamed8558(o.fixingKbs!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3445,6 +3990,26 @@ void main() { }); }); + unittest.group('obj-schema-DocumentNote', () { + unittest.test('to-json--from-json', () async { + final o = buildDocumentNote(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DocumentNote.fromJson( + oJson as core.Map); + checkDocumentNote(od); + }); + }); + + unittest.group('obj-schema-DocumentOccurrence', () { + unittest.test('to-json--from-json', () async { + final o = buildDocumentOccurrence(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DocumentOccurrence.fromJson( + oJson as core.Map); + checkDocumentOccurrence(od); + }); + }); + unittest.group('obj-schema-Empty', () { unittest.test('to-json--from-json', () async { final o = buildEmpty(); @@ -3475,6 +4040,16 @@ void main() { }); }); + unittest.group('obj-schema-ExternalRef', () { + unittest.test('to-json--from-json', () async { + final o = buildExternalRef(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ExternalRef.fromJson( + oJson as core.Map); + checkExternalRef(od); + }); + }); + unittest.group('obj-schema-FileHashes', () { unittest.test('to-json--from-json', () async { final o = buildFileHashes(); @@ -3485,6 +4060,26 @@ void main() { }); }); + unittest.group('obj-schema-FileNote', () { + unittest.test('to-json--from-json', () async { + final o = buildFileNote(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.FileNote.fromJson(oJson as core.Map); + checkFileNote(od); + }); + }); + + unittest.group('obj-schema-FileOccurrence', () { + unittest.test('to-json--from-json', () async { + final o = buildFileOccurrence(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FileOccurrence.fromJson( + oJson as core.Map); + checkFileOccurrence(od); + }); + }); + unittest.group('obj-schema-Fingerprint', () { unittest.test('to-json--from-json', () async { final o = buildFingerprint(); @@ -3818,6 +4413,26 @@ void main() { }); }); + unittest.group('obj-schema-PackageNote', () { + unittest.test('to-json--from-json', () async { + final o = buildPackageNote(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PackageNote.fromJson( + oJson as core.Map); + checkPackageNote(od); + }); + }); + + unittest.group('obj-schema-PackageOccurrence', () { + unittest.test('to-json--from-json', () async { + final o = buildPackageOccurrence(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PackageOccurrence.fromJson( + oJson as core.Map); + checkPackageOccurrence(od); + }); + }); + unittest.group('obj-schema-PgpSignedAttestation', () { unittest.test('to-json--from-json', () async { final o = buildPgpSignedAttestation(); @@ -3858,6 +4473,26 @@ void main() { }); }); + unittest.group('obj-schema-RelationshipNote', () { + unittest.test('to-json--from-json', () async { + final o = buildRelationshipNote(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelationshipNote.fromJson( + oJson as core.Map); + checkRelationshipNote(od); + }); + }); + + unittest.group('obj-schema-RelationshipOccurrence', () { + unittest.test('to-json--from-json', () async { + final o = buildRelationshipOccurrence(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RelationshipOccurrence.fromJson( + oJson as core.Map); + checkRelationshipOccurrence(od); + }); + }); + unittest.group('obj-schema-RepoId', () { unittest.test('to-json--from-json', () async { final o = buildRepoId(); diff --git a/generated/googleapis_beta/test/datacatalog/v1beta1_test.dart b/generated/googleapis_beta/test/datacatalog/v1beta1_test.dart index 78eda3d1c..582be6f4c 100644 --- a/generated/googleapis_beta/test/datacatalog/v1beta1_test.dart +++ b/generated/googleapis_beta/test/datacatalog/v1beta1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed7806() => [ +core.List buildUnnamed7892() => [ 'foo', 'foo', ]; -void checkUnnamed7806(core.List o) { +void checkUnnamed7892(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -49,7 +49,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed7806(); + o.members = buildUnnamed7892(); o.role = 'foo'; } buildCounterBinding--; @@ -60,7 +60,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed7806(o.members!); + checkUnnamed7892(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -224,12 +224,12 @@ void checkGoogleCloudDatacatalogV1beta1BigQueryTableSpec( buildCounterGoogleCloudDatacatalogV1beta1BigQueryTableSpec--; } -core.List buildUnnamed7807() => [ +core.List buildUnnamed7893() => [ buildGoogleCloudDatacatalogV1beta1ColumnSchema(), buildGoogleCloudDatacatalogV1beta1ColumnSchema(), ]; -void checkUnnamed7807( +void checkUnnamed7893( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1ColumnSchema(o[0]); @@ -245,7 +245,7 @@ api.GoogleCloudDatacatalogV1beta1ColumnSchema o.column = 'foo'; o.description = 'foo'; o.mode = 'foo'; - o.subcolumns = buildUnnamed7807(); + o.subcolumns = buildUnnamed7893(); o.type = 'foo'; } buildCounterGoogleCloudDatacatalogV1beta1ColumnSchema--; @@ -268,7 +268,7 @@ void checkGoogleCloudDatacatalogV1beta1ColumnSchema( o.mode!, unittest.equals('foo'), ); - checkUnnamed7807(o.subcolumns!); + checkUnnamed7893(o.subcolumns!); unittest.expect( o.type!, unittest.equals('foo'), @@ -391,12 +391,12 @@ void checkGoogleCloudDatacatalogV1beta1EntryGroup( } core.List - buildUnnamed7808() => [ + buildUnnamed7894() => [ buildGoogleCloudDatacatalogV1beta1SerializedTaxonomy(), buildGoogleCloudDatacatalogV1beta1SerializedTaxonomy(), ]; -void checkUnnamed7808( +void checkUnnamed7894( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1SerializedTaxonomy(o[0]); @@ -409,7 +409,7 @@ api.GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse final o = api.GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse(); buildCounterGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse < 3) { - o.taxonomies = buildUnnamed7808(); + o.taxonomies = buildUnnamed7894(); } buildCounterGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse--; return o; @@ -419,7 +419,7 @@ void checkGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse( api.GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse o) { buildCounterGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse < 3) { - checkUnnamed7808(o.taxonomies!); + checkUnnamed7894(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse--; } @@ -451,12 +451,12 @@ void checkGoogleCloudDatacatalogV1beta1FieldType( } core.List - buildUnnamed7809() => [ + buildUnnamed7895() => [ buildGoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue(), buildGoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue(), ]; -void checkUnnamed7809( +void checkUnnamed7895( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue(o[0]); @@ -469,7 +469,7 @@ api.GoogleCloudDatacatalogV1beta1FieldTypeEnumType final o = api.GoogleCloudDatacatalogV1beta1FieldTypeEnumType(); buildCounterGoogleCloudDatacatalogV1beta1FieldTypeEnumType++; if (buildCounterGoogleCloudDatacatalogV1beta1FieldTypeEnumType < 3) { - o.allowedValues = buildUnnamed7809(); + o.allowedValues = buildUnnamed7895(); } buildCounterGoogleCloudDatacatalogV1beta1FieldTypeEnumType--; return o; @@ -479,7 +479,7 @@ void checkGoogleCloudDatacatalogV1beta1FieldTypeEnumType( api.GoogleCloudDatacatalogV1beta1FieldTypeEnumType o) { buildCounterGoogleCloudDatacatalogV1beta1FieldTypeEnumType++; if (buildCounterGoogleCloudDatacatalogV1beta1FieldTypeEnumType < 3) { - checkUnnamed7809(o.allowedValues!); + checkUnnamed7895(o.allowedValues!); } buildCounterGoogleCloudDatacatalogV1beta1FieldTypeEnumType--; } @@ -540,12 +540,12 @@ void checkGoogleCloudDatacatalogV1beta1GcsFileSpec( buildCounterGoogleCloudDatacatalogV1beta1GcsFileSpec--; } -core.List buildUnnamed7810() => [ +core.List buildUnnamed7896() => [ 'foo', 'foo', ]; -void checkUnnamed7810(core.List o) { +void checkUnnamed7896(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -557,12 +557,12 @@ void checkUnnamed7810(core.List o) { ); } -core.List buildUnnamed7811() => [ +core.List buildUnnamed7897() => [ buildGoogleCloudDatacatalogV1beta1GcsFileSpec(), buildGoogleCloudDatacatalogV1beta1GcsFileSpec(), ]; -void checkUnnamed7811( +void checkUnnamed7897( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1GcsFileSpec(o[0]); @@ -575,8 +575,8 @@ api.GoogleCloudDatacatalogV1beta1GcsFilesetSpec final o = api.GoogleCloudDatacatalogV1beta1GcsFilesetSpec(); buildCounterGoogleCloudDatacatalogV1beta1GcsFilesetSpec++; if (buildCounterGoogleCloudDatacatalogV1beta1GcsFilesetSpec < 3) { - o.filePatterns = buildUnnamed7810(); - o.sampleGcsFileSpecs = buildUnnamed7811(); + o.filePatterns = buildUnnamed7896(); + o.sampleGcsFileSpecs = buildUnnamed7897(); } buildCounterGoogleCloudDatacatalogV1beta1GcsFilesetSpec--; return o; @@ -586,8 +586,8 @@ void checkGoogleCloudDatacatalogV1beta1GcsFilesetSpec( api.GoogleCloudDatacatalogV1beta1GcsFilesetSpec o) { buildCounterGoogleCloudDatacatalogV1beta1GcsFilesetSpec++; if (buildCounterGoogleCloudDatacatalogV1beta1GcsFilesetSpec < 3) { - checkUnnamed7810(o.filePatterns!); - checkUnnamed7811(o.sampleGcsFileSpecs!); + checkUnnamed7896(o.filePatterns!); + checkUnnamed7897(o.sampleGcsFileSpecs!); } buildCounterGoogleCloudDatacatalogV1beta1GcsFilesetSpec--; } @@ -613,12 +613,12 @@ void checkGoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest( buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest--; } -core.List buildUnnamed7812() => [ +core.List buildUnnamed7898() => [ buildGoogleCloudDatacatalogV1beta1Taxonomy(), buildGoogleCloudDatacatalogV1beta1Taxonomy(), ]; -void checkUnnamed7812(core.List o) { +void checkUnnamed7898(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1Taxonomy(o[0]); checkGoogleCloudDatacatalogV1beta1Taxonomy(o[1]); @@ -630,7 +630,7 @@ api.GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse final o = api.GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse(); buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse < 3) { - o.taxonomies = buildUnnamed7812(); + o.taxonomies = buildUnnamed7898(); } buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse--; return o; @@ -640,18 +640,18 @@ void checkGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse( api.GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse o) { buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse < 3) { - checkUnnamed7812(o.taxonomies!); + checkUnnamed7898(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse--; } core.List - buildUnnamed7813() => [ + buildUnnamed7899() => [ buildGoogleCloudDatacatalogV1beta1SerializedTaxonomy(), buildGoogleCloudDatacatalogV1beta1SerializedTaxonomy(), ]; -void checkUnnamed7813( +void checkUnnamed7899( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1SerializedTaxonomy(o[0]); @@ -664,7 +664,7 @@ api.GoogleCloudDatacatalogV1beta1InlineSource final o = api.GoogleCloudDatacatalogV1beta1InlineSource(); buildCounterGoogleCloudDatacatalogV1beta1InlineSource++; if (buildCounterGoogleCloudDatacatalogV1beta1InlineSource < 3) { - o.taxonomies = buildUnnamed7813(); + o.taxonomies = buildUnnamed7899(); } buildCounterGoogleCloudDatacatalogV1beta1InlineSource--; return o; @@ -674,17 +674,17 @@ void checkGoogleCloudDatacatalogV1beta1InlineSource( api.GoogleCloudDatacatalogV1beta1InlineSource o) { buildCounterGoogleCloudDatacatalogV1beta1InlineSource++; if (buildCounterGoogleCloudDatacatalogV1beta1InlineSource < 3) { - checkUnnamed7813(o.taxonomies!); + checkUnnamed7899(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1beta1InlineSource--; } -core.List buildUnnamed7814() => [ +core.List buildUnnamed7900() => [ buildGoogleCloudDatacatalogV1beta1Entry(), buildGoogleCloudDatacatalogV1beta1Entry(), ]; -void checkUnnamed7814(core.List o) { +void checkUnnamed7900(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1Entry(o[0]); checkGoogleCloudDatacatalogV1beta1Entry(o[1]); @@ -696,7 +696,7 @@ api.GoogleCloudDatacatalogV1beta1ListEntriesResponse final o = api.GoogleCloudDatacatalogV1beta1ListEntriesResponse(); buildCounterGoogleCloudDatacatalogV1beta1ListEntriesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListEntriesResponse < 3) { - o.entries = buildUnnamed7814(); + o.entries = buildUnnamed7900(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatacatalogV1beta1ListEntriesResponse--; @@ -707,7 +707,7 @@ void checkGoogleCloudDatacatalogV1beta1ListEntriesResponse( api.GoogleCloudDatacatalogV1beta1ListEntriesResponse o) { buildCounterGoogleCloudDatacatalogV1beta1ListEntriesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListEntriesResponse < 3) { - checkUnnamed7814(o.entries!); + checkUnnamed7900(o.entries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -716,12 +716,12 @@ void checkGoogleCloudDatacatalogV1beta1ListEntriesResponse( buildCounterGoogleCloudDatacatalogV1beta1ListEntriesResponse--; } -core.List buildUnnamed7815() => [ +core.List buildUnnamed7901() => [ buildGoogleCloudDatacatalogV1beta1EntryGroup(), buildGoogleCloudDatacatalogV1beta1EntryGroup(), ]; -void checkUnnamed7815( +void checkUnnamed7901( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1EntryGroup(o[0]); @@ -734,7 +734,7 @@ api.GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse final o = api.GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse(); buildCounterGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse < 3) { - o.entryGroups = buildUnnamed7815(); + o.entryGroups = buildUnnamed7901(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse--; @@ -745,7 +745,7 @@ void checkGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse( api.GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse o) { buildCounterGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse < 3) { - checkUnnamed7815(o.entryGroups!); + checkUnnamed7901(o.entryGroups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -754,12 +754,12 @@ void checkGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse( buildCounterGoogleCloudDatacatalogV1beta1ListEntryGroupsResponse--; } -core.List buildUnnamed7816() => [ +core.List buildUnnamed7902() => [ buildGoogleCloudDatacatalogV1beta1PolicyTag(), buildGoogleCloudDatacatalogV1beta1PolicyTag(), ]; -void checkUnnamed7816(core.List o) { +void checkUnnamed7902(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1PolicyTag(o[0]); checkGoogleCloudDatacatalogV1beta1PolicyTag(o[1]); @@ -772,7 +772,7 @@ api.GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse buildCounterGoogleCloudDatacatalogV1beta1ListPolicyTagsResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListPolicyTagsResponse < 3) { o.nextPageToken = 'foo'; - o.policyTags = buildUnnamed7816(); + o.policyTags = buildUnnamed7902(); } buildCounterGoogleCloudDatacatalogV1beta1ListPolicyTagsResponse--; return o; @@ -786,17 +786,17 @@ void checkGoogleCloudDatacatalogV1beta1ListPolicyTagsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7816(o.policyTags!); + checkUnnamed7902(o.policyTags!); } buildCounterGoogleCloudDatacatalogV1beta1ListPolicyTagsResponse--; } -core.List buildUnnamed7817() => [ +core.List buildUnnamed7903() => [ buildGoogleCloudDatacatalogV1beta1Tag(), buildGoogleCloudDatacatalogV1beta1Tag(), ]; -void checkUnnamed7817(core.List o) { +void checkUnnamed7903(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1Tag(o[0]); checkGoogleCloudDatacatalogV1beta1Tag(o[1]); @@ -809,7 +809,7 @@ api.GoogleCloudDatacatalogV1beta1ListTagsResponse buildCounterGoogleCloudDatacatalogV1beta1ListTagsResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListTagsResponse < 3) { o.nextPageToken = 'foo'; - o.tags = buildUnnamed7817(); + o.tags = buildUnnamed7903(); } buildCounterGoogleCloudDatacatalogV1beta1ListTagsResponse--; return o; @@ -823,17 +823,17 @@ void checkGoogleCloudDatacatalogV1beta1ListTagsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7817(o.tags!); + checkUnnamed7903(o.tags!); } buildCounterGoogleCloudDatacatalogV1beta1ListTagsResponse--; } -core.List buildUnnamed7818() => [ +core.List buildUnnamed7904() => [ buildGoogleCloudDatacatalogV1beta1Taxonomy(), buildGoogleCloudDatacatalogV1beta1Taxonomy(), ]; -void checkUnnamed7818(core.List o) { +void checkUnnamed7904(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1Taxonomy(o[0]); checkGoogleCloudDatacatalogV1beta1Taxonomy(o[1]); @@ -846,7 +846,7 @@ api.GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse buildCounterGoogleCloudDatacatalogV1beta1ListTaxonomiesResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1ListTaxonomiesResponse < 3) { o.nextPageToken = 'foo'; - o.taxonomies = buildUnnamed7818(); + o.taxonomies = buildUnnamed7904(); } buildCounterGoogleCloudDatacatalogV1beta1ListTaxonomiesResponse--; return o; @@ -860,17 +860,17 @@ void checkGoogleCloudDatacatalogV1beta1ListTaxonomiesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7818(o.taxonomies!); + checkUnnamed7904(o.taxonomies!); } buildCounterGoogleCloudDatacatalogV1beta1ListTaxonomiesResponse--; } -core.List buildUnnamed7819() => [ +core.List buildUnnamed7905() => [ 'foo', 'foo', ]; -void checkUnnamed7819(core.List o) { +void checkUnnamed7905(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -888,7 +888,7 @@ api.GoogleCloudDatacatalogV1beta1PolicyTag final o = api.GoogleCloudDatacatalogV1beta1PolicyTag(); buildCounterGoogleCloudDatacatalogV1beta1PolicyTag++; if (buildCounterGoogleCloudDatacatalogV1beta1PolicyTag < 3) { - o.childPolicyTags = buildUnnamed7819(); + o.childPolicyTags = buildUnnamed7905(); o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; @@ -902,7 +902,7 @@ void checkGoogleCloudDatacatalogV1beta1PolicyTag( api.GoogleCloudDatacatalogV1beta1PolicyTag o) { buildCounterGoogleCloudDatacatalogV1beta1PolicyTag++; if (buildCounterGoogleCloudDatacatalogV1beta1PolicyTag < 3) { - checkUnnamed7819(o.childPolicyTags!); + checkUnnamed7905(o.childPolicyTags!); unittest.expect( o.description!, unittest.equals('foo'), @@ -979,12 +979,12 @@ void checkGoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest( buildCounterGoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest--; } -core.List buildUnnamed7820() => [ +core.List buildUnnamed7906() => [ buildGoogleCloudDatacatalogV1beta1ColumnSchema(), buildGoogleCloudDatacatalogV1beta1ColumnSchema(), ]; -void checkUnnamed7820( +void checkUnnamed7906( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1ColumnSchema(o[0]); @@ -997,7 +997,7 @@ api.GoogleCloudDatacatalogV1beta1Schema final o = api.GoogleCloudDatacatalogV1beta1Schema(); buildCounterGoogleCloudDatacatalogV1beta1Schema++; if (buildCounterGoogleCloudDatacatalogV1beta1Schema < 3) { - o.columns = buildUnnamed7820(); + o.columns = buildUnnamed7906(); } buildCounterGoogleCloudDatacatalogV1beta1Schema--; return o; @@ -1007,7 +1007,7 @@ void checkGoogleCloudDatacatalogV1beta1Schema( api.GoogleCloudDatacatalogV1beta1Schema o) { buildCounterGoogleCloudDatacatalogV1beta1Schema++; if (buildCounterGoogleCloudDatacatalogV1beta1Schema < 3) { - checkUnnamed7820(o.columns!); + checkUnnamed7906(o.columns!); } buildCounterGoogleCloudDatacatalogV1beta1Schema--; } @@ -1053,12 +1053,12 @@ void checkGoogleCloudDatacatalogV1beta1SearchCatalogRequest( buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequest--; } -core.List buildUnnamed7821() => [ +core.List buildUnnamed7907() => [ 'foo', 'foo', ]; -void checkUnnamed7821(core.List o) { +void checkUnnamed7907(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1070,12 +1070,12 @@ void checkUnnamed7821(core.List o) { ); } -core.List buildUnnamed7822() => [ +core.List buildUnnamed7908() => [ 'foo', 'foo', ]; -void checkUnnamed7822(core.List o) { +void checkUnnamed7908(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1087,12 +1087,12 @@ void checkUnnamed7822(core.List o) { ); } -core.List buildUnnamed7823() => [ +core.List buildUnnamed7909() => [ 'foo', 'foo', ]; -void checkUnnamed7823(core.List o) { +void checkUnnamed7909(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1111,9 +1111,9 @@ api.GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope++; if (buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope < 3) { o.includeGcpPublicDatasets = true; - o.includeOrgIds = buildUnnamed7821(); - o.includeProjectIds = buildUnnamed7822(); - o.restrictedLocations = buildUnnamed7823(); + o.includeOrgIds = buildUnnamed7907(); + o.includeProjectIds = buildUnnamed7908(); + o.restrictedLocations = buildUnnamed7909(); } buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope--; return o; @@ -1124,32 +1124,32 @@ void checkGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope( buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope++; if (buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope < 3) { unittest.expect(o.includeGcpPublicDatasets!, unittest.isTrue); - checkUnnamed7821(o.includeOrgIds!); - checkUnnamed7822(o.includeProjectIds!); - checkUnnamed7823(o.restrictedLocations!); + checkUnnamed7907(o.includeOrgIds!); + checkUnnamed7908(o.includeProjectIds!); + checkUnnamed7909(o.restrictedLocations!); } buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogRequestScope--; } core.List - buildUnnamed7824() => [ + buildUnnamed7910() => [ buildGoogleCloudDatacatalogV1beta1SearchCatalogResult(), buildGoogleCloudDatacatalogV1beta1SearchCatalogResult(), ]; -void checkUnnamed7824( +void checkUnnamed7910( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1SearchCatalogResult(o[0]); checkGoogleCloudDatacatalogV1beta1SearchCatalogResult(o[1]); } -core.List buildUnnamed7825() => [ +core.List buildUnnamed7911() => [ 'foo', 'foo', ]; -void checkUnnamed7825(core.List o) { +void checkUnnamed7911(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1168,8 +1168,8 @@ api.GoogleCloudDatacatalogV1beta1SearchCatalogResponse buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogResponse++; if (buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed7824(); - o.unreachable = buildUnnamed7825(); + o.results = buildUnnamed7910(); + o.unreachable = buildUnnamed7911(); } buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogResponse--; return o; @@ -1183,8 +1183,8 @@ void checkGoogleCloudDatacatalogV1beta1SearchCatalogResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed7824(o.results!); - checkUnnamed7825(o.unreachable!); + checkUnnamed7910(o.results!); + checkUnnamed7911(o.unreachable!); } buildCounterGoogleCloudDatacatalogV1beta1SearchCatalogResponse--; } @@ -1234,12 +1234,12 @@ void checkGoogleCloudDatacatalogV1beta1SearchCatalogResult( } core.List - buildUnnamed7826() => [ + buildUnnamed7912() => [ buildGoogleCloudDatacatalogV1beta1SerializedPolicyTag(), buildGoogleCloudDatacatalogV1beta1SerializedPolicyTag(), ]; -void checkUnnamed7826( +void checkUnnamed7912( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1SerializedPolicyTag(o[0]); @@ -1252,7 +1252,7 @@ api.GoogleCloudDatacatalogV1beta1SerializedPolicyTag final o = api.GoogleCloudDatacatalogV1beta1SerializedPolicyTag(); buildCounterGoogleCloudDatacatalogV1beta1SerializedPolicyTag++; if (buildCounterGoogleCloudDatacatalogV1beta1SerializedPolicyTag < 3) { - o.childPolicyTags = buildUnnamed7826(); + o.childPolicyTags = buildUnnamed7912(); o.description = 'foo'; o.displayName = 'foo'; o.policyTag = 'foo'; @@ -1265,7 +1265,7 @@ void checkGoogleCloudDatacatalogV1beta1SerializedPolicyTag( api.GoogleCloudDatacatalogV1beta1SerializedPolicyTag o) { buildCounterGoogleCloudDatacatalogV1beta1SerializedPolicyTag++; if (buildCounterGoogleCloudDatacatalogV1beta1SerializedPolicyTag < 3) { - checkUnnamed7826(o.childPolicyTags!); + checkUnnamed7912(o.childPolicyTags!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1282,12 +1282,12 @@ void checkGoogleCloudDatacatalogV1beta1SerializedPolicyTag( buildCounterGoogleCloudDatacatalogV1beta1SerializedPolicyTag--; } -core.List buildUnnamed7827() => [ +core.List buildUnnamed7913() => [ 'foo', 'foo', ]; -void checkUnnamed7827(core.List o) { +void checkUnnamed7913(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1300,12 +1300,12 @@ void checkUnnamed7827(core.List o) { } core.List - buildUnnamed7828() => [ + buildUnnamed7914() => [ buildGoogleCloudDatacatalogV1beta1SerializedPolicyTag(), buildGoogleCloudDatacatalogV1beta1SerializedPolicyTag(), ]; -void checkUnnamed7828( +void checkUnnamed7914( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1SerializedPolicyTag(o[0]); @@ -1318,10 +1318,10 @@ api.GoogleCloudDatacatalogV1beta1SerializedTaxonomy final o = api.GoogleCloudDatacatalogV1beta1SerializedTaxonomy(); buildCounterGoogleCloudDatacatalogV1beta1SerializedTaxonomy++; if (buildCounterGoogleCloudDatacatalogV1beta1SerializedTaxonomy < 3) { - o.activatedPolicyTypes = buildUnnamed7827(); + o.activatedPolicyTypes = buildUnnamed7913(); o.description = 'foo'; o.displayName = 'foo'; - o.policyTags = buildUnnamed7828(); + o.policyTags = buildUnnamed7914(); } buildCounterGoogleCloudDatacatalogV1beta1SerializedTaxonomy--; return o; @@ -1331,7 +1331,7 @@ void checkGoogleCloudDatacatalogV1beta1SerializedTaxonomy( api.GoogleCloudDatacatalogV1beta1SerializedTaxonomy o) { buildCounterGoogleCloudDatacatalogV1beta1SerializedTaxonomy++; if (buildCounterGoogleCloudDatacatalogV1beta1SerializedTaxonomy < 3) { - checkUnnamed7827(o.activatedPolicyTypes!); + checkUnnamed7913(o.activatedPolicyTypes!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1340,7 +1340,7 @@ void checkGoogleCloudDatacatalogV1beta1SerializedTaxonomy( o.displayName!, unittest.equals('foo'), ); - checkUnnamed7828(o.policyTags!); + checkUnnamed7914(o.policyTags!); } buildCounterGoogleCloudDatacatalogV1beta1SerializedTaxonomy--; } @@ -1404,12 +1404,12 @@ void checkGoogleCloudDatacatalogV1beta1TableSpec( } core.Map - buildUnnamed7829() => { + buildUnnamed7915() => { 'x': buildGoogleCloudDatacatalogV1beta1TagField(), 'y': buildGoogleCloudDatacatalogV1beta1TagField(), }; -void checkUnnamed7829( +void checkUnnamed7915( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1TagField(o['x']!); @@ -1422,7 +1422,7 @@ api.GoogleCloudDatacatalogV1beta1Tag buildGoogleCloudDatacatalogV1beta1Tag() { buildCounterGoogleCloudDatacatalogV1beta1Tag++; if (buildCounterGoogleCloudDatacatalogV1beta1Tag < 3) { o.column = 'foo'; - o.fields = buildUnnamed7829(); + o.fields = buildUnnamed7915(); o.name = 'foo'; o.template = 'foo'; o.templateDisplayName = 'foo'; @@ -1439,7 +1439,7 @@ void checkGoogleCloudDatacatalogV1beta1Tag( o.column!, unittest.equals('foo'), ); - checkUnnamed7829(o.fields!); + checkUnnamed7915(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1529,12 +1529,12 @@ void checkGoogleCloudDatacatalogV1beta1TagFieldEnumValue( } core.Map - buildUnnamed7830() => { + buildUnnamed7916() => { 'x': buildGoogleCloudDatacatalogV1beta1TagTemplateField(), 'y': buildGoogleCloudDatacatalogV1beta1TagTemplateField(), }; -void checkUnnamed7830( +void checkUnnamed7916( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -1549,7 +1549,7 @@ api.GoogleCloudDatacatalogV1beta1TagTemplate buildCounterGoogleCloudDatacatalogV1beta1TagTemplate++; if (buildCounterGoogleCloudDatacatalogV1beta1TagTemplate < 3) { o.displayName = 'foo'; - o.fields = buildUnnamed7830(); + o.fields = buildUnnamed7916(); o.name = 'foo'; } buildCounterGoogleCloudDatacatalogV1beta1TagTemplate--; @@ -1564,7 +1564,7 @@ void checkGoogleCloudDatacatalogV1beta1TagTemplate( o.displayName!, unittest.equals('foo'), ); - checkUnnamed7830(o.fields!); + checkUnnamed7916(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1616,12 +1616,12 @@ void checkGoogleCloudDatacatalogV1beta1TagTemplateField( buildCounterGoogleCloudDatacatalogV1beta1TagTemplateField--; } -core.List buildUnnamed7831() => [ +core.List buildUnnamed7917() => [ 'foo', 'foo', ]; -void checkUnnamed7831(core.List o) { +void checkUnnamed7917(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1639,7 +1639,7 @@ api.GoogleCloudDatacatalogV1beta1Taxonomy final o = api.GoogleCloudDatacatalogV1beta1Taxonomy(); buildCounterGoogleCloudDatacatalogV1beta1Taxonomy++; if (buildCounterGoogleCloudDatacatalogV1beta1Taxonomy < 3) { - o.activatedPolicyTypes = buildUnnamed7831(); + o.activatedPolicyTypes = buildUnnamed7917(); o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; @@ -1654,7 +1654,7 @@ void checkGoogleCloudDatacatalogV1beta1Taxonomy( api.GoogleCloudDatacatalogV1beta1Taxonomy o) { buildCounterGoogleCloudDatacatalogV1beta1Taxonomy++; if (buildCounterGoogleCloudDatacatalogV1beta1Taxonomy < 3) { - checkUnnamed7831(o.activatedPolicyTypes!); + checkUnnamed7917(o.activatedPolicyTypes!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1677,12 +1677,12 @@ void checkGoogleCloudDatacatalogV1beta1Taxonomy( } core.Map - buildUnnamed7832() => { + buildUnnamed7918() => { 'x': buildGoogleCloudDatacatalogV1beta1UsageStats(), 'y': buildGoogleCloudDatacatalogV1beta1UsageStats(), }; -void checkUnnamed7832( +void checkUnnamed7918( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatacatalogV1beta1UsageStats(o['x']!); @@ -1696,7 +1696,7 @@ api.GoogleCloudDatacatalogV1beta1UsageSignal buildCounterGoogleCloudDatacatalogV1beta1UsageSignal++; if (buildCounterGoogleCloudDatacatalogV1beta1UsageSignal < 3) { o.updateTime = 'foo'; - o.usageWithinTimeRange = buildUnnamed7832(); + o.usageWithinTimeRange = buildUnnamed7918(); } buildCounterGoogleCloudDatacatalogV1beta1UsageSignal--; return o; @@ -1710,7 +1710,7 @@ void checkGoogleCloudDatacatalogV1beta1UsageSignal( o.updateTime!, unittest.equals('foo'), ); - checkUnnamed7832(o.usageWithinTimeRange!); + checkUnnamed7918(o.usageWithinTimeRange!); } buildCounterGoogleCloudDatacatalogV1beta1UsageSignal--; } @@ -1778,12 +1778,12 @@ void checkGoogleCloudDatacatalogV1beta1ViewSpec( buildCounterGoogleCloudDatacatalogV1beta1ViewSpec--; } -core.List buildUnnamed7833() => [ +core.List buildUnnamed7919() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed7833(core.List o) { +void checkUnnamed7919(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1794,7 +1794,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed7833(); + o.bindings = buildUnnamed7919(); o.etag = 'foo'; o.version = 42; } @@ -1805,7 +1805,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed7833(o.bindings!); + checkUnnamed7919(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1837,12 +1837,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed7834() => [ +core.List buildUnnamed7920() => [ 'foo', 'foo', ]; -void checkUnnamed7834(core.List o) { +void checkUnnamed7920(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1859,7 +1859,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed7834(); + o.permissions = buildUnnamed7920(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1868,17 +1868,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed7834(o.permissions!); + checkUnnamed7920(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed7835() => [ +core.List buildUnnamed7921() => [ 'foo', 'foo', ]; -void checkUnnamed7835(core.List o) { +void checkUnnamed7921(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1895,7 +1895,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed7835(); + o.permissions = buildUnnamed7921(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1904,17 +1904,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed7835(o.permissions!); + checkUnnamed7921(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed7836() => [ +core.List buildUnnamed7922() => [ 'foo', 'foo', ]; -void checkUnnamed7836(core.List o) { +void checkUnnamed7922(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4872,7 +4872,7 @@ void main() { final res = api.DataCatalogApi(mock).projects.locations.taxonomies; final arg_parent = 'foo'; final arg_serializedTaxonomies = true; - final arg_taxonomies = buildUnnamed7836(); + final arg_taxonomies = buildUnnamed7922(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis_beta/test/dataflow/v1b3_test.dart b/generated/googleapis_beta/test/dataflow/v1b3_test.dart index f29843a6f..263377a40 100644 --- a/generated/googleapis_beta/test/dataflow/v1b3_test.dart +++ b/generated/googleapis_beta/test/dataflow/v1b3_test.dart @@ -348,45 +348,45 @@ void checkComponentTransform(api.ComponentTransform o) { buildCounterComponentTransform--; } -core.List buildUnnamed8588() => [ +core.List buildUnnamed8693() => [ buildStreamLocation(), buildStreamLocation(), ]; -void checkUnnamed8588(core.List o) { +void checkUnnamed8693(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStreamLocation(o[0]); checkStreamLocation(o[1]); } -core.List buildUnnamed8589() => [ +core.List buildUnnamed8694() => [ buildKeyRangeLocation(), buildKeyRangeLocation(), ]; -void checkUnnamed8589(core.List o) { +void checkUnnamed8694(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyRangeLocation(o[0]); checkKeyRangeLocation(o[1]); } -core.List buildUnnamed8590() => [ +core.List buildUnnamed8695() => [ buildStreamLocation(), buildStreamLocation(), ]; -void checkUnnamed8590(core.List o) { +void checkUnnamed8695(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStreamLocation(o[0]); checkStreamLocation(o[1]); } -core.List buildUnnamed8591() => [ +core.List buildUnnamed8696() => [ buildStateFamilyConfig(), buildStateFamilyConfig(), ]; -void checkUnnamed8591(core.List o) { +void checkUnnamed8696(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStateFamilyConfig(o[0]); checkStateFamilyConfig(o[1]); @@ -398,10 +398,10 @@ api.ComputationTopology buildComputationTopology() { buildCounterComputationTopology++; if (buildCounterComputationTopology < 3) { o.computationId = 'foo'; - o.inputs = buildUnnamed8588(); - o.keyRanges = buildUnnamed8589(); - o.outputs = buildUnnamed8590(); - o.stateFamilies = buildUnnamed8591(); + o.inputs = buildUnnamed8693(); + o.keyRanges = buildUnnamed8694(); + o.outputs = buildUnnamed8695(); + o.stateFamilies = buildUnnamed8696(); o.systemStageName = 'foo'; } buildCounterComputationTopology--; @@ -415,10 +415,10 @@ void checkComputationTopology(api.ComputationTopology o) { o.computationId!, unittest.equals('foo'), ); - checkUnnamed8588(o.inputs!); - checkUnnamed8589(o.keyRanges!); - checkUnnamed8590(o.outputs!); - checkUnnamed8591(o.stateFamilies!); + checkUnnamed8693(o.inputs!); + checkUnnamed8694(o.keyRanges!); + checkUnnamed8695(o.outputs!); + checkUnnamed8696(o.stateFamilies!); unittest.expect( o.systemStageName!, unittest.equals('foo'), @@ -675,12 +675,12 @@ void checkCounterUpdate(api.CounterUpdate o) { buildCounterCounterUpdate--; } -core.Map buildUnnamed8592() => { +core.Map buildUnnamed8697() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8592(core.Map o) { +void checkUnnamed8697(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -701,7 +701,7 @@ api.CreateJobFromTemplateRequest buildCreateJobFromTemplateRequest() { o.gcsPath = 'foo'; o.jobName = 'foo'; o.location = 'foo'; - o.parameters = buildUnnamed8592(); + o.parameters = buildUnnamed8697(); } buildCounterCreateJobFromTemplateRequest--; return o; @@ -723,7 +723,7 @@ void checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { o.location!, unittest.equals('foo'), ); - checkUnnamed8592(o.parameters!); + checkUnnamed8697(o.parameters!); } buildCounterCreateJobFromTemplateRequest--; } @@ -747,12 +747,12 @@ void checkCustomSourceLocation(api.CustomSourceLocation o) { buildCounterCustomSourceLocation--; } -core.List buildUnnamed8593() => [ +core.List buildUnnamed8698() => [ 'foo', 'foo', ]; -void checkUnnamed8593(core.List o) { +void checkUnnamed8698(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -769,7 +769,7 @@ api.DataDiskAssignment buildDataDiskAssignment() { final o = api.DataDiskAssignment(); buildCounterDataDiskAssignment++; if (buildCounterDataDiskAssignment < 3) { - o.dataDisks = buildUnnamed8593(); + o.dataDisks = buildUnnamed8698(); o.vmInstance = 'foo'; } buildCounterDataDiskAssignment--; @@ -779,7 +779,7 @@ api.DataDiskAssignment buildDataDiskAssignment() { void checkDataDiskAssignment(api.DataDiskAssignment o) { buildCounterDataDiskAssignment++; if (buildCounterDataDiskAssignment < 3) { - checkUnnamed8593(o.dataDisks!); + checkUnnamed8698(o.dataDisks!); unittest.expect( o.vmInstance!, unittest.equals('foo'), @@ -1032,12 +1032,12 @@ void checkDynamicSourceSplit(api.DynamicSourceSplit o) { buildCounterDynamicSourceSplit--; } -core.List buildUnnamed8594() => [ +core.List buildUnnamed8699() => [ 'foo', 'foo', ]; -void checkUnnamed8594(core.List o) { +void checkUnnamed8699(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1049,7 +1049,7 @@ void checkUnnamed8594(core.List o) { ); } -core.Map buildUnnamed8595() => { +core.Map buildUnnamed8700() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1062,7 +1062,7 @@ core.Map buildUnnamed8595() => { }, }; -void checkUnnamed8595(core.Map o) { +void checkUnnamed8700(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted2 = (o['x']!) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); @@ -1094,7 +1094,7 @@ void checkUnnamed8595(core.Map o) { ); } -core.Map buildUnnamed8596() => { +core.Map buildUnnamed8701() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1107,7 +1107,7 @@ core.Map buildUnnamed8596() => { }, }; -void checkUnnamed8596(core.Map o) { +void checkUnnamed8701(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted4 = (o['x']!) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); @@ -1139,12 +1139,12 @@ void checkUnnamed8596(core.Map o) { ); } -core.List buildUnnamed8597() => [ +core.List buildUnnamed8702() => [ 'foo', 'foo', ]; -void checkUnnamed8597(core.List o) { +void checkUnnamed8702(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1156,7 +1156,7 @@ void checkUnnamed8597(core.List o) { ); } -core.Map buildUnnamed8598() => { +core.Map buildUnnamed8703() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1169,7 +1169,7 @@ core.Map buildUnnamed8598() => { }, }; -void checkUnnamed8598(core.Map o) { +void checkUnnamed8703(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted6 = (o['x']!) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); @@ -1201,7 +1201,7 @@ void checkUnnamed8598(core.Map o) { ); } -core.Map buildUnnamed8599() => { +core.Map buildUnnamed8704() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1214,7 +1214,7 @@ core.Map buildUnnamed8599() => { }, }; -void checkUnnamed8599(core.Map o) { +void checkUnnamed8704(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted8 = (o['x']!) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); @@ -1246,12 +1246,12 @@ void checkUnnamed8599(core.Map o) { ); } -core.List buildUnnamed8600() => [ +core.List buildUnnamed8705() => [ buildWorkerPool(), buildWorkerPool(), ]; -void checkUnnamed8600(core.List o) { +void checkUnnamed8705(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkerPool(o[0]); checkWorkerPool(o[1]); @@ -1265,18 +1265,18 @@ api.Environment buildEnvironment() { o.clusterManagerApiService = 'foo'; o.dataset = 'foo'; o.debugOptions = buildDebugOptions(); - o.experiments = buildUnnamed8594(); + o.experiments = buildUnnamed8699(); o.flexResourceSchedulingGoal = 'foo'; - o.internalExperiments = buildUnnamed8595(); - o.sdkPipelineOptions = buildUnnamed8596(); + o.internalExperiments = buildUnnamed8700(); + o.sdkPipelineOptions = buildUnnamed8701(); o.serviceAccountEmail = 'foo'; o.serviceKmsKeyName = 'foo'; - o.serviceOptions = buildUnnamed8597(); + o.serviceOptions = buildUnnamed8702(); o.shuffleMode = 'foo'; o.tempStoragePrefix = 'foo'; - o.userAgent = buildUnnamed8598(); - o.version = buildUnnamed8599(); - o.workerPools = buildUnnamed8600(); + o.userAgent = buildUnnamed8703(); + o.version = buildUnnamed8704(); + o.workerPools = buildUnnamed8705(); o.workerRegion = 'foo'; o.workerZone = 'foo'; } @@ -1296,13 +1296,13 @@ void checkEnvironment(api.Environment o) { unittest.equals('foo'), ); checkDebugOptions(o.debugOptions!); - checkUnnamed8594(o.experiments!); + checkUnnamed8699(o.experiments!); unittest.expect( o.flexResourceSchedulingGoal!, unittest.equals('foo'), ); - checkUnnamed8595(o.internalExperiments!); - checkUnnamed8596(o.sdkPipelineOptions!); + checkUnnamed8700(o.internalExperiments!); + checkUnnamed8701(o.sdkPipelineOptions!); unittest.expect( o.serviceAccountEmail!, unittest.equals('foo'), @@ -1311,7 +1311,7 @@ void checkEnvironment(api.Environment o) { o.serviceKmsKeyName!, unittest.equals('foo'), ); - checkUnnamed8597(o.serviceOptions!); + checkUnnamed8702(o.serviceOptions!); unittest.expect( o.shuffleMode!, unittest.equals('foo'), @@ -1320,9 +1320,9 @@ void checkEnvironment(api.Environment o) { o.tempStoragePrefix!, unittest.equals('foo'), ); - checkUnnamed8598(o.userAgent!); - checkUnnamed8599(o.version!); - checkUnnamed8600(o.workerPools!); + checkUnnamed8703(o.userAgent!); + checkUnnamed8704(o.version!); + checkUnnamed8705(o.workerPools!); unittest.expect( o.workerRegion!, unittest.equals('foo'), @@ -1367,56 +1367,56 @@ void checkExecutionStageState(api.ExecutionStageState o) { buildCounterExecutionStageState--; } -core.List buildUnnamed8601() => [ +core.List buildUnnamed8706() => [ buildComponentSource(), buildComponentSource(), ]; -void checkUnnamed8601(core.List o) { +void checkUnnamed8706(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComponentSource(o[0]); checkComponentSource(o[1]); } -core.List buildUnnamed8602() => [ +core.List buildUnnamed8707() => [ buildComponentTransform(), buildComponentTransform(), ]; -void checkUnnamed8602(core.List o) { +void checkUnnamed8707(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComponentTransform(o[0]); checkComponentTransform(o[1]); } -core.List buildUnnamed8603() => [ +core.List buildUnnamed8708() => [ buildStageSource(), buildStageSource(), ]; -void checkUnnamed8603(core.List o) { +void checkUnnamed8708(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStageSource(o[0]); checkStageSource(o[1]); } -core.List buildUnnamed8604() => [ +core.List buildUnnamed8709() => [ buildStageSource(), buildStageSource(), ]; -void checkUnnamed8604(core.List o) { +void checkUnnamed8709(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStageSource(o[0]); checkStageSource(o[1]); } -core.List buildUnnamed8605() => [ +core.List buildUnnamed8710() => [ 'foo', 'foo', ]; -void checkUnnamed8605(core.List o) { +void checkUnnamed8710(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1433,14 +1433,14 @@ api.ExecutionStageSummary buildExecutionStageSummary() { final o = api.ExecutionStageSummary(); buildCounterExecutionStageSummary++; if (buildCounterExecutionStageSummary < 3) { - o.componentSource = buildUnnamed8601(); - o.componentTransform = buildUnnamed8602(); + o.componentSource = buildUnnamed8706(); + o.componentTransform = buildUnnamed8707(); o.id = 'foo'; - o.inputSource = buildUnnamed8603(); + o.inputSource = buildUnnamed8708(); o.kind = 'foo'; o.name = 'foo'; - o.outputSource = buildUnnamed8604(); - o.prerequisiteStage = buildUnnamed8605(); + o.outputSource = buildUnnamed8709(); + o.prerequisiteStage = buildUnnamed8710(); } buildCounterExecutionStageSummary--; return o; @@ -1449,13 +1449,13 @@ api.ExecutionStageSummary buildExecutionStageSummary() { void checkExecutionStageSummary(api.ExecutionStageSummary o) { buildCounterExecutionStageSummary++; if (buildCounterExecutionStageSummary < 3) { - checkUnnamed8601(o.componentSource!); - checkUnnamed8602(o.componentTransform!); + checkUnnamed8706(o.componentSource!); + checkUnnamed8707(o.componentTransform!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed8603(o.inputSource!); + checkUnnamed8708(o.inputSource!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1464,8 +1464,8 @@ void checkExecutionStageSummary(api.ExecutionStageSummary o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8604(o.outputSource!); - checkUnnamed8605(o.prerequisiteStage!); + checkUnnamed8709(o.outputSource!); + checkUnnamed8710(o.prerequisiteStage!); } buildCounterExecutionStageSummary--; } @@ -1514,12 +1514,12 @@ void checkFileIODetails(api.FileIODetails o) { buildCounterFileIODetails--; } -core.List buildUnnamed8606() => [ +core.List buildUnnamed8711() => [ buildInstructionInput(), buildInstructionInput(), ]; -void checkUnnamed8606(core.List o) { +void checkUnnamed8711(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstructionInput(o[0]); checkInstructionInput(o[1]); @@ -1530,7 +1530,7 @@ api.FlattenInstruction buildFlattenInstruction() { final o = api.FlattenInstruction(); buildCounterFlattenInstruction++; if (buildCounterFlattenInstruction < 3) { - o.inputs = buildUnnamed8606(); + o.inputs = buildUnnamed8711(); } buildCounterFlattenInstruction--; return o; @@ -1539,17 +1539,17 @@ api.FlattenInstruction buildFlattenInstruction() { void checkFlattenInstruction(api.FlattenInstruction o) { buildCounterFlattenInstruction++; if (buildCounterFlattenInstruction < 3) { - checkUnnamed8606(o.inputs!); + checkUnnamed8711(o.inputs!); } buildCounterFlattenInstruction--; } -core.List buildUnnamed8607() => [ +core.List buildUnnamed8712() => [ 'foo', 'foo', ]; -void checkUnnamed8607(core.List o) { +void checkUnnamed8712(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1561,12 +1561,12 @@ void checkUnnamed8607(core.List o) { ); } -core.Map buildUnnamed8608() => { +core.Map buildUnnamed8713() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8608(core.Map o) { +void checkUnnamed8713(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1583,18 +1583,21 @@ api.FlexTemplateRuntimeEnvironment buildFlexTemplateRuntimeEnvironment() { final o = api.FlexTemplateRuntimeEnvironment(); buildCounterFlexTemplateRuntimeEnvironment++; if (buildCounterFlexTemplateRuntimeEnvironment < 3) { - o.additionalExperiments = buildUnnamed8607(); - o.additionalUserLabels = buildUnnamed8608(); + o.additionalExperiments = buildUnnamed8712(); + o.additionalUserLabels = buildUnnamed8713(); + o.autoscalingAlgorithm = 'foo'; o.diskSizeGb = 42; + o.dumpHeapOnOom = true; o.enableStreamingEngine = true; o.flexrsGoal = 'foo'; o.ipConfiguration = 'foo'; o.kmsKeyName = 'foo'; + o.launcherMachineType = 'foo'; o.machineType = 'foo'; - o.maxNumWorkers = 42; o.maxWorkers = 42; o.network = 'foo'; o.numWorkers = 42; + o.saveHeapDumpsToGcsPath = 'foo'; o.sdkContainerImage = 'foo'; o.serviceAccountEmail = 'foo'; o.stagingLocation = 'foo'; @@ -1611,12 +1614,17 @@ api.FlexTemplateRuntimeEnvironment buildFlexTemplateRuntimeEnvironment() { void checkFlexTemplateRuntimeEnvironment(api.FlexTemplateRuntimeEnvironment o) { buildCounterFlexTemplateRuntimeEnvironment++; if (buildCounterFlexTemplateRuntimeEnvironment < 3) { - checkUnnamed8607(o.additionalExperiments!); - checkUnnamed8608(o.additionalUserLabels!); + checkUnnamed8712(o.additionalExperiments!); + checkUnnamed8713(o.additionalUserLabels!); + unittest.expect( + o.autoscalingAlgorithm!, + unittest.equals('foo'), + ); unittest.expect( o.diskSizeGb!, unittest.equals(42), ); + unittest.expect(o.dumpHeapOnOom!, unittest.isTrue); unittest.expect(o.enableStreamingEngine!, unittest.isTrue); unittest.expect( o.flexrsGoal!, @@ -1631,12 +1639,12 @@ void checkFlexTemplateRuntimeEnvironment(api.FlexTemplateRuntimeEnvironment o) { unittest.equals('foo'), ); unittest.expect( - o.machineType!, + o.launcherMachineType!, unittest.equals('foo'), ); unittest.expect( - o.maxNumWorkers!, - unittest.equals(42), + o.machineType!, + unittest.equals('foo'), ); unittest.expect( o.maxWorkers!, @@ -1650,6 +1658,10 @@ void checkFlexTemplateRuntimeEnvironment(api.FlexTemplateRuntimeEnvironment o) { o.numWorkers!, unittest.equals(42), ); + unittest.expect( + o.saveHeapDumpsToGcsPath!, + unittest.equals('foo'), + ); unittest.expect( o.sdkContainerImage!, unittest.equals('foo'), @@ -1686,12 +1698,12 @@ void checkFlexTemplateRuntimeEnvironment(api.FlexTemplateRuntimeEnvironment o) { buildCounterFlexTemplateRuntimeEnvironment--; } -core.List buildUnnamed8609() => [ +core.List buildUnnamed8714() => [ 42.0, 42.0, ]; -void checkUnnamed8609(core.List o) { +void checkUnnamed8714(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1708,7 +1720,7 @@ api.FloatingPointList buildFloatingPointList() { final o = api.FloatingPointList(); buildCounterFloatingPointList++; if (buildCounterFloatingPointList < 3) { - o.elements = buildUnnamed8609(); + o.elements = buildUnnamed8714(); } buildCounterFloatingPointList--; return o; @@ -1717,7 +1729,7 @@ api.FloatingPointList buildFloatingPointList() { void checkFloatingPointList(api.FloatingPointList o) { buildCounterFloatingPointList++; if (buildCounterFloatingPointList < 3) { - checkUnnamed8609(o.elements!); + checkUnnamed8714(o.elements!); } buildCounterFloatingPointList--; } @@ -1828,12 +1840,12 @@ void checkGetTemplateResponse(api.GetTemplateResponse o) { buildCounterGetTemplateResponse--; } -core.List buildUnnamed8610() => [ +core.List buildUnnamed8715() => [ 'foo', 'foo', ]; -void checkUnnamed8610(core.List o) { +void checkUnnamed8715(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1850,7 +1862,7 @@ api.Histogram buildHistogram() { final o = api.Histogram(); buildCounterHistogram++; if (buildCounterHistogram < 3) { - o.bucketCounts = buildUnnamed8610(); + o.bucketCounts = buildUnnamed8715(); o.firstBucketOffset = 42; } buildCounterHistogram--; @@ -1860,7 +1872,7 @@ api.Histogram buildHistogram() { void checkHistogram(api.Histogram o) { buildCounterHistogram++; if (buildCounterHistogram < 3) { - checkUnnamed8610(o.bucketCounts!); + checkUnnamed8715(o.bucketCounts!); unittest.expect( o.firstBucketOffset!, unittest.equals(42), @@ -1928,7 +1940,7 @@ void checkInstructionInput(api.InstructionInput o) { buildCounterInstructionInput--; } -core.Map buildUnnamed8611() => { +core.Map buildUnnamed8716() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1941,7 +1953,7 @@ core.Map buildUnnamed8611() => { }, }; -void checkUnnamed8611(core.Map o) { +void checkUnnamed8716(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted10 = (o['x']!) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); @@ -1978,7 +1990,7 @@ api.InstructionOutput buildInstructionOutput() { final o = api.InstructionOutput(); buildCounterInstructionOutput++; if (buildCounterInstructionOutput < 3) { - o.codec = buildUnnamed8611(); + o.codec = buildUnnamed8716(); o.name = 'foo'; o.onlyCountKeyBytes = true; o.onlyCountValueBytes = true; @@ -1992,7 +2004,7 @@ api.InstructionOutput buildInstructionOutput() { void checkInstructionOutput(api.InstructionOutput o) { buildCounterInstructionOutput++; if (buildCounterInstructionOutput < 3) { - checkUnnamed8611(o.codec!); + checkUnnamed8716(o.codec!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2035,12 +2047,12 @@ void checkIntegerGauge(api.IntegerGauge o) { buildCounterIntegerGauge--; } -core.List buildUnnamed8612() => [ +core.List buildUnnamed8717() => [ buildSplitInt64(), buildSplitInt64(), ]; -void checkUnnamed8612(core.List o) { +void checkUnnamed8717(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSplitInt64(o[0]); checkSplitInt64(o[1]); @@ -2051,7 +2063,7 @@ api.IntegerList buildIntegerList() { final o = api.IntegerList(); buildCounterIntegerList++; if (buildCounterIntegerList < 3) { - o.elements = buildUnnamed8612(); + o.elements = buildUnnamed8717(); } buildCounterIntegerList--; return o; @@ -2060,7 +2072,7 @@ api.IntegerList buildIntegerList() { void checkIntegerList(api.IntegerList o) { buildCounterIntegerList++; if (buildCounterIntegerList < 3) { - checkUnnamed8612(o.elements!); + checkUnnamed8717(o.elements!); } buildCounterIntegerList--; } @@ -2086,12 +2098,12 @@ void checkIntegerMean(api.IntegerMean o) { buildCounterIntegerMean--; } -core.Map buildUnnamed8613() => { +core.Map buildUnnamed8718() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8613(core.Map o) { +void checkUnnamed8718(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2103,34 +2115,34 @@ void checkUnnamed8613(core.Map o) { ); } -core.List buildUnnamed8614() => [ +core.List buildUnnamed8719() => [ buildExecutionStageState(), buildExecutionStageState(), ]; -void checkUnnamed8614(core.List o) { +void checkUnnamed8719(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecutionStageState(o[0]); checkExecutionStageState(o[1]); } -core.List buildUnnamed8615() => [ +core.List buildUnnamed8720() => [ buildStep(), buildStep(), ]; -void checkUnnamed8615(core.List o) { +void checkUnnamed8720(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStep(o[0]); checkStep(o[1]); } -core.List buildUnnamed8616() => [ +core.List buildUnnamed8721() => [ 'foo', 'foo', ]; -void checkUnnamed8616(core.List o) { +void checkUnnamed8721(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2142,12 +2154,12 @@ void checkUnnamed8616(core.List o) { ); } -core.Map buildUnnamed8617() => { +core.Map buildUnnamed8722() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8617(core.Map o) { +void checkUnnamed8722(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2173,7 +2185,7 @@ api.Job buildJob() { o.executionInfo = buildJobExecutionInfo(); o.id = 'foo'; o.jobMetadata = buildJobMetadata(); - o.labels = buildUnnamed8613(); + o.labels = buildUnnamed8718(); o.location = 'foo'; o.name = 'foo'; o.pipelineDescription = buildPipelineDescription(); @@ -2182,12 +2194,12 @@ api.Job buildJob() { o.replacedByJobId = 'foo'; o.requestedState = 'foo'; o.satisfiesPzs = true; - o.stageStates = buildUnnamed8614(); + o.stageStates = buildUnnamed8719(); o.startTime = 'foo'; - o.steps = buildUnnamed8615(); + o.steps = buildUnnamed8720(); o.stepsLocation = 'foo'; - o.tempFiles = buildUnnamed8616(); - o.transformNameMapping = buildUnnamed8617(); + o.tempFiles = buildUnnamed8721(); + o.transformNameMapping = buildUnnamed8722(); o.type = 'foo'; } buildCounterJob--; @@ -2224,7 +2236,7 @@ void checkJob(api.Job o) { unittest.equals('foo'), ); checkJobMetadata(o.jobMetadata!); - checkUnnamed8613(o.labels!); + checkUnnamed8718(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -2251,18 +2263,18 @@ void checkJob(api.Job o) { unittest.equals('foo'), ); unittest.expect(o.satisfiesPzs!, unittest.isTrue); - checkUnnamed8614(o.stageStates!); + checkUnnamed8719(o.stageStates!); unittest.expect( o.startTime!, unittest.equals('foo'), ); - checkUnnamed8615(o.steps!); + checkUnnamed8720(o.steps!); unittest.expect( o.stepsLocation!, unittest.equals('foo'), ); - checkUnnamed8616(o.tempFiles!); - checkUnnamed8617(o.transformNameMapping!); + checkUnnamed8721(o.tempFiles!); + checkUnnamed8722(o.transformNameMapping!); unittest.expect( o.type!, unittest.equals('foo'), @@ -2271,12 +2283,12 @@ void checkJob(api.Job o) { buildCounterJob--; } -core.List buildUnnamed8618() => [ +core.List buildUnnamed8723() => [ buildStageSummary(), buildStageSummary(), ]; -void checkUnnamed8618(core.List o) { +void checkUnnamed8723(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStageSummary(o[0]); checkStageSummary(o[1]); @@ -2288,7 +2300,7 @@ api.JobExecutionDetails buildJobExecutionDetails() { buildCounterJobExecutionDetails++; if (buildCounterJobExecutionDetails < 3) { o.nextPageToken = 'foo'; - o.stages = buildUnnamed8618(); + o.stages = buildUnnamed8723(); } buildCounterJobExecutionDetails--; return o; @@ -2301,17 +2313,17 @@ void checkJobExecutionDetails(api.JobExecutionDetails o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8618(o.stages!); + checkUnnamed8723(o.stages!); } buildCounterJobExecutionDetails--; } -core.Map buildUnnamed8619() => { +core.Map buildUnnamed8724() => { 'x': buildJobExecutionStageInfo(), 'y': buildJobExecutionStageInfo(), }; -void checkUnnamed8619(core.Map o) { +void checkUnnamed8724(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkJobExecutionStageInfo(o['x']!); checkJobExecutionStageInfo(o['y']!); @@ -2322,7 +2334,7 @@ api.JobExecutionInfo buildJobExecutionInfo() { final o = api.JobExecutionInfo(); buildCounterJobExecutionInfo++; if (buildCounterJobExecutionInfo < 3) { - o.stages = buildUnnamed8619(); + o.stages = buildUnnamed8724(); } buildCounterJobExecutionInfo--; return o; @@ -2331,17 +2343,17 @@ api.JobExecutionInfo buildJobExecutionInfo() { void checkJobExecutionInfo(api.JobExecutionInfo o) { buildCounterJobExecutionInfo++; if (buildCounterJobExecutionInfo < 3) { - checkUnnamed8619(o.stages!); + checkUnnamed8724(o.stages!); } buildCounterJobExecutionInfo--; } -core.List buildUnnamed8620() => [ +core.List buildUnnamed8725() => [ 'foo', 'foo', ]; -void checkUnnamed8620(core.List o) { +void checkUnnamed8725(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2358,7 +2370,7 @@ api.JobExecutionStageInfo buildJobExecutionStageInfo() { final o = api.JobExecutionStageInfo(); buildCounterJobExecutionStageInfo++; if (buildCounterJobExecutionStageInfo < 3) { - o.stepName = buildUnnamed8620(); + o.stepName = buildUnnamed8725(); } buildCounterJobExecutionStageInfo--; return o; @@ -2367,7 +2379,7 @@ api.JobExecutionStageInfo buildJobExecutionStageInfo() { void checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { buildCounterJobExecutionStageInfo++; if (buildCounterJobExecutionStageInfo < 3) { - checkUnnamed8620(o.stepName!); + checkUnnamed8725(o.stepName!); } buildCounterJobExecutionStageInfo--; } @@ -2409,67 +2421,67 @@ void checkJobMessage(api.JobMessage o) { buildCounterJobMessage--; } -core.List buildUnnamed8621() => [ +core.List buildUnnamed8726() => [ buildBigTableIODetails(), buildBigTableIODetails(), ]; -void checkUnnamed8621(core.List o) { +void checkUnnamed8726(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBigTableIODetails(o[0]); checkBigTableIODetails(o[1]); } -core.List buildUnnamed8622() => [ +core.List buildUnnamed8727() => [ buildBigQueryIODetails(), buildBigQueryIODetails(), ]; -void checkUnnamed8622(core.List o) { +void checkUnnamed8727(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBigQueryIODetails(o[0]); checkBigQueryIODetails(o[1]); } -core.List buildUnnamed8623() => [ +core.List buildUnnamed8728() => [ buildDatastoreIODetails(), buildDatastoreIODetails(), ]; -void checkUnnamed8623(core.List o) { +void checkUnnamed8728(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatastoreIODetails(o[0]); checkDatastoreIODetails(o[1]); } -core.List buildUnnamed8624() => [ +core.List buildUnnamed8729() => [ buildFileIODetails(), buildFileIODetails(), ]; -void checkUnnamed8624(core.List o) { +void checkUnnamed8729(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileIODetails(o[0]); checkFileIODetails(o[1]); } -core.List buildUnnamed8625() => [ +core.List buildUnnamed8730() => [ buildPubSubIODetails(), buildPubSubIODetails(), ]; -void checkUnnamed8625(core.List o) { +void checkUnnamed8730(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPubSubIODetails(o[0]); checkPubSubIODetails(o[1]); } -core.List buildUnnamed8626() => [ +core.List buildUnnamed8731() => [ buildSpannerIODetails(), buildSpannerIODetails(), ]; -void checkUnnamed8626(core.List o) { +void checkUnnamed8731(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpannerIODetails(o[0]); checkSpannerIODetails(o[1]); @@ -2480,13 +2492,13 @@ api.JobMetadata buildJobMetadata() { final o = api.JobMetadata(); buildCounterJobMetadata++; if (buildCounterJobMetadata < 3) { - o.bigTableDetails = buildUnnamed8621(); - o.bigqueryDetails = buildUnnamed8622(); - o.datastoreDetails = buildUnnamed8623(); - o.fileDetails = buildUnnamed8624(); - o.pubsubDetails = buildUnnamed8625(); + o.bigTableDetails = buildUnnamed8726(); + o.bigqueryDetails = buildUnnamed8727(); + o.datastoreDetails = buildUnnamed8728(); + o.fileDetails = buildUnnamed8729(); + o.pubsubDetails = buildUnnamed8730(); o.sdkVersion = buildSdkVersion(); - o.spannerDetails = buildUnnamed8626(); + o.spannerDetails = buildUnnamed8731(); } buildCounterJobMetadata--; return o; @@ -2495,23 +2507,23 @@ api.JobMetadata buildJobMetadata() { void checkJobMetadata(api.JobMetadata o) { buildCounterJobMetadata++; if (buildCounterJobMetadata < 3) { - checkUnnamed8621(o.bigTableDetails!); - checkUnnamed8622(o.bigqueryDetails!); - checkUnnamed8623(o.datastoreDetails!); - checkUnnamed8624(o.fileDetails!); - checkUnnamed8625(o.pubsubDetails!); + checkUnnamed8726(o.bigTableDetails!); + checkUnnamed8727(o.bigqueryDetails!); + checkUnnamed8728(o.datastoreDetails!); + checkUnnamed8729(o.fileDetails!); + checkUnnamed8730(o.pubsubDetails!); checkSdkVersion(o.sdkVersion!); - checkUnnamed8626(o.spannerDetails!); + checkUnnamed8731(o.spannerDetails!); } buildCounterJobMetadata--; } -core.List buildUnnamed8627() => [ +core.List buildUnnamed8732() => [ buildMetricUpdate(), buildMetricUpdate(), ]; -void checkUnnamed8627(core.List o) { +void checkUnnamed8732(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricUpdate(o[0]); checkMetricUpdate(o[1]); @@ -2523,7 +2535,7 @@ api.JobMetrics buildJobMetrics() { buildCounterJobMetrics++; if (buildCounterJobMetrics < 3) { o.metricTime = 'foo'; - o.metrics = buildUnnamed8627(); + o.metrics = buildUnnamed8732(); } buildCounterJobMetrics--; return o; @@ -2536,7 +2548,7 @@ void checkJobMetrics(api.JobMetrics o) { o.metricTime!, unittest.equals('foo'), ); - checkUnnamed8627(o.metrics!); + checkUnnamed8732(o.metrics!); } buildCounterJobMetrics--; } @@ -2615,12 +2627,12 @@ void checkKeyRangeLocation(api.KeyRangeLocation o) { buildCounterKeyRangeLocation--; } -core.Map buildUnnamed8628() => { +core.Map buildUnnamed8733() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8628(core.Map o) { +void checkUnnamed8733(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2632,12 +2644,12 @@ void checkUnnamed8628(core.Map o) { ); } -core.Map buildUnnamed8629() => { +core.Map buildUnnamed8734() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8629(core.Map o) { +void checkUnnamed8734(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2649,12 +2661,12 @@ void checkUnnamed8629(core.Map o) { ); } -core.Map buildUnnamed8630() => { +core.Map buildUnnamed8735() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8630(core.Map o) { +void checkUnnamed8735(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2675,9 +2687,9 @@ api.LaunchFlexTemplateParameter buildLaunchFlexTemplateParameter() { o.containerSpecGcsPath = 'foo'; o.environment = buildFlexTemplateRuntimeEnvironment(); o.jobName = 'foo'; - o.launchOptions = buildUnnamed8628(); - o.parameters = buildUnnamed8629(); - o.transformNameMappings = buildUnnamed8630(); + o.launchOptions = buildUnnamed8733(); + o.parameters = buildUnnamed8734(); + o.transformNameMappings = buildUnnamed8735(); o.update = true; } buildCounterLaunchFlexTemplateParameter--; @@ -2697,9 +2709,9 @@ void checkLaunchFlexTemplateParameter(api.LaunchFlexTemplateParameter o) { o.jobName!, unittest.equals('foo'), ); - checkUnnamed8628(o.launchOptions!); - checkUnnamed8629(o.parameters!); - checkUnnamed8630(o.transformNameMappings!); + checkUnnamed8733(o.launchOptions!); + checkUnnamed8734(o.parameters!); + checkUnnamed8735(o.transformNameMappings!); unittest.expect(o.update!, unittest.isTrue); } buildCounterLaunchFlexTemplateParameter--; @@ -2745,12 +2757,12 @@ void checkLaunchFlexTemplateResponse(api.LaunchFlexTemplateResponse o) { buildCounterLaunchFlexTemplateResponse--; } -core.Map buildUnnamed8631() => { +core.Map buildUnnamed8736() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8631(core.Map o) { +void checkUnnamed8736(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2762,12 +2774,12 @@ void checkUnnamed8631(core.Map o) { ); } -core.Map buildUnnamed8632() => { +core.Map buildUnnamed8737() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8632(core.Map o) { +void checkUnnamed8737(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2786,8 +2798,8 @@ api.LaunchTemplateParameters buildLaunchTemplateParameters() { if (buildCounterLaunchTemplateParameters < 3) { o.environment = buildRuntimeEnvironment(); o.jobName = 'foo'; - o.parameters = buildUnnamed8631(); - o.transformNameMapping = buildUnnamed8632(); + o.parameters = buildUnnamed8736(); + o.transformNameMapping = buildUnnamed8737(); o.update = true; } buildCounterLaunchTemplateParameters--; @@ -2802,8 +2814,8 @@ void checkLaunchTemplateParameters(api.LaunchTemplateParameters o) { o.jobName!, unittest.equals('foo'), ); - checkUnnamed8631(o.parameters!); - checkUnnamed8632(o.transformNameMapping!); + checkUnnamed8736(o.parameters!); + checkUnnamed8737(o.transformNameMapping!); unittest.expect(o.update!, unittest.isTrue); } buildCounterLaunchTemplateParameters--; @@ -2828,7 +2840,7 @@ void checkLaunchTemplateResponse(api.LaunchTemplateResponse o) { buildCounterLaunchTemplateResponse--; } -core.Map buildUnnamed8633() => { +core.Map buildUnnamed8738() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2841,7 +2853,7 @@ core.Map buildUnnamed8633() => { }, }; -void checkUnnamed8633(core.Map o) { +void checkUnnamed8738(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted12 = (o['x']!) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); @@ -2873,12 +2885,12 @@ void checkUnnamed8633(core.Map o) { ); } -core.List buildUnnamed8634() => [ +core.List buildUnnamed8739() => [ 'foo', 'foo', ]; -void checkUnnamed8634(core.List o) { +void checkUnnamed8739(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2890,12 +2902,12 @@ void checkUnnamed8634(core.List o) { ); } -core.List buildUnnamed8635() => [ +core.List buildUnnamed8740() => [ 'foo', 'foo', ]; -void checkUnnamed8635(core.List o) { +void checkUnnamed8740(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2915,9 +2927,9 @@ api.LeaseWorkItemRequest buildLeaseWorkItemRequest() { o.currentWorkerTime = 'foo'; o.location = 'foo'; o.requestedLeaseDuration = 'foo'; - o.unifiedWorkerRequest = buildUnnamed8633(); - o.workItemTypes = buildUnnamed8634(); - o.workerCapabilities = buildUnnamed8635(); + o.unifiedWorkerRequest = buildUnnamed8738(); + o.workItemTypes = buildUnnamed8739(); + o.workerCapabilities = buildUnnamed8740(); o.workerId = 'foo'; } buildCounterLeaseWorkItemRequest--; @@ -2939,9 +2951,9 @@ void checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { o.requestedLeaseDuration!, unittest.equals('foo'), ); - checkUnnamed8633(o.unifiedWorkerRequest!); - checkUnnamed8634(o.workItemTypes!); - checkUnnamed8635(o.workerCapabilities!); + checkUnnamed8738(o.unifiedWorkerRequest!); + checkUnnamed8739(o.workItemTypes!); + checkUnnamed8740(o.workerCapabilities!); unittest.expect( o.workerId!, unittest.equals('foo'), @@ -2950,7 +2962,7 @@ void checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { buildCounterLeaseWorkItemRequest--; } -core.Map buildUnnamed8636() => { +core.Map buildUnnamed8741() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2963,7 +2975,7 @@ core.Map buildUnnamed8636() => { }, }; -void checkUnnamed8636(core.Map o) { +void checkUnnamed8741(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted14 = (o['x']!) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); @@ -2995,12 +3007,12 @@ void checkUnnamed8636(core.Map o) { ); } -core.List buildUnnamed8637() => [ +core.List buildUnnamed8742() => [ buildWorkItem(), buildWorkItem(), ]; -void checkUnnamed8637(core.List o) { +void checkUnnamed8742(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkItem(o[0]); checkWorkItem(o[1]); @@ -3011,8 +3023,8 @@ api.LeaseWorkItemResponse buildLeaseWorkItemResponse() { final o = api.LeaseWorkItemResponse(); buildCounterLeaseWorkItemResponse++; if (buildCounterLeaseWorkItemResponse < 3) { - o.unifiedWorkerResponse = buildUnnamed8636(); - o.workItems = buildUnnamed8637(); + o.unifiedWorkerResponse = buildUnnamed8741(); + o.workItems = buildUnnamed8742(); } buildCounterLeaseWorkItemResponse--; return o; @@ -3021,29 +3033,29 @@ api.LeaseWorkItemResponse buildLeaseWorkItemResponse() { void checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { buildCounterLeaseWorkItemResponse++; if (buildCounterLeaseWorkItemResponse < 3) { - checkUnnamed8636(o.unifiedWorkerResponse!); - checkUnnamed8637(o.workItems!); + checkUnnamed8741(o.unifiedWorkerResponse!); + checkUnnamed8742(o.workItems!); } buildCounterLeaseWorkItemResponse--; } -core.List buildUnnamed8638() => [ +core.List buildUnnamed8743() => [ buildAutoscalingEvent(), buildAutoscalingEvent(), ]; -void checkUnnamed8638(core.List o) { +void checkUnnamed8743(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalingEvent(o[0]); checkAutoscalingEvent(o[1]); } -core.List buildUnnamed8639() => [ +core.List buildUnnamed8744() => [ buildJobMessage(), buildJobMessage(), ]; -void checkUnnamed8639(core.List o) { +void checkUnnamed8744(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobMessage(o[0]); checkJobMessage(o[1]); @@ -3054,8 +3066,8 @@ api.ListJobMessagesResponse buildListJobMessagesResponse() { final o = api.ListJobMessagesResponse(); buildCounterListJobMessagesResponse++; if (buildCounterListJobMessagesResponse < 3) { - o.autoscalingEvents = buildUnnamed8638(); - o.jobMessages = buildUnnamed8639(); + o.autoscalingEvents = buildUnnamed8743(); + o.jobMessages = buildUnnamed8744(); o.nextPageToken = 'foo'; } buildCounterListJobMessagesResponse--; @@ -3065,8 +3077,8 @@ api.ListJobMessagesResponse buildListJobMessagesResponse() { void checkListJobMessagesResponse(api.ListJobMessagesResponse o) { buildCounterListJobMessagesResponse++; if (buildCounterListJobMessagesResponse < 3) { - checkUnnamed8638(o.autoscalingEvents!); - checkUnnamed8639(o.jobMessages!); + checkUnnamed8743(o.autoscalingEvents!); + checkUnnamed8744(o.jobMessages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3075,23 +3087,23 @@ void checkListJobMessagesResponse(api.ListJobMessagesResponse o) { buildCounterListJobMessagesResponse--; } -core.List buildUnnamed8640() => [ +core.List buildUnnamed8745() => [ buildFailedLocation(), buildFailedLocation(), ]; -void checkUnnamed8640(core.List o) { +void checkUnnamed8745(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFailedLocation(o[0]); checkFailedLocation(o[1]); } -core.List buildUnnamed8641() => [ +core.List buildUnnamed8746() => [ buildJob(), buildJob(), ]; -void checkUnnamed8641(core.List o) { +void checkUnnamed8746(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -3102,8 +3114,8 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.failedLocation = buildUnnamed8640(); - o.jobs = buildUnnamed8641(); + o.failedLocation = buildUnnamed8745(); + o.jobs = buildUnnamed8746(); o.nextPageToken = 'foo'; } buildCounterListJobsResponse--; @@ -3113,8 +3125,8 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed8640(o.failedLocation!); - checkUnnamed8641(o.jobs!); + checkUnnamed8745(o.failedLocation!); + checkUnnamed8746(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3123,12 +3135,12 @@ void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse--; } -core.List buildUnnamed8642() => [ +core.List buildUnnamed8747() => [ buildSnapshot(), buildSnapshot(), ]; -void checkUnnamed8642(core.List o) { +void checkUnnamed8747(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -3139,7 +3151,7 @@ api.ListSnapshotsResponse buildListSnapshotsResponse() { final o = api.ListSnapshotsResponse(); buildCounterListSnapshotsResponse++; if (buildCounterListSnapshotsResponse < 3) { - o.snapshots = buildUnnamed8642(); + o.snapshots = buildUnnamed8747(); } buildCounterListSnapshotsResponse--; return o; @@ -3148,17 +3160,17 @@ api.ListSnapshotsResponse buildListSnapshotsResponse() { void checkListSnapshotsResponse(api.ListSnapshotsResponse o) { buildCounterListSnapshotsResponse++; if (buildCounterListSnapshotsResponse < 3) { - checkUnnamed8642(o.snapshots!); + checkUnnamed8747(o.snapshots!); } buildCounterListSnapshotsResponse--; } -core.List buildUnnamed8643() => [ +core.List buildUnnamed8748() => [ buildParallelInstruction(), buildParallelInstruction(), ]; -void checkUnnamed8643(core.List o) { +void checkUnnamed8748(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParallelInstruction(o[0]); checkParallelInstruction(o[1]); @@ -3170,7 +3182,7 @@ api.MapTask buildMapTask() { buildCounterMapTask++; if (buildCounterMapTask < 3) { o.counterPrefix = 'foo'; - o.instructions = buildUnnamed8643(); + o.instructions = buildUnnamed8748(); o.stageName = 'foo'; o.systemName = 'foo'; } @@ -3185,7 +3197,7 @@ void checkMapTask(api.MapTask o) { o.counterPrefix!, unittest.equals('foo'), ); - checkUnnamed8643(o.instructions!); + checkUnnamed8748(o.instructions!); unittest.expect( o.stageName!, unittest.equals('foo'), @@ -3262,12 +3274,12 @@ void checkMetricShortId(api.MetricShortId o) { buildCounterMetricShortId--; } -core.Map buildUnnamed8644() => { +core.Map buildUnnamed8749() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8644(core.Map o) { +void checkUnnamed8749(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3284,7 +3296,7 @@ api.MetricStructuredName buildMetricStructuredName() { final o = api.MetricStructuredName(); buildCounterMetricStructuredName++; if (buildCounterMetricStructuredName < 3) { - o.context = buildUnnamed8644(); + o.context = buildUnnamed8749(); o.name = 'foo'; o.origin = 'foo'; } @@ -3295,7 +3307,7 @@ api.MetricStructuredName buildMetricStructuredName() { void checkMetricStructuredName(api.MetricStructuredName o) { buildCounterMetricStructuredName++; if (buildCounterMetricStructuredName < 3) { - checkUnnamed8644(o.context!); + checkUnnamed8749(o.context!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3570,29 +3582,29 @@ void checkPackage(api.Package o) { buildCounterPackage--; } -core.List buildUnnamed8645() => [ +core.List buildUnnamed8750() => [ buildMultiOutputInfo(), buildMultiOutputInfo(), ]; -void checkUnnamed8645(core.List o) { +void checkUnnamed8750(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMultiOutputInfo(o[0]); checkMultiOutputInfo(o[1]); } -core.List buildUnnamed8646() => [ +core.List buildUnnamed8751() => [ buildSideInputInfo(), buildSideInputInfo(), ]; -void checkUnnamed8646(core.List o) { +void checkUnnamed8751(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSideInputInfo(o[0]); checkSideInputInfo(o[1]); } -core.Map buildUnnamed8647() => { +core.Map buildUnnamed8752() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3605,7 +3617,7 @@ core.Map buildUnnamed8647() => { }, }; -void checkUnnamed8647(core.Map o) { +void checkUnnamed8752(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted23 = (o['x']!) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); @@ -3643,10 +3655,10 @@ api.ParDoInstruction buildParDoInstruction() { buildCounterParDoInstruction++; if (buildCounterParDoInstruction < 3) { o.input = buildInstructionInput(); - o.multiOutputInfos = buildUnnamed8645(); + o.multiOutputInfos = buildUnnamed8750(); o.numOutputs = 42; - o.sideInputs = buildUnnamed8646(); - o.userFn = buildUnnamed8647(); + o.sideInputs = buildUnnamed8751(); + o.userFn = buildUnnamed8752(); } buildCounterParDoInstruction--; return o; @@ -3656,23 +3668,23 @@ void checkParDoInstruction(api.ParDoInstruction o) { buildCounterParDoInstruction++; if (buildCounterParDoInstruction < 3) { checkInstructionInput(o.input!); - checkUnnamed8645(o.multiOutputInfos!); + checkUnnamed8750(o.multiOutputInfos!); unittest.expect( o.numOutputs!, unittest.equals(42), ); - checkUnnamed8646(o.sideInputs!); - checkUnnamed8647(o.userFn!); + checkUnnamed8751(o.sideInputs!); + checkUnnamed8752(o.userFn!); } buildCounterParDoInstruction--; } -core.List buildUnnamed8648() => [ +core.List buildUnnamed8753() => [ buildInstructionOutput(), buildInstructionOutput(), ]; -void checkUnnamed8648(core.List o) { +void checkUnnamed8753(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstructionOutput(o[0]); checkInstructionOutput(o[1]); @@ -3686,7 +3698,7 @@ api.ParallelInstruction buildParallelInstruction() { o.flatten = buildFlattenInstruction(); o.name = 'foo'; o.originalName = 'foo'; - o.outputs = buildUnnamed8648(); + o.outputs = buildUnnamed8753(); o.parDo = buildParDoInstruction(); o.partialGroupByKey = buildPartialGroupByKeyInstruction(); o.read = buildReadInstruction(); @@ -3709,7 +3721,7 @@ void checkParallelInstruction(api.ParallelInstruction o) { o.originalName!, unittest.equals('foo'), ); - checkUnnamed8648(o.outputs!); + checkUnnamed8753(o.outputs!); checkParDoInstruction(o.parDo!); checkPartialGroupByKeyInstruction(o.partialGroupByKey!); checkReadInstruction(o.read!); @@ -3763,12 +3775,12 @@ void checkParameter(api.Parameter o) { buildCounterParameter--; } -core.Map buildUnnamed8649() => { +core.Map buildUnnamed8754() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8649(core.Map o) { +void checkUnnamed8754(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3780,12 +3792,12 @@ void checkUnnamed8649(core.Map o) { ); } -core.List buildUnnamed8650() => [ +core.List buildUnnamed8755() => [ 'foo', 'foo', ]; -void checkUnnamed8650(core.List o) { +void checkUnnamed8755(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3802,13 +3814,13 @@ api.ParameterMetadata buildParameterMetadata() { final o = api.ParameterMetadata(); buildCounterParameterMetadata++; if (buildCounterParameterMetadata < 3) { - o.customMetadata = buildUnnamed8649(); + o.customMetadata = buildUnnamed8754(); o.helpText = 'foo'; o.isOptional = true; o.label = 'foo'; o.name = 'foo'; o.paramType = 'foo'; - o.regexes = buildUnnamed8650(); + o.regexes = buildUnnamed8755(); } buildCounterParameterMetadata--; return o; @@ -3817,7 +3829,7 @@ api.ParameterMetadata buildParameterMetadata() { void checkParameterMetadata(api.ParameterMetadata o) { buildCounterParameterMetadata++; if (buildCounterParameterMetadata < 3) { - checkUnnamed8649(o.customMetadata!); + checkUnnamed8754(o.customMetadata!); unittest.expect( o.helpText!, unittest.equals('foo'), @@ -3835,12 +3847,12 @@ void checkParameterMetadata(api.ParameterMetadata o) { o.paramType!, unittest.equals('foo'), ); - checkUnnamed8650(o.regexes!); + checkUnnamed8755(o.regexes!); } buildCounterParameterMetadata--; } -core.Map buildUnnamed8651() => { +core.Map buildUnnamed8756() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3853,7 +3865,7 @@ core.Map buildUnnamed8651() => { }, }; -void checkUnnamed8651(core.Map o) { +void checkUnnamed8756(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted26 = (o['x']!) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); @@ -3885,18 +3897,18 @@ void checkUnnamed8651(core.Map o) { ); } -core.List buildUnnamed8652() => [ +core.List buildUnnamed8757() => [ buildSideInputInfo(), buildSideInputInfo(), ]; -void checkUnnamed8652(core.List o) { +void checkUnnamed8757(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSideInputInfo(o[0]); checkSideInputInfo(o[1]); } -core.Map buildUnnamed8653() => { +core.Map buildUnnamed8758() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3909,7 +3921,7 @@ core.Map buildUnnamed8653() => { }, }; -void checkUnnamed8653(core.Map o) { +void checkUnnamed8758(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted28 = (o['x']!) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); @@ -3947,11 +3959,11 @@ api.PartialGroupByKeyInstruction buildPartialGroupByKeyInstruction() { buildCounterPartialGroupByKeyInstruction++; if (buildCounterPartialGroupByKeyInstruction < 3) { o.input = buildInstructionInput(); - o.inputElementCodec = buildUnnamed8651(); + o.inputElementCodec = buildUnnamed8756(); o.originalCombineValuesInputStoreName = 'foo'; o.originalCombineValuesStepName = 'foo'; - o.sideInputs = buildUnnamed8652(); - o.valueCombiningFn = buildUnnamed8653(); + o.sideInputs = buildUnnamed8757(); + o.valueCombiningFn = buildUnnamed8758(); } buildCounterPartialGroupByKeyInstruction--; return o; @@ -3961,7 +3973,7 @@ void checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { buildCounterPartialGroupByKeyInstruction++; if (buildCounterPartialGroupByKeyInstruction < 3) { checkInstructionInput(o.input!); - checkUnnamed8651(o.inputElementCodec!); + checkUnnamed8756(o.inputElementCodec!); unittest.expect( o.originalCombineValuesInputStoreName!, unittest.equals('foo'), @@ -3970,40 +3982,40 @@ void checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { o.originalCombineValuesStepName!, unittest.equals('foo'), ); - checkUnnamed8652(o.sideInputs!); - checkUnnamed8653(o.valueCombiningFn!); + checkUnnamed8757(o.sideInputs!); + checkUnnamed8758(o.valueCombiningFn!); } buildCounterPartialGroupByKeyInstruction--; } -core.List buildUnnamed8654() => [ +core.List buildUnnamed8759() => [ buildDisplayData(), buildDisplayData(), ]; -void checkUnnamed8654(core.List o) { +void checkUnnamed8759(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisplayData(o[0]); checkDisplayData(o[1]); } -core.List buildUnnamed8655() => [ +core.List buildUnnamed8760() => [ buildExecutionStageSummary(), buildExecutionStageSummary(), ]; -void checkUnnamed8655(core.List o) { +void checkUnnamed8760(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecutionStageSummary(o[0]); checkExecutionStageSummary(o[1]); } -core.List buildUnnamed8656() => [ +core.List buildUnnamed8761() => [ buildTransformSummary(), buildTransformSummary(), ]; -void checkUnnamed8656(core.List o) { +void checkUnnamed8761(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransformSummary(o[0]); checkTransformSummary(o[1]); @@ -4014,9 +4026,9 @@ api.PipelineDescription buildPipelineDescription() { final o = api.PipelineDescription(); buildCounterPipelineDescription++; if (buildCounterPipelineDescription < 3) { - o.displayData = buildUnnamed8654(); - o.executionPipelineStage = buildUnnamed8655(); - o.originalPipelineTransform = buildUnnamed8656(); + o.displayData = buildUnnamed8759(); + o.executionPipelineStage = buildUnnamed8760(); + o.originalPipelineTransform = buildUnnamed8761(); } buildCounterPipelineDescription--; return o; @@ -4025,9 +4037,9 @@ api.PipelineDescription buildPipelineDescription() { void checkPipelineDescription(api.PipelineDescription o) { buildCounterPipelineDescription++; if (buildCounterPipelineDescription < 3) { - checkUnnamed8654(o.displayData!); - checkUnnamed8655(o.executionPipelineStage!); - checkUnnamed8656(o.originalPipelineTransform!); + checkUnnamed8759(o.displayData!); + checkUnnamed8760(o.executionPipelineStage!); + checkUnnamed8761(o.originalPipelineTransform!); } buildCounterPipelineDescription--; } @@ -4100,12 +4112,12 @@ void checkPosition(api.Position o) { buildCounterPosition--; } -core.List buildUnnamed8657() => [ +core.List buildUnnamed8762() => [ buildPoint(), buildPoint(), ]; -void checkUnnamed8657(core.List o) { +void checkUnnamed8762(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPoint(o[0]); checkPoint(o[1]); @@ -4117,7 +4129,7 @@ api.ProgressTimeseries buildProgressTimeseries() { buildCounterProgressTimeseries++; if (buildCounterProgressTimeseries < 3) { o.currentProgress = 42.0; - o.dataPoints = buildUnnamed8657(); + o.dataPoints = buildUnnamed8762(); } buildCounterProgressTimeseries--; return o; @@ -4130,7 +4142,7 @@ void checkProgressTimeseries(api.ProgressTimeseries o) { o.currentProgress!, unittest.equals(42.0), ); - checkUnnamed8657(o.dataPoints!); + checkUnnamed8762(o.dataPoints!); } buildCounterProgressTimeseries--; } @@ -4240,12 +4252,12 @@ void checkPubsubSnapshotMetadata(api.PubsubSnapshotMetadata o) { buildCounterPubsubSnapshotMetadata--; } -core.List buildUnnamed8658() => [ +core.List buildUnnamed8763() => [ 'foo', 'foo', ]; -void checkUnnamed8658(core.List o) { +void checkUnnamed8763(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4262,7 +4274,7 @@ api.QueryInfo buildQueryInfo() { final o = api.QueryInfo(); buildCounterQueryInfo++; if (buildCounterQueryInfo < 3) { - o.queryProperty = buildUnnamed8658(); + o.queryProperty = buildUnnamed8763(); } buildCounterQueryInfo--; return o; @@ -4271,7 +4283,7 @@ api.QueryInfo buildQueryInfo() { void checkQueryInfo(api.QueryInfo o) { buildCounterQueryInfo++; if (buildCounterQueryInfo < 3) { - checkUnnamed8658(o.queryProperty!); + checkUnnamed8763(o.queryProperty!); } buildCounterQueryInfo--; } @@ -4295,7 +4307,7 @@ void checkReadInstruction(api.ReadInstruction o) { buildCounterReadInstruction--; } -core.Map buildUnnamed8659() => { +core.Map buildUnnamed8764() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4308,7 +4320,7 @@ core.Map buildUnnamed8659() => { }, }; -void checkUnnamed8659(core.Map o) { +void checkUnnamed8764(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted30 = (o['x']!) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); @@ -4340,12 +4352,12 @@ void checkUnnamed8659(core.Map o) { ); } -core.List buildUnnamed8660() => [ +core.List buildUnnamed8765() => [ buildWorkItemStatus(), buildWorkItemStatus(), ]; -void checkUnnamed8660(core.List o) { +void checkUnnamed8765(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkItemStatus(o[0]); checkWorkItemStatus(o[1]); @@ -4358,8 +4370,8 @@ api.ReportWorkItemStatusRequest buildReportWorkItemStatusRequest() { if (buildCounterReportWorkItemStatusRequest < 3) { o.currentWorkerTime = 'foo'; o.location = 'foo'; - o.unifiedWorkerRequest = buildUnnamed8659(); - o.workItemStatuses = buildUnnamed8660(); + o.unifiedWorkerRequest = buildUnnamed8764(); + o.workItemStatuses = buildUnnamed8765(); o.workerId = 'foo'; } buildCounterReportWorkItemStatusRequest--; @@ -4377,8 +4389,8 @@ void checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { o.location!, unittest.equals('foo'), ); - checkUnnamed8659(o.unifiedWorkerRequest!); - checkUnnamed8660(o.workItemStatuses!); + checkUnnamed8764(o.unifiedWorkerRequest!); + checkUnnamed8765(o.workItemStatuses!); unittest.expect( o.workerId!, unittest.equals('foo'), @@ -4387,7 +4399,7 @@ void checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { buildCounterReportWorkItemStatusRequest--; } -core.Map buildUnnamed8661() => { +core.Map buildUnnamed8766() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4400,7 +4412,7 @@ core.Map buildUnnamed8661() => { }, }; -void checkUnnamed8661(core.Map o) { +void checkUnnamed8766(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted32 = (o['x']!) as core.Map; unittest.expect(casted32, unittest.hasLength(3)); @@ -4432,12 +4444,12 @@ void checkUnnamed8661(core.Map o) { ); } -core.List buildUnnamed8662() => [ +core.List buildUnnamed8767() => [ buildWorkItemServiceState(), buildWorkItemServiceState(), ]; -void checkUnnamed8662(core.List o) { +void checkUnnamed8767(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkItemServiceState(o[0]); checkWorkItemServiceState(o[1]); @@ -4448,8 +4460,8 @@ api.ReportWorkItemStatusResponse buildReportWorkItemStatusResponse() { final o = api.ReportWorkItemStatusResponse(); buildCounterReportWorkItemStatusResponse++; if (buildCounterReportWorkItemStatusResponse < 3) { - o.unifiedWorkerResponse = buildUnnamed8661(); - o.workItemServiceStates = buildUnnamed8662(); + o.unifiedWorkerResponse = buildUnnamed8766(); + o.workItemServiceStates = buildUnnamed8767(); } buildCounterReportWorkItemStatusResponse--; return o; @@ -4458,8 +4470,8 @@ api.ReportWorkItemStatusResponse buildReportWorkItemStatusResponse() { void checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { buildCounterReportWorkItemStatusResponse++; if (buildCounterReportWorkItemStatusResponse < 3) { - checkUnnamed8661(o.unifiedWorkerResponse!); - checkUnnamed8662(o.workItemServiceStates!); + checkUnnamed8766(o.unifiedWorkerResponse!); + checkUnnamed8767(o.workItemServiceStates!); } buildCounterReportWorkItemStatusResponse--; } @@ -4488,34 +4500,34 @@ void checkReportedParallelism(api.ReportedParallelism o) { buildCounterReportedParallelism--; } -core.Map buildUnnamed8663() => { +core.Map buildUnnamed8768() => { 'x': buildResourceUtilizationReport(), 'y': buildResourceUtilizationReport(), }; -void checkUnnamed8663(core.Map o) { +void checkUnnamed8768(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkResourceUtilizationReport(o['x']!); checkResourceUtilizationReport(o['y']!); } -core.List buildUnnamed8664() => [ +core.List buildUnnamed8769() => [ buildCPUTime(), buildCPUTime(), ]; -void checkUnnamed8664(core.List o) { +void checkUnnamed8769(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCPUTime(o[0]); checkCPUTime(o[1]); } -core.List buildUnnamed8665() => [ +core.List buildUnnamed8770() => [ buildMemInfo(), buildMemInfo(), ]; -void checkUnnamed8665(core.List o) { +void checkUnnamed8770(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMemInfo(o[0]); checkMemInfo(o[1]); @@ -4526,9 +4538,9 @@ api.ResourceUtilizationReport buildResourceUtilizationReport() { final o = api.ResourceUtilizationReport(); buildCounterResourceUtilizationReport++; if (buildCounterResourceUtilizationReport < 3) { - o.containers = buildUnnamed8663(); - o.cpuTime = buildUnnamed8664(); - o.memoryInfo = buildUnnamed8665(); + o.containers = buildUnnamed8768(); + o.cpuTime = buildUnnamed8769(); + o.memoryInfo = buildUnnamed8770(); } buildCounterResourceUtilizationReport--; return o; @@ -4537,9 +4549,9 @@ api.ResourceUtilizationReport buildResourceUtilizationReport() { void checkResourceUtilizationReport(api.ResourceUtilizationReport o) { buildCounterResourceUtilizationReport++; if (buildCounterResourceUtilizationReport < 3) { - checkUnnamed8663(o.containers!); - checkUnnamed8664(o.cpuTime!); - checkUnnamed8665(o.memoryInfo!); + checkUnnamed8768(o.containers!); + checkUnnamed8769(o.cpuTime!); + checkUnnamed8770(o.memoryInfo!); } buildCounterResourceUtilizationReport--; } @@ -4560,12 +4572,12 @@ void checkResourceUtilizationReportResponse( buildCounterResourceUtilizationReportResponse--; } -core.List buildUnnamed8666() => [ +core.List buildUnnamed8771() => [ 'foo', 'foo', ]; -void checkUnnamed8666(core.List o) { +void checkUnnamed8771(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4577,12 +4589,12 @@ void checkUnnamed8666(core.List o) { ); } -core.Map buildUnnamed8667() => { +core.Map buildUnnamed8772() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8667(core.Map o) { +void checkUnnamed8772(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4599,8 +4611,8 @@ api.RuntimeEnvironment buildRuntimeEnvironment() { final o = api.RuntimeEnvironment(); buildCounterRuntimeEnvironment++; if (buildCounterRuntimeEnvironment < 3) { - o.additionalExperiments = buildUnnamed8666(); - o.additionalUserLabels = buildUnnamed8667(); + o.additionalExperiments = buildUnnamed8771(); + o.additionalUserLabels = buildUnnamed8772(); o.bypassTempDirValidation = true; o.enableStreamingEngine = true; o.ipConfiguration = 'foo'; @@ -4623,8 +4635,8 @@ api.RuntimeEnvironment buildRuntimeEnvironment() { void checkRuntimeEnvironment(api.RuntimeEnvironment o) { buildCounterRuntimeEnvironment++; if (buildCounterRuntimeEnvironment < 3) { - checkUnnamed8666(o.additionalExperiments!); - checkUnnamed8667(o.additionalUserLabels!); + checkUnnamed8771(o.additionalExperiments!); + checkUnnamed8772(o.additionalUserLabels!); unittest.expect(o.bypassTempDirValidation!, unittest.isTrue); unittest.expect(o.enableStreamingEngine!, unittest.isTrue); unittest.expect( @@ -4679,12 +4691,12 @@ void checkRuntimeEnvironment(api.RuntimeEnvironment o) { buildCounterRuntimeEnvironment--; } -core.List buildUnnamed8668() => [ +core.List buildUnnamed8773() => [ buildParameterMetadata(), buildParameterMetadata(), ]; -void checkUnnamed8668(core.List o) { +void checkUnnamed8773(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameterMetadata(o[0]); checkParameterMetadata(o[1]); @@ -4695,7 +4707,7 @@ api.RuntimeMetadata buildRuntimeMetadata() { final o = api.RuntimeMetadata(); buildCounterRuntimeMetadata++; if (buildCounterRuntimeMetadata < 3) { - o.parameters = buildUnnamed8668(); + o.parameters = buildUnnamed8773(); o.sdkInfo = buildSDKInfo(); } buildCounterRuntimeMetadata--; @@ -4705,7 +4717,7 @@ api.RuntimeMetadata buildRuntimeMetadata() { void checkRuntimeMetadata(api.RuntimeMetadata o) { buildCounterRuntimeMetadata++; if (buildCounterRuntimeMetadata < 3) { - checkUnnamed8668(o.parameters!); + checkUnnamed8773(o.parameters!); checkSDKInfo(o.sdkInfo!); } buildCounterRuntimeMetadata--; @@ -4851,12 +4863,12 @@ void checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { buildCounterSendDebugCaptureResponse--; } -core.List buildUnnamed8669() => [ +core.List buildUnnamed8774() => [ buildWorkerMessage(), buildWorkerMessage(), ]; -void checkUnnamed8669(core.List o) { +void checkUnnamed8774(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkerMessage(o[0]); checkWorkerMessage(o[1]); @@ -4868,7 +4880,7 @@ api.SendWorkerMessagesRequest buildSendWorkerMessagesRequest() { buildCounterSendWorkerMessagesRequest++; if (buildCounterSendWorkerMessagesRequest < 3) { o.location = 'foo'; - o.workerMessages = buildUnnamed8669(); + o.workerMessages = buildUnnamed8774(); } buildCounterSendWorkerMessagesRequest--; return o; @@ -4881,17 +4893,17 @@ void checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { o.location!, unittest.equals('foo'), ); - checkUnnamed8669(o.workerMessages!); + checkUnnamed8774(o.workerMessages!); } buildCounterSendWorkerMessagesRequest--; } -core.List buildUnnamed8670() => [ +core.List buildUnnamed8775() => [ buildWorkerMessageResponse(), buildWorkerMessageResponse(), ]; -void checkUnnamed8670(core.List o) { +void checkUnnamed8775(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkerMessageResponse(o[0]); checkWorkerMessageResponse(o[1]); @@ -4902,7 +4914,7 @@ api.SendWorkerMessagesResponse buildSendWorkerMessagesResponse() { final o = api.SendWorkerMessagesResponse(); buildCounterSendWorkerMessagesResponse++; if (buildCounterSendWorkerMessagesResponse < 3) { - o.workerMessageResponses = buildUnnamed8670(); + o.workerMessageResponses = buildUnnamed8775(); } buildCounterSendWorkerMessagesResponse--; return o; @@ -4911,34 +4923,34 @@ api.SendWorkerMessagesResponse buildSendWorkerMessagesResponse() { void checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { buildCounterSendWorkerMessagesResponse++; if (buildCounterSendWorkerMessagesResponse < 3) { - checkUnnamed8670(o.workerMessageResponses!); + checkUnnamed8775(o.workerMessageResponses!); } buildCounterSendWorkerMessagesResponse--; } -core.List buildUnnamed8671() => [ +core.List buildUnnamed8776() => [ buildSideInputInfo(), buildSideInputInfo(), ]; -void checkUnnamed8671(core.List o) { +void checkUnnamed8776(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSideInputInfo(o[0]); checkSideInputInfo(o[1]); } -core.List buildUnnamed8672() => [ +core.List buildUnnamed8777() => [ buildSeqMapTaskOutputInfo(), buildSeqMapTaskOutputInfo(), ]; -void checkUnnamed8672(core.List o) { +void checkUnnamed8777(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSeqMapTaskOutputInfo(o[0]); checkSeqMapTaskOutputInfo(o[1]); } -core.Map buildUnnamed8673() => { +core.Map buildUnnamed8778() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4951,7 +4963,7 @@ core.Map buildUnnamed8673() => { }, }; -void checkUnnamed8673(core.Map o) { +void checkUnnamed8778(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted34 = (o['x']!) as core.Map; unittest.expect(casted34, unittest.hasLength(3)); @@ -4988,12 +5000,12 @@ api.SeqMapTask buildSeqMapTask() { final o = api.SeqMapTask(); buildCounterSeqMapTask++; if (buildCounterSeqMapTask < 3) { - o.inputs = buildUnnamed8671(); + o.inputs = buildUnnamed8776(); o.name = 'foo'; - o.outputInfos = buildUnnamed8672(); + o.outputInfos = buildUnnamed8777(); o.stageName = 'foo'; o.systemName = 'foo'; - o.userFn = buildUnnamed8673(); + o.userFn = buildUnnamed8778(); } buildCounterSeqMapTask--; return o; @@ -5002,12 +5014,12 @@ api.SeqMapTask buildSeqMapTask() { void checkSeqMapTask(api.SeqMapTask o) { buildCounterSeqMapTask++; if (buildCounterSeqMapTask < 3) { - checkUnnamed8671(o.inputs!); + checkUnnamed8776(o.inputs!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8672(o.outputInfos!); + checkUnnamed8777(o.outputInfos!); unittest.expect( o.stageName!, unittest.equals('foo'), @@ -5016,7 +5028,7 @@ void checkSeqMapTask(api.SeqMapTask o) { o.systemName!, unittest.equals('foo'), ); - checkUnnamed8673(o.userFn!); + checkUnnamed8778(o.userFn!); } buildCounterSeqMapTask--; } @@ -5072,7 +5084,7 @@ void checkShellTask(api.ShellTask o) { buildCounterShellTask--; } -core.Map buildUnnamed8674() => { +core.Map buildUnnamed8779() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5085,7 +5097,7 @@ core.Map buildUnnamed8674() => { }, }; -void checkUnnamed8674(core.Map o) { +void checkUnnamed8779(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted36 = (o['x']!) as core.Map; unittest.expect(casted36, unittest.hasLength(3)); @@ -5117,12 +5129,12 @@ void checkUnnamed8674(core.Map o) { ); } -core.List buildUnnamed8675() => [ +core.List buildUnnamed8780() => [ buildSource(), buildSource(), ]; -void checkUnnamed8675(core.List o) { +void checkUnnamed8780(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -5133,8 +5145,8 @@ api.SideInputInfo buildSideInputInfo() { final o = api.SideInputInfo(); buildCounterSideInputInfo++; if (buildCounterSideInputInfo < 3) { - o.kind = buildUnnamed8674(); - o.sources = buildUnnamed8675(); + o.kind = buildUnnamed8779(); + o.sources = buildUnnamed8780(); o.tag = 'foo'; } buildCounterSideInputInfo--; @@ -5144,8 +5156,8 @@ api.SideInputInfo buildSideInputInfo() { void checkSideInputInfo(api.SideInputInfo o) { buildCounterSideInputInfo++; if (buildCounterSideInputInfo < 3) { - checkUnnamed8674(o.kind!); - checkUnnamed8675(o.sources!); + checkUnnamed8779(o.kind!); + checkUnnamed8780(o.sources!); unittest.expect( o.tag!, unittest.equals('foo'), @@ -5154,7 +5166,7 @@ void checkSideInputInfo(api.SideInputInfo o) { buildCounterSideInputInfo--; } -core.Map buildUnnamed8676() => { +core.Map buildUnnamed8781() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5167,7 +5179,7 @@ core.Map buildUnnamed8676() => { }, }; -void checkUnnamed8676(core.Map o) { +void checkUnnamed8781(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted38 = (o['x']!) as core.Map; unittest.expect(casted38, unittest.hasLength(3)); @@ -5199,7 +5211,7 @@ void checkUnnamed8676(core.Map o) { ); } -core.Map buildUnnamed8677() => { +core.Map buildUnnamed8782() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5212,7 +5224,7 @@ core.Map buildUnnamed8677() => { }, }; -void checkUnnamed8677(core.Map o) { +void checkUnnamed8782(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted40 = (o['x']!) as core.Map; unittest.expect(casted40, unittest.hasLength(3)); @@ -5249,8 +5261,8 @@ api.Sink buildSink() { final o = api.Sink(); buildCounterSink++; if (buildCounterSink < 3) { - o.codec = buildUnnamed8676(); - o.spec = buildUnnamed8677(); + o.codec = buildUnnamed8781(); + o.spec = buildUnnamed8782(); } buildCounterSink--; return o; @@ -5259,18 +5271,18 @@ api.Sink buildSink() { void checkSink(api.Sink o) { buildCounterSink++; if (buildCounterSink < 3) { - checkUnnamed8676(o.codec!); - checkUnnamed8677(o.spec!); + checkUnnamed8781(o.codec!); + checkUnnamed8782(o.spec!); } buildCounterSink--; } -core.List buildUnnamed8678() => [ +core.List buildUnnamed8783() => [ buildPubsubSnapshotMetadata(), buildPubsubSnapshotMetadata(), ]; -void checkUnnamed8678(core.List o) { +void checkUnnamed8783(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPubsubSnapshotMetadata(o[0]); checkPubsubSnapshotMetadata(o[1]); @@ -5286,7 +5298,7 @@ api.Snapshot buildSnapshot() { o.diskSizeBytes = 'foo'; o.id = 'foo'; o.projectId = 'foo'; - o.pubsubMetadata = buildUnnamed8678(); + o.pubsubMetadata = buildUnnamed8783(); o.region = 'foo'; o.sourceJobId = 'foo'; o.state = 'foo'; @@ -5319,7 +5331,7 @@ void checkSnapshot(api.Snapshot o) { o.projectId!, unittest.equals('foo'), ); - checkUnnamed8678(o.pubsubMetadata!); + checkUnnamed8783(o.pubsubMetadata!); unittest.expect( o.region!, unittest.equals('foo'), @@ -5374,7 +5386,7 @@ void checkSnapshotJobRequest(api.SnapshotJobRequest o) { buildCounterSnapshotJobRequest--; } -core.Map buildUnnamed8679() => { +core.Map buildUnnamed8784() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5387,7 +5399,7 @@ core.Map buildUnnamed8679() => { }, }; -void checkUnnamed8679(core.Map o) { +void checkUnnamed8784(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted42 = (o['x']!) as core.Map; unittest.expect(casted42, unittest.hasLength(3)); @@ -5419,18 +5431,18 @@ void checkUnnamed8679(core.Map o) { ); } -core.List> buildUnnamed8680() => [ - buildUnnamed8679(), - buildUnnamed8679(), +core.List> buildUnnamed8785() => [ + buildUnnamed8784(), + buildUnnamed8784(), ]; -void checkUnnamed8680(core.List> o) { +void checkUnnamed8785(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8679(o[0]); - checkUnnamed8679(o[1]); + checkUnnamed8784(o[0]); + checkUnnamed8784(o[1]); } -core.Map buildUnnamed8681() => { +core.Map buildUnnamed8786() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5443,7 +5455,7 @@ core.Map buildUnnamed8681() => { }, }; -void checkUnnamed8681(core.Map o) { +void checkUnnamed8786(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted44 = (o['x']!) as core.Map; unittest.expect(casted44, unittest.hasLength(3)); @@ -5475,7 +5487,7 @@ void checkUnnamed8681(core.Map o) { ); } -core.Map buildUnnamed8682() => { +core.Map buildUnnamed8787() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5488,7 +5500,7 @@ core.Map buildUnnamed8682() => { }, }; -void checkUnnamed8682(core.Map o) { +void checkUnnamed8787(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted46 = (o['x']!) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); @@ -5525,11 +5537,11 @@ api.Source buildSource() { final o = api.Source(); buildCounterSource++; if (buildCounterSource < 3) { - o.baseSpecs = buildUnnamed8680(); - o.codec = buildUnnamed8681(); + o.baseSpecs = buildUnnamed8785(); + o.codec = buildUnnamed8786(); o.doesNotNeedSplitting = true; o.metadata = buildSourceMetadata(); - o.spec = buildUnnamed8682(); + o.spec = buildUnnamed8787(); } buildCounterSource--; return o; @@ -5538,11 +5550,11 @@ api.Source buildSource() { void checkSource(api.Source o) { buildCounterSource++; if (buildCounterSource < 3) { - checkUnnamed8680(o.baseSpecs!); - checkUnnamed8681(o.codec!); + checkUnnamed8785(o.baseSpecs!); + checkUnnamed8786(o.codec!); unittest.expect(o.doesNotNeedSplitting!, unittest.isTrue); checkSourceMetadata(o.metadata!); - checkUnnamed8682(o.spec!); + checkUnnamed8787(o.spec!); } buildCounterSource--; } @@ -5746,23 +5758,23 @@ void checkSourceSplitRequest(api.SourceSplitRequest o) { buildCounterSourceSplitRequest--; } -core.List buildUnnamed8683() => [ +core.List buildUnnamed8788() => [ buildDerivedSource(), buildDerivedSource(), ]; -void checkUnnamed8683(core.List o) { +void checkUnnamed8788(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDerivedSource(o[0]); checkDerivedSource(o[1]); } -core.List buildUnnamed8684() => [ +core.List buildUnnamed8789() => [ buildSourceSplitShard(), buildSourceSplitShard(), ]; -void checkUnnamed8684(core.List o) { +void checkUnnamed8789(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceSplitShard(o[0]); checkSourceSplitShard(o[1]); @@ -5773,9 +5785,9 @@ api.SourceSplitResponse buildSourceSplitResponse() { final o = api.SourceSplitResponse(); buildCounterSourceSplitResponse++; if (buildCounterSourceSplitResponse < 3) { - o.bundles = buildUnnamed8683(); + o.bundles = buildUnnamed8788(); o.outcome = 'foo'; - o.shards = buildUnnamed8684(); + o.shards = buildUnnamed8789(); } buildCounterSourceSplitResponse--; return o; @@ -5784,12 +5796,12 @@ api.SourceSplitResponse buildSourceSplitResponse() { void checkSourceSplitResponse(api.SourceSplitResponse o) { buildCounterSourceSplitResponse++; if (buildCounterSourceSplitResponse < 3) { - checkUnnamed8683(o.bundles!); + checkUnnamed8788(o.bundles!); unittest.expect( o.outcome!, unittest.equals('foo'), ); - checkUnnamed8684(o.shards!); + checkUnnamed8789(o.shards!); } buildCounterSourceSplitResponse--; } @@ -5877,12 +5889,12 @@ void checkSplitInt64(api.SplitInt64 o) { buildCounterSplitInt64--; } -core.List buildUnnamed8685() => [ +core.List buildUnnamed8790() => [ buildWorkerDetails(), buildWorkerDetails(), ]; -void checkUnnamed8685(core.List o) { +void checkUnnamed8790(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkerDetails(o[0]); checkWorkerDetails(o[1]); @@ -5894,7 +5906,7 @@ api.StageExecutionDetails buildStageExecutionDetails() { buildCounterStageExecutionDetails++; if (buildCounterStageExecutionDetails < 3) { o.nextPageToken = 'foo'; - o.workers = buildUnnamed8685(); + o.workers = buildUnnamed8790(); } buildCounterStageExecutionDetails--; return o; @@ -5907,7 +5919,7 @@ void checkStageExecutionDetails(api.StageExecutionDetails o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8685(o.workers!); + checkUnnamed8790(o.workers!); } buildCounterStageExecutionDetails--; } @@ -5949,12 +5961,12 @@ void checkStageSource(api.StageSource o) { buildCounterStageSource--; } -core.List buildUnnamed8686() => [ +core.List buildUnnamed8791() => [ buildMetricUpdate(), buildMetricUpdate(), ]; -void checkUnnamed8686(core.List o) { +void checkUnnamed8791(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricUpdate(o[0]); checkMetricUpdate(o[1]); @@ -5966,7 +5978,7 @@ api.StageSummary buildStageSummary() { buildCounterStageSummary++; if (buildCounterStageSummary < 3) { o.endTime = 'foo'; - o.metrics = buildUnnamed8686(); + o.metrics = buildUnnamed8791(); o.progress = buildProgressTimeseries(); o.stageId = 'foo'; o.startTime = 'foo'; @@ -5983,7 +5995,7 @@ void checkStageSummary(api.StageSummary o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed8686(o.metrics!); + checkUnnamed8791(o.metrics!); checkProgressTimeseries(o.progress!); unittest.expect( o.stageId!, @@ -6025,7 +6037,7 @@ void checkStateFamilyConfig(api.StateFamilyConfig o) { buildCounterStateFamilyConfig--; } -core.Map buildUnnamed8687() => { +core.Map buildUnnamed8792() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6038,7 +6050,7 @@ core.Map buildUnnamed8687() => { }, }; -void checkUnnamed8687(core.Map o) { +void checkUnnamed8792(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted48 = (o['x']!) as core.Map; unittest.expect(casted48, unittest.hasLength(3)); @@ -6070,15 +6082,15 @@ void checkUnnamed8687(core.Map o) { ); } -core.List> buildUnnamed8688() => [ - buildUnnamed8687(), - buildUnnamed8687(), +core.List> buildUnnamed8793() => [ + buildUnnamed8792(), + buildUnnamed8792(), ]; -void checkUnnamed8688(core.List> o) { +void checkUnnamed8793(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8687(o[0]); - checkUnnamed8687(o[1]); + checkUnnamed8792(o[0]); + checkUnnamed8792(o[1]); } core.int buildCounterStatus = 0; @@ -6087,7 +6099,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8688(); + o.details = buildUnnamed8793(); o.message = 'foo'; } buildCounterStatus--; @@ -6101,7 +6113,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8688(o.details!); + checkUnnamed8793(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -6110,7 +6122,7 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed8689() => { +core.Map buildUnnamed8794() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6123,7 +6135,7 @@ core.Map buildUnnamed8689() => { }, }; -void checkUnnamed8689(core.Map o) { +void checkUnnamed8794(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted50 = (o['x']!) as core.Map; unittest.expect(casted50, unittest.hasLength(3)); @@ -6162,7 +6174,7 @@ api.Step buildStep() { if (buildCounterStep < 3) { o.kind = 'foo'; o.name = 'foo'; - o.properties = buildUnnamed8689(); + o.properties = buildUnnamed8794(); } buildCounterStep--; return o; @@ -6179,7 +6191,7 @@ void checkStep(api.Step o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8689(o.properties!); + checkUnnamed8794(o.properties!); } buildCounterStep--; } @@ -6237,23 +6249,23 @@ void checkStreamingApplianceSnapshotConfig( buildCounterStreamingApplianceSnapshotConfig--; } -core.List buildUnnamed8690() => [ +core.List buildUnnamed8795() => [ buildParallelInstruction(), buildParallelInstruction(), ]; -void checkUnnamed8690(core.List o) { +void checkUnnamed8795(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParallelInstruction(o[0]); checkParallelInstruction(o[1]); } -core.Map buildUnnamed8691() => { +core.Map buildUnnamed8796() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8691(core.Map o) { +void checkUnnamed8796(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6271,10 +6283,10 @@ api.StreamingComputationConfig buildStreamingComputationConfig() { buildCounterStreamingComputationConfig++; if (buildCounterStreamingComputationConfig < 3) { o.computationId = 'foo'; - o.instructions = buildUnnamed8690(); + o.instructions = buildUnnamed8795(); o.stageName = 'foo'; o.systemName = 'foo'; - o.transformUserNameToStateFamily = buildUnnamed8691(); + o.transformUserNameToStateFamily = buildUnnamed8796(); } buildCounterStreamingComputationConfig--; return o; @@ -6287,7 +6299,7 @@ void checkStreamingComputationConfig(api.StreamingComputationConfig o) { o.computationId!, unittest.equals('foo'), ); - checkUnnamed8690(o.instructions!); + checkUnnamed8795(o.instructions!); unittest.expect( o.stageName!, unittest.equals('foo'), @@ -6296,17 +6308,17 @@ void checkStreamingComputationConfig(api.StreamingComputationConfig o) { o.systemName!, unittest.equals('foo'), ); - checkUnnamed8691(o.transformUserNameToStateFamily!); + checkUnnamed8796(o.transformUserNameToStateFamily!); } buildCounterStreamingComputationConfig--; } -core.List buildUnnamed8692() => [ +core.List buildUnnamed8797() => [ buildKeyRangeDataDiskAssignment(), buildKeyRangeDataDiskAssignment(), ]; -void checkUnnamed8692(core.List o) { +void checkUnnamed8797(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkKeyRangeDataDiskAssignment(o[0]); checkKeyRangeDataDiskAssignment(o[1]); @@ -6318,7 +6330,7 @@ api.StreamingComputationRanges buildStreamingComputationRanges() { buildCounterStreamingComputationRanges++; if (buildCounterStreamingComputationRanges < 3) { o.computationId = 'foo'; - o.rangeAssignments = buildUnnamed8692(); + o.rangeAssignments = buildUnnamed8797(); } buildCounterStreamingComputationRanges--; return o; @@ -6331,28 +6343,28 @@ void checkStreamingComputationRanges(api.StreamingComputationRanges o) { o.computationId!, unittest.equals('foo'), ); - checkUnnamed8692(o.rangeAssignments!); + checkUnnamed8797(o.rangeAssignments!); } buildCounterStreamingComputationRanges--; } -core.List buildUnnamed8693() => [ +core.List buildUnnamed8798() => [ buildStreamingComputationRanges(), buildStreamingComputationRanges(), ]; -void checkUnnamed8693(core.List o) { +void checkUnnamed8798(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStreamingComputationRanges(o[0]); checkStreamingComputationRanges(o[1]); } -core.List buildUnnamed8694() => [ +core.List buildUnnamed8799() => [ buildMountedDataDisk(), buildMountedDataDisk(), ]; -void checkUnnamed8694(core.List o) { +void checkUnnamed8799(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMountedDataDisk(o[0]); checkMountedDataDisk(o[1]); @@ -6363,8 +6375,8 @@ api.StreamingComputationTask buildStreamingComputationTask() { final o = api.StreamingComputationTask(); buildCounterStreamingComputationTask++; if (buildCounterStreamingComputationTask < 3) { - o.computationRanges = buildUnnamed8693(); - o.dataDisks = buildUnnamed8694(); + o.computationRanges = buildUnnamed8798(); + o.dataDisks = buildUnnamed8799(); o.taskType = 'foo'; } buildCounterStreamingComputationTask--; @@ -6374,8 +6386,8 @@ api.StreamingComputationTask buildStreamingComputationTask() { void checkStreamingComputationTask(api.StreamingComputationTask o) { buildCounterStreamingComputationTask++; if (buildCounterStreamingComputationTask < 3) { - checkUnnamed8693(o.computationRanges!); - checkUnnamed8694(o.dataDisks!); + checkUnnamed8798(o.computationRanges!); + checkUnnamed8799(o.dataDisks!); unittest.expect( o.taskType!, unittest.equals('foo'), @@ -6384,23 +6396,23 @@ void checkStreamingComputationTask(api.StreamingComputationTask o) { buildCounterStreamingComputationTask--; } -core.List buildUnnamed8695() => [ +core.List buildUnnamed8800() => [ buildStreamingComputationConfig(), buildStreamingComputationConfig(), ]; -void checkUnnamed8695(core.List o) { +void checkUnnamed8800(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStreamingComputationConfig(o[0]); checkStreamingComputationConfig(o[1]); } -core.Map buildUnnamed8696() => { +core.Map buildUnnamed8801() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8696(core.Map o) { +void checkUnnamed8801(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6420,8 +6432,8 @@ api.StreamingConfigTask buildStreamingConfigTask() { o.commitStreamChunkSizeBytes = 'foo'; o.getDataStreamChunkSizeBytes = 'foo'; o.maxWorkItemCommitBytes = 'foo'; - o.streamingComputationConfigs = buildUnnamed8695(); - o.userStepToStateFamilyNameMap = buildUnnamed8696(); + o.streamingComputationConfigs = buildUnnamed8800(); + o.userStepToStateFamilyNameMap = buildUnnamed8801(); o.windmillServiceEndpoint = 'foo'; o.windmillServicePort = 'foo'; } @@ -6444,8 +6456,8 @@ void checkStreamingConfigTask(api.StreamingConfigTask o) { o.maxWorkItemCommitBytes!, unittest.equals('foo'), ); - checkUnnamed8695(o.streamingComputationConfigs!); - checkUnnamed8696(o.userStepToStateFamilyNameMap!); + checkUnnamed8800(o.streamingComputationConfigs!); + checkUnnamed8801(o.userStepToStateFamilyNameMap!); unittest.expect( o.windmillServiceEndpoint!, unittest.equals('foo'), @@ -6540,12 +6552,12 @@ void checkStreamingStageLocation(api.StreamingStageLocation o) { buildCounterStreamingStageLocation--; } -core.List buildUnnamed8697() => [ +core.List buildUnnamed8802() => [ 'foo', 'foo', ]; -void checkUnnamed8697(core.List o) { +void checkUnnamed8802(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6562,7 +6574,7 @@ api.StringList buildStringList() { final o = api.StringList(); buildCounterStringList++; if (buildCounterStringList < 3) { - o.elements = buildUnnamed8697(); + o.elements = buildUnnamed8802(); } buildCounterStringList--; return o; @@ -6571,17 +6583,17 @@ api.StringList buildStringList() { void checkStringList(api.StringList o) { buildCounterStringList++; if (buildCounterStringList < 3) { - checkUnnamed8697(o.elements!); + checkUnnamed8802(o.elements!); } buildCounterStringList--; } -core.List buildUnnamed8698() => [ +core.List buildUnnamed8803() => [ buildParameter(), buildParameter(), ]; -void checkUnnamed8698(core.List o) { +void checkUnnamed8803(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameter(o[0]); checkParameter(o[1]); @@ -6594,7 +6606,7 @@ api.StructuredMessage buildStructuredMessage() { if (buildCounterStructuredMessage < 3) { o.messageKey = 'foo'; o.messageText = 'foo'; - o.parameters = buildUnnamed8698(); + o.parameters = buildUnnamed8803(); } buildCounterStructuredMessage--; return o; @@ -6611,17 +6623,17 @@ void checkStructuredMessage(api.StructuredMessage o) { o.messageText!, unittest.equals('foo'), ); - checkUnnamed8698(o.parameters!); + checkUnnamed8803(o.parameters!); } buildCounterStructuredMessage--; } -core.List buildUnnamed8699() => [ +core.List buildUnnamed8804() => [ 'foo', 'foo', ]; -void checkUnnamed8699(core.List o) { +void checkUnnamed8804(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6649,7 +6661,7 @@ api.TaskRunnerSettings buildTaskRunnerSettings() { o.logDir = 'foo'; o.logToSerialconsole = true; o.logUploadLocation = 'foo'; - o.oauthScopes = buildUnnamed8699(); + o.oauthScopes = buildUnnamed8804(); o.parallelWorkerSettings = buildWorkerSettings(); o.streamingWorkerMainClass = 'foo'; o.taskGroup = 'foo'; @@ -6700,7 +6712,7 @@ void checkTaskRunnerSettings(api.TaskRunnerSettings o) { o.logUploadLocation!, unittest.equals('foo'), ); - checkUnnamed8699(o.oauthScopes!); + checkUnnamed8804(o.oauthScopes!); checkWorkerSettings(o.parallelWorkerSettings!); unittest.expect( o.streamingWorkerMainClass!, @@ -6730,12 +6742,12 @@ void checkTaskRunnerSettings(api.TaskRunnerSettings o) { buildCounterTaskRunnerSettings--; } -core.List buildUnnamed8700() => [ +core.List buildUnnamed8805() => [ buildParameterMetadata(), buildParameterMetadata(), ]; -void checkUnnamed8700(core.List o) { +void checkUnnamed8805(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkParameterMetadata(o[0]); checkParameterMetadata(o[1]); @@ -6748,7 +6760,7 @@ api.TemplateMetadata buildTemplateMetadata() { if (buildCounterTemplateMetadata < 3) { o.description = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed8700(); + o.parameters = buildUnnamed8805(); } buildCounterTemplateMetadata--; return o; @@ -6765,39 +6777,39 @@ void checkTemplateMetadata(api.TemplateMetadata o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8700(o.parameters!); + checkUnnamed8805(o.parameters!); } buildCounterTemplateMetadata--; } -core.List buildUnnamed8701() => [ +core.List buildUnnamed8806() => [ buildComputationTopology(), buildComputationTopology(), ]; -void checkUnnamed8701(core.List o) { +void checkUnnamed8806(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComputationTopology(o[0]); checkComputationTopology(o[1]); } -core.List buildUnnamed8702() => [ +core.List buildUnnamed8807() => [ buildDataDiskAssignment(), buildDataDiskAssignment(), ]; -void checkUnnamed8702(core.List o) { +void checkUnnamed8807(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDataDiskAssignment(o[0]); checkDataDiskAssignment(o[1]); } -core.Map buildUnnamed8703() => { +core.Map buildUnnamed8808() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8703(core.Map o) { +void checkUnnamed8808(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6814,11 +6826,11 @@ api.TopologyConfig buildTopologyConfig() { final o = api.TopologyConfig(); buildCounterTopologyConfig++; if (buildCounterTopologyConfig < 3) { - o.computations = buildUnnamed8701(); - o.dataDiskAssignments = buildUnnamed8702(); + o.computations = buildUnnamed8806(); + o.dataDiskAssignments = buildUnnamed8807(); o.forwardingKeyBits = 42; o.persistentStateVersion = 42; - o.userStageToComputationNameMap = buildUnnamed8703(); + o.userStageToComputationNameMap = buildUnnamed8808(); } buildCounterTopologyConfig--; return o; @@ -6827,8 +6839,8 @@ api.TopologyConfig buildTopologyConfig() { void checkTopologyConfig(api.TopologyConfig o) { buildCounterTopologyConfig++; if (buildCounterTopologyConfig < 3) { - checkUnnamed8701(o.computations!); - checkUnnamed8702(o.dataDiskAssignments!); + checkUnnamed8806(o.computations!); + checkUnnamed8807(o.dataDiskAssignments!); unittest.expect( o.forwardingKeyBits!, unittest.equals(42), @@ -6837,28 +6849,28 @@ void checkTopologyConfig(api.TopologyConfig o) { o.persistentStateVersion!, unittest.equals(42), ); - checkUnnamed8703(o.userStageToComputationNameMap!); + checkUnnamed8808(o.userStageToComputationNameMap!); } buildCounterTopologyConfig--; } -core.List buildUnnamed8704() => [ +core.List buildUnnamed8809() => [ buildDisplayData(), buildDisplayData(), ]; -void checkUnnamed8704(core.List o) { +void checkUnnamed8809(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisplayData(o[0]); checkDisplayData(o[1]); } -core.List buildUnnamed8705() => [ +core.List buildUnnamed8810() => [ 'foo', 'foo', ]; -void checkUnnamed8705(core.List o) { +void checkUnnamed8810(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6870,12 +6882,12 @@ void checkUnnamed8705(core.List o) { ); } -core.List buildUnnamed8706() => [ +core.List buildUnnamed8811() => [ 'foo', 'foo', ]; -void checkUnnamed8706(core.List o) { +void checkUnnamed8811(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6892,12 +6904,12 @@ api.TransformSummary buildTransformSummary() { final o = api.TransformSummary(); buildCounterTransformSummary++; if (buildCounterTransformSummary < 3) { - o.displayData = buildUnnamed8704(); + o.displayData = buildUnnamed8809(); o.id = 'foo'; - o.inputCollectionName = buildUnnamed8705(); + o.inputCollectionName = buildUnnamed8810(); o.kind = 'foo'; o.name = 'foo'; - o.outputCollectionName = buildUnnamed8706(); + o.outputCollectionName = buildUnnamed8811(); } buildCounterTransformSummary--; return o; @@ -6906,12 +6918,12 @@ api.TransformSummary buildTransformSummary() { void checkTransformSummary(api.TransformSummary o) { buildCounterTransformSummary++; if (buildCounterTransformSummary < 3) { - checkUnnamed8704(o.displayData!); + checkUnnamed8809(o.displayData!); unittest.expect( o.id!, unittest.equals('foo'), ); - checkUnnamed8705(o.inputCollectionName!); + checkUnnamed8810(o.inputCollectionName!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -6920,7 +6932,7 @@ void checkTransformSummary(api.TransformSummary o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8706(o.outputCollectionName!); + checkUnnamed8811(o.outputCollectionName!); } buildCounterTransformSummary--; } @@ -6949,12 +6961,12 @@ void checkValidateResponse(api.ValidateResponse o) { buildCounterValidateResponse--; } -core.List buildUnnamed8707() => [ +core.List buildUnnamed8812() => [ buildPackage(), buildPackage(), ]; -void checkUnnamed8707(core.List o) { +void checkUnnamed8812(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackage(o[0]); checkPackage(o[1]); @@ -6971,7 +6983,7 @@ api.WorkItem buildWorkItem() { o.jobId = 'foo'; o.leaseExpireTime = 'foo'; o.mapTask = buildMapTask(); - o.packages = buildUnnamed8707(); + o.packages = buildUnnamed8812(); o.projectId = 'foo'; o.reportStatusInterval = 'foo'; o.seqMapTask = buildSeqMapTask(); @@ -7009,7 +7021,7 @@ void checkWorkItem(api.WorkItem o) { unittest.equals('foo'), ); checkMapTask(o.mapTask!); - checkUnnamed8707(o.packages!); + checkUnnamed8812(o.packages!); unittest.expect( o.projectId!, unittest.equals('foo'), @@ -7028,12 +7040,12 @@ void checkWorkItem(api.WorkItem o) { buildCounterWorkItem--; } -core.List buildUnnamed8708() => [ +core.List buildUnnamed8813() => [ buildMetricUpdate(), buildMetricUpdate(), ]; -void checkUnnamed8708(core.List o) { +void checkUnnamed8813(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricUpdate(o[0]); checkMetricUpdate(o[1]); @@ -7046,7 +7058,7 @@ api.WorkItemDetails buildWorkItemDetails() { if (buildCounterWorkItemDetails < 3) { o.attemptId = 'foo'; o.endTime = 'foo'; - o.metrics = buildUnnamed8708(); + o.metrics = buildUnnamed8813(); o.progress = buildProgressTimeseries(); o.startTime = 'foo'; o.state = 'foo'; @@ -7067,7 +7079,7 @@ void checkWorkItemDetails(api.WorkItemDetails o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed8708(o.metrics!); + checkUnnamed8813(o.metrics!); checkProgressTimeseries(o.progress!); unittest.expect( o.startTime!, @@ -7085,7 +7097,7 @@ void checkWorkItemDetails(api.WorkItemDetails o) { buildCounterWorkItemDetails--; } -core.Map buildUnnamed8709() => { +core.Map buildUnnamed8814() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7098,7 +7110,7 @@ core.Map buildUnnamed8709() => { }, }; -void checkUnnamed8709(core.Map o) { +void checkUnnamed8814(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted52 = (o['x']!) as core.Map; unittest.expect(casted52, unittest.hasLength(3)); @@ -7130,12 +7142,12 @@ void checkUnnamed8709(core.Map o) { ); } -core.List buildUnnamed8710() => [ +core.List buildUnnamed8815() => [ buildMetricShortId(), buildMetricShortId(), ]; -void checkUnnamed8710(core.List o) { +void checkUnnamed8815(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricShortId(o[0]); checkMetricShortId(o[1]); @@ -7147,10 +7159,10 @@ api.WorkItemServiceState buildWorkItemServiceState() { buildCounterWorkItemServiceState++; if (buildCounterWorkItemServiceState < 3) { o.completeWorkStatus = buildStatus(); - o.harnessData = buildUnnamed8709(); + o.harnessData = buildUnnamed8814(); o.hotKeyDetection = buildHotKeyDetection(); o.leaseExpireTime = 'foo'; - o.metricShortId = buildUnnamed8710(); + o.metricShortId = buildUnnamed8815(); o.nextReportIndex = 'foo'; o.reportStatusInterval = 'foo'; o.splitRequest = buildApproximateSplitRequest(); @@ -7165,13 +7177,13 @@ void checkWorkItemServiceState(api.WorkItemServiceState o) { buildCounterWorkItemServiceState++; if (buildCounterWorkItemServiceState < 3) { checkStatus(o.completeWorkStatus!); - checkUnnamed8709(o.harnessData!); + checkUnnamed8814(o.harnessData!); checkHotKeyDetection(o.hotKeyDetection!); unittest.expect( o.leaseExpireTime!, unittest.equals('foo'), ); - checkUnnamed8710(o.metricShortId!); + checkUnnamed8815(o.metricShortId!); unittest.expect( o.nextReportIndex!, unittest.equals('foo'), @@ -7187,34 +7199,34 @@ void checkWorkItemServiceState(api.WorkItemServiceState o) { buildCounterWorkItemServiceState--; } -core.List buildUnnamed8711() => [ +core.List buildUnnamed8816() => [ buildCounterUpdate(), buildCounterUpdate(), ]; -void checkUnnamed8711(core.List o) { +void checkUnnamed8816(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCounterUpdate(o[0]); checkCounterUpdate(o[1]); } -core.List buildUnnamed8712() => [ +core.List buildUnnamed8817() => [ buildStatus(), buildStatus(), ]; -void checkUnnamed8712(core.List o) { +void checkUnnamed8817(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStatus(o[0]); checkStatus(o[1]); } -core.List buildUnnamed8713() => [ +core.List buildUnnamed8818() => [ buildMetricUpdate(), buildMetricUpdate(), ]; -void checkUnnamed8713(core.List o) { +void checkUnnamed8818(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricUpdate(o[0]); checkMetricUpdate(o[1]); @@ -7226,10 +7238,10 @@ api.WorkItemStatus buildWorkItemStatus() { buildCounterWorkItemStatus++; if (buildCounterWorkItemStatus < 3) { o.completed = true; - o.counterUpdates = buildUnnamed8711(); + o.counterUpdates = buildUnnamed8816(); o.dynamicSourceSplit = buildDynamicSourceSplit(); - o.errors = buildUnnamed8712(); - o.metricUpdates = buildUnnamed8713(); + o.errors = buildUnnamed8817(); + o.metricUpdates = buildUnnamed8818(); o.progress = buildApproximateProgress(); o.reportIndex = 'foo'; o.reportedProgress = buildApproximateReportedProgress(); @@ -7248,10 +7260,10 @@ void checkWorkItemStatus(api.WorkItemStatus o) { buildCounterWorkItemStatus++; if (buildCounterWorkItemStatus < 3) { unittest.expect(o.completed!, unittest.isTrue); - checkUnnamed8711(o.counterUpdates!); + checkUnnamed8816(o.counterUpdates!); checkDynamicSourceSplit(o.dynamicSourceSplit!); - checkUnnamed8712(o.errors!); - checkUnnamed8713(o.metricUpdates!); + checkUnnamed8817(o.errors!); + checkUnnamed8818(o.metricUpdates!); checkApproximateProgress(o.progress!); unittest.expect( o.reportIndex!, @@ -7277,12 +7289,12 @@ void checkWorkItemStatus(api.WorkItemStatus o) { buildCounterWorkItemStatus--; } -core.List buildUnnamed8714() => [ +core.List buildUnnamed8819() => [ buildWorkItemDetails(), buildWorkItemDetails(), ]; -void checkUnnamed8714(core.List o) { +void checkUnnamed8819(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkItemDetails(o[0]); checkWorkItemDetails(o[1]); @@ -7293,7 +7305,7 @@ api.WorkerDetails buildWorkerDetails() { final o = api.WorkerDetails(); buildCounterWorkerDetails++; if (buildCounterWorkerDetails < 3) { - o.workItems = buildUnnamed8714(); + o.workItems = buildUnnamed8819(); o.workerName = 'foo'; } buildCounterWorkerDetails--; @@ -7303,7 +7315,7 @@ api.WorkerDetails buildWorkerDetails() { void checkWorkerDetails(api.WorkerDetails o) { buildCounterWorkerDetails++; if (buildCounterWorkerDetails < 3) { - checkUnnamed8714(o.workItems!); + checkUnnamed8819(o.workItems!); unittest.expect( o.workerName!, unittest.equals('foo'), @@ -7312,7 +7324,7 @@ void checkWorkerDetails(api.WorkerDetails o) { buildCounterWorkerDetails--; } -core.Map buildUnnamed8715() => { +core.Map buildUnnamed8820() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7325,7 +7337,7 @@ core.Map buildUnnamed8715() => { }, }; -void checkUnnamed8715(core.Map o) { +void checkUnnamed8820(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted54 = (o['x']!) as core.Map; unittest.expect(casted54, unittest.hasLength(3)); @@ -7357,15 +7369,15 @@ void checkUnnamed8715(core.Map o) { ); } -core.List> buildUnnamed8716() => [ - buildUnnamed8715(), - buildUnnamed8715(), +core.List> buildUnnamed8821() => [ + buildUnnamed8820(), + buildUnnamed8820(), ]; -void checkUnnamed8716(core.List> o) { +void checkUnnamed8821(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8715(o[0]); - checkUnnamed8715(o[1]); + checkUnnamed8820(o[0]); + checkUnnamed8820(o[1]); } core.int buildCounterWorkerHealthReport = 0; @@ -7374,7 +7386,7 @@ api.WorkerHealthReport buildWorkerHealthReport() { buildCounterWorkerHealthReport++; if (buildCounterWorkerHealthReport < 3) { o.msg = 'foo'; - o.pods = buildUnnamed8716(); + o.pods = buildUnnamed8821(); o.reportInterval = 'foo'; o.vmBrokenCode = 'foo'; o.vmIsBroken = true; @@ -7392,7 +7404,7 @@ void checkWorkerHealthReport(api.WorkerHealthReport o) { o.msg!, unittest.equals('foo'), ); - checkUnnamed8716(o.pods!); + checkUnnamed8821(o.pods!); unittest.expect( o.reportInterval!, unittest.equals('foo'), @@ -7433,12 +7445,12 @@ void checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { buildCounterWorkerHealthReportResponse--; } -core.Map buildUnnamed8717() => { +core.Map buildUnnamed8822() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8717(core.Map o) { +void checkUnnamed8822(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7457,7 +7469,7 @@ api.WorkerLifecycleEvent buildWorkerLifecycleEvent() { if (buildCounterWorkerLifecycleEvent < 3) { o.containerStartTime = 'foo'; o.event = 'foo'; - o.metadata = buildUnnamed8717(); + o.metadata = buildUnnamed8822(); } buildCounterWorkerLifecycleEvent--; return o; @@ -7474,17 +7486,17 @@ void checkWorkerLifecycleEvent(api.WorkerLifecycleEvent o) { o.event!, unittest.equals('foo'), ); - checkUnnamed8717(o.metadata!); + checkUnnamed8822(o.metadata!); } buildCounterWorkerLifecycleEvent--; } -core.Map buildUnnamed8718() => { +core.Map buildUnnamed8823() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8718(core.Map o) { +void checkUnnamed8823(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7501,7 +7513,7 @@ api.WorkerMessage buildWorkerMessage() { final o = api.WorkerMessage(); buildCounterWorkerMessage++; if (buildCounterWorkerMessage < 3) { - o.labels = buildUnnamed8718(); + o.labels = buildUnnamed8823(); o.time = 'foo'; o.workerHealthReport = buildWorkerHealthReport(); o.workerLifecycleEvent = buildWorkerLifecycleEvent(); @@ -7516,7 +7528,7 @@ api.WorkerMessage buildWorkerMessage() { void checkWorkerMessage(api.WorkerMessage o) { buildCounterWorkerMessage++; if (buildCounterWorkerMessage < 3) { - checkUnnamed8718(o.labels!); + checkUnnamed8823(o.labels!); unittest.expect( o.time!, unittest.equals('foo'), @@ -7530,7 +7542,7 @@ void checkWorkerMessage(api.WorkerMessage o) { buildCounterWorkerMessage--; } -core.Map buildUnnamed8719() => { +core.Map buildUnnamed8824() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7543,7 +7555,7 @@ core.Map buildUnnamed8719() => { }, }; -void checkUnnamed8719(core.Map o) { +void checkUnnamed8824(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted56 = (o['x']!) as core.Map; unittest.expect(casted56, unittest.hasLength(3)); @@ -7581,7 +7593,7 @@ api.WorkerMessageCode buildWorkerMessageCode() { buildCounterWorkerMessageCode++; if (buildCounterWorkerMessageCode < 3) { o.code = 'foo'; - o.parameters = buildUnnamed8719(); + o.parameters = buildUnnamed8824(); } buildCounterWorkerMessageCode--; return o; @@ -7594,7 +7606,7 @@ void checkWorkerMessageCode(api.WorkerMessageCode o) { o.code!, unittest.equals('foo'), ); - checkUnnamed8719(o.parameters!); + checkUnnamed8824(o.parameters!); } buildCounterWorkerMessageCode--; } @@ -7622,23 +7634,23 @@ void checkWorkerMessageResponse(api.WorkerMessageResponse o) { buildCounterWorkerMessageResponse--; } -core.List buildUnnamed8720() => [ +core.List buildUnnamed8825() => [ buildDisk(), buildDisk(), ]; -void checkUnnamed8720(core.List o) { +void checkUnnamed8825(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); } -core.Map buildUnnamed8721() => { +core.Map buildUnnamed8826() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8721(core.Map o) { +void checkUnnamed8826(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7650,18 +7662,18 @@ void checkUnnamed8721(core.Map o) { ); } -core.List buildUnnamed8722() => [ +core.List buildUnnamed8827() => [ buildPackage(), buildPackage(), ]; -void checkUnnamed8722(core.List o) { +void checkUnnamed8827(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackage(o[0]); checkPackage(o[1]); } -core.Map buildUnnamed8723() => { +core.Map buildUnnamed8828() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7674,7 +7686,7 @@ core.Map buildUnnamed8723() => { }, }; -void checkUnnamed8723(core.Map o) { +void checkUnnamed8828(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted58 = (o['x']!) as core.Map; unittest.expect(casted58, unittest.hasLength(3)); @@ -7706,12 +7718,12 @@ void checkUnnamed8723(core.Map o) { ); } -core.List buildUnnamed8724() => [ +core.List buildUnnamed8829() => [ buildSdkHarnessContainerImage(), buildSdkHarnessContainerImage(), ]; -void checkUnnamed8724(core.List o) { +void checkUnnamed8829(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSdkHarnessContainerImage(o[0]); checkSdkHarnessContainerImage(o[1]); @@ -7723,7 +7735,7 @@ api.WorkerPool buildWorkerPool() { buildCounterWorkerPool++; if (buildCounterWorkerPool < 3) { o.autoscalingSettings = buildAutoscalingSettings(); - o.dataDisks = buildUnnamed8720(); + o.dataDisks = buildUnnamed8825(); o.defaultPackageSet = 'foo'; o.diskSizeGb = 42; o.diskSourceImage = 'foo'; @@ -7731,14 +7743,14 @@ api.WorkerPool buildWorkerPool() { o.ipConfiguration = 'foo'; o.kind = 'foo'; o.machineType = 'foo'; - o.metadata = buildUnnamed8721(); + o.metadata = buildUnnamed8826(); o.network = 'foo'; o.numThreadsPerWorker = 42; o.numWorkers = 42; o.onHostMaintenance = 'foo'; - o.packages = buildUnnamed8722(); - o.poolArgs = buildUnnamed8723(); - o.sdkHarnessContainerImages = buildUnnamed8724(); + o.packages = buildUnnamed8827(); + o.poolArgs = buildUnnamed8828(); + o.sdkHarnessContainerImages = buildUnnamed8829(); o.subnetwork = 'foo'; o.taskrunnerSettings = buildTaskRunnerSettings(); o.teardownPolicy = 'foo'; @@ -7753,7 +7765,7 @@ void checkWorkerPool(api.WorkerPool o) { buildCounterWorkerPool++; if (buildCounterWorkerPool < 3) { checkAutoscalingSettings(o.autoscalingSettings!); - checkUnnamed8720(o.dataDisks!); + checkUnnamed8825(o.dataDisks!); unittest.expect( o.defaultPackageSet!, unittest.equals('foo'), @@ -7782,7 +7794,7 @@ void checkWorkerPool(api.WorkerPool o) { o.machineType!, unittest.equals('foo'), ); - checkUnnamed8721(o.metadata!); + checkUnnamed8826(o.metadata!); unittest.expect( o.network!, unittest.equals('foo'), @@ -7799,9 +7811,9 @@ void checkWorkerPool(api.WorkerPool o) { o.onHostMaintenance!, unittest.equals('foo'), ); - checkUnnamed8722(o.packages!); - checkUnnamed8723(o.poolArgs!); - checkUnnamed8724(o.sdkHarnessContainerImages!); + checkUnnamed8827(o.packages!); + checkUnnamed8828(o.poolArgs!); + checkUnnamed8829(o.sdkHarnessContainerImages!); unittest.expect( o.subnetwork!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart b/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart index 0ab30acc5..00f30381f 100644 --- a/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart +++ b/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8189() => [ +core.List buildUnnamed8276() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8189(core.List o) { +void checkUnnamed8276(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -47,7 +47,7 @@ api.GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata 3) { o.createTime = 'foo'; o.instruction = 'foo'; - o.partialFailures = buildUnnamed8189(); + o.partialFailures = buildUnnamed8276(); } buildCounterGoogleCloudDatalabelingV1alpha1CreateInstructionMetadata--; return o; @@ -66,17 +66,17 @@ void checkGoogleCloudDatalabelingV1alpha1CreateInstructionMetadata( o.instruction!, unittest.equals('foo'), ); - checkUnnamed8189(o.partialFailures!); + checkUnnamed8276(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1alpha1CreateInstructionMetadata--; } -core.List buildUnnamed8190() => [ +core.List buildUnnamed8277() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8190(core.List o) { +void checkUnnamed8277(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -93,7 +93,7 @@ api.GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata o.annotatedDataset = 'foo'; o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8190(); + o.partialFailures = buildUnnamed8277(); } buildCounterGoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata--; return o; @@ -116,7 +116,7 @@ void checkGoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8190(o.partialFailures!); + checkUnnamed8277(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata--; } @@ -220,12 +220,12 @@ void checkGoogleCloudDatalabelingV1alpha1GcsFolderDestination( buildCounterGoogleCloudDatalabelingV1alpha1GcsFolderDestination--; } -core.List buildUnnamed8191() => [ +core.List buildUnnamed8278() => [ 'foo', 'foo', ]; -void checkUnnamed8191(core.List o) { +void checkUnnamed8278(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -245,7 +245,7 @@ api.GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig if (buildCounterGoogleCloudDatalabelingV1alpha1HumanAnnotationConfig < 3) { o.annotatedDatasetDescription = 'foo'; o.annotatedDatasetDisplayName = 'foo'; - o.contributorEmails = buildUnnamed8191(); + o.contributorEmails = buildUnnamed8278(); o.instruction = 'foo'; o.labelGroup = 'foo'; o.languageCode = 'foo'; @@ -269,7 +269,7 @@ void checkGoogleCloudDatalabelingV1alpha1HumanAnnotationConfig( o.annotatedDatasetDisplayName!, unittest.equals('foo'), ); - checkUnnamed8191(o.contributorEmails!); + checkUnnamed8278(o.contributorEmails!); unittest.expect( o.instruction!, unittest.equals('foo'), @@ -298,12 +298,12 @@ void checkGoogleCloudDatalabelingV1alpha1HumanAnnotationConfig( buildCounterGoogleCloudDatalabelingV1alpha1HumanAnnotationConfig--; } -core.List buildUnnamed8192() => [ +core.List buildUnnamed8279() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8192(core.List o) { +void checkUnnamed8279(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -319,7 +319,7 @@ api.GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata 3) { o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8192(); + o.partialFailures = buildUnnamed8279(); } buildCounterGoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata--; return o; @@ -338,7 +338,7 @@ void checkGoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8192(o.partialFailures!); + checkUnnamed8279(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata--; } @@ -541,12 +541,12 @@ void checkGoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata buildCounterGoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata--; } -core.List buildUnnamed8193() => [ +core.List buildUnnamed8280() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8193(core.List o) { +void checkUnnamed8280(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -573,7 +573,7 @@ api.GoogleCloudDatalabelingV1alpha1LabelOperationMetadata buildGoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata(); o.imageSegmentationDetails = buildGoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata(); - o.partialFailures = buildUnnamed8193(); + o.partialFailures = buildUnnamed8280(); o.progressPercent = 42; o.textClassificationDetails = buildGoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata(); @@ -620,7 +620,7 @@ void checkGoogleCloudDatalabelingV1alpha1LabelOperationMetadata( o.imagePolylineDetails!); checkGoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata( o.imageSegmentationDetails!); - checkUnnamed8193(o.partialFailures!); + checkUnnamed8280(o.partialFailures!); unittest.expect( o.progressPercent!, unittest.equals(42), @@ -641,12 +641,12 @@ void checkGoogleCloudDatalabelingV1alpha1LabelOperationMetadata( buildCounterGoogleCloudDatalabelingV1alpha1LabelOperationMetadata--; } -core.Map buildUnnamed8194() => { +core.Map buildUnnamed8281() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8194(core.Map o) { +void checkUnnamed8281(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -664,7 +664,7 @@ api.GoogleCloudDatalabelingV1alpha1LabelStats final o = api.GoogleCloudDatalabelingV1alpha1LabelStats(); buildCounterGoogleCloudDatalabelingV1alpha1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1alpha1LabelStats < 3) { - o.exampleCount = buildUnnamed8194(); + o.exampleCount = buildUnnamed8281(); } buildCounterGoogleCloudDatalabelingV1alpha1LabelStats--; return o; @@ -674,7 +674,7 @@ void checkGoogleCloudDatalabelingV1alpha1LabelStats( api.GoogleCloudDatalabelingV1alpha1LabelStats o) { buildCounterGoogleCloudDatalabelingV1alpha1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1alpha1LabelStats < 3) { - checkUnnamed8194(o.exampleCount!); + checkUnnamed8281(o.exampleCount!); } buildCounterGoogleCloudDatalabelingV1alpha1LabelStats--; } @@ -865,12 +865,12 @@ void checkGoogleCloudDatalabelingV1alpha1OutputConfig( buildCounterGoogleCloudDatalabelingV1alpha1OutputConfig--; } -core.List buildUnnamed8195() => [ +core.List buildUnnamed8282() => [ 'foo', 'foo', ]; -void checkUnnamed8195(core.List o) { +void checkUnnamed8282(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -890,7 +890,7 @@ api.GoogleCloudDatalabelingV1beta1AnnotatedDataset if (buildCounterGoogleCloudDatalabelingV1beta1AnnotatedDataset < 3) { o.annotationSource = 'foo'; o.annotationType = 'foo'; - o.blockingResources = buildUnnamed8195(); + o.blockingResources = buildUnnamed8282(); o.completedExampleCount = 'foo'; o.createTime = 'foo'; o.description = 'foo'; @@ -916,7 +916,7 @@ void checkGoogleCloudDatalabelingV1beta1AnnotatedDataset( o.annotationType!, unittest.equals('foo'), ); - checkUnnamed8195(o.blockingResources!); + checkUnnamed8282(o.blockingResources!); unittest.expect( o.completedExampleCount!, unittest.equals('foo'), @@ -1102,24 +1102,24 @@ void checkGoogleCloudDatalabelingV1beta1AnnotationSpec( } core.List - buildUnnamed8196() => [ + buildUnnamed8283() => [ buildGoogleCloudDatalabelingV1beta1AnnotationSpec(), buildGoogleCloudDatalabelingV1beta1AnnotationSpec(), ]; -void checkUnnamed8196( +void checkUnnamed8283( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1AnnotationSpec(o[0]); checkGoogleCloudDatalabelingV1beta1AnnotationSpec(o[1]); } -core.List buildUnnamed8197() => [ +core.List buildUnnamed8284() => [ 'foo', 'foo', ]; -void checkUnnamed8197(core.List o) { +void checkUnnamed8284(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1137,8 +1137,8 @@ api.GoogleCloudDatalabelingV1beta1AnnotationSpecSet final o = api.GoogleCloudDatalabelingV1beta1AnnotationSpecSet(); buildCounterGoogleCloudDatalabelingV1beta1AnnotationSpecSet++; if (buildCounterGoogleCloudDatalabelingV1beta1AnnotationSpecSet < 3) { - o.annotationSpecs = buildUnnamed8196(); - o.blockingResources = buildUnnamed8197(); + o.annotationSpecs = buildUnnamed8283(); + o.blockingResources = buildUnnamed8284(); o.description = 'foo'; o.displayName = 'foo'; o.name = 'foo'; @@ -1151,8 +1151,8 @@ void checkGoogleCloudDatalabelingV1beta1AnnotationSpecSet( api.GoogleCloudDatalabelingV1beta1AnnotationSpecSet o) { buildCounterGoogleCloudDatalabelingV1beta1AnnotationSpecSet++; if (buildCounterGoogleCloudDatalabelingV1beta1AnnotationSpecSet < 3) { - checkUnnamed8196(o.annotationSpecs!); - checkUnnamed8197(o.blockingResources!); + checkUnnamed8283(o.annotationSpecs!); + checkUnnamed8284(o.blockingResources!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1250,12 +1250,12 @@ void checkGoogleCloudDatalabelingV1beta1AnnotationValue( buildCounterGoogleCloudDatalabelingV1beta1AnnotationValue--; } -core.List buildUnnamed8198() => [ +core.List buildUnnamed8285() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8198(core.List o) { +void checkUnnamed8285(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -1268,7 +1268,7 @@ api.GoogleCloudDatalabelingV1beta1Attempt buildCounterGoogleCloudDatalabelingV1beta1Attempt++; if (buildCounterGoogleCloudDatalabelingV1beta1Attempt < 3) { o.attemptTime = 'foo'; - o.partialFailures = buildUnnamed8198(); + o.partialFailures = buildUnnamed8285(); } buildCounterGoogleCloudDatalabelingV1beta1Attempt--; return o; @@ -1282,7 +1282,7 @@ void checkGoogleCloudDatalabelingV1beta1Attempt( o.attemptTime!, unittest.equals('foo'), ); - checkUnnamed8198(o.partialFailures!); + checkUnnamed8285(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1beta1Attempt--; } @@ -1338,12 +1338,12 @@ void checkGoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions( buildCounterGoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions--; } -core.List buildUnnamed8199() => [ +core.List buildUnnamed8286() => [ buildGoogleCloudDatalabelingV1beta1Vertex(), buildGoogleCloudDatalabelingV1beta1Vertex(), ]; -void checkUnnamed8199(core.List o) { +void checkUnnamed8286(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Vertex(o[0]); checkGoogleCloudDatalabelingV1beta1Vertex(o[1]); @@ -1355,7 +1355,7 @@ api.GoogleCloudDatalabelingV1beta1BoundingPoly final o = api.GoogleCloudDatalabelingV1beta1BoundingPoly(); buildCounterGoogleCloudDatalabelingV1beta1BoundingPoly++; if (buildCounterGoogleCloudDatalabelingV1beta1BoundingPoly < 3) { - o.vertices = buildUnnamed8199(); + o.vertices = buildUnnamed8286(); } buildCounterGoogleCloudDatalabelingV1beta1BoundingPoly--; return o; @@ -1365,7 +1365,7 @@ void checkGoogleCloudDatalabelingV1beta1BoundingPoly( api.GoogleCloudDatalabelingV1beta1BoundingPoly o) { buildCounterGoogleCloudDatalabelingV1beta1BoundingPoly++; if (buildCounterGoogleCloudDatalabelingV1beta1BoundingPoly < 3) { - checkUnnamed8199(o.vertices!); + checkUnnamed8286(o.vertices!); } buildCounterGoogleCloudDatalabelingV1beta1BoundingPoly--; } @@ -1512,12 +1512,12 @@ void checkGoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry( buildCounterGoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry--; } -core.List buildUnnamed8200() => [ +core.List buildUnnamed8287() => [ buildGoogleCloudDatalabelingV1beta1Row(), buildGoogleCloudDatalabelingV1beta1Row(), ]; -void checkUnnamed8200(core.List o) { +void checkUnnamed8287(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Row(o[0]); checkGoogleCloudDatalabelingV1beta1Row(o[1]); @@ -1529,7 +1529,7 @@ api.GoogleCloudDatalabelingV1beta1ConfusionMatrix final o = api.GoogleCloudDatalabelingV1beta1ConfusionMatrix(); buildCounterGoogleCloudDatalabelingV1beta1ConfusionMatrix++; if (buildCounterGoogleCloudDatalabelingV1beta1ConfusionMatrix < 3) { - o.row = buildUnnamed8200(); + o.row = buildUnnamed8287(); } buildCounterGoogleCloudDatalabelingV1beta1ConfusionMatrix--; return o; @@ -1539,7 +1539,7 @@ void checkGoogleCloudDatalabelingV1beta1ConfusionMatrix( api.GoogleCloudDatalabelingV1beta1ConfusionMatrix o) { buildCounterGoogleCloudDatalabelingV1beta1ConfusionMatrix++; if (buildCounterGoogleCloudDatalabelingV1beta1ConfusionMatrix < 3) { - checkUnnamed8200(o.row!); + checkUnnamed8287(o.row!); } buildCounterGoogleCloudDatalabelingV1beta1ConfusionMatrix--; } @@ -1641,12 +1641,12 @@ void checkGoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest( buildCounterGoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest--; } -core.List buildUnnamed8201() => [ +core.List buildUnnamed8288() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8201(core.List o) { +void checkUnnamed8288(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -1661,7 +1661,7 @@ api.GoogleCloudDatalabelingV1beta1CreateInstructionMetadata if (buildCounterGoogleCloudDatalabelingV1beta1CreateInstructionMetadata < 3) { o.createTime = 'foo'; o.instruction = 'foo'; - o.partialFailures = buildUnnamed8201(); + o.partialFailures = buildUnnamed8288(); } buildCounterGoogleCloudDatalabelingV1beta1CreateInstructionMetadata--; return o; @@ -1679,7 +1679,7 @@ void checkGoogleCloudDatalabelingV1beta1CreateInstructionMetadata( o.instruction!, unittest.equals('foo'), ); - checkUnnamed8201(o.partialFailures!); + checkUnnamed8288(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1beta1CreateInstructionMetadata--; } @@ -1759,12 +1759,12 @@ void checkGoogleCloudDatalabelingV1beta1DataItem( buildCounterGoogleCloudDatalabelingV1beta1DataItem--; } -core.List buildUnnamed8202() => [ +core.List buildUnnamed8289() => [ 'foo', 'foo', ]; -void checkUnnamed8202(core.List o) { +void checkUnnamed8289(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1776,12 +1776,12 @@ void checkUnnamed8202(core.List o) { ); } -core.List buildUnnamed8203() => [ +core.List buildUnnamed8290() => [ buildGoogleCloudDatalabelingV1beta1InputConfig(), buildGoogleCloudDatalabelingV1beta1InputConfig(), ]; -void checkUnnamed8203( +void checkUnnamed8290( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1InputConfig(o[0]); @@ -1794,12 +1794,12 @@ api.GoogleCloudDatalabelingV1beta1Dataset final o = api.GoogleCloudDatalabelingV1beta1Dataset(); buildCounterGoogleCloudDatalabelingV1beta1Dataset++; if (buildCounterGoogleCloudDatalabelingV1beta1Dataset < 3) { - o.blockingResources = buildUnnamed8202(); + o.blockingResources = buildUnnamed8289(); o.createTime = 'foo'; o.dataItemCount = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.inputConfigs = buildUnnamed8203(); + o.inputConfigs = buildUnnamed8290(); o.lastMigrateTime = 'foo'; o.name = 'foo'; } @@ -1811,7 +1811,7 @@ void checkGoogleCloudDatalabelingV1beta1Dataset( api.GoogleCloudDatalabelingV1beta1Dataset o) { buildCounterGoogleCloudDatalabelingV1beta1Dataset++; if (buildCounterGoogleCloudDatalabelingV1beta1Dataset < 3) { - checkUnnamed8202(o.blockingResources!); + checkUnnamed8289(o.blockingResources!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -1828,7 +1828,7 @@ void checkGoogleCloudDatalabelingV1beta1Dataset( o.displayName!, unittest.equals('foo'), ); - checkUnnamed8203(o.inputConfigs!); + checkUnnamed8290(o.inputConfigs!); unittest.expect( o.lastMigrateTime!, unittest.equals('foo'), @@ -1913,12 +1913,12 @@ void checkGoogleCloudDatalabelingV1beta1EvaluationConfig( buildCounterGoogleCloudDatalabelingV1beta1EvaluationConfig--; } -core.List buildUnnamed8204() => [ +core.List buildUnnamed8291() => [ buildGoogleCloudDatalabelingV1beta1Attempt(), buildGoogleCloudDatalabelingV1beta1Attempt(), ]; -void checkUnnamed8204(core.List o) { +void checkUnnamed8291(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Attempt(o[0]); checkGoogleCloudDatalabelingV1beta1Attempt(o[1]); @@ -1931,7 +1931,7 @@ api.GoogleCloudDatalabelingV1beta1EvaluationJob buildCounterGoogleCloudDatalabelingV1beta1EvaluationJob++; if (buildCounterGoogleCloudDatalabelingV1beta1EvaluationJob < 3) { o.annotationSpecSet = 'foo'; - o.attempts = buildUnnamed8204(); + o.attempts = buildUnnamed8291(); o.createTime = 'foo'; o.description = 'foo'; o.evaluationJobConfig = @@ -1954,7 +1954,7 @@ void checkGoogleCloudDatalabelingV1beta1EvaluationJob( o.annotationSpecSet!, unittest.equals('foo'), ); - checkUnnamed8204(o.attempts!); + checkUnnamed8291(o.attempts!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2015,12 +2015,12 @@ void checkGoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig( buildCounterGoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig--; } -core.Map buildUnnamed8205() => { +core.Map buildUnnamed8292() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8205(core.Map o) { +void checkUnnamed8292(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2038,7 +2038,7 @@ api.GoogleCloudDatalabelingV1beta1EvaluationJobConfig final o = api.GoogleCloudDatalabelingV1beta1EvaluationJobConfig(); buildCounterGoogleCloudDatalabelingV1beta1EvaluationJobConfig++; if (buildCounterGoogleCloudDatalabelingV1beta1EvaluationJobConfig < 3) { - o.bigqueryImportKeys = buildUnnamed8205(); + o.bigqueryImportKeys = buildUnnamed8292(); o.boundingPolyConfig = buildGoogleCloudDatalabelingV1beta1BoundingPolyConfig(); o.evaluationConfig = buildGoogleCloudDatalabelingV1beta1EvaluationConfig(); @@ -2062,7 +2062,7 @@ void checkGoogleCloudDatalabelingV1beta1EvaluationJobConfig( api.GoogleCloudDatalabelingV1beta1EvaluationJobConfig o) { buildCounterGoogleCloudDatalabelingV1beta1EvaluationJobConfig++; if (buildCounterGoogleCloudDatalabelingV1beta1EvaluationJobConfig < 3) { - checkUnnamed8205(o.bigqueryImportKeys!); + checkUnnamed8292(o.bigqueryImportKeys!); checkGoogleCloudDatalabelingV1beta1BoundingPolyConfig( o.boundingPolyConfig!); checkGoogleCloudDatalabelingV1beta1EvaluationConfig(o.evaluationConfig!); @@ -2114,12 +2114,12 @@ void checkGoogleCloudDatalabelingV1beta1EvaluationMetrics( buildCounterGoogleCloudDatalabelingV1beta1EvaluationMetrics--; } -core.List buildUnnamed8206() => [ +core.List buildUnnamed8293() => [ 'foo', 'foo', ]; -void checkUnnamed8206(core.List o) { +void checkUnnamed8293(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2137,7 +2137,7 @@ api.GoogleCloudDatalabelingV1beta1EventConfig final o = api.GoogleCloudDatalabelingV1beta1EventConfig(); buildCounterGoogleCloudDatalabelingV1beta1EventConfig++; if (buildCounterGoogleCloudDatalabelingV1beta1EventConfig < 3) { - o.annotationSpecSets = buildUnnamed8206(); + o.annotationSpecSets = buildUnnamed8293(); o.clipLength = 42; o.overlapLength = 42; } @@ -2149,7 +2149,7 @@ void checkGoogleCloudDatalabelingV1beta1EventConfig( api.GoogleCloudDatalabelingV1beta1EventConfig o) { buildCounterGoogleCloudDatalabelingV1beta1EventConfig++; if (buildCounterGoogleCloudDatalabelingV1beta1EventConfig < 3) { - checkUnnamed8206(o.annotationSpecSets!); + checkUnnamed8293(o.annotationSpecSets!); unittest.expect( o.clipLength!, unittest.equals(42), @@ -2162,12 +2162,12 @@ void checkGoogleCloudDatalabelingV1beta1EventConfig( buildCounterGoogleCloudDatalabelingV1beta1EventConfig--; } -core.List buildUnnamed8207() => [ +core.List buildUnnamed8294() => [ buildGoogleCloudDatalabelingV1beta1Annotation(), buildGoogleCloudDatalabelingV1beta1Annotation(), ]; -void checkUnnamed8207( +void checkUnnamed8294( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Annotation(o[0]); @@ -2180,7 +2180,7 @@ api.GoogleCloudDatalabelingV1beta1Example final o = api.GoogleCloudDatalabelingV1beta1Example(); buildCounterGoogleCloudDatalabelingV1beta1Example++; if (buildCounterGoogleCloudDatalabelingV1beta1Example < 3) { - o.annotations = buildUnnamed8207(); + o.annotations = buildUnnamed8294(); o.imagePayload = buildGoogleCloudDatalabelingV1beta1ImagePayload(); o.name = 'foo'; o.textPayload = buildGoogleCloudDatalabelingV1beta1TextPayload(); @@ -2194,7 +2194,7 @@ void checkGoogleCloudDatalabelingV1beta1Example( api.GoogleCloudDatalabelingV1beta1Example o) { buildCounterGoogleCloudDatalabelingV1beta1Example++; if (buildCounterGoogleCloudDatalabelingV1beta1Example < 3) { - checkUnnamed8207(o.annotations!); + checkUnnamed8294(o.annotations!); checkGoogleCloudDatalabelingV1beta1ImagePayload(o.imagePayload!); unittest.expect( o.name!, @@ -2206,12 +2206,12 @@ void checkGoogleCloudDatalabelingV1beta1Example( buildCounterGoogleCloudDatalabelingV1beta1Example--; } -core.List buildUnnamed8208() => [ +core.List buildUnnamed8295() => [ buildGoogleCloudDatalabelingV1beta1Example(), buildGoogleCloudDatalabelingV1beta1Example(), ]; -void checkUnnamed8208(core.List o) { +void checkUnnamed8295(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Example(o[0]); checkGoogleCloudDatalabelingV1beta1Example(o[1]); @@ -2224,7 +2224,7 @@ api.GoogleCloudDatalabelingV1beta1ExampleComparison buildCounterGoogleCloudDatalabelingV1beta1ExampleComparison++; if (buildCounterGoogleCloudDatalabelingV1beta1ExampleComparison < 3) { o.groundTruthExample = buildGoogleCloudDatalabelingV1beta1Example(); - o.modelCreatedExamples = buildUnnamed8208(); + o.modelCreatedExamples = buildUnnamed8295(); } buildCounterGoogleCloudDatalabelingV1beta1ExampleComparison--; return o; @@ -2235,17 +2235,17 @@ void checkGoogleCloudDatalabelingV1beta1ExampleComparison( buildCounterGoogleCloudDatalabelingV1beta1ExampleComparison++; if (buildCounterGoogleCloudDatalabelingV1beta1ExampleComparison < 3) { checkGoogleCloudDatalabelingV1beta1Example(o.groundTruthExample!); - checkUnnamed8208(o.modelCreatedExamples!); + checkUnnamed8295(o.modelCreatedExamples!); } buildCounterGoogleCloudDatalabelingV1beta1ExampleComparison--; } -core.List buildUnnamed8209() => [ +core.List buildUnnamed8296() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8209(core.List o) { +void checkUnnamed8296(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -2262,7 +2262,7 @@ api.GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata o.annotatedDataset = 'foo'; o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8209(); + o.partialFailures = buildUnnamed8296(); } buildCounterGoogleCloudDatalabelingV1beta1ExportDataOperationMetadata--; return o; @@ -2285,7 +2285,7 @@ void checkGoogleCloudDatalabelingV1beta1ExportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8209(o.partialFailures!); + checkUnnamed8296(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1beta1ExportDataOperationMetadata--; } @@ -2568,12 +2568,12 @@ void checkGoogleCloudDatalabelingV1beta1GcsSource( buildCounterGoogleCloudDatalabelingV1beta1GcsSource--; } -core.List buildUnnamed8210() => [ +core.List buildUnnamed8297() => [ 'foo', 'foo', ]; -void checkUnnamed8210(core.List o) { +void checkUnnamed8297(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2593,7 +2593,7 @@ api.GoogleCloudDatalabelingV1beta1HumanAnnotationConfig if (buildCounterGoogleCloudDatalabelingV1beta1HumanAnnotationConfig < 3) { o.annotatedDatasetDescription = 'foo'; o.annotatedDatasetDisplayName = 'foo'; - o.contributorEmails = buildUnnamed8210(); + o.contributorEmails = buildUnnamed8297(); o.instruction = 'foo'; o.labelGroup = 'foo'; o.languageCode = 'foo'; @@ -2617,7 +2617,7 @@ void checkGoogleCloudDatalabelingV1beta1HumanAnnotationConfig( o.annotatedDatasetDisplayName!, unittest.equals('foo'), ); - checkUnnamed8210(o.contributorEmails!); + checkUnnamed8297(o.contributorEmails!); unittest.expect( o.instruction!, unittest.equals('foo'), @@ -2799,12 +2799,12 @@ void checkGoogleCloudDatalabelingV1beta1ImagePolylineAnnotation( } core.Map - buildUnnamed8211() => { + buildUnnamed8298() => { 'x': buildGoogleCloudDatalabelingV1beta1AnnotationSpec(), 'y': buildGoogleCloudDatalabelingV1beta1AnnotationSpec(), }; -void checkUnnamed8211( +void checkUnnamed8298( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1AnnotationSpec(o['x']!); @@ -2819,7 +2819,7 @@ api.GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation buildCounterGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation++; if (buildCounterGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation < 3) { - o.annotationColors = buildUnnamed8211(); + o.annotationColors = buildUnnamed8298(); o.imageBytes = 'foo'; o.mimeType = 'foo'; } @@ -2832,7 +2832,7 @@ void checkGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation( buildCounterGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation++; if (buildCounterGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation < 3) { - checkUnnamed8211(o.annotationColors!); + checkUnnamed8298(o.annotationColors!); unittest.expect( o.imageBytes!, unittest.equals('foo'), @@ -2845,12 +2845,12 @@ void checkGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation( buildCounterGoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation--; } -core.List buildUnnamed8212() => [ +core.List buildUnnamed8299() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8212(core.List o) { +void checkUnnamed8299(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -2866,7 +2866,7 @@ api.GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata 3) { o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8212(); + o.partialFailures = buildUnnamed8299(); } buildCounterGoogleCloudDatalabelingV1beta1ImportDataOperationMetadata--; return o; @@ -2885,7 +2885,7 @@ void checkGoogleCloudDatalabelingV1beta1ImportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8212(o.partialFailures!); + checkUnnamed8299(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1beta1ImportDataOperationMetadata--; } @@ -2992,12 +2992,12 @@ void checkGoogleCloudDatalabelingV1beta1InputConfig( buildCounterGoogleCloudDatalabelingV1beta1InputConfig--; } -core.List buildUnnamed8213() => [ +core.List buildUnnamed8300() => [ 'foo', 'foo', ]; -void checkUnnamed8213(core.List o) { +void checkUnnamed8300(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3015,7 +3015,7 @@ api.GoogleCloudDatalabelingV1beta1Instruction final o = api.GoogleCloudDatalabelingV1beta1Instruction(); buildCounterGoogleCloudDatalabelingV1beta1Instruction++; if (buildCounterGoogleCloudDatalabelingV1beta1Instruction < 3) { - o.blockingResources = buildUnnamed8213(); + o.blockingResources = buildUnnamed8300(); o.createTime = 'foo'; o.csvInstruction = buildGoogleCloudDatalabelingV1beta1CsvInstruction(); o.dataType = 'foo'; @@ -3033,7 +3033,7 @@ void checkGoogleCloudDatalabelingV1beta1Instruction( api.GoogleCloudDatalabelingV1beta1Instruction o) { buildCounterGoogleCloudDatalabelingV1beta1Instruction++; if (buildCounterGoogleCloudDatalabelingV1beta1Instruction < 3) { - checkUnnamed8213(o.blockingResources!); + checkUnnamed8300(o.blockingResources!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -3265,12 +3265,12 @@ void checkGoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata( buildCounterGoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata--; } -core.List buildUnnamed8214() => [ +core.List buildUnnamed8301() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8214(core.List o) { +void checkUnnamed8301(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -3297,7 +3297,7 @@ api.GoogleCloudDatalabelingV1beta1LabelOperationMetadata buildGoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata(); o.imageSegmentationDetails = buildGoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata(); - o.partialFailures = buildUnnamed8214(); + o.partialFailures = buildUnnamed8301(); o.progressPercent = 42; o.textClassificationDetails = buildGoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata(); @@ -3344,7 +3344,7 @@ void checkGoogleCloudDatalabelingV1beta1LabelOperationMetadata( o.imagePolylineDetails!); checkGoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata( o.imageSegmentationDetails!); - checkUnnamed8214(o.partialFailures!); + checkUnnamed8301(o.partialFailures!); unittest.expect( o.progressPercent!, unittest.equals(42), @@ -3365,12 +3365,12 @@ void checkGoogleCloudDatalabelingV1beta1LabelOperationMetadata( buildCounterGoogleCloudDatalabelingV1beta1LabelOperationMetadata--; } -core.Map buildUnnamed8215() => { +core.Map buildUnnamed8302() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8215(core.Map o) { +void checkUnnamed8302(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3388,7 +3388,7 @@ api.GoogleCloudDatalabelingV1beta1LabelStats final o = api.GoogleCloudDatalabelingV1beta1LabelStats(); buildCounterGoogleCloudDatalabelingV1beta1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1beta1LabelStats < 3) { - o.exampleCount = buildUnnamed8215(); + o.exampleCount = buildUnnamed8302(); } buildCounterGoogleCloudDatalabelingV1beta1LabelStats--; return o; @@ -3398,7 +3398,7 @@ void checkGoogleCloudDatalabelingV1beta1LabelStats( api.GoogleCloudDatalabelingV1beta1LabelStats o) { buildCounterGoogleCloudDatalabelingV1beta1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1beta1LabelStats < 3) { - checkUnnamed8215(o.exampleCount!); + checkUnnamed8302(o.exampleCount!); } buildCounterGoogleCloudDatalabelingV1beta1LabelStats--; } @@ -3639,12 +3639,12 @@ void checkGoogleCloudDatalabelingV1beta1LabelVideoRequest( } core.List - buildUnnamed8216() => [ + buildUnnamed8303() => [ buildGoogleCloudDatalabelingV1beta1AnnotatedDataset(), buildGoogleCloudDatalabelingV1beta1AnnotatedDataset(), ]; -void checkUnnamed8216( +void checkUnnamed8303( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1AnnotatedDataset(o[0]); @@ -3659,7 +3659,7 @@ api.GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse buildCounterGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse < 3) { - o.annotatedDatasets = buildUnnamed8216(); + o.annotatedDatasets = buildUnnamed8303(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse--; @@ -3671,7 +3671,7 @@ void checkGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse < 3) { - checkUnnamed8216(o.annotatedDatasets!); + checkUnnamed8303(o.annotatedDatasets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3681,12 +3681,12 @@ void checkGoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse( } core.List - buildUnnamed8217() => [ + buildUnnamed8304() => [ buildGoogleCloudDatalabelingV1beta1AnnotationSpecSet(), buildGoogleCloudDatalabelingV1beta1AnnotationSpecSet(), ]; -void checkUnnamed8217( +void checkUnnamed8304( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1AnnotationSpecSet(o[0]); @@ -3702,7 +3702,7 @@ api.GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse buildCounterGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse < 3) { - o.annotationSpecSets = buildUnnamed8217(); + o.annotationSpecSets = buildUnnamed8304(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse--; @@ -3714,7 +3714,7 @@ void checkGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse < 3) { - checkUnnamed8217(o.annotationSpecSets!); + checkUnnamed8304(o.annotationSpecSets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3723,12 +3723,12 @@ void checkGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse--; } -core.List buildUnnamed8218() => [ +core.List buildUnnamed8305() => [ buildGoogleCloudDatalabelingV1beta1DataItem(), buildGoogleCloudDatalabelingV1beta1DataItem(), ]; -void checkUnnamed8218(core.List o) { +void checkUnnamed8305(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1DataItem(o[0]); checkGoogleCloudDatalabelingV1beta1DataItem(o[1]); @@ -3740,7 +3740,7 @@ api.GoogleCloudDatalabelingV1beta1ListDataItemsResponse final o = api.GoogleCloudDatalabelingV1beta1ListDataItemsResponse(); buildCounterGoogleCloudDatalabelingV1beta1ListDataItemsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListDataItemsResponse < 3) { - o.dataItems = buildUnnamed8218(); + o.dataItems = buildUnnamed8305(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListDataItemsResponse--; @@ -3751,7 +3751,7 @@ void checkGoogleCloudDatalabelingV1beta1ListDataItemsResponse( api.GoogleCloudDatalabelingV1beta1ListDataItemsResponse o) { buildCounterGoogleCloudDatalabelingV1beta1ListDataItemsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListDataItemsResponse < 3) { - checkUnnamed8218(o.dataItems!); + checkUnnamed8305(o.dataItems!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3760,12 +3760,12 @@ void checkGoogleCloudDatalabelingV1beta1ListDataItemsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListDataItemsResponse--; } -core.List buildUnnamed8219() => [ +core.List buildUnnamed8306() => [ buildGoogleCloudDatalabelingV1beta1Dataset(), buildGoogleCloudDatalabelingV1beta1Dataset(), ]; -void checkUnnamed8219(core.List o) { +void checkUnnamed8306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Dataset(o[0]); checkGoogleCloudDatalabelingV1beta1Dataset(o[1]); @@ -3777,7 +3777,7 @@ api.GoogleCloudDatalabelingV1beta1ListDatasetsResponse final o = api.GoogleCloudDatalabelingV1beta1ListDatasetsResponse(); buildCounterGoogleCloudDatalabelingV1beta1ListDatasetsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListDatasetsResponse < 3) { - o.datasets = buildUnnamed8219(); + o.datasets = buildUnnamed8306(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListDatasetsResponse--; @@ -3788,7 +3788,7 @@ void checkGoogleCloudDatalabelingV1beta1ListDatasetsResponse( api.GoogleCloudDatalabelingV1beta1ListDatasetsResponse o) { buildCounterGoogleCloudDatalabelingV1beta1ListDatasetsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListDatasetsResponse < 3) { - checkUnnamed8219(o.datasets!); + checkUnnamed8306(o.datasets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3797,13 +3797,13 @@ void checkGoogleCloudDatalabelingV1beta1ListDatasetsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListDatasetsResponse--; } -core.List buildUnnamed8220() => +core.List buildUnnamed8307() => [ buildGoogleCloudDatalabelingV1beta1EvaluationJob(), buildGoogleCloudDatalabelingV1beta1EvaluationJob(), ]; -void checkUnnamed8220( +void checkUnnamed8307( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1EvaluationJob(o[0]); @@ -3818,7 +3818,7 @@ api.GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse buildCounterGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse < 3) { - o.evaluationJobs = buildUnnamed8220(); + o.evaluationJobs = buildUnnamed8307(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse--; @@ -3830,7 +3830,7 @@ void checkGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse < 3) { - checkUnnamed8220(o.evaluationJobs!); + checkUnnamed8307(o.evaluationJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3839,12 +3839,12 @@ void checkGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse--; } -core.List buildUnnamed8221() => [ +core.List buildUnnamed8308() => [ buildGoogleCloudDatalabelingV1beta1Example(), buildGoogleCloudDatalabelingV1beta1Example(), ]; -void checkUnnamed8221(core.List o) { +void checkUnnamed8308(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Example(o[0]); checkGoogleCloudDatalabelingV1beta1Example(o[1]); @@ -3856,7 +3856,7 @@ api.GoogleCloudDatalabelingV1beta1ListExamplesResponse final o = api.GoogleCloudDatalabelingV1beta1ListExamplesResponse(); buildCounterGoogleCloudDatalabelingV1beta1ListExamplesResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListExamplesResponse < 3) { - o.examples = buildUnnamed8221(); + o.examples = buildUnnamed8308(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListExamplesResponse--; @@ -3867,7 +3867,7 @@ void checkGoogleCloudDatalabelingV1beta1ListExamplesResponse( api.GoogleCloudDatalabelingV1beta1ListExamplesResponse o) { buildCounterGoogleCloudDatalabelingV1beta1ListExamplesResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListExamplesResponse < 3) { - checkUnnamed8221(o.examples!); + checkUnnamed8308(o.examples!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3877,12 +3877,12 @@ void checkGoogleCloudDatalabelingV1beta1ListExamplesResponse( } core.List - buildUnnamed8222() => [ + buildUnnamed8309() => [ buildGoogleCloudDatalabelingV1beta1FeedbackMessage(), buildGoogleCloudDatalabelingV1beta1FeedbackMessage(), ]; -void checkUnnamed8222( +void checkUnnamed8309( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1FeedbackMessage(o[0]); @@ -3897,7 +3897,7 @@ api.GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse < 3) { - o.feedbackMessages = buildUnnamed8222(); + o.feedbackMessages = buildUnnamed8309(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse--; @@ -3909,7 +3909,7 @@ void checkGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse( buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse < 3) { - checkUnnamed8222(o.feedbackMessages!); + checkUnnamed8309(o.feedbackMessages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3919,12 +3919,12 @@ void checkGoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse( } core.List - buildUnnamed8223() => [ + buildUnnamed8310() => [ buildGoogleCloudDatalabelingV1beta1FeedbackThread(), buildGoogleCloudDatalabelingV1beta1FeedbackThread(), ]; -void checkUnnamed8223( +void checkUnnamed8310( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1FeedbackThread(o[0]); @@ -3939,7 +3939,7 @@ api.GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse < 3) { - o.feedbackThreads = buildUnnamed8223(); + o.feedbackThreads = buildUnnamed8310(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse--; @@ -3951,7 +3951,7 @@ void checkGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse < 3) { - checkUnnamed8223(o.feedbackThreads!); + checkUnnamed8310(o.feedbackThreads!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3960,12 +3960,12 @@ void checkGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse( buildCounterGoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse--; } -core.List buildUnnamed8224() => [ +core.List buildUnnamed8311() => [ buildGoogleCloudDatalabelingV1beta1Instruction(), buildGoogleCloudDatalabelingV1beta1Instruction(), ]; -void checkUnnamed8224( +void checkUnnamed8311( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Instruction(o[0]); @@ -3978,7 +3978,7 @@ api.GoogleCloudDatalabelingV1beta1ListInstructionsResponse final o = api.GoogleCloudDatalabelingV1beta1ListInstructionsResponse(); buildCounterGoogleCloudDatalabelingV1beta1ListInstructionsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListInstructionsResponse < 3) { - o.instructions = buildUnnamed8224(); + o.instructions = buildUnnamed8311(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1ListInstructionsResponse--; @@ -3989,7 +3989,7 @@ void checkGoogleCloudDatalabelingV1beta1ListInstructionsResponse( api.GoogleCloudDatalabelingV1beta1ListInstructionsResponse o) { buildCounterGoogleCloudDatalabelingV1beta1ListInstructionsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1ListInstructionsResponse < 3) { - checkUnnamed8224(o.instructions!); + checkUnnamed8311(o.instructions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3999,12 +3999,12 @@ void checkGoogleCloudDatalabelingV1beta1ListInstructionsResponse( } core.List - buildUnnamed8225() => [ + buildUnnamed8312() => [ buildGoogleCloudDatalabelingV1beta1NormalizedVertex(), buildGoogleCloudDatalabelingV1beta1NormalizedVertex(), ]; -void checkUnnamed8225( +void checkUnnamed8312( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1NormalizedVertex(o[0]); @@ -4017,7 +4017,7 @@ api.GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly final o = api.GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly(); buildCounterGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly < 3) { - o.normalizedVertices = buildUnnamed8225(); + o.normalizedVertices = buildUnnamed8312(); } buildCounterGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly--; return o; @@ -4027,18 +4027,18 @@ void checkGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly( api.GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly o) { buildCounterGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly++; if (buildCounterGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly < 3) { - checkUnnamed8225(o.normalizedVertices!); + checkUnnamed8312(o.normalizedVertices!); } buildCounterGoogleCloudDatalabelingV1beta1NormalizedBoundingPoly--; } core.List - buildUnnamed8226() => [ + buildUnnamed8313() => [ buildGoogleCloudDatalabelingV1beta1NormalizedVertex(), buildGoogleCloudDatalabelingV1beta1NormalizedVertex(), ]; -void checkUnnamed8226( +void checkUnnamed8313( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1NormalizedVertex(o[0]); @@ -4051,7 +4051,7 @@ api.GoogleCloudDatalabelingV1beta1NormalizedPolyline final o = api.GoogleCloudDatalabelingV1beta1NormalizedPolyline(); buildCounterGoogleCloudDatalabelingV1beta1NormalizedPolyline++; if (buildCounterGoogleCloudDatalabelingV1beta1NormalizedPolyline < 3) { - o.normalizedVertices = buildUnnamed8226(); + o.normalizedVertices = buildUnnamed8313(); } buildCounterGoogleCloudDatalabelingV1beta1NormalizedPolyline--; return o; @@ -4061,7 +4061,7 @@ void checkGoogleCloudDatalabelingV1beta1NormalizedPolyline( api.GoogleCloudDatalabelingV1beta1NormalizedPolyline o) { buildCounterGoogleCloudDatalabelingV1beta1NormalizedPolyline++; if (buildCounterGoogleCloudDatalabelingV1beta1NormalizedPolyline < 3) { - checkUnnamed8226(o.normalizedVertices!); + checkUnnamed8313(o.normalizedVertices!); } buildCounterGoogleCloudDatalabelingV1beta1NormalizedPolyline--; } @@ -4226,12 +4226,12 @@ void checkGoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata( buildCounterGoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata--; } -core.List buildUnnamed8227() => [ +core.List buildUnnamed8314() => [ 'foo', 'foo', ]; -void checkUnnamed8227(core.List o) { +void checkUnnamed8314(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4249,7 +4249,7 @@ api.GoogleCloudDatalabelingV1beta1OperatorMetadata final o = api.GoogleCloudDatalabelingV1beta1OperatorMetadata(); buildCounterGoogleCloudDatalabelingV1beta1OperatorMetadata++; if (buildCounterGoogleCloudDatalabelingV1beta1OperatorMetadata < 3) { - o.comments = buildUnnamed8227(); + o.comments = buildUnnamed8314(); o.labelVotes = 42; o.score = 42.0; o.totalVotes = 42; @@ -4262,7 +4262,7 @@ void checkGoogleCloudDatalabelingV1beta1OperatorMetadata( api.GoogleCloudDatalabelingV1beta1OperatorMetadata o) { buildCounterGoogleCloudDatalabelingV1beta1OperatorMetadata++; if (buildCounterGoogleCloudDatalabelingV1beta1OperatorMetadata < 3) { - checkUnnamed8227(o.comments!); + checkUnnamed8314(o.comments!); unittest.expect( o.labelVotes!, unittest.equals(42), @@ -4348,12 +4348,12 @@ void checkGoogleCloudDatalabelingV1beta1PdfInstruction( buildCounterGoogleCloudDatalabelingV1beta1PdfInstruction--; } -core.List buildUnnamed8228() => [ +core.List buildUnnamed8315() => [ buildGoogleCloudDatalabelingV1beta1Vertex(), buildGoogleCloudDatalabelingV1beta1Vertex(), ]; -void checkUnnamed8228(core.List o) { +void checkUnnamed8315(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Vertex(o[0]); checkGoogleCloudDatalabelingV1beta1Vertex(o[1]); @@ -4365,7 +4365,7 @@ api.GoogleCloudDatalabelingV1beta1Polyline final o = api.GoogleCloudDatalabelingV1beta1Polyline(); buildCounterGoogleCloudDatalabelingV1beta1Polyline++; if (buildCounterGoogleCloudDatalabelingV1beta1Polyline < 3) { - o.vertices = buildUnnamed8228(); + o.vertices = buildUnnamed8315(); } buildCounterGoogleCloudDatalabelingV1beta1Polyline--; return o; @@ -4375,7 +4375,7 @@ void checkGoogleCloudDatalabelingV1beta1Polyline( api.GoogleCloudDatalabelingV1beta1Polyline o) { buildCounterGoogleCloudDatalabelingV1beta1Polyline++; if (buildCounterGoogleCloudDatalabelingV1beta1Polyline < 3) { - checkUnnamed8228(o.vertices!); + checkUnnamed8315(o.vertices!); } buildCounterGoogleCloudDatalabelingV1beta1Polyline--; } @@ -4410,12 +4410,12 @@ void checkGoogleCloudDatalabelingV1beta1PolylineConfig( } core.List - buildUnnamed8229() => [ + buildUnnamed8316() => [ buildGoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry(), buildGoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry(), ]; -void checkUnnamed8229( +void checkUnnamed8316( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry(o[0]); @@ -4430,7 +4430,7 @@ api.GoogleCloudDatalabelingV1beta1PrCurve if (buildCounterGoogleCloudDatalabelingV1beta1PrCurve < 3) { o.annotationSpec = buildGoogleCloudDatalabelingV1beta1AnnotationSpec(); o.areaUnderCurve = 42.0; - o.confidenceMetricsEntries = buildUnnamed8229(); + o.confidenceMetricsEntries = buildUnnamed8316(); o.meanAveragePrecision = 42.0; } buildCounterGoogleCloudDatalabelingV1beta1PrCurve--; @@ -4446,7 +4446,7 @@ void checkGoogleCloudDatalabelingV1beta1PrCurve( o.areaUnderCurve!, unittest.equals(42.0), ); - checkUnnamed8229(o.confidenceMetricsEntries!); + checkUnnamed8316(o.confidenceMetricsEntries!); unittest.expect( o.meanAveragePrecision!, unittest.equals(42.0), @@ -4496,12 +4496,12 @@ void checkGoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest( } core.List - buildUnnamed8230() => [ + buildUnnamed8317() => [ buildGoogleCloudDatalabelingV1beta1ConfusionMatrixEntry(), buildGoogleCloudDatalabelingV1beta1ConfusionMatrixEntry(), ]; -void checkUnnamed8230( +void checkUnnamed8317( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1ConfusionMatrixEntry(o[0]); @@ -4514,7 +4514,7 @@ api.GoogleCloudDatalabelingV1beta1Row buildGoogleCloudDatalabelingV1beta1Row() { buildCounterGoogleCloudDatalabelingV1beta1Row++; if (buildCounterGoogleCloudDatalabelingV1beta1Row < 3) { o.annotationSpec = buildGoogleCloudDatalabelingV1beta1AnnotationSpec(); - o.entries = buildUnnamed8230(); + o.entries = buildUnnamed8317(); } buildCounterGoogleCloudDatalabelingV1beta1Row--; return o; @@ -4525,17 +4525,17 @@ void checkGoogleCloudDatalabelingV1beta1Row( buildCounterGoogleCloudDatalabelingV1beta1Row++; if (buildCounterGoogleCloudDatalabelingV1beta1Row < 3) { checkGoogleCloudDatalabelingV1beta1AnnotationSpec(o.annotationSpec!); - checkUnnamed8230(o.entries!); + checkUnnamed8317(o.entries!); } buildCounterGoogleCloudDatalabelingV1beta1Row--; } -core.List buildUnnamed8231() => [ +core.List buildUnnamed8318() => [ buildGoogleCloudDatalabelingV1beta1Evaluation(), buildGoogleCloudDatalabelingV1beta1Evaluation(), ]; -void checkUnnamed8231( +void checkUnnamed8318( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1Evaluation(o[0]); @@ -4549,7 +4549,7 @@ api.GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse final o = api.GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse(); buildCounterGoogleCloudDatalabelingV1beta1SearchEvaluationsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1SearchEvaluationsResponse < 3) { - o.evaluations = buildUnnamed8231(); + o.evaluations = buildUnnamed8318(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1SearchEvaluationsResponse--; @@ -4560,7 +4560,7 @@ void checkGoogleCloudDatalabelingV1beta1SearchEvaluationsResponse( api.GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse o) { buildCounterGoogleCloudDatalabelingV1beta1SearchEvaluationsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1SearchEvaluationsResponse < 3) { - checkUnnamed8231(o.evaluations!); + checkUnnamed8318(o.evaluations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4603,12 +4603,12 @@ void checkGoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest( } core.List - buildUnnamed8232() => [ + buildUnnamed8319() => [ buildGoogleCloudDatalabelingV1beta1ExampleComparison(), buildGoogleCloudDatalabelingV1beta1ExampleComparison(), ]; -void checkUnnamed8232( +void checkUnnamed8319( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1ExampleComparison(o[0]); @@ -4625,7 +4625,7 @@ api.GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse buildCounterGoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse < 3) { - o.exampleComparisons = buildUnnamed8232(); + o.exampleComparisons = buildUnnamed8319(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse--; @@ -4637,7 +4637,7 @@ void checkGoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse( buildCounterGoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse++; if (buildCounterGoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse < 3) { - checkUnnamed8232(o.exampleComparisons!); + checkUnnamed8319(o.exampleComparisons!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -4965,12 +4965,12 @@ void checkGoogleCloudDatalabelingV1beta1VideoClassificationAnnotation( } core.List - buildUnnamed8233() => [ + buildUnnamed8320() => [ buildGoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig(), buildGoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig(), ]; -void checkUnnamed8233( +void checkUnnamed8320( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig(o[0]); @@ -4984,7 +4984,7 @@ api.GoogleCloudDatalabelingV1beta1VideoClassificationConfig final o = api.GoogleCloudDatalabelingV1beta1VideoClassificationConfig(); buildCounterGoogleCloudDatalabelingV1beta1VideoClassificationConfig++; if (buildCounterGoogleCloudDatalabelingV1beta1VideoClassificationConfig < 3) { - o.annotationSpecSetConfigs = buildUnnamed8233(); + o.annotationSpecSetConfigs = buildUnnamed8320(); o.applyShotDetection = true; } buildCounterGoogleCloudDatalabelingV1beta1VideoClassificationConfig--; @@ -4995,7 +4995,7 @@ void checkGoogleCloudDatalabelingV1beta1VideoClassificationConfig( api.GoogleCloudDatalabelingV1beta1VideoClassificationConfig o) { buildCounterGoogleCloudDatalabelingV1beta1VideoClassificationConfig++; if (buildCounterGoogleCloudDatalabelingV1beta1VideoClassificationConfig < 3) { - checkUnnamed8233(o.annotationSpecSetConfigs!); + checkUnnamed8320(o.annotationSpecSetConfigs!); unittest.expect(o.applyShotDetection!, unittest.isTrue); } buildCounterGoogleCloudDatalabelingV1beta1VideoClassificationConfig--; @@ -5025,12 +5025,12 @@ void checkGoogleCloudDatalabelingV1beta1VideoEventAnnotation( } core.List - buildUnnamed8234() => [ + buildUnnamed8321() => [ buildGoogleCloudDatalabelingV1beta1ObjectTrackingFrame(), buildGoogleCloudDatalabelingV1beta1ObjectTrackingFrame(), ]; -void checkUnnamed8234( +void checkUnnamed8321( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1ObjectTrackingFrame(o[0]); @@ -5046,7 +5046,7 @@ api.GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation if (buildCounterGoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation < 3) { o.annotationSpec = buildGoogleCloudDatalabelingV1beta1AnnotationSpec(); - o.objectTrackingFrames = buildUnnamed8234(); + o.objectTrackingFrames = buildUnnamed8321(); o.timeSegment = buildGoogleCloudDatalabelingV1beta1TimeSegment(); } buildCounterGoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation--; @@ -5059,19 +5059,19 @@ void checkGoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation( if (buildCounterGoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation < 3) { checkGoogleCloudDatalabelingV1beta1AnnotationSpec(o.annotationSpec!); - checkUnnamed8234(o.objectTrackingFrames!); + checkUnnamed8321(o.objectTrackingFrames!); checkGoogleCloudDatalabelingV1beta1TimeSegment(o.timeSegment!); } buildCounterGoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation--; } core.List - buildUnnamed8235() => [ + buildUnnamed8322() => [ buildGoogleCloudDatalabelingV1beta1VideoThumbnail(), buildGoogleCloudDatalabelingV1beta1VideoThumbnail(), ]; -void checkUnnamed8235( +void checkUnnamed8322( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDatalabelingV1beta1VideoThumbnail(o[0]); @@ -5087,7 +5087,7 @@ api.GoogleCloudDatalabelingV1beta1VideoPayload o.frameRate = 42.0; o.mimeType = 'foo'; o.signedUri = 'foo'; - o.videoThumbnails = buildUnnamed8235(); + o.videoThumbnails = buildUnnamed8322(); o.videoUri = 'foo'; } buildCounterGoogleCloudDatalabelingV1beta1VideoPayload--; @@ -5110,7 +5110,7 @@ void checkGoogleCloudDatalabelingV1beta1VideoPayload( o.signedUri!, unittest.equals('foo'), ); - checkUnnamed8235(o.videoThumbnails!); + checkUnnamed8322(o.videoThumbnails!); unittest.expect( o.videoUri!, unittest.equals('foo'), @@ -5148,12 +5148,12 @@ void checkGoogleCloudDatalabelingV1beta1VideoThumbnail( buildCounterGoogleCloudDatalabelingV1beta1VideoThumbnail--; } -core.List buildUnnamed8236() => [ +core.List buildUnnamed8323() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8236(core.List o) { +void checkUnnamed8323(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -5169,7 +5169,7 @@ api.GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata 3) { o.createTime = 'foo'; o.instruction = 'foo'; - o.partialFailures = buildUnnamed8236(); + o.partialFailures = buildUnnamed8323(); } buildCounterGoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata--; return o; @@ -5188,17 +5188,17 @@ void checkGoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata( o.instruction!, unittest.equals('foo'), ); - checkUnnamed8236(o.partialFailures!); + checkUnnamed8323(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata--; } -core.List buildUnnamed8237() => [ +core.List buildUnnamed8324() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8237(core.List o) { +void checkUnnamed8324(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -5216,7 +5216,7 @@ api.GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata o.annotatedDataset = 'foo'; o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8237(); + o.partialFailures = buildUnnamed8324(); } buildCounterGoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata--; return o; @@ -5239,7 +5239,7 @@ void checkGoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8237(o.partialFailures!); + checkUnnamed8324(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata--; } @@ -5379,12 +5379,12 @@ void checkGoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetada buildCounterGoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata--; } -core.List buildUnnamed8238() => [ +core.List buildUnnamed8325() => [ 'foo', 'foo', ]; -void checkUnnamed8238(core.List o) { +void checkUnnamed8325(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5404,7 +5404,7 @@ api.GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig if (buildCounterGoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig < 3) { o.annotatedDatasetDescription = 'foo'; o.annotatedDatasetDisplayName = 'foo'; - o.contributorEmails = buildUnnamed8238(); + o.contributorEmails = buildUnnamed8325(); o.instruction = 'foo'; o.labelGroup = 'foo'; o.languageCode = 'foo'; @@ -5428,7 +5428,7 @@ void checkGoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig( o.annotatedDatasetDisplayName!, unittest.equals('foo'), ); - checkUnnamed8238(o.contributorEmails!); + checkUnnamed8325(o.contributorEmails!); unittest.expect( o.instruction!, unittest.equals('foo'), @@ -5457,12 +5457,12 @@ void checkGoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig( buildCounterGoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig--; } -core.List buildUnnamed8239() => [ +core.List buildUnnamed8326() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8239(core.List o) { +void checkUnnamed8326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -5479,7 +5479,7 @@ api.GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata 3) { o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8239(); + o.partialFailures = buildUnnamed8326(); } buildCounterGoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata--; return o; @@ -5498,7 +5498,7 @@ void checkGoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8239(o.partialFailures!); + checkUnnamed8326(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata--; } @@ -5709,12 +5709,12 @@ void checkGoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetada buildCounterGoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata--; } -core.List buildUnnamed8240() => [ +core.List buildUnnamed8327() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8240(core.List o) { +void checkUnnamed8327(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -5742,7 +5742,7 @@ api.GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata buildGoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata(); o.imageSegmentationDetails = buildGoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata(); - o.partialFailures = buildUnnamed8240(); + o.partialFailures = buildUnnamed8327(); o.progressPercent = 42; o.textClassificationDetails = buildGoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata(); @@ -5789,7 +5789,7 @@ void checkGoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata( o.imagePolylineDetails!); checkGoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata( o.imageSegmentationDetails!); - checkUnnamed8240(o.partialFailures!); + checkUnnamed8327(o.partialFailures!); unittest.expect( o.progressPercent!, unittest.equals(42), @@ -5810,12 +5810,12 @@ void checkGoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata( buildCounterGoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata--; } -core.Map buildUnnamed8241() => { +core.Map buildUnnamed8328() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8241(core.Map o) { +void checkUnnamed8328(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5833,7 +5833,7 @@ api.GoogleCloudDatalabelingV1p1alpha1LabelStats final o = api.GoogleCloudDatalabelingV1p1alpha1LabelStats(); buildCounterGoogleCloudDatalabelingV1p1alpha1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1p1alpha1LabelStats < 3) { - o.exampleCount = buildUnnamed8241(); + o.exampleCount = buildUnnamed8328(); } buildCounterGoogleCloudDatalabelingV1p1alpha1LabelStats--; return o; @@ -5843,7 +5843,7 @@ void checkGoogleCloudDatalabelingV1p1alpha1LabelStats( api.GoogleCloudDatalabelingV1p1alpha1LabelStats o) { buildCounterGoogleCloudDatalabelingV1p1alpha1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1p1alpha1LabelStats < 3) { - checkUnnamed8241(o.exampleCount!); + checkUnnamed8328(o.exampleCount!); } buildCounterGoogleCloudDatalabelingV1p1alpha1LabelStats--; } @@ -6040,12 +6040,12 @@ void checkGoogleCloudDatalabelingV1p1alpha1OutputConfig( buildCounterGoogleCloudDatalabelingV1p1alpha1OutputConfig--; } -core.List buildUnnamed8242() => [ +core.List buildUnnamed8329() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8242(core.List o) { +void checkUnnamed8329(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -6061,7 +6061,7 @@ api.GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata 3) { o.createTime = 'foo'; o.instruction = 'foo'; - o.partialFailures = buildUnnamed8242(); + o.partialFailures = buildUnnamed8329(); } buildCounterGoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata--; return o; @@ -6080,17 +6080,17 @@ void checkGoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata( o.instruction!, unittest.equals('foo'), ); - checkUnnamed8242(o.partialFailures!); + checkUnnamed8329(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata--; } -core.List buildUnnamed8243() => [ +core.List buildUnnamed8330() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8243(core.List o) { +void checkUnnamed8330(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -6108,7 +6108,7 @@ api.GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata o.annotatedDataset = 'foo'; o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8243(); + o.partialFailures = buildUnnamed8330(); } buildCounterGoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata--; return o; @@ -6131,7 +6131,7 @@ void checkGoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8243(o.partialFailures!); + checkUnnamed8330(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata--; } @@ -6236,12 +6236,12 @@ void checkGoogleCloudDatalabelingV1p2alpha1GcsFolderDestination( buildCounterGoogleCloudDatalabelingV1p2alpha1GcsFolderDestination--; } -core.List buildUnnamed8244() => [ +core.List buildUnnamed8331() => [ 'foo', 'foo', ]; -void checkUnnamed8244(core.List o) { +void checkUnnamed8331(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6261,7 +6261,7 @@ api.GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig if (buildCounterGoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig < 3) { o.annotatedDatasetDescription = 'foo'; o.annotatedDatasetDisplayName = 'foo'; - o.contributorEmails = buildUnnamed8244(); + o.contributorEmails = buildUnnamed8331(); o.instruction = 'foo'; o.labelGroup = 'foo'; o.languageCode = 'foo'; @@ -6285,7 +6285,7 @@ void checkGoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig( o.annotatedDatasetDisplayName!, unittest.equals('foo'), ); - checkUnnamed8244(o.contributorEmails!); + checkUnnamed8331(o.contributorEmails!); unittest.expect( o.instruction!, unittest.equals('foo'), @@ -6314,12 +6314,12 @@ void checkGoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig( buildCounterGoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig--; } -core.List buildUnnamed8245() => [ +core.List buildUnnamed8332() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8245(core.List o) { +void checkUnnamed8332(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -6336,7 +6336,7 @@ api.GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata 3) { o.createTime = 'foo'; o.dataset = 'foo'; - o.partialFailures = buildUnnamed8245(); + o.partialFailures = buildUnnamed8332(); } buildCounterGoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata--; return o; @@ -6355,7 +6355,7 @@ void checkGoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata( o.dataset!, unittest.equals('foo'), ); - checkUnnamed8245(o.partialFailures!); + checkUnnamed8332(o.partialFailures!); } buildCounterGoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata--; } @@ -6566,12 +6566,12 @@ void checkGoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetada buildCounterGoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata--; } -core.List buildUnnamed8246() => [ +core.List buildUnnamed8333() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8246(core.List o) { +void checkUnnamed8333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -6599,7 +6599,7 @@ api.GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata buildGoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata(); o.imageSegmentationDetails = buildGoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata(); - o.partialFailures = buildUnnamed8246(); + o.partialFailures = buildUnnamed8333(); o.progressPercent = 42; o.textClassificationDetails = buildGoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata(); @@ -6646,7 +6646,7 @@ void checkGoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata( o.imagePolylineDetails!); checkGoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata( o.imageSegmentationDetails!); - checkUnnamed8246(o.partialFailures!); + checkUnnamed8333(o.partialFailures!); unittest.expect( o.progressPercent!, unittest.equals(42), @@ -6667,12 +6667,12 @@ void checkGoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata( buildCounterGoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata--; } -core.Map buildUnnamed8247() => { +core.Map buildUnnamed8334() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8247(core.Map o) { +void checkUnnamed8334(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6690,7 +6690,7 @@ api.GoogleCloudDatalabelingV1p2alpha1LabelStats final o = api.GoogleCloudDatalabelingV1p2alpha1LabelStats(); buildCounterGoogleCloudDatalabelingV1p2alpha1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1p2alpha1LabelStats < 3) { - o.exampleCount = buildUnnamed8247(); + o.exampleCount = buildUnnamed8334(); } buildCounterGoogleCloudDatalabelingV1p2alpha1LabelStats--; return o; @@ -6700,7 +6700,7 @@ void checkGoogleCloudDatalabelingV1p2alpha1LabelStats( api.GoogleCloudDatalabelingV1p2alpha1LabelStats o) { buildCounterGoogleCloudDatalabelingV1p2alpha1LabelStats++; if (buildCounterGoogleCloudDatalabelingV1p2alpha1LabelStats < 3) { - checkUnnamed8247(o.exampleCount!); + checkUnnamed8334(o.exampleCount!); } buildCounterGoogleCloudDatalabelingV1p2alpha1LabelStats--; } @@ -6897,12 +6897,12 @@ void checkGoogleCloudDatalabelingV1p2alpha1OutputConfig( buildCounterGoogleCloudDatalabelingV1p2alpha1OutputConfig--; } -core.List buildUnnamed8248() => [ +core.List buildUnnamed8335() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed8248(core.List o) { +void checkUnnamed8335(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -6915,7 +6915,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8248(); + o.operations = buildUnnamed8335(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -6929,12 +6929,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8248(o.operations!); + checkUnnamed8335(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed8249() => { +core.Map buildUnnamed8336() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6947,7 +6947,7 @@ core.Map buildUnnamed8249() => { }, }; -void checkUnnamed8249(core.Map o) { +void checkUnnamed8336(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -6979,7 +6979,7 @@ void checkUnnamed8249(core.Map o) { ); } -core.Map buildUnnamed8250() => { +core.Map buildUnnamed8337() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6992,7 +6992,7 @@ core.Map buildUnnamed8250() => { }, }; -void checkUnnamed8250(core.Map o) { +void checkUnnamed8337(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -7031,9 +7031,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed8249(); + o.metadata = buildUnnamed8336(); o.name = 'foo'; - o.response = buildUnnamed8250(); + o.response = buildUnnamed8337(); } buildCounterGoogleLongrunningOperation--; return o; @@ -7044,12 +7044,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed8249(o.metadata!); + checkUnnamed8336(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8250(o.response!); + checkUnnamed8337(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -7069,7 +7069,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed8251() => { +core.Map buildUnnamed8338() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7082,7 +7082,7 @@ core.Map buildUnnamed8251() => { }, }; -void checkUnnamed8251(core.Map o) { +void checkUnnamed8338(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -7114,15 +7114,15 @@ void checkUnnamed8251(core.Map o) { ); } -core.List> buildUnnamed8252() => [ - buildUnnamed8251(), - buildUnnamed8251(), +core.List> buildUnnamed8339() => [ + buildUnnamed8338(), + buildUnnamed8338(), ]; -void checkUnnamed8252(core.List> o) { +void checkUnnamed8339(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8251(o[0]); - checkUnnamed8251(o[1]); + checkUnnamed8338(o[0]); + checkUnnamed8338(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -7131,7 +7131,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed8252(); + o.details = buildUnnamed8339(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -7145,7 +7145,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8252(o.details!); + checkUnnamed8339(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/documentai/v1beta3_test.dart b/generated/googleapis_beta/test/documentai/v1beta3_test.dart index c9c7560e5..df7a455d4 100644 --- a/generated/googleapis_beta/test/documentai/v1beta3_test.dart +++ b/generated/googleapis_beta/test/documentai/v1beta3_test.dart @@ -26,6 +26,98 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; +core.int + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata = 0; +api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata < + 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata( + api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata < + 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata--; +} + +core.int + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse = 0; +api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse( + api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse--; +} + +core.int buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata = + 0; +api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata + buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata < + 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata( + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata < + 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata--; +} + +core.int buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse = + 0; +api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse + buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse() { + final o = api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(); + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse( + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse o) { + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse < + 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse--; +} + core.int buildCounterGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata = 0; api.GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata() { @@ -411,6 +503,46 @@ void checkGoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( buildCounterGoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse--; } +core.int buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata = 0; +api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata + buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata < 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata < 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata--; +} + +core.int buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse = 0; +api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse + buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse() { + final o = api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(); + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse < 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse( + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse o) { + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse < 3) {} + buildCounterGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse--; +} + core.int buildCounterGoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata = 0; @@ -495,23 +627,23 @@ void checkGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata--; } -core.List buildUnnamed7920() => [ +core.List buildUnnamed8006() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed7920(core.List o) { +void checkUnnamed8006(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); } -core.List buildUnnamed7921() => [ +core.List buildUnnamed8007() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed7921(core.List o) { +void checkUnnamed8007(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -528,9 +660,9 @@ api.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation if (buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation < 3) { o.datasetErrorCount = 42; - o.datasetErrors = buildUnnamed7920(); + o.datasetErrors = buildUnnamed8006(); o.documentErrorCount = 42; - o.documentErrors = buildUnnamed7921(); + o.documentErrors = buildUnnamed8007(); } buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation--; return o; @@ -546,12 +678,12 @@ void checkGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetVali o.datasetErrorCount!, unittest.equals(42), ); - checkUnnamed7920(o.datasetErrors!); + checkUnnamed8006(o.datasetErrors!); unittest.expect( o.documentErrorCount!, unittest.equals(42), ); - checkUnnamed7921(o.documentErrors!); + checkUnnamed8007(o.documentErrors!); } buildCounterGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation--; } @@ -633,6 +765,33 @@ void checkGoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse( buildCounterGoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse--; } +core.int + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata = + 0; +api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata + buildGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata() { + final o = api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata(); + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata < + 3) { + o.commonMetadata = + buildGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata(); + } + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata--; + return o; +} + +void checkGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata( + api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata o) { + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata++; + if (buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata < + 3) { + checkGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata( + o.commonMetadata!); + } + buildCounterGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata--; +} + core.int buildCounterGoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata = 0; @@ -690,12 +849,12 @@ void checkGoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata( core.List< api.GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus> - buildUnnamed7922() => [ + buildUnnamed8008() => [ buildGoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus(), buildGoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus(), ]; -void checkUnnamed7922( +void checkUnnamed8008( core.List< api.GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus> o) { @@ -711,7 +870,7 @@ api.GoogleCloudDocumentaiV1BatchProcessMetadata buildCounterGoogleCloudDocumentaiV1BatchProcessMetadata++; if (buildCounterGoogleCloudDocumentaiV1BatchProcessMetadata < 3) { o.createTime = 'foo'; - o.individualProcessStatuses = buildUnnamed7922(); + o.individualProcessStatuses = buildUnnamed8008(); o.state = 'foo'; o.stateMessage = 'foo'; o.updateTime = 'foo'; @@ -728,7 +887,7 @@ void checkGoogleCloudDocumentaiV1BatchProcessMetadata( o.createTime!, unittest.equals('foo'), ); - checkUnnamed7922(o.individualProcessStatuses!); + checkUnnamed8008(o.individualProcessStatuses!); unittest.expect( o.state!, unittest.equals('foo'), @@ -919,12 +1078,12 @@ void checkGoogleCloudDocumentaiV1ReviewDocumentResponse( } core.List - buildUnnamed7923() => [ + buildUnnamed8009() => [ buildGoogleCloudDocumentaiV1beta1ProcessDocumentResponse(), buildGoogleCloudDocumentaiV1beta1ProcessDocumentResponse(), ]; -void checkUnnamed7923( +void checkUnnamed8009( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1ProcessDocumentResponse(o[0]); @@ -939,7 +1098,7 @@ api.GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse < 3) { - o.responses = buildUnnamed7923(); + o.responses = buildUnnamed8009(); } buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse--; return o; @@ -950,30 +1109,30 @@ void checkGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse( buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse < 3) { - checkUnnamed7923(o.responses!); + checkUnnamed8009(o.responses!); } buildCounterGoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse--; } core.List - buildUnnamed7924() => [ + buildUnnamed8010() => [ buildGoogleCloudDocumentaiV1beta1NormalizedVertex(), buildGoogleCloudDocumentaiV1beta1NormalizedVertex(), ]; -void checkUnnamed7924( +void checkUnnamed8010( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1NormalizedVertex(o[0]); checkGoogleCloudDocumentaiV1beta1NormalizedVertex(o[1]); } -core.List buildUnnamed7925() => [ +core.List buildUnnamed8011() => [ buildGoogleCloudDocumentaiV1beta1Vertex(), buildGoogleCloudDocumentaiV1beta1Vertex(), ]; -void checkUnnamed7925(core.List o) { +void checkUnnamed8011(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1Vertex(o[0]); checkGoogleCloudDocumentaiV1beta1Vertex(o[1]); @@ -985,8 +1144,8 @@ api.GoogleCloudDocumentaiV1beta1BoundingPoly final o = api.GoogleCloudDocumentaiV1beta1BoundingPoly(); buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed7924(); - o.vertices = buildUnnamed7925(); + o.normalizedVertices = buildUnnamed8010(); + o.vertices = buildUnnamed8011(); } buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly--; return o; @@ -996,19 +1155,19 @@ void checkGoogleCloudDocumentaiV1beta1BoundingPoly( api.GoogleCloudDocumentaiV1beta1BoundingPoly o) { buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly < 3) { - checkUnnamed7924(o.normalizedVertices!); - checkUnnamed7925(o.vertices!); + checkUnnamed8010(o.normalizedVertices!); + checkUnnamed8011(o.vertices!); } buildCounterGoogleCloudDocumentaiV1beta1BoundingPoly--; } -core.List buildUnnamed7926() => +core.List buildUnnamed8012() => [ buildGoogleCloudDocumentaiV1beta1DocumentEntity(), buildGoogleCloudDocumentaiV1beta1DocumentEntity(), ]; -void checkUnnamed7926( +void checkUnnamed8012( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentEntity(o[0]); @@ -1016,24 +1175,24 @@ void checkUnnamed7926( } core.List - buildUnnamed7927() => [ + buildUnnamed8013() => [ buildGoogleCloudDocumentaiV1beta1DocumentEntityRelation(), buildGoogleCloudDocumentaiV1beta1DocumentEntityRelation(), ]; -void checkUnnamed7927( +void checkUnnamed8013( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentEntityRelation(o[0]); checkGoogleCloudDocumentaiV1beta1DocumentEntityRelation(o[1]); } -core.List buildUnnamed7928() => [ +core.List buildUnnamed8014() => [ buildGoogleCloudDocumentaiV1beta1DocumentPage(), buildGoogleCloudDocumentaiV1beta1DocumentPage(), ]; -void checkUnnamed7928( +void checkUnnamed8014( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPage(o[0]); @@ -1041,12 +1200,12 @@ void checkUnnamed7928( } core.List - buildUnnamed7929() => [ + buildUnnamed8015() => [ buildGoogleCloudDocumentaiV1beta1DocumentRevision(), buildGoogleCloudDocumentaiV1beta1DocumentRevision(), ]; -void checkUnnamed7929( +void checkUnnamed8015( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentRevision(o[0]); @@ -1054,24 +1213,24 @@ void checkUnnamed7929( } core.List - buildUnnamed7930() => [ + buildUnnamed8016() => [ buildGoogleCloudDocumentaiV1beta1DocumentTextChange(), buildGoogleCloudDocumentaiV1beta1DocumentTextChange(), ]; -void checkUnnamed7930( +void checkUnnamed8016( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentTextChange(o[0]); checkGoogleCloudDocumentaiV1beta1DocumentTextChange(o[1]); } -core.List buildUnnamed7931() => [ +core.List buildUnnamed8017() => [ buildGoogleCloudDocumentaiV1beta1DocumentStyle(), buildGoogleCloudDocumentaiV1beta1DocumentStyle(), ]; -void checkUnnamed7931( +void checkUnnamed8017( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentStyle(o[0]); @@ -1085,16 +1244,16 @@ api.GoogleCloudDocumentaiV1beta1Document buildCounterGoogleCloudDocumentaiV1beta1Document++; if (buildCounterGoogleCloudDocumentaiV1beta1Document < 3) { o.content = 'foo'; - o.entities = buildUnnamed7926(); - o.entityRelations = buildUnnamed7927(); + o.entities = buildUnnamed8012(); + o.entityRelations = buildUnnamed8013(); o.error = buildGoogleRpcStatus(); o.mimeType = 'foo'; - o.pages = buildUnnamed7928(); - o.revisions = buildUnnamed7929(); + o.pages = buildUnnamed8014(); + o.revisions = buildUnnamed8015(); o.shardInfo = buildGoogleCloudDocumentaiV1beta1DocumentShardInfo(); o.text = 'foo'; - o.textChanges = buildUnnamed7930(); - o.textStyles = buildUnnamed7931(); + o.textChanges = buildUnnamed8016(); + o.textStyles = buildUnnamed8017(); o.uri = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta1Document--; @@ -1109,22 +1268,22 @@ void checkGoogleCloudDocumentaiV1beta1Document( o.content!, unittest.equals('foo'), ); - checkUnnamed7926(o.entities!); - checkUnnamed7927(o.entityRelations!); + checkUnnamed8012(o.entities!); + checkUnnamed8013(o.entityRelations!); checkGoogleRpcStatus(o.error!); unittest.expect( o.mimeType!, unittest.equals('foo'), ); - checkUnnamed7928(o.pages!); - checkUnnamed7929(o.revisions!); + checkUnnamed8014(o.pages!); + checkUnnamed8015(o.revisions!); checkGoogleCloudDocumentaiV1beta1DocumentShardInfo(o.shardInfo!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed7930(o.textChanges!); - checkUnnamed7931(o.textStyles!); + checkUnnamed8016(o.textChanges!); + checkUnnamed8017(o.textStyles!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -1133,13 +1292,13 @@ void checkGoogleCloudDocumentaiV1beta1Document( buildCounterGoogleCloudDocumentaiV1beta1Document--; } -core.List buildUnnamed7932() => +core.List buildUnnamed8018() => [ buildGoogleCloudDocumentaiV1beta1DocumentEntity(), buildGoogleCloudDocumentaiV1beta1DocumentEntity(), ]; -void checkUnnamed7932( +void checkUnnamed8018( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentEntity(o[0]); @@ -1159,7 +1318,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1beta1DocumentPageAnchor(); - o.properties = buildUnnamed7932(); + o.properties = buildUnnamed8018(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1beta1DocumentTextAnchor(); @@ -1192,7 +1351,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentEntity( checkGoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1beta1DocumentPageAnchor(o.pageAnchor!); - checkUnnamed7932(o.properties!); + checkUnnamed8018(o.properties!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1beta1DocumentTextAnchor(o.textAnchor!); @@ -1216,6 +1375,8 @@ api.GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue o.booleanValue = true; o.dateValue = buildGoogleTypeDate(); o.datetimeValue = buildGoogleTypeDateTime(); + o.floatValue = 42.0; + o.integerValue = 42; o.moneyValue = buildGoogleTypeMoney(); o.text = 'foo'; } @@ -1232,6 +1393,14 @@ void checkGoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue( unittest.expect(o.booleanValue!, unittest.isTrue); checkGoogleTypeDate(o.dateValue!); checkGoogleTypeDateTime(o.datetimeValue!); + unittest.expect( + o.floatValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.integerValue!, + unittest.equals(42), + ); checkGoogleTypeMoney(o.moneyValue!); unittest.expect( o.text!, @@ -1276,12 +1445,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentEntityRelation( } core.List - buildUnnamed7933() => [ + buildUnnamed8019() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageBlock(), buildGoogleCloudDocumentaiV1beta1DocumentPageBlock(), ]; -void checkUnnamed7933( +void checkUnnamed8019( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageBlock(o[0]); @@ -1289,12 +1458,12 @@ void checkUnnamed7933( } core.List - buildUnnamed7934() => [ + buildUnnamed8020() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7934( +void checkUnnamed8020( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1302,12 +1471,12 @@ void checkUnnamed7934( } core.List - buildUnnamed7935() => [ + buildUnnamed8021() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageFormField(), buildGoogleCloudDocumentaiV1beta1DocumentPageFormField(), ]; -void checkUnnamed7935( +void checkUnnamed8021( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageFormField(o[0]); @@ -1315,12 +1484,12 @@ void checkUnnamed7935( } core.List - buildUnnamed7936() => [ + buildUnnamed8022() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageLine(), buildGoogleCloudDocumentaiV1beta1DocumentPageLine(), ]; -void checkUnnamed7936( +void checkUnnamed8022( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageLine(o[0]); @@ -1328,12 +1497,12 @@ void checkUnnamed7936( } core.List - buildUnnamed7937() => [ + buildUnnamed8023() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageParagraph(), buildGoogleCloudDocumentaiV1beta1DocumentPageParagraph(), ]; -void checkUnnamed7937( +void checkUnnamed8023( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageParagraph(o[0]); @@ -1341,12 +1510,12 @@ void checkUnnamed7937( } core.List - buildUnnamed7938() => [ + buildUnnamed8024() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTable(), buildGoogleCloudDocumentaiV1beta1DocumentPageTable(), ]; -void checkUnnamed7938( +void checkUnnamed8024( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTable(o[0]); @@ -1354,12 +1523,12 @@ void checkUnnamed7938( } core.List - buildUnnamed7939() => [ + buildUnnamed8025() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageToken(), buildGoogleCloudDocumentaiV1beta1DocumentPageToken(), ]; -void checkUnnamed7939( +void checkUnnamed8025( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageToken(o[0]); @@ -1367,12 +1536,12 @@ void checkUnnamed7939( } core.List - buildUnnamed7940() => [ + buildUnnamed8026() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageMatrix(), buildGoogleCloudDocumentaiV1beta1DocumentPageMatrix(), ]; -void checkUnnamed7940( +void checkUnnamed8026( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageMatrix(o[0]); @@ -1380,12 +1549,12 @@ void checkUnnamed7940( } core.List - buildUnnamed7941() => [ + buildUnnamed8027() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1beta1DocumentPageVisualElement(), ]; -void checkUnnamed7941( +void checkUnnamed8027( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageVisualElement(o[0]); @@ -1398,20 +1567,20 @@ api.GoogleCloudDocumentaiV1beta1DocumentPage final o = api.GoogleCloudDocumentaiV1beta1DocumentPage(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPage < 3) { - o.blocks = buildUnnamed7933(); - o.detectedLanguages = buildUnnamed7934(); + o.blocks = buildUnnamed8019(); + o.detectedLanguages = buildUnnamed8020(); o.dimension = buildGoogleCloudDocumentaiV1beta1DocumentPageDimension(); - o.formFields = buildUnnamed7935(); + o.formFields = buildUnnamed8021(); o.image = buildGoogleCloudDocumentaiV1beta1DocumentPageImage(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); - o.lines = buildUnnamed7936(); + o.lines = buildUnnamed8022(); o.pageNumber = 42; - o.paragraphs = buildUnnamed7937(); + o.paragraphs = buildUnnamed8023(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); - o.tables = buildUnnamed7938(); - o.tokens = buildUnnamed7939(); - o.transforms = buildUnnamed7940(); - o.visualElements = buildUnnamed7941(); + o.tables = buildUnnamed8024(); + o.tokens = buildUnnamed8025(); + o.transforms = buildUnnamed8026(); + o.visualElements = buildUnnamed8027(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPage--; return o; @@ -1421,34 +1590,34 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPage( api.GoogleCloudDocumentaiV1beta1DocumentPage o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPage < 3) { - checkUnnamed7933(o.blocks!); - checkUnnamed7934(o.detectedLanguages!); + checkUnnamed8019(o.blocks!); + checkUnnamed8020(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageDimension(o.dimension!); - checkUnnamed7935(o.formFields!); + checkUnnamed8021(o.formFields!); checkGoogleCloudDocumentaiV1beta1DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); - checkUnnamed7936(o.lines!); + checkUnnamed8022(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed7937(o.paragraphs!); + checkUnnamed8023(o.paragraphs!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); - checkUnnamed7938(o.tables!); - checkUnnamed7939(o.tokens!); - checkUnnamed7940(o.transforms!); - checkUnnamed7941(o.visualElements!); + checkUnnamed8024(o.tables!); + checkUnnamed8025(o.tokens!); + checkUnnamed8026(o.transforms!); + checkUnnamed8027(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPage--; } core.List - buildUnnamed7942() => [ + buildUnnamed8028() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef(), ]; -void checkUnnamed7942( +void checkUnnamed8028( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef(o[0]); @@ -1461,7 +1630,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1beta1DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed7942(); + o.pageRefs = buildUnnamed8028(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor--; return o; @@ -1471,7 +1640,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageAnchor( api.GoogleCloudDocumentaiV1beta1DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor < 3) { - checkUnnamed7942(o.pageRefs!); + checkUnnamed8028(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageAnchor--; } @@ -1518,12 +1687,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef( } core.List - buildUnnamed7943() => [ + buildUnnamed8029() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7943( +void checkUnnamed8029( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1536,7 +1705,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageBlock final o = api.GoogleCloudDocumentaiV1beta1DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed7943(); + o.detectedLanguages = buildUnnamed8029(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -1548,7 +1717,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageBlock( api.GoogleCloudDocumentaiV1beta1DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageBlock < 3) { - checkUnnamed7943(o.detectedLanguages!); + checkUnnamed8029(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -1622,12 +1791,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageDimension( } core.List - buildUnnamed7944() => [ + buildUnnamed8030() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7944( +void checkUnnamed8030( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1635,12 +1804,12 @@ void checkUnnamed7944( } core.List - buildUnnamed7945() => [ + buildUnnamed8031() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7945( +void checkUnnamed8031( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1653,11 +1822,13 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageFormField final o = api.GoogleCloudDocumentaiV1beta1DocumentPageFormField(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField < 3) { + o.correctedKeyText = 'foo'; + o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed7944(); + o.nameDetectedLanguages = buildUnnamed8030(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed7945(); + o.valueDetectedLanguages = buildUnnamed8031(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField--; @@ -1668,11 +1839,19 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageFormField( api.GoogleCloudDocumentaiV1beta1DocumentPageFormField o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageFormField < 3) { + unittest.expect( + o.correctedKeyText!, + unittest.equals('foo'), + ); + unittest.expect( + o.correctedValueText!, + unittest.equals('foo'), + ); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.fieldValue!); - checkUnnamed7944(o.nameDetectedLanguages!); + checkUnnamed8030(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); - checkUnnamed7945(o.valueDetectedLanguages!); + checkUnnamed8031(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -1754,12 +1933,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageLayout( } core.List - buildUnnamed7946() => [ + buildUnnamed8032() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7946( +void checkUnnamed8032( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1772,7 +1951,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageLine final o = api.GoogleCloudDocumentaiV1beta1DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed7946(); + o.detectedLanguages = buildUnnamed8032(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -1784,7 +1963,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageLine( api.GoogleCloudDocumentaiV1beta1DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageLine < 3) { - checkUnnamed7946(o.detectedLanguages!); + checkUnnamed8032(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -1831,12 +2010,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageMatrix( } core.List - buildUnnamed7947() => [ + buildUnnamed8033() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7947( +void checkUnnamed8033( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1849,7 +2028,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1beta1DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed7947(); + o.detectedLanguages = buildUnnamed8033(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -1861,7 +2040,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageParagraph( api.GoogleCloudDocumentaiV1beta1DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageParagraph < 3) { - checkUnnamed7947(o.detectedLanguages!); + checkUnnamed8033(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -1869,12 +2048,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageParagraph( } core.List - buildUnnamed7948() => [ + buildUnnamed8034() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), ]; -void checkUnnamed7948( +void checkUnnamed8034( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(o[0]); @@ -1882,12 +2061,12 @@ void checkUnnamed7948( } core.List - buildUnnamed7949() => [ + buildUnnamed8035() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7949( +void checkUnnamed8035( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1895,12 +2074,12 @@ void checkUnnamed7949( } core.List - buildUnnamed7950() => [ + buildUnnamed8036() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(), ]; -void checkUnnamed7950( +void checkUnnamed8036( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(o[0]); @@ -1913,9 +2092,9 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageTable final o = api.GoogleCloudDocumentaiV1beta1DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable < 3) { - o.bodyRows = buildUnnamed7948(); - o.detectedLanguages = buildUnnamed7949(); - o.headerRows = buildUnnamed7950(); + o.bodyRows = buildUnnamed8034(); + o.detectedLanguages = buildUnnamed8035(); + o.headerRows = buildUnnamed8036(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable--; @@ -1926,21 +2105,21 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTable( api.GoogleCloudDocumentaiV1beta1DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable < 3) { - checkUnnamed7948(o.bodyRows!); - checkUnnamed7949(o.detectedLanguages!); - checkUnnamed7950(o.headerRows!); + checkUnnamed8034(o.bodyRows!); + checkUnnamed8035(o.detectedLanguages!); + checkUnnamed8036(o.headerRows!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTable--; } core.List - buildUnnamed7951() => [ + buildUnnamed8037() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7951( +void checkUnnamed8037( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -1954,7 +2133,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed7951(); + o.detectedLanguages = buildUnnamed8037(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.rowSpan = 42; } @@ -1970,7 +2149,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed7951(o.detectedLanguages!); + checkUnnamed8037(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -1981,12 +2160,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell( } core.List - buildUnnamed7952() => [ + buildUnnamed8038() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell(), ]; -void checkUnnamed7952( +void checkUnnamed8038( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableCell(o[0]); @@ -1999,7 +2178,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed7952(); + o.cells = buildUnnamed8038(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow--; return o; @@ -2009,18 +2188,18 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow < 3) { - checkUnnamed7952(o.cells!); + checkUnnamed8038(o.cells!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentPageTableTableRow--; } core.List - buildUnnamed7953() => [ + buildUnnamed8039() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7953( +void checkUnnamed8039( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -2035,7 +2214,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed7953(); + o.detectedLanguages = buildUnnamed8039(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta1DocumentProvenance(); } @@ -2049,7 +2228,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed7953(o.detectedLanguages!); + checkUnnamed8039(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o.provenance!); } @@ -2084,12 +2263,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak( } core.List - buildUnnamed7954() => [ + buildUnnamed8040() => [ buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(), ]; -void checkUnnamed7954( +void checkUnnamed8040( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage(o[0]); @@ -2102,7 +2281,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1beta1DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed7954(); + o.detectedLanguages = buildUnnamed8040(); o.layout = buildGoogleCloudDocumentaiV1beta1DocumentPageLayout(); o.type = 'foo'; } @@ -2114,7 +2293,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageVisualElement( api.GoogleCloudDocumentaiV1beta1DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentPageVisualElement < 3) { - checkUnnamed7954(o.detectedLanguages!); + checkUnnamed8040(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta1DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -2125,12 +2304,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentPageVisualElement( } core.List - buildUnnamed7955() => [ + buildUnnamed8041() => [ buildGoogleCloudDocumentaiV1beta1DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1beta1DocumentProvenanceParent(), ]; -void checkUnnamed7955( +void checkUnnamed8041( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentProvenanceParent(o[0]); @@ -2144,7 +2323,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentProvenance buildCounterGoogleCloudDocumentaiV1beta1DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed7955(); + o.parents = buildUnnamed8041(); o.revision = 42; o.type = 'foo'; } @@ -2160,7 +2339,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed7955(o.parents!); + checkUnnamed8041(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -2207,12 +2386,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1beta1DocumentProvenanceParent--; } -core.List buildUnnamed7956() => [ +core.List buildUnnamed8042() => [ 42, 42, ]; -void checkUnnamed7956(core.List o) { +void checkUnnamed8042(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2235,7 +2414,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentRevision o.humanReview = buildGoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed7956(); + o.parent = buildUnnamed8042(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta1DocumentRevision--; @@ -2260,7 +2439,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed7956(o.parent!); + checkUnnamed8042(o.parent!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -2405,12 +2584,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentStyleFontSize( } core.List - buildUnnamed7957() => [ + buildUnnamed8043() => [ buildGoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment(), ]; -void checkUnnamed7957( +void checkUnnamed8043( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -2425,7 +2604,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed7957(); + o.textSegments = buildUnnamed8043(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor--; return o; @@ -2439,7 +2618,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed7957(o.textSegments!); + checkUnnamed8043(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextAnchor--; } @@ -2477,12 +2656,12 @@ void checkGoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment( } core.List - buildUnnamed7958() => [ + buildUnnamed8044() => [ buildGoogleCloudDocumentaiV1beta1DocumentProvenance(), buildGoogleCloudDocumentaiV1beta1DocumentProvenance(), ]; -void checkUnnamed7958( +void checkUnnamed8044( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta1DocumentProvenance(o[0]); @@ -2496,7 +2675,7 @@ api.GoogleCloudDocumentaiV1beta1DocumentTextChange buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed7958(); + o.provenance = buildUnnamed8044(); o.textAnchor = buildGoogleCloudDocumentaiV1beta1DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange--; @@ -2511,7 +2690,7 @@ void checkGoogleCloudDocumentaiV1beta1DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed7958(o.provenance!); + checkUnnamed8044(o.provenance!); checkGoogleCloudDocumentaiV1beta1DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1beta1DocumentTextChange--; @@ -2738,12 +2917,12 @@ void checkGoogleCloudDocumentaiV1beta1Vertex( } core.List - buildUnnamed7959() => [ + buildUnnamed8045() => [ buildGoogleCloudDocumentaiV1beta2ProcessDocumentResponse(), buildGoogleCloudDocumentaiV1beta2ProcessDocumentResponse(), ]; -void checkUnnamed7959( +void checkUnnamed8045( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2ProcessDocumentResponse(o[0]); @@ -2758,7 +2937,7 @@ api.GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse < 3) { - o.responses = buildUnnamed7959(); + o.responses = buildUnnamed8045(); } buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse--; return o; @@ -2769,30 +2948,30 @@ void checkGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse( buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse < 3) { - checkUnnamed7959(o.responses!); + checkUnnamed8045(o.responses!); } buildCounterGoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse--; } core.List - buildUnnamed7960() => [ + buildUnnamed8046() => [ buildGoogleCloudDocumentaiV1beta2NormalizedVertex(), buildGoogleCloudDocumentaiV1beta2NormalizedVertex(), ]; -void checkUnnamed7960( +void checkUnnamed8046( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2NormalizedVertex(o[0]); checkGoogleCloudDocumentaiV1beta2NormalizedVertex(o[1]); } -core.List buildUnnamed7961() => [ +core.List buildUnnamed8047() => [ buildGoogleCloudDocumentaiV1beta2Vertex(), buildGoogleCloudDocumentaiV1beta2Vertex(), ]; -void checkUnnamed7961(core.List o) { +void checkUnnamed8047(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2Vertex(o[0]); checkGoogleCloudDocumentaiV1beta2Vertex(o[1]); @@ -2804,8 +2983,8 @@ api.GoogleCloudDocumentaiV1beta2BoundingPoly final o = api.GoogleCloudDocumentaiV1beta2BoundingPoly(); buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed7960(); - o.vertices = buildUnnamed7961(); + o.normalizedVertices = buildUnnamed8046(); + o.vertices = buildUnnamed8047(); } buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly--; return o; @@ -2815,19 +2994,19 @@ void checkGoogleCloudDocumentaiV1beta2BoundingPoly( api.GoogleCloudDocumentaiV1beta2BoundingPoly o) { buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly < 3) { - checkUnnamed7960(o.normalizedVertices!); - checkUnnamed7961(o.vertices!); + checkUnnamed8046(o.normalizedVertices!); + checkUnnamed8047(o.vertices!); } buildCounterGoogleCloudDocumentaiV1beta2BoundingPoly--; } -core.List buildUnnamed7962() => +core.List buildUnnamed8048() => [ buildGoogleCloudDocumentaiV1beta2DocumentEntity(), buildGoogleCloudDocumentaiV1beta2DocumentEntity(), ]; -void checkUnnamed7962( +void checkUnnamed8048( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentEntity(o[0]); @@ -2835,36 +3014,36 @@ void checkUnnamed7962( } core.List - buildUnnamed7963() => [ + buildUnnamed8049() => [ buildGoogleCloudDocumentaiV1beta2DocumentEntityRelation(), buildGoogleCloudDocumentaiV1beta2DocumentEntityRelation(), ]; -void checkUnnamed7963( +void checkUnnamed8049( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentEntityRelation(o[0]); checkGoogleCloudDocumentaiV1beta2DocumentEntityRelation(o[1]); } -core.List buildUnnamed7964() => [ +core.List buildUnnamed8050() => [ buildGoogleCloudDocumentaiV1beta2DocumentLabel(), buildGoogleCloudDocumentaiV1beta2DocumentLabel(), ]; -void checkUnnamed7964( +void checkUnnamed8050( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentLabel(o[0]); checkGoogleCloudDocumentaiV1beta2DocumentLabel(o[1]); } -core.List buildUnnamed7965() => [ +core.List buildUnnamed8051() => [ buildGoogleCloudDocumentaiV1beta2DocumentPage(), buildGoogleCloudDocumentaiV1beta2DocumentPage(), ]; -void checkUnnamed7965( +void checkUnnamed8051( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPage(o[0]); @@ -2872,12 +3051,12 @@ void checkUnnamed7965( } core.List - buildUnnamed7966() => [ + buildUnnamed8052() => [ buildGoogleCloudDocumentaiV1beta2DocumentRevision(), buildGoogleCloudDocumentaiV1beta2DocumentRevision(), ]; -void checkUnnamed7966( +void checkUnnamed8052( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentRevision(o[0]); @@ -2885,24 +3064,24 @@ void checkUnnamed7966( } core.List - buildUnnamed7967() => [ + buildUnnamed8053() => [ buildGoogleCloudDocumentaiV1beta2DocumentTextChange(), buildGoogleCloudDocumentaiV1beta2DocumentTextChange(), ]; -void checkUnnamed7967( +void checkUnnamed8053( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentTextChange(o[0]); checkGoogleCloudDocumentaiV1beta2DocumentTextChange(o[1]); } -core.List buildUnnamed7968() => [ +core.List buildUnnamed8054() => [ buildGoogleCloudDocumentaiV1beta2DocumentStyle(), buildGoogleCloudDocumentaiV1beta2DocumentStyle(), ]; -void checkUnnamed7968( +void checkUnnamed8054( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentStyle(o[0]); @@ -2916,17 +3095,17 @@ api.GoogleCloudDocumentaiV1beta2Document buildCounterGoogleCloudDocumentaiV1beta2Document++; if (buildCounterGoogleCloudDocumentaiV1beta2Document < 3) { o.content = 'foo'; - o.entities = buildUnnamed7962(); - o.entityRelations = buildUnnamed7963(); + o.entities = buildUnnamed8048(); + o.entityRelations = buildUnnamed8049(); o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed7964(); + o.labels = buildUnnamed8050(); o.mimeType = 'foo'; - o.pages = buildUnnamed7965(); - o.revisions = buildUnnamed7966(); + o.pages = buildUnnamed8051(); + o.revisions = buildUnnamed8052(); o.shardInfo = buildGoogleCloudDocumentaiV1beta2DocumentShardInfo(); o.text = 'foo'; - o.textChanges = buildUnnamed7967(); - o.textStyles = buildUnnamed7968(); + o.textChanges = buildUnnamed8053(); + o.textStyles = buildUnnamed8054(); o.uri = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta2Document--; @@ -2941,23 +3120,23 @@ void checkGoogleCloudDocumentaiV1beta2Document( o.content!, unittest.equals('foo'), ); - checkUnnamed7962(o.entities!); - checkUnnamed7963(o.entityRelations!); + checkUnnamed8048(o.entities!); + checkUnnamed8049(o.entityRelations!); checkGoogleRpcStatus(o.error!); - checkUnnamed7964(o.labels!); + checkUnnamed8050(o.labels!); unittest.expect( o.mimeType!, unittest.equals('foo'), ); - checkUnnamed7965(o.pages!); - checkUnnamed7966(o.revisions!); + checkUnnamed8051(o.pages!); + checkUnnamed8052(o.revisions!); checkGoogleCloudDocumentaiV1beta2DocumentShardInfo(o.shardInfo!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed7967(o.textChanges!); - checkUnnamed7968(o.textStyles!); + checkUnnamed8053(o.textChanges!); + checkUnnamed8054(o.textStyles!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -2966,13 +3145,13 @@ void checkGoogleCloudDocumentaiV1beta2Document( buildCounterGoogleCloudDocumentaiV1beta2Document--; } -core.List buildUnnamed7969() => +core.List buildUnnamed8055() => [ buildGoogleCloudDocumentaiV1beta2DocumentEntity(), buildGoogleCloudDocumentaiV1beta2DocumentEntity(), ]; -void checkUnnamed7969( +void checkUnnamed8055( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentEntity(o[0]); @@ -2992,7 +3171,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1beta2DocumentPageAnchor(); - o.properties = buildUnnamed7969(); + o.properties = buildUnnamed8055(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1beta2DocumentTextAnchor(); @@ -3025,7 +3204,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentEntity( checkGoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1beta2DocumentPageAnchor(o.pageAnchor!); - checkUnnamed7969(o.properties!); + checkUnnamed8055(o.properties!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1beta2DocumentTextAnchor(o.textAnchor!); @@ -3049,6 +3228,8 @@ api.GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue o.booleanValue = true; o.dateValue = buildGoogleTypeDate(); o.datetimeValue = buildGoogleTypeDateTime(); + o.floatValue = 42.0; + o.integerValue = 42; o.moneyValue = buildGoogleTypeMoney(); o.text = 'foo'; } @@ -3065,6 +3246,14 @@ void checkGoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue( unittest.expect(o.booleanValue!, unittest.isTrue); checkGoogleTypeDate(o.dateValue!); checkGoogleTypeDateTime(o.datetimeValue!); + unittest.expect( + o.floatValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.integerValue!, + unittest.equals(42), + ); checkGoogleTypeMoney(o.moneyValue!); unittest.expect( o.text!, @@ -3143,12 +3332,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentLabel( } core.List - buildUnnamed7970() => [ + buildUnnamed8056() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageBlock(), buildGoogleCloudDocumentaiV1beta2DocumentPageBlock(), ]; -void checkUnnamed7970( +void checkUnnamed8056( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageBlock(o[0]); @@ -3156,12 +3345,12 @@ void checkUnnamed7970( } core.List - buildUnnamed7971() => [ + buildUnnamed8057() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7971( +void checkUnnamed8057( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3169,12 +3358,12 @@ void checkUnnamed7971( } core.List - buildUnnamed7972() => [ + buildUnnamed8058() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageFormField(), buildGoogleCloudDocumentaiV1beta2DocumentPageFormField(), ]; -void checkUnnamed7972( +void checkUnnamed8058( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageFormField(o[0]); @@ -3182,12 +3371,12 @@ void checkUnnamed7972( } core.List - buildUnnamed7973() => [ + buildUnnamed8059() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageLine(), buildGoogleCloudDocumentaiV1beta2DocumentPageLine(), ]; -void checkUnnamed7973( +void checkUnnamed8059( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageLine(o[0]); @@ -3195,12 +3384,12 @@ void checkUnnamed7973( } core.List - buildUnnamed7974() => [ + buildUnnamed8060() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageParagraph(), buildGoogleCloudDocumentaiV1beta2DocumentPageParagraph(), ]; -void checkUnnamed7974( +void checkUnnamed8060( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageParagraph(o[0]); @@ -3208,12 +3397,12 @@ void checkUnnamed7974( } core.List - buildUnnamed7975() => [ + buildUnnamed8061() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTable(), buildGoogleCloudDocumentaiV1beta2DocumentPageTable(), ]; -void checkUnnamed7975( +void checkUnnamed8061( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTable(o[0]); @@ -3221,12 +3410,12 @@ void checkUnnamed7975( } core.List - buildUnnamed7976() => [ + buildUnnamed8062() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageToken(), buildGoogleCloudDocumentaiV1beta2DocumentPageToken(), ]; -void checkUnnamed7976( +void checkUnnamed8062( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageToken(o[0]); @@ -3234,12 +3423,12 @@ void checkUnnamed7976( } core.List - buildUnnamed7977() => [ + buildUnnamed8063() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageMatrix(), buildGoogleCloudDocumentaiV1beta2DocumentPageMatrix(), ]; -void checkUnnamed7977( +void checkUnnamed8063( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageMatrix(o[0]); @@ -3247,12 +3436,12 @@ void checkUnnamed7977( } core.List - buildUnnamed7978() => [ + buildUnnamed8064() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1beta2DocumentPageVisualElement(), ]; -void checkUnnamed7978( +void checkUnnamed8064( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageVisualElement(o[0]); @@ -3265,20 +3454,20 @@ api.GoogleCloudDocumentaiV1beta2DocumentPage final o = api.GoogleCloudDocumentaiV1beta2DocumentPage(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPage < 3) { - o.blocks = buildUnnamed7970(); - o.detectedLanguages = buildUnnamed7971(); + o.blocks = buildUnnamed8056(); + o.detectedLanguages = buildUnnamed8057(); o.dimension = buildGoogleCloudDocumentaiV1beta2DocumentPageDimension(); - o.formFields = buildUnnamed7972(); + o.formFields = buildUnnamed8058(); o.image = buildGoogleCloudDocumentaiV1beta2DocumentPageImage(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); - o.lines = buildUnnamed7973(); + o.lines = buildUnnamed8059(); o.pageNumber = 42; - o.paragraphs = buildUnnamed7974(); + o.paragraphs = buildUnnamed8060(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); - o.tables = buildUnnamed7975(); - o.tokens = buildUnnamed7976(); - o.transforms = buildUnnamed7977(); - o.visualElements = buildUnnamed7978(); + o.tables = buildUnnamed8061(); + o.tokens = buildUnnamed8062(); + o.transforms = buildUnnamed8063(); + o.visualElements = buildUnnamed8064(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPage--; return o; @@ -3288,34 +3477,34 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPage( api.GoogleCloudDocumentaiV1beta2DocumentPage o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPage < 3) { - checkUnnamed7970(o.blocks!); - checkUnnamed7971(o.detectedLanguages!); + checkUnnamed8056(o.blocks!); + checkUnnamed8057(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageDimension(o.dimension!); - checkUnnamed7972(o.formFields!); + checkUnnamed8058(o.formFields!); checkGoogleCloudDocumentaiV1beta2DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); - checkUnnamed7973(o.lines!); + checkUnnamed8059(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed7974(o.paragraphs!); + checkUnnamed8060(o.paragraphs!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); - checkUnnamed7975(o.tables!); - checkUnnamed7976(o.tokens!); - checkUnnamed7977(o.transforms!); - checkUnnamed7978(o.visualElements!); + checkUnnamed8061(o.tables!); + checkUnnamed8062(o.tokens!); + checkUnnamed8063(o.transforms!); + checkUnnamed8064(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPage--; } core.List - buildUnnamed7979() => [ + buildUnnamed8065() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef(), ]; -void checkUnnamed7979( +void checkUnnamed8065( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef(o[0]); @@ -3328,7 +3517,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1beta2DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed7979(); + o.pageRefs = buildUnnamed8065(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor--; return o; @@ -3338,7 +3527,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageAnchor( api.GoogleCloudDocumentaiV1beta2DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor < 3) { - checkUnnamed7979(o.pageRefs!); + checkUnnamed8065(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageAnchor--; } @@ -3385,12 +3574,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef( } core.List - buildUnnamed7980() => [ + buildUnnamed8066() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7980( +void checkUnnamed8066( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3403,7 +3592,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageBlock final o = api.GoogleCloudDocumentaiV1beta2DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed7980(); + o.detectedLanguages = buildUnnamed8066(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -3415,7 +3604,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageBlock( api.GoogleCloudDocumentaiV1beta2DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageBlock < 3) { - checkUnnamed7980(o.detectedLanguages!); + checkUnnamed8066(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -3489,12 +3678,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageDimension( } core.List - buildUnnamed7981() => [ + buildUnnamed8067() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7981( +void checkUnnamed8067( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3502,12 +3691,12 @@ void checkUnnamed7981( } core.List - buildUnnamed7982() => [ + buildUnnamed8068() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7982( +void checkUnnamed8068( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3520,11 +3709,13 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageFormField final o = api.GoogleCloudDocumentaiV1beta2DocumentPageFormField(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField < 3) { + o.correctedKeyText = 'foo'; + o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed7981(); + o.nameDetectedLanguages = buildUnnamed8067(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed7982(); + o.valueDetectedLanguages = buildUnnamed8068(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField--; @@ -3535,11 +3726,19 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageFormField( api.GoogleCloudDocumentaiV1beta2DocumentPageFormField o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageFormField < 3) { + unittest.expect( + o.correctedKeyText!, + unittest.equals('foo'), + ); + unittest.expect( + o.correctedValueText!, + unittest.equals('foo'), + ); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.fieldValue!); - checkUnnamed7981(o.nameDetectedLanguages!); + checkUnnamed8067(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); - checkUnnamed7982(o.valueDetectedLanguages!); + checkUnnamed8068(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -3621,12 +3820,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageLayout( } core.List - buildUnnamed7983() => [ + buildUnnamed8069() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7983( +void checkUnnamed8069( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3639,7 +3838,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageLine final o = api.GoogleCloudDocumentaiV1beta2DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed7983(); + o.detectedLanguages = buildUnnamed8069(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -3651,7 +3850,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageLine( api.GoogleCloudDocumentaiV1beta2DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageLine < 3) { - checkUnnamed7983(o.detectedLanguages!); + checkUnnamed8069(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -3698,12 +3897,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageMatrix( } core.List - buildUnnamed7984() => [ + buildUnnamed8070() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7984( +void checkUnnamed8070( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3716,7 +3915,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1beta2DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed7984(); + o.detectedLanguages = buildUnnamed8070(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -3728,7 +3927,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageParagraph( api.GoogleCloudDocumentaiV1beta2DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageParagraph < 3) { - checkUnnamed7984(o.detectedLanguages!); + checkUnnamed8070(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -3736,12 +3935,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageParagraph( } core.List - buildUnnamed7985() => [ + buildUnnamed8071() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), ]; -void checkUnnamed7985( +void checkUnnamed8071( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(o[0]); @@ -3749,12 +3948,12 @@ void checkUnnamed7985( } core.List - buildUnnamed7986() => [ + buildUnnamed8072() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7986( +void checkUnnamed8072( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3762,12 +3961,12 @@ void checkUnnamed7986( } core.List - buildUnnamed7987() => [ + buildUnnamed8073() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(), ]; -void checkUnnamed7987( +void checkUnnamed8073( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(o[0]); @@ -3780,9 +3979,9 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageTable final o = api.GoogleCloudDocumentaiV1beta2DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable < 3) { - o.bodyRows = buildUnnamed7985(); - o.detectedLanguages = buildUnnamed7986(); - o.headerRows = buildUnnamed7987(); + o.bodyRows = buildUnnamed8071(); + o.detectedLanguages = buildUnnamed8072(); + o.headerRows = buildUnnamed8073(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable--; @@ -3793,21 +3992,21 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTable( api.GoogleCloudDocumentaiV1beta2DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable < 3) { - checkUnnamed7985(o.bodyRows!); - checkUnnamed7986(o.detectedLanguages!); - checkUnnamed7987(o.headerRows!); + checkUnnamed8071(o.bodyRows!); + checkUnnamed8072(o.detectedLanguages!); + checkUnnamed8073(o.headerRows!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTable--; } core.List - buildUnnamed7988() => [ + buildUnnamed8074() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7988( +void checkUnnamed8074( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3821,7 +4020,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed7988(); + o.detectedLanguages = buildUnnamed8074(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.rowSpan = 42; } @@ -3837,7 +4036,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed7988(o.detectedLanguages!); + checkUnnamed8074(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -3848,12 +4047,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell( } core.List - buildUnnamed7989() => [ + buildUnnamed8075() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell(), ]; -void checkUnnamed7989( +void checkUnnamed8075( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableCell(o[0]); @@ -3866,7 +4065,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed7989(); + o.cells = buildUnnamed8075(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow--; return o; @@ -3876,18 +4075,18 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow < 3) { - checkUnnamed7989(o.cells!); + checkUnnamed8075(o.cells!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentPageTableTableRow--; } core.List - buildUnnamed7990() => [ + buildUnnamed8076() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7990( +void checkUnnamed8076( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3902,7 +4101,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed7990(); + o.detectedLanguages = buildUnnamed8076(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta2DocumentProvenance(); } @@ -3916,7 +4115,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed7990(o.detectedLanguages!); + checkUnnamed8076(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o.provenance!); } @@ -3951,12 +4150,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak( } core.List - buildUnnamed7991() => [ + buildUnnamed8077() => [ buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(), ]; -void checkUnnamed7991( +void checkUnnamed8077( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage(o[0]); @@ -3969,7 +4168,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed7991(); + o.detectedLanguages = buildUnnamed8077(); o.layout = buildGoogleCloudDocumentaiV1beta2DocumentPageLayout(); o.type = 'foo'; } @@ -3981,7 +4180,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageVisualElement( api.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentPageVisualElement < 3) { - checkUnnamed7991(o.detectedLanguages!); + checkUnnamed8077(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta2DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -3992,12 +4191,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentPageVisualElement( } core.List - buildUnnamed7992() => [ + buildUnnamed8078() => [ buildGoogleCloudDocumentaiV1beta2DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1beta2DocumentProvenanceParent(), ]; -void checkUnnamed7992( +void checkUnnamed8078( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentProvenanceParent(o[0]); @@ -4011,7 +4210,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentProvenance buildCounterGoogleCloudDocumentaiV1beta2DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed7992(); + o.parents = buildUnnamed8078(); o.revision = 42; o.type = 'foo'; } @@ -4027,7 +4226,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed7992(o.parents!); + checkUnnamed8078(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -4074,12 +4273,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1beta2DocumentProvenanceParent--; } -core.List buildUnnamed7993() => [ +core.List buildUnnamed8079() => [ 42, 42, ]; -void checkUnnamed7993(core.List o) { +void checkUnnamed8079(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4102,7 +4301,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentRevision o.humanReview = buildGoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed7993(); + o.parent = buildUnnamed8079(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta2DocumentRevision--; @@ -4127,7 +4326,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed7993(o.parent!); + checkUnnamed8079(o.parent!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -4272,12 +4471,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentStyleFontSize( } core.List - buildUnnamed7994() => [ + buildUnnamed8080() => [ buildGoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment(), ]; -void checkUnnamed7994( +void checkUnnamed8080( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4292,7 +4491,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed7994(); + o.textSegments = buildUnnamed8080(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor--; return o; @@ -4306,7 +4505,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed7994(o.textSegments!); + checkUnnamed8080(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextAnchor--; } @@ -4344,12 +4543,12 @@ void checkGoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment( } core.List - buildUnnamed7995() => [ + buildUnnamed8081() => [ buildGoogleCloudDocumentaiV1beta2DocumentProvenance(), buildGoogleCloudDocumentaiV1beta2DocumentProvenance(), ]; -void checkUnnamed7995( +void checkUnnamed8081( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta2DocumentProvenance(o[0]); @@ -4363,7 +4562,7 @@ api.GoogleCloudDocumentaiV1beta2DocumentTextChange buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed7995(); + o.provenance = buildUnnamed8081(); o.textAnchor = buildGoogleCloudDocumentaiV1beta2DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange--; @@ -4378,7 +4577,7 @@ void checkGoogleCloudDocumentaiV1beta2DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed7995(o.provenance!); + checkUnnamed8081(o.provenance!); checkGoogleCloudDocumentaiV1beta2DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1beta2DocumentTextChange--; @@ -4634,12 +4833,12 @@ void checkGoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig( core.List< api.GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus> - buildUnnamed7996() => [ + buildUnnamed8082() => [ buildGoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus(), buildGoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus(), ]; -void checkUnnamed7996( +void checkUnnamed8082( core.List< api.GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus> o) { @@ -4657,7 +4856,7 @@ api.GoogleCloudDocumentaiV1beta3BatchProcessMetadata buildCounterGoogleCloudDocumentaiV1beta3BatchProcessMetadata++; if (buildCounterGoogleCloudDocumentaiV1beta3BatchProcessMetadata < 3) { o.createTime = 'foo'; - o.individualProcessStatuses = buildUnnamed7996(); + o.individualProcessStatuses = buildUnnamed8082(); o.state = 'foo'; o.stateMessage = 'foo'; o.updateTime = 'foo'; @@ -4674,7 +4873,7 @@ void checkGoogleCloudDocumentaiV1beta3BatchProcessMetadata( o.createTime!, unittest.equals('foo'), ); - checkUnnamed7996(o.individualProcessStatuses!); + checkUnnamed8082(o.individualProcessStatuses!); unittest.expect( o.state!, unittest.equals('foo'), @@ -4736,12 +4935,12 @@ void checkGoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatu } core.List - buildUnnamed7997() => [ + buildUnnamed8083() => [ buildGoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig(), buildGoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig(), ]; -void checkUnnamed7997( +void checkUnnamed8083( core.List< api.GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig> o) { @@ -4758,7 +4957,7 @@ api.GoogleCloudDocumentaiV1beta3BatchProcessRequest if (buildCounterGoogleCloudDocumentaiV1beta3BatchProcessRequest < 3) { o.documentOutputConfig = buildGoogleCloudDocumentaiV1beta3DocumentOutputConfig(); - o.inputConfigs = buildUnnamed7997(); + o.inputConfigs = buildUnnamed8083(); o.inputDocuments = buildGoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig(); o.outputConfig = @@ -4775,7 +4974,7 @@ void checkGoogleCloudDocumentaiV1beta3BatchProcessRequest( if (buildCounterGoogleCloudDocumentaiV1beta3BatchProcessRequest < 3) { checkGoogleCloudDocumentaiV1beta3DocumentOutputConfig( o.documentOutputConfig!); - checkUnnamed7997(o.inputConfigs!); + checkUnnamed8083(o.inputConfigs!); checkGoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig( o.inputDocuments!); checkGoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig( @@ -4866,24 +5065,24 @@ void checkGoogleCloudDocumentaiV1beta3BatchProcessResponse( } core.List - buildUnnamed7998() => [ + buildUnnamed8084() => [ buildGoogleCloudDocumentaiV1beta3NormalizedVertex(), buildGoogleCloudDocumentaiV1beta3NormalizedVertex(), ]; -void checkUnnamed7998( +void checkUnnamed8084( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3NormalizedVertex(o[0]); checkGoogleCloudDocumentaiV1beta3NormalizedVertex(o[1]); } -core.List buildUnnamed7999() => [ +core.List buildUnnamed8085() => [ buildGoogleCloudDocumentaiV1beta3Vertex(), buildGoogleCloudDocumentaiV1beta3Vertex(), ]; -void checkUnnamed7999(core.List o) { +void checkUnnamed8085(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3Vertex(o[0]); checkGoogleCloudDocumentaiV1beta3Vertex(o[1]); @@ -4895,8 +5094,8 @@ api.GoogleCloudDocumentaiV1beta3BoundingPoly final o = api.GoogleCloudDocumentaiV1beta3BoundingPoly(); buildCounterGoogleCloudDocumentaiV1beta3BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta3BoundingPoly < 3) { - o.normalizedVertices = buildUnnamed7998(); - o.vertices = buildUnnamed7999(); + o.normalizedVertices = buildUnnamed8084(); + o.vertices = buildUnnamed8085(); } buildCounterGoogleCloudDocumentaiV1beta3BoundingPoly--; return o; @@ -4906,8 +5105,8 @@ void checkGoogleCloudDocumentaiV1beta3BoundingPoly( api.GoogleCloudDocumentaiV1beta3BoundingPoly o) { buildCounterGoogleCloudDocumentaiV1beta3BoundingPoly++; if (buildCounterGoogleCloudDocumentaiV1beta3BoundingPoly < 3) { - checkUnnamed7998(o.normalizedVertices!); - checkUnnamed7999(o.vertices!); + checkUnnamed8084(o.normalizedVertices!); + checkUnnamed8085(o.vertices!); } buildCounterGoogleCloudDocumentaiV1beta3BoundingPoly--; } @@ -5029,13 +5228,13 @@ void checkGoogleCloudDocumentaiV1beta3DisableProcessorResponse( buildCounterGoogleCloudDocumentaiV1beta3DisableProcessorResponse--; } -core.List buildUnnamed8000() => +core.List buildUnnamed8086() => [ buildGoogleCloudDocumentaiV1beta3DocumentEntity(), buildGoogleCloudDocumentaiV1beta3DocumentEntity(), ]; -void checkUnnamed8000( +void checkUnnamed8086( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentEntity(o[0]); @@ -5043,24 +5242,24 @@ void checkUnnamed8000( } core.List - buildUnnamed8001() => [ + buildUnnamed8087() => [ buildGoogleCloudDocumentaiV1beta3DocumentEntityRelation(), buildGoogleCloudDocumentaiV1beta3DocumentEntityRelation(), ]; -void checkUnnamed8001( +void checkUnnamed8087( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentEntityRelation(o[0]); checkGoogleCloudDocumentaiV1beta3DocumentEntityRelation(o[1]); } -core.List buildUnnamed8002() => [ +core.List buildUnnamed8088() => [ buildGoogleCloudDocumentaiV1beta3DocumentPage(), buildGoogleCloudDocumentaiV1beta3DocumentPage(), ]; -void checkUnnamed8002( +void checkUnnamed8088( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPage(o[0]); @@ -5068,12 +5267,12 @@ void checkUnnamed8002( } core.List - buildUnnamed8003() => [ + buildUnnamed8089() => [ buildGoogleCloudDocumentaiV1beta3DocumentRevision(), buildGoogleCloudDocumentaiV1beta3DocumentRevision(), ]; -void checkUnnamed8003( +void checkUnnamed8089( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentRevision(o[0]); @@ -5081,24 +5280,24 @@ void checkUnnamed8003( } core.List - buildUnnamed8004() => [ + buildUnnamed8090() => [ buildGoogleCloudDocumentaiV1beta3DocumentTextChange(), buildGoogleCloudDocumentaiV1beta3DocumentTextChange(), ]; -void checkUnnamed8004( +void checkUnnamed8090( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentTextChange(o[0]); checkGoogleCloudDocumentaiV1beta3DocumentTextChange(o[1]); } -core.List buildUnnamed8005() => [ +core.List buildUnnamed8091() => [ buildGoogleCloudDocumentaiV1beta3DocumentStyle(), buildGoogleCloudDocumentaiV1beta3DocumentStyle(), ]; -void checkUnnamed8005( +void checkUnnamed8091( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentStyle(o[0]); @@ -5112,16 +5311,16 @@ api.GoogleCloudDocumentaiV1beta3Document buildCounterGoogleCloudDocumentaiV1beta3Document++; if (buildCounterGoogleCloudDocumentaiV1beta3Document < 3) { o.content = 'foo'; - o.entities = buildUnnamed8000(); - o.entityRelations = buildUnnamed8001(); + o.entities = buildUnnamed8086(); + o.entityRelations = buildUnnamed8087(); o.error = buildGoogleRpcStatus(); o.mimeType = 'foo'; - o.pages = buildUnnamed8002(); - o.revisions = buildUnnamed8003(); + o.pages = buildUnnamed8088(); + o.revisions = buildUnnamed8089(); o.shardInfo = buildGoogleCloudDocumentaiV1beta3DocumentShardInfo(); o.text = 'foo'; - o.textChanges = buildUnnamed8004(); - o.textStyles = buildUnnamed8005(); + o.textChanges = buildUnnamed8090(); + o.textStyles = buildUnnamed8091(); o.uri = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta3Document--; @@ -5136,22 +5335,22 @@ void checkGoogleCloudDocumentaiV1beta3Document( o.content!, unittest.equals('foo'), ); - checkUnnamed8000(o.entities!); - checkUnnamed8001(o.entityRelations!); + checkUnnamed8086(o.entities!); + checkUnnamed8087(o.entityRelations!); checkGoogleRpcStatus(o.error!); unittest.expect( o.mimeType!, unittest.equals('foo'), ); - checkUnnamed8002(o.pages!); - checkUnnamed8003(o.revisions!); + checkUnnamed8088(o.pages!); + checkUnnamed8089(o.revisions!); checkGoogleCloudDocumentaiV1beta3DocumentShardInfo(o.shardInfo!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed8004(o.textChanges!); - checkUnnamed8005(o.textStyles!); + checkUnnamed8090(o.textChanges!); + checkUnnamed8091(o.textStyles!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -5160,13 +5359,13 @@ void checkGoogleCloudDocumentaiV1beta3Document( buildCounterGoogleCloudDocumentaiV1beta3Document--; } -core.List buildUnnamed8006() => +core.List buildUnnamed8092() => [ buildGoogleCloudDocumentaiV1beta3DocumentEntity(), buildGoogleCloudDocumentaiV1beta3DocumentEntity(), ]; -void checkUnnamed8006( +void checkUnnamed8092( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentEntity(o[0]); @@ -5186,7 +5385,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1beta3DocumentPageAnchor(); - o.properties = buildUnnamed8006(); + o.properties = buildUnnamed8092(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1beta3DocumentTextAnchor(); @@ -5219,7 +5418,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentEntity( checkGoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1beta3DocumentPageAnchor(o.pageAnchor!); - checkUnnamed8006(o.properties!); + checkUnnamed8092(o.properties!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1beta3DocumentTextAnchor(o.textAnchor!); @@ -5243,6 +5442,8 @@ api.GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue o.booleanValue = true; o.dateValue = buildGoogleTypeDate(); o.datetimeValue = buildGoogleTypeDateTime(); + o.floatValue = 42.0; + o.integerValue = 42; o.moneyValue = buildGoogleTypeMoney(); o.text = 'foo'; } @@ -5259,6 +5460,14 @@ void checkGoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue( unittest.expect(o.booleanValue!, unittest.isTrue); checkGoogleTypeDate(o.dateValue!); checkGoogleTypeDateTime(o.datetimeValue!); + unittest.expect( + o.floatValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.integerValue!, + unittest.equals(42), + ); checkGoogleTypeMoney(o.moneyValue!); unittest.expect( o.text!, @@ -5355,12 +5564,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig( } core.List - buildUnnamed8007() => [ + buildUnnamed8093() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageBlock(), buildGoogleCloudDocumentaiV1beta3DocumentPageBlock(), ]; -void checkUnnamed8007( +void checkUnnamed8093( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageBlock(o[0]); @@ -5368,12 +5577,12 @@ void checkUnnamed8007( } core.List - buildUnnamed8008() => [ + buildUnnamed8094() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8008( +void checkUnnamed8094( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5381,12 +5590,12 @@ void checkUnnamed8008( } core.List - buildUnnamed8009() => [ + buildUnnamed8095() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageFormField(), buildGoogleCloudDocumentaiV1beta3DocumentPageFormField(), ]; -void checkUnnamed8009( +void checkUnnamed8095( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageFormField(o[0]); @@ -5394,12 +5603,12 @@ void checkUnnamed8009( } core.List - buildUnnamed8010() => [ + buildUnnamed8096() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageLine(), buildGoogleCloudDocumentaiV1beta3DocumentPageLine(), ]; -void checkUnnamed8010( +void checkUnnamed8096( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageLine(o[0]); @@ -5407,12 +5616,12 @@ void checkUnnamed8010( } core.List - buildUnnamed8011() => [ + buildUnnamed8097() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageParagraph(), buildGoogleCloudDocumentaiV1beta3DocumentPageParagraph(), ]; -void checkUnnamed8011( +void checkUnnamed8097( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageParagraph(o[0]); @@ -5420,12 +5629,12 @@ void checkUnnamed8011( } core.List - buildUnnamed8012() => [ + buildUnnamed8098() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageTable(), buildGoogleCloudDocumentaiV1beta3DocumentPageTable(), ]; -void checkUnnamed8012( +void checkUnnamed8098( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageTable(o[0]); @@ -5433,12 +5642,12 @@ void checkUnnamed8012( } core.List - buildUnnamed8013() => [ + buildUnnamed8099() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageToken(), buildGoogleCloudDocumentaiV1beta3DocumentPageToken(), ]; -void checkUnnamed8013( +void checkUnnamed8099( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageToken(o[0]); @@ -5446,12 +5655,12 @@ void checkUnnamed8013( } core.List - buildUnnamed8014() => [ + buildUnnamed8100() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageMatrix(), buildGoogleCloudDocumentaiV1beta3DocumentPageMatrix(), ]; -void checkUnnamed8014( +void checkUnnamed8100( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageMatrix(o[0]); @@ -5459,12 +5668,12 @@ void checkUnnamed8014( } core.List - buildUnnamed8015() => [ + buildUnnamed8101() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1beta3DocumentPageVisualElement(), ]; -void checkUnnamed8015( +void checkUnnamed8101( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageVisualElement(o[0]); @@ -5477,20 +5686,20 @@ api.GoogleCloudDocumentaiV1beta3DocumentPage final o = api.GoogleCloudDocumentaiV1beta3DocumentPage(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPage < 3) { - o.blocks = buildUnnamed8007(); - o.detectedLanguages = buildUnnamed8008(); + o.blocks = buildUnnamed8093(); + o.detectedLanguages = buildUnnamed8094(); o.dimension = buildGoogleCloudDocumentaiV1beta3DocumentPageDimension(); - o.formFields = buildUnnamed8009(); + o.formFields = buildUnnamed8095(); o.image = buildGoogleCloudDocumentaiV1beta3DocumentPageImage(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); - o.lines = buildUnnamed8010(); + o.lines = buildUnnamed8096(); o.pageNumber = 42; - o.paragraphs = buildUnnamed8011(); + o.paragraphs = buildUnnamed8097(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); - o.tables = buildUnnamed8012(); - o.tokens = buildUnnamed8013(); - o.transforms = buildUnnamed8014(); - o.visualElements = buildUnnamed8015(); + o.tables = buildUnnamed8098(); + o.tokens = buildUnnamed8099(); + o.transforms = buildUnnamed8100(); + o.visualElements = buildUnnamed8101(); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPage--; return o; @@ -5500,34 +5709,34 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPage( api.GoogleCloudDocumentaiV1beta3DocumentPage o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPage < 3) { - checkUnnamed8007(o.blocks!); - checkUnnamed8008(o.detectedLanguages!); + checkUnnamed8093(o.blocks!); + checkUnnamed8094(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageDimension(o.dimension!); - checkUnnamed8009(o.formFields!); + checkUnnamed8095(o.formFields!); checkGoogleCloudDocumentaiV1beta3DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); - checkUnnamed8010(o.lines!); + checkUnnamed8096(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed8011(o.paragraphs!); + checkUnnamed8097(o.paragraphs!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); - checkUnnamed8012(o.tables!); - checkUnnamed8013(o.tokens!); - checkUnnamed8014(o.transforms!); - checkUnnamed8015(o.visualElements!); + checkUnnamed8098(o.tables!); + checkUnnamed8099(o.tokens!); + checkUnnamed8100(o.transforms!); + checkUnnamed8101(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPage--; } core.List - buildUnnamed8016() => [ + buildUnnamed8102() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef(), ]; -void checkUnnamed8016( +void checkUnnamed8102( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef(o[0]); @@ -5540,7 +5749,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1beta3DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed8016(); + o.pageRefs = buildUnnamed8102(); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageAnchor--; return o; @@ -5550,7 +5759,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageAnchor( api.GoogleCloudDocumentaiV1beta3DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageAnchor < 3) { - checkUnnamed8016(o.pageRefs!); + checkUnnamed8102(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageAnchor--; } @@ -5597,12 +5806,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef( } core.List - buildUnnamed8017() => [ + buildUnnamed8103() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8017( +void checkUnnamed8103( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5615,7 +5824,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageBlock final o = api.GoogleCloudDocumentaiV1beta3DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed8017(); + o.detectedLanguages = buildUnnamed8103(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); } @@ -5627,7 +5836,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageBlock( api.GoogleCloudDocumentaiV1beta3DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageBlock < 3) { - checkUnnamed8017(o.detectedLanguages!); + checkUnnamed8103(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); } @@ -5701,12 +5910,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageDimension( } core.List - buildUnnamed8018() => [ + buildUnnamed8104() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8018( +void checkUnnamed8104( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5714,12 +5923,12 @@ void checkUnnamed8018( } core.List - buildUnnamed8019() => [ + buildUnnamed8105() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8019( +void checkUnnamed8105( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5732,11 +5941,13 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageFormField final o = api.GoogleCloudDocumentaiV1beta3DocumentPageFormField(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageFormField < 3) { + o.correctedKeyText = 'foo'; + o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed8018(); + o.nameDetectedLanguages = buildUnnamed8104(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed8019(); + o.valueDetectedLanguages = buildUnnamed8105(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageFormField--; @@ -5747,11 +5958,19 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageFormField( api.GoogleCloudDocumentaiV1beta3DocumentPageFormField o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageFormField++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageFormField < 3) { + unittest.expect( + o.correctedKeyText!, + unittest.equals('foo'), + ); + unittest.expect( + o.correctedValueText!, + unittest.equals('foo'), + ); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.fieldValue!); - checkUnnamed8018(o.nameDetectedLanguages!); + checkUnnamed8104(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); - checkUnnamed8019(o.valueDetectedLanguages!); + checkUnnamed8105(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -5833,12 +6052,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageLayout( } core.List - buildUnnamed8020() => [ + buildUnnamed8106() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8020( +void checkUnnamed8106( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5851,7 +6070,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageLine final o = api.GoogleCloudDocumentaiV1beta3DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed8020(); + o.detectedLanguages = buildUnnamed8106(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); } @@ -5863,7 +6082,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageLine( api.GoogleCloudDocumentaiV1beta3DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageLine < 3) { - checkUnnamed8020(o.detectedLanguages!); + checkUnnamed8106(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); } @@ -5910,12 +6129,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageMatrix( } core.List - buildUnnamed8021() => [ + buildUnnamed8107() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8021( +void checkUnnamed8107( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5928,7 +6147,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1beta3DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed8021(); + o.detectedLanguages = buildUnnamed8107(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); } @@ -5940,7 +6159,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageParagraph( api.GoogleCloudDocumentaiV1beta3DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageParagraph < 3) { - checkUnnamed8021(o.detectedLanguages!); + checkUnnamed8107(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); } @@ -5948,12 +6167,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageParagraph( } core.List - buildUnnamed8022() => [ + buildUnnamed8108() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(), ]; -void checkUnnamed8022( +void checkUnnamed8108( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(o[0]); @@ -5961,12 +6180,12 @@ void checkUnnamed8022( } core.List - buildUnnamed8023() => [ + buildUnnamed8109() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8023( +void checkUnnamed8109( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -5974,12 +6193,12 @@ void checkUnnamed8023( } core.List - buildUnnamed8024() => [ + buildUnnamed8110() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(), ]; -void checkUnnamed8024( +void checkUnnamed8110( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(o[0]); @@ -5992,9 +6211,9 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageTable final o = api.GoogleCloudDocumentaiV1beta3DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTable < 3) { - o.bodyRows = buildUnnamed8022(); - o.detectedLanguages = buildUnnamed8023(); - o.headerRows = buildUnnamed8024(); + o.bodyRows = buildUnnamed8108(); + o.detectedLanguages = buildUnnamed8109(); + o.headerRows = buildUnnamed8110(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTable--; @@ -6005,21 +6224,21 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageTable( api.GoogleCloudDocumentaiV1beta3DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTable < 3) { - checkUnnamed8022(o.bodyRows!); - checkUnnamed8023(o.detectedLanguages!); - checkUnnamed8024(o.headerRows!); + checkUnnamed8108(o.bodyRows!); + checkUnnamed8109(o.detectedLanguages!); + checkUnnamed8110(o.headerRows!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTable--; } core.List - buildUnnamed8025() => [ + buildUnnamed8111() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8025( +void checkUnnamed8111( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -6033,7 +6252,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed8025(); + o.detectedLanguages = buildUnnamed8111(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.rowSpan = 42; } @@ -6049,7 +6268,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed8025(o.detectedLanguages!); + checkUnnamed8111(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -6060,12 +6279,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell( } core.List - buildUnnamed8026() => [ + buildUnnamed8112() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell(), ]; -void checkUnnamed8026( +void checkUnnamed8112( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageTableTableCell(o[0]); @@ -6078,7 +6297,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed8026(); + o.cells = buildUnnamed8112(); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow--; return o; @@ -6088,18 +6307,18 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow < 3) { - checkUnnamed8026(o.cells!); + checkUnnamed8112(o.cells!); } buildCounterGoogleCloudDocumentaiV1beta3DocumentPageTableTableRow--; } core.List - buildUnnamed8027() => [ + buildUnnamed8113() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8027( +void checkUnnamed8113( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -6114,7 +6333,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed8027(); + o.detectedLanguages = buildUnnamed8113(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1beta3DocumentProvenance(); } @@ -6128,7 +6347,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed8027(o.detectedLanguages!); + checkUnnamed8113(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o.provenance!); } @@ -6163,12 +6382,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak( } core.List - buildUnnamed8028() => [ + buildUnnamed8114() => [ buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(), ]; -void checkUnnamed8028( +void checkUnnamed8114( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage(o[0]); @@ -6181,7 +6400,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1beta3DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1beta3DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed8028(); + o.detectedLanguages = buildUnnamed8114(); o.layout = buildGoogleCloudDocumentaiV1beta3DocumentPageLayout(); o.type = 'foo'; } @@ -6193,7 +6412,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageVisualElement( api.GoogleCloudDocumentaiV1beta3DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1beta3DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentPageVisualElement < 3) { - checkUnnamed8028(o.detectedLanguages!); + checkUnnamed8114(o.detectedLanguages!); checkGoogleCloudDocumentaiV1beta3DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -6204,12 +6423,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentPageVisualElement( } core.List - buildUnnamed8029() => [ + buildUnnamed8115() => [ buildGoogleCloudDocumentaiV1beta3DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1beta3DocumentProvenanceParent(), ]; -void checkUnnamed8029( +void checkUnnamed8115( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentProvenanceParent(o[0]); @@ -6223,7 +6442,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentProvenance buildCounterGoogleCloudDocumentaiV1beta3DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed8029(); + o.parents = buildUnnamed8115(); o.revision = 42; o.type = 'foo'; } @@ -6239,7 +6458,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed8029(o.parents!); + checkUnnamed8115(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -6286,12 +6505,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1beta3DocumentProvenanceParent--; } -core.List buildUnnamed8030() => [ +core.List buildUnnamed8116() => [ 42, 42, ]; -void checkUnnamed8030(core.List o) { +void checkUnnamed8116(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6314,7 +6533,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentRevision o.humanReview = buildGoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed8030(); + o.parent = buildUnnamed8116(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1beta3DocumentRevision--; @@ -6339,7 +6558,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed8030(o.parent!); + checkUnnamed8116(o.parent!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -6484,12 +6703,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentStyleFontSize( } core.List - buildUnnamed8031() => [ + buildUnnamed8117() => [ buildGoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment(), ]; -void checkUnnamed8031( +void checkUnnamed8117( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6504,7 +6723,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1beta3DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed8031(); + o.textSegments = buildUnnamed8117(); } buildCounterGoogleCloudDocumentaiV1beta3DocumentTextAnchor--; return o; @@ -6518,7 +6737,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed8031(o.textSegments!); + checkUnnamed8117(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1beta3DocumentTextAnchor--; } @@ -6556,12 +6775,12 @@ void checkGoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment( } core.List - buildUnnamed8032() => [ + buildUnnamed8118() => [ buildGoogleCloudDocumentaiV1beta3DocumentProvenance(), buildGoogleCloudDocumentaiV1beta3DocumentProvenance(), ]; -void checkUnnamed8032( +void checkUnnamed8118( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3DocumentProvenance(o[0]); @@ -6575,7 +6794,7 @@ api.GoogleCloudDocumentaiV1beta3DocumentTextChange buildCounterGoogleCloudDocumentaiV1beta3DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1beta3DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed8032(); + o.provenance = buildUnnamed8118(); o.textAnchor = buildGoogleCloudDocumentaiV1beta3DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1beta3DocumentTextChange--; @@ -6590,7 +6809,7 @@ void checkGoogleCloudDocumentaiV1beta3DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed8032(o.provenance!); + checkUnnamed8118(o.provenance!); checkGoogleCloudDocumentaiV1beta3DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1beta3DocumentTextChange--; @@ -6652,12 +6871,12 @@ void checkGoogleCloudDocumentaiV1beta3EnableProcessorResponse( buildCounterGoogleCloudDocumentaiV1beta3EnableProcessorResponse--; } -core.List buildUnnamed8033() => [ +core.List buildUnnamed8119() => [ buildGoogleCloudDocumentaiV1beta3ProcessorType(), buildGoogleCloudDocumentaiV1beta3ProcessorType(), ]; -void checkUnnamed8033( +void checkUnnamed8119( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3ProcessorType(o[0]); @@ -6671,7 +6890,7 @@ api.GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse final o = api.GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse(); buildCounterGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse++; if (buildCounterGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse < 3) { - o.processorTypes = buildUnnamed8033(); + o.processorTypes = buildUnnamed8119(); } buildCounterGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse--; return o; @@ -6681,7 +6900,7 @@ void checkGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse( api.GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse o) { buildCounterGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse++; if (buildCounterGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse < 3) { - checkUnnamed8033(o.processorTypes!); + checkUnnamed8119(o.processorTypes!); } buildCounterGoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse--; } @@ -6715,12 +6934,12 @@ void checkGoogleCloudDocumentaiV1beta3GcsDocument( buildCounterGoogleCloudDocumentaiV1beta3GcsDocument--; } -core.List buildUnnamed8034() => [ +core.List buildUnnamed8120() => [ buildGoogleCloudDocumentaiV1beta3GcsDocument(), buildGoogleCloudDocumentaiV1beta3GcsDocument(), ]; -void checkUnnamed8034( +void checkUnnamed8120( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3GcsDocument(o[0]); @@ -6733,7 +6952,7 @@ api.GoogleCloudDocumentaiV1beta3GcsDocuments final o = api.GoogleCloudDocumentaiV1beta3GcsDocuments(); buildCounterGoogleCloudDocumentaiV1beta3GcsDocuments++; if (buildCounterGoogleCloudDocumentaiV1beta3GcsDocuments < 3) { - o.documents = buildUnnamed8034(); + o.documents = buildUnnamed8120(); } buildCounterGoogleCloudDocumentaiV1beta3GcsDocuments--; return o; @@ -6743,7 +6962,7 @@ void checkGoogleCloudDocumentaiV1beta3GcsDocuments( api.GoogleCloudDocumentaiV1beta3GcsDocuments o) { buildCounterGoogleCloudDocumentaiV1beta3GcsDocuments++; if (buildCounterGoogleCloudDocumentaiV1beta3GcsDocuments < 3) { - checkUnnamed8034(o.documents!); + checkUnnamed8120(o.documents!); } buildCounterGoogleCloudDocumentaiV1beta3GcsDocuments--; } @@ -6806,12 +7025,12 @@ void checkGoogleCloudDocumentaiV1beta3HumanReviewStatus( buildCounterGoogleCloudDocumentaiV1beta3HumanReviewStatus--; } -core.List buildUnnamed8035() => [ +core.List buildUnnamed8121() => [ buildGoogleCloudDocumentaiV1beta3Processor(), buildGoogleCloudDocumentaiV1beta3Processor(), ]; -void checkUnnamed8035(core.List o) { +void checkUnnamed8121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3Processor(o[0]); checkGoogleCloudDocumentaiV1beta3Processor(o[1]); @@ -6824,7 +7043,7 @@ api.GoogleCloudDocumentaiV1beta3ListProcessorsResponse buildCounterGoogleCloudDocumentaiV1beta3ListProcessorsResponse++; if (buildCounterGoogleCloudDocumentaiV1beta3ListProcessorsResponse < 3) { o.nextPageToken = 'foo'; - o.processors = buildUnnamed8035(); + o.processors = buildUnnamed8121(); } buildCounterGoogleCloudDocumentaiV1beta3ListProcessorsResponse--; return o; @@ -6838,7 +7057,7 @@ void checkGoogleCloudDocumentaiV1beta3ListProcessorsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8035(o.processors!); + checkUnnamed8121(o.processors!); } buildCounterGoogleCloudDocumentaiV1beta3ListProcessorsResponse--; } @@ -6987,12 +7206,12 @@ void checkGoogleCloudDocumentaiV1beta3Processor( } core.List - buildUnnamed8036() => [ + buildUnnamed8122() => [ buildGoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo(), buildGoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo(), ]; -void checkUnnamed8036( +void checkUnnamed8122( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo(o[0]); @@ -7006,7 +7225,7 @@ api.GoogleCloudDocumentaiV1beta3ProcessorType buildCounterGoogleCloudDocumentaiV1beta3ProcessorType++; if (buildCounterGoogleCloudDocumentaiV1beta3ProcessorType < 3) { o.allowCreation = true; - o.availableLocations = buildUnnamed8036(); + o.availableLocations = buildUnnamed8122(); o.category = 'foo'; o.name = 'foo'; o.type = 'foo'; @@ -7020,7 +7239,7 @@ void checkGoogleCloudDocumentaiV1beta3ProcessorType( buildCounterGoogleCloudDocumentaiV1beta3ProcessorType++; if (buildCounterGoogleCloudDocumentaiV1beta3ProcessorType < 3) { unittest.expect(o.allowCreation!, unittest.isTrue); - checkUnnamed8036(o.availableLocations!); + checkUnnamed8122(o.availableLocations!); unittest.expect( o.category!, unittest.equals('foo'), @@ -7218,12 +7437,12 @@ void checkGoogleCloudDocumentaiV1beta3Vertex( buildCounterGoogleCloudDocumentaiV1beta3Vertex--; } -core.List buildUnnamed8037() => [ +core.List buildUnnamed8123() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed8037(core.List o) { +void checkUnnamed8123(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -7235,7 +7454,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed8037(); + o.locations = buildUnnamed8123(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -7246,7 +7465,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed8037(o.locations!); + checkUnnamed8123(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -7255,12 +7474,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed8038() => { +core.Map buildUnnamed8124() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8038(core.Map o) { +void checkUnnamed8124(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7272,7 +7491,7 @@ void checkUnnamed8038(core.Map o) { ); } -core.Map buildUnnamed8039() => { +core.Map buildUnnamed8125() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7285,7 +7504,7 @@ core.Map buildUnnamed8039() => { }, }; -void checkUnnamed8039(core.Map o) { +void checkUnnamed8125(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -7323,9 +7542,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8038(); + o.labels = buildUnnamed8124(); o.locationId = 'foo'; - o.metadata = buildUnnamed8039(); + o.metadata = buildUnnamed8125(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -7339,12 +7558,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8038(o.labels!); + checkUnnamed8124(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8039(o.metadata!); + checkUnnamed8125(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7353,12 +7572,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed8040() => [ +core.List buildUnnamed8126() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed8040(core.List o) { +void checkUnnamed8126(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -7371,7 +7590,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8040(); + o.operations = buildUnnamed8126(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -7385,12 +7604,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8040(o.operations!); + checkUnnamed8126(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed8041() => { +core.Map buildUnnamed8127() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7403,7 +7622,7 @@ core.Map buildUnnamed8041() => { }, }; -void checkUnnamed8041(core.Map o) { +void checkUnnamed8127(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -7435,7 +7654,7 @@ void checkUnnamed8041(core.Map o) { ); } -core.Map buildUnnamed8042() => { +core.Map buildUnnamed8128() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7448,7 +7667,7 @@ core.Map buildUnnamed8042() => { }, }; -void checkUnnamed8042(core.Map o) { +void checkUnnamed8128(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -7487,9 +7706,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed8041(); + o.metadata = buildUnnamed8127(); o.name = 'foo'; - o.response = buildUnnamed8042(); + o.response = buildUnnamed8128(); } buildCounterGoogleLongrunningOperation--; return o; @@ -7500,12 +7719,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed8041(o.metadata!); + checkUnnamed8127(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8042(o.response!); + checkUnnamed8128(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -7525,7 +7744,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed8043() => { +core.Map buildUnnamed8129() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7538,7 +7757,7 @@ core.Map buildUnnamed8043() => { }, }; -void checkUnnamed8043(core.Map o) { +void checkUnnamed8129(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -7570,15 +7789,15 @@ void checkUnnamed8043(core.Map o) { ); } -core.List> buildUnnamed8044() => [ - buildUnnamed8043(), - buildUnnamed8043(), +core.List> buildUnnamed8130() => [ + buildUnnamed8129(), + buildUnnamed8129(), ]; -void checkUnnamed8044(core.List> o) { +void checkUnnamed8130(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8043(o[0]); - checkUnnamed8043(o[1]); + checkUnnamed8129(o[0]); + checkUnnamed8129(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -7587,7 +7806,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed8044(); + o.details = buildUnnamed8130(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -7601,7 +7820,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8044(o.details!); + checkUnnamed8130(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -7770,12 +7989,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed8045() => [ +core.List buildUnnamed8131() => [ 'foo', 'foo', ]; -void checkUnnamed8045(core.List o) { +void checkUnnamed8131(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7787,12 +8006,12 @@ void checkUnnamed8045(core.List o) { ); } -core.List buildUnnamed8046() => [ +core.List buildUnnamed8132() => [ 'foo', 'foo', ]; -void checkUnnamed8046(core.List o) { +void checkUnnamed8132(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7809,13 +8028,13 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { final o = api.GoogleTypePostalAddress(); buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - o.addressLines = buildUnnamed8045(); + o.addressLines = buildUnnamed8131(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed8046(); + o.recipients = buildUnnamed8132(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -7828,7 +8047,7 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - checkUnnamed8045(o.addressLines!); + checkUnnamed8131(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -7849,7 +8068,7 @@ void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed8046(o.recipients!); + checkUnnamed8132(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -7898,6 +8117,58 @@ void checkGoogleTypeTimeZone(api.GoogleTypeTimeZone o) { } void main() { + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata', () { unittest.test('to-json--from-json', () async { @@ -8096,6 +8367,30 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata', () { @@ -8193,6 +8488,20 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata', () { @@ -10311,7 +10620,7 @@ void main() { }); unittest.group('resource-ProjectsLocationsOperationsResource', () { - unittest.test('method--cancelOperation', () async { + unittest.test('method--cancel', () async { final mock = HttpServerMock(); final res = api.DocumentApi(mock).projects.locations.operations; final arg_name = 'foo'; @@ -10359,8 +10668,7 @@ void main() { final resp = convert.json.encode(buildGoogleProtobufEmpty()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = - await res.cancelOperation(arg_name, $fields: arg_$fields); + final response = await res.cancel(arg_name, $fields: arg_$fields); checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); }); diff --git a/generated/googleapis_beta/test/domains/v1beta1_test.dart b/generated/googleapis_beta/test/domains/v1beta1_test.dart index bb948bac6..a54e14d16 100644 --- a/generated/googleapis_beta/test/domains/v1beta1_test.dart +++ b/generated/googleapis_beta/test/domains/v1beta1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8554() => [ +core.List buildUnnamed8659() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed8554(core.List o) { +void checkUnnamed8659(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8554(); + o.auditLogConfigs = buildUnnamed8659(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed8554(o.auditLogConfigs!); + checkUnnamed8659(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed8555() => [ +core.List buildUnnamed8660() => [ 'foo', 'foo', ]; -void checkUnnamed8555(core.List o) { +void checkUnnamed8660(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8555(); + o.exemptedMembers = buildUnnamed8660(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed8555(o.exemptedMembers!); + checkUnnamed8660(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -124,12 +124,12 @@ void checkAuthorizationCode(api.AuthorizationCode o) { buildCounterAuthorizationCode--; } -core.List buildUnnamed8556() => [ +core.List buildUnnamed8661() => [ 'foo', 'foo', ]; -void checkUnnamed8556(core.List o) { +void checkUnnamed8661(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -147,7 +147,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8556(); + o.members = buildUnnamed8661(); o.role = 'foo'; } buildCounterBinding--; @@ -158,7 +158,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed8556(o.members!); + checkUnnamed8661(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -167,12 +167,12 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } -core.List buildUnnamed8557() => [ +core.List buildUnnamed8662() => [ 'foo', 'foo', ]; -void checkUnnamed8557(core.List o) { +void checkUnnamed8662(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -189,7 +189,7 @@ api.ConfigureContactSettingsRequest buildConfigureContactSettingsRequest() { final o = api.ConfigureContactSettingsRequest(); buildCounterConfigureContactSettingsRequest++; if (buildCounterConfigureContactSettingsRequest < 3) { - o.contactNotices = buildUnnamed8557(); + o.contactNotices = buildUnnamed8662(); o.contactSettings = buildContactSettings(); o.updateMask = 'foo'; o.validateOnly = true; @@ -202,7 +202,7 @@ void checkConfigureContactSettingsRequest( api.ConfigureContactSettingsRequest o) { buildCounterConfigureContactSettingsRequest++; if (buildCounterConfigureContactSettingsRequest < 3) { - checkUnnamed8557(o.contactNotices!); + checkUnnamed8662(o.contactNotices!); checkContactSettings(o.contactSettings!); unittest.expect( o.updateMask!, @@ -327,23 +327,23 @@ void checkContactSettings(api.ContactSettings o) { buildCounterContactSettings--; } -core.List buildUnnamed8558() => [ +core.List buildUnnamed8663() => [ buildDsRecord(), buildDsRecord(), ]; -void checkUnnamed8558(core.List o) { +void checkUnnamed8663(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDsRecord(o[0]); checkDsRecord(o[1]); } -core.List buildUnnamed8559() => [ +core.List buildUnnamed8664() => [ 'foo', 'foo', ]; -void checkUnnamed8559(core.List o) { +void checkUnnamed8664(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -360,8 +360,8 @@ api.CustomDns buildCustomDns() { final o = api.CustomDns(); buildCounterCustomDns++; if (buildCounterCustomDns < 3) { - o.dsRecords = buildUnnamed8558(); - o.nameServers = buildUnnamed8559(); + o.dsRecords = buildUnnamed8663(); + o.nameServers = buildUnnamed8664(); } buildCounterCustomDns--; return o; @@ -370,18 +370,18 @@ api.CustomDns buildCustomDns() { void checkCustomDns(api.CustomDns o) { buildCounterCustomDns++; if (buildCounterCustomDns < 3) { - checkUnnamed8558(o.dsRecords!); - checkUnnamed8559(o.nameServers!); + checkUnnamed8663(o.dsRecords!); + checkUnnamed8664(o.nameServers!); } buildCounterCustomDns--; } -core.List buildUnnamed8560() => [ +core.List buildUnnamed8665() => [ buildGlueRecord(), buildGlueRecord(), ]; -void checkUnnamed8560(core.List o) { +void checkUnnamed8665(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGlueRecord(o[0]); checkGlueRecord(o[1]); @@ -393,7 +393,7 @@ api.DnsSettings buildDnsSettings() { buildCounterDnsSettings++; if (buildCounterDnsSettings < 3) { o.customDns = buildCustomDns(); - o.glueRecords = buildUnnamed8560(); + o.glueRecords = buildUnnamed8665(); o.googleDomainsDns = buildGoogleDomainsDns(); } buildCounterDnsSettings--; @@ -404,7 +404,7 @@ void checkDnsSettings(api.DnsSettings o) { buildCounterDnsSettings++; if (buildCounterDnsSettings < 3) { checkCustomDns(o.customDns!); - checkUnnamed8560(o.glueRecords!); + checkUnnamed8665(o.glueRecords!); checkGoogleDomainsDns(o.googleDomainsDns!); } buildCounterDnsSettings--; @@ -499,12 +499,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed8561() => [ +core.List buildUnnamed8666() => [ 'foo', 'foo', ]; -void checkUnnamed8561(core.List o) { +void checkUnnamed8666(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -516,12 +516,12 @@ void checkUnnamed8561(core.List o) { ); } -core.List buildUnnamed8562() => [ +core.List buildUnnamed8667() => [ 'foo', 'foo', ]; -void checkUnnamed8562(core.List o) { +void checkUnnamed8667(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -539,8 +539,8 @@ api.GlueRecord buildGlueRecord() { buildCounterGlueRecord++; if (buildCounterGlueRecord < 3) { o.hostName = 'foo'; - o.ipv4Addresses = buildUnnamed8561(); - o.ipv6Addresses = buildUnnamed8562(); + o.ipv4Addresses = buildUnnamed8666(); + o.ipv6Addresses = buildUnnamed8667(); } buildCounterGlueRecord--; return o; @@ -553,29 +553,29 @@ void checkGlueRecord(api.GlueRecord o) { o.hostName!, unittest.equals('foo'), ); - checkUnnamed8561(o.ipv4Addresses!); - checkUnnamed8562(o.ipv6Addresses!); + checkUnnamed8666(o.ipv4Addresses!); + checkUnnamed8667(o.ipv6Addresses!); } buildCounterGlueRecord--; } -core.List buildUnnamed8563() => [ +core.List buildUnnamed8668() => [ buildDsRecord(), buildDsRecord(), ]; -void checkUnnamed8563(core.List o) { +void checkUnnamed8668(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDsRecord(o[0]); checkDsRecord(o[1]); } -core.List buildUnnamed8564() => [ +core.List buildUnnamed8669() => [ 'foo', 'foo', ]; -void checkUnnamed8564(core.List o) { +void checkUnnamed8669(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -592,9 +592,9 @@ api.GoogleDomainsDns buildGoogleDomainsDns() { final o = api.GoogleDomainsDns(); buildCounterGoogleDomainsDns++; if (buildCounterGoogleDomainsDns < 3) { - o.dsRecords = buildUnnamed8563(); + o.dsRecords = buildUnnamed8668(); o.dsState = 'foo'; - o.nameServers = buildUnnamed8564(); + o.nameServers = buildUnnamed8669(); } buildCounterGoogleDomainsDns--; return o; @@ -603,22 +603,22 @@ api.GoogleDomainsDns buildGoogleDomainsDns() { void checkGoogleDomainsDns(api.GoogleDomainsDns o) { buildCounterGoogleDomainsDns++; if (buildCounterGoogleDomainsDns < 3) { - checkUnnamed8563(o.dsRecords!); + checkUnnamed8668(o.dsRecords!); unittest.expect( o.dsState!, unittest.equals('foo'), ); - checkUnnamed8564(o.nameServers!); + checkUnnamed8669(o.nameServers!); } buildCounterGoogleDomainsDns--; } -core.List buildUnnamed8565() => [ +core.List buildUnnamed8670() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8565(core.List o) { +void checkUnnamed8670(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -629,7 +629,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed8565(); + o.locations = buildUnnamed8670(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -639,7 +639,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed8565(o.locations!); + checkUnnamed8670(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -648,12 +648,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed8566() => [ +core.List buildUnnamed8671() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8566(core.List o) { +void checkUnnamed8671(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -665,7 +665,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8566(); + o.operations = buildUnnamed8671(); } buildCounterListOperationsResponse--; return o; @@ -678,17 +678,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8566(o.operations!); + checkUnnamed8671(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed8567() => [ +core.List buildUnnamed8672() => [ buildRegistration(), buildRegistration(), ]; -void checkUnnamed8567(core.List o) { +void checkUnnamed8672(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegistration(o[0]); checkRegistration(o[1]); @@ -700,7 +700,7 @@ api.ListRegistrationsResponse buildListRegistrationsResponse() { buildCounterListRegistrationsResponse++; if (buildCounterListRegistrationsResponse < 3) { o.nextPageToken = 'foo'; - o.registrations = buildUnnamed8567(); + o.registrations = buildUnnamed8672(); } buildCounterListRegistrationsResponse--; return o; @@ -713,17 +713,17 @@ void checkListRegistrationsResponse(api.ListRegistrationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8567(o.registrations!); + checkUnnamed8672(o.registrations!); } buildCounterListRegistrationsResponse--; } -core.Map buildUnnamed8568() => { +core.Map buildUnnamed8673() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8568(core.Map o) { +void checkUnnamed8673(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -735,7 +735,7 @@ void checkUnnamed8568(core.Map o) { ); } -core.Map buildUnnamed8569() => { +core.Map buildUnnamed8674() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -748,7 +748,7 @@ core.Map buildUnnamed8569() => { }, }; -void checkUnnamed8569(core.Map o) { +void checkUnnamed8674(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -786,9 +786,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8568(); + o.labels = buildUnnamed8673(); o.locationId = 'foo'; - o.metadata = buildUnnamed8569(); + o.metadata = buildUnnamed8674(); o.name = 'foo'; } buildCounterLocation--; @@ -802,12 +802,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8568(o.labels!); + checkUnnamed8673(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8569(o.metadata!); + checkUnnamed8674(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -875,7 +875,7 @@ void checkMoney(api.Money o) { buildCounterMoney--; } -core.Map buildUnnamed8570() => { +core.Map buildUnnamed8675() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -888,7 +888,7 @@ core.Map buildUnnamed8570() => { }, }; -void checkUnnamed8570(core.Map o) { +void checkUnnamed8675(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -920,7 +920,7 @@ void checkUnnamed8570(core.Map o) { ); } -core.Map buildUnnamed8571() => { +core.Map buildUnnamed8676() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -933,7 +933,7 @@ core.Map buildUnnamed8571() => { }, }; -void checkUnnamed8571(core.Map o) { +void checkUnnamed8676(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -972,9 +972,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8570(); + o.metadata = buildUnnamed8675(); o.name = 'foo'; - o.response = buildUnnamed8571(); + o.response = buildUnnamed8676(); } buildCounterOperation--; return o; @@ -985,12 +985,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8570(o.metadata!); + checkUnnamed8675(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8571(o.response!); + checkUnnamed8676(o.response!); } buildCounterOperation--; } @@ -1042,23 +1042,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed8572() => [ +core.List buildUnnamed8677() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed8572(core.List o) { +void checkUnnamed8677(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed8573() => [ +core.List buildUnnamed8678() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed8573(core.List o) { +void checkUnnamed8678(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1069,8 +1069,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed8572(); - o.bindings = buildUnnamed8573(); + o.auditConfigs = buildUnnamed8677(); + o.bindings = buildUnnamed8678(); o.etag = 'foo'; o.version = 42; } @@ -1081,8 +1081,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed8572(o.auditConfigs!); - checkUnnamed8573(o.bindings!); + checkUnnamed8677(o.auditConfigs!); + checkUnnamed8678(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1095,12 +1095,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed8574() => [ +core.List buildUnnamed8679() => [ 'foo', 'foo', ]; -void checkUnnamed8574(core.List o) { +void checkUnnamed8679(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1112,12 +1112,12 @@ void checkUnnamed8574(core.List o) { ); } -core.List buildUnnamed8575() => [ +core.List buildUnnamed8680() => [ 'foo', 'foo', ]; -void checkUnnamed8575(core.List o) { +void checkUnnamed8680(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1134,13 +1134,13 @@ api.PostalAddress buildPostalAddress() { final o = api.PostalAddress(); buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - o.addressLines = buildUnnamed8574(); + o.addressLines = buildUnnamed8679(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed8575(); + o.recipients = buildUnnamed8680(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -1153,7 +1153,7 @@ api.PostalAddress buildPostalAddress() { void checkPostalAddress(api.PostalAddress o) { buildCounterPostalAddress++; if (buildCounterPostalAddress < 3) { - checkUnnamed8574(o.addressLines!); + checkUnnamed8679(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -1174,7 +1174,7 @@ void checkPostalAddress(api.PostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed8575(o.recipients!); + checkUnnamed8680(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -1195,12 +1195,12 @@ void checkPostalAddress(api.PostalAddress o) { buildCounterPostalAddress--; } -core.List buildUnnamed8576() => [ +core.List buildUnnamed8681() => [ 'foo', 'foo', ]; -void checkUnnamed8576(core.List o) { +void checkUnnamed8681(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1212,12 +1212,12 @@ void checkUnnamed8576(core.List o) { ); } -core.List buildUnnamed8577() => [ +core.List buildUnnamed8682() => [ 'foo', 'foo', ]; -void checkUnnamed8577(core.List o) { +void checkUnnamed8682(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1234,8 +1234,8 @@ api.RegisterDomainRequest buildRegisterDomainRequest() { final o = api.RegisterDomainRequest(); buildCounterRegisterDomainRequest++; if (buildCounterRegisterDomainRequest < 3) { - o.contactNotices = buildUnnamed8576(); - o.domainNotices = buildUnnamed8577(); + o.contactNotices = buildUnnamed8681(); + o.domainNotices = buildUnnamed8682(); o.registration = buildRegistration(); o.validateOnly = true; o.yearlyPrice = buildMoney(); @@ -1247,8 +1247,8 @@ api.RegisterDomainRequest buildRegisterDomainRequest() { void checkRegisterDomainRequest(api.RegisterDomainRequest o) { buildCounterRegisterDomainRequest++; if (buildCounterRegisterDomainRequest < 3) { - checkUnnamed8576(o.contactNotices!); - checkUnnamed8577(o.domainNotices!); + checkUnnamed8681(o.contactNotices!); + checkUnnamed8682(o.domainNotices!); checkRegistration(o.registration!); unittest.expect(o.validateOnly!, unittest.isTrue); checkMoney(o.yearlyPrice!); @@ -1256,12 +1256,12 @@ void checkRegisterDomainRequest(api.RegisterDomainRequest o) { buildCounterRegisterDomainRequest--; } -core.List buildUnnamed8578() => [ +core.List buildUnnamed8683() => [ 'foo', 'foo', ]; -void checkUnnamed8578(core.List o) { +void checkUnnamed8683(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1273,12 +1273,12 @@ void checkUnnamed8578(core.List o) { ); } -core.List buildUnnamed8579() => [ +core.List buildUnnamed8684() => [ 'foo', 'foo', ]; -void checkUnnamed8579(core.List o) { +void checkUnnamed8684(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1297,8 +1297,8 @@ api.RegisterParameters buildRegisterParameters() { if (buildCounterRegisterParameters < 3) { o.availability = 'foo'; o.domainName = 'foo'; - o.domainNotices = buildUnnamed8578(); - o.supportedPrivacy = buildUnnamed8579(); + o.domainNotices = buildUnnamed8683(); + o.supportedPrivacy = buildUnnamed8684(); o.yearlyPrice = buildMoney(); } buildCounterRegisterParameters--; @@ -1316,19 +1316,19 @@ void checkRegisterParameters(api.RegisterParameters o) { o.domainName!, unittest.equals('foo'), ); - checkUnnamed8578(o.domainNotices!); - checkUnnamed8579(o.supportedPrivacy!); + checkUnnamed8683(o.domainNotices!); + checkUnnamed8684(o.supportedPrivacy!); checkMoney(o.yearlyPrice!); } buildCounterRegisterParameters--; } -core.List buildUnnamed8580() => [ +core.List buildUnnamed8685() => [ 'foo', 'foo', ]; -void checkUnnamed8580(core.List o) { +void checkUnnamed8685(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1340,12 +1340,12 @@ void checkUnnamed8580(core.List o) { ); } -core.Map buildUnnamed8581() => { +core.Map buildUnnamed8686() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8581(core.Map o) { +void checkUnnamed8686(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1357,12 +1357,12 @@ void checkUnnamed8581(core.Map o) { ); } -core.List buildUnnamed8582() => [ +core.List buildUnnamed8687() => [ 'foo', 'foo', ]; -void checkUnnamed8582(core.List o) { +void checkUnnamed8687(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1384,13 +1384,13 @@ api.Registration buildRegistration() { o.dnsSettings = buildDnsSettings(); o.domainName = 'foo'; o.expireTime = 'foo'; - o.issues = buildUnnamed8580(); - o.labels = buildUnnamed8581(); + o.issues = buildUnnamed8685(); + o.labels = buildUnnamed8686(); o.managementSettings = buildManagementSettings(); o.name = 'foo'; o.pendingContactSettings = buildContactSettings(); o.state = 'foo'; - o.supportedPrivacy = buildUnnamed8582(); + o.supportedPrivacy = buildUnnamed8687(); } buildCounterRegistration--; return o; @@ -1413,8 +1413,8 @@ void checkRegistration(api.Registration o) { o.expireTime!, unittest.equals('foo'), ); - checkUnnamed8580(o.issues!); - checkUnnamed8581(o.labels!); + checkUnnamed8685(o.issues!); + checkUnnamed8686(o.labels!); checkManagementSettings(o.managementSettings!); unittest.expect( o.name!, @@ -1425,7 +1425,7 @@ void checkRegistration(api.Registration o) { o.state!, unittest.equals('foo'), ); - checkUnnamed8582(o.supportedPrivacy!); + checkUnnamed8687(o.supportedPrivacy!); } buildCounterRegistration--; } @@ -1466,12 +1466,12 @@ void checkRetrieveRegisterParametersResponse( buildCounterRetrieveRegisterParametersResponse--; } -core.List buildUnnamed8583() => [ +core.List buildUnnamed8688() => [ buildRegisterParameters(), buildRegisterParameters(), ]; -void checkUnnamed8583(core.List o) { +void checkUnnamed8688(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegisterParameters(o[0]); checkRegisterParameters(o[1]); @@ -1482,7 +1482,7 @@ api.SearchDomainsResponse buildSearchDomainsResponse() { final o = api.SearchDomainsResponse(); buildCounterSearchDomainsResponse++; if (buildCounterSearchDomainsResponse < 3) { - o.registerParameters = buildUnnamed8583(); + o.registerParameters = buildUnnamed8688(); } buildCounterSearchDomainsResponse--; return o; @@ -1491,7 +1491,7 @@ api.SearchDomainsResponse buildSearchDomainsResponse() { void checkSearchDomainsResponse(api.SearchDomainsResponse o) { buildCounterSearchDomainsResponse++; if (buildCounterSearchDomainsResponse < 3) { - checkUnnamed8583(o.registerParameters!); + checkUnnamed8688(o.registerParameters!); } buildCounterSearchDomainsResponse--; } @@ -1520,7 +1520,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed8584() => { +core.Map buildUnnamed8689() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1533,7 +1533,7 @@ core.Map buildUnnamed8584() => { }, }; -void checkUnnamed8584(core.Map o) { +void checkUnnamed8689(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1565,15 +1565,15 @@ void checkUnnamed8584(core.Map o) { ); } -core.List> buildUnnamed8585() => [ - buildUnnamed8584(), - buildUnnamed8584(), +core.List> buildUnnamed8690() => [ + buildUnnamed8689(), + buildUnnamed8689(), ]; -void checkUnnamed8585(core.List> o) { +void checkUnnamed8690(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8584(o[0]); - checkUnnamed8584(o[1]); + checkUnnamed8689(o[0]); + checkUnnamed8689(o[1]); } core.int buildCounterStatus = 0; @@ -1582,7 +1582,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8585(); + o.details = buildUnnamed8690(); o.message = 'foo'; } buildCounterStatus--; @@ -1596,7 +1596,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8585(o.details!); + checkUnnamed8690(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1605,12 +1605,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8586() => [ +core.List buildUnnamed8691() => [ 'foo', 'foo', ]; -void checkUnnamed8586(core.List o) { +void checkUnnamed8691(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1627,7 +1627,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8586(); + o.permissions = buildUnnamed8691(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1636,17 +1636,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed8586(o.permissions!); + checkUnnamed8691(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed8587() => [ +core.List buildUnnamed8692() => [ 'foo', 'foo', ]; -void checkUnnamed8587(core.List o) { +void checkUnnamed8692(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1663,7 +1663,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8587(); + o.permissions = buildUnnamed8692(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1672,7 +1672,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed8587(o.permissions!); + checkUnnamed8692(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart b/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart index aa20dbf9c..dbf3fcef7 100644 --- a/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart @@ -27,12 +27,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; core.List - buildUnnamed8072() => [ + buildUnnamed8158() => [ buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReview(), buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReview(), ]; -void checkUnnamed8072( +void checkUnnamed8158( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReview(o[0]); @@ -46,7 +46,7 @@ api.GoogleFactcheckingFactchecktoolsV1alpha1Claim buildCounterGoogleFactcheckingFactchecktoolsV1alpha1Claim++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1Claim < 3) { o.claimDate = 'foo'; - o.claimReview = buildUnnamed8072(); + o.claimReview = buildUnnamed8158(); o.claimant = 'foo'; o.text = 'foo'; } @@ -62,7 +62,7 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1Claim( o.claimDate!, unittest.equals('foo'), ); - checkUnnamed8072(o.claimReview!); + checkUnnamed8158(o.claimReview!); unittest.expect( o.claimant!, unittest.equals('foo'), @@ -241,12 +241,12 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor( buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor--; } -core.List buildUnnamed8073() => [ +core.List buildUnnamed8159() => [ 'foo', 'foo', ]; -void checkUnnamed8073(core.List o) { +void checkUnnamed8159(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -266,7 +266,7 @@ api.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup < 3) { - o.claimAppearances = buildUnnamed8073(); + o.claimAppearances = buildUnnamed8159(); o.claimAuthor = buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor(); o.claimDate = 'foo'; o.claimFirstAppearance = 'foo'; @@ -284,7 +284,7 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup( buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup < 3) { - checkUnnamed8073(o.claimAppearances!); + checkUnnamed8159(o.claimAppearances!); checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor(o.claimAuthor!); unittest.expect( o.claimDate!, @@ -312,12 +312,12 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup( } core.List - buildUnnamed8074() => [ + buildUnnamed8160() => [ buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup(), buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup(), ]; -void checkUnnamed8074( +void checkUnnamed8160( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -336,7 +336,7 @@ api.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage 3) { o.claimReviewAuthor = buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor(); - o.claimReviewMarkups = buildUnnamed8074(); + o.claimReviewMarkups = buildUnnamed8160(); o.name = 'foo'; o.pageUrl = 'foo'; o.publishDate = 'foo'; @@ -353,7 +353,7 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage( 3) { checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor( o.claimReviewAuthor!); - checkUnnamed8074(o.claimReviewMarkups!); + checkUnnamed8160(o.claimReviewMarkups!); unittest.expect( o.name!, unittest.equals('foo'), @@ -375,12 +375,12 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage( } core.List - buildUnnamed8075() => [ + buildUnnamed8161() => [ buildGoogleFactcheckingFactchecktoolsV1alpha1Claim(), buildGoogleFactcheckingFactchecktoolsV1alpha1Claim(), ]; -void checkUnnamed8075( +void checkUnnamed8161( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFactcheckingFactchecktoolsV1alpha1Claim(o[0]); @@ -397,7 +397,7 @@ api.GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse buildCounterGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse < 3) { - o.claims = buildUnnamed8075(); + o.claims = buildUnnamed8161(); o.nextPageToken = 'foo'; } buildCounterGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse--; @@ -410,7 +410,7 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse buildCounterGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse < 3) { - checkUnnamed8075(o.claims!); + checkUnnamed8161(o.claims!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -420,12 +420,12 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse } core.List - buildUnnamed8076() => [ + buildUnnamed8162() => [ buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage(), buildGoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage(), ]; -void checkUnnamed8076( +void checkUnnamed8162( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -443,7 +443,7 @@ api.GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse < 3) { - o.claimReviewMarkupPages = buildUnnamed8076(); + o.claimReviewMarkupPages = buildUnnamed8162(); o.nextPageToken = 'foo'; } buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse--; @@ -456,7 +456,7 @@ void checkGoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResp buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse++; if (buildCounterGoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse < 3) { - checkUnnamed8076(o.claimReviewMarkupPages!); + checkUnnamed8162(o.claimReviewMarkupPages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart b/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart new file mode 100644 index 000000000..83c924dec --- /dev/null +++ b/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart @@ -0,0 +1,433 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis_beta/fcmdata/v1beta1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData = 0; +api.GoogleFirebaseFcmDataV1beta1AndroidDeliveryData + buildGoogleFirebaseFcmDataV1beta1AndroidDeliveryData() { + final o = api.GoogleFirebaseFcmDataV1beta1AndroidDeliveryData(); + buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData++; + if (buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData < 3) { + o.analyticsLabel = 'foo'; + o.appId = 'foo'; + o.data = buildGoogleFirebaseFcmDataV1beta1Data(); + o.date = buildGoogleTypeDate(); + } + buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1AndroidDeliveryData( + api.GoogleFirebaseFcmDataV1beta1AndroidDeliveryData o) { + buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData++; + if (buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData < 3) { + unittest.expect( + o.analyticsLabel!, + unittest.equals('foo'), + ); + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + checkGoogleFirebaseFcmDataV1beta1Data(o.data!); + checkGoogleTypeDate(o.date!); + } + buildCounterGoogleFirebaseFcmDataV1beta1AndroidDeliveryData--; +} + +core.int buildCounterGoogleFirebaseFcmDataV1beta1Data = 0; +api.GoogleFirebaseFcmDataV1beta1Data buildGoogleFirebaseFcmDataV1beta1Data() { + final o = api.GoogleFirebaseFcmDataV1beta1Data(); + buildCounterGoogleFirebaseFcmDataV1beta1Data++; + if (buildCounterGoogleFirebaseFcmDataV1beta1Data < 3) { + o.countMessagesAccepted = 'foo'; + o.deliveryPerformancePercents = + buildGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents(); + o.messageInsightPercents = + buildGoogleFirebaseFcmDataV1beta1MessageInsightPercents(); + o.messageOutcomePercents = + buildGoogleFirebaseFcmDataV1beta1MessageOutcomePercents(); + } + buildCounterGoogleFirebaseFcmDataV1beta1Data--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1Data( + api.GoogleFirebaseFcmDataV1beta1Data o) { + buildCounterGoogleFirebaseFcmDataV1beta1Data++; + if (buildCounterGoogleFirebaseFcmDataV1beta1Data < 3) { + unittest.expect( + o.countMessagesAccepted!, + unittest.equals('foo'), + ); + checkGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents( + o.deliveryPerformancePercents!); + checkGoogleFirebaseFcmDataV1beta1MessageInsightPercents( + o.messageInsightPercents!); + checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents( + o.messageOutcomePercents!); + } + buildCounterGoogleFirebaseFcmDataV1beta1Data--; +} + +core.int buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents = + 0; +api.GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents + buildGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents() { + final o = api.GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents(); + buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents < 3) { + o.delayedDeviceDoze = 42.0; + o.delayedDeviceOffline = 42.0; + o.delayedMessageThrottled = 42.0; + o.delayedUserStopped = 42.0; + o.deliveredNoDelay = 42.0; + } + buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents( + api.GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents o) { + buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents < 3) { + unittest.expect( + o.delayedDeviceDoze!, + unittest.equals(42.0), + ); + unittest.expect( + o.delayedDeviceOffline!, + unittest.equals(42.0), + ); + unittest.expect( + o.delayedMessageThrottled!, + unittest.equals(42.0), + ); + unittest.expect( + o.delayedUserStopped!, + unittest.equals(42.0), + ); + unittest.expect( + o.deliveredNoDelay!, + unittest.equals(42.0), + ); + } + buildCounterGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents--; +} + +core.List + buildUnnamed8408() => [ + buildGoogleFirebaseFcmDataV1beta1AndroidDeliveryData(), + buildGoogleFirebaseFcmDataV1beta1AndroidDeliveryData(), + ]; + +void checkUnnamed8408( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleFirebaseFcmDataV1beta1AndroidDeliveryData(o[0]); + checkGoogleFirebaseFcmDataV1beta1AndroidDeliveryData(o[1]); +} + +core.int + buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse = 0; +api.GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse + buildGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse() { + final o = api.GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse(); + buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse++; + if (buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse < + 3) { + o.androidDeliveryData = buildUnnamed8408(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse( + api.GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse o) { + buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse++; + if (buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse < + 3) { + checkUnnamed8408(o.androidDeliveryData!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse--; +} + +core.int buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents = 0; +api.GoogleFirebaseFcmDataV1beta1MessageInsightPercents + buildGoogleFirebaseFcmDataV1beta1MessageInsightPercents() { + final o = api.GoogleFirebaseFcmDataV1beta1MessageInsightPercents(); + buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents < 3) { + o.priorityLowered = 42.0; + } + buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1MessageInsightPercents( + api.GoogleFirebaseFcmDataV1beta1MessageInsightPercents o) { + buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents < 3) { + unittest.expect( + o.priorityLowered!, + unittest.equals(42.0), + ); + } + buildCounterGoogleFirebaseFcmDataV1beta1MessageInsightPercents--; +} + +core.int buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents = 0; +api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents + buildGoogleFirebaseFcmDataV1beta1MessageOutcomePercents() { + final o = api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents(); + buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents < 3) { + o.delivered = 42.0; + o.droppedAppForceStopped = 42.0; + o.droppedDeviceInactive = 42.0; + o.droppedTooManyPendingMessages = 42.0; + o.pending = 42.0; + } + buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents( + api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents o) { + buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents < 3) { + unittest.expect( + o.delivered!, + unittest.equals(42.0), + ); + unittest.expect( + o.droppedAppForceStopped!, + unittest.equals(42.0), + ); + unittest.expect( + o.droppedDeviceInactive!, + unittest.equals(42.0), + ); + unittest.expect( + o.droppedTooManyPendingMessages!, + unittest.equals(42.0), + ); + unittest.expect( + o.pending!, + unittest.equals(42.0), + ); + } + buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents--; +} + +core.int buildCounterGoogleTypeDate = 0; +api.GoogleTypeDate buildGoogleTypeDate() { + final o = api.GoogleTypeDate(); + buildCounterGoogleTypeDate++; + if (buildCounterGoogleTypeDate < 3) { + o.day = 42; + o.month = 42; + o.year = 42; + } + buildCounterGoogleTypeDate--; + return o; +} + +void checkGoogleTypeDate(api.GoogleTypeDate o) { + buildCounterGoogleTypeDate++; + if (buildCounterGoogleTypeDate < 3) { + unittest.expect( + o.day!, + unittest.equals(42), + ); + unittest.expect( + o.month!, + unittest.equals(42), + ); + unittest.expect( + o.year!, + unittest.equals(42), + ); + } + buildCounterGoogleTypeDate--; +} + +void main() { + unittest.group('obj-schema-GoogleFirebaseFcmDataV1beta1AndroidDeliveryData', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleFirebaseFcmDataV1beta1AndroidDeliveryData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleFirebaseFcmDataV1beta1AndroidDeliveryData.fromJson( + oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1AndroidDeliveryData(od); + }); + }); + + unittest.group('obj-schema-GoogleFirebaseFcmDataV1beta1Data', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleFirebaseFcmDataV1beta1Data(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleFirebaseFcmDataV1beta1Data.fromJson( + oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1Data(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents.fromJson( + oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse + .fromJson(oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleFirebaseFcmDataV1beta1MessageInsightPercents', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleFirebaseFcmDataV1beta1MessageInsightPercents(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleFirebaseFcmDataV1beta1MessageInsightPercents.fromJson( + oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1MessageInsightPercents(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleFirebaseFcmDataV1beta1MessageOutcomePercents', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleFirebaseFcmDataV1beta1MessageOutcomePercents(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson( + oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents(od); + }); + }); + + unittest.group('obj-schema-GoogleTypeDate', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleTypeDate(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleTypeDate.fromJson( + oJson as core.Map); + checkGoogleTypeDate(od); + }); + }); + + unittest.group('resource-ProjectsAndroidAppsDeliveryDataResource', () { + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.FcmdataApi(mock).projects.androidApps.deliveryData; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 8), + unittest.equals('v1beta1/'), + ); + pathOffset += 8; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse(response + as api.GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse); + }); + }); +} diff --git a/generated/googleapis_beta/test/firebase/v1beta1_test.dart b/generated/googleapis_beta/test/firebase/v1beta1_test.dart index 213be7db3..eb418594f 100644 --- a/generated/googleapis_beta/test/firebase/v1beta1_test.dart +++ b/generated/googleapis_beta/test/firebase/v1beta1_test.dart @@ -112,12 +112,12 @@ void checkAdminSdkConfig(api.AdminSdkConfig o) { buildCounterAdminSdkConfig--; } -core.List buildUnnamed8174() => [ +core.List buildUnnamed8261() => [ buildStreamMapping(), buildStreamMapping(), ]; -void checkUnnamed8174(core.List o) { +void checkUnnamed8261(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStreamMapping(o[0]); checkStreamMapping(o[1]); @@ -129,7 +129,7 @@ api.AnalyticsDetails buildAnalyticsDetails() { buildCounterAnalyticsDetails++; if (buildCounterAnalyticsDetails < 3) { o.analyticsProperty = buildAnalyticsProperty(); - o.streamMappings = buildUnnamed8174(); + o.streamMappings = buildUnnamed8261(); } buildCounterAnalyticsDetails--; return o; @@ -139,7 +139,7 @@ void checkAnalyticsDetails(api.AnalyticsDetails o) { buildCounterAnalyticsDetails++; if (buildCounterAnalyticsDetails < 3) { checkAnalyticsProperty(o.analyticsProperty!); - checkUnnamed8174(o.streamMappings!); + checkUnnamed8261(o.streamMappings!); } buildCounterAnalyticsDetails--; } @@ -474,12 +474,12 @@ void checkIosAppConfig(api.IosAppConfig o) { buildCounterIosAppConfig--; } -core.List buildUnnamed8175() => [ +core.List buildUnnamed8262() => [ buildAndroidApp(), buildAndroidApp(), ]; -void checkUnnamed8175(core.List o) { +void checkUnnamed8262(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAndroidApp(o[0]); checkAndroidApp(o[1]); @@ -490,7 +490,7 @@ api.ListAndroidAppsResponse buildListAndroidAppsResponse() { final o = api.ListAndroidAppsResponse(); buildCounterListAndroidAppsResponse++; if (buildCounterListAndroidAppsResponse < 3) { - o.apps = buildUnnamed8175(); + o.apps = buildUnnamed8262(); o.nextPageToken = 'foo'; } buildCounterListAndroidAppsResponse--; @@ -500,7 +500,7 @@ api.ListAndroidAppsResponse buildListAndroidAppsResponse() { void checkListAndroidAppsResponse(api.ListAndroidAppsResponse o) { buildCounterListAndroidAppsResponse++; if (buildCounterListAndroidAppsResponse < 3) { - checkUnnamed8175(o.apps!); + checkUnnamed8262(o.apps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -509,12 +509,12 @@ void checkListAndroidAppsResponse(api.ListAndroidAppsResponse o) { buildCounterListAndroidAppsResponse--; } -core.List buildUnnamed8176() => [ +core.List buildUnnamed8263() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8176(core.List o) { +void checkUnnamed8263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -525,7 +525,7 @@ api.ListAvailableLocationsResponse buildListAvailableLocationsResponse() { final o = api.ListAvailableLocationsResponse(); buildCounterListAvailableLocationsResponse++; if (buildCounterListAvailableLocationsResponse < 3) { - o.locations = buildUnnamed8176(); + o.locations = buildUnnamed8263(); o.nextPageToken = 'foo'; } buildCounterListAvailableLocationsResponse--; @@ -535,7 +535,7 @@ api.ListAvailableLocationsResponse buildListAvailableLocationsResponse() { void checkListAvailableLocationsResponse(api.ListAvailableLocationsResponse o) { buildCounterListAvailableLocationsResponse++; if (buildCounterListAvailableLocationsResponse < 3) { - checkUnnamed8176(o.locations!); + checkUnnamed8263(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -544,12 +544,12 @@ void checkListAvailableLocationsResponse(api.ListAvailableLocationsResponse o) { buildCounterListAvailableLocationsResponse--; } -core.List buildUnnamed8177() => [ +core.List buildUnnamed8264() => [ buildProjectInfo(), buildProjectInfo(), ]; -void checkUnnamed8177(core.List o) { +void checkUnnamed8264(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProjectInfo(o[0]); checkProjectInfo(o[1]); @@ -561,7 +561,7 @@ api.ListAvailableProjectsResponse buildListAvailableProjectsResponse() { buildCounterListAvailableProjectsResponse++; if (buildCounterListAvailableProjectsResponse < 3) { o.nextPageToken = 'foo'; - o.projectInfo = buildUnnamed8177(); + o.projectInfo = buildUnnamed8264(); } buildCounterListAvailableProjectsResponse--; return o; @@ -574,17 +574,17 @@ void checkListAvailableProjectsResponse(api.ListAvailableProjectsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8177(o.projectInfo!); + checkUnnamed8264(o.projectInfo!); } buildCounterListAvailableProjectsResponse--; } -core.List buildUnnamed8178() => [ +core.List buildUnnamed8265() => [ buildFirebaseProject(), buildFirebaseProject(), ]; -void checkUnnamed8178(core.List o) { +void checkUnnamed8265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirebaseProject(o[0]); checkFirebaseProject(o[1]); @@ -596,7 +596,7 @@ api.ListFirebaseProjectsResponse buildListFirebaseProjectsResponse() { buildCounterListFirebaseProjectsResponse++; if (buildCounterListFirebaseProjectsResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed8178(); + o.results = buildUnnamed8265(); } buildCounterListFirebaseProjectsResponse--; return o; @@ -609,17 +609,17 @@ void checkListFirebaseProjectsResponse(api.ListFirebaseProjectsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8178(o.results!); + checkUnnamed8265(o.results!); } buildCounterListFirebaseProjectsResponse--; } -core.List buildUnnamed8179() => [ +core.List buildUnnamed8266() => [ buildIosApp(), buildIosApp(), ]; -void checkUnnamed8179(core.List o) { +void checkUnnamed8266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIosApp(o[0]); checkIosApp(o[1]); @@ -630,7 +630,7 @@ api.ListIosAppsResponse buildListIosAppsResponse() { final o = api.ListIosAppsResponse(); buildCounterListIosAppsResponse++; if (buildCounterListIosAppsResponse < 3) { - o.apps = buildUnnamed8179(); + o.apps = buildUnnamed8266(); o.nextPageToken = 'foo'; } buildCounterListIosAppsResponse--; @@ -640,7 +640,7 @@ api.ListIosAppsResponse buildListIosAppsResponse() { void checkListIosAppsResponse(api.ListIosAppsResponse o) { buildCounterListIosAppsResponse++; if (buildCounterListIosAppsResponse < 3) { - checkUnnamed8179(o.apps!); + checkUnnamed8266(o.apps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -649,12 +649,12 @@ void checkListIosAppsResponse(api.ListIosAppsResponse o) { buildCounterListIosAppsResponse--; } -core.List buildUnnamed8180() => [ +core.List buildUnnamed8267() => [ buildShaCertificate(), buildShaCertificate(), ]; -void checkUnnamed8180(core.List o) { +void checkUnnamed8267(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShaCertificate(o[0]); checkShaCertificate(o[1]); @@ -665,7 +665,7 @@ api.ListShaCertificatesResponse buildListShaCertificatesResponse() { final o = api.ListShaCertificatesResponse(); buildCounterListShaCertificatesResponse++; if (buildCounterListShaCertificatesResponse < 3) { - o.certificates = buildUnnamed8180(); + o.certificates = buildUnnamed8267(); } buildCounterListShaCertificatesResponse--; return o; @@ -674,17 +674,17 @@ api.ListShaCertificatesResponse buildListShaCertificatesResponse() { void checkListShaCertificatesResponse(api.ListShaCertificatesResponse o) { buildCounterListShaCertificatesResponse++; if (buildCounterListShaCertificatesResponse < 3) { - checkUnnamed8180(o.certificates!); + checkUnnamed8267(o.certificates!); } buildCounterListShaCertificatesResponse--; } -core.List buildUnnamed8181() => [ +core.List buildUnnamed8268() => [ buildWebApp(), buildWebApp(), ]; -void checkUnnamed8181(core.List o) { +void checkUnnamed8268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebApp(o[0]); checkWebApp(o[1]); @@ -695,7 +695,7 @@ api.ListWebAppsResponse buildListWebAppsResponse() { final o = api.ListWebAppsResponse(); buildCounterListWebAppsResponse++; if (buildCounterListWebAppsResponse < 3) { - o.apps = buildUnnamed8181(); + o.apps = buildUnnamed8268(); o.nextPageToken = 'foo'; } buildCounterListWebAppsResponse--; @@ -705,7 +705,7 @@ api.ListWebAppsResponse buildListWebAppsResponse() { void checkListWebAppsResponse(api.ListWebAppsResponse o) { buildCounterListWebAppsResponse++; if (buildCounterListWebAppsResponse < 3) { - checkUnnamed8181(o.apps!); + checkUnnamed8268(o.apps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -714,12 +714,12 @@ void checkListWebAppsResponse(api.ListWebAppsResponse o) { buildCounterListWebAppsResponse--; } -core.List buildUnnamed8182() => [ +core.List buildUnnamed8269() => [ 'foo', 'foo', ]; -void checkUnnamed8182(core.List o) { +void checkUnnamed8269(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -736,7 +736,7 @@ api.Location buildLocation() { final o = api.Location(); buildCounterLocation++; if (buildCounterLocation < 3) { - o.features = buildUnnamed8182(); + o.features = buildUnnamed8269(); o.locationId = 'foo'; o.type = 'foo'; } @@ -747,7 +747,7 @@ api.Location buildLocation() { void checkLocation(api.Location o) { buildCounterLocation++; if (buildCounterLocation < 3) { - checkUnnamed8182(o.features!); + checkUnnamed8269(o.features!); unittest.expect( o.locationId!, unittest.equals('foo'), @@ -775,7 +775,7 @@ void checkMessageSet(api.MessageSet o) { buildCounterMessageSet--; } -core.Map buildUnnamed8183() => { +core.Map buildUnnamed8270() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -788,7 +788,7 @@ core.Map buildUnnamed8183() => { }, }; -void checkUnnamed8183(core.Map o) { +void checkUnnamed8270(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -820,7 +820,7 @@ void checkUnnamed8183(core.Map o) { ); } -core.Map buildUnnamed8184() => { +core.Map buildUnnamed8271() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -833,7 +833,7 @@ core.Map buildUnnamed8184() => { }, }; -void checkUnnamed8184(core.Map o) { +void checkUnnamed8271(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -872,9 +872,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8183(); + o.metadata = buildUnnamed8270(); o.name = 'foo'; - o.response = buildUnnamed8184(); + o.response = buildUnnamed8271(); } buildCounterOperation--; return o; @@ -885,12 +885,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8183(o.metadata!); + checkUnnamed8270(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8184(o.response!); + checkUnnamed8271(o.response!); } buildCounterOperation--; } @@ -949,12 +949,12 @@ void checkRemoveAnalyticsRequest(api.RemoveAnalyticsRequest o) { buildCounterRemoveAnalyticsRequest--; } -core.List buildUnnamed8185() => [ +core.List buildUnnamed8272() => [ buildFirebaseAppInfo(), buildFirebaseAppInfo(), ]; -void checkUnnamed8185(core.List o) { +void checkUnnamed8272(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFirebaseAppInfo(o[0]); checkFirebaseAppInfo(o[1]); @@ -965,7 +965,7 @@ api.SearchFirebaseAppsResponse buildSearchFirebaseAppsResponse() { final o = api.SearchFirebaseAppsResponse(); buildCounterSearchFirebaseAppsResponse++; if (buildCounterSearchFirebaseAppsResponse < 3) { - o.apps = buildUnnamed8185(); + o.apps = buildUnnamed8272(); o.nextPageToken = 'foo'; } buildCounterSearchFirebaseAppsResponse--; @@ -975,7 +975,7 @@ api.SearchFirebaseAppsResponse buildSearchFirebaseAppsResponse() { void checkSearchFirebaseAppsResponse(api.SearchFirebaseAppsResponse o) { buildCounterSearchFirebaseAppsResponse++; if (buildCounterSearchFirebaseAppsResponse < 3) { - checkUnnamed8185(o.apps!); + checkUnnamed8272(o.apps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1016,7 +1016,7 @@ void checkShaCertificate(api.ShaCertificate o) { buildCounterShaCertificate--; } -core.Map buildUnnamed8186() => { +core.Map buildUnnamed8273() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1029,7 +1029,7 @@ core.Map buildUnnamed8186() => { }, }; -void checkUnnamed8186(core.Map o) { +void checkUnnamed8273(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1061,15 +1061,15 @@ void checkUnnamed8186(core.Map o) { ); } -core.List> buildUnnamed8187() => [ - buildUnnamed8186(), - buildUnnamed8186(), +core.List> buildUnnamed8274() => [ + buildUnnamed8273(), + buildUnnamed8273(), ]; -void checkUnnamed8187(core.List> o) { +void checkUnnamed8274(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8186(o[0]); - checkUnnamed8186(o[1]); + checkUnnamed8273(o[0]); + checkUnnamed8273(o[1]); } core.int buildCounterStatus = 0; @@ -1078,7 +1078,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8187(); + o.details = buildUnnamed8274(); o.message = 'foo'; } buildCounterStatus--; @@ -1092,7 +1092,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8187(o.details!); + checkUnnamed8274(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1172,12 +1172,12 @@ void checkStreamMapping(api.StreamMapping o) { buildCounterStreamMapping--; } -core.List buildUnnamed8188() => [ +core.List buildUnnamed8275() => [ 'foo', 'foo', ]; -void checkUnnamed8188(core.List o) { +void checkUnnamed8275(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1195,7 +1195,7 @@ api.WebApp buildWebApp() { buildCounterWebApp++; if (buildCounterWebApp < 3) { o.appId = 'foo'; - o.appUrls = buildUnnamed8188(); + o.appUrls = buildUnnamed8275(); o.displayName = 'foo'; o.name = 'foo'; o.projectId = 'foo'; @@ -1212,7 +1212,7 @@ void checkWebApp(api.WebApp o) { o.appId!, unittest.equals('foo'), ); - checkUnnamed8188(o.appUrls!); + checkUnnamed8275(o.appUrls!); unittest.expect( o.displayName!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart b/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart index 622f9ac74..fd9db1664 100644 --- a/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart +++ b/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart @@ -113,13 +113,13 @@ void checkGoogleFirebaseAppcheckV1betaAttestationTokenResponse( buildCounterGoogleFirebaseAppcheckV1betaAttestationTokenResponse--; } -core.List buildUnnamed8788() => +core.List buildUnnamed8895() => [ buildGoogleFirebaseAppcheckV1betaAppAttestConfig(), buildGoogleFirebaseAppcheckV1betaAppAttestConfig(), ]; -void checkUnnamed8788( +void checkUnnamed8895( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaAppAttestConfig(o[0]); @@ -135,7 +135,7 @@ api.GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse buildCounterGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse < 3) { - o.configs = buildUnnamed8788(); + o.configs = buildUnnamed8895(); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse--; return o; @@ -146,18 +146,18 @@ void checkGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse( buildCounterGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse < 3) { - checkUnnamed8788(o.configs!); + checkUnnamed8895(o.configs!); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse--; } core.List - buildUnnamed8789() => [ + buildUnnamed8896() => [ buildGoogleFirebaseAppcheckV1betaDeviceCheckConfig(), buildGoogleFirebaseAppcheckV1betaDeviceCheckConfig(), ]; -void checkUnnamed8789( +void checkUnnamed8896( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaDeviceCheckConfig(o[0]); @@ -174,7 +174,7 @@ api.GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse buildCounterGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse < 3) { - o.configs = buildUnnamed8789(); + o.configs = buildUnnamed8896(); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse--; return o; @@ -185,18 +185,18 @@ void checkGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse( buildCounterGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse < 3) { - checkUnnamed8789(o.configs!); + checkUnnamed8896(o.configs!); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse--; } -core.List buildUnnamed8790() => +core.List buildUnnamed8897() => [ buildGoogleFirebaseAppcheckV1betaRecaptchaConfig(), buildGoogleFirebaseAppcheckV1betaRecaptchaConfig(), ]; -void checkUnnamed8790( +void checkUnnamed8897( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaRecaptchaConfig(o[0]); @@ -212,7 +212,7 @@ api.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse buildCounterGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse < 3) { - o.configs = buildUnnamed8790(); + o.configs = buildUnnamed8897(); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse--; return o; @@ -223,18 +223,18 @@ void checkGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse( buildCounterGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse < 3) { - checkUnnamed8790(o.configs!); + checkUnnamed8897(o.configs!); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse--; } -core.List buildUnnamed8791() => +core.List buildUnnamed8898() => [ buildGoogleFirebaseAppcheckV1betaSafetyNetConfig(), buildGoogleFirebaseAppcheckV1betaSafetyNetConfig(), ]; -void checkUnnamed8791( +void checkUnnamed8898( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaSafetyNetConfig(o[0]); @@ -250,7 +250,7 @@ api.GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse buildCounterGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse < 3) { - o.configs = buildUnnamed8791(); + o.configs = buildUnnamed8898(); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse--; return o; @@ -261,18 +261,18 @@ void checkGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse( buildCounterGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse < 3) { - checkUnnamed8791(o.configs!); + checkUnnamed8898(o.configs!); } buildCounterGoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse--; } core.List - buildUnnamed8792() => [ + buildUnnamed8899() => [ buildGoogleFirebaseAppcheckV1betaUpdateServiceRequest(), buildGoogleFirebaseAppcheckV1betaUpdateServiceRequest(), ]; -void checkUnnamed8792( +void checkUnnamed8899( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaUpdateServiceRequest(o[0]); @@ -285,7 +285,7 @@ api.GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest final o = api.GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest(); buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest < 3) { - o.requests = buildUnnamed8792(); + o.requests = buildUnnamed8899(); o.updateMask = 'foo'; } buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest--; @@ -296,7 +296,7 @@ void checkGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest( api.GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest o) { buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest < 3) { - checkUnnamed8792(o.requests!); + checkUnnamed8899(o.requests!); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -305,12 +305,12 @@ void checkGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest( buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest--; } -core.List buildUnnamed8793() => [ +core.List buildUnnamed8900() => [ buildGoogleFirebaseAppcheckV1betaService(), buildGoogleFirebaseAppcheckV1betaService(), ]; -void checkUnnamed8793(core.List o) { +void checkUnnamed8900(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaService(o[0]); checkGoogleFirebaseAppcheckV1betaService(o[1]); @@ -323,7 +323,7 @@ api.GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse final o = api.GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse(); buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse < 3) { - o.services = buildUnnamed8793(); + o.services = buildUnnamed8900(); } buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse--; return o; @@ -333,7 +333,7 @@ void checkGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse( api.GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse o) { buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse < 3) { - checkUnnamed8793(o.services!); + checkUnnamed8900(o.services!); } buildCounterGoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse--; } @@ -673,12 +673,12 @@ void checkGoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest( buildCounterGoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest--; } -core.List buildUnnamed8794() => [ +core.List buildUnnamed8901() => [ buildGoogleFirebaseAppcheckV1betaDebugToken(), buildGoogleFirebaseAppcheckV1betaDebugToken(), ]; -void checkUnnamed8794(core.List o) { +void checkUnnamed8901(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaDebugToken(o[0]); checkGoogleFirebaseAppcheckV1betaDebugToken(o[1]); @@ -690,7 +690,7 @@ api.GoogleFirebaseAppcheckV1betaListDebugTokensResponse final o = api.GoogleFirebaseAppcheckV1betaListDebugTokensResponse(); buildCounterGoogleFirebaseAppcheckV1betaListDebugTokensResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaListDebugTokensResponse < 3) { - o.debugTokens = buildUnnamed8794(); + o.debugTokens = buildUnnamed8901(); o.nextPageToken = 'foo'; } buildCounterGoogleFirebaseAppcheckV1betaListDebugTokensResponse--; @@ -701,7 +701,7 @@ void checkGoogleFirebaseAppcheckV1betaListDebugTokensResponse( api.GoogleFirebaseAppcheckV1betaListDebugTokensResponse o) { buildCounterGoogleFirebaseAppcheckV1betaListDebugTokensResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaListDebugTokensResponse < 3) { - checkUnnamed8794(o.debugTokens!); + checkUnnamed8901(o.debugTokens!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -710,12 +710,12 @@ void checkGoogleFirebaseAppcheckV1betaListDebugTokensResponse( buildCounterGoogleFirebaseAppcheckV1betaListDebugTokensResponse--; } -core.List buildUnnamed8795() => [ +core.List buildUnnamed8902() => [ buildGoogleFirebaseAppcheckV1betaService(), buildGoogleFirebaseAppcheckV1betaService(), ]; -void checkUnnamed8795(core.List o) { +void checkUnnamed8902(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaService(o[0]); checkGoogleFirebaseAppcheckV1betaService(o[1]); @@ -728,7 +728,7 @@ api.GoogleFirebaseAppcheckV1betaListServicesResponse buildCounterGoogleFirebaseAppcheckV1betaListServicesResponse++; if (buildCounterGoogleFirebaseAppcheckV1betaListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed8795(); + o.services = buildUnnamed8902(); } buildCounterGoogleFirebaseAppcheckV1betaListServicesResponse--; return o; @@ -742,7 +742,7 @@ void checkGoogleFirebaseAppcheckV1betaListServicesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8795(o.services!); + checkUnnamed8902(o.services!); } buildCounterGoogleFirebaseAppcheckV1betaListServicesResponse--; } @@ -796,12 +796,12 @@ void checkGoogleFirebaseAppcheckV1betaPublicJwk( buildCounterGoogleFirebaseAppcheckV1betaPublicJwk--; } -core.List buildUnnamed8796() => [ +core.List buildUnnamed8903() => [ buildGoogleFirebaseAppcheckV1betaPublicJwk(), buildGoogleFirebaseAppcheckV1betaPublicJwk(), ]; -void checkUnnamed8796(core.List o) { +void checkUnnamed8903(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleFirebaseAppcheckV1betaPublicJwk(o[0]); checkGoogleFirebaseAppcheckV1betaPublicJwk(o[1]); @@ -813,7 +813,7 @@ api.GoogleFirebaseAppcheckV1betaPublicJwkSet final o = api.GoogleFirebaseAppcheckV1betaPublicJwkSet(); buildCounterGoogleFirebaseAppcheckV1betaPublicJwkSet++; if (buildCounterGoogleFirebaseAppcheckV1betaPublicJwkSet < 3) { - o.keys = buildUnnamed8796(); + o.keys = buildUnnamed8903(); } buildCounterGoogleFirebaseAppcheckV1betaPublicJwkSet--; return o; @@ -823,7 +823,7 @@ void checkGoogleFirebaseAppcheckV1betaPublicJwkSet( api.GoogleFirebaseAppcheckV1betaPublicJwkSet o) { buildCounterGoogleFirebaseAppcheckV1betaPublicJwkSet++; if (buildCounterGoogleFirebaseAppcheckV1betaPublicJwkSet < 3) { - checkUnnamed8796(o.keys!); + checkUnnamed8903(o.keys!); } buildCounterGoogleFirebaseAppcheckV1betaPublicJwkSet--; } @@ -963,12 +963,12 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed8797() => [ +core.List buildUnnamed8904() => [ 'foo', 'foo', ]; -void checkUnnamed8797(core.List o) { +void checkUnnamed8904(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -980,12 +980,12 @@ void checkUnnamed8797(core.List o) { ); } -core.List buildUnnamed8798() => [ +core.List buildUnnamed8905() => [ 'foo', 'foo', ]; -void checkUnnamed8798(core.List o) { +void checkUnnamed8905(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -997,12 +997,12 @@ void checkUnnamed8798(core.List o) { ); } -core.List buildUnnamed8799() => [ +core.List buildUnnamed8906() => [ 'foo', 'foo', ]; -void checkUnnamed8799(core.List o) { +void checkUnnamed8906(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1014,12 +1014,12 @@ void checkUnnamed8799(core.List o) { ); } -core.List buildUnnamed8800() => [ +core.List buildUnnamed8907() => [ 'foo', 'foo', ]; -void checkUnnamed8800(core.List o) { +void checkUnnamed8907(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1944,7 +1944,7 @@ void main() { final mock = HttpServerMock(); final res = api.FirebaseappcheckApi(mock).projects.apps.appAttestConfig; final arg_parent = 'foo'; - final arg_names = buildUnnamed8797(); + final arg_names = buildUnnamed8904(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2425,7 +2425,7 @@ void main() { final mock = HttpServerMock(); final res = api.FirebaseappcheckApi(mock).projects.apps.deviceCheckConfig; final arg_parent = 'foo'; - final arg_names = buildUnnamed8798(); + final arg_names = buildUnnamed8905(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2607,7 +2607,7 @@ void main() { final mock = HttpServerMock(); final res = api.FirebaseappcheckApi(mock).projects.apps.recaptchaConfig; final arg_parent = 'foo'; - final arg_names = buildUnnamed8799(); + final arg_names = buildUnnamed8906(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; @@ -2788,7 +2788,7 @@ void main() { final mock = HttpServerMock(); final res = api.FirebaseappcheckApi(mock).projects.apps.safetyNetConfig; final arg_parent = 'foo'; - final arg_names = buildUnnamed8800(); + final arg_names = buildUnnamed8907(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart b/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart index e377e240e..e6286b01a 100644 --- a/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart +++ b/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart @@ -83,12 +83,12 @@ void checkDisableDatabaseInstanceRequest(api.DisableDatabaseInstanceRequest o) { buildCounterDisableDatabaseInstanceRequest--; } -core.List buildUnnamed8801() => [ +core.List buildUnnamed8908() => [ buildDatabaseInstance(), buildDatabaseInstance(), ]; -void checkUnnamed8801(core.List o) { +void checkUnnamed8908(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseInstance(o[0]); checkDatabaseInstance(o[1]); @@ -99,7 +99,7 @@ api.ListDatabaseInstancesResponse buildListDatabaseInstancesResponse() { final o = api.ListDatabaseInstancesResponse(); buildCounterListDatabaseInstancesResponse++; if (buildCounterListDatabaseInstancesResponse < 3) { - o.instances = buildUnnamed8801(); + o.instances = buildUnnamed8908(); o.nextPageToken = 'foo'; } buildCounterListDatabaseInstancesResponse--; @@ -109,7 +109,7 @@ api.ListDatabaseInstancesResponse buildListDatabaseInstancesResponse() { void checkListDatabaseInstancesResponse(api.ListDatabaseInstancesResponse o) { buildCounterListDatabaseInstancesResponse++; if (buildCounterListDatabaseInstancesResponse < 3) { - checkUnnamed8801(o.instances!); + checkUnnamed8908(o.instances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart b/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart index d1f55827e..e65d604b8 100644 --- a/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart +++ b/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart @@ -165,12 +165,12 @@ void checkGoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMet buildCounterGoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata--; } -core.List buildUnnamed8928() => [ +core.List buildUnnamed9045() => [ buildBucket(), buildBucket(), ]; -void checkUnnamed8928(core.List o) { +void checkUnnamed9045(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucket(o[0]); checkBucket(o[1]); @@ -181,7 +181,7 @@ api.ListBucketsResponse buildListBucketsResponse() { final o = api.ListBucketsResponse(); buildCounterListBucketsResponse++; if (buildCounterListBucketsResponse < 3) { - o.buckets = buildUnnamed8928(); + o.buckets = buildUnnamed9045(); o.nextPageToken = 'foo'; } buildCounterListBucketsResponse--; @@ -191,7 +191,7 @@ api.ListBucketsResponse buildListBucketsResponse() { void checkListBucketsResponse(api.ListBucketsResponse o) { buildCounterListBucketsResponse++; if (buildCounterListBucketsResponse < 3) { - checkUnnamed8928(o.buckets!); + checkUnnamed9045(o.buckets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/ideahub/v1beta_test.dart b/generated/googleapis_beta/test/ideahub/v1beta_test.dart new file mode 100644 index 000000000..a949e2492 --- /dev/null +++ b/generated/googleapis_beta/test/ideahub/v1beta_test.dart @@ -0,0 +1,617 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: cascade_invocations +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_parenthesis +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis_beta/ideahub/v1beta.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterGoogleSearchIdeahubV1betaAvailableLocale = 0; +api.GoogleSearchIdeahubV1betaAvailableLocale + buildGoogleSearchIdeahubV1betaAvailableLocale() { + final o = api.GoogleSearchIdeahubV1betaAvailableLocale(); + buildCounterGoogleSearchIdeahubV1betaAvailableLocale++; + if (buildCounterGoogleSearchIdeahubV1betaAvailableLocale < 3) { + o.locale = 'foo'; + o.name = 'foo'; + } + buildCounterGoogleSearchIdeahubV1betaAvailableLocale--; + return o; +} + +void checkGoogleSearchIdeahubV1betaAvailableLocale( + api.GoogleSearchIdeahubV1betaAvailableLocale o) { + buildCounterGoogleSearchIdeahubV1betaAvailableLocale++; + if (buildCounterGoogleSearchIdeahubV1betaAvailableLocale < 3) { + unittest.expect( + o.locale!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleSearchIdeahubV1betaAvailableLocale--; +} + +core.List buildUnnamed8559() => [ + buildGoogleSearchIdeahubV1betaTopic(), + buildGoogleSearchIdeahubV1betaTopic(), + ]; + +void checkUnnamed8559(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleSearchIdeahubV1betaTopic(o[0]); + checkGoogleSearchIdeahubV1betaTopic(o[1]); +} + +core.int buildCounterGoogleSearchIdeahubV1betaIdea = 0; +api.GoogleSearchIdeahubV1betaIdea buildGoogleSearchIdeahubV1betaIdea() { + final o = api.GoogleSearchIdeahubV1betaIdea(); + buildCounterGoogleSearchIdeahubV1betaIdea++; + if (buildCounterGoogleSearchIdeahubV1betaIdea < 3) { + o.name = 'foo'; + o.text = 'foo'; + o.topics = buildUnnamed8559(); + } + buildCounterGoogleSearchIdeahubV1betaIdea--; + return o; +} + +void checkGoogleSearchIdeahubV1betaIdea(api.GoogleSearchIdeahubV1betaIdea o) { + buildCounterGoogleSearchIdeahubV1betaIdea++; + if (buildCounterGoogleSearchIdeahubV1betaIdea < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + checkUnnamed8559(o.topics!); + } + buildCounterGoogleSearchIdeahubV1betaIdea--; +} + +core.int buildCounterGoogleSearchIdeahubV1betaIdeaState = 0; +api.GoogleSearchIdeahubV1betaIdeaState + buildGoogleSearchIdeahubV1betaIdeaState() { + final o = api.GoogleSearchIdeahubV1betaIdeaState(); + buildCounterGoogleSearchIdeahubV1betaIdeaState++; + if (buildCounterGoogleSearchIdeahubV1betaIdeaState < 3) { + o.dismissed = true; + o.name = 'foo'; + o.saved = true; + } + buildCounterGoogleSearchIdeahubV1betaIdeaState--; + return o; +} + +void checkGoogleSearchIdeahubV1betaIdeaState( + api.GoogleSearchIdeahubV1betaIdeaState o) { + buildCounterGoogleSearchIdeahubV1betaIdeaState++; + if (buildCounterGoogleSearchIdeahubV1betaIdeaState < 3) { + unittest.expect(o.dismissed!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.saved!, unittest.isTrue); + } + buildCounterGoogleSearchIdeahubV1betaIdeaState--; +} + +core.List buildUnnamed8560() => [ + buildGoogleSearchIdeahubV1betaAvailableLocale(), + buildGoogleSearchIdeahubV1betaAvailableLocale(), + ]; + +void checkUnnamed8560( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleSearchIdeahubV1betaAvailableLocale(o[0]); + checkGoogleSearchIdeahubV1betaAvailableLocale(o[1]); +} + +core.int buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse = 0; +api.GoogleSearchIdeahubV1betaListAvailableLocalesResponse + buildGoogleSearchIdeahubV1betaListAvailableLocalesResponse() { + final o = api.GoogleSearchIdeahubV1betaListAvailableLocalesResponse(); + buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse++; + if (buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse < 3) { + o.availableLocales = buildUnnamed8560(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse--; + return o; +} + +void checkGoogleSearchIdeahubV1betaListAvailableLocalesResponse( + api.GoogleSearchIdeahubV1betaListAvailableLocalesResponse o) { + buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse++; + if (buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse < 3) { + checkUnnamed8560(o.availableLocales!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleSearchIdeahubV1betaListAvailableLocalesResponse--; +} + +core.List buildUnnamed8561() => [ + buildGoogleSearchIdeahubV1betaIdea(), + buildGoogleSearchIdeahubV1betaIdea(), + ]; + +void checkUnnamed8561(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleSearchIdeahubV1betaIdea(o[0]); + checkGoogleSearchIdeahubV1betaIdea(o[1]); +} + +core.int buildCounterGoogleSearchIdeahubV1betaListIdeasResponse = 0; +api.GoogleSearchIdeahubV1betaListIdeasResponse + buildGoogleSearchIdeahubV1betaListIdeasResponse() { + final o = api.GoogleSearchIdeahubV1betaListIdeasResponse(); + buildCounterGoogleSearchIdeahubV1betaListIdeasResponse++; + if (buildCounterGoogleSearchIdeahubV1betaListIdeasResponse < 3) { + o.ideas = buildUnnamed8561(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleSearchIdeahubV1betaListIdeasResponse--; + return o; +} + +void checkGoogleSearchIdeahubV1betaListIdeasResponse( + api.GoogleSearchIdeahubV1betaListIdeasResponse o) { + buildCounterGoogleSearchIdeahubV1betaListIdeasResponse++; + if (buildCounterGoogleSearchIdeahubV1betaListIdeasResponse < 3) { + checkUnnamed8561(o.ideas!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleSearchIdeahubV1betaListIdeasResponse--; +} + +core.int buildCounterGoogleSearchIdeahubV1betaTopic = 0; +api.GoogleSearchIdeahubV1betaTopic buildGoogleSearchIdeahubV1betaTopic() { + final o = api.GoogleSearchIdeahubV1betaTopic(); + buildCounterGoogleSearchIdeahubV1betaTopic++; + if (buildCounterGoogleSearchIdeahubV1betaTopic < 3) { + o.displayName = 'foo'; + o.mid = 'foo'; + o.name = 'foo'; + } + buildCounterGoogleSearchIdeahubV1betaTopic--; + return o; +} + +void checkGoogleSearchIdeahubV1betaTopic(api.GoogleSearchIdeahubV1betaTopic o) { + buildCounterGoogleSearchIdeahubV1betaTopic++; + if (buildCounterGoogleSearchIdeahubV1betaTopic < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.mid!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleSearchIdeahubV1betaTopic--; +} + +core.int buildCounterGoogleSearchIdeahubV1betaTopicState = 0; +api.GoogleSearchIdeahubV1betaTopicState + buildGoogleSearchIdeahubV1betaTopicState() { + final o = api.GoogleSearchIdeahubV1betaTopicState(); + buildCounterGoogleSearchIdeahubV1betaTopicState++; + if (buildCounterGoogleSearchIdeahubV1betaTopicState < 3) { + o.dismissed = true; + o.name = 'foo'; + o.saved = true; + } + buildCounterGoogleSearchIdeahubV1betaTopicState--; + return o; +} + +void checkGoogleSearchIdeahubV1betaTopicState( + api.GoogleSearchIdeahubV1betaTopicState o) { + buildCounterGoogleSearchIdeahubV1betaTopicState++; + if (buildCounterGoogleSearchIdeahubV1betaTopicState < 3) { + unittest.expect(o.dismissed!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.saved!, unittest.isTrue); + } + buildCounterGoogleSearchIdeahubV1betaTopicState--; +} + +void main() { + unittest.group('obj-schema-GoogleSearchIdeahubV1betaAvailableLocale', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaAvailableLocale(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleSearchIdeahubV1betaAvailableLocale.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaAvailableLocale(od); + }); + }); + + unittest.group('obj-schema-GoogleSearchIdeahubV1betaIdea', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaIdea(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleSearchIdeahubV1betaIdea.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaIdea(od); + }); + }); + + unittest.group('obj-schema-GoogleSearchIdeahubV1betaIdeaState', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaIdeaState(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleSearchIdeahubV1betaIdeaState.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaIdeaState(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleSearchIdeahubV1betaListAvailableLocalesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaListAvailableLocalesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleSearchIdeahubV1betaListAvailableLocalesResponse.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaListAvailableLocalesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleSearchIdeahubV1betaListIdeasResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaListIdeasResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleSearchIdeahubV1betaListIdeasResponse.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaListIdeasResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleSearchIdeahubV1betaTopic', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaTopic(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleSearchIdeahubV1betaTopic.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaTopic(od); + }); + }); + + unittest.group('obj-schema-GoogleSearchIdeahubV1betaTopicState', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleSearchIdeahubV1betaTopicState(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleSearchIdeahubV1betaTopicState.fromJson( + oJson as core.Map); + checkGoogleSearchIdeahubV1betaTopicState(od); + }); + }); + + unittest.group('resource-PlatformsPropertiesIdeaStatesResource', () { + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.IdeahubApi(mock).platforms.properties.ideaStates; + final arg_request = buildGoogleSearchIdeahubV1betaIdeaState(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleSearchIdeahubV1betaIdeaState.fromJson( + json as core.Map); + checkGoogleSearchIdeahubV1betaIdeaState(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('v1beta/'), + ); + pathOffset += 7; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleSearchIdeahubV1betaIdeaState()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleSearchIdeahubV1betaIdeaState( + response as api.GoogleSearchIdeahubV1betaIdeaState); + }); + }); + + unittest.group('resource-PlatformsPropertiesIdeasResource', () { + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.IdeahubApi(mock).platforms.properties.ideas; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_orderBy = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('v1beta/'), + ); + pathOffset += 7; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + queryMap['orderBy']!.first, + unittest.equals(arg_orderBy), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleSearchIdeahubV1betaListIdeasResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + orderBy: arg_orderBy, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleSearchIdeahubV1betaListIdeasResponse( + response as api.GoogleSearchIdeahubV1betaListIdeasResponse); + }); + }); + + unittest.group('resource-PlatformsPropertiesLocalesResource', () { + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.IdeahubApi(mock).platforms.properties.locales; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('v1beta/'), + ); + pathOffset += 7; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleSearchIdeahubV1betaListAvailableLocalesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleSearchIdeahubV1betaListAvailableLocalesResponse(response + as api.GoogleSearchIdeahubV1betaListAvailableLocalesResponse); + }); + }); + + unittest.group('resource-PlatformsPropertiesTopicStatesResource', () { + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.IdeahubApi(mock).platforms.properties.topicStates; + final arg_request = buildGoogleSearchIdeahubV1betaTopicState(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleSearchIdeahubV1betaTopicState.fromJson( + json as core.Map); + checkGoogleSearchIdeahubV1betaTopicState(obj); + + final path = (req.url).path; + var pathOffset = 0; + core.int index; + core.String subPart; + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + unittest.expect( + path.substring(pathOffset, pathOffset + 7), + unittest.equals('v1beta/'), + ); + pathOffset += 7; + // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; + + final query = (req.url).query; + var queryOffset = 0; + final queryMap = >{}; + void addQueryParam(core.String n, core.String v) => + queryMap.putIfAbsent(n, () => []).add(v); + + if (query.isNotEmpty) { + for (var part in query.split('&')) { + final keyValue = part.split('='); + addQueryParam( + core.Uri.decodeQueryComponent(keyValue[0]), + core.Uri.decodeQueryComponent(keyValue[1]), + ); + } + } + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleSearchIdeahubV1betaTopicState()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleSearchIdeahubV1betaTopicState( + response as api.GoogleSearchIdeahubV1betaTopicState); + }); + }); +} diff --git a/generated/googleapis_beta/test/lifesciences/v2beta_test.dart b/generated/googleapis_beta/test/lifesciences/v2beta_test.dart index 791572ae0..b5c354f1a 100644 --- a/generated/googleapis_beta/test/lifesciences/v2beta_test.dart +++ b/generated/googleapis_beta/test/lifesciences/v2beta_test.dart @@ -53,12 +53,12 @@ void checkAccelerator(api.Accelerator o) { buildCounterAccelerator--; } -core.List buildUnnamed8833() => [ +core.List buildUnnamed8942() => [ 'foo', 'foo', ]; -void checkUnnamed8833(core.List o) { +void checkUnnamed8942(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -70,12 +70,12 @@ void checkUnnamed8833(core.List o) { ); } -core.Map buildUnnamed8834() => { +core.Map buildUnnamed8943() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8834(core.Map o) { +void checkUnnamed8943(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -87,12 +87,12 @@ void checkUnnamed8834(core.Map o) { ); } -core.Map buildUnnamed8835() => { +core.Map buildUnnamed8944() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8835(core.Map o) { +void checkUnnamed8944(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -104,23 +104,23 @@ void checkUnnamed8835(core.Map o) { ); } -core.List buildUnnamed8836() => [ +core.List buildUnnamed8945() => [ buildMount(), buildMount(), ]; -void checkUnnamed8836(core.List o) { +void checkUnnamed8945(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMount(o[0]); checkMount(o[1]); } -core.Map buildUnnamed8837() => { +core.Map buildUnnamed8946() => { 'x': 42, 'y': 42, }; -void checkUnnamed8837(core.Map o) { +void checkUnnamed8946(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -139,7 +139,7 @@ api.Action buildAction() { if (buildCounterAction < 3) { o.alwaysRun = true; o.blockExternalNetwork = true; - o.commands = buildUnnamed8833(); + o.commands = buildUnnamed8942(); o.containerName = 'foo'; o.credentials = buildSecret(); o.disableImagePrefetch = true; @@ -147,13 +147,13 @@ api.Action buildAction() { o.enableFuse = true; o.encryptedEnvironment = buildSecret(); o.entrypoint = 'foo'; - o.environment = buildUnnamed8834(); + o.environment = buildUnnamed8943(); o.ignoreExitStatus = true; o.imageUri = 'foo'; - o.labels = buildUnnamed8835(); - o.mounts = buildUnnamed8836(); + o.labels = buildUnnamed8944(); + o.mounts = buildUnnamed8945(); o.pidNamespace = 'foo'; - o.portMappings = buildUnnamed8837(); + o.portMappings = buildUnnamed8946(); o.publishExposedPorts = true; o.runInBackground = true; o.timeout = 'foo'; @@ -167,7 +167,7 @@ void checkAction(api.Action o) { if (buildCounterAction < 3) { unittest.expect(o.alwaysRun!, unittest.isTrue); unittest.expect(o.blockExternalNetwork!, unittest.isTrue); - checkUnnamed8833(o.commands!); + checkUnnamed8942(o.commands!); unittest.expect( o.containerName!, unittest.equals('foo'), @@ -181,19 +181,19 @@ void checkAction(api.Action o) { o.entrypoint!, unittest.equals('foo'), ); - checkUnnamed8834(o.environment!); + checkUnnamed8943(o.environment!); unittest.expect(o.ignoreExitStatus!, unittest.isTrue); unittest.expect( o.imageUri!, unittest.equals('foo'), ); - checkUnnamed8835(o.labels!); - checkUnnamed8836(o.mounts!); + checkUnnamed8944(o.labels!); + checkUnnamed8945(o.mounts!); unittest.expect( o.pidNamespace!, unittest.equals('foo'), ); - checkUnnamed8837(o.portMappings!); + checkUnnamed8946(o.portMappings!); unittest.expect(o.publishExposedPorts!, unittest.isTrue); unittest.expect(o.runInBackground!, unittest.isTrue); unittest.expect( @@ -241,12 +241,12 @@ void checkContainerKilledEvent(api.ContainerKilledEvent o) { buildCounterContainerKilledEvent--; } -core.Map buildUnnamed8838() => { +core.Map buildUnnamed8947() => { 'x': 42, 'y': 42, }; -void checkUnnamed8838(core.Map o) { +void checkUnnamed8947(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -265,7 +265,7 @@ api.ContainerStartedEvent buildContainerStartedEvent() { if (buildCounterContainerStartedEvent < 3) { o.actionId = 42; o.ipAddress = 'foo'; - o.portMappings = buildUnnamed8838(); + o.portMappings = buildUnnamed8947(); } buildCounterContainerStartedEvent--; return o; @@ -282,7 +282,7 @@ void checkContainerStartedEvent(api.ContainerStartedEvent o) { o.ipAddress!, unittest.equals('foo'), ); - checkUnnamed8838(o.portMappings!); + checkUnnamed8947(o.portMappings!); } buildCounterContainerStartedEvent--; } @@ -319,12 +319,12 @@ void checkContainerStoppedEvent(api.ContainerStoppedEvent o) { buildCounterContainerStoppedEvent--; } -core.List buildUnnamed8839() => [ +core.List buildUnnamed8948() => [ 'foo', 'foo', ]; -void checkUnnamed8839(core.List o) { +void checkUnnamed8948(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -342,7 +342,7 @@ api.DelayedEvent buildDelayedEvent() { buildCounterDelayedEvent++; if (buildCounterDelayedEvent < 3) { o.cause = 'foo'; - o.metrics = buildUnnamed8839(); + o.metrics = buildUnnamed8948(); } buildCounterDelayedEvent--; return o; @@ -355,7 +355,7 @@ void checkDelayedEvent(api.DelayedEvent o) { o.cause!, unittest.equals('foo'), ); - checkUnnamed8839(o.metrics!); + checkUnnamed8948(o.metrics!); } buildCounterDelayedEvent--; } @@ -508,12 +508,12 @@ void checkFailedEvent(api.FailedEvent o) { buildCounterFailedEvent--; } -core.List buildUnnamed8840() => [ +core.List buildUnnamed8949() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8840(core.List o) { +void checkUnnamed8949(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -524,7 +524,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed8840(); + o.locations = buildUnnamed8949(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -534,7 +534,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed8840(o.locations!); + checkUnnamed8949(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -543,12 +543,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed8841() => [ +core.List buildUnnamed8950() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8841(core.List o) { +void checkUnnamed8950(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -560,7 +560,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8841(); + o.operations = buildUnnamed8950(); } buildCounterListOperationsResponse--; return o; @@ -573,17 +573,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8841(o.operations!); + checkUnnamed8950(o.operations!); } buildCounterListOperationsResponse--; } -core.Map buildUnnamed8842() => { +core.Map buildUnnamed8951() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8842(core.Map o) { +void checkUnnamed8951(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -595,7 +595,7 @@ void checkUnnamed8842(core.Map o) { ); } -core.Map buildUnnamed8843() => { +core.Map buildUnnamed8952() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -608,7 +608,7 @@ core.Map buildUnnamed8843() => { }, }; -void checkUnnamed8843(core.Map o) { +void checkUnnamed8952(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -646,9 +646,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8842(); + o.labels = buildUnnamed8951(); o.locationId = 'foo'; - o.metadata = buildUnnamed8843(); + o.metadata = buildUnnamed8952(); o.name = 'foo'; } buildCounterLocation--; @@ -662,12 +662,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8842(o.labels!); + checkUnnamed8951(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8843(o.metadata!); + checkUnnamed8952(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -676,23 +676,23 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed8844() => [ +core.List buildUnnamed8953() => [ buildEvent(), buildEvent(), ]; -void checkUnnamed8844(core.List o) { +void checkUnnamed8953(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEvent(o[0]); checkEvent(o[1]); } -core.Map buildUnnamed8845() => { +core.Map buildUnnamed8954() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8845(core.Map o) { +void checkUnnamed8954(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -711,8 +711,8 @@ api.Metadata buildMetadata() { if (buildCounterMetadata < 3) { o.createTime = 'foo'; o.endTime = 'foo'; - o.events = buildUnnamed8844(); - o.labels = buildUnnamed8845(); + o.events = buildUnnamed8953(); + o.labels = buildUnnamed8954(); o.pipeline = buildPipeline(); o.pubSubTopic = 'foo'; o.startTime = 'foo'; @@ -732,8 +732,8 @@ void checkMetadata(api.Metadata o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed8844(o.events!); - checkUnnamed8845(o.labels!); + checkUnnamed8953(o.events!); + checkUnnamed8954(o.labels!); checkPipeline(o.pipeline!); unittest.expect( o.pubSubTopic!, @@ -827,7 +827,7 @@ void checkNetwork(api.Network o) { buildCounterNetwork--; } -core.Map buildUnnamed8846() => { +core.Map buildUnnamed8955() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -840,7 +840,7 @@ core.Map buildUnnamed8846() => { }, }; -void checkUnnamed8846(core.Map o) { +void checkUnnamed8955(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -872,7 +872,7 @@ void checkUnnamed8846(core.Map o) { ); } -core.Map buildUnnamed8847() => { +core.Map buildUnnamed8956() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -885,7 +885,7 @@ core.Map buildUnnamed8847() => { }, }; -void checkUnnamed8847(core.Map o) { +void checkUnnamed8956(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -924,9 +924,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8846(); + o.metadata = buildUnnamed8955(); o.name = 'foo'; - o.response = buildUnnamed8847(); + o.response = buildUnnamed8956(); } buildCounterOperation--; return o; @@ -937,12 +937,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8846(o.metadata!); + checkUnnamed8955(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8847(o.response!); + checkUnnamed8956(o.response!); } buildCounterOperation--; } @@ -979,23 +979,23 @@ void checkPersistentDisk(api.PersistentDisk o) { buildCounterPersistentDisk--; } -core.List buildUnnamed8848() => [ +core.List buildUnnamed8957() => [ buildAction(), buildAction(), ]; -void checkUnnamed8848(core.List o) { +void checkUnnamed8957(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAction(o[0]); checkAction(o[1]); } -core.Map buildUnnamed8849() => { +core.Map buildUnnamed8958() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8849(core.Map o) { +void checkUnnamed8958(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1012,9 +1012,9 @@ api.Pipeline buildPipeline() { final o = api.Pipeline(); buildCounterPipeline++; if (buildCounterPipeline < 3) { - o.actions = buildUnnamed8848(); + o.actions = buildUnnamed8957(); o.encryptedEnvironment = buildSecret(); - o.environment = buildUnnamed8849(); + o.environment = buildUnnamed8958(); o.resources = buildResources(); o.timeout = 'foo'; } @@ -1025,9 +1025,9 @@ api.Pipeline buildPipeline() { void checkPipeline(api.Pipeline o) { buildCounterPipeline++; if (buildCounterPipeline < 3) { - checkUnnamed8848(o.actions!); + checkUnnamed8957(o.actions!); checkSecret(o.encryptedEnvironment!); - checkUnnamed8849(o.environment!); + checkUnnamed8958(o.environment!); checkResources(o.resources!); unittest.expect( o.timeout!, @@ -1081,12 +1081,12 @@ void checkPullStoppedEvent(api.PullStoppedEvent o) { buildCounterPullStoppedEvent--; } -core.List buildUnnamed8850() => [ +core.List buildUnnamed8959() => [ 'foo', 'foo', ]; -void checkUnnamed8850(core.List o) { +void checkUnnamed8959(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1098,12 +1098,12 @@ void checkUnnamed8850(core.List o) { ); } -core.List buildUnnamed8851() => [ +core.List buildUnnamed8960() => [ 'foo', 'foo', ]; -void checkUnnamed8851(core.List o) { +void checkUnnamed8960(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1120,9 +1120,9 @@ api.Resources buildResources() { final o = api.Resources(); buildCounterResources++; if (buildCounterResources < 3) { - o.regions = buildUnnamed8850(); + o.regions = buildUnnamed8959(); o.virtualMachine = buildVirtualMachine(); - o.zones = buildUnnamed8851(); + o.zones = buildUnnamed8960(); } buildCounterResources--; return o; @@ -1131,19 +1131,19 @@ api.Resources buildResources() { void checkResources(api.Resources o) { buildCounterResources++; if (buildCounterResources < 3) { - checkUnnamed8850(o.regions!); + checkUnnamed8959(o.regions!); checkVirtualMachine(o.virtualMachine!); - checkUnnamed8851(o.zones!); + checkUnnamed8960(o.zones!); } buildCounterResources--; } -core.Map buildUnnamed8852() => { +core.Map buildUnnamed8961() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8852(core.Map o) { +void checkUnnamed8961(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1160,7 +1160,7 @@ api.RunPipelineRequest buildRunPipelineRequest() { final o = api.RunPipelineRequest(); buildCounterRunPipelineRequest++; if (buildCounterRunPipelineRequest < 3) { - o.labels = buildUnnamed8852(); + o.labels = buildUnnamed8961(); o.pipeline = buildPipeline(); o.pubSubTopic = 'foo'; } @@ -1171,7 +1171,7 @@ api.RunPipelineRequest buildRunPipelineRequest() { void checkRunPipelineRequest(api.RunPipelineRequest o) { buildCounterRunPipelineRequest++; if (buildCounterRunPipelineRequest < 3) { - checkUnnamed8852(o.labels!); + checkUnnamed8961(o.labels!); checkPipeline(o.pipeline!); unittest.expect( o.pubSubTopic!, @@ -1223,12 +1223,12 @@ void checkSecret(api.Secret o) { buildCounterSecret--; } -core.List buildUnnamed8853() => [ +core.List buildUnnamed8962() => [ 'foo', 'foo', ]; -void checkUnnamed8853(core.List o) { +void checkUnnamed8962(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1246,7 +1246,7 @@ api.ServiceAccount buildServiceAccount() { buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { o.email = 'foo'; - o.scopes = buildUnnamed8853(); + o.scopes = buildUnnamed8962(); } buildCounterServiceAccount--; return o; @@ -1259,12 +1259,12 @@ void checkServiceAccount(api.ServiceAccount o) { o.email!, unittest.equals('foo'), ); - checkUnnamed8853(o.scopes!); + checkUnnamed8962(o.scopes!); } buildCounterServiceAccount--; } -core.Map buildUnnamed8854() => { +core.Map buildUnnamed8963() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1277,7 +1277,7 @@ core.Map buildUnnamed8854() => { }, }; -void checkUnnamed8854(core.Map o) { +void checkUnnamed8963(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1309,15 +1309,15 @@ void checkUnnamed8854(core.Map o) { ); } -core.List> buildUnnamed8855() => [ - buildUnnamed8854(), - buildUnnamed8854(), +core.List> buildUnnamed8964() => [ + buildUnnamed8963(), + buildUnnamed8963(), ]; -void checkUnnamed8855(core.List> o) { +void checkUnnamed8964(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8854(o[0]); - checkUnnamed8854(o[1]); + checkUnnamed8963(o[0]); + checkUnnamed8963(o[1]); } core.int buildCounterStatus = 0; @@ -1326,7 +1326,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8855(); + o.details = buildUnnamed8964(); o.message = 'foo'; } buildCounterStatus--; @@ -1340,7 +1340,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8855(o.details!); + checkUnnamed8964(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1376,34 +1376,34 @@ void checkUnexpectedExitStatusEvent(api.UnexpectedExitStatusEvent o) { buildCounterUnexpectedExitStatusEvent--; } -core.List buildUnnamed8856() => [ +core.List buildUnnamed8965() => [ buildAccelerator(), buildAccelerator(), ]; -void checkUnnamed8856(core.List o) { +void checkUnnamed8965(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccelerator(o[0]); checkAccelerator(o[1]); } -core.List buildUnnamed8857() => [ +core.List buildUnnamed8966() => [ buildDisk(), buildDisk(), ]; -void checkUnnamed8857(core.List o) { +void checkUnnamed8966(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDisk(o[0]); checkDisk(o[1]); } -core.List buildUnnamed8858() => [ +core.List buildUnnamed8967() => [ 'foo', 'foo', ]; -void checkUnnamed8858(core.List o) { +void checkUnnamed8967(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1415,12 +1415,12 @@ void checkUnnamed8858(core.List o) { ); } -core.Map buildUnnamed8859() => { +core.Map buildUnnamed8968() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8859(core.Map o) { +void checkUnnamed8968(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1432,12 +1432,12 @@ void checkUnnamed8859(core.Map o) { ); } -core.List buildUnnamed8860() => [ +core.List buildUnnamed8969() => [ buildVolume(), buildVolume(), ]; -void checkUnnamed8860(core.List o) { +void checkUnnamed8969(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolume(o[0]); checkVolume(o[1]); @@ -1448,21 +1448,21 @@ api.VirtualMachine buildVirtualMachine() { final o = api.VirtualMachine(); buildCounterVirtualMachine++; if (buildCounterVirtualMachine < 3) { - o.accelerators = buildUnnamed8856(); + o.accelerators = buildUnnamed8965(); o.bootDiskSizeGb = 42; o.bootImage = 'foo'; o.cpuPlatform = 'foo'; - o.disks = buildUnnamed8857(); - o.dockerCacheImages = buildUnnamed8858(); + o.disks = buildUnnamed8966(); + o.dockerCacheImages = buildUnnamed8967(); o.enableStackdriverMonitoring = true; - o.labels = buildUnnamed8859(); + o.labels = buildUnnamed8968(); o.machineType = 'foo'; o.network = buildNetwork(); o.nvidiaDriverVersion = 'foo'; o.preemptible = true; o.reservation = 'foo'; o.serviceAccount = buildServiceAccount(); - o.volumes = buildUnnamed8860(); + o.volumes = buildUnnamed8969(); } buildCounterVirtualMachine--; return o; @@ -1471,7 +1471,7 @@ api.VirtualMachine buildVirtualMachine() { void checkVirtualMachine(api.VirtualMachine o) { buildCounterVirtualMachine++; if (buildCounterVirtualMachine < 3) { - checkUnnamed8856(o.accelerators!); + checkUnnamed8965(o.accelerators!); unittest.expect( o.bootDiskSizeGb!, unittest.equals(42), @@ -1484,10 +1484,10 @@ void checkVirtualMachine(api.VirtualMachine o) { o.cpuPlatform!, unittest.equals('foo'), ); - checkUnnamed8857(o.disks!); - checkUnnamed8858(o.dockerCacheImages!); + checkUnnamed8966(o.disks!); + checkUnnamed8967(o.dockerCacheImages!); unittest.expect(o.enableStackdriverMonitoring!, unittest.isTrue); - checkUnnamed8859(o.labels!); + checkUnnamed8968(o.labels!); unittest.expect( o.machineType!, unittest.equals('foo'), @@ -1503,7 +1503,7 @@ void checkVirtualMachine(api.VirtualMachine o) { unittest.equals('foo'), ); checkServiceAccount(o.serviceAccount!); - checkUnnamed8860(o.volumes!); + checkUnnamed8969(o.volumes!); } buildCounterVirtualMachine--; } diff --git a/generated/googleapis_beta/test/metastore/v1beta_test.dart b/generated/googleapis_beta/test/metastore/v1beta_test.dart index d55c829e3..457588312 100644 --- a/generated/googleapis_beta/test/metastore/v1beta_test.dart +++ b/generated/googleapis_beta/test/metastore/v1beta_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8286() => [ +core.List buildUnnamed8373() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed8286(core.List o) { +void checkUnnamed8373(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8286(); + o.auditLogConfigs = buildUnnamed8373(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed8286(o.auditLogConfigs!); + checkUnnamed8373(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed8287() => [ +core.List buildUnnamed8374() => [ 'foo', 'foo', ]; -void checkUnnamed8287(core.List o) { +void checkUnnamed8374(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8287(); + o.exemptedMembers = buildUnnamed8374(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed8287(o.exemptedMembers!); + checkUnnamed8374(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,6 +102,23 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } +core.List buildUnnamed8375() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8375(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterBackup = 0; api.Backup buildBackup() { final o = api.Backup(); @@ -111,6 +128,7 @@ api.Backup buildBackup() { o.description = 'foo'; o.endTime = 'foo'; o.name = 'foo'; + o.restoringServices = buildUnnamed8375(); o.serviceRevision = buildService(); o.state = 'foo'; } @@ -137,6 +155,7 @@ void checkBackup(api.Backup o) { o.name!, unittest.equals('foo'), ); + checkUnnamed8375(o.restoringServices!); checkService(o.serviceRevision!); unittest.expect( o.state!, @@ -146,12 +165,12 @@ void checkBackup(api.Backup o) { buildCounterBackup--; } -core.List buildUnnamed8288() => [ +core.List buildUnnamed8376() => [ 'foo', 'foo', ]; -void checkUnnamed8288(core.List o) { +void checkUnnamed8376(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -169,7 +188,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8288(); + o.members = buildUnnamed8376(); o.role = 'foo'; } buildCounterBinding--; @@ -180,7 +199,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed8288(o.members!); + checkUnnamed8376(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -245,6 +264,36 @@ void checkDatabaseDump(api.DatabaseDump o) { buildCounterDatabaseDump--; } +core.Map buildUnnamed8377() => { + 'x': buildLake(), + 'y': buildLake(), + }; + +void checkUnnamed8377(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + checkLake(o['x']!); + checkLake(o['y']!); +} + +core.int buildCounterDataplexConfig = 0; +api.DataplexConfig buildDataplexConfig() { + final o = api.DataplexConfig(); + buildCounterDataplexConfig++; + if (buildCounterDataplexConfig < 3) { + o.lakeResources = buildUnnamed8377(); + } + buildCounterDataplexConfig--; + return o; +} + +void checkDataplexConfig(api.DataplexConfig o) { + buildCounterDataplexConfig++; + if (buildCounterDataplexConfig < 3) { + checkUnnamed8377(o.lakeResources!); + } + buildCounterDataplexConfig--; +} + core.int buildCounterEmpty = 0; api.Empty buildEmpty() { final o = api.Empty(); @@ -351,12 +400,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.Map buildUnnamed8289() => { +core.Map buildUnnamed8378() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8289(core.Map o) { +void checkUnnamed8378(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -373,7 +422,8 @@ api.HiveMetastoreConfig buildHiveMetastoreConfig() { final o = api.HiveMetastoreConfig(); buildCounterHiveMetastoreConfig++; if (buildCounterHiveMetastoreConfig < 3) { - o.configOverrides = buildUnnamed8289(); + o.configOverrides = buildUnnamed8378(); + o.endpointProtocol = 'foo'; o.kerberosConfig = buildKerberosConfig(); o.version = 'foo'; } @@ -384,7 +434,11 @@ api.HiveMetastoreConfig buildHiveMetastoreConfig() { void checkHiveMetastoreConfig(api.HiveMetastoreConfig o) { buildCounterHiveMetastoreConfig++; if (buildCounterHiveMetastoreConfig < 3) { - checkUnnamed8289(o.configOverrides!); + checkUnnamed8378(o.configOverrides!); + unittest.expect( + o.endpointProtocol!, + unittest.equals('foo'), + ); checkKerberosConfig(o.kerberosConfig!); unittest.expect( o.version!, @@ -447,23 +501,45 @@ void checkKerberosConfig(api.KerberosConfig o) { buildCounterKerberosConfig--; } -core.List buildUnnamed8290() => [ +core.int buildCounterLake = 0; +api.Lake buildLake() { + final o = api.Lake(); + buildCounterLake++; + if (buildCounterLake < 3) { + o.name = 'foo'; + } + buildCounterLake--; + return o; +} + +void checkLake(api.Lake o) { + buildCounterLake++; + if (buildCounterLake < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterLake--; +} + +core.List buildUnnamed8379() => [ buildBackup(), buildBackup(), ]; -void checkUnnamed8290(core.List o) { +void checkUnnamed8379(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackup(o[0]); checkBackup(o[1]); } -core.List buildUnnamed8291() => [ +core.List buildUnnamed8380() => [ 'foo', 'foo', ]; -void checkUnnamed8291(core.List o) { +void checkUnnamed8380(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -480,9 +556,9 @@ api.ListBackupsResponse buildListBackupsResponse() { final o = api.ListBackupsResponse(); buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - o.backups = buildUnnamed8290(); + o.backups = buildUnnamed8379(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed8291(); + o.unreachable = buildUnnamed8380(); } buildCounterListBackupsResponse--; return o; @@ -491,22 +567,22 @@ api.ListBackupsResponse buildListBackupsResponse() { void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - checkUnnamed8290(o.backups!); + checkUnnamed8379(o.backups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8291(o.unreachable!); + checkUnnamed8380(o.unreachable!); } buildCounterListBackupsResponse--; } -core.List buildUnnamed8292() => [ +core.List buildUnnamed8381() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8292(core.List o) { +void checkUnnamed8381(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -517,7 +593,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed8292(); + o.locations = buildUnnamed8381(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -527,7 +603,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed8292(o.locations!); + checkUnnamed8381(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -536,23 +612,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed8293() => [ +core.List buildUnnamed8382() => [ buildMetadataImport(), buildMetadataImport(), ]; -void checkUnnamed8293(core.List o) { +void checkUnnamed8382(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataImport(o[0]); checkMetadataImport(o[1]); } -core.List buildUnnamed8294() => [ +core.List buildUnnamed8383() => [ 'foo', 'foo', ]; -void checkUnnamed8294(core.List o) { +void checkUnnamed8383(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -569,9 +645,9 @@ api.ListMetadataImportsResponse buildListMetadataImportsResponse() { final o = api.ListMetadataImportsResponse(); buildCounterListMetadataImportsResponse++; if (buildCounterListMetadataImportsResponse < 3) { - o.metadataImports = buildUnnamed8293(); + o.metadataImports = buildUnnamed8382(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed8294(); + o.unreachable = buildUnnamed8383(); } buildCounterListMetadataImportsResponse--; return o; @@ -580,22 +656,22 @@ api.ListMetadataImportsResponse buildListMetadataImportsResponse() { void checkListMetadataImportsResponse(api.ListMetadataImportsResponse o) { buildCounterListMetadataImportsResponse++; if (buildCounterListMetadataImportsResponse < 3) { - checkUnnamed8293(o.metadataImports!); + checkUnnamed8382(o.metadataImports!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8294(o.unreachable!); + checkUnnamed8383(o.unreachable!); } buildCounterListMetadataImportsResponse--; } -core.List buildUnnamed8295() => [ +core.List buildUnnamed8384() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8295(core.List o) { +void checkUnnamed8384(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -607,7 +683,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8295(); + o.operations = buildUnnamed8384(); } buildCounterListOperationsResponse--; return o; @@ -620,28 +696,28 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8295(o.operations!); + checkUnnamed8384(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed8296() => [ +core.List buildUnnamed8385() => [ buildService(), buildService(), ]; -void checkUnnamed8296(core.List o) { +void checkUnnamed8385(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); } -core.List buildUnnamed8297() => [ +core.List buildUnnamed8386() => [ 'foo', 'foo', ]; -void checkUnnamed8297(core.List o) { +void checkUnnamed8386(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -659,8 +735,8 @@ api.ListServicesResponse buildListServicesResponse() { buildCounterListServicesResponse++; if (buildCounterListServicesResponse < 3) { o.nextPageToken = 'foo'; - o.services = buildUnnamed8296(); - o.unreachable = buildUnnamed8297(); + o.services = buildUnnamed8385(); + o.unreachable = buildUnnamed8386(); } buildCounterListServicesResponse--; return o; @@ -673,18 +749,18 @@ void checkListServicesResponse(api.ListServicesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8296(o.services!); - checkUnnamed8297(o.unreachable!); + checkUnnamed8385(o.services!); + checkUnnamed8386(o.unreachable!); } buildCounterListServicesResponse--; } -core.Map buildUnnamed8298() => { +core.Map buildUnnamed8387() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8298(core.Map o) { +void checkUnnamed8387(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -696,7 +772,7 @@ void checkUnnamed8298(core.Map o) { ); } -core.Map buildUnnamed8299() => { +core.Map buildUnnamed8388() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -709,7 +785,7 @@ core.Map buildUnnamed8299() => { }, }; -void checkUnnamed8299(core.Map o) { +void checkUnnamed8388(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -747,9 +823,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8298(); + o.labels = buildUnnamed8387(); o.locationId = 'foo'; - o.metadata = buildUnnamed8299(); + o.metadata = buildUnnamed8388(); o.name = 'foo'; } buildCounterLocation--; @@ -763,12 +839,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8298(o.labels!); + checkUnnamed8387(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8299(o.metadata!); + checkUnnamed8388(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -777,12 +853,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed8300() => [ +core.List buildUnnamed8389() => [ buildHiveMetastoreVersion(), buildHiveMetastoreVersion(), ]; -void checkUnnamed8300(core.List o) { +void checkUnnamed8389(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHiveMetastoreVersion(o[0]); checkHiveMetastoreVersion(o[1]); @@ -793,7 +869,7 @@ api.LocationMetadata buildLocationMetadata() { final o = api.LocationMetadata(); buildCounterLocationMetadata++; if (buildCounterLocationMetadata < 3) { - o.supportedHiveMetastoreVersions = buildUnnamed8300(); + o.supportedHiveMetastoreVersions = buildUnnamed8389(); } buildCounterLocationMetadata--; return o; @@ -802,7 +878,7 @@ api.LocationMetadata buildLocationMetadata() { void checkLocationMetadata(api.LocationMetadata o) { buildCounterLocationMetadata++; if (buildCounterLocationMetadata < 3) { - checkUnnamed8300(o.supportedHiveMetastoreVersions!); + checkUnnamed8389(o.supportedHiveMetastoreVersions!); } buildCounterLocationMetadata--; } @@ -931,6 +1007,7 @@ api.MetadataIntegration buildMetadataIntegration() { buildCounterMetadataIntegration++; if (buildCounterMetadataIntegration < 3) { o.dataCatalogConfig = buildDataCatalogConfig(); + o.dataplexConfig = buildDataplexConfig(); } buildCounterMetadataIntegration--; return o; @@ -940,27 +1017,28 @@ void checkMetadataIntegration(api.MetadataIntegration o) { buildCounterMetadataIntegration++; if (buildCounterMetadataIntegration < 3) { checkDataCatalogConfig(o.dataCatalogConfig!); + checkDataplexConfig(o.dataplexConfig!); } buildCounterMetadataIntegration--; } -core.List buildUnnamed8301() => [ +core.List buildUnnamed8390() => [ buildMetadataExport(), buildMetadataExport(), ]; -void checkUnnamed8301(core.List o) { +void checkUnnamed8390(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetadataExport(o[0]); checkMetadataExport(o[1]); } -core.List buildUnnamed8302() => [ +core.List buildUnnamed8391() => [ buildRestore(), buildRestore(), ]; -void checkUnnamed8302(core.List o) { +void checkUnnamed8391(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRestore(o[0]); checkRestore(o[1]); @@ -971,8 +1049,8 @@ api.MetadataManagementActivity buildMetadataManagementActivity() { final o = api.MetadataManagementActivity(); buildCounterMetadataManagementActivity++; if (buildCounterMetadataManagementActivity < 3) { - o.metadataExports = buildUnnamed8301(); - o.restores = buildUnnamed8302(); + o.metadataExports = buildUnnamed8390(); + o.restores = buildUnnamed8391(); } buildCounterMetadataManagementActivity--; return o; @@ -981,13 +1059,13 @@ api.MetadataManagementActivity buildMetadataManagementActivity() { void checkMetadataManagementActivity(api.MetadataManagementActivity o) { buildCounterMetadataManagementActivity++; if (buildCounterMetadataManagementActivity < 3) { - checkUnnamed8301(o.metadataExports!); - checkUnnamed8302(o.restores!); + checkUnnamed8390(o.metadataExports!); + checkUnnamed8391(o.restores!); } buildCounterMetadataManagementActivity--; } -core.Map buildUnnamed8303() => { +core.Map buildUnnamed8392() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1000,7 +1078,7 @@ core.Map buildUnnamed8303() => { }, }; -void checkUnnamed8303(core.Map o) { +void checkUnnamed8392(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1032,7 +1110,7 @@ void checkUnnamed8303(core.Map o) { ); } -core.Map buildUnnamed8304() => { +core.Map buildUnnamed8393() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1045,7 +1123,7 @@ core.Map buildUnnamed8304() => { }, }; -void checkUnnamed8304(core.Map o) { +void checkUnnamed8393(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1084,9 +1162,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8303(); + o.metadata = buildUnnamed8392(); o.name = 'foo'; - o.response = buildUnnamed8304(); + o.response = buildUnnamed8393(); } buildCounterOperation--; return o; @@ -1097,12 +1175,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8303(o.metadata!); + checkUnnamed8392(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8304(o.response!); + checkUnnamed8393(o.response!); } buildCounterOperation--; } @@ -1156,23 +1234,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed8305() => [ +core.List buildUnnamed8394() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed8305(core.List o) { +void checkUnnamed8394(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed8306() => [ +core.List buildUnnamed8395() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed8306(core.List o) { +void checkUnnamed8395(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1183,8 +1261,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed8305(); - o.bindings = buildUnnamed8306(); + o.auditConfigs = buildUnnamed8394(); + o.bindings = buildUnnamed8395(); o.etag = 'foo'; o.version = 42; } @@ -1195,8 +1273,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed8305(o.auditConfigs!); - checkUnnamed8306(o.bindings!); + checkUnnamed8394(o.auditConfigs!); + checkUnnamed8395(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1310,12 +1388,12 @@ void checkSecret(api.Secret o) { buildCounterSecret--; } -core.Map buildUnnamed8307() => { +core.Map buildUnnamed8396() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8307(core.Map o) { +void checkUnnamed8396(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1337,7 +1415,7 @@ api.Service buildService() { o.encryptionConfig = buildEncryptionConfig(); o.endpointUri = 'foo'; o.hiveMetastoreConfig = buildHiveMetastoreConfig(); - o.labels = buildUnnamed8307(); + o.labels = buildUnnamed8396(); o.maintenanceWindow = buildMaintenanceWindow(); o.metadataIntegration = buildMetadataIntegration(); o.metadataManagementActivity = buildMetadataManagementActivity(); @@ -1372,7 +1450,7 @@ void checkService(api.Service o) { unittest.equals('foo'), ); checkHiveMetastoreConfig(o.hiveMetastoreConfig!); - checkUnnamed8307(o.labels!); + checkUnnamed8396(o.labels!); checkMaintenanceWindow(o.maintenanceWindow!); checkMetadataIntegration(o.metadataIntegration!); checkMetadataManagementActivity(o.metadataManagementActivity!); @@ -1440,7 +1518,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed8308() => { +core.Map buildUnnamed8397() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1453,7 +1531,7 @@ core.Map buildUnnamed8308() => { }, }; -void checkUnnamed8308(core.Map o) { +void checkUnnamed8397(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1485,15 +1563,15 @@ void checkUnnamed8308(core.Map o) { ); } -core.List> buildUnnamed8309() => [ - buildUnnamed8308(), - buildUnnamed8308(), +core.List> buildUnnamed8398() => [ + buildUnnamed8397(), + buildUnnamed8397(), ]; -void checkUnnamed8309(core.List> o) { +void checkUnnamed8398(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8308(o[0]); - checkUnnamed8308(o[1]); + checkUnnamed8397(o[0]); + checkUnnamed8397(o[1]); } core.int buildCounterStatus = 0; @@ -1502,7 +1580,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8309(); + o.details = buildUnnamed8398(); o.message = 'foo'; } buildCounterStatus--; @@ -1516,7 +1594,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8309(o.details!); + checkUnnamed8398(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1525,12 +1603,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8310() => [ +core.List buildUnnamed8399() => [ 'foo', 'foo', ]; -void checkUnnamed8310(core.List o) { +void checkUnnamed8399(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1547,7 +1625,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8310(); + o.permissions = buildUnnamed8399(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1556,17 +1634,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed8310(o.permissions!); + checkUnnamed8399(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed8311() => [ +core.List buildUnnamed8400() => [ 'foo', 'foo', ]; -void checkUnnamed8311(core.List o) { +void checkUnnamed8400(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1583,7 +1661,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8311(); + o.permissions = buildUnnamed8400(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1592,7 +1670,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed8311(o.permissions!); + checkUnnamed8400(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1658,6 +1736,16 @@ void main() { }); }); + unittest.group('obj-schema-DataplexConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildDataplexConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DataplexConfig.fromJson( + oJson as core.Map); + checkDataplexConfig(od); + }); + }); + unittest.group('obj-schema-Empty', () { unittest.test('to-json--from-json', () async { final o = buildEmpty(); @@ -1728,6 +1816,16 @@ void main() { }); }); + unittest.group('obj-schema-Lake', () { + unittest.test('to-json--from-json', () async { + final o = buildLake(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Lake.fromJson(oJson as core.Map); + checkLake(od); + }); + }); + unittest.group('obj-schema-ListBackupsResponse', () { unittest.test('to-json--from-json', () async { final o = buildListBackupsResponse(); diff --git a/generated/googleapis_beta/test/networkconnectivity/v1alpha1_test.dart b/generated/googleapis_beta/test/networkconnectivity/v1alpha1_test.dart index 063a9ef5b..3f4edf33f 100644 --- a/generated/googleapis_beta/test/networkconnectivity/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/networkconnectivity/v1alpha1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8047() => [ +core.List buildUnnamed8133() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed8047(core.List o) { +void checkUnnamed8133(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -42,7 +42,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8047(); + o.auditLogConfigs = buildUnnamed8133(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -52,7 +52,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed8047(o.auditLogConfigs!); + checkUnnamed8133(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -61,12 +61,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed8048() => [ +core.List buildUnnamed8134() => [ 'foo', 'foo', ]; -void checkUnnamed8048(core.List o) { +void checkUnnamed8134(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -83,7 +83,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8048(); + o.exemptedMembers = buildUnnamed8134(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -93,7 +93,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed8048(o.exemptedMembers!); + checkUnnamed8134(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -102,12 +102,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed8049() => [ +core.List buildUnnamed8135() => [ 'foo', 'foo', ]; -void checkUnnamed8049(core.List o) { +void checkUnnamed8135(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -125,7 +125,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8049(); + o.members = buildUnnamed8135(); o.role = 'foo'; } buildCounterBinding--; @@ -136,7 +136,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed8049(o.members!); + checkUnnamed8135(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -214,12 +214,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed8050() => [ +core.List buildUnnamed8136() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed8050(core.List o) { +void checkUnnamed8136(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -232,7 +232,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8050(); + o.operations = buildUnnamed8136(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -246,12 +246,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8050(o.operations!); + checkUnnamed8136(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed8051() => { +core.Map buildUnnamed8137() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -264,7 +264,7 @@ core.Map buildUnnamed8051() => { }, }; -void checkUnnamed8051(core.Map o) { +void checkUnnamed8137(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -296,7 +296,7 @@ void checkUnnamed8051(core.Map o) { ); } -core.Map buildUnnamed8052() => { +core.Map buildUnnamed8138() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -309,7 +309,7 @@ core.Map buildUnnamed8052() => { }, }; -void checkUnnamed8052(core.Map o) { +void checkUnnamed8138(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -348,9 +348,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed8051(); + o.metadata = buildUnnamed8137(); o.name = 'foo'; - o.response = buildUnnamed8052(); + o.response = buildUnnamed8138(); } buildCounterGoogleLongrunningOperation--; return o; @@ -361,17 +361,17 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed8051(o.metadata!); + checkUnnamed8137(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8052(o.response!); + checkUnnamed8138(o.response!); } buildCounterGoogleLongrunningOperation--; } -core.Map buildUnnamed8053() => { +core.Map buildUnnamed8139() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -384,7 +384,7 @@ core.Map buildUnnamed8053() => { }, }; -void checkUnnamed8053(core.Map o) { +void checkUnnamed8139(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -416,15 +416,15 @@ void checkUnnamed8053(core.Map o) { ); } -core.List> buildUnnamed8054() => [ - buildUnnamed8053(), - buildUnnamed8053(), +core.List> buildUnnamed8140() => [ + buildUnnamed8139(), + buildUnnamed8139(), ]; -void checkUnnamed8054(core.List> o) { +void checkUnnamed8140(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8053(o[0]); - checkUnnamed8053(o[1]); + checkUnnamed8139(o[0]); + checkUnnamed8139(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -433,7 +433,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed8054(); + o.details = buildUnnamed8140(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -447,7 +447,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8054(o.details!); + checkUnnamed8140(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -456,12 +456,12 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { buildCounterGoogleRpcStatus--; } -core.Map buildUnnamed8055() => { +core.Map buildUnnamed8141() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8055(core.Map o) { +void checkUnnamed8141(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -473,12 +473,12 @@ void checkUnnamed8055(core.Map o) { ); } -core.List buildUnnamed8056() => [ +core.List buildUnnamed8142() => [ 'foo', 'foo', ]; -void checkUnnamed8056(core.List o) { +void checkUnnamed8142(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -497,9 +497,9 @@ api.Hub buildHub() { if (buildCounterHub < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed8055(); + o.labels = buildUnnamed8141(); o.name = 'foo'; - o.spokes = buildUnnamed8056(); + o.spokes = buildUnnamed8142(); o.state = 'foo'; o.uniqueId = 'foo'; o.updateTime = 'foo'; @@ -519,12 +519,12 @@ void checkHub(api.Hub o) { o.description!, unittest.equals('foo'), ); - checkUnnamed8055(o.labels!); + checkUnnamed8141(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8056(o.spokes!); + checkUnnamed8142(o.spokes!); unittest.expect( o.state!, unittest.equals('foo'), @@ -541,23 +541,23 @@ void checkHub(api.Hub o) { buildCounterHub--; } -core.List buildUnnamed8057() => [ +core.List buildUnnamed8143() => [ buildHub(), buildHub(), ]; -void checkUnnamed8057(core.List o) { +void checkUnnamed8143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHub(o[0]); checkHub(o[1]); } -core.List buildUnnamed8058() => [ +core.List buildUnnamed8144() => [ 'foo', 'foo', ]; -void checkUnnamed8058(core.List o) { +void checkUnnamed8144(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -574,9 +574,9 @@ api.ListHubsResponse buildListHubsResponse() { final o = api.ListHubsResponse(); buildCounterListHubsResponse++; if (buildCounterListHubsResponse < 3) { - o.hubs = buildUnnamed8057(); + o.hubs = buildUnnamed8143(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed8058(); + o.unreachable = buildUnnamed8144(); } buildCounterListHubsResponse--; return o; @@ -585,22 +585,22 @@ api.ListHubsResponse buildListHubsResponse() { void checkListHubsResponse(api.ListHubsResponse o) { buildCounterListHubsResponse++; if (buildCounterListHubsResponse < 3) { - checkUnnamed8057(o.hubs!); + checkUnnamed8143(o.hubs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8058(o.unreachable!); + checkUnnamed8144(o.unreachable!); } buildCounterListHubsResponse--; } -core.List buildUnnamed8059() => [ +core.List buildUnnamed8145() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8059(core.List o) { +void checkUnnamed8145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -611,7 +611,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed8059(); + o.locations = buildUnnamed8145(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -621,7 +621,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed8059(o.locations!); + checkUnnamed8145(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -630,23 +630,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed8060() => [ +core.List buildUnnamed8146() => [ buildSpoke(), buildSpoke(), ]; -void checkUnnamed8060(core.List o) { +void checkUnnamed8146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpoke(o[0]); checkSpoke(o[1]); } -core.List buildUnnamed8061() => [ +core.List buildUnnamed8147() => [ 'foo', 'foo', ]; -void checkUnnamed8061(core.List o) { +void checkUnnamed8147(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -664,8 +664,8 @@ api.ListSpokesResponse buildListSpokesResponse() { buildCounterListSpokesResponse++; if (buildCounterListSpokesResponse < 3) { o.nextPageToken = 'foo'; - o.spokes = buildUnnamed8060(); - o.unreachable = buildUnnamed8061(); + o.spokes = buildUnnamed8146(); + o.unreachable = buildUnnamed8147(); } buildCounterListSpokesResponse--; return o; @@ -678,18 +678,18 @@ void checkListSpokesResponse(api.ListSpokesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8060(o.spokes!); - checkUnnamed8061(o.unreachable!); + checkUnnamed8146(o.spokes!); + checkUnnamed8147(o.unreachable!); } buildCounterListSpokesResponse--; } -core.Map buildUnnamed8062() => { +core.Map buildUnnamed8148() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8062(core.Map o) { +void checkUnnamed8148(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -701,7 +701,7 @@ void checkUnnamed8062(core.Map o) { ); } -core.Map buildUnnamed8063() => { +core.Map buildUnnamed8149() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -714,7 +714,7 @@ core.Map buildUnnamed8063() => { }, }; -void checkUnnamed8063(core.Map o) { +void checkUnnamed8149(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -752,9 +752,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8062(); + o.labels = buildUnnamed8148(); o.locationId = 'foo'; - o.metadata = buildUnnamed8063(); + o.metadata = buildUnnamed8149(); o.name = 'foo'; } buildCounterLocation--; @@ -768,12 +768,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8062(o.labels!); + checkUnnamed8148(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8063(o.metadata!); + checkUnnamed8149(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -831,23 +831,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed8064() => [ +core.List buildUnnamed8150() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed8064(core.List o) { +void checkUnnamed8150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed8065() => [ +core.List buildUnnamed8151() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed8065(core.List o) { +void checkUnnamed8151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -858,8 +858,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed8064(); - o.bindings = buildUnnamed8065(); + o.auditConfigs = buildUnnamed8150(); + o.bindings = buildUnnamed8151(); o.etag = 'foo'; o.version = 42; } @@ -870,8 +870,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed8064(o.auditConfigs!); - checkUnnamed8065(o.bindings!); + checkUnnamed8150(o.auditConfigs!); + checkUnnamed8151(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -940,12 +940,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed8066() => { +core.Map buildUnnamed8152() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8066(core.Map o) { +void checkUnnamed8152(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -957,12 +957,12 @@ void checkUnnamed8066(core.Map o) { ); } -core.List buildUnnamed8067() => [ +core.List buildUnnamed8153() => [ 'foo', 'foo', ]; -void checkUnnamed8067(core.List o) { +void checkUnnamed8153(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -974,23 +974,23 @@ void checkUnnamed8067(core.List o) { ); } -core.List buildUnnamed8068() => [ +core.List buildUnnamed8154() => [ buildRouterApplianceInstance(), buildRouterApplianceInstance(), ]; -void checkUnnamed8068(core.List o) { +void checkUnnamed8154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterApplianceInstance(o[0]); checkRouterApplianceInstance(o[1]); } -core.List buildUnnamed8069() => [ +core.List buildUnnamed8155() => [ 'foo', 'foo', ]; -void checkUnnamed8069(core.List o) { +void checkUnnamed8155(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1010,10 +1010,10 @@ api.Spoke buildSpoke() { o.createTime = 'foo'; o.description = 'foo'; o.hub = 'foo'; - o.labels = buildUnnamed8066(); - o.linkedInterconnectAttachments = buildUnnamed8067(); - o.linkedRouterApplianceInstances = buildUnnamed8068(); - o.linkedVpnTunnels = buildUnnamed8069(); + o.labels = buildUnnamed8152(); + o.linkedInterconnectAttachments = buildUnnamed8153(); + o.linkedRouterApplianceInstances = buildUnnamed8154(); + o.linkedVpnTunnels = buildUnnamed8155(); o.name = 'foo'; o.state = 'foo'; o.uniqueId = 'foo'; @@ -1038,10 +1038,10 @@ void checkSpoke(api.Spoke o) { o.hub!, unittest.equals('foo'), ); - checkUnnamed8066(o.labels!); - checkUnnamed8067(o.linkedInterconnectAttachments!); - checkUnnamed8068(o.linkedRouterApplianceInstances!); - checkUnnamed8069(o.linkedVpnTunnels!); + checkUnnamed8152(o.labels!); + checkUnnamed8153(o.linkedInterconnectAttachments!); + checkUnnamed8154(o.linkedRouterApplianceInstances!); + checkUnnamed8155(o.linkedVpnTunnels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1062,12 +1062,12 @@ void checkSpoke(api.Spoke o) { buildCounterSpoke--; } -core.List buildUnnamed8070() => [ +core.List buildUnnamed8156() => [ 'foo', 'foo', ]; -void checkUnnamed8070(core.List o) { +void checkUnnamed8156(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1084,7 +1084,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8070(); + o.permissions = buildUnnamed8156(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1093,17 +1093,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed8070(o.permissions!); + checkUnnamed8156(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed8071() => [ +core.List buildUnnamed8157() => [ 'foo', 'foo', ]; -void checkUnnamed8071(core.List o) { +void checkUnnamed8157(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1120,7 +1120,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8071(); + o.permissions = buildUnnamed8157(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1129,7 +1129,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed8071(o.permissions!); + checkUnnamed8157(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1983,197 +1983,6 @@ void main() { }); }); - unittest.group('resource-ProjectsLocationsGlobalPolicyBasedRoutesResource', - () { - unittest.test('method--getIamPolicy', () async { - final mock = HttpServerMock(); - final res = api.NetworkconnectivityApi(mock) - .projects - .locations - .global - .policyBasedRoutes; - final arg_resource = 'foo'; - final arg_options_requestedPolicyVersion = 42; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('v1alpha1/'), - ); - pathOffset += 9; - // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - core.int.parse(queryMap['options.requestedPolicyVersion']!.first), - unittest.equals(arg_options_requestedPolicyVersion), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPolicy()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.getIamPolicy(arg_resource, - options_requestedPolicyVersion: arg_options_requestedPolicyVersion, - $fields: arg_$fields); - checkPolicy(response as api.Policy); - }); - - unittest.test('method--setIamPolicy', () async { - final mock = HttpServerMock(); - final res = api.NetworkconnectivityApi(mock) - .projects - .locations - .global - .policyBasedRoutes; - final arg_request = buildSetIamPolicyRequest(); - final arg_resource = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.SetIamPolicyRequest.fromJson( - json as core.Map); - checkSetIamPolicyRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('v1alpha1/'), - ); - pathOffset += 9; - // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildPolicy()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.setIamPolicy(arg_request, arg_resource, - $fields: arg_$fields); - checkPolicy(response as api.Policy); - }); - - unittest.test('method--testIamPermissions', () async { - final mock = HttpServerMock(); - final res = api.NetworkconnectivityApi(mock) - .projects - .locations - .global - .policyBasedRoutes; - final arg_request = buildTestIamPermissionsRequest(); - final arg_resource = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.TestIamPermissionsRequest.fromJson( - json as core.Map); - checkTestIamPermissionsRequest(obj); - - final path = (req.url).path; - var pathOffset = 0; - core.int index; - core.String subPart; - unittest.expect( - path.substring(pathOffset, pathOffset + 1), - unittest.equals('/'), - ); - pathOffset += 1; - unittest.expect( - path.substring(pathOffset, pathOffset + 9), - unittest.equals('v1alpha1/'), - ); - pathOffset += 9; - // NOTE: We cannot test reserved expansions due to the inability to reverse the operation; - - final query = (req.url).query; - var queryOffset = 0; - final queryMap = >{}; - void addQueryParam(core.String n, core.String v) => - queryMap.putIfAbsent(n, () => []).add(v); - - if (query.isNotEmpty) { - for (var part in query.split('&')) { - final keyValue = part.split('='); - addQueryParam( - core.Uri.decodeQueryComponent(keyValue[0]), - core.Uri.decodeQueryComponent(keyValue[1]), - ); - } - } - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildTestIamPermissionsResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.testIamPermissions(arg_request, arg_resource, - $fields: arg_$fields); - checkTestIamPermissionsResponse( - response as api.TestIamPermissionsResponse); - }); - }); - unittest.group('resource-ProjectsLocationsInternalRangesResource', () { unittest.test('method--getIamPolicy', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis_beta/test/networksecurity/v1beta1_test.dart b/generated/googleapis_beta/test/networksecurity/v1beta1_test.dart index e0b442b98..8bc2c42d6 100644 --- a/generated/googleapis_beta/test/networksecurity/v1beta1_test.dart +++ b/generated/googleapis_beta/test/networksecurity/v1beta1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed8757() => { +core.Map buildUnnamed8864() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8757(core.Map o) { +void checkUnnamed8864(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -43,12 +43,12 @@ void checkUnnamed8757(core.Map o) { ); } -core.List buildUnnamed8758() => [ +core.List buildUnnamed8865() => [ buildRule(), buildRule(), ]; -void checkUnnamed8758(core.List o) { +void checkUnnamed8865(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -62,9 +62,9 @@ api.AuthorizationPolicy buildAuthorizationPolicy() { o.action = 'foo'; o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed8757(); + o.labels = buildUnnamed8864(); o.name = 'foo'; - o.rules = buildUnnamed8758(); + o.rules = buildUnnamed8865(); o.updateTime = 'foo'; } buildCounterAuthorizationPolicy--; @@ -86,12 +86,12 @@ void checkAuthorizationPolicy(api.AuthorizationPolicy o) { o.description!, unittest.equals('foo'), ); - checkUnnamed8757(o.labels!); + checkUnnamed8864(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8758(o.rules!); + checkUnnamed8865(o.rules!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -137,12 +137,12 @@ void checkCertificateProviderInstance(api.CertificateProviderInstance o) { buildCounterCertificateProviderInstance--; } -core.Map buildUnnamed8759() => { +core.Map buildUnnamed8866() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8759(core.Map o) { +void checkUnnamed8866(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -154,12 +154,12 @@ void checkUnnamed8759(core.Map o) { ); } -core.List buildUnnamed8760() => [ +core.List buildUnnamed8867() => [ buildValidationCA(), buildValidationCA(), ]; -void checkUnnamed8760(core.List o) { +void checkUnnamed8867(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValidationCA(o[0]); checkValidationCA(o[1]); @@ -174,9 +174,9 @@ api.ClientTlsPolicy buildClientTlsPolicy() { buildGoogleCloudNetworksecurityV1beta1CertificateProvider(); o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed8759(); + o.labels = buildUnnamed8866(); o.name = 'foo'; - o.serverValidationCa = buildUnnamed8760(); + o.serverValidationCa = buildUnnamed8867(); o.sni = 'foo'; o.updateTime = 'foo'; } @@ -197,12 +197,12 @@ void checkClientTlsPolicy(api.ClientTlsPolicy o) { o.description!, unittest.equals('foo'), ); - checkUnnamed8759(o.labels!); + checkUnnamed8866(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8760(o.serverValidationCa!); + checkUnnamed8867(o.serverValidationCa!); unittest.expect( o.sni!, unittest.equals('foo'), @@ -215,12 +215,12 @@ void checkClientTlsPolicy(api.ClientTlsPolicy o) { buildCounterClientTlsPolicy--; } -core.List buildUnnamed8761() => [ +core.List buildUnnamed8868() => [ 'foo', 'foo', ]; -void checkUnnamed8761(core.List o) { +void checkUnnamed8868(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -232,12 +232,12 @@ void checkUnnamed8761(core.List o) { ); } -core.List buildUnnamed8762() => [ +core.List buildUnnamed8869() => [ 'foo', 'foo', ]; -void checkUnnamed8762(core.List o) { +void checkUnnamed8869(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -249,12 +249,12 @@ void checkUnnamed8762(core.List o) { ); } -core.List buildUnnamed8763() => [ +core.List buildUnnamed8870() => [ 42, 42, ]; -void checkUnnamed8763(core.List o) { +void checkUnnamed8870(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -271,10 +271,10 @@ api.Destination buildDestination() { final o = api.Destination(); buildCounterDestination++; if (buildCounterDestination < 3) { - o.hosts = buildUnnamed8761(); + o.hosts = buildUnnamed8868(); o.httpHeaderMatch = buildHttpHeaderMatch(); - o.methods = buildUnnamed8762(); - o.ports = buildUnnamed8763(); + o.methods = buildUnnamed8869(); + o.ports = buildUnnamed8870(); } buildCounterDestination--; return o; @@ -283,10 +283,10 @@ api.Destination buildDestination() { void checkDestination(api.Destination o) { buildCounterDestination++; if (buildCounterDestination < 3) { - checkUnnamed8761(o.hosts!); + checkUnnamed8868(o.hosts!); checkHttpHeaderMatch(o.httpHeaderMatch!); - checkUnnamed8762(o.methods!); - checkUnnamed8763(o.ports!); + checkUnnamed8869(o.methods!); + checkUnnamed8870(o.ports!); } buildCounterDestination--; } @@ -390,12 +390,12 @@ void checkGoogleCloudNetworksecurityV1beta1GrpcEndpoint( buildCounterGoogleCloudNetworksecurityV1beta1GrpcEndpoint--; } -core.List buildUnnamed8764() => [ +core.List buildUnnamed8871() => [ buildGoogleIamV1AuditLogConfig(), buildGoogleIamV1AuditLogConfig(), ]; -void checkUnnamed8764(core.List o) { +void checkUnnamed8871(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditLogConfig(o[0]); checkGoogleIamV1AuditLogConfig(o[1]); @@ -406,7 +406,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { final o = api.GoogleIamV1AuditConfig(); buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8764(); + o.auditLogConfigs = buildUnnamed8871(); o.service = 'foo'; } buildCounterGoogleIamV1AuditConfig--; @@ -416,7 +416,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - checkUnnamed8764(o.auditLogConfigs!); + checkUnnamed8871(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -425,12 +425,12 @@ void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig--; } -core.List buildUnnamed8765() => [ +core.List buildUnnamed8872() => [ 'foo', 'foo', ]; -void checkUnnamed8765(core.List o) { +void checkUnnamed8872(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -447,7 +447,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { final o = api.GoogleIamV1AuditLogConfig(); buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8765(); + o.exemptedMembers = buildUnnamed8872(); o.logType = 'foo'; } buildCounterGoogleIamV1AuditLogConfig--; @@ -457,7 +457,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - checkUnnamed8765(o.exemptedMembers!); + checkUnnamed8872(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -466,12 +466,12 @@ void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig--; } -core.List buildUnnamed8766() => [ +core.List buildUnnamed8873() => [ 'foo', 'foo', ]; -void checkUnnamed8766(core.List o) { +void checkUnnamed8873(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -489,7 +489,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8766(); + o.members = buildUnnamed8873(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -500,7 +500,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkExpr(o.condition!); - checkUnnamed8766(o.members!); + checkUnnamed8873(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -509,23 +509,23 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed8767() => [ +core.List buildUnnamed8874() => [ buildGoogleIamV1AuditConfig(), buildGoogleIamV1AuditConfig(), ]; -void checkUnnamed8767(core.List o) { +void checkUnnamed8874(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditConfig(o[0]); checkGoogleIamV1AuditConfig(o[1]); } -core.List buildUnnamed8768() => [ +core.List buildUnnamed8875() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed8768(core.List o) { +void checkUnnamed8875(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -536,8 +536,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.auditConfigs = buildUnnamed8767(); - o.bindings = buildUnnamed8768(); + o.auditConfigs = buildUnnamed8874(); + o.bindings = buildUnnamed8875(); o.etag = 'foo'; o.version = 42; } @@ -548,8 +548,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed8767(o.auditConfigs!); - checkUnnamed8768(o.bindings!); + checkUnnamed8874(o.auditConfigs!); + checkUnnamed8875(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -586,12 +586,12 @@ void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { buildCounterGoogleIamV1SetIamPolicyRequest--; } -core.List buildUnnamed8769() => [ +core.List buildUnnamed8876() => [ 'foo', 'foo', ]; -void checkUnnamed8769(core.List o) { +void checkUnnamed8876(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -609,7 +609,7 @@ api.GoogleIamV1TestIamPermissionsRequest final o = api.GoogleIamV1TestIamPermissionsRequest(); buildCounterGoogleIamV1TestIamPermissionsRequest++; if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8769(); + o.permissions = buildUnnamed8876(); } buildCounterGoogleIamV1TestIamPermissionsRequest--; return o; @@ -619,17 +619,17 @@ void checkGoogleIamV1TestIamPermissionsRequest( api.GoogleIamV1TestIamPermissionsRequest o) { buildCounterGoogleIamV1TestIamPermissionsRequest++; if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) { - checkUnnamed8769(o.permissions!); + checkUnnamed8876(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsRequest--; } -core.List buildUnnamed8770() => [ +core.List buildUnnamed8877() => [ 'foo', 'foo', ]; -void checkUnnamed8770(core.List o) { +void checkUnnamed8877(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -647,7 +647,7 @@ api.GoogleIamV1TestIamPermissionsResponse final o = api.GoogleIamV1TestIamPermissionsResponse(); buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8770(); + o.permissions = buildUnnamed8877(); } buildCounterGoogleIamV1TestIamPermissionsResponse--; return o; @@ -657,7 +657,7 @@ void checkGoogleIamV1TestIamPermissionsResponse( api.GoogleIamV1TestIamPermissionsResponse o) { buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - checkUnnamed8770(o.permissions!); + checkUnnamed8877(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsResponse--; } @@ -689,12 +689,12 @@ void checkHttpHeaderMatch(api.HttpHeaderMatch o) { buildCounterHttpHeaderMatch--; } -core.List buildUnnamed8771() => [ +core.List buildUnnamed8878() => [ buildAuthorizationPolicy(), buildAuthorizationPolicy(), ]; -void checkUnnamed8771(core.List o) { +void checkUnnamed8878(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthorizationPolicy(o[0]); checkAuthorizationPolicy(o[1]); @@ -705,7 +705,7 @@ api.ListAuthorizationPoliciesResponse buildListAuthorizationPoliciesResponse() { final o = api.ListAuthorizationPoliciesResponse(); buildCounterListAuthorizationPoliciesResponse++; if (buildCounterListAuthorizationPoliciesResponse < 3) { - o.authorizationPolicies = buildUnnamed8771(); + o.authorizationPolicies = buildUnnamed8878(); o.nextPageToken = 'foo'; } buildCounterListAuthorizationPoliciesResponse--; @@ -716,7 +716,7 @@ void checkListAuthorizationPoliciesResponse( api.ListAuthorizationPoliciesResponse o) { buildCounterListAuthorizationPoliciesResponse++; if (buildCounterListAuthorizationPoliciesResponse < 3) { - checkUnnamed8771(o.authorizationPolicies!); + checkUnnamed8878(o.authorizationPolicies!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -725,12 +725,12 @@ void checkListAuthorizationPoliciesResponse( buildCounterListAuthorizationPoliciesResponse--; } -core.List buildUnnamed8772() => [ +core.List buildUnnamed8879() => [ buildClientTlsPolicy(), buildClientTlsPolicy(), ]; -void checkUnnamed8772(core.List o) { +void checkUnnamed8879(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClientTlsPolicy(o[0]); checkClientTlsPolicy(o[1]); @@ -741,7 +741,7 @@ api.ListClientTlsPoliciesResponse buildListClientTlsPoliciesResponse() { final o = api.ListClientTlsPoliciesResponse(); buildCounterListClientTlsPoliciesResponse++; if (buildCounterListClientTlsPoliciesResponse < 3) { - o.clientTlsPolicies = buildUnnamed8772(); + o.clientTlsPolicies = buildUnnamed8879(); o.nextPageToken = 'foo'; } buildCounterListClientTlsPoliciesResponse--; @@ -751,7 +751,7 @@ api.ListClientTlsPoliciesResponse buildListClientTlsPoliciesResponse() { void checkListClientTlsPoliciesResponse(api.ListClientTlsPoliciesResponse o) { buildCounterListClientTlsPoliciesResponse++; if (buildCounterListClientTlsPoliciesResponse < 3) { - checkUnnamed8772(o.clientTlsPolicies!); + checkUnnamed8879(o.clientTlsPolicies!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -760,12 +760,12 @@ void checkListClientTlsPoliciesResponse(api.ListClientTlsPoliciesResponse o) { buildCounterListClientTlsPoliciesResponse--; } -core.List buildUnnamed8773() => [ +core.List buildUnnamed8880() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8773(core.List o) { +void checkUnnamed8880(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -776,7 +776,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed8773(); + o.locations = buildUnnamed8880(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -786,7 +786,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed8773(o.locations!); + checkUnnamed8880(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -795,12 +795,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed8774() => [ +core.List buildUnnamed8881() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8774(core.List o) { +void checkUnnamed8881(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -812,7 +812,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8774(); + o.operations = buildUnnamed8881(); } buildCounterListOperationsResponse--; return o; @@ -825,17 +825,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8774(o.operations!); + checkUnnamed8881(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed8775() => [ +core.List buildUnnamed8882() => [ buildServerTlsPolicy(), buildServerTlsPolicy(), ]; -void checkUnnamed8775(core.List o) { +void checkUnnamed8882(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServerTlsPolicy(o[0]); checkServerTlsPolicy(o[1]); @@ -847,7 +847,7 @@ api.ListServerTlsPoliciesResponse buildListServerTlsPoliciesResponse() { buildCounterListServerTlsPoliciesResponse++; if (buildCounterListServerTlsPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.serverTlsPolicies = buildUnnamed8775(); + o.serverTlsPolicies = buildUnnamed8882(); } buildCounterListServerTlsPoliciesResponse--; return o; @@ -860,17 +860,17 @@ void checkListServerTlsPoliciesResponse(api.ListServerTlsPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8775(o.serverTlsPolicies!); + checkUnnamed8882(o.serverTlsPolicies!); } buildCounterListServerTlsPoliciesResponse--; } -core.Map buildUnnamed8776() => { +core.Map buildUnnamed8883() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8776(core.Map o) { +void checkUnnamed8883(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -882,7 +882,7 @@ void checkUnnamed8776(core.Map o) { ); } -core.Map buildUnnamed8777() => { +core.Map buildUnnamed8884() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -895,7 +895,7 @@ core.Map buildUnnamed8777() => { }, }; -void checkUnnamed8777(core.Map o) { +void checkUnnamed8884(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -933,9 +933,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8776(); + o.labels = buildUnnamed8883(); o.locationId = 'foo'; - o.metadata = buildUnnamed8777(); + o.metadata = buildUnnamed8884(); o.name = 'foo'; } buildCounterLocation--; @@ -949,12 +949,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8776(o.labels!); + checkUnnamed8883(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8777(o.metadata!); + checkUnnamed8884(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -963,12 +963,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed8778() => [ +core.List buildUnnamed8885() => [ buildValidationCA(), buildValidationCA(), ]; -void checkUnnamed8778(core.List o) { +void checkUnnamed8885(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValidationCA(o[0]); checkValidationCA(o[1]); @@ -979,7 +979,7 @@ api.MTLSPolicy buildMTLSPolicy() { final o = api.MTLSPolicy(); buildCounterMTLSPolicy++; if (buildCounterMTLSPolicy < 3) { - o.clientValidationCa = buildUnnamed8778(); + o.clientValidationCa = buildUnnamed8885(); } buildCounterMTLSPolicy--; return o; @@ -988,12 +988,12 @@ api.MTLSPolicy buildMTLSPolicy() { void checkMTLSPolicy(api.MTLSPolicy o) { buildCounterMTLSPolicy++; if (buildCounterMTLSPolicy < 3) { - checkUnnamed8778(o.clientValidationCa!); + checkUnnamed8885(o.clientValidationCa!); } buildCounterMTLSPolicy--; } -core.Map buildUnnamed8779() => { +core.Map buildUnnamed8886() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1006,7 +1006,7 @@ core.Map buildUnnamed8779() => { }, }; -void checkUnnamed8779(core.Map o) { +void checkUnnamed8886(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1038,7 +1038,7 @@ void checkUnnamed8779(core.Map o) { ); } -core.Map buildUnnamed8780() => { +core.Map buildUnnamed8887() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1051,7 +1051,7 @@ core.Map buildUnnamed8780() => { }, }; -void checkUnnamed8780(core.Map o) { +void checkUnnamed8887(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1090,9 +1090,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8779(); + o.metadata = buildUnnamed8886(); o.name = 'foo'; - o.response = buildUnnamed8780(); + o.response = buildUnnamed8887(); } buildCounterOperation--; return o; @@ -1103,12 +1103,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8779(o.metadata!); + checkUnnamed8886(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8780(o.response!); + checkUnnamed8887(o.response!); } buildCounterOperation--; } @@ -1162,23 +1162,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed8781() => [ +core.List buildUnnamed8888() => [ buildDestination(), buildDestination(), ]; -void checkUnnamed8781(core.List o) { +void checkUnnamed8888(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDestination(o[0]); checkDestination(o[1]); } -core.List buildUnnamed8782() => [ +core.List buildUnnamed8889() => [ buildSource(), buildSource(), ]; -void checkUnnamed8782(core.List o) { +void checkUnnamed8889(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSource(o[0]); checkSource(o[1]); @@ -1189,8 +1189,8 @@ api.Rule buildRule() { final o = api.Rule(); buildCounterRule++; if (buildCounterRule < 3) { - o.destinations = buildUnnamed8781(); - o.sources = buildUnnamed8782(); + o.destinations = buildUnnamed8888(); + o.sources = buildUnnamed8889(); } buildCounterRule--; return o; @@ -1199,18 +1199,18 @@ api.Rule buildRule() { void checkRule(api.Rule o) { buildCounterRule++; if (buildCounterRule < 3) { - checkUnnamed8781(o.destinations!); - checkUnnamed8782(o.sources!); + checkUnnamed8888(o.destinations!); + checkUnnamed8889(o.sources!); } buildCounterRule--; } -core.Map buildUnnamed8783() => { +core.Map buildUnnamed8890() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8783(core.Map o) { +void checkUnnamed8890(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1230,7 +1230,7 @@ api.ServerTlsPolicy buildServerTlsPolicy() { o.allowOpen = true; o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed8783(); + o.labels = buildUnnamed8890(); o.mtlsPolicy = buildMTLSPolicy(); o.name = 'foo'; o.serverCertificate = @@ -1253,7 +1253,7 @@ void checkServerTlsPolicy(api.ServerTlsPolicy o) { o.description!, unittest.equals('foo'), ); - checkUnnamed8783(o.labels!); + checkUnnamed8890(o.labels!); checkMTLSPolicy(o.mtlsPolicy!); unittest.expect( o.name!, @@ -1269,12 +1269,12 @@ void checkServerTlsPolicy(api.ServerTlsPolicy o) { buildCounterServerTlsPolicy--; } -core.List buildUnnamed8784() => [ +core.List buildUnnamed8891() => [ 'foo', 'foo', ]; -void checkUnnamed8784(core.List o) { +void checkUnnamed8891(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1286,12 +1286,12 @@ void checkUnnamed8784(core.List o) { ); } -core.List buildUnnamed8785() => [ +core.List buildUnnamed8892() => [ 'foo', 'foo', ]; -void checkUnnamed8785(core.List o) { +void checkUnnamed8892(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1308,8 +1308,8 @@ api.Source buildSource() { final o = api.Source(); buildCounterSource++; if (buildCounterSource < 3) { - o.ipBlocks = buildUnnamed8784(); - o.principals = buildUnnamed8785(); + o.ipBlocks = buildUnnamed8891(); + o.principals = buildUnnamed8892(); } buildCounterSource--; return o; @@ -1318,13 +1318,13 @@ api.Source buildSource() { void checkSource(api.Source o) { buildCounterSource++; if (buildCounterSource < 3) { - checkUnnamed8784(o.ipBlocks!); - checkUnnamed8785(o.principals!); + checkUnnamed8891(o.ipBlocks!); + checkUnnamed8892(o.principals!); } buildCounterSource--; } -core.Map buildUnnamed8786() => { +core.Map buildUnnamed8893() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1337,7 +1337,7 @@ core.Map buildUnnamed8786() => { }, }; -void checkUnnamed8786(core.Map o) { +void checkUnnamed8893(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1369,15 +1369,15 @@ void checkUnnamed8786(core.Map o) { ); } -core.List> buildUnnamed8787() => [ - buildUnnamed8786(), - buildUnnamed8786(), +core.List> buildUnnamed8894() => [ + buildUnnamed8893(), + buildUnnamed8893(), ]; -void checkUnnamed8787(core.List> o) { +void checkUnnamed8894(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8786(o[0]); - checkUnnamed8786(o[1]); + checkUnnamed8893(o[0]); + checkUnnamed8893(o[1]); } core.int buildCounterStatus = 0; @@ -1386,7 +1386,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8787(); + o.details = buildUnnamed8894(); o.message = 'foo'; } buildCounterStatus--; @@ -1400,7 +1400,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8787(o.details!); + checkUnnamed8894(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/ondemandscanning/v1beta1_test.dart b/generated/googleapis_beta/test/ondemandscanning/v1beta1_test.dart index 489f8d819..4881ea93b 100644 --- a/generated/googleapis_beta/test/ondemandscanning/v1beta1_test.dart +++ b/generated/googleapis_beta/test/ondemandscanning/v1beta1_test.dart @@ -107,12 +107,12 @@ void checkAnalyzePackagesMetadataV1(api.AnalyzePackagesMetadataV1 o) { buildCounterAnalyzePackagesMetadataV1--; } -core.List buildUnnamed8898() => [ +core.List buildUnnamed9007() => [ buildPackageData(), buildPackageData(), ]; -void checkUnnamed8898(core.List o) { +void checkUnnamed9007(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackageData(o[0]); checkPackageData(o[1]); @@ -123,7 +123,7 @@ api.AnalyzePackagesRequest buildAnalyzePackagesRequest() { final o = api.AnalyzePackagesRequest(); buildCounterAnalyzePackagesRequest++; if (buildCounterAnalyzePackagesRequest < 3) { - o.packages = buildUnnamed8898(); + o.packages = buildUnnamed9007(); o.resourceUri = 'foo'; } buildCounterAnalyzePackagesRequest--; @@ -133,7 +133,7 @@ api.AnalyzePackagesRequest buildAnalyzePackagesRequest() { void checkAnalyzePackagesRequest(api.AnalyzePackagesRequest o) { buildCounterAnalyzePackagesRequest++; if (buildCounterAnalyzePackagesRequest < 3) { - checkUnnamed8898(o.packages!); + checkUnnamed9007(o.packages!); unittest.expect( o.resourceUri!, unittest.equals('foo'), @@ -186,12 +186,12 @@ void checkAnalyzePackagesResponseV1(api.AnalyzePackagesResponseV1 o) { buildCounterAnalyzePackagesResponseV1--; } -core.List buildUnnamed8899() => [ +core.List buildUnnamed9008() => [ 'foo', 'foo', ]; -void checkUnnamed8899(core.List o) { +void checkUnnamed9008(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -210,7 +210,7 @@ api.Artifact buildArtifact() { if (buildCounterArtifact < 3) { o.checksum = 'foo'; o.id = 'foo'; - o.names = buildUnnamed8899(); + o.names = buildUnnamed9008(); } buildCounterArtifact--; return o; @@ -227,28 +227,28 @@ void checkArtifact(api.Artifact o) { o.id!, unittest.equals('foo'), ); - checkUnnamed8899(o.names!); + checkUnnamed9008(o.names!); } buildCounterArtifact--; } -core.List buildUnnamed8900() => [ +core.List buildUnnamed9009() => [ buildJwt(), buildJwt(), ]; -void checkUnnamed8900(core.List o) { +void checkUnnamed9009(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJwt(o[0]); checkJwt(o[1]); } -core.List buildUnnamed8901() => [ +core.List buildUnnamed9010() => [ buildSignature(), buildSignature(), ]; -void checkUnnamed8901(core.List o) { +void checkUnnamed9010(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSignature(o[0]); checkSignature(o[1]); @@ -259,9 +259,9 @@ api.AttestationOccurrence buildAttestationOccurrence() { final o = api.AttestationOccurrence(); buildCounterAttestationOccurrence++; if (buildCounterAttestationOccurrence < 3) { - o.jwts = buildUnnamed8900(); + o.jwts = buildUnnamed9009(); o.serializedPayload = 'foo'; - o.signatures = buildUnnamed8901(); + o.signatures = buildUnnamed9010(); } buildCounterAttestationOccurrence--; return o; @@ -270,12 +270,12 @@ api.AttestationOccurrence buildAttestationOccurrence() { void checkAttestationOccurrence(api.AttestationOccurrence o) { buildCounterAttestationOccurrence++; if (buildCounterAttestationOccurrence < 3) { - checkUnnamed8900(o.jwts!); + checkUnnamed9009(o.jwts!); unittest.expect( o.serializedPayload!, unittest.equals('foo'), ); - checkUnnamed8901(o.signatures!); + checkUnnamed9010(o.signatures!); } buildCounterAttestationOccurrence--; } @@ -285,6 +285,7 @@ api.BuildOccurrence buildBuildOccurrence() { final o = api.BuildOccurrence(); buildCounterBuildOccurrence++; if (buildCounterBuildOccurrence < 3) { + o.intotoProvenance = buildInTotoProvenance(); o.provenance = buildBuildProvenance(); o.provenanceBytes = 'foo'; } @@ -295,6 +296,7 @@ api.BuildOccurrence buildBuildOccurrence() { void checkBuildOccurrence(api.BuildOccurrence o) { buildCounterBuildOccurrence++; if (buildCounterBuildOccurrence < 3) { + checkInTotoProvenance(o.intotoProvenance!); checkBuildProvenance(o.provenance!); unittest.expect( o.provenanceBytes!, @@ -304,12 +306,12 @@ void checkBuildOccurrence(api.BuildOccurrence o) { buildCounterBuildOccurrence--; } -core.Map buildUnnamed8902() => { +core.Map buildUnnamed9011() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8902(core.Map o) { +void checkUnnamed9011(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -321,23 +323,23 @@ void checkUnnamed8902(core.Map o) { ); } -core.List buildUnnamed8903() => [ +core.List buildUnnamed9012() => [ buildArtifact(), buildArtifact(), ]; -void checkUnnamed8903(core.List o) { +void checkUnnamed9012(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArtifact(o[0]); checkArtifact(o[1]); } -core.List buildUnnamed8904() => [ +core.List buildUnnamed9013() => [ buildCommand(), buildCommand(), ]; -void checkUnnamed8904(core.List o) { +void checkUnnamed9013(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCommand(o[0]); checkCommand(o[1]); @@ -348,10 +350,10 @@ api.BuildProvenance buildBuildProvenance() { final o = api.BuildProvenance(); buildCounterBuildProvenance++; if (buildCounterBuildProvenance < 3) { - o.buildOptions = buildUnnamed8902(); + o.buildOptions = buildUnnamed9011(); o.builderVersion = 'foo'; - o.builtArtifacts = buildUnnamed8903(); - o.commands = buildUnnamed8904(); + o.builtArtifacts = buildUnnamed9012(); + o.commands = buildUnnamed9013(); o.createTime = 'foo'; o.creator = 'foo'; o.endTime = 'foo'; @@ -369,13 +371,13 @@ api.BuildProvenance buildBuildProvenance() { void checkBuildProvenance(api.BuildProvenance o) { buildCounterBuildProvenance++; if (buildCounterBuildProvenance < 3) { - checkUnnamed8902(o.buildOptions!); + checkUnnamed9011(o.buildOptions!); unittest.expect( o.builderVersion!, unittest.equals('foo'), ); - checkUnnamed8903(o.builtArtifacts!); - checkUnnamed8904(o.commands!); + checkUnnamed9012(o.builtArtifacts!); + checkUnnamed9013(o.commands!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -413,6 +415,28 @@ void checkBuildProvenance(api.BuildProvenance o) { buildCounterBuildProvenance--; } +core.int buildCounterBuilderConfig = 0; +api.BuilderConfig buildBuilderConfig() { + final o = api.BuilderConfig(); + buildCounterBuilderConfig++; + if (buildCounterBuilderConfig < 3) { + o.id = 'foo'; + } + buildCounterBuilderConfig--; + return o; +} + +void checkBuilderConfig(api.BuilderConfig o) { + buildCounterBuilderConfig++; + if (buildCounterBuilderConfig < 3) { + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + } + buildCounterBuilderConfig--; +} + core.int buildCounterCategory = 0; api.Category buildCategory() { final o = api.Category(); @@ -466,12 +490,12 @@ void checkCloudRepoSourceContext(api.CloudRepoSourceContext o) { buildCounterCloudRepoSourceContext--; } -core.List buildUnnamed8905() => [ +core.List buildUnnamed9014() => [ 'foo', 'foo', ]; -void checkUnnamed8905(core.List o) { +void checkUnnamed9014(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -483,12 +507,12 @@ void checkUnnamed8905(core.List o) { ); } -core.List buildUnnamed8906() => [ +core.List buildUnnamed9015() => [ 'foo', 'foo', ]; -void checkUnnamed8906(core.List o) { +void checkUnnamed9015(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -500,12 +524,12 @@ void checkUnnamed8906(core.List o) { ); } -core.List buildUnnamed8907() => [ +core.List buildUnnamed9016() => [ 'foo', 'foo', ]; -void checkUnnamed8907(core.List o) { +void checkUnnamed9016(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -522,12 +546,12 @@ api.Command buildCommand() { final o = api.Command(); buildCounterCommand++; if (buildCounterCommand < 3) { - o.args = buildUnnamed8905(); + o.args = buildUnnamed9014(); o.dir = 'foo'; - o.env = buildUnnamed8906(); + o.env = buildUnnamed9015(); o.id = 'foo'; o.name = 'foo'; - o.waitFor = buildUnnamed8907(); + o.waitFor = buildUnnamed9016(); } buildCounterCommand--; return o; @@ -536,12 +560,12 @@ api.Command buildCommand() { void checkCommand(api.Command o) { buildCounterCommand++; if (buildCounterCommand < 3) { - checkUnnamed8905(o.args!); + checkUnnamed9014(o.args!); unittest.expect( o.dir!, unittest.equals('foo'), ); - checkUnnamed8906(o.env!); + checkUnnamed9015(o.env!); unittest.expect( o.id!, unittest.equals('foo'), @@ -550,17 +574,40 @@ void checkCommand(api.Command o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8907(o.waitFor!); + checkUnnamed9016(o.waitFor!); } buildCounterCommand--; } -core.List buildUnnamed8908() => [ +core.int buildCounterCompleteness = 0; +api.Completeness buildCompleteness() { + final o = api.Completeness(); + buildCounterCompleteness++; + if (buildCounterCompleteness < 3) { + o.arguments = true; + o.environment = true; + o.materials = true; + } + buildCounterCompleteness--; + return o; +} + +void checkCompleteness(api.Completeness o) { + buildCounterCompleteness++; + if (buildCounterCompleteness < 3) { + unittest.expect(o.arguments!, unittest.isTrue); + unittest.expect(o.environment!, unittest.isTrue); + unittest.expect(o.materials!, unittest.isTrue); + } + buildCounterCompleteness--; +} + +core.List buildUnnamed9017() => [ buildNonCompliantFile(), buildNonCompliantFile(), ]; -void checkUnnamed8908(core.List o) { +void checkUnnamed9017(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNonCompliantFile(o[0]); checkNonCompliantFile(o[1]); @@ -572,7 +619,7 @@ api.ComplianceOccurrence buildComplianceOccurrence() { buildCounterComplianceOccurrence++; if (buildCounterComplianceOccurrence < 3) { o.nonComplianceReason = 'foo'; - o.nonCompliantFiles = buildUnnamed8908(); + o.nonCompliantFiles = buildUnnamed9017(); } buildCounterComplianceOccurrence--; return o; @@ -585,17 +632,38 @@ void checkComplianceOccurrence(api.ComplianceOccurrence o) { o.nonComplianceReason!, unittest.equals('foo'), ); - checkUnnamed8908(o.nonCompliantFiles!); + checkUnnamed9017(o.nonCompliantFiles!); } buildCounterComplianceOccurrence--; } -core.List buildUnnamed8909() => [ +core.int buildCounterDSSEAttestationOccurrence = 0; +api.DSSEAttestationOccurrence buildDSSEAttestationOccurrence() { + final o = api.DSSEAttestationOccurrence(); + buildCounterDSSEAttestationOccurrence++; + if (buildCounterDSSEAttestationOccurrence < 3) { + o.envelope = buildEnvelope(); + o.statement = buildInTotoStatement(); + } + buildCounterDSSEAttestationOccurrence--; + return o; +} + +void checkDSSEAttestationOccurrence(api.DSSEAttestationOccurrence o) { + buildCounterDSSEAttestationOccurrence++; + if (buildCounterDSSEAttestationOccurrence < 3) { + checkEnvelope(o.envelope!); + checkInTotoStatement(o.statement!); + } + buildCounterDSSEAttestationOccurrence--; +} + +core.List buildUnnamed9018() => [ 'foo', 'foo', ]; -void checkUnnamed8909(core.List o) { +void checkUnnamed9018(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -616,7 +684,7 @@ api.DeploymentOccurrence buildDeploymentOccurrence() { o.config = 'foo'; o.deployTime = 'foo'; o.platform = 'foo'; - o.resourceUri = buildUnnamed8909(); + o.resourceUri = buildUnnamed9018(); o.undeployTime = 'foo'; o.userEmail = 'foo'; } @@ -643,7 +711,7 @@ void checkDeploymentOccurrence(api.DeploymentOccurrence o) { o.platform!, unittest.equals('foo'), ); - checkUnnamed8909(o.resourceUri!); + checkUnnamed9018(o.resourceUri!); unittest.expect( o.undeployTime!, unittest.equals('foo'), @@ -710,12 +778,79 @@ void checkEmpty(api.Empty o) { buildCounterEmpty--; } -core.List buildUnnamed8910() => [ +core.List buildUnnamed9019() => [ + buildEnvelopeSignature(), + buildEnvelopeSignature(), + ]; + +void checkUnnamed9019(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkEnvelopeSignature(o[0]); + checkEnvelopeSignature(o[1]); +} + +core.int buildCounterEnvelope = 0; +api.Envelope buildEnvelope() { + final o = api.Envelope(); + buildCounterEnvelope++; + if (buildCounterEnvelope < 3) { + o.payload = 'foo'; + o.payloadType = 'foo'; + o.signatures = buildUnnamed9019(); + } + buildCounterEnvelope--; + return o; +} + +void checkEnvelope(api.Envelope o) { + buildCounterEnvelope++; + if (buildCounterEnvelope < 3) { + unittest.expect( + o.payload!, + unittest.equals('foo'), + ); + unittest.expect( + o.payloadType!, + unittest.equals('foo'), + ); + checkUnnamed9019(o.signatures!); + } + buildCounterEnvelope--; +} + +core.int buildCounterEnvelopeSignature = 0; +api.EnvelopeSignature buildEnvelopeSignature() { + final o = api.EnvelopeSignature(); + buildCounterEnvelopeSignature++; + if (buildCounterEnvelopeSignature < 3) { + o.keyid = 'foo'; + o.sig = 'foo'; + } + buildCounterEnvelopeSignature--; + return o; +} + +void checkEnvelopeSignature(api.EnvelopeSignature o) { + buildCounterEnvelopeSignature++; + if (buildCounterEnvelopeSignature < 3) { + unittest.expect( + o.keyid!, + unittest.equals('foo'), + ); + unittest.expect( + o.sig!, + unittest.equals('foo'), + ); + } + buildCounterEnvelopeSignature--; +} + +core.List buildUnnamed9020() => [ buildHash(), buildHash(), ]; -void checkUnnamed8910(core.List o) { +void checkUnnamed9020(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHash(o[0]); checkHash(o[1]); @@ -726,7 +861,7 @@ api.FileHashes buildFileHashes() { final o = api.FileHashes(); buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - o.fileHash = buildUnnamed8910(); + o.fileHash = buildUnnamed9020(); } buildCounterFileHashes--; return o; @@ -735,17 +870,17 @@ api.FileHashes buildFileHashes() { void checkFileHashes(api.FileHashes o) { buildCounterFileHashes++; if (buildCounterFileHashes < 3) { - checkUnnamed8910(o.fileHash!); + checkUnnamed9020(o.fileHash!); } buildCounterFileHashes--; } -core.List buildUnnamed8911() => [ +core.List buildUnnamed9021() => [ 'foo', 'foo', ]; -void checkUnnamed8911(core.List o) { +void checkUnnamed9021(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -763,7 +898,7 @@ api.Fingerprint buildFingerprint() { buildCounterFingerprint++; if (buildCounterFingerprint < 3) { o.v1Name = 'foo'; - o.v2Blob = buildUnnamed8911(); + o.v2Blob = buildUnnamed9021(); o.v2Name = 'foo'; } buildCounterFingerprint--; @@ -777,7 +912,7 @@ void checkFingerprint(api.Fingerprint o) { o.v1Name!, unittest.equals('foo'), ); - checkUnnamed8911(o.v2Blob!); + checkUnnamed9021(o.v2Blob!); unittest.expect( o.v2Name!, unittest.equals('foo'), @@ -901,12 +1036,12 @@ void checkIdentity(api.Identity o) { buildCounterIdentity--; } -core.List buildUnnamed8912() => [ +core.List buildUnnamed9022() => [ buildLayer(), buildLayer(), ]; -void checkUnnamed8912(core.List o) { +void checkUnnamed9022(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLayer(o[0]); checkLayer(o[1]); @@ -920,7 +1055,7 @@ api.ImageOccurrence buildImageOccurrence() { o.baseResourceUrl = 'foo'; o.distance = 42; o.fingerprint = buildFingerprint(); - o.layerInfo = buildUnnamed8912(); + o.layerInfo = buildUnnamed9022(); } buildCounterImageOccurrence--; return o; @@ -938,11 +1073,95 @@ void checkImageOccurrence(api.ImageOccurrence o) { unittest.equals(42), ); checkFingerprint(o.fingerprint!); - checkUnnamed8912(o.layerInfo!); + checkUnnamed9022(o.layerInfo!); } buildCounterImageOccurrence--; } +core.List buildUnnamed9023() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed9023(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterInTotoProvenance = 0; +api.InTotoProvenance buildInTotoProvenance() { + final o = api.InTotoProvenance(); + buildCounterInTotoProvenance++; + if (buildCounterInTotoProvenance < 3) { + o.builderConfig = buildBuilderConfig(); + o.materials = buildUnnamed9023(); + o.metadata = buildMetadata(); + o.recipe = buildRecipe(); + } + buildCounterInTotoProvenance--; + return o; +} + +void checkInTotoProvenance(api.InTotoProvenance o) { + buildCounterInTotoProvenance++; + if (buildCounterInTotoProvenance < 3) { + checkBuilderConfig(o.builderConfig!); + checkUnnamed9023(o.materials!); + checkMetadata(o.metadata!); + checkRecipe(o.recipe!); + } + buildCounterInTotoProvenance--; +} + +core.List buildUnnamed9024() => [ + buildSubject(), + buildSubject(), + ]; + +void checkUnnamed9024(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkSubject(o[0]); + checkSubject(o[1]); +} + +core.int buildCounterInTotoStatement = 0; +api.InTotoStatement buildInTotoStatement() { + final o = api.InTotoStatement(); + buildCounterInTotoStatement++; + if (buildCounterInTotoStatement < 3) { + o.predicateType = 'foo'; + o.provenance = buildInTotoProvenance(); + o.subject = buildUnnamed9024(); + o.type = 'foo'; + } + buildCounterInTotoStatement--; + return o; +} + +void checkInTotoStatement(api.InTotoStatement o) { + buildCounterInTotoStatement++; + if (buildCounterInTotoStatement < 3) { + unittest.expect( + o.predicateType!, + unittest.equals('foo'), + ); + checkInTotoProvenance(o.provenance!); + checkUnnamed9024(o.subject!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterInTotoStatement--; +} + core.int buildCounterJwt = 0; api.Jwt buildJwt() { final o = api.Jwt(); @@ -992,12 +1211,12 @@ void checkLayer(api.Layer o) { buildCounterLayer--; } -core.List buildUnnamed8913() => [ +core.List buildUnnamed9025() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8913(core.List o) { +void checkUnnamed9025(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1009,7 +1228,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8913(); + o.operations = buildUnnamed9025(); } buildCounterListOperationsResponse--; return o; @@ -1022,17 +1241,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8913(o.operations!); + checkUnnamed9025(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed8914() => [ +core.List buildUnnamed9026() => [ buildOccurrence(), buildOccurrence(), ]; -void checkUnnamed8914(core.List o) { +void checkUnnamed9026(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOccurrence(o[0]); checkOccurrence(o[1]); @@ -1044,7 +1263,7 @@ api.ListVulnerabilitiesResponse buildListVulnerabilitiesResponse() { buildCounterListVulnerabilitiesResponse++; if (buildCounterListVulnerabilitiesResponse < 3) { o.nextPageToken = 'foo'; - o.occurrences = buildUnnamed8914(); + o.occurrences = buildUnnamed9026(); } buildCounterListVulnerabilitiesResponse--; return o; @@ -1057,7 +1276,7 @@ void checkListVulnerabilitiesResponse(api.ListVulnerabilitiesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8914(o.occurrences!); + checkUnnamed9026(o.occurrences!); } buildCounterListVulnerabilitiesResponse--; } @@ -1091,6 +1310,42 @@ void checkLocation(api.Location o) { buildCounterLocation--; } +core.int buildCounterMetadata = 0; +api.Metadata buildMetadata() { + final o = api.Metadata(); + buildCounterMetadata++; + if (buildCounterMetadata < 3) { + o.buildFinishedOn = 'foo'; + o.buildInvocationId = 'foo'; + o.buildStartedOn = 'foo'; + o.completeness = buildCompleteness(); + o.reproducible = true; + } + buildCounterMetadata--; + return o; +} + +void checkMetadata(api.Metadata o) { + buildCounterMetadata++; + if (buildCounterMetadata < 3) { + unittest.expect( + o.buildFinishedOn!, + unittest.equals('foo'), + ); + unittest.expect( + o.buildInvocationId!, + unittest.equals('foo'), + ); + unittest.expect( + o.buildStartedOn!, + unittest.equals('foo'), + ); + checkCompleteness(o.completeness!); + unittest.expect(o.reproducible!, unittest.isTrue); + } + buildCounterMetadata--; +} + core.int buildCounterNonCompliantFile = 0; api.NonCompliantFile buildNonCompliantFile() { final o = api.NonCompliantFile(); @@ -1134,6 +1389,8 @@ api.Occurrence buildOccurrence() { o.createTime = 'foo'; o.deployment = buildDeploymentOccurrence(); o.discovery = buildDiscoveryOccurrence(); + o.dsseAttestation = buildDSSEAttestationOccurrence(); + o.envelope = buildEnvelope(); o.image = buildImageOccurrence(); o.kind = 'foo'; o.name = 'foo'; @@ -1161,6 +1418,8 @@ void checkOccurrence(api.Occurrence o) { ); checkDeploymentOccurrence(o.deployment!); checkDiscoveryOccurrence(o.discovery!); + checkDSSEAttestationOccurrence(o.dsseAttestation!); + checkEnvelope(o.envelope!); checkImageOccurrence(o.image!); unittest.expect( o.kind!, @@ -1193,7 +1452,7 @@ void checkOccurrence(api.Occurrence o) { buildCounterOccurrence--; } -core.Map buildUnnamed8915() => { +core.Map buildUnnamed9027() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1206,7 +1465,7 @@ core.Map buildUnnamed8915() => { }, }; -void checkUnnamed8915(core.Map o) { +void checkUnnamed9027(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1238,7 +1497,7 @@ void checkUnnamed8915(core.Map o) { ); } -core.Map buildUnnamed8916() => { +core.Map buildUnnamed9028() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1251,7 +1510,7 @@ core.Map buildUnnamed8916() => { }, }; -void checkUnnamed8916(core.Map o) { +void checkUnnamed9028(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1290,9 +1549,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8915(); + o.metadata = buildUnnamed9027(); o.name = 'foo'; - o.response = buildUnnamed8916(); + o.response = buildUnnamed9028(); } buildCounterOperation--; return o; @@ -1303,12 +1562,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8915(o.metadata!); + checkUnnamed9027(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8916(o.response!); + checkUnnamed9028(o.response!); } buildCounterOperation--; } @@ -1373,10 +1632,12 @@ api.PackageIssue buildPackageIssue() { o.affectedCpeUri = 'foo'; o.affectedPackage = 'foo'; o.affectedVersion = buildVersion(); + o.effectiveSeverity = 'foo'; o.fixAvailable = true; o.fixedCpeUri = 'foo'; o.fixedPackage = 'foo'; o.fixedVersion = buildVersion(); + o.packageType = 'foo'; } buildCounterPackageIssue--; return o; @@ -1394,6 +1655,10 @@ void checkPackageIssue(api.PackageIssue o) { unittest.equals('foo'), ); checkVersion(o.affectedVersion!); + unittest.expect( + o.effectiveSeverity!, + unittest.equals('foo'), + ); unittest.expect(o.fixAvailable!, unittest.isTrue); unittest.expect( o.fixedCpeUri!, @@ -1404,16 +1669,20 @@ void checkPackageIssue(api.PackageIssue o) { unittest.equals('foo'), ); checkVersion(o.fixedVersion!); + unittest.expect( + o.packageType!, + unittest.equals('foo'), + ); } buildCounterPackageIssue--; } -core.List buildUnnamed8917() => [ +core.List buildUnnamed9029() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8917(core.List o) { +void checkUnnamed9029(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1424,7 +1693,7 @@ api.PackageOccurrence buildPackageOccurrence() { final o = api.PackageOccurrence(); buildCounterPackageOccurrence++; if (buildCounterPackageOccurrence < 3) { - o.location = buildUnnamed8917(); + o.location = buildUnnamed9029(); o.name = 'foo'; } buildCounterPackageOccurrence--; @@ -1434,7 +1703,7 @@ api.PackageOccurrence buildPackageOccurrence() { void checkPackageOccurrence(api.PackageOccurrence o) { buildCounterPackageOccurrence++; if (buildCounterPackageOccurrence < 3) { - checkUnnamed8917(o.location!); + checkUnnamed9029(o.location!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1470,6 +1739,154 @@ void checkProjectRepoId(api.ProjectRepoId o) { buildCounterProjectRepoId--; } +core.Map buildUnnamed9030() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed9030(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed9031() => [ + buildUnnamed9030(), + buildUnnamed9030(), + ]; + +void checkUnnamed9031(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed9030(o[0]); + checkUnnamed9030(o[1]); +} + +core.Map buildUnnamed9032() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed9032(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); + unittest.expect( + casted7['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted7['bool'], + unittest.equals(true), + ); + unittest.expect( + casted7['string'], + unittest.equals('foo'), + ); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); + unittest.expect( + casted8['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted8['bool'], + unittest.equals(true), + ); + unittest.expect( + casted8['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed9033() => [ + buildUnnamed9032(), + buildUnnamed9032(), + ]; + +void checkUnnamed9033(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed9032(o[0]); + checkUnnamed9032(o[1]); +} + +core.int buildCounterRecipe = 0; +api.Recipe buildRecipe() { + final o = api.Recipe(); + buildCounterRecipe++; + if (buildCounterRecipe < 3) { + o.arguments = buildUnnamed9031(); + o.definedInMaterial = 'foo'; + o.entryPoint = 'foo'; + o.environment = buildUnnamed9033(); + o.type = 'foo'; + } + buildCounterRecipe--; + return o; +} + +void checkRecipe(api.Recipe o) { + buildCounterRecipe++; + if (buildCounterRecipe < 3) { + checkUnnamed9031(o.arguments!); + unittest.expect( + o.definedInMaterial!, + unittest.equals('foo'), + ); + unittest.expect( + o.entryPoint!, + unittest.equals('foo'), + ); + checkUnnamed9033(o.environment!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterRecipe--; +} + core.int buildCounterRelatedUrl = 0; api.RelatedUrl buildRelatedUrl() { final o = api.RelatedUrl(); @@ -1548,23 +1965,23 @@ void checkSignature(api.Signature o) { buildCounterSignature--; } -core.List buildUnnamed8918() => [ +core.List buildUnnamed9034() => [ buildSourceContext(), buildSourceContext(), ]; -void checkUnnamed8918(core.List o) { +void checkUnnamed9034(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSourceContext(o[0]); checkSourceContext(o[1]); } -core.Map buildUnnamed8919() => { +core.Map buildUnnamed9035() => { 'x': buildFileHashes(), 'y': buildFileHashes(), }; -void checkUnnamed8919(core.Map o) { +void checkUnnamed9035(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkFileHashes(o['x']!); checkFileHashes(o['y']!); @@ -1575,10 +1992,10 @@ api.Source buildSource() { final o = api.Source(); buildCounterSource++; if (buildCounterSource < 3) { - o.additionalContexts = buildUnnamed8918(); + o.additionalContexts = buildUnnamed9034(); o.artifactStorageSourceUri = 'foo'; o.context = buildSourceContext(); - o.fileHashes = buildUnnamed8919(); + o.fileHashes = buildUnnamed9035(); } buildCounterSource--; return o; @@ -1587,23 +2004,23 @@ api.Source buildSource() { void checkSource(api.Source o) { buildCounterSource++; if (buildCounterSource < 3) { - checkUnnamed8918(o.additionalContexts!); + checkUnnamed9034(o.additionalContexts!); unittest.expect( o.artifactStorageSourceUri!, unittest.equals('foo'), ); checkSourceContext(o.context!); - checkUnnamed8919(o.fileHashes!); + checkUnnamed9035(o.fileHashes!); } buildCounterSource--; } -core.Map buildUnnamed8920() => { +core.Map buildUnnamed9036() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8920(core.Map o) { +void checkUnnamed9036(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1623,7 +2040,7 @@ api.SourceContext buildSourceContext() { o.cloudRepo = buildCloudRepoSourceContext(); o.gerrit = buildGerritSourceContext(); o.git = buildGitSourceContext(); - o.labels = buildUnnamed8920(); + o.labels = buildUnnamed9036(); } buildCounterSourceContext--; return o; @@ -1635,12 +2052,12 @@ void checkSourceContext(api.SourceContext o) { checkCloudRepoSourceContext(o.cloudRepo!); checkGerritSourceContext(o.gerrit!); checkGitSourceContext(o.git!); - checkUnnamed8920(o.labels!); + checkUnnamed9036(o.labels!); } buildCounterSourceContext--; } -core.Map buildUnnamed8921() => { +core.Map buildUnnamed9037() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1653,47 +2070,47 @@ core.Map buildUnnamed8921() => { }, }; -void checkUnnamed8921(core.Map o) { +void checkUnnamed9037(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o['x']!) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); + var casted9 = (o['x']!) as core.Map; + unittest.expect(casted9, unittest.hasLength(3)); unittest.expect( - casted5['list'], + casted9['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted5['bool'], + casted9['bool'], unittest.equals(true), ); unittest.expect( - casted5['string'], + casted9['string'], unittest.equals('foo'), ); - var casted6 = (o['y']!) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); + var casted10 = (o['y']!) as core.Map; + unittest.expect(casted10, unittest.hasLength(3)); unittest.expect( - casted6['list'], + casted10['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted6['bool'], + casted10['bool'], unittest.equals(true), ); unittest.expect( - casted6['string'], + casted10['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed8922() => [ - buildUnnamed8921(), - buildUnnamed8921(), +core.List> buildUnnamed9038() => [ + buildUnnamed9037(), + buildUnnamed9037(), ]; -void checkUnnamed8922(core.List> o) { +void checkUnnamed9038(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8921(o[0]); - checkUnnamed8921(o[1]); + checkUnnamed9037(o[0]); + checkUnnamed9037(o[1]); } core.int buildCounterStatus = 0; @@ -1702,7 +2119,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8922(); + o.details = buildUnnamed9038(); o.message = 'foo'; } buildCounterStatus--; @@ -1716,7 +2133,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8922(o.details!); + checkUnnamed9038(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1725,12 +2142,53 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8923() => [ +core.Map buildUnnamed9039() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed9039(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterSubject = 0; +api.Subject buildSubject() { + final o = api.Subject(); + buildCounterSubject++; + if (buildCounterSubject < 3) { + o.digest = buildUnnamed9039(); + o.name = 'foo'; + } + buildCounterSubject--; + return o; +} + +void checkSubject(api.Subject o) { + buildCounterSubject++; + if (buildCounterSubject < 3) { + checkUnnamed9039(o.digest!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterSubject--; +} + +core.List buildUnnamed9040() => [ 'foo', 'foo', ]; -void checkUnnamed8923(core.List o) { +void checkUnnamed9040(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1749,7 +2207,7 @@ api.UpgradeDistribution buildUpgradeDistribution() { if (buildCounterUpgradeDistribution < 3) { o.classification = 'foo'; o.cpeUri = 'foo'; - o.cve = buildUnnamed8923(); + o.cve = buildUnnamed9040(); o.severity = 'foo'; } buildCounterUpgradeDistribution--; @@ -1767,7 +2225,7 @@ void checkUpgradeDistribution(api.UpgradeDistribution o) { o.cpeUri!, unittest.equals('foo'), ); - checkUnnamed8923(o.cve!); + checkUnnamed9040(o.cve!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -1848,23 +2306,23 @@ void checkVersion(api.Version o) { buildCounterVersion--; } -core.List buildUnnamed8924() => [ +core.List buildUnnamed9041() => [ buildPackageIssue(), buildPackageIssue(), ]; -void checkUnnamed8924(core.List o) { +void checkUnnamed9041(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPackageIssue(o[0]); checkPackageIssue(o[1]); } -core.List buildUnnamed8925() => [ +core.List buildUnnamed9042() => [ buildRelatedUrl(), buildRelatedUrl(), ]; -void checkUnnamed8925(core.List o) { +void checkUnnamed9042(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRelatedUrl(o[0]); checkRelatedUrl(o[1]); @@ -1879,8 +2337,8 @@ api.VulnerabilityOccurrence buildVulnerabilityOccurrence() { o.effectiveSeverity = 'foo'; o.fixAvailable = true; o.longDescription = 'foo'; - o.packageIssue = buildUnnamed8924(); - o.relatedUrls = buildUnnamed8925(); + o.packageIssue = buildUnnamed9041(); + o.relatedUrls = buildUnnamed9042(); o.severity = 'foo'; o.shortDescription = 'foo'; o.type = 'foo'; @@ -1905,8 +2363,8 @@ void checkVulnerabilityOccurrence(api.VulnerabilityOccurrence o) { o.longDescription!, unittest.equals('foo'), ); - checkUnnamed8924(o.packageIssue!); - checkUnnamed8925(o.relatedUrls!); + checkUnnamed9041(o.packageIssue!); + checkUnnamed9042(o.relatedUrls!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -1923,23 +2381,23 @@ void checkVulnerabilityOccurrence(api.VulnerabilityOccurrence o) { buildCounterVulnerabilityOccurrence--; } -core.List buildUnnamed8926() => [ +core.List buildUnnamed9043() => [ buildCategory(), buildCategory(), ]; -void checkUnnamed8926(core.List o) { +void checkUnnamed9043(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCategory(o[0]); checkCategory(o[1]); } -core.List buildUnnamed8927() => [ +core.List buildUnnamed9044() => [ 'foo', 'foo', ]; -void checkUnnamed8927(core.List o) { +void checkUnnamed9044(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1956,10 +2414,10 @@ api.WindowsUpdate buildWindowsUpdate() { final o = api.WindowsUpdate(); buildCounterWindowsUpdate++; if (buildCounterWindowsUpdate < 3) { - o.categories = buildUnnamed8926(); + o.categories = buildUnnamed9043(); o.description = 'foo'; o.identity = buildIdentity(); - o.kbArticleIds = buildUnnamed8927(); + o.kbArticleIds = buildUnnamed9044(); o.lastPublishedTimestamp = 'foo'; o.supportUrl = 'foo'; o.title = 'foo'; @@ -1971,13 +2429,13 @@ api.WindowsUpdate buildWindowsUpdate() { void checkWindowsUpdate(api.WindowsUpdate o) { buildCounterWindowsUpdate++; if (buildCounterWindowsUpdate < 3) { - checkUnnamed8926(o.categories!); + checkUnnamed9043(o.categories!); unittest.expect( o.description!, unittest.equals('foo'), ); checkIdentity(o.identity!); - checkUnnamed8927(o.kbArticleIds!); + checkUnnamed9044(o.kbArticleIds!); unittest.expect( o.lastPublishedTimestamp!, unittest.equals('foo'), @@ -2095,6 +2553,16 @@ void main() { }); }); + unittest.group('obj-schema-BuilderConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildBuilderConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BuilderConfig.fromJson( + oJson as core.Map); + checkBuilderConfig(od); + }); + }); + unittest.group('obj-schema-Category', () { unittest.test('to-json--from-json', () async { final o = buildCategory(); @@ -2125,6 +2593,16 @@ void main() { }); }); + unittest.group('obj-schema-Completeness', () { + unittest.test('to-json--from-json', () async { + final o = buildCompleteness(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Completeness.fromJson( + oJson as core.Map); + checkCompleteness(od); + }); + }); + unittest.group('obj-schema-ComplianceOccurrence', () { unittest.test('to-json--from-json', () async { final o = buildComplianceOccurrence(); @@ -2135,6 +2613,16 @@ void main() { }); }); + unittest.group('obj-schema-DSSEAttestationOccurrence', () { + unittest.test('to-json--from-json', () async { + final o = buildDSSEAttestationOccurrence(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DSSEAttestationOccurrence.fromJson( + oJson as core.Map); + checkDSSEAttestationOccurrence(od); + }); + }); + unittest.group('obj-schema-DeploymentOccurrence', () { unittest.test('to-json--from-json', () async { final o = buildDeploymentOccurrence(); @@ -2165,6 +2653,26 @@ void main() { }); }); + unittest.group('obj-schema-Envelope', () { + unittest.test('to-json--from-json', () async { + final o = buildEnvelope(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Envelope.fromJson(oJson as core.Map); + checkEnvelope(od); + }); + }); + + unittest.group('obj-schema-EnvelopeSignature', () { + unittest.test('to-json--from-json', () async { + final o = buildEnvelopeSignature(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EnvelopeSignature.fromJson( + oJson as core.Map); + checkEnvelopeSignature(od); + }); + }); + unittest.group('obj-schema-FileHashes', () { unittest.test('to-json--from-json', () async { final o = buildFileHashes(); @@ -2235,6 +2743,26 @@ void main() { }); }); + unittest.group('obj-schema-InTotoProvenance', () { + unittest.test('to-json--from-json', () async { + final o = buildInTotoProvenance(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InTotoProvenance.fromJson( + oJson as core.Map); + checkInTotoProvenance(od); + }); + }); + + unittest.group('obj-schema-InTotoStatement', () { + unittest.test('to-json--from-json', () async { + final o = buildInTotoStatement(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InTotoStatement.fromJson( + oJson as core.Map); + checkInTotoStatement(od); + }); + }); + unittest.group('obj-schema-Jwt', () { unittest.test('to-json--from-json', () async { final o = buildJwt(); @@ -2284,6 +2812,16 @@ void main() { }); }); + unittest.group('obj-schema-Metadata', () { + unittest.test('to-json--from-json', () async { + final o = buildMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Metadata.fromJson(oJson as core.Map); + checkMetadata(od); + }); + }); + unittest.group('obj-schema-NonCompliantFile', () { unittest.test('to-json--from-json', () async { final o = buildNonCompliantFile(); @@ -2354,6 +2892,16 @@ void main() { }); }); + unittest.group('obj-schema-Recipe', () { + unittest.test('to-json--from-json', () async { + final o = buildRecipe(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Recipe.fromJson(oJson as core.Map); + checkRecipe(od); + }); + }); + unittest.group('obj-schema-RelatedUrl', () { unittest.test('to-json--from-json', () async { final o = buildRelatedUrl(); @@ -2414,6 +2962,16 @@ void main() { }); }); + unittest.group('obj-schema-Subject', () { + unittest.test('to-json--from-json', () async { + final o = buildSubject(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Subject.fromJson(oJson as core.Map); + checkSubject(od); + }); + }); + unittest.group('obj-schema-UpgradeDistribution', () { unittest.test('to-json--from-json', () async { final o = buildUpgradeDistribution(); diff --git a/generated/googleapis_beta/test/osconfig/v1alpha_test.dart b/generated/googleapis_beta/test/osconfig/v1alpha_test.dart index 1c523be68..da916cb78 100644 --- a/generated/googleapis_beta/test/osconfig/v1alpha_test.dart +++ b/generated/googleapis_beta/test/osconfig/v1alpha_test.dart @@ -113,6 +113,38 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } +core.int buildCounterDate = 0; +api.Date buildDate() { + final o = api.Date(); + buildCounterDate++; + if (buildCounterDate < 3) { + o.day = 42; + o.month = 42; + o.year = 42; + } + buildCounterDate--; + return o; +} + +void checkDate(api.Date o) { + buildCounterDate++; + if (buildCounterDate < 3) { + unittest.expect( + o.day!, + unittest.equals(42), + ); + unittest.expect( + o.month!, + unittest.equals(42), + ); + unittest.expect( + o.year!, + unittest.equals(42), + ); + } + buildCounterDate--; +} + core.int buildCounterEmpty = 0; api.Empty buildEmpty() { final o = api.Empty(); @@ -156,12 +188,12 @@ void checkFixedOrPercent(api.FixedOrPercent o) { } core.List - buildUnnamed8725() => [ + buildUnnamed8830() => [ buildInstanceOSPoliciesComplianceOSPolicyCompliance(), buildInstanceOSPoliciesComplianceOSPolicyCompliance(), ]; -void checkUnnamed8725( +void checkUnnamed8830( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceOSPoliciesComplianceOSPolicyCompliance(o[0]); @@ -179,7 +211,7 @@ api.InstanceOSPoliciesCompliance buildInstanceOSPoliciesCompliance() { o.lastComplianceCheckTime = 'foo'; o.lastComplianceRunId = 'foo'; o.name = 'foo'; - o.osPolicyCompliances = buildUnnamed8725(); + o.osPolicyCompliances = buildUnnamed8830(); o.state = 'foo'; } buildCounterInstanceOSPoliciesCompliance--; @@ -213,7 +245,7 @@ void checkInstanceOSPoliciesCompliance(api.InstanceOSPoliciesCompliance o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8725(o.osPolicyCompliances!); + checkUnnamed8830(o.osPolicyCompliances!); unittest.expect( o.state!, unittest.equals('foo'), @@ -222,12 +254,12 @@ void checkInstanceOSPoliciesCompliance(api.InstanceOSPoliciesCompliance o) { buildCounterInstanceOSPoliciesCompliance--; } -core.List buildUnnamed8726() => [ +core.List buildUnnamed8831() => [ buildOSPolicyResourceCompliance(), buildOSPolicyResourceCompliance(), ]; -void checkUnnamed8726(core.List o) { +void checkUnnamed8831(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyResourceCompliance(o[0]); checkOSPolicyResourceCompliance(o[1]); @@ -241,7 +273,7 @@ api.InstanceOSPoliciesComplianceOSPolicyCompliance if (buildCounterInstanceOSPoliciesComplianceOSPolicyCompliance < 3) { o.osPolicyAssignment = 'foo'; o.osPolicyId = 'foo'; - o.osPolicyResourceCompliances = buildUnnamed8726(); + o.osPolicyResourceCompliances = buildUnnamed8831(); o.state = 'foo'; } buildCounterInstanceOSPoliciesComplianceOSPolicyCompliance--; @@ -260,7 +292,7 @@ void checkInstanceOSPoliciesComplianceOSPolicyCompliance( o.osPolicyId!, unittest.equals('foo'), ); - checkUnnamed8726(o.osPolicyResourceCompliances!); + checkUnnamed8831(o.osPolicyResourceCompliances!); unittest.expect( o.state!, unittest.equals('foo'), @@ -269,12 +301,12 @@ void checkInstanceOSPoliciesComplianceOSPolicyCompliance( buildCounterInstanceOSPoliciesComplianceOSPolicyCompliance--; } -core.Map buildUnnamed8727() => { +core.Map buildUnnamed8832() => { 'x': buildInventoryItem(), 'y': buildInventoryItem(), }; -void checkUnnamed8727(core.Map o) { +void checkUnnamed8832(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryItem(o['x']!); checkInventoryItem(o['y']!); @@ -285,7 +317,7 @@ api.Inventory buildInventory() { final o = api.Inventory(); buildCounterInventory++; if (buildCounterInventory < 3) { - o.items = buildUnnamed8727(); + o.items = buildUnnamed8832(); o.name = 'foo'; o.osInfo = buildInventoryOsInfo(); o.updateTime = 'foo'; @@ -297,7 +329,7 @@ api.Inventory buildInventory() { void checkInventory(api.Inventory o) { buildCounterInventory++; if (buildCounterInventory < 3) { - checkUnnamed8727(o.items!); + checkUnnamed8832(o.items!); unittest.expect( o.name!, unittest.equals('foo'), @@ -423,6 +455,7 @@ api.InventorySoftwarePackage buildInventorySoftwarePackage() { o.cosPackage = buildInventoryVersionedPackage(); o.googetPackage = buildInventoryVersionedPackage(); o.qfePackage = buildInventoryWindowsQuickFixEngineeringPackage(); + o.windowsApplication = buildInventoryWindowsApplication(); o.wuaPackage = buildInventoryWindowsUpdatePackage(); o.yumPackage = buildInventoryVersionedPackage(); o.zypperPackage = buildInventoryVersionedPackage(); @@ -439,6 +472,7 @@ void checkInventorySoftwarePackage(api.InventorySoftwarePackage o) { checkInventoryVersionedPackage(o.cosPackage!); checkInventoryVersionedPackage(o.googetPackage!); checkInventoryWindowsQuickFixEngineeringPackage(o.qfePackage!); + checkInventoryWindowsApplication(o.windowsApplication!); checkInventoryWindowsUpdatePackage(o.wuaPackage!); checkInventoryVersionedPackage(o.yumPackage!); checkInventoryVersionedPackage(o.zypperPackage!); @@ -479,6 +513,45 @@ void checkInventoryVersionedPackage(api.InventoryVersionedPackage o) { buildCounterInventoryVersionedPackage--; } +core.int buildCounterInventoryWindowsApplication = 0; +api.InventoryWindowsApplication buildInventoryWindowsApplication() { + final o = api.InventoryWindowsApplication(); + buildCounterInventoryWindowsApplication++; + if (buildCounterInventoryWindowsApplication < 3) { + o.displayName = 'foo'; + o.displayVersion = 'foo'; + o.helpLink = 'foo'; + o.installDate = buildDate(); + o.publisher = 'foo'; + } + buildCounterInventoryWindowsApplication--; + return o; +} + +void checkInventoryWindowsApplication(api.InventoryWindowsApplication o) { + buildCounterInventoryWindowsApplication++; + if (buildCounterInventoryWindowsApplication < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.helpLink!, + unittest.equals('foo'), + ); + checkDate(o.installDate!); + unittest.expect( + o.publisher!, + unittest.equals('foo'), + ); + } + buildCounterInventoryWindowsApplication--; +} + core.int buildCounterInventoryWindowsQuickFixEngineeringPackage = 0; api.InventoryWindowsQuickFixEngineeringPackage buildInventoryWindowsQuickFixEngineeringPackage() { @@ -519,24 +592,24 @@ void checkInventoryWindowsQuickFixEngineeringPackage( } core.List - buildUnnamed8728() => [ + buildUnnamed8833() => [ buildInventoryWindowsUpdatePackageWindowsUpdateCategory(), buildInventoryWindowsUpdatePackageWindowsUpdateCategory(), ]; -void checkUnnamed8728( +void checkUnnamed8833( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventoryWindowsUpdatePackageWindowsUpdateCategory(o[0]); checkInventoryWindowsUpdatePackageWindowsUpdateCategory(o[1]); } -core.List buildUnnamed8729() => [ +core.List buildUnnamed8834() => [ 'foo', 'foo', ]; -void checkUnnamed8729(core.List o) { +void checkUnnamed8834(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -548,12 +621,12 @@ void checkUnnamed8729(core.List o) { ); } -core.List buildUnnamed8730() => [ +core.List buildUnnamed8835() => [ 'foo', 'foo', ]; -void checkUnnamed8730(core.List o) { +void checkUnnamed8835(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -570,11 +643,11 @@ api.InventoryWindowsUpdatePackage buildInventoryWindowsUpdatePackage() { final o = api.InventoryWindowsUpdatePackage(); buildCounterInventoryWindowsUpdatePackage++; if (buildCounterInventoryWindowsUpdatePackage < 3) { - o.categories = buildUnnamed8728(); + o.categories = buildUnnamed8833(); o.description = 'foo'; - o.kbArticleIds = buildUnnamed8729(); + o.kbArticleIds = buildUnnamed8834(); o.lastDeploymentChangeTime = 'foo'; - o.moreInfoUrls = buildUnnamed8730(); + o.moreInfoUrls = buildUnnamed8835(); o.revisionNumber = 42; o.supportUrl = 'foo'; o.title = 'foo'; @@ -587,17 +660,17 @@ api.InventoryWindowsUpdatePackage buildInventoryWindowsUpdatePackage() { void checkInventoryWindowsUpdatePackage(api.InventoryWindowsUpdatePackage o) { buildCounterInventoryWindowsUpdatePackage++; if (buildCounterInventoryWindowsUpdatePackage < 3) { - checkUnnamed8728(o.categories!); + checkUnnamed8833(o.categories!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed8729(o.kbArticleIds!); + checkUnnamed8834(o.kbArticleIds!); unittest.expect( o.lastDeploymentChangeTime!, unittest.equals('foo'), ); - checkUnnamed8730(o.moreInfoUrls!); + checkUnnamed8835(o.moreInfoUrls!); unittest.expect( o.revisionNumber!, unittest.equals(42), @@ -684,12 +757,12 @@ void checkInventoryZypperPatch(api.InventoryZypperPatch o) { buildCounterInventoryZypperPatch--; } -core.List buildUnnamed8731() => [ +core.List buildUnnamed8836() => [ buildInstanceOSPoliciesCompliance(), buildInstanceOSPoliciesCompliance(), ]; -void checkUnnamed8731(core.List o) { +void checkUnnamed8836(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceOSPoliciesCompliance(o[0]); checkInstanceOSPoliciesCompliance(o[1]); @@ -701,7 +774,7 @@ api.ListInstanceOSPoliciesCompliancesResponse final o = api.ListInstanceOSPoliciesCompliancesResponse(); buildCounterListInstanceOSPoliciesCompliancesResponse++; if (buildCounterListInstanceOSPoliciesCompliancesResponse < 3) { - o.instanceOsPoliciesCompliances = buildUnnamed8731(); + o.instanceOsPoliciesCompliances = buildUnnamed8836(); o.nextPageToken = 'foo'; } buildCounterListInstanceOSPoliciesCompliancesResponse--; @@ -712,7 +785,7 @@ void checkListInstanceOSPoliciesCompliancesResponse( api.ListInstanceOSPoliciesCompliancesResponse o) { buildCounterListInstanceOSPoliciesCompliancesResponse++; if (buildCounterListInstanceOSPoliciesCompliancesResponse < 3) { - checkUnnamed8731(o.instanceOsPoliciesCompliances!); + checkUnnamed8836(o.instanceOsPoliciesCompliances!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -721,12 +794,12 @@ void checkListInstanceOSPoliciesCompliancesResponse( buildCounterListInstanceOSPoliciesCompliancesResponse--; } -core.List buildUnnamed8732() => [ +core.List buildUnnamed8837() => [ buildInventory(), buildInventory(), ]; -void checkUnnamed8732(core.List o) { +void checkUnnamed8837(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInventory(o[0]); checkInventory(o[1]); @@ -737,7 +810,7 @@ api.ListInventoriesResponse buildListInventoriesResponse() { final o = api.ListInventoriesResponse(); buildCounterListInventoriesResponse++; if (buildCounterListInventoriesResponse < 3) { - o.inventories = buildUnnamed8732(); + o.inventories = buildUnnamed8837(); o.nextPageToken = 'foo'; } buildCounterListInventoriesResponse--; @@ -747,7 +820,7 @@ api.ListInventoriesResponse buildListInventoriesResponse() { void checkListInventoriesResponse(api.ListInventoriesResponse o) { buildCounterListInventoriesResponse++; if (buildCounterListInventoriesResponse < 3) { - checkUnnamed8732(o.inventories!); + checkUnnamed8837(o.inventories!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -756,12 +829,12 @@ void checkListInventoriesResponse(api.ListInventoriesResponse o) { buildCounterListInventoriesResponse--; } -core.List buildUnnamed8733() => [ +core.List buildUnnamed8838() => [ buildOSPolicyAssignment(), buildOSPolicyAssignment(), ]; -void checkUnnamed8733(core.List o) { +void checkUnnamed8838(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyAssignment(o[0]); checkOSPolicyAssignment(o[1]); @@ -774,7 +847,7 @@ api.ListOSPolicyAssignmentRevisionsResponse buildCounterListOSPolicyAssignmentRevisionsResponse++; if (buildCounterListOSPolicyAssignmentRevisionsResponse < 3) { o.nextPageToken = 'foo'; - o.osPolicyAssignments = buildUnnamed8733(); + o.osPolicyAssignments = buildUnnamed8838(); } buildCounterListOSPolicyAssignmentRevisionsResponse--; return o; @@ -788,17 +861,17 @@ void checkListOSPolicyAssignmentRevisionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8733(o.osPolicyAssignments!); + checkUnnamed8838(o.osPolicyAssignments!); } buildCounterListOSPolicyAssignmentRevisionsResponse--; } -core.List buildUnnamed8734() => [ +core.List buildUnnamed8839() => [ buildOSPolicyAssignment(), buildOSPolicyAssignment(), ]; -void checkUnnamed8734(core.List o) { +void checkUnnamed8839(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyAssignment(o[0]); checkOSPolicyAssignment(o[1]); @@ -810,7 +883,7 @@ api.ListOSPolicyAssignmentsResponse buildListOSPolicyAssignmentsResponse() { buildCounterListOSPolicyAssignmentsResponse++; if (buildCounterListOSPolicyAssignmentsResponse < 3) { o.nextPageToken = 'foo'; - o.osPolicyAssignments = buildUnnamed8734(); + o.osPolicyAssignments = buildUnnamed8839(); } buildCounterListOSPolicyAssignmentsResponse--; return o; @@ -824,17 +897,17 @@ void checkListOSPolicyAssignmentsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8734(o.osPolicyAssignments!); + checkUnnamed8839(o.osPolicyAssignments!); } buildCounterListOSPolicyAssignmentsResponse--; } -core.List buildUnnamed8735() => [ +core.List buildUnnamed8840() => [ buildVulnerabilityReport(), buildVulnerabilityReport(), ]; -void checkUnnamed8735(core.List o) { +void checkUnnamed8840(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVulnerabilityReport(o[0]); checkVulnerabilityReport(o[1]); @@ -846,7 +919,7 @@ api.ListVulnerabilityReportsResponse buildListVulnerabilityReportsResponse() { buildCounterListVulnerabilityReportsResponse++; if (buildCounterListVulnerabilityReportsResponse < 3) { o.nextPageToken = 'foo'; - o.vulnerabilityReports = buildUnnamed8735(); + o.vulnerabilityReports = buildUnnamed8840(); } buildCounterListVulnerabilityReportsResponse--; return o; @@ -860,17 +933,17 @@ void checkListVulnerabilityReportsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8735(o.vulnerabilityReports!); + checkUnnamed8840(o.vulnerabilityReports!); } buildCounterListVulnerabilityReportsResponse--; } -core.List buildUnnamed8736() => [ +core.List buildUnnamed8841() => [ buildOSPolicyResourceGroup(), buildOSPolicyResourceGroup(), ]; -void checkUnnamed8736(core.List o) { +void checkUnnamed8841(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyResourceGroup(o[0]); checkOSPolicyResourceGroup(o[1]); @@ -885,7 +958,7 @@ api.OSPolicy buildOSPolicy() { o.description = 'foo'; o.id = 'foo'; o.mode = 'foo'; - o.resourceGroups = buildUnnamed8736(); + o.resourceGroups = buildUnnamed8841(); } buildCounterOSPolicy--; return o; @@ -907,17 +980,17 @@ void checkOSPolicy(api.OSPolicy o) { o.mode!, unittest.equals('foo'), ); - checkUnnamed8736(o.resourceGroups!); + checkUnnamed8841(o.resourceGroups!); } buildCounterOSPolicy--; } -core.List buildUnnamed8737() => [ +core.List buildUnnamed8842() => [ buildOSPolicy(), buildOSPolicy(), ]; -void checkUnnamed8737(core.List o) { +void checkUnnamed8842(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicy(o[0]); checkOSPolicy(o[1]); @@ -931,9 +1004,10 @@ api.OSPolicyAssignment buildOSPolicyAssignment() { o.baseline = true; o.deleted = true; o.description = 'foo'; + o.etag = 'foo'; o.instanceFilter = buildOSPolicyAssignmentInstanceFilter(); o.name = 'foo'; - o.osPolicies = buildUnnamed8737(); + o.osPolicies = buildUnnamed8842(); o.reconciling = true; o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; @@ -954,12 +1028,16 @@ void checkOSPolicyAssignment(api.OSPolicyAssignment o) { o.description!, unittest.equals('foo'), ); + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); checkOSPolicyAssignmentInstanceFilter(o.instanceFilter!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8737(o.osPolicies!); + checkUnnamed8842(o.osPolicies!); unittest.expect(o.reconciling!, unittest.isTrue); unittest.expect( o.revisionCreateTime!, @@ -982,34 +1060,46 @@ void checkOSPolicyAssignment(api.OSPolicyAssignment o) { buildCounterOSPolicyAssignment--; } -core.List buildUnnamed8738() => [ +core.List buildUnnamed8843() => [ buildOSPolicyAssignmentLabelSet(), buildOSPolicyAssignmentLabelSet(), ]; -void checkUnnamed8738(core.List o) { +void checkUnnamed8843(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyAssignmentLabelSet(o[0]); checkOSPolicyAssignmentLabelSet(o[1]); } -core.List buildUnnamed8739() => [ +core.List buildUnnamed8844() => [ buildOSPolicyAssignmentLabelSet(), buildOSPolicyAssignmentLabelSet(), ]; -void checkUnnamed8739(core.List o) { +void checkUnnamed8844(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyAssignmentLabelSet(o[0]); checkOSPolicyAssignmentLabelSet(o[1]); } -core.List buildUnnamed8740() => [ +core.List buildUnnamed8845() => [ + buildOSPolicyAssignmentInstanceFilterInventory(), + buildOSPolicyAssignmentInstanceFilterInventory(), + ]; + +void checkUnnamed8845( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkOSPolicyAssignmentInstanceFilterInventory(o[0]); + checkOSPolicyAssignmentInstanceFilterInventory(o[1]); +} + +core.List buildUnnamed8846() => [ 'foo', 'foo', ]; -void checkUnnamed8740(core.List o) { +void checkUnnamed8846(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1027,9 +1117,10 @@ api.OSPolicyAssignmentInstanceFilter buildOSPolicyAssignmentInstanceFilter() { buildCounterOSPolicyAssignmentInstanceFilter++; if (buildCounterOSPolicyAssignmentInstanceFilter < 3) { o.all = true; - o.exclusionLabels = buildUnnamed8738(); - o.inclusionLabels = buildUnnamed8739(); - o.osShortNames = buildUnnamed8740(); + o.exclusionLabels = buildUnnamed8843(); + o.inclusionLabels = buildUnnamed8844(); + o.inventories = buildUnnamed8845(); + o.osShortNames = buildUnnamed8846(); } buildCounterOSPolicyAssignmentInstanceFilter--; return o; @@ -1040,19 +1131,49 @@ void checkOSPolicyAssignmentInstanceFilter( buildCounterOSPolicyAssignmentInstanceFilter++; if (buildCounterOSPolicyAssignmentInstanceFilter < 3) { unittest.expect(o.all!, unittest.isTrue); - checkUnnamed8738(o.exclusionLabels!); - checkUnnamed8739(o.inclusionLabels!); - checkUnnamed8740(o.osShortNames!); + checkUnnamed8843(o.exclusionLabels!); + checkUnnamed8844(o.inclusionLabels!); + checkUnnamed8845(o.inventories!); + checkUnnamed8846(o.osShortNames!); } buildCounterOSPolicyAssignmentInstanceFilter--; } -core.Map buildUnnamed8741() => { +core.int buildCounterOSPolicyAssignmentInstanceFilterInventory = 0; +api.OSPolicyAssignmentInstanceFilterInventory + buildOSPolicyAssignmentInstanceFilterInventory() { + final o = api.OSPolicyAssignmentInstanceFilterInventory(); + buildCounterOSPolicyAssignmentInstanceFilterInventory++; + if (buildCounterOSPolicyAssignmentInstanceFilterInventory < 3) { + o.osShortName = 'foo'; + o.osVersion = 'foo'; + } + buildCounterOSPolicyAssignmentInstanceFilterInventory--; + return o; +} + +void checkOSPolicyAssignmentInstanceFilterInventory( + api.OSPolicyAssignmentInstanceFilterInventory o) { + buildCounterOSPolicyAssignmentInstanceFilterInventory++; + if (buildCounterOSPolicyAssignmentInstanceFilterInventory < 3) { + unittest.expect( + o.osShortName!, + unittest.equals('foo'), + ); + unittest.expect( + o.osVersion!, + unittest.equals('foo'), + ); + } + buildCounterOSPolicyAssignmentInstanceFilterInventory--; +} + +core.Map buildUnnamed8847() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8741(core.Map o) { +void checkUnnamed8847(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1069,7 +1190,7 @@ api.OSPolicyAssignmentLabelSet buildOSPolicyAssignmentLabelSet() { final o = api.OSPolicyAssignmentLabelSet(); buildCounterOSPolicyAssignmentLabelSet++; if (buildCounterOSPolicyAssignmentLabelSet < 3) { - o.labels = buildUnnamed8741(); + o.labels = buildUnnamed8847(); } buildCounterOSPolicyAssignmentLabelSet--; return o; @@ -1078,7 +1199,7 @@ api.OSPolicyAssignmentLabelSet buildOSPolicyAssignmentLabelSet() { void checkOSPolicyAssignmentLabelSet(api.OSPolicyAssignmentLabelSet o) { buildCounterOSPolicyAssignmentLabelSet++; if (buildCounterOSPolicyAssignmentLabelSet < 3) { - checkUnnamed8741(o.labels!); + checkUnnamed8847(o.labels!); } buildCounterOSPolicyAssignmentLabelSet--; } @@ -1151,6 +1272,33 @@ void checkOSPolicyAssignmentRollout(api.OSPolicyAssignmentRollout o) { buildCounterOSPolicyAssignmentRollout--; } +core.int buildCounterOSPolicyInventoryFilter = 0; +api.OSPolicyInventoryFilter buildOSPolicyInventoryFilter() { + final o = api.OSPolicyInventoryFilter(); + buildCounterOSPolicyInventoryFilter++; + if (buildCounterOSPolicyInventoryFilter < 3) { + o.osShortName = 'foo'; + o.osVersion = 'foo'; + } + buildCounterOSPolicyInventoryFilter--; + return o; +} + +void checkOSPolicyInventoryFilter(api.OSPolicyInventoryFilter o) { + buildCounterOSPolicyInventoryFilter++; + if (buildCounterOSPolicyInventoryFilter < 3) { + unittest.expect( + o.osShortName!, + unittest.equals('foo'), + ); + unittest.expect( + o.osVersion!, + unittest.equals('foo'), + ); + } + buildCounterOSPolicyInventoryFilter--; +} + core.int buildCounterOSPolicyOSFilter = 0; api.OSPolicyOSFilter buildOSPolicyOSFilter() { final o = api.OSPolicyOSFilter(); @@ -1208,12 +1356,12 @@ void checkOSPolicyResource(api.OSPolicyResource o) { buildCounterOSPolicyResource--; } -core.List buildUnnamed8742() => [ +core.List buildUnnamed8848() => [ buildOSPolicyResourceConfigStep(), buildOSPolicyResourceConfigStep(), ]; -void checkUnnamed8742(core.List o) { +void checkUnnamed8848(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyResourceConfigStep(o[0]); checkOSPolicyResourceConfigStep(o[1]); @@ -1224,7 +1372,7 @@ api.OSPolicyResourceCompliance buildOSPolicyResourceCompliance() { final o = api.OSPolicyResourceCompliance(); buildCounterOSPolicyResourceCompliance++; if (buildCounterOSPolicyResourceCompliance < 3) { - o.configSteps = buildUnnamed8742(); + o.configSteps = buildUnnamed8848(); o.execResourceOutput = buildOSPolicyResourceComplianceExecResourceOutput(); o.osPolicyResourceId = 'foo'; o.state = 'foo'; @@ -1236,7 +1384,7 @@ api.OSPolicyResourceCompliance buildOSPolicyResourceCompliance() { void checkOSPolicyResourceCompliance(api.OSPolicyResourceCompliance o) { buildCounterOSPolicyResourceCompliance++; if (buildCounterOSPolicyResourceCompliance < 3) { - checkUnnamed8742(o.configSteps!); + checkUnnamed8848(o.configSteps!); checkOSPolicyResourceComplianceExecResourceOutput(o.execResourceOutput!); unittest.expect( o.osPolicyResourceId!, @@ -1327,12 +1475,12 @@ void checkOSPolicyResourceExecResource(api.OSPolicyResourceExecResource o) { buildCounterOSPolicyResourceExecResource--; } -core.List buildUnnamed8743() => [ +core.List buildUnnamed8849() => [ 'foo', 'foo', ]; -void checkUnnamed8743(core.List o) { +void checkUnnamed8849(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1349,7 +1497,7 @@ api.OSPolicyResourceExecResourceExec buildOSPolicyResourceExecResourceExec() { final o = api.OSPolicyResourceExecResourceExec(); buildCounterOSPolicyResourceExecResourceExec++; if (buildCounterOSPolicyResourceExecResourceExec < 3) { - o.args = buildUnnamed8743(); + o.args = buildUnnamed8849(); o.file = buildOSPolicyResourceFile(); o.interpreter = 'foo'; o.outputFilePath = 'foo'; @@ -1363,7 +1511,7 @@ void checkOSPolicyResourceExecResourceExec( api.OSPolicyResourceExecResourceExec o) { buildCounterOSPolicyResourceExecResourceExec++; if (buildCounterOSPolicyResourceExecResourceExec < 3) { - checkUnnamed8743(o.args!); + checkUnnamed8849(o.args!); checkOSPolicyResourceFile(o.file!); unittest.expect( o.interpreter!, @@ -1507,12 +1655,23 @@ void checkOSPolicyResourceFileResource(api.OSPolicyResourceFileResource o) { buildCounterOSPolicyResourceFileResource--; } -core.List buildUnnamed8744() => [ +core.List buildUnnamed8850() => [ + buildOSPolicyInventoryFilter(), + buildOSPolicyInventoryFilter(), + ]; + +void checkUnnamed8850(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkOSPolicyInventoryFilter(o[0]); + checkOSPolicyInventoryFilter(o[1]); +} + +core.List buildUnnamed8851() => [ buildOSPolicyResource(), buildOSPolicyResource(), ]; -void checkUnnamed8744(core.List o) { +void checkUnnamed8851(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOSPolicyResource(o[0]); checkOSPolicyResource(o[1]); @@ -1523,8 +1682,9 @@ api.OSPolicyResourceGroup buildOSPolicyResourceGroup() { final o = api.OSPolicyResourceGroup(); buildCounterOSPolicyResourceGroup++; if (buildCounterOSPolicyResourceGroup < 3) { + o.inventoryFilters = buildUnnamed8850(); o.osFilter = buildOSPolicyOSFilter(); - o.resources = buildUnnamed8744(); + o.resources = buildUnnamed8851(); } buildCounterOSPolicyResourceGroup--; return o; @@ -1533,8 +1693,9 @@ api.OSPolicyResourceGroup buildOSPolicyResourceGroup() { void checkOSPolicyResourceGroup(api.OSPolicyResourceGroup o) { buildCounterOSPolicyResourceGroup++; if (buildCounterOSPolicyResourceGroup < 3) { + checkUnnamed8850(o.inventoryFilters!); checkOSPolicyOSFilter(o.osFilter!); - checkUnnamed8744(o.resources!); + checkUnnamed8851(o.resources!); } buildCounterOSPolicyResourceGroup--; } @@ -1647,12 +1808,12 @@ void checkOSPolicyResourcePackageResourceGooGet( buildCounterOSPolicyResourcePackageResourceGooGet--; } -core.List buildUnnamed8745() => [ +core.List buildUnnamed8852() => [ 'foo', 'foo', ]; -void checkUnnamed8745(core.List o) { +void checkUnnamed8852(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1670,7 +1831,7 @@ api.OSPolicyResourcePackageResourceMSI final o = api.OSPolicyResourcePackageResourceMSI(); buildCounterOSPolicyResourcePackageResourceMSI++; if (buildCounterOSPolicyResourcePackageResourceMSI < 3) { - o.properties = buildUnnamed8745(); + o.properties = buildUnnamed8852(); o.source = buildOSPolicyResourceFile(); } buildCounterOSPolicyResourcePackageResourceMSI--; @@ -1681,7 +1842,7 @@ void checkOSPolicyResourcePackageResourceMSI( api.OSPolicyResourcePackageResourceMSI o) { buildCounterOSPolicyResourcePackageResourceMSI++; if (buildCounterOSPolicyResourcePackageResourceMSI < 3) { - checkUnnamed8745(o.properties!); + checkUnnamed8852(o.properties!); checkOSPolicyResourceFile(o.source!); } buildCounterOSPolicyResourcePackageResourceMSI--; @@ -1785,12 +1946,12 @@ void checkOSPolicyResourceRepositoryResource( buildCounterOSPolicyResourceRepositoryResource--; } -core.List buildUnnamed8746() => [ +core.List buildUnnamed8853() => [ 'foo', 'foo', ]; -void checkUnnamed8746(core.List o) { +void checkUnnamed8853(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1809,7 +1970,7 @@ api.OSPolicyResourceRepositoryResourceAptRepository buildCounterOSPolicyResourceRepositoryResourceAptRepository++; if (buildCounterOSPolicyResourceRepositoryResourceAptRepository < 3) { o.archiveType = 'foo'; - o.components = buildUnnamed8746(); + o.components = buildUnnamed8853(); o.distribution = 'foo'; o.gpgKey = 'foo'; o.uri = 'foo'; @@ -1826,7 +1987,7 @@ void checkOSPolicyResourceRepositoryResourceAptRepository( o.archiveType!, unittest.equals('foo'), ); - checkUnnamed8746(o.components!); + checkUnnamed8853(o.components!); unittest.expect( o.distribution!, unittest.equals('foo'), @@ -1872,12 +2033,12 @@ void checkOSPolicyResourceRepositoryResourceGooRepository( buildCounterOSPolicyResourceRepositoryResourceGooRepository--; } -core.List buildUnnamed8747() => [ +core.List buildUnnamed8854() => [ 'foo', 'foo', ]; -void checkUnnamed8747(core.List o) { +void checkUnnamed8854(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1897,7 +2058,7 @@ api.OSPolicyResourceRepositoryResourceYumRepository if (buildCounterOSPolicyResourceRepositoryResourceYumRepository < 3) { o.baseUrl = 'foo'; o.displayName = 'foo'; - o.gpgKeys = buildUnnamed8747(); + o.gpgKeys = buildUnnamed8854(); o.id = 'foo'; } buildCounterOSPolicyResourceRepositoryResourceYumRepository--; @@ -1916,7 +2077,7 @@ void checkOSPolicyResourceRepositoryResourceYumRepository( o.displayName!, unittest.equals('foo'), ); - checkUnnamed8747(o.gpgKeys!); + checkUnnamed8854(o.gpgKeys!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1925,12 +2086,12 @@ void checkOSPolicyResourceRepositoryResourceYumRepository( buildCounterOSPolicyResourceRepositoryResourceYumRepository--; } -core.List buildUnnamed8748() => [ +core.List buildUnnamed8855() => [ 'foo', 'foo', ]; -void checkUnnamed8748(core.List o) { +void checkUnnamed8855(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1950,7 +2111,7 @@ api.OSPolicyResourceRepositoryResourceZypperRepository if (buildCounterOSPolicyResourceRepositoryResourceZypperRepository < 3) { o.baseUrl = 'foo'; o.displayName = 'foo'; - o.gpgKeys = buildUnnamed8748(); + o.gpgKeys = buildUnnamed8855(); o.id = 'foo'; } buildCounterOSPolicyResourceRepositoryResourceZypperRepository--; @@ -1969,7 +2130,7 @@ void checkOSPolicyResourceRepositoryResourceZypperRepository( o.displayName!, unittest.equals('foo'), ); - checkUnnamed8748(o.gpgKeys!); + checkUnnamed8855(o.gpgKeys!); unittest.expect( o.id!, unittest.equals('foo'), @@ -1978,7 +2139,7 @@ void checkOSPolicyResourceRepositoryResourceZypperRepository( buildCounterOSPolicyResourceRepositoryResourceZypperRepository--; } -core.Map buildUnnamed8749() => { +core.Map buildUnnamed8856() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1991,7 +2152,7 @@ core.Map buildUnnamed8749() => { }, }; -void checkUnnamed8749(core.Map o) { +void checkUnnamed8856(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2023,7 +2184,7 @@ void checkUnnamed8749(core.Map o) { ); } -core.Map buildUnnamed8750() => { +core.Map buildUnnamed8857() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2036,7 +2197,7 @@ core.Map buildUnnamed8750() => { }, }; -void checkUnnamed8750(core.Map o) { +void checkUnnamed8857(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -2075,9 +2236,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8749(); + o.metadata = buildUnnamed8856(); o.name = 'foo'; - o.response = buildUnnamed8750(); + o.response = buildUnnamed8857(); } buildCounterOperation--; return o; @@ -2088,17 +2249,17 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8749(o.metadata!); + checkUnnamed8856(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8750(o.response!); + checkUnnamed8857(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed8751() => { +core.Map buildUnnamed8858() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2111,7 +2272,7 @@ core.Map buildUnnamed8751() => { }, }; -void checkUnnamed8751(core.Map o) { +void checkUnnamed8858(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2143,15 +2304,15 @@ void checkUnnamed8751(core.Map o) { ); } -core.List> buildUnnamed8752() => [ - buildUnnamed8751(), - buildUnnamed8751(), +core.List> buildUnnamed8859() => [ + buildUnnamed8858(), + buildUnnamed8858(), ]; -void checkUnnamed8752(core.List> o) { +void checkUnnamed8859(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8751(o[0]); - checkUnnamed8751(o[1]); + checkUnnamed8858(o[0]); + checkUnnamed8858(o[1]); } core.int buildCounterStatus = 0; @@ -2160,7 +2321,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8752(); + o.details = buildUnnamed8859(); o.message = 'foo'; } buildCounterStatus--; @@ -2174,7 +2335,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8752(o.details!); + checkUnnamed8859(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2183,12 +2344,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8753() => [ +core.List buildUnnamed8860() => [ buildVulnerabilityReportVulnerability(), buildVulnerabilityReportVulnerability(), ]; -void checkUnnamed8753(core.List o) { +void checkUnnamed8860(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVulnerabilityReportVulnerability(o[0]); checkVulnerabilityReportVulnerability(o[1]); @@ -2201,7 +2362,7 @@ api.VulnerabilityReport buildVulnerabilityReport() { if (buildCounterVulnerabilityReport < 3) { o.name = 'foo'; o.updateTime = 'foo'; - o.vulnerabilities = buildUnnamed8753(); + o.vulnerabilities = buildUnnamed8860(); } buildCounterVulnerabilityReport--; return o; @@ -2218,17 +2379,17 @@ void checkVulnerabilityReport(api.VulnerabilityReport o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed8753(o.vulnerabilities!); + checkUnnamed8860(o.vulnerabilities!); } buildCounterVulnerabilityReport--; } -core.List buildUnnamed8754() => [ +core.List buildUnnamed8861() => [ 'foo', 'foo', ]; -void checkUnnamed8754(core.List o) { +void checkUnnamed8861(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2240,12 +2401,12 @@ void checkUnnamed8754(core.List o) { ); } -core.List buildUnnamed8755() => [ +core.List buildUnnamed8862() => [ 'foo', 'foo', ]; -void checkUnnamed8755(core.List o) { +void checkUnnamed8862(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2262,10 +2423,10 @@ api.VulnerabilityReportVulnerability buildVulnerabilityReportVulnerability() { final o = api.VulnerabilityReportVulnerability(); buildCounterVulnerabilityReportVulnerability++; if (buildCounterVulnerabilityReportVulnerability < 3) { - o.availableInventoryItemIds = buildUnnamed8754(); + o.availableInventoryItemIds = buildUnnamed8861(); o.createTime = 'foo'; o.details = buildVulnerabilityReportVulnerabilityDetails(); - o.installedInventoryItemIds = buildUnnamed8755(); + o.installedInventoryItemIds = buildUnnamed8862(); o.updateTime = 'foo'; } buildCounterVulnerabilityReportVulnerability--; @@ -2276,13 +2437,13 @@ void checkVulnerabilityReportVulnerability( api.VulnerabilityReportVulnerability o) { buildCounterVulnerabilityReportVulnerability++; if (buildCounterVulnerabilityReportVulnerability < 3) { - checkUnnamed8754(o.availableInventoryItemIds!); + checkUnnamed8861(o.availableInventoryItemIds!); unittest.expect( o.createTime!, unittest.equals('foo'), ); checkVulnerabilityReportVulnerabilityDetails(o.details!); - checkUnnamed8755(o.installedInventoryItemIds!); + checkUnnamed8862(o.installedInventoryItemIds!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -2292,12 +2453,12 @@ void checkVulnerabilityReportVulnerability( } core.List - buildUnnamed8756() => [ + buildUnnamed8863() => [ buildVulnerabilityReportVulnerabilityDetailsReference(), buildVulnerabilityReportVulnerabilityDetailsReference(), ]; -void checkUnnamed8756( +void checkUnnamed8863( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVulnerabilityReportVulnerabilityDetailsReference(o[0]); @@ -2314,7 +2475,7 @@ api.VulnerabilityReportVulnerabilityDetails o.cvssV2Score = 42.0; o.cvssV3 = buildCVSSv3(); o.description = 'foo'; - o.references = buildUnnamed8756(); + o.references = buildUnnamed8863(); o.severity = 'foo'; } buildCounterVulnerabilityReportVulnerabilityDetails--; @@ -2338,7 +2499,7 @@ void checkVulnerabilityReportVulnerabilityDetails( o.description!, unittest.equals('foo'), ); - checkUnnamed8756(o.references!); + checkUnnamed8863(o.references!); unittest.expect( o.severity!, unittest.equals('foo'), @@ -2353,6 +2514,7 @@ api.VulnerabilityReportVulnerabilityDetailsReference final o = api.VulnerabilityReportVulnerabilityDetailsReference(); buildCounterVulnerabilityReportVulnerabilityDetailsReference++; if (buildCounterVulnerabilityReportVulnerabilityDetailsReference < 3) { + o.source = 'foo'; o.url = 'foo'; } buildCounterVulnerabilityReportVulnerabilityDetailsReference--; @@ -2363,6 +2525,10 @@ void checkVulnerabilityReportVulnerabilityDetailsReference( api.VulnerabilityReportVulnerabilityDetailsReference o) { buildCounterVulnerabilityReportVulnerabilityDetailsReference++; if (buildCounterVulnerabilityReportVulnerabilityDetailsReference < 3) { + unittest.expect( + o.source!, + unittest.equals('foo'), + ); unittest.expect( o.url!, unittest.equals('foo'), @@ -2392,6 +2558,16 @@ void main() { }); }); + unittest.group('obj-schema-Date', () { + unittest.test('to-json--from-json', () async { + final o = buildDate(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Date.fromJson(oJson as core.Map); + checkDate(od); + }); + }); + unittest.group('obj-schema-Empty', () { unittest.test('to-json--from-json', () async { final o = buildEmpty(); @@ -2483,6 +2659,16 @@ void main() { }); }); + unittest.group('obj-schema-InventoryWindowsApplication', () { + unittest.test('to-json--from-json', () async { + final o = buildInventoryWindowsApplication(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InventoryWindowsApplication.fromJson( + oJson as core.Map); + checkInventoryWindowsApplication(od); + }); + }); + unittest.group('obj-schema-InventoryWindowsQuickFixEngineeringPackage', () { unittest.test('to-json--from-json', () async { final o = buildInventoryWindowsQuickFixEngineeringPackage(); @@ -2605,6 +2791,16 @@ void main() { }); }); + unittest.group('obj-schema-OSPolicyAssignmentInstanceFilterInventory', () { + unittest.test('to-json--from-json', () async { + final o = buildOSPolicyAssignmentInstanceFilterInventory(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OSPolicyAssignmentInstanceFilterInventory.fromJson( + oJson as core.Map); + checkOSPolicyAssignmentInstanceFilterInventory(od); + }); + }); + unittest.group('obj-schema-OSPolicyAssignmentLabelSet', () { unittest.test('to-json--from-json', () async { final o = buildOSPolicyAssignmentLabelSet(); @@ -2635,6 +2831,16 @@ void main() { }); }); + unittest.group('obj-schema-OSPolicyInventoryFilter', () { + unittest.test('to-json--from-json', () async { + final o = buildOSPolicyInventoryFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OSPolicyInventoryFilter.fromJson( + oJson as core.Map); + checkOSPolicyInventoryFilter(od); + }); + }); + unittest.group('obj-schema-OSPolicyOSFilter', () { unittest.test('to-json--from-json', () async { final o = buildOSPolicyOSFilter(); diff --git a/generated/googleapis_beta/test/policysimulator/v1beta1_test.dart b/generated/googleapis_beta/test/policysimulator/v1beta1_test.dart index fb91e48c7..34b571418 100644 --- a/generated/googleapis_beta/test/policysimulator/v1beta1_test.dart +++ b/generated/googleapis_beta/test/policysimulator/v1beta1_test.dart @@ -59,12 +59,12 @@ void checkGoogleCloudPolicysimulatorV1Replay( buildCounterGoogleCloudPolicysimulatorV1Replay--; } -core.Map buildUnnamed8393() => { +core.Map buildUnnamed8483() => { 'x': buildGoogleIamV1Policy(), 'y': buildGoogleIamV1Policy(), }; -void checkUnnamed8393(core.Map o) { +void checkUnnamed8483(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Policy(o['x']!); checkGoogleIamV1Policy(o['y']!); @@ -77,7 +77,7 @@ api.GoogleCloudPolicysimulatorV1ReplayConfig buildCounterGoogleCloudPolicysimulatorV1ReplayConfig++; if (buildCounterGoogleCloudPolicysimulatorV1ReplayConfig < 3) { o.logSource = 'foo'; - o.policyOverlay = buildUnnamed8393(); + o.policyOverlay = buildUnnamed8483(); } buildCounterGoogleCloudPolicysimulatorV1ReplayConfig--; return o; @@ -91,7 +91,7 @@ void checkGoogleCloudPolicysimulatorV1ReplayConfig( o.logSource!, unittest.equals('foo'), ); - checkUnnamed8393(o.policyOverlay!); + checkUnnamed8483(o.policyOverlay!); } buildCounterGoogleCloudPolicysimulatorV1ReplayConfig--; } @@ -227,14 +227,14 @@ void checkGoogleCloudPolicysimulatorV1beta1AccessTuple( core.Map - buildUnnamed8394() => { + buildUnnamed8484() => { 'x': buildGoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership(), 'y': buildGoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership(), }; -void checkUnnamed8394( +void checkUnnamed8484( core.Map o) { @@ -253,7 +253,7 @@ api.GoogleCloudPolicysimulatorV1beta1BindingExplanation if (buildCounterGoogleCloudPolicysimulatorV1beta1BindingExplanation < 3) { o.access = 'foo'; o.condition = buildGoogleTypeExpr(); - o.memberships = buildUnnamed8394(); + o.memberships = buildUnnamed8484(); o.relevance = 'foo'; o.role = 'foo'; o.rolePermission = 'foo'; @@ -272,7 +272,7 @@ void checkGoogleCloudPolicysimulatorV1beta1BindingExplanation( unittest.equals('foo'), ); checkGoogleTypeExpr(o.condition!); - checkUnnamed8394(o.memberships!); + checkUnnamed8484(o.memberships!); unittest.expect( o.relevance!, unittest.equals('foo'), @@ -328,24 +328,24 @@ void checkGoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership buildCounterGoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership--; } -core.List buildUnnamed8395() => [ +core.List buildUnnamed8485() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8395(core.List o) { +void checkUnnamed8485(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); } core.List - buildUnnamed8396() => [ + buildUnnamed8486() => [ buildGoogleCloudPolicysimulatorV1beta1ExplainedPolicy(), buildGoogleCloudPolicysimulatorV1beta1ExplainedPolicy(), ]; -void checkUnnamed8396( +void checkUnnamed8486( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicysimulatorV1beta1ExplainedPolicy(o[0]); @@ -359,8 +359,8 @@ api.GoogleCloudPolicysimulatorV1beta1ExplainedAccess buildCounterGoogleCloudPolicysimulatorV1beta1ExplainedAccess++; if (buildCounterGoogleCloudPolicysimulatorV1beta1ExplainedAccess < 3) { o.accessState = 'foo'; - o.errors = buildUnnamed8395(); - o.policies = buildUnnamed8396(); + o.errors = buildUnnamed8485(); + o.policies = buildUnnamed8486(); } buildCounterGoogleCloudPolicysimulatorV1beta1ExplainedAccess--; return o; @@ -374,19 +374,19 @@ void checkGoogleCloudPolicysimulatorV1beta1ExplainedAccess( o.accessState!, unittest.equals('foo'), ); - checkUnnamed8395(o.errors!); - checkUnnamed8396(o.policies!); + checkUnnamed8485(o.errors!); + checkUnnamed8486(o.policies!); } buildCounterGoogleCloudPolicysimulatorV1beta1ExplainedAccess--; } core.List - buildUnnamed8397() => [ + buildUnnamed8487() => [ buildGoogleCloudPolicysimulatorV1beta1BindingExplanation(), buildGoogleCloudPolicysimulatorV1beta1BindingExplanation(), ]; -void checkUnnamed8397( +void checkUnnamed8487( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicysimulatorV1beta1BindingExplanation(o[0]); @@ -400,7 +400,7 @@ api.GoogleCloudPolicysimulatorV1beta1ExplainedPolicy buildCounterGoogleCloudPolicysimulatorV1beta1ExplainedPolicy++; if (buildCounterGoogleCloudPolicysimulatorV1beta1ExplainedPolicy < 3) { o.access = 'foo'; - o.bindingExplanations = buildUnnamed8397(); + o.bindingExplanations = buildUnnamed8487(); o.fullResourceName = 'foo'; o.policy = buildGoogleIamV1Policy(); o.relevance = 'foo'; @@ -417,7 +417,7 @@ void checkGoogleCloudPolicysimulatorV1beta1ExplainedPolicy( o.access!, unittest.equals('foo'), ); - checkUnnamed8397(o.bindingExplanations!); + checkUnnamed8487(o.bindingExplanations!); unittest.expect( o.fullResourceName!, unittest.equals('foo'), @@ -432,12 +432,12 @@ void checkGoogleCloudPolicysimulatorV1beta1ExplainedPolicy( } core.List - buildUnnamed8398() => [ + buildUnnamed8488() => [ buildGoogleCloudPolicysimulatorV1beta1ReplayResult(), buildGoogleCloudPolicysimulatorV1beta1ReplayResult(), ]; -void checkUnnamed8398( +void checkUnnamed8488( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudPolicysimulatorV1beta1ReplayResult(o[0]); @@ -453,7 +453,7 @@ api.GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse if (buildCounterGoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse < 3) { o.nextPageToken = 'foo'; - o.replayResults = buildUnnamed8398(); + o.replayResults = buildUnnamed8488(); } buildCounterGoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse--; return o; @@ -468,7 +468,7 @@ void checkGoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8398(o.replayResults!); + checkUnnamed8488(o.replayResults!); } buildCounterGoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse--; } @@ -508,12 +508,12 @@ void checkGoogleCloudPolicysimulatorV1beta1Replay( buildCounterGoogleCloudPolicysimulatorV1beta1Replay--; } -core.Map buildUnnamed8399() => { +core.Map buildUnnamed8489() => { 'x': buildGoogleIamV1Policy(), 'y': buildGoogleIamV1Policy(), }; -void checkUnnamed8399(core.Map o) { +void checkUnnamed8489(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Policy(o['x']!); checkGoogleIamV1Policy(o['y']!); @@ -526,7 +526,7 @@ api.GoogleCloudPolicysimulatorV1beta1ReplayConfig buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig++; if (buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig < 3) { o.logSource = 'foo'; - o.policyOverlay = buildUnnamed8399(); + o.policyOverlay = buildUnnamed8489(); } buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig--; return o; @@ -540,7 +540,7 @@ void checkGoogleCloudPolicysimulatorV1beta1ReplayConfig( o.logSource!, unittest.equals('foo'), ); - checkUnnamed8399(o.policyOverlay!); + checkUnnamed8489(o.policyOverlay!); } buildCounterGoogleCloudPolicysimulatorV1beta1ReplayConfig--; } @@ -673,12 +673,12 @@ void checkGoogleCloudPolicysimulatorV1beta1ReplayResultsSummary( buildCounterGoogleCloudPolicysimulatorV1beta1ReplayResultsSummary--; } -core.List buildUnnamed8400() => [ +core.List buildUnnamed8490() => [ buildGoogleIamV1AuditLogConfig(), buildGoogleIamV1AuditLogConfig(), ]; -void checkUnnamed8400(core.List o) { +void checkUnnamed8490(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditLogConfig(o[0]); checkGoogleIamV1AuditLogConfig(o[1]); @@ -689,7 +689,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { final o = api.GoogleIamV1AuditConfig(); buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8400(); + o.auditLogConfigs = buildUnnamed8490(); o.service = 'foo'; } buildCounterGoogleIamV1AuditConfig--; @@ -699,7 +699,7 @@ api.GoogleIamV1AuditConfig buildGoogleIamV1AuditConfig() { void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig++; if (buildCounterGoogleIamV1AuditConfig < 3) { - checkUnnamed8400(o.auditLogConfigs!); + checkUnnamed8490(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -708,12 +708,12 @@ void checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) { buildCounterGoogleIamV1AuditConfig--; } -core.List buildUnnamed8401() => [ +core.List buildUnnamed8491() => [ 'foo', 'foo', ]; -void checkUnnamed8401(core.List o) { +void checkUnnamed8491(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -730,7 +730,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { final o = api.GoogleIamV1AuditLogConfig(); buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8401(); + o.exemptedMembers = buildUnnamed8491(); o.logType = 'foo'; } buildCounterGoogleIamV1AuditLogConfig--; @@ -740,7 +740,7 @@ api.GoogleIamV1AuditLogConfig buildGoogleIamV1AuditLogConfig() { void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig++; if (buildCounterGoogleIamV1AuditLogConfig < 3) { - checkUnnamed8401(o.exemptedMembers!); + checkUnnamed8491(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -749,12 +749,12 @@ void checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) { buildCounterGoogleIamV1AuditLogConfig--; } -core.List buildUnnamed8402() => [ +core.List buildUnnamed8492() => [ 'foo', 'foo', ]; -void checkUnnamed8402(core.List o) { +void checkUnnamed8492(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -772,7 +772,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed8402(); + o.members = buildUnnamed8492(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -783,7 +783,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed8402(o.members!); + checkUnnamed8492(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -792,23 +792,23 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed8403() => [ +core.List buildUnnamed8493() => [ buildGoogleIamV1AuditConfig(), buildGoogleIamV1AuditConfig(), ]; -void checkUnnamed8403(core.List o) { +void checkUnnamed8493(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1AuditConfig(o[0]); checkGoogleIamV1AuditConfig(o[1]); } -core.List buildUnnamed8404() => [ +core.List buildUnnamed8494() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed8404(core.List o) { +void checkUnnamed8494(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -819,8 +819,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.auditConfigs = buildUnnamed8403(); - o.bindings = buildUnnamed8404(); + o.auditConfigs = buildUnnamed8493(); + o.bindings = buildUnnamed8494(); o.etag = 'foo'; o.version = 42; } @@ -831,8 +831,8 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed8403(o.auditConfigs!); - checkUnnamed8404(o.bindings!); + checkUnnamed8493(o.auditConfigs!); + checkUnnamed8494(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -845,12 +845,12 @@ void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy--; } -core.List buildUnnamed8405() => [ +core.List buildUnnamed8495() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed8405(core.List o) { +void checkUnnamed8495(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -863,7 +863,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8405(); + o.operations = buildUnnamed8495(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -877,12 +877,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8405(o.operations!); + checkUnnamed8495(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed8406() => { +core.Map buildUnnamed8496() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -895,7 +895,7 @@ core.Map buildUnnamed8406() => { }, }; -void checkUnnamed8406(core.Map o) { +void checkUnnamed8496(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -927,7 +927,7 @@ void checkUnnamed8406(core.Map o) { ); } -core.Map buildUnnamed8407() => { +core.Map buildUnnamed8497() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -940,7 +940,7 @@ core.Map buildUnnamed8407() => { }, }; -void checkUnnamed8407(core.Map o) { +void checkUnnamed8497(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -979,9 +979,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed8406(); + o.metadata = buildUnnamed8496(); o.name = 'foo'; - o.response = buildUnnamed8407(); + o.response = buildUnnamed8497(); } buildCounterGoogleLongrunningOperation--; return o; @@ -992,17 +992,17 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed8406(o.metadata!); + checkUnnamed8496(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8407(o.response!); + checkUnnamed8497(o.response!); } buildCounterGoogleLongrunningOperation--; } -core.Map buildUnnamed8408() => { +core.Map buildUnnamed8498() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1015,7 +1015,7 @@ core.Map buildUnnamed8408() => { }, }; -void checkUnnamed8408(core.Map o) { +void checkUnnamed8498(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1047,15 +1047,15 @@ void checkUnnamed8408(core.Map o) { ); } -core.List> buildUnnamed8409() => [ - buildUnnamed8408(), - buildUnnamed8408(), +core.List> buildUnnamed8499() => [ + buildUnnamed8498(), + buildUnnamed8498(), ]; -void checkUnnamed8409(core.List> o) { +void checkUnnamed8499(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8408(o[0]); - checkUnnamed8408(o[1]); + checkUnnamed8498(o[0]); + checkUnnamed8498(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -1064,7 +1064,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed8409(); + o.details = buildUnnamed8499(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -1078,7 +1078,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8409(o.details!); + checkUnnamed8499(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/privateca/v1beta1_test.dart b/generated/googleapis_beta/test/privateca/v1beta1_test.dart index 2af3bec77..4f067e3da 100644 --- a/generated/googleapis_beta/test/privateca/v1beta1_test.dart +++ b/generated/googleapis_beta/test/privateca/v1beta1_test.dart @@ -84,12 +84,12 @@ void checkActivateCertificateAuthorityRequest( buildCounterActivateCertificateAuthorityRequest--; } -core.List buildUnnamed8342() => [ +core.List buildUnnamed8432() => [ buildReusableConfigWrapper(), buildReusableConfigWrapper(), ]; -void checkUnnamed8342(core.List o) { +void checkUnnamed8432(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReusableConfigWrapper(o[0]); checkReusableConfigWrapper(o[1]); @@ -100,7 +100,7 @@ api.AllowedConfigList buildAllowedConfigList() { final o = api.AllowedConfigList(); buildCounterAllowedConfigList++; if (buildCounterAllowedConfigList < 3) { - o.allowedConfigValues = buildUnnamed8342(); + o.allowedConfigValues = buildUnnamed8432(); } buildCounterAllowedConfigList--; return o; @@ -109,17 +109,17 @@ api.AllowedConfigList buildAllowedConfigList() { void checkAllowedConfigList(api.AllowedConfigList o) { buildCounterAllowedConfigList++; if (buildCounterAllowedConfigList < 3) { - checkUnnamed8342(o.allowedConfigValues!); + checkUnnamed8432(o.allowedConfigValues!); } buildCounterAllowedConfigList--; } -core.List buildUnnamed8343() => [ +core.List buildUnnamed8433() => [ 'foo', 'foo', ]; -void checkUnnamed8343(core.List o) { +void checkUnnamed8433(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -131,12 +131,12 @@ void checkUnnamed8343(core.List o) { ); } -core.List buildUnnamed8344() => [ +core.List buildUnnamed8434() => [ 'foo', 'foo', ]; -void checkUnnamed8344(core.List o) { +void checkUnnamed8434(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -148,12 +148,12 @@ void checkUnnamed8344(core.List o) { ); } -core.List buildUnnamed8345() => [ +core.List buildUnnamed8435() => [ 'foo', 'foo', ]; -void checkUnnamed8345(core.List o) { +void checkUnnamed8435(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -165,12 +165,12 @@ void checkUnnamed8345(core.List o) { ); } -core.List buildUnnamed8346() => [ +core.List buildUnnamed8436() => [ 'foo', 'foo', ]; -void checkUnnamed8346(core.List o) { +void checkUnnamed8436(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -189,10 +189,10 @@ api.AllowedSubjectAltNames buildAllowedSubjectAltNames() { if (buildCounterAllowedSubjectAltNames < 3) { o.allowCustomSans = true; o.allowGlobbingDnsWildcards = true; - o.allowedDnsNames = buildUnnamed8343(); - o.allowedEmailAddresses = buildUnnamed8344(); - o.allowedIps = buildUnnamed8345(); - o.allowedUris = buildUnnamed8346(); + o.allowedDnsNames = buildUnnamed8433(); + o.allowedEmailAddresses = buildUnnamed8434(); + o.allowedIps = buildUnnamed8435(); + o.allowedUris = buildUnnamed8436(); } buildCounterAllowedSubjectAltNames--; return o; @@ -203,20 +203,20 @@ void checkAllowedSubjectAltNames(api.AllowedSubjectAltNames o) { if (buildCounterAllowedSubjectAltNames < 3) { unittest.expect(o.allowCustomSans!, unittest.isTrue); unittest.expect(o.allowGlobbingDnsWildcards!, unittest.isTrue); - checkUnnamed8343(o.allowedDnsNames!); - checkUnnamed8344(o.allowedEmailAddresses!); - checkUnnamed8345(o.allowedIps!); - checkUnnamed8346(o.allowedUris!); + checkUnnamed8433(o.allowedDnsNames!); + checkUnnamed8434(o.allowedEmailAddresses!); + checkUnnamed8435(o.allowedIps!); + checkUnnamed8436(o.allowedUris!); } buildCounterAllowedSubjectAltNames--; } -core.List buildUnnamed8347() => [ +core.List buildUnnamed8437() => [ buildAuditLogConfig(), buildAuditLogConfig(), ]; -void checkUnnamed8347(core.List o) { +void checkUnnamed8437(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditLogConfig(o[0]); checkAuditLogConfig(o[1]); @@ -227,7 +227,7 @@ api.AuditConfig buildAuditConfig() { final o = api.AuditConfig(); buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - o.auditLogConfigs = buildUnnamed8347(); + o.auditLogConfigs = buildUnnamed8437(); o.service = 'foo'; } buildCounterAuditConfig--; @@ -237,7 +237,7 @@ api.AuditConfig buildAuditConfig() { void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig++; if (buildCounterAuditConfig < 3) { - checkUnnamed8347(o.auditLogConfigs!); + checkUnnamed8437(o.auditLogConfigs!); unittest.expect( o.service!, unittest.equals('foo'), @@ -246,12 +246,12 @@ void checkAuditConfig(api.AuditConfig o) { buildCounterAuditConfig--; } -core.List buildUnnamed8348() => [ +core.List buildUnnamed8438() => [ 'foo', 'foo', ]; -void checkUnnamed8348(core.List o) { +void checkUnnamed8438(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -268,7 +268,7 @@ api.AuditLogConfig buildAuditLogConfig() { final o = api.AuditLogConfig(); buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - o.exemptedMembers = buildUnnamed8348(); + o.exemptedMembers = buildUnnamed8438(); o.logType = 'foo'; } buildCounterAuditLogConfig--; @@ -278,7 +278,7 @@ api.AuditLogConfig buildAuditLogConfig() { void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig++; if (buildCounterAuditLogConfig < 3) { - checkUnnamed8348(o.exemptedMembers!); + checkUnnamed8438(o.exemptedMembers!); unittest.expect( o.logType!, unittest.equals('foo'), @@ -287,12 +287,12 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.List buildUnnamed8349() => [ +core.List buildUnnamed8439() => [ 'foo', 'foo', ]; -void checkUnnamed8349(core.List o) { +void checkUnnamed8439(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -310,7 +310,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed8349(); + o.members = buildUnnamed8439(); o.role = 'foo'; } buildCounterBinding--; @@ -321,7 +321,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed8349(o.members!); + checkUnnamed8439(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -369,12 +369,12 @@ void checkCancelOperationRequest(api.CancelOperationRequest o) { buildCounterCancelOperationRequest--; } -core.Map buildUnnamed8350() => { +core.Map buildUnnamed8440() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8350(core.Map o) { +void checkUnnamed8440(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -386,12 +386,12 @@ void checkUnnamed8350(core.Map o) { ); } -core.List buildUnnamed8351() => [ +core.List buildUnnamed8441() => [ 'foo', 'foo', ]; -void checkUnnamed8351(core.List o) { +void checkUnnamed8441(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -411,11 +411,11 @@ api.Certificate buildCertificate() { o.certificateDescription = buildCertificateDescription(); o.config = buildCertificateConfig(); o.createTime = 'foo'; - o.labels = buildUnnamed8350(); + o.labels = buildUnnamed8440(); o.lifetime = 'foo'; o.name = 'foo'; o.pemCertificate = 'foo'; - o.pemCertificateChain = buildUnnamed8351(); + o.pemCertificateChain = buildUnnamed8441(); o.pemCsr = 'foo'; o.revocationDetails = buildRevocationDetails(); o.updateTime = 'foo'; @@ -433,7 +433,7 @@ void checkCertificate(api.Certificate o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed8350(o.labels!); + checkUnnamed8440(o.labels!); unittest.expect( o.lifetime!, unittest.equals('foo'), @@ -446,7 +446,7 @@ void checkCertificate(api.Certificate o) { o.pemCertificate!, unittest.equals('foo'), ); - checkUnnamed8351(o.pemCertificateChain!); + checkUnnamed8441(o.pemCertificateChain!); unittest.expect( o.pemCsr!, unittest.equals('foo'), @@ -460,23 +460,23 @@ void checkCertificate(api.Certificate o) { buildCounterCertificate--; } -core.List buildUnnamed8352() => [ +core.List buildUnnamed8442() => [ buildCertificateDescription(), buildCertificateDescription(), ]; -void checkUnnamed8352(core.List o) { +void checkUnnamed8442(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateDescription(o[0]); checkCertificateDescription(o[1]); } -core.Map buildUnnamed8353() => { +core.Map buildUnnamed8443() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8353(core.Map o) { +void checkUnnamed8443(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -488,12 +488,12 @@ void checkUnnamed8353(core.Map o) { ); } -core.List buildUnnamed8354() => [ +core.List buildUnnamed8444() => [ 'foo', 'foo', ]; -void checkUnnamed8354(core.List o) { +void checkUnnamed8444(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -511,7 +511,7 @@ api.CertificateAuthority buildCertificateAuthority() { buildCounterCertificateAuthority++; if (buildCounterCertificateAuthority < 3) { o.accessUrls = buildAccessUrls(); - o.caCertificateDescriptions = buildUnnamed8352(); + o.caCertificateDescriptions = buildUnnamed8442(); o.certificatePolicy = buildCertificateAuthorityPolicy(); o.config = buildCertificateConfig(); o.createTime = 'foo'; @@ -519,10 +519,10 @@ api.CertificateAuthority buildCertificateAuthority() { o.gcsBucket = 'foo'; o.issuingOptions = buildIssuingOptions(); o.keySpec = buildKeyVersionSpec(); - o.labels = buildUnnamed8353(); + o.labels = buildUnnamed8443(); o.lifetime = 'foo'; o.name = 'foo'; - o.pemCaCertificates = buildUnnamed8354(); + o.pemCaCertificates = buildUnnamed8444(); o.state = 'foo'; o.subordinateConfig = buildSubordinateConfig(); o.tier = 'foo'; @@ -537,7 +537,7 @@ void checkCertificateAuthority(api.CertificateAuthority o) { buildCounterCertificateAuthority++; if (buildCounterCertificateAuthority < 3) { checkAccessUrls(o.accessUrls!); - checkUnnamed8352(o.caCertificateDescriptions!); + checkUnnamed8442(o.caCertificateDescriptions!); checkCertificateAuthorityPolicy(o.certificatePolicy!); checkCertificateConfig(o.config!); unittest.expect( @@ -554,7 +554,7 @@ void checkCertificateAuthority(api.CertificateAuthority o) { ); checkIssuingOptions(o.issuingOptions!); checkKeyVersionSpec(o.keySpec!); - checkUnnamed8353(o.labels!); + checkUnnamed8443(o.labels!); unittest.expect( o.lifetime!, unittest.equals('foo'), @@ -563,7 +563,7 @@ void checkCertificateAuthority(api.CertificateAuthority o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8354(o.pemCaCertificates!); + checkUnnamed8444(o.pemCaCertificates!); unittest.expect( o.state!, unittest.equals('foo'), @@ -585,12 +585,12 @@ void checkCertificateAuthority(api.CertificateAuthority o) { buildCounterCertificateAuthority--; } -core.List buildUnnamed8355() => [ +core.List buildUnnamed8445() => [ 'foo', 'foo', ]; -void checkUnnamed8355(core.List o) { +void checkUnnamed8445(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -602,12 +602,12 @@ void checkUnnamed8355(core.List o) { ); } -core.List buildUnnamed8356() => [ +core.List buildUnnamed8446() => [ buildSubject(), buildSubject(), ]; -void checkUnnamed8356(core.List o) { +void checkUnnamed8446(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubject(o[0]); checkSubject(o[1]); @@ -618,10 +618,10 @@ api.CertificateAuthorityPolicy buildCertificateAuthorityPolicy() { final o = api.CertificateAuthorityPolicy(); buildCounterCertificateAuthorityPolicy++; if (buildCounterCertificateAuthorityPolicy < 3) { - o.allowedCommonNames = buildUnnamed8355(); + o.allowedCommonNames = buildUnnamed8445(); o.allowedConfigList = buildAllowedConfigList(); o.allowedIssuanceModes = buildIssuanceModes(); - o.allowedLocationsAndOrganizations = buildUnnamed8356(); + o.allowedLocationsAndOrganizations = buildUnnamed8446(); o.allowedSans = buildAllowedSubjectAltNames(); o.maximumLifetime = 'foo'; o.overwriteConfigValues = buildReusableConfigWrapper(); @@ -633,10 +633,10 @@ api.CertificateAuthorityPolicy buildCertificateAuthorityPolicy() { void checkCertificateAuthorityPolicy(api.CertificateAuthorityPolicy o) { buildCounterCertificateAuthorityPolicy++; if (buildCounterCertificateAuthorityPolicy < 3) { - checkUnnamed8355(o.allowedCommonNames!); + checkUnnamed8445(o.allowedCommonNames!); checkAllowedConfigList(o.allowedConfigList!); checkIssuanceModes(o.allowedIssuanceModes!); - checkUnnamed8356(o.allowedLocationsAndOrganizations!); + checkUnnamed8446(o.allowedLocationsAndOrganizations!); checkAllowedSubjectAltNames(o.allowedSans!); unittest.expect( o.maximumLifetime!, @@ -670,12 +670,12 @@ void checkCertificateConfig(api.CertificateConfig o) { buildCounterCertificateConfig--; } -core.List buildUnnamed8357() => [ +core.List buildUnnamed8447() => [ 'foo', 'foo', ]; -void checkUnnamed8357(core.List o) { +void checkUnnamed8447(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -687,12 +687,12 @@ void checkUnnamed8357(core.List o) { ); } -core.List buildUnnamed8358() => [ +core.List buildUnnamed8448() => [ 'foo', 'foo', ]; -void checkUnnamed8358(core.List o) { +void checkUnnamed8448(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -709,11 +709,11 @@ api.CertificateDescription buildCertificateDescription() { final o = api.CertificateDescription(); buildCounterCertificateDescription++; if (buildCounterCertificateDescription < 3) { - o.aiaIssuingCertificateUrls = buildUnnamed8357(); + o.aiaIssuingCertificateUrls = buildUnnamed8447(); o.authorityKeyId = buildKeyId(); o.certFingerprint = buildCertificateFingerprint(); o.configValues = buildReusableConfigValues(); - o.crlDistributionPoints = buildUnnamed8358(); + o.crlDistributionPoints = buildUnnamed8448(); o.publicKey = buildPublicKey(); o.subjectDescription = buildSubjectDescription(); o.subjectKeyId = buildKeyId(); @@ -725,11 +725,11 @@ api.CertificateDescription buildCertificateDescription() { void checkCertificateDescription(api.CertificateDescription o) { buildCounterCertificateDescription++; if (buildCounterCertificateDescription < 3) { - checkUnnamed8357(o.aiaIssuingCertificateUrls!); + checkUnnamed8447(o.aiaIssuingCertificateUrls!); checkKeyId(o.authorityKeyId!); checkCertificateFingerprint(o.certFingerprint!); checkReusableConfigValues(o.configValues!); - checkUnnamed8358(o.crlDistributionPoints!); + checkUnnamed8448(o.crlDistributionPoints!); checkPublicKey(o.publicKey!); checkSubjectDescription(o.subjectDescription!); checkKeyId(o.subjectKeyId!); @@ -759,12 +759,12 @@ void checkCertificateFingerprint(api.CertificateFingerprint o) { buildCounterCertificateFingerprint--; } -core.Map buildUnnamed8359() => { +core.Map buildUnnamed8449() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8359(core.Map o) { +void checkUnnamed8449(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -776,12 +776,12 @@ void checkUnnamed8359(core.Map o) { ); } -core.List buildUnnamed8360() => [ +core.List buildUnnamed8450() => [ buildRevokedCertificate(), buildRevokedCertificate(), ]; -void checkUnnamed8360(core.List o) { +void checkUnnamed8450(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRevokedCertificate(o[0]); checkRevokedCertificate(o[1]); @@ -794,10 +794,10 @@ api.CertificateRevocationList buildCertificateRevocationList() { if (buildCounterCertificateRevocationList < 3) { o.accessUrl = 'foo'; o.createTime = 'foo'; - o.labels = buildUnnamed8359(); + o.labels = buildUnnamed8449(); o.name = 'foo'; o.pemCrl = 'foo'; - o.revokedCertificates = buildUnnamed8360(); + o.revokedCertificates = buildUnnamed8450(); o.sequenceNumber = 'foo'; o.state = 'foo'; o.updateTime = 'foo'; @@ -817,7 +817,7 @@ void checkCertificateRevocationList(api.CertificateRevocationList o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed8359(o.labels!); + checkUnnamed8449(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -826,7 +826,7 @@ void checkCertificateRevocationList(api.CertificateRevocationList o) { o.pemCrl!, unittest.equals('foo'), ); - checkUnnamed8360(o.revokedCertificates!); + checkUnnamed8450(o.revokedCertificates!); unittest.expect( o.sequenceNumber!, unittest.equals('foo'), @@ -1059,12 +1059,12 @@ void checkKeyId(api.KeyId o) { buildCounterKeyId--; } -core.List buildUnnamed8361() => [ +core.List buildUnnamed8451() => [ buildObjectId(), buildObjectId(), ]; -void checkUnnamed8361(core.List o) { +void checkUnnamed8451(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectId(o[0]); checkObjectId(o[1]); @@ -1077,7 +1077,7 @@ api.KeyUsage buildKeyUsage() { if (buildCounterKeyUsage < 3) { o.baseKeyUsage = buildKeyUsageOptions(); o.extendedKeyUsage = buildExtendedKeyUsageOptions(); - o.unknownExtendedKeyUsages = buildUnnamed8361(); + o.unknownExtendedKeyUsages = buildUnnamed8451(); } buildCounterKeyUsage--; return o; @@ -1088,7 +1088,7 @@ void checkKeyUsage(api.KeyUsage o) { if (buildCounterKeyUsage < 3) { checkKeyUsageOptions(o.baseKeyUsage!); checkExtendedKeyUsageOptions(o.extendedKeyUsage!); - checkUnnamed8361(o.unknownExtendedKeyUsages!); + checkUnnamed8451(o.unknownExtendedKeyUsages!); } buildCounterKeyUsage--; } @@ -1155,23 +1155,23 @@ void checkKeyVersionSpec(api.KeyVersionSpec o) { buildCounterKeyVersionSpec--; } -core.List buildUnnamed8362() => [ +core.List buildUnnamed8452() => [ buildCertificateAuthority(), buildCertificateAuthority(), ]; -void checkUnnamed8362(core.List o) { +void checkUnnamed8452(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateAuthority(o[0]); checkCertificateAuthority(o[1]); } -core.List buildUnnamed8363() => [ +core.List buildUnnamed8453() => [ 'foo', 'foo', ]; -void checkUnnamed8363(core.List o) { +void checkUnnamed8453(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1189,9 +1189,9 @@ api.ListCertificateAuthoritiesResponse final o = api.ListCertificateAuthoritiesResponse(); buildCounterListCertificateAuthoritiesResponse++; if (buildCounterListCertificateAuthoritiesResponse < 3) { - o.certificateAuthorities = buildUnnamed8362(); + o.certificateAuthorities = buildUnnamed8452(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed8363(); + o.unreachable = buildUnnamed8453(); } buildCounterListCertificateAuthoritiesResponse--; return o; @@ -1201,33 +1201,33 @@ void checkListCertificateAuthoritiesResponse( api.ListCertificateAuthoritiesResponse o) { buildCounterListCertificateAuthoritiesResponse++; if (buildCounterListCertificateAuthoritiesResponse < 3) { - checkUnnamed8362(o.certificateAuthorities!); + checkUnnamed8452(o.certificateAuthorities!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8363(o.unreachable!); + checkUnnamed8453(o.unreachable!); } buildCounterListCertificateAuthoritiesResponse--; } -core.List buildUnnamed8364() => [ +core.List buildUnnamed8454() => [ buildCertificateRevocationList(), buildCertificateRevocationList(), ]; -void checkUnnamed8364(core.List o) { +void checkUnnamed8454(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificateRevocationList(o[0]); checkCertificateRevocationList(o[1]); } -core.List buildUnnamed8365() => [ +core.List buildUnnamed8455() => [ 'foo', 'foo', ]; -void checkUnnamed8365(core.List o) { +void checkUnnamed8455(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1245,9 +1245,9 @@ api.ListCertificateRevocationListsResponse final o = api.ListCertificateRevocationListsResponse(); buildCounterListCertificateRevocationListsResponse++; if (buildCounterListCertificateRevocationListsResponse < 3) { - o.certificateRevocationLists = buildUnnamed8364(); + o.certificateRevocationLists = buildUnnamed8454(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed8365(); + o.unreachable = buildUnnamed8455(); } buildCounterListCertificateRevocationListsResponse--; return o; @@ -1257,33 +1257,33 @@ void checkListCertificateRevocationListsResponse( api.ListCertificateRevocationListsResponse o) { buildCounterListCertificateRevocationListsResponse++; if (buildCounterListCertificateRevocationListsResponse < 3) { - checkUnnamed8364(o.certificateRevocationLists!); + checkUnnamed8454(o.certificateRevocationLists!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8365(o.unreachable!); + checkUnnamed8455(o.unreachable!); } buildCounterListCertificateRevocationListsResponse--; } -core.List buildUnnamed8366() => [ +core.List buildUnnamed8456() => [ buildCertificate(), buildCertificate(), ]; -void checkUnnamed8366(core.List o) { +void checkUnnamed8456(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCertificate(o[0]); checkCertificate(o[1]); } -core.List buildUnnamed8367() => [ +core.List buildUnnamed8457() => [ 'foo', 'foo', ]; -void checkUnnamed8367(core.List o) { +void checkUnnamed8457(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1300,9 +1300,9 @@ api.ListCertificatesResponse buildListCertificatesResponse() { final o = api.ListCertificatesResponse(); buildCounterListCertificatesResponse++; if (buildCounterListCertificatesResponse < 3) { - o.certificates = buildUnnamed8366(); + o.certificates = buildUnnamed8456(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed8367(); + o.unreachable = buildUnnamed8457(); } buildCounterListCertificatesResponse--; return o; @@ -1311,22 +1311,22 @@ api.ListCertificatesResponse buildListCertificatesResponse() { void checkListCertificatesResponse(api.ListCertificatesResponse o) { buildCounterListCertificatesResponse++; if (buildCounterListCertificatesResponse < 3) { - checkUnnamed8366(o.certificates!); + checkUnnamed8456(o.certificates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8367(o.unreachable!); + checkUnnamed8457(o.unreachable!); } buildCounterListCertificatesResponse--; } -core.List buildUnnamed8368() => [ +core.List buildUnnamed8458() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed8368(core.List o) { +void checkUnnamed8458(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1337,7 +1337,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed8368(); + o.locations = buildUnnamed8458(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1347,7 +1347,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed8368(o.locations!); + checkUnnamed8458(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1356,12 +1356,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed8369() => [ +core.List buildUnnamed8459() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8369(core.List o) { +void checkUnnamed8459(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1373,7 +1373,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8369(); + o.operations = buildUnnamed8459(); } buildCounterListOperationsResponse--; return o; @@ -1386,28 +1386,28 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8369(o.operations!); + checkUnnamed8459(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed8370() => [ +core.List buildUnnamed8460() => [ buildReusableConfig(), buildReusableConfig(), ]; -void checkUnnamed8370(core.List o) { +void checkUnnamed8460(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReusableConfig(o[0]); checkReusableConfig(o[1]); } -core.List buildUnnamed8371() => [ +core.List buildUnnamed8461() => [ 'foo', 'foo', ]; -void checkUnnamed8371(core.List o) { +void checkUnnamed8461(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1425,8 +1425,8 @@ api.ListReusableConfigsResponse buildListReusableConfigsResponse() { buildCounterListReusableConfigsResponse++; if (buildCounterListReusableConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.reusableConfigs = buildUnnamed8370(); - o.unreachable = buildUnnamed8371(); + o.reusableConfigs = buildUnnamed8460(); + o.unreachable = buildUnnamed8461(); } buildCounterListReusableConfigsResponse--; return o; @@ -1439,18 +1439,18 @@ void checkListReusableConfigsResponse(api.ListReusableConfigsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8370(o.reusableConfigs!); - checkUnnamed8371(o.unreachable!); + checkUnnamed8460(o.reusableConfigs!); + checkUnnamed8461(o.unreachable!); } buildCounterListReusableConfigsResponse--; } -core.Map buildUnnamed8372() => { +core.Map buildUnnamed8462() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8372(core.Map o) { +void checkUnnamed8462(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1462,7 +1462,7 @@ void checkUnnamed8372(core.Map o) { ); } -core.Map buildUnnamed8373() => { +core.Map buildUnnamed8463() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1475,7 +1475,7 @@ core.Map buildUnnamed8373() => { }, }; -void checkUnnamed8373(core.Map o) { +void checkUnnamed8463(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1513,9 +1513,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed8372(); + o.labels = buildUnnamed8462(); o.locationId = 'foo'; - o.metadata = buildUnnamed8373(); + o.metadata = buildUnnamed8463(); o.name = 'foo'; } buildCounterLocation--; @@ -1529,12 +1529,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8372(o.labels!); + checkUnnamed8462(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed8373(o.metadata!); + checkUnnamed8463(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1543,12 +1543,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.List buildUnnamed8374() => [ +core.List buildUnnamed8464() => [ 42, 42, ]; -void checkUnnamed8374(core.List o) { +void checkUnnamed8464(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1565,7 +1565,7 @@ api.ObjectId buildObjectId() { final o = api.ObjectId(); buildCounterObjectId++; if (buildCounterObjectId < 3) { - o.objectIdPath = buildUnnamed8374(); + o.objectIdPath = buildUnnamed8464(); } buildCounterObjectId--; return o; @@ -1574,12 +1574,12 @@ api.ObjectId buildObjectId() { void checkObjectId(api.ObjectId o) { buildCounterObjectId++; if (buildCounterObjectId < 3) { - checkUnnamed8374(o.objectIdPath!); + checkUnnamed8464(o.objectIdPath!); } buildCounterObjectId--; } -core.Map buildUnnamed8375() => { +core.Map buildUnnamed8465() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1592,7 +1592,7 @@ core.Map buildUnnamed8375() => { }, }; -void checkUnnamed8375(core.Map o) { +void checkUnnamed8465(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1624,7 +1624,7 @@ void checkUnnamed8375(core.Map o) { ); } -core.Map buildUnnamed8376() => { +core.Map buildUnnamed8466() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1637,7 +1637,7 @@ core.Map buildUnnamed8376() => { }, }; -void checkUnnamed8376(core.Map o) { +void checkUnnamed8466(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1676,9 +1676,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed8375(); + o.metadata = buildUnnamed8465(); o.name = 'foo'; - o.response = buildUnnamed8376(); + o.response = buildUnnamed8466(); } buildCounterOperation--; return o; @@ -1689,12 +1689,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed8375(o.metadata!); + checkUnnamed8465(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8376(o.response!); + checkUnnamed8466(o.response!); } buildCounterOperation--; } @@ -1748,23 +1748,23 @@ void checkOperationMetadata(api.OperationMetadata o) { buildCounterOperationMetadata--; } -core.List buildUnnamed8377() => [ +core.List buildUnnamed8467() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed8377(core.List o) { +void checkUnnamed8467(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed8378() => [ +core.List buildUnnamed8468() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed8378(core.List o) { +void checkUnnamed8468(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1775,8 +1775,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed8377(); - o.bindings = buildUnnamed8378(); + o.auditConfigs = buildUnnamed8467(); + o.bindings = buildUnnamed8468(); o.etag = 'foo'; o.version = 42; } @@ -1787,8 +1787,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed8377(o.auditConfigs!); - checkUnnamed8378(o.bindings!); + checkUnnamed8467(o.auditConfigs!); + checkUnnamed8468(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1877,12 +1877,12 @@ void checkRestoreCertificateAuthorityRequest( buildCounterRestoreCertificateAuthorityRequest--; } -core.Map buildUnnamed8379() => { +core.Map buildUnnamed8469() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8379(core.Map o) { +void checkUnnamed8469(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1901,7 +1901,7 @@ api.ReusableConfig buildReusableConfig() { if (buildCounterReusableConfig < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed8379(); + o.labels = buildUnnamed8469(); o.name = 'foo'; o.updateTime = 'foo'; o.values = buildReusableConfigValues(); @@ -1921,7 +1921,7 @@ void checkReusableConfig(api.ReusableConfig o) { o.description!, unittest.equals('foo'), ); - checkUnnamed8379(o.labels!); + checkUnnamed8469(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1935,23 +1935,23 @@ void checkReusableConfig(api.ReusableConfig o) { buildCounterReusableConfig--; } -core.List buildUnnamed8380() => [ +core.List buildUnnamed8470() => [ buildX509Extension(), buildX509Extension(), ]; -void checkUnnamed8380(core.List o) { +void checkUnnamed8470(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkX509Extension(o[0]); checkX509Extension(o[1]); } -core.List buildUnnamed8381() => [ +core.List buildUnnamed8471() => [ 'foo', 'foo', ]; -void checkUnnamed8381(core.List o) { +void checkUnnamed8471(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1963,12 +1963,12 @@ void checkUnnamed8381(core.List o) { ); } -core.List buildUnnamed8382() => [ +core.List buildUnnamed8472() => [ buildObjectId(), buildObjectId(), ]; -void checkUnnamed8382(core.List o) { +void checkUnnamed8472(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectId(o[0]); checkObjectId(o[1]); @@ -1979,11 +1979,11 @@ api.ReusableConfigValues buildReusableConfigValues() { final o = api.ReusableConfigValues(); buildCounterReusableConfigValues++; if (buildCounterReusableConfigValues < 3) { - o.additionalExtensions = buildUnnamed8380(); - o.aiaOcspServers = buildUnnamed8381(); + o.additionalExtensions = buildUnnamed8470(); + o.aiaOcspServers = buildUnnamed8471(); o.caOptions = buildCaOptions(); o.keyUsage = buildKeyUsage(); - o.policyIds = buildUnnamed8382(); + o.policyIds = buildUnnamed8472(); } buildCounterReusableConfigValues--; return o; @@ -1992,11 +1992,11 @@ api.ReusableConfigValues buildReusableConfigValues() { void checkReusableConfigValues(api.ReusableConfigValues o) { buildCounterReusableConfigValues++; if (buildCounterReusableConfigValues < 3) { - checkUnnamed8380(o.additionalExtensions!); - checkUnnamed8381(o.aiaOcspServers!); + checkUnnamed8470(o.additionalExtensions!); + checkUnnamed8471(o.aiaOcspServers!); checkCaOptions(o.caOptions!); checkKeyUsage(o.keyUsage!); - checkUnnamed8382(o.policyIds!); + checkUnnamed8472(o.policyIds!); } buildCounterReusableConfigValues--; } @@ -2161,7 +2161,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed8383() => { +core.Map buildUnnamed8473() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2174,7 +2174,7 @@ core.Map buildUnnamed8383() => { }, }; -void checkUnnamed8383(core.Map o) { +void checkUnnamed8473(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2206,15 +2206,15 @@ void checkUnnamed8383(core.Map o) { ); } -core.List> buildUnnamed8384() => [ - buildUnnamed8383(), - buildUnnamed8383(), +core.List> buildUnnamed8474() => [ + buildUnnamed8473(), + buildUnnamed8473(), ]; -void checkUnnamed8384(core.List> o) { +void checkUnnamed8474(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8383(o[0]); - checkUnnamed8383(o[1]); + checkUnnamed8473(o[0]); + checkUnnamed8473(o[1]); } core.int buildCounterStatus = 0; @@ -2223,7 +2223,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8384(); + o.details = buildUnnamed8474(); o.message = 'foo'; } buildCounterStatus--; @@ -2237,7 +2237,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8384(o.details!); + checkUnnamed8474(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2298,23 +2298,23 @@ void checkSubject(api.Subject o) { buildCounterSubject--; } -core.List buildUnnamed8385() => [ +core.List buildUnnamed8475() => [ buildX509Extension(), buildX509Extension(), ]; -void checkUnnamed8385(core.List o) { +void checkUnnamed8475(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkX509Extension(o[0]); checkX509Extension(o[1]); } -core.List buildUnnamed8386() => [ +core.List buildUnnamed8476() => [ 'foo', 'foo', ]; -void checkUnnamed8386(core.List o) { +void checkUnnamed8476(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2326,12 +2326,12 @@ void checkUnnamed8386(core.List o) { ); } -core.List buildUnnamed8387() => [ +core.List buildUnnamed8477() => [ 'foo', 'foo', ]; -void checkUnnamed8387(core.List o) { +void checkUnnamed8477(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2343,12 +2343,12 @@ void checkUnnamed8387(core.List o) { ); } -core.List buildUnnamed8388() => [ +core.List buildUnnamed8478() => [ 'foo', 'foo', ]; -void checkUnnamed8388(core.List o) { +void checkUnnamed8478(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2360,12 +2360,12 @@ void checkUnnamed8388(core.List o) { ); } -core.List buildUnnamed8389() => [ +core.List buildUnnamed8479() => [ 'foo', 'foo', ]; -void checkUnnamed8389(core.List o) { +void checkUnnamed8479(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2382,11 +2382,11 @@ api.SubjectAltNames buildSubjectAltNames() { final o = api.SubjectAltNames(); buildCounterSubjectAltNames++; if (buildCounterSubjectAltNames < 3) { - o.customSans = buildUnnamed8385(); - o.dnsNames = buildUnnamed8386(); - o.emailAddresses = buildUnnamed8387(); - o.ipAddresses = buildUnnamed8388(); - o.uris = buildUnnamed8389(); + o.customSans = buildUnnamed8475(); + o.dnsNames = buildUnnamed8476(); + o.emailAddresses = buildUnnamed8477(); + o.ipAddresses = buildUnnamed8478(); + o.uris = buildUnnamed8479(); } buildCounterSubjectAltNames--; return o; @@ -2395,11 +2395,11 @@ api.SubjectAltNames buildSubjectAltNames() { void checkSubjectAltNames(api.SubjectAltNames o) { buildCounterSubjectAltNames++; if (buildCounterSubjectAltNames < 3) { - checkUnnamed8385(o.customSans!); - checkUnnamed8386(o.dnsNames!); - checkUnnamed8387(o.emailAddresses!); - checkUnnamed8388(o.ipAddresses!); - checkUnnamed8389(o.uris!); + checkUnnamed8475(o.customSans!); + checkUnnamed8476(o.dnsNames!); + checkUnnamed8477(o.emailAddresses!); + checkUnnamed8478(o.ipAddresses!); + checkUnnamed8479(o.uris!); } buildCounterSubjectAltNames--; } @@ -2500,12 +2500,12 @@ void checkSubordinateConfig(api.SubordinateConfig o) { buildCounterSubordinateConfig--; } -core.List buildUnnamed8390() => [ +core.List buildUnnamed8480() => [ 'foo', 'foo', ]; -void checkUnnamed8390(core.List o) { +void checkUnnamed8480(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2522,7 +2522,7 @@ api.SubordinateConfigChain buildSubordinateConfigChain() { final o = api.SubordinateConfigChain(); buildCounterSubordinateConfigChain++; if (buildCounterSubordinateConfigChain < 3) { - o.pemCertificates = buildUnnamed8390(); + o.pemCertificates = buildUnnamed8480(); } buildCounterSubordinateConfigChain--; return o; @@ -2531,17 +2531,17 @@ api.SubordinateConfigChain buildSubordinateConfigChain() { void checkSubordinateConfigChain(api.SubordinateConfigChain o) { buildCounterSubordinateConfigChain++; if (buildCounterSubordinateConfigChain < 3) { - checkUnnamed8390(o.pemCertificates!); + checkUnnamed8480(o.pemCertificates!); } buildCounterSubordinateConfigChain--; } -core.List buildUnnamed8391() => [ +core.List buildUnnamed8481() => [ 'foo', 'foo', ]; -void checkUnnamed8391(core.List o) { +void checkUnnamed8481(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2558,7 +2558,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed8391(); + o.permissions = buildUnnamed8481(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2567,17 +2567,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed8391(o.permissions!); + checkUnnamed8481(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed8392() => [ +core.List buildUnnamed8482() => [ 'foo', 'foo', ]; -void checkUnnamed8392(core.List o) { +void checkUnnamed8482(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2594,7 +2594,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed8392(); + o.permissions = buildUnnamed8482(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2603,7 +2603,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed8392(o.permissions!); + checkUnnamed8482(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart b/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart index 495ee52a2..351f3e5ef 100644 --- a/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8121() => [ +core.List buildUnnamed8207() => [ 'foo', 'foo', ]; -void checkUnnamed8121(core.List o) { +void checkUnnamed8207(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.SasPortalAssignment buildSasPortalAssignment() { final o = api.SasPortalAssignment(); buildCounterSasPortalAssignment++; if (buildCounterSasPortalAssignment < 3) { - o.members = buildUnnamed8121(); + o.members = buildUnnamed8207(); o.role = 'foo'; } buildCounterSasPortalAssignment--; @@ -58,7 +58,7 @@ api.SasPortalAssignment buildSasPortalAssignment() { void checkSasPortalAssignment(api.SasPortalAssignment o) { buildCounterSasPortalAssignment++; if (buildCounterSasPortalAssignment < 3) { - checkUnnamed8121(o.members!); + checkUnnamed8207(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -120,12 +120,12 @@ void checkSasPortalCreateSignedDeviceRequest( buildCounterSasPortalCreateSignedDeviceRequest--; } -core.List buildUnnamed8122() => [ +core.List buildUnnamed8208() => [ 'foo', 'foo', ]; -void checkUnnamed8122(core.List o) { +void checkUnnamed8208(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -144,7 +144,7 @@ api.SasPortalCustomer buildSasPortalCustomer() { if (buildCounterSasPortalCustomer < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.sasUserIds = buildUnnamed8122(); + o.sasUserIds = buildUnnamed8208(); } buildCounterSasPortalCustomer--; return o; @@ -161,17 +161,17 @@ void checkSasPortalCustomer(api.SasPortalCustomer o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8122(o.sasUserIds!); + checkUnnamed8208(o.sasUserIds!); } buildCounterSasPortalCustomer--; } -core.List buildUnnamed8123() => [ +core.List buildUnnamed8209() => [ 'foo', 'foo', ]; -void checkUnnamed8123(core.List o) { +void checkUnnamed8209(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -183,12 +183,12 @@ void checkUnnamed8123(core.List o) { ); } -core.List buildUnnamed8124() => [ +core.List buildUnnamed8210() => [ 'foo', 'foo', ]; -void checkUnnamed8124(core.List o) { +void checkUnnamed8210(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -200,12 +200,12 @@ void checkUnnamed8124(core.List o) { ); } -core.List buildUnnamed8125() => [ +core.List buildUnnamed8211() => [ 'foo', 'foo', ]; -void checkUnnamed8125(core.List o) { +void checkUnnamed8211(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -222,12 +222,12 @@ api.SasPortalDeployment buildSasPortalDeployment() { final o = api.SasPortalDeployment(); buildCounterSasPortalDeployment++; if (buildCounterSasPortalDeployment < 3) { - o.allowedBillingModes = buildUnnamed8123(); + o.allowedBillingModes = buildUnnamed8209(); o.defaultBillingMode = 'foo'; o.displayName = 'foo'; - o.frns = buildUnnamed8124(); + o.frns = buildUnnamed8210(); o.name = 'foo'; - o.sasUserIds = buildUnnamed8125(); + o.sasUserIds = buildUnnamed8211(); } buildCounterSasPortalDeployment--; return o; @@ -236,7 +236,7 @@ api.SasPortalDeployment buildSasPortalDeployment() { void checkSasPortalDeployment(api.SasPortalDeployment o) { buildCounterSasPortalDeployment++; if (buildCounterSasPortalDeployment < 3) { - checkUnnamed8123(o.allowedBillingModes!); + checkUnnamed8209(o.allowedBillingModes!); unittest.expect( o.defaultBillingMode!, unittest.equals('foo'), @@ -245,44 +245,44 @@ void checkSasPortalDeployment(api.SasPortalDeployment o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8124(o.frns!); + checkUnnamed8210(o.frns!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8125(o.sasUserIds!); + checkUnnamed8211(o.sasUserIds!); } buildCounterSasPortalDeployment--; } -core.List buildUnnamed8126() => [ +core.List buildUnnamed8212() => [ buildSasPortalChannelWithScore(), buildSasPortalChannelWithScore(), ]; -void checkUnnamed8126(core.List o) { +void checkUnnamed8212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalChannelWithScore(o[0]); checkSasPortalChannelWithScore(o[1]); } -core.List buildUnnamed8127() => [ +core.List buildUnnamed8213() => [ buildSasPortalFrequencyRange(), buildSasPortalFrequencyRange(), ]; -void checkUnnamed8127(core.List o) { +void checkUnnamed8213(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalFrequencyRange(o[0]); checkSasPortalFrequencyRange(o[1]); } -core.List buildUnnamed8128() => [ +core.List buildUnnamed8214() => [ buildSasPortalDeviceGrant(), buildSasPortalDeviceGrant(), ]; -void checkUnnamed8128(core.List o) { +void checkUnnamed8214(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDeviceGrant(o[0]); checkSasPortalDeviceGrant(o[1]); @@ -294,12 +294,12 @@ api.SasPortalDevice buildSasPortalDevice() { buildCounterSasPortalDevice++; if (buildCounterSasPortalDevice < 3) { o.activeConfig = buildSasPortalDeviceConfig(); - o.currentChannels = buildUnnamed8126(); + o.currentChannels = buildUnnamed8212(); o.deviceMetadata = buildSasPortalDeviceMetadata(); o.displayName = 'foo'; o.fccId = 'foo'; - o.grantRangeAllowlists = buildUnnamed8127(); - o.grants = buildUnnamed8128(); + o.grantRangeAllowlists = buildUnnamed8213(); + o.grants = buildUnnamed8214(); o.name = 'foo'; o.preloadedConfig = buildSasPortalDeviceConfig(); o.serialNumber = 'foo'; @@ -313,7 +313,7 @@ void checkSasPortalDevice(api.SasPortalDevice o) { buildCounterSasPortalDevice++; if (buildCounterSasPortalDevice < 3) { checkSasPortalDeviceConfig(o.activeConfig!); - checkUnnamed8126(o.currentChannels!); + checkUnnamed8212(o.currentChannels!); checkSasPortalDeviceMetadata(o.deviceMetadata!); unittest.expect( o.displayName!, @@ -323,8 +323,8 @@ void checkSasPortalDevice(api.SasPortalDevice o) { o.fccId!, unittest.equals('foo'), ); - checkUnnamed8127(o.grantRangeAllowlists!); - checkUnnamed8128(o.grants!); + checkUnnamed8213(o.grantRangeAllowlists!); + checkUnnamed8214(o.grants!); unittest.expect( o.name!, unittest.equals('foo'), @@ -369,12 +369,12 @@ void checkSasPortalDeviceAirInterface(api.SasPortalDeviceAirInterface o) { buildCounterSasPortalDeviceAirInterface--; } -core.List buildUnnamed8129() => [ +core.List buildUnnamed8215() => [ 'foo', 'foo', ]; -void checkUnnamed8129(core.List o) { +void checkUnnamed8215(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -396,7 +396,7 @@ api.SasPortalDeviceConfig buildSasPortalDeviceConfig() { o.category = 'foo'; o.installationParams = buildSasPortalInstallationParams(); o.isSigned = true; - o.measurementCapabilities = buildUnnamed8129(); + o.measurementCapabilities = buildUnnamed8215(); o.model = buildSasPortalDeviceModel(); o.state = 'foo'; o.updateTime = 'foo'; @@ -420,7 +420,7 @@ void checkSasPortalDeviceConfig(api.SasPortalDeviceConfig o) { ); checkSasPortalInstallationParams(o.installationParams!); unittest.expect(o.isSigned!, unittest.isTrue); - checkUnnamed8129(o.measurementCapabilities!); + checkUnnamed8215(o.measurementCapabilities!); checkSasPortalDeviceModel(o.model!); unittest.expect( o.state!, @@ -438,23 +438,23 @@ void checkSasPortalDeviceConfig(api.SasPortalDeviceConfig o) { buildCounterSasPortalDeviceConfig--; } -core.List buildUnnamed8130() => [ +core.List buildUnnamed8216() => [ buildSasPortalDpaMoveList(), buildSasPortalDpaMoveList(), ]; -void checkUnnamed8130(core.List o) { +void checkUnnamed8216(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDpaMoveList(o[0]); checkSasPortalDpaMoveList(o[1]); } -core.List buildUnnamed8131() => [ +core.List buildUnnamed8217() => [ 'foo', 'foo', ]; -void checkUnnamed8131(core.List o) { +void checkUnnamed8217(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -476,9 +476,9 @@ api.SasPortalDeviceGrant buildSasPortalDeviceGrant() { o.frequencyRange = buildSasPortalFrequencyRange(); o.grantId = 'foo'; o.maxEirp = 42.0; - o.moveList = buildUnnamed8130(); + o.moveList = buildUnnamed8216(); o.state = 'foo'; - o.suspensionReason = buildUnnamed8131(); + o.suspensionReason = buildUnnamed8217(); } buildCounterSasPortalDeviceGrant--; return o; @@ -504,12 +504,12 @@ void checkSasPortalDeviceGrant(api.SasPortalDeviceGrant o) { o.maxEirp!, unittest.equals(42.0), ); - checkUnnamed8130(o.moveList!); + checkUnnamed8216(o.moveList!); unittest.expect( o.state!, unittest.equals('foo'), ); - checkUnnamed8131(o.suspensionReason!); + checkUnnamed8217(o.suspensionReason!); } buildCounterSasPortalDeviceGrant--; } @@ -520,6 +520,8 @@ api.SasPortalDeviceMetadata buildSasPortalDeviceMetadata() { buildCounterSasPortalDeviceMetadata++; if (buildCounterSasPortalDeviceMetadata < 3) { o.antennaModel = 'foo'; + o.commonChannelGroup = 'foo'; + o.interferenceCoordinationGroup = 'foo'; } buildCounterSasPortalDeviceMetadata--; return o; @@ -532,6 +534,14 @@ void checkSasPortalDeviceMetadata(api.SasPortalDeviceMetadata o) { o.antennaModel!, unittest.equals('foo'), ); + unittest.expect( + o.commonChannelGroup!, + unittest.equals('foo'), + ); + unittest.expect( + o.interferenceCoordinationGroup!, + unittest.equals('foo'), + ); } buildCounterSasPortalDeviceMetadata--; } @@ -785,12 +795,12 @@ void checkSasPortalInstallationParams(api.SasPortalInstallationParams o) { buildCounterSasPortalInstallationParams--; } -core.List buildUnnamed8132() => [ +core.List buildUnnamed8218() => [ buildSasPortalCustomer(), buildSasPortalCustomer(), ]; -void checkUnnamed8132(core.List o) { +void checkUnnamed8218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalCustomer(o[0]); checkSasPortalCustomer(o[1]); @@ -801,7 +811,7 @@ api.SasPortalListCustomersResponse buildSasPortalListCustomersResponse() { final o = api.SasPortalListCustomersResponse(); buildCounterSasPortalListCustomersResponse++; if (buildCounterSasPortalListCustomersResponse < 3) { - o.customers = buildUnnamed8132(); + o.customers = buildUnnamed8218(); o.nextPageToken = 'foo'; } buildCounterSasPortalListCustomersResponse--; @@ -811,7 +821,7 @@ api.SasPortalListCustomersResponse buildSasPortalListCustomersResponse() { void checkSasPortalListCustomersResponse(api.SasPortalListCustomersResponse o) { buildCounterSasPortalListCustomersResponse++; if (buildCounterSasPortalListCustomersResponse < 3) { - checkUnnamed8132(o.customers!); + checkUnnamed8218(o.customers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -820,12 +830,12 @@ void checkSasPortalListCustomersResponse(api.SasPortalListCustomersResponse o) { buildCounterSasPortalListCustomersResponse--; } -core.List buildUnnamed8133() => [ +core.List buildUnnamed8219() => [ buildSasPortalDeployment(), buildSasPortalDeployment(), ]; -void checkUnnamed8133(core.List o) { +void checkUnnamed8219(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDeployment(o[0]); checkSasPortalDeployment(o[1]); @@ -836,7 +846,7 @@ api.SasPortalListDeploymentsResponse buildSasPortalListDeploymentsResponse() { final o = api.SasPortalListDeploymentsResponse(); buildCounterSasPortalListDeploymentsResponse++; if (buildCounterSasPortalListDeploymentsResponse < 3) { - o.deployments = buildUnnamed8133(); + o.deployments = buildUnnamed8219(); o.nextPageToken = 'foo'; } buildCounterSasPortalListDeploymentsResponse--; @@ -847,7 +857,7 @@ void checkSasPortalListDeploymentsResponse( api.SasPortalListDeploymentsResponse o) { buildCounterSasPortalListDeploymentsResponse++; if (buildCounterSasPortalListDeploymentsResponse < 3) { - checkUnnamed8133(o.deployments!); + checkUnnamed8219(o.deployments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -856,12 +866,12 @@ void checkSasPortalListDeploymentsResponse( buildCounterSasPortalListDeploymentsResponse--; } -core.List buildUnnamed8134() => [ +core.List buildUnnamed8220() => [ buildSasPortalDevice(), buildSasPortalDevice(), ]; -void checkUnnamed8134(core.List o) { +void checkUnnamed8220(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDevice(o[0]); checkSasPortalDevice(o[1]); @@ -872,7 +882,7 @@ api.SasPortalListDevicesResponse buildSasPortalListDevicesResponse() { final o = api.SasPortalListDevicesResponse(); buildCounterSasPortalListDevicesResponse++; if (buildCounterSasPortalListDevicesResponse < 3) { - o.devices = buildUnnamed8134(); + o.devices = buildUnnamed8220(); o.nextPageToken = 'foo'; } buildCounterSasPortalListDevicesResponse--; @@ -882,7 +892,7 @@ api.SasPortalListDevicesResponse buildSasPortalListDevicesResponse() { void checkSasPortalListDevicesResponse(api.SasPortalListDevicesResponse o) { buildCounterSasPortalListDevicesResponse++; if (buildCounterSasPortalListDevicesResponse < 3) { - checkUnnamed8134(o.devices!); + checkUnnamed8220(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -891,12 +901,12 @@ void checkSasPortalListDevicesResponse(api.SasPortalListDevicesResponse o) { buildCounterSasPortalListDevicesResponse--; } -core.List buildUnnamed8135() => [ +core.List buildUnnamed8221() => [ buildSasPortalNode(), buildSasPortalNode(), ]; -void checkUnnamed8135(core.List o) { +void checkUnnamed8221(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalNode(o[0]); checkSasPortalNode(o[1]); @@ -908,7 +918,7 @@ api.SasPortalListNodesResponse buildSasPortalListNodesResponse() { buildCounterSasPortalListNodesResponse++; if (buildCounterSasPortalListNodesResponse < 3) { o.nextPageToken = 'foo'; - o.nodes = buildUnnamed8135(); + o.nodes = buildUnnamed8221(); } buildCounterSasPortalListNodesResponse--; return o; @@ -921,7 +931,7 @@ void checkSasPortalListNodesResponse(api.SasPortalListNodesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8135(o.nodes!); + checkUnnamed8221(o.nodes!); } buildCounterSasPortalListNodesResponse--; } @@ -992,12 +1002,12 @@ void checkSasPortalMoveNodeRequest(api.SasPortalMoveNodeRequest o) { buildCounterSasPortalMoveNodeRequest--; } -core.List buildUnnamed8136() => [ +core.List buildUnnamed8222() => [ 'foo', 'foo', ]; -void checkUnnamed8136(core.List o) { +void checkUnnamed8222(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1016,7 +1026,7 @@ api.SasPortalNode buildSasPortalNode() { if (buildCounterSasPortalNode < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.sasUserIds = buildUnnamed8136(); + o.sasUserIds = buildUnnamed8222(); } buildCounterSasPortalNode--; return o; @@ -1033,12 +1043,12 @@ void checkSasPortalNode(api.SasPortalNode o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8136(o.sasUserIds!); + checkUnnamed8222(o.sasUserIds!); } buildCounterSasPortalNode--; } -core.Map buildUnnamed8137() => { +core.Map buildUnnamed8223() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1051,7 +1061,7 @@ core.Map buildUnnamed8137() => { }, }; -void checkUnnamed8137(core.Map o) { +void checkUnnamed8223(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1083,7 +1093,7 @@ void checkUnnamed8137(core.Map o) { ); } -core.Map buildUnnamed8138() => { +core.Map buildUnnamed8224() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1096,7 +1106,7 @@ core.Map buildUnnamed8138() => { }, }; -void checkUnnamed8138(core.Map o) { +void checkUnnamed8224(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1135,9 +1145,9 @@ api.SasPortalOperation buildSasPortalOperation() { if (buildCounterSasPortalOperation < 3) { o.done = true; o.error = buildSasPortalStatus(); - o.metadata = buildUnnamed8137(); + o.metadata = buildUnnamed8223(); o.name = 'foo'; - o.response = buildUnnamed8138(); + o.response = buildUnnamed8224(); } buildCounterSasPortalOperation--; return o; @@ -1148,22 +1158,22 @@ void checkSasPortalOperation(api.SasPortalOperation o) { if (buildCounterSasPortalOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkSasPortalStatus(o.error!); - checkUnnamed8137(o.metadata!); + checkUnnamed8223(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8138(o.response!); + checkUnnamed8224(o.response!); } buildCounterSasPortalOperation--; } -core.List buildUnnamed8139() => [ +core.List buildUnnamed8225() => [ buildSasPortalAssignment(), buildSasPortalAssignment(), ]; -void checkUnnamed8139(core.List o) { +void checkUnnamed8225(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalAssignment(o[0]); checkSasPortalAssignment(o[1]); @@ -1174,7 +1184,7 @@ api.SasPortalPolicy buildSasPortalPolicy() { final o = api.SasPortalPolicy(); buildCounterSasPortalPolicy++; if (buildCounterSasPortalPolicy < 3) { - o.assignments = buildUnnamed8139(); + o.assignments = buildUnnamed8225(); o.etag = 'foo'; } buildCounterSasPortalPolicy--; @@ -1184,7 +1194,7 @@ api.SasPortalPolicy buildSasPortalPolicy() { void checkSasPortalPolicy(api.SasPortalPolicy o) { buildCounterSasPortalPolicy++; if (buildCounterSasPortalPolicy < 3) { - checkUnnamed8139(o.assignments!); + checkUnnamed8225(o.assignments!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1238,7 +1248,7 @@ void checkSasPortalSignDeviceRequest(api.SasPortalSignDeviceRequest o) { buildCounterSasPortalSignDeviceRequest--; } -core.Map buildUnnamed8140() => { +core.Map buildUnnamed8226() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1251,7 +1261,7 @@ core.Map buildUnnamed8140() => { }, }; -void checkUnnamed8140(core.Map o) { +void checkUnnamed8226(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1283,15 +1293,15 @@ void checkUnnamed8140(core.Map o) { ); } -core.List> buildUnnamed8141() => [ - buildUnnamed8140(), - buildUnnamed8140(), +core.List> buildUnnamed8227() => [ + buildUnnamed8226(), + buildUnnamed8226(), ]; -void checkUnnamed8141(core.List> o) { +void checkUnnamed8227(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8140(o[0]); - checkUnnamed8140(o[1]); + checkUnnamed8226(o[0]); + checkUnnamed8226(o[1]); } core.int buildCounterSasPortalStatus = 0; @@ -1300,7 +1310,7 @@ api.SasPortalStatus buildSasPortalStatus() { buildCounterSasPortalStatus++; if (buildCounterSasPortalStatus < 3) { o.code = 42; - o.details = buildUnnamed8141(); + o.details = buildUnnamed8227(); o.message = 'foo'; } buildCounterSasPortalStatus--; @@ -1314,7 +1324,7 @@ void checkSasPortalStatus(api.SasPortalStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8141(o.details!); + checkUnnamed8227(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1323,12 +1333,12 @@ void checkSasPortalStatus(api.SasPortalStatus o) { buildCounterSasPortalStatus--; } -core.List buildUnnamed8142() => [ +core.List buildUnnamed8228() => [ 'foo', 'foo', ]; -void checkUnnamed8142(core.List o) { +void checkUnnamed8228(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1345,7 +1355,7 @@ api.SasPortalTestPermissionsRequest buildSasPortalTestPermissionsRequest() { final o = api.SasPortalTestPermissionsRequest(); buildCounterSasPortalTestPermissionsRequest++; if (buildCounterSasPortalTestPermissionsRequest < 3) { - o.permissions = buildUnnamed8142(); + o.permissions = buildUnnamed8228(); o.resource = 'foo'; } buildCounterSasPortalTestPermissionsRequest--; @@ -1356,7 +1366,7 @@ void checkSasPortalTestPermissionsRequest( api.SasPortalTestPermissionsRequest o) { buildCounterSasPortalTestPermissionsRequest++; if (buildCounterSasPortalTestPermissionsRequest < 3) { - checkUnnamed8142(o.permissions!); + checkUnnamed8228(o.permissions!); unittest.expect( o.resource!, unittest.equals('foo'), @@ -1365,12 +1375,12 @@ void checkSasPortalTestPermissionsRequest( buildCounterSasPortalTestPermissionsRequest--; } -core.List buildUnnamed8143() => [ +core.List buildUnnamed8229() => [ 'foo', 'foo', ]; -void checkUnnamed8143(core.List o) { +void checkUnnamed8229(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1387,7 +1397,7 @@ api.SasPortalTestPermissionsResponse buildSasPortalTestPermissionsResponse() { final o = api.SasPortalTestPermissionsResponse(); buildCounterSasPortalTestPermissionsResponse++; if (buildCounterSasPortalTestPermissionsResponse < 3) { - o.permissions = buildUnnamed8143(); + o.permissions = buildUnnamed8229(); } buildCounterSasPortalTestPermissionsResponse--; return o; @@ -1397,7 +1407,7 @@ void checkSasPortalTestPermissionsResponse( api.SasPortalTestPermissionsResponse o) { buildCounterSasPortalTestPermissionsResponse++; if (buildCounterSasPortalTestPermissionsResponse < 3) { - checkUnnamed8143(o.permissions!); + checkUnnamed8229(o.permissions!); } buildCounterSasPortalTestPermissionsResponse--; } diff --git a/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart b/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart index 4e2d57795..0c7827156 100644 --- a/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart +++ b/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart @@ -26,7 +26,7 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed8861() => { +core.Map buildUnnamed8970() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -39,7 +39,7 @@ core.Map buildUnnamed8861() => { }, }; -void checkUnnamed8861(core.Map o) { +void checkUnnamed8970(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -71,15 +71,15 @@ void checkUnnamed8861(core.Map o) { ); } -core.List> buildUnnamed8862() => [ - buildUnnamed8861(), - buildUnnamed8861(), +core.List> buildUnnamed8971() => [ + buildUnnamed8970(), + buildUnnamed8970(), ]; -void checkUnnamed8862(core.List> o) { +void checkUnnamed8971(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8861(o[0]); - checkUnnamed8861(o[1]); + checkUnnamed8970(o[0]); + checkUnnamed8970(o[1]); } core.int buildCounterGoogleApiHttpBody = 0; @@ -89,7 +89,7 @@ api.GoogleApiHttpBody buildGoogleApiHttpBody() { if (buildCounterGoogleApiHttpBody < 3) { o.contentType = 'foo'; o.data = 'foo'; - o.extensions = buildUnnamed8862(); + o.extensions = buildUnnamed8971(); } buildCounterGoogleApiHttpBody--; return o; @@ -106,7 +106,7 @@ void checkGoogleApiHttpBody(api.GoogleApiHttpBody o) { o.data!, unittest.equals('foo'), ); - checkUnnamed8862(o.extensions!); + checkUnnamed8971(o.extensions!); } buildCounterGoogleApiHttpBody--; } @@ -282,12 +282,12 @@ void checkGoogleCloudRecommendationengineV1beta1Catalog( } core.List - buildUnnamed8863() => [ + buildUnnamed8972() => [ buildGoogleCloudRecommendationengineV1beta1CatalogItem(), buildGoogleCloudRecommendationengineV1beta1CatalogItem(), ]; -void checkUnnamed8863( +void checkUnnamed8972( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1CatalogItem(o[0]); @@ -302,7 +302,7 @@ api.GoogleCloudRecommendationengineV1beta1CatalogInlineSource buildCounterGoogleCloudRecommendationengineV1beta1CatalogInlineSource++; if (buildCounterGoogleCloudRecommendationengineV1beta1CatalogInlineSource < 3) { - o.catalogItems = buildUnnamed8863(); + o.catalogItems = buildUnnamed8972(); } buildCounterGoogleCloudRecommendationengineV1beta1CatalogInlineSource--; return o; @@ -313,19 +313,19 @@ void checkGoogleCloudRecommendationengineV1beta1CatalogInlineSource( buildCounterGoogleCloudRecommendationengineV1beta1CatalogInlineSource++; if (buildCounterGoogleCloudRecommendationengineV1beta1CatalogInlineSource < 3) { - checkUnnamed8863(o.catalogItems!); + checkUnnamed8972(o.catalogItems!); } buildCounterGoogleCloudRecommendationengineV1beta1CatalogInlineSource--; } core.List< api.GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy> - buildUnnamed8864() => [ + buildUnnamed8973() => [ buildGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy(), buildGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy(), ]; -void checkUnnamed8864( +void checkUnnamed8973( core.List< api.GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy> o) { @@ -334,12 +334,12 @@ void checkUnnamed8864( checkGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy(o[1]); } -core.List buildUnnamed8865() => [ +core.List buildUnnamed8974() => [ 'foo', 'foo', ]; -void checkUnnamed8865(core.List o) { +void checkUnnamed8974(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -357,7 +357,7 @@ api.GoogleCloudRecommendationengineV1beta1CatalogItem final o = api.GoogleCloudRecommendationengineV1beta1CatalogItem(); buildCounterGoogleCloudRecommendationengineV1beta1CatalogItem++; if (buildCounterGoogleCloudRecommendationengineV1beta1CatalogItem < 3) { - o.categoryHierarchies = buildUnnamed8864(); + o.categoryHierarchies = buildUnnamed8973(); o.description = 'foo'; o.id = 'foo'; o.itemAttributes = buildGoogleCloudRecommendationengineV1beta1FeatureMap(); @@ -365,7 +365,7 @@ api.GoogleCloudRecommendationengineV1beta1CatalogItem o.languageCode = 'foo'; o.productMetadata = buildGoogleCloudRecommendationengineV1beta1ProductCatalogItem(); - o.tags = buildUnnamed8865(); + o.tags = buildUnnamed8974(); o.title = 'foo'; } buildCounterGoogleCloudRecommendationengineV1beta1CatalogItem--; @@ -376,7 +376,7 @@ void checkGoogleCloudRecommendationengineV1beta1CatalogItem( api.GoogleCloudRecommendationengineV1beta1CatalogItem o) { buildCounterGoogleCloudRecommendationengineV1beta1CatalogItem++; if (buildCounterGoogleCloudRecommendationengineV1beta1CatalogItem < 3) { - checkUnnamed8864(o.categoryHierarchies!); + checkUnnamed8973(o.categoryHierarchies!); unittest.expect( o.description!, unittest.equals('foo'), @@ -396,7 +396,7 @@ void checkGoogleCloudRecommendationengineV1beta1CatalogItem( ); checkGoogleCloudRecommendationengineV1beta1ProductCatalogItem( o.productMetadata!); - checkUnnamed8865(o.tags!); + checkUnnamed8974(o.tags!); unittest.expect( o.title!, unittest.equals('foo'), @@ -405,12 +405,12 @@ void checkGoogleCloudRecommendationengineV1beta1CatalogItem( buildCounterGoogleCloudRecommendationengineV1beta1CatalogItem--; } -core.List buildUnnamed8866() => [ +core.List buildUnnamed8975() => [ 'foo', 'foo', ]; -void checkUnnamed8866(core.List o) { +void checkUnnamed8975(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -432,7 +432,7 @@ api.GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy buildCounterGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy++; if (buildCounterGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy < 3) { - o.categories = buildUnnamed8866(); + o.categories = buildUnnamed8975(); } buildCounterGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy--; return o; @@ -443,7 +443,7 @@ void checkGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy( buildCounterGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy++; if (buildCounterGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy < 3) { - checkUnnamed8866(o.categories!); + checkUnnamed8975(o.categories!); } buildCounterGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy--; } @@ -510,12 +510,12 @@ void checkGoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrati buildCounterGoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest--; } -core.List buildUnnamed8867() => [ +core.List buildUnnamed8976() => [ 'foo', 'foo', ]; -void checkUnnamed8867(core.List o) { +void checkUnnamed8976(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -534,7 +534,7 @@ api.GoogleCloudRecommendationengineV1beta1EventDetail buildCounterGoogleCloudRecommendationengineV1beta1EventDetail++; if (buildCounterGoogleCloudRecommendationengineV1beta1EventDetail < 3) { o.eventAttributes = buildGoogleCloudRecommendationengineV1beta1FeatureMap(); - o.experimentIds = buildUnnamed8867(); + o.experimentIds = buildUnnamed8976(); o.pageViewId = 'foo'; o.recommendationToken = 'foo'; o.referrerUri = 'foo'; @@ -549,7 +549,7 @@ void checkGoogleCloudRecommendationengineV1beta1EventDetail( buildCounterGoogleCloudRecommendationengineV1beta1EventDetail++; if (buildCounterGoogleCloudRecommendationengineV1beta1EventDetail < 3) { checkGoogleCloudRecommendationengineV1beta1FeatureMap(o.eventAttributes!); - checkUnnamed8867(o.experimentIds!); + checkUnnamed8976(o.experimentIds!); unittest.expect( o.pageViewId!, unittest.equals('foo'), @@ -572,14 +572,14 @@ void checkGoogleCloudRecommendationengineV1beta1EventDetail( core.Map - buildUnnamed8868() => { + buildUnnamed8977() => { 'x': buildGoogleCloudRecommendationengineV1beta1FeatureMapStringList(), 'y': buildGoogleCloudRecommendationengineV1beta1FeatureMapStringList(), }; -void checkUnnamed8868( +void checkUnnamed8977( core.Map o) { @@ -590,12 +590,12 @@ void checkUnnamed8868( core.Map - buildUnnamed8869() => { + buildUnnamed8978() => { 'x': buildGoogleCloudRecommendationengineV1beta1FeatureMapFloatList(), 'y': buildGoogleCloudRecommendationengineV1beta1FeatureMapFloatList(), }; -void checkUnnamed8869( +void checkUnnamed8978( core.Map o) { @@ -610,8 +610,8 @@ api.GoogleCloudRecommendationengineV1beta1FeatureMap final o = api.GoogleCloudRecommendationengineV1beta1FeatureMap(); buildCounterGoogleCloudRecommendationengineV1beta1FeatureMap++; if (buildCounterGoogleCloudRecommendationengineV1beta1FeatureMap < 3) { - o.categoricalFeatures = buildUnnamed8868(); - o.numericalFeatures = buildUnnamed8869(); + o.categoricalFeatures = buildUnnamed8977(); + o.numericalFeatures = buildUnnamed8978(); } buildCounterGoogleCloudRecommendationengineV1beta1FeatureMap--; return o; @@ -621,18 +621,18 @@ void checkGoogleCloudRecommendationengineV1beta1FeatureMap( api.GoogleCloudRecommendationengineV1beta1FeatureMap o) { buildCounterGoogleCloudRecommendationengineV1beta1FeatureMap++; if (buildCounterGoogleCloudRecommendationengineV1beta1FeatureMap < 3) { - checkUnnamed8868(o.categoricalFeatures!); - checkUnnamed8869(o.numericalFeatures!); + checkUnnamed8977(o.categoricalFeatures!); + checkUnnamed8978(o.numericalFeatures!); } buildCounterGoogleCloudRecommendationengineV1beta1FeatureMap--; } -core.List buildUnnamed8870() => [ +core.List buildUnnamed8979() => [ 42.0, 42.0, ]; -void checkUnnamed8870(core.List o) { +void checkUnnamed8979(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -652,7 +652,7 @@ api.GoogleCloudRecommendationengineV1beta1FeatureMapFloatList buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapFloatList++; if (buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapFloatList < 3) { - o.value = buildUnnamed8870(); + o.value = buildUnnamed8979(); } buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapFloatList--; return o; @@ -663,17 +663,17 @@ void checkGoogleCloudRecommendationengineV1beta1FeatureMapFloatList( buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapFloatList++; if (buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapFloatList < 3) { - checkUnnamed8870(o.value!); + checkUnnamed8979(o.value!); } buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapFloatList--; } -core.List buildUnnamed8871() => [ +core.List buildUnnamed8980() => [ 'foo', 'foo', ]; -void checkUnnamed8871(core.List o) { +void checkUnnamed8980(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -693,7 +693,7 @@ api.GoogleCloudRecommendationengineV1beta1FeatureMapStringList buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapStringList++; if (buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapStringList < 3) { - o.value = buildUnnamed8871(); + o.value = buildUnnamed8980(); } buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapStringList--; return o; @@ -704,17 +704,17 @@ void checkGoogleCloudRecommendationengineV1beta1FeatureMapStringList( buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapStringList++; if (buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapStringList < 3) { - checkUnnamed8871(o.value!); + checkUnnamed8980(o.value!); } buildCounterGoogleCloudRecommendationengineV1beta1FeatureMapStringList--; } -core.List buildUnnamed8872() => [ +core.List buildUnnamed8981() => [ 'foo', 'foo', ]; -void checkUnnamed8872(core.List o) { +void checkUnnamed8981(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -732,7 +732,7 @@ api.GoogleCloudRecommendationengineV1beta1GcsSource final o = api.GoogleCloudRecommendationengineV1beta1GcsSource(); buildCounterGoogleCloudRecommendationengineV1beta1GcsSource++; if (buildCounterGoogleCloudRecommendationengineV1beta1GcsSource < 3) { - o.inputUris = buildUnnamed8872(); + o.inputUris = buildUnnamed8981(); o.jsonSchema = 'foo'; } buildCounterGoogleCloudRecommendationengineV1beta1GcsSource--; @@ -743,7 +743,7 @@ void checkGoogleCloudRecommendationengineV1beta1GcsSource( api.GoogleCloudRecommendationengineV1beta1GcsSource o) { buildCounterGoogleCloudRecommendationengineV1beta1GcsSource++; if (buildCounterGoogleCloudRecommendationengineV1beta1GcsSource < 3) { - checkUnnamed8872(o.inputUris!); + checkUnnamed8981(o.inputUris!); unittest.expect( o.jsonSchema!, unittest.equals('foo'), @@ -826,12 +826,12 @@ void checkGoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest( buildCounterGoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest--; } -core.List buildUnnamed8873() => [ +core.List buildUnnamed8982() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8873(core.List o) { +void checkUnnamed8982(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -847,7 +847,7 @@ api.GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse buildCounterGoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse < 3) { - o.errorSamples = buildUnnamed8873(); + o.errorSamples = buildUnnamed8982(); o.errorsConfig = buildGoogleCloudRecommendationengineV1beta1ImportErrorsConfig(); } @@ -860,7 +860,7 @@ void checkGoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse( buildCounterGoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse < 3) { - checkUnnamed8873(o.errorSamples!); + checkUnnamed8982(o.errorSamples!); checkGoogleCloudRecommendationengineV1beta1ImportErrorsConfig( o.errorsConfig!); } @@ -977,12 +977,12 @@ void checkGoogleCloudRecommendationengineV1beta1ImportUserEventsRequest( buildCounterGoogleCloudRecommendationengineV1beta1ImportUserEventsRequest--; } -core.List buildUnnamed8874() => [ +core.List buildUnnamed8983() => [ buildGoogleRpcStatus(), buildGoogleRpcStatus(), ]; -void checkUnnamed8874(core.List o) { +void checkUnnamed8983(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleRpcStatus(o[0]); checkGoogleRpcStatus(o[1]); @@ -998,7 +998,7 @@ api.GoogleCloudRecommendationengineV1beta1ImportUserEventsResponse buildCounterGoogleCloudRecommendationengineV1beta1ImportUserEventsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ImportUserEventsResponse < 3) { - o.errorSamples = buildUnnamed8874(); + o.errorSamples = buildUnnamed8983(); o.errorsConfig = buildGoogleCloudRecommendationengineV1beta1ImportErrorsConfig(); o.importSummary = @@ -1013,7 +1013,7 @@ void checkGoogleCloudRecommendationengineV1beta1ImportUserEventsResponse( buildCounterGoogleCloudRecommendationengineV1beta1ImportUserEventsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ImportUserEventsResponse < 3) { - checkUnnamed8874(o.errorSamples!); + checkUnnamed8983(o.errorSamples!); checkGoogleCloudRecommendationengineV1beta1ImportErrorsConfig( o.errorsConfig!); checkGoogleCloudRecommendationengineV1beta1UserEventImportSummary( @@ -1056,12 +1056,12 @@ void checkGoogleCloudRecommendationengineV1beta1InputConfig( } core.List - buildUnnamed8875() => [ + buildUnnamed8984() => [ buildGoogleCloudRecommendationengineV1beta1CatalogItem(), buildGoogleCloudRecommendationengineV1beta1CatalogItem(), ]; -void checkUnnamed8875( +void checkUnnamed8984( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1CatalogItem(o[0]); @@ -1078,7 +1078,7 @@ api.GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse < 3) { - o.catalogItems = buildUnnamed8875(); + o.catalogItems = buildUnnamed8984(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse--; @@ -1090,7 +1090,7 @@ void checkGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse( buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse < 3) { - checkUnnamed8875(o.catalogItems!); + checkUnnamed8984(o.catalogItems!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1100,12 +1100,12 @@ void checkGoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse( } core.List - buildUnnamed8876() => [ + buildUnnamed8985() => [ buildGoogleCloudRecommendationengineV1beta1Catalog(), buildGoogleCloudRecommendationengineV1beta1Catalog(), ]; -void checkUnnamed8876( +void checkUnnamed8985( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1Catalog(o[0]); @@ -1120,7 +1120,7 @@ api.GoogleCloudRecommendationengineV1beta1ListCatalogsResponse buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogsResponse < 3) { - o.catalogs = buildUnnamed8876(); + o.catalogs = buildUnnamed8985(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogsResponse--; @@ -1132,7 +1132,7 @@ void checkGoogleCloudRecommendationengineV1beta1ListCatalogsResponse( buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogsResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1ListCatalogsResponse < 3) { - checkUnnamed8876(o.catalogs!); + checkUnnamed8985(o.catalogs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1143,12 +1143,12 @@ void checkGoogleCloudRecommendationengineV1beta1ListCatalogsResponse( core.List< api.GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration> - buildUnnamed8877() => [ + buildUnnamed8986() => [ buildGoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration(), buildGoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration(), ]; -void checkUnnamed8877( +void checkUnnamed8986( core.List< api.GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration> o) { @@ -1168,7 +1168,7 @@ api.GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsRespo if (buildCounterGoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse < 3) { o.nextPageToken = 'foo'; - o.predictionApiKeyRegistrations = buildUnnamed8877(); + o.predictionApiKeyRegistrations = buildUnnamed8986(); } buildCounterGoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse--; return o; @@ -1184,18 +1184,18 @@ void checkGoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistration o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8877(o.predictionApiKeyRegistrations!); + checkUnnamed8986(o.predictionApiKeyRegistrations!); } buildCounterGoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse--; } core.List - buildUnnamed8878() => [ + buildUnnamed8987() => [ buildGoogleCloudRecommendationengineV1beta1UserEvent(), buildGoogleCloudRecommendationengineV1beta1UserEvent(), ]; -void checkUnnamed8878( +void checkUnnamed8987( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1UserEvent(o[0]); @@ -1212,7 +1212,7 @@ api.GoogleCloudRecommendationengineV1beta1ListUserEventsResponse if (buildCounterGoogleCloudRecommendationengineV1beta1ListUserEventsResponse < 3) { o.nextPageToken = 'foo'; - o.userEvents = buildUnnamed8878(); + o.userEvents = buildUnnamed8987(); } buildCounterGoogleCloudRecommendationengineV1beta1ListUserEventsResponse--; return o; @@ -1227,17 +1227,17 @@ void checkGoogleCloudRecommendationengineV1beta1ListUserEventsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8878(o.userEvents!); + checkUnnamed8987(o.userEvents!); } buildCounterGoogleCloudRecommendationengineV1beta1ListUserEventsResponse--; } -core.Map buildUnnamed8879() => { +core.Map buildUnnamed8988() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8879(core.Map o) { +void checkUnnamed8988(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1249,7 +1249,7 @@ void checkUnnamed8879(core.Map o) { ); } -core.Map buildUnnamed8880() => { +core.Map buildUnnamed8989() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1262,7 +1262,7 @@ core.Map buildUnnamed8880() => { }, }; -void checkUnnamed8880(core.Map o) { +void checkUnnamed8989(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1302,10 +1302,10 @@ api.GoogleCloudRecommendationengineV1beta1PredictRequest if (buildCounterGoogleCloudRecommendationengineV1beta1PredictRequest < 3) { o.dryRun = true; o.filter = 'foo'; - o.labels = buildUnnamed8879(); + o.labels = buildUnnamed8988(); o.pageSize = 42; o.pageToken = 'foo'; - o.params = buildUnnamed8880(); + o.params = buildUnnamed8989(); o.userEvent = buildGoogleCloudRecommendationengineV1beta1UserEvent(); } buildCounterGoogleCloudRecommendationengineV1beta1PredictRequest--; @@ -1321,7 +1321,7 @@ void checkGoogleCloudRecommendationengineV1beta1PredictRequest( o.filter!, unittest.equals('foo'), ); - checkUnnamed8879(o.labels!); + checkUnnamed8988(o.labels!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -1330,18 +1330,18 @@ void checkGoogleCloudRecommendationengineV1beta1PredictRequest( o.pageToken!, unittest.equals('foo'), ); - checkUnnamed8880(o.params!); + checkUnnamed8989(o.params!); checkGoogleCloudRecommendationengineV1beta1UserEvent(o.userEvent!); } buildCounterGoogleCloudRecommendationengineV1beta1PredictRequest--; } -core.List buildUnnamed8881() => [ +core.List buildUnnamed8990() => [ 'foo', 'foo', ]; -void checkUnnamed8881(core.List o) { +void checkUnnamed8990(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1353,7 +1353,7 @@ void checkUnnamed8881(core.List o) { ); } -core.Map buildUnnamed8882() => { +core.Map buildUnnamed8991() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1366,7 +1366,7 @@ core.Map buildUnnamed8882() => { }, }; -void checkUnnamed8882(core.Map o) { +void checkUnnamed8991(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1400,12 +1400,12 @@ void checkUnnamed8882(core.Map o) { core.List< api.GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult> - buildUnnamed8883() => [ + buildUnnamed8992() => [ buildGoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult(), buildGoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult(), ]; -void checkUnnamed8883( +void checkUnnamed8992( core.List< api.GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult> o) { @@ -1423,11 +1423,11 @@ api.GoogleCloudRecommendationengineV1beta1PredictResponse buildCounterGoogleCloudRecommendationengineV1beta1PredictResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1PredictResponse < 3) { o.dryRun = true; - o.itemsMissingInCatalog = buildUnnamed8881(); - o.metadata = buildUnnamed8882(); + o.itemsMissingInCatalog = buildUnnamed8990(); + o.metadata = buildUnnamed8991(); o.nextPageToken = 'foo'; o.recommendationToken = 'foo'; - o.results = buildUnnamed8883(); + o.results = buildUnnamed8992(); } buildCounterGoogleCloudRecommendationengineV1beta1PredictResponse--; return o; @@ -1438,8 +1438,8 @@ void checkGoogleCloudRecommendationengineV1beta1PredictResponse( buildCounterGoogleCloudRecommendationengineV1beta1PredictResponse++; if (buildCounterGoogleCloudRecommendationengineV1beta1PredictResponse < 3) { unittest.expect(o.dryRun!, unittest.isTrue); - checkUnnamed8881(o.itemsMissingInCatalog!); - checkUnnamed8882(o.metadata!); + checkUnnamed8990(o.itemsMissingInCatalog!); + checkUnnamed8991(o.metadata!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1448,12 +1448,12 @@ void checkGoogleCloudRecommendationengineV1beta1PredictResponse( o.recommendationToken!, unittest.equals('foo'), ); - checkUnnamed8883(o.results!); + checkUnnamed8992(o.results!); } buildCounterGoogleCloudRecommendationengineV1beta1PredictResponse--; } -core.Map buildUnnamed8884() => { +core.Map buildUnnamed8993() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1466,7 +1466,7 @@ core.Map buildUnnamed8884() => { }, }; -void checkUnnamed8884(core.Map o) { +void checkUnnamed8993(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1509,7 +1509,7 @@ api.GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult if (buildCounterGoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult < 3) { o.id = 'foo'; - o.itemMetadata = buildUnnamed8884(); + o.itemMetadata = buildUnnamed8993(); } buildCounterGoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult--; return o; @@ -1525,7 +1525,7 @@ void checkGoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult( o.id!, unittest.equals('foo'), ); - checkUnnamed8884(o.itemMetadata!); + checkUnnamed8993(o.itemMetadata!); } buildCounterGoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult--; } @@ -1559,12 +1559,12 @@ void checkGoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration( buildCounterGoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration--; } -core.Map buildUnnamed8885() => { +core.Map buildUnnamed8994() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed8885(core.Map o) { +void checkUnnamed8994(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1576,13 +1576,13 @@ void checkUnnamed8885(core.Map o) { ); } -core.List buildUnnamed8886() => +core.List buildUnnamed8995() => [ buildGoogleCloudRecommendationengineV1beta1Image(), buildGoogleCloudRecommendationengineV1beta1Image(), ]; -void checkUnnamed8886( +void checkUnnamed8995( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1Image(o[0]); @@ -1599,11 +1599,11 @@ api.GoogleCloudRecommendationengineV1beta1ProductCatalogItem 3) { o.availableQuantity = 'foo'; o.canonicalProductUri = 'foo'; - o.costs = buildUnnamed8885(); + o.costs = buildUnnamed8994(); o.currencyCode = 'foo'; o.exactPrice = buildGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice(); - o.images = buildUnnamed8886(); + o.images = buildUnnamed8995(); o.priceRange = buildGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange(); o.stockState = 'foo'; @@ -1625,14 +1625,14 @@ void checkGoogleCloudRecommendationengineV1beta1ProductCatalogItem( o.canonicalProductUri!, unittest.equals('foo'), ); - checkUnnamed8885(o.costs!); + checkUnnamed8994(o.costs!); unittest.expect( o.currencyCode!, unittest.equals('foo'), ); checkGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice( o.exactPrice!); - checkUnnamed8886(o.images!); + checkUnnamed8995(o.images!); checkGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange( o.priceRange!); unittest.expect( @@ -1769,12 +1769,12 @@ void checkGoogleCloudRecommendationengineV1beta1ProductDetail( core.List< api.GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy> - buildUnnamed8887() => [ + buildUnnamed8996() => [ buildGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy(), buildGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy(), ]; -void checkUnnamed8887( +void checkUnnamed8996( core.List< api.GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy> o) { @@ -1784,12 +1784,12 @@ void checkUnnamed8887( } core.List - buildUnnamed8888() => [ + buildUnnamed8997() => [ buildGoogleCloudRecommendationengineV1beta1ProductDetail(), buildGoogleCloudRecommendationengineV1beta1ProductDetail(), ]; -void checkUnnamed8888( +void checkUnnamed8997( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1ProductDetail(o[0]); @@ -1806,8 +1806,8 @@ api.GoogleCloudRecommendationengineV1beta1ProductEventDetail 3) { o.cartId = 'foo'; o.listId = 'foo'; - o.pageCategories = buildUnnamed8887(); - o.productDetails = buildUnnamed8888(); + o.pageCategories = buildUnnamed8996(); + o.productDetails = buildUnnamed8997(); o.purchaseTransaction = buildGoogleCloudRecommendationengineV1beta1PurchaseTransaction(); o.searchQuery = 'foo'; @@ -1829,8 +1829,8 @@ void checkGoogleCloudRecommendationengineV1beta1ProductEventDetail( o.listId!, unittest.equals('foo'), ); - checkUnnamed8887(o.pageCategories!); - checkUnnamed8888(o.productDetails!); + checkUnnamed8996(o.pageCategories!); + checkUnnamed8997(o.productDetails!); checkGoogleCloudRecommendationengineV1beta1PurchaseTransaction( o.purchaseTransaction!); unittest.expect( @@ -1841,12 +1841,12 @@ void checkGoogleCloudRecommendationengineV1beta1ProductEventDetail( buildCounterGoogleCloudRecommendationengineV1beta1ProductEventDetail--; } -core.Map buildUnnamed8889() => { +core.Map buildUnnamed8998() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed8889(core.Map o) { +void checkUnnamed8998(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1858,12 +1858,12 @@ void checkUnnamed8889(core.Map o) { ); } -core.Map buildUnnamed8890() => { +core.Map buildUnnamed8999() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed8890(core.Map o) { +void checkUnnamed8999(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1883,11 +1883,11 @@ api.GoogleCloudRecommendationengineV1beta1PurchaseTransaction buildCounterGoogleCloudRecommendationengineV1beta1PurchaseTransaction++; if (buildCounterGoogleCloudRecommendationengineV1beta1PurchaseTransaction < 3) { - o.costs = buildUnnamed8889(); + o.costs = buildUnnamed8998(); o.currencyCode = 'foo'; o.id = 'foo'; o.revenue = 42.0; - o.taxes = buildUnnamed8890(); + o.taxes = buildUnnamed8999(); } buildCounterGoogleCloudRecommendationengineV1beta1PurchaseTransaction--; return o; @@ -1898,7 +1898,7 @@ void checkGoogleCloudRecommendationengineV1beta1PurchaseTransaction( buildCounterGoogleCloudRecommendationengineV1beta1PurchaseTransaction++; if (buildCounterGoogleCloudRecommendationengineV1beta1PurchaseTransaction < 3) { - checkUnnamed8889(o.costs!); + checkUnnamed8998(o.costs!); unittest.expect( o.currencyCode!, unittest.equals('foo'), @@ -1911,7 +1911,7 @@ void checkGoogleCloudRecommendationengineV1beta1PurchaseTransaction( o.revenue!, unittest.equals(42.0), ); - checkUnnamed8890(o.taxes!); + checkUnnamed8999(o.taxes!); } buildCounterGoogleCloudRecommendationengineV1beta1PurchaseTransaction--; } @@ -1980,12 +1980,12 @@ void checkGoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest( } core.List - buildUnnamed8891() => [ + buildUnnamed9000() => [ buildGoogleCloudRecommendationengineV1beta1UserEvent(), buildGoogleCloudRecommendationengineV1beta1UserEvent(), ]; -void checkUnnamed8891( +void checkUnnamed9000( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1UserEvent(o[0]); @@ -2002,7 +2002,7 @@ api.GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse if (buildCounterGoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse < 3) { o.purgedEventsCount = 'foo'; - o.userEventsSample = buildUnnamed8891(); + o.userEventsSample = buildUnnamed9000(); } buildCounterGoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse--; return o; @@ -2017,7 +2017,7 @@ void checkGoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse( o.purgedEventsCount!, unittest.equals('foo'), ); - checkUnnamed8891(o.userEventsSample!); + checkUnnamed9000(o.userEventsSample!); } buildCounterGoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse--; } @@ -2177,12 +2177,12 @@ void checkGoogleCloudRecommendationengineV1beta1UserEventImportSummary( } core.List - buildUnnamed8892() => [ + buildUnnamed9001() => [ buildGoogleCloudRecommendationengineV1beta1UserEvent(), buildGoogleCloudRecommendationengineV1beta1UserEvent(), ]; -void checkUnnamed8892( +void checkUnnamed9001( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecommendationengineV1beta1UserEvent(o[0]); @@ -2197,7 +2197,7 @@ api.GoogleCloudRecommendationengineV1beta1UserEventInlineSource buildCounterGoogleCloudRecommendationengineV1beta1UserEventInlineSource++; if (buildCounterGoogleCloudRecommendationengineV1beta1UserEventInlineSource < 3) { - o.userEvents = buildUnnamed8892(); + o.userEvents = buildUnnamed9001(); } buildCounterGoogleCloudRecommendationengineV1beta1UserEventInlineSource--; return o; @@ -2208,7 +2208,7 @@ void checkGoogleCloudRecommendationengineV1beta1UserEventInlineSource( buildCounterGoogleCloudRecommendationengineV1beta1UserEventInlineSource++; if (buildCounterGoogleCloudRecommendationengineV1beta1UserEventInlineSource < 3) { - checkUnnamed8892(o.userEvents!); + checkUnnamed9001(o.userEvents!); } buildCounterGoogleCloudRecommendationengineV1beta1UserEventInlineSource--; } @@ -2254,12 +2254,12 @@ void checkGoogleCloudRecommendationengineV1beta1UserInfo( buildCounterGoogleCloudRecommendationengineV1beta1UserInfo--; } -core.List buildUnnamed8893() => [ +core.List buildUnnamed9002() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed8893(core.List o) { +void checkUnnamed9002(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -2272,7 +2272,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed8893(); + o.operations = buildUnnamed9002(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -2286,12 +2286,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8893(o.operations!); + checkUnnamed9002(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed8894() => { +core.Map buildUnnamed9003() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2304,7 +2304,7 @@ core.Map buildUnnamed8894() => { }, }; -void checkUnnamed8894(core.Map o) { +void checkUnnamed9003(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -2336,7 +2336,7 @@ void checkUnnamed8894(core.Map o) { ); } -core.Map buildUnnamed8895() => { +core.Map buildUnnamed9004() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2349,7 +2349,7 @@ core.Map buildUnnamed8895() => { }, }; -void checkUnnamed8895(core.Map o) { +void checkUnnamed9004(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -2388,9 +2388,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed8894(); + o.metadata = buildUnnamed9003(); o.name = 'foo'; - o.response = buildUnnamed8895(); + o.response = buildUnnamed9004(); } buildCounterGoogleLongrunningOperation--; return o; @@ -2401,12 +2401,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed8894(o.metadata!); + checkUnnamed9003(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8895(o.response!); + checkUnnamed9004(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -2426,7 +2426,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed8896() => { +core.Map buildUnnamed9005() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2439,7 +2439,7 @@ core.Map buildUnnamed8896() => { }, }; -void checkUnnamed8896(core.Map o) { +void checkUnnamed9005(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -2471,15 +2471,15 @@ void checkUnnamed8896(core.Map o) { ); } -core.List> buildUnnamed8897() => [ - buildUnnamed8896(), - buildUnnamed8896(), +core.List> buildUnnamed9006() => [ + buildUnnamed9005(), + buildUnnamed9005(), ]; -void checkUnnamed8897(core.List> o) { +void checkUnnamed9006(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8896(o[0]); - checkUnnamed8896(o[1]); + checkUnnamed9005(o[0]); + checkUnnamed9005(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -2488,7 +2488,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed8897(); + o.details = buildUnnamed9006(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -2502,7 +2502,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8897(o.details!); + checkUnnamed9006(o.details!); unittest.expect( o.message!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart b/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart index 53f555a15..ccf74fdce 100644 --- a/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart @@ -26,12 +26,12 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.List buildUnnamed8319() => [ +core.List buildUnnamed8409() => [ 'foo', 'foo', ]; -void checkUnnamed8319(core.List o) { +void checkUnnamed8409(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -48,7 +48,7 @@ api.SasPortalAssignment buildSasPortalAssignment() { final o = api.SasPortalAssignment(); buildCounterSasPortalAssignment++; if (buildCounterSasPortalAssignment < 3) { - o.members = buildUnnamed8319(); + o.members = buildUnnamed8409(); o.role = 'foo'; } buildCounterSasPortalAssignment--; @@ -58,7 +58,7 @@ api.SasPortalAssignment buildSasPortalAssignment() { void checkSasPortalAssignment(api.SasPortalAssignment o) { buildCounterSasPortalAssignment++; if (buildCounterSasPortalAssignment < 3) { - checkUnnamed8319(o.members!); + checkUnnamed8409(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -120,12 +120,12 @@ void checkSasPortalCreateSignedDeviceRequest( buildCounterSasPortalCreateSignedDeviceRequest--; } -core.List buildUnnamed8320() => [ +core.List buildUnnamed8410() => [ 'foo', 'foo', ]; -void checkUnnamed8320(core.List o) { +void checkUnnamed8410(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -144,7 +144,7 @@ api.SasPortalCustomer buildSasPortalCustomer() { if (buildCounterSasPortalCustomer < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.sasUserIds = buildUnnamed8320(); + o.sasUserIds = buildUnnamed8410(); } buildCounterSasPortalCustomer--; return o; @@ -161,17 +161,17 @@ void checkSasPortalCustomer(api.SasPortalCustomer o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8320(o.sasUserIds!); + checkUnnamed8410(o.sasUserIds!); } buildCounterSasPortalCustomer--; } -core.List buildUnnamed8321() => [ +core.List buildUnnamed8411() => [ 'foo', 'foo', ]; -void checkUnnamed8321(core.List o) { +void checkUnnamed8411(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -183,12 +183,12 @@ void checkUnnamed8321(core.List o) { ); } -core.List buildUnnamed8322() => [ +core.List buildUnnamed8412() => [ 'foo', 'foo', ]; -void checkUnnamed8322(core.List o) { +void checkUnnamed8412(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -200,12 +200,12 @@ void checkUnnamed8322(core.List o) { ); } -core.List buildUnnamed8323() => [ +core.List buildUnnamed8413() => [ 'foo', 'foo', ]; -void checkUnnamed8323(core.List o) { +void checkUnnamed8413(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -222,12 +222,12 @@ api.SasPortalDeployment buildSasPortalDeployment() { final o = api.SasPortalDeployment(); buildCounterSasPortalDeployment++; if (buildCounterSasPortalDeployment < 3) { - o.allowedBillingModes = buildUnnamed8321(); + o.allowedBillingModes = buildUnnamed8411(); o.defaultBillingMode = 'foo'; o.displayName = 'foo'; - o.frns = buildUnnamed8322(); + o.frns = buildUnnamed8412(); o.name = 'foo'; - o.sasUserIds = buildUnnamed8323(); + o.sasUserIds = buildUnnamed8413(); } buildCounterSasPortalDeployment--; return o; @@ -236,7 +236,7 @@ api.SasPortalDeployment buildSasPortalDeployment() { void checkSasPortalDeployment(api.SasPortalDeployment o) { buildCounterSasPortalDeployment++; if (buildCounterSasPortalDeployment < 3) { - checkUnnamed8321(o.allowedBillingModes!); + checkUnnamed8411(o.allowedBillingModes!); unittest.expect( o.defaultBillingMode!, unittest.equals('foo'), @@ -245,44 +245,44 @@ void checkSasPortalDeployment(api.SasPortalDeployment o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed8322(o.frns!); + checkUnnamed8412(o.frns!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8323(o.sasUserIds!); + checkUnnamed8413(o.sasUserIds!); } buildCounterSasPortalDeployment--; } -core.List buildUnnamed8324() => [ +core.List buildUnnamed8414() => [ buildSasPortalChannelWithScore(), buildSasPortalChannelWithScore(), ]; -void checkUnnamed8324(core.List o) { +void checkUnnamed8414(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalChannelWithScore(o[0]); checkSasPortalChannelWithScore(o[1]); } -core.List buildUnnamed8325() => [ +core.List buildUnnamed8415() => [ buildSasPortalFrequencyRange(), buildSasPortalFrequencyRange(), ]; -void checkUnnamed8325(core.List o) { +void checkUnnamed8415(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalFrequencyRange(o[0]); checkSasPortalFrequencyRange(o[1]); } -core.List buildUnnamed8326() => [ +core.List buildUnnamed8416() => [ buildSasPortalDeviceGrant(), buildSasPortalDeviceGrant(), ]; -void checkUnnamed8326(core.List o) { +void checkUnnamed8416(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDeviceGrant(o[0]); checkSasPortalDeviceGrant(o[1]); @@ -294,12 +294,12 @@ api.SasPortalDevice buildSasPortalDevice() { buildCounterSasPortalDevice++; if (buildCounterSasPortalDevice < 3) { o.activeConfig = buildSasPortalDeviceConfig(); - o.currentChannels = buildUnnamed8324(); + o.currentChannels = buildUnnamed8414(); o.deviceMetadata = buildSasPortalDeviceMetadata(); o.displayName = 'foo'; o.fccId = 'foo'; - o.grantRangeAllowlists = buildUnnamed8325(); - o.grants = buildUnnamed8326(); + o.grantRangeAllowlists = buildUnnamed8415(); + o.grants = buildUnnamed8416(); o.name = 'foo'; o.preloadedConfig = buildSasPortalDeviceConfig(); o.serialNumber = 'foo'; @@ -313,7 +313,7 @@ void checkSasPortalDevice(api.SasPortalDevice o) { buildCounterSasPortalDevice++; if (buildCounterSasPortalDevice < 3) { checkSasPortalDeviceConfig(o.activeConfig!); - checkUnnamed8324(o.currentChannels!); + checkUnnamed8414(o.currentChannels!); checkSasPortalDeviceMetadata(o.deviceMetadata!); unittest.expect( o.displayName!, @@ -323,8 +323,8 @@ void checkSasPortalDevice(api.SasPortalDevice o) { o.fccId!, unittest.equals('foo'), ); - checkUnnamed8325(o.grantRangeAllowlists!); - checkUnnamed8326(o.grants!); + checkUnnamed8415(o.grantRangeAllowlists!); + checkUnnamed8416(o.grants!); unittest.expect( o.name!, unittest.equals('foo'), @@ -369,12 +369,12 @@ void checkSasPortalDeviceAirInterface(api.SasPortalDeviceAirInterface o) { buildCounterSasPortalDeviceAirInterface--; } -core.List buildUnnamed8327() => [ +core.List buildUnnamed8417() => [ 'foo', 'foo', ]; -void checkUnnamed8327(core.List o) { +void checkUnnamed8417(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -396,7 +396,7 @@ api.SasPortalDeviceConfig buildSasPortalDeviceConfig() { o.category = 'foo'; o.installationParams = buildSasPortalInstallationParams(); o.isSigned = true; - o.measurementCapabilities = buildUnnamed8327(); + o.measurementCapabilities = buildUnnamed8417(); o.model = buildSasPortalDeviceModel(); o.state = 'foo'; o.updateTime = 'foo'; @@ -420,7 +420,7 @@ void checkSasPortalDeviceConfig(api.SasPortalDeviceConfig o) { ); checkSasPortalInstallationParams(o.installationParams!); unittest.expect(o.isSigned!, unittest.isTrue); - checkUnnamed8327(o.measurementCapabilities!); + checkUnnamed8417(o.measurementCapabilities!); checkSasPortalDeviceModel(o.model!); unittest.expect( o.state!, @@ -438,23 +438,23 @@ void checkSasPortalDeviceConfig(api.SasPortalDeviceConfig o) { buildCounterSasPortalDeviceConfig--; } -core.List buildUnnamed8328() => [ +core.List buildUnnamed8418() => [ buildSasPortalDpaMoveList(), buildSasPortalDpaMoveList(), ]; -void checkUnnamed8328(core.List o) { +void checkUnnamed8418(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDpaMoveList(o[0]); checkSasPortalDpaMoveList(o[1]); } -core.List buildUnnamed8329() => [ +core.List buildUnnamed8419() => [ 'foo', 'foo', ]; -void checkUnnamed8329(core.List o) { +void checkUnnamed8419(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -476,9 +476,9 @@ api.SasPortalDeviceGrant buildSasPortalDeviceGrant() { o.frequencyRange = buildSasPortalFrequencyRange(); o.grantId = 'foo'; o.maxEirp = 42.0; - o.moveList = buildUnnamed8328(); + o.moveList = buildUnnamed8418(); o.state = 'foo'; - o.suspensionReason = buildUnnamed8329(); + o.suspensionReason = buildUnnamed8419(); } buildCounterSasPortalDeviceGrant--; return o; @@ -504,12 +504,12 @@ void checkSasPortalDeviceGrant(api.SasPortalDeviceGrant o) { o.maxEirp!, unittest.equals(42.0), ); - checkUnnamed8328(o.moveList!); + checkUnnamed8418(o.moveList!); unittest.expect( o.state!, unittest.equals('foo'), ); - checkUnnamed8329(o.suspensionReason!); + checkUnnamed8419(o.suspensionReason!); } buildCounterSasPortalDeviceGrant--; } @@ -785,12 +785,12 @@ void checkSasPortalInstallationParams(api.SasPortalInstallationParams o) { buildCounterSasPortalInstallationParams--; } -core.List buildUnnamed8330() => [ +core.List buildUnnamed8420() => [ buildSasPortalCustomer(), buildSasPortalCustomer(), ]; -void checkUnnamed8330(core.List o) { +void checkUnnamed8420(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalCustomer(o[0]); checkSasPortalCustomer(o[1]); @@ -801,7 +801,7 @@ api.SasPortalListCustomersResponse buildSasPortalListCustomersResponse() { final o = api.SasPortalListCustomersResponse(); buildCounterSasPortalListCustomersResponse++; if (buildCounterSasPortalListCustomersResponse < 3) { - o.customers = buildUnnamed8330(); + o.customers = buildUnnamed8420(); o.nextPageToken = 'foo'; } buildCounterSasPortalListCustomersResponse--; @@ -811,7 +811,7 @@ api.SasPortalListCustomersResponse buildSasPortalListCustomersResponse() { void checkSasPortalListCustomersResponse(api.SasPortalListCustomersResponse o) { buildCounterSasPortalListCustomersResponse++; if (buildCounterSasPortalListCustomersResponse < 3) { - checkUnnamed8330(o.customers!); + checkUnnamed8420(o.customers!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -820,12 +820,12 @@ void checkSasPortalListCustomersResponse(api.SasPortalListCustomersResponse o) { buildCounterSasPortalListCustomersResponse--; } -core.List buildUnnamed8331() => [ +core.List buildUnnamed8421() => [ buildSasPortalDeployment(), buildSasPortalDeployment(), ]; -void checkUnnamed8331(core.List o) { +void checkUnnamed8421(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDeployment(o[0]); checkSasPortalDeployment(o[1]); @@ -836,7 +836,7 @@ api.SasPortalListDeploymentsResponse buildSasPortalListDeploymentsResponse() { final o = api.SasPortalListDeploymentsResponse(); buildCounterSasPortalListDeploymentsResponse++; if (buildCounterSasPortalListDeploymentsResponse < 3) { - o.deployments = buildUnnamed8331(); + o.deployments = buildUnnamed8421(); o.nextPageToken = 'foo'; } buildCounterSasPortalListDeploymentsResponse--; @@ -847,7 +847,7 @@ void checkSasPortalListDeploymentsResponse( api.SasPortalListDeploymentsResponse o) { buildCounterSasPortalListDeploymentsResponse++; if (buildCounterSasPortalListDeploymentsResponse < 3) { - checkUnnamed8331(o.deployments!); + checkUnnamed8421(o.deployments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -856,12 +856,12 @@ void checkSasPortalListDeploymentsResponse( buildCounterSasPortalListDeploymentsResponse--; } -core.List buildUnnamed8332() => [ +core.List buildUnnamed8422() => [ buildSasPortalDevice(), buildSasPortalDevice(), ]; -void checkUnnamed8332(core.List o) { +void checkUnnamed8422(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalDevice(o[0]); checkSasPortalDevice(o[1]); @@ -872,7 +872,7 @@ api.SasPortalListDevicesResponse buildSasPortalListDevicesResponse() { final o = api.SasPortalListDevicesResponse(); buildCounterSasPortalListDevicesResponse++; if (buildCounterSasPortalListDevicesResponse < 3) { - o.devices = buildUnnamed8332(); + o.devices = buildUnnamed8422(); o.nextPageToken = 'foo'; } buildCounterSasPortalListDevicesResponse--; @@ -882,7 +882,7 @@ api.SasPortalListDevicesResponse buildSasPortalListDevicesResponse() { void checkSasPortalListDevicesResponse(api.SasPortalListDevicesResponse o) { buildCounterSasPortalListDevicesResponse++; if (buildCounterSasPortalListDevicesResponse < 3) { - checkUnnamed8332(o.devices!); + checkUnnamed8422(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -891,12 +891,12 @@ void checkSasPortalListDevicesResponse(api.SasPortalListDevicesResponse o) { buildCounterSasPortalListDevicesResponse--; } -core.List buildUnnamed8333() => [ +core.List buildUnnamed8423() => [ buildSasPortalNode(), buildSasPortalNode(), ]; -void checkUnnamed8333(core.List o) { +void checkUnnamed8423(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalNode(o[0]); checkSasPortalNode(o[1]); @@ -908,7 +908,7 @@ api.SasPortalListNodesResponse buildSasPortalListNodesResponse() { buildCounterSasPortalListNodesResponse++; if (buildCounterSasPortalListNodesResponse < 3) { o.nextPageToken = 'foo'; - o.nodes = buildUnnamed8333(); + o.nodes = buildUnnamed8423(); } buildCounterSasPortalListNodesResponse--; return o; @@ -921,7 +921,7 @@ void checkSasPortalListNodesResponse(api.SasPortalListNodesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8333(o.nodes!); + checkUnnamed8423(o.nodes!); } buildCounterSasPortalListNodesResponse--; } @@ -992,12 +992,12 @@ void checkSasPortalMoveNodeRequest(api.SasPortalMoveNodeRequest o) { buildCounterSasPortalMoveNodeRequest--; } -core.List buildUnnamed8334() => [ +core.List buildUnnamed8424() => [ 'foo', 'foo', ]; -void checkUnnamed8334(core.List o) { +void checkUnnamed8424(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1016,7 +1016,7 @@ api.SasPortalNode buildSasPortalNode() { if (buildCounterSasPortalNode < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.sasUserIds = buildUnnamed8334(); + o.sasUserIds = buildUnnamed8424(); } buildCounterSasPortalNode--; return o; @@ -1033,12 +1033,12 @@ void checkSasPortalNode(api.SasPortalNode o) { o.name!, unittest.equals('foo'), ); - checkUnnamed8334(o.sasUserIds!); + checkUnnamed8424(o.sasUserIds!); } buildCounterSasPortalNode--; } -core.Map buildUnnamed8335() => { +core.Map buildUnnamed8425() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1051,7 +1051,7 @@ core.Map buildUnnamed8335() => { }, }; -void checkUnnamed8335(core.Map o) { +void checkUnnamed8425(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1083,7 +1083,7 @@ void checkUnnamed8335(core.Map o) { ); } -core.Map buildUnnamed8336() => { +core.Map buildUnnamed8426() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1096,7 +1096,7 @@ core.Map buildUnnamed8336() => { }, }; -void checkUnnamed8336(core.Map o) { +void checkUnnamed8426(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1135,9 +1135,9 @@ api.SasPortalOperation buildSasPortalOperation() { if (buildCounterSasPortalOperation < 3) { o.done = true; o.error = buildSasPortalStatus(); - o.metadata = buildUnnamed8335(); + o.metadata = buildUnnamed8425(); o.name = 'foo'; - o.response = buildUnnamed8336(); + o.response = buildUnnamed8426(); } buildCounterSasPortalOperation--; return o; @@ -1148,22 +1148,22 @@ void checkSasPortalOperation(api.SasPortalOperation o) { if (buildCounterSasPortalOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkSasPortalStatus(o.error!); - checkUnnamed8335(o.metadata!); + checkUnnamed8425(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed8336(o.response!); + checkUnnamed8426(o.response!); } buildCounterSasPortalOperation--; } -core.List buildUnnamed8337() => [ +core.List buildUnnamed8427() => [ buildSasPortalAssignment(), buildSasPortalAssignment(), ]; -void checkUnnamed8337(core.List o) { +void checkUnnamed8427(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSasPortalAssignment(o[0]); checkSasPortalAssignment(o[1]); @@ -1174,7 +1174,7 @@ api.SasPortalPolicy buildSasPortalPolicy() { final o = api.SasPortalPolicy(); buildCounterSasPortalPolicy++; if (buildCounterSasPortalPolicy < 3) { - o.assignments = buildUnnamed8337(); + o.assignments = buildUnnamed8427(); o.etag = 'foo'; } buildCounterSasPortalPolicy--; @@ -1184,7 +1184,7 @@ api.SasPortalPolicy buildSasPortalPolicy() { void checkSasPortalPolicy(api.SasPortalPolicy o) { buildCounterSasPortalPolicy++; if (buildCounterSasPortalPolicy < 3) { - checkUnnamed8337(o.assignments!); + checkUnnamed8427(o.assignments!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1238,7 +1238,7 @@ void checkSasPortalSignDeviceRequest(api.SasPortalSignDeviceRequest o) { buildCounterSasPortalSignDeviceRequest--; } -core.Map buildUnnamed8338() => { +core.Map buildUnnamed8428() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1251,7 +1251,7 @@ core.Map buildUnnamed8338() => { }, }; -void checkUnnamed8338(core.Map o) { +void checkUnnamed8428(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1283,15 +1283,15 @@ void checkUnnamed8338(core.Map o) { ); } -core.List> buildUnnamed8339() => [ - buildUnnamed8338(), - buildUnnamed8338(), +core.List> buildUnnamed8429() => [ + buildUnnamed8428(), + buildUnnamed8428(), ]; -void checkUnnamed8339(core.List> o) { +void checkUnnamed8429(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8338(o[0]); - checkUnnamed8338(o[1]); + checkUnnamed8428(o[0]); + checkUnnamed8428(o[1]); } core.int buildCounterSasPortalStatus = 0; @@ -1300,7 +1300,7 @@ api.SasPortalStatus buildSasPortalStatus() { buildCounterSasPortalStatus++; if (buildCounterSasPortalStatus < 3) { o.code = 42; - o.details = buildUnnamed8339(); + o.details = buildUnnamed8429(); o.message = 'foo'; } buildCounterSasPortalStatus--; @@ -1314,7 +1314,7 @@ void checkSasPortalStatus(api.SasPortalStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8339(o.details!); + checkUnnamed8429(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1323,12 +1323,12 @@ void checkSasPortalStatus(api.SasPortalStatus o) { buildCounterSasPortalStatus--; } -core.List buildUnnamed8340() => [ +core.List buildUnnamed8430() => [ 'foo', 'foo', ]; -void checkUnnamed8340(core.List o) { +void checkUnnamed8430(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1345,7 +1345,7 @@ api.SasPortalTestPermissionsRequest buildSasPortalTestPermissionsRequest() { final o = api.SasPortalTestPermissionsRequest(); buildCounterSasPortalTestPermissionsRequest++; if (buildCounterSasPortalTestPermissionsRequest < 3) { - o.permissions = buildUnnamed8340(); + o.permissions = buildUnnamed8430(); o.resource = 'foo'; } buildCounterSasPortalTestPermissionsRequest--; @@ -1356,7 +1356,7 @@ void checkSasPortalTestPermissionsRequest( api.SasPortalTestPermissionsRequest o) { buildCounterSasPortalTestPermissionsRequest++; if (buildCounterSasPortalTestPermissionsRequest < 3) { - checkUnnamed8340(o.permissions!); + checkUnnamed8430(o.permissions!); unittest.expect( o.resource!, unittest.equals('foo'), @@ -1365,12 +1365,12 @@ void checkSasPortalTestPermissionsRequest( buildCounterSasPortalTestPermissionsRequest--; } -core.List buildUnnamed8341() => [ +core.List buildUnnamed8431() => [ 'foo', 'foo', ]; -void checkUnnamed8341(core.List o) { +void checkUnnamed8431(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1387,7 +1387,7 @@ api.SasPortalTestPermissionsResponse buildSasPortalTestPermissionsResponse() { final o = api.SasPortalTestPermissionsResponse(); buildCounterSasPortalTestPermissionsResponse++; if (buildCounterSasPortalTestPermissionsResponse < 3) { - o.permissions = buildUnnamed8341(); + o.permissions = buildUnnamed8431(); } buildCounterSasPortalTestPermissionsResponse--; return o; @@ -1397,7 +1397,7 @@ void checkSasPortalTestPermissionsResponse( api.SasPortalTestPermissionsResponse o) { buildCounterSasPortalTestPermissionsResponse++; if (buildCounterSasPortalTestPermissionsResponse < 3) { - checkUnnamed8341(o.permissions!); + checkUnnamed8431(o.permissions!); } buildCounterSasPortalTestPermissionsResponse--; } diff --git a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart index 38068b64a..6d96ec386 100644 --- a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart +++ b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart @@ -284,12 +284,12 @@ void checkBackupRun(api.BackupRun o) { buildCounterBackupRun--; } -core.List buildUnnamed8144() => [ +core.List buildUnnamed8230() => [ buildBackupRun(), buildBackupRun(), ]; -void checkUnnamed8144(core.List o) { +void checkUnnamed8230(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackupRun(o[0]); checkBackupRun(o[1]); @@ -300,7 +300,7 @@ api.BackupRunsListResponse buildBackupRunsListResponse() { final o = api.BackupRunsListResponse(); buildCounterBackupRunsListResponse++; if (buildCounterBackupRunsListResponse < 3) { - o.items = buildUnnamed8144(); + o.items = buildUnnamed8230(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -311,7 +311,7 @@ api.BackupRunsListResponse buildBackupRunsListResponse() { void checkBackupRunsListResponse(api.BackupRunsListResponse o) { buildCounterBackupRunsListResponse++; if (buildCounterBackupRunsListResponse < 3) { - checkUnnamed8144(o.items!); + checkUnnamed8230(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -395,12 +395,12 @@ void checkCloneContext(api.CloneContext o) { buildCounterCloneContext--; } -core.List buildUnnamed8145() => [ +core.List buildUnnamed8231() => [ buildIpMapping(), buildIpMapping(), ]; -void checkUnnamed8145(core.List o) { +void checkUnnamed8231(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIpMapping(o[0]); checkIpMapping(o[1]); @@ -413,7 +413,7 @@ api.ConnectSettings buildConnectSettings() { if (buildCounterConnectSettings < 3) { o.backendType = 'foo'; o.databaseVersion = 'foo'; - o.ipAddresses = buildUnnamed8145(); + o.ipAddresses = buildUnnamed8231(); o.kind = 'foo'; o.serverCaCert = buildSslCert(); } @@ -432,7 +432,7 @@ void checkConnectSettings(api.ConnectSettings o) { o.databaseVersion!, unittest.equals('foo'), ); - checkUnnamed8145(o.ipAddresses!); + checkUnnamed8231(o.ipAddresses!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -553,23 +553,23 @@ void checkDatabaseInstanceFailoverReplica( buildCounterDatabaseInstanceFailoverReplica--; } -core.List buildUnnamed8146() => [ +core.List buildUnnamed8232() => [ buildIpMapping(), buildIpMapping(), ]; -void checkUnnamed8146(core.List o) { +void checkUnnamed8232(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIpMapping(o[0]); checkIpMapping(o[1]); } -core.List buildUnnamed8147() => [ +core.List buildUnnamed8233() => [ 'foo', 'foo', ]; -void checkUnnamed8147(core.List o) { +void checkUnnamed8233(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -581,12 +581,12 @@ void checkUnnamed8147(core.List o) { ); } -core.List buildUnnamed8148() => [ +core.List buildUnnamed8234() => [ 'foo', 'foo', ]; -void checkUnnamed8148(core.List o) { +void checkUnnamed8234(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -605,6 +605,7 @@ api.DatabaseInstance buildDatabaseInstance() { if (buildCounterDatabaseInstance < 3) { o.backendType = 'foo'; o.connectionName = 'foo'; + o.createTime = 'foo'; o.currentDiskSize = 'foo'; o.databaseVersion = 'foo'; o.diskEncryptionConfiguration = buildDiskEncryptionConfiguration(); @@ -613,7 +614,7 @@ api.DatabaseInstance buildDatabaseInstance() { o.failoverReplica = buildDatabaseInstanceFailoverReplica(); o.gceZone = 'foo'; o.instanceType = 'foo'; - o.ipAddresses = buildUnnamed8146(); + o.ipAddresses = buildUnnamed8232(); o.ipv6Address = 'foo'; o.kind = 'foo'; o.masterInstanceName = 'foo'; @@ -624,7 +625,7 @@ api.DatabaseInstance buildDatabaseInstance() { o.project = 'foo'; o.region = 'foo'; o.replicaConfiguration = buildReplicaConfiguration(); - o.replicaNames = buildUnnamed8147(); + o.replicaNames = buildUnnamed8233(); o.rootPassword = 'foo'; o.satisfiesPzs = true; o.scheduledMaintenance = buildSqlScheduledMaintenance(); @@ -634,7 +635,7 @@ api.DatabaseInstance buildDatabaseInstance() { o.serviceAccountEmailAddress = 'foo'; o.settings = buildSettings(); o.state = 'foo'; - o.suspensionReason = buildUnnamed8148(); + o.suspensionReason = buildUnnamed8234(); } buildCounterDatabaseInstance--; return o; @@ -651,6 +652,10 @@ void checkDatabaseInstance(api.DatabaseInstance o) { o.connectionName!, unittest.equals('foo'), ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); unittest.expect( o.currentDiskSize!, unittest.equals('foo'), @@ -674,7 +679,7 @@ void checkDatabaseInstance(api.DatabaseInstance o) { o.instanceType!, unittest.equals('foo'), ); - checkUnnamed8146(o.ipAddresses!); + checkUnnamed8232(o.ipAddresses!); unittest.expect( o.ipv6Address!, unittest.equals('foo'), @@ -706,7 +711,7 @@ void checkDatabaseInstance(api.DatabaseInstance o) { unittest.equals('foo'), ); checkReplicaConfiguration(o.replicaConfiguration!); - checkUnnamed8147(o.replicaNames!); + checkUnnamed8233(o.replicaNames!); unittest.expect( o.rootPassword!, unittest.equals('foo'), @@ -731,17 +736,17 @@ void checkDatabaseInstance(api.DatabaseInstance o) { o.state!, unittest.equals('foo'), ); - checkUnnamed8148(o.suspensionReason!); + checkUnnamed8234(o.suspensionReason!); } buildCounterDatabaseInstance--; } -core.List buildUnnamed8149() => [ +core.List buildUnnamed8235() => [ buildDatabase(), buildDatabase(), ]; -void checkUnnamed8149(core.List o) { +void checkUnnamed8235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabase(o[0]); checkDatabase(o[1]); @@ -752,7 +757,7 @@ api.DatabasesListResponse buildDatabasesListResponse() { final o = api.DatabasesListResponse(); buildCounterDatabasesListResponse++; if (buildCounterDatabasesListResponse < 3) { - o.items = buildUnnamed8149(); + o.items = buildUnnamed8235(); o.kind = 'foo'; } buildCounterDatabasesListResponse--; @@ -762,7 +767,7 @@ api.DatabasesListResponse buildDatabasesListResponse() { void checkDatabasesListResponse(api.DatabasesListResponse o) { buildCounterDatabasesListResponse++; if (buildCounterDatabasesListResponse < 3) { - checkUnnamed8149(o.items!); + checkUnnamed8235(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -803,6 +808,7 @@ api.DemoteMasterContext buildDemoteMasterContext() { o.kind = 'foo'; o.masterInstanceName = 'foo'; o.replicaConfiguration = buildDemoteMasterConfiguration(); + o.skipReplicationSetup = true; o.verifyGtidConsistency = true; } buildCounterDemoteMasterContext--; @@ -821,6 +827,7 @@ void checkDemoteMasterContext(api.DemoteMasterContext o) { unittest.equals('foo'), ); checkDemoteMasterConfiguration(o.replicaConfiguration!); + unittest.expect(o.skipReplicationSetup!, unittest.isTrue); unittest.expect(o.verifyGtidConsistency!, unittest.isTrue); } buildCounterDemoteMasterContext--; @@ -983,12 +990,12 @@ void checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { buildCounterExportContextCsvExportOptions--; } -core.List buildUnnamed8150() => [ +core.List buildUnnamed8236() => [ 'foo', 'foo', ]; -void checkUnnamed8150(core.List o) { +void checkUnnamed8236(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1024,12 +1031,12 @@ void checkExportContextSqlExportOptionsMysqlExportOptions( buildCounterExportContextSqlExportOptionsMysqlExportOptions--; } -core.List buildUnnamed8151() => [ +core.List buildUnnamed8237() => [ 'foo', 'foo', ]; -void checkUnnamed8151(core.List o) { +void checkUnnamed8237(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1049,7 +1056,7 @@ api.ExportContextSqlExportOptions buildExportContextSqlExportOptions() { o.mysqlExportOptions = buildExportContextSqlExportOptionsMysqlExportOptions(); o.schemaOnly = true; - o.tables = buildUnnamed8151(); + o.tables = buildUnnamed8237(); } buildCounterExportContextSqlExportOptions--; return o; @@ -1060,7 +1067,7 @@ void checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { if (buildCounterExportContextSqlExportOptions < 3) { checkExportContextSqlExportOptionsMysqlExportOptions(o.mysqlExportOptions!); unittest.expect(o.schemaOnly!, unittest.isTrue); - checkUnnamed8151(o.tables!); + checkUnnamed8237(o.tables!); } buildCounterExportContextSqlExportOptions--; } @@ -1071,7 +1078,7 @@ api.ExportContext buildExportContext() { buildCounterExportContext++; if (buildCounterExportContext < 3) { o.csvExportOptions = buildExportContextCsvExportOptions(); - o.databases = buildUnnamed8150(); + o.databases = buildUnnamed8236(); o.fileType = 'foo'; o.kind = 'foo'; o.offload = true; @@ -1086,7 +1093,7 @@ void checkExportContext(api.ExportContext o) { buildCounterExportContext++; if (buildCounterExportContext < 3) { checkExportContextCsvExportOptions(o.csvExportOptions!); - checkUnnamed8150(o.databases!); + checkUnnamed8236(o.databases!); unittest.expect( o.fileType!, unittest.equals('foo'), @@ -1132,12 +1139,12 @@ void checkFailoverContext(api.FailoverContext o) { buildCounterFailoverContext--; } -core.List buildUnnamed8152() => [ +core.List buildUnnamed8238() => [ 'foo', 'foo', ]; -void checkUnnamed8152(core.List o) { +void checkUnnamed8238(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1149,12 +1156,12 @@ void checkUnnamed8152(core.List o) { ); } -core.List buildUnnamed8153() => [ +core.List buildUnnamed8239() => [ 'foo', 'foo', ]; -void checkUnnamed8153(core.List o) { +void checkUnnamed8239(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1166,12 +1173,12 @@ void checkUnnamed8153(core.List o) { ); } -core.List buildUnnamed8154() => [ +core.List buildUnnamed8240() => [ 'foo', 'foo', ]; -void checkUnnamed8154(core.List o) { +void checkUnnamed8240(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1188,9 +1195,9 @@ api.Flag buildFlag() { final o = api.Flag(); buildCounterFlag++; if (buildCounterFlag < 3) { - o.allowedIntValues = buildUnnamed8152(); - o.allowedStringValues = buildUnnamed8153(); - o.appliesTo = buildUnnamed8154(); + o.allowedIntValues = buildUnnamed8238(); + o.allowedStringValues = buildUnnamed8239(); + o.appliesTo = buildUnnamed8240(); o.inBeta = true; o.kind = 'foo'; o.maxValue = 'foo'; @@ -1206,9 +1213,9 @@ api.Flag buildFlag() { void checkFlag(api.Flag o) { buildCounterFlag++; if (buildCounterFlag < 3) { - checkUnnamed8152(o.allowedIntValues!); - checkUnnamed8153(o.allowedStringValues!); - checkUnnamed8154(o.appliesTo!); + checkUnnamed8238(o.allowedIntValues!); + checkUnnamed8239(o.allowedStringValues!); + checkUnnamed8240(o.appliesTo!); unittest.expect(o.inBeta!, unittest.isTrue); unittest.expect( o.kind!, @@ -1235,12 +1242,12 @@ void checkFlag(api.Flag o) { buildCounterFlag--; } -core.List buildUnnamed8155() => [ +core.List buildUnnamed8241() => [ buildFlag(), buildFlag(), ]; -void checkUnnamed8155(core.List o) { +void checkUnnamed8241(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFlag(o[0]); checkFlag(o[1]); @@ -1251,7 +1258,7 @@ api.FlagsListResponse buildFlagsListResponse() { final o = api.FlagsListResponse(); buildCounterFlagsListResponse++; if (buildCounterFlagsListResponse < 3) { - o.items = buildUnnamed8155(); + o.items = buildUnnamed8241(); o.kind = 'foo'; } buildCounterFlagsListResponse--; @@ -1261,7 +1268,7 @@ api.FlagsListResponse buildFlagsListResponse() { void checkFlagsListResponse(api.FlagsListResponse o) { buildCounterFlagsListResponse++; if (buildCounterFlagsListResponse < 3) { - checkUnnamed8155(o.items!); + checkUnnamed8241(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1374,12 +1381,12 @@ void checkImportContextBakImportOptions(api.ImportContextBakImportOptions o) { buildCounterImportContextBakImportOptions--; } -core.List buildUnnamed8156() => [ +core.List buildUnnamed8242() => [ 'foo', 'foo', ]; -void checkUnnamed8156(core.List o) { +void checkUnnamed8242(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1396,7 +1403,7 @@ api.ImportContextCsvImportOptions buildImportContextCsvImportOptions() { final o = api.ImportContextCsvImportOptions(); buildCounterImportContextCsvImportOptions++; if (buildCounterImportContextCsvImportOptions < 3) { - o.columns = buildUnnamed8156(); + o.columns = buildUnnamed8242(); o.table = 'foo'; } buildCounterImportContextCsvImportOptions--; @@ -1406,7 +1413,7 @@ api.ImportContextCsvImportOptions buildImportContextCsvImportOptions() { void checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { buildCounterImportContextCsvImportOptions++; if (buildCounterImportContextCsvImportOptions < 3) { - checkUnnamed8156(o.columns!); + checkUnnamed8242(o.columns!); unittest.expect( o.table!, unittest.equals('foo'), @@ -1494,6 +1501,38 @@ void checkInsightsConfig(api.InsightsConfig o) { buildCounterInsightsConfig--; } +core.int buildCounterInstanceReference = 0; +api.InstanceReference buildInstanceReference() { + final o = api.InstanceReference(); + buildCounterInstanceReference++; + if (buildCounterInstanceReference < 3) { + o.name = 'foo'; + o.project = 'foo'; + o.region = 'foo'; + } + buildCounterInstanceReference--; + return o; +} + +void checkInstanceReference(api.InstanceReference o) { + buildCounterInstanceReference++; + if (buildCounterInstanceReference < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.project!, + unittest.equals('foo'), + ); + unittest.expect( + o.region!, + unittest.equals('foo'), + ); + } + buildCounterInstanceReference--; +} + core.int buildCounterInstancesCloneRequest = 0; api.InstancesCloneRequest buildInstancesCloneRequest() { final o = api.InstancesCloneRequest(); @@ -1589,23 +1628,23 @@ void checkInstancesImportRequest(api.InstancesImportRequest o) { buildCounterInstancesImportRequest--; } -core.List buildUnnamed8157() => [ +core.List buildUnnamed8243() => [ buildDatabaseInstance(), buildDatabaseInstance(), ]; -void checkUnnamed8157(core.List o) { +void checkUnnamed8243(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseInstance(o[0]); checkDatabaseInstance(o[1]); } -core.List buildUnnamed8158() => [ +core.List buildUnnamed8244() => [ buildApiWarning(), buildApiWarning(), ]; -void checkUnnamed8158(core.List o) { +void checkUnnamed8244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiWarning(o[0]); checkApiWarning(o[1]); @@ -1616,10 +1655,10 @@ api.InstancesListResponse buildInstancesListResponse() { final o = api.InstancesListResponse(); buildCounterInstancesListResponse++; if (buildCounterInstancesListResponse < 3) { - o.items = buildUnnamed8157(); + o.items = buildUnnamed8243(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.warnings = buildUnnamed8158(); + o.warnings = buildUnnamed8244(); } buildCounterInstancesListResponse--; return o; @@ -1628,7 +1667,7 @@ api.InstancesListResponse buildInstancesListResponse() { void checkInstancesListResponse(api.InstancesListResponse o) { buildCounterInstancesListResponse++; if (buildCounterInstancesListResponse < 3) { - checkUnnamed8157(o.items!); + checkUnnamed8243(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1637,17 +1676,17 @@ void checkInstancesListResponse(api.InstancesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8158(o.warnings!); + checkUnnamed8244(o.warnings!); } buildCounterInstancesListResponse--; } -core.List buildUnnamed8159() => [ +core.List buildUnnamed8245() => [ buildSslCert(), buildSslCert(), ]; -void checkUnnamed8159(core.List o) { +void checkUnnamed8245(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCert(o[0]); checkSslCert(o[1]); @@ -1659,7 +1698,7 @@ api.InstancesListServerCasResponse buildInstancesListServerCasResponse() { buildCounterInstancesListServerCasResponse++; if (buildCounterInstancesListServerCasResponse < 3) { o.activeVersion = 'foo'; - o.certs = buildUnnamed8159(); + o.certs = buildUnnamed8245(); o.kind = 'foo'; } buildCounterInstancesListServerCasResponse--; @@ -1673,7 +1712,7 @@ void checkInstancesListServerCasResponse(api.InstancesListServerCasResponse o) { o.activeVersion!, unittest.equals('foo'), ); - checkUnnamed8159(o.certs!); + checkUnnamed8245(o.certs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1739,12 +1778,12 @@ void checkInstancesTruncateLogRequest(api.InstancesTruncateLogRequest o) { buildCounterInstancesTruncateLogRequest--; } -core.List buildUnnamed8160() => [ +core.List buildUnnamed8246() => [ buildAclEntry(), buildAclEntry(), ]; -void checkUnnamed8160(core.List o) { +void checkUnnamed8246(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAclEntry(o[0]); checkAclEntry(o[1]); @@ -1755,7 +1794,8 @@ api.IpConfiguration buildIpConfiguration() { final o = api.IpConfiguration(); buildCounterIpConfiguration++; if (buildCounterIpConfiguration < 3) { - o.authorizedNetworks = buildUnnamed8160(); + o.allocatedIpRange = 'foo'; + o.authorizedNetworks = buildUnnamed8246(); o.ipv4Enabled = true; o.privateNetwork = 'foo'; o.requireSsl = true; @@ -1767,7 +1807,11 @@ api.IpConfiguration buildIpConfiguration() { void checkIpConfiguration(api.IpConfiguration o) { buildCounterIpConfiguration++; if (buildCounterIpConfiguration < 3) { - checkUnnamed8160(o.authorizedNetworks!); + unittest.expect( + o.allocatedIpRange!, + unittest.equals('foo'), + ); + checkUnnamed8246(o.authorizedNetworks!); unittest.expect(o.ipv4Enabled!, unittest.isTrue); unittest.expect( o.privateNetwork!, @@ -1953,6 +1997,36 @@ void checkMySqlReplicaConfiguration(api.MySqlReplicaConfiguration o) { buildCounterMySqlReplicaConfiguration--; } +core.List buildUnnamed8247() => [ + buildSyncFlags(), + buildSyncFlags(), + ]; + +void checkUnnamed8247(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkSyncFlags(o[0]); + checkSyncFlags(o[1]); +} + +core.int buildCounterMySqlSyncConfig = 0; +api.MySqlSyncConfig buildMySqlSyncConfig() { + final o = api.MySqlSyncConfig(); + buildCounterMySqlSyncConfig++; + if (buildCounterMySqlSyncConfig < 3) { + o.initialSyncFlags = buildUnnamed8247(); + } + buildCounterMySqlSyncConfig--; + return o; +} + +void checkMySqlSyncConfig(api.MySqlSyncConfig o) { + buildCounterMySqlSyncConfig++; + if (buildCounterMySqlSyncConfig < 3) { + checkUnnamed8247(o.initialSyncFlags!); + } + buildCounterMySqlSyncConfig--; +} + core.int buildCounterOnPremisesConfiguration = 0; api.OnPremisesConfiguration buildOnPremisesConfiguration() { final o = api.OnPremisesConfiguration(); @@ -1965,6 +2039,7 @@ api.OnPremisesConfiguration buildOnPremisesConfiguration() { o.hostPort = 'foo'; o.kind = 'foo'; o.password = 'foo'; + o.sourceInstance = buildInstanceReference(); o.username = 'foo'; } buildCounterOnPremisesConfiguration--; @@ -2002,6 +2077,7 @@ void checkOnPremisesConfiguration(api.OnPremisesConfiguration o) { o.password!, unittest.equals('foo'), ); + checkInstanceReference(o.sourceInstance!); unittest.expect( o.username!, unittest.equals('foo'), @@ -2127,12 +2203,12 @@ void checkOperationError(api.OperationError o) { buildCounterOperationError--; } -core.List buildUnnamed8161() => [ +core.List buildUnnamed8248() => [ buildOperationError(), buildOperationError(), ]; -void checkUnnamed8161(core.List o) { +void checkUnnamed8248(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationError(o[0]); checkOperationError(o[1]); @@ -2143,7 +2219,7 @@ api.OperationErrors buildOperationErrors() { final o = api.OperationErrors(); buildCounterOperationErrors++; if (buildCounterOperationErrors < 3) { - o.errors = buildUnnamed8161(); + o.errors = buildUnnamed8248(); o.kind = 'foo'; } buildCounterOperationErrors--; @@ -2153,7 +2229,7 @@ api.OperationErrors buildOperationErrors() { void checkOperationErrors(api.OperationErrors o) { buildCounterOperationErrors++; if (buildCounterOperationErrors < 3) { - checkUnnamed8161(o.errors!); + checkUnnamed8248(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2162,12 +2238,12 @@ void checkOperationErrors(api.OperationErrors o) { buildCounterOperationErrors--; } -core.List buildUnnamed8162() => [ +core.List buildUnnamed8249() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed8162(core.List o) { +void checkUnnamed8249(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2178,7 +2254,7 @@ api.OperationsListResponse buildOperationsListResponse() { final o = api.OperationsListResponse(); buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { - o.items = buildUnnamed8162(); + o.items = buildUnnamed8249(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2189,7 +2265,7 @@ api.OperationsListResponse buildOperationsListResponse() { void checkOperationsListResponse(api.OperationsListResponse o) { buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { - checkUnnamed8162(o.items!); + checkUnnamed8249(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2319,12 +2395,12 @@ void checkRotateServerCaContext(api.RotateServerCaContext o) { buildCounterRotateServerCaContext--; } -core.List buildUnnamed8163() => [ +core.List buildUnnamed8250() => [ 'foo', 'foo', ]; -void checkUnnamed8163(core.List o) { +void checkUnnamed8250(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2336,34 +2412,34 @@ void checkUnnamed8163(core.List o) { ); } -core.List buildUnnamed8164() => [ +core.List buildUnnamed8251() => [ buildDatabaseFlags(), buildDatabaseFlags(), ]; -void checkUnnamed8164(core.List o) { +void checkUnnamed8251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseFlags(o[0]); checkDatabaseFlags(o[1]); } -core.List buildUnnamed8165() => [ +core.List buildUnnamed8252() => [ buildDenyMaintenancePeriod(), buildDenyMaintenancePeriod(), ]; -void checkUnnamed8165(core.List o) { +void checkUnnamed8252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDenyMaintenancePeriod(o[0]); checkDenyMaintenancePeriod(o[1]); } -core.Map buildUnnamed8166() => { +core.Map buildUnnamed8253() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8166(core.Map o) { +void checkUnnamed8253(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2382,16 +2458,16 @@ api.Settings buildSettings() { if (buildCounterSettings < 3) { o.activationPolicy = 'foo'; o.activeDirectoryConfig = buildSqlActiveDirectoryConfig(); - o.authorizedGaeApplications = buildUnnamed8163(); + o.authorizedGaeApplications = buildUnnamed8250(); o.availabilityType = 'foo'; o.backupConfiguration = buildBackupConfiguration(); o.collation = 'foo'; o.crashSafeReplicationEnabled = true; o.dataDiskSizeGb = 'foo'; o.dataDiskType = 'foo'; - o.databaseFlags = buildUnnamed8164(); + o.databaseFlags = buildUnnamed8251(); o.databaseReplicationEnabled = true; - o.denyMaintenancePeriods = buildUnnamed8165(); + o.denyMaintenancePeriods = buildUnnamed8252(); o.insightsConfig = buildInsightsConfig(); o.ipConfiguration = buildIpConfiguration(); o.kind = 'foo'; @@ -2403,7 +2479,7 @@ api.Settings buildSettings() { o.storageAutoResize = true; o.storageAutoResizeLimit = 'foo'; o.tier = 'foo'; - o.userLabels = buildUnnamed8166(); + o.userLabels = buildUnnamed8253(); } buildCounterSettings--; return o; @@ -2417,7 +2493,7 @@ void checkSettings(api.Settings o) { unittest.equals('foo'), ); checkSqlActiveDirectoryConfig(o.activeDirectoryConfig!); - checkUnnamed8163(o.authorizedGaeApplications!); + checkUnnamed8250(o.authorizedGaeApplications!); unittest.expect( o.availabilityType!, unittest.equals('foo'), @@ -2436,9 +2512,9 @@ void checkSettings(api.Settings o) { o.dataDiskType!, unittest.equals('foo'), ); - checkUnnamed8164(o.databaseFlags!); + checkUnnamed8251(o.databaseFlags!); unittest.expect(o.databaseReplicationEnabled!, unittest.isTrue); - checkUnnamed8165(o.denyMaintenancePeriods!); + checkUnnamed8252(o.denyMaintenancePeriods!); checkInsightsConfig(o.insightsConfig!); checkIpConfiguration(o.ipConfiguration!); unittest.expect( @@ -2468,7 +2544,7 @@ void checkSettings(api.Settings o) { o.tier!, unittest.equals('foo'), ); - checkUnnamed8166(o.userLabels!); + checkUnnamed8253(o.userLabels!); } buildCounterSettings--; } @@ -2553,23 +2629,79 @@ void checkSqlInstancesRescheduleMaintenanceRequestBody( buildCounterSqlInstancesRescheduleMaintenanceRequestBody--; } -core.List buildUnnamed8167() => [ +core.int buildCounterSqlInstancesStartExternalSyncRequest = 0; +api.SqlInstancesStartExternalSyncRequest + buildSqlInstancesStartExternalSyncRequest() { + final o = api.SqlInstancesStartExternalSyncRequest(); + buildCounterSqlInstancesStartExternalSyncRequest++; + if (buildCounterSqlInstancesStartExternalSyncRequest < 3) { + o.mysqlSyncConfig = buildMySqlSyncConfig(); + o.skipVerification = true; + o.syncMode = 'foo'; + } + buildCounterSqlInstancesStartExternalSyncRequest--; + return o; +} + +void checkSqlInstancesStartExternalSyncRequest( + api.SqlInstancesStartExternalSyncRequest o) { + buildCounterSqlInstancesStartExternalSyncRequest++; + if (buildCounterSqlInstancesStartExternalSyncRequest < 3) { + checkMySqlSyncConfig(o.mysqlSyncConfig!); + unittest.expect(o.skipVerification!, unittest.isTrue); + unittest.expect( + o.syncMode!, + unittest.equals('foo'), + ); + } + buildCounterSqlInstancesStartExternalSyncRequest--; +} + +core.int buildCounterSqlInstancesVerifyExternalSyncSettingsRequest = 0; +api.SqlInstancesVerifyExternalSyncSettingsRequest + buildSqlInstancesVerifyExternalSyncSettingsRequest() { + final o = api.SqlInstancesVerifyExternalSyncSettingsRequest(); + buildCounterSqlInstancesVerifyExternalSyncSettingsRequest++; + if (buildCounterSqlInstancesVerifyExternalSyncSettingsRequest < 3) { + o.mysqlSyncConfig = buildMySqlSyncConfig(); + o.syncMode = 'foo'; + o.verifyConnectionOnly = true; + } + buildCounterSqlInstancesVerifyExternalSyncSettingsRequest--; + return o; +} + +void checkSqlInstancesVerifyExternalSyncSettingsRequest( + api.SqlInstancesVerifyExternalSyncSettingsRequest o) { + buildCounterSqlInstancesVerifyExternalSyncSettingsRequest++; + if (buildCounterSqlInstancesVerifyExternalSyncSettingsRequest < 3) { + checkMySqlSyncConfig(o.mysqlSyncConfig!); + unittest.expect( + o.syncMode!, + unittest.equals('foo'), + ); + unittest.expect(o.verifyConnectionOnly!, unittest.isTrue); + } + buildCounterSqlInstancesVerifyExternalSyncSettingsRequest--; +} + +core.List buildUnnamed8254() => [ buildSqlExternalSyncSettingError(), buildSqlExternalSyncSettingError(), ]; -void checkUnnamed8167(core.List o) { +void checkUnnamed8254(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlExternalSyncSettingError(o[0]); checkSqlExternalSyncSettingError(o[1]); } -core.List buildUnnamed8168() => [ +core.List buildUnnamed8255() => [ buildSqlExternalSyncSettingError(), buildSqlExternalSyncSettingError(), ]; -void checkUnnamed8168(core.List o) { +void checkUnnamed8255(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlExternalSyncSettingError(o[0]); checkSqlExternalSyncSettingError(o[1]); @@ -2581,9 +2713,9 @@ api.SqlInstancesVerifyExternalSyncSettingsResponse final o = api.SqlInstancesVerifyExternalSyncSettingsResponse(); buildCounterSqlInstancesVerifyExternalSyncSettingsResponse++; if (buildCounterSqlInstancesVerifyExternalSyncSettingsResponse < 3) { - o.errors = buildUnnamed8167(); + o.errors = buildUnnamed8254(); o.kind = 'foo'; - o.warnings = buildUnnamed8168(); + o.warnings = buildUnnamed8255(); } buildCounterSqlInstancesVerifyExternalSyncSettingsResponse--; return o; @@ -2593,12 +2725,12 @@ void checkSqlInstancesVerifyExternalSyncSettingsResponse( api.SqlInstancesVerifyExternalSyncSettingsResponse o) { buildCounterSqlInstancesVerifyExternalSyncSettingsResponse++; if (buildCounterSqlInstancesVerifyExternalSyncSettingsResponse < 3) { - checkUnnamed8167(o.errors!); + checkUnnamed8254(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed8168(o.warnings!); + checkUnnamed8255(o.warnings!); } buildCounterSqlInstancesVerifyExternalSyncSettingsResponse--; } @@ -2688,12 +2820,12 @@ void checkSqlServerDatabaseDetails(api.SqlServerDatabaseDetails o) { buildCounterSqlServerDatabaseDetails--; } -core.List buildUnnamed8169() => [ +core.List buildUnnamed8256() => [ 'foo', 'foo', ]; -void checkUnnamed8169(core.List o) { +void checkUnnamed8256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2711,7 +2843,7 @@ api.SqlServerUserDetails buildSqlServerUserDetails() { buildCounterSqlServerUserDetails++; if (buildCounterSqlServerUserDetails < 3) { o.disabled = true; - o.serverRoles = buildUnnamed8169(); + o.serverRoles = buildUnnamed8256(); } buildCounterSqlServerUserDetails--; return o; @@ -2721,7 +2853,7 @@ void checkSqlServerUserDetails(api.SqlServerUserDetails o) { buildCounterSqlServerUserDetails++; if (buildCounterSqlServerUserDetails < 3) { unittest.expect(o.disabled!, unittest.isTrue); - checkUnnamed8169(o.serverRoles!); + checkUnnamed8256(o.serverRoles!); } buildCounterSqlServerUserDetails--; } @@ -2889,12 +3021,12 @@ void checkSslCertsInsertResponse(api.SslCertsInsertResponse o) { buildCounterSslCertsInsertResponse--; } -core.List buildUnnamed8170() => [ +core.List buildUnnamed8257() => [ buildSslCert(), buildSslCert(), ]; -void checkUnnamed8170(core.List o) { +void checkUnnamed8257(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCert(o[0]); checkSslCert(o[1]); @@ -2905,7 +3037,7 @@ api.SslCertsListResponse buildSslCertsListResponse() { final o = api.SslCertsListResponse(); buildCounterSslCertsListResponse++; if (buildCounterSslCertsListResponse < 3) { - o.items = buildUnnamed8170(); + o.items = buildUnnamed8257(); o.kind = 'foo'; } buildCounterSslCertsListResponse--; @@ -2915,7 +3047,7 @@ api.SslCertsListResponse buildSslCertsListResponse() { void checkSslCertsListResponse(api.SslCertsListResponse o) { buildCounterSslCertsListResponse++; if (buildCounterSslCertsListResponse < 3) { - checkUnnamed8170(o.items!); + checkUnnamed8257(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2924,12 +3056,39 @@ void checkSslCertsListResponse(api.SslCertsListResponse o) { buildCounterSslCertsListResponse--; } -core.List buildUnnamed8171() => [ +core.int buildCounterSyncFlags = 0; +api.SyncFlags buildSyncFlags() { + final o = api.SyncFlags(); + buildCounterSyncFlags++; + if (buildCounterSyncFlags < 3) { + o.name = 'foo'; + o.value = 'foo'; + } + buildCounterSyncFlags--; + return o; +} + +void checkSyncFlags(api.SyncFlags o) { + buildCounterSyncFlags++; + if (buildCounterSyncFlags < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterSyncFlags--; +} + +core.List buildUnnamed8258() => [ 'foo', 'foo', ]; -void checkUnnamed8171(core.List o) { +void checkUnnamed8258(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2949,7 +3108,7 @@ api.Tier buildTier() { o.DiskQuota = 'foo'; o.RAM = 'foo'; o.kind = 'foo'; - o.region = buildUnnamed8171(); + o.region = buildUnnamed8258(); o.tier = 'foo'; } buildCounterTier--; @@ -2971,7 +3130,7 @@ void checkTier(api.Tier o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed8171(o.region!); + checkUnnamed8258(o.region!); unittest.expect( o.tier!, unittest.equals('foo'), @@ -2980,12 +3139,12 @@ void checkTier(api.Tier o) { buildCounterTier--; } -core.List buildUnnamed8172() => [ +core.List buildUnnamed8259() => [ buildTier(), buildTier(), ]; -void checkUnnamed8172(core.List o) { +void checkUnnamed8259(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTier(o[0]); checkTier(o[1]); @@ -2996,7 +3155,7 @@ api.TiersListResponse buildTiersListResponse() { final o = api.TiersListResponse(); buildCounterTiersListResponse++; if (buildCounterTiersListResponse < 3) { - o.items = buildUnnamed8172(); + o.items = buildUnnamed8259(); o.kind = 'foo'; } buildCounterTiersListResponse--; @@ -3006,7 +3165,7 @@ api.TiersListResponse buildTiersListResponse() { void checkTiersListResponse(api.TiersListResponse o) { buildCounterTiersListResponse++; if (buildCounterTiersListResponse < 3) { - checkUnnamed8172(o.items!); + checkUnnamed8259(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3101,12 +3260,12 @@ void checkUser(api.User o) { buildCounterUser--; } -core.List buildUnnamed8173() => [ +core.List buildUnnamed8260() => [ buildUser(), buildUser(), ]; -void checkUnnamed8173(core.List o) { +void checkUnnamed8260(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -3117,7 +3276,7 @@ api.UsersListResponse buildUsersListResponse() { final o = api.UsersListResponse(); buildCounterUsersListResponse++; if (buildCounterUsersListResponse < 3) { - o.items = buildUnnamed8173(); + o.items = buildUnnamed8260(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -3128,7 +3287,7 @@ api.UsersListResponse buildUsersListResponse() { void checkUsersListResponse(api.UsersListResponse o) { buildCounterUsersListResponse++; if (buildCounterUsersListResponse < 3) { - checkUnnamed8173(o.items!); + checkUnnamed8260(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3494,6 +3653,16 @@ void main() { }); }); + unittest.group('obj-schema-InstanceReference', () { + unittest.test('to-json--from-json', () async { + final o = buildInstanceReference(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InstanceReference.fromJson( + oJson as core.Map); + checkInstanceReference(od); + }); + }); + unittest.group('obj-schema-InstancesCloneRequest', () { unittest.test('to-json--from-json', () async { final o = buildInstancesCloneRequest(); @@ -3644,6 +3813,16 @@ void main() { }); }); + unittest.group('obj-schema-MySqlSyncConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildMySqlSyncConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MySqlSyncConfig.fromJson( + oJson as core.Map); + checkMySqlSyncConfig(od); + }); + }); + unittest.group('obj-schema-OnPremisesConfiguration', () { unittest.test('to-json--from-json', () async { final o = buildOnPremisesConfiguration(); @@ -3774,6 +3953,27 @@ void main() { }); }); + unittest.group('obj-schema-SqlInstancesStartExternalSyncRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildSqlInstancesStartExternalSyncRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SqlInstancesStartExternalSyncRequest.fromJson( + oJson as core.Map); + checkSqlInstancesStartExternalSyncRequest(od); + }); + }); + + unittest.group('obj-schema-SqlInstancesVerifyExternalSyncSettingsRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildSqlInstancesVerifyExternalSyncSettingsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SqlInstancesVerifyExternalSyncSettingsRequest.fromJson( + oJson as core.Map); + checkSqlInstancesVerifyExternalSyncSettingsRequest(od); + }); + }); + unittest.group('obj-schema-SqlInstancesVerifyExternalSyncSettingsResponse', () { unittest.test('to-json--from-json', () async { @@ -3885,6 +4085,16 @@ void main() { }); }); + unittest.group('obj-schema-SyncFlags', () { + unittest.test('to-json--from-json', () async { + final o = buildSyncFlags(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.SyncFlags.fromJson(oJson as core.Map); + checkSyncFlags(od); + }); + }); + unittest.group('obj-schema-Tier', () { unittest.test('to-json--from-json', () async { final o = buildTier(); @@ -7029,12 +7239,15 @@ void main() { unittest.test('method--startExternalSync', () async { final mock = HttpServerMock(); final res = api.SQLAdminApi(mock).projects.instances; + final arg_request = buildSqlInstancesStartExternalSyncRequest(); final arg_project = 'foo'; final arg_instance = 'foo'; - final arg_skipVerification = true; - final arg_syncMode = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SqlInstancesStartExternalSyncRequest.fromJson( + json as core.Map); + checkSqlInstancesStartExternalSyncRequest(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -7093,14 +7306,6 @@ void main() { ); } } - unittest.expect( - queryMap['skipVerification']!.first, - unittest.equals('$arg_skipVerification'), - ); - unittest.expect( - queryMap['syncMode']!.first, - unittest.equals(arg_syncMode), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -7112,9 +7317,8 @@ void main() { final resp = convert.json.encode(buildOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.startExternalSync(arg_project, arg_instance, - skipVerification: arg_skipVerification, - syncMode: arg_syncMode, + final response = await res.startExternalSync( + arg_request, arg_project, arg_instance, $fields: arg_$fields); checkOperation(response as api.Operation); }); @@ -7122,12 +7326,15 @@ void main() { unittest.test('method--verifyExternalSyncSettings', () async { final mock = HttpServerMock(); final res = api.SQLAdminApi(mock).projects.instances; + final arg_request = buildSqlInstancesVerifyExternalSyncSettingsRequest(); final arg_project = 'foo'; final arg_instance = 'foo'; - final arg_syncMode = 'foo'; - final arg_verifyConnectionOnly = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SqlInstancesVerifyExternalSyncSettingsRequest.fromJson( + json as core.Map); + checkSqlInstancesVerifyExternalSyncSettingsRequest(obj); + final path = (req.url).path; var pathOffset = 0; core.int index; @@ -7186,14 +7393,6 @@ void main() { ); } } - unittest.expect( - queryMap['syncMode']!.first, - unittest.equals(arg_syncMode), - ); - unittest.expect( - queryMap['verifyConnectionOnly']!.first, - unittest.equals('$arg_verifyConnectionOnly'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -7207,9 +7406,7 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.verifyExternalSyncSettings( - arg_project, arg_instance, - syncMode: arg_syncMode, - verifyConnectionOnly: arg_verifyConnectionOnly, + arg_request, arg_project, arg_instance, $fields: arg_$fields); checkSqlInstancesVerifyExternalSyncSettingsResponse( response as api.SqlInstancesVerifyExternalSyncSettingsResponse); diff --git a/generated/googleapis_beta/test/toolresults/v1beta3_test.dart b/generated/googleapis_beta/test/toolresults/v1beta3_test.dart index d73dab1d8..ea3c1a9cc 100644 --- a/generated/googleapis_beta/test/toolresults/v1beta3_test.dart +++ b/generated/googleapis_beta/test/toolresults/v1beta3_test.dart @@ -82,12 +82,12 @@ void checkAndroidAppInfo(api.AndroidAppInfo o) { buildCounterAndroidAppInfo--; } -core.List buildUnnamed8077() => [ +core.List buildUnnamed8163() => [ 'foo', 'foo', ]; -void checkUnnamed8077(core.List o) { +void checkUnnamed8163(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -106,7 +106,7 @@ api.AndroidInstrumentationTest buildAndroidInstrumentationTest() { if (buildCounterAndroidInstrumentationTest < 3) { o.testPackageId = 'foo'; o.testRunnerClass = 'foo'; - o.testTargets = buildUnnamed8077(); + o.testTargets = buildUnnamed8163(); o.useOrchestrator = true; } buildCounterAndroidInstrumentationTest--; @@ -124,7 +124,7 @@ void checkAndroidInstrumentationTest(api.AndroidInstrumentationTest o) { o.testRunnerClass!, unittest.equals('foo'), ); - checkUnnamed8077(o.testTargets!); + checkUnnamed8163(o.testTargets!); unittest.expect(o.useOrchestrator!, unittest.isTrue); } buildCounterAndroidInstrumentationTest--; @@ -309,12 +309,12 @@ void checkBasicPerfSampleSeries(api.BasicPerfSampleSeries o) { buildCounterBasicPerfSampleSeries--; } -core.List buildUnnamed8078() => [ +core.List buildUnnamed8164() => [ buildPerfSample(), buildPerfSample(), ]; -void checkUnnamed8078(core.List o) { +void checkUnnamed8164(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerfSample(o[0]); checkPerfSample(o[1]); @@ -325,7 +325,7 @@ api.BatchCreatePerfSamplesRequest buildBatchCreatePerfSamplesRequest() { final o = api.BatchCreatePerfSamplesRequest(); buildCounterBatchCreatePerfSamplesRequest++; if (buildCounterBatchCreatePerfSamplesRequest < 3) { - o.perfSamples = buildUnnamed8078(); + o.perfSamples = buildUnnamed8164(); } buildCounterBatchCreatePerfSamplesRequest--; return o; @@ -334,17 +334,17 @@ api.BatchCreatePerfSamplesRequest buildBatchCreatePerfSamplesRequest() { void checkBatchCreatePerfSamplesRequest(api.BatchCreatePerfSamplesRequest o) { buildCounterBatchCreatePerfSamplesRequest++; if (buildCounterBatchCreatePerfSamplesRequest < 3) { - checkUnnamed8078(o.perfSamples!); + checkUnnamed8164(o.perfSamples!); } buildCounterBatchCreatePerfSamplesRequest--; } -core.List buildUnnamed8079() => [ +core.List buildUnnamed8165() => [ buildPerfSample(), buildPerfSample(), ]; -void checkUnnamed8079(core.List o) { +void checkUnnamed8165(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerfSample(o[0]); checkPerfSample(o[1]); @@ -355,7 +355,7 @@ api.BatchCreatePerfSamplesResponse buildBatchCreatePerfSamplesResponse() { final o = api.BatchCreatePerfSamplesResponse(); buildCounterBatchCreatePerfSamplesResponse++; if (buildCounterBatchCreatePerfSamplesResponse < 3) { - o.perfSamples = buildUnnamed8079(); + o.perfSamples = buildUnnamed8165(); } buildCounterBatchCreatePerfSamplesResponse--; return o; @@ -364,7 +364,7 @@ api.BatchCreatePerfSamplesResponse buildBatchCreatePerfSamplesResponse() { void checkBatchCreatePerfSamplesResponse(api.BatchCreatePerfSamplesResponse o) { buildCounterBatchCreatePerfSamplesResponse++; if (buildCounterBatchCreatePerfSamplesResponse < 3) { - checkUnnamed8079(o.perfSamples!); + checkUnnamed8165(o.perfSamples!); } buildCounterBatchCreatePerfSamplesResponse--; } @@ -487,12 +487,12 @@ void checkDuration(api.Duration o) { buildCounterDuration--; } -core.List buildUnnamed8080() => [ +core.List buildUnnamed8166() => [ 'foo', 'foo', ]; -void checkUnnamed8080(core.List o) { +void checkUnnamed8166(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -510,7 +510,7 @@ api.EncounteredLoginScreen buildEncounteredLoginScreen() { buildCounterEncounteredLoginScreen++; if (buildCounterEncounteredLoginScreen < 3) { o.distinctScreens = 42; - o.screenIds = buildUnnamed8080(); + o.screenIds = buildUnnamed8166(); } buildCounterEncounteredLoginScreen--; return o; @@ -523,17 +523,17 @@ void checkEncounteredLoginScreen(api.EncounteredLoginScreen o) { o.distinctScreens!, unittest.equals(42), ); - checkUnnamed8080(o.screenIds!); + checkUnnamed8166(o.screenIds!); } buildCounterEncounteredLoginScreen--; } -core.List buildUnnamed8081() => [ +core.List buildUnnamed8167() => [ 'foo', 'foo', ]; -void checkUnnamed8081(core.List o) { +void checkUnnamed8167(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -552,7 +552,7 @@ api.EncounteredNonAndroidUiWidgetScreen buildCounterEncounteredNonAndroidUiWidgetScreen++; if (buildCounterEncounteredNonAndroidUiWidgetScreen < 3) { o.distinctScreens = 42; - o.screenIds = buildUnnamed8081(); + o.screenIds = buildUnnamed8167(); } buildCounterEncounteredNonAndroidUiWidgetScreen--; return o; @@ -566,28 +566,28 @@ void checkEncounteredNonAndroidUiWidgetScreen( o.distinctScreens!, unittest.equals(42), ); - checkUnnamed8081(o.screenIds!); + checkUnnamed8167(o.screenIds!); } buildCounterEncounteredNonAndroidUiWidgetScreen--; } -core.List buildUnnamed8082() => [ +core.List buildUnnamed8168() => [ buildEnvironmentDimensionValueEntry(), buildEnvironmentDimensionValueEntry(), ]; -void checkUnnamed8082(core.List o) { +void checkUnnamed8168(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironmentDimensionValueEntry(o[0]); checkEnvironmentDimensionValueEntry(o[1]); } -core.List buildUnnamed8083() => [ +core.List buildUnnamed8169() => [ buildShardSummary(), buildShardSummary(), ]; -void checkUnnamed8083(core.List o) { +void checkUnnamed8169(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShardSummary(o[0]); checkShardSummary(o[1]); @@ -600,7 +600,7 @@ api.Environment buildEnvironment() { if (buildCounterEnvironment < 3) { o.completionTime = buildTimestamp(); o.creationTime = buildTimestamp(); - o.dimensionValue = buildUnnamed8082(); + o.dimensionValue = buildUnnamed8168(); o.displayName = 'foo'; o.environmentId = 'foo'; o.environmentResult = buildMergedResult(); @@ -608,7 +608,7 @@ api.Environment buildEnvironment() { o.historyId = 'foo'; o.projectId = 'foo'; o.resultsStorage = buildResultsStorage(); - o.shardSummaries = buildUnnamed8083(); + o.shardSummaries = buildUnnamed8169(); } buildCounterEnvironment--; return o; @@ -619,7 +619,7 @@ void checkEnvironment(api.Environment o) { if (buildCounterEnvironment < 3) { checkTimestamp(o.completionTime!); checkTimestamp(o.creationTime!); - checkUnnamed8082(o.dimensionValue!); + checkUnnamed8168(o.dimensionValue!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -642,7 +642,7 @@ void checkEnvironment(api.Environment o) { unittest.equals('foo'), ); checkResultsStorage(o.resultsStorage!); - checkUnnamed8083(o.shardSummaries!); + checkUnnamed8169(o.shardSummaries!); } buildCounterEnvironment--; } @@ -674,12 +674,12 @@ void checkEnvironmentDimensionValueEntry(api.EnvironmentDimensionValueEntry o) { buildCounterEnvironmentDimensionValueEntry--; } -core.List buildUnnamed8084() => [ +core.List buildUnnamed8170() => [ buildMatrixDimensionDefinition(), buildMatrixDimensionDefinition(), ]; -void checkUnnamed8084(core.List o) { +void checkUnnamed8170(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMatrixDimensionDefinition(o[0]); checkMatrixDimensionDefinition(o[1]); @@ -692,7 +692,7 @@ api.Execution buildExecution() { if (buildCounterExecution < 3) { o.completionTime = buildTimestamp(); o.creationTime = buildTimestamp(); - o.dimensionDefinitions = buildUnnamed8084(); + o.dimensionDefinitions = buildUnnamed8170(); o.executionId = 'foo'; o.outcome = buildOutcome(); o.specification = buildSpecification(); @@ -708,7 +708,7 @@ void checkExecution(api.Execution o) { if (buildCounterExecution < 3) { checkTimestamp(o.completionTime!); checkTimestamp(o.creationTime!); - checkUnnamed8084(o.dimensionDefinitions!); + checkUnnamed8170(o.dimensionDefinitions!); unittest.expect( o.executionId!, unittest.equals('foo'), @@ -814,12 +814,12 @@ void checkFileReference(api.FileReference o) { buildCounterFileReference--; } -core.List buildUnnamed8085() => [ +core.List buildUnnamed8171() => [ buildGraphicsStatsBucket(), buildGraphicsStatsBucket(), ]; -void checkUnnamed8085(core.List o) { +void checkUnnamed8171(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGraphicsStatsBucket(o[0]); checkGraphicsStatsBucket(o[1]); @@ -830,7 +830,7 @@ api.GraphicsStats buildGraphicsStats() { final o = api.GraphicsStats(); buildCounterGraphicsStats++; if (buildCounterGraphicsStats < 3) { - o.buckets = buildUnnamed8085(); + o.buckets = buildUnnamed8171(); o.highInputLatencyCount = 'foo'; o.jankyFrames = 'foo'; o.missedVsyncCount = 'foo'; @@ -850,7 +850,7 @@ api.GraphicsStats buildGraphicsStats() { void checkGraphicsStats(api.GraphicsStats o) { buildCounterGraphicsStats++; if (buildCounterGraphicsStats < 3) { - checkUnnamed8085(o.buckets!); + checkUnnamed8171(o.buckets!); unittest.expect( o.highInputLatencyCount!, unittest.equals('foo'), @@ -1237,12 +1237,12 @@ void checkLauncherActivityNotFound(api.LauncherActivityNotFound o) { buildCounterLauncherActivityNotFound--; } -core.List buildUnnamed8086() => [ +core.List buildUnnamed8172() => [ buildEnvironment(), buildEnvironment(), ]; -void checkUnnamed8086(core.List o) { +void checkUnnamed8172(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnvironment(o[0]); checkEnvironment(o[1]); @@ -1253,7 +1253,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { final o = api.ListEnvironmentsResponse(); buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - o.environments = buildUnnamed8086(); + o.environments = buildUnnamed8172(); o.executionId = 'foo'; o.historyId = 'foo'; o.nextPageToken = 'foo'; @@ -1266,7 +1266,7 @@ api.ListEnvironmentsResponse buildListEnvironmentsResponse() { void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse++; if (buildCounterListEnvironmentsResponse < 3) { - checkUnnamed8086(o.environments!); + checkUnnamed8172(o.environments!); unittest.expect( o.executionId!, unittest.equals('foo'), @@ -1287,12 +1287,12 @@ void checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) { buildCounterListEnvironmentsResponse--; } -core.List buildUnnamed8087() => [ +core.List buildUnnamed8173() => [ buildExecution(), buildExecution(), ]; -void checkUnnamed8087(core.List o) { +void checkUnnamed8173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecution(o[0]); checkExecution(o[1]); @@ -1303,7 +1303,7 @@ api.ListExecutionsResponse buildListExecutionsResponse() { final o = api.ListExecutionsResponse(); buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - o.executions = buildUnnamed8087(); + o.executions = buildUnnamed8173(); o.nextPageToken = 'foo'; } buildCounterListExecutionsResponse--; @@ -1313,7 +1313,7 @@ api.ListExecutionsResponse buildListExecutionsResponse() { void checkListExecutionsResponse(api.ListExecutionsResponse o) { buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - checkUnnamed8087(o.executions!); + checkUnnamed8173(o.executions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1322,12 +1322,12 @@ void checkListExecutionsResponse(api.ListExecutionsResponse o) { buildCounterListExecutionsResponse--; } -core.List buildUnnamed8088() => [ +core.List buildUnnamed8174() => [ buildHistory(), buildHistory(), ]; -void checkUnnamed8088(core.List o) { +void checkUnnamed8174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHistory(o[0]); checkHistory(o[1]); @@ -1338,7 +1338,7 @@ api.ListHistoriesResponse buildListHistoriesResponse() { final o = api.ListHistoriesResponse(); buildCounterListHistoriesResponse++; if (buildCounterListHistoriesResponse < 3) { - o.histories = buildUnnamed8088(); + o.histories = buildUnnamed8174(); o.nextPageToken = 'foo'; } buildCounterListHistoriesResponse--; @@ -1348,7 +1348,7 @@ api.ListHistoriesResponse buildListHistoriesResponse() { void checkListHistoriesResponse(api.ListHistoriesResponse o) { buildCounterListHistoriesResponse++; if (buildCounterListHistoriesResponse < 3) { - checkUnnamed8088(o.histories!); + checkUnnamed8174(o.histories!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1357,12 +1357,12 @@ void checkListHistoriesResponse(api.ListHistoriesResponse o) { buildCounterListHistoriesResponse--; } -core.List buildUnnamed8089() => [ +core.List buildUnnamed8175() => [ buildPerfSampleSeries(), buildPerfSampleSeries(), ]; -void checkUnnamed8089(core.List o) { +void checkUnnamed8175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerfSampleSeries(o[0]); checkPerfSampleSeries(o[1]); @@ -1373,7 +1373,7 @@ api.ListPerfSampleSeriesResponse buildListPerfSampleSeriesResponse() { final o = api.ListPerfSampleSeriesResponse(); buildCounterListPerfSampleSeriesResponse++; if (buildCounterListPerfSampleSeriesResponse < 3) { - o.perfSampleSeries = buildUnnamed8089(); + o.perfSampleSeries = buildUnnamed8175(); } buildCounterListPerfSampleSeriesResponse--; return o; @@ -1382,17 +1382,17 @@ api.ListPerfSampleSeriesResponse buildListPerfSampleSeriesResponse() { void checkListPerfSampleSeriesResponse(api.ListPerfSampleSeriesResponse o) { buildCounterListPerfSampleSeriesResponse++; if (buildCounterListPerfSampleSeriesResponse < 3) { - checkUnnamed8089(o.perfSampleSeries!); + checkUnnamed8175(o.perfSampleSeries!); } buildCounterListPerfSampleSeriesResponse--; } -core.List buildUnnamed8090() => [ +core.List buildUnnamed8176() => [ buildPerfSample(), buildPerfSample(), ]; -void checkUnnamed8090(core.List o) { +void checkUnnamed8176(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPerfSample(o[0]); checkPerfSample(o[1]); @@ -1404,7 +1404,7 @@ api.ListPerfSamplesResponse buildListPerfSamplesResponse() { buildCounterListPerfSamplesResponse++; if (buildCounterListPerfSamplesResponse < 3) { o.nextPageToken = 'foo'; - o.perfSamples = buildUnnamed8090(); + o.perfSamples = buildUnnamed8176(); } buildCounterListPerfSamplesResponse--; return o; @@ -1417,17 +1417,17 @@ void checkListPerfSamplesResponse(api.ListPerfSamplesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8090(o.perfSamples!); + checkUnnamed8176(o.perfSamples!); } buildCounterListPerfSamplesResponse--; } -core.List buildUnnamed8091() => [ +core.List buildUnnamed8177() => [ buildScreenshotCluster(), buildScreenshotCluster(), ]; -void checkUnnamed8091(core.List o) { +void checkUnnamed8177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScreenshotCluster(o[0]); checkScreenshotCluster(o[1]); @@ -1438,7 +1438,7 @@ api.ListScreenshotClustersResponse buildListScreenshotClustersResponse() { final o = api.ListScreenshotClustersResponse(); buildCounterListScreenshotClustersResponse++; if (buildCounterListScreenshotClustersResponse < 3) { - o.clusters = buildUnnamed8091(); + o.clusters = buildUnnamed8177(); } buildCounterListScreenshotClustersResponse--; return o; @@ -1447,17 +1447,17 @@ api.ListScreenshotClustersResponse buildListScreenshotClustersResponse() { void checkListScreenshotClustersResponse(api.ListScreenshotClustersResponse o) { buildCounterListScreenshotClustersResponse++; if (buildCounterListScreenshotClustersResponse < 3) { - checkUnnamed8091(o.clusters!); + checkUnnamed8177(o.clusters!); } buildCounterListScreenshotClustersResponse--; } -core.List buildUnnamed8092() => [ +core.List buildUnnamed8178() => [ buildSuggestionClusterProto(), buildSuggestionClusterProto(), ]; -void checkUnnamed8092(core.List o) { +void checkUnnamed8178(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestionClusterProto(o[0]); checkSuggestionClusterProto(o[1]); @@ -1469,7 +1469,7 @@ api.ListStepAccessibilityClustersResponse final o = api.ListStepAccessibilityClustersResponse(); buildCounterListStepAccessibilityClustersResponse++; if (buildCounterListStepAccessibilityClustersResponse < 3) { - o.clusters = buildUnnamed8092(); + o.clusters = buildUnnamed8178(); o.name = 'foo'; } buildCounterListStepAccessibilityClustersResponse--; @@ -1480,7 +1480,7 @@ void checkListStepAccessibilityClustersResponse( api.ListStepAccessibilityClustersResponse o) { buildCounterListStepAccessibilityClustersResponse++; if (buildCounterListStepAccessibilityClustersResponse < 3) { - checkUnnamed8092(o.clusters!); + checkUnnamed8178(o.clusters!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1489,12 +1489,12 @@ void checkListStepAccessibilityClustersResponse( buildCounterListStepAccessibilityClustersResponse--; } -core.List buildUnnamed8093() => [ +core.List buildUnnamed8179() => [ buildImage(), buildImage(), ]; -void checkUnnamed8093(core.List o) { +void checkUnnamed8179(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkImage(o[0]); checkImage(o[1]); @@ -1506,7 +1506,7 @@ api.ListStepThumbnailsResponse buildListStepThumbnailsResponse() { buildCounterListStepThumbnailsResponse++; if (buildCounterListStepThumbnailsResponse < 3) { o.nextPageToken = 'foo'; - o.thumbnails = buildUnnamed8093(); + o.thumbnails = buildUnnamed8179(); } buildCounterListStepThumbnailsResponse--; return o; @@ -1519,17 +1519,17 @@ void checkListStepThumbnailsResponse(api.ListStepThumbnailsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8093(o.thumbnails!); + checkUnnamed8179(o.thumbnails!); } buildCounterListStepThumbnailsResponse--; } -core.List buildUnnamed8094() => [ +core.List buildUnnamed8180() => [ buildStep(), buildStep(), ]; -void checkUnnamed8094(core.List o) { +void checkUnnamed8180(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStep(o[0]); checkStep(o[1]); @@ -1541,7 +1541,7 @@ api.ListStepsResponse buildListStepsResponse() { buildCounterListStepsResponse++; if (buildCounterListStepsResponse < 3) { o.nextPageToken = 'foo'; - o.steps = buildUnnamed8094(); + o.steps = buildUnnamed8180(); } buildCounterListStepsResponse--; return o; @@ -1554,17 +1554,17 @@ void checkListStepsResponse(api.ListStepsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8094(o.steps!); + checkUnnamed8180(o.steps!); } buildCounterListStepsResponse--; } -core.List buildUnnamed8095() => [ +core.List buildUnnamed8181() => [ buildTestCase(), buildTestCase(), ]; -void checkUnnamed8095(core.List o) { +void checkUnnamed8181(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestCase(o[0]); checkTestCase(o[1]); @@ -1576,7 +1576,7 @@ api.ListTestCasesResponse buildListTestCasesResponse() { buildCounterListTestCasesResponse++; if (buildCounterListTestCasesResponse < 3) { o.nextPageToken = 'foo'; - o.testCases = buildUnnamed8095(); + o.testCases = buildUnnamed8181(); } buildCounterListTestCasesResponse--; return o; @@ -1589,7 +1589,7 @@ void checkListTestCasesResponse(api.ListTestCasesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed8095(o.testCases!); + checkUnnamed8181(o.testCases!); } buildCounterListTestCasesResponse--; } @@ -1651,12 +1651,12 @@ void checkMemoryInfo(api.MemoryInfo o) { buildCounterMemoryInfo--; } -core.List buildUnnamed8096() => [ +core.List buildUnnamed8182() => [ buildTestSuiteOverview(), buildTestSuiteOverview(), ]; -void checkUnnamed8096(core.List o) { +void checkUnnamed8182(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestSuiteOverview(o[0]); checkTestSuiteOverview(o[1]); @@ -1669,7 +1669,7 @@ api.MergedResult buildMergedResult() { if (buildCounterMergedResult < 3) { o.outcome = buildOutcome(); o.state = 'foo'; - o.testSuiteOverviews = buildUnnamed8096(); + o.testSuiteOverviews = buildUnnamed8182(); } buildCounterMergedResult--; return o; @@ -1683,7 +1683,7 @@ void checkMergedResult(api.MergedResult o) { o.state!, unittest.equals('foo'), ); - checkUnnamed8096(o.testSuiteOverviews!); + checkUnnamed8182(o.testSuiteOverviews!); } buildCounterMergedResult--; } @@ -1736,12 +1736,12 @@ void checkNativeCrash(api.NativeCrash o) { buildCounterNativeCrash--; } -core.List buildUnnamed8097() => [ +core.List buildUnnamed8183() => [ 'foo', 'foo', ]; -void checkUnnamed8097(core.List o) { +void checkUnnamed8183(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1753,12 +1753,12 @@ void checkUnnamed8097(core.List o) { ); } -core.List buildUnnamed8098() => [ +core.List buildUnnamed8184() => [ buildNonSdkApiInsight(), buildNonSdkApiInsight(), ]; -void checkUnnamed8098(core.List o) { +void checkUnnamed8184(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNonSdkApiInsight(o[0]); checkNonSdkApiInsight(o[1]); @@ -1770,8 +1770,8 @@ api.NonSdkApi buildNonSdkApi() { buildCounterNonSdkApi++; if (buildCounterNonSdkApi < 3) { o.apiSignature = 'foo'; - o.exampleStackTraces = buildUnnamed8097(); - o.insights = buildUnnamed8098(); + o.exampleStackTraces = buildUnnamed8183(); + o.insights = buildUnnamed8184(); o.invocationCount = 42; o.list = 'foo'; } @@ -1786,8 +1786,8 @@ void checkNonSdkApi(api.NonSdkApi o) { o.apiSignature!, unittest.equals('foo'), ); - checkUnnamed8097(o.exampleStackTraces!); - checkUnnamed8098(o.insights!); + checkUnnamed8183(o.exampleStackTraces!); + checkUnnamed8184(o.insights!); unittest.expect( o.invocationCount!, unittest.equals(42), @@ -1800,12 +1800,12 @@ void checkNonSdkApi(api.NonSdkApi o) { buildCounterNonSdkApi--; } -core.List buildUnnamed8099() => [ +core.List buildUnnamed8185() => [ 'foo', 'foo', ]; -void checkUnnamed8099(core.List o) { +void checkUnnamed8185(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1822,7 +1822,7 @@ api.NonSdkApiInsight buildNonSdkApiInsight() { final o = api.NonSdkApiInsight(); buildCounterNonSdkApiInsight++; if (buildCounterNonSdkApiInsight < 3) { - o.exampleTraceMessages = buildUnnamed8099(); + o.exampleTraceMessages = buildUnnamed8185(); o.matcherId = 'foo'; o.pendingGoogleUpdateInsight = buildPendingGoogleUpdateInsight(); o.upgradeInsight = buildUpgradeInsight(); @@ -1834,7 +1834,7 @@ api.NonSdkApiInsight buildNonSdkApiInsight() { void checkNonSdkApiInsight(api.NonSdkApiInsight o) { buildCounterNonSdkApiInsight++; if (buildCounterNonSdkApiInsight < 3) { - checkUnnamed8099(o.exampleTraceMessages!); + checkUnnamed8185(o.exampleTraceMessages!); unittest.expect( o.matcherId!, unittest.equals('foo'), @@ -1845,12 +1845,12 @@ void checkNonSdkApiInsight(api.NonSdkApiInsight o) { buildCounterNonSdkApiInsight--; } -core.List buildUnnamed8100() => [ +core.List buildUnnamed8186() => [ 'foo', 'foo', ]; -void checkUnnamed8100(core.List o) { +void checkUnnamed8186(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1867,7 +1867,7 @@ api.NonSdkApiUsageViolation buildNonSdkApiUsageViolation() { final o = api.NonSdkApiUsageViolation(); buildCounterNonSdkApiUsageViolation++; if (buildCounterNonSdkApiUsageViolation < 3) { - o.apiSignatures = buildUnnamed8100(); + o.apiSignatures = buildUnnamed8186(); o.uniqueApis = 42; } buildCounterNonSdkApiUsageViolation--; @@ -1877,7 +1877,7 @@ api.NonSdkApiUsageViolation buildNonSdkApiUsageViolation() { void checkNonSdkApiUsageViolation(api.NonSdkApiUsageViolation o) { buildCounterNonSdkApiUsageViolation++; if (buildCounterNonSdkApiUsageViolation < 3) { - checkUnnamed8100(o.apiSignatures!); + checkUnnamed8186(o.apiSignatures!); unittest.expect( o.uniqueApis!, unittest.equals(42), @@ -1886,12 +1886,12 @@ void checkNonSdkApiUsageViolation(api.NonSdkApiUsageViolation o) { buildCounterNonSdkApiUsageViolation--; } -core.List buildUnnamed8101() => [ +core.List buildUnnamed8187() => [ buildNonSdkApi(), buildNonSdkApi(), ]; -void checkUnnamed8101(core.List o) { +void checkUnnamed8187(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNonSdkApi(o[0]); checkNonSdkApi(o[1]); @@ -1902,7 +1902,7 @@ api.NonSdkApiUsageViolationReport buildNonSdkApiUsageViolationReport() { final o = api.NonSdkApiUsageViolationReport(); buildCounterNonSdkApiUsageViolationReport++; if (buildCounterNonSdkApiUsageViolationReport < 3) { - o.exampleApis = buildUnnamed8101(); + o.exampleApis = buildUnnamed8187(); o.minSdkVersion = 42; o.targetSdkVersion = 42; o.uniqueApis = 42; @@ -1914,7 +1914,7 @@ api.NonSdkApiUsageViolationReport buildNonSdkApiUsageViolationReport() { void checkNonSdkApiUsageViolationReport(api.NonSdkApiUsageViolationReport o) { buildCounterNonSdkApiUsageViolationReport++; if (buildCounterNonSdkApiUsageViolationReport < 3) { - checkUnnamed8101(o.exampleApis!); + checkUnnamed8187(o.exampleApis!); unittest.expect( o.minSdkVersion!, unittest.equals(42), @@ -1961,12 +1961,12 @@ void checkOutcome(api.Outcome o) { buildCounterOutcome--; } -core.List buildUnnamed8102() => [ +core.List buildUnnamed8188() => [ 'foo', 'foo', ]; -void checkUnnamed8102(core.List o) { +void checkUnnamed8188(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1983,7 +1983,7 @@ api.OverlappingUIElements buildOverlappingUIElements() { final o = api.OverlappingUIElements(); buildCounterOverlappingUIElements++; if (buildCounterOverlappingUIElements < 3) { - o.resourceName = buildUnnamed8102(); + o.resourceName = buildUnnamed8188(); o.screenId = 'foo'; } buildCounterOverlappingUIElements--; @@ -1993,7 +1993,7 @@ api.OverlappingUIElements buildOverlappingUIElements() { void checkOverlappingUIElements(api.OverlappingUIElements o) { buildCounterOverlappingUIElements++; if (buildCounterOverlappingUIElements < 3) { - checkUnnamed8102(o.resourceName!); + checkUnnamed8188(o.resourceName!); unittest.expect( o.screenId!, unittest.equals('foo'), @@ -2045,12 +2045,12 @@ void checkPerfEnvironment(api.PerfEnvironment o) { buildCounterPerfEnvironment--; } -core.List buildUnnamed8103() => [ +core.List buildUnnamed8189() => [ 'foo', 'foo', ]; -void checkUnnamed8103(core.List o) { +void checkUnnamed8189(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2072,7 +2072,7 @@ api.PerfMetricsSummary buildPerfMetricsSummary() { o.graphicsStats = buildGraphicsStats(); o.historyId = 'foo'; o.perfEnvironment = buildPerfEnvironment(); - o.perfMetrics = buildUnnamed8103(); + o.perfMetrics = buildUnnamed8189(); o.projectId = 'foo'; o.stepId = 'foo'; } @@ -2094,7 +2094,7 @@ void checkPerfMetricsSummary(api.PerfMetricsSummary o) { unittest.equals('foo'), ); checkPerfEnvironment(o.perfEnvironment!); - checkUnnamed8103(o.perfMetrics!); + checkUnnamed8189(o.perfMetrics!); unittest.expect( o.projectId!, unittest.equals('foo'), @@ -2212,12 +2212,12 @@ void checkPerformedMonkeyActions(api.PerformedMonkeyActions o) { buildCounterPerformedMonkeyActions--; } -core.List buildUnnamed8104() => [ +core.List buildUnnamed8190() => [ buildIndividualOutcome(), buildIndividualOutcome(), ]; -void checkUnnamed8104(core.List o) { +void checkUnnamed8190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIndividualOutcome(o[0]); checkIndividualOutcome(o[1]); @@ -2228,7 +2228,7 @@ api.PrimaryStep buildPrimaryStep() { final o = api.PrimaryStep(); buildCounterPrimaryStep++; if (buildCounterPrimaryStep < 3) { - o.individualOutcome = buildUnnamed8104(); + o.individualOutcome = buildUnnamed8190(); o.rollUp = 'foo'; } buildCounterPrimaryStep--; @@ -2238,7 +2238,7 @@ api.PrimaryStep buildPrimaryStep() { void checkPrimaryStep(api.PrimaryStep o) { buildCounterPrimaryStep++; if (buildCounterPrimaryStep < 3) { - checkUnnamed8104(o.individualOutcome!); + checkUnnamed8190(o.individualOutcome!); unittest.expect( o.rollUp!, unittest.equals('foo'), @@ -2274,12 +2274,12 @@ void checkProjectSettings(api.ProjectSettings o) { buildCounterProjectSettings--; } -core.List buildUnnamed8105() => [ +core.List buildUnnamed8191() => [ buildFileReference(), buildFileReference(), ]; -void checkUnnamed8105(core.List o) { +void checkUnnamed8191(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileReference(o[0]); checkFileReference(o[1]); @@ -2290,7 +2290,7 @@ api.PublishXunitXmlFilesRequest buildPublishXunitXmlFilesRequest() { final o = api.PublishXunitXmlFilesRequest(); buildCounterPublishXunitXmlFilesRequest++; if (buildCounterPublishXunitXmlFilesRequest < 3) { - o.xunitXmlFiles = buildUnnamed8105(); + o.xunitXmlFiles = buildUnnamed8191(); } buildCounterPublishXunitXmlFilesRequest--; return o; @@ -2299,7 +2299,7 @@ api.PublishXunitXmlFilesRequest buildPublishXunitXmlFilesRequest() { void checkPublishXunitXmlFilesRequest(api.PublishXunitXmlFilesRequest o) { buildCounterPublishXunitXmlFilesRequest++; if (buildCounterPublishXunitXmlFilesRequest < 3) { - checkUnnamed8105(o.xunitXmlFiles!); + checkUnnamed8191(o.xunitXmlFiles!); } buildCounterPublishXunitXmlFilesRequest--; } @@ -2448,12 +2448,12 @@ void checkScreen(api.Screen o) { buildCounterScreen--; } -core.List buildUnnamed8106() => [ +core.List buildUnnamed8192() => [ buildScreen(), buildScreen(), ]; -void checkUnnamed8106(core.List o) { +void checkUnnamed8192(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScreen(o[0]); checkScreen(o[1]); @@ -2467,7 +2467,7 @@ api.ScreenshotCluster buildScreenshotCluster() { o.activity = 'foo'; o.clusterId = 'foo'; o.keyScreen = buildScreen(); - o.screens = buildUnnamed8106(); + o.screens = buildUnnamed8192(); } buildCounterScreenshotCluster--; return o; @@ -2485,17 +2485,17 @@ void checkScreenshotCluster(api.ScreenshotCluster o) { unittest.equals('foo'), ); checkScreen(o.keyScreen!); - checkUnnamed8106(o.screens!); + checkUnnamed8192(o.screens!); } buildCounterScreenshotCluster--; } -core.List buildUnnamed8107() => [ +core.List buildUnnamed8193() => [ buildStepSummary(), buildStepSummary(), ]; -void checkUnnamed8107(core.List o) { +void checkUnnamed8193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStepSummary(o[0]); checkStepSummary(o[1]); @@ -2506,7 +2506,7 @@ api.ShardSummary buildShardSummary() { final o = api.ShardSummary(); buildCounterShardSummary++; if (buildCounterShardSummary < 3) { - o.runs = buildUnnamed8107(); + o.runs = buildUnnamed8193(); o.shardResult = buildMergedResult(); } buildCounterShardSummary--; @@ -2516,7 +2516,7 @@ api.ShardSummary buildShardSummary() { void checkShardSummary(api.ShardSummary o) { buildCounterShardSummary++; if (buildCounterShardSummary < 3) { - checkUnnamed8107(o.runs!); + checkUnnamed8193(o.runs!); checkMergedResult(o.shardResult!); } buildCounterShardSummary--; @@ -2615,7 +2615,7 @@ void checkStartActivityNotFound(api.StartActivityNotFound o) { buildCounterStartActivityNotFound--; } -core.Map buildUnnamed8108() => { +core.Map buildUnnamed8194() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2628,7 +2628,7 @@ core.Map buildUnnamed8108() => { }, }; -void checkUnnamed8108(core.Map o) { +void checkUnnamed8194(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2660,15 +2660,15 @@ void checkUnnamed8108(core.Map o) { ); } -core.List> buildUnnamed8109() => [ - buildUnnamed8108(), - buildUnnamed8108(), +core.List> buildUnnamed8195() => [ + buildUnnamed8194(), + buildUnnamed8194(), ]; -void checkUnnamed8109(core.List> o) { +void checkUnnamed8195(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8108(o[0]); - checkUnnamed8108(o[1]); + checkUnnamed8194(o[0]); + checkUnnamed8194(o[1]); } core.int buildCounterStatus = 0; @@ -2677,7 +2677,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed8109(); + o.details = buildUnnamed8195(); o.message = 'foo'; } buildCounterStatus--; @@ -2691,7 +2691,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed8109(o.details!); + checkUnnamed8195(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2700,23 +2700,23 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed8110() => [ +core.List buildUnnamed8196() => [ buildStepDimensionValueEntry(), buildStepDimensionValueEntry(), ]; -void checkUnnamed8110(core.List o) { +void checkUnnamed8196(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStepDimensionValueEntry(o[0]); checkStepDimensionValueEntry(o[1]); } -core.List buildUnnamed8111() => [ +core.List buildUnnamed8197() => [ buildStepLabelsEntry(), buildStepLabelsEntry(), ]; -void checkUnnamed8111(core.List o) { +void checkUnnamed8197(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStepLabelsEntry(o[0]); checkStepLabelsEntry(o[1]); @@ -2731,9 +2731,9 @@ api.Step buildStep() { o.creationTime = buildTimestamp(); o.description = 'foo'; o.deviceUsageDuration = buildDuration(); - o.dimensionValue = buildUnnamed8110(); + o.dimensionValue = buildUnnamed8196(); o.hasImages = true; - o.labels = buildUnnamed8111(); + o.labels = buildUnnamed8197(); o.multiStep = buildMultiStep(); o.name = 'foo'; o.outcome = buildOutcome(); @@ -2757,9 +2757,9 @@ void checkStep(api.Step o) { unittest.equals('foo'), ); checkDuration(o.deviceUsageDuration!); - checkUnnamed8110(o.dimensionValue!); + checkUnnamed8196(o.dimensionValue!); unittest.expect(o.hasImages!, unittest.isTrue); - checkUnnamed8111(o.labels!); + checkUnnamed8197(o.labels!); checkMultiStep(o.multiStep!); unittest.expect( o.name!, @@ -2869,12 +2869,12 @@ void checkSuccessDetail(api.SuccessDetail o) { buildCounterSuccessDetail--; } -core.List buildUnnamed8112() => [ +core.List buildUnnamed8198() => [ buildSuggestionProto(), buildSuggestionProto(), ]; -void checkUnnamed8112(core.List o) { +void checkUnnamed8198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSuggestionProto(o[0]); checkSuggestionProto(o[1]); @@ -2886,7 +2886,7 @@ api.SuggestionClusterProto buildSuggestionClusterProto() { buildCounterSuggestionClusterProto++; if (buildCounterSuggestionClusterProto < 3) { o.category = 'foo'; - o.suggestions = buildUnnamed8112(); + o.suggestions = buildUnnamed8198(); } buildCounterSuggestionClusterProto--; return o; @@ -2899,7 +2899,7 @@ void checkSuggestionClusterProto(api.SuggestionClusterProto o) { o.category!, unittest.equals('foo'), ); - checkUnnamed8112(o.suggestions!); + checkUnnamed8198(o.suggestions!); } buildCounterSuggestionClusterProto--; } @@ -2962,23 +2962,23 @@ void checkSuggestionProto(api.SuggestionProto o) { buildCounterSuggestionProto--; } -core.List buildUnnamed8113() => [ +core.List buildUnnamed8199() => [ buildStackTrace(), buildStackTrace(), ]; -void checkUnnamed8113(core.List o) { +void checkUnnamed8199(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStackTrace(o[0]); checkStackTrace(o[1]); } -core.List buildUnnamed8114() => [ +core.List buildUnnamed8200() => [ buildToolOutputReference(), buildToolOutputReference(), ]; -void checkUnnamed8114(core.List o) { +void checkUnnamed8200(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkToolOutputReference(o[0]); checkToolOutputReference(o[1]); @@ -2992,12 +2992,12 @@ api.TestCase buildTestCase() { o.elapsedTime = buildDuration(); o.endTime = buildTimestamp(); o.skippedMessage = 'foo'; - o.stackTraces = buildUnnamed8113(); + o.stackTraces = buildUnnamed8199(); o.startTime = buildTimestamp(); o.status = 'foo'; o.testCaseId = 'foo'; o.testCaseReference = buildTestCaseReference(); - o.toolOutputs = buildUnnamed8114(); + o.toolOutputs = buildUnnamed8200(); } buildCounterTestCase--; return o; @@ -3012,7 +3012,7 @@ void checkTestCase(api.TestCase o) { o.skippedMessage!, unittest.equals('foo'), ); - checkUnnamed8113(o.stackTraces!); + checkUnnamed8199(o.stackTraces!); checkTimestamp(o.startTime!); unittest.expect( o.status!, @@ -3023,7 +3023,7 @@ void checkTestCase(api.TestCase o) { unittest.equals('foo'), ); checkTestCaseReference(o.testCaseReference!); - checkUnnamed8114(o.toolOutputs!); + checkUnnamed8200(o.toolOutputs!); } buildCounterTestCase--; } @@ -3060,23 +3060,23 @@ void checkTestCaseReference(api.TestCaseReference o) { buildCounterTestCaseReference--; } -core.List buildUnnamed8115() => [ +core.List buildUnnamed8201() => [ buildTestIssue(), buildTestIssue(), ]; -void checkUnnamed8115(core.List o) { +void checkUnnamed8201(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestIssue(o[0]); checkTestIssue(o[1]); } -core.List buildUnnamed8116() => [ +core.List buildUnnamed8202() => [ buildTestSuiteOverview(), buildTestSuiteOverview(), ]; -void checkUnnamed8116(core.List o) { +void checkUnnamed8202(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestSuiteOverview(o[0]); checkTestSuiteOverview(o[1]); @@ -3087,8 +3087,8 @@ api.TestExecutionStep buildTestExecutionStep() { final o = api.TestExecutionStep(); buildCounterTestExecutionStep++; if (buildCounterTestExecutionStep < 3) { - o.testIssues = buildUnnamed8115(); - o.testSuiteOverviews = buildUnnamed8116(); + o.testIssues = buildUnnamed8201(); + o.testSuiteOverviews = buildUnnamed8202(); o.testTiming = buildTestTiming(); o.toolExecution = buildToolExecution(); } @@ -3099,8 +3099,8 @@ api.TestExecutionStep buildTestExecutionStep() { void checkTestExecutionStep(api.TestExecutionStep o) { buildCounterTestExecutionStep++; if (buildCounterTestExecutionStep < 3) { - checkUnnamed8115(o.testIssues!); - checkUnnamed8116(o.testSuiteOverviews!); + checkUnnamed8201(o.testIssues!); + checkUnnamed8202(o.testSuiteOverviews!); checkTestTiming(o.testTiming!); checkToolExecution(o.toolExecution!); } @@ -3282,12 +3282,12 @@ void checkTimestamp(api.Timestamp o) { buildCounterTimestamp--; } -core.List buildUnnamed8117() => [ +core.List buildUnnamed8203() => [ 'foo', 'foo', ]; -void checkUnnamed8117(core.List o) { +void checkUnnamed8203(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3299,23 +3299,23 @@ void checkUnnamed8117(core.List o) { ); } -core.List buildUnnamed8118() => [ +core.List buildUnnamed8204() => [ buildFileReference(), buildFileReference(), ]; -void checkUnnamed8118(core.List o) { +void checkUnnamed8204(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFileReference(o[0]); checkFileReference(o[1]); } -core.List buildUnnamed8119() => [ +core.List buildUnnamed8205() => [ buildToolOutputReference(), buildToolOutputReference(), ]; -void checkUnnamed8119(core.List o) { +void checkUnnamed8205(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkToolOutputReference(o[0]); checkToolOutputReference(o[1]); @@ -3326,10 +3326,10 @@ api.ToolExecution buildToolExecution() { final o = api.ToolExecution(); buildCounterToolExecution++; if (buildCounterToolExecution < 3) { - o.commandLineArguments = buildUnnamed8117(); + o.commandLineArguments = buildUnnamed8203(); o.exitCode = buildToolExitCode(); - o.toolLogs = buildUnnamed8118(); - o.toolOutputs = buildUnnamed8119(); + o.toolLogs = buildUnnamed8204(); + o.toolOutputs = buildUnnamed8205(); } buildCounterToolExecution--; return o; @@ -3338,10 +3338,10 @@ api.ToolExecution buildToolExecution() { void checkToolExecution(api.ToolExecution o) { buildCounterToolExecution++; if (buildCounterToolExecution < 3) { - checkUnnamed8117(o.commandLineArguments!); + checkUnnamed8203(o.commandLineArguments!); checkToolExitCode(o.exitCode!); - checkUnnamed8118(o.toolLogs!); - checkUnnamed8119(o.toolOutputs!); + checkUnnamed8204(o.toolLogs!); + checkUnnamed8205(o.toolOutputs!); } buildCounterToolExecution--; } @@ -3550,12 +3550,12 @@ void checkUsedRoboIgnoreDirective(api.UsedRoboIgnoreDirective o) { buildCounterUsedRoboIgnoreDirective--; } -core.List buildUnnamed8120() => [ +core.List buildUnnamed8206() => [ 'foo', 'foo', ]; -void checkUnnamed8120(core.List o) { +void checkUnnamed8206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6945,7 +6945,7 @@ void main() { final arg_historyId = 'foo'; final arg_executionId = 'foo'; final arg_stepId = 'foo'; - final arg_filter = buildUnnamed8120(); + final arg_filter = buildUnnamed8206(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = (req.url).path; diff --git a/generated/googleapis_beta/test/transcoder/v1beta1_test.dart b/generated/googleapis_beta/test/transcoder/v1beta1_test.dart index 5e85326ea..89b9f7948 100644 --- a/generated/googleapis_beta/test/transcoder/v1beta1_test.dart +++ b/generated/googleapis_beta/test/transcoder/v1beta1_test.dart @@ -199,12 +199,12 @@ void checkAudio(api.Audio o) { buildCounterAudio--; } -core.List buildUnnamed8520() => [ +core.List buildUnnamed8625() => [ buildAudioChannel(), buildAudioChannel(), ]; -void checkUnnamed8520(core.List o) { +void checkUnnamed8625(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudioChannel(o[0]); checkAudioChannel(o[1]); @@ -215,7 +215,7 @@ api.AudioAtom buildAudioAtom() { final o = api.AudioAtom(); buildCounterAudioAtom++; if (buildCounterAudioAtom < 3) { - o.channels = buildUnnamed8520(); + o.channels = buildUnnamed8625(); o.key = 'foo'; } buildCounterAudioAtom--; @@ -225,7 +225,7 @@ api.AudioAtom buildAudioAtom() { void checkAudioAtom(api.AudioAtom o) { buildCounterAudioAtom++; if (buildCounterAudioAtom < 3) { - checkUnnamed8520(o.channels!); + checkUnnamed8625(o.channels!); unittest.expect( o.key!, unittest.equals('foo'), @@ -234,12 +234,12 @@ void checkAudioAtom(api.AudioAtom o) { buildCounterAudioAtom--; } -core.List buildUnnamed8521() => [ +core.List buildUnnamed8626() => [ buildAudioChannelInput(), buildAudioChannelInput(), ]; -void checkUnnamed8521(core.List o) { +void checkUnnamed8626(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudioChannelInput(o[0]); checkAudioChannelInput(o[1]); @@ -250,7 +250,7 @@ api.AudioChannel buildAudioChannel() { final o = api.AudioChannel(); buildCounterAudioChannel++; if (buildCounterAudioChannel < 3) { - o.inputs = buildUnnamed8521(); + o.inputs = buildUnnamed8626(); } buildCounterAudioChannel--; return o; @@ -259,7 +259,7 @@ api.AudioChannel buildAudioChannel() { void checkAudioChannel(api.AudioChannel o) { buildCounterAudioChannel++; if (buildCounterAudioChannel < 3) { - checkUnnamed8521(o.inputs!); + checkUnnamed8626(o.inputs!); } buildCounterAudioChannel--; } @@ -301,12 +301,12 @@ void checkAudioChannelInput(api.AudioChannelInput o) { buildCounterAudioChannelInput--; } -core.List buildUnnamed8522() => [ +core.List buildUnnamed8627() => [ 'foo', 'foo', ]; -void checkUnnamed8522(core.List o) { +void checkUnnamed8627(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -318,12 +318,12 @@ void checkUnnamed8522(core.List o) { ); } -core.List buildUnnamed8523() => [ +core.List buildUnnamed8628() => [ buildAudioAtom(), buildAudioAtom(), ]; -void checkUnnamed8523(core.List o) { +void checkUnnamed8628(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAudioAtom(o[0]); checkAudioAtom(o[1]); @@ -336,9 +336,9 @@ api.AudioStream buildAudioStream() { if (buildCounterAudioStream < 3) { o.bitrateBps = 42; o.channelCount = 42; - o.channelLayout = buildUnnamed8522(); + o.channelLayout = buildUnnamed8627(); o.codec = 'foo'; - o.mapping = buildUnnamed8523(); + o.mapping = buildUnnamed8628(); o.sampleRateHertz = 42; } buildCounterAudioStream--; @@ -356,12 +356,12 @@ void checkAudioStream(api.AudioStream o) { o.channelCount!, unittest.equals(42), ); - checkUnnamed8522(o.channelLayout!); + checkUnnamed8627(o.channelLayout!); unittest.expect( o.codec!, unittest.equals('foo'), ); - checkUnnamed8523(o.mapping!); + checkUnnamed8628(o.mapping!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), @@ -490,12 +490,12 @@ void checkDenoise(api.Denoise o) { buildCounterDenoise--; } -core.List buildUnnamed8524() => [ +core.List buildUnnamed8629() => [ 'foo', 'foo', ]; -void checkUnnamed8524(core.List o) { +void checkUnnamed8629(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -513,7 +513,7 @@ api.EditAtom buildEditAtom() { buildCounterEditAtom++; if (buildCounterEditAtom < 3) { o.endTimeOffset = 'foo'; - o.inputs = buildUnnamed8524(); + o.inputs = buildUnnamed8629(); o.key = 'foo'; o.startTimeOffset = 'foo'; } @@ -528,7 +528,7 @@ void checkEditAtom(api.EditAtom o) { o.endTimeOffset!, unittest.equals('foo'), ); - checkUnnamed8524(o.inputs!); + checkUnnamed8629(o.inputs!); unittest.expect( o.key!, unittest.equals('foo'), @@ -697,12 +697,12 @@ void checkInput(api.Input o) { buildCounterInput--; } -core.List buildUnnamed8525() => [ +core.List buildUnnamed8630() => [ buildFailureDetail(), buildFailureDetail(), ]; -void checkUnnamed8525(core.List o) { +void checkUnnamed8630(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFailureDetail(o[0]); checkFailureDetail(o[1]); @@ -716,7 +716,7 @@ api.Job buildJob() { o.config = buildJobConfig(); o.createTime = 'foo'; o.endTime = 'foo'; - o.failureDetails = buildUnnamed8525(); + o.failureDetails = buildUnnamed8630(); o.failureReason = 'foo'; o.inputUri = 'foo'; o.name = 'foo'; @@ -745,7 +745,7 @@ void checkJob(api.Job o) { o.endTime!, unittest.equals('foo'), ); - checkUnnamed8525(o.failureDetails!); + checkUnnamed8630(o.failureDetails!); unittest.expect( o.failureReason!, unittest.equals('foo'), @@ -788,89 +788,89 @@ void checkJob(api.Job o) { buildCounterJob--; } -core.List buildUnnamed8526() => [ +core.List buildUnnamed8631() => [ buildAdBreak(), buildAdBreak(), ]; -void checkUnnamed8526(core.List o) { +void checkUnnamed8631(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAdBreak(o[0]); checkAdBreak(o[1]); } -core.List buildUnnamed8527() => [ +core.List buildUnnamed8632() => [ buildEditAtom(), buildEditAtom(), ]; -void checkUnnamed8527(core.List o) { +void checkUnnamed8632(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEditAtom(o[0]); checkEditAtom(o[1]); } -core.List buildUnnamed8528() => [ +core.List buildUnnamed8633() => [ buildElementaryStream(), buildElementaryStream(), ]; -void checkUnnamed8528(core.List o) { +void checkUnnamed8633(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkElementaryStream(o[0]); checkElementaryStream(o[1]); } -core.List buildUnnamed8529() => [ +core.List buildUnnamed8634() => [ buildInput(), buildInput(), ]; -void checkUnnamed8529(core.List o) { +void checkUnnamed8634(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInput(o[0]); checkInput(o[1]); } -core.List buildUnnamed8530() => [ +core.List buildUnnamed8635() => [ buildManifest(), buildManifest(), ]; -void checkUnnamed8530(core.List o) { +void checkUnnamed8635(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManifest(o[0]); checkManifest(o[1]); } -core.List buildUnnamed8531() => [ +core.List buildUnnamed8636() => [ buildMuxStream(), buildMuxStream(), ]; -void checkUnnamed8531(core.List o) { +void checkUnnamed8636(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMuxStream(o[0]); checkMuxStream(o[1]); } -core.List buildUnnamed8532() => [ +core.List buildUnnamed8637() => [ buildOverlay(), buildOverlay(), ]; -void checkUnnamed8532(core.List o) { +void checkUnnamed8637(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOverlay(o[0]); checkOverlay(o[1]); } -core.List buildUnnamed8533() => [ +core.List buildUnnamed8638() => [ buildSpriteSheet(), buildSpriteSheet(), ]; -void checkUnnamed8533(core.List o) { +void checkUnnamed8638(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpriteSheet(o[0]); checkSpriteSheet(o[1]); @@ -881,16 +881,16 @@ api.JobConfig buildJobConfig() { final o = api.JobConfig(); buildCounterJobConfig++; if (buildCounterJobConfig < 3) { - o.adBreaks = buildUnnamed8526(); - o.editList = buildUnnamed8527(); - o.elementaryStreams = buildUnnamed8528(); - o.inputs = buildUnnamed8529(); - o.manifests = buildUnnamed8530(); - o.muxStreams = buildUnnamed8531(); + o.adBreaks = buildUnnamed8631(); + o.editList = buildUnnamed8632(); + o.elementaryStreams = buildUnnamed8633(); + o.inputs = buildUnnamed8634(); + o.manifests = buildUnnamed8635(); + o.muxStreams = buildUnnamed8636(); o.output = buildOutput(); - o.overlays = buildUnnamed8532(); + o.overlays = buildUnnamed8637(); o.pubsubDestination = buildPubsubDestination(); - o.spriteSheets = buildUnnamed8533(); + o.spriteSheets = buildUnnamed8638(); } buildCounterJobConfig--; return o; @@ -899,16 +899,16 @@ api.JobConfig buildJobConfig() { void checkJobConfig(api.JobConfig o) { buildCounterJobConfig++; if (buildCounterJobConfig < 3) { - checkUnnamed8526(o.adBreaks!); - checkUnnamed8527(o.editList!); - checkUnnamed8528(o.elementaryStreams!); - checkUnnamed8529(o.inputs!); - checkUnnamed8530(o.manifests!); - checkUnnamed8531(o.muxStreams!); + checkUnnamed8631(o.adBreaks!); + checkUnnamed8632(o.editList!); + checkUnnamed8633(o.elementaryStreams!); + checkUnnamed8634(o.inputs!); + checkUnnamed8635(o.manifests!); + checkUnnamed8636(o.muxStreams!); checkOutput(o.output!); - checkUnnamed8532(o.overlays!); + checkUnnamed8637(o.overlays!); checkPubsubDestination(o.pubsubDestination!); - checkUnnamed8533(o.spriteSheets!); + checkUnnamed8638(o.spriteSheets!); } buildCounterJobConfig--; } @@ -937,12 +937,12 @@ void checkJobTemplate(api.JobTemplate o) { buildCounterJobTemplate--; } -core.List buildUnnamed8534() => [ +core.List buildUnnamed8639() => [ buildJobTemplate(), buildJobTemplate(), ]; -void checkUnnamed8534(core.List o) { +void checkUnnamed8639(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobTemplate(o[0]); checkJobTemplate(o[1]); @@ -953,7 +953,7 @@ api.ListJobTemplatesResponse buildListJobTemplatesResponse() { final o = api.ListJobTemplatesResponse(); buildCounterListJobTemplatesResponse++; if (buildCounterListJobTemplatesResponse < 3) { - o.jobTemplates = buildUnnamed8534(); + o.jobTemplates = buildUnnamed8639(); o.nextPageToken = 'foo'; } buildCounterListJobTemplatesResponse--; @@ -963,7 +963,7 @@ api.ListJobTemplatesResponse buildListJobTemplatesResponse() { void checkListJobTemplatesResponse(api.ListJobTemplatesResponse o) { buildCounterListJobTemplatesResponse++; if (buildCounterListJobTemplatesResponse < 3) { - checkUnnamed8534(o.jobTemplates!); + checkUnnamed8639(o.jobTemplates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -972,12 +972,12 @@ void checkListJobTemplatesResponse(api.ListJobTemplatesResponse o) { buildCounterListJobTemplatesResponse--; } -core.List buildUnnamed8535() => [ +core.List buildUnnamed8640() => [ buildJob(), buildJob(), ]; -void checkUnnamed8535(core.List o) { +void checkUnnamed8640(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); @@ -988,7 +988,7 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed8535(); + o.jobs = buildUnnamed8640(); o.nextPageToken = 'foo'; } buildCounterListJobsResponse--; @@ -998,7 +998,7 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed8535(o.jobs!); + checkUnnamed8640(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1007,12 +1007,12 @@ void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse--; } -core.List buildUnnamed8536() => [ +core.List buildUnnamed8641() => [ 'foo', 'foo', ]; -void checkUnnamed8536(core.List o) { +void checkUnnamed8641(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1030,7 +1030,7 @@ api.Manifest buildManifest() { buildCounterManifest++; if (buildCounterManifest < 3) { o.fileName = 'foo'; - o.muxStreams = buildUnnamed8536(); + o.muxStreams = buildUnnamed8641(); o.type = 'foo'; } buildCounterManifest--; @@ -1044,7 +1044,7 @@ void checkManifest(api.Manifest o) { o.fileName!, unittest.equals('foo'), ); - checkUnnamed8536(o.muxStreams!); + checkUnnamed8641(o.muxStreams!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1080,12 +1080,12 @@ void checkMpegCommonEncryption(api.MpegCommonEncryption o) { buildCounterMpegCommonEncryption--; } -core.List buildUnnamed8537() => [ +core.List buildUnnamed8642() => [ 'foo', 'foo', ]; -void checkUnnamed8537(core.List o) { +void checkUnnamed8642(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1103,7 +1103,7 @@ api.MuxStream buildMuxStream() { buildCounterMuxStream++; if (buildCounterMuxStream < 3) { o.container = 'foo'; - o.elementaryStreams = buildUnnamed8537(); + o.elementaryStreams = buildUnnamed8642(); o.encryption = buildEncryption(); o.fileName = 'foo'; o.key = 'foo'; @@ -1120,7 +1120,7 @@ void checkMuxStream(api.MuxStream o) { o.container!, unittest.equals('foo'), ); - checkUnnamed8537(o.elementaryStreams!); + checkUnnamed8642(o.elementaryStreams!); checkEncryption(o.encryption!); unittest.expect( o.fileName!, @@ -1162,55 +1162,6 @@ void checkNormalizedCoordinate(api.NormalizedCoordinate o) { buildCounterNormalizedCoordinate--; } -core.int buildCounterOperationMetadata = 0; -api.OperationMetadata buildOperationMetadata() { - final o = api.OperationMetadata(); - buildCounterOperationMetadata++; - if (buildCounterOperationMetadata < 3) { - o.apiVersion = 'foo'; - o.cancelRequested = true; - o.createTime = 'foo'; - o.endTime = 'foo'; - o.statusDetail = 'foo'; - o.target = 'foo'; - o.verb = 'foo'; - } - buildCounterOperationMetadata--; - return o; -} - -void checkOperationMetadata(api.OperationMetadata o) { - buildCounterOperationMetadata++; - if (buildCounterOperationMetadata < 3) { - unittest.expect( - o.apiVersion!, - unittest.equals('foo'), - ); - unittest.expect(o.cancelRequested!, unittest.isTrue); - unittest.expect( - o.createTime!, - unittest.equals('foo'), - ); - unittest.expect( - o.endTime!, - unittest.equals('foo'), - ); - unittest.expect( - o.statusDetail!, - unittest.equals('foo'), - ); - unittest.expect( - o.target!, - unittest.equals('foo'), - ); - unittest.expect( - o.verb!, - unittest.equals('foo'), - ); - } - buildCounterOperationMetadata--; -} - core.int buildCounterOriginUri = 0; api.OriginUri buildOriginUri() { final o = api.OriginUri(); @@ -1260,12 +1211,12 @@ void checkOutput(api.Output o) { buildCounterOutput--; } -core.List buildUnnamed8538() => [ +core.List buildUnnamed8643() => [ buildAnimation(), buildAnimation(), ]; -void checkUnnamed8538(core.List o) { +void checkUnnamed8643(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAnimation(o[0]); checkAnimation(o[1]); @@ -1276,7 +1227,7 @@ api.Overlay buildOverlay() { final o = api.Overlay(); buildCounterOverlay++; if (buildCounterOverlay < 3) { - o.animations = buildUnnamed8538(); + o.animations = buildUnnamed8643(); o.image = buildImage(); } buildCounterOverlay--; @@ -1286,7 +1237,7 @@ api.Overlay buildOverlay() { void checkOverlay(api.Overlay o) { buildCounterOverlay++; if (buildCounterOverlay < 3) { - checkUnnamed8538(o.animations!); + checkUnnamed8643(o.animations!); checkImage(o.image!); } buildCounterOverlay--; @@ -1535,12 +1486,12 @@ void checkSpriteSheet(api.SpriteSheet o) { buildCounterSpriteSheet--; } -core.List buildUnnamed8539() => [ +core.List buildUnnamed8644() => [ buildTextInput(), buildTextInput(), ]; -void checkUnnamed8539(core.List o) { +void checkUnnamed8644(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTextInput(o[0]); checkTextInput(o[1]); @@ -1551,7 +1502,7 @@ api.TextAtom buildTextAtom() { final o = api.TextAtom(); buildCounterTextAtom++; if (buildCounterTextAtom < 3) { - o.inputs = buildUnnamed8539(); + o.inputs = buildUnnamed8644(); o.key = 'foo'; } buildCounterTextAtom--; @@ -1561,7 +1512,7 @@ api.TextAtom buildTextAtom() { void checkTextAtom(api.TextAtom o) { buildCounterTextAtom++; if (buildCounterTextAtom < 3) { - checkUnnamed8539(o.inputs!); + checkUnnamed8644(o.inputs!); unittest.expect( o.key!, unittest.equals('foo'), @@ -1597,12 +1548,12 @@ void checkTextInput(api.TextInput o) { buildCounterTextInput--; } -core.List buildUnnamed8540() => [ +core.List buildUnnamed8645() => [ buildTextAtom(), buildTextAtom(), ]; -void checkUnnamed8540(core.List o) { +void checkUnnamed8645(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTextAtom(o[0]); checkTextAtom(o[1]); @@ -1615,7 +1566,7 @@ api.TextStream buildTextStream() { if (buildCounterTextStream < 3) { o.codec = 'foo'; o.languageCode = 'foo'; - o.mapping = buildUnnamed8540(); + o.mapping = buildUnnamed8645(); } buildCounterTextStream--; return o; @@ -1632,7 +1583,7 @@ void checkTextStream(api.TextStream o) { o.languageCode!, unittest.equals('foo'), ); - checkUnnamed8540(o.mapping!); + checkUnnamed8645(o.mapping!); } buildCounterTextStream--; } @@ -2060,16 +2011,6 @@ void main() { }); }); - unittest.group('obj-schema-OperationMetadata', () { - unittest.test('to-json--from-json', () async { - final o = buildOperationMetadata(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.OperationMetadata.fromJson( - oJson as core.Map); - checkOperationMetadata(od); - }); - }); - unittest.group('obj-schema-OriginUri', () { unittest.test('to-json--from-json', () async { final o = buildOriginUri(); diff --git a/generator/tool/config_delta.dart b/generator/tool/config_delta.dart index a00c69e32..c6a6f7849 100644 --- a/generator/tool/config_delta.dart +++ b/generator/tool/config_delta.dart @@ -8,7 +8,12 @@ import 'package:yaml/yaml.dart'; Future main(List args) async { if (args.length != 2) { stderr.writeln( - 'run with two args: '); + r''' +run with two args: ', + +You migt also want to do + git show LAST_PUBLISHED_VERSION:config.yaml > old_config.yaml''', + ); exitCode = 1; return; } diff --git a/overrides/i237.diff b/overrides/i237.diff deleted file mode 100644 index a38257f56..000000000 --- a/overrides/i237.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/discovery/googleapis/fcm__v1.json b/discovery/googleapis/fcm__v1.json -index fb33bf517..1cbe3f94c 100644 ---- a/discovery/googleapis/fcm__v1.json -+++ b/discovery/googleapis/fcm__v1.json -@@ -4,6 +4,9 @@ - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" -+ }, -+ "https://www.googleapis.com/auth/firebase.messaging": { -+ "description": "Send messages and manage messaging subscriptions for your Firebase applications" - } - } - } diff --git a/resources/googleapis/CHANGELOG.md b/resources/googleapis/CHANGELOG.md index 5b730f4fd..9f3764428 100644 --- a/resources/googleapis/CHANGELOG.md +++ b/resources/googleapis/CHANGELOG.md @@ -1,6 +1,14 @@ ## 5.0.0-dev -- `poly` has been removed. +- `adexchangebuyer` - **removed** +- `contactcenterinsights` - new! +- `mybusinessbusinessinformation` - new! +- `mybusinessnotifications` - new! +- `mybusinessverifications` - new! +- `networksecurity` - new! +- `networkservices` - new! +- `policyanalyzer` - new! +- `poly` - **removed!** ## 4.0.0 diff --git a/resources/googleapis_beta/CHANGELOG.md b/resources/googleapis_beta/CHANGELOG.md index b1788abd2..b689f442b 100644 --- a/resources/googleapis_beta/CHANGELOG.md +++ b/resources/googleapis_beta/CHANGELOG.md @@ -1,5 +1,8 @@ ## 5.0.0-dev +- `fcmdata` - new! +- `ideahub` - new! + ## 4.0.0 - All schema types now have positional constructor parameters.